";var t=s.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&r.push("name"+n+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&r.push(":enabled",":disabled"),c.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&r.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),r.push(",.*:")})),(i.matchesSelector=E.test(P=c.matches||c.webkitMatchesSelector||c.mozMatchesSelector||c.oMatchesSelector||c.msMatchesSelector))&&u(function(e){i.disconnectedMatch=P.call(e,"*"),P.call(e,"[s!='']:x"),O.push("!=",H)}),r=r.length&&new RegExp(r.join("|")),O=O.length&&new RegExp(O.join("|")),p=E.test(c.compareDocumentPosition),A=p||E.test(c.contains)?function(e,t){var s=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(s.contains?s.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},W=p?function(e,t){if(e===t)return x=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!i.sortDetached&&t.compareDocumentPosition(e)===n?e==s||e.ownerDocument==h&&A(h,e)?-1:t==s||t.ownerDocument==h&&A(h,t)?1:g?_(g,e)-_(g,t):0:4&n?-1:1)}:function(e,t){if(e===t)return x=!0,0;var n,o=0,r=e.parentNode,c=t.parentNode,i=[e],a=[t];if(!r||!c)return e==s?-1:t==s?1:r?-1:c?1:g?_(g,e)-_(g,t):0;if(r===c)return te(e,t);for(n=e;n=n.parentNode;)i.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;i[o]===a[o];)o++;return o?te(i[o],a[o]):i[o]==h?-1:a[o]==h?1:0}),s},o.matches=function(e,t){return o(e,null,null,t)},o.matchesSelector=function(e,t){if(v(e),i.matchesSelector&&l&&!S[t+" "]&&(!O||!O.test(t))&&(!r||!r.test(t)))try{var n=P.call(e,t);if(n||i.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch{S(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(m,f),e[3]=(e[3]||e[4]||e[5]||"").replace(m,f),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||o.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&o.error(e[0]),e},PSEUDO:function(e){var n,t=!e[6]&&e[2];return N.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":t&&_e.test(t)&&(n=k(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(e[0]=e[0].slice(0,n),e[2]=t.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(m,f).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=ae[e+" "];return t||(t=new RegExp("(^|"+n+")"+e+"("+n+"|$)"))&&ae(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(s){var i=o.attr(s,e);return i==null?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function he(e,t,s){return o(t)?n.grep(e,function(e,n){return!!t.call(e,n,e)!==s}):t.nodeType?n.grep(e,function(e){return e===t!==s}):"string"!=typeof t?n.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/,(n.fn.init=function(e,t,s){var a,r;if(!e)return this;if(s=s||it,"string"==typeof e){if(!(a="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:rt.exec(e))||!a[1]&&t)return!t||t.jquery?(t||s).find(e):this.constructor(t).find(e);if(a[1]){if(t=t instanceof n?t[0]:t,n.merge(this,n.parseHTML(a[1],t&&t.nodeType?t.ownerDocument||t:i,!0)),pe.test(a[1])&&n.isPlainObject(t))for(a in t)o(this[a])?this[a](t[a]):this.attr(a,t[a]);return this}return(r=i.getElementById(a[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):o(e)?void 0!==s.ready?s.ready(e):e(n):n.makeArray(e,this)}).prototype=n.fn,it=n(i),ft=/^(?:parents|prev(?:Until|All))/,gt={children:!0,contents:!0,next:!0,prev:!0};function bt(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}n.fn.extend({has:function(e){var t=n(e,this),s=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,Xe=/^$|^module$|\/(?:java|ecma)script/i,M=i.createDocumentFragment().appendChild(i.createElement("div"));(Z=i.createElement("input")).setAttribute("type","radio"),Z.setAttribute("checked","checked"),Z.setAttribute("name","t"),M.appendChild(Z),a.checkClone=M.cloneNode(!0).cloneNode(!0).lastChild.checked,M.innerHTML="",a.noCloneChecked=!!M.cloneNode(!0).lastChild.defaultValue,M.innerHTML="",a.option=!!M.lastChild,l={thead:[1,""],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};function r(e,t){var s;return s="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&d(e,t)?n.merge([e],s):s}function ve(e,t){for(var n=0,o=e.length;n",""]),Le=/<|?\w+;/;function Ne(e,t,s,o,i){for(var a,c,h,m,p,g,d=t.createDocumentFragment(),f=[],u=0,v=e.length;u\s*$/g;function Se(e,t){return d(e,"table")&&d(11!==t.nodeType?t:t.firstChild,"tr")&&n(e).children("tbody")[0]||e}function $t(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Vt(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Te(e,t){var o,i,a,r,l,d;if(1===t.nodeType){if(s.hasData(e)&&(a=s.get(e).events))for(i in s.remove(t,"handle events"),a)for(o=0,r=a[i].length;o").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",t=function(e){s.remove(),t=null,e&&a("error"===e.type?404:200,e.type)}),i.head.appendChild(s[0])},abort:function(){t&&t()}}}),Oe=[],K=/(=)\?(?=&|$)|\?\?/,n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Oe.pop()||n.expando+"_"+_t.guid++;return this[e]=!0,e}}),n.ajaxPrefilter("json jsonp",function(t,s,i){var a,r,c,l=!1!==t.jsonp&&(K.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&K.test(t.data)&&"data");if(l||"jsonp"===t.dataTypes[0])return a=t.jsonpCallback=o(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,l?t[l]=t[l].replace(K,"$1"+a):!1!==t.jsonp&&(t.url+=(re.test(t.url)?"&":"?")+t.jsonp+"="+a),t.converters["script json"]=function(){return c||n.error(a+" was not called"),c[0]},t.dataTypes[0]="json",r=e[a],e[a]=function(){c=arguments},i.always(function(){void 0===r?n(e).removeProp(a):e[a]=r,t[a]&&(t.jsonpCallback=s.jsonpCallback,Oe.push(a)),c&&o(r)&&r(c[0]),c=r=void 0}),"script"}),a.createHTMLDocument=((Me=i.implementation.createHTMLDocument("").body).innerHTML="",2===Me.childNodes.length),n.parseHTML=function(e,t,s){return"string"!=typeof e?[]:("boolean"==typeof t&&(s=t,t=!1),t||(a.createHTMLDocument?((c=(t=i.implementation.createHTMLDocument("")).createElement("base")).href=i.location.href,t.head.appendChild(c)):t=i),o=!s&&[],(r=pe.exec(e))?[t.createElement(r[1])]:(r=Ne([e],t,o),o&&o.length&&n(o).remove(),n.merge([],r.childNodes)));var o,r,c},n.fn.load=function(e,t,s){var i,c,l,a=this,r=e.indexOf(" ");return-1").append(n.parseHTML(e)).find(i):e)}).always(s&&function(e,t){a.each(function(){s.apply(this,l||[e.responseText,t,e])})}),this},n.expr.pseudos.animated=function(e){return n.grep(n.timers,function(t){return e===t.elem}).length},n.offset={setOffset:function(e,t,s){var i,r,c,l,d,m,u=n.css(e,"position"),h=n(e),a={};"static"===u&&(e.style.position="relative"),i=h.offset(),c=n.css(e,"top"),d=n.css(e,"left"),("absolute"===u||"fixed"===u)&&-1<(c+d).indexOf("auto")?(l=(m=h.position()).top,r=m.left):(l=parseFloat(c)||0,r=parseFloat(d)||0),o(t)&&(t=t.call(e,s,n.extend({},i))),null!=t.top&&(a.top=t.top-i.top+l),null!=t.left&&(a.left=t.left-i.left+r),"using"in t?t.using.call(e,a):h.css(a)}},n.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){n.offset.setOffset(this,e,t)});var s,o,t=this[0];return t?t.getClientRects().length?(s=t.getBoundingClientRect(),o=t.ownerDocument.defaultView,{top:s.top+o.pageYOffset,left:s.left+o.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,s,o,t=this[0],i={top:0,left:0};if("fixed"===n.css(t,"position"))s=t.getBoundingClientRect();else{for(s=this.offset(),o=t.ownerDocument,e=t.offsetParent||o.documentElement;e&&(e===o.body||e===o.documentElement)&&"static"===n.css(e,"position");)e=e.parentNode;e&&e!==t&&1===e.nodeType&&((i=n(e).offset()).top+=n.css(e,"borderTopWidth",!0),i.left+=n.css(e,"borderLeftWidth",!0))}return{top:s.top-i.top-n.css(t,"marginTop",!0),left:s.left-i.left-n.css(t,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===n.css(e,"position");)e=e.offsetParent;return e||y})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var s="pageYOffset"===t;n.fn[e]=function(n){return v(this,function(e,n,o){var i;if(D(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[n];i?i.scrollTo(s?i.pageXOffset:o,s?o:i.pageYOffset):e[n]=o},e,n,arguments.length)}}),n.each(["top","left"],function(e,t){n.cssHooks[t]=Ie(a.pixelPosition,function(e,s){if(s)return s=$(e,t),je.test(s)?n(e).position()[t]+"px":s})}),n.each({Height:"height",Width:"width"},function(e,t){n.each({padding:"inner"+e,content:t,"":"outer"+e},function(s,o){n.fn[o]=function(i,a){var r=arguments.length&&(s||"boolean"!=typeof i),c=s||(!0===i||!0===a?"margin":"border");return v(this,function(t,s,i){var a;return D(t)?0===o.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(a=t.documentElement,Math.max(t.body["scroll"+e],a["scroll"+e],t.body["offset"+e],a["offset"+e],a["client"+e])):void 0===i?n.css(t,s,c):n.style(t,s,i,c)},t,r?i:void 0,r)}})}),n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){n.fn[t]=function(e){return this.on(t,e)}}),n.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,s){return this.on(t,e,n,s)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),n.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){n.fn[t]=function(e,n){return 0[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter(e=>e.matches(t)),parents(e,t){const s=[];let n=e.parentNode;for(;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(t)&&s.push(n),n=n.parentNode;return s},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]}},G=e=>{do e+=Math.floor(1e6*Math.random());while(document.getElementById(e))return e},ee=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n="#"+n.split("#")[1]),t=n&&"#"!==n?n.trim():null}return t},D=e=>{const t=ee(e);return t&&document.querySelector(t)?t:null},m=e=>{const t=ee(e);return t?document.querySelector(t):null},te=e=>{e.dispatchEvent(new Event("transitionend"))},h=e=>!!e&&"object"==typeof e&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),O=e=>h(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?n.findOne(e):null,c=(e,t,n)=>{Object.keys(n).forEach(s=>{const a=n[s],o=t[s],r=o&&h(o)?"element":null==(i=o)?""+i:{}.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();var i;if(!new RegExp(a).test(r))throw new TypeError(`${e.toUpperCase()}: Option "${s}" provided type "${r}" but expected type "${a}".`)})},E=e=>!!h(e)&&0!==e.getClientRects().length&&"visible"===getComputedStyle(e).getPropertyValue("visibility"),_=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),ie=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?ie(e.parentNode):null},F=()=>{},y=e=>e.offsetHeight,ae=()=>{const{jQuery:e}=window;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},B=[],o=()=>"rtl"===document.documentElement.dir,a=e=>{var t=()=>{const t=ae();if(t){const n=e.NAME,s=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=s,e.jQueryInterface)}};"loading"===document.readyState?(B.length||document.addEventListener("DOMContentLoaded",()=>{B.forEach(e=>e())}),B.push(t)):t()},p=e=>{"function"==typeof e&&e()},ce=(e,t,n=!0)=>{if(!n)return void p(e);const i=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const s=Number.parseFloat(t),o=Number.parseFloat(n);return s||o?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let s=!1;const o=({target:n})=>{n===t&&(s=!0,t.removeEventListener("transitionend",o),p(e))};t.addEventListener("transitionend",o),setTimeout(()=>{s||te(t)},i)},le=(e,t,n,s)=>{let o=e.indexOf(t);if(-1===o)return e[!n&&s?e.length-1:0];const i=e.length;return o+=n?1:-1,s&&(o=(o+i)%i),e[Math.max(0,Math.min(o,i-1))]},pe=/[^.]*(?=\..*)\.|.*/,fe=/\..*/,ue=/::\d+$/,L={};let ne=1;const We={mouseenter:"mouseover",mouseleave:"mouseout"},qe=/^(mouseenter|mouseleave)/i,Z=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 Q(e,t){return t&&`${t}::${ne++}`||e.uidEvent||ne++}function X(e){const t=Q(e);return e.uidEvent=t,L[t]=L[t]||{},L[t]}function q(e,t,n=null){const s=Object.keys(e);for(let o=0,a=s.length;ofunction(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};o?o=e(o):s=e(s)}const[r,c,l]=K(n,s,o),u=X(e),h=u[l]||(u[l]={}),d=q(h,c,r?s:null);if(d)return void(d.oneOff=d.oneOff&&i);const m=Q(c,n.replace(pe,"")),a=r?function(e,n,s){return function o(i){const a=e.querySelectorAll(n);for(let{target:r}=i;r&&r!==this;r=r.parentNode)for(let c=a.length;c--;)if(a[c]===r)return i.delegateTarget=r,o.oneOff&&t.off(e,i.type,n,s),s.apply(r,[i]);return null}}(e,s,o):function(e,n){return function s(o){return o.delegateTarget=e,s.oneOff&&t.off(e,o.type,n),n.apply(e,[o])}}(e,s);a.delegationSelector=r?s:null,a.originalHandler=c,a.oneOff=i,a.uidEvent=m,h[m]=a,e.addEventListener(l,a,r)}function R(e,t,n,s,o){const i=q(t[n],s,o);i&&(e.removeEventListener(n,i,Boolean(o)),delete t[n][i.uidEvent])}function oe(e){return e=e.replace(fe,""),We[e]||e}const t={on(e,t,n,s){W(e,t,n,s,!1)},one(e,t,n,s){W(e,t,n,s,!0)},off(e,t,n,s){if("string"!=typeof t||!e)return;const[c,a,i]=K(t,n,s),l=i!==t,o=X(e),d=t.startsWith(".");if(void 0!==a){if(!o||!o[i])return;return void R(e,o,i,a,c?n:null)}d&&Object.keys(o).forEach(n=>{!function(e,t,n,s){const o=t[n]||{};Object.keys(o).forEach(i=>{if(i.includes(s)){const s=o[i];R(e,t,n,s.originalHandler,s.delegationSelector)}})}(e,o,n,t.slice(1))});const r=o[i]||{};Object.keys(r).forEach(n=>{const s=n.replace(ue,"");if(!l||t.includes(s)){const t=r[n];R(e,o,i,t.originalHandler,t.delegationSelector)}})},trigger(e,t,n){if("string"!=typeof t||!e)return null;const i=ae(),a=oe(t),d=t!==a,u=Z.has(a);let o,r=!0,c=!0,l=!1,s=null;return d&&i&&(o=i.Event(t,n),i(e).trigger(o),r=!o.isPropagationStopped(),c=!o.isImmediatePropagationStopped(),l=o.isDefaultPrevented()),u?(s=document.createEvent("HTMLEvents"),s.initEvent(a,r,!0)):s=new CustomEvent(t,{bubbles:r,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(e=>{Object.defineProperty(s,e,{get:()=>n[e]})}),l&&s.preventDefault(),c&&e.dispatchEvent(s),s.defaultPrevented&&void 0!==o&&o.preventDefault(),s}},u=new Map;f={set(e,t,n){u.has(e)||u.set(e,new Map);const s=u.get(e);s.has(t)||0===s.size?s.set(t,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`)},get:(e,t)=>u.has(e)&&u.get(e).get(t)||null,remove(e,t){if(!u.has(e))return;const n=u.get(e);n.delete(t),0===n.size&&u.delete(e)}};class r{constructor(e){(e=O(e))&&(this._element=e,f.set(this._element,this.constructor.DATA_KEY,this))}dispose(){f.remove(this._element,this.constructor.DATA_KEY),t.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(e=>{this[e]=null})}_queueCallback(e,t,n=!0){ce(e,t,n)}static getInstance(e){return f.get(e,this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.0.2"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return"bs."+this.NAME}static get EVENT_KEY(){return"."+this.DATA_KEY}}class x extends r{static get NAME(){return"alert"}close(e){const t=e?this._getRootElement(e):this._element,n=this._triggerCloseEvent(t);null===n||n.defaultPrevented||this._removeElement(t)}_getRootElement(e){return m(e)||e.closest(".alert")}_triggerCloseEvent(e){return t.trigger(e,"close.bs.alert")}_removeElement(e){e.classList.remove("show");const t=e.classList.contains("fade");this._queueCallback(()=>this._destroyElement(e),e,t)}_destroyElement(e){e.remove(),t.trigger(e,"closed.bs.alert")}static jQueryInterface(e){return this.each(function(){const t=x.getOrCreateInstance(this);"close"===e&&t[e](this)})}static handleDismiss(e){return function(t){t&&t.preventDefault(),e.close(this)}}}t.on(document,"click.bs.alert.data-api",'[data-bs-dismiss="alert"]',x.handleDismiss(new x)),a(x);class A extends r{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each(function(){const t=A.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}function U(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function N(e){return e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())}t.on(document,"click.bs.button.data-api",'[data-bs-toggle="button"]',e=>{e.preventDefault();const t=e.target.closest('[data-bs-toggle="button"]');A.getOrCreateInstance(t).toggle()}),a(A);const s={setDataAttribute(e,t,n){e.setAttribute("data-bs-"+N(t),n)},removeDataAttribute(e,t){e.removeAttribute("data-bs-"+N(t))},getDataAttributes(e){if(!e)return{};const t={};return Object.keys(e.dataset).filter(e=>e.startsWith("bs")).forEach(n=>{let s=n.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),t[s]=U(e.dataset[n])}),t},getDataAttribute:(e,t)=>U(e.getAttribute("data-bs-"+N(t))),offset(e){const t=e.getBoundingClientRect();return{top:t.top+document.body.scrollTop,left:t.left+document.body.scrollLeft}},position:e=>({top:e.offsetTop,left:e.offsetLeft})},Y={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Ye={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},g="next",v="prev",b="left",C="right",Ue={ArrowLeft:C,ArrowRight:b};class l extends r{constructor(e,t){super(e),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._indicatorsElement=n.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return Y}static get NAME(){return"carousel"}next(){this._slide(g)}nextWhenVisible(){!document.hidden&&E(this._element)&&this.next()}prev(){this._slide(v)}pause(e){e||(this._isPaused=!0),n.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(te(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(e){this._activeElement=n.findOne(".active.carousel-item",this._element);const s=this._getItemIndex(this._activeElement);if(e>this._items.length-1||e<0)return;if(this._isSliding)return void t.one(this._element,"slid.bs.carousel",()=>this.to(e));if(s===e)return this.pause(),void this.cycle();const o=e>s?g:v;this._slide(o,this._items[e])}_getConfig(e){return e={...Y,...s.getDataAttributes(this._element),..."object"==typeof e?e:{}},c("carousel",e,Ye),e}_handleSwipe(){const e=Math.abs(this.touchDeltaX);if(e<=40)return;const t=e/this.touchDeltaX;this.touchDeltaX=0,t&&this._slide(t>0?C:b)}_addEventListeners(){this._config.keyboard&&t.on(this._element,"keydown.bs.carousel",e=>this._keydown(e)),"hover"===this._config.pause&&(t.on(this._element,"mouseenter.bs.carousel",e=>this.pause(e)),t.on(this._element,"mouseleave.bs.carousel",e=>this.cycle(e))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const e=e=>{!this._pointerEvent||"pen"!==e.pointerType&&"touch"!==e.pointerType?this._pointerEvent||(this.touchStartX=e.touches[0].clientX):this.touchStartX=e.clientX},o=e=>{this.touchDeltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this.touchStartX},s=e=>{!this._pointerEvent||"pen"!==e.pointerType&&"touch"!==e.pointerType||(this.touchDeltaX=e.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(e=>this.cycle(e),500+this._config.interval))};n.find(".carousel-item img",this._element).forEach(e=>{t.on(e,"dragstart.bs.carousel",e=>e.preventDefault())}),this._pointerEvent?(t.on(this._element,"pointerdown.bs.carousel",t=>e(t)),t.on(this._element,"pointerup.bs.carousel",e=>s(e)),this._element.classList.add("pointer-event")):(t.on(this._element,"touchstart.bs.carousel",t=>e(t)),t.on(this._element,"touchmove.bs.carousel",e=>o(e)),t.on(this._element,"touchend.bs.carousel",e=>s(e)))}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=Ue[e.key];t&&(e.preventDefault(),this._slide(t))}_getItemIndex(e){return this._items=e&&e.parentNode?n.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){const n=e===g;return le(this._items,t,n,this._config.wrap)}_triggerSlideEvent(e,s){const o=this._getItemIndex(e),i=this._getItemIndex(n.findOne(".active.carousel-item",this._element));return t.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:s,from:i,to:o})}_setActiveIndicatorElement(e){if(this._indicatorsElement){const s=n.findOne(".active",this._indicatorsElement);s.classList.remove("active"),s.removeAttribute("aria-current");const t=n.find("[data-bs-target]",this._indicatorsElement);for(let n=0;n{t.trigger(this._element,"slid.bs.carousel",{relatedTarget:o,direction:u,from:m,to:f})};if(this._element.classList.contains("slide")){o.classList.add(c),y(o),i.classList.add(a),o.classList.add(a);const e=()=>{o.classList.remove(a,c),o.classList.add("active"),i.classList.remove("active",c,a),this._isSliding=!1,setTimeout(h,0)};this._queueCallback(e,i,!0)}else i.classList.remove("active"),o.classList.add("active"),this._isSliding=!1,h();l&&this.cycle()}_directionToOrder(e){return[C,b].includes(e)?o()?e===b?v:g:e===b?g:v:e}_orderToDirection(e){return[g,v].includes(e)?o()?e===v?b:C:e===v?C:b:e}static carouselInterface(e,t){const n=l.getOrCreateInstance(e,t);let{_config:s}=n;"object"==typeof t&&(s={...s,...t});const o="string"==typeof t?t:s.slide;if("number"==typeof t)n.to(t);else if("string"==typeof o){if(void 0===n[o])throw new TypeError(`No method named "${o}"`);n[o]()}else s.interval&&s.ride&&(n.pause(),n.cycle())}static jQueryInterface(e){return this.each(function(){l.carouselInterface(this,e)})}static dataApiClickHandler(e){const t=m(this);if(!t||!t.classList.contains("carousel"))return;const o={...s.getDataAttributes(t),...s.getDataAttributes(this)},n=this.getAttribute("data-bs-slide-to");n&&(o.interval=!1),l.carouselInterface(t,o),n&&l.getInstance(t).to(n),e.preventDefault()}}t.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",l.dataApiClickHandler),t.on(window,"load.bs.carousel.data-api",()=>{const e=n.find('[data-bs-ride="carousel"]');for(let t=0,n=e.length;te===this._element);null!==t&&a.length&&(this._selector=t,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}static get Default(){return z}static get NAME(){return"collapse"}toggle(){this._element.classList.contains("show")?this.hide():this.show()}show(){if(this._isTransitioning||this._element.classList.contains("show"))return;let e,o;this._parent&&(e=n.find(".show, .collapsing",this._parent).filter(e=>"string"==typeof this._config.parent?e.getAttribute("data-bs-parent")===this._config.parent:e.classList.contains("collapse")),0===e.length&&(e=null));const i=n.findOne(this._selector);if(e){const t=e.find(e=>i!==e);if(o=t?d.getInstance(t):null,o&&o._isTransitioning)return}if(t.trigger(this._element,"show.bs.collapse").defaultPrevented)return;e&&e.forEach(e=>{i!==e&&d.collapseInterface(e,"hide"),o||f.set(e,"bs.collapse",null)});const s=this._getDimension();this._element.classList.remove("collapse"),this._element.classList.add("collapsing"),this._element.style[s]=0,this._triggerArray.length&&this._triggerArray.forEach(e=>{e.classList.remove("collapsed"),e.setAttribute("aria-expanded",!0)}),this.setTransitioning(!0);const a="scroll"+(s[0].toUpperCase()+s.slice(1));this._queueCallback(()=>{this._element.classList.remove("collapsing"),this._element.classList.add("collapse","show"),this._element.style[s]="",this.setTransitioning(!1),t.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[s]=this._element[a]+"px"}hide(){if(this._isTransitioning||!this._element.classList.contains("show"))return;if(t.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",y(this._element),this._element.classList.add("collapsing"),this._element.classList.remove("collapse","show");const n=this._triggerArray.length;if(n>0)for(let e=0;e{this.setTransitioning(!1),this._element.classList.remove("collapsing"),this._element.classList.add("collapse"),t.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}setTransitioning(e){this._isTransitioning=e}_getConfig(e){return(e={...z,...e}).toggle=Boolean(e.toggle),c("collapse",e,Ve),e}_getDimension(){return this._element.classList.contains("width")?"width":"height"}_getParent(){let{parent:e}=this._config;e=O(e);const t=`[data-bs-toggle="collapse"][data-bs-parent="${e}"]`;return n.find(t,e).forEach(e=>{const t=m(e);this._addAriaAndCollapsedClass(t,[e])}),e}_addAriaAndCollapsedClass(e,t){if(!e||!t.length)return;const n=e.classList.contains("show");t.forEach(e=>{n?e.classList.remove("collapsed"):e.classList.add("collapsed"),e.setAttribute("aria-expanded",n)})}static collapseInterface(e,t){let n=d.getInstance(e);const o={...z,...s.getDataAttributes(e),..."object"==typeof t&&t?t:{}};if(!n&&o.toggle&&"string"==typeof t&&/show|hide/.test(t)&&(o.toggle=!1),n||(n=new d(e,o)),"string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t]()}}static jQueryInterface(e){return this.each(function(){d.collapseInterface(this,e)})}}t.on(document,"click.bs.collapse.data-api",'[data-bs-toggle="collapse"]',function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const t=s.getDataAttributes(this),o=D(this);n.find(o).forEach(e=>{const n=d.getInstance(e);let s;n?(null===n._parent&&"string"==typeof t.parent&&(n._config.parent=t.parent,n._parent=n._getParent()),s="toggle"):s=t,d.collapseInterface(e,s)})}),a(d);const Be=new RegExp("ArrowUp|ArrowDown|Escape"),Le=o()?"top-end":"top-start",Se=o()?"top-start":"top-end",xe=o()?"bottom-end":"bottom-start",_e=o()?"bottom-start":"bottom-end",je=o()?"left-start":"right-start",be=o()?"right-start":"left-start",Me={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},me={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class i extends r{constructor(e,t){super(e),this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}static get Default(){return Me}static get DefaultType(){return me}static get NAME(){return"dropdown"}toggle(){_(this._element)||(this._element.classList.contains("show")?this.hide():this.show())}show(){if(_(this._element)||this._menu.classList.contains("show"))return;const e=i.getParentFromElement(this._element),n={relatedTarget:this._element};if(!t.trigger(this._element,"show.bs.dropdown",n).defaultPrevented){if(this._inNavbar)s.setDataAttribute(this._menu,"popper","none");else{if(void 0===T)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=e:h(this._config.reference)?t=O(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const n=this._getPopperConfig(),o=n.modifiers.find(e=>"applyStyles"===e.name&&!1===e.enabled);this._popper=T.createPopper(t,this._menu,n),o&&s.setDataAttribute(this._menu,"popper","static")}"ontouchstart"in document.documentElement&&!e.closest(".navbar-nav")&&[].concat(...document.body.children).forEach(e=>t.on(e,"mouseover",F)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.toggle("show"),this._element.classList.toggle("show"),t.trigger(this._element,"shown.bs.dropdown",n)}}hide(){if(_(this._element)||!this._menu.classList.contains("show"))return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_addEventListeners(){t.on(this._element,"click.bs.dropdown",e=>{e.preventDefault(),this.toggle()})}_completeHide(e){t.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>t.off(e,"mouseover",F)),this._popper&&this._popper.destroy(),this._menu.classList.remove("show"),this._element.classList.remove("show"),this._element.setAttribute("aria-expanded","false"),s.removeDataAttribute(this._menu,"popper"),t.trigger(this._element,"hidden.bs.dropdown",e))}_getConfig(e){if(e={...this.constructor.Default,...s.getDataAttributes(this._element),...e},c("dropdown",e,this.constructor.DefaultType),"object"==typeof e.reference&&!h(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError("dropdown".toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.');return e}_getMenuElement(){return n.next(this._element,".dropdown-menu")[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains("dropend"))return je;if(e.classList.contains("dropstart"))return be;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?Se:Le:t?_e:xe}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const s=n.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(E);s.length&&le(s,t,"ArrowDown"===e,!s.includes(t)).focus()}static dropdownInterface(e,t){const n=i.getOrCreateInstance(e,t);if("string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t]()}}static jQueryInterface(e){return this.each(function(){i.dropdownInterface(this,e)})}static clearMenus(e){if(e&&(2===e.button||"keyup"===e.type&&"Tab"!==e.key))return;const t=n.find('[data-bs-toggle="dropdown"]');for(let s=0,a=t.length;sthis.matches('[data-bs-toggle="dropdown"]')?this:n.prev(this,'[data-bs-toggle="dropdown"]')[0];return"Escape"===e.key?(s().focus(),void i.clearMenus()):"ArrowUp"===e.key||"ArrowDown"===e.key?(t||s().click(),void i.getInstance(s())._selectMenuItem(e)):void(t&&"Space"!==e.key||i.clearMenus())}}t.on(document,"keydown.bs.dropdown.data-api",'[data-bs-toggle="dropdown"]',i.dataApiKeydownHandler),t.on(document,"keydown.bs.dropdown.data-api",".dropdown-menu",i.dataApiKeydownHandler),t.on(document,"click.bs.dropdown.data-api",i.clearMenus),t.on(document,"keyup.bs.dropdown.data-api",i.clearMenus),t.on(document,"click.bs.dropdown.data-api",'[data-bs-toggle="dropdown"]',function(e){e.preventDefault(),i.dropdownInterface(this)}),a(i);class P{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",t=>t+e),this._setElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","paddingRight",t=>t+e),this._setElementAttributes(".sticky-top","marginRight",t=>t-e)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const s=this.getWidth();this._applyManipulationCallback(e,e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+s)return;this._saveInitialAttribute(e,t);const o=window.getComputedStyle(e)[t];e.style[t]=n(Number.parseFloat(o))+"px"})}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","paddingRight"),this._resetElementAttributes(".sticky-top","marginRight")}_saveInitialAttribute(e,t){const n=e.style[t];n&&s.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,e=>{const n=s.getDataAttribute(e,t);void 0===n?e.style.removeProperty(t):(s.removeDataAttribute(e,t),e.style[t]=n)})}_applyManipulationCallback(e,t){h(e)?t(e):n.find(e,this._element).forEach(t)}isOverflowing(){return this.getWidth()>0}}const ge={isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},ve={isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"};class ${constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&y(this._getElement()),this._getElement().classList.add("show"),this._emulateAnimation(()=>{p(e)})):p(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),p(e)})):p(e)}_getElement(){if(!this._element){const e=document.createElement("div");e.className="modal-backdrop",this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_getConfig(e){return(e={...ge,..."object"==typeof e?e:{}}).rootElement=O(e.rootElement),c("backdrop",e,ve),e}_append(){this._isAppended||(this._config.rootElement.appendChild(this._getElement()),t.on(this._getElement(),"mousedown.bs.backdrop",()=>{p(this._config.clickCallback)}),this._isAppended=!0)}dispose(){this._isAppended&&(t.off(this._element,"mousedown.bs.backdrop"),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){ce(e,this._getElement(),this._config.isAnimated)}}const de={backdrop:!0,keyboard:!0,focus:!0},ye={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"};class k extends r{constructor(e,t){super(e),this._config=this._getConfig(t),this._dialog=n.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new P}static get Default(){return de}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||t.trigger(this._element,"show.bs.modal",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add("modal-open"),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),t.on(this._element,"click.dismiss.bs.modal",'[data-bs-dismiss="modal"]',e=>this.hide(e)),t.on(this._dialog,"mousedown.dismiss.bs.modal",()=>{t.one(this._element,"mouseup.dismiss.bs.modal",e=>{e.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(e)))}hide(e){if(e&&["A","AREA"].includes(e.target.tagName)&&e.preventDefault(),!this._isShown||this._isTransitioning)return;if(t.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const n=this._isAnimated();n&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t.off(document,"focusin.bs.modal"),this._element.classList.remove("show"),t.off(this._element,"click.dismiss.bs.modal"),t.off(this._dialog,"mousedown.dismiss.bs.modal"),this._queueCallback(()=>this._hideModal(),this._element,n)}dispose(){[window,this._dialog].forEach(e=>t.off(e,".bs.modal")),this._backdrop.dispose(),super.dispose(),t.off(document,"focusin.bs.modal")}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new $({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_getConfig(e){return e={...de,...s.getDataAttributes(this._element),..."object"==typeof e?e:{}},c("modal",e,ye),e}_showElement(e){const s=this._isAnimated(),o=n.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(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,o&&(o.scrollTop=0),s&&y(this._element),this._element.classList.add("show"),this._config.focus&&this._enforceFocus(),this._queueCallback(()=>{this._config.focus&&this._element.focus(),this._isTransitioning=!1,t.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,s)}_enforceFocus(){t.off(document,"focusin.bs.modal"),t.on(document,"focusin.bs.modal",e=>{document===e.target||this._element===e.target||this._element.contains(e.target)||this._element.focus()})}_setEscapeEvent(){this._isShown?t.on(this._element,"keydown.dismiss.bs.modal",e=>{this._config.keyboard&&"Escape"===e.key?(e.preventDefault(),this.hide()):this._config.keyboard||"Escape"!==e.key||this._triggerBackdropTransition()}):t.off(this._element,"keydown.dismiss.bs.modal")}_setResizeEvent(){this._isShown?t.on(window,"resize.bs.modal",()=>this._adjustDialog()):t.off(window,"resize.bs.modal")}_hideModal(){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(()=>{document.body.classList.remove("modal-open"),this._resetAdjustments(),this._scrollBar.reset(),t.trigger(this._element,"hidden.bs.modal")})}_showBackdrop(e){t.on(this._element,"click.dismiss.bs.modal",e=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:e.target===e.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())}),this._backdrop.show(e)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(t.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:e,scrollHeight:o,style:n}=this._element,s=o>document.documentElement.clientHeight;!s&&"hidden"===n.overflowY||e.contains("modal-static")||(s||(n.overflowY="hidden"),e.add("modal-static"),this._queueCallback(()=>{e.remove("modal-static"),s||this._queueCallback(()=>{n.overflowY=""},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),t=n>0;(!t&&e&&!o()||t&&!e&&o())&&(this._element.style.paddingLeft=n+"px"),(t&&!e&&!o()||!t&&e&&o())&&(this._element.style.paddingRight=n+"px")}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const n=k.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}})}}t.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(e){const n=m(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),t.one(n,"show.bs.modal",e=>{e.defaultPrevented||t.one(n,"hidden.bs.modal",()=>{E(this)&&this.focus()})}),k.getOrCreateInstance(n).toggle(this)}),a(k);const V={backdrop:!0,keyboard:!0,scroll:!1},Oe={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"};class w extends r{constructor(e,t){super(e),this._config=this._getConfig(t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._addEventListeners()}static get NAME(){return"offcanvas"}static get Default(){return V}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||t.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||((new P).hide(),this._enforceFocusOnElement(this._element)),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("show"),this._queueCallback(()=>{t.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&(t.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(t.off(document,"focusin.bs.offcanvas"),this._element.blur(),this._isShown=!1,this._element.classList.remove("show"),this._backdrop.hide(),this._queueCallback(()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new P).reset(),t.trigger(this._element,"hidden.bs.offcanvas")},this._element,!0)))}dispose(){this._backdrop.dispose(),super.dispose(),t.off(document,"focusin.bs.offcanvas")}_getConfig(e){return e={...V,...s.getDataAttributes(this._element),..."object"==typeof e?e:{}},c("offcanvas",e,Oe),e}_initializeBackDrop(){return new $({isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_enforceFocusOnElement(e){t.off(document,"focusin.bs.offcanvas"),t.on(document,"focusin.bs.offcanvas",t=>{document===t.target||e===t.target||e.contains(t.target)||e.focus()}),e.focus()}_addEventListeners(){t.on(this._element,"click.dismiss.bs.offcanvas",'[data-bs-dismiss="offcanvas"]',()=>this.hide()),t.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{this._config.keyboard&&"Escape"===e.key&&this.hide()})}static jQueryInterface(e){return this.each(function(){const t=w.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}t.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(e){const s=m(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),_(this))return;t.one(s,"hidden.bs.offcanvas",()=>{E(this)&&this.focus()});const o=n.findOne(".offcanvas.show");o&&o!==s&&w.getInstance(o).hide(),w.getOrCreateInstance(s).toggle(this)}),t.on(window,"load.bs.offcanvas.data-api",()=>n.find(".offcanvas.show").forEach(e=>w.getOrCreateInstance(e).show())),a(w);const Ce=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Ee=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i,ke=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Ae=(e,t)=>{const n=e.nodeName.toLowerCase();if(t.includes(n))return!Ce.has(n)||Boolean(Ee.test(e.nodeValue)||ke.test(e.nodeValue));const s=t.filter(e=>e instanceof RegExp);for(let e=0,t=s.length;e{Ae(t,c)||e.removeAttribute(t.nodeName)})}return s.body.innerHTML}const he=new RegExp("(^|\\s)bs-tooltip\\S+","g"),Fe=new Set(["sanitize","allowList","sanitizeFn"]),Te={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},ze={AUTO:"auto",TOP:"top",RIGHT:o()?"left":"right",BOTTOM:"bottom",LEFT:o()?"right":"left"},De={animation:!0,template:'',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["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:[]},popperConfig:null},Ne={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"};class j extends r{constructor(e,t){if(void 0===T)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(t),this.tip=null,this._setListeners()}static get Default(){return De}static get NAME(){return"tooltip"}static get Event(){return Ne}static get DefaultType(){return Te}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled)if(e){const t=this._initializeOnDelegatedTarget(e);t._activeTrigger.click=!t._activeTrigger.click,t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(this.getTipElement().classList.contains("show"))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),t.off(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.tip&&this.tip.remove(),this._popper&&this._popper.destroy(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const a=t.trigger(this._element,this.constructor.Event.SHOW),n=ie(this._element),r=null===n?this._element.ownerDocument.documentElement.contains(this._element):n.contains(this._element);if(a.defaultPrevented||!r)return;const e=this.getTipElement(),s=G(this.constructor.NAME);e.setAttribute("id",s),this._element.setAttribute("aria-describedby",s),this.setContent(),this._config.animation&&e.classList.add("fade");const c="function"==typeof this._config.placement?this._config.placement.call(this,e,this._element):this._config.placement,o=this._getAttachment(c);this._addAttachmentClass(o);const{container:l}=this._config;f.set(e,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(l.appendChild(e),t.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=T.createPopper(this._element,e,this._getPopperConfig(o)),e.classList.add("show");const i="function"==typeof this._config.customClass?this._config.customClass():this._config.customClass;i&&e.classList.add(...i.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>{t.on(e,"mouseover",F)});const d=this.tip.classList.contains("fade");this._queueCallback(()=>{const e=this._hoverState;this._hoverState=null,t.trigger(this._element,this.constructor.Event.SHOWN),"out"===e&&this._leave(null,this)},this.tip,d)}hide(){if(!this._popper)return;const e=this.getTipElement();if(t.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;e.classList.remove("show"),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>t.off(e,"mouseover",F)),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const n=this.tip.classList.contains("fade");this._queueCallback(()=>{this._isWithActiveTrigger()||("show"!==this._hoverState&&e.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),t.trigger(this._element,this.constructor.Event.HIDDEN),this._popper&&(this._popper.destroy(),this._popper=null))},this.tip,n),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const e=document.createElement("div");return e.innerHTML=this._config.template,this.tip=e.children[0],this.tip}setContent(){const e=this.getTipElement();this.setElementContent(n.findOne(".tooltip-inner",e),this.getTitle()),e.classList.remove("fade","show")}setElementContent(e,t){if(null!==e)return h(t)?(t=O(t),void(this._config.html?t.parentNode!==e&&(e.innerHTML="",e.appendChild(t)):e.textContent=t.textContent)):void(this._config.html?(this._config.sanitize&&(t=re(t,this._config.allowList,this._config.sanitizeFn)),e.innerHTML=t):e.textContent=t)}getTitle(){let e=this._element.getAttribute("data-bs-original-title");return e||(e="function"==typeof this._config.title?this._config.title.call(this._element):this._config.title),e}updateAttachment(e){return"right"===e?"end":"left"===e?"start":e}_initializeOnDelegatedTarget(e,t){const n=this.constructor.DATA_KEY;return(t=t||f.get(e.delegateTarget,n))||(t=new this.constructor(e.delegateTarget,this._getDelegateConfig()),f.set(e.delegateTarget,n,t)),t}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(e){const t={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:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:e=>this._handlePopperPlacementChange(e)}],onFirstUpdate:e=>{e.options.placement!==e.placement&&this._handlePopperPlacementChange(e)}};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_addAttachmentClass(e){this.getTipElement().classList.add("bs-tooltip-"+this.updateAttachment(e))}_getAttachment(e){return ze[e.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach(e=>{if("click"===e)t.on(this._element,this.constructor.Event.CLICK,this._config.selector,e=>this.toggle(e));else if("manual"!==e){const n="hover"===e?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,s="hover"===e?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;t.on(this._element,n,this._config.selector,e=>this._enter(e)),t.on(this._element,s,this._config.selector,e=>this._leave(e))}}),this._hideModalHandler=()=>{this._element&&this.hide()},t.on(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const e=this._element.getAttribute("title"),t=typeof this._element.getAttribute("data-bs-original-title");(e||"string"!==t)&&(this._element.setAttribute("data-bs-original-title",e||""),!e||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.setAttribute("title",""))}_enter(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusin"===e.type?"focus":"hover"]=!0),t.getTipElement().classList.contains("show")||"show"===t._hoverState?t._hoverState="show":(clearTimeout(t._timeout),t._hoverState="show",t._config.delay&&t._config.delay.show?t._timeout=setTimeout(()=>{"show"===t._hoverState&&t.show()},t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?"focus":"hover"]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t._config.delay&&t._config.delay.hide?t._timeout=setTimeout(()=>{"out"===t._hoverState&&t.hide()},t._config.delay.hide):t.hide())}_isWithActiveTrigger(){for(const e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}_getConfig(e){const t=s.getDataAttributes(this._element);return Object.keys(t).forEach(e=>{Fe.has(e)&&delete t[e]}),(e={...this.constructor.Default,...t,..."object"==typeof e&&e?e:{}}).container=!1===e.container?document.body:O(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),c("tooltip",e,this.constructor.DefaultType),e.sanitize&&(e.template=re(e.template,e.allowList,e.sanitizeFn)),e}_getDelegateConfig(){const e={};if(this._config)for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_cleanTipClass(){const t=this.getTipElement(),e=t.getAttribute("class").match(he);null!==e&&e.length>0&&e.map(e=>e.trim()).forEach(e=>t.classList.remove(e))}_handlePopperPlacementChange(e){const{state:t}=e;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))}static jQueryInterface(e){return this.each(function(){const t=j.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}a(j);const Re=new RegExp("(^|\\s)bs-popover\\S+","g"),Pe={...j.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:''},He={...j.DefaultType,content:"(string|element|function)"},Ie={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class H extends j{static get Default(){return Pe}static get NAME(){return"popover"}static get Event(){return Ie}static get DefaultType(){return He}isWithContent(){return this.getTitle()||this._getContent()}getTipElement(){return this.tip||(this.tip=super.getTipElement(),this.getTitle()||n.findOne(".popover-header",this.tip).remove(),this._getContent()||n.findOne(".popover-body",this.tip).remove()),this.tip}setContent(){const t=this.getTipElement();this.setElementContent(n.findOne(".popover-header",t),this.getTitle());let e=this._getContent();"function"==typeof e&&(e=e.call(this._element)),this.setElementContent(n.findOne(".popover-body",t),e),t.classList.remove("fade","show")}_addAttachmentClass(e){this.getTipElement().classList.add("bs-popover-"+this.updateAttachment(e))}_getContent(){return this._element.getAttribute("data-bs-content")||this._config.content}_cleanTipClass(){const t=this.getTipElement(),e=t.getAttribute("class").match(Re);null!==e&&e.length>0&&e.map(e=>e.trim()).forEach(e=>t.classList.remove(e))}static jQueryInterface(e){return this.each(function(){const t=H.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}a(H);const se={offset:10,method:"auto",target:""},$e={offset:"number",method:"string",target:"(string|element)"};class M extends r{constructor(e,n){super(e),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(n),this._selector=`${this._config.target} .nav-link, ${this._config.target} .list-group-item, ${this._config.target} .dropdown-item`,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,t.on(this._scrollElement,"scroll.bs.scrollspy",()=>this._process()),this.refresh(),this._process()}static get Default(){return se}static get NAME(){return"scrollspy"}refresh(){const t=this._scrollElement===this._scrollElement.window?"offset":"position",e="auto"===this._config.method?t:this._config.method,o="position"===e?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),n.find(this._selector).map(t=>{const i=D(t),a=i?n.findOne(i):null;if(a){const t=a.getBoundingClientRect();if(t.width||t.height)return[s[e](a).top+o,i]}return null}).filter(e=>e).sort((e,t)=>e[0]-t[0]).forEach(e=>{this._offsets.push(e[0]),this._targets.push(e[1])})}dispose(){t.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(e){if("string"!=typeof(e={...se,...s.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}}).target&&h(e.target)){let{id:t}=e.target;t||(t=G("scrollspy"),e.target.id=t),e.target="#"+t}return c("scrollspy",e,$e),e}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){const e=this._targets[this._targets.length-1];this._activeTarget!==e&&this._activate(e)}else{if(this._activeTarget&&e0)return this._activeTarget=null,void this._clear();for(let t=this._offsets.length;t--;)this._activeTarget!==this._targets[t]&&e>=this._offsets[t]&&(void 0===this._offsets[t+1]||e`${t}[data-bs-target="${e}"],${t}[href="${e}"]`),s=n.findOne(o.join(","));s.classList.contains("dropdown-item")?(n.findOne(".dropdown-toggle",s.closest(".dropdown")).classList.add("active"),s.classList.add("active")):(s.classList.add("active"),n.parents(s,".nav, .list-group").forEach(e=>{n.prev(e,".nav-link, .list-group-item").forEach(e=>e.classList.add("active")),n.prev(e,".nav-item").forEach(e=>{n.children(e,".nav-link").forEach(e=>e.classList.add("active"))})})),t.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:e})}_clear(){n.find(this._selector).filter(e=>e.classList.contains("active")).forEach(e=>e.classList.remove("active"))}static jQueryInterface(e){return this.each(function(){const t=M.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}t.on(window,"load.bs.scrollspy.data-api",()=>{n.find('[data-bs-spy="scroll"]').forEach(e=>new M(e))}),a(M);class S extends r{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains("active"))return;let e;const o=m(this._element),s=this._element.closest(".nav, .list-group");if(s){const t="UL"===s.nodeName||"OL"===s.nodeName?":scope > li > .active":".active";e=n.find(t,s),e=e[e.length-1]}const i=e?t.trigger(e,"hide.bs.tab",{relatedTarget:this._element}):null;if(t.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==i&&i.defaultPrevented)return;this._activate(this._element,s);const a=()=>{t.trigger(e,"hidden.bs.tab",{relatedTarget:this._element}),t.trigger(this._element,"shown.bs.tab",{relatedTarget:e})};o?this._activate(o,o.parentNode,a):a()}_activate(e,t,s){const o=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?n.children(t,".active"):n.find(":scope > li > .active",t))[0],a=s&&o&&o.classList.contains("fade"),i=()=>this._transitionComplete(e,o,s);o&&a?(o.classList.remove("show"),this._queueCallback(i,e,!0)):i()}_transitionComplete(e,t,s){if(t){t.classList.remove("active");const e=n.findOne(":scope > .dropdown-menu .active",t.parentNode);e&&e.classList.remove("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),y(e),e.classList.contains("fade")&&e.classList.add("show");let o=e.parentNode;if(o&&"LI"===o.nodeName&&(o=o.parentNode),o&&o.classList.contains("dropdown-menu")){const t=e.closest(".dropdown");t&&n.find(".dropdown-toggle",t).forEach(e=>e.classList.add("active")),e.setAttribute("aria-expanded",!0)}s&&s()}static jQueryInterface(e){return this.each(function(){const t=S.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}t.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),_(this)||S.getOrCreateInstance(this).show()}),a(S);const Ke={animation:"boolean",autohide:"boolean",delay:"number"},J={animation:!0,autohide:!0,delay:5e3};class I extends r{constructor(e,t){super(e),this._config=this._getConfig(t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return Ke}static get Default(){return J}static get NAME(){return"toast"}show(){t.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),y(this._element),this._element.classList.add("showing"),this._queueCallback(()=>{this._element.classList.remove("showing"),this._element.classList.add("show"),t.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this._element.classList.contains("show")&&(t.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.remove("show"),this._queueCallback(()=>{this._element.classList.add("hide"),t.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),super.dispose()}_getConfig(e){return e={...J,...s.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}},c("toast",e,this.constructor.DefaultType),e}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){t.on(this._element,"click.dismiss.bs.toast",'[data-bs-dismiss="toast"]',()=>this.hide()),t.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),t.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),t.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),t.on(this._element,"focusout.bs.toast",e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=I.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return a(I),{Alert:x,Button:A,Carousel:l,Collapse:d,Dropdown:i,Modal:k,Offcanvas:w,Popover:H,ScrollSpy:M,Tab:S,Toast:I,Tooltip:j}}),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Swiper=t()}(this,function(){"use strict";function T(e,t){for(var n,s=0;s0&&p(e[n],t[n])})}E={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 o(){var e="undefined"!=typeof document?document:{};return p(e,E),e}S={document:E,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 n(){var e="undefined"!=typeof window?window:{};return p(e,S),e}function z(e){return(z=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function oe(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function D(){return(D=oe()?Reflect.construct:function(e,t,n){var o,s=[null];return s.push.apply(s,t),o=new(Function.bind.apply(e,s)),n&&w(o,n.prototype),o}).apply(null,arguments)}function L(e){var t="function"==typeof Map?new Map:void 0;return(L=function(e){if(null===e||(s=e,-1===Function.toString.call(s).indexOf("[native code]")))return e;var s;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return D(e,arguments,z(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),w(n,e)})(e)}c=function(e){var t,n;function s(t){var n,s,o;return n=e.call.apply(e,[this].concat(t))||this,s=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n),o=s.__proto__,Object.defineProperty(s,"__proto__",{get:function(){return o},set:function(e){o.__proto__=e}}),n}return n=e,(t=s).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,s}(L(Array));function u(e){void 0===e&&(e=[]);var t=[];return e.forEach(function(e){Array.isArray(e)?t.push.apply(t,u(e)):t.push(e)}),t}function M(e,t){return Array.prototype.filter.call(e,t)}function e(e,t){var s,i,r,l,u=n(),d=o(),a=[];if(!t&&e instanceof c)return e;if(!e)return new c(a);if("string"==typeof e)if(s=e.trim(),s.indexOf("<")>=0&&s.indexOf(">")>=0){i="div",0===s.indexOf("0}).length>0},toggleClass:function(){for(var s,t=arguments.length,n=new Array(t),e=0;e=0;o-=1)s=t[o],i&&s.listener===i||i&&s.listener&&s.listener.dom7proxy&&s.listener.dom7proxy===i?(n.removeEventListener(a,s.proxyListener,r),t.splice(o,1)):i||(n.removeEventListener(a,s.proxyListener,r),t.splice(o,1));return this},trigger:function(){for(var e,o,l,d,a=n(),r=arguments.length,t=new Array(r),s=0;s0}),e.dispatchEvent(d),e.dom7EventData=[],delete e.dom7EventData);return this},transitionEnd:function(e){var t=this;return e&&t.on("transitionend",function n(s){s.target===this&&(e.call(this,s),t.off("transitionend",n))}),this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){var e=n();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){var t=n(),a=o(),e=this[0],s=e.getBoundingClientRect(),i=a.body,r=e.clientTop||i.clientTop||0,c=e.clientLeft||i.clientLeft||0,l=e===t?t.scrollY:e.scrollTop,d=e===t?t.scrollX:e.scrollLeft;return{top:s.top+l-r,left:s.left+d-c}}return null},css:function(e,t){var s,o,i=n();if(1===arguments.length){if("string"!=typeof e){for(s=0;ss-1?e([]):t<0?(n=s+t,e(n<0?[]:[this[n]])):e([this[t]])},append:function(){for(var e,t,s,i,a=o(),n=0;n=0;n-=1)this[t].insertBefore(s.childNodes[n],this[t].childNodes[0])}else if(e instanceof c)for(n=0;n0?t?e(this[0].nextElementSibling&&e(this[0].nextElementSibling).is(t)?[this[0].nextElementSibling]:[]):e(this[0].nextElementSibling?[this[0].nextElementSibling]:[]):e([])},nextAll:function(t){var n,o=[],s=this[0];if(!s)return e([]);for(;s.nextElementSibling;)n=s.nextElementSibling,t?e(n).is(t)&&o.push(n):o.push(n),s=n;return e(o)},prev:function(t){if(this.length>0){var n=this[0];return t?e(n.previousElementSibling&&e(n.previousElementSibling).is(t)?[n.previousElementSibling]:[]):e(n.previousElementSibling?[n.previousElementSibling]:[])}return e([])},prevAll:function(t){var n,o=[],s=this[0];if(!s)return e([]);for(;s.previousElementSibling;)n=s.previousElementSibling,t?e(n).is(t)&&o.push(n):o.push(n),s=n;return e(o)},parent:function(t){for(var s=[],n=0;n6&&(s=s.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),r=new a.WebKitCSSMatrix("none"===s?"":s)):i=(r=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(s=a.WebKitCSSMatrix?r.m41:parseFloat(16===i.length?i[12]:i[4])),"y"===t&&(s=a.WebKitCSSMatrix?r.m42:parseFloat(16===i.length?i[13]:i[5])),s||0}function d(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object}function t(){for(s=Object(arguments.length<=0?void 0:arguments[0]),o=1;o=0,observer:"MutationObserver"in e||"WebkitMutationObserver"in e,passiveListener:function(){var n,t=!1;try{n=Object.defineProperty({},"passive",{get:function(){t=!0}}),e.addEventListener("testPassiveListener",null,n)}catch{}return t}(),gestures:"ongesturestart"in e}}()),v}function ne(e){return void 0===e&&(e={}),f||(f=function(e){var c=(void 0===e?{}:e).userAgent,h=A(),i=n(),a=i.navigator.platform,t=c||i.navigator.userAgent,o={ios:!1,android:!1},l=i.screen.width,d=i.screen.height,u=t.match(/(Android);?[\s/]+([\d.]+)?/),s=t.match(/(iPad).*OS\s([\d_]+)/),m=t.match(/(iPod)(.*OS\s([\d_]+))?/),f=!s&&t.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p="Win32"===a,r="MacIntel"===a;return!s&&r&&h.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(l+"x"+d)>=0&&((s=t.match(/(Version)\/([\d.]+)/))||(s=[0,1,"13_0_0"]),r=!1),u&&!p&&(o.os="android",o.android=!0),(s||f||m)&&(o.os="ios",o.ios=!0),o}(e)),f}function ee(){return j||(j=function(){var e,t=n();return{isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:(e=t.navigator.userAgent.toLowerCase(),e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}()),j}Object.keys(y).forEach(function(t){e.fn[t]=y[t]});var G={name:"resize",create:function(){var e=this;t(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(e){var t=n();t.addEventListener("resize",e.resize.resizeHandler),t.addEventListener("orientationchange",e.resize.orientationChangeHandler)},destroy:function(e){var t=n();t.removeEventListener("resize",e.resize.resizeHandler),t.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}},W={attach:function(e,t){void 0===t&&(t={});var s=n(),o=this,i=new(s.MutationObserver||s.WebkitMutationObserver)(function(e){if(1!==e.length){var t=function(){o.emit("observerUpdate",e[0])};s.requestAnimationFrame?s.requestAnimationFrame(t):s.setTimeout(t,0)}else o.emit("observerUpdate",e[0])});i.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),o.observer.observers.push(i)},init:function(){if(this.support.observer&&this.params.observer){if(this.params.observeParents)for(var t=this.$el.parents(),e=0;e0)&&(!c.isTouched||!c.isMoved)))if(!!r.noSwipingClass&&""!==r.noSwipingClass&&i.target&&i.target.shadowRoot&&s.path&&s.path[0]&&(l=e(s.path[0])),r.noSwiping&&l.closest(r.noSwipingSelector?r.noSwipingSelector:"."+r.noSwipingClass)[0])this.allowClick=!0;else if(!r.swipeHandler||l.closest(r.swipeHandler)[0]){d.currentX="touchstart"===i.type?i.targetTouches[0].pageX:i.pageX,d.currentY="touchstart"===i.type?i.targetTouches[0].pageY:i.pageY;var h=d.currentX,v=d.currentY,b=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,f=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;(!b||!(h<=f||h>=g.screen.width-f))&&((t(c,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),d.startX=h,d.startY=v,c.touchStartTime=a(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,r.threshold>0&&(c.allowThresholdMove=!1),"touchstart"!==i.type)&&(m=!0,l.is(c.formElements)&&(m=!1),u.activeElement&&e(u.activeElement).is(c.formElements)&&u.activeElement!==l[0]&&u.activeElement.blur(),p=m&&this.allowTouchMove&&r.touchStartPreventDefault,(r.touchStartForcePreventDefault||p)&&i.preventDefault()),this.emit("touchStart",i))}}function V(n){var l,d,m,f,p,g,b=o(),s=this.touchEventsData,c=this.params,i=this.touches,j=this.rtlTranslate,r=n;if(r.originalEvent&&(r=r.originalEvent),s.isTouched){if(!s.isTouchEvent||"touchmove"===r.type){var v="touchmove"===r.type&&r.targetTouches&&(r.targetTouches[0]||r.changedTouches[0]),u="touchmove"===r.type?v.pageX:r.pageX,h="touchmove"===r.type?v.pageY:r.pageY;if(r.preventedByNestedSwiper)return i.startX=u,void(i.startY=h);if(!this.allowTouchMove)return this.allowClick=!1,void(s.isTouched&&(t(i,{startX:u,startY:h,currentX:u,currentY:h}),s.touchStartTime=a()));if(s.isTouchEvent&&c.touchReleaseOnEdges&&!c.loop)if(this.isVertical()){if(hi.startY&&this.translate>=this.minTranslate())return s.isTouched=!1,void(s.isMoved=!1)}else if(ui.startX&&this.translate>=this.minTranslate())return;if(s.isTouchEvent&&b.activeElement&&r.target===b.activeElement&&e(r.target).is(s.formElements))return s.isMoved=!0,void(this.allowClick=!1);if(s.allowTouchCallbacks&&this.emit("touchMove",r),!(r.targetTouches&&r.targetTouches.length>1)&&(i.currentX=u,i.currentY=h,d=i.currentX-i.startX,m=i.currentY-i.startY,!(this.params.threshold&&Math.sqrt(Math.pow(d,2)+Math.pow(m,2))=25&&(g=180*Math.atan2(Math.abs(m),Math.abs(d))/Math.PI,s.isScrolling=this.isHorizontal()?g>c.touchAngle:90-g>c.touchAngle)),s.isScrolling&&this.emit("touchMoveOpposite",r),void 0===s.startMoving&&(i.currentX===i.startX&&i.currentY===i.startY||(s.startMoving=!0)),s.isScrolling)s.isTouched=!1;else if(s.startMoving){if(this.allowClick=!1,!c.cssMode&&r.cancelable&&r.preventDefault(),c.touchMoveStopPropagation&&!c.nested&&r.stopPropagation(),s.isMoved||(c.loop&&this.loopFix(),s.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),s.allowMomentumBounce=!1,!c.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",r)),this.emit("sliderMove",r),s.isMoved=!0,l=this.isHorizontal()?d:m,i.diff=l,l*=c.touchRatio,j&&(l=-l),this.swipeDirection=l>0?"prev":"next",s.currentTranslate=l+s.startTranslate,f=!0,p=c.resistanceRatio,c.touchReleaseOnEdges&&(p=0),l>0&&s.currentTranslate>this.minTranslate()?(f=!1,c.resistance&&(s.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+s.startTranslate+l,p))):l<0&&s.currentTranslates.startTranslate&&(s.currentTranslate=s.startTranslate),c.threshold>0){if(!(Math.abs(l)>c.threshold||s.allowThresholdMove))return void(s.currentTranslate=s.startTranslate);if(!s.allowThresholdMove)return s.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,s.currentTranslate=s.startTranslate,void(i.diff=this.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY)}c.followFinger&&!c.cssMode&&((c.freeMode||c.watchSlidesProgress||c.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),c.freeMode&&(0===s.velocities.length&&s.velocities.push({position:i[this.isHorizontal()?"startX":"startY"],time:s.touchStartTime}),s.velocities.push({position:i[this.isHorizontal()?"currentX":"currentY"],time:a()})),this.updateProgress(s.currentTranslate),this.setTranslate(s.currentTranslate))}}}else s.startMoving&&s.isScrolling&&this.emit("touchMoveOpposite",r)}function B(e){var h,f,p,g,v,b,j,_,w,O,x,E,k,S,t=this,s=t.touchEventsData,n=t.params,N=t.touches,y=t.rtlTranslate,C=t.$wrapperEl,c=t.slidesGrid,u=t.snapGrid,d=e;if(d.originalEvent&&(d=d.originalEvent),s.allowTouchCallbacks&&t.emit("touchEnd",d),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&n.grabCursor&&t.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);if(n.grabCursor&&s.isMoved&&s.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1),O=a(),_=O-s.touchStartTime,t.allowClick&&(t.updateClickedSlide(d),t.emit("tap click",d),_<300&&O-s.lastClickTime<300&&t.emit("doubleTap doubleClick",d)),s.lastClickTime=a(),l(function(){t.destroyed||(t.allowClick=!0)}),!s.isTouched||!s.isMoved||!t.swipeDirection||0===N.diff||s.currentTranslate===s.startTranslate)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,h=n.followFinger?y?t.translate:-t.translate:-s.currentTranslate,!n.cssMode)if(n.freeMode){if(h<-t.minTranslate())return void t.slideTo(t.activeIndex);if(h>-t.maxTranslate())return void(t.slides.length1){var M=s.velocities.pop(),T=s.velocities.pop(),D=M.position-T.position,F=M.time-T.time;t.velocity=D/F,t.velocity/=2,Math.abs(t.velocity)150||a()-M.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=n.freeModeMomentumVelocityRatio,s.velocities.length=0;var m=1e3*n.freeModeMomentumRatio,z=t.velocity*m,o=t.translate+z;if(y&&(o=-o),b=!1,v=20*Math.abs(t.velocity)*n.freeModeMomentumBounceRatio,ot.minTranslate())n.freeModeMomentumBounce?(o-t.minTranslate()>v&&(o=t.minTranslate()+v),w=t.minTranslate(),b=!0,s.allowMomentumBounce=!0):o=t.minTranslate(),n.loop&&n.centeredSlides&&(x=!0);else if(n.freeModeSticky){for(p=0;p-o){g=p;break}o=-(o=Math.abs(u[g]-o)=n.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var r=0,A=t.slidesSizesGrid[0],i=0;i=c[i]&&h=c[i]&&(r=i,A=c[c.length-1]-c[c.length-2]);if(S=(h-c[r])/A,f=rn.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(S>=n.longSwipesRatio?t.slideTo(r+f):t.slideTo(r)),"prev"===t.swipeDirection&&(S>1-n.longSwipesRatio?t.slideTo(r+f):t.slideTo(r))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(d.target===t.navigation.nextEl||d.target===t.navigation.prevEl)?d.target===t.navigation.nextEl?t.slideTo(r+f):t.slideTo(r):("next"===t.swipeDirection&&t.slideTo(r+f),"prev"===t.swipeDirection&&t.slideTo(r))}}}function g(){if(e=this.params,t=this.el,!t||0!==t.offsetWidth){e.breakpoints&&this.setBreakpoint();var e,t,n=this.allowSlideNext,s=this.allowSlidePrev,o=this.snapGrid;this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),this.updateSlidesClasses(),("auto"===e.slidesPerView||e.slidesPerView>1)&&this.isEnd&&!this.isBeginning&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0),this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=s,this.allowSlideNext=n,this.params.watchOverflow&&o!==this.snapGrid&&this.checkOverflow()}}function H(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function P(){var t,e=this.wrapperEl,n=this.rtlTranslate;this.previousTranslate=this.translate,this.isHorizontal()?this.translate=n?e.scrollWidth-e.offsetWidth-e.scrollLeft:-e.scrollLeft:this.translate=-e.scrollTop,-0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses(),t=this.maxTranslate()-this.minTranslate(),(0===t?0:(this.translate-this.minTranslate())/t)!==this.progress&&this.updateProgress(n?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}b=!1;function I(){}var N={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,nested:!1,width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1},_={modular:{useParams:function(e){var n=this;n.modules&&Object.keys(n.modules).forEach(function(s){var o=n.modules[s];o.params&&t(e,o.params)})},useModules:function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach(function(n){var s=t.modules[n],o=e[n]||{};s.on&&t.on&&Object.keys(s.on).forEach(function(e){t.on(e,s.on[e])}),s.create&&s.create.bind(t)(o)})}},eventsEmitter:{on:function(e,t,n){var o,s=this;return"function"!=typeof t?s:(o=n?"unshift":"push",e.split(" ").forEach(function(e){s.eventsListeners[e]||(s.eventsListeners[e]=[]),s.eventsListeners[e][o](t)}),s)},once:function(e,t,n){var o=this;if("function"!=typeof t)return o;function s(){o.off(e,s),s.__emitterProxy&&delete s.__emitterProxy;for(var i=arguments.length,a=new Array(i),n=0;n=0&&this.eventsAnyListeners.splice(t,1),this},off:function(e,t){var n=this;return n.eventsListeners?(e.split(" ").forEach(function(e){void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach(function(s,o){(s===t||s.__emitterProxy&&s.__emitterProxy===t)&&n.eventsListeners[e].splice(o,1)})}),n):n},emit:function(){if(e=this,!e.eventsListeners)return e;for(var e,n,s,o,r,a=arguments.length,t=new Array(a),i=0;i=0&&(l=parseFloat(l.replace("%",""))/100*u),this.virtualSize=-l,F?c.css({marginLeft:"",marginTop:""}):c.css({marginRight:"",marginBottom:""}),e.slidesPerColumn>1&&(y=Math.floor(h/e.slidesPerColumn)===h/this.params.slidesPerColumn?h:Math.ceil(h/e.slidesPerColumn)*e.slidesPerColumn,"auto"!==e.slidesPerView&&"row"===e.slidesPerColumnFill&&(y=Math.max(y,e.slidesPerView*e.slidesPerColumn)));for(var b,f=e.slidesPerColumn,$=y/f,Y=Math.floor(h/e.slidesPerColumn),a=0;a1){var p=void 0,g=void 0,m=void 0;if("row"===e.slidesPerColumnFill&&e.slidesPerGroup>1){var M=Math.floor(a/(e.slidesPerGroup*e.slidesPerColumn)),Q=a-e.slidesPerColumn*e.slidesPerGroup*M,X=0===M?e.slidesPerGroup:Math.min(Math.ceil((h-M*f*e.slidesPerGroup)/f),e.slidesPerGroup);p=(g=Q-(m=Math.floor(Q/X))*X+M*e.slidesPerGroup)+m*y/f,r.css({"-webkit-box-ordinal-group":p,"-moz-box-ordinal-group":p,"-ms-flex-order":p,"-webkit-order":p,order:p})}else"column"===e.slidesPerColumnFill?(m=a-(g=Math.floor(a/f))*f,(g>Y||g===Y&&m===f-1)&&(m+=1)>=f&&(m=0,g+=1)):g=a-(m=Math.floor(a/$))*$;r.css("margin-"+(this.isHorizontal()?"top":"left"),0!==m&&e.spaceBetween&&e.spaceBetween+"px")}if("none"!==r.css("display")){if("auto"===e.slidesPerView){var d=ce.getComputedStyle(r[0],null),H=r[0].style.transform,I=r[0].style.webkitTransform;if(H&&(r[0].style.transform="none"),I&&(r[0].style.webkitTransform="none"),e.roundLengths)o=this.isHorizontal()?r.outerWidth(!0):r.outerHeight(!0);else if(this.isHorizontal()){var q=parseFloat(d.getPropertyValue("width")||0),ae=parseFloat(d.getPropertyValue("padding-left")||0),ie=parseFloat(d.getPropertyValue("padding-right")||0),W=parseFloat(d.getPropertyValue("margin-left")||0),U=parseFloat(d.getPropertyValue("margin-right")||0),K=d.getPropertyValue("box-sizing");K&&"border-box"===K?o=q+W+U:(T=r[0],V=T.clientWidth,o=q+ae+ie+W+U+(T.offsetWidth-V))}else{var G=parseFloat(d.getPropertyValue("height")||0),oe=parseFloat(d.getPropertyValue("padding-top")||0),se=parseFloat(d.getPropertyValue("padding-bottom")||0),Z=parseFloat(d.getPropertyValue("margin-top")||0),J=parseFloat(d.getPropertyValue("margin-bottom")||0),ee=d.getPropertyValue("box-sizing");ee&&"border-box"===ee?o=G+Z+J:(z=r[0],B=z.clientHeight,o=G+oe+se+Z+J+(z.offsetHeight-B))}H&&(r[0].style.transform=H),I&&(r[0].style.webkitTransform=I),e.roundLengths&&(o=Math.floor(o))}else o=(u-(e.slidesPerView-1)*l)/e.slidesPerView,e.roundLengths&&(o=Math.floor(o)),c[a]&&(this.isHorizontal()?c[a].style.width=o+"px":c[a].style.height=o+"px");c[a]&&(c[a].swiperSlideSize=o),C.push(o),e.centeredSlides?(i=i+o/2+P/2+l,0===P&&0!==a&&(i=i-u/2-l),0===a&&(i=i-u/2-l),Math.abs(i)<.001&&(i=0),e.roundLengths&&(i=Math.floor(i)),E%e.slidesPerGroup==0&&s.push(i),v.push(i)):(e.roundLengths&&(i=Math.floor(i)),(E-Math.min(this.params.slidesPerGroupSkip,E))%this.params.slidesPerGroup==0&&s.push(i),v.push(i),i=i+o+l),this.virtualSize+=o+l,P=o,E+=1}}if(this.virtualSize=Math.max(this.virtualSize,u)+_,F&&re&&("slide"===e.effect||"coverflow"===e.effect)&&j.css({width:this.virtualSize+e.spaceBetween+"px"}),e.setWrapperSize&&(this.isHorizontal()?j.css({width:this.virtualSize+e.spaceBetween+"px"}):j.css({height:this.virtualSize+e.spaceBetween+"px"})),e.slidesPerColumn>1&&(this.virtualSize=(o+e.spaceBetween)*y,this.virtualSize=Math.ceil(this.virtualSize/e.slidesPerColumn)-e.spaceBetween,this.isHorizontal()?j.css({width:this.virtualSize+e.spaceBetween+"px"}):j.css({height:this.virtualSize+e.spaceBetween+"px"}),e.centeredSlides)){b=[];for(w=0;w1&&s.push(this.virtualSize-u)}(0===s.length&&(s=[0]),0!==e.spaceBetween&&(this.isHorizontal()?F?c.filter(N).css({marginLeft:l+"px"}):c.filter(N).css({marginRight:l+"px"}):c.filter(N).css({marginBottom:l+"px"})),e.centeredSlides&&e.centeredSlidesBounds)&&(D=0,C.forEach(function(t){D+=t+(e.spaceBetween?e.spaceBetween:0)}),R=(D-=e.spaceBetween)-u,s=s.map(function(e){return e<0?-O:e>R?R+_:e})),e.centerInsufficientSlides&&(k=0,(C.forEach(function(t){k+=t+(e.spaceBetween?e.spaceBetween:0)}),(k-=e.spaceBetween)1)if(this.params.centeredSlides)this.visibleSlides.each(function(e){n.push(e)});else for(t=0;tthis.slides.length)break;n.push(this.slides.eq(o)[0])}else n.push(this.slides.eq(this.activeIndex)[0]);for(t=0;ts?i:s);s&&this.$wrapperEl.css("height",s+"px")},updateSlidesOffset:function(){for(var t=this.slides,e=0;e=0&&a1&&c<=this.size||a<=0&&c>=this.size)&&(this.visibleSlides.push(i),this.visibleSlidesIndexes.push(s),o.eq(s).addClass(n.slideVisibleClass))),i.progress=d?-l:l;this.visibleSlides=e(this.visibleSlides)}},updateProgress:function(e){void 0===e&&(a=this.rtlTranslate?-1:1,e=this&&this.translate&&this.translate*a||0);var a,i=this.params,r=this.maxTranslate()-this.minTranslate(),o=this.progress,n=this.isBeginning,s=this.isEnd,c=n,l=s;0===r?(o=0,n=!0,s=!0):(n=(o=(e-this.minTranslate())/r)<=0,s=o>=1),t(this,{progress:o,isBeginning:n,isEnd:s}),(i.watchSlidesProgress||i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight)&&this.updateSlidesProgress(e),n&&!c&&this.emit("reachBeginning toEdge"),s&&!l&&this.emit("reachEnd toEdge"),(c&&!n||l&&!s)&&this.emit("fromEdge"),this.emit("progress",o)},updateSlidesClasses:function(){var n,s,o,i=this.slides,e=this.params,t=this.$wrapperEl,a=this.activeIndex,r=this.realIndex,c=this.virtual&&e.virtual.enabled;i.removeClass(e.slideActiveClass+" "+e.slideNextClass+" "+e.slidePrevClass+" "+e.slideDuplicateActiveClass+" "+e.slideDuplicateNextClass+" "+e.slideDuplicatePrevClass),(o=c?this.$wrapperEl.find("."+e.slideClass+'[data-swiper-slide-index="'+a+'"]'):i.eq(a)).addClass(e.slideActiveClass),e.loop&&(o.hasClass(e.slideDuplicateClass)?t.children("."+e.slideClass+":not(."+e.slideDuplicateClass+')[data-swiper-slide-index="'+r+'"]').addClass(e.slideDuplicateActiveClass):t.children("."+e.slideClass+"."+e.slideDuplicateClass+'[data-swiper-slide-index="'+r+'"]').addClass(e.slideDuplicateActiveClass)),n=o.nextAll("."+e.slideClass).eq(0).addClass(e.slideNextClass),e.loop&&0===n.length&&(n=i.eq(0)).addClass(e.slideNextClass),s=o.prevAll("."+e.slideClass).eq(0).addClass(e.slidePrevClass),e.loop&&0===s.length&&(s=i.eq(-1)).addClass(e.slidePrevClass),e.loop&&(n.hasClass(e.slideDuplicateClass)?t.children("."+e.slideClass+":not(."+e.slideDuplicateClass+')[data-swiper-slide-index="'+n.attr("data-swiper-slide-index")+'"]').addClass(e.slideDuplicateNextClass):t.children("."+e.slideClass+"."+e.slideDuplicateClass+'[data-swiper-slide-index="'+n.attr("data-swiper-slide-index")+'"]').addClass(e.slideDuplicateNextClass),s.hasClass(e.slideDuplicateClass)?t.children("."+e.slideClass+":not(."+e.slideDuplicateClass+')[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]').addClass(e.slideDuplicatePrevClass):t.children("."+e.slideClass+"."+e.slideDuplicateClass+'[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]').addClass(e.slideDuplicatePrevClass)),this.emitSlidesClasses()},updateActiveIndex:function(e){var n,i,l,d,a=this.rtlTranslate?this.translate:-this.translate,o=this.slidesGrid,r=this.snapGrid,c=this.params,u=this.activeIndex,h=this.realIndex,m=this.snapIndex,s=e;if(void 0===s){for(n=0;n=o[n]&&a=o[n]&&a=o[n]&&(s=n);c.normalizeSlideIndex&&(s<0||void 0===s)&&(s=0)}r.indexOf(a)>=0?i=r.indexOf(a):(l=Math.min(c.slidesPerGroupSkip,s),i=l+Math.floor((s-l)/c.slidesPerGroup)),i>=r.length&&(i=r.length-1),s!==u?(d=parseInt(this.slides.eq(s).attr("data-swiper-slide-index")||s,10),t(this,{snapIndex:i,realIndex:d,previousIndex:u,activeIndex:s}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),h!==d&&this.emit("realIndexChange"),(this.initialized||this.params.runCallbacksOnInit)&&this.emit("slideChange")):i!==m&&(this.snapIndex=i,this.emit("snapIndexChange"))},updateClickedSlide:function(t){var s,o=this.params,n=e(t.target).closest("."+o.slideClass)[0],i=!1;if(n)for(s=0;sl?l:s&&eo?"next":so?"next":s=p.length&&(m=p.length-1),(h||c.initialSlide||0)===(_||0)&&n&&o.emit("beforeSlideChangeStart"),a=-p[m],o.updateProgress(a),c.normalizeSlideIndex)for(u=0;u=Math.floor(100*y[u])&&(i=u);if(o.initialized&&i!==h){if(!o.allowSlideNext&&ao.translate&&a>o.maxTranslate()&&(h||0)!==i)return!1}return r=i>h?"next":i=e&&(s=e)}),void 0!==s&&(a=u.indexOf(s))<0&&(a=this.activeIndex-1),this.slideTo(a,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,s){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===s&&(s=.5);var r,c,o=this.activeIndex,l=Math.min(this.params.slidesPerGroupSkip,o),i=l+Math.floor((o-l)/this.params.slidesPerGroup),a=this.rtlTranslate?this.translate:-this.translate;return a>=this.snapGrid[i]?(r=this.snapGrid[i],a-r>(this.snapGrid[i+1]-r)*s&&(o+=this.params.slidesPerGroup)):(c=this.snapGrid[i-1],a-c<=(this.snapGrid[i]-c)*s&&(o-=this.params.slidesPerGroup)),o=Math.max(o,0),o=Math.min(o,this.slidesGrid.length-1),this.slideTo(o,e,t,n)},slideToClickedSlide:function(){var o,t=this,s=t.params,a=t.$wrapperEl,i="auto"===s.slidesPerView?t.slidesPerViewDynamic():s.slidesPerView,n=t.clickedIndex;if(s.loop){if(t.animating)return;o=parseInt(e(t.clickedSlide).attr("data-swiper-slide-index"),10),s.centeredSlides?nt.slides.length-t.loopedSlides+i/2?(t.loopFix(),n=a.children("."+s.slideClass+'[data-swiper-slide-index="'+o+'"]:not(.'+s.slideDuplicateClass+")").eq(0).index(),l(function(){t.slideTo(n)})):t.slideTo(n):n>t.slides.length-i?(t.loopFix(),n=a.children("."+s.slideClass+'[data-swiper-slide-index="'+o+'"]:not(.'+s.slideDuplicateClass+")").eq(0).index(),l(function(){t.slideTo(n)})):t.slideTo(n)}else t.slideTo(n)}},loop:{loopCreate:function(){var n,a,r,c,l,d,u,h,s=this,m=o(),t=s.params,i=s.$wrapperEl;if(i.children("."+t.slideClass+"."+t.slideDuplicateClass).remove(),n=i.children("."+t.slideClass),t.loopFillGroupWithBlank&&(d=t.slidesPerGroup-n.length%t.slidesPerGroup,d!==t.slidesPerGroup)){for(u=0;un.length&&(s.loopedSlides=n.length),a=[],r=[],n.each(function(t,o){var i=e(t);o=n.length-s.loopedSlides&&a.push(t),i.attr("data-swiper-slide-index",o)});for(c=0;c=0;l-=1)i.prepend(e(a[l].cloneNode(!0)).addClass(t.slideDuplicateClass))},loopFix:function(){this.emit("beforeLoopFix");var e,s,n=this.activeIndex,o=this.slides,t=this.loopedSlides,a=this.allowSlidePrev,r=this.allowSlideNext,c=this.snapGrid,i=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0,s=-c[n]-this.getTranslate(),n=o.length-t&&(e=-o.length+n+t,e+=t,this.slideTo(e,0,!1,!0)&&0!==s&&this.setTranslate((i?-this.translate:this.translate)-s)),this.allowSlidePrev=a,this.allowSlideNext=r,this.emit("loopFix")},loopDestroy:function(){var t=this.$wrapperEl,e=this.params,n=this.slides;t.children("."+e.slideClass+"."+e.slideDuplicateClass+",."+e.slideClass+"."+e.slideBlankClass).remove(),n.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){if(!(this.support.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){this.support.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this.el.style.cursor="")}},manipulation:{appendSlide:function(e){var t,s=this.$wrapperEl,n=this.params;if(n.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(t=0;t=r)this.appendSlide(t);else{for(var c=n>e?n+1:n,l=[],d=r-1;d>=e;d-=1)u=this.slides.eq(d),u.remove(),l.unshift(u);if("object"==typeof t&&"length"in t){for(o=0;oe?n+t.length:n}else i.append(t);for(a=0;a1,u=n.slidesPerColumn>1;d&&!u?(a.removeClass(e.containerModifierClass+"multirow "+e.containerModifierClass+"multirow-column"),this.emitContainerClasses()):!d&&u&&(a.addClass(e.containerModifierClass+"multirow"),"column"===n.slidesPerColumnFill&&a.addClass(e.containerModifierClass+"multirow-column"),this.emitContainerClasses()),r=n.direction&&n.direction!==e.direction,h=e.loop&&(n.slidesPerView!==e.slidesPerView||r),r&&l&&this.changeDirection(),t(this.params,n),t(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=o,this.emit("_beforeBreakpoint",n),h&&l&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(f-m+this.loopedSlides,0,!1)),this.emit("breakpoint",n)}},getBreakpoint:function(e){if(s=n(),e){var t,s,i,r,a=!1,o=Object.keys(e).map(function(e){if("string"==typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:s.innerHeight*t,point:e}}return{value:e,point:e}});o.sort(function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)});for(t=0;t0&&e.slidesOffsetBefore+e.spaceBetween*(this.slides.length-1)+this.slides[0].offsetWidth*this.slides.length;e.slidesOffsetBefore&&e.slidesOffsetAfter&&n?this.isLocked=n<=this.size:this.isLocked=1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,t!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),t&&t!==this.isLocked&&(this.isEnd=!1,this.navigation&&this.navigation.update())}},classes:{addClasses:function(){var n=this.classNames,t=this.params,o=this.rtl,i=this.$el,s=this.device,e=[];e.push("initialized"),e.push(t.direction),t.freeMode&&e.push("free-mode"),t.autoHeight&&e.push("autoheight"),o&&e.push("rtl"),t.slidesPerColumn>1&&(e.push("multirow"),"column"===t.slidesPerColumnFill&&e.push("multirow-column")),s.android&&e.push("android"),s.ios&&e.push("ios"),t.cssMode&&e.push("css-mode"),e.forEach(function(e){n.push(t.containerModifierClass+e)}),i.addClass(n.join(" ")),this.emitContainerClasses()},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" ")),this.emitContainerClasses()}},images:{loadImage:function(t,s,o,i,a,r){var c,d=n();function l(){r&&r()}e(t).parent("picture")[0]||t.complete&&a?l():s?((c=new d.Image).onload=l,c.onerror=l,i&&(c.sizes=i),o&&(c.srcset=o),s&&(c.src=s)):l()},preloadImages:function(){var t,n,e=this;function s(){e!=null&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(n=0;n1?(f=[],r.each(function(e){var s=t({},o,{el:e});f.push(new n(s))}),f):(i.swiper=s,i&&i.shadowRoot&&i.shadowRoot.querySelector?(l=e(i.shadowRoot.querySelector("."+s.params.wrapperClass))).children=function(e){return r.children(e)}:l=r.children("."+s.params.wrapperClass),t(s,{$el:r,el:i,$wrapperEl:l,wrapperEl:l[0],classNames:[],slides:e(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===s.params.direction},isVertical:function(){return"vertical"===s.params.direction},rtl:"rtl"===i.dir.toLowerCase()||"rtl"===r.css("direction"),rtlTranslate:"horizontal"===s.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===r.css("direction")),wrongRTL:"-webkit-box"===l.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEvents:(d=["touchstart","touchmove","touchend","touchcancel"],u=["mousedown","mousemove","mouseup"],s.support.pointerEvents&&(u=["pointerdown","pointermove","pointerup"]),s.touchEventsTouch={start:d[0],move:d[1],end:d[2],cancel:d[3]},s.touchEventsDesktop={start:u[0],move:u[1],end:u[2]},s.support.touch||!s.params.simulateTouch?s.touchEventsTouch:s.touchEventsDesktop),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,formElements:"input, select, option, textarea, button, video, label",lastClickTime:a(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.useModules(),s.emit("_swiper"),s.params.init&&s.init(),s)}var o,i,r,s=n.prototype;return s.emitContainerClasses=function(){var t,e=this;e.params._emitClasses&&e.el&&(t=e.el.className.split(" ").filter(function(t){return 0===t.indexOf("swiper-container")||0===t.indexOf(e.params.containerModifierClass)}),e.emit("_containerClasses",t.join(" ")))},s.getSlideClasses=function(e){var t=this;return e.className.split(" ").filter(function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)}).join(" ")},s.emitSlidesClasses=function(){var e=this;e.params._emitClasses&&e.el&&e.slides.each(function(t){var n=e.getSlideClasses(t);e.emit("_slideClass",t,n)})},s.slidesPerViewDynamic=function(){var n,s,i,a,c,d=this.params,e=this.slides,l=this.slidesGrid,r=this.size,t=this.activeIndex,o=1;if(d.centeredSlides){for(c=e[t].swiperSlideSize,n=t+1;nr&&(i=!0));for(s=t-1;s>=0;s-=1)e[s]&&!i&&(o+=1,(c+=e[s].swiperSlideSize)>r&&(i=!0))}else for(a=t+1;a1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||n(),t.watchOverflow&&s!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function n(){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()}},s.changeDirection=function(e,t){void 0===t&&(t=!0);var n=this.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(this.$el.removeClass(""+this.params.containerModifierClass+n).addClass(""+this.params.containerModifierClass+e),this.emitContainerClasses(),this.params.direction=e,this.slides.each(function(t){"vertical"===e?t.style.width="":t.style.height=""}),this.emit("changeDirection"),t&&this.update()),this},s.init=function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit("init"),this.emit("afterInit"))},s.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var o,n=this,s=n.params,a=n.$el,r=n.$wrapperEl,i=n.slides;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),s.loop&&n.loopDestroy(),t&&(n.removeClasses(),a.removeAttr("style"),r.removeAttr("style"),i&&i.length&&i.removeClass([s.slideVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(function(e){n.off(e)}),!1!==e&&(n.$el[0].swiper=null,o=n,Object.keys(o).forEach(function(e){try{o[e]=null}catch{}try{delete o[e]}catch{}})),n.destroyed=!0),null},n.extendDefaults=function(e){t(x,e)},n.installModule=function(e){n.prototype.modules||(n.prototype.modules={});var t=e.name||Object.keys(n.prototype.modules).length+"_"+a();n.prototype.modules[t]=e},n.use=function(e){return Array.isArray(e)?(e.forEach(function(e){return n.installModule(e)}),n):(n.installModule(e),n)},o=n,i=[{key:"extendedDefaults",get:function(){return x}},{key:"defaults",get:function(){return N}}],(r=null)&&T(o.prototype,r),i&&T(o,i),n}();Object.keys(_).forEach(function(e){Object.keys(_[e]).forEach(function(t){m.prototype[t]=_[e][t]})}),m.use([G,R]);var c,f,v,b,j,y,E,S,U={update:function(e){var s,a,d,p,v,b,j,y,n=this,f=n.params,g=f.slidesPerView,h=f.slidesPerGroup,A=f.centeredSlides,C=n.params.virtual,_=C.addSlidesBefore,x=C.addSlidesAfter,i=n.virtual,m=i.from,u=i.to,c=i.slides,k=i.slidesGrid,w=i.renderSlide,E=i.offset;n.updateActiveIndex(),y=n.activeIndex||0,v=n.rtlTranslate?"right":n.isHorizontal()?"left":"top",A?(b=Math.floor(g/2)+h+x,j=Math.floor(g/2)+h+_):(b=g+(h-1)+x,j=h+_);var o=Math.max((y||0)-j,0),r=Math.min((y||0)+b,c.length-1),l=(n.slidesGrid[o]||0)-(n.slidesGrid[0]||0);function O(){n.updateSlides(),n.updateProgress(),n.updateSlidesClasses(),n.lazy&&n.params.lazy.enabled&&n.lazy.load()}if(t(n.virtual,{from:o,to:r,offset:l,slidesGrid:n.slidesGrid}),m===o&&u===r&&!e)return n.slidesGrid!==k&&l!==E&&n.slides.css(v,l+"px"),void n.updateProgress();if(n.params.virtual.renderExternal)return n.params.virtual.renderExternal.call(n,{offset:l,from:o,to:r,slides:function(){for(var t=[],e=o;e<=r;e+=1)t.push(c[e]);return t}()}),void(n.params.virtual.renderExternalUpdate&&O());if(p=[],d=[],e)n.$wrapperEl.find("."+n.params.slideClass).remove();else for(a=m;a<=u;a+=1)(ar)&&n.$wrapperEl.find("."+n.params.slideClass+'[data-swiper-slide-index="'+a+'"]').remove();for(s=0;s=o&&s<=r&&(void 0===u||e?d.push(s):(s>u&&d.push(s),s'+t+""),s.attr("data-swiper-slide-index")||s.attr("data-swiper-slide-index",n),o.cache&&(this.virtual.cache[n]=s),s)},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;t=0;n-=1)this.virtual.slides.splice(e[n],1),this.params.virtual.cache&&delete this.virtual.cache[e[n]],e[n]0&&0===this.$el.parents("."+this.params.slideActiveClass).length)return;var y=j.innerWidth,_=j.innerHeight,s=this.$el.offset();d&&(s.left-=this.$el[0].scrollLeft);for(v=[[s.left,s.top],[s.left+this.width,s.top],[s.left,s.top+this.height],[s.left+this.width,s.top+this.height]],p=0;p=0&&u[0]<=y&&u[1]>=0&&u[1]<=_&&(g=!0);if(!g)return}this.isHorizontal()?((i||a||c||l)&&(t.preventDefault?t.preventDefault():t.returnValue=!1),((a||l)&&!d||(i||c)&&d)&&this.slideNext(),((i||c)&&!d||(a||l)&&d)&&this.slidePrev()):((i||a||m||f)&&(t.preventDefault?t.preventDefault():t.returnValue=!1),(a||f)&&this.slideNext(),(i||m)&&this.slidePrev()),this.emit("keyPress",r)}},enable:function(){var t=o();this.keyboard.enabled||(e(t).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){var t=o();this.keyboard.enabled&&(e(t).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},Y={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create:function(){i(this,{keyboard:s({enabled:!1},q)})},on:{init:function(e){e.params.keyboard.enabled&&e.keyboard.enable()},destroy:function(e){e.keyboard.enabled&&e.keyboard.disable()}}},r={lastScrollTime:a(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return n().navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var n,e=o(),t="onwheel"in e;return t||(n=e.createElement("div"),n.setAttribute("onwheel","return;"),t="function"==typeof n.onwheel),!t&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")&&(t=e.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel"},normalize:function(e){var o=0,s=0,t=0,n=0;return"detail"in e&&(s=e.detail),"wheelDelta"in e&&(s=-e.wheelDelta/120),"wheelDeltaY"in e&&(s=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(o=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(o=s,s=0),t=10*o,n=10*s,"deltaY"in e&&(n=e.deltaY),"deltaX"in e&&(t=e.deltaX),e.shiftKey&&!t&&(t=n,n=0),(t||n)&&e.deltaMode&&(1===e.deltaMode?(t*=40,n*=40):(t*=800,n*=800)),t&&!o&&(o=t<1?-1:1),n&&!s&&(s=n<1?-1:1),{spinX:o,spinY:s,pixelX:t,pixelY:n}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(t){var s,u,h,f,v,b,j,y,d=t,n=this,g=n.params.mousewheel;if(n.params.cssMode&&d.preventDefault(),j=n.$el,"container"!==n.params.mousewheel.eventsTarget&&(j=e(n.params.mousewheel.eventsTarget)),!n.mouseEntered&&!j[0].contains(d.target)&&!g.releaseOnEdges)return!0;d.originalEvent&&(d=d.originalEvent);var o=0,w=n.rtlTranslate?-1:1,c=r.normalize(d);if(g.forceToAxis)if(n.isHorizontal()){if(!(Math.abs(c.pixelX)>Math.abs(c.pixelY)))return!0;o=-c.pixelX*w}else{if(!(Math.abs(c.pixelY)>Math.abs(c.pixelX)))return!0;o=-c.pixelY}else o=Math.abs(c.pixelX)>Math.abs(c.pixelY)?-c.pixelX*w:-c.pixelY;if(0===o)return!0;if(g.invert&&(o=-o),n.params.freeMode){{var i={time:a(),delta:Math.abs(o),direction:Math.sign(o)},p=n.mousewheel.lastEventBeforeSnap,_=p&&i.time=n.minTranslate()&&(m=n.minTranslate()),m<=n.maxTranslate()&&(m=n.maxTranslate()),n.setTransition(0),n.setTranslate(m),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!x&&n.isBeginning||!O&&n.isEnd)&&n.updateSlidesClasses(),n.params.freeModeSticky)&&(clearTimeout(n.mousewheel.timeout),n.mousewheel.timeout=void 0,s=n.mousewheel.recentWheelEvents,s.length>=15&&s.shift(),v=s.length?s[s.length-1]:void 0,b=s[0],s.push(i),v&&(i.delta>v.delta||i.direction!==v.direction)?s.splice(0):s.length>=15&&i.time-b.time<500&&b.delta-i.delta>=1&&i.delta<=6&&(y=o>0?.8:.2,n.mousewheel.lastEventBeforeSnap=i,s.splice(0),n.mousewheel.timeout=l(function(){n.slideToClosest(n.params.speed,!0,void 0,y)},0)),n.mousewheel.timeout||(n.mousewheel.timeout=l(function(){n.mousewheel.lastEventBeforeSnap=i,s.splice(0),n.slideToClosest(n.params.speed,!0,void 0,.5)},500))),_||n.emit("scroll",d),n.params.autoplay&&n.params.autoplayDisableOnInteraction&&n.autoplay.stop(),m===n.minTranslate()||m===n.maxTranslate())return!0}}}else if(u={time:a(),delta:Math.abs(o),direction:Math.sign(o),raw:t},h=n.mousewheel.recentWheelEvents,h.length>=2&&h.shift(),f=h.length?h[h.length-1]:void 0,h.push(u),f?(u.direction!==f.direction||u.delta>f.delta||u.time>f.time+150)&&n.mousewheel.animateSlider(u):n.mousewheel.animateSlider(u),n.mousewheel.releaseScroll(u))return!0;return d.preventDefault?d.preventDefault():d.returnValue=!1,!1},animateSlider:function(e){var t=n();return!(this.params.mousewheel.thresholdDelta&&e.delta=6&&a()-this.mousewheel.lastScrollTime<60||(e.direction<0?this.isEnd&&!this.params.loop||this.animating||(this.slideNext(),this.emit("scroll",e.raw)):this.isBeginning&&!this.params.loop||this.animating||(this.slidePrev(),this.emit("scroll",e.raw)),this.mousewheel.lastScrollTime=(new t.Date).getTime(),!1))},releaseScroll:function(e){var t=this.params.mousewheel;if(e.direction<0){if(this.isEnd&&!this.params.loop&&t.releaseOnEdges)return!0}else if(this.isBeginning&&!this.params.loop&&t.releaseOnEdges)return!0;return!1},enable:function(){var t,n=r.event();return this.params.cssMode?(this.wrapperEl.removeEventListener(n,this.mousewheel.handle),!0):!!n&&!this.mousewheel.enabled&&(t=this.$el,"container"!==this.params.mousewheel.eventsTarget&&(t=e(this.params.mousewheel.eventsTarget)),t.on("mouseenter",this.mousewheel.handleMouseEnter),t.on("mouseleave",this.mousewheel.handleMouseLeave),t.on(n,this.mousewheel.handle),this.mousewheel.enabled=!0,!0)},disable:function(){var n,t=r.event();return this.params.cssMode?(this.wrapperEl.addEventListener(t,this.mousewheel.handle),!0):!!t&&!!this.mousewheel.enabled&&(n=this.$el,"container"!==this.params.mousewheel.eventsTarget&&(n=e(this.params.mousewheel.eventsTarget)),n.off(t,this.mousewheel.handle),this.mousewheel.enabled=!1,!0)}},X={update:function(){if(e=this.params.navigation,!this.params.loop){var e,s=this.navigation,t=s.$nextEl,n=s.$prevEl;n&&n.length>0&&(this.isBeginning?n.addClass(e.disabledClass):n.removeClass(e.disabledClass),n[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass)),t&&t.length>0&&(this.isEnd?t.addClass(e.disabledClass):t.removeClass(e.disabledClass),t[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass))}},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var s,o,n=this.params.navigation;(n.nextEl||n.prevEl)&&(n.nextEl&&(s=e(n.nextEl),this.params.uniqueNavElements&&"string"==typeof n.nextEl&&s.length>1&&1===this.$el.find(n.nextEl).length&&(s=this.$el.find(n.nextEl))),n.prevEl&&(o=e(n.prevEl),this.params.uniqueNavElements&&"string"==typeof n.prevEl&&o.length>1&&1===this.$el.find(n.prevEl).length&&(o=this.$el.find(n.prevEl))),s&&s.length>0&&s.on("click",this.navigation.onNextClick),o&&o.length>0&&o.on("click",this.navigation.onPrevClick),t(this.navigation,{$nextEl:s,nextEl:s&&s[0],$prevEl:o,prevEl:o&&o[0]}))},destroy:function(){var n=this.navigation,e=n.$nextEl,t=n.$prevEl;e&&e.length&&(e.off("click",this.navigation.onNextClick),e.removeClass(this.params.navigation.disabledClass)),t&&t.length&&(t.off("click",this.navigation.onPrevClick),t.removeClass(this.params.navigation.disabledClass))}},Q={update:function(){if(g=this.rtl,t=this.params.pagination,t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t,n,s,i,r,c,u,h,p,g,d=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,o=this.pagination.$el,a=this.params.loop?Math.ceil((d-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((s=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>d-1-2*this.loopedSlides&&(s-=d-2*this.loopedSlides),s>a-1&&(s-=a),s<0&&"bullets"!==this.params.paginationType&&(s=a+s)):s=void 0!==this.snapIndex?this.snapIndex:this.activeIndex||0,"bullets"===t.type&&this.pagination.bullets&&this.pagination.bullets.length>0){if(n=this.pagination.bullets,t.dynamicBullets&&(this.pagination.bulletSize=n.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),o.css(this.isHorizontal()?"width":"height",this.pagination.bulletSize*(t.dynamicMainBullets+4)+"px"),t.dynamicMainBullets>1&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex+=s-this.previousIndex,this.pagination.dynamicBulletIndex>t.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=t.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),i=s-this.pagination.dynamicBulletIndex,p=((r=i+(Math.min(n.length,t.dynamicMainBullets)-1))+i)/2),n.removeClass(t.bulletActiveClass+" "+t.bulletActiveClass+"-next "+t.bulletActiveClass+"-next-next "+t.bulletActiveClass+"-prev "+t.bulletActiveClass+"-prev-prev "+t.bulletActiveClass+"-main"),o.length>1)n.each(function(n){var o=e(n),a=o.index();a===s&&o.addClass(t.bulletActiveClass),t.dynamicBullets&&(a>=i&&a<=r&&o.addClass(t.bulletActiveClass+"-main"),a===i&&o.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),a===r&&o.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next"))});else if(u=n.eq(s),h=u.index(),u.addClass(t.bulletActiveClass),t.dynamicBullets){for(var m=n.eq(i),f=n.eq(r),l=i;l<=r;l+=1)n.eq(l).addClass(t.bulletActiveClass+"-main");if(this.params.loop)if(h>=n.length-t.dynamicMainBullets){for(c=t.dynamicMainBullets;c>=0;c-=1)n.eq(n.length-c).addClass(t.bulletActiveClass+"-main");n.eq(n.length-t.dynamicMainBullets-1).addClass(t.bulletActiveClass+"-prev")}else m.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),f.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next");else m.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),f.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next")}if(t.dynamicBullets){var y=Math.min(n.length,t.dynamicMainBullets+4),_=(this.pagination.bulletSize*y-this.pagination.bulletSize)/2-p*this.pagination.bulletSize,w=g?"right":"left";n.css(this.isHorizontal()?w:"top",_+"px")}}if("fraction"===t.type&&(o.find("."+t.currentClass).text(t.formatFractionCurrent(s+1)),o.find("."+t.totalClass).text(t.formatFractionTotal(a))),"progressbar"===t.type){var O=t.progressbarOpposite?this.isHorizontal()?"vertical":"horizontal":this.isHorizontal()?"horizontal":"vertical",v=(s+1)/a,b=1,j=1;"horizontal"===O?b=v:j=v,o.find("."+t.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+b+") scaleY("+j+")").transition(this.params.speed)}"custom"===t.type&&t.renderCustom?(o.html(t.renderCustom(this,s+1,a)),this.emit("paginationRender",o[0])):this.emit("paginationUpdate",o[0]),o[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](t.lockClass)}},render:function(){if(e=this.params.pagination,e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var e,s,o,i=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,n=this.pagination.$el,t="";if("bullets"===e.type){for(o=this.params.loop?Math.ceil((i-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length,s=0;s'+e.bulletElement+">";n.html(t),this.pagination.bullets=n.find("."+e.bulletClass)}"fraction"===e.type&&(t=e.renderFraction?e.renderFraction.call(this,e.currentClass,e.totalClass):' / ',n.html(t)),"progressbar"===e.type&&(t=e.renderProgressbar?e.renderProgressbar.call(this,e.progressbarFillClass):'',n.html(t)),"custom"!==e.type&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var s,o=this,n=o.params.pagination;n.el&&(s=e(n.el),0!==s.length&&(o.params.uniqueNavElements&&"string"==typeof n.el&&s.length>1&&(s=o.$el.find(n.el)),"bullets"===n.type&&n.clickable&&s.addClass(n.clickableClass),s.addClass(n.modifierClass+n.type),"bullets"===n.type&&n.dynamicBullets&&(s.addClass(""+n.modifierClass+n.type+"-dynamic"),o.pagination.dynamicBulletIndex=0,n.dynamicMainBullets<1&&(n.dynamicMainBullets=1)),"progressbar"===n.type&&n.progressbarOpposite&&s.addClass(n.progressbarOppositeClass),n.clickable&&s.on("click","."+n.bulletClass,function(t){t.preventDefault();var n=e(this).index()*o.params.slidesPerGroup;o.params.loop&&(n+=o.loopedSlides),o.slideTo(n)}),t(o.pagination,{$el:s,el:s[0]})))},destroy:function(){var t,e=this.params.pagination;e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length&&(t=this.pagination.$el,t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click","."+e.bulletClass))}},Z={setTranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var o=this.scrollbar,r=this.rtlTranslate,c=this.progress,t=o.dragSize,s=o.trackSize,i=o.$dragEl,a=o.$el,l=this.params.scrollbar,n=t,e=(s-t)*c;r?(e=-e)>0?(n=t-e,e=0):-e+t>s&&(n=s+e):e<0?(n=t+e,e=0):e+t>s&&(n=s-e),this.isHorizontal()?(i.transform("translate3d("+e+"px, 0, 0)"),i[0].style.width=n+"px"):(i.transform("translate3d(0px, "+e+"px, 0)"),i[0].style.height=n+"px"),l.hide&&(clearTimeout(this.scrollbar.timeout),a[0].style.opacity=1,this.scrollbar.timeout=setTimeout(function(){a[0].style.opacity=0,a.transition(400)},1e3))}},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,n=e.$dragEl,s=e.$el;n[0].style.width="",n[0].style.height="";var a=this.isHorizontal()?s[0].offsetWidth:s[0].offsetHeight,o=this.size/this.virtualSize,r=o*(a/this.size),i="auto"===this.params.scrollbar.dragSize?a*o:parseInt(this.params.scrollbar.dragSize,10);this.isHorizontal()?n[0].style.width=i+"px":n[0].style.height=i+"px",s[0].style.display=o>=1?"none":"",this.params.scrollbar.hide&&(s[0].style.opacity=0),t(e,{trackSize:a,divider:o,moveDivider:r,dragSize:i}),e.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY},setDragPosition:function(e){var s,n=this.scrollbar,a=this.rtlTranslate,r=n.$el,o=n.dragSize,c=n.trackSize,i=n.dragStartPos,t=(n.getPointerPosition(e)-r.offset()[this.isHorizontal()?"left":"top"]-(null!==i?i:o/2))/(c-o),t=Math.max(Math.min(t,1),0);a&&(t=1-t),s=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*t,this.updateProgress(s),this.setTranslate(s),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart:function(e){var o=this.params.scrollbar,t=this.scrollbar,i=this.$wrapperEl,s=t.$el,n=t.$dragEl;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=e.target===n[0]||e.target===n?t.getPointerPosition(e)-e.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),i.transition(100),n.transition(100),t.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),s.transition(0),o.hide&&s.css("opacity",1),this.params.cssMode&&this.$wrapperEl.css("scroll-snap-type","none"),this.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,n=this.$wrapperEl,s=t.$el,o=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),n.transition(0),s.transition(0),o.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this.params.scrollbar,s=this.scrollbar,o=this.$wrapperEl,n=s.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,this.params.cssMode&&(this.$wrapperEl.css("scroll-snap-type",""),o.transition("")),t.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=l(function(){n.css("opacity",0),n.transition(400)},1e3)),this.emit("scrollbarDragEnd",e),t.snapOnRelease&&this.slideToClosest())},enableDraggable:function(){if(this.params.scrollbar.el){var a=o(),l=this.scrollbar,n=this.touchEventsTouch,s=this.touchEventsDesktop,r=this.params,i=this.support,e=l.$el[0],t=!!i.passiveListener&&!!r.passiveListeners&&{passive:!1,capture:!1},c=!!i.passiveListener&&!!r.passiveListeners&&{passive:!0,capture:!1};i.touch?(e.addEventListener(n.start,this.scrollbar.onDragStart,t),e.addEventListener(n.move,this.scrollbar.onDragMove,t),e.addEventListener(n.end,this.scrollbar.onDragEnd,c)):(e.addEventListener(s.start,this.scrollbar.onDragStart,t),a.addEventListener(s.move,this.scrollbar.onDragMove,t),a.addEventListener(s.end,this.scrollbar.onDragEnd,c))}},disableDraggable:function(){if(this.params.scrollbar.el){var a=o(),l=this.scrollbar,n=this.touchEventsTouch,s=this.touchEventsDesktop,r=this.params,i=this.support,e=l.$el[0],t=!!i.passiveListener&&!!r.passiveListeners&&{passive:!1,capture:!1},c=!!i.passiveListener&&!!r.passiveListeners&&{passive:!0,capture:!1};i.touch?(e.removeEventListener(n.start,this.scrollbar.onDragStart,t),e.removeEventListener(n.move,this.scrollbar.onDragMove,t),e.removeEventListener(n.end,this.scrollbar.onDragEnd,c)):(e.removeEventListener(s.start,this.scrollbar.onDragStart,t),a.removeEventListener(s.move,this.scrollbar.onDragMove,t),a.removeEventListener(s.end,this.scrollbar.onDragEnd,c))}},init:function(){if(this.params.scrollbar.el){var s,i=this.scrollbar,a=this.$el,o=this.params.scrollbar,n=e(o.el);this.params.uniqueNavElements&&"string"==typeof o.el&&n.length>1&&1===a.find(o.el).length&&(n=a.find(o.el)),s=n.find("."+this.params.scrollbar.dragClass),0===s.length&&(s=e(''),n.append(s)),t(i,{$el:n,el:n[0],$dragEl:s,dragEl:s[0]}),o.draggable&&i.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},J={setTransform:function(t,n){var d,u,h=this.rtl,i=e(t),c=h?-1:1,l=i.attr("data-swiper-parallax")||"0",s=i.attr("data-swiper-parallax-x"),o=i.attr("data-swiper-parallax-y"),a=i.attr("data-swiper-parallax-scale"),r=i.attr("data-swiper-parallax-opacity");(s||o?(s=s||"0",o=o||"0"):this.isHorizontal()?(s=l,o="0"):(o=l,s="0"),s=s.indexOf("%")>=0?parseInt(s,10)*n*c+"%":s*n*c+"px",o=o.indexOf("%")>=0?parseInt(o,10)*n+"%":o*n+"px",r!=null)&&(d=r-(r-1)*(1-Math.abs(n)),i[0].style.opacity=d),a==null?i.transform("translate3d("+s+", "+o+", 0px)"):(u=a-(a-1)*(1-Math.abs(n)),i.transform("translate3d("+s+", "+o+", 0px) scale("+u+")"))},setTranslate:function(){var t=this,s=t.$el,o=t.slides,n=t.progress,i=t.snapGrid;s.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e){t.parallax.setTransform(e,n)}),o.each(function(s,o){var a=s.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(a+=Math.ceil(o/2)-n*(i.length-1)),a=Math.min(Math.max(a,-1),1),e(s).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e){t.parallax.setTransform(e,a)})})},setTransition:function(t){void 0===t&&(t=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(n){var s=e(n),o=parseInt(s.attr("data-swiper-parallax-duration"),10)||t;0===t&&(o=0),s.transition(o)})}},C={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,n=e.targetTouches[0].pageY,s=e.targetTouches[1].pageX,o=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(s-t,2)+Math.pow(o-n,2))},onGestureStart:function(t){var i=this.support,o=this.params.zoom,s=this.zoom,n=s.gesture;if(s.fakeGestureTouched=!1,s.fakeGestureMoved=!1,!i.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;s.fakeGestureTouched=!0,n.scaleStart=C.getDistanceBetweenTouches(t)}n.$slideEl&&n.$slideEl.length||(n.$slideEl=e(t.target).closest("."+this.params.slideClass),0===n.$slideEl.length&&(n.$slideEl=this.slides.eq(this.activeIndex)),n.$imageEl=n.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),n.$imageWrapEl=n.$imageEl.parent("."+o.containerClass),n.maxRatio=n.$imageWrapEl.attr("data-swiper-zoom")||o.maxRatio,0!==n.$imageWrapEl.length)?(n.$imageEl&&n.$imageEl.transition(0),this.zoom.isScaling=!0):n.$imageEl=void 0},onGestureChange:function(e){var o=this.support,s=this.params.zoom,t=this.zoom,n=t.gesture;if(!o.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;t.fakeGestureMoved=!0,n.scaleMove=C.getDistanceBetweenTouches(e)}n.$imageEl&&0!==n.$imageEl.length?(o.gestures?t.scale=e.scale*t.currentScale:t.scale=n.scaleMove/n.scaleStart*t.currentScale,t.scale>n.maxRatio&&(t.scale=n.maxRatio-1+Math.pow(t.scale-n.maxRatio+1,.5)),t.scalet.touchesStart.x))return void(t.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(t.minY)===Math.floor(t.startY)&&t.touchesCurrent.yt.touchesStart.y))return void(t.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),t.isMoved=!0,t.currentX=t.touchesCurrent.x-t.touchesStart.x+t.startX,t.currentY=t.touchesCurrent.y-t.touchesStart.y+t.startY,t.currentXt.maxX&&(t.currentX=t.maxX-1+Math.pow(t.currentX-t.maxX+1,.8)),t.currentYt.maxY&&(t.currentY=t.maxY-1+Math.pow(t.currentY-t.maxY+1,.8)),n.prevPositionX||(n.prevPositionX=t.touchesCurrent.x),n.prevPositionY||(n.prevPositionY=t.touchesCurrent.y),n.prevTime||(n.prevTime=Date.now()),n.x=(t.touchesCurrent.x-n.prevPositionX)/(Date.now()-n.prevTime)/2,n.y=(t.touchesCurrent.y-n.prevPositionY)/(Date.now()-n.prevTime)/2,Math.abs(t.touchesCurrent.x-n.prevPositionX)<2&&(n.x=0),Math.abs(t.touchesCurrent.y-n.prevPositionY)<2&&(n.y=0),n.prevPositionX=t.touchesCurrent.x,n.prevPositionY=t.touchesCurrent.y,n.prevTime=Date.now(),s.$imageWrapEl.transform("translate3d("+t.currentX+"px, "+t.currentY+"px,0)")}},onTouchEnd:function(){var n=this.zoom,s=n.gesture,e=n.image,t=n.velocity;if(s.$imageEl&&0!==s.$imageEl.length){if(!e.isTouched||!e.isMoved)return e.isTouched=!1,void(e.isMoved=!1);e.isTouched=!1,e.isMoved=!1;var c,l,d,o=300,i=300,h=t.x*o,r=e.currentX+h,u=t.y*i,a=e.currentY+u;0!==t.x&&(o=Math.abs((r-e.currentX)/t.x)),0!==t.y&&(i=Math.abs((a-e.currentY)/t.y)),c=Math.max(o,i),e.currentX=r,e.currentY=a,l=e.width*n.scale,d=e.height*n.scale,e.minX=Math.min(s.slideWidth/2-l/2,0),e.maxX=-e.minX,e.minY=Math.min(s.slideHeight/2-d/2,0),e.maxY=-e.minY,e.currentX=Math.max(Math.min(e.currentX,e.maxX),e.minX),e.currentY=Math.max(Math.min(e.currentY,e.maxY),e.minY),s.$imageWrapEl.transition(c).transform("translate3d("+e.currentX+"px, "+e.currentY+"px,0)")}},onTransitionEnd:function(){var t=this.zoom,e=t.gesture;e.$slideEl&&this.previousIndex!==this.activeIndex&&(e.$imageEl&&e.$imageEl.transform("translate3d(0,0,0) scale(1)"),e.$imageWrapEl&&e.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,e.$slideEl=void 0,e.$imageEl=void 0,e.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var s,o,a,r,l,d,u,h,m,f,p,g,v,b,j,y,n=this.zoom,i=this.params.zoom,t=n.gesture,c=n.image;t.$slideEl||(this.params.virtual&&this.params.virtual.enabled&&this.virtual?t.$slideEl=this.$wrapperEl.children("."+this.params.slideActiveClass):t.$slideEl=this.slides.eq(this.activeIndex),t.$imageEl=t.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),t.$imageWrapEl=t.$imageEl.parent("."+i.containerClass)),t.$imageEl&&0!==t.$imageEl.length&&(t.$slideEl.addClass(""+i.zoomedSlideClass),void 0===c.touchesStart.x&&e?(u="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,l="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(u=c.touchesStart.x,l=c.touchesStart.y),n.scale=t.$imageWrapEl.attr("data-swiper-zoom")||i.maxRatio,n.currentScale=t.$imageWrapEl.attr("data-swiper-zoom")||i.maxRatio,e?(d=t.$slideEl[0].offsetWidth,r=t.$slideEl[0].offsetHeight,b=t.$slideEl.offset().left+d/2-u,v=t.$slideEl.offset().top+r/2-l,g=t.$imageEl[0].offsetWidth,y=t.$imageEl[0].offsetHeight,j=g*n.scale,p=y*n.scale,m=-(a=Math.min(d/2-j/2,0)),f=-(h=Math.min(r/2-p/2,0)),(o=b*n.scale)m&&(o=m),(s=v*n.scale)f&&(s=f)):(o=0,s=0),t.$imageWrapEl.transition(300).transform("translate3d("+o+"px, "+s+"px,0)"),t.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+n.scale+")"))},out:function(){var t=this.zoom,n=this.params.zoom,e=t.gesture;e.$slideEl||(this.params.virtual&&this.params.virtual.enabled&&this.virtual?e.$slideEl=this.$wrapperEl.children("."+this.params.slideActiveClass):e.$slideEl=this.slides.eq(this.activeIndex),e.$imageEl=e.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),e.$imageWrapEl=e.$imageEl.parent("."+n.containerClass)),e.$imageEl&&0!==e.$imageEl.length&&(t.scale=1,t.currentScale=1,e.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),e.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),e.$slideEl.removeClass(""+n.zoomedSlideClass),e.$slideEl=void 0)},toggleGestures:function(e){var t=this.zoom,n=t.slideSelector,s=t.passiveListener;this.$wrapperEl[e]("gesturestart",n,t.onGestureStart,s),this.$wrapperEl[e]("gesturechange",n,t.onGestureChange,s),this.$wrapperEl[e]("gestureend",n,t.onGestureEnd,s)},enableGestures:function(){this.zoom.gesturesEnabled||(this.zoom.gesturesEnabled=!0,this.zoom.toggleGestures("on"))},disableGestures:function(){this.zoom.gesturesEnabled&&(this.zoom.gesturesEnabled=!1,this.zoom.toggleGestures("off"))},enable:function(){if(s=this.support,e=this.zoom,!e.enabled){e.enabled=!0;var e,s,t=!("touchstart"!==this.touchEvents.start||!s.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},o=!s.passiveListener||{passive:!1,capture:!0},n="."+this.params.slideClass;this.zoom.passiveListener=t,this.zoom.slideSelector=n,s.gestures?(this.$wrapperEl.on(this.touchEvents.start,this.zoom.enableGestures,t),this.$wrapperEl.on(this.touchEvents.end,this.zoom.disableGestures,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,n,e.onGestureStart,t),this.$wrapperEl.on(this.touchEvents.move,n,e.onGestureChange,o),this.$wrapperEl.on(this.touchEvents.end,n,e.onGestureEnd,t),this.touchEvents.cancel&&this.$wrapperEl.on(this.touchEvents.cancel,n,e.onGestureEnd,t)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,o)}},disable:function(){if(e=this.zoom,e.enabled){n=this.support,this.zoom.enabled=!1;var e,n,t=!("touchstart"!==this.touchEvents.start||!n.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},o=!n.passiveListener||{passive:!1,capture:!0},s="."+this.params.slideClass;n.gestures?(this.$wrapperEl.off(this.touchEvents.start,this.zoom.enableGestures,t),this.$wrapperEl.off(this.touchEvents.end,this.zoom.disableGestures,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,s,e.onGestureStart,t),this.$wrapperEl.off(this.touchEvents.move,s,e.onGestureChange,o),this.$wrapperEl.off(this.touchEvents.end,s,e.onGestureEnd,t),this.touchEvents.cancel&&this.$wrapperEl.off(this.touchEvents.cancel,s,e.onGestureEnd,t)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,o)}}},te={loadInSlide:function(t,n){void 0===n&&(n=!0);var o,a,s=this,i=s.params.lazy;void 0!==t&&0!==s.slides.length&&(o=s.virtual&&s.params.virtual.enabled?s.$wrapperEl.children("."+s.params.slideClass+'[data-swiper-slide-index="'+t+'"]'):s.slides.eq(t),a=o.find("."+i.elementClass+":not(."+i.loadedClass+"):not(."+i.loadingClass+")"),!o.hasClass(i.elementClass)||o.hasClass(i.loadedClass)||o.hasClass(i.loadingClass)||a.push(o[0]),0!==a.length&&a.each(function(t){a=e(t),a.addClass(i.loadingClass);var a,r=a.attr("data-background"),c=a.attr("data-src"),l=a.attr("data-srcset"),d=a.attr("data-sizes"),u=a.parent("picture");s.loadImage(a[0],c||r,l,d,!1,function(){if(s!=null&&s&&(!s||s.params)&&!s.destroyed){if(r?(a.css("background-image",'url("'+r+'")'),a.removeAttr("data-background")):(l&&(a.attr("srcset",l),a.removeAttr("data-srcset")),d&&(a.attr("sizes",d),a.removeAttr("data-sizes")),u.length&&u.children("source").each(function(t){var n=e(t);n.attr("data-srcset")&&(n.attr("srcset",n.attr("data-srcset")),n.removeAttr("data-srcset"))}),c&&(a.attr("src",c),a.removeAttr("data-src"))),a.addClass(i.loadedClass).removeClass(i.loadingClass),o.find("."+i.preloaderClass).remove(),s.params.loop&&n){var h,m,t=o.attr("data-swiper-slide-index");o.hasClass(s.params.slideDuplicateClass)?(h=s.$wrapperEl.children('[data-swiper-slide-index="'+t+'"]:not(.'+s.params.slideDuplicateClass+")"),s.lazy.loadInSlide(h.index(),!1)):(m=s.$wrapperEl.children("."+s.params.slideDuplicateClass+'[data-swiper-slide-index="'+t+'"]'),s.lazy.loadInSlide(m.index(),!1))}s.emit("lazyImageReady",o[0],a[0]),s.params.autoHeight&&s.updateAutoHeight()}}),s.emit("lazyImageLoad",o[0],a[0])}))},load:function(){var i,a,m,f,t=this,r=t.$wrapperEl,n=t.params,v=t.slides,s=t.activeIndex,h=t.virtual&&n.virtual.enabled,l=n.lazy,o=n.slidesPerView;function d(e){if(h){if(r.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(v[e])return!0;return!1}function p(t){return h?e(t).attr("data-swiper-slide-index"):e(t).index()}if("auto"===o&&(o=0),t.lazy.initialImageLoaded||(t.lazy.initialImageLoaded=!0),t.params.watchSlidesVisibility)r.children("."+n.slideVisibleClass).each(function(n){var s=h?e(n).attr("data-swiper-slide-index"):e(n).index();t.lazy.loadInSlide(s)});else if(o>1)for(i=s;i1||l.loadPrevNextAmount&&l.loadPrevNextAmount>1){for(var g=l.loadPrevNextAmount,u=o,b=Math.min(s+u+Math.max(g,u),v.length),j=Math.max(s-Math.max(u,g),0),c=s+o;c0&&t.lazy.loadInSlide(p(m)),f=r.children("."+n.slidePrevClass),f.length>0&&t.lazy.loadInSlide(p(f))}},k={LinearSpline:function(e,t){var n,s,o,i,a,r=function(e,t){for(o=-1,n=e.length;n-o>1;)e[a=n+o>>1]<=t?o=a:n=a;return n};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=r(this.x,e),s=i-1,(e-this.x[s])*(this.y[i]-this.y[s])/(this.x[i]-this.x[s])+this.y[s]):0},this},getInterpolateFunction:function(e){this.controller.spline||(this.controller.spline=this.params.loop?new k.LinearSpline(this.slidesGrid,e.slidesGrid):new k.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){var o,i,a,n=this,s=n.controller.control,r=n.constructor;function c(e){var t=n.rtlTranslate?-n.translate:n.translate;"slide"===n.params.controller.by&&(n.controller.getInterpolateFunction(e),o=-n.controller.spline.interpolate(-t)),o&&"container"!==n.params.controller.by||(a=(e.maxTranslate()-e.minTranslate())/(n.maxTranslate()-n.minTranslate()),o=(t-n.minTranslate())*a+e.minTranslate()),n.params.controller.inverse&&(o=e.maxTranslate()-o),e.updateProgress(o),e.setTranslate(o,n),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(s))for(i=0;i0&&(this.isBeginning?(this.a11y.disableEl(t),this.a11y.makeElNotFocusable(t)):(this.a11y.enableEl(t),this.a11y.makeElFocusable(t))),e&&e.length>0&&(this.isEnd?(this.a11y.disableEl(e),this.a11y.makeElNotFocusable(e)):(this.a11y.enableEl(e),this.a11y.makeElFocusable(e)))}},updatePagination:function(){var t=this,n=t.params.a11y;t.pagination&&t.params.pagination.clickable&&t.pagination.bullets&&t.pagination.bullets.length&&t.pagination.bullets.each(function(s){var o=e(s);t.a11y.makeElFocusable(o),t.params.pagination.renderBullet||(t.a11y.addElRole(o,"button"),t.a11y.addElLabel(o,n.paginationBulletMessage.replace(/\{\{index\}\}/,o.index()+1)))})},init:function(){var n,s,i,a,r,c,t=this,o=t.params.a11y;t.$el.append(t.a11y.liveRegion),r=t.$el,o.containerRoleDescriptionMessage&&t.a11y.addElRoleDescription(r,o.containerRoleDescriptionMessage),o.containerMessage&&t.a11y.addElLabel(r,o.containerMessage),i=t.$wrapperEl,a=i.attr("id")||"swiper-wrapper-"+t.a11y.getRandomNumber(16),t.a11y.addElId(i,a),c=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite",t.a11y.addElLive(i,c),o.itemRoleDescriptionMessage&&t.a11y.addElRoleDescription(e(t.slides),o.itemRoleDescriptionMessage),t.a11y.addElRole(e(t.slides),"group"),t.slides.each(function(n){var s=e(n);t.a11y.addElLabel(s,s.index()+1+" / "+t.slides.length)}),t.navigation&&t.navigation.$nextEl&&(n=t.navigation.$nextEl),t.navigation&&t.navigation.$prevEl&&(s=t.navigation.$prevEl),n&&n.length&&(t.a11y.makeElFocusable(n),"BUTTON"!==n[0].tagName&&(t.a11y.addElRole(n,"button"),n.on("keydown",t.a11y.onEnterKey)),t.a11y.addElLabel(n,o.nextSlideMessage),t.a11y.addElControls(n,a)),s&&s.length&&(t.a11y.makeElFocusable(s),"BUTTON"!==s[0].tagName&&(t.a11y.addElRole(s,"button"),s.on("keydown",t.a11y.onEnterKey)),t.a11y.addElLabel(s,o.prevSlideMessage),t.a11y.addElControls(s,a)),t.pagination&&t.params.pagination.clickable&&t.pagination.bullets&&t.pagination.bullets.length&&t.pagination.$el.on("keydown","."+t.params.pagination.bulletClass,t.a11y.onEnterKey)},destroy:function(){var e,t;this.a11y.liveRegion&&this.a11y.liveRegion.length>0&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&e.off("keydown",this.a11y.onEnterKey),t&&t.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)}},h={init:function(){var e,t=n();if(this.params.history){if(!t.history||!t.history.pushState)return this.params.history.enabled=!1,void(this.params.hashNavigation.enabled=!0);e=this.history,e.initialized=!0,e.paths=h.getPathValues(this.params.url),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||t.addEventListener("popstate",this.history.setHistoryPopState))}},destroy:function(){var e=n();this.params.history.replaceState||e.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=h.getPathValues(this.params.url),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(e){var o=n(),t=(e?new URL(e):o.location).pathname.slice(1).split("/").filter(function(e){return""!==e}),s=t.length;return{key:t[s-2],value:t[s-1]}},setHistory:function(e,t){if(o=n(),this.history.initialized&&this.params.history.enabled){var o,i,a=this.params.url?new URL(this.params.url):o.location,r=this.slides.eq(t),s=h.slugify(r.attr("data-history"));a.pathname.includes(e)||(s=e+"/"+s),i=o.history.state,i&&i.value===s||(this.params.history.replaceState?o.history.replaceState({value:s},null,s):o.history.pushState({value:s},null,s))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,n){if(t)for(var s,i,o=0,a=this.slides.length;o'),g.append(i)),i.css({height:b+"px"})):0===(i=E.find(".swiper-cube-shadow")).length&&(i=e(''),E.append(i)));for(f=0;f-1&&(h=90*s+90*m,v&&(h=90*-s-90*m)),n.transform(x),r.slideShadows)&&(l=a?n.find(".swiper-slide-shadow-left"):n.find(".swiper-slide-shadow-top"),u=a?n.find(".swiper-slide-shadow-right"):n.find(".swiper-slide-shadow-bottom"),0===l.length&&(l=e(''),n.append(l)),0===u.length&&(u=e(''),n.append(u)),l.length&&(l[0].style.opacity=Math.max(-m,0)),u.length&&(u[0].style.opacity=Math.max(m,0)))}if(g.css({"-webkit-transform-origin":"50% 50% -"+t/2+"px","-moz-transform-origin":"50% 50% -"+t/2+"px","-ms-transform-origin":"50% 50% -"+t/2+"px","transform-origin":"50% 50% -"+t/2+"px"}),r.shadow)if(a)i.transform("translate3d(0px, "+(b/2+r.shadowOffset)+"px, "+-b/2+"px) rotateX(90deg) rotateZ(0deg) scale("+r.shadowScale+")");else{var k=Math.abs(h)-90*Math.floor(Math.abs(h)/90),F=1.5-(Math.sin(2*k*Math.PI/360)/2+Math.cos(2*k*Math.PI/360)/2),S=r.shadowScale,j=r.shadowScale/F,M=r.shadowOffset;i.transform("scale3d("+S+", 1, "+j+") translate3d(0px, "+(_/2+M)+"px, "+-_/2/j+"px) rotateX(-90deg)")}y=O.isSafari||O.isWebView?-t/2:0,g.transform("translate3d(0px,0,"+y+"px) rotateX("+(this.isHorizontal()?0:h)+"deg) rotateY("+(this.isHorizontal()?-h:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},le={setTranslate:function(){for(var a=this.slides,u=this.rtlTranslate,r=0;r'),t.append(s)),0===o.length&&(o=e(''),t.append(o)),s.length&&(s[0].style.opacity=Math.max(-n,0)),o.length&&(o[0].style.opacity=Math.max(n,0))),t.transform("translate3d("+c+"px, "+d+"px, 0px) rotateX("+l+"deg) rotateY("+i+"deg)")}},setTransition:function(e){var n,t=this,s=t.slides,o=t.activeIndex,i=t.$wrapperEl;s.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e&&(n=!1,s.eq(o).transitionEnd(function(){if(!n&&t&&!t.destroyed){n=!0,t.animating=!1;for(var s=["webkitTransitionEnd","transitionend"],e=0;e'),s.append(a)),0===i.length&&(i=e(''),s.append(i)),a.length&&(a[0].style.opacity=t>0?t:0),i.length&&(i[0].style.opacity=-t>0?-t:0))}},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},ue={init:function(){var n,e=this.params.thumbs;return!this.thumbs.initialized&&(this.thumbs.initialized=!0,n=this.constructor,e.swiper instanceof n?(this.thumbs.swiper=e.swiper,t(this.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t(this.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):d(e.swiper)&&(this.thumbs.swiper=new n(t({},e.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),this.thumbs.swiperCreated=!0),this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),this.thumbs.swiper.on("tap",this.thumbs.onThumbClick),!0)},onThumbClick:function(){if(n=this.thumbs.swiper,n){var t,n,s,o,i,a=n.clickedIndex,r=n.clickedSlide;r&&e(r).hasClass(this.params.thumbs.slideThumbActiveClass)||a==null||((s=n.params.loop?parseInt(e(n.clickedSlide).attr("data-swiper-slide-index"),10):a,this.params.loop)&&(t=this.activeIndex,this.slides.eq(t).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,t=this.activeIndex),o=this.slides.eq(t).prevAll('[data-swiper-slide-index="'+s+'"]').eq(0).index(),i=this.slides.eq(t).nextAll('[data-swiper-slide-index="'+s+'"]').eq(0).index(),s=void 0===o?i:void 0===i?o:i-tthis.previousIndex?"next":"prev"):d=(n=this.realIndex)>this.previousIndex?"next":"prev",m&&(n+="next"===d?u:-1*u),t.visibleSlidesIndexes&&t.visibleSlidesIndexes.indexOf(n)<0&&(t.params.centeredSlides?n=n>s?n-Math.floor(h/2)+1:n+Math.floor(h/2)-1:n>s&&(n=n-h+1),t.slideTo(n,e?0:void 0))),o=1,r=this.params.thumbs.slideThumbActiveClass,this.params.slidesPerView>1&&!this.params.centeredSlides&&(o=this.params.slidesPerView),this.params.thumbs.multipleActiveThumbs||(o=1),o=Math.floor(o),t.slides.removeClass(r),t.params.loop||t.params.virtual&&t.params.virtual.enabled)for(c=0;c0&&!e(n.target).hasClass(t.params.pagination.bulletClass)&&(!0===t.pagination.$el.hasClass(t.params.pagination.hiddenClass)?t.emit("paginationShow"):t.emit("paginationHide"),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){i(this,{scrollbar:s({isTouched:!1,timeout:null,dragTimeout:null},Z)})},on:{init:function(e){e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update:function(e){e.scrollbar.updateSize()},resize:function(e){e.scrollbar.updateSize()},observerUpdate:function(e){e.scrollbar.updateSize()},setTranslate:function(e){e.scrollbar.setTranslate()},setTransition:function(e,t){e.scrollbar.setTransition(t)},destroy:function(e){e.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){i(this,{parallax:s({},J)})},on:{beforeInit:function(e){e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},init:function(e){e.params.parallax.enabled&&e.parallax.setTranslate()},setTranslate:function(e){e.params.parallax.enabled&&e.parallax.setTranslate()},setTransition:function(e,t){e.params.parallax.enabled&&e.parallax.setTransition(t)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var t,e=this;i(e,{zoom:s({enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{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:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}},C)}),t=1,Object.defineProperty(e.zoom,"scale",{get:function(){return t},set:function(n){if(t!==n){var s=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,o=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",n,s,o)}t=n}})},on:{init:function(e){e.params.zoom.enabled&&e.zoom.enable()},destroy:function(e){e.zoom.disable()},touchStart:function(e,t){e.zoom.enabled&&e.zoom.onTouchStart(t)},touchEnd:function(e,t){e.zoom.enabled&&e.zoom.onTouchEnd(t)},doubleTap:function(e,t){e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&e.zoom.toggle(t)},transitionEnd:function(e){e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()},slideChange:function(e){e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&e.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){i(this,{lazy:s({initialImageLoaded:!1},te)})},on:{beforeInit:function(e){e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init:function(e){e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&e.lazy.load()},scroll:function(e){e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},resize:function(e){e.params.lazy.enabled&&e.lazy.load()},scrollbarDragMove:function(e){e.params.lazy.enabled&&e.lazy.load()},transitionStart:function(e){e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd:function(e){e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()},slideChange:function(e){e.params.lazy.enabled&&e.params.cssMode&&e.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){i(this,{controller:s({control:this.params.controller.control},k)})},on:{update:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate:function(e,t,n){e.controller.control&&e.controller.setTranslate(t,n)},setTransition:function(e,t,n){e.controller.control&&e.controller.setTransition(t,n)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null}},create:function(){i(this,{a11y:s(s({},se),{},{liveRegion:e('')})})},on:{afterInit:function(e){e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge:function(e){e.params.a11y.enabled&&e.a11y.updateNavigation()},fromEdge:function(e){e.params.a11y.enabled&&e.a11y.updateNavigation()},paginationUpdate:function(e){e.params.a11y.enabled&&e.a11y.updatePagination()},destroy:function(e){e.params.a11y.enabled&&e.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){i(this,{history:s({},h)})},on:{init:function(e){e.params.history.enabled&&e.history.init()},destroy:function(e){e.params.history.enabled&&e.history.destroy()},transitionEnd:function(e){e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)},slideChange:function(e){e.history.initialized&&e.params.cssMode&&e.history.setHistory(e.params.history.key,e.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){i(this,{hashNavigation:s({initialized:!1},ie)})},on:{init:function(e){e.params.hashNavigation.enabled&&e.hashNavigation.init()},destroy:function(e){e.params.hashNavigation.enabled&&e.hashNavigation.destroy()},transitionEnd:function(e){e.hashNavigation.initialized&&e.hashNavigation.setHash()},slideChange:function(e){e.hashNavigation.initialized&&e.params.cssMode&&e.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){i(this,{autoplay:s(s({},ae),{},{running:!1,paused:!1})})},on:{init:function(e){e.params.autoplay.enabled&&(e.autoplay.start(),o().addEventListener("visibilitychange",e.autoplay.onVisibilityChange))},beforeTransitionStart:function(e,t,n){e.autoplay.running&&(n||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(t):e.autoplay.stop())},sliderFirstMove:function(e){e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},touchEnd:function(e){e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&e.autoplay.run()},destroy:function(e){e.autoplay.running&&e.autoplay.stop(),o().removeEventListener("visibilitychange",e.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){i(this,{fadeEffect:s({},re)})},on:{beforeInit:function(e){if("fade"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"fade");var n={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};t(e.params,n),t(e.originalParams,n)}},setTranslate:function(e){"fade"===e.params.effect&&e.fadeEffect.setTranslate()},setTransition:function(e,t){"fade"===e.params.effect&&e.fadeEffect.setTransition(t)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){i(this,{cubeEffect:s({},ce)})},on:{beforeInit:function(e){if("cube"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"cube"),e.classNames.push(e.params.containerModifierClass+"3d");var n={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};t(e.params,n),t(e.originalParams,n)}},setTranslate:function(e){"cube"===e.params.effect&&e.cubeEffect.setTranslate()},setTransition:function(e,t){"cube"===e.params.effect&&e.cubeEffect.setTransition(t)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){i(this,{flipEffect:s({},le)})},on:{beforeInit:function(e){if("flip"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"flip"),e.classNames.push(e.params.containerModifierClass+"3d");var n={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};t(e.params,n),t(e.originalParams,n)}},setTranslate:function(e){"flip"===e.params.effect&&e.flipEffect.setTranslate()},setTransition:function(e,t){"flip"===e.params.effect&&e.flipEffect.setTransition(t)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create:function(){i(this,{coverflowEffect:s({},de)})},on:{beforeInit:function(e){"coverflow"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"coverflow"),e.classNames.push(e.params.containerModifierClass+"3d"),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate:function(e){"coverflow"===e.params.effect&&e.coverflowEffect.setTranslate()},setTransition:function(e,t){"coverflow"===e.params.effect&&e.coverflowEffect.setTransition(t)}}},{name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){i(this,{thumbs:s({swiper:null,initialized:!1},ue)})},on:{beforeInit:function(e){var t=e.params.thumbs;t&&t.swiper&&(e.thumbs.init(),e.thumbs.update(!0))},slideChange:function(e){e.thumbs.swiper&&e.thumbs.update()},update:function(e){e.thumbs.swiper&&e.thumbs.update()},resize:function(e){e.thumbs.swiper&&e.thumbs.update()},observerUpdate:function(e){e.thumbs.swiper&&e.thumbs.update()},setTransition:function(e,t){var n=e.thumbs.swiper;n&&n.setTransition(t)},beforeDestroy:function(e){var t=e.thumbs.swiper;t&&e.thumbs.swiperCreated&&t&&t.destroy()}}}];return m.use(he),m}),function(){function K(e){return e.call.apply(e.bind,arguments)}function he(e,t){if(!e)throw Error();if(2=e.f?o():n.fonts.load(Z(e.a),e.h).then(function(e){1<=e.length?t():setTimeout(i,25)},function(){o()})}i()}),t=null,i=new Promise(function(n,s){t=setTimeout(s,e.f)});Promise.race([i,o]).then(function(){t&&(clearTimeout(t),t=null),e.g(e.a)},function(){e.j(e.a)})};function N(n,s,o,i,a,r,c){this.v=n,this.B=s,this.c=o,this.a=i,this.o=c||"BESbswy",this.f={},this.w=a||3e3,this.u=r||null,this.m=this.j=this.h=this.g=null,this.g=new m(this.c,this.o),this.h=new m(this.c,this.o),this.j=new m(this.c,this.o),this.m=new m(this.c,this.o),n=new t(this.a.c+",serif",e(this.a)),n=u(n),this.g.a.style.cssText=n,n=new t(this.a.c+",sans-serif",e(this.a)),n=u(n),this.h.a.style.cssText=n,n=new t("serif",e(this.a)),n=u(n),this.j.a.style.cssText=n,n=new t("sans-serif",e(this.a)),n=u(n),this.m.a.style.cssText=n,h(this.g),h(this.h),h(this.j),h(this.m)}a={D:"serif",C:"sans-serif"},d=null;function P(){if(null===d){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgentData);d=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return d}N.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=c(),I(this)};function H(e,t,n){for(var s in a)if(a.hasOwnProperty(s)&&t===e.f[a[s]]&&n===e.f[a[s]])return!0;return!1}function I(e){var s,t=e.g.a.offsetWidth,n=e.h.a.offsetWidth;(s=t===e.f.serif&&n===e.f["sans-serif"])||(s=P()&&H(e,t,n)),s?c()-e.A>=e.w?P()&&H(e,t,n)&&(null===e.u||e.u.hasOwnProperty(e.a.c))?v(e,e.v):v(e,e.B):G(e):v(e,e.v)}function G(e){setTimeout(n(function(){I(this)},e),50)}function v(e,t){setTimeout(n(function(){l(this.g.a),l(this.h.a),l(this.j.a),l(this.m.a),t(this.a)},e),0)}function p(e,t,n){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.o=n}r=null,p.prototype.g=function(t){var n=this.a;n.g&&o(n.f,[n.a.c("wf",t.c,e(t).toString(),"active")],[n.a.c("wf",t.c,e(t).toString(),"loading"),n.a.c("wf",t.c,e(t).toString(),"inactive")]),i(n,"fontactive",t),this.m=!0,U(this)},p.prototype.h=function(t){if(n=this.a,n.g){var n,a=V(n.f,n.a.c("wf",t.c,e(t).toString(),"active")),s=[],r=[n.a.c("wf",t.c,e(t).toString(),"loading")];a||s.push(n.a.c("wf",t.c,e(t).toString(),"inactive")),o(n.f,s,r)}i(n,"fontinactive",t),U(this)};function U(e){0==--e.f&&e.j&&(e.m?(e=e.a,e.g&&o(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),i(e,"active")):k(e.a))}function T(e){this.j=e,this.a=new re,this.h=0,this.f=this.g=!0}T.prototype.load=function(e){this.c=new ue(this.j,e.context||this.j),this.g=!1!==e.events,this.f=!1!==e.classes,Y(this,new le(this.c,e),e)};function q(t,s,a,c,l){var d=0==--t.h;(t.f||t.g)&&setTimeout(function(){if(p=l||null,g=c||null||{},0===a.length&&d)k(s.a);else{s.f+=a.length,d&&(s.j=d),m=[];for(t=0;t{$(".preloader").remove()},100)}),$(document).ready(function(){"use strict";function t(){var e=$(window).width();e>1200&&$(".navbar-nav").find(".dropdown-menu").each(function(){$(this).height($(this).height())}),e<1200&&$(".navbar-nav").find(".dropdown-menu").each(function(){$(this).css("height","auto")})}t(),$(window).resize(function(){t()});function s(){$(".navbar-toggler").on("click",function(){$(this).children("i").toggleClass("d-inline d-none")})}if(s(),$('[data-bs-target="#videoModal"]').length!==0&&($('[data-bs-target="#videoModal"]').click(function(){e=$(this).data("src")}),$("#videoModal").on("shown.bs.modal",function(){$("#showVideo").attr("src",e+"?autoplay=1&modestbranding=1&showinfo=0")}),$("#videoModal").on("hide.bs.modal",function(){$("#showVideo").attr("src",e)})),$(".counter").length!==0){var e,n=0;$(window).scroll(function(){var e=$(".counter").offset().top-window.innerHeight;n==0&&$(window).scrollTop()>e&&($(".counter").each(function(){var e=$(this),t=e.attr("data-count");$({countNum:e.text()}).animate({countNum:t},{duration:850,easing:"swing",step:function(){e.text(Math.ceil(this.countNum).toLocaleString("en"))},complete:function(){e.text(Math.ceil(this.countNum).toLocaleString("en"))}})}),n=1)})}$(".brand-carousel").length!==0&&new Swiper(".brand-carousel.swiper-container",{speed:400,loop:!0,grabCursor:!0,autoplay:!0,pagination:{el:".swiper-pagination",type:"bullets",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{320:{slidesPerView:2},480:{slidesPerView:3},767:{slidesPerView:4},991:{slidesPerView:5}}}),$(".tab-content").find(".tab-pane").each(function(){var e=$(this).closest(".code-tabs").find(".nav-tabs"),t=$(this).attr("title");e.append(''+t+"")}),$(".code-tabs ul.nav-tabs").each(function(){$(this).find("li:first").addClass("active")}),$(".code-tabs .tab-content").each(function(){$(this).find("div:first").addClass("active")}),$(".nav-tabs a").click(function(e){e.preventDefault();var t=$(this).parent(),s=t.index(),n=$(this).closest(".code-tabs"),o=n.find(".tab-pane").eq(s);n.find(".active").removeClass("active"),t.addClass("active"),o.addClass("active")}),$(".collapse").on("shown.bs.collapse",function(){$(this).parent().find(".fas fa-plus").removeClass("fas fa-plus").addClass("fas fa-minus")}).on("hidden.bs.collapse",function(){$(this).parent().find(".fas fa-minus").removeClass("fas fa-minus").addClass("fas fa-plus")}),new Swiper(".post-carousel.swiper-container",{speed:1e3,slidesPerView:1,autoplay:!1,loop:!0,pagination:{el:".swiper-pagination",type:"bullets",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}}),document.addEventListener("DOMContentLoaded",function(){var e=new Swiper(".homepage-testimonials-carousel",{loop:!0,autoplay:{delay:5e3},pagination:{el:".swiper-pagination",clickable:!0}}),t=document.querySelectorAll(".youtube-video");t.forEach(function(t){t.addEventListener("play",function(){e.autoplay.stop()})}),e.on("slideChange",function(){t.forEach(function(e){e.paused||e.pause()})})}),new Swiper(".testimonials-carousel.swiper-container",{speed:1e3,loop:!0,grabCursor:!0,autoHeight:"100vh",autoplay:!1,pagination:{el:".swiper-pagination",type:"bullets",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}}),$(document).ready(function(){var e,t=document.querySelector(".filtr-container");t&&(e=$(".filtr-container").filterizr()),$(".control").on("click",function(){$(".control").removeClass("active"),$(this).addClass("active")})})}),window.onload=()=>{var e=document.querySelectorAll(".video-play-btn");e.forEach(function(e){var t=e.nextElementSibling,n=t.width;e.addEventListener("click",function(){var e='';this.parentNode.innerHTML=e})})},jQuery.event.special.touchstart={setup:function(e,t,n){"use strict";this.addEventListener("touchstart",n,{passive:!t.includes("noPreventDefault")})}},jQuery.event.special.touchmove={setup:function(e,t,n){"use strict";this.addEventListener("touchmove",n,{passive:!t.includes("noPreventDefault")})}},$(window).on("load",function(){"use strict";$(".preloader").fadeOut(250),setTimeout(()=>{$(".preloader").remove()},100)}),$(document).ready(function(){"use strict";function t(){var e=$(window).width();e>1200&&$(".navbar-nav").find(".dropdown-menu").each(function(){$(this).height($(this).height())}),e<1200&&$(".navbar-nav").find(".dropdown-menu").each(function(){$(this).css("height","auto")})}t(),$(window).resize(function(){t()});function s(){$(".navbar-toggler").on("click",function(){$(this).children("i").toggleClass("d-inline d-none")})}if(s(),$('[data-bs-target="#videoModal"]').length!==0&&($('[data-bs-target="#videoModal"]').click(function(){e=$(this).data("src")}),$("#videoModal").on("shown.bs.modal",function(){$("#showVideo").attr("src",e+"?autoplay=1&modestbranding=1&showinfo=0")}),$("#videoModal").on("hide.bs.modal",function(){$("#showVideo").attr("src",e)})),$(".counter").length!==0){var e,n=0;$(window).scroll(function(){var e=$(".counter").offset().top-window.innerHeight;n==0&&$(window).scrollTop()>e&&($(".counter").each(function(){var e=$(this),t=e.attr("data-count");$({countNum:e.text()}).animate({countNum:t},{duration:850,easing:"swing",step:function(){e.text(Math.ceil(this.countNum).toLocaleString("en"))},complete:function(){e.text(Math.ceil(this.countNum).toLocaleString("en"))}})}),n=1)})}$(".brand-carousel").length!==0&&new Swiper(".brand-carousel.swiper-container",{speed:400,loop:!0,grabCursor:!0,autoplay:!0,pagination:{el:".swiper-pagination",type:"bullets",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{320:{slidesPerView:2},480:{slidesPerView:3},767:{slidesPerView:4},991:{slidesPerView:5}}}),$(".tab-content").find(".tab-pane").each(function(){var e=$(this).closest(".code-tabs").find(".nav-tabs"),t=$(this).attr("title");e.append(''+t+"")}),$(".code-tabs ul.nav-tabs").each(function(){$(this).find("li:first").addClass("active")}),$(".code-tabs .tab-content").each(function(){$(this).find("div:first").addClass("active")}),$(".nav-tabs a").click(function(e){e.preventDefault();var t=$(this).parent(),s=t.index(),n=$(this).closest(".code-tabs"),o=n.find(".tab-pane").eq(s);n.find(".active").removeClass("active"),t.addClass("active"),o.addClass("active")}),$(".collapse").on("shown.bs.collapse",function(){$(this).parent().find(".fas fa-plus").removeClass("fas fa-plus").addClass("fas fa-minus")}).on("hidden.bs.collapse",function(){$(this).parent().find(".fas fa-minus").removeClass("fas fa-minus").addClass("fas fa-plus")}),new Swiper(".post-carousel.swiper-container",{speed:1e3,slidesPerView:1,autoplay:!1,loop:!0,pagination:{el:".swiper-pagination",type:"bullets",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}}),new Swiper(".testimonials-carousel.swiper-container",{speed:1e3,loop:!0,grabCursor:!0,autoHeight:"100vh",autoplay:!0,pagination:{el:".swiper-pagination",type:"bullets",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}}),$(document).ready(function(){var e,t=document.querySelector(".filtr-container");t&&(e=$(".filtr-container").filterizr()),$(".control").on("click",function(){$(".control").removeClass("active"),$(this).addClass("active")})})})