var _getAnalyticUaCode;function _superPropGet(e,t,n,i){var a=_get(_getPrototypeOf(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof a?function(e){return a.apply(n,e)}:a}function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var i=_superPropBase(e,t);if(i){var a=Object.getOwnPropertyDescriptor(i,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},_get.apply(null,arguments)}function _superPropBase(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=_getPrototypeOf(e)););return e}function _callSuper(e,t,n){return t=_getPrototypeOf(t),_possibleConstructorReturn(e,_isNativeReflectConstruct()?Reflect.construct(t,n||[],_getPrototypeOf(e).constructor):t.apply(e,n))}function _possibleConstructorReturn(e,t){if(t&&("object"==_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _getPrototypeOf(e){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_getPrototypeOf(e)}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_setPrototypeOf(e,t)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function _objectSpread(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,r=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw r}}}}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,a,r,o,s=[],l=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=r.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_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(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n0?document.querySelector(r(e)):null},c=function(e){if(!s(e)||0===e.getClientRects().length)return!1;var t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){var i=e.closest("summary");if(i&&i.parentNode!==n)return!1;if(null===i)return!1}return t},u=function(e){return!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))},d=function(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?d(e.parentNode):null},p=function(){},f=function(e){e.offsetHeight},h=function(){return window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null},m=[],v=function(){return"rtl"===document.documentElement.dir},g=function(e){var t;t=function(){var t=h();if(t){var n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=function(){return t.fn[n]=i,e.jQueryInterface}}},"loading"===document.readyState?(m.length||document.addEventListener("DOMContentLoaded",(function(){for(var e=0,t=m;e1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;return"function"==typeof e?e.apply(void 0,_toConsumableArray(t)):n},b=function(e,t){if(!(arguments.length>2&&void 0!==arguments[2])||arguments[2]){var n=function(e){if(!e)return 0;var t=window.getComputedStyle(e),n=t.transitionDuration,i=t.transitionDelay,a=Number.parseFloat(n),r=Number.parseFloat(i);return a||r?(n=n.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(n)+Number.parseFloat(i))):0}(t)+5,i=!1,r=function(n){n.target===t&&(i=!0,t.removeEventListener(a,r),y(e))};t.addEventListener(a,r),setTimeout((function(){i||o(t)}),n)}else y(e)},w=function(e,t,n,i){var a=e.length,r=e.indexOf(t);return-1===r?!n&&i?e[a-1]:e[0]:(r+=n?1:-1,i&&(r=(r+a)%a),e[Math.max(0,Math.min(r,a-1))])},_=/[^.]*(?=\..*)\.|.*/,x=/\..*/,E=/::\d+$/,T={},S=1,k={mouseenter:"mouseover",mouseleave:"mouseout"},C=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function A(e,t){return t&&"".concat(t,"::").concat(S++)||e.uidEvent||S++}function M(e){var t=A(e);return e.uidEvent=t,T[t]=T[t]||{},T[t]}function I(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object.values(e).find((function(e){return e.callable===t&&e.delegationSelector===n}))}function L(e,t,n){var i="string"==typeof t,a=i?n:t||n,r=D(e);return C.has(r)||(r=e),[i,a,r]}function O(e,t,n,i,a){if("string"==typeof t&&e){var r=_slicedToArray(L(t,n,i),3),o=r[0],s=r[1],l=r[2];if(t in k){s=function(e){return function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)}}(s)}var c=M(e),u=c[l]||(c[l]={}),d=I(u,s,o?n:null);if(d)d.oneOff=d.oneOff&&a;else{var p=A(s,t.replace(_,"")),f=o?function(e,t,n){return function i(a){for(var r=e.querySelectorAll(t),o=a.target;o&&o!==this;o=o.parentNode){var s,l=_createForOfIteratorHelper(r);try{for(l.s();!(s=l.n()).done;){if(s.value===o)return H(a,{delegateTarget:o}),i.oneOff&&N.off(e,a.type,t,n),n.apply(o,[a])}}catch(e){l.e(e)}finally{l.f()}}}}(e,n,s):function(e,t){return function n(i){return H(i,{delegateTarget:e}),n.oneOff&&N.off(e,i.type,t),t.apply(e,[i])}}(e,s);f.delegationSelector=o?n:null,f.callable=s,f.oneOff=a,f.uidEvent=p,u[p]=f,e.addEventListener(l,f,o)}}}function P(e,t,n,i,a){var r=I(t[n],i,a);r&&(e.removeEventListener(n,r,Boolean(a)),delete t[n][r.uidEvent])}function z(e,t,n,i){for(var a=t[n]||{},r=0,o=Object.entries(a);r1&&void 0!==arguments[1]?arguments[1]:{},n=function(){var t=_slicedToArray(a[i],2),n=t[0],r=t[1];try{e[n]=r}catch(t){Object.defineProperty(e,n,{configurable:!0,get:function(){return r}})}},i=0,a=Object.entries(t);i1&&void 0!==arguments[1]?arguments[1]:this.constructor.DefaultType,i=0,a=Object.entries(n);i2&&void 0!==arguments[2])||arguments[2])}},{key:"_getConfig",value:function(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}}],[{key:"getInstance",value:function(e){return n(l(e),this.DATA_KEY)}},{key:"getOrCreateInstance",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(e)||new this(e,"object"==_typeof(t)?t:null)}},{key:"VERSION",get:function(){return"5.3.0"}},{key:"DATA_KEY",get:function(){return"bs.".concat(this.NAME)}},{key:"EVENT_KEY",get:function(){return".".concat(this.DATA_KEY)}},{key:"eventName",value:function(e){return"".concat(e).concat(this.EVENT_KEY)}}])}($),V=function(e){var t=e.getAttribute("data-bs-target");if(!t||"#"===t){var n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n="#".concat(n.split("#")[1])),t=n&&"#"!==n?n.trim():null}return r(t)},Y={find:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return(t=[]).concat.apply(t,_toConsumableArray(Element.prototype.querySelectorAll.call(n,e)))},findOne:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return Element.prototype.querySelector.call(t,e)},children:function(e,t){var n;return(n=[]).concat.apply(n,_toConsumableArray(e.children)).filter((function(e){return e.matches(t)}))},parents:function(e,t){for(var n=[],i=e.parentNode.closest(t);i;)n.push(i),i=i.parentNode.closest(t);return n},prev:function(e,t){for(var n=e.previousElementSibling;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next:function(e,t){for(var n=e.nextElementSibling;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren:function(e){var t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((function(e){return"".concat(e,':not([tabindex^="-"])')})).join(",");return this.find(t,e).filter((function(e){return!u(e)&&c(e)}))},getSelectorFromElement:function(e){var t=V(e);return t&&Y.findOne(t)?t:null},getElementFromSelector:function(e){var t=V(e);return t?Y.findOne(t):null},getMultipleElementsFromSelector:function(e){var t=V(e);return t?Y.find(t):[]}},X=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"hide",n="click.dismiss".concat(e.EVENT_KEY),i=e.NAME;N.on(document,n,'[data-bs-dismiss="'.concat(i,'"]'),(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),!u(this)){var a=Y.getElementFromSelector(this)||this.closest(".".concat(i));e.getOrCreateInstance(a)[t]()}}))},U=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"close",value:function(){var e=this;if(!N.trigger(this._element,"close.bs.alert").defaultPrevented){this._element.classList.remove("show");var t=this._element.classList.contains("fade");this._queueCallback((function(){return e._destroyElement()}),this._element,t)}}},{key:"_destroyElement",value:function(){this._element.remove(),N.trigger(this._element,"closed.bs.alert"),this.dispose()}}],[{key:"NAME",get:function(){return"alert"}},{key:"jQueryInterface",value:function(e){return this.each((function(){var n=t.getOrCreateInstance(this);if("string"==typeof e){if(void 0===n[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));n[e](this)}}))}}])}(G);X(U,"close"),g(U);var Q='[data-bs-toggle="button"]',K=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"toggle",value:function(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}}],[{key:"NAME",get:function(){return"button"}},{key:"jQueryInterface",value:function(e){return this.each((function(){var n=t.getOrCreateInstance(this);"toggle"===e&&n[e]()}))}}])}(G);N.on(document,"click.bs.button.data-api",Q,(function(e){e.preventDefault();var t=e.target.closest(Q);K.getOrCreateInstance(t).toggle()})),g(K);var Z={endCallback:null,leftCallback:null,rightCallback:null},J={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"},ee=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t))._element=e,e&&t.isSupported()&&(i._config=i._getConfig(n),i._deltaX=0,i._supportPointerEvents=Boolean(window.PointerEvent),i._initEvents()),i}return _inherits(t,e),_createClass(t,[{key:"dispose",value:function(){N.off(this._element,".bs.swipe")}},{key:"_start",value:function(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}},{key:"_end",value:function(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),y(this._config.endCallback)}},{key:"_move",value:function(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}},{key:"_handleSwipe",value:function(){var e=Math.abs(this._deltaX);if(!(e<=40)){var t=e/this._deltaX;this._deltaX=0,t&&y(t>0?this._config.rightCallback:this._config.leftCallback)}}},{key:"_initEvents",value:function(){var e=this;this._supportPointerEvents?(N.on(this._element,"pointerdown.bs.swipe",(function(t){return e._start(t)})),N.on(this._element,"pointerup.bs.swipe",(function(t){return e._end(t)})),this._element.classList.add("pointer-event")):(N.on(this._element,"touchstart.bs.swipe",(function(t){return e._start(t)})),N.on(this._element,"touchmove.bs.swipe",(function(t){return e._move(t)})),N.on(this._element,"touchend.bs.swipe",(function(t){return e._end(t)})))}},{key:"_eventIsPointerPenTouch",value:function(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}}],[{key:"Default",get:function(){return Z}},{key:"DefaultType",get:function(){return J}},{key:"NAME",get:function(){return"swipe"}},{key:"isSupported",value:function(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}])}($),te="next",ne="prev",ie="left",ae="right",re="slid.bs.carousel",oe="carousel",se="active",le={ArrowLeft:ae,ArrowRight:ie},ce={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ue={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"},de=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t,[e,n]))._interval=null,i._activeElement=null,i._isSliding=!1,i.touchTimeout=null,i._swipeHelper=null,i._indicatorsElement=Y.findOne(".carousel-indicators",i._element),i._addEventListeners(),i._config.ride===oe&&i.cycle(),i}return _inherits(t,e),_createClass(t,[{key:"next",value:function(){this._slide(te)}},{key:"nextWhenVisible",value:function(){!document.hidden&&c(this._element)&&this.next()}},{key:"prev",value:function(){this._slide(ne)}},{key:"pause",value:function(){this._isSliding&&o(this._element),this._clearInterval()}},{key:"cycle",value:function(){var e=this;this._clearInterval(),this._updateInterval(),this._interval=setInterval((function(){return e.nextWhenVisible()}),this._config.interval)}},{key:"_maybeEnableCycle",value:function(){var e=this;this._config.ride&&(this._isSliding?N.one(this._element,re,(function(){return e.cycle()})):this.cycle())}},{key:"to",value:function(e){var t=this,n=this._getItems();if(!(e>n.length-1||e<0))if(this._isSliding)N.one(this._element,re,(function(){return t.to(e)}));else{var i=this._getItemIndex(this._getActive());if(i!==e){var a=e>i?te:ne;this._slide(a,n[e])}}}},{key:"dispose",value:function(){this._swipeHelper&&this._swipeHelper.dispose(),_superPropGet(t,"dispose",this,3)([])}},{key:"_configAfterMerge",value:function(e){return e.defaultInterval=e.interval,e}},{key:"_addEventListeners",value:function(){var e=this;this._config.keyboard&&N.on(this._element,"keydown.bs.carousel",(function(t){return e._keydown(t)})),"hover"===this._config.pause&&(N.on(this._element,"mouseenter.bs.carousel",(function(){return e.pause()})),N.on(this._element,"mouseleave.bs.carousel",(function(){return e._maybeEnableCycle()}))),this._config.touch&&ee.isSupported()&&this._addTouchEventListeners()}},{key:"_addTouchEventListeners",value:function(){var e,t=this,n=_createForOfIteratorHelper(Y.find(".carousel-item img",this._element));try{for(n.s();!(e=n.n()).done;){var i=e.value;N.on(i,"dragstart.bs.carousel",(function(e){return e.preventDefault()}))}}catch(e){n.e(e)}finally{n.f()}var a={leftCallback:function(){return t._slide(t._directionToOrder(ie))},rightCallback:function(){return t._slide(t._directionToOrder(ae))},endCallback:function(){"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout((function(){return t._maybeEnableCycle()}),500+t._config.interval))}};this._swipeHelper=new ee(this._element,a)}},{key:"_keydown",value:function(e){if(!/input|textarea/i.test(e.target.tagName)){var t=le[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}}},{key:"_getItemIndex",value:function(e){return this._getItems().indexOf(e)}},{key:"_setActiveIndicatorElement",value:function(e){if(this._indicatorsElement){var t=Y.findOne(".active",this._indicatorsElement);t.classList.remove(se),t.removeAttribute("aria-current");var n=Y.findOne('[data-bs-slide-to="'.concat(e,'"]'),this._indicatorsElement);n&&(n.classList.add(se),n.setAttribute("aria-current","true"))}}},{key:"_updateInterval",value:function(){var e=this._activeElement||this._getActive();if(e){var t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}}},{key:"_slide",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!this._isSliding){var i=this._getActive(),a=e===te,r=n||w(this._getItems(),i,a,this._config.wrap);if(r!==i){var o=this._getItemIndex(r),s=function(n){return N.trigger(t._element,n,{relatedTarget:r,direction:t._orderToDirection(e),from:t._getItemIndex(i),to:o})};if(!s("slide.bs.carousel").defaultPrevented&&i&&r){var l=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=r;var c=a?"carousel-item-start":"carousel-item-end",u=a?"carousel-item-next":"carousel-item-prev";r.classList.add(u),f(r),i.classList.add(c),r.classList.add(c),this._queueCallback((function(){r.classList.remove(c,u),r.classList.add(se),i.classList.remove(se,u,c),t._isSliding=!1,s(re)}),i,this._isAnimated()),l&&this.cycle()}}}}},{key:"_isAnimated",value:function(){return this._element.classList.contains("slide")}},{key:"_getActive",value:function(){return Y.findOne(".active.carousel-item",this._element)}},{key:"_getItems",value:function(){return Y.find(".carousel-item",this._element)}},{key:"_clearInterval",value:function(){this._interval&&(clearInterval(this._interval),this._interval=null)}},{key:"_directionToOrder",value:function(e){return v()?e===ie?ne:te:e===ie?te:ne}},{key:"_orderToDirection",value:function(e){return v()?e===ne?ie:ae:e===ne?ae:ie}}],[{key:"Default",get:function(){return ce}},{key:"DefaultType",get:function(){return ue}},{key:"NAME",get:function(){return"carousel"}},{key:"jQueryInterface",value:function(e){return this.each((function(){var n=t.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===n[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));n[e]()}}else n.to(e)}))}}])}(G);N.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",(function(e){var t=Y.getElementFromSelector(this);if(t&&t.classList.contains(oe)){e.preventDefault();var n=de.getOrCreateInstance(t),i=this.getAttribute("data-bs-slide-to");return i?(n.to(i),void n._maybeEnableCycle()):"next"===q(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())}})),N.on(window,"load.bs.carousel.data-api",(function(){var e,t=_createForOfIteratorHelper(Y.find('[data-bs-ride="carousel"]'));try{for(t.s();!(e=t.n()).done;){var n=e.value;de.getOrCreateInstance(n)}}catch(e){t.e(e)}finally{t.f()}})),g(de);var pe="show",fe="collapse",he="collapsing",me='[data-bs-toggle="collapse"]',ve={parent:null,toggle:!0},ge={parent:"(null|element)",toggle:"boolean"},ye=function(e){function t(e,n){var i;_classCallCheck(this,t),(i=_callSuper(this,t,[e,n]))._isTransitioning=!1,i._triggerArray=[];var a,r=_createForOfIteratorHelper(Y.find(me));try{for(r.s();!(a=r.n()).done;){var o=a.value,s=Y.getSelectorFromElement(o),l=Y.find(s).filter((function(e){return e===i._element}));null!==s&&l.length&&i._triggerArray.push(o)}}catch(e){r.e(e)}finally{r.f()}return i._initializeChildren(),i._config.parent||i._addAriaAndCollapsedClass(i._triggerArray,i._isShown()),i._config.toggle&&i.toggle(),i}return _inherits(t,e),_createClass(t,[{key:"toggle",value:function(){this._isShown()?this.hide():this.show()}},{key:"show",value:function(){var e=this;if(!this._isTransitioning&&!this._isShown()){var n=[];if(!(this._config.parent&&(n=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((function(t){return t!==e._element})).map((function(e){return t.getOrCreateInstance(e,{toggle:!1})}))),n.length&&n[0]._isTransitioning||N.trigger(this._element,"show.bs.collapse").defaultPrevented)){var i,a=_createForOfIteratorHelper(n);try{for(a.s();!(i=a.n()).done;){i.value.hide()}}catch(e){a.e(e)}finally{a.f()}var r=this._getDimension();this._element.classList.remove(fe),this._element.classList.add(he),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;var o="scroll".concat(r[0].toUpperCase()+r.slice(1));this._queueCallback((function(){e._isTransitioning=!1,e._element.classList.remove(he),e._element.classList.add(fe,pe),e._element.style[r]="",N.trigger(e._element,"shown.bs.collapse")}),this._element,!0),this._element.style[r]="".concat(this._element[o],"px")}}}},{key:"hide",value:function(){var e=this;if(!this._isTransitioning&&this._isShown()&&!N.trigger(this._element,"hide.bs.collapse").defaultPrevented){var t=this._getDimension();this._element.style[t]="".concat(this._element.getBoundingClientRect()[t],"px"),f(this._element),this._element.classList.add(he),this._element.classList.remove(fe,pe);var n,i=_createForOfIteratorHelper(this._triggerArray);try{for(i.s();!(n=i.n()).done;){var a=n.value,r=Y.getElementFromSelector(a);r&&!this._isShown(r)&&this._addAriaAndCollapsedClass([a],!1)}}catch(e){i.e(e)}finally{i.f()}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback((function(){e._isTransitioning=!1,e._element.classList.remove(he),e._element.classList.add(fe),N.trigger(e._element,"hidden.bs.collapse")}),this._element,!0)}}},{key:"_isShown",value:function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._element).classList.contains(pe)}},{key:"_configAfterMerge",value:function(e){return e.toggle=Boolean(e.toggle),e.parent=l(e.parent),e}},{key:"_getDimension",value:function(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}},{key:"_initializeChildren",value:function(){if(this._config.parent){var e,t=_createForOfIteratorHelper(this._getFirstLevelChildren(me));try{for(t.s();!(e=t.n()).done;){var n=e.value,i=Y.getElementFromSelector(n);i&&this._addAriaAndCollapsedClass([n],this._isShown(i))}}catch(e){t.e(e)}finally{t.f()}}}},{key:"_getFirstLevelChildren",value:function(e){var t=Y.find(":scope .collapse .collapse",this._config.parent);return Y.find(e,this._config.parent).filter((function(e){return!t.includes(e)}))}},{key:"_addAriaAndCollapsedClass",value:function(e,t){if(e.length){var n,i=_createForOfIteratorHelper(e);try{for(i.s();!(n=i.n()).done;){var a=n.value;a.classList.toggle("collapsed",!t),a.setAttribute("aria-expanded",t)}}catch(e){i.e(e)}finally{i.f()}}}}],[{key:"Default",get:function(){return ve}},{key:"DefaultType",get:function(){return ge}},{key:"NAME",get:function(){return"collapse"}},{key:"jQueryInterface",value:function(e){var n={};return"string"==typeof e&&/show|hide/.test(e)&&(n.toggle=!1),this.each((function(){var i=t.getOrCreateInstance(this,n);if("string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'.concat(e,'"'));i[e]()}}))}}])}(G);N.on(document,"click.bs.collapse.data-api",me,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();var t,n=_createForOfIteratorHelper(Y.getMultipleElementsFromSelector(this));try{for(n.s();!(t=n.n()).done;){var i=t.value;ye.getOrCreateInstance(i,{toggle:!1}).toggle()}}catch(e){n.e(e)}finally{n.f()}})),g(ye);var be="top",we="bottom",_e="right",xe="left",Ee="auto",Te=[be,we,_e,xe],Se="start",ke="end",Ce="clippingParents",Ae="viewport",Me="popper",Ie="reference",Le=Te.reduce((function(e,t){return e.concat([t+"-"+Se,t+"-"+ke])}),[]),Oe=[].concat(Te,[Ee]).reduce((function(e,t){return e.concat([t,t+"-"+Se,t+"-"+ke])}),[]),Pe="beforeRead",ze="read",De="afterRead",Ne="beforeMain",He="main",je="afterMain",Be="beforeWrite",Fe="write",We="afterWrite",Re=[Pe,ze,De,Ne,He,je,Be,Fe,We];function qe(e){return e?(e.nodeName||"").toLowerCase():null}function $e(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ge(e){return e instanceof $e(e).Element||e instanceof Element}function Ve(e){return e instanceof $e(e).HTMLElement||e instanceof HTMLElement}function Ye(e){return"undefined"!=typeof ShadowRoot&&(e instanceof $e(e).ShadowRoot||e instanceof ShadowRoot)}var Xe={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},a=t.elements[e];Ve(a)&&qe(a)&&(Object.assign(a.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],a=t.attributes[e]||{},r=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Ve(i)&&qe(i)&&(Object.assign(i.style,r),Object.keys(a).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Ue(e){return e.split("-")[0]}var Qe=Math.max,Ke=Math.min,Ze=Math.round;function Je(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function et(){return!/^((?!chrome|android).)*safari/i.test(Je())}function tt(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),a=1,r=1;t&&Ve(e)&&(a=e.offsetWidth>0&&Ze(i.width)/e.offsetWidth||1,r=e.offsetHeight>0&&Ze(i.height)/e.offsetHeight||1);var o=(Ge(e)?$e(e):window).visualViewport,s=!et()&&n,l=(i.left+(s&&o?o.offsetLeft:0))/a,c=(i.top+(s&&o?o.offsetTop:0))/r,u=i.width/a,d=i.height/r;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function nt(e){var t=tt(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function it(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Ye(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function at(e){return $e(e).getComputedStyle(e)}function rt(e){return["table","td","th"].indexOf(qe(e))>=0}function ot(e){return((Ge(e)?e.ownerDocument:e.document)||window.document).documentElement}function st(e){return"html"===qe(e)?e:e.assignedSlot||e.parentNode||(Ye(e)?e.host:null)||ot(e)}function lt(e){return Ve(e)&&"fixed"!==at(e).position?e.offsetParent:null}function ct(e){for(var t=$e(e),n=lt(e);n&&rt(n)&&"static"===at(n).position;)n=lt(n);return n&&("html"===qe(n)||"body"===qe(n)&&"static"===at(n).position)?t:n||function(e){var t=/firefox/i.test(Je());if(/Trident/i.test(Je())&&Ve(e)&&"fixed"===at(e).position)return null;var n=st(e);for(Ye(n)&&(n=n.host);Ve(n)&&["html","body"].indexOf(qe(n))<0;){var i=at(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function ut(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function dt(e,t,n){return Qe(e,Ke(t,n))}function pt(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ft(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var ht={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,a=e.options,r=n.elements.arrow,o=n.modifiersData.popperOffsets,s=Ue(n.placement),l=ut(s),c=[xe,_e].indexOf(s)>=0?"height":"width";if(r&&o){var u=function(e,t){return pt("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ft(e,Te))}(a.padding,n),d=nt(r),p="y"===l?be:xe,f="y"===l?we:_e,h=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c],m=o[l]-n.rects.reference[l],v=ct(r),g=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,y=h/2-m/2,b=u[p],w=g-d[c]-u[f],_=g/2-d[c]/2+y,x=dt(b,_,w),E=l;n.modifiersData[i]=((t={})[E]=x,t.centerOffset=x-_,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&it(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function mt(e){return e.split("-")[1]}var vt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function gt(e){var t,n=e.popper,i=e.popperRect,a=e.placement,r=e.variation,o=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=o.x,f=void 0===p?0:p,h=o.y,m=void 0===h?0:h,v="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=v.x,m=v.y;var g=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),b=xe,w=be,_=window;if(c){var x=ct(n),E="clientHeight",T="clientWidth";x===$e(n)&&"static"!==at(x=ot(n)).position&&"absolute"===s&&(E="scrollHeight",T="scrollWidth"),(a===be||(a===xe||a===_e)&&r===ke)&&(w=we,m-=(d&&x===_&&_.visualViewport?_.visualViewport.height:x[E])-i.height,m*=l?1:-1),a!==xe&&(a!==be&&a!==we||r!==ke)||(b=_e,f-=(d&&x===_&&_.visualViewport?_.visualViewport.width:x[T])-i.width,f*=l?1:-1)}var S,k=Object.assign({position:s},c&&vt),C=!0===u?function(e,t){var n=e.x,i=e.y,a=t.devicePixelRatio||1;return{x:Ze(n*a)/a||0,y:Ze(i*a)/a||0}}({x:f,y:m},$e(n)):{x:f,y:m};return f=C.x,m=C.y,l?Object.assign({},k,((S={})[w]=y?"0":"",S[b]=g?"0":"",S.transform=(_.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",S)):Object.assign({},k,((t={})[w]=y?m+"px":"",t[b]=g?f+"px":"",t.transform="",t))}var yt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,a=void 0===i||i,r=n.adaptive,o=void 0===r||r,s=n.roundOffsets,l=void 0===s||s,c={placement:Ue(t.placement),variation:mt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,gt(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,gt(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},bt={passive:!0},wt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,a=i.scroll,r=void 0===a||a,o=i.resize,s=void 0===o||o,l=$e(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&c.forEach((function(e){e.addEventListener("scroll",n.update,bt)})),s&&l.addEventListener("resize",n.update,bt),function(){r&&c.forEach((function(e){e.removeEventListener("scroll",n.update,bt)})),s&&l.removeEventListener("resize",n.update,bt)}},data:{}},_t={left:"right",right:"left",bottom:"top",top:"bottom"};function xt(e){return e.replace(/left|right|bottom|top/g,(function(e){return _t[e]}))}var Et={start:"end",end:"start"};function Tt(e){return e.replace(/start|end/g,(function(e){return Et[e]}))}function St(e){var t=$e(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function kt(e){return tt(ot(e)).left+St(e).scrollLeft}function Ct(e){var t=at(e),n=t.overflow,i=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+i)}function At(e){return["html","body","#document"].indexOf(qe(e))>=0?e.ownerDocument.body:Ve(e)&&Ct(e)?e:At(st(e))}function Mt(e,t){var n;void 0===t&&(t=[]);var i=At(e),a=i===(null==(n=e.ownerDocument)?void 0:n.body),r=$e(i),o=a?[r].concat(r.visualViewport||[],Ct(i)?i:[]):i,s=t.concat(o);return a?s:s.concat(Mt(st(o)))}function It(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Lt(e,t,n){return t===Ae?It(function(e,t){var n=$e(e),i=ot(e),a=n.visualViewport,r=i.clientWidth,o=i.clientHeight,s=0,l=0;if(a){r=a.width,o=a.height;var c=et();(c||!c&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}return{width:r,height:o,x:s+kt(e),y:l}}(e,n)):Ge(t)?function(e,t){var n=tt(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):It(function(e){var t,n=ot(e),i=St(e),a=null==(t=e.ownerDocument)?void 0:t.body,r=Qe(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),o=Qe(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-i.scrollLeft+kt(e),l=-i.scrollTop;return"rtl"===at(a||n).direction&&(s+=Qe(n.clientWidth,a?a.clientWidth:0)-r),{width:r,height:o,x:s,y:l}}(ot(e)))}function Ot(e){var t,n=e.reference,i=e.element,a=e.placement,r=a?Ue(a):null,o=a?mt(a):null,s=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(r){case be:t={x:s,y:n.y-i.height};break;case we:t={x:s,y:n.y+n.height};break;case _e:t={x:n.x+n.width,y:l};break;case xe:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=r?ut(r):null;if(null!=c){var u="y"===c?"height":"width";switch(o){case Se:t[c]=t[c]-(n[u]/2-i[u]/2);break;case ke:t[c]=t[c]+(n[u]/2-i[u]/2)}}return t}function Pt(e,t){void 0===t&&(t={});var n=t,i=n.placement,a=void 0===i?e.placement:i,r=n.strategy,o=void 0===r?e.strategy:r,s=n.boundary,l=void 0===s?Ce:s,c=n.rootBoundary,u=void 0===c?Ae:c,d=n.elementContext,p=void 0===d?Me:d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,v=void 0===m?0:m,g=pt("number"!=typeof v?v:ft(v,Te)),y=p===Me?Ie:Me,b=e.rects.popper,w=e.elements[h?y:p],_=function(e,t,n,i){var a="clippingParents"===t?function(e){var t=Mt(st(e)),n=["absolute","fixed"].indexOf(at(e).position)>=0&&Ve(e)?ct(e):e;return Ge(n)?t.filter((function(e){return Ge(e)&&it(e,n)&&"body"!==qe(e)})):[]}(e):[].concat(t),r=[].concat(a,[n]),o=r[0],s=r.reduce((function(t,n){var a=Lt(e,n,i);return t.top=Qe(a.top,t.top),t.right=Ke(a.right,t.right),t.bottom=Ke(a.bottom,t.bottom),t.left=Qe(a.left,t.left),t}),Lt(e,o,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(Ge(w)?w:w.contextElement||ot(e.elements.popper),l,u,o),x=tt(e.elements.reference),E=Ot({reference:x,element:b,strategy:"absolute",placement:a}),T=It(Object.assign({},b,E)),S=p===Me?T:x,k={top:_.top-S.top+g.top,bottom:S.bottom-_.bottom+g.bottom,left:_.left-S.left+g.left,right:S.right-_.right+g.right},C=e.modifiersData.offset;if(p===Me&&C){var A=C[a];Object.keys(k).forEach((function(e){var t=[_e,we].indexOf(e)>=0?1:-1,n=[be,we].indexOf(e)>=0?"y":"x";k[e]+=A[n]*t}))}return k}var zt={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var a=n.mainAxis,r=void 0===a||a,o=n.altAxis,s=void 0===o||o,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,v=t.options.placement,g=Ue(v),y=l||(g!==v&&h?function(e){if(Ue(e)===Ee)return[];var t=xt(e);return[Tt(e),t,Tt(t)]}(v):[xt(v)]),b=[v].concat(y).reduce((function(e,n){return e.concat(Ue(n)===Ee?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,a=n.boundary,r=n.rootBoundary,o=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Oe:l,u=mt(i),d=u?s?Le:Le.filter((function(e){return mt(e)===u})):Te,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=Pt(e,{placement:n,boundary:a,rootBoundary:r,padding:o})[Ue(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,_=t.rects.popper,x=new Map,E=!0,T=b[0],S=0;S=0,I=M?"width":"height",L=Pt(t,{placement:k,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),O=M?A?_e:xe:A?we:be;w[I]>_[I]&&(O=xt(O));var P=xt(O),z=[];if(r&&z.push(L[C]<=0),s&&z.push(L[O]<=0,L[P]<=0),z.every((function(e){return e}))){T=k,E=!1;break}x.set(k,z)}if(E)for(var D=function(e){var t=b.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return T=t,"break"},N=h?3:1;N>0&&"break"!==D(N);N--);t.placement!==T&&(t.modifiersData[i]._skip=!0,t.placement=T,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Dt(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Nt(e){return[be,_e,we,xe].some((function(t){return e[t]>=0}))}var Ht={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,a=t.rects.popper,r=t.modifiersData.preventOverflow,o=Pt(t,{elementContext:"reference"}),s=Pt(t,{altBoundary:!0}),l=Dt(o,i),c=Dt(s,a,r),u=Nt(l),d=Nt(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},jt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,a=n.offset,r=void 0===a?[0,0]:a,o=Oe.reduce((function(e,n){return e[n]=function(e,t,n){var i=Ue(e),a=[xe,be].indexOf(i)>=0?-1:1,r="function"==typeof n?n(Object.assign({},t,{placement:e})):n,o=r[0],s=r[1];return o=o||0,s=(s||0)*a,[xe,_e].indexOf(i)>=0?{x:s,y:o}:{x:o,y:s}}(n,t.rects,r),e}),{}),s=o[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=o}},Bt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Ot({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Ft={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,a=n.mainAxis,r=void 0===a||a,o=n.altAxis,s=void 0!==o&&o,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,v=Pt(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),g=Ue(t.placement),y=mt(t.placement),b=!y,w=ut(g),_="x"===w?"y":"x",x=t.modifiersData.popperOffsets,E=t.rects.reference,T=t.rects.popper,S="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,k="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(x){if(r){var M,I="y"===w?be:xe,L="y"===w?we:_e,O="y"===w?"height":"width",P=x[w],z=P+v[I],D=P-v[L],N=f?-T[O]/2:0,H=y===Se?E[O]:T[O],j=y===Se?-T[O]:-E[O],B=t.elements.arrow,F=f&&B?nt(B):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},R=W[I],q=W[L],$=dt(0,E[O],F[O]),G=b?E[O]/2-N-$-R-k.mainAxis:H-$-R-k.mainAxis,V=b?-E[O]/2+N+$+q+k.mainAxis:j+$+q+k.mainAxis,Y=t.elements.arrow&&ct(t.elements.arrow),X=Y?"y"===w?Y.clientTop||0:Y.clientLeft||0:0,U=null!=(M=null==C?void 0:C[w])?M:0,Q=P+V-U,K=dt(f?Ke(z,P+G-U-X):z,P,f?Qe(D,Q):D);x[w]=K,A[w]=K-P}if(s){var Z,J="x"===w?be:xe,ee="x"===w?we:_e,te=x[_],ne="y"===_?"height":"width",ie=te+v[J],ae=te-v[ee],re=-1!==[be,xe].indexOf(g),oe=null!=(Z=null==C?void 0:C[_])?Z:0,se=re?ie:te-E[ne]-T[ne]-oe+k.altAxis,le=re?te+E[ne]+T[ne]-oe-k.altAxis:ae,ce=f&&re?function(e,t,n){var i=dt(e,t,n);return i>n?n:i}(se,te,le):dt(f?se:ie,te,f?le:ae);x[_]=ce,A[_]=ce-te}t.modifiersData[i]=A}},requiresIfExists:["offset"]};function Wt(e,t,n){void 0===n&&(n=!1);var i,a,r=Ve(t),o=Ve(t)&&function(e){var t=e.getBoundingClientRect(),n=Ze(t.width)/e.offsetWidth||1,i=Ze(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),s=ot(t),l=tt(e,o,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==qe(t)||Ct(s))&&(c=(i=t)!==$e(i)&&Ve(i)?{scrollLeft:(a=i).scrollLeft,scrollTop:a.scrollTop}:St(i)),Ve(t)?((u=tt(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=kt(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Rt(e){var t=new Map,n=new Set,i=[];function a(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&a(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||a(e)})),i}var qt={placement:"bottom",modifiers:[],strategy:"absolute"};function $t(){for(var e=arguments.length,t=new Array(e),n=0;n0}},{key:"_disableOverFlow",value:function(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}},{key:"_setElementAttributes",value:function(e,t,n){var i=this,a=this.getWidth();this._applyManipulationCallback(e,(function(e){if(!(e!==i._element&&window.innerWidth>e.clientWidth+a)){i._saveInitialAttribute(e,t);var r=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,"".concat(n(Number.parseFloat(r)),"px"))}}))}},{key:"_saveInitialAttribute",value:function(e,t){var n=e.style.getPropertyValue(t);n&&F(e,t,n)}},{key:"_resetElementAttributes",value:function(e,t){this._applyManipulationCallback(e,(function(e){var n=q(e,t);null!==n?(W(e,t),e.style.setProperty(t,n)):e.style.removeProperty(t)}))}},{key:"_applyManipulationCallback",value:function(e,t){if(s(e))t(e);else{var n,i=_createForOfIteratorHelper(Y.find(e,this._element));try{for(i.s();!(n=i.n()).done;){t(n.value)}}catch(e){i.e(e)}finally{i.f()}}}}])}(),In=".bs.modal",Ln="hidden.bs.modal",On="show.bs.modal",Pn="modal-open",zn="show",Dn="modal-static",Nn={backdrop:!0,focus:!0,keyboard:!0},Hn={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"},jn=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t,[e,n]))._dialog=Y.findOne(".modal-dialog",i._element),i._backdrop=i._initializeBackDrop(),i._focustrap=i._initializeFocusTrap(),i._isShown=!1,i._isTransitioning=!1,i._scrollBar=new Mn,i._addEventListeners(),i}return _inherits(t,e),_createClass(t,[{key:"toggle",value:function(e){return this._isShown?this.hide():this.show(e)}},{key:"show",value:function(e){var t=this;this._isShown||this._isTransitioning||N.trigger(this._element,On,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Pn),this._adjustDialog(),this._backdrop.show((function(){return t._showElement(e)})))}},{key:"hide",value:function(){var e=this;this._isShown&&!this._isTransitioning&&(N.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(zn),this._queueCallback((function(){return e._hideModal()}),this._element,this._isAnimated())))}},{key:"dispose",value:function(){N.off(window,In),N.off(this._dialog,In),this._backdrop.dispose(),this._focustrap.deactivate(),_superPropGet(t,"dispose",this,3)([])}},{key:"handleUpdate",value:function(){this._adjustDialog()}},{key:"_initializeBackDrop",value:function(){return new bn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}},{key:"_initializeFocusTrap",value:function(){return new Tn({trapElement:this._element})}},{key:"_showElement",value:function(e){var t=this;document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;var n=Y.findOne(".modal-body",this._dialog);n&&(n.scrollTop=0),f(this._element),this._element.classList.add(zn),this._queueCallback((function(){t._config.focus&&t._focustrap.activate(),t._isTransitioning=!1,N.trigger(t._element,"shown.bs.modal",{relatedTarget:e})}),this._dialog,this._isAnimated())}},{key:"_addEventListeners",value:function(){var e=this;N.on(this._element,"keydown.dismiss.bs.modal",(function(t){"Escape"===t.key&&(e._config.keyboard?e.hide():e._triggerBackdropTransition())})),N.on(window,"resize.bs.modal",(function(){e._isShown&&!e._isTransitioning&&e._adjustDialog()})),N.on(this._element,"mousedown.dismiss.bs.modal",(function(t){N.one(e._element,"click.dismiss.bs.modal",(function(n){e._element===t.target&&e._element===n.target&&("static"!==e._config.backdrop?e._config.backdrop&&e.hide():e._triggerBackdropTransition())}))}))}},{key:"_hideModal",value:function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((function(){document.body.classList.remove(Pn),e._resetAdjustments(),e._scrollBar.reset(),N.trigger(e._element,Ln)}))}},{key:"_isAnimated",value:function(){return this._element.classList.contains("fade")}},{key:"_triggerBackdropTransition",value:function(){var e=this;if(!N.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented){var t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;"hidden"===n||this._element.classList.contains(Dn)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Dn),this._queueCallback((function(){e._element.classList.remove(Dn),e._queueCallback((function(){e._element.style.overflowY=n}),e._dialog)}),this._dialog),this._element.focus())}}},{key:"_adjustDialog",value:function(){var e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){var i=v()?"paddingLeft":"paddingRight";this._element.style[i]="".concat(t,"px")}if(!n&&e){var a=v()?"paddingRight":"paddingLeft";this._element.style[a]="".concat(t,"px")}}},{key:"_resetAdjustments",value:function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}}],[{key:"Default",get:function(){return Nn}},{key:"DefaultType",get:function(){return Hn}},{key:"NAME",get:function(){return"modal"}},{key:"jQueryInterface",value:function(e,n){return this.each((function(){var i=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'.concat(e,'"'));i[e](n)}}))}}])}(G);N.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(e){var t=this,n=Y.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),N.one(n,On,(function(e){e.defaultPrevented||N.one(n,Ln,(function(){c(t)&&t.focus()}))}));var i=Y.findOne(".modal.show");i&&jn.getInstance(i).hide(),jn.getOrCreateInstance(n).toggle(this)})),X(jn),g(jn);var Bn="show",Fn="showing",Wn="hiding",Rn=".offcanvas.show",qn="hidePrevented.bs.offcanvas",$n="hidden.bs.offcanvas",Gn={backdrop:!0,keyboard:!0,scroll:!1},Vn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"},Yn=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t,[e,n]))._isShown=!1,i._backdrop=i._initializeBackDrop(),i._focustrap=i._initializeFocusTrap(),i._addEventListeners(),i}return _inherits(t,e),_createClass(t,[{key:"toggle",value:function(e){return this._isShown?this.hide():this.show(e)}},{key:"show",value:function(e){var t=this;this._isShown||N.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new Mn).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Fn),this._queueCallback((function(){t._config.scroll&&!t._config.backdrop||t._focustrap.activate(),t._element.classList.add(Bn),t._element.classList.remove(Fn),N.trigger(t._element,"shown.bs.offcanvas",{relatedTarget:e})}),this._element,!0))}},{key:"hide",value:function(){var e=this;this._isShown&&(N.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Wn),this._backdrop.hide(),this._queueCallback((function(){e._element.classList.remove(Bn,Wn),e._element.removeAttribute("aria-modal"),e._element.removeAttribute("role"),e._config.scroll||(new Mn).reset(),N.trigger(e._element,$n)}),this._element,!0)))}},{key:"dispose",value:function(){this._backdrop.dispose(),this._focustrap.deactivate(),_superPropGet(t,"dispose",this,3)([])}},{key:"_initializeBackDrop",value:function(){var e=this,t=Boolean(this._config.backdrop);return new bn({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?function(){"static"!==e._config.backdrop?e.hide():N.trigger(e._element,qn)}:null})}},{key:"_initializeFocusTrap",value:function(){return new Tn({trapElement:this._element})}},{key:"_addEventListeners",value:function(){var e=this;N.on(this._element,"keydown.dismiss.bs.offcanvas",(function(t){"Escape"===t.key&&(e._config.keyboard?e.hide():N.trigger(e._element,qn))}))}}],[{key:"Default",get:function(){return Gn}},{key:"DefaultType",get:function(){return Vn}},{key:"NAME",get:function(){return"offcanvas"}},{key:"jQueryInterface",value:function(e){return this.each((function(){var n=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));n[e](this)}}))}}])}(G);N.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(e){var t=this,n=Y.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),!u(this)){N.one(n,$n,(function(){c(t)&&t.focus()}));var i=Y.findOne(Rn);i&&i!==n&&Yn.getInstance(i).hide(),Yn.getOrCreateInstance(n).toggle(this)}})),N.on(window,"load.bs.offcanvas.data-api",(function(){var e,t=_createForOfIteratorHelper(Y.find(Rn));try{for(t.s();!(e=t.n()).done;){var n=e.value;Yn.getOrCreateInstance(n).show()}}catch(e){t.e(e)}finally{t.f()}})),N.on(window,"resize.bs.offcanvas",(function(){var e,t=_createForOfIteratorHelper(Y.find("[aria-modal][class*=show][class*=offcanvas-]"));try{for(t.s();!(e=t.n()).done;){var n=e.value;"fixed"!==getComputedStyle(n).position&&Yn.getOrCreateInstance(n).hide()}}catch(e){t.e(e)}finally{t.f()}})),X(Yn),g(Yn);var Xn={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Un=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Qn=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Kn=function(e,t){var n=e.nodeName.toLowerCase();return t.includes(n)?!Un.has(n)||Boolean(Qn.test(e.nodeValue)):t.filter((function(e){return e instanceof RegExp})).some((function(e){return e.test(n)}))},Zn={allowList:Xn,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Jn={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},ei={entry:"(string|element|function|null)",selector:"(string|element)"},ti=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_callSuper(this,t))._config=n._getConfig(e),n}return _inherits(t,e),_createClass(t,[{key:"getContent",value:function(){var e=this;return Object.values(this._config.content).map((function(t){return e._resolvePossibleFunction(t)})).filter(Boolean)}},{key:"hasContent",value:function(){return this.getContent().length>0}},{key:"changeContent",value:function(e){return this._checkContent(e),this._config.content=_objectSpread(_objectSpread({},this._config.content),e),this}},{key:"toHtml",value:function(){var e,t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(var n=0,i=Object.entries(this._config.content);n
',title:"",trigger:"hover focus"},di={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"},pi=function(e){function t(e,n){var i;if(_classCallCheck(this,t),void 0===Ut)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");return(i=_callSuper(this,t,[e,n]))._isEnabled=!0,i._timeout=0,i._isHovered=null,i._activeTrigger={},i._popper=null,i._templateFactory=null,i._newContent=null,i.tip=null,i._setListeners(),i._config.selector||i._fixTitle(),i}return _inherits(t,e),_createClass(t,[{key:"enable",value:function(){this._isEnabled=!0}},{key:"disable",value:function(){this._isEnabled=!1}},{key:"toggleEnabled",value:function(){this._isEnabled=!this._isEnabled}},{key:"toggle",value:function(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}},{key:"dispose",value:function(){clearTimeout(this._timeout),N.off(this._element.closest(ri),oi,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),_superPropGet(t,"dispose",this,3)([])}},{key:"show",value:function(){var e=this;if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(this._isWithContent()&&this._isEnabled){var t=N.trigger(this._element,this.constructor.eventName("show")),n=(d(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(!t.defaultPrevented&&n){this._disposePopper();var i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));var a=this._config.container;if(this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(i),N.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(ai),"ontouchstart"in document.documentElement){var r,o,s=_createForOfIteratorHelper((r=[]).concat.apply(r,_toConsumableArray(document.body.children)));try{for(s.s();!(o=s.n()).done;){var l=o.value;N.on(l,"mouseover",p)}}catch(e){s.e(e)}finally{s.f()}}this._queueCallback((function(){N.trigger(e._element,e.constructor.eventName("shown")),!1===e._isHovered&&e._leave(),e._isHovered=!1}),this.tip,this._isAnimated())}}}},{key:"hide",value:function(){var e=this;if(this._isShown()&&!N.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(ai),"ontouchstart"in document.documentElement){var t,n,i=_createForOfIteratorHelper((t=[]).concat.apply(t,_toConsumableArray(document.body.children)));try{for(i.s();!(n=i.n()).done;){var a=n.value;N.off(a,"mouseover",p)}}catch(e){i.e(e)}finally{i.f()}}this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=null,this._queueCallback((function(){e._isWithActiveTrigger()||(e._isHovered||e._disposePopper(),e._element.removeAttribute("aria-describedby"),N.trigger(e._element,e.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}}},{key:"update",value:function(){this._popper&&this._popper.update()}},{key:"_isWithContent",value:function(){return Boolean(this._getTitle())}},{key:"_getTipElement",value:function(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}},{key:"_createTipElement",value:function(e){var t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(ii,ai),t.classList.add("bs-".concat(this.constructor.NAME,"-auto"));var n=function(e){do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e}(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(ii),t}},{key:"setContent",value:function(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}},{key:"_getTemplateFactory",value:function(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new ti(_objectSpread(_objectSpread({},this._config),{},{content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)})),this._templateFactory}},{key:"_getContentForTemplate",value:function(){return{".tooltip-inner":this._getTitle()}}},{key:"_getTitle",value:function(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}},{key:"_initializeOnDelegatedTarget",value:function(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}},{key:"_isAnimated",value:function(){return this._config.animation||this.tip&&this.tip.classList.contains(ii)}},{key:"_isShown",value:function(){return this.tip&&this.tip.classList.contains(ai)}},{key:"_createPopper",value:function(e){var t=y(this._config.placement,[this,e,this._element]),n=ci[t.toUpperCase()];return Xt(this._element,e,this._getPopperConfig(n))}},{key:"_getOffset",value:function(){var e=this,t=this._config.offset;return"string"==typeof t?t.split(",").map((function(e){return Number.parseInt(e,10)})):"function"==typeof t?function(n){return t(n,e._element)}:t}},{key:"_resolvePossibleFunction",value:function(e){return y(e,[this._element])}},{key:"_getPopperConfig",value:function(e){var t=this,n={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:".".concat(this.constructor.NAME,"-arrow")}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:function(e){t._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return _objectSpread(_objectSpread({},n),y(this._config.popperConfig,[n]))}},{key:"_setListeners",value:function(){var e,t=this,n=_createForOfIteratorHelper(this._config.trigger.split(" "));try{for(n.s();!(e=n.n()).done;){var i=e.value;if("click"===i)N.on(this._element,this.constructor.eventName("click"),this._config.selector,(function(e){t._initializeOnDelegatedTarget(e).toggle()}));else if("manual"!==i){var a=i===si?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),r=i===si?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");N.on(this._element,a,this._config.selector,(function(e){var n=t._initializeOnDelegatedTarget(e);n._activeTrigger["focusin"===e.type?li:si]=!0,n._enter()})),N.on(this._element,r,this._config.selector,(function(e){var n=t._initializeOnDelegatedTarget(e);n._activeTrigger["focusout"===e.type?li:si]=n._element.contains(e.relatedTarget),n._leave()}))}}}catch(e){n.e(e)}finally{n.f()}this._hideModalHandler=function(){t._element&&t.hide()},N.on(this._element.closest(ri),oi,this._hideModalHandler)}},{key:"_fixTitle",value:function(){var e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}},{key:"_enter",value:function(){var e=this;this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((function(){e._isHovered&&e.show()}),this._config.delay.show))}},{key:"_leave",value:function(){var e=this;this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((function(){e._isHovered||e.hide()}),this._config.delay.hide))}},{key:"_setTimeout",value:function(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}},{key:"_isWithActiveTrigger",value:function(){return Object.values(this._activeTrigger).includes(!0)}},{key:"_getConfig",value:function(e){for(var t=R(this._element),n=0,i=Object.keys(t);n

',trigger:"click"}),hi=_objectSpread(_objectSpread({},pi.DefaultType),{},{content:"(null|string|element|function)"}),mi=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"_isWithContent",value:function(){return this._getTitle()||this._getContent()}},{key:"_getContentForTemplate",value:function(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}},{key:"_getContent",value:function(){return this._resolvePossibleFunction(this._config.content)}}],[{key:"Default",get:function(){return fi}},{key:"DefaultType",get:function(){return hi}},{key:"NAME",get:function(){return"popover"}},{key:"jQueryInterface",value:function(e){return this.each((function(){var n=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'.concat(e,'"'));n[e]()}}))}}])}(pi);g(mi);var vi="click.bs.scrollspy",gi="active",yi="[href]",bi={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},wi={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"},_i=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t,[e,n]))._targetLinks=new Map,i._observableSections=new Map,i._rootElement="visible"===getComputedStyle(i._element).overflowY?null:i._element,i._activeTarget=null,i._observer=null,i._previousScrollData={visibleEntryTop:0,parentScrollTop:0},i.refresh(),i}return _inherits(t,e),_createClass(t,[{key:"refresh",value:function(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();var e,t=_createForOfIteratorHelper(this._observableSections.values());try{for(t.s();!(e=t.n()).done;){var n=e.value;this._observer.observe(n)}}catch(e){t.e(e)}finally{t.f()}}},{key:"dispose",value:function(){this._observer.disconnect(),_superPropGet(t,"dispose",this,3)([])}},{key:"_configAfterMerge",value:function(e){return e.target=l(e.target)||document.body,e.rootMargin=e.offset?"".concat(e.offset,"px 0px -30%"):e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map((function(e){return Number.parseFloat(e)}))),e}},{key:"_maybeEnableSmoothScroll",value:function(){var e=this;this._config.smoothScroll&&(N.off(this._config.target,vi),N.on(this._config.target,vi,yi,(function(t){var n=e._observableSections.get(t.target.hash);if(n){t.preventDefault();var i=e._rootElement||window,a=n.offsetTop-e._element.offsetTop;if(i.scrollTo)return void i.scrollTo({top:a,behavior:"smooth"});i.scrollTop=a}})))}},{key:"_getNewObserver",value:function(){var e=this,t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((function(t){return e._observerCallback(t)}),t)}},{key:"_observerCallback",value:function(e){var t=this,n=function(e){return t._targetLinks.get("#".concat(e.target.id))},i=function(e){t._previousScrollData.visibleEntryTop=e.target.offsetTop,t._process(n(e))},a=(this._rootElement||document.documentElement).scrollTop,r=a>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=a;var o,s=_createForOfIteratorHelper(e);try{for(s.s();!(o=s.n()).done;){var l=o.value;if(l.isIntersecting){var c=l.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&c){if(i(l),!a)return}else r||c||i(l)}else this._activeTarget=null,this._clearActiveClass(n(l))}}catch(e){s.e(e)}finally{s.f()}}},{key:"_initializeTargetsAndObservables",value:function(){this._targetLinks=new Map,this._observableSections=new Map;var e,t=_createForOfIteratorHelper(Y.find(yi,this._config.target));try{for(t.s();!(e=t.n()).done;){var n=e.value;if(n.hash&&!u(n)){var i=Y.findOne(decodeURI(n.hash),this._element);c(i)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,i))}}}catch(e){t.e(e)}finally{t.f()}}},{key:"_process",value:function(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(gi),this._activateParents(e),N.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:e}))}},{key:"_activateParents",value:function(e){if(e.classList.contains("dropdown-item"))Y.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(gi);else{var t,n=_createForOfIteratorHelper(Y.parents(e,".nav, .list-group"));try{for(n.s();!(t=n.n()).done;){var i,a=t.value,r=_createForOfIteratorHelper(Y.prev(a,".nav-link, .nav-item > .nav-link, .list-group-item"));try{for(r.s();!(i=r.n()).done;){i.value.classList.add(gi)}}catch(e){r.e(e)}finally{r.f()}}}catch(e){n.e(e)}finally{n.f()}}}},{key:"_clearActiveClass",value:function(e){e.classList.remove(gi);var t,n=_createForOfIteratorHelper(Y.find("[href].active",e));try{for(n.s();!(t=n.n()).done;){t.value.classList.remove(gi)}}catch(e){n.e(e)}finally{n.f()}}}],[{key:"Default",get:function(){return bi}},{key:"DefaultType",get:function(){return wi}},{key:"NAME",get:function(){return"scrollspy"}},{key:"jQueryInterface",value:function(e){return this.each((function(){var n=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));n[e]()}}))}}])}(G);N.on(window,"load.bs.scrollspy.data-api",(function(){var e,t=_createForOfIteratorHelper(Y.find('[data-bs-spy="scroll"]'));try{for(t.s();!(e=t.n()).done;){var n=e.value;_i.getOrCreateInstance(n)}}catch(e){t.e(e)}finally{t.f()}})),g(_i);var xi="ArrowLeft",Ei="ArrowRight",Ti="ArrowUp",Si="ArrowDown",ki="active",Ci="fade",Ai="show",Mi='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ii='.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), '.concat(Mi),Li=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_callSuper(this,t,[e]))._parent=n._element.closest('.list-group, .nav, [role="tablist"]'),n._parent&&(n._setInitialAttributes(n._parent,n._getChildren()),N.on(n._element,"keydown.bs.tab",(function(e){return n._keydown(e)}))),n}return _inherits(t,e),_createClass(t,[{key:"show",value:function(){var e=this._element;if(!this._elemIsActive(e)){var t=this._getActiveElem(),n=t?N.trigger(t,"hide.bs.tab",{relatedTarget:e}):null;N.trigger(e,"show.bs.tab",{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}}},{key:"_activate",value:function(e,t){var n=this;e&&(e.classList.add(ki),this._activate(Y.getElementFromSelector(e)),this._queueCallback((function(){"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),n._toggleDropDown(e,!0),N.trigger(e,"shown.bs.tab",{relatedTarget:t})):e.classList.add(Ai)}),e,e.classList.contains(Ci)))}},{key:"_deactivate",value:function(e,t){var n=this;e&&(e.classList.remove(ki),e.blur(),this._deactivate(Y.getElementFromSelector(e)),this._queueCallback((function(){"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),n._toggleDropDown(e,!1),N.trigger(e,"hidden.bs.tab",{relatedTarget:t})):e.classList.remove(Ai)}),e,e.classList.contains(Ci)))}},{key:"_keydown",value:function(e){if([xi,Ei,Ti,Si].includes(e.key)){e.stopPropagation(),e.preventDefault();var n=[Ei,Si].includes(e.key),i=w(this._getChildren().filter((function(e){return!u(e)})),e.target,n,!0);i&&(i.focus({preventScroll:!0}),t.getOrCreateInstance(i).show())}}},{key:"_getChildren",value:function(){return Y.find(Ii,this._parent)}},{key:"_getActiveElem",value:function(){var e=this;return this._getChildren().find((function(t){return e._elemIsActive(t)}))||null}},{key:"_setInitialAttributes",value:function(e,t){this._setAttributeIfNotExists(e,"role","tablist");var n,i=_createForOfIteratorHelper(t);try{for(i.s();!(n=i.n()).done;){var a=n.value;this._setInitialAttributesOnChild(a)}}catch(e){i.e(e)}finally{i.f()}}},{key:"_setInitialAttributesOnChild",value:function(e){e=this._getInnerElement(e);var t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}},{key:"_setInitialAttributesOnTargetPanel",value:function(e){var t=Y.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby","".concat(e.id)))}},{key:"_toggleDropDown",value:function(e,t){var n=this._getOuterElement(e);if(n.classList.contains("dropdown")){var i=function(e,i){var a=Y.findOne(e,n);a&&a.classList.toggle(i,t)};i(".dropdown-toggle",ki),i(".dropdown-menu",Ai),n.setAttribute("aria-expanded",t)}}},{key:"_setAttributeIfNotExists",value:function(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}},{key:"_elemIsActive",value:function(e){return e.classList.contains(ki)}},{key:"_getInnerElement",value:function(e){return e.matches(Ii)?e:Y.findOne(Ii,e)}},{key:"_getOuterElement",value:function(e){return e.closest(".nav-item, .list-group-item")||e}}],[{key:"NAME",get:function(){return"tab"}},{key:"jQueryInterface",value:function(e){return this.each((function(){var n=t.getOrCreateInstance(this);if("string"==typeof e){if(void 0===n[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));n[e]()}}))}}])}(G);N.on(document,"click.bs.tab",Mi,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),u(this)||Li.getOrCreateInstance(this).show()})),N.on(window,"load.bs.tab",(function(){var e,t=_createForOfIteratorHelper(Y.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'));try{for(t.s();!(e=t.n()).done;){var n=e.value;Li.getOrCreateInstance(n)}}catch(e){t.e(e)}finally{t.f()}})),g(Li);var Oi="hide",Pi="show",zi="showing",Di={animation:"boolean",autohide:"boolean",delay:"number"},Ni={animation:!0,autohide:!0,delay:5e3},Hi=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t,[e,n]))._timeout=null,i._hasMouseInteraction=!1,i._hasKeyboardInteraction=!1,i._setListeners(),i}return _inherits(t,e),_createClass(t,[{key:"show",value:function(){var e=this;N.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Oi),f(this._element),this._element.classList.add(Pi,zi),this._queueCallback((function(){e._element.classList.remove(zi),N.trigger(e._element,"shown.bs.toast"),e._maybeScheduleHide()}),this._element,this._config.animation))}},{key:"hide",value:function(){var e=this;this.isShown()&&(N.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(zi),this._queueCallback((function(){e._element.classList.add(Oi),e._element.classList.remove(zi,Pi),N.trigger(e._element,"hidden.bs.toast")}),this._element,this._config.animation)))}},{key:"dispose",value:function(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Pi),_superPropGet(t,"dispose",this,3)([])}},{key:"isShown",value:function(){return this._element.classList.contains(Pi)}},{key:"_maybeScheduleHide",value:function(){var e=this;this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((function(){e.hide()}),this._config.delay)))}},{key:"_onInteraction",value:function(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)this._clearTimeout();else{var n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}}},{key:"_setListeners",value:function(){var e=this;N.on(this._element,"mouseover.bs.toast",(function(t){return e._onInteraction(t,!0)})),N.on(this._element,"mouseout.bs.toast",(function(t){return e._onInteraction(t,!1)})),N.on(this._element,"focusin.bs.toast",(function(t){return e._onInteraction(t,!0)})),N.on(this._element,"focusout.bs.toast",(function(t){return e._onInteraction(t,!1)}))}},{key:"_clearTimeout",value:function(){clearTimeout(this._timeout),this._timeout=null}}],[{key:"Default",get:function(){return Ni}},{key:"DefaultType",get:function(){return Di}},{key:"NAME",get:function(){return"toast"}},{key:"jQueryInterface",value:function(e){return this.each((function(){var n=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'.concat(e,'"'));n[e](this)}}))}}])}(G);return X(Hi),g(Hi),{Alert:U,Button:K,Carousel:de,Collapse:ye,Dropdown:hn,Modal:jn,Offcanvas:Yn,Popover:mi,ScrollSpy:_i,Tab:Li,Toast:Hi,Tooltip:pi}})),function(e,t){"object"==("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Swiper=t()}(this,(function(){"use strict";function e(e){return null!==e&&"object"==_typeof(e)&&"constructor"in e&&e.constructor===Object}function t(n,i){void 0===n&&(n={}),void 0===i&&(i={}),Object.keys(i).forEach((function(a){void 0===n[a]?n[a]=i[a]:e(i[a])&&e(n[a])&&Object.keys(i[a]).length>0&&t(n[a],i[a])}))}var n={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function i(){var e="undefined"!=typeof document?document:{};return t(e,n),e}var a,r,o,s={document:n,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){var e="undefined"!=typeof window?window:{};return t(e,s),e}function c(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function u(){return Date.now()}function d(e,t){void 0===t&&(t="x");var n,i,a,r=l(),o=function(e){var t,n=l();return n.getComputedStyle&&(t=n.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}(e);return r.WebKitCSSMatrix?((i=o.transform||o.webkitTransform).split(",").length>6&&(i=i.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),a=new r.WebKitCSSMatrix("none"===i?"":i)):n=(a=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(i=r.WebKitCSSMatrix?a.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(i=r.WebKitCSSMatrix?a.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),i||0}function p(e){return"object"==_typeof(e)&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function f(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function h(){for(var e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"],n=1;no?"next":"prev",d=function(e,t){return"next"===u&&e>=t||"prev"===u&&e<=t},p=function(){t=(new Date).getTime(),null===s&&(s=t);var e=Math.max(Math.min((t-s)/c,1),0),l=.5-Math.cos(e*Math.PI)/2,u=o+l*(i-o);if(d(u,i)&&(u=i),n.wrapperEl.scrollTo(_defineProperty({},a,u)),d(u,i))return n.wrapperEl.style.overflow="hidden",n.wrapperEl.style.scrollSnapType="",setTimeout((function(){n.wrapperEl.style.overflow="",n.wrapperEl.scrollTo(_defineProperty({},a,u))})),void r.cancelAnimationFrame(n.cssModeFrameID);n.cssModeFrameID=r.requestAnimationFrame(p)};p()}function g(e){return e.querySelector(".swiper-slide-transform")||e.shadowEl&&e.shadowEl.querySelector(".swiper-slide-transform")||e}function y(e,t){return void 0===t&&(t=""),_toConsumableArray(e.children).filter((function(e){return e.matches(t)}))}function b(e,t){var n;void 0===t&&(t=[]);var i=document.createElement(e);return(n=i.classList).add.apply(n,_toConsumableArray(Array.isArray(t)?t:[t])),i}function w(e){var t=l(),n=i(),a=e.getBoundingClientRect(),r=n.body,o=e.clientTop||r.clientTop||0,s=e.clientLeft||r.clientLeft||0,c=e===t?t.scrollY:e.scrollTop,u=e===t?t.scrollX:e.scrollLeft;return{top:a.top+c-o,left:a.left+u-s}}function _(e,t){return l().getComputedStyle(e,null).getPropertyValue(t)}function x(e){var t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function E(e,t){for(var n=[],i=e.parentElement;i;)t?i.matches(t)&&n.push(i):n.push(i),i=i.parentElement;return n}function T(e,t){t&&e.addEventListener("transitionend",(function n(i){i.target===e&&(t.call(e,i),e.removeEventListener("transitionend",n))}))}function S(e,t,n){var i=l();return n?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function k(){return a||(a=function(){var e=l(),t=i();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),a}function C(e){return void 0===e&&(e={}),r||(r=function(e){var t=(void 0===e?{}:e).userAgent,n=k(),i=l(),a=i.navigator.platform,r=t||i.navigator.userAgent,o={ios:!1,android:!1},s=i.screen.width,c=i.screen.height,u=r.match(/(Android);?[\s\/]+([\d.]+)?/),d=r.match(/(iPad).*OS\s([\d_]+)/),p=r.match(/(iPod)(.*OS\s([\d_]+))?/),f=!d&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===a,m="MacIntel"===a;return!d&&m&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf("".concat(s,"x").concat(c))>=0&&((d=r.match(/(Version)\/([\d.]+)/))||(d=[0,1,"13_0_0"]),m=!1),u&&!h&&(o.os="android",o.android=!0),(d||f||p)&&(o.os="ios",o.ios=!0),o}(e)),r}function A(){return o||(o=function(){var e=l(),t=!1;function n(){var t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(n()){var i=String(e.navigator.userAgent);if(i.includes("Version/")){var a=i.split("Version/")[1].split(" ")[0].split(".").map((function(e){return Number(e)})),r=_slicedToArray(a,2),o=r[0],s=r[1];t=o<16||16===o&&s<2}}return{isSafari:t||n(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),o}var M={on:function(e,t,n){var i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;var a=n?"unshift":"push";return e.split(" ").forEach((function(e){i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][a](t)})),i},once:function(e,t,n){var i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;function a(){i.off(e,a),a.__emitterProxy&&delete a.__emitterProxy;for(var n=arguments.length,r=new Array(n),o=0;o=0&&t.eventsAnyListeners.splice(n,1),t},off:function(e,t){var n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((function(i,a){(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[e].splice(a,1)}))})),n):n},emit:function(){var e,t,n,i=this;if(!i.eventsListeners||i.destroyed)return i;if(!i.eventsListeners)return i;for(var a=arguments.length,r=new Array(a),o=0;o1){var r=a,o=[r-t];return o.push.apply(o,_toConsumableArray(Array.from({length:t}).map((function(e,t){return r+i+t})))),void e.slides.forEach((function(t,n){o.includes(t.column)&&L(e,n)}))}var s=a+i-1;if(e.params.rewind||e.params.loop)for(var l=a-t;l<=s+t;l+=1){var c=(l%n+n)%n;(cs)&&L(e,c)}else for(var u=Math.max(a-t,0);u<=Math.min(s+t,n-1);u+=1)u!==a&&(u>s||u=0?E=parseFloat(E.replace("%",""))/100*o:"string"==typeof E&&(E=parseFloat(E)),e.virtualSize=-E,d.forEach((function(e){s?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),i.centeredSlides&&i.cssMode&&(m(a,"--swiper-centered-offset-before",""),m(a,"--swiper-centered-offset-after",""));var A,M=i.grid&&i.grid.rows>1&&e.grid;M&&e.grid.initSlides(p);for(var I="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter((function(e){return void 0!==i.breakpoints[e].slidesPerView})).length>0,L=0;L1&&f.push(e.virtualSize-o)}if(c&&i.loop){var Y=v[0]+E;if(i.slidesPerGroup>1)for(var X=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/i.slidesPerGroup),U=Y*i.slidesPerGroup,Q=0;Qee?ee+b:e}))}if(i.centerInsufficientSlides){var te=0;if(v.forEach((function(e){te+=e+(E||0)})),(te-=E)1)if(n.params.centeredSlides)(n.visibleSlides||[]).forEach((function(e){i.push(e)}));else for(t=0;tn.slides.length&&!a)break;i.push(o(s))}else i.push(o(n.activeIndex));for(t=0;tr?l:r}(r||0===r)&&(n.wrapperEl.style.height="".concat(r,"px"))},updateSlidesOffset:function(){for(var e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0,i=0;i=0?s=parseFloat(s.replace("%",""))/100*t.size:"string"==typeof s&&(s=parseFloat(s));for(var l=0;l=0&&f1&&h<=t.size||f<=0&&h>=t.size)&&(t.visibleSlides.push(c),t.visibleSlidesIndexes.push(l),i[l].classList.add(n.slideVisibleClass)),c.progress=a?-d:d,c.originalProgress=a?-p:p}}},updateProgress:function(e){var t=this;if(void 0===e){var n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}var i=t.params,a=t.maxTranslate()-t.minTranslate(),r=t.progress,o=t.isBeginning,s=t.isEnd,l=t.progressLoop,c=o,u=s;if(0===a)r=0,o=!0,s=!0;else{r=(e-t.minTranslate())/a;var d=Math.abs(e-t.minTranslate())<1,p=Math.abs(e-t.maxTranslate())<1;o=d||r<=0,s=p||r>=1,d&&(r=0),p&&(r=1)}if(i.loop){var f=t.getSlideIndexByData(0),h=t.getSlideIndexByData(t.slides.length-1),m=t.slidesGrid[f],v=t.slidesGrid[h],g=t.slidesGrid[t.slidesGrid.length-1],y=Math.abs(e);(l=y>=m?(y-m)/g:(y+g-v)/g)>1&&(l-=1)}Object.assign(t,{progress:r,progressLoop:l,isBeginning:o,isEnd:s}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),o&&!c&&t.emit("reachBeginning toEdge"),s&&!u&&t.emit("reachEnd toEdge"),(c&&!o||u&&!s)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){var e,t=this,n=t.slides,i=t.params,a=t.slidesEl,r=t.activeIndex,o=t.virtual&&i.virtual.enabled,s=function(e){return y(a,".".concat(i.slideClass).concat(e,", swiper-slide").concat(e))[0]};if(n.forEach((function(e){e.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)})),o)if(i.loop){var l=r-t.virtual.slidesBefore;l<0&&(l=t.virtual.slides.length+l),l>=t.virtual.slides.length&&(l-=t.virtual.slides.length),e=s('[data-swiper-slide-index="'.concat(l,'"]'))}else e=s('[data-swiper-slide-index="'.concat(r,'"]'));else e=n[r];if(e){e.classList.add(i.slideActiveClass);var c=function(e,t){for(var n=[];e.nextElementSibling;){var i=e.nextElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}(e,".".concat(i.slideClass,", swiper-slide"))[0];i.loop&&!c&&(c=n[0]),c&&c.classList.add(i.slideNextClass);var u=function(e,t){for(var n=[];e.previousElementSibling;){var i=e.previousElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}(e,".".concat(i.slideClass,", swiper-slide"))[0];i.loop&&0===!u&&(u=n[n.length-1]),u&&u.classList.add(i.slidePrevClass)}t.emitSlidesClasses()},updateActiveIndex:function(e){var t,n,i=this,a=i.rtlTranslate?i.translate:-i.translate,r=i.snapGrid,o=i.params,s=i.activeIndex,l=i.realIndex,c=i.snapIndex,u=e,d=function(e){var t=e-i.virtual.slidesBefore;return t<0&&(t=i.virtual.slides.length+t),t>=i.virtual.slides.length&&(t-=i.virtual.slides.length),t};if(void 0===u&&(u=function(e){for(var t,n=e.slidesGrid,i=e.params,a=e.rtlTranslate?e.translate:-e.translate,r=0;r=n[r]&&a=n[r]&&a=n[r]&&(t=r);return i.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),t}(i)),r.indexOf(a)>=0)t=r.indexOf(a);else{var p=Math.min(o.slidesPerGroupSkip,u);t=p+Math.floor((u-p)/o.slidesPerGroup)}if(t>=r.length&&(t=r.length-1),u===s)return t!==c&&(i.snapIndex=t,i.emit("snapIndexChange")),void(i.params.loop&&i.virtual&&i.params.virtual.enabled&&(i.realIndex=d(u)));n=i.virtual&&o.virtual.enabled&&o.loop?d(u):i.slides[u]?parseInt(i.slides[u].getAttribute("data-swiper-slide-index")||u,10):u,Object.assign(i,{previousSnapIndex:c,snapIndex:t,previousRealIndex:l,realIndex:n,previousIndex:s,activeIndex:u}),i.initialized&&O(i),i.emit("activeIndexChange"),i.emit("snapIndexChange"),l!==n&&i.emit("realIndexChange"),(i.initialized||i.params.runCallbacksOnInit)&&i.emit("slideChange")},updateClickedSlide:function(e){var t,n=this,i=n.params,a=e.closest(".".concat(i.slideClass,", swiper-slide")),r=!1;if(a)for(var o=0;oc?c:i&&eo?"next":r=l.length&&(g=l.length-1);var y,b=-l[g];if(s.normalizeSlideIndex)for(var w=0;w=x&&_=x&&_=x&&(o=w)}if(r.initialized&&o!==d){if(!r.allowSlideNext&&(p?b>r.translate&&b>r.minTranslate():br.translate&&b>r.maxTranslate()&&(d||0)!==o)return!1}if(o!==(u||0)&&n&&r.emit("beforeSlideChangeStart"),r.updateProgress(b),y=o>d?"next":o0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame((function(){f[T?"scrollLeft":"scrollTop"]=S}))):f[T?"scrollLeft":"scrollTop"]=S,k&&requestAnimationFrame((function(){r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1}))}else{if(!r.support.smoothScroll)return v({swiper:r,targetPosition:S,side:T?"left":"top"}),!0;f.scrollTo(_defineProperty(_defineProperty({},T?"left":"top",S),"behavior","smooth"))}return!0}return r.setTransition(t),r.setTranslate(b),r.updateActiveIndex(o),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,i),r.transitionStart(n,y),0===t?r.transitionEnd(n,y):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(n,y))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));var a=this,r=e;return a.params.loop&&(a.virtual&&a.params.virtual.enabled?r+=a.virtual.slidesBefore:r=a.getSlideIndexByData(r)),a.slideTo(r,t,n,i)},slideNext:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,a=i.enabled,r=i.params,o=i.animating;if(!a)return i;var s=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(s=Math.max(i.slidesPerViewDynamic("current",!0),1));var l=i.activeIndex=e&&(p=t)})),void 0!==p&&(m=r[p>0?p-1:p]));var v=0;if(void 0!==m&&((v=o.indexOf(m))<0&&(v=i.activeIndex-1),"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(v=v-i.slidesPerViewDynamic("previous",!0)+1,v=Math.max(v,0))),a.rewind&&i.isBeginning){var g=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(g,e,t,n)}return i.slideTo(v,e,t,n)},slideReset:function(e,t,n){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e,t,n,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===i&&(i=.5);var a=this,r=a.activeIndex,o=Math.min(a.params.slidesPerGroupSkip,r),s=o+Math.floor((r-o)/a.params.slidesPerGroup),l=a.rtlTranslate?a.translate:-a.translate;if(l>=a.snapGrid[s]){var c=a.snapGrid[s];l-c>(a.snapGrid[s+1]-c)*i&&(r+=a.params.slidesPerGroup)}else{var u=a.snapGrid[s-1];l-u<=(a.snapGrid[s]-u)*i&&(r-=a.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,a.slidesGrid.length-1),a.slideTo(r,e,t,n)},slideToClickedSlide:function(){var e,t=this,n=t.params,i=t.slidesEl,a="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,r=t.clickedIndex,o=t.isElement?"swiper-slide":".".concat(n.slideClass);if(n.loop){if(t.animating)return;e=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),n.centeredSlides?rt.slides.length-t.loopedSlides+a/2?(t.loopFix(),r=t.getSlideIndex(y(i,"".concat(o,'[data-swiper-slide-index="').concat(e,'"]'))[0]),c((function(){t.slideTo(r)}))):t.slideTo(r):r>t.slides.length-a?(t.loopFix(),r=t.getSlideIndex(y(i,"".concat(o,'[data-swiper-slide-index="').concat(e,'"]'))[0]),c((function(){t.slideTo(r)}))):t.slideTo(r)}else t.slideTo(r)}},H={loopCreate:function(e){var t=this,n=t.params,i=t.slidesEl;!n.loop||t.virtual&&t.params.virtual.enabled||(y(i,".".concat(n.slideClass,", swiper-slide")).forEach((function(e,t){e.setAttribute("data-swiper-slide-index",t)})),t.loopFix({slideRealIndex:e,direction:n.centeredSlides?void 0:"next"}))},loopFix:function(e){var t=void 0===e?{}:e,n=t.slideRealIndex,i=t.slideTo,a=void 0===i||i,r=t.direction,o=t.setTranslate,s=t.activeSlideIndex,l=t.byController,c=t.byMousewheel,u=this;if(u.params.loop){u.emit("beforeLoopFix");var d=u.slides,p=u.allowSlidePrev,f=u.allowSlideNext,h=u.slidesEl,m=u.params;if(u.allowSlidePrev=!0,u.allowSlideNext=!0,u.virtual&&m.virtual.enabled)return a&&(m.centeredSlides||0!==u.snapIndex?m.centeredSlides&&u.snapIndexu.slides.length-2*g){T=Math.max(s-(u.slides.length-2*g),m.slidesPerGroup);for(var C=0;C0&&x)if(void 0===n){var M=u.slidesGrid[w],I=u.slidesGrid[w+E]-M;c?u.setTranslate(u.translate-I):(u.slideTo(w+E,0,!1,!0),o&&(u.touches[u.isHorizontal()?"startX":"startY"]+=I))}else o&&u.slideToLoop(n,0,!1,!0);else if(b.length>0&&_)if(void 0===n){var L=u.slidesGrid[w],O=u.slidesGrid[w-T]-L;c?u.setTranslate(u.translate-O):(u.slideTo(w-T,0,!1,!0),o&&(u.touches[u.isHorizontal()?"startX":"startY"]+=O))}else u.slideToLoop(n,0,!1,!0);if(u.allowSlidePrev=p,u.allowSlideNext=f,u.controller&&u.controller.control&&!l){var P={slideRealIndex:n,slideTo:!1,direction:r,setTranslate:o,activeSlideIndex:s,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach((function(e){!e.destroyed&&e.params.loop&&e.loopFix(P)})):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix(P)}u.emit("loopFix")}},loopDestroy:function(){var e=this,t=e.params,n=e.slidesEl;if(!(!t.loop||e.virtual&&e.params.virtual.enabled)){e.recalcSlides();var i=[];e.slides.forEach((function(e){var t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;i[t]=e})),e.slides.forEach((function(e){e.removeAttribute("data-swiper-slide-index")})),i.forEach((function(e){n.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}}};function j(e){var t=this,n=i(),a=l(),r=t.touchEventsData;r.evCache.push(e);var o=t.params,s=t.touches;if(t.enabled&&(o.simulateTouch||"mouse"!==e.pointerType)&&(!t.animating||!o.preventInteractionOnTransition)){!t.animating&&o.cssMode&&o.loop&&t.loopFix();var c=e;c.originalEvent&&(c=c.originalEvent);var d=c.target;if(("wrapper"!==o.touchEventsTarget||t.wrapperEl.contains(d))&&!("which"in c&&3===c.which||"button"in c&&c.button>0||r.isTouched&&r.isMoved)){var p=!!o.noSwipingClass&&""!==o.noSwipingClass,f=e.composedPath?e.composedPath():e.path;p&&c.target&&c.target.shadowRoot&&f&&(d=f[0]);var h=o.noSwipingSelector?o.noSwipingSelector:".".concat(o.noSwipingClass),m=!(!c.target||!c.target.shadowRoot);if(o.noSwiping&&(m?function(e,t){return void 0===t&&(t=this),function t(n){if(!n||n===i()||n===l())return null;n.assignedSlot&&(n=n.assignedSlot);var a=n.closest(e);return a||n.getRootNode?a||t(n.getRootNode().host):null}(t)}(h,d):d.closest(h)))t.allowClick=!0;else if(!o.swipeHandler||d.closest(o.swipeHandler)){s.currentX=c.pageX,s.currentY=c.pageY;var v=s.currentX,g=s.currentY,y=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,b=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(y&&(v<=b||v>=a.innerWidth-b)){if("prevent"!==y)return;e.preventDefault()}Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=v,s.startY=g,r.touchStartTime=u(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(r.allowThresholdMove=!1);var w=!0;d.matches(r.focusableElements)&&(w=!1,"SELECT"===d.nodeName&&(r.isTouched=!1)),n.activeElement&&n.activeElement.matches(r.focusableElements)&&n.activeElement!==d&&n.activeElement.blur();var _=w&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!_||d.isContentEditable||c.preventDefault(),o.freeMode&&o.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",c)}}}}function B(e){var t=i(),n=this,a=n.touchEventsData,r=n.params,o=n.touches,s=n.rtlTranslate;if(n.enabled&&(r.simulateTouch||"mouse"!==e.pointerType)){var l=e;if(l.originalEvent&&(l=l.originalEvent),a.isTouched){var c=a.evCache.findIndex((function(e){return e.pointerId===l.pointerId}));c>=0&&(a.evCache[c]=l);var d=a.evCache.length>1?a.evCache[0]:l,p=d.pageX,f=d.pageY;if(l.preventedByNestedSwiper)return o.startX=p,void(o.startY=f);if(!n.allowTouchMove)return l.target.matches(a.focusableElements)||(n.allowClick=!1),void(a.isTouched&&(Object.assign(o,{startX:p,startY:f,prevX:n.touches.currentX,prevY:n.touches.currentY,currentX:p,currentY:f}),a.touchStartTime=u()));if(r.touchReleaseOnEdges&&!r.loop)if(n.isVertical()){if(fo.startY&&n.translate>=n.minTranslate())return a.isTouched=!1,void(a.isMoved=!1)}else if(po.startX&&n.translate>=n.minTranslate())return;if(t.activeElement&&l.target===t.activeElement&&l.target.matches(a.focusableElements))return a.isMoved=!0,void(n.allowClick=!1);if(a.allowTouchCallbacks&&n.emit("touchMove",l),!(l.targetTouches&&l.targetTouches.length>1)){o.currentX=p,o.currentY=f;var h=o.currentX-o.startX,m=o.currentY-o.startY;if(!(n.params.threshold&&Math.sqrt(Math.pow(h,2)+Math.pow(m,2))=25&&(v=180*Math.atan2(Math.abs(m),Math.abs(h))/Math.PI,a.isScrolling=n.isHorizontal()?v>r.touchAngle:90-v>r.touchAngle);if(a.isScrolling&&n.emit("touchMoveOpposite",l),void 0===a.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(a.startMoving=!0)),a.isScrolling||n.zoom&&n.params.zoom&&n.params.zoom.enabled&&a.evCache.length>1)a.isTouched=!1;else if(a.startMoving){n.allowClick=!1,!r.cssMode&&l.cancelable&&l.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&l.stopPropagation();var g=n.isHorizontal()?h:m,y=n.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;r.oneWayMovement&&(g=Math.abs(g)*(s?1:-1),y=Math.abs(y)*(s?1:-1)),o.diff=g,g*=r.touchRatio,s&&(g=-g,y=-y);var b=n.touchesDirection;n.swipeDirection=g>0?"prev":"next",n.touchesDirection=y>0?"prev":"next";var w,_=n.params.loop&&!r.cssMode;if(!a.isMoved){if(_&&n.loopFix({direction:n.swipeDirection}),a.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){var x=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});n.wrapperEl.dispatchEvent(x)}a.allowMomentumBounce=!1,!r.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",l)}a.isMoved&&b!==n.touchesDirection&&_&&Math.abs(g)>=1&&(n.loopFix({direction:n.swipeDirection,setTranslate:!0}),w=!0),n.emit("sliderMove",l),a.isMoved=!0,a.currentTranslate=g+a.startTranslate;var E=!0,T=r.resistanceRatio;if(r.touchReleaseOnEdges&&(T=0),g>0?(_&&!w&&a.currentTranslate>(r.centeredSlides?n.minTranslate()-n.size/2:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),a.currentTranslate>n.minTranslate()&&(E=!1,r.resistance&&(a.currentTranslate=n.minTranslate()-1+Math.pow(-n.minTranslate()+a.startTranslate+g,T)))):g<0&&(_&&!w&&a.currentTranslate<(r.centeredSlides?n.maxTranslate()+n.size/2:n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-("auto"===r.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),a.currentTranslatea.startTranslate&&(a.currentTranslate=a.startTranslate),n.allowSlidePrev||n.allowSlideNext||(a.currentTranslate=a.startTranslate),r.threshold>0){if(!(Math.abs(g)>r.threshold||a.allowThresholdMove))return void(a.currentTranslate=a.startTranslate);if(!a.allowThresholdMove)return a.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,a.currentTranslate=a.startTranslate,void(o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&n.freeMode||r.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses(),n.freeMode.onTouchMove()),n.updateProgress(a.currentTranslate),n.setTranslate(a.currentTranslate))}}}}else a.startMoving&&a.isScrolling&&n.emit("touchMoveOpposite",l)}}function F(e){var t=this,n=t.touchEventsData,i=n.evCache.findIndex((function(t){return t.pointerId===e.pointerId}));if(i>=0&&n.evCache.splice(i,1),!["pointercancel","pointerout","pointerleave"].includes(e.type)||"pointercancel"===e.type&&(t.browser.isSafari||t.browser.isWebView)){var a=t.params,r=t.touches,o=t.rtlTranslate,s=t.slidesGrid;if(t.enabled&&(a.simulateTouch||"mouse"!==e.pointerType)){var l=e;if(l.originalEvent&&(l=l.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",l),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&a.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);a.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var d,p=u(),f=p-n.touchStartTime;if(t.allowClick){var h=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(h&&h[0]||l.target),t.emit("tap click",l),f<300&&p-n.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(n.lastClickTime=u(),c((function(){t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===r.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,d=a.followFinger?o?t.translate:-t.translate:-n.currentTranslate,!a.cssMode)if(a.freeMode&&a.freeMode.enabled)t.freeMode.onTouchEnd({currentPos:d});else{for(var m=0,v=t.slidesSizesGrid[0],g=0;g=s[g]&&d=s[g]&&(m=g,v=s[s.length-1]-s[s.length-2])}var b=null,w=null;a.rewind&&(t.isBeginning?w=a.virtual&&a.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(b=0));var _=(d-s[m])/v,x=ma.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(_>=a.longSwipesRatio?t.slideTo(a.rewind&&t.isEnd?b:m+x):t.slideTo(m)),"prev"===t.swipeDirection&&(_>1-a.longSwipesRatio?t.slideTo(m+x):null!==w&&_<0&&Math.abs(_)>a.longSwipesRatio?t.slideTo(w):t.slideTo(m))}else{if(!a.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||l.target!==t.navigation.nextEl&&l.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==b?b:m+x),"prev"===t.swipeDirection&&t.slideTo(null!==w?w:m)):l.target===t.navigation.nextEl?t.slideTo(m+x):t.slideTo(m)}}}}}function W(){var e=this,t=e.params,n=e.el;if(!n||0!==n.offsetWidth){t.breakpoints&&e.setBreakpoint();var i=e.allowSlideNext,a=e.allowSlidePrev,r=e.snapGrid,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();var s=o&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||s?e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((function(){e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=a,e.allowSlideNext=i,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}}function R(e){var t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function q(){var e=this,t=e.wrapperEl,n=e.rtlTranslate;if(e.enabled){e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();var i=e.maxTranslate()-e.minTranslate();(0===i?0:(e.translate-e.minTranslate())/i)!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}}function $(e){var t=this;I(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}var G=!1;function V(){}var Y=function(e,t){var n=i(),a=e.params,r=e.el,o=e.wrapperEl,s=e.device,l=!!a.nested,c="on"===t?"addEventListener":"removeEventListener",u=t;r[c]("pointerdown",e.onTouchStart,{passive:!1}),n[c]("pointermove",e.onTouchMove,{passive:!1,capture:l}),n[c]("pointerup",e.onTouchEnd,{passive:!0}),n[c]("pointercancel",e.onTouchEnd,{passive:!0}),n[c]("pointerout",e.onTouchEnd,{passive:!0}),n[c]("pointerleave",e.onTouchEnd,{passive:!0}),(a.preventClicks||a.preventClicksPropagation)&&r[c]("click",e.onClick,!0),a.cssMode&&o[c]("scroll",e.onScroll),a.updateOnWindowResize?e[u](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",W,!0):e[u]("observerUpdate",W,!0),r[c]("load",e.onLoad,{capture:!0})},X=function(e,t){return e.grid&&t.grid&&t.grid.rows>1},U={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopedSlides:null,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Q(e,t){return function(n){void 0===n&&(n={});var i=Object.keys(n)[0],a=n[i];"object"==_typeof(a)&&null!==a?(["navigation","pagination","scrollbar"].indexOf(i)>=0&&!0===e[i]&&(e[i]={auto:!0}),i in e&&"enabled"in a?(!0===e[i]&&(e[i]={enabled:!0}),"object"!=_typeof(e[i])||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),h(t,n)):h(t,n)):h(t,n)}}var K={eventsEmitter:M,update:P,translate:z,transition:{setTransition:function(e,t){var n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration="".concat(e,"ms")),n.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var n=this,i=n.params;i.cssMode||(i.autoHeight&&n.updateAutoHeight(),D({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);var n=this,i=n.params;n.animating=!1,i.cssMode||(n.setTransition(0),D({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:N,loop:H,grabCursor:{setGrabCursor:function(e){var t=this;if(!(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)){var n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((function(){t.__preventObserver__=!1}))}},unsetGrabCursor:function(){var e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((function(){e.__preventObserver__=!1})))}},events:{attachEvents:function(){var e=this,t=i(),n=e.params;e.onTouchStart=j.bind(e),e.onTouchMove=B.bind(e),e.onTouchEnd=F.bind(e),n.cssMode&&(e.onScroll=q.bind(e)),e.onClick=R.bind(e),e.onLoad=$.bind(e),G||(t.addEventListener("touchstart",V),G=!0),Y(e,"on")},detachEvents:function(){Y(this,"off")}},breakpoints:{setBreakpoint:function(){var e=this,t=e.realIndex,n=e.initialized,i=e.params,a=e.el,r=i.breakpoints;if(r&&(!r||0!==Object.keys(r).length)){var o=e.getBreakpoint(r,e.params.breakpointsBase,e.el);if(o&&e.currentBreakpoint!==o){var s=(o in r?r[o]:void 0)||e.originalParams,l=X(e,i),c=X(e,s),u=i.enabled;l&&!c?(a.classList.remove("".concat(i.containerModifierClass,"grid"),"".concat(i.containerModifierClass,"grid-column")),e.emitContainerClasses()):!l&&c&&(a.classList.add("".concat(i.containerModifierClass,"grid")),(s.grid.fill&&"column"===s.grid.fill||!s.grid.fill&&"column"===i.grid.fill)&&a.classList.add("".concat(i.containerModifierClass,"grid-column")),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((function(t){if(void 0!==s[t]){var n=i[t]&&i[t].enabled,a=s[t]&&s[t].enabled;n&&!a&&e[t].disable(),!n&&a&&e[t].enable()}}));var d=s.direction&&s.direction!==i.direction,p=i.loop&&(s.slidesPerView!==i.slidesPerView||d);d&&n&&e.changeDirection(),h(e.params,s);var f=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),u&&!f?e.disable():!u&&f&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",s),p&&n&&(e.loopDestroy(),e.loopCreate(t),e.updateSlides()),e.emit("breakpoint",s)}}},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),e&&("container"!==t||n)){var i=!1,a=l(),r="window"===t?a.innerHeight:n.clientHeight,o=Object.keys(e).map((function(e){if("string"==typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:r*t,point:e}}return{value:e,point:e}}));o.sort((function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)}));for(var s=0;sr}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){var e,t=this,n=t.classNames,i=t.params,a=t.rtl,r=t.el,o=t.device,s=function(e,t){var n=[];return e.forEach((function(e){"object"==_typeof(e)?Object.keys(e).forEach((function(i){e[i]&&n.push(t+i)})):"string"==typeof e&&n.push(t+e)})),n}(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:a},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&"column"===i.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);n.push.apply(n,_toConsumableArray(s)),(e=r.classList).add.apply(e,_toConsumableArray(n)),t.emitContainerClasses()},removeClasses:function(){var e,t=this.el,n=this.classNames;(e=t.classList).remove.apply(e,_toConsumableArray(n)),this.emitContainerClasses()}}},Z={},J=function(){function e(){var t,n,a,r;_classCallCheck(this,e);for(var o=arguments.length,s=new Array(o),l=0;l1){var u=[];return c.querySelectorAll(r.el).forEach((function(t){var n=h({},r,{el:t});u.push(new e(n))})),u}var d=this;d.__swiper__=!0,d.support=k(),d.device=C({userAgent:r.userAgent}),d.browser=A(),d.eventsListeners={},d.eventsAnyListeners=[],d.modules=_toConsumableArray(d.__modules__),r.modules&&Array.isArray(r.modules)&&(n=d.modules).push.apply(n,_toConsumableArray(r.modules));var p={};d.modules.forEach((function(e){e({params:r,swiper:d,extendParams:Q(r,p),on:d.on.bind(d),once:d.once.bind(d),off:d.off.bind(d),emit:d.emit.bind(d)})}));var f=h({},U,p);return d.params=h({},f,Z,r),d.originalParams=h({},d.params),d.passedParams=h({},r),d.params&&d.params.on&&Object.keys(d.params.on).forEach((function(e){d.on(e,d.params.on[e])})),d.params&&d.params.onAny&&d.onAny(d.params.onAny),Object.assign(d,{enabled:d.params.enabled,el:a,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===d.params.direction},isVertical:function(){return"vertical"===d.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment:function(){return Math.trunc(this.translate/Math.pow(2,23))*Math.pow(2,23)},allowSlideNext:d.params.allowSlideNext,allowSlidePrev:d.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:d.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:d.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),d.emit("_swiper"),d.params.init&&d.init(),d}return _createClass(e,[{key:"getSlideIndex",value:function(e){var t=this.slidesEl,n=this.params,i=x(y(t,".".concat(n.slideClass,", swiper-slide"))[0]);return x(e)-i}},{key:"getSlideIndexByData",value:function(e){return this.getSlideIndex(this.slides.filter((function(t){return 1*t.getAttribute("data-swiper-slide-index")===e}))[0])}},{key:"recalcSlides",value:function(){var e=this.slidesEl,t=this.params;this.slides=y(e,".".concat(t.slideClass,", swiper-slide"))}},{key:"enable",value:function(){var e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}},{key:"disable",value:function(){var e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}},{key:"setProgress",value:function(e,t){var n=this;e=Math.min(Math.max(e,0),1);var i=n.minTranslate(),a=(n.maxTranslate()-i)*e+i;n.translateTo(a,void 0===t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}},{key:"emitContainerClasses",value:function(){var e=this;if(e.params._emitClasses&&e.el){var t=e.el.className.split(" ").filter((function(t){return 0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)}));e.emit("_containerClasses",t.join(" "))}}},{key:"getSlideClasses",value:function(e){var t=this;return t.destroyed?"":e.className.split(" ").filter((function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)})).join(" ")}},{key:"emitSlidesClasses",value:function(){var e=this;if(e.params._emitClasses&&e.el){var t=[];e.slides.forEach((function(n){var i=e.getSlideClasses(n);t.push({slideEl:n,classNames:i}),e.emit("_slideClass",n,i)})),e.emit("_slideClasses",t)}}},{key:"slidesPerViewDynamic",value:function(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);var n=this.params,i=this.slides,a=this.slidesGrid,r=this.slidesSizesGrid,o=this.size,s=this.activeIndex,l=1;if(n.centeredSlides){for(var c,u=i[s]?i[s].swiperSlideSize:0,d=s+1;do&&(c=!0));for(var p=s-1;p>=0;p-=1)i[p]&&!c&&(l+=1,(u+=i[p].swiperSlideSize)>o&&(c=!0))}else if("current"===e)for(var f=s+1;f=0;h-=1)a[s]-a[h]1)&&e.isEnd&&!i.centeredSlides){var a=e.virtual&&i.virtual.enabled?e.virtual.slides:e.slides;t=e.slideTo(a.length-1,0,!1,!0)}else t=e.slideTo(e.activeIndex,0,!1,!0);t||r()}i.watchOverflow&&n!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function r(){var t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}}},{key:"changeDirection",value:function(e,t){void 0===t&&(t=!0);var n=this,i=n.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(n.el.classList.remove("".concat(n.params.containerModifierClass).concat(i)),n.el.classList.add("".concat(n.params.containerModifierClass).concat(e)),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach((function(t){"vertical"===e?t.style.width="":t.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}},{key:"changeLanguageDirection",value:function(e){var t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add("".concat(t.params.containerModifierClass,"rtl")),t.el.dir="rtl"):(t.el.classList.remove("".concat(t.params.containerModifierClass,"rtl")),t.el.dir="ltr"),t.update())}},{key:"mount",value:function(e){var t=this;if(t.mounted)return!0;var n=e||t.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.shadowEl&&(t.isElement=!0);var i=function(){return".".concat((t.params.wrapperClass||"").trim().split(" ").join("."))},a=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(i()):y(n,i())[0];return!a&&t.params.createElements&&(a=b("div",t.params.wrapperClass),n.append(a),y(n,".".concat(t.params.slideClass)).forEach((function(e){a.append(e)}))),Object.assign(t,{el:n,wrapperEl:a,slidesEl:t.isElement?n:a,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===_(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===_(n,"direction")),wrongRTL:"-webkit-box"===_(a,"display")}),!0}},{key:"init",value:function(e){var t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents(),_toConsumableArray(t.el.querySelectorAll('[loading="lazy"]')).forEach((function(e){e.complete?I(t,e):e.addEventListener("load",(function(e){I(t,e.target)}))})),O(t),t.initialized=!0,O(t),t.emit("init"),t.emit("afterInit")),t}},{key:"destroy",value:function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var n=this,i=n.params,a=n.el,r=n.wrapperEl,o=n.slides;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),t&&(n.removeClasses(),a.removeAttribute("style"),r.removeAttribute("style"),o&&o.length&&o.forEach((function(e){e.classList.remove(i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((function(e){n.off(e)})),!1!==e&&(n.el.swiper=null,function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(n)),n.destroyed=!0),null}}],[{key:"extendDefaults",value:function(e){h(Z,e)}},{key:"extendedDefaults",get:function(){return Z}},{key:"defaults",get:function(){return U}},{key:"installModule",value:function(t){e.prototype.__modules__||(e.prototype.__modules__=[]);var n=e.prototype.__modules__;"function"==typeof t&&n.indexOf(t)<0&&n.push(t)}},{key:"use",value:function(t){return Array.isArray(t)?(t.forEach((function(t){return e.installModule(t)})),e):(e.installModule(t),e)}}])}();function ee(e,t,n,i){return e.params.createElements&&Object.keys(i).forEach((function(a){if(!n[a]&&!0===n.auto){var r=y(e.el,".".concat(i[a]))[0];r||((r=b("div",i[a])).className=i[a],e.el.append(r)),n[a]=r,t[a]=r}})),n}function te(e){return void 0===e&&(e=""),".".concat(e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,"."))}function ne(e){var t=this,n=t.params,i=t.slidesEl;n.loop&&t.loopDestroy();var a=function(e){if("string"==typeof e){var t=document.createElement("div");t.innerHTML=e,i.append(t.children[0]),t.innerHTML=""}else i.append(e)};if("object"==_typeof(e)&&"length"in e)for(var r=0;r=s)n.appendSlide(t);else{for(var l=o>e?o+1:o,c=[],u=s-1;u>=e;u-=1){var d=n.slides[u];d.remove(),c.unshift(d)}if("object"==_typeof(t)&&"length"in t){for(var p=0;pe?o+t.length:o}else r.append(t);for(var f=0;f=_?(E-=_,r||(S+=n.slidesGrid[0])):s&&x<_&&(E=-_,r&&(S+=n.slidesGrid[0])),Object.assign(n.virtual,{from:E,to:T,offset:S,slidesGrid:n.slidesGrid,slidesBefore:_,slidesAfter:w}),f===E&&h===T&&!e)return n.slidesGrid!==v&&S!==g&&n.slides.forEach((function(e){e.style[b]=S-Math.abs(n.cssOverflowAdjustment())+"px"})),n.updateProgress(),void o("virtualUpdate");if(n.params.virtual.renderExternal)return n.params.virtual.renderExternal.call(n,{offset:S,from:E,to:T,slides:function(){for(var e=[],t=E;t<=T;t+=1)e.push(m[t]);return e}()}),void(n.params.virtual.renderExternalUpdate?k():o("virtualUpdate"));var C=[],A=[],M=function(e){var t=e;return e<0?t=m.length+e:t>=m.length&&(t-=m.length),t};if(e)n.slidesEl.querySelectorAll(".".concat(n.params.slideClass,", swiper-slide")).forEach((function(e){e.remove()}));else for(var I=f;I<=h;I+=1)if(IT){var L=M(I);n.slidesEl.querySelectorAll(".".concat(n.params.slideClass,'[data-swiper-slide-index="').concat(L,'"], swiper-slide[data-swiper-slide-index="').concat(L,'"]')).forEach((function(e){e.remove()}))}for(var O=s?-m.length:0,P=s?2*m.length:m.length,z=O;z=E&&z<=T){var D=M(z);void 0===h||e?A.push(D):(z>h&&A.push(D),z=0;N-=1){var H=C[N];n.slidesEl.prepend(c(m[H],H))}else C.sort((function(e,t){return t-e})),C.forEach((function(e){n.slidesEl.prepend(c(m[e],e))}));y(n.slidesEl,".swiper-slide, swiper-slide").forEach((function(e){e.style[b]=S-Math.abs(n.cssOverflowAdjustment())+"px"})),k()}r("beforeInit",(function(){if(n.params.virtual.enabled){var e;if(void 0===n.passedParams.virtual.slides){var t=_toConsumableArray(n.slidesEl.children).filter((function(e){return e.matches(".".concat(n.params.slideClass,", swiper-slide"))}));t&&t.length&&(n.virtual.slides=_toConsumableArray(t),e=!0,t.forEach((function(e,t){e.setAttribute("data-swiper-slide-index",t),n.virtual.cache[t]=e,e.remove()})))}e||(n.virtual.slides=n.params.virtual.slides),n.classNames.push("".concat(n.params.containerModifierClass,"virtual")),n.params.watchSlidesProgress=!0,n.originalParams.watchSlidesProgress=!0,n.params.initialSlide||u()}})),r("setTranslate",(function(){n.params.virtual.enabled&&(n.params.cssMode&&!n._immediateVirtual?(clearTimeout(t),t=setTimeout((function(){u()}),100)):u())})),r("init update resize",(function(){n.params.virtual.enabled&&n.params.cssMode&&m(n.wrapperEl,"--swiper-virtual-size","".concat(n.virtualSize,"px"))})),Object.assign(n.virtual,{appendSlide:function(e){if("object"==_typeof(e)&&"length"in e)for(var t=0;t=0;i-=1)n.virtual.slides.splice(e[i],1),n.params.virtual.cache&&delete n.virtual.cache[e[i]],e[i]0&&0===E(t.el,".".concat(t.params.slideActiveClass)).length)return;var v=t.el,g=v.clientWidth,y=v.clientHeight,b=s.innerWidth,_=s.innerHeight,x=w(v);n&&(x.left-=v.scrollLeft);for(var T=[[x.left,x.top],[x.left+g,x.top],[x.left,x.top+y],[x.left+g,x.top+y]],S=0;S=0&&k[0]<=b&&k[1]>=0&&k[1]<=_){if(0===k[0]&&0===k[1])continue;m=!0}}if(!m)return}t.isHorizontal()?((c||u||d||p)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),((u||p)&&!n||(c||d)&&n)&&t.slideNext(),((c||d)&&!n||(u||p)&&n)&&t.slidePrev()):((c||u||f||h)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),(u||h)&&t.slideNext(),(c||f)&&t.slidePrev()),r("keyPress",a)}}}function u(){t.keyboard.enabled||(o.addEventListener("keydown",c),t.keyboard.enabled=!0)}function d(){t.keyboard.enabled&&(o.removeEventListener("keydown",c),t.keyboard.enabled=!1)}t.keyboard={enabled:!1},n({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),a("init",(function(){t.params.keyboard.enabled&&u()})),a("destroy",(function(){t.keyboard.enabled&&d()})),Object.assign(t.keyboard,{enable:u,disable:d})},function(e){var t,n=e.swiper,i=e.extendParams,a=e.on,r=e.emit,o=l();i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),n.mousewheel={enabled:!1};var s,d=u(),p=[];function f(){n.enabled&&(n.mouseEntered=!0)}function h(){n.enabled&&(n.mouseEntered=!1)}function m(e){return!(n.params.mousewheel.thresholdDelta&&e.delta=6&&u()-d<60)&&(e.direction<0?n.isEnd&&!n.params.loop||n.animating||(n.slideNext(),r("scroll",e.raw)):n.isBeginning&&!n.params.loop||n.animating||(n.slidePrev(),r("scroll",e.raw)),d=(new o.Date).getTime(),1))}function v(e){var i=e;if(n.enabled&&!e.target.closest(".".concat(n.params.mousewheel.noMousewheelClass))){var a=n.params.mousewheel;n.params.cssMode&&i.preventDefault();var o=n.el;"container"!==n.params.mousewheel.eventsTarget&&(o=document.querySelector(n.params.mousewheel.eventsTarget));var l=o&&o.contains(i.target);if(!n.mouseEntered&&!l&&!a.releaseOnEdges)return!0;i.originalEvent&&(i=i.originalEvent);var d=0,f=n.rtlTranslate?-1:1,h=function(e){var t=0,n=0,i=0,a=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),i=10*t,a=10*n,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(i=e.deltaX),e.shiftKey&&!i&&(i=a,a=0),(i||a)&&e.deltaMode&&(1===e.deltaMode?(i*=40,a*=40):(i*=800,a*=800)),i&&!t&&(t=i<1?-1:1),a&&!n&&(n=a<1?-1:1),{spinX:t,spinY:n,pixelX:i,pixelY:a}}(i);if(a.forceToAxis)if(n.isHorizontal()){if(!(Math.abs(h.pixelX)>Math.abs(h.pixelY)))return!0;d=-h.pixelX*f}else{if(!(Math.abs(h.pixelY)>Math.abs(h.pixelX)))return!0;d=-h.pixelY}else d=Math.abs(h.pixelX)>Math.abs(h.pixelY)?-h.pixelX*f:-h.pixelY;if(0===d)return!0;a.invert&&(d=-d);var v=n.getTranslate()+d*a.sensitivity;if(v>=n.minTranslate()&&(v=n.minTranslate()),v<=n.maxTranslate()&&(v=n.maxTranslate()),(!!n.params.loop||!(v===n.minTranslate()||v===n.maxTranslate()))&&n.params.nested&&i.stopPropagation(),n.params.freeMode&&n.params.freeMode.enabled){var g={time:u(),delta:Math.abs(d),direction:Math.sign(d)},y=s&&g.time=n.minTranslate()&&(b=n.minTranslate()),b<=n.maxTranslate()&&(b=n.maxTranslate()),n.setTransition(0),n.setTranslate(b),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!w&&n.isBeginning||!_&&n.isEnd)&&n.updateSlidesClasses(),n.params.loop&&n.loopFix({direction:g.direction<0?"next":"prev",byMousewheel:!0}),n.params.freeMode.sticky){clearTimeout(t),t=void 0,p.length>=15&&p.shift();var x=p.length?p[p.length-1]:void 0,E=p[0];if(p.push(g),x&&(g.delta>x.delta||g.direction!==x.direction))p.splice(0);else if(p.length>=15&&g.time-E.time<500&&E.delta-g.delta>=1&&g.delta<=6){var T=d>0?.8:.2;s=g,p.splice(0),t=c((function(){n.slideToClosest(n.params.speed,!0,void 0,T)}),0)}t||(t=c((function(){s=g,p.splice(0),n.slideToClosest(n.params.speed,!0,void 0,.5)}),500))}if(y||r("scroll",i),n.params.autoplay&&n.params.autoplayDisableOnInteraction&&n.autoplay.stop(),b===n.minTranslate()||b===n.maxTranslate())return!0}}else{var S={time:u(),delta:Math.abs(d),direction:Math.sign(d),raw:e};p.length>=2&&p.shift();var k=p.length?p[p.length-1]:void 0;if(p.push(S),k?(S.direction!==k.direction||S.delta>k.delta||S.time>k.time+150)&&m(S):m(S),function(e){var t=n.params.mousewheel;if(e.direction<0){if(n.isEnd&&!n.params.loop&&t.releaseOnEdges)return!0}else if(n.isBeginning&&!n.params.loop&&t.releaseOnEdges)return!0;return!1}(S))return!0}return i.preventDefault?i.preventDefault():i.returnValue=!1,!1}}function g(e){var t=n.el;"container"!==n.params.mousewheel.eventsTarget&&(t=document.querySelector(n.params.mousewheel.eventsTarget)),t[e]("mouseenter",f),t[e]("mouseleave",h),t[e]("wheel",v)}function y(){return n.params.cssMode?(n.wrapperEl.removeEventListener("wheel",v),!0):!n.mousewheel.enabled&&(g("addEventListener"),n.mousewheel.enabled=!0,!0)}function b(){return n.params.cssMode?(n.wrapperEl.addEventListener(event,v),!0):!!n.mousewheel.enabled&&(g("removeEventListener"),n.mousewheel.enabled=!1,!0)}a("init",(function(){!n.params.mousewheel.enabled&&n.params.cssMode&&b(),n.params.mousewheel.enabled&&y()})),a("destroy",(function(){n.params.cssMode&&y(),n.mousewheel.enabled&&b()})),Object.assign(n.mousewheel,{enable:y,disable:b})},function(e){var t=e.swiper,n=e.extendParams,i=e.on,a=e.emit;n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null};var r=function(e){return Array.isArray(e)||(e=[e].filter((function(e){return!!e}))),e};function o(e){var n;return e&&"string"==typeof e&&t.isElement&&(n=t.el.shadowRoot.querySelector(e))?n:(e&&("string"==typeof e&&(n=_toConsumableArray(document.querySelectorAll(e))),t.params.uniqueNavElements&&"string"==typeof e&&n.length>1&&1===t.el.querySelectorAll(e).length&&(n=t.el.querySelector(e))),e&&!n?e:n)}function s(e,n){var i=t.params.navigation;(e=r(e)).forEach((function(e){var a;e&&((a=e.classList)[n?"add":"remove"].apply(a,_toConsumableArray(i.disabledClass.split(" "))),"BUTTON"===e.tagName&&(e.disabled=n),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass))}))}function l(){var e=t.navigation,n=e.nextEl,i=e.prevEl;if(t.params.loop)return s(i,!1),void s(n,!1);s(i,t.isBeginning&&!t.params.rewind),s(n,t.isEnd&&!t.params.rewind)}function c(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),a("navigationPrev"))}function u(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),a("navigationNext"))}function d(){var e=t.params.navigation;if(t.params.navigation=ee(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),e.nextEl||e.prevEl){var n=o(e.nextEl),i=o(e.prevEl);Object.assign(t.navigation,{nextEl:n,prevEl:i}),n=r(n),i=r(i);var a=function(n,i){var a;n&&n.addEventListener("click","next"===i?u:c),!t.enabled&&n&&(a=n.classList).add.apply(a,_toConsumableArray(e.lockClass.split(" ")))};n.forEach((function(e){return a(e,"next")})),i.forEach((function(e){return a(e,"prev")}))}}function p(){var e=t.navigation,n=e.nextEl,i=e.prevEl;n=r(n),i=r(i);var a=function(e,n){var i;e.removeEventListener("click","next"===n?u:c),(i=e.classList).remove.apply(i,_toConsumableArray(t.params.navigation.disabledClass.split(" ")))};n.forEach((function(e){return a(e,"next")})),i.forEach((function(e){return a(e,"prev")}))}i("init",(function(){!1===t.params.navigation.enabled?f():(d(),l())})),i("toEdge fromEdge lock unlock",(function(){l()})),i("destroy",(function(){p()})),i("enable disable",(function(){var e=t.navigation,n=e.nextEl,i=e.prevEl;n=r(n),i=r(i),[].concat(_toConsumableArray(n),_toConsumableArray(i)).filter((function(e){return!!e})).forEach((function(e){return e.classList[t.enabled?"remove":"add"](t.params.navigation.lockClass)}))})),i("click",(function(e,n){var i=t.navigation,o=i.nextEl,s=i.prevEl;o=r(o),s=r(s);var l=n.target;if(t.params.navigation.hideOnClick&&!s.includes(l)&&!o.includes(l)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===l||t.pagination.el.contains(l)))return;var c;o.length?c=o[0].classList.contains(t.params.navigation.hiddenClass):s.length&&(c=s[0].classList.contains(t.params.navigation.hiddenClass)),a(!0===c?"navigationShow":"navigationHide"),[].concat(_toConsumableArray(o),_toConsumableArray(s)).filter((function(e){return!!e})).forEach((function(e){return e.classList.toggle(t.params.navigation.hiddenClass)}))}}));var f=function(){var e;(e=t.el.classList).add.apply(e,_toConsumableArray(t.params.navigation.navigationDisabledClass.split(" "))),p()};Object.assign(t.navigation,{enable:function(){var e;(e=t.el.classList).remove.apply(e,_toConsumableArray(t.params.navigation.navigationDisabledClass.split(" "))),d(),l()},disable:f,update:l,init:d,destroy:p})},function(e){var t,n=e.swiper,i=e.extendParams,a=e.on,r=e.emit,o="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"".concat(o,"-bullet"),bulletActiveClass:"".concat(o,"-bullet-active"),modifierClass:"".concat(o,"-"),currentClass:"".concat(o,"-current"),totalClass:"".concat(o,"-total"),hiddenClass:"".concat(o,"-hidden"),progressbarFillClass:"".concat(o,"-progressbar-fill"),progressbarOppositeClass:"".concat(o,"-progressbar-opposite"),clickableClass:"".concat(o,"-clickable"),lockClass:"".concat(o,"-lock"),horizontalClass:"".concat(o,"-horizontal"),verticalClass:"".concat(o,"-vertical"),paginationDisabledClass:"".concat(o,"-disabled")}}),n.pagination={el:null,bullets:[]};var s=0,l=function(e){return Array.isArray(e)||(e=[e].filter((function(e){return!!e}))),e};function c(){return!n.params.pagination.el||!n.pagination.el||Array.isArray(n.pagination.el)&&0===n.pagination.el.length}function u(e,t){var i=n.params.pagination.bulletActiveClass;e&&(e=e[("prev"===t?"previous":"next")+"ElementSibling"])&&(e.classList.add("".concat(i,"-").concat(t)),(e=e[("prev"===t?"previous":"next")+"ElementSibling"])&&e.classList.add("".concat(i,"-").concat(t,"-").concat(t)))}function d(e){var t=e.target.closest(te(n.params.pagination.bulletClass));if(t){e.preventDefault();var i=x(t)*n.params.slidesPerGroup;if(n.params.loop){if(n.realIndex===i)return;var a=n.getSlideIndexByData(i),r=n.getSlideIndexByData(n.realIndex);a>n.slides.length-n.loopedSlides&&n.loopFix({direction:a>r?"next":"prev",activeSlideIndex:a,slideTo:!1}),n.slideToLoop(i)}else n.slideTo(i)}}function p(){var e=n.rtl,i=n.params.pagination;if(!c()){var a,o,d=n.pagination.el;d=l(d);var p=n.virtual&&n.params.virtual.enabled?n.virtual.slides.length:n.slides.length,f=n.params.loop?Math.ceil(p/n.params.slidesPerGroup):n.snapGrid.length;if(n.params.loop?(o=n.previousRealIndex||0,a=n.params.slidesPerGroup>1?Math.floor(n.realIndex/n.params.slidesPerGroup):n.realIndex):void 0!==n.snapIndex?(a=n.snapIndex,o=n.previousSnapIndex):(o=n.previousIndex||0,a=n.activeIndex||0),"bullets"===i.type&&n.pagination.bullets&&n.pagination.bullets.length>0){var h,m,v,g=n.pagination.bullets;if(i.dynamicBullets&&(t=S(g[0],n.isHorizontal()?"width":"height",!0),d.forEach((function(e){e.style[n.isHorizontal()?"width":"height"]=t*(i.dynamicMainBullets+4)+"px"})),i.dynamicMainBullets>1&&void 0!==o&&((s+=a-(o||0))>i.dynamicMainBullets-1?s=i.dynamicMainBullets-1:s<0&&(s=0)),h=Math.max(a-s,0),v=((m=h+(Math.min(g.length,i.dynamicMainBullets)-1))+h)/2),g.forEach((function(e){var t,n=_toConsumableArray(["","-next","-next-next","-prev","-prev-prev","-main"].map((function(e){return"".concat(i.bulletActiveClass).concat(e)}))).map((function(e){return"string"==typeof e&&e.includes(" ")?e.split(" "):e})).flat();(t=e.classList).remove.apply(t,_toConsumableArray(n))})),d.length>1)g.forEach((function(e){var t,r,o=x(e);o===a?(t=e.classList).add.apply(t,_toConsumableArray(i.bulletActiveClass.split(" "))):n.isElement&&e.setAttribute("part","bullet"),i.dynamicBullets&&(o>=h&&o<=m&&(r=e.classList).add.apply(r,_toConsumableArray("".concat(i.bulletActiveClass,"-main").split(" "))),o===h&&u(e,"prev"),o===m&&u(e,"next"))}));else{var y,b=g[a];if(b&&(y=b.classList).add.apply(y,_toConsumableArray(i.bulletActiveClass.split(" "))),n.isElement&&g.forEach((function(e,t){e.setAttribute("part",t===a?"bullet-active":"bullet")})),i.dynamicBullets){for(var w=g[h],_=g[m],E=h;E<=m;E+=1){var T;g[E]&&(T=g[E].classList).add.apply(T,_toConsumableArray("".concat(i.bulletActiveClass,"-main").split(" ")))}u(w,"prev"),u(_,"next")}}if(i.dynamicBullets){var k=Math.min(g.length,i.dynamicMainBullets+4),C=(t*k-t)/2-v*t,A=e?"right":"left";g.forEach((function(e){e.style[n.isHorizontal()?A:"top"]="".concat(C,"px")}))}}d.forEach((function(e,t){if("fraction"===i.type&&(e.querySelectorAll(te(i.currentClass)).forEach((function(e){e.textContent=i.formatFractionCurrent(a+1)})),e.querySelectorAll(te(i.totalClass)).forEach((function(e){e.textContent=i.formatFractionTotal(f)}))),"progressbar"===i.type){var o;o=i.progressbarOpposite?n.isHorizontal()?"vertical":"horizontal":n.isHorizontal()?"horizontal":"vertical";var s=(a+1)/f,l=1,c=1;"horizontal"===o?l=s:c=s,e.querySelectorAll(te(i.progressbarFillClass)).forEach((function(e){e.style.transform="translate3d(0,0,0) scaleX(".concat(l,") scaleY(").concat(c,")"),e.style.transitionDuration="".concat(n.params.speed,"ms")}))}"custom"===i.type&&i.renderCustom?(e.innerHTML=i.renderCustom(n,a+1,f),0===t&&r("paginationRender",e)):(0===t&&r("paginationRender",e),r("paginationUpdate",e)),n.params.watchOverflow&&n.enabled&&e.classList[n.isLocked?"add":"remove"](i.lockClass)}))}}function f(){var e=n.params.pagination;if(!c()){var t=n.virtual&&n.params.virtual.enabled?n.virtual.slides.length:n.slides.length,i=n.pagination.el;i=l(i);var a="";if("bullets"===e.type){var o=n.params.loop?Math.ceil(t/n.params.slidesPerGroup):n.snapGrid.length;n.params.freeMode&&n.params.freeMode.enabled&&o>t&&(o=t);for(var s=0;s")}"fraction"===e.type&&(a=e.renderFraction?e.renderFraction.call(n,e.currentClass,e.totalClass):' / ')),"progressbar"===e.type&&(a=e.renderProgressbar?e.renderProgressbar.call(n,e.progressbarFillClass):'')),n.pagination.bullets=[],i.forEach((function(t){var i;"custom"!==e.type&&(t.innerHTML=a||""),"bullets"===e.type&&(i=n.pagination.bullets).push.apply(i,_toConsumableArray(t.querySelectorAll(te(e.bulletClass))))})),"custom"!==e.type&&r("paginationRender",i[0])}}function h(){n.params.pagination=ee(n,n.originalParams.pagination,n.params.pagination,{el:"swiper-pagination"});var e,t=n.params.pagination;t.el&&("string"==typeof t.el&&n.isElement&&(e=n.el.shadowRoot.querySelector(t.el)),e||"string"!=typeof t.el||(e=_toConsumableArray(document.querySelectorAll(t.el))),e||(e=t.el),e&&0!==e.length&&(n.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(e)&&e.length>1&&((e=_toConsumableArray(n.el.querySelectorAll(t.el))).length>1&&(e=e.filter((function(e){return E(e,".swiper")[0]===n.el}))[0])),Array.isArray(e)&&1===e.length&&(e=e[0]),Object.assign(n.pagination,{el:e}),(e=l(e)).forEach((function(e){"bullets"===t.type&&t.clickable&&e.classList.add(t.clickableClass),e.classList.add(t.modifierClass+t.type),e.classList.add(n.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(e.classList.add("".concat(t.modifierClass).concat(t.type,"-dynamic")),s=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&e.classList.add(t.progressbarOppositeClass),t.clickable&&e.addEventListener("click",d),n.enabled||e.classList.add(t.lockClass)}))))}function m(){var e=n.params.pagination;if(!c()){var t=n.pagination.el;t&&(t=l(t)).forEach((function(t){t.classList.remove(e.hiddenClass),t.classList.remove(e.modifierClass+e.type),t.classList.remove(n.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&t.removeEventListener("click",d)})),n.pagination.bullets&&n.pagination.bullets.forEach((function(t){var n;return(n=t.classList).remove.apply(n,_toConsumableArray(e.bulletActiveClass.split(" ")))}))}}a("changeDirection",(function(){if(n.pagination&&n.pagination.el){var e=n.params.pagination,t=n.pagination.el;(t=l(t)).forEach((function(t){t.classList.remove(e.horizontalClass,e.verticalClass),t.classList.add(n.isHorizontal()?e.horizontalClass:e.verticalClass)}))}})),a("init",(function(){!1===n.params.pagination.enabled?v():(h(),f(),p())})),a("activeIndexChange",(function(){void 0===n.snapIndex&&p()})),a("snapIndexChange",(function(){p()})),a("snapGridLengthChange",(function(){f(),p()})),a("destroy",(function(){m()})),a("enable disable",(function(){var e=n.pagination.el;e&&(e=l(e)).forEach((function(e){return e.classList[n.enabled?"remove":"add"](n.params.pagination.lockClass)}))})),a("lock unlock",(function(){p()})),a("click",(function(e,t){var i=t.target,a=n.pagination.el;if(Array.isArray(a)||(a=[a].filter((function(e){return!!e}))),n.params.pagination.el&&n.params.pagination.hideOnClick&&a&&a.length>0&&!i.classList.contains(n.params.pagination.bulletClass)){if(n.navigation&&(n.navigation.nextEl&&i===n.navigation.nextEl||n.navigation.prevEl&&i===n.navigation.prevEl))return;var o=a[0].classList.contains(n.params.pagination.hiddenClass);r(!0===o?"paginationShow":"paginationHide"),a.forEach((function(e){return e.classList.toggle(n.params.pagination.hiddenClass)}))}}));var v=function(){n.el.classList.add(n.params.pagination.paginationDisabledClass);var e=n.pagination.el;e&&(e=l(e)).forEach((function(e){return e.classList.add(n.params.pagination.paginationDisabledClass)})),m()};Object.assign(n.pagination,{enable:function(){n.el.classList.remove(n.params.pagination.paginationDisabledClass);var e=n.pagination.el;e&&(e=l(e)).forEach((function(e){return e.classList.remove(n.params.pagination.paginationDisabledClass)})),h(),f(),p()},disable:v,render:f,update:p,init:h,destroy:m})},function(e){var t,n,a,r,o=e.swiper,s=e.extendParams,l=e.on,u=e.emit,d=i(),p=!1,f=null,h=null;function m(){if(o.params.scrollbar.el&&o.scrollbar.el){var e=o.scrollbar,t=o.rtlTranslate,i=e.dragEl,r=e.el,s=o.params.scrollbar,l=o.params.loop?o.progressLoop:o.progress,c=n,u=(a-n)*l;t?(u=-u)>0?(c=n-u,u=0):-u+n>a&&(c=a+u):u<0?(c=n+u,u=0):u+n>a&&(c=a-u),o.isHorizontal()?(i.style.transform="translate3d(".concat(u,"px, 0, 0)"),i.style.width="".concat(c,"px")):(i.style.transform="translate3d(0px, ".concat(u,"px, 0)"),i.style.height="".concat(c,"px")),s.hide&&(clearTimeout(f),r.style.opacity=1,f=setTimeout((function(){r.style.opacity=0,r.style.transitionDuration="400ms"}),1e3))}}function v(){if(o.params.scrollbar.el&&o.scrollbar.el){var e=o.scrollbar,t=e.dragEl,i=e.el;t.style.width="",t.style.height="",a=o.isHorizontal()?i.offsetWidth:i.offsetHeight,r=o.size/(o.virtualSize+o.params.slidesOffsetBefore-(o.params.centeredSlides?o.snapGrid[0]:0)),n="auto"===o.params.scrollbar.dragSize?a*r:parseInt(o.params.scrollbar.dragSize,10),o.isHorizontal()?t.style.width="".concat(n,"px"):t.style.height="".concat(n,"px"),i.style.display=r>=1?"none":"",o.params.scrollbar.hide&&(i.style.opacity=0),o.params.watchOverflow&&o.enabled&&e.el.classList[o.isLocked?"add":"remove"](o.params.scrollbar.lockClass)}}function g(e){return o.isHorizontal()?e.clientX:e.clientY}function y(e){var i,r=o.scrollbar,s=o.rtlTranslate,l=r.el;i=(g(e)-w(l)[o.isHorizontal()?"left":"top"]-(null!==t?t:n/2))/(a-n),i=Math.max(Math.min(i,1),0),s&&(i=1-i);var c=o.minTranslate()+(o.maxTranslate()-o.minTranslate())*i;o.updateProgress(c),o.setTranslate(c),o.updateActiveIndex(),o.updateSlidesClasses()}function _(e){var n=o.params.scrollbar,i=o.scrollbar,a=o.wrapperEl,r=i.el,s=i.dragEl;p=!0,t=e.target===s?g(e)-e.target.getBoundingClientRect()[o.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),a.style.transitionDuration="100ms",s.style.transitionDuration="100ms",y(e),clearTimeout(h),r.style.transitionDuration="0ms",n.hide&&(r.style.opacity=1),o.params.cssMode&&(o.wrapperEl.style["scroll-snap-type"]="none"),u("scrollbarDragStart",e)}function x(e){var t=o.scrollbar,n=o.wrapperEl,i=t.el,a=t.dragEl;p&&(e.preventDefault?e.preventDefault():e.returnValue=!1,y(e),n.style.transitionDuration="0ms",i.style.transitionDuration="0ms",a.style.transitionDuration="0ms",u("scrollbarDragMove",e))}function E(e){var t=o.params.scrollbar,n=o.scrollbar,i=o.wrapperEl,a=n.el;p&&(p=!1,o.params.cssMode&&(o.wrapperEl.style["scroll-snap-type"]="",i.style.transitionDuration=""),t.hide&&(clearTimeout(h),h=c((function(){a.style.opacity=0,a.style.transitionDuration="400ms"}),1e3)),u("scrollbarDragEnd",e),t.snapOnRelease&&o.slideToClosest())}function T(e){var t=o.scrollbar,n=o.params,i=t.el;if(i){var a=i,r=!!n.passiveListeners&&{passive:!1,capture:!1},s=!!n.passiveListeners&&{passive:!0,capture:!1};if(a){var l="on"===e?"addEventListener":"removeEventListener";a[l]("pointerdown",_,r),d[l]("pointermove",x,r),d[l]("pointerup",E,s)}}}function S(){var e=o.scrollbar,t=o.el;o.params.scrollbar=ee(o,o.originalParams.scrollbar,o.params.scrollbar,{el:"swiper-scrollbar"});var n,i,a=o.params.scrollbar;a.el&&("string"==typeof a.el&&o.isElement&&(n=o.el.shadowRoot.querySelector(a.el)),n||"string"!=typeof a.el?n||(n=a.el):n=d.querySelectorAll(a.el),o.params.uniqueNavElements&&"string"==typeof a.el&&n.length>1&&1===t.querySelectorAll(a.el).length&&(n=t.querySelector(a.el)),n.length>0&&(n=n[0]),n.classList.add(o.isHorizontal()?a.horizontalClass:a.verticalClass),n&&((i=n.querySelector(".".concat(o.params.scrollbar.dragClass)))||(i=b("div",o.params.scrollbar.dragClass),n.append(i))),Object.assign(e,{el:n,dragEl:i}),a.draggable&&o.params.scrollbar.el&&o.scrollbar.el&&T("on"),n&&n.classList[o.enabled?"remove":"add"](o.params.scrollbar.lockClass))}function k(){var e=o.params.scrollbar,t=o.scrollbar.el;t&&t.classList.remove(o.isHorizontal()?e.horizontalClass:e.verticalClass),o.params.scrollbar.el&&o.scrollbar.el&&T("off")}s({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),o.scrollbar={el:null,dragEl:null},l("init",(function(){!1===o.params.scrollbar.enabled?C():(S(),v(),m())})),l("update resize observerUpdate lock unlock",(function(){v()})),l("setTranslate",(function(){m()})),l("setTransition",(function(e,t){!function(e){o.params.scrollbar.el&&o.scrollbar.el&&(o.scrollbar.dragEl.style.transitionDuration="".concat(e,"ms"))}(t)})),l("enable disable",(function(){var e=o.scrollbar.el;e&&e.classList[o.enabled?"remove":"add"](o.params.scrollbar.lockClass)})),l("destroy",(function(){k()}));var C=function(){o.el.classList.add(o.params.scrollbar.scrollbarDisabledClass),o.scrollbar.el&&o.scrollbar.el.classList.add(o.params.scrollbar.scrollbarDisabledClass),k()};Object.assign(o.scrollbar,{enable:function(){o.el.classList.remove(o.params.scrollbar.scrollbarDisabledClass),o.scrollbar.el&&o.scrollbar.el.classList.remove(o.params.scrollbar.scrollbarDisabledClass),S(),v(),m()},disable:C,updateSize:v,setTranslate:m,init:S,destroy:k})},function(e){var t=e.swiper,n=e.extendParams,i=e.on;n({parallax:{enabled:!1}});var a=function(e,n){var i=t.rtl?-1:1,a=e.getAttribute("data-swiper-parallax")||"0",r=e.getAttribute("data-swiper-parallax-x"),o=e.getAttribute("data-swiper-parallax-y"),s=e.getAttribute("data-swiper-parallax-scale"),l=e.getAttribute("data-swiper-parallax-opacity"),c=e.getAttribute("data-swiper-parallax-rotate");if(r||o?(r=r||"0",o=o||"0"):t.isHorizontal()?(r=a,o="0"):(o=a,r="0"),r=r.indexOf("%")>=0?parseInt(r,10)*n*i+"%":r*n*i+"px",o=o.indexOf("%")>=0?parseInt(o,10)*n+"%":o*n+"px",null!=l){var u=l-(l-1)*(1-Math.abs(n));e.style.opacity=u}var d="translate3d(".concat(r,", ").concat(o,", 0px)");null!=s&&(d+=" scale(".concat(s-(s-1)*(1-Math.abs(n)),")")),c&&null!=c&&(d+=" rotate(".concat(c*n*-1,"deg)")),e.style.transform=d},r=function(){var e=t.el,n=t.slides,i=t.progress,r=t.snapGrid;y(e,"[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").forEach((function(e){a(e,i)})),n.forEach((function(e,n){var o=e.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(o+=Math.ceil(n/2)-i*(r.length-1)),o=Math.min(Math.max(o,-1),1),e.querySelectorAll("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale], [data-swiper-parallax-rotate]").forEach((function(e){a(e,o)}))}))};i("beforeInit",(function(){t.params.parallax.enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)})),i("init",(function(){t.params.parallax.enabled&&r()})),i("setTranslate",(function(){t.params.parallax.enabled&&r()})),i("setTransition",(function(e,n){t.params.parallax.enabled&&function(e){void 0===e&&(e=t.params.speed),t.el.querySelectorAll("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").forEach((function(t){var n=parseInt(t.getAttribute("data-swiper-parallax-duration"),10)||e;0===e&&(n=0),t.style.transitionDuration="".concat(n,"ms")}))}(n)}))},function(e){var t=e.swiper,n=e.extendParams,i=e.on,a=e.emit,r=l();n({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),t.zoom={enabled:!1};var o,s,c=1,u=!1,p=[],f={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},h={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},m={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},v=1;function g(){if(p.length<2)return 1;var e=p[0].pageX,t=p[0].pageY,n=p[1].pageX,i=p[1].pageY;return Math.sqrt(Math.pow(n-e,2)+Math.pow(i-t,2))}function b(e){var n=t.isElement?"swiper-slide":".".concat(t.params.slideClass);return!!e.target.matches(n)||t.slides.filter((function(t){return t.contains(e.target)})).length>0}function _(e){if("mouse"===e.pointerType&&p.splice(0,p.length),b(e)){var n=t.params.zoom;if(o=!1,s=!1,p.push(e),!(p.length<2)){if(o=!0,f.scaleStart=g(),!f.slideEl){f.slideEl=e.target.closest(".".concat(t.params.slideClass,", swiper-slide")),f.slideEl||(f.slideEl=t.slides[t.activeIndex]);var i=f.slideEl.querySelector(".".concat(n.containerClass));if(i&&(i=i.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),f.imageEl=i,f.imageWrapEl=i?E(f.imageEl,".".concat(n.containerClass))[0]:void 0,!f.imageWrapEl)return void(f.imageEl=void 0);f.maxRatio=f.imageWrapEl.getAttribute("data-swiper-zoom")||n.maxRatio}if(f.imageEl){var a=function(){if(p.length<2)return{x:null,y:null};var e=f.imageEl.getBoundingClientRect();return[(p[0].pageX+(p[1].pageX-p[0].pageX)/2-e.x)/c,(p[0].pageY+(p[1].pageY-p[0].pageY)/2-e.y)/c]}(),r=_slicedToArray(a,2),l=r[0],d=r[1];f.originX=l,f.originY=d,f.imageEl.style.transitionDuration="0ms"}u=!0}}}function x(e){if(b(e)){var n=t.params.zoom,i=t.zoom,a=p.findIndex((function(t){return t.pointerId===e.pointerId}));a>=0&&(p[a]=e),p.length<2||(s=!0,f.scaleMove=g(),f.imageEl&&(i.scale=f.scaleMove/f.scaleStart*c,i.scale>f.maxRatio&&(i.scale=f.maxRatio-1+Math.pow(i.scale-f.maxRatio+1,.5)),i.scale=0&&p.splice(a,1),o&&s&&(o=!1,s=!1,f.imageEl&&(i.scale=Math.max(Math.min(i.scale,f.maxRatio),n.minRatio),f.imageEl.style.transitionDuration="".concat(t.params.speed,"ms"),f.imageEl.style.transform="translate3d(0,0,0) scale(".concat(i.scale,")"),c=i.scale,u=!1,i.scale>1&&f.slideEl?f.slideEl.classList.add("".concat(n.zoomedSlideClass)):i.scale<=1&&f.slideEl&&f.slideEl.classList.remove("".concat(n.zoomedSlideClass)),1===i.scale&&(f.originX=0,f.originY=0,f.slideEl=void 0)))}}function S(e){if(b(e)&&function(e){var n=".".concat(t.params.zoom.containerClass);return!!e.target.matches(n)||_toConsumableArray(t.el.querySelectorAll(n)).filter((function(t){return t.contains(e.target)})).length>0}(e)){var n=t.zoom;if(f.imageEl&&h.isTouched&&f.slideEl){h.isMoved||(h.width=f.imageEl.offsetWidth,h.height=f.imageEl.offsetHeight,h.startX=d(f.imageWrapEl,"x")||0,h.startY=d(f.imageWrapEl,"y")||0,f.slideWidth=f.slideEl.offsetWidth,f.slideHeight=f.slideEl.offsetHeight,f.imageWrapEl.style.transitionDuration="0ms");var i=h.width*n.scale,a=h.height*n.scale;if(!(i0?p[0].pageX:e.pageX,h.touchesCurrent.y=p.length>0?p[0].pageY:e.pageY,Math.max(Math.abs(h.touchesCurrent.x-h.touchesStart.x),Math.abs(h.touchesCurrent.y-h.touchesStart.y))>5&&(t.allowClick=!1),!h.isMoved&&!u){if(t.isHorizontal()&&(Math.floor(h.minX)===Math.floor(h.startX)&&h.touchesCurrent.xh.touchesStart.x))return void(h.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(h.minY)===Math.floor(h.startY)&&h.touchesCurrent.yh.touchesStart.y))return void(h.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),h.isMoved=!0;var r=(n.scale-c)/(f.maxRatio-t.params.zoom.minRatio),o=f.originX,s=f.originY;h.currentX=h.touchesCurrent.x-h.touchesStart.x+h.startX+r*(h.width-2*o),h.currentY=h.touchesCurrent.y-h.touchesStart.y+h.startY+r*(h.height-2*s),h.currentXh.maxX&&(h.currentX=h.maxX-1+Math.pow(h.currentX-h.maxX+1,.8)),h.currentYh.maxY&&(h.currentY=h.maxY-1+Math.pow(h.currentY-h.maxY+1,.8)),m.prevPositionX||(m.prevPositionX=h.touchesCurrent.x),m.prevPositionY||(m.prevPositionY=h.touchesCurrent.y),m.prevTime||(m.prevTime=Date.now()),m.x=(h.touchesCurrent.x-m.prevPositionX)/(Date.now()-m.prevTime)/2,m.y=(h.touchesCurrent.y-m.prevPositionY)/(Date.now()-m.prevTime)/2,Math.abs(h.touchesCurrent.x-m.prevPositionX)<2&&(m.x=0),Math.abs(h.touchesCurrent.y-m.prevPositionY)<2&&(m.y=0),m.prevPositionX=h.touchesCurrent.x,m.prevPositionY=h.touchesCurrent.y,m.prevTime=Date.now(),f.imageWrapEl.style.transform="translate3d(".concat(h.currentX,"px, ").concat(h.currentY,"px,0)")}}}}function k(){var e=t.zoom;f.slideEl&&t.activeIndex!==t.slides.indexOf(f.slideEl)&&(f.imageEl&&(f.imageEl.style.transform="translate3d(0,0,0) scale(1)"),f.imageWrapEl&&(f.imageWrapEl.style.transform="translate3d(0,0,0)"),f.slideEl.classList.remove("".concat(t.params.zoom.zoomedSlideClass)),e.scale=1,c=1,f.slideEl=void 0,f.imageEl=void 0,f.imageWrapEl=void 0,f.originX=0,f.originY=0)}function C(e){var n=t.zoom,i=t.params.zoom;if(!f.slideEl){e&&e.target&&(f.slideEl=e.target.closest(".".concat(t.params.slideClass,", swiper-slide"))),f.slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?f.slideEl=y(t.slidesEl,".".concat(t.params.slideActiveClass))[0]:f.slideEl=t.slides[t.activeIndex]);var a=f.slideEl.querySelector(".".concat(i.containerClass));a&&(a=a.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),f.imageEl=a,f.imageWrapEl=a?E(f.imageEl,".".concat(i.containerClass))[0]:void 0}if(f.imageEl&&f.imageWrapEl){var o,s,l,u,d,p,m,v,g,b,_,x,T,S,k,C;t.params.cssMode&&(t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.touchAction="none"),f.slideEl.classList.add("".concat(i.zoomedSlideClass)),void 0===h.touchesStart.x&&e?(o=e.pageX,s=e.pageY):(o=h.touchesStart.x,s=h.touchesStart.y);var A="number"==typeof e?e:null;1===c&&A&&(o=void 0,s=void 0),n.scale=A||f.imageWrapEl.getAttribute("data-swiper-zoom")||i.maxRatio,c=A||f.imageWrapEl.getAttribute("data-swiper-zoom")||i.maxRatio,!e||1===c&&A?(d=0,p=0):(k=f.slideEl.offsetWidth,C=f.slideEl.offsetHeight,l=w(f.slideEl).left+r.scrollX+k/2-o,u=w(f.slideEl).top+r.scrollY+C/2-s,m=f.imageEl.offsetWidth,v=f.imageEl.offsetHeight,g=m*n.scale,b=v*n.scale,T=-(_=Math.min(k/2-g/2,0)),S=-(x=Math.min(C/2-b/2,0)),(d=l*n.scale)<_&&(d=_),d>T&&(d=T),(p=u*n.scale)S&&(p=S)),A&&1===n.scale&&(f.originX=0,f.originY=0),f.imageWrapEl.style.transitionDuration="300ms",f.imageWrapEl.style.transform="translate3d(".concat(d,"px, ").concat(p,"px,0)"),f.imageEl.style.transitionDuration="300ms",f.imageEl.style.transform="translate3d(0,0,0) scale(".concat(n.scale,")")}}function A(){var e=t.zoom,n=t.params.zoom;if(!f.slideEl){t.params.virtual&&t.params.virtual.enabled&&t.virtual?f.slideEl=y(t.slidesEl,".".concat(t.params.slideActiveClass))[0]:f.slideEl=t.slides[t.activeIndex];var i=f.slideEl.querySelector(".".concat(n.containerClass));i&&(i=i.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),f.imageEl=i,f.imageWrapEl=i?E(f.imageEl,".".concat(n.containerClass))[0]:void 0}f.imageEl&&f.imageWrapEl&&(t.params.cssMode&&(t.wrapperEl.style.overflow="",t.wrapperEl.style.touchAction=""),e.scale=1,c=1,f.imageWrapEl.style.transitionDuration="300ms",f.imageWrapEl.style.transform="translate3d(0,0,0)",f.imageEl.style.transitionDuration="300ms",f.imageEl.style.transform="translate3d(0,0,0) scale(1)",f.slideEl.classList.remove("".concat(n.zoomedSlideClass)),f.slideEl=void 0,f.originX=0,f.originY=0)}function M(e){var n=t.zoom;n.scale&&1!==n.scale?A():C(e)}function I(){return{passiveListener:!!t.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!t.params.passiveListeners||{passive:!1,capture:!0}}}function L(){var e=t.zoom;if(!e.enabled){e.enabled=!0;var n=I(),i=n.passiveListener,a=n.activeListenerWithCapture;t.wrapperEl.addEventListener("pointerdown",_,i),t.wrapperEl.addEventListener("pointermove",x,a),["pointerup","pointercancel","pointerout"].forEach((function(e){t.wrapperEl.addEventListener(e,T,i)})),t.wrapperEl.addEventListener("pointermove",S,a)}}function O(){var e=t.zoom;if(e.enabled){e.enabled=!1;var n=I(),i=n.passiveListener,a=n.activeListenerWithCapture;t.wrapperEl.removeEventListener("pointerdown",_,i),t.wrapperEl.removeEventListener("pointermove",x,a),["pointerup","pointercancel","pointerout"].forEach((function(e){t.wrapperEl.removeEventListener(e,T,i)})),t.wrapperEl.removeEventListener("pointermove",S,a)}}Object.defineProperty(t.zoom,"scale",{get:function(){return v},set:function(e){if(v!==e){var t=f.imageEl,n=f.slideEl;a("zoomChange",e,t,n)}v=e}}),i("init",(function(){t.params.zoom.enabled&&L()})),i("destroy",(function(){O()})),i("touchStart",(function(e,n){t.zoom.enabled&&function(e){var n=t.device;if(f.imageEl&&!h.isTouched){n.android&&e.cancelable&&e.preventDefault(),h.isTouched=!0;var i=p.length>0?p[0]:e;h.touchesStart.x=i.pageX,h.touchesStart.y=i.pageY}}(n)})),i("touchEnd",(function(e,n){t.zoom.enabled&&function(){var e=t.zoom;if(f.imageEl){if(!h.isTouched||!h.isMoved)return h.isTouched=!1,void(h.isMoved=!1);h.isTouched=!1,h.isMoved=!1;var n=300,i=300,a=m.x*n,r=h.currentX+a,o=m.y*i,s=h.currentY+o;0!==m.x&&(n=Math.abs((r-h.currentX)/m.x)),0!==m.y&&(i=Math.abs((s-h.currentY)/m.y));var l=Math.max(n,i);h.currentX=r,h.currentY=s;var c=h.width*e.scale,u=h.height*e.scale;h.minX=Math.min(f.slideWidth/2-c/2,0),h.maxX=-h.minX,h.minY=Math.min(f.slideHeight/2-u/2,0),h.maxY=-h.minY,h.currentX=Math.max(Math.min(h.currentX,h.maxX),h.minX),h.currentY=Math.max(Math.min(h.currentY,h.maxY),h.minY),f.imageWrapEl.style.transitionDuration="".concat(l,"ms"),f.imageWrapEl.style.transform="translate3d(".concat(h.currentX,"px, ").concat(h.currentY,"px,0)")}}()})),i("doubleTap",(function(e,n){!t.animating&&t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&M(n)})),i("transitionEnd",(function(){t.zoom.enabled&&t.params.zoom.enabled&&k()})),i("slideChange",(function(){t.zoom.enabled&&t.params.zoom.enabled&&t.params.cssMode&&k()})),Object.assign(t.zoom,{enable:L,disable:O,in:C,out:A,toggle:M})},function(e){var t=e.swiper,n=e.extendParams,i=e.on;function a(e,t){var n,i,a=function(){var e,t,n;return function(i,a){for(t=-1,e=i.length;e-t>1;)i[n=e+t>>1]<=a?t=n:e=n;return e}}();return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=a(this.x,e),n=i-1,(e-this.x[n])*(this.y[i]-this.y[n])/(this.x[i]-this.x[n])+this.y[n]):0},this}function r(){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)}n({controller:{control:void 0,inverse:!1,by:"slide"}}),t.controller={control:void 0},i("beforeInit",(function(){if("undefined"!=typeof window&&("string"==typeof t.params.controller.control||t.params.controller.control instanceof HTMLElement)){var e=document.querySelector(t.params.controller.control);if(e&&e.swiper)t.controller.control=e.swiper;else if(e){var n=function(i){t.controller.control=i.detail[0],t.update(),e.removeEventListener("init",n)};e.addEventListener("init",n)}}else t.controller.control=t.params.controller.control})),i("update",(function(){r()})),i("resize",(function(){r()})),i("observerUpdate",(function(){r()})),i("setTranslate",(function(e,n,i){t.controller.control&&!t.controller.control.destroyed&&t.controller.setTranslate(n,i)})),i("setTransition",(function(e,n,i){t.controller.control&&!t.controller.control.destroyed&&t.controller.setTransition(n,i)})),Object.assign(t.controller,{setTranslate:function(e,n){var i,r,o=t.controller.control,s=t.constructor;function l(e){if(!e.destroyed){var n=t.rtlTranslate?-t.translate:t.translate;"slide"===t.params.controller.by&&(function(e){t.controller.spline=t.params.loop?new a(t.slidesGrid,e.slidesGrid):new a(t.snapGrid,e.snapGrid)}(e),r=-t.controller.spline.interpolate(-n)),r&&"container"!==t.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(t.maxTranslate()-t.minTranslate()),!Number.isNaN(i)&&Number.isFinite(i)||(i=1),r=(n-t.minTranslate())*i+e.minTranslate()),t.params.controller.inverse&&(r=e.maxTranslate()-r),e.updateProgress(r),e.setTranslate(r,t),e.updateActiveIndex(),e.updateSlidesClasses()}}if(Array.isArray(o))for(var c=0;c0){var u=t.params.history.root;"/"===u[u.length-1]&&(u=u.slice(0,u.length-1)),c="".concat(u,"/").concat(e?"".concat(e,"/"):"").concat(c)}else r.pathname.includes(e)||(c="".concat(e?"".concat(e,"/"):"").concat(c));t.params.history.keepQuery&&(c+=r.search);var d=i.history.state;d&&d.value===c||(t.params.history.replaceState?i.history.replaceState({value:c},null,c):i.history.pushState({value:c},null,c))}},u=function(e,n,i){if(n)for(var a=0,r=t.slides.length;a0&&void 0===e&&(i=r,v=r,g=r),c=i;var o=a.params.speed,l=function(){a&&!a.destroyed&&(a.params.autoplay.reverseDirection?!a.isBeginning||a.params.loop||a.params.rewind?(a.slidePrev(o,!0,!0),s("autoplay")):a.params.autoplay.stopOnLastSlide||(a.slideTo(a.slides.length-1,o,!0,!0),s("autoplay")):!a.isEnd||a.params.loop||a.params.rewind?(a.slideNext(o,!0,!0),s("autoplay")):a.params.autoplay.stopOnLastSlide||(a.slideTo(0,o,!0,!0),s("autoplay")),a.params.cssMode&&(y=(new Date).getTime(),requestAnimationFrame((function(){_()}))))};return i>0?(clearTimeout(t),t=setTimeout((function(){l()}),i)):requestAnimationFrame((function(){l()})),i}},x=function(){a.autoplay.running=!0,_(),s("autoplayStart")},E=function(){a.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(n),s("autoplayStop")},T=function(e,n){if(!a.destroyed&&a.autoplay.running){clearTimeout(t),e||(m=!0);var i=function(){s("autoplayPause"),a.params.autoplay.waitForTransition?a.wrapperEl.addEventListener("transitionend",b):S()};if(a.autoplay.paused=!0,n)return h&&(c=a.params.autoplay.delay),h=!1,void i();var r=c||a.params.autoplay.delay;c=r-((new Date).getTime()-y),a.isEnd&&c<0&&!a.params.loop||(c<0&&(c=0),i())}},S=function(){a.isEnd&&c<0&&!a.params.loop||a.destroyed||!a.autoplay.running||(y=(new Date).getTime(),m?(m=!1,_(c)):_(),a.autoplay.paused=!1,s("autoplayResume"))},k=function(){if(!a.destroyed&&a.autoplay.running){var e=i();"hidden"===e.visibilityState&&(m=!0,T(!0)),"visible"===e.visibilityState&&S()}},C=function(e){"mouse"===e.pointerType&&(m=!0,T(!0))},A=function(e){"mouse"===e.pointerType&&a.autoplay.paused&&S()};o("init",(function(){a.params.autoplay.enabled&&(a.params.autoplay.pauseOnMouseEnter&&(a.el.addEventListener("pointerenter",C),a.el.addEventListener("pointerleave",A)),i().addEventListener("visibilitychange",k),y=(new Date).getTime(),x())})),o("destroy",(function(){a.el.removeEventListener("pointerenter",C),a.el.removeEventListener("pointerleave",A),i().removeEventListener("visibilitychange",k),a.autoplay.running&&E()})),o("beforeTransitionStart",(function(e,t,n){!a.destroyed&&a.autoplay.running&&(n||!a.params.autoplay.disableOnInteraction?T(!0,!0):E())})),o("sliderFirstMove",(function(){!a.destroyed&&a.autoplay.running&&(a.params.autoplay.disableOnInteraction?E():(d=!0,p=!1,m=!1,f=setTimeout((function(){m=!0,p=!0,T(!0)}),200)))})),o("touchEnd",(function(){if(!a.destroyed&&a.autoplay.running&&d){if(clearTimeout(f),clearTimeout(t),a.params.autoplay.disableOnInteraction)return p=!1,void(d=!1);p&&a.params.cssMode&&S(),p=!1,d=!1}})),o("slideChange",(function(){!a.destroyed&&a.autoplay.running&&(h=!0)})),Object.assign(a.autoplay,{start:x,stop:E,pause:T,resume:S})},function(e){var t=e.swiper,n=e.extendParams,a=e.on;n({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});var r=!1,o=!1;function s(){var e=t.thumbs.swiper;if(e&&!e.destroyed){var n,i=e.clickedIndex,a=e.clickedSlide;if(!a||!a.classList.contains(t.params.thumbs.slideThumbActiveClass))if(null!=i)n=e.params.loop?parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10):i,t.params.loop?t.slideToLoop(n):t.slideTo(n)}}function l(){var e=t.params.thumbs;if(r)return!1;r=!0;var n=t.constructor;if(e.swiper instanceof n)t.thumbs.swiper=e.swiper,Object.assign(t.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(t.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper.update();else if(p(e.swiper)){var i=Object.assign({},e.swiper);Object.assign(i,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper=new n(i),o=!0}return t.thumbs.swiper.el.classList.add(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",s),!0}function c(e){var n=t.thumbs.swiper;if(n&&!n.destroyed){var i="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():n.params.slidesPerView,a=1,r=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(a=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(a=1),a=Math.floor(a),n.slides.forEach((function(e){return e.classList.remove(r)})),n.params.loop||n.params.virtual&&n.params.virtual.enabled)for(var o=0;ot.previousIndex?"next":"prev"}else d=(u=t.realIndex)>t.previousIndex?"next":"prev";c&&(u+="next"===d?l:-1*l),n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(u)<0&&(n.params.centeredSlides?u=u>p?u-Math.floor(i/2)+1:u+Math.floor(i/2)-1:u>p&&n.params.slidesPerGroup,n.slideTo(u,e?0:void 0))}}}t.thumbs={swiper:null},a("beforeInit",(function(){var e=t.params.thumbs;if(e&&e.swiper)if("string"==typeof e.swiper||e.swiper instanceof HTMLElement){var n=i(),a=function(){t.destroyed||function(){var i="string"==typeof e.swiper?n.querySelector(e.swiper):e.swiper;if(i&&i.swiper)e.swiper=i.swiper,l(),c(!0);else if(i){var a=function(n){e.swiper=n.detail[0],i.removeEventListener("init",a),l(),c(!0),e.swiper.update(),t.update()};i.addEventListener("init",a)}return i}()||requestAnimationFrame(a)};requestAnimationFrame(a)}else l(),c(!0)})),a("slideChange update resize observerUpdate",(function(){c()})),a("setTransition",(function(e,n){var i=t.thumbs.swiper;i&&!i.destroyed&&i.setTransition(n)})),a("beforeDestroy",(function(){var e=t.thumbs.swiper;e&&!e.destroyed&&o&&e.destroy()})),Object.assign(t.thumbs,{init:l,update:c})},function(e){var t=e.swiper,n=e.extendParams,i=e.emit,a=e.once;n({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(t,{freeMode:{onTouchStart:function(){if(!t.params.cssMode){var e=t.getTranslate();t.setTranslate(e),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})}},onTouchMove:function(){if(!t.params.cssMode){var e=t.touchEventsData,n=t.touches;0===e.velocities.length&&e.velocities.push({position:n[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:n[t.isHorizontal()?"currentX":"currentY"],time:u()})}},onTouchEnd:function(e){var n=e.currentPos;if(!t.params.cssMode){var r=t.params,o=t.wrapperEl,s=t.rtlTranslate,l=t.snapGrid,c=t.touchEventsData,d=u()-c.touchStartTime;if(n<-t.minTranslate())t.slideTo(t.activeIndex);else if(n>-t.maxTranslate())t.slides.length1){var p=c.velocities.pop(),f=c.velocities.pop(),h=p.position-f.position,m=p.time-f.time;t.velocity=h/m,t.velocity/=2,Math.abs(t.velocity)150||u()-p.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=r.freeMode.momentumVelocityRatio,c.velocities.length=0;var v=1e3*r.freeMode.momentumRatio,g=t.velocity*v,y=t.translate+g;s&&(y=-y);var b,w,_=!1,x=20*Math.abs(t.velocity)*r.freeMode.momentumBounceRatio;if(yt.minTranslate())r.freeMode.momentumBounce?(y-t.minTranslate()>x&&(y=t.minTranslate()+x),b=t.minTranslate(),_=!0,c.allowMomentumBounce=!0):y=t.minTranslate(),r.loop&&r.centeredSlides&&(w=!0);else if(r.freeMode.sticky){for(var E,S=0;S-y){E=S;break}y=-(y=Math.abs(l[E]-y)=r.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}}}}})},function(e){var t,n,i,a=e.swiper;(0,e.extendParams)({grid:{rows:1,fill:"column"}});var r=function(){var e=a.params.spaceBetween;return"string"==typeof e&&e.indexOf("%")>=0?e=parseFloat(e.replace("%",""))/100*a.size:"string"==typeof e&&(e=parseFloat(e)),e};a.grid={initSlides:function(e){var r=a.params.slidesPerView,o=a.params.grid,s=o.rows,l=o.fill;i=Math.floor(e/s),t=Math.floor(e/s)===e/s?e:Math.ceil(e/s)*s,"auto"!==r&&"row"===l&&(t=Math.max(t,r*s)),n=t/s},updateSlide:function(e,o,s,l){var c,u,d,p=a.params.slidesPerGroup,f=r(),h=a.params.grid,m=h.rows,v=h.fill;if("row"===v&&p>1){var g=Math.floor(e/(p*m)),y=e-m*p*g,b=0===g?p:Math.min(Math.ceil((s-g*m*p)/m),p);c=(u=y-(d=Math.floor(y/b))*b+g*p)+d*t/m,o.style.order=c}else"column"===v?(d=e-(u=Math.floor(e/m))*m,(u>i||u===i&&d===m-1)&&((d+=1)>=m&&(d=0,u+=1))):u=e-(d=Math.floor(e/n))*n;o.row=d,o.column=u,o.style[l("margin-top")]=0!==d?f&&"".concat(f,"px"):""},updateWrapperSize:function(e,n,i){var o=a.params,s=o.centeredSlides,l=o.roundLengths,c=r(),u=a.params.grid.rows;if(a.virtualSize=(e+c)*t,a.virtualSize=Math.ceil(a.virtualSize/u)-c,a.wrapperEl.style[i("width")]="".concat(a.virtualSize+c,"px"),s){for(var d=[],p=0;p-1&&(h=90*g+90*_,l&&(h=90*-g-90*_)),v.style.transform=S,d.slideShadows&&a(v,_,p)}if(i.style.transformOrigin="50% 50% -".concat(c/2,"px"),i.style["-webkit-transform-origin"]="50% 50% -".concat(c/2,"px"),d.shadow)if(p)e.style.transform="translate3d(0px, ".concat(o/2+d.shadowOffset,"px, ").concat(-o/2,"px) rotateX(90deg) rotateZ(0deg) scale(").concat(d.shadowScale,")");else{var k=Math.abs(h)-90*Math.floor(Math.abs(h)/90),C=1.5-(Math.sin(2*k*Math.PI/360)/2+Math.cos(2*k*Math.PI/360)/2),A=d.shadowScale,M=d.shadowScale/C,I=d.shadowOffset;e.style.transform="scale3d(".concat(A,", 1, ").concat(M,") translate3d(0px, ").concat(s/2+I,"px, ").concat(-s/2/M,"px) rotateX(-90deg)")}var L=(u.isSafari||u.isWebView)&&u.needPerspectiveFix?-c/2:0;i.style.transform="translate3d(0px,0,".concat(L,"px) rotateX(").concat(t.isHorizontal()?0:h,"deg) rotateY(").concat(t.isHorizontal()?-h:0,"deg)"),i.style.setProperty("--swiper-cube-translate-z","".concat(L,"px"))},setTransition:function(e){var n=t.el;if(t.slides.forEach((function(t){t.style.transitionDuration="".concat(e,"ms"),t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((function(t){t.style.transitionDuration="".concat(e,"ms")}))})),t.params.cubeEffect.shadow&&!t.isHorizontal()){var i=n.querySelector(".swiper-cube-shadow");i&&(i.style.transitionDuration="".concat(e,"ms"))}},recreateShadows:function(){var e=t.isHorizontal();t.slides.forEach((function(t){var n=Math.max(Math.min(t.progress,1),-1);a(t,n,e)}))},getEffectParams:function(){return t.params.cubeEffect},perspective:function(){return!0},overwriteParams:function(){return{slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0}}})},function(e){var t=e.swiper,n=e.extendParams,i=e.on;n({flipEffect:{slideShadows:!0,limitRotation:!0}});var a=function(e,n,i){var a=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),r=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");a||(a=ue(0,e,t.isHorizontal()?"left":"top")),r||(r=ue(0,e,t.isHorizontal()?"right":"bottom")),a&&(a.style.opacity=Math.max(-n,0)),r&&(r.style.opacity=Math.max(n,0))};se({effect:"flip",swiper:t,on:i,setTranslate:function(){for(var e=t.slides,n=t.rtlTranslate,i=t.params.flipEffect,r=0;r0?v:0),k&&(k.style.opacity=-v>0?-v:0)}}},setTransition:function(e){t.slides.map((function(e){return g(e)})).forEach((function(t){t.style.transitionDuration="".concat(e,"ms"),t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((function(t){t.style.transitionDuration="".concat(e,"ms")}))}))},perspective:function(){return!0},overwriteParams:function(){return{watchSlidesProgress:!0}}})},function(e){var t=e.swiper,n=e.extendParams,i=e.on;n({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});se({effect:"creative",swiper:t,on:i,setTranslate:function(){var e=t.slides,n=t.wrapperEl,i=t.slidesSizesGrid,a=t.params.creativeEffect,r=a.progressMultiplier,o=t.params.centeredSlides;if(o){var s=i[0]/2-t.params.slidesOffsetBefore||0;n.style.transform="translateX(calc(50% - ".concat(s,"px))")}for(var l=function(){var n=e[c],i=n.progress,s=Math.min(Math.max(n.progress,-a.limitProgress),a.limitProgress),l=s;o||(l=Math.min(Math.max(n.originalProgress,-a.limitProgress),a.limitProgress));var u=n.swiperSlideOffset,d=[t.params.cssMode?-u-t.translate:-u,0,0],p=[0,0,0],f=!1;t.isHorizontal()||(d[1]=d[0],d[0]=0);var h={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};s<0?(h=a.next,f=!0):s>0&&(h=a.prev,f=!0),d.forEach((function(e,t){d[t]="calc(".concat(e,"px + (").concat(function(e){return"string"==typeof e?e:"".concat(e,"px")}(h.translate[t])," * ").concat(Math.abs(s*r),"))")})),p.forEach((function(e,t){p[t]=h.rotate[t]*Math.abs(s*r)})),n.style.zIndex=-Math.abs(Math.round(i))+e.length;var m=d.join(", "),v="rotateX(".concat(p[0],"deg) rotateY(").concat(p[1],"deg) rotateZ(").concat(p[2],"deg)"),g="scale(".concat(l<0?1+(1-h.scale)*l*r:1-(1-h.scale)*l*r,")"),y=l<0?1+(1-h.opacity)*l*r:1-(1-h.opacity)*l*r,b="translate3d(".concat(m,") ").concat(v," ").concat(g);if(f&&h.shadow||!f){var w=n.querySelector(".swiper-slide-shadow");if(!w&&h.shadow&&(w=ue(0,n)),w){var _=a.shadowPerProgress?s*(1/a.limitProgress):s;w.style.opacity=Math.min(Math.max(Math.abs(_),0),1)}}var x=le(0,n);x.style.transform=b,x.style.opacity=y,h.origin&&(x.style.transformOrigin=h.origin)},c=0;c0&&p<1&&(s||t.params.cssMode)&&l-1&&(s||t.params.cssMode)&&l>o;if(_||x){var E=Math.pow(1-Math.abs((Math.abs(p)-.5)/.5),.5);y+=-28*p*E,g+=-.5*E,b+=96*E,m=-25*E*Math.abs(p)+"%"}if(h=p<0?"calc(".concat(h,"px ").concat(i?"-":"+"," (").concat(b*Math.abs(p),"%))"):p>0?"calc(".concat(h,"px ").concat(i?"-":"+"," (-").concat(b*Math.abs(p),"%))"):"".concat(h,"px"),!t.isHorizontal()){var T=m;m=h,h=T}var S=p<0?""+(1+(1-g)*p):""+(1-(1-g)*p),k="\n translate3d(".concat(h,", ").concat(m,", ").concat(v,"px)\n rotateZ(").concat(a.rotate?i?-y:y:0,"deg)\n scale(").concat(S,")\n ");if(a.slideShadows){var C=u.querySelector(".swiper-slide-shadow");C||(C=ue(0,u)),C&&(C.style.opacity=Math.min(Math.max((Math.abs(p)-.5)/.5,0),1))}u.style.zIndex=-Math.abs(Math.round(d))+e.length,le(0,u).style.transform=k}},setTransition:function(e){var n=t.slides.map((function(e){return g(e)}));n.forEach((function(t){t.style.transitionDuration="".concat(e,"ms"),t.querySelectorAll(".swiper-slide-shadow").forEach((function(t){t.style.transitionDuration="".concat(e,"ms")}))})),ce({swiper:t,duration:e,transformElements:n})},perspective:function(){return!0},overwriteParams:function(){return{watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode}}})}];return J.use(de),J})),function(e,t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==("undefined"==typeof exports?"undefined":_typeof(exports))?module.exports=t(require("jquery")):e.lightbox=t(e.jQuery)}(this,(function(e){function t(t){this.album=[],this.currentImageIndex=void 0,this.init(),this.options=e.extend({},this.constructor.defaults),this.option(t)}return t.defaults={albumLabel:"Image %1 of %2",alwaysShowNavOnTouchDevices:!1,fadeDuration:600,fitImagesInViewport:!0,imageFadeDuration:600,positionFromTop:50,resizeDuration:700,showImageNumberLabel:!0,wrapAround:!1,disableScrolling:!1,sanitizeTitle:!1},t.prototype.option=function(t){e.extend(this.options,t)},t.prototype.imageCountLabel=function(e,t){return this.options.albumLabel.replace(/%1/g,e).replace(/%2/g,t)},t.prototype.init=function(){var t=this;e(document).ready((function(){t.enable(),t.build()}))},t.prototype.enable=function(){var t=this;e("body").on("click","a[rel^=lightbox], area[rel^=lightbox], a[data-lightbox], area[data-lightbox]",(function(n){return t.start(e(n.currentTarget)),!1}))},t.prototype.build=function(){if(!(e("#lightbox").length>0)){var t=this;e('
').appendTo(e("body")),this.$lightbox=e("#lightbox"),this.$overlay=e("#lightboxOverlay"),this.$outerContainer=this.$lightbox.find(".lb-outerContainer"),this.$container=this.$lightbox.find(".lb-container"),this.$image=this.$lightbox.find(".lb-image"),this.$nav=this.$lightbox.find(".lb-nav"),this.containerPadding={top:parseInt(this.$container.css("padding-top"),10),right:parseInt(this.$container.css("padding-right"),10),bottom:parseInt(this.$container.css("padding-bottom"),10),left:parseInt(this.$container.css("padding-left"),10)},this.imageBorderWidth={top:parseInt(this.$image.css("border-top-width"),10),right:parseInt(this.$image.css("border-right-width"),10),bottom:parseInt(this.$image.css("border-bottom-width"),10),left:parseInt(this.$image.css("border-left-width"),10)},this.$overlay.hide().on("click",(function(){return t.end(),!1})),this.$lightbox.hide().on("click",(function(n){"lightbox"===e(n.target).attr("id")&&t.end()})),this.$outerContainer.on("click",(function(n){return"lightbox"===e(n.target).attr("id")&&t.end(),!1})),this.$lightbox.find(".lb-prev").on("click",(function(){return 0===t.currentImageIndex?t.changeImage(t.album.length-1):t.changeImage(t.currentImageIndex-1),!1})),this.$lightbox.find(".lb-next").on("click",(function(){return t.currentImageIndex===t.album.length-1?t.changeImage(0):t.changeImage(t.currentImageIndex+1),!1})),this.$nav.on("mousedown",(function(e){3===e.which&&(t.$nav.css("pointer-events","none"),t.$lightbox.one("contextmenu",(function(){setTimeout(function(){this.$nav.css("pointer-events","auto")}.bind(t),0)})))})),this.$lightbox.find(".lb-loader, .lb-close").on("click",(function(){return t.end(),!1}))}},t.prototype.start=function(t){function n(e){i.album.push({alt:e.attr("data-alt"),link:e.attr("href"),title:e.attr("data-title")||e.attr("title")})}var i=this,a=e(window);a.on("resize",e.proxy(this.sizeOverlay,this)),this.sizeOverlay(),this.album=[];var r,o=0,s=t.attr("data-lightbox");if(s){r=e(t.prop("tagName")+'[data-lightbox="'+s+'"]');for(var l=0;lu||o.height>c)&&(o.width/u>o.height/c?(l=u,s=parseInt(o.height/(o.width/l),10),r.width(l),r.height(s)):(s=c,l=parseInt(o.width/(o.height/s),10),r.width(l),r.height(s))),n.sizeContainer(r.width(),r.height())},o.src=this.album[t].link,this.currentImageIndex=t},t.prototype.sizeOverlay=function(){var t=this;setTimeout((function(){t.$overlay.width(e(document).width()).height(e(document).height())}),0)},t.prototype.sizeContainer=function(e,t){function n(){i.$lightbox.find(".lb-dataContainer").width(o),i.$lightbox.find(".lb-prevLink").height(s),i.$lightbox.find(".lb-nextLink").height(s),i.$overlay.focus(),i.showImage()}var i=this,a=this.$outerContainer.outerWidth(),r=this.$outerContainer.outerHeight(),o=e+this.containerPadding.left+this.containerPadding.right+this.imageBorderWidth.left+this.imageBorderWidth.right,s=t+this.containerPadding.top+this.containerPadding.bottom+this.imageBorderWidth.top+this.imageBorderWidth.bottom;a!==o||r!==s?this.$outerContainer.animate({width:o,height:s},this.options.resizeDuration,"swing",(function(){n()})):n()},t.prototype.showImage=function(){this.$lightbox.find(".lb-loader").stop(!0).hide(),this.$lightbox.find(".lb-image").fadeIn(this.options.imageFadeDuration),this.updateNav(),this.updateDetails(),this.preloadNeighboringImages(),this.enableKeyboardNav()},t.prototype.updateNav=function(){var e=!1;try{document.createEvent("TouchEvent"),e=!!this.options.alwaysShowNavOnTouchDevices}catch(e){}this.$lightbox.find(".lb-nav").show(),this.album.length>1&&(this.options.wrapAround?(e&&this.$lightbox.find(".lb-prev, .lb-next").css("opacity","1"),this.$lightbox.find(".lb-prev, .lb-next").show()):(this.currentImageIndex>0&&(this.$lightbox.find(".lb-prev").show(),e&&this.$lightbox.find(".lb-prev").css("opacity","1")),this.currentImageIndex1&&this.options.showImageNumberLabel){var n=this.imageCountLabel(this.currentImageIndex+1,this.album.length);this.$lightbox.find(".lb-number").text(n).fadeIn("fast")}else this.$lightbox.find(".lb-number").hide();this.$outerContainer.removeClass("animating"),this.$lightbox.find(".lb-dataContainer").fadeIn(this.options.resizeDuration,(function(){return e.sizeOverlay()}))},t.prototype.preloadNeighboringImages=function(){this.album.length>this.currentImageIndex+1&&((new Image).src=this.album[this.currentImageIndex+1].link),this.currentImageIndex>0&&((new Image).src=this.album[this.currentImageIndex-1].link)},t.prototype.enableKeyboardNav=function(){this.$lightbox.on("keyup.keyboard",e.proxy(this.keyboardAction,this)),this.$overlay.on("keyup.keyboard",e.proxy(this.keyboardAction,this))},t.prototype.disableKeyboardNav=function(){this.$lightbox.off(".keyboard"),this.$overlay.off(".keyboard")},t.prototype.keyboardAction=function(e){var t=e.keyCode;27===t?(e.stopPropagation(),this.end()):37===t?0!==this.currentImageIndex?this.changeImage(this.currentImageIndex-1):this.options.wrapAround&&this.album.length>1&&this.changeImage(this.album.length-1):39===t&&(this.currentImageIndex!==this.album.length-1?this.changeImage(this.currentImageIndex+1):this.options.wrapAround&&this.album.length>1&&this.changeImage(0))},t.prototype.end=function(){this.disableKeyboardNav(),e(window).off("resize",this.sizeOverlay),this.$lightbox.fadeOut(this.options.fadeDuration),this.$overlay.fadeOut(this.options.fadeDuration),this.options.disableScrolling&&e("body").removeClass("lb-disable-scrolling")},new t})),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==("undefined"==typeof exports?"undefined":_typeof(exports))?module.exports=e(require("jquery")):e(jQuery)}((function(e){"use strict";function t(e){var t=e.clone().css({height:"auto",width:e.width(),maxHeight:"none",overflow:"hidden"}).insertAfter(e),n=t.outerHeight(),i=parseInt(t.css({maxHeight:""}).css("max-height").replace(/[^-\d\.]/g,""),10),a=e.data("defaultHeight");t.remove();var r=i||e.data("collapsedHeight")||a;e.data({expandedHeight:n,maxHeight:i,collapsedHeight:r}).css({maxHeight:"none"})}function n(t,n){this.element=t,this.options=e.extend({},a,n),function(e){if(!r[e.selector]){var t=" ";e.embedCSS&&""!==e.blockCSS&&(t+=e.selector+" + [data-readmore-toggle], "+e.selector+"[data-readmore]{"+e.blockCSS+"}"),t+=e.selector+"[data-readmore]{transition: height "+e.speed+"ms;overflow: hidden;}",function(e,t){var n=e.createElement("style");n.type="text/css",n.styleSheet?n.styleSheet.cssText=t:n.appendChild(e.createTextNode(t)),e.getElementsByTagName("head")[0].appendChild(n)}(document,t),r[e.selector]=!0}}(this.options),this._defaults=a,this._name=i,this.init(),window.addEventListener?(window.addEventListener("load",s),window.addEventListener("resize",s)):(window.attachEvent("load",s),window.attachEvent("resize",s))}var i="readmore",a={speed:100,collapsedHeight:200,heightMargin:16,moreLink:'Read More',lessLink:'Close',embedCSS:!0,blockCSS:"display: block; width: 100%;",startOpen:!1,blockProcessed:function(){},beforeToggle:function(){},afterToggle:function(){}},r={},o=0,s=function(e,t,n){var i;return function(){var a=this,r=arguments,o=n&&!i;clearTimeout(i),i=setTimeout((function(){i=null,n||e.apply(a,r)}),t),o&&e.apply(a,r)}}((function(){e("[data-readmore]").each((function(){var n=e(this),i="true"===n.attr("aria-expanded");t(n),n.css({height:n.data(i?"expandedHeight":"collapsedHeight")})}))}),100);n.prototype={init:function(){var n=e(this.element);n.data({defaultHeight:this.options.collapsedHeight,heightMargin:this.options.heightMargin}),t(n);var i=n.data("collapsedHeight"),a=n.data("heightMargin");if(n.outerHeight(!0)<=i+a)return this.options.blockProcessed&&"function"==typeof this.options.blockProcessed&&this.options.blockProcessed(n,!1),!0;var r=n.attr("id")||function(e){var t=++o;return String(null==e?"rmjs-":e)+t}(),s=this.options.startOpen?this.options.lessLink:this.options.moreLink;n.attr({"data-readmore":"","aria-expanded":this.options.startOpen,id:r}),n.after(e(s).on("click",function(e){return function(t){e.toggle(this,n[0],t)}}(this)).attr({"data-readmore-toggle":r,"aria-controls":r})),this.options.startOpen||n.css({height:i}),this.options.blockProcessed&&"function"==typeof this.options.blockProcessed&&this.options.blockProcessed(n,!0)},toggle:function(t,n,i){i&&i.preventDefault(),t||(t=e('[aria-controls="'+this.element.id+'"]')[0]),n||(n=this.element);var a=e(n),r="",o="",s=!1,l=a.data("collapsedHeight");a.height()<=l?(r=a.data("expandedHeight")+"px",o="lessLink",s=!0):(r=l,o="moreLink"),this.options.beforeToggle&&"function"==typeof this.options.beforeToggle&&this.options.beforeToggle(t,a,!s),a.css({height:r}),a.on("transitionend",function(n){return function(){n.options.afterToggle&&"function"==typeof n.options.afterToggle&&n.options.afterToggle(t,a,s),e(this).attr({"aria-expanded":s}).off("transitionend")}}(this)),e(t).replaceWith(e(this.options[o]).on("click",function(e){return function(t){e.toggle(this,n,t)}}(this)).attr({"data-readmore-toggle":a.attr("id"),"aria-controls":a.attr("id")}))},destroy:function(){e(this.element).each((function(){var t=e(this);t.attr({"data-readmore":null,"aria-expanded":null}).css({maxHeight:"",height:""}).next("[data-readmore-toggle]").remove(),t.removeData()}))}},e.fn.readmore=function(t){var a=arguments,r=this.selector;return"object"==_typeof(t=t||{})?this.each((function(){if(e.data(this,"plugin_"+i)){var a=e.data(this,"plugin_"+i);a.destroy.apply(a)}t.selector=r,e.data(this,"plugin_"+i,new n(this,t))})):"string"==typeof t&&"_"!==t[0]&&"init"!==t?this.each((function(){var r=e.data(this,"plugin_"+i);r instanceof n&&"function"==typeof r[t]&&r[t].apply(r,Array.prototype.slice.call(a,1))})):void 0}})),function(e){function t(t,a){this.element=t,this.$el=e(t),this.options=e.extend({},i,a),this._defaults=i,this._name=n,this.moveInterval,this.moving=this.paused=this.state=0,(this.$el.is("ul")||this.$el.is("ol"))&&this.init()}var n="newsTicker",i={row_height:20,max_rows:3,speed:400,duration:2500,direction:"up",autostart:1,pauseOnHover:1,nextButton:null,prevButton:null,startButton:null,stopButton:null,hasMoved:function(){},movingUp:function(){},movingDown:function(){},start:function(){},stop:function(){},pause:function(){},unpause:function(){}};t.prototype={init:function(){this.$el.height(this.options.row_height*this.options.max_rows).css({overflow:"hidden"}),this.checkSpeed(),this.options.nextButton&&void 0!==this.options.nextButton[0]&&this.options.nextButton.click(function(e){this.moveNext(),this.resetInterval()}.bind(this)),this.options.prevButton&&void 0!==this.options.prevButton[0]&&this.options.prevButton.click(function(e){this.movePrev(),this.resetInterval()}.bind(this)),this.options.stopButton&&void 0!==this.options.stopButton[0]&&this.options.stopButton.click(function(e){this.stop()}.bind(this)),this.options.startButton&&void 0!==this.options.startButton[0]&&this.options.startButton.click(function(e){this.start()}.bind(this)),this.options.pauseOnHover&&this.$el.hover(function(){this.state&&this.pause()}.bind(this),function(){this.state&&this.unpause()}.bind(this)),this.options.autostart&&this.start()},start:function(){this.state||(this.state=1,this.resetInterval(),this.options.start())},stop:function(){this.state&&(clearInterval(this.moveInterval),this.state=0,this.options.stop())},resetInterval:function(){this.state&&(clearInterval(this.moveInterval),this.moveInterval=setInterval(function(){this.move()}.bind(this),this.options.duration))},move:function(){this.paused||this.moveNext()},moveNext:function(){"down"===this.options.direction?this.moveDown():"up"===this.options.direction&&this.moveUp()},movePrev:function(){"down"===this.options.direction?this.moveUp():"up"===this.options.direction&&this.moveDown()},pause:function(){this.paused||(this.paused=1),this.options.pause()},unpause:function(){this.paused&&(this.paused=0),this.options.unpause()},moveDown:function(){this.moving||(this.moving=1,this.options.movingDown(),this.$el.children("li:last").detach().prependTo(this.$el).css("marginTop","-"+this.options.row_height+"px").animate({marginTop:"0px"},this.options.speed,function(){this.moving=0,this.options.hasMoved()}.bind(this)))},moveUp:function(){if(!this.moving){this.moving=1,this.options.movingUp();var e=this.$el.children("li:first");e.animate({marginTop:"-"+this.options.row_height+"px"},this.options.speed,function(){e.detach().css("marginTop","0").appendTo(this.$el),this.moving=0,this.options.hasMoved()}.bind(this))}},updateOption:function(e,t){void 0!==this.options[e]&&(this.options[e]=t,"duration"==e||"speed"==e)&&(this.checkSpeed(),this.resetInterval())},add:function(t){this.$el.append(e("
  • ").html(t))},getState:function(){return paused?2:this.state},checkSpeed:function(){this.options.duration