From 758a2d1a6200a525cdaf98fe5d435e3a68469b66 Mon Sep 17 00:00:00 2001 From: Sped0n <197479310+Sped0n@users.noreply.github.com> Date: Sun, 22 Mar 2026 13:16:08 +0000 Subject: [PATCH] ci: update bundled artifacts [skip ci] --- bundled/js/4HV4xD.js | 1 - bundled/js/BDA7kS.js | 1 - bundled/js/BfgcB0.js | 1 - bundled/js/CO8Cxe.js | 1 + bundled/js/DaqdZh.js | 1 + bundled/js/au1ykb.js | 1 - bundled/js/fZjYgW.js | 1 + bundled/js/h6I38a.js | 1 + bundled/js/main.js | 3 ++- bundled/js/zA1TQP.js | 1 + 10 files changed, 7 insertions(+), 5 deletions(-) delete mode 100644 bundled/js/4HV4xD.js delete mode 100644 bundled/js/BDA7kS.js delete mode 100644 bundled/js/BfgcB0.js create mode 100644 bundled/js/CO8Cxe.js create mode 100644 bundled/js/DaqdZh.js delete mode 100644 bundled/js/au1ykb.js create mode 100644 bundled/js/fZjYgW.js create mode 100644 bundled/js/h6I38a.js create mode 100644 bundled/js/zA1TQP.js diff --git a/bundled/js/4HV4xD.js b/bundled/js/4HV4xD.js deleted file mode 100644 index ea74f75..0000000 --- a/bundled/js/4HV4xD.js +++ /dev/null @@ -1 +0,0 @@ -function ne(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function re(t={},s={}){const e=["__proto__","constructor","prototype"];Object.keys(s).filter(i=>e.indexOf(i)<0).forEach(i=>{typeof t[i]>"u"?t[i]=s[i]:ne(s[i])&&ne(t[i])&&Object.keys(s[i]).length>0&&re(t[i],s[i])})}const pe={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 R(){const t=typeof document<"u"?document:{};return re(t,pe),t}const ye={document:pe,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(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function G(){const t=typeof window<"u"?window:{};return re(t,ye),t}function xe(t=""){return t.trim().split(" ").filter(s=>!!s.trim())}function Ee(t){const s=t;Object.keys(s).forEach(e=>{try{s[e]=null}catch{}try{delete s[e]}catch{}})}function he(t,s=0){return setTimeout(t,s)}function X(){return Date.now()}function Me(t){const s=G();let e;return s.getComputedStyle&&(e=s.getComputedStyle(t,null)),!e&&t.currentStyle&&(e=t.currentStyle),e||(e=t.style),e}function Pe(t,s="x"){const e=G();let i,n,r;const l=Me(t);return e.WebKitCSSMatrix?(n=l.transform||l.webkitTransform,n.split(",").length>6&&(n=n.split(", ").map(o=>o.replace(",",".")).join(", ")),r=new e.WebKitCSSMatrix(n==="none"?"":n)):(r=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=r.toString().split(",")),s==="x"&&(e.WebKitCSSMatrix?n=r.m41:i.length===16?n=parseFloat(i[12]):n=parseFloat(i[4])),s==="y"&&(e.WebKitCSSMatrix?n=r.m42:i.length===16?n=parseFloat(i[13]):n=parseFloat(i[5])),n||0}function j(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Ce(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function D(...t){const s=Object(t[0]);for(let e=1;er!=="__proto__"&&r!=="constructor"&&r!=="prototype");for(let r=0,l=n.length;rn?"next":"prev",d=(c,p)=>a==="next"&&c>=p||a==="prev"&&c<=p,u=()=>{l=new Date().getTime(),r===null&&(r=l);const c=Math.max(Math.min((l-r)/o,1),0),p=.5-Math.cos(c*Math.PI)/2;let f=n+p*(s-n);if(d(f,s)&&(f=s),t.wrapperEl.scrollTo({[e]:f}),d(f,s)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[e]:f})}),i.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=i.requestAnimationFrame(u)};u()}function B(t,s=""){const e=G(),i=[...t.children];return e.HTMLSlotElement&&t instanceof HTMLSlotElement&&i.push(...t.assignedElements()),s?i.filter(n=>n.matches(s)):i}function Ie(t,s){const e=[s];for(;e.length>0;){const i=e.shift();if(t===i)return!0;e.push(...i.children,...i.shadowRoot?i.shadowRoot.children:[],...i.assignedElements?i.assignedElements():[])}}function Le(t,s){const e=G();let i=s.contains(t);return!i&&e.HTMLSlotElement&&s instanceof HTMLSlotElement&&(i=[...s.assignedElements()].includes(t),i||(i=Ie(t,s))),i}function q(t){try{console.warn(t);return}catch{}}function se(t,s=[]){const e=document.createElement(t);return e.classList.add(...Array.isArray(s)?s:xe(s)),e}function Oe(t,s){const e=[];for(;t.previousElementSibling;){const i=t.previousElementSibling;s?i.matches(s)&&e.push(i):e.push(i),t=i}return e}function ze(t,s){const e=[];for(;t.nextElementSibling;){const i=t.nextElementSibling;s?i.matches(s)&&e.push(i):e.push(i),t=i}return e}function $(t,s){return G().getComputedStyle(t,null).getPropertyValue(s)}function ae(t){let s=t,e;if(s){for(e=0;(s=s.previousSibling)!==null;)s.nodeType===1&&(e+=1);return e}}function ke(t,s){const e=[];let i=t.parentElement;for(;i;)e.push(i),i=i.parentElement;return e}function le(t,s,e){const i=G();return t[s==="width"?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(t,null).getPropertyValue(s==="width"?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(t,null).getPropertyValue(s==="width"?"margin-left":"margin-bottom"))}let U;function Ae(){const t=G(),s=R();return{smoothScroll:s.documentElement&&s.documentElement.style&&"scrollBehavior"in s.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&s instanceof t.DocumentTouch)}}function ge(){return U||(U=Ae()),U}let K;function Ge({userAgent:t}={}){const s=ge(),e=G(),i=e.navigator.platform,n=t||e.navigator.userAgent,r={ios:!1,android:!1},l=e.screen.width,o=e.screen.height,a=n.match(/(Android);?[\s\/]+([\d.]+)?/);let d=n.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const u=n.match(/(iPod)(.*OS\s([\d_]+))?/),c=!d&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=i==="Win32";let f=i==="MacIntel";const h=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&f&&s.touch&&h.indexOf(`${l}x${o}`)>=0&&(d=n.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),f=!1),a&&!p&&(r.os="android",r.android=!0),(d||c||u)&&(r.os="ios",r.ios=!0),r}function ve(t={}){return K||(K=Ge(t)),K}let Q;function Ve(){const t=G(),s=ve();let e=!1;function i(){const o=t.navigator.userAgent.toLowerCase();return o.indexOf("safari")>=0&&o.indexOf("chrome")<0&&o.indexOf("android")<0}if(i()){const o=String(t.navigator.userAgent);if(o.includes("Version/")){const[a,d]=o.split("Version/")[1].split(" ")[0].split(".").map(u=>Number(u));e=a<16||a===16&&d<2}}const n=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),r=i(),l=r||n&&s.ios;return{isSafari:e||r,needPerspectiveFix:e,need3dFix:l,isWebView:n}}function we(){return Q||(Q=Ve()),Q}function De({swiper:t,on:s,emit:e}){const i=G();let n=null,r=null;const l=()=>{!t||t.destroyed||!t.initialized||(e("beforeResize"),e("resize"))},o=()=>{!t||t.destroyed||!t.initialized||(n=new ResizeObserver(u=>{r=i.requestAnimationFrame(()=>{const{width:c,height:p}=t;let f=c,h=p;u.forEach(({contentBoxSize:m,contentRect:E,target:y})=>{y&&y!==t.el||(f=E?E.width:(m[0]||m).inlineSize,h=E?E.height:(m[0]||m).blockSize)}),(f!==c||h!==p)&&l()})}),n.observe(t.el))},a=()=>{r&&i.cancelAnimationFrame(r),n&&n.unobserve&&t.el&&(n.unobserve(t.el),n=null)},d=()=>{!t||t.destroyed||!t.initialized||e("orientationchange")};s("init",()=>{if(t.params.resizeObserver&&typeof i.ResizeObserver<"u"){o();return}i.addEventListener("resize",l),i.addEventListener("orientationchange",d)}),s("destroy",()=>{a(),i.removeEventListener("resize",l),i.removeEventListener("orientationchange",d)})}function _e({swiper:t,extendParams:s,on:e,emit:i}){const n=[],r=G(),l=(d,u={})=>{const c=r.MutationObserver||r.WebkitMutationObserver,p=new c(f=>{if(t.__preventObserver__)return;if(f.length===1){i("observerUpdate",f[0]);return}const h=function(){i("observerUpdate",f[0])};r.requestAnimationFrame?r.requestAnimationFrame(h):r.setTimeout(h,0)});p.observe(d,{attributes:typeof u.attributes>"u"?!0:u.attributes,childList:t.isElement||(typeof u.childList>"u"?!0:u).childList,characterData:typeof u.characterData>"u"?!0:u.characterData}),n.push(p)},o=()=>{if(t.params.observer){if(t.params.observeParents){const d=ke(t.hostEl);for(let u=0;u{n.forEach(d=>{d.disconnect()}),n.splice(0,n.length)};s({observer:!1,observeParents:!1,observeSlideChildren:!1}),e("init",o),e("destroy",a)}var Be={on(t,s,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof s!="function")return i;const n=e?"unshift":"push";return t.split(" ").forEach(r=>{i.eventsListeners[r]||(i.eventsListeners[r]=[]),i.eventsListeners[r][n](s)}),i},once(t,s,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof s!="function")return i;function n(...r){i.off(t,n),n.__emitterProxy&&delete n.__emitterProxy,s.apply(i,r)}return n.__emitterProxy=s,i.on(t,n,e)},onAny(t,s){const e=this;if(!e.eventsListeners||e.destroyed||typeof t!="function")return e;const i=s?"unshift":"push";return e.eventsAnyListeners.indexOf(t)<0&&e.eventsAnyListeners[i](t),e},offAny(t){const s=this;if(!s.eventsListeners||s.destroyed||!s.eventsAnyListeners)return s;const e=s.eventsAnyListeners.indexOf(t);return e>=0&&s.eventsAnyListeners.splice(e,1),s},off(t,s){const e=this;return!e.eventsListeners||e.destroyed||!e.eventsListeners||t.split(" ").forEach(i=>{typeof s>"u"?e.eventsListeners[i]=[]:e.eventsListeners[i]&&e.eventsListeners[i].forEach((n,r)=>{(n===s||n.__emitterProxy&&n.__emitterProxy===s)&&e.eventsListeners[i].splice(r,1)})}),e},emit(...t){const s=this;if(!s.eventsListeners||s.destroyed||!s.eventsListeners)return s;let e,i,n;return typeof t[0]=="string"||Array.isArray(t[0])?(e=t[0],i=t.slice(1,t.length),n=s):(e=t[0].events,i=t[0].data,n=t[0].context||s),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(l=>{s.eventsAnyListeners&&s.eventsAnyListeners.length&&s.eventsAnyListeners.forEach(o=>{o.apply(n,[l,...i])}),s.eventsListeners&&s.eventsListeners[l]&&s.eventsListeners[l].forEach(o=>{o.apply(n,i)})}),s}};function Fe(){const t=this;let s,e;const i=t.el;typeof t.params.width<"u"&&t.params.width!==null?s=t.params.width:s=i.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?e=t.params.height:e=i.clientHeight,!(s===0&&t.isHorizontal()||e===0&&t.isVertical())&&(s=s-parseInt($(i,"padding-left")||0,10)-parseInt($(i,"padding-right")||0,10),e=e-parseInt($(i,"padding-top")||0,10)-parseInt($(i,"padding-bottom")||0,10),Number.isNaN(s)&&(s=0),Number.isNaN(e)&&(e=0),Object.assign(t,{width:s,height:e,size:t.isHorizontal()?s:e}))}function Ne(){const t=this;function s(b,w){return parseFloat(b.getPropertyValue(t.getDirectionLabel(w))||0)}const e=t.params,{wrapperEl:i,slidesEl:n,rtlTranslate:r,wrongRTL:l}=t,o=t.virtual&&e.virtual.enabled,a=o?t.virtual.slides.length:t.slides.length,d=B(n,`.${t.params.slideClass}, swiper-slide`),u=o?t.virtual.slides.length:d.length;let c=[];const p=[],f=[];let h=e.slidesOffsetBefore;typeof h=="function"&&(h=e.slidesOffsetBefore.call(t));let m=e.slidesOffsetAfter;typeof m=="function"&&(m=e.slidesOffsetAfter.call(t));const E=t.snapGrid.length,y=t.slidesGrid.length,v=t.size-h-m;let g=e.spaceBetween,x=-h,S=0,I=0;if(typeof v>"u")return;typeof g=="string"&&g.indexOf("%")>=0?g=parseFloat(g.replace("%",""))/100*v:typeof g=="string"&&(g=parseFloat(g)),t.virtualSize=-g-h-m,d.forEach(b=>{r?b.style.marginLeft="":b.style.marginRight="",b.style.marginBottom="",b.style.marginTop=""}),e.centeredSlides&&e.cssMode&&(W(i,"--swiper-centered-offset-before",""),W(i,"--swiper-centered-offset-after","")),e.cssMode&&(W(i,"--swiper-slides-offset-before",`${h}px`),W(i,"--swiper-slides-offset-after",`${m}px`));const P=e.grid&&e.grid.rows>1&&t.grid;P?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let T;const z=e.slidesPerView==="auto"&&e.breakpoints&&Object.keys(e.breakpoints).filter(b=>typeof e.breakpoints[b].slidesPerView<"u").length>0;for(let b=0;b=0&&(k+=f[F]+(F1&&(w||c.push(t.virtualSize-v))}if(o&&e.loop){const b=f[0]+g;if(e.slidesPerGroup>1){const w=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/e.slidesPerGroup),C=b*e.slidesPerGroup;for(let L=0;L!e.cssMode||e.loop?!0:C!==d.length-1).forEach(w=>{w.style[b]=`${g}px`})}if(e.centeredSlides&&e.centeredSlidesBounds){let b=0;f.forEach(C=>{b+=C+(g||0)}),b-=g;const w=b>v?b-v:0;c=c.map(C=>C<=0?-h:C>w?w+m:C)}if(e.centerInsufficientSlides){let b=0;if(f.forEach(w=>{b+=w+(g||0)}),b-=g,b{c[L]=C-w}),p.forEach((C,L)=>{p[L]=C+w})}}if(Object.assign(t,{slides:d,snapGrid:c,slidesGrid:p,slidesSizesGrid:f}),e.centeredSlides&&e.cssMode&&!e.centeredSlidesBounds){W(i,"--swiper-centered-offset-before",`${-c[0]}px`),W(i,"--swiper-centered-offset-after",`${t.size/2-f[f.length-1]/2}px`);const b=-t.snapGrid[0],w=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(C=>C+b),t.slidesGrid=t.slidesGrid.map(C=>C+w)}if(u!==a&&t.emit("slidesLengthChange"),c.length!==E&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),p.length!==y&&t.emit("slidesGridLengthChange"),e.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!o&&!e.cssMode&&(e.effect==="slide"||e.effect==="fade")){const b=`${e.containerModifierClass}backface-hidden`,w=t.el.classList.contains(b);u<=e.maxBackfaceHiddenSlides?w||t.el.classList.add(b):w&&t.el.classList.remove(b)}}function $e(t){const s=this,e=[],i=s.virtual&&s.params.virtual.enabled;let n=0,r;typeof t=="number"?s.setTransition(t):t===!0&&s.setTransition(s.params.speed);const l=o=>i?s.slides[s.getSlideIndexByData(o)]:s.slides[o];if(s.params.slidesPerView!=="auto"&&s.params.slidesPerView>1)if(s.params.centeredSlides)(s.visibleSlides||[]).forEach(o=>{e.push(o)});else for(r=0;rs.slides.length&&!i)break;e.push(l(o))}else e.push(l(s.activeIndex));for(r=0;rn?o:n}(n||n===0)&&(s.wrapperEl.style.height=`${n}px`)}function He(){const t=this,s=t.slides,e=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let i=0;i{s&&!t.classList.contains(e)?t.classList.add(e):!s&&t.classList.contains(e)&&t.classList.remove(e)};function Re(t=this&&this.translate||0){const s=this,e=s.params,{slides:i,rtlTranslate:n,snapGrid:r}=s;if(i.length===0)return;typeof i[0].swiperSlideOffset>"u"&&s.updateSlidesOffset();let l=-t;n&&(l=t),s.visibleSlidesIndexes=[],s.visibleSlides=[];let o=e.spaceBetween;typeof o=="string"&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*s.size:typeof o=="string"&&(o=parseFloat(o));for(let a=0;a=0&&f<=s.size-s.slidesSizesGrid[a],E=f>=0&&f1&&h<=s.size||f<=0&&h>=s.size;E&&(s.visibleSlides.push(d),s.visibleSlidesIndexes.push(a)),oe(d,E,e.slideVisibleClass),oe(d,m,e.slideFullyVisibleClass),d.progress=n?-c:c,d.originalProgress=n?-p:p}}function We(t){const s=this;if(typeof t>"u"){const u=s.rtlTranslate?-1:1;t=s&&s.translate&&s.translate*u||0}const e=s.params,i=s.maxTranslate()-s.minTranslate();let{progress:n,isBeginning:r,isEnd:l,progressLoop:o}=s;const a=r,d=l;if(i===0)n=0,r=!0,l=!0;else{n=(t-s.minTranslate())/i;const u=Math.abs(t-s.minTranslate())<1,c=Math.abs(t-s.maxTranslate())<1;r=u||n<=0,l=c||n>=1,u&&(n=0),c&&(n=1)}if(e.loop){const u=s.getSlideIndexByData(0),c=s.getSlideIndexByData(s.slides.length-1),p=s.slidesGrid[u],f=s.slidesGrid[c],h=s.slidesGrid[s.slidesGrid.length-1],m=Math.abs(t);m>=p?o=(m-p)/h:o=(m+h-f)/h,o>1&&(o-=1)}Object.assign(s,{progress:n,progressLoop:o,isBeginning:r,isEnd:l}),(e.watchSlidesProgress||e.centeredSlides&&e.autoHeight)&&s.updateSlidesProgress(t),r&&!a&&s.emit("reachBeginning toEdge"),l&&!d&&s.emit("reachEnd toEdge"),(a&&!r||d&&!l)&&s.emit("fromEdge"),s.emit("progress",n)}const J=(t,s,e)=>{s&&!t.classList.contains(e)?t.classList.add(e):!s&&t.classList.contains(e)&&t.classList.remove(e)};function je(){const t=this,{slides:s,params:e,slidesEl:i,activeIndex:n}=t,r=t.virtual&&e.virtual.enabled,l=t.grid&&e.grid&&e.grid.rows>1,o=c=>B(i,`.${e.slideClass}${c}, swiper-slide${c}`)[0];let a,d,u;if(r)if(e.loop){let c=n-t.virtual.slidesBefore;c<0&&(c=t.virtual.slides.length+c),c>=t.virtual.slides.length&&(c-=t.virtual.slides.length),a=o(`[data-swiper-slide-index="${c}"]`)}else a=o(`[data-swiper-slide-index="${n}"]`);else l?(a=s.find(c=>c.column===n),u=s.find(c=>c.column===n+1),d=s.find(c=>c.column===n-1)):a=s[n];a&&(l||(u=ze(a,`.${e.slideClass}, swiper-slide`)[0],e.loop&&!u&&(u=s[0]),d=Oe(a,`.${e.slideClass}, swiper-slide`)[0],e.loop&&!d===0&&(d=s[s.length-1]))),s.forEach(c=>{J(c,c===a,e.slideActiveClass),J(c,c===u,e.slideNextClass),J(c,c===d,e.slidePrevClass)}),t.emitSlidesClasses()}const Y=(t,s)=>{if(!t||t.destroyed||!t.params)return;const e=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,i=s.closest(e());if(i){let n=i.querySelector(`.${t.params.lazyPreloaderClass}`);!n&&t.isElement&&(i.shadowRoot?n=i.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{i.shadowRoot&&(n=i.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),n&&!n.lazyPreloaderManaged&&n.remove())})),n&&!n.lazyPreloaderManaged&&n.remove()}},Z=(t,s)=>{if(!t.slides[s])return;const e=t.slides[s].querySelector('[loading="lazy"]');e&&e.removeAttribute("loading")},ie=t=>{if(!t||t.destroyed||!t.params)return;let s=t.params.lazyPreloadPrevNext;const e=t.slides.length;if(!e||!s||s<0)return;s=Math.min(s,e);const i=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),n=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const l=n,o=[l-s];o.push(...Array.from({length:s}).map((a,d)=>l+i+d)),t.slides.forEach((a,d)=>{o.includes(a.column)&&Z(t,d)});return}const r=n+i-1;if(t.params.rewind||t.params.loop)for(let l=n-s;l<=r+s;l+=1){const o=(l%e+e)%e;(or)&&Z(t,o)}else for(let l=Math.max(n-s,0);l<=Math.min(r+s,e-1);l+=1)l!==n&&(l>r||l=s[r]&&i=s[r]&&i=s[r]&&(n=r);return e.normalizeSlideIndex&&(n<0||typeof n>"u")&&(n=0),n}function Xe(t){const s=this,e=s.rtlTranslate?s.translate:-s.translate,{snapGrid:i,params:n,activeIndex:r,realIndex:l,snapIndex:o}=s;let a=t,d;const u=f=>{let h=f-s.virtual.slidesBefore;return h<0&&(h=s.virtual.slides.length+h),h>=s.virtual.slides.length&&(h-=s.virtual.slides.length),h};if(typeof a>"u"&&(a=Ye(s)),i.indexOf(e)>=0)d=i.indexOf(e);else{const f=Math.min(n.slidesPerGroupSkip,a);d=f+Math.floor((a-f)/n.slidesPerGroup)}if(d>=i.length&&(d=i.length-1),a===r&&!s.params.loop){d!==o&&(s.snapIndex=d,s.emit("snapIndexChange"));return}if(a===r&&s.params.loop&&s.virtual&&s.params.virtual.enabled){s.realIndex=u(a);return}const c=s.grid&&n.grid&&n.grid.rows>1;let p;if(s.virtual&&n.virtual.enabled)n.loop?p=u(a):p=a;else if(c){const f=s.slides.find(m=>m.column===a);let h=parseInt(f.getAttribute("data-swiper-slide-index"),10);Number.isNaN(h)&&(h=Math.max(s.slides.indexOf(f),0)),p=Math.floor(h/n.grid.rows)}else if(s.slides[a]){const f=s.slides[a].getAttribute("data-swiper-slide-index");f?p=parseInt(f,10):p=a}else p=a;Object.assign(s,{previousSnapIndex:o,snapIndex:d,previousRealIndex:l,realIndex:p,previousIndex:r,activeIndex:a}),s.initialized&&ie(s),s.emit("activeIndexChange"),s.emit("snapIndexChange"),(s.initialized||s.params.runCallbacksOnInit)&&(l!==p&&s.emit("realIndexChange"),s.emit("slideChange"))}function qe(t,s){const e=this,i=e.params;let n=t.closest(`.${i.slideClass}, swiper-slide`);!n&&e.isElement&&s&&s.length>1&&s.includes(t)&&[...s.slice(s.indexOf(t)+1,s.length)].forEach(o=>{!n&&o.matches&&o.matches(`.${i.slideClass}, swiper-slide`)&&(n=o)});let r=!1,l;if(n){for(let o=0;oa?u=a:i&&tr?l="next":n"u"&&(s=r.params.speed);const m=Math.min(r.params.slidesPerGroupSkip,l);let E=m+Math.floor((l-m)/r.params.slidesPerGroup);E>=a.length&&(E=a.length-1);const y=-a[E];if(o.normalizeSlideIndex)for(let P=0;P=z&&T=z&&T=z&&(l=P)}if(r.initialized&&l!==c&&(!r.allowSlideNext&&(p?y>r.translate&&y>r.minTranslate():yr.translate&&y>r.maxTranslate()&&(c||0)!==l))return!1;l!==(u||0)&&e&&r.emit("beforeSlideChangeStart"),r.updateProgress(y);let v;l>c?v="next":l0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[P?"scrollLeft":"scrollTop"]=T})):f[P?"scrollLeft":"scrollTop"]=T,g&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1});else{if(!r.support.smoothScroll)return me({swiper:r,targetPosition:T,side:P?"left":"top"}),!0;f.scrollTo({[P?"left":"top"]:T,behavior:"smooth"})}return!0}const I=we().isSafari;return g&&!n&&I&&r.isElement&&r.virtual.update(!1,!1,l),r.setTransition(s),r.setTranslate(y),r.updateActiveIndex(l),r.updateSlidesClasses(),r.emit("beforeTransitionStart",s,i),r.transitionStart(e,v),s===0?r.transitionEnd(e,v):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(T){!r||r.destroyed||T.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(e,v))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0}function lt(t=0,s,e=!0,i){typeof t=="string"&&(t=parseInt(t,10));const n=this;if(n.destroyed)return;typeof s>"u"&&(s=n.params.speed);const r=n.grid&&n.params.grid&&n.params.grid.rows>1;let l=t;if(n.params.loop)if(n.virtual&&n.params.virtual.enabled)l=l+n.virtual.slidesBefore;else{let o;if(r){const m=l*n.params.grid.rows;o=n.slides.find(E=>E.getAttribute("data-swiper-slide-index")*1===m).column}else o=n.getSlideIndexByData(l);const a=r?Math.ceil(n.slides.length/n.params.grid.rows):n.slides.length,{centeredSlides:d,slidesOffsetBefore:u,slidesOffsetAfter:c}=n.params,p=d||!!u||!!c;let f=n.params.slidesPerView;f==="auto"?f=n.slidesPerViewDynamic():(f=Math.ceil(parseFloat(n.params.slidesPerView,10)),p&&f%2===0&&(f=f+1));let h=a-oE.getAttribute("data-swiper-slide-index")*1===m).column}else l=n.getSlideIndexByData(l)}return requestAnimationFrame(()=>{n.slideTo(l,s,e,i)}),n}function ot(t,s=!0,e){const i=this,{enabled:n,params:r,animating:l}=i;if(!n||i.destroyed)return i;typeof t>"u"&&(t=i.params.speed);let o=r.slidesPerGroup;r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(o=Math.max(i.slidesPerViewDynamic("current",!0),1));const a=i.activeIndex{i.slideTo(i.activeIndex+a,t,s,e)}),!0}return r.rewind&&i.isEnd?i.slideTo(0,t,s,e):i.slideTo(i.activeIndex+a,t,s,e)}function dt(t,s=!0,e){const i=this,{params:n,snapGrid:r,slidesGrid:l,rtlTranslate:o,enabled:a,animating:d}=i;if(!a||i.destroyed)return i;typeof t>"u"&&(t=i.params.speed);const u=i.virtual&&n.virtual.enabled;if(n.loop){if(d&&!u&&n.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}const c=o?i.translate:-i.translate;function p(v){return v<0?-Math.floor(Math.abs(v)):Math.floor(v)}const f=p(c),h=r.map(v=>p(v)),m=n.freeMode&&n.freeMode.enabled;let E=r[h.indexOf(f)-1];if(typeof E>"u"&&(n.cssMode||m)){let v;r.forEach((g,x)=>{f>=g&&(v=x)}),typeof v<"u"&&(E=m?r[v]:r[v>0?v-1:v])}let y=0;if(typeof E<"u"&&(y=l.indexOf(E),y<0&&(y=i.activeIndex-1),n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(y=y-i.slidesPerViewDynamic("previous",!0)+1,y=Math.max(y,0))),n.rewind&&i.isBeginning){const v=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(v,t,s,e)}else if(n.loop&&i.activeIndex===0&&n.cssMode)return requestAnimationFrame(()=>{i.slideTo(y,t,s,e)}),!0;return i.slideTo(y,t,s,e)}function ct(t,s=!0,e){const i=this;if(!i.destroyed)return typeof t>"u"&&(t=i.params.speed),i.slideTo(i.activeIndex,t,s,e)}function ft(t,s=!0,e,i=.5){const n=this;if(n.destroyed)return;typeof t>"u"&&(t=n.params.speed);let r=n.activeIndex;const l=Math.min(n.params.slidesPerGroupSkip,r),o=l+Math.floor((r-l)/n.params.slidesPerGroup),a=n.rtlTranslate?n.translate:-n.translate;if(a>=n.snapGrid[o]){const d=n.snapGrid[o],u=n.snapGrid[o+1];a-d>(u-d)*i&&(r+=n.params.slidesPerGroup)}else{const d=n.snapGrid[o-1],u=n.snapGrid[o];a-d<=(u-d)*i&&(r-=n.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,n.slidesGrid.length-1),n.slideTo(r,t,s,e)}function ut(){const t=this;if(t.destroyed)return;const{params:s,slidesEl:e}=t,i=s.slidesPerView==="auto"?t.slidesPerViewDynamic():s.slidesPerView;let n=t.getSlideIndexWhenGrid(t.clickedIndex),r;const l=t.isElement?"swiper-slide":`.${s.slideClass}`,o=t.grid&&t.params.grid&&t.params.grid.rows>1;if(s.loop){if(t.animating)return;r=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),s.centeredSlides?t.slideToLoop(r):n>(o?(t.slides.length-i)/2-(t.params.grid.rows-1):t.slides.length-i)?(t.loopFix(),n=t.getSlideIndex(B(e,`${l}[data-swiper-slide-index="${r}"]`)[0]),he(()=>{t.slideTo(n)})):t.slideTo(n)}else t.slideTo(n)}var pt={slideTo:at,slideToLoop:lt,slideNext:ot,slidePrev:dt,slideReset:ct,slideToClosest:ft,slideToClickedSlide:ut};function ht(t,s){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const r=()=>{B(n,`.${i.slideClass}, swiper-slide`).forEach((h,m)=>{h.setAttribute("data-swiper-slide-index",m)})},l=()=>{const f=B(n,`.${i.slideBlankClass}`);f.forEach(h=>{h.remove()}),f.length>0&&(e.recalcSlides(),e.updateSlides())},o=e.grid&&i.grid&&i.grid.rows>1;i.loopAddBlankSlides&&(i.slidesPerGroup>1||o)&&l();const a=i.slidesPerGroup*(o?i.grid.rows:1),d=e.slides.length%a!==0,u=o&&e.slides.length%i.grid.rows!==0,c=f=>{for(let h=0;h1;d.length"u"?n=a.getSlideIndex(d.find(M=>M.classList.contains(f.slideActiveClass))):w=n;const C=e==="next"||!e,L=e==="prev"||!e;let O=0,k=0;const H=(I?d[n].column:n)+(v&&typeof i>"u"?-g/2+.5:0);if(H=0;N-=1)d[N].column===V&&P.push(N)}else P.push(z-A-1)}}else if(H+g>z-S){k=Math.max(H-(z-S*2),x),b&&(k=Math.max(k,g-z+y+1));for(let M=0;M{V.column===A&&T.push(N)}):T.push(A)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),a.params.effect==="cards"&&d.length{d[M].swiperLoopMoveDOM=!0,p.prepend(d[M]),d[M].swiperLoopMoveDOM=!1}),C&&T.forEach(M=>{d[M].swiperLoopMoveDOM=!0,p.append(d[M]),d[M].swiperLoopMoveDOM=!1}),a.recalcSlides(),f.slidesPerView==="auto"?a.updateSlides():I&&(P.length>0&&L||T.length>0&&C)&&a.slides.forEach((M,A)=>{a.grid.updateSlide(A,M,a.slides)}),f.watchSlidesProgress&&a.updateSlidesOffset(),s){if(P.length>0&&L){if(typeof t>"u"){const M=a.slidesGrid[w],V=a.slidesGrid[w+O]-M;o?a.setTranslate(a.translate-V):(a.slideTo(w+Math.ceil(O),0,!1,!0),i&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-V,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-V))}else if(i){const M=I?P.length/f.grid.rows:P.length;a.slideTo(a.activeIndex+M,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(T.length>0&&C)if(typeof t>"u"){const M=a.slidesGrid[w],V=a.slidesGrid[w-k]-M;o?a.setTranslate(a.translate-V):(a.slideTo(w-k,0,!1,!0),i&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-V,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-V))}else{const M=I?T.length/f.grid.rows:T.length;a.slideTo(a.activeIndex-M,0,!1,!0)}}if(a.allowSlidePrev=u,a.allowSlideNext=c,a.controller&&a.controller.control&&!l){const M={slideRealIndex:t,direction:e,setTranslate:i,activeSlideIndex:n,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(A=>{!A.destroyed&&A.params.loop&&A.loopFix({...M,slideTo:A.params.slidesPerView===f.slidesPerView?s:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...M,slideTo:a.controller.control.params.slidesPerView===f.slidesPerView?s:!1})}a.emit("loopFix")}function gt(){const t=this,{params:s,slidesEl:e}=t;if(!s.loop||!e||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const i=[];t.slides.forEach(n=>{const r=typeof n.swiperSlideIndex>"u"?n.getAttribute("data-swiper-slide-index")*1:n.swiperSlideIndex;i[r]=n}),t.slides.forEach(n=>{n.removeAttribute("data-swiper-slide-index")}),i.forEach(n=>{e.append(n)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var vt={loopCreate:ht,loopFix:mt,loopDestroy:gt};function wt(t){const s=this;if(!s.params.simulateTouch||s.params.watchOverflow&&s.isLocked||s.params.cssMode)return;const e=s.params.touchEventsTarget==="container"?s.el:s.wrapperEl;s.isElement&&(s.__preventObserver__=!0),e.style.cursor="move",e.style.cursor=t?"grabbing":"grab",s.isElement&&requestAnimationFrame(()=>{s.__preventObserver__=!1})}function St(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var Tt={setGrabCursor:wt,unsetGrabCursor:St};function bt(t,s=this){function e(i){if(!i||i===R()||i===G())return null;i.assignedSlot&&(i=i.assignedSlot);const n=i.closest(t);return!n&&!i.getRootNode?null:n||e(i.getRootNode().host)}return e(s)}function de(t,s,e){const i=G(),{params:n}=t,r=n.edgeSwipeDetection,l=n.edgeSwipeThreshold;return r&&(e<=l||e>=i.innerWidth-l)?r==="prevent"?(s.preventDefault(),!0):!1:!0}function yt(t){const s=this,e=R();let i=t;i.originalEvent&&(i=i.originalEvent);const n=s.touchEventsData;if(i.type==="pointerdown"){if(n.pointerId!==null&&n.pointerId!==i.pointerId)return;n.pointerId=i.pointerId}else i.type==="touchstart"&&i.targetTouches.length===1&&(n.touchId=i.targetTouches[0].identifier);if(i.type==="touchstart"){de(s,i,i.targetTouches[0].pageX);return}const{params:r,touches:l,enabled:o}=s;if(!o||!r.simulateTouch&&i.pointerType==="mouse"||s.animating&&r.preventInteractionOnTransition)return;!s.animating&&r.cssMode&&r.loop&&s.loopFix();let a=i.target;if(r.touchEventsTarget==="wrapper"&&!Le(a,s.wrapperEl)||"which"in i&&i.which===3||"button"in i&&i.button>0||n.isTouched&&n.isMoved)return;const d=!!r.noSwipingClass&&r.noSwipingClass!=="",u=i.composedPath?i.composedPath():i.path;d&&i.target&&i.target.shadowRoot&&u&&(a=u[0]);const c=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,p=!!(i.target&&i.target.shadowRoot);if(r.noSwiping&&(p?bt(c,a):a.closest(c))){s.allowClick=!0;return}if(r.swipeHandler&&!a.closest(r.swipeHandler))return;l.currentX=i.pageX,l.currentY=i.pageY;const f=l.currentX,h=l.currentY;if(!de(s,i,f))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=f,l.startY=h,n.touchStartTime=X(),s.allowClick=!0,s.updateSize(),s.swipeDirection=void 0,r.threshold>0&&(n.allowThresholdMove=!1);let m=!0;a.matches(n.focusableElements)&&(m=!1,a.nodeName==="SELECT"&&(n.isTouched=!1)),e.activeElement&&e.activeElement.matches(n.focusableElements)&&e.activeElement!==a&&(i.pointerType==="mouse"||i.pointerType!=="mouse"&&!a.matches(n.focusableElements))&&e.activeElement.blur();const E=m&&s.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||E)&&!a.isContentEditable&&i.preventDefault(),r.freeMode&&r.freeMode.enabled&&s.freeMode&&s.animating&&!r.cssMode&&s.freeMode.onTouchStart(),s.emit("touchStart",i)}function xt(t){const s=R(),e=this,i=e.touchEventsData,{params:n,touches:r,rtlTranslate:l,enabled:o}=e;if(!o||!n.simulateTouch&&t.pointerType==="mouse")return;let a=t;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(i.touchId!==null||a.pointerId!==i.pointerId))return;let d;if(a.type==="touchmove"){if(d=[...a.changedTouches].find(S=>S.identifier===i.touchId),!d||d.identifier!==i.touchId)return}else d=a;if(!i.isTouched){i.startMoving&&i.isScrolling&&e.emit("touchMoveOpposite",a);return}const u=d.pageX,c=d.pageY;if(a.preventedByNestedSwiper){r.startX=u,r.startY=c;return}if(!e.allowTouchMove){a.target.matches(i.focusableElements)||(e.allowClick=!1),i.isTouched&&(Object.assign(r,{startX:u,startY:c,currentX:u,currentY:c}),i.touchStartTime=X());return}if(n.touchReleaseOnEdges&&!n.loop)if(e.isVertical()){if(cr.startY&&e.translate>=e.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else{if(l&&(u>r.startX&&-e.translate<=e.maxTranslate()||u=e.minTranslate()))return;if(!l&&(ur.startX&&e.translate>=e.minTranslate()))return}if(s.activeElement&&s.activeElement.matches(i.focusableElements)&&s.activeElement!==a.target&&a.pointerType!=="mouse"&&s.activeElement.blur(),s.activeElement&&a.target===s.activeElement&&a.target.matches(i.focusableElements)){i.isMoved=!0,e.allowClick=!1;return}i.allowTouchCallbacks&&e.emit("touchMove",a),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=u,r.currentY=c;const p=r.currentX-r.startX,f=r.currentY-r.startY;if(e.params.threshold&&Math.sqrt(p**2+f**2)"u"){let S;e.isHorizontal()&&r.currentY===r.startY||e.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:p*p+f*f>=25&&(S=Math.atan2(Math.abs(f),Math.abs(p))*180/Math.PI,i.isScrolling=e.isHorizontal()?S>n.touchAngle:90-S>n.touchAngle)}if(i.isScrolling&&e.emit("touchMoveOpposite",a),typeof i.startMoving>"u"&&(r.currentX!==r.startX||r.currentY!==r.startY)&&(i.startMoving=!0),i.isScrolling||a.type==="touchmove"&&i.preventTouchMoveFromPointerMove){i.isTouched=!1;return}if(!i.startMoving)return;e.allowClick=!1,!n.cssMode&&a.cancelable&&a.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&a.stopPropagation();let h=e.isHorizontal()?p:f,m=e.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;n.oneWayMovement&&(h=Math.abs(h)*(l?1:-1),m=Math.abs(m)*(l?1:-1)),r.diff=h,h*=n.touchRatio,l&&(h=-h,m=-m);const E=e.touchesDirection;e.swipeDirection=h>0?"prev":"next",e.touchesDirection=m>0?"prev":"next";const y=e.params.loop&&!n.cssMode,v=e.touchesDirection==="next"&&e.allowSlideNext||e.touchesDirection==="prev"&&e.allowSlidePrev;if(!i.isMoved){if(y&&v&&e.loopFix({direction:e.swipeDirection}),i.startTranslate=e.getTranslate(),e.setTransition(0),e.animating){const S=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});e.wrapperEl.dispatchEvent(S)}i.allowMomentumBounce=!1,n.grabCursor&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!0),e.emit("sliderFirstMove",a)}if(new Date().getTime(),n._loopSwapReset!==!1&&i.isMoved&&i.allowThresholdMove&&E!==e.touchesDirection&&y&&v&&Math.abs(h)>=1){Object.assign(r,{startX:u,startY:c,currentX:u,currentY:c,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,i.startTranslate=i.currentTranslate;return}e.emit("sliderMove",a),i.isMoved=!0,i.currentTranslate=h+i.startTranslate;let g=!0,x=n.resistanceRatio;if(n.touchReleaseOnEdges&&(x=0),h>0?(y&&v&&i.allowThresholdMove&&i.currentTranslate>(n.centeredSlides?e.minTranslate()-e.slidesSizesGrid[e.activeIndex+1]-(n.slidesPerView!=="auto"&&e.slides.length-n.slidesPerView>=2?e.slidesSizesGrid[e.activeIndex+1]+e.params.spaceBetween:0)-e.params.spaceBetween:e.minTranslate())&&e.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>e.minTranslate()&&(g=!1,n.resistance&&(i.currentTranslate=e.minTranslate()-1+(-e.minTranslate()+i.startTranslate+h)**x))):h<0&&(y&&v&&i.allowThresholdMove&&i.currentTranslate<(n.centeredSlides?e.maxTranslate()+e.slidesSizesGrid[e.slidesSizesGrid.length-1]+e.params.spaceBetween+(n.slidesPerView!=="auto"&&e.slides.length-n.slidesPerView>=2?e.slidesSizesGrid[e.slidesSizesGrid.length-1]+e.params.spaceBetween:0):e.maxTranslate())&&e.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:e.slides.length-(n.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(parseFloat(n.slidesPerView,10)))}),i.currentTranslatei.startTranslate&&(i.currentTranslate=i.startTranslate),!e.allowSlidePrev&&!e.allowSlideNext&&(i.currentTranslate=i.startTranslate),n.threshold>0)if(Math.abs(h)>n.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,r.diff=e.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY;return}}else{i.currentTranslate=i.startTranslate;return}!n.followFinger||n.cssMode||((n.freeMode&&n.freeMode.enabled&&e.freeMode||n.watchSlidesProgress)&&(e.updateActiveIndex(),e.updateSlidesClasses()),n.freeMode&&n.freeMode.enabled&&e.freeMode&&e.freeMode.onTouchMove(),e.updateProgress(i.currentTranslate),e.setTranslate(i.currentTranslate))}function Et(t){const s=this,e=s.touchEventsData;let i=t;i.originalEvent&&(i=i.originalEvent);let n;if(i.type==="touchend"||i.type==="touchcancel"){if(n=[...i.changedTouches].find(S=>S.identifier===e.touchId),!n||n.identifier!==e.touchId)return}else{if(e.touchId!==null||i.pointerId!==e.pointerId)return;n=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)&&!(["pointercancel","contextmenu"].includes(i.type)&&(s.browser.isSafari||s.browser.isWebView)))return;e.pointerId=null,e.touchId=null;const{params:l,touches:o,rtlTranslate:a,slidesGrid:d,enabled:u}=s;if(!u||!l.simulateTouch&&i.pointerType==="mouse")return;if(e.allowTouchCallbacks&&s.emit("touchEnd",i),e.allowTouchCallbacks=!1,!e.isTouched){e.isMoved&&l.grabCursor&&s.setGrabCursor(!1),e.isMoved=!1,e.startMoving=!1;return}l.grabCursor&&e.isMoved&&e.isTouched&&(s.allowSlideNext===!0||s.allowSlidePrev===!0)&&s.setGrabCursor(!1);const c=X(),p=c-e.touchStartTime;if(s.allowClick){const S=i.path||i.composedPath&&i.composedPath();s.updateClickedSlide(S&&S[0]||i.target,S),s.emit("tap click",i),p<300&&c-e.lastClickTime<300&&s.emit("doubleTap doubleClick",i)}if(e.lastClickTime=X(),he(()=>{s.destroyed||(s.allowClick=!0)}),!e.isTouched||!e.isMoved||!s.swipeDirection||o.diff===0&&!e.loopSwapReset||e.currentTranslate===e.startTranslate&&!e.loopSwapReset){e.isTouched=!1,e.isMoved=!1,e.startMoving=!1;return}e.isTouched=!1,e.isMoved=!1,e.startMoving=!1;let f;if(l.followFinger?f=a?s.translate:-s.translate:f=-e.currentTranslate,l.cssMode)return;if(l.freeMode&&l.freeMode.enabled){s.freeMode.onTouchEnd({currentPos:f});return}const h=f>=-s.maxTranslate()&&!s.params.loop;let m=0,E=s.slidesSizesGrid[0];for(let S=0;S=d[S]&&f=d[S])&&(m=S,E=d[d.length-1]-d[d.length-2])}let y=null,v=null;l.rewind&&(s.isBeginning?v=l.virtual&&l.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1:s.isEnd&&(y=0));const g=(f-d[m])/E,x=ml.longSwipesMs){if(!l.longSwipes){s.slideTo(s.activeIndex);return}s.swipeDirection==="next"&&(g>=l.longSwipesRatio?s.slideTo(l.rewind&&s.isEnd?y:m+x):s.slideTo(m)),s.swipeDirection==="prev"&&(g>1-l.longSwipesRatio?s.slideTo(m+x):v!==null&&g<0&&Math.abs(g)>l.longSwipesRatio?s.slideTo(v):s.slideTo(m))}else{if(!l.shortSwipes){s.slideTo(s.activeIndex);return}s.navigation&&(i.target===s.navigation.nextEl||i.target===s.navigation.prevEl)?i.target===s.navigation.nextEl?s.slideTo(m+x):s.slideTo(m):(s.swipeDirection==="next"&&s.slideTo(y!==null?y:m+x),s.swipeDirection==="prev"&&s.slideTo(v!==null?v:m))}}function ce(){const t=this,{params:s,el:e}=t;if(e&&e.offsetWidth===0)return;s.breakpoints&&t.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:n,snapGrid:r}=t,l=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const o=l&&s.loop;(s.slidesPerView==="auto"||s.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!o?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!l?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=n,t.allowSlideNext=i,t.params.watchOverflow&&r!==t.snapGrid&&t.checkOverflow()}function Mt(t){const s=this;s.enabled&&(s.allowClick||(s.params.preventClicks&&t.preventDefault(),s.params.preventClicksPropagation&&s.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function Pt(){const t=this,{wrapperEl:s,rtlTranslate:e,enabled:i}=t;if(!i)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-s.scrollLeft:t.translate=-s.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let n;const r=t.maxTranslate()-t.minTranslate();r===0?n=0:n=(t.translate-t.minTranslate())/r,n!==t.progress&&t.updateProgress(e?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function Ct(t){const s=this;Y(s,t.target),!(s.params.cssMode||s.params.slidesPerView!=="auto"&&!s.params.autoHeight)&&s.update()}function It(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const Te=(t,s)=>{const e=R(),{params:i,el:n,wrapperEl:r,device:l}=t,o=!!i.nested,a=s==="on"?"addEventListener":"removeEventListener",d=s;!n||typeof n=="string"||(e[a]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:o}),n[a]("touchstart",t.onTouchStart,{passive:!1}),n[a]("pointerdown",t.onTouchStart,{passive:!1}),e[a]("touchmove",t.onTouchMove,{passive:!1,capture:o}),e[a]("pointermove",t.onTouchMove,{passive:!1,capture:o}),e[a]("touchend",t.onTouchEnd,{passive:!0}),e[a]("pointerup",t.onTouchEnd,{passive:!0}),e[a]("pointercancel",t.onTouchEnd,{passive:!0}),e[a]("touchcancel",t.onTouchEnd,{passive:!0}),e[a]("pointerout",t.onTouchEnd,{passive:!0}),e[a]("pointerleave",t.onTouchEnd,{passive:!0}),e[a]("contextmenu",t.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&n[a]("click",t.onClick,!0),i.cssMode&&r[a]("scroll",t.onScroll),i.updateOnWindowResize?t[d](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",ce,!0):t[d]("observerUpdate",ce,!0),n[a]("load",t.onLoad,{capture:!0}))};function Lt(){const t=this,{params:s}=t;t.onTouchStart=yt.bind(t),t.onTouchMove=xt.bind(t),t.onTouchEnd=Et.bind(t),t.onDocumentTouchStart=It.bind(t),s.cssMode&&(t.onScroll=Pt.bind(t)),t.onClick=Mt.bind(t),t.onLoad=Ct.bind(t),Te(t,"on")}function Ot(){Te(this,"off")}var zt={attachEvents:Lt,detachEvents:Ot};const fe=(t,s)=>t.grid&&s.grid&&s.grid.rows>1;function kt(){const t=this,{realIndex:s,initialized:e,params:i,el:n}=t,r=i.breakpoints;if(!r||r&&Object.keys(r).length===0)return;const l=R(),o=i.breakpointsBase==="window"||!i.breakpointsBase?i.breakpointsBase:"container",a=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?t.el:l.querySelector(i.breakpointsBase),d=t.getBreakpoint(r,o,a);if(!d||t.currentBreakpoint===d)return;const c=(d in r?r[d]:void 0)||t.originalParams,p=fe(t,i),f=fe(t,c),h=t.params.grabCursor,m=c.grabCursor,E=i.enabled;p&&!f?(n.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),t.emitContainerClasses()):!p&&f&&(n.classList.add(`${i.containerModifierClass}grid`),(c.grid.fill&&c.grid.fill==="column"||!c.grid.fill&&i.grid.fill==="column")&&n.classList.add(`${i.containerModifierClass}grid-column`),t.emitContainerClasses()),h&&!m?t.unsetGrabCursor():!h&&m&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(I=>{if(typeof c[I]>"u")return;const P=i[I]&&i[I].enabled,T=c[I]&&c[I].enabled;P&&!T&&t[I].disable(),!P&&T&&t[I].enable()});const y=c.direction&&c.direction!==i.direction,v=i.loop&&(c.slidesPerView!==i.slidesPerView||y),g=i.loop;y&&e&&t.changeDirection(),D(t.params,c);const x=t.params.enabled,S=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),E&&!x?t.disable():!E&&x&&t.enable(),t.currentBreakpoint=d,t.emit("_beforeBreakpoint",c),e&&(v?(t.loopDestroy(),t.loopCreate(s),t.updateSlides()):!g&&S?(t.loopCreate(s),t.updateSlides()):g&&!S&&t.loopDestroy()),t.emit("breakpoint",c)}function At(t,s="window",e){if(!t||s==="container"&&!e)return;let i=!1;const n=G(),r=s==="window"?n.innerHeight:e.clientHeight,l=Object.keys(t).map(o=>{if(typeof o=="string"&&o.indexOf("@")===0){const a=parseFloat(o.substr(1));return{value:r*a,point:o}}return{value:o,point:o}});l.sort((o,a)=>parseInt(o.value,10)-parseInt(a.value,10));for(let o=0;o{typeof i=="object"?Object.keys(i).forEach(n=>{i[n]&&e.push(s+n)}):typeof i=="string"&&e.push(s+i)}),e}function Dt(){const t=this,{classNames:s,params:e,rtl:i,el:n,device:r}=t,l=Vt(["initialized",e.direction,{"free-mode":t.params.freeMode&&e.freeMode.enabled},{autoheight:e.autoHeight},{rtl:i},{grid:e.grid&&e.grid.rows>1},{"grid-column":e.grid&&e.grid.rows>1&&e.grid.fill==="column"},{android:r.android},{ios:r.ios},{"css-mode":e.cssMode},{centered:e.cssMode&&e.centeredSlides},{"watch-progress":e.watchSlidesProgress}],e.containerModifierClass);s.push(...l),n.classList.add(...s),t.emitContainerClasses()}function _t(){const t=this,{el:s,classNames:e}=t;!s||typeof s=="string"||(s.classList.remove(...e),t.emitContainerClasses())}var Bt={addClasses:Dt,removeClasses:_t};function Ft(){const t=this,{isLocked:s,params:e}=t,{slidesOffsetBefore:i}=e;if(i){const n=t.slides.length-1,r=t.slidesGrid[n]+t.slidesSizesGrid[n]+i*2;t.isLocked=t.size>r}else t.isLocked=t.snapGrid.length===1;e.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),e.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),s&&s!==t.isLocked&&(t.isEnd=!1),s!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var Nt={checkOverflow:Ft},ue={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 $t(t,s){return function(i={}){const n=Object.keys(i)[0],r=i[n];if(typeof r!="object"||r===null){D(s,i);return}if(t[n]===!0&&(t[n]={enabled:!0}),n==="navigation"&&t[n]&&t[n].enabled&&!t[n].prevEl&&!t[n].nextEl&&(t[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&t[n]&&t[n].enabled&&!t[n].el&&(t[n].auto=!0),!(n in t&&"enabled"in r)){D(s,i);return}typeof t[n]=="object"&&!("enabled"in t[n])&&(t[n].enabled=!0),t[n]||(t[n]={enabled:!1}),D(s,i)}}const ee={eventsEmitter:Be,update:Ue,translate:tt,transition:nt,slide:pt,loop:vt,grabCursor:Tt,events:zt,breakpoints:Gt,checkOverflow:Nt,classes:Bt},te={};class _{constructor(...s){let e,i;s.length===1&&s[0].constructor&&Object.prototype.toString.call(s[0]).slice(8,-1)==="Object"?i=s[0]:[e,i]=s,i||(i={}),i=D({},i),e&&!i.el&&(i.el=e);const n=R();if(i.el&&typeof i.el=="string"&&n.querySelectorAll(i.el).length>1){const a=[];return n.querySelectorAll(i.el).forEach(d=>{const u=D({},i,{el:d});a.push(new _(u))}),a}const r=this;r.__swiper__=!0,r.support=ge(),r.device=ve({userAgent:i.userAgent}),r.browser=we(),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__],i.modules&&Array.isArray(i.modules)&&i.modules.forEach(a=>{typeof a=="function"&&r.modules.indexOf(a)<0&&r.modules.push(a)});const l={};r.modules.forEach(a=>{a({params:i,swiper:r,extendParams:$t(i,l),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})});const o=D({},ue,l);return r.params=D({},o,te,i),r.originalParams=D({},r.params),r.passedParams=D({},i),r.params&&r.params.on&&Object.keys(r.params.on).forEach(a=>{r.on(a,r.params.on[a])}),r.params&&r.params.onAny&&r.onAny(r.params.onAny),Object.assign(r,{enabled:r.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return r.params.direction==="horizontal"},isVertical(){return r.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:r.params.allowSlideNext,allowSlidePrev:r.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:r.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}getDirectionLabel(s){return this.isHorizontal()?s:{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"}[s]}getSlideIndex(s){const{slidesEl:e,params:i}=this,n=B(e,`.${i.slideClass}, swiper-slide`),r=ae(n[0]);return ae(s)-r}getSlideIndexByData(s){return this.getSlideIndex(this.slides.find(e=>e.getAttribute("data-swiper-slide-index")*1===s))}getSlideIndexWhenGrid(s){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?s=Math.floor(s/this.params.grid.rows):this.params.grid.fill==="row"&&(s=s%Math.ceil(this.slides.length/this.params.grid.rows))),s}recalcSlides(){const s=this,{slidesEl:e,params:i}=s;s.slides=B(e,`.${i.slideClass}, swiper-slide`)}enable(){const s=this;s.enabled||(s.enabled=!0,s.params.grabCursor&&s.setGrabCursor(),s.emit("enable"))}disable(){const s=this;s.enabled&&(s.enabled=!1,s.params.grabCursor&&s.unsetGrabCursor(),s.emit("disable"))}setProgress(s,e){const i=this;s=Math.min(Math.max(s,0),1);const n=i.minTranslate(),l=(i.maxTranslate()-n)*s+n;i.translateTo(l,typeof e>"u"?0:e),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const s=this;if(!s.params._emitClasses||!s.el)return;const e=s.el.className.split(" ").filter(i=>i.indexOf("swiper")===0||i.indexOf(s.params.containerModifierClass)===0);s.emit("_containerClasses",e.join(" "))}getSlideClasses(s){const e=this;return e.destroyed?"":s.className.split(" ").filter(i=>i.indexOf("swiper-slide")===0||i.indexOf(e.params.slideClass)===0).join(" ")}emitSlidesClasses(){const s=this;if(!s.params._emitClasses||!s.el)return;const e=[];s.slides.forEach(i=>{const n=s.getSlideClasses(i);e.push({slideEl:i,classNames:n}),s.emit("_slideClass",i,n)}),s.emit("_slideClasses",e)}slidesPerViewDynamic(s="current",e=!1){const i=this,{params:n,slides:r,slidesGrid:l,slidesSizesGrid:o,size:a,activeIndex:d}=i;let u=1;if(typeof n.slidesPerView=="number")return n.slidesPerView;if(n.centeredSlides){let c=r[d]?Math.ceil(r[d].swiperSlideSize):0,p;for(let f=d+1;fa&&(p=!0));for(let f=d-1;f>=0;f-=1)r[f]&&!p&&(c+=r[f].swiperSlideSize,u+=1,c>a&&(p=!0))}else if(s==="current")for(let c=d+1;c=0;c-=1)l[d]-l[c]{l.complete&&Y(s,l)}),s.updateSize(),s.updateSlides(),s.updateProgress(),s.updateSlidesClasses();function n(){const l=s.rtlTranslate?s.translate*-1:s.translate,o=Math.min(Math.max(l,s.maxTranslate()),s.minTranslate());s.setTranslate(o),s.updateActiveIndex(),s.updateSlidesClasses()}let r;if(i.freeMode&&i.freeMode.enabled&&!i.cssMode)n(),i.autoHeight&&s.updateAutoHeight();else{if((i.slidesPerView==="auto"||i.slidesPerView>1)&&s.isEnd&&!i.centeredSlides){const l=s.virtual&&i.virtual.enabled?s.virtual.slides:s.slides;r=s.slideTo(l.length-1,0,!1,!0)}else r=s.slideTo(s.activeIndex,0,!1,!0);r||n()}i.watchOverflow&&e!==s.snapGrid&&s.checkOverflow(),s.emit("update")}changeDirection(s,e=!0){const i=this,n=i.params.direction;return s||(s=n==="horizontal"?"vertical":"horizontal"),s===n||s!=="horizontal"&&s!=="vertical"||(i.el.classList.remove(`${i.params.containerModifierClass}${n}`),i.el.classList.add(`${i.params.containerModifierClass}${s}`),i.emitContainerClasses(),i.params.direction=s,i.slides.forEach(r=>{s==="vertical"?r.style.width="":r.style.height=""}),i.emit("changeDirection"),e&&i.update()),i}changeLanguageDirection(s){const e=this;e.rtl&&s==="rtl"||!e.rtl&&s==="ltr"||(e.rtl=s==="rtl",e.rtlTranslate=e.params.direction==="horizontal"&&e.rtl,e.rtl?(e.el.classList.add(`${e.params.containerModifierClass}rtl`),e.el.dir="rtl"):(e.el.classList.remove(`${e.params.containerModifierClass}rtl`),e.el.dir="ltr"),e.update())}mount(s){const e=this;if(e.mounted)return!0;let i=s||e.params.el;if(typeof i=="string"&&(i=document.querySelector(i)),!i)return!1;i.swiper=e,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===e.params.swiperElementNodeName.toUpperCase()&&(e.isElement=!0);const n=()=>`.${(e.params.wrapperClass||"").trim().split(" ").join(".")}`;let l=i&&i.shadowRoot&&i.shadowRoot.querySelector?i.shadowRoot.querySelector(n()):B(i,n())[0];return!l&&e.params.createElements&&(l=se("div",e.params.wrapperClass),i.append(l),B(i,`.${e.params.slideClass}`).forEach(o=>{l.append(o)})),Object.assign(e,{el:i,wrapperEl:l,slidesEl:e.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:l,hostEl:e.isElement?i.parentNode.host:i,mounted:!0,rtl:i.dir.toLowerCase()==="rtl"||$(i,"direction")==="rtl",rtlTranslate:e.params.direction==="horizontal"&&(i.dir.toLowerCase()==="rtl"||$(i,"direction")==="rtl"),wrongRTL:$(l,"display")==="-webkit-box"}),!0}init(s){const e=this;if(e.initialized||e.mount(s)===!1)return e;e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.enabled&&e.setGrabCursor(),e.params.loop&&e.virtual&&e.params.virtual.enabled?e.slideTo(e.params.initialSlide+e.virtual.slidesBefore,0,e.params.runCallbacksOnInit,!1,!0):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit,!1,!0),e.params.loop&&e.loopCreate(void 0,!0),e.attachEvents();const n=[...e.el.querySelectorAll('[loading="lazy"]')];return e.isElement&&n.push(...e.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(r=>{r.complete?Y(e,r):r.addEventListener("load",l=>{Y(e,l.target)})}),ie(e),e.initialized=!0,ie(e),e.emit("init"),e.emit("afterInit"),e}destroy(s=!0,e=!0){const i=this,{params:n,el:r,wrapperEl:l,slides:o}=i;return typeof i.params>"u"||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),e&&(i.removeClasses(),r&&typeof r!="string"&&r.removeAttribute("style"),l&&l.removeAttribute("style"),o&&o.length&&o.forEach(a=>{a.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(a=>{i.off(a)}),s!==!1&&(i.el&&typeof i.el!="string"&&(i.el.swiper=null),Ee(i)),i.destroyed=!0),null}static extendDefaults(s){D(te,s)}static get extendedDefaults(){return te}static get defaults(){return ue}static installModule(s){_.prototype.__modules__||(_.prototype.__modules__=[]);const e=_.prototype.__modules__;typeof s=="function"&&e.indexOf(s)<0&&e.push(s)}static use(s){return Array.isArray(s)?(s.forEach(e=>_.installModule(e)),_):(_.installModule(s),_)}}Object.keys(ee).forEach(t=>{Object.keys(ee[t]).forEach(s=>{_.prototype[s]=ee[t][s]})});_.use([De,_e]);export{_ as Swiper,_ as default}; diff --git a/bundled/js/BDA7kS.js b/bundled/js/BDA7kS.js deleted file mode 100644 index b8efa38..0000000 --- a/bundled/js/BDA7kS.js +++ /dev/null @@ -1 +0,0 @@ -function mt(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}function zi(u,t){u.prototype=Object.create(t.prototype),u.prototype.constructor=u,u.__proto__=t}var nt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Gt={duration:.5,overwrite:!1,delay:0},je,W,E,ut=1e8,M=1/ut,Ie=Math.PI*2,Rr=Ie/4,Er=0,Fi=Math.sqrt,zr=Math.cos,Fr=Math.sin,X=function(t){return typeof t=="string"},I=function(t){return typeof t=="function"},yt=function(t){return typeof t=="number"},He=function(t){return typeof t>"u"},dt=function(t){return typeof t=="object"},K=function(t){return t!==!1},Je=function(){return typeof window<"u"},pe=function(t){return I(t)||X(t)},Li=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Q=Array.isArray,Lr=/random\([^)]+\)/g,Ir=/,\s*/g,mi=/(?:-?\.?\d|\.)+/gi,Ii=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ut=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Me=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Ni=/[+-]=-?[.\d]+/,Nr=/[^,'"\[\]\s]+/gi,Br=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,F,_t,Ne,ti,st={},ve={},Bi,Vi=function(t){return(ve=Qt(t,st))&&J},ei=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},ae=function(t,e){return!e&&console.warn(t)},Ui=function(t,e){return t&&(st[t]=e)&&ve&&(ve[t]=e)||st},oe=function(){return 0},Vr={suppressEvents:!0,isStart:!0,kill:!1},me={suppressEvents:!0,kill:!1},Ur={suppressEvents:!0},ii={},bt=[],Be={},Yi,tt={},De={},gi=30,ge=[],ri="",ni=function(t){var e=t[0],i,r;if(dt(e)||I(e)||(t=[t]),!(i=(e._gsap||{}).harness)){for(r=ge.length;r--&&!ge[r].targetTest(e););i=ge[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new lr(t[r],i)))||t.splice(r,1);return t},Ft=function(t){return t._gsap||ni(ft(t))[0]._gsap},Xi=function(t,e,i){return(i=t[e])&&I(i)?t[e]():He(i)&&t.getAttribute&&t.getAttribute(e)||i},Z=function(t,e){return(t=t.split(",")).forEach(e)||t},N=function(t){return Math.round(t*1e5)/1e5||0},z=function(t){return Math.round(t*1e7)/1e7||0},Xt=function(t,e){var i=e.charAt(0),r=parseFloat(e.substr(2));return t=parseFloat(t),i==="+"?t+r:i==="-"?t-r:i==="*"?t*r:t/r},Yr=function(t,e){for(var i=e.length,r=0;t.indexOf(e[r])<0&&++ra;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[r]=e,e._prev=s,e.parent=e._dp=t,e},Oe=function(t,e,i,r){i===void 0&&(i="_first"),r===void 0&&(r="_last");var n=e._prev,s=e._next;n?n._next=s:t[i]===e&&(t[i]=s),s?s._prev=n:t[r]===e&&(t[r]=n),e._next=e._prev=e.parent=null},St=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Lt=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var i=t;i;)i._dirty=1,i=i.parent;return t},Wr=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},Ve=function(t,e,i,r){return t._startAt&&(W?t._startAt.revert(me):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},Gr=function u(t){return!t||t._ts&&u(t.parent)},vi=function(t){return t._repeat?$t(t._tTime,t=t.duration()+t._rDelay)*t:0},$t=function(t,e){var i=Math.floor(t=z(t/e));return t&&i===t?i-1:i},we=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},ke=function(t){return t._end=z(t._start+(t._tDur/Math.abs(t._ts||t._rts||M)||0))},Ce=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=z(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),ke(t),i._dirty||Lt(i,t)),t},$i=function(t,e){var i;if((e._time||!e._dur&&e._initted||e._startM)&&e.render(i,!0)),Lt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur=0&&i.totalTime(i._tTime),i=i._dp;t._zTime=-M}},lt=function(t,e,i,r){return e.parent&&St(e),e._start=z((yt(i)?i:i||t!==F?ot(t,i,e):t._time)+e._delay),e._end=z(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Qi(t,e,"_first","_last",t._sort?"_start":0),Ue(e)||(t._recent=e),r||$i(t,e),t._ts<0&&Ce(t,t._tTime),t},Ki=function(t,e){return(st.ScrollTrigger||ei("scrollTrigger",e))&&st.ScrollTrigger.create(e,t)},Zi=function(t,e,i,r,n){if(oi(t,e,n),!t._initted)return 1;if(!i&&t._pt&&!W&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&Yi!==et.frame)return bt.push(t),t._lazy=[n,r],1},Qr=function u(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||u(e))},Ue=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},$r=function(t,e,i,r){var n=t.ratio,s=e<0||!e&&(!t._start&&Qr(t)&&!(!t._initted&&Ue(t))||(t._ts<0||t._dp._ts<0)&&!Ue(t))?0:1,a=t._rDelay,o=0,f,h,l;if(a&&t._repeat&&(o=ce(0,t._tDur,e),h=$t(o,a),t._yoyo&&h&1&&(s=1-s),h!==$t(t._tTime,a)&&(n=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==n||W||r||t._zTime===M||!e&&t._zTime){if(!t._initted&&Zi(t,e,r,i,o))return;for(l=t._zTime,t._zTime=e||(i?M:0),i||(i=e&&!l),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=o,f=t._pt;f;)f.r(s,f.d),f=f._next;e<0&&Ve(t,e,i,!0),t._onUpdate&&!i&&it(t,"onUpdate"),o&&t._repeat&&!i&&t.parent&&it(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(s&&St(t,1),!i&&!W&&(it(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},Kr=function(t,e,i){var r;if(i>e)for(r=t._first;r&&r._start<=i;){if(r.data==="isPause"&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=i;){if(r.data==="isPause"&&r._start0&&!r&&Ce(t,t._tTime=t._tDur*a),t.parent&&ke(t),i||Lt(t.parent,t),t},xi=function(t){return t instanceof $?Lt(t):Kt(t,t._dur)},Zr={_start:0,endTime:oe,totalDuration:oe},ot=function u(t,e,i){var r=t.labels,n=t._recent||Zr,s=t.duration()>=ut?n.endTime(!1):t._dur,a,o,f;return X(e)&&(isNaN(e)||e in r)?(o=e.charAt(0),f=e.substr(-1)==="%",a=e.indexOf("="),o==="<"||o===">"?(a>=0&&(e=e.replace(/=/,"")),(o==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(e.substr(1))||0)*(f?(a<0?n:i).totalDuration()/100:1)):a<0?(e in r||(r[e]=s),r[e]):(o=parseFloat(e.charAt(a-1)+e.substr(a+1)),f&&i&&(o=o/100*(Q(i)?i[0]:i).totalDuration()),a>1?u(t,e.substr(0,a-1),i)+o:s+o)):e==null?s:+e},ne=function(t,e,i){var r=yt(e[1]),n=(r?2:1)+(t<2?0:1),s=e[n],a,o;if(r&&(s.duration=e[1]),s.parent=i,t){for(a=s,o=i;o&&!("immediateRender"in a);)a=o.vars.defaults||{},o=K(o.vars.inherit)&&o.parent;s.immediateRender=K(a.immediateRender),t<2?s.runBackwards=1:s.startAt=e[n-1]}return new V(e[0],s,e[n+1])},Ct=function(t,e){return t||t===0?e(t):e},ce=function(t,e,i){return ie?e:i},G=function(t,e){return!X(t)||!(e=Br.exec(t))?"":e[1]},jr=function(t,e,i){return Ct(i,function(r){return ce(t,e,r)})},Ye=[].slice,ji=function(t,e){return t&&dt(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&dt(t[0]))&&!t.nodeType&&t!==_t},Hr=function(t,e,i){return i===void 0&&(i=[]),t.forEach(function(r){var n;return X(r)&&!e||ji(r,1)?(n=i).push.apply(n,ft(r)):i.push(r)})||i},ft=function(t,e,i){return E&&!e&&E.selector?E.selector(t):X(t)&&!i&&(Ne||!Zt())?Ye.call((e||ti).querySelectorAll(t),0):Q(t)?Hr(t,i):ji(t)?Ye.call(t,0):t?[t]:[]},Xe=function(t){return t=ft(t)[0]||ae("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return ft(e,i.querySelectorAll?i:i===t?ae("Invalid scope")||ti.createElement("div"):t)}},Hi=function(t){return t.sort(function(){return .5-Math.random()})},Ji=function(t){if(I(t))return t;var e=dt(t)?t:{each:t},i=It(e.ease),r=e.from||0,n=parseFloat(e.base)||0,s={},a=r>0&&r<1,o=isNaN(r)||a,f=e.axis,h=r,l=r;return X(r)?h=l={center:.5,edges:.5,end:1}[r]||0:!a&&o&&(h=r[0],l=r[1]),function(c,d,p){var _=(p||e).length,m=s[_],y,v,T,w,g,b,P,S,x;if(!m){if(x=e.grid==="auto"?0:(e.grid||[1,ut])[1],!x){for(P=-ut;P<(P=p[x++].getBoundingClientRect().left)&&x<_;);x<_&&x--}for(m=s[_]=[],y=o?Math.min(x,_)*h-.5:r%x,v=x===ut?0:o?_*l/x-.5:r/x|0,P=0,S=ut,b=0;b<_;b++)T=b%x-y,w=v-(b/x|0),m[b]=g=f?Math.abs(f==="y"?w:T):Fi(T*T+w*w),g>P&&(P=g),g_?_-1:f?f==="y"?_/x:x:Math.max(x,_/x))||0)*(r==="edges"?-1:1),m.b=_<0?n-_:n,m.u=G(e.amount||e.each)||0,i=i&&_<0?fr(i):i}return _=(m[c]-m.min)/m.max||0,z(m.b+(i?i(_):_)*m.v)+m.u}},qe=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var r=z(Math.round(parseFloat(i)/t)*t*e);return(r-r%1)/e+(yt(i)?0:G(i))}},tr=function(t,e){var i=Q(t),r,n;return!i&&dt(t)&&(r=i=t.radius||ut,t.values?(t=ft(t.values),(n=!yt(t[0]))&&(r*=r)):t=qe(t.increment)),Ct(e,i?I(t)?function(s){return n=t(s),Math.abs(n-s)<=r?n:s}:function(s){for(var a=parseFloat(n?s.x:s),o=parseFloat(n?s.y:0),f=ut,h=0,l=t.length,c,d;l--;)n?(c=t[l].x-a,d=t[l].y-o,c=c*c+d*d):c=Math.abs(t[l]-a),cr?n-s:s)})},ue=function(t){return t.replace(Lr,function(e){var i=e.indexOf("[")+1,r=e.substring(i||7,i?e.indexOf("]"):e.length-1).split(Ir);return er(i?r:+r[0],i?0:+r[1],+r[2]||1e-5)})},rr=function(t,e,i,r,n){var s=e-t,a=r-i;return Ct(n,function(o){return i+((o-t)/s*a||0)})},sn=function u(t,e,i,r){var n=isNaN(t+e)?0:function(d){return(1-d)*t+d*e};if(!n){var s=X(t),a={},o,f,h,l,c;if(i===!0&&(r=1)&&(i=null),s)t={p:t},e={p:e};else if(Q(t)&&!Q(e)){for(h=[],l=t.length,c=l-2,f=1;f(a=Math.abs(a))&&(o=s,n=a);return o},it=function(t,e,i){var r=t.vars,n=r[e],s=E,a=t._ctx,o,f,h;if(n)return o=r[e+"Params"],f=r.callbackScope||t,i&&bt.length&&xe(),a&&(E=a),h=o?n.apply(f,o):n.call(f),E=s,h},ee=function(t){return St(t),t.scrollTrigger&&t.scrollTrigger.kill(!!W),t.progress()<1&&it(t,"onInterrupt"),t},Yt,nr=[],sr=function(t){if(t)if(t=!t.name&&t.default||t,Je()||t.headless){var e=t.name,i=I(t),r=e&&!i&&t.init?function(){this._props=[]}:t,n={init:oe,render:hi,add:ai,kill:Tn,modifier:xn,rawVars:0},s={targetTest:0,get:0,getSetter:fi,aliases:{},register:0};if(Zt(),t!==r){if(tt[e])return;at(r,at(Te(t,n),s)),Qt(r.prototype,Qt(n,Te(t,s))),tt[r.prop=e]=r,t.targetTest&&(ge.push(r),ii[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}Ui(e,r),t.register&&t.register(J,r,j)}else nr.push(t)},C=255,ie={aqua:[0,C,C],lime:[0,C,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,C],navy:[0,0,128],white:[C,C,C],olive:[128,128,0],yellow:[C,C,0],orange:[C,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[C,0,0],pink:[C,192,203],cyan:[0,C,C],transparent:[C,C,C,0]},Ae=function(t,e,i){return t+=t<0?1:t>1?-1:0,(t*6<1?e+(i-e)*t*6:t<.5?i:t*3<2?e+(i-e)*(2/3-t)*6:e)*C+.5|0},ar=function(t,e,i){var r=t?yt(t)?[t>>16,t>>8&C,t&C]:0:ie.black,n,s,a,o,f,h,l,c,d,p;if(!r){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),ie[t])r=ie[t];else if(t.charAt(0)==="#"){if(t.length<6&&(n=t.charAt(1),s=t.charAt(2),a=t.charAt(3),t="#"+n+n+s+s+a+a+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return r=parseInt(t.substr(1,6),16),[r>>16,r>>8&C,r&C,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),r=[t>>16,t>>8&C,t&C]}else if(t.substr(0,3)==="hsl"){if(r=p=t.match(mi),!e)o=+r[0]%360/360,f=+r[1]/100,h=+r[2]/100,s=h<=.5?h*(f+1):h+f-h*f,n=h*2-s,r.length>3&&(r[3]*=1),r[0]=Ae(o+1/3,n,s),r[1]=Ae(o,n,s),r[2]=Ae(o-1/3,n,s);else if(~t.indexOf("="))return r=t.match(Ii),i&&r.length<4&&(r[3]=1),r}else r=t.match(mi)||ie.transparent;r=r.map(Number)}return e&&!p&&(n=r[0]/C,s=r[1]/C,a=r[2]/C,l=Math.max(n,s,a),c=Math.min(n,s,a),h=(l+c)/2,l===c?o=f=0:(d=l-c,f=h>.5?d/(2-l-c):d/(l+c),o=l===n?(s-a)/d+(st||y<0)&&(i+=y-e),r+=y,g=r-i,T=g-s,(T>0||v)&&(b=++l.frame,c=g-l.time*1e3,l.time=g=g/1e3,s+=T+(T>=n?4:n-T),w=1),v||(o=f(_)),w)for(d=0;d=y&&d--},_listeners:a},l})(),Zt=function(){return!fe&&et.wake()},O={},on=/^[\d.\-M][\d.\-,\s]/,un=/["']/g,fn=function(t){for(var e={},i=t.substr(1,t.length-3).split(":"),r=i[0],n=1,s=i.length,a,o,f;n1&&i.config?i.config.apply(null,~t.indexOf("{")?[fn(e[1])]:hn(t).split(",").map(Wi)):O._CE&&on.test(t)?O._CE("",t):i},fr=function(t){return function(e){return 1-t(1-e)}},hr=function u(t,e){for(var i=t._first,r;i;)i instanceof $?u(i,e):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==e&&(i.timeline?u(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next},It=function(t,e){return t&&(I(t)?t:O[t]||_n(t))||e},Bt=function(t,e,i,r){i===void 0&&(i=function(o){return 1-e(1-o)}),r===void 0&&(r=function(o){return o<.5?e(o*2)/2:1-e((1-o)*2)/2});var n={easeIn:e,easeOut:i,easeInOut:r},s;return Z(t,function(a){O[a]=st[a]=n,O[s=a.toLowerCase()]=i;for(var o in n)O[s+(o==="easeIn"?".in":o==="easeOut"?".out":".inOut")]=O[a+"."+o]=n[o]}),n},_r=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},Re=function u(t,e,i){var r=e>=1?e:1,n=(i||(t?.3:.45))/(e<1?e:1),s=n/Ie*(Math.asin(1/r)||0),a=function(h){return h===1?1:r*Math.pow(2,-10*h)*Fr((h-s)*n)+1},o=t==="out"?a:t==="in"?function(f){return 1-a(1-f)}:_r(a);return n=Ie/n,o.config=function(f,h){return u(t,f,h)},o},Ee=function u(t,e){e===void 0&&(e=1.70158);var i=function(s){return s?--s*s*((e+1)*s+e)+1:0},r=t==="out"?i:t==="in"?function(n){return 1-i(1-n)}:_r(i);return r.config=function(n){return u(t,n)},r};Z("Linear,Quad,Cubic,Quart,Quint,Strong",function(u,t){var e=t<5?t+1:t;Bt(u+",Power"+(e-1),t?function(i){return Math.pow(i,e)}:function(i){return i},function(i){return 1-Math.pow(1-i,e)},function(i){return i<.5?Math.pow(i*2,e)/2:1-Math.pow((1-i)*2,e)/2})});O.Linear.easeNone=O.none=O.Linear.easeIn;Bt("Elastic",Re("in"),Re("out"),Re());(function(u,t){var e=1/t,i=2*e,r=2.5*e,n=function(a){return a0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},t.totalDuration=function(i){return arguments.length?(this._dirty=0,Kt(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(i,r){if(Zt(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Ce(this,i),!n._dp||n.parent||$i(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i0||!this._tDur&&!i)&<(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===M||!this._initted&&this._dur&&i||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),qi(this,i,r)),this},t.time=function(i,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+vi(this))%(this._dur+this._rDelay)||(i?this._dur:0),r):this._time},t.totalProgress=function(i,r){return arguments.length?this.totalTime(this.totalDuration()*i,r):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(i,r){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+vi(this),r):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(i,r){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*n,r):this._repeat?$t(this._tTime,n)+1:1},t.timeScale=function(i,r){if(!arguments.length)return this._rts===-M?0:this._rts;if(this._rts===i)return this;var n=this.parent&&this._ts?we(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-M?0:this._rts,this.totalTime(ce(-Math.abs(this._delay),this.totalDuration(),n),r!==!1),ke(this),Wr(this)},t.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Zt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==M&&(this._tTime-=M)))),this):this._ps},t.startTime=function(i){if(arguments.length){this._start=z(i);var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&<(r,this,this._start-this._delay),this}return this._start},t.endTime=function(i){return this._start+(K(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(i){var r=this.parent||this._dp;return r?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?we(r.rawTime(i),this):this._tTime:this._tTime},t.revert=function(i){i===void 0&&(i=Ur);var r=W;return W=i,si(this)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),W=r,this},t.globalTime=function(i){for(var r=this,n=arguments.length?i:r.rawTime();r;)n=r._start+n/(Math.abs(r._ts)||1),r=r._dp;return!this.parent&&this._sat?this._sat.globalTime(i):n},t.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,xi(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(i){if(arguments.length){var r=this._time;return this._rDelay=i,xi(this),r?this.time(r):this}return this._rDelay},t.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},t.seek=function(i,r){return this.totalTime(ot(this,i),K(r))},t.restart=function(i,r){return this.play().totalTime(i?-this._delay:0,K(r)),this._dur||(this._zTime=-M),this},t.play=function(i,r){return i!=null&&this.seek(i,r),this.reversed(!1).paused(!1)},t.reverse=function(i,r){return i!=null&&this.seek(i||this.totalDuration(),r),this.reversed(!0).paused(!1)},t.pause=function(i,r){return i!=null&&this.seek(i,r),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-M:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-M,this},t.isActive=function(){var i=this.parent||this._dp,r=this._start,n;return!!(!i||this._ts&&this._initted&&i.isActive()&&(n=i.rawTime(!0))>=r&&n1?(r?(s[i]=r,n&&(s[i+"Params"]=n),i==="onUpdate"&&(this._onUpdate=r)):delete s[i],this):s[i]},t.then=function(i){var r=this,n=r._prom;return new Promise(function(s){var a=I(i)?i:Gi,o=function(){var h=r.then;r.then=null,n&&n(),I(a)&&(a=a(r))&&(a.then||a===r)&&(r.then=h),s(a),r.then=h};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?o():r._prom=o})},t.kill=function(){ee(this)},u})();at(he.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-M,_prom:0,_ps:!1,_rts:1});var $=(function(u){zi(t,u);function t(i,r){var n;return i===void 0&&(i={}),n=u.call(this,i)||this,n.labels={},n.smoothChildTiming=!!i.smoothChildTiming,n.autoRemoveChildren=!!i.autoRemoveChildren,n._sort=K(i.sortChildren),F&<(i.parent||F,mt(n),r),i.reversed&&n.reverse(),i.paused&&n.paused(!0),i.scrollTrigger&&Ki(mt(n),i.scrollTrigger),n}var e=t.prototype;return e.to=function(r,n,s){return ne(0,arguments,this),this},e.from=function(r,n,s){return ne(1,arguments,this),this},e.fromTo=function(r,n,s,a){return ne(2,arguments,this),this},e.set=function(r,n,s){return n.duration=0,n.parent=this,re(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new V(r,n,ot(this,s),1),this},e.call=function(r,n,s){return lt(this,V.delayedCall(0,r,n),s)},e.staggerTo=function(r,n,s,a,o,f,h){return s.duration=n,s.stagger=s.stagger||a,s.onComplete=f,s.onCompleteParams=h,s.parent=this,new V(r,s,ot(this,o)),this},e.staggerFrom=function(r,n,s,a,o,f,h){return s.runBackwards=1,re(s).immediateRender=K(s.immediateRender),this.staggerTo(r,n,s,a,o,f,h)},e.staggerFromTo=function(r,n,s,a,o,f,h,l){return a.startAt=s,re(a).immediateRender=K(a.immediateRender),this.staggerTo(r,n,a,o,f,h,l)},e.render=function(r,n,s){var a=this._time,o=this._dirty?this.totalDuration():this._tDur,f=this._dur,h=r<=0?0:z(r),l=this._zTime<0!=r<0&&(this._initted||!f),c,d,p,_,m,y,v,T,w,g,b,P;if(this!==F&&h>o&&r>=0&&(h=o),h!==this._tTime||s||l){if(a!==this._time&&f&&(h+=this._time-a,r+=this._time-a),c=h,w=this._start,T=this._ts,y=!T,l&&(f||(a=this._zTime),(r||!n)&&(this._zTime=r)),this._repeat){if(b=this._yoyo,m=f+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(m*100+r,n,s);if(c=z(h%m),h===o?(_=this._repeat,c=f):(g=z(h/m),_=~~g,_&&_===g&&(c=f,_--),c>f&&(c=f)),g=$t(this._tTime,m),!a&&this._tTime&&g!==_&&this._tTime-g*m-this._dur<=0&&(g=_),b&&_&1&&(c=f-c,P=1),_!==g&&!this._lock){var S=b&&g&1,x=S===(b&&_&1);if(_=a&&r>=0)for(d=this._first;d;){if(p=d._next,(d._act||c>=d._start)&&d._ts&&v!==d){if(d.parent!==this)return this.render(r,n,s);if(d.render(d._ts>0?(c-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(c-d._start)*d._ts,n,s),c!==this._time||!this._ts&&!y){v=0,p&&(h+=this._zTime=-M);break}}d=p}else{d=this._last;for(var k=r<0?r:c;d;){if(p=d._prev,(d._act||k<=d._end)&&d._ts&&v!==d){if(d.parent!==this)return this.render(r,n,s);if(d.render(d._ts>0?(k-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(k-d._start)*d._ts,n,s||W&&si(d)),c!==this._time||!this._ts&&!y){v=0,p&&(h+=this._zTime=k?-M:M);break}}d=p}}if(v&&!n&&(this.pause(),v.render(c>=a?0:-M)._zTime=c>=a?1:-1,this._ts))return this._start=w,ke(this),this.render(r,n,s);this._onUpdate&&!n&&it(this,"onUpdate",!0),(h===o&&this._tTime>=this.totalDuration()||!h&&a)&&(w===this._start||Math.abs(T)!==Math.abs(this._ts))&&(this._lock||((r||!f)&&(h===o&&this._ts>0||!h&&this._ts<0)&&St(this,1),!n&&!(r<0&&!a)&&(h||a||!o)&&(it(this,h===o&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(h0)&&this._prom())))}return this},e.add=function(r,n){var s=this;if(yt(n)||(n=ot(this,n,r)),!(r instanceof he)){if(Q(r))return r.forEach(function(a){return s.add(a,n)}),this;if(X(r))return this.addLabel(r,n);if(I(r))r=V.delayedCall(0,r);else return this}return this!==r?lt(this,r,n):this},e.getChildren=function(r,n,s,a){r===void 0&&(r=!0),n===void 0&&(n=!0),s===void 0&&(s=!0),a===void 0&&(a=-ut);for(var o=[],f=this._first;f;)f._start>=a&&(f instanceof V?n&&o.push(f):(s&&o.push(f),r&&o.push.apply(o,f.getChildren(!0,n,s)))),f=f._next;return o},e.getById=function(r){for(var n=this.getChildren(1,1,1),s=n.length;s--;)if(n[s].vars.id===r)return n[s]},e.remove=function(r){return X(r)?this.removeLabel(r):I(r)?this.killTweensOf(r):(r.parent===this&&Oe(this,r),r===this._recent&&(this._recent=this._last),Lt(this))},e.totalTime=function(r,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=z(et.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),u.prototype.totalTime.call(this,r,n),this._forcing=0,this):this._tTime},e.addLabel=function(r,n){return this.labels[r]=ot(this,n),this},e.removeLabel=function(r){return delete this.labels[r],this},e.addPause=function(r,n,s){var a=V.delayedCall(0,n||oe,s);return a.data="isPause",this._hasPause=1,lt(this,a,ot(this,r))},e.removePause=function(r){var n=this._first;for(r=ot(this,r);n;)n._start===r&&n.data==="isPause"&&St(n),n=n._next},e.killTweensOf=function(r,n,s){for(var a=this.getTweensOf(r,s),o=a.length;o--;)xt!==a[o]&&a[o].kill(r,n);return this},e.getTweensOf=function(r,n){for(var s=[],a=ft(r),o=this._first,f=yt(n),h;o;)o instanceof V?Yr(o._targets,a)&&(f?(!xt||o._initted&&o._ts)&&o.globalTime(0)<=n&&o.globalTime(o.totalDuration())>n:!n||o.isActive())&&s.push(o):(h=o.getTweensOf(a,n)).length&&s.push.apply(s,h),o=o._next;return s},e.tweenTo=function(r,n){n=n||{};var s=this,a=ot(s,r),o=n,f=o.startAt,h=o.onStart,l=o.onStartParams,c=o.immediateRender,d,p=V.to(s,at({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:n.duration||Math.abs((a-(f&&"time"in f?f.time:s._time))/s.timeScale())||M,onStart:function(){if(s.pause(),!d){var m=n.duration||Math.abs((a-(f&&"time"in f?f.time:s._time))/s.timeScale());p._dur!==m&&Kt(p,m,0,1).render(p._time,!0,!0),d=1}h&&h.apply(p,l||[])}},n));return c?p.render(0):p},e.tweenFromTo=function(r,n,s){return this.tweenTo(n,at({startAt:{time:ot(this,r)}},s))},e.recent=function(){return this._recent},e.nextLabel=function(r){return r===void 0&&(r=this._time),Ti(this,ot(this,r))},e.previousLabel=function(r){return r===void 0&&(r=this._time),Ti(this,ot(this,r),1)},e.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+M)},e.shiftChildren=function(r,n,s){s===void 0&&(s=0);var a=this._first,o=this.labels,f;for(r=z(r);a;)a._start>=s&&(a._start+=r,a._end+=r),a=a._next;if(n)for(f in o)o[f]>=s&&(o[f]+=r);return Lt(this)},e.invalidate=function(r){var n=this._first;for(this._lock=0;n;)n.invalidate(r),n=n._next;return u.prototype.invalidate.call(this,r)},e.clear=function(r){r===void 0&&(r=!0);for(var n=this._first,s;n;)s=n._next,this.remove(n),n=s;return this._dp&&(this._time=this._tTime=this._pTime=0),r&&(this.labels={}),Lt(this)},e.totalDuration=function(r){var n=0,s=this,a=s._last,o=ut,f,h,l;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-r:r));if(s._dirty){for(l=s.parent;a;)f=a._prev,a._dirty&&a.totalDuration(),h=a._start,h>o&&s._sort&&a._ts&&!s._lock?(s._lock=1,lt(s,a,h-a._delay,1)._lock=0):o=h,h<0&&a._ts&&(n-=h,(!l&&!s._dp||l&&l.smoothChildTiming)&&(s._start+=z(h/s._ts),s._time-=h,s._tTime-=h),s.shiftChildren(-h,!1,-1/0),o=0),a._end>n&&a._ts&&(n=a._end),a=f;Kt(s,s===F&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(r){if(F._ts&&(qi(F,we(r,F)),Yi=et.frame),et.frame>=gi){gi+=nt.autoSleep||120;var n=F._first;if((!n||!n._ts)&&nt.autoSleep&&et._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||et.sleep()}}},t})(he);at($.prototype,{_lock:0,_hasPause:0,_forcing:0});var ln=function(t,e,i,r,n,s,a){var o=new j(this._pt,t,e,0,1,yr,null,n),f=0,h=0,l,c,d,p,_,m,y,v;for(o.b=i,o.e=r,i+="",r+="",(y=~r.indexOf("random("))&&(r=ue(r)),s&&(v=[i,r],s(v,t,e),i=v[0],r=v[1]),c=i.match(Me)||[];l=Me.exec(r);)p=l[0],_=r.substring(f,l.index),d?d=(d+1)%5:_.substr(-5)==="rgba("&&(d=1),p!==c[h++]&&(m=parseFloat(c[h-1])||0,o._pt={_next:o._pt,p:_||h===1?_:",",s:m,c:p.charAt(1)==="="?Xt(m,p)-m:parseFloat(p)-m,m:d&&d<4?Math.round:0},f=Me.lastIndex);return o.c=f")}),w.duration();else{b={};for(S in p)S==="ease"||S==="easeEach"||mn(S,p[S],b,p.easeEach);for(S in b)for(A=b[S].sort(function(B,Y){return B.t-Y.t}),D=0,g=0;go-M&&!h?o:rf&&(c=f)),y=this._yoyo&&p&1,y&&(w=this._yEase,c=f-c),m=$t(this._tTime,_),c===a&&!s&&this._initted&&p===m)return this._tTime=l,this;p!==m&&(T&&this._yEase&&hr(T,y),this.vars.repeatRefresh&&!y&&!this._lock&&c!==_&&this._initted&&(this._lock=s=1,this.render(z(_*p),!0).invalidate()._lock=0))}if(!this._initted){if(Zi(this,h?r:c,s,n,l))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&p!==m))return this;if(f!==this._dur)return this.render(r,n,s)}if(this._tTime=l,this._time=c,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(w||this._ease)(c/f),this._from&&(this.ratio=v=1-v),!a&&l&&!n&&!m&&(it(this,"onStart"),this._tTime!==l))return this;for(d=this._pt;d;)d.r(v,d.d),d=d._next;T&&T.render(r<0?r:T._dur*T._ease(c/this._dur),n,s)||this._startAt&&(this._zTime=r),this._onUpdate&&!n&&(h&&Ve(this,r,n,s),it(this,"onUpdate")),this._repeat&&p!==m&&this.vars.onRepeat&&!n&&this.parent&&it(this,"onRepeat"),(l===this._tDur||!l)&&this._tTime===l&&(h&&!this._onUpdate&&Ve(this,r,!0,!0),(r||!f)&&(l===this._tDur&&this._ts>0||!l&&this._ts<0)&&St(this,1),!n&&!(h&&!a)&&(l||a||y)&&(it(this,l===o?"onComplete":"onReverseComplete",!0),this._prom&&!(l0)&&this._prom()))}return this},e.targets=function(){return this._targets},e.invalidate=function(r){return(!r||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(r),u.prototype.invalidate.call(this,r)},e.resetTo=function(r,n,s,a,o){fe||et.wake(),this._ts||this.play();var f=Math.min(this._dur,(this._dp._time-this._start)*this._ts),h;return this._initted||oi(this,f),h=this._ease(f/this._dur),dn(this,r,n,s,a,h,f,o)?this.resetTo(r,n,s,a,1):(Ce(this,0),this.parent||Qi(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(r,n){if(n===void 0&&(n="all"),!r&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?ee(this):this.scrollTrigger&&this.scrollTrigger.kill(!!W),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(r,n,xt&&xt.vars.overwrite!==!0)._first||ee(this),this.parent&&s!==this.timeline.totalDuration()&&Kt(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,o=r?ft(r):a,f=this._ptLookup,h=this._pt,l,c,d,p,_,m,y;if((!n||n==="all")&&qr(a,o))return n==="all"&&(this._pt=0),ee(this);for(l=this._op=this._op||[],n!=="all"&&(X(n)&&(_={},Z(n,function(v){return _[v]=1}),n=_),n=pn(a,n)),y=a.length;y--;)if(~o.indexOf(a[y])){c=f[y],n==="all"?(l[y]=n,p=c,d={}):(d=l[y]=l[y]||{},p=n);for(_ in p)m=c&&c[_],m&&((!("kill"in m.d)||m.d.kill(_)===!0)&&Oe(this,m,"_pt"),delete c[_]),d!=="all"&&(d[_]=1)}return this._initted&&!this._pt&&h&&ee(this),this},t.to=function(r,n){return new t(r,n,arguments[2])},t.from=function(r,n){return ne(1,arguments)},t.delayedCall=function(r,n,s,a){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:n,onReverseComplete:n,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},t.fromTo=function(r,n,s){return ne(2,arguments)},t.set=function(r,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(r,n)},t.killTweensOf=function(r,n,s){return F.killTweensOf(r,n,s)},t})(he);at(V.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Z("staggerTo,staggerFrom,staggerFromTo",function(u){V[u]=function(){var t=new $,e=Ye.call(arguments,0);return e.splice(u==="staggerFromTo"?5:4,0,0),t[u].apply(t,e)}});var ui=function(t,e,i){return t[e]=i},mr=function(t,e,i){return t[e](i)},gn=function(t,e,i,r){return t[e](r.fp,i)},yn=function(t,e,i){return t.setAttribute(e,i)},fi=function(t,e){return I(t[e])?mr:He(t[e])&&t.setAttribute?yn:ui},gr=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},vn=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},yr=function(t,e){var i=e._pt,r="";if(!t&&e.b)r=e.b;else if(t===1&&e.e)r=e.e;else{for(;i;)r=i.p+(i.m?i.m(i.s+i.c*t):Math.round((i.s+i.c*t)*1e4)/1e4)+r,i=i._next;r+=e.c}e.set(e.t,e.p,r,e)},hi=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},xn=function(t,e,i,r){for(var n=this._pt,s;n;)s=n._next,n.p===r&&n.modifier(t,e,i),n=s},Tn=function(t){for(var e=this._pt,i,r;e;)r=e._next,e.p===t&&!e.op||e.op===t?Oe(this,e,"_pt"):e.dep||(i=1),e=r;return!i},wn=function(t,e,i,r){r.mSet(t,e,r.m.call(r.tween,i,r.mt),r)},vr=function(t){for(var e=t._pt,i,r,n,s;e;){for(i=e._next,r=n;r&&r.pr>e.pr;)r=r._next;(e._prev=r?r._prev:s)?e._prev._next=e:n=e,(e._next=r)?r._prev=e:s=e,e=i}t._pt=n},j=(function(){function u(e,i,r,n,s,a,o,f,h){this.t=i,this.s=n,this.c=s,this.p=r,this.r=a||gr,this.d=o||this,this.set=f||ui,this.pr=h||0,this._next=e,e&&(e._prev=this)}var t=u.prototype;return t.modifier=function(i,r,n){this.mSet=this.mSet||this.set,this.set=wn,this.m=i,this.mt=n,this.tween=r},u})();Z(ri+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(u){return ii[u]=1});st.TweenMax=st.TweenLite=V;st.TimelineLite=st.TimelineMax=$;F=new $({sortChildren:!1,defaults:Gt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});nt.stringFilter=ur;var Nt=[],ye={},bn=[],bi=0,Pn=0,ze=function(t){return(ye[t]||bn).map(function(e){return e()})},Ge=function(){var t=Date.now(),e=[];t-bi>2&&(ze("matchMediaInit"),Nt.forEach(function(i){var r=i.queries,n=i.conditions,s,a,o,f;for(a in r)s=_t.matchMedia(r[a]).matches,s&&(o=1),s!==n[a]&&(n[a]=s,f=1);f&&(i.revert(),o&&e.push(i))}),ze("matchMediaRevert"),e.forEach(function(i){return i.onMatch(i,function(r){return i.add(null,r)})}),bi=t,ze("matchMedia"))},xr=(function(){function u(e,i){this.selector=i&&Xe(i),this.data=[],this._r=[],this.isReverted=!1,this.id=Pn++,e&&this.add(e)}var t=u.prototype;return t.add=function(i,r,n){I(i)&&(n=r,r=i,i=I);var s=this,a=function(){var f=E,h=s.selector,l;return f&&f!==s&&f.data.push(s),n&&(s.selector=Xe(n)),E=s,l=r.apply(s,arguments),I(l)&&s._r.push(l),E=f,s.selector=h,s.isReverted=!1,l};return s.last=a,i===I?a(s,function(o){return s.add(null,o)}):i?s[i]=a:a},t.ignore=function(i){var r=E;E=null,i(this),E=r},t.getTweens=function(){var i=[];return this.data.forEach(function(r){return r instanceof u?i.push.apply(i,r.getTweens()):r instanceof V&&!(r.parent&&r.parent.data==="nested")&&i.push(r)}),i},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(i,r){var n=this;if(i?(function(){for(var a=n.getTweens(),o=n.data.length,f;o--;)f=n.data[o],f.data==="isFlip"&&(f.revert(),f.getChildren(!0,!0,!1).forEach(function(h){return a.splice(a.indexOf(h),1)}));for(a.map(function(h){return{g:h._dur||h._delay||h._sat&&!h._sat.vars.immediateRender?h.globalTime(0):-1/0,t:h}}).sort(function(h,l){return l.g-h.g||-1/0}).forEach(function(h){return h.t.revert(i)}),o=n.data.length;o--;)f=n.data[o],f instanceof $?f.data!=="nested"&&(f.scrollTrigger&&f.scrollTrigger.revert(),f.kill()):!(f instanceof V)&&f.revert&&f.revert(i);n._r.forEach(function(h){return h(i,n)}),n.isReverted=!0})():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),r)for(var s=Nt.length;s--;)Nt[s].id===this.id&&Nt.splice(s,1)},t.revert=function(i){this.kill(i||{})},u})(),Sn=(function(){function u(e){this.contexts=[],this.scope=e,E&&E.data.push(this)}var t=u.prototype;return t.add=function(i,r,n){dt(i)||(i={matches:i});var s=new xr(0,n||this.scope),a=s.conditions={},o,f,h;E&&!s.selector&&(s.selector=E.selector),this.contexts.push(s),r=s.add("onMatch",r),s.queries=i;for(f in i)f==="all"?h=1:(o=_t.matchMedia(i[f]),o&&(Nt.indexOf(s)<0&&Nt.push(s),(a[f]=o.matches)&&(h=1),o.addListener?o.addListener(Ge):o.addEventListener("change",Ge)));return h&&r(s,function(l){return s.add(null,l)}),this},t.revert=function(i){this.kill(i||{})},t.kill=function(i){this.contexts.forEach(function(r){return r.kill(i,!0)})},u})(),be={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i1){var r=t.map(function(h){return J.quickSetter(h,e,i)}),n=r.length;return function(h){for(var l=n;l--;)r[l](h)}}t=t[0]||{};var s=tt[e],a=Ft(t),o=a.harness&&(a.harness.aliases||{})[e]||e,f=s?function(h){var l=new s;Yt._pt=0,l.init(t,i?h+i:h,Yt,0,[t]),l.render(1,l),Yt._pt&&hi(1,Yt)}:a.set(t,o);return s?f:function(h){return f(t,o,i?h+i:h,a,1)}},quickTo:function(t,e,i){var r,n=J.to(t,at((r={},r[e]="+=0.1",r.paused=!0,r.stagger=0,r),i||{})),s=function(o,f,h){return n.resetTo(e,o,f,h)};return s.tween=n,s},isTweening:function(t){return F.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=It(t.ease,Gt.ease)),yi(Gt,t||{})},config:function(t){return yi(nt,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,r=t.plugins,n=t.defaults,s=t.extendTimeline;(r||"").split(",").forEach(function(a){return a&&!tt[a]&&!st[a]&&ae(e+" effect requires "+a+" plugin.")}),De[e]=function(a,o,f){return i(ft(a),at(o||{},n),f)},s&&($.prototype[e]=function(a,o,f){return this.add(De[e](a,dt(o)?o:(f=o)&&{},this),f)})},registerEase:function(t,e){O[t]=It(e)},parseEase:function(t,e){return arguments.length?It(t,e):O},getById:function(t){return F.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var i=new $(t),r,n;for(i.smoothChildTiming=K(t.smoothChildTiming),F.remove(i),i._dp=0,i._time=i._tTime=F._time,r=F._first;r;)n=r._next,(e||!(!r._dur&&r instanceof V&&r.vars.onComplete===r._targets[0]))&<(i,r,r._start-r._delay),r=n;return lt(F,i,0),i},context:function(t,e){return t?new xr(t,e):E},matchMedia:function(t){return new Sn(t)},matchMediaRefresh:function(){return Nt.forEach(function(t){var e=t.conditions,i,r;for(r in e)e[r]&&(e[r]=!1,i=1);i&&t.revert()})||Ge()},addEventListener:function(t,e){var i=ye[t]||(ye[t]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(t,e){var i=ye[t],r=i&&i.indexOf(e);r>=0&&i.splice(r,1)},utils:{wrap:rn,wrapYoyo:nn,distribute:Ji,random:er,snap:tr,normalize:en,getUnit:G,clamp:jr,splitColor:ar,toArray:ft,selector:Xe,mapRange:rr,pipe:Jr,unitize:tn,interpolate:sn,shuffle:Hi},install:Vi,effects:De,ticker:et,updateRoot:$.updateRoot,plugins:tt,globalTimeline:F,core:{PropTween:j,globals:Ui,Tween:V,Timeline:$,Animation:he,getCache:Ft,_removeLinkedListItem:Oe,reverting:function(){return W},context:function(t){return t&&E&&(E.data.push(t),t._ctx=E),E},suppressOverwrites:function(t){return je=t}}};Z("to,from,fromTo,delayedCall,set,killTweensOf",function(u){return be[u]=V[u]});et.add($.updateRoot);Yt=be.to({},{duration:0});var On=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},kn=function(t,e){var i=t._targets,r,n,s;for(r in e)for(n=i.length;n--;)s=t._ptLookup[n][r],s&&(s=s.d)&&(s._pt&&(s=On(s,r)),s&&s.modifier&&s.modifier(e[r],t,i[n],r))},Fe=function(t,e){return{name:t,headless:1,rawVars:1,init:function(r,n,s){s._onInit=function(a){var o,f;if(X(n)&&(o={},Z(n,function(h){return o[h]=1}),n=o),e){o={};for(f in n)o[f]=e(n[f]);n=o}kn(a,n)}}}},J=be.registerPlugin({name:"attr",init:function(t,e,i,r,n){var s,a,o;this.tween=i;for(s in e)o=t.getAttribute(s)||"",a=this.add(t,"setAttribute",(o||0)+"",e[s],r,n,0,0,s),a.op=s,a.b=o,this._props.push(s)},render:function(t,e){for(var i=e._pt;i;)W?i.set(i.t,i.p,i.b,i):i.r(t,i.d),i=i._next}},{name:"endArray",headless:1,init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i],0,0,0,0,0,1)}},Fe("roundProps",qe),Fe("modifiers"),Fe("snap",tr))||be;V.version=$.version=J.version="3.14.2";Bi=1;Je()&&Zt();var Hn=O.Power0,Jn=O.Power1,ts=O.Power2,es=O.Power3,is=O.Power4,rs=O.Linear,ns=O.Quad,ss=O.Cubic,as=O.Quart,os=O.Quint,us=O.Strong,fs=O.Elastic,hs=O.Back,_s=O.SteppedEase,ls=O.Bounce,cs=O.Sine,ds=O.Expo,ps=O.Circ;var Pi,Tt,qt,_i,zt,Si,li,Cn=function(){return typeof window<"u"},vt={},Et=180/Math.PI,Wt=Math.PI/180,Vt=Math.atan2,Oi=1e8,ci=/([A-Z])/g,Mn=/(left|right|width|margin|padding|x)/i,Dn=/[\s,\(]\S/,ct={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Qe=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},An=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},Rn=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},En=function(t,e){return e.set(e.t,e.p,t===1?e.e:t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},zn=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},Tr=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},wr=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},Fn=function(t,e,i){return t.style[e]=i},Ln=function(t,e,i){return t.style.setProperty(e,i)},In=function(t,e,i){return t._gsap[e]=i},Nn=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},Bn=function(t,e,i,r,n){var s=t._gsap;s.scaleX=s.scaleY=i,s.renderTransform(n,s)},Vn=function(t,e,i,r,n){var s=t._gsap;s[e]=i,s.renderTransform(n,s)},L="transform",H=L+"Origin",Un=function u(t,e){var i=this,r=this.target,n=r.style,s=r._gsap;if(t in vt&&n){if(this.tfm=this.tfm||{},t!=="transform")t=ct[t]||t,~t.indexOf(",")?t.split(",").forEach(function(a){return i.tfm[a]=gt(r,a)}):this.tfm[t]=s.x?s[t]:gt(r,t),t===H&&(this.tfm.zOrigin=s.zOrigin);else return ct.transform.split(",").forEach(function(a){return u.call(i,a,e)});if(this.props.indexOf(L)>=0)return;s.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(H,e,"")),t=L}(n||e)&&this.props.push(t,e,n[t])},br=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},Yn=function(){var t=this.props,e=this.target,i=e.style,r=e._gsap,n,s;for(n=0;n=0?ki[s]:"")+t},Ke=function(){Cn()&&window.document&&(Pi=window,Tt=Pi.document,qt=Tt.documentElement,zt=$e("div")||{style:{}},$e("div"),L=jt(L),H=L+"Origin",zt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Sr=!!jt("perspective"),li=J.core.reverting,_i=1)},Ci=function(t){var e=t.ownerSVGElement,i=$e("svg",e&&e.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=t.cloneNode(!0),n;r.style.display="block",i.appendChild(r),qt.appendChild(i);try{n=r.getBBox()}catch{}return i.removeChild(r),qt.removeChild(i),n},Mi=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},Or=function(t){var e,i;try{e=t.getBBox()}catch{e=Ci(t),i=1}return e&&(e.width||e.height)||i||(e=Ci(t)),e&&!e.width&&!e.x&&!e.y?{x:+Mi(t,["x","cx","x1"])||0,y:+Mi(t,["y","cy","y1"])||0,width:0,height:0}:e},kr=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Or(t))},Ot=function(t,e){if(e){var i=t.style,r;e in vt&&e!==H&&(e=L),i.removeProperty?(r=e.substr(0,2),(r==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),i.removeProperty(r==="--"?e:e.replace(ci,"-$1").toLowerCase())):i.removeAttribute(e)}},wt=function(t,e,i,r,n,s){var a=new j(t._pt,e,i,0,1,s?wr:Tr);return t._pt=a,a.b=r,a.e=n,t._props.push(i),a},Di={deg:1,rad:1,turn:1},Xn={grid:1,flex:1},kt=function u(t,e,i,r){var n=parseFloat(i)||0,s=(i+"").trim().substr((n+"").length)||"px",a=zt.style,o=Mn.test(e),f=t.tagName.toLowerCase()==="svg",h=(f?"client":"offset")+(o?"Width":"Height"),l=100,c=r==="px",d=r==="%",p,_,m,y;if(r===s||!n||Di[r]||Di[s])return n;if(s!=="px"&&!c&&(n=u(t,e,i,"px")),y=t.getCTM&&kr(t),(d||s==="%")&&(vt[e]||~e.indexOf("adius")))return p=y?t.getBBox()[o?"width":"height"]:t[h],N(d?n/p*l:n/100*p);if(a[o?"width":"height"]=l+(c?s:r),_=r!=="rem"&&~e.indexOf("adius")||r==="em"&&t.appendChild&&!f?t:t.parentNode,y&&(_=(t.ownerSVGElement||{}).parentNode),(!_||_===Tt||!_.appendChild)&&(_=Tt.body),m=_._gsap,m&&d&&m.width&&o&&m.time===et.time&&!m.uncache)return N(n/m.width*l);if(d&&(e==="height"||e==="width")){var v=t.style[e];t.style[e]=l+r,p=t[h],v?t.style[e]=v:Ot(t,e)}else(d||s==="%")&&!Xn[rt(_,"display")]&&(a.position=rt(t,"position")),_===t&&(a.position="static"),_.appendChild(zt),p=zt[h],_.removeChild(zt),a.position="absolute";return o&&d&&(m=Ft(_),m.time=et.time,m.width=_[h]),N(c?p*n/l:p&&n?l/p*n:0)},gt=function(t,e,i,r){var n;return _i||Ke(),e in ct&&e!=="transform"&&(e=ct[e],~e.indexOf(",")&&(e=e.split(",")[0])),vt[e]&&e!=="transform"?(n=le(t,r),n=e!=="transformOrigin"?n[e]:n.svg?n.origin:Se(rt(t,H))+" "+n.zOrigin+"px"):(n=t.style[e],(!n||n==="auto"||r||~(n+"").indexOf("calc("))&&(n=Pe[e]&&Pe[e](t,e,i)||rt(t,e)||Xi(t,e)||(e==="opacity"?1:0))),i&&!~(n+"").trim().indexOf(" ")?kt(t,e,n,i)+i:n},qn=function(t,e,i,r){if(!i||i==="none"){var n=jt(e,t,1),s=n&&rt(t,n,1);s&&s!==i?(e=n,i=s):e==="borderColor"&&(i=rt(t,"borderTopColor"))}var a=new j(this._pt,t.style,e,0,1,yr),o=0,f=0,h,l,c,d,p,_,m,y,v,T,w,g;if(a.b=i,a.e=r,i+="",r+="",r.substring(0,6)==="var(--"&&(r=rt(t,r.substring(4,r.indexOf(")")))),r==="auto"&&(_=t.style[e],t.style[e]=r,r=rt(t,e)||r,_?t.style[e]=_:Ot(t,e)),h=[i,r],ur(h),i=h[0],r=h[1],c=i.match(Ut)||[],g=r.match(Ut)||[],g.length){for(;l=Ut.exec(r);)m=l[0],v=r.substring(o,l.index),p?p=(p+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(p=1),m!==(_=c[f++]||"")&&(d=parseFloat(_)||0,w=_.substr((d+"").length),m.charAt(1)==="="&&(m=Xt(d,m)+w),y=parseFloat(m),T=m.substr((y+"").length),o=Ut.lastIndex-T.length,T||(T=T||nt.units[e]||w,o===r.length&&(r+=T,a.e+=T)),w!==T&&(d=kt(t,e,_,T)||0),a._pt={_next:a._pt,p:v||f===1?v:",",s:d,c:y-d,m:p&&p<4||e==="zIndex"?Math.round:0});a.c=o-1;)a=n[f],vt[a]&&(o=1,a=a==="transformOrigin"?H:L),Ot(i,a);o&&(Ot(i,L),s&&(s.svg&&i.removeAttribute("transform"),r.scale=r.rotate=r.translate="none",le(i,1),s.uncache=1,br(r)))}},Pe={clearProps:function(t,e,i,r,n){if(n.data!=="isFromStart"){var s=t._pt=new j(t._pt,e,i,0,0,Gn);return s.u=r,s.pr=-10,s.tween=n,t._props.push(i),1}}},_e=[1,0,0,1,0,0],Cr={},Mr=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},Ri=function(t){var e=rt(t,L);return Mr(e)?_e:e.substr(7).match(Ii).map(N)},di=function(t,e){var i=t._gsap||Ft(t),r=t.style,n=Ri(t),s,a,o,f;return i.svg&&t.getAttribute("transform")?(o=t.transform.baseVal.consolidate().matrix,n=[o.a,o.b,o.c,o.d,o.e,o.f],n.join(",")==="1,0,0,1,0,0"?_e:n):(n===_e&&!t.offsetParent&&t!==qt&&!i.svg&&(o=r.display,r.display="block",s=t.parentNode,(!s||!t.offsetParent&&!t.getBoundingClientRect().width)&&(f=1,a=t.nextElementSibling,qt.appendChild(t)),n=Ri(t),o?r.display=o:Ot(t,"display"),f&&(a?s.insertBefore(t,a):s?s.appendChild(t):qt.removeChild(t))),e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},Ze=function(t,e,i,r,n,s){var a=t._gsap,o=n||di(t,!0),f=a.xOrigin||0,h=a.yOrigin||0,l=a.xOffset||0,c=a.yOffset||0,d=o[0],p=o[1],_=o[2],m=o[3],y=o[4],v=o[5],T=e.split(" "),w=parseFloat(T[0])||0,g=parseFloat(T[1])||0,b,P,S,x;i?o!==_e&&(P=d*m-p*_)&&(S=w*(m/P)+g*(-_/P)+(_*v-m*y)/P,x=w*(-p/P)+g*(d/P)-(d*v-p*y)/P,w=S,g=x):(b=Or(t),w=b.x+(~T[0].indexOf("%")?w/100*b.width:w),g=b.y+(~(T[1]||T[0]).indexOf("%")?g/100*b.height:g)),r||r!==!1&&a.smooth?(y=w-f,v=g-h,a.xOffset=l+(y*d+v*_)-y,a.yOffset=c+(y*p+v*m)-v):a.xOffset=a.yOffset=0,a.xOrigin=w,a.yOrigin=g,a.smooth=!!r,a.origin=e,a.originIsAbsolute=!!i,t.style[H]="0px 0px",s&&(wt(s,a,"xOrigin",f,w),wt(s,a,"yOrigin",h,g),wt(s,a,"xOffset",l,a.xOffset),wt(s,a,"yOffset",c,a.yOffset)),t.setAttribute("data-svg-origin",w+" "+g)},le=function(t,e){var i=t._gsap||new lr(t);if("x"in i&&!e&&!i.uncache)return i;var r=t.style,n=i.scaleX<0,s="px",a="deg",o=getComputedStyle(t),f=rt(t,H)||"0",h,l,c,d,p,_,m,y,v,T,w,g,b,P,S,x,k,R,D,A,q,U,B,Y,ht,de,Ht,Jt,Mt,pi,pt,Dt;return h=l=c=_=m=y=v=T=w=0,d=p=1,i.svg=!!(t.getCTM&&kr(t)),o.translate&&((o.translate!=="none"||o.scale!=="none"||o.rotate!=="none")&&(r[L]=(o.translate!=="none"?"translate3d("+(o.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(o.rotate!=="none"?"rotate("+o.rotate+") ":"")+(o.scale!=="none"?"scale("+o.scale.split(" ").join(",")+") ":"")+(o[L]!=="none"?o[L]:"")),r.scale=r.rotate=r.translate="none"),P=di(t,i.svg),i.svg&&(i.uncache?(ht=t.getBBox(),f=i.xOrigin-ht.x+"px "+(i.yOrigin-ht.y)+"px",Y=""):Y=!e&&t.getAttribute("data-svg-origin"),Ze(t,Y||f,!!Y||i.originIsAbsolute,i.smooth!==!1,P)),g=i.xOrigin||0,b=i.yOrigin||0,P!==_e&&(R=P[0],D=P[1],A=P[2],q=P[3],h=U=P[4],l=B=P[5],P.length===6?(d=Math.sqrt(R*R+D*D),p=Math.sqrt(q*q+A*A),_=R||D?Vt(D,R)*Et:0,v=A||q?Vt(A,q)*Et+_:0,v&&(p*=Math.abs(Math.cos(v*Wt))),i.svg&&(h-=g-(g*R+b*A),l-=b-(g*D+b*q))):(Dt=P[6],pi=P[7],Ht=P[8],Jt=P[9],Mt=P[10],pt=P[11],h=P[12],l=P[13],c=P[14],S=Vt(Dt,Mt),m=S*Et,S&&(x=Math.cos(-S),k=Math.sin(-S),Y=U*x+Ht*k,ht=B*x+Jt*k,de=Dt*x+Mt*k,Ht=U*-k+Ht*x,Jt=B*-k+Jt*x,Mt=Dt*-k+Mt*x,pt=pi*-k+pt*x,U=Y,B=ht,Dt=de),S=Vt(-A,Mt),y=S*Et,S&&(x=Math.cos(-S),k=Math.sin(-S),Y=R*x-Ht*k,ht=D*x-Jt*k,de=A*x-Mt*k,pt=q*k+pt*x,R=Y,D=ht,A=de),S=Vt(D,R),_=S*Et,S&&(x=Math.cos(S),k=Math.sin(S),Y=R*x+D*k,ht=U*x+B*k,D=D*x-R*k,B=B*x-U*k,R=Y,U=ht),m&&Math.abs(m)+Math.abs(_)>359.9&&(m=_=0,y=180-y),d=N(Math.sqrt(R*R+D*D+A*A)),p=N(Math.sqrt(B*B+Dt*Dt)),S=Vt(U,B),v=Math.abs(S)>2e-4?S*Et:0,w=pt?1/(pt<0?-pt:pt):0),i.svg&&(Y=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!Mr(rt(t,L)),Y&&t.setAttribute("transform",Y))),Math.abs(v)>90&&Math.abs(v)<270&&(n?(d*=-1,v+=_<=0?180:-180,_+=_<=0?180:-180):(p*=-1,v+=v<=0?180:-180)),e=e||i.uncache,i.x=h-((i.xPercent=h&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-h)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+s,i.y=l-((i.yPercent=l&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-l)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+s,i.z=c+s,i.scaleX=N(d),i.scaleY=N(p),i.rotation=N(_)+a,i.rotationX=N(m)+a,i.rotationY=N(y)+a,i.skewX=v+a,i.skewY=T+a,i.transformPerspective=w+s,(i.zOrigin=parseFloat(f.split(" ")[2])||!e&&i.zOrigin||0)&&(r[H]=Se(f)),i.xOffset=i.yOffset=0,i.force3D=nt.force3D,i.renderTransform=i.svg?$n:Sr?Dr:Qn,i.uncache=0,i},Se=function(t){return(t=t.split(" "))[0]+" "+t[1]},Le=function(t,e,i){var r=G(e);return N(parseFloat(e)+parseFloat(kt(t,"x",i+"px",r)))+r},Qn=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Dr(t,e)},At="0deg",te="0px",Rt=") ",Dr=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,a=i.y,o=i.z,f=i.rotation,h=i.rotationY,l=i.rotationX,c=i.skewX,d=i.skewY,p=i.scaleX,_=i.scaleY,m=i.transformPerspective,y=i.force3D,v=i.target,T=i.zOrigin,w="",g=y==="auto"&&t&&t!==1||y===!0;if(T&&(l!==At||h!==At)){var b=parseFloat(h)*Wt,P=Math.sin(b),S=Math.cos(b),x;b=parseFloat(l)*Wt,x=Math.cos(b),s=Le(v,s,P*x*-T),a=Le(v,a,-Math.sin(b)*-T),o=Le(v,o,S*x*-T+T)}m!==te&&(w+="perspective("+m+Rt),(r||n)&&(w+="translate("+r+"%, "+n+"%) "),(g||s!==te||a!==te||o!==te)&&(w+=o!==te||g?"translate3d("+s+", "+a+", "+o+") ":"translate("+s+", "+a+Rt),f!==At&&(w+="rotate("+f+Rt),h!==At&&(w+="rotateY("+h+Rt),l!==At&&(w+="rotateX("+l+Rt),(c!==At||d!==At)&&(w+="skew("+c+", "+d+Rt),(p!==1||_!==1)&&(w+="scale("+p+", "+_+Rt),v.style[L]=w||"translate(0, 0)"},$n=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,a=i.y,o=i.rotation,f=i.skewX,h=i.skewY,l=i.scaleX,c=i.scaleY,d=i.target,p=i.xOrigin,_=i.yOrigin,m=i.xOffset,y=i.yOffset,v=i.forceCSS,T=parseFloat(s),w=parseFloat(a),g,b,P,S,x;o=parseFloat(o),f=parseFloat(f),h=parseFloat(h),h&&(h=parseFloat(h),f+=h,o+=h),o||f?(o*=Wt,f*=Wt,g=Math.cos(o)*l,b=Math.sin(o)*l,P=Math.sin(o-f)*-c,S=Math.cos(o-f)*c,f&&(h*=Wt,x=Math.tan(f-h),x=Math.sqrt(1+x*x),P*=x,S*=x,h&&(x=Math.tan(h),x=Math.sqrt(1+x*x),g*=x,b*=x)),g=N(g),b=N(b),P=N(P),S=N(S)):(g=l,S=c,b=P=0),(T&&!~(s+"").indexOf("px")||w&&!~(a+"").indexOf("px"))&&(T=kt(d,"x",s,"px"),w=kt(d,"y",a,"px")),(p||_||m||y)&&(T=N(T+p-(p*g+_*P)+m),w=N(w+_-(p*b+_*S)+y)),(r||n)&&(x=d.getBBox(),T=N(T+r/100*x.width),w=N(w+n/100*x.height)),x="matrix("+g+","+b+","+P+","+S+","+T+","+w+")",d.setAttribute("transform",x),v&&(d.style[L]=x)},Kn=function(t,e,i,r,n){var s=360,a=X(n),o=parseFloat(n)*(a&&~n.indexOf("rad")?Et:1),f=o-r,h=r+f+"deg",l,c;return a&&(l=n.split("_")[1],l==="short"&&(f%=s,f!==f%(s/2)&&(f+=f<0?s:-s)),l==="cw"&&f<0?f=(f+s*Oi)%s-~~(f/s)*s:l==="ccw"&&f>0&&(f=(f-s*Oi)%s-~~(f/s)*s)),t._pt=c=new j(t._pt,e,i,r,f,An),c.e=h,c.u="deg",t._props.push(i),c},Ei=function(t,e){for(var i in e)t[i]=e[i];return t},Zn=function(t,e,i){var r=Ei({},i._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=i.style,a,o,f,h,l,c,d,p;r.svg?(f=i.getAttribute("transform"),i.setAttribute("transform",""),s[L]=e,a=le(i,1),Ot(i,L),i.setAttribute("transform",f)):(f=getComputedStyle(i)[L],s[L]=e,a=le(i,1),s[L]=f);for(o in vt)f=r[o],h=a[o],f!==h&&n.indexOf(o)<0&&(d=G(f),p=G(h),l=d!==p?kt(i,o,f,p):parseFloat(f),c=parseFloat(h),t._pt=new j(t._pt,a,o,l,c-l,Qe),t._pt.u=p||0,t._props.push(o));Ei(a,r)};Z("padding,margin,Width,Radius",function(u,t){var e="Top",i="Right",r="Bottom",n="Left",s=(t<3?[e,i,r,n]:[e+n,e+i,r+i,r+n]).map(function(a){return t<2?u+a:"border"+a+u});Pe[t>1?"border"+u:u]=function(a,o,f,h,l){var c,d;if(arguments.length<4)return c=s.map(function(p){return gt(a,p,f)}),d=c.join(" "),d.split(c[0]).length===5?c[0]:d;c=(h+"").split(" "),d={},s.forEach(function(p,_){return d[p]=c[_]=c[_]||c[(_-1)/2|0]}),a.init(o,d,l)}});var Ar={name:"css",register:Ke,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,r,n){var s=this._props,a=t.style,o=i.vars.startAt,f,h,l,c,d,p,_,m,y,v,T,w,g,b,P,S,x;_i||Ke(),this.styles=this.styles||Pr(t),S=this.styles.props,this.tween=i;for(_ in e)if(_!=="autoRound"&&(h=e[_],!(tt[_]&&cr(_,e,i,r,t,n)))){if(d=typeof h,p=Pe[_],d==="function"&&(h=h.call(i,r,t,n),d=typeof h),d==="string"&&~h.indexOf("random(")&&(h=ue(h)),p)p(this,t,_,h,i)&&(P=1);else if(_.substr(0,2)==="--")f=(getComputedStyle(t).getPropertyValue(_)+"").trim(),h+="",Pt.lastIndex=0,Pt.test(f)||(m=G(f),y=G(h),y?m!==y&&(f=kt(t,_,f,y)+y):m&&(h+=m)),this.add(a,"setProperty",f,h,r,n,0,0,_),s.push(_),S.push(_,0,a[_]);else if(d!=="undefined"){if(o&&_ in o?(f=typeof o[_]=="function"?o[_].call(i,r,t,n):o[_],X(f)&&~f.indexOf("random(")&&(f=ue(f)),G(f+"")||f==="auto"||(f+=nt.units[_]||G(gt(t,_))||""),(f+"").charAt(1)==="="&&(f=gt(t,_))):f=gt(t,_),c=parseFloat(f),v=d==="string"&&h.charAt(1)==="="&&h.substr(0,2),v&&(h=h.substr(2)),l=parseFloat(h),_ in ct&&(_==="autoAlpha"&&(c===1&>(t,"visibility")==="hidden"&&l&&(c=0),S.push("visibility",0,a.visibility),wt(this,a,"visibility",c?"inherit":"hidden",l?"inherit":"hidden",!l)),_!=="scale"&&_!=="transform"&&(_=ct[_],~_.indexOf(",")&&(_=_.split(",")[0]))),T=_ in vt,T){if(this.styles.save(_),x=h,d==="string"&&h.substring(0,6)==="var(--"){if(h=rt(t,h.substring(4,h.indexOf(")"))),h.substring(0,5)==="calc("){var k=t.style.perspective;t.style.perspective=h,h=rt(t,"perspective"),k?t.style.perspective=k:Ot(t,"perspective")}l=parseFloat(h)}if(w||(g=t._gsap,g.renderTransform&&!e.parseTransform||le(t,e.parseTransform),b=e.smoothOrigin!==!1&&g.smooth,w=this._pt=new j(this._pt,a,L,0,1,g.renderTransform,g,0,-1),w.dep=1),_==="scale")this._pt=new j(this._pt,g,"scaleY",g.scaleY,(v?Xt(g.scaleY,v+l):l)-g.scaleY||0,Qe),this._pt.u=0,s.push("scaleY",_),_+="X";else if(_==="transformOrigin"){S.push(H,0,a[H]),h=Wn(h),g.svg?Ze(t,h,0,b,0,this):(y=parseFloat(h.split(" ")[2])||0,y!==g.zOrigin&&wt(this,g,"zOrigin",g.zOrigin,y),wt(this,a,_,Se(f),Se(h)));continue}else if(_==="svgOrigin"){Ze(t,h,1,b,0,this);continue}else if(_ in Cr){Kn(this,g,_,c,v?Xt(c,v+h):h);continue}else if(_==="smoothOrigin"){wt(this,g,"smooth",g.smooth,h);continue}else if(_==="force3D"){g[_]=h;continue}else if(_==="transform"){Zn(this,h,t);continue}}else _ in a||(_=jt(_)||_);if(T||(l||l===0)&&(c||c===0)&&!Dn.test(h)&&_ in a)m=(f+"").substr((c+"").length),l||(l=0),y=G(h)||(_ in nt.units?nt.units[_]:m),m!==y&&(c=kt(t,_,f,y)),this._pt=new j(this._pt,T?g:a,_,c,(v?Xt(c,v+l):l)-c,!T&&(y==="px"||_==="zIndex")&&e.autoRound!==!1?zn:Qe),this._pt.u=y||0,T&&x!==h?(this._pt.b=f,this._pt.e=x,this._pt.r=En):m!==y&&y!=="%"&&(this._pt.b=f,this._pt.r=Rn);else if(_ in a)qn.call(this,t,_,f,v?v+h:h);else if(_ in t)this.add(t,_,f||t[_],v?v+h:h,r,n);else if(_!=="parseTransform"){ei(_,h);continue}T||(_ in a?S.push(_,0,a[_]):typeof t[_]=="function"?S.push(_,2,t[_]()):S.push(_,1,f||t[_])),s.push(_)}}P&&vr(this)},render:function(t,e){if(e.tween._time||!li())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:gt,aliases:ct,getSetter:function(t,e,i){var r=ct[e];return r&&r.indexOf(",")<0&&(e=r),e in vt&&e!==H&&(t._gsap.x||gt(t,"x"))?i&&Si===i?e==="scale"?Nn:In:(Si=i||{})&&(e==="scale"?Bn:Vn):t.style&&!He(t.style[e])?Fn:~e.indexOf("-")?Ln:fi(t,e)},core:{_removeProperty:Ot,_getMatrix:di}};J.utils.checkPrefix=jt;J.core.getStyleSaver=Pr;(function(u,t,e,i){var r=Z(u+","+t+","+e,function(n){vt[n]=1});Z(t,function(n){nt.units[n]="deg",Cr[n]=1}),ct[r[13]]=u+","+t,Z(i,function(n){var s=n.split(":");ct[s[1]]=r[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");Z("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(u){nt.units[u]="px"});J.registerPlugin(Ar);var jn=J.registerPlugin(Ar)||J,ms=jn.core.Tween;export{hs as Back,ls as Bounce,Ar as CSSPlugin,ps as Circ,ss as Cubic,fs as Elastic,ds as Expo,rs as Linear,Hn as Power0,Jn as Power1,ts as Power2,es as Power3,is as Power4,ns as Quad,as as Quart,os as Quint,cs as Sine,_s as SteppedEase,us as Strong,$ as TimelineLite,$ as TimelineMax,V as TweenLite,ms as TweenMax,jn as default,jn as gsap}; diff --git a/bundled/js/BfgcB0.js b/bundled/js/BfgcB0.js deleted file mode 100644 index 5c70bc3..0000000 --- a/bundled/js/BfgcB0.js +++ /dev/null @@ -1 +0,0 @@ -import{c as ue,o as D,a as F,t as H,i as P,b as V,s as ge,u as O,d as te,e as N,f as S,g as $,h as z,j as ne,k as B,l as T,F as se,m as he,n as L,p as ve,q as re,r as M,S as ee}from"./main.js";var fe=H("
");function me(n){let e;const[s,r]=ue({x:0,y:0}),t=a=>{const{clientX:l,clientY:o}=a;r({x:l,y:o})};return D(()=>{e=new AbortController;const a=e.signal;window.addEventListener("mousemove",t,{passive:!0,signal:a})}),F(()=>{e?.abort()}),(()=>{var a=fe(),l=a.firstChild;return P(l,()=>n.cursorText()),V(o=>{var h=!!n.active(),c=`translate3d(${s().x}px, ${s().y}px, 0)`;return h!==o.e&&a.classList.toggle("active",o.e=h),c!==o.t&&ge(a,"transform",o.t=c),o},{e:void 0,t:void 0}),a})()}function xe(){let n=[],e=[],s,r,t;const a=O(),[l,{incThreshold:o,decThreshold:h}]=te(),[c]=N(),p=f=>{n.forEach((x,d)=>{x.innerText=f[d]})},i=(f,x)=>{e.forEach((d,u)=>{u<4?d.innerText=f[u]:d.innerText=x[u-4]})};return D(()=>{const f=document.getElementsByClassName("threshold")[0],x=document.getElementsByClassName("index").item(0);n=Array.from(f.getElementsByClassName("num")),e=Array.from(x.getElementsByClassName("num")),s=f.getElementsByClassName("dec").item(0),r=f.getElementsByClassName("inc").item(0),t=new AbortController;const d=t.signal;s.addEventListener("click",h,{signal:d}),r.addEventListener("click",o,{signal:d})}),S(()=>{n.length===0||e.length===0||(i($(c.index()+1),$(a().length)),p($(l().threshold)))}),F(()=>{t?.abort()}),null}function R(n){return n.map(e=>e.i)}function ae(n,e){return R(n).slice(-e).slice(0,-1)}function X(n){return R(n).slice(-1)[0]}function U(n,e){return ne(n.slice(-1)[0].i,e)}function W(n,e){return z(n.slice(-1)[0].i,e)}function b(n,e){return e.map(s=>n[s])}function oe(n){n.forEach(e=>{e.src!==e.dataset.hiUrl&&(e.src=e.dataset.hiUrl,e.height=parseInt(e.dataset.hiImgH),e.width=parseInt(e.dataset.hiImgW))})}function ie(n){n.forEach(e=>{e.src!==e.dataset.loUrl&&(e.src=e.dataset.loUrl,e.height=parseInt(e.dataset.loImgH),e.width=parseInt(e.dataset.loImgW))})}function pe(n,e,s={attributes:!0}){new MutationObserver((r,t)=>{for(const a of r)if(e(a)){t.disconnect();break}}).observe(n,s)}function le(n){const{gsap:e,img:s,mounted:r,setIsLoading:t}=n;if(!r)return;if(s.complete){e.set(s,{opacity:1}).then(()=>{t(!1)}).catch(o=>{console.log(o)});return}t(!0);const a=new AbortController,l=a.signal;s.addEventListener("load",()=>{e.to(s,{opacity:1,ease:"power3.out",duration:.5}).then(()=>{t(!1)}).catch(o=>{console.log(o)}).finally(()=>{a.abort()})},{once:!0,passive:!0,signal:l}),s.addEventListener("error",()=>{e.set(s,{opacity:1}).then(()=>{t(!1)}).catch(o=>{console.log(o)}).finally(()=>{a.abort()})},{once:!0,passive:!0,signal:l})}function we(n){const{gsap:e,imgs:s,cordHist:r,trailLength:t,length:a,isOpen:l,navVector:o,mounted:h,setIsLoading:c}=n;if(!h||s.length===0)return;const p=R(r);if(p.length===0)return;const i=b(s,p);if(e.set(i,{x:u=>r[u].x-window.innerWidth/2,y:u=>r[u].y-window.innerHeight/2,opacity:u=>Math.max((u+1+t<=r.length?0:1)-(l?1:0),0),zIndex:u=>u,scale:.6}),!l){ie(i);return}const f=b(s,[X(r)])[0],x=[],d=[];switch(o){case"prev":x.push(U(r,a)),d.push(W(r,a));break;case"next":x.push(W(r,a)),d.push(U(r,a));break}oe(b(s,x)),e.set(b(s,d),{opacity:0}),e.set(f,{x:0,y:0,scale:1}),le({gsap:e,img:f,mounted:h,setIsLoading:c})}async function ye(n){const{gsap:e,imgs:s,cordHist:r,trailLength:t,length:a,mounted:l,setIsLoading:o,setIsAnimating:h}=n;if(!l)throw new Error("not mounted");h(!0);const c=X(r),p=s[c];oe(b(s,[c,U(r,a),W(r,a)])),le({gsap:e,img:p,mounted:l,setIsLoading:o});const i=e.timeline(),f=b(s,ae(r,t));i.to(f,{y:"+=20",ease:"power3.in",stagger:.075,duration:.3,delay:.1,opacity:0}),i.to(p,{x:0,y:0,ease:"power3.inOut",duration:.7,delay:.3}),i.to(p,{delay:.1,scale:1,ease:"power3.inOut"}),await i.then(()=>{h(!1)})}async function Ie(n){const{gsap:e,imgs:s,cordHist:r,trailLength:t,mounted:a,setIsAnimating:l}=n;if(!a)throw new Error("not mounted");l(!0);const o=X(r),h=ae(r,t);ie(b(s,[...h,o]));const c=e.timeline(),p=b(s,[o])[0],i=b(s,h);c.to(p,{scale:.6,duration:.6,ease:"power3.inOut"}),c.to(p,{delay:.3,duration:.7,ease:"power3.inOut",x:r.slice(-1)[0].x-window.innerWidth/2,y:r.slice(-1)[0].y-window.innerHeight/2}),c.to(i,{y:"-=20",ease:"power3.out",stagger:-.1,duration:.3,opacity:1}),await c.then(()=>{l(!1)})}var Ee=H("
"),Le=H("");function be(){let n,e;const s=O(),[r]=te(),[t,{setIndex:a,setCordHist:l,setIsOpen:o,setIsAnimating:h,setIsLoading:c,setNavVector:p}]=N(),i=Array(s().length);let f={x:0,y:0},x,d=!1,u=!1;const k=async()=>{if(e!==void 0)return await e;e=ve().then(w=>{n=w,d=!0}).catch(w=>{e=void 0,console.log(w)}),await e},m=w=>{if(t.isOpen()||t.isAnimating()||!d||!u)return;const v=s().length;if(v<=0)return;const E={x:w.clientX,y:w.clientY};if(Math.hypot(E.x-f.x,E.y-f.y)>r().threshold){const C=z(t.index(),v);f=E,a(C),l(g=>[...g,{i:C,...E}].slice(-v))}},I=async()=>{d||await k(),!(t.isAnimating()||!d)&&(t.index()<0||t.cordHist().length===0||o(!0))},A=()=>{we({gsap:n,imgs:i,cordHist:t.cordHist(),trailLength:r().trailLength,length:s().length,isOpen:t.isOpen(),navVector:t.navVector(),mounted:u,setIsLoading:c})},ce=async()=>{if(!u||!d)throw new Error("not mounted or gsap not loaded");await ye({gsap:n,imgs:i,cordHist:t.cordHist(),trailLength:r().trailLength,length:s().length,mounted:u,setIsLoading:c,setIsAnimating:h})},de=async()=>{if(!u||!d)throw new Error("not mounted or gsap not loaded");p("none"),await Ie({gsap:n,imgs:i,cordHist:t.cordHist(),trailLength:r().trailLength,mounted:u,setIsAnimating:h})};return D(()=>{i.forEach((v,E)=>{E<5&&(v.src=v.dataset.loUrl),pe(v,y=>t.isOpen()||t.isAnimating()||y.attributeName!=="style"||parseFloat(v.style.opacity)!==1?!1:(E+5{k()},{passive:!0,once:!0}),window.addEventListener("pointerdown",()=>{k()},{passive:!0,once:!0}),window.addEventListener("click",()=>{k()},{passive:!0,once:!0}),x=new AbortController;const w=x.signal;window.addEventListener("mousemove",m,{passive:!0,signal:w}),u=!0}),S(B(()=>t.cordHist(),()=>{A()},{defer:!0})),S(B(t.isOpen,async w=>{if(!t.isAnimating())if(w){if(t.index()<0||t.cordHist().length===0){o(!1);return}await ce().catch(()=>{o(!1),h(!1),c(!1)}).then(()=>{x?.abort()})}else await de().catch(()=>{}).then(()=>{x=new AbortController;const v=x.signal;window.addEventListener("mousemove",m,{passive:!0,signal:v}),c(!1)})},{defer:!0})),(()=>{var w=Ee();return w.$$keydown=I,w.$$click=I,P(w,T(se,{get each(){return s().images},children:(v,E)=>(()=>{var y=Le(),C=i[E()];return typeof C=="function"?he(C,y):i[E()]=y,V(g=>{var G=v.loImgH,Y=v.loImgW,_=v.hiUrl,q=v.hiImgH,K=v.hiImgW,J=v.loUrl,Q=v.loImgH,Z=v.loImgW,j=v.alt;return G!==g.e&&L(y,"height",g.e=G),Y!==g.t&&L(y,"width",g.t=Y),_!==g.a&&L(y,"data-hi-url",g.a=_),q!==g.o&&L(y,"data-hi-img-h",g.o=q),K!==g.i&&L(y,"data-hi-img-w",g.i=K),J!==g.n&&L(y,"data-lo-url",g.n=J),Q!==g.s&&L(y,"data-lo-img-h",g.s=Q),Z!==g.h&&L(y,"data-lo-img-w",g.h=Z),j!==g.r&&L(y,"alt",g.r=j),g},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0,r:void 0}),y})()})),w})()}re(["click","keydown"]);var Te=H("