index-legacy.4e2f14c0.js 189 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. ;(function(){function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg);var value=info.value;}catch(error){reject(error);return;}if(info.done){resolve(value);}else{Promise.resolve(value).then(_next,_throw);}}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value);}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err);}_next(undefined);});};}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;})),keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen);}function _iterableToArray(iter){if(typeof Symbol!=="undefined"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter);}function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr);}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++){arr2[i]=arr[i];}return arr2;}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);Object.defineProperty(Constructor,"prototype",{writable:false});return Constructor;}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function");}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});Object.defineProperty(subClass,"prototype",{writable:false});if(superClass)_setPrototypeOf(subClass,superClass);}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget);}else{result=Super.apply(this,arguments);}return _possibleConstructorReturn(this,result);};}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call;}else if(call!==void 0){throw new TypeError("Derived constructors may only return object or undefined");}return _assertThisInitialized(self);}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return self;}function _wrapNativeSuper(Class){var _cache=typeof Map==="function"?new Map():undefined;_wrapNativeSuper=function _wrapNativeSuper(Class){if(Class===null||!_isNativeFunction(Class))return Class;if(typeof Class!=="function"){throw new TypeError("Super expression must either be null or a function");}if(typeof _cache!=="undefined"){if(_cache.has(Class))return _cache.get(Class);_cache.set(Class,Wrapper);}function Wrapper(){return _construct(Class,arguments,_getPrototypeOf(this).constructor);}Wrapper.prototype=Object.create(Class.prototype,{constructor:{value:Wrapper,enumerable:false,writable:true,configurable:true}});return _setPrototypeOf(Wrapper,Class);};return _wrapNativeSuper(Class);}function _construct(Parent,args,Class){if(_isNativeReflectConstruct()){_construct=Reflect.construct;}else{_construct=function _construct(Parent,args,Class){var a=[null];a.push.apply(a,args);var Constructor=Function.bind.apply(Parent,a);var instance=new Constructor();if(Class)_setPrototypeOf(instance,Class.prototype);return instance;};}return _construct.apply(null,arguments);}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true;}catch(e){return false;}}function _isNativeFunction(fn){return Function.toString.call(fn).indexOf("[native code]")!==-1;}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o;};return _setPrototypeOf(o,p);}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o);};return _getPrototypeOf(o);}function _typeof(obj){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj;}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;},_typeof(obj);}var __vite_style__=document.createElement('style');__vite_style__.innerHTML="._mySwiper_1p4df_1{cursor:pointer}._bannerWrap_1p4df_4{width:100%;display:flex;flex-direction:row;align-items:center}._bannerWrap_1p4df_4 ._bannerImg_1p4df_10{-o-object-fit:cover;object-fit:cover;height:400px;margin:0 auto}.bannerSwiper .mySwiper{overflow:hidden;height:400px}.bannerSwiper .mySwiper:hover .myprev,.bannerSwiper .mySwiper:hover .mynext{visibility:visible!important}.bannerSwiper .mySwiper:hover .myprev:active,.bannerSwiper .mySwiper:hover .mynext:active{opacity:.9}.bannerSwiper .myprev,.bannerSwiper .mynext{position:absolute;top:50%;margin-top:calc(0px - (var(--swiper-navigation-size) / 2));z-index:10;cursor:pointer;visibility:hidden}.bannerSwiper .myprev img,.bannerSwiper .mynext img{width:44px;height:44px}.bannerSwiper .myprev{left:130px}.bannerSwiper .mynext{right:130px}.bannerSwiper .mynext img{transform:rotate(180deg)}.bannerSwiper .swiper-pagination{bottom:24px!important}.bannerSwiper .swiper-pagination-bullet-active{width:50px;height:6px;background:#2dc7aa!important;border-radius:3px}.bannerSwiper .swiper-pagination-bullet{width:50px;height:6px;background:#999999;border-radius:3px}\n";document.head.appendChild(__vite_style__);System.register(['./vendor-legacy.2ed87b03.js','./index-legacy.3e06faf1.js'],function(exports){'use strict';var h,ref,onUpdated,provide,watch,onMounted,onBeforeUnmount,nextTick$1,onBeforeUpdate,computed,defineComponent,reactive,useRouter,createVNode,resolveComponent,Fragment,request;return{setters:[function(module){h=module.a2;ref=module.a3;onUpdated=module.a4;provide=module.a5;watch=module.a0;onMounted=module.o;onBeforeUnmount=module.a6;nextTick$1=module.n;onBeforeUpdate=module.a7;computed=module.a8;defineComponent=module.d;reactive=module.r;useRouter=module.g;createVNode=module.c;resolveComponent=module.a9;Fragment=module.F;},function(module){request=module.r;}],execute:function execute(){var mySwiper="_mySwiper_1p4df_1";var bannerWrap="_bannerWrap_1p4df_4";var bannerImg="_bannerImg_1p4df_10";var classes$1={mySwiper:mySwiper,bannerWrap:bannerWrap,bannerImg:bannerImg};/**
  2. * SSR Window 4.0.2
  3. * Better handling for window object in SSR environment
  4. * https://github.com/nolimits4web/ssr-window
  5. *
  6. * Copyright 2021, Vladimir Kharlampidi
  7. *
  8. * Licensed under MIT
  9. *
  10. * Released on: December 13, 2021
  11. */ /* eslint-disable no-param-reassign */function isObject$2(obj){return obj!==null&&_typeof(obj)==='object'&&'constructor'in obj&&obj.constructor===Object;}function extend$2(){var target=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var src=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};Object.keys(src).forEach(function(key){if(typeof target[key]==='undefined')target[key]=src[key];else if(isObject$2(src[key])&&isObject$2(target[key])&&Object.keys(src[key]).length>0){extend$2(target[key],src[key]);}});}var ssrDocument={body:{},addEventListener:function addEventListener(){},removeEventListener:function removeEventListener(){},activeElement:{blur:function blur(){},nodeName:''},querySelector:function querySelector(){return null;},querySelectorAll:function querySelectorAll(){return[];},getElementById:function getElementById(){return null;},createEvent:function createEvent(){return{initEvent:function initEvent(){}};},createElement:function createElement(){return{children:[],childNodes:[],style:{},setAttribute:function setAttribute(){},getElementsByTagName:function getElementsByTagName(){return[];}};},createElementNS:function createElementNS(){return{};},importNode:function importNode(){return null;},location:{hash:'',host:'',hostname:'',href:'',origin:'',pathname:'',protocol:'',search:''}};function getDocument(){var doc=typeof document!=='undefined'?document:{};extend$2(doc,ssrDocument);return doc;}var ssrWindow={document:ssrDocument,navigator:{userAgent:''},location:{hash:'',host:'',hostname:'',href:'',origin:'',pathname:'',protocol:'',search:''},history:{replaceState:function replaceState(){},pushState:function pushState(){},go:function go(){},back:function back(){}},CustomEvent:function CustomEvent(){return this;},addEventListener:function addEventListener(){},removeEventListener:function removeEventListener(){},getComputedStyle:function getComputedStyle(){return{getPropertyValue:function getPropertyValue(){return'';}};},Image:function Image(){},Date:function Date(){},screen:{},setTimeout:function setTimeout(){},clearTimeout:function clearTimeout(){},matchMedia:function matchMedia(){return{};},requestAnimationFrame:function requestAnimationFrame(callback){if(typeof setTimeout==='undefined'){callback();return null;}return setTimeout(callback,0);},cancelAnimationFrame:function cancelAnimationFrame(id){if(typeof setTimeout==='undefined'){return;}clearTimeout(id);}};function getWindow(){var win=typeof window!=='undefined'?window:{};extend$2(win,ssrWindow);return win;}/**
  12. * Dom7 4.0.4
  13. * Minimalistic JavaScript library for DOM manipulation, with a jQuery-compatible API
  14. * https://framework7.io/docs/dom7.html
  15. *
  16. * Copyright 2022, Vladimir Kharlampidi
  17. *
  18. * Licensed under MIT
  19. *
  20. * Released on: January 11, 2022
  21. */ /* eslint-disable no-proto */function makeReactive(obj){var proto=obj.__proto__;Object.defineProperty(obj,'__proto__',{get:function get(){return proto;},set:function set(value){proto.__proto__=value;}});}var Dom7=/*#__PURE__*/function(_Array){_inherits(Dom7,_Array);var _super=_createSuper(Dom7);function Dom7(items){var _this;_classCallCheck(this,Dom7);if(typeof items==='number'){_this=_super.call(this,items);}else{_this=_super.call.apply(_super,[this].concat(_toConsumableArray(items||[])));makeReactive(_assertThisInitialized(_this));}return _possibleConstructorReturn(_this);}return _createClass(Dom7);}(/*#__PURE__*/_wrapNativeSuper(Array));function arrayFlat(){var arr=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[];var res=[];arr.forEach(function(el){if(Array.isArray(el)){res.push.apply(res,_toConsumableArray(arrayFlat(el)));}else{res.push(el);}});return res;}function arrayFilter(arr,callback){return Array.prototype.filter.call(arr,callback);}function arrayUnique(arr){var uniqueArray=[];for(var i=0;i<arr.length;i+=1){if(uniqueArray.indexOf(arr[i])===-1)uniqueArray.push(arr[i]);}return uniqueArray;}// eslint-disable-next-line
  22. function qsa(selector,context){if(typeof selector!=='string'){return[selector];}var a=[];var res=context.querySelectorAll(selector);for(var i=0;i<res.length;i+=1){a.push(res[i]);}return a;}function $(selector,context){var window=getWindow();var document=getDocument();var arr=[];if(!context&&selector instanceof Dom7){return selector;}if(!selector){return new Dom7(arr);}if(typeof selector==='string'){var _html=selector.trim();if(_html.indexOf('<')>=0&&_html.indexOf('>')>=0){var toCreate='div';if(_html.indexOf('<li')===0)toCreate='ul';if(_html.indexOf('<tr')===0)toCreate='tbody';if(_html.indexOf('<td')===0||_html.indexOf('<th')===0)toCreate='tr';if(_html.indexOf('<tbody')===0)toCreate='table';if(_html.indexOf('<option')===0)toCreate='select';var tempParent=document.createElement(toCreate);tempParent.innerHTML=_html;for(var i=0;i<tempParent.childNodes.length;i+=1){arr.push(tempParent.childNodes[i]);}}else{arr=qsa(selector.trim(),context||document);}// arr = qsa(selector, document);
  23. }else if(selector.nodeType||selector===window||selector===document){arr.push(selector);}else if(Array.isArray(selector)){if(selector instanceof Dom7)return selector;arr=selector;}return new Dom7(arrayUnique(arr));}$.fn=Dom7.prototype;// eslint-disable-next-line
  24. function addClass(){for(var _len3=arguments.length,classes=new Array(_len3),_key3=0;_key3<_len3;_key3++){classes[_key3]=arguments[_key3];}var classNames=arrayFlat(classes.map(function(c){return c.split(' ');}));this.forEach(function(el){var _el$classList;(_el$classList=el.classList).add.apply(_el$classList,_toConsumableArray(classNames));});return this;}function removeClass(){for(var _len4=arguments.length,classes=new Array(_len4),_key4=0;_key4<_len4;_key4++){classes[_key4]=arguments[_key4];}var classNames=arrayFlat(classes.map(function(c){return c.split(' ');}));this.forEach(function(el){var _el$classList2;(_el$classList2=el.classList).remove.apply(_el$classList2,_toConsumableArray(classNames));});return this;}function toggleClass(){for(var _len5=arguments.length,classes=new Array(_len5),_key5=0;_key5<_len5;_key5++){classes[_key5]=arguments[_key5];}var classNames=arrayFlat(classes.map(function(c){return c.split(' ');}));this.forEach(function(el){classNames.forEach(function(className){el.classList.toggle(className);});});}function hasClass(){for(var _len6=arguments.length,classes=new Array(_len6),_key6=0;_key6<_len6;_key6++){classes[_key6]=arguments[_key6];}var classNames=arrayFlat(classes.map(function(c){return c.split(' ');}));return arrayFilter(this,function(el){return classNames.filter(function(className){return el.classList.contains(className);}).length>0;}).length>0;}function attr(attrs,value){if(arguments.length===1&&typeof attrs==='string'){// Get attr
  25. if(this[0])return this[0].getAttribute(attrs);return undefined;}// Set attrs
  26. for(var i=0;i<this.length;i+=1){if(arguments.length===2){// String
  27. this[i].setAttribute(attrs,value);}else{// Object
  28. for(var attrName in attrs){this[i][attrName]=attrs[attrName];this[i].setAttribute(attrName,attrs[attrName]);}}}return this;}function removeAttr(attr){for(var i=0;i<this.length;i+=1){this[i].removeAttribute(attr);}return this;}function transform(transform){for(var i=0;i<this.length;i+=1){this[i].style.transform=transform;}return this;}function transition$1(duration){for(var i=0;i<this.length;i+=1){this[i].style.transitionDuration=typeof duration!=='string'?"".concat(duration,"ms"):duration;}return this;}function on(){for(var _len7=arguments.length,args=new Array(_len7),_key7=0;_key7<_len7;_key7++){args[_key7]=arguments[_key7];}var eventType=args[0],targetSelector=args[1],listener=args[2],capture=args[3];if(typeof args[1]==='function'){eventType=args[0];listener=args[1];capture=args[2];targetSelector=undefined;}if(!capture)capture=false;function handleLiveEvent(e){var target=e.target;if(!target)return;var eventData=e.target.dom7EventData||[];if(eventData.indexOf(e)<0){eventData.unshift(e);}if($(target).is(targetSelector))listener.apply(target,eventData);else{var _parents=$(target).parents();// eslint-disable-line
  29. for(var k=0;k<_parents.length;k+=1){if($(_parents[k]).is(targetSelector))listener.apply(_parents[k],eventData);}}}function handleEvent(e){var eventData=e&&e.target?e.target.dom7EventData||[]:[];if(eventData.indexOf(e)<0){eventData.unshift(e);}listener.apply(this,eventData);}var events=eventType.split(' ');var j;for(var i=0;i<this.length;i+=1){var el=this[i];if(!targetSelector){for(j=0;j<events.length;j+=1){var event=events[j];if(!el.dom7Listeners)el.dom7Listeners={};if(!el.dom7Listeners[event])el.dom7Listeners[event]=[];el.dom7Listeners[event].push({listener:listener,proxyListener:handleEvent});el.addEventListener(event,handleEvent,capture);}}else{// Live events
  30. for(j=0;j<events.length;j+=1){var _event=events[j];if(!el.dom7LiveListeners)el.dom7LiveListeners={};if(!el.dom7LiveListeners[_event])el.dom7LiveListeners[_event]=[];el.dom7LiveListeners[_event].push({listener:listener,proxyListener:handleLiveEvent});el.addEventListener(_event,handleLiveEvent,capture);}}}return this;}function off(){for(var _len8=arguments.length,args=new Array(_len8),_key8=0;_key8<_len8;_key8++){args[_key8]=arguments[_key8];}var eventType=args[0],targetSelector=args[1],listener=args[2],capture=args[3];if(typeof args[1]==='function'){eventType=args[0];listener=args[1];capture=args[2];targetSelector=undefined;}if(!capture)capture=false;var events=eventType.split(' ');for(var i=0;i<events.length;i+=1){var event=events[i];for(var j=0;j<this.length;j+=1){var el=this[j];var handlers=void 0;if(!targetSelector&&el.dom7Listeners){handlers=el.dom7Listeners[event];}else if(targetSelector&&el.dom7LiveListeners){handlers=el.dom7LiveListeners[event];}if(handlers&&handlers.length){for(var k=handlers.length-1;k>=0;k-=1){var handler=handlers[k];if(listener&&handler.listener===listener){el.removeEventListener(event,handler.proxyListener,capture);handlers.splice(k,1);}else if(listener&&handler.listener&&handler.listener.dom7proxy&&handler.listener.dom7proxy===listener){el.removeEventListener(event,handler.proxyListener,capture);handlers.splice(k,1);}else if(!listener){el.removeEventListener(event,handler.proxyListener,capture);handlers.splice(k,1);}}}}}return this;}function trigger(){var window=getWindow();for(var _len9=arguments.length,args=new Array(_len9),_key9=0;_key9<_len9;_key9++){args[_key9]=arguments[_key9];}var events=args[0].split(' ');var eventData=args[1];for(var i=0;i<events.length;i+=1){var event=events[i];for(var j=0;j<this.length;j+=1){var el=this[j];if(window.CustomEvent){var evt=new window.CustomEvent(event,{detail:eventData,bubbles:true,cancelable:true});el.dom7EventData=args.filter(function(data,dataIndex){return dataIndex>0;});el.dispatchEvent(evt);el.dom7EventData=[];delete el.dom7EventData;}}}return this;}function transitionEnd$1(callback){var dom=this;function fireCallBack(e){if(e.target!==this)return;callback.call(this,e);dom.off('transitionend',fireCallBack);}if(callback){dom.on('transitionend',fireCallBack);}return this;}function outerWidth(includeMargins){if(this.length>0){if(includeMargins){var _styles=this.styles();return this[0].offsetWidth+parseFloat(_styles.getPropertyValue('margin-right'))+parseFloat(_styles.getPropertyValue('margin-left'));}return this[0].offsetWidth;}return null;}function outerHeight(includeMargins){if(this.length>0){if(includeMargins){var _styles2=this.styles();return this[0].offsetHeight+parseFloat(_styles2.getPropertyValue('margin-top'))+parseFloat(_styles2.getPropertyValue('margin-bottom'));}return this[0].offsetHeight;}return null;}function offset(){if(this.length>0){var _window=getWindow();var _document=getDocument();var el=this[0];var box=el.getBoundingClientRect();var body=_document.body;var clientTop=el.clientTop||body.clientTop||0;var clientLeft=el.clientLeft||body.clientLeft||0;var scrollTop=el===_window?_window.scrollY:el.scrollTop;var scrollLeft=el===_window?_window.scrollX:el.scrollLeft;return{top:box.top+scrollTop-clientTop,left:box.left+scrollLeft-clientLeft};}return null;}function styles(){var window=getWindow();if(this[0])return window.getComputedStyle(this[0],null);return{};}function css(props,value){var window=getWindow();var i;if(arguments.length===1){if(typeof props==='string'){// .css('width')
  31. if(this[0])return window.getComputedStyle(this[0],null).getPropertyValue(props);}else{// .css({ width: '100px' })
  32. for(i=0;i<this.length;i+=1){for(var prop in props){this[i].style[prop]=props[prop];}}return this;}}if(arguments.length===2&&typeof props==='string'){// .css('width', '100px')
  33. for(i=0;i<this.length;i+=1){this[i].style[props]=value;}return this;}return this;}function each(callback){if(!callback)return this;this.forEach(function(el,index){callback.apply(el,[el,index]);});return this;}function filter(callback){var result=arrayFilter(this,callback);return $(result);}function html(html){if(typeof html==='undefined'){return this[0]?this[0].innerHTML:null;}for(var i=0;i<this.length;i+=1){this[i].innerHTML=html;}return this;}function text(text){if(typeof text==='undefined'){return this[0]?this[0].textContent.trim():null;}for(var i=0;i<this.length;i+=1){this[i].textContent=text;}return this;}function is(selector){var window=getWindow();var document=getDocument();var el=this[0];var compareWith;var i;if(!el||typeof selector==='undefined')return false;if(typeof selector==='string'){if(el.matches)return el.matches(selector);if(el.webkitMatchesSelector)return el.webkitMatchesSelector(selector);if(el.msMatchesSelector)return el.msMatchesSelector(selector);compareWith=$(selector);for(i=0;i<compareWith.length;i+=1){if(compareWith[i]===el)return true;}return false;}if(selector===document){return el===document;}if(selector===window){return el===window;}if(selector.nodeType||selector instanceof Dom7){compareWith=selector.nodeType?[selector]:selector;for(i=0;i<compareWith.length;i+=1){if(compareWith[i]===el)return true;}return false;}return false;}function index(){var child=this[0];var i;if(child){i=0;// eslint-disable-next-line
  34. while((child=child.previousSibling)!==null){if(child.nodeType===1)i+=1;}return i;}return undefined;}function eq(index){if(typeof index==='undefined')return this;var length=this.length;if(index>length-1){return $([]);}if(index<0){var returnIndex=length+index;if(returnIndex<0)return $([]);return $([this[returnIndex]]);}return $([this[index]]);}function append(){var newChild;var document=getDocument();for(var k=0;k<arguments.length;k+=1){newChild=k<0||arguments.length<=k?undefined:arguments[k];for(var i=0;i<this.length;i+=1){if(typeof newChild==='string'){var tempDiv=document.createElement('div');tempDiv.innerHTML=newChild;while(tempDiv.firstChild){this[i].appendChild(tempDiv.firstChild);}}else if(newChild instanceof Dom7){for(var j=0;j<newChild.length;j+=1){this[i].appendChild(newChild[j]);}}else{this[i].appendChild(newChild);}}}return this;}function prepend(newChild){var document=getDocument();var i;var j;for(i=0;i<this.length;i+=1){if(typeof newChild==='string'){var tempDiv=document.createElement('div');tempDiv.innerHTML=newChild;for(j=tempDiv.childNodes.length-1;j>=0;j-=1){this[i].insertBefore(tempDiv.childNodes[j],this[i].childNodes[0]);}}else if(newChild instanceof Dom7){for(j=0;j<newChild.length;j+=1){this[i].insertBefore(newChild[j],this[i].childNodes[0]);}}else{this[i].insertBefore(newChild,this[i].childNodes[0]);}}return this;}function next(selector){if(this.length>0){if(selector){if(this[0].nextElementSibling&&$(this[0].nextElementSibling).is(selector)){return $([this[0].nextElementSibling]);}return $([]);}if(this[0].nextElementSibling)return $([this[0].nextElementSibling]);return $([]);}return $([]);}function nextAll(selector){var nextEls=[];var el=this[0];if(!el)return $([]);while(el.nextElementSibling){var _next=el.nextElementSibling;// eslint-disable-line
  35. if(selector){if($(_next).is(selector))nextEls.push(_next);}else nextEls.push(_next);el=_next;}return $(nextEls);}function prev(selector){if(this.length>0){var el=this[0];if(selector){if(el.previousElementSibling&&$(el.previousElementSibling).is(selector)){return $([el.previousElementSibling]);}return $([]);}if(el.previousElementSibling)return $([el.previousElementSibling]);return $([]);}return $([]);}function prevAll(selector){var prevEls=[];var el=this[0];if(!el)return $([]);while(el.previousElementSibling){var _prev=el.previousElementSibling;// eslint-disable-line
  36. if(selector){if($(_prev).is(selector))prevEls.push(_prev);}else prevEls.push(_prev);el=_prev;}return $(prevEls);}function parent(selector){var parents=[];// eslint-disable-line
  37. for(var i=0;i<this.length;i+=1){if(this[i].parentNode!==null){if(selector){if($(this[i].parentNode).is(selector))parents.push(this[i].parentNode);}else{parents.push(this[i].parentNode);}}}return $(parents);}function parents(selector){var parents=[];// eslint-disable-line
  38. for(var i=0;i<this.length;i+=1){var _parent=this[i].parentNode;// eslint-disable-line
  39. while(_parent){if(selector){if($(_parent).is(selector))parents.push(_parent);}else{parents.push(_parent);}_parent=_parent.parentNode;}}return $(parents);}function closest(selector){var closest=this;// eslint-disable-line
  40. if(typeof selector==='undefined'){return $([]);}if(!closest.is(selector)){closest=closest.parents(selector).eq(0);}return closest;}function find(selector){var foundElements=[];for(var i=0;i<this.length;i+=1){var found=this[i].querySelectorAll(selector);for(var j=0;j<found.length;j+=1){foundElements.push(found[j]);}}return $(foundElements);}function children(selector){var children=[];// eslint-disable-line
  41. for(var i=0;i<this.length;i+=1){var childNodes=this[i].children;for(var j=0;j<childNodes.length;j+=1){if(!selector||$(childNodes[j]).is(selector)){children.push(childNodes[j]);}}}return $(children);}function remove(){for(var i=0;i<this.length;i+=1){if(this[i].parentNode)this[i].parentNode.removeChild(this[i]);}return this;}var Methods={addClass:addClass,removeClass:removeClass,hasClass:hasClass,toggleClass:toggleClass,attr:attr,removeAttr:removeAttr,transform:transform,transition:transition$1,on:on,off:off,trigger:trigger,transitionEnd:transitionEnd$1,outerWidth:outerWidth,outerHeight:outerHeight,styles:styles,offset:offset,css:css,each:each,html:html,text:text,is:is,index:index,eq:eq,append:append,prepend:prepend,next:next,nextAll:nextAll,prev:prev,prevAll:prevAll,parent:parent,parents:parents,closest:closest,find:find,children:children,filter:filter,remove:remove};Object.keys(Methods).forEach(function(methodName){Object.defineProperty($.fn,methodName,{value:Methods[methodName],writable:true});});function deleteProps(obj){var object=obj;Object.keys(object).forEach(function(key){try{object[key]=null;}catch(e){// no getter for object
  42. }try{delete object[key];}catch(e){// something got wrong
  43. }});}function nextTick(callback,delay){if(delay===void 0){delay=0;}return setTimeout(callback,delay);}function now(){return Date.now();}function getComputedStyle$1(el){var window=getWindow();var style;if(window.getComputedStyle){style=window.getComputedStyle(el,null);}if(!style&&el.currentStyle){style=el.currentStyle;}if(!style){style=el.style;}return style;}function getTranslate(el,axis){if(axis===void 0){axis='x';}var window=getWindow();var matrix;var curTransform;var transformMatrix;var curStyle=getComputedStyle$1(el);if(window.WebKitCSSMatrix){curTransform=curStyle.transform||curStyle.webkitTransform;if(curTransform.split(',').length>6){curTransform=curTransform.split(', ').map(function(a){return a.replace(',','.');}).join(', ');}// Some old versions of Webkit choke when 'none' is passed; pass
  44. // empty string instead in this case
  45. transformMatrix=new window.WebKitCSSMatrix(curTransform==='none'?'':curTransform);}else{transformMatrix=curStyle.MozTransform||curStyle.OTransform||curStyle.MsTransform||curStyle.msTransform||curStyle.transform||curStyle.getPropertyValue('transform').replace('translate(','matrix(1, 0, 0, 1,');matrix=transformMatrix.toString().split(',');}if(axis==='x'){// Latest Chrome and webkits Fix
  46. if(window.WebKitCSSMatrix)curTransform=transformMatrix.m41;// Crazy IE10 Matrix
  47. else if(matrix.length===16)curTransform=parseFloat(matrix[12]);// Normal Browsers
  48. else curTransform=parseFloat(matrix[4]);}if(axis==='y'){// Latest Chrome and webkits Fix
  49. if(window.WebKitCSSMatrix)curTransform=transformMatrix.m42;// Crazy IE10 Matrix
  50. else if(matrix.length===16)curTransform=parseFloat(matrix[13]);// Normal Browsers
  51. else curTransform=parseFloat(matrix[5]);}return curTransform||0;}function isObject$1(o){return _typeof(o)==='object'&&o!==null&&o.constructor&&Object.prototype.toString.call(o).slice(8,-1)==='Object';}function isNode(node){// eslint-disable-next-line
  52. if(typeof window!=='undefined'&&typeof window.HTMLElement!=='undefined'){return node instanceof HTMLElement;}return node&&(node.nodeType===1||node.nodeType===11);}function extend$1(){var to=Object(arguments.length<=0?undefined:arguments[0]);var noExtend=['__proto__','constructor','prototype'];for(var i=1;i<arguments.length;i+=1){var nextSource=i<0||arguments.length<=i?undefined:arguments[i];if(nextSource!==undefined&&nextSource!==null&&!isNode(nextSource)){var keysArray=Object.keys(Object(nextSource)).filter(function(key){return noExtend.indexOf(key)<0;});for(var nextIndex=0,len=keysArray.length;nextIndex<len;nextIndex+=1){var nextKey=keysArray[nextIndex];var desc=Object.getOwnPropertyDescriptor(nextSource,nextKey);if(desc!==undefined&&desc.enumerable){if(isObject$1(to[nextKey])&&isObject$1(nextSource[nextKey])){if(nextSource[nextKey].__swiper__){to[nextKey]=nextSource[nextKey];}else{extend$1(to[nextKey],nextSource[nextKey]);}}else if(!isObject$1(to[nextKey])&&isObject$1(nextSource[nextKey])){to[nextKey]={};if(nextSource[nextKey].__swiper__){to[nextKey]=nextSource[nextKey];}else{extend$1(to[nextKey],nextSource[nextKey]);}}else{to[nextKey]=nextSource[nextKey];}}}}}return to;}function setCSSProperty(el,varName,varValue){el.style.setProperty(varName,varValue);}function animateCSSModeScroll(_ref){var swiper=_ref.swiper,targetPosition=_ref.targetPosition,side=_ref.side;var window=getWindow();var startPosition=-swiper.translate;var startTime=null;var time;var duration=swiper.params.speed;swiper.wrapperEl.style.scrollSnapType='none';window.cancelAnimationFrame(swiper.cssModeFrameID);var dir=targetPosition>startPosition?'next':'prev';var isOutOfBound=function isOutOfBound(current,target){return dir==='next'&&current>=target||dir==='prev'&&current<=target;};var animate=function animate(){time=new Date().getTime();if(startTime===null){startTime=time;}var progress=Math.max(Math.min((time-startTime)/duration,1),0);var easeProgress=0.5-Math.cos(progress*Math.PI)/2;var currentPosition=startPosition+easeProgress*(targetPosition-startPosition);if(isOutOfBound(currentPosition,targetPosition)){currentPosition=targetPosition;}swiper.wrapperEl.scrollTo(_defineProperty({},side,currentPosition));if(isOutOfBound(currentPosition,targetPosition)){swiper.wrapperEl.style.overflow='hidden';swiper.wrapperEl.style.scrollSnapType='';setTimeout(function(){swiper.wrapperEl.style.overflow='';swiper.wrapperEl.scrollTo(_defineProperty({},side,currentPosition));});window.cancelAnimationFrame(swiper.cssModeFrameID);return;}swiper.cssModeFrameID=window.requestAnimationFrame(animate);};animate();}var support;function calcSupport(){var window=getWindow();var document=getDocument();return{smoothScroll:document.documentElement&&'scrollBehavior'in document.documentElement.style,touch:!!('ontouchstart'in window||window.DocumentTouch&&document instanceof window.DocumentTouch),passiveListener:function checkPassiveListener(){var supportsPassive=false;try{var opts=Object.defineProperty({},'passive',{// eslint-disable-next-line
  53. get:function get(){supportsPassive=true;}});window.addEventListener('testPassiveListener',null,opts);}catch(e){// No support
  54. }return supportsPassive;}(),gestures:function checkGestures(){return'ongesturestart'in window;}()};}function getSupport(){if(!support){support=calcSupport();}return support;}var deviceCached;function calcDevice(_temp){var _ref3=_temp===void 0?{}:_temp,userAgent=_ref3.userAgent;var support=getSupport();var window=getWindow();var platform=window.navigator.platform;var ua=userAgent||window.navigator.userAgent;var device={ios:false,android:false};var screenWidth=window.screen.width;var screenHeight=window.screen.height;var android=ua.match(/(Android);?[\s\/]+([\d.]+)?/);// eslint-disable-line
  55. var ipad=ua.match(/(iPad).*OS\s([\d_]+)/);var ipod=ua.match(/(iPod)(.*OS\s([\d_]+))?/);var iphone=!ipad&&ua.match(/(iPhone\sOS|iOS)\s([\d_]+)/);var windows=platform==='Win32';var macos=platform==='MacIntel';// iPadOs 13 fix
  56. var iPadScreens=['1024x1366','1366x1024','834x1194','1194x834','834x1112','1112x834','768x1024','1024x768','820x1180','1180x820','810x1080','1080x810'];if(!ipad&&macos&&support.touch&&iPadScreens.indexOf("".concat(screenWidth,"x").concat(screenHeight))>=0){ipad=ua.match(/(Version)\/([\d.]+)/);if(!ipad)ipad=[0,1,'13_0_0'];macos=false;}// Android
  57. if(android&&!windows){device.os='android';device.android=true;}if(ipad||iphone||ipod){device.os='ios';device.ios=true;}// Export object
  58. return device;}function getDevice(overrides){if(overrides===void 0){overrides={};}if(!deviceCached){deviceCached=calcDevice(overrides);}return deviceCached;}var browser;function calcBrowser(){var window=getWindow();function isSafari(){var ua=window.navigator.userAgent.toLowerCase();return ua.indexOf('safari')>=0&&ua.indexOf('chrome')<0&&ua.indexOf('android')<0;}return{isSafari:isSafari(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(window.navigator.userAgent)};}function getBrowser(){if(!browser){browser=calcBrowser();}return browser;}function Resize(_ref){var swiper=_ref.swiper,on=_ref.on,emit=_ref.emit;var window=getWindow();var observer=null;var animationFrame=null;var resizeHandler=function resizeHandler(){if(!swiper||swiper.destroyed||!swiper.initialized)return;emit('beforeResize');emit('resize');};var createObserver=function createObserver(){if(!swiper||swiper.destroyed||!swiper.initialized)return;observer=new ResizeObserver(function(entries){animationFrame=window.requestAnimationFrame(function(){var width=swiper.width,height=swiper.height;var newWidth=width;var newHeight=height;entries.forEach(function(_ref2){var contentBoxSize=_ref2.contentBoxSize,contentRect=_ref2.contentRect,target=_ref2.target;if(target&&target!==swiper.el)return;newWidth=contentRect?contentRect.width:(contentBoxSize[0]||contentBoxSize).inlineSize;newHeight=contentRect?contentRect.height:(contentBoxSize[0]||contentBoxSize).blockSize;});if(newWidth!==width||newHeight!==height){resizeHandler();}});});observer.observe(swiper.el);};var removeObserver=function removeObserver(){if(animationFrame){window.cancelAnimationFrame(animationFrame);}if(observer&&observer.unobserve&&swiper.el){observer.unobserve(swiper.el);observer=null;}};var orientationChangeHandler=function orientationChangeHandler(){if(!swiper||swiper.destroyed||!swiper.initialized)return;emit('orientationchange');};on('init',function(){if(swiper.params.resizeObserver&&typeof window.ResizeObserver!=='undefined'){createObserver();return;}window.addEventListener('resize',resizeHandler);window.addEventListener('orientationchange',orientationChangeHandler);});on('destroy',function(){removeObserver();window.removeEventListener('resize',resizeHandler);window.removeEventListener('orientationchange',orientationChangeHandler);});}function Observer(_ref){var swiper=_ref.swiper,extendParams=_ref.extendParams,on=_ref.on,emit=_ref.emit;var observers=[];var window=getWindow();var attach=function attach(target,options){if(options===void 0){options={};}var ObserverFunc=window.MutationObserver||window.WebkitMutationObserver;var observer=new ObserverFunc(function(mutations){// The observerUpdate event should only be triggered
  59. // once despite the number of mutations. Additional
  60. // triggers are redundant and are very costly
  61. if(mutations.length===1){emit('observerUpdate',mutations[0]);return;}var observerUpdate=function observerUpdate(){emit('observerUpdate',mutations[0]);};if(window.requestAnimationFrame){window.requestAnimationFrame(observerUpdate);}else{window.setTimeout(observerUpdate,0);}});observer.observe(target,{attributes:typeof options.attributes==='undefined'?true:options.attributes,childList:typeof options.childList==='undefined'?true:options.childList,characterData:typeof options.characterData==='undefined'?true:options.characterData});observers.push(observer);};var init=function init(){if(!swiper.params.observer)return;if(swiper.params.observeParents){var containerParents=swiper.$el.parents();for(var i=0;i<containerParents.length;i+=1){attach(containerParents[i]);}}// Observe container
  62. attach(swiper.$el[0],{childList:swiper.params.observeSlideChildren});// Observe wrapper
  63. attach(swiper.$wrapperEl[0],{attributes:false});};var destroy=function destroy(){observers.forEach(function(observer){observer.disconnect();});observers.splice(0,observers.length);};extendParams({observer:false,observeParents:false,observeSlideChildren:false});on('init',init);on('destroy',destroy);}/* eslint-disable no-underscore-dangle */var eventsEmitter={on:function on(events,handler,priority){var self=this;if(!self.eventsListeners||self.destroyed)return self;if(typeof handler!=='function')return self;var method=priority?'unshift':'push';events.split(' ').forEach(function(event){if(!self.eventsListeners[event])self.eventsListeners[event]=[];self.eventsListeners[event][method](handler);});return self;},once:function once(events,handler,priority){var self=this;if(!self.eventsListeners||self.destroyed)return self;if(typeof handler!=='function')return self;function onceHandler(){self.off(events,onceHandler);if(onceHandler.__emitterProxy){delete onceHandler.__emitterProxy;}for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}handler.apply(self,args);}onceHandler.__emitterProxy=handler;return self.on(events,onceHandler,priority);},onAny:function onAny(handler,priority){var self=this;if(!self.eventsListeners||self.destroyed)return self;if(typeof handler!=='function')return self;var method=priority?'unshift':'push';if(self.eventsAnyListeners.indexOf(handler)<0){self.eventsAnyListeners[method](handler);}return self;},offAny:function offAny(handler){var self=this;if(!self.eventsListeners||self.destroyed)return self;if(!self.eventsAnyListeners)return self;var index=self.eventsAnyListeners.indexOf(handler);if(index>=0){self.eventsAnyListeners.splice(index,1);}return self;},off:function off(events,handler){var self=this;if(!self.eventsListeners||self.destroyed)return self;if(!self.eventsListeners)return self;events.split(' ').forEach(function(event){if(typeof handler==='undefined'){self.eventsListeners[event]=[];}else if(self.eventsListeners[event]){self.eventsListeners[event].forEach(function(eventHandler,index){if(eventHandler===handler||eventHandler.__emitterProxy&&eventHandler.__emitterProxy===handler){self.eventsListeners[event].splice(index,1);}});}});return self;},emit:function emit(){var self=this;if(!self.eventsListeners||self.destroyed)return self;if(!self.eventsListeners)return self;var events;var data;var context;for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++){args[_key2]=arguments[_key2];}if(typeof args[0]==='string'||Array.isArray(args[0])){events=args[0];data=args.slice(1,args.length);context=self;}else{events=args[0].events;data=args[0].data;context=args[0].context||self;}data.unshift(context);var eventsArray=Array.isArray(events)?events:events.split(' ');eventsArray.forEach(function(event){if(self.eventsAnyListeners&&self.eventsAnyListeners.length){self.eventsAnyListeners.forEach(function(eventHandler){eventHandler.apply(context,[event].concat(_toConsumableArray(data)));});}if(self.eventsListeners&&self.eventsListeners[event]){self.eventsListeners[event].forEach(function(eventHandler){eventHandler.apply(context,data);});}});return self;}};function updateSize(){var swiper=this;var width;var height;var $el=swiper.$el;if(typeof swiper.params.width!=='undefined'&&swiper.params.width!==null){width=swiper.params.width;}else{width=$el[0].clientWidth;}if(typeof swiper.params.height!=='undefined'&&swiper.params.height!==null){height=swiper.params.height;}else{height=$el[0].clientHeight;}if(width===0&&swiper.isHorizontal()||height===0&&swiper.isVertical()){return;}// Subtract paddings
  64. width=width-parseInt($el.css('padding-left')||0,10)-parseInt($el.css('padding-right')||0,10);height=height-parseInt($el.css('padding-top')||0,10)-parseInt($el.css('padding-bottom')||0,10);if(Number.isNaN(width))width=0;if(Number.isNaN(height))height=0;Object.assign(swiper,{width:width,height:height,size:swiper.isHorizontal()?width:height});}function updateSlides(){var swiper=this;function getDirectionLabel(property){if(swiper.isHorizontal()){return property;}// prettier-ignore
  65. return{'width':'height','margin-top':'margin-left','margin-bottom ':'margin-right','margin-left':'margin-top','margin-right':'margin-bottom','padding-left':'padding-top','padding-right':'padding-bottom','marginRight':'marginBottom'}[property];}function getDirectionPropertyValue(node,label){return parseFloat(node.getPropertyValue(getDirectionLabel(label))||0);}var params=swiper.params;var $wrapperEl=swiper.$wrapperEl,swiperSize=swiper.size,rtl=swiper.rtlTranslate,wrongRTL=swiper.wrongRTL;var isVirtual=swiper.virtual&&params.virtual.enabled;var previousSlidesLength=isVirtual?swiper.virtual.slides.length:swiper.slides.length;var slides=$wrapperEl.children(".".concat(swiper.params.slideClass));var slidesLength=isVirtual?swiper.virtual.slides.length:slides.length;var snapGrid=[];var slidesGrid=[];var slidesSizesGrid=[];var offsetBefore=params.slidesOffsetBefore;if(typeof offsetBefore==='function'){offsetBefore=params.slidesOffsetBefore.call(swiper);}var offsetAfter=params.slidesOffsetAfter;if(typeof offsetAfter==='function'){offsetAfter=params.slidesOffsetAfter.call(swiper);}var previousSnapGridLength=swiper.snapGrid.length;var previousSlidesGridLength=swiper.slidesGrid.length;var spaceBetween=params.spaceBetween;var slidePosition=-offsetBefore;var prevSlideSize=0;var index=0;if(typeof swiperSize==='undefined'){return;}if(typeof spaceBetween==='string'&&spaceBetween.indexOf('%')>=0){spaceBetween=parseFloat(spaceBetween.replace('%',''))/100*swiperSize;}swiper.virtualSize=-spaceBetween;// reset margins
  66. if(rtl)slides.css({marginLeft:'',marginBottom:'',marginTop:''});else slides.css({marginRight:'',marginBottom:'',marginTop:''});// reset cssMode offsets
  67. if(params.centeredSlides&&params.cssMode){setCSSProperty(swiper.wrapperEl,'--swiper-centered-offset-before','');setCSSProperty(swiper.wrapperEl,'--swiper-centered-offset-after','');}var gridEnabled=params.grid&&params.grid.rows>1&&swiper.grid;if(gridEnabled){swiper.grid.initSlides(slidesLength);}// Calc slides
  68. var slideSize;var shouldResetSlideSize=params.slidesPerView==='auto'&&params.breakpoints&&Object.keys(params.breakpoints).filter(function(key){return typeof params.breakpoints[key].slidesPerView!=='undefined';}).length>0;for(var i=0;i<slidesLength;i+=1){slideSize=0;var _slide=slides.eq(i);if(gridEnabled){swiper.grid.updateSlide(i,_slide,slidesLength,getDirectionLabel);}if(_slide.css('display')==='none')continue;// eslint-disable-line
  69. if(params.slidesPerView==='auto'){if(shouldResetSlideSize){slides[i].style[getDirectionLabel('width')]="";}var slideStyles=getComputedStyle(_slide[0]);var currentTransform=_slide[0].style.transform;var currentWebKitTransform=_slide[0].style.webkitTransform;if(currentTransform){_slide[0].style.transform='none';}if(currentWebKitTransform){_slide[0].style.webkitTransform='none';}if(params.roundLengths){slideSize=swiper.isHorizontal()?_slide.outerWidth(true):_slide.outerHeight(true);}else{// eslint-disable-next-line
  70. var width=getDirectionPropertyValue(slideStyles,'width');var paddingLeft=getDirectionPropertyValue(slideStyles,'padding-left');var paddingRight=getDirectionPropertyValue(slideStyles,'padding-right');var marginLeft=getDirectionPropertyValue(slideStyles,'margin-left');var marginRight=getDirectionPropertyValue(slideStyles,'margin-right');var boxSizing=slideStyles.getPropertyValue('box-sizing');if(boxSizing&&boxSizing==='border-box'){slideSize=width+marginLeft+marginRight;}else{var _slide$=_slide[0],clientWidth=_slide$.clientWidth,offsetWidth=_slide$.offsetWidth;slideSize=width+paddingLeft+paddingRight+marginLeft+marginRight+(offsetWidth-clientWidth);}}if(currentTransform){_slide[0].style.transform=currentTransform;}if(currentWebKitTransform){_slide[0].style.webkitTransform=currentWebKitTransform;}if(params.roundLengths)slideSize=Math.floor(slideSize);}else{slideSize=(swiperSize-(params.slidesPerView-1)*spaceBetween)/params.slidesPerView;if(params.roundLengths)slideSize=Math.floor(slideSize);if(slides[i]){slides[i].style[getDirectionLabel('width')]="".concat(slideSize,"px");}}if(slides[i]){slides[i].swiperSlideSize=slideSize;}slidesSizesGrid.push(slideSize);if(params.centeredSlides){slidePosition=slidePosition+slideSize/2+prevSlideSize/2+spaceBetween;if(prevSlideSize===0&&i!==0)slidePosition=slidePosition-swiperSize/2-spaceBetween;if(i===0)slidePosition=slidePosition-swiperSize/2-spaceBetween;if(Math.abs(slidePosition)<1/1000)slidePosition=0;if(params.roundLengths)slidePosition=Math.floor(slidePosition);if(index%params.slidesPerGroup===0)snapGrid.push(slidePosition);slidesGrid.push(slidePosition);}else{if(params.roundLengths)slidePosition=Math.floor(slidePosition);if((index-Math.min(swiper.params.slidesPerGroupSkip,index))%swiper.params.slidesPerGroup===0)snapGrid.push(slidePosition);slidesGrid.push(slidePosition);slidePosition=slidePosition+slideSize+spaceBetween;}swiper.virtualSize+=slideSize+spaceBetween;prevSlideSize=slideSize;index+=1;}swiper.virtualSize=Math.max(swiper.virtualSize,swiperSize)+offsetAfter;if(rtl&&wrongRTL&&(params.effect==='slide'||params.effect==='coverflow')){$wrapperEl.css({width:"".concat(swiper.virtualSize+params.spaceBetween,"px")});}if(params.setWrapperSize){$wrapperEl.css(_defineProperty({},getDirectionLabel('width'),"".concat(swiper.virtualSize+params.spaceBetween,"px")));}if(gridEnabled){swiper.grid.updateWrapperSize(slideSize,snapGrid,getDirectionLabel);}// Remove last grid elements depending on width
  71. if(!params.centeredSlides){var newSlidesGrid=[];for(var _i=0;_i<snapGrid.length;_i+=1){var slidesGridItem=snapGrid[_i];if(params.roundLengths)slidesGridItem=Math.floor(slidesGridItem);if(snapGrid[_i]<=swiper.virtualSize-swiperSize){newSlidesGrid.push(slidesGridItem);}}snapGrid=newSlidesGrid;if(Math.floor(swiper.virtualSize-swiperSize)-Math.floor(snapGrid[snapGrid.length-1])>1){snapGrid.push(swiper.virtualSize-swiperSize);}}if(snapGrid.length===0)snapGrid=[0];if(params.spaceBetween!==0){var key=swiper.isHorizontal()&&rtl?'marginLeft':getDirectionLabel('marginRight');slides.filter(function(_,slideIndex){if(!params.cssMode)return true;if(slideIndex===slides.length-1){return false;}return true;}).css(_defineProperty({},key,"".concat(spaceBetween,"px")));}if(params.centeredSlides&&params.centeredSlidesBounds){var allSlidesSize=0;slidesSizesGrid.forEach(function(slideSizeValue){allSlidesSize+=slideSizeValue+(params.spaceBetween?params.spaceBetween:0);});allSlidesSize-=params.spaceBetween;var maxSnap=allSlidesSize-swiperSize;snapGrid=snapGrid.map(function(snap){if(snap<0)return-offsetBefore;if(snap>maxSnap)return maxSnap+offsetAfter;return snap;});}if(params.centerInsufficientSlides){var _allSlidesSize=0;slidesSizesGrid.forEach(function(slideSizeValue){_allSlidesSize+=slideSizeValue+(params.spaceBetween?params.spaceBetween:0);});_allSlidesSize-=params.spaceBetween;if(_allSlidesSize<swiperSize){var allSlidesOffset=(swiperSize-_allSlidesSize)/2;snapGrid.forEach(function(snap,snapIndex){snapGrid[snapIndex]=snap-allSlidesOffset;});slidesGrid.forEach(function(snap,snapIndex){slidesGrid[snapIndex]=snap+allSlidesOffset;});}}Object.assign(swiper,{slides:slides,snapGrid:snapGrid,slidesGrid:slidesGrid,slidesSizesGrid:slidesSizesGrid});if(params.centeredSlides&&params.cssMode&&!params.centeredSlidesBounds){setCSSProperty(swiper.wrapperEl,'--swiper-centered-offset-before',"".concat(-snapGrid[0],"px"));setCSSProperty(swiper.wrapperEl,'--swiper-centered-offset-after',"".concat(swiper.size/2-slidesSizesGrid[slidesSizesGrid.length-1]/2,"px"));var addToSnapGrid=-swiper.snapGrid[0];var addToSlidesGrid=-swiper.slidesGrid[0];swiper.snapGrid=swiper.snapGrid.map(function(v){return v+addToSnapGrid;});swiper.slidesGrid=swiper.slidesGrid.map(function(v){return v+addToSlidesGrid;});}if(slidesLength!==previousSlidesLength){swiper.emit('slidesLengthChange');}if(snapGrid.length!==previousSnapGridLength){if(swiper.params.watchOverflow)swiper.checkOverflow();swiper.emit('snapGridLengthChange');}if(slidesGrid.length!==previousSlidesGridLength){swiper.emit('slidesGridLengthChange');}if(params.watchSlidesProgress){swiper.updateSlidesOffset();}if(!isVirtual&&!params.cssMode&&(params.effect==='slide'||params.effect==='fade')){var backFaceHiddenClass="".concat(params.containerModifierClass,"backface-hidden");var hasClassBackfaceClassAdded=swiper.$el.hasClass(backFaceHiddenClass);if(slidesLength<=params.maxBackfaceHiddenSlides){if(!hasClassBackfaceClassAdded)swiper.$el.addClass(backFaceHiddenClass);}else if(hasClassBackfaceClassAdded){swiper.$el.removeClass(backFaceHiddenClass);}}}function updateAutoHeight(speed){var swiper=this;var activeSlides=[];var isVirtual=swiper.virtual&&swiper.params.virtual.enabled;var newHeight=0;var i;if(typeof speed==='number'){swiper.setTransition(speed);}else if(speed===true){swiper.setTransition(swiper.params.speed);}var getSlideByIndex=function getSlideByIndex(index){if(isVirtual){return swiper.slides.filter(function(el){return parseInt(el.getAttribute('data-swiper-slide-index'),10)===index;})[0];}return swiper.slides.eq(index)[0];};// Find slides currently in view
  72. if(swiper.params.slidesPerView!=='auto'&&swiper.params.slidesPerView>1){if(swiper.params.centeredSlides){(swiper.visibleSlides||$([])).each(function(slide){activeSlides.push(slide);});}else{for(i=0;i<Math.ceil(swiper.params.slidesPerView);i+=1){var _index=swiper.activeIndex+i;if(_index>swiper.slides.length&&!isVirtual)break;activeSlides.push(getSlideByIndex(_index));}}}else{activeSlides.push(getSlideByIndex(swiper.activeIndex));}// Find new height from highest slide in view
  73. for(i=0;i<activeSlides.length;i+=1){if(typeof activeSlides[i]!=='undefined'){var height=activeSlides[i].offsetHeight;newHeight=height>newHeight?height:newHeight;}}// Update Height
  74. if(newHeight||newHeight===0)swiper.$wrapperEl.css('height',"".concat(newHeight,"px"));}function updateSlidesOffset(){var swiper=this;var slides=swiper.slides;for(var i=0;i<slides.length;i+=1){slides[i].swiperSlideOffset=swiper.isHorizontal()?slides[i].offsetLeft:slides[i].offsetTop;}}function updateSlidesProgress(translate){if(translate===void 0){translate=this&&this.translate||0;}var swiper=this;var params=swiper.params;var slides=swiper.slides,rtl=swiper.rtlTranslate,snapGrid=swiper.snapGrid;if(slides.length===0)return;if(typeof slides[0].swiperSlideOffset==='undefined')swiper.updateSlidesOffset();var offsetCenter=-translate;if(rtl)offsetCenter=translate;// Visible Slides
  75. slides.removeClass(params.slideVisibleClass);swiper.visibleSlidesIndexes=[];swiper.visibleSlides=[];for(var i=0;i<slides.length;i+=1){var _slide2=slides[i];var slideOffset=_slide2.swiperSlideOffset;if(params.cssMode&&params.centeredSlides){slideOffset-=slides[0].swiperSlideOffset;}var slideProgress=(offsetCenter+(params.centeredSlides?swiper.minTranslate():0)-slideOffset)/(_slide2.swiperSlideSize+params.spaceBetween);var originalSlideProgress=(offsetCenter-snapGrid[0]+(params.centeredSlides?swiper.minTranslate():0)-slideOffset)/(_slide2.swiperSlideSize+params.spaceBetween);var slideBefore=-(offsetCenter-slideOffset);var slideAfter=slideBefore+swiper.slidesSizesGrid[i];var isVisible=slideBefore>=0&&slideBefore<swiper.size-1||slideAfter>1&&slideAfter<=swiper.size||slideBefore<=0&&slideAfter>=swiper.size;if(isVisible){swiper.visibleSlides.push(_slide2);swiper.visibleSlidesIndexes.push(i);slides.eq(i).addClass(params.slideVisibleClass);}_slide2.progress=rtl?-slideProgress:slideProgress;_slide2.originalProgress=rtl?-originalSlideProgress:originalSlideProgress;}swiper.visibleSlides=$(swiper.visibleSlides);}function updateProgress(translate){var swiper=this;if(typeof translate==='undefined'){var multiplier=swiper.rtlTranslate?-1:1;// eslint-disable-next-line
  76. translate=swiper&&swiper.translate&&swiper.translate*multiplier||0;}var params=swiper.params;var translatesDiff=swiper.maxTranslate()-swiper.minTranslate();var progress=swiper.progress,isBeginning=swiper.isBeginning,isEnd=swiper.isEnd;var wasBeginning=isBeginning;var wasEnd=isEnd;if(translatesDiff===0){progress=0;isBeginning=true;isEnd=true;}else{progress=(translate-swiper.minTranslate())/translatesDiff;isBeginning=progress<=0;isEnd=progress>=1;}Object.assign(swiper,{progress:progress,isBeginning:isBeginning,isEnd:isEnd});if(params.watchSlidesProgress||params.centeredSlides&&params.autoHeight)swiper.updateSlidesProgress(translate);if(isBeginning&&!wasBeginning){swiper.emit('reachBeginning toEdge');}if(isEnd&&!wasEnd){swiper.emit('reachEnd toEdge');}if(wasBeginning&&!isBeginning||wasEnd&&!isEnd){swiper.emit('fromEdge');}swiper.emit('progress',progress);}function updateSlidesClasses(){var swiper=this;var slides=swiper.slides,params=swiper.params,$wrapperEl=swiper.$wrapperEl,activeIndex=swiper.activeIndex,realIndex=swiper.realIndex;var isVirtual=swiper.virtual&&params.virtual.enabled;slides.removeClass("".concat(params.slideActiveClass," ").concat(params.slideNextClass," ").concat(params.slidePrevClass," ").concat(params.slideDuplicateActiveClass," ").concat(params.slideDuplicateNextClass," ").concat(params.slideDuplicatePrevClass));var activeSlide;if(isVirtual){activeSlide=swiper.$wrapperEl.find(".".concat(params.slideClass,"[data-swiper-slide-index=\"").concat(activeIndex,"\"]"));}else{activeSlide=slides.eq(activeIndex);}// Active classes
  77. activeSlide.addClass(params.slideActiveClass);if(params.loop){// Duplicate to all looped slides
  78. if(activeSlide.hasClass(params.slideDuplicateClass)){$wrapperEl.children(".".concat(params.slideClass,":not(.").concat(params.slideDuplicateClass,")[data-swiper-slide-index=\"").concat(realIndex,"\"]")).addClass(params.slideDuplicateActiveClass);}else{$wrapperEl.children(".".concat(params.slideClass,".").concat(params.slideDuplicateClass,"[data-swiper-slide-index=\"").concat(realIndex,"\"]")).addClass(params.slideDuplicateActiveClass);}}// Next Slide
  79. var nextSlide=activeSlide.nextAll(".".concat(params.slideClass)).eq(0).addClass(params.slideNextClass);if(params.loop&&nextSlide.length===0){nextSlide=slides.eq(0);nextSlide.addClass(params.slideNextClass);}// Prev Slide
  80. var prevSlide=activeSlide.prevAll(".".concat(params.slideClass)).eq(0).addClass(params.slidePrevClass);if(params.loop&&prevSlide.length===0){prevSlide=slides.eq(-1);prevSlide.addClass(params.slidePrevClass);}if(params.loop){// Duplicate to all looped slides
  81. if(nextSlide.hasClass(params.slideDuplicateClass)){$wrapperEl.children(".".concat(params.slideClass,":not(.").concat(params.slideDuplicateClass,")[data-swiper-slide-index=\"").concat(nextSlide.attr('data-swiper-slide-index'),"\"]")).addClass(params.slideDuplicateNextClass);}else{$wrapperEl.children(".".concat(params.slideClass,".").concat(params.slideDuplicateClass,"[data-swiper-slide-index=\"").concat(nextSlide.attr('data-swiper-slide-index'),"\"]")).addClass(params.slideDuplicateNextClass);}if(prevSlide.hasClass(params.slideDuplicateClass)){$wrapperEl.children(".".concat(params.slideClass,":not(.").concat(params.slideDuplicateClass,")[data-swiper-slide-index=\"").concat(prevSlide.attr('data-swiper-slide-index'),"\"]")).addClass(params.slideDuplicatePrevClass);}else{$wrapperEl.children(".".concat(params.slideClass,".").concat(params.slideDuplicateClass,"[data-swiper-slide-index=\"").concat(prevSlide.attr('data-swiper-slide-index'),"\"]")).addClass(params.slideDuplicatePrevClass);}}swiper.emitSlidesClasses();}function updateActiveIndex(newActiveIndex){var swiper=this;var translate=swiper.rtlTranslate?swiper.translate:-swiper.translate;var slidesGrid=swiper.slidesGrid,snapGrid=swiper.snapGrid,params=swiper.params,previousIndex=swiper.activeIndex,previousRealIndex=swiper.realIndex,previousSnapIndex=swiper.snapIndex;var activeIndex=newActiveIndex;var snapIndex;if(typeof activeIndex==='undefined'){for(var i=0;i<slidesGrid.length;i+=1){if(typeof slidesGrid[i+1]!=='undefined'){if(translate>=slidesGrid[i]&&translate<slidesGrid[i+1]-(slidesGrid[i+1]-slidesGrid[i])/2){activeIndex=i;}else if(translate>=slidesGrid[i]&&translate<slidesGrid[i+1]){activeIndex=i+1;}}else if(translate>=slidesGrid[i]){activeIndex=i;}}// Normalize slideIndex
  82. if(params.normalizeSlideIndex){if(activeIndex<0||typeof activeIndex==='undefined')activeIndex=0;}}if(snapGrid.indexOf(translate)>=0){snapIndex=snapGrid.indexOf(translate);}else{var skip=Math.min(params.slidesPerGroupSkip,activeIndex);snapIndex=skip+Math.floor((activeIndex-skip)/params.slidesPerGroup);}if(snapIndex>=snapGrid.length)snapIndex=snapGrid.length-1;if(activeIndex===previousIndex){if(snapIndex!==previousSnapIndex){swiper.snapIndex=snapIndex;swiper.emit('snapIndexChange');}return;}// Get real index
  83. var realIndex=parseInt(swiper.slides.eq(activeIndex).attr('data-swiper-slide-index')||activeIndex,10);Object.assign(swiper,{snapIndex:snapIndex,realIndex:realIndex,previousIndex:previousIndex,activeIndex:activeIndex});swiper.emit('activeIndexChange');swiper.emit('snapIndexChange');if(previousRealIndex!==realIndex){swiper.emit('realIndexChange');}if(swiper.initialized||swiper.params.runCallbacksOnInit){swiper.emit('slideChange');}}function updateClickedSlide(e){var swiper=this;var params=swiper.params;var slide=$(e).closest(".".concat(params.slideClass))[0];var slideFound=false;var slideIndex;if(slide){for(var i=0;i<swiper.slides.length;i+=1){if(swiper.slides[i]===slide){slideFound=true;slideIndex=i;break;}}}if(slide&&slideFound){swiper.clickedSlide=slide;if(swiper.virtual&&swiper.params.virtual.enabled){swiper.clickedIndex=parseInt($(slide).attr('data-swiper-slide-index'),10);}else{swiper.clickedIndex=slideIndex;}}else{swiper.clickedSlide=undefined;swiper.clickedIndex=undefined;return;}if(params.slideToClickedSlide&&swiper.clickedIndex!==undefined&&swiper.clickedIndex!==swiper.activeIndex){swiper.slideToClickedSlide();}}var update={updateSize:updateSize,updateSlides:updateSlides,updateAutoHeight:updateAutoHeight,updateSlidesOffset:updateSlidesOffset,updateSlidesProgress:updateSlidesProgress,updateProgress:updateProgress,updateSlidesClasses:updateSlidesClasses,updateActiveIndex:updateActiveIndex,updateClickedSlide:updateClickedSlide};function getSwiperTranslate(axis){if(axis===void 0){axis=this.isHorizontal()?'x':'y';}var swiper=this;var params=swiper.params,rtl=swiper.rtlTranslate,translate=swiper.translate,$wrapperEl=swiper.$wrapperEl;if(params.virtualTranslate){return rtl?-translate:translate;}if(params.cssMode){return translate;}var currentTranslate=getTranslate($wrapperEl[0],axis);if(rtl)currentTranslate=-currentTranslate;return currentTranslate||0;}function setTranslate(translate,byController){var swiper=this;var rtl=swiper.rtlTranslate,params=swiper.params,$wrapperEl=swiper.$wrapperEl,wrapperEl=swiper.wrapperEl,progress=swiper.progress;var x=0;var y=0;var z=0;if(swiper.isHorizontal()){x=rtl?-translate:translate;}else{y=translate;}if(params.roundLengths){x=Math.floor(x);y=Math.floor(y);}if(params.cssMode){wrapperEl[swiper.isHorizontal()?'scrollLeft':'scrollTop']=swiper.isHorizontal()?-x:-y;}else if(!params.virtualTranslate){$wrapperEl.transform("translate3d(".concat(x,"px, ").concat(y,"px, ").concat(z,"px)"));}swiper.previousTranslate=swiper.translate;swiper.translate=swiper.isHorizontal()?x:y;// Check if we need to update progress
  84. var newProgress;var translatesDiff=swiper.maxTranslate()-swiper.minTranslate();if(translatesDiff===0){newProgress=0;}else{newProgress=(translate-swiper.minTranslate())/translatesDiff;}if(newProgress!==progress){swiper.updateProgress(translate);}swiper.emit('setTranslate',swiper.translate,byController);}function minTranslate(){return-this.snapGrid[0];}function maxTranslate(){return-this.snapGrid[this.snapGrid.length-1];}function translateTo(translate,speed,runCallbacks,translateBounds,internal){if(translate===void 0){translate=0;}if(speed===void 0){speed=this.params.speed;}if(runCallbacks===void 0){runCallbacks=true;}if(translateBounds===void 0){translateBounds=true;}var swiper=this;var params=swiper.params,wrapperEl=swiper.wrapperEl;if(swiper.animating&&params.preventInteractionOnTransition){return false;}var minTranslate=swiper.minTranslate();var maxTranslate=swiper.maxTranslate();var newTranslate;if(translateBounds&&translate>minTranslate)newTranslate=minTranslate;else if(translateBounds&&translate<maxTranslate)newTranslate=maxTranslate;else newTranslate=translate;// Update progress
  85. swiper.updateProgress(newTranslate);if(params.cssMode){var isH=swiper.isHorizontal();if(speed===0){wrapperEl[isH?'scrollLeft':'scrollTop']=-newTranslate;}else{var _wrapperEl$scrollTo;if(!swiper.support.smoothScroll){animateCSSModeScroll({swiper:swiper,targetPosition:-newTranslate,side:isH?'left':'top'});return true;}wrapperEl.scrollTo((_wrapperEl$scrollTo={},_defineProperty(_wrapperEl$scrollTo,isH?'left':'top',-newTranslate),_defineProperty(_wrapperEl$scrollTo,"behavior",'smooth'),_wrapperEl$scrollTo));}return true;}if(speed===0){swiper.setTransition(0);swiper.setTranslate(newTranslate);if(runCallbacks){swiper.emit('beforeTransitionStart',speed,internal);swiper.emit('transitionEnd');}}else{swiper.setTransition(speed);swiper.setTranslate(newTranslate);if(runCallbacks){swiper.emit('beforeTransitionStart',speed,internal);swiper.emit('transitionStart');}if(!swiper.animating){swiper.animating=true;if(!swiper.onTranslateToWrapperTransitionEnd){swiper.onTranslateToWrapperTransitionEnd=function transitionEnd(e){if(!swiper||swiper.destroyed)return;if(e.target!==this)return;swiper.$wrapperEl[0].removeEventListener('transitionend',swiper.onTranslateToWrapperTransitionEnd);swiper.$wrapperEl[0].removeEventListener('webkitTransitionEnd',swiper.onTranslateToWrapperTransitionEnd);swiper.onTranslateToWrapperTransitionEnd=null;delete swiper.onTranslateToWrapperTransitionEnd;if(runCallbacks){swiper.emit('transitionEnd');}};}swiper.$wrapperEl[0].addEventListener('transitionend',swiper.onTranslateToWrapperTransitionEnd);swiper.$wrapperEl[0].addEventListener('webkitTransitionEnd',swiper.onTranslateToWrapperTransitionEnd);}}return true;}var translate={getTranslate:getSwiperTranslate,setTranslate:setTranslate,minTranslate:minTranslate,maxTranslate:maxTranslate,translateTo:translateTo};function setTransition(duration,byController){var swiper=this;if(!swiper.params.cssMode){swiper.$wrapperEl.transition(duration);}swiper.emit('setTransition',duration,byController);}function transitionEmit(_ref){var swiper=_ref.swiper,runCallbacks=_ref.runCallbacks,direction=_ref.direction,step=_ref.step;var activeIndex=swiper.activeIndex,previousIndex=swiper.previousIndex;var dir=direction;if(!dir){if(activeIndex>previousIndex)dir='next';else if(activeIndex<previousIndex)dir='prev';else dir='reset';}swiper.emit("transition".concat(step));if(runCallbacks&&activeIndex!==previousIndex){if(dir==='reset'){swiper.emit("slideResetTransition".concat(step));return;}swiper.emit("slideChangeTransition".concat(step));if(dir==='next'){swiper.emit("slideNextTransition".concat(step));}else{swiper.emit("slidePrevTransition".concat(step));}}}function transitionStart(runCallbacks,direction){if(runCallbacks===void 0){runCallbacks=true;}var swiper=this;var params=swiper.params;if(params.cssMode)return;if(params.autoHeight){swiper.updateAutoHeight();}transitionEmit({swiper:swiper,runCallbacks:runCallbacks,direction:direction,step:'Start'});}function transitionEnd(runCallbacks,direction){if(runCallbacks===void 0){runCallbacks=true;}var swiper=this;var params=swiper.params;swiper.animating=false;if(params.cssMode)return;swiper.setTransition(0);transitionEmit({swiper:swiper,runCallbacks:runCallbacks,direction:direction,step:'End'});}var transition={setTransition:setTransition,transitionStart:transitionStart,transitionEnd:transitionEnd};function slideTo(index,speed,runCallbacks,internal,initial){if(index===void 0){index=0;}if(speed===void 0){speed=this.params.speed;}if(runCallbacks===void 0){runCallbacks=true;}if(typeof index!=='number'&&typeof index!=='string'){throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. [".concat(_typeof(index),"] given."));}if(typeof index==='string'){/**
  86. * The `index` argument converted from `string` to `number`.
  87. * @type {number}
  88. */var indexAsNumber=parseInt(index,10);/**
  89. * Determines whether the `index` argument is a valid `number`
  90. * after being converted from the `string` type.
  91. * @type {boolean}
  92. */var isValidNumber=isFinite(indexAsNumber);if(!isValidNumber){throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. [".concat(index,"] given."));}// Knowing that the converted `index` is a valid number,
  93. // we can update the original argument's value.
  94. index=indexAsNumber;}var swiper=this;var slideIndex=index;if(slideIndex<0)slideIndex=0;var params=swiper.params,snapGrid=swiper.snapGrid,slidesGrid=swiper.slidesGrid,previousIndex=swiper.previousIndex,activeIndex=swiper.activeIndex,rtl=swiper.rtlTranslate,wrapperEl=swiper.wrapperEl,enabled=swiper.enabled;if(swiper.animating&&params.preventInteractionOnTransition||!enabled&&!internal&&!initial){return false;}var skip=Math.min(swiper.params.slidesPerGroupSkip,slideIndex);var snapIndex=skip+Math.floor((slideIndex-skip)/swiper.params.slidesPerGroup);if(snapIndex>=snapGrid.length)snapIndex=snapGrid.length-1;if((activeIndex||params.initialSlide||0)===(previousIndex||0)&&runCallbacks){swiper.emit('beforeSlideChangeStart');}var translate=-snapGrid[snapIndex];// Update progress
  95. swiper.updateProgress(translate);// Normalize slideIndex
  96. if(params.normalizeSlideIndex){for(var i=0;i<slidesGrid.length;i+=1){var normalizedTranslate=-Math.floor(translate*100);var normalizedGrid=Math.floor(slidesGrid[i]*100);var normalizedGridNext=Math.floor(slidesGrid[i+1]*100);if(typeof slidesGrid[i+1]!=='undefined'){if(normalizedTranslate>=normalizedGrid&&normalizedTranslate<normalizedGridNext-(normalizedGridNext-normalizedGrid)/2){slideIndex=i;}else if(normalizedTranslate>=normalizedGrid&&normalizedTranslate<normalizedGridNext){slideIndex=i+1;}}else if(normalizedTranslate>=normalizedGrid){slideIndex=i;}}}// Directions locks
  97. if(swiper.initialized&&slideIndex!==activeIndex){if(!swiper.allowSlideNext&&translate<swiper.translate&&translate<swiper.minTranslate()){return false;}if(!swiper.allowSlidePrev&&translate>swiper.translate&&translate>swiper.maxTranslate()){if((activeIndex||0)!==slideIndex)return false;}}var direction;if(slideIndex>activeIndex)direction='next';else if(slideIndex<activeIndex)direction='prev';else direction='reset';// Update Index
  98. if(rtl&&-translate===swiper.translate||!rtl&&translate===swiper.translate){swiper.updateActiveIndex(slideIndex);// Update Height
  99. if(params.autoHeight){swiper.updateAutoHeight();}swiper.updateSlidesClasses();if(params.effect!=='slide'){swiper.setTranslate(translate);}if(direction!=='reset'){swiper.transitionStart(runCallbacks,direction);swiper.transitionEnd(runCallbacks,direction);}return false;}if(params.cssMode){var isH=swiper.isHorizontal();var t=rtl?translate:-translate;if(speed===0){var isVirtual=swiper.virtual&&swiper.params.virtual.enabled;if(isVirtual){swiper.wrapperEl.style.scrollSnapType='none';swiper._immediateVirtual=true;}wrapperEl[isH?'scrollLeft':'scrollTop']=t;if(isVirtual){requestAnimationFrame(function(){swiper.wrapperEl.style.scrollSnapType='';swiper._swiperImmediateVirtual=false;});}}else{var _wrapperEl$scrollTo2;if(!swiper.support.smoothScroll){animateCSSModeScroll({swiper:swiper,targetPosition:t,side:isH?'left':'top'});return true;}wrapperEl.scrollTo((_wrapperEl$scrollTo2={},_defineProperty(_wrapperEl$scrollTo2,isH?'left':'top',t),_defineProperty(_wrapperEl$scrollTo2,"behavior",'smooth'),_wrapperEl$scrollTo2));}return true;}swiper.setTransition(speed);swiper.setTranslate(translate);swiper.updateActiveIndex(slideIndex);swiper.updateSlidesClasses();swiper.emit('beforeTransitionStart',speed,internal);swiper.transitionStart(runCallbacks,direction);if(speed===0){swiper.transitionEnd(runCallbacks,direction);}else if(!swiper.animating){swiper.animating=true;if(!swiper.onSlideToWrapperTransitionEnd){swiper.onSlideToWrapperTransitionEnd=function transitionEnd(e){if(!swiper||swiper.destroyed)return;if(e.target!==this)return;swiper.$wrapperEl[0].removeEventListener('transitionend',swiper.onSlideToWrapperTransitionEnd);swiper.$wrapperEl[0].removeEventListener('webkitTransitionEnd',swiper.onSlideToWrapperTransitionEnd);swiper.onSlideToWrapperTransitionEnd=null;delete swiper.onSlideToWrapperTransitionEnd;swiper.transitionEnd(runCallbacks,direction);};}swiper.$wrapperEl[0].addEventListener('transitionend',swiper.onSlideToWrapperTransitionEnd);swiper.$wrapperEl[0].addEventListener('webkitTransitionEnd',swiper.onSlideToWrapperTransitionEnd);}return true;}function slideToLoop(index,speed,runCallbacks,internal){if(index===void 0){index=0;}if(speed===void 0){speed=this.params.speed;}if(runCallbacks===void 0){runCallbacks=true;}if(typeof index==='string'){/**
  100. * The `index` argument converted from `string` to `number`.
  101. * @type {number}
  102. */var indexAsNumber=parseInt(index,10);/**
  103. * Determines whether the `index` argument is a valid `number`
  104. * after being converted from the `string` type.
  105. * @type {boolean}
  106. */var isValidNumber=isFinite(indexAsNumber);if(!isValidNumber){throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. [".concat(index,"] given."));}// Knowing that the converted `index` is a valid number,
  107. // we can update the original argument's value.
  108. index=indexAsNumber;}var swiper=this;var newIndex=index;if(swiper.params.loop){newIndex+=swiper.loopedSlides;}return swiper.slideTo(newIndex,speed,runCallbacks,internal);}/* eslint no-unused-vars: "off" */function slideNext(speed,runCallbacks,internal){if(speed===void 0){speed=this.params.speed;}if(runCallbacks===void 0){runCallbacks=true;}var swiper=this;var animating=swiper.animating,enabled=swiper.enabled,params=swiper.params;if(!enabled)return swiper;var perGroup=params.slidesPerGroup;if(params.slidesPerView==='auto'&&params.slidesPerGroup===1&&params.slidesPerGroupAuto){perGroup=Math.max(swiper.slidesPerViewDynamic('current',true),1);}var increment=swiper.activeIndex<params.slidesPerGroupSkip?1:perGroup;if(params.loop){if(animating&&params.loopPreventsSlide)return false;swiper.loopFix();// eslint-disable-next-line
  109. swiper._clientLeft=swiper.$wrapperEl[0].clientLeft;}if(params.rewind&&swiper.isEnd){return swiper.slideTo(0,speed,runCallbacks,internal);}return swiper.slideTo(swiper.activeIndex+increment,speed,runCallbacks,internal);}/* eslint no-unused-vars: "off" */function slidePrev(speed,runCallbacks,internal){if(speed===void 0){speed=this.params.speed;}if(runCallbacks===void 0){runCallbacks=true;}var swiper=this;var params=swiper.params,animating=swiper.animating,snapGrid=swiper.snapGrid,slidesGrid=swiper.slidesGrid,rtlTranslate=swiper.rtlTranslate,enabled=swiper.enabled;if(!enabled)return swiper;if(params.loop){if(animating&&params.loopPreventsSlide)return false;swiper.loopFix();// eslint-disable-next-line
  110. swiper._clientLeft=swiper.$wrapperEl[0].clientLeft;}var translate=rtlTranslate?swiper.translate:-swiper.translate;function normalize(val){if(val<0)return-Math.floor(Math.abs(val));return Math.floor(val);}var normalizedTranslate=normalize(translate);var normalizedSnapGrid=snapGrid.map(function(val){return normalize(val);});var prevSnap=snapGrid[normalizedSnapGrid.indexOf(normalizedTranslate)-1];if(typeof prevSnap==='undefined'&&params.cssMode){var prevSnapIndex;snapGrid.forEach(function(snap,snapIndex){if(normalizedTranslate>=snap){// prevSnap = snap;
  111. prevSnapIndex=snapIndex;}});if(typeof prevSnapIndex!=='undefined'){prevSnap=snapGrid[prevSnapIndex>0?prevSnapIndex-1:prevSnapIndex];}}var prevIndex=0;if(typeof prevSnap!=='undefined'){prevIndex=slidesGrid.indexOf(prevSnap);if(prevIndex<0)prevIndex=swiper.activeIndex-1;if(params.slidesPerView==='auto'&&params.slidesPerGroup===1&&params.slidesPerGroupAuto){prevIndex=prevIndex-swiper.slidesPerViewDynamic('previous',true)+1;prevIndex=Math.max(prevIndex,0);}}if(params.rewind&&swiper.isBeginning){var lastIndex=swiper.params.virtual&&swiper.params.virtual.enabled&&swiper.virtual?swiper.virtual.slides.length-1:swiper.slides.length-1;return swiper.slideTo(lastIndex,speed,runCallbacks,internal);}return swiper.slideTo(prevIndex,speed,runCallbacks,internal);}/* eslint no-unused-vars: "off" */function slideReset(speed,runCallbacks,internal){if(speed===void 0){speed=this.params.speed;}if(runCallbacks===void 0){runCallbacks=true;}var swiper=this;return swiper.slideTo(swiper.activeIndex,speed,runCallbacks,internal);}/* eslint no-unused-vars: "off" */function slideToClosest(speed,runCallbacks,internal,threshold){if(speed===void 0){speed=this.params.speed;}if(runCallbacks===void 0){runCallbacks=true;}if(threshold===void 0){threshold=0.5;}var swiper=this;var index=swiper.activeIndex;var skip=Math.min(swiper.params.slidesPerGroupSkip,index);var snapIndex=skip+Math.floor((index-skip)/swiper.params.slidesPerGroup);var translate=swiper.rtlTranslate?swiper.translate:-swiper.translate;if(translate>=swiper.snapGrid[snapIndex]){// The current translate is on or after the current snap index, so the choice
  112. // is between the current index and the one after it.
  113. var currentSnap=swiper.snapGrid[snapIndex];var nextSnap=swiper.snapGrid[snapIndex+1];if(translate-currentSnap>(nextSnap-currentSnap)*threshold){index+=swiper.params.slidesPerGroup;}}else{// The current translate is before the current snap index, so the choice
  114. // is between the current index and the one before it.
  115. var prevSnap=swiper.snapGrid[snapIndex-1];var _currentSnap=swiper.snapGrid[snapIndex];if(translate-prevSnap<=(_currentSnap-prevSnap)*threshold){index-=swiper.params.slidesPerGroup;}}index=Math.max(index,0);index=Math.min(index,swiper.slidesGrid.length-1);return swiper.slideTo(index,speed,runCallbacks,internal);}function slideToClickedSlide(){var swiper=this;var params=swiper.params,$wrapperEl=swiper.$wrapperEl;var slidesPerView=params.slidesPerView==='auto'?swiper.slidesPerViewDynamic():params.slidesPerView;var slideToIndex=swiper.clickedIndex;var realIndex;if(params.loop){if(swiper.animating)return;realIndex=parseInt($(swiper.clickedSlide).attr('data-swiper-slide-index'),10);if(params.centeredSlides){if(slideToIndex<swiper.loopedSlides-slidesPerView/2||slideToIndex>swiper.slides.length-swiper.loopedSlides+slidesPerView/2){swiper.loopFix();slideToIndex=$wrapperEl.children(".".concat(params.slideClass,"[data-swiper-slide-index=\"").concat(realIndex,"\"]:not(.").concat(params.slideDuplicateClass,")")).eq(0).index();nextTick(function(){swiper.slideTo(slideToIndex);});}else{swiper.slideTo(slideToIndex);}}else if(slideToIndex>swiper.slides.length-slidesPerView){swiper.loopFix();slideToIndex=$wrapperEl.children(".".concat(params.slideClass,"[data-swiper-slide-index=\"").concat(realIndex,"\"]:not(.").concat(params.slideDuplicateClass,")")).eq(0).index();nextTick(function(){swiper.slideTo(slideToIndex);});}else{swiper.slideTo(slideToIndex);}}else{swiper.slideTo(slideToIndex);}}var slide={slideTo:slideTo,slideToLoop:slideToLoop,slideNext:slideNext,slidePrev:slidePrev,slideReset:slideReset,slideToClosest:slideToClosest,slideToClickedSlide:slideToClickedSlide};function loopCreate(){var swiper=this;var document=getDocument();var params=swiper.params,$wrapperEl=swiper.$wrapperEl;// Remove duplicated slides
  116. var $selector=$wrapperEl.children().length>0?$($wrapperEl.children()[0].parentNode):$wrapperEl;$selector.children(".".concat(params.slideClass,".").concat(params.slideDuplicateClass)).remove();var slides=$selector.children(".".concat(params.slideClass));if(params.loopFillGroupWithBlank){var blankSlidesNum=params.slidesPerGroup-slides.length%params.slidesPerGroup;if(blankSlidesNum!==params.slidesPerGroup){for(var i=0;i<blankSlidesNum;i+=1){var blankNode=$(document.createElement('div')).addClass("".concat(params.slideClass," ").concat(params.slideBlankClass));$selector.append(blankNode);}slides=$selector.children(".".concat(params.slideClass));}}if(params.slidesPerView==='auto'&&!params.loopedSlides)params.loopedSlides=slides.length;swiper.loopedSlides=Math.ceil(parseFloat(params.loopedSlides||params.slidesPerView,10));swiper.loopedSlides+=params.loopAdditionalSlides;if(swiper.loopedSlides>slides.length){swiper.loopedSlides=slides.length;}var prependSlides=[];var appendSlides=[];slides.each(function(el,index){var slide=$(el);if(index<swiper.loopedSlides){appendSlides.push(el);}if(index<slides.length&&index>=slides.length-swiper.loopedSlides){prependSlides.push(el);}slide.attr('data-swiper-slide-index',index);});for(var _i2=0;_i2<appendSlides.length;_i2+=1){$selector.append($(appendSlides[_i2].cloneNode(true)).addClass(params.slideDuplicateClass));}for(var _i3=prependSlides.length-1;_i3>=0;_i3-=1){$selector.prepend($(prependSlides[_i3].cloneNode(true)).addClass(params.slideDuplicateClass));}}function loopFix(){var swiper=this;swiper.emit('beforeLoopFix');var activeIndex=swiper.activeIndex,slides=swiper.slides,loopedSlides=swiper.loopedSlides,allowSlidePrev=swiper.allowSlidePrev,allowSlideNext=swiper.allowSlideNext,snapGrid=swiper.snapGrid,rtl=swiper.rtlTranslate;var newIndex;swiper.allowSlidePrev=true;swiper.allowSlideNext=true;var snapTranslate=-snapGrid[activeIndex];var diff=snapTranslate-swiper.getTranslate();// Fix For Negative Oversliding
  117. if(activeIndex<loopedSlides){newIndex=slides.length-loopedSlides*3+activeIndex;newIndex+=loopedSlides;var slideChanged=swiper.slideTo(newIndex,0,false,true);if(slideChanged&&diff!==0){swiper.setTranslate((rtl?-swiper.translate:swiper.translate)-diff);}}else if(activeIndex>=slides.length-loopedSlides){// Fix For Positive Oversliding
  118. newIndex=-slides.length+activeIndex+loopedSlides;newIndex+=loopedSlides;var _slideChanged=swiper.slideTo(newIndex,0,false,true);if(_slideChanged&&diff!==0){swiper.setTranslate((rtl?-swiper.translate:swiper.translate)-diff);}}swiper.allowSlidePrev=allowSlidePrev;swiper.allowSlideNext=allowSlideNext;swiper.emit('loopFix');}function loopDestroy(){var swiper=this;var $wrapperEl=swiper.$wrapperEl,params=swiper.params,slides=swiper.slides;$wrapperEl.children(".".concat(params.slideClass,".").concat(params.slideDuplicateClass,",.").concat(params.slideClass,".").concat(params.slideBlankClass)).remove();slides.removeAttr('data-swiper-slide-index');}var loop={loopCreate:loopCreate,loopFix:loopFix,loopDestroy:loopDestroy};function setGrabCursor(moving){var swiper=this;if(swiper.support.touch||!swiper.params.simulateTouch||swiper.params.watchOverflow&&swiper.isLocked||swiper.params.cssMode)return;var el=swiper.params.touchEventsTarget==='container'?swiper.el:swiper.wrapperEl;el.style.cursor='move';el.style.cursor=moving?'grabbing':'grab';}function unsetGrabCursor(){var swiper=this;if(swiper.support.touch||swiper.params.watchOverflow&&swiper.isLocked||swiper.params.cssMode){return;}swiper[swiper.params.touchEventsTarget==='container'?'el':'wrapperEl'].style.cursor='';}var grabCursor={setGrabCursor:setGrabCursor,unsetGrabCursor:unsetGrabCursor};function closestElement(selector,base){if(base===void 0){base=this;}function __closestFrom(el){if(!el||el===getDocument()||el===getWindow())return null;if(el.assignedSlot)el=el.assignedSlot;var found=el.closest(selector);if(!found&&!el.getRootNode){return null;}return found||__closestFrom(el.getRootNode().host);}return __closestFrom(base);}function onTouchStart(event){var swiper=this;var document=getDocument();var window=getWindow();var data=swiper.touchEventsData;var params=swiper.params,touches=swiper.touches,enabled=swiper.enabled;if(!enabled)return;if(swiper.animating&&params.preventInteractionOnTransition){return;}if(!swiper.animating&&params.cssMode&&params.loop){swiper.loopFix();}var e=event;if(e.originalEvent)e=e.originalEvent;var $targetEl=$(e.target);if(params.touchEventsTarget==='wrapper'){if(!$targetEl.closest(swiper.wrapperEl).length)return;}data.isTouchEvent=e.type==='touchstart';if(!data.isTouchEvent&&'which'in e&&e.which===3)return;if(!data.isTouchEvent&&'button'in e&&e.button>0)return;if(data.isTouched&&data.isMoved)return;// change target el for shadow root component
  119. var swipingClassHasValue=!!params.noSwipingClass&&params.noSwipingClass!=='';if(swipingClassHasValue&&e.target&&e.target.shadowRoot&&event.path&&event.path[0]){$targetEl=$(event.path[0]);}var noSwipingSelector=params.noSwipingSelector?params.noSwipingSelector:".".concat(params.noSwipingClass);var isTargetShadow=!!(e.target&&e.target.shadowRoot);// use closestElement for shadow root element to get the actual closest for nested shadow root element
  120. if(params.noSwiping&&(isTargetShadow?closestElement(noSwipingSelector,$targetEl[0]):$targetEl.closest(noSwipingSelector)[0])){swiper.allowClick=true;return;}if(params.swipeHandler){if(!$targetEl.closest(params.swipeHandler)[0])return;}touches.currentX=e.type==='touchstart'?e.targetTouches[0].pageX:e.pageX;touches.currentY=e.type==='touchstart'?e.targetTouches[0].pageY:e.pageY;var startX=touches.currentX;var startY=touches.currentY;// Do NOT start if iOS edge swipe is detected. Otherwise iOS app cannot swipe-to-go-back anymore
  121. var edgeSwipeDetection=params.edgeSwipeDetection||params.iOSEdgeSwipeDetection;var edgeSwipeThreshold=params.edgeSwipeThreshold||params.iOSEdgeSwipeThreshold;if(edgeSwipeDetection&&(startX<=edgeSwipeThreshold||startX>=window.innerWidth-edgeSwipeThreshold)){if(edgeSwipeDetection==='prevent'){event.preventDefault();}else{return;}}Object.assign(data,{isTouched:true,isMoved:false,allowTouchCallbacks:true,isScrolling:undefined,startMoving:undefined});touches.startX=startX;touches.startY=startY;data.touchStartTime=now();swiper.allowClick=true;swiper.updateSize();swiper.swipeDirection=undefined;if(params.threshold>0)data.allowThresholdMove=false;if(e.type!=='touchstart'){var preventDefault=true;if($targetEl.is(data.focusableElements)){preventDefault=false;if($targetEl[0].nodeName==='SELECT'){data.isTouched=false;}}if(document.activeElement&&$(document.activeElement).is(data.focusableElements)&&document.activeElement!==$targetEl[0]){document.activeElement.blur();}var shouldPreventDefault=preventDefault&&swiper.allowTouchMove&&params.touchStartPreventDefault;if((params.touchStartForcePreventDefault||shouldPreventDefault)&&!$targetEl[0].isContentEditable){e.preventDefault();}}if(swiper.params.freeMode&&swiper.params.freeMode.enabled&&swiper.freeMode&&swiper.animating&&!params.cssMode){swiper.freeMode.onTouchStart();}swiper.emit('touchStart',e);}function onTouchMove(event){var document=getDocument();var swiper=this;var data=swiper.touchEventsData;var params=swiper.params,touches=swiper.touches,rtl=swiper.rtlTranslate,enabled=swiper.enabled;if(!enabled)return;var e=event;if(e.originalEvent)e=e.originalEvent;if(!data.isTouched){if(data.startMoving&&data.isScrolling){swiper.emit('touchMoveOpposite',e);}return;}if(data.isTouchEvent&&e.type!=='touchmove')return;var targetTouch=e.type==='touchmove'&&e.targetTouches&&(e.targetTouches[0]||e.changedTouches[0]);var pageX=e.type==='touchmove'?targetTouch.pageX:e.pageX;var pageY=e.type==='touchmove'?targetTouch.pageY:e.pageY;if(e.preventedByNestedSwiper){touches.startX=pageX;touches.startY=pageY;return;}if(!swiper.allowTouchMove){if(!$(e.target).is(data.focusableElements)){swiper.allowClick=false;}if(data.isTouched){Object.assign(touches,{startX:pageX,startY:pageY,currentX:pageX,currentY:pageY});data.touchStartTime=now();}return;}if(data.isTouchEvent&&params.touchReleaseOnEdges&&!params.loop){if(swiper.isVertical()){// Vertical
  122. if(pageY<touches.startY&&swiper.translate<=swiper.maxTranslate()||pageY>touches.startY&&swiper.translate>=swiper.minTranslate()){data.isTouched=false;data.isMoved=false;return;}}else if(pageX<touches.startX&&swiper.translate<=swiper.maxTranslate()||pageX>touches.startX&&swiper.translate>=swiper.minTranslate()){return;}}if(data.isTouchEvent&&document.activeElement){if(e.target===document.activeElement&&$(e.target).is(data.focusableElements)){data.isMoved=true;swiper.allowClick=false;return;}}if(data.allowTouchCallbacks){swiper.emit('touchMove',e);}if(e.targetTouches&&e.targetTouches.length>1)return;touches.currentX=pageX;touches.currentY=pageY;var diffX=touches.currentX-touches.startX;var diffY=touches.currentY-touches.startY;if(swiper.params.threshold&&Math.sqrt(Math.pow(diffX,2)+Math.pow(diffY,2))<swiper.params.threshold)return;if(typeof data.isScrolling==='undefined'){var touchAngle;if(swiper.isHorizontal()&&touches.currentY===touches.startY||swiper.isVertical()&&touches.currentX===touches.startX){data.isScrolling=false;}else{// eslint-disable-next-line
  123. if(diffX*diffX+diffY*diffY>=25){touchAngle=Math.atan2(Math.abs(diffY),Math.abs(diffX))*180/Math.PI;data.isScrolling=swiper.isHorizontal()?touchAngle>params.touchAngle:90-touchAngle>params.touchAngle;}}}if(data.isScrolling){swiper.emit('touchMoveOpposite',e);}if(typeof data.startMoving==='undefined'){if(touches.currentX!==touches.startX||touches.currentY!==touches.startY){data.startMoving=true;}}if(data.isScrolling){data.isTouched=false;return;}if(!data.startMoving){return;}swiper.allowClick=false;if(!params.cssMode&&e.cancelable){e.preventDefault();}if(params.touchMoveStopPropagation&&!params.nested){e.stopPropagation();}if(!data.isMoved){if(params.loop&&!params.cssMode){swiper.loopFix();}data.startTranslate=swiper.getTranslate();swiper.setTransition(0);if(swiper.animating){swiper.$wrapperEl.trigger('webkitTransitionEnd transitionend');}data.allowMomentumBounce=false;// Grab Cursor
  124. if(params.grabCursor&&(swiper.allowSlideNext===true||swiper.allowSlidePrev===true)){swiper.setGrabCursor(true);}swiper.emit('sliderFirstMove',e);}swiper.emit('sliderMove',e);data.isMoved=true;var diff=swiper.isHorizontal()?diffX:diffY;touches.diff=diff;diff*=params.touchRatio;if(rtl)diff=-diff;swiper.swipeDirection=diff>0?'prev':'next';data.currentTranslate=diff+data.startTranslate;var disableParentSwiper=true;var resistanceRatio=params.resistanceRatio;if(params.touchReleaseOnEdges){resistanceRatio=0;}if(diff>0&&data.currentTranslate>swiper.minTranslate()){disableParentSwiper=false;if(params.resistance)data.currentTranslate=swiper.minTranslate()-1+Math.pow(-swiper.minTranslate()+data.startTranslate+diff,resistanceRatio);}else if(diff<0&&data.currentTranslate<swiper.maxTranslate()){disableParentSwiper=false;if(params.resistance)data.currentTranslate=swiper.maxTranslate()+1-Math.pow(swiper.maxTranslate()-data.startTranslate-diff,resistanceRatio);}if(disableParentSwiper){e.preventedByNestedSwiper=true;}// Directions locks
  125. if(!swiper.allowSlideNext&&swiper.swipeDirection==='next'&&data.currentTranslate<data.startTranslate){data.currentTranslate=data.startTranslate;}if(!swiper.allowSlidePrev&&swiper.swipeDirection==='prev'&&data.currentTranslate>data.startTranslate){data.currentTranslate=data.startTranslate;}if(!swiper.allowSlidePrev&&!swiper.allowSlideNext){data.currentTranslate=data.startTranslate;}// Threshold
  126. if(params.threshold>0){if(Math.abs(diff)>params.threshold||data.allowThresholdMove){if(!data.allowThresholdMove){data.allowThresholdMove=true;touches.startX=touches.currentX;touches.startY=touches.currentY;data.currentTranslate=data.startTranslate;touches.diff=swiper.isHorizontal()?touches.currentX-touches.startX:touches.currentY-touches.startY;return;}}else{data.currentTranslate=data.startTranslate;return;}}if(!params.followFinger||params.cssMode)return;// Update active index in free mode
  127. if(params.freeMode&&params.freeMode.enabled&&swiper.freeMode||params.watchSlidesProgress){swiper.updateActiveIndex();swiper.updateSlidesClasses();}if(swiper.params.freeMode&&params.freeMode.enabled&&swiper.freeMode){swiper.freeMode.onTouchMove();}// Update progress
  128. swiper.updateProgress(data.currentTranslate);// Update translate
  129. swiper.setTranslate(data.currentTranslate);}function onTouchEnd(event){var swiper=this;var data=swiper.touchEventsData;var params=swiper.params,touches=swiper.touches,rtl=swiper.rtlTranslate,slidesGrid=swiper.slidesGrid,enabled=swiper.enabled;if(!enabled)return;var e=event;if(e.originalEvent)e=e.originalEvent;if(data.allowTouchCallbacks){swiper.emit('touchEnd',e);}data.allowTouchCallbacks=false;if(!data.isTouched){if(data.isMoved&&params.grabCursor){swiper.setGrabCursor(false);}data.isMoved=false;data.startMoving=false;return;}// Return Grab Cursor
  130. if(params.grabCursor&&data.isMoved&&data.isTouched&&(swiper.allowSlideNext===true||swiper.allowSlidePrev===true)){swiper.setGrabCursor(false);}// Time diff
  131. var touchEndTime=now();var timeDiff=touchEndTime-data.touchStartTime;// Tap, doubleTap, Click
  132. if(swiper.allowClick){var pathTree=e.path||e.composedPath&&e.composedPath();swiper.updateClickedSlide(pathTree&&pathTree[0]||e.target);swiper.emit('tap click',e);if(timeDiff<300&&touchEndTime-data.lastClickTime<300){swiper.emit('doubleTap doubleClick',e);}}data.lastClickTime=now();nextTick(function(){if(!swiper.destroyed)swiper.allowClick=true;});if(!data.isTouched||!data.isMoved||!swiper.swipeDirection||touches.diff===0||data.currentTranslate===data.startTranslate){data.isTouched=false;data.isMoved=false;data.startMoving=false;return;}data.isTouched=false;data.isMoved=false;data.startMoving=false;var currentPos;if(params.followFinger){currentPos=rtl?swiper.translate:-swiper.translate;}else{currentPos=-data.currentTranslate;}if(params.cssMode){return;}if(swiper.params.freeMode&&params.freeMode.enabled){swiper.freeMode.onTouchEnd({currentPos:currentPos});return;}// Find current slide
  133. var stopIndex=0;var groupSize=swiper.slidesSizesGrid[0];for(var i=0;i<slidesGrid.length;i+=i<params.slidesPerGroupSkip?1:params.slidesPerGroup){var _increment=i<params.slidesPerGroupSkip-1?1:params.slidesPerGroup;if(typeof slidesGrid[i+_increment]!=='undefined'){if(currentPos>=slidesGrid[i]&&currentPos<slidesGrid[i+_increment]){stopIndex=i;groupSize=slidesGrid[i+_increment]-slidesGrid[i];}}else if(currentPos>=slidesGrid[i]){stopIndex=i;groupSize=slidesGrid[slidesGrid.length-1]-slidesGrid[slidesGrid.length-2];}}var rewindFirstIndex=null;var rewindLastIndex=null;if(params.rewind){if(swiper.isBeginning){rewindLastIndex=swiper.params.virtual&&swiper.params.virtual.enabled&&swiper.virtual?swiper.virtual.slides.length-1:swiper.slides.length-1;}else if(swiper.isEnd){rewindFirstIndex=0;}}// Find current slide size
  134. var ratio=(currentPos-slidesGrid[stopIndex])/groupSize;var increment=stopIndex<params.slidesPerGroupSkip-1?1:params.slidesPerGroup;if(timeDiff>params.longSwipesMs){// Long touches
  135. if(!params.longSwipes){swiper.slideTo(swiper.activeIndex);return;}if(swiper.swipeDirection==='next'){if(ratio>=params.longSwipesRatio)swiper.slideTo(params.rewind&&swiper.isEnd?rewindFirstIndex:stopIndex+increment);else swiper.slideTo(stopIndex);}if(swiper.swipeDirection==='prev'){if(ratio>1-params.longSwipesRatio){swiper.slideTo(stopIndex+increment);}else if(rewindLastIndex!==null&&ratio<0&&Math.abs(ratio)>params.longSwipesRatio){swiper.slideTo(rewindLastIndex);}else{swiper.slideTo(stopIndex);}}}else{// Short swipes
  136. if(!params.shortSwipes){swiper.slideTo(swiper.activeIndex);return;}var isNavButtonTarget=swiper.navigation&&(e.target===swiper.navigation.nextEl||e.target===swiper.navigation.prevEl);if(!isNavButtonTarget){if(swiper.swipeDirection==='next'){swiper.slideTo(rewindFirstIndex!==null?rewindFirstIndex:stopIndex+increment);}if(swiper.swipeDirection==='prev'){swiper.slideTo(rewindLastIndex!==null?rewindLastIndex:stopIndex);}}else if(e.target===swiper.navigation.nextEl){swiper.slideTo(stopIndex+increment);}else{swiper.slideTo(stopIndex);}}}function onResize(){var swiper=this;var params=swiper.params,el=swiper.el;if(el&&el.offsetWidth===0)return;// Breakpoints
  137. if(params.breakpoints){swiper.setBreakpoint();}// Save locks
  138. var allowSlideNext=swiper.allowSlideNext,allowSlidePrev=swiper.allowSlidePrev,snapGrid=swiper.snapGrid;// Disable locks on resize
  139. swiper.allowSlideNext=true;swiper.allowSlidePrev=true;swiper.updateSize();swiper.updateSlides();swiper.updateSlidesClasses();if((params.slidesPerView==='auto'||params.slidesPerView>1)&&swiper.isEnd&&!swiper.isBeginning&&!swiper.params.centeredSlides){swiper.slideTo(swiper.slides.length-1,0,false,true);}else{swiper.slideTo(swiper.activeIndex,0,false,true);}if(swiper.autoplay&&swiper.autoplay.running&&swiper.autoplay.paused){swiper.autoplay.run();}// Return locks after resize
  140. swiper.allowSlidePrev=allowSlidePrev;swiper.allowSlideNext=allowSlideNext;if(swiper.params.watchOverflow&&snapGrid!==swiper.snapGrid){swiper.checkOverflow();}}function onClick(e){var swiper=this;if(!swiper.enabled)return;if(!swiper.allowClick){if(swiper.params.preventClicks)e.preventDefault();if(swiper.params.preventClicksPropagation&&swiper.animating){e.stopPropagation();e.stopImmediatePropagation();}}}function onScroll(){var swiper=this;var wrapperEl=swiper.wrapperEl,rtlTranslate=swiper.rtlTranslate,enabled=swiper.enabled;if(!enabled)return;swiper.previousTranslate=swiper.translate;if(swiper.isHorizontal()){swiper.translate=-wrapperEl.scrollLeft;}else{swiper.translate=-wrapperEl.scrollTop;}// eslint-disable-next-line
  141. if(swiper.translate===0)swiper.translate=0;swiper.updateActiveIndex();swiper.updateSlidesClasses();var newProgress;var translatesDiff=swiper.maxTranslate()-swiper.minTranslate();if(translatesDiff===0){newProgress=0;}else{newProgress=(swiper.translate-swiper.minTranslate())/translatesDiff;}if(newProgress!==swiper.progress){swiper.updateProgress(rtlTranslate?-swiper.translate:swiper.translate);}swiper.emit('setTranslate',swiper.translate,false);}var dummyEventAttached=false;function dummyEventListener(){}var events=function events(swiper,method){var document=getDocument();var params=swiper.params,touchEvents=swiper.touchEvents,el=swiper.el,wrapperEl=swiper.wrapperEl,device=swiper.device,support=swiper.support;var capture=!!params.nested;var domMethod=method==='on'?'addEventListener':'removeEventListener';var swiperMethod=method;// Touch Events
  142. if(!support.touch){el[domMethod](touchEvents.start,swiper.onTouchStart,false);document[domMethod](touchEvents.move,swiper.onTouchMove,capture);document[domMethod](touchEvents.end,swiper.onTouchEnd,false);}else{var passiveListener=touchEvents.start==='touchstart'&&support.passiveListener&&params.passiveListeners?{passive:true,capture:false}:false;el[domMethod](touchEvents.start,swiper.onTouchStart,passiveListener);el[domMethod](touchEvents.move,swiper.onTouchMove,support.passiveListener?{passive:false,capture:capture}:capture);el[domMethod](touchEvents.end,swiper.onTouchEnd,passiveListener);if(touchEvents.cancel){el[domMethod](touchEvents.cancel,swiper.onTouchEnd,passiveListener);}}// Prevent Links Clicks
  143. if(params.preventClicks||params.preventClicksPropagation){el[domMethod]('click',swiper.onClick,true);}if(params.cssMode){wrapperEl[domMethod]('scroll',swiper.onScroll);}// Resize handler
  144. if(params.updateOnWindowResize){swiper[swiperMethod](device.ios||device.android?'resize orientationchange observerUpdate':'resize observerUpdate',onResize,true);}else{swiper[swiperMethod]('observerUpdate',onResize,true);}};function attachEvents(){var swiper=this;var document=getDocument();var params=swiper.params,support=swiper.support;swiper.onTouchStart=onTouchStart.bind(swiper);swiper.onTouchMove=onTouchMove.bind(swiper);swiper.onTouchEnd=onTouchEnd.bind(swiper);if(params.cssMode){swiper.onScroll=onScroll.bind(swiper);}swiper.onClick=onClick.bind(swiper);if(support.touch&&!dummyEventAttached){document.addEventListener('touchstart',dummyEventListener);dummyEventAttached=true;}events(swiper,'on');}function detachEvents(){var swiper=this;events(swiper,'off');}var events$1={attachEvents:attachEvents,detachEvents:detachEvents};var isGridEnabled=function isGridEnabled(swiper,params){return swiper.grid&&params.grid&&params.grid.rows>1;};function setBreakpoint(){var swiper=this;var activeIndex=swiper.activeIndex,initialized=swiper.initialized,_swiper$loopedSlides=swiper.loopedSlides,loopedSlides=_swiper$loopedSlides===void 0?0:_swiper$loopedSlides,params=swiper.params,$el=swiper.$el;var breakpoints=params.breakpoints;if(!breakpoints||breakpoints&&Object.keys(breakpoints).length===0)return;// Get breakpoint for window width and update parameters
  145. var breakpoint=swiper.getBreakpoint(breakpoints,swiper.params.breakpointsBase,swiper.el);if(!breakpoint||swiper.currentBreakpoint===breakpoint)return;var breakpointOnlyParams=breakpoint in breakpoints?breakpoints[breakpoint]:undefined;var breakpointParams=breakpointOnlyParams||swiper.originalParams;var wasMultiRow=isGridEnabled(swiper,params);var isMultiRow=isGridEnabled(swiper,breakpointParams);var wasEnabled=params.enabled;if(wasMultiRow&&!isMultiRow){$el.removeClass("".concat(params.containerModifierClass,"grid ").concat(params.containerModifierClass,"grid-column"));swiper.emitContainerClasses();}else if(!wasMultiRow&&isMultiRow){$el.addClass("".concat(params.containerModifierClass,"grid"));if(breakpointParams.grid.fill&&breakpointParams.grid.fill==='column'||!breakpointParams.grid.fill&&params.grid.fill==='column'){$el.addClass("".concat(params.containerModifierClass,"grid-column"));}swiper.emitContainerClasses();}// Toggle navigation, pagination, scrollbar
  146. ['navigation','pagination','scrollbar'].forEach(function(prop){var wasModuleEnabled=params[prop]&&params[prop].enabled;var isModuleEnabled=breakpointParams[prop]&&breakpointParams[prop].enabled;if(wasModuleEnabled&&!isModuleEnabled){swiper[prop].disable();}if(!wasModuleEnabled&&isModuleEnabled){swiper[prop].enable();}});var directionChanged=breakpointParams.direction&&breakpointParams.direction!==params.direction;var needsReLoop=params.loop&&(breakpointParams.slidesPerView!==params.slidesPerView||directionChanged);if(directionChanged&&initialized){swiper.changeDirection();}extend$1(swiper.params,breakpointParams);var isEnabled=swiper.params.enabled;Object.assign(swiper,{allowTouchMove:swiper.params.allowTouchMove,allowSlideNext:swiper.params.allowSlideNext,allowSlidePrev:swiper.params.allowSlidePrev});if(wasEnabled&&!isEnabled){swiper.disable();}else if(!wasEnabled&&isEnabled){swiper.enable();}swiper.currentBreakpoint=breakpoint;swiper.emit('_beforeBreakpoint',breakpointParams);if(needsReLoop&&initialized){swiper.loopDestroy();swiper.loopCreate();swiper.updateSlides();swiper.slideTo(activeIndex-loopedSlides+swiper.loopedSlides,0,false);}swiper.emit('breakpoint',breakpointParams);}function getBreakpoint(breakpoints,base,containerEl){if(base===void 0){base='window';}if(!breakpoints||base==='container'&&!containerEl)return undefined;var breakpoint=false;var window=getWindow();var currentHeight=base==='window'?window.innerHeight:containerEl.clientHeight;var points=Object.keys(breakpoints).map(function(point){if(typeof point==='string'&&point.indexOf('@')===0){var minRatio=parseFloat(point.substr(1));var value=currentHeight*minRatio;return{value:value,point:point};}return{value:point,point:point};});points.sort(function(a,b){return parseInt(a.value,10)-parseInt(b.value,10);});for(var i=0;i<points.length;i+=1){var _points$i=points[i],point=_points$i.point,value=_points$i.value;if(base==='window'){if(window.matchMedia("(min-width: ".concat(value,"px)")).matches){breakpoint=point;}}else if(value<=containerEl.clientWidth){breakpoint=point;}}return breakpoint||'max';}var breakpoints={setBreakpoint:setBreakpoint,getBreakpoint:getBreakpoint};function prepareClasses(entries,prefix){var resultClasses=[];entries.forEach(function(item){if(_typeof(item)==='object'){Object.keys(item).forEach(function(classNames){if(item[classNames]){resultClasses.push(prefix+classNames);}});}else if(typeof item==='string'){resultClasses.push(prefix+item);}});return resultClasses;}function addClasses(){var swiper=this;var classNames=swiper.classNames,params=swiper.params,rtl=swiper.rtl,$el=swiper.$el,device=swiper.device,support=swiper.support;// prettier-ignore
  147. var suffixes=prepareClasses(['initialized',params.direction,{'pointer-events':!support.touch},{'free-mode':swiper.params.freeMode&&params.freeMode.enabled},{'autoheight':params.autoHeight},{'rtl':rtl},{'grid':params.grid&&params.grid.rows>1},{'grid-column':params.grid&&params.grid.rows>1&&params.grid.fill==='column'},{'android':device.android},{'ios':device.ios},{'css-mode':params.cssMode},{'centered':params.cssMode&&params.centeredSlides},{'watch-progress':params.watchSlidesProgress}],params.containerModifierClass);classNames.push.apply(classNames,_toConsumableArray(suffixes));$el.addClass(_toConsumableArray(classNames).join(' '));swiper.emitContainerClasses();}function removeClasses(){var swiper=this;var $el=swiper.$el,classNames=swiper.classNames;$el.removeClass(classNames.join(' '));swiper.emitContainerClasses();}var classes={addClasses:addClasses,removeClasses:removeClasses};function loadImage(imageEl,src,srcset,sizes,checkForComplete,callback){var window=getWindow();var image;function onReady(){if(callback)callback();}var isPicture=$(imageEl).parent('picture')[0];if(!isPicture&&(!imageEl.complete||!checkForComplete)){if(src){image=new window.Image();image.onload=onReady;image.onerror=onReady;if(sizes){image.sizes=sizes;}if(srcset){image.srcset=srcset;}if(src){image.src=src;}}else{onReady();}}else{// image already loaded...
  148. onReady();}}function preloadImages(){var swiper=this;swiper.imagesToLoad=swiper.$el.find('img');function onReady(){if(typeof swiper==='undefined'||swiper===null||!swiper||swiper.destroyed)return;if(swiper.imagesLoaded!==undefined)swiper.imagesLoaded+=1;if(swiper.imagesLoaded===swiper.imagesToLoad.length){if(swiper.params.updateOnImagesReady)swiper.update();swiper.emit('imagesReady');}}for(var i=0;i<swiper.imagesToLoad.length;i+=1){var imageEl=swiper.imagesToLoad[i];swiper.loadImage(imageEl,imageEl.currentSrc||imageEl.getAttribute('src'),imageEl.srcset||imageEl.getAttribute('srcset'),imageEl.sizes||imageEl.getAttribute('sizes'),true,onReady);}}var images={loadImage:loadImage,preloadImages:preloadImages};function checkOverflow(){var swiper=this;var wasLocked=swiper.isLocked,params=swiper.params;var slidesOffsetBefore=params.slidesOffsetBefore;if(slidesOffsetBefore){var lastSlideIndex=swiper.slides.length-1;var lastSlideRightEdge=swiper.slidesGrid[lastSlideIndex]+swiper.slidesSizesGrid[lastSlideIndex]+slidesOffsetBefore*2;swiper.isLocked=swiper.size>lastSlideRightEdge;}else{swiper.isLocked=swiper.snapGrid.length===1;}if(params.allowSlideNext===true){swiper.allowSlideNext=!swiper.isLocked;}if(params.allowSlidePrev===true){swiper.allowSlidePrev=!swiper.isLocked;}if(wasLocked&&wasLocked!==swiper.isLocked){swiper.isEnd=false;}if(wasLocked!==swiper.isLocked){swiper.emit(swiper.isLocked?'lock':'unlock');}}var checkOverflow$1={checkOverflow:checkOverflow};var defaults={init:true,direction:'horizontal',touchEventsTarget:'wrapper',initialSlide:0,speed:300,cssMode:false,updateOnWindowResize:true,resizeObserver:true,nested:false,createElements:false,enabled:true,focusableElements:'input, select, option, textarea, button, video, label',// Overrides
  149. width:null,height:null,//
  150. preventInteractionOnTransition:false,// ssr
  151. userAgent:null,url:null,// To support iOS's swipe-to-go-back gesture (when being used in-app).
  152. edgeSwipeDetection:false,edgeSwipeThreshold:20,// Autoheight
  153. autoHeight:false,// Set wrapper width
  154. setWrapperSize:false,// Virtual Translate
  155. virtualTranslate:false,// Effects
  156. effect:'slide',// 'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'
  157. // Breakpoints
  158. breakpoints:undefined,breakpointsBase:'window',// Slides grid
  159. spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:false,centeredSlides:false,centeredSlidesBounds:false,slidesOffsetBefore:0,// in px
  160. slidesOffsetAfter:0,// in px
  161. normalizeSlideIndex:true,centerInsufficientSlides:false,// Disable swiper and hide navigation when container not overflow
  162. watchOverflow:true,// Round length
  163. roundLengths:false,// Touches
  164. touchRatio:1,touchAngle:45,simulateTouch:true,shortSwipes:true,longSwipes:true,longSwipesRatio:0.5,longSwipesMs:300,followFinger:true,allowTouchMove:true,threshold:0,touchMoveStopPropagation:false,touchStartPreventDefault:true,touchStartForcePreventDefault:false,touchReleaseOnEdges:false,// Unique Navigation Elements
  165. uniqueNavElements:true,// Resistance
  166. resistance:true,resistanceRatio:0.85,// Progress
  167. watchSlidesProgress:false,// Cursor
  168. grabCursor:false,// Clicks
  169. preventClicks:true,preventClicksPropagation:true,slideToClickedSlide:false,// Images
  170. preloadImages:true,updateOnImagesReady:true,// loop
  171. loop:false,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:false,loopPreventsSlide:true,// rewind
  172. rewind:false,// Swiping/no swiping
  173. allowSlidePrev:true,allowSlideNext:true,swipeHandler:null,// '.swipe-handler',
  174. noSwiping:true,noSwipingClass:'swiper-no-swiping',noSwipingSelector:null,// Passive Listeners
  175. passiveListeners:true,maxBackfaceHiddenSlides:10,// NS
  176. containerModifierClass:'swiper-',// NEW
  177. slideClass:'swiper-slide',slideBlankClass:'swiper-slide-invisible-blank',slideActiveClass:'swiper-slide-active',slideDuplicateActiveClass:'swiper-slide-duplicate-active',slideVisibleClass:'swiper-slide-visible',slideDuplicateClass:'swiper-slide-duplicate',slideNextClass:'swiper-slide-next',slideDuplicateNextClass:'swiper-slide-duplicate-next',slidePrevClass:'swiper-slide-prev',slideDuplicatePrevClass:'swiper-slide-duplicate-prev',wrapperClass:'swiper-wrapper',// Callbacks
  178. runCallbacksOnInit:true,// Internals
  179. _emitClasses:false};function moduleExtendParams(params,allModulesParams){return function extendParams(obj){if(obj===void 0){obj={};}var moduleParamName=Object.keys(obj)[0];var moduleParams=obj[moduleParamName];if(_typeof(moduleParams)!=='object'||moduleParams===null){extend$1(allModulesParams,obj);return;}if(['navigation','pagination','scrollbar'].indexOf(moduleParamName)>=0&&params[moduleParamName]===true){params[moduleParamName]={auto:true};}if(!(moduleParamName in params&&'enabled'in moduleParams)){extend$1(allModulesParams,obj);return;}if(params[moduleParamName]===true){params[moduleParamName]={enabled:true};}if(_typeof(params[moduleParamName])==='object'&&!('enabled'in params[moduleParamName])){params[moduleParamName].enabled=true;}if(!params[moduleParamName])params[moduleParamName]={enabled:false};extend$1(allModulesParams,obj);};}/* eslint no-param-reassign: "off" */var prototypes={eventsEmitter:eventsEmitter,update:update,translate:translate,transition:transition,slide:slide,loop:loop,grabCursor:grabCursor,events:events$1,breakpoints:breakpoints,checkOverflow:checkOverflow$1,classes:classes,images:images};var extendedDefaults={};var Swiper$1=/*#__PURE__*/function(){function Swiper$1(){_classCallCheck(this,Swiper$1);var el;var params;for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}if(args.length===1&&args[0].constructor&&Object.prototype.toString.call(args[0]).slice(8,-1)==='Object'){params=args[0];}else{el=args[0];params=args[1];}if(!params)params={};params=extend$1({},params);if(el&&!params.el)params.el=el;if(params.el&&$(params.el).length>1){var swipers=[];$(params.el).each(function(containerEl){var newParams=extend$1({},params,{el:containerEl});swipers.push(new Swiper$1(newParams));});return swipers;}// Swiper Instance
  180. var swiper=this;swiper.__swiper__=true;swiper.support=getSupport();swiper.device=getDevice({userAgent:params.userAgent});swiper.browser=getBrowser();swiper.eventsListeners={};swiper.eventsAnyListeners=[];swiper.modules=_toConsumableArray(swiper.__modules__);if(params.modules&&Array.isArray(params.modules)){var _swiper$modules;(_swiper$modules=swiper.modules).push.apply(_swiper$modules,_toConsumableArray(params.modules));}var allModulesParams={};swiper.modules.forEach(function(mod){mod({swiper:swiper,extendParams:moduleExtendParams(params,allModulesParams),on:swiper.on.bind(swiper),once:swiper.once.bind(swiper),off:swiper.off.bind(swiper),emit:swiper.emit.bind(swiper)});});// Extend defaults with modules params
  181. var swiperParams=extend$1({},defaults,allModulesParams);// Extend defaults with passed params
  182. swiper.params=extend$1({},swiperParams,extendedDefaults,params);swiper.originalParams=extend$1({},swiper.params);swiper.passedParams=extend$1({},params);// add event listeners
  183. if(swiper.params&&swiper.params.on){Object.keys(swiper.params.on).forEach(function(eventName){swiper.on(eventName,swiper.params.on[eventName]);});}if(swiper.params&&swiper.params.onAny){swiper.onAny(swiper.params.onAny);}// Save Dom lib
  184. swiper.$=$;// Extend Swiper
  185. Object.assign(swiper,{enabled:swiper.params.enabled,el:el,// Classes
  186. classNames:[],// Slides
  187. slides:$(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],// isDirection
  188. isHorizontal:function isHorizontal(){return swiper.params.direction==='horizontal';},isVertical:function isVertical(){return swiper.params.direction==='vertical';},// Indexes
  189. activeIndex:0,realIndex:0,//
  190. isBeginning:true,isEnd:false,// Props
  191. translate:0,previousTranslate:0,progress:0,velocity:0,animating:false,// Locks
  192. allowSlideNext:swiper.params.allowSlideNext,allowSlidePrev:swiper.params.allowSlidePrev,// Touch Events
  193. touchEvents:function touchEvents(){var touch=['touchstart','touchmove','touchend','touchcancel'];var desktop=['pointerdown','pointermove','pointerup'];swiper.touchEventsTouch={start:touch[0],move:touch[1],end:touch[2],cancel:touch[3]};swiper.touchEventsDesktop={start:desktop[0],move:desktop[1],end:desktop[2]};return swiper.support.touch||!swiper.params.simulateTouch?swiper.touchEventsTouch:swiper.touchEventsDesktop;}(),touchEventsData:{isTouched:undefined,isMoved:undefined,allowTouchCallbacks:undefined,touchStartTime:undefined,isScrolling:undefined,currentTranslate:undefined,startTranslate:undefined,allowThresholdMove:undefined,// Form elements to match
  194. focusableElements:swiper.params.focusableElements,// Last click time
  195. lastClickTime:now(),clickTimeout:undefined,// Velocities
  196. velocities:[],allowMomentumBounce:undefined,isTouchEvent:undefined,startMoving:undefined},// Clicks
  197. allowClick:true,// Touches
  198. allowTouchMove:swiper.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},// Images
  199. imagesToLoad:[],imagesLoaded:0});swiper.emit('_swiper');// Init
  200. if(swiper.params.init){swiper.init();}// Return app instance
  201. return swiper;}_createClass(Swiper$1,[{key:"enable",value:function enable(){var swiper=this;if(swiper.enabled)return;swiper.enabled=true;if(swiper.params.grabCursor){swiper.setGrabCursor();}swiper.emit('enable');}},{key:"disable",value:function disable(){var swiper=this;if(!swiper.enabled)return;swiper.enabled=false;if(swiper.params.grabCursor){swiper.unsetGrabCursor();}swiper.emit('disable');}},{key:"setProgress",value:function setProgress(progress,speed){var swiper=this;progress=Math.min(Math.max(progress,0),1);var min=swiper.minTranslate();var max=swiper.maxTranslate();var current=(max-min)*progress+min;swiper.translateTo(current,typeof speed==='undefined'?0:speed);swiper.updateActiveIndex();swiper.updateSlidesClasses();}},{key:"emitContainerClasses",value:function emitContainerClasses(){var swiper=this;if(!swiper.params._emitClasses||!swiper.el)return;var cls=swiper.el.className.split(' ').filter(function(className){return className.indexOf('swiper')===0||className.indexOf(swiper.params.containerModifierClass)===0;});swiper.emit('_containerClasses',cls.join(' '));}},{key:"getSlideClasses",value:function getSlideClasses(slideEl){var swiper=this;if(swiper.destroyed)return'';return slideEl.className.split(' ').filter(function(className){return className.indexOf('swiper-slide')===0||className.indexOf(swiper.params.slideClass)===0;}).join(' ');}},{key:"emitSlidesClasses",value:function emitSlidesClasses(){var swiper=this;if(!swiper.params._emitClasses||!swiper.el)return;var updates=[];swiper.slides.each(function(slideEl){var classNames=swiper.getSlideClasses(slideEl);updates.push({slideEl:slideEl,classNames:classNames});swiper.emit('_slideClass',slideEl,classNames);});swiper.emit('_slideClasses',updates);}},{key:"slidesPerViewDynamic",value:function slidesPerViewDynamic(view,exact){if(view===void 0){view='current';}if(exact===void 0){exact=false;}var swiper=this;var params=swiper.params,slides=swiper.slides,slidesGrid=swiper.slidesGrid,slidesSizesGrid=swiper.slidesSizesGrid,swiperSize=swiper.size,activeIndex=swiper.activeIndex;var spv=1;if(params.centeredSlides){var slideSize=slides[activeIndex].swiperSlideSize;var breakLoop;for(var i=activeIndex+1;i<slides.length;i+=1){if(slides[i]&&!breakLoop){slideSize+=slides[i].swiperSlideSize;spv+=1;if(slideSize>swiperSize)breakLoop=true;}}for(var _i4=activeIndex-1;_i4>=0;_i4-=1){if(slides[_i4]&&!breakLoop){slideSize+=slides[_i4].swiperSlideSize;spv+=1;if(slideSize>swiperSize)breakLoop=true;}}}else{// eslint-disable-next-line
  202. if(view==='current'){for(var _i5=activeIndex+1;_i5<slides.length;_i5+=1){var slideInView=exact?slidesGrid[_i5]+slidesSizesGrid[_i5]-slidesGrid[activeIndex]<swiperSize:slidesGrid[_i5]-slidesGrid[activeIndex]<swiperSize;if(slideInView){spv+=1;}}}else{// previous
  203. for(var _i6=activeIndex-1;_i6>=0;_i6-=1){var _slideInView=slidesGrid[activeIndex]-slidesGrid[_i6]<swiperSize;if(_slideInView){spv+=1;}}}}return spv;}},{key:"update",value:function update(){var swiper=this;if(!swiper||swiper.destroyed)return;var snapGrid=swiper.snapGrid,params=swiper.params;// Breakpoints
  204. if(params.breakpoints){swiper.setBreakpoint();}swiper.updateSize();swiper.updateSlides();swiper.updateProgress();swiper.updateSlidesClasses();function setTranslate(){var translateValue=swiper.rtlTranslate?swiper.translate*-1:swiper.translate;var newTranslate=Math.min(Math.max(translateValue,swiper.maxTranslate()),swiper.minTranslate());swiper.setTranslate(newTranslate);swiper.updateActiveIndex();swiper.updateSlidesClasses();}var translated;if(swiper.params.freeMode&&swiper.params.freeMode.enabled){setTranslate();if(swiper.params.autoHeight){swiper.updateAutoHeight();}}else{if((swiper.params.slidesPerView==='auto'||swiper.params.slidesPerView>1)&&swiper.isEnd&&!swiper.params.centeredSlides){translated=swiper.slideTo(swiper.slides.length-1,0,false,true);}else{translated=swiper.slideTo(swiper.activeIndex,0,false,true);}if(!translated){setTranslate();}}if(params.watchOverflow&&snapGrid!==swiper.snapGrid){swiper.checkOverflow();}swiper.emit('update');}},{key:"changeDirection",value:function changeDirection(newDirection,needUpdate){if(needUpdate===void 0){needUpdate=true;}var swiper=this;var currentDirection=swiper.params.direction;if(!newDirection){// eslint-disable-next-line
  205. newDirection=currentDirection==='horizontal'?'vertical':'horizontal';}if(newDirection===currentDirection||newDirection!=='horizontal'&&newDirection!=='vertical'){return swiper;}swiper.$el.removeClass("".concat(swiper.params.containerModifierClass).concat(currentDirection)).addClass("".concat(swiper.params.containerModifierClass).concat(newDirection));swiper.emitContainerClasses();swiper.params.direction=newDirection;swiper.slides.each(function(slideEl){if(newDirection==='vertical'){slideEl.style.width='';}else{slideEl.style.height='';}});swiper.emit('changeDirection');if(needUpdate)swiper.update();return swiper;}},{key:"changeLanguageDirection",value:function changeLanguageDirection(direction){var swiper=this;if(swiper.rtl&&direction==='rtl'||!swiper.rtl&&direction==='ltr')return;swiper.rtl=direction==='rtl';swiper.rtlTranslate=swiper.params.direction==='horizontal'&&swiper.rtl;if(swiper.rtl){swiper.$el.addClass("".concat(swiper.params.containerModifierClass,"rtl"));swiper.el.dir='rtl';}else{swiper.$el.removeClass("".concat(swiper.params.containerModifierClass,"rtl"));swiper.el.dir='ltr';}swiper.update();}},{key:"mount",value:function mount(el){var swiper=this;if(swiper.mounted)return true;// Find el
  206. var $el=$(el||swiper.params.el);el=$el[0];if(!el){return false;}el.swiper=swiper;var getWrapperSelector=function getWrapperSelector(){return".".concat((swiper.params.wrapperClass||'').trim().split(' ').join('.'));};var getWrapper=function getWrapper(){if(el&&el.shadowRoot&&el.shadowRoot.querySelector){var res=$(el.shadowRoot.querySelector(getWrapperSelector()));// Children needs to return slot items
  207. res.children=function(options){return $el.children(options);};return res;}if(!$el.children){return $($el).children(getWrapperSelector());}return $el.children(getWrapperSelector());};// Find Wrapper
  208. var $wrapperEl=getWrapper();if($wrapperEl.length===0&&swiper.params.createElements){var _document2=getDocument();var wrapper=_document2.createElement('div');$wrapperEl=$(wrapper);wrapper.className=swiper.params.wrapperClass;$el.append(wrapper);$el.children(".".concat(swiper.params.slideClass)).each(function(slideEl){$wrapperEl.append(slideEl);});}Object.assign(swiper,{$el:$el,el:el,$wrapperEl:$wrapperEl,wrapperEl:$wrapperEl[0],mounted:true,// RTL
  209. rtl:el.dir.toLowerCase()==='rtl'||$el.css('direction')==='rtl',rtlTranslate:swiper.params.direction==='horizontal'&&(el.dir.toLowerCase()==='rtl'||$el.css('direction')==='rtl'),wrongRTL:$wrapperEl.css('display')==='-webkit-box'});return true;}},{key:"init",value:function init(el){var swiper=this;if(swiper.initialized)return swiper;var mounted=swiper.mount(el);if(mounted===false)return swiper;swiper.emit('beforeInit');// Set breakpoint
  210. if(swiper.params.breakpoints){swiper.setBreakpoint();}// Add Classes
  211. swiper.addClasses();// Create loop
  212. if(swiper.params.loop){swiper.loopCreate();}// Update size
  213. swiper.updateSize();// Update slides
  214. swiper.updateSlides();if(swiper.params.watchOverflow){swiper.checkOverflow();}// Set Grab Cursor
  215. if(swiper.params.grabCursor&&swiper.enabled){swiper.setGrabCursor();}if(swiper.params.preloadImages){swiper.preloadImages();}// Slide To Initial Slide
  216. if(swiper.params.loop){swiper.slideTo(swiper.params.initialSlide+swiper.loopedSlides,0,swiper.params.runCallbacksOnInit,false,true);}else{swiper.slideTo(swiper.params.initialSlide,0,swiper.params.runCallbacksOnInit,false,true);}// Attach events
  217. swiper.attachEvents();// Init Flag
  218. swiper.initialized=true;// Emit
  219. swiper.emit('init');swiper.emit('afterInit');return swiper;}},{key:"destroy",value:function destroy(deleteInstance,cleanStyles){if(deleteInstance===void 0){deleteInstance=true;}if(cleanStyles===void 0){cleanStyles=true;}var swiper=this;var params=swiper.params,$el=swiper.$el,$wrapperEl=swiper.$wrapperEl,slides=swiper.slides;if(typeof swiper.params==='undefined'||swiper.destroyed){return null;}swiper.emit('beforeDestroy');// Init Flag
  220. swiper.initialized=false;// Detach events
  221. swiper.detachEvents();// Destroy loop
  222. if(params.loop){swiper.loopDestroy();}// Cleanup styles
  223. if(cleanStyles){swiper.removeClasses();$el.removeAttr('style');$wrapperEl.removeAttr('style');if(slides&&slides.length){slides.removeClass([params.slideVisibleClass,params.slideActiveClass,params.slideNextClass,params.slidePrevClass].join(' ')).removeAttr('style').removeAttr('data-swiper-slide-index');}}swiper.emit('destroy');// Detach emitter events
  224. Object.keys(swiper.eventsListeners).forEach(function(eventName){swiper.off(eventName);});if(deleteInstance!==false){swiper.$el[0].swiper=null;deleteProps(swiper);}swiper.destroyed=true;return null;}}],[{key:"extendDefaults",value:function extendDefaults(newDefaults){extend$1(extendedDefaults,newDefaults);}},{key:"extendedDefaults",get:function get(){return extendedDefaults;}},{key:"defaults",get:function get(){return defaults;}},{key:"installModule",value:function installModule(mod){if(!Swiper$1.prototype.__modules__)Swiper$1.prototype.__modules__=[];var modules=Swiper$1.prototype.__modules__;if(typeof mod==='function'&&modules.indexOf(mod)<0){modules.push(mod);}}},{key:"use",value:function use(module){if(Array.isArray(module)){module.forEach(function(m){return Swiper$1.installModule(m);});return Swiper$1;}Swiper$1.installModule(module);return Swiper$1;}}]);return Swiper$1;}();Object.keys(prototypes).forEach(function(prototypeGroup){Object.keys(prototypes[prototypeGroup]).forEach(function(protoMethod){Swiper$1.prototype[protoMethod]=prototypes[prototypeGroup][protoMethod];});});Swiper$1.use([Resize,Observer]);function createElementIfNotDefined(swiper,originalParams,params,checkProps){var document=getDocument();if(swiper.params.createElements){Object.keys(checkProps).forEach(function(key){if(!params[key]&&params.auto===true){var element=swiper.$el.children(".".concat(checkProps[key]))[0];if(!element){element=document.createElement('div');element.className=checkProps[key];swiper.$el.append(element);}params[key]=element;originalParams[key]=element;}});}return params;}function Navigation(_ref){var swiper=_ref.swiper,extendParams=_ref.extendParams,on=_ref.on,emit=_ref.emit;extendParams({navigation:{nextEl:null,prevEl:null,hideOnClick:false,disabledClass:'swiper-button-disabled',hiddenClass:'swiper-button-hidden',lockClass:'swiper-button-lock',navigationDisabledClass:'swiper-navigation-disabled'}});swiper.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null};function getEl(el){var $el;if(el){$el=$(el);if(swiper.params.uniqueNavElements&&typeof el==='string'&&$el.length>1&&swiper.$el.find(el).length===1){$el=swiper.$el.find(el);}}return $el;}function toggleEl($el,disabled){var params=swiper.params.navigation;if($el&&$el.length>0){$el[disabled?'addClass':'removeClass'](params.disabledClass);if($el[0]&&$el[0].tagName==='BUTTON')$el[0].disabled=disabled;if(swiper.params.watchOverflow&&swiper.enabled){$el[swiper.isLocked?'addClass':'removeClass'](params.lockClass);}}}function update(){// Update Navigation Buttons
  225. if(swiper.params.loop)return;var _swiper$navigation=swiper.navigation,$nextEl=_swiper$navigation.$nextEl,$prevEl=_swiper$navigation.$prevEl;toggleEl($prevEl,swiper.isBeginning&&!swiper.params.rewind);toggleEl($nextEl,swiper.isEnd&&!swiper.params.rewind);}function onPrevClick(e){e.preventDefault();if(swiper.isBeginning&&!swiper.params.loop&&!swiper.params.rewind)return;swiper.slidePrev();emit('navigationPrev');}function onNextClick(e){e.preventDefault();if(swiper.isEnd&&!swiper.params.loop&&!swiper.params.rewind)return;swiper.slideNext();emit('navigationNext');}function init(){var params=swiper.params.navigation;swiper.params.navigation=createElementIfNotDefined(swiper,swiper.originalParams.navigation,swiper.params.navigation,{nextEl:'swiper-button-next',prevEl:'swiper-button-prev'});if(!(params.nextEl||params.prevEl))return;var $nextEl=getEl(params.nextEl);var $prevEl=getEl(params.prevEl);if($nextEl&&$nextEl.length>0){$nextEl.on('click',onNextClick);}if($prevEl&&$prevEl.length>0){$prevEl.on('click',onPrevClick);}Object.assign(swiper.navigation,{$nextEl:$nextEl,nextEl:$nextEl&&$nextEl[0],$prevEl:$prevEl,prevEl:$prevEl&&$prevEl[0]});if(!swiper.enabled){if($nextEl)$nextEl.addClass(params.lockClass);if($prevEl)$prevEl.addClass(params.lockClass);}}function destroy(){var _swiper$navigation2=swiper.navigation,$nextEl=_swiper$navigation2.$nextEl,$prevEl=_swiper$navigation2.$prevEl;if($nextEl&&$nextEl.length){$nextEl.off('click',onNextClick);$nextEl.removeClass(swiper.params.navigation.disabledClass);}if($prevEl&&$prevEl.length){$prevEl.off('click',onPrevClick);$prevEl.removeClass(swiper.params.navigation.disabledClass);}}on('init',function(){if(swiper.params.navigation.enabled===false){// eslint-disable-next-line
  226. disable();}else{init();update();}});on('toEdge fromEdge lock unlock',function(){update();});on('destroy',function(){destroy();});on('enable disable',function(){var _swiper$navigation3=swiper.navigation,$nextEl=_swiper$navigation3.$nextEl,$prevEl=_swiper$navigation3.$prevEl;if($nextEl){$nextEl[swiper.enabled?'removeClass':'addClass'](swiper.params.navigation.lockClass);}if($prevEl){$prevEl[swiper.enabled?'removeClass':'addClass'](swiper.params.navigation.lockClass);}});on('click',function(_s,e){var _swiper$navigation4=swiper.navigation,$nextEl=_swiper$navigation4.$nextEl,$prevEl=_swiper$navigation4.$prevEl;var targetEl=e.target;if(swiper.params.navigation.hideOnClick&&!$(targetEl).is($prevEl)&&!$(targetEl).is($nextEl)){if(swiper.pagination&&swiper.params.pagination&&swiper.params.pagination.clickable&&(swiper.pagination.el===targetEl||swiper.pagination.el.contains(targetEl)))return;var isHidden;if($nextEl){isHidden=$nextEl.hasClass(swiper.params.navigation.hiddenClass);}else if($prevEl){isHidden=$prevEl.hasClass(swiper.params.navigation.hiddenClass);}if(isHidden===true){emit('navigationShow');}else{emit('navigationHide');}if($nextEl){$nextEl.toggleClass(swiper.params.navigation.hiddenClass);}if($prevEl){$prevEl.toggleClass(swiper.params.navigation.hiddenClass);}}});var enable=function enable(){swiper.$el.removeClass(swiper.params.navigation.navigationDisabledClass);init();update();};var disable=function disable(){swiper.$el.addClass(swiper.params.navigation.navigationDisabledClass);destroy();};Object.assign(swiper.navigation,{enable:enable,disable:disable,update:update,init:init,destroy:destroy});}function classesToSelector(classes){if(classes===void 0){classes='';}return".".concat(classes.trim().replace(/([\.:!\/])/g,'\\$1')// eslint-disable-line
  227. .replace(/ /g,'.'));}function Pagination(_ref){var swiper=_ref.swiper,extendParams=_ref.extendParams,on=_ref.on,emit=_ref.emit;var pfx='swiper-pagination';extendParams({pagination:{el:null,bulletElement:'span',clickable:false,hideOnClick:false,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:false,type:'bullets',// 'bullets' or 'progressbar' or 'fraction' or 'custom'
  228. dynamicBullets:false,dynamicMainBullets:1,formatFractionCurrent:function formatFractionCurrent(number){return number;},formatFractionTotal:function formatFractionTotal(number){return number;},bulletClass:"".concat(pfx,"-bullet"),bulletActiveClass:"".concat(pfx,"-bullet-active"),modifierClass:"".concat(pfx,"-"),currentClass:"".concat(pfx,"-current"),totalClass:"".concat(pfx,"-total"),hiddenClass:"".concat(pfx,"-hidden"),progressbarFillClass:"".concat(pfx,"-progressbar-fill"),progressbarOppositeClass:"".concat(pfx,"-progressbar-opposite"),clickableClass:"".concat(pfx,"-clickable"),lockClass:"".concat(pfx,"-lock"),horizontalClass:"".concat(pfx,"-horizontal"),verticalClass:"".concat(pfx,"-vertical"),paginationDisabledClass:"".concat(pfx,"-disabled")}});swiper.pagination={el:null,$el:null,bullets:[]};var bulletSize;var dynamicBulletIndex=0;function isPaginationDisabled(){return!swiper.params.pagination.el||!swiper.pagination.el||!swiper.pagination.$el||swiper.pagination.$el.length===0;}function setSideBullets($bulletEl,position){var bulletActiveClass=swiper.params.pagination.bulletActiveClass;$bulletEl[position]().addClass("".concat(bulletActiveClass,"-").concat(position))[position]().addClass("".concat(bulletActiveClass,"-").concat(position,"-").concat(position));}function update(){// Render || Update Pagination bullets/items
  229. var rtl=swiper.rtl;var params=swiper.params.pagination;if(isPaginationDisabled())return;var slidesLength=swiper.virtual&&swiper.params.virtual.enabled?swiper.virtual.slides.length:swiper.slides.length;var $el=swiper.pagination.$el;// Current/Total
  230. var current;var total=swiper.params.loop?Math.ceil((slidesLength-swiper.loopedSlides*2)/swiper.params.slidesPerGroup):swiper.snapGrid.length;if(swiper.params.loop){current=Math.ceil((swiper.activeIndex-swiper.loopedSlides)/swiper.params.slidesPerGroup);if(current>slidesLength-1-swiper.loopedSlides*2){current-=slidesLength-swiper.loopedSlides*2;}if(current>total-1)current-=total;if(current<0&&swiper.params.paginationType!=='bullets')current=total+current;}else if(typeof swiper.snapIndex!=='undefined'){current=swiper.snapIndex;}else{current=swiper.activeIndex||0;}// Types
  231. if(params.type==='bullets'&&swiper.pagination.bullets&&swiper.pagination.bullets.length>0){var bullets=swiper.pagination.bullets;var firstIndex;var lastIndex;var midIndex;if(params.dynamicBullets){bulletSize=bullets.eq(0)[swiper.isHorizontal()?'outerWidth':'outerHeight'](true);$el.css(swiper.isHorizontal()?'width':'height',"".concat(bulletSize*(params.dynamicMainBullets+4),"px"));if(params.dynamicMainBullets>1&&swiper.previousIndex!==undefined){dynamicBulletIndex+=current-(swiper.previousIndex-swiper.loopedSlides||0);if(dynamicBulletIndex>params.dynamicMainBullets-1){dynamicBulletIndex=params.dynamicMainBullets-1;}else if(dynamicBulletIndex<0){dynamicBulletIndex=0;}}firstIndex=Math.max(current-dynamicBulletIndex,0);lastIndex=firstIndex+(Math.min(bullets.length,params.dynamicMainBullets)-1);midIndex=(lastIndex+firstIndex)/2;}bullets.removeClass(['','-next','-next-next','-prev','-prev-prev','-main'].map(function(suffix){return"".concat(params.bulletActiveClass).concat(suffix);}).join(' '));if($el.length>1){bullets.each(function(bullet){var $bullet=$(bullet);var bulletIndex=$bullet.index();if(bulletIndex===current){$bullet.addClass(params.bulletActiveClass);}if(params.dynamicBullets){if(bulletIndex>=firstIndex&&bulletIndex<=lastIndex){$bullet.addClass("".concat(params.bulletActiveClass,"-main"));}if(bulletIndex===firstIndex){setSideBullets($bullet,'prev');}if(bulletIndex===lastIndex){setSideBullets($bullet,'next');}}});}else{var $bullet=bullets.eq(current);var bulletIndex=$bullet.index();$bullet.addClass(params.bulletActiveClass);if(params.dynamicBullets){var $firstDisplayedBullet=bullets.eq(firstIndex);var $lastDisplayedBullet=bullets.eq(lastIndex);for(var i=firstIndex;i<=lastIndex;i+=1){bullets.eq(i).addClass("".concat(params.bulletActiveClass,"-main"));}if(swiper.params.loop){if(bulletIndex>=bullets.length){for(var _i7=params.dynamicMainBullets;_i7>=0;_i7-=1){bullets.eq(bullets.length-_i7).addClass("".concat(params.bulletActiveClass,"-main"));}bullets.eq(bullets.length-params.dynamicMainBullets-1).addClass("".concat(params.bulletActiveClass,"-prev"));}else{setSideBullets($firstDisplayedBullet,'prev');setSideBullets($lastDisplayedBullet,'next');}}else{setSideBullets($firstDisplayedBullet,'prev');setSideBullets($lastDisplayedBullet,'next');}}}if(params.dynamicBullets){var dynamicBulletsLength=Math.min(bullets.length,params.dynamicMainBullets+4);var bulletsOffset=(bulletSize*dynamicBulletsLength-bulletSize)/2-midIndex*bulletSize;var offsetProp=rtl?'right':'left';bullets.css(swiper.isHorizontal()?offsetProp:'top',"".concat(bulletsOffset,"px"));}}if(params.type==='fraction'){$el.find(classesToSelector(params.currentClass)).text(params.formatFractionCurrent(current+1));$el.find(classesToSelector(params.totalClass)).text(params.formatFractionTotal(total));}if(params.type==='progressbar'){var progressbarDirection;if(params.progressbarOpposite){progressbarDirection=swiper.isHorizontal()?'vertical':'horizontal';}else{progressbarDirection=swiper.isHorizontal()?'horizontal':'vertical';}var scale=(current+1)/total;var scaleX=1;var scaleY=1;if(progressbarDirection==='horizontal'){scaleX=scale;}else{scaleY=scale;}$el.find(classesToSelector(params.progressbarFillClass)).transform("translate3d(0,0,0) scaleX(".concat(scaleX,") scaleY(").concat(scaleY,")")).transition(swiper.params.speed);}if(params.type==='custom'&&params.renderCustom){$el.html(params.renderCustom(swiper,current+1,total));emit('paginationRender',$el[0]);}else{emit('paginationUpdate',$el[0]);}if(swiper.params.watchOverflow&&swiper.enabled){$el[swiper.isLocked?'addClass':'removeClass'](params.lockClass);}}function render(){// Render Container
  232. var params=swiper.params.pagination;if(isPaginationDisabled())return;var slidesLength=swiper.virtual&&swiper.params.virtual.enabled?swiper.virtual.slides.length:swiper.slides.length;var $el=swiper.pagination.$el;var paginationHTML='';if(params.type==='bullets'){var numberOfBullets=swiper.params.loop?Math.ceil((slidesLength-swiper.loopedSlides*2)/swiper.params.slidesPerGroup):swiper.snapGrid.length;if(swiper.params.freeMode&&swiper.params.freeMode.enabled&&!swiper.params.loop&&numberOfBullets>slidesLength){numberOfBullets=slidesLength;}for(var i=0;i<numberOfBullets;i+=1){if(params.renderBullet){paginationHTML+=params.renderBullet.call(swiper,i,params.bulletClass);}else{paginationHTML+="<".concat(params.bulletElement," class=\"").concat(params.bulletClass,"\"></").concat(params.bulletElement,">");}}$el.html(paginationHTML);swiper.pagination.bullets=$el.find(classesToSelector(params.bulletClass));}if(params.type==='fraction'){if(params.renderFraction){paginationHTML=params.renderFraction.call(swiper,params.currentClass,params.totalClass);}else{paginationHTML="<span class=\"".concat(params.currentClass,"\"></span>")+' / '+"<span class=\"".concat(params.totalClass,"\"></span>");}$el.html(paginationHTML);}if(params.type==='progressbar'){if(params.renderProgressbar){paginationHTML=params.renderProgressbar.call(swiper,params.progressbarFillClass);}else{paginationHTML="<span class=\"".concat(params.progressbarFillClass,"\"></span>");}$el.html(paginationHTML);}if(params.type!=='custom'){emit('paginationRender',swiper.pagination.$el[0]);}}function init(){swiper.params.pagination=createElementIfNotDefined(swiper,swiper.originalParams.pagination,swiper.params.pagination,{el:'swiper-pagination'});var params=swiper.params.pagination;if(!params.el)return;var $el=$(params.el);if($el.length===0)return;if(swiper.params.uniqueNavElements&&typeof params.el==='string'&&$el.length>1){$el=swiper.$el.find(params.el);// check if it belongs to another nested Swiper
  233. if($el.length>1){$el=$el.filter(function(el){if($(el).parents('.swiper')[0]!==swiper.el)return false;return true;});}}if(params.type==='bullets'&&params.clickable){$el.addClass(params.clickableClass);}$el.addClass(params.modifierClass+params.type);$el.addClass(swiper.isHorizontal()?params.horizontalClass:params.verticalClass);if(params.type==='bullets'&&params.dynamicBullets){$el.addClass("".concat(params.modifierClass).concat(params.type,"-dynamic"));dynamicBulletIndex=0;if(params.dynamicMainBullets<1){params.dynamicMainBullets=1;}}if(params.type==='progressbar'&&params.progressbarOpposite){$el.addClass(params.progressbarOppositeClass);}if(params.clickable){$el.on('click',classesToSelector(params.bulletClass),function onClick(e){e.preventDefault();var index=$(this).index()*swiper.params.slidesPerGroup;if(swiper.params.loop)index+=swiper.loopedSlides;swiper.slideTo(index);});}Object.assign(swiper.pagination,{$el:$el,el:$el[0]});if(!swiper.enabled){$el.addClass(params.lockClass);}}function destroy(){var params=swiper.params.pagination;if(isPaginationDisabled())return;var $el=swiper.pagination.$el;$el.removeClass(params.hiddenClass);$el.removeClass(params.modifierClass+params.type);$el.removeClass(swiper.isHorizontal()?params.horizontalClass:params.verticalClass);if(swiper.pagination.bullets&&swiper.pagination.bullets.removeClass)swiper.pagination.bullets.removeClass(params.bulletActiveClass);if(params.clickable){$el.off('click',classesToSelector(params.bulletClass));}}on('init',function(){if(swiper.params.pagination.enabled===false){// eslint-disable-next-line
  234. disable();}else{init();render();update();}});on('activeIndexChange',function(){if(swiper.params.loop){update();}else if(typeof swiper.snapIndex==='undefined'){update();}});on('snapIndexChange',function(){if(!swiper.params.loop){update();}});on('slidesLengthChange',function(){if(swiper.params.loop){render();update();}});on('snapGridLengthChange',function(){if(!swiper.params.loop){render();update();}});on('destroy',function(){destroy();});on('enable disable',function(){var $el=swiper.pagination.$el;if($el){$el[swiper.enabled?'removeClass':'addClass'](swiper.params.pagination.lockClass);}});on('lock unlock',function(){update();});on('click',function(_s,e){var targetEl=e.target;var $el=swiper.pagination.$el;if(swiper.params.pagination.el&&swiper.params.pagination.hideOnClick&&$el&&$el.length>0&&!$(targetEl).hasClass(swiper.params.pagination.bulletClass)){if(swiper.navigation&&(swiper.navigation.nextEl&&targetEl===swiper.navigation.nextEl||swiper.navigation.prevEl&&targetEl===swiper.navigation.prevEl))return;var isHidden=$el.hasClass(swiper.params.pagination.hiddenClass);if(isHidden===true){emit('paginationShow');}else{emit('paginationHide');}$el.toggleClass(swiper.params.pagination.hiddenClass);}});var enable=function enable(){swiper.$el.removeClass(swiper.params.pagination.paginationDisabledClass);if(swiper.pagination.$el){swiper.pagination.$el.removeClass(swiper.params.pagination.paginationDisabledClass);}init();render();update();};var disable=function disable(){swiper.$el.addClass(swiper.params.pagination.paginationDisabledClass);if(swiper.pagination.$el){swiper.pagination.$el.addClass(swiper.params.pagination.paginationDisabledClass);}destroy();};Object.assign(swiper.pagination,{enable:enable,disable:disable,render:render,update:update,init:init,destroy:destroy});}function Scrollbar(_ref){var swiper=_ref.swiper,extendParams=_ref.extendParams,on=_ref.on,emit=_ref.emit;var document=getDocument();var isTouched=false;var timeout=null;var dragTimeout=null;var dragStartPos;var dragSize;var trackSize;var divider;extendParams({scrollbar:{el:null,dragSize:'auto',hide:false,draggable:false,snapOnRelease:true,lockClass:'swiper-scrollbar-lock',dragClass:'swiper-scrollbar-drag',scrollbarDisabledClass:'swiper-scrollbar-disabled',horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}});swiper.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null};function setTranslate(){if(!swiper.params.scrollbar.el||!swiper.scrollbar.el)return;var scrollbar=swiper.scrollbar,rtl=swiper.rtlTranslate,progress=swiper.progress;var $dragEl=scrollbar.$dragEl,$el=scrollbar.$el;var params=swiper.params.scrollbar;var newSize=dragSize;var newPos=(trackSize-dragSize)*progress;if(rtl){newPos=-newPos;if(newPos>0){newSize=dragSize-newPos;newPos=0;}else if(-newPos+dragSize>trackSize){newSize=trackSize+newPos;}}else if(newPos<0){newSize=dragSize+newPos;newPos=0;}else if(newPos+dragSize>trackSize){newSize=trackSize-newPos;}if(swiper.isHorizontal()){$dragEl.transform("translate3d(".concat(newPos,"px, 0, 0)"));$dragEl[0].style.width="".concat(newSize,"px");}else{$dragEl.transform("translate3d(0px, ".concat(newPos,"px, 0)"));$dragEl[0].style.height="".concat(newSize,"px");}if(params.hide){clearTimeout(timeout);$el[0].style.opacity=1;timeout=setTimeout(function(){$el[0].style.opacity=0;$el.transition(400);},1000);}}function setTransition(duration){if(!swiper.params.scrollbar.el||!swiper.scrollbar.el)return;swiper.scrollbar.$dragEl.transition(duration);}function updateSize(){if(!swiper.params.scrollbar.el||!swiper.scrollbar.el)return;var scrollbar=swiper.scrollbar;var $dragEl=scrollbar.$dragEl,$el=scrollbar.$el;$dragEl[0].style.width='';$dragEl[0].style.height='';trackSize=swiper.isHorizontal()?$el[0].offsetWidth:$el[0].offsetHeight;divider=swiper.size/(swiper.virtualSize+swiper.params.slidesOffsetBefore-(swiper.params.centeredSlides?swiper.snapGrid[0]:0));if(swiper.params.scrollbar.dragSize==='auto'){dragSize=trackSize*divider;}else{dragSize=parseInt(swiper.params.scrollbar.dragSize,10);}if(swiper.isHorizontal()){$dragEl[0].style.width="".concat(dragSize,"px");}else{$dragEl[0].style.height="".concat(dragSize,"px");}if(divider>=1){$el[0].style.display='none';}else{$el[0].style.display='';}if(swiper.params.scrollbar.hide){$el[0].style.opacity=0;}if(swiper.params.watchOverflow&&swiper.enabled){scrollbar.$el[swiper.isLocked?'addClass':'removeClass'](swiper.params.scrollbar.lockClass);}}function getPointerPosition(e){if(swiper.isHorizontal()){return e.type==='touchstart'||e.type==='touchmove'?e.targetTouches[0].clientX:e.clientX;}return e.type==='touchstart'||e.type==='touchmove'?e.targetTouches[0].clientY:e.clientY;}function setDragPosition(e){var scrollbar=swiper.scrollbar,rtl=swiper.rtlTranslate;var $el=scrollbar.$el;var positionRatio;positionRatio=(getPointerPosition(e)-$el.offset()[swiper.isHorizontal()?'left':'top']-(dragStartPos!==null?dragStartPos:dragSize/2))/(trackSize-dragSize);positionRatio=Math.max(Math.min(positionRatio,1),0);if(rtl){positionRatio=1-positionRatio;}var position=swiper.minTranslate()+(swiper.maxTranslate()-swiper.minTranslate())*positionRatio;swiper.updateProgress(position);swiper.setTranslate(position);swiper.updateActiveIndex();swiper.updateSlidesClasses();}function onDragStart(e){var params=swiper.params.scrollbar;var scrollbar=swiper.scrollbar,$wrapperEl=swiper.$wrapperEl;var $el=scrollbar.$el,$dragEl=scrollbar.$dragEl;isTouched=true;dragStartPos=e.target===$dragEl[0]||e.target===$dragEl?getPointerPosition(e)-e.target.getBoundingClientRect()[swiper.isHorizontal()?'left':'top']:null;e.preventDefault();e.stopPropagation();$wrapperEl.transition(100);$dragEl.transition(100);setDragPosition(e);clearTimeout(dragTimeout);$el.transition(0);if(params.hide){$el.css('opacity',1);}if(swiper.params.cssMode){swiper.$wrapperEl.css('scroll-snap-type','none');}emit('scrollbarDragStart',e);}function onDragMove(e){var scrollbar=swiper.scrollbar,$wrapperEl=swiper.$wrapperEl;var $el=scrollbar.$el,$dragEl=scrollbar.$dragEl;if(!isTouched)return;if(e.preventDefault)e.preventDefault();else e.returnValue=false;setDragPosition(e);$wrapperEl.transition(0);$el.transition(0);$dragEl.transition(0);emit('scrollbarDragMove',e);}function onDragEnd(e){var params=swiper.params.scrollbar;var scrollbar=swiper.scrollbar,$wrapperEl=swiper.$wrapperEl;var $el=scrollbar.$el;if(!isTouched)return;isTouched=false;if(swiper.params.cssMode){swiper.$wrapperEl.css('scroll-snap-type','');$wrapperEl.transition('');}if(params.hide){clearTimeout(dragTimeout);dragTimeout=nextTick(function(){$el.css('opacity',0);$el.transition(400);},1000);}emit('scrollbarDragEnd',e);if(params.snapOnRelease){swiper.slideToClosest();}}function events(method){var scrollbar=swiper.scrollbar,touchEventsTouch=swiper.touchEventsTouch,touchEventsDesktop=swiper.touchEventsDesktop,params=swiper.params,support=swiper.support;var $el=scrollbar.$el;if(!$el)return;var target=$el[0];var activeListener=support.passiveListener&&params.passiveListeners?{passive:false,capture:false}:false;var passiveListener=support.passiveListener&&params.passiveListeners?{passive:true,capture:false}:false;if(!target)return;var eventMethod=method==='on'?'addEventListener':'removeEventListener';if(!support.touch){target[eventMethod](touchEventsDesktop.start,onDragStart,activeListener);document[eventMethod](touchEventsDesktop.move,onDragMove,activeListener);document[eventMethod](touchEventsDesktop.end,onDragEnd,passiveListener);}else{target[eventMethod](touchEventsTouch.start,onDragStart,activeListener);target[eventMethod](touchEventsTouch.move,onDragMove,activeListener);target[eventMethod](touchEventsTouch.end,onDragEnd,passiveListener);}}function enableDraggable(){if(!swiper.params.scrollbar.el||!swiper.scrollbar.el)return;events('on');}function disableDraggable(){if(!swiper.params.scrollbar.el||!swiper.scrollbar.el)return;events('off');}function init(){var scrollbar=swiper.scrollbar,$swiperEl=swiper.$el;swiper.params.scrollbar=createElementIfNotDefined(swiper,swiper.originalParams.scrollbar,swiper.params.scrollbar,{el:'swiper-scrollbar'});var params=swiper.params.scrollbar;if(!params.el)return;var $el=$(params.el);if(swiper.params.uniqueNavElements&&typeof params.el==='string'&&$el.length>1&&$swiperEl.find(params.el).length===1){$el=$swiperEl.find(params.el);}$el.addClass(swiper.isHorizontal()?params.horizontalClass:params.verticalClass);var $dragEl=$el.find(".".concat(swiper.params.scrollbar.dragClass));if($dragEl.length===0){$dragEl=$("<div class=\"".concat(swiper.params.scrollbar.dragClass,"\"></div>"));$el.append($dragEl);}Object.assign(scrollbar,{$el:$el,el:$el[0],$dragEl:$dragEl,dragEl:$dragEl[0]});if(params.draggable){enableDraggable();}if($el){$el[swiper.enabled?'removeClass':'addClass'](swiper.params.scrollbar.lockClass);}}function destroy(){var params=swiper.params.scrollbar;var $el=swiper.scrollbar.$el;if($el){$el.removeClass(swiper.isHorizontal()?params.horizontalClass:params.verticalClass);}disableDraggable();}on('init',function(){if(swiper.params.scrollbar.enabled===false){// eslint-disable-next-line
  235. disable();}else{init();updateSize();setTranslate();}});on('update resize observerUpdate lock unlock',function(){updateSize();});on('setTranslate',function(){setTranslate();});on('setTransition',function(_s,duration){setTransition(duration);});on('enable disable',function(){var $el=swiper.scrollbar.$el;if($el){$el[swiper.enabled?'removeClass':'addClass'](swiper.params.scrollbar.lockClass);}});on('destroy',function(){destroy();});var enable=function enable(){swiper.$el.removeClass(swiper.params.scrollbar.scrollbarDisabledClass);if(swiper.scrollbar.$el){swiper.scrollbar.$el.removeClass(swiper.params.scrollbar.scrollbarDisabledClass);}init();updateSize();setTranslate();};var disable=function disable(){swiper.$el.addClass(swiper.params.scrollbar.scrollbarDisabledClass);if(swiper.scrollbar.$el){swiper.scrollbar.$el.addClass(swiper.params.scrollbar.scrollbarDisabledClass);}destroy();};Object.assign(swiper.scrollbar,{enable:enable,disable:disable,updateSize:updateSize,setTranslate:setTranslate,init:init,destroy:destroy});}function A11y(_ref){var swiper=_ref.swiper,extendParams=_ref.extendParams,on=_ref.on;extendParams({a11y:{enabled:true,notificationClass:'swiper-notification',prevSlideMessage:'Previous slide',nextSlideMessage:'Next slide',firstSlideMessage:'This is the first slide',lastSlideMessage:'This is the last slide',paginationBulletMessage:'Go to slide {{index}}',slideLabelMessage:'{{index}} / {{slidesLength}}',containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:'group',id:null}});var liveRegion=null;function notify(message){var notification=liveRegion;if(notification.length===0)return;notification.html('');notification.html(message);}function getRandomNumber(size){if(size===void 0){size=16;}var randomChar=function randomChar(){return Math.round(16*Math.random()).toString(16);};return'x'.repeat(size).replace(/x/g,randomChar);}function makeElFocusable($el){$el.attr('tabIndex','0');}function makeElNotFocusable($el){$el.attr('tabIndex','-1');}function addElRole($el,role){$el.attr('role',role);}function addElRoleDescription($el,description){$el.attr('aria-roledescription',description);}function addElControls($el,controls){$el.attr('aria-controls',controls);}function addElLabel($el,label){$el.attr('aria-label',label);}function addElId($el,id){$el.attr('id',id);}function addElLive($el,live){$el.attr('aria-live',live);}function disableEl($el){$el.attr('aria-disabled',true);}function enableEl($el){$el.attr('aria-disabled',false);}function onEnterOrSpaceKey(e){if(e.keyCode!==13&&e.keyCode!==32)return;var params=swiper.params.a11y;var $targetEl=$(e.target);if(swiper.navigation&&swiper.navigation.$nextEl&&$targetEl.is(swiper.navigation.$nextEl)){if(!(swiper.isEnd&&!swiper.params.loop)){swiper.slideNext();}if(swiper.isEnd){notify(params.lastSlideMessage);}else{notify(params.nextSlideMessage);}}if(swiper.navigation&&swiper.navigation.$prevEl&&$targetEl.is(swiper.navigation.$prevEl)){if(!(swiper.isBeginning&&!swiper.params.loop)){swiper.slidePrev();}if(swiper.isBeginning){notify(params.firstSlideMessage);}else{notify(params.prevSlideMessage);}}if(swiper.pagination&&$targetEl.is(classesToSelector(swiper.params.pagination.bulletClass))){$targetEl[0].click();}}function updateNavigation(){if(swiper.params.loop||swiper.params.rewind||!swiper.navigation)return;var _swiper$navigation5=swiper.navigation,$nextEl=_swiper$navigation5.$nextEl,$prevEl=_swiper$navigation5.$prevEl;if($prevEl&&$prevEl.length>0){if(swiper.isBeginning){disableEl($prevEl);makeElNotFocusable($prevEl);}else{enableEl($prevEl);makeElFocusable($prevEl);}}if($nextEl&&$nextEl.length>0){if(swiper.isEnd){disableEl($nextEl);makeElNotFocusable($nextEl);}else{enableEl($nextEl);makeElFocusable($nextEl);}}}function hasPagination(){return swiper.pagination&&swiper.pagination.bullets&&swiper.pagination.bullets.length;}function hasClickablePagination(){return hasPagination()&&swiper.params.pagination.clickable;}function updatePagination(){var params=swiper.params.a11y;if(!hasPagination())return;swiper.pagination.bullets.each(function(bulletEl){var $bulletEl=$(bulletEl);if(swiper.params.pagination.clickable){makeElFocusable($bulletEl);if(!swiper.params.pagination.renderBullet){addElRole($bulletEl,'button');addElLabel($bulletEl,params.paginationBulletMessage.replace(/\{\{index\}\}/,$bulletEl.index()+1));}}if($bulletEl.is(".".concat(swiper.params.pagination.bulletActiveClass))){$bulletEl.attr('aria-current','true');}else{$bulletEl.removeAttr('aria-current');}});}var initNavEl=function initNavEl($el,wrapperId,message){makeElFocusable($el);if($el[0].tagName!=='BUTTON'){addElRole($el,'button');$el.on('keydown',onEnterOrSpaceKey);}addElLabel($el,message);addElControls($el,wrapperId);};var handleFocus=function handleFocus(e){var slideEl=e.target.closest(".".concat(swiper.params.slideClass));if(!slideEl||!swiper.slides.includes(slideEl))return;var isActive=swiper.slides.indexOf(slideEl)===swiper.activeIndex;var isVisible=swiper.params.watchSlidesProgress&&swiper.visibleSlides&&swiper.visibleSlides.includes(slideEl);if(isActive||isVisible)return;swiper.slideTo(swiper.slides.indexOf(slideEl),0);};var initSlides=function initSlides(){var params=swiper.params.a11y;if(params.itemRoleDescriptionMessage){addElRoleDescription($(swiper.slides),params.itemRoleDescriptionMessage);}if(params.slideRole){addElRole($(swiper.slides),params.slideRole);}var slidesLength=swiper.params.loop?swiper.slides.filter(function(el){return!el.classList.contains(swiper.params.slideDuplicateClass);}).length:swiper.slides.length;if(params.slideLabelMessage){swiper.slides.each(function(slideEl,index){var $slideEl=$(slideEl);var slideIndex=swiper.params.loop?parseInt($slideEl.attr('data-swiper-slide-index'),10):index;var ariaLabelMessage=params.slideLabelMessage.replace(/\{\{index\}\}/,slideIndex+1).replace(/\{\{slidesLength\}\}/,slidesLength);addElLabel($slideEl,ariaLabelMessage);});}};var init=function init(){var params=swiper.params.a11y;swiper.$el.append(liveRegion);// Container
  236. var $containerEl=swiper.$el;if(params.containerRoleDescriptionMessage){addElRoleDescription($containerEl,params.containerRoleDescriptionMessage);}if(params.containerMessage){addElLabel($containerEl,params.containerMessage);}// Wrapper
  237. var $wrapperEl=swiper.$wrapperEl;var wrapperId=params.id||$wrapperEl.attr('id')||"swiper-wrapper-".concat(getRandomNumber(16));var live=swiper.params.autoplay&&swiper.params.autoplay.enabled?'off':'polite';addElId($wrapperEl,wrapperId);addElLive($wrapperEl,live);// Slide
  238. initSlides();// Navigation
  239. var $nextEl;var $prevEl;if(swiper.navigation&&swiper.navigation.$nextEl){$nextEl=swiper.navigation.$nextEl;}if(swiper.navigation&&swiper.navigation.$prevEl){$prevEl=swiper.navigation.$prevEl;}if($nextEl&&$nextEl.length){initNavEl($nextEl,wrapperId,params.nextSlideMessage);}if($prevEl&&$prevEl.length){initNavEl($prevEl,wrapperId,params.prevSlideMessage);}// Pagination
  240. if(hasClickablePagination()){swiper.pagination.$el.on('keydown',classesToSelector(swiper.params.pagination.bulletClass),onEnterOrSpaceKey);}// Tab focus
  241. swiper.$el.on('focus',handleFocus,true);};function destroy(){if(liveRegion&&liveRegion.length>0)liveRegion.remove();var $nextEl;var $prevEl;if(swiper.navigation&&swiper.navigation.$nextEl){$nextEl=swiper.navigation.$nextEl;}if(swiper.navigation&&swiper.navigation.$prevEl){$prevEl=swiper.navigation.$prevEl;}if($nextEl){$nextEl.off('keydown',onEnterOrSpaceKey);}if($prevEl){$prevEl.off('keydown',onEnterOrSpaceKey);}// Pagination
  242. if(hasClickablePagination()){swiper.pagination.$el.off('keydown',classesToSelector(swiper.params.pagination.bulletClass),onEnterOrSpaceKey);}// Tab focus
  243. swiper.$el.off('focus',handleFocus,true);}on('beforeInit',function(){liveRegion=$("<span class=\"".concat(swiper.params.a11y.notificationClass,"\" aria-live=\"assertive\" aria-atomic=\"true\"></span>"));});on('afterInit',function(){if(!swiper.params.a11y.enabled)return;init();});on('slidesLengthChange snapGridLengthChange slidesGridLengthChange',function(){if(!swiper.params.a11y.enabled)return;initSlides();});on('fromEdge toEdge afterInit lock unlock',function(){if(!swiper.params.a11y.enabled)return;updateNavigation();});on('paginationUpdate',function(){if(!swiper.params.a11y.enabled)return;updatePagination();});on('destroy',function(){if(!swiper.params.a11y.enabled)return;destroy();});}/* eslint no-underscore-dangle: "off" */function Autoplay(_ref){var swiper=_ref.swiper,extendParams=_ref.extendParams,on=_ref.on,emit=_ref.emit;var timeout;swiper.autoplay={running:false,paused:false};extendParams({autoplay:{enabled:false,delay:3000,waitForTransition:true,disableOnInteraction:true,stopOnLastSlide:false,reverseDirection:false,pauseOnMouseEnter:false}});function run(){var $activeSlideEl=swiper.slides.eq(swiper.activeIndex);var delay=swiper.params.autoplay.delay;if($activeSlideEl.attr('data-swiper-autoplay')){delay=$activeSlideEl.attr('data-swiper-autoplay')||swiper.params.autoplay.delay;}clearTimeout(timeout);timeout=nextTick(function(){var autoplayResult;if(swiper.params.autoplay.reverseDirection){if(swiper.params.loop){swiper.loopFix();autoplayResult=swiper.slidePrev(swiper.params.speed,true,true);emit('autoplay');}else if(!swiper.isBeginning){autoplayResult=swiper.slidePrev(swiper.params.speed,true,true);emit('autoplay');}else if(!swiper.params.autoplay.stopOnLastSlide){autoplayResult=swiper.slideTo(swiper.slides.length-1,swiper.params.speed,true,true);emit('autoplay');}else{stop();}}else if(swiper.params.loop){swiper.loopFix();autoplayResult=swiper.slideNext(swiper.params.speed,true,true);emit('autoplay');}else if(!swiper.isEnd){autoplayResult=swiper.slideNext(swiper.params.speed,true,true);emit('autoplay');}else if(!swiper.params.autoplay.stopOnLastSlide){autoplayResult=swiper.slideTo(0,swiper.params.speed,true,true);emit('autoplay');}else{stop();}if(swiper.params.cssMode&&swiper.autoplay.running)run();else if(autoplayResult===false){run();}},delay);}function start(){if(typeof timeout!=='undefined')return false;if(swiper.autoplay.running)return false;swiper.autoplay.running=true;emit('autoplayStart');run();return true;}function stop(){if(!swiper.autoplay.running)return false;if(typeof timeout==='undefined')return false;if(timeout){clearTimeout(timeout);timeout=undefined;}swiper.autoplay.running=false;emit('autoplayStop');return true;}function pause(speed){if(!swiper.autoplay.running)return;if(swiper.autoplay.paused)return;if(timeout)clearTimeout(timeout);swiper.autoplay.paused=true;if(speed===0||!swiper.params.autoplay.waitForTransition){swiper.autoplay.paused=false;run();}else{['transitionend','webkitTransitionEnd'].forEach(function(event){swiper.$wrapperEl[0].addEventListener(event,onTransitionEnd);});}}function onVisibilityChange(){var document=getDocument();if(document.visibilityState==='hidden'&&swiper.autoplay.running){pause();}if(document.visibilityState==='visible'&&swiper.autoplay.paused){run();swiper.autoplay.paused=false;}}function onTransitionEnd(e){if(!swiper||swiper.destroyed||!swiper.$wrapperEl)return;if(e.target!==swiper.$wrapperEl[0])return;['transitionend','webkitTransitionEnd'].forEach(function(event){swiper.$wrapperEl[0].removeEventListener(event,onTransitionEnd);});swiper.autoplay.paused=false;if(!swiper.autoplay.running){stop();}else{run();}}function onMouseEnter(){if(swiper.params.autoplay.disableOnInteraction){stop();}else{emit('autoplayPause');pause();}['transitionend','webkitTransitionEnd'].forEach(function(event){swiper.$wrapperEl[0].removeEventListener(event,onTransitionEnd);});}function onMouseLeave(){if(swiper.params.autoplay.disableOnInteraction){return;}swiper.autoplay.paused=false;emit('autoplayResume');run();}function attachMouseEvents(){if(swiper.params.autoplay.pauseOnMouseEnter){swiper.$el.on('mouseenter',onMouseEnter);swiper.$el.on('mouseleave',onMouseLeave);}}function detachMouseEvents(){swiper.$el.off('mouseenter',onMouseEnter);swiper.$el.off('mouseleave',onMouseLeave);}on('init',function(){if(swiper.params.autoplay.enabled){start();var _document3=getDocument();_document3.addEventListener('visibilitychange',onVisibilityChange);attachMouseEvents();}});on('beforeTransitionStart',function(_s,speed,internal){if(swiper.autoplay.running){if(internal||!swiper.params.autoplay.disableOnInteraction){swiper.autoplay.pause(speed);}else{stop();}}});on('sliderFirstMove',function(){if(swiper.autoplay.running){if(swiper.params.autoplay.disableOnInteraction){stop();}else{pause();}}});on('touchEnd',function(){if(swiper.params.cssMode&&swiper.autoplay.paused&&!swiper.params.autoplay.disableOnInteraction){run();}});on('destroy',function(){detachMouseEvents();if(swiper.autoplay.running){stop();}var document=getDocument();document.removeEventListener('visibilitychange',onVisibilityChange);});Object.assign(swiper.autoplay,{pause:pause,run:run,start:start,stop:stop});}function isObject(o){return _typeof(o)==='object'&&o!==null&&o.constructor&&Object.prototype.toString.call(o).slice(8,-1)==='Object';}function extend(target,src){var noExtend=['__proto__','constructor','prototype'];Object.keys(src).filter(function(key){return noExtend.indexOf(key)<0;}).forEach(function(key){if(typeof target[key]==='undefined')target[key]=src[key];else if(isObject(src[key])&&isObject(target[key])&&Object.keys(src[key]).length>0){if(src[key].__swiper__)target[key]=src[key];else extend(target[key],src[key]);}else{target[key]=src[key];}});}function needsNavigation(params){if(params===void 0){params={};}return params.navigation&&typeof params.navigation.nextEl==='undefined'&&typeof params.navigation.prevEl==='undefined';}function needsPagination(params){if(params===void 0){params={};}return params.pagination&&typeof params.pagination.el==='undefined';}function needsScrollbar(params){if(params===void 0){params={};}return params.scrollbar&&typeof params.scrollbar.el==='undefined';}function uniqueClasses(classNames){if(classNames===void 0){classNames='';}var classes=classNames.split(' ').map(function(c){return c.trim();}).filter(function(c){return!!c;});var unique=[];classes.forEach(function(c){if(unique.indexOf(c)<0)unique.push(c);});return unique.join(' ');}/* underscore in name -> watch for changes */var paramsList=['modules','init','_direction','touchEventsTarget','initialSlide','_speed','cssMode','updateOnWindowResize','resizeObserver','nested','focusableElements','_enabled','_width','_height','preventInteractionOnTransition','userAgent','url','_edgeSwipeDetection','_edgeSwipeThreshold','_freeMode','_autoHeight','setWrapperSize','virtualTranslate','_effect','breakpoints','_spaceBetween','_slidesPerView','maxBackfaceHiddenSlides','_grid','_slidesPerGroup','_slidesPerGroupSkip','_slidesPerGroupAuto','_centeredSlides','_centeredSlidesBounds','_slidesOffsetBefore','_slidesOffsetAfter','normalizeSlideIndex','_centerInsufficientSlides','_watchOverflow','roundLengths','touchRatio','touchAngle','simulateTouch','_shortSwipes','_longSwipes','longSwipesRatio','longSwipesMs','_followFinger','allowTouchMove','_threshold','touchMoveStopPropagation','touchStartPreventDefault','touchStartForcePreventDefault','touchReleaseOnEdges','uniqueNavElements','_resistance','_resistanceRatio','_watchSlidesProgress','_grabCursor','preventClicks','preventClicksPropagation','_slideToClickedSlide','_preloadImages','updateOnImagesReady','_loop','_loopAdditionalSlides','_loopedSlides','_loopFillGroupWithBlank','loopPreventsSlide','_rewind','_allowSlidePrev','_allowSlideNext','_swipeHandler','_noSwiping','noSwipingClass','noSwipingSelector','passiveListeners','containerModifierClass','slideClass','slideBlankClass','slideActiveClass','slideDuplicateActiveClass','slideVisibleClass','slideDuplicateClass','slideNextClass','slideDuplicateNextClass','slidePrevClass','slideDuplicatePrevClass','wrapperClass','runCallbacksOnInit','observer','observeParents','observeSlideChildren',// modules
  244. 'a11y','_autoplay','_controller','coverflowEffect','cubeEffect','fadeEffect','flipEffect','creativeEffect','cardsEffect','hashNavigation','history','keyboard','lazy','mousewheel','_navigation','_pagination','parallax','_scrollbar','_thumbs','virtual','zoom'];function getParams(obj,splitEvents){if(obj===void 0){obj={};}if(splitEvents===void 0){splitEvents=true;}var params={on:{}};var events={};var passedParams={};extend(params,Swiper$1.defaults);extend(params,Swiper$1.extendedDefaults);params._emitClasses=true;params.init=false;var rest={};var allowedParams=paramsList.map(function(key){return key.replace(/_/,'');});var plainObj=Object.assign({},obj);Object.keys(plainObj).forEach(function(key){if(typeof obj[key]==='undefined')return;if(allowedParams.indexOf(key)>=0){if(isObject(obj[key])){params[key]={};passedParams[key]={};extend(params[key],obj[key]);extend(passedParams[key],obj[key]);}else{params[key]=obj[key];passedParams[key]=obj[key];}}else if(key.search(/on[A-Z]/)===0&&typeof obj[key]==='function'){if(splitEvents){events["".concat(key[2].toLowerCase()).concat(key.substr(3))]=obj[key];}else{params.on["".concat(key[2].toLowerCase()).concat(key.substr(3))]=obj[key];}}else{rest[key]=obj[key];}});['navigation','pagination','scrollbar'].forEach(function(key){if(params[key]===true)params[key]={};if(params[key]===false)delete params[key];});return{params:params,passedParams:passedParams,rest:rest,events:events};}function mountSwiper(_ref,swiperParams){var el=_ref.el,nextEl=_ref.nextEl,prevEl=_ref.prevEl,paginationEl=_ref.paginationEl,scrollbarEl=_ref.scrollbarEl,swiper=_ref.swiper;if(needsNavigation(swiperParams)&&nextEl&&prevEl){swiper.params.navigation.nextEl=nextEl;swiper.originalParams.navigation.nextEl=nextEl;swiper.params.navigation.prevEl=prevEl;swiper.originalParams.navigation.prevEl=prevEl;}if(needsPagination(swiperParams)&&paginationEl){swiper.params.pagination.el=paginationEl;swiper.originalParams.pagination.el=paginationEl;}if(needsScrollbar(swiperParams)&&scrollbarEl){swiper.params.scrollbar.el=scrollbarEl;swiper.originalParams.scrollbar.el=scrollbarEl;}swiper.init(el);}function calcLoopedSlides(slides,swiperParams){var slidesPerViewParams=swiperParams.slidesPerView;if(swiperParams.breakpoints){var breakpoint=Swiper$1.prototype.getBreakpoint(swiperParams.breakpoints);var breakpointOnlyParams=breakpoint in swiperParams.breakpoints?swiperParams.breakpoints[breakpoint]:undefined;if(breakpointOnlyParams&&breakpointOnlyParams.slidesPerView){slidesPerViewParams=breakpointOnlyParams.slidesPerView;}}var loopedSlides=Math.ceil(parseFloat(swiperParams.loopedSlides||slidesPerViewParams,10));loopedSlides+=swiperParams.loopAdditionalSlides;if(loopedSlides>slides.length){loopedSlides=slides.length;}return loopedSlides;}function renderLoop(swiperRef,slides,swiperParams){var modifiedSlides=slides.map(function(child,index){if(!child.props)child.props={};child.props.swiperRef=swiperRef;child.props['data-swiper-slide-index']=index;return child;});function duplicateSlide(child,index,position){if(!child.props)child.props={};return h(child.type,_objectSpread(_objectSpread({},child.props),{},{key:"".concat(child.key,"-duplicate-").concat(index,"-").concat(position),class:"".concat(child.props.className||''," ").concat(swiperParams.slideDuplicateClass," ").concat(child.props.class||'')}),child.children);}if(swiperParams.loopFillGroupWithBlank){var blankSlidesNum=swiperParams.slidesPerGroup-modifiedSlides.length%swiperParams.slidesPerGroup;if(blankSlidesNum!==swiperParams.slidesPerGroup){for(var i=0;i<blankSlidesNum;i+=1){var blankSlide=h('div',{class:"".concat(swiperParams.slideClass," ").concat(swiperParams.slideBlankClass)});modifiedSlides.push(blankSlide);}}}if(swiperParams.slidesPerView==='auto'&&!swiperParams.loopedSlides){swiperParams.loopedSlides=modifiedSlides.length;}var loopedSlides=calcLoopedSlides(modifiedSlides,swiperParams);var prependSlides=[];var appendSlides=[];modifiedSlides.forEach(function(child,index){if(index<loopedSlides){appendSlides.push(duplicateSlide(child,index,'prepend'));}if(index<modifiedSlides.length&&index>=modifiedSlides.length-loopedSlides){prependSlides.push(duplicateSlide(child,index,'append'));}});if(swiperRef.value){swiperRef.value.loopedSlides=loopedSlides;}return[].concat(prependSlides,_toConsumableArray(modifiedSlides),appendSlides);}function getChangedParams(swiperParams,oldParams,children,oldChildren,getKey){var keys=[];if(!oldParams)return keys;var addKey=function addKey(key){if(keys.indexOf(key)<0)keys.push(key);};if(children&&oldChildren){var oldChildrenKeys=oldChildren.map(getKey);var childrenKeys=children.map(getKey);if(oldChildrenKeys.join('')!==childrenKeys.join(''))addKey('children');if(oldChildren.length!==children.length)addKey('children');}var watchParams=paramsList.filter(function(key){return key[0]==='_';}).map(function(key){return key.replace(/_/,'');});watchParams.forEach(function(key){if(key in swiperParams&&key in oldParams){if(isObject(swiperParams[key])&&isObject(oldParams[key])){var newKeys=Object.keys(swiperParams[key]);var oldKeys=Object.keys(oldParams[key]);if(newKeys.length!==oldKeys.length){addKey(key);}else{newKeys.forEach(function(newKey){if(swiperParams[key][newKey]!==oldParams[key][newKey]){addKey(key);}});oldKeys.forEach(function(oldKey){if(swiperParams[key][oldKey]!==oldParams[key][oldKey])addKey(key);});}}else if(swiperParams[key]!==oldParams[key]){addKey(key);}}});return keys;}function getChildren(originalSlots,slidesRef,oldSlidesRef){if(originalSlots===void 0){originalSlots={};}var slides=[];var slots={'container-start':[],'container-end':[],'wrapper-start':[],'wrapper-end':[]};var getSlidesFromElements=function getSlidesFromElements(els,slotName){if(!Array.isArray(els)){return;}els.forEach(function(vnode){var isFragment=_typeof(vnode.type)==='symbol';if(slotName==='default')slotName='container-end';if(isFragment&&vnode.children){getSlidesFromElements(vnode.children,'default');}else if(vnode.type&&(vnode.type.name==='SwiperSlide'||vnode.type.name==='AsyncComponentWrapper')){slides.push(vnode);}else if(slots[slotName]){slots[slotName].push(vnode);}});};Object.keys(originalSlots).forEach(function(slotName){if(typeof originalSlots[slotName]!=='function')return;var els=originalSlots[slotName]();getSlidesFromElements(els,slotName);});oldSlidesRef.value=slidesRef.value;slidesRef.value=slides;return{slides:slides,slots:slots};}function updateSwiper(_ref){var swiper=_ref.swiper,slides=_ref.slides,passedParams=_ref.passedParams,changedParams=_ref.changedParams,nextEl=_ref.nextEl,prevEl=_ref.prevEl,scrollbarEl=_ref.scrollbarEl,paginationEl=_ref.paginationEl;var updateParams=changedParams.filter(function(key){return key!=='children'&&key!=='direction';});var currentParams=swiper.params,pagination=swiper.pagination,navigation=swiper.navigation,scrollbar=swiper.scrollbar,virtual=swiper.virtual,thumbs=swiper.thumbs;var needThumbsInit;var needControllerInit;var needPaginationInit;var needScrollbarInit;var needNavigationInit;if(changedParams.includes('thumbs')&&passedParams.thumbs&&passedParams.thumbs.swiper&&currentParams.thumbs&&!currentParams.thumbs.swiper){needThumbsInit=true;}if(changedParams.includes('controller')&&passedParams.controller&&passedParams.controller.control&&currentParams.controller&&!currentParams.controller.control){needControllerInit=true;}if(changedParams.includes('pagination')&&passedParams.pagination&&(passedParams.pagination.el||paginationEl)&&(currentParams.pagination||currentParams.pagination===false)&&pagination&&!pagination.el){needPaginationInit=true;}if(changedParams.includes('scrollbar')&&passedParams.scrollbar&&(passedParams.scrollbar.el||scrollbarEl)&&(currentParams.scrollbar||currentParams.scrollbar===false)&&scrollbar&&!scrollbar.el){needScrollbarInit=true;}if(changedParams.includes('navigation')&&passedParams.navigation&&(passedParams.navigation.prevEl||prevEl)&&(passedParams.navigation.nextEl||nextEl)&&(currentParams.navigation||currentParams.navigation===false)&&navigation&&!navigation.prevEl&&!navigation.nextEl){needNavigationInit=true;}var destroyModule=function destroyModule(mod){if(!swiper[mod])return;swiper[mod].destroy();if(mod==='navigation'){currentParams[mod].prevEl=undefined;currentParams[mod].nextEl=undefined;swiper[mod].prevEl=undefined;swiper[mod].nextEl=undefined;}else{currentParams[mod].el=undefined;swiper[mod].el=undefined;}};updateParams.forEach(function(key){if(isObject(currentParams[key])&&isObject(passedParams[key])){extend(currentParams[key],passedParams[key]);}else{var newValue=passedParams[key];if((newValue===true||newValue===false)&&(key==='navigation'||key==='pagination'||key==='scrollbar')){if(newValue===false){destroyModule(key);}}else{currentParams[key]=passedParams[key];}}});if(updateParams.includes('controller')&&!needControllerInit&&swiper.controller&&swiper.controller.control&&currentParams.controller&&currentParams.controller.control){swiper.controller.control=currentParams.controller.control;}if(changedParams.includes('children')&&slides&&virtual&&currentParams.virtual.enabled){virtual.slides=slides;virtual.update(true);}else if(changedParams.includes('children')&&swiper.lazy&&swiper.params.lazy.enabled){swiper.lazy.load();}if(needThumbsInit){var initialized=thumbs.init();if(initialized)thumbs.update(true);}if(needControllerInit){swiper.controller.control=currentParams.controller.control;}if(needPaginationInit){if(paginationEl)currentParams.pagination.el=paginationEl;pagination.init();pagination.render();pagination.update();}if(needScrollbarInit){if(scrollbarEl)currentParams.scrollbar.el=scrollbarEl;scrollbar.init();scrollbar.updateSize();scrollbar.setTranslate();}if(needNavigationInit){if(nextEl)currentParams.navigation.nextEl=nextEl;if(prevEl)currentParams.navigation.prevEl=prevEl;navigation.init();navigation.update();}if(changedParams.includes('allowSlideNext')){swiper.allowSlideNext=passedParams.allowSlideNext;}if(changedParams.includes('allowSlidePrev')){swiper.allowSlidePrev=passedParams.allowSlidePrev;}if(changedParams.includes('direction')){swiper.changeDirection(passedParams.direction,false);}swiper.update();}function renderVirtual(swiperRef,slides,virtualData){if(!virtualData)return null;var style=swiperRef.value.isHorizontal()?_defineProperty({},swiperRef.value.rtlTranslate?'right':'left',"".concat(virtualData.offset,"px")):{top:"".concat(virtualData.offset,"px")};return slides.filter(function(slide,index){return index>=virtualData.from&&index<=virtualData.to;}).map(function(slide){if(!slide.props)slide.props={};if(!slide.props.style)slide.props.style={};slide.props.swiperRef=swiperRef;slide.props.style=style;return h(slide.type,_objectSpread({},slide.props),slide.children);});}var updateOnVirtualData=function updateOnVirtualData(swiper){if(!swiper||swiper.destroyed||!swiper.params.virtual||swiper.params.virtual&&!swiper.params.virtual.enabled)return;swiper.updateSlides();swiper.updateProgress();swiper.updateSlidesClasses();if(swiper.lazy&&swiper.params.lazy.enabled){swiper.lazy.load();}if(swiper.parallax&&swiper.params.parallax&&swiper.params.parallax.enabled){swiper.parallax.setTranslate();}};var Swiper={name:'Swiper',props:{tag:{type:String,default:'div'},wrapperTag:{type:String,default:'div'},modules:{type:Array,default:undefined},init:{type:Boolean,default:undefined},direction:{type:String,default:undefined},touchEventsTarget:{type:String,default:undefined},initialSlide:{type:Number,default:undefined},speed:{type:Number,default:undefined},cssMode:{type:Boolean,default:undefined},updateOnWindowResize:{type:Boolean,default:undefined},resizeObserver:{type:Boolean,default:undefined},nested:{type:Boolean,default:undefined},focusableElements:{type:String,default:undefined},width:{type:Number,default:undefined},height:{type:Number,default:undefined},preventInteractionOnTransition:{type:Boolean,default:undefined},userAgent:{type:String,default:undefined},url:{type:String,default:undefined},edgeSwipeDetection:{type:[Boolean,String],default:undefined},edgeSwipeThreshold:{type:Number,default:undefined},autoHeight:{type:Boolean,default:undefined},setWrapperSize:{type:Boolean,default:undefined},virtualTranslate:{type:Boolean,default:undefined},effect:{type:String,default:undefined},breakpoints:{type:Object,default:undefined},spaceBetween:{type:Number,default:undefined},slidesPerView:{type:[Number,String],default:undefined},maxBackfaceHiddenSlides:{type:Number,default:undefined},slidesPerGroup:{type:Number,default:undefined},slidesPerGroupSkip:{type:Number,default:undefined},slidesPerGroupAuto:{type:Boolean,default:undefined},centeredSlides:{type:Boolean,default:undefined},centeredSlidesBounds:{type:Boolean,default:undefined},slidesOffsetBefore:{type:Number,default:undefined},slidesOffsetAfter:{type:Number,default:undefined},normalizeSlideIndex:{type:Boolean,default:undefined},centerInsufficientSlides:{type:Boolean,default:undefined},watchOverflow:{type:Boolean,default:undefined},roundLengths:{type:Boolean,default:undefined},touchRatio:{type:Number,default:undefined},touchAngle:{type:Number,default:undefined},simulateTouch:{type:Boolean,default:undefined},shortSwipes:{type:Boolean,default:undefined},longSwipes:{type:Boolean,default:undefined},longSwipesRatio:{type:Number,default:undefined},longSwipesMs:{type:Number,default:undefined},followFinger:{type:Boolean,default:undefined},allowTouchMove:{type:Boolean,default:undefined},threshold:{type:Number,default:undefined},touchMoveStopPropagation:{type:Boolean,default:undefined},touchStartPreventDefault:{type:Boolean,default:undefined},touchStartForcePreventDefault:{type:Boolean,default:undefined},touchReleaseOnEdges:{type:Boolean,default:undefined},uniqueNavElements:{type:Boolean,default:undefined},resistance:{type:Boolean,default:undefined},resistanceRatio:{type:Number,default:undefined},watchSlidesProgress:{type:Boolean,default:undefined},grabCursor:{type:Boolean,default:undefined},preventClicks:{type:Boolean,default:undefined},preventClicksPropagation:{type:Boolean,default:undefined},slideToClickedSlide:{type:Boolean,default:undefined},preloadImages:{type:Boolean,default:undefined},updateOnImagesReady:{type:Boolean,default:undefined},loop:{type:Boolean,default:undefined},loopAdditionalSlides:{type:Number,default:undefined},loopedSlides:{type:Number,default:undefined},loopFillGroupWithBlank:{type:Boolean,default:undefined},loopPreventsSlide:{type:Boolean,default:undefined},rewind:{type:Boolean,default:undefined},allowSlidePrev:{type:Boolean,default:undefined},allowSlideNext:{type:Boolean,default:undefined},swipeHandler:{type:Boolean,default:undefined},noSwiping:{type:Boolean,default:undefined},noSwipingClass:{type:String,default:undefined},noSwipingSelector:{type:String,default:undefined},passiveListeners:{type:Boolean,default:undefined},containerModifierClass:{type:String,default:undefined},slideClass:{type:String,default:undefined},slideBlankClass:{type:String,default:undefined},slideActiveClass:{type:String,default:undefined},slideDuplicateActiveClass:{type:String,default:undefined},slideVisibleClass:{type:String,default:undefined},slideDuplicateClass:{type:String,default:undefined},slideNextClass:{type:String,default:undefined},slideDuplicateNextClass:{type:String,default:undefined},slidePrevClass:{type:String,default:undefined},slideDuplicatePrevClass:{type:String,default:undefined},wrapperClass:{type:String,default:undefined},runCallbacksOnInit:{type:Boolean,default:undefined},observer:{type:Boolean,default:undefined},observeParents:{type:Boolean,default:undefined},observeSlideChildren:{type:Boolean,default:undefined},a11y:{type:[Boolean,Object],default:undefined},autoplay:{type:[Boolean,Object],default:undefined},controller:{type:Object,default:undefined},coverflowEffect:{type:Object,default:undefined},cubeEffect:{type:Object,default:undefined},fadeEffect:{type:Object,default:undefined},flipEffect:{type:Object,default:undefined},creativeEffect:{type:Object,default:undefined},cardsEffect:{type:Object,default:undefined},hashNavigation:{type:[Boolean,Object],default:undefined},history:{type:[Boolean,Object],default:undefined},keyboard:{type:[Boolean,Object],default:undefined},lazy:{type:[Boolean,Object],default:undefined},mousewheel:{type:[Boolean,Object],default:undefined},navigation:{type:[Boolean,Object],default:undefined},pagination:{type:[Boolean,Object],default:undefined},parallax:{type:[Boolean,Object],default:undefined},scrollbar:{type:[Boolean,Object],default:undefined},thumbs:{type:Object,default:undefined},virtual:{type:[Boolean,Object],default:undefined},zoom:{type:[Boolean,Object],default:undefined},grid:{type:[Object],default:undefined},freeMode:{type:[Boolean,Object],default:undefined},enabled:{type:Boolean,default:undefined}},emits:['_beforeBreakpoint','_containerClasses','_slideClass','_slideClasses','_swiper','_freeModeNoMomentumRelease','activeIndexChange','afterInit','autoplay','autoplayStart','autoplayStop','autoplayPause','autoplayResume','beforeDestroy','beforeInit','beforeLoopFix','beforeResize','beforeSlideChangeStart','beforeTransitionStart','breakpoint','changeDirection','click','disable','doubleTap','doubleClick','destroy','enable','fromEdge','hashChange','hashSet','imagesReady','init','keyPress','lazyImageLoad','lazyImageReady','lock','loopFix','momentumBounce','navigationHide','navigationShow','navigationPrev','navigationNext','observerUpdate','orientationchange','paginationHide','paginationRender','paginationShow','paginationUpdate','progress','reachBeginning','reachEnd','realIndexChange','resize','scroll','scrollbarDragEnd','scrollbarDragMove','scrollbarDragStart','setTransition','setTranslate','slideChange','slideChangeTransitionEnd','slideChangeTransitionStart','slideNextTransitionEnd','slideNextTransitionStart','slidePrevTransitionEnd','slidePrevTransitionStart','slideResetTransitionStart','slideResetTransitionEnd','sliderMove','sliderFirstMove','slidesLengthChange','slidesGridLengthChange','snapGridLengthChange','snapIndexChange','swiper','tap','toEdge','touchEnd','touchMove','touchMoveOpposite','touchStart','transitionEnd','transitionStart','unlock','update','virtualUpdate','zoomChange'],setup:function setup(props,_ref){var originalSlots=_ref.slots,emit=_ref.emit;var Tag=props.tag,WrapperTag=props.wrapperTag;var containerClasses=ref('swiper');var virtualData=ref(null);var breakpointChanged=ref(false);var initializedRef=ref(false);var swiperElRef=ref(null);var swiperRef=ref(null);var oldPassedParamsRef=ref(null);var slidesRef={value:[]};var oldSlidesRef={value:[]};var nextElRef=ref(null);var prevElRef=ref(null);var paginationElRef=ref(null);var scrollbarElRef=ref(null);var _getParams=getParams(props,false),swiperParams=_getParams.params,passedParams=_getParams.passedParams;getChildren(originalSlots,slidesRef,oldSlidesRef);oldPassedParamsRef.value=passedParams;oldSlidesRef.value=slidesRef.value;var onBeforeBreakpoint=function onBeforeBreakpoint(){getChildren(originalSlots,slidesRef,oldSlidesRef);breakpointChanged.value=true;};swiperParams.onAny=function(event){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){args[_key-1]=arguments[_key];}emit.apply(void 0,[event].concat(args));};Object.assign(swiperParams.on,{_beforeBreakpoint:onBeforeBreakpoint,_containerClasses:function _containerClasses(swiper,classes){containerClasses.value=classes;}});// init Swiper
  245. swiperRef.value=new Swiper$1(swiperParams);swiperRef.value.loopCreate=function(){};swiperRef.value.loopDestroy=function(){};if(swiperParams.loop){swiperRef.value.loopedSlides=calcLoopedSlides(slidesRef.value,swiperParams);}if(swiperRef.value.virtual&&swiperRef.value.params.virtual.enabled){swiperRef.value.virtual.slides=slidesRef.value;var extendWith={cache:false,slides:slidesRef.value,renderExternal:function renderExternal(data){virtualData.value=data;},renderExternalUpdate:false};extend(swiperRef.value.params.virtual,extendWith);extend(swiperRef.value.originalParams.virtual,extendWith);}onUpdated(function(){// set initialized flag
  246. if(!initializedRef.value&&swiperRef.value){swiperRef.value.emitSlidesClasses();initializedRef.value=true;}// watch for params change
  247. var _getParams2=getParams(props,false),newPassedParams=_getParams2.passedParams;var changedParams=getChangedParams(newPassedParams,oldPassedParamsRef.value,slidesRef.value,oldSlidesRef.value,function(c){return c.props&&c.props.key;});oldPassedParamsRef.value=newPassedParams;if((changedParams.length||breakpointChanged.value)&&swiperRef.value&&!swiperRef.value.destroyed){updateSwiper({swiper:swiperRef.value,slides:slidesRef.value,passedParams:newPassedParams,changedParams:changedParams,nextEl:nextElRef.value,prevEl:prevElRef.value,scrollbarEl:scrollbarElRef.value,paginationEl:paginationElRef.value});}breakpointChanged.value=false;});provide('swiper',swiperRef);// update on virtual update
  248. watch(virtualData,function(){nextTick$1(function(){updateOnVirtualData(swiperRef.value);});});// mount swiper
  249. onMounted(function(){if(!swiperElRef.value)return;mountSwiper({el:swiperElRef.value,nextEl:nextElRef.value,prevEl:prevElRef.value,paginationEl:paginationElRef.value,scrollbarEl:scrollbarElRef.value,swiper:swiperRef.value},swiperParams);emit('swiper',swiperRef.value);});onBeforeUnmount(function(){if(swiperRef.value&&!swiperRef.value.destroyed){swiperRef.value.destroy(true,false);}});// bypass swiper instance to slides
  250. function renderSlides(slides){if(swiperParams.virtual){return renderVirtual(swiperRef,slides,virtualData.value);}if(!swiperParams.loop||swiperRef.value&&swiperRef.value.destroyed){slides.forEach(function(slide){if(!slide.props)slide.props={};slide.props.swiperRef=swiperRef;});return slides;}return renderLoop(swiperRef,slides,swiperParams);}return function(){var _getChildren=getChildren(originalSlots,slidesRef,oldSlidesRef),slides=_getChildren.slides,slots=_getChildren.slots;return h(Tag,{ref:swiperElRef,class:uniqueClasses(containerClasses.value)},[slots['container-start'],h(WrapperTag,{class:'swiper-wrapper'},[slots['wrapper-start'],renderSlides(slides),slots['wrapper-end']]),needsNavigation(props)&&[h('div',{ref:prevElRef,class:'swiper-button-prev'}),h('div',{ref:nextElRef,class:'swiper-button-next'})],needsScrollbar(props)&&h('div',{ref:scrollbarElRef,class:'swiper-scrollbar'}),needsPagination(props)&&h('div',{ref:paginationElRef,class:'swiper-pagination'}),slots['container-end']]);};}};var SwiperSlide={name:'SwiperSlide',props:{tag:{type:String,default:'div'},swiperRef:{type:Object,required:false},zoom:{type:Boolean,default:undefined},virtualIndex:{type:[String,Number],default:undefined}},setup:function setup(props,_ref){var slots=_ref.slots;var eventAttached=false;var swiperRef=props.swiperRef;var slideElRef=ref(null);var slideClasses=ref('swiper-slide');function updateClasses(swiper,el,classNames){if(el===slideElRef.value){slideClasses.value=classNames;}}onMounted(function(){if(!swiperRef.value)return;swiperRef.value.on('_slideClass',updateClasses);eventAttached=true;});onBeforeUpdate(function(){if(eventAttached||!swiperRef||!swiperRef.value)return;swiperRef.value.on('_slideClass',updateClasses);eventAttached=true;});onUpdated(function(){if(!slideElRef.value||!swiperRef||!swiperRef.value)return;if(swiperRef.value.destroyed){if(slideClasses.value!=='swiper-slide'){slideClasses.value='swiper-slide';}}});onBeforeUnmount(function(){if(!swiperRef||!swiperRef.value)return;swiperRef.value.off('_slideClass',updateClasses);});var slideData=computed(function(){return{isActive:slideClasses.value.indexOf('swiper-slide-active')>=0||slideClasses.value.indexOf('swiper-slide-duplicate-active')>=0,isVisible:slideClasses.value.indexOf('swiper-slide-visible')>=0,isDuplicate:slideClasses.value.indexOf('swiper-slide-duplicate')>=0,isPrev:slideClasses.value.indexOf('swiper-slide-prev')>=0||slideClasses.value.indexOf('swiper-slide-duplicate-prev')>=0,isNext:slideClasses.value.indexOf('swiper-slide-next')>=0||slideClasses.value.indexOf('swiper-slide-duplicate-next')>=0};});provide('swiperSlide',slideData);return function(){return h(props.tag,{class:uniqueClasses("".concat(slideClasses.value)),ref:slideElRef,'data-swiper-slide-index':props.virtualIndex},props.zoom?h('div',{class:'swiper-zoom-container','data-swiper-zoom':typeof props.zoom==='number'?props.zoom:undefined},slots.default&&slots.default(slideData.value)):slots.default&&slots.default(slideData.value));};}};var bannerArrow="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAYAAABxlTA0AAAAAXNSR0IArs4c6QAABgRJREFUeF7tnenLHEUQxp9SPFC8guL1RfG+8FbwVtQvXuAVFRHB/8wPGhWF6BdRUfECj4hB4xEVI6JvghJNoqhILHnmrY2zu7Oz3ds9vdOz3TBkebPTx69rq6u7q6sFPUmqKgCOAXCsPfx8NIDDABxSe1jjf2rP3wD2AtgD4Dd79oiI9qFpbNTSkqoeB+BUAKcAONlgxqgPoa8B+AnAjyLya4xMF8kjOWBVpVSeZQ8/p0iU8K/5iAg/J0tJANvP/0wA5wM4MVnrmgvaBeBzAN+kUCOdAlbVgwCcDeAS06dLZjtWPCX5EwDbReTfrirWGWBVJdgrARzZVeUj5fsHgA9FZHuk/MayiQ7YBq7rbNDqos5d5clB8Z3YA2I0wKYOKLEXAaBqyDFRVXxqEh1FbUQBrKpHAbgVwAk5Um2o888AXhORfaHtCQasqqcDuCGiDRvapljv05Z+S0S+C8kwCLCqXgbgipAKZPDuRyLy8aL1XAiw2bXXALhg0YIze28bgPcWsZu9AdtgdjOAMzKDFFrdbwG84WszewE2yb1lBeGOOoeQX/eRZF/A166QWpgl8dtE5F3Xn4Mz4BUZ0Fy5OQ98ToDNFLvNtfQV+d6rLibcXMA2ibh3gHZuqBzQTn5h3mSkFbBZDPcMaIYWCnXyfc74NrdZFvMAXw3g4ti1Glh+W0Xk/VltmgnYVsXuy3jhJlU/clHo+VmrcG2A7wZwUqpaZl7OThF5sakNjYBtsfymzBq9H8AvAPjv8QAOTVz/N5sW7acA28D2cAY7EXV+OwC8LSJ/8o+qejCAS+2ZaylF6gjujDw9OeA1AT4PwPWRCk2RDXeLKT1TfhCqmnqQZid/UW/0GGBba9jYww3KWR01E65JMtXEYwkHam6kPlPv7EnA9FfgSlkOqRXuqAGq+qB5CqVqE1fcWLcqTQLmpGLZfgsuIJzgmhQ/CuAIl0wjfWeXiGyeAmweNw9FKqTLbHzgUlgoNKnTppEH0QEJVtXLAfDpc/KBS6dB2vL0f0udtojIljEVoaqU3lS+Yos02BfuHWYPL1JW6Dt7RWTTAcA2LX4gNNcO388J7gjDc5w+VypCVS8EwE3MPqYc4ZIjN0k/GwG+HcBpPaSbK1yi3CEir4hNLmiMc1DoU8oZLjlyQf5JAqbLPo3xPqXc4Y5YPkvAVA1UEX1JQ4FLnpWKoHP0VT2hOyS4RPoBAd8I4JweAB4aXCL9ioDv6oGztA9crpDducRJhI8srhHw/QA2+LwV+bu+cDlDy8UPeTcBc/eCDtTLSD8AeNnF10tVKbk5wSXPfQRMG/jwZdC1xWme0GxNmcJlm/4i4CcAcA8rdfpdRJ6aV2jGcNm0/QXwvB4O+/8KcFERYRDb3q5URBnkugNcDXLFTOsOcGWm5TjRyMVcqyYaOU6Vc7GJq6lyros9OUCuFntyXq7s+7pEtVxZFty7G+SqBXfuy5Uto/iQ17eMmK+qlk3P+IDXNz0NcNm2jw94bNue7kXF8SQu5P8dT0yKi+tUPMDjrlMGeIjOf/SspJWUOjU6/9Hxb2juq4woyP271GnafdWkeIgO2I8nPnHU7IBtgId4hCC1h3vrEQKabUM6BMOgeI9MHpXoUF+0H4IxKT7Xokh1WI+oWbcd4+JhSkYgTJUYperLemFDOYj4vUXt42FAzkzpKUp3MJ75S5XcDiJaBdnruR2l5UHE3QB4OJuONKl3yt2O0o66uyc7HamkL7ScNRF5qSmTEs4gFO36L8Y/nIGpitRnfcObmz6HxQJyGGBGUS0hZWZ3WlhIGYNMx8ASFGkacnhQpNqAxwirJazXOOQ4Yb1qkFch0qqrBo8bmK4GuYRWBLoJrWj6mGZdCQ7qccuMdzybEt7W70oIb8A1SS4Bmh009kKAV2zgcx7QvKbKDp1TfaUEyW8nFSTBNUku1zzM4BwFcG1aXS4qmQAdDXBNmunEwsB2ucW93GnRA6PePRcdcA10uSyq681As5l50JwxiPsWcIkblFurA9s5XndWV0Xlwj5XmyzC98qVkxEgumZRLk11JRXhe0O99vc/gxLm8fNyXBwAAAAASUVORK5CYII=";var bannerArrowAcitive="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAYAAABxlTA0AAAAAXNSR0IArs4c6QAACAFJREFUeF7tnWtsFFUUx/9ntls1oREjH4xBRVErdafiI3QXgka/6Ac/2Gi3ooBoosbgIzExGJ8ragQ/mPiKUSM+8NUppMQvPkggPGS3xmdnrVQtKmLUSAIJJEqXnWPubFu62+3OezozzH7cvffcc39zd+655557LiEoH85JqcIFrSRRKzS0gqTzAT4XoJkAtxDQwkwtQl0iPsTAIYAOAXwQoJ/B2o+QMMQaDxXTu4dAOS0IXaPpVKL98w9TmpS4kpivAuEKAKe4pM8BMLYx0RZJK28dWHRj0SW5lsX4Djj1Zd9cqTSyjJmWgXCOZY3tVGDsIeL1WrJ5ffGyzmE7IuzW8QcwK4lUPy8hprsAZMS/3K7CDusxgDwTv1LsoA9A2bJDeYbVPe1oW1FpThySbgG0VQDmGmrjb4FhQFpbbtHeHkxlR7xq2jPA7f29y1nD0wDP9kp5d+TSPpLw8EBH1zvuyKuW4jpgMXFxQnoZjMu9UNgzmYTtVNZWuj0huga4TVGaE2fQaoDvB5D0DIS3gksAPVf+nR8bzLrz2nAF8Px835yjVOohxgJv+++PdCZ80cTJ7m8znb86bdEx4Iv6lU6tjHUgzHSqTKDqMw5KCdz2XUe2z4lejgDL+d5HAF49jWaXk76bqcsAPaZmup4yU7heGXuAczlJvrrteQB32204ZPVeUj8dvA8568tvy4CFbdt0GO8woztkkBypS4SeozOw3KrNbA1wLie1X9P2/vEGd+zJCMgDnwzeZGUkWwIs55UXj6PXwlQj/iU1k73H7N/BNODRCe1Js4KjXY4eNTvxmQKsm2IaNkbYWrA6HliScL0ZE84QsFhElLn0TeTsXKtIa8szDiYoebHRYqQhYLH8lc7Ejqis0JwyncSY8IW2F4sbLasbApb7e9dAY+FqjD9TEZBordrR9eBUP08JWPeKSdLXIXbc+DUoSqRpl0zlhZsSsFxQtoXO5egX0tp2CNvVdFbsKU761AVccZbz29Olr812R8D4ign/EXAJgJNtyrFVjSS6pZ7TfhLgyjYPDQd/J2ICB8KmsoS7Bhdk/xLfztn65oktJ814CMyP+Gda0r5yC8+tXUpPAiwXlDvAeNXWY5yGSkxYX+zoWgGiSXEQqYLyLDEe8E0twp1qOvvaxPaqAbOSkPP40bftdIc9bwRXiJ7/Td/M8pHS32A0O2zKbPVhNS2CZo7tVlcBThU2LCXW1puVNp3ljOCO6SYXlN1gtPqlKxMvK6a73x1rrwqwnFc+B7DQL2XstmMWrpAv55U/AZxmty0b9XapmeyiSYBFxA2VSj/5NynYUB2AFbgX5nsWSaCd9lqyXYs5mTxvLIJofAS353tyDHrctlgfKlqBK+947xRuSu4koM0H1aqaIPATA5nunPhyHLC8SxkO8uRmFS6akpsBXOo3XL09xh51YVaPZNIBjy6L1WlRxkSjoYI72h/SNFksn3XAqXzvPQR+wURffS8SRriVQUz3FjNdL+qA5V1KHwjX+U7PoEHLcJPNn4H5skD0g7FJXZjtJHBOkgtt+10Mfnalf6GGWyFwQE0PzqJU/sN5BGnQFSouCbEMdzontAZ9ZmhtJPf3XAeNHIUHucS1MgE38C3UtiNMMQTptVCroMSdJOd7VgG0xk1IdmVFCm5luDwoAK8D6Fa7UNyqFz24+nGodSTvUraDsNgtUHbkWIFb8ZAd3RwYa6FRhxk7SM4rA8JSswPGjTrW4ZY2gxEMU8wYgCoA/yI2AYzLelLiYzXddW09Z3lta6O+3TDBFV34VQAWNvCpnuBrJJSIj2Kk9Yf0zcKD1/ATUrggwn6S873/AXyCUSdd/52xV12YPctIbljhVvpFR8IB+N/SZlBo3rsTxgwdofaC8g8zZhmNJNd/P25eEQVlDxhnuw7QnMBoT3KEX2IzzdxAsFeKaCCkC42Q2MLi9Khc6H0DzLfZe0Tu1YrkgkNfKofU2RMO8004e0Lsrgy8X0K4KyPhcA+oT1h3uMdbRu7NIzWSKltG4st409MDyOObnlHbtg/I66Jq2z5ygScBgFwVeDL6mohW6NR0Qq4NnRKAoxj8h6akCMed58EbtqHIusF/kQxfLWy8UuLyFp8B1w9f1V8TUQvAZhaugAM+nziqH4AtAKcKPUuJKVpHCPLKHwBO92sUNzxCAHEIpoChAGbpq8vHyEHUXtg4m7m818eo/caHYCqviQ23A1rVUSS/nr6ddhpBlgvKm2CssCPXXh3pDjVzw+sT60blIOJHhMTKgfT1+/RBosesNT0DpjvtgbJTy+RBRN1kC+NRWkYZhO9BNAKNZRB83Sk3fZR27NnFh8EtjGKrh8H1URynMzBL2F46g8qE17sGiBNyNCZNa9WMjYQcQmicUqYxWpFE1FFKGSE+Too0BWQ3kiKNiY7Tek2C7F5ar3GropJpNU5MpwNxOTHdMchxakUA3qRW1CHHyUG9TQ6qWxbHc3rbvVhuNbe7YWrFunNonKDZ7CLE2Y0scYpxY872RvAEuXGSfIN1nvEzMC4RX/MwNSPHI3hMtH5RyVm0GlrILyqR6LnybwG7qGTi84uv2qkeza6N4No/SXxZVIWIZ4DHbObEYayAhlWBS7jE2AMJa8sz8JbVqxuMZ6VjJTwFPN6MfmGftIRYC8iFfdIrxQ4t/Bf21XvS8ZWTVsa/w7LxpakOAVqqXnvtL9AKpnNHbz9oIcKMqmt/GYchrv5lHATxzwCGgnjt7/9jslp9c98ESQAAAABJRU5ErkJggg==";var banner=exports('b',defineComponent({name:'banner',props:{title:{type:String,default:''}},components:{Swiper:Swiper,SwiperSlide:SwiperSlide},setup:function setup(props,conent){var state=reactive({title:props.title,modules:[Navigation,Pagination,Scrollbar,Autoplay,A11y],bannerList:[],leftHover:false,rightHover:false,swiper:null});var router=useRouter();var onSwiper=function onSwiper(swiper){state.swiper=swiper;// console.log(swiper)
  251. };var onSlideChange=function onSlideChange(){// console.log('slide change')
  252. };var getBannerList=/*#__PURE__*/function(){var _ref5=_asyncToGenerator(/*#__PURE__*/regeneratorRuntime.mark(function _callee(){var res;return regeneratorRuntime.wrap(function _callee$(_context){while(1){switch(_context.prev=_context.next){case 0:_context.prev=0;_context.next=3;return request.get('/api-website/open/banner/list',{data:{}});case 3:res=_context.sent;state.bannerList=res.data;_context.next=10;break;case 7:_context.prev=7;_context.t0=_context["catch"](0);console.log(_context.t0);case 10:case"end":return _context.stop();}}},_callee,null,[[0,7]]);}));return function getBannerList(){return _ref5.apply(this,arguments);};}();var gotoBannerInfo=function gotoBannerInfo(item){if(item.linkUrl.indexOf('http')!=-1){window.open(item.linkUrl);}else{router.push({path:item.linkUrl});}};onMounted(function(){getBannerList();// window.onresize = () => {
  253. // console.log(state.swiper)
  254. // state.swiper.updateSize()
  255. // window.location.reload()
  256. // }
  257. });return function(){return createVNode(Fragment,null,[createVNode("div",{"class":"bannerSwiper"},[createVNode(resolveComponent("swiper"),{"modules":state.modules,"class":[classes$1.mySwiper,'mySwiper'],"slides-per-view":1,"space-between":0,"pagination":{clickable:true},"autoplay":{delay:3000,disableOnInteraction:false,loop:true,pauseOnMouseEnter:true,reverseDirection:true},"navigation":{nextEl:'.myprev',prevEl:'.mynext'},"loop":true,"onSwiper":onSwiper,"onSlideChange":onSlideChange},{default:function _default(){return[state.bannerList.map(function(item){return createVNode(Fragment,null,[createVNode(resolveComponent("swiper-slide"),null,{default:function _default(){return[createVNode("div",{"class":classes$1.bannerWrap,"style":{'background':item.background}},[createVNode("img",{"src":item.coverImage,"alt":"","class":classes$1.bannerImg,"onClick":function onClick(){gotoBannerInfo(item);}},null)])];}})]);}),createVNode("div",{"class":"myprev","onMouseover":function onMouseover(){state.leftHover=true;},"onMouseout":function onMouseout(){state.leftHover=false;}},[createVNode("img",{"src":state.leftHover?bannerArrowAcitive:bannerArrow,"alt":""},null)]),createVNode("div",{"class":"mynext","onMouseover":function onMouseover(){state.rightHover=true;},"onMouseout":function onMouseout(){state.rightHover=false;}},[createVNode("img",{"src":state.rightHover?bannerArrowAcitive:bannerArrow,"alt":""},null)])];}})])]);};}}));}};});})();