@fynd-design-engineering/fynd-one-v2 1.0.4 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/navigation/announcement/index.js +1 -1
- package/dist/navigation/context-menu/index.js +1 -0
- package/dist/navigation/desktop/index.js +1 -1
- package/dist/navigation/mobile/index.js +1 -1
- package/dist/navigation/scroll/index.js +1 -0
- package/dist/navigation/style.css +1 -1
- package/dist/test/sample.js +1 -0
- package/package.json +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{})();
|
|
1
|
+
"use strict";(()=>{function Ce(s){return s!==null&&typeof s=="object"&&"constructor"in s&&s.constructor===Object}function ce(s,e){s===void 0&&(s={}),e===void 0&&(e={});let t=["__proto__","constructor","prototype"];Object.keys(e).filter(i=>t.indexOf(i)<0).forEach(i=>{typeof s[i]>"u"?s[i]=e[i]:Ce(e[i])&&Ce(s[i])&&Object.keys(e[i]).length>0&&ce(s[i],e[i])})}var 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 H(){let s=typeof document<"u"?document:{};return ce(s,Pe),s}var Ne={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(s){return typeof setTimeout>"u"?(s(),null):setTimeout(s,0)},cancelAnimationFrame(s){typeof setTimeout>"u"||clearTimeout(s)}};function $(){let s=typeof window<"u"?window:{};return ce(s,Ne),s}function Le(s){return s===void 0&&(s=""),s.trim().split(" ").filter(e=>!!e.trim())}function Ie(s){let e=s;Object.keys(e).forEach(t=>{try{e[t]=null}catch{}try{delete e[t]}catch{}})}function j(s,e){return e===void 0&&(e=0),setTimeout(s,e)}function U(){return Date.now()}function We(s){let e=$(),t;return e.getComputedStyle&&(t=e.getComputedStyle(s,null)),!t&&s.currentStyle&&(t=s.currentStyle),t||(t=s.style),t}function fe(s,e){e===void 0&&(e="x");let t=$(),i,a,r,l=We(s);return t.WebKitCSSMatrix?(a=l.transform||l.webkitTransform,a.split(",").length>6&&(a=a.split(", ").map(n=>n.replace(",",".")).join(", ")),r=new t.WebKitCSSMatrix(a==="none"?"":a)):(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(",")),e==="x"&&(t.WebKitCSSMatrix?a=r.m41:i.length===16?a=parseFloat(i[12]):a=parseFloat(i[4])),e==="y"&&(t.WebKitCSSMatrix?a=r.m42:i.length===16?a=parseFloat(i[13]):a=parseFloat(i[5])),a||0}function se(s){return typeof s=="object"&&s!==null&&s.constructor&&Object.prototype.toString.call(s).slice(8,-1)==="Object"}function _e(s){return typeof window<"u"&&typeof window.HTMLElement<"u"?s instanceof HTMLElement:s&&(s.nodeType===1||s.nodeType===11)}function R(){let s=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let t=1;t<arguments.length;t+=1){let i=t<0||arguments.length<=t?void 0:arguments[t];if(i!=null&&!_e(i)){let a=Object.keys(Object(i)).filter(r=>e.indexOf(r)<0);for(let r=0,l=a.length;r<l;r+=1){let n=a[r],d=Object.getOwnPropertyDescriptor(i,n);d!==void 0&&d.enumerable&&(se(s[n])&&se(i[n])?i[n].__swiper__?s[n]=i[n]:R(s[n],i[n]):!se(s[n])&&se(i[n])?(s[n]={},i[n].__swiper__?s[n]=i[n]:R(s[n],i[n])):s[n]=i[n])}}}return s}function Q(s,e,t){s.style.setProperty(e,t)}function ue(s){let{swiper:e,targetPosition:t,side:i}=s,a=$(),r=-e.translate,l=null,n,d=e.params.speed;e.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(e.cssModeFrameID);let o=t>r?"next":"prev",c=(m,g)=>o==="next"&&m>=g||o==="prev"&&m<=g,u=()=>{n=new Date().getTime(),l===null&&(l=n);let m=Math.max(Math.min((n-l)/d,1),0),g=.5-Math.cos(m*Math.PI)/2,h=r+g*(t-r);if(c(h,t)&&(h=t),e.wrapperEl.scrollTo({[i]:h}),c(h,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[i]:h})}),a.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=a.requestAnimationFrame(u)};u()}function F(s){return s.querySelector(".swiper-slide-transform")||s.shadowRoot&&s.shadowRoot.querySelector(".swiper-slide-transform")||s}function B(s,e){e===void 0&&(e="");let t=$(),i=[...s.children];return t.HTMLSlotElement&&s instanceof HTMLSlotElement&&i.push(...s.assignedElements()),e?i.filter(a=>a.matches(e)):i}function qe(s,e){let t=[e];for(;t.length>0;){let i=t.shift();if(s===i)return!0;t.push(...i.children,...i.shadowRoot?i.shadowRoot.children:[],...i.assignedElements?i.assignedElements():[])}}function ze(s,e){let t=$(),i=e.contains(s);return!i&&t.HTMLSlotElement&&e instanceof HTMLSlotElement&&(i=[...e.assignedElements()].includes(s),i||(i=qe(s,e))),i}function ie(s){try{console.warn(s);return}catch{}}function V(s,e){e===void 0&&(e=[]);let t=document.createElement(s);return t.classList.add(...Array.isArray(e)?e:Le(e)),t}function Ae(s,e){let t=[];for(;s.previousElementSibling;){let i=s.previousElementSibling;e?i.matches(e)&&t.push(i):t.push(i),s=i}return t}function Oe(s,e){let t=[];for(;s.nextElementSibling;){let i=s.nextElementSibling;e?i.matches(e)&&t.push(i):t.push(i),s=i}return t}function N(s,e){return $().getComputedStyle(s,null).getPropertyValue(e)}function K(s){let e=s,t;if(e){for(t=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(t+=1);return t}}function J(s,e){let t=[],i=s.parentElement;for(;i;)e?i.matches(e)&&t.push(i):t.push(i),i=i.parentElement;return t}function le(s,e){function t(i){i.target===s&&(e.call(s,i),s.removeEventListener("transitionend",t))}e&&s.addEventListener("transitionend",t)}function re(s,e,t){let i=$();return t?s[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(s,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(s,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):s.offsetWidth}function Y(s){return(Array.isArray(s)?s:[s]).filter(e=>!!e)}function ee(s,e){e===void 0&&(e=""),typeof trustedTypes<"u"?s.innerHTML=trustedTypes.createPolicy("html",{createHTML:t=>t}).createHTML(e):s.innerHTML=e}var pe;function je(){let s=$(),e=H();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in s||s.DocumentTouch&&e instanceof s.DocumentTouch)}}function Be(){return pe||(pe=je()),pe}var me;function Ue(s){let{userAgent:e}=s===void 0?{}:s,t=Be(),i=$(),a=i.navigator.platform,r=e||i.navigator.userAgent,l={ios:!1,android:!1},n=i.screen.width,d=i.screen.height,o=r.match(/(Android);?[\s\/]+([\d.]+)?/),c=r.match(/(iPad).*OS\s([\d_]+)/),u=r.match(/(iPod)(.*OS\s([\d_]+))?/),m=!c&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),g=a==="Win32",h=a==="MacIntel",S=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&h&&t.touch&&S.indexOf(`${n}x${d}`)>=0&&(c=r.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),h=!1),o&&!g&&(l.os="android",l.android=!0),(c||m||u)&&(l.os="ios",l.ios=!0),l}function Xe(s){return s===void 0&&(s={}),me||(me=Ue(s)),me}var he;function Ke(){let s=$(),e=Xe(),t=!1;function i(){let n=s.navigator.userAgent.toLowerCase();return n.indexOf("safari")>=0&&n.indexOf("chrome")<0&&n.indexOf("android")<0}if(i()){let n=String(s.navigator.userAgent);if(n.includes("Version/")){let[d,o]=n.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));t=d<16||d===16&&o<2}}let a=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(s.navigator.userAgent),r=i(),l=r||a&&e.ios;return{isSafari:t||r,needPerspectiveFix:t,need3dFix:l,isWebView:a}}function Re(){return he||(he=Ke()),he}function Ze(s){let{swiper:e,on:t,emit:i}=s,a=$(),r=null,l=null,n=()=>{!e||e.destroyed||!e.initialized||(i("beforeResize"),i("resize"))},d=()=>{!e||e.destroyed||!e.initialized||(r=new ResizeObserver(u=>{l=a.requestAnimationFrame(()=>{let{width:m,height:g}=e,h=m,S=g;u.forEach(z=>{let{contentBoxSize:b,contentRect:f,target:p}=z;p&&p!==e.el||(h=f?f.width:(b[0]||b).inlineSize,S=f?f.height:(b[0]||b).blockSize)}),(h!==m||S!==g)&&n()})}),r.observe(e.el))},o=()=>{l&&a.cancelAnimationFrame(l),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null)},c=()=>{!e||e.destroyed||!e.initialized||i("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&typeof a.ResizeObserver<"u"){d();return}a.addEventListener("resize",n),a.addEventListener("orientationchange",c)}),t("destroy",()=>{o(),a.removeEventListener("resize",n),a.removeEventListener("orientationchange",c)})}function Qe(s){let{swiper:e,extendParams:t,on:i,emit:a}=s,r=[],l=$(),n=function(c,u){u===void 0&&(u={});let m=l.MutationObserver||l.WebkitMutationObserver,g=new m(h=>{if(e.__preventObserver__)return;if(h.length===1){a("observerUpdate",h[0]);return}let S=function(){a("observerUpdate",h[0])};l.requestAnimationFrame?l.requestAnimationFrame(S):l.setTimeout(S,0)});g.observe(c,{attributes:typeof u.attributes>"u"?!0:u.attributes,childList:e.isElement||(typeof u.childList>"u"?!0:u).childList,characterData:typeof u.characterData>"u"?!0:u.characterData}),r.push(g)},d=()=>{if(e.params.observer){if(e.params.observeParents){let c=J(e.hostEl);for(let u=0;u<c.length;u+=1)n(c[u])}n(e.hostEl,{childList:e.params.observeSlideChildren}),n(e.wrapperEl,{attributes:!1})}},o=()=>{r.forEach(c=>{c.disconnect()}),r.splice(0,r.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",d),i("destroy",o)}var Je={on(s,e,t){let i=this;if(!i.eventsListeners||i.destroyed||typeof e!="function")return i;let a=t?"unshift":"push";return s.split(" ").forEach(r=>{i.eventsListeners[r]||(i.eventsListeners[r]=[]),i.eventsListeners[r][a](e)}),i},once(s,e,t){let i=this;if(!i.eventsListeners||i.destroyed||typeof e!="function")return i;function a(){i.off(s,a),a.__emitterProxy&&delete a.__emitterProxy;for(var r=arguments.length,l=new Array(r),n=0;n<r;n++)l[n]=arguments[n];e.apply(i,l)}return a.__emitterProxy=e,i.on(s,a,t)},onAny(s,e){let t=this;if(!t.eventsListeners||t.destroyed||typeof s!="function")return t;let i=e?"unshift":"push";return t.eventsAnyListeners.indexOf(s)<0&&t.eventsAnyListeners[i](s),t},offAny(s){let e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;let t=e.eventsAnyListeners.indexOf(s);return t>=0&&e.eventsAnyListeners.splice(t,1),e},off(s,e){let t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||s.split(" ").forEach(i=>{typeof e>"u"?t.eventsListeners[i]=[]:t.eventsListeners[i]&&t.eventsListeners[i].forEach((a,r)=>{(a===e||a.__emitterProxy&&a.__emitterProxy===e)&&t.eventsListeners[i].splice(r,1)})}),t},emit(){let s=this;if(!s.eventsListeners||s.destroyed||!s.eventsListeners)return s;let e,t,i;for(var a=arguments.length,r=new Array(a),l=0;l<a;l++)r[l]=arguments[l];return typeof r[0]=="string"||Array.isArray(r[0])?(e=r[0],t=r.slice(1,r.length),i=s):(e=r[0].events,t=r[0].data,i=r[0].context||s),t.unshift(i),(Array.isArray(e)?e:e.split(" ")).forEach(d=>{s.eventsAnyListeners&&s.eventsAnyListeners.length&&s.eventsAnyListeners.forEach(o=>{o.apply(i,[d,...t])}),s.eventsListeners&&s.eventsListeners[d]&&s.eventsListeners[d].forEach(o=>{o.apply(i,t)})}),s}};function et(){let s=this,e,t,i=s.el;typeof s.params.width<"u"&&s.params.width!==null?e=s.params.width:e=i.clientWidth,typeof s.params.height<"u"&&s.params.height!==null?t=s.params.height:t=i.clientHeight,!(e===0&&s.isHorizontal()||t===0&&s.isVertical())&&(e=e-parseInt(N(i,"padding-left")||0,10)-parseInt(N(i,"padding-right")||0,10),t=t-parseInt(N(i,"padding-top")||0,10)-parseInt(N(i,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(s,{width:e,height:t,size:s.isHorizontal()?e:t}))}function tt(){let s=this;function e(w,x){return parseFloat(w.getPropertyValue(s.getDirectionLabel(x))||0)}let t=s.params,{wrapperEl:i,slidesEl:a,size:r,rtlTranslate:l,wrongRTL:n}=s,d=s.virtual&&t.virtual.enabled,o=d?s.virtual.slides.length:s.slides.length,c=B(a,`.${s.params.slideClass}, swiper-slide`),u=d?s.virtual.slides.length:c.length,m=[],g=[],h=[],S=t.slidesOffsetBefore;typeof S=="function"&&(S=t.slidesOffsetBefore.call(s));let z=t.slidesOffsetAfter;typeof z=="function"&&(z=t.slidesOffsetAfter.call(s));let b=s.snapGrid.length,f=s.slidesGrid.length,p=t.spaceBetween,v=-S,y=0,E=0;if(typeof r>"u")return;typeof p=="string"&&p.indexOf("%")>=0?p=parseFloat(p.replace("%",""))/100*r:typeof p=="string"&&(p=parseFloat(p)),s.virtualSize=-p,c.forEach(w=>{l?w.style.marginLeft="":w.style.marginRight="",w.style.marginBottom="",w.style.marginTop=""}),t.centeredSlides&&t.cssMode&&(Q(i,"--swiper-centered-offset-before",""),Q(i,"--swiper-centered-offset-after",""));let M=t.grid&&t.grid.rows>1&&s.grid;M?s.grid.initSlides(c):s.grid&&s.grid.unsetSlides();let T,C=t.slidesPerView==="auto"&&t.breakpoints&&Object.keys(t.breakpoints).filter(w=>typeof t.breakpoints[w].slidesPerView<"u").length>0;for(let w=0;w<u;w+=1){T=0;let x;if(c[w]&&(x=c[w]),M&&s.grid.updateSlide(w,x,c),!(c[w]&&N(x,"display")==="none")){if(t.slidesPerView==="auto"){C&&(c[w].style[s.getDirectionLabel("width")]="");let I=getComputedStyle(x),A=x.style.transform,O=x.style.webkitTransform;if(A&&(x.style.transform="none"),O&&(x.style.webkitTransform="none"),t.roundLengths)T=s.isHorizontal()?re(x,"width",!0):re(x,"height",!0);else{let D=e(I,"width"),P=e(I,"padding-left"),G=e(I,"padding-right"),L=e(I,"margin-left"),k=e(I,"margin-right"),X=I.getPropertyValue("box-sizing");if(X&&X==="border-box")T=D+L+k;else{let{clientWidth:q,offsetWidth:ne}=x;T=D+P+G+L+k+(ne-q)}}A&&(x.style.transform=A),O&&(x.style.webkitTransform=O),t.roundLengths&&(T=Math.floor(T))}else T=(r-(t.slidesPerView-1)*p)/t.slidesPerView,t.roundLengths&&(T=Math.floor(T)),c[w]&&(c[w].style[s.getDirectionLabel("width")]=`${T}px`);c[w]&&(c[w].swiperSlideSize=T),h.push(T),t.centeredSlides?(v=v+T/2+y/2+p,y===0&&w!==0&&(v=v-r/2-p),w===0&&(v=v-r/2-p),Math.abs(v)<1/1e3&&(v=0),t.roundLengths&&(v=Math.floor(v)),E%t.slidesPerGroup===0&&m.push(v),g.push(v)):(t.roundLengths&&(v=Math.floor(v)),(E-Math.min(s.params.slidesPerGroupSkip,E))%s.params.slidesPerGroup===0&&m.push(v),g.push(v),v=v+T+p),s.virtualSize+=T+p,y=T,E+=1}}if(s.virtualSize=Math.max(s.virtualSize,r)+z,l&&n&&(t.effect==="slide"||t.effect==="coverflow")&&(i.style.width=`${s.virtualSize+p}px`),t.setWrapperSize&&(i.style[s.getDirectionLabel("width")]=`${s.virtualSize+p}px`),M&&s.grid.updateWrapperSize(T,m),!t.centeredSlides){let w=[];for(let x=0;x<m.length;x+=1){let I=m[x];t.roundLengths&&(I=Math.floor(I)),m[x]<=s.virtualSize-r&&w.push(I)}m=w,Math.floor(s.virtualSize-r)-Math.floor(m[m.length-1])>1&&m.push(s.virtualSize-r)}if(d&&t.loop){let w=h[0]+p;if(t.slidesPerGroup>1){let x=Math.ceil((s.virtual.slidesBefore+s.virtual.slidesAfter)/t.slidesPerGroup),I=w*t.slidesPerGroup;for(let A=0;A<x;A+=1)m.push(m[m.length-1]+I)}for(let x=0;x<s.virtual.slidesBefore+s.virtual.slidesAfter;x+=1)t.slidesPerGroup===1&&m.push(m[m.length-1]+w),g.push(g[g.length-1]+w),s.virtualSize+=w}if(m.length===0&&(m=[0]),p!==0){let w=s.isHorizontal()&&l?"marginLeft":s.getDirectionLabel("marginRight");c.filter((x,I)=>!t.cssMode||t.loop?!0:I!==c.length-1).forEach(x=>{x.style[w]=`${p}px`})}if(t.centeredSlides&&t.centeredSlidesBounds){let w=0;h.forEach(I=>{w+=I+(p||0)}),w-=p;let x=w>r?w-r:0;m=m.map(I=>I<=0?-S:I>x?x+z:I)}if(t.centerInsufficientSlides){let w=0;h.forEach(I=>{w+=I+(p||0)}),w-=p;let x=(t.slidesOffsetBefore||0)+(t.slidesOffsetAfter||0);if(w+x<r){let I=(r-w-x)/2;m.forEach((A,O)=>{m[O]=A-I}),g.forEach((A,O)=>{g[O]=A+I})}}if(Object.assign(s,{slides:c,snapGrid:m,slidesGrid:g,slidesSizesGrid:h}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){Q(i,"--swiper-centered-offset-before",`${-m[0]}px`),Q(i,"--swiper-centered-offset-after",`${s.size/2-h[h.length-1]/2}px`);let w=-s.snapGrid[0],x=-s.slidesGrid[0];s.snapGrid=s.snapGrid.map(I=>I+w),s.slidesGrid=s.slidesGrid.map(I=>I+x)}if(u!==o&&s.emit("slidesLengthChange"),m.length!==b&&(s.params.watchOverflow&&s.checkOverflow(),s.emit("snapGridLengthChange")),g.length!==f&&s.emit("slidesGridLengthChange"),t.watchSlidesProgress&&s.updateSlidesOffset(),s.emit("slidesUpdated"),!d&&!t.cssMode&&(t.effect==="slide"||t.effect==="fade")){let w=`${t.containerModifierClass}backface-hidden`,x=s.el.classList.contains(w);u<=t.maxBackfaceHiddenSlides?x||s.el.classList.add(w):x&&s.el.classList.remove(w)}}function st(s){let e=this,t=[],i=e.virtual&&e.params.virtual.enabled,a=0,r;typeof s=="number"?e.setTransition(s):s===!0&&e.setTransition(e.params.speed);let l=n=>i?e.slides[e.getSlideIndexByData(n)]:e.slides[n];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(n=>{t.push(n)});else for(r=0;r<Math.ceil(e.params.slidesPerView);r+=1){let n=e.activeIndex+r;if(n>e.slides.length&&!i)break;t.push(l(n))}else t.push(l(e.activeIndex));for(r=0;r<t.length;r+=1)if(typeof t[r]<"u"){let n=t[r].offsetHeight;a=n>a?n:a}(a||a===0)&&(e.wrapperEl.style.height=`${a}px`)}function it(){let s=this,e=s.slides,t=s.isElement?s.isHorizontal()?s.wrapperEl.offsetLeft:s.wrapperEl.offsetTop:0;for(let i=0;i<e.length;i+=1)e[i].swiperSlideOffset=(s.isHorizontal()?e[i].offsetLeft:e[i].offsetTop)-t-s.cssOverflowAdjustment()}var De=(s,e,t)=>{e&&!s.classList.contains(t)?s.classList.add(t):!e&&s.classList.contains(t)&&s.classList.remove(t)};function rt(s){s===void 0&&(s=this&&this.translate||0);let e=this,t=e.params,{slides:i,rtlTranslate:a,snapGrid:r}=e;if(i.length===0)return;typeof i[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let l=-s;a&&(l=s),e.visibleSlidesIndexes=[],e.visibleSlides=[];let n=t.spaceBetween;typeof n=="string"&&n.indexOf("%")>=0?n=parseFloat(n.replace("%",""))/100*e.size:typeof n=="string"&&(n=parseFloat(n));for(let d=0;d<i.length;d+=1){let o=i[d],c=o.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(c-=i[0].swiperSlideOffset);let u=(l+(t.centeredSlides?e.minTranslate():0)-c)/(o.swiperSlideSize+n),m=(l-r[0]+(t.centeredSlides?e.minTranslate():0)-c)/(o.swiperSlideSize+n),g=-(l-c),h=g+e.slidesSizesGrid[d],S=g>=0&&g<=e.size-e.slidesSizesGrid[d],z=g>=0&&g<e.size-1||h>1&&h<=e.size||g<=0&&h>=e.size;z&&(e.visibleSlides.push(o),e.visibleSlidesIndexes.push(d)),De(o,z,t.slideVisibleClass),De(o,S,t.slideFullyVisibleClass),o.progress=a?-u:u,o.originalProgress=a?-m:m}}function at(s){let e=this;if(typeof s>"u"){let c=e.rtlTranslate?-1:1;s=e&&e.translate&&e.translate*c||0}let t=e.params,i=e.maxTranslate()-e.minTranslate(),{progress:a,isBeginning:r,isEnd:l,progressLoop:n}=e,d=r,o=l;if(i===0)a=0,r=!0,l=!0;else{a=(s-e.minTranslate())/i;let c=Math.abs(s-e.minTranslate())<1,u=Math.abs(s-e.maxTranslate())<1;r=c||a<=0,l=u||a>=1,c&&(a=0),u&&(a=1)}if(t.loop){let c=e.getSlideIndexByData(0),u=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[c],g=e.slidesGrid[u],h=e.slidesGrid[e.slidesGrid.length-1],S=Math.abs(s);S>=m?n=(S-m)/h:n=(S+h-g)/h,n>1&&(n-=1)}Object.assign(e,{progress:a,progressLoop:n,isBeginning:r,isEnd:l}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&e.updateSlidesProgress(s),r&&!d&&e.emit("reachBeginning toEdge"),l&&!o&&e.emit("reachEnd toEdge"),(d&&!r||o&&!l)&&e.emit("fromEdge"),e.emit("progress",a)}var ge=(s,e,t)=>{e&&!s.classList.contains(t)?s.classList.add(t):!e&&s.classList.contains(t)&&s.classList.remove(t)};function nt(){let s=this,{slides:e,params:t,slidesEl:i,activeIndex:a}=s,r=s.virtual&&t.virtual.enabled,l=s.grid&&t.grid&&t.grid.rows>1,n=u=>B(i,`.${t.slideClass}${u}, swiper-slide${u}`)[0],d,o,c;if(r)if(t.loop){let u=a-s.virtual.slidesBefore;u<0&&(u=s.virtual.slides.length+u),u>=s.virtual.slides.length&&(u-=s.virtual.slides.length),d=n(`[data-swiper-slide-index="${u}"]`)}else d=n(`[data-swiper-slide-index="${a}"]`);else l?(d=e.find(u=>u.column===a),c=e.find(u=>u.column===a+1),o=e.find(u=>u.column===a-1)):d=e[a];d&&(l||(c=Oe(d,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!c&&(c=e[0]),o=Ae(d,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!o===0&&(o=e[e.length-1]))),e.forEach(u=>{ge(u,u===d,t.slideActiveClass),ge(u,u===c,t.slideNextClass),ge(u,u===o,t.slidePrevClass)}),s.emitSlidesClasses()}var oe=(s,e)=>{if(!s||s.destroyed||!s.params)return;let t=()=>s.isElement?"swiper-slide":`.${s.params.slideClass}`,i=e.closest(t());if(i){let a=i.querySelector(`.${s.params.lazyPreloaderClass}`);!a&&s.isElement&&(i.shadowRoot?a=i.shadowRoot.querySelector(`.${s.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{i.shadowRoot&&(a=i.shadowRoot.querySelector(`.${s.params.lazyPreloaderClass}`),a&&a.remove())})),a&&a.remove()}},ve=(s,e)=>{if(!s.slides[e])return;let t=s.slides[e].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},be=s=>{if(!s||s.destroyed||!s.params)return;let e=s.params.lazyPreloadPrevNext,t=s.slides.length;if(!t||!e||e<0)return;e=Math.min(e,t);let i=s.params.slidesPerView==="auto"?s.slidesPerViewDynamic():Math.ceil(s.params.slidesPerView),a=s.activeIndex;if(s.params.grid&&s.params.grid.rows>1){let l=a,n=[l-e];n.push(...Array.from({length:e}).map((d,o)=>l+i+o)),s.slides.forEach((d,o)=>{n.includes(d.column)&&ve(s,o)});return}let r=a+i-1;if(s.params.rewind||s.params.loop)for(let l=a-e;l<=r+e;l+=1){let n=(l%t+t)%t;(n<a||n>r)&&ve(s,n)}else for(let l=Math.max(a-e,0);l<=Math.min(r+e,t-1);l+=1)l!==a&&(l>r||l<a)&&ve(s,l)};function lt(s){let{slidesGrid:e,params:t}=s,i=s.rtlTranslate?s.translate:-s.translate,a;for(let r=0;r<e.length;r+=1)typeof e[r+1]<"u"?i>=e[r]&&i<e[r+1]-(e[r+1]-e[r])/2?a=r:i>=e[r]&&i<e[r+1]&&(a=r+1):i>=e[r]&&(a=r);return t.normalizeSlideIndex&&(a<0||typeof a>"u")&&(a=0),a}function ot(s){let e=this,t=e.rtlTranslate?e.translate:-e.translate,{snapGrid:i,params:a,activeIndex:r,realIndex:l,snapIndex:n}=e,d=s,o,c=g=>{let h=g-e.virtual.slidesBefore;return h<0&&(h=e.virtual.slides.length+h),h>=e.virtual.slides.length&&(h-=e.virtual.slides.length),h};if(typeof d>"u"&&(d=lt(e)),i.indexOf(t)>=0)o=i.indexOf(t);else{let g=Math.min(a.slidesPerGroupSkip,d);o=g+Math.floor((d-g)/a.slidesPerGroup)}if(o>=i.length&&(o=i.length-1),d===r&&!e.params.loop){o!==n&&(e.snapIndex=o,e.emit("snapIndexChange"));return}if(d===r&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(d);return}let u=e.grid&&a.grid&&a.grid.rows>1,m;if(e.virtual&&a.virtual.enabled&&a.loop)m=c(d);else if(u){let g=e.slides.find(S=>S.column===d),h=parseInt(g.getAttribute("data-swiper-slide-index"),10);Number.isNaN(h)&&(h=Math.max(e.slides.indexOf(g),0)),m=Math.floor(h/a.grid.rows)}else if(e.slides[d]){let g=e.slides[d].getAttribute("data-swiper-slide-index");g?m=parseInt(g,10):m=d}else m=d;Object.assign(e,{previousSnapIndex:n,snapIndex:o,previousRealIndex:l,realIndex:m,previousIndex:r,activeIndex:d}),e.initialized&&be(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(l!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function dt(s,e){let t=this,i=t.params,a=s.closest(`.${i.slideClass}, swiper-slide`);!a&&t.isElement&&e&&e.length>1&&e.includes(s)&&[...e.slice(e.indexOf(s)+1,e.length)].forEach(n=>{!a&&n.matches&&n.matches(`.${i.slideClass}, swiper-slide`)&&(a=n)});let r=!1,l;if(a){for(let n=0;n<t.slides.length;n+=1)if(t.slides[n]===a){r=!0,l=n;break}}if(a&&r)t.clickedSlide=a,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(a.getAttribute("data-swiper-slide-index"),10):t.clickedIndex=l;else{t.clickedSlide=void 0,t.clickedIndex=void 0;return}i.slideToClickedSlide&&t.clickedIndex!==void 0&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}var ct={updateSize:et,updateSlides:tt,updateAutoHeight:st,updateSlidesOffset:it,updateSlidesProgress:rt,updateProgress:at,updateSlidesClasses:nt,updateActiveIndex:ot,updateClickedSlide:dt};function ft(s){s===void 0&&(s=this.isHorizontal()?"x":"y");let e=this,{params:t,rtlTranslate:i,translate:a,wrapperEl:r}=e;if(t.virtualTranslate)return i?-a:a;if(t.cssMode)return a;let l=fe(r,s);return l+=e.cssOverflowAdjustment(),i&&(l=-l),l||0}function ut(s,e){let t=this,{rtlTranslate:i,params:a,wrapperEl:r,progress:l}=t,n=0,d=0,o=0;t.isHorizontal()?n=i?-s:s:d=s,a.roundLengths&&(n=Math.floor(n),d=Math.floor(d)),t.previousTranslate=t.translate,t.translate=t.isHorizontal()?n:d,a.cssMode?r[t.isHorizontal()?"scrollLeft":"scrollTop"]=t.isHorizontal()?-n:-d:a.virtualTranslate||(t.isHorizontal()?n-=t.cssOverflowAdjustment():d-=t.cssOverflowAdjustment(),r.style.transform=`translate3d(${n}px, ${d}px, ${o}px)`);let c,u=t.maxTranslate()-t.minTranslate();u===0?c=0:c=(s-t.minTranslate())/u,c!==l&&t.updateProgress(s),t.emit("setTranslate",t.translate,e)}function pt(){return-this.snapGrid[0]}function mt(){return-this.snapGrid[this.snapGrid.length-1]}function ht(s,e,t,i,a){s===void 0&&(s=0),e===void 0&&(e=this.params.speed),t===void 0&&(t=!0),i===void 0&&(i=!0);let r=this,{params:l,wrapperEl:n}=r;if(r.animating&&l.preventInteractionOnTransition)return!1;let d=r.minTranslate(),o=r.maxTranslate(),c;if(i&&s>d?c=d:i&&s<o?c=o:c=s,r.updateProgress(c),l.cssMode){let u=r.isHorizontal();if(e===0)n[u?"scrollLeft":"scrollTop"]=-c;else{if(!r.support.smoothScroll)return ue({swiper:r,targetPosition:-c,side:u?"left":"top"}),!0;n.scrollTo({[u?"left":"top"]:-c,behavior:"smooth"})}return!0}return e===0?(r.setTransition(0),r.setTranslate(c),t&&(r.emit("beforeTransitionStart",e,a),r.emit("transitionEnd"))):(r.setTransition(e),r.setTranslate(c),t&&(r.emit("beforeTransitionStart",e,a),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(m){!r||r.destroyed||m.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,r.animating=!1,t&&r.emit("transitionEnd"))}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd))),!0}var gt={getTranslate:ft,setTranslate:ut,minTranslate:pt,maxTranslate:mt,translateTo:ht};function vt(s,e){let t=this;t.params.cssMode||(t.wrapperEl.style.transitionDuration=`${s}ms`,t.wrapperEl.style.transitionDelay=s===0?"0ms":""),t.emit("setTransition",s,e)}function Ye(s){let{swiper:e,runCallbacks:t,direction:i,step:a}=s,{activeIndex:r,previousIndex:l}=e,n=i;n||(r>l?n="next":r<l?n="prev":n="reset"),e.emit(`transition${a}`),t&&n==="reset"?e.emit(`slideResetTransition${a}`):t&&r!==l&&(e.emit(`slideChangeTransition${a}`),n==="next"?e.emit(`slideNextTransition${a}`):e.emit(`slidePrevTransition${a}`))}function wt(s,e){s===void 0&&(s=!0);let t=this,{params:i}=t;i.cssMode||(i.autoHeight&&t.updateAutoHeight(),Ye({swiper:t,runCallbacks:s,direction:e,step:"Start"}))}function yt(s,e){s===void 0&&(s=!0);let t=this,{params:i}=t;t.animating=!1,!i.cssMode&&(t.setTransition(0),Ye({swiper:t,runCallbacks:s,direction:e,step:"End"}))}var bt={setTransition:vt,transitionStart:wt,transitionEnd:yt};function St(s,e,t,i,a){s===void 0&&(s=0),t===void 0&&(t=!0),typeof s=="string"&&(s=parseInt(s,10));let r=this,l=s;l<0&&(l=0);let{params:n,snapGrid:d,slidesGrid:o,previousIndex:c,activeIndex:u,rtlTranslate:m,wrapperEl:g,enabled:h}=r;if(!h&&!i&&!a||r.destroyed||r.animating&&n.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=r.params.speed);let S=Math.min(r.params.slidesPerGroupSkip,l),z=S+Math.floor((l-S)/r.params.slidesPerGroup);z>=d.length&&(z=d.length-1);let b=-d[z];if(n.normalizeSlideIndex)for(let M=0;M<o.length;M+=1){let T=-Math.floor(b*100),C=Math.floor(o[M]*100),w=Math.floor(o[M+1]*100);typeof o[M+1]<"u"?T>=C&&T<w-(w-C)/2?l=M:T>=C&&T<w&&(l=M+1):T>=C&&(l=M)}if(r.initialized&&l!==u&&(!r.allowSlideNext&&(m?b>r.translate&&b>r.minTranslate():b<r.translate&&b<r.minTranslate())||!r.allowSlidePrev&&b>r.translate&&b>r.maxTranslate()&&(u||0)!==l))return!1;l!==(c||0)&&t&&r.emit("beforeSlideChangeStart"),r.updateProgress(b);let f;l>u?f="next":l<u?f="prev":f="reset";let p=r.virtual&&r.params.virtual.enabled;if(!(p&&a)&&(m&&-b===r.translate||!m&&b===r.translate))return r.updateActiveIndex(l),n.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),n.effect!=="slide"&&r.setTranslate(b),f!=="reset"&&(r.transitionStart(t,f),r.transitionEnd(t,f)),!1;if(n.cssMode){let M=r.isHorizontal(),T=m?b:-b;if(e===0)p&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),p&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{g[M?"scrollLeft":"scrollTop"]=T})):g[M?"scrollLeft":"scrollTop"]=T,p&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1});else{if(!r.support.smoothScroll)return ue({swiper:r,targetPosition:T,side:M?"left":"top"}),!0;g.scrollTo({[M?"left":"top"]:T,behavior:"smooth"})}return!0}let E=Re().isSafari;return p&&!a&&E&&r.isElement&&r.virtual.update(!1,!1,l),r.setTransition(e),r.setTranslate(b),r.updateActiveIndex(l),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,i),r.transitionStart(t,f),e===0?r.transitionEnd(t,f):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(t,f))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0}function xt(s,e,t,i){s===void 0&&(s=0),t===void 0&&(t=!0),typeof s=="string"&&(s=parseInt(s,10));let a=this;if(a.destroyed)return;typeof e>"u"&&(e=a.params.speed);let r=a.grid&&a.params.grid&&a.params.grid.rows>1,l=s;if(a.params.loop)if(a.virtual&&a.params.virtual.enabled)l=l+a.virtual.slidesBefore;else{let n;if(r){let m=l*a.params.grid.rows;n=a.slides.find(g=>g.getAttribute("data-swiper-slide-index")*1===m).column}else n=a.getSlideIndexByData(l);let d=r?Math.ceil(a.slides.length/a.params.grid.rows):a.slides.length,{centeredSlides:o}=a.params,c=a.params.slidesPerView;c==="auto"?c=a.slidesPerViewDynamic():(c=Math.ceil(parseFloat(a.params.slidesPerView,10)),o&&c%2===0&&(c=c+1));let u=d-n<c;if(o&&(u=u||n<Math.ceil(c/2)),i&&o&&a.params.slidesPerView!=="auto"&&!r&&(u=!1),u){let m=o?n<a.activeIndex?"prev":"next":n-a.activeIndex-1<a.params.slidesPerView?"next":"prev";a.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?n+1:n-d+1,slideRealIndex:m==="next"?a.realIndex:void 0})}if(r){let m=l*a.params.grid.rows;l=a.slides.find(g=>g.getAttribute("data-swiper-slide-index")*1===m).column}else l=a.getSlideIndexByData(l)}return requestAnimationFrame(()=>{a.slideTo(l,e,t,i)}),a}function Et(s,e,t){e===void 0&&(e=!0);let i=this,{enabled:a,params:r,animating:l}=i;if(!a||i.destroyed)return i;typeof s>"u"&&(s=i.params.speed);let n=r.slidesPerGroup;r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(n=Math.max(i.slidesPerViewDynamic("current",!0),1));let d=i.activeIndex<r.slidesPerGroupSkip?1:n,o=i.virtual&&r.virtual.enabled;if(r.loop){if(l&&!o&&r.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&r.cssMode)return requestAnimationFrame(()=>{i.slideTo(i.activeIndex+d,s,e,t)}),!0}return r.rewind&&i.isEnd?i.slideTo(0,s,e,t):i.slideTo(i.activeIndex+d,s,e,t)}function Tt(s,e,t){e===void 0&&(e=!0);let i=this,{params:a,snapGrid:r,slidesGrid:l,rtlTranslate:n,enabled:d,animating:o}=i;if(!d||i.destroyed)return i;typeof s>"u"&&(s=i.params.speed);let c=i.virtual&&a.virtual.enabled;if(a.loop){if(o&&!c&&a.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}let u=n?i.translate:-i.translate;function m(f){return f<0?-Math.floor(Math.abs(f)):Math.floor(f)}let g=m(u),h=r.map(f=>m(f)),S=a.freeMode&&a.freeMode.enabled,z=r[h.indexOf(g)-1];if(typeof z>"u"&&(a.cssMode||S)){let f;r.forEach((p,v)=>{g>=p&&(f=v)}),typeof f<"u"&&(z=S?r[f]:r[f>0?f-1:f])}let b=0;if(typeof z<"u"&&(b=l.indexOf(z),b<0&&(b=i.activeIndex-1),a.slidesPerView==="auto"&&a.slidesPerGroup===1&&a.slidesPerGroupAuto&&(b=b-i.slidesPerViewDynamic("previous",!0)+1,b=Math.max(b,0))),a.rewind&&i.isBeginning){let f=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(f,s,e,t)}else if(a.loop&&i.activeIndex===0&&a.cssMode)return requestAnimationFrame(()=>{i.slideTo(b,s,e,t)}),!0;return i.slideTo(b,s,e,t)}function Mt(s,e,t){e===void 0&&(e=!0);let i=this;if(!i.destroyed)return typeof s>"u"&&(s=i.params.speed),i.slideTo(i.activeIndex,s,e,t)}function Ct(s,e,t,i){e===void 0&&(e=!0),i===void 0&&(i=.5);let a=this;if(a.destroyed)return;typeof s>"u"&&(s=a.params.speed);let r=a.activeIndex,l=Math.min(a.params.slidesPerGroupSkip,r),n=l+Math.floor((r-l)/a.params.slidesPerGroup),d=a.rtlTranslate?a.translate:-a.translate;if(d>=a.snapGrid[n]){let o=a.snapGrid[n],c=a.snapGrid[n+1];d-o>(c-o)*i&&(r+=a.params.slidesPerGroup)}else{let o=a.snapGrid[n-1],c=a.snapGrid[n];d-o<=(c-o)*i&&(r-=a.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,a.slidesGrid.length-1),a.slideTo(r,s,e,t)}function Pt(){let s=this;if(s.destroyed)return;let{params:e,slidesEl:t}=s,i=e.slidesPerView==="auto"?s.slidesPerViewDynamic():e.slidesPerView,a=s.clickedIndex,r,l=s.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(s.animating)return;r=parseInt(s.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?a<s.loopedSlides-i/2||a>s.slides.length-s.loopedSlides+i/2?(s.loopFix(),a=s.getSlideIndex(B(t,`${l}[data-swiper-slide-index="${r}"]`)[0]),j(()=>{s.slideTo(a)})):s.slideTo(a):a>s.slides.length-i?(s.loopFix(),a=s.getSlideIndex(B(t,`${l}[data-swiper-slide-index="${r}"]`)[0]),j(()=>{s.slideTo(a)})):s.slideTo(a)}else s.slideTo(a)}var Lt={slideTo:St,slideToLoop:xt,slideNext:Et,slidePrev:Tt,slideReset:Mt,slideToClosest:Ct,slideToClickedSlide:Pt};function It(s,e){let t=this,{params:i,slidesEl:a}=t;if(!i.loop||t.virtual&&t.params.virtual.enabled)return;let r=()=>{B(a,`.${i.slideClass}, swiper-slide`).forEach((m,g)=>{m.setAttribute("data-swiper-slide-index",g)})},l=t.grid&&i.grid&&i.grid.rows>1,n=i.slidesPerGroup*(l?i.grid.rows:1),d=t.slides.length%n!==0,o=l&&t.slides.length%i.grid.rows!==0,c=u=>{for(let m=0;m<u;m+=1){let g=t.isElement?V("swiper-slide",[i.slideBlankClass]):V("div",[i.slideClass,i.slideBlankClass]);t.slidesEl.append(g)}};if(d){if(i.loopAddBlankSlides){let u=n-t.slides.length%n;c(u),t.recalcSlides(),t.updateSlides()}else ie("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");r()}else if(o){if(i.loopAddBlankSlides){let u=i.grid.rows-t.slides.length%i.grid.rows;c(u),t.recalcSlides(),t.updateSlides()}else ie("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");r()}else r();t.loopFix({slideRealIndex:s,direction:i.centeredSlides?void 0:"next",initial:e})}function zt(s){let{slideRealIndex:e,slideTo:t=!0,direction:i,setTranslate:a,activeSlideIndex:r,initial:l,byController:n,byMousewheel:d}=s===void 0?{}:s,o=this;if(!o.params.loop)return;o.emit("beforeLoopFix");let{slides:c,allowSlidePrev:u,allowSlideNext:m,slidesEl:g,params:h}=o,{centeredSlides:S,initialSlide:z}=h;if(o.allowSlidePrev=!0,o.allowSlideNext=!0,o.virtual&&h.virtual.enabled){t&&(!h.centeredSlides&&o.snapIndex===0?o.slideTo(o.virtual.slides.length,0,!1,!0):h.centeredSlides&&o.snapIndex<h.slidesPerView?o.slideTo(o.virtual.slides.length+o.snapIndex,0,!1,!0):o.snapIndex===o.snapGrid.length-1&&o.slideTo(o.virtual.slidesBefore,0,!1,!0)),o.allowSlidePrev=u,o.allowSlideNext=m,o.emit("loopFix");return}let b=h.slidesPerView;b==="auto"?b=o.slidesPerViewDynamic():(b=Math.ceil(parseFloat(h.slidesPerView,10)),S&&b%2===0&&(b=b+1));let f=h.slidesPerGroupAuto?b:h.slidesPerGroup,p=f;p%f!==0&&(p+=f-p%f),p+=h.loopAdditionalSlides,o.loopedSlides=p;let v=o.grid&&h.grid&&h.grid.rows>1;c.length<b+p||o.params.effect==="cards"&&c.length<b+p*2?ie("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):v&&h.grid.fill==="row"&&ie("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");let y=[],E=[],M=v?Math.ceil(c.length/h.grid.rows):c.length,T=l&&M-z<b&&!S,C=T?z:o.activeIndex;typeof r>"u"?r=o.getSlideIndex(c.find(P=>P.classList.contains(h.slideActiveClass))):C=r;let w=i==="next"||!i,x=i==="prev"||!i,I=0,A=0,D=(v?c[r].column:r)+(S&&typeof a>"u"?-b/2+.5:0);if(D<p){I=Math.max(p-D,f);for(let P=0;P<p-D;P+=1){let G=P-Math.floor(P/M)*M;if(v){let L=M-G-1;for(let k=c.length-1;k>=0;k-=1)c[k].column===L&&y.push(k)}else y.push(M-G-1)}}else if(D+b>M-p){A=Math.max(D-(M-p*2),f),T&&(A=Math.max(A,b-M+z+1));for(let P=0;P<A;P+=1){let G=P-Math.floor(P/M)*M;v?c.forEach((L,k)=>{L.column===G&&E.push(k)}):E.push(G)}}if(o.__preventObserver__=!0,requestAnimationFrame(()=>{o.__preventObserver__=!1}),o.params.effect==="cards"&&c.length<b+p*2&&(E.includes(r)&&E.splice(E.indexOf(r),1),y.includes(r)&&y.splice(y.indexOf(r),1)),x&&y.forEach(P=>{c[P].swiperLoopMoveDOM=!0,g.prepend(c[P]),c[P].swiperLoopMoveDOM=!1}),w&&E.forEach(P=>{c[P].swiperLoopMoveDOM=!0,g.append(c[P]),c[P].swiperLoopMoveDOM=!1}),o.recalcSlides(),h.slidesPerView==="auto"?o.updateSlides():v&&(y.length>0&&x||E.length>0&&w)&&o.slides.forEach((P,G)=>{o.grid.updateSlide(G,P,o.slides)}),h.watchSlidesProgress&&o.updateSlidesOffset(),t){if(y.length>0&&x){if(typeof e>"u"){let P=o.slidesGrid[C],L=o.slidesGrid[C+I]-P;d?o.setTranslate(o.translate-L):(o.slideTo(C+Math.ceil(I),0,!1,!0),a&&(o.touchEventsData.startTranslate=o.touchEventsData.startTranslate-L,o.touchEventsData.currentTranslate=o.touchEventsData.currentTranslate-L))}else if(a){let P=v?y.length/h.grid.rows:y.length;o.slideTo(o.activeIndex+P,0,!1,!0),o.touchEventsData.currentTranslate=o.translate}}else if(E.length>0&&w)if(typeof e>"u"){let P=o.slidesGrid[C],L=o.slidesGrid[C-A]-P;d?o.setTranslate(o.translate-L):(o.slideTo(C-A,0,!1,!0),a&&(o.touchEventsData.startTranslate=o.touchEventsData.startTranslate-L,o.touchEventsData.currentTranslate=o.touchEventsData.currentTranslate-L))}else{let P=v?E.length/h.grid.rows:E.length;o.slideTo(o.activeIndex-P,0,!1,!0)}}if(o.allowSlidePrev=u,o.allowSlideNext=m,o.controller&&o.controller.control&&!n){let P={slideRealIndex:e,direction:i,setTranslate:a,activeSlideIndex:r,byController:!0};Array.isArray(o.controller.control)?o.controller.control.forEach(G=>{!G.destroyed&&G.params.loop&&G.loopFix({...P,slideTo:G.params.slidesPerView===h.slidesPerView?t:!1})}):o.controller.control instanceof o.constructor&&o.controller.control.params.loop&&o.controller.control.loopFix({...P,slideTo:o.controller.control.params.slidesPerView===h.slidesPerView?t:!1})}o.emit("loopFix")}function At(){let s=this,{params:e,slidesEl:t}=s;if(!e.loop||!t||s.virtual&&s.params.virtual.enabled)return;s.recalcSlides();let i=[];s.slides.forEach(a=>{let r=typeof a.swiperSlideIndex>"u"?a.getAttribute("data-swiper-slide-index")*1:a.swiperSlideIndex;i[r]=a}),s.slides.forEach(a=>{a.removeAttribute("data-swiper-slide-index")}),i.forEach(a=>{t.append(a)}),s.recalcSlides(),s.slideTo(s.realIndex,0)}var Ot={loopCreate:It,loopFix:zt,loopDestroy:At};function Dt(s){let e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;let t=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),t.style.cursor="move",t.style.cursor=s?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function $t(){let s=this;s.params.watchOverflow&&s.isLocked||s.params.cssMode||(s.isElement&&(s.__preventObserver__=!0),s[s.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",s.isElement&&requestAnimationFrame(()=>{s.__preventObserver__=!1}))}var kt={setGrabCursor:Dt,unsetGrabCursor:$t};function Ht(s,e){e===void 0&&(e=this);function t(i){if(!i||i===H()||i===$())return null;i.assignedSlot&&(i=i.assignedSlot);let a=i.closest(s);return!a&&!i.getRootNode?null:a||t(i.getRootNode().host)}return t(e)}function $e(s,e,t){let i=$(),{params:a}=s,r=a.edgeSwipeDetection,l=a.edgeSwipeThreshold;return r&&(t<=l||t>=i.innerWidth-l)?r==="prevent"?(e.preventDefault(),!0):!1:!0}function Gt(s){let e=this,t=H(),i=s;i.originalEvent&&(i=i.originalEvent);let a=e.touchEventsData;if(i.type==="pointerdown"){if(a.pointerId!==null&&a.pointerId!==i.pointerId)return;a.pointerId=i.pointerId}else i.type==="touchstart"&&i.targetTouches.length===1&&(a.touchId=i.targetTouches[0].identifier);if(i.type==="touchstart"){$e(e,i,i.targetTouches[0].pageX);return}let{params:r,touches:l,enabled:n}=e;if(!n||!r.simulateTouch&&i.pointerType==="mouse"||e.animating&&r.preventInteractionOnTransition)return;!e.animating&&r.cssMode&&r.loop&&e.loopFix();let d=i.target;if(r.touchEventsTarget==="wrapper"&&!ze(d,e.wrapperEl)||"which"in i&&i.which===3||"button"in i&&i.button>0||a.isTouched&&a.isMoved)return;let o=!!r.noSwipingClass&&r.noSwipingClass!=="",c=i.composedPath?i.composedPath():i.path;o&&i.target&&i.target.shadowRoot&&c&&(d=c[0]);let u=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,m=!!(i.target&&i.target.shadowRoot);if(r.noSwiping&&(m?Ht(u,d):d.closest(u))){e.allowClick=!0;return}if(r.swipeHandler&&!d.closest(r.swipeHandler))return;l.currentX=i.pageX,l.currentY=i.pageY;let g=l.currentX,h=l.currentY;if(!$e(e,i,g))return;Object.assign(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=g,l.startY=h,a.touchStartTime=U(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,r.threshold>0&&(a.allowThresholdMove=!1);let S=!0;d.matches(a.focusableElements)&&(S=!1,d.nodeName==="SELECT"&&(a.isTouched=!1)),t.activeElement&&t.activeElement.matches(a.focusableElements)&&t.activeElement!==d&&(i.pointerType==="mouse"||i.pointerType!=="mouse"&&!d.matches(a.focusableElements))&&t.activeElement.blur();let z=S&&e.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||z)&&!d.isContentEditable&&i.preventDefault(),r.freeMode&&r.freeMode.enabled&&e.freeMode&&e.animating&&!r.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",i)}function Bt(s){let e=H(),t=this,i=t.touchEventsData,{params:a,touches:r,rtlTranslate:l,enabled:n}=t;if(!n||!a.simulateTouch&&s.pointerType==="mouse")return;let d=s;if(d.originalEvent&&(d=d.originalEvent),d.type==="pointermove"&&(i.touchId!==null||d.pointerId!==i.pointerId))return;let o;if(d.type==="touchmove"){if(o=[...d.changedTouches].find(E=>E.identifier===i.touchId),!o||o.identifier!==i.touchId)return}else o=d;if(!i.isTouched){i.startMoving&&i.isScrolling&&t.emit("touchMoveOpposite",d);return}let c=o.pageX,u=o.pageY;if(d.preventedByNestedSwiper){r.startX=c,r.startY=u;return}if(!t.allowTouchMove){d.target.matches(i.focusableElements)||(t.allowClick=!1),i.isTouched&&(Object.assign(r,{startX:c,startY:u,currentX:c,currentY:u}),i.touchStartTime=U());return}if(a.touchReleaseOnEdges&&!a.loop)if(t.isVertical()){if(u<r.startY&&t.translate<=t.maxTranslate()||u>r.startY&&t.translate>=t.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else{if(l&&(c>r.startX&&-t.translate<=t.maxTranslate()||c<r.startX&&-t.translate>=t.minTranslate()))return;if(!l&&(c<r.startX&&t.translate<=t.maxTranslate()||c>r.startX&&t.translate>=t.minTranslate()))return}if(e.activeElement&&e.activeElement.matches(i.focusableElements)&&e.activeElement!==d.target&&d.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&d.target===e.activeElement&&d.target.matches(i.focusableElements)){i.isMoved=!0,t.allowClick=!1;return}i.allowTouchCallbacks&&t.emit("touchMove",d),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=c,r.currentY=u;let m=r.currentX-r.startX,g=r.currentY-r.startY;if(t.params.threshold&&Math.sqrt(m**2+g**2)<t.params.threshold)return;if(typeof i.isScrolling>"u"){let E;t.isHorizontal()&&r.currentY===r.startY||t.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:m*m+g*g>=25&&(E=Math.atan2(Math.abs(g),Math.abs(m))*180/Math.PI,i.isScrolling=t.isHorizontal()?E>a.touchAngle:90-E>a.touchAngle)}if(i.isScrolling&&t.emit("touchMoveOpposite",d),typeof i.startMoving>"u"&&(r.currentX!==r.startX||r.currentY!==r.startY)&&(i.startMoving=!0),i.isScrolling||d.type==="touchmove"&&i.preventTouchMoveFromPointerMove){i.isTouched=!1;return}if(!i.startMoving)return;t.allowClick=!1,!a.cssMode&&d.cancelable&&d.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&d.stopPropagation();let h=t.isHorizontal()?m:g,S=t.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;a.oneWayMovement&&(h=Math.abs(h)*(l?1:-1),S=Math.abs(S)*(l?1:-1)),r.diff=h,h*=a.touchRatio,l&&(h=-h,S=-S);let z=t.touchesDirection;t.swipeDirection=h>0?"prev":"next",t.touchesDirection=S>0?"prev":"next";let b=t.params.loop&&!a.cssMode,f=t.touchesDirection==="next"&&t.allowSlideNext||t.touchesDirection==="prev"&&t.allowSlidePrev;if(!i.isMoved){if(b&&f&&t.loopFix({direction:t.swipeDirection}),i.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){let E=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});t.wrapperEl.dispatchEvent(E)}i.allowMomentumBounce=!1,a.grabCursor&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",d)}let p;if(new Date().getTime(),a._loopSwapReset!==!1&&i.isMoved&&i.allowThresholdMove&&z!==t.touchesDirection&&b&&f&&Math.abs(h)>=1){Object.assign(r,{startX:c,startY:u,currentX:c,currentY:u,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,i.startTranslate=i.currentTranslate;return}t.emit("sliderMove",d),i.isMoved=!0,i.currentTranslate=h+i.startTranslate;let v=!0,y=a.resistanceRatio;if(a.touchReleaseOnEdges&&(y=0),h>0?(b&&f&&!p&&i.allowThresholdMove&&i.currentTranslate>(a.centeredSlides?t.minTranslate()-t.slidesSizesGrid[t.activeIndex+1]-(a.slidesPerView!=="auto"&&t.slides.length-a.slidesPerView>=2?t.slidesSizesGrid[t.activeIndex+1]+t.params.spaceBetween:0)-t.params.spaceBetween:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>t.minTranslate()&&(v=!1,a.resistance&&(i.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+i.startTranslate+h)**y))):h<0&&(b&&f&&!p&&i.allowThresholdMove&&i.currentTranslate<(a.centeredSlides?t.maxTranslate()+t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween+(a.slidesPerView!=="auto"&&t.slides.length-a.slidesPerView>=2?t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween:0):t.maxTranslate())&&t.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:t.slides.length-(a.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),i.currentTranslate<t.maxTranslate()&&(v=!1,a.resistance&&(i.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-i.startTranslate-h)**y))),v&&(d.preventedByNestedSwiper=!0),!t.allowSlideNext&&t.swipeDirection==="next"&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!t.allowSlidePrev&&t.swipeDirection==="prev"&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),!t.allowSlidePrev&&!t.allowSlideNext&&(i.currentTranslate=i.startTranslate),a.threshold>0)if(Math.abs(h)>a.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,r.diff=t.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY;return}}else{i.currentTranslate=i.startTranslate;return}!a.followFinger||a.cssMode||((a.freeMode&&a.freeMode.enabled&&t.freeMode||a.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(i.currentTranslate),t.setTranslate(i.currentTranslate))}function Xt(s){let e=this,t=e.touchEventsData,i=s;i.originalEvent&&(i=i.originalEvent);let a;if(i.type==="touchend"||i.type==="touchcancel"){if(a=[...i.changedTouches].find(y=>y.identifier===t.touchId),!a||a.identifier!==t.touchId)return}else{if(t.touchId!==null||i.pointerId!==t.pointerId)return;a=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)&&!(["pointercancel","contextmenu"].includes(i.type)&&(e.browser.isSafari||e.browser.isWebView)))return;t.pointerId=null,t.touchId=null;let{params:l,touches:n,rtlTranslate:d,slidesGrid:o,enabled:c}=e;if(!c||!l.simulateTouch&&i.pointerType==="mouse")return;if(t.allowTouchCallbacks&&e.emit("touchEnd",i),t.allowTouchCallbacks=!1,!t.isTouched){t.isMoved&&l.grabCursor&&e.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1;return}l.grabCursor&&t.isMoved&&t.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);let u=U(),m=u-t.touchStartTime;if(e.allowClick){let y=i.path||i.composedPath&&i.composedPath();e.updateClickedSlide(y&&y[0]||i.target,y),e.emit("tap click",i),m<300&&u-t.lastClickTime<300&&e.emit("doubleTap doubleClick",i)}if(t.lastClickTime=U(),j(()=>{e.destroyed||(e.allowClick=!0)}),!t.isTouched||!t.isMoved||!e.swipeDirection||n.diff===0&&!t.loopSwapReset||t.currentTranslate===t.startTranslate&&!t.loopSwapReset){t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;return}t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;let g;if(l.followFinger?g=d?e.translate:-e.translate:g=-t.currentTranslate,l.cssMode)return;if(l.freeMode&&l.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:g});return}let h=g>=-e.maxTranslate()&&!e.params.loop,S=0,z=e.slidesSizesGrid[0];for(let y=0;y<o.length;y+=y<l.slidesPerGroupSkip?1:l.slidesPerGroup){let E=y<l.slidesPerGroupSkip-1?1:l.slidesPerGroup;typeof o[y+E]<"u"?(h||g>=o[y]&&g<o[y+E])&&(S=y,z=o[y+E]-o[y]):(h||g>=o[y])&&(S=y,z=o[o.length-1]-o[o.length-2])}let b=null,f=null;l.rewind&&(e.isBeginning?f=l.virtual&&l.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(b=0));let p=(g-o[S])/z,v=S<l.slidesPerGroupSkip-1?1:l.slidesPerGroup;if(m>l.longSwipesMs){if(!l.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(p>=l.longSwipesRatio?e.slideTo(l.rewind&&e.isEnd?b:S+v):e.slideTo(S)),e.swipeDirection==="prev"&&(p>1-l.longSwipesRatio?e.slideTo(S+v):f!==null&&p<0&&Math.abs(p)>l.longSwipesRatio?e.slideTo(f):e.slideTo(S))}else{if(!l.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(i.target===e.navigation.nextEl||i.target===e.navigation.prevEl)?i.target===e.navigation.nextEl?e.slideTo(S+v):e.slideTo(S):(e.swipeDirection==="next"&&e.slideTo(b!==null?b:S+v),e.swipeDirection==="prev"&&e.slideTo(f!==null?f:S))}}function ke(){let s=this,{params:e,el:t}=s;if(t&&t.offsetWidth===0)return;e.breakpoints&&s.setBreakpoint();let{allowSlideNext:i,allowSlidePrev:a,snapGrid:r}=s,l=s.virtual&&s.params.virtual.enabled;s.allowSlideNext=!0,s.allowSlidePrev=!0,s.updateSize(),s.updateSlides(),s.updateSlidesClasses();let n=l&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&s.isEnd&&!s.isBeginning&&!s.params.centeredSlides&&!n?s.slideTo(s.slides.length-1,0,!1,!0):s.params.loop&&!l?s.slideToLoop(s.realIndex,0,!1,!0):s.slideTo(s.activeIndex,0,!1,!0),s.autoplay&&s.autoplay.running&&s.autoplay.paused&&(clearTimeout(s.autoplay.resizeTimeout),s.autoplay.resizeTimeout=setTimeout(()=>{s.autoplay&&s.autoplay.running&&s.autoplay.paused&&s.autoplay.resume()},500)),s.allowSlidePrev=a,s.allowSlideNext=i,s.params.watchOverflow&&r!==s.snapGrid&&s.checkOverflow()}function Rt(s){let e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&s.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(s.stopPropagation(),s.stopImmediatePropagation())))}function Yt(){let s=this,{wrapperEl:e,rtlTranslate:t,enabled:i}=s;if(!i)return;s.previousTranslate=s.translate,s.isHorizontal()?s.translate=-e.scrollLeft:s.translate=-e.scrollTop,s.translate===0&&(s.translate=0),s.updateActiveIndex(),s.updateSlidesClasses();let a,r=s.maxTranslate()-s.minTranslate();r===0?a=0:a=(s.translate-s.minTranslate())/r,a!==s.progress&&s.updateProgress(t?-s.translate:s.translate),s.emit("setTranslate",s.translate,!1)}function Vt(s){let e=this;oe(e,s.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Ft(){let s=this;s.documentTouchHandlerProceeded||(s.documentTouchHandlerProceeded=!0,s.params.touchReleaseOnEdges&&(s.el.style.touchAction="auto"))}var Ve=(s,e)=>{let t=H(),{params:i,el:a,wrapperEl:r,device:l}=s,n=!!i.nested,d=e==="on"?"addEventListener":"removeEventListener",o=e;!a||typeof a=="string"||(t[d]("touchstart",s.onDocumentTouchStart,{passive:!1,capture:n}),a[d]("touchstart",s.onTouchStart,{passive:!1}),a[d]("pointerdown",s.onTouchStart,{passive:!1}),t[d]("touchmove",s.onTouchMove,{passive:!1,capture:n}),t[d]("pointermove",s.onTouchMove,{passive:!1,capture:n}),t[d]("touchend",s.onTouchEnd,{passive:!0}),t[d]("pointerup",s.onTouchEnd,{passive:!0}),t[d]("pointercancel",s.onTouchEnd,{passive:!0}),t[d]("touchcancel",s.onTouchEnd,{passive:!0}),t[d]("pointerout",s.onTouchEnd,{passive:!0}),t[d]("pointerleave",s.onTouchEnd,{passive:!0}),t[d]("contextmenu",s.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&a[d]("click",s.onClick,!0),i.cssMode&&r[d]("scroll",s.onScroll),i.updateOnWindowResize?s[o](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",ke,!0):s[o]("observerUpdate",ke,!0),a[d]("load",s.onLoad,{capture:!0}))};function Nt(){let s=this,{params:e}=s;s.onTouchStart=Gt.bind(s),s.onTouchMove=Bt.bind(s),s.onTouchEnd=Xt.bind(s),s.onDocumentTouchStart=Ft.bind(s),e.cssMode&&(s.onScroll=Yt.bind(s)),s.onClick=Rt.bind(s),s.onLoad=Vt.bind(s),Ve(s,"on")}function Wt(){Ve(this,"off")}var _t={attachEvents:Nt,detachEvents:Wt},He=(s,e)=>s.grid&&e.grid&&e.grid.rows>1;function qt(){let s=this,{realIndex:e,initialized:t,params:i,el:a}=s,r=i.breakpoints;if(!r||r&&Object.keys(r).length===0)return;let l=H(),n=i.breakpointsBase==="window"||!i.breakpointsBase?i.breakpointsBase:"container",d=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?s.el:l.querySelector(i.breakpointsBase),o=s.getBreakpoint(r,n,d);if(!o||s.currentBreakpoint===o)return;let u=(o in r?r[o]:void 0)||s.originalParams,m=He(s,i),g=He(s,u),h=s.params.grabCursor,S=u.grabCursor,z=i.enabled;m&&!g?(a.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),s.emitContainerClasses()):!m&&g&&(a.classList.add(`${i.containerModifierClass}grid`),(u.grid.fill&&u.grid.fill==="column"||!u.grid.fill&&i.grid.fill==="column")&&a.classList.add(`${i.containerModifierClass}grid-column`),s.emitContainerClasses()),h&&!S?s.unsetGrabCursor():!h&&S&&s.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(E=>{if(typeof u[E]>"u")return;let M=i[E]&&i[E].enabled,T=u[E]&&u[E].enabled;M&&!T&&s[E].disable(),!M&&T&&s[E].enable()});let b=u.direction&&u.direction!==i.direction,f=i.loop&&(u.slidesPerView!==i.slidesPerView||b),p=i.loop;b&&t&&s.changeDirection(),R(s.params,u);let v=s.params.enabled,y=s.params.loop;Object.assign(s,{allowTouchMove:s.params.allowTouchMove,allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev}),z&&!v?s.disable():!z&&v&&s.enable(),s.currentBreakpoint=o,s.emit("_beforeBreakpoint",u),t&&(f?(s.loopDestroy(),s.loopCreate(e),s.updateSlides()):!p&&y?(s.loopCreate(e),s.updateSlides()):p&&!y&&s.loopDestroy()),s.emit("breakpoint",u)}function jt(s,e,t){if(e===void 0&&(e="window"),!s||e==="container"&&!t)return;let i=!1,a=$(),r=e==="window"?a.innerHeight:t.clientHeight,l=Object.keys(s).map(n=>{if(typeof n=="string"&&n.indexOf("@")===0){let d=parseFloat(n.substr(1));return{value:r*d,point:n}}return{value:n,point:n}});l.sort((n,d)=>parseInt(n.value,10)-parseInt(d.value,10));for(let n=0;n<l.length;n+=1){let{point:d,value:o}=l[n];e==="window"?a.matchMedia(`(min-width: ${o}px)`).matches&&(i=d):o<=t.clientWidth&&(i=d)}return i||"max"}var Ut={setBreakpoint:qt,getBreakpoint:jt};function Kt(s,e){let t=[];return s.forEach(i=>{typeof i=="object"?Object.keys(i).forEach(a=>{i[a]&&t.push(e+a)}):typeof i=="string"&&t.push(e+i)}),t}function Zt(){let s=this,{classNames:e,params:t,rtl:i,el:a,device:r}=s,l=Kt(["initialized",t.direction,{"free-mode":s.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:i},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&t.grid.fill==="column"},{android:r.android},{ios:r.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...l),a.classList.add(...e),s.emitContainerClasses()}function Qt(){let s=this,{el:e,classNames:t}=s;!e||typeof e=="string"||(e.classList.remove(...t),s.emitContainerClasses())}var Jt={addClasses:Zt,removeClasses:Qt};function es(){let s=this,{isLocked:e,params:t}=s,{slidesOffsetBefore:i}=t;if(i){let a=s.slides.length-1,r=s.slidesGrid[a]+s.slidesSizesGrid[a]+i*2;s.isLocked=s.size>r}else s.isLocked=s.snapGrid.length===1;t.allowSlideNext===!0&&(s.allowSlideNext=!s.isLocked),t.allowSlidePrev===!0&&(s.allowSlidePrev=!s.isLocked),e&&e!==s.isLocked&&(s.isEnd=!1),e!==s.isLocked&&s.emit(s.isLocked?"lock":"unlock")}var ts={checkOverflow:es},Ge={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,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 ss(s,e){return function(i){i===void 0&&(i={});let a=Object.keys(i)[0],r=i[a];if(typeof r!="object"||r===null){R(e,i);return}if(s[a]===!0&&(s[a]={enabled:!0}),a==="navigation"&&s[a]&&s[a].enabled&&!s[a].prevEl&&!s[a].nextEl&&(s[a].auto=!0),["pagination","scrollbar"].indexOf(a)>=0&&s[a]&&s[a].enabled&&!s[a].el&&(s[a].auto=!0),!(a in s&&"enabled"in r)){R(e,i);return}typeof s[a]=="object"&&!("enabled"in s[a])&&(s[a].enabled=!0),s[a]||(s[a]={enabled:!1}),R(e,i)}}var we={eventsEmitter:Je,update:ct,translate:gt,transition:bt,slide:Lt,loop:Ot,grabCursor:kt,events:_t,breakpoints:Ut,checkOverflow:ts,classes:Jt},ye={},W=class s{constructor(){let e,t;for(var i=arguments.length,a=new Array(i),r=0;r<i;r++)a[r]=arguments[r];a.length===1&&a[0].constructor&&Object.prototype.toString.call(a[0]).slice(8,-1)==="Object"?t=a[0]:[e,t]=a,t||(t={}),t=R({},t),e&&!t.el&&(t.el=e);let l=H();if(t.el&&typeof t.el=="string"&&l.querySelectorAll(t.el).length>1){let c=[];return l.querySelectorAll(t.el).forEach(u=>{let m=R({},t,{el:u});c.push(new s(m))}),c}let n=this;n.__swiper__=!0,n.support=Be(),n.device=Xe({userAgent:t.userAgent}),n.browser=Re(),n.eventsListeners={},n.eventsAnyListeners=[],n.modules=[...n.__modules__],t.modules&&Array.isArray(t.modules)&&n.modules.push(...t.modules);let d={};n.modules.forEach(c=>{c({params:t,swiper:n,extendParams:ss(t,d),on:n.on.bind(n),once:n.once.bind(n),off:n.off.bind(n),emit:n.emit.bind(n)})});let o=R({},Ge,d);return n.params=R({},o,ye,t),n.originalParams=R({},n.params),n.passedParams=R({},t),n.params&&n.params.on&&Object.keys(n.params.on).forEach(c=>{n.on(c,n.params.on[c])}),n.params&&n.params.onAny&&n.onAny(n.params.onAny),Object.assign(n,{enabled:n.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return n.params.direction==="horizontal"},isVertical(){return n.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:n.params.allowSlideNext,allowSlidePrev:n.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:n.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:n.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),n.emit("_swiper"),n.params.init&&n.init(),n}getDirectionLabel(e){return this.isHorizontal()?e:{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"}[e]}getSlideIndex(e){let{slidesEl:t,params:i}=this,a=B(t,`.${i.slideClass}, swiper-slide`),r=K(a[0]);return K(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>t.getAttribute("data-swiper-slide-index")*1===e))}recalcSlides(){let e=this,{slidesEl:t,params:i}=e;e.slides=B(t,`.${i.slideClass}, swiper-slide`)}enable(){let e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){let e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){let i=this;e=Math.min(Math.max(e,0),1);let a=i.minTranslate(),l=(i.maxTranslate()-a)*e+a;i.translateTo(l,typeof t>"u"?0:t),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=e.el.className.split(" ").filter(i=>i.indexOf("swiper")===0||i.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){let t=this;return t.destroyed?"":e.className.split(" ").filter(i=>i.indexOf("swiper-slide")===0||i.indexOf(t.params.slideClass)===0).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=[];e.slides.forEach(i=>{let a=e.getSlideClasses(i);t.push({slideEl:i,classNames:a}),e.emit("_slideClass",i,a)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){e===void 0&&(e="current"),t===void 0&&(t=!1);let i=this,{params:a,slides:r,slidesGrid:l,slidesSizesGrid:n,size:d,activeIndex:o}=i,c=1;if(typeof a.slidesPerView=="number")return a.slidesPerView;if(a.centeredSlides){let u=r[o]?Math.ceil(r[o].swiperSlideSize):0,m;for(let g=o+1;g<r.length;g+=1)r[g]&&!m&&(u+=Math.ceil(r[g].swiperSlideSize),c+=1,u>d&&(m=!0));for(let g=o-1;g>=0;g-=1)r[g]&&!m&&(u+=r[g].swiperSlideSize,c+=1,u>d&&(m=!0))}else if(e==="current")for(let u=o+1;u<r.length;u+=1)(t?l[u]+n[u]-l[o]<d:l[u]-l[o]<d)&&(c+=1);else for(let u=o-1;u>=0;u-=1)l[o]-l[u]<d&&(c+=1);return c}update(){let e=this;if(!e||e.destroyed)return;let{snapGrid:t,params:i}=e;i.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(l=>{l.complete&&oe(e,l)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function a(){let l=e.rtlTranslate?e.translate*-1:e.translate,n=Math.min(Math.max(l,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let r;if(i.freeMode&&i.freeMode.enabled&&!i.cssMode)a(),i.autoHeight&&e.updateAutoHeight();else{if((i.slidesPerView==="auto"||i.slidesPerView>1)&&e.isEnd&&!i.centeredSlides){let l=e.virtual&&i.virtual.enabled?e.virtual.slides:e.slides;r=e.slideTo(l.length-1,0,!1,!0)}else r=e.slideTo(e.activeIndex,0,!1,!0);r||a()}i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){t===void 0&&(t=!0);let i=this,a=i.params.direction;return e||(e=a==="horizontal"?"vertical":"horizontal"),e===a||e!=="horizontal"&&e!=="vertical"||(i.el.classList.remove(`${i.params.containerModifierClass}${a}`),i.el.classList.add(`${i.params.containerModifierClass}${e}`),i.emitContainerClasses(),i.params.direction=e,i.slides.forEach(r=>{e==="vertical"?r.style.width="":r.style.height=""}),i.emit("changeDirection"),t&&i.update()),i}changeLanguageDirection(e){let t=this;t.rtl&&e==="rtl"||!t.rtl&&e==="ltr"||(t.rtl=e==="rtl",t.rtlTranslate=t.params.direction==="horizontal"&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){let t=this;if(t.mounted)return!0;let i=e||t.params.el;if(typeof i=="string"&&(i=document.querySelector(i)),!i)return!1;i.swiper=t,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);let a=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,l=i&&i.shadowRoot&&i.shadowRoot.querySelector?i.shadowRoot.querySelector(a()):B(i,a())[0];return!l&&t.params.createElements&&(l=V("div",t.params.wrapperClass),i.append(l),B(i,`.${t.params.slideClass}`).forEach(n=>{l.append(n)})),Object.assign(t,{el:i,wrapperEl:l,slidesEl:t.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:l,hostEl:t.isElement?i.parentNode.host:i,mounted:!0,rtl:i.dir.toLowerCase()==="rtl"||N(i,"direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(i.dir.toLowerCase()==="rtl"||N(i,"direction")==="rtl"),wrongRTL:N(l,"display")==="-webkit-box"}),!0}init(e){let t=this;if(t.initialized||t.mount(e)===!1)return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();let a=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&a.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),a.forEach(r=>{r.complete?oe(t,r):r.addEventListener("load",l=>{oe(t,l.target)})}),be(t),t.initialized=!0,be(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){e===void 0&&(e=!0),t===void 0&&(t=!0);let i=this,{params:a,el:r,wrapperEl:l,slides:n}=i;return typeof i.params>"u"||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),a.loop&&i.loopDestroy(),t&&(i.removeClasses(),r&&typeof r!="string"&&r.removeAttribute("style"),l&&l.removeAttribute("style"),n&&n.length&&n.forEach(d=>{d.classList.remove(a.slideVisibleClass,a.slideFullyVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass),d.removeAttribute("style"),d.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(d=>{i.off(d)}),e!==!1&&(i.el&&typeof i.el!="string"&&(i.el.swiper=null),Ie(i)),i.destroyed=!0),null}static extendDefaults(e){R(ye,e)}static get extendedDefaults(){return ye}static get defaults(){return Ge}static installModule(e){s.prototype.__modules__||(s.prototype.__modules__=[]);let t=s.prototype.__modules__;typeof e=="function"&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(t=>s.installModule(t)),s):(s.installModule(e),s)}};Object.keys(we).forEach(s=>{Object.keys(we[s]).forEach(e=>{W.prototype[e]=we[s][e]})});W.use([Ze,Qe]);function de(s,e,t,i){return s.params.createElements&&Object.keys(i).forEach(a=>{if(!t[a]&&t.auto===!0){let r=B(s.el,`.${i[a]}`)[0];r||(r=V("div",i[a]),r.className=i[a],s.el.append(r)),t[a]=r,e[a]=r}}),t}function _(s){return s===void 0&&(s=""),`.${s.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Se(s){let{swiper:e,extendParams:t,on:i,emit:a}=s,r="swiper-pagination";t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:f=>f,formatFractionTotal:f=>f,bulletClass:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),e.pagination={el:null,bullets:[]};let l,n=0;function d(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function o(f,p){let{bulletActiveClass:v}=e.params.pagination;f&&(f=f[`${p==="prev"?"previous":"next"}ElementSibling`],f&&(f.classList.add(`${v}-${p}`),f=f[`${p==="prev"?"previous":"next"}ElementSibling`],f&&f.classList.add(`${v}-${p}-${p}`)))}function c(f,p,v){if(f=f%v,p=p%v,p===f+1)return"next";if(p===f-1)return"previous"}function u(f){let p=f.target.closest(_(e.params.pagination.bulletClass));if(!p)return;f.preventDefault();let v=K(p)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===v)return;let y=c(e.realIndex,v,e.slides.length);y==="next"?e.slideNext():y==="previous"?e.slidePrev():e.slideToLoop(v)}else e.slideTo(v)}function m(){let f=e.rtl,p=e.params.pagination;if(d())return;let v=e.pagination.el;v=Y(v);let y,E,M=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,T=e.params.loop?Math.ceil(M/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(E=e.previousRealIndex||0,y=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(y=e.snapIndex,E=e.previousSnapIndex):(E=e.previousIndex||0,y=e.activeIndex||0),p.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){let C=e.pagination.bullets,w,x,I;if(p.dynamicBullets&&(l=re(C[0],e.isHorizontal()?"width":"height",!0),v.forEach(A=>{A.style[e.isHorizontal()?"width":"height"]=`${l*(p.dynamicMainBullets+4)}px`}),p.dynamicMainBullets>1&&E!==void 0&&(n+=y-(E||0),n>p.dynamicMainBullets-1?n=p.dynamicMainBullets-1:n<0&&(n=0)),w=Math.max(y-n,0),x=w+(Math.min(C.length,p.dynamicMainBullets)-1),I=(x+w)/2),C.forEach(A=>{let O=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(D=>`${p.bulletActiveClass}${D}`)].map(D=>typeof D=="string"&&D.includes(" ")?D.split(" "):D).flat();A.classList.remove(...O)}),v.length>1)C.forEach(A=>{let O=K(A);O===y?A.classList.add(...p.bulletActiveClass.split(" ")):e.isElement&&A.setAttribute("part","bullet"),p.dynamicBullets&&(O>=w&&O<=x&&A.classList.add(...`${p.bulletActiveClass}-main`.split(" ")),O===w&&o(A,"prev"),O===x&&o(A,"next"))});else{let A=C[y];if(A&&A.classList.add(...p.bulletActiveClass.split(" ")),e.isElement&&C.forEach((O,D)=>{O.setAttribute("part",D===y?"bullet-active":"bullet")}),p.dynamicBullets){let O=C[w],D=C[x];for(let P=w;P<=x;P+=1)C[P]&&C[P].classList.add(...`${p.bulletActiveClass}-main`.split(" "));o(O,"prev"),o(D,"next")}}if(p.dynamicBullets){let A=Math.min(C.length,p.dynamicMainBullets+4),O=(l*A-l)/2-I*l,D=f?"right":"left";C.forEach(P=>{P.style[e.isHorizontal()?D:"top"]=`${O}px`})}}v.forEach((C,w)=>{if(p.type==="fraction"&&(C.querySelectorAll(_(p.currentClass)).forEach(x=>{x.textContent=p.formatFractionCurrent(y+1)}),C.querySelectorAll(_(p.totalClass)).forEach(x=>{x.textContent=p.formatFractionTotal(T)})),p.type==="progressbar"){let x;p.progressbarOpposite?x=e.isHorizontal()?"vertical":"horizontal":x=e.isHorizontal()?"horizontal":"vertical";let I=(y+1)/T,A=1,O=1;x==="horizontal"?A=I:O=I,C.querySelectorAll(_(p.progressbarFillClass)).forEach(D=>{D.style.transform=`translate3d(0,0,0) scaleX(${A}) scaleY(${O})`,D.style.transitionDuration=`${e.params.speed}ms`})}p.type==="custom"&&p.renderCustom?(ee(C,p.renderCustom(e,y+1,T)),w===0&&a("paginationRender",C)):(w===0&&a("paginationRender",C),a("paginationUpdate",C)),e.params.watchOverflow&&e.enabled&&C.classList[e.isLocked?"add":"remove"](p.lockClass)})}function g(){let f=e.params.pagination;if(d())return;let p=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length,v=e.pagination.el;v=Y(v);let y="";if(f.type==="bullets"){let E=e.params.loop?Math.ceil(p/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&E>p&&(E=p);for(let M=0;M<E;M+=1)f.renderBullet?y+=f.renderBullet.call(e,M,f.bulletClass):y+=`<${f.bulletElement} ${e.isElement?'part="bullet"':""} class="${f.bulletClass}"></${f.bulletElement}>`}f.type==="fraction"&&(f.renderFraction?y=f.renderFraction.call(e,f.currentClass,f.totalClass):y=`<span class="${f.currentClass}"></span> / <span class="${f.totalClass}"></span>`),f.type==="progressbar"&&(f.renderProgressbar?y=f.renderProgressbar.call(e,f.progressbarFillClass):y=`<span class="${f.progressbarFillClass}"></span>`),e.pagination.bullets=[],v.forEach(E=>{f.type!=="custom"&&ee(E,y||""),f.type==="bullets"&&e.pagination.bullets.push(...E.querySelectorAll(_(f.bulletClass)))}),f.type!=="custom"&&a("paginationRender",v[0])}function h(){e.params.pagination=de(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});let f=e.params.pagination;if(!f.el)return;let p;typeof f.el=="string"&&e.isElement&&(p=e.el.querySelector(f.el)),!p&&typeof f.el=="string"&&(p=[...document.querySelectorAll(f.el)]),p||(p=f.el),!(!p||p.length===0)&&(e.params.uniqueNavElements&&typeof f.el=="string"&&Array.isArray(p)&&p.length>1&&(p=[...e.el.querySelectorAll(f.el)],p.length>1&&(p=p.find(v=>J(v,".swiper")[0]===e.el))),Array.isArray(p)&&p.length===1&&(p=p[0]),Object.assign(e.pagination,{el:p}),p=Y(p),p.forEach(v=>{f.type==="bullets"&&f.clickable&&v.classList.add(...(f.clickableClass||"").split(" ")),v.classList.add(f.modifierClass+f.type),v.classList.add(e.isHorizontal()?f.horizontalClass:f.verticalClass),f.type==="bullets"&&f.dynamicBullets&&(v.classList.add(`${f.modifierClass}${f.type}-dynamic`),n=0,f.dynamicMainBullets<1&&(f.dynamicMainBullets=1)),f.type==="progressbar"&&f.progressbarOpposite&&v.classList.add(f.progressbarOppositeClass),f.clickable&&v.addEventListener("click",u),e.enabled||v.classList.add(f.lockClass)}))}function S(){let f=e.params.pagination;if(d())return;let p=e.pagination.el;p&&(p=Y(p),p.forEach(v=>{v.classList.remove(f.hiddenClass),v.classList.remove(f.modifierClass+f.type),v.classList.remove(e.isHorizontal()?f.horizontalClass:f.verticalClass),f.clickable&&(v.classList.remove(...(f.clickableClass||"").split(" ")),v.removeEventListener("click",u))})),e.pagination.bullets&&e.pagination.bullets.forEach(v=>v.classList.remove(...f.bulletActiveClass.split(" ")))}i("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;let f=e.params.pagination,{el:p}=e.pagination;p=Y(p),p.forEach(v=>{v.classList.remove(f.horizontalClass,f.verticalClass),v.classList.add(e.isHorizontal()?f.horizontalClass:f.verticalClass)})}),i("init",()=>{e.params.pagination.enabled===!1?b():(h(),g(),m())}),i("activeIndexChange",()=>{typeof e.snapIndex>"u"&&m()}),i("snapIndexChange",()=>{m()}),i("snapGridLengthChange",()=>{g(),m()}),i("destroy",()=>{S()}),i("enable disable",()=>{let{el:f}=e.pagination;f&&(f=Y(f),f.forEach(p=>p.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),i("lock unlock",()=>{m()}),i("click",(f,p)=>{let v=p.target,y=Y(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&y&&y.length>0&&!v.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&v===e.navigation.nextEl||e.navigation.prevEl&&v===e.navigation.prevEl))return;let E=y[0].classList.contains(e.params.pagination.hiddenClass);a(E===!0?"paginationShow":"paginationHide"),y.forEach(M=>M.classList.toggle(e.params.pagination.hiddenClass))}});let z=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:f}=e.pagination;f&&(f=Y(f),f.forEach(p=>p.classList.remove(e.params.pagination.paginationDisabledClass))),h(),g(),m()},b=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:f}=e.pagination;f&&(f=Y(f),f.forEach(p=>p.classList.add(e.params.pagination.paginationDisabledClass))),S()};Object.assign(e.pagination,{enable:z,disable:b,render:g,update:m,init:h,destroy:S})}function xe(s){let{swiper:e,extendParams:t,on:i,emit:a,params:r}=s;e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let l,n,d=r&&r.autoplay?r.autoplay.delay:3e3,o=r&&r.autoplay?r.autoplay.delay:3e3,c,u=new Date().getTime(),m,g,h,S,z,b,f;function p(L){!e||e.destroyed||!e.wrapperEl||L.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",p),!(f||L.detail&&L.detail.bySwiperTouchMove)&&w())}let v=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(o=c,m=!1);let L=e.autoplay.paused?c:u+o-new Date().getTime();e.autoplay.timeLeft=L,a("autoplayTimeLeft",L,L/d),n=requestAnimationFrame(()=>{v()})},y=()=>{let L;return e.virtual&&e.params.virtual.enabled?L=e.slides.find(X=>X.classList.contains("swiper-slide-active")):L=e.slides[e.activeIndex],L?parseInt(L.getAttribute("data-swiper-autoplay"),10):void 0},E=L=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(n),v();let k=typeof L>"u"?e.params.autoplay.delay:L;d=e.params.autoplay.delay,o=e.params.autoplay.delay;let X=y();!Number.isNaN(X)&&X>0&&typeof L>"u"&&(k=X,d=X,o=X),c=k;let q=e.params.speed,ne=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(q,!0,!0),a("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,q,!0,!0),a("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(q,!0,!0),a("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,q,!0,!0),a("autoplay")),e.params.cssMode&&(u=new Date().getTime(),requestAnimationFrame(()=>{E()})))};return k>0?(clearTimeout(l),l=setTimeout(()=>{ne()},k)):requestAnimationFrame(()=>{ne()}),k},M=()=>{u=new Date().getTime(),e.autoplay.running=!0,E(),a("autoplayStart")},T=()=>{e.autoplay.running=!1,clearTimeout(l),cancelAnimationFrame(n),a("autoplayStop")},C=(L,k)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(l),L||(b=!0);let X=()=>{a("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",p):w()};if(e.autoplay.paused=!0,k){z&&(c=e.params.autoplay.delay),z=!1,X();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-u),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),X())},w=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(u=new Date().getTime(),b?(b=!1,E(c)):E(),e.autoplay.paused=!1,a("autoplayResume"))},x=()=>{if(e.destroyed||!e.autoplay.running)return;let L=H();L.visibilityState==="hidden"&&(b=!0,C(!0)),L.visibilityState==="visible"&&w()},I=L=>{L.pointerType==="mouse"&&(b=!0,f=!0,!(e.animating||e.autoplay.paused)&&C(!0))},A=L=>{L.pointerType==="mouse"&&(f=!1,e.autoplay.paused&&w())},O=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",I),e.el.addEventListener("pointerleave",A))},D=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",I),e.el.removeEventListener("pointerleave",A))},P=()=>{H().addEventListener("visibilitychange",x)},G=()=>{H().removeEventListener("visibilitychange",x)};i("init",()=>{e.params.autoplay.enabled&&(O(),P(),M())}),i("destroy",()=>{D(),G(),e.autoplay.running&&T()}),i("_freeModeStaticRelease",()=>{(h||b)&&w()}),i("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?T():C(!0,!0)}),i("beforeTransitionStart",(L,k,X)=>{e.destroyed||!e.autoplay.running||(X||!e.params.autoplay.disableOnInteraction?C(!0,!0):T())}),i("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){T();return}g=!0,h=!1,b=!1,S=setTimeout(()=>{b=!0,h=!0,C(!0)},200)}}),i("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!g)){if(clearTimeout(S),clearTimeout(l),e.params.autoplay.disableOnInteraction){h=!1,g=!1;return}h&&e.params.cssMode&&w(),h=!1,g=!1}}),i("slideChange",()=>{e.destroyed||!e.autoplay.running||(z=!0)}),Object.assign(e.autoplay,{start:M,stop:T,pause:C,resume:w})}function Z(s){let{effect:e,swiper:t,on:i,setTranslate:a,setTransition:r,overwriteParams:l,perspective:n,recreateShadows:d,getEffectParams:o}=s;i("beforeInit",()=>{if(t.params.effect!==e)return;t.classNames.push(`${t.params.containerModifierClass}${e}`),n&&n()&&t.classNames.push(`${t.params.containerModifierClass}3d`);let u=l?l():{};Object.assign(t.params,u),Object.assign(t.originalParams,u)}),i("setTranslate _virtualUpdated",()=>{t.params.effect===e&&a()}),i("setTransition",(u,m)=>{t.params.effect===e&&r(m)}),i("transitionEnd",()=>{if(t.params.effect===e&&d){if(!o||!o().slideShadows)return;t.slides.forEach(u=>{u.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(m=>m.remove())}),d()}});let c;i("virtualUpdate",()=>{t.params.effect===e&&(t.slides.length||(c=!0),requestAnimationFrame(()=>{c&&t.slides&&t.slides.length&&(a(),c=!1)}))})}function te(s,e){let t=F(e);return t!==e&&(t.style.backfaceVisibility="hidden",t.style["-webkit-backface-visibility"]="hidden"),t}function ae(s){let{swiper:e,duration:t,transformElements:i,allSlides:a}=s,{activeIndex:r}=e,l=n=>n.parentElement?n.parentElement:e.slides.find(o=>o.shadowRoot&&o.shadowRoot===n.parentNode);if(e.params.virtualTranslate&&t!==0){let n=!1,d;a?d=i:d=i.filter(o=>{let c=o.classList.contains("swiper-slide-transform")?l(o):o;return e.getSlideIndex(c)===r}),d.forEach(o=>{le(o,()=>{if(n||!e||e.destroyed)return;n=!0,e.animating=!1;let c=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(c)})})}}function Ee(s){let{swiper:e,extendParams:t,on:i}=s;t({fadeEffect:{crossFade:!1}}),Z({effect:"fade",swiper:e,on:i,setTranslate:()=>{let{slides:l}=e,n=e.params.fadeEffect;for(let d=0;d<l.length;d+=1){let o=e.slides[d],u=-o.swiperSlideOffset;e.params.virtualTranslate||(u-=e.translate);let m=0;e.isHorizontal()||(m=u,u=0);let g=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(o.progress),0):1+Math.min(Math.max(o.progress,-1),0),h=te(n,o);h.style.opacity=g,h.style.transform=`translate3d(${u}px, ${m}px, 0px)`}},setTransition:l=>{let n=e.slides.map(d=>F(d));n.forEach(d=>{d.style.transitionDuration=`${l}ms`}),ae({swiper:e,duration:l,transformElements:n,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}document.addEventListener("DOMContentLoaded",()=>{let s={modules:[xe,Ee,Se],slidesPerView:1,spaceBetween:0,effect:"fade",fadeEffect:{crossFade:!0},autoplay:{delay:2e3,disableOnInteraction:!1,pauseOnMouseEnter:!0},loop:!0,speed:1e3,pagination:{el:".announcement-pagination",clickable:!0},on:{init:function(){if(this.slides.length<=1){let t=document.querySelector(".announcement-pagination");t&&(t.style.display="none"),this.autoplay.stop()}}}},e=new W(".announcement-slider",s)});})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(()=>{document.addEventListener("contextmenu",t=>{let n=t.target;if(n?.hasAttribute("asset-menu")&&n.getAttribute("asset-menu")==="trigger"){t.preventDefault();let e=document.querySelector('[asset-menu="target"]');e&&(e.style.display="block")}});document.addEventListener("click",t=>{let n=t.target,e=document.querySelector('[asset-menu="target"]');e&&!e.contains(n)&&(e.style.display="none")});})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{function vt(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function Bi(o,t){o.prototype=Object.create(t.prototype),o.prototype.constructor=o,o.__proto__=t}var it={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Wt={duration:.5,overwrite:!1,delay:0},ii,W,R,lt=1e8,C=1/lt,Xe=Math.PI*2,qr=Xe/4,Yr=0,Vi=Math.sqrt,Xr=Math.cos,Wr=Math.sin,H=function(t){return typeof t=="string"},F=function(t){return typeof t=="function"},xt=function(t){return typeof t=="number"},Pe=function(t){return typeof t>"u"},mt=function(t){return typeof t=="object"},et=function(t){return t!==!1},ri=function(){return typeof window<"u"},ve=function(t){return F(t)||H(t)},Hi=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Q=Array.isArray,We=/(?:-?\.?\d|\.)+/gi,ni=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Nt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Ie=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,si=/[+-]=-?[.\d]+/,Ui=/[^,'"\[\]\s]+/gi,Gr=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,L,dt,Ge,ai,at={},we={},qi,Yi=function(t){return(we=Gt(t,at))&&$},Ce=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},le=function(t,e){return!e&&console.warn(t)},Xi=function(t,e){return t&&(at[t]=e)&&we&&(we[t]=e)||at},fe=function(){return 0},Qr={suppressEvents:!0,isStart:!0,kill:!1},Te={suppressEvents:!0,kill:!1},$r={suppressEvents:!0},oi={},St=[],Qe={},Wi,J={},Be={},Ai=30,xe=[],ui="",li=function(t){var e=t[0],i,r;if(mt(e)||F(e)||(t=[t]),!(i=(e._gsap||{}).harness)){for(r=xe.length;r--&&!xe[r].targetTest(e););i=xe[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new ci(t[r],i)))||t.splice(r,1);return t},Mt=function(t){return t._gsap||li(ft(t))[0]._gsap},fi=function(t,e,i){return(i=t[e])&&F(i)?t[e]():Pe(i)&&t.getAttribute&&t.getAttribute(e)||i},K=function(t,e){return(t=t.split(",")).forEach(e)||t},N=function(t){return Math.round(t*1e5)/1e5||0},V=function(t){return Math.round(t*1e7)/1e7||0},It=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},Kr=function(t,e){for(var i=e.length,r=0;t.indexOf(e[r])<0&&++r<i;);return r<i},ke=function(){var t=St.length,e=St.slice(0),i,r;for(Qe={},St.length=0,i=0;i<t;i++)r=e[i],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},hi=function(t){return!!(t._initted||t._startAt||t.add)},Gi=function(t,e,i,r){St.length&&!W&&ke(),t.render(e,i,r||!!(W&&e<0&&hi(t))),St.length&&!W&&ke()},Qi=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(Ui).length<2?e:H(t)?t.trim():t},$i=function(t){return t},ot=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},Zr=function(t){return function(e,i){for(var r in i)r in e||r==="duration"&&t||r==="ease"||(e[r]=i[r])}},Gt=function(t,e){for(var i in e)t[i]=e[i];return t},Ri=function o(t,e){for(var i in e)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(t[i]=mt(e[i])?o(t[i]||(t[i]={}),e[i]):e[i]);return t},Se=function(t,e){var i={},r;for(r in t)r in e||(i[r]=t[r]);return i},ae=function(t){var e=t.parent||L,i=t.keyframes?Zr(Q(t.keyframes)):ot;if(et(t.inherit))for(;e;)i(t,e.vars.defaults),e=e.parent||e._dp;return t},jr=function(t,e){for(var i=t.length,r=i===e.length;r&&i--&&t[i]===e[i];);return i<0},Ki=function(t,e,i,r,n){i===void 0&&(i="_first"),r===void 0&&(r="_last");var s=t[r],a;if(n)for(a=e[n];s&&s[n]>a;)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},Ee=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},Ot=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},Jr=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},$e=function(t,e,i,r){return t._startAt&&(W?t._startAt.revert(Te):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},tn=function o(t){return!t||t._ts&&o(t.parent)},Li=function(t){return t._repeat?Qt(t._tTime,t=t.duration()+t._rDelay)*t:0},Qt=function(t,e){var i=Math.floor(t=V(t/e));return t&&i===t?i-1:i},Me=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},De=function(t){return t._end=V(t._start+(t._tDur/Math.abs(t._ts||t._rts||C)||0))},Ae=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=V(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),De(t),i._dirty||Lt(i,t)),t},Zi=function(t,e){var i;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(i=Me(t.rawTime(),e),(!e._dur||ce(0,e.totalDuration(),i)-e._tTime>C)&&e.render(i,!0)),Lt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(i=t;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;t._zTime=-C}},pt=function(t,e,i,r){return e.parent&&Ot(e),e._start=V((xt(i)?i:i||t!==L?ut(t,i,e):t._time)+e._delay),e._end=V(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Ki(t,e,"_first","_last",t._sort?"_start":0),Ke(e)||(t._recent=e),r||Zi(t,e),t._ts<0&&Ae(t,t._tTime),t},ji=function(t,e){return(at.ScrollTrigger||Ce("scrollTrigger",e))&&at.ScrollTrigger.create(e,t)},Ji=function(t,e,i,r,n){if(mi(t,e,n),!t._initted)return 1;if(!i&&t._pt&&!W&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&Wi!==tt.frame)return St.push(t),t._lazy=[n,r],1},en=function o(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||o(e))},Ke=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},rn=function(t,e,i,r){var n=t.ratio,s=e<0||!e&&(!t._start&&en(t)&&!(!t._initted&&Ke(t))||(t._ts<0||t._dp._ts<0)&&!Ke(t))?0:1,a=t._rDelay,u=0,l,f,_;if(a&&t._repeat&&(u=ce(0,t._tDur,e),f=Qt(u,a),t._yoyo&&f&1&&(s=1-s),f!==Qt(t._tTime,a)&&(n=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==n||W||r||t._zTime===C||!e&&t._zTime){if(!t._initted&&Ji(t,e,r,i,u))return;for(_=t._zTime,t._zTime=e||(i?C:0),i||(i=e&&!_),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=u,l=t._pt;l;)l.r(s,l.d),l=l._next;e<0&&$e(t,e,i,!0),t._onUpdate&&!i&&st(t,"onUpdate"),u&&t._repeat&&!i&&t.parent&&st(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(s&&Ot(t,1),!i&&!W&&(st(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},nn=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._start<e)return r;r=r._prev}},$t=function(t,e,i,r){var n=t._repeat,s=V(e)||0,a=t._tTime/t._tDur;return a&&!r&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:V(s*(n+1)+t._rDelay*n):s,a>0&&!r&&Ae(t,t._tTime=t._tDur*a),t.parent&&De(t),i||Lt(t.parent,t),t},zi=function(t){return t instanceof X?Lt(t):$t(t,t._dur)},sn={_start:0,endTime:fe,totalDuration:fe},ut=function o(t,e,i){var r=t.labels,n=t._recent||sn,s=t.duration()>=lt?n.endTime(!1):t._dur,a,u,l;return H(e)&&(isNaN(e)||e in r)?(u=e.charAt(0),l=e.substr(-1)==="%",a=e.indexOf("="),u==="<"||u===">"?(a>=0&&(e=e.replace(/=/,"")),(u==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(e.substr(1))||0)*(l?(a<0?n:i).totalDuration()/100:1)):a<0?(e in r||(r[e]=s),r[e]):(u=parseFloat(e.charAt(a-1)+e.substr(a+1)),l&&i&&(u=u/100*(Q(i)?i[0]:i).totalDuration()),a>1?o(t,e.substr(0,a-1),i)+u:s+u)):e==null?s:+e},oe=function(t,e,i){var r=xt(e[1]),n=(r?2:1)+(t<2?0:1),s=e[n],a,u;if(r&&(s.duration=e[1]),s.parent=i,t){for(a=s,u=i;u&&!("immediateRender"in a);)a=u.vars.defaults||{},u=et(u.vars.inherit)&&u.parent;s.immediateRender=et(a.immediateRender),t<2?s.runBackwards=1:s.startAt=e[n-1]}return new I(e[0],s,e[n+1])},Pt=function(t,e){return t||t===0?e(t):e},ce=function(t,e,i){return i<t?t:i>e?e:i},G=function(t,e){return!H(t)||!(e=Gr.exec(t))?"":e[1]},an=function(t,e,i){return Pt(i,function(r){return ce(t,e,r)})},Ze=[].slice,tr=function(t,e){return t&&mt(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&mt(t[0]))&&!t.nodeType&&t!==dt},on=function(t,e,i){return i===void 0&&(i=[]),t.forEach(function(r){var n;return H(r)&&!e||tr(r,1)?(n=i).push.apply(n,ft(r)):i.push(r)})||i},ft=function(t,e,i){return R&&!e&&R.selector?R.selector(t):H(t)&&!i&&(Ge||!Kt())?Ze.call((e||ai).querySelectorAll(t),0):Q(t)?on(t,i):tr(t)?Ze.call(t,0):t?[t]:[]},je=function(t){return t=ft(t)[0]||le("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return ft(e,i.querySelectorAll?i:i===t?le("Invalid scope")||ai.createElement("div"):t)}},er=function(t){return t.sort(function(){return .5-Math.random()})},ir=function(t){if(F(t))return t;var e=mt(t)?t:{each:t},i=zt(e.ease),r=e.from||0,n=parseFloat(e.base)||0,s={},a=r>0&&r<1,u=isNaN(r)||a,l=e.axis,f=r,_=r;return H(r)?f=_={center:.5,edges:.5,end:1}[r]||0:!a&&u&&(f=r[0],_=r[1]),function(c,d,p){var h=(p||e).length,m=s[h],y,v,T,x,g,w,k,S,b;if(!m){if(b=e.grid==="auto"?0:(e.grid||[1,lt])[1],!b){for(k=-lt;k<(k=p[b++].getBoundingClientRect().left)&&b<h;);b<h&&b--}for(m=s[h]=[],y=u?Math.min(b,h)*f-.5:r%b,v=b===lt?0:u?h*_/b-.5:r/b|0,k=0,S=lt,w=0;w<h;w++)T=w%b-y,x=v-(w/b|0),m[w]=g=l?Math.abs(l==="y"?x:T):Vi(T*T+x*x),g>k&&(k=g),g<S&&(S=g);r==="random"&&er(m),m.max=k-S,m.min=S,m.v=h=(parseFloat(e.amount)||parseFloat(e.each)*(b>h?h-1:l?l==="y"?h/b:b:Math.max(b,h/b))||0)*(r==="edges"?-1:1),m.b=h<0?n-h:n,m.u=G(e.amount||e.each)||0,i=i&&h<0?hr(i):i}return h=(m[c]-m.min)/m.max||0,V(m.b+(i?i(h):h)*m.v)+m.u}},Je=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var r=V(Math.round(parseFloat(i)/t)*t*e);return(r-r%1)/e+(xt(i)?0:G(i))}},rr=function(t,e){var i=Q(t),r,n;return!i&&mt(t)&&(r=i=t.radius||lt,t.values?(t=ft(t.values),(n=!xt(t[0]))&&(r*=r)):t=Je(t.increment)),Pt(e,i?F(t)?function(s){return n=t(s),Math.abs(n-s)<=r?n:s}:function(s){for(var a=parseFloat(n?s.x:s),u=parseFloat(n?s.y:0),l=lt,f=0,_=t.length,c,d;_--;)n?(c=t[_].x-a,d=t[_].y-u,c=c*c+d*d):c=Math.abs(t[_]-a),c<l&&(l=c,f=_);return f=!r||l<=r?t[f]:s,n||f===s||xt(s)?f:f+G(s)}:Je(t))},nr=function(t,e,i,r){return Pt(Q(t)?!e:i===!0?!!(i=0):!r,function(){return Q(t)?t[~~(Math.random()*t.length)]:(i=i||1e-5)&&(r=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((t-i/2+Math.random()*(e-t+i*.99))/i)*i*r)/r})},un=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(r){return e.reduce(function(n,s){return s(n)},r)}},ln=function(t,e){return function(i){return t(parseFloat(i))+(e||G(i))}},fn=function(t,e,i){return ar(t,e,0,1,i)},sr=function(t,e,i){return Pt(i,function(r){return t[~~e(r)]})},hn=function o(t,e,i){var r=e-t;return Q(t)?sr(t,o(0,t.length),e):Pt(i,function(n){return(r+(n-t)%r)%r+t})},_n=function o(t,e,i){var r=e-t,n=r*2;return Q(t)?sr(t,o(0,t.length-1),e):Pt(i,function(s){return s=(n+(s-t)%n)%n||0,t+(s>r?n-s:s)})},Zt=function(t){for(var e=0,i="",r,n,s,a;~(r=t.indexOf("random(",e));)s=t.indexOf(")",r),a=t.charAt(r+7)==="[",n=t.substr(r+7,s-r-7).match(a?Ui:We),i+=t.substr(e,r-e)+nr(a?n:+n[0],a?0:+n[1],+n[2]||1e-5),e=s+1;return i+t.substr(e,t.length-e)},ar=function(t,e,i,r,n){var s=e-t,a=r-i;return Pt(n,function(u){return i+((u-t)/s*a||0)})},cn=function o(t,e,i,r){var n=isNaN(t+e)?0:function(d){return(1-d)*t+d*e};if(!n){var s=H(t),a={},u,l,f,_,c;if(i===!0&&(r=1)&&(i=null),s)t={p:t},e={p:e};else if(Q(t)&&!Q(e)){for(f=[],_=t.length,c=_-2,l=1;l<_;l++)f.push(o(t[l-1],t[l]));_--,n=function(p){p*=_;var h=Math.min(c,~~p);return f[h](p-h)},i=e}else r||(t=Gt(Q(t)?[]:{},t));if(!f){for(u in e)di.call(a,t,u,"get",e[u]);n=function(p){return vi(p,a)||(s?t.p:t)}}}return Pt(i,n)},Fi=function(t,e,i){var r=t.labels,n=lt,s,a,u;for(s in r)a=r[s]-e,a<0==!!i&&a&&n>(a=Math.abs(a))&&(u=s,n=a);return u},st=function(t,e,i){var r=t.vars,n=r[e],s=R,a=t._ctx,u,l,f;if(n)return u=r[e+"Params"],l=r.callbackScope||t,i&&St.length&&ke(),a&&(R=a),f=u?n.apply(l,u):n.call(l),R=s,f},ne=function(t){return Ot(t),t.scrollTrigger&&t.scrollTrigger.kill(!!W),t.progress()<1&&st(t,"onInterrupt"),t},Xt,or=[],ur=function(t){if(t)if(t=!t.name&&t.default||t,ri()||t.headless){var e=t.name,i=F(t),r=e&&!i&&t.init?function(){this._props=[]}:t,n={init:fe,render:vi,add:di,kill:Cn,modifier:Pn,rawVars:0},s={targetTest:0,get:0,getSetter:Re,aliases:{},register:0};if(Kt(),t!==r){if(J[e])return;ot(r,ot(Se(t,n),s)),Gt(r.prototype,Gt(n,Se(t,s))),J[r.prop=e]=r,t.targetTest&&(xe.push(r),oi[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}Xi(e,r),t.register&&t.register($,r,Z)}else or.push(t)},P=255,se={aqua:[0,P,P],lime:[0,P,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,P],navy:[0,0,128],white:[P,P,P],olive:[128,128,0],yellow:[P,P,0],orange:[P,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[P,0,0],pink:[P,192,203],cyan:[0,P,P],transparent:[P,P,P,0]},Ve=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)*P+.5|0},lr=function(t,e,i){var r=t?xt(t)?[t>>16,t>>8&P,t&P]:0:se.black,n,s,a,u,l,f,_,c,d,p;if(!r){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),se[t])r=se[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&P,r&P,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),r=[t>>16,t>>8&P,t&P]}else if(t.substr(0,3)==="hsl"){if(r=p=t.match(We),!e)u=+r[0]%360/360,l=+r[1]/100,f=+r[2]/100,s=f<=.5?f*(l+1):f+l-f*l,n=f*2-s,r.length>3&&(r[3]*=1),r[0]=Ve(u+1/3,n,s),r[1]=Ve(u,n,s),r[2]=Ve(u-1/3,n,s);else if(~t.indexOf("="))return r=t.match(ni),i&&r.length<4&&(r[3]=1),r}else r=t.match(We)||se.transparent;r=r.map(Number)}return e&&!p&&(n=r[0]/P,s=r[1]/P,a=r[2]/P,_=Math.max(n,s,a),c=Math.min(n,s,a),f=(_+c)/2,_===c?u=l=0:(d=_-c,l=f>.5?d/(2-_-c):d/(_+c),u=_===n?(s-a)/d+(s<a?6:0):_===s?(a-n)/d+2:(n-s)/d+4,u*=60),r[0]=~~(u+.5),r[1]=~~(l*100+.5),r[2]=~~(f*100+.5)),i&&r.length<4&&(r[3]=1),r},fr=function(t){var e=[],i=[],r=-1;return t.split(Tt).forEach(function(n){var s=n.match(Nt)||[];e.push.apply(e,s),i.push(r+=s.length+1)}),e.c=i,e},Ni=function(t,e,i){var r="",n=(t+r).match(Tt),s=e?"hsla(":"rgba(",a=0,u,l,f,_;if(!n)return t;if(n=n.map(function(c){return(c=lr(c,e,1))&&s+(e?c[0]+","+c[1]+"%,"+c[2]+"%,"+c[3]:c.join(","))+")"}),i&&(f=fr(t),u=i.c,u.join(r)!==f.c.join(r)))for(l=t.replace(Tt,"1").split(Nt),_=l.length-1;a<_;a++)r+=l[a]+(~u.indexOf(a)?n.shift()||s+"0,0,0,0)":(f.length?f:n.length?n:i).shift());if(!l)for(l=t.split(Tt),_=l.length-1;a<_;a++)r+=l[a]+n[a];return r+l[_]},Tt=function(){var o="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in se)o+="|"+t+"\\b";return new RegExp(o+")","gi")}(),dn=/hsl[a]?\(/,_i=function(t){var e=t.join(" "),i;if(Tt.lastIndex=0,Tt.test(e))return i=dn.test(e),t[1]=Ni(t[1],i),t[0]=Ni(t[0],i,fr(t[1])),!0},he,tt=function(){var o=Date.now,t=500,e=33,i=o(),r=i,n=1e3/240,s=n,a=[],u,l,f,_,c,d,p=function h(m){var y=o()-r,v=m===!0,T,x,g,w;if((y>t||y<0)&&(i+=y-e),r+=y,g=r-i,T=g-s,(T>0||v)&&(w=++_.frame,c=g-_.time*1e3,_.time=g=g/1e3,s+=T+(T>=n?4:n-T),x=1),v||(u=l(h)),x)for(d=0;d<a.length;d++)a[d](g,c,w,m)};return _={time:0,frame:0,tick:function(){p(!0)},deltaRatio:function(m){return c/(1e3/(m||60))},wake:function(){qi&&(!Ge&&ri()&&(dt=Ge=window,ai=dt.document||{},at.gsap=$,(dt.gsapVersions||(dt.gsapVersions=[])).push($.version),Yi(we||dt.GreenSockGlobals||!dt.gsap&&dt||{}),or.forEach(ur)),f=typeof requestAnimationFrame<"u"&&requestAnimationFrame,u&&_.sleep(),l=f||function(m){return setTimeout(m,s-_.time*1e3+1|0)},he=1,p(2))},sleep:function(){(f?cancelAnimationFrame:clearTimeout)(u),he=0,l=fe},lagSmoothing:function(m,y){t=m||1/0,e=Math.min(y||33,t)},fps:function(m){n=1e3/(m||240),s=_.time*1e3+n},add:function(m,y,v){var T=y?function(x,g,w,k){m(x,g,w,k),_.remove(T)}:m;return _.remove(m),a[v?"unshift":"push"](T),Kt(),T},remove:function(m,y){~(y=a.indexOf(m))&&a.splice(y,1)&&d>=y&&d--},_listeners:a},_}(),Kt=function(){return!he&&tt.wake()},M={},pn=/^[\d.\-M][\d.\-,\s]/,mn=/["']/g,gn=function(t){for(var e={},i=t.substr(1,t.length-3).split(":"),r=i[0],n=1,s=i.length,a,u,l;n<s;n++)u=i[n],a=n!==s-1?u.lastIndexOf(","):u.length,l=u.substr(0,a),e[r]=isNaN(l)?l.replace(mn,"").trim():+l,r=u.substr(a+1).trim();return e},yn=function(t){var e=t.indexOf("(")+1,i=t.indexOf(")"),r=t.indexOf("(",e);return t.substring(e,~r&&r<i?t.indexOf(")",i+1):i)},vn=function(t){var e=(t+"").split("("),i=M[e[0]];return i&&e.length>1&&i.config?i.config.apply(null,~t.indexOf("{")?[gn(e[1])]:yn(t).split(",").map(Qi)):M._CE&&pn.test(t)?M._CE("",t):i},hr=function(t){return function(e){return 1-t(1-e)}},_r=function o(t,e){for(var i=t._first,r;i;)i instanceof X?o(i,e):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==e&&(i.timeline?o(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next},zt=function(t,e){return t&&(F(t)?t:M[t]||vn(t))||e},Bt=function(t,e,i,r){i===void 0&&(i=function(u){return 1-e(1-u)}),r===void 0&&(r=function(u){return u<.5?e(u*2)/2:1-e((1-u)*2)/2});var n={easeIn:e,easeOut:i,easeInOut:r},s;return K(t,function(a){M[a]=at[a]=n,M[s=a.toLowerCase()]=i;for(var u in n)M[s+(u==="easeIn"?".in":u==="easeOut"?".out":".inOut")]=M[a+"."+u]=n[u]}),n},cr=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},He=function o(t,e,i){var r=e>=1?e:1,n=(i||(t?.3:.45))/(e<1?e:1),s=n/Xe*(Math.asin(1/r)||0),a=function(f){return f===1?1:r*Math.pow(2,-10*f)*Wr((f-s)*n)+1},u=t==="out"?a:t==="in"?function(l){return 1-a(1-l)}:cr(a);return n=Xe/n,u.config=function(l,f){return o(t,l,f)},u},Ue=function o(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)}:cr(i);return r.config=function(n){return o(t,n)},r};K("Linear,Quad,Cubic,Quart,Quint,Strong",function(o,t){var e=t<5?t+1:t;Bt(o+",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})});M.Linear.easeNone=M.none=M.Linear.easeIn;Bt("Elastic",He("in"),He("out"),He());(function(o,t){var e=1/t,i=2*e,r=2.5*e,n=function(a){return a<e?o*a*a:a<i?o*Math.pow(a-1.5/t,2)+.75:a<r?o*(a-=2.25/t)*a+.9375:o*Math.pow(a-2.625/t,2)+.984375};Bt("Bounce",function(s){return 1-n(1-s)},n)})(7.5625,2.75);Bt("Expo",function(o){return Math.pow(2,10*(o-1))*o+o*o*o*o*o*o*(1-o)});Bt("Circ",function(o){return-(Vi(1-o*o)-1)});Bt("Sine",function(o){return o===1?1:-Xr(o*qr)+1});Bt("Back",Ue("in"),Ue("out"),Ue());M.SteppedEase=M.steps=at.SteppedEase={config:function(t,e){t===void 0&&(t=1);var i=1/t,r=t+(e?0:1),n=e?1:0,s=1-C;return function(a){return((r*ce(0,s,a)|0)+n)*i}}};Wt.ease=M["quad.out"];K("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(o){return ui+=o+","+o+"Params,"});var ci=function(t,e){this.id=Yr++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:fi,this.set=e?e.getSetter:Re},_e=function(){function o(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,$t(this,+e.duration,1,1),this.data=e.data,R&&(this._ctx=R,R.data.push(this)),he||tt.wake()}var t=o.prototype;return t.delay=function(i){return i||i===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+i-this._delay),this._delay=i,this):this._delay},t.duration=function(i){return arguments.length?this.totalDuration(this._repeat>0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},t.totalDuration=function(i){return arguments.length?(this._dirty=0,$t(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(i,r){if(Kt(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Ae(this,i),!n._dp||n.parent||Zi(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&&i<this._tDur||this._ts<0&&i>0||!this._tDur&&!i)&&pt(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===C||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),Gi(this,i,r)),this},t.time=function(i,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+Li(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)+Li(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?Qt(this._tTime,n)+1:1},t.timeScale=function(i,r){if(!arguments.length)return this._rts===-C?0:this._rts;if(this._rts===i)return this;var n=this.parent&&this._ts?Me(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-C?0:this._rts,this.totalTime(ce(-Math.abs(this._delay),this.totalDuration(),n),r!==!1),De(this),Jr(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):(Kt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==C&&(this._tTime-=C)))),this):this._ps},t.startTime=function(i){if(arguments.length){this._start=i;var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&&pt(r,this,i-this._delay),this}return this._start},t.endTime=function(i){return this._start+(et(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?Me(r.rawTime(i),this):this._tTime:this._tTime},t.revert=function(i){i===void 0&&(i=$r);var r=W;return W=i,hi(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,zi(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(i){if(arguments.length){var r=this._time;return this._rDelay=i,zi(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(ut(this,i),et(r))},t.restart=function(i,r){return this.play().totalTime(i?-this._delay:0,et(r)),this._dur||(this._zTime=-C),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?-C:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-C,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&&n<this.endTime(!0)-C)},t.eventCallback=function(i,r,n){var s=this.vars;return arguments.length>1?(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;return new Promise(function(n){var s=F(i)?i:$i,a=function(){var l=r.then;r.then=null,F(s)&&(s=s(r))&&(s.then||s===r)&&(r.then=l),n(s),r.then=l};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?a():r._prom=a})},t.kill=function(){ne(this)},o}();ot(_e.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:-C,_prom:0,_ps:!1,_rts:1});var X=function(o){Bi(t,o);function t(i,r){var n;return i===void 0&&(i={}),n=o.call(this,i)||this,n.labels={},n.smoothChildTiming=!!i.smoothChildTiming,n.autoRemoveChildren=!!i.autoRemoveChildren,n._sort=et(i.sortChildren),L&&pt(i.parent||L,vt(n),r),i.reversed&&n.reverse(),i.paused&&n.paused(!0),i.scrollTrigger&&ji(vt(n),i.scrollTrigger),n}var e=t.prototype;return e.to=function(r,n,s){return oe(0,arguments,this),this},e.from=function(r,n,s){return oe(1,arguments,this),this},e.fromTo=function(r,n,s,a){return oe(2,arguments,this),this},e.set=function(r,n,s){return n.duration=0,n.parent=this,ae(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new I(r,n,ut(this,s),1),this},e.call=function(r,n,s){return pt(this,I.delayedCall(0,r,n),s)},e.staggerTo=function(r,n,s,a,u,l,f){return s.duration=n,s.stagger=s.stagger||a,s.onComplete=l,s.onCompleteParams=f,s.parent=this,new I(r,s,ut(this,u)),this},e.staggerFrom=function(r,n,s,a,u,l,f){return s.runBackwards=1,ae(s).immediateRender=et(s.immediateRender),this.staggerTo(r,n,s,a,u,l,f)},e.staggerFromTo=function(r,n,s,a,u,l,f,_){return a.startAt=s,ae(a).immediateRender=et(a.immediateRender),this.staggerTo(r,n,a,u,l,f,_)},e.render=function(r,n,s){var a=this._time,u=this._dirty?this.totalDuration():this._tDur,l=this._dur,f=r<=0?0:V(r),_=this._zTime<0!=r<0&&(this._initted||!l),c,d,p,h,m,y,v,T,x,g,w,k;if(this!==L&&f>u&&r>=0&&(f=u),f!==this._tTime||s||_){if(a!==this._time&&l&&(f+=this._time-a,r+=this._time-a),c=f,x=this._start,T=this._ts,y=!T,_&&(l||(a=this._zTime),(r||!n)&&(this._zTime=r)),this._repeat){if(w=this._yoyo,m=l+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(m*100+r,n,s);if(c=V(f%m),f===u?(h=this._repeat,c=l):(g=V(f/m),h=~~g,h&&h===g&&(c=l,h--),c>l&&(c=l)),g=Qt(this._tTime,m),!a&&this._tTime&&g!==h&&this._tTime-g*m-this._dur<=0&&(g=h),w&&h&1&&(c=l-c,k=1),h!==g&&!this._lock){var S=w&&g&1,b=S===(w&&h&1);if(h<g&&(S=!S),a=S?0:f%l?l:f,this._lock=1,this.render(a||(k?0:V(h*m)),n,!l)._lock=0,this._tTime=f,!n&&this.parent&&st(this,"onRepeat"),this.vars.repeatRefresh&&!k&&(this.invalidate()._lock=1),a&&a!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(l=this._dur,u=this._tDur,b&&(this._lock=2,a=S?l:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!k&&this.invalidate()),this._lock=0,!this._ts&&!y)return this;_r(this,k)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=nn(this,V(a),V(c)),v&&(f-=c-(c=v._start))),this._tTime=f,this._time=c,this._act=!T,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=r,a=0),!a&&f&&!n&&!g&&(st(this,"onStart"),this._tTime!==f))return this;if(c>=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&&(f+=this._zTime=-C);break}}d=p}else{d=this._last;for(var O=r<0?r:c;d;){if(p=d._prev,(d._act||O<=d._end)&&d._ts&&v!==d){if(d.parent!==this)return this.render(r,n,s);if(d.render(d._ts>0?(O-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(O-d._start)*d._ts,n,s||W&&hi(d)),c!==this._time||!this._ts&&!y){v=0,p&&(f+=this._zTime=O?-C:C);break}}d=p}}if(v&&!n&&(this.pause(),v.render(c>=a?0:-C)._zTime=c>=a?1:-1,this._ts))return this._start=x,De(this),this.render(r,n,s);this._onUpdate&&!n&&st(this,"onUpdate",!0),(f===u&&this._tTime>=this.totalDuration()||!f&&a)&&(x===this._start||Math.abs(T)!==Math.abs(this._ts))&&(this._lock||((r||!l)&&(f===u&&this._ts>0||!f&&this._ts<0)&&Ot(this,1),!n&&!(r<0&&!a)&&(f||a||!u)&&(st(this,f===u&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(f<u&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(r,n){var s=this;if(xt(n)||(n=ut(this,n,r)),!(r instanceof _e)){if(Q(r))return r.forEach(function(a){return s.add(a,n)}),this;if(H(r))return this.addLabel(r,n);if(F(r))r=I.delayedCall(0,r);else return this}return this!==r?pt(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=-lt);for(var u=[],l=this._first;l;)l._start>=a&&(l instanceof I?n&&u.push(l):(s&&u.push(l),r&&u.push.apply(u,l.getChildren(!0,n,s)))),l=l._next;return u},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 H(r)?this.removeLabel(r):F(r)?this.killTweensOf(r):(r.parent===this&&Ee(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=V(tt.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),o.prototype.totalTime.call(this,r,n),this._forcing=0,this):this._tTime},e.addLabel=function(r,n){return this.labels[r]=ut(this,n),this},e.removeLabel=function(r){return delete this.labels[r],this},e.addPause=function(r,n,s){var a=I.delayedCall(0,n||fe,s);return a.data="isPause",this._hasPause=1,pt(this,a,ut(this,r))},e.removePause=function(r){var n=this._first;for(r=ut(this,r);n;)n._start===r&&n.data==="isPause"&&Ot(n),n=n._next},e.killTweensOf=function(r,n,s){for(var a=this.getTweensOf(r,s),u=a.length;u--;)kt!==a[u]&&a[u].kill(r,n);return this},e.getTweensOf=function(r,n){for(var s=[],a=ft(r),u=this._first,l=xt(n),f;u;)u instanceof I?Kr(u._targets,a)&&(l?(!kt||u._initted&&u._ts)&&u.globalTime(0)<=n&&u.globalTime(u.totalDuration())>n:!n||u.isActive())&&s.push(u):(f=u.getTweensOf(a,n)).length&&s.push.apply(s,f),u=u._next;return s},e.tweenTo=function(r,n){n=n||{};var s=this,a=ut(s,r),u=n,l=u.startAt,f=u.onStart,_=u.onStartParams,c=u.immediateRender,d,p=I.to(s,ot({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:n.duration||Math.abs((a-(l&&"time"in l?l.time:s._time))/s.timeScale())||C,onStart:function(){if(s.pause(),!d){var m=n.duration||Math.abs((a-(l&&"time"in l?l.time:s._time))/s.timeScale());p._dur!==m&&$t(p,m,0,1).render(p._time,!0,!0),d=1}f&&f.apply(p,_||[])}},n));return c?p.render(0):p},e.tweenFromTo=function(r,n,s){return this.tweenTo(n,ot({startAt:{time:ut(this,r)}},s))},e.recent=function(){return this._recent},e.nextLabel=function(r){return r===void 0&&(r=this._time),Fi(this,ut(this,r))},e.previousLabel=function(r){return r===void 0&&(r=this._time),Fi(this,ut(this,r),1)},e.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+C)},e.shiftChildren=function(r,n,s){s===void 0&&(s=0);for(var a=this._first,u=this.labels,l;a;)a._start>=s&&(a._start+=r,a._end+=r),a=a._next;if(n)for(l in u)u[l]>=s&&(u[l]+=r);return Lt(this)},e.invalidate=function(r){var n=this._first;for(this._lock=0;n;)n.invalidate(r),n=n._next;return o.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,u=lt,l,f,_;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-r:r));if(s._dirty){for(_=s.parent;a;)l=a._prev,a._dirty&&a.totalDuration(),f=a._start,f>u&&s._sort&&a._ts&&!s._lock?(s._lock=1,pt(s,a,f-a._delay,1)._lock=0):u=f,f<0&&a._ts&&(n-=f,(!_&&!s._dp||_&&_.smoothChildTiming)&&(s._start+=f/s._ts,s._time-=f,s._tTime-=f),s.shiftChildren(-f,!1,-1/0),u=0),a._end>n&&a._ts&&(n=a._end),a=l;$t(s,s===L&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(r){if(L._ts&&(Gi(L,Me(r,L)),Wi=tt.frame),tt.frame>=Ai){Ai+=it.autoSleep||120;var n=L._first;if((!n||!n._ts)&&it.autoSleep&&tt._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||tt.sleep()}}},t}(_e);ot(X.prototype,{_lock:0,_hasPause:0,_forcing:0});var Tn=function(t,e,i,r,n,s,a){var u=new Z(this._pt,t,e,0,1,yi,null,n),l=0,f=0,_,c,d,p,h,m,y,v;for(u.b=i,u.e=r,i+="",r+="",(y=~r.indexOf("random("))&&(r=Zt(r)),s&&(v=[i,r],s(v,t,e),i=v[0],r=v[1]),c=i.match(Ie)||[];_=Ie.exec(r);)p=_[0],h=r.substring(l,_.index),d?d=(d+1)%5:h.substr(-5)==="rgba("&&(d=1),p!==c[f++]&&(m=parseFloat(c[f-1])||0,u._pt={_next:u._pt,p:h||f===1?h:",",s:m,c:p.charAt(1)==="="?It(m,p)-m:parseFloat(p)-m,m:d&&d<4?Math.round:0},l=Ie.lastIndex);return u.c=l<r.length?r.substring(l,r.length):"",u.fp=a,(si.test(r)||y)&&(u.e=0),this._pt=u,u},di=function(t,e,i,r,n,s,a,u,l,f){F(r)&&(r=r(n||0,t,s));var _=t[e],c=i!=="get"?i:F(_)?l?t[e.indexOf("set")||!F(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():_,d=F(_)?l?Sn:mr:gi,p;if(H(r)&&(~r.indexOf("random(")&&(r=Zt(r)),r.charAt(1)==="="&&(p=It(c,r)+(G(c)||0),(p||p===0)&&(r=p))),!f||c!==r||ti)return!isNaN(c*r)&&r!==""?(p=new Z(this._pt,t,e,+c||0,r-(c||0),typeof _=="boolean"?On:gr,0,d),l&&(p.fp=l),a&&p.modifier(a,this,t),this._pt=p):(!_&&!(e in t)&&Ce(e,r),Tn.call(this,t,e,c,r,d,u||it.stringFilter,l))},xn=function(t,e,i,r,n){if(F(t)&&(t=ue(t,n,e,i,r)),!mt(t)||t.style&&t.nodeType||Q(t)||Hi(t))return H(t)?ue(t,n,e,i,r):t;var s={},a;for(a in t)s[a]=ue(t[a],n,e,i,r);return s},pi=function(t,e,i,r,n,s){var a,u,l,f;if(J[t]&&(a=new J[t]).init(n,a.rawVars?e[t]:xn(e[t],r,n,s,i),i,r,s)!==!1&&(i._pt=u=new Z(i._pt,n,t,0,1,a.render,a,0,a.priority),i!==Xt))for(l=i._ptLookup[i._targets.indexOf(n)],f=a._props.length;f--;)l[a._props[f]]=u;return a},kt,ti,mi=function o(t,e,i){var r=t.vars,n=r.ease,s=r.startAt,a=r.immediateRender,u=r.lazy,l=r.onUpdate,f=r.runBackwards,_=r.yoyoEase,c=r.keyframes,d=r.autoRevert,p=t._dur,h=t._startAt,m=t._targets,y=t.parent,v=y&&y.data==="nested"?y.vars.targets:m,T=t._overwrite==="auto"&&!ii,x=t.timeline,g,w,k,S,b,O,A,E,D,Y,U,B,q;if(x&&(!c||!n)&&(n="none"),t._ease=zt(n,Wt.ease),t._yEase=_?hr(zt(_===!0?n:_,Wt.ease)):0,_&&t._yoyo&&!t._repeat&&(_=t._yEase,t._yEase=t._ease,t._ease=_),t._from=!x&&!!r.runBackwards,!x||c&&!r.stagger){if(E=m[0]?Mt(m[0]).harness:0,B=E&&r[E.prop],g=Se(r,oi),h&&(h._zTime<0&&h.progress(1),e<0&&f&&a&&!d?h.render(-1,!0):h.revert(f&&p?Te:Qr),h._lazy=0),s){if(Ot(t._startAt=I.set(m,ot({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!h&&et(u),startAt:null,delay:0,onUpdate:l&&function(){return st(t,"onUpdate")},stagger:0},s))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(W||!a&&!d)&&t._startAt.revert(Te),a&&p&&e<=0&&i<=0){e&&(t._zTime=e);return}}else if(f&&p&&!h){if(e&&(a=!1),k=ot({overwrite:!1,data:"isFromStart",lazy:a&&!h&&et(u),immediateRender:a,stagger:0,parent:y},g),B&&(k[E.prop]=B),Ot(t._startAt=I.set(m,k)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(W?t._startAt.revert(Te):t._startAt.render(-1,!0)),t._zTime=e,!a)o(t._startAt,C,C);else if(!e)return}for(t._pt=t._ptCache=0,u=p&&et(u)||u&&!p,w=0;w<m.length;w++){if(b=m[w],A=b._gsap||li(m)[w]._gsap,t._ptLookup[w]=Y={},Qe[A.id]&&St.length&&ke(),U=v===m?w:v.indexOf(b),E&&(D=new E).init(b,B||g,t,U,v)!==!1&&(t._pt=S=new Z(t._pt,b,D.name,0,1,D.render,D,0,D.priority),D._props.forEach(function(_t){Y[_t]=S}),D.priority&&(O=1)),!E||B)for(k in g)J[k]&&(D=pi(k,g,t,U,b,v))?D.priority&&(O=1):Y[k]=S=di.call(t,b,k,"get",g[k],U,v,0,r.stringFilter);t._op&&t._op[w]&&t.kill(b,t._op[w]),T&&t._pt&&(kt=t,L.killTweensOf(b,Y,t.globalTime(e)),q=!t.parent,kt=0),t._pt&&u&&(Qe[A.id]=1)}O&&Ti(t),t._onInit&&t._onInit(t)}t._onUpdate=l,t._initted=(!t._op||t._pt)&&!q,c&&e<=0&&x.render(lt,!0,!0)},bn=function(t,e,i,r,n,s,a,u){var l=(t._pt&&t._ptCache||(t._ptCache={}))[e],f,_,c,d;if(!l)for(l=t._ptCache[e]=[],c=t._ptLookup,d=t._targets.length;d--;){if(f=c[d][e],f&&f.d&&f.d._pt)for(f=f.d._pt;f&&f.p!==e&&f.fp!==e;)f=f._next;if(!f)return ti=1,t.vars[e]="+=0",mi(t,a),ti=0,u?le(e+" not eligible for reset"):1;l.push(f)}for(d=l.length;d--;)_=l[d],f=_._pt||_,f.s=(r||r===0)&&!n?r:f.s+(r||0)+s*f.c,f.c=i-f.s,_.e&&(_.e=N(i)+G(_.e)),_.b&&(_.b=f.s+G(_.b))},wn=function(t,e){var i=t[0]?Mt(t[0]).harness:0,r=i&&i.aliases,n,s,a,u;if(!r)return e;n=Gt({},e);for(s in r)if(s in n)for(u=r[s].split(","),a=u.length;a--;)n[u[a]]=n[s];return n},kn=function(t,e,i,r){var n=e.ease||r||"power1.inOut",s,a;if(Q(e))a=i[t]||(i[t]=[]),e.forEach(function(u,l){return a.push({t:l/(e.length-1)*100,v:u,e:n})});else for(s in e)a=i[s]||(i[s]=[]),s==="ease"||a.push({t:parseFloat(t),v:e[s],e:n})},ue=function(t,e,i,r,n){return F(t)?t.call(e,i,r,n):H(t)&&~t.indexOf("random(")?Zt(t):t},dr=ui+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",pr={};K(dr+",id,stagger,delay,duration,paused,scrollTrigger",function(o){return pr[o]=1});var I=function(o){Bi(t,o);function t(i,r,n,s){var a;typeof r=="number"&&(n.duration=r,r=n,n=null),a=o.call(this,s?r:ae(r))||this;var u=a.vars,l=u.duration,f=u.delay,_=u.immediateRender,c=u.stagger,d=u.overwrite,p=u.keyframes,h=u.defaults,m=u.scrollTrigger,y=u.yoyoEase,v=r.parent||L,T=(Q(i)||Hi(i)?xt(i[0]):"length"in r)?[i]:ft(i),x,g,w,k,S,b,O,A;if(a._targets=T.length?li(T):le("GSAP target "+i+" not found. https://gsap.com",!it.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,p||c||ve(l)||ve(f)){if(r=a.vars,x=a.timeline=new X({data:"nested",defaults:h||{},targets:v&&v.data==="nested"?v.vars.targets:T}),x.kill(),x.parent=x._dp=vt(a),x._start=0,c||ve(l)||ve(f)){if(k=T.length,O=c&&ir(c),mt(c))for(S in c)~dr.indexOf(S)&&(A||(A={}),A[S]=c[S]);for(g=0;g<k;g++)w=Se(r,pr),w.stagger=0,y&&(w.yoyoEase=y),A&&Gt(w,A),b=T[g],w.duration=+ue(l,vt(a),g,b,T),w.delay=(+ue(f,vt(a),g,b,T)||0)-a._delay,!c&&k===1&&w.delay&&(a._delay=f=w.delay,a._start+=f,w.delay=0),x.to(b,w,O?O(g,b,T):0),x._ease=M.none;x.duration()?l=f=0:a.timeline=0}else if(p){ae(ot(x.vars.defaults,{ease:"none"})),x._ease=zt(p.ease||r.ease||"none");var E=0,D,Y,U;if(Q(p))p.forEach(function(B){return x.to(T,B,">")}),x.duration();else{w={};for(S in p)S==="ease"||S==="easeEach"||kn(S,p[S],w,p.easeEach);for(S in w)for(D=w[S].sort(function(B,q){return B.t-q.t}),E=0,g=0;g<D.length;g++)Y=D[g],U={ease:Y.e,duration:(Y.t-(g?D[g-1].t:0))/100*l},U[S]=Y.v,x.to(T,U,E),E+=U.duration;x.duration()<l&&x.to({},{duration:l-x.duration()})}}l||a.duration(l=x.duration())}else a.timeline=0;return d===!0&&!ii&&(kt=vt(a),L.killTweensOf(T),kt=0),pt(v,vt(a),n),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(_||!l&&!p&&a._start===V(v._time)&&et(_)&&tn(vt(a))&&v.data!=="nested")&&(a._tTime=-C,a.render(Math.max(0,-f)||0)),m&&ji(vt(a),m),a}var e=t.prototype;return e.render=function(r,n,s){var a=this._time,u=this._tDur,l=this._dur,f=r<0,_=r>u-C&&!f?u:r<C?0:r,c,d,p,h,m,y,v,T,x;if(!l)rn(this,r,n,s);else if(_!==this._tTime||!r||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==f||this._lazy){if(c=_,T=this.timeline,this._repeat){if(h=l+this._rDelay,this._repeat<-1&&f)return this.totalTime(h*100+r,n,s);if(c=V(_%h),_===u?(p=this._repeat,c=l):(m=V(_/h),p=~~m,p&&p===m?(c=l,p--):c>l&&(c=l)),y=this._yoyo&&p&1,y&&(x=this._yEase,c=l-c),m=Qt(this._tTime,h),c===a&&!s&&this._initted&&p===m)return this._tTime=_,this;p!==m&&(T&&this._yEase&&_r(T,y),this.vars.repeatRefresh&&!y&&!this._lock&&c!==h&&this._initted&&(this._lock=s=1,this.render(V(h*p),!0).invalidate()._lock=0))}if(!this._initted){if(Ji(this,f?r:c,s,n,_))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&p!==m))return this;if(l!==this._dur)return this.render(r,n,s)}if(this._tTime=_,this._time=c,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(x||this._ease)(c/l),this._from&&(this.ratio=v=1-v),!a&&_&&!n&&!m&&(st(this,"onStart"),this._tTime!==_))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&&(f&&$e(this,r,n,s),st(this,"onUpdate")),this._repeat&&p!==m&&this.vars.onRepeat&&!n&&this.parent&&st(this,"onRepeat"),(_===this._tDur||!_)&&this._tTime===_&&(f&&!this._onUpdate&&$e(this,r,!0,!0),(r||!l)&&(_===this._tDur&&this._ts>0||!_&&this._ts<0)&&Ot(this,1),!n&&!(f&&!a)&&(_||a||y)&&(st(this,_===u?"onComplete":"onReverseComplete",!0),this._prom&&!(_<u&&this.timeScale()>0)&&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),o.prototype.invalidate.call(this,r)},e.resetTo=function(r,n,s,a,u){he||tt.wake(),this._ts||this.play();var l=Math.min(this._dur,(this._dp._time-this._start)*this._ts),f;return this._initted||mi(this,l),f=this._ease(l/this._dur),bn(this,r,n,s,a,f,l,u)?this.resetTo(r,n,s,a,1):(Ae(this,0),this.parent||Ki(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?ne(this):this.scrollTrigger&&this.scrollTrigger.kill(!!W),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(r,n,kt&&kt.vars.overwrite!==!0)._first||ne(this),this.parent&&s!==this.timeline.totalDuration()&&$t(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,u=r?ft(r):a,l=this._ptLookup,f=this._pt,_,c,d,p,h,m,y;if((!n||n==="all")&&jr(a,u))return n==="all"&&(this._pt=0),ne(this);for(_=this._op=this._op||[],n!=="all"&&(H(n)&&(h={},K(n,function(v){return h[v]=1}),n=h),n=wn(a,n)),y=a.length;y--;)if(~u.indexOf(a[y])){c=l[y],n==="all"?(_[y]=n,p=c,d={}):(d=_[y]=_[y]||{},p=n);for(h in p)m=c&&c[h],m&&((!("kill"in m.d)||m.d.kill(h)===!0)&&Ee(this,m,"_pt"),delete c[h]),d!=="all"&&(d[h]=1)}return this._initted&&!this._pt&&f&&ne(this),this},t.to=function(r,n){return new t(r,n,arguments[2])},t.from=function(r,n){return oe(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 oe(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 L.killTweensOf(r,n,s)},t}(_e);ot(I.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});K("staggerTo,staggerFrom,staggerFromTo",function(o){I[o]=function(){var t=new X,e=Ze.call(arguments,0);return e.splice(o==="staggerFromTo"?5:4,0,0),t[o].apply(t,e)}});var gi=function(t,e,i){return t[e]=i},mr=function(t,e,i){return t[e](i)},Sn=function(t,e,i,r){return t[e](r.fp,i)},Mn=function(t,e,i){return t.setAttribute(e,i)},Re=function(t,e){return F(t[e])?mr:Pe(t[e])&&t.setAttribute?Mn:gi},gr=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},On=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},yi=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)},vi=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},Pn=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},Cn=function(t){for(var e=this._pt,i,r;e;)r=e._next,e.p===t&&!e.op||e.op===t?Ee(this,e,"_pt"):e.dep||(i=1),e=r;return!i},En=function(t,e,i,r){r.mSet(t,e,r.m.call(r.tween,i,r.mt),r)},Ti=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},Z=function(){function o(e,i,r,n,s,a,u,l,f){this.t=i,this.s=n,this.c=s,this.p=r,this.r=a||gr,this.d=u||this,this.set=l||gi,this.pr=f||0,this._next=e,e&&(e._prev=this)}var t=o.prototype;return t.modifier=function(i,r,n){this.mSet=this.mSet||this.set,this.set=En,this.m=i,this.mt=n,this.tween=r},o}();K(ui+"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(o){return oi[o]=1});at.TweenMax=at.TweenLite=I;at.TimelineLite=at.TimelineMax=X;L=new X({sortChildren:!1,defaults:Wt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});it.stringFilter=_i;var Ft=[],be={},Dn=[],Ii=0,An=0,qe=function(t){return(be[t]||Dn).map(function(e){return e()})},ei=function(){var t=Date.now(),e=[];t-Ii>2&&(qe("matchMediaInit"),Ft.forEach(function(i){var r=i.queries,n=i.conditions,s,a,u,l;for(a in r)s=dt.matchMedia(r[a]).matches,s&&(u=1),s!==n[a]&&(n[a]=s,l=1);l&&(i.revert(),u&&e.push(i))}),qe("matchMediaRevert"),e.forEach(function(i){return i.onMatch(i,function(r){return i.add(null,r)})}),Ii=t,qe("matchMedia"))},yr=function(){function o(e,i){this.selector=i&&je(i),this.data=[],this._r=[],this.isReverted=!1,this.id=An++,e&&this.add(e)}var t=o.prototype;return t.add=function(i,r,n){F(i)&&(n=r,r=i,i=F);var s=this,a=function(){var l=R,f=s.selector,_;return l&&l!==s&&l.data.push(s),n&&(s.selector=je(n)),R=s,_=r.apply(s,arguments),F(_)&&s._r.push(_),R=l,s.selector=f,s.isReverted=!1,_};return s.last=a,i===F?a(s,function(u){return s.add(null,u)}):i?s[i]=a:a},t.ignore=function(i){var r=R;R=null,i(this),R=r},t.getTweens=function(){var i=[];return this.data.forEach(function(r){return r instanceof o?i.push.apply(i,r.getTweens()):r instanceof I&&!(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(),u=n.data.length,l;u--;)l=n.data[u],l.data==="isFlip"&&(l.revert(),l.getChildren(!0,!0,!1).forEach(function(f){return a.splice(a.indexOf(f),1)}));for(a.map(function(f){return{g:f._dur||f._delay||f._sat&&!f._sat.vars.immediateRender?f.globalTime(0):-1/0,t:f}}).sort(function(f,_){return _.g-f.g||-1/0}).forEach(function(f){return f.t.revert(i)}),u=n.data.length;u--;)l=n.data[u],l instanceof X?l.data!=="nested"&&(l.scrollTrigger&&l.scrollTrigger.revert(),l.kill()):!(l instanceof I)&&l.revert&&l.revert(i);n._r.forEach(function(f){return f(i,n)}),n.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),r)for(var s=Ft.length;s--;)Ft[s].id===this.id&&Ft.splice(s,1)},t.revert=function(i){this.kill(i||{})},o}(),Rn=function(){function o(e){this.contexts=[],this.scope=e,R&&R.data.push(this)}var t=o.prototype;return t.add=function(i,r,n){mt(i)||(i={matches:i});var s=new yr(0,n||this.scope),a=s.conditions={},u,l,f;R&&!s.selector&&(s.selector=R.selector),this.contexts.push(s),r=s.add("onMatch",r),s.queries=i;for(l in i)l==="all"?f=1:(u=dt.matchMedia(i[l]),u&&(Ft.indexOf(s)<0&&Ft.push(s),(a[l]=u.matches)&&(f=1),u.addListener?u.addListener(ei):u.addEventListener("change",ei)));return f&&r(s,function(_){return s.add(null,_)}),this},t.revert=function(i){this.kill(i||{})},t.kill=function(i){this.contexts.forEach(function(r){return r.kill(i,!0)})},o}(),Oe={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach(function(r){return ur(r)})},timeline:function(t){return new X(t)},getTweensOf:function(t,e){return L.getTweensOf(t,e)},getProperty:function(t,e,i,r){H(t)&&(t=ft(t)[0]);var n=Mt(t||{}).get,s=i?$i:Qi;return i==="native"&&(i=""),t&&(e?s((J[e]&&J[e].get||n)(t,e,i,r)):function(a,u,l){return s((J[a]&&J[a].get||n)(t,a,u,l))})},quickSetter:function(t,e,i){if(t=ft(t),t.length>1){var r=t.map(function(f){return $.quickSetter(f,e,i)}),n=r.length;return function(f){for(var _=n;_--;)r[_](f)}}t=t[0]||{};var s=J[e],a=Mt(t),u=a.harness&&(a.harness.aliases||{})[e]||e,l=s?function(f){var _=new s;Xt._pt=0,_.init(t,i?f+i:f,Xt,0,[t]),_.render(1,_),Xt._pt&&vi(1,Xt)}:a.set(t,u);return s?l:function(f){return l(t,u,i?f+i:f,a,1)}},quickTo:function(t,e,i){var r,n=$.to(t,ot((r={},r[e]="+=0.1",r.paused=!0,r.stagger=0,r),i||{})),s=function(u,l,f){return n.resetTo(e,u,l,f)};return s.tween=n,s},isTweening:function(t){return L.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=zt(t.ease,Wt.ease)),Ri(Wt,t||{})},config:function(t){return Ri(it,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&&!J[a]&&!at[a]&&le(e+" effect requires "+a+" plugin.")}),Be[e]=function(a,u,l){return i(ft(a),ot(u||{},n),l)},s&&(X.prototype[e]=function(a,u,l){return this.add(Be[e](a,mt(u)?u:(l=u)&&{},this),l)})},registerEase:function(t,e){M[t]=zt(e)},parseEase:function(t,e){return arguments.length?zt(t,e):M},getById:function(t){return L.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var i=new X(t),r,n;for(i.smoothChildTiming=et(t.smoothChildTiming),L.remove(i),i._dp=0,i._time=i._tTime=L._time,r=L._first;r;)n=r._next,(e||!(!r._dur&&r instanceof I&&r.vars.onComplete===r._targets[0]))&&pt(i,r,r._start-r._delay),r=n;return pt(L,i,0),i},context:function(t,e){return t?new yr(t,e):R},matchMedia:function(t){return new Rn(t)},matchMediaRefresh:function(){return Ft.forEach(function(t){var e=t.conditions,i,r;for(r in e)e[r]&&(e[r]=!1,i=1);i&&t.revert()})||ei()},addEventListener:function(t,e){var i=be[t]||(be[t]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(t,e){var i=be[t],r=i&&i.indexOf(e);r>=0&&i.splice(r,1)},utils:{wrap:hn,wrapYoyo:_n,distribute:ir,random:nr,snap:rr,normalize:fn,getUnit:G,clamp:an,splitColor:lr,toArray:ft,selector:je,mapRange:ar,pipe:un,unitize:ln,interpolate:cn,shuffle:er},install:Yi,effects:Be,ticker:tt,updateRoot:X.updateRoot,plugins:J,globalTimeline:L,core:{PropTween:Z,globals:Xi,Tween:I,Timeline:X,Animation:_e,getCache:Mt,_removeLinkedListItem:Ee,reverting:function(){return W},context:function(t){return t&&R&&(R.data.push(t),t._ctx=R),R},suppressOverwrites:function(t){return ii=t}}};K("to,from,fromTo,delayedCall,set,killTweensOf",function(o){return Oe[o]=I[o]});tt.add(X.updateRoot);Xt=Oe.to({},{duration:0});var Ln=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},zn=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=Ln(s,r)),s&&s.modifier&&s.modifier(e[r],t,i[n],r))},Ye=function(t,e){return{name:t,headless:1,rawVars:1,init:function(r,n,s){s._onInit=function(a){var u,l;if(H(n)&&(u={},K(n,function(f){return u[f]=1}),n=u),e){u={};for(l in n)u[l]=e(n[l]);n=u}zn(a,n)}}}},$=Oe.registerPlugin({name:"attr",init:function(t,e,i,r,n){var s,a,u;this.tween=i;for(s in e)u=t.getAttribute(s)||"",a=this.add(t,"setAttribute",(u||0)+"",e[s],r,n,0,0,s),a.op=s,a.b=u,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)}},Ye("roundProps",Je),Ye("modifiers"),Ye("snap",rr))||Oe;I.version=X.version=$.version="3.13.0";qi=1;ri()&&Kt();var Fn=M.Power0,Nn=M.Power1,In=M.Power2,Bn=M.Power3,Vn=M.Power4,Hn=M.Linear,Un=M.Quad,qn=M.Cubic,Yn=M.Quart,Xn=M.Quint,Wn=M.Strong,Gn=M.Elastic,Qn=M.Back,$n=M.SteppedEase,Kn=M.Bounce,Zn=M.Sine,jn=M.Expo,Jn=M.Circ;var vr,Ct,Jt,Mi,qt,ts,Tr,Oi,es=function(){return typeof window<"u"},wt={},Ut=180/Math.PI,te=Math.PI/180,jt=Math.atan2,xr=1e8,Pi=/([A-Z])/g,is=/(left|right|width|margin|padding|x)/i,rs=/[\s,\(]\S/,gt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},bi=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},ns=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)},ss=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)},as=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},Cr=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Er=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},os=function(t,e,i){return t.style[e]=i},us=function(t,e,i){return t.style.setProperty(e,i)},ls=function(t,e,i){return t._gsap[e]=i},fs=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},hs=function(t,e,i,r,n){var s=t._gsap;s.scaleX=s.scaleY=i,s.renderTransform(n,s)},_s=function(t,e,i,r,n){var s=t._gsap;s[e]=i,s.renderTransform(n,s)},z="transform",rt=z+"Origin",cs=function o(t,e){var i=this,r=this.target,n=r.style,s=r._gsap;if(t in wt&&n){if(this.tfm=this.tfm||{},t!=="transform")t=gt[t]||t,~t.indexOf(",")?t.split(",").forEach(function(a){return i.tfm[a]=bt(r,a)}):this.tfm[t]=s.x?s[t]:bt(r,t),t===rt&&(this.tfm.zOrigin=s.zOrigin);else return gt.transform.split(",").forEach(function(a){return o.call(i,a,e)});if(this.props.indexOf(z)>=0)return;s.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(rt,e,"")),t=z}(n||e)&&this.props.push(t,e,n[t])},Dr=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},ds=function(){var t=this.props,e=this.target,i=e.style,r=e._gsap,n,s;for(n=0;n<t.length;n+=3)t[n+1]?t[n+1]===2?e[t[n]](t[n+2]):e[t[n]]=t[n+2]:t[n+2]?i[t[n]]=t[n+2]:i.removeProperty(t[n].substr(0,2)==="--"?t[n]:t[n].replace(Pi,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)r[s]=this.tfm[s];r.svg&&(r.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),n=Oi(),(!n||!n.isStart)&&!i[z]&&(Dr(i),r.zOrigin&&i[rt]&&(i[rt]+=" "+r.zOrigin+"px",r.zOrigin=0,r.renderTransform()),r.uncache=1)}},Ar=function(t,e){var i={target:t,props:[],revert:ds,save:cs};return t._gsap||$.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(r){return i.save(r)}),i},Rr,wi=function(t,e){var i=Ct.createElementNS?Ct.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Ct.createElement(t);return i&&i.style?i:Ct.createElement(t)},ht=function o(t,e,i){var r=getComputedStyle(t);return r[e]||r.getPropertyValue(e.replace(Pi,"-$1").toLowerCase())||r.getPropertyValue(e)||!i&&o(t,ee(e)||e,1)||""},br="O,Moz,ms,Ms,Webkit".split(","),ee=function(t,e,i){var r=e||qt,n=r.style,s=5;if(t in n&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(br[s]+t in n););return s<0?null:(s===3?"ms":s>=0?br[s]:"")+t},ki=function(){es()&&window.document&&(vr=window,Ct=vr.document,Jt=Ct.documentElement,qt=wi("div")||{style:{}},ts=wi("div"),z=ee(z),rt=z+"Origin",qt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Rr=!!ee("perspective"),Oi=$.core.reverting,Mi=1)},wr=function(t){var e=t.ownerSVGElement,i=wi("svg",e&&e.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=t.cloneNode(!0),n;r.style.display="block",i.appendChild(r),Jt.appendChild(i);try{n=r.getBBox()}catch{}return i.removeChild(r),Jt.removeChild(i),n},kr=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},Lr=function(t){var e,i;try{e=t.getBBox()}catch{e=wr(t),i=1}return e&&(e.width||e.height)||i||(e=wr(t)),e&&!e.width&&!e.x&&!e.y?{x:+kr(t,["x","cx","x1"])||0,y:+kr(t,["y","cy","y1"])||0,width:0,height:0}:e},zr=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Lr(t))},Yt=function(t,e){if(e){var i=t.style,r;e in wt&&e!==rt&&(e=z),i.removeProperty?(r=e.substr(0,2),(r==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),i.removeProperty(r==="--"?e:e.replace(Pi,"-$1").toLowerCase())):i.removeAttribute(e)}},Et=function(t,e,i,r,n,s){var a=new Z(t._pt,e,i,0,1,s?Er:Cr);return t._pt=a,a.b=r,a.e=n,t._props.push(i),a},Sr={deg:1,rad:1,turn:1},ps={grid:1,flex:1},Dt=function o(t,e,i,r){var n=parseFloat(i)||0,s=(i+"").trim().substr((n+"").length)||"px",a=qt.style,u=is.test(e),l=t.tagName.toLowerCase()==="svg",f=(l?"client":"offset")+(u?"Width":"Height"),_=100,c=r==="px",d=r==="%",p,h,m,y;if(r===s||!n||Sr[r]||Sr[s])return n;if(s!=="px"&&!c&&(n=o(t,e,i,"px")),y=t.getCTM&&zr(t),(d||s==="%")&&(wt[e]||~e.indexOf("adius")))return p=y?t.getBBox()[u?"width":"height"]:t[f],N(d?n/p*_:n/100*p);if(a[u?"width":"height"]=_+(c?s:r),h=r!=="rem"&&~e.indexOf("adius")||r==="em"&&t.appendChild&&!l?t:t.parentNode,y&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===Ct||!h.appendChild)&&(h=Ct.body),m=h._gsap,m&&d&&m.width&&u&&m.time===tt.time&&!m.uncache)return N(n/m.width*_);if(d&&(e==="height"||e==="width")){var v=t.style[e];t.style[e]=_+r,p=t[f],v?t.style[e]=v:Yt(t,e)}else(d||s==="%")&&!ps[ht(h,"display")]&&(a.position=ht(t,"position")),h===t&&(a.position="static"),h.appendChild(qt),p=qt[f],h.removeChild(qt),a.position="absolute";return u&&d&&(m=Mt(h),m.time=tt.time,m.width=h[f]),N(c?p*n/_:p&&n?_/p*n:0)},bt=function(t,e,i,r){var n;return Mi||ki(),e in gt&&e!=="transform"&&(e=gt[e],~e.indexOf(",")&&(e=e.split(",")[0])),wt[e]&&e!=="transform"?(n=me(t,r),n=e!=="transformOrigin"?n[e]:n.svg?n.origin:ze(ht(t,rt))+" "+n.zOrigin+"px"):(n=t.style[e],(!n||n==="auto"||r||~(n+"").indexOf("calc("))&&(n=Le[e]&&Le[e](t,e,i)||ht(t,e)||fi(t,e)||(e==="opacity"?1:0))),i&&!~(n+"").trim().indexOf(" ")?Dt(t,e,n,i)+i:n},ms=function(t,e,i,r){if(!i||i==="none"){var n=ee(e,t,1),s=n&&ht(t,n,1);s&&s!==i?(e=n,i=s):e==="borderColor"&&(i=ht(t,"borderTopColor"))}var a=new Z(this._pt,t.style,e,0,1,yi),u=0,l=0,f,_,c,d,p,h,m,y,v,T,x,g;if(a.b=i,a.e=r,i+="",r+="",r.substring(0,6)==="var(--"&&(r=ht(t,r.substring(4,r.indexOf(")")))),r==="auto"&&(h=t.style[e],t.style[e]=r,r=ht(t,e)||r,h?t.style[e]=h:Yt(t,e)),f=[i,r],_i(f),i=f[0],r=f[1],c=i.match(Nt)||[],g=r.match(Nt)||[],g.length){for(;_=Nt.exec(r);)m=_[0],v=r.substring(u,_.index),p?p=(p+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(p=1),m!==(h=c[l++]||"")&&(d=parseFloat(h)||0,x=h.substr((d+"").length),m.charAt(1)==="="&&(m=It(d,m)+x),y=parseFloat(m),T=m.substr((y+"").length),u=Nt.lastIndex-T.length,T||(T=T||it.units[e]||x,u===r.length&&(r+=T,a.e+=T)),x!==T&&(d=Dt(t,e,h,T)||0),a._pt={_next:a._pt,p:v||l===1?v:",",s:d,c:y-d,m:p&&p<4||e==="zIndex"?Math.round:0});a.c=u<r.length?r.substring(u,r.length):""}else a.r=e==="display"&&r==="none"?Er:Cr;return si.test(r)&&(a.e=0),this._pt=a,a},Mr={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},gs=function(t){var e=t.split(" "),i=e[0],r=e[1]||"50%";return(i==="top"||i==="bottom"||r==="left"||r==="right")&&(t=i,i=r,r=t),e[0]=Mr[i]||i,e[1]=Mr[r]||r,e.join(" ")},ys=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i=e.t,r=i.style,n=e.u,s=i._gsap,a,u,l;if(n==="all"||n===!0)r.cssText="",u=1;else for(n=n.split(","),l=n.length;--l>-1;)a=n[l],wt[a]&&(u=1,a=a==="transformOrigin"?rt:z),Yt(i,a);u&&(Yt(i,z),s&&(s.svg&&i.removeAttribute("transform"),r.scale=r.rotate=r.translate="none",me(i,1),s.uncache=1,Dr(r)))}},Le={clearProps:function(t,e,i,r,n){if(n.data!=="isFromStart"){var s=t._pt=new Z(t._pt,e,i,0,0,ys);return s.u=r,s.pr=-10,s.tween=n,t._props.push(i),1}}},pe=[1,0,0,1,0,0],Fr={},Nr=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},Or=function(t){var e=ht(t,z);return Nr(e)?pe:e.substr(7).match(ni).map(N)},Ci=function(t,e){var i=t._gsap||Mt(t),r=t.style,n=Or(t),s,a,u,l;return i.svg&&t.getAttribute("transform")?(u=t.transform.baseVal.consolidate().matrix,n=[u.a,u.b,u.c,u.d,u.e,u.f],n.join(",")==="1,0,0,1,0,0"?pe:n):(n===pe&&!t.offsetParent&&t!==Jt&&!i.svg&&(u=r.display,r.display="block",s=t.parentNode,(!s||!t.offsetParent&&!t.getBoundingClientRect().width)&&(l=1,a=t.nextElementSibling,Jt.appendChild(t)),n=Or(t),u?r.display=u:Yt(t,"display"),l&&(a?s.insertBefore(t,a):s?s.appendChild(t):Jt.removeChild(t))),e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},Si=function(t,e,i,r,n,s){var a=t._gsap,u=n||Ci(t,!0),l=a.xOrigin||0,f=a.yOrigin||0,_=a.xOffset||0,c=a.yOffset||0,d=u[0],p=u[1],h=u[2],m=u[3],y=u[4],v=u[5],T=e.split(" "),x=parseFloat(T[0])||0,g=parseFloat(T[1])||0,w,k,S,b;i?u!==pe&&(k=d*m-p*h)&&(S=x*(m/k)+g*(-h/k)+(h*v-m*y)/k,b=x*(-p/k)+g*(d/k)-(d*v-p*y)/k,x=S,g=b):(w=Lr(t),x=w.x+(~T[0].indexOf("%")?x/100*w.width:x),g=w.y+(~(T[1]||T[0]).indexOf("%")?g/100*w.height:g)),r||r!==!1&&a.smooth?(y=x-l,v=g-f,a.xOffset=_+(y*d+v*h)-y,a.yOffset=c+(y*p+v*m)-v):a.xOffset=a.yOffset=0,a.xOrigin=x,a.yOrigin=g,a.smooth=!!r,a.origin=e,a.originIsAbsolute=!!i,t.style[rt]="0px 0px",s&&(Et(s,a,"xOrigin",l,x),Et(s,a,"yOrigin",f,g),Et(s,a,"xOffset",_,a.xOffset),Et(s,a,"yOffset",c,a.yOffset)),t.setAttribute("data-svg-origin",x+" "+g)},me=function(t,e){var i=t._gsap||new ci(t);if("x"in i&&!e&&!i.uncache)return i;var r=t.style,n=i.scaleX<0,s="px",a="deg",u=getComputedStyle(t),l=ht(t,rt)||"0",f,_,c,d,p,h,m,y,v,T,x,g,w,k,S,b,O,A,E,D,Y,U,B,q,_t,ye,ie,re,At,Di,yt,Rt;return f=_=c=h=m=y=v=T=x=0,d=p=1,i.svg=!!(t.getCTM&&zr(t)),u.translate&&((u.translate!=="none"||u.scale!=="none"||u.rotate!=="none")&&(r[z]=(u.translate!=="none"?"translate3d("+(u.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(u.rotate!=="none"?"rotate("+u.rotate+") ":"")+(u.scale!=="none"?"scale("+u.scale.split(" ").join(",")+") ":"")+(u[z]!=="none"?u[z]:"")),r.scale=r.rotate=r.translate="none"),k=Ci(t,i.svg),i.svg&&(i.uncache?(_t=t.getBBox(),l=i.xOrigin-_t.x+"px "+(i.yOrigin-_t.y)+"px",q=""):q=!e&&t.getAttribute("data-svg-origin"),Si(t,q||l,!!q||i.originIsAbsolute,i.smooth!==!1,k)),g=i.xOrigin||0,w=i.yOrigin||0,k!==pe&&(A=k[0],E=k[1],D=k[2],Y=k[3],f=U=k[4],_=B=k[5],k.length===6?(d=Math.sqrt(A*A+E*E),p=Math.sqrt(Y*Y+D*D),h=A||E?jt(E,A)*Ut:0,v=D||Y?jt(D,Y)*Ut+h:0,v&&(p*=Math.abs(Math.cos(v*te))),i.svg&&(f-=g-(g*A+w*D),_-=w-(g*E+w*Y))):(Rt=k[6],Di=k[7],ie=k[8],re=k[9],At=k[10],yt=k[11],f=k[12],_=k[13],c=k[14],S=jt(Rt,At),m=S*Ut,S&&(b=Math.cos(-S),O=Math.sin(-S),q=U*b+ie*O,_t=B*b+re*O,ye=Rt*b+At*O,ie=U*-O+ie*b,re=B*-O+re*b,At=Rt*-O+At*b,yt=Di*-O+yt*b,U=q,B=_t,Rt=ye),S=jt(-D,At),y=S*Ut,S&&(b=Math.cos(-S),O=Math.sin(-S),q=A*b-ie*O,_t=E*b-re*O,ye=D*b-At*O,yt=Y*O+yt*b,A=q,E=_t,D=ye),S=jt(E,A),h=S*Ut,S&&(b=Math.cos(S),O=Math.sin(S),q=A*b+E*O,_t=U*b+B*O,E=E*b-A*O,B=B*b-U*O,A=q,U=_t),m&&Math.abs(m)+Math.abs(h)>359.9&&(m=h=0,y=180-y),d=N(Math.sqrt(A*A+E*E+D*D)),p=N(Math.sqrt(B*B+Rt*Rt)),S=jt(U,B),v=Math.abs(S)>2e-4?S*Ut:0,x=yt?1/(yt<0?-yt:yt):0),i.svg&&(q=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!Nr(ht(t,z)),q&&t.setAttribute("transform",q))),Math.abs(v)>90&&Math.abs(v)<270&&(n?(d*=-1,v+=h<=0?180:-180,h+=h<=0?180:-180):(p*=-1,v+=v<=0?180:-180)),e=e||i.uncache,i.x=f-((i.xPercent=f&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-f)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+s,i.y=_-((i.yPercent=_&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-_)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+s,i.z=c+s,i.scaleX=N(d),i.scaleY=N(p),i.rotation=N(h)+a,i.rotationX=N(m)+a,i.rotationY=N(y)+a,i.skewX=v+a,i.skewY=T+a,i.transformPerspective=x+s,(i.zOrigin=parseFloat(l.split(" ")[2])||!e&&i.zOrigin||0)&&(r[rt]=ze(l)),i.xOffset=i.yOffset=0,i.force3D=it.force3D,i.renderTransform=i.svg?Ts:Rr?Ir:vs,i.uncache=0,i},ze=function(t){return(t=t.split(" "))[0]+" "+t[1]},xi=function(t,e,i){var r=G(e);return N(parseFloat(e)+parseFloat(Dt(t,"x",i+"px",r)))+r},vs=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Ir(t,e)},Vt="0deg",de="0px",Ht=") ",Ir=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,a=i.y,u=i.z,l=i.rotation,f=i.rotationY,_=i.rotationX,c=i.skewX,d=i.skewY,p=i.scaleX,h=i.scaleY,m=i.transformPerspective,y=i.force3D,v=i.target,T=i.zOrigin,x="",g=y==="auto"&&t&&t!==1||y===!0;if(T&&(_!==Vt||f!==Vt)){var w=parseFloat(f)*te,k=Math.sin(w),S=Math.cos(w),b;w=parseFloat(_)*te,b=Math.cos(w),s=xi(v,s,k*b*-T),a=xi(v,a,-Math.sin(w)*-T),u=xi(v,u,S*b*-T+T)}m!==de&&(x+="perspective("+m+Ht),(r||n)&&(x+="translate("+r+"%, "+n+"%) "),(g||s!==de||a!==de||u!==de)&&(x+=u!==de||g?"translate3d("+s+", "+a+", "+u+") ":"translate("+s+", "+a+Ht),l!==Vt&&(x+="rotate("+l+Ht),f!==Vt&&(x+="rotateY("+f+Ht),_!==Vt&&(x+="rotateX("+_+Ht),(c!==Vt||d!==Vt)&&(x+="skew("+c+", "+d+Ht),(p!==1||h!==1)&&(x+="scale("+p+", "+h+Ht),v.style[z]=x||"translate(0, 0)"},Ts=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,a=i.y,u=i.rotation,l=i.skewX,f=i.skewY,_=i.scaleX,c=i.scaleY,d=i.target,p=i.xOrigin,h=i.yOrigin,m=i.xOffset,y=i.yOffset,v=i.forceCSS,T=parseFloat(s),x=parseFloat(a),g,w,k,S,b;u=parseFloat(u),l=parseFloat(l),f=parseFloat(f),f&&(f=parseFloat(f),l+=f,u+=f),u||l?(u*=te,l*=te,g=Math.cos(u)*_,w=Math.sin(u)*_,k=Math.sin(u-l)*-c,S=Math.cos(u-l)*c,l&&(f*=te,b=Math.tan(l-f),b=Math.sqrt(1+b*b),k*=b,S*=b,f&&(b=Math.tan(f),b=Math.sqrt(1+b*b),g*=b,w*=b)),g=N(g),w=N(w),k=N(k),S=N(S)):(g=_,S=c,w=k=0),(T&&!~(s+"").indexOf("px")||x&&!~(a+"").indexOf("px"))&&(T=Dt(d,"x",s,"px"),x=Dt(d,"y",a,"px")),(p||h||m||y)&&(T=N(T+p-(p*g+h*k)+m),x=N(x+h-(p*w+h*S)+y)),(r||n)&&(b=d.getBBox(),T=N(T+r/100*b.width),x=N(x+n/100*b.height)),b="matrix("+g+","+w+","+k+","+S+","+T+","+x+")",d.setAttribute("transform",b),v&&(d.style[z]=b)},xs=function(t,e,i,r,n){var s=360,a=H(n),u=parseFloat(n)*(a&&~n.indexOf("rad")?Ut:1),l=u-r,f=r+l+"deg",_,c;return a&&(_=n.split("_")[1],_==="short"&&(l%=s,l!==l%(s/2)&&(l+=l<0?s:-s)),_==="cw"&&l<0?l=(l+s*xr)%s-~~(l/s)*s:_==="ccw"&&l>0&&(l=(l-s*xr)%s-~~(l/s)*s)),t._pt=c=new Z(t._pt,e,i,r,l,ns),c.e=f,c.u="deg",t._props.push(i),c},Pr=function(t,e){for(var i in e)t[i]=e[i];return t},bs=function(t,e,i){var r=Pr({},i._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=i.style,a,u,l,f,_,c,d,p;r.svg?(l=i.getAttribute("transform"),i.setAttribute("transform",""),s[z]=e,a=me(i,1),Yt(i,z),i.setAttribute("transform",l)):(l=getComputedStyle(i)[z],s[z]=e,a=me(i,1),s[z]=l);for(u in wt)l=r[u],f=a[u],l!==f&&n.indexOf(u)<0&&(d=G(l),p=G(f),_=d!==p?Dt(i,u,l,p):parseFloat(l),c=parseFloat(f),t._pt=new Z(t._pt,a,u,_,c-_,bi),t._pt.u=p||0,t._props.push(u));Pr(a,r)};K("padding,margin,Width,Radius",function(o,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?o+a:"border"+a+o});Le[t>1?"border"+o:o]=function(a,u,l,f,_){var c,d;if(arguments.length<4)return c=s.map(function(p){return bt(a,p,l)}),d=c.join(" "),d.split(c[0]).length===5?c[0]:d;c=(f+"").split(" "),d={},s.forEach(function(p,h){return d[p]=c[h]=c[h]||c[(h-1)/2|0]}),a.init(u,d,_)}});var Ei={name:"css",register:ki,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,r,n){var s=this._props,a=t.style,u=i.vars.startAt,l,f,_,c,d,p,h,m,y,v,T,x,g,w,k,S;Mi||ki(),this.styles=this.styles||Ar(t),S=this.styles.props,this.tween=i;for(h in e)if(h!=="autoRound"&&(f=e[h],!(J[h]&&pi(h,e,i,r,t,n)))){if(d=typeof f,p=Le[h],d==="function"&&(f=f.call(i,r,t,n),d=typeof f),d==="string"&&~f.indexOf("random(")&&(f=Zt(f)),p)p(this,t,h,f,i)&&(k=1);else if(h.substr(0,2)==="--")l=(getComputedStyle(t).getPropertyValue(h)+"").trim(),f+="",Tt.lastIndex=0,Tt.test(l)||(m=G(l),y=G(f)),y?m!==y&&(l=Dt(t,h,l,y)+y):m&&(f+=m),this.add(a,"setProperty",l,f,r,n,0,0,h),s.push(h),S.push(h,0,a[h]);else if(d!=="undefined"){if(u&&h in u?(l=typeof u[h]=="function"?u[h].call(i,r,t,n):u[h],H(l)&&~l.indexOf("random(")&&(l=Zt(l)),G(l+"")||l==="auto"||(l+=it.units[h]||G(bt(t,h))||""),(l+"").charAt(1)==="="&&(l=bt(t,h))):l=bt(t,h),c=parseFloat(l),v=d==="string"&&f.charAt(1)==="="&&f.substr(0,2),v&&(f=f.substr(2)),_=parseFloat(f),h in gt&&(h==="autoAlpha"&&(c===1&&bt(t,"visibility")==="hidden"&&_&&(c=0),S.push("visibility",0,a.visibility),Et(this,a,"visibility",c?"inherit":"hidden",_?"inherit":"hidden",!_)),h!=="scale"&&h!=="transform"&&(h=gt[h],~h.indexOf(",")&&(h=h.split(",")[0]))),T=h in wt,T){if(this.styles.save(h),d==="string"&&f.substring(0,6)==="var(--"&&(f=ht(t,f.substring(4,f.indexOf(")"))),_=parseFloat(f)),x||(g=t._gsap,g.renderTransform&&!e.parseTransform||me(t,e.parseTransform),w=e.smoothOrigin!==!1&&g.smooth,x=this._pt=new Z(this._pt,a,z,0,1,g.renderTransform,g,0,-1),x.dep=1),h==="scale")this._pt=new Z(this._pt,g,"scaleY",g.scaleY,(v?It(g.scaleY,v+_):_)-g.scaleY||0,bi),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){S.push(rt,0,a[rt]),f=gs(f),g.svg?Si(t,f,0,w,0,this):(y=parseFloat(f.split(" ")[2])||0,y!==g.zOrigin&&Et(this,g,"zOrigin",g.zOrigin,y),Et(this,a,h,ze(l),ze(f)));continue}else if(h==="svgOrigin"){Si(t,f,1,w,0,this);continue}else if(h in Fr){xs(this,g,h,c,v?It(c,v+f):f);continue}else if(h==="smoothOrigin"){Et(this,g,"smooth",g.smooth,f);continue}else if(h==="force3D"){g[h]=f;continue}else if(h==="transform"){bs(this,f,t);continue}}else h in a||(h=ee(h)||h);if(T||(_||_===0)&&(c||c===0)&&!rs.test(f)&&h in a)m=(l+"").substr((c+"").length),_||(_=0),y=G(f)||(h in it.units?it.units[h]:m),m!==y&&(c=Dt(t,h,l,y)),this._pt=new Z(this._pt,T?g:a,h,c,(v?It(c,v+_):_)-c,!T&&(y==="px"||h==="zIndex")&&e.autoRound!==!1?as:bi),this._pt.u=y||0,m!==y&&y!=="%"&&(this._pt.b=l,this._pt.r=ss);else if(h in a)ms.call(this,t,h,l,v?v+f:f);else if(h in t)this.add(t,h,l||t[h],v?v+f:f,r,n);else if(h!=="parseTransform"){Ce(h,f);continue}T||(h in a?S.push(h,0,a[h]):typeof t[h]=="function"?S.push(h,2,t[h]()):S.push(h,1,l||t[h])),s.push(h)}}k&&Ti(this)},render:function(t,e){if(e.tween._time||!Oi())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:bt,aliases:gt,getSetter:function(t,e,i){var r=gt[e];return r&&r.indexOf(",")<0&&(e=r),e in wt&&e!==rt&&(t._gsap.x||bt(t,"x"))?i&&Tr===i?e==="scale"?fs:ls:(Tr=i||{})&&(e==="scale"?hs:_s):t.style&&!Pe(t.style[e])?os:~e.indexOf("-")?us:Re(t,e)},core:{_removeProperty:Yt,_getMatrix:Ci}};$.utils.checkPrefix=ee;$.core.getStyleSaver=Ar;(function(o,t,e,i){var r=K(o+","+t+","+e,function(n){wt[n]=1});K(t,function(n){it.units[n]="deg",Fr[n]=1}),gt[r[13]]=o+","+t,K(i,function(n){var s=n.split(":");gt[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");K("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(o){it.units[o]="px"});$.registerPlugin(Ei);var j=$.registerPlugin(Ei)||$,Vs=j.core.Tween;var Ne=!1;var nt=null,Fe="light",ge=[{name:"solutions",width:1026,height:668,isCurrent:!1},{name:"teams",width:262,height:354,isCurrent:!1},{name:"resources",width:546,height:354,isCurrent:!1},{name:"company",width:436,height:354,isCurrent:!1}],ct=()=>({dropdownOverlay:document.querySelector('[data-nav-element="overlay"]'),navItems:document.querySelectorAll('[data-nav-item="link"]'),navItemsWrapper:document.querySelectorAll('[data-nav-animation="links"]'),dropdownMover:document.querySelector('[data-nav-item="dropdown-mover"]'),dropdownItems:document.querySelector('[data-nav-item="dropdown-mover"]'),tabLinks:document.querySelectorAll("[data-tab-link]"),tabContents:document.querySelectorAll("[data-tab-content]"),navigationModeElement:document.querySelector("[navigation-mode]"),navElements:document.querySelectorAll("[style-navigation]"),mover:document.querySelector('[data-nav-element="mover"]'),overlay:document.querySelector('[data-nav-element="overlay"]'),wrapper:document.querySelector('[data-nav-element="wrapper"]'),dropdownContents:document.querySelectorAll("[data-desktop-content]"),navlinks:document.querySelectorAll("[data-desktop-navlink]")});document.addEventListener("DOMContentLoaded",()=>{if(window.innerWidth>991){let o=ct();ws(),ks(o.tabLinks,o.tabContents),Ss(o.navItemsWrapper),Ms(o.navItems)}});function ws(){Fe=ct().navigationModeElement?.getAttribute("navigation-mode")||"light",Fe==="light"?console.log("Light mode is enabled \u{1F525}"):Fe==="dark"?(Hr(),console.log("Dark mode is enabled")):console.log("Invalid navigation mode")}function Hr(){ct().navElements.forEach(t=>{switch(t.getAttribute("style-navigation")){case"navbg":t.style.backgroundColor="black";break;case"navlogo":t.style.color="white";break;case"navlink":t.style.color="white";break;case"button-primary":t.style.backgroundColor="white",t.style.color="black";break;case"button-secondary":t.style.color="white";break}})}function Ur(){ct().navElements.forEach(t=>{switch(t.getAttribute("style-navigation")){case"navbg":t.style.backgroundColor="white";break;case"navlogo":t.style.color="black";break;case"navlink":t.style.color="black";break;case"button-primary":t.style.backgroundColor="black",t.style.color="white";break;case"button-secondary":t.style.color="black";break}})}function ks(o,t){if(o.length>0){let e=o[0].getAttribute("data-tab-link");o[0].setAttribute("data-tab-link-active","true"),t.forEach(i=>{i.setAttribute("data-tab-content-active",i.getAttribute("data-tab-content")===e?"true":"false")}),o.forEach(i=>{i.addEventListener("mouseover",function(){let r=this.getAttribute("data-tab-link");o.forEach(n=>n.setAttribute("data-tab-link-active","false")),this.setAttribute("data-tab-link-active","true"),t.forEach(n=>{n.setAttribute("data-tab-content-active",n.getAttribute("data-tab-content")===r?"true":"false")})})})}}function Ss(o){o.forEach(t=>{t.addEventListener("mouseleave",()=>{Ne=!1,Fe==="dark"?Hr():Ur(),Ps()})})}function Ms(o){o.forEach(t=>{t.addEventListener("mouseenter",function(){let e=parseInt(this.getAttribute("data-nav-link")||"0",10);Ne?Br(this,e):(Br(this,e),Ne=!0,Ur())})})}function Br(o,t){nt&&nt.kill(),Ne?(Vr(t),Ds(t),Cs(o,t)):(Vr(t),As(t),Es(o,t),Os(t))}function Os(o){let t=ct(),e=ge[o].height;t.wrapper.style.display="block",t.overlay.style.display="block",j.killTweensOf([t.mover,t.overlay]),nt=j.timeline(),nt.to(t.overlay,{opacity:1,duration:.3,ease:"power2.out"}),nt.to(t.mover,{height:`${e}px`,duration:.4,ease:"power2.out"},"-=0.2")}function Ps(){let o=ct();nt&&nt.kill(),nt=j.timeline(),nt.to(o.mover,{height:0,duration:.3,ease:"power2.in"}),nt.to(o.overlay,{opacity:0,duration:.3,ease:"power2.out"},"-=0.1"),nt.to(o.navlinks,{opacity:1,duration:.2},"-=0.2"),nt.call(()=>{o.wrapper.style.display="none",o.overlay.style.display="none",o.dropdownContents.forEach(t=>{t.style.display="none",t.style.opacity="0"})})}function Cs(o,t){let e=ct(),i=ge[t].height,r=ge[t].width,n=o.getBoundingClientRect(),s=o.parentElement.getBoundingClientRect(),a=n.left-s.left;j.killTweensOf(e.mover),nt=j.timeline(),nt.to(e.mover,{x:a,width:`${r}px`,height:`${i}px`,duration:.2,ease:"power2.out"})}function Es(o,t){let e=ct(),i=ge[t].height,r=ge[t].width,n=o.getBoundingClientRect(),s=o.parentElement.getBoundingClientRect(),a=n.left-s.left;j.set(e.mover,{x:a,height:"0px",width:`${r}px`})}function Ds(o){let t=ct();j.killTweensOf(t.dropdownContents),j.timeline().to(t.dropdownContents,{opacity:0,duration:.15,onComplete:()=>{t.dropdownContents.forEach(r=>{r.style.display="none"});let i=t.dropdownContents[o];i&&(o===0||o===2||o===3?i.style.display="grid":i.style.display="block",j.to(i,{opacity:1,duration:.15}))}})}function As(o){let t=ct();t.dropdownContents.forEach(i=>{i.style.opacity="0",i.style.display="none"});let e=t.dropdownContents[o];e&&(o===0||o===2||o===3?e.style.display="grid":e.style.display="block",j.to(e,{opacity:1,duration:.2,delay:.1}))}function Vr(o){let t=ct(),e=t.navlinks[o];j.killTweensOf(t.navlinks),j.to(t.navlinks,{opacity:.5,duration:.15}),j.to(e,{opacity:1,duration:.15})}})();
|
|
1
|
+
"use strict";(()=>{function vt(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function Bi(o,t){o.prototype=Object.create(t.prototype),o.prototype.constructor=o,o.__proto__=t}var it={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Wt={duration:.5,overwrite:!1,delay:0},ii,W,R,lt=1e8,C=1/lt,Xe=Math.PI*2,qr=Xe/4,Yr=0,Vi=Math.sqrt,Xr=Math.cos,Wr=Math.sin,H=function(t){return typeof t=="string"},F=function(t){return typeof t=="function"},xt=function(t){return typeof t=="number"},Pe=function(t){return typeof t>"u"},mt=function(t){return typeof t=="object"},et=function(t){return t!==!1},ri=function(){return typeof window<"u"},ve=function(t){return F(t)||H(t)},Hi=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Q=Array.isArray,We=/(?:-?\.?\d|\.)+/gi,ni=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Nt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Ie=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,si=/[+-]=-?[.\d]+/,Ui=/[^,'"\[\]\s]+/gi,Gr=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,L,dt,Ge,ai,at={},we={},qi,Yi=function(t){return(we=Gt(t,at))&&$},Ce=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},le=function(t,e){return!e&&console.warn(t)},Xi=function(t,e){return t&&(at[t]=e)&&we&&(we[t]=e)||at},fe=function(){return 0},Qr={suppressEvents:!0,isStart:!0,kill:!1},Te={suppressEvents:!0,kill:!1},$r={suppressEvents:!0},oi={},St=[],Qe={},Wi,J={},Be={},Ai=30,xe=[],ui="",li=function(t){var e=t[0],i,r;if(mt(e)||F(e)||(t=[t]),!(i=(e._gsap||{}).harness)){for(r=xe.length;r--&&!xe[r].targetTest(e););i=xe[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new ci(t[r],i)))||t.splice(r,1);return t},Mt=function(t){return t._gsap||li(ft(t))[0]._gsap},fi=function(t,e,i){return(i=t[e])&&F(i)?t[e]():Pe(i)&&t.getAttribute&&t.getAttribute(e)||i},K=function(t,e){return(t=t.split(",")).forEach(e)||t},N=function(t){return Math.round(t*1e5)/1e5||0},V=function(t){return Math.round(t*1e7)/1e7||0},It=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},Kr=function(t,e){for(var i=e.length,r=0;t.indexOf(e[r])<0&&++r<i;);return r<i},ke=function(){var t=St.length,e=St.slice(0),i,r;for(Qe={},St.length=0,i=0;i<t;i++)r=e[i],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},hi=function(t){return!!(t._initted||t._startAt||t.add)},Gi=function(t,e,i,r){St.length&&!W&&ke(),t.render(e,i,r||!!(W&&e<0&&hi(t))),St.length&&!W&&ke()},Qi=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(Ui).length<2?e:H(t)?t.trim():t},$i=function(t){return t},ot=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},Zr=function(t){return function(e,i){for(var r in i)r in e||r==="duration"&&t||r==="ease"||(e[r]=i[r])}},Gt=function(t,e){for(var i in e)t[i]=e[i];return t},Ri=function o(t,e){for(var i in e)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(t[i]=mt(e[i])?o(t[i]||(t[i]={}),e[i]):e[i]);return t},Se=function(t,e){var i={},r;for(r in t)r in e||(i[r]=t[r]);return i},ae=function(t){var e=t.parent||L,i=t.keyframes?Zr(Q(t.keyframes)):ot;if(et(t.inherit))for(;e;)i(t,e.vars.defaults),e=e.parent||e._dp;return t},jr=function(t,e){for(var i=t.length,r=i===e.length;r&&i--&&t[i]===e[i];);return i<0},Ki=function(t,e,i,r,n){i===void 0&&(i="_first"),r===void 0&&(r="_last");var s=t[r],a;if(n)for(a=e[n];s&&s[n]>a;)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},Ee=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},Ot=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},Jr=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},$e=function(t,e,i,r){return t._startAt&&(W?t._startAt.revert(Te):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},tn=function o(t){return!t||t._ts&&o(t.parent)},Li=function(t){return t._repeat?Qt(t._tTime,t=t.duration()+t._rDelay)*t:0},Qt=function(t,e){var i=Math.floor(t=V(t/e));return t&&i===t?i-1:i},Me=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},De=function(t){return t._end=V(t._start+(t._tDur/Math.abs(t._ts||t._rts||C)||0))},Ae=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=V(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),De(t),i._dirty||Lt(i,t)),t},Zi=function(t,e){var i;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(i=Me(t.rawTime(),e),(!e._dur||ce(0,e.totalDuration(),i)-e._tTime>C)&&e.render(i,!0)),Lt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(i=t;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;t._zTime=-C}},pt=function(t,e,i,r){return e.parent&&Ot(e),e._start=V((xt(i)?i:i||t!==L?ut(t,i,e):t._time)+e._delay),e._end=V(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Ki(t,e,"_first","_last",t._sort?"_start":0),Ke(e)||(t._recent=e),r||Zi(t,e),t._ts<0&&Ae(t,t._tTime),t},ji=function(t,e){return(at.ScrollTrigger||Ce("scrollTrigger",e))&&at.ScrollTrigger.create(e,t)},Ji=function(t,e,i,r,n){if(mi(t,e,n),!t._initted)return 1;if(!i&&t._pt&&!W&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&Wi!==tt.frame)return St.push(t),t._lazy=[n,r],1},en=function o(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||o(e))},Ke=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},rn=function(t,e,i,r){var n=t.ratio,s=e<0||!e&&(!t._start&&en(t)&&!(!t._initted&&Ke(t))||(t._ts<0||t._dp._ts<0)&&!Ke(t))?0:1,a=t._rDelay,u=0,l,f,_;if(a&&t._repeat&&(u=ce(0,t._tDur,e),f=Qt(u,a),t._yoyo&&f&1&&(s=1-s),f!==Qt(t._tTime,a)&&(n=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==n||W||r||t._zTime===C||!e&&t._zTime){if(!t._initted&&Ji(t,e,r,i,u))return;for(_=t._zTime,t._zTime=e||(i?C:0),i||(i=e&&!_),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=u,l=t._pt;l;)l.r(s,l.d),l=l._next;e<0&&$e(t,e,i,!0),t._onUpdate&&!i&&st(t,"onUpdate"),u&&t._repeat&&!i&&t.parent&&st(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(s&&Ot(t,1),!i&&!W&&(st(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},nn=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._start<e)return r;r=r._prev}},$t=function(t,e,i,r){var n=t._repeat,s=V(e)||0,a=t._tTime/t._tDur;return a&&!r&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:V(s*(n+1)+t._rDelay*n):s,a>0&&!r&&Ae(t,t._tTime=t._tDur*a),t.parent&&De(t),i||Lt(t.parent,t),t},zi=function(t){return t instanceof X?Lt(t):$t(t,t._dur)},sn={_start:0,endTime:fe,totalDuration:fe},ut=function o(t,e,i){var r=t.labels,n=t._recent||sn,s=t.duration()>=lt?n.endTime(!1):t._dur,a,u,l;return H(e)&&(isNaN(e)||e in r)?(u=e.charAt(0),l=e.substr(-1)==="%",a=e.indexOf("="),u==="<"||u===">"?(a>=0&&(e=e.replace(/=/,"")),(u==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(e.substr(1))||0)*(l?(a<0?n:i).totalDuration()/100:1)):a<0?(e in r||(r[e]=s),r[e]):(u=parseFloat(e.charAt(a-1)+e.substr(a+1)),l&&i&&(u=u/100*(Q(i)?i[0]:i).totalDuration()),a>1?o(t,e.substr(0,a-1),i)+u:s+u)):e==null?s:+e},oe=function(t,e,i){var r=xt(e[1]),n=(r?2:1)+(t<2?0:1),s=e[n],a,u;if(r&&(s.duration=e[1]),s.parent=i,t){for(a=s,u=i;u&&!("immediateRender"in a);)a=u.vars.defaults||{},u=et(u.vars.inherit)&&u.parent;s.immediateRender=et(a.immediateRender),t<2?s.runBackwards=1:s.startAt=e[n-1]}return new I(e[0],s,e[n+1])},Pt=function(t,e){return t||t===0?e(t):e},ce=function(t,e,i){return i<t?t:i>e?e:i},G=function(t,e){return!H(t)||!(e=Gr.exec(t))?"":e[1]},an=function(t,e,i){return Pt(i,function(r){return ce(t,e,r)})},Ze=[].slice,tr=function(t,e){return t&&mt(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&mt(t[0]))&&!t.nodeType&&t!==dt},on=function(t,e,i){return i===void 0&&(i=[]),t.forEach(function(r){var n;return H(r)&&!e||tr(r,1)?(n=i).push.apply(n,ft(r)):i.push(r)})||i},ft=function(t,e,i){return R&&!e&&R.selector?R.selector(t):H(t)&&!i&&(Ge||!Kt())?Ze.call((e||ai).querySelectorAll(t),0):Q(t)?on(t,i):tr(t)?Ze.call(t,0):t?[t]:[]},je=function(t){return t=ft(t)[0]||le("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return ft(e,i.querySelectorAll?i:i===t?le("Invalid scope")||ai.createElement("div"):t)}},er=function(t){return t.sort(function(){return .5-Math.random()})},ir=function(t){if(F(t))return t;var e=mt(t)?t:{each:t},i=zt(e.ease),r=e.from||0,n=parseFloat(e.base)||0,s={},a=r>0&&r<1,u=isNaN(r)||a,l=e.axis,f=r,_=r;return H(r)?f=_={center:.5,edges:.5,end:1}[r]||0:!a&&u&&(f=r[0],_=r[1]),function(c,d,p){var h=(p||e).length,m=s[h],y,v,T,x,g,w,k,S,b;if(!m){if(b=e.grid==="auto"?0:(e.grid||[1,lt])[1],!b){for(k=-lt;k<(k=p[b++].getBoundingClientRect().left)&&b<h;);b<h&&b--}for(m=s[h]=[],y=u?Math.min(b,h)*f-.5:r%b,v=b===lt?0:u?h*_/b-.5:r/b|0,k=0,S=lt,w=0;w<h;w++)T=w%b-y,x=v-(w/b|0),m[w]=g=l?Math.abs(l==="y"?x:T):Vi(T*T+x*x),g>k&&(k=g),g<S&&(S=g);r==="random"&&er(m),m.max=k-S,m.min=S,m.v=h=(parseFloat(e.amount)||parseFloat(e.each)*(b>h?h-1:l?l==="y"?h/b:b:Math.max(b,h/b))||0)*(r==="edges"?-1:1),m.b=h<0?n-h:n,m.u=G(e.amount||e.each)||0,i=i&&h<0?hr(i):i}return h=(m[c]-m.min)/m.max||0,V(m.b+(i?i(h):h)*m.v)+m.u}},Je=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var r=V(Math.round(parseFloat(i)/t)*t*e);return(r-r%1)/e+(xt(i)?0:G(i))}},rr=function(t,e){var i=Q(t),r,n;return!i&&mt(t)&&(r=i=t.radius||lt,t.values?(t=ft(t.values),(n=!xt(t[0]))&&(r*=r)):t=Je(t.increment)),Pt(e,i?F(t)?function(s){return n=t(s),Math.abs(n-s)<=r?n:s}:function(s){for(var a=parseFloat(n?s.x:s),u=parseFloat(n?s.y:0),l=lt,f=0,_=t.length,c,d;_--;)n?(c=t[_].x-a,d=t[_].y-u,c=c*c+d*d):c=Math.abs(t[_]-a),c<l&&(l=c,f=_);return f=!r||l<=r?t[f]:s,n||f===s||xt(s)?f:f+G(s)}:Je(t))},nr=function(t,e,i,r){return Pt(Q(t)?!e:i===!0?!!(i=0):!r,function(){return Q(t)?t[~~(Math.random()*t.length)]:(i=i||1e-5)&&(r=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((t-i/2+Math.random()*(e-t+i*.99))/i)*i*r)/r})},un=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(r){return e.reduce(function(n,s){return s(n)},r)}},ln=function(t,e){return function(i){return t(parseFloat(i))+(e||G(i))}},fn=function(t,e,i){return ar(t,e,0,1,i)},sr=function(t,e,i){return Pt(i,function(r){return t[~~e(r)]})},hn=function o(t,e,i){var r=e-t;return Q(t)?sr(t,o(0,t.length),e):Pt(i,function(n){return(r+(n-t)%r)%r+t})},_n=function o(t,e,i){var r=e-t,n=r*2;return Q(t)?sr(t,o(0,t.length-1),e):Pt(i,function(s){return s=(n+(s-t)%n)%n||0,t+(s>r?n-s:s)})},Zt=function(t){for(var e=0,i="",r,n,s,a;~(r=t.indexOf("random(",e));)s=t.indexOf(")",r),a=t.charAt(r+7)==="[",n=t.substr(r+7,s-r-7).match(a?Ui:We),i+=t.substr(e,r-e)+nr(a?n:+n[0],a?0:+n[1],+n[2]||1e-5),e=s+1;return i+t.substr(e,t.length-e)},ar=function(t,e,i,r,n){var s=e-t,a=r-i;return Pt(n,function(u){return i+((u-t)/s*a||0)})},cn=function o(t,e,i,r){var n=isNaN(t+e)?0:function(d){return(1-d)*t+d*e};if(!n){var s=H(t),a={},u,l,f,_,c;if(i===!0&&(r=1)&&(i=null),s)t={p:t},e={p:e};else if(Q(t)&&!Q(e)){for(f=[],_=t.length,c=_-2,l=1;l<_;l++)f.push(o(t[l-1],t[l]));_--,n=function(p){p*=_;var h=Math.min(c,~~p);return f[h](p-h)},i=e}else r||(t=Gt(Q(t)?[]:{},t));if(!f){for(u in e)di.call(a,t,u,"get",e[u]);n=function(p){return vi(p,a)||(s?t.p:t)}}}return Pt(i,n)},Fi=function(t,e,i){var r=t.labels,n=lt,s,a,u;for(s in r)a=r[s]-e,a<0==!!i&&a&&n>(a=Math.abs(a))&&(u=s,n=a);return u},st=function(t,e,i){var r=t.vars,n=r[e],s=R,a=t._ctx,u,l,f;if(n)return u=r[e+"Params"],l=r.callbackScope||t,i&&St.length&&ke(),a&&(R=a),f=u?n.apply(l,u):n.call(l),R=s,f},ne=function(t){return Ot(t),t.scrollTrigger&&t.scrollTrigger.kill(!!W),t.progress()<1&&st(t,"onInterrupt"),t},Xt,or=[],ur=function(t){if(t)if(t=!t.name&&t.default||t,ri()||t.headless){var e=t.name,i=F(t),r=e&&!i&&t.init?function(){this._props=[]}:t,n={init:fe,render:vi,add:di,kill:Cn,modifier:Pn,rawVars:0},s={targetTest:0,get:0,getSetter:Re,aliases:{},register:0};if(Kt(),t!==r){if(J[e])return;ot(r,ot(Se(t,n),s)),Gt(r.prototype,Gt(n,Se(t,s))),J[r.prop=e]=r,t.targetTest&&(xe.push(r),oi[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}Xi(e,r),t.register&&t.register($,r,Z)}else or.push(t)},P=255,se={aqua:[0,P,P],lime:[0,P,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,P],navy:[0,0,128],white:[P,P,P],olive:[128,128,0],yellow:[P,P,0],orange:[P,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[P,0,0],pink:[P,192,203],cyan:[0,P,P],transparent:[P,P,P,0]},Ve=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)*P+.5|0},lr=function(t,e,i){var r=t?xt(t)?[t>>16,t>>8&P,t&P]:0:se.black,n,s,a,u,l,f,_,c,d,p;if(!r){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),se[t])r=se[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&P,r&P,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),r=[t>>16,t>>8&P,t&P]}else if(t.substr(0,3)==="hsl"){if(r=p=t.match(We),!e)u=+r[0]%360/360,l=+r[1]/100,f=+r[2]/100,s=f<=.5?f*(l+1):f+l-f*l,n=f*2-s,r.length>3&&(r[3]*=1),r[0]=Ve(u+1/3,n,s),r[1]=Ve(u,n,s),r[2]=Ve(u-1/3,n,s);else if(~t.indexOf("="))return r=t.match(ni),i&&r.length<4&&(r[3]=1),r}else r=t.match(We)||se.transparent;r=r.map(Number)}return e&&!p&&(n=r[0]/P,s=r[1]/P,a=r[2]/P,_=Math.max(n,s,a),c=Math.min(n,s,a),f=(_+c)/2,_===c?u=l=0:(d=_-c,l=f>.5?d/(2-_-c):d/(_+c),u=_===n?(s-a)/d+(s<a?6:0):_===s?(a-n)/d+2:(n-s)/d+4,u*=60),r[0]=~~(u+.5),r[1]=~~(l*100+.5),r[2]=~~(f*100+.5)),i&&r.length<4&&(r[3]=1),r},fr=function(t){var e=[],i=[],r=-1;return t.split(Tt).forEach(function(n){var s=n.match(Nt)||[];e.push.apply(e,s),i.push(r+=s.length+1)}),e.c=i,e},Ni=function(t,e,i){var r="",n=(t+r).match(Tt),s=e?"hsla(":"rgba(",a=0,u,l,f,_;if(!n)return t;if(n=n.map(function(c){return(c=lr(c,e,1))&&s+(e?c[0]+","+c[1]+"%,"+c[2]+"%,"+c[3]:c.join(","))+")"}),i&&(f=fr(t),u=i.c,u.join(r)!==f.c.join(r)))for(l=t.replace(Tt,"1").split(Nt),_=l.length-1;a<_;a++)r+=l[a]+(~u.indexOf(a)?n.shift()||s+"0,0,0,0)":(f.length?f:n.length?n:i).shift());if(!l)for(l=t.split(Tt),_=l.length-1;a<_;a++)r+=l[a]+n[a];return r+l[_]},Tt=function(){var o="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in se)o+="|"+t+"\\b";return new RegExp(o+")","gi")}(),dn=/hsl[a]?\(/,_i=function(t){var e=t.join(" "),i;if(Tt.lastIndex=0,Tt.test(e))return i=dn.test(e),t[1]=Ni(t[1],i),t[0]=Ni(t[0],i,fr(t[1])),!0},he,tt=function(){var o=Date.now,t=500,e=33,i=o(),r=i,n=1e3/240,s=n,a=[],u,l,f,_,c,d,p=function h(m){var y=o()-r,v=m===!0,T,x,g,w;if((y>t||y<0)&&(i+=y-e),r+=y,g=r-i,T=g-s,(T>0||v)&&(w=++_.frame,c=g-_.time*1e3,_.time=g=g/1e3,s+=T+(T>=n?4:n-T),x=1),v||(u=l(h)),x)for(d=0;d<a.length;d++)a[d](g,c,w,m)};return _={time:0,frame:0,tick:function(){p(!0)},deltaRatio:function(m){return c/(1e3/(m||60))},wake:function(){qi&&(!Ge&&ri()&&(dt=Ge=window,ai=dt.document||{},at.gsap=$,(dt.gsapVersions||(dt.gsapVersions=[])).push($.version),Yi(we||dt.GreenSockGlobals||!dt.gsap&&dt||{}),or.forEach(ur)),f=typeof requestAnimationFrame<"u"&&requestAnimationFrame,u&&_.sleep(),l=f||function(m){return setTimeout(m,s-_.time*1e3+1|0)},he=1,p(2))},sleep:function(){(f?cancelAnimationFrame:clearTimeout)(u),he=0,l=fe},lagSmoothing:function(m,y){t=m||1/0,e=Math.min(y||33,t)},fps:function(m){n=1e3/(m||240),s=_.time*1e3+n},add:function(m,y,v){var T=y?function(x,g,w,k){m(x,g,w,k),_.remove(T)}:m;return _.remove(m),a[v?"unshift":"push"](T),Kt(),T},remove:function(m,y){~(y=a.indexOf(m))&&a.splice(y,1)&&d>=y&&d--},_listeners:a},_}(),Kt=function(){return!he&&tt.wake()},M={},pn=/^[\d.\-M][\d.\-,\s]/,mn=/["']/g,gn=function(t){for(var e={},i=t.substr(1,t.length-3).split(":"),r=i[0],n=1,s=i.length,a,u,l;n<s;n++)u=i[n],a=n!==s-1?u.lastIndexOf(","):u.length,l=u.substr(0,a),e[r]=isNaN(l)?l.replace(mn,"").trim():+l,r=u.substr(a+1).trim();return e},yn=function(t){var e=t.indexOf("(")+1,i=t.indexOf(")"),r=t.indexOf("(",e);return t.substring(e,~r&&r<i?t.indexOf(")",i+1):i)},vn=function(t){var e=(t+"").split("("),i=M[e[0]];return i&&e.length>1&&i.config?i.config.apply(null,~t.indexOf("{")?[gn(e[1])]:yn(t).split(",").map(Qi)):M._CE&&pn.test(t)?M._CE("",t):i},hr=function(t){return function(e){return 1-t(1-e)}},_r=function o(t,e){for(var i=t._first,r;i;)i instanceof X?o(i,e):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==e&&(i.timeline?o(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next},zt=function(t,e){return t&&(F(t)?t:M[t]||vn(t))||e},Bt=function(t,e,i,r){i===void 0&&(i=function(u){return 1-e(1-u)}),r===void 0&&(r=function(u){return u<.5?e(u*2)/2:1-e((1-u)*2)/2});var n={easeIn:e,easeOut:i,easeInOut:r},s;return K(t,function(a){M[a]=at[a]=n,M[s=a.toLowerCase()]=i;for(var u in n)M[s+(u==="easeIn"?".in":u==="easeOut"?".out":".inOut")]=M[a+"."+u]=n[u]}),n},cr=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},He=function o(t,e,i){var r=e>=1?e:1,n=(i||(t?.3:.45))/(e<1?e:1),s=n/Xe*(Math.asin(1/r)||0),a=function(f){return f===1?1:r*Math.pow(2,-10*f)*Wr((f-s)*n)+1},u=t==="out"?a:t==="in"?function(l){return 1-a(1-l)}:cr(a);return n=Xe/n,u.config=function(l,f){return o(t,l,f)},u},Ue=function o(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)}:cr(i);return r.config=function(n){return o(t,n)},r};K("Linear,Quad,Cubic,Quart,Quint,Strong",function(o,t){var e=t<5?t+1:t;Bt(o+",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})});M.Linear.easeNone=M.none=M.Linear.easeIn;Bt("Elastic",He("in"),He("out"),He());(function(o,t){var e=1/t,i=2*e,r=2.5*e,n=function(a){return a<e?o*a*a:a<i?o*Math.pow(a-1.5/t,2)+.75:a<r?o*(a-=2.25/t)*a+.9375:o*Math.pow(a-2.625/t,2)+.984375};Bt("Bounce",function(s){return 1-n(1-s)},n)})(7.5625,2.75);Bt("Expo",function(o){return Math.pow(2,10*(o-1))*o+o*o*o*o*o*o*(1-o)});Bt("Circ",function(o){return-(Vi(1-o*o)-1)});Bt("Sine",function(o){return o===1?1:-Xr(o*qr)+1});Bt("Back",Ue("in"),Ue("out"),Ue());M.SteppedEase=M.steps=at.SteppedEase={config:function(t,e){t===void 0&&(t=1);var i=1/t,r=t+(e?0:1),n=e?1:0,s=1-C;return function(a){return((r*ce(0,s,a)|0)+n)*i}}};Wt.ease=M["quad.out"];K("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(o){return ui+=o+","+o+"Params,"});var ci=function(t,e){this.id=Yr++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:fi,this.set=e?e.getSetter:Re},_e=function(){function o(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,$t(this,+e.duration,1,1),this.data=e.data,R&&(this._ctx=R,R.data.push(this)),he||tt.wake()}var t=o.prototype;return t.delay=function(i){return i||i===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+i-this._delay),this._delay=i,this):this._delay},t.duration=function(i){return arguments.length?this.totalDuration(this._repeat>0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},t.totalDuration=function(i){return arguments.length?(this._dirty=0,$t(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(i,r){if(Kt(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Ae(this,i),!n._dp||n.parent||Zi(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&&i<this._tDur||this._ts<0&&i>0||!this._tDur&&!i)&&pt(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===C||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),Gi(this,i,r)),this},t.time=function(i,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+Li(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)+Li(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?Qt(this._tTime,n)+1:1},t.timeScale=function(i,r){if(!arguments.length)return this._rts===-C?0:this._rts;if(this._rts===i)return this;var n=this.parent&&this._ts?Me(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-C?0:this._rts,this.totalTime(ce(-Math.abs(this._delay),this.totalDuration(),n),r!==!1),De(this),Jr(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):(Kt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==C&&(this._tTime-=C)))),this):this._ps},t.startTime=function(i){if(arguments.length){this._start=i;var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&&pt(r,this,i-this._delay),this}return this._start},t.endTime=function(i){return this._start+(et(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?Me(r.rawTime(i),this):this._tTime:this._tTime},t.revert=function(i){i===void 0&&(i=$r);var r=W;return W=i,hi(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,zi(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(i){if(arguments.length){var r=this._time;return this._rDelay=i,zi(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(ut(this,i),et(r))},t.restart=function(i,r){return this.play().totalTime(i?-this._delay:0,et(r)),this._dur||(this._zTime=-C),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?-C:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-C,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&&n<this.endTime(!0)-C)},t.eventCallback=function(i,r,n){var s=this.vars;return arguments.length>1?(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;return new Promise(function(n){var s=F(i)?i:$i,a=function(){var l=r.then;r.then=null,F(s)&&(s=s(r))&&(s.then||s===r)&&(r.then=l),n(s),r.then=l};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?a():r._prom=a})},t.kill=function(){ne(this)},o}();ot(_e.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:-C,_prom:0,_ps:!1,_rts:1});var X=function(o){Bi(t,o);function t(i,r){var n;return i===void 0&&(i={}),n=o.call(this,i)||this,n.labels={},n.smoothChildTiming=!!i.smoothChildTiming,n.autoRemoveChildren=!!i.autoRemoveChildren,n._sort=et(i.sortChildren),L&&pt(i.parent||L,vt(n),r),i.reversed&&n.reverse(),i.paused&&n.paused(!0),i.scrollTrigger&&ji(vt(n),i.scrollTrigger),n}var e=t.prototype;return e.to=function(r,n,s){return oe(0,arguments,this),this},e.from=function(r,n,s){return oe(1,arguments,this),this},e.fromTo=function(r,n,s,a){return oe(2,arguments,this),this},e.set=function(r,n,s){return n.duration=0,n.parent=this,ae(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new I(r,n,ut(this,s),1),this},e.call=function(r,n,s){return pt(this,I.delayedCall(0,r,n),s)},e.staggerTo=function(r,n,s,a,u,l,f){return s.duration=n,s.stagger=s.stagger||a,s.onComplete=l,s.onCompleteParams=f,s.parent=this,new I(r,s,ut(this,u)),this},e.staggerFrom=function(r,n,s,a,u,l,f){return s.runBackwards=1,ae(s).immediateRender=et(s.immediateRender),this.staggerTo(r,n,s,a,u,l,f)},e.staggerFromTo=function(r,n,s,a,u,l,f,_){return a.startAt=s,ae(a).immediateRender=et(a.immediateRender),this.staggerTo(r,n,a,u,l,f,_)},e.render=function(r,n,s){var a=this._time,u=this._dirty?this.totalDuration():this._tDur,l=this._dur,f=r<=0?0:V(r),_=this._zTime<0!=r<0&&(this._initted||!l),c,d,p,h,m,y,v,T,x,g,w,k;if(this!==L&&f>u&&r>=0&&(f=u),f!==this._tTime||s||_){if(a!==this._time&&l&&(f+=this._time-a,r+=this._time-a),c=f,x=this._start,T=this._ts,y=!T,_&&(l||(a=this._zTime),(r||!n)&&(this._zTime=r)),this._repeat){if(w=this._yoyo,m=l+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(m*100+r,n,s);if(c=V(f%m),f===u?(h=this._repeat,c=l):(g=V(f/m),h=~~g,h&&h===g&&(c=l,h--),c>l&&(c=l)),g=Qt(this._tTime,m),!a&&this._tTime&&g!==h&&this._tTime-g*m-this._dur<=0&&(g=h),w&&h&1&&(c=l-c,k=1),h!==g&&!this._lock){var S=w&&g&1,b=S===(w&&h&1);if(h<g&&(S=!S),a=S?0:f%l?l:f,this._lock=1,this.render(a||(k?0:V(h*m)),n,!l)._lock=0,this._tTime=f,!n&&this.parent&&st(this,"onRepeat"),this.vars.repeatRefresh&&!k&&(this.invalidate()._lock=1),a&&a!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(l=this._dur,u=this._tDur,b&&(this._lock=2,a=S?l:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!k&&this.invalidate()),this._lock=0,!this._ts&&!y)return this;_r(this,k)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=nn(this,V(a),V(c)),v&&(f-=c-(c=v._start))),this._tTime=f,this._time=c,this._act=!T,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=r,a=0),!a&&f&&!n&&!g&&(st(this,"onStart"),this._tTime!==f))return this;if(c>=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&&(f+=this._zTime=-C);break}}d=p}else{d=this._last;for(var O=r<0?r:c;d;){if(p=d._prev,(d._act||O<=d._end)&&d._ts&&v!==d){if(d.parent!==this)return this.render(r,n,s);if(d.render(d._ts>0?(O-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(O-d._start)*d._ts,n,s||W&&hi(d)),c!==this._time||!this._ts&&!y){v=0,p&&(f+=this._zTime=O?-C:C);break}}d=p}}if(v&&!n&&(this.pause(),v.render(c>=a?0:-C)._zTime=c>=a?1:-1,this._ts))return this._start=x,De(this),this.render(r,n,s);this._onUpdate&&!n&&st(this,"onUpdate",!0),(f===u&&this._tTime>=this.totalDuration()||!f&&a)&&(x===this._start||Math.abs(T)!==Math.abs(this._ts))&&(this._lock||((r||!l)&&(f===u&&this._ts>0||!f&&this._ts<0)&&Ot(this,1),!n&&!(r<0&&!a)&&(f||a||!u)&&(st(this,f===u&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(f<u&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(r,n){var s=this;if(xt(n)||(n=ut(this,n,r)),!(r instanceof _e)){if(Q(r))return r.forEach(function(a){return s.add(a,n)}),this;if(H(r))return this.addLabel(r,n);if(F(r))r=I.delayedCall(0,r);else return this}return this!==r?pt(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=-lt);for(var u=[],l=this._first;l;)l._start>=a&&(l instanceof I?n&&u.push(l):(s&&u.push(l),r&&u.push.apply(u,l.getChildren(!0,n,s)))),l=l._next;return u},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 H(r)?this.removeLabel(r):F(r)?this.killTweensOf(r):(r.parent===this&&Ee(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=V(tt.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),o.prototype.totalTime.call(this,r,n),this._forcing=0,this):this._tTime},e.addLabel=function(r,n){return this.labels[r]=ut(this,n),this},e.removeLabel=function(r){return delete this.labels[r],this},e.addPause=function(r,n,s){var a=I.delayedCall(0,n||fe,s);return a.data="isPause",this._hasPause=1,pt(this,a,ut(this,r))},e.removePause=function(r){var n=this._first;for(r=ut(this,r);n;)n._start===r&&n.data==="isPause"&&Ot(n),n=n._next},e.killTweensOf=function(r,n,s){for(var a=this.getTweensOf(r,s),u=a.length;u--;)kt!==a[u]&&a[u].kill(r,n);return this},e.getTweensOf=function(r,n){for(var s=[],a=ft(r),u=this._first,l=xt(n),f;u;)u instanceof I?Kr(u._targets,a)&&(l?(!kt||u._initted&&u._ts)&&u.globalTime(0)<=n&&u.globalTime(u.totalDuration())>n:!n||u.isActive())&&s.push(u):(f=u.getTweensOf(a,n)).length&&s.push.apply(s,f),u=u._next;return s},e.tweenTo=function(r,n){n=n||{};var s=this,a=ut(s,r),u=n,l=u.startAt,f=u.onStart,_=u.onStartParams,c=u.immediateRender,d,p=I.to(s,ot({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:n.duration||Math.abs((a-(l&&"time"in l?l.time:s._time))/s.timeScale())||C,onStart:function(){if(s.pause(),!d){var m=n.duration||Math.abs((a-(l&&"time"in l?l.time:s._time))/s.timeScale());p._dur!==m&&$t(p,m,0,1).render(p._time,!0,!0),d=1}f&&f.apply(p,_||[])}},n));return c?p.render(0):p},e.tweenFromTo=function(r,n,s){return this.tweenTo(n,ot({startAt:{time:ut(this,r)}},s))},e.recent=function(){return this._recent},e.nextLabel=function(r){return r===void 0&&(r=this._time),Fi(this,ut(this,r))},e.previousLabel=function(r){return r===void 0&&(r=this._time),Fi(this,ut(this,r),1)},e.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+C)},e.shiftChildren=function(r,n,s){s===void 0&&(s=0);for(var a=this._first,u=this.labels,l;a;)a._start>=s&&(a._start+=r,a._end+=r),a=a._next;if(n)for(l in u)u[l]>=s&&(u[l]+=r);return Lt(this)},e.invalidate=function(r){var n=this._first;for(this._lock=0;n;)n.invalidate(r),n=n._next;return o.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,u=lt,l,f,_;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-r:r));if(s._dirty){for(_=s.parent;a;)l=a._prev,a._dirty&&a.totalDuration(),f=a._start,f>u&&s._sort&&a._ts&&!s._lock?(s._lock=1,pt(s,a,f-a._delay,1)._lock=0):u=f,f<0&&a._ts&&(n-=f,(!_&&!s._dp||_&&_.smoothChildTiming)&&(s._start+=f/s._ts,s._time-=f,s._tTime-=f),s.shiftChildren(-f,!1,-1/0),u=0),a._end>n&&a._ts&&(n=a._end),a=l;$t(s,s===L&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(r){if(L._ts&&(Gi(L,Me(r,L)),Wi=tt.frame),tt.frame>=Ai){Ai+=it.autoSleep||120;var n=L._first;if((!n||!n._ts)&&it.autoSleep&&tt._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||tt.sleep()}}},t}(_e);ot(X.prototype,{_lock:0,_hasPause:0,_forcing:0});var Tn=function(t,e,i,r,n,s,a){var u=new Z(this._pt,t,e,0,1,yi,null,n),l=0,f=0,_,c,d,p,h,m,y,v;for(u.b=i,u.e=r,i+="",r+="",(y=~r.indexOf("random("))&&(r=Zt(r)),s&&(v=[i,r],s(v,t,e),i=v[0],r=v[1]),c=i.match(Ie)||[];_=Ie.exec(r);)p=_[0],h=r.substring(l,_.index),d?d=(d+1)%5:h.substr(-5)==="rgba("&&(d=1),p!==c[f++]&&(m=parseFloat(c[f-1])||0,u._pt={_next:u._pt,p:h||f===1?h:",",s:m,c:p.charAt(1)==="="?It(m,p)-m:parseFloat(p)-m,m:d&&d<4?Math.round:0},l=Ie.lastIndex);return u.c=l<r.length?r.substring(l,r.length):"",u.fp=a,(si.test(r)||y)&&(u.e=0),this._pt=u,u},di=function(t,e,i,r,n,s,a,u,l,f){F(r)&&(r=r(n||0,t,s));var _=t[e],c=i!=="get"?i:F(_)?l?t[e.indexOf("set")||!F(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():_,d=F(_)?l?Sn:mr:gi,p;if(H(r)&&(~r.indexOf("random(")&&(r=Zt(r)),r.charAt(1)==="="&&(p=It(c,r)+(G(c)||0),(p||p===0)&&(r=p))),!f||c!==r||ti)return!isNaN(c*r)&&r!==""?(p=new Z(this._pt,t,e,+c||0,r-(c||0),typeof _=="boolean"?On:gr,0,d),l&&(p.fp=l),a&&p.modifier(a,this,t),this._pt=p):(!_&&!(e in t)&&Ce(e,r),Tn.call(this,t,e,c,r,d,u||it.stringFilter,l))},xn=function(t,e,i,r,n){if(F(t)&&(t=ue(t,n,e,i,r)),!mt(t)||t.style&&t.nodeType||Q(t)||Hi(t))return H(t)?ue(t,n,e,i,r):t;var s={},a;for(a in t)s[a]=ue(t[a],n,e,i,r);return s},pi=function(t,e,i,r,n,s){var a,u,l,f;if(J[t]&&(a=new J[t]).init(n,a.rawVars?e[t]:xn(e[t],r,n,s,i),i,r,s)!==!1&&(i._pt=u=new Z(i._pt,n,t,0,1,a.render,a,0,a.priority),i!==Xt))for(l=i._ptLookup[i._targets.indexOf(n)],f=a._props.length;f--;)l[a._props[f]]=u;return a},kt,ti,mi=function o(t,e,i){var r=t.vars,n=r.ease,s=r.startAt,a=r.immediateRender,u=r.lazy,l=r.onUpdate,f=r.runBackwards,_=r.yoyoEase,c=r.keyframes,d=r.autoRevert,p=t._dur,h=t._startAt,m=t._targets,y=t.parent,v=y&&y.data==="nested"?y.vars.targets:m,T=t._overwrite==="auto"&&!ii,x=t.timeline,g,w,k,S,b,O,A,E,D,Y,U,B,q;if(x&&(!c||!n)&&(n="none"),t._ease=zt(n,Wt.ease),t._yEase=_?hr(zt(_===!0?n:_,Wt.ease)):0,_&&t._yoyo&&!t._repeat&&(_=t._yEase,t._yEase=t._ease,t._ease=_),t._from=!x&&!!r.runBackwards,!x||c&&!r.stagger){if(E=m[0]?Mt(m[0]).harness:0,B=E&&r[E.prop],g=Se(r,oi),h&&(h._zTime<0&&h.progress(1),e<0&&f&&a&&!d?h.render(-1,!0):h.revert(f&&p?Te:Qr),h._lazy=0),s){if(Ot(t._startAt=I.set(m,ot({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!h&&et(u),startAt:null,delay:0,onUpdate:l&&function(){return st(t,"onUpdate")},stagger:0},s))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(W||!a&&!d)&&t._startAt.revert(Te),a&&p&&e<=0&&i<=0){e&&(t._zTime=e);return}}else if(f&&p&&!h){if(e&&(a=!1),k=ot({overwrite:!1,data:"isFromStart",lazy:a&&!h&&et(u),immediateRender:a,stagger:0,parent:y},g),B&&(k[E.prop]=B),Ot(t._startAt=I.set(m,k)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(W?t._startAt.revert(Te):t._startAt.render(-1,!0)),t._zTime=e,!a)o(t._startAt,C,C);else if(!e)return}for(t._pt=t._ptCache=0,u=p&&et(u)||u&&!p,w=0;w<m.length;w++){if(b=m[w],A=b._gsap||li(m)[w]._gsap,t._ptLookup[w]=Y={},Qe[A.id]&&St.length&&ke(),U=v===m?w:v.indexOf(b),E&&(D=new E).init(b,B||g,t,U,v)!==!1&&(t._pt=S=new Z(t._pt,b,D.name,0,1,D.render,D,0,D.priority),D._props.forEach(function(_t){Y[_t]=S}),D.priority&&(O=1)),!E||B)for(k in g)J[k]&&(D=pi(k,g,t,U,b,v))?D.priority&&(O=1):Y[k]=S=di.call(t,b,k,"get",g[k],U,v,0,r.stringFilter);t._op&&t._op[w]&&t.kill(b,t._op[w]),T&&t._pt&&(kt=t,L.killTweensOf(b,Y,t.globalTime(e)),q=!t.parent,kt=0),t._pt&&u&&(Qe[A.id]=1)}O&&Ti(t),t._onInit&&t._onInit(t)}t._onUpdate=l,t._initted=(!t._op||t._pt)&&!q,c&&e<=0&&x.render(lt,!0,!0)},bn=function(t,e,i,r,n,s,a,u){var l=(t._pt&&t._ptCache||(t._ptCache={}))[e],f,_,c,d;if(!l)for(l=t._ptCache[e]=[],c=t._ptLookup,d=t._targets.length;d--;){if(f=c[d][e],f&&f.d&&f.d._pt)for(f=f.d._pt;f&&f.p!==e&&f.fp!==e;)f=f._next;if(!f)return ti=1,t.vars[e]="+=0",mi(t,a),ti=0,u?le(e+" not eligible for reset"):1;l.push(f)}for(d=l.length;d--;)_=l[d],f=_._pt||_,f.s=(r||r===0)&&!n?r:f.s+(r||0)+s*f.c,f.c=i-f.s,_.e&&(_.e=N(i)+G(_.e)),_.b&&(_.b=f.s+G(_.b))},wn=function(t,e){var i=t[0]?Mt(t[0]).harness:0,r=i&&i.aliases,n,s,a,u;if(!r)return e;n=Gt({},e);for(s in r)if(s in n)for(u=r[s].split(","),a=u.length;a--;)n[u[a]]=n[s];return n},kn=function(t,e,i,r){var n=e.ease||r||"power1.inOut",s,a;if(Q(e))a=i[t]||(i[t]=[]),e.forEach(function(u,l){return a.push({t:l/(e.length-1)*100,v:u,e:n})});else for(s in e)a=i[s]||(i[s]=[]),s==="ease"||a.push({t:parseFloat(t),v:e[s],e:n})},ue=function(t,e,i,r,n){return F(t)?t.call(e,i,r,n):H(t)&&~t.indexOf("random(")?Zt(t):t},dr=ui+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",pr={};K(dr+",id,stagger,delay,duration,paused,scrollTrigger",function(o){return pr[o]=1});var I=function(o){Bi(t,o);function t(i,r,n,s){var a;typeof r=="number"&&(n.duration=r,r=n,n=null),a=o.call(this,s?r:ae(r))||this;var u=a.vars,l=u.duration,f=u.delay,_=u.immediateRender,c=u.stagger,d=u.overwrite,p=u.keyframes,h=u.defaults,m=u.scrollTrigger,y=u.yoyoEase,v=r.parent||L,T=(Q(i)||Hi(i)?xt(i[0]):"length"in r)?[i]:ft(i),x,g,w,k,S,b,O,A;if(a._targets=T.length?li(T):le("GSAP target "+i+" not found. https://gsap.com",!it.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,p||c||ve(l)||ve(f)){if(r=a.vars,x=a.timeline=new X({data:"nested",defaults:h||{},targets:v&&v.data==="nested"?v.vars.targets:T}),x.kill(),x.parent=x._dp=vt(a),x._start=0,c||ve(l)||ve(f)){if(k=T.length,O=c&&ir(c),mt(c))for(S in c)~dr.indexOf(S)&&(A||(A={}),A[S]=c[S]);for(g=0;g<k;g++)w=Se(r,pr),w.stagger=0,y&&(w.yoyoEase=y),A&&Gt(w,A),b=T[g],w.duration=+ue(l,vt(a),g,b,T),w.delay=(+ue(f,vt(a),g,b,T)||0)-a._delay,!c&&k===1&&w.delay&&(a._delay=f=w.delay,a._start+=f,w.delay=0),x.to(b,w,O?O(g,b,T):0),x._ease=M.none;x.duration()?l=f=0:a.timeline=0}else if(p){ae(ot(x.vars.defaults,{ease:"none"})),x._ease=zt(p.ease||r.ease||"none");var E=0,D,Y,U;if(Q(p))p.forEach(function(B){return x.to(T,B,">")}),x.duration();else{w={};for(S in p)S==="ease"||S==="easeEach"||kn(S,p[S],w,p.easeEach);for(S in w)for(D=w[S].sort(function(B,q){return B.t-q.t}),E=0,g=0;g<D.length;g++)Y=D[g],U={ease:Y.e,duration:(Y.t-(g?D[g-1].t:0))/100*l},U[S]=Y.v,x.to(T,U,E),E+=U.duration;x.duration()<l&&x.to({},{duration:l-x.duration()})}}l||a.duration(l=x.duration())}else a.timeline=0;return d===!0&&!ii&&(kt=vt(a),L.killTweensOf(T),kt=0),pt(v,vt(a),n),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(_||!l&&!p&&a._start===V(v._time)&&et(_)&&tn(vt(a))&&v.data!=="nested")&&(a._tTime=-C,a.render(Math.max(0,-f)||0)),m&&ji(vt(a),m),a}var e=t.prototype;return e.render=function(r,n,s){var a=this._time,u=this._tDur,l=this._dur,f=r<0,_=r>u-C&&!f?u:r<C?0:r,c,d,p,h,m,y,v,T,x;if(!l)rn(this,r,n,s);else if(_!==this._tTime||!r||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==f||this._lazy){if(c=_,T=this.timeline,this._repeat){if(h=l+this._rDelay,this._repeat<-1&&f)return this.totalTime(h*100+r,n,s);if(c=V(_%h),_===u?(p=this._repeat,c=l):(m=V(_/h),p=~~m,p&&p===m?(c=l,p--):c>l&&(c=l)),y=this._yoyo&&p&1,y&&(x=this._yEase,c=l-c),m=Qt(this._tTime,h),c===a&&!s&&this._initted&&p===m)return this._tTime=_,this;p!==m&&(T&&this._yEase&&_r(T,y),this.vars.repeatRefresh&&!y&&!this._lock&&c!==h&&this._initted&&(this._lock=s=1,this.render(V(h*p),!0).invalidate()._lock=0))}if(!this._initted){if(Ji(this,f?r:c,s,n,_))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&p!==m))return this;if(l!==this._dur)return this.render(r,n,s)}if(this._tTime=_,this._time=c,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(x||this._ease)(c/l),this._from&&(this.ratio=v=1-v),!a&&_&&!n&&!m&&(st(this,"onStart"),this._tTime!==_))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&&(f&&$e(this,r,n,s),st(this,"onUpdate")),this._repeat&&p!==m&&this.vars.onRepeat&&!n&&this.parent&&st(this,"onRepeat"),(_===this._tDur||!_)&&this._tTime===_&&(f&&!this._onUpdate&&$e(this,r,!0,!0),(r||!l)&&(_===this._tDur&&this._ts>0||!_&&this._ts<0)&&Ot(this,1),!n&&!(f&&!a)&&(_||a||y)&&(st(this,_===u?"onComplete":"onReverseComplete",!0),this._prom&&!(_<u&&this.timeScale()>0)&&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),o.prototype.invalidate.call(this,r)},e.resetTo=function(r,n,s,a,u){he||tt.wake(),this._ts||this.play();var l=Math.min(this._dur,(this._dp._time-this._start)*this._ts),f;return this._initted||mi(this,l),f=this._ease(l/this._dur),bn(this,r,n,s,a,f,l,u)?this.resetTo(r,n,s,a,1):(Ae(this,0),this.parent||Ki(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?ne(this):this.scrollTrigger&&this.scrollTrigger.kill(!!W),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(r,n,kt&&kt.vars.overwrite!==!0)._first||ne(this),this.parent&&s!==this.timeline.totalDuration()&&$t(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,u=r?ft(r):a,l=this._ptLookup,f=this._pt,_,c,d,p,h,m,y;if((!n||n==="all")&&jr(a,u))return n==="all"&&(this._pt=0),ne(this);for(_=this._op=this._op||[],n!=="all"&&(H(n)&&(h={},K(n,function(v){return h[v]=1}),n=h),n=wn(a,n)),y=a.length;y--;)if(~u.indexOf(a[y])){c=l[y],n==="all"?(_[y]=n,p=c,d={}):(d=_[y]=_[y]||{},p=n);for(h in p)m=c&&c[h],m&&((!("kill"in m.d)||m.d.kill(h)===!0)&&Ee(this,m,"_pt"),delete c[h]),d!=="all"&&(d[h]=1)}return this._initted&&!this._pt&&f&&ne(this),this},t.to=function(r,n){return new t(r,n,arguments[2])},t.from=function(r,n){return oe(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 oe(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 L.killTweensOf(r,n,s)},t}(_e);ot(I.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});K("staggerTo,staggerFrom,staggerFromTo",function(o){I[o]=function(){var t=new X,e=Ze.call(arguments,0);return e.splice(o==="staggerFromTo"?5:4,0,0),t[o].apply(t,e)}});var gi=function(t,e,i){return t[e]=i},mr=function(t,e,i){return t[e](i)},Sn=function(t,e,i,r){return t[e](r.fp,i)},Mn=function(t,e,i){return t.setAttribute(e,i)},Re=function(t,e){return F(t[e])?mr:Pe(t[e])&&t.setAttribute?Mn:gi},gr=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},On=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},yi=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)},vi=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},Pn=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},Cn=function(t){for(var e=this._pt,i,r;e;)r=e._next,e.p===t&&!e.op||e.op===t?Ee(this,e,"_pt"):e.dep||(i=1),e=r;return!i},En=function(t,e,i,r){r.mSet(t,e,r.m.call(r.tween,i,r.mt),r)},Ti=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},Z=function(){function o(e,i,r,n,s,a,u,l,f){this.t=i,this.s=n,this.c=s,this.p=r,this.r=a||gr,this.d=u||this,this.set=l||gi,this.pr=f||0,this._next=e,e&&(e._prev=this)}var t=o.prototype;return t.modifier=function(i,r,n){this.mSet=this.mSet||this.set,this.set=En,this.m=i,this.mt=n,this.tween=r},o}();K(ui+"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(o){return oi[o]=1});at.TweenMax=at.TweenLite=I;at.TimelineLite=at.TimelineMax=X;L=new X({sortChildren:!1,defaults:Wt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});it.stringFilter=_i;var Ft=[],be={},Dn=[],Ii=0,An=0,qe=function(t){return(be[t]||Dn).map(function(e){return e()})},ei=function(){var t=Date.now(),e=[];t-Ii>2&&(qe("matchMediaInit"),Ft.forEach(function(i){var r=i.queries,n=i.conditions,s,a,u,l;for(a in r)s=dt.matchMedia(r[a]).matches,s&&(u=1),s!==n[a]&&(n[a]=s,l=1);l&&(i.revert(),u&&e.push(i))}),qe("matchMediaRevert"),e.forEach(function(i){return i.onMatch(i,function(r){return i.add(null,r)})}),Ii=t,qe("matchMedia"))},yr=function(){function o(e,i){this.selector=i&&je(i),this.data=[],this._r=[],this.isReverted=!1,this.id=An++,e&&this.add(e)}var t=o.prototype;return t.add=function(i,r,n){F(i)&&(n=r,r=i,i=F);var s=this,a=function(){var l=R,f=s.selector,_;return l&&l!==s&&l.data.push(s),n&&(s.selector=je(n)),R=s,_=r.apply(s,arguments),F(_)&&s._r.push(_),R=l,s.selector=f,s.isReverted=!1,_};return s.last=a,i===F?a(s,function(u){return s.add(null,u)}):i?s[i]=a:a},t.ignore=function(i){var r=R;R=null,i(this),R=r},t.getTweens=function(){var i=[];return this.data.forEach(function(r){return r instanceof o?i.push.apply(i,r.getTweens()):r instanceof I&&!(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(),u=n.data.length,l;u--;)l=n.data[u],l.data==="isFlip"&&(l.revert(),l.getChildren(!0,!0,!1).forEach(function(f){return a.splice(a.indexOf(f),1)}));for(a.map(function(f){return{g:f._dur||f._delay||f._sat&&!f._sat.vars.immediateRender?f.globalTime(0):-1/0,t:f}}).sort(function(f,_){return _.g-f.g||-1/0}).forEach(function(f){return f.t.revert(i)}),u=n.data.length;u--;)l=n.data[u],l instanceof X?l.data!=="nested"&&(l.scrollTrigger&&l.scrollTrigger.revert(),l.kill()):!(l instanceof I)&&l.revert&&l.revert(i);n._r.forEach(function(f){return f(i,n)}),n.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),r)for(var s=Ft.length;s--;)Ft[s].id===this.id&&Ft.splice(s,1)},t.revert=function(i){this.kill(i||{})},o}(),Rn=function(){function o(e){this.contexts=[],this.scope=e,R&&R.data.push(this)}var t=o.prototype;return t.add=function(i,r,n){mt(i)||(i={matches:i});var s=new yr(0,n||this.scope),a=s.conditions={},u,l,f;R&&!s.selector&&(s.selector=R.selector),this.contexts.push(s),r=s.add("onMatch",r),s.queries=i;for(l in i)l==="all"?f=1:(u=dt.matchMedia(i[l]),u&&(Ft.indexOf(s)<0&&Ft.push(s),(a[l]=u.matches)&&(f=1),u.addListener?u.addListener(ei):u.addEventListener("change",ei)));return f&&r(s,function(_){return s.add(null,_)}),this},t.revert=function(i){this.kill(i||{})},t.kill=function(i){this.contexts.forEach(function(r){return r.kill(i,!0)})},o}(),Oe={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach(function(r){return ur(r)})},timeline:function(t){return new X(t)},getTweensOf:function(t,e){return L.getTweensOf(t,e)},getProperty:function(t,e,i,r){H(t)&&(t=ft(t)[0]);var n=Mt(t||{}).get,s=i?$i:Qi;return i==="native"&&(i=""),t&&(e?s((J[e]&&J[e].get||n)(t,e,i,r)):function(a,u,l){return s((J[a]&&J[a].get||n)(t,a,u,l))})},quickSetter:function(t,e,i){if(t=ft(t),t.length>1){var r=t.map(function(f){return $.quickSetter(f,e,i)}),n=r.length;return function(f){for(var _=n;_--;)r[_](f)}}t=t[0]||{};var s=J[e],a=Mt(t),u=a.harness&&(a.harness.aliases||{})[e]||e,l=s?function(f){var _=new s;Xt._pt=0,_.init(t,i?f+i:f,Xt,0,[t]),_.render(1,_),Xt._pt&&vi(1,Xt)}:a.set(t,u);return s?l:function(f){return l(t,u,i?f+i:f,a,1)}},quickTo:function(t,e,i){var r,n=$.to(t,ot((r={},r[e]="+=0.1",r.paused=!0,r.stagger=0,r),i||{})),s=function(u,l,f){return n.resetTo(e,u,l,f)};return s.tween=n,s},isTweening:function(t){return L.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=zt(t.ease,Wt.ease)),Ri(Wt,t||{})},config:function(t){return Ri(it,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&&!J[a]&&!at[a]&&le(e+" effect requires "+a+" plugin.")}),Be[e]=function(a,u,l){return i(ft(a),ot(u||{},n),l)},s&&(X.prototype[e]=function(a,u,l){return this.add(Be[e](a,mt(u)?u:(l=u)&&{},this),l)})},registerEase:function(t,e){M[t]=zt(e)},parseEase:function(t,e){return arguments.length?zt(t,e):M},getById:function(t){return L.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var i=new X(t),r,n;for(i.smoothChildTiming=et(t.smoothChildTiming),L.remove(i),i._dp=0,i._time=i._tTime=L._time,r=L._first;r;)n=r._next,(e||!(!r._dur&&r instanceof I&&r.vars.onComplete===r._targets[0]))&&pt(i,r,r._start-r._delay),r=n;return pt(L,i,0),i},context:function(t,e){return t?new yr(t,e):R},matchMedia:function(t){return new Rn(t)},matchMediaRefresh:function(){return Ft.forEach(function(t){var e=t.conditions,i,r;for(r in e)e[r]&&(e[r]=!1,i=1);i&&t.revert()})||ei()},addEventListener:function(t,e){var i=be[t]||(be[t]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(t,e){var i=be[t],r=i&&i.indexOf(e);r>=0&&i.splice(r,1)},utils:{wrap:hn,wrapYoyo:_n,distribute:ir,random:nr,snap:rr,normalize:fn,getUnit:G,clamp:an,splitColor:lr,toArray:ft,selector:je,mapRange:ar,pipe:un,unitize:ln,interpolate:cn,shuffle:er},install:Yi,effects:Be,ticker:tt,updateRoot:X.updateRoot,plugins:J,globalTimeline:L,core:{PropTween:Z,globals:Xi,Tween:I,Timeline:X,Animation:_e,getCache:Mt,_removeLinkedListItem:Ee,reverting:function(){return W},context:function(t){return t&&R&&(R.data.push(t),t._ctx=R),R},suppressOverwrites:function(t){return ii=t}}};K("to,from,fromTo,delayedCall,set,killTweensOf",function(o){return Oe[o]=I[o]});tt.add(X.updateRoot);Xt=Oe.to({},{duration:0});var Ln=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},zn=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=Ln(s,r)),s&&s.modifier&&s.modifier(e[r],t,i[n],r))},Ye=function(t,e){return{name:t,headless:1,rawVars:1,init:function(r,n,s){s._onInit=function(a){var u,l;if(H(n)&&(u={},K(n,function(f){return u[f]=1}),n=u),e){u={};for(l in n)u[l]=e(n[l]);n=u}zn(a,n)}}}},$=Oe.registerPlugin({name:"attr",init:function(t,e,i,r,n){var s,a,u;this.tween=i;for(s in e)u=t.getAttribute(s)||"",a=this.add(t,"setAttribute",(u||0)+"",e[s],r,n,0,0,s),a.op=s,a.b=u,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)}},Ye("roundProps",Je),Ye("modifiers"),Ye("snap",rr))||Oe;I.version=X.version=$.version="3.13.0";qi=1;ri()&&Kt();var Fn=M.Power0,Nn=M.Power1,In=M.Power2,Bn=M.Power3,Vn=M.Power4,Hn=M.Linear,Un=M.Quad,qn=M.Cubic,Yn=M.Quart,Xn=M.Quint,Wn=M.Strong,Gn=M.Elastic,Qn=M.Back,$n=M.SteppedEase,Kn=M.Bounce,Zn=M.Sine,jn=M.Expo,Jn=M.Circ;var vr,Ct,Jt,Mi,qt,ts,Tr,Oi,es=function(){return typeof window<"u"},wt={},Ut=180/Math.PI,te=Math.PI/180,jt=Math.atan2,xr=1e8,Pi=/([A-Z])/g,is=/(left|right|width|margin|padding|x)/i,rs=/[\s,\(]\S/,gt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},bi=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},ns=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)},ss=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)},as=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},Cr=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Er=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},os=function(t,e,i){return t.style[e]=i},us=function(t,e,i){return t.style.setProperty(e,i)},ls=function(t,e,i){return t._gsap[e]=i},fs=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},hs=function(t,e,i,r,n){var s=t._gsap;s.scaleX=s.scaleY=i,s.renderTransform(n,s)},_s=function(t,e,i,r,n){var s=t._gsap;s[e]=i,s.renderTransform(n,s)},z="transform",rt=z+"Origin",cs=function o(t,e){var i=this,r=this.target,n=r.style,s=r._gsap;if(t in wt&&n){if(this.tfm=this.tfm||{},t!=="transform")t=gt[t]||t,~t.indexOf(",")?t.split(",").forEach(function(a){return i.tfm[a]=bt(r,a)}):this.tfm[t]=s.x?s[t]:bt(r,t),t===rt&&(this.tfm.zOrigin=s.zOrigin);else return gt.transform.split(",").forEach(function(a){return o.call(i,a,e)});if(this.props.indexOf(z)>=0)return;s.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(rt,e,"")),t=z}(n||e)&&this.props.push(t,e,n[t])},Dr=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},ds=function(){var t=this.props,e=this.target,i=e.style,r=e._gsap,n,s;for(n=0;n<t.length;n+=3)t[n+1]?t[n+1]===2?e[t[n]](t[n+2]):e[t[n]]=t[n+2]:t[n+2]?i[t[n]]=t[n+2]:i.removeProperty(t[n].substr(0,2)==="--"?t[n]:t[n].replace(Pi,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)r[s]=this.tfm[s];r.svg&&(r.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),n=Oi(),(!n||!n.isStart)&&!i[z]&&(Dr(i),r.zOrigin&&i[rt]&&(i[rt]+=" "+r.zOrigin+"px",r.zOrigin=0,r.renderTransform()),r.uncache=1)}},Ar=function(t,e){var i={target:t,props:[],revert:ds,save:cs};return t._gsap||$.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(r){return i.save(r)}),i},Rr,wi=function(t,e){var i=Ct.createElementNS?Ct.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Ct.createElement(t);return i&&i.style?i:Ct.createElement(t)},ht=function o(t,e,i){var r=getComputedStyle(t);return r[e]||r.getPropertyValue(e.replace(Pi,"-$1").toLowerCase())||r.getPropertyValue(e)||!i&&o(t,ee(e)||e,1)||""},br="O,Moz,ms,Ms,Webkit".split(","),ee=function(t,e,i){var r=e||qt,n=r.style,s=5;if(t in n&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(br[s]+t in n););return s<0?null:(s===3?"ms":s>=0?br[s]:"")+t},ki=function(){es()&&window.document&&(vr=window,Ct=vr.document,Jt=Ct.documentElement,qt=wi("div")||{style:{}},ts=wi("div"),z=ee(z),rt=z+"Origin",qt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Rr=!!ee("perspective"),Oi=$.core.reverting,Mi=1)},wr=function(t){var e=t.ownerSVGElement,i=wi("svg",e&&e.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=t.cloneNode(!0),n;r.style.display="block",i.appendChild(r),Jt.appendChild(i);try{n=r.getBBox()}catch{}return i.removeChild(r),Jt.removeChild(i),n},kr=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},Lr=function(t){var e,i;try{e=t.getBBox()}catch{e=wr(t),i=1}return e&&(e.width||e.height)||i||(e=wr(t)),e&&!e.width&&!e.x&&!e.y?{x:+kr(t,["x","cx","x1"])||0,y:+kr(t,["y","cy","y1"])||0,width:0,height:0}:e},zr=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Lr(t))},Yt=function(t,e){if(e){var i=t.style,r;e in wt&&e!==rt&&(e=z),i.removeProperty?(r=e.substr(0,2),(r==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),i.removeProperty(r==="--"?e:e.replace(Pi,"-$1").toLowerCase())):i.removeAttribute(e)}},Et=function(t,e,i,r,n,s){var a=new Z(t._pt,e,i,0,1,s?Er:Cr);return t._pt=a,a.b=r,a.e=n,t._props.push(i),a},Sr={deg:1,rad:1,turn:1},ps={grid:1,flex:1},Dt=function o(t,e,i,r){var n=parseFloat(i)||0,s=(i+"").trim().substr((n+"").length)||"px",a=qt.style,u=is.test(e),l=t.tagName.toLowerCase()==="svg",f=(l?"client":"offset")+(u?"Width":"Height"),_=100,c=r==="px",d=r==="%",p,h,m,y;if(r===s||!n||Sr[r]||Sr[s])return n;if(s!=="px"&&!c&&(n=o(t,e,i,"px")),y=t.getCTM&&zr(t),(d||s==="%")&&(wt[e]||~e.indexOf("adius")))return p=y?t.getBBox()[u?"width":"height"]:t[f],N(d?n/p*_:n/100*p);if(a[u?"width":"height"]=_+(c?s:r),h=r!=="rem"&&~e.indexOf("adius")||r==="em"&&t.appendChild&&!l?t:t.parentNode,y&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===Ct||!h.appendChild)&&(h=Ct.body),m=h._gsap,m&&d&&m.width&&u&&m.time===tt.time&&!m.uncache)return N(n/m.width*_);if(d&&(e==="height"||e==="width")){var v=t.style[e];t.style[e]=_+r,p=t[f],v?t.style[e]=v:Yt(t,e)}else(d||s==="%")&&!ps[ht(h,"display")]&&(a.position=ht(t,"position")),h===t&&(a.position="static"),h.appendChild(qt),p=qt[f],h.removeChild(qt),a.position="absolute";return u&&d&&(m=Mt(h),m.time=tt.time,m.width=h[f]),N(c?p*n/_:p&&n?_/p*n:0)},bt=function(t,e,i,r){var n;return Mi||ki(),e in gt&&e!=="transform"&&(e=gt[e],~e.indexOf(",")&&(e=e.split(",")[0])),wt[e]&&e!=="transform"?(n=me(t,r),n=e!=="transformOrigin"?n[e]:n.svg?n.origin:ze(ht(t,rt))+" "+n.zOrigin+"px"):(n=t.style[e],(!n||n==="auto"||r||~(n+"").indexOf("calc("))&&(n=Le[e]&&Le[e](t,e,i)||ht(t,e)||fi(t,e)||(e==="opacity"?1:0))),i&&!~(n+"").trim().indexOf(" ")?Dt(t,e,n,i)+i:n},ms=function(t,e,i,r){if(!i||i==="none"){var n=ee(e,t,1),s=n&&ht(t,n,1);s&&s!==i?(e=n,i=s):e==="borderColor"&&(i=ht(t,"borderTopColor"))}var a=new Z(this._pt,t.style,e,0,1,yi),u=0,l=0,f,_,c,d,p,h,m,y,v,T,x,g;if(a.b=i,a.e=r,i+="",r+="",r.substring(0,6)==="var(--"&&(r=ht(t,r.substring(4,r.indexOf(")")))),r==="auto"&&(h=t.style[e],t.style[e]=r,r=ht(t,e)||r,h?t.style[e]=h:Yt(t,e)),f=[i,r],_i(f),i=f[0],r=f[1],c=i.match(Nt)||[],g=r.match(Nt)||[],g.length){for(;_=Nt.exec(r);)m=_[0],v=r.substring(u,_.index),p?p=(p+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(p=1),m!==(h=c[l++]||"")&&(d=parseFloat(h)||0,x=h.substr((d+"").length),m.charAt(1)==="="&&(m=It(d,m)+x),y=parseFloat(m),T=m.substr((y+"").length),u=Nt.lastIndex-T.length,T||(T=T||it.units[e]||x,u===r.length&&(r+=T,a.e+=T)),x!==T&&(d=Dt(t,e,h,T)||0),a._pt={_next:a._pt,p:v||l===1?v:",",s:d,c:y-d,m:p&&p<4||e==="zIndex"?Math.round:0});a.c=u<r.length?r.substring(u,r.length):""}else a.r=e==="display"&&r==="none"?Er:Cr;return si.test(r)&&(a.e=0),this._pt=a,a},Mr={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},gs=function(t){var e=t.split(" "),i=e[0],r=e[1]||"50%";return(i==="top"||i==="bottom"||r==="left"||r==="right")&&(t=i,i=r,r=t),e[0]=Mr[i]||i,e[1]=Mr[r]||r,e.join(" ")},ys=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i=e.t,r=i.style,n=e.u,s=i._gsap,a,u,l;if(n==="all"||n===!0)r.cssText="",u=1;else for(n=n.split(","),l=n.length;--l>-1;)a=n[l],wt[a]&&(u=1,a=a==="transformOrigin"?rt:z),Yt(i,a);u&&(Yt(i,z),s&&(s.svg&&i.removeAttribute("transform"),r.scale=r.rotate=r.translate="none",me(i,1),s.uncache=1,Dr(r)))}},Le={clearProps:function(t,e,i,r,n){if(n.data!=="isFromStart"){var s=t._pt=new Z(t._pt,e,i,0,0,ys);return s.u=r,s.pr=-10,s.tween=n,t._props.push(i),1}}},pe=[1,0,0,1,0,0],Fr={},Nr=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},Or=function(t){var e=ht(t,z);return Nr(e)?pe:e.substr(7).match(ni).map(N)},Ci=function(t,e){var i=t._gsap||Mt(t),r=t.style,n=Or(t),s,a,u,l;return i.svg&&t.getAttribute("transform")?(u=t.transform.baseVal.consolidate().matrix,n=[u.a,u.b,u.c,u.d,u.e,u.f],n.join(",")==="1,0,0,1,0,0"?pe:n):(n===pe&&!t.offsetParent&&t!==Jt&&!i.svg&&(u=r.display,r.display="block",s=t.parentNode,(!s||!t.offsetParent&&!t.getBoundingClientRect().width)&&(l=1,a=t.nextElementSibling,Jt.appendChild(t)),n=Or(t),u?r.display=u:Yt(t,"display"),l&&(a?s.insertBefore(t,a):s?s.appendChild(t):Jt.removeChild(t))),e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},Si=function(t,e,i,r,n,s){var a=t._gsap,u=n||Ci(t,!0),l=a.xOrigin||0,f=a.yOrigin||0,_=a.xOffset||0,c=a.yOffset||0,d=u[0],p=u[1],h=u[2],m=u[3],y=u[4],v=u[5],T=e.split(" "),x=parseFloat(T[0])||0,g=parseFloat(T[1])||0,w,k,S,b;i?u!==pe&&(k=d*m-p*h)&&(S=x*(m/k)+g*(-h/k)+(h*v-m*y)/k,b=x*(-p/k)+g*(d/k)-(d*v-p*y)/k,x=S,g=b):(w=Lr(t),x=w.x+(~T[0].indexOf("%")?x/100*w.width:x),g=w.y+(~(T[1]||T[0]).indexOf("%")?g/100*w.height:g)),r||r!==!1&&a.smooth?(y=x-l,v=g-f,a.xOffset=_+(y*d+v*h)-y,a.yOffset=c+(y*p+v*m)-v):a.xOffset=a.yOffset=0,a.xOrigin=x,a.yOrigin=g,a.smooth=!!r,a.origin=e,a.originIsAbsolute=!!i,t.style[rt]="0px 0px",s&&(Et(s,a,"xOrigin",l,x),Et(s,a,"yOrigin",f,g),Et(s,a,"xOffset",_,a.xOffset),Et(s,a,"yOffset",c,a.yOffset)),t.setAttribute("data-svg-origin",x+" "+g)},me=function(t,e){var i=t._gsap||new ci(t);if("x"in i&&!e&&!i.uncache)return i;var r=t.style,n=i.scaleX<0,s="px",a="deg",u=getComputedStyle(t),l=ht(t,rt)||"0",f,_,c,d,p,h,m,y,v,T,x,g,w,k,S,b,O,A,E,D,Y,U,B,q,_t,ye,ie,re,At,Di,yt,Rt;return f=_=c=h=m=y=v=T=x=0,d=p=1,i.svg=!!(t.getCTM&&zr(t)),u.translate&&((u.translate!=="none"||u.scale!=="none"||u.rotate!=="none")&&(r[z]=(u.translate!=="none"?"translate3d("+(u.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(u.rotate!=="none"?"rotate("+u.rotate+") ":"")+(u.scale!=="none"?"scale("+u.scale.split(" ").join(",")+") ":"")+(u[z]!=="none"?u[z]:"")),r.scale=r.rotate=r.translate="none"),k=Ci(t,i.svg),i.svg&&(i.uncache?(_t=t.getBBox(),l=i.xOrigin-_t.x+"px "+(i.yOrigin-_t.y)+"px",q=""):q=!e&&t.getAttribute("data-svg-origin"),Si(t,q||l,!!q||i.originIsAbsolute,i.smooth!==!1,k)),g=i.xOrigin||0,w=i.yOrigin||0,k!==pe&&(A=k[0],E=k[1],D=k[2],Y=k[3],f=U=k[4],_=B=k[5],k.length===6?(d=Math.sqrt(A*A+E*E),p=Math.sqrt(Y*Y+D*D),h=A||E?jt(E,A)*Ut:0,v=D||Y?jt(D,Y)*Ut+h:0,v&&(p*=Math.abs(Math.cos(v*te))),i.svg&&(f-=g-(g*A+w*D),_-=w-(g*E+w*Y))):(Rt=k[6],Di=k[7],ie=k[8],re=k[9],At=k[10],yt=k[11],f=k[12],_=k[13],c=k[14],S=jt(Rt,At),m=S*Ut,S&&(b=Math.cos(-S),O=Math.sin(-S),q=U*b+ie*O,_t=B*b+re*O,ye=Rt*b+At*O,ie=U*-O+ie*b,re=B*-O+re*b,At=Rt*-O+At*b,yt=Di*-O+yt*b,U=q,B=_t,Rt=ye),S=jt(-D,At),y=S*Ut,S&&(b=Math.cos(-S),O=Math.sin(-S),q=A*b-ie*O,_t=E*b-re*O,ye=D*b-At*O,yt=Y*O+yt*b,A=q,E=_t,D=ye),S=jt(E,A),h=S*Ut,S&&(b=Math.cos(S),O=Math.sin(S),q=A*b+E*O,_t=U*b+B*O,E=E*b-A*O,B=B*b-U*O,A=q,U=_t),m&&Math.abs(m)+Math.abs(h)>359.9&&(m=h=0,y=180-y),d=N(Math.sqrt(A*A+E*E+D*D)),p=N(Math.sqrt(B*B+Rt*Rt)),S=jt(U,B),v=Math.abs(S)>2e-4?S*Ut:0,x=yt?1/(yt<0?-yt:yt):0),i.svg&&(q=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!Nr(ht(t,z)),q&&t.setAttribute("transform",q))),Math.abs(v)>90&&Math.abs(v)<270&&(n?(d*=-1,v+=h<=0?180:-180,h+=h<=0?180:-180):(p*=-1,v+=v<=0?180:-180)),e=e||i.uncache,i.x=f-((i.xPercent=f&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-f)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+s,i.y=_-((i.yPercent=_&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-_)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+s,i.z=c+s,i.scaleX=N(d),i.scaleY=N(p),i.rotation=N(h)+a,i.rotationX=N(m)+a,i.rotationY=N(y)+a,i.skewX=v+a,i.skewY=T+a,i.transformPerspective=x+s,(i.zOrigin=parseFloat(l.split(" ")[2])||!e&&i.zOrigin||0)&&(r[rt]=ze(l)),i.xOffset=i.yOffset=0,i.force3D=it.force3D,i.renderTransform=i.svg?Ts:Rr?Ir:vs,i.uncache=0,i},ze=function(t){return(t=t.split(" "))[0]+" "+t[1]},xi=function(t,e,i){var r=G(e);return N(parseFloat(e)+parseFloat(Dt(t,"x",i+"px",r)))+r},vs=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Ir(t,e)},Vt="0deg",de="0px",Ht=") ",Ir=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,a=i.y,u=i.z,l=i.rotation,f=i.rotationY,_=i.rotationX,c=i.skewX,d=i.skewY,p=i.scaleX,h=i.scaleY,m=i.transformPerspective,y=i.force3D,v=i.target,T=i.zOrigin,x="",g=y==="auto"&&t&&t!==1||y===!0;if(T&&(_!==Vt||f!==Vt)){var w=parseFloat(f)*te,k=Math.sin(w),S=Math.cos(w),b;w=parseFloat(_)*te,b=Math.cos(w),s=xi(v,s,k*b*-T),a=xi(v,a,-Math.sin(w)*-T),u=xi(v,u,S*b*-T+T)}m!==de&&(x+="perspective("+m+Ht),(r||n)&&(x+="translate("+r+"%, "+n+"%) "),(g||s!==de||a!==de||u!==de)&&(x+=u!==de||g?"translate3d("+s+", "+a+", "+u+") ":"translate("+s+", "+a+Ht),l!==Vt&&(x+="rotate("+l+Ht),f!==Vt&&(x+="rotateY("+f+Ht),_!==Vt&&(x+="rotateX("+_+Ht),(c!==Vt||d!==Vt)&&(x+="skew("+c+", "+d+Ht),(p!==1||h!==1)&&(x+="scale("+p+", "+h+Ht),v.style[z]=x||"translate(0, 0)"},Ts=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,a=i.y,u=i.rotation,l=i.skewX,f=i.skewY,_=i.scaleX,c=i.scaleY,d=i.target,p=i.xOrigin,h=i.yOrigin,m=i.xOffset,y=i.yOffset,v=i.forceCSS,T=parseFloat(s),x=parseFloat(a),g,w,k,S,b;u=parseFloat(u),l=parseFloat(l),f=parseFloat(f),f&&(f=parseFloat(f),l+=f,u+=f),u||l?(u*=te,l*=te,g=Math.cos(u)*_,w=Math.sin(u)*_,k=Math.sin(u-l)*-c,S=Math.cos(u-l)*c,l&&(f*=te,b=Math.tan(l-f),b=Math.sqrt(1+b*b),k*=b,S*=b,f&&(b=Math.tan(f),b=Math.sqrt(1+b*b),g*=b,w*=b)),g=N(g),w=N(w),k=N(k),S=N(S)):(g=_,S=c,w=k=0),(T&&!~(s+"").indexOf("px")||x&&!~(a+"").indexOf("px"))&&(T=Dt(d,"x",s,"px"),x=Dt(d,"y",a,"px")),(p||h||m||y)&&(T=N(T+p-(p*g+h*k)+m),x=N(x+h-(p*w+h*S)+y)),(r||n)&&(b=d.getBBox(),T=N(T+r/100*b.width),x=N(x+n/100*b.height)),b="matrix("+g+","+w+","+k+","+S+","+T+","+x+")",d.setAttribute("transform",b),v&&(d.style[z]=b)},xs=function(t,e,i,r,n){var s=360,a=H(n),u=parseFloat(n)*(a&&~n.indexOf("rad")?Ut:1),l=u-r,f=r+l+"deg",_,c;return a&&(_=n.split("_")[1],_==="short"&&(l%=s,l!==l%(s/2)&&(l+=l<0?s:-s)),_==="cw"&&l<0?l=(l+s*xr)%s-~~(l/s)*s:_==="ccw"&&l>0&&(l=(l-s*xr)%s-~~(l/s)*s)),t._pt=c=new Z(t._pt,e,i,r,l,ns),c.e=f,c.u="deg",t._props.push(i),c},Pr=function(t,e){for(var i in e)t[i]=e[i];return t},bs=function(t,e,i){var r=Pr({},i._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=i.style,a,u,l,f,_,c,d,p;r.svg?(l=i.getAttribute("transform"),i.setAttribute("transform",""),s[z]=e,a=me(i,1),Yt(i,z),i.setAttribute("transform",l)):(l=getComputedStyle(i)[z],s[z]=e,a=me(i,1),s[z]=l);for(u in wt)l=r[u],f=a[u],l!==f&&n.indexOf(u)<0&&(d=G(l),p=G(f),_=d!==p?Dt(i,u,l,p):parseFloat(l),c=parseFloat(f),t._pt=new Z(t._pt,a,u,_,c-_,bi),t._pt.u=p||0,t._props.push(u));Pr(a,r)};K("padding,margin,Width,Radius",function(o,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?o+a:"border"+a+o});Le[t>1?"border"+o:o]=function(a,u,l,f,_){var c,d;if(arguments.length<4)return c=s.map(function(p){return bt(a,p,l)}),d=c.join(" "),d.split(c[0]).length===5?c[0]:d;c=(f+"").split(" "),d={},s.forEach(function(p,h){return d[p]=c[h]=c[h]||c[(h-1)/2|0]}),a.init(u,d,_)}});var Ei={name:"css",register:ki,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,r,n){var s=this._props,a=t.style,u=i.vars.startAt,l,f,_,c,d,p,h,m,y,v,T,x,g,w,k,S;Mi||ki(),this.styles=this.styles||Ar(t),S=this.styles.props,this.tween=i;for(h in e)if(h!=="autoRound"&&(f=e[h],!(J[h]&&pi(h,e,i,r,t,n)))){if(d=typeof f,p=Le[h],d==="function"&&(f=f.call(i,r,t,n),d=typeof f),d==="string"&&~f.indexOf("random(")&&(f=Zt(f)),p)p(this,t,h,f,i)&&(k=1);else if(h.substr(0,2)==="--")l=(getComputedStyle(t).getPropertyValue(h)+"").trim(),f+="",Tt.lastIndex=0,Tt.test(l)||(m=G(l),y=G(f)),y?m!==y&&(l=Dt(t,h,l,y)+y):m&&(f+=m),this.add(a,"setProperty",l,f,r,n,0,0,h),s.push(h),S.push(h,0,a[h]);else if(d!=="undefined"){if(u&&h in u?(l=typeof u[h]=="function"?u[h].call(i,r,t,n):u[h],H(l)&&~l.indexOf("random(")&&(l=Zt(l)),G(l+"")||l==="auto"||(l+=it.units[h]||G(bt(t,h))||""),(l+"").charAt(1)==="="&&(l=bt(t,h))):l=bt(t,h),c=parseFloat(l),v=d==="string"&&f.charAt(1)==="="&&f.substr(0,2),v&&(f=f.substr(2)),_=parseFloat(f),h in gt&&(h==="autoAlpha"&&(c===1&&bt(t,"visibility")==="hidden"&&_&&(c=0),S.push("visibility",0,a.visibility),Et(this,a,"visibility",c?"inherit":"hidden",_?"inherit":"hidden",!_)),h!=="scale"&&h!=="transform"&&(h=gt[h],~h.indexOf(",")&&(h=h.split(",")[0]))),T=h in wt,T){if(this.styles.save(h),d==="string"&&f.substring(0,6)==="var(--"&&(f=ht(t,f.substring(4,f.indexOf(")"))),_=parseFloat(f)),x||(g=t._gsap,g.renderTransform&&!e.parseTransform||me(t,e.parseTransform),w=e.smoothOrigin!==!1&&g.smooth,x=this._pt=new Z(this._pt,a,z,0,1,g.renderTransform,g,0,-1),x.dep=1),h==="scale")this._pt=new Z(this._pt,g,"scaleY",g.scaleY,(v?It(g.scaleY,v+_):_)-g.scaleY||0,bi),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){S.push(rt,0,a[rt]),f=gs(f),g.svg?Si(t,f,0,w,0,this):(y=parseFloat(f.split(" ")[2])||0,y!==g.zOrigin&&Et(this,g,"zOrigin",g.zOrigin,y),Et(this,a,h,ze(l),ze(f)));continue}else if(h==="svgOrigin"){Si(t,f,1,w,0,this);continue}else if(h in Fr){xs(this,g,h,c,v?It(c,v+f):f);continue}else if(h==="smoothOrigin"){Et(this,g,"smooth",g.smooth,f);continue}else if(h==="force3D"){g[h]=f;continue}else if(h==="transform"){bs(this,f,t);continue}}else h in a||(h=ee(h)||h);if(T||(_||_===0)&&(c||c===0)&&!rs.test(f)&&h in a)m=(l+"").substr((c+"").length),_||(_=0),y=G(f)||(h in it.units?it.units[h]:m),m!==y&&(c=Dt(t,h,l,y)),this._pt=new Z(this._pt,T?g:a,h,c,(v?It(c,v+_):_)-c,!T&&(y==="px"||h==="zIndex")&&e.autoRound!==!1?as:bi),this._pt.u=y||0,m!==y&&y!=="%"&&(this._pt.b=l,this._pt.r=ss);else if(h in a)ms.call(this,t,h,l,v?v+f:f);else if(h in t)this.add(t,h,l||t[h],v?v+f:f,r,n);else if(h!=="parseTransform"){Ce(h,f);continue}T||(h in a?S.push(h,0,a[h]):typeof t[h]=="function"?S.push(h,2,t[h]()):S.push(h,1,l||t[h])),s.push(h)}}k&&Ti(this)},render:function(t,e){if(e.tween._time||!Oi())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:bt,aliases:gt,getSetter:function(t,e,i){var r=gt[e];return r&&r.indexOf(",")<0&&(e=r),e in wt&&e!==rt&&(t._gsap.x||bt(t,"x"))?i&&Tr===i?e==="scale"?fs:ls:(Tr=i||{})&&(e==="scale"?hs:_s):t.style&&!Pe(t.style[e])?os:~e.indexOf("-")?us:Re(t,e)},core:{_removeProperty:Yt,_getMatrix:Ci}};$.utils.checkPrefix=ee;$.core.getStyleSaver=Ar;(function(o,t,e,i){var r=K(o+","+t+","+e,function(n){wt[n]=1});K(t,function(n){it.units[n]="deg",Fr[n]=1}),gt[r[13]]=o+","+t,K(i,function(n){var s=n.split(":");gt[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");K("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(o){it.units[o]="px"});$.registerPlugin(Ei);var j=$.registerPlugin(Ei)||$,Vs=j.core.Tween;var Ne=!1;var nt=null,Fe="light",ge=[{name:"solutions",width:1026,height:668,isCurrent:!1},{name:"teams",width:262,height:354,isCurrent:!1},{name:"resources",width:546,height:354,isCurrent:!1},{name:"company",width:436,height:354,isCurrent:!1}],ct=()=>({dropdownOverlay:document.querySelector('[data-nav-element="overlay"]'),navItems:document.querySelectorAll('[data-nav-item="link"]'),navItemsWrapper:document.querySelectorAll('[data-nav-animation="links"]'),dropdownMover:document.querySelector('[data-nav-item="dropdown-mover"]'),dropdownItems:document.querySelector('[data-nav-item="dropdown-mover"]'),tabLinks:document.querySelectorAll("[data-tab-link]"),tabContents:document.querySelectorAll("[data-tab-content]"),navigationModeElement:document.querySelector("[navigation-mode]"),navElements:document.querySelectorAll("[style-navigation]"),mover:document.querySelector('[data-nav-element="mover"]'),overlay:document.querySelector('[data-nav-element="overlay"]'),wrapper:document.querySelector('[data-nav-element="wrapper"]'),dropdownContents:document.querySelectorAll("[data-desktop-content]"),navlinks:document.querySelectorAll("[data-desktop-navlink]")});document.addEventListener("DOMContentLoaded",()=>{if(window.innerWidth>991){let o=ct();ws(),ks(o.tabLinks,o.tabContents),Ss(o.navItemsWrapper),Ms(o.navItems)}});function ws(){Fe=ct().navigationModeElement?.getAttribute("navigation-mode")||"light",Fe==="light"?console.log("Light mode is enabled \u{1F525}"):Fe==="dark"?(Hr(),console.log("Dark mode is enabled")):console.log("Invalid navigation mode")}function Hr(){ct().navElements.forEach(t=>{switch(t.getAttribute("style-navigation")){case"navbg":t.style.backgroundColor="black";break;case"navlogo":t.style.color="white";break;case"navlink":t.style.color="white";break;case"button-primary":t.style.backgroundColor="white",t.style.color="black";break;case"button-secondary":t.style.color="white";break}})}function Ur(){ct().navElements.forEach(t=>{switch(t.getAttribute("style-navigation")){case"navbg":t.style.backgroundColor="white";break;case"navlogo":t.style.color="black";break;case"navlink":t.style.color="black";break;case"button-primary":t.style.backgroundColor="black",t.style.color="white";break;case"button-secondary":t.style.color="black";break}})}function ks(o,t){if(o.length>0){let e=o[0].getAttribute("data-tab-link");o[0].setAttribute("data-tab-link-active","true"),t.forEach(i=>{i.setAttribute("data-tab-content-active",i.getAttribute("data-tab-content")===e?"true":"false")}),o.forEach(i=>{i.addEventListener("mouseover",function(){let r=this.getAttribute("data-tab-link");o.forEach(n=>n.setAttribute("data-tab-link-active","false")),this.setAttribute("data-tab-link-active","true"),t.forEach(n=>{n.setAttribute("data-tab-content-active",n.getAttribute("data-tab-content")===r?"true":"false")})})})}}function Ss(o){o.forEach(t=>{t.addEventListener("mouseleave",()=>{Ne=!1,Fe==="dark"?Hr():Ur(),Ps()})})}function Ms(o){o.forEach(t=>{t.addEventListener("mouseenter",function(){let e=parseInt(this.getAttribute("data-nav-link")||"0",10);Ne?Br(this,e):(Br(this,e),Ne=!0,Ur())})})}function Br(o,t){nt&&nt.kill(),Ne?(Vr(t),Ds(t),Cs(o,t)):(Vr(t),As(t),Es(o,t),Os(t))}function Os(o){let t=ct(),e=ge[o].height;t.wrapper.style.display="block",t.overlay.style.display="block",j.killTweensOf([t.mover,t.overlay]),nt=j.timeline(),nt.to(t.overlay,{opacity:0,duration:.3,ease:"power2.out"}),nt.to(t.mover,{height:`${e}px`,duration:.4,ease:"power2.out"},"-=0.2")}function Ps(){let o=ct();nt&&nt.kill(),nt=j.timeline(),nt.to(o.mover,{height:0,duration:.3,ease:"power2.in"}),nt.to(o.overlay,{opacity:0,duration:.3,ease:"power2.out"},"-=0.1"),nt.to(o.navlinks,{opacity:1,duration:.2},"-=0.2"),nt.call(()=>{o.wrapper.style.display="none",o.overlay.style.display="none",o.dropdownContents.forEach(t=>{t.style.display="none",t.style.opacity="0"})})}function Cs(o,t){let e=ct(),i=ge[t].height,r=ge[t].width,n=o.getBoundingClientRect(),s=o.parentElement.getBoundingClientRect(),a=n.left-s.left;j.killTweensOf(e.mover),nt=j.timeline(),nt.to(e.mover,{x:a,width:`${r}px`,height:`${i}px`,duration:.2,ease:"power2.out"})}function Es(o,t){let e=ct(),i=ge[t].height,r=ge[t].width,n=o.getBoundingClientRect(),s=o.parentElement.getBoundingClientRect(),a=n.left-s.left;j.set(e.mover,{x:a,height:"0px",width:`${r}px`})}function Ds(o){let t=ct();j.killTweensOf(t.dropdownContents),j.timeline().to(t.dropdownContents,{opacity:0,duration:.15,onComplete:()=>{t.dropdownContents.forEach(r=>{r.style.display="none"});let i=t.dropdownContents[o];i&&(o===0||o===2||o===3?i.style.display="grid":i.style.display="block",j.to(i,{opacity:1,duration:.15}))}})}function As(o){let t=ct();t.dropdownContents.forEach(i=>{i.style.opacity="0",i.style.display="none"});let e=t.dropdownContents[o];e&&(o===0||o===2||o===3?e.style.display="grid":e.style.display="block",j.to(e,{opacity:1,duration:.2,delay:.1}))}function Vr(o){let t=ct(),e=t.navlinks[o];j.killTweensOf(t.navlinks),j.to(t.navlinks,{opacity:.5,duration:.15}),j.to(e,{opacity:1,duration:.15})}})();
|
|
2
2
|
/*! Bundled license information:
|
|
3
3
|
|
|
4
4
|
gsap/gsap-core.js:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
1
|
+
"use strict";(()=>{var l={NESTED_MENU_DELAY:10,NESTED_MENU_CLOSE_DELAY:500,MAIN_MENU_CLOSE_TIMEOUT:300},i={NESTED_MENU:'[data-mobile-nav="nested-menu"]',MAIN_MENU:'[data-mobile-nav="main-menu"]',TOGGLE_MAIN_MENU:'[data-nav-toggle="main-menu"]',TOGGLE_NESTED_MENU:'[data-nav-toggle="nested-menu"]',MAIN_MENU_LINKS:"[data-mobile-link]",NAV_OVERLAY:'[data-nav-element="overlay"]',OPEN_ICON:'[data-menu-icon="open"]',CLOSE_ICON:'[data-menu-icon="close"]',MOBILE_MENU:"[data-mobile-menu]"},a=class{constructor(){this.state={isMainMenuOpen:!1,isNestedMenuOpen:!1};this.isAnimating=!1;this.elements=this.getElements(),this.init()}getElements(){let e=document.querySelector(i.NESTED_MENU),t=document.querySelector(i.MAIN_MENU),s=document.querySelector(i.NAV_OVERLAY),n=document.querySelectorAll(i.OPEN_ICON),o=document.querySelectorAll(i.CLOSE_ICON);if(!e||!t||!s||n.length===0||o.length===0)throw new Error("Required navigation elements not found");return{nestedMenu:e,mainMenu:t,toggleMainMenuButtons:document.querySelectorAll(i.TOGGLE_MAIN_MENU),toggleNestedMenuButtons:document.querySelectorAll(i.TOGGLE_NESTED_MENU),mainMenuLinks:document.querySelectorAll(i.MAIN_MENU_LINKS),navOverlay:s,openIcons:n,closeIcons:o}}init(){this.setupInitialStyles(),this.bindEventListeners()}setupInitialStyles(){this.elements.nestedMenu.style.display="none",this.elements.nestedMenu.style.transform="translateX(100%)",this.elements.nestedMenu.style.transition="transform 0.5s ease",this.elements.mainMenu.style.display="block",this.elements.mainMenu.style.height="0dvh",this.elements.mainMenu.style.transition="height 0.3s ease-in-out",this.elements.openIcons.forEach(e=>{e.style.transition="opacity 0.2s ease"}),this.elements.closeIcons.forEach(e=>{e.style.transition="opacity 0.2s ease"}),this.updateMenuIcons(!1)}bindEventListeners(){this.elements.toggleMainMenuButtons.forEach((e,t)=>{e.addEventListener("click",s=>{s.preventDefault(),console.log(`Main menu button ${t} clicked, current state:`,this.state.isMainMenuOpen),this.handleMainMenuToggle(e)})}),this.elements.toggleNestedMenuButtons.forEach((e,t)=>{e.addEventListener("click",s=>{s.preventDefault(),console.log(`Nested menu button ${t} clicked, current state:`,this.state.isNestedMenuOpen),this.handleNestedMenuToggle(e)})}),this.elements.mainMenuLinks.forEach(e=>{e.addEventListener("click",t=>{let n=t.currentTarget.getAttribute("data-mobile-link");n&&(console.log(`Menu link clicked: ${n}`),this.replaceContent(n),this.toggleNestedMenu())})})}openMainMenu(){if(this.state.isMainMenuOpen){console.log("Main menu already open, skipping");return}let{mainMenu:e}=this.elements;this.isAnimating=!0,e.style.overflow="hidden",e.style.display="block",e.style.height="0dvh",this.state.isMainMenuOpen=!0,this.updateMenuIcons(!0),requestAnimationFrame(()=>{e.style.height="100dvh";let t=()=>{this.isAnimating=!1,console.log("\u{1F354} Main menu OPENED (animation complete)")};e.addEventListener("transitionend",t,{once:!0}),setTimeout(()=>{this.isAnimating=!1},350)}),console.log("\u{1F354} Main menu OPENING...")}closeMainMenu(){if(!this.state.isMainMenuOpen){console.log("Main menu already closed, skipping");return}let{mainMenu:e}=this.elements;this.isAnimating=!0,this.state.isMainMenuOpen=!1,this.updateMenuIcons(!1),e.style.height="0dvh";let t=!1,s=()=>{t||(t=!0,e.style.display="none",this.isAnimating=!1,console.log("\u{1F354} Main menu CLOSED (animation complete)"))},n=o=>{o.target===e&&o.propertyName==="height"&&s()};e.addEventListener("transitionend",n,{once:!0}),setTimeout(()=>{s()},l.MAIN_MENU_CLOSE_TIMEOUT),console.log("\u{1F354} Main menu CLOSING...")}handleMainMenuToggle(e){if(console.log("Handling main menu toggle. Current state:",this.state.isMainMenuOpen,"Is animating:",this.isAnimating),this.isAnimating){console.log("Animation in progress, ignoring click");return}this.state.isMainMenuOpen?(this.closeMainMenu(),this.state.isNestedMenuOpen&&this.closeNestedMenu()):this.openMainMenu()}handleNestedMenuToggle(e){if(console.log("Handling nested menu toggle. Current state:",this.state.isNestedMenuOpen,"Is animating:",this.isAnimating),this.isAnimating){console.log("Animation in progress, ignoring click");return}this.state.isNestedMenuOpen?this.closeNestedMenu():this.openNestedMenu()}toggleMainMenu(){console.log("Toggling main menu. Current state:",this.state.isMainMenuOpen),this.state.isMainMenuOpen?(this.closeMainMenu(),this.state.isNestedMenuOpen&&this.closeNestedMenu()):this.openMainMenu()}openNestedMenu(){if(this.state.isNestedMenuOpen){console.log("Nested menu already open, skipping");return}let{nestedMenu:e,navOverlay:t}=this.elements;e.style.display="block",t.style.opacity="1",setTimeout(()=>{e.style.transform="translateX(0%)"},l.NESTED_MENU_DELAY),this.state.isNestedMenuOpen=!0,console.log("\u{1F4C2} Nested menu OPENED")}closeNestedMenu(){if(!this.state.isNestedMenuOpen){console.log("Nested menu already closed, skipping");return}let{nestedMenu:e,navOverlay:t}=this.elements;e.style.transform="translateX(100%)",t.style.opacity="0",this.state.isNestedMenuOpen=!1,setTimeout(()=>{e.style.display="none",console.log("\u{1F4C2} Nested menu CLOSED (animation complete)")},l.NESTED_MENU_CLOSE_DELAY),console.log("\u{1F4C2} Nested menu closing...")}toggleNestedMenu(){console.log("Toggling nested menu. Current state:",this.state.isNestedMenuOpen),this.state.isNestedMenuOpen?this.closeNestedMenu():this.openNestedMenu()}updateMenuIcons(e){let{openIcons:t,closeIcons:s}=this.elements;console.log("Updating menu icons. isOpen:",e),e?(t.forEach(n=>{n.style.opacity="0"}),s.forEach(n=>{n.style.opacity="1"})):(t.forEach(n=>{n.style.opacity="1"}),s.forEach(n=>{n.style.opacity="0"}))}replaceContent(e){document.querySelectorAll(i.MOBILE_MENU).forEach(s=>{s.style.display="none"});let t=document.querySelector(`[data-mobile-menu="${e}"]`);t?(t.style.display="block",console.log(`\u{1F4C4} Content switched to: ${e}`)):console.warn(`Content element with data-mobile-menu="${e}" not found`)}getState(){return{...this.state}}closeAllMenus(){this.state.isMainMenuOpen&&this.closeMainMenu(),this.state.isNestedMenuOpen&&this.closeNestedMenu()}};document.addEventListener("DOMContentLoaded",()=>{try{new a}catch(u){console.error("Failed to initialize mobile navigation:",u)}});})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(()=>{var t=document.querySelector("[navigation-scrolled]"),o=document.querySelectorAll("[navigation-scrolled-menu]");function n(){let e=window.scrollY||document.documentElement.scrollTop;if(!t){console.warn("Navigation element not found");return}t.setAttribute("navigation-scrolled",e>350?"true":"false"),o&&o.forEach(l=>{l.setAttribute("navigation-scrolled-menu",e>350?"true":"false")}),console.log(e)}t.setAttribute("navigation-scrolled","true");document.addEventListener("DOMContentLoaded",()=>{setTimeout(()=>{n()},100)});window.addEventListener("scroll",n);})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[data-tab-link-active=true]{border-right-color:#404040;background-color:#f8f8f9;opacity:1}[data-tab-content-active]{display:none}[data-tab-content-active=true]{display:block}[data-tab-content-active=false]{display:none}[data-nav-element=mover]{height:0;overflow:hidden}[data-nav-element=overlay]{opacity:0;display:none}[data-nav-element=mover]{border-radius:0 0 12px 12px;box-shadow
|
|
1
|
+
[data-tab-link-active=true]{border-right-color:#404040;background-color:#f8f8f9;opacity:1}[data-tab-content-active]{display:none}[data-tab-content-active=true]{display:block}[data-tab-content-active=false]{display:none}[data-nav-element=mover]{height:0;overflow:hidden}[data-nav-element=overlay]{opacity:0;display:none}[data-nav-element=wrapper]{top:100px}[data-nav-toggle=main-menu]{z-index:10!important}[data-mobile-nav=main-menu]{z-index:999}[data-nav-element=mover]{border-radius:0 0 12px 12px;box-shadow:#00000008 0 12px 16px 6px}[data-dropdown-item],[data-dropdown-item=resources],[data-dropdown-item=company]{width:100%}[data-desktop-content]{display:none}@media (max-width: 992px){[data-desktop-content]{display:block}}.announcement-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal{display:none;flex-direction:column;height:100%;bottom:0;justify-content:center;gap:4px;padding-left:20px;padding-right:20px}span.swiper-pagination-bullet{width:6px;height:6px;background:#fffc;pointer-events:auto}span.swiper-pagination-bullet.swiper-pagination-bullet-active{background:#fff}@media screen and (max-width: 1024px){.announcement-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal{left:-16px}}[navigation-scrolled=true]{transform:translateY(-32px);box-shadow:#00000008 0 12px 16px 10px}[navigation-scrolled-menu=false]{top:0}[navigation-scrolled=false]{transform:translateY(0)}@media screen and (max-width: 991px){[navigation-scrolled=true]{transform:translateY(-50px)}[navigation-scrolled-menu=true]{top:46px}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(()=>{console.log("script is running always");})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fynd-design-engineering/fynd-one-v2",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Updated CDN for fynd.com",
|
|
5
5
|
"homepage": "https://github.com/Fynd-Design-Engineering/Fynd-Utils/blob/main/README.md",
|
|
6
6
|
"license": "ISC",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"gsap": "^3.13.0",
|
|
35
|
+
"swiper": "^11.2.8",
|
|
35
36
|
"typescript": "^5.8.3"
|
|
36
37
|
},
|
|
37
38
|
"scripts": {
|