1import{a as ta,b as na}from"./chunk-3DKTOHMZ.js";import{a as r,c as ea}from"./chunk-SYFBPFYN.js";function sa(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}r(sa,"isObject");function Qn(t={},e={}){Object.keys(e).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:sa(e[n])&&sa(t[n])&&Object.keys(e[n]).length>0&&Qn(t[n],e[n])})}r(Qn,"extend");var ia={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function k(){let t=typeof document<"u"?document:{};return Qn(t,ia),t}r(k,"getDocument");var Wo={document:ia,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:r(function(){return this},"CustomEvent"),addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function N(){let t=typeof window<"u"?window:{};return Qn(t,Wo),t}r(N,"getWindow");function Fo(t){let e=t.__proto__;Object.defineProperty(t,"__proto__",{get(){return e},set(n){e.__proto__=n}})}r(Fo,"makeReactive");var Zn=class Zn extends Array{constructor(e){typeof e=="number"?super(e):(super(...e||[]),Fo(this))}};r(Zn,"Dom7");var me=Zn;function $t(t=[]){let e=[];return t.forEach(n=>{Array.isArray(n)?e.push(...$t(n)):e.push(n)}),e}r($t,"arrayFlat");function aa(t,e){return Array.prototype.filter.call(t,e)}r(aa,"arrayFilter");function Go(t){let e=[];for(let n=0;n<t.length;n+=1)e.indexOf(t[n])===-1&&e.push(t[n]);return e}r(Go,"arrayUnique");function Yo(t,e){if(typeof t!="string")return[t];let n=[],s=e.querySelectorAll(t);for(let i=0;i<s.length;i+=1)n.push(s[i]);return n}r(Yo,"qsa");function I(t,e){let n=N(),s=k(),i=[];if(!e&&t instanceof me)return t;if(!t)return new me(i);if(typeof t=="string"){let a=t.trim();if(a.indexOf("<")>=0&&a.indexOf(">")>=0){let o="div";a.indexOf("<li")===0&&(o="ul"),a.indexOf("<tr")===0&&(o="tbody"),(a.indexOf("<td")===0||a.indexOf("<th")===0)&&(o="tr"),a.indexOf("<tbody")===0&&(o="table"),a.indexOf("<option")===0&&(o="select");let c=s.createElement(o);c.innerHTML=a;for(let l=0;l<c.childNodes.length;l+=1)i.push(c.childNodes[l])}else i=Yo(t.trim(),e||s)}else if(t.nodeType||t===n||t===s)i.push(t);else if(Array.isArray(t)){if(t instanceof me)return t;i=t}return new me(Go(i))}r(I,"$");I.fn=me.prototype;function ra(...t){let e=$t(t.map(n=>n.split(" ")));return this.forEach(n=>{n.classList.add(...e)}),this}r(ra,"addClass");function oa(...t){let e=$t(t.map(n=>n.split(" ")));return this.forEach(n=>{n.classList.remove(...e)}),this}r(oa,"removeClass");function la(...t){let e=$t(t.map(n=>n.split(" ")));this.forEach(n=>{e.forEach(s=>{n.classList.toggle(s)})})}r(la,"toggleClass");function ca(...t){let e=$t(t.map(n=>n.split(" ")));return aa(this,n=>e.filter(s=>n.classList.contains(s)).length>0).length>0}r(ca,"hasClass");function da(t,e){if(arguments.length===1&&typeof t=="string")return this[0]?this[0].getAttribute(t):void 0;for(let n=0;n<this.length;n+=1)if(arguments.length===2)this[n].setAttribute(t,e);else for(let s in t)this[n][s]=t[s],this[n].setAttribute(s,t[s]);return this}r(da,"attr");function fa(t){for(let e=0;e<this.length;e+=1)this[e].removeAttribute(t);return this}r(fa,"removeAttr");function ua(t){for(let e=0;e<this.length;e+=1)this[e].style.transform=t;return this}r(ua,"transform");function pa(t){for(let e=0;e<this.length;e+=1)this[e].style.transitionDuration=typeof t!="string"?`${t}ms`:t;return this}r(pa,"transition");function ma(...t){let[e,n,s,i]=t;typeof t[1]=="function"&&([e,s,i]=t,n=void 0),i||(i=!1);function a(d){let f=d.target;if(!f)return;let h=d.target.dom7EventData||[];if(h.indexOf(d)<0&&h.unshift(d),I(f).is(n))s.apply(f,h);else{let p=I(f).parents();for(let g=0;g<p.length;
1g+=1)I(p[g]).is(n)&&s.apply(p[g],h)}}r(a,"handleLiveEvent");function o(d){let f=d&&d.target?d.target.dom7EventData||[]:[];f.indexOf(d)<0&&f.unshift(d),s.apply(this,f)}r(o,"handleEvent");let c=e.split(" "),l;for(let d=0;d<this.length;d+=1){let f=this[d];if(n)for(l=0;l<c.length;l+=1){let h=c[l];f.dom7LiveListeners||(f.dom7LiveListeners={}),f.dom7LiveListeners[h]||(f.dom7LiveListeners[h]=[]),f.dom7LiveListeners[h].push({listener:s,proxyListener:a}),f.addEventListener(h,a,i)}else for(l=0;l<c.length;l+=1){let h=c[l];f.dom7Listeners||(f.dom7Listeners={}),f.dom7Listeners[h]||(f.dom7Listeners[h]=[]),f.dom7Listeners[h].push({listener:s,proxyListener:o}),f.addEventListener(h,o,i)}}return this}r(ma,"on");function ha(...t){let[e,n,s,i]=t;typeof t[1]=="function"&&([e,s,i]=t,n=void 0),i||(i=!1);let a=e.split(" ");for(let o=0;o<a.length;o+=1){let c=a[o];for(let l=0;l<this.length;l+=1){let d=this[l],f;if(!n&&d.dom7Listeners?f=d.dom7Listeners[c]:n&&d.dom7LiveListeners&&(f=d.dom7LiveListeners[c]),f&&f.length)for(let h=f.length-1;h>=0;h-=1){let p=f[h];s&&p.listener===s||s&&p.listener&&p.listener.dom7proxy&&p.listener.dom7proxy===s?(d.removeEventListener(c,p.proxyListener,i),f.splice(h,1)):s||(d.removeEventListener(c,p.proxyListener,i),f.splice(h,1))}}}return this}r(ha,"off");function ga(...t){let e=N(),n=t[0].split(" "),s=t[1];for(let i=0;i<n.length;i+=1){let a=n[i];for(let o=0;o<this.length;o+=1){let c=this[o];if(e.CustomEvent){let l=new e.CustomEvent(a,{detail:s,bubbles:!0,cancelable:!0});c.dom7EventData=t.filter((d,f)=>f>0),c.dispatchEvent(l),c.dom7EventData=[],delete c.dom7EventData}}}return this}r(ga,"trigger");function va(t){let e=this;function n(s){s.target===this&&(t.call(this,s),e.off("transitionend",n))}return r(n,"fireCallBack"),t&&e.on("transitionend",n),this}r(va,"transitionEnd");function Ea(t){if(this.length>0){if(t){let e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}r(Ea,"outerWidth");function ba(t){if(this.length>0){if(t){let e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}r(ba,"outerHeight");function ya(){if(this.length>0){let t=N(),e=k(),n=this[0],s=n.getBoundingClientRect(),i=e.body,a=n.clientTop||i.clientTop||0,o=n.clientLeft||i.clientLeft||0,c=n===t?t.scrollY:n.scrollTop,l=n===t?t.scrollX:n.scrollLeft;return{top:s.top+c-a,left:s.left+l-o}}return null}r(ya,"offset");function _a(){let t=N();return this[0]?t.getComputedStyle(this[0],null):{}}r(_a,"styles");function Ta(t,e){let n=N(),s;if(arguments.length===1)if(typeof t=="string"){if(this[0])return n.getComputedStyle(this[0],null).getPropertyValue(t)}else{for(s=0;s<this.length;s+=1)for(let i in t)this[s].style[i]=t[i];return this}if(arguments.length===2&&typeof t=="string"){for(s=0;s<this.length;s+=1)this[s].style[t]=e;return this}return this}r(Ta,"css");function xa(t){return t?(this.forEach((e,n)=>{t.apply(e,[e,n])}),this):this}r(xa,"each");function Sa(t){let e=aa(this,t);return I(e)}r(Sa,"filter");function Ca(t){if(typeof t>"u")return this[0]?this[0].innerHTML:null;for(let e=0;e<this.length;e+=1)this[e].innerHTML=t;return this}r(Ca,"html");function $a(t){if(typeof t>"u")return this[0]?this[0].textContent.trim():null;for(let e=0;e<this.length;e+=1)this[e].textContent=t;return this}r($a,"text");function Aa(t){let e=N(),n=k(),s=this[0],i,a;if(!s||typeof t>"u")return!1;if(typeof t=="string"){if(s.matches)return s.matches(t);if(s.webkitMatchesSelector)return s.webkitMatchesSelector(t);if(s.msMatchesSelector)return s.msMatchesSelector(t);for(i=I(t),a=0;a<i.length;a+=1)if(i[a]===s)return!0;return!1}if(t===n)return s===n;if(t===e)return s===e;if(t.nodeType||t instanceof me){for(i=t.nodeType?[t]:t,a=0;a<i.length;a+=1)if(i[a]===s)return!0;return!1}return!1}r(Aa,"is");function Ma(){let t=this[0],e;if(t){for(e=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(e+=1);return e}}r(Ma,"index");function Oa(t){if(typeof t>"u")return this;let e=this.length;if(t>e-1)return I([]);if(t<0){let n=e+t;return n<0?I([]):I([this[n]])}return I([this[t]])}r(Oa,"eq");function La(...t){let e,n=k();for(let s=0;s<t.length;s+=1){e=t[s];for(let i=0;i<this.length;i+=1)if(typeof e=="string"){let a=n.createElement("div");for(a.innerHTML=e;a.firstChild;)this[i].appendChild(a.firstChild)}else if(e instanceof me)for(let a=0;a<e.length;a+=1)this[i].appendChild(e[a]);else this[i].appendChild(e)}return this}r(La,"append");function Ia(t){let e=k(),n,s;for(n=0;n<this.length;n+=1)if(typeof t=="string"){let i=e.createElement("div");
1for(i.innerHTML=t,s=i.childNodes.length-1;s>=0;s-=1)this[n].insertBefore(i.childNodes[s],this[n].childNodes[0])}else if(t instanceof me)for(s=0;s<t.length;s+=1)this[n].insertBefore(t[s],this[n].childNodes[0]);else this[n].insertBefore(t,this[n].childNodes[0]);return this}r(Ia,"prepend");function Pa(t){return this.length>0?t?this[0].nextElementSibling&&I(this[0].nextElementSibling).is(t)?I([this[0].nextElementSibling]):I([]):this[0].nextElementSibling?I([this[0].nextElementSibling]):I([]):I([])}r(Pa,"next");function Na(t){let e=[],n=this[0];if(!n)return I([]);for(;n.nextElementSibling;){let s=n.nextElementSibling;t?I(s).is(t)&&e.push(s):e.push(s),n=s}return I(e)}r(Na,"nextAll");function Da(t){if(this.length>0){let e=this[0];return t?e.previousElementSibling&&I(e.previousElementSibling).is(t)?I([e.previousElementSibling]):I([]):e.previousElementSibling?I([e.previousElementSibling]):I([])}return I([])}r(Da,"prev");function wa(t){let e=[],n=this[0];if(!n)return I([]);for(;n.previousElementSibling;){let s=n.previousElementSibling;t?I(s).is(t)&&e.push(s):e.push(s),n=s}return I(e)}r(wa,"prevAll");function ka(t){let e=[];for(let n=0;n<this.length;n+=1)this[n].parentNode!==null&&(t?I(this[n].parentNode).is(t)&&e.push(this[n].parentNode):e.push(this[n].parentNode));return I(e)}r(ka,"parent");function Ra(t){let e=[];for(let n=0;n<this.length;n+=1){let s=this[n].parentNode;for(;s;)t?I(s).is(t)&&e.push(s):e.push(s),s=s.parentNode}return I(e)}r(Ra,"parents");function za(t){let e=this;return typeof t>"u"?I([]):(e.is(t)||(e=e.parents(t).eq(0)),e)}r(za,"closest");function Ha(t){let e=[];for(let n=0;n<this.length;n+=1){let s=this[n].querySelectorAll(t);for(let i=0;i<s.length;
1i+=1)e.push(s[i])}return I(e)}r(Ha,"find");function Va(t){let e=[];for(let n=0;n<this.length;n+=1){let s=this[n].children;for(let i=0;i<s.length;i+=1)(!t||I(s[i]).is(t))&&e.push(s[i])}return I(e)}r(Va,"children");function Ba(){for(let t=0;t<this.length;t+=1)this[t].parentNode&&this[t].parentNode.removeChild(this[t]);return this}r(Ba,"remove");var jo="resize scroll".split(" ");function H(t){function e(...n){if(typeof n[0]>"u"){for(let s=0;s<this.length;s+=1)jo.indexOf(t)<0&&(t in this[s]?this[s][t]():I(this[s]).trigger(t));return this}return this.on(t,...n)}return r(e,"eventHandler"),e}r(H,"shortcut");var Zu=H("click"),Ju=H("blur"),ep=H("focus"),tp=H("focusin"),np=H("focusout"),sp=H("keyup"),ip=H("keydown"),ap=H("keypress"),rp=H("submit"),op=H("change"),lp=H("mousedown"),cp=H("mousemove"),dp=H("mouseup"),fp=H("mouseenter"),up=H("mouseleave"),pp=H("mouseout"),mp=H("mouseover"),hp=H("touchstart"),gp=H("touchend"),vp=H("touchmove"),Ep=H("resize"),bp=H("scroll");var Wa={addClass:ra,removeClass:oa,hasClass:ca,toggleClass:la,attr:da,removeAttr:fa,transform:ua,transition:pa,on:ma,off:ha,trigger:ga,transitionEnd:va,outerWidth:Ea,outerHeight:ba,styles:_a,offset:ya,css:Ta,each:xa,html:Ca,text:$a,is:Aa,index:Ma,eq:Oa,append:La,prepend:Ia,next:Pa,nextAll:Na,prev:Da,prevAll:wa,parent:ka,parents:Ra,closest:za,find:Ha,children:Va,filter:Sa,remove:Ba};Object.keys(Wa).forEach(t=>{Object.defineProperty(I.fn,t,{value:Wa[t],writable:!0})});var $=I;function Fa(t){let e=t;Object.keys(e).forEach(n=>{try{e[n]=null}catch{}try{delete e[n]}catch{}})}r(Fa,"deleteProps");function ge(t,e=0){return setTimeout(t,e)}r(ge,"nextTick");function le(){return Date.now()}r(le,"now");function Xo(t){let e=N(),n;return e.getComputedStyle&&(n=e.getComputedStyle(t,null)),!n&&t.currentStyle&&(n=t.currentStyle),n||(n=t.style),n}r(Xo,"getComputedStyle");function Jn(t,e="x"){let n=N(),s,i,a,o=Xo(t,null);return n.WebKitCSSMatrix?(i=o.transform||o.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(c=>c.replace(",",".")).join(", ")),a=new n.WebKitCSSMatrix(i==="none"?"":i)):(a=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),s=a.toString().split(",")),e==="x"&&(n.WebKitCSSMatrix?i=a.m41:s.length===16?i=parseFloat(s[12]):i=parseFloat(s[4])),e==="y"&&(n.WebKitCSSMatrix?i=a.m42:s.length===16?i=parseFloat(s[13]):i=parseFloat(s[5])),i||0}r(Jn,"getTranslate");function At(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}r(At,"isObject");function qo(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}r(qo,"isNode");function X(...t){let e=Object(t[0]),n=["__proto__","constructor","prototype"];for(let s=1;s<t.length;s+=1){let i=t[s];if(i!=null&&!qo(i)){let a=Object.keys(Object(i)).filter(o=>n.indexOf(o)<0);for(let o=0,c=a.length;o<c;o+=1){let l=a[o],d=Object.getOwnPropertyDescriptor(i,l);d!==void 0&&d.enumerable&&(At(e[l])&&At(i[l])?i[l].__swiper__?e[l]=i[l]:X(e[l],i[l]):!At(e[l])&&At(i[l])?(e[l]={},i[l].__swiper__?e[l]=i[l]:X(e[l],i[l])):e[l]=i[l])}}}return e}r(X,"extend");function at(t,e,n){t.style.setProperty(e,n)}r(at,"setCSSProperty");function an({swiper:t,targetPosition:e,side:n}){let s=N(),i=-t.translate,a=null,o,c=t.params.speed;t.wrapperEl.style.scrollSnapType="none",s.cancelAnimationFrame(t.cssModeFrameID);let l=e>i?"next":"prev",d=r((h,p)=>l==="next"&&h>=p||l==="prev"&&h<=p,"isOutOfBound"),f=r(()=>{o=new Date().getTime(),a===null&&(a=o);let h=Math.max(Math.min((o-a)/c,1),0),p=.5-Math.cos(h*Math.PI)/2,g=i+p*(e-i);if(d(g,e)&&(g=e),t.wrapperEl.scrollTo({[n]:g}),d(g,e)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[n]:g})}),s.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=s.requestAnimationFrame(f)},"animate");f()}r(an,"animateCSSModeScroll");var es;function Ko(){let t=N(),e=k();return{smoothScroll:e.documentElement&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),passiveListener:r(function(){let s=!1;try{let i=Object.defineProperty({},"passive",{get(){s=!0}});t.addEventListener("testPassiveListener",null,i)}catch{}return s},"checkPassiveListener")(),gestures:r(function(){return"ongesturestart"in t},"checkGestures")()}}r(Ko,"calcSupport");function rn(){return es||(es=Ko()),es}
1r(rn,"getSupport");var ts;function Uo({userAgent:t}={}){let e=rn(),n=N(),s=n.navigator.platform,i=t||n.navigator.userAgent,a={ios:!1,android:!1},o=n.screen.width,c=n.screen.height,l=i.match(/(Android);?[\s\/]+([\d.]+)?/),d=i.match(/(iPad).*OS\s([\d_]+)/),f=i.match(/(iPod)(.*OS\s([\d_]+))?/),h=!d&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=s==="Win32",g=s==="MacIntel",v=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&g&&e.touch&&v.indexOf(`${o}x${c}`)>=0&&(d=i.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),g=!1),l&&!p&&(a.os="android",a.android=!0),(d||h||f)&&(a.os="ios",a.ios=!0),a}r(Uo,"calcDevice");function Ga(t={}){return ts||(ts=Uo(t)),ts}r(Ga,"getDevice");var ns;function Qo(){let t=N();function e(){let n=t.navigator.userAgent.toLowerCase();return n.indexOf("safari")>=0&&n.indexOf("chrome")<0&&n.indexOf("android")<0}return r(e,"isSafari"),{isSafari:e(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}r(Qo,"calcBrowser");function Ya(){return ns||(ns=Qo()),ns}r(Ya,"getBrowser");function ss({swiper:t,on:e,emit:n}){let s=N(),i=null,a=null,o=r(()=>{!t||t.destroyed||!t.initialized||(n("beforeResize"),n("resize"))},"resizeHandler"),c=r(()=>{!t||t.destroyed||!t.initialized||(i=new ResizeObserver(f=>{a=s.requestAnimationFrame(()=>{let{width:h,height:p}=t,g=h,v=p;f.forEach(({contentBoxSize:u,contentRect:m,target:y})=>{y&&y!==t.el||(g=m?m.width:(u[0]||u).inlineSize,v=m?m.height:(u[0]||u).blockSize)}),(g!==h||v!==p)&&o()})}),i.observe(t.el))},"createObserver"),l=r(()=>{a&&s.cancelAnimationFrame(a),i&&i.unobserve&&t.el&&(i.unobserve(t.el),i=null)},"removeObserver"),d=r(()=>{!t||t.destroyed||!t.initialized||n("orientationchange")},"orientationChangeHandler");e("init",()=>{if(t.params.resizeObserver&&typeof s.ResizeObserver<"u"){c();return}s.addEventListener("resize",o),s.addEventListener("orientationchange",d)}),e("destroy",()=>{l(),s.removeEventListener("resize",o),s.removeEventListener("orientationchange",d)})}r(ss,"Resize");function is({swiper:t,extendParams:e,on:n,emit:s}){let i=[],a=N(),o=r((d,f={})=>{let h=a.MutationObserver||a.WebkitMutationObserver,p=new h(g=>{if(g.length===1){s("observerUpdate",g[0]);return}let v=r(function(){s("observerUpdate",g[0])},"observerUpdate");a.requestAnimationFrame?a.requestAnimationFrame(v):a.setTimeout(v,0)});p.observe(d,{attributes:typeof f.attributes>"u"?!0:f.attributes,childList:typeof f.childList>"u"?!0:f.childList,characterData:typeof f.characterData>"u"?!0:f.characterData}),i.push(p)},"attach"),c=r(()=>{if(t.params.observer){if(t.params.observeParents){let d=t.$el.parents();for(let f=0;f<d.length;f+=1)o(d[f])}o(t.$el[0],{childList:t.params.observeSlideChildren}),o(t.$wrapperEl[0],{attributes:!1})}},"init"),l=r(()=>{i.forEach(d=>{d.disconnect()}),i.splice(0,i.length)},"destroy");e({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",c),n("destroy",l)}r(is,"Observer");var ja={on(t,e,n){let s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;let i=n?"unshift":"push";return t.split(" ").forEach(a=>{s.eventsListeners[a]||(s.eventsListeners[a]=[]),s.eventsListeners[a][i](e)}),s},once(t,e,n){let s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;function i(...a){s.off(t,i),i.__emitterProxy&&delete i.__emitterProxy,e.apply(s,a)}return r(i,"onceHandler"),i.__emitterProxy=e,s.on(t,i,n)},onAny(t,e){let n=this;if(!n.eventsListeners||n.destroyed||typeof t!="function")return n;let s=e?"unshift":"push";return n.eventsAnyListeners.indexOf(t)<0&&n.eventsAnyListeners[s](t),n},offAny(t){let e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;let n=e.eventsAnyListeners.indexOf(t);return n>=0&&e.eventsAnyListeners.splice(n,1),e},off(t,e){let n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||t.split(" ").forEach(s=>{typeof e>"u"?n.eventsListeners[s]=[]:n.eventsListeners[s]&&n.eventsListeners[s].forEach((i,a)=>{(i===e||i.__emitterProxy&&i.__emitterProxy===e)&&n.eventsListeners[s].splice(a,1)})}),n},emit(...t){let e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let n,s,i;return typeof t[0]=="string"||Array.isArray(t[0])?(n=t[0],s=t.slice(1,t.length),i=e):(n=t[0].events,s=t[0].data,i=t[0].context||e),s.unshift(i),(Array.isArray(n)?n:n.split(" ")).forEac
1h(o=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(c=>{c.apply(i,[o,...s])}),e.eventsListeners&&e.eventsListeners[o]&&e.eventsListeners[o].forEach(c=>{c.apply(i,s)})}),e}};function as(){let t=this,e,n,s=t.$el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=s[0].clientWidth,typeof t.params.height<"u"&&t.params.height!==null?n=t.params.height:n=s[0].clientHeight,!(e===0&&t.isHorizontal()||n===0&&t.isVertical())&&(e=e-parseInt(s.css("padding-left")||0,10)-parseInt(s.css("padding-right")||0,10),n=n-parseInt(s.css("padding-top")||0,10)-parseInt(s.css("padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(n)&&(n=0),Object.assign(t,{width:e,height:n,size:t.isHorizontal()?e:n}))}r(as,"updateSize");function rs(){let t=this;function e(x){return t.isHorizontal()?x:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[x]}r(e,"getDirectionLabel");function n(x,S){return parseFloat(x.getPropertyValue(e(S))||0)}r(n,"getDirectionPropertyValue");let s=t.params,{$wrapperEl:i,size:a,rtlTranslate:o,wrongRTL:c}=t,l=t.virtual&&s.virtual.enabled,d=l?t.virtual.slides.length:t.slides.length,f=i.children(`.${t.params.slideClass}`),h=l?t.virtual.slides.length:f.length,p=[],g=[],v=[],u=s.slidesOffsetBefore;typeof u=="function"&&(u=s.slidesOffsetBefore.call(t));let m=s.slidesOffsetAfter;typeof m=="function"&&(m=s.slidesOffsetAfter.call(t));let y=t.snapGrid.length,b=t.slidesGrid.length,_=s.spaceBetween,T=-u,C=0,M=0;if(typeof a>"u")return;typeof _=="string"&&_.indexOf("%")>=0&&(_=parseFloat(_.replace("%",""))/100*a),t.virtualSize=-_,o?f.css({marginLeft:"",marginBottom:"",marginTop:""}):f.css({marginRight:"",marginBottom:"",marginTop:""}),s.centeredSlides&&s.cssMode&&(at(t.wrapperEl,"--swiper-centered-offset-before",""),at(t.wrapperEl,"--swiper-centered-offset-after",""));let P=s.grid&&s.grid.rows>1&&t.grid;P&&t.grid.initSlides(h);let O,w=s.slidesPerView==="auto"&&s.breakpoints&&Object.keys(s.breakpoints).filter(x=>typeof s.breakpoints[x].slidesPerView<"u").length>0;for(let x=0;x<h;x+=1){O=0;let S=f.eq(x);if(P&&t.grid.updateSlide(x,S,h,e),S.css("display")!=="none"){if(s.slidesPerView==="auto"){w&&(f[x].style[e("width")]="");let L=getComputedStyle(S[0]),D=S[0].style.transform,oe=S[0].style.webkitTransform;if(D&&(S[0].style.transform="none"),oe&&(S[0].style.webkitTransform="none"),s.roun
1dLengths)O=t.isHorizontal()?S.outerWidth(!0):S.outerHeight(!0);else{let ue=n(L,"width"),q=n(L,"padding-left"),J=n(L,"padding-right"),Re=n(L,"margin-left"),pe=n(L,"margin-right"),ze=L.getPropertyValue("box-sizing");if(ze&&ze==="border-box")O=ue+Re+pe;else{let{clientWidth:St,offsetWidth:He}=S[0];O=ue+q+J+Re+pe+(He-St)}}D&&(S[0].style.transform=D),oe&&(S[0].style.webkitTransform=oe),s.roundLengths&&(O=Math.floor(O))}else O=(a-(s.slidesPerView-1)*_)/s.slidesPerView,s.roundLengths&&(O=Math.floor(O)),f[x]&&(f[x].style[e("width")]=`${O}px`);f[x]&&(f[x].swiperSlideSize=O),v.push(O),s.centeredSlides?(T=T+O/2+C/2+_,C===0&&x!==0&&(T=T-a/2-_),x===0&&(T=T-a/2-_),Math.abs(T)<1/1e3&&(T=0),s.roundLengths&&(T=Math.floor(T)),M%s.slidesPerGroup===0&&p.push(T),g.push(T)):(s.roundLengths&&(T=Math.floor(T)),(M-Math.min(t.params.slidesPerGroupSkip,M))%t.params.slidesPerGroup===0&&p.push(T),g.push(T),T=T+O+_),t.virtualSize+=O+_,C=O,M+=1}}if(t.virtualSize=Math.max(t.virtualSize,a)+m,o&&c&&(s.effect==="slide"||s.effect==="coverflow")&&i.css({width:`${t.virtualSize+s.spaceBetween}px`}),s.setWrapperSize&&i.css({[e("width")]:`${t.virtualSize+s.spaceBetween}px`}),P&&t.grid.updateWrapperSize(O,p,e),!s.centeredSlides){let x=[];for(let S=0;S<p.length;S+=1){let L=p[S];s.roundLengths&&(L=Math.floor(L)),p[S]<=t.virtualSize-a&&x.push(L)}p=x,Math.floor(t.virtualSize-a)-Math.floor(p[p.length-1])>1&&p.push(t.virtualSize-a)}if(p.length===0&&(p=[0]),s.spaceBetween!==0){let x=t.isHorizontal()&&o?"marginLeft":e("marginRight");f.filter((S,L)=>s.cssMode?L!==f.length-1:!0).css({[x]:`${_}px`})}if(s.centeredSlides&&s.centeredSlidesBounds){let x=0;v.forEach(L=>{x+=L+(s.spaceBetween?s.spaceBetween:0)}),x-=s.spaceBetween;let S=x-a;p=p.map(L=>L<0?-u:L>S?S+m:L)}if(s.centerInsufficientSlides){let x=0;if(v.forEach(S=>{x+=S+(s.spaceBetween?s.spaceBetween:0)}),x-=s.spaceBetween,x<a){let S=(a-x)/2;p.forEach((L,D)=>{p[D]=L-S}),g.forEach((L,D)=>{g[D]=L+S})}}if(Object.assign(t,{slides:f,snapGrid:p,slidesGrid:g,slidesSizesGrid:v}),s.centeredSlides&&s.cssMode&&!s.centeredSlidesBounds){at(t.wrapperEl,"--swiper-centered-offset-before",`${-p[0]}px`),at(t.wrapperEl,"--swiper-centered-offset-after",`${t.size/2-v[v.length-1]/2}px`);let x=-t.snapGrid[0],S=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(L=>L+x),t.slidesGrid=t.slidesGrid.map(L=>L+S)}if(h!==d&&t.emit("slidesLengthChange"),p.length!==y&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),g.length!==b&&t.emit("slidesGridLengthChange"),s.watchSlidesProgress&&t.updateSlidesOffset(),!l&&!s.cssMode&&(s.effect==="slide"||s.effect==="fade")){let x=`${s.containerModifierClass}backface-hidden`,S=t.$el.hasClass(x);h<=s.maxBackfaceHiddenSlides?S||t.$el.addClass(x):S&&t.$el.removeClass(x)}}r(rs,"updateSlides");function os(t){let e=this,n=[],s=e.virtual&&e.params.virtual.enabled,i=0,a;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);let o=r(c=>s?e.slides.filter(l=>parseInt(l.getAttribute("data-swiper-slide-index"),10)===c)[0]:e.slides.eq(c)[0],"getSlideByIndex");if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||$([])).each(c=>{n.push(c)});else for(a=0;a<Math.ceil(e.params.slidesPerView);a+=1){let c=e.activeIndex+a;if(c>e.slides.length&&!s)break;n.push(o(c))}else n.push(o(e.activeIndex));for(a=0;a<n.length;a+=1)if(typeof n[a]<"u"){let c=n[a].offsetHeight;i=c>i?c:i}(i||i===0)&&e.$wrapperEl.css("height",`${i}px`)}r(os,"updateAutoHeight");function ls(){let t=this,e=t.slides;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop}r(ls,"updateSlidesOffset");function cs(t=this&&this.translate||0){let e=this,n=e.params,{slides:s,rtlTranslate:i,snapGrid:a}=e;if(s.length===0)return;typeof s[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let o=-t;i&&(o=t),s.removeClass(n.slideVisibleClass),e.visibleSlidesIndexes=[],e.visibleSlides=[];for(let c=0;c<s.length;c+=1){let l=s[c],d=l.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(d-=s[0].swiperSlideOffset);let f=(o+(n.centeredSlides?e.minTranslate():0)-d)/(l.swiperSlideSize+n.spaceBetween),h=(o-a[0]+(n.centeredSlides?e.minTranslate():0)-d)/(l.swiperSlideSize+n.spaceBetween),p=-(o-d),g=p+e.slidesSizesGrid[c];(p>=0&&p<e.size-1||g>1&&g<=e.size||p<=0&&g>=e.size)&&(e.visibleSlides.push(l),e.visibleSlidesIndexes.push(c),s.eq(c).addClass(n.slideVisibleClass)),l.progress=i?-f:f,l.originalProgress=i?-h:h}e.visibleSlides=$(e.visibleSlides)}r(cs,"updateSlidesProgress");function ds(t){let e=this;if(typeof t>"u"){let d=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*d||0}let n=e.params,s=e.maxTranslate()-e.minTranslate(),{progress:i,isBeginning:a,isEnd:o}=e,c=a,l=o;s===0?(i=0,a=!0,o=!0):(i=(t-e.minTranslate())/s,a=i<=0,o=i>=1),Object.assign(e,{progress:i,isBeginning:a,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&e.updateSlidesProgress(t),a&&!c&&e.emit("reachBeginning toEdge"),o&&!l&&e.emit("reachEnd toEdge"),(c&&!a||l&&!o)&&e.emit("fromEdge"),e.emit("progress",i)}r(ds,"updateProgress");function fs(){let t=this,{slides:e,params:n,$wrapperEl:s,activeIndex:i,realIndex:a}=t,o=t.virtual&&n.virtual.enabled;e.removeClass(`${n.slideActiveClass} ${n.slideNextClass} ${n.slidePrevClass} ${n.slideDuplicateActiveClass} ${n.slideDuplicateNextClass} ${n.slideDuplicatePrevClass}`);let c;o?c=t.$wrapperEl.find(`.${n.slideClass}[data-swiper-slide-index="${i}"]`):c=e.eq(i),c.addClass(n.slideActiveClass),n.loop&&(c.hasClass(n.slideDuplicateClass)?s.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${a}"]`).addClass(n.slideDuplicateActiveClass):s.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${a}"]`).addClass(n.slideDuplicateActiveClass));let l=c.nextAll(`.${n.slideClass}`).eq(0).addClass(n.slideNextClass);n.loop&&l.length===0&&(l=e.eq(0),l.addClass(n.slideNextClass));let d=c.prevAll(`.${n.slideClass}`).eq(0).addClass(n.slidePrevClass);
1n.loop&&d.length===0&&(d=e.eq(-1),d.addClass(n.slidePrevClass)),n.loop&&(l.hasClass(n.slideDuplicateClass)?s.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass):s.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass),d.hasClass(n.slideDuplicateClass)?s.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass):s.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass)),t.emitSlidesClasses()}r(fs,"updateSlidesClasses");function us(t){let e=this,n=e.rtlTranslate?e.translate:-e.translate,{slidesGrid:s,snapGrid:i,params:a,activeIndex:o,realIndex:c,snapIndex:l}=e,d=t,f;if(typeof d>"u"){for(let p=0;p<s.length;p+=1)typeof s[p+1]<"u"?n>=s[p]&&n<s[p+1]-(s[p+1]-s[p])/2?d=p:n>=s[p]&&n<s[p+1]&&(d=p+1):n>=s[p]&&(d=p);a.normalizeSlideIndex&&(d<0||typeof d>"u")&&(d=0)}if(i.indexOf(n)>=0)f=i.indexOf(n);else{let p=Math.min(a.slidesPerGroupSkip,d);f=p+Math.floor((d-p)/a.slidesPerGroup)}if(f>=i.length&&(f=i.length-1),d===o){f!==l&&(e.snapIndex=f,e.emit("snapIndexChange"));return}let h=parseInt(e.slides.eq(d).attr("data-swiper-slide-index")||d,10);Object.assign(e,{snapIndex:f,realIndex:h,previousIndex:o,activeIndex:d}),e.emit("activeIndexChange"),e.emit("snapIndexChange"),c!==h&&e.emit("realIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&e.emit("slideChange")}r(us,"updateActiveIndex");function ps(t){let e=this,n=e.params,s=$(t).closest(`.${n.slideClass}`)[0],i=!1,a;if(s){for(let o=0;o<e.slides.length;o+=1)if(e.slides[o]===s){i=!0,a=o;break}}if(s&&i)e.clickedSlide=s,e.virtual&&e.params.virtual.enabled?e.clickedIndex=parseInt($(s).attr("data-swiper-slide-index"),10):e.clickedIndex=a;else{e.clickedSlide=void 0,e.clickedIndex=void 0;return}n.slideToClickedSlide&&e.clickedIndex!==void 0&&e.clickedIndex!==e.activeIndex&&e.slideToClickedSlide()}r(ps,"updateClickedSlide");var Xa={updateSize:as,updateSlides:rs,updateAutoHeight:os,updateSlidesOffset:ls,updateSlidesProgress:cs,updateProgress:ds,updateSlidesClasses:fs,updateActiveIndex:us,updateClickedSlide:ps};function ms(t=this.isHorizontal()?"x":"y"){let e=this,{params:n,rtlTranslate:s,translate:i,$wrapperEl:a}=e;if(n.virtualTranslate)return s?-i:i;if(n.cssMode)return i;let o=Jn(a[0],t);return s&&(o=-o),o||0}r(ms,"getSwiperTranslate");function hs(t,e){let n=this,{rtlTranslate:s,params:i,$wrapperEl:a,wrapperEl:o,progress:c}=n,l=0,d=0,f=0;n.isHorizontal()?l=s?-t:t:d=t,i.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),i.cssMode?o[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-d:i.virtualTranslate||a.transform(`translate3d(${l}px, ${d}px, ${f}px)`),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:d;let h,p=n.maxTranslate()-n.minTranslate();p===0?h=0:h=(t-n.minTranslate())/p,h!==c&&n.updateProgress(t),n.emit("setTranslate",n.translate,e)}r(hs,"setTranslate");function gs(){return-this.snapGrid[0]}r(gs,"minTranslate");function vs(){return-this.snapGrid[this.snapGrid.length-1]}r(vs,"maxTranslate");function Es(t=0,e=this.params.speed,n=!0,s=!0,i){let a=this,{params:o,wrapperEl:c}=a;if(a.animating&&o.preventInteractionOnTransition)return!1;let l=a.minTranslate(),d=a.maxTranslate(),f;if(s&&t>l?f=l:s&&t<d?f=d:f=t,a.updateProgress(f),o.cssMode){let h=a.isHorizontal();if(e===0)c[h?"scrollLeft":"scrollTop"]=-f;else{if(!a.support.smoothScroll)return an({swiper:a,targetPosition:-f,side:h?"left":"top"}),!0;c.scrollTo({[h?"left":"top"]:-f,behavior:"smooth"})}return!0}return e===0?(a.setTransition(0),a.setTranslate(f),n&&(a.emit("beforeTransitionStart",e,i),a.emit("transitionEnd"))):(a.setTransition(e),a.setTranslate(f),n&&(a.emit("beforeTransitionStart",e,i),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=r(function(p){!a||a.destroyed||p.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,n&&a.emit("transitionEnd"))},"transitionEnd")),a.$wrapperEl[0].addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd))),!0}r(Es,"translateTo");var qa={getTranslate:ms,setTranslate:hs,minTranslate:gs,maxTranslate:vs,translateTo:Es};function bs(t,e){let n=this;n.params.cssMode||n.$wrapperEl.transition(t),n.emit("setTransition",t,e)}r(bs,"setTransition");function Mt({swiper:t,runCallbacks:e,direction:n,step:s}){let{activeIndex:i,previousIndex:a}=t,o=n;if(o||(i>
1a?o="next":i<a?o="prev":o="reset"),t.emit(`transition${s}`),e&&i!==a){if(o==="reset"){t.emit(`slideResetTransition${s}`);return}t.emit(`slideChangeTransition${s}`),o==="next"?t.emit(`slideNextTransition${s}`):t.emit(`slidePrevTransition${s}`)}}r(Mt,"transitionEmit");function ys(t=!0,e){let n=this,{params:s}=n;s.cssMode||(s.autoHeight&&n.updateAutoHeight(),Mt({swiper:n,runCallbacks:t,direction:e,step:"Start"}))}r(ys,"transitionStart");function _s(t=!0,e){let n=this,{params:s}=n;n.animating=!1,!s.cssMode&&(n.setTransition(0),Mt({swiper:n,runCallbacks:t,direction:e,step:"End"}))}r(_s,"transitionEnd");var Ka={setTransition:bs,transitionStart:ys,transitionEnd:_s};function Ts(t=0,e=this.params.speed,n=!0,s,i){if(typeof t!="number"&&typeof t!="string")throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof t}] given.`);if(typeof t=="string"){let _=parseInt(t,10);if(!isFinite(_))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${t}] given.`);t=_}let a=this,o=t;o<0&&(o=0);let{params:c,snapGrid:l,slidesGrid:d,previousIndex:f,activeIndex:h,rtlTranslate:p,wrapperEl:g,enabled:v}=a;if(a.animating&&c.preventInteractionOnTransition||!v&&!s&&!i)return!1;let u=Math.min(a.params.slidesPerGroupSkip,o),m=u+Math.floor((o-u)/a.params.slidesPerGroup);m>=l.length&&(m=l.length-1);let y=-l[m];if(c.normalizeSlideIndex)for(let _=0;_<d.length;_+=1){let T=-Math.floor(y*100),C=Math.floor(d[_]*100),M=Math.floor(d[_+1]*100);typeof d[_+1]<"u"?T>=C&&T<M-(M-C)/2?o=_:T>=C&&T<M&&(o=_+1):T>=C&&(o=_)}if(a.initialized&&o!==h&&(!a.allowSlideNext&&y<a.translate&&y<a.minTranslate()||!a.allowSlidePrev&&y>a.translate&&y>a.maxTranslate()&&(h||0)!==o))return!1;o!==(f||0)&&n&&a.emit("beforeSlideChangeStart"),a.updateProgress(y);let b;if(o>h?b="next":o<h?b="prev":b="reset",p&&-y===a.translate||!p&&y===a.translate)return a.updateActiveIndex(o),c.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),c.effect!=="slide"&&a.setTranslate(y),b!=="reset"&&(a.transitionStart(n,b),a.transitionEnd(n,b)),!1;if(c.cssMode){let _=a.isHorizontal(),T=p?y:-y;if(e===0){let C=a.virtual&&a.params.virtual.enabled;C&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),g[_?"scrollLeft":"scrollTop"]=T,C&&requestAnimationFrame(()=>{a.wrapperEl.style.scrollSnapType="",a._swiperImmediateVirtual=!1})}else{if(!a.support.smoothScroll)return an({swiper:a,targetPosition:T,side:_?"left":"top"}),!0;g.scrollTo({[_?"left":"top"]:T,behavior:"smooth"})}return!0}return a.setTransition(e),a.setTranslate(y),a.updateActiveIndex(o),a.updateSlidesClasses(),a.emit("beforeTransitionStart",e,s),a.transitionStart(n,b),e===0?a.transitionEnd(n,b):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=r(function(T){!a||a.destroyed||T.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(n,b))},"transitionEnd")),a.$wrapperEl[0].addEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd)),!0}r(Ts,"slideTo");function xs(t=0,e=this.params.speed,n=!0,s){if(typeof t=="string"){let o=parseInt(t,10);if(!isFinite(o))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${t}] given.`);t=o}let i=this,a=t;return i.params.loop&&(a+=i.loopedSlides),i.slideTo(a,e,n,s)}r(xs,"slideToLoop");function Ss(t=this.params.speed,e=!0,n){let s=this,{animating:i,enabled:a,params:o}=s;if(!a)return s;let c=o.slidesPerGroup;o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(c=Math.max(s.slidesPerViewDynamic("current",!0),1));let l=s.activeIndex<o.slidesPerGroupSkip?1:c;if(o.loop){if(i&&o.loopPreventsSlide)return!1;s.loopFix(),s._clientLeft=s.$wrapperEl[0].clientLeft}return o.rewind&&s.isEnd?s.slideTo(0,t,e,n):s.slideTo(s.activeIndex+l,t,e,n)}r(Ss,"slideNext");function Cs(t=this.params.speed,e=!0,n){let s=this,{params:i,animating:a,snapGrid:o,slidesGrid:c,rtlTranslate:l,enabled:d}=s;if(!d)return s;if(i.loop){if(a&&i.loopPreventsSlide)return!1;s.loopFix(),s._clientLeft=s.$wrapperEl[0].clientLeft}let f=l?s.translate:-s.translate;function h(m){return m<0?-Math.floor(Math.abs(m)):Math.floor(m)}r(h,"normalize");let p=h(f),g=o.map(m=>h(m)),v=o[g.indexOf(p)-1];if(typeof v>"u"&&i.cssMode){let m;o.forEach((y,b)=>{p>=y&&(m=b)}),typeof m<"u"&&(v=o[m>0?m-1:m])}let u=0;if(typeof v<"u"&&(u=c.indexOf(v),u<0&&(u=s.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(u=u-s.slidesPerViewDynamic("previous",!0)+1,u=Math.max(u,0))),i.rewind&&s.isBeginning){let m=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(m,t,e,n)}return s.slideTo(u,t,e,n)}r(Cs,"slidePrev");function $s(t=this.params.speed,e=!0,n){let s=this;return s.slideTo(s.activeIndex,t,e,n)}r($s,"slideReset");function As(t=this.params.speed,e=!0,n,s=.5){let i=this,a=i.activeIndex,o=Math.min(i.params.slidesPerGroupSkip,a),c=o+Math.floor((a-o)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[c]){let d=i.snapGrid[c],f=i.snapGrid[c+1];l-d>(f-d)*s&&(a+=i.params.slidesPerGroup)}else{let d=i.snapGrid[c-1],f=i.snapGrid[c];l-d<=(f-d)*s&&(a-=i.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,i.slidesGrid.length-1),i.slideTo(a,t,e,n)}r(As,"slideToClosest");function Ms(){let t=this,{params:e,$wrapperEl:n}=t,s=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView,i=t.clickedIndex,a;if(e.loop){if(t.animating)return;a=parseInt($(t.clickedSlide).attr("data-swiper-slide-index"),10),e.centeredSlides?i<t.loopedSlides-s/2||i>t.slides.length-t.loopedSlides+s/2?(t.loopFix(),i=n.children(`.${e.slideClass}[data-swiper-slide-index="${a}"]:not(.${e.slideDuplicateClass})`).eq(0).index(),ge(()=>{t.slideTo(i)})):t.slideTo(i):i>t.slides.length-s?(t.loopFix(),i=n.children(`.${e.slideClass}[data-swiper-slide-index="${a}"]:not(.${e.slideDuplicateClass})`).eq(0).index(),ge(()=>{t.slideTo(i)})):t.slideTo(i)}else t.slideTo(i)}r(Ms,"slideToClickedSlide");var Ua={slideTo:Ts,slideToLoop:xs,slideNext:Ss,slidePrev:Cs,slideReset:$s,slideToClosest:As,slideToClickedSlide:Ms};function Os(){let t=this,e=k(),{params:n,$wrapperEl:s}=t,i=s.children().length>0?$(s.children()[0].parentNode):s;i.children(`.${n.slideClass}.${n.slideDuplicateClass}`).remove();let a=i.children(`.${n.slideClass}`);
1if(n.loopFillGroupWithBlank){let l=n.slidesPerGroup-a.length%n.slidesPerGroup;if(l!==n.slidesPerGroup){for(let d=0;d<l;d+=1){let f=$(e.createElement("div")).addClass(`${n.slideClass} ${n.slideBlankClass}`);i.append(f)}a=i.children(`.${n.slideClass}`)}}n.slidesPerView==="auto"&&!n.loopedSlides&&(n.loopedSlides=a.length),t.loopedSlides=Math.ceil(parseFloat(n.loopedSlides||n.slidesPerView,10)),t.loopedSlides+=n.loopAdditionalSlides,t.loopedSlides>a.length&&t.params.loopedSlidesLimit&&(t.loopedSlides=a.length);let o=[],c=[];a.each((l,d)=>{$(l).attr("data-swiper-slide-index",d)});for(let l=0;l<t.loopedSlides;l+=1){let d=l-Math.floor(l/a.length)*a.length;c.push(a.eq(d)[0]),o.unshift(a.eq(a.length-d-1)[0])}for(let l=0;l<c.length;l+=1)i.append($(c[l].cloneNode(!0)).addClass(n.slideDuplicateClass));for(let l=o.length-1;l>=0;l-=1)i.prepend($(o[l].cloneNode(!0)).addClass(n.slideDuplicateClass))}r(Os,"loopCreate");function Ls(){let t=this;t.emit("beforeLoopFix");let{activeIndex:e,slides:n,loopedSlides:s,allowSlidePrev:i,allowSlideNext:a,snapGrid:o,rtlTranslate:c}=t,l;t.allowSlidePrev=!0,t.allowSlideNext=!0;let f=-o[e]-t.getTranslate();e<s?(l=n.length-s*3+e,l+=s,t.slideTo(l,0,!1,!0)&&f!==0&&t.setTranslate((c?-t.translate:t.translate)-f)):e>=n.length-s&&(l=-n.length+e+s,l+=s,t.slideTo(l,0,!1,!0)&&f!==0&&t.setTranslate((c?-t.translate:t.translate)-f)),t.allowSlidePrev=i,t.allowSlideNext=a,t.emit("loopFix")}r(Ls,"loopFix");function Is(){let t=this,{$wrapperEl:e,params:n,slides:s}=t;e.children(`.${n.slideClass}.${n.slideDuplicateClass},.${n.slideClass}.${n.slideBlankClass}`).remove(),s.removeAttr("data-swiper-slide-index")}r(Is,"loopDestroy");var Qa={loopCreate:Os,loopFix:Ls,loopDestroy:Is};function Ps(t){let e=this;if(e.support.touch||!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;let n=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;n.style.cursor="move",n.style.cursor=t?"grabbing":"grab"}r(Ps,"setGrabCursor");function Ns(){let t=this;t.support.touch||t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="")}r(Ns,"unsetGrabCursor");var Za={setGrabCursor:Ps,unsetGrabCursor:Ns};function Zo(t,e=this){function n(s){if(!s||s===k()||s===N())return null;s.assignedSlot&&(s=s.assignedSlot);let i=s.closest(t);return!i&&!s.getRootNode?null:i||n(s.getRootNode().host)}return r(n,"__closestFrom"),n(e)}r(Zo,"closestElement");function Ds(t){let e=this,n=k(),s=N(),i=e.touchEventsData,{params:a,touches:o,enabled:c}=e;if(!c||e.animating&&a.preventInteractionOnTransition)return;!e.animating&&a.cssMode&&a.loop&&e.loopFix();let l=t;l.originalEvent&&(l=l.originalEvent);let d=$(l.target);if(a.touchEventsTarget==="wrapper"&&!d.closest(e.wrapperEl).length||(i.isTouchEvent=l.type==="touchstart",!i.isTouchEvent&&"which"in l&&l.which===3)||!i.isTouchEvent&&"button"in l&&l.button>0||i.isTouched&&i.isMoved)return;let f=!!a.noSwipingClass&&a.noSwipingClass!=="",h=t.composedPath?t.composedPath():t.path;f&&l.target&&l.target.shadowRoot&&h&&(d=$(h[0]));let p=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,g=!!(l.target&&l.target.shadowRoot);if(a.noSwiping&&(g?Zo(p,d[0]):d.closest(p)[0])){e.allowClick=!0;return}if(a.swipeHandler&&!d.closest(a.swipeHandler)[0])return;o.currentX=l.type==="touchstart"?l.targetTouches[0].pageX:l.pageX,o.currentY=l.type==="touchstart"?l.targetTouches[0].pageY:l.pageY;let v=o.currentX,u=o.currentY,m=a.edgeSwipeDetection||a.iOSEdgeSwipeDetection,y=a.edgeSwipeThreshold||a.iOSEdgeSwipeThreshold;if(m&&(v<=y||v>=s.innerWidth-y))if(m==="prevent")t.preventDefault();else return;if(Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=v,o.startY=u,i.touchStartTime=le(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,a.threshold>0&&(i.allowThresholdMove=!1),l.type!=="touchstart"){let b=!0;d.is(i.focusableElements)&&(b=!1,d[0].nodeName==="SELECT"&&(i.isTouched=!1)),n.activeElement&&$(n.activeElement).is(i.focusableElements)&&n.activeElement!==d[0]&&n.activeElement.blur();let _=b&&e.allowTouchMove&&a.touchStartPreventDefault;(a.touchStartForcePreventDefault||_)&&!d[0].isContentEditable&&l.preventDefault()}e.params.freeMode&&e.params.freeMode.enabled&&e.freeMode&&e.animating&&!a.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",l)}r(Ds,"onTouchStart");function ws(t){let e=k(),n=this,s=n.touchEventsData,{params:i,touches:a,rtlTranslate:o,enabled:c}=n;if(!c)return;let l=t;if(l.originalEvent&&(l=l.originalEvent),!s.isTouched){s.startMoving&&s.isScrolling&&n.emit("touchMoveOpposite",l);return}if(s.isTouchEvent&&l.type!=="touchmove")return;let d=l.type==="touchmove"&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),f=l.type==="touchmove"?d.pageX:l.pageX,h=l.type==="touchmove"?d.pageY:l.pageY;if(l.preventedByNestedSwiper){a.startX=f,a.startY=h;return}if(!n.allowTouchMove){$(l.target).is(s.focusableElements)||(n.allowClick=!1),s.isTouched&&(Object.assign(a,{startX:f,startY:h,currentX:f,currentY:h}),s.touchStartTime=le());return}if(s.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop){if(n.isVertical()){if(h<a.startY&&n.translate<=n.maxTranslate()||h>a.startY&&n.translate>=n.minTranslate()){s.isTouched=!1,s.isMoved=!1;return}}else if(f<a.startX&&n.translate<=n.maxTranslate()||f>a.startX&&n.translate>=n.minTranslate())return}if(s.isTouchEvent&&e.activeElement&&l.target===e.activeElement&&$(l.target).is(s.focusableElements)){s.isMoved=!0,n.allowClick=!1;return}if(s.allowTouchCallbacks&&n.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;a.currentX=f,a.currentY=h;let p=a.currentX-a.startX,g=a.currentY-a.startY;if(n.params.threshold&&Math.sqrt(p**2+g**2)<n.params.threshold)return;if(typeof s.isScrolling>"u"){let y;n.isHorizontal()&&a.currentY===a.startY||n.isVertical()&&a.currentX===a.startX?s.isScrolling=!1:p*p+g*g>=25&&(y=Math.atan2(Math.abs(g),Math.abs(p))*180/Math.PI,s.isScrolling=n.isHorizontal()?y>i.touchAngle:90-y>i.touchAngle)}if(s.isScrolling&&n.emit("touchMoveOpposite",l),typeof s.startMoving>"u"&&(a.currentX!==a.startX||a.currentY!==a.startY)&&(s.startMoving=!0),s.isScrolling){s.isTouched=!1;return}if(!s.startMoving)return;n.allowClick=!1,!i.cssMode&&l.cancelable&&l.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&l.stopPropagation(),s.isMoved||(i.loop&&!i.cssMode&&n.loopFix(),s.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),s.allowMomentumBounce
1=!1,i.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",l)),n.emit("sliderMove",l),s.isMoved=!0;let v=n.isHorizontal()?p:g;a.diff=v,v*=i.touchRatio,o&&(v=-v),n.swipeDirection=v>0?"prev":"next",s.currentTranslate=v+s.startTranslate;let u=!0,m=i.resistanceRatio;if(i.touchReleaseOnEdges&&(m=0),v>0&&s.currentTranslate>n.minTranslate()?(u=!1,i.resistance&&(s.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+s.startTranslate+v)**m)):v<0&&s.currentTranslate<n.maxTranslate()&&(u=!1,i.resistance&&(s.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-s.startTranslate-v)**m)),u&&(l.preventedByNestedSwiper=!0),!n.allowSlideNext&&n.swipeDirection==="next"&&s.currentTranslate<s.startTranslate&&(s.currentTranslate=s.startTranslate),!n.allowSlidePrev&&n.swipeDirection==="prev"&&s.currentTranslate>s.startTranslate&&(s.currentTranslate=s.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(s.currentTranslate=s.startTranslate),i.threshold>0)if(Math.abs(v)>i.threshold||s.allowThresholdMove){if(!s.allowThresholdMove){s.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,s.currentTranslate=s.startTranslate,a.diff=n.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY;return}}else{s.currentTranslate=s.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),n.params.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(s.currentTranslate),n.setTranslate(s.currentTranslate))}r(ws,"onTouchMove");function ks(t){let e=this,n=e.touchEventsData,{params:s,touches:i,rtlTranslate:a,slidesGrid:o,enabled:c}=e;if(!c)return;let l=t;if(l.originalEvent&&(l=l.originalEvent),n.allowTouchCallbacks&&e.emit("touchEnd",l),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&s.grabCursor&&e.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}s.grabCursor&&n.isMoved&&n.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);let d=le(),f=d-n.touchStartTime;if(e.allowClick){let b=l.path||l.composedPath&&l.composedPath();e.updateClickedSlide(b&&b[0]||l.target),e.emit("tap click",l),f<300&&d-n.lastClickTime<300&&e.emit("doubleTap doubleClick",l)}if(n.lastClickTime=le(),ge(()=>{e.destroyed||(e.allowClick=!0)}),!n.isTouched||!n.isMoved||!e.swipeDirection||i.diff===0||n.currentTranslate===n.startTranslate){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let h;if(s.followFinger?h=a?e.translate:-e.translate:h=-n.currentTranslate,s.cssMode)return;if(e.params.freeMode&&s.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:h});return}let p=0,g=e.slidesSizesGrid[0];for(let b=0;b<o.length;b+=b<s.slidesPerGroupSkip?1:s.slidesPerGroup){let _=b<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;typeof o[b+_]<"u"?h>=o[b]&&h<o[b+_]&&(p=b,g=o[b+_]-o[b]):h>=o[b]&&(p=b,g=o[o.length-1]-o[o.length-2])}let v=null,u=null;s.rewind&&(e.isBeginning?u=e.params.virtual&&e.params.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(v=0));let m=(h-o[p])/g,y=p<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(f>s.longSwipesMs){if(!s.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(m>=s.longSwipesRatio?e.slideTo(s.rewind&&e.isEnd?v:p+y):e.slideTo(p)),e.swipeDirection==="prev"&&(m>1-s.longSwipesRatio?e.slideTo(p+y):u!==null&&m<0&&Math.abs(m)>s.longSwipesRatio?e.slideTo(u):e.slideTo(p))}else{if(!s.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(l.target===e.navigation.nextEl||l.target===e.navigation.prevEl)?l.target===e.navigation.nextEl?e.slideTo(p+y):e.slideTo(p):(e.swipeDirection==="next"&&e.slideTo(v!==null?v:p+y),e.swipeDirection==="prev"&&e.slideTo(u!==null?u:p))}}r(ks,"onTouchEnd");function on(){let t=this,{params:e,el:n}=t;if(n&&n.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();let{allowSlideNext:s,allowSlidePrev:i,snapGrid:a}=t;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses(),(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.run(),t.allowSlidePrev=i,t.allowSlideNext=s,t.params.watchOverflow&&a!==t.snapGrid&&t.checkOverflow()}r(on,"onResize");function Rs(t){let e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}r(Rs,"onClick");function zs(){let t=this,{wrapperEl:e,rtlTranslate:n,enabled:s}=t;if(!s)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let i,a=t.maxTranslate()-t.minTranslate();a===0?i=0:i=(t.translate-t.minTranslate())/a,i!==t.progress&&t.updateProgress(n?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}r(zs,"onScroll");var Ja=!1;function Jo(){}r(Jo,"dummyEventListener");var er=r((t,e)=>{let n=k(),{params:s,touchEvents:i,el:a,wrapperEl:o,device:c,support:l}=t,d=!!s.nested,f=e==="on"?"addEventListener":"removeEventListener",h=e;if(!l.touch)a[f](i.start,t.onTouchStart,!1),n[f](i.move,t.onTouchMove,d),n[f](i.end,t.onTouchEnd,!1);else{let p=i.start==="touchstart"&&l.passiveListener&&s.passiveListeners?{passive:!0,capture:!1}:!1;a[f](i.start,t.onTouchStart,p),a[f](i.move,t.onTouchMove,l.passiveListener?{passive:!1,capture:d}:d),a[f](i.end,t.onTouchEnd,p),i.cancel&&a[f](i.cancel,t.onTouchEnd,p)}(s.preventClicks||s.preventClicksPropagation)&&a[f]("click",t.onClick,!0),s.cssMode&&o[f]("scroll",t.onScroll),s.updateOnWindowResize?t[h](c.ios||
1c.android?"resize orientationchange observerUpdate":"resize observerUpdate",on,!0):t[h]("observerUpdate",on,!0)},"events");function el(){let t=this,e=k(),{params:n,support:s}=t;t.onTouchStart=Ds.bind(t),t.onTouchMove=ws.bind(t),t.onTouchEnd=ks.bind(t),n.cssMode&&(t.onScroll=zs.bind(t)),t.onClick=Rs.bind(t),s.touch&&!Ja&&(e.addEventListener("touchstart",Jo),Ja=!0),er(t,"on")}r(el,"attachEvents");function tl(){er(this,"off")}r(tl,"detachEvents");var tr={attachEvents:el,detachEvents:tl};var nr=r((t,e)=>t.grid&&e.grid&&e.grid.rows>1,"isGridEnabled");function Hs(){let t=this,{activeIndex:e,initialized:n,loopedSlides:s=0,params:i,$el:a}=t,o=i.breakpoints;if(!o||o&&Object.keys(o).length===0)return;let c=t.getBreakpoint(o,t.params.breakpointsBase,t.el);if(!c||t.currentBreakpoint===c)return;let d=(c in o?o[c]:void 0)||t.originalParams,f=nr(t,i),h=nr(t,d),p=i.enabled;f&&!h?(a.removeClass(`${i.containerModifierClass}grid ${i.containerModifierClass}grid-column`),t.emitContainerClasses()):!f&&h&&(a.addClass(`${i.containerModifierClass}grid`),(d.grid.fill&&d.grid.fill==="column"||!d.grid.fill&&i.grid.fill==="column")&&a.addClass(`${i.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(m=>{let y=i[m]&&i[m].enabled,b=d[m]&&d[m].enabled;y&&!b&&t[m].disable(),!y&&b&&t[m].enable()});let g=d.direction&&d.direction!==i.direction,v=i.loop&&(d.slidesPerView!==i.slidesPerView||g);g&&n&&t.changeDirection(),X(t.params,d);let u=t.params.enabled;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),p&&!u?t.disable():!p&&u&&t.enable(),t.currentBreakpoint=c,t.emit("_beforeBreakpoint",d),v&&n&&(t.loopDestroy(),t.loopCreate(),t.updateSlides(),t.slideTo(e-s+t.loopedSlides,0,!1)),t.emit("breakpoint",d)}r(Hs,"setBreakpoint");function Vs(t,e="window",n){if(!t||e==="container"&&!n)return;let s=!1,i=N(),a=e==="window"?i.innerHeight:n.clientHeight,o=Object.keys(t).map(c=>{if(typeof c=="string"&&c.indexOf("@")===0){let l=parseFloat(c.substr(1));return{value:a*l,point:c}}return{value:c,point:c}});o.sort((c,l)=>
1parseInt(c.value,10)-parseInt(l.value,10));for(let c=0;c<o.length;c+=1){let{point:l,value:d}=o[c];e==="window"?i.matchMedia(`(min-width: ${d}px)`).matches&&(s=l):d<=n.clientWidth&&(s=l)}return s||"max"}r(Vs,"getBreakpoint");var sr={setBreakpoint:Hs,getBreakpoint:Vs};function nl(t,e){let n=[];return t.forEach(s=>{typeof s=="object"?Object.keys(s).forEach(i=>{s[i]&&n.push(e+i)}):typeof s=="string"&&n.push(e+s)}),n}r(nl,"prepareClasses");function Bs(){let t=this,{classNames:e,params:n,rtl:s,$el:i,device:a,support:o}=t,c=nl(["initialized",n.direction,{"pointer-events":!o.touch},{"free-mode":t.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:s},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:a.android},{ios:a.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);e.push(...c),i.addClass([...e].join(" ")),t.emitContainerClasses()}r(Bs,"addClasses");function Ws(){let t=this,{$el:e,classNames:n}=t;e.removeClass(n.join(" ")),t.emitContainerClasses()}r(Ws,"removeClasses");var ir={addClasses:Bs,removeClasses:Ws};function Fs(t,e,n,s,i,a){let o=N(),c;function l(){a&&a()}r(l,"onReady"),!$(t).parent("picture")[0]&&(!t.complete||!i)&&e?(c=new o.Image,c.onload=l,c.onerror=l,s&&(c.sizes=s),n&&(c.srcset=n),e&&(c.src=e)):l()}r(Fs,"loadImage");function Gs(){let t=this;t.imagesToLoad=t.$el.find("img");function e(){typeof t>"u"||t===null||!t||t.destroyed||(t.imagesLoaded!==void 0&&(t.imagesLoaded+=1),t.imagesLoaded===t.imagesToLoad.length&&(t.params.updateOnImagesReady&&t.update(),t.emit("imagesReady")))}r(e,"onReady");for(let n=0;n<t.imagesToLoad.length;n+=1){let s=t.imagesToLoad[n];t.loadImage(s,s.currentSrc||s.getAttribute("src"),s.srcset||s.getAttribute("srcset"),s.sizes||s.getAttribute("sizes"),!0,e)}}r(Gs,"preloadImages");var ar={loadImage:Fs,preloadImages:Gs};function sl(){let t=this,{isLocked:e,params:n}=t,{slidesOffsetBefore:s}=n;if(s){let i=t.slides.length-1,a=t.slidesGrid[i]+t.slidesSizesGrid[i]+s*2;t.isLocked=t.size>a}else t.isLocked=t.snapGrid.length===1;n.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),n.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}r(sl,"checkOverflow");var rr={checkOverflow:sl};var Ys={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",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};function js(t,e){return r(function(s={}){let i=Object.keys(s)[0],a=s[i];if(typeof a!="object"||a===null){X(e,s);return}if(["navigation","pagination","scrollbar"].indexOf(i)>=0&&t[i]===!0&&(t[i]={auto:!0}),!(i in t&&"enabled"in a)){X(e,s);return}t[i]===!0&&(t[i]={enabled:!0}),typeof t[i]=="object"&&!("enabled"in t[i])&&(t[i].enabled=!0),t[i]||(t[i]={enabled:!1}),X(e,s)},"extendParams")}r(js,"moduleExtendParams");var Xs={eventsEmitter:ja,update:Xa,translate:qa,transition:Ka,slide:Ua,loop:Qa,grabCursor:Za,events:tr,breakpoints:sr,checkOverflow:rr,classes:ir,images:ar},qs={},ce=class ce{constructor(...e){let n,s;if(e.length===1&&e[0].constructor&&Object.prototype.toString.call(e[0]).slice(8,-1)==="Object"?s=e[0]:[n,s]=e,s||(s={}),s=X({},s),n&&!s.el&&(s.el=n),s.el&&$(s.el).length>1){let c=[];return $(s.el).each(l=>{let d=X({},s,{el:l});c.push(new ce(d))}),c}let i=this;i.__swiper__=!0,i.support=rn(),i.device=Ga({userAgent:s.userAgent}),i.browser=Ya(),i.eventsListeners={},i.eventsAnyListeners=[],i.modules=[...i.__modules__],s.modules&&Array.isArray(s.modules)&&i.modules.push(...s.modules);let a={};
1i.modules.forEach(c=>{c({swiper:i,extendParams:js(s,a),on:i.on.bind(i),once:i.once.bind(i),off:i.off.bind(i),emit:i.emit.bind(i)})});let o=X({},Ys,a);return i.params=X({},o,qs,s),i.originalParams=X({},i.params),i.passedParams=X({},s),i.params&&i.params.on&&Object.keys(i.params.on).forEach(c=>{i.on(c,i.params.on[c])}),i.params&&i.params.onAny&&i.onAny(i.params.onAny),i.$=$,Object.assign(i,{enabled:i.params.enabled,el:n,classNames:[],slides:$(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return i.params.direction==="horizontal"},isVertical(){return i.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev,touchEvents:r(function(){let l=["touchstart","touchmove","touchend","touchcancel"],d=["pointerdown","pointermove","pointerup"];return i.touchEventsTouch={start:l[0],move:l[1],end:l[2],cancel:l[3]},i.touchEventsDesktop={start:d[0],move:d[1],end:d[2]},i.support.touch||!i.params.simulateTouch?i.touchEventsTouch:i.touchEventsDesktop},"touchEvents")(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:i.params.focusableElements,lastClickTime:le(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:i.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),i.emit("_swiper"),i.params.init&&i.init(),i}enable(){let e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){let e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,n){let s=this;e=Math.min(Math.max(e,0),1);let i=s.minTranslate(),o=(s.maxTranslate()-i)*e+i;s.translateTo(o,typeof n>"u"?0:n),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let n=e.el.className.split(" ").filter(s=>s.indexOf("swiper")===0||s.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",n.join(" "))}getSlideClasses(e){let n=this;return n.destroyed?"":e.className.split(" ").filter(s=>s.indexOf("swiper-slide")===0||s.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let n=[];e.slides.each(s=>{let i=e.getSlideClasses(s);n.push({slideEl:s,classNames:i}),e.emit("_slideClass",s,i)}),e.emit("_slideClasses",n)}slidesPerViewDynamic(e="current",n=!1){let s=this,{params:i,slides:a,slidesGrid:o,slidesSizesGrid:c,size:l,activeIndex:d}=s,f=1;if(i.centeredSlides){let h=a[d].swiperSlideSize,p;for(let g=d+1;g<a.length;g+=1)a[g]&&!p&&(h+=a[g].swiperSlideSize,f+=1,h>l&&(p=!0));for(let g=d-1;g>=0;g-=1)a[g]&&!p&&(h+=a[g].swiperSlideSize,f+=1,h>l&&(p=!0))}else if(e==="current")for(let h=d+1;h<a.length;h+=1)(n?o[h]+c[h]-o[d]<l:o[h]-o[d]<l)&&(f+=1);else for(let h=d-1;h>=0;h-=1)o[d]-o[h]<l&&(f+=1);return f}update(){let e=this;if(!e||e.destroyed)return;let{snapGrid:n,params:s}=e;s.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function i(){let o=e.rtlTranslate?e.translate*-1:e.translate,c=Math.min(Math.max(o,e.maxTranslate()),e.minTranslate());e.setTranslate(c),e.updateActiveIndex(),e.updateSlidesClasses()}r(i,"setTranslate");let a;e.params.freeMode&&e.params.freeMode.enabled?(i(),e.params.autoHeight&&e.updateAutoHeight()):((e.params.slidesPerView==="auto"||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?a=e.slideTo(e.slides.length-1,0,!1,!0):a=e.slideTo(e.activeIndex,0,!1,!0),a||i()),s.watchOverflow&&n!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,n=!0){let s=this,i=s.params.direction;return e||(e=i==="horizontal"?"vertical":"horizontal"),e===i||e!=="horizontal"&&e!=="vertical"||(s.$el.removeClass(`${s.params.containerModifierClass}${i}`).addClass(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.each(a=>{e==="vertical"?a.style.width="":a.style.height=""}),s.emit("changeDirection"),n&&s.update()),s}changeLanguageDirection(e){let n=this;n.rtl&&e==="rtl"||!n.rtl&&e==="ltr"||(n.rtl=e==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.$el.addClass(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.$el.removeClass(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(e){let n=this;if(n.mounted)return!0;let s=$(e||n.params.el);if(e=s[0],!e)return!1;e.swiper=n;let i=r(()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`,"getWrapperSelector"),o=r(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){let c=$(e.shadowRoot.querySelector(i()));return c.children=l=>s.children(l),c}return s.children?s.children(i()):$(s).children(i())},"getWrapper")();if(o.length===0&&n.params.createElements){let l=k().createElement("div");o=$(l),l.className=n.params.wrapperClass,s.append(l),s.children(`.${n.params.slideClass}`).each(d=>{o.append(d)})}return Object.assign(n,{$el:s,el:e,$wrapperEl:o,wrapperEl:o[0],mounted:!0,rtl:e.dir.toLowerCase()==="rtl"||s.css("direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(e.dir.toLowerCase()==="rtl"||s.css("direction")==="rtl"),wrongRTL:o.css("display")==="-webkit-box"}),!0}init(e){let n=this;return n.initialized||n.mount(e)===!1||(n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.params.loop&&n.loopCreate(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(
1),n.params.preloadImages&&n.preloadImages(),n.params.loop?n.slideTo(n.params.initialSlide+n.loopedSlides,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.attachEvents(),n.initialized=!0,n.emit("init"),n.emit("afterInit")),n}destroy(e=!0,n=!0){let s=this,{params:i,$el:a,$wrapperEl:o,slides:c}=s;return typeof s.params>"u"||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),i.loop&&s.loopDestroy(),n&&(s.removeClasses(),a.removeAttr("style"),o.removeAttr("style"),c&&c.length&&c.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),s.emit("destroy"),Object.keys(s.eventsListeners).forEach(l=>{s.off(l)}),e!==!1&&(s.$el[0].swiper=null,Fa(s)),s.destroyed=!0),null}static extendDefaults(e){X(qs,e)}static get extendedDefaults(){return qs}static get defaults(){return Ys}static installModule(e){ce.prototype.__modules__||(ce.prototype.__modules__=[]);let n=ce.prototype.__modules__;typeof e=="function"&&n.indexOf(e)<0&&n.push(e)}static use(e){return Array.isArray(e)?(e.forEach(n=>ce.installModule(n)),ce):(ce.installModule(e),ce)}};r(ce,"Swiper");var Ot=ce;Object.keys(Xs).forEach(t=>{Object.keys(Xs[t]).forEach(e=>{Ot.prototype[e]=Xs[t][e]})});Ot.use([ss,is]);var Lt=Ot;function rt(t,e,n,s){let i=k();return t.params.createElements&&Object.keys(s).forEach(a=>{if(!n[a]&&n.auto===!0){let o=t.$el.children(`.${s[a]}`)[0];o||(o=i.createElement("div"),o.className=s[a],t.$el.append(o)),n[a]=o,e[a]=o}}),n}r(rt,"createElementIfNotDefined");function ln({swiper:t,extendParams:e,on:n,emit:s}){e({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null};function i(g){let v;return g&&(v=$(g),t.params.uniqueNavElements&&typeof g=="string"&&v.length>1&&t.$el.find(g).length===1&&(v=t.$el.find(g))),v}r(i,"getEl");function a(g,v){let u=t.params.navigation;g&&g.length>0&&(g[v?"addClass":"removeClass"](u.disabledClass),g[0]&&g[0].tagName==="BUTTON"&&(g[0].disabled=v),t.params.watchOverflow&&t.enabled&&g[t.isLocked?"addClass":"removeClass"](u.lockClass))}r(a,"toggleEl");function o(){if(t.params.loop)return;let{$nextEl:g,$prevEl:v}=t.navigation;a(v,t.isBeginning&&!t.params.rewind),a(g,t.isEnd&&!t.params.rewind)}r(o,"update");function c(g){g.preventDefault(),!(t.isBeginning&&!t.params.loop&&!t.params.rewind)&&(t.slidePrev(),s("navigationPrev"))}r(c,"onPrevClick");function l(g){g.preventDefault(),!(t.isEnd&&!t.params.loop&&!t.params.rewind)&&(t.slideNext(),s("navigationNext"))}r(l,"onNextClick");function d(){let g=t.params.navigation;if(t.params.navigation=rt(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(g.nextEl||g.prevEl))return;let v=i(g.nextEl),u=i(g.prevEl);v&&v.length>0&&v.on("click",l),u&&u.length>0&&u.on("click",c),Object.assign(t.navigation,{$nextEl:v,nextEl:v&&v[0],$prevEl:u,prevEl:u&&u[0]}),t.enabled||(v&&v.addClass(g.lockClass),u&&u.addClass(g.lockClass))}r(d,"init");function f(){let{$nextEl:g,$prevEl:v}=t.navigation;g&&g.length&&(g.off("click",l),g.removeClass(t.params.navigation.disabledClass)),v&&v.length&&(v.off("click",c),v.removeClass(t.params.navigation.disabledClass))}r(f,"destroy"),n("init",()=>{t.params.navigation.enabled===!1?p():(d(),o())}),n("toEdge fromEdge lock unlock",()=>{o()}),n("destroy",()=>{f()}),n("enable disable",()=>{let{$nextEl:g,$prevEl:v}=t.navigation;g&&g[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass),v&&v[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass)}),n("click",(g,v)=>{let{$nextEl:u,$prevEl:m}=t.navigation,y=v.target;if(t.params.navigation.hideOnClick&&!$(y).is(m)&&!$(y).is(u)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===y||t.pagination.el.contains(y)))return;let b;u?b=u.hasClass(t.params.navigation.hiddenClass):m&&(b=m.hasClass(t.params.navigation.hiddenClass)),s(b===!0?"navigationShow":"navigationHide"),u&&u.toggleClass(t.params.navigation.hiddenClass),m&&m.toggleClass(t.params.navigation.hiddenClass)}});let h=r(()=>{t.$el.removeClass(t.params.navigation.navigationDisabledClass),d(),o()},"enable"),p=r(()=>{t.$el.addClass(t.params.navigation.navigationDisabledClass),f()},"disable");Object.assign(t.navigation,{enable:h,disable:p,update:o,init:d,destroy:f})}r(ln,"Navigation");function ve(t=""){return`.${t.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}r(ve,"classesToSelector");function cn({swiper:t,extendParams:e,on:n,emit:s}){let i="swiper-pagination";e({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:r(u=>u,"formatFractionCurrent"),formatFractionTotal:r(u=>u,"formatFractionTotal"),bulletClass:`${i}-bullet`,bulletActiveClass:`${i}-bullet-active`,modifierClass:`${i}-`,currentClass:`${i}-current`,totalClass:`${i}-total`,hiddenClass:`${i}-hidden`,progressbarFillClass:`${i}-progressbar-fill`,progressbarOppositeClass:`${i}-progressbar-opposite`,clickableClass:`${i}-clickable`,lockClass:`${i}-lock`,horizontalClass:`${i}-horizontal`,verticalClass:`${i}-vertical`,paginationDisabledClass:`${i}-disabled`}}),t.pagination={el:null,$el:null,bullets:[]};let a,o=0;function c(){return!t.params.pagination.el||!t.pagination.el||!t.pagination.$el||t.pagination.$el.length===0}r(c,"isPaginationDisabled");function l(u,m){let{bulletActiveClass:y}=t.params.pagination;u[m]().addClass(`${y}-${m}`)[m]().addClass(`${y}-${m}-${m}`)}r(l,"setSideBullets");function d(){let u=t.rtl,m=t.params.pagination;if(c())return;let y=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,b=t.pagination.$el,_,T=t.params.loop?Math.
1ceil((y-t.loopedSlides*2)/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(_=Math.ceil((t.activeIndex-t.loopedSlides)/t.params.slidesPerGroup),_>y-1-t.loopedSlides*2&&(_-=y-t.loopedSlides*2),_>T-1&&(_-=T),_<0&&t.params.paginationType!=="bullets"&&(_=T+_)):typeof t.snapIndex<"u"?_=t.snapIndex:_=t.activeIndex||0,m.type==="bullets"&&t.pagination.bullets&&t.pagination.bullets.length>0){let C=t.pagination.bullets,M,P,O;if(m.dynamicBullets&&(a=C.eq(0)[t.isHorizontal()?"outerWidth":"outerHeight"](!0),b.css(t.isHorizontal()?"width":"height",`${a*(m.dynamicMainBullets+4)}px`),m.dynamicMainBullets>1&&t.previousIndex!==void 0&&(o+=_-(t.previousIndex-t.loopedSlides||0),o>m.dynamicMainBullets-1?o=m.dynamicMainBullets-1:o<0&&(o=0)),M=Math.max(_-o,0),P=M+(Math.min(C.length,m.dynamicMainBullets)-1),O=(P+M)/2),C.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map(w=>`${m.bulletActiveClass}${w}`).join(" ")),b.length>1)C.each(w=>{let x=$(w),S=x.index();S===_&&x.addClass(m.bulletActiveClass),m.dynamicBullets&&(S>=M&&S<=P&&x.addClass(`${m.bulletActiveClass}-main`),S===M&&l(x,"prev"),S===P&&l(x,"next"))});else{let w=C.eq(_),x=w.index();if(w.addClass(m.bulletActiveClass),m.dynamicBullets){let S=C.eq(M),L=C.eq(P);for(let D=M;D<=P;D+=1)C.eq(D).addClass(`${m.bulletActiveClass}-main`);if(t.params.loop)if(x>=C.length){for(let D=m.dynamicMainBullets;D>=0;D-=1)C.eq(C.length-D).addClass(`${m.bulletActiveClass}-main`);C.eq(C.length-m.dynamicMainBullets-1).addClass(`${m.bulletActiveClass}-prev`)}else l(S,"prev"),l(L,"next");else l(S,"prev"),l(L,"next")}}if(m.dynamicBullets){let w=Math.min(C.length,m.dynamicMainBullets+4),x=(a*w-a)/2-O*a,S=u?"right":"left";C.css(t.isHorizontal()?S:"top",`${x}px`)}}if(m.type==="fraction"&&(b.find(ve(m.currentClass)).text(m.formatFractionCurrent(_+1)),b.find(ve(m.totalClass)).text(m.formatFractionTotal(T))),m.type==="progressbar"){let C;m.progressbarOpposite?C=t.isHorizontal()?"vertical":"horizontal":C=t.isHorizontal()?"horizontal":"vertical";let M=(_+1)/T,P=1,O=1;C==="horizontal"?P=M:O=M,b.find(ve(m.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${P}) scaleY(${O})`).transition(t.params.speed)}m.type==="custom"&&m.renderCustom?(b.html(m.renderCustom(t,_+1,T)),s("paginationRender",b[0])):s("paginationUpdate",b[0]),t.params.watchOverflow&&t.enabled&&b[t.isLocked?"addClass":"removeClass"](m.lockClass)}r(d,"update");function f(){let u=t.params.pagination;if(c())return;let m=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,y=t.pagination.$el,b="";if(u.type==="bullets"){let _=t.params.loop?Math.ceil((m-t.loopedSlides*2)/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&!t.params.loop&&_>m&&(_=m);for(let T=0;T<_;T+=1)u.renderBullet?b+=u.renderBullet.call(t,T,u.bulletClass):b+=`<${u.bulletElement} class="${u.bulletClass}"></${u.bulletElement}>`;y.html(b),t.pagination.bullets=y.find(ve(u.bulletClass))}u.type==="fraction"&&(u.renderFraction?b=u.renderFraction.call(t,u.currentClass,u.totalClass):b=`<span class="${u.currentClass}"></span> / <span class="${u.totalClass}"></span>`,y.html(b)),u.type==="progressbar"&&(u.renderProgressbar?b=u.renderProgressbar.call(t,u.progressbarFillClass):b=`<span class="${u.progressbarFillClass}"></span>`,y.html(b)),u.type!=="custom"&&s("paginationRender",t.pagination.$el[0])}r(f,"render");function h(){t.params.pagination=rt(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});let u=t.params.pagination;if(!u.el)return;let m=$(u.el);m.length!==0&&(t.params.uniqueNavElements&&typeof u.el=="string"&&m.length>1&&(m=t.$el.find(u.el),m.length>1&&(m=m.filter(y=>$(y).parents(".swiper")[0]===t.el))),u.type==="bullets"&&u.clickable&&m.addClass(u.clickableClass),m.addClass(u.modifierClass+u.type),m.addClass(t.isHorizontal()?u.horizontalClass:u.verticalClass),u.type==="bullets"&&u.dynamicBullets&&(m.addClass(`${u.modifierClass}${u.type}-dynamic`),o=0,u.dynamicMainBullets<1&&(u.dynamicMainBullets=1)),u.type==="progressbar"&&u.progressbarOpposite&&m.addClass(u.progressbarOppositeClass),u.clickable&&m.on("click",ve(u.bulletClass),r(function(b){b.preventDefault();let _=$(this).index()*t.params.slidesPerGroup;t.params.loop&&(_+=t.loopedSlides),t.slideTo(_)},"onClick")),Object.assign(t.pagination,{$el:m,el:m[0]}),t.enabled||m.addClass(u.lockClass))}r(h,"init");function p(){let u=t.params.pagination;if(c())return;let m=t.pagination.$el;m.removeClass(u.hiddenClass),m.removeClass(u.modifierClass+u.type),m.removeClass(t.isHorizontal()?u.horizontalClass:u.verticalClass),t.pagination.bullets&&t.pagination.bullets.removeClass&&t.pagination.bullets.removeClass(u.bulletActiveClass),u.clickable&&m.off("click",ve(u.bulletClass))}r(p,"destroy"),n("init",()=>{t.params.pagination.enabled===!1?v():(h(),f(),d())}),n("activeIndexChange",()=>{(t.params.loop||typeof t.snapIndex>"u")&&d()}),n("snapIndexChange",()=>{t.params.loop||d()}),n("slidesLengthChange",()=>{t.params.loop&&(f(),d())}),n("snapGridLengthChange",()=>{t.params.loop||(f(),d())}),n("destroy",()=>{p()}),n("enable disable",()=>{let{$el:u}=t.pagination;u&&u[t.enabled?"removeClass":"addClass"](t.params.pagination.lockClass)}),n("lock unlock",()=>{d()}),n("click",(u,m)=>{let y=m.target,{$el:b}=t.pagination;if(t.params.pagination.el&&t.params.pagination.hideOnClick&&b&&b.length>0&&!$(y).hasClass(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&y===t.navigation.nextEl||t.navigation.prevEl&&y===t.navigation.prevEl))return;let _=b.hasClass(t.params.pagination.hiddenClass);s(_===!0?"paginationShow":"paginationHide"),b.toggleClass(t.params.pagination.hiddenClass)}});let g=r(()=>{t.$el.removeClass(t.params.pagination.paginationDisabledClass),t.pagination.$el&&t.pagination.$el.removeClass(t.params.pagination.paginationDisabledClass),h(),f(),d()},"enable"),v=r(()=>{t.$el.addClass(t.params.pagination.paginationDisabledClass),t.pagination.$el&&t.pagination.$el.addClass(t.params.pagination.paginationDisabledClass),p()},"disable");Object.assign(t.pagination,{enable:g,disable:v,render:f,update:d,init:h,destroy:p})}r(cn,"Pagination");var ki={};ea(ki,{Alert:()=>jt,Button:()=>Xt,Carousel:()=>_t,Collapse:()=>qt,Dropdown:()=>xe,Modal:()=>et,Offcanvas:()=>Se,Popover:()=>Dn,ScrollSpy:()=>Ut,Tab:()=>Ne,Toast:()=>Qt,Tooltip:()=>tt});var yn={};ea(yn,{afterMain:()=>ur,afterRead:()=>cr,afterWrite:()=>hr,applyStyles:()=>lt,arrow:()=>un,auto:()=>Pt,basePlacements:()=>Ee,beforeMain:()=>dr,beforeRead:()=>or,beforeWrite:()=>pr,bottom:()=>W,clippingParents:()=>Qs,computeStyles:()=>dt,createPopper:()=>Bt,createPopperBase:()=>Sr,createPopperLite:()=>Cr,detectOverflow:()=>U,end:()=>Me,eventListeners:()=>ft,flip:()=>gn,hide:()=>vn,left:()=>V,main:()=>fr,modifierPhases:()=>Js,offset:()=>En,placements:()=>Dt,popper:()=>We,popperGenerator:()=>Ue,popperOffsets:()=>mt,preventOverflow:()=>bn,read:()=>lr,reference:()=>Zs,right:()=>B,start:()=>he,top:()=>z,variationPlacements:()=>fn,viewport:()=>Nt,write:()=>mr});var z="top",W="bottom",B="right",V="left",Pt="auto",Ee=[z,W,B,V],he
1="start",Me="end",Qs="clippingParents",Nt="viewport",We="popper",Zs="reference",fn=Ee.reduce(function(t,e){return t.concat([e+"-"+he,e+"-"+Me])},[]),Dt=[].concat(Ee,[Pt]).reduce(function(t,e){return t.concat([e,e+"-"+he,e+"-"+Me])},[]),or="beforeRead",lr="read",cr="afterRead",dr="beforeMain",fr="main",ur="afterMain",pr="beforeWrite",mr="write",hr="afterWrite",Js=[or,lr,cr,dr,fr,ur,pr,mr,hr];function G(t){return t?(t.nodeName||"").toLowerCase():null}r(G,"getNodeName");function R(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}r(R,"getWindow");function te(t){var e=R(t).Element;return t instanceof e||t instanceof Element}r(te,"isElement");function F(t){var e=R(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}r(F,"isHTMLElement");function ot(t){if(typeof ShadowRoot>"u")return!1;var e=R(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}r(ot,"isShadowRoot");function il(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var s=e.styles[n]||{},i=e.attributes[n]||{},a=e.elements[n];
1!F(a)||!G(a)||(Object.assign(a.style,s),Object.keys(i).forEach(function(o){var c=i[o];c===!1?a.removeAttribute(o):a.setAttribute(o,c===!0?"":c)}))})}r(il,"applyStyles");function al(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(s){var i=e.elements[s],a=e.attributes[s]||{},o=Object.keys(e.styles.hasOwnProperty(s)?e.styles[s]:n[s]),c=o.reduce(function(l,d){return l[d]="",l},{});!F(i)||!G(i)||(Object.assign(i.style,c),Object.keys(a).forEach(function(l){i.removeAttribute(l)}))})}}r(al,"effect");var lt={name:"applyStyles",enabled:!0,phase:"write",fn:il,effect:al,requires:["computeStyles"]};function Y(t){return t.split("-")[0]}r(Y,"getBasePlacement");var de=Math.max,Fe=Math.min,be=Math.round;function ct(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}r(ct,"getUAString");function wt(){return!/^((?!chrome|android).)*safari/i.test(ct())}r(wt,"isLayoutViewport");function ne(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var s=t.getBoundingClientRect(),i=1,a=1;e&&F(t)&&(i=t.offsetWidth>0&&be(s.width)/t.offsetWidth||1,a=t.offsetHeight>0&&be(s.height)/t.offsetHeight||1);var o=te(t)?R(t):window,c=o.visualViewport,l=!wt()&&n,d=(s.left+(l&&c?c.offsetLeft:0))/i,f=(s.top+(l&&c?c.offsetTop:0))/a,h=s.width/i,p=s.height/a;return{width:h,height:p,top:f,right:d+h,bottom:f+p,left:d,x:d,y:f}}r(ne,"getBoundingClientRect");function Ge(t){var e=ne(t),n=t.offsetWidth,s=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-s)<=1&&(s=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:s}}r(Ge,"getLayoutRect");function kt(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&ot(n)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}r(kt,"contains");function K(t){return R(t).getComputedStyle(t)}r(K,"getComputedStyle");function ei(t){return["table","td","th"].indexOf(G(t))>=0}r(ei,"isTableElement");function j(t){return((te(t)?t.ownerDocument:t.document)||window.document).documentElement}r(j,"getDocumentElement");function ye(t){return G(t)==="html"?t:t.assignedSlot||t.parentNode||(ot(t)?t.host:null)||j(t)}r(ye,"getParentNode");function gr(t){return!F(t)||K(t).position==="fixed"?null:t.offsetParent}r(gr,"getTrueOffsetParent");function rl(t){var e=/firefox/i.test(ct()),n=/Trident/i.test(ct());if(n&&F(t)){var s=K(t);if(s.position==="fixed")return null}var i=ye(t);for(ot(i)&&(i=i.host);F(i)&&["html","body"].indexOf(G(i))<0;){var a=K(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||e&&a.willChange==="filter"||e&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}r(rl,"getContainingBlock");function fe(t){for(var e=R(t),n=gr(t);n&&ei(n)&&K(n).position==="static";)n=gr(n);return n&&(G(n)==="html"||G(n)==="body"&&K(n).position==="static")?e:n||rl(t)||e}r(fe,"getOffsetParent");function Ye(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}r(Ye,"getMainAxisFromPlacement");function je(t,e,n){return de(t,Fe(e,n))}r(je,"within");function vr(t,e,n){var s=je(t,e,n);return s>n?n:s}r(vr,"withinMaxClamp");function Rt(){return{top:0,right:0,bottom:0,left:0}}r(Rt,"getFreshSideObject");function zt(t){return Object.assign({},Rt(),t)}r(zt,"mergePaddingObject");function Ht(t,e){return e.reduce(function(n,s){return n[s]=t,n},{})}r(Ht,"expandToHashMap");var ol=r(function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,zt(typeof e!="number"?e:Ht(e,Ee))},"toPaddingObject");function ll(t){var e,n=t.state,s=t.name,i=t.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,c=Y(n.placement),l=Ye(c),d=[V,B].indexOf(c)>=0,f=d?"height":"width";if(!(!a||!o)){var h=ol(i.padding,n),p=Ge(a),g=l==="y"?z:V,v=l==="y"?W:B,u=n.rects.reference[f]+n.rects.reference[l]-o[l]-n.rects.popper[f],m=o[l]-n.rects.reference[l],y=fe(a),b=y?l==="y"?y.clientHeight||0:y.clientWidth||0:0,_=u/2-m/2,T=h[g],C=b-p[f]-h[v],M=b/2-p[f]/2+_,P=je(T,M,C),O=l;n.modifiersData[s]=(e={},e[O]=P,e.centerOffset=P-M,e)}}r(ll,"arrow");function cl(t){var e=t.state,n=t.options,s=n.element,i=s===void 0?"[data-popper-arrow]":s;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||kt(e.elements.popper,i)&&(e.elements.arrow=i))}r(cl,"effect");var un={name:"arrow",enabled:!0,phase:"main",fn:ll,effect:cl,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function se(t){return t.split("-")[1]}r(se,"getVariation");var dl={top:"auto",right:"auto",bottom:"auto",left:"auto"};function fl(t,e){var n=t.x,s=t.y,i=e.devicePixelRatio||1;return{x:be(n*i)/i||0,y:be(s*i)/i||0}}r(fl,"roundOffsetsByDPR");
1function Er(t){var e,n=t.popper,s=t.popperRect,i=t.placement,a=t.variation,o=t.offsets,c=t.position,l=t.gpuAcceleration,d=t.adaptive,f=t.roundOffsets,h=t.isFixed,p=o.x,g=p===void 0?0:p,v=o.y,u=v===void 0?0:v,m=typeof f=="function"?f({x:g,y:u}):{x:g,y:u};g=m.x,u=m.y;var y=o.hasOwnProperty("x"),b=o.hasOwnProperty("y"),_=V,T=z,C=window;if(d){var M=fe(n),P="clientHeight",O="clientWidth";if(M===R(n)&&(M=j(n),K(M).position!=="static"&&c==="absolute"&&(P="scrollHeight",O="scrollWidth")),M=M,i===z||(i===V||i===B)&&a===Me){T=W;var w=h&&M===C&&C.visualViewport?C.visualViewport.height:M[P];u-=w-s.height,u*=l?1:-1}if(i===V||(i===z||i===W)&&a===Me){_=B;var x=h&&M===C&&C.visualViewport?C.visualViewport.width:M[O];g-=x-s.width,g*=l?1:-1}}var S=Object.assign({position:c},d&&dl),L=f===!0?fl({x:g,y:u},R(n)):{x:g,y:u};if(g=L.x,u=L.y,l){var D;return Object.assign({},S,(D={},D[T]=b?"0":"",D[_]=y?"0":"",D.transform=(C.devicePixelRatio||1)<=1?"translate("+g+"px, "+u+"px)":"translate3d("+g+"px, "+u+"px, 0)",D))}return Object.assign({},S,(e={},e[T]=b?u+"px":"",e[_]=y?g+"px":"",e.transform="",e))}r(Er,"mapToStyles");function ul(t){var e=t.state,n=t.options,s=n.gpuAcceleration,i=s===void 0?!0:s,a=n.adaptive,o=a===void 0?!0:a,c=n.roundOffsets,l=c===void 0?!0:c,d={placement:Y(e.placement),variation:se(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Er(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Er(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}r(ul,"computeStyles");var dt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ul,data:{}};var pn={passive:!0};function pl(t){var e=t.state,n=t.instance,s=t.options,i=s.scroll,a=i===void 0?!0:i,o=s.resize,c=o===void 0?!0:o,l=R(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return a&&d.forEach(function(f){f.addEventListener("scroll",n.update,pn)}),c&&l.addEventListener("resize",n.update,pn),function(){a&&d.forEach(function(f){f.removeEventListener("scroll",n.update,pn)}),c&&l.removeEventListener("resize",n.update,pn)}}r(pl,"effect");var ft={name:"eventListeners",enabled:!0,phase:"write",fn:r(function(){},"fn"),effect:pl,data:{}};var ml={left:"right",right:"left",bottom:"top",top:"bottom"};function ut(t){return t.replace(/left|right|bottom|top/g,function(e){return ml[e]})}r(ut,"getOppositePlacement");var hl={start:"end",end:"start"};function mn(t){return t.replace(/start|end/g,function(e){return hl[e]})}r(mn,"getOppositeVariationPlacement");function Xe(t){var e=R(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}r(Xe,"getWindowScroll");function qe(t){return ne(j(t)).left+Xe(t).scrollLeft}r(qe,"getWindowScrollBarX");function ti(t,e){var n=R(t),s=j(t),i=n.visualViewport,a=s.clientWidth,o=s.clientHeight,c=0,l=0;if(i){a=i.width,o=i.height;var d=wt();(d||!d&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:a,height:o,x:c+qe(t),y:l}}r(ti,"getViewportRect");function ni(t){var e,n=j(t),s=Xe(t),i=(e=t.ownerDocument)==null?void 0:e.body,a=de(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=de(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),c=-s.scrollLeft+qe(t),l=-s.scrollTop;return K(i||n).direction==="rtl"&&(c+=de(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:c,y:l}}r(ni,"getDocumentRect");function Ke(t){var e=K(t),n=e.overflow,s=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+s)}r(Ke,"isScrollParent");function hn(t){return["html","body","#document"].indexOf(G(t))>=0?t.ownerDocument.body:F(t)&&Ke(t)?t:hn(ye(t))}r(hn,"getScrollParent");function Oe(t,e){var n;e===void 0&&(e=[]);var s=hn(t),i=s===((n=t.ownerDocument)==null?void 0:n.body),a=R(s),o=i?[a].concat(a.visualVie
1wport||[],Ke(s)?s:[]):s,c=e.concat(o);return i?c:c.concat(Oe(ye(o)))}r(Oe,"listScrollParents");function pt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}r(pt,"rectToClientRect");function gl(t,e){var n=ne(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}r(gl,"getInnerBoundingClientRect");function br(t,e,n){return e===Nt?pt(ti(t,n)):te(e)?gl(e,n):pt(ni(j(t)))}r(br,"getClientRectFromMixedType");function vl(t){var e=Oe(ye(t)),n=["absolute","fixed"].indexOf(K(t).position)>=0,s=n&&F(t)?fe(t):t;return te(s)?e.filter(function(i){return te(i)&&kt(i,s)&&G(i)!=="body"}):[]}r(vl,"getClippingParents");function si(t,e,n,s){var i=e==="clippingParents"?vl(t):[].concat(e),a=[].concat(i,[n]),o=a[0],c=a.reduce(function(l,d){var f=br(t,d,s);return l.top=de(f.top,l.top),l.right=Fe(f.right,l.right),l.bottom=Fe(f.bottom,l.bottom),l.left=de(f.left,l.left),l},br(t,o,s));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}r(si,"getClippingRect");function Vt(t){var e=t.reference,n=t.element,s=t.placement,i=s?Y(s):null,a=s?se(s):null,o=e.x+e.width/2-n.width/2,c=e.y+e.height/2-n.height/2,l;switch(i){case z:l={x:o,y:e.y-n.height};break;case W:l={x:o,y:e.y+e.height};break;case B:l={x:e.x+e.width,y:c};break;case V:l={x:e.x-n.width,y:c};break;default:l={x:e.x,y:e.y}}var d=i?Ye(i):null;if(d!=null){var f=d==="y"?"height":"width";switch(a){case he:l[d]=l[d]-(e[f]/2-n[f]/2);break;case Me:l[d]=l[d]+(e[f]/2-n[f]/2);break;default:}}return l}r(Vt,"computeOffsets");function U(t,e){e===void 0&&(e={});var n=e,s=n.placement,i=s===void 0?t.placement:s,a=n.strategy,o=a===void 0?t.strategy:a,c=n.boundary,l=c===void 0?Qs:c,d=n.rootBoundary,f=d===void 0?Nt:d,h=n.elementContext,p=h===void 0?We:h,g=n.altBoundary,v=g===void 0?!1:g,u=n.padding,m=u===void 0?0:u,y=zt(typeof m!="number"?m:Ht(m,Ee)),b=p===We?Zs:We,_=t.rects.popper,T=t.elements[v?b:p],C=si(te(T)?T:T.contextElement||j(t.elements.popper),l,f,o),M=ne(t.elements.reference),P=Vt({reference:M,element:_,strategy:"absolute",placement:i}),O=pt(Object.assign({},_,P)),w=p===We?O:M,x={top:C.top-w.top+y.top,bottom:w.bottom-C.bottom+y.bottom,left:C.left-w.left+y.left,right:w.right-C.right+y.right},S=t.modifiersData.offset;if(p===We&&S){var L=S[i];Object.keys(x).forEach(function(D){var oe=[B,W].indexOf(D)>=0?1:-1,ue=[z,W].indexOf(D)>=0?"y":"x";x[D]+=L[ue]*oe})}return x}r(U,"detectOverflow");function ii(t,e){e===void 0&&(e={});var n=e,s=n.placement,i=n.boundary,a=n.rootBoundary,o=n.padding,c=n.flipVariations,l=n.allowedAutoPlacements,d=l===void 0?Dt:l,f=se(s),h=f?c?fn:fn.filter(function(v){return se(v)===f}):Ee,p=h.filter(function(v){return d.indexOf(v)>=0});p.length===0&&(p=h);var g=p.reduce(function(v,u){return v[u]=U(t,{placement:u,boundary:i,rootBoundary:a,padding:o})[Y(u)],v},{});return Object.keys(g).sort(function(v,u){return g[v]-g[u]})}r(ii,"computeAutoPlacement");function El(t){if(Y(t)===Pt)return[];var e=ut(t);return[mn(t),e,mn(e)]}r(El,"getExpandedFallbackPlacements");function bl(t){var e=t.state,n=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var i=n.mainAxis,a=i===void 0?!0:i,o=n.altAxis,c=o===void 0?!0:o,l=n.fallbackPlacements,d=n.padding,f=n.boundary,h=n.rootBoundary,p=n.altBoundary,g=n.flipVariations,v=g===void 0?!0:g,u=n.allowedAutoPlacements,m=e.options.placement,y=Y(m),b=y===m,_=l||(b||!v?[ut(m)]:El(m)),T=[m].concat(_).reduce(function(it,Ae){return it.concat(Y(Ae)===Pt?ii(e,{placement:Ae,boundary:f,rootBoundary:h,padding:d,flipVariations:v,allowedAutoPlacements:u}):Ae)},[]),C=e.rects.reference,M=e.rects.popper,P=new Map,O=!0,w=T[0],x=0;x<T.length;x++){var S=T[x],L=Y(S),D=se(S)===he,oe=[z,W].indexOf(L)>=0,ue=oe?"width":"height",q=U(e,{placement:S,boundary:f,rootBoundary:h,altBoundary:p,padding:d}),J=oe?D?B:V:D?W:z;C[ue]>M[ue]&&(J=ut(J));var Re=ut(J),pe=[];if(a&&pe.push(q[L]<=0),c&&pe.push(q[J]<=0,q[Re]<=0),pe.every(function(it){return it})){w=S,O=!1;break}P.set(S,pe)}if(O)for(var ze=v?3:1,St=r(function(Ae){var Ct=T.find(function(nn){var Ve=P.get(nn);if(Ve)return Ve.slice(0,Ae).every(function(qn){return qn})});if(Ct)return w=Ct,"break"},"_loop"),He=ze;He>0;He--){var tn=St(He);if(tn==="break")break}e.placement!==w&&(e.modifiersData[s]._skip=!0,e.placement=w,e.reset=!0)}}r(bl,"flip");var gn={name:"flip",enabled:!0,phase:"main",fn:bl,requiresIfExists:["offset"],data:{_skip:!1}};function yr(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}r(yr,"getSideOffsets");function _r(t){return[z,B,W,V].some(function(e){return t[e]>=0})}r(_r,"isAnySideFullyClipped");function yl(t){var e=t.state,n=t.name,s=e.rects.reference,i=e.rects.popper,a=e.modifiersData.preventOverflow,o=U(e,{elementContext:"reference"}),c=U(e,{altBoundary:!0}),l=yr(o,s),d=yr(c,i,a),f=_r(l),h=_r(d);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:f,hasPopperEscaped:h},e.attributes.popper=Object.assign({}
1,e.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":h})}r(yl,"hide");var vn={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:yl};function _l(t,e,n){var s=Y(t),i=[V,z].indexOf(s)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,o=a[0],c=a[1];return o=o||0,c=(c||0)*i,[V,B].indexOf(s)>=0?{x:c,y:o}:{x:o,y:c}}r(_l,"distanceAndSkiddingToXY");function Tl(t){var e=t.state,n=t.options,s=t.name,i=n.offset,a=i===void 0?[0,0]:i,o=Dt.reduce(function(f,h){return f[h]=_l(h,e.rects,a),f},{}),c=o[e.placement],l=c.x,d=c.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=d),e.modifiersData[s]=o}r(Tl,"offset");var En={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Tl};function xl(t){var e=t.state,n=t.name;e.modifiersData[n]=Vt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}r(xl,"popperOffsets");var mt={name:"popperOffsets",enabled:!0,phase:"read",fn:xl,data:{}};function ai(t){return t==="x"?"y":"x"}r(ai,"getAltAxis");function Sl(t){var e=t.state,n=t.options,s=t.name,i=n.mainAxis,a=i===void 0?!0:i,o=n.altAxis,c=o===void 0?!1:o,l=n.boundary,d=n.rootBoundary,f=n.altBoundary,h=n.padding,p=n.tether,g=p===void 0?!0:p,v=n.tetherOffset,u=v===void 0?0:v,m=U(e,{boundary:l,rootBoundary:d,padding:h,altBoundary:f}),y=Y(e.placement),b=se(e.placement),_=!b,T=Ye(y),C=ai(T),M=e.modifiersData.popperOffsets,P=e.rects.reference,O=e.rects.popper,w=typeof u=="function"?u(Object.assign({},e.rects,{placement:e.placement})):u,x=typeof w=="number"?{mainAxis:w,altAxis:w}:Object.assign({mainAxis:0,altAxis:0},w),S=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,L={x:0,y:0};if(M){if(a){var D,oe=T==="y"?z:V,ue=T==="y"?W:B,q=T==="y"?"height":"width",J=M[T],Re=J+m[oe],pe=J-m[ue],ze=g?-O[q]/2:0,St=b===he?P[q]:O[q],He=b===he?-O[q]:-P[q],tn=e.elements.arrow,it=g&&tn?Ge(tn):{width:0,height:0},Ae=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Rt(),Ct=Ae[oe],nn=Ae[ue],Ve=je(0,P[q],it[q]),qn=_?P[q]/2-ze-Ve-Ct-x.mainAxis:St-Ve-Ct-x.mainAxis,ko=_?-P[q]/2+ze+Ve+nn+x.mainAxis:He+Ve+nn+x.mainAxis,Kn=e.elements.arrow&&fe(e.elements.arrow),Ro=Kn?T==="y"?Kn.clientTop||0:Kn.clientLeft||0:0,Yi=(D=S==null?void 0:S[T])!=null?D:0,zo=J+qn-Yi-Ro,Ho=J+ko-Yi,ji=je(g?Fe(Re,zo):Re,J,g?de(pe,Ho):pe);M[T]=ji,L[T]=ji-J}if(c){var Xi,Vo=T==="x"?z:V,Bo=T==="x"?W:B,Be=M[C],sn=C==="y"?"height":"width",qi=Be+m[Vo],Ki=Be-m[Bo],Un=[z,V].indexOf(y)!==-1,Ui=(Xi=S==null?void 0:S[C])!=null?Xi:0,Qi=Un?qi:Be-P[sn]-O[sn]-Ui+x.altAxis,Zi=Un?Be+P[sn]+O[sn]-Ui-x.altAxis:Ki,Ji=g&&Un?vr(Qi,Be,Zi):je(g?Qi:qi,Be,g?Zi:Ki);M[C]=Ji,L[C]=Ji-Be}e.modifiersData[s]=L}}r(Sl,"preventOverflow");var bn={name:"preventOverflow",enabled:!0,phase:"main",fn:Sl,requiresIfExists:["offset"]};function ri(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}r(ri,"getHTMLElementScroll");function li(t){return t===R(t)||!F(t)?Xe(t):ri(t)}r(li,"getNodeScroll");function Cl(t){var e=t.getBoundingClientRect(),n=be(e.width)/t.offsetWidth||1,s=be(e.height)/t.offsetHeight||1;return n!==1||s!==1}r(Cl,"isElementScaled");function ci(t,e,n){n===void 0&&(n=!1);var s=F(e),i=F(e)&&Cl(e),a=j(e),o=ne(t,i,n),c={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((G(e)!=="body"||Ke(a))&&(c=li(e)),F(e)?(l=ne(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):a&&(l.x=qe(a))),{x:o.left+c.scrollLeft-l.x,y:o.top+c.scrollTop-l.y,width:o.width,height:o.height}}r(ci,"getCompositeRect");function $l(t){var e=new Map,n=new Set,s=[];t.forEach(function(a){e.set(a.name,a)});function i(a){n.add(a.name);var o=[].concat(a.requires||[],a.requiresIfExists||[]);o.forEach(function(c){if(!n.has(c)){var l=e.get(c);l&&i(l)}}),s.push(a)}return r(i,"sort"),t.forEach(function(a){n.has(a.name)||i(a)}),s}r($l,"order");function di(t){var e=$l(t);return Js.reduce(function(n,s){return n.concat(e.filter(function(i){return i.phase===s}))},[])}r(di,"orderModifiers");function fi(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}r(fi,"debounce");function ui(t){var e=t.reduce(function(n,s){var i=n[s.name];return n[s.name]=i?Object.assign({},i,s,{options:Object.assign({},i.options,s.options),data:Object.assign({},i.data,s.data)}):s,n},{});return Object.keys(e).map(function(n){return e[n]})}r(ui,"mergeByName");var Tr={placement:"bottom",modifiers:[],strategy:"absolute"};function xr(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];
1return!e.some(function(s){return!(s&&typeof s.getBoundingClientRect=="function")})}r(xr,"areValidElements");function Ue(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,s=n===void 0?[]:n,i=e.defaultOptions,a=i===void 0?Tr:i;return r(function(c,l,d){d===void 0&&(d=a);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},Tr,a),modifiersData:{},elements:{reference:c,popper:l},attributes:{},styles:{}},h=[],p=!1,g={state:f,setOptions:r(function(y){var b=typeof y=="function"?y(f.options):y;u(),f.options=Object.assign({},a,f.options,b),f.scrollParents={reference:te(c)?Oe(c):c.contextElement?Oe(c.contextElement):[],popper:Oe(l)};var _=di(ui([].concat(s,f.options.modifiers)));return f.orderedModifiers=_.filter(function(T){return T.enabled}),v(),g.update()},"setOptions"),forceUpdate:r(function(){if(!p){var y=f.elements,b=y.reference,_=y.popper;if(xr(b,_)){f.rects={reference:ci(b,fe(_),f.options.strategy==="fixed"),popper:Ge(_)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(x){return f.modifiersData[x.name]=Object.assign({},x.data)});for(var T=0;T<f.orderedModifiers.length;T++){if(f.reset===!0){f.reset=!1,T=-1;continue}var C=f.orderedModifiers[T],M=C.fn,P=C.options,O=P===void 0?{}:P,w=C.name;typeof M=="function"&&(f=M({state:f,options:O,name:w,instance:g})||f)}}}},"forceUpdate"),update:fi(function(){return new Promise(function(m){g.forceUpdate(),m(f)})}),destroy:r(function(){u(),p=!0},"destroy")};if(!xr(c,l))return g;g.setOptions(d).then(function(m){!p&&d.onFirstUpdate&&d.onFirstUpdate(m)});function v(){f.orderedModifiers.forEach(function(m){var y=m.name,b=m.options,_=b===void 0?{}:b,T=m.effect;if(typeof T=="function"){var C=T({state:f,name:y,instance:g,options:_}),M=r(function(){},"noopFn");h.push(C||M)}})}r(v,"runModifierEffects");function u(){h.forEach(function(m){return m()}),h=[]}return r(u,"cleanupModifierEffects"),g},"createPopper")}r(Ue,"popperGenerator");var Sr=Ue();var Al=[ft,mt,dt,lt],Cr=Ue({defaultModifiers:Al});var Ml=[ft,mt,dt,lt,En,gn,bn,un,vn],Bt=Ue({defaultModifiers:Ml});var Le=new Map,pi={set(t,e,n){Le.has(t)||Le.set(t,new Map);let s=Le.get(t);if(!s.has(e)&&s.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`);return}s.set(e,n)},get(t,e){return Le.has(t)&&Le.get(t).get(e)||null},remove(t,e){if(!Le.has(t))return;let n=Le.get(t);n.delete(e),n.size===0&&Le.delete(t)}},Ol=1e6,Ll=1e3,Mi="transitionend",eo=r(t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,(e,n)=>`#${CSS.escape(n)}`)),t),"parseSelector"),Il=r(t=>t==null?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),"toType"),Pl=r(t=>{do t+=Math.floor(Math.random()*Ol);while(document.getElementById(t));return t},"getUID"),Nl=r(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t),s=Number.parseFloat(e),i=Number.parseFloat(n);return!s&&!i?0:(e=e.split(",")[0],n=n.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(n))*Ll)},"getTransitionDurationFromElement"),to=r(t=>{t.dispatchEvent(new Event(Mi))},"triggerTransitionEnd"),_e=r(t=>!t||typeof t!="object"?!1:(typeof t.jquery<"u"&&(t=t[0]),typeof t.nodeType<"u"),"isElement"),Ie=r(t=>_e(t)?t.jquery?t[0]:t:typeof t=="string"&&t.length>0?document.querySelector(eo(t)):null,"getElement"),Tt=r(t=>{if(!_e(t)||t.getClientRects().length===0)return!1;let e=getComputedStyle(t).getPropertyValue("visibility")==="visible",n=t.closest("details:not([open])");if(!n)return e;if(n!==t){let s=t.closest("summary");if(s&&s.parentNode!==n||s===null)return!1}return e},"isVisible"),Pe=r(t=>!t||t.nodeType!==Node.ELEMENT_NODE||t.classList.contains("disabled")?!0:typeof t.disabled<"u"?t.disabled:t.hasAttribute("disabled")&&t.getAttribute("disabled")!=="false","isDisabled"),no=r(t=>{if(!document.documentElement.attachShadow)return null;if(typeof t.getRootNode=="function"){let e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?no(t.parentNode):null},"findShadowRoot"),On=r(()=>{},"noop"),Zt=r(t=>{t.offsetHeight},"reflow"),so=r(()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,"getjQuery"),mi=[],Dl=r(t=>{document.readyState==="loading"?(mi.length||document.addEventListener("DOMContentLoaded",()=>{for(let e of mi)e()}),mi.push(t)):t()},"onDOMContentLoaded"),ie=r(()=>document.documentElement.dir==="rtl","isRTL"),re=r(t=>{Dl(()=>{let e=so();if(e){let n=t.NAME,s=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=s,t.jQueryInterface)}})},"defineJQueryPlugin"),Z=r((t,e=[],n=t)=>typeof t=="function"?t(...e):n,"execute"),io=r((t,e,n=!0)=>
1{if(!n){Z(t);return}let i=Nl(e)+5,a=!1,o=r(({target:c})=>{c===e&&(a=!0,e.removeEventListener(Mi,o),Z(t))},"handler");e.addEventListener(Mi,o),setTimeout(()=>{a||to(e)},i)},"executeAfterTransition"),Pi=r((t,e,n,s)=>{let i=t.length,a=t.indexOf(e);return a===-1?!n&&s?t[i-1]:t[0]:(a+=n?1:-1,s&&(a=(a+i)%i),t[Math.max(0,Math.min(a,i-1))])},"getNextActiveElement"),wl=/[^.]*(?=\..*)\.|.*/,kl=/\..*/,Rl=/::\d+$/,hi={},$r=1,ao={mouseenter:"mouseover",mouseleave:"mouseout"},zl=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 ro(t,e){return e&&`${e}::${$r++}`||t.uidEvent||$r++}r(ro,"makeEventUid");function oo(t){let e=ro(t);return t.uidEvent=e,hi[e]=hi[e]||{},hi[e]}r(oo,"getElementEvents");function Hl(t,e){return r(function n(s){return Ni(s,{delegateTarget:t}),n.oneOff&&E.off(t,s.type,e),e.apply(t,[s])},"handler")}r(Hl,"bootstrapHandler");function Vl(t,e,n){return r(function s(i){let a=t.querySelectorAll(e);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(let c of a)if(c===o)return Ni(i,{delegateTarget:o}),s.oneOff&&E.off(t,i.type,e,n),n.apply(o,[i])},"handler")}r(Vl,"bootstrapDelegationHandler");function lo(t,e,n=null){return Object.values(t).find(s=>s.callable===e&&s.delegationSelector===n)}r(lo,"findHandler");function co(t,e,n){let s=typeof e=="string",i=s?n:e||n,a=fo(t);return zl.has(a)||(a=t),[s,i,a]}r(co,"normalizeParameters");function Ar(t,e,n,s,i){if(typeof e!="string"||!t)return;let[a,o,c]=co(e,n,s);e in ao&&(o=r(v=>function(u){if(!u.relatedTarget||u.relatedTarget!==u.delegateTarget&&!u.delegateTarget.contains(u.relatedTarget))return v.call(this,u)},"wrapFunction")(o));let l=oo(t),d=l[c]||(l[c]={}),f=lo(d,o,a?n:null);if(f){f.oneOff=f.oneOff&&i;return}let h=ro(o,e.replace(wl,"")),p=a?Vl(t,n,o):Hl(t,o);p.delegationSelector=a?n:null,p.callable=o,p.oneOff=i,p.uidEvent=h,d[h]=p,t.addEventListener(c,p,a)}r(Ar,"addHandler");function Oi(t,e,n,s,i){let a=lo(e[n],s,i);a&&(t.removeEventListener(n,a,!!i),delete e[n][a.uidEvent])}r(Oi,"removeHandler");function Bl(t,e,n,s){let i=e[n]||{};for(let[a,o]of Object.entries(i))a.includes(s)&&Oi(t,e,n,o.callable,o.delegationSelector)}r(Bl,"removeNamespacedHandlers");function fo(t){return t=t.replace(kl,""),ao[t]||t}r(fo,"getTypeEvent");var E={on(t,e,n,s){Ar(t,e,n,s,!1)},one(t,e,n,s){Ar(t,e,n,s,!0)},off(t,e,n,s){if(typeof e!="string"||!t)return;let[i,a,o]=co(e,n,s),c=o!==e,l=oo(t),d=l[o]||{},f=e.startsWith(".");if(typeof a<"u"){if(!Object.keys(d).length)return;Oi(t,l,o,a,i?n:null);return}if(f)for(let h of Object.keys(l))Bl(t,l,h,e.slice(1));for(let[h,p]of Object.entries(d)){let g=h.replace(Rl,"");(!c||e.includes(g))&&Oi(t,l,o,p.callable,p.delegationSelector)}},trigger(t,e,n){if(typeof e!="string"||!t)return null;let s=so(),i=fo(e),a=e!==i,o=null,c=!0,l=!0,d=!1;a&&s&&(o=s.Event(e,n),s(t).trigger(o),c=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),d=o.isDefaultPrevented());let f=Ni(new Event(e,{bubbles:c,cancelable:!0}),n);return d&&f.preventDefault(),l&&t.dispatchEvent(f),f.defaultPrevented&&o&&o.preventDefault(),f}};function Ni(t,e={}){for(let[n,s]of Object.entries(e))try{t[n]=s}catch{Object.defineProperty(t,n,{configurable:!0,get(){return s}})}return t}r(Ni,"hydrateObj");function Mr(t){if(t==="true")return!0;if(t==="false")return!1;if(t===Number(t).toString())return Number(t);if(t===""||t==="null")return null;if(typeof t!="string")return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}r(Mr,"normalizeData");function gi(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}r(gi,"normalizeDataKey");var Te={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${gi(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${gi(e)}`)},getDataAttributes(t){if(!t)return{};let e={},n=Object.keys(t.dataset).filter(s=>s.startsWith("bs")&&!s.startsWith("bsConfig"));for(let s of n){let i=s.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),e[i]=Mr(t.dataset[s])}return e},getDataAttribute(t,e){return Mr(t.getAttribute(`data-bs-${gi(e)}`))}},Ri=class Ri{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,n){let s=_e(n)?Te.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof s=="object"?s:{},..._e(n)?Te.getDataAttributes(n):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,n=this.constructor.DefaultType){for(let[s,i]of Object.entries(n)){let a=e[s],o=_e(a)?"element":Il(a);if(!new RegExp(i).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${o}" but expected type "${i}".`)}}};r(Ri,"Config");var Je=Ri,Wl="5.3.2",zi=class zi extends Je{constructor(e,n){super(),e=Ie(e),e&&(this._element=e,this._config=this._getConfig(n),pi.set(this._element,this.constructor.DATA_KEY,this))}dispose(){pi.remove(this._element,this.constructor.DATA_KEY),E.off(this._element,this.constructor.EVENT_KEY);for(let e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,n,s=!0){io(e,n,s)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return pi.get(Ie(e),this.DATA_KEY)}static getOrCreateInstance(e,n={}){return this.getInstance(e)||new this(e,typeof n=="object"?n:null)}static get VERSION(){return Wl}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}};r(zi,"BaseComponent");var ee=zi,vi=r(t=>{let e=t.getAttribute("data-bs-target");if(!e||e==="#"){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&n!=="#"?eo(n.trim()):null}return e},"getSelector"),A={find(t,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t,e=document.documentElement){return Element.prototype.querySelector.call(e,t)},children(t,e){return[].concat(...t.children).filter(n=>n.matches(e))},parents(t,e){let n=[],s=t.parentNode.closest(e);for(;s;)n.push(s),s=s.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){let e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(e,t).filter(n=>!Pe(n)&&Tt(n))},getSelectorFromElement(t){let e=vi(t);return e&&A.findOne(e)?e:null},getElementFromSelector(t){let e=vi(t);return e?A.findOne(e):null},getMultipleElementsFromSelector(t){let e=vi(t);return e?A.find(e):[]}},Yn=r((t,e="hide")=>{let n=`click.dismiss${t.EVENT_KEY}`,s=t.NAME;E.on(document,n,`[data-bs-dismiss="${s}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),Pe(this))return;let a=A.getElementFromSelector(this)||this.closest(`.${s}`);t.getOrCreateInstance(a)[e]()})},"enableDismissTrigger"),Fl="alert",Gl="bs.alert",uo=`.${Gl}`,Yl=`close${uo}`,jl=`closed${uo}`,Xl="fade",ql="show",wn=class wn extends ee{static get NAME(){return Fl}close(){if(E.trigger(this._element,Yl).defaultPrevented)return;this._element.classList.remove(ql);let n=this._element.classList.contains(Xl);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),E.trigger(this._element,jl),this.dispose()}static jQueryInterface(e){return this.each(function(){let n=wn.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method n
1amed "${e}"`);n[e](this)}})}};r(wn,"Alert");var jt=wn;Yn(jt,"close");re(jt);var Kl="button",Ul="bs.button",Ql=`.${Ul}`,Zl=".data-api",Jl="active",Or='[data-bs-toggle="button"]',ec=`click${Ql}${Zl}`,kn=class kn extends ee{static get NAME(){return Kl}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Jl))}static jQueryInterface(e){return this.each(function(){let n=kn.getOrCreateInstance(this);e==="toggle"&&n[e]()})}};r(kn,"Button");var Xt=kn;E.on(document,ec,Or,t=>{t.preventDefault();let e=t.target.closest(Or);Xt.getOrCreateInstance(e).toggle()});re(Xt);var tc="swipe",xt=".bs.swipe",nc=`touchstart${xt}`,sc=`touchmove${xt}`,ic=`touchend${xt}`,ac=`pointerdown${xt}`,rc=`pointerup${xt}`,oc="touch",lc="pen",cc="pointer-event",dc=40,fc={endCallback:null,leftCallback:null,rightCallback:null},uc={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"},Rn=class Rn extends Je{constructor(e,n){super(),this._element=e,!(!e||!Rn.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return fc}static get DefaultType(){return uc}static get NAME(){return tc}dispose(){E.off(this._element,xt)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),Z(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){let e=Math.abs(this._deltaX);if(e<=dc)return;let n=e/this._deltaX;this._deltaX=0,n&&Z(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(E.on(this._element,ac,e=>this._start(e)),E.on(this._element,rc,e=>this._end(e)),this._element.classList.add(cc)):(E.on(this._element,nc,e=>this._start(e)),E.on(this._element,sc,e=>this._move(e)),E.on(this._element,ic,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===lc||e.pointerType===oc)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}};r(Rn,"Swipe");var Ln=Rn,pc="carousel",mc="bs.carousel",De=`.${mc}`,po=".data-api",hc="ArrowLeft",gc="ArrowRight",vc=500,Wt="next",ht="prev",vt="left",An="right",Ec=`slide${De}`,Ei=`slid${De}`,bc=`keydown${De}`,yc=`mouseenter${De}`,_c=`mouseleave${De}`,Tc=`dragstart${De}`,xc=`load${De}${po}`,Sc=`click${De}${po}`,mo="carousel",_n="active",Cc="slide",$c="carousel-item-end",Ac="carousel-item-start",Mc="carousel-item-next",Oc="carousel-item-prev",ho=".active",go=".carousel-item",Lc=ho+go,Ic=".carousel-item img",Pc=".carousel-indicators",Nc="[data-bs-slide], [data-bs-slide-to]",Dc='[data-bs-ride="carousel"]',wc={[hc]:An,[gc]:vt},kc={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Rc={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"},zn=class zn extends ee{constructor(e,n){super(e,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=A.findOne(Pc,this._element),this._addEventListeners(),this._config.ride===mo&&this.cycle()}static get Default(){return kc}static get DefaultType(){return Rc}static get NAME(){return pc}next(){this._slide(Wt)}nextWhenVisible(){!document.hidden&&Tt(this._element)&&this.next()}prev(){this._slide(ht)}pause(){this._isSliding&&to(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){E.one(this._element,Ei,()=>this.cycle());return}this.cycle()}}to(e){let n=this._getItems();if(e>n.length-1||e<0)return;if(this._isSliding){E.one(this._element,Ei,()=>this.to(e));return}let s=this._getItemIndex(this._getActive());if(s===e)return;let i=e>s?Wt:ht;this._slide(i,n[e])}
1dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&E.on(this._element,bc,e=>this._keydown(e)),this._config.pause==="hover"&&(E.on(this._element,yc,()=>this.pause()),E.on(this._element,_c,()=>this._maybeEnableCycle())),this._config.touch&&Ln.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(let s of A.find(Ic,this._element))E.on(s,Tc,i=>i.preventDefault());let n={leftCallback:r(()=>this._slide(this._directionToOrder(vt)),"leftCallback"),rightCallback:r(()=>this._slide(this._directionToOrder(An)),"rightCallback"),endCallback:r(()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),vc+this._config.interval))},"endCallBack")};this._swipeHelper=new Ln(this._element,n)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;let n=wc[e.key];n&&(e.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;let n=A.findOne(ho,this._indicatorsElement);n.classList.remove(_n),n.removeAttribute("aria-current");let s=A.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);s&&(s.classList.add(_n),s.setAttribute("aria-current","true"))}_updateInterval(){let e=this._activeElement||this._getActive();if(!e)return;let n=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(e,n=null){if(this._isSliding)return;let s=this._getActive(),i=e===Wt,a=n||Pi(this._getItems(),s,i,this._config.wrap);if(a===s)return;let o=this._getItemIndex(a),c=r(g=>E.trigger(this._element,g,{relatedTarget:a,direction:this._orderToDirection(e),from:this._getItemIndex(s),to:o}),"triggerEvent");if(c(Ec).defaultPrevented||!s||!a)return;let d=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=a;let f=i?Ac:$c,h=i?Mc:Oc;a.classList.add(h),Zt(a),s.classList.add(f),a.classList.add(f);let p=r(()=>{a.classList.remove(f,h),a.classList.add(_n),s.classList.remove(_n,h,f),this._isSliding=!1,c(Ei)},"completeCallBack");this._queueCallback(p,s,this._isAnimated()),d&&this.cycle()}_isAnimated(){return this._element.classList.contains(Cc)}_getActive(){return A.findOne(Lc,this._element)}_getItems(){return A.find(go,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return ie()?e===vt?ht:Wt:e===vt?Wt:ht}_orderToDirection(e){return ie()?e===ht?vt:An:e===ht?An:vt}static jQueryInterface(e){return this.each(function(){let n=zn.getOrCreateInstance(this,e);if(typeof e=="number"){n.to(e);return}if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}};r(zn,"Carousel");var _t=zn;E.on(document,Sc,Nc,function(t){let e=A.getElementFromSelector(this);if(!e||!e.classList.contains(mo))return;t.preventDefault();let n=_t.getOrCreateInstance(e),s=this.getAttribute("data-bs-slide-to");if(s){n.to(s),n._maybeEnableCycle();return}if(Te.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});E.on(window,xc,()=>{let t=A.find(Dc);for(let e of t)_t.getOrCreateInstance(e)});re(_t);var zc="collapse",Hc="bs.collapse",Jt=`.${Hc}`,Vc=".data-api",Bc=`show${Jt}`,Wc=`shown${Jt}`,Fc=`hide${Jt}`,Gc=`hidden${Jt}`,Yc=`click${Jt}${Vc}`,bi="show",bt="collapse",Tn="collapsing",jc="collapsed",Xc=`:scope .${bt} .${bt}`,qc="collapse-horizontal",Kc="width",Uc="height",Qc=".collapse.show, .collapse.collapsing",Li='[data-bs-toggle="collapse"]',Zc={parent:null,toggle:!0},Jc={parent:"(null|element)",toggle:"boolean"},Gt=class Gt extends ee{constructor(e,n){super(e,n),this._isTransitioning=!1,this._triggerArray=[];let s=A.find(Li);for(let i of s){let a=A.getSelectorFromElement(i),o=A.find(a).filter(c=>c===this._element);a!==null&&o.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Zc}static get DefaultType(){return Jc}static get NAME(){return zc}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];
vendor: 14,448 bytes, line 1
1if(this._config.parent&&(e=this._getFirstLevelChildren(Qc).filter(c=>c!==this._element).map(c=>Gt.getOrCreateInstance(c,{toggle:!1}))),e.length&&e[0]._isTransitioning||E.trigger(this._element,Bc).defaultPrevented)return;for(let c of e)c.hide();let s=this._getDimension();this._element.classList.remove(bt),this._element.classList.add(Tn),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;let i=r(()=>{this._isTransitioning=!1,this._element.classList.remove(Tn),this._element.classList.add(bt,bi),this._element.style[s]="",E.trigger(this._element,Wc)},"complete"),o=`scroll${s[0].toUpperCase()+s.slice(1)}`;this._queueCallback(i,this._element,!0),this._element.style[s]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||E.trigger(this._element,Fc).defaultPrevented)return;let n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,Zt(this._element),this._element.classList.add(Tn),this._element.classList.remove(bt,bi);for(let i of this._triggerArray){let a=A.getElementFromSelector(i);a&&!this._isShown(a)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;let s=r(()=>{this._isTransitioning=!1,this._element.classList.remove(Tn),this._element.classList.add(bt),E.trigger(this._element,Gc)},"complete");this._element.style[n]="",this._queueCallback(s,this._element,!0)}_isShown(e=this._element){return e.classList.contains(bi)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=Ie(e.parent),e}_getDimension(){return this._element.classList.contains(qc)?Kc:Uc}_initializeChildren(){if(!this._config.parent)return;let e=this._getFirstLevelChildren(Li);for(let n of e){let s=A.getElementFromSelector(n);s&&this._addAriaAndCollapsedClass([n],this._isShown(s))}}_getFirstLevelChildren(e){let n=A.find(Xc,this._config.parent);return A.find(e,this._config.parent).filter(s=>!n.includes(s))}_addAriaAndCollapsedClass(e,n){if(e.length)for(let s of e)s.classList.toggle(jc,!n),s.setAttribute("aria-expanded",n)}static jQueryInterface(e){let n={};return typeof e=="string"&&/show|hide/.test(e)&&(n.toggle=!1),this.each(function(){let s=Gt.getOrCreateInstance(this,n);if(typeof e=="string"){if(typeof s[e]>"u")throw new TypeError(`No method named "${e}"`);s[e]()}})}};r(Gt,"Collapse");var qt=Gt;E.on(document,Yc,Li,function(t){(t.target.tagName==="A"||t.delegateTarget&&t.delegateTarget.tagName==="A")&&t.preventDefault();for(let e of A.getMultipleElementsFromSelector(this))qt.getOrCreateInstance(e,{toggle:!1}).toggle()});re(qt);var Lr="dropdown",ed="bs.dropdown",nt=`.${ed}`,Di=".data-api",td="Escape",Ir="Tab",nd="ArrowUp",Pr="ArrowDown",sd=2,id=`hide${nt}`,ad=`hidden${nt}`,rd=`show${nt}`,od=`shown${nt}`,vo=`click${nt}${Di}`,Eo=`keydown${nt}${Di}`,ld=`keyup${nt}${Di}`,Et="show",cd="dropup",dd="dropend",fd="dropstart",ud="dropup-center",pd="dropdown-center",Qe='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',md=`${Qe}.${Et}`,Mn=".dropdown-menu",hd=".navbar",gd=".navbar-nav",vd=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Ed=ie()?"top-end":"top-start",bd=ie()?"top-start":"top-end",yd=ie()?"bottom-end":"bottom-start",_d=ie()?"bottom-start":"bottom-end",Td=ie()?"left-start":"right-start",xd=ie()?"right-start":"left-start",Sd="top",Cd="bottom",$d={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Ad={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"},yt=class yt extends ee{constructor(e,n){super(e,n),this._popper=null,this._parent=this._element.parentNode,this._menu=A.next(this._element,Mn)[0]||A.prev(this._element,Mn)[0]||A.findOne(Mn,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return $d}static get DefaultType(){return Ad}static get NAME(){return Lr}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Pe(this._element)||this._isShown())return;let e={relatedTarget:this._element};if(!E.trigger(this._element,rd,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(gd))for(let s of[].concat(...document.body.children))E.on(s,"mouseover",On);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Et),this._element.classList.add(Et),E.trigger(this._element,od,e)}}hide(){if(Pe(this._element)||!this._isShown())return;let 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()}_completeHide(e){if(!E.trigger(this._element,id,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(let s of[].concat(...document.body.children))E.off(s,"mouseover",On);this._popper&&this._popper.destroy(),this._menu.classList.remove(Et),this._element.classList.remove(Et),this._element.setAttribute("aria-expanded","false"),Te.removeDataAttribute(this._menu,"popper"),E.trigger(this._element,ad,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!_e(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Lr.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof yn>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:_e(this._config.reference)?e=Ie(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);let n=this._getPopperConfig();this._popper=Bt(e,this._menu,n)}_isShown(){return this._menu.classList.contains(Et)}_getPlacement(){let e=this._parent;if(e.classList.contains(dd))return Td;if(e.classList.contains(fd))return xd;if(e.classList.contains(ud))return Sd;if(e.classList.contains(pd))return Cd;let n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(cd)?n?bd:Ed:n?_d:yd}_detectNavbar(){return this._element.closest(hd)!==null}_getOffset(){let{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_getPopperConfig(){let e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Te.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...Z(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:n}){let s=A.find(vd,this._menu).filter(i=>Tt(i));s.length&&Pi(s,n,e===Pr,!s.includes(n)).focus()}static jQueryInterface(e){return this.each(function(){let n=yt.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}static clearMenus(e){if(e.button===sd||e.type==="keyup"&&e.key!==Ir)return;let n=A.find(md);for(let s of n){let i=yt.getInstance(s);if(!i||i._config.autoClose===!1)continue;let a=e.composedPath(),o=a.includes(i._menu);if(a.includes(i._element)||i._config.autoClose==="inside"&&!o||i._config.autoClose==="outside"&&o||i._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Ir||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;let c={relatedTarget:i._element};e.type==="click"&&(c.clickEvent=e),i._completeHide(c)}}static dataApiKeydownHandler(e){let n=/input|textarea/i.test(e.target.tagName),s=e.key===td,i=[nd,Pr].includes(e.key);if(!i&&!s||n&&!s)return;e.preventDefault();let a=this.matches(Qe)?this:A.prev(this,Qe)[0]||A.next(this,Qe)[0]||A.findOne(Qe,e.delegateTarget.parentNode),o=yt.getOrCreateInstance(a);if(i){e.stopPropagation(),o.show(),o._selectMenuItem(e);return}o._isShown()&&(e.stopPropagation(),o.hide(),a.focus())}};r(yt,"Dropdown");var xe=yt;E.on(document,Eo,Qe,xe.dataApiKeydownHandler);E.on(document,Eo,Mn,xe.dataApiKeydownHandler);E.on(document,vo,xe.clearMenus);E.on(document,ld,xe.clearMenus);E.on(document,vo,Qe,function(t){t.preventDefault(),xe.getOrCreateInstance(this).toggle()});re(xe);var bo="backdrop",Md="fade",Nr="show",Dr=`mousedown.bs.${bo}`,Od={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Ld={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"},Hi=class Hi extends Je{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Od}static get DefaultType(){return Ld}static get NAME(){return bo}show(e){if(!this._config.isVisible){Z(e);return}this._append();let n=this._getElement();this._config.isAnimated&&Zt(n),n.classList.add(Nr),this._emulateAnimation(()=>{Z(e)})}hide(e){if(!this._config.isVisible){Z(e);return}this._getElement().classList.remove(Nr),this._emulateAnimation(()=>{this.dispose(),Z(e)})}dispose(){this._isAppended&&(E.off(this._element,Dr),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){let e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(Md),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=Ie(e.rootElement),e}_append(){if(this._isAppended)return;let e=this._getElement();this._config.rootElement.append(e),E.on(e,Dr,()=>{Z(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){io(e,this._getElement(),this._config.isAnimated)}};r(Hi,"Backdrop");var In=Hi,Id="focustrap",Pd="bs.focustrap",Pn=`.${Pd}`,Nd=`focusin${Pn}`,Dd=`keydown.tab${Pn}`,wd="Tab",kd="forward",wr="backward",Rd={autofocus:!0,trapElement:null},zd={autofocus:"boolean",trapElement:"element"},Vi=class Vi extends Je{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Rd}static get DefaultType(){return zd}static get NAME(){return Id}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),E.off(document,Pn),E.on(document,Nd,e=>this._handleFocusin(e)),E.on(document,Dd,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,E.off(document,Pn))}_handleFocusin(e){let{trapElement:n}=this._config;if(e.target===document||e.target===n||n.contains(e.target))return;let s=A.focusableChildren(n);s.length===0?n.focus():this._lastTabNavDirection===wr?s[s.length-1].focus():s[0].focus()}_handleKeydown(e){e.key===wd&&(this._lastTabNavDirection=e.shiftKey?wr:kd)}};r(Vi,"FocusTrap");var Nn=Vi,kr=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Rr=".sticky-top",xn="padding-right",zr="margin-right",Bi=class Bi{constructor(){this._element=document.body}getWidth(){let e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){let e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,xn,n=>n+e),this._setElementAttributes(kr,xn,n=>n+e),this._setElementAttributes(Rr,zr,n=>n-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,xn),this._resetElementAttributes(kr,xn),this._resetElementAttributes(Rr,zr)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,n,s){let i=this.getWidth(),a=r(o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+i)return;this._saveInitialAttribute(o,n);let c=window.getComputedStyle(o).getPropertyValue(n);o.style.setProperty(n,`${s(Number.parseFloat(c))}px`)},"manipulationCallBack");this._applyManipulationCallback(e,a)}_saveInitialAttribute(e,n){let s=e.style.getPropertyValue(n);s&&Te.setDataAttribute(e,n,s)}_resetElementAttributes(e,n){let s=r(i=>{let a=Te.getDataAttribute(i,n);if(a===null){i.style.removeProperty(n);return}Te.removeDataAttribute(i,n),i.style.setProperty(n,a)},"manipulationCallBack");this._applyManipulationCallback(e,s)}_applyManipulationCallback(e,n){if(_e(e)){n(e);return}for(let s of A.find(e,this._element))n(s)}};r(Bi,"ScrollBarHelper");var Kt=Bi,Hd="modal",Vd="bs.modal",ae=`.${Vd}`,Bd=".data-api",Wd="Escape",Fd=`hide${ae}`,Gd=`hidePrevented${ae}`,yo=`hidden${ae}`,_o=`show${ae}`,Yd=`shown${ae}`,jd=`resize${ae}`,Xd=`click.dismiss${ae}`,qd=`mousedown.dismiss${ae}`,Kd=`keydown.dismiss${ae}`,Ud=`click${ae}${Bd}`,Hr="modal-open",Qd="fade",Vr="show",yi="modal-static",Zd=".modal.show",Jd=".modal-dialog",ef=".modal-body",tf='[data-bs-toggle="modal"]',nf={backdrop:!0,focus:!0,keyboard:!0},sf={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"},Hn=class Hn extends ee{constructor(e,n){super(e,n),this._dialog=A.findOne(Jd,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Kt,this._addEventListeners()}static get Default(){return nf}static get DefaultType(){return sf}static get NAME(){return Hd}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||E.trigger(this._element,_o,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Hr),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||E.trigger(this._element,Fd).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Vr),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){E.off(window,ae),E.off(this._dialog,ae),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new In({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Nn({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;let n=A.findOne(ef,this._dialog);
1n&&(n.scrollTop=0),Zt(this._element),this._element.classList.add(Vr);let s=r(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,E.trigger(this._element,Yd,{relatedTarget:e})},"transitionComplete");this._queueCallback(s,this._dialog,this._isAnimated())}_addEventListeners(){E.on(this._element,Kd,e=>{if(e.key===Wd){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),E.on(window,jd,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),E.on(this._element,qd,e=>{E.one(this._element,Xd,n=>{if(!(this._element!==e.target||this._element!==n.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_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(Hr),this._resetAdjustments(),this._scrollBar.reset(),E.trigger(this._element,yo)})}_isAnimated(){return this._element.classList.contains(Qd)}_triggerBackdropTransition(){if(E.trigger(this._element,Gd).defaultPrevented)return;let n=this._element.scrollHeight>document.documentElement.clientHeight,s=this._element.style.overflowY;s==="hidden"||this._element.classList.contains(yi)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(yi),this._queueCallback(()=>{this._element.classList.remove(yi),this._queueCallback(()=>{this._element.style.overflowY=s},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){let e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),s=n>0;if(s&&!e){let i=ie()?"paddingLeft":"paddingRight";this._element.style[i]=`${n}px`}if(!s&&e){let i=ie()?"paddingRight":"paddingLeft";this._element.style[i]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,n){return this.each(function(){let s=Hn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof s[e]>"u")throw new TypeError(`No method named "${e}"`);s[e](n)}})}};r(Hn,"Modal");var et=Hn;E.on(document,Ud,tf,function(t){let e=A.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),E.one(e,_o,i=>{i.defaultPrevented||E.one(e,yo,()=>{Tt(this)&&this.focus()})});let n=A.findOne(Zd);n&&et.getInstance(n).hide(),et.getOrCreateInstance(e).toggle(this)});Yn(et);re(et);var af="offcanvas",rf="bs.offcanvas",Ce=`.${rf}`,To=".data-api",of=`load${Ce}${To}`,lf="Escape",Br="show",Wr="showing",Fr="hiding",cf="offcanvas-backdrop",xo=".offcanvas.show",df=`show${Ce}`,ff=`shown${Ce}`,uf=`hide${Ce}`,Gr=`hidePrevented${Ce}`,So=`hidden${Ce}`,pf=`resize${Ce}`,mf=`click${Ce}${To}`,hf=`keydown.dismiss${Ce}`,gf='[data-bs-toggle="offcanvas"]',vf={backdrop:!0,keyboard:!0,scroll:!1},Ef={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"},Vn=class Vn extends ee{constructor(e,n){super(e,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return vf}static get DefaultType(){return Ef}static get NAME(){return af}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||E.trigger(this._element,df,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Kt().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Wr);let s=r(()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Br),this._element.classList.remove(Wr),E.trigger(this._element,ff,{relatedTarget:e})},"completeCallBack");this._queueCallback(s,this._element,!0)}hide(){if(!this._isShown||E.trigger(this._element,uf).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Fr),this._backdrop.hide();let n=r(()=>{this._element.classList.remove(Br,Fr),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Kt().reset(),E.trigger(this._element,So)},"completeCallback");this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){let e=r(()=>{if(this._config.backdrop==="static"){E.trigger(this._element,Gr);return}this.hide()},"clickCallback"),n=!!this._config.backdrop;return new In({className:cf,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?e:null})}_initializeFocusTrap(){return new Nn({trapElement:this._element})}_addEventListeners(){E.on(this._element,hf,e=>{if(e.key===lf){if(this._config.keyboard){this.hide();return}E.trigger(this._element,Gr)}})}static jQueryInterface(e){return this.each(function(){let n=Vn.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method n
1amed "${e}"`);n[e](this)}})}};r(Vn,"Offcanvas");var Se=Vn;E.on(document,mf,gf,function(t){let e=A.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),Pe(this))return;E.one(e,So,()=>{Tt(this)&&this.focus()});let n=A.findOne(xo);n&&n!==e&&Se.getInstance(n).hide(),Se.getOrCreateInstance(e).toggle(this)});E.on(window,of,()=>{for(let t of A.find(xo))Se.getOrCreateInstance(t).show()});E.on(window,pf,()=>{for(let t of A.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(t).position!=="fixed"&&Se.getOrCreateInstance(t).hide()});Yn(Se);re(Se);var bf=/^aria-[\w-]*$/i,Co={"*":["class","dir","id","lang","role",bf],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:[]},yf=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),_f=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Tf=r((t,e)=>{let n=t.nodeName.toLowerCase();return e.includes(n)?yf.has(n)?!!_f.test(t.nodeValue):!0:e.filter(s=>s instanceof RegExp).some(s=>s.test(n))},"allowedAttribute");function xf(t,e,n){if(!t.length)return t;if(n&&typeof n=="function")return n(t);let i=new window.DOMParser().parseFromString(t,"text/html"),a=[].concat(...i.body.querySelectorAll("*"));for(let o of a){let c=o.nodeName.toLowerCase();if(!Object.keys(e).includes(c)){o.remove();continue}let l=[].concat(...o.attributes),d=[].concat(e["*"]||[],e[c]||[]);for(let f of l)Tf(f,d)||o.removeAttribute(f.nodeName)}return i.body.innerHTML}r(xf,"sanitizeHtml");var Sf="TemplateFactory",Cf={allowList:Co,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},$f={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Af={entry:"(string|element|function|null)",selector:"(string|element)"},Wi=class Wi extends Je{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Cf}static get DefaultType(){return $f}static get NAME(){return Sf}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){let e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(let[i,a]of Object.entries(this._config.content))this._setContent(e,a,i);let n=e.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&n.classList.add(...s.split(" ")),n}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(let[n,s]of Object.entries(e))super._typeCheckConfig({selector:n,entry:s},Af)}_setContent(e,n,s){let i=A.findOne(s,e);if(i){if(n=this._resolvePossibleFunction(n),!n){i.remove();return}if(_e(n)){this._putElementInTemplate(Ie(n),i);return}if(this._config.html){i.innerHTML=this._maybeSanitize(n);return}i.textContent=n}}_maybeSanitize(e){return this._config.sanitize?xf(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Z(e,[this])}_putElementInTemplate(e,n){if(this._config.html){n.innerHTML="",n.append(e);return}n.textContent=e.textContent}};r(Wi,"TemplateFactory");var Ii=Wi,Mf="tooltip",Of=new Set(["sanitize","allowList","sanitizeFn"]),_i="fade",Lf="modal",Sn="show",If=".tooltip-inner",Yr=`.${Lf}`,jr="hide.bs.modal",Ft="hover",Ti="focus",Pf="click",Nf="manual",Df="hide",wf="hidden",kf="show",Rf="shown",zf="inserted",Hf="click",Vf="focusin",Bf="focusout",Wf="mouseenter",Ff="mouseleave",Gf={AUTO:"auto",TOP:"top",RIGHT:ie()?"left":"right",BOTTOM:"bottom",LEFT:ie()?"right":"left"},Yf={allowList:Co,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"}
1,jf={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"},Bn=class Bn extends ee{constructor(e,n){if(typeof yn>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Yf}static get DefaultType(){return jf}static get NAME(){return Mf}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),E.off(this._element.closest(Yr),jr,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;let e=E.trigger(this._element,this.constructor.eventName(kf)),s=(no(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!s)return;this._disposePopper();let i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));let{container:a}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(i),E.trigger(this._element,this.constructor.eventName(zf))),this._popper=this._createPopper(i),i.classList.add(Sn),"ontouchstart"in document.documentElement)for(let c of[].concat(...document.body.children))E.on(c,"mouseover",On);let o=r(()=>{E.trigger(this._element,this.constructor.eventName(Rf)),this._isHovered===!1&&this._leave(),this._isHovered=!1},"complete");this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||E.trigger(this._element,this.constructor.eventName(Df)).defaultPrevented)return;if(this._getTipElement().classList.remove(Sn),"ontouchstart"in document.documentElement)for(let i of[].concat(...document.body.children))E.off(i,"mouseover",On);this._activeTrigger[Pf]=!1,this._activeTrigger[Ti]=!1,this._activeTrigger[Ft]=!1,this._isHovered=null;let s=r(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),E.trigger(this._element,this.constructor.eventName(wf)))},"complete");this._queueCallback(s,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){let n=this._getTemplateFactory(e).toHtml();if(!n)return null;n.classList.remove(_i,Sn),n.classList.add(`bs-${this.constructor.NAME}-auto`);let s=Pl(this.constructor.NAME).toString();return n.setAttribute("id",s),this._isAnimated()&&n.classList.add(_i),n}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Ii({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[If]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(_i)}_isShown(){return this.tip&&this.tip.classList.contains(Sn)}_createPopper(e){let n=Z(this._config.placement,[this,e,this._element]),s=Gf[n.toUpperCase()];return Bt(this._element,e,this._getPopperConfig(s))}_getOffset(){let{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_resolvePossibleFunction(e){return Z(e,[this._element])}_getPopperConfig(e){let n={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}}
vendor: 7,328 bytes, line 1
1,{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:r(s=>{this._getTipElement().setAttribute("data-popper-placement",s.state.placement)},"fn")}]};return{...n,...Z(this._config.popperConfig,[n])}}_setListeners(){let e=this._config.trigger.split(" ");for(let n of e)if(n==="click")E.on(this._element,this.constructor.eventName(Hf),this._config.selector,s=>{this._initializeOnDelegatedTarget(s).toggle()});else if(n!==Nf){let s=n===Ft?this.constructor.eventName(Wf):this.constructor.eventName(Vf),i=n===Ft?this.constructor.eventName(Ff):this.constructor.eventName(Bf);E.on(this._element,s,this._config.selector,a=>{let o=this._initializeOnDelegatedTarget(a);o._activeTrigger[a.type==="focusin"?Ti:Ft]=!0,o._enter()}),E.on(this._element,i,this._config.selector,a=>{let o=this._initializeOnDelegatedTarget(a);o._activeTrigger[a.type==="focusout"?Ti:Ft]=o._element.contains(a.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},E.on(this._element.closest(Yr),jr,this._hideModalHandler)}_fixTitle(){let e=this._element.getAttribute("title");e&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,n){clearTimeout(this._timeout),this._timeout=setTimeout(e,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){let n=Te.getDataAttributes(this._element);for(let s of Object.keys(n))Of.has(s)&&delete n[s];return e={...n,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:Ie(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){let e={};for(let[n,s]of Object.entries(this._config))this.constructor.Default[n]!==s&&(e[n]=s);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){let n=Bn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}};r(Bn,"Tooltip");var tt=Bn;re(tt);var Xf="popover",qf=".popover-header",Kf=".popover-body",Uf={...tt.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Qf={...tt.DefaultType,content:"(null|string|element|function)"},Wn=class Wn extends tt{static get Default(){return Uf}static get DefaultType(){return Qf}static get NAME(){return Xf}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[qf]:this._getTitle(),[Kf]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){let n=Wn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}};r(Wn,"Popover");var Dn=Wn;re(Dn);var Zf="scrollspy",Jf="bs.scrollspy",wi=`.${Jf}`,eu=".data-api",tu=`activate${wi}`,Xr=`click${wi}`,nu=`load${wi}${eu}`,su="dropdown-item",gt="active",iu='[data-bs-spy="scroll"]',xi="[href]",au=".nav, .list-group",qr=".nav-link",ru=".nav-item",ou=".list-group-item",lu=`${qr}, ${ru} > ${qr}, ${ou}`,cu=".dropdown",du=".dropdown-toggle",fu={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},uu={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"},Fn=class Fn extends ee{constructor(e,n){super(e,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return fu}static get DefaultType(){return uu}static get NAME(){return Zf}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(let e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=Ie(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(n=>Number.parseFloat(n))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(E.off(this._config.target,Xr),E.on(this._config.target,Xr,xi,e=>{let n=this._observableSections.get(e.target.hash);if(n){e.preventDefault();let s=this._rootElement||window,i=n.offsetTop-this._element.offsetTop;if(s.scrollTo){s.scrollTo({top:i,behavior:"smooth"});return}s.scrollTop=i}}))}_getNewObserver(){let e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),e)}_observerCallback(e){let n=r(o=>this._targetLinks.get(`#${o.target.id}`),"targetElement"),s=r(o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(n(o))},"activate"),i=(this._rootElement||document.documentElement).scrollTop,a=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(let o of e){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(o));continue}let c=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(a&&c){if(s(o),!i)return;continue}!a&&!c&&s(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;let e=A.find(xi,this._config.target);for(let n of e){if(!n.hash||Pe(n))continue;let s=A.findOne(decodeURI(n.hash),this._element);Tt(s)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,s))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(gt),this._activateParents(e),E.trigger(this._element,tu,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(su)){A.findOne(du,e.closest(cu)).classList.add(gt);return}for(let n of A.parents(e,au))for(let s of A.prev(n,lu))s.classList.add(gt)}_clearActiveClass(e){e.classList.remove(gt);let n=A.find(`${xi}.${gt}`,e);for(let s of n)s.classList.remove(gt)}static jQueryInterface(e){return this.each(function(){let n=Fn.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method n
1amed "${e}"`);n[e]()}})}};r(Fn,"ScrollSpy");var Ut=Fn;E.on(window,nu,()=>{for(let t of A.find(iu))Ut.getOrCreateInstance(t)});re(Ut);var pu="tab",mu="bs.tab",st=`.${mu}`,hu=`hide${st}`,gu=`hidden${st}`,vu=`show${st}`,Eu=`shown${st}`,bu=`click${st}`,yu=`keydown${st}`,_u=`load${st}`,Tu="ArrowLeft",Kr="ArrowRight",xu="ArrowUp",Ur="ArrowDown",Si="Home",Qr="End",Ze="active",Zr="fade",Ci="show",Su="dropdown",$o=".dropdown-toggle",Cu=".dropdown-menu",$i=`:not(${$o})`,$u='.list-group, .nav, [role="tablist"]',Au=".nav-item, .list-group-item",Mu=`.nav-link${$i}, .list-group-item${$i}, [role="tab"]${$i}`,Ao='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ai=`${Mu}, ${Ao}`,Ou=`.${Ze}[data-bs-toggle="tab"], .${Ze}[data-bs-toggle="pill"], .${Ze}[data-bs-toggle="list"]`,Yt=class Yt extends ee{constructor(e){super(e),this._parent=this._element.closest($u),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),E.on(this._element,yu,n=>this._keydown(n)))}static get NAME(){return pu}show(){let e=this._element;if(this._elemIsActive(e))return;let n=this._getActiveElem(),s=n?E.trigger(n,hu,{relatedTarget:e}):null;E.trigger(e,vu,{relatedTarget:n}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(n,e),this._activate(e,n))}_activate(e,n){if(!e)return;e.classList.add(Ze),this._activate(A.getElementFromSelector(e));let s=r(()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Ci);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),E.trigger(e,Eu,{relatedTarget:n})},"complete");this._queueCallback(s,e,e.classList.contains(Zr))}_deactivate(e,n){if(!e)return;e.classList.remove(Ze),e.blur(),this._deactivate(A.getElementFromSelector(e));let s=r(()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Ci);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),E.trigger(e,gu,{relatedTarget:n})},"complete");this._queueCallback(s,e,e.classList.contains(Zr))}_keydown(e){if(![Tu,Kr,xu,Ur,Si,Qr].includes(e.key))return;e.stopPropagation(),e.preventDefault();let n=this._getChildren().filter(i=>!Pe(i)),s;if([Si,Qr].includes(e.key))s=n[e.key===Si?0:n.length-1];else{let i=[Kr,Ur].includes(e.key);s=Pi(n,e.target,i,!0)}s&&(s.focus({preventScroll:!0}),Yt.getOrCreateInstance(s).show())}_getChildren(){return A.find(Ai,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,n){this._setAttributeIfNotExists(e,"role","tablist");for(let s of n)this._setInitialAttributesOnChild(s)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);let n=this._elemIsActive(e),s=this._getOuterElement(e);e.setAttribute("aria-selected",n),s!==e&&this._setAttributeIfNotExists(s,"role","presentation"),n||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){let n=A.getElementFromSelector(e);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,n){let s=this._getOuterElement(e);if(!s.classList.contains(Su))return;let i=r((a,o)=>{let c=A.findOne(a,s);c&&c.classList.toggle(o,n)},"toggle");i($o,Ze),i(Cu,Ci),s.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(e,n,s){e.hasAttribute(n)||e.setAttribute(n,s)}_elemIsActive(e){return e.classList.contains(Ze)}_getInnerElement(e){return e.matches(Ai)?e:A.findOne(Ai,e)}_getOuterElement(e){return e.closest(Au)||e}static jQueryInterface(e){return this.each(function(){let n=Yt.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}};r(Yt,"Tab");var Ne=Yt;E.on(document,bu,Ao,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),!Pe(this)&&Ne.getOrCreateInstance(this).show()});E.on(window,_u,()=>{for(let t of A.find(Ou))Ne.getOrCreateInstance(t)});re(Ne);var Lu="toast",Iu="bs.toast",we=`.${Iu}`,Pu=`mouseover${we}`,Nu=`mouseout${we}
1`,Du=`focusin${we}`,wu=`focusout${we}`,ku=`hide${we}`,Ru=`hidden${we}`,zu=`show${we}`,Hu=`shown${we}`,Vu="fade",Jr="hide",Cn="show",$n="showing",Bu={animation:"boolean",autohide:"boolean",delay:"number"},Wu={animation:!0,autohide:!0,delay:5e3},Gn=class Gn extends ee{constructor(e,n){super(e,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Wu}static get DefaultType(){return Bu}static get NAME(){return Lu}show(){if(E.trigger(this._element,zu).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Vu);let n=r(()=>{this._element.classList.remove($n),E.trigger(this._element,Hu),this._maybeScheduleHide()},"complete");this._element.classList.remove(Jr),Zt(this._element),this._element.classList.add(Cn,$n),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||E.trigger(this._element,ku).defaultPrevented)return;let n=r(()=>{this._element.classList.add(Jr),this._element.classList.remove($n,Cn),E.trigger(this._element,Ru)},"complete");this._element.classList.add($n),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Cn),super.dispose()}isShown(){return this._element.classList.contains(Cn)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,n){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}let s=e.relatedTarget;this._element===s||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){E.on(this._element,Pu,e=>this._onInteraction(e,!0)),E.on(this._element,Nu,e=>this._onInteraction(e,!1)),E.on(this._element,Du,e=>this._onInteraction(e,!0)),E.on(this._element,wu,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){let n=Gn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e](this)}})}};r(Gn,"Toast");var Qt=Gn;Yn(Qt);re(Qt);var Mo="hs-script-loader",Fu="//js.hs-scripts.com/8300015.js";var jn=document.getElementById("chat-fab"),Oo=!1;function Lo(t){if(Oo||document.getElementById(Mo))return;Oo=!0,window.hsConversationsSettings={...window.hsConversationsSettings||{},loadImmediately:!1},window.hsConversationsOnReady=window.hsConversationsOnReady||[],window.hsConversationsOnReady.push(function(){jn&&jn.classList.add("chat-fab--hidden"),t?window.HubSpotConversations.widget.load({widgetOpen:!0}):window.HubSpotConversations.widget.load()});let e=document.createElement("script");e.type="text/javascript",e.id=Mo,e.async=!0,e.defer=!0,e.src=Fu,document.body.appendChild(e)}r(Lo,"loadHubSpotChat");jn&&(jn.addEventListener("click",function(){Lo(!0)},{once:!0}),(window.requestIdleCallback?e=>window.requestIdleCallback(e,{timeout:2500}):e=>setTimeout(e,2500))(function(){Lo(!1)}));window.bootstrap=ki;window.Swiper=Lt;Lt.use([ln,cn]);var Gu=[].slice.call(document.querySelectorAll(".tab-btn"));Gu.forEach(function(t){var e=new Ne(t),n="#"+t.href.split("#")[1],s=document.querySelector(n+"-tab");t.addEventListener("click",function(i){i.preventDefault(),s.click()})});var Fi=document.querySelector("#site-nav");window.addEventListener("scroll",function(){window.scrollY>Fi.offsetHeight?Fi.classList.add("scrolled"):Fi.classList.remove("scrolled")});var Io=document.querySelector(".panzoom"),Yu=document.querySelector(".panzoom-reset"),ju=document.querySelector(".panzoom__content"),Po=document.querySelectorAll("[data-imgurl]");if(Io){let t=new ta(Io,{minScale:.5,maxScale:3});Yu.addEventListener("click",function(e){t.zoomTo(1)})}for(let t of Po)t.addEventListener("click",function(){Po.forEach(n=>{n.classList.remove("active-bg")}),t.classList.add("active-bg");var e=t.dataset.imgurl;ju.src=e});var en=!1,No=r(t=>{if(t.options.trigger.dataset.oiEventName){let e=t.options.trigger.dataset.oiEventName;typeof window.dataLayer<"u"&&window.dataLayer.push({event:e}),typeof window.hfaDataLayer<"u"&&window.hfaDataLayer.push({event:e})}},"doFancyboxOiEvent");na.bind("[data-fancybox]",{on:{initCarousel:r(t=>{en||(en=!0,No(t),setTimeout(()=>{en=!1},1e3))},"initCarousel"),done:r((t,e)=>{en||No(t)},"done"),destroy:r(()=>{en=!1},"destroy")}});var Gi=document.getElementById("mainNavToggler"),ke=document.getElementById("mainNavContent");Gi.addEventListener("click",function(){ke.classList.contains("show")?setTimeout(function(){ke.classList.remove("show"),Gi.setAttribute("aria-expanded","fal
1se"),ke.addEventListener("transitionend",r(function t(){ke.classList.add("mobile-nav-hidden"),ke.removeEventListener("transitionend",t)},"hide"),{once:!0})},0):(ke.classList.remove("mobile-nav-hidden"),ke.offsetHeight,ke.classList.add("show"),Gi.setAttribute("aria-expanded","true"))});var Xn=document.getElementById("detailSubnavToggler"),Q=document.getElementById("detail-subnav-links");if(Xn&&Q){let t=window.requestIdleCallback?c=>window.requestIdleCallback(c):c=>setTimeout(c,0),e=0,n=r(function(){e=Q.scrollHeight},"measureDetailSubnavHeight"),s=window.matchMedia("(max-width: 991.98px)"),i=r(function(){s.matches?Q.inert=!Q.classList.contains("show"):(Q.inert=!1,Q.style.removeProperty("height"))},"syncSubnavBreakpointState");i(),s.addEventListener("change",i),t(n);let a;window.addEventListener("resize",function(){clearTimeout(a),a=setTimeout(function(){t(n)},200)});let o=r(function(){Q.classList.contains("show")?(Q.style.height="0px",Q.classList.remove("show"),Q.inert=s.matches,Xn.setAttribute("aria-expanded","false")):(e||n(),Q.inert=!1,Q.style.height=e+"px",Q.classList.add("show"),Xn.setAttribute("aria-expanded","true"))},"toggleDetailSubnav");Xn.addEventListener("click",o),Q.querySelectorAll(".subnav-close-trigger").forEach(function(c){c.addEventListener("click",function(){Q.classList.contains("show")&&o()})})}document.getElementById("nav-search-btn").onclick=function(){document.getElementById("nav-search-wrapper").classList.toggle("open"),document.getElementById("mainNavItems").classList.toggle("hide")};var Do=document.querySelector("#nav-search-wrapper");function Xu(t){Do.classList.contains("open")&&!Do.contains(t.target)&&(document.getElementById("nav-search-wrapper").classList.toggle("open"),document.getElementById("mainNavItems").classList.toggle("hide"))}r(Xu,"handleClickOutside");document.addEventListener("click",Xu);window.addEventListener("load",function(){AOS.init(),oi.utils.wrap_oi_aspect()},!1);var $e=document.getElementById("contrast-btn");$e.addEventListener("click",qu);function qu(t=!1){let e=document.getElementById("a11y");e.disabled==!0?(oi.utils.cookie.set("a11y",!0),e.disabled=!1,$e.innerHTML="<div>HIGH CONTRAST</div><span class='btn-on'>ON</span>",$e.classList.add("border-active")):(oi.utils.cookie.delete("a11y","true"),e.disabled=!0,$e.innerHTML="<div>HIGH CONTRAST</div><span class='btn-off'>OFF</span>",$e.classList.remove("border-active"))}r(qu,"toggleTheme");window.addEventListener("oilib_loaded",t=>{let e=document.getElementById("a11y");oi.utils.cookie.get("a11y","true")?(e.disabled=!1,$e.innerHTML="<div>HIGH CONTRAST</div><span class='btn-on'>ON</span>",$e.classList.add("border-active")):(e.disabled=!0,$e.innerHTML="<div>HIGH CONTRAST</div><span class='btn-off'>OFF</span>",$e.classList.remove("border-active"))});function wo(t){t.keyCode===9&&(window.document.body.classList.add("accessible"),window.removeEventListener("keyup",wo))}r(wo,"add_accessible_class");window.addEventListener("keyup",wo); 2/*! Bundled license information: 3 4bootstrap/dist/js/bootstrap.esm.js: 5 (*! 6 * Bootstrap v5.3.2 (https://getbootstrap.com/) 7 * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 8 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 9 *) 10*/ 11//# sourceMappingURL=scripts.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.