(function(It){typeof define=="function"&&define.amd?define(It):It()})(function(){"use strict";function It(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function bl(n,e){n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.__proto__=e}/*! * GSAP 3.12.5 * https://gsap.com * * @license Copyright 2008-2024, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license or for * Club GSAP members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */var xt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ki={duration:.5,overwrite:!1,delay:0},ho,je,me,er=1e8,Ue=1/er,po=Math.PI*2,Gf=po/4,qf=0,xl=Math.sqrt,Hf=Math.cos,Wf=Math.sin,ze=function(e){return typeof e=="string"},xe=function(e){return typeof e=="function"},vr=function(e){return typeof e=="number"},go=function(e){return typeof e>"u"},tr=function(e){return typeof e=="object"},pt=function(e){return e!==!1},mo=function(){return typeof window<"u"},is=function(e){return xe(e)||ze(e)},Tl=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Ke=Array.isArray,vo=/(?:-?\.?\d|\.)+/gi,Sl=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Oi=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,_o=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Pl=/[+-]=-?[.\d]+/,El=/[^,'"\[\]\s]+/gi,Xf=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,_e,rr,yo,wo,Tt={},ns={},Cl,Ml=function(e){return(ns=Zr(e,Tt))&&vt},bo=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},un=function(e,t){return!t&&console.warn(e)},kl=function(e,t){return e&&(Tt[e]=t)&&ns&&(ns[e]=t)||Tt},cn=function(){return 0},Yf={suppressEvents:!0,isStart:!0,kill:!1},ss={suppressEvents:!0,kill:!1},jf={suppressEvents:!0},xo={},Mr=[],To={},Ol,St={},So={},Al=30,os=[],Po="",Eo=function(e){var t=e[0],r,i;if(tr(t)||xe(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(i=os.length;i--&&!os[i].targetTest(t););r=os[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new ou(e[i],r)))||e.splice(i,1);return e},Kr=function(e){return e._gsap||Eo(zt(e))[0]._gsap},Ll=function(e,t,r){return(r=e[t])&&xe(r)?e[t]():go(r)&&e.getAttribute&&e.getAttribute(t)||r},gt=function(e,t){return(e=e.split(",")).forEach(t)||e},Se=function(e){return Math.round(e*1e5)/1e5||0},Fe=function(e){return Math.round(e*1e7)/1e7||0},Ai=function(e,t){var r=t.charAt(0),i=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},Uf=function(e,t){for(var r=t.length,i=0;e.indexOf(t[i])<0&&++ia;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[i]=t,t._prev=o,t.parent=t._dp=e,t},us=function(e,t,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var s=t._prev,o=t._next;s?s._next=o:e[r]===t&&(e[r]=o),o?o._prev=s:e[i]===t&&(e[i]=s),t._next=t._prev=t.parent=null},kr=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Qr=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},Qf=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Co=function(e,t,r,i){return e._startAt&&(je?e._startAt.revert(ss):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,i))},Jf=function n(e){return!e||e._ts&&n(e.parent)},Bl=function(e){return e._repeat?Li(e._tTime,e=e.duration()+e._rDelay)*e:0},Li=function(e,t){var r=Math.floor(e/=t);return e&&r===e?r-1:r},cs=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},fs=function(e){return e._end=Fe(e._start+(e._tDur/Math.abs(e._ts||e._rts||Ue)||0))},ds=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Fe(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),fs(e),r._dirty||Qr(r,e)),e},$l=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._startUe)&&t.render(r,!0)),Qr(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-1e-8}},ir=function(e,t,r,i){return t.parent&&kr(t),t._start=Fe((vr(r)?r:r||e!==_e?Rt(e,r,t):e._time)+t._delay),t._end=Fe(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Fl(e,t,"_first","_last",e._sort?"_start":0),Mo(t)||(e._recent=t),i||$l(e,t),e._ts<0&&ds(e,e._tTime),e},Nl=function(e,t){return(Tt.ScrollTrigger||bo("scrollTrigger",t))&&Tt.ScrollTrigger.create(t,e)},Vl=function(e,t,r,i,s){if(Fo(e,t,s),!e._initted)return 1;if(!r&&e._pt&&!je&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Ol!==Et.frame)return Mr.push(e),e._lazy=[s,i],1},ed=function n(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||n(t))},Mo=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},td=function(e,t,r,i){var s=e.ratio,o=t<0||!t&&(!e._start&&ed(e)&&!(!e._initted&&Mo(e))||(e._ts<0||e._dp._ts<0)&&!Mo(e))?0:1,a=e._rDelay,l=0,u,c,f;if(a&&e._repeat&&(l=hn(0,e._tDur,t),c=Li(l,a),e._yoyo&&c&1&&(o=1-o),c!==Li(e._tTime,a)&&(s=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==s||je||i||e._zTime===Ue||!t&&e._zTime){if(!e._initted&&Vl(e,t,i,r,l))return;for(f=e._zTime,e._zTime=t||(r?Ue:0),r||(r=t&&!f),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=l,u=e._pt;u;)u.r(o,u.d),u=u._next;t<0&&Co(e,t,r,!0),e._onUpdate&&!r&&Pt(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&Pt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===o&&(o&&kr(e,1),!r&&!je&&(Pt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},rd=function(e,t,r){var i;if(r>t)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>t)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start0&&!i&&ds(e,e._tTime=e._tDur*a),e.parent&&fs(e),r||Qr(e.parent,e),e},Gl=function(e){return e instanceof nt?Qr(e):Ii(e,e._dur)},id={_start:0,endTime:cn,totalDuration:cn},Rt=function n(e,t,r){var i=e.labels,s=e._recent||id,o=e.duration()>=er?s.endTime(!1):e._dur,a,l,u;return ze(t)&&(isNaN(t)||t in i)?(l=t.charAt(0),u=t.substr(-1)==="%",a=t.indexOf("="),l==="<"||l===">"?(a>=0&&(t=t.replace(/=/,"")),(l==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(t.substr(1))||0)*(u?(a<0?s:r).totalDuration()/100:1)):a<0?(t in i||(i[t]=o),i[t]):(l=parseFloat(t.charAt(a-1)+t.substr(a+1)),u&&r&&(l=l/100*(Ke(r)?r[0]:r).totalDuration()),a>1?n(e,t.substr(0,a-1),r)+l:o+l)):t==null?o:+t},dn=function(e,t,r){var i=vr(t[1]),s=(i?2:1)+(e<2?0:1),o=t[s],a,l;if(i&&(o.duration=t[1]),o.parent=r,e){for(a=o,l=r;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=pt(l.vars.inherit)&&l.parent;o.immediateRender=pt(a.immediateRender),e<2?o.runBackwards=1:o.startAt=t[s-1]}return new ke(t[0],o,t[s+1])},Or=function(e,t){return e||e===0?t(e):t},hn=function(e,t,r){return rt?t:r},Ze=function(e,t){return!ze(e)||!(t=Xf.exec(e))?"":t[1]},nd=function(e,t,r){return Or(r,function(i){return hn(e,t,i)})},ko=[].slice,ql=function(e,t){return e&&tr(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&tr(e[0]))&&!e.nodeType&&e!==rr},sd=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(i){var s;return ze(i)&&!t||ql(i,1)?(s=r).push.apply(s,zt(i)):r.push(i)})||r},zt=function(e,t,r){return me&&!t&&me.selector?me.selector(e):ze(e)&&!r&&(yo||!Ri())?ko.call((t||wo).querySelectorAll(e),0):Ke(e)?sd(e,r):ql(e)?ko.call(e,0):e?[e]:[]},Oo=function(e){return e=zt(e)[0]||un("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return zt(t,r.querySelectorAll?r:r===e?un("Invalid scope")||wo.createElement("div"):e)}},Hl=function(e){return e.sort(function(){return .5-Math.random()})},Wl=function(e){if(xe(e))return e;var t=tr(e)?e:{each:e},r=Jr(t.ease),i=t.from||0,s=parseFloat(t.base)||0,o={},a=i>0&&i<1,l=isNaN(i)||a,u=t.axis,c=i,f=i;return ze(i)?c=f={center:.5,edges:.5,end:1}[i]||0:!a&&l&&(c=i[0],f=i[1]),function(h,d,g){var p=(g||t).length,y=o[p],b,v,m,_,w,T,S,M,E;if(!y){if(E=t.grid==="auto"?0:(t.grid||[1,er])[1],!E){for(S=-1e8;S<(S=g[E++].getBoundingClientRect().left)&&ES&&(S=w),wp?p-1:u?u==="y"?p/E:E:Math.max(E,p/E))||0)*(i==="edges"?-1:1),y.b=p<0?s-p:s,y.u=Ze(t.amount||t.each)||0,r=r&&p<0?iu(r):r}return p=(y[h]-y.min)/y.max||0,Fe(y.b+(r?r(p):p)*y.v)+y.u}},Ao=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=Fe(Math.round(parseFloat(r)/e)*e*t);return(i-i%1)/t+(vr(r)?0:Ze(r))}},Xl=function(e,t){var r=Ke(e),i,s;return!r&&tr(e)&&(i=r=e.radius||er,e.values?(e=zt(e.values),(s=!vr(e[0]))&&(i*=i)):e=Ao(e.increment)),Or(t,r?xe(e)?function(o){return s=e(o),Math.abs(s-o)<=i?s:o}:function(o){for(var a=parseFloat(s?o.x:o),l=parseFloat(s?o.y:0),u=er,c=0,f=e.length,h,d;f--;)s?(h=e[f].x-a,d=e[f].y-l,h=h*h+d*d):h=Math.abs(e[f]-a),hi?s-o:o)})},pn=function(e){for(var t=0,r="",i,s,o,a;~(i=e.indexOf("random(",t));)o=e.indexOf(")",i),a=e.charAt(i+7)==="[",s=e.substr(i+7,o-i-7).match(a?El:vo),r+=e.substr(t,i-t)+Yl(a?s:+s[0],a?0:+s[1],+s[2]||1e-5),t=o+1;return r+e.substr(t,e.length-t)},Ul=function(e,t,r,i,s){var o=t-e,a=i-r;return Or(s,function(l){return r+((l-e)/o*a||0)})},fd=function n(e,t,r,i){var s=isNaN(e+t)?0:function(d){return(1-d)*e+d*t};if(!s){var o=ze(e),a={},l,u,c,f,h;if(r===!0&&(i=1)&&(r=null),o)e={p:e},t={p:t};else if(Ke(e)&&!Ke(t)){for(c=[],f=e.length,h=f-2,u=1;u(a=Math.abs(a))&&(l=o,s=a);return l},Pt=function(e,t,r){var i=e.vars,s=i[t],o=me,a=e._ctx,l,u,c;if(s)return l=i[t+"Params"],u=i.callbackScope||e,r&&Mr.length&&as(),a&&(me=a),c=l?s.apply(u,l):s.call(u),me=o,c},gn=function(e){return kr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!je),e.progress()<1&&Pt(e,"onInterrupt"),e},Di,Zl=[],Ql=function(e){if(e)if(e=!e.name&&e.default||e,mo()||e.headless){var t=e.name,r=xe(e),i=t&&!r&&e.init?function(){this._props=[]}:e,s={init:cn,render:No,add:Ro,kill:Cd,modifier:Ed,rawVars:0},o={targetTest:0,get:0,getSetter:$o,aliases:{},register:0};if(Ri(),e!==i){if(St[t])return;Dt(i,Dt(ls(e,s),o)),Zr(i.prototype,Zr(s,ls(e,o))),St[i.prop=t]=i,e.targetTest&&(os.push(i),xo[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}kl(t,i),e.register&&e.register(vt,i,mt)}else Zl.push(e)},ue=255,mn={aqua:[0,ue,ue],lime:[0,ue,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ue],navy:[0,0,128],white:[ue,ue,ue],olive:[128,128,0],yellow:[ue,ue,0],orange:[ue,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ue,0,0],pink:[ue,192,203],cyan:[0,ue,ue],transparent:[ue,ue,ue,0]},Lo=function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*ue+.5|0},Jl=function(e,t,r){var i=e?vr(e)?[e>>16,e>>8&ue,e&ue]:0:mn.black,s,o,a,l,u,c,f,h,d,g;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),mn[e])i=mn[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),o=e.charAt(2),a=e.charAt(3),e="#"+s+s+o+o+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&ue,i&ue,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&ue,e&ue]}else if(e.substr(0,3)==="hsl"){if(i=g=e.match(vo),!t)l=+i[0]%360/360,u=+i[1]/100,c=+i[2]/100,o=c<=.5?c*(u+1):c+u-c*u,s=c*2-o,i.length>3&&(i[3]*=1),i[0]=Lo(l+1/3,s,o),i[1]=Lo(l,s,o),i[2]=Lo(l-1/3,s,o);else if(~e.indexOf("="))return i=e.match(Sl),r&&i.length<4&&(i[3]=1),i}else i=e.match(vo)||mn.transparent;i=i.map(Number)}return t&&!g&&(s=i[0]/ue,o=i[1]/ue,a=i[2]/ue,f=Math.max(s,o,a),h=Math.min(s,o,a),c=(f+h)/2,f===h?l=u=0:(d=f-h,u=c>.5?d/(2-f-h):d/(f+h),l=f===s?(o-a)/d+(oe||b<0)&&(r+=b-t),i+=b,w=i-r,m=w-o,(m>0||v)&&(T=++f.frame,h=w-f.time*1e3,f.time=w=w/1e3,o+=m+(m>=s?4:s-m),_=1),v||(l=u(p)),_)for(d=0;d=b&&d--},_listeners:a},f}(),Ri=function(){return!vn&&Et.wake()},te={},hd=/^[\d.\-M][\d.\-,\s]/,pd=/["']/g,gd=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),i=r[0],s=1,o=r.length,a,l,u;s1&&r.config?r.config.apply(null,~e.indexOf("{")?[gd(t[1])]:md(e).split(",").map(Dl)):te._CE&&hd.test(e)?te._CE("",e):r},iu=function(e){return function(t){return 1-e(1-t)}},nu=function n(e,t){for(var r=e._first,i;r;)r instanceof nt?n(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?n(r.timeline,t):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=t)),r=r._next},Jr=function(e,t){return e&&(xe(e)?e:te[e]||vd(e))||t},ei=function(e,t,r,i){r===void 0&&(r=function(l){return 1-t(1-l)}),i===void 0&&(i=function(l){return l<.5?t(l*2)/2:1-t((1-l)*2)/2});var s={easeIn:t,easeOut:r,easeInOut:i},o;return gt(e,function(a){te[a]=Tt[a]=s,te[o=a.toLowerCase()]=r;for(var l in s)te[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=te[a+"."+l]=s[l]}),s},su=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Io=function n(e,t,r){var i=t>=1?t:1,s=(r||(e?.3:.45))/(t<1?t:1),o=s/po*(Math.asin(1/i)||0),a=function(c){return c===1?1:i*Math.pow(2,-10*c)*Wf((c-o)*s)+1},l=e==="out"?a:e==="in"?function(u){return 1-a(1-u)}:su(a);return s=po/s,l.config=function(u,c){return n(e,u,c)},l},Do=function n(e,t){t===void 0&&(t=1.70158);var r=function(o){return o?--o*o*((t+1)*o+t)+1:0},i=e==="out"?r:e==="in"?function(s){return 1-r(1-s)}:su(r);return i.config=function(s){return n(e,s)},i};gt("Linear,Quad,Cubic,Quart,Quint,Strong",function(n,e){var t=e<5?e+1:e;ei(n+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})}),te.Linear.easeNone=te.none=te.Linear.easeIn,ei("Elastic",Io("in"),Io("out"),Io()),function(n,e){var t=1/e,r=2*t,i=2.5*t,s=function(a){return a0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,Ii(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(Ri(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(ds(this,r),!s._dp||s.parent||$l(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r0||!this._tDur&&!r)&&ir(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===Ue||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Il(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Bl(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},e.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Bl(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,i){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*s,i):this._repeat?Li(this._tTime,s)+1:1},e.timeScale=function(r,i){if(!arguments.length)return this._rts===-1e-8?0:this._rts;if(this._rts===r)return this;var s=this.parent&&this._ts?cs(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-1e-8?0:this._rts,this.totalTime(hn(-Math.abs(this._delay),this._tDur,s),i!==!1),fs(this),Qf(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ri(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Ue&&(this._tTime-=Ue)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&ir(i,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(pt(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?cs(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=jf);var i=je;return je=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),je=i,this},e.globalTime=function(r){for(var i=this,s=arguments.length?r:i.rawTime();i;)s=i._start+s/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):s},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Gl(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,Gl(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,i){return this.totalTime(Rt(this,r),pt(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,pt(i))},e.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},e.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,s;return!!(!r||this._ts&&this._initted&&r.isActive()&&(s=r.rawTime(!0))>=i&&s1?(i?(o[r]=i,s&&(o[r+"Params"]=s),r==="onUpdate"&&(this._onUpdate=i)):delete o[r],this):o[r]},e.then=function(r){var i=this;return new Promise(function(s){var o=xe(r)?r:Rl,a=function(){var u=i.then;i.then=null,xe(o)&&(o=o(i))&&(o.then||o===i)&&(i.then=u),s(o),i.then=u};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?a():i._prom=a})},e.kill=function(){gn(this)},n}();Dt(_n.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:-1e-8,_prom:0,_ps:!1,_rts:1});var nt=function(n){bl(e,n);function e(r,i){var s;return r===void 0&&(r={}),s=n.call(this,r)||this,s.labels={},s.smoothChildTiming=!!r.smoothChildTiming,s.autoRemoveChildren=!!r.autoRemoveChildren,s._sort=pt(r.sortChildren),_e&&ir(r.parent||_e,It(s),i),r.reversed&&s.reverse(),r.paused&&s.paused(!0),r.scrollTrigger&&Nl(It(s),r.scrollTrigger),s}var t=e.prototype;return t.to=function(i,s,o){return dn(0,arguments,this),this},t.from=function(i,s,o){return dn(1,arguments,this),this},t.fromTo=function(i,s,o,a){return dn(2,arguments,this),this},t.set=function(i,s,o){return s.duration=0,s.parent=this,fn(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new ke(i,s,Rt(this,o),1),this},t.call=function(i,s,o){return ir(this,ke.delayedCall(0,i,s),o)},t.staggerTo=function(i,s,o,a,l,u,c){return o.duration=s,o.stagger=o.stagger||a,o.onComplete=u,o.onCompleteParams=c,o.parent=this,new ke(i,o,Rt(this,l)),this},t.staggerFrom=function(i,s,o,a,l,u,c){return o.runBackwards=1,fn(o).immediateRender=pt(o.immediateRender),this.staggerTo(i,s,o,a,l,u,c)},t.staggerFromTo=function(i,s,o,a,l,u,c,f){return a.startAt=o,fn(a).immediateRender=pt(a.immediateRender),this.staggerTo(i,s,a,l,u,c,f)},t.render=function(i,s,o){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,c=i<=0?0:Fe(i),f=this._zTime<0!=i<0&&(this._initted||!u),h,d,g,p,y,b,v,m,_,w,T,S;if(this!==_e&&c>l&&i>=0&&(c=l),c!==this._tTime||o||f){if(a!==this._time&&u&&(c+=this._time-a,i+=this._time-a),h=c,_=this._start,m=this._ts,b=!m,f&&(u||(a=this._zTime),(i||!s)&&(this._zTime=i)),this._repeat){if(T=this._yoyo,y=u+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(y*100+i,s,o);if(h=Fe(c%y),c===l?(p=this._repeat,h=u):(p=~~(c/y),p&&p===c/y&&(h=u,p--),h>u&&(h=u)),w=Li(this._tTime,y),!a&&this._tTime&&w!==p&&this._tTime-w*y-this._dur<=0&&(w=p),T&&p&1&&(h=u-h,S=1),p!==w&&!this._lock){var M=T&&w&1,E=M===(T&&p&1);if(p=a&&i>=0)for(d=this._first;d;){if(g=d._next,(d._act||h>=d._start)&&d._ts&&v!==d){if(d.parent!==this)return this.render(i,s,o);if(d.render(d._ts>0?(h-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(h-d._start)*d._ts,s,o),h!==this._time||!this._ts&&!b){v=0,g&&(c+=this._zTime=-1e-8);break}}d=g}else{d=this._last;for(var x=i<0?i:h;d;){if(g=d._prev,(d._act||x<=d._end)&&d._ts&&v!==d){if(d.parent!==this)return this.render(i,s,o);if(d.render(d._ts>0?(x-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(x-d._start)*d._ts,s,o||je&&(d._initted||d._startAt)),h!==this._time||!this._ts&&!b){v=0,g&&(c+=this._zTime=x?-1e-8:Ue);break}}d=g}}if(v&&!s&&(this.pause(),v.render(h>=a?0:-1e-8)._zTime=h>=a?1:-1,this._ts))return this._start=_,fs(this),this.render(i,s,o);this._onUpdate&&!s&&Pt(this,"onUpdate",!0),(c===l&&this._tTime>=this.totalDuration()||!c&&a)&&(_===this._start||Math.abs(m)!==Math.abs(this._ts))&&(this._lock||((i||!u)&&(c===l&&this._ts>0||!c&&this._ts<0)&&kr(this,1),!s&&!(i<0&&!a)&&(c||a||!l)&&(Pt(this,c===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c0)&&this._prom())))}return this},t.add=function(i,s){var o=this;if(vr(s)||(s=Rt(this,s,i)),!(i instanceof _n)){if(Ke(i))return i.forEach(function(a){return o.add(a,s)}),this;if(ze(i))return this.addLabel(i,s);if(xe(i))i=ke.delayedCall(0,i);else return this}return this!==i?ir(this,i,s):this},t.getChildren=function(i,s,o,a){i===void 0&&(i=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),a===void 0&&(a=-1e8);for(var l=[],u=this._first;u;)u._start>=a&&(u instanceof ke?s&&l.push(u):(o&&l.push(u),i&&l.push.apply(l,u.getChildren(!0,s,o)))),u=u._next;return l},t.getById=function(i){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===i)return s[o]},t.remove=function(i){return ze(i)?this.removeLabel(i):xe(i)?this.killTweensOf(i):(us(this,i),i===this._recent&&(this._recent=this._last),Qr(this))},t.totalTime=function(i,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Fe(Et.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),n.prototype.totalTime.call(this,i,s),this._forcing=0,this):this._tTime},t.addLabel=function(i,s){return this.labels[i]=Rt(this,s),this},t.removeLabel=function(i){return delete this.labels[i],this},t.addPause=function(i,s,o){var a=ke.delayedCall(0,s||cn,o);return a.data="isPause",this._hasPause=1,ir(this,a,Rt(this,i))},t.removePause=function(i){var s=this._first;for(i=Rt(this,i);s;)s._start===i&&s.data==="isPause"&&kr(s),s=s._next},t.killTweensOf=function(i,s,o){for(var a=this.getTweensOf(i,o),l=a.length;l--;)Lr!==a[l]&&a[l].kill(i,s);return this},t.getTweensOf=function(i,s){for(var o=[],a=zt(i),l=this._first,u=vr(s),c;l;)l instanceof ke?Uf(l._targets,a)&&(u?(!Lr||l._initted&&l._ts)&&l.globalTime(0)<=s&&l.globalTime(l.totalDuration())>s:!s||l.isActive())&&o.push(l):(c=l.getTweensOf(a,s)).length&&o.push.apply(o,c),l=l._next;return o},t.tweenTo=function(i,s){s=s||{};var o=this,a=Rt(o,i),l=s,u=l.startAt,c=l.onStart,f=l.onStartParams,h=l.immediateRender,d,g=ke.to(o,Dt({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:s.duration||Math.abs((a-(u&&"time"in u?u.time:o._time))/o.timeScale())||Ue,onStart:function(){if(o.pause(),!d){var y=s.duration||Math.abs((a-(u&&"time"in u?u.time:o._time))/o.timeScale());g._dur!==y&&Ii(g,y,0,1).render(g._time,!0,!0),d=1}c&&c.apply(g,f||[])}},s));return h?g.render(0):g},t.tweenFromTo=function(i,s,o){return this.tweenTo(s,Dt({startAt:{time:Rt(this,i)}},o))},t.recent=function(){return this._recent},t.nextLabel=function(i){return i===void 0&&(i=this._time),Kl(this,Rt(this,i))},t.previousLabel=function(i){return i===void 0&&(i=this._time),Kl(this,Rt(this,i),1)},t.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+Ue)},t.shiftChildren=function(i,s,o){o===void 0&&(o=0);for(var a=this._first,l=this.labels,u;a;)a._start>=o&&(a._start+=i,a._end+=i),a=a._next;if(s)for(u in l)l[u]>=o&&(l[u]+=i);return Qr(this)},t.invalidate=function(i){var s=this._first;for(this._lock=0;s;)s.invalidate(i),s=s._next;return n.prototype.invalidate.call(this,i)},t.clear=function(i){i===void 0&&(i=!0);for(var s=this._first,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Qr(this)},t.totalDuration=function(i){var s=0,o=this,a=o._last,l=er,u,c,f;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-i:i));if(o._dirty){for(f=o.parent;a;)u=a._prev,a._dirty&&a.totalDuration(),c=a._start,c>l&&o._sort&&a._ts&&!o._lock?(o._lock=1,ir(o,a,c-a._delay,1)._lock=0):l=c,c<0&&a._ts&&(s-=c,(!f&&!o._dp||f&&f.smoothChildTiming)&&(o._start+=c/o._ts,o._time-=c,o._tTime-=c),o.shiftChildren(-c,!1,-1/0),l=0),a._end>s&&a._ts&&(s=a._end),a=u;Ii(o,o===_e&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(i){if(_e._ts&&(Il(_e,cs(i,_e)),Ol=Et.frame),Et.frame>=Al){Al+=xt.autoSleep||120;var s=_e._first;if((!s||!s._ts)&&xt.autoSleep&&Et._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||Et.sleep()}}},e}(_n);Dt(nt.prototype,{_lock:0,_hasPause:0,_forcing:0});var _d=function(e,t,r,i,s,o,a){var l=new mt(this._pt,e,t,0,1,du,null,s),u=0,c=0,f,h,d,g,p,y,b,v;for(l.b=r,l.e=i,r+="",i+="",(b=~i.indexOf("random("))&&(i=pn(i)),o&&(v=[r,i],o(v,e,t),r=v[0],i=v[1]),h=r.match(_o)||[];f=_o.exec(i);)g=f[0],p=i.substring(u,f.index),d?d=(d+1)%5:p.substr(-5)==="rgba("&&(d=1),g!==h[c++]&&(y=parseFloat(h[c-1])||0,l._pt={_next:l._pt,p:p||c===1?p:",",s:y,c:g.charAt(1)==="="?Ai(y,g)-y:parseFloat(g)-y,m:d&&d<4?Math.round:0},u=_o.lastIndex);return l.c=u")}),_.duration();else{T={};for(M in g)M==="ease"||M==="easeEach"||xd(M,g[M],T,g.easeEach);for(M in T)for(A=T[M].sort(function(z,B){return z.t-B.t}),C=0,w=0;wl-Ue&&!c?l:iu&&(h=u)),b=this._yoyo&&g&1,b&&(_=this._yEase,h=u-h),y=Li(this._tTime,p),h===a&&!o&&this._initted&&g===y)return this._tTime=f,this;g!==y&&(m&&this._yEase&&nu(m,b),this.vars.repeatRefresh&&!b&&!this._lock&&this._time!==p&&this._initted&&(this._lock=o=1,this.render(Fe(p*g),!0).invalidate()._lock=0))}if(!this._initted){if(Vl(this,c?i:h,o,s,f))return this._tTime=0,this;if(a!==this._time&&!(o&&this.vars.repeatRefresh&&g!==y))return this;if(u!==this._dur)return this.render(i,s,o)}if(this._tTime=f,this._time=h,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(_||this._ease)(h/u),this._from&&(this.ratio=v=1-v),h&&!a&&!s&&!g&&(Pt(this,"onStart"),this._tTime!==f))return this;for(d=this._pt;d;)d.r(v,d.d),d=d._next;m&&m.render(i<0?i:m._dur*m._ease(h/this._dur),s,o)||this._startAt&&(this._zTime=i),this._onUpdate&&!s&&(c&&Co(this,i,s,o),Pt(this,"onUpdate")),this._repeat&&g!==y&&this.vars.onRepeat&&!s&&this.parent&&Pt(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(c&&!this._onUpdate&&Co(this,i,!0,!0),(i||!u)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&kr(this,1),!s&&!(c&&!a)&&(f||a||b)&&(Pt(this,f===l?"onComplete":"onReverseComplete",!0),this._prom&&!(f0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),n.prototype.invalidate.call(this,i)},t.resetTo=function(i,s,o,a,l){vn||Et.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||Fo(this,u),c=this._ease(u/this._dur),wd(this,i,s,o,a,c,u,l)?this.resetTo(i,s,o,a,1):(ds(this,0),this.parent||Fl(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(i,s){if(s===void 0&&(s="all"),!i&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?gn(this):this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(i,s,Lr&&Lr.vars.overwrite!==!0)._first||gn(this),this.parent&&o!==this.timeline.totalDuration()&&Ii(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,l=i?zt(i):a,u=this._ptLookup,c=this._pt,f,h,d,g,p,y,b;if((!s||s==="all")&&Zf(a,l))return s==="all"&&(this._pt=0),gn(this);for(f=this._op=this._op||[],s!=="all"&&(ze(s)&&(p={},gt(s,function(v){return p[v]=1}),s=p),s=bd(a,s)),b=a.length;b--;)if(~l.indexOf(a[b])){h=u[b],s==="all"?(f[b]=s,g=h,d={}):(d=f[b]=f[b]||{},g=s);for(p in g)y=h&&h[p],y&&((!("kill"in y.d)||y.d.kill(p)===!0)&&us(this,y,"_pt"),delete h[p]),d!=="all"&&(d[p]=1)}return this._initted&&!this._pt&&c&&gn(this),this},e.to=function(i,s){return new e(i,s,arguments[2])},e.from=function(i,s){return dn(1,arguments)},e.delayedCall=function(i,s,o,a){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},e.fromTo=function(i,s,o){return dn(2,arguments)},e.set=function(i,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(i,s)},e.killTweensOf=function(i,s,o){return _e.killTweensOf(i,s,o)},e}(_n);Dt(ke.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),gt("staggerTo,staggerFrom,staggerFromTo",function(n){ke[n]=function(){var e=new nt,t=ko.call(arguments,0);return t.splice(n==="staggerFromTo"?5:4,0,0),e[n].apply(e,t)}});var Bo=function(e,t,r){return e[t]=r},cu=function(e,t,r){return e[t](r)},Td=function(e,t,r,i){return e[t](i.fp,r)},Sd=function(e,t,r){return e.setAttribute(t,r)},$o=function(e,t){return xe(e[t])?cu:go(e[t])&&e.setAttribute?Sd:Bo},fu=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Pd=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},du=function(e,t){var r=t._pt,i="";if(!e&&t.b)i=t.b;else if(e===1&&t.e)i=t.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=t.c}t.set(t.t,t.p,i,t)},No=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},Ed=function(e,t,r,i){for(var s=this._pt,o;s;)o=s._next,s.p===i&&s.modifier(e,t,r),s=o},Cd=function(e){for(var t=this._pt,r,i;t;)i=t._next,t.p===e&&!t.op||t.op===e?us(this,t,"_pt"):t.dep||(r=1),t=i;return!r},Md=function(e,t,r,i){i.mSet(e,t,i.m.call(i.tween,r,i.mt),i)},hu=function(e){for(var t=e._pt,r,i,s,o;t;){for(r=t._next,i=s;i&&i.pr>t.pr;)i=i._next;(t._prev=i?i._prev:o)?t._prev._next=t:s=t,(t._next=i)?i._prev=t:o=t,t=r}e._pt=s},mt=function(){function n(t,r,i,s,o,a,l,u,c){this.t=r,this.s=s,this.c=o,this.p=i,this.r=a||fu,this.d=l||this,this.set=u||Bo,this.pr=c||0,this._next=t,t&&(t._prev=this)}var e=n.prototype;return e.modifier=function(r,i,s){this.mSet=this.mSet||this.set,this.set=Md,this.m=r,this.mt=s,this.tween=i},n}();gt(Po+"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(n){return xo[n]=1}),Tt.TweenMax=Tt.TweenLite=ke,Tt.TimelineLite=Tt.TimelineMax=nt,_e=new nt({sortChildren:!1,defaults:ki,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),xt.stringFilter=ru;var ti=[],hs={},kd=[],pu=0,Od=0,Vo=function(e){return(hs[e]||kd).map(function(t){return t()})},Go=function(){var e=Date.now(),t=[];e-pu>2&&(Vo("matchMediaInit"),ti.forEach(function(r){var i=r.queries,s=r.conditions,o,a,l,u;for(a in i)o=rr.matchMedia(i[a]).matches,o&&(l=1),o!==s[a]&&(s[a]=o,u=1);u&&(r.revert(),l&&t.push(r))}),Vo("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),pu=e,Vo("matchMedia"))},gu=function(){function n(t,r){this.selector=r&&Oo(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Od++,t&&this.add(t)}var e=n.prototype;return e.add=function(r,i,s){xe(r)&&(s=i,i=r,r=xe);var o=this,a=function(){var u=me,c=o.selector,f;return u&&u!==o&&u.data.push(o),s&&(o.selector=Oo(s)),me=o,f=i.apply(o,arguments),xe(f)&&o._r.push(f),me=u,o.selector=c,o.isReverted=!1,f};return o.last=a,r===xe?a(o,function(l){return o.add(null,l)}):r?o[r]=a:a},e.ignore=function(r){var i=me;me=null,r(this),me=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof n?r.push.apply(r,i.getTweens()):i instanceof ke&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,i){var s=this;if(r?function(){for(var a=s.getTweens(),l=s.data.length,u;l--;)u=s.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(c){return a.splice(a.indexOf(c),1)}));for(a.map(function(c){return{g:c._dur||c._delay||c._sat&&!c._sat.vars.immediateRender?c.globalTime(0):-1/0,t:c}}).sort(function(c,f){return f.g-c.g||-1/0}).forEach(function(c){return c.t.revert(r)}),l=s.data.length;l--;)u=s.data[l],u instanceof nt?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof ke)&&u.revert&&u.revert(r);s._r.forEach(function(c){return c(r,s)}),s.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),i)for(var o=ti.length;o--;)ti[o].id===this.id&&ti.splice(o,1)},e.revert=function(r){this.kill(r||{})},n}(),Ad=function(){function n(t){this.contexts=[],this.scope=t,me&&me.data.push(this)}var e=n.prototype;return e.add=function(r,i,s){tr(r)||(r={matches:r});var o=new gu(0,s||this.scope),a=o.conditions={},l,u,c;me&&!o.selector&&(o.selector=me.selector),this.contexts.push(o),i=o.add("onMatch",i),o.queries=r;for(u in r)u==="all"?c=1:(l=rr.matchMedia(r[u]),l&&(ti.indexOf(o)<0&&ti.push(o),(a[u]=l.matches)&&(c=1),l.addListener?l.addListener(Go):l.addEventListener("change",Go)));return c&&i(o,function(f){return o.add(null,f)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},n}(),ps={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r1){var i=e.map(function(c){return vt.quickSetter(c,t,r)}),s=i.length;return function(c){for(var f=s;f--;)i[f](c)}}e=e[0]||{};var o=St[t],a=Kr(e),l=a.harness&&(a.harness.aliases||{})[t]||t,u=o?function(c){var f=new o;Di._pt=0,f.init(e,r?c+r:c,Di,0,[e]),f.render(1,f),Di._pt&&No(1,Di)}:a.set(e,l);return o?u:function(c){return u(e,l,r?c+r:c,a,1)}},quickTo:function(e,t,r){var i,s=vt.to(e,Zr((i={},i[t]="+=0.1",i.paused=!0,i),r||{})),o=function(l,u,c){return s.resetTo(t,l,u,c)};return o.tween=s,o},isTweening:function(e){return _e.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Jr(e.ease,ki.ease)),zl(ki,e||{})},config:function(e){return zl(xt,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,i=e.plugins,s=e.defaults,o=e.extendTimeline;(i||"").split(",").forEach(function(a){return a&&!St[a]&&!Tt[a]&&un(t+" effect requires "+a+" plugin.")}),So[t]=function(a,l,u){return r(zt(a),Dt(l||{},s),u)},o&&(nt.prototype[t]=function(a,l,u){return this.add(So[t](a,tr(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,t){te[e]=Jr(t)},parseEase:function(e,t){return arguments.length?Jr(e,t):te},getById:function(e){return _e.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new nt(e),i,s;for(r.smoothChildTiming=pt(e.smoothChildTiming),_e.remove(r),r._dp=0,r._time=r._tTime=_e._time,i=_e._first;i;)s=i._next,(t||!(!i._dur&&i instanceof ke&&i.vars.onComplete===i._targets[0]))&&ir(r,i,i._start-i._delay),i=s;return ir(_e,r,0),r},context:function(e,t){return e?new gu(e,t):me},matchMedia:function(e){return new Ad(e)},matchMediaRefresh:function(){return ti.forEach(function(e){var t=e.conditions,r,i;for(i in t)t[i]&&(t[i]=!1,r=1);r&&e.revert()})||Go()},addEventListener:function(e,t){var r=hs[e]||(hs[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=hs[e],i=r&&r.indexOf(t);i>=0&&r.splice(i,1)},utils:{wrap:ud,wrapYoyo:cd,distribute:Wl,random:Yl,snap:Xl,normalize:ld,getUnit:Ze,clamp:nd,splitColor:Jl,toArray:zt,selector:Oo,mapRange:Ul,pipe:od,unitize:ad,interpolate:fd,shuffle:Hl},install:Ml,effects:So,ticker:Et,updateRoot:nt.updateRoot,plugins:St,globalTimeline:_e,core:{PropTween:mt,globals:kl,Tween:ke,Timeline:nt,Animation:_n,getCache:Kr,_removeLinkedListItem:us,reverting:function(){return je},context:function(e){return e&&me&&(me.data.push(e),e._ctx=me),me},suppressOverwrites:function(e){return ho=e}}};gt("to,from,fromTo,delayedCall,set,killTweensOf",function(n){return ps[n]=ke[n]}),Et.add(nt.updateRoot),Di=ps.to({},{duration:0});var Ld=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},Id=function(e,t){var r=e._targets,i,s,o;for(i in t)for(s=r.length;s--;)o=e._ptLookup[s][i],o&&(o=o.d)&&(o._pt&&(o=Ld(o,i)),o&&o.modifier&&o.modifier(t[i],e,r[s],i))},qo=function(e,t){return{name:e,rawVars:1,init:function(i,s,o){o._onInit=function(a){var l,u;if(ze(s)&&(l={},gt(s,function(c){return l[c]=1}),s=l),t){l={};for(u in s)l[u]=t(s[u]);s=l}Id(a,s)}}}},vt=ps.registerPlugin({name:"attr",init:function(e,t,r,i,s){var o,a,l;this.tween=r;for(o in t)l=e.getAttribute(o)||"",a=this.add(e,"setAttribute",(l||0)+"",t[o],i,s,0,0,o),a.op=o,a.b=l,this._props.push(o)},render:function(e,t){for(var r=t._pt;r;)je?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},qo("roundProps",Ao),qo("modifiers"),qo("snap",Xl))||ps;ke.version=nt.version=vt.version="3.12.5",Cl=1,mo()&&Ri(),te.Power0,te.Power1,te.Power2,te.Power3,te.Power4,te.Linear,te.Quad,te.Cubic,te.Quart,te.Quint,te.Strong,te.Elastic,te.Back,te.SteppedEase,te.Bounce,te.Sine,te.Expo,te.Circ;/*! * CSSPlugin 3.12.5 * https://gsap.com * * Copyright 2008-2024, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license or for * Club GSAP members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */var mu,Ir,zi,Ho,ri,vu,Wo,Dd=function(){return typeof window<"u"},_r={},ii=180/Math.PI,Fi=Math.PI/180,Bi=Math.atan2,_u=1e8,Xo=/([A-Z])/g,Rd=/(left|right|width|margin|padding|x)/i,zd=/[\s,\(]\S/,nr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Yo=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Fd=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Bd=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},$d=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},yu=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},wu=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},Nd=function(e,t,r){return e.style[t]=r},Vd=function(e,t,r){return e.style.setProperty(t,r)},Gd=function(e,t,r){return e._gsap[t]=r},qd=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},Hd=function(e,t,r,i,s){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(s,o)},Wd=function(e,t,r,i,s){var o=e._gsap;o[t]=r,o.renderTransform(s,o)},ye="transform",_t=ye+"Origin",Xd=function n(e,t){var r=this,i=this.target,s=i.style,o=i._gsap;if(e in _r&&s){if(this.tfm=this.tfm||{},e!=="transform")e=nr[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=yr(i,a)}):this.tfm[e]=o.x?o[e]:yr(i,e),e===_t&&(this.tfm.zOrigin=o.zOrigin);else return nr.transform.split(",").forEach(function(a){return n.call(r,a,t)});if(this.props.indexOf(ye)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(_t,t,"")),e=ye}(s||t)&&this.props.push(e,t,s[e])},bu=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Yd=function(){var e=this.props,t=this.target,r=t.style,i=t._gsap,s,o;for(s=0;s=0?Su[o]:"")+e},Uo=function(){Dd()&&window.document&&(mu=window,Ir=mu.document,zi=Ir.documentElement,ri=jo("div")||{style:{}},jo("div"),ye=$i(ye),_t=ye+"Origin",ri.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Tu=!!$i("perspective"),Wo=vt.core.reverting,Ho=1)},Ko=function n(e){var t=jo("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,i=this.nextSibling,s=this.style.cssText,o;if(zi.appendChild(t),t.appendChild(this),this.style.display="block",e)try{o=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=n}catch{}else this._gsapBBox&&(o=this._gsapBBox());return r&&(i?r.insertBefore(this,i):r.appendChild(this)),zi.removeChild(t),this.style.cssText=s,o},Pu=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},Eu=function(e){var t;try{t=e.getBBox()}catch{t=Ko.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===Ko||(t=Ko.call(e,!0)),t&&!t.width&&!t.x&&!t.y?{x:+Pu(e,["x","cx","x1"])||0,y:+Pu(e,["y","cy","y1"])||0,width:0,height:0}:t},Cu=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Eu(e))},ni=function(e,t){if(t){var r=e.style,i;t in _r&&t!==_t&&(t=ye),r.removeProperty?(i=t.substr(0,2),(i==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(i==="--"?t:t.replace(Xo,"-$1").toLowerCase())):r.removeAttribute(t)}},Dr=function(e,t,r,i,s,o){var a=new mt(e._pt,t,r,0,1,o?wu:yu);return e._pt=a,a.b=i,a.e=s,e._props.push(r),a},Mu={deg:1,rad:1,turn:1},jd={grid:1,flex:1},Rr=function n(e,t,r,i){var s=parseFloat(r)||0,o=(r+"").trim().substr((s+"").length)||"px",a=ri.style,l=Rd.test(t),u=e.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(l?"Width":"Height"),f=100,h=i==="px",d=i==="%",g,p,y,b;if(i===o||!s||Mu[i]||Mu[o])return s;if(o!=="px"&&!h&&(s=n(e,t,r,"px")),b=e.getCTM&&Cu(e),(d||o==="%")&&(_r[t]||~t.indexOf("adius")))return g=b?e.getBBox()[l?"width":"height"]:e[c],Se(d?s/g*f:s/100*g);if(a[l?"width":"height"]=f+(h?o:i),p=~t.indexOf("adius")||i==="em"&&e.appendChild&&!u?e:e.parentNode,b&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===Ir||!p.appendChild)&&(p=Ir.body),y=p._gsap,y&&d&&y.width&&l&&y.time===Et.time&&!y.uncache)return Se(s/y.width*f);if(d&&(t==="height"||t==="width")){var v=e.style[t];e.style[t]=f+i,g=e[c],v?e.style[t]=v:ni(e,t)}else(d||o==="%")&&!jd[sr(p,"display")]&&(a.position=sr(e,"position")),p===e&&(a.position="static"),p.appendChild(ri),g=ri[c],p.removeChild(ri),a.position="absolute";return l&&d&&(y=Kr(p),y.time=Et.time,y.width=p[c]),Se(h?g*s/f:g&&s?f/g*s:0)},yr=function(e,t,r,i){var s;return Ho||Uo(),t in nr&&t!=="transform"&&(t=nr[t],~t.indexOf(",")&&(t=t.split(",")[0])),_r[t]&&t!=="transform"?(s=bn(e,i),s=t!=="transformOrigin"?s[t]:s.svg?s.origin:ms(sr(e,_t))+" "+s.zOrigin+"px"):(s=e.style[t],(!s||s==="auto"||i||~(s+"").indexOf("calc("))&&(s=gs[t]&&gs[t](e,t,r)||sr(e,t)||Ll(e,t)||(t==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?Rr(e,t,s,r)+r:s},Ud=function(e,t,r,i){if(!r||r==="none"){var s=$i(t,e,1),o=s&&sr(e,s,1);o&&o!==r?(t=s,r=o):t==="borderColor"&&(r=sr(e,"borderTopColor"))}var a=new mt(this._pt,e.style,t,0,1,du),l=0,u=0,c,f,h,d,g,p,y,b,v,m,_,w;if(a.b=r,a.e=i,r+="",i+="",i==="auto"&&(p=e.style[t],e.style[t]=i,i=sr(e,t)||i,p?e.style[t]=p:ni(e,t)),c=[r,i],ru(c),r=c[0],i=c[1],h=r.match(Oi)||[],w=i.match(Oi)||[],w.length){for(;f=Oi.exec(i);)y=f[0],v=i.substring(l,f.index),g?g=(g+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(g=1),y!==(p=h[u++]||"")&&(d=parseFloat(p)||0,_=p.substr((d+"").length),y.charAt(1)==="="&&(y=Ai(d,y)+_),b=parseFloat(y),m=y.substr((b+"").length),l=Oi.lastIndex-m.length,m||(m=m||xt.units[t]||_,l===i.length&&(i+=m,a.e+=m)),_!==m&&(d=Rr(e,t,p,m)||0),a._pt={_next:a._pt,p:v||u===1?v:",",s:d,c:b-d,m:g&&g<4||t==="zIndex"?Math.round:0});a.c=l-1;)a=s[u],_r[a]&&(l=1,a=a==="transformOrigin"?_t:ye),ni(r,a);l&&(ni(r,ye),o&&(o.svg&&r.removeAttribute("transform"),bn(r,1),o.uncache=1,bu(i)))}},gs={clearProps:function(e,t,r,i,s){if(s.data!=="isFromStart"){var o=e._pt=new mt(e._pt,t,r,0,0,Zd);return o.u=i,o.pr=-10,o.tween=s,e._props.push(r),1}}},wn=[1,0,0,1,0,0],Ou={},Au=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Lu=function(e){var t=sr(e,ye);return Au(t)?wn:t.substr(7).match(Sl).map(Se)},Zo=function(e,t){var r=e._gsap||Kr(e),i=e.style,s=Lu(e),o,a,l,u;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,s=[l.a,l.b,l.c,l.d,l.e,l.f],s.join(",")==="1,0,0,1,0,0"?wn:s):(s===wn&&!e.offsetParent&&e!==zi&&!r.svg&&(l=i.display,i.display="block",o=e.parentNode,(!o||!e.offsetParent)&&(u=1,a=e.nextElementSibling,zi.appendChild(e)),s=Lu(e),l?i.display=l:ni(e,"display"),u&&(a?o.insertBefore(e,a):o?o.appendChild(e):zi.removeChild(e))),t&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Qo=function(e,t,r,i,s,o){var a=e._gsap,l=s||Zo(e,!0),u=a.xOrigin||0,c=a.yOrigin||0,f=a.xOffset||0,h=a.yOffset||0,d=l[0],g=l[1],p=l[2],y=l[3],b=l[4],v=l[5],m=t.split(" "),_=parseFloat(m[0])||0,w=parseFloat(m[1])||0,T,S,M,E;r?l!==wn&&(S=d*y-g*p)&&(M=_*(y/S)+w*(-p/S)+(p*v-y*b)/S,E=_*(-g/S)+w*(d/S)-(d*v-g*b)/S,_=M,w=E):(T=Eu(e),_=T.x+(~m[0].indexOf("%")?_/100*T.width:_),w=T.y+(~(m[1]||m[0]).indexOf("%")?w/100*T.height:w)),i||i!==!1&&a.smooth?(b=_-u,v=w-c,a.xOffset=f+(b*d+v*p)-b,a.yOffset=h+(b*g+v*y)-v):a.xOffset=a.yOffset=0,a.xOrigin=_,a.yOrigin=w,a.smooth=!!i,a.origin=t,a.originIsAbsolute=!!r,e.style[_t]="0px 0px",o&&(Dr(o,a,"xOrigin",u,_),Dr(o,a,"yOrigin",c,w),Dr(o,a,"xOffset",f,a.xOffset),Dr(o,a,"yOffset",h,a.yOffset)),e.setAttribute("data-svg-origin",_+" "+w)},bn=function(e,t){var r=e._gsap||new ou(e);if("x"in r&&!t&&!r.uncache)return r;var i=e.style,s=r.scaleX<0,o="px",a="deg",l=getComputedStyle(e),u=sr(e,_t)||"0",c,f,h,d,g,p,y,b,v,m,_,w,T,S,M,E,x,k,C,A,L,I,z,B,j,G,P,ne,oe,bt,ae,Q;return c=f=h=p=y=b=v=m=_=0,d=g=1,r.svg=!!(e.getCTM&&Cu(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[ye]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[ye]!=="none"?l[ye]:"")),i.scale=i.rotate=i.translate="none"),S=Zo(e,r.svg),r.svg&&(r.uncache?(j=e.getBBox(),u=r.xOrigin-j.x+"px "+(r.yOrigin-j.y)+"px",B=""):B=!t&&e.getAttribute("data-svg-origin"),Qo(e,B||u,!!B||r.originIsAbsolute,r.smooth!==!1,S)),w=r.xOrigin||0,T=r.yOrigin||0,S!==wn&&(k=S[0],C=S[1],A=S[2],L=S[3],c=I=S[4],f=z=S[5],S.length===6?(d=Math.sqrt(k*k+C*C),g=Math.sqrt(L*L+A*A),p=k||C?Bi(C,k)*ii:0,v=A||L?Bi(A,L)*ii+p:0,v&&(g*=Math.abs(Math.cos(v*Fi))),r.svg&&(c-=w-(w*k+T*A),f-=T-(w*C+T*L))):(Q=S[6],bt=S[7],P=S[8],ne=S[9],oe=S[10],ae=S[11],c=S[12],f=S[13],h=S[14],M=Bi(Q,oe),y=M*ii,M&&(E=Math.cos(-M),x=Math.sin(-M),B=I*E+P*x,j=z*E+ne*x,G=Q*E+oe*x,P=I*-x+P*E,ne=z*-x+ne*E,oe=Q*-x+oe*E,ae=bt*-x+ae*E,I=B,z=j,Q=G),M=Bi(-A,oe),b=M*ii,M&&(E=Math.cos(-M),x=Math.sin(-M),B=k*E-P*x,j=C*E-ne*x,G=A*E-oe*x,ae=L*x+ae*E,k=B,C=j,A=G),M=Bi(C,k),p=M*ii,M&&(E=Math.cos(M),x=Math.sin(M),B=k*E+C*x,j=I*E+z*x,C=C*E-k*x,z=z*E-I*x,k=B,I=j),y&&Math.abs(y)+Math.abs(p)>359.9&&(y=p=0,b=180-b),d=Se(Math.sqrt(k*k+C*C+A*A)),g=Se(Math.sqrt(z*z+Q*Q)),M=Bi(I,z),v=Math.abs(M)>2e-4?M*ii:0,_=ae?1/(ae<0?-ae:ae):0),r.svg&&(B=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!Au(sr(e,ye)),B&&e.setAttribute("transform",B))),Math.abs(v)>90&&Math.abs(v)<270&&(s?(d*=-1,v+=p<=0?180:-180,p+=p<=0?180:-180):(g*=-1,v+=v<=0?180:-180)),t=t||r.uncache,r.x=c-((r.xPercent=c&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o,r.y=f-((r.yPercent=f&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-f)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o,r.z=h+o,r.scaleX=Se(d),r.scaleY=Se(g),r.rotation=Se(p)+a,r.rotationX=Se(y)+a,r.rotationY=Se(b)+a,r.skewX=v+a,r.skewY=m+a,r.transformPerspective=_+o,(r.zOrigin=parseFloat(u.split(" ")[2])||!t&&r.zOrigin||0)&&(i[_t]=ms(u)),r.xOffset=r.yOffset=0,r.force3D=xt.force3D,r.renderTransform=r.svg?Jd:Tu?Iu:Qd,r.uncache=0,r},ms=function(e){return(e=e.split(" "))[0]+" "+e[1]},Jo=function(e,t,r){var i=Ze(t);return Se(parseFloat(t)+parseFloat(Rr(e,"x",r+"px",i)))+i},Qd=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Iu(e,t)},si="0deg",xn="0px",oi=") ",Iu=function(e,t){var r=t||this,i=r.xPercent,s=r.yPercent,o=r.x,a=r.y,l=r.z,u=r.rotation,c=r.rotationY,f=r.rotationX,h=r.skewX,d=r.skewY,g=r.scaleX,p=r.scaleY,y=r.transformPerspective,b=r.force3D,v=r.target,m=r.zOrigin,_="",w=b==="auto"&&e&&e!==1||b===!0;if(m&&(f!==si||c!==si)){var T=parseFloat(c)*Fi,S=Math.sin(T),M=Math.cos(T),E;T=parseFloat(f)*Fi,E=Math.cos(T),o=Jo(v,o,S*E*-m),a=Jo(v,a,-Math.sin(T)*-m),l=Jo(v,l,M*E*-m+m)}y!==xn&&(_+="perspective("+y+oi),(i||s)&&(_+="translate("+i+"%, "+s+"%) "),(w||o!==xn||a!==xn||l!==xn)&&(_+=l!==xn||w?"translate3d("+o+", "+a+", "+l+") ":"translate("+o+", "+a+oi),u!==si&&(_+="rotate("+u+oi),c!==si&&(_+="rotateY("+c+oi),f!==si&&(_+="rotateX("+f+oi),(h!==si||d!==si)&&(_+="skew("+h+", "+d+oi),(g!==1||p!==1)&&(_+="scale("+g+", "+p+oi),v.style[ye]=_||"translate(0, 0)"},Jd=function(e,t){var r=t||this,i=r.xPercent,s=r.yPercent,o=r.x,a=r.y,l=r.rotation,u=r.skewX,c=r.skewY,f=r.scaleX,h=r.scaleY,d=r.target,g=r.xOrigin,p=r.yOrigin,y=r.xOffset,b=r.yOffset,v=r.forceCSS,m=parseFloat(o),_=parseFloat(a),w,T,S,M,E;l=parseFloat(l),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,l+=c),l||u?(l*=Fi,u*=Fi,w=Math.cos(l)*f,T=Math.sin(l)*f,S=Math.sin(l-u)*-h,M=Math.cos(l-u)*h,u&&(c*=Fi,E=Math.tan(u-c),E=Math.sqrt(1+E*E),S*=E,M*=E,c&&(E=Math.tan(c),E=Math.sqrt(1+E*E),w*=E,T*=E)),w=Se(w),T=Se(T),S=Se(S),M=Se(M)):(w=f,M=h,T=S=0),(m&&!~(o+"").indexOf("px")||_&&!~(a+"").indexOf("px"))&&(m=Rr(d,"x",o,"px"),_=Rr(d,"y",a,"px")),(g||p||y||b)&&(m=Se(m+g-(g*w+p*S)+y),_=Se(_+p-(g*T+p*M)+b)),(i||s)&&(E=d.getBBox(),m=Se(m+i/100*E.width),_=Se(_+s/100*E.height)),E="matrix("+w+","+T+","+S+","+M+","+m+","+_+")",d.setAttribute("transform",E),v&&(d.style[ye]=E)},eh=function(e,t,r,i,s){var o=360,a=ze(s),l=parseFloat(s)*(a&&~s.indexOf("rad")?ii:1),u=l-i,c=i+u+"deg",f,h;return a&&(f=s.split("_")[1],f==="short"&&(u%=o,u!==u%(o/2)&&(u+=u<0?o:-360)),f==="cw"&&u<0?u=(u+o*_u)%o-~~(u/o)*o:f==="ccw"&&u>0&&(u=(u-o*_u)%o-~~(u/o)*o)),e._pt=h=new mt(e._pt,t,r,i,u,Fd),h.e=c,h.u="deg",e._props.push(r),h},Du=function(e,t){for(var r in t)e[r]=t[r];return e},th=function(e,t,r){var i=Du({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=r.style,a,l,u,c,f,h,d,g;i.svg?(u=r.getAttribute("transform"),r.setAttribute("transform",""),o[ye]=t,a=bn(r,1),ni(r,ye),r.setAttribute("transform",u)):(u=getComputedStyle(r)[ye],o[ye]=t,a=bn(r,1),o[ye]=u);for(l in _r)u=i[l],c=a[l],u!==c&&s.indexOf(l)<0&&(d=Ze(u),g=Ze(c),f=d!==g?Rr(r,l,u,g):parseFloat(u),h=parseFloat(c),e._pt=new mt(e._pt,a,l,f,h-f,Yo),e._pt.u=g||0,e._props.push(l));Du(a,i)};gt("padding,margin,Width,Radius",function(n,e){var t="Top",r="Right",i="Bottom",s="Left",o=(e<3?[t,r,i,s]:[t+s,t+r,i+r,i+s]).map(function(a){return e<2?n+a:"border"+a+n});gs[e>1?"border"+n:n]=function(a,l,u,c,f){var h,d;if(arguments.length<4)return h=o.map(function(g){return yr(a,g,u)}),d=h.join(" "),d.split(h[0]).length===5?h[0]:d;h=(c+"").split(" "),d={},o.forEach(function(g,p){return d[g]=h[p]=h[p]||h[(p-1)/2|0]}),a.init(l,d,f)}});var Ru={name:"css",register:Uo,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,i,s){var o=this._props,a=e.style,l=r.vars.startAt,u,c,f,h,d,g,p,y,b,v,m,_,w,T,S,M;Ho||Uo(),this.styles=this.styles||xu(e),M=this.styles.props,this.tween=r;for(p in t)if(p!=="autoRound"&&(c=t[p],!(St[p]&&au(p,t,r,i,e,s)))){if(d=typeof c,g=gs[p],d==="function"&&(c=c.call(r,i,e,s),d=typeof c),d==="string"&&~c.indexOf("random(")&&(c=pn(c)),g)g(this,e,p,c,r)&&(S=1);else if(p.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(p)+"").trim(),c+="",Ar.lastIndex=0,Ar.test(u)||(y=Ze(u),b=Ze(c)),b?y!==b&&(u=Rr(e,p,u,b)+b):y&&(c+=y),this.add(a,"setProperty",u,c,i,s,0,0,p),o.push(p),M.push(p,0,a[p]);else if(d!=="undefined"){if(l&&p in l?(u=typeof l[p]=="function"?l[p].call(r,i,e,s):l[p],ze(u)&&~u.indexOf("random(")&&(u=pn(u)),Ze(u+"")||u==="auto"||(u+=xt.units[p]||Ze(yr(e,p))||""),(u+"").charAt(1)==="="&&(u=yr(e,p))):u=yr(e,p),h=parseFloat(u),v=d==="string"&&c.charAt(1)==="="&&c.substr(0,2),v&&(c=c.substr(2)),f=parseFloat(c),p in nr&&(p==="autoAlpha"&&(h===1&&yr(e,"visibility")==="hidden"&&f&&(h=0),M.push("visibility",0,a.visibility),Dr(this,a,"visibility",h?"inherit":"hidden",f?"inherit":"hidden",!f)),p!=="scale"&&p!=="transform"&&(p=nr[p],~p.indexOf(",")&&(p=p.split(",")[0]))),m=p in _r,m){if(this.styles.save(p),_||(w=e._gsap,w.renderTransform&&!t.parseTransform||bn(e,t.parseTransform),T=t.smoothOrigin!==!1&&w.smooth,_=this._pt=new mt(this._pt,a,ye,0,1,w.renderTransform,w,0,-1),_.dep=1),p==="scale")this._pt=new mt(this._pt,w,"scaleY",w.scaleY,(v?Ai(w.scaleY,v+f):f)-w.scaleY||0,Yo),this._pt.u=0,o.push("scaleY",p),p+="X";else if(p==="transformOrigin"){M.push(_t,0,a[_t]),c=Kd(c),w.svg?Qo(e,c,0,T,0,this):(b=parseFloat(c.split(" ")[2])||0,b!==w.zOrigin&&Dr(this,w,"zOrigin",w.zOrigin,b),Dr(this,a,p,ms(u),ms(c)));continue}else if(p==="svgOrigin"){Qo(e,c,1,T,0,this);continue}else if(p in Ou){eh(this,w,p,h,v?Ai(h,v+c):c);continue}else if(p==="smoothOrigin"){Dr(this,w,"smooth",w.smooth,c);continue}else if(p==="force3D"){w[p]=c;continue}else if(p==="transform"){th(this,c,e);continue}}else p in a||(p=$i(p)||p);if(m||(f||f===0)&&(h||h===0)&&!zd.test(c)&&p in a)y=(u+"").substr((h+"").length),f||(f=0),b=Ze(c)||(p in xt.units?xt.units[p]:y),y!==b&&(h=Rr(e,p,u,b)),this._pt=new mt(this._pt,m?w:a,p,h,(v?Ai(h,v+f):f)-h,!m&&(b==="px"||p==="zIndex")&&t.autoRound!==!1?$d:Yo),this._pt.u=b||0,y!==b&&b!=="%"&&(this._pt.b=u,this._pt.r=Bd);else if(p in a)Ud.call(this,e,p,u,v?v+c:c);else if(p in e)this.add(e,p,u||e[p],v?v+c:c,i,s);else if(p!=="parseTransform"){bo(p,c);continue}m||(p in a?M.push(p,0,a[p]):M.push(p,1,u||e[p])),o.push(p)}}S&&hu(this)},render:function(e,t){if(t.tween._time||!Wo())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:yr,aliases:nr,getSetter:function(e,t,r){var i=nr[t];return i&&i.indexOf(",")<0&&(t=i),t in _r&&t!==_t&&(e._gsap.x||yr(e,"x"))?r&&vu===r?t==="scale"?qd:Gd:(vu=r||{})&&(t==="scale"?Hd:Wd):e.style&&!go(e.style[t])?Nd:~t.indexOf("-")?Vd:$o(e,t)},core:{_removeProperty:ni,_getMatrix:Zo}};vt.utils.checkPrefix=$i,vt.core.getStyleSaver=xu,function(n,e,t,r){var i=gt(n+","+e+","+t,function(s){_r[s]=1});gt(e,function(s){xt.units[s]="deg",Ou[s]=1}),nr[i[13]]=n+","+e,gt(r,function(s){var o=s.split(":");nr[o[1]]=i[o[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"),gt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(n){xt.units[n]="px"}),vt.registerPlugin(Ru);var se=vt.registerPlugin(Ru)||vt;se.core.Tween;function rh(n,e){for(var t=0;tl?(s=i,i=g,a=o,o=y):r?i+=g:i=s+(g-s)/(y-a)*(o-a)},f=function(){s=i=r?0:i,a=o=0},h=function(g){var p=a,y=s,b=Sn();return(g||g===0)&&g!==i&&c(g),o===a||b-a>u?0:(i+(r?y:-y))/((r?b:o)-p)*1e3};return{update:c,reset:f,getVelocity:h}},En=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Vu=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},Gu=function(){Tn=qe.core.globals().ScrollTrigger,Tn&&Tn.core&&nh()},qu=function(e){return qe=e||$u(),!vs&&qe&&typeof document<"u"&&document.body&&(Ct=window,zr=document,Fr=zr.documentElement,Ni=zr.body,Fu=[Ct,zr,Fr,Ni],qe.utils.clamp,Bu=qe.core.context||function(){},ai="onpointerenter"in Ni?"pointer":"mouse",zu=Pe.isTouch=Ct.matchMedia&&Ct.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Ct||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Gt=Pe.eventTypes=("ontouchstart"in Fr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Fr?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Nu=0},500),Gu(),vs=1),vs};at.op=Ie,Z.cache=0;var Pe=function(){function n(t){this.init(t)}var e=n.prototype;return e.init=function(r){vs||qu(qe)||console.warn("Please gsap.registerPlugin(Observer)"),Tn||Gu();var i=r.tolerance,s=r.dragMinimum,o=r.type,a=r.target,l=r.lineHeight,u=r.debounce,c=r.preventDefault,f=r.onStop,h=r.onStopDelay,d=r.ignore,g=r.wheelSpeed,p=r.event,y=r.onDragStart,b=r.onDragEnd,v=r.onDrag,m=r.onPress,_=r.onRelease,w=r.onRight,T=r.onLeft,S=r.onUp,M=r.onDown,E=r.onChangeX,x=r.onChangeY,k=r.onChange,C=r.onToggleX,A=r.onToggleY,L=r.onHover,I=r.onHoverEnd,z=r.onMove,B=r.ignoreCheck,j=r.isNormalizer,G=r.onGestureStart,P=r.onGestureEnd,ne=r.onWheel,oe=r.onEnable,bt=r.onDisable,ae=r.onClick,Q=r.scrollSpeed,K=r.capture,ce=r.allowClicks,de=r.lockAxis,Ae=r.onLockAxis;this.target=a=yt(a)||Fr,this.vars=r,d&&(d=qe.utils.toArray(d)),i=i||1e-9,s=s||0,g=g||1,Q=Q||1,o=o||"wheel,touch,pointer",u=u!==!1,l||(l=parseFloat(Ct.getComputedStyle(Ni).lineHeight)||22);var Ne,ge,ht,N,J,He,We,O=this,Ee=0,Yt=0,Nt=r.passive||!c,F=$r(a,at),jt=$r(a,Ie),Si=F(),sn=jt(),Ve=~o.indexOf("touch")&&!~o.indexOf("pointer")&&Gt[0]==="pointerdown",Yr=Pn(a),Ce=a.ownerDocument||zr,Ut=[0,0,0],Vt=[0,0,0],Er=0,Qn=function(){return Er=Sn()},Le=function(H,le){return(O.event=H)&&d&&~d.indexOf(H.target)||le&&Ve&&H.pointerType!=="touch"||B&&B(H,le)},uo=function(){O._vx.reset(),O._vy.reset(),ge.pause(),f&&f(O)},jr=function(){var H=O.deltaX=Vu(Ut),le=O.deltaY=Vu(Vt),D=Math.abs(H)>=i,Y=Math.abs(le)>=i;k&&(D||Y)&&k(O,H,le,Ut,Vt),D&&(w&&O.deltaX>0&&w(O),T&&O.deltaX<0&&T(O),E&&E(O),C&&O.deltaX<0!=Ee<0&&C(O),Ee=O.deltaX,Ut[0]=Ut[1]=Ut[2]=0),Y&&(M&&O.deltaY>0&&M(O),S&&O.deltaY<0&&S(O),x&&x(O),A&&O.deltaY<0!=Yt<0&&A(O),Yt=O.deltaY,Vt[0]=Vt[1]=Vt[2]=0),(N||ht)&&(z&&z(O),ht&&(v(O),ht=!1),N=!1),He&&!(He=!1)&&Ae&&Ae(O),J&&(ne(O),J=!1),Ne=0},on=function(H,le,D){Ut[D]+=H,Vt[D]+=le,O._vx.update(H),O._vy.update(le),u?Ne||(Ne=requestAnimationFrame(jr)):jr()},an=function(H,le){de&&!We&&(O.axis=We=Math.abs(H)>Math.abs(le)?"x":"y",He=!0),We!=="y"&&(Ut[2]+=H,O._vx.update(H,!0)),We!=="x"&&(Vt[2]+=le,O._vy.update(le,!0)),u?Ne||(Ne=requestAnimationFrame(jr)):jr()},Ur=function(H){if(!Le(H,1)){H=En(H,c);var le=H.clientX,D=H.clientY,Y=le-O.x,V=D-O.y,W=O.isDragging;O.x=le,O.y=D,(W||Math.abs(O.startX-le)>=s||Math.abs(O.startY-D)>=s)&&(v&&(ht=!0),W||(O.isDragging=!0),an(Y,V),W||y&&y(O))}},Pi=O.onPress=function(X){Le(X,1)||X&&X.button||(O.axis=We=null,ge.pause(),O.isPressed=!0,X=En(X),Ee=Yt=0,O.startX=O.x=X.clientX,O.startY=O.y=X.clientY,O._vx.reset(),O._vy.reset(),st(j?a:Ce,Gt[1],Ur,Nt,!0),O.deltaX=O.deltaY=0,m&&m(O))},ee=O.onRelease=function(X){if(!Le(X,1)){ot(j?a:Ce,Gt[1],Ur,!0);var H=!isNaN(O.y-O.startY),le=O.isDragging,D=le&&(Math.abs(O.x-O.startX)>3||Math.abs(O.y-O.startY)>3),Y=En(X);!D&&H&&(O._vx.reset(),O._vy.reset(),c&&ce&&qe.delayedCall(.08,function(){if(Sn()-Er>300&&!X.defaultPrevented){if(X.target.click)X.target.click();else if(Ce.createEvent){var V=Ce.createEvent("MouseEvents");V.initMouseEvent("click",!0,!0,Ct,1,Y.screenX,Y.screenY,Y.clientX,Y.clientY,!1,!1,!1,!1,0,null),X.target.dispatchEvent(V)}}})),O.isDragging=O.isGesturing=O.isPressed=!1,f&&le&&!j&&ge.restart(!0),b&&le&&b(O),_&&_(O,D)}},Ei=function(H){return H.touches&&H.touches.length>1&&(O.isGesturing=!0)&&G(H,O.isDragging)},Kt=function(){return(O.isGesturing=!1)||P(O)},Zt=function(H){if(!Le(H)){var le=F(),D=jt();on((le-Si)*Q,(D-sn)*Q,1),Si=le,sn=D,f&&ge.restart(!0)}},Qt=function(H){if(!Le(H)){H=En(H,c),ne&&(J=!0);var le=(H.deltaMode===1?l:H.deltaMode===2?Ct.innerHeight:1)*g;on(H.deltaX*le,H.deltaY*le,0),f&&!j&&ge.restart(!0)}},Ci=function(H){if(!Le(H)){var le=H.clientX,D=H.clientY,Y=le-O.x,V=D-O.y;O.x=le,O.y=D,N=!0,f&&ge.restart(!0),(Y||V)&&an(Y,V)}},ln=function(H){O.event=H,L(O)},Cr=function(H){O.event=H,I(O)},Jn=function(H){return Le(H)||En(H,c)&&ae(O)};ge=O._dc=qe.delayedCall(h||.25,uo).pause(),O.deltaX=O.deltaY=0,O._vx=ra(0,50,!0),O._vy=ra(0,50,!0),O.scrollX=F,O.scrollY=jt,O.isDragging=O.isGesturing=O.isPressed=!1,Bu(this),O.enable=function(X){return O.isEnabled||(st(Yr?Ce:a,"scroll",ta),o.indexOf("scroll")>=0&&st(Yr?Ce:a,"scroll",Zt,Nt,K),o.indexOf("wheel")>=0&&st(a,"wheel",Qt,Nt,K),(o.indexOf("touch")>=0&&zu||o.indexOf("pointer")>=0)&&(st(a,Gt[0],Pi,Nt,K),st(Ce,Gt[2],ee),st(Ce,Gt[3],ee),ce&&st(a,"click",Qn,!0,!0),ae&&st(a,"click",Jn),G&&st(Ce,"gesturestart",Ei),P&&st(Ce,"gestureend",Kt),L&&st(a,ai+"enter",ln),I&&st(a,ai+"leave",Cr),z&&st(a,ai+"move",Ci)),O.isEnabled=!0,X&&X.type&&Pi(X),oe&&oe(O)),O},O.disable=function(){O.isEnabled&&(Vi.filter(function(X){return X!==O&&Pn(X.target)}).length||ot(Yr?Ce:a,"scroll",ta),O.isPressed&&(O._vx.reset(),O._vy.reset(),ot(j?a:Ce,Gt[1],Ur,!0)),ot(Yr?Ce:a,"scroll",Zt,K),ot(a,"wheel",Qt,K),ot(a,Gt[0],Pi,K),ot(Ce,Gt[2],ee),ot(Ce,Gt[3],ee),ot(a,"click",Qn,!0),ot(a,"click",Jn),ot(Ce,"gesturestart",Ei),ot(Ce,"gestureend",Kt),ot(a,ai+"enter",ln),ot(a,ai+"leave",Cr),ot(a,ai+"move",Ci),O.isEnabled=O.isPressed=O.isDragging=!1,bt&&bt(O))},O.kill=O.revert=function(){O.disable();var X=Vi.indexOf(O);X>=0&&Vi.splice(X,1),wr===O&&(wr=0)},Vi.push(O),j&&Pn(a)&&(wr=O),O.enable(p)},ih(n,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),n}();Pe.version="3.12.5",Pe.create=function(n){return new Pe(n)},Pe.register=qu,Pe.getAll=function(){return Vi.slice()},Pe.getById=function(n){return Vi.filter(function(e){return e.vars.id===n})[0]},$u()&&qe.registerPlugin(Pe);/*! * ScrollTrigger 3.12.5 * https://gsap.com * * @license Copyright 2008-2024, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license or for * Club GSAP members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */var R,Gi,re,we,qt,he,Hu,bs,Cn,Mn,kn,xs,Qe,Ts,ia,lt,Wu,Xu,qi,Yu,na,ju,ut,sa,Uu,Ku,Nr,oa,aa,Hi,la,Ss,ua,ca,Ps=1,Je=Date.now,fa=Je(),Ft=0,On=0,Zu=function(e,t,r){var i=Mt(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=i,i?e.substr(6,e.length-7):e},Qu=function(e,t){return t&&(!Mt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},sh=function n(){return On&&requestAnimationFrame(n)},Ju=function(){return Ts=1},ec=function(){return Ts=0},ar=function(e){return e},An=function(e){return Math.round(e*1e5)/1e5||0},tc=function(){return typeof window<"u"},rc=function(){return R||tc()&&(R=window.gsap)&&R.registerPlugin&&R},li=function(e){return!!~Hu.indexOf(e)},ic=function(e){return(e==="Height"?la:re["inner"+e])||qt["client"+e]||he["client"+e]},nc=function(e){return Br(e,"getBoundingClientRect")||(li(e)?function(){return Bs.width=re.innerWidth,Bs.height=la,Bs}:function(){return br(e)})},oh=function(e,t,r){var i=r.d,s=r.d2,o=r.a;return(o=Br(e,"getBoundingClientRect"))?function(){return o()[i]}:function(){return(t?ic(s):e["client"+s])||0}},ah=function(e,t){return!t||~or.indexOf(e)?nc(e):function(){return Bs}},lr=function(e,t){var r=t.s,i=t.d2,s=t.d,o=t.a;return Math.max(0,(r="scroll"+i)&&(o=Br(e,r))?o()-nc(e)()[s]:li(e)?(qt[r]||he[r])-ic(i):e[r]-e["offset"+i])},Es=function(e,t){for(var r=0;r0){for(i-=o,a=0;a=i)return r[a];return r[a-1]}else for(a=r.length,i+=o;a--;)if(r[a]<=i)return r[a];return r[0]}:function(i,s,o){o===void 0&&(o=.001);var a=t(i);return!s||Math.abs(a-i)r&&(i*=t/100),e=e.substr(0,r-1)),e=i+(e in As?As[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},Is=function(e,t,r,i,s,o,a,l){var u=s.startColor,c=s.endColor,f=s.fontSize,h=s.indent,d=s.fontWeight,g=we.createElement("div"),p=li(r)||Br(r,"pinType")==="fixed",y=e.indexOf("scroller")!==-1,b=p?he:r,v=e.indexOf("start")!==-1,m=v?u:c,_="border-color:"+m+";font-size:"+f+";color:"+m+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return _+="position:"+((y||l)&&p?"fixed;":"absolute;"),(y||l||!p)&&(_+=(i===Ie?ha:pa)+":"+(o+parseFloat(h))+"px;"),a&&(_+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),g._isStart=v,g.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),g.style.cssText=_,g.innerText=t||t===0?e+"-"+t:e,b.children[0]?b.insertBefore(g,b.children[0]):b.appendChild(g),g._offset=g["offset"+i.op.d2],Ds(g,0,i,v),g},Ds=function(e,t,r,i){var s={display:"block"},o=r[i?"os2":"p2"],a=r[i?"p2":"os2"];e._isFlipped=i,s[r.a+"Percent"]=i?-100:0,s[r.a]=i?"1px":0,s["border"+o+Xi]=1,s["border"+a+Xi]=0,s[r.p]=t+"px",R.set(e,s)},U=[],va={},Bn,cc=function(){return Je()-Ft>34&&(Bn||(Bn=requestAnimationFrame(xr)))},Yi=function(){(!ut||!ut.isPressed||ut.startX>he.clientWidth)&&(Z.cache++,ut?Bn||(Bn=requestAnimationFrame(xr)):xr(),Ft||hi("scrollStart"),Ft=Je())},_a=function(){Ku=re.innerWidth,Uu=re.innerHeight},$n=function(){Z.cache++,!Qe&&!ju&&!we.fullscreenElement&&!we.webkitFullscreenElement&&(!sa||Ku!==re.innerWidth||Math.abs(re.innerHeight-Uu)>re.innerHeight*.25)&&bs.restart(!0)},di={},fh=[],fc=function n(){return $e(q,"scrollEnd",n)||gi(!0)},hi=function(e){return di[e]&&di[e].map(function(t){return t()})||fh},kt=[],dc=function(e){for(var t=0;ts,a=i._startClamp&&i.start>=s;(o||a)&&i.setPositions(a?s-1:i.start,o?Math.max(a?s:i.start+1,s):i.end,!0)}),mc(!1),ua=0,r.forEach(function(i){return i&&i.render&&i.render(-1)}),Z.forEach(function(i){ct(i)&&(i.smooth&&requestAnimationFrame(function(){return i.target.style.scrollBehavior="smooth"}),i.rec&&i(i.rec))}),hc(aa,1),bs.pause(),pi++,ft=2,xr(2),U.forEach(function(i){return ct(i.vars.onRefresh)&&i.vars.onRefresh(i)}),ft=q.isRefreshing=!1,hi("refresh")},wa=0,Rs=1,Nn,xr=function(e){if(e===2||!ft&&!Ss){q.isUpdating=!0,Nn&&Nn.update(0);var t=U.length,r=Je(),i=r-fa>=50,s=t&&U[0].scroll();if(Rs=wa>s?-1:1,ft||(wa=s),i&&(Ft&&!Ts&&r-Ft>200&&(Ft=0,hi("scrollEnd")),kn=fa,fa=r),Rs<0){for(lt=t;lt-- >0;)U[lt]&&U[lt].update(0,i);Rs=1}else for(lt=0;lt20),r-=r-T}if(g&&(l[g]=e||-.001,e<0&&(e=0)),o){var M=e+r,E=o._isStart;y="scroll"+i.d2,Ds(o,M,i,E&&M>20||!E&&(f?Math.max(he[y],qt[y]):o.parentNode[y])<=M+1),f&&(u=br(a),f&&(o.style[i.op.p]=u[i.op.p]-i.op.m-o._offset+De))}return d&&v&&(y=br(v),d.seek(h),b=br(v),d._caScrollDist=y[i.p]-b[i.p],e=e/d._caScrollDist*h),d&&d.seek(p),d?e:Math.round(e)},mh=/(webkit|moz|length|cssText|inset)/i,_c=function(e,t,r,i){if(e.parentNode!==t){var s=e.style,o,a;if(t===he){e._stOrig=s.cssText,a=$t(e);for(o in a)!+o&&!mh.test(o)&&a[o]&&typeof s[o]=="string"&&o!=="0"&&(s[o]=a[o]);s.top=r,s.left=i}else s.cssText=e._stOrig;R.core.getCache(e).uncache=1,t.appendChild(e)}},yc=function(e,t,r){var i=t,s=i;return function(o){var a=Math.round(e());return a!==i&&a!==s&&Math.abs(a-i)>3&&Math.abs(a-s)>3&&(o=a,r&&r()),s=i,i=o,o}},$s=function(e,t,r){var i={};i[t.p]="+="+r,R.set(e,i)},wc=function(e,t){var r=$r(e,t),i="_scroll"+t.p2,s=function o(a,l,u,c,f){var h=o.tween,d=l.onComplete,g={};u=u||r();var p=yc(r,u,function(){h.kill(),o.tween=0});return f=c&&f||0,c=c||a-u,h&&h.kill(),l[i]=a,l.inherit=!1,l.modifiers=g,g[i]=function(){return p(u+c*h.ratio+f*h.ratio*h.ratio)},l.onUpdate=function(){Z.cache++,o.tween&&xr()},l.onComplete=function(){o.tween=0,d&&d.call(h)},h=o.tween=R.to(e,l),h};return e[i]=r,r.wheelHandler=function(){return s.tween&&s.tween.kill()&&(s.tween=0)},Be(e,"wheel",r.wheelHandler),q.isTouch&&Be(e,"touchmove",r.wheelHandler),s},q=function(){function n(t,r){Gi||n.register(R)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),oa(this),this.init(t,r)}var e=n.prototype;return e.init=function(r,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!On){this.update=this.refresh=this.kill=ar;return}r=ac(Mt(r)||Ln(r)||r.nodeType?{trigger:r}:r,Os);var s=r,o=s.onUpdate,a=s.toggleClass,l=s.id,u=s.onToggle,c=s.onRefresh,f=s.scrub,h=s.trigger,d=s.pin,g=s.pinSpacing,p=s.invalidateOnRefresh,y=s.anticipatePin,b=s.onScrubComplete,v=s.onSnapComplete,m=s.once,_=s.snap,w=s.pinReparent,T=s.pinSpacer,S=s.containerAnimation,M=s.fastScrollEnd,E=s.preventOverlaps,x=r.horizontal||r.containerAnimation&&r.horizontal!==!1?at:Ie,k=!f&&f!==0,C=yt(r.scroller||re),A=R.core.getCache(C),L=li(C),I=("pinType"in r?r.pinType:Br(C,"pinType")||L&&"fixed")==="fixed",z=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],B=k&&r.toggleActions.split(" "),j="markers"in r?r.markers:Os.markers,G=L?0:parseFloat($t(C)["border"+x.p2+Xi])||0,P=this,ne=r.onRefreshInit&&function(){return r.onRefreshInit(P)},oe=oh(C,L,x),bt=ah(C,L),ae=0,Q=0,K=0,ce=$r(C,x),de,Ae,Ne,ge,ht,N,J,He,We,O,Ee,Yt,Nt,F,jt,Si,sn,Ve,Yr,Ce,Ut,Vt,Er,Qn,Le,uo,jr,on,an,Ur,Pi,ee,Ei,Kt,Zt,Qt,Ci,ln,Cr;if(P._startClamp=P._endClamp=!1,P._dir=x,y*=45,P.scroller=C,P.scroll=S?S.time.bind(S):ce,ge=ce(),P.vars=r,i=i||r.animation,"refreshPriority"in r&&(Yu=1,r.refreshPriority===-9999&&(Nn=P)),A.tweenScroll=A.tweenScroll||{top:wc(C,Ie),left:wc(C,at)},P.tweenTo=de=A.tweenScroll[x.p],P.scrubDuration=function(D){Ei=Ln(D)&&D,Ei?ee?ee.duration(D):ee=R.to(i,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Ei,paused:!0,onComplete:function(){return b&&b(P)}}):(ee&&ee.progress(1).kill(),ee=0)},i&&(i.vars.lazy=!1,i._initted&&!P.isReverted||i.vars.immediateRender!==!1&&r.immediateRender!==!1&&i.duration()&&i.render(0,!0,!0),P.animation=i.pause(),i.scrollTrigger=P,P.scrubDuration(f),Ur=0,l||(l=i.vars.id)),_&&((!ui(_)||_.push)&&(_={snapTo:_}),"scrollBehavior"in he.style&&R.set(L?[he,qt]:C,{scrollBehavior:"auto"}),Z.forEach(function(D){return ct(D)&&D.target===(L?we.scrollingElement||qt:C)&&(D.smooth=!1)}),Ne=ct(_.snapTo)?_.snapTo:_.snapTo==="labels"?uh(i):_.snapTo==="labelsDirectional"?ch(i):_.directional!==!1?function(D,Y){return ma(_.snapTo)(D,Je()-Q<500?0:Y.direction)}:R.utils.snap(_.snapTo),Kt=_.duration||{min:.1,max:2},Kt=ui(Kt)?Mn(Kt.min,Kt.max):Mn(Kt,Kt),Zt=R.delayedCall(_.delay||Ei/2||.1,function(){var D=ce(),Y=Je()-Q<500,V=de.tween;if((Y||Math.abs(P.getVelocity())<10)&&!V&&!Ts&&ae!==D){var W=(D-N)/F,Ge=i&&!k?i.totalProgress():W,ie=Y?0:(Ge-Pi)/(Je()-kn)*1e3||0,Me=R.utils.clamp(-W,1-W,Wi(ie/2)*ie/.185),tt=W+(_.inertia===!1?0:Me),Te,ve,fe=_,Jt=fe.onStart,be=fe.onInterrupt,Lt=fe.onComplete;if(Te=Ne(tt,P),Ln(Te)||(Te=tt),ve=Math.round(N+Te*F),D<=J&&D>=N&&ve!==D){if(V&&!V._initted&&V.data<=Wi(ve-D))return;_.inertia===!1&&(Me=Te-W),de(ve,{duration:Kt(Wi(Math.max(Wi(tt-Ge),Wi(Te-Ge))*.185/ie/.05||0)),ease:_.ease||"power3",data:Wi(ve-D),onInterrupt:function(){return Zt.restart(!0)&&be&&be(P)},onComplete:function(){P.update(),ae=ce(),i&&(ee?ee.resetTo("totalProgress",Te,i._tTime/i._tDur):i.progress(Te)),Ur=Pi=i&&!k?i.totalProgress():P.progress,v&&v(P),Lt&&Lt(P)}},D,Me*F,ve-D-Me*F),Jt&&Jt(P,de.tween)}}else P.isActive&&ae!==D&&Zt.restart(!0)}).pause()),l&&(va[l]=P),h=P.trigger=yt(h||d!==!0&&d),Cr=h&&h._gsap&&h._gsap.stRevert,Cr&&(Cr=Cr(P)),d=d===!0?h:yt(d),Mt(a)&&(a={targets:h,className:a}),d&&(g===!1||g===Bt||(g=!g&&d.parentNode&&d.parentNode.style&&$t(d.parentNode).display==="flex"?!1:Oe),P.pin=d,Ae=R.core.getCache(d),Ae.spacer?jt=Ae.pinState:(T&&(T=yt(T),T&&!T.nodeType&&(T=T.current||T.nativeElement),Ae.spacerIsNative=!!T,T&&(Ae.spacerState=Fs(T))),Ae.spacer=Ve=T||we.createElement("div"),Ve.classList.add("pin-spacer"),l&&Ve.classList.add("pin-spacer-"+l),Ae.pinState=jt=Fs(d)),r.force3D!==!1&&R.set(d,{force3D:!0}),P.spacer=Ve=Ae.spacer,an=$t(d),Qn=an[g+x.os2],Ce=R.getProperty(d),Ut=R.quickSetter(d,x.a,De),xa(d,Ve,an),sn=Fs(d)),j){Yt=ui(j)?ac(j,uc):uc,O=Is("scroller-start",l,C,x,Yt,0),Ee=Is("scroller-end",l,C,x,Yt,0,O),Yr=O["offset"+x.op.d2];var Jn=yt(Br(C,"content")||C);He=this.markerStart=Is("start",l,Jn,x,Yt,Yr,0,S),We=this.markerEnd=Is("end",l,Jn,x,Yt,Yr,0,S),S&&(ln=R.quickSetter([He,We],x.a,De)),!I&&!(or.length&&Br(C,"fixedMarkers")===!0)&&(lh(L?he:C),R.set([O,Ee],{force3D:!0}),uo=R.quickSetter(O,x.a,De),on=R.quickSetter(Ee,x.a,De))}if(S){var X=S.vars.onUpdate,H=S.vars.onUpdateParams;S.eventCallback("onUpdate",function(){P.update(0,0,1),X&&X.apply(S,H||[])})}if(P.previous=function(){return U[U.indexOf(P)-1]},P.next=function(){return U[U.indexOf(P)+1]},P.revert=function(D,Y){if(!Y)return P.kill(!0);var V=D!==!1||!P.enabled,W=Qe;V!==P.isReverted&&(V&&(Qt=Math.max(ce(),P.scroll.rec||0),K=P.progress,Ci=i&&i.progress()),He&&[He,We,O,Ee].forEach(function(Ge){return Ge.style.display=V?"none":"block"}),V&&(Qe=P,P.update(V)),d&&(!w||!P.isActive)&&(V?hh(d,Ve,jt):xa(d,Ve,$t(d),Le)),V||P.update(V),Qe=W,P.isReverted=V)},P.refresh=function(D,Y,V,W){if(!((Qe||!P.enabled)&&!Y)){if(d&&D&&Ft){Be(n,"scrollEnd",fc);return}!ft&&ne&&ne(P),Qe=P,de.tween&&!V&&(de.tween.kill(),de.tween=0),ee&&ee.pause(),p&&i&&i.revert({kill:!1}).invalidate(),P.isReverted||P.revert(!0,!0),P._subPinOffset=!1;var Ge=oe(),ie=bt(),Me=S?S.duration():lr(C,x),tt=F<=.01,Te=0,ve=W||0,fe=ui(V)?V.end:r.end,Jt=r.endTrigger||h,be=ui(V)?V.start:r.start||(r.start===0||!h?0:d?"0 0":"0 100%"),Lt=P.pinnedContainer=r.pinnedContainer&&yt(r.pinnedContainer,P),pr=h&&Math.max(0,U.indexOf(P))||0,Xe=pr,Ye,rt,Mi,co,it,Re,gr,wl,Vf,es,mr,ts,fo;for(j&&ui(V)&&(ts=R.getProperty(O,x.p),fo=R.getProperty(Ee,x.p));Xe--;)Re=U[Xe],Re.end||Re.refresh(0,1)||(Qe=P),gr=Re.pin,gr&&(gr===h||gr===d||gr===Lt)&&!Re.isReverted&&(es||(es=[]),es.unshift(Re),Re.revert(!0,!0)),Re!==U[Xe]&&(pr--,Xe--);for(ct(be)&&(be=be(P)),be=Zu(be,"start",P),N=vc(be,h,Ge,x,ce(),He,O,P,ie,G,I,Me,S,P._startClamp&&"_startClamp")||(d?-.001:0),ct(fe)&&(fe=fe(P)),Mt(fe)&&!fe.indexOf("+=")&&(~fe.indexOf(" ")?fe=(Mt(be)?be.split(" ")[0]:"")+fe:(Te=Ls(fe.substr(2),Ge),fe=Mt(be)?be:(S?R.utils.mapRange(0,S.duration(),S.scrollTrigger.start,S.scrollTrigger.end,N):N)+Te,Jt=h)),fe=Zu(fe,"end",P),J=Math.max(N,vc(fe||(Jt?"100% 0":Me),Jt,Ge,x,ce()+Te,We,Ee,P,ie,G,I,Me,S,P._endClamp&&"_endClamp"))||-.001,Te=0,Xe=pr;Xe--;)Re=U[Xe],gr=Re.pin,gr&&Re.start-Re._pinPush<=N&&!S&&Re.end>0&&(Ye=Re.end-(P._startClamp?Math.max(0,Re.start):Re.start),(gr===h&&Re.start-Re._pinPush=lr(C,x)))Ye=$t(d),co=x===Ie,Mi=ce(),Vt=parseFloat(Ce(x.a))+ve,!Me&&J>1&&(mr=(L?we.scrollingElement||qt:C).style,mr={style:mr,value:mr["overflow"+x.a.toUpperCase()]},L&&$t(he)["overflow"+x.a.toUpperCase()]!=="scroll"&&(mr.style["overflow"+x.a.toUpperCase()]="scroll")),xa(d,Ve,Ye),sn=Fs(d),rt=br(d,!0),wl=I&&$r(C,co?at:Ie)(),g?(Le=[g+x.os2,F+ve+De],Le.t=Ve,Xe=g===Oe?Cs(d,x)+F+ve:0,Xe&&(Le.push(x.d,Xe+De),Ve.style.flexBasis!=="auto"&&(Ve.style.flexBasis=Xe+De)),ji(Le),Lt&&U.forEach(function(rs){rs.pin===Lt&&rs.vars.pinSpacing!==!1&&(rs._subPinOffset=!0)}),I&&ce(Qt)):(Xe=Cs(d,x),Xe&&Ve.style.flexBasis!=="auto"&&(Ve.style.flexBasis=Xe+De)),I&&(it={top:rt.top+(co?Mi-N:wl)+De,left:rt.left+(co?wl:Mi-N)+De,boxSizing:"border-box",position:"fixed"},it[ci]=it["max"+Xi]=Math.ceil(rt.width)+De,it[fi]=it["max"+ga]=Math.ceil(rt.height)+De,it[Bt]=it[Bt+zn]=it[Bt+Dn]=it[Bt+Fn]=it[Bt+Rn]="0",it[Oe]=Ye[Oe],it[Oe+zn]=Ye[Oe+zn],it[Oe+Dn]=Ye[Oe+Dn],it[Oe+Fn]=Ye[Oe+Fn],it[Oe+Rn]=Ye[Oe+Rn],Si=gh(jt,it,w),ft&&ce(0)),i?(Vf=i._initted,na(1),i.render(i.duration(),!0,!0),Er=Ce(x.a)-Vt+F+ve,jr=Math.abs(F-Er)>1,I&&jr&&Si.splice(Si.length-2,2),i.render(0,!0,!0),Vf||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),na(0)):Er=F,mr&&(mr.value?mr.style["overflow"+x.a.toUpperCase()]=mr.value:mr.style.removeProperty("overflow-"+x.a));else if(h&&ce()&&!S)for(rt=h.parentNode;rt&&rt!==he;)rt._pinOffset&&(N-=rt._pinOffset,J-=rt._pinOffset),rt=rt.parentNode;es&&es.forEach(function(rs){return rs.revert(!1,!0)}),P.start=N,P.end=J,ge=ht=ft?Qt:ce(),!S&&!ft&&(ge0?U.slice(0,Y).reverse():U.slice(Y+1);return(Mt(D)?V.filter(function(W){return W.vars.preventOverlaps===D}):V).filter(function(W){return P.direction>0?W.end<=N:W.start>=J})},P.update=function(D,Y,V){if(!(S&&!V&&!D)){var W=ft===!0?Qt:P.scroll(),Ge=D?0:(W-N)/F,ie=Ge<0?0:Ge>1?1:Ge||0,Me=P.progress,tt,Te,ve,fe,Jt,be,Lt,pr;if(Y&&(ht=ge,ge=S?ce():W,_&&(Pi=Ur,Ur=i&&!k?i.totalProgress():ie)),y&&d&&!Qe&&!Ps&&Ft&&(!ie&&NW+(W-ht)/(Je()-kn)*y&&(ie=.9999)),ie!==Me&&P.enabled){if(tt=P.isActive=!!ie&&ie<1,Te=!!Me&&Me<1,be=tt!==Te,Jt=be||!!ie!=!!Me,P.direction=ie>Me?1:-1,P.progress=ie,Jt&&!Qe&&(ve=ie&&!Me?0:ie===1?1:Me===1?2:3,k&&(fe=!be&&B[ve+1]!=="none"&&B[ve+1]||B[ve],pr=i&&(fe==="complete"||fe==="reset"||fe in i))),E&&(be||pr)&&(pr||f||!i)&&(ct(E)?E(P):P.getTrailing(E).forEach(function(Mi){return Mi.endAnimation()})),k||(ee&&!Qe&&!Ps?(ee._dp._time-ee._start!==ee._time&&ee.render(ee._dp._time-ee._start),ee.resetTo?ee.resetTo("totalProgress",ie,i._tTime/i._tDur):(ee.vars.totalProgress=ie,ee.invalidate().restart())):i&&i.totalProgress(ie,!!(Qe&&(Q||D)))),d){if(D&&g&&(Ve.style[g+x.os2]=Qn),!I)Ut(An(Vt+Er*ie));else if(Jt){if(Lt=!D&&ie>Me&&J+1>W&&W+1>=lr(C,x),w)if(!D&&(tt||Lt)){var Xe=br(d,!0),Ye=W-N;_c(d,he,Xe.top+(x===Ie?Ye:0)+De,Xe.left+(x===Ie?0:Ye)+De)}else _c(d,Ve);ji(tt||Lt?Si:sn),jr&&ie<1&&tt||Ut(Vt+(ie===1&&!Lt?Er:0))}}_&&!de.tween&&!Qe&&!Ps&&Zt.restart(!0),a&&(be||m&&ie&&(ie<1||!ca))&&Cn(a.targets).forEach(function(Mi){return Mi.classList[tt||m?"add":"remove"](a.className)}),o&&!k&&!D&&o(P),Jt&&!Qe?(k&&(pr&&(fe==="complete"?i.pause().totalProgress(1):fe==="reset"?i.restart(!0).pause():fe==="restart"?i.restart(!0):i[fe]()),o&&o(P)),(be||!ca)&&(u&&be&&da(P,u),z[ve]&&da(P,z[ve]),m&&(ie===1?P.kill(!1,1):z[ve]=0),be||(ve=ie===1?1:3,z[ve]&&da(P,z[ve]))),M&&!tt&&Math.abs(P.getVelocity())>(Ln(M)?M:2500)&&(In(P.callbackAnimation),ee?ee.progress(1):In(i,fe==="reverse"?1:!ie,1))):k&&o&&!Qe&&o(P)}if(on){var rt=S?W/S.duration()*(S._caScrollDist||0):W;uo(rt+(O._isFlipped?1:0)),on(rt)}ln&&ln(-W/S.duration()*(S._caScrollDist||0))}},P.enable=function(D,Y){P.enabled||(P.enabled=!0,Be(C,"resize",$n),L||Be(C,"scroll",Yi),ne&&Be(n,"refreshInit",ne),D!==!1&&(P.progress=K=0,ge=ht=ae=ce()),Y!==!1&&P.refresh())},P.getTween=function(D){return D&&de?de.tween:ee},P.setPositions=function(D,Y,V,W){if(S){var Ge=S.scrollTrigger,ie=S.duration(),Me=Ge.end-Ge.start;D=Ge.start+Me*D/ie,Y=Ge.start+Me*Y/ie}P.refresh(!1,!1,{start:Qu(D,V&&!!P._startClamp),end:Qu(Y,V&&!!P._endClamp)},W),P.update()},P.adjustPinSpacing=function(D){if(Le&&D){var Y=Le.indexOf(x.d)+1;Le[Y]=parseFloat(Le[Y])+D+De,Le[1]=parseFloat(Le[1])+D+De,ji(Le)}},P.disable=function(D,Y){if(P.enabled&&(D!==!1&&P.revert(!0,!0),P.enabled=P.isActive=!1,Y||ee&&ee.pause(),Qt=0,Ae&&(Ae.uncache=1),ne&&$e(n,"refreshInit",ne),Zt&&(Zt.pause(),de.tween&&de.tween.kill()&&(de.tween=0)),!L)){for(var V=U.length;V--;)if(U[V].scroller===C&&U[V]!==P)return;$e(C,"resize",$n),L||$e(C,"scroll",Yi)}},P.kill=function(D,Y){P.disable(D,Y),ee&&!Y&&ee.kill(),l&&delete va[l];var V=U.indexOf(P);V>=0&&U.splice(V,1),V===lt&&Rs>0&<--,V=0,U.forEach(function(W){return W.scroller===P.scroller&&(V=1)}),V||ft||(P.scroll.rec=0),i&&(i.scrollTrigger=null,D&&i.revert({kill:!1}),Y||i.kill()),He&&[He,We,O,Ee].forEach(function(W){return W.parentNode&&W.parentNode.removeChild(W)}),Nn===P&&(Nn=0),d&&(Ae&&(Ae.uncache=1),V=0,U.forEach(function(W){return W.pin===d&&V++}),V||(Ae.spacer=0)),r.onKill&&r.onKill(P)},U.push(P),P.enable(!1,!1),Cr&&Cr(P),i&&i.add&&!F){var le=P.update;P.update=function(){P.update=le,N||J||P.refresh()},R.delayedCall(.01,P.update),F=.01,N=J=0}else P.refresh();d&&dh()},n.register=function(r){return Gi||(R=r||rc(),tc()&&window.document&&n.enable(),Gi=On),Gi},n.defaults=function(r){if(r)for(var i in r)Os[i]=r[i];return Os},n.disable=function(r,i){On=0,U.forEach(function(o){return o[i?"kill":"disable"](r)}),$e(re,"wheel",Yi),$e(we,"scroll",Yi),clearInterval(xs),$e(we,"touchcancel",ar),$e(he,"touchstart",ar),Ms($e,we,"pointerdown,touchstart,mousedown",Ju),Ms($e,we,"pointerup,touchend,mouseup",ec),bs.kill(),Es($e);for(var s=0;s0&&o.left+a0&&o.top+a=0&&kt.splice(t,5),kt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),R.core.getCache(e),oa())}}):kt},q.revert=function(n,e){return ya(!n,e)},q.create=function(n,e){return new q(n,e)},q.refresh=function(n){return n?$n():(Gi||q.register())&&gi(!0)},q.update=function(n){return++Z.cache&&xr(n===!0?2:0)},q.clearScrollMemory=hc,q.maxScroll=function(n,e){return lr(n,e?at:Ie)},q.getScrollFunc=function(n,e){return $r(yt(n),e?at:Ie)},q.getById=function(n){return va[n]},q.getAll=function(){return U.filter(function(n){return n.vars.id!=="ScrollSmoother"})},q.isScrolling=function(){return!!Ft},q.snapDirectional=ma,q.addEventListener=function(n,e){var t=di[n]||(di[n]=[]);~t.indexOf(e)||t.push(e)},q.removeEventListener=function(n,e){var t=di[n],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)},q.batch=function(n,e){var t=[],r={},i=e.interval||.016,s=e.batchMax||1e9,o=function(u,c){var f=[],h=[],d=R.delayedCall(i,function(){c(f,h),f=[],h=[]}).pause();return function(g){f.length||d.restart(!0),f.push(g.trigger),h.push(g),s<=f.length&&d.progress(1)}},a;for(a in e)r[a]=a.substr(0,2)==="on"&&ct(e[a])&&a!=="onRefreshInit"?o(a,e[a]):e[a];return ct(s)&&(s=s(),Be(q,"refresh",function(){return s=e.batchMax()})),Cn(n).forEach(function(l){var u={};for(a in r)u[a]=r[a];u.trigger=l,t.push(q.create(u))}),t};var bc=function(e,t,r,i){return t>i?e(i):t<0&&e(0),r>i?(i-t)/(r-t):r<0?t/(t-r):1},Ta=function n(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(Pe.isTouch?" pinch-zoom":""):"none",e===qt&&n(he,t)},Ns={auto:1,scroll:1},vh=function(e){var t=e.event,r=e.target,i=e.axis,s=(t.changedTouches?t.changedTouches[0]:t).target,o=s._gsap||R.core.getCache(s),a=Je(),l;if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==he&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(Ns[(l=$t(s)).overflowY]||Ns[l.overflowX]));)s=s.parentNode;o._isScroll=s&&s!==r&&!li(s)&&(Ns[(l=$t(s)).overflowY]||Ns[l.overflowX]),o._isScrollT=a}(o._isScroll||i==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},xc=function(e,t,r,i){return Pe.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:i=i&&vh,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return r&&Be(we,Pe.eventTypes[0],Sc,!1,!0)},onDisable:function(){return $e(we,Pe.eventTypes[0],Sc,!0)}})},_h=/(input|label|select|textarea)/i,Tc,Sc=function(e){var t=_h.test(e.target.tagName);(t||Tc)&&(e._gsapAllow=!0,Tc=t)},yh=function(e){ui(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t=e,r=t.normalizeScrollX,i=t.momentum,s=t.allowNestedScroll,o=t.onRelease,a,l,u=yt(e.target)||qt,c=R.core.globals().ScrollSmoother,f=c&&c.get(),h=Nr&&(e.content&&yt(e.content)||f&&e.content!==!1&&!f.smooth()&&f.content()),d=$r(u,Ie),g=$r(u,at),p=1,y=(Pe.isTouch&&re.visualViewport?re.visualViewport.scale*re.visualViewport.width:re.outerWidth)/re.innerWidth,b=0,v=ct(i)?function(){return i(a)}:function(){return i||2.8},m,_,w=xc(u,e.type,!0,s),T=function(){return _=!1},S=ar,M=ar,E=function(){l=lr(u,Ie),M=Mn(Nr?1:0,l),r&&(S=Mn(0,lr(u,at))),m=pi},x=function(){h._gsap.y=An(parseFloat(h._gsap.y)+d.offset)+"px",h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(h._gsap.y)+", 0, 1)",d.offset=d.cacheID=0},k=function(){if(_){requestAnimationFrame(T);var j=An(a.deltaY/2),G=M(d.v-j);if(h&&G!==d.v+d.offset){d.offset=G-d.v;var P=An((parseFloat(h&&h._gsap.y)||0)-d.offset);h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+P+", 0, 1)",h._gsap.y=P+"px",d.cacheID=Z.cache,xr()}return!0}d.offset&&x(),_=!0},C,A,L,I,z=function(){E(),C.isActive()&&C.vars.scrollY>l&&(d()>l?C.progress(1)&&d(l):C.resetTo("scrollY",l))};return h&&R.set(h,{y:"+=0"}),e.ignoreCheck=function(B){return Nr&&B.type==="touchmove"&&k()||p>1.05&&B.type!=="touchstart"||a.isGesturing||B.touches&&B.touches.length>1},e.onPress=function(){_=!1;var B=p;p=An((re.visualViewport&&re.visualViewport.scale||1)/y),C.pause(),B!==p&&Ta(u,p>1.01?!0:r?!1:"x"),A=g(),L=d(),E(),m=pi},e.onRelease=e.onGestureStart=function(B,j){if(d.offset&&x(),!j)I.restart(!0);else{Z.cache++;var G=v(),P,ne;r&&(P=g(),ne=P+G*.05*-B.velocityX/.227,G*=bc(g,P,ne,lr(u,at)),C.vars.scrollX=S(ne)),P=d(),ne=P+G*.05*-B.velocityY/.227,G*=bc(d,P,ne,lr(u,Ie)),C.vars.scrollY=M(ne),C.invalidate().duration(G).play(.01),(Nr&&C.vars.scrollY>=l||P>=l-1)&&R.to({},{onUpdate:z,duration:G})}o&&o(B)},e.onWheel=function(){C._ts&&C.pause(),Je()-b>1e3&&(m=0,b=Je())},e.onChange=function(B,j,G,P,ne){if(pi!==m&&E(),j&&r&&g(S(P[2]===j?A+(B.startX-B.x):g()+j-P[1])),G){d.offset&&x();var oe=ne[2]===G,bt=oe?L+B.startY-B.y:d()+G-ne[1],ae=M(bt);oe&&bt!==ae&&(L+=ae-bt),d(ae)}(G||j)&&xr()},e.onEnable=function(){Ta(u,r?!1:"x"),q.addEventListener("refresh",z),Be(re,"resize",z),d.smooth&&(d.target.style.scrollBehavior="auto",d.smooth=g.smooth=!1),w.enable()},e.onDisable=function(){Ta(u,!0),$e(re,"resize",z),q.removeEventListener("refresh",z),w.kill()},e.lockAxis=e.lockAxis!==!1,a=new Pe(e),a.iOS=Nr,Nr&&!d()&&d(1),Nr&&R.ticker.add(ar),I=a._dc,C=R.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:yc(d,d(),function(){return C.pause()})},onUpdate:xr,onComplete:I.vars.onComplete}),a};q.sort=function(n){return U.sort(n||function(e,t){return(e.vars.refreshPriority||0)*-1e6+e.start-(t.start+(t.vars.refreshPriority||0)*-1e6)})},q.observe=function(n){return new Pe(n)},q.normalizeScroll=function(n){if(typeof n>"u")return ut;if(n===!0&&ut)return ut.enable();if(n===!1){ut&&ut.kill(),ut=n;return}var e=n instanceof Pe?n:yh(n);return ut&&ut.target===e.target&&ut.kill(),li(e.target)&&(ut=e),e},q.core={_getVelocityProp:ra,_inputObserver:xc,_scrollers:Z,_proxies:or,bridge:{ss:function(){Ft||hi("scrollStart"),Ft=Je()},ref:function(){return Qe}}},rc()&&R.registerPlugin(q);function Pc(n,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>n(...r),e)}}se.registerPlugin(q);function wh(){if(document.querySelector("[gsap-trigger]")&&window.innerWidth>991){let s=function(){let o=0;n.forEach(u=>{o+=u.offsetWidth}),se.set(t,{width:o});const a=r.offsetWidth,l=o-a;i&&(i.scrollTrigger.kill(),i.kill()),i=se.to(t,{x:-l,ease:"none",scrollTrigger:{trigger:e,start:"top top",end:`+=${l}`,scrub:!0,pin:!0,anticipatePin:1}})};const n=se.utils.toArray("[panel]"),e=document.querySelector("[gsap-trigger]"),t=document.querySelector("[gsap-track]"),r=t.parentElement;let i;s(),window.addEventListener("resize",Pc(()=>{s(),q.refresh()},250))}}function bh(){if(document.querySelector('[name="termly-embed"]')){var e=document.createElement("script");e.id="termly-jssdk",e.src="https://app.termly.io/embed-policy.min.js",document.body.appendChild(e)}}se.registerPlugin(q);function xh(){class n{constructor(t){this.element=t,this.chars="!<>-_\\/[]{}—=+*^?#________",this.frame=0,this.queue=[],this.isScrambling=!1}setText(t){if(this.isScrambling)return;this.isScrambling=!0;const r=this.element.innerText,i=Math.max(r.length,t.length);this.queue=Array.from({length:i},(s,o)=>({from:r[o]||"",to:t[o]||"",start:Math.floor(Math.random()*40),end:Math.floor(Math.random()*40)+40})),cancelAnimationFrame(this.frameRequest),this.frame=0,this.update()}update(){let t="",r=0;if(this.queue.forEach((i,s)=>{let{from:o,to:a,start:l,end:u,char:c}=i;this.frame>=u?(r++,t+=a):this.frame>=l?((!c||Math.random()<.28)&&(c=this.randomChar(),this.queue[s].char=c),t+=`${c}`):t+=o}),this.element.innerHTML=t,r===this.queue.length){this.isScrambling=!1;return}this.frameRequest=requestAnimationFrame(()=>this.update()),this.frame++}randomChar(){return this.chars[Math.floor(Math.random()*this.chars.length)]}}document.querySelectorAll("[text-scramble]").forEach(e=>{const t=e.querySelectorAll(".c-secondary-1, .c-secondary-2"),r=[];t.forEach(s=>{if(s.closest("[no-animation]"))return;const o=s.innerText,a=new n(s);r.push({element:s,originalText:o,instance:a})});const i=e.getAttribute("text-scramble");i==="hover"?e.addEventListener("mouseenter",()=>{r.forEach(({originalText:s,instance:o})=>{o.setText(s)})}):i==="parent"?(q.create({trigger:e,start:"top 100%",onEnter:()=>{r.forEach(({originalText:s,instance:o})=>{o.setText(s)})}}),e.addEventListener("mouseenter",()=>{r.forEach(({originalText:s,instance:o})=>{o.setText(s)})})):r.forEach(({element:s,originalText:o,instance:a})=>{q.create({trigger:s,start:"top 100%",onEnter:()=>a.setText(o)}),s.addEventListener("mouseenter",()=>a.setText(o))})})}function Ec(n){return n!==null&&typeof n=="object"&&"constructor"in n&&n.constructor===Object}function Sa(n,e){n===void 0&&(n={}),e===void 0&&(e={}),Object.keys(e).forEach(t=>{typeof n[t]>"u"?n[t]=e[t]:Ec(e[t])&&Ec(n[t])&&Object.keys(e[t]).length>0&&Sa(n[t],e[t])})}const Cc={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 Ui(){const n=typeof document<"u"?document:{};return Sa(n,Cc),n}const Th={document:Cc,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(n){return typeof setTimeout>"u"?(n(),null):setTimeout(n,0)},cancelAnimationFrame(n){typeof setTimeout>"u"||clearTimeout(n)}};function Ot(){const n=typeof window<"u"?window:{};return Sa(n,Th),n}function Sh(n){return n===void 0&&(n=""),n.trim().split(" ").filter(e=>!!e.trim())}function Ph(n){const e=n;Object.keys(e).forEach(t=>{try{e[t]=null}catch{}try{delete e[t]}catch{}})}function Pa(n,e){return e===void 0&&(e=0),setTimeout(n,e)}function Vs(){return Date.now()}function Eh(n){const e=Ot();let t;return e.getComputedStyle&&(t=e.getComputedStyle(n,null)),!t&&n.currentStyle&&(t=n.currentStyle),t||(t=n.style),t}function Ch(n,e){e===void 0&&(e="x");const t=Ot();let r,i,s;const o=Eh(n);return t.WebKitCSSMatrix?(i=o.transform||o.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(a=>a.replace(",",".")).join(", ")),s=new t.WebKitCSSMatrix(i==="none"?"":i)):(s=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=s.toString().split(",")),e==="x"&&(t.WebKitCSSMatrix?i=s.m41:r.length===16?i=parseFloat(r[12]):i=parseFloat(r[4])),e==="y"&&(t.WebKitCSSMatrix?i=s.m42:r.length===16?i=parseFloat(r[13]):i=parseFloat(r[5])),i||0}function Gs(n){return typeof n=="object"&&n!==null&&n.constructor&&Object.prototype.toString.call(n).slice(8,-1)==="Object"}function Mh(n){return typeof window<"u"&&typeof window.HTMLElement<"u"?n instanceof HTMLElement:n&&(n.nodeType===1||n.nodeType===11)}function At(){const n=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let t=1;te.indexOf(s)<0);for(let s=0,o=i.length;ss?"next":"prev",c=(h,d)=>u==="next"&&h>=d||u==="prev"&&h<=d,f=()=>{a=new Date().getTime(),o===null&&(o=a);const h=Math.max(Math.min((a-o)/l,1),0),d=.5-Math.cos(h*Math.PI)/2;let g=s+d*(t-s);if(c(g,t)&&(g=t),e.wrapperEl.scrollTo({[r]:g}),c(g,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[r]:g})}),i.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=i.requestAnimationFrame(f)};f()}function Hs(n){return n.querySelector(".swiper-slide-transform")||n.shadowRoot&&n.shadowRoot.querySelector(".swiper-slide-transform")||n}function ur(n,e){e===void 0&&(e="");const t=[...n.children];return n instanceof HTMLSlotElement&&t.push(...n.assignedElements()),e?t.filter(r=>r.matches(e)):t}function kh(n,e){const t=e.contains(n);return!t&&e instanceof HTMLSlotElement?[...e.assignedElements()].includes(n):t}function Ws(n){try{console.warn(n);return}catch{}}function Vn(n,e){e===void 0&&(e=[]);const t=document.createElement(n);return t.classList.add(...Array.isArray(e)?e:Sh(e)),t}function Oh(n,e){const t=[];for(;n.previousElementSibling;){const r=n.previousElementSibling;e?r.matches(e)&&t.push(r):t.push(r),n=r}return t}function Ah(n,e){const t=[];for(;n.nextElementSibling;){const r=n.nextElementSibling;e?r.matches(e)&&t.push(r):t.push(r),n=r}return t}function Vr(n,e){return Ot().getComputedStyle(n,null).getPropertyValue(e)}function Xs(n){let e=n,t;if(e){for(t=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(t+=1);return t}}function kc(n,e){const t=[];let r=n.parentElement;for(;r;)e?r.matches(e)&&t.push(r):t.push(r),r=r.parentElement;return t}function Lh(n,e){function t(r){r.target===n&&(e.call(n,r),n.removeEventListener("transitionend",t))}e&&n.addEventListener("transitionend",t)}function Ea(n,e,t){const r=Ot();return n[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(n,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(n,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function Tr(n){return(Array.isArray(n)?n:[n]).filter(e=>!!e)}function Ih(n){return e=>Math.abs(e)>0&&n.browser&&n.browser.need3dFix&&Math.abs(e)%90===0?e+.001:e}let Ca;function Dh(){const n=Ot(),e=Ui();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in n||n.DocumentTouch&&e instanceof n.DocumentTouch)}}function Oc(){return Ca||(Ca=Dh()),Ca}let Ma;function Rh(n){let{userAgent:e}=n===void 0?{}:n;const t=Oc(),r=Ot(),i=r.navigator.platform,s=e||r.navigator.userAgent,o={ios:!1,android:!1},a=r.screen.width,l=r.screen.height,u=s.match(/(Android);?[\s\/]+([\d.]+)?/);let c=s.match(/(iPad).*OS\s([\d_]+)/);const f=s.match(/(iPod)(.*OS\s([\d_]+))?/),h=!c&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),d=i==="Win32";let g=i==="MacIntel";const p=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&g&&t.touch&&p.indexOf(`${a}x${l}`)>=0&&(c=s.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),g=!1),u&&!d&&(o.os="android",o.android=!0),(c||h||f)&&(o.os="ios",o.ios=!0),o}function Ac(n){return n===void 0&&(n={}),Ma||(Ma=Rh(n)),Ma}let ka;function zh(){const n=Ot(),e=Ac();let t=!1;function r(){const a=n.navigator.userAgent.toLowerCase();return a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0}if(r()){const a=String(n.navigator.userAgent);if(a.includes("Version/")){const[l,u]=a.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));t=l<16||l===16&&u<2}}const i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(n.navigator.userAgent),s=r(),o=s||i&&e.ios;return{isSafari:t||s,needPerspectiveFix:t,need3dFix:o,isWebView:i}}function Fh(){return ka||(ka=zh()),ka}function Bh(n){let{swiper:e,on:t,emit:r}=n;const i=Ot();let s=null,o=null;const a=()=>{!e||e.destroyed||!e.initialized||(r("beforeResize"),r("resize"))},l=()=>{!e||e.destroyed||!e.initialized||(s=new ResizeObserver(f=>{o=i.requestAnimationFrame(()=>{const{width:h,height:d}=e;let g=h,p=d;f.forEach(y=>{let{contentBoxSize:b,contentRect:v,target:m}=y;m&&m!==e.el||(g=v?v.width:(b[0]||b).inlineSize,p=v?v.height:(b[0]||b).blockSize)}),(g!==h||p!==d)&&a()})}),s.observe(e.el))},u=()=>{o&&i.cancelAnimationFrame(o),s&&s.unobserve&&e.el&&(s.unobserve(e.el),s=null)},c=()=>{!e||e.destroyed||!e.initialized||r("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&typeof i.ResizeObserver<"u"){l();return}i.addEventListener("resize",a),i.addEventListener("orientationchange",c)}),t("destroy",()=>{u(),i.removeEventListener("resize",a),i.removeEventListener("orientationchange",c)})}function $h(n){let{swiper:e,extendParams:t,on:r,emit:i}=n;const s=[],o=Ot(),a=function(c,f){f===void 0&&(f={});const h=o.MutationObserver||o.WebkitMutationObserver,d=new h(g=>{if(e.__preventObserver__)return;if(g.length===1){i("observerUpdate",g[0]);return}const p=function(){i("observerUpdate",g[0])};o.requestAnimationFrame?o.requestAnimationFrame(p):o.setTimeout(p,0)});d.observe(c,{attributes:typeof f.attributes>"u"?!0:f.attributes,childList:e.isElement||(typeof f.childList>"u"?!0:f).childList,characterData:typeof f.characterData>"u"?!0:f.characterData}),s.push(d)},l=()=>{if(e.params.observer){if(e.params.observeParents){const c=kc(e.hostEl);for(let f=0;f{s.forEach(c=>{c.disconnect()}),s.splice(0,s.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",l),r("destroy",u)}var Nh={on(n,e,t){const r=this;if(!r.eventsListeners||r.destroyed||typeof e!="function")return r;const i=t?"unshift":"push";return n.split(" ").forEach(s=>{r.eventsListeners[s]||(r.eventsListeners[s]=[]),r.eventsListeners[s][i](e)}),r},once(n,e,t){const r=this;if(!r.eventsListeners||r.destroyed||typeof e!="function")return r;function i(){r.off(n,i),i.__emitterProxy&&delete i.__emitterProxy;for(var s=arguments.length,o=new Array(s),a=0;a=0&&e.eventsAnyListeners.splice(t,1),e},off(n,e){const t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||n.split(" ").forEach(r=>{typeof e>"u"?t.eventsListeners[r]=[]:t.eventsListeners[r]&&t.eventsListeners[r].forEach((i,s)=>{(i===e||i.__emitterProxy&&i.__emitterProxy===e)&&t.eventsListeners[r].splice(s,1)})}),t},emit(){const n=this;if(!n.eventsListeners||n.destroyed||!n.eventsListeners)return n;let e,t,r;for(var i=arguments.length,s=new Array(i),o=0;o{n.eventsAnyListeners&&n.eventsAnyListeners.length&&n.eventsAnyListeners.forEach(u=>{u.apply(r,[l,...t])}),n.eventsListeners&&n.eventsListeners[l]&&n.eventsListeners[l].forEach(u=>{u.apply(r,t)})}),n}};function Vh(){const n=this;let e,t;const r=n.el;typeof n.params.width<"u"&&n.params.width!==null?e=n.params.width:e=r.clientWidth,typeof n.params.height<"u"&&n.params.height!==null?t=n.params.height:t=r.clientHeight,!(e===0&&n.isHorizontal()||t===0&&n.isVertical())&&(e=e-parseInt(Vr(r,"padding-left")||0,10)-parseInt(Vr(r,"padding-right")||0,10),t=t-parseInt(Vr(r,"padding-top")||0,10)-parseInt(Vr(r,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(n,{width:e,height:t,size:n.isHorizontal()?e:t}))}function Gh(){const n=this;function e(x,k){return parseFloat(x.getPropertyValue(n.getDirectionLabel(k))||0)}const t=n.params,{wrapperEl:r,slidesEl:i,size:s,rtlTranslate:o,wrongRTL:a}=n,l=n.virtual&&t.virtual.enabled,u=l?n.virtual.slides.length:n.slides.length,c=ur(i,`.${n.params.slideClass}, swiper-slide`),f=l?n.virtual.slides.length:c.length;let h=[];const d=[],g=[];let p=t.slidesOffsetBefore;typeof p=="function"&&(p=t.slidesOffsetBefore.call(n));let y=t.slidesOffsetAfter;typeof y=="function"&&(y=t.slidesOffsetAfter.call(n));const b=n.snapGrid.length,v=n.slidesGrid.length;let m=t.spaceBetween,_=-p,w=0,T=0;if(typeof s>"u")return;typeof m=="string"&&m.indexOf("%")>=0?m=parseFloat(m.replace("%",""))/100*s:typeof m=="string"&&(m=parseFloat(m)),n.virtualSize=-m,c.forEach(x=>{o?x.style.marginLeft="":x.style.marginRight="",x.style.marginBottom="",x.style.marginTop=""}),t.centeredSlides&&t.cssMode&&(qs(r,"--swiper-centered-offset-before",""),qs(r,"--swiper-centered-offset-after",""));const S=t.grid&&t.grid.rows>1&&n.grid;S?n.grid.initSlides(c):n.grid&&n.grid.unsetSlides();let M;const E=t.slidesPerView==="auto"&&t.breakpoints&&Object.keys(t.breakpoints).filter(x=>typeof t.breakpoints[x].slidesPerView<"u").length>0;for(let x=0;x1&&h.push(n.virtualSize-s)}if(l&&t.loop){const x=g[0]+m;if(t.slidesPerGroup>1){const k=Math.ceil((n.virtual.slidesBefore+n.virtual.slidesAfter)/t.slidesPerGroup),C=x*t.slidesPerGroup;for(let A=0;A!t.cssMode||t.loop?!0:C!==c.length-1).forEach(k=>{k.style[x]=`${m}px`})}if(t.centeredSlides&&t.centeredSlidesBounds){let x=0;g.forEach(C=>{x+=C+(m||0)}),x-=m;const k=x>s?x-s:0;h=h.map(C=>C<=0?-p:C>k?k+y:C)}if(t.centerInsufficientSlides){let x=0;g.forEach(C=>{x+=C+(m||0)}),x-=m;const k=(t.slidesOffsetBefore||0)+(t.slidesOffsetAfter||0);if(x+k{h[L]=A-C}),d.forEach((A,L)=>{d[L]=A+C})}}if(Object.assign(n,{slides:c,snapGrid:h,slidesGrid:d,slidesSizesGrid:g}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){qs(r,"--swiper-centered-offset-before",`${-h[0]}px`),qs(r,"--swiper-centered-offset-after",`${n.size/2-g[g.length-1]/2}px`);const x=-n.snapGrid[0],k=-n.slidesGrid[0];n.snapGrid=n.snapGrid.map(C=>C+x),n.slidesGrid=n.slidesGrid.map(C=>C+k)}if(f!==u&&n.emit("slidesLengthChange"),h.length!==b&&(n.params.watchOverflow&&n.checkOverflow(),n.emit("snapGridLengthChange")),d.length!==v&&n.emit("slidesGridLengthChange"),t.watchSlidesProgress&&n.updateSlidesOffset(),n.emit("slidesUpdated"),!l&&!t.cssMode&&(t.effect==="slide"||t.effect==="fade")){const x=`${t.containerModifierClass}backface-hidden`,k=n.el.classList.contains(x);f<=t.maxBackfaceHiddenSlides?k||n.el.classList.add(x):k&&n.el.classList.remove(x)}}function qh(n){const e=this,t=[],r=e.virtual&&e.params.virtual.enabled;let i=0,s;typeof n=="number"?e.setTransition(n):n===!0&&e.setTransition(e.params.speed);const o=a=>r?e.slides[e.getSlideIndexByData(a)]:e.slides[a];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(a=>{t.push(a)});else for(s=0;se.slides.length&&!r)break;t.push(o(a))}else t.push(o(e.activeIndex));for(s=0;si?a:i}(i||i===0)&&(e.wrapperEl.style.height=`${i}px`)}function Hh(){const n=this,e=n.slides,t=n.isElement?n.isHorizontal()?n.wrapperEl.offsetLeft:n.wrapperEl.offsetTop:0;for(let r=0;r{e&&!n.classList.contains(t)?n.classList.add(t):!e&&n.classList.contains(t)&&n.classList.remove(t)};function Wh(n){n===void 0&&(n=this&&this.translate||0);const e=this,t=e.params,{slides:r,rtlTranslate:i,snapGrid:s}=e;if(r.length===0)return;typeof r[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let o=-n;i&&(o=n),e.visibleSlidesIndexes=[],e.visibleSlides=[];let a=t.spaceBetween;typeof a=="string"&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*e.size:typeof a=="string"&&(a=parseFloat(a));for(let l=0;l=0&&d<=e.size-e.slidesSizesGrid[l],y=d>=0&&d1&&g<=e.size||d<=0&&g>=e.size;y&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(l)),Lc(u,y,t.slideVisibleClass),Lc(u,p,t.slideFullyVisibleClass),u.progress=i?-f:f,u.originalProgress=i?-h:h}}function Xh(n){const e=this;if(typeof n>"u"){const c=e.rtlTranslate?-1:1;n=e&&e.translate&&e.translate*c||0}const t=e.params,r=e.maxTranslate()-e.minTranslate();let{progress:i,isBeginning:s,isEnd:o,progressLoop:a}=e;const l=s,u=o;if(r===0)i=0,s=!0,o=!0;else{i=(n-e.minTranslate())/r;const c=Math.abs(n-e.minTranslate())<1,f=Math.abs(n-e.maxTranslate())<1;s=c||i<=0,o=f||i>=1,c&&(i=0),f&&(i=1)}if(t.loop){const c=e.getSlideIndexByData(0),f=e.getSlideIndexByData(e.slides.length-1),h=e.slidesGrid[c],d=e.slidesGrid[f],g=e.slidesGrid[e.slidesGrid.length-1],p=Math.abs(n);p>=h?a=(p-h)/g:a=(p+g-d)/g,a>1&&(a-=1)}Object.assign(e,{progress:i,progressLoop:a,isBeginning:s,isEnd:o}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&e.updateSlidesProgress(n),s&&!l&&e.emit("reachBeginning toEdge"),o&&!u&&e.emit("reachEnd toEdge"),(l&&!s||u&&!o)&&e.emit("fromEdge"),e.emit("progress",i)}const Oa=(n,e,t)=>{e&&!n.classList.contains(t)?n.classList.add(t):!e&&n.classList.contains(t)&&n.classList.remove(t)};function Yh(){const n=this,{slides:e,params:t,slidesEl:r,activeIndex:i}=n,s=n.virtual&&t.virtual.enabled,o=n.grid&&t.grid&&t.grid.rows>1,a=f=>ur(r,`.${t.slideClass}${f}, swiper-slide${f}`)[0];let l,u,c;if(s)if(t.loop){let f=i-n.virtual.slidesBefore;f<0&&(f=n.virtual.slides.length+f),f>=n.virtual.slides.length&&(f-=n.virtual.slides.length),l=a(`[data-swiper-slide-index="${f}"]`)}else l=a(`[data-swiper-slide-index="${i}"]`);else o?(l=e.filter(f=>f.column===i)[0],c=e.filter(f=>f.column===i+1)[0],u=e.filter(f=>f.column===i-1)[0]):l=e[i];l&&(o||(c=Ah(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!c&&(c=e[0]),u=Oh(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!u===0&&(u=e[e.length-1]))),e.forEach(f=>{Oa(f,f===l,t.slideActiveClass),Oa(f,f===c,t.slideNextClass),Oa(f,f===u,t.slidePrevClass)}),n.emitSlidesClasses()}const Ys=(n,e)=>{if(!n||n.destroyed||!n.params)return;const t=()=>n.isElement?"swiper-slide":`.${n.params.slideClass}`,r=e.closest(t());if(r){let i=r.querySelector(`.${n.params.lazyPreloaderClass}`);!i&&n.isElement&&(r.shadowRoot?i=r.shadowRoot.querySelector(`.${n.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(i=r.shadowRoot.querySelector(`.${n.params.lazyPreloaderClass}`),i&&i.remove())})),i&&i.remove()}},Aa=(n,e)=>{if(!n.slides[e])return;const t=n.slides[e].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},La=n=>{if(!n||n.destroyed||!n.params)return;let e=n.params.lazyPreloadPrevNext;const t=n.slides.length;if(!t||!e||e<0)return;e=Math.min(e,t);const r=n.params.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(n.params.slidesPerView),i=n.activeIndex;if(n.params.grid&&n.params.grid.rows>1){const o=i,a=[o-e];a.push(...Array.from({length:e}).map((l,u)=>o+r+u)),n.slides.forEach((l,u)=>{a.includes(l.column)&&Aa(n,u)});return}const s=i+r-1;if(n.params.rewind||n.params.loop)for(let o=i-e;o<=s+e;o+=1){const a=(o%t+t)%t;(as)&&Aa(n,a)}else for(let o=Math.max(i-e,0);o<=Math.min(s+e,t-1);o+=1)o!==i&&(o>s||o=e[s]&&r=e[s]&&r=e[s]&&(i=s);return t.normalizeSlideIndex&&(i<0||typeof i>"u")&&(i=0),i}function Uh(n){const e=this,t=e.rtlTranslate?e.translate:-e.translate,{snapGrid:r,params:i,activeIndex:s,realIndex:o,snapIndex:a}=e;let l=n,u;const c=d=>{let g=d-e.virtual.slidesBefore;return g<0&&(g=e.virtual.slides.length+g),g>=e.virtual.slides.length&&(g-=e.virtual.slides.length),g};if(typeof l>"u"&&(l=jh(e)),r.indexOf(t)>=0)u=r.indexOf(t);else{const d=Math.min(i.slidesPerGroupSkip,l);u=d+Math.floor((l-d)/i.slidesPerGroup)}if(u>=r.length&&(u=r.length-1),l===s&&!e.params.loop){u!==a&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(l===s&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(l);return}const f=e.grid&&i.grid&&i.grid.rows>1;let h;if(e.virtual&&i.virtual.enabled&&i.loop)h=c(l);else if(f){const d=e.slides.filter(p=>p.column===l)[0];let g=parseInt(d.getAttribute("data-swiper-slide-index"),10);Number.isNaN(g)&&(g=Math.max(e.slides.indexOf(d),0)),h=Math.floor(g/i.grid.rows)}else if(e.slides[l]){const d=e.slides[l].getAttribute("data-swiper-slide-index");d?h=parseInt(d,10):h=l}else h=l;Object.assign(e,{previousSnapIndex:a,snapIndex:u,previousRealIndex:o,realIndex:h,previousIndex:s,activeIndex:l}),e.initialized&&La(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(o!==h&&e.emit("realIndexChange"),e.emit("slideChange"))}function Kh(n,e){const t=this,r=t.params;let i=n.closest(`.${r.slideClass}, swiper-slide`);!i&&t.isElement&&e&&e.length>1&&e.includes(n)&&[...e.slice(e.indexOf(n)+1,e.length)].forEach(a=>{!i&&a.matches&&a.matches(`.${r.slideClass}, swiper-slide`)&&(i=a)});let s=!1,o;if(i){for(let a=0;al?c=l:r&&no?a="next":s"u"&&(e=s.params.speed);const p=Math.min(s.params.slidesPerGroupSkip,o);let y=p+Math.floor((o-p)/s.params.slidesPerGroup);y>=l.length&&(y=l.length-1);const b=-l[y];if(a.normalizeSlideIndex)for(let w=0;w=S&&T=S&&T=S&&(o=w)}if(s.initialized&&o!==f&&(!s.allowSlideNext&&(h?b>s.translate&&b>s.minTranslate():bs.translate&&b>s.maxTranslate()&&(f||0)!==o))return!1;o!==(c||0)&&t&&s.emit("beforeSlideChangeStart"),s.updateProgress(b);let v;o>f?v="next":o0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{d[w?"scrollLeft":"scrollTop"]=T})):d[w?"scrollLeft":"scrollTop"]=T,m&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1});else{if(!s.support.smoothScroll)return Mc({swiper:s,targetPosition:T,side:w?"left":"top"}),!0;d.scrollTo({[w?"left":"top"]:T,behavior:"smooth"})}return!0}return s.setTransition(e),s.setTranslate(b),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",e,r),s.transitionStart(t,v),e===0?s.transitionEnd(t,v):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(T){!s||s.destroyed||T.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(t,v))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0}function up(n,e,t,r){n===void 0&&(n=0),t===void 0&&(t=!0),typeof n=="string"&&(n=parseInt(n,10));const i=this;if(i.destroyed)return;typeof e>"u"&&(e=i.params.speed);const s=i.grid&&i.params.grid&&i.params.grid.rows>1;let o=n;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)o=o+i.virtual.slidesBefore;else{let a;if(s){const h=o*i.params.grid.rows;a=i.slides.filter(d=>d.getAttribute("data-swiper-slide-index")*1===h)[0].column}else a=i.getSlideIndexByData(o);const l=s?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:u}=i.params;let c=i.params.slidesPerView;c==="auto"?c=i.slidesPerViewDynamic():(c=Math.ceil(parseFloat(i.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let f=l-ad.getAttribute("data-swiper-slide-index")*1===h)[0].column}else o=i.getSlideIndexByData(o)}return requestAnimationFrame(()=>{i.slideTo(o,e,t,r)}),i}function cp(n,e,t){e===void 0&&(e=!0);const r=this,{enabled:i,params:s,animating:o}=r;if(!i||r.destroyed)return r;typeof n>"u"&&(n=r.params.speed);let a=s.slidesPerGroup;s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(a=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex{r.slideTo(r.activeIndex+l,n,e,t)}),!0}return s.rewind&&r.isEnd?r.slideTo(0,n,e,t):r.slideTo(r.activeIndex+l,n,e,t)}function fp(n,e,t){e===void 0&&(e=!0);const r=this,{params:i,snapGrid:s,slidesGrid:o,rtlTranslate:a,enabled:l,animating:u}=r;if(!l||r.destroyed)return r;typeof n>"u"&&(n=r.params.speed);const c=r.virtual&&i.virtual.enabled;if(i.loop){if(u&&!c&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}const f=a?r.translate:-r.translate;function h(b){return b<0?-Math.floor(Math.abs(b)):Math.floor(b)}const d=h(f),g=s.map(b=>h(b));let p=s[g.indexOf(d)-1];if(typeof p>"u"&&i.cssMode){let b;s.forEach((v,m)=>{d>=v&&(b=m)}),typeof b<"u"&&(p=s[b>0?b-1:b])}let y=0;if(typeof p<"u"&&(y=o.indexOf(p),y<0&&(y=r.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(y=y-r.slidesPerViewDynamic("previous",!0)+1,y=Math.max(y,0))),i.rewind&&r.isBeginning){const b=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(b,n,e,t)}else if(i.loop&&r.activeIndex===0&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(y,n,e,t)}),!0;return r.slideTo(y,n,e,t)}function dp(n,e,t){e===void 0&&(e=!0);const r=this;if(!r.destroyed)return typeof n>"u"&&(n=r.params.speed),r.slideTo(r.activeIndex,n,e,t)}function hp(n,e,t,r){e===void 0&&(e=!0),r===void 0&&(r=.5);const i=this;if(i.destroyed)return;typeof n>"u"&&(n=i.params.speed);let s=i.activeIndex;const o=Math.min(i.params.slidesPerGroupSkip,s),a=o+Math.floor((s-o)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[a]){const u=i.snapGrid[a],c=i.snapGrid[a+1];l-u>(c-u)*r&&(s+=i.params.slidesPerGroup)}else{const u=i.snapGrid[a-1],c=i.snapGrid[a];l-u<=(c-u)*r&&(s-=i.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,i.slidesGrid.length-1),i.slideTo(s,n,e,t)}function pp(){const n=this;if(n.destroyed)return;const{params:e,slidesEl:t}=n,r=e.slidesPerView==="auto"?n.slidesPerViewDynamic():e.slidesPerView;let i=n.clickedIndex,s;const o=n.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(n.animating)return;s=parseInt(n.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?in.slides.length-n.loopedSlides+r/2?(n.loopFix(),i=n.getSlideIndex(ur(t,`${o}[data-swiper-slide-index="${s}"]`)[0]),Pa(()=>{n.slideTo(i)})):n.slideTo(i):i>n.slides.length-r?(n.loopFix(),i=n.getSlideIndex(ur(t,`${o}[data-swiper-slide-index="${s}"]`)[0]),Pa(()=>{n.slideTo(i)})):n.slideTo(i)}else n.slideTo(i)}var gp={slideTo:lp,slideToLoop:up,slideNext:cp,slidePrev:fp,slideReset:dp,slideToClosest:hp,slideToClickedSlide:pp};function mp(n){const e=this,{params:t,slidesEl:r}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;const i=()=>{ur(r,`.${t.slideClass}, swiper-slide`).forEach((f,h)=>{f.setAttribute("data-swiper-slide-index",h)})},s=e.grid&&t.grid&&t.grid.rows>1,o=t.slidesPerGroup*(s?t.grid.rows:1),a=e.slides.length%o!==0,l=s&&e.slides.length%t.grid.rows!==0,u=c=>{for(let f=0;f1;u.length"u"?s=l.getSlideIndex(u.filter(A=>A.classList.contains(d.slideActiveClass))[0]):w=s;const T=r==="next"||!r,S=r==="prev"||!r;let M=0,E=0;const x=v?Math.ceil(u.length/d.grid.rows):u.length,C=(v?u[s].column:s)+(g&&typeof i>"u"?-p/2+.5:0);if(C=0;z-=1)u[z].column===I&&m.push(z)}else m.push(x-L-1)}}else if(C+p>x-b){E=Math.max(C-(x-b*2),y);for(let A=0;A{I.column===L&&_.push(z)}):_.push(L)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),S&&m.forEach(A=>{u[A].swiperLoopMoveDOM=!0,h.prepend(u[A]),u[A].swiperLoopMoveDOM=!1}),T&&_.forEach(A=>{u[A].swiperLoopMoveDOM=!0,h.append(u[A]),u[A].swiperLoopMoveDOM=!1}),l.recalcSlides(),d.slidesPerView==="auto"?l.updateSlides():v&&(m.length>0&&S||_.length>0&&T)&&l.slides.forEach((A,L)=>{l.grid.updateSlide(L,A,l.slides)}),d.watchSlidesProgress&&l.updateSlidesOffset(),t){if(m.length>0&&S){if(typeof e>"u"){const A=l.slidesGrid[w],I=l.slidesGrid[w+M]-A;a?l.setTranslate(l.translate-I):(l.slideTo(w+Math.ceil(M),0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-I,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-I))}else if(i){const A=v?m.length/d.grid.rows:m.length;l.slideTo(l.activeIndex+A,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(_.length>0&&T)if(typeof e>"u"){const A=l.slidesGrid[w],I=l.slidesGrid[w-E]-A;a?l.setTranslate(l.translate-I):(l.slideTo(w-E,0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-I,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-I))}else{const A=v?_.length/d.grid.rows:_.length;l.slideTo(l.activeIndex-A,0,!1,!0)}}if(l.allowSlidePrev=c,l.allowSlideNext=f,l.controller&&l.controller.control&&!o){const A={slideRealIndex:e,direction:r,setTranslate:i,activeSlideIndex:s,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(L=>{!L.destroyed&&L.params.loop&&L.loopFix({...A,slideTo:L.params.slidesPerView===d.slidesPerView?t:!1})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...A,slideTo:l.controller.control.params.slidesPerView===d.slidesPerView?t:!1})}l.emit("loopFix")}function _p(){const n=this,{params:e,slidesEl:t}=n;if(!e.loop||n.virtual&&n.params.virtual.enabled)return;n.recalcSlides();const r=[];n.slides.forEach(i=>{const s=typeof i.swiperSlideIndex>"u"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;r[s]=i}),n.slides.forEach(i=>{i.removeAttribute("data-swiper-slide-index")}),r.forEach(i=>{t.append(i)}),n.recalcSlides(),n.slideTo(n.realIndex,0)}var yp={loopCreate:mp,loopFix:vp,loopDestroy:_p};function wp(n){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const t=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),t.style.cursor="move",t.style.cursor=n?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function bp(){const n=this;n.params.watchOverflow&&n.isLocked||n.params.cssMode||(n.isElement&&(n.__preventObserver__=!0),n[n.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",n.isElement&&requestAnimationFrame(()=>{n.__preventObserver__=!1}))}var xp={setGrabCursor:wp,unsetGrabCursor:bp};function Tp(n,e){e===void 0&&(e=this);function t(r){if(!r||r===Ui()||r===Ot())return null;r.assignedSlot&&(r=r.assignedSlot);const i=r.closest(n);return!i&&!r.getRootNode?null:i||t(r.getRootNode().host)}return t(e)}function Dc(n,e,t){const r=Ot(),{params:i}=n,s=i.edgeSwipeDetection,o=i.edgeSwipeThreshold;return s&&(t<=o||t>=r.innerWidth-o)?s==="prevent"?(e.preventDefault(),!0):!1:!0}function Sp(n){const e=this,t=Ui();let r=n;r.originalEvent&&(r=r.originalEvent);const i=e.touchEventsData;if(r.type==="pointerdown"){if(i.pointerId!==null&&i.pointerId!==r.pointerId)return;i.pointerId=r.pointerId}else r.type==="touchstart"&&r.targetTouches.length===1&&(i.touchId=r.targetTouches[0].identifier);if(r.type==="touchstart"){Dc(e,r,r.targetTouches[0].pageX);return}const{params:s,touches:o,enabled:a}=e;if(!a||!s.simulateTouch&&r.pointerType==="mouse"||e.animating&&s.preventInteractionOnTransition)return;!e.animating&&s.cssMode&&s.loop&&e.loopFix();let l=r.target;if(s.touchEventsTarget==="wrapper"&&!kh(l,e.wrapperEl)||"which"in r&&r.which===3||"button"in r&&r.button>0||i.isTouched&&i.isMoved)return;const u=!!s.noSwipingClass&&s.noSwipingClass!=="",c=r.composedPath?r.composedPath():r.path;u&&r.target&&r.target.shadowRoot&&c&&(l=c[0]);const f=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,h=!!(r.target&&r.target.shadowRoot);if(s.noSwiping&&(h?Tp(f,l):l.closest(f))){e.allowClick=!0;return}if(s.swipeHandler&&!l.closest(s.swipeHandler))return;o.currentX=r.pageX,o.currentY=r.pageY;const d=o.currentX,g=o.currentY;if(!Dc(e,r,d))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=d,o.startY=g,i.touchStartTime=Vs(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,s.threshold>0&&(i.allowThresholdMove=!1);let p=!0;l.matches(i.focusableElements)&&(p=!1,l.nodeName==="SELECT"&&(i.isTouched=!1)),t.activeElement&&t.activeElement.matches(i.focusableElements)&&t.activeElement!==l&&(r.pointerType==="mouse"||r.pointerType!=="mouse"&&!l.matches(i.focusableElements))&&t.activeElement.blur();const y=p&&e.allowTouchMove&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||y)&&!l.isContentEditable&&r.preventDefault(),s.freeMode&&s.freeMode.enabled&&e.freeMode&&e.animating&&!s.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",r)}function Pp(n){const e=Ui(),t=this,r=t.touchEventsData,{params:i,touches:s,rtlTranslate:o,enabled:a}=t;if(!a||!i.simulateTouch&&n.pointerType==="mouse")return;let l=n;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(r.touchId!==null||l.pointerId!==r.pointerId))return;let u;if(l.type==="touchmove"){if(u=[...l.changedTouches].filter(w=>w.identifier===r.touchId)[0],!u||u.identifier!==r.touchId)return}else u=l;if(!r.isTouched){r.startMoving&&r.isScrolling&&t.emit("touchMoveOpposite",l);return}const c=u.pageX,f=u.pageY;if(l.preventedByNestedSwiper){s.startX=c,s.startY=f;return}if(!t.allowTouchMove){l.target.matches(r.focusableElements)||(t.allowClick=!1),r.isTouched&&(Object.assign(s,{startX:c,startY:f,currentX:c,currentY:f}),r.touchStartTime=Vs());return}if(i.touchReleaseOnEdges&&!i.loop){if(t.isVertical()){if(fs.startY&&t.translate>=t.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(cs.startX&&t.translate>=t.minTranslate())return}if(e.activeElement&&e.activeElement.matches(r.focusableElements)&&e.activeElement!==l.target&&l.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&l.target===e.activeElement&&l.target.matches(r.focusableElements)){r.isMoved=!0,t.allowClick=!1;return}r.allowTouchCallbacks&&t.emit("touchMove",l),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=c,s.currentY=f;const h=s.currentX-s.startX,d=s.currentY-s.startY;if(t.params.threshold&&Math.sqrt(h**2+d**2)"u"){let w;t.isHorizontal()&&s.currentY===s.startY||t.isVertical()&&s.currentX===s.startX?r.isScrolling=!1:h*h+d*d>=25&&(w=Math.atan2(Math.abs(d),Math.abs(h))*180/Math.PI,r.isScrolling=t.isHorizontal()?w>i.touchAngle:90-w>i.touchAngle)}if(r.isScrolling&&t.emit("touchMoveOpposite",l),typeof r.startMoving>"u"&&(s.currentX!==s.startX||s.currentY!==s.startY)&&(r.startMoving=!0),r.isScrolling||l.type==="touchmove"&&r.preventTouchMoveFromPointerMove){r.isTouched=!1;return}if(!r.startMoving)return;t.allowClick=!1,!i.cssMode&&l.cancelable&&l.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&l.stopPropagation();let g=t.isHorizontal()?h:d,p=t.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;i.oneWayMovement&&(g=Math.abs(g)*(o?1:-1),p=Math.abs(p)*(o?1:-1)),s.diff=g,g*=i.touchRatio,o&&(g=-g,p=-p);const y=t.touchesDirection;t.swipeDirection=g>0?"prev":"next",t.touchesDirection=p>0?"prev":"next";const b=t.params.loop&&!i.cssMode,v=t.touchesDirection==="next"&&t.allowSlideNext||t.touchesDirection==="prev"&&t.allowSlidePrev;if(!r.isMoved){if(b&&v&&t.loopFix({direction:t.swipeDirection}),r.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){const w=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});t.wrapperEl.dispatchEvent(w)}r.allowMomentumBounce=!1,i.grabCursor&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",l)}if(new Date().getTime(),r.isMoved&&r.allowThresholdMove&&y!==t.touchesDirection&&b&&v&&Math.abs(g)>=1){Object.assign(s,{startX:c,startY:f,currentX:c,currentY:f,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}t.emit("sliderMove",l),r.isMoved=!0,r.currentTranslate=g+r.startTranslate;let m=!0,_=i.resistanceRatio;if(i.touchReleaseOnEdges&&(_=0),g>0?(b&&v&&r.allowThresholdMove&&r.currentTranslate>(i.centeredSlides?t.minTranslate()-t.slidesSizesGrid[t.activeIndex+1]-(i.slidesPerView!=="auto"&&t.slides.length-i.slidesPerView>=2?t.slidesSizesGrid[t.activeIndex+1]+t.params.spaceBetween:0)-t.params.spaceBetween:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>t.minTranslate()&&(m=!1,i.resistance&&(r.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+r.startTranslate+g)**_))):g<0&&(b&&v&&r.allowThresholdMove&&r.currentTranslate<(i.centeredSlides?t.maxTranslate()+t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween+(i.slidesPerView!=="auto"&&t.slides.length-i.slidesPerView>=2?t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween:0):t.maxTranslate())&&t.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:t.slides.length-(i.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),r.currentTranslater.startTranslate&&(r.currentTranslate=r.startTranslate),!t.allowSlidePrev&&!t.allowSlideNext&&(r.currentTranslate=r.startTranslate),i.threshold>0)if(Math.abs(g)>i.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,r.currentTranslate=r.startTranslate,s.diff=t.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY;return}}else{r.currentTranslate=r.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode&&i.freeMode.enabled&&t.freeMode||i.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(r.currentTranslate),t.setTranslate(r.currentTranslate))}function Ep(n){const e=this,t=e.touchEventsData;let r=n;r.originalEvent&&(r=r.originalEvent);let i;if(r.type==="touchend"||r.type==="touchcancel"){if(i=[...r.changedTouches].filter(w=>w.identifier===t.touchId)[0],!i||i.identifier!==t.touchId)return}else{if(t.touchId!==null||r.pointerId!==t.pointerId)return;i=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(e.browser.isSafari||e.browser.isWebView)))return;t.pointerId=null,t.touchId=null;const{params:o,touches:a,rtlTranslate:l,slidesGrid:u,enabled:c}=e;if(!c||!o.simulateTouch&&r.pointerType==="mouse")return;if(t.allowTouchCallbacks&&e.emit("touchEnd",r),t.allowTouchCallbacks=!1,!t.isTouched){t.isMoved&&o.grabCursor&&e.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1;return}o.grabCursor&&t.isMoved&&t.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const f=Vs(),h=f-t.touchStartTime;if(e.allowClick){const w=r.path||r.composedPath&&r.composedPath();e.updateClickedSlide(w&&w[0]||r.target,w),e.emit("tap click",r),h<300&&f-t.lastClickTime<300&&e.emit("doubleTap doubleClick",r)}if(t.lastClickTime=Vs(),Pa(()=>{e.destroyed||(e.allowClick=!0)}),!t.isTouched||!t.isMoved||!e.swipeDirection||a.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 d;if(o.followFinger?d=l?e.translate:-e.translate:d=-t.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:d});return}const g=d>=-e.maxTranslate()&&!e.params.loop;let p=0,y=e.slidesSizesGrid[0];for(let w=0;w=u[w]&&d=u[w])&&(p=w,y=u[u.length-1]-u[u.length-2])}let b=null,v=null;o.rewind&&(e.isBeginning?v=o.virtual&&o.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(b=0));const m=(d-u[p])/y,_=po.longSwipesMs){if(!o.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(m>=o.longSwipesRatio?e.slideTo(o.rewind&&e.isEnd?b:p+_):e.slideTo(p)),e.swipeDirection==="prev"&&(m>1-o.longSwipesRatio?e.slideTo(p+_):v!==null&&m<0&&Math.abs(m)>o.longSwipesRatio?e.slideTo(v):e.slideTo(p))}else{if(!o.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(r.target===e.navigation.nextEl||r.target===e.navigation.prevEl)?r.target===e.navigation.nextEl?e.slideTo(p+_):e.slideTo(p):(e.swipeDirection==="next"&&e.slideTo(b!==null?b:p+_),e.swipeDirection==="prev"&&e.slideTo(v!==null?v:p))}}function Rc(){const n=this,{params:e,el:t}=n;if(t&&t.offsetWidth===0)return;e.breakpoints&&n.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:s}=n,o=n.virtual&&n.params.virtual.enabled;n.allowSlideNext=!0,n.allowSlidePrev=!0,n.updateSize(),n.updateSlides(),n.updateSlidesClasses();const a=o&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&n.isEnd&&!n.isBeginning&&!n.params.centeredSlides&&!a?n.slideTo(n.slides.length-1,0,!1,!0):n.params.loop&&!o?n.slideToLoop(n.realIndex,0,!1,!0):n.slideTo(n.activeIndex,0,!1,!0),n.autoplay&&n.autoplay.running&&n.autoplay.paused&&(clearTimeout(n.autoplay.resizeTimeout),n.autoplay.resizeTimeout=setTimeout(()=>{n.autoplay&&n.autoplay.running&&n.autoplay.paused&&n.autoplay.resume()},500)),n.allowSlidePrev=i,n.allowSlideNext=r,n.params.watchOverflow&&s!==n.snapGrid&&n.checkOverflow()}function Cp(n){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&n.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(n.stopPropagation(),n.stopImmediatePropagation())))}function Mp(){const n=this,{wrapperEl:e,rtlTranslate:t,enabled:r}=n;if(!r)return;n.previousTranslate=n.translate,n.isHorizontal()?n.translate=-e.scrollLeft:n.translate=-e.scrollTop,n.translate===0&&(n.translate=0),n.updateActiveIndex(),n.updateSlidesClasses();let i;const s=n.maxTranslate()-n.minTranslate();s===0?i=0:i=(n.translate-n.minTranslate())/s,i!==n.progress&&n.updateProgress(t?-n.translate:n.translate),n.emit("setTranslate",n.translate,!1)}function kp(n){const e=this;Ys(e,n.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Op(){const n=this;n.documentTouchHandlerProceeded||(n.documentTouchHandlerProceeded=!0,n.params.touchReleaseOnEdges&&(n.el.style.touchAction="auto"))}const zc=(n,e)=>{const t=Ui(),{params:r,el:i,wrapperEl:s,device:o}=n,a=!!r.nested,l=e==="on"?"addEventListener":"removeEventListener",u=e;!i||typeof i=="string"||(t[l]("touchstart",n.onDocumentTouchStart,{passive:!1,capture:a}),i[l]("touchstart",n.onTouchStart,{passive:!1}),i[l]("pointerdown",n.onTouchStart,{passive:!1}),t[l]("touchmove",n.onTouchMove,{passive:!1,capture:a}),t[l]("pointermove",n.onTouchMove,{passive:!1,capture:a}),t[l]("touchend",n.onTouchEnd,{passive:!0}),t[l]("pointerup",n.onTouchEnd,{passive:!0}),t[l]("pointercancel",n.onTouchEnd,{passive:!0}),t[l]("touchcancel",n.onTouchEnd,{passive:!0}),t[l]("pointerout",n.onTouchEnd,{passive:!0}),t[l]("pointerleave",n.onTouchEnd,{passive:!0}),t[l]("contextmenu",n.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[l]("click",n.onClick,!0),r.cssMode&&s[l]("scroll",n.onScroll),r.updateOnWindowResize?n[u](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",Rc,!0):n[u]("observerUpdate",Rc,!0),i[l]("load",n.onLoad,{capture:!0}))};function Ap(){const n=this,{params:e}=n;n.onTouchStart=Sp.bind(n),n.onTouchMove=Pp.bind(n),n.onTouchEnd=Ep.bind(n),n.onDocumentTouchStart=Op.bind(n),e.cssMode&&(n.onScroll=Mp.bind(n)),n.onClick=Cp.bind(n),n.onLoad=kp.bind(n),zc(n,"on")}function Lp(){zc(this,"off")}var Ip={attachEvents:Ap,detachEvents:Lp};const Fc=(n,e)=>n.grid&&e.grid&&e.grid.rows>1;function Dp(){const n=this,{realIndex:e,initialized:t,params:r,el:i}=n,s=r.breakpoints;if(!s||s&&Object.keys(s).length===0)return;const o=n.getBreakpoint(s,n.params.breakpointsBase,n.el);if(!o||n.currentBreakpoint===o)return;const l=(o in s?s[o]:void 0)||n.originalParams,u=Fc(n,r),c=Fc(n,l),f=n.params.grabCursor,h=l.grabCursor,d=r.enabled;u&&!c?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),n.emitContainerClasses()):!u&&c&&(i.classList.add(`${r.containerModifierClass}grid`),(l.grid.fill&&l.grid.fill==="column"||!l.grid.fill&&r.grid.fill==="column")&&i.classList.add(`${r.containerModifierClass}grid-column`),n.emitContainerClasses()),f&&!h?n.unsetGrabCursor():!f&&h&&n.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(m=>{if(typeof l[m]>"u")return;const _=r[m]&&r[m].enabled,w=l[m]&&l[m].enabled;_&&!w&&n[m].disable(),!_&&w&&n[m].enable()});const g=l.direction&&l.direction!==r.direction,p=r.loop&&(l.slidesPerView!==r.slidesPerView||g),y=r.loop;g&&t&&n.changeDirection(),At(n.params,l);const b=n.params.enabled,v=n.params.loop;Object.assign(n,{allowTouchMove:n.params.allowTouchMove,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev}),d&&!b?n.disable():!d&&b&&n.enable(),n.currentBreakpoint=o,n.emit("_beforeBreakpoint",l),t&&(p?(n.loopDestroy(),n.loopCreate(e),n.updateSlides()):!y&&v?(n.loopCreate(e),n.updateSlides()):y&&!v&&n.loopDestroy()),n.emit("breakpoint",l)}function Rp(n,e,t){if(e===void 0&&(e="window"),!n||e==="container"&&!t)return;let r=!1;const i=Ot(),s=e==="window"?i.innerHeight:t.clientHeight,o=Object.keys(n).map(a=>{if(typeof a=="string"&&a.indexOf("@")===0){const l=parseFloat(a.substr(1));return{value:s*l,point:a}}return{value:a,point:a}});o.sort((a,l)=>parseInt(a.value,10)-parseInt(l.value,10));for(let a=0;a{typeof r=="object"?Object.keys(r).forEach(i=>{r[i]&&t.push(e+i)}):typeof r=="string"&&t.push(e+r)}),t}function Bp(){const n=this,{classNames:e,params:t,rtl:r,el:i,device:s}=n,o=Fp(["initialized",t.direction,{"free-mode":n.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:r},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&t.grid.fill==="column"},{android:s.android},{ios:s.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...o),i.classList.add(...e),n.emitContainerClasses()}function $p(){const n=this,{el:e,classNames:t}=n;!e||typeof e=="string"||(e.classList.remove(...t),n.emitContainerClasses())}var Np={addClasses:Bp,removeClasses:$p};function Vp(){const n=this,{isLocked:e,params:t}=n,{slidesOffsetBefore:r}=t;if(r){const i=n.slides.length-1,s=n.slidesGrid[i]+n.slidesSizesGrid[i]+r*2;n.isLocked=n.size>s}else n.isLocked=n.snapGrid.length===1;t.allowSlideNext===!0&&(n.allowSlideNext=!n.isLocked),t.allowSlidePrev===!0&&(n.allowSlidePrev=!n.isLocked),e&&e!==n.isLocked&&(n.isEnd=!1),e!==n.isLocked&&n.emit(n.isLocked?"lock":"unlock")}var Gp={checkOverflow:Vp},Bc={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 qp(n,e){return function(r){r===void 0&&(r={});const i=Object.keys(r)[0],s=r[i];if(typeof s!="object"||s===null){At(e,r);return}if(n[i]===!0&&(n[i]={enabled:!0}),i==="navigation"&&n[i]&&n[i].enabled&&!n[i].prevEl&&!n[i].nextEl&&(n[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&n[i]&&n[i].enabled&&!n[i].el&&(n[i].auto=!0),!(i in n&&"enabled"in s)){At(e,r);return}typeof n[i]=="object"&&!("enabled"in n[i])&&(n[i].enabled=!0),n[i]||(n[i]={enabled:!1}),At(e,r)}}const Ia={eventsEmitter:Nh,update:Zh,translate:ip,transition:ap,slide:gp,loop:yp,grabCursor:xp,events:Ip,breakpoints:zp,checkOverflow:Gp,classes:Np},Da={};class wt{constructor(){let e,t;for(var r=arguments.length,i=new Array(r),s=0;s1){const c=[];return o.querySelectorAll(t.el).forEach(f=>{const h=At({},t,{el:f});c.push(new wt(h))}),c}const a=this;a.__swiper__=!0,a.support=Oc(),a.device=Ac({userAgent:t.userAgent}),a.browser=Fh(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],t.modules&&Array.isArray(t.modules)&&a.modules.push(...t.modules);const l={};a.modules.forEach(c=>{c({params:t,swiper:a,extendParams:qp(t,l),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const u=At({},Bc,l);return a.params=At({},u,Da,t),a.originalParams=At({},a.params),a.passedParams=At({},t),a.params&&a.params.on&&Object.keys(a.params.on).forEach(c=>{a.on(c,a.params.on[c])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction==="horizontal"},isVertical(){return a.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:a.params.allowSlideNext,allowSlidePrev:a.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:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}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){const{slidesEl:t,params:r}=this,i=ur(t,`.${r.slideClass}, swiper-slide`),s=Xs(i[0]);return Xs(e)-s}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(t=>t.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:t,params:r}=e;e.slides=ur(t,`.${r.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const r=this;e=Math.min(Math.max(e,0),1);const i=r.minTranslate(),o=(r.maxTranslate()-i)*e+i;r.translateTo(o,typeof t>"u"?0:t),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(t.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(r=>{const i=e.getSlideClasses(r);t.push({slideEl:r,classNames:i}),e.emit("_slideClass",r,i)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){e===void 0&&(e="current"),t===void 0&&(t=!1);const r=this,{params:i,slides:s,slidesGrid:o,slidesSizesGrid:a,size:l,activeIndex:u}=r;let c=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let f=s[u]?Math.ceil(s[u].swiperSlideSize):0,h;for(let d=u+1;dl&&(h=!0));for(let d=u-1;d>=0;d-=1)s[d]&&!h&&(f+=s[d].swiperSlideSize,c+=1,f>l&&(h=!0))}else if(e==="current")for(let f=u+1;f=0;f-=1)o[u]-o[f]{o.complete&&Ys(e,o)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function i(){const o=e.rtlTranslate?e.translate*-1:e.translate,a=Math.min(Math.max(o,e.maxTranslate()),e.minTranslate());e.setTranslate(a),e.updateActiveIndex(),e.updateSlidesClasses()}let s;if(r.freeMode&&r.freeMode.enabled&&!r.cssMode)i(),r.autoHeight&&e.updateAutoHeight();else{if((r.slidesPerView==="auto"||r.slidesPerView>1)&&e.isEnd&&!r.centeredSlides){const o=e.virtual&&r.virtual.enabled?e.virtual.slides:e.slides;s=e.slideTo(o.length-1,0,!1,!0)}else s=e.slideTo(e.activeIndex,0,!1,!0);s||i()}r.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){t===void 0&&(t=!0);const r=this,i=r.params.direction;return e||(e=i==="horizontal"?"vertical":"horizontal"),e===i||e!=="horizontal"&&e!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${i}`),r.el.classList.add(`${r.params.containerModifierClass}${e}`),r.emitContainerClasses(),r.params.direction=e,r.slides.forEach(s=>{e==="vertical"?s.style.width="":s.style.height=""}),r.emit("changeDirection"),t&&r.update()),r}changeLanguageDirection(e){const 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){const t=this;if(t.mounted)return!0;let r=e||t.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=t,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(i()):ur(r,i())[0];return!o&&t.params.createElements&&(o=Vn("div",t.params.wrapperClass),r.append(o),ur(r,`.${t.params.slideClass}`).forEach(a=>{o.append(a)})),Object.assign(t,{el:r,wrapperEl:o,slidesEl:t.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:o,hostEl:t.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||Vr(r,"direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||Vr(r,"direction")==="rtl"),wrongRTL:Vr(o,"display")==="-webkit-box"}),!0}init(e){const 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(),t.attachEvents();const i=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&i.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(s=>{s.complete?Ys(t,s):s.addEventListener("load",o=>{Ys(t,o.target)})}),La(t),t.initialized=!0,La(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){e===void 0&&(e=!0),t===void 0&&(t=!0);const r=this,{params:i,el:s,wrapperEl:o,slides:a}=r;return typeof r.params>"u"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),i.loop&&r.loopDestroy(),t&&(r.removeClasses(),s&&typeof s!="string"&&s.removeAttribute("style"),o&&o.removeAttribute("style"),a&&a.length&&a.forEach(l=>{l.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(l=>{r.off(l)}),e!==!1&&(r.el&&typeof r.el!="string"&&(r.el.swiper=null),Ph(r)),r.destroyed=!0),null}static extendDefaults(e){At(Da,e)}static get extendedDefaults(){return Da}static get defaults(){return Bc}static installModule(e){wt.prototype.__modules__||(wt.prototype.__modules__=[]);const t=wt.prototype.__modules__;typeof e=="function"&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(t=>wt.installModule(t)),wt):(wt.installModule(e),wt)}}Object.keys(Ia).forEach(n=>{Object.keys(Ia[n]).forEach(e=>{wt.prototype[e]=Ia[n][e]})}),wt.use([Bh,$h]);function Hp(n,e,t,r){return n.params.createElements&&Object.keys(r).forEach(i=>{if(!t[i]&&t.auto===!0){let s=ur(n.el,`.${r[i]}`)[0];s||(s=Vn("div",r[i]),s.className=r[i],n.el.append(s)),t[i]=s,e[i]=s}}),t}function Gn(n){return n===void 0&&(n=""),`.${n.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Ra(n){let{swiper:e,extendParams:t,on:r,emit:i}=n;const s="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:v=>v,formatFractionTotal:v=>v,bulletClass:`${s}-bullet`,bulletActiveClass:`${s}-bullet-active`,modifierClass:`${s}-`,currentClass:`${s}-current`,totalClass:`${s}-total`,hiddenClass:`${s}-hidden`,progressbarFillClass:`${s}-progressbar-fill`,progressbarOppositeClass:`${s}-progressbar-opposite`,clickableClass:`${s}-clickable`,lockClass:`${s}-lock`,horizontalClass:`${s}-horizontal`,verticalClass:`${s}-vertical`,paginationDisabledClass:`${s}-disabled`}}),e.pagination={el:null,bullets:[]};let o,a=0;function l(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function u(v,m){const{bulletActiveClass:_}=e.params.pagination;v&&(v=v[`${m==="prev"?"previous":"next"}ElementSibling`],v&&(v.classList.add(`${_}-${m}`),v=v[`${m==="prev"?"previous":"next"}ElementSibling`],v&&v.classList.add(`${_}-${m}-${m}`)))}function c(v,m,_){if(v=v%_,m=m%_,m===v+1)return"next";if(m===v-1)return"previous"}function f(v){const m=v.target.closest(Gn(e.params.pagination.bulletClass));if(!m)return;v.preventDefault();const _=Xs(m)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===_)return;const w=c(e.realIndex,_,e.slides.length);w==="next"?e.slideNext():w==="previous"?e.slidePrev():e.slideToLoop(_)}else e.slideTo(_)}function h(){const v=e.rtl,m=e.params.pagination;if(l())return;let _=e.pagination.el;_=Tr(_);let w,T;const S=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,M=e.params.loop?Math.ceil(S/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(T=e.previousRealIndex||0,w=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(w=e.snapIndex,T=e.previousSnapIndex):(T=e.previousIndex||0,w=e.activeIndex||0),m.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const E=e.pagination.bullets;let x,k,C;if(m.dynamicBullets&&(o=Ea(E[0],e.isHorizontal()?"width":"height"),_.forEach(A=>{A.style[e.isHorizontal()?"width":"height"]=`${o*(m.dynamicMainBullets+4)}px`}),m.dynamicMainBullets>1&&T!==void 0&&(a+=w-(T||0),a>m.dynamicMainBullets-1?a=m.dynamicMainBullets-1:a<0&&(a=0)),x=Math.max(w-a,0),k=x+(Math.min(E.length,m.dynamicMainBullets)-1),C=(k+x)/2),E.forEach(A=>{const L=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(I=>`${m.bulletActiveClass}${I}`)].map(I=>typeof I=="string"&&I.includes(" ")?I.split(" "):I).flat();A.classList.remove(...L)}),_.length>1)E.forEach(A=>{const L=Xs(A);L===w?A.classList.add(...m.bulletActiveClass.split(" ")):e.isElement&&A.setAttribute("part","bullet"),m.dynamicBullets&&(L>=x&&L<=k&&A.classList.add(...`${m.bulletActiveClass}-main`.split(" ")),L===x&&u(A,"prev"),L===k&&u(A,"next"))});else{const A=E[w];if(A&&A.classList.add(...m.bulletActiveClass.split(" ")),e.isElement&&E.forEach((L,I)=>{L.setAttribute("part",I===w?"bullet-active":"bullet")}),m.dynamicBullets){const L=E[x],I=E[k];for(let z=x;z<=k;z+=1)E[z]&&E[z].classList.add(...`${m.bulletActiveClass}-main`.split(" "));u(L,"prev"),u(I,"next")}}if(m.dynamicBullets){const A=Math.min(E.length,m.dynamicMainBullets+4),L=(o*A-o)/2-C*o,I=v?"right":"left";E.forEach(z=>{z.style[e.isHorizontal()?I:"top"]=`${L}px`})}}_.forEach((E,x)=>{if(m.type==="fraction"&&(E.querySelectorAll(Gn(m.currentClass)).forEach(k=>{k.textContent=m.formatFractionCurrent(w+1)}),E.querySelectorAll(Gn(m.totalClass)).forEach(k=>{k.textContent=m.formatFractionTotal(M)})),m.type==="progressbar"){let k;m.progressbarOpposite?k=e.isHorizontal()?"vertical":"horizontal":k=e.isHorizontal()?"horizontal":"vertical";const C=(w+1)/M;let A=1,L=1;k==="horizontal"?A=C:L=C,E.querySelectorAll(Gn(m.progressbarFillClass)).forEach(I=>{I.style.transform=`translate3d(0,0,0) scaleX(${A}) scaleY(${L})`,I.style.transitionDuration=`${e.params.speed}ms`})}m.type==="custom"&&m.renderCustom?(E.innerHTML=m.renderCustom(e,w+1,M),x===0&&i("paginationRender",E)):(x===0&&i("paginationRender",E),i("paginationUpdate",E)),e.params.watchOverflow&&e.enabled&&E.classList[e.isLocked?"add":"remove"](m.lockClass)})}function d(){const v=e.params.pagination;if(l())return;const m=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let _=e.pagination.el;_=Tr(_);let w="";if(v.type==="bullets"){let T=e.params.loop?Math.ceil(m/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&T>m&&(T=m);for(let S=0;S`}v.type==="fraction"&&(v.renderFraction?w=v.renderFraction.call(e,v.currentClass,v.totalClass):w=` / `),v.type==="progressbar"&&(v.renderProgressbar?w=v.renderProgressbar.call(e,v.progressbarFillClass):w=``),e.pagination.bullets=[],_.forEach(T=>{v.type!=="custom"&&(T.innerHTML=w||""),v.type==="bullets"&&e.pagination.bullets.push(...T.querySelectorAll(Gn(v.bulletClass)))}),v.type!=="custom"&&i("paginationRender",_[0])}function g(){e.params.pagination=Hp(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const v=e.params.pagination;if(!v.el)return;let m;typeof v.el=="string"&&e.isElement&&(m=e.el.querySelector(v.el)),!m&&typeof v.el=="string"&&(m=[...document.querySelectorAll(v.el)]),m||(m=v.el),!(!m||m.length===0)&&(e.params.uniqueNavElements&&typeof v.el=="string"&&Array.isArray(m)&&m.length>1&&(m=[...e.el.querySelectorAll(v.el)],m.length>1&&(m=m.filter(_=>kc(_,".swiper")[0]===e.el)[0])),Array.isArray(m)&&m.length===1&&(m=m[0]),Object.assign(e.pagination,{el:m}),m=Tr(m),m.forEach(_=>{v.type==="bullets"&&v.clickable&&_.classList.add(...(v.clickableClass||"").split(" ")),_.classList.add(v.modifierClass+v.type),_.classList.add(e.isHorizontal()?v.horizontalClass:v.verticalClass),v.type==="bullets"&&v.dynamicBullets&&(_.classList.add(`${v.modifierClass}${v.type}-dynamic`),a=0,v.dynamicMainBullets<1&&(v.dynamicMainBullets=1)),v.type==="progressbar"&&v.progressbarOpposite&&_.classList.add(v.progressbarOppositeClass),v.clickable&&_.addEventListener("click",f),e.enabled||_.classList.add(v.lockClass)}))}function p(){const v=e.params.pagination;if(l())return;let m=e.pagination.el;m&&(m=Tr(m),m.forEach(_=>{_.classList.remove(v.hiddenClass),_.classList.remove(v.modifierClass+v.type),_.classList.remove(e.isHorizontal()?v.horizontalClass:v.verticalClass),v.clickable&&(_.classList.remove(...(v.clickableClass||"").split(" ")),_.removeEventListener("click",f))})),e.pagination.bullets&&e.pagination.bullets.forEach(_=>_.classList.remove(...v.bulletActiveClass.split(" ")))}r("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const v=e.params.pagination;let{el:m}=e.pagination;m=Tr(m),m.forEach(_=>{_.classList.remove(v.horizontalClass,v.verticalClass),_.classList.add(e.isHorizontal()?v.horizontalClass:v.verticalClass)})}),r("init",()=>{e.params.pagination.enabled===!1?b():(g(),d(),h())}),r("activeIndexChange",()=>{typeof e.snapIndex>"u"&&h()}),r("snapIndexChange",()=>{h()}),r("snapGridLengthChange",()=>{d(),h()}),r("destroy",()=>{p()}),r("enable disable",()=>{let{el:v}=e.pagination;v&&(v=Tr(v),v.forEach(m=>m.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),r("lock unlock",()=>{h()}),r("click",(v,m)=>{const _=m.target,w=Tr(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&w&&w.length>0&&!_.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&_===e.navigation.nextEl||e.navigation.prevEl&&_===e.navigation.prevEl))return;const T=w[0].classList.contains(e.params.pagination.hiddenClass);i(T===!0?"paginationShow":"paginationHide"),w.forEach(S=>S.classList.toggle(e.params.pagination.hiddenClass))}});const y=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:v}=e.pagination;v&&(v=Tr(v),v.forEach(m=>m.classList.remove(e.params.pagination.paginationDisabledClass))),g(),d(),h()},b=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:v}=e.pagination;v&&(v=Tr(v),v.forEach(m=>m.classList.add(e.params.pagination.paginationDisabledClass))),p()};Object.assign(e.pagination,{enable:y,disable:b,render:d,update:h,init:g,destroy:p})}function $c(n){const{effect:e,swiper:t,on:r,setTranslate:i,setTransition:s,overwriteParams:o,perspective:a,recreateShadows:l,getEffectParams:u}=n;r("beforeInit",()=>{if(t.params.effect!==e)return;t.classNames.push(`${t.params.containerModifierClass}${e}`),a&&a()&&t.classNames.push(`${t.params.containerModifierClass}3d`);const f=o?o():{};Object.assign(t.params,f),Object.assign(t.originalParams,f)}),r("setTranslate",()=>{t.params.effect===e&&i()}),r("setTransition",(f,h)=>{t.params.effect===e&&s(h)}),r("transitionEnd",()=>{if(t.params.effect===e&&l){if(!u||!u().slideShadows)return;t.slides.forEach(f=>{f.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(h=>h.remove())}),l()}});let c;r("virtualUpdate",()=>{t.params.effect===e&&(t.slides.length||(c=!0),requestAnimationFrame(()=>{c&&t.slides&&t.slides.length&&(i(),c=!1)}))})}function Nc(n,e){const t=Hs(e);return t!==e&&(t.style.backfaceVisibility="hidden",t.style["-webkit-backface-visibility"]="hidden"),t}function Vc(n){let{swiper:e,duration:t,transformElements:r,allSlides:i}=n;const{activeIndex:s}=e,o=a=>a.parentElement?a.parentElement:e.slides.filter(u=>u.shadowRoot&&u.shadowRoot===a.parentNode)[0];if(e.params.virtualTranslate&&t!==0){let a=!1,l;i?l=r:l=r.filter(u=>{const c=u.classList.contains("swiper-slide-transform")?o(u):u;return e.getSlideIndex(c)===s}),l.forEach(u=>{Lh(u,()=>{if(a||!e||e.destroyed)return;a=!0,e.animating=!1;const c=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(c)})})}}function Wp(n){let{swiper:e,extendParams:t,on:r}=n;t({fadeEffect:{crossFade:!1}}),$c({effect:"fade",swiper:e,on:r,setTranslate:()=>{const{slides:o}=e,a=e.params.fadeEffect;for(let l=0;l{const a=e.slides.map(l=>Hs(l));a.forEach(l=>{l.style.transitionDuration=`${o}ms`}),Vc({swiper:e,duration:o,transformElements:a,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function Xp(n,e,t){const r=`swiper-slide-shadow${` swiper-slide-shadow-${n}`}`,i=Hs(e);let s=i.querySelector(`.${r.split(" ").join(".")}`);return s||(s=Vn("div",r.split(" ")),i.append(s)),s}function Yp(n){let{swiper:e,extendParams:t,on:r}=n;t({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const i=a=>typeof a=="string"?a:`${a}px`;$c({effect:"creative",swiper:e,on:r,setTranslate:()=>{const{slides:a,wrapperEl:l,slidesSizesGrid:u}=e,c=e.params.creativeEffect,{progressMultiplier:f}=c,h=e.params.centeredSlides,d=Ih(e);if(h){const g=u[0]/2-e.params.slidesOffsetBefore||0;l.style.transform=`translateX(calc(50% - ${g}px))`}for(let g=0;g0&&(S=c.prev,T=!0),_.forEach((L,I)=>{_[I]=`calc(${L}px + (${i(S.translate[I])} * ${Math.abs(b*f)}))`}),w.forEach((L,I)=>{let z=S.rotate[I]*Math.abs(b*f);w[I]=z}),p.style.zIndex=-Math.abs(Math.round(y))+a.length;const M=_.join(", "),E=`rotateX(${d(w[0])}deg) rotateY(${d(w[1])}deg) rotateZ(${d(w[2])}deg)`,x=v<0?`scale(${1+(1-S.scale)*v*f})`:`scale(${1-(1-S.scale)*v*f})`,k=v<0?1+(1-S.opacity)*v*f:1-(1-S.opacity)*v*f,C=`translate3d(${M}) ${E} ${x}`;if(T&&S.shadow||!T){let L=p.querySelector(".swiper-slide-shadow");if(!L&&S.shadow&&(L=Xp("creative",p)),L){const I=c.shadowPerProgress?b*(1/c.limitProgress):b;L.style.opacity=Math.min(Math.max(Math.abs(I),0),1)}}const A=Nc(c,p);A.style.transform=C,A.style.opacity=k,S.origin&&(A.style.transformOrigin=S.origin)}},setTransition:a=>{const l=e.slides.map(u=>Hs(u));l.forEach(u=>{u.style.transitionDuration=`${a}ms`,u.querySelectorAll(".swiper-slide-shadow").forEach(c=>{c.style.transitionDuration=`${a}ms`})}),Vc({swiper:e,duration:a,transformElements:l,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function jp(){if(!document.querySelector(".swiper.cc-hero-lotties"))return;const n=$(".swiper.cc-hero-lotties"),e=$(".swiper.cc-grid-nav");if(!n.length)return;const t=window.innerWidth<=991,r=Up(n,t),i=Kp(e);za(n),t?Qp(r,i,n):Zp(r,i,n)}function Up(n,e){const t={speed:500,modules:[Wp,Ra],effect:e?"slide":"fade",simulateTouch:e,autoplay:{delay:5e3,disableOnInteraction:!0},loop:!0};return e||(t.fadeEffect={crossFade:!0}),new wt(n[0],t)}function Kp(n){return new wt(n[0],{modules:[Ra],effect:"slide",loop:!0,speed:500,simulateTouch:!0,spaceBetween:32,pagination:{el:$(".swiper-pagination")[0],type:"bullets",clickable:!0}})}function za(n){n.find(".swiper-slide-active .hero-lottie-trigger").trigger("click")}function Zp(n,e,t){n.on("slideChangeTransitionEnd",function(){$(".home-grid_item").removeClass("cc-active"),$(".home-grid_item").eq(n.realIndex).addClass("cc-active"),za(t)}),$(".home-grid_item").click(function(){$(".home-grid_item.cc-active").removeClass("cc-active"),$(this).addClass("cc-active");const r=parseInt($(this).attr("hero-item"),10)-1;n.slideToLoop(r),e.slideToLoop(r)})}function Qp(n,e,t){let r=!1,i=null;function s(a,l){r||(r=!0,l.slideNext(),setTimeout(()=>{r=!1},a.params.speed+100))}function o(a,l){r||(r=!0,l.slidePrev(),setTimeout(()=>{r=!1},a.params.speed+100))}n.on("slideNextTransitionStart",function(){i="hero",s(n,e)}),n.on("slidePrevTransitionStart",function(){i="hero",o(n,e)}),e.on("slideNextTransitionStart",function(){i="grid",s(e,n)}),e.on("slidePrevTransitionStart",function(){i="grid",o(e,n)}),n.on("slideChangeTransitionEnd",function(){za(t),n.realIndex!==e.realIndex&&(i==="hero"?e.slideToLoop(n.realIndex,300):n.slideToLoop(e.realIndex,300)),$(".home-grid_item").removeClass("cc-active"),$(".home-grid_item").eq(n.realIndex).addClass("cc-active")}),e.on("slideChangeTransitionEnd",function(){e.realIndex!==n.realIndex&&(i==="grid"?n.slideToLoop(e.realIndex,300):e.slideToLoop(n.realIndex,300)),$(".home-grid_item").removeClass("cc-active"),$(".home-grid_item").eq(e.realIndex).addClass("cc-active")}),$(".home-grid_item").click(function(){$(".home-grid_item.cc-active").removeClass("cc-active"),$(this).addClass("cc-active");const a=parseInt($(this).attr("hero-item"),10)-1,l=n.realIndex;a!==l&&(l===n.slides.length-1&&a===0||a>l?(n.slideNext(),e.slideNext()):(n.slidePrev(),e.slidePrev()))})}se.registerPlugin(q);function Jp(){if(document.querySelector(".msaip")&&$(window).width()>991){const n=se.utils.toArray(".msaip_section"),e=n.length,t=[0];for(let s=1;s{const o=s*r;return t.reduce((l,u)=>Math.abs(u-o){q.create({trigger:s,start:"top 1%",end:"bottom 1%",toggleClass:{targets:i[o],className:"cc-active"}})})}}function eg(){$(".swiper.cc-image-slider").each(function(){const n=$(this);if(n.length===0){console.error("Swiper container not found.");return}new wt(n[0],{modules:[Yp,Ra],effect:"creative",creativeEffect:{prev:{translate:[0,0,-400]},next:{translate:["100%",0,0]}},autoplay:{delay:5e3},pagination:{el:".swiper-pagination",type:"bullets"},simulateTouch:!0,loop:!0,spaceBetween:32,speed:750})})}se.registerPlugin(q);function tg(){[{trigger:"[white]",className:"cc-white"},{trigger:"[padding]",className:"cc-padding"}].forEach(({trigger:e,className:t})=>{$(e).length&&q.create({trigger:e,start:"top -5%",end:"bottom 90%",onEnter:()=>document.querySelector(".nav").classList.remove(t),onLeaveBack:()=>document.querySelector(".nav").classList.add(t)})})}/*! * matrix 3.12.5 * https://gsap.com * * Copyright 2008-2024, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license or for * Club GSAP members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */var Sr,mi,Fa,js,qn,Us,Ks,Hn,Ht="transform",Ba=Ht+"Origin",Gc,$a=function(e){var t=e.ownerDocument||e;for(!(Ht in e.style)&&("msTransform"in e.style)&&(Ht="msTransform",Ba=Ht+"Origin");t.parentNode&&(t=t.parentNode););if(mi=window,Ks=new vi,t){Sr=t,Fa=t.documentElement,js=t.body,Hn=Sr.createElementNS("http://www.w3.org/2000/svg","g"),Hn.style.transform="none";var r=t.createElement("div"),i=t.createElement("div"),s=t&&(t.body||t.firstElementChild);s&&s.appendChild&&(s.appendChild(r),r.appendChild(i),r.setAttribute("style","position:static;transform:translate3d(0,0,1px)"),Gc=i.offsetParent!==r,s.removeChild(r))}return t},rg=function(e){for(var t,r;e&&e!==js;)r=e._gsap,r&&r.uncache&&r.get(e,"x"),r&&!r.scaleX&&!r.scaleY&&r.renderTransform&&(r.scaleX=r.scaleY=1e-4,r.renderTransform(1,r),t?t.push(r):t=[r]),e=e.parentNode;return t},qc=[],Hc=[],Na=function(){return mi.pageYOffset||Sr.scrollTop||Fa.scrollTop||js.scrollTop||0},Va=function(){return mi.pageXOffset||Sr.scrollLeft||Fa.scrollLeft||js.scrollLeft||0},Ga=function(e){return e.ownerSVGElement||((e.tagName+"").toLowerCase()==="svg"?e:null)},ig=function n(e){if(mi.getComputedStyle(e).position==="fixed")return!0;if(e=e.parentNode,e&&e.nodeType===1)return n(e)},qa=function n(e,t){if(e.parentNode&&(Sr||$a(e))){var r=Ga(e),i=r?r.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",s=r?t?"rect":"g":"div",o=t!==2?0:100,a=t===3?100:0,l="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",u=Sr.createElementNS?Sr.createElementNS(i.replace(/^https/,"http"),s):Sr.createElement(s);return t&&(r?(Us||(Us=n(e)),u.setAttribute("width",.01),u.setAttribute("height",.01),u.setAttribute("transform","translate("+o+","+a+")"),Us.appendChild(u)):(qn||(qn=n(e),qn.style.cssText=l),u.style.cssText=l+"width:0.1px;height:0.1px;top:"+a+"px;left:"+o+"px",qn.appendChild(u))),u}throw"Need document and parent."},ng=function(e){for(var t=new vi,r=0;r1?ng(l):l.getItem(0).matrix:Ks,c=l.a*u.x+l.c*u.y,f=l.b*u.x+l.d*u.y):(l=new vi,c=f=0),t&&e.tagName.toLowerCase()==="g"&&(c=f=0),(i?r:o).appendChild(a),a.setAttribute("transform","matrix("+l.a+","+l.b+","+l.c+","+l.d+","+(l.e+c)+","+(l.f+f)+")");else{if(c=f=0,Gc)for(l=e.offsetParent,u=e;u&&(u=u.parentNode)&&u!==l&&u.parentNode;)(mi.getComputedStyle(u)[Ht]+"").length>4&&(c=u.offsetLeft,f=u.offsetTop,u=0);if(h=mi.getComputedStyle(e),h.position!=="absolute"&&h.position!=="fixed")for(l=e.offsetParent;o&&o!==l;)c+=o.scrollLeft||0,f+=o.scrollTop||0,o=o.parentNode;u=a.style,u.top=e.offsetTop-f+"px",u.left=e.offsetLeft-c+"px",u[Ht]=h[Ht],u[Ba]=h[Ba],u.position=h.position==="fixed"?"fixed":"absolute",e.parentNode.appendChild(a)}return a},Ha=function(e,t,r,i,s,o,a){return e.a=t,e.b=r,e.c=i,e.d=s,e.e=o,e.f=a,e},vi=function(){function n(t,r,i,s,o,a){t===void 0&&(t=1),r===void 0&&(r=0),i===void 0&&(i=0),s===void 0&&(s=1),o===void 0&&(o=0),a===void 0&&(a=0),Ha(this,t,r,i,s,o,a)}var e=n.prototype;return e.inverse=function(){var r=this.a,i=this.b,s=this.c,o=this.d,a=this.e,l=this.f,u=r*o-i*s||1e-10;return Ha(this,o/u,-i/u,-s/u,r/u,(s*l-o*a)/u,-(r*l-i*a)/u)},e.multiply=function(r){var i=this.a,s=this.b,o=this.c,a=this.d,l=this.e,u=this.f,c=r.a,f=r.c,h=r.b,d=r.d,g=r.e,p=r.f;return Ha(this,c*i+h*o,c*s+h*a,f*i+d*o,f*s+d*a,l+g*i+p*o,u+g*s+p*a)},e.clone=function(){return new n(this.a,this.b,this.c,this.d,this.e,this.f)},e.equals=function(r){var i=this.a,s=this.b,o=this.c,a=this.d,l=this.e,u=this.f;return i===r.a&&s===r.b&&o===r.c&&a===r.d&&l===r.e&&u===r.f},e.apply=function(r,i){i===void 0&&(i={});var s=r.x,o=r.y,a=this.a,l=this.b,u=this.c,c=this.d,f=this.e,h=this.f;return i.x=s*a+o*u+f||0,i.y=s*l+o*c+h||0,i},n}();function cr(n,e,t,r){if(!n||!n.parentNode||(Sr||$a(n)).documentElement===n)return new vi;var i=rg(n),s=Ga(n),o=s?qc:Hc,a=sg(n,t),l=o[0].getBoundingClientRect(),u=o[1].getBoundingClientRect(),c=o[2].getBoundingClientRect(),f=a.parentNode,h=!r&&ig(n),d=new vi((u.left-l.left)/100,(u.top-l.top)/100,(c.left-l.left)/100,(c.top-l.top)/100,l.left+(h?0:Va()),l.top+(h?0:Na()));if(f.removeChild(a),i)for(l=i.length;l--;)u=i[l],u.scaleX=u.scaleY=0,u.renderTransform(1,u);return e?d.inverse():d}/*! * Flip 3.12.5 * https://gsap.com * * @license Copyright 2008-2024, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license or for * Club GSAP members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */var og=1,Ki,et,pe,Wn,Gr,Pr,Wa,Xc=function(e,t){return e.actions.forEach(function(r){return r.vars[t]&&r.vars[t](r)})},Xa={},Yc=180/Math.PI,ag=Math.PI/180,Zs={},jc={},Qs={},Ya=function(e){return typeof e=="string"?e.split(" ").join("").split(","):e},lg=Ya("onStart,onUpdate,onComplete,onReverseComplete,onInterrupt"),Js=Ya("transform,transformOrigin,width,height,position,top,left,opacity,zIndex,maxWidth,maxHeight,minWidth,minHeight"),Xn=function(e){return Ki(e)[0]||console.warn("Element not found:",e)},Zi=function(e){return Math.round(e*1e4)/1e4||0},ja=function(e,t,r){return e.forEach(function(i){return i.classList[r](t)})},Uc={zIndex:1,kill:1,simple:1,spin:1,clearProps:1,targets:1,toggleClass:1,onComplete:1,onUpdate:1,onInterrupt:1,onStart:1,delay:1,repeat:1,repeatDelay:1,yoyo:1,scale:1,fade:1,absolute:1,props:1,onEnter:1,onLeave:1,custom:1,paused:1,nested:1,prune:1,absoluteOnLeave:1},Kc={zIndex:1,simple:1,clearProps:1,scale:1,absolute:1,fitChild:1,getVars:1,props:1},Zc=function(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()},Qi=function(e,t){var r={},i;for(i in e)t[i]||(r[i]=e[i]);return r},Ua={},Qc=function(e){var t=Ua[e]=Ya(e);return Qs[e]=t.concat(Js),t},ug=function(e){var t=e._gsap||et.core.getCache(e);return t.gmCache===et.ticker.frame?t.gMatrix:(t.gmCache=et.ticker.frame,t.gMatrix=cr(e,!0,!1,!0))},cg=function n(e,t,r){r===void 0&&(r=0);for(var i=e.parentNode,s=1e3*Math.pow(10,r)*(t?-1:1),o=t?-s*900:0;e;)o+=s,e=e.previousSibling;return i?o+n(i,t,r+1):o},eo=function(e,t,r){return e.forEach(function(i){return i.d=cg(r?i.element:i.t,t)}),e.sort(function(i,s){return i.d-s.d}),e},Yn=function(e,t){for(var r=e.element.style,i=e.css=e.css||[],s=t.length,o,a;s--;)o=t[s],a=r[o]||r.getPropertyValue(o),i.push(a?o:jc[o]||(jc[o]=Zc(o)),a);return r},to=function(e){var t=e.css,r=e.element.style,i=0;for(e.cache.uncache=1;i0&&w&&(Q.style.opacity=G?N.opacity-J.opacity:"0"),Ji(N,J,_,E)):J.isVisible!==N.isVisible&&(J.isVisible?N.isVisible||(J.css=N.css,L.push(J),I.splice(ae--,1),u&&v&&Ji(N,J,_,E)):(N.isVisible&&A.push(N),I.splice(ae--,1))),_||(Q.style.maxWidth=Math.max(N.width,J.width)+"px",Q.style.maxHeight=Math.max(N.height,J.height)+"px",Q.style.minWidth=Math.min(N.width,J.width)+"px",Q.style.minHeight=Math.min(N.height,J.height)+"px"),v&&b&&Q.classList.add(b)),Ae.push(N);var Ee;if(b&&(Ee=Ae.map(function(F){return F.element}),v&&Ee.forEach(function(F){return F.classList.remove(b)})),af(!1),_?(x.scaleX=function(F){return I[F].a.scaleX},x.scaleY=function(F){return I[F].a.scaleY}):(x.width=function(F){return I[F].a.width+"px"},x.height=function(F){return I[F].a.height+"px"},x.autoRound=r.autoRound||!1),x.x=function(F){return I[F].a.x+"px"},x.y=function(F){return I[F].a.y+"px"},x.rotation=function(F){return I[F].a.rotation+(S?j(F,de[F],de)*360:0)},x.skewX=function(F){return I[F].a.skewX},de=I.map(function(F){return F.t}),(m||m===0)&&(x.modifiers={zIndex:function(){return m}},x.zIndex=m,x.immediateRender=r.immediateRender!==!1),w&&(x.opacity=function(F){return I[F].sd<0?0:I[F].sd>0?I[F].a.opacity:"+=0"}),z.length){T=et.utils.distribute(T);var Yt=de.slice(z.length);x.stagger=function(F,jt){return T(~z.indexOf(jt)?de.indexOf(I[F].swap.t):F,jt,Yt)}}if(lg.forEach(function(F){return r[F]&&k.eventCallback(F,r[F],r[F+"Params"])}),f&&de.length){C=Qi(x,Uc),"scale"in f&&(f.scaleX=f.scaleY=f.scale,delete f.scale);for(oe in f)ne=Qi(f[oe],Kc),ne[oe]=x[oe],!("duration"in ne)&&"duration"in x&&(ne.duration=x.duration),ne.stagger=x.stagger,P.call(k,de,ne,0),delete C[oe]}(de.length||L.length||A.length)&&(b&&k.add(function(){return ja(Ee,b,k._zTime<0?"remove":"add")},0)&&!d&&ja(Ee,b,"add"),de.length&&P.call(k,de,C,0)),sf(a,A,k),sf(l,L,k);var Nt=pe&&pe.timeline;Nt&&(Nt.add(k,0),pe._final.push(function(){return Jc(I,!o)})),bt=k.duration(),k.call(function(){var F=k.time()>=bt;F&&!Nt&&Jc(I,!o),b&&ja(Ee,b,F?"remove":"add")})},c&&(u=I.filter(function(O){return!O.sd&&!O.a.isVisible&&O.b.isVisible}).map(function(O){return O.a.element})),pe){var He;u&&(He=pe._abs).push.apply(He,ef(I,u)),pe._run.push(ht)}else u&&tf(ef(I,u)),ht();var We=pe?pe.timeline:k;return We.revert=function(){return il(We,1,1)},We},pg=function n(e){e.vars.onInterrupt&&e.vars.onInterrupt.apply(e,e.vars.onInterruptParams||[]),e.getChildren(!0,!1,!0).forEach(n)},il=function(e,t,r){if(e&&e.progress()<1&&(!e.paused()||r))return t&&(pg(e),t<2&&e.progress(1),e.kill()),!0},io=function(e){for(var t=e.idLookup={},r=e.alt={},i=e.elementStates,s=i.length,o;s--;)o=i[s],t[o.id]?r[o.id]=o:t[o.id]=o},Wt=function(){function n(t,r,i){if(this.props=r&&r.props,this.simple=!!(r&&r.simple),i)this.targets=nf(t),this.elementStates=t,io(this);else{this.targets=Ki(t);var s=r&&(r.kill===!1||r.batch&&!r.kill);pe&&!s&&pe._kill.push(this),this.update(s||!!pe)}}var e=n.prototype;return e.update=function(r){var i=this;return this.elementStates=this.targets.map(function(s){return new _i(s,i.props,i.simple)}),io(this),this.interrupt(r),this.recordInlineStyles(),this},e.clear=function(){return this.targets.length=this.elementStates.length=0,io(this),this},e.fit=function(r,i,s){for(var o=eo(this.elementStates.slice(0),!1,!0),a=(r||this).idLookup,l=0,u,c;l=0&&this.actions.splice(i,1),this},e.getState=function(r){var i=this,s=pe,o=Wn;return pe=this,this.state.clear(),this._kill.length=0,this.actions.forEach(function(a){a.vars.getState&&(a.states.length=0,Wn=a,a.state=a.vars.getState(a)),r&&a.states.forEach(function(l){return i.state.add(l)})}),Wn=o,pe=s,this.killConflicts(),this},e.animate=function(){var r=this,i=pe,s=this.timeline,o=this.actions.length,a,l;for(pe=this,s.clear(),this._abs.length=this._final.length=this._run.length=0,this.actions.forEach(function(u){u.vars.animate&&u.vars.animate(u);var c=u.vars.onEnter,f=u.vars.onLeave,h=u.targets,d,g;h&&h.length&&(c||f)&&(d=new Wt,u.states.forEach(function(p){return d.add(p)}),g=d.compare(qr.getState(h)),g.enter.length&&c&&c(g.enter),g.leave.length&&f&&f(g.leave))}),tf(this._abs),this._run.forEach(function(u){return u()}),l=s.duration(),a=this._final.slice(0),s.add(function(){l<=s.time()&&(a.forEach(function(u){return u()}),Xc(r,"onComplete"))}),pe=i;o--;)this.actions[o].vars.once&&this.actions[o].kill();return Xc(this,"onStart"),s.restart(),this},e.loadState=function(r){r||(r=function(){return 0});var i=[];return this.actions.forEach(function(s){if(s.vars.loadState){var o,a=function l(u){u&&(s.targets=u),o=i.indexOf(l),~o&&(i.splice(o,1),i.length||r())};i.push(a),s.vars.loadState(a)}}),i.length||r(),this},e.setState=function(){return this.actions.forEach(function(r){return r.targets=r.vars.setState&&r.vars.setState(r)}),this},e.killConflicts=function(r){return this.state.interrupt(r),this._kill.forEach(function(i){return i.interrupt(r)}),this},e.run=function(r,i){var s=this;return this!==pe&&(r||this.getState(i),this.loadState(function(){s._killed||(s.setState(),s.animate())})),this},e.clear=function(r){this.state.clear(),r||(this.actions.length=0)},e.getStateById=function(r){for(var i=this.actions.length,s;i--;)if(s=this.actions[i].getStateById(r),s)return s;return this.state.idLookup[r]&&this.state},e.kill=function(){this._killed=1,this.clear(),delete Xa[this.id]},n}(),qr=function(){function n(){}return n.getState=function(t,r){var i=Ja(t,r);return Wn&&Wn.states.push(i),r&&r.batch&&n.batch(r.batch).state.add(i),i},n.from=function(t,r){return r=r||{},"clearProps"in r||(r.clearProps=!0),rl(t,Ja(r.targets||t.targets,{props:r.props||t.props,simple:r.simple,kill:!!r.kill}),r,-1)},n.to=function(t,r){return rl(t,Ja(r.targets||t.targets,{props:r.props||t.props,simple:r.simple,kill:!!r.kill}),r,1)},n.fromTo=function(t,r,i){return rl(t,r,i)},n.fit=function(t,r,i){var s=i?Qi(i,Kc):{},o=i||s,a=o.absolute,l=o.scale,u=o.getVars,c=o.props,f=o.runBackwards,h=o.onComplete,d=o.simple,g=i&&i.fitChild&&Xn(i.fitChild),p=Qa(r,c,d,t),y=Qa(t,0,d,p),b=c?Qs[c]:Js,v=et.context();return c&&rf(s,p.props),Yn(y,b),f&&("immediateRender"in s||(s.immediateRender=!0),s.onComplete=function(){to(y),h&&h.apply(this,arguments)}),a&&Za(y,p),s=Ji(y,p,l||g,c,g,s.duration||u?s:0),v&&!u&&v.add(function(){return function(){return to(y)}}),u?s:s.duration?et.to(y.element,s):null},n.makeAbsolute=function(t,r){return(t instanceof Wt?t:new Wt(t,r)).makeAbsolute()},n.batch=function(t){return t||(t="default"),Xa[t]||(Xa[t]=new mg(t))},n.killFlipsOf=function(t,r){(t instanceof Wt?t.targets:Ki(t)).forEach(function(i){return i&&il(i._flip,r!==!1?1:2)})},n.isFlipping=function(t){var r=n.getByTarget(t);return!!r&&r.isActive()},n.getByTarget=function(t){return(Xn(t)||Zs)._flip},n.getElementState=function(t,r){return new _i(Xn(t),r)},n.convertCoordinates=function(t,r,i){var s=cr(r,!0,!0).multiply(cr(t));return i?s.apply(i):s},n.register=function(t){if(Gr=typeof document<"u"&&document.body,Gr){et=t,$a(Gr),Ki=et.utils.toArray,Wa=et.core.getStyleSaver;var r=et.utils.snap(.1);Pr=function(s,o){return r(parseFloat(s)+o)}}},n}();qr.version="3.12.5",typeof window<"u"&&window.gsap&&window.gsap.registerPlugin(qr),se.registerPlugin(qr);function vg(n){function e(){$(".lottie-trigger").click();const r=$(".nav_bg")[0],i=qr.getState(r);$(".nav").removeClass("cc-active"),$(".nav_button").append(r),qr.from(i,{duration:.5,ease:"power2.inOut",absolute:!0,delay:.15}),se.to(r,{borderRadius:window.innerWidth<991?"10px":"0.5rem",duration:.5,ease:"power2.inOut"}),n=!1}function t(){$(".lottie-trigger").click();const r=$(".nav_bg")[0],i=qr.getState(r);$(".nav").addClass("cc-active"),$(".nav_menu").append(r),qr.from(i,{duration:.5,ease:"power2.inOut",absolute:!0,delay:0}),se.to(r,{borderRadius:window.innerWidth<991?"0px":"0.75rem",duration:.5,ease:"power2.inOut"}),n=!0}$(".nav_item").click(function(){e()}),$(".nav_button").click(function(){n?e():t()}),$(".nav_overlay").click(function(){n&&e()})}function _g(){function n(e){e.querySelectorAll(".dot").forEach(t=>{se.to(t,{opacity:0,duration:se.utils.random(.3,2),ease:"power1.inOut",repeat:-1,yoyo:!0,delay:se.utils.random(0,5)})})}se.utils.toArray(".dot-grid").forEach(e=>{se.fromTo(e.querySelectorAll(".dot"),{opacity:0},{opacity:1,stagger:window.innerWidth<=768?.005:.001,ease:"power2.out",scrollTrigger:{trigger:e,start:"top 80%",toggleActions:"play none none none"},onComplete:()=>n(e)})})}function yg(n,e){for(var t=0;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ol(n,e,t){return ol=wg()?Reflect.construct.bind():function(r,i,s){var o=[null];o.push.apply(o,i);var a=new(Function.bind.apply(r,o));return s&&jn(a,s.prototype),a},ol.apply(null,arguments)}function al(n){var e=typeof Map=="function"?new Map:void 0;return al=function(t){if(t===null||Function.toString.call(t).indexOf("[native code]")===-1)return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(e!==void 0){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return ol(t,arguments,sl(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),jn(r,t)},al(n)}function bg(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}var Hr,xg=function(){this.before=void 0,this.beforeLeave=void 0,this.leave=void 0,this.afterLeave=void 0,this.beforeEnter=void 0,this.enter=void 0,this.afterEnter=void 0,this.after=void 0};(function(n){n[n.off=0]="off",n[n.error=1]="error",n[n.warning=2]="warning",n[n.info=3]="info",n[n.debug=4]="debug"})(Hr||(Hr={}));var lf=Hr.off,yi=function(){function n(t){this.t=void 0,this.t=t}n.getLevel=function(){return lf},n.setLevel=function(t){return lf=Hr[t]};var e=n.prototype;return e.error=function(){this.i(console.error,Hr.error,[].slice.call(arguments))},e.warn=function(){this.i(console.warn,Hr.warning,[].slice.call(arguments))},e.info=function(){this.i(console.info,Hr.info,[].slice.call(arguments))},e.debug=function(){this.i(console.log,Hr.debug,[].slice.call(arguments))},e.i=function(t,r,i){r<=n.getLevel()&&t.apply(console,["["+this.t+"] "].concat(i))},n}();function en(n){return n.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function uf(n){return n&&n.sensitive?"":"i"}var dr={container:"container",history:"history",namespace:"namespace",prefix:"data-barba",prevent:"prevent",wrapper:"wrapper"},wi=new(function(){function n(){this.o=dr,this.u=void 0,this.h={after:null,before:null,parent:null}}var e=n.prototype;return e.toString=function(t){return t.outerHTML},e.toDocument=function(t){return this.u||(this.u=new DOMParser),this.u.parseFromString(t,"text/html")},e.toElement=function(t){var r=document.createElement("div");return r.innerHTML=t,r},e.getHtml=function(t){return t===void 0&&(t=document),this.toString(t.documentElement)},e.getWrapper=function(t){return t===void 0&&(t=document),t.querySelector("["+this.o.prefix+'="'+this.o.wrapper+'"]')},e.getContainer=function(t){return t===void 0&&(t=document),t.querySelector("["+this.o.prefix+'="'+this.o.container+'"]')},e.removeContainer=function(t){document.body.contains(t)&&(this.v(t),t.parentNode.removeChild(t))},e.addContainer=function(t,r){var i=this.getContainer()||this.h.before;i?this.l(t,i):this.h.after?this.h.after.parentNode.insertBefore(t,this.h.after):this.h.parent?this.h.parent.appendChild(t):r.appendChild(t)},e.getSibling=function(){return this.h},e.getNamespace=function(t){t===void 0&&(t=document);var r=t.querySelector("["+this.o.prefix+"-"+this.o.namespace+"]");return r?r.getAttribute(this.o.prefix+"-"+this.o.namespace):null},e.getHref=function(t){if(t.tagName&&t.tagName.toLowerCase()==="a"){if(typeof t.href=="string")return t.href;var r=t.getAttribute("href")||t.getAttribute("xlink:href");if(r)return this.resolveUrl(r.baseVal||r)}return null},e.resolveUrl=function(){var t=[].slice.call(arguments).length;if(t===0)throw new Error("resolveUrl requires at least one argument; got none.");var r=document.createElement("base");if(r.href=arguments[0],t===1)return r.href;var i=document.getElementsByTagName("head")[0];i.insertBefore(r,i.firstChild);for(var s,o=document.createElement("a"),a=1;a1?t>0?"forward":"back":t===0?"popstate":t>0?"back":"forward"},nl(n,[{key:"current",get:function(){return this.m[this.P]}},{key:"previous",get:function(){return this.P<1?null:this.m[this.P-1]}},{key:"size",get:function(){return this.m.length}}]),n}(),cf=new Tg,so=function(n,e){try{var t=function(){if(!e.next.html)return Promise.resolve(n).then(function(r){var i=e.next;if(r){var s=wi.toElement(r.html);i.namespace=wi.getNamespace(s),i.container=wi.getContainer(s),i.url=r.url,i.html=r.html,cf.update({ns:i.namespace});var o=wi.toDocument(r.html);document.title=o.title}})}();return Promise.resolve(t&&t.then?t.then(function(){}):void 0)}catch(r){return Promise.reject(r)}},ff=function n(e,t,r){return e instanceof RegExp?function(i,s){if(!s)return i;for(var o=/\((?:\?<(.*?)>)?(?!\?)/g,a=0,l=o.exec(i.source);l;)s.push({name:l[1]||a++,prefix:"",suffix:"",modifier:"",pattern:""}),l=o.exec(i.source);return i}(e,t):Array.isArray(e)?function(i,s,o){var a=i.map(function(l){return n(l,s,o).source});return new RegExp("(?:".concat(a.join("|"),")"),uf(o))}(e,t,r):function(i,s,o){return function(a,l,u){u===void 0&&(u={});for(var c=u.strict,f=c!==void 0&&c,h=u.start,d=h===void 0||h,g=u.end,p=g===void 0||g,y=u.encode,b=y===void 0?function(z){return z}:y,v=u.delimiter,m=v===void 0?"/#?":v,_=u.endsWith,w="[".concat(en(_===void 0?"":_),"]|$"),T="[".concat(en(m),"]"),S=d?"^":"",M=0,E=a;M-1:L===void 0;f||(S+="(?:".concat(T,"(?=").concat(w,"))?")),I||(S+="(?=".concat(T,"|").concat(w,")"))}return new RegExp(S,uf(u))}(function(a,l){l===void 0&&(l={});for(var u=function(C){for(var A=[],L=0;L=48&&P<=57||P>=65&&P<=90||P>=97&&P<=122||P===95))break;j+=C[G++]}if(!j)throw new TypeError("Missing parameter name at ".concat(L));A.push({type:"NAME",index:L,value:j}),L=G}else A.push({type:"CLOSE",index:L,value:C[L++]});else A.push({type:"OPEN",index:L,value:C[L++]});else A.push({type:"ESCAPED_CHAR",index:L++,value:C[L++]});else A.push({type:"MODIFIER",index:L,value:C[L++]})}return A.push({type:"END",index:L,value:""}),A}(a),c=l.prefixes,f=c===void 0?"./":c,h="[^".concat(en(l.delimiter||"/#?"),"]+?"),d=[],g=0,p=0,y="",b=function(C){if(p=0&&(i=s.slice(a+1),s=s.slice(0,a));var l=s.indexOf("?");return l>=0&&(o=hf(s.slice(l+1)),s=s.slice(0,l)),{hash:i,path:s,port:e,query:o}},hf=function(n){return n.split("&").reduce(function(e,t){var r=t.split("=");return e[r[0]]=r[1],e},{})},ll=function(n){return n===void 0&&(n=window.location.href),n.replace(/(\/#.*|\/|#.*)$/,"")},Pg={__proto__:null,getHref:function(){return window.location.href},getAbsoluteHref:function(n,e){return e===void 0&&(e=document.baseURI),new URL(n,e).href},getOrigin:df,getPort:Un,getPath:function(n){return n===void 0&&(n=window.location.href),Wr(n).path},getQuery:function(n,e){return e===void 0&&(e=!1),e?JSON.stringify(Wr(n).query):Wr(n).query},getHash:function(n){return Wr(n).hash},parse:Wr,parseQuery:hf,clean:ll};function Eg(n,e,t,r,i){return e===void 0&&(e=2e3),new Promise(function(s,o){var a=new XMLHttpRequest;a.onreadystatechange=function(){if(a.readyState===XMLHttpRequest.DONE){if(a.status===200){var l=a.responseURL!==""&&a.responseURL!==n?a.responseURL:n;s({html:a.responseText,url:fr({href:l},Wr(l))}),r.update(n,{status:"fulfilled",target:l})}else if(a.status){var u={status:a.status,statusText:a.statusText};t(n,u),o(u),r.update(n,{status:"rejected"})}}},a.ontimeout=function(){var l=new Error("Timeout error ["+e+"]");t(n,l),o(l),r.update(n,{status:"rejected"})},a.onerror=function(){var l=new Error("Fetch error");t(n,l),o(l),r.update(n,{status:"rejected"})},a.open("GET",n),a.timeout=e,a.setRequestHeader("Accept","text/html,application/xhtml+xml,application/xml"),a.setRequestHeader("x-barba","yes"),i.all().forEach(function(l,u){a.setRequestHeader(u,l)}),a.send()})}function Cg(n){return!!n&&(typeof n=="object"||typeof n=="function")&&typeof n.then=="function"}function tn(n,e){return e===void 0&&(e={}),function(){var t=arguments,r=!1,i=new Promise(function(s,o){e.async=function(){return r=!0,function(l,u){l?o(l):s(u)}};var a=n.apply(e,[].slice.call(t));r||(Cg(a)?a.then(s,o):s(a))});return i}}var Xr=new(function(n){function e(){var r;return(r=n.call(this)||this).logger=new yi("@barba/core"),r.all=["ready","page","reset","currentAdded","currentRemoved","nextAdded","nextRemoved","beforeOnce","once","afterOnce","before","beforeLeave","leave","afterLeave","beforeEnter","enter","afterEnter","after"],r.registered=new Map,r.init(),r}no(e,n);var t=e.prototype;return t.init=function(){var r=this;this.registered.clear(),this.all.forEach(function(i){r[i]||(r[i]=function(s,o){r.registered.has(i)||r.registered.set(i,new Set),r.registered.get(i).add({ctx:o||{},fn:s})})})},t.do=function(r){var i=arguments,s=this;if(this.registered.has(r)){var o=Promise.resolve();return this.registered.get(r).forEach(function(a){o=o.then(function(){return tn(a.fn,a.ctx).apply(void 0,[].slice.call(i,1))})}),o.catch(function(a){s.logger.debug("Hook error ["+r+"]"),s.logger.error(a)})}return Promise.resolve()},t.clear=function(){var r=this;this.all.forEach(function(i){delete r[i]}),this.init()},t.help=function(){this.logger.info("Available hooks: "+this.all.join(","));var r=[];this.registered.forEach(function(i,s){return r.push(s)}),this.logger.info("Registered hooks: "+r.join(","))},e}(xg)),pf=function(){function n(e){if(this.k=void 0,this.O=[],typeof e=="boolean")this.k=e;else{var t=Array.isArray(e)?e:[e];this.O=t.map(function(r){return ff(r)})}}return n.prototype.checkHref=function(e){if(typeof this.k=="boolean")return this.k;var t=Wr(e).path;return this.O.some(function(r){return r.exec(t)!==null})},n}(),Mg=function(n){function e(r){var i;return(i=n.call(this,r)||this).T=new Map,i}no(e,n);var t=e.prototype;return t.set=function(r,i,s,o,a){return this.T.set(r,{action:s,request:i,status:o,target:a??r}),{action:s,request:i,status:o,target:a}},t.get=function(r){return this.T.get(r)},t.getRequest=function(r){return this.T.get(r).request},t.getAction=function(r){return this.T.get(r).action},t.getStatus=function(r){return this.T.get(r).status},t.getTarget=function(r){return this.T.get(r).target},t.has=function(r){return!this.checkHref(r)&&this.T.has(r)},t.delete=function(r){return this.T.delete(r)},t.update=function(r,i){var s=fr({},this.T.get(r),i);return this.T.set(r,s),s},e}(pf),kg=function(){function n(){this.A=new Map}var e=n.prototype;return e.set=function(t,r){return this.A.set(t,r),{name:r}},e.get=function(t){return this.A.get(t)},e.all=function(){return this.A},e.has=function(t){return this.A.has(t)},e.delete=function(t){return this.A.delete(t)},e.clear=function(){return this.A.clear()},n}(),Og=function(){return!window.history.pushState},Ag=function(n){return!n.el||!n.href},Lg=function(n){var e=n.event;return e.which>1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey},Ig=function(n){var e=n.el;return e.hasAttribute("target")&&e.target==="_blank"},Dg=function(n){var e=n.el;return e.protocol!==void 0&&window.location.protocol!==e.protocol||e.hostname!==void 0&&window.location.hostname!==e.hostname},Rg=function(n){var e=n.el;return e.port!==void 0&&Un()!==Un(e.href)},zg=function(n){var e=n.el;return e.getAttribute&&typeof e.getAttribute("download")=="string"},Fg=function(n){return n.el.hasAttribute(dr.prefix+"-"+dr.prevent)},Bg=function(n){return!!n.el.closest("["+dr.prefix+"-"+dr.prevent+'="all"]')},$g=function(n){var e=n.href;return ll(e)===ll()&&Un(e)===Un()},Ng=function(n){function e(r){var i;return(i=n.call(this,r)||this).suite=[],i.tests=new Map,i.init(),i}no(e,n);var t=e.prototype;return t.init=function(){this.add("pushState",Og),this.add("exists",Ag),this.add("newTab",Lg),this.add("blank",Ig),this.add("corsDomain",Dg),this.add("corsPort",Rg),this.add("download",zg),this.add("preventSelf",Fg),this.add("preventAll",Bg),this.add("sameUrl",$g,!1)},t.add=function(r,i,s){s===void 0&&(s=!0),this.tests.set(r,i),s&&this.suite.push(r)},t.run=function(r,i,s,o){return this.tests.get(r)({el:i,event:s,href:o})},t.checkLink=function(r,i,s){var o=this;return this.suite.some(function(a){return o.run(a,r,i,s)})},e}(pf),ul=function(n){function e(t,r){var i;return r===void 0&&(r="Barba error"),(i=n.call.apply(n,[this].concat([].slice.call(arguments,2)))||this).error=void 0,i.label=void 0,i.error=t,i.label=r,Error.captureStackTrace&&Error.captureStackTrace(bg(i),e),i.name="BarbaError",i}return no(e,n),e}(al(Error)),Vg=function(){function n(t){t===void 0&&(t=[]),this.logger=new yi("@barba/core"),this.all=[],this.page=[],this.once=[],this.j=[{name:"namespace",type:"strings"},{name:"custom",type:"function"}],t&&(this.all=this.all.concat(t)),this.update()}var e=n.prototype;return e.add=function(t,r){t==="rule"?this.j.splice(r.position||0,0,r.value):this.all.push(r),this.update()},e.resolve=function(t,r){var i=this;r===void 0&&(r={});var s=r.once?this.once:this.page;s=s.filter(r.self?function(h){return h.name&&h.name==="self"}:function(h){return!h.name||h.name!=="self"});var o=new Map,a=s.find(function(h){var d=!0,g={};return r.self&&h.name==="self"?(o.set(h,g),!0):(i.j.reverse().forEach(function(p){d&&(d=i.M(h,p,t,g),h.from&&h.to&&(d=i.M(h,p,t,g,"from")&&i.M(h,p,t,g,"to")),h.from&&!h.to&&(d=i.M(h,p,t,g,"from")),!h.from&&h.to&&(d=i.M(h,p,t,g,"to")))}),o.set(h,g),d)}),l=o.get(a),u=[];if(u.push(r.once?"once":"page"),r.self&&u.push("self"),l){var c,f=[a];Object.keys(l).length>0&&f.push(l),(c=this.logger).info.apply(c,["Transition found ["+u.join(",")+"]"].concat(f))}else this.logger.info("No transition found ["+u.join(",")+"]");return a},e.update=function(){var t=this;this.all=this.all.map(function(r){return t.N(r)}).sort(function(r,i){return r.priority-i.priority}).reverse().map(function(r){return delete r.priority,r}),this.page=this.all.filter(function(r){return r.leave!==void 0||r.enter!==void 0}),this.once=this.all.filter(function(r){return r.once!==void 0})},e.M=function(t,r,i,s,o){var a=!0,l=!1,u=t,c=r.name,f=c,h=c,d=c,g=o?u[o]:u,p=o==="to"?i.next:i.current;if(o?g&&g[c]:g[c]){switch(r.type){case"strings":default:var y=Array.isArray(g[f])?g[f]:[g[f]];p[f]&&y.indexOf(p[f])!==-1&&(l=!0),y.indexOf(p[f])===-1&&(a=!1);break;case"object":var b=Array.isArray(g[h])?g[h]:[g[h]];p[h]?(p[h].name&&b.indexOf(p[h].name)!==-1&&(l=!0),b.indexOf(p[h].name)===-1&&(a=!1)):a=!1;break;case"function":g[d](i)?l=!0:a=!1}l&&(o?(s[o]=s[o]||{},s[o][c]=u[o][c]):s[c]=u[c])}return a},e.S=function(t,r,i){var s=0;return(t[r]||t.from&&t.from[r]||t.to&&t.to[r])&&(s+=Math.pow(10,i),t.from&&t.from[r]&&(s+=1),t.to&&t.to[r]&&(s+=2)),s},e.N=function(t){var r=this;t.priority=0;var i=0;return this.j.forEach(function(s,o){i+=r.S(t,s.name,o+1)}),t.priority=i,t},n}();function Kn(n,e){try{var t=n()}catch(r){return e(r)}return t&&t.then?t.then(void 0,e):t}var Gg=function(){function n(t){t===void 0&&(t=[]),this.logger=new yi("@barba/core"),this.store=void 0,this.C=!1,this.store=new Vg(t)}var e=n.prototype;return e.get=function(t,r){return this.store.resolve(t,r)},e.doOnce=function(t){var r=t.data,i=t.transition;try{var s=function(){o.C=!1},o=this,a=i||{};o.C=!0;var l=Kn(function(){return Promise.resolve(o.L("beforeOnce",r,a)).then(function(){return Promise.resolve(o.once(r,a)).then(function(){return Promise.resolve(o.L("afterOnce",r,a)).then(function(){})})})},function(u){o.C=!1,o.logger.debug("Transition error [before/after/once]"),o.logger.error(u)});return Promise.resolve(l&&l.then?l.then(s):s())}catch(u){return Promise.reject(u)}},e.doPage=function(t){var r=t.data,i=t.transition,s=t.page,o=t.wrapper;try{var a=function(h){l.C=!1},l=this,u=i||{},c=u.sync===!0||!1;l.C=!0;var f=Kn(function(){function h(){return Promise.resolve(l.L("before",r,u)).then(function(){function g(y){return Promise.resolve(l.remove(r)).then(function(){return Promise.resolve(l.L("after",r,u)).then(function(){})})}var p=function(){if(c)return Kn(function(){return Promise.resolve(l.add(r,o)).then(function(){return Promise.resolve(l.L("beforeLeave",r,u)).then(function(){return Promise.resolve(l.L("beforeEnter",r,u)).then(function(){return Promise.resolve(Promise.all([l.leave(r,u),l.enter(r,u)])).then(function(){return Promise.resolve(l.L("afterLeave",r,u)).then(function(){return Promise.resolve(l.L("afterEnter",r,u)).then(function(){})})})})})})},function(m){if(l.H(m))throw new ul(m,"Transition error [sync]")});var y=function(m){return Kn(function(){var _=function(){if(b!==!1)return Promise.resolve(l.add(r,o)).then(function(){return Promise.resolve(l.L("beforeEnter",r,u)).then(function(){return Promise.resolve(l.enter(r,u,b)).then(function(){return Promise.resolve(l.L("afterEnter",r,u)).then(function(){})})})})}();if(_&&_.then)return _.then(function(){})},function(_){if(l.H(_))throw new ul(_,"Transition error [before/after/enter]")})},b=!1,v=Kn(function(){return Promise.resolve(l.L("beforeLeave",r,u)).then(function(){return Promise.resolve(Promise.all([l.leave(r,u),so(s,r)]).then(function(m){return m[0]})).then(function(m){return b=m,Promise.resolve(l.L("afterLeave",r,u)).then(function(){})})})},function(m){if(l.H(m))throw new ul(m,"Transition error [before/after/leave]")});return v&&v.then?v.then(y):y()}();return p&&p.then?p.then(g):g()})}var d=function(){if(c)return Promise.resolve(so(s,r)).then(function(){})}();return d&&d.then?d.then(h):h()},function(h){throw l.C=!1,h.name&&h.name==="BarbaError"?(l.logger.debug(h.label),l.logger.error(h.error),h):(l.logger.debug("Transition error [page]"),l.logger.error(h),h)});return Promise.resolve(f&&f.then?f.then(a):a())}catch(h){return Promise.reject(h)}},e.once=function(t,r){try{return Promise.resolve(Xr.do("once",t,r)).then(function(){return r.once?tn(r.once,r)(t):Promise.resolve()})}catch(i){return Promise.reject(i)}},e.leave=function(t,r){try{return Promise.resolve(Xr.do("leave",t,r)).then(function(){return r.leave?tn(r.leave,r)(t):Promise.resolve()})}catch(i){return Promise.reject(i)}},e.enter=function(t,r,i){try{return Promise.resolve(Xr.do("enter",t,r)).then(function(){return r.enter?tn(r.enter,r)(t,i):Promise.resolve()})}catch(s){return Promise.reject(s)}},e.add=function(t,r){try{return wi.addContainer(t.next.container,r),Xr.do("nextAdded",t),Promise.resolve()}catch(i){return Promise.reject(i)}},e.remove=function(t){try{return wi.removeContainer(t.current.container),Xr.do("currentRemoved",t),Promise.resolve()}catch(r){return Promise.reject(r)}},e.H=function(t){return t.message?!/Timeout error|Fetch error/.test(t.message):!t.status},e.L=function(t,r,i){try{return Promise.resolve(Xr.do(t,r,i)).then(function(){return i[t]?tn(i[t],i)(r):Promise.resolve()})}catch(s){return Promise.reject(s)}},nl(n,[{key:"isRunning",get:function(){return this.C},set:function(t){this.C=t}},{key:"hasOnce",get:function(){return this.store.once.length>0}},{key:"hasSelf",get:function(){return this.store.all.some(function(t){return t.name==="self"})}},{key:"shouldWait",get:function(){return this.store.all.some(function(t){return t.to&&!t.to.route||t.sync})}}]),n}(),qg=function(){function n(e){var t=this;this.names=["beforeLeave","afterLeave","beforeEnter","afterEnter"],this.byNamespace=new Map,e.length!==0&&(e.forEach(function(r){t.byNamespace.set(r.namespace,r)}),this.names.forEach(function(r){Xr[r](t._(r))}))}return n.prototype._=function(e){var t=this;return function(r){var i=e.match(/enter/i)?r.next:r.current,s=t.byNamespace.get(i.namespace);return s&&s[e]?tn(s[e],s)(r):Promise.resolve()}},n}();Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(n){var e=this;do{if(e.matches(n))return e;e=e.parentElement||e.parentNode}while(e!==null&&e.nodeType===1);return null});var Hg={container:null,html:"",namespace:"",url:{hash:"",href:"",path:"",port:null,query:{}}},rn=new(function(){function n(){this.version="2.10.3",this.schemaPage=Hg,this.Logger=yi,this.logger=new yi("@barba/core"),this.plugins=[],this.timeout=void 0,this.cacheIgnore=void 0,this.cacheFirstPage=void 0,this.prefetchIgnore=void 0,this.preventRunning=void 0,this.hooks=Xr,this.cache=void 0,this.headers=void 0,this.prevent=void 0,this.transitions=void 0,this.views=void 0,this.dom=wi,this.helpers=Sg,this.history=cf,this.request=Eg,this.url=Pg,this.D=void 0,this.B=void 0,this.q=void 0,this.F=void 0}var e=n.prototype;return e.use=function(t,r){var i=this.plugins;i.indexOf(t)>-1?this.logger.warn("Plugin ["+t.name+"] already installed."):typeof t.install=="function"?(t.install(this,r),i.push(t)):this.logger.warn("Plugin ["+t.name+'] has no "install" method.')},e.init=function(t){var r=t===void 0?{}:t,i=r.transitions,s=i===void 0?[]:i,o=r.views,a=o===void 0?[]:o,l=r.schema,u=l===void 0?dr:l,c=r.requestError,f=r.timeout,h=f===void 0?2e3:f,d=r.cacheIgnore,g=d!==void 0&&d,p=r.cacheFirstPage,y=p!==void 0&&p,b=r.prefetchIgnore,v=b!==void 0&&b,m=r.preventRunning,_=m!==void 0&&m,w=r.prevent,T=w===void 0?null:w,S=r.debug,M=r.logLevel;if(yi.setLevel((S!==void 0&&S)===!0?"debug":M===void 0?"off":M),this.logger.info(this.version),Object.keys(u).forEach(function(k){dr[k]&&(dr[k]=u[k])}),this.B=c,this.timeout=h,this.cacheIgnore=g,this.cacheFirstPage=y,this.prefetchIgnore=v,this.preventRunning=_,this.q=this.dom.getWrapper(),!this.q)throw new Error("[@barba/core] No Barba wrapper found");this.I();var E=this.data.current;if(!E.container)throw new Error("[@barba/core] No Barba container found");if(this.cache=new Mg(g),this.headers=new kg,this.prevent=new Ng(v),this.transitions=new Gg(s),this.views=new qg(a),T!==null){if(typeof T!="function")throw new Error("[@barba/core] Prevent should be a function");this.prevent.add("preventCustom",T)}this.history.init(E.url.href,E.namespace),y&&this.cache.set(E.url.href,Promise.resolve({html:E.html,url:E.url}),"init","fulfilled"),this.U=this.U.bind(this),this.$=this.$.bind(this),this.X=this.X.bind(this),this.G(),this.plugins.forEach(function(k){return k.init()});var x=this.data;x.trigger="barba",x.next=x.current,x.current=fr({},this.schemaPage),this.hooks.do("ready",x),this.once(x),this.I()},e.destroy=function(){this.I(),this.J(),this.history.clear(),this.hooks.clear(),this.plugins=[]},e.force=function(t){window.location.assign(t)},e.go=function(t,r,i){var s;if(r===void 0&&(r="barba"),this.F=null,this.transitions.isRunning)this.force(t);else if(!(s=r==="popstate"?this.history.current&&this.url.getPath(this.history.current.url)===this.url.getPath(t)&&this.url.getQuery(this.history.current.url,!0)===this.url.getQuery(t,!0):this.prevent.run("sameUrl",null,null,t))||this.transitions.hasSelf)return r=this.history.change(this.cache.has(t)?this.cache.get(t).target:t,r,i),i&&(i.stopPropagation(),i.preventDefault()),this.page(t,r,i??void 0,s)},e.once=function(t){try{var r=this;return Promise.resolve(r.hooks.do("beforeEnter",t)).then(function(){function i(){return Promise.resolve(r.hooks.do("afterEnter",t)).then(function(){})}var s=function(){if(r.transitions.hasOnce){var o=r.transitions.get(t,{once:!0});return Promise.resolve(r.transitions.doOnce({transition:o,data:t})).then(function(){})}}();return s&&s.then?s.then(i):i()})}catch(i){return Promise.reject(i)}},e.page=function(t,r,i,s){try{var o,a=function(){var f=l.data;return Promise.resolve(l.hooks.do("page",f)).then(function(){var h=function(d,g){try{var p=(y=l.transitions.get(f,{once:!1,self:s}),Promise.resolve(l.transitions.doPage({data:f,page:o,transition:y,wrapper:l.q})).then(function(){l.I()}))}catch{return g()}var y;return p&&p.then?p.then(void 0,g):p}(0,function(){yi.getLevel()===0&&l.force(f.next.url.href)});if(h&&h.then)return h.then(function(){})})},l=this;if(l.data.next.url=fr({href:t},l.url.parse(t)),l.data.trigger=r,l.data.event=i,l.cache.has(t))o=l.cache.update(t,{action:"click"}).request;else{var u=l.request(t,l.timeout,l.onRequestError.bind(l,r),l.cache,l.headers);u.then(function(f){f.url.href!==t&&l.history.add(f.url.href,r,"replace")}),o=l.cache.set(t,u,"click","pending").request}var c=function(){if(l.transitions.shouldWait)return Promise.resolve(so(o,l.data)).then(function(){})}();return Promise.resolve(c&&c.then?c.then(a):a())}catch(f){return Promise.reject(f)}},e.onRequestError=function(t){this.transitions.isRunning=!1;var r=[].slice.call(arguments,1),i=r[0],s=r[1],o=this.cache.getAction(i);return this.cache.delete(i),this.B&&this.B(t,o,i,s)===!1||o==="click"&&this.force(i),!1},e.prefetch=function(t){var r=this;t=this.url.getAbsoluteHref(t),this.cache.has(t)||this.cache.set(t,this.request(t,this.timeout,this.onRequestError.bind(this,"barba"),this.cache,this.headers).catch(function(i){r.logger.error(i)}),"prefetch","pending")},e.G=function(){this.prefetchIgnore!==!0&&(document.addEventListener("mouseover",this.U),document.addEventListener("touchstart",this.U)),document.addEventListener("click",this.$),window.addEventListener("popstate",this.X)},e.J=function(){this.prefetchIgnore!==!0&&(document.removeEventListener("mouseover",this.U),document.removeEventListener("touchstart",this.U)),document.removeEventListener("click",this.$),window.removeEventListener("popstate",this.X)},e.U=function(t){var r=this,i=this.W(t);if(i){var s=this.url.getAbsoluteHref(this.dom.getHref(i));this.prevent.checkHref(s)||this.cache.has(s)||this.cache.set(s,this.request(s,this.timeout,this.onRequestError.bind(this,i),this.cache,this.headers).catch(function(o){r.logger.error(o)}),"enter","pending")}},e.$=function(t){var r=this.W(t);if(r){if(this.transitions.isRunning&&this.preventRunning)return t.preventDefault(),void t.stopPropagation();this.F=t,this.go(this.dom.getHref(r),r,t)}},e.X=function(t){this.go(this.url.getHref(),"popstate",t)},e.W=function(t){for(var r=t.target;r&&!this.dom.getHref(r);)r=r.parentNode;if(r&&!this.prevent.checkLink(r,t,this.dom.getHref(r)))return r},e.I=function(){var t=this.url.getHref(),r={container:this.dom.getContainer(),html:this.dom.getHtml(),namespace:this.dom.getNamespace(),url:fr({href:t},this.url.parse(t))};this.D={current:r,event:void 0,next:fr({},this.schemaPage),trigger:void 0},this.hooks.do("reset",this.data)},nl(n,[{key:"data",get:function(){return this.D}},{key:"wrapper",get:function(){return this.q}}]),n}()),Wg=window.requestIdleCallback||function(n){var e=Date.now();return setTimeout(function(){n({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})},1)},Xg=new(function(){function n(){this.name="@barba/prefetch",this.version="2.2.0",this.barba=void 0,this.logger=void 0,this.observer=void 0,this.root=void 0,this.timeout=void 0,this.limit=void 0,this.toPrefetch=new Set}var e=n.prototype;return e.install=function(t,r){var i=r===void 0?{}:r,s=i.root,o=s===void 0?document.body:s,a=i.timeout,l=a===void 0?2e3:a,u=i.limit,c=u===void 0?0:u;this.logger=new t.Logger(this.name),this.logger.info(this.version),this.barba=t,this.root=o,this.timeout=l,this.limit=c},e.init=function(){var t=this;this.barba.prefetchIgnore?this.logger.warn("barba.prefetchIgnore is enabled"):this.barba.cacheIgnore?this.logger.warn("barba.cacheIgnore is enabled"):(this.observer=new IntersectionObserver(function(r){r.forEach(function(i){if(i.isIntersecting){var s=i.target,o=t.barba.url.getAbsoluteHref(t.barba.dom.getHref(s));t.toPrefetch.has(o)&&(t.observer.unobserve(s),t.barba.cache.has(o)?t.barba.cache.update(o,{action:"prefetch"}):t.barba.cache.set(o,t.barba.request(o,t.barba.timeout,t.barba.onRequestError.bind(t.barba,"barba"),t.barba.cache,t.barba.headers).catch(function(a){t.logger.error(a)}),"prefetch","pending"))}})}),this.observe(),this.barba.hooks.after(this.observe,this))},e.observe=function(){var t=this;Wg(function(){var r=Array.from(t.root.querySelectorAll("a"));t.limit>0&&(r=r.slice(0,t.limit)),r.forEach(function(i){var s=i,o=t.barba.dom.getHref(s);t.barba.cache.has(o)||t.barba.prevent.checkHref(o)||t.barba.prevent.checkLink(s,{},o)||(t.observer.observe(i),t.toPrefetch.add(o))})},{timeout:this.timeout})},n}());function Yg(n){var e;try{const i=(e=new DOMParser().parseFromString(n.next.html,"text/html").querySelector("html"))==null?void 0:e.getAttribute("data-wf-page");i&&document.querySelector("html").setAttribute("data-wf-page",i),window.Webflow&&(window.Webflow.destroy(),window.Webflow.ready(),window.Webflow.require("ix2").init())}catch(t){console.error("Error in resetWebflow:",t)}}function gf(n){if(n instanceof NodeList||Array.isArray(n)){n.forEach(r=>gf(r));return}const e=n.getAttribute("opacity-in"),t=e?parseFloat(e):1;se.fromTo(n,{opacity:0},{opacity:1,duration:1,ease:"ease",delay:t})}(function(){function n(){for(var r=arguments.length,i=0;i"u"||!(Symbol.iterator in Object(n)))){var t=[],r=!0,i=!1,s=void 0;try{for(var o=n[Symbol.iterator](),a;!(r=(a=o.next()).done)&&(t.push(a.value),!(e&&t.length===e));r=!0);}catch(l){i=!0,s=l}finally{try{!r&&o.return!=null&&o.return()}finally{if(i)throw s}}return t}}function bf(n,e){if(n){if(typeof n=="string")return cl(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return cl(n,e)}}function cl(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t0&&arguments[0]!==void 0?arguments[0]:{},e=bi(n),t;return e.types!==void 0?t=e.types:e.split!==void 0&&(t=e.split),t!==void 0&&(e.types=(Zn(t)||fl(t)?String(t):"").split(",").map(function(r){return String(r).trim()}).filter(function(r){return/((line)|(word)|(char))/i.test(r)})),(e.absolute||e.position)&&(e.absolute=e.absolute||/absolute/.test(n.position)),e}function dl(n){var e=Zn(n)||fl(n)?String(n):"";return{none:!e,lines:/line/i.test(e),words:/word/i.test(e),chars:/char/i.test(e)}}function ao(n){return n!==null&&typeof n=="object"}function rm(n){return ao(n)&&/^(1|3|11)$/.test(n.nodeType)}function im(n){return typeof n=="number"&&n>-1&&n%1===0}function nm(n){return ao(n)&&im(n.length)}function xi(n){return fl(n)?n:n==null?[]:nm(n)?Array.prototype.slice.call(n):[n]}function xf(n){var e=n;return Zn(n)&&(/^(#[a-z]\w+)$/.test(n.trim())?e=document.getElementById(n.trim().slice(1)):e=document.querySelectorAll(n)),xi(e).reduce(function(t,r){return[].concat(dt(t),dt(xi(r).filter(rm)))},[])}var sm=Object.entries,lo="_splittype",Xt={},om=0;function hr(n,e,t){if(!ao(n))return console.warn("[data.set] owner is not an object"),null;var r=n[lo]||(n[lo]=++om),i=Xt[r]||(Xt[r]={});return t===void 0?e&&Object.getPrototypeOf(e)===Object.prototype&&(Xt[r]=yf(yf({},i),e)):e!==void 0&&(i[e]=t),t}function Ti(n,e){var t=ao(n)?n[lo]:null,r=t&&Xt[t]||{};return r}function Tf(n){var e=n&&n[lo];e&&(delete n[e],delete Xt[e])}function am(){Object.keys(Xt).forEach(function(n){delete Xt[n]})}function lm(){sm(Xt).forEach(function(n){var e=wf(n,2),t=e[0],r=e[1],i=r.isRoot,s=r.isSplit;(!i||!s)&&(Xt[t]=null,delete Xt[t])})}function um(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:" ",t=n?String(n):"";return t.trim().replace(/\s+/g," ").split(e)}var hl="\\ud800-\\udfff",Sf="\\u0300-\\u036f\\ufe20-\\ufe23",Pf="\\u20d0-\\u20f0",Ef="\\ufe0e\\ufe0f",cm="[".concat(hl,"]"),pl="[".concat(Sf).concat(Pf,"]"),gl="\\ud83c[\\udffb-\\udfff]",fm="(?:".concat(pl,"|").concat(gl,")"),Cf="[^".concat(hl,"]"),Mf="(?:\\ud83c[\\udde6-\\uddff]){2}",kf="[\\ud800-\\udbff][\\udc00-\\udfff]",Of="\\u200d",Af="".concat(fm,"?"),Lf="[".concat(Ef,"]?"),dm="(?:"+Of+"(?:"+[Cf,Mf,kf].join("|")+")"+Lf+Af+")*",hm=Lf+Af+dm,pm="(?:".concat(["".concat(Cf).concat(pl,"?"),pl,Mf,kf,cm].join("|"),` )`),gm=RegExp("".concat(gl,"(?=").concat(gl,")|").concat(pm).concat(hm),"g"),mm=[Of,hl,Sf,Pf,Ef],vm=RegExp("[".concat(mm.join(""),"]"));function _m(n){return n.split("")}function If(n){return vm.test(n)}function ym(n){return n.match(gm)||[]}function wm(n){return If(n)?ym(n):_m(n)}function bm(n){return n==null?"":String(n)}function xm(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return n=bm(n),n&&Zn(n)&&!e&&If(n)?wm(n):n.split(e)}function ml(n,e){var t=document.createElement(n);return e&&Object.keys(e).forEach(function(r){var i=e[r],s=Zn(i)?i.trim():i;s===null||s===""||(r==="children"?t.append.apply(t,dt(xi(s))):t.setAttribute(r,s))}),t}var vl={splitClass:"",lineClass:"line",wordClass:"word",charClass:"char",types:["lines","words","chars"],absolute:!1,tagName:"div"};function Tm(n,e){e=bi(vl,e);var t=dl(e.types),r=e.tagName,i=n.nodeValue,s=document.createDocumentFragment(),o=[],a=[];return/^\s/.test(i)&&s.append(" "),o=um(i).reduce(function(l,u,c,f){var h,d;return t.chars&&(d=xm(u).map(function(g){var p=ml(r,{class:"".concat(e.splitClass," ").concat(e.charClass),style:"display: inline-block;",children:g});return hr(p,"isChar",!0),a=[].concat(dt(a),[p]),p})),t.words||t.lines?(h=ml(r,{class:"".concat(e.wordClass," ").concat(e.splitClass),style:"display: inline-block; ".concat(t.words&&e.absolute?"position: relative;":""),children:t.chars?d:u}),hr(h,{isWord:!0,isWordStart:!0,isWordEnd:!0}),s.appendChild(h)):d.forEach(function(g){s.appendChild(g)}),c=m)&&(l=E,o.push(a=[])),a.push(_)),e.absolute&&hr(_,{top:E,left:x,width:S,height:M}))}),d&&d.removeChild(n),r.lines&&(h=o.map(function(_){var w=ml(i,{class:"".concat(e.splitClass," ").concat(e.lineClass),style:"display: block; text-align: ".concat(b,"; width: 100%;")});hr(w,"isLine",!0);var T={height:0,top:1e4};return p.appendChild(w),_.forEach(function(S,M,E){var x=Ti(S),k=x.isWordEnd,C=x.top,A=x.height,L=E[M+1];T.height=Math.max(T.height,A),T.top=Math.min(T.top,C),w.appendChild(S),k&&Ti(L).isWordStart&&w.append(" ")}),e.absolute&&hr(w,{height:T.height,top:T.top}),w}),r.words||Rf(p),n.replaceChildren(p)),e.absolute&&(n.style.width="".concat(n.style.width||c,"px"),n.style.height="".concat(u,"px"),xi(s).forEach(function(_){var w=Ti(_),T=w.isLine,S=w.top,M=w.left,E=w.width,x=w.height,k=Ti(_.parentElement),C=!T&&k.isLine;_.style.top="".concat(C?S-k.top:S,"px"),_.style.left=T?"".concat(f.left,"px"):"".concat(M-(C?f.left:0),"px"),_.style.height="".concat(x,"px"),_.style.width=T?"".concat(f.width,"px"):"".concat(E,"px"),_.style.position="absolute"})),d&&(g?d.insertBefore(n,g):d.appendChild(n)),h}var nn=bi(vl,{}),Cm=function(){vf(n,null,[{key:"clearData",value:function(){am()}},{key:"setDefaults",value:function(t){return nn=bi(nn,oo(t)),vl}},{key:"revert",value:function(t){xf(t).forEach(function(r){var i=Ti(r),s=i.isSplit,o=i.html,a=i.cssWidth,l=i.cssHeight;s&&(r.innerHTML=o,r.style.width=a||"",r.style.height=l||"",Tf(r))})}},{key:"create",value:function(t,r){return new n(t,r)}},{key:"data",get:function(){return Xt}},{key:"defaults",get:function(){return nn},set:function(t){nn=bi(nn,oo(t))}}]);function n(e,t){jg(this,n),this.isSplit=!1,this.settings=bi(nn,oo(t)),this.elements=xf(e),this.split()}return vf(n,[{key:"split",value:function(t){var r=this;this.revert(),this.elements.forEach(function(o){hr(o,"html",o.innerHTML)}),this.lines=[],this.words=[],this.chars=[];var i=[window.pageXOffset,window.pageYOffset];t!==void 0&&(this.settings=bi(this.settings,oo(t)));var s=dl(this.settings.types);s.none||(this.elements.forEach(function(o){hr(o,"isRoot",!0);var a=Df(o,r.settings),l=a.words,u=a.chars;r.words=[].concat(dt(r.words),dt(l)),r.chars=[].concat(dt(r.chars),dt(u))}),this.elements.forEach(function(o){if(s.lines||r.settings.absolute){var a=Em(o,r.settings,i);r.lines=[].concat(dt(r.lines),dt(a))}}),this.isSplit=!0,window.scrollTo(i[0],i[1]),lm())}},{key:"revert",value:function(){this.isSplit&&(this.lines=null,this.words=null,this.chars=null,this.isSplit=!1),n.revert(this.elements)}}]),n}();const _l=[];function yl(n,e="lines, words"){if(n.closest("[no-animation]"))return;const t=new Cm(n,{types:e});return _l.push(t),t}function zf(){_l.forEach(n=>{n&&n.revert&&n.revert()}),_l.length=0}function Mm(n,e=!1){if(n.closest("[no-animation]"))return;yl(n,"lines, words"),se.utils.toArray(n.querySelectorAll(".line")).forEach((r,i)=>{const s=r.querySelectorAll(".word");se.from(s,{y:"100%",opacity:0,duration:1,ease:"power4.out",delay:i*.075,...e?{}:{scrollTrigger:{trigger:n,start:"bottom bottom",toggleActions:"play none none none"}}})})}function Ff(n,e=!1){if(n.closest("[no-animation]"))return;yl(n,"lines");const t=se.utils.toArray(n.querySelectorAll(".line"));se.from(t,{opacity:0,duration:1,stagger:.05,...e?{}:{scrollTrigger:{trigger:n,start:"bottom bottom",toggleActions:"play none none none"}}})}function km(n){if(n.closest("[no-animation]"))return;yl(n,"chars");const e=se.utils.toArray(n.querySelectorAll(".char"));se.from(e,{y:"100%",duration:1,ease:"power4.out",stagger:.05,scrollTrigger:{trigger:n,start:"top 70%",toggleActions:"play none none none"}})}function Bf(){function n(t){se.set(t,{opacity:1})}if($(window).width()<=991)return;[...Array.from(document.querySelectorAll("[class*='c-title']")).map(t=>{const r=t.closest(".c-section")===document.querySelector(".c-section");return{element:t,animation:Mm,immediate:r}}),...Array.from(document.querySelectorAll("[class*='c-text']")).map(t=>{const r=t.closest(".c-section")===document.querySelector(".c-section");return{element:t,animation:Ff,immediate:r}}),{element:document.querySelector(".c-text-2 p"),animation:Ff,immediate:!1},{element:document.querySelector(".footer-display"),animation:km},...Array.from(document.querySelectorAll("[opacity-in]")).map(t=>({element:t,animation:gf}))].forEach(({element:t,animation:r,immediate:i})=>{t&&(n(t),r(t,i))})}function Om(){if(!document.querySelector(".msaip_new")||($(".msaip_item").click(function(){$(this).parent().toggleClass("open")}),$(window).width()<=991))return;const n=1e4;let e=0,t=null,r=!1,i=!1,s=!1;function o(){return r||i||s}function a(h){document.querySelectorAll(".msaip_tab.w--current .msaip_timer-line").forEach(g=>{g.style.width=h*100+"%"})}function l(){e=0,t=null,a(0)}function u(){const h=document.querySelectorAll(".msaip_tab"),d=document.querySelector(".msaip_tab.w--current");if(!d||h.length===0)return;const g=Array.from(h),y=(g.indexOf(d)+1)%g.length,b=g[y];b&&b.click(),l()}function c(h){if(!o()){const d=h-t;e+=d;const g=Math.min(e/n,1);a(g),e>=n&&u()}t=h,requestAnimationFrame(c)}const f=document.querySelector(".msaip_new");f&&(f.addEventListener("mouseenter",()=>{r=!0}),f.addEventListener("mouseleave",()=>{r=!1})),document.addEventListener("visibilitychange",()=>{i=document.hidden}),f&&new IntersectionObserver(d=>{d.forEach(g=>{s=g.intersectionRatio<.1})},{threshold:.1}).observe(f),document.querySelectorAll(".msaip_tab").forEach(h=>{h.addEventListener("click",()=>{l()})}),requestAnimationFrame(c)}se.registerPlugin(q);var $f=!1;function Am(){se.delayedCall(.5,()=>{q.refresh()})}vg($f);function Nf(){wh(),bh(),$f=!1,Om(),Bf(),_g(),xh(),eg(),tg(),jp(),Jp()}function Lm(){q.getAll().forEach(n=>n.kill()),zf(),Bf(),q.refresh()}window.addEventListener("resize",Pc(()=>{Lm()},250));function Im(n){const e=se.timeline();return e.fromTo(n.current.container,{filter:"brightness(1)"},{filter:"brightness(0.5)",ease:"power2.inOut",duration:1}),e.fromTo(n.current.container.querySelector(".main"),{y:0},{y:-600,ease:"power2.in",duration:1},0),e.fromTo(n.next.container,{y:"100vh"},{y:0,ease:"power2.inOut",duration:1},"-=0.75"),e}function Dm(){rn.hooks.enter(n=>{se.set(n.next.container,{position:"fixed",top:0,left:0,width:"100%"})}),rn.hooks.beforeEnter(({next:n})=>{n.namespace!=="home"&&(document.querySelector(".page").className="page",document.querySelector(".nav").className="nav",setTimeout(function(){$(".nav").css("position","fixed")},1e3))}),rn.hooks.after(n=>{se.set(n.next.container,{position:"relative",clearProps:"transform"}),window.scrollTo(0,0),Yg(n),Am(),Nf()}),rn.hooks.leave(()=>{q.getAll().forEach(n=>n.kill()),zf()}),rn.init({preventRunning:!0,transitions:[{name:"main-transition",sync:!0,enter:Im}],views:[{namespace:"home",beforeEnter(){document.querySelector(".nav").className="nav cc-padding"}},{namespace:"careers",beforeEnter(){document.querySelector(".nav").className="nav cc-white"}}]})}window.innerWidth>991&&(rn.use(Xg),Dm()),Nf()});