PageSourceSearch

https://greauxhealthy.org/dist/assets/app-CVDwwD26.js

js greauxhealthy.org collected 2026-10-04 11:12:43 UTC 313,455 bytes, 31 lines download raw bytes

vendor: 37,237 bytes, line 1
1/* empty css            */function ls(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function yr(e={},t={}){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(i=>n.indexOf(i)<0).forEach(i=>{typeof e[i]>"u"?e[i]=t[i]:ls(t[i])&&ls(e[i])&&Object.keys(t[i]).length>0&&yr(e[i],t[i])})}const _a={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 le(){const e=typeof document<"u"?document:{};return yr(e,_a),e}const fc={document:_a,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function J(){const e=typeof window<"u"?window:{};return yr(e,fc),e}function We(e=""){return e.trim().split(" ").filter(t=>!!t.trim())}function hc(e){const t=e;Object.keys(t).forEach(n=>{try{t[n]=null}catch{}try{delete t[n]}catch{}})}function wt(e,t=0){return setTimeout(e,t)}function Ce(){return Date.now()}function pc(e){const t=J();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}function Di(e,t="x"){const n=J();let i,r,s;const a=pc(e);return n.WebKitCSSMatrix?(r=a.transform||a.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(o=>o.replace(",",".")).join(", ")),s=new n.WebKitCSSMatrix(r==="none"?"":r)):(s=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=s.toString().split(",")),t==="x"&&(n.WebKitCSSMatrix?r=s.m41:i.length===16?r=parseFloat(i[12]):r=parseFloat(i[4])),t==="y"&&(n.WebKitCSSMatrix?r=s.m42:i.length===16?r=parseFloat(i[13]):r=parseFloat(i[5])),r||0}function Qt(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function mc(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function Se(...e){const t=Object(e[0]);for(let n=1;n<e.length;n+=1){const i=e[n];if(i!=null&&!mc(i)){const r=Object.keys(Object(i)).filter(s=>s!=="__proto__"&&s!=="constructor"&&s!=="prototype");for(let s=0,a=r.length;s<a;s+=1){const o=r[s],l=Object.getOwnPropertyDescriptor(i,o);l!==void 0&&l.enumerable&&(Qt(t[o])&&Qt(i[o])?i[o].__swiper__?t[o]=i[o]:Se(t[o],i[o]):!Qt(t[o])&&Qt(i[o])?(t[o]={},i[o].__swiper__?t[o]=i[o]:Se(t[o],i[o])):t[o]=i[o])}}}return t}function it(e,t,n){e.style.setProperty(t,n)}function Aa({swiper:e,targetPosition:t,side:n}){const i=J(),r=-e.translate;let s=null,a;const o=e.params.speed;e.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(e.cssModeFrameID);const l=t>r?"next":"prev",f=(d,p)=>l==="next"&&d>=p||l==="prev"&&d<=p,c=()=>{a=new Date().getTime(),s===null&&(s=a);const d=Math.max(Math.min((a-s)/o,1),0),p=.5-Math.cos(d*Math.PI)/2;let u=r+p*(t-r);if(f(u,t)&&(u=t),e.wrapperEl.scrollTo({[n]:u}),f(u,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:u})}),i.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=i.requestAnimationFrame(c)};c()}function bt(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function ue(e,t=""){const n=J(),i=[...e.children];return n.HTMLSlotElement&&e instanceof HTMLSlotElement&&i.push(...e.assignedElements()),t?i.filter(r=>r.matches(t)):i}function gc(e,t){const n=[t];for(;n.length>0;){const i=n.shift();if(e===i)return!0;n.push(...i.children,...i.shadowRoot?i.shadowRoot.children:[],...i.assignedElements?i.assignedElements():[])}}function vc(e,t){const n=J();let i=t.contains(e);return!i&&n.HTMLSlotElement&&t instanceof HTMLSlotElement&&(i=[...t.assignedElements()].includes(e),i||(i=gc(e,t))),i}function Wn(e){try{console.warn(e);return}catch{}}function xe(e,t=[]){const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:We(t)),n}function Yn(e){const t=J(),n=le(),i=e.getBoundingClientRect(),r=n.body,s=e.clientTop||r.clientTop||0,a=e.clientLeft||r.clientLeft||0,o=e===t?t.scrollY:e.scrollTop,l=e===t?t.scrollX:e.scrollLeft;return{top:i.top+o-s,left:i.left+l-a}}function yc(e,t){const n=[];for(;e.previousElementSibling;){const i=e.previousElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}function bc(e,t){const n=[];for(;e.nextElementSibling;){const i=e.nextElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}function Xe(e,t){return J().getComputedStyle(e,null).getPropertyValue(t)}function ln(e){let t=e,n;if(t){for(n=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(n+=1);return n}}function lt(e,t){const n=[];let i=e.parentElement;for(;i;)t?i.matches(t)&&n.push(i):n.push(i),i=i.parentElement;return n}function nn(e,t){function n(i){i.target===e&&(t.call(e,i),e.removeEventListener("transitionend",n))}t&&e.addEventListener("transitionend",n)}function Fi(e,t,n){const i=J();return e[t==="width"?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-left":"margin-bottom"))}function X(e){return(Array.isArray(e)?e:[e]).filter(t=>!!t)}function ii(e){return t=>Math.abs(t)>0&&e.browser&&e.browser.need3dFix&&Math.abs(t)%90===0?t+.001:t}function De(e,t=""){typeof trustedTypes<"u"?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:n=>n}).createHTML(t):e.innerHTML=t}let hi;function Sc(){const e=J(),t=le();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function Pa(){return hi||(hi=Sc()),hi}let pi;function xc({userAgent:e}={}){const t=Pa(),n=J(),i=n.navigator.platform,r=e||n.navigator.userAgent,s={ios:!1,android:!1},a=n.screen.width,o=n.screen.height,l=r.match(/(Android);?[\s\/]+([\d.]+)?/);let f=r.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const c=r.match(/(iPod)(.*OS\s([\d_]+))?/),d=!f&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=i==="Win32";let u=i==="MacIntel";const h=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!f&&u&&t.touch&&h.indexOf(`${a}x${o}`)>=0&&(f=r.match(/(Version)\/([\d.]+)/),f||(f=[0,1,"13_0_0"]),u=!1),l&&!p&&(s.os="android",s.android=!0),(f||d||c)&&(s.os="ios",s.ios=!0),s}function wa(e={}){return pi||(pi=xc(e)),pi}let mi;function Ec(){const e=J(),t=wa();let n=!1;function i(){const o=e.navigator.userAgent.toLowerCase();return o.indexOf("safari")>=0&&o.indexOf("chrome")<0&&o.indexOf("android")<0}if(i()){const o=String(e.navigator.userAgent);if(o.includes("Version/")){const[l,f]=o.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));n=l<16||l===16&&f<2}}const r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),s=i(),a=s||r&&t.ios;return{isSafari:n||s,needPerspectiveFix:n,need3dFix:a,isWebView:r}}function Ia(){return mi||(mi=Ec()),mi}function Tc({swiper:e,on:t,emit:n}){const i=J();let r=null,s=null;const a=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},o=()=>{!e||e.destroyed||!e.initialized||(r=new ResizeObserver(c=>{s=i.requestAnimationFrame(()=>{const{width:d,height:p}=e;let u=d,h=p;c.forEach(({contentBoxSize:g,contentRect:v,target:m})=>{m&&m!==e.el||(u=v?v.width:(g[0]||g).inlineSize,h=v?v.height:(g[0]||g).blockSize)}),(u!==d||h!==p)&&a()})}),r.observe(e.el))},l=()=>{s&&i.cancelAnimationFrame(s),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null)},f=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&typeof i.ResizeObserver<"u"){o();return}i.addEventListener("resize",a),i.addEventListener("orientationchange",f)}),t("destroy",()=>{l(),i.removeEventListener("resize",a),i.removeEventListener("orientationchange",f)})}function Cc({swiper:e,extendParams:t,on:n,emit:i}){const r=[],s=J(),a=(f,c={})=>{const d=s.MutationObserver||s.WebkitMutationObserver,p=new d(u=>{if(e.__preventObserver__)return;if(u.length===1){i("observerUpdate",u[0]);return}const h=function(){i("observerUpdate",u[0])};s.requestAnimationFrame?s.requestAnimationFrame(h):s.setTimeout(h,0)});p.observe(f,{attributes:typeof c.attributes>"u"?!0:c.attributes,childList:e.isElement||(typeof c.childList>"u"?!0:c).childList,characterData:typeof c.characterData>"u"?!0:c.characterData}),r.push(p)},o=()=>{if(e.params.observer){if(e.params.observeParents){const f=lt(e.hostEl);for(let c=0;c<f.length;c+=1)a(f[c])}a(e.hostEl,{childList:e.params.observeSlideChildren}),a(e.wrapperEl,{attributes:!1})}},l=()=>{r.forEach(f=>{f.disconnect()}),r.splice(0,r.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",o),n("destroy",l)}var Mc={on(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const r=n?"unshift":"push";return e.split(" ").forEach(s=>{i.eventsListeners[s]||(i.eventsListeners[s]=[]),i.eventsListeners[s][r](t)}),i},once(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;function r(...s){i.off(e,r),r.__emitterProxy&&delete r.__emitterProxy,t.apply(i,s)}return r.__emitterProxy=t,i.on(e,r,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const i=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[i](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||e.split(" ").forEach(i=>{typeof t>"u"?n.eventsListeners[i]=[]:n.eventsListeners[i]&&n.eventsListeners[i].forEach((r,s)=>{(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[i].splice(s,1)})}),n},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let n,i,r;return typeof e[0]=="string"||Array.isArray(e[0])?(n=e[0],i=e.slice(1,e.length),r=t):(n=e[0].events,i=e[0].data,r=e[0].context||t),i.unshift(r),(Array.isArray(n)?n:n.split(" ")).forEach(a=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(o=>{o.apply(r,[a,...i])}),t.eventsListeners&&t.eventsListeners[a]&&t.eventsListeners[a].forEach(o=>{o.apply(r,i)})}),t}};function _c(){const e=this;let t,n;const i=e.el;typeof e.params.width<"u"&&e.params.width!==null?t=e.params.width:t=i.clientWidth,typeof e.params.height<"u"&&e.params.height!==null?n=e.params.height:n=i.clientHeight,!(t===0&&e.isHorizontal()||n===0&&e.isVertical())&&(t=t-parseInt(Xe(i,"padding-left")||0,10)-parseInt(Xe(i,"padding-right")||0,10),n=n-parseInt(Xe(i,"padding-top")||0,10)-parseInt(Xe(i,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))}function Ac(){const e=this;function t(_,C){return parseFloat(_.getPropertyValue(e.getDirectionLabel(C))||0)}const n=e.params,{wrapperEl:i,slidesEl:r,rtlTranslate:s,wrongRTL:a}=e,o=e.virtual&&n.virtual.enabled,l=o?e.virtual.slides.length:e.slides.length,f=ue(r,`.${e.params.slideClass}, swiper-slide`),c=o?e.virtual.slides.length:f.length;let d=[];const p=[],u=[];let h=n.slidesOffsetBefore;typeof h=="function"&&(h=n.slidesOffsetBefore.call(e));let g=n.slidesOffsetAfter;typeof g=="function"&&(g=n.slidesOffsetAfter.call(e));const v=e.snapGrid.length,m=e.slidesGrid.length,y=e.size-h-g;let b=n.spaceBetween,M=-h,T=0,x=0;if(typeof y>"u")return;typeof b=="string"&&b.indexOf("%")>=0?b=parseFloat(b.replace("%",""))/100*y:typeof b=="string"&&(b=parseFloat(b)),e.virtualSize=-b-h-g,f.forEach(_=>{s?_.style.marginLeft="":_.style.marginRight="",_.style.marginBottom="",_.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(it(i,"--swiper-centered-offset-before",""),it(i,"--swiper-centered-offset-after","")),n.cssMode&&(it(i,"--swiper-slides-offset-before",`${h}px`),it(i,"--swiper-slides-offset-after",`${g}px`));const E=n.grid&&n.grid.rows>1&&e.grid;E?e.grid.initSlides(f):e.grid&&e.grid.unsetSlides();let S;const w=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(_=>typeof n.breakpoints[_].slidesPerView<"u").length>0;for(let _=0;_<c;_+=1){S=0;const C=f[_];if(!(C&&(E&&e.grid.updateSlide(_,C,f),Xe(C,"display")==="none"))){if(o&&n.slidesPerView==="auto")n.virtual.slidesPerViewAutoSlideSize&&(S=n.virtual.slidesPerViewAutoSlideSize),S&&C&&(n.roundLengths&&(S=Math.floor(S)),C.style[e.getDirectionLabel("width")]=`${S}px`);else if(n.slidesPerView==="auto"){w&&(C.style[e.getDirectionLabel("width")]="");const P=getComputedStyle(C),O=C.style.transform,k=C.style.webkitTransform;if(O&&(C.style.transform="none"),k&&(C.style.webkitTransform="none"),n.roundLengths)S=e.isHorizontal()?Fi(C,"width"):Fi(C,"height");else{const $=t(P,"width"),L=t(P,"padding-left"),I=t(P,"padding-right"),A=t(P,"margin-left"),D=t(P,"margin-right"),N=P.getPropertyValue("box-sizing");if(N&&N==="border-box")S=$+A+D;else{const{clientWidth:W,offsetWidth:j}=C;S=$+L+I+A+D+(j-W)}}O&&(C.style.transform=O),k&&(C.style.webkitTransform=k),n.roundLengths&&(S=Math.floor(S))}else S=(y-(n.slidesPerView-1)*b)/n.slidesPerView,n.roundLengths&&(S=Math.floor(S)),C&&(C.style[e.getDirectionLabel("width")]=`${S}px`);C&&(C.swiperSlideSize=S),u.push(S),n.centeredSlides?(M=M+S/2+T/2+b,T===0&&_!==0&&(M=M-y/2-b),_===0&&(M=M-y/2-b),Math.abs(M)<1/1e3&&(M=0),n.roundLengths&&(M=Math.floor(M)),x%n.slidesPerGroup===0&&d.push(M),p.push(M)):(n.roundLengths&&(M=Math.floor(M)),(x-Math.min(e.params.slidesPerGroupSkip,x))%e.params.slidesPerGroup===0&&d.push(M),p.push(M),M=M+S+b),e.virtualSize+=S+b,T=S,x+=1}}if(e.virtualSize=Math.max(e.virtualSize,y)+g,s&&a&&(n.effect==="slide"||n.effect==="coverflow")&&(i.style.width=`${e.virtualSize+b}px`),n.setWrapperSize&&(i.style[e.getDirectionLabel("width")]=`${e.virtualSize+b}px`),E&&e.grid.updateWrapperSize(S,d),!n.centeredSlides){const _=n.slidesPerView!=="auto"&&n.slidesPerView%1!==0,C=n.snapToSlideEdge&&!n.loop&&(n.slidesPerView==="auto"||_);let P=d.length;if(C){let k;if(n.slidesPerView==="auto"){k=1;let $=0;for(let L=u.length-1;L>=0&&($+=u[L]+(L<u.length-1?b:0),$<=y);L-=1)k=u.length-L}else k=Math.floor(n.slidesPerView);P=Math.max(c-k,0)}const O=[];for(let k=0;k<d.length;k+=1){let $=d[k];n.roundLengths&&($=Math.floor($)),C?k<=P&&O.push($):d[k]<=e.virtualSize-y&&O.push($)}d=O,Math.floor(e.virtualSize-y)-Math.floor(d[d.length-1])>1&&(C||d.push(e.virtualSize-y))}if(o&&n.loop){const _=u[0]+b;if(n.slidesPerGroup>1){const C=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),P=_*n.slidesPerGroup;for(let O=0;O<C;O+=1)d.push(d[d.length-1]+P)}for(let C=0;C<e.virtual.slidesBefore+e.virtual.slidesAfter;C+=1)n.slidesPerGroup===1&&d.push(d[d.length-1]+_),p.push(p[p.length-1]+_),e.virtualSize+=_}if(d.length===0&&(d=[0]),b!==0){const _=e.isHorizontal()&&s?"marginLeft":e.getDirectionLabel("marginRight");f.filter((C,P)=>!n.cssMode||n.loop?!0:P!==f.length-1).forEach(C=>{C.style[_]=`${b}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let _=0;u.forEach(P=>{_+=P+(b||0)}),_-=b;const C=_>y?_-y:0;d=d.map(P=>P<=0?-h:P>C?C+g:P)}if(n.centerInsufficientSlides){let _=0;if(u.forEach(C=>{_+=C+(b||0)}),_-=b,_<y){const C=(y-_)/2;d.forEach((P,O)=>{d[O]=P-C}),p.forEach((P,O)=>{p[O]=P+C})}}if(Object.assign(e,{slides:f,snapGrid:d,slidesGrid:p,slidesSizesGrid:u}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){it(i,"--swiper-centered-offset-before",`${-d[0]}px`),it(i,"--swiper-centered-offset-after",`${e.size/2-u[u.length-1]/2}px`);const _=-e.snapGrid[0],C=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(P=>P+_),e.slidesGrid=e.slidesGrid.map(P=>P+C)}if(c!==l&&e.emit("slidesLengthChange"),d.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==m&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!o&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const _=`${n.containerModifierClass}backface-hidden`,C=e.el.classList.contains(_);c<=n.maxBackfaceHiddenSlides?C||e.el.classList.add(_):C&&e.el.classList.remove(_)}}function Pc(e){const t=this,n=[],i=t.virtual&&t.params.virtual.enabled;let r=0,s;typeof e=="number"?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);const a=o=>i?t.slides[t.getSlideIndexByData(o)]:t.slides[o];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(o=>{n.push(o)});else for(s=0;s<Math.ceil(t.params.slidesPerView);s+=1){const o=t.activeIndex+s;if(o>t.slides.length&&!i)break;n.push(a(o))}else n.push(a(t.activeIndex));for(s=0;s<n.length;s+=1)if(typeof n[s]<"u"){const o=n[s].offsetHeight;r=o>r?o:r}(r||r===0)&&(t.wrapperEl.style.height=`${r}px`)}function wc(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=(e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop)-n-e.cssOverflowAdjustment()}const cs=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function Ic(e=this&&this.translate||0){const t=this,n=t.params,{slides:i,rtlTranslate:r,snapGrid:s}=t;if(i.length===0)return;typeof i[0].swiperSlideOffset>"u"&&t.updateSlidesOffset();let a=-e;r&&(a=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let o=n.spaceBetween;typeof o=="string"&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*t.size:typeof o=="string"&&(o=parseFloat(o));for(let l=0;l<i.length;l+=1){const f=i[l];let c=f.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(c-=i[0].swiperSlideOffset);const d=(a+(n.centeredSlides?t.minTranslate():0)-c)/(f.swiperSlideSize+o),p=(a-s[0]+(n.centeredSlides?t.minTranslate():0)-c)/(f.swiperSlideSize+o),u=-(a-c),h=u+t.slidesSizesGrid[l],g=u>=0&&u<=t.size-t.slidesSizesGrid[l],v=u>=0&&u<t.size-1||h>1&&h<=t.size||u<=0&&h>=t.size;v&&(t.visibleSlides.push(f),t.visibleSlidesIndexes.push(l)),cs(f,v,n.slideVisibleClass),cs(f,g,n.slideFullyVisibleClass),f.progress=r?-d:d,f.originalProgress=r?-p:p}}function Lc(e){const t=this;if(typeof e>"u"){const c=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*c||0}const n=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:r,isBeginning:s,isEnd:a,progressLoop:o}=t;const l=s,f=a;if(i===0)r=0,s=!0,a=!0;else{r=(e-t.minTranslate())/i;const c=Math.abs(e-t.minTranslate())<1,d=Math.abs(e-t.maxTranslate())<1;s=c||r<=0,a=d||r>=1,c&&(r=0),d&&(r=1)}if(n.loop){const c=t.getSlideIndexByData(0),d=t.getSlideIndexByData(t.slides.length-1),p=t.slidesGrid[c],u=t.slidesGrid[d],h=t.slidesGrid[t.slidesGrid.length-1],g=Math.abs(e);g>=p?o=(g-p)/h:o=(g+h-u)/h,o>1&&(o-=1)}Object.assign(t,{progress:r,progressLoop:o,isBeginning:s,isEnd:a}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),s&&!l&&t.emit("reachBeginning toEdge"),a&&!f&&t.emit("reachEnd toEdge"),(l&&!s||f&&!a)&&t.emit("fromEdge"),t.emit("progress",r)}const gi=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function Oc(){const e=this,{slides:t,params:n,slidesEl:i,activeIndex:r}=e,s=e.virtual&&n.virtual.enabled,a=e.grid&&n.grid&&n.grid.rows>1,o=d=>ue(i,`.${n.slideClass}${d}, swiper-slide${d}`)[0];let l,f,c;if(s)if(n.loop){let d=r-e.virtual.slidesBefore;d<0&&(d=e.virtual.slides.length+d),d>=e.virtual.slides.length&&(d-=e.virtual.slides.length),l=o(`[data-swiper-slide-index="${d}"]`)}else l=o(`[data-swiper-slide-index="${r}"]`);else a?(l=t.find(d=>d.column===r),c=t.find(d=>d.column===r+1),f=t.find(d=>d.column===r-1)):l=t[r];l&&(a||(c=bc(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!c&&(c=t[0]),f=yc(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!f===0&&(f=t[t.length-1]))),t.forEach(d=>{gi(d,d===l,n.slideActiveClass),gi(d,d===c,n.slideNextClass),gi(d,d===f,n.slidePrevClass)}),e.emitSlidesClasses()}const Bn=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,i=t.closest(n());if(i){let r=i.querySelector(`.${e.params.lazyPreloaderClass}`);!r&&e.isElement&&(i.shadowRoot?r=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{i.shadowRoot&&(r=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),r&&!r.lazyPreloaderManaged&&r.remove())})),r&&!r.lazyPreloaderManaged&&r.remove()}},vi=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},zi=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const i=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),r=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const a=r,o=[a-t];o.push(...Array.from({length:t}).map((l,f)=>a+i+f)),e.slides.forEach((l,f)=>{o.includes(l.column)&&vi(e,f)});return}const s=r+i-1;if(e.params.rewind||e.params.loop)for(let a=r-t;a<=s+t;a+=1){const o=(a%n+n)%n;(o<r||o>s)&&vi(e,o)}else for(let a=Math.max(r-t,0);a<=Math.min(s+t,n-1);a+=1)a!==r&&(a>s||a<r)&&vi(e,a)};function kc(e){const{slidesGrid:t,params:n}=e,i=e.rtlTranslate?e.translate:-e.translate;let r;for(let s=0;s<t.length;s+=1)typeof t[s+1]<"u"?i>=t[s]&&i<t[s+1]-(t[s+1]-t[s])/2?r=s:i>=t[s]&&i<t[s+1]&&(r=s+1):i>=t[s]&&(r=s);return n.normalizeSlideIndex&&(r<0||typeof r>"u")&&(r=0),r}function Dc(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:i,params:r,activeIndex:s,realIndex:a,snapIndex:o}=t;let l=e,f;const c=u=>{let h=u-t.virtual.slidesBefore;return h<0&&(h=t.virtual.slides.length+h),h>=t.virtual.slides.length&&(h-=t.virtual.slides.length),h};if(typeof l>"u"&&(l=kc(t)),i.indexOf(n)>=0)f=i.indexOf(n);else{const u=Math.min(r.slidesPerGroupSkip,l);f=u+Math.floor((l-u)/r.slidesPerGroup)}if(f>=i.length&&(f=i.length-1),l===s&&!t.params.loop){f!==o&&(t.snapIndex=f,t.emit("snapIndexChange"));return}if(l===s&&t.params.loop&&t.virtual&&t.params.virtual.enabled){t.realIndex=c(l);return}const d=t.grid&&r.grid&&r.grid.rows>1;let p;if(t.virtual&&r.virtual.enabled)r.loop?p=c(l):p=l;else if(d){const u=t.slides.find(g=>g.column===l);let h=parseInt(u.getAttribute("data-swiper-slide-index"),10);Number.isNaN(h)&&(h=Math.max(t.slides.indexOf(u),0)),p=Math.floor(h/r.grid.rows)}else if(t.slides[l]){const u=t.slides[l].getAttribute("data-swiper-slide-index");u?p=parseInt(u,10):p=l}else p=l;Object.assign(t,{previousSnapIndex:o,snapIndex:f,previousRealIndex:a,realIndex:p,previousIndex:s,activeIndex:l}),t.initialized&&zi(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(a!==p&&t.emit("realIndexChange"),t.emit("slideChange"))}function Fc(e,t){const n=this,i=n.params;let r=e.closest(`.${i.slideClass}, swiper-slide`);!r&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(o=>{!r&&o.matches&&o.matches(`.${i.slideClass}, swiper-slide`)&&(r=o)});let s=!1,a;if(r){for(let o=0;o<n.slides.length;o+=1)if(n.slides[o]===r){s=!0,a=o;break}}if(r&&s)n.clickedSlide=r,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=a;else{n.clickedSlide=void 0,n.clickedIndex=void 0;return}i.slideToClickedSlide&&n.clickedIndex!==void 0&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}var zc={updateSize:_c,updateSlides:Ac,updateAutoHeight:Pc,updateSlidesOffset:wc,updateSlidesProgress:Ic,updateProgress:Lc,updateSlidesClasses:Oc,updateActiveIndex:Dc,updateClickedSlide:Fc};function Rc(e=this.isHorizontal()?"x":"y"){const t=this,{params:n,rtlTranslate:i,translate:r,wrapperEl:s}=t;if(n.virtualTranslate)return i?-r:r;if(n.cssMode)return r;let a=Di(s,e);return a+=t.cssOverflowAdjustment(),i&&(a=-a),a||0}function Vc(e,t){const n=this,{rtlTranslate:i,params:r,wrapperEl:s,progress:a}=n;let o=0,l=0;const f=0;n.isHorizontal()?o=i?-e:e:l=e,r.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?o:l,r.cssMode?s[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-o:-l:r.virtualTranslate||(n.isHorizontal()?o-=n.cssOverflowAdjustment():l-=n.cssOverflowAdjustment(),s.style.transform=`translate3d(${o}px, ${l}px, ${f}px)`);let c;const d=n.maxTranslate()-n.minTranslate();d===0?c=0:c=(e-n.minTranslate())/d,c!==a&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)}function $c(){return-this.snapGrid[0]}function Nc(){return-this.snapGrid[this.snapGrid.length-1]}function Bc(e=0,t=this.params.speed,n=!0,i=!0,r){const s=this,{params:a,wrapperEl:o}=s;if(s.animating&&a.preventInteractionOnTransition)return!1;const l=s.minTranslate(),f=s.maxTranslate();let c;if(i&&e>l?c=l:i&&e<f?c=f:c=e,s.updateProgress(c),a.cssMode){const d=s.isHorizontal();if(t===0)o[d?"scrollLeft":"scrollTop"]=-c;else{if(!s.support.smoothScroll)return Aa({swiper:s,targetPosition:-c,side:d?"left":"top"}),!0;o.scrollTo({[d?"left":"top"]:-c,behavior:"smooth"})}return!0}return t===0?(s.setTransition(0),s.setTranslate(c),n&&(s.emit("beforeTransitionStart",t,r),s.emit("transitionEnd"))):(s.setTransition(t),s.setTranslate(c),n&&(s.emit("beforeTransitionStart",t,r),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(p){!s||s.destroyed||p.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,s.animating=!1,n&&s.emit("transitionEnd"))}),s.wrapperEl.addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd))),!0}var Hc={getTranslate:Rc,setTranslate:Vc,minTranslate:$c,maxTranslate:Nc,translateTo:Bc};function Gc(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=e===0?"0ms":""),n.emit("setTransition",e,t)}function La({swiper:e,runCallbacks:t,direction:n,step:i}){const{activeIndex:r,previousIndex:s}=e;let a=n;a||(r>s?a="next":r<s?a="prev":a="reset"),e.emit(`transition${i}`),t&&a==="reset"?e.emit(`slideResetTransition${i}`):t&&r!==s&&(e.emit(`slideChangeTransition${i}`),a==="next"?e.emit(`slideNextTransition${i}`):e.emit(`slidePrevTransition${i}`))}function qc(e=!0,t){const n=this,{params:i}=n;i.cssMode||(i.autoHeight&&n.updateAutoHeight(),La({swiper:n,runCallbacks:e,direction:t,step:"Start"}))}function Wc(e=!0,t){const n=this,{params:i}=n;n.animating=!1,!i.cssMode&&(n.setTransition(0),La({swiper:n,runCallbacks:e,direction:t,step:"End"}))}var Yc={setTransition:Gc,transitionStart:qc,transitionEnd:Wc};function jc(e=0,t,n=!0,i,r){typeof e=="string"&&(e=parseInt(e,10));const s=this;let a=e;a<0&&(a=0);const{params:o,snapGrid:l,slidesGrid:f,previousIndex:c,activeIndex:d,rtlTranslate:p,wrapperEl:u,enabled:h}=s;if(!h&&!i&&!r||s.destroyed||s.animating&&o.preventInteractionOnTransition)return!1;typeof t>"u"&&(t=s.params.speed);const g=Math.min(s.params.slidesPerGroupSkip,a);let v=g+Math.floor((a-g)/s.params.slidesPerGroup);v>=l.length&&(v=l.length-1);const m=-l[v];if(o.normalizeSlideIndex)for(let E=0;E<f.length;E+=1){const S=-Math.floor(m*100),w=Math.floor(f[E]*100),_=Math.floor(f[E+1]*100);typeof f[E+1]<"u"?S>=w&&S<_-(_-w)/2?a=E:S>=w&&S<_&&(a=E+1):S>=w&&(a=E)}if(s.initialized&&a!==d&&(!s.allowSlideNext&&(p?m>s.translate&&m>s.minTranslate():m<s.translate&&m<s.minTranslate())||!s.allowSlidePrev&&m>s.translate&&m>s.maxTranslate()&&(d||0)!==a))return!1;a!==(c||0)&&n&&s.emit("beforeSlideChangeStart"),s.updateProgress(m);let y;a>d?y="next":a<d?y="prev":y="reset";const b=s.virtual&&s.params.virtual.enabled;if(!(b&&r)&&(p&&-m===s.translate||!p&&m===s.translate))return s.updateActiveIndex(a),o.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),o.effect!=="slide"&&s.setTranslate(m),y!=="reset"&&(s.transitionStart(n,y),s.transitionEnd(n,y)),!1;if(o.cssMode){const E=s.isHorizontal(),S=p?m:-m;if(t===0)b&&(s.wrapperEl.style.scrollSnapType="none",s._immediateVirtual=!0),b&&!s._cssModeVirtualInitialSet&&s.params.initialSlide>0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{u[E?"scrollLeft":"scrollTop"]=S})):u[E?"scrollLeft":"scrollTop"]=S,b&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1});else{if(!s.support.smoothScroll)return Aa({swiper:s,targetPosition:S,side:E?"left":"top"}),!0;u.scrollTo({[E?"left":"top"]:S,behavior:"smooth"})}return!0}const x=Ia().isSafari;return b&&!r&&x&&s.isElement&&s.virtual.update(!1,!1,a),s.setTransition(t),s.setTranslate(m),s.updateActiveIndex(a),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,i),s.transitionStart(n,y),t===0?s.transitionEnd(n,y):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(S){!s||s.destroyed||S.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(n,y))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0}function Xc(e=0,t,n=!0,i){typeof e=="string"&&(e=parseInt(e,10));const r=this;if(r.destroyed)return;typeof t>"u"&&(t=r.params.speed);const s=r.grid&&r.params.grid&&r.params.grid.rows>1;let a=e;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)a=a+r.virtual.slidesBefore;else{let o;if(s){const g=a*r.params.grid.rows;o=r.slides.find(v=>v.getAttribute("data-swiper-slide-index")*1===g).column}else o=r.getSlideIndexByData(a);const l=s?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:f,slidesOffsetBefore:c,slidesOffsetAfter:d}=r.params,p=f||!!c||!!d;let u=r.params.slidesPerView;u==="auto"?u=r.slidesPerViewDynamic():(u=Math.ceil(parseFloat(r.params.slidesPerView,10)),p&&u%2===0&&(u=u+1));let h=l-o<u;if(p&&(h=h||o<Math.ceil(u/2)),i&&p&&r.params.slidesPerView!=="auto"&&!s&&(h=!1),h){const g=p?o<r.activeIndex?"prev":"next":o-r.activeIndex-1<r.params.slidesPerView?"next":"prev";r.loopFix({direction:g,slideTo:!0,activeSlideIndex:g==="next"?o+1:o-l+1,slideRealIndex:g==="next"?r.realIndex:void 0})}if(s){const g=a*r.params.grid.rows;a=r.slides.find(v=>v.getAttribute("data-swiper-slide-index")*1===g).column}else a=r.getSlideIndexByData(a)}return requestAnimationFrame(()=>{r.slideTo(a,t,n,i)}),r}function Kc(e,t=!0,n){const i=this,{enabled:r,params:s,animating:a}=i;if(!r||i.destroyed)return i;typeof e>"u"&&(e=i.params.speed);let o=s.slidesPerGroup;s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(o=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex<s.slidesPerGroupSkip?1:o,f=i.virtual&&s.virtual.enabled;if(s.loop){if(a&&!f&&s.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&s.cssMode)return requestAnimationFrame(()=>{i.slideTo(i.activeIndex+l,e,t,n)}),!0}return s.rewind&&i.isEnd?i.slideTo(0,e,t,n):i.slideTo(i.activeIndex+l,e,t,n)}function Uc(e,t=!0,n){const i=this,{params:r,snapGrid:s,slidesGrid:a,rtlTranslate:o,enabled:l,animating:f}=i;if(!l||i.destroyed)return i;typeof e>"u"&&(e=i.params.speed);const c=i.virtual&&r.virtual.enabled;if(r.loop){if(f&&!c&&r.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}const d=o?i.translate:-i.translate;function p(y){return y<0?-Math.floor(Math.abs(y)):Math.floor(y)}const u=p(d),h=s.map(y=>p(y)),g=r.freeMode&&r.freeMode.enabled;let v=s[h.indexOf(u)-1];if(typeof v>"u"&&(r.cssMode||g)){let y;s.forEach((b,M)=>{u>=b&&(y=M)}),typeof y<"u"&&(v=g?s[y]:s[y>0?y-1:y])}let m=0;if(typeof v<"u"&&(m=a.indexOf(v),m<0&&(m=i.activeIndex-1),r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(m=m-i.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),r.rewind&&i.isBeginning){const y=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(y,e,t,n)}else if(r.loop&&i.activeIndex===0&&r.cssMode)return requestAnimationFrame(()=>{i.slideTo(m,e,t,n)}),!0;return i.slideTo(m,e,t,n)}function Zc(e,t=!0,n){const i=this;if(!i.destroyed)return typeof e>"u"&&(e=i.params.speed),i.slideTo(i.activeIndex,e,t,n)}function Jc(e,t=!0,n,i=.5){const r=this;if(r.destroyed)return;typeof e>"u"&&(e=r.params.speed);let s=r.activeIndex;const a=Math.min(r.params.slidesPerGroupSkip,s),o=a+Math.floor((s-a)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[o]){const f=r.snapGrid[o],c=r.snapGrid[o+1];l-f>(c-f)*i&&(s+=r.params.slidesPerGroup)}else{const f=r.snapGrid[o-1],c=r.snapGrid[o];l-f<=(c-f)*i&&(s-=r.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,r.slidesGrid.length-1),r.slideTo(s,e,t,n)}function Qc(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,i=t.slidesPerView==="auto"?e.slidesPerViewDynamic():t.slidesPerView;let r=e.getSlideIndexWhenGrid(e.clickedIndex),s;const a=e.isElement?"swiper-slide":`.${t.slideClass}`,o=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;s=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?e.slideToLoop(s):r>(o?(e.slides.length-i)/2-(e.params.grid.rows-1):e.slides.length-i)?(e.loopFix(),r=e.getSlideIndex(ue(n,`${a}[data-swiper-slide-index="${s}"]`)[0]),wt(()=>{e.slideTo(r)})):e.slideTo(r)}else e.slideTo(r)}var eu={slideTo:jc,slideToLoop:Xc,slideNext:Kc,slidePrev:Uc,slideReset:Zc,slideToClosest:Jc,slideToClickedSlide:Qc};function tu(e,t){const n=this,{params:i,slidesEl:r}=n;if(!i.loop||n.virtual&&n.params.virtual.enabled)return;const s=()=>{ue(r,`.${i.slideClass}, swiper-slide`).forEach((h,g)=>{h.setAttribute("data-swiper-slide-index",g)})},a=()=>{const u=ue(r,`.${i.slideBlankClass}`);u.forEach(h=>{h.remove()}),u.length>0&&(n.recalcSlides(),n.updateSlides())},o=n.grid&&i.grid&&i.grid.rows>1;i.loopAddBlankSlides&&(i.slidesPerGroup>1||o)&&a();const l=i.slidesPerGroup*(o?i.grid.rows:1),f=n.slides.length%l!==0,c=o&&n.slides.length%i.grid.rows!==0,d=u=>{for(let h=0;h<u;h+=1){const g=n.isElement?xe("swiper-slide",[i.slideBlankClass]):xe("div",[i.slideClass,i.slideBlankClass]);n.slidesEl.append(g)}};if(f){if(i.loopAddBlankSlides){const u=l-n.slides.length%l;d(u),n.recalcSlides(),n.updateSlides()}else Wn("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");s()}else if(c){if(i.loopAddBlankSlides){const u=i.grid.rows-n.slides.length%i.grid.rows;d(u),n.recalcSlides(),n.updateSlides()}else Wn("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");s()}else s();const p=i.centeredSlides||!!i.slidesOffsetBefore||!!i.slidesOffsetAfter;n.loopFix({slideRealIndex:e,direction:p?void 0:"next",initial:t})}function nu({slideRealIndex:e,slideTo:t=!0,direction:n,setTranslate:i,activeSlideIndex:r,initial:s,byController:a,byMousewheel:o}={}){const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:f,allowSlidePrev:c,allowSlideNext:d,slidesEl:p,params:u}=l,{centeredSlides:h,slidesOffsetBefore:g,slidesOffsetAfter:v,initialSlide:m}=u,y=h||!!g||!!v;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&u.virtual.enabled){t&&(!y&&l.snapIndex===0?l.slideTo(l.virtual.slides.length,0,!1,!0):y&&l.snapIndex<u.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0)),l.allowSlidePrev=c,l.allowSlideNext=d,l.emit("loopFix");return}let b=u.slidesPerView;b==="auto"?b=l.slidesPerViewDynamic():(b=Math.ceil(parseFloat(u.slidesPerView,10)),y&&b%2===0&&(b=b+1));const M=u.slidesPerGroupAuto?b:u.slidesPerGroup;let T=y?Math.max(M,Math.ceil(b/2)):M;T%M!==0&&(T+=M-T%M),T+=u.loopAdditionalSlides,l.loopedSlides=T;const x=l.grid&&u.grid&&u.grid.rows>1;f.length<b+T||l.params.effect==="cards"&&f.length<b+T*2?Wn("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):x&&u.grid.fill==="row"&&Wn("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
vendor: 15,965 bytes, line 1
1const E=[],S=[],w=x?Math.ceil(f.length/u.grid.rows):f.length,_=s&&w-m<b&&!y;let C=_?m:l.activeIndex;typeof r>"u"?r=l.getSlideIndex(f.find(A=>A.classList.contains(u.slideActiveClass))):C=r;const P=n==="next"||!n,O=n==="prev"||!n;let k=0,$=0;const I=(x?f[r].column:r)+(y&&typeof i>"u"?-b/2+.5:0);if(I<T){k=Math.max(T-I,M);for(let A=0;A<T-I;A+=1){const D=A-Math.floor(A/w)*w;if(x){const N=w-D-1;for(let W=f.length-1;W>=0;W-=1)f[W].column===N&&E.push(W)}else E.push(w-D-1)}}else if(I+b>w-T){$=Math.max(I-(w-T*2),M),_&&($=Math.max($,b-w+m+1));for(let A=0;A<$;A+=1){const D=A-Math.floor(A/w)*w;x?f.forEach((N,W)=>{N.column===D&&S.push(W)}):S.push(D)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),l.params.effect==="cards"&&f.length<b+T*2&&(S.includes(r)&&S.splice(S.indexOf(r),1),E.includes(r)&&E.splice(E.indexOf(r),1)),O&&E.forEach(A=>{f[A].swiperLoopMoveDOM=!0,p.prepend(f[A]),f[A].swiperLoopMoveDOM=!1}),P&&S.forEach(A=>{f[A].swiperLoopMoveDOM=!0,p.append(f[A]),f[A].swiperLoopMoveDOM=!1}),l.recalcSlides(),u.slidesPerView==="auto"?l.updateSlides():x&&(E.length>0&&O||S.length>0&&P)&&l.slides.forEach((A,D)=>{l.grid.updateSlide(D,A,l.slides)}),u.watchSlidesProgress&&l.updateSlidesOffset(),t){if(E.length>0&&O){if(typeof e>"u"){const A=l.slidesGrid[C],N=l.slidesGrid[C+k]-A;o?l.setTranslate(l.translate-N):(l.slideTo(C+Math.ceil(k),0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-N,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-N))}else if(i){const A=x?E.length/u.grid.rows:E.length;l.slideTo(l.activeIndex+A,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(S.length>0&&P)if(typeof e>"u"){const A=l.slidesGrid[C],N=l.slidesGrid[C-$]-A;o?l.setTranslate(l.translate-N):(l.slideTo(C-$,0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-N,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-N))}else{const A=x?S.length/u.grid.rows:S.length;l.slideTo(l.activeIndex-A,0,!1,!0)}}if(l.allowSlidePrev=c,l.allowSlideNext=d,l.controller&&l.controller.control&&!a){const A={slideRealIndex:e,direction:n,setTranslate:i,activeSlideIndex:r,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(D=>{!D.destroyed&&D.params.loop&&D.loopFix({...A,slideTo:D.params.slidesPerView===u.slidesPerView?t:!1})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...A,slideTo:l.controller.control.params.slidesPerView===u.slidesPerView?t:!1})}l.emit("loopFix")}function iu(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||!n||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const i=[];e.slides.forEach(r=>{const s=typeof r.swiperSlideIndex>"u"?r.getAttribute("data-swiper-slide-index")*1:r.swiperSlideIndex;i[s]=r}),e.slides.forEach(r=>{r.removeAttribute("data-swiper-slide-index")}),i.forEach(r=>{n.append(r)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var ru={loopCreate:tu,loopFix:nu,loopDestroy:iu};function su(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n=t.params.touchEventsTarget==="container"?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})}function au(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}var ou={setGrabCursor:su,unsetGrabCursor:au};function lu(e,t=this){function n(i){if(!i||i===le()||i===J())return null;i.assignedSlot&&(i=i.assignedSlot);const r=i.closest(e);return!r&&!i.getRootNode?null:r||n(i.getRootNode().host)}return n(t)}function us(e,t,n){const i=J(),{params:r}=e,s=r.edgeSwipeDetection,a=r.edgeSwipeThreshold;return s&&(n<=a||n>=i.innerWidth-a)?s==="prevent"?(t.preventDefault(),!0):!1:!0}function cu(e){const t=this,n=le();let i=e;i.originalEvent&&(i=i.originalEvent);const r=t.touchEventsData;if(i.type==="pointerdown"){if(r.pointerId!==null&&r.pointerId!==i.pointerId)return;r.pointerId=i.pointerId}else i.type==="touchstart"&&i.targetTouches.length===1&&(r.touchId=i.targetTouches[0].identifier);if(i.type==="touchstart"){us(t,i,i.targetTouches[0].pageX);return}const{params:s,touches:a,enabled:o}=t;if(!o||!s.simulateTouch&&i.pointerType==="mouse"||t.animating&&s.preventInteractionOnTransition)return;!t.animating&&s.cssMode&&s.loop&&t.loopFix();let l=i.target;if(s.touchEventsTarget==="wrapper"&&!vc(l,t.wrapperEl)||"which"in i&&i.which===3||"button"in i&&i.button>0||r.isTouched&&r.isMoved)return;const f=!!s.noSwipingClass&&s.noSwipingClass!=="",c=i.composedPath?i.composedPath():i.path;f&&i.target&&i.target.shadowRoot&&c&&(l=c[0]);const d=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,p=!!(i.target&&i.target.shadowRoot);if(s.noSwiping&&(p?lu(d,l):l.closest(d))){t.allowClick=!0;return}if(s.swipeHandler&&!l.closest(s.swipeHandler))return;a.currentX=i.pageX,a.currentY=i.pageY;const u=a.currentX,h=a.currentY;if(!us(t,i,u))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=u,a.startY=h,r.touchStartTime=Ce(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(r.allowThresholdMove=!1);let g=!0;l.matches(r.focusableElements)&&(g=!1,l.nodeName==="SELECT"&&(r.isTouched=!1)),n.activeElement&&n.activeElement.matches(r.focusableElements)&&n.activeElement!==l&&(i.pointerType==="mouse"||i.pointerType!=="mouse"&&!l.matches(r.focusableElements))&&n.activeElement.blur();const v=g&&t.allowTouchMove&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||v)&&!l.isContentEditable&&i.preventDefault(),s.freeMode&&s.freeMode.enabled&&t.freeMode&&t.animating&&!s.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",i)}function uu(e){const t=le(),n=this,i=n.touchEventsData,{params:r,touches:s,rtlTranslate:a,enabled:o}=n;if(!o||!r.simulateTouch&&e.pointerType==="mouse")return;let l=e;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(i.touchId!==null||l.pointerId!==i.pointerId))return;let f;if(l.type==="touchmove"){if(f=[...l.changedTouches].find(T=>T.identifier===i.touchId),!f||f.identifier!==i.touchId)return}else f=l;if(!i.isTouched){i.startMoving&&i.isScrolling&&n.emit("touchMoveOpposite",l);return}const c=f.pageX,d=f.pageY;if(l.preventedByNestedSwiper){s.startX=c,s.startY=d;return}if(!n.allowTouchMove){l.target.matches(i.focusableElements)||(n.allowClick=!1),i.isTouched&&(Object.assign(s,{startX:c,startY:d,currentX:c,currentY:d}),i.touchStartTime=Ce());return}if(r.touchReleaseOnEdges&&!r.loop)if(n.isVertical()){if(d<s.startY&&n.translate<=n.maxTranslate()||d>s.startY&&n.translate>=n.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else{if(a&&(c>s.startX&&-n.translate<=n.maxTranslate()||c<s.startX&&-n.translate>=n.minTranslate()))return;if(!a&&(c<s.startX&&n.translate<=n.maxTranslate()||c>s.startX&&n.translate>=n.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(i.focusableElements)&&t.activeElement!==l.target&&l.pointerType!=="mouse"&&t.activeElement.blur(),t.activeElement&&l.target===t.activeElement&&l.target.matches(i.focusableElements)){i.isMoved=!0,n.allowClick=!1;return}i.allowTouchCallbacks&&n.emit("touchMove",l),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=c,s.currentY=d;const p=s.currentX-s.startX,u=s.currentY-s.startY;if(n.params.threshold&&Math.sqrt(p**2+u**2)<n.params.threshold)return;if(typeof i.isScrolling>"u"){let T;n.isHorizontal()&&s.currentY===s.startY||n.isVertical()&&s.currentX===s.startX?i.isScrolling=!1:p*p+u*u>=25&&(T=Math.atan2(Math.abs(u),Math.abs(p))*180/Math.PI,i.isScrolling=n.isHorizontal()?T>r.touchAngle:90-T>r.touchAngle)}if(i.isScrolling&&n.emit("touchMoveOpposite",l),typeof i.startMoving>"u"&&(s.currentX!==s.startX||s.currentY!==s.startY)&&(i.startMoving=!0),i.isScrolling||l.type==="touchmove"&&i.preventTouchMoveFromPointerMove){i.isTouched=!1;return}if(!i.startMoving)return;n.allowClick=!1,!r.cssMode&&l.cancelable&&l.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&l.stopPropagation();let h=n.isHorizontal()?p:u,g=n.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;r.oneWayMovement&&(h=Math.abs(h)*(a?1:-1),g=Math.abs(g)*(a?1:-1)),s.diff=h,h*=r.touchRatio,a&&(h=-h,g=-g);const v=n.touchesDirection;n.swipeDirection=h>0?"prev":"next",n.touchesDirection=g>0?"prev":"next";const m=n.params.loop&&!r.cssMode,y=n.touchesDirection==="next"&&n.allowSlideNext||n.touchesDirection==="prev"&&n.allowSlidePrev;if(!i.isMoved){if(m&&y&&n.loopFix({direction:n.swipeDirection}),i.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const T=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});n.wrapperEl.dispatchEvent(T)}i.allowMomentumBounce=!1,r.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",l)}if(new Date().getTime(),r._loopSwapReset!==!1&&i.isMoved&&i.allowThresholdMove&&v!==n.touchesDirection&&m&&y&&Math.abs(h)>=1){Object.assign(s,{startX:c,startY:d,currentX:c,currentY:d,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,i.startTranslate=i.currentTranslate;return}n.emit("sliderMove",l),i.isMoved=!0,i.currentTranslate=h+i.startTranslate;let b=!0,M=r.resistanceRatio;if(r.touchReleaseOnEdges&&(M=0),h>0?(m&&y&&i.allowThresholdMove&&i.currentTranslate>(r.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-(r.slidesPerView!=="auto"&&n.slides.length-r.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>n.minTranslate()&&(b=!1,r.resistance&&(i.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+i.startTranslate+h)**M))):h<0&&(m&&y&&i.allowThresholdMove&&i.currentTranslate<(r.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+(r.slidesPerView!=="auto"&&n.slides.length-r.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(r.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),i.currentTranslate<n.maxTranslate()&&(b=!1,r.resistance&&(i.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-i.startTranslate-h)**M))),b&&(l.preventedByNestedSwiper=!0),!n.allowSlideNext&&n.swipeDirection==="next"&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!n.allowSlidePrev&&n.swipeDirection==="prev"&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(i.currentTranslate=i.startTranslate),r.threshold>0)if(Math.abs(h)>r.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,i.currentTranslate=i.startTranslate,s.diff=n.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY;return}}else{i.currentTranslate=i.startTranslate;return}!r.followFinger||r.cssMode||((r.freeMode&&r.freeMode.enabled&&n.freeMode||r.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(i.currentTranslate),n.setTranslate(i.currentTranslate))}function du(e){const t=this,n=t.touchEventsData;let i=e;i.originalEvent&&(i=i.originalEvent);let r;if(i.type==="touchend"||i.type==="touchcancel"){if(r=[...i.changedTouches].find(T=>T.identifier===n.touchId),!r||r.identifier!==n.touchId)return}else{if(n.touchId!==null||i.pointerId!==n.pointerId)return;r=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)&&!(["pointercancel","contextmenu"].includes(i.type)&&(t.browser.isSafari||t.browser.isWebView)))return;n.pointerId=null,n.touchId=null;const{params:a,touches:o,rtlTranslate:l,slidesGrid:f,enabled:c}=t;if(!c||!a.simulateTouch&&i.pointerType==="mouse")return;if(n.allowTouchCallbacks&&t.emit("touchEnd",i),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&a.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}a.grabCursor&&n.isMoved&&n.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const d=Ce(),p=d-n.touchStartTime;if(t.allowClick){const T=i.path||i.composedPath&&i.composedPath();t.updateClickedSlide(T&&T[0]||i.target,T),t.emit("tap click",i),p<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",i)}if(n.lastClickTime=Ce(),wt(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||o.diff===0&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let u;if(a.followFinger?u=l?t.translate:-t.translate:u=-n.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:u});return}const h=u>=-t.maxTranslate()&&!t.params.loop;let g=0,v=t.slidesSizesGrid[0];for(let T=0;T<f.length;T+=T<a.slidesPerGroupSkip?1:a.slidesPerGroup){const x=T<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;typeof f[T+x]<"u"?(h||u>=f[T]&&u<f[T+x])&&(g=T,v=f[T+x]-f[T]):(h||u>=f[T])&&(g=T,v=f[f.length-1]-f[f.length-2])}let m=null,y=null;a.rewind&&(t.isBeginning?y=a.virtual&&a.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(m=0));const b=(u-f[g])/v,M=g<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(p>a.longSwipesMs){if(!a.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(b>=a.longSwipesRatio?t.slideTo(a.rewind&&t.isEnd?m:g+M):t.slideTo(g)),t.swipeDirection==="prev"&&(b>1-a.longSwipesRatio?t.slideTo(g+M):y!==null&&b<0&&Math.abs(b)>a.longSwipesRatio?t.slideTo(y):t.slideTo(g))}else{if(!a.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(i.target===t.navigation.nextEl||i.target===t.navigation.prevEl)?i.target===t.navigation.nextEl?t.slideTo(g+M):t.slideTo(g):(t.swipeDirection==="next"&&t.slideTo(m!==null?m:g+M),t.swipeDirection==="prev"&&t.slideTo(y!==null?y:g))}}function ds(){const e=this,{params:t,el:n}=e;if(n&&n.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:r,snapGrid:s}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const o=a&&t.loop;(t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!o?e.slideTo(e.slides.length-1,0,!1,!0):e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=r,e.allowSlideNext=i,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function fu(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function hu(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:i}=e;if(!i)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let r;const s=e.maxTranslate()-e.minTranslate();s===0?r=0:r=(e.translate-e.minTranslate())/s,r!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function pu(e){const t=this;Bn(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update(
vendor: 35,569 bytes, line 1
1)}function mu(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const Oa=(e,t)=>{const n=le(),{params:i,el:r,wrapperEl:s,device:a}=e,o=!!i.nested,l=t==="on"?"addEventListener":"removeEventListener",f=t;!r||typeof r=="string"||(n[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:o}),r[l]("touchstart",e.onTouchStart,{passive:!1}),r[l]("pointerdown",e.onTouchStart,{passive:!1}),n[l]("touchmove",e.onTouchMove,{passive:!1,capture:o}),n[l]("pointermove",e.onTouchMove,{passive:!1,capture:o}),n[l]("touchend",e.onTouchEnd,{passive:!0}),n[l]("pointerup",e.onTouchEnd,{passive:!0}),n[l]("pointercancel",e.onTouchEnd,{passive:!0}),n[l]("touchcancel",e.onTouchEnd,{passive:!0}),n[l]("pointerout",e.onTouchEnd,{passive:!0}),n[l]("pointerleave",e.onTouchEnd,{passive:!0}),n[l]("contextmenu",e.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&r[l]("click",e.onClick,!0),i.cssMode&&s[l]("scroll",e.onScroll),i.updateOnWindowResize?e[f](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",ds,!0):e[f]("observerUpdate",ds,!0),r[l]("load",e.onLoad,{capture:!0}))};function gu(){const e=this,{params:t}=e;e.onTouchStart=cu.bind(e),e.onTouchMove=uu.bind(e),e.onTouchEnd=du.bind(e),e.onDocumentTouchStart=mu.bind(e),t.cssMode&&(e.onScroll=hu.bind(e)),e.onClick=fu.bind(e),e.onLoad=pu.bind(e),Oa(e,"on")}function vu(){Oa(this,"off")}var yu={attachEvents:gu,detachEvents:vu};const fs=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function bu(){const e=this,{realIndex:t,initialized:n,params:i,el:r}=e,s=i.breakpoints;if(!s||s&&Object.keys(s).length===0)return;const a=le(),o=i.breakpointsBase==="window"||!i.breakpointsBase?i.breakpointsBase:"container",l=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?e.el:a.querySelector(i.breakpointsBase),f=e.getBreakpoint(s,o,l);if(!f||e.currentBreakpoint===f)return;const d=(f in s?s[f]:void 0)||e.originalParams,p=fs(e,i),u=fs(e,d),h=e.params.grabCursor,g=d.grabCursor,v=i.enabled;p&&!u?(r.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!p&&u&&(r.classList.add(`${i.containerModifierClass}grid`),(d.grid.fill&&d.grid.fill==="column"||!d.grid.fill&&i.grid.fill==="column")&&r.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),h&&!g?e.unsetGrabCursor():!h&&g&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(x=>{if(typeof d[x]>"u")return;const E=i[x]&&i[x].enabled,S=d[x]&&d[x].enabled;E&&!S&&e[x].disable(),!E&&S&&e[x].enable()});const m=d.direction&&d.direction!==i.direction,y=i.loop&&(d.slidesPerView!==i.slidesPerView||m),b=i.loop;m&&n&&e.changeDirection(),Se(e.params,d);const M=e.params.enabled,T=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),v&&!M?e.disable():!v&&M&&e.enable(),e.currentBreakpoint=f,e.emit("_beforeBreakpoint",d),n&&(y?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!b&&T?(e.loopCreate(t),e.updateSlides()):b&&!T&&e.loopDestroy()),e.emit("breakpoint",d)}function Su(e,t="window",n){if(!e||t==="container"&&!n)return;let i=!1;const r=J(),s=t==="window"?r.innerHeight:n.clientHeight,a=Object.keys(e).map(o=>{if(typeof o=="string"&&o.indexOf("@")===0){const l=parseFloat(o.substr(1));return{value:s*l,point:o}}return{value:o,point:o}});a.sort((o,l)=>parseInt(o.value,10)-parseInt(l.value,10));for(let o=0;o<a.length;o+=1){const{point:l,value:f}=a[o];t==="window"?r.matchMedia(`(min-width: ${f}px)`).matches&&(i=l):f<=n.clientWidth&&(i=l)}return i||"max"}var xu={setBreakpoint:bu,getBreakpoint:Su};function Eu(e,t){const n=[];return e.forEach(i=>{typeof i=="object"?Object.keys(i).forEach(r=>{i[r]&&n.push(t+r)}):typeof i=="string"&&n.push(t+i)}),n}function Tu(){const e=this,{classNames:t,params:n,rtl:i,el:r,device:s}=e,a=Eu(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:i},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:s.android},{ios:s.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...a),r.classList.add(...t),e.emitContainerClasses()}function Cu(){const e=this,{el:t,classNames:n}=e;!t||typeof t=="string"||(t.classList.remove(...n),e.emitContainerClasses())}var Mu={addClasses:Tu,removeClasses:Cu};function _u(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:i}=n;if(i){const r=e.slides.length-1,s=e.slidesGrid[r]+e.slidesSizesGrid[r]+i*2;e.isLocked=e.size>s}else e.isLocked=e.snapGrid.length===1;n.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),n.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var Au={checkOverflow:_u},hs={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",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,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Pu(e,t){return function(i={}){const r=Object.keys(i)[0],s=i[r];if(typeof s!="object"||s===null){Se(t,i);return}if(e[r]===!0&&(e[r]={enabled:!0}),r==="navigation"&&e[r]&&e[r].enabled&&!e[r].prevEl&&!e[r].nextEl&&(e[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&e[r]&&e[r].enabled&&!e[r].el&&(e[r].auto=!0),!(r in e&&"enabled"in s)){Se(t,i);return}typeof e[r]=="object"&&!("enabled"in e[r])&&(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}),Se(t,i)}}const yi={eventsEmitter:Mc,update:zc,translate:Hc,transition:Yc,slide:eu,loop:ru,grabCursor:ou,events:yu,breakpoints:xu,checkOverflow:Au,classes:Mu},bi={};class be{constructor(...t){let n,i;t.length===1&&t[0].constructor&&Object.prototype.toString.call(t[0]).slice(8,-1)==="Object"?i=t[0]:[n,i]=t,i||(i={}),i=Se({},i),n&&!i.el&&(i.el=n);const r=le();if(i.el&&typeof i.el=="string"&&r.querySelectorAll(i.el).length>1){const l=[];return r.querySelectorAll(i.el).forEach(f=>{const c=Se({},i,{el:f});l.push(new be(c))}),l}const s=this;s.__swiper__=!0,s.support=Pa(),s.device=wa({userAgent:i.userAgent}),s.browser=Ia(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],i.modules&&Array.isArray(i.modules)&&i.modules.forEach(l=>{typeof l=="function"&&s.modules.indexOf(l)<0&&s.modules.push(l)});const a={};s.modules.forEach(l=>{l({params:i,swiper:s,extendParams:Pu(i,a),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const o=Se({},hs,a);return s.params=Se({},o,bi,i),s.originalParams=Se({},s.params),s.passedParams=Se({},i),s.params&&s.params.on&&Object.keys(s.params.on).forEach(l=>{s.on(l,s.params.on[l])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:n,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(t){return this.isHorizontal()?t:{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"}[t]}getSlideIndex(t){const{slidesEl:n,params:i}=this,r=ue(n,`.${i.slideClass}, swiper-slide`),s=ln(r[0]);return ln(t)-s}getSlideIndexByData(t){return this.getSlideIndex(this.slides.find(n=>n.getAttribute("data-swiper-slide-index")*1===t))}getSlideIndexWhenGrid(t){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?t=Math.floor(t/this.params.grid.rows):this.params.grid.fill==="row"&&(t=t%Math.ceil(this.slides.length/this.params.grid.rows))),t}recalcSlides(){const t=this,{slidesEl:n,params:i}=t;t.slides=ue(n,`.${i.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,n){const i=this;t=Math.min(Math.max(t,0),1);const r=i.minTranslate(),a=(i.maxTranslate()-r)*t+r;i.translateTo(a,typeof n>"u"?0:n),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=t.el.className.split(" ").filter(i=>i.indexOf("swiper")===0||i.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",n.join(" "))}getSlideClasses(t){const n=this;return n.destroyed?"":t.className.split(" ").filter(i=>i.indexOf("swiper-slide")===0||i.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=[];t.slides.forEach(i=>{const r=t.getSlideClasses(i);n.push({slideEl:i,classNames:r}),t.emit("_slideClass",i,r)}),t.emit("_slideClasses",n)}slidesPerViewDynamic(t="current",n=!1){const i=this,{params:r,slides:s,slidesGrid:a,slidesSizesGrid:o,size:l,activeIndex:f}=i;let c=1;if(typeof r.slidesPerView=="number")return r.slidesPerView;if(r.centeredSlides){let d=s[f]?Math.ceil(s[f].swiperSlideSize):0,p;for(let u=f+1;u<s.length;u+=1)s[u]&&!p&&(d+=Math.ceil(s[u].swiperSlideSize),c+=1,d>l&&(p=!0));for(let u=f-1;u>=0;u-=1)s[u]&&!p&&(d+=s[u].swiperSlideSize,c+=1,d>l&&(p=!0))}else if(t==="current")for(let d=f+1;d<s.length;d+=1)(n?a[d]+o[d]-a[f]<l:a[d]-a[f]<l)&&(c+=1);else for(let d=f-1;d>=0;d-=1)a[f]-a[d]<l&&(c+=1);return c}update(){const t=this;if(!t||t.destroyed)return;const{snapGrid:n,params:i}=t;i.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(a=>{a.complete&&Bn(t,a)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function r(){const a=t.rtlTranslate?t.translate*-1:t.translate,o=Math.min(Math.max(a,t.maxTranslate()),t.minTranslate());t.setTranslate(o),t.updateActiveIndex(),t.updateSlidesClasses()}let s;if(i.freeMode&&i.freeMode.enabled&&!i.cssMode)r(),i.autoHeight&&t.updateAutoHeight();else{if((i.slidesPerView==="auto"||i.slidesPerView>1)&&t.isEnd&&!i.centeredSlides){const a=t.virtual&&i.virtual.enabled?t.virtual.slides:t.slides;s=t.slideTo(a.length-1,0,!1,!0)}else s=t.slideTo(t.activeIndex,0,!1,!0);s||r()}i.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,n=!0){const i=this,r=i.params.direction;return t||(t=r==="horizontal"?"vertical":"horizontal"),t===r||t!=="horizontal"&&t!=="vertical"||(i.el.classList.remove(`${i.params.containerModifierClass}${r}`),i.el.classList.add(`${i.params.containerModifierClass}${t}`),i.emitContainerClasses(),i.params.direction=t,i.slides.forEach(s=>{t==="vertical"?s.style.width="":s.style.height=""}),i.emit("changeDirection"),n&&i.update()),i}changeLanguageDirection(t){const n=this;n.rtl&&t==="rtl"||!n.rtl&&t==="ltr"||(n.rtl=t==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(t){const n=this;if(n.mounted)return!0;let i=t||n.params.el;if(typeof i=="string"&&(i=document.querySelector(i)),!i)return!1;i.swiper=n,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===n.params.swiperElementNodeName.toUpperCase()&&(n.isElement=!0);const r=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=i&&i.shadowRoot&&i.shadowRoot.querySelector?i.shadowRoot.querySelector(r()):ue(i,r())[0];return!a&&n.params.createElements&&(a=xe("div",n.params.wrapperClass),i.append(a),ue(i,`.${n.params.slideClass}`).forEach(o=>{a.append(o)})),Object.assign(n,{el:i,wrapperEl:a,slidesEl:n.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:a,hostEl:n.isElement?i.parentNode.host:i,mounted:!0,rtl:i.dir.toLowerCase()==="rtl"||Xe(i,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(i.dir.toLowerCase()==="rtl"||Xe(i,"direction")==="rtl"),wrongRTL:Xe(a,"display")==="-webkit-box"}),!0}init(t){const n=this;if(n.initialized||n.mount(t)===!1)return n;n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(void 0,!0),n.attachEvents();const r=[...n.el.querySelectorAll('[loading="lazy"]')];return n.isElement&&r.push(...n.hostEl.querySelectorAll('[loading="lazy"]')),r.forEach(s=>{s.complete?Bn(n,s):s.addEventListener("load",a=>{Bn(n,a.target)})}),zi(n),n.initialized=!0,zi(n),n.emit("init"),n.emit("afterInit"),n}destroy(t=!0,n=!0){const i=this,{params:r,el:s,wrapperEl:a,slides:o}=i;return typeof i.params>"u"||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),r.loop&&i.loopDestroy(),n&&(i.removeClasses(),s&&typeof s!="string"&&s.removeAttribute("style"),a&&a.removeAttribute("style"),o&&o.length&&o.forEach(l=>{l.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(l=>{i.off(l)}),t!==!1&&(i.el&&typeof i.el!="string"&&(i.el.swiper=null),hc(i)),i.destroyed=!0),null}static extendDefaults(t){Se(bi,t)}static get extendedDefaults(){return bi}static get defaults(){return hs}static installModule(t){be.prototype.__modules__||(be.prototype.__modules__=[]);const n=be.prototype.__modules__;typeof t=="function"&&n.indexOf(t)<0&&n.push(t)}static use(t){return Array.isArray(t)?(t.forEach(n=>be.installModule(n)),be):(be.installModule(t),be)}}Object.keys(yi).forEach(e=>{Object.keys(yi[e]).forEach(t=>{be.prototype[t]=yi[e][t]})});be.use([Tc,Cc]);function wu({swiper:e,extendParams:t,on:n,emit:i}){t({virtual:{enabled:!1,slides:[],cache:!0,slidesPerViewAutoSlideSize:320,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let r;const s=le();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const a=s.createElement("div");function o(u,h){const g=e.params.virtual;if(g.cache&&e.virtual.cache[h])return e.virtual.cache[h];let v;return g.renderSlide?(v=g.renderSlide.call(e,u,h),typeof v=="string"&&(De(a,v),v=a.children[0])):e.isElement?v=xe("swiper-slide"):v=xe("div",e.params.slideClass),v.setAttribute("data-swiper-slide-index",h),g.renderSlide||De(v,u),g.cache&&(e.virtual.cache[h]=v),v}function l(u,h,g){const{slidesPerGroup:v,centeredSlides:m,slidesPerView:y,loop:b,initialSlide:M}=e.params;if(h&&!b&&M>0)return;const{addSlidesBefore:T,addSlidesAfter:x,slidesPerViewAutoSlideSize:E}=e.params.virtual,{from:S,to:w,slides:_,slidesGrid:C,offset:P}=e.virtual;e.params.cssMode||e.updateActiveIndex();const O=typeof g>"u"?e.activeIndex||0:g;let k;e.rtlTranslate?k="right":k=e.isHorizontal()?"left":"top";let $;if(y==="auto")if(E){let V=e.size;V||(V=e.isHorizontal()?e.el.getBoundingClientRect().width:e.el.getBoundingClientRect().height),$=Math.max(1,Math.ceil(V/E))}else $=1;else $=y;let L,I;m?(L=Math.floor($/2)+v+x,I=Math.floor($/2)+v+T):(L=$+(v-1)+x,I=(b?$:v)+T);let A=O-I,D=O+L;b||(A=Math.max(A,0),D=Math.min(D,_.length-1));let N=(e.slidesGrid[A]||0)-(e.slidesGrid[0]||0);b&&O>=I?(A-=I,m||(N+=e.slidesGrid[0])):b&&O<I&&(A=-I,m&&(N+=e.slidesGrid[0])),Object.assign(e.virtual,{from:A,to:D,offset:N,slidesGrid:e.slidesGrid,slidesBefore:I,slidesAfter:L});function W(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),i("virtualUpdate")}if(S===A&&w===D&&!u){e.slidesGrid!==C&&N!==P&&e.slides.forEach(V=>{V.style[k]=`${N-Math.abs(e.cssOverflowAdjustment())}px`}),e.updateProgress(),i("virtualUpdate");return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:N,from:A,to:D,slides:(function(){const G=[];for(let K=A;K<=D;K+=1)G.push(_[K]);return G})()}),e.params.virtual.renderExternalUpdate?W():i("virtualUpdate");return}const j=[],q=[],F=V=>{let G=V;return V<0?G=_.length+V:G>=_.length&&(G=G-_.length),G};if(u)e.slides.filter(V=>V.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(V=>{V.remove()});else for(let V=S;V<=w;V+=1)if(V<A||V>D){const G=F(V);e.slides.filter(K=>K.matches(`.${e.params.slideClass}[data-swiper-slide-index="${G}"], swiper-slide[data-swiper-slide-index="${G}"]`)).forEach(K=>{K.remove()})}const z=b?-_.length:0,R=b?_.length*2:_.length;for(let V=z;V<R;V+=1)if(V>=A&&V<=D){const G=F(V);typeof w>"u"||u?q.push(G):(V>w&&q.push(G),V<S&&j.push(G))}if(q.forEach(V=>{e.slidesEl.append(o(_[V],V))}),b)for(let V=j.length-1;V>=0;V-=1){const G=j[V];e.slidesEl.prepend(o(_[G],G))}else j.sort((V,G)=>G-V),j.forEach(V=>{e.slidesEl.prepend(o(_[V],V))});ue(e.slidesEl,".swiper-slide, swiper-slide").forEach(V=>{V.style[k]=`${N-Math.abs(e.cssOverflowAdjustment())}px`}),W()}function f(u){if(typeof u=="object"&&"length"in u)for(let h=0;h<u.length;h+=1)u[h]&&e.virtual.slides.push(u[h]);else e.virtual.slides.push(u);l(!0)}function c(u){const h=e.activeIndex;let g=h+1,v=1;if(Array.isArray(u)){for(let m=0;m<u.length;m+=1)u[m]&&e.virtual.slides.unshift(u[m]);g=h+u.length,v=u.length}else e.virtual.slides.unshift(u);if(e.params.virtual.cache){const m=e.virtual.cache,y={};Object.keys(m).forEach(b=>{const M=m[b],T=M.getAttribute("data-swiper-slide-index");T&&M.setAttribute("data-swiper-slide-index",parseInt(T,10)+v),y[parseInt(b,10)+v]=M}),e.virtual.cache=y}l(!0),e.slideTo(g,0)}function d(u){if(typeof u>"u"||u===null)return;let h=e.activeIndex;if(Array.isArray(u))for(let g=u.length-1;g>=0;g-=1)e.params.virtual.cache&&(delete e.virtual.cache[u[g]],Object.keys(e.virtual.cache).forEach(v=>{v>u&&(e.virtual.cache[v-1]=e.virtual.cache[v],e.virtual.cache[v-1].setAttribute("data-swiper-slide-index",v-1),delete e.virtual.cache[v])})),e.virtual.slides.splice(u[g],1),u[g]<h&&(h-=1),h=Math.max(h,0);else e.params.virtual.cache&&(delete e.virtual.cache[u],Object.keys(e.virtual.cache).forEach(g=>{g>u&&(e.virtual.cache[g-1]=e.virtual.cache[g],e.virtual.cache[g-1].setAttribute("data-swiper-slide-index",g-1),delete e.virtual.cache[g])})),e.virtual.slides.splice(u,1),u<h&&(h-=1),h=Math.max(h,0);l(!0),e.slideTo(h,0)}function p(){e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),l(!0),e.slideTo(0,0)}n("beforeInit",()=>{if(!e.params.virtual.enabled)return;let u;if(typeof e.passedParams.virtual.slides>"u"){const h=[...e.slidesEl.children].filter(g=>g.matches(`.${e.params.slideClass}, swiper-slide`));h&&h.length&&(e.virtual.slides=[...h],u=!0,h.forEach((g,v)=>{g.setAttribute("data-swiper-slide-index",v),e.virtual.cache[v]=g,g.remove()}))}u||(e.virtual.slides=e.params.virtual.slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,l(!1,!0)}),n("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(r),r=setTimeout(()=>{l()},100)):l())}),n("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&it(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:f,prependSlide:c,removeSlide:d,removeAllSlides:p,update:l})}function Iu({swiper:e,extendParams:t,on:n,emit:i}){const r=le(),s=J();e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0,speed:void 0}});function a(f){if(!e.enabled)return;const{rtlTranslate:c}=e;let d=f;d.originalEvent&&(d=d.originalEvent);const p=d.keyCode||d.charCode,u=e.params.keyboard.pageUpDown,h=u&&p===33,g=u&&p===34,v=p===37,m=p===39,y=p===38,b=p===40;if(!e.allowSlideNext&&(e.isHorizontal()&&m||e.isVertical()&&b||g)||!e.allowSlidePrev&&(e.isHorizontal()&&v||e.isVertical()&&y||h))return!1;if(d.shiftKey||d.altKey||d.ctrlKey||d.metaKey||r.activeElement&&(r.activeElement.isContentEditable||r.activeElement.nodeName&&(r.activeElement.nodeName.toLowerCase()==="input"||r.activeElement.nodeName.toLowerCase()==="textarea")))return;if(e.params.keyboard.onlyInViewport&&(h||g||v||m||y||b)){let T=!1;if(lt(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&lt(e.el,`.${e.params.slideActiveClass}`).length===0)return;const x=e.el,E=x.clientWidth,S=x.clientHeight,w=s.innerWidth,_=s.innerHeight,C=Yn(x);c&&(C.left-=x.scrollLeft);const P=[[C.left,C.top],[C.left+E,C.top],[C.left,C.top+S],[C.left+E,C.top+S]];for(let O=0;O<P.length;O+=1){const k=P[O];if(k[0]>=0&&k[0]<=w&&k[1]>=0&&k[1]<=_){if(k[0]===0&&k[1]===0)continue;T=!0}}if(!T)return}const M=e.params.keyboard.speed;e.isHorizontal()?((h||g||v||m)&&(d.preventDefault?d.preventDefault():d.returnValue=!1),((g||m)&&!c||(h||v)&&c)&&e.slideNext(M),((h||v)&&!c||(g||m)&&c)&&e.slidePrev(M)):((h||g||y||b)&&(d.preventDefault?d.preventDefault():d.returnValue=!1),(g||b)&&e.slideNext(M),(h||y)&&e.slidePrev(M)),i("keyPress",p)}function o(){e.keyboard.enabled||(r.addEventListener("keydown",a),e.keyboard.enabled=!0)}function l(){e.keyboard.enabled&&(r.removeEventListener("keydown",a),e.keyboard.enabled=!1)}n("init",()=>{e.params.keyboard.enabled&&o()}),n("destroy",()=>{e.keyboard.enabled&&l()}),Object.assign(e.keyboard,{enable:o,disable:l})}function Lu({swiper:e,extendParams:t,on:n,emit:i}){const r=J();t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let s,a=Ce(),o;const l=[];function f(y){let x=0,E=0,S=0,w=0;return"detail"in y&&(E=y.detail),"wheelDelta"in y&&(E=-y.wheelDelta/120),"wheelDeltaY"in y&&(E=-y.wheelDeltaY/120),"wheelDeltaX"in y&&(x=-y.wheelDeltaX/120),"axis"in y&&y.axis===y.HORIZONTAL_AXIS&&(x=E,E=0),S=x*10,w=E*10,"deltaY"in y&&(w=y.deltaY),"deltaX"in y&&(S=y.deltaX),y.shiftKey&&!S&&(S=w,w=0),(S||w)&&y.deltaMode&&(y.deltaMode===1?(S*=40,w*=40):(S*=800,w*=800)),S&&!x&&(x=S<1?-1:1),w&&!E&&(E=w<1?-1:1),{spinX:x,spinY:E,pixelX:S,pixelY:w}}function c(){e.enabled&&(e.mouseEntered=!0)}function d(){e.enabled&&(e.mouseEntered=!1)}function p(y){return e.params.mousewheel.thresholdDelta&&y.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Ce()-a<e.params.mousewheel.thresholdTime?!1:y.delta>=6&&Ce()-a<60?!0:(y.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),i("scroll",y.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),i("scroll",y.raw)),a=new r.Date().getTime(),!1)}function u(y){const b=e.params.mousewheel;if(y.direction<0){if(e.isEnd&&!e.params.loop&&b.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&b.releaseOnEdges)return!0;return!1}function h(y){let b=y,M=!0;if(!e.enabled||y.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const T=e.params.mousewheel;e.params.cssMode&&b.preventDefault();let x=e.el;e.params.mousewheel.eventsTarget!=="container"&&(x=document.querySelector(e.params.mousewheel.eventsTarget));const E=x&&x.contains(b.target);if(!e.mouseEntered&&!E&&!T.releaseOnEdges)return!0;b.originalEvent&&(b=b.originalEvent);let S=0;const w=e.rtlTranslate?-1:1,_=f(b);if(T.forceToAxis)if(e.isHorizontal())if(Math.abs(_.pixelX)>Math.abs(_.pixelY))S=-_.pixelX*w;else return!0;else if(Math.abs(_.pixelY)>Math.abs(_.pixelX))S=-_.pixelY;else return!0;else S=Math.abs(_.pixelX)>Math.abs(_.pixelY)?-_.pixelX*w:-_.pixelY;if(S===0)return!0;T.invert&&(S=-S);let C=e.getTranslate()+S*T.sensitivity;if(C>=e.minTranslate()&&(C=e.minTranslate()),C<=e.maxTranslate()&&(C=e.maxTranslate()),M=e.params.loop?!0:!(C===e.minTranslate()||C===e.maxTranslate()),M&&e.params.nested&&b.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const P={time:Ce(),delta:Math.abs(S),direction:Math.sign(S),raw:y};l.length>=2&&l.shift();const O=l.length?l[l.length-1]:void 0;if(l.push(P),O?(P.direction!==O.direction||P.delta>O.delta||P.time>O.time+150)&&p(P):p(P),u(P))return!0}else{const P={time:Ce(),delta:Math.abs(S),direction:Math.sign(S)},O=o&&P.time<o.time+500&&P.delta<=o.delta&&P.direction===o.direction;if(!O){o=void 0;let k=e.getTranslate()+S*T.sensitivity;const $=e.isBeginning,L=e.isEnd;if(k>=e.minTranslate()&&(k=e.minTranslate()),k<=e.maxTranslate()&&(k=e.maxTranslate()),e.setTransition(0),e.setTranslate(k),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!$&&e.isBeginning||!L&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:P.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(s),s=void 0,l.length>=15&&l.shift();const I=l.length?l[l.length-1]:void 0,A=l[0];if(l.push(P),I&&(P.delta>I.delta||P.direction!==I.direction))l.splice(0);else if(l.length>=15&&P.time-A.time<500&&A.delta-P.delta>=1&&P.delta<=6){const D=S>0?.8:.2;o=P,l.splice(0),s=wt(()=>{e.destroyed||!e.params||e.slideToClosest(e.params.speed,!0,void 0,D)},0)}s||(s=wt(()=>{if(e.destroyed||!e.params)return;const D=.5;o=P,l.splice(0),e.slideToClosest(e.params.speed,!0,void 0,D)},500))}if(O||i("scroll",b),e.params.autoplay&&e.params.autoplay.disableOnInteraction&&e.autoplay.stop(),T.releaseOnEdges&&(k===e.minTranslate()||k===e.maxTranslate()))return!0}}return b.preventDefault?b.preventDefault():b.returnValue=!1,!1}function g(y){let b=e.el;e.params.mousewheel.eventsTarget!=="container"&&(b=document.querySelector(e.params.mousewheel.eventsTarget)),b[y]("mouseenter",c),b[y]("mouseleave",d),b[y]("wheel",h)}function v(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",h),!0):e.mousewheel.enabled?!1:(g("addEventListener"),e.mousewheel.enabled=!0,!0)}function m(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,h),!0):e.mousewheel.enabled?(g("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&m(),e.params.mousewheel.enabled&&v()}),n("destroy",()=>{e.params.cssMode&&v(),e.mousewheel.enabled&&m()}),Object.assign(e.mousewheel,{enable:v,disable:m})}function br(e,t,n,i){return e.params.createElements&&Object.keys(i).forEach(r=>{if(!n[r]&&n.auto===!0){let s=ue(e.el,`.${i[r]}`)[0];s||(s=xe("div",i[r]),s.className=i[r],e.el.append(s)),n[r]=s,t[r]=s}}),n}const ps='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';function Ou({swiper:e,extendParams:t,on:n,emit:i}){t({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null,arrowSvg:ps};function r(u){let h;return u&&typeof u=="string"&&e.isElement&&(h=e.el.querySelector(u)||e.hostEl.querySelector(u),h)?h:(u&&(typeof u=="string"&&(h=[...document.querySelectorAll(u)]),e.params.uniqueNavElements&&typeof u=="string"&&h&&h.length>1&&e.el.querySelectorAll(u).length===1?h=e.el.querySelector(u):h&&h.length===1&&(h=h[0])),u&&!h?u:h)}function s(u,h){const g=e.params.navigation;u=X(u),u.forEach(v=>{v&&(v.classList[h?"add":"remove"](...g.disabledClass.split(" ")),v.tagName==="BUTTON"&&(v.disabled=h),e.params.watchOverflow&&e.enabled&&v.classList[e.isLocked?"add":"remove"](g.lockClass))})}function a(){const{nextEl:u,prevEl:h}=e.navigation;if(e.params.loop){s(h,!1),s(u,!1);return}s(h,e.isBeginning&&!e.params.rewind),s(u,e.isEnd&&!e.params.rewind)}function o(u){u.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),i("navigationPrev"))}function l(u){u.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),i("navigationNext"))}function f(){const u=e.params.navigation;if(e.params.navigation=br(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(u.nextEl||u.prevEl))return;let h=r(u.nextEl),g=r(u.prevEl);Object.assign(e.navigation,{nextEl:h,prevEl:g}),h=X(h),g=X(g);const v=(m,y)=>{if(m){if(u.addIcons&&m.matches(".swiper-button-next,.swiper-button-prev")&&!m.querySelector("svg")){const b=document.createElement("div");De(b,ps),m.appendChild(b.querySelector("svg")),b.remove()}m.addEventListener("click",y==="next"?l:o)}!e.enabled&&m&&m.classList.add(...u.lockClass.split(" "))};h.forEach(m=>v(m,"next")),g.forEach(m=>v(m,"prev"))}function c(){let{nextEl:u,prevEl:h}=e.navigation;u=X(u),h=X(h);const g=(v,m)=>{v.removeEventListener("click",m==="next"?l:o),v.classList.remove(...e.params.navigation.disabledClass.split(" "))};u.forEach(v=>g(v,"next")),h.forEach(v=>g(v,"prev"))}n("init",()=>{e.params.navigation.enabled===!1?p():(f(),a())}),n("toEdge fromEdge lock unlock",()=>{a()}),n("destroy",()=>{c()}),n("enable disable",()=>{let{nextEl:u,prevEl:h}=e.navigation;if(u=X(u),h=X(h),e.enabled){a();return}[...u,...h].filter(g=>!!g).forEach(g=>g.classList.add(e.params.navigation.lockClass))}),n("click",(u,h)=>{let{nextEl:g,prevEl:v}=e.navigation;g=X(g),v=X(v);const m=h.target;let y=v.includes(m)||g.includes(m);if(e.isElement&&!y){const b=h.path||h.composedPath&&h.composedPath();b&&(y=b.find(M=>g.includes(M)||v.includes(M)))}if(e.params.navigation.hideOnClick&&!y){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===m||e.pagination.el.contains(m)))return;let b;g.length?b=g[0].classList.contains(e.params.navigation.hiddenClass):v.length&&(b=v[0].classList.contains(e.params.navigation.hiddenClass)),i(b===!0?"navigationShow":"navigationHide"),[...g,...v].filter(M=>!!M).forEach(M=>M.classList.toggle(e.params.navigation.hiddenClass))}});const d=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),f(),a()},p=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),c()};Object.assign(e.navigation,{enable:d,disable:p,update:a,init:f,destroy:c})}function Ne(e=""){return`.${e.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,".")}`}function ku({swiper:e,extendParams:t,on:n,emit:i}){const r="swiper-pagination";t({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:m=>m,formatFractionTotal:m=>m,bulletClass:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),e.pagination={el:null,bullets:[]};let s,a=0;function o(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function l(m,y){const{bulletActiveClass:b}=e.params.pagination;m&&(m=m[`${y==="prev"?"previous":"next"}ElementSibling`],m&&(m.classList.add(`${b}-${y}`),m=m[`${y==="prev"?"previous":"next"}ElementSibling`],m&&m.classList.add(`${b}-${y}-${y}`)))}function f(m,y,b){if(m=m%b,y=y%b,y===m+1)return"next";if(y===m-1)return"previous"}function c(m){const y=m.target.closest(Ne(e.params.pagination.bulletClass));if(!y)return;m.preventDefault();const b=ln(y)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===b)return;const M=f(e.realIndex,b,e.slides.length);M==="next"?e.slideNext():M==="previous"?e.slidePrev():e.slideToLoop(b)}else e.slideTo(b)}function d(){const m=e.rtl,y=e.params.pagination;if(o())return;let b=e.pagination.el;b=X(b);let M,T;const x=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,E=e.params.loop?Math.ceil(x/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(T=e.previousRealIndex||0,M=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(M=e.snapIndex,T=e.previousSnapIndex):(T=e.previousIndex||0,M=e.activeIndex||0),y.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const S=e.pagination.bullets;let w,_,C;if(y.dynamicBullets&&(s=Fi(S[0],e.isHorizontal()?"width":"height"),b.forEach(P=>{P.style[e.isHorizontal()?"width":"height"]=`${s*(y.dynamicMainBullets+4)}px`}),y.dynamicMainBullets>1&&T!==void 0&&(a+=M-(T||0),a>y.dynamicMainBullets-1?a=y.dynamicMainBullets-1:a<0&&(a=0)),w=Math.max(M-a,0),_=w+(Math.min(S.length,y.dynamicMainBullets)-1),C=(_+w)/2),S.forEac
vendor: 4,120 bytes, line 1
1h(P=>{const O=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(k=>`${y.bulletActiveClass}${k}`)].map(k=>typeof k=="string"&&k.includes(" ")?k.split(" "):k).flat();P.classList.remove(...O)}),b.length>1)S.forEach(P=>{const O=ln(P);O===M?P.classList.add(...y.bulletActiveClass.split(" ")):e.isElement&&P.setAttribute("part","bullet"),y.dynamicBullets&&(O>=w&&O<=_&&P.classList.add(...`${y.bulletActiveClass}-main`.split(" ")),O===w&&l(P,"prev"),O===_&&l(P,"next"))});else{const P=S[M];if(P&&P.classList.add(...y.bulletActiveClass.split(" ")),e.isElement&&S.forEach((O,k)=>{O.setAttribute("part",k===M?"bullet-active":"bullet")}),y.dynamicBullets){const O=S[w],k=S[_];for(let $=w;$<=_;$+=1)S[$]&&S[$].classList.add(...`${y.bulletActiveClass}-main`.split(" "));l(O,"prev"),l(k,"next")}}if(y.dynamicBullets){const P=Math.min(S.length,y.dynamicMainBullets+4),O=(s*P-s)/2-C*s,k=m?"right":"left";S.forEach($=>{$.style[e.isHorizontal()?k:"top"]=`${O}px`})}}b.forEach((S,w)=>{if(y.type==="fraction"&&(S.querySelectorAll(Ne(y.currentClass)).forEach(_=>{_.textContent=y.formatFractionCurrent(M+1)}),S.querySelectorAll(Ne(y.totalClass)).forEach(_=>{_.textContent=y.formatFractionTotal(E)})),y.type==="progressbar"){let _;y.progressbarOpposite?_=e.isHorizontal()?"vertical":"horizontal":_=e.isHorizontal()?"horizontal":"vertical";const C=(M+1)/E;let P=1,O=1;_==="horizontal"?P=C:O=C,S.querySelectorAll(Ne(y.progressbarFillClass)).forEach(k=>{k.style.transform=`translate3d(0,0,0) scaleX(${P}) scaleY(${O})`,k.style.transitionDuration=`${e.params.speed}ms`})}y.type==="custom"&&y.renderCustom?(De(S,y.renderCustom(e,M+1,E)),w===0&&i("paginationRender",S)):(w===0&&i("paginationRender",S),i("paginationUpdate",S)),e.params.watchOverflow&&e.enabled&&S.classList[e.isLocked?"add":"remove"](y.lockClass)})}function p(){const m=e.params.pagination;if(o())return;const y=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let b=e.pagination.el;b=X(b);let M="";if(m.type==="bullets"){let T=e.params.loop?Math.ceil(y/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&T>y&&(T=y);for(let x=0;x<T;x+=1)m.renderBullet?M+=m.renderBullet.call(e,x,m.bulletClass):M+=`<${m.bulletElement} ${e.isElement?'part="bullet"':""} class="${m.bulletClass}"></${m.bulletElement}>`}m.type==="fraction"&&(m.renderFraction?M=m.renderFraction.call(e,m.currentClass,m.totalClass):M=`<span class="${m.currentClass}"></span> / <span class="${m.totalClass}"></span>`),m.type==="progressbar"&&(m.renderProgressbar?M=m.renderProgressbar.call(e,m.progressbarFillClass):M=`<span class="${m.progressbarFillClass}"></span>`),e.pagination.bullets=[],b.forEach(T=>{m.type!=="custom"&&De(T,M||""),m.type==="bullets"&&e.pagination.bullets.push(...T.querySelectorAll(Ne(m.bulletClass)))}),m.type!=="custom"&&i("paginationRender",b[0])}function u(){e.params.pagination=br(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const m=e.params.pagination;if(!m.el)return;let y;typeof m.el=="string"&&e.isElement&&(y=e.el.querySelector(m.el)),!y&&typeof m.el=="string"&&(y=[...document.querySelectorAll(m.el)]),y||(y=m.el),!(!y||y.length===0)&&(e.params.uniqueNavElements&&typeof m.el=="string"&&Array.isArray(y)&&y.length>1&&(y=[...e.el.querySelectorAll(m.el)],y.length>1&&(y=y.find(b=>lt(b,".swiper")[0]===e.el))),Array.isArray(y)&&y.length===1&&(y=y[0]),Object.assign(e.pagination,{el:y}),y=X(y),y.forEach(b=>{m.type==="bullets"&&m.clickable&&b.classList.add(...(m.clickableClass||"").split(" ")),b.classList.add(m.modifierClass+m.type),b.classList.add(e.isHorizontal()?m.horizontalClass:m.verticalClass),m.type==="bullets"&&m.dynamicBullets&&(b.classList.add(`${m.modifierClass}${m.type}-dynamic`),a=0,m.dynamicMainBullets<1&&(m.dynamicMainBullets=1)),m.type==="progressbar"&&m.progressbarOpposite&&b.classList.add(m.progressbarOppositeClass),m.clickable&&b.addEventListener("click",c),e.enabled||b.classList.add(m.lockClass)}))}function h(){const m=e.params.pagination;if(o())return;let y=e.pagination.el;
vendor: 8,259 bytes, line 1
1y&&(y=X(y),y.forEach(b=>{b.classList.remove(m.hiddenClass),b.classList.remove(m.modifierClass+m.type),b.classList.remove(e.isHorizontal()?m.horizontalClass:m.verticalClass),m.clickable&&(b.classList.remove(...(m.clickableClass||"").split(" ")),b.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(b=>b.classList.remove(...m.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const m=e.params.pagination;let{el:y}=e.pagination;y=X(y),y.forEach(b=>{b.classList.remove(m.horizontalClass,m.verticalClass),b.classList.add(e.isHorizontal()?m.horizontalClass:m.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?v():(u(),p(),d())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&d()}),n("snapIndexChange",()=>{d()}),n("snapGridLengthChange",()=>{p(),d()}),n("destroy",()=>{h()}),n("enable disable",()=>{let{el:m}=e.pagination;m&&(m=X(m),m.forEach(y=>y.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{d()}),n("click",(m,y)=>{const b=y.target,M=X(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&M&&M.length>0&&!b.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&b===e.navigation.nextEl||e.navigation.prevEl&&b===e.navigation.prevEl))return;const T=M[0].classList.contains(e.params.pagination.hiddenClass);i(T===!0?"paginationShow":"paginationHide"),M.forEach(x=>x.classList.toggle(e.params.pagination.hiddenClass))}});const g=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:m}=e.pagination;m&&(m=X(m),m.forEach(y=>y.classList.remove(e.params.pagination.paginationDisabledClass))),u(),p(),d()},v=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:m}=e.pagination;m&&(m=X(m),m.forEach(y=>y.classList.add(e.params.pagination.paginationDisabledClass))),h()};Object.assign(e.pagination,{enable:g,disable:v,render:p,update:d,init:u,destroy:h})}function Du({swiper:e,extendParams:t,on:n,emit:i}){const r=le();let s=!1,a=null,o=null,l,f,c,d;t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function p(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:C,rtlTranslate:P}=e,{dragEl:O,el:k}=C,$=e.params.scrollbar,L=e.params.loop?e.progressLoop:e.progress;let I=f,A=(c-f)*L;P?(A=-A,A>0?(I=f-A,A=0):-A+f>c&&(I=c+A)):A<0?(I=f+A,A=0):A+f>c&&(I=c-A),e.isHorizontal()?(O.style.transform=`translate3d(${A}px, 0, 0)`,O.style.width=`${I}px`):(O.style.transform=`translate3d(0px, ${A}px, 0)`,O.style.height=`${I}px`),$.hide&&(clearTimeout(a),k.style.opacity=1,a=setTimeout(()=>{k.style.opacity=0,k.style.transitionDuration="400ms"},1e3))}function u(C){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${C}ms`)}function h(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:C}=e,{dragEl:P,el:O}=C;P.style.width="",P.style.height="",c=e.isHorizontal()?O.offsetWidth:O.offsetHeight,d=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?f=c*d:f=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?P.style.width=`${f}px`:P.style.height=`${f}px`,d>=1?O.style.display="none":O.style.display="",e.params.scrollbar.hide&&(O.style.opacity=0),e.params.watchOverflow&&e.enabled&&C.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function g(C){return e.isHorizontal()?C.clientX:C.clientY}function v(C){const{scrollbar:P,rtlTranslate:O}=e,{el:k}=P;let $;$=(g(C)-Yn(k)[e.isHorizontal()?"left":"top"]-(l!==null?l:f/2))/(c-f),$=Math.max(Math.min($,1),0),O&&($=1-$);const L=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*$;e.updateProgress(L),e.setTranslate(L),e.updateActiveIndex(),e.updateSlidesClasses()}function m(C){const P=e.params.scrollbar,{scrollbar:O,wrapperEl:k}=e,{el:$,dragEl:L}=O;s=!0,l=C.target===L?g(C)-C.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,C.preventDefault(),C.stopPropagation(),k.style.transitionDuration="100ms",L.style.transitionDuration="100ms",v(C),clearTimeout(o),$.style.transitionDuration="0ms",P.hide&&($.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),i("scrollbarDragStart",C)}function y(C){const{scrollbar:P,wrapperEl:O}=e,{el:k,dragEl:$}=P;s&&(C.preventDefault&&C.cancelable?C.preventDefault():C.returnValue=!1,v(C),O.style.transitionDuration="0ms",k.style.transitionDuration="0ms",$.style.transitionDuration="0ms",i("scrollbarDragMove",C))}function b(C){const P=e.params.scrollbar,{scrollbar:O,wrapperEl:k}=e,{el:$}=O;s&&(s=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",k.style.transitionDuration=""),P.hide&&(clearTimeout(o),o=wt(()=>{$.style.opacity=0,$.style.transitionDuration="400ms"},1e3)),i("scrollbarDragEnd",C),P.snapOnRelease&&e.slideToClosest())}function M(C){const{scrollbar:P,params:O}=e,k=P.el;if(!k)return;const $=k,L=O.passiveListeners?{passive:!1,capture:!1}:!1,I=O.passiveListeners?{passive:!0,capture:!1}:!1;if(!$)return;const A=C==="on"?"addEventListener":"removeEventListener";$[A]("pointerdown",m,L),r[A]("pointermove",y,L),r[A]("pointerup",b,I)}function T(){!e.params.scrollbar.el||!e.scrollbar.el||M("on")}function x(){!e.params.scrollbar.el||!e.scrollbar.el||M("off")}function E(){const{scrollbar:C,el:P}=e;e.params.scrollbar=br(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const O=e.params.scrollbar;if(!O.el)return;let k;if(typeof O.el=="string"&&e.isElement&&(k=e.el.querySelector(O.el)),!k&&typeof O.el=="string"){if(k=r.querySelectorAll(O.el),!k.length)return}else k||(k=O.el);e.params.uniqueNavElements&&typeof O.el=="string"&&k.length>1&&P.querySelectorAll(O.el).length===1&&(k=P.querySelector(O.el)),k.length>0&&(k=k[0]),k.classList.add(e.isHorizontal()?O.horizontalClass:O.verticalClass);let $;k&&($=k.querySelector(Ne(e.params.scrollbar.dragClass)),$||($=xe("div",e.params.scrollbar.dragClass),k.append($))),Object.assign(C,{el:k,dragEl:$}),O.draggable&&T(),k&&k.classList[e.enabled?"remove":"add"](...We(e.params.scrollbar.lockClass))}function S(){const C=e.params.scrollbar,P=e.scrollbar.el;P&&P.classList.remove(...We(e.isHorizontal()?C.horizontalClass:C.verticalClass)),x()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const C=e.params.scrollbar;let{el:P}=e.scrollbar;P=X(P),P.forEach(O=>{O.classList.remove(C.horizontalClass,C.verticalClass),O.classList.add(e.isHorizontal()?C.horizontalClass:C.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?_():(E(),h(),p())}),n("update resize observerUpdate lock unlock changeDirection",()=>{h()}),n("setTranslate",()=>{p()}),n("setTransition",(C,P)=>{u(P)}),n("enable disable",()=>{const{el:C}=e.scrollbar;C&&C.classList[e.enabled?"remove":"add"](...We(e.params.scrollbar.lockClass))}),n("destroy",()=>{S()});const w=()=>{e.el.classList.remove(...We(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...We(e.params.scrollbar.scrollbarDisabledClass)),E(),h(),p()},_=()=>{e.el.classList.add(...We(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...We(e.params.scrollbar.scrollbarDisabledClass)),S()};Object.assign(e.scrollbar,{enable:w,disable:_,updateSize:h,setTranslate:p,init:E,destroy:S})}function Fu({swiper:e,extendParams:t,on:n}){t({parallax:{enabled:!1}});const i="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",r=(o,l)=>{const{rtl:f}=e,c=f?-1:1,d=o.getAttribute("data-swiper-parallax")||"0";let p=o.getAttribute("data-swiper-parallax-x"),u=o.getAttribute("data-swiper-parallax-y");const h=o.getAttribute("data-swiper-parallax-scale"),g=o.getAttribute("data-swiper-parallax-opacity"),v=o.getAttribute("data-swiper-parallax-rotate");if(p||u?(p=p||"0",u=u||"0"):e.isHorizontal()?(p=d,u="0"):(u=d,p="0"),p.indexOf("%")>=0?p=`${parseInt(p,10)*l*c}
1%`:p=`${p*l*c}px`,u.indexOf("%")>=0?u=`${parseInt(u,10)*l}%`:u=`${u*l}px`,typeof g<"u"&&g!==null){const y=g-(g-1)*(1-Math.abs(l));o.style.opacity=y}let m=`translate3d(${p}, ${u}, 0px)`;if(typeof h<"u"&&h!==null){const y=h-(h-1)*(1-Math.abs(l));m+=` scale(${y})`}if(v&&typeof v<"u"&&v!==null){const y=v*l*-1;m+=` rotate(${y}deg)`}o.style.transform=m},s=()=>{const{el:o,slides:l,progress:f,snapGrid:c,isElement:d}=e,p=ue(o,i);e.isElement&&p.push(...ue(e.hostEl,i)),p.forEach(u=>{r(u,f)}),l.forEach((u,h)=>{let g=u.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(g+=Math.ceil(h/2)-f*(c.length-1)),g=Math.min(Math.max(g,-1),1),u.querySelectorAll(`${i}, [data-swiper-parallax-rotate]`).forEach(v=>{r(v,g)})})},a=(o=e.params.speed)=>{const{el:l,hostEl:f}=e,c=[...l.querySelectorAll(i)];e.isElement&&c.push(...f.querySelectorAll(i)),c.forEach(d=>{let p=parseInt(d.getAttribute("data-swiper-parallax-duration"),10)||o;o===0&&(p=0),d.style.transitionDuration=`${p}ms`})};n("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),n("init",()=>{e.params.parallax.enabled&&s()}),n("setTranslate",()=>{e.params.parallax.enabled&&s()}),n("setTransition",(o,l)=>{e.params.parallax.enabled&&a(l)})}function zu({swiper:e,extendParams:t,on:n,emit:i}){const r=J();t({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let s=1,a=!1,o=!1,l={x:0,y:0};const f=-3;let c,d;const p=[],u={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},h={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},g={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let v=1;Object.defineProperty(e.zoom,"scale",{get(){return v},set(F){if(v!==F){const z=u.imageEl,R=u.slideEl;i("zoomChange",F,z,R)}v=F}});function m(){if(p.length<2)return 1;const F=p[0].pageX,z=p[0].pageY,R=p[1].pageX,V=p[1].pageY;return Math.sqrt((R-F)**2+(V-z)**2)}function y(){const F=e.params.zoom,z=u.imageWrapEl.getAttribute("data-swiper-zoom")||F.maxRatio;if(F.limitToOriginalSize&&u.imageEl&&u.imageEl.naturalWidth){const R=u.imageEl.naturalWidth/u.imageEl.offsetWidth;return Math.min(R,z)}return z}function b(){if(p.length<2)return{x:null,y:null};const F=u.imageEl.getBoundingClientRect();return[(p[0].pageX+(p[1].pageX-p[0].pageX)/2-F.x-r.scrollX)/s,(p[0].pageY+(p[1].pageY-p[0].pageY)/2-F.y-r.scrollY)/s]}function M(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function T(F){const z=M();return!!(F.target.matches(z)||e.slides.filter(R=>R.contains(F.target)).length>0)}function x(F){const z=`.${e.params.zoom.containerClass}`;return!!(F.target.matches(z)||[...e.hostEl.querySelectorAll(z)].filter(R=>R.contains(F.target)).length>0)}function E(F){if(F.pointerType==="mouse"&&p.splice(0,p.length),!T(F))return;const z=e.params.zoom;if(c=!1,d=!1,p.push(F),!(p.length<2)){if(c=!0,u.scaleStart=m(),!u.slideEl){u.slideEl=F.target.closest(`.${e.params.slideClass}, swiper-slide`),u.slideEl||(u.slideEl=e.slides[e.activeIndex]);let R=u.slideEl.querySelector(`.${z.containerClass}`);if(R&&(R=R.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),u.imageEl=R,R?u.imageWrapEl=lt(u.imageEl,`.${z.containerClass}`)[0]:u.imageWrapEl=void 0,!u.imageWrapEl){u.imageEl=void 0;return}u.maxRatio=y()}if(u.imageEl){const[R,V]=b();u.originX=R,u.originY=V,u.imageEl.style.transitionDuration="0ms"}a=!0}}function S(F){if(!T(F))return;const z=e.params.zoom,R=e.zoom,V=p.findIndex(G=>G.pointerId===F.pointerId);V>=0&&(p[V]=F),!(p.length<2)&&(d=!0,u.scaleMove=m(),u.imageEl&&(R.scale=u.scaleMove/u.scaleStart*s,R.scale>u.maxRatio&&(R.scale=u.maxRatio-1+(R.scale-u.maxRatio+1)**.5),R.scale<z.minRatio&&(R.scale=z.minRatio+1-(z.minRatio-R.scale+1)**.5),u.imageEl.style.transform=`translate3d(0,
10,0) scale(${R.scale})`))}function w(F){if(!T(F)||F.pointerType==="mouse"&&F.type==="pointerout")return;const z=e.params.zoom,R=e.zoom,V=p.findIndex(G=>G.pointerId===F.pointerId);V>=0&&p.splice(V,1),!(!c||!d)&&(c=!1,d=!1,u.imageEl&&(R.scale=Math.max(Math.min(R.scale,u.maxRatio),z.minRatio),u.imageEl.style.transitionDuration=`${e.params.speed}ms`,u.imageEl.style.transform=`translate3d(0,0,0) scale(${R.scale})`,s=R.scale,a=!1,R.scale>1&&u.slideEl?u.slideEl.classList.add(`${z.zoomedSlideClass}`):R.scale<=1&&u.slideEl&&u.slideEl.classList.remove(`${z.zoomedSlideClass}`),R.scale===1&&(u.originX=0,u.originY=0,u.slideEl=void 0)))}let _;function C(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function P(){clearTimeout(_),e.touchEventsData.preventTouchMoveFromPointerMove=!0,_=setTimeout(()=>{e.destroyed||C()})}function O(F){const z=e.device;if(!u.imageEl||h.isTouched)return;z.android&&F.cancelable&&F.preventDefault(),h.isTouched=!0;const R=p.length>0?p[0]:F;h.touchesStart.x=R.pageX,h.touchesStart.y=R.pageY}function k(F){const R=F.pointerType==="mouse"&&e.params.zoom.panOnMouseMove;if(!T(F)||!x(F))return;const V=e.zoom;if(!u.imageEl)return;if(!h.isTouched||!u.slideEl){R&&I(F);return}if(R){I(F);return}h.isMoved||(h.width=u.imageEl.offsetWidth||u.imageEl.clientWidth,h.height=u.imageEl.offsetHeight||u.imageEl.clientHeight,h.startX=Di(u.imageWrapEl,"x")||0,h.startY=Di(u.imageWrapEl,"y")||0,u.slideWidth=u.slideEl.offsetWidth,u.slideHeight=u.slideEl.offsetHeight,u.imageWrapEl.style.transitionDuration="0ms");const G=h.width*V.scale,K=h.height*V.scale;if(h.minX=Math.min(u.slideWidth/2-G/2,0),h.maxX=-h.minX,h.minY=Math.min(u.slideHeight/2-K/2,0),h.maxY=-h.minY,h.touchesCurrent.x=p.length>0?p[0].pageX:F.pageX,h.touchesCurrent.y=p.length>0?p[0].pageY:F.pageY,Math.max(Math.abs(h.touchesCurrent.x-h.touchesStart.x),Math.abs(h.touchesCurrent.y-h.touchesStart.y))>5&&(e.allowClick=!1),!h.isMoved&&!a){if(e.isHorizontal()&&(Math.floor(h.minX)===Math.floor(h.startX)&&h.touchesCurrent.x<h.touchesStart.x||Math.floor(h.maxX)===Math.floor(h.startX)&&h.touchesCurrent.x>h.touchesStart.x)){h.isTouched=!1,C();return}if(!e.isHorizontal()&&(Math.floor(h.minY)===Math.floor(h.startY)&&h.touchesCurrent.y<h.touchesStart.y||Math.floor(h.maxY)===Math.floor(h.startY)&&h.touchesCurrent.y>h.touchesStart.y)){h.isTouched=!1,C();return}}F.cancelable&&F.preventDefault(),F.stopPropagation(),P(),h.isMoved=!0;const ge=(V.scale-s)/(u.maxRatio-e.params.zoom.minRatio),{originX:se,originY:te}=u;h.currentX=h.touchesCurrent.x-h.touchesStart.x+h.startX+ge*(h.width-se*2),h.currentY=h.touchesCurrent.y-h.touchesStart.y+h.startY+ge*(h.height-te*2),h.currentX<h.minX&&(h.currentX=h.minX+1-(h.minX-h.currentX+1)**.8),h.currentX>h.maxX&&(h.currentX=h.maxX-1+(h.currentX-h.maxX+1)**.8),h.currentY<h.minY&&(h.currentY=h.minY+1-(h.minY-h.currentY+1)**.8),h.currentY>h.maxY&&(h.currentY=h.maxY-1+(h.currentY-h.maxY+1)**.8),g.prevPositionX||(g.prevPositionX=h.touchesCurrent.x),g.prevPositionY||(g.prevPositionY=h.touchesCurrent.y),g.prevTime||(g.prevTime=Date.now()),g.x=(h.touchesCurrent.x-g.prevPositionX)/(Date.now()-g.prevTime)/2,g.y=(h.touchesCurrent.y-g.prevPositionY)/(Date.now()-g.prevTime)/2,Math.abs(h.touchesCurrent.x-g.prevPositionX)<2&&(g.x=0),Math.abs(h.touchesCurrent.y-g.prevPositionY)<2&&(g.y=0),g.prevPositionX=h.touchesCurrent.x,g.prevPositionY=h.touchesCurrent.y,g.prevTime=Date.now(),u.imageWrapEl.style.transform=`translate3d(${h.currentX}px, ${h.currentY}px,0)`}function $(){const F=e.zoom;if(p.length=0,!u.imageEl)return;if(!h.isTouched||!h.isMoved){h.isTouched=!1,h.isMoved=!1;return}h.isTouched=!1,h.isMoved=!1;let z=300,R=300;const V=g.x*z,G=h.currentX+V,K=g.y*R,ye=h.currentY+K;g.x!==0&&(z=Math.abs((G-h.currentX)/g.x)),g.y!==0&&(R=Math.abs((ye-h.currentY)/g.y));const ge=Math.max(z,R);h.currentX=G,h.currentY=ye;const se=h.width*F.scale,te=h.height*F.scale;h.minX=Math.min(u.slideWidth/2-se/2,0),h.maxX=-h.minX,h.minY=Math.min(u.slideHeight/2-te/2,0),h.maxY=-h.minY,h.currentX=Math.max(Math.min(h.currentX,h.maxX),h.minX),h.currentY=Math.max(Math.min(h.currentY,h.maxY),h.minY),u.imageWrapEl.style.transitionDuration=`${ge}ms`,u.imageWrapEl.style.transform=`translate3d(${h.currentX}px, ${h.currentY}px,0)`}function L(){const F=e.zoom;u.slideEl&&e.activeIndex!==e.slides.indexOf(u.slideEl)&&(u.imageEl&&(u.imageEl.style.transform="translate3d(0,
10,0) scale(1)"),u.imageWrapEl&&(u.imageWrapEl.style.transform="translate3d(0,0,0)"),u.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),F.scale=1,s=1,u.slideEl=void 0,u.imageEl=void 0,u.imageWrapEl=void 0,u.originX=0,u.originY=0)}function I(F){if(s<=1||!u.imageWrapEl||!T(F)||!x(F))return;const z=r.getComputedStyle(u.imageWrapEl).transform,R=new r.DOMMatrix(z);if(!o){o=!0,l.x=F.clientX,l.y=F.clientY,h.startX=R.e,h.startY=R.f,h.width=u.imageEl.offsetWidth||u.imageEl.clientWidth,h.height=u.imageEl.offsetHeight||u.imageEl.clientHeight,u.slideWidth=u.slideEl.offsetWidth,u.slideHeight=u.slideEl.offsetHeight;return}const V=(F.clientX-l.x)*f,G=(F.clientY-l.y)*f,K=h.width*s,ye=h.height*s,ge=u.slideWidth,se=u.slideHeight,te=Math.min(ge/2-K/2,0),ne=-te,ae=Math.min(se/2-ye/2,0),ve=-ae,fe=Math.max(Math.min(h.startX+V,ne),te),Fe=Math.max(Math.min(h.startY+G,ve),ae);u.imageWrapEl.style.transitionDuration="0ms",u.imageWrapEl.style.transform=`translate3d(${fe}px, ${Fe}px, 0)`,l.x=F.clientX,l.y=F.clientY,h.startX=fe,h.startY=Fe,h.currentX=fe,h.currentY=Fe}function A(F){const z=e.zoom,R=e.params.zoom;if(!u.slideEl){F&&F.target&&(u.slideEl=F.target.closest(`.${e.params.slideClass}, swiper-slide`)),u.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?u.slideEl=ue(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:u.slideEl=e.slides[e.activeIndex]);let Ae=u.slideEl.querySelector(`.${R.containerClass}`);Ae&&(Ae=Ae.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),u.imageEl=Ae,Ae?u.imageWrapEl=lt(u.imageEl,`.${R.containerClass}`)[0]:u.imageWrapEl=void 0}if(!u.imageEl||!u.imageWrapEl)return;u.maxRatio=y(),e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),u.slideEl.classList.add(`${R.zoomedSlideClass}`);let V,G,K,ye,ge,se,te,ne,ae,ve,fe,Fe,xt,tt,ce,Et,Wt,Tt;typeof h.touchesStart.x>"u"&&F?(V=F.pageX,G=F.pageY):(V=h.touchesStart.x,G=h.touchesStart.y);const Yt=s,He=typeof F=="number"?F:null;s===1&&He&&(V=void 0,G=void 0,h.touchesStart.x=void 0,h.touchesStart.y=void 0);const bn=y();z.scale=He||bn,s=He||bn,F&&!(s===1&&He)?(Wt=u.slideEl.offsetWidth,Tt=u.slideEl.offsetHeight,K=Yn(u.slideEl).left+r.scrollX,ye=Yn(u.slideEl).top+r.scrollY,ge=K+Wt/2-V,se=ye+Tt/2-G,ae=u.imageEl.offsetWidth||u.imageEl.clientWidth,ve=u.imageEl.offsetHeight||u.imageEl.clientHeight,fe=ae*z.scale,Fe=ve*z.scale,xt=Math.min(Wt/2-fe/2,0),tt=Math.min(Tt/2-Fe/2,0),ce=-xt,Et=-tt,Yt>0&&He&&typeof h.currentX=="number"&&typeof h.currentY=="number"?(te=h.currentX*z.scale/Yt,ne=h.currentY*z.scale/Yt):(te=ge*z.scale,ne=se*z.scale),te<xt&&(te=xt),te>ce&&(te=ce),ne<tt&&(ne=tt),ne>Et&&(ne=Et)):(te=0,ne=0),He&&z.scale===1&&(u.originX=0,u.originY=0),h.currentX=te,h.currentY=ne,u.imageWrapEl.style.transitionDuration="300ms",u.imageWrapEl.style.transform=`translate3d(${te}px, ${ne}px,0)`,u.imageEl.style.transitionDuration="300ms",u.imageEl.style.transform=`translate3d(0,0,0) scale(${z.scale})`}function D(){const F=e.zoom,z=e.params.zoom;if(!u.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?u.slideEl=ue(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:u.slideEl=e.slides[e.activeIndex];let R=u.slideEl.querySelector(`.${z.containerClass}`);R&&(R=R.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),u.imageEl=R,R?u.imageWrapEl=lt(u.imageEl,`.${z.containerClass}`)[0]:u.imageWrapEl=void 0}!u.imageEl||!u.imageWrapEl||(u.maxRatio=y(),e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),F.scale=1,s=1,h.currentX=void 0,h.currentY=void 0,h.touchesStart.x=void 0,h.touchesStart.y=void 0,u.imageWrapEl.style.transitionDuration="300ms",u.imageWrapEl.style.transform="translate3d(0,0,0)",u.imageEl.style.transitionDuration="300ms",u.imageEl.style.transform="translate3d(0,0,0) scale(1)",u.slideEl.classList.remove(`${z.zoomedSlideClass}`),u.slideEl=void 0,u.originX=0,u.originY=0,e.params.zoom.panOnMouseMove&&(l={x:0,y:0},o&&(o=!1,h.startX=0,h.startY=0)))}function N(F){const z=e.zoom;z.scale&&z.scale!==1?D():A(F)}function W(){const F=e.params.passiveListeners?{passive:!0,capture:!1}:!1,z=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:F,activeListenerWithCapture:z}}function j(){const F=e.zoom;if(F.enabled)return;F.enabled=!0;const{passiveListener:z,activeListenerWithCapture:R}=W();e.wrapperEl.addEventListener("pointerdown",E,z),e.wrapperEl.addEventListener("pointermove",S,R),["pointerup","pointercancel","pointerout"].forEach(V=>{e.wrapperEl.addEventListener(V,w,z)}),e.wrapperEl.addEventListener("pointermove",k,R)}function q(){const F=e.zoom;if(!F.enabled)return;F.enabled=!1;const{passiveListener:z,activeListenerWithCapture:R}=W();e.wrapperEl.removeEventListener("pointerdown",E,z),e.wrapperEl.removeEventListener("pointermove",S,R),["pointerup","pointercancel","pointerout"].forEach(V=>{e.wrapperEl.removeEventListener(V,w,z)}),e.wrapperEl.removeEventListener("pointermove",k,R)}n("init",()=>{e.params.zoom.enabled&&j()}),n("destroy",()=>{q()}),n("touchStart",(F,z)=>{e.zoom.enabled&&O(z)}
1),n("touchEnd",(F,z)=>{e.zoom.enabled&&$()}),n("doubleTap",(F,z)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&N(z)}),n("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&L()}),n("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&L()}),Object.assign(e.zoom,{enable:j,disable:q,in:A,out:D,toggle:N})}function Ru({swiper:e,extendParams:t,on:n}){t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function i(l,f){const c=(function(){let h,g,v;return(m,y)=>{for(g=-1,h=m.length;h-g>1;)v=h+g>>1,m[v]<=y?g=v:h=v;return h}})();this.x=l,this.y=f,this.lastIndex=l.length-1;let d,p;return this.interpolate=function(h){return h?(p=c(this.x,h),d=p-1,(h-this.x[d])*(this.y[p]-this.y[d])/(this.x[p]-this.x[d])+this.y[d]):0},this}function r(l){e.controller.spline=e.params.loop?new i(e.slidesGrid,l.slidesGrid):new i(e.snapGrid,l.snapGrid)}function s(l,f){const c=e.controller.control;let d,p;const u=e.constructor;function h(g){if(g.destroyed)return;const v=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(r(g),p=-e.controller.spline.interpolate(-v)),(!p||e.params.controller.by==="container")&&(d=(g.maxTranslate()-g.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(d)||!Number.isFinite(d))&&(d=1),p=(v-e.minTranslate())*d+g.minTranslate()),e.params.controller.inverse&&(p=g.maxTranslate()-p),g.updateProgress(p),g.setTranslate(p,e),g.updateActiveIndex(),g.updateSlidesClasses()}if(Array.isArray(c))for(let g=0;g<c.length;g+=1)c[g]!==f&&c[g]instanceof u&&h(c[g]);else c instanceof u&&f!==c&&h(c)}function a(l,f){const c=e.constructor,d=e.controller.control;let p;function u(h){h.destroyed||(h.setTransition(l,e),l!==0&&(h.transitionStart(),h.params.autoHeight&&wt(()=>{h.updateAutoHeight()}),nn(h.wrapperEl,()=>{d&&h.transitionEnd()})))}if(Array.isArray(d))for(p=0;p<d.length;p+=1)d[p]!==f&&d[p]instanceof c&&u(d[p]);else d instanceof c&&f!==d&&u(d)}function o(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}n("beforeInit",()=>{if(typeof window<"u"&&(typeof e.params.controller.control=="string"||e.params.controller.control instanceof HTMLElement)){(typeof e.params.controller.control=="string"?[...document.querySelectorAll(e.params.controller.control)]:[e.params.controller.control]).forEach(f=>{if(e.controller.control||(e.controller.control=[]),f&&f.swiper)e.controller.control.push(f.swiper);else if(f){const c=`${e.params.eventsPrefix}init`,d=p=>{e.controller.control.push(p.detail[0]),e.update(),f.removeEventListener(c,d)};f.addEventListener(c,d)}});return}e.controller.control=e.params.controller.control}),n("update",()=>{o()}),n("resize",()=>{o()}),n("observerUpdate",()=>{o()}),n("setTranslate",(l,f,c)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(f,c)}),n("setTransition",(l,f,c)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(f,c)}),Object.assign(e.controller,{setTranslate:s,setTransition:a})}function Vu({swiper:e,extendParams:t,on:n}){t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0,wrapperLiveRegion:!0}}),e.a11y={clicked:!1};let i=null,r,s,a=new Date().getTime();function o(L){const I=i;I.length!==0&&De(I,L)}function l(L=16){const I=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(L).replace(/x/g,I)}
1function f(L){L=X(L),L.forEach(I=>{I.setAttribute("tabIndex","0")})}function c(L){L=X(L),L.forEach(I=>{I.setAttribute("tabIndex","-1")})}function d(L,I){L=X(L),L.forEach(A=>{A.setAttribute("role",I)})}function p(L,I){L=X(L),L.forEach(A=>{A.setAttribute("aria-roledescription",I)})}function u(L,I){L=X(L),L.forEach(A=>{A.setAttribute("aria-controls",I)})}function h(L,I){L=X(L),L.forEach(A=>{A.setAttribute("aria-label",I)})}function g(L,I){L=X(L),L.forEach(A=>{A.setAttribute("id",I)})}function v(L,I){L=X(L),L.forEach(A=>{A.setAttribute("aria-live",I)})}function m(L){L=X(L),L.forEach(I=>{I.setAttribute("aria-disabled",!0)})}function y(L){L=X(L),L.forEach(I=>{I.setAttribute("aria-disabled",!1)})}function b(L){if(L.keyCode!==13&&L.keyCode!==32)return;const I=e.params.a11y,A=L.target;if(!(e.pagination&&e.pagination.el&&(A===e.pagination.el||e.pagination.el.contains(L.target))&&!L.target.matches(Ne(e.params.pagination.bulletClass)))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const D=X(e.navigation.prevEl);X(e.navigation.nextEl).includes(A)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?o(I.lastSlideMessage):o(I.nextSlideMessage)),D.includes(A)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?o(I.firstSlideMessage):o(I.prevSlideMessage))}e.pagination&&A.matches(Ne(e.params.pagination.bulletClass))&&A.click()}}function M(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:L,prevEl:I}=e.navigation;I&&(e.isBeginning?(m(I),c(I)):(y(I),f(I))),L&&(e.isEnd?(m(L),c(L)):(y(L),f(L)))}function T(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function x(){return T()&&e.params.pagination.clickable}function E(){const L=e.params.a11y;T()&&e.pagination.bullets.forEach(I=>{e.params.pagination.clickable&&(f(I),e.params.pagination.renderBullet||(d(I,"button"),h(I,L.paginationBulletMessage.replace(/\{\{index\}\}/,ln(I)+1)))),I.matches(Ne(e.params.pagination.bulletActiveClass))?I.setAttribute("aria-current","true"):I.removeAttribute("aria-current")})}const S=(L,I,A)=>{f(L),L.tagName!=="BUTTON"&&(d(L,"button"),L.addEventListener("keydown",b)),h(L,A),u(L,I)},w=L=>{s&&s!==L.target&&!s.contains(L.target)&&(r=!0),e.a11y.clicked=!0},_=()=>{r=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},C=L=>{a=new Date().getTime()},P=L=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus||new Date().getTime()-a<100)return;const I=L.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!I||!e.slides.includes(I))return;s=I;const A=e.virtual&&e.params.virtual.enabled,D=(A?parseInt(I.getAttribute("data-swiper-slide-index"),10):e.slides.indexOf(I))===e.activeIndex,N=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(I);D||N||L.sourceCapabilities&&L.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{r||(e.params.loop?e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(I.getAttribute("data-swiper-slide-index"))),0):A?e.slideTo(e.getSlideIndexWhenGrid(parseInt(I.getAttribute("data-swiper-slide-index"),10)),0):e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(I)),0),r=!1)}))},O=()=>{const L=e.params.a11y;L.itemRoleDescriptionMessage&&p(e.slides,L.itemRoleDescriptionMessage),L.slideRole&&d(e.slides,L.slideRole);const I=e.slides.length;L.slideLabelMessage&&e.slides.forEach((A,D)=>{const N=e.params.loop?parseInt(A.getAttribute("data-swiper-slide-index"),10):D,W=L.slideLabelMessage.replace(/\{\{index\}\}/,N+1).replace(/\{\{slidesLength\}\}/,I);h(A,W)})},k=()=>{const L=e.params.a11y;e.el.append(i);const I=e.el;L.containerRoleDescriptionMessage&&p(I,L.containerRoleDescriptionMessage),L.containerMessage&&h(I,L.containerMessage),L.containerRole&&d(I,L.containerRole);const A=e.wrapperEl,D=L.id||A.getAttribute("id")||`swiper-wrapper-${l(16)}`;if(g(A,D),L.wrapperLiveRegion){const q=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";v(A,q)}O();let{nextEl:N,prevEl:W}=e.navigation?e.navigation:{};N=X(N),W=X(W),N&&N.forEach(q=>S(q,D,L.nextSlideMessage)),W&&W.forEach(q=>S(q,D,L.prevSlideMessage)),x()&&X(e.pagination.el).forEach(F=>{F.addEventListener("keydown",b)}),le().addEventListener("visibilitychange",C),e.el.addEventListener("focus",P,!0),e.el.addEventListener("pointerdown",w,!0),e.el.addEventListener("pointerup",_,!0)};function $(){i&&i.remove();let{nextEl:L,prevEl:I}=e.navigation?e.navigation:{};
1L=X(L),I=X(I),L&&L.forEach(D=>D.removeEventListener("keydown",b)),I&&I.forEach(D=>D.removeEventListener("keydown",b)),x()&&X(e.pagination.el).forEach(N=>{N.removeEventListener("keydown",b)}),le().removeEventListener("visibilitychange",C),e.el&&typeof e.el!="string"&&(e.el.removeEventListener("focus",P,!0),e.el.removeEventListener("pointerdown",w,!0),e.el.removeEventListener("pointerup",_,!0))}n("beforeInit",()=>{i=xe("span",e.params.a11y.notificationClass),i.setAttribute("aria-live","assertive"),i.setAttribute("aria-atomic","true")}),n("afterInit",()=>{e.params.a11y.enabled&&k()}),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&O()}),n("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&M()}),n("paginationUpdate",()=>{e.params.a11y.enabled&&E()}),n("destroy",()=>{e.params.a11y.enabled&&$()})}function $u({swiper:e,extendParams:t,on:n}){t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let i=!1,r={};const s=p=>p.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),a=p=>{const u=J();let h;p?h=new URL(p):h=u.location;const g=h.pathname.slice(1).split("/").filter(b=>b!==""),v=g.length,m=g[v-2],y=g[v-1];return{key:m,value:y}},o=(p,u)=>{const h=J();if(!i||!e.params.history.enabled)return;let g;e.params.url?g=new URL(e.params.url):g=h.location;const v=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${u}"]`):e.slides[u];let m=s(v.getAttribute("data-history"));if(e.params.history.root.length>0){let b=e.params.history.root;b[b.length-1]==="/"&&(b=b.slice(0,b.length-1)),m=`${b}/${p?`${p}/`:""}${m}`}else g.pathname.includes(p)||(m=`${p?`${p}/`:""}${m}`);e.params.history.keepQuery&&(m+=g.search);const y=h.history.state;y&&y.value===m||(e.params.history.replaceState?h.history.replaceState({value:m},null,m):h.history.pushState({value:m},null,m))},l=(p,u,h)=>{if(u)for(let g=0,v=e.slides.length;g<v;g+=1){const m=e.slides[g];if(s(m.getAttribute("data-history"))===u){const b=e.getSlideIndex(m);e.slideTo(b,p,h)}}else e.slideTo(0,p,h)},f=()=>{r=a(e.params.url),l(e.params.speed,r.value,!1)},c=()=>{const p=J();if(e.params.history){if(!p.history||!p.history.pushState){e.params.history.enabled=!1,e.params.hashNavigation.enabled=!0;return}if(i=!0,r=a(e.params.url),!r.key&&!r.value){e.params.history.replaceState||p.addEventListener("popstate",f);return}l(0,r.value,e.params.runCallbacksOnInit),e.params.history.replaceState||p.addEventListener("popstate",f)}},d=()=>{const p=J();e.params.history.replaceState||p.removeEventListener("popstate",f)};n("init",()=>{e.params.history.enabled&&c()}),n("destroy",()=>{e.params.history.enabled&&d()}),n("transitionEnd _freeModeNoMomentumRelease",()=>{i&&o(e.params.history.key,e.activeIndex)}),n("slideChange",()=>{i&&e.params.cssMode&&o(e.params.history.key,e.activeIndex)})}function Nu({swiper:e,extendParams:t,emit:n,on:i}){let r=!1;const s=le(),a=J();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(d,p){if(e.virtual&&e.params.virtual.enabled){const u=e.slides.find(g=>g.getAttribute("data-hash")===p);return u?parseInt(u.getAttribute("data-swiper-slide-index"),10):0}return e.getSlideIndex(ue(e.slidesEl,`.${e.params.slideClass}[data-hash="${p}"], swiper-slide[data-hash="${p}"]`)[0])}}});const o=()=>{n("hashChange");const d=s.location.hash.replace("#",""),p=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],u=p?p.getAttribute("data-hash"):"";if(d!==u){const h=e.params.hashNavigation.getSlideIndex(e,d);if(typeof h>"u"||Number.isNaN(h))return;e.slideTo(h)}},l=()=>{if(!r||!e.params.hashNavigation.enabled)return;const d=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],p=d?d.getAttribute("data-hash")||d.getAttribute("data-history"):"";e.params.hashNavigation.replaceState&&a.history&&a.history.replaceState?(a.history.replaceState(null,null,`#${p}`||""),n("hashSet")):(s.location.hash=p||"",n("hashSet"))},f=()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;r=!0;const d=s.location.hash.replace("#","");if(d){const u=e.params.hashNavigation.getSlideIndex(e,d);e.slideTo(u||0,0,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&a.addEventListener("hashchange",o)},c=()=>{e.params.hashNavigation.watchState&&a.removeEventListener("hashchange",o)};i("init",()=>{e.params.hashNavigation.enabled&&f()}),i("destroy",()=>{e.params.hashNavigation.enabled&&c()}),i("transitionEnd _freeModeNoMomentumRelease",()=>{r&&l()}),i("slideChange",()=>{r&&e.params.cssMode&&l()})}function Bu({swiper:e,extendParams:t,on:n,emit:i,params:r}){e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let s,a,o=r&&r.autoplay?r.autoplay.delay:3e3,l=r&&r.autoplay?r.autoplay.delay:3e3,f,c=new Date().getTime(),d,p,u,h,g,v;function m(I){!e||e.destroyed||!e.wrapperEl||I.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",m),!(v||I.detail&&I.detail.bySwiperTouchMove)&&w())}const y=()=>
1{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?d=!0:d&&(l=f,d=!1);const I=e.autoplay.paused?f:c+l-new Date().getTime();e.autoplay.timeLeft=I,i("autoplayTimeLeft",I,I/o),a=requestAnimationFrame(()=>{y()})},b=()=>{let I;return e.virtual&&e.params.virtual.enabled?I=e.slides.find(D=>D.classList.contains("swiper-slide-active")):I=e.slides[e.activeIndex],I?parseInt(I.getAttribute("data-swiper-autoplay"),10):void 0},M=()=>{let I=e.params.autoplay.delay;const A=b();return!Number.isNaN(A)&&A>0&&(I=A),I},T=I=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(a),y();let A=I;typeof A>"u"&&(A=M(),o=A,l=A),f=A;const D=e.params.speed,N=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(D,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,D,!0,!0),i("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(D,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,D,!0,!0),i("autoplay")),e.params.cssMode&&(c=new Date().getTime(),requestAnimationFrame(()=>{T()})))};return A>0?(clearTimeout(s),s=setTimeout(()=>{N()},A)):requestAnimationFrame(()=>{N()}),A},x=()=>{c=new Date().getTime(),e.autoplay.running=!0,T(),i("autoplayStart")},E=()=>{e.autoplay.running=!1,clearTimeout(s),cancelAnimationFrame(a),i("autoplayStop")},S=(I,A)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(s),I||(g=!0);const D=()=>{i("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",m):w()};if(e.autoplay.paused=!0,A){D();return}f=(f||e.params.autoplay.delay)-(new Date().getTime()-c),!(e.isEnd&&f<0&&!e.params.loop)&&(f<0&&(f=0),D())},w=()=>{e.isEnd&&f<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(c=new Date().getTime(),g?(g=!1,T(f)):T(),e.autoplay.paused=!1,i("autoplayResume"))},_=()=>{if(e.destroyed||!e.autoplay.running)return;const I=le();I.visibilityState==="hidden"&&(g=!0,S(!0)),I.visibilityState==="visible"&&w()},C=I=>{I.pointerType==="mouse"&&(g=!0,v=!0,!(e.animating||e.autoplay.paused)&&S(!0))},P=I=>{I.pointerType==="mouse"&&(v=!1,e.autoplay.paused&&w())},O=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",C),e.el.addEventListener("pointerleave",P))},k=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",C),e.el.removeEventListener("pointerleave",P))},$=()=>{le().addEventListener("visibilitychange",_)},L=()=>{le().removeEventListener("visibilitychange",_)};n("init",()=>{e.params.autoplay.enabled&&(O(),$(),x())}),n("destroy",()=>{k(),L(),e.autoplay.running&&E()}),n("_freeModeStaticRelease",()=>{(u||g)&&w()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?E():S(!0,!0)}),n("beforeTransitionStart",(I,A,D)=>{e.destroyed||!e.autoplay.running||(D||!e.params.autoplay.disableOnInteraction?S(!0,!0):E())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){E();return}p=!0,u=!1,g=!1,h=setTimeout(()=>{g=!0,u=!0,S(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!p)){if(clearTimeout(h),clearTimeout(s),e.params.autoplay.disableOnInteraction){u=!1,p=!1;return}u&&e.params.cssMode&&w(),u=!1,p=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||e.autoplay.paused&&(f=M(),o=M())}),Object.assign(e.autoplay,{start:x,stop:E,pause:S,resume:w})}function Hu({swiper:e,extendParams:t,on:n}){t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let i=!1,r=!1;e.thumbs={swiper:null};function s(){const c=e.thumbs.swiper;return!c||c.destroyed?!1:c.params.virtual&&c.params.virtual.enabled}function a(){const c=e.thumbs.swiper;if(!c||c.destroyed)return;const d=c.clickedIndex,p=c.clickedSlide;if(p&&p.classList.contains(e.params.thumbs.slideThumbActiveClass)||typeof d>"u"||d===null)return;let u;c.params.loop?u=parseInt(c.clickedSlide.getAttribute("data-swiper-slide-index"),10):u=d,e.params.loop?e.slideToLoop(u):e.slideTo(u)}function o(){const{thumbs:c}=e.params;if(i)return!1;i=!0;const d=e.constructor;if(c.swiper instanceof d){if(c.swiper.destroyed)return i=!1,!1;e.thumbs.swiper=c.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}
1),e.thumbs.swiper.update()}else if(Qt(c.swiper)){const p=Object.assign({},c.swiper);Object.assign(p,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new d(p),r=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",a),s()&&e.thumbs.swiper.on("virtualUpdate",()=>{l(!1,{autoScroll:!1})}),!0}function l(c,d){const p=e.thumbs.swiper;if(!p||p.destroyed)return;let u=1;const h=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(u=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(u=1),u=Math.floor(u),p.slides.forEach(g=>g.classList.remove(h)),p.params.loop||s())for(let g=0;g<u;g+=1)ue(p.slidesEl,`[data-swiper-slide-index="${e.realIndex+g}"]`).forEach(v=>{v.classList.add(h)});else for(let g=0;g<u;g+=1)p.slides[e.realIndex+g]&&p.slides[e.realIndex+g].classList.add(h);((d==null?void 0:d.autoScroll)??!0)&&f(c?0:void 0)}function f(c){const d=e.thumbs.swiper;if(!d||d.destroyed)return;const p=d.params.slidesPerView==="auto"?d.slidesPerViewDynamic():d.params.slidesPerView,u=e.params.thumbs.autoScrollOffset,h=u&&!d.params.loop;if(e.realIndex!==d.realIndex||h){const g=d.activeIndex;let v,m;if(d.params.loop){const y=d.slides.find(b=>b.getAttribute("data-swiper-slide-index")===`${e.realIndex}`);v=d.slides.indexOf(y),m=e.activeIndex>e.previousIndex?"next":"prev"}else v=e.realIndex,m=v>e.previousIndex?"next":"prev";h&&(v+=m==="next"?u:-1*u),d.visibleSlidesIndexes&&d.visibleSlidesIndexes.indexOf(v)<0&&(d.params.centeredSlides?v>g?v=v-Math.floor(p/2)+1:v=v+Math.floor(p/2)-1:v>g&&d.params.slidesPerGroup,d.slideTo(v,c))}}n("beforeInit",()=>{const{thumbs:c}=e.params;if(!(!c||!c.swiper))if(typeof c.swiper=="string"||c.swiper instanceof HTMLElement){const d=le(),p=()=>{const h=typeof c.swiper=="string"?d.querySelector(c.swiper):c.swiper;if(h&&h.swiper)c.swiper=h.swiper,o(),l(!0);else if(h){const g=`${e.params.eventsPrefix}init`,v=m=>{c.swiper=m.detail[0],h.removeEventListener(g,v),o(),l(!0),c.swiper.update(),e.update()};h.addEventListener(g,v)}return h},u=()=>{if(e.destroyed)return;p()||requestAnimationFrame(u)};requestAnimationFrame(u)}else o(),l(!0)}),n("slideChange update resize observerUpdate",()=>{l()}),n("setTransition",(c,d)=>{const p=e.thumbs.swiper;!p||p.destroyed||p.setTransition(d)}),n("beforeDestroy",()=>{const c=e.thumbs.swiper;!c||c.destroyed||r&&c.destroy()}),Object.assign(e.thumbs,{init:o,update:l})}function Gu({swiper:e,extendParams:t,emit:n,once:i}){t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function r(){if(e.params.cssMode)return;const o=e.getTranslate();e.setTranslate(o),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function s(){if(e.params.cssMode)return;const{touchEventsData:o,touches:l}=e;o.velocities.length===0&&o.velocities.push({position:l[e.isHorizontal()?"startX":"startY"],time:o.touchStartTime}),o.velocities.push({position:l[e.isHorizontal()?"currentX":"currentY"],time:Ce()})}function a({currentPos:o}){if(e.params.cssMode)return;const{params:l,wrapperEl:f,rtlTranslate:c,snapGrid:d,touchEventsData:p}=e,h=Ce()-p.touchStartTime;if(o<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(o>-e.maxTranslate()){e.slides.length<d.length?e.slideTo(d.length-1):e.slideTo(e.slides.length-1);return}if(l.freeMode.momentum){if(p.velocities.length>1){const x=p.velocities.pop(),E=p.velocities.pop(),S=x.position-E.position,w=x.time-E.time;e.velocity=S/w,e.velocity/=2,Math.abs(e.velocity)<l.freeMode.minimumVelocity&&(e.velocity=0),(w>150||Ce()-x.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=l.freeMode.momentumVelocityRatio,p.velocities.length=0;let g=1e3*l.freeMode.momentumRatio;const v=e.velocity*g;let m=e.translate+v;c&&(m=-m);let y=!1,b;const M=Math.abs(e.velocity)*20*l.freeMode.momentumBounceRatio;let T;if(m<e.maxTranslate())l.freeMode.momentumBounce?(m+e.maxTranslate()<-M&&(m=e.maxTranslate()-M),b=e.maxTranslate(),y=!0,p.allowMomentumBounce
vendor: 4,192 bytes, line 1
1=!0):m=e.maxTranslate(),l.loop&&l.centeredSlides&&(T=!0);else if(m>e.minTranslate())l.freeMode.momentumBounce?(m-e.minTranslate()>M&&(m=e.minTranslate()+M),b=e.minTranslate(),y=!0,p.allowMomentumBounce=!0):m=e.minTranslate(),l.loop&&l.centeredSlides&&(T=!0);else if(l.freeMode.sticky){let x;for(let E=0;E<d.length;E+=1)if(d[E]>-m){x=E;break}Math.abs(d[x]-m)<Math.abs(d[x-1]-m)||e.swipeDirection==="next"?m=d[x]:m=d[x-1],m=-m}if(T&&i("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(c?g=Math.abs((-m-e.translate)/e.velocity):g=Math.abs((m-e.translate)/e.velocity),l.freeMode.sticky){const x=Math.abs((c?-m:m)-e.translate),E=e.slidesSizesGrid[e.activeIndex];x<E?g=l.speed:x<2*E?g=l.speed*1.5:g=l.speed*2.5}}else if(l.freeMode.sticky){e.slideToClosest();return}l.freeMode.momentumBounce&&y?(e.updateProgress(b),e.setTransition(g),e.setTranslate(m),e.transitionStart(!0,e.swipeDirection),e.animating=!0,nn(f,()=>{!e||e.destroyed||!p.allowMomentumBounce||(n("momentumBounce"),e.setTransition(l.speed),setTimeout(()=>{e.setTranslate(b),nn(f,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(m),e.setTransition(g),e.setTranslate(m),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,nn(f,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(m),e.updateActiveIndex(),e.updateSlidesClasses()}else if(l.freeMode.sticky){e.slideToClosest();return}else l.freeMode&&n("_freeModeNoMomentumRelease");(!l.freeMode.momentum||h>=l.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:r,onTouchMove:s,onTouchEnd:a}})}function qu({swiper:e,extendParams:t,on:n}){t({grid:{rows:1,fill:"column"}});let i,r,s,a;const o=()=>{let h=e.params.spaceBetween;return typeof h=="string"&&h.indexOf("%")>=0?h=parseFloat(h.replace("%",""))/100*e.size:typeof h=="string"&&(h=parseFloat(h)),h},l=h=>{const{slidesPerView:g}=e.params,{rows:v,fill:m}=e.params.grid,y=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:h.length;s=Math.floor(y/v),Math.floor(y/v)===y/v?i=y:i=Math.ceil(y/v)*v,g!=="auto"&&m==="row"&&(i=Math.max(i,g*v)),r=i/v},f=()=>{e.slides&&e.slides.forEach(h=>{h.swiperSlideGridSet&&(h.style.height="",h.style[e.getDirectionLabel("margin-top")]="")})},c=(h,g,v)=>{const{slidesPerGroup:m}=e.params,y=o(),{rows:b,fill:M}=e.params.grid,T=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:v.length;let x,E,S;if(M==="row"&&m>1){const w=Math.floor(h/(m*b)),_=h-b*m*w,C=w===0?m:Math.min(Math.ceil((T-w*b*m)/b),m);S=Math.floor(_/C),E=_-S*C+w*m,x=E+S*i/b,g.style.order=x}else M==="column"?(E=Math.floor(h/b),S=h-E*b,(E>s||E===s&&S===b-1)&&(S+=1,S>=b&&(S=0,E+=1))):(S=Math.floor(h/r),E=h-S*r);g.row=S,g.column=E,g.style.height=`calc((100% - ${(b-1)*y}px) / ${b})`,g.style[e.getDirectionLabel("margin-top")]=S!==0?y&&`${y}px`:"",g.swiperSlideGridSet=!0},d=(h,g)=>{const{centeredSlides:v,roundLengths:m}=e.params,y=o(),{rows:b}=e.params.grid;if(e.virtualSize=(h+y)*i,e.virtualSize=Math.ceil(e.virtualSize/b)-y,e.params.cssMode||(e.wrapperEl.style[e.getDirectionLabel("width")]=`${e.virtualSize+y}px`),v){const M=[];for(let T=0;T<g.length;T+=1){let x=g[T];m&&(x=Math.floor(x)),g[T]<e.virtualSize+g[0]&&M.push(x)}g.splice(0,g.length),g.push(...M)}},p=()=>{a=e.params.grid&&e.params.grid.rows>1},u=()=>{const{params:h,el:g}=e,v=h.grid&&h.grid.rows>1;a&&!v?(g.classList.remove(`${h.containerModifierClass}grid`,`${h.containerModifierClass}grid-column`),s=1,e.emitContainerClasses()):!a&&v&&(g.classList.add(`${h.containerModifierClass}grid`),h.grid.fill==="column"&&g.classList.add(`${h.containerModifierClass}grid-column`),e.emitContainerClasses()),a=v};n("init",p),n("update",u),e.grid={initSlides:l,unsetSlides:f,updateSlide:c,updateWrapperSize:d}}function Wu(e){const t=this,{params:n,slidesEl:i}=t;n.loop&&t.loopDestroy();const r=s=>{if(typeof s=="string"){const a=document.createElement("div");De(a,s),i.append(a.children[0]),De(a,"")}else i.append(s)};if(typeof e=="object"&&"length"in e)for(let s=0;s<e.length;s+=1)e[s]&&r(e[s]);else r(e);t.recalcSlides(),n.loop&&t.loopCreate(),(!n.observer||t.isElement)&&t.update(
1)}function Yu(e){const t=this,{params:n,activeIndex:i,slidesEl:r}=t;n.loop&&t.loopDestroy();let s=i+1;const a=o=>{if(typeof o=="string"){const l=document.createElement("div");De(l,o),r.prepend(l.children[0]),De(l,"")}else r.prepend(o)};if(typeof e=="object"&&"length"in e){for(let o=0;o<e.length;o+=1)e[o]&&a(e[o]);s=i+e.length}else a(e);t.recalcSlides(),n.loop&&t.loopCreate(),(!n.observer||t.isElement)&&t.update(),t.slideTo(s,0,!1)}function ju(e,t){const n=this,{params:i,activeIndex:r,slidesEl:s}=n;let a=r;i.loop&&(a-=n.loopedSlides,n.loopDestroy(),n.recalcSlides());const o=n.slides.length;if(e<=0){n.prependSlide(t);return}if(e>=o){n.appendSlide(t);return}let l=a>e?a+1:a;const f=[];for(let c=o-1;c>=e;c-=1){const d=n.slides[c];d.remove(),f.unshift(d)}if(typeof t=="object"&&"length"in t){for(let c=0;c<t.length;c+=1)t[c]&&s.append(t[c]);l=a>e?a+t.length:a}else s.append(t);for(let c=0;c<f.length;c+=1)s.append(f[c]);n.recalcSlides(),i.loop&&n.loopCreate(),(!i.observer||n.isElement)&&n.update(),i.loop?n.slideTo(l+n.loopedSlides,0,!1):n.slideTo(l,0,!1)}function Xu(e){const t=this,{params:n,activeIndex:i}=t;let r=i;n.loop&&(r-=t.loopedSlides,t.loopDestroy());let s=r,a;if(typeof e=="object"&&"length"in e){for(let o=0;o<e.length;o+=1)a=e[o],t.slides[a]&&t.slides[a].remove(),a<s&&(s-=1);s=Math.max(s,0)}else a=e,t.slides[a]&&t.slides[a].remove(),a<s&&(s-=1),s=Math.max(s,0);t.recalcSlides(),n.loop&&t.loopCreate(),(!n.observer||t.isElement)&&t.update(),n.loop?t.slideTo(s+t.loopedSlides,0,!1):t.slideTo(s,0,!1)}function Ku(){const e=this,t=[];for(let n=0;n<e.slides.length;n+=1)t.push(n);e.removeSlide(t)}function Uu({swiper:e}){Object.assign(e,{appendSlide:Wu.bind(e),prependSlide:Yu.bind(e),addSlide:ju.bind(e),removeSlide:Xu.bind(e),removeAllSlides:Ku.bind(e)})}function Dt(e){const{effect:t,swiper:n,on:i,setTranslate:r,setTransition:s,overwriteParams:a,perspective:o,recreateShadows:l,getEffectParams:f}=e;i("beforeInit",()=>{if(n.params.effect!==t)return;n.classNames.push(`${n.params.containerModifierClass}${t}`),o&&o()&&n.classNames.push(`${n.params.containerModifierClass}3d`);const d=a?a():{};Object.assign(n.params,d),Object.assign(n.originalParams,d)}),i("setTranslate _virtualUpdated",()=>{n.params.effect===t&&r()}),i("setTransition",(d,p)=>{n.params.effect===t&&s(p)}),i("transitionEnd",()=>{if(n.params.effect===t&&l){if(!f||!f().slideShadows)return;n.slides.forEach(d=>{d.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(p=>p.remove())}),l()}});let c;i("virtualUpdate",()=>{n.params.effect===t&&(n.slides.length||(c=!0),requestAnimationFrame(()=>{c&&n.slides&&n.slides.length&&(r(),c=!1)}))})}function mn(e,t){const n=bt(t);return n!==t&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function ri({swiper:e,duration:t,transformElements:n,allSlides:i}){const{activeIndex:r}=e,s=a=>a.parentElement?a.parentElement:e.slides.find(l=>l.shadowRoot&&l.shadowRoot===a.parentNode);if(e.params.virtualTranslate&&t!==0){let a=!1,o;i?o=n:o=n.filter(l=>{const f=l.classList.contains("swiper-slide-transform")?s(l):l;return e.getSlideIndex(f)===r}),o.forEach(l=>{nn(l,()=>{if(a||!e||e.destroyed)return;a=!0,e.animating=!1;const f=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(f)})})}}function Zu({swiper:e,extendParams:t,on:n}){t({fadeEffect:{crossFade:!1}}),Dt({effect:"fade",swiper:e,on:n,setTranslate:()=>{const{slides:s}=e,a=e.params.fadeEffect;for(let o=0;o<s.length;o+=1){const l=e.slides[o];let c=-l.swiperSlideOffset;e.params.virtualTranslate||(c-=e.translate);let d=0;e.isHorizontal()||(d=c,c=0);const p=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(l.progress),0):1+Math.min(Math.max(l.progress,-1),0),u=mn(a,l);u.style.opacity=p,u.style.transform=`translate3d(${c}px, ${d}px, 0px)`}},setTransition:s=>{const a=e.slides.map(o=>bt(o));a.forEach(o=>{o.style.transitionDuration=`${s}ms`}),ri({swiper:e,duration:s,transformElements:a,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function Ju({swiper:e,extendParams:t,on:n}){t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const i=(o,l,f)=>{let c=f?o.querySelector(".swiper-slide-shadow-left"):o.querySelector(".swiper-slide-shadow-top"),d=f?o.querySelector(".swiper-slide-shadow-right"):o.querySelector(".swiper-slide-shadow-bottom");c||(c=xe("div",`swiper-slide-shadow-cube swiper-slide-shadow-${f?"left"
1:"top"}`.split(" ")),o.append(c)),d||(d=xe("div",`swiper-slide-shadow-cube swiper-slide-shadow-${f?"right":"bottom"}`.split(" ")),o.append(d)),c&&(c.style.opacity=Math.max(-l,0)),d&&(d.style.opacity=Math.max(l,0))};Dt({effect:"cube",swiper:e,on:n,setTranslate:()=>{const{el:o,wrapperEl:l,slides:f,width:c,height:d,rtlTranslate:p,size:u,browser:h}=e,g=ii(e),v=e.params.cubeEffect,m=e.isHorizontal(),y=e.virtual&&e.params.virtual.enabled;let b=0,M;v.shadow&&(m?(M=e.wrapperEl.querySelector(".swiper-cube-shadow"),M||(M=xe("div","swiper-cube-shadow"),e.wrapperEl.append(M)),M.style.height=`${c}px`):(M=o.querySelector(".swiper-cube-shadow"),M||(M=xe("div","swiper-cube-shadow"),o.append(M))));for(let x=0;x<f.length;x+=1){const E=f[x];let S=x;y&&(S=parseInt(E.getAttribute("data-swiper-slide-index"),10));let w=S*90,_=Math.floor(w/360);p&&(w=-w,_=Math.floor(-w/360));const C=Math.max(Math.min(E.progress,1),-1);let P=0,O=0,k=0;S%4===0?(P=-_*4*u,k=0):(S-1)%4===0?(P=0,k=-_*4*u):(S-2)%4===0?(P=u+_*4*u,k=u):(S-3)%4===0&&(P=-u,k=3*u+u*4*_),p&&(P=-P),m||(O=P,P=0);const $=`rotateX(${g(m?0:-w)}deg) rotateY(${g(m?w:0)}deg) translate3d(${P}px, ${O}px, ${k}px)`;C<=1&&C>-1&&(b=S*90+C*90,p&&(b=-S*90-C*90)),E.style.transform=$,v.slideShadows&&i(E,C,m)}if(l.style.transformOrigin=`50% 50% -${u/2}px`,l.style["-webkit-transform-origin"]=`50% 50% -${u/2}px`,v.shadow)if(m)M.style.transform=`translate3d(0px, ${c/2+v.shadowOffset}px, ${-c/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${v.shadowScale})`;else{const x=Math.abs(b)-Math.floor(Math.abs(b)/90)*90,E=1.5-(Math.sin(x*2*Math.PI/360)/2+Math.cos(x*2*Math.PI/360)/2),S=v.shadowScale,w=v.shadowScale/E,_=v.shadowOffset;M.style.transform=`scale3d(${S}, 1, ${w}) translate3d(0px, ${d/2+_}px, ${-d/2/w}px) rotateX(-89.99deg)`}const T=(h.isSafari||h.isWebView)&&h.needPerspectiveFix?-u/2:0;l.style.transform=`translate3d(0px,0,${T}px) rotateX(${g(e.isHorizontal()?0:b)}deg) rotateY(${g(e.isHorizontal()?-b:0)}deg)`,l.style.setProperty("--swiper-cube-translate-z",`${T}px`)},setTransition:o=>{const{el:l,slides:f}=e;if(f.forEach(c=>{c.style.transitionDuration=`${o}ms`,c.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(d=>{d.style.transitionDuration=`${o}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){const c=l.querySelector(".swiper-cube-shadow");c&&(c.style.transitionDuration=`${o}ms`)}},recreateShadows:()=>{const o=e.isHorizontal();e.slides.forEach(l=>{const f=Math.max(Math.min(l.progress,1),-1);i(l,f,o)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function It(e,t,n){const i=`swiper-slide-shadow${n?`-${n}`:""}${e?` swiper-slide-shadow-${e}`:""}`,r=bt(t);let s=r.querySelector(`.${i.split(" ").join(".")}`);return s||(s=xe("div",i.split(" ")),r.append(s)),s}function Qu({swiper:e,extendParams:t,on:n}){t({flipEffect:{slideShadows:!0,limitRotation:!0}});const i=(o,l)=>{let f=e.isHorizontal()?o.querySelector(".swiper-slide-shadow-left"):o.querySelector(".swiper-slide-shadow-top"),c=e.isHorizontal()?o.querySelector(".swiper-slide-shadow-right"):o.querySelector(".swiper-slide-shadow-bottom");f||(f=It("flip",o,e.isHorizontal()?"left":"top")),c||(c=It("flip",o,e.isHorizontal()?"right":"bottom")),f&&(f.style.opacity=Math.max(-l,0)),c&&(c.style.opacity=Math.max(l,0))};Dt({effect:"flip",swiper:e,on:n,setTranslate:()=>{const{slides:o,rtlTranslate:l}=e,f=e.params.flipEffect,c=ii(e);for(let d=0;d<o.length;d+=1){const p=o[d];let u=p.progress;e.params.flipEffect.limitRotation&&(u=Math.max(Math.min(p.progress,1),-1));const h=p.swiperSlideOffset;let v=-180*u,m=0,y=e.params.cssMode?-h-e.translate:-h,b=0;e.isHorizontal()?l&&(v=-v):(b=y,y=0,m=-v,v=0),p.style.zIndex=-Math.abs(Math.round(u))+o.length,f.slideShadows&&i(p,u);const M=`translate3d(${y}px, ${b}px, 0px) rotateX(${c(m)}deg) rotateY(${c(v)}deg)`,T=mn(f,p);T.style.transform=M}},setTransition:o=>{const l=e.slides.map(f=>bt(f));l.forEach(f=>{f.style.transitionDuration=`${o}ms`,f.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(c=>{c.style.transitionDuration=`${o}ms`})}),ri({swiper:e,duration:o,transformElements:l})},recreateShadows:()=>
1{e.params.flipEffect,e.slides.forEach(o=>{let l=o.progress;e.params.flipEffect.limitRotation&&(l=Math.max(Math.min(o.progress,1),-1)),i(o,l)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function ed({swiper:e,extendParams:t,on:n}){t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),Dt({effect:"coverflow",swiper:e,on:n,setTranslate:()=>{const{width:s,height:a,slides:o,slidesSizesGrid:l}=e,f=e.params.coverflowEffect,c=e.isHorizontal(),d=e.translate,p=c?-d+s/2:-d+a/2,u=c?f.rotate:-f.rotate,h=f.depth,g=ii(e);for(let v=0,m=o.length;v<m;v+=1){const y=o[v],b=l[v],M=y.swiperSlideOffset,T=(p-M-b/2)/b,x=typeof f.modifier=="function"?f.modifier(T):T*f.modifier;let E=c?u*x:0,S=c?0:u*x,w=-h*Math.abs(x),_=f.stretch;typeof _=="string"&&_.indexOf("%")!==-1&&(_=parseFloat(f.stretch)/100*b);let C=c?0:_*x,P=c?_*x:0,O=1-(1-f.scale)*Math.abs(x);Math.abs(P)<.001&&(P=0),Math.abs(C)<.001&&(C=0),Math.abs(w)<.001&&(w=0),Math.abs(E)<.001&&(E=0),Math.abs(S)<.001&&(S=0),Math.abs(O)<.001&&(O=0);const k=`translate3d(${P}px,${C}px,${w}px)  rotateX(${g(S)}deg) rotateY(${g(E)}deg) scale(${O})`,$=mn(f,y);if($.style.transform=k,y.style.zIndex=-Math.abs(Math.round(x))+1,f.slideShadows){let L=c?y.querySelector(".swiper-slide-shadow-left"):y.querySelector(".swiper-slide-shadow-top"),I=c?y.querySelector(".swiper-slide-shadow-right"):y.querySelector(".swiper-slide-shadow-bottom");L||(L=It("coverflow",y,c?"left":"top")),I||(I=It("coverflow",y,c?"right":"bottom")),L&&(L.style.opacity=x>0?x:0),I&&(I.style.opacity=-x>0?-x:0)}}},setTransition:s=>{e.slides.map(o=>bt(o)).forEach(o=>{o.style.transitionDuration=`${s}ms`,o.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(l=>{l.style.transitionDuration=`${s}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function td({swiper:e,extendParams:t,on:n}){t({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const i=a=>typeof a=="string"?a:`${a}px`;Dt({effect:"creative",swiper:e,on:n,setTranslate:()=>{const{slides:a,wrapperEl:o,slidesSizesGrid:l}=e,f=e.params.creativeEffect,{progressMultiplier:c}=f,d=e.params.centeredSlides,p=ii(e);if(d){const u=l[0]/2-e.params.slidesOffsetBefore||0;o.style.transform=`translateX(calc(50% - ${u}px))`}for(let u=0;u<a.length;u+=1){const h=a[u],g=h.progress,v=Math.min(Math.max(h.progress,-f.limitProgress),f.limitProgress);let m=v;d||(m=Math.min(Math.max(h.originalProgress,-f.limitProgress),f.limitProgress));const y=h.swiperSlideOffset,b=[e.params.cssMode?-y-e.translate:-y,0,0],M=[0,0,0];let T=!1;e.isHorizontal()||(b[1]=b[0],b[0]=0);let x={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};v<0?(x=f.next,T=!0):v>0&&(x=f.prev,T=!0),b.forEach((O,k)=>{b[k]=`calc(${O}px + (${i(x.translate[k])} * ${Math.abs(v*c)}))`}),M.forEach((O,k)=>{let $=x.rotate[k]*Math.abs(v*c);M[k]=$}),h.style.zIndex=-Math.abs(Math.round(g))+a.length;const E=b.join(", "),S=`rotateX(${p(M[0])}deg) rotateY(${p(M[1])}deg) rotateZ(${p(M[2])}deg)`,w=m<0?`scale(${1+(1-x.scale)*m*c})`:`scale(${1-(1-x.scale)*m*c})`,_=m<0?1+(1-x.opacity)*m*c:1-(1-x.opacity)*m*c,C=`translate3d(${E}) ${S} ${w}`;if(T&&x.shadow||!T){let O=h.querySelector(".swiper-slide-shadow");if(!O&&x.shadow&&(O=It("creative",h)),O){const k=f.shadowPerProgress?v*(1/f.limitProgress):v;O.style.opacity=Math.min(Math.max(Math.abs(k),0),1)}}const P=mn(f,h);P.style.transform=C,P.style.opacity=_,x.origin&&(P.style.transformOrigin=x.origin)}},setTransition:a=>{const o=e.slides.map(l=>bt(l));o.forEach(l=>{l.style.transitionDuration=`${a}ms`,l.querySelectorAll(".swiper-slide-shadow").forEach(f=>{f.style.transitionDuration=`${a}ms`})}),ri({swiper:e,duration:a,transformElements:o,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}
1function nd({swiper:e,extendParams:t,on:n}){t({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),Dt({effect:"cards",swiper:e,on:n,setTranslate:()=>{const{slides:s,activeIndex:a,rtlTranslate:o}=e,l=e.params.cardsEffect,{startTranslate:f,isTouched:c}=e.touchEventsData,d=o?-e.translate:e.translate;for(let p=0;p<s.length;p+=1){const u=s[p],h=u.progress,g=Math.min(Math.max(h,-4),4);let v=u.swiperSlideOffset;e.params.centeredSlides&&!e.params.cssMode&&(e.wrapperEl.style.transform=`translateX(${e.minTranslate()}px)`),e.params.centeredSlides&&e.params.cssMode&&(v-=s[0].swiperSlideOffset);let m=e.params.cssMode?-v-e.translate:-v,y=0;const b=-100*Math.abs(g);let M=1,T=-l.perSlideRotate*g,x=l.perSlideOffset-Math.abs(g)*.75;const E=e.virtual&&e.params.virtual.enabled?e.virtual.from+p:p,S=(E===a||E===a-1)&&g>0&&g<1&&(c||e.params.cssMode)&&d<f,w=(E===a||E===a+1)&&g<0&&g>-1&&(c||e.params.cssMode)&&d>f;if(S||w){const O=(1-Math.abs((Math.abs(g)-.5)/.5))**.5;T+=-28*g*O,M+=-.5*O,x+=96*O,y=`${(l.rotate||e.isHorizontal()?-25:0)*O*Math.abs(g)}%`}if(g<0?m=`calc(${m}px ${o?"-":"+"} (${x*Math.abs(g)}%))`:g>0?m=`calc(${m}px ${o?"-":"+"} (-${x*Math.abs(g)}%))`:m=`${m}px`,!e.isHorizontal()){const O=y;y=m,m=O}const _=g<0?`${1+(1-M)*g}`:`${1-(1-M)*g}`,C=`
2        translate3d(${m}, ${y}, ${b}px)
3        rotateZ(${l.rotate?o?-T:T:0}deg)
4        scale(${_})
5      `;if(l.slideShadows){let O=u.querySelector(".swiper-slide-shadow");O||(O=It("cards",u)),O&&(O.style.opacity=Math.min(Math.max((Math.abs(g)-.5)/.5,0),1))}u.style.zIndex=-Math.abs(Math.round(h))+s.length;const P=mn(l,u);P.style.transform=C}},setTransition:s=>{const a=e.slides.map(o=>bt(o));a.forEach(o=>{o.style.transitionDuration=`${s}ms`,o.querySelectorAll(".swiper-slide-shadow").forEach(l=>{l.style.transitionDuration=`${s}ms`})}),ri({swiper:e,duration:s,transformElements:a})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:e.params.cardsEffect.rotate?3:2,centeredSlides:!0,virtualTranslate:!e.params.cssMode})})}const id=[wu,Iu,Lu,Ou,ku,Du,Fu,zu,Ru,Vu,$u,Nu,Bu,Hu,Gu,qu,Uu,Zu,Ju,Qu,ed,td,nd];be.use(id);function rd(e,t){e.indexOf(t)===-1&&e.push(t)}function Sr(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Ue=(e,t,n)=>n>t?t:n<e?e:n;let xr=()=>{};const Ze={},ka=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),sd=e=>typeof e=="object"&&e!==null,Da=e=>/^0[^.\s]+$/u.test(e);function Fa(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ft=e=>e,Er=(...e)=>e.reduce((t,n)=>i=>n(t(i))),Tr=(e,t,n)=>{const i=t-e;return i?(n-e)/i:1};class za{constructor(){this.subscriptions=[]}add(t){return rd(this.subscriptions,t),()=>Sr(this.subscriptions,t)}notify(t,n,i){const r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](t,n,i);else for(let s=0;s<r;s++){const a=this.subscriptions[s];a&&a(t,n,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const _e=e=>e*1e3,Pe=e=>e/1e3,Ra=(e,t)=>t?e*(1e3/t):0,ad=(e,t,n)=>{const i=t-e;return((n-e)%i+i)%i+e},Va=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,od=1e-7,ld=12;function cd(e,t,n,i,r){let s,a,o=0;do a=t+(n-t)/2,s=Va(a,i,r)-e,s>0?n=a:t=a;while(Math.abs(s)>od&&++o<ld);return a}function gn(e,t,n,i){if(e===t&&n===i)return Ft;const r=s=>cd(s,0,1,e,n);return s=>s===0||s===1?s:Va(r(s),t,i)}const $a=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Cr=e=>t=>1-e(1-t),Na=gn(.33,1.53,.69,.99),Mr=Cr(Na),Ba=$a(Mr),Ha=e=>e>=1?1:(e*=2)<1?.5*Mr(e):.5*(2-Math.pow(2,-10*(e-1))),_r=e=>1-Math.sin(Math.acos(e)),ud=Cr(_r),Ga=$a(_r),dd=gn(.42,0,1,1),fd=gn(0,0,.58,1),qa=gn(.42,0,.58,1),Wa=e=>Array.isArray(e)&&typeof e[0]!="number";function Ya(e,t){return Wa(e)?e[ad(0,e.length,t)]:e}const ja=e=>Array.isArray(e)&&typeof e[0]=="number",hd={linear:Ft,easeIn:dd,easeInOut:qa,easeOut:fd,circIn:_r,circInOut:Ga,circOut:ud,backIn:Mr,backInOut:Ba,backOut:Na,anticipate:Ha},pd=e=>typeof e=="string",Ri=e=>{if(ja(e)){xr(e.length===4);const[t,n,i,r]=e;return gn(t,n,i,r)}else if(pd(e))return hd[e];return e},xn=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function md(e,t){let n=new Set,i=new Set,r=!1,s=!1;const a=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function l(c){a.has(c)&&(f.schedule(c),e()),c(o)}const f={schedule:(c,d=!1,p=!1)=>{const h=p&&r?n:i;return d&&a.add(c),h.add(c),c},cancel:c=>{i.delete(c),a.delete(c)},process:c=>{if(o=c,r){s=!0;return}r=!0;const d=n;
vendor: 15,599 bytes, line 5
5n=i,i=d,n.forEach(l),n.clear(),r=!1,s&&(s=!1,f.process(c))}};return f}const gd=40;function Xa(e,t){let n=!1,i=!0;const r={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,a=xn.reduce((b,M)=>(b[M]=md(s),b),{}),{setup:o,read:l,resolveKeyframes:f,preUpdate:c,update:d,preRender:p,render:u,postRender:h}=a,g=()=>{const b=Ze.useManualTiming,M=b?r.timestamp:performance.now();n=!1,b||(r.delta=i?1e3/60:Math.max(Math.min(M-r.timestamp,gd),1)),r.timestamp=M,r.isProcessing=!0,o.process(r),l.process(r),f.process(r),c.process(r),d.process(r),p.process(r),u.process(r),h.process(r),r.isProcessing=!1,n&&t&&(i=!1,e(g))},v=()=>{n=!0,i=!0,r.isProcessing||e(g)};return{schedule:xn.reduce((b,M)=>{const T=a[M];return b[M]=(x,E=!1,S=!1)=>(n||v(),T.schedule(x,E,S)),b},{}),cancel:b=>{for(let M=0;M<xn.length;M++)a[xn[M]].cancel(b)},state:r,steps:a}}const{schedule:ke,cancel:Vi,state:jn}=Xa(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ft,!0);let Hn;function vd(){Hn=void 0}const Ee={now:()=>(Hn===void 0&&Ee.set(jn.isProcessing||Ze.useManualTiming?jn.timestamp:performance.now()),Hn),set:e=>{Hn=e,queueMicrotask(vd)}},Ka=e=>t=>typeof t=="string"&&t.startsWith(e),Ua=Ka("--"),yd=Ka("var(--"),Ar=e=>yd(e)?bd.test(e.split("/*")[0].trim()):!1,bd=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ms(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const zt={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},cn={...zt,transform:e=>Ue(0,1,e)},En={...zt,default:1},rn=e=>Math.round(e*1e5)/1e5,Pr=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Sd(e){return e==null}const xd=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,wr=(e,t)=>n=>!!(typeof n=="string"&&xd.test(n)&&n.startsWith(e)||t&&!Sd(n)&&Object.prototype.hasOwnProperty.call(n,t)),Za=(e,t,n)=>i=>{if(typeof i!="string")return i;const[r,s,a,o]=i.match(Pr);return{[e]:parseFloat(r),[t]:parseFloat(s),[n]:parseFloat(a),alpha:o!==void 0?parseFloat(o):1}},Ed=e=>Ue(0,255,e),Si={...zt,transform:e=>Math.round(Ed(e))},st={test:wr("rgb","red"),parse:Za("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+Si.transform(e)+", "+Si.transform(t)+", "+Si.transform(n)+", "+rn(cn.transform(i))+")"};function Td(e){let t="",n="",i="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,i+=i,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}}const $i={test:wr("#"),parse:Td,transform:st.transform},vn=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),$e=vn("deg"),At=vn("%"),H=vn("px"),Cd=vn("vh"),Md=vn("vw"),gs={...At,parse:e=>At.parse(e)/100,transform:e=>At.transform(e*100)},_t={test:wr("hsl","hue"),parse:Za("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+At.transform(rn(t))+", "+At.transform(rn(n))+", "+rn(cn.transform(i))+")"},ie={test:e=>st.test(e)||$i.test(e)||_t.test(e),parse:e=>st.test(e)?st.parse(e):_t.test(e)?_t.parse(e):$i.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?st.transform(e):_t.transform(e),getAnimatableNone:e=>{const t=ie.parse(e);return t.alpha=0,ie.transform(t)}},_d=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Ad(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Pr))==null?void 0:t.length)||0)+(((n=e.match(_d))==null?void 0:n.length)||0)>0}const Ja="number",Qa="color",Pd="var",wd="var(",vs="${}",Id=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Lt(e){const t=e.toString(),n=[],i={color:[],number:[],var:[]},r=[];let s=0;const o=t.replace(Id,l=>(ie.test(l)?(i.color.push(s),r.push(Qa),n.push(ie.parse(l))):l.startsWith(wd)?(i.var.push(s),r.push(Pd),n.push(l)):(i.number.push(s),r.push(Ja),n.push(parseFloat(l))),++s,vs)).split(vs);return{values:n,split:o,indexes:i,types:r}}function Ld(e){return Lt(e).values}function eo({split:e,types:t}){const n=e.length;return i=>{let r="";for(let s=0;s<n;s++)if(r+=e[s],i[s]!==void 0){const a=t[s];a===Ja?r+=rn(i[s]):a===Qa?r+=ie.transform(i[s]):r+=i[s]}return r}}function Od(e){return eo(Lt(e))}const kd=e=>typeof e=="number"?0:ie.test(e)?ie.getAnimatableNone(e):e,Dd=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:kd(e);function Fd(e){const t=Lt(e);return eo(t)(t.values.map((i,r)=>Dd(i,t.split[r])))}const we={test:Ad,parse:Ld,createTransformer:Od,getAnimatableNone:Fd};function xi(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function zd({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,t/=100,n/=100;let r=0,s=0,a=0;if(!t)r=s=a=n;else{const o=n<.5?n*(1+t):n+t-n*t,l=2*n-o;r=xi(l,o,e+1/3),s=xi(l,o,e),a=xi(l,o,e-1/3)}return{red:Math.round(r*255),green:Math.round(s*255),blue:Math.round(a*255),alpha:i}}function Xn(e,t){return n=>n>0?t:e}const Rt=(e,t,n)=>e+(t-e)*n,Ei=(e,t,n)=>{const i=e*e,r=n*(t*t-i)+i;return r<0?0:Math.sqrt(r)},Rd=[$i,st,_t],Vd=e=>Rd.find(t=>t.test(e));function ys(e){const t=Vd(e);if(!t)return!1;let n=t.parse(e);return t===_t&&(n=zd(n)),n}const bs=(e,t)=>{const n=ys(e),i=ys(t);if(!n||!i)return Xn(e,t);const r={...n};return s=>(r.red=Ei(n.red,i.red,s),r.green=Ei(n.green,i.green,s),r.blue=Ei(n.blue,i.blue,s),r.alpha=Rt(n.alpha,i.alpha,s),st.transform(r))},Ni=new Set(["none","hidden"]);function $d(e,t){return Ni.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Nd(e,t){return n=>Rt(e,t,n)}function Ir(e){return typeof e=="number"?Nd:typeof e=="string"?Ar(e)?Xn:ie.test(e)?bs:Gd:Array.isArray(e)?to:typeof e=="object"?ie.test(e)?bs:Bd:Xn}function to(e,t){const n=[...e],i=n.length,r=e.map((s,a)=>Ir(s)(s,t[a]));return s=>{for(let a=0;a<i;a++)n[a]=r[a](s);return n}}function Bd(e,t){const n={...e,...t},i={};for(const r in n)e[r]!==void 0&&t[r]!==void 0&&(i[r]=Ir(e[r])(e[r],t[r]));return r=>{for(const s in i)n[s]=i[s](r);return n}}function Hd(e,t){const n=[],i={color:0,var:0,number:0};for(let r=0;r<t.values.length;r++){const s=t.types[r],a=e.indexes[s][i[s]],o=e.values[a]??0;n[r]=o,i[s]++}return n}const Gd=(e,t)=>{const n=we.createTransformer(t),i=Lt(e),r=Lt(t);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?Ni.has(e)&&!r.values.length||Ni.has(t)&&!i.values.length?$d(e,t):Er(to(Hd(i,r),r.values),n):Xn(e,t)};function no(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Rt(e,t,n):Ir(e)(e,t)}const qd=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ke.update(t,n),stop:()=>Vi(t),now:()=>jn.isProcessing?jn.timestamp:Ee.now()}},io=(e,t,n=10)=>{let i="";const r=Math.max(Math.round(t/n),2);for(let s=0;s<r;s++)i+=Math.round(e(s/(r-1))*1e4)/1e4+", ";return`linear(${i.substring(0,i.length-2)})`},Kn=2e4;function Lr(e){let t=0;const n=50;let i=e.next(t);for(;!i.done&&t<Kn;)t+=n,i=e.next(t);return t>=Kn?1/0:t}function ro(e,t=100,n){const i=n({...e,keyframes:[0,t]}),r=Math.min(Lr(i),Kn);return{type:"keyframes",ease:s=>i.next(r*s).value/t,duration:Pe(r)}}const ee={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Bi(e,t){return e*Math.sqrt(1-t*t)}const Wd=12;function Yd(e,t,n){let i=n;for(let r=1;r<Wd;r++)i=i-e(i)/t(i);return i}const Ti=.001;function jd({duration:e=ee.duration,bounce:t=ee.bounce,velocity:n=ee.velocity,mass:i=ee.mass}){let r,s,a=1-t;a=Ue(ee.minDamping,ee.maxDamping,a),e=Ue(ee.minDuration,ee.maxDuration,Pe(e)),a<1?(r=f=>{const c=f*a,d=c*e,p=c-n,u=Bi(f,a),h=Math.exp(-d);return Ti-p/u*h},s=f=>{const d=f*a*e,p=d*n+n,u=Math.pow(a,2)*Math.pow(f,2)*e,h=Math.exp(-d),g=Bi(Math.pow(f,2),a);return(-r(f)+Ti>0?-1:1)*((p-u)*h)/g}):(r=f=>{const c=Math.exp(-f*e),d=(f-n)*e+1;return-Ti+c*d},s=f=>{const c=Math.exp(-f*e),d=(n-f)*(e*e);return c*d});const o=5/e,l=Yd(r,s,o);if(e=_e(e),isNaN(l))return{stiffness:ee.stiffness,damping:ee.damping,duration:e};{const f=Math.pow(l,2)*i;return{stiffness:f,damping:a*2*Math.sqrt(i*f),duration:e}}}const Xd=["duration","bounce"],Kd=["stiffness","damping","mass"];function Ss(e,t){return t.some(n=>e[n]!==void 0)}function Ud(e){let t={velocity:ee.velocity,stiffness:ee.stiffness,damping:ee.damping,mass:ee.mass,isResolvedFromDuration:!1,...e};if(!Ss(e,Kd)&&Ss(e,Xd))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,i=2*Math.PI/(n*1.2),r=i*i,s=2*Ue(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:ee.mass,stiffness:r,damping:s}}else{const n=jd({...e,velocity:0});t={...t,...n,mass:ee.mass},t.isResolvedFromDuration=!0}return t}function un(e=ee.visualDuration,t=ee.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:i,restDelta:r}=n;const s=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],o={done:!1,value:s},{stiffness:l,damping:f,mass:c,duration:d,velocity:p,isResolvedFromDuration:u}=Ud({...n,velocity:-Pe(n.velocity||0)}),h=p||0,g=f/(2*Math.sqrt(l*c)),v=a-s,m=Pe(Math.sqrt(l/c)),y=Math.abs(v)<5;i||(i=y?ee.restSpeed.granular:ee.restSpeed.default),r||(r=y?ee.restDelta.granular:ee.restDelta.default);let b,M,T,x,E,S;if(g<1)T=Bi(m,g),x=(h+g*m*v)/T,b=_=>{const C=Math.exp(-g*m*_);return a-C*(x*Math.sin(T*_)+v*Math.cos(T*_))},E=g*m*x+v*T,S=g*m*v-x*T,M=_=>Math.exp(-g*m*_)*(E*Math.sin(T*_)+S*Math.cos(T*_));else if(g===1){b=C=>a-Math.exp(-m*C)*(v+(h+m*v)*C);const _=h+m*v;M=C=>Math.exp(-m*C)*(m*_*C-h)}else{const _=m*Math.sqrt(g*g-1);b=k=>{const $=Math.exp(-g*m*k),L=Math.min(_*k,300);return a-$*((h+g*m*v)*Math.sinh(L)+_*v*Math.cosh(L))/_};const C=(h+g*m*v)/_,P=g*m*C-v*_,O=g*m*v-C*_;M=k=>{const $=Math.exp(-g*m*k),L=Math.min(_*k,300);return $*(P*Math.sinh(L)+O*Math.cosh(L))}}const w={calculatedDuration:u&&d||null,velocity:_=>_e(M(_)),next:_=>{if(!u&&g<1){const P=Math.exp(-g*m*_),O=Math.sin(T*_),k=Math.cos(T*_),$=a-P*(x*O+v*k),L=_e(P*(E*O+S*k));return o.done=Math.abs(L)<=i&&Math.abs(a-$)<=r,o.value=o.done?a:$,o}const C=b(_);if(u)o.done=_>=d;else{const P=_e(M(_));o.done=Math.abs(P)<=i&&Math.abs(a-C)<=r}return o.value=o.done?a:C,o},toString:()=>{const _=Math.min(Lr(w),Kn),C=io(P=>w.next(_*P).value,_,30);return _+"ms "+C},toTransition:()=>{}};return w}un.applyToOptions=e=>{const t=ro(e,100,un);return e.ease=t.ease,e.duration=_e(t.duration),e.type="keyframes",e};const Zd=5;function so(e,t,n){const i=Math.max(t-Zd,0);return Ra(n-e(i),t-i)}function Hi({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:l,restDelta:f=.5,restSpeed:c}){const d=e[0],p={done:!1,value:d},u=S=>o!==void 0&&S<o||l!==void 0&&S>l,h=S=>o===void 0?l:l===void 0||Math.abs(o-S)<Math.abs(l-S)?o:l;let g=n*t;const v=d+g,m=a===void 0?v:a(v);m!==v&&(g=m-d);const y=S=>-g*Math.exp(-S/i),b=S=>m+y(S),M=S=>{const w=y(S),_=b(S);p.done=Math.abs(w)<=f,p.value=p.done?m:_};let T,x;const E=S=>{u(p.value)&&(T=S,x=un({keyframes:[p.value,h(p.value)],velocity:so(b,S,p.value),damping:r,stiffness:s,restDelta:f,restSpeed:c}))};return E(0),{calculatedDuration:null,next:S=>{let w=!1;return!x&&T===void 0&&(w=!0,M(S),E(S)),T!==void 0&&S>=T?x.next(S-T):(!w&&M(S),p)}}}function Jd(e,t,n){const i=[],r=n||Ze.mix||no,s=e.length-1;for(let a=0;a<s;a++){let o=r(e[a],e[a+1]);if(t){const l=Array.isArray(t)?t[a]||Ft:t;o=Er(l,o)}i.push(o)}return i}function Qd(e,t,{clamp:n=!0,ease:i,mixer:r}={}){const s=e.length;if(xr(s===t.length),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const o=Jd(t,i,r),l=o.length,f=c=>{if(a&&c<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(c<e[d+1]);d++);const p=Tr(e[d],e[d+1],c);return o[d](p)};return n?c=>f(Ue(e[0],e[s-1],c)):f}function ao(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const r=Tr(0,t,i);e.push(Rt(n,1,r))}}function oo(e){const t=[0];return ao(t,e.length-1),t}function ef(e,t){return e.map(n=>n*t)}function tf(e,t){return e.map(()=>t||qa).splice(0,e.length-1)}function sn({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const r=Wa(i)?i.map(Ri):Ri(i),s={done:!1,value:t[0]},a=ef(n&&n.length===t.length?n:oo(t),e),o=Qd(a,t,{ease:Array.isArray(r)?r:tf(t,r)});return{calculatedDuration:e,next:l=>(s.value=o(l),s.done=l>=e,s)}}const nf=e=>e!==null;function si(e,{repeat:t,repeatType:n="loop"},i,r=1){const s=e.filter(nf),o=r<0||t&&n!=="loop"&&t%2===1?0:s.length-1;return!o||i===void 0?s[o]:i}const rf={decay:Hi,inertia:Hi,tween:sn,keyframes:sn,spring:un};function lo(e){typeof e.type=="string"&&(e.type=rf[e.type])}class Or{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const sf=e=>e/100;class Un extends Or{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var i,r;const{motionValue:n}=this.options;n&&n.updatedAt!==Ee.now()&&this.tick(Ee.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(r=(i=this.options).onStop)==null||r.call(i))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;lo(t);const{type:n=sn,repeat:i=0,repeatDelay:r=0,repeatType:s,velocity:a=0}=t;let{keyframes:o}=t;const l=n||sn;l!==sn&&typeof o[0]!="number"&&(this.mixKeyframes=Er(sf,no(o[0],o[1])),o=[0,100]);const f=l({...t,keyframes:o});s==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...o].reverse(),velocity:-a})),f.calculatedDuration===null&&(f.calculatedDuration=Lr(f));const{calculatedDuration:c}=f;this.calculatedDuration=c,this.resolvedDuration=c+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=f}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:i,totalDuration:r,mixKeyframes:s,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:l}=this;if(this.startTime===null)return i.next(0);const{delay:f=0,keyframes:c,repeat:d,repeatType:p,repeatDelay:u,type:h,onUpdate:g,finalKeyframe:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const m=this.currentTime-f*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?m<0:m>r;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=r);let b=this.currentTime,M=i;if(d){const S=Math.min(this.currentTime,r)/o;let w=Math.floor(S),_=S%1;!_&&S>=1&&(_=1),_===1&&w--,w=Math.min(w,d+1),!!(w%2)&&(p==="reverse"?(_=1-_,u&&(_-=u/o)):p==="mirror"&&(M=a)),b=Ue(0,1,_)*o}let T;y?(this.delayState.value=c[0],T=this.delayState):T=M.next(b),s&&!y&&(T.value=s(T.value));let{done:x}=T;!y&&l!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);const E=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&x);return E&&h!==Hi&&(T.value=si(c,this.options,v,this.speed)),g&&g(T.value),E&&this.finish(),T}
5then(t,n){return this.finished.then(t,n)}get duration(){return Pe(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Pe(t)}get time(){return Pe(this.currentTime)}set time(t){t=_e(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return so(i=>this.generator.next(i).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(Ee.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=Pe(this.currentTime))}play(){var r,s;if(this.isStopped)return;const{driver:t=qd,startTime:n}=this.options;this.driver||(this.driver=t(a=>this.tick(a))),(s=(r=this.options).onPlay)==null||s.call(r);const i=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=i):this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime||(this.startTime=n??i),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ee.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function af(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const at=e=>e*180/Math.PI,Gi=e=>{const t=at(Math.atan2(e[1],e[0]));return qi(t)},of={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Gi,rotateZ:Gi,skewX:e=>at(Math.atan(e[1])),skewY:e=>at(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},qi=e=>(e=e%360,e<0&&(e+=360),e),xs=Gi,Es=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Ts=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),lf={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Es,scaleY:Ts,scale:e=>(Es(e)+Ts(e))/2,rotateX:e=>qi(at(Math.atan2(e[6],e[5]))),rotateY:e=>qi(at(Math.atan2(-e[2],e[0]))),rotateZ:xs,rotate:xs,skewX:e=>at(Math.atan(e[4])),skewY:e=>at(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Wi(e){return e.includes("scale")?1:0}function Yi(e,t){if(!e||e==="none")return Wi(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let i,r;if(n)i=lf,r=n;else{const o=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=of,r=o}if(!r)return Wi(t);const s=i[t],a=r[1].split(",").map(uf);return typeof s=="function"?s(a):a[s]}const cf=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Yi(n,t)};function uf(e){return parseFloat(e.trim())}const Vt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],$t=new Set([...Vt,"pathRotation"]),Cs=e=>e===zt||e===H,df=new Set(["x","y","z"]),ff=Vt.filter(e=>!df.has(e));function hf(e){const t=[];return ff.forEach(n=>{const i=e.getValue(n);i!==void 0&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),t}const Ke={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:i})=>{const r=e.max-e.min;return i==="border-box"?r:r-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:i})=>{const r=e.max-e.min;return i==="border-box"?r:r-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Yi(t,"x"),y:(e,{transform:t})=>Yi(t,"y")};Ke.translateX=Ke.x;Ke.translateY=Ke.y;const ct=new Set;let ji=!1,Xi=!1,Ki=!1;function co(){if(Xi){const e=Array.from(ct).filter(i=>i.needsMeasurement),t=new Set(e.map(i=>i.element)),n=new Map;t.forEach(i=>
5{const r=hf(i);r.length&&(n.set(i,r),i.render())}),e.forEach(i=>i.measureInitialState()),t.forEach(i=>{i.render();const r=n.get(i);r&&r.forEach(([s,a])=>{var o;(o=i.getValue(s))==null||o.set(a)})}),e.forEach(i=>i.measureEndState()),e.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}Xi=!1,ji=!1,ct.forEach(e=>e.complete(Ki)),ct.clear()}function uo(){ct.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Xi=!0)})}function pf(){Ki=!0,uo(),co(),Ki=!1}class kr{constructor(t,n,i,r,s,a=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=i,this.motionValue=r,this.element=s,this.isAsync=a}scheduleResolve(){this.state="scheduled",this.isAsync?(ct.add(this),ji||(ji=!0,ke.read(uo),ke.resolveKeyframes(co))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:i,motionValue:r}=this;if(t[0]===null){const s=r==null?void 0:r.get(),a=t[t.length-1];if(s!==void 0)t[0]=s;else if(i&&n){const o=i.readValue(n,a);o!=null&&(t[0]=o)}t[0]===void 0&&(t[0]=a),r&&s===void 0&&r.set(t[0])}af(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),ct.delete(this)}cancel(){this.state==="scheduled"&&(ct.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const mf=e=>e.startsWith("--");function fo(e,t,n){mf(t)?e.style.setProperty(t,n):e.style[t]=n}const gf={};function ho(e,t){const n=Fa(e);return()=>gf[t]??n()}const vf=ho(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),po=ho(()=>{try{document.createElement("div").animate({opacity:0}
5,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),en=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,Ms={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:en([0,.65,.55,1]),circOut:en([.55,0,1,.45]),backIn:en([.31,.01,.66,-.59]),backOut:en([.33,1.53,.69,.99])};function mo(e,t){if(e)return typeof e=="function"?po()?io(e,t):"ease-out":ja(e)?en(e):Array.isArray(e)?e.map(n=>mo(n,t)||Ms.easeOut):Ms[e]}function yf(e,t,n,{delay:i=0,duration:r=300,repeat:s=0,repeatType:a="loop",ease:o="easeOut",times:l}={},f=void 0){const c={[t]:n};l&&(c.offset=l);const d=mo(o,r);Array.isArray(d)&&(c.easing=d);const p={delay:i,duration:r,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:a==="reverse"?"alternate":"normal"};return f&&(p.pseudoElement=f),e.animate(c,p)}function Dr(e){return typeof e=="function"&&"applyToOptions"in e}function bf({type:e,...t}){return Dr(e)&&po()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class go extends Or{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:i,keyframes:r,pseudoElement:s,allowFlatten:a=!1,finalKeyframe:o,onComplete:l}=t;this.isPseudoElement=!!s,this.allowFlatten=a,this.options=t,xr(typeof t.type!="string");const f=bf(t);this.animation=yf(n,i,r,f,s),f.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const c=si(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(c),fo(n,i,c),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,i,r;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((r=(i=this.animation).commitStyles)==null||r.call(i))}get duration(){var n,i;const t=((i=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:i.call(n).duration)||0;return Pe(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Pe(t)}get time(){return Pe(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=_e(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:i,observe:r}){var s;return this.allowFlatten&&((s=this.animation.effect)==null||s.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&vf()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),i&&(this.animation.rangeEnd=i),Ft):r(this)}}const vo={anticipate:Ha,backInOut:Ba,circInOut:Ga};function Sf(e){return e in vo}function xf(e){typeof e.ease=="string"&&Sf(e.ease)&&(e.ease=vo[e.ease])}const Ci=10;class Ef extends go{constructor(t){xf(t),lo(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:i,onComplete:r,element:s,...a}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const o=new Un({...a,autoplay:!1}),l=Math.max(Ci,Ee.now()-this.startTime),f=Ue(0,Ci,l-Ci),c=o.sample(l).value,{name:d}=this.options;s&&d&&fo(s,d,c),n.setWithVelocity(o.sample(Math.max(0,l-f)).value,c,f),o.stop()}}const _s=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(we.test(e)||e==="0")&&!e.startsWith("url("));function Tf(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Cf(e,t,n,i){const r=e[0];if(r===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],a=_s(r,t),o=_s(s,t);return!a||!o?!1:Tf(e)||(n==="spring"||Dr(n))&&i}function Ui(e){e.duration=0,e.type="keyframes"}const yo=new Set(["opacity","clipPath","filter","transform"]),Mf=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function _f(e){for(let t=0;t<e.length;
5t++)if(typeof e[t]=="string"&&Mf.test(e[t]))return!0;return!1}const Af=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),Pf=Fa(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function wf(e){var d;const{motionValue:t,name:n,repeatDelay:i,repeatType:r,damping:s,type:a,keyframes:o}=e;if(!(((d=t==null?void 0:t.owner)==null?void 0:d.current)instanceof HTMLElement))return!1;const{onUpdate:f,transformTemplate:c}=t.owner.getProps();return Pf()&&n&&(yo.has(n)||Af.has(n)&&_f(o))&&(n!=="transform"||!c)&&!f&&!i&&r!=="mirror"&&s!==0&&a!=="inertia"}const If=40;class Lf extends Or{constructor({autoplay:t=!0,delay:n=0,type:i="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:a="loop",keyframes:o,name:l,motionValue:f,element:c,...d}){var h;super(),this.stop=()=>{var g,v;this._animation&&(this._animation.stop(),(g=this.stopTimeline)==null||g.call(this)),(v=this.keyframeResolver)==null||v.cancel()},this.createdAt=Ee.now();const p={autoplay:t,delay:n,type:i,repeat:r,repeatDelay:s,repeatType:a,name:l,motionValue:f,element:c,...d},u=(c==null?void 0:c.KeyframeResolver)||kr;this.keyframeResolver=new u(o,(g,v,m)=>this.onKeyframesResolved(g,v,p,!m),l,f,c),(h=this.keyframeResolver)==null||h.scheduleResolve()}onKeyframesResolved(t,n,i,r){var m,y;this.keyframeResolver=void 0;const{name:s,type:a,velocity:o,delay:l,isHandoff:f,onUpdate:c}=i;this.resolvedAt=Ee.now();let d=!0;Cf(t,s,a,o)||(d=!1,(Ze.instantAnimations||!l)&&(c==null||c(si(t,i,n))),t[0]=t[t.length-1],Ui(i),i.repeat=0);const u={startTime:r?this.resolvedAt?this.resolvedAt-this.createdAt>If?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...i,keyframes:t},h=d&&!f&&wf(u),g=(y=(m=u.motionValue)==null?void 0:m.owner)==null?void 0:y.current;let v;if(h)try{v=new Ef({...u,element:g})}catch{v=new Un(u)}else v=new Un(u);v.finished.then(()=>{this.notifyFinished()}).catch(Ft),this.pendingTimeline&&(this.stopTimeline=v.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=v}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),pf()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}class Of{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=n}attachTimeline(t){const n=this.animations.map(i=>i.attachTimeline(t));return()=>{n.forEach((i,r)=>{i&&i(),this.animations[r].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return As(this.animations,"duration")}get iterationDuration(){return As(this.animations,"iterationDuration")}runAll(t){this.animations.forEach(n=>n[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function As(e,t){let n=0;for(let i=0;i<e.length;i++){const r=e[i][t];r!==null&&r>n&&(n=r)}return n}class kf extends Of{then(t,n){return this.finished.finally(t).then(()=>{})}}const Ps=30,Df=e=>!isNaN(parseFloat(e));class Ff{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=i=>{var s;const r=Ee.now();if(this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&((s=this.events.change)==null||s.notify(this.current),this.dependents))for(const a of this.dependents)a.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Ee.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Df(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new za);const i=this.events[t].add(n);return t==="change"?()=>{i(),ke.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,i){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Ee.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Ps)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Ps);return Ra(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ot(e,t){return new Ff(e,t)}function bo(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...i}=e;return{...t,...i}}return e}function So(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?bo(n,e):n}const zf={type:"spring",stiffness:500,damping:25,restSpeed:10},Rf=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Vf={type:"keyframes",duration:.8},$f={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Nf=(e,{keyframes:t})=>t.length>2?Vf:$t.has(e)?e.startsWith("scale")?Rf(t[1]):zf:$f,Bf=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function Hf(e){for(const t in e)if(!Bf.has(t))return!0;return!1}const xo=(e,t,n,i={},r,s)=>a=>{const o=So(i,e)||{},l=o.delay||i.delay||0;let{elapsed:f=0}=i;
5f=f-_e(l);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...o,delay:-f,onUpdate:p=>{t.set(p),o.onUpdate&&o.onUpdate(p)},onComplete:()=>{a(),o.onComplete&&o.onComplete()},name:e,motionValue:t,element:s?void 0:r};Hf(o)||Object.assign(c,Nf(e,c)),c.duration&&(c.duration=_e(c.duration)),c.repeatDelay&&(c.repeatDelay=_e(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(Ui(c),c.delay===0&&(d=!0)),(Ze.instantAnimations||Ze.skipAnimations||r!=null&&r.shouldSkipAnimations||o.skipAnimations)&&(d=!0,Ui(c),c.delay=0),c.allowFlatten=!o.type&&!o.ease,d&&!s&&t.get()!==void 0){const p=si(c.keyframes,o);if(p!==void 0){ke.update(()=>{c.onUpdate(p),c.onComplete()});return}}return o.isSync?new Un(c):new Lf(c)},Gf=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function qf(e){const t=Gf.exec(e);if(!t)return[,];const[,n,i,r]=t;return[`--${n??i}`,r]}function Eo(e,t,n=1){const[i,r]=qf(e);if(!i)return;const s=window.getComputedStyle(t).getPropertyValue(i);if(s){const a=s.trim();return ka(a)?parseFloat(a):a}return Ar(r)?Eo(r,t,n+1):r}function ws(e){const t=[{},{}];return e==null||e.values.forEach((n,i)=>{t[0][i]=n.get(),t[1][i]=n.getVelocity()}),t}function To(e,t,n,i){if(typeof t=="function"){const[r,s]=ws(i);t=t(n!==void 0?n:e.custom,r,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[r,s]=ws(i);t=t(n!==void 0?n:e.custom,r,s)}return t}function Wf(e,t,n){const i=e.getProps();return To(i,t,i.custom,e)}const Co=new Set(["width","height","top","left","right","bottom",...Vt]),Yf=e=>Array.isArray(e);function jf(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ot(n))}function Xf(e){return Yf(e)?e[e.length-1]||0:e}function Kf(e,t){const n=Wf(e,t);let{transitionEnd:i={},transition:r={},...s}=n||{};s={...s,...i};for(const a in s){const o=Xf(s[a]);jf(e,a,o)}}const pe=e=>!!(e&&e.getVelocity);function Uf(e){return!!(pe(e)&&e.add)}function Zf(e,t){const n=e.getValue("willChange");if(Uf(n))return n.add(t);if(!n&&Ze.WillChange){const i=new Ze.WillChange("auto");e.addValue("willChange",i),i.add(t)}}function Fr(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const Jf="framerAppearId",Qf="data-"+Fr(Jf);function eh(e){return e.props[Qf]}function th({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,i}function nh(e,t,{delay:n=0,transitionOverride:i,type:r}={}){let{transition:s,transitionEnd:a,...o}=t;const l=e.getDefaultTransition();s=s?bo(s,l):l;const f=s==null?void 0:s.reduceMotion,c=s==null?void 0:s.skipAnimations;i&&(s=i);const d=[],p=r&&e.animationState&&e.animationState.getState()[r],u=s==null?void 0:s.path;u&&u.animateVisualElement(e,o,s,n,d);for(const h in o){const g=e.getValue(h,e.latestValues[h]??null),v=o[h];if(v===void 0||p&&th(p,h))continue;const m={delay:n,...So(s||{},h)};c&&(m.skipAnimations=!0);const y=g.get();if(y!==void 0&&!g.isAnimating()&&!Array.isArray(v)&&v===y&&!m.velocity){ke.update(()=>g.set(v));continue}let b=!1;if(window.MotionHandoffAnimation){const x=eh(e);if(x){const E=window.MotionHandoffAnimation(x,h,ke);E!==null&&(m.startTime=E,b=!0)}}Zf(e,h);const M=f??e.shouldReduceMotion;g.start(xo(h,g,v,M&&Co.has(h)?{type:!1}:m,e,b));const T=g.animation;T&&d.push(T)}if(a){const h=()=>ke.update(()=>{a&&Kf(e,a)});d.length?Promise.all(d).then(h):h()}return d}const ih={test:e=>e==="auto",parse:e=>e},Mo=e=>t=>t.test(e),_o=[zt,H,At,$e,Md,Cd,ih],Is=e=>_o.find(Mo(e));function rh(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Da(e):!0}const sh=new Set(["brightness","contrast","saturate","opacity"]);function ah(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[i]=n.match(Pr)||[];if(!i)return e;const r=n.replace(i,"");let s=sh.has(t)?1:0;return i!==n&&(s*=100),t+"("+s+r+")"}const oh=/\b([a-z-]*)\(.*?\)/gu,Zi={...we,getAnimatableNone:e=>{const t=e.match(oh);return t?t.map(ah).join(" "):e}},Ji={...we,getAnimatableNone:e=>{const t=we.parse(e);return we.createTransformer(e)(t.map(i=>typeof i=="number"?0:typeof i=="object"?{...i,alpha:1}:i))}},Ls={...zt,transform:Math.round},lh={rotate:$e,pathRotation:$e,rotateX:$e,rotateY:$e,rotateZ:$e,scale:En,scaleX:En,scaleY:En,scaleZ:En,skew:$e,skewX:$e,skewY:$e,distance:H,translateX:H,translateY:H,translateZ:H,x:H,y:H,z:H,perspective:H,transformPerspective:H,opacity:cn,originX:gs,originY:gs,originZ:H},Zn={borderWidth:H,borderTopWidth:H,borderRightWidth:H,borderBottomWidth:H,borderLeftWidth:H,borderRadius:H,borderTopLeftRadius:H,borderTopRightRadius:H,borderBottomRightRadius:H,borderBottomLeftRadius:H,width:H,maxWidth:H,height:H,maxHeight:H,top:H,right:H,bottom:H,left:H,inset:H,insetBlock:H,insetBlockStart:H,insetBlockEnd:H,insetInline:H,insetInlineStart:H,insetInlineEnd:H,padding:H,paddingTop:H,paddingRight:H,paddingBottom:H,paddingLeft:H,paddingBlock:H,paddingBlockStart:H,paddingBlockEnd:H,paddingInline:H,paddingInlineStart:H,paddingInlineEnd:H,margin:H,marginTop:H,marginRight:H,marginBottom:H,marginLeft:H,marginBlock:H,marginBlockStart:H,marginBlockEnd:H,marginInline:H,marginInlineStart:H,marginInlineEnd:H,fontSize:H,backgroundPositionX:H,backgroundPositionY:H,...lh,zIndex:Ls,fillOpacity:cn,strokeOpacity:cn,numOctaves:Ls},ch={...Zn,color:ie,backgroundColor:ie,outlineColor:ie,fill:ie,stroke:ie,borderColor:ie,borderTopColor:ie,borderRightColor:ie,borderBottomColor:ie,borderLeftColor:ie,filter:Zi,WebkitFilter:Zi,mask:Ji,WebkitMask:Ji},Ao=e=>ch[e],uh=new Set([Zi,Ji]);function Po(e,t){let n=Ao(e);return uh.has(n)||(n=we),n.getAnimatableNone?n.getAnimatableNone(t):void 0}
vendor: 1,717 bytes, line 5
5const dh=new Set(["auto","none","0"]);function fh(e,t,n){let i=0,r;for(;i<e.length&&!r;){const s=e[i];typeof s=="string"&&!dh.has(s)&&Lt(s).values.length&&(r=e[i]),i++}if(r&&n)for(const s of t)e[s]=Po(n,r)}class hh extends kr{constructor(t,n,i,r,s){super(t,n,i,r,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:i}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let d=t[c];if(typeof d=="string"&&(d=d.trim(),Ar(d))){const p=Eo(d,n.current);p!==void 0&&(t[c]=p),c===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!Co.has(i)||t.length!==2)return;const[r,s]=t,a=Is(r),o=Is(s),l=ms(r),f=ms(s);if(l!==f&&Ke[i]){this.needsMeasurement=!0;return}if(a!==o)if(Cs(a)&&Cs(o))for(let c=0;c<t.length;c++){const d=t[c];typeof d=="string"&&(t[c]=parseFloat(d))}else Ke[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,i=[];for(let r=0;r<t.length;r++)(t[r]===null||rh(t[r]))&&i.push(r);i.length&&fh(t,i,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:i}=this;if(!t||!t.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ke[i](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const r=n[n.length-1];r!==void 0&&t.getValue(i,r).jump(r,!1)}measureEndState(){var o;const{element:t,name:n,unresolvedKeyframes:i}=this;if(!t||!t.current)return;const r=t.getValue(n);r&&r.jump(this.measuredOrigin,!1);const s=i.length-1,a=i[s];i[s]=Ke[n](t.measureViewportBox(),window.getComputedStyle(t.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),(o=this.removedTransforms)!=null&&o.length&&this.removedTransforms.forEac
5h(([l,f])=>{t.getValue(l).set(f)}),this.resolveNoneKeyframes()}}function wo(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let i=document;t&&(i=t.current);const r=(n==null?void 0:n[e])??i.querySelectorAll(e);return r?Array.from(r):[]}return Array.from(e).filter(i=>i!=null)}const Qi=(e,t)=>t&&typeof e=="number"?t.transform(e):e,{schedule:ph}=Xa(queueMicrotask,!1);function Io(e){return sd(e)&&"ownerSVGElement"in e}function mh(e){return Io(e)&&e.tagName==="svg"}function gh(e,t){if(e==="first")return 0;{const n=t-1;return e==="last"?n:n/2}}function vh(e=.1,{startDelay:t=0,from:n=0,ease:i}={}){return(r,s)=>{const a=typeof n=="number"?n:gh(n,s),o=Math.abs(a-r);let l=e*o;if(i){const f=s*e;l=Ri(i)(l/f)*f}return t+l}}const yh=[..._o,ie,we],bh=e=>yh.find(Mo(e)),Os=()=>({min:0,max:0}),zr=()=>({x:Os(),y:Os()}),dn=new WeakMap;function Sh(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function xh(e){return typeof e=="string"||Array.isArray(e)}const Eh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Th=["initial",...Eh];function Lo(e){return Sh(e.animate)||Th.some(t=>xh(e[t]))}function Ch(e){return!!(Lo(e)||e.variants)}function Mh(e,t,n){for(const i in t){const r=t[i],s=n[i];if(pe(r))e.addValue(i,r);else if(pe(s))e.addValue(i,Ot(r,{owner:e}));else if(s!==r)if(e.hasValue(i)){const a=e.getValue(i);a.liveStyle===!0?a.jump(r):a.hasAnimated||a.set(r)}else{const a=e.getStaticValue(i);e.addValue(i,Ot(a!==void 0?a:r,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const er={current:null},Oo={current:!1},_h=typeof window<"u";function Ah(){if(Oo.current=!0,!!_h)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>er.current=e.matches;e.addEventListener("change",t),t()}else er.current=!1}const ks=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Ds={};class ko{scrapeMotionValuesFromProps(t,n,i){return{}}constructor({parent:t,props:n,presenceContext:i,reducedMotionConfig:r,skipAnimations:s,blockInitialAnimation:a,visualState:o},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=kr,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const u=Ee.now();this.renderScheduledAt<u&&(this.renderScheduledAt=u,ke.render(this.render,!1,!0))};const{latestValues:f,renderState:c}=o;this.latestValues=f,this.baseTarget={...f},this.initialValues=n.initial?{...f}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=s,this.options=l,this.blockInitialAnimation=!!a,this.isControllingVariants=Lo(n),this.isVariantNode=Ch(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...p}=this.scrapeMotionValuesFromProps(n,{},this);for(const u in p){const h=p[u];f[u]!==void 0&&pe(h)&&h.set(f[u])}}mount(t){var n,i;if(this.hasBeenMounted)for(const r in this.initialValues)(n=this.values.get(r))==null||n.jump(this.initialValues[r]),this.latestValues[r]=this.initialValues[r];this.current=t,dn.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,s)=>this.bindToMotionValue(s,r)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Oo.current||Ah(),this.shouldReduceMotion=er.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(i=this.parent)==null||i.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),Vi(this.notifyUpdate),Vi(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const i=this.features[n];i&&(i.unmount(),i.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&yo.has(t)&&this.current instanceof HTMLElement){const{factory:a,keyframes:o,times:l,ease:f,duration:c}=n.accelerate,d=new go({element:this.current,name:t,keyframes:o,times:l,ease:f,duration:_e(c)}),p=a(d);this.valueSubscriptions.set(t,()=>{p(),d.cancel()});return}const i=$t.has(t);i&&this.onBindTransform&&this.onBindTransform();const r=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&ke.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;typeof window<"u"&&window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{r(),s&&s()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Ds){const n=Ds[t];if(!n)continue;const{isEnabled:i,Feature:r}=n;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):zr()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let i=0;i<ks.length;i++){const r=ks[i];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);const s="on"+r,a=t[s];a&&(this.propEventSubscriptions[r]=this.on(r,a))}this.prevMotionValues=Mh(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}
vendor: 3,004 bytes, line 5
5addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const i=this.values.get(t);n!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&n!==void 0&&(i=Ot(n===null?void 0:n,{owner:this}),this.addValue(t,i)),i}readValue(t,n){let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(ka(i)||Da(i))?i=parseFloat(i):!bh(i)&&we.test(n)&&(i=Po(t,n)),this.setBaseTarget(t,pe(i)?i.get():i)),pe(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var s;const{initial:n}=this.props;let i;if(typeof n=="string"||typeof n=="object"){const a=To(this.props,n,(s=this.presenceContext)==null?void 0:s.custom);a&&(i=a[t])}if(n&&i!==void 0)return i;const r=this.getBaseTargetFromProps(this.props,t);return r!==void 0&&!pe(r)?r:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new za),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){ph.render(this.render)}}class Do extends ko{constructor(){super(...arguments),this.KeyframeResolver=hh}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const i=t.style;return i?i[n]:void 0}removeValueFromRenderState(t,{vars:n,style:i}){delete n[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;pe(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function Ph({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function wh(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function Ih(e,t){return Ph(wh(e.getBoundingClientRect(),t))}const Lh={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Oh=Vt.length;function kh(e,t,n){let i="",r=!0;for(let a=0;a<Oh;a++){const o=Vt[a],l=e[o];if(l===void 0)continue;let f=!0;if(typeof l=="number")f=l===(o.startsWith("scale")?1:0);else{const c=parseFloat(l);f=o.startsWith("scale")?c===1:c===0}if(!f||n){const c=Qi(l,Zn[o]);if(!f){r=!1;const d=Lh[o]||o;i+=`${d}(${c}) `}n&&(t[o]=c)}}const s=e.pathRotation;return s&&(r=!1,i+=`rotate(${Qi(s,Zn.pathRotation)}) `),i=i.trim(),n?i=n(t,r?"":i):r&&(i="none"),i}
5function Fo(e,t,n){const{style:i,vars:r,transformOrigin:s}=e;let a=!1,o=!1;for(const l in t){const f=t[l];if($t.has(l)){a=!0;continue}else if(Ua(l)){r[l]=f;continue}else{const c=Qi(f,Zn[l]);l.startsWith("origin")?(o=!0,s[l]=c):i[l]=c}}if(t.transform||(a||n?i.transform=kh(t,e.transform,n):i.transform&&(i.transform="none")),o){const{originX:l="50%",originY:f="50%",originZ:c=0}=s;i.transformOrigin=`${l} ${f} ${c}`}}function zo(e,{style:t,vars:n},i,r){const s=e.style;let a;for(a in t)s[a]=t[a];r==null||r.applyProjectionStyles(s,i);for(a in n)s.setProperty(a,n[a])}function Fs(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const jt={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(H.test(e))e=parseFloat(e);else return e;const n=Fs(e,t.target.x),i=Fs(e,t.target.y);return`${n}% ${i}%`}},Dh={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,r=we.parse(e);if(r.length>5)return i;const s=we.createTransformer(e),a=typeof r[0]!="number"?1:0,o=n.x.scale*t.x,l=n.y.scale*t.y;r[0+a]/=o,r[1+a]/=l;const f=Rt(o,l,.5);return typeof r[2+a]=="number"&&(r[2+a]/=f),typeof r[3+a]=="number"&&(r[3+a]/=f),s(r)}},Fh={borderRadius:{...jt,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:jt,borderTopRightRadius:jt,borderBottomLeftRadius:jt,borderBottomRightRadius:jt,boxShadow:Dh};function zh(e,{layout:t,layoutId:n}){return $t.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Fh[e]||e==="opacity")}function Ro(e,t,n){var a;const i=e.style,r=t==null?void 0:t.style,s={};if(!i)return s;for(const o in i)(pe(i[o])||r&&pe(r[o])||zh(o,e)||((a=n==null?void 0:n.getValue(o))==null?void 0:a.liveStyle)!==void 0)&&(s[o]=i[o]);return s}function Rh(e){return window.getComputedStyle(e)}class Vh extends Do{constructor(){super(...arguments),this.type="html",this.renderInstance=zo}readValueFromInstance(t,n){var i;if($t.has(n))return(i=this.projection)!=null&&i.isProjecting?Wi(n):cf(t,n);{const r=Rh(t),s=(Ua(n)?r.getPropertyValue(n):r[n])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Ih(t,n)}build(t,n,i){Fo(t,n,i.transformTemplate)}scrapeMotionValuesFromProps(t,n,i){return Ro(t,n,i)}}function $h(e,t){return e in t}class Nh extends ko{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,n){if($h(n,t)){const i=t[n];if(typeof i=="string"||typeof i=="number")return i}}getBaseTargetFromProps(){}removeValueFromRenderState(t,n){delete n.output[t]}measureInstanceViewportBox(){return zr()}build(t,n){Object.assign(t.output,n)}renderInstance(t,{output:n}){Object.assign(t,n)}sortInstanceNodePosition(){return 0}}const Bh={offset:"stroke-dashoffset",array:"stroke-dasharray"},Hh={offset:"strokeDashoffset",array:"strokeDasharray"};function Gh(e,t,n=1,i=0,r=!0){e.pathLength=1;const s=r?Bh:Hh;e[s.offset]=`${-i}`,e[s.array]=`${t} ${n}`}const qh=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Wh(e,{attrX:t,attrY:n,attrScale:i,pathLength:r,pathSpacing:s=1,pathOffset:a=0,...o},l,f,c){if(Fo(e,o,f),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:p}=e;d.transform&&(p.transform=d.transform,delete d.transform),(p.transform||d.transformOrigin)&&(p.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),p.transform&&(p.transformBox=(c==null?void 0:c.transformBox)??"fill-box",delete d.transformBox);for(const u of qh)d[u]!==void 0&&(p[u]=d[u],delete d[u]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),i!==void 0&&(d.scale=i),r!==void 0&&Gh(d,r,s,a,!1)}const Vo=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),Yh=e=>typeof e=="string"&&e.toLowerCase()==="svg";function jh(e,t,n,i){zo(e,t,void 0,i);for(const r in t.attrs)e.setAttribute(Vo.has(r)?r:Fr(r),t.attrs[r])}
5function Xh(e,t,n){const i=Ro(e,t,n);for(const r in e)if(pe(e[r])||pe(t[r])){const s=Vt.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;i[s]=e[r]}return i}class Kh extends Do{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=zr}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if($t.has(n)){const i=Ao(n);return i&&i.default||0}return n=Vo.has(n)?n:Fr(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,i){return Xh(t,n,i)}build(t,n,i){Wh(t,n,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,n,i,r){jh(t,n,i,r)}mount(t){this.isSVGTag=Yh(t.tagName),super.mount(t)}}function Uh(e,t,n){const i=pe(e)?e:Ot(e);return i.start(xo("",i,t,n)),i.animation}function Rr(e){return typeof e=="object"&&!Array.isArray(e)}function $o(e,t,n,i){return e==null?[]:typeof e=="string"&&Rr(t)?wo(e,n,i):e instanceof NodeList?Array.from(e):Array.isArray(e)?e.filter(r=>r!=null):[e]}function Zh(e,t,n){return e*(t+1)+n*t}function zs(e,t,n,i){return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?n:t.startsWith("<")?Math.max(0,n+parseFloat(t.slice(1))):i.get(t)??e}function Jh(e,t,n){for(let i=0;i<e.length;i++){const r=e[i];r.at>t&&r.at<n&&(Sr(e,r),i--)}}function Qh(e,t,n,i,r,s){Jh(e,r,s);for(let a=0;a<t.length;a++)e.push({value:t[a],at:Rt(r,s,i[a]),easing:Ya(n,a)})}function ep(e,t,n=0){const i=t+1+t*n;for(let r=0;r<e.length;r++)e[r]=e[r]/i}function tp(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}const np="easeInOut",ip=20;function rp(e,{defaultTransition:t={},...n}={},i,r){const s=t.duration||.3,a=new Map,o=new Map,l={},f=new Map;let c=0,d=0,p=0;for(let u=0;u<e.length;u++){const h=e[u];if(typeof h=="string"){f.set(h,d);continue}else if(!Array.isArray(h)){f.set(h.name,zs(d,h.at,c,f));continue}let[g,v,m={}]=h;m.at!==void 0&&(d=zs(d,m.at,c,f));let y=0;const b=(M,T,x,E=0,S=0)=>
5{const w=sp(M),{delay:_=0,times:C=oo(w),type:P=t.type||"keyframes",repeat:O,repeatType:k,repeatDelay:$=0,...L}=T;let{ease:I=t.ease||"easeOut",duration:A}=T;const D=typeof _=="function"?_(E,S):_,N=w.length,W=Dr(P)?P:r==null?void 0:r[P||"keyframes"];if(N<=2&&W){let z=100;if(N===2&&lp(w)){const G=w[1]-w[0];z=Math.abs(G)}const R={...t,...L};A!==void 0&&(R.duration=_e(A));const V=ro(R,z,W);I=V.ease,A=V.duration}A??(A=s);const j=d+D;C.length===1&&C[0]===0&&(C[1]=1);const q=C.length-w.length;if(q>0&&ao(C,q),w.length===1&&w.unshift(null),O&&O<ip){const z=A>0?$/A:0;A=Zh(A,O,$);const R=[...w],V=[...C];I=Array.isArray(I)?[...I]:[I];const G=[...I],K=k==="reverse"||k==="mirror";let ye=R,ge=G;K&&(ye=[...R].reverse(),k==="reverse"&&(ge=[...G].reverse().map(se=>typeof se=="function"?Cr(se):se)));for(let se=0;se<O;se++){const te=K&&se%2===0,ne=te?ye:R,ae=te?ge:G,ve=(se+1)*(1+z);z>0&&(w.push(w[w.length-1]),C.push(ve),I.push("linear")),w.push(...ne);for(let fe=0;fe<ne.length;fe++)C.push(V[fe]+ve),I.push(fe===0?"linear":Ya(ae,fe-1))}ep(C,O,z)}const F=j+A;Qh(x,w,I,C,j,F),y=Math.max(D+A,y),p=Math.max(F,p)};if(pe(g)){const M=Rs(g,o);b(v,m,Vs("default",M))}else{const M=$o(g,v,i,l),T=M.length;for(let x=0;x<T;x++){v=v,m=m;const E=M[x],S=Rs(E,o);for(const w in v)b(v[w],ap(m,w),Vs(w,S),x,T)}}c=d,d+=y}return o.forEach((u,h)=>{for(const g in u){const v=u[g];v.sort(tp);const m=[],y=[],b=[];for(let E=0;E<v.length;E++){const{at:S,value:w,easing:_}=v[E];m.push(w),y.push(Tr(0,p,S)),b.push(_||"easeOut")}y[0]!==0&&(y.unshift(0),m.unshift(m[0]),b.unshift(np)),y[y.length-1]!==1&&(y.push(1),m.push(null)),a.has(h)||a.set(h,{keyframes:{},transition:{}});const M=a.get(h);M.keyframes[g]=m;const{type:T,...x}=t;M.transition[g]={...x,duration:p,ease:b,times:y,...n}}}),a}function Rs(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function Vs(e,t){return t[e]||(t[e]=[]),t[e]}function sp(e){return Array.isArray(e)?e:[e]}function ap(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}const op=e=>typeof e=="number",lp=e=>e.every(op);function cp(e){const t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=Io(e)&&!mh(e)?new Kh(t):new Vh(t);n.mount(e),dn.set(e,n)}function up(e){const t={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},n=new Nh(t);n.mount(e),dn.set(e,n)}function dp(e,t){return pe(e)||typeof e=="number"||typeof e=="string"&&!Rr(t)}function No(e,t,n,i){const r=[];if(dp(e,t))r.push(Uh(e,Rr(t)&&t.default||t,n&&(n.default||n)));else{if(e==null)return r;const s=$o(e,t,i),a=s.length;for(let o=0;o<a;o++){const l=s[o],f=l instanceof Element?cp:up;dn.has(l)||f(l);const c=dn.get(l),d={...n};"delay"in d&&typeof d.delay=="function"&&(d.delay=d.delay(o,a)),r.push(...nh(c,{...t,transition:d},{}))}}return r}function fp(e,t,n){const i=[],r=e.map(a=>{if(Array.isArray(a)&&typeof a[0]=="function"){const o=a[0],l=Ot(0);return l.on("change",o),a.length===1?[l,[0,1]]:a.length===2?[l,[0,1],a[1]]:[l,a[1],a[2]]}return a});return rp(r,t,n,{spring:un}).forEach(({keyframes:a,transition:o},l)=>{i.push(...No(l,a,o))}),i}function hp(e){return Array.isArray(e)&&e.some(Array.isArray)}function pp(e={}){const{scope:t,reduceMotion:n,skipAnimations:i}=e;function r(s,a,o){let l=[],f;const c={};if(n!==void 0&&(c.reduceMotion=n),i!==void 0&&(c.skipAnimations=i),hp(s)){const{onComplete:p,...u}=a||{};typeof p=="function"&&(f=p),l=fp(s,{...c,...u},t)}else{const{onComplete:p,...u}=o||{};typeof p=="function"&&(f=p),l=No(s,a,{...c,...u},t)}const d=new kf(l);return f&&d.finished.then(f),t&&(t.animations.push(d),d.finished.then(()=>{Sr(t.animations,d)})),d}return r}const Ye=pp(),mp={some:0,all:1};function Xt(e,t,{root:n,margin:i,amount:r="some"}={}){const s=wo(e),a=new WeakMap,o=f=>{f.forEach(c=>{const d=a.get(c.target);if(c.isIntersecting!==!!d)if(c.isIntersecting){const p=t(c.target,c);typeof p=="function"?a.set(c.target,p):l.unobserve(c.target)}else typeof d=="function"&&(d(c),a.delete(c.target))})},l=new IntersectionObserver(o,{root:n,rootMargin:i,threshold:typeof r=="number"?r:mp[r]});
5return s.forEach(f=>l.observe(f)),()=>l.disconnect()}function gp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Mi={exports:{}},$s;function vp(){return $s||($s=1,(function(e){(function(t,n){var i=n(t,t.document,Date);t.lazySizes=i,e.exports&&(e.exports=i)})(typeof window<"u"?window:{},function(n,i,r){var s,a;if((function(){var A,D={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};a=n.lazySizesConfig||n.lazysizesConfig||{};for(A in D)A in a||(a[A]=D[A])})(),!i||!i.getElementsByClassName)return{init:function(){},cfg:a,noSupport:!0};var o=i.documentElement,l=n.HTMLPictureElement,f="addEventListener",c="getAttribute",d=n[f].bind(n),p=n.setTimeout,u=n.requestAnimationFrame||p,h=n.requestIdleCallback,g=/^picture$/i,v=["load","error","lazyincluded","_lazyloaded"],m={},y=Array.prototype.forEach,b=function(A,D){return m[D]||(m[D]=new RegExp("(\\s|^)"+D+"(\\s|$)")),m[D].test(A[c]("class")||"")&&m[D]},M=function(A,D){b(A,D)||A.setAttribute("class",(A[c]("class")||"").trim()+" "+D)},T=function(A,D){var N;(N=b(A,D))&&A.setAttribute("class",(A[c]("class")||"").replace(N," "))},x=function(A,D,N){var W=N?f:"removeEventListener";N&&x(A,D),v.forEach(function(j){A[W](j,D)})},E=function(A,D,N,W,j){var q=i.createEvent("Event");return N||(N={}),N.instance=s,q.initEvent(D,!W,!j),q.detail=N,A.dispatchEvent(q),q},S=function(A,D){var N;!l&&(N=n.picturefill||a.pf)?(D&&D.src&&!A[c]("srcset")&&A.setAttribute("srcset",D.src),N({reevaluate:!0,elements:[A]})):D&&D.src&&(A.src=D.src)},w=function(A,D){return(getComputedStyle(A,null)||{})[D]},_=function(A,D,N){for(N=N||A.offsetWidth;N<a.minSize&&D&&!A._lazysizesWidth;)N=D.offsetWidth,D=D.parentNode;return N},C=(function(){var A,D,N=[],W=[],j=N,q=function(){var z=j;for(j=N.length?W:N,A=!0,D=!1;z.length;)z.shift()();A=!1},F=function(z,R){A&&!R?z.apply(this,arguments):(j.push(z),D||(D=!0,(i.hidden?p:u)(q)))};return F._lsFlush=q,F})(),P=function(A,D){return D?function(){C(A)}:function(){var N=this,W=arguments;C(function(){A.apply(N,W)})}},O=function(A){var D,N=0,W=a.throttleDelay,j=a.ricTimeout,q=function(){D=!1,N=r.now(),A()},F=h&&j>49?function(){h(q,{timeout:j}),j!==a.ricTimeout&&(j=a.ricTimeout)}:P(function(){p(q)},!0);return function(z){var R;
5(z=z===!0)&&(j=33),!D&&(D=!0,R=W-(r.now()-N),R<0&&(R=0),z||R<9?F():p(F,R))}},k=function(A){var D,N,W=99,j=function(){D=null,A()},q=function(){var F=r.now()-N;F<W?p(q,W-F):(h||j)(j)};return function(){N=r.now(),D||(D=p(q,W))}},$=(function(){var A,D,N,W,j,q,F,z,R,V,G,K,ye=/^img$/i,ge=/^iframe$/i,se="onscroll"in n&&!/(gle|ing)bot/.test(navigator.userAgent),te=0,ne=0,ae=0,ve=-1,fe=function(B){ae--,(!B||ae<0||!B.target)&&(ae=0)},Fe=function(B){return K==null&&(K=w(i.body,"visibility")=="hidden"),K||!(w(B.parentNode,"visibility")=="hidden"&&w(B,"visibility")=="hidden")},xt=function(B,Y){var U,oe=B,de=Fe(B);for(z-=Y,G+=Y,R-=Y,V+=Y;de&&(oe=oe.offsetParent)&&oe!=i.body&&oe!=o;)de=(w(oe,"opacity")||1)>0,de&&w(oe,"overflow")!="visible"&&(U=oe.getBoundingClientRect(),de=V>U.left&&R<U.right&&G>U.top-1&&z<U.bottom+1);return de},tt=function(){var B,Y,U,oe,de,he,ze,Re,Ge,Ve,nt,Ct,Te=s.elements;if((W=a.loadMode)&&ae<8&&(B=Te.length)){for(Y=0,ve++;Y<B;Y++)if(!(!Te[Y]||Te[Y]._lazyRace)){if(!se||s.prematureUnveil&&s.prematureUnveil(Te[Y])){Ae(Te[Y]);continue}if((!(Re=Te[Y][c]("data-expand"))||!(he=Re*1))&&(he=ne),Ve||(Ve=!a.expand||a.expand<1?o.clientHeight>500&&o.clientWidth>500?500:370:a.expand,s._defEx=Ve,nt=Ve*a.expFactor,Ct=a.hFac,K=null,ne<nt&&ae<1&&ve>2&&W>2&&!i.hidden?(ne=nt,ve=0):W>1&&ve>1&&ae<6?ne=Ve:ne=te),Ge!==he&&(q=innerWidth+he*Ct,F=innerHeight+he,ze=he*-1,Ge=he),U=Te[Y].getBoundingClientRect(),(G=U.bottom)>=ze&&(z=U.top)<=F&&(V=U.right)>=ze*Ct&&(R=U.left)<=q&&(G||V||R||z)&&(a.loadHidden||Fe(Te[Y]))&&(D&&ae<3&&!Re&&(W<3||ve<4)||xt(Te[Y],he))){if(Ae(Te[Y]),de=!0,ae>9)break}else!de&&D&&!oe&&ae<4&&ve<4&&W>2&&(A[0]||a.preloadAfterLoad)&&(A[0]||!Re&&(G||V||R||z||Te[Y][c](a.sizesAttr)!="auto"))&&(oe=A[0]||Te[Y])}oe&&!de&&Ae(oe)}},ce=O(tt),Et=function(B){var Y=B.target;if(Y._lazyCache){delete Y._lazyCache;return}fe(B),M(Y,a.loadedClass),T(Y,a.loadingClass),x(Y,Tt),E(Y,"lazyloaded")},Wt=P(Et),Tt=function(B){Wt({target:B.target})},Yt=function(B,Y){var U=B.getAttribute("data-load-mode")||a.iframeLoadMode;U==0?B.contentWindow.location.replace(Y):U==1&&(B.src=Y)},He=function(B){var Y,U=B[c](a.srcsetAttr);(Y=a.customMedia[B[c]("data-media")||B[c]("media")])&&B.setAttribute("media",Y),U&&B.setAttribute("srcset",U)},bn=P(function(B,Y,U,oe,de){var he,ze,Re,Ge,Ve,nt;(Ve=E(B,"lazybeforeunveil",Y)).defaultPrevented||(oe&&(U?M(B,a.autosizesClass):B.setAttribute("sizes",oe)),ze=B[c](a.srcsetAttr),he=B[c](a.srcAttr),de&&(Re=B.parentNode,Ge=Re&&g.test(Re.nodeName||"")),nt=Y.firesLoad||"src"in B&&(ze||he||Ge),Ve={target:B},M(B,a.loadingClass),nt&&(clearTimeout(N),N=p(fe,2500),x(B,Tt,!0)),Ge&&y.call(Re.getElementsByTagName("source"),He),ze?B.setAttribute("srcset",ze):he&&!Ge&&(ge.test(B.nodeName)?Yt(B,he):B.src=he),de&&(ze||Ge)&&S(B,{src:he})),B._lazyRace&&delete B._lazyRace,T(B,a.lazyClass),C(function(){var Ct=B.complete&&B.naturalWidth>1;(!nt||Ct)&&(Ct&&M(B,a.fastLoadedClass),Et(Ve),B._lazyCache=!0,p(function(){"_lazyCache"in B&&delete B._lazyCache},9)),B.loading=="lazy"&&ae--},!0)}),Ae=function(B){if(!B._lazyRace){var Y,U=ye.test(B.nodeName),oe=U&&(B[c](a.sizesAttr)||B[c]("sizes")),de=oe=="auto";(de||!D)&&U&&(B[c]("src")||B.srcset)&&!B.complete&&!b(B,a.errorClass)&&b(B,a.lazyClass)||(Y=E(B,"lazyunveilread").detail,de&&L.updateElem(B,!0,B.offsetWidth),B._lazyRace=!0,ae++,bn(B,Y,de,oe,U))}},dc=k(function(){a.loadMode=3,ce()}),os=function(){a.loadMode==3&&(a.loadMode=2),dc()},Sn=function(){if(!D){if(r.now()-j<999){p(Sn,999);return}D=!0,a.loadMode=3,ce(),d("scroll",os,!0)}};return{_:function(){j=r.now(),s.elements=i.getElementsByClassName(a.lazyClass),A=i.getElementsByClassName(a.lazyClass+" "+a.preloadClass),d("scroll",ce,!0),d("resize",ce,!0),d("pageshow",function(B){if(B.persisted){var Y=i.querySelectorAll("."+a.loadingClass);Y.length&&Y.forEach&&u(function(){Y.forEach(function(U){U.complete&&Ae(U)})})}}),n.MutationObserver?new MutationObserver(ce).observe(o,{childList:!0,subtree:!0,attributes:!0}):(o[f]("DOMNodeInserted",ce,!0),o[f]("DOMAttrModified",ce,!0),setInterval(ce,999)),d("hashchange",ce,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(B){i[f](B,ce,!0)}),/d$|^c/.test(i.readyState)?Sn():(d("load",Sn),i[f]("DOMContentLoaded",ce),p(Sn,2e4)),s.elements.length?(tt(),C._lsFlush()):ce()},checkElems:ce,unveil:Ae,_aLSL:os}})(),L=(function(){var A,D=P(function(q,F,z,R){var V,G,K;if(q._lazysizesWidth=R,R+="px",q.setAttribute("sizes",R),g.test(F.nodeName||""))for(V=F.getElementsByTagName("source"),G=0,K=V.length;G<K;G++)V[G].setAttribute("sizes",R);z.detail.dataAttr||S(q,z.detail)}),N=function(q,F,z){var R,V=q.parentNode;V&&(z=_(q,V,z),R=E(q,"lazybeforesizes",{width:z,dataAttr:!!F}),R.defaultPrevented||(z=R.detail.width,z&&z!==q._lazysizesWidth&&D(q,V,R,z)))},W=function(){var q,F=A.length;if(F)for(q=0;q<F;q++)N(A[q])},j=k(W);return{_:function(){A=i.getElementsByClassName(a.autosizesClass),d("resize",j)},checkElems:j,updateElem:N}})(),I=function(){!I.i&&i.getElementsByClassName&&(I.i=!0,L._(),$._())};return p(function(){a.init&&I()}),s={cfg:a,autoSizer:L,loader:$,init:I,uP:S,aC:M,rC:T,hC:b,fire:E,gW:_,rAF:C},s})})(Mi)),Mi.exports}vp();
5var Tn={exports:{}},_i,Ns;function yp(){if(Ns)return _i;Ns=1;var e;/**
6* @link https://github.com/gajus/sister for the canonical source repository
7* @license https://github.com/gajus/sister/blob/master/LICENSE BSD 3-Clause
8*/return e=function(){var t={},n={};return t.on=function(i,r){var s={name:i,handler:r};return n[i]=n[i]||[],n[i].unshift(s),s},t.off=function(i){var r=n[i.name].indexOf(i);r!==-1&&n[i.name].splice(r,1)},t.trigger=function(i,r){var s=n[i],a;if(s)for(a=s.length;a--;)s[a].handler(r)},t},_i=e,_i}var Cn={exports:{}},Mn={exports:{}},Ai,Bs;function bp(){if(Bs)return Ai;Bs=1;var e=1e3,t=e*60,n=t*60,i=n*24,r=i*7,s=i*365.25;Ai=function(c,d){d=d||{};var p=typeof c;if(p==="string"&&c.length>0)return a(c);if(p==="number"&&isFinite(c))return d.long?l(c):o(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))};function a(c){if(c=String(c),!(c.length>100)){var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(c);if(d){var p=parseFloat(d[1]),u=(d[2]||"ms").toLowerCase();switch(u){case"years":case"year":case"yrs":case"yr":case"y":return p*s;case"weeks":case"week":case"w":return p*r;case"days":case"day":case"d":return p*i;case"hours":case"hour":case"hrs":case"hr":case"h":return p*n;case"minutes":case"minute":case"mins":case"min":case"m":return p*t;case"seconds":case"second":case"secs":case"sec":case"s":return p*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return p;default:return}}}}function o(c){var d=Math.abs(c);return d>=i?Math.round(c/i)+"d":d>=n?Math.round(c/n)+"h":d>=t?Math.round(c/t)+"m":d>=e?Math.round(c/e)+"s":c+"ms"}function l(c){var d=Math.abs(c);return d>=i?f(c,d,i,"day"):d>=n?f(c,d,n,"hour"):d>=t?f(c,d,t,"minute"):d>=e?f(c,d,e,"second"):c+" ms"}function f(c,d,p,u){var h=d>=p*1.5;return Math.round(c/p)+" "+u+(h?"s":"")}return Ai}var Pi,Hs;function Sp(){if(Hs)return Pi;Hs=1;function e(t){i.debug=i,i.default=i,i.coerce=f,i.disable=o,i.enable=s,i.enabled=l,i.humanize=bp(),i.destroy=c,Object.keys(t).forEach(d=>{i[d]=t[d]}),i.names=[],i.skips=[],i.formatters={};function n(d){let p=0;for(let u=0;u<d.length;u++)p=(p<<5)-p+d.charCodeAt(u),p|=0;return i.colors[Math.abs(p)%i.colors.length]}i.selectColor=n;function i(d){let p,u=null,h,g;function v(...m){if(!v.enabled)return;const y=v,b=Number(new Date),M=b-(p||b);y.diff=M,y.prev=p,y.curr=b,p=b,m[0]=i.coerce(m[0]),typeof m[0]!="string"&&m.unshift("%O");let T=0;m[0]=m[0].replace(/%([a-zA-Z%])/g,(E,S)=>{if(E==="%%")return"%";T++;const w=i.formatters[S];if(typeof w=="function"){const _=m[T];E=w.call(y,_),m.splice(T,1),T--}return E}),i.formatArgs.call(y,m),(y.log||i.log).apply(y,m)}return v.namespace=d,v.useColors=i.useColors(),v.color=i.selectColor(d),v.extend=r,v.destroy=i.destroy,Object.defineProperty(v,"enabled",{enumerable:!0,configurable:!1,get:()=>u!==null?u:(h!==i.namespaces&&(h=i.namespaces,g=i.enabled(d)),g),set:m=>{u=m}}),typeof i.init=="function"&&i.init(v),v}function r(d,p){const u=i(this.namespace+(typeof p>"u"?":":p)+d);return u.log=this.log,u}function s(d){i.save(d),i.namespaces=d,i.names=[],i.skips=[];const p=(typeof d=="string"?d:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const u of p)u[0]==="-"?i.skips.push(u.slice(1)):i.names.push(u)}function a(d,p){let u=0,h=0,g=-1,v=0;for(;u<d.length;)if(h<p.length&&(p[h]===d[u]||p[h]==="*"))p[h]==="*"?(g=h,v=u,h++):(u++,h++);else if(g!==-1)h=g+1,v++,u=v;else return!1;for(;h<p.length&&p[h]==="*";)h++;return h===p.length}function o(){const d=[...i.names,...i.skips.map(p=>"-"+p)].join(",");return i.enable(""),d}function l(d){for(const p of i.skips)if(a(d,p))return!1;for(const p of i.names)if(a(d,p))return!0;return!1}function f(d){return d instanceof Error?d.stack||d.message:d}function c(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return i.enable(i.load()),i}return Pi=e,Pi}var Gs;function xp(){return Gs||(Gs=1,(function(e,t){var n={};t.formatArgs=r,t.save=s,t.load=a,t.useColors=i,t.storage=o(),t.destroy=(()=>{let f=!1;return()=>
8{f||(f=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function i(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let f;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(f=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(f[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function r(f){if(f[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+f[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const c="color: "+this.color;f.splice(1,0,c,"color: inherit");let d=0,p=0;f[0].replace(/%[a-zA-Z%]/g,u=>{u!=="%%"&&(d++,u==="%c"&&(p=d))}),f.splice(p,0,c)}t.log=console.debug||console.log||(()=>{});function s(f){try{f?t.storage.setItem("debug",f):t.storage.removeItem("debug")}catch{}}function a(){let f;try{f=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!f&&typeof process<"u"&&"env"in process&&(f=n.DEBUG),f}function o(){try{return localStorage}catch{}}e.exports=Sp()(t);const{formatters:l}=e.exports;l.j=function(f){try{return JSON.stringify(f)}catch(c){return"[UnexpectedJSONParseError]: "+c.message}}})(Mn,Mn.exports)),Mn.exports}var _n={exports:{}},An={exports:{}},qs;function Ep(){return qs||(qs=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={BUFFERING:3,ENDED:0,PAUSED:2,PLAYING:1,UNSTARTED:-1,VIDEO_CUED:5},e.exports=t.default})(An,An.exports)),An.exports}var Ws;function Tp(){return Ws||(Ws=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Ep(),i=r(n);function r(s){return s&&s.__esModule?s:{default:s}}t.default={pauseVideo:{acceptableStates:[i.default.ENDED,i.default.PAUSED],stateChangeRequired:!1},playVideo:{acceptableStates:[i.default.ENDED,i.default.PLAYING],stateChangeRequired:!1},seekTo:{acceptableStates:[i.default.ENDED,i.default.PLAYING,i.default.PAUSED],stateChangeRequired:!0,timeout:3e3}},e.exports=t.default})(_n,_n.exports)),_n.exports}var Pn={exports:{}},Ys;function Cp(){return Ys||(Ys=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ready","stateChange","playbackQualityChange","playbackRateChange","error","apiChange","volumeChange"],e.exports=t.default})(Pn,Pn.exports)),Pn.exports}var wn={exports:{}},js;function Mp(){return js||(js=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=["cueVideoById","loadVideoById","cueVideoByUrl","loadVideoByUrl","playVideo","pauseVideo","stopVideo","getVideoLoadedFraction","cuePlaylist","loadPlaylist","nextVideo","previousVideo","playVideoAt","setShuffle","setLoop","getPlaylist","getPlaylistIndex","setOption","mute","unMute","isMuted","
8setVolume","getVolume","seekTo","getPlayerState","getPlaybackRate","setPlaybackRate","getAvailablePlaybackRates","getPlaybackQuality","setPlaybackQuality","getAvailableQualityLevels","getCurrentTime","getDuration","removeEventListener","getVideoUrl","getVideoEmbedCode","getOptions","getOption","addEventListener","destroy","setSize","getIframe","getSphericalProperties","setSphericalProperties"],e.exports=t.default})(wn,wn.exports)),wn.exports}var Xs;function _p(){return Xs||(Xs=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=xp(),i=c(n),r=Tp(),s=c(r),a=Cp(),o=c(a),l=Mp(),f=c(l);function c(u){return u&&u.__esModule?u:{default:u}}const d=(0,i.default)("youtube-player"),p={};p.proxyEvents=u=>{const h={};for(const g of o.default){const v="on"+g.slice(0,1).toUpperCase()+g.slice(1);h[v]=m=>{d('event "%s"',v,m),u.trigger(g,m)}}return h},p.promisifyPlayer=(u,h=!1)=>{const g={};for(const v of f.default)h&&s.default[v]?g[v]=(...m)=>u.then(y=>{const b=s.default[v],M=y.getPlayerState(),T=y[v].apply(y,m);return b.stateChangeRequired||Array.isArray(b.acceptableStates)&&!b.acceptableStates.includes(M)?new Promise(x=>{const E=()=>{const S=y.getPlayerState();let w;typeof b.timeout=="number"&&(w=setTimeout(()=>{y.removeEventListener("onStateChange",E),x()},b.timeout)),Array.isArray(b.acceptableStates)&&b.acceptableStates.includes(S)&&(y.removeEventListener("onStateChange",E),clearTimeout(w),x())};y.addEventListener("onStateChange",E)}).then(()=>T):T}):g[v]=(...m)=>u.then(y=>y[v].apply(y,m));return g},t.default=p,e.exports=t.default})(Cn,Cn.exports)),Cn.exports}var In={exports:{}},wi,Ks;function Ap(){if(Ks)return wi;Ks=1,wi=function(r,s,a){var o=document.head||document.getElementsByTagName("head")[0],l=document.createElement("script");typeof s=="function"&&(a=s,s={}),s=s||{},a=a||function(){},l.type=s.type||"text/javascript",l.charset=s.charset||"utf8",l.async="async"in s?!!s.async:!0,l.src=r,s.attrs&&e(l,s.attrs),s.text&&(l.text=""+s.text);var f="onload"in l?t:n;f(l,a),l.onload||t(l,a),o.appendChild(l)};function e(i,r){for(var s in r)i.setAttribute(s,r[s])}function t(i,r){i.onload=function(){this.onerror=this.onload=null,r(null,i)},i.onerror=function(){this.onerror=this.onload=null,r(new Error("Failed to load "+this.src),i)}}function n(i,r){i.onreadystatechange=function(){this.readyState!="complete"&&this.readyState!="loaded"||(this.onreadystatechange=null,r(null,i))}}return wi}var Us;function Pp(){return Us||(Us=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Ap(),i=r(n);function r(s){return s&&s.__esModule?s:{default:s}}t.default=s=>new Promise(o=>{if(window.YT&&window.YT.Player&&window.YT.Player instanceof Function){o(window.YT);return}else{const f=window.location.protocol==="http:"?"http:":"https:";(0,i.default)(f+"//www.youtube.com/iframe_api",c=>{c&&s.trigger("error",c)})}const l=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{l&&l(),o(window.YT)}}),e.exports=t.default})(In,In.exports)),In.exports}var Zs;function wp(){return Zs||(Zs=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=yp(),i=l(n),r=_p(),s=l(r),a=Pp(),o=l(a);function l(c){return c&&c.__esModule?c:{default:c}}let f;t.default=(c,d={},p=!1)=>{const u=(0,i.default)();if(f||(f=(0,o.default)(u)),d.events)throw new Error("Event handlers cannot be overwritten.");if(typeof c=="string"&&!document.getElementById(c))throw new Error('Element "'+c+'" does not exist.');d.events=s.default.proxyEvents(u);const h=new Promise(v=>{typeof c=="object"&&c.playVideo instanceof Function?v(c):f.then(m=>{const y=new m.Player(c,d);return u.on("ready",()=>{v(y)}),null})}),g=s.default.promisifyPlayer(h,p);return g.on=u.on,g.off=u.off,g},e.exports=t.default})(Tn,Tn.exports)),Tn.exports}var Ip=wp();const Js=gp(Ip);var tr=!1,nr=!1,ut=[],ir=-1,Vr=!1;function Lp(e){Dp(e)}function Op(){Vr=!0}function kp(){Vr=!1,Bo()}function Dp(e){ut.includes(e)||ut.push(e),Bo()}function Fp(e){let t=ut.indexOf(e);t!==-1&&t>ir&&ut.splice(t,1)}function Bo(){if(!nr&&!tr){if(Vr)return;tr=!0,queueMicrotask(zp)}}function zp(){tr=!1,nr=!0;for(let e=0;e<ut.length;e++)ut[e](),ir=e;ut.length=0,ir=-1,nr=!1}var Nt,St,Bt,Ho,rr=!0;function Rp(e){rr=!1,e(),rr=!0}function Vp(e){Nt=e.reactive,Bt=e.release,St=t=>e.effect(t,{scheduler:n=>{rr?Lp(n):n()}}),Ho=e.raw}function Qs(e){St=e}function $p(e){let t=()=>{};return[i=>{let r=St(i);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>
8{e._x_effects.forEach(s=>s())}),e._x_effects.add(r),t=()=>{r!==void 0&&(e._x_effects.delete(r),Bt(r))},r},()=>{t()}]}function Go(e,t){let n=!0,i,r=St(()=>{let s=e();if(JSON.stringify(s),!n&&(typeof s=="object"||s!==i)){let a=i;queueMicrotask(()=>{t(s,a)})}i=s,n=!1});return()=>Bt(r)}async function Np(e){Op();try{await e(),await Promise.resolve()}finally{kp()}}var qo=[],Wo=[],Yo=[];function Bp(e){Yo.push(e)}function $r(e,t){typeof t=="function"?(e._x_cleanups||(e._x_cleanups=[]),e._x_cleanups.push(t)):(t=e,Wo.push(t))}function jo(e){qo.push(e)}function Xo(e,t,n){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(n)}function Ko(e,t){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEach(([n,i])=>{(t===void 0||t.includes(n))&&(i.forEach(r=>r()),delete e._x_attributeCleanups[n])})}function Hp(e){var t,n;for((t=e._x_effects)==null||t.forEach(Fp);(n=e._x_cleanups)!=null&&n.length;)e._x_cleanups.pop()()}var Nr=new MutationObserver(qr),Br=!1;function Hr(){Nr.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),Br=!0}function Uo(){Gp(),Nr.disconnect(),Br=!1}var Kt=[];function Gp(){let e=Nr.takeRecords();Kt.push(()=>e.length>0&&qr(e));let t=Kt.length;queueMicrotask(()=>{if(Kt.length===t)for(;Kt.length>0;)Kt.shift()()})}function Q(e){if(!Br)return e();Uo();let t=e();return Hr(),t}var Gr=!1,Jn=[];function qp(){Gr=!0}function Wp(){Gr=!1,qr(Jn),Jn=[]}function qr(e){if(Gr){Jn=Jn.concat(e);return}let t=[],n=new Set,i=new Map,r=new Map;for(let s=0;s<e.length;s++)if(!e[s].target._x_ignoreMutationObserver&&(e[s].type==="childList"&&(e[s].removedNodes.forEach(a=>{a.nodeType===1&&a._x_marker&&n.add(a)}),e[s].addedNodes.forEach(a=>{if(a.nodeType===1){if(n.has(a)){n.delete(a);return}a._x_marker||t.push(a)}})),e[s].type==="attributes")){let a=e[s].target,o=e[s].attributeName,l=e[s].oldValue,f=()=>{i.has(a)||i.set(a,[]),i.get(a).push({name:o,value:a.getAttribute(o)})},c=()=>{r.has(a)||r.set(a,[]),r.get(a).push(o)};a.hasAttribute(o)&&l===null?f():a.hasAttribute(o)?(c(),f()):c()}r.forEach((s,a)=>{Ko(a,s)}
vendor: 15,037 bytes, lines 8-12
8),i.forEach((s,a)=>{qo.forEach(o=>o(a,s))});for(let s of n)t.some(a=>a.contains(s))||Wo.forEach(a=>a(s));for(let s of t)s.isConnected&&Yo.forEach(a=>a(s));t=null,n=null,i=null,r=null}function Zo(e){return mt(pt(e))}function yn(e,t,n){return e._x_dataStack=[t,...pt(n||e)],()=>{e._x_dataStack=e._x_dataStack.filter(i=>i!==t)}}function pt(e){return e._x_dataStack?e._x_dataStack:typeof ShadowRoot=="function"&&e instanceof ShadowRoot?pt(e.host):e.parentNode?pt(e.parentNode):[]}function mt(e){return new Proxy({objects:e},Yp)}var Yp={ownKeys({objects:e}){return Array.from(new Set(e.flatMap(t=>Object.keys(t))))},has({objects:e},t){return t==Symbol.unscopables?!1:e.some(n=>Object.prototype.hasOwnProperty.call(n,t)||Reflect.has(n,t))},get({objects:e},t,n){return t=="toJSON"?jp:Reflect.get(e.find(i=>Reflect.has(i,t))||{},t,n)},set({objects:e},t,n,i){const r=e.find(a=>Object.prototype.hasOwnProperty.call(a,t))||e[e.length-1],s=Object.getOwnPropertyDescriptor(r,t);return s!=null&&s.set&&(s!=null&&s.get)?s.set.call(i,n)||!0:Reflect.set(r,t,n)}};function jp(){return Reflect.ownKeys(this).reduce((t,n)=>(t[n]=Reflect.get(this,n),t),{})}function Wr(e){let t=i=>typeof i=="object"&&!Array.isArray(i)&&i!==null,n=(i,r="")=>{Object.entries(Object.getOwnPropertyDescriptors(i)).forEach(([s,{value:a,enumerable:o}])=>{if(o===!1||a===void 0||typeof a=="object"&&a!==null&&a.__v_skip)return;let l=r===""?s:`${r}.${s}`;typeof a=="object"&&a!==null&&a._x_interceptor?i[s]=a.initialize(e,l,s):t(a)&&a!==i&&!(a instanceof Element)&&n(a,l)})};return n(e)}function Jo(e,t=()=>{}){let n={initialValue:void 0,_x_interceptor:!0,initialize(i,r,s){return e(this.initialValue,()=>Xp(i,r),a=>sr(i,r,a),r,s)}};return t(n),i=>{if(typeof i=="object"&&i!==null&&i._x_interceptor){let r=n.initialize.bind(n);n.initialize=(s,a,o)=>{let l=i.initialize(s,a,o);return n.initialValue=l,r(s,a,o)}}else n.initialValue=i;return n}}function Xp(e,t){return t.split(".").reduce((n,i)=>n[i],e)}function sr(e,t,n){if(typeof t=="string"&&(t=t.split(".")),t.length===1)e[t[0]]=n;else{if(t.length===0)throw error;return e[t[0]]||(e[t[0]]={}),sr(e[t[0]],t.slice(1),n)}}var Qo={};function Le(e,t){Qo[e]=t}function fn(e,t){let n=Kp(t);return Object.entries(Qo).forEach(([i,r])=>{Object.defineProperty(e,`$${i}`,{get(){return r(t,n)},enumerable:!1})}),e}function Kp(e){let[t,n]=ol(e),i={interceptor:Jo,...t};return $r(e,n),i}function Up(e,t,n,...i){try{return n(...i)}catch(r){hn(r,e,t)}}function hn(...e){return el(...e)}var el=Jp;function Zp(e){el=e}function Jp(e,t,n=void 0){e=Object.assign(e??{message:"No error message given."},{el:t,expression:n}),console.warn(`Alpine Expression Error: ${e.message}
9
10${n?'Expression: "'+n+`"
11
12`:""}`,t),setTimeout(()=>{throw e},0)}var Pt=!0;function tl(e){let t=Pt;Pt=!1;let n=e();return Pt=t,n}function dt(e,t,n={}){let i;return me(e,t)(r=>i=r,n),i}function me(...e){return nl(...e)}var nl=rl;function Qp(e){nl=e}var il;function em(e){il=e}function rl(e,t){let n={};fn(n,e);let i=[n,...pt(e)],r=typeof t=="function"?tm(i,t):im(i,t,e);return Up.bind(null,e,t,r)}function tm(e,t){return(n=()=>{},{scope:i={},params:r=[],context:s}={})=>{if(!Pt){pn(n,t,mt([i,...e]),r);return}let a=t.apply(mt([i,...e]),r);pn(n,a)}}var Ii={};function nm(e,t){if(Ii[e])return Ii[e];let n=Object.getPrototypeOf(async function(){}).constructor,i=/^[\n\s]*if.*\(.*\)/.test(e.trim())||/^(let|const)\s/.test(e.trim())?`(async()=>{ ${e} })()`:e,s=(()=>{try{let a=new n(["__self","scope"],`with (scope) { __self.result = ${i} }; __self.finished = true; return __self.result;`);return Object.defineProperty(a,"name",{value:`[Alpine] ${e}`}),a}catch(a){return hn(a,t,e),Promise.resolve()}})();return Ii[e]=s,s}function im(e,t,n){let i=nm(t,n);return(r=()=>{},{scope:s={},params:a=[],context:o}={})=>{i.result=void 0,i.finished=!1;let l=mt([s,...e]);if(typeof i=="function"){let f=i.call(o,i,l).catch(c=>hn(c,n,t));i.finished?(pn(r,i.result,l,a,n),i.result=void 0):f.then(c=>{pn(r,c,l,a,n)}).catch(c=>hn(c,n,t)).finally(()=>i.result=void 0)}}}function pn(e,t,n,i,r){if(Pt&&typeof t=="function"){let s=t.apply(n,i);s instanceof Promise?s.then(a=>pn(e,a,n,i)).catch(a=>hn(a,r,t)):e(s)}else typeof t=="object"&&t instanceof Promise?t.then(s=>e(s)):e(t)}function rm(...e){return il(...e)}function sm(e,t,n={}){let i={};fn(i,e);let r=[i,...pt(e)],s=mt([n.scope??{},...r]),a=n.params??[];if(t.includes("await")){let o=Object.getPrototypeOf(async function(){}).constructor,l=/^[\n\s]*if.*\(.*\)/.test(t.trim())||/^(let|const)\s/.test(t.trim())?`(async()=>{ ${t} })()`:t;return new o(["scope"],`with (scope) { let __result = ${l}; return __result }`).call(n.context,s)}else{let o=/^[\n\s]*if.*\(.*\)/.test(t.trim())||/^(let|const)\s/.test(t.trim())?`(()=>{ ${t} })()`:t,f=new Function(["scope"],`with (scope) { let __result = ${o}; return __result }`).call(n.context,s);return typeof f=="function"&&Pt?f.apply(s,a):f}}var Yr="x-";function Ht(e=""){return Yr+e}function am(e){Yr=e}var Qn={};function re(e,t){return Qn[e]=t,{before(n){if(!Qn[n]){console.warn(String.raw`Cannot find directive \`${n}\`. \`${e}\` will use the default order of execution`);return}const i=ot.indexOf(n);ot.splice(i>=0?i:ot.indexOf("DEFAULT"),0,e)}}}function om(e){return Object.keys(Qn).includes(e)}function jr(e,t,n){if(t=Array.from(t),e._x_virtualDirectives){let s=Object.entries(e._x_virtualDirectives).map(([o,l])=>({name:o,value:l})),a=sl(s);s=s.map(o=>a.find(l=>l.name===o.name)?{name:`x-bind:${o.name}`,value:`"${o.value}"`}:o),t=t.concat(s)}let i={};return t.map(ul((s,a)=>i[s]=a)).filter(fl).map(um(i,n)).sort(dm).map(s=>cm(e,s))}function sl(e){return Array.from(e).map(ul()).filter(t=>!fl(t))}var ar=!1,tn=new Map,al=Symbol();function lm(e){ar=!0;let t=Symbol();al=t,tn.set(t,[]);let n=()=>{for(;tn.get(t).length;)tn.get(t).shift()();tn.delete(t)},i=()=>{ar=!1,n()};e(n),i()}function ol(e){let t=[],n=o=>t.push(o),[i,r]=$p(e);return t.push(r),[{Alpine:qt,effect:i,cleanup:n,evaluateLater:me.bind(me,e),evaluate:dt.bind(dt,e)},()=>t.forEach(o=>o())]}function cm(e,t){let n=()=>{},i=Qn[t.type]||n,[r,s]=ol(e);Xo(e,t.original,s);let a=()=>{e._x_ignore||e._x_ignoreSelf||(i.inline&&i.inline(e,t,r),i=i.bind(i,e,t,r),ar?tn.get(al).push(i):i())};return a.runCleanups=s,a}var ll=(e,t)=>({name:n,value:i})=>(n.startsWith(e)&&(n=n.replace(e,t)),{name:n,value:i}),cl=e=>e;function ul(e=()=>{}){return({name:t,value:n})=>{let{name:i,value:r}=dl.reduce((s,a)=>a(s),{name:t,value:n});return i!==t&&e(i,t),{name:i,value:r}}}var dl=[];function Xr(e){dl.push(e)}function fl({name:e}){return hl().test(e)}var hl=()=>new RegExp(`^${Yr}([^:^.]+)\\b`);function um(e,t){return({name:n,value:i})=>{n===i&&(i="");let r=n.match(hl()),s=n.match(/:([a-zA-Z0-9\-_:]+)/),a=n.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],o=t||e[n]||n;return{type:r?r[1]:null,value:s?s[1]:null,modifiers:a.map(l=>l.replace(".","")),expression:i,original:o}}}var or="DEFAULT",ot=["ignore","ref","data","id","anchor","bind","init","for","model","modelable","transition","show","if",or,"teleport"];function dm(e,t){let n=ot.indexOf(e.type)===-1?or:e.type,i=ot.indexOf(t.type)===-1?or:t.type;return ot.indexOf(n)-ot.indexOf(i)}function an(e,t,n={}){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0,composed:!0,cancelable:!0}))}function gt(e,t){if(typeof ShadowRoot=="function"&&e instanceof ShadowRoot){Array.from(e.children).forEach(r=>gt(r,t));return}let n=!1;if(t(e,()=>n=!0),n)return;let i=e.firstElementChild;for(;i;)gt(i,t),i=i.nextElementSibling}function Me(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var ea=!1;function fm(){ea&&Me("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),ea=!0,document.body||Me("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),an(document,"alpine:init"),an(document,"alpine:initializing"),Hr(),Bp(t=>Be(t,gt)),$r(t=>Gt(t)),jo((t,n)=>{jr(t,n).forEach(i=>i())});let e=t=>!ai(t.parentElement,!0);Array.from(document.querySelectorAll(gl().join(","))).filter(e).forEach(t=>{Be(t)}),an(document,"alpine:initialized"),setTimeout(()=>{gm()})}var Kr=[],pl=[];function ml(){return Kr.map(e=>e())}function gl(){return Kr.concat(pl).map(e=>e())}function vl(e){Kr.push(e)}function yl(e){pl.push(e)}function ai(e,t=!1){return vt(e,n=>{if((t?gl():ml()).some(r=>n.matches(r)))return!0})}function vt(e,t){if(e){if(t(e))return e;if(e._x_teleportBack&&(e=e._x_teleportBack),e.parentNode instanceof ShadowRoot)return vt(e.parentNode.host,t);if(e.parentElement)return vt(e.parentElement,t)}}function hm(e){return ml().some(t=>e.matches(t))}var bl=[];function pm(e){bl.push(e)}var mm=1;function Be(e,t=gt,n=()=>{}){vt(e,i=>i._x_ignore)||lm(()=>{t(e,(i,r)=>{i._x_marker||(n(i,r),bl.forEach(s=>s(i,r)),jr(i,i.attributes).forEach(s=>s()),i._x_ignore||(i._x_marker=mm++),i._x_ignore&&r())})})}function Gt(e,t=gt){t(e,n=>{Hp(n),Ko(n),delete n._x_marker})}function gm(){[["ui","dialog",["[x-dialog], [x-popover]"]],["anchor","anchor",["[x-anchor]"]],["sort","sort",["[x-sort]"]]].forEach(([t,n,i])=>{om(n)||i.some(r=>{if(document.querySelector(r))return Me(`found "${r}", but missing ${t} plugin`),!0})})}var lr=[],Ur=!1;function Zr(e=()=>{}){return queueMicrotask(()=>{Ur||setTimeout(()=>{cr()})}),new Promise(t=>{lr.push(()=>{e(),t()})})}function cr(){for(Ur=!1;lr.length;)lr.shift()()}function vm(){Ur=!0}function Jr(e,t){return Array.isArray(t)?ta(e,t.join(" ")):typeof t=="object"&&t!==null?ym(e,t):typeof t=="function"?Jr(e,t()):ta(e,t)}function ta(e,t){let n=r=>r.split(" ").filter(s=>!e.classList.contains(s)).filter(Boolean),i=r=>(e.classList.add(...r),()=>{e.classList.remove(...r)});return t=t===!0?t="":t||"",i(n(t))}function ym(e,t){let n=o=>o.split(" ").filter(Boolean),i=Object.entries(t).flatMap(([o,l])=>l?n(o):!1).filter(Boolean),r=Object.entries(t).flatMap(([o,l])=>l?!1:n(o)).filter(Boolean),s=[],a=[];return r.forEach(o=>{e.classList.contains(o)&&(e.classList.remove(o),a.push(o))}),i.forEach(o=>{e.classList.contains(o)||(e.classList.add(o),s.push(o))}),()=>{a.forEach(o=>e.classList.add(o)),s.forEach(o=>e.classList.remove(o))}}function oi(e,t){return typeof t=="object"&&t!==null?bm(e,t):Sm(e,t)}function bm(e,t){let n={};return Object.entries(t).forEach(([i,r])=>{n[i]=e.style[i],i.startsWith("--")||(i=xm(i)),e.style.setProperty(i,r)}),setTimeout(()=>{e.style.length===0&&e.removeAttribute("style")}),()=>{oi(e,n)}}function Sm(e,t){let n=e.getAttribute("style",t);return e.setAttribute("style",t),()=>{e.setAttribute("style",n||"")}}function xm(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ur(e,t=()=>{}){let n=!1;return function(){n?t.apply(this,arguments):(n=!0,e.apply(this,arguments))}}re("transition",(e,{value:t,modifiers:n,expression:i},{evaluate:r})=>{typeof i=="function"&&(i=r(i)),i!==!1&&(!i||typeof i=="boolean"?Tm(e,n,t):Em(e,i,t))});function Em(e,t,n){Sl(e,Jr,""),{enter:r=>{e._x_transition.enter.during=r},"enter-start":r=>{e._x_transition.enter.start=r},"enter-end":r=>{e._x_transition.enter.end=r},leave:r=>{e._x_transition.leave.during=r},"leave-start":r=>{e._x_transition.leave.start=r},"leave-end":r=>{e._x_transition.leave.end=r}}[n](t)}function Tm(e,t,n){Sl(e,oi);let i=!t.includes("in")&&!t.includes("out")&&!n,r=i||t.includes("in")||["enter"].includes(n),s=i||t.includes("out")||["leave"].includes(n);t.includes("in")&&!i&&(t=t.filter((m,y)=>y<t.indexOf("out"))),t.includes("out")&&!i&&(t=t.filter((m,y)=>y>t.indexOf("out")));let a=!t.includes("opacity")&&!t.includes("scale"),o=a||t.includes("opacity"),l=a||t.includes("scale"),f=o?0:1,c=l?Ut(t,"scale",95)/100:1,d=Ut(t,"delay",0)/1e3,p=Ut(t,"origin","center"),u="opacity, transform",h=Ut(t,"duration",150)/1e3,g=Ut(t,"duration",75)/1e3,v="cubic-bezier(0.4, 0.0, 0.2, 1)";r&&(e._x_transition.enter.during={transformOrigin:p,transitionDelay:`${d}s`,transitionProperty:u,transitionDuration:`${h}s`,transitionTimingFunction:v},e._x_transition.enter.start={opacity:f,transform:`scale(${c})`},e._x_transition.enter.end={opacity:1,transform:"scale(1)"}),s&&(e._x_transition.leave.during={transformOrigin:p,transitionDelay:`${d}s`,transitionProperty:u,transitionDuration:`${g}s`,transitionTimingFunction:v},e._x_transition.leave.start={opacity:1,transform:"scale(1)"},e._x_transition.leave.end={opacity:f,transform:`scale(${c})`})}function Sl(e,t,n={}){e._x_transition||(e._x_transition={enter:{during:n,start:n,end:n},leave:{during:n,start:n,end:n},in(i=()=>{},r=()=>{}){dr(e,t,{during:this.enter.during,start:this.enter.start,end:this.enter.end},i,r)},out(i=()=>{},r=()=>{}){dr(e,t,{during:this.leave.during,start:this.leave.start,end:this.leave.end},i,r)}})}window.Element.prototype._x_toggleAndCascadeWithTransitions=function(e,t,n,i){const r=document.visibilityState==="visible"?requestAnimationFrame:setTimeout;let s=()=>r(n);if(t){e._x_transition&&(e._x_transition.enter||e._x_transition.leave)?e._x_transition.enter&&(Object.entries(e._x_transition.enter.during).length||Object.entries(e._x_transition.enter.start).length||Object.entries(e._x_transition.enter.end).length)?e._x_transition.in(n):s():e._x_transition?e._x_transition.in(n):s();return}e._x_hidePromise=e._x_transition?new Promise((a,o)=>{e._x_transition.out(()=>{},()=>a(i)),e._x_transitioning&&e._x_transitioning.beforeCancel(()=>o({isFromCancelledTransition:!0}))}):Promise.resolve(i),queueMicrotask(()=>{let a=xl(e);a?(a._x_hideChildren||(a._x_hideChildren=[]),a._x_hideChildren.push(e)):r(()=>{let o=l=>{let f=Promise.all([l._x_hidePromise,...(l._x_hideChildren||[]).map(o)]).then(([c])=>c==null?void 0:c());return delete l._x_hidePromise,delete l._x_hideChildren,f};o(e).catch(l=>{if(!l.isFromCancelledTransition)throw l})})})};function xl(e){let t=e.parentNode;if(t)return t._x_hidePromise?t:xl(t)}function dr(e,t,{during:n,start:i,end:r}={},s=()=>{},a=()=>{}){if(e._x_transitioning&&e._x_transitioning.cancel(),Object.keys(n).length===0&&Object.keys(i).length===0&&Object.keys(r).length===0){s(),a();return}let o,l,f;Cm(e,{start(){o=t(e,i)},during(){l=t(e,n)},before:s,end(){o(),f=t(e,r)},after:a,cleanup(){l(),f()}})}function Cm(e,t){let n,i,r,s=ur(()=>{Q(()=>{n=!0,i||t.before(),r||(t.end(),cr()),t.after(),e.isConnected&&t.cleanup(),delete e._x_transitioning})});e._x_transitioning={beforeCancels:[],beforeCancel(a){this.beforeCancels.push(a)},cancel:ur(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();s()}),finish:s},Q(()=>{t.start(),t.during()}),vm(),requestAnimationFrame(()=>{if(n)return;let a=Number(getComputedStyle(e).transitionDuration.replace(/,.*/,"").replace("s",""))*1e3,o=Number(getComputedStyle(e).transitionDelay.replace(/,.*/,"").replace("s",""))*1e3;a===0&&(a=Number(getComputedStyle(e).animationDuration.replace("s",""))*1e3),Q(()=>{t.before()}),i=!0,requestAnimationFrame(()=>{n||(Q(()=>{t.end()}),cr(),setTimeout(e._x_transitioning.finish,a+o),r=!0)})})}function Ut(e,t,n){if(e.indexOf(t)===-1)return n;const i=e[e.indexOf(t)+1];if(!i||t==="scale"&&isNaN(i))return n;if(t==="duration"||t==="delay"){let r=i.match(/([0-9]+)ms/);if(r)return r[1]}
12return t==="origin"&&["top","right","left","center","bottom"].includes(e[e.indexOf(t)+2])?[i,e[e.indexOf(t)+2]].join(" "):i}var Je=!1;function et(e,t=()=>{}){return(...n)=>Je?t(...n):e(...n)}function Mm(e){return(...t)=>Je&&e(...t)}var El=[];function li(e){El.push(e)}function _m(e,t){El.forEach(n=>n(e,t)),Je=!0,Tl(()=>{Be(t,(n,i)=>{i(n,()=>{})})}),Je=!1}var fr=!1;function Am(e,t){t._x_dataStack||(t._x_dataStack=e._x_dataStack),Je=!0,fr=!0,Tl(()=>{Pm(t)}),Je=!1,fr=!1}function Pm(e){let t=!1;Be(e,(i,r)=>{gt(i,(s,a)=>{if(t&&hm(s))return a();t=!0,r(s,a)})})}function Tl(e){let t=St;Qs((n,i)=>{let r=t(n);return Bt(r),()=>{}}),e(),Qs(t)}function Cl(e,t,n,i=[]){switch(e._x_bindings||(e._x_bindings=Nt({})),e._x_bindings[t]=n,t=i.includes("camel")?zm(t):t,t){case"value":wm(e,n);break;case"style":Lm(e,n);break;case"class":Im(e,n);break;case"selected":case"checked":Om(e,t,n);break;default:Ml(e,t,n);break}}function wm(e,t){if(Pl(e))e.attributes.value===void 0&&(e.value=t),window.fromModel&&(typeof t=="boolean"?e.checked=Gn(e.value)===t:e.checked=na(e.value,t));else if(Qr(e))Number.isInteger(t)?e.value=t:!Array.isArray(t)&&typeof t!="boolean"&&![null,void 0].includes(t)?e.value=String(t):Array.isArray(t)?e.checked=t.some(n=>na(n,e.value)):e.checked=!!t;else if(e.tagName==="SELECT")Fm(e,t);else{if(e.value===t)return;e.value=t===void 0?"":t}}function Im(e,t){e._x_undoAddedClasses&&e._x_undoAddedClasses(),e._x_undoAddedClasses=Jr(e,t)}function Lm(e,t){e._x_undoAddedStyles&&e._x_undoAddedStyles(),e._x_undoAddedStyles=oi(e,t)}function Om(e,t,n){Ml(e,t,n),Dm(e,t,n)}function Ml(e,t,n){[null,void 0,!1].includes(n)&&Vm(t)?e.removeAttribute(t):(_l(t)&&(n=t),km(e,t,n))}function km(e,t,n){e.getAttribute(t)!=n&&e.setAttribute(t,n)}function Dm(e,t,n){e[t]!==n&&(e[t]=n)}function Fm(e,t){const n=[].concat(t).map(i=>i+"");Array.from(e.options).forEach(i=>{i.selected=n.includes(i.value)})}function zm(e){return e.toLowerCase().replace(/-(\w)/g,(t,n)=>n.toUpperCase())}function na(e,t){return e==t}function Gn(e){return[1,"1","true","on","yes",!0].includes(e)?!0:[0,"0","false","off","no",!1].includes(e)?!1:e?!!e:null}var Rm=new Set(["allowfullscreen","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","inert","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","shadowrootclonable","shadowrootdelegatesfocus","shadowrootserializable"]);function _l(e){return Rm.has(e)}function Vm(e){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(e)}function $m(e,t,n){return e._x_bindings&&e._x_bindings[t]!==void 0?e._x_bindings[t]:Al(e,t,n)}function Nm(e,t,n,i=!0){if(e._x_bindings&&e._x_bindings[t]!==void 0)return e._x_bindings[t];if(e._x_inlineBindings&&e._x_inlineBindings[t]!==void 0){let r=e._x_inlineBindings[t];return r.extract=i,tl(()=>dt(e,r.expression))}return Al(e,t,n)}function Al(e,t,n){let i=e.getAttribute(t);return i===null?typeof n=="function"?n():n:i===""?!0:_l(t)?!![t,"true"].includes(i):i}function Qr(e){return e.type==="checkbox"||e.localName==="ui-checkbox"||e.localName==="ui-switch"}function Pl(e){return e.type==="radio"||e.localName==="ui-radio"}function wl(e,t){let n;return function(){const i=this,r=arguments,s=function(){n=null,e.apply(i,r)};clearTimeout(n),n=setTimeout(s,t)}}function Il(e,t){let n;return function(){let i=this,r=arguments;n||(e.apply(i,r),n=!0,setTimeout(()=>n=!1,t))}}function Ll({get:e,set:t},{get:n,set:i}){let r=!0,s,a=St(()=>{let o=e(),l=n();if(r)i(Li(o)),r=!1;else{let f=JSON.stringify(o),c=JSON.stringify(l);f!==s?i(Li(o)):f!==c&&t(Li(l))}s=JSON.stringify(e()),JSON.stringify(n())});return()=>{Bt(a)}}function Li(e){return typeof e=="object"?JSON.parse(JSON.stringify(e)):e}function Bm(e){(Array.isArray(e)?e:[e]).forEach(n=>n(qt))}var rt={},ia=!1;function Hm(e,t){if(ia||(rt=Nt(rt),ia=!0),t===void 0)return rt[e];rt[e]=t,Wr(rt[e]),typeof t=="object"&&t!==null&&t.hasOwnProperty("init")&&typeof t.init=="function"&&rt[e].init()}function Gm(){return rt}var Ol={};function qm(e,t){let n=typeof t!="function"?()=>t:t;return e instanceof Element?kl(e,n()):(Ol[e]=n,()=>{})}function Wm(e){return Object.entries(Ol).forEach(([t,n])=>{Object.defineProperty(e,t,{get(){return(...i)=>n(...i)}})}),e}function kl(e,t,n){let i=[];for(;i.length;)i.pop()();let r=Object.entries(t).map(([a,o])=>({name:a,value:o})),s=sl(r);return r=r.map(a=>s.find(o=>o.name===a.name)?{name:`x-bind:${a.name}`,value:`"${a.value}"`}:a),jr(e,r,n).map(a=>{i.push(a.runCleanups),a()}),()=>{for(;i.length;)i.pop()()}}var Dl={};function Ym(e,t){Dl[e]=t}function jm(e,t){return Object.entries(Dl).forEach(([n,i])=>{Object.defineProperty(e,n,{get(){return(...r)=>i.bind(t)(...r)},enumerable:!1})}),e}var Xm={get reactive(){return Nt},get release(){return Bt},get effect(){return St},get raw(){return Ho},get transaction(){return Np},version:"3.15.8",flushAndStopDeferringMutations:Wp,dontAutoEvaluateFunctions:tl,disableEffectScheduling:Rp,startObservingMutations:Hr,stopObservingMutations:Uo,setReactivityEngine:Vp,onAttributeRemoved:Xo,onAttributesAdded:jo,closestDataStack:pt,skipDuringClone:et,onlyDuringClone:Mm,addRootSelector:vl,addInitSelector:yl,setErrorHandler:Zp,interceptClone:li,addScopeToNode:yn,deferMutations:qp,mapAttributes:Xr,evaluateLater:me,interceptInit:pm,initInterceptors:Wr,injectMagics:fn,setEvaluator:Qp,setRawEvaluator:em,mergeProxies:mt,extractProp:Nm,findClosest:vt,onElRemoved:$r,closestRoot:ai,destroyTree:Gt,interceptor:Jo,transition:dr,setStyles:oi,mutateDom:Q,directive:re,entangle:Ll,throttle:Il,debounce:wl,evaluate:dt,evaluateRaw:rm,initTree:Be,nextTick:Zr,prefixed:Ht,prefix:am,plugin:Bm,magic:Le,store:Hm,start:fm,clone:Am,cloneNode:_m,bound:$m,$data:Zo,watch:Go,walk:gt,data:Ym,bind:qm},qt=Xm;function Km(e,t){const n=Object.create(null),i=e.split(",");for(let r=0;r<i.length;r++)n[i[r]]=!0;return r=>!!n[r]}var Um=Object.freeze({}),Zm=Object.prototype.hasOwnProperty,ci=(e,t)=>Zm.call(e,t),ft=Array.isArray,on=e=>Fl(e)==="[object Map]",Jm=e=>typeof e=="string",es=e=>typeof e=="symbol",ui=e=>e!==null&&typeof e=="object",Qm=Object.prototype.toString,Fl=e=>Qm.call(e),zl=e=>Fl(e).slice(8,-1),ts=e=>Jm(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,eg=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},tg=eg(e=>e.charAt(0).toUpperCase()+e.slice(1)),Rl=(e,t)=>e!==t&&(e===e||t===t),hr=new WeakMap,Zt=[],Oe,ht=Symbol("iterate"),pr=Symbol("Map key iterate");function ng(e){return e&&e._isEffect===!0}
12function ig(e,t=Um){ng(e)&&(e=e.raw);const n=ag(e,t);return t.lazy||n(),n}function rg(e){e.active&&(Vl(e),e.options.onStop&&e.options.onStop(),e.active=!1)}var sg=0;function ag(e,t){const n=function(){if(!n.active)return e();if(!Zt.includes(n)){Vl(n);try{return lg(),Zt.push(n),Oe=n,e()}finally{Zt.pop(),$l(),Oe=Zt[Zt.length-1]}}};return n.id=sg++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}function Vl(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}var kt=!0,ns=[];function og(){ns.push(kt),kt=!1}function lg(){ns.push(kt),kt=!0}function $l(){const e=ns.pop();kt=e===void 0?!0:e}function Ie(e,t,n){if(!kt||Oe===void 0)return;let i=hr.get(e);i||hr.set(e,i=new Map);let r=i.get(n);r||i.set(n,r=new Set),r.has(Oe)||(r.add(Oe),Oe.deps.push(r),Oe.options.onTrack&&Oe.options.onTrack({effect:Oe,target:e,type:t,key:n}))}function Qe(e,t,n,i,r,s){const a=hr.get(e);if(!a)return;const o=new Set,l=c=>{c&&c.forEach(d=>{(d!==Oe||d.allowRecurse)&&o.add(d)})};
12if(t==="clear")a.forEach(l);else if(n==="length"&&ft(e))a.forEach((c,d)=>{(d==="length"||d>=i)&&l(c)});else switch(n!==void 0&&l(a.get(n)),t){case"add":ft(e)?ts(n)&&l(a.get("length")):(l(a.get(ht)),on(e)&&l(a.get(pr)));break;case"delete":ft(e)||(l(a.get(ht)),on(e)&&l(a.get(pr)));break;case"set":on(e)&&l(a.get(ht));break}const f=c=>{c.options.onTrigger&&c.options.onTrigger({effect:c,target:e,key:n,type:t,newValue:i,oldValue:r,oldTarget:s}),c.options.scheduler?c.options.scheduler(c):c()};o.forEach(f)}var cg=Km("__proto__,__v_isRef,__isVue"),Nl=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(es)),ug=Bl(),dg=Bl(!0),ra=fg();function fg(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const i=Z(this);for(let s=0,a=this.length;s<a;s++)Ie(i,"get",s+"");const r=i[t](...n);return r===-1||r===!1?i[t](...n.map(Z)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){og();const i=Z(this)[t].apply(this,n);return $l(),i}}),e}function Bl(e=!1,t=!1){return function(i,r,s){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_raw"&&s===(e?t?_g:Wl:t?Mg:ql).get(i))return i;const a=ft(i);if(!e&&a&&ci(ra,r))return Reflect.get(ra,r,s);const o=Reflect.get(i,r,s);return(es(r)?Nl.has(r):cg(r))||(e||Ie(i,"get",r),t)?o:mr(o)?!a||!ts(r)?o.value:o:ui(o)?e?Yl(o):as(o):o}}var hg=pg();function pg(e=!1){return function(n,i,r,s){let a=n[i];if(!e&&(r=Z(r),a=Z(a),!ft(n)&&mr(a)&&!mr(r)))return a.value=r,!0;const o=ft(n)&&ts(i)?Number(i)<n.length:ci(n,i),l=Reflect.set(n,i,r,s);return n===Z(s)&&(o?Rl(r,a)&&Qe(n,"set",i,r,a):Qe(n,"add",i,r)),l}}function mg(e,t){const n=ci(e,t),i=e[t],r=Reflect.deleteProperty(e,t);return r&&n&&Qe(e,"delete",t,void 0,i),r}function gg(e,t){const n=Reflect.has(e,t);return(!es(t)||!Nl.has(t))&&Ie(e,"has",t),n}function vg(e){return Ie(e,"iterate",ft(e)?"length":ht),Reflect.ownKeys(e)}var yg={get:ug,set:hg,deleteProperty:mg,has:gg,ownKeys:vg},bg={get:dg,set(e,t){return console.warn(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0},deleteProperty(e,t){return console.warn(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}},is=e=>ui(e)?as(e):e,rs=e=>ui(e)?Yl(e):e,ss=e=>e,di=e=>Reflect.getPrototypeOf(e);function Ln(e,t,n=!1,i=!1){e=e.__v_raw;const r=Z(e),s=Z(t);t!==s&&!n&&Ie(r,"get",t),!n&&Ie(r,"get",s);const{has:a}=di(r),o=i?ss:n?rs:is;if(a.call(r,t))return o(e.get(t));if(a.call(r,s))return o(e.get(s));e!==r&&e.get(t)}function On(e,t=!1){const n=this.__v_raw,i=Z(n),r=Z(e);return e!==r&&!t&&Ie(i,"has",e),!t&&Ie(i,"has",r),e===r?n.has(e):n.has(e)||n.has(r)}function kn(e,t=!1){return e=e.__v_raw,!t&&Ie(Z(e),"iterate",ht),Reflect.get(e,"size",e)}function sa(e){e=Z(e);const t=Z(this);return di(t).has.call(t,e)||(t.add(e),Qe(t,"add",e,e)),this}
12function aa(e,t){t=Z(t);const n=Z(this),{has:i,get:r}=di(n);let s=i.call(n,e);s?Gl(n,i,e):(e=Z(e),s=i.call(n,e));const a=r.call(n,e);return n.set(e,t),s?Rl(t,a)&&Qe(n,"set",e,t,a):Qe(n,"add",e,t),this}function oa(e){const t=Z(this),{has:n,get:i}=di(t);let r=n.call(t,e);r?Gl(t,n,e):(e=Z(e),r=n.call(t,e));const s=i?i.call(t,e):void 0,a=t.delete(e);return r&&Qe(t,"delete",e,void 0,s),a}function la(){const e=Z(this),t=e.size!==0,n=on(e)?new Map(e):new Set(e),i=e.clear();return t&&Qe(e,"clear",void 0,void 0,n),i}function Dn(e,t){return function(i,r){const s=this,a=s.__v_raw,o=Z(a),l=t?ss:e?rs:is;return!e&&Ie(o,"iterate",ht),a.forEach((f,c)=>i.call(r,l(f),l(c),s))}}function Fn(e,t,n){return function(...i){const r=this.__v_raw,s=Z(r),a=on(s),o=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,f=r[e](...i),c=n?ss:t?rs:is;return!t&&Ie(s,"iterate",l?pr:ht),{next(){const{value:d,done:p}=f.next();return p?{value:d,done:p}:{value:o?[c(d[0]),c(d[1])]:c(d),done:p}},[Symbol.iterator](){return this}}}}function qe(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${tg(e)} operation ${n}failed: target is readonly.`,Z(this))}return e==="delete"?!1:this}}function Sg(){const e={get(s){return Ln(this,s)},get size(){return kn(this)},has:On,add:sa,set:aa,delete:oa,clear:la,forEach:Dn(!1,!1)},t={get(s){return Ln(this,s,!1,!0)},get size(){return kn(this)},has:On,add:sa,set:aa,delete:oa,clear:la,forEach:Dn(!1,!0)},n={get(s){return Ln(this,s,!0)},get size(){return kn(this,!0)},has(s){return On.call(this,s,!0)},add:qe("add"),set:qe("set"),delete:qe("delete"),clear:qe("clear"),forEach:Dn(!0,!1)},i={get(s){return Ln(this,s,!0,!0)},get size(){return kn(this,!0)},has(s){return On.call(this,s,!0)},add:qe("add"),set:qe("set"),delete:qe("delete"),clear:qe("clear"),forEach:Dn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Fn(s,!1,!1),n[s]=Fn(s,!0,!1),t[s]=Fn(s,!1,!0),i[s]=Fn(s,!0,!0)}),[e,n,t,i]}var[xg,Eg]=Sg();function Hl(e,t){const n=e?Eg:xg;return(i,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?i:Reflect.get(ci(n,r)&&r in i?n:i,r,s)}var Tg={get:Hl(!1)},Cg={get:Hl(!0)};function Gl(e,t,n){const i=Z(n);if(i!==n&&t.call(e,i)){const r=zl(e);console.warn(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}var ql=new WeakMap,Mg=new WeakMap,Wl=new WeakMap,_g=new WeakMap;function Ag(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Pg(e){return e.__v_skip||!Object.isExtensible(e)?0:Ag(zl(e))}function as(e){return e&&e.__v_isReadonly?e:jl(e,!1,yg,Tg,ql)}function Yl(e){return jl(e,!0,bg,Cg,Wl)}function jl(e,t,n,i,r){if(!ui(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const a=Pg(e);if(a===0)return e;const o=new Proxy(e,a===2?i:n);return r.set(e,o),o}function Z(e){return e&&Z(e.__v_raw)||e}function mr(e){return!!(e&&e.__v_isRef===!0)}Le("nextTick",()=>Zr);Le("dispatch",e=>an.bind(an,e));Le("watch",(e,{evaluateLater:t,cleanup:n})=>(i,r)=>{let s=t(i),o=Go(()=>{let l;return s(f=>l=f),l},r);n(o)});Le("store",Gm);Le("data",e=>Zo(e));Le("root",e=>ai(e));Le("refs",e=>(e._x_refs_proxy||(e._x_refs_proxy=mt(wg(e))),e._x_refs_proxy));function wg(e){let t=[];return vt(e,n=>{n._x_refs&&t.push(n._x_refs)}),t}var Oi={};function Xl(e){return Oi[e]||(Oi[e]=0),++Oi[e]}function Ig(e,t){return vt(e,n=>{if(n._x_ids&&n._x_ids[t])return!0})}function Lg(e,t){e._x_ids||(e._x_ids={}),e._x_ids[t]||(e._x_ids[t]=Xl(t))}Le("id",(e,{cleanup:t})=>(n,i=null)=>{let r=`${n}${i?`-${i}`:""}`;return Og(e,r,t,()=>{let s=Ig(e,n),a=s?s._x_ids[n]:Xl(n);return i?`${n}-${a}-${i}`:`${n}-${a}`})});li((e,t)=>{e._x_id&&(t._x_id=e._x_id)});function Og(e,t,n,i){if(e._x_id||(e._x_id={}),e._x_id[t])return e._x_id[t];let r=i();return e._x_id[t]=r,n(()=>{delete e._x_id[t]}),r}Le("el",e=>e);Kl("Focus","focus","focus");Kl("Persist","persist","persist");function Kl(e,t,n){Le(t,i=>Me(`You can't use [$${t}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${n}`,i))}re("modelable",(e,{expression:t},{effect:n,evaluateLater:i,cleanup:r})=>{let s=i(t),a=()=>{let c;return s(d=>c=d),c},o=i(`${t} = __placeholder`),l=c=>o(()=>{},{scope:{__placeholder:c}}),f=a();l(f),queueMicrotask(()=>
vendor: 5,954 bytes, line 12
12{if(!e._x_model)return;e._x_removeModelListeners.default();let c=e._x_model.get,d=e._x_model.set,p=Ll({get(){return c()},set(u){d(u)}},{get(){return a()},set(u){l(u)}});r(p)})});re("teleport",(e,{modifiers:t,expression:n},{cleanup:i})=>{e.tagName.toLowerCase()!=="template"&&Me("x-teleport can only be used on a <template> tag",e);let r=ca(n),s=e.content.cloneNode(!0).firstElementChild;e._x_teleport=s,s._x_teleportBack=e,e.setAttribute("data-teleport-template",!0),s.setAttribute("data-teleport-target",!0),e._x_forwardEvents&&e._x_forwardEvents.forEach(o=>{s.addEventListener(o,l=>{l.stopPropagation(),e.dispatchEvent(new l.constructor(l.type,l))})}),yn(s,{},e);let a=(o,l,f)=>{f.includes("prepend")?l.parentNode.insertBefore(o,l):f.includes("append")?l.parentNode.insertBefore(o,l.nextSibling):l.appendChild(o)};Q(()=>{a(s,r,t),et(()=>{Be(s)})()}),e._x_teleportPutBack=()=>{let o=ca(n);Q(()=>{a(e._x_teleport,o,t)})},i(()=>Q(()=>{s.remove(),Gt(s)}))});var kg=document.createElement("div");function ca(e){let t=et(()=>document.querySelector(e),()=>kg)();return t||Me(`Cannot find x-teleport element for selector: "${e}"`),t}var Ul=()=>{};Ul.inline=(e,{modifiers:t},{cleanup:n})=>{t.includes("self")?e._x_ignoreSelf=!0:e._x_ignore=!0,n(()=>{t.includes("self")?delete e._x_ignoreSelf:delete e._x_ignore})};re("ignore",Ul);re("effect",et((e,{expression:t},{effect:n})=>{n(me(e,t))}));function Mt(e,t,n,i){let r=e,s=l=>i(l),a={},o=(l,f)=>c=>f(l,c);if(n.includes("dot")&&(t=Dg(t)),n.includes("camel")&&(t=Fg(t)),n.includes("passive")&&(a.passive=!0),n.includes("capture")&&(a.capture=!0),n.includes("window")&&(r=window),n.includes("document")&&(r=document),n.includes("debounce")){let l=n[n.indexOf("debounce")+1]||"invalid-wait",f=ei(l.split("ms")[0])?Number(l.split("ms")[0]):250;s=wl(s,f)}if(n.includes("throttle")){let l=n[n.indexOf("throttle")+1]||"invalid-wait",f=ei(l.split("ms")[0])?Number(l.split("ms")[0]):250;s=Il(s,f)}return n.includes("prevent")&&(s=o(s,(l,f)=>{f.preventDefault(),l(f)})),n.includes("stop")&&(s=o(s,(l,f)=>{f.stopPropagation(),l(f)})),n.includes("once")&&(s=o(s,(l,f)=>{l(f),r.removeEventListener(t,s,a)})),(n.includes("away")||n.includes("outside"))&&(r=document,s=o(s,(l,f)=>{e.contains(f.target)||f.target.isConnected!==!1&&(e.offsetWidth<1&&e.offsetHeight<1||e._x_isShown!==!1&&l(f))})),n.includes("self")&&(s=o(s,(l,f)=>{f.target===e&&l(f)})),t==="submit"&&(s=o(s,(l,f)=>{f.target._x_pendingModelUpdates&&f.target._x_pendingModelUpdates.forEach(c=>c()),l(f)})),(Rg(t)||Zl(t))&&(s=o(s,(l,f)=>{Vg(f,n)||l(f)})),r.addEventListener(t,s,a),()=>{r.removeEventListener(t,s,a)}}function Dg(e){return e.replace(/-/g,".")}function Fg(e){return e.toLowerCase().replace(/-(\w)/g,(t,n)=>n.toUpperCase())}function ei(e){return!Array.isArray(e)&&!isNaN(e)}function zg(e){return[" ","_"].includes(e)?e:e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase()}function Rg(e){return["keydown","keyup"].includes(e)}function Zl(e){return["contextmenu","click","mouse"].some(t=>e.includes(t))}function Vg(e,t){let n=t.filter(s=>!["window","document","prevent","stop","once","capture","self","away","outside","passive","preserve-scroll","blur","change","lazy"].includes(s));if(n.includes("debounce")){let s=n.indexOf("debounce");n.splice(s,ei((n[s+1]||"invalid-wait").split("ms")[0])?2:1)}if(n.includes("throttle")){let s=n.indexOf("throttle");n.splice(s,ei((n[s+1]||"invalid-wait").split("ms")[0])?2:1)}if(n.length===0||n.length===1&&ua(e.key).includes(n[0]))return!1;const r=["ctrl","shift","alt","meta","cmd","super"].filter(s=>n.includes(s));return n=n.filter(s=>!r.includes(s)),!(r.length>0&&r.filter(a=>((a==="cmd"||a==="super")&&(a="meta"),e[`${a}Key`])).length===r.length&&(Zl(e.type)||ua(e.key).includes(n[0])))}function ua(e){if(!e)return[];e=zg(e);let t={ctrl:"control",slash:"/",space:" ",spacebar:" ",cmd:"meta",esc:"escape",up:"arrow-up",down:"arrow-down",left:"arrow-left",right:"arrow-right",period:".",comma:",",equal:"=",minus:"-",underscore:"_"};return t[e]=e,Object.keys(t).map(n=>{if(t[n]===e)return n}).filter(n=>n)}re("model",(e,{modifiers:t,expression:n},{effect:i,cleanup:r})=>{let s=e;t.includes("parent")&&(s=e.parentNode);let a=me(s,n),o;typeof n=="string"?o=me(s,`${n} = __placeholder`):typeof n=="function"&&typeof n()=="string"?o=me(s,`${n()} = __placeholder`):o=()=>{};let l=()=>{let g;return a(v=>g=v),da(g)?g.get():g},f=g=>{let v;a(m=>v=m),da(v)?v.set(g):o(()=>{},{scope:{__placeholder:g}})};typeof n=="string"&&e.type==="radio"&&Q(()=>{e.hasAttribute("name")||e.setAttribute("name",n)});let c=t.includes("change")||t.includes("lazy"),d=t.includes("blur"),p=t.includes("enter"),u=c||d||p,h;if(Je)h=()=>{};else if(u){let g=[],v=m=>f(zn(e,t,m,l()));if(c&&g.push(Mt(e,"change",t,v)),d&&(g.push(Mt(e,"blur",t,v)),e.form)){let m=()=>v({target:e});e.form._x_pendingModelUpdates||(e.form._x_pendingModelUpdates=[]),e.form._x_pendingModelUpdates.push(m),r(()=>e.form._x_pendingModelUpdates.splice(e.form._x_pendingModelUpdates.indexOf(m),1))}p&&g.push(Mt(e,"keydown",t,m=>{m.key==="Enter"&&v(m)})),h=()=>g.forEach(m=>m())}else{let g=e.tagName.toLowerCase()==="select"||["checkbox","radio"].includes(e.type)?"change":"input";h=Mt(e,g,t,v=>{f(zn(e,t,v,l()))})}if(t.includes("fill")&&([void 0,null,""].includes(l())||Qr(e)&&Array.isArray(l())||e.tagName.toLowerCase()==="select"&&e.multiple)&&f(zn(e,t,{target:e},l())),e._x_removeModelListeners||(e._x_removeModelListeners={}),e._x_removeModelListeners.default=h,r(()=>e._x_removeModelListeners.default()),e.form){let g=Mt(e.form,"reset",[],v=>{Zr(()=>e._x_model&&e._x_model.set(zn(e,t,{target:e},l())))});r(()=>g())}e._x_model={get(){return l()},set(g){f(g)}},e._x_forceModelUpdate=g=>{g===void 0&&typeof n=="string"&&n.match(/\./)&&(g=""),window.fromModel=!0,Q(()=>Cl(e,"value",g)),delete window.fromModel},i(()=>{let g=l();t.includes("unintrusive")&&document.activeElement.isSameNode(e)||e._x_forceModelUpdate(g)})});function zn(e,t,n,i){return Q(()=>
12{if(n instanceof CustomEvent&&n.detail!==void 0)return n.detail!==null&&n.detail!==void 0?n.detail:n.target.value;if(Qr(e))if(Array.isArray(i)){let r=null;return t.includes("number")?r=ki(n.target.value):t.includes("boolean")?r=Gn(n.target.value):r=n.target.value,n.target.checked?i.includes(r)?i:i.concat([r]):i.filter(s=>!$g(s,r))}else return n.target.checked;else{if(e.tagName.toLowerCase()==="select"&&e.multiple)return t.includes("number")?Array.from(n.target.selectedOptions).map(r=>{let s=r.value||r.text;return ki(s)}):t.includes("boolean")?Array.from(n.target.selectedOptions).map(r=>{let s=r.value||r.text;return Gn(s)}):Array.from(n.target.selectedOptions).map(r=>r.value||r.text);{let r;return Pl(e)?n.target.checked?r=n.target.value:r=i:r=n.target.value,t.includes("number")?ki(r):t.includes("boolean")?Gn(r):t.includes("trim")?r.trim():r}}})}function ki(e){let t=e?parseFloat(e):null;return Ng(t)?t:e}function $g(e,t){return e==t}function Ng(e){return!Array.isArray(e)&&!isNaN(e)}function da(e){return e!==null&&typeof e=="object"&&typeof e.get=="function"&&typeof e.set=="function"}re("cloak",e=>queueMicrotask(()=>Q(()=>e.removeAttribute(Ht("cloak")))));yl(()=>`[${Ht("init")}]`);re("init",et((e,{expression:t},{evaluate:n})=>typeof t=="string"?!!t.trim()&&n(t,{},!1):n(t,{},!1)));re("text",(e,{expression:t},{effect:n,evaluateLater:i})=>{let r=i(t);n(()=>{r(s=>{Q(()=>{e.textContent=s})})})});re("html",(e,{expression:t},{effect:n,evaluateLater:i})=>{let r=i(t);n(()=>{r(s=>{Q(()=>{e.innerHTML=s,e._x_ignoreSelf=!0,Be(e),delete e._x_ignoreSelf})})})});Xr(ll(":",cl(Ht("bind:"))));var Jl=(e,{value:t,modifiers:n,expression:i,original:r},{effect:s,cleanup:a})=>{if(!t){let l={};Wm(l),me(e,i)(c=>{kl(e,c,r)},{scope:l});return}if(t==="key")return Bg(e,i);if(e._x_inlineBindings&&e._x_inlineBindings[t]&&e._x_inlineBindings[t].extract)return;let o=me(e,i);s(()=>o(l=>{l===void 0&&typeof i=="string"&&i.match(/\./)&&(l=""),Q(()=>Cl(e,t,l,n))})),a(()=>{e._x_undoAddedClasses&&e._x_undoAddedClasses(),e._x_undoAddedStyles&&e._x_undoAddedStyles()})};Jl.inline=(e,{value:t,modifiers:n,expression:i})=>{t&&(e._x_inlineBindings||(e._x_inlineBindings={}),e._x_inlineBindings[t]={expression:i,extract:!1})};re("bind",Jl);function Bg(e,t){e._x_keyExpression=t}vl(()=>`[${Ht("data")}]`);re("data",(e,{expression:t},{cleanup:n})=>{if(Hg(e))return;t=t===""?"{}":t;let i={};fn(i,e);let r={};jm(r,i);let s=dt(e,t,{scope:r});(s===void 0||s===!0)&&(s={}),fn(s,e);let a=Nt(s);Wr(a);let o=yn(e,a);a.init&&dt(e,a.init),n(()=>{a.destroy&&dt(e,a.destroy),o()})});li((e,t)=>{e._x_dataStack&&(t._x_dataStack=e._x_dataStack,t.setAttribute("data-has-alpine-state",!0))});function Hg(e){return Je?fr?!0:e.hasAttribute("data-has-alpine-state"):!1}re("show",(e,{modifiers:t,expression:n},{effect:i})=>{let r=me(e,n);e._x_doHide||(e._x_doHide=()=>{Q(()=>{e.style.setProperty("display","none",t.includes("important")?"important":void 0)})}),e._x_doShow||(e._x_doShow=()=>{Q(()=>{e.style.length===1&&e.style.display==="none"?e.removeAttribute("style"):e.style.removeProperty("display")})});let s=()=>{e._x_doHide(),e._x_isShown=!1},a=()=>{e._x_doShow(),e._x_isShown=!0},o=()=>setTimeout(a),l=ur(d=>d?a():s(),d=>{typeof e._x_toggleAndCascadeWithTransitions=="function"?e._x_toggleAndCascadeWithTransitions(e,d,a,s):d?o():s()}),f,c=!0;i(()=>r(d=>{!c&&d===f||(t.includes("immediate")&&(d?o():s()),l(d),f=d,c=!1)}))});re("for",(e,{expression:t},{effect:n,cleanup:i})=>{let r=qg(t),s=me(e,r.items),a=me(e,e._x_keyExpression||"index");e._x_prevKeys=[],e._x_lookup={},n(()=>Gg(e,r,s,a)),i(()=>{Object.values(e._x_lookup).forEach(o=>Q(()=>{Gt(o),o.remove()})),delete e._x_prevKeys,delete e._x_lookup})});function Gg(e,t,n,i){let r=a=>typeof a=="object"&&!Array.isArray(a),s=e;n(a=>{Wg(a)&&a>=0&&(a=Array.from(Array(a).keys(),v=>v+1)),a===void 0&&(a=[]);let o=e._x_lookup,l=e._x_prevKeys,f=[],c=[];if(r(a))a=Object.entries(a).map(([v,m])=>{let y=fa(t,m,v,a);i(b=>{c.includes(b)&&Me("Duplicate key on x-for",e),c.push(b)},{scope:{index:v,...y}}),f.push(y)});else for(let v=0;v<a.length;v++){let m=fa(t,a[v],v,a);i(y=>{c.includes(y)&&Me("Duplicate key on x-for",e),c.push(y)},{scope:{index:v,...m}}
12),f.push(m)}let d=[],p=[],u=[],h=[];for(let v=0;v<l.length;v++){let m=l[v];c.indexOf(m)===-1&&u.push(m)}l=l.filter(v=>!u.includes(v));let g="template";for(let v=0;v<c.length;v++){let m=c[v],y=l.indexOf(m);if(y===-1)l.splice(v,0,m),d.push([g,v]);else if(y!==v){let b=l.splice(v,1)[0],M=l.splice(y-1,1)[0];l.splice(v,0,M),l.splice(y,0,b),p.push([b,M])}else h.push(m);g=m}for(let v=0;v<u.length;v++){let m=u[v];m in o&&(Q(()=>{Gt(o[m]),o[m].remove()}),delete o[m])}for(let v=0;v<p.length;v++){let[m,y]=p[v],b=o[m],M=o[y],T=document.createElement("div");Q(()=>{M||Me('x-for ":key" is undefined or invalid',s,y,o),M.after(T),b.after(M),M._x_currentIfEl&&M.after(M._x_currentIfEl),T.before(b),b._x_currentIfEl&&b.after(b._x_currentIfEl),T.remove()}),M._x_refreshXForScope(f[c.indexOf(y)])}for(let v=0;v<d.length;v++){let[m,y]=d[v],b=m==="template"?s:o[m];b._x_currentIfEl&&(b=b._x_currentIfEl);let M=f[y],T=c[y],x=document.importNode(s.content,!0).firstElementChild,E=Nt(M);yn(x,E,s),x._x_refreshXForScope=S=>{Object.entries(S).forEach(([w,_])=>{E[w]=_})},Q(()=>{b.after(x),et(()=>Be(x))()}),typeof T=="object"&&Me("x-for key cannot be an object, it must be a string or an integer",s),o[T]=x}for(let v=0;v<h.length;v++)o[h[v]]._x_refreshXForScope(f[c.indexOf(h[v])]);s._x_prevKeys=c})}function qg(e){let t=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,n=/^\s*\(|\)\s*$/g,i=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,r=e.match(i);if(!r)return;let s={};s.items=r[2].trim();let a=r[1].replace(n,"").trim(),o=a.match(t);return o?(s.item=a.replace(t,"").trim(),s.index=o[1].trim(),o[2]&&(s.collection=o[2].trim())):s.item=a,s}function fa(e,t,n,i){let r={};return/^\[.*\]$/.test(e.item)&&Array.isArray(t)?e.item.replace("[","").replace("]","").split(",").map(a=>a.trim()).forEach((a,o)=>{r[a]=t[o]}):/^\{.*\}$/.test(e.item)&&!Array.isArray(t)&&typeof t=="object"?e.item.replace("{","").replace("}","").split(",").map(a=>a.trim()).forEach(a=>{r[a]=t[a]}):r[e.item]=t,e.index&&(r[e.index]=n),e.collection&&(r[e.collection]=i),r}function Wg(e){return!Array.isArray(e)&&!isNaN(e)}function Ql(){}Ql.inline=(e,{expression:t},{cleanup:n})=>{let i=ai(e);i._x_refs||(i._x_refs={}),i._x_refs[t]=e,n(()=>delete i._x_refs[t])};re("ref",Ql);re("if",(e,{expression:t},{effect:n,cleanup:i})=>{e.tagName.toLowerCase()!=="template"&&Me("x-if can only be used on a <template> tag",e);let r=me(e,t),s=()=>{if(e._x_currentIfEl)return e._x_currentIfEl;let o=e.content.cloneNode(!0).firstElementChild;return yn(o,{},e),Q(()=>{e.after(o),et(()=>Be(o))()}),e._x_currentIfEl=o,e._x_undoIf=()=>{Q(()=>{Gt(o),o.remove()}),delete e._x_currentIfEl},o},a=()=>{e._x_undoIf&&(e._x_undoIf(),delete e._x_undoIf)};n(()=>r(o=>{o?s():a()})),i(()=>e._x_undoIf&&e._x_undoIf())});re("id",(e,{expression:t},{evaluate:n})=>{n(t).forEach(r=>Lg(e,r))});li((e,t)=>{e._x_ids&&(t._x_ids=e._x_ids)});Xr(ll("@",cl(Ht("on:"))));re("on",et((e,{value:t,modifiers:n,expression:i},{cleanup:r})=>{let s=i?me(e,i):()=>{};e.tagName.toLowerCase()==="template"&&(e._x_forwardEvents||(e._x_forwardEvents=[]),e._x_forwardEvents.includes(t)||e._x_forwardEvents.push(t));let a=Mt(e,t,n,o=>{s(()=>{},{scope:{$event:o},params:[o]})});r(()=>a())}));fi("Collapse","collapse","collapse");fi("Intersect","intersect","intersect");fi("Focus","trap","focus");fi("Mask","mask","mask");function fi(e,t,n){re(t,i=>Me(`You can't use [x-${t}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${n}`,i))}qt.setEvaluator(rl);qt.setRawEvaluator(sm);qt.setReactivityEngine({reactive:as,effect:ig,release:rg,raw:Z});var Yg=qt,je=Yg;function jg(e){e.directive("collapse",t),t.inline=(n,{modifiers:i})=>{i.includes("min")&&(n._x_doShow=()=>{},n._x_doHide=()=>{})};function t(n,{modifiers:i}){let r=ha(i,"duration",250)/1e3,s=ha(i,"min",0),a=!i.includes("min");n._x_isShown||(n.style.height=`${s}px`),!n._x_isShown&&a&&(n.hidden=!0),n._x_isShown||(n.style.overflow="hidden");let o=(f,c)=>{let d=e.setStyles(f,c);return c.height?()=>{}:d},l={transitionProperty:"height",transitionDuration:`${r}s`,transitionTimingFunction:"cubic-bezier(0.4, 0.0, 0.2, 1)"};n._x_transition={in(f=()=>{},c=()=>{}){a&&(n.hidden=!1),a&&(n.style.display=null);let d=n.getBoundingClientRect().height;n.style.height="auto";let p=n.getBoundingClientRect().height;d===p&&(d=s),e.transition(n,e.setStyles,{during:l,start:{height:d+"px"},end:{height:p+"px"}},()=>n._x_isShown=!0,()=>{Math.abs(n.getBoundingClientRect().height-p)<1&&(n.style.overflow=null)})},out(f=()=>{},c=()=>{}){let d=n.getBoundingClientRect().height;e.transition(n,o,{during:l,start:{height:d+"px"},end:{height:s+"px"}},()=>n.style.overflow="hidden",()=>{n._x_isShown=!1,n.style.height==`${s}px`&&a&&(n.style.display="none",n.hidden=!0)})}}}}
12function ha(e,t,n){if(e.indexOf(t)===-1)return n;const i=e[e.indexOf(t)+1];if(!i)return n;if(t==="duration"){let r=i.match(/([0-9]+)ms/);if(r)return r[1]}if(t==="min"){let r=i.match(/([0-9]+)px/);if(r)return r[1]}return i}var Xg=jg,ec=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],ti=ec.join(","),tc=typeof Element>"u",yt=tc?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,gr=!tc&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},nc=function(t,n,i){var r=Array.prototype.slice.apply(t.querySelectorAll(ti));return n&&yt.call(t,ti)&&r.unshift(t),r=r.filter(i),r},ic=function e(t,n,i){for(var r=[],s=Array.from(t);s.length;){var a=s.shift();if(a.tagName==="SLOT"){var o=a.assignedElements(),l=o.length?o:a.children,f=e(l,!0,i);i.flatten?r.push.apply(r,f):r.push({scope:a,candidates:f})}else{var c=yt.call(a,ti);c&&i.filter(a)&&(n||!t.includes(a))&&r.push(a);var d=a.shadowRoot||typeof i.getShadowRoot=="function"&&i.getShadowRoot(a),p=!i.shadowRootFilter||i.shadowRootFilter(a);if(d&&p){var u=e(d===!0?a.children:d.children,!0,i);
vendor: 5,673 bytes, line 12
12i.flatten?r.push.apply(r,u):r.push({scope:a,candidates:u})}else s.unshift.apply(s,a.children)}}return r},rc=function(t,n){return t.tabIndex<0&&(n||/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||t.isContentEditable)&&isNaN(parseInt(t.getAttribute("tabindex"),10))?0:t.tabIndex},Kg=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},sc=function(t){return t.tagName==="INPUT"},Ug=function(t){return sc(t)&&t.type==="hidden"},Zg=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(i){return i.tagName==="SUMMARY"});return n},Jg=function(t,n){for(var i=0;i<t.length;i++)if(t[i].checked&&t[i].form===n)return t[i]},Qg=function(t){if(!t.name)return!0;var n=t.form||gr(t),i=function(o){return n.querySelectorAll('input[type="radio"][name="'+o+'"]')},r;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")r=i(window.CSS.escape(t.name));else try{r=i(t.name)}catch(a){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",a.message),!1}var s=Jg(r,t.form);return!s||s===t},ev=function(t){return sc(t)&&t.type==="radio"},tv=function(t){return ev(t)&&!Qg(t)},pa=function(t){var n=t.getBoundingClientRect(),i=n.width,r=n.height;return i===0&&r===0},nv=function(t,n){var i=n.displayCheck,r=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var s=yt.call(t,"details>summary:first-of-type"),a=s?t.parentElement:t;if(yt.call(a,"details:not([open]) *"))return!0;var o=gr(t).host,l=(o==null?void 0:o.ownerDocument.contains(o))||t.ownerDocument.contains(t);if(!i||i==="full"){if(typeof r=="function"){for(var f=t;t;){var c=t.parentElement,d=gr(t);if(c&&!c.shadowRoot&&r(c)===!0)return pa(t);t.assignedSlot?t=t.assignedSlot:!c&&d!==t.ownerDocument?t=d.host:t=c}t=f}if(l)return!t.getClientRects().length}else if(i==="non-zero-area")return pa(t);return!1},iv=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var i=0;i<n.children.length;i++){var r=n.children.item(i);if(r.tagName==="LEGEND")return yt.call(n,"fieldset[disabled] *")?!0:!r.contains(t)}return!0}n=n.parentElement}return!1},ni=function(t,n){return!(n.disabled||Ug(n)||nv(n,t)||Zg(n)||iv(n))},vr=function(t,n){return!(tv(n)||rc(n)<0||!ni(t,n))},rv=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},sv=function e(t){var n=[],i=[];return t.forEach(function(r,s){var a=!!r.scope,o=a?r.scope:r,l=rc(o,a),f=a?e(r.candidates):o;l===0?a?n.push.apply(n,f):n.push(o):i.push({documentOrder:s,tabIndex:l,item:r,isScope:a,content:f})}),i.sort(Kg).reduce(function(r,s){return s.isScope?r.push.apply(r,s.content):r.push(s.content),r},[]).concat(n)},av=function(t,n){n=n||{};var i;return n.getShadowRoot?i=ic([t],n.includeContainer,{filter:vr.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:rv}):i=nc(t,n.includeContainer,vr.bind(null,n)),sv(i)},ac=function(t,n){n=n||{};var i;return n.getShadowRoot?i=ic([t],n.includeContainer,{filter:ni.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):i=nc(t,n.includeContainer,ni.bind(null,n)),i},Rn=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return yt.call(t,ti)===!1?!1:vr(n,t)},ov=ec.concat("iframe").join(","),qn=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return yt.call(t,ov)===!1?!1:ni(n,t)};function ma(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function ga(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ma(Object(n),!0).forEach(function(i){lv(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ma(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function lv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var va=(function(){var e=[];return{activateTrap:function(n){if(e.length>0){var i=e[e.length-1];i!==n&&i.pause()}var r=e.indexOf(n);r===-1||e.splice(r,1),e.push(n)},deactivateTrap:function(n){var i=e.indexOf(n);i!==-1&&e.splice(i,1),e.length>0&&e[e.length-1].unpause()}}})(),cv=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},uv=function(t){return t.key==="Escape"||t.key==="Esc"||t.keyCode===27},dv=function(t){return t.key==="Tab"||t.keyCode===9},ya=function(t){return setTimeout(t,0)},ba=function(t,n){var i=-1;return t.every(function(r,s){return n(r)?(i=s,!1):!0}),i},Jt=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return typeof t=="function"?t.apply(void 0,i):t},Vn=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},fv=function(t,n){var i=(n==null?void 0:n.document)||document,r=ga({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},n),s={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},a,o=function(x,E,S){return x&&x[E]!==void 0?x[E]:r[S||E]},l=function(x){return s.containerGroups.findIndex(function(E){var S=E.container,w=E.tabbableNodes;return S.contains(x)||w.find(function(_){return _===x})})},f=function(x){var E=r[x];if(typeof E=="function"){for(var S=arguments.length,w=new Array(S>
vendor: 2,934 bytes, line 12
121?S-1:0),_=1;_<S;_++)w[_-1]=arguments[_];E=E.apply(void 0,w)}if(E===!0&&(E=void 0),!E){if(E===void 0||E===!1)return E;throw new Error("`".concat(x,"` was specified but was not a node, or did not return a node"))}var C=E;if(typeof E=="string"&&(C=i.querySelector(E),!C))throw new Error("`".concat(x,"` as selector refers to no known node"));return C},c=function(){var x=f("initialFocus");if(x===!1)return!1;if(x===void 0)if(l(i.activeElement)>=0)x=i.activeElement;else{var E=s.tabbableGroups[0],S=E&&E.firstTabbableNode;x=S||f("fallbackFocus")}if(!x)throw new Error("Your focus-trap needs to have at least one focusable element");return x},d=function(){if(s.containerGroups=s.containers.map(function(x){var E=av(x,r.tabbableOptions),S=ac(x,r.tabbableOptions);return{container:x,tabbableNodes:E,focusableNodes:S,firstTabbableNode:E.length>0?E[0]:null,lastTabbableNode:E.length>0?E[E.length-1]:null,nextTabbableNode:function(_){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,P=S.findIndex(function(O){return O===_});if(!(P<0))return C?S.slice(P+1).find(function(O){return Rn(O,r.tabbableOptions)}):S.slice(0,P).reverse().find(function(O){return Rn(O,r.tabbableOptions)})}}}),s.tabbableGroups=s.containerGroups.filter(function(x){return x.tabbableNodes.length>0}),s.tabbableGroups.length<=0&&!f("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},p=function T(x){if(x!==!1&&x!==i.activeElement){if(!x||!x.focus){T(c());return}x.focus({preventScroll:!!r.preventScroll}),s.mostRecentlyFocusedNode=x,cv(x)&&x.select()}},u=function(x){var E=f("setReturnFocus",x);return E||(E===!1?!1:x)},h=function(x){var E=Vn(x);if(!(l(E)>=0)){if(Jt(r.clickOutsideDeactivates,x)){a.deactivate({returnFocus:r.returnFocusOnDeactivate&&!qn(E,r.tabbableOptions)});return}Jt(r.allowOutsideClick,x)||x.preventDefault()}},g=function(x){var E=Vn(x),S=l(E)>=0;S||E instanceof Document?S&&(s.mostRecentlyFocusedNode=E):(x.stopImmediatePropagation(),p(s.mostRecentlyFocusedNode||c()))},v=function(x){var E=Vn(x);d();var S=null;if(s.tabbableGroups.length>0){var w=l(E),_=w>=0?s.containerGroups[w]:void 0;if(w<0)x.shiftKey?S=s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:S=s.tabbableGroups[0].firstTabbableNode;else if(x.shiftKey){var C=ba(s.tabbableGroups,function(I){var A=I.firstTabbableNode;return E===A});if(C<0&&(_.container===E||qn(E,r.tabbableOptions)&&!Rn(E,r.tabbableOptions)&&!_.nextTabbableNode(E,!1))&&(C=w),C>=0){var P=C===0?s.tabbableGroups.length-1:C-1,O=s.tabbableGroups[P];S=O.lastTabbableNode}}else{var k=ba(s.tabbableGroups,function(I){var A=I.lastTabbableNode;return E===A});if(k<0&&(_.container===E||qn(E,r.tabbableOptions)&&!Rn(E,r.tabbableOptions)&&!_.nextTabbableNode(E))&&(k=w),k>=0){var $=k===s.tabbableGroups.length-1?0:k+1,L=s.tabbableGroups[$];S=L.firstTabbableNode}}}else S=f("fallbackFocus");S&&(x.preventDefault(),p(S))}
12,m=function(x){if(uv(x)&&Jt(r.escapeDeactivates,x)!==!1){x.preventDefault(),a.deactivate();return}if(dv(x)){v(x);return}},y=function(x){var E=Vn(x);l(E)>=0||Jt(r.clickOutsideDeactivates,x)||Jt(r.allowOutsideClick,x)||(x.preventDefault(),x.stopImmediatePropagation())},b=function(){if(s.active)return va.activateTrap(a),s.delayInitialFocusTimer=r.delayInitialFocus?ya(function(){p(c())}):p(c()),i.addEventListener("focusin",g,!0),i.addEventListener("mousedown",h,{capture:!0,passive:!1}),i.addEventListener("touchstart",h,{capture:!0,passive:!1}),i.addEventListener("click",y,{capture:!0,passive:!1}),i.addEventListener("keydown",m,{capture:!0,passive:!1}),a},M=function(){if(s.active)return i.removeEventListener("focusin",g,!0),i.removeEventListener("mousedown",h,!0),i.removeEventListener("touchstart",h,!0),i.removeEventListener("click",y,!0),i.removeEventListener("keydown",m,!0),a};return a={get active(){return s.active},get paused(){return s.paused},activate:function(x){if(s.active)return this;var E=o(x,"onActivate"),S=o(x,"onPostActivate"),w=o(x,"checkCanFocusTrap");w||d(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=i.activeElement,E&&E();var _=function(){w&&d(),b(),S&&S()};return w?(w(s.containers.concat()).then(_,_),this):(_(),this)},deactivate:function(x){if(!s.active)return this;var E=ga({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},x);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,M(),s.active=!1,s.paused=!1,va.deactivateTrap(a);var S=o(E,"onDeactivate"),w=o(E,"onPostDeactivate"),_=o(E,"checkCanReturnFocus"),C=o(E,"returnFocus","returnFocusOnDeactivate");S&&S();var P=function(){ya(function(){C&&p(u(s.nodeFocusedBeforeActivation)),w&&w()})};return C&&_?(_(u(s.nodeFocusedBeforeActivation)).then(P,P),this):(P(),this)},pause:function(){return s.paused||!s.active?this:(s.paused=!0,M(),this)},unpause:function(){return!s.paused||!s.active?this:(s.paused=!1,d(),b(),this)},updateContainerElements:function(x){var E=[].concat(x).filter(Boolean);return s.containers=E.map(function(S){return typeof S=="string"?i.querySelector(S):S}),s.active&&d(),this}},a.updateContainerElements(t),a};function hv(e){let t,n;window.addEventListener("focusin",()=>{t=n,n=document.activeElement}),e.magic("focus",i=>{let r=i;return{__noscroll:!1,__wrapAround:!1,within(s){return r=s,this},withoutScrolling(){return this.__noscroll=!0,this},noscroll(){return this.__noscroll=!0,this},withWrapAround(){return this.__wrapAround=!0,this},wrap(){return this.withWrapAround()},focusable(s){return qn(s)},previouslyFocused(){return t},lastFocused(){return t},focused(){return n},focusables(){return Array.isArray(r)?r:ac(r,{displayCheck:"none"})},all(){return this.focusables()},isFirst(s){let a=this.all();return a[0]&&a[0].isSameNode(s)},isLast(s){let a=this.all();return a.length&&a.slice(-1)[0].isSameNode(s)},getFirst(){return this.all()[0]},getLast(){return this.all().slice(-1)[0]},getNext(){let s=this.all(),a=document.activeElement;if(s.indexOf(a)!==-1)return this.__wrapAround&&s.indexOf(a)===s.length-1?s[0]:s[s.indexOf(a)+1]},getPrevious(){let s=this.all(),a=document.activeElement;if(s.indexOf(a)!==-1)return this.__wrapAround&&s.indexOf(a)===0?s.slice(-1)[0]:s[s.indexOf(a)-1]},first(){this.focus(this.getFirst())},last(){this.focus(this.getLast())},next(){this.focus(this.getNext())},previous(){this.focus(this.getPrevious())},prev(){return this.previous()},focus(s){s&&setTimeout(()=>{s.hasAttribute("tabindex")||s.setAttribute("tabindex","0"),s.focus({preventScroll:this.__noscroll})})}}}),e.directive("trap",e.skipDuringClone((i,{expression:r,modifiers:s},{effect:a,evaluateLater:o,cleanup:l})=>{let f=o(r),c=!1,d={escapeDeactivates:!1,allowOutsideClick:!0,fallbackFocus:()=>i},p=()=>{};if(s.includes("noautofocus"))d.initialFocus=!1;else{let v=i.querySelector("[autofocus]");v&&(d.initialFocus=v)}s.includes("inert")&&(d.onPostActivate=()=>{e.nextTick(()=>{p=Sa(i)})});let u=fv(i,d),h=()=>{};const g=()=>{p(),p=()=>{},h(),h=()=>{},u.deactivate({returnFocus:!s.includes("noreturn")})};a(()=>f(v=>{c!==v&&(v&&!c&&(s.includes("noscroll")&&(h=pv()),setTimeout(()=>{u.activate()},15)),!v&&c&&g(),c=!!v)})),l(g)},(i,{expression:r,modifiers:s},{evaluate:a})=>{s.includes("inert")&&a(r)&&Sa(i)}))}function Sa(e){let t=[];return oc(e,n=>{let i=n.hasAttribute("aria-hidden");
12n.setAttribute("aria-hidden","true"),t.push(()=>i||n.removeAttribute("aria-hidden"))}),()=>{for(;t.length;)t.pop()()}}function oc(e,t){e.isSameNode(document.body)||!e.parentNode||Array.from(e.parentNode.children).forEach(n=>{n.isSameNode(e)?oc(e.parentNode,t):t(n)})}function pv(){let e=document.documentElement.style.overflow,t=document.documentElement.style.paddingRight,n=window.innerWidth-document.documentElement.clientWidth;return document.documentElement.style.overflow="hidden",document.documentElement.style.paddingRight=`${n}px`,()=>{document.documentElement.style.overflow=e,document.documentElement.style.paddingRight=t}}var mv=hv;/*! Bundled license information:
13
14tabbable/dist/index.esm.js:
15  (*!
16  * tabbable 5.3.3
17  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
18  *)
19
20focus-trap/dist/focus-trap.esm.js:
21  (*!
22  * focus-trap 6.9.4
23  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
24  *)
25*/function gv(e){let t=()=>{let n,i;try{i=localStorage}catch(r){console.error(r),console.warn("Alpine: $persist is using temporary storage since localStorage is unavailable.");let s=new Map;i={getItem:s.get.bind(s),setItem:s.set.bind(s)}}return e.interceptor((r,s,a,o,l)=>{let f=n||`_x_${o}`,c=xa(f,i)?Ea(f,i):r;return a(c),e.effect(()=>{let d=s();Ta(f,d,i),a(d)}),c},r=>{r.as=s=>(n=s,r),r.using=s=>(i=s,r)})};Object.defineProperty(e,"$persist",{get:()=>t()}),e.magic("persist",t),e.persist=(n,{get:i,set:r},s=localStorage)=>{let a=xa(n,s)?Ea(n,s):i();r(a),e.effect(()=>{let o=i();Ta(n,o,s),r(o)})}}function xa(e,t){return t.getItem(e)!==null}function Ea(e,t){let n=t.getItem(e);if(n!==void 0)return JSON.parse(n)}function Ta(e,t,n){n.setItem(e,JSON.stringify(t))}var vv=gv;try{Ye("body",{opacity:1}),document.body.classList.add("motion-loaded");const e=["p","ul:not(.tab-list)",".heading",".btn",".cta",".content-image",".accordion",".icon-content",".tab-set",".slider-set",".quote",".content-video",".icon-wrapper",".calendar",".custom-table",".page-header-main-photo",".page-header-headline",".resource-card",".stat-ticker",".animated",".form-field-wrapper",".form-btn-wrapper"],n=[".section-standard",".section-side-media"].flatMap(i=>e.map(r=>`.main ${i} ${r}`)).join(", ");Xt(".background-wrapper, .side-media-media",i=>{Ye(i,{opacity:1},{duration:.8,ease:[.3,.1,.1,1]})},{amount:.01,once:!0}),Xt(".bg-reveal",i=>{Ye(i,{y:"-100%"},{duration:.4,ease:[.3,.1,.1,1]})},{amount:.01,once:!0}),Xt(n,i=>{Ye(i,{opacity:1,y:0},{duration:.55,ease:[.3,.1,.1,1],delay:.08})},{amount:"some",once:!0}),Xt(".repeater",i=>{const r=Array.from(i.querySelectorAll(".repeater-card"));r.length&&Ye(r,{opacity:1,y:0},{delay:vh(.1),duration:.5,ease:[.3,.1,.1,1]})},{amount:"some",once:!0}),document.querySelectorAll(".stat-ticker").forEach(i=>{Xt(i,r=>{r.querySelectorAll(".stat-text").forEach((s,a)=>{const{startval:o=0,endval:l=0,decimals:f=0,prefix:c="",suffix:d=""}=s.dataset;Ye(parseFloat(o),parseFloat(l),{duration:2,ease:"circOut",delay:a*.3,onUpdate:p=>s.innerText=c+p.toLocaleString(void 0,{minimumFractionDigits:+f,maximumFractionDigits:+f})+d})})},{amount:.3,once:!0})})}catch(e){console.error("Motion.dev failed to load:",e)}(function(){function e(){document.querySelectorAll(".video-player").forEach(function(a){a.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")})}function t(s,a){const o=document.getElementById(s).getBoundingClientRect().top,l=window.scrollY,c=o+l-a;console.log("scrolling to "+s),setTimeout(window.scrollTo({behavior:"smooth",top:c}),5e3)}function n(s,a,o,l,f){if(o=="inprogress"){let c,d,p,u,h;c=document.querySelector("meta[name='csrf-token']"),c?d=c.getAttribute("content"):console.log("CSRF Token tag not found."),p=document.querySelector("meta[name='current']"),p?u=p.getAttribute("content"):console.log("current tag not found."),f?h={userId:u,fields:{[a]:1,allTrainingComplete:1}}:h={userId:u,fields:{[a]:1}};const g=JSON.stringify(h);fetch("/actions/users/save-user",{method:"POST",body:g,headers:{"X-Requested-With":"XMLHttpRequest",Accept:"application/json","X-CSRF-Token":d,"Content-Type":"application/json"}}).then(v=>{if(!v.ok)throw new Error(`HTTP error! status: ${v.status}`);return v.json()}).then(v=>
25{if(v.message=="User saved."){const m=document.getElementById(s),y=new CustomEvent("videocomplete",{bubbles:!1,cancelable:!1});m?m.dispatchEvent(y):console.log("Interface not found")}else console.log(v.message||"Operation failed.")}).catch(v=>{console.error("Fetch error:",v)})}}function i(s,a,o,l,f,c){console.log(c),console.log(s);const d=document.getElementById(l);let p;f&&(c?s.propertyName=="max-height"&&!a&&(p=new CustomEvent("steptwocomplete",{bubbles:!1,cancelable:!1}),d?d.dispatchEvent(p):console.log("Interface not found")):s.propertyName=="max-height"&&!a&&o=="locked"&&(p=new CustomEvent("videounlock",{bubbles:!1,cancelable:!1}),d?d.dispatchEvent(p):console.log("Interface not found")))}function r(){let s,a,o,l,f;s=document.querySelector("meta[name='csrf-token']"),s?a=s.getAttribute("content"):console.log("CSRF Token tag not found."),o=document.querySelector("meta[name='current']"),o?l=o.getAttribute("content"):console.log("current tag not found."),f={userId:l,fields:{step3Enabled:1}};const c=JSON.stringify(f);fetch("/actions/users/save-user",{method:"POST",body:c,headers:{"X-Requested-With":"XMLHttpRequest",Accept:"application/json","X-CSRF-Token":a,"Content-Type":"application/json"}}).then(d=>{if(!d.ok)throw new Error(`HTTP error! status: ${d.status}`);return d.json()}).then(d=>{if(d.message=="User saved."){const p=document.getElementById("dash-interface-container"),u=new CustomEvent("stepthreecomplete",{bubbles:!1,cancelable:!1});p?p.dispatchEvent(u):console.log("Interface not found")}else console.log(d.message||"Operation failed.")})}window.greauxDash=window.greauxDash||{},window.greauxDash.allVideoStop=e,window.greauxDash.scrollIntoViewWithOffset=t,window.greauxDash.unlockSequence=i,window.greauxDash.completeSequence=n,window.greauxDash.completeStep3=r})();document.addEventListener("alpine:init",()=>{je.store("contentModal",{on:!1,modalHtml:"",showLoading:!1,open(e,t){this.modalHtml="loading...",this.showLoading=!0,this.on=!0,fetch(e,{method:"GET",headers:{"X-Requested-With":"XMLHttpRequest"}}).then(n=>n.text()).then(n=>{this.modalHtml=n,this.showLoading=!1})},close(){this.on=!1,this.modalHtml="",this.showLoading=!1}}),je.data("video",(e,t)=>({init(){var n=Js(e,{videoId:t,playerVars:{autoplay:0,rel:0}});n.on("stateChange",i=>{switch(i.data){case YT.PlayerState.ENDED:console.log(e+" finished playing");break}})}})),je.data("trainingVideo",(e,t,n)=>({init(){var i=Js(e,{videoId:t,playerVars:{autoplay:0,rel:0,controls:0}});i.on("stateChange",r=>{switch(r.data){case YT.PlayerState.ENDED:const s=document.getElementById(n),a=new CustomEvent("videoended",{bubbles:!1,cancelable:!1});s?s.dispatchEvent(a):console.log("Interface not found");break}})}}))});document.addEventListener("afterBlitzInject",function(){const e=document.getElementById("elc-cookie-consent"),t=document.getElementById("elc-accept-all-link");e&&(Ye(e,{opacity:[0,1]},{duration:.5,easing:"ease-out"}),t&&t.addEventListener("click",function(l){Ye(e,{opacity:[1,0]},{duration:.3,easing:"ease-in"}).finished.then(()=>{e.classList.add("hidden")})}));let n=document.getElementById("elc-detail-link");n!==null&&(n.addEventListener?n.addEventListener("click",Nn):n.attachEvent&&n.attachEvent("onclick",Nn));let i=document.getElementById("elc-hide-detail-link");i!==null&&(i.addEventListener?i.addEventListener("click",Nn):i.attachEvent&&i.attachEvent("onclick",Nn));let r=document.getElementById("elc-save-link");r!==null&&(r.addEventListener?r.addEventListener("click",$n):r.attachEvent&&r.attachEvent("onclick",$n));let s=document.getElementById("elc-accept-link");s!==null&&(s.addEventListener?s.addEventListener("click",$n):s.attachEvent&&s.attachEvent("onclick",$n));let a=document.getElementById("elc-accept-all-link");a!==null&&(a.addEventListener?a.addEventListener("click",Ca):a.attachEvent&&a.attachEvent("onclick",Ca));let o=document.getElementById("elc-tab-link");o!==null&&(o.addEventListener?o.addEventListener("click",Ma):o.attachEvent&&o.attachEvent("onclick",Ma)),cc()});function $n(e){e.preventDefault();let t=document.querySelector("#elc-cookie-consent-form"),n=uc(t);document.getElementById("elc-cookie-consent").classList.toggle("elc-hidden");let i=document.getElementById("elc-cookie-tab");typeof i<"u"&&i!==null&&document.getElementById("elc-cookie-tab").classList.toggle("elc-hidden");let r=new XMLHttpRequest;r.open("POST",t.dataset.url),r.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),r.send(n),r.onreadystatechange=function(){r.readyState===4&&(cc(),r.status!==200?console.log("Error: "+r.status):t.hasAttribute("data-refresh")&&t.dataset.refresh==="true"&&t.hasAttribute("data-refreshtime")&&lc(t.dataset.refreshtime))}}function Ca(e){e.preventDefault();let t=document.querySelector("#elc-cookie-consent-form");for(let s=0;s<t.elements.length;s++)t.elements[s].type=="checkbox"&&t.elements[s].checked==!1&&(t.elements[s].checked=!0);let n=uc(t);document.getElementById("elc-cookie-consent").classList.toggle("elc-hidden");let i=document.getElementById("elc-cookie-tab");typeof i<"u"&&i!==null&&document.getElementById("elc-cookie-tab").classList.toggle("elc-hidden");let r=new XMLHttpRequest;r.open("POST",t.dataset.url),r.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),r.send(n.concat("&acceptAll=true")),r.onreadystatechange=function(){r.readyState===4&&(r.status!==200?console.log("Error: "+r.status):t.hasAttribute("data-refresh")&&t.dataset.refresh==="true"&&t.hasAttribute("data-refreshtime")&&lc(t.dataset.refreshtime))}}function lc(e){setTimeout(function(){location.reload()},e)}function Nn(e){e.preventDefault(),document.getElementById("elc-cookie-consent").classList.toggle("elc-fullwidth"),document.getElementById("elc-cookie-consent").classList.toggle("elc-small")}function Ma(e){e.preventDefault(),document.getElementById("elc-cookie-consent").classList.toggle("elc-hidden"),document.getElementById("elc-cookie-tab").classList.toggle("elc-hidden"),document.getElementById("elc-cookie-consent").classList.add("elc-fullwidth"),document.getElementById("elc-cookie-consent").classList.remove("elc-small")}function cc(){let e=document.querySelector("#elc-cookie-consent-form");if(typeof e.dataset.show<"u"){let t=new XMLHttpRequest;t.open("GET",e.dataset.show),t.send(),t.onreadystatechange=function(){t.readyState===4&&(t.status!==200?(console.log("Error: "+t.status),window.ccc={}):t.response==="null"?window.ccc={}:window.ccc=JSON.parse(t.response))}}}/*!
26 * Serialize all form data into a query string
27 * (c) 2018 Chris Ferdinandi, MIT License, https://gomakethings.com
28 * @param  {Node}   form The form to serialize
29 * @return {String}
29      The serialized form data
30 */var uc=function(e){for(var t=[],n=0;n<e.elements.length;n++){var i=e.elements[n];if(!(!i.name||i.disabled||i.type==="file"||i.type==="reset"||i.type==="button"))if(i.type==="select-multiple")for(var r=0;r<i.options.length;r++)i.options[r].selected&&t.push(encodeURIComponent(i.name)+"="+encodeURIComponent(i.options[r].value));else(i.type!=="checkbox"&&i.type!=="radio"||i.checked)&&t.push(encodeURIComponent(i.name)+"="+encodeURIComponent(i.value))}return t.join("&")};typeof window.Alpine>"u"&&(je.plugin(Xg),je.plugin(mv),je.plugin(vv),window.Alpine=je,window.Swiper=be,je.start());
31//# sourceMappingURL=app-CVDwwD26.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.