16 lines
152 KiB
JavaScript
16 lines
152 KiB
JavaScript
![]() |
webpackJsonp([2],{"7QTg":function(e,t,s){(function(e,t,s){"use strict";var i;t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t,s=s&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s,function(e){e.SwiperComponent="Swiper",e.SwiperSlideComponent="SwiperSlide",e.SwiperDirective="swiper",e.SwiperInstance="$swiper"}(i||(i={}));var a,n,r=Object.freeze({containerClass:"swiper-container",wrapperClass:"swiper-wrapper",slideClass:"swiper-slide"});!function(e){e.Ready="ready",e.ClickSlide="clickSlide"}(a||(a={})),function(e){e.AutoUpdate="autoUpdate",e.AutoDestroy="autoDestroy",e.DeleteInstanceOnDestroy="deleteInstanceOnDestroy",e.CleanupStylesOnDestroy="cleanupStylesOnDestroy"}(n||(n={}));var l=["init","beforeDestroy","slideChange","slideChangeTransitionStart","slideChangeTransitionEnd","slideNextTransitionStart","slideNextTransitionEnd","slidePrevTransitionStart","slidePrevTransitionEnd","transitionStart","transitionEnd","touchStart","touchMove","touchMoveOpposite","sliderMove","touchEnd","click","tap","doubleTap","imagesReady","progress","reachBeginning","reachEnd","fromEdge","setTranslate","setTransition","resize","observerUpdate","beforeLoopFix","loopFix"];
|
||
|
/*! *****************************************************************************
|
||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||
|
this file except in compliance with the License. You may obtain a copy of the
|
||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||
|
|
||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||
|
|
||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||
|
and limitations under the License.
|
||
|
***************************************************************************** */function o(){for(var e=0,t=0,s=arguments.length;t<s;t++)e+=arguments[t].length;var i=Array(e),a=0;for(t=0;t<s;t++)for(var n=arguments[t],r=0,l=n.length;r<l;r++,a++)i[a]=n[r];return i}var d,c=function(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\s+/g,"-").toLowerCase()},p=function(e,t,s){var i,n,r;if(e&&!e.destroyed){var l=(null===(i=t.composedPath)||void 0===i?void 0:i.call(t))||t.path;if((null===t||void 0===t?void 0:t.target)&&l){var o=Array.from(e.slides),d=Array.from(l);if(o.includes(t.target)||d.some(function(e){return o.includes(e)})){var p=e.clickedIndex,u=Number(null===(r=null===(n=e.clickedSlide)||void 0===n?void 0:n.dataset)||void 0===r?void 0:r.swiperSlideIndex),h=Number.isInteger(u)?u:null;s(a.ClickSlide,p,h),s(c(a.ClickSlide),p,h)}}}},u=function(e,t){l.forEach(function(s){e.on(s,function(){for(var e=arguments,i=[],a=0;a<arguments.length;a++)i[a]=e[a];t.apply(void 0,o([s],i));var n=c(s);n!==s&&t.apply(void 0,o([n],i))})})},h="instanceName";function m(e,t){var s=function(e,t){var s,i,a,n,r=null===(i=null===(s=e.data)||void 0===s?void 0:s.attrs)||void 0===i?void 0:i[t];return void 0!==r?r:null===(n=null===(a=e.data)||void 0===a?void 0:a.attrs)||void 0===n?void 0:n[c(t)]},l=function(e,t,a){return t.arg||s(a,h)||e.id||i.SwiperInstance},o=function(e,t,s){var i=l(e,t,s);return s.context[i]||null},d=function(e){return e.value||t},m=function(e){return[!0,void 0,null,""].includes(e)},f=function(e){var t,s,i=(null===(t=e.data)||void 0===t?void 0:t.on)||(null===(s=e.componentOptions)||void 0===s?void 0:s.listeners);return function(e){for(var t,s=arguments,a=[],n=1;n<arguments.length;n++)a[n-1]=s[n];var r=null===(t=i)||void 0===t?void 0:t[e];r&&r.fns.apply(r,a)}};return{bind:function(e,t,s){-1===e.className.indexOf(r.containerClass)&&(e.className+=(e.className?" ":"")+r.containerClass),e.addEventListener("click",function(i){var a=f(s),n=o(e,t,s);p(n,i,a)})},inserted:function(t,s,i){var n=i.context,r=d(s),o=l(t,s,i),c=f(i),p=n,h=null===p||void 0===p?void 0:p[o];h&&!h.destroyed||(h=new e(t,r),p[o]=h,u(h,c),c(a.Ready,h))},componentUpdated:function(e,t,i){var a,r,l,c,p,u,h,f,v,g,b,w,y=s(i,n.AutoUpdate);if(m(y)){var T=o(e,t,i);if(T){var x=d(t).loop;x&&(null===(r=null===(a=T)||void 0===a?void 0:a.loopDestroy)||void 0===r||r.call(a)),null===(l=null===T||void 0===T?void 0:T.update)||void 0===l||l.call(T),null===(p=null===(c=T.navigation)||void 0===c?void 0:c.update)||void 0===p||p.call(c),null===(h=null===(u=T.pagination)||void 0===u?void 0:u.render)||void 0===h||h.call(u),null===(v=null===(f=T.pagination)||void 0===f?void 0:f.update)||void 0===v||v.call(f),x&&(null===(b=null===(g=T)||void 0===g?void 0:g.loopCreate)||void 0===b||b.call(g),null===(w=null===T||void 0===T?void 0:T.update)||void 0===w||w.call(T))}}},unbind:function(e,t,i){var a,r=s(i,n.AutoDestroy);if(m(r)){var l=o(e,t,i);l&&l.initialized&&(null===(a=null===l||void 0===l?void 0:l.destroy)||void 0===a||a.call(l,m(s(i,n.DeleteInstanceOnDestroy)),m(s(i,n.CleanupStylesOnDestroy))))}}}}function f(e){var t;return s.extend({name:i.SwiperComponent,props:(t={defaultOptions:{type:Object,required:!1,default:function(){return{}}},options:{type:Object,required:!1}},t[n.AutoUpdate]={type:Boolean,default:!0},t[n.AutoDestroy]={type:Boolean,default:!0},t[n.DeleteInstanceOnDestroy]={type:Boolean,required:!1,default:!0},t[n.CleanupStylesOnDestroy]={type:Boolean,required:!1,default:!0},t),data:function(){var e;return(e={})[i.SwiperInstance]=null,e},computed:{swiperInstance:{cache:!1,set:function(e){this[i.SwiperInstance]=e},get:function(){return this[i.SwiperInstance]}},swiperOptions:function(){return this.options||this.defaultOptions},wrapperClass:function(){return this.swiperOptions.wrapperClass||r.wrapperClass}},methods:{handleSwiperClick:function(e){p(this.swiperInstance,e,this.$emit.bind(this))},autoReLoopSwiper:function(){var e,t;if(this.swiperInstance&&this.swiperOptions.loop){var s=this.swiperInstance;null===(e=null===s||void 0===s?void 0:s.loopDestroy)||void 0===e||e.call(s),null===(t=n
|
||
|
//# sourceMappingURL=2.22edda0f675d5b7f4423.js.map
|