PageSourceSearch

https://cdn-frontend-r2.syarah.com/prod/static/js/4902.b6ee156c.chunk.js

js syarah.com collected 2026-10-01 12:34:57 UTC 70,303 bytes, 3 lines download raw bytes

1"use strict";(()=>{var Ae=Object.defineProperty,Se=Object.defineProperties;var Ee=Object.getOwnPropertyDescriptors;var te=Object.getOwnPropertySymbols;var De=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable;var xe=(X,P,e)=>P in X?Ae(X,P,{enumerable:!0,configurable:!0,writable:!0,value:e}):X[P]=e,rt=(X,P)=>{for(var e in P||(P={}))De.call(P,e)&&xe(X,e,P[e]);if(te)for(var e of te(P))Pe.call(P,e)&&xe(X,e,P[e]);return X},pt=(X,P)=>Se(X,Ee(P));var jt=(X,P)=>{var e={};for(var c in X)De.call(X,c)&&P.indexOf(c)<0&&(e[c]=X[c]);if(X!=null&&te)for(var c of te(X))P.indexOf(c)<0&&Pe.call(X,c)&&(e[c]=X[c]);return e};(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4902],{35997:((X,P,e)=>{e.d(P,{m:()=>f});var c=e(8104),x=e(77331),A=e(41533),E=e(79890),L=e(29746),C=e(23558),O=e(27670),U=e(69125),$=e(12248),R=e(33075);const V=([m,a,T,g])=>`cubic-bezier(${m}, ${a}, ${T}, ${g})`,K={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:V([0,.65,.55,1]),circOut:V([.55,0,1,.45]),backIn:V([.31,.01,.66,-.59]),backOut:V([.33,1.53,.69,.99])};function I(m,a){if(m)return typeof m=="function"?(0,$.n)()?(0,R.K)(m,a):"ease-out":(0,U.D)(m)?V(m):Array.isArray(m)?m.map(T=>I(T,a)||K.easeOut):K[m]}function y(m,a,T,{delay:g=0,duration:b=300,repeat:F=0,repeatType:Z="loop",ease:z="easeOut",times:J}={},at=void 0){const st={[a]:T};J&&(st.offset=J);const nt=I(z,b);Array.isArray(nt)&&(st.easing=nt);const ht={delay:g,duration:b,easing:Array.isArray(nt)?"linear":nt,fill:"both",iterations:F+1,direction:Z==="reverse"?"alternate":"normal"};return at&&(ht.pseudoElement=at),m.animate(st,ht)}var r=e(63652);function o(T){var g=T,{type:m}=g,a=jt(g,["type"]);var b,F;return(0,r.W)(m)&&(0,$.n)()?m.applyToOptions(a):((b=a.duration)!=null||(a.duration=300),(F=a.ease)!=null||(a.ease="easeOut"),a)}class f extends O.q{constructor(a){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!a)return;const{element:T,name:g,keyframes:b,pseudoElement:F,allowFlatten:Z=!1,finalKeyframe:z,onComplete:J}=a;this.isPseudoElement=!!F,this.allowFlatten=Z,this.options=a,(0,c.V)(typeof a.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const at=o(a);this.animation=y(T,g,b,at,F),at.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!F){const st=(0,C.X)(b,this.options,z,this.speed);this.updateMotionValue&&this.updateMotionValue(st),(0,E.e)(T,g,st),this.animation.cancel()}J==null||J(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var a,T;(T=(a=this.animation).finish)==null||T.call(a)}cancel(){try{this.animation.cancel()}catch(a){}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:a}=this;a==="idle"||a==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var T,g,b;const a=(T=this.options)==null?void 0:T.element;!this.isPseudoElement&&(a!=null&&a.isConnected)&&((b=(g=this.animation).commitStyles)==null||b.call(g))}get duration(){var T,g;const a=((g=(T=this.animation.effect)==null?void 0:T.getComputedTiming)==null?void 0:g.call(T).duration)||0;return(0,x.X)(Number(a))}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+(0,x.X)(a)}get time(){return(0,x.X)(Number(this.animation.currentTime)||0)}set time(a){const T=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,x.f)(a),T&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(a){a<0&&(this.finishedTime=null),this.animation.playbackRate=a}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){var a;return(a=this.manualStartTime)!=null?a:Number(this.animation.startTime)}set startTime(a){this.manualStartTime=this.animation.startTime=a}attachTimeline({timeline:a,rangeStart:T,rangeEnd:g,observe:b}){var F;return this.allowFlatten&&((F=this.animation.effect)==null||F.updateTiming({easing:"linear"})),this.animation.onfinish=null,a&&(0,L.J)()?(this.animation.timeline=a,T&&(this.animation.rangeStart=T),g&&(this.animation.rangeEnd=g),A.l):b(this)}}}),63652:((X,P,e)=>{e.d(P,{W:()=>c});function c(x){return typeof x=="function"&&"applyToOptions"in x}}),68543:((X,P,e)=>{e.d(P,{f:()=>qt});var c=e(77331),x=e(98731),A=e(41533),E=e(91833),L=e(80337),C=e(17046),O=e(97755),U=e(1207);const $=h=>{const n=({timestamp:v})=>h(v);return{start:(v=!0)=>U.Gt.update(n,v),stop:()=>(0,U.WG)(n),now:()=>U.uv.isProcessing?U.uv.timestamp:E.k.now()}};var R=e(8104),V=e(33075);const K=2e4;function I(h){let n=0;const v=50;let j=h.next(n);for(;!j.done&&n<K;)n+=v,j=h.next(n);return n>=K?1/0:n}function y(h,n=100,v){const j=v(pt(rt({},h),{keyframes:[0,n]})),_=Math.min(I(j),K);return{type:"keyframes",ease:Q=>j.next(_*Q).value/n,duration:(0,c.X)(_)}}const r={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function o(h,n){return h*Math.sqrt(1-n*n)}const f=12;function m(h,n,v){let j=v;for(let _=1;_<f;_++)j=j-h(j)/n(j);return j}const a=.001;function T({duration:h=r.duration,bounce:n=r.bounce,velocity:v=r.velocity,mass:j=r.mass}){let _,Q;(0,R.$)(h<=(0,c.f)(r.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let G=1-n;G=(0,C.q)(r.minDamping,r.maxDamping,G),h=(0,C.q)(r.minDuration,r.maxDuration,(0,c.X)(h)),G<1?(_=H=>{const N=H*G,tt=N*h,it=N-v,t=o(H,G),i=Math.exp(-tt);return a-it/t*i},Q=H=>{const tt=H*G*h,it=tt*v+v,t=Math.pow(G,2)*Math.pow(H,2)*h,i=Math.exp(-tt),D=o(Math.pow(H,2),G);return(-_(H)+a>0?-1:1)*((it-t)*i)/D}):(_=H=>{const N=Math.exp(-H*h),tt=(H-v)*h+1;return-a+N*tt},Q=H=>{const N=Math.exp(-H*h),tt=(v-H)*(h*h);return N*tt});const W=5/h,q=m(_,Q,W);if(h=(0,c.f)(h),isNaN(q))return{stiffness:r.stiffness,damping:r.damping,duration:h};{const H=Math.pow(q,2)*j;return{stiffness:H,damping:G*2*Math.sqrt(j*H),duration:h}}}const g=["duration","bounce"],b=["stiffness","damping","mass"];function F(h,n){return n.some(v=>h[v]!==void 0)}function Z(h){let n=rt({velocity:r.velocity,stiffness:r.stiffness,damping:r.damping,mass:r.mass,isResolvedFromDuration:!1},h);if(!F(h,b)&&F(h,g))if(n.velocity=0,h.visualDuration){const v=h.visualDuration,j=2*Math.PI/(v*1.2),_=j*j,Q=2*(0,C.q)(.05,1,1-(h.bounce||0))*Math.sqrt(_);n=pt(rt({},n),{mass:r.mass,stiffness:_,damping:Q})}else{const v=T(pt(rt({},h),{velocity:0}));n=pt(rt(rt({},n),v),{mass:r.mass}),n.isResolvedFromDuration=!0}return n}function z(h=r.visualDuration,n=r.bounce){const v=typeof h!="object"?{visualDuration:h,keyframes:[0,1],bounce:n}:h;let{restSpeed:j,restDelta:_}=v;
1const Q=v.keyframes[0],G=v.keyframes[v.keyframes.length-1],W={done:!1,value:Q},{stiffness:q,damping:H,mass:N,duration:tt,velocity:it,isResolvedFromDuration:t}=Z(pt(rt({},v),{velocity:-(0,c.X)(v.velocity||0)})),i=it||0,D=H/(2*Math.sqrt(q*N)),u=G-Q,w=(0,c.X)(Math.sqrt(q/N)),Y=Math.abs(u)<5;j||(j=Y?r.restSpeed.granular:r.restSpeed.default),_||(_=Y?r.restDelta.granular:r.restDelta.default);let s,l,d,S,B,p;if(D<1)d=o(w,D),S=(i+D*w*u)/d,s=M=>{const et=Math.exp(-D*w*M);return G-et*(S*Math.sin(d*M)+u*Math.cos(d*M))},B=D*w*S+u*d,p=D*w*u-S*d,l=M=>Math.exp(-D*w*M)*(B*Math.sin(d*M)+p*Math.cos(d*M));else if(D===1){s=et=>G-Math.exp(-w*et)*(u+(i+w*u)*et);const M=i+w*u;l=et=>Math.exp(-w*et)*(w*M*et-i)}else{const M=w*Math.sqrt(D*D-1);s=vt=>{const yt=Math.exp(-D*w*vt),gt=Math.min(M*vt,300);return G-yt*((i+D*w*u)*Math.sinh(gt)+M*u*Math.cosh(gt))/M};const et=(i+D*w*u)/M,dt=D*w*et-u*M,mt=D*w*u-et*M;l=vt=>{const yt=Math.exp(-D*w*vt),gt=Math.min(M*vt,300);return yt*(dt*Math.sinh(gt)+mt*Math.cosh(gt))}}const k={calculatedDuration:t&&tt||null,velocity:M=>(0,c.f)(l(M)),next:M=>{if(!t&&D<1){const dt=Math.exp(-D*w*M),mt=Math.sin(d*M),vt=Math.cos(d*M),yt=G-dt*(S*mt+u*vt),gt=(0,c.f)(dt*(B*mt+p*vt));return W.done=Math.abs(gt)<=j&&Math.abs(G-yt)<=_,W.value=W.done?G:yt,W}const et=s(M);if(t)W.done=M>=tt;else{const dt=(0,c.f)(l(M));W.done=Math.abs(dt)<=j&&Math.abs(G-et)<=_}return W.value=W.done?G:et,W},toString:()=>{const M=Math.min(I(k),K),et=(0,V.K)(dt=>k.next(M*dt).value,M,30);return M+"ms "+et},toTransition:()=>{}};return k}z.applyToOptions=h=>{const n=y(h,100,z);return h.ease=n.ease,h.duration=(0,c.f)(n.duration),h.type="keyframes",h};var J=e(16947);const at=5;function st(h,n,v){const j=Math.max(n-at,0);return(0,J.f)(v-h(j),n-j)}function nt({keyframes:h,velocity:n=0,power:v=.8,timeConstant:j=325,bounceDamping:_=10,bounceStiffness:Q=500,modifyTarget:G,min:W,max:q,restDelta:H=.5,restSpeed:N}){const tt=h[0],it={done:!1,value:tt},t=p=>W!==void 0&&p<W||q!==void 0&&p>q,i=p=>W===void 0?q:q===void 0||Math.abs(W-p)<Math.abs(q-p)?W:q;let D=v*n;const u=tt+D,w=G===void 0?u:G(u);w!==u&&(D=w-tt);const Y=p=>-D*Math.exp(-p/j),s=p=>w+Y(p),l=p=>{const k=Y(p),M=s(p);it.done=Math.abs(k)<=H,it.value=it.done?w:M};let d,S;const B=p=>{t(it.value)&&(d=p,S=z({keyframes:[it.value,i(it.value)],velocity:st(s,p,it.value),damping:_,stiffness:Q,restDelta:H,restSpeed:N}))};return B(0),{calculatedDuration:null,next:p=>{let k=!1;return!S&&d===void 0&&(k=!0,l(p),B(p)),d!==void 0&&p>=d?S.next(p-d):(!k&&l(p),it)}}}var ht=e(33583),xt=e(23687),ot=e(5979),Dt=e(55219),ft=e(86896),lt=e(65744);function Mt(h,n){const v=h[h.length-1];for(let j=1;j<=n;j++){const _=(0,ft.q)(0,n,j);h.push((0,lt.k)(v,1,_))}}function kt(h){const n=[0];return Mt(n,h.length-1),n}function Vt(h,n){return h.map(v=>v*n)}function bt(h,n){return h.map(()=>n||ht.am).splice(0,h.length-1)}function Pt({duration:h=300,keyframes:n,times:v,ease:j="easeInOut"}){const _=(0,xt.h)(j)?j.map(ot.K):(0,ot.K)(j),Q={done:!1,value:n[0]},G=Vt(v&&v.length===n.length?v:kt(n),h),W=(0,Dt.G)(G,n,{ease:Array.isArray(_)?_:bt(n,_)});return{calculatedDuration:h,next:q=>(Q.value=W(q),Q.done=q>=h,Q)}}var At=e(23558);const ut={decay:nt,inertia:nt,tween:Pt,keyframes:Pt,spring:z};function It(h){typeof h.type=="string"&&(h.type=ut[h.type])}var Kt=e(27670);const Xt=h=>h/100;class Lt extends Kt.q{constructor(n){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var j,_;const{motionValue:v}=this.options;v&&v.updatedAt!==E.k.now()&&this.tick(E.k.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(_=(j=this.options).onStop)==null||_.call(j))},this.options=n,this.initAnimation(),this.play(),n.autoplay===!1&&this.pause()}initAnimation(){const{options:n}=this;It(n);const{type:v=Pt,repeat:j=0,repeatDelay:_=0,repeatType:Q,velocity:G=0}=n;let{keyframes:W}=n;const q=v||Pt;q!==Pt&&typeof W[0]!="number"&&(this.mixKeyframes=(0,L.F)(Xt,(0,O.j)(W[0],W[1])),W=[0,100]);const H=q(pt(rt({},n),{keyframes:W}));Q==="mirror"&&(this.mirroredGenerator=q(pt(rt({},n),{keyframes:[...W].reverse(),velocity:-G}))),H.calculatedDuration===null&&(H.calculatedDuration=I(H));const{calculatedDuration:N}=H;this.calculatedDuration=N,this.resolvedDuration=N+_,this.totalDuration=this.resolvedDuration*(j+1)-_,this.generator=H}updateTime(n){const v=Math.round(n-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=v}tick(n,v=!1){const{generator:j,totalDuration:_,mixKeyframes:Q,mirroredGenerator:G,resolvedDuration:W,calculatedDuration:q}=this;if(this.startTime===null)return j.next(0);const{delay:H=0,keyframes:N,repeat:tt,repeatType:it,repeatDelay:t,type:i,onUpdate:D,finalKeyframe:u}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-_/this.speed,this.startTime)),v?this.currentTime=n:this.updateTime(n);const w=this.currentTime-H*(this.playbackSpeed>=0?1:-1),Y=this.playbackSpeed>=0?w<0:w>_;this.currentTime=Math.max(w,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=_);let s=this.currentTime,l=j;if(tt){const p=Math.min(this.currentTime,_)/W;let k=Math.floor(p),M=p%1;!M&&p>=1&&(M=1),M===1&&k--,k=Math.min(k,tt+1),k%2&&(it==="reverse"?(M=1-M,t&&(M-=t/W)):it==="mirror"&&(l=G)),s=(0,C.q)(0,1,M)*W}let d;Y?(this.delayState.value=N[0],d=this.delayState):d=l.next(s),Q&&!Y&&(d.value=Q(d.value));let{done:S}=d;!Y&&q!==null&&(S=this.playbackSpeed>=0?this.currentTime>=_:this.currentTime<=0);const B=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return B&&i!==nt&&(d.value=(0,At.X)(N,this.options,u,this.speed)),D&&D(d.value),B&&this.finish(),d}then(n,v){return this.finished.then(n,v)}get duration(){return(0,c.X)(this.calculatedDuration)}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+(0,c.X)(n)}get time(){return(0,c.X)(this.currentTime)}set time(n){n=(0,c.f)(n),this.currentTime=n,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=n,this.tick(n))}getGeneratorVelocity(){const n=this.currentTime;if(n<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(n);const v=this.generator.next(n).value;return st(j=>this.generator.next(j).value,n,v)}get speed(){return this.playbackSpeed}set speed(n){const v=this.playbackSpeed!==n;v&&this.driver&&this.updateTime(E.k.now()),this.playbackSpeed=n,v&&this.driver&&(this.time=(0,c.X)(this.currentTime))}play(){var _,Q;if(this.isStopped)return;const{driver:n=$,startTime:v}=this.options;this.driver||(this.driver=n(G=>this.tick(G))),(Q=(_=this.options).onPlay)==null||Q.call(_);const j=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=j):this.holdTime!==null?this.startTime=j-this.holdTime:this.startTime||(this.startTime=v!=null?v:j),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(E.k.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var n,v;this.notifyFinished(),this.teardown(),this.state="finished",(v=(n=this.options).onComplete)==null||v.call(n)}cancel(){var n,v;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(v=(n=this.options).onCancel)==null||v.call(n)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(n){return this.startTime=0,this.tick(n,!0)}attachTimeline(n){var v;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(v=this.driver)==null||v.stop(),n.observe(this)}}function ee(h){return new Lt(h)}var Ft=e(31530),$t=e(79890),Gt=e(35997),Ct=e(84505),ie=e(71108),se=e(94312);const Ut={anticipate:Ct.b,backInOut:ie.ZZ,circInOut:se.tn};function ne(h){return h in Ut}function ae(h){typeof h.ease=="string"&&ne(h.ease)&&(h.ease=Ut[h.ease])}const Tt=10;class _t extends Gt.m{constructor(n){ae(n),It(n),super(n),n.startTime!==void 0&&n.autoplay!==!1&&(this.startTime=n.startTime),this.options=n}updateMotionValue(n){const it=this.options,{motionValue:v,onUpdate:j,onComplete:_,element:Q}=it,G=jt(it,["motionValue","onUpdate","onComplete","element"]);if(!v)return;if(n!==void 0){v.set(n);return}const W=new Lt(pt(rt({},G),{autoplay:!1})),q=Math.max(Tt,E.k.now()-this.startTime),H=(0,C.q)(0,Tt,q-Tt),N=W.sample(q).value,{name:tt}=this.options;Q&&tt&&(0,$t.e)(Q,tt,N),v.setWithVelocity(W.sample(Math.max(0,q-H)).value,N,H),W.stop()}}var ct=e(63652),St=e(85933);const wt=(h,n)=>n==="zIndex"?!1:!!(typeof h=="number"||Array.isArray(h)||typeof h=="string"&&(St.f.test(h)||h==="0")&&!h.startsWith("url("));function oe(h){const n=h[0];if(h.length===1)return!0;for(let v=0;v<h.length;v++)if(h[v]!==n)return!0}function re(h,n,v,j){const _=h[0];if(_===null)return!1;if(n==="display"||n==="visibility")return!0;const Q=h[h.length-1],G=wt(_,n),W=wt(Q,n);return(0,R.$)(G===W,`You are trying to animate ${n} from "${_}" to "${Q}". "${G?Q:_}" is not an animatable value.`,"value-not-animatable"),!G||!W?!1:oe(h)||(v==="spring"||(0,ct.W)(v))&&j}function Bt(h){h.duration=0,h.type="keyframes"}var Ht=e(54435),zt=e(15392);const le=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function ue(h){for(let n=0;n<h.length;n++)if(typeof h[n]=="string"&&le.test(h[n]))return!0;return!1}const ce=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),he=(0,Ht.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function de(h){var tt;const{motionValue:n,name:v,repeatDelay:j,repeatType:_,damping:Q,type:G,keyframes:W}=h,q=(tt=n==null?void 0:n.owner)==null?void 0:tt.current;if(!(q instanceof HTMLElement)&&!(q instanceof SVGElement))return!1;const{onUpdate:H,transformTemplate:N}=n.owner.getProps();return he()&&v&&(zt.M.has(v)||ce.has(v)&&ue(W))&&(v!=="transform"||!N)&&!H&&!j&&_!=="mirror"&&Q!==0&&G!=="inertia"}const Qt=40;class fe extends Kt.q{constructor(it){var t=it,{autoplay:n=!0,delay:v=0,type:j="keyframes",repeat:_=0,repeatDelay:Q=0,repeatType:G="loop",keyframes:W,name:q,motionValue:H,element:N}
1=t,tt=jt(t,["autoplay","delay","type","repeat","repeatDelay","repeatType","keyframes","name","motionValue","element"]);var u;super(),this.stop=()=>{var w,Y;this._animation&&(this._animation.stop(),(w=this.stopTimeline)==null||w.call(this)),(Y=this.keyframeResolver)==null||Y.cancel()},this.createdAt=E.k.now();const i=rt({autoplay:n,delay:v,type:j,repeat:_,repeatDelay:Q,repeatType:G,name:q,motionValue:H,element:N},tt),D=(N==null?void 0:N.KeyframeResolver)||Ft.h;this.keyframeResolver=new D(W,(w,Y,s)=>this.onKeyframesResolved(w,Y,i,!s),q,H,N),(u=this.keyframeResolver)==null||u.scheduleResolve()}onKeyframesResolved(n,v,j,_){var w,Y;this.keyframeResolver=void 0;const{name:Q,type:G,velocity:W,delay:q,isHandoff:H,onUpdate:N}=j;this.resolvedAt=E.k.now();let tt=!0;re(n,Q,G,W)||(tt=!1,(x.W.instantAnimations||!q)&&(N==null||N((0,At.X)(n,j,v))),n[0]=n[n.length-1],Bt(j),j.repeat=0);const it=_?this.resolvedAt?this.resolvedAt-this.createdAt>Qt?this.resolvedAt:this.createdAt:this.createdAt:void 0,t=pt(rt({startTime:it,finalKeyframe:v},j),{keyframes:n}),i=tt&&!H&&de(t),D=(Y=(w=t.motionValue)==null?void 0:w.owner)==null?void 0:Y.current;let u;if(i)try{u=new _t(pt(rt({},t),{element:D}))}catch(s){u=new Lt(t)}else u=new Lt(t);u.finished.then(()=>{this.notifyFinished()}).catch(A.l),this.pendingTimeline&&(this.stopTimeline=u.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=u}get finished(){return this._animation?this.animation.finished:this._finished}then(n,v){return this.finished.finally(n).then(()=>{})}get animation(){var n;return this._animation||((n=this.keyframeResolver)==null||n.resume(),(0,Ft.q)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(n){this.animation.time=n}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(n){this.animation.speed=n}get startTime(){return this.animation.startTime}attachTimeline(n){return this._animation?this.stopTimeline=this.animation.attachTimeline(n):this.pendingTimeline=n,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var n;this._animation&&this.animation.cancel(),(n=this.keyframeResolver)==null||n.cancel()}}var Yt=e(35835),me=e(92518);const pe={type:"spring",stiffness:500,damping:25,restSpeed:10},Zt=h=>({type:"spring",stiffness:550,damping:h===0?2*Math.sqrt(550):30,restSpeed:10}),ye={type:"keyframes",duration:.8},ge={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ve=(h,{keyframes:n})=>n.length>2?ye:me.f.has(h)?h.startsWith("scale")?Zt(n[1]):pe:ge,Te=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function Jt(h){for(const n in h)if(!Te.has(n))return!0;return!1}const qt=(h,n,v,j={},_,Q)=>G=>{const W=(0,Yt.r)(j,h)||{},q=W.delay||j.delay||0;let{elapsed:H=0}=j;H=H-(0,c.f)(q);const N=pt(rt({keyframes:Array.isArray(v)?v:[null,v],ease:"easeOut",velocity:n.getVelocity()},W),{delay:-H,onUpdate:it=>{n.set(it),W.onUpdate&&W.onUpdate(it)},onComplete:()=>{G(),W.onComplete&&W.onComplete()},name:h,motionValue:n,element:Q?void 0:_});Jt(W)||Object.assign(N,ve(h,N)),N.duration&&(N.duration=(0,c.f)(N.duration)),N.repeatDelay&&(N.repeatDelay=(0,c.f)(N.repeatDelay)),N.from!==void 0&&(N.keyframes[0]=N.from);let tt=!1;if((N.type===!1||N.duration===0&&!N.repeatDelay)&&(Bt(N),N.delay===0&&(tt=!0)),(x.W.instantAnimations||x.W.skipAnimations||_!=null&&_.shouldSkipAnimations||W.skipAnimations)&&(tt=!0,Bt(N),N.delay=0),N.allowFlatten=!W.type&&!W.ease,tt&&!Q&&n.get()!==void 0){const it=(0,At.X)(N.keyframes,W);if(it!==void 0){U.Gt.update(()=>{N.onUpdate(it),N.onComplete()});return}}return W.isSync?new Lt(N):new fe(N)}}),20258:((X,P,e)=>{e.d(P,{_:()=>r});var c=e(11998),x=e(35835),A=e(38711),E=e(26571),L=e(58207),C=e(58222),O=e(43883),U=e(68543),$=e(1207);function R({protectedKeys:o,needsAnimating:f},m){const a=o.hasOwnProperty(m)&&f[m]!==!0;return f[m]=!1,a}function V(o,f,{delay:m=0,transitionOverride:a,type:T}={}){var xt;let ht=f,{transition:g,transitionEnd:b}=ht,F=jt(ht,["transition","transitionEnd"]);const Z=o.getDefaultTransition();g=g?(0,A.K)(g,Z):Z;const z=g==null?void 0:g.reduceMotion,J=g==null?void 0:g.skipAnimations;a&&(g=a);const at=[],st=T&&o.animationState&&o.animationState.getState()[T],nt=g==null?void 0:g.path;nt&&nt.animateVisualElement(o,F,g,m,at);for(const ot in F){const Dt=o.getValue(ot,(xt=o.latestValues[ot])!=null?xt:null),ft=F[ot];if(ft===void 0||st&&R(st,ot))continue;const lt=rt({delay:m},(0,x.r)(g||{},ot));J&&(lt.skipAnimations=!0);const Mt=Dt.get();if(Mt!==void 0&&!Dt.isAnimating()&&!Array.isArray(ft)&&ft===Mt&&!lt.velocity){$.Gt.update(()=>Dt.set(ft));continue}let kt=!1;if(window.MotionHandoffAnimation){const Pt=(0,O.P)(o);if(Pt){const At=window.MotionHandoffAnimation(Pt,ot,$.Gt);At!==null&&(lt.startTime=At,kt=!0)}}(0,C.g)(o,ot);const Vt=z!=null?z:o.shouldReduceMotion;Dt.start((0,U.f)(ot,Dt,ft,Vt&&E.$.has(ot)?{type:!1}:lt,o,kt));const bt=Dt.animation;bt&&at.push(bt)}if(b){const ot=()=>$.Gt.update(()=>{b&&(0,L.U)(o,b)});at.length?Promise.all(at).then(ot):ot()}return at}var K=e(21419);function I(o,f,m={}){var Z;const a=(0,c.K)(o,f,m.type==="exit"?(Z=o.presenceContext)==null?void 0:Z.custom:void 0);let{transition:T=o.getDefaultTransition()||{}}=a||{};m.transitionOverride&&(T=m.transitionOverride);const g=a?()=>Promise.all(V(o,a,m)):()=>Promise.resolve(),b=o.variantChildren&&o.variantChildren.size?(z=0)=>{const{delayChildren:J=0,staggerChildren:at,staggerDirection:st}=T;
1return y(o,f,z,J,at,st,m)}:()=>Promise.resolve(),{when:F}=T;if(F){const[z,J]=F==="beforeChildren"?[g,b]:[b,g];return z().then(()=>J())}else return Promise.all([g(),b(m.delay)])}function y(o,f,m=0,a=0,T=0,g=1,b){const F=[];for(const Z of o.variantChildren)Z.notify("AnimationStart",f),F.push(I(Z,f,pt(rt({},b),{delay:m+(typeof a=="function"?0:a)+(0,K.L)(o.variantChildren,Z,a,T,g)})).then(()=>Z.notify("AnimationComplete",f)));return Promise.all(F)}function r(o,f,m={}){o.notify("AnimationStart",f);let a;if(Array.isArray(f)){const T=f.map(g=>I(o,g,m));a=Promise.all(T)}else if(typeof f=="string")a=I(o,f,m);else{const T=typeof f=="function"?(0,c.K)(o,f,m.custom):f;a=Promise.all(V(o,T,m))}return a.then(()=>{o.notify("AnimationComplete",f)})}}),460:((X,P,e)=>{e.d(P,{K:()=>m});var c=e(26571),x=e(98008),A=e(8104),E=e(9902),L=e(22846);const C=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function O(a){const T=C.exec(a);if(!T)return[,];const[,g,b,F]=T;return[`--${g!=null?g:b}`,F]}const U=4;function $(a,T,g=1){(0,A.V)(g<=U,`Max CSS variable fallback depth detected in property "${a}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[b,F]=O(a);if(!b)return;const Z=window.getComputedStyle(T).getPropertyValue(b);if(Z){const z=Z.trim();return(0,E.i)(z)?parseFloat(z):z}return(0,L.pG)(F)?$(F,T,g+1):F}var R=e(31530),V=e(11602);function K(a){return typeof a=="number"?a===0:a!==null?a==="none"||a==="0"||(0,V.$)(a):!0}var I=e(85933),y=e(72881);const r=new Set(["auto","none","0"]);function o(a,T,g){let b=0,F;for(;b<a.length&&!F;){const Z=a[b];typeof Z=="string"&&!r.has(Z)&&(0,I.V)(Z).values.length&&(F=a[b]),b++}if(F&&g)for(const Z of T)a[Z]=(0,y.J)(g,F)}var f=e(96488);class m extends R.h{constructor(T,g,b,F,Z){super(T,g,b,F,Z,!0)}readKeyframes(){const{unresolvedKeyframes:T,element:g,name:b}=this;if(!g||!g.current)return;super.readKeyframes();for(let nt=0;nt<T.length;nt++){let ht=T[nt];if(typeof ht=="string"&&(ht=ht.trim(),(0,L.pG)(ht))){const xt=$(ht,g.current);xt!==void 0&&(T[nt]=xt),nt===T.length-1&&(this.finalKeyframe=ht)}}if(this.resolveNoneKeyframes(),!c.$.has(b)||T.length!==2)return;const[F,Z]=T,z=(0,x.n)(F),J=(0,x.n)(Z),at=(0,L.rm)(F),st=(0,L.rm)(Z);if(at!==st&&f.Hr[b]){this.needsMeasurement=!0;return}if(z!==J)if((0,f.E4)(z)&&(0,f.E4)(J))for(let nt=0;nt<T.length;nt++){const ht=T[nt];typeof ht=="string"&&(T[nt]=parseFloat(ht))}else f.Hr[b]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:T,name:g}=this,b=[];for(let F=0;F<T.length;F++)(T[F]===null||K(T[F]))&&b.push(F);b.length&&o(T,b,g)}measureInitialState(){const{element:T,unresolvedKeyframes:g,name:b}=this;if(!T||!T.current)return;b==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=f.Hr[b](T.measureViewportBox(),window.getComputedStyle(T.current)),g[0]=this.measuredOrigin;const F=g[g.length-1];F!==void 0&&T.getValue(b,F).jump(F,!1)}measureEndState(){var J;const{element:T,name:g,unresolvedKeyframes:b}=this;if(!T||!T.current)return;const F=T.getValue(g);F&&F.jump(this.measuredOrigin,!1);const Z=b.length-1,z=b[Z];b[Z]=f.Hr[g](T.measureViewportBox(),window.getComputedStyle(T.current)),z!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=z),(J=this.removedTransforms)!=null&&J.length&&this.removedTransforms.forEac
1h(([at,st])=>{T.getValue(at).set(st)}),this.resolveNoneKeyframes()}}}),31530:((X,P,e)=>{e.d(P,{h:()=>V,q:()=>R});function c(K){var I;for(let y=1;y<K.length;y++)(I=K[y])!=null||(K[y]=K[y-1])}var x=e(96488),A=e(1207);const E=new Set;let L=!1,C=!1,O=!1;function U(){if(C){const K=Array.from(E).filter(r=>r.needsMeasurement),I=new Set(K.map(r=>r.element)),y=new Map;I.forEach(r=>{const o=(0,x.W9)(r);o.length&&(y.set(r,o),r.render())}),K.forEach(r=>r.measureInitialState()),I.forEach(r=>{r.render();const o=y.get(r);o&&o.forEach(([f,m])=>{var a;(a=r.getValue(f))==null||a.set(m)})}),K.forEach(r=>r.measureEndState()),K.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}C=!1,L=!1,E.forEach(K=>K.complete(O)),E.clear()}function $(){E.forEach(K=>{K.readKeyframes(),K.needsMeasurement&&(C=!0)})}function R(){O=!0,$(),U(),O=!1}class V{constructor(I,y,r,o,f,m=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...I],this.onComplete=y,this.name=r,this.motionValue=o,this.element=f,this.isAsync=m}scheduleResolve(){this.state="scheduled",this.isAsync?(E.add(this),L||(L=!0,A.Gt.read($),A.Gt.resolveKeyframes(U))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:I,name:y,element:r,motionValue:o}=this;if(I[0]===null){const f=o==null?void 0:o.get(),m=I[I.length-1];if(f!==void 0)I[0]=f;else if(r&&y){const a=r.readValue(y,m);a!=null&&(I[0]=a)}I[0]===void 0&&(I[0]=m),o&&f===void 0&&o.set(I[0])}c(I)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(I=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,I),E.delete(this)}cancel(){this.state==="scheduled"&&(E.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}}),23558:((X,P,e)=>{e.d(P,{X:()=>x});const c=A=>A!==null;function x(A,{repeat:E,repeatType:L="loop"},C,O=1){const U=A.filter(c),R=O<0||E&&L!=="loop"&&E%2===1?0:U.length-1;return!R||C===void 0?U[R]:C}}),96488:((X,P,e)=>{e.d(P,{E4:()=>L,Hr:()=>$,W9:()=>U});var c=e(32794),x=e(92518),A=e(39223),E=e(20538);const L=R=>R===A.ai||R===E.px,C=new Set(["x","y","z"]),O=x.U.filter(R=>!C.has(R));function U(R){const V=[];return O.forEach(K=>{const I=R.getValue(K);I!==void 0&&(V.push([K,I.get()]),I.set(K.startsWith("scale")?1:0))}),V}const $={width:({x:R},{paddingLeft:V="0",paddingRight:K="0",boxSizing:I})=>{const y=R.max-R.min;return I==="border-box"?y:y-parseFloat(V)-parseFloat(K)},height:({y:R},{paddingTop:V="0",paddingBottom:K="0",boxSizing:I})=>{const y=R.max-R.min;return I==="border-box"?y:y-parseFloat(V)-parseFloat(K)},top:(R,{top:V})=>parseFloat(V),left:(R,{left:V})=>parseFloat(V),bottom:({y:R},{top:V})=>parseFloat(V)+(R.max-R.min),right:({x:R},{left:V})=>parseFloat(V)+(R.max-R.min),x:(R,{transform:V})=>(0,c.ry)(V,"x"),y:(R,{transform:V})=>(0,c.ry)(V,"y")};$.translateX=$.x,$.translateY=$.y}),38793:((X,P,e)=>{e.d(P,{n:()=>A});var c=e(51647);const A="data-"+(0,c.I)("framerAppearId")}),43883:((X,P,e)=>{e.d(P,{P:()=>x});var c=e(38793);function x(A){return A.props[c.n]}}),27670:((X,P,e)=>{e.d(P,{q:()=>c});class c{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(A=>{this.resolve=A})}notifyFinished(){this.resolve()}then(A,E){return this.finished.then(A,E)}}}),21419:((X,P,e)=>{e.d(P,{L:()=>c});function c(x,A,E,L=0,C=1){const O=Array.from(x).sort((V,K)=>V.sortNodePosition(K)).indexOf(A),U=x.size,$=(U-1)*L;return typeof E=="function"?E(O,U):C===1?O*L:$-O*L}}),35835:((X,P,e)=>{e.d(P,{r:()=>x});var c=e(38711);function x(A,E){var C,O;const L=(O=(C=A==null?void 0:A[E])!=null?C:A==null?void 0:A.default)!=null?O:A;return L!==A?(0,c.K)(L,A):L}}),22846:((X,P,e)=>{e.d(P,{j4:()=>x,pG:()=>E,rm:()=>C});const c=O=>U=>typeof U=="string"&&U.startsWith(O),x=c("--"),A=c("var(--"),E=O=>A(O)?L.test(O.split("/*")[0].trim()):!1,L=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function C(O){return typeof O!="string"?!1:O.split("/*")[0].includes("var(--")}}),38711:((X,P,e)=>{e.d(P,{K:()=>c});function c(x,A){if(x!=null&&x.inherit&&A){const E=x,{inherit:L}=E,C=jt(E,["inherit"]);return rt(rt({},A),C)}return x}}),15392:((X,P,e)=>{e.d(P,{M:()=>c});const c=new Set(["opacity","clipPath","filter","transform","backgroundColor"])}),33075:((X,P,e)=>{e.d(P,{K:()=>c});const c=(x,A,E=10)=>{let L="";const C=Math.max(Math.round(A/E),2);for(let O=0;O<C;O++)L+=Math.round(x(O/(C-1))*1e4)/1e4+", ";return`linear(${L.substring(0,L.length-2)})`}}),44447:((X,P,e)=>{e.d(P,{k:()=>c});function c(x,A,E,L={passive:!0}){return x.addEventListener(A,E,L),()=>x.removeEventListener(A,E,L)}}),58902:((X,P,e)=>{e.d(P,{I:()=>L});var c=e(98731);const x=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function A(C){let O=new Set,U=new Set,$=!1,R=!1;const V=new WeakSet;let K={delta:0,timestamp:0,isProcessing:!1};function I(r){V.has(r)&&(y.schedule(r),C()),r(K)}const y={schedule:(r,o=!1,f=!1)=>{const a=f&&$?O:U;return o&&V.add(r),a.add(r),r},cancel:r=>{U.delete(r),V.delete(r)},process:r=>{if(K=r,$){R=!0;return}$=!0;const o=O;O=U,U=o,O.forEach(I),O.clear(),$=!1,R&&(R=!1,y.process(r))}};return y}const E=40;function L(C,O){let U=!1,$=!0;const R={delta:0,timestamp:0,isProcessing:!1},V=()=>U=!0,K=x.reduce((z,J)=>(z[J]=A(V),z),{}),{setup:I,read:y,resolveKeyframes:r,preUpdate:o,update:f,preRender:m,render:a,postRender:T}=K,g=()=>{const z=c.W.useManualTiming,J=z?R.timestamp:performance.now();U=!1,z||(R.delta=$?1e3/60:Math.max(Math.min(J-R.timestamp,E),1)),R.timestamp=J,R.isProcessing=!0,I.process(R),y.process(R),r.process(R),o.process(R),f.process(R),m.process(R),a.process(R),T.process(R),R.isProcessing=!1,U&&O&&($=!1,C(g))},b=()=>{U=!0,$=!0,R.isProcessing||C(g)};return{schedule:x.reduce((z,J)=>{const at=K[J];return z[J]=(st,nt=!1,ht=!1)=>(U||b(),at.schedule(st,nt,ht)),z},{}),cancel:z=>{for(let J=0;J<x.length;
1J++)K[x[J]].cancel(z)},state:R,steps:K}}}),1207:((X,P,e)=>{e.d(P,{Gt:()=>A,PP:()=>C,WG:()=>E,uv:()=>L});var c=e(41533),x=e(58902);const{schedule:A,cancel:E,state:L,steps:C}=(0,x.I)(typeof requestAnimationFrame!="undefined"?requestAnimationFrame:c.l,!0)}),66719:((X,P,e)=>{e.d(P,{k:()=>x});var c=e(58902);const{schedule:x,cancel:A}=(0,c.I)(queueMicrotask,!1)}),91833:((X,P,e)=>{e.d(P,{k:()=>L});var c=e(98731),x=e(1207);let A;function E(){A=void 0}const L={now:()=>(A===void 0&&L.set(x.uv.isProcessing||c.W.useManualTiming?x.uv.timestamp:performance.now()),A),set:C=>{A=C,queueMicrotask(E)}}}),83489:((X,P,e)=>{e.d(P,{D:()=>x,I:()=>c});const c={x:!1,y:!1};function x(){return c.x||c.y}}),56257:((X,P,e)=>{e.d(P,{W:()=>x});var c=e(83489);function x(A){return A==="x"||A==="y"?c.I[A]?null:(c.I[A]=!0,()=>{c.I[A]=!1}):c.I.x||c.I.y?null:(c.I.x=c.I.y=!0,()=>{c.I.x=c.I.y=!1})}}),83979:((X,P,e)=>{e.d(P,{P:()=>E});var c=e(83489),x=e(7916);function A(L){return!(L.pointerType==="touch"||(0,c.D)())}function E(L,C,O={}){const[U,$,R]=(0,x.V)(L,O);return U.forEach(V=>{let K=!1,I=!1,y;const r=()=>{V.removeEventListener("pointerleave",a)},o=g=>{y&&(y(g),y=void 0),r()},f=g=>{K=!1,window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",f),I&&(I=!1,o(g))},m=()=>{K=!0,window.addEventListener("pointerup",f,$),window.addEventListener("pointercancel",f,$)},a=g=>{if(g.pointerType!=="touch"){if(K){I=!0;return}o(g)}},T=g=>
1{if(!A(g))return;I=!1;const b=C(V,g);typeof b=="function"&&(y=b,V.addEventListener("pointerleave",a,$))};V.addEventListener("pointerenter",T,$),V.addEventListener("pointerdown",m,$)}),R}}),29326:((X,P,e)=>{e.d(P,{c:()=>I});var c=e(76995),x=e(83489);const A=(y,r)=>r?y===r?!0:A(y,r.parentElement):!1;var E=e(56228),L=e(7916),C=e(56304);const O=new WeakSet;function U(y){return r=>{r.key==="Enter"&&y(r)}}function $(y,r){y.dispatchEvent(new PointerEvent("pointer"+r,{isPrimary:!0,bubbles:!0}))}const R=(y,r)=>{const o=y.currentTarget;if(!o)return;const f=U(()=>{if(O.has(o))return;$(o,"down");const m=U(()=>{$(o,"up")}),a=()=>$(o,"cancel");o.addEventListener("keyup",m,r),o.addEventListener("blur",a,r)});o.addEventListener("keydown",f,r),o.addEventListener("blur",()=>o.removeEventListener("keydown",f),r)};function V(y){return(0,E.M)(y)&&!(0,x.D)()}const K=new WeakSet;function I(y,r,o={}){const[f,m,a]=(0,L.V)(y,o),T=g=>{const b=g.currentTarget;if(!V(g)||K.has(g))return;O.add(b),o.stopPropagation&&K.add(g);const F=r(b,g),Z=pt(rt({},m),{capture:!0}),z=(st,nt)=>{window.removeEventListener("pointerup",J,Z),window.removeEventListener("pointercancel",at,Z),O.has(b)&&O.delete(b),V(st)&&typeof F=="function"&&F(st,{success:nt})},J=st=>{z(st,b===window||b===document||o.useGlobalTarget||A(b,st.target))},at=st=>{z(st,!1)};window.addEventListener("pointerup",J,Z),window.addEventListener("pointercancel",at,Z)};return f.forEach(g=>{(o.useGlobalTarget?window:g).addEventListener("pointerdown",T,m),(0,c.s)(g)&&(g.addEventListener("focus",F=>R(F,m)),!(0,C.c)(g)&&!g.hasAttribute("tabindex")&&(g.tabIndex=0))}),a}}),56304:((X,P,e)=>{e.d(P,{a:()=>E,c:()=>x});const c=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function x(L){return c.has(L.tagName)||L.isContentEditable===!0}const A=new Set(["INPUT","SELECT","TEXTAREA"]);function E(L){return A.has(L.tagName)||L.isContentEditable===!0}}),56228:((X,P,e)=>{e.d(P,{M:()=>c});const c=x=>x.pointerType==="mouse"?typeof x.button!="number"||x.button<=0:x.isPrimary!==!1}),7916:((X,P,e)=>{e.d(P,{V:()=>x});var c=e(24072);function x(A,E){const L=(0,c.K)(A),C=new AbortController,O=pt(rt({passive:!0},E),{signal:C.signal});return[L,O,()=>C.abort()]}}),53273:((X,P,e)=>{e.d(P,{FY:()=>c,bS:()=>A,pA:()=>x});function c({top:E,left:L,right:C,bottom:O}){return{x:{min:L,max:C},y:{min:E,max:O}}}function x({x:E,y:L}){return{top:L.min,right:E.max,bottom:L.max,left:E.min}}function A(E,L){if(!L)return E;const C=L({x:E.left,y:E.top}),O=L({x:E.right,y:E.bottom});return{top:C.y,left:C.x,bottom:O.y,right:O.x}}}),31054:((X,P,e)=>{e.d(P,{OU:()=>$,Ql:()=>R,Ww:()=>I,hq:()=>A,o4:()=>C});var c=e(65744),x=e(53379);function A(y,r,o){const f=y-o,m=r*f;return o+m}function E(y,r,o,f,m){return m!==void 0&&(y=A(y,m,f)),A(y,o,f)+r}function L(y,r=0,o=1,f,m){y.min=E(y.min,r,o,f,m),y.max=E(y.max,r,o,f,m)}function C(y,{x:r,y:o}){L(y.x,r.translate,r.scale,r.originPoint),L(y.y,o.translate,o.scale,o.originPoint)}const O=.999999999999,U=1.0000000000001;function $(y,r,o,f=!1){var g;const m=o.length;if(!m)return;r.x=r.y=1;let a,T;for(let b=0;b<m;b++){a=o[b],T=a.projectionDelta;const{visualElement:F}=a.options;F&&F.props.style&&F.props.style.display==="contents"||(f&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(R(y.x,-a.scroll.offset.x),R(y.y,-a.scroll.offset.y)),T&&(r.x*=T.x.scale,r.y*=T.y.scale,C(y,T)),f&&(0,x.HD)(a.latestValues)&&I(y,a.latestValues,(g=a.layout)==null?void 0:g.layoutBox))}r.x<U&&r.x>O&&(r.x=1),r.y<U&&r.y>O&&(r.y=1)}function R(y,r){y.min+=r,y.max+=r}function V(y,r,o,f,m=.5){const a=(0,c.k)(y.min,y.max,m);L(y,r,o,a,f)}function K(y,r){return typeof y=="string"?parseFloat(y)/100*(r.max-r.min):y}function I(y,r,o){const f=o!=null?o:y;V(y.x,K(r.x,f.x),r.scaleX,r.scale,r.originX),V(y.y,K(r.y,f.y),r.scaleY,r.scale,r.originY)}}),45317:((X,P,e)=>{e.d(P,{CQ:()=>U,HQ:()=>$,N:()=>I,jA:()=>r,vb:()=>V});var c=e(65744);const x=1e-4,A=1-x,E=1+x,L=.01,C=0-L,O=0+L;function U(o){return o.max-o.min}function $(o,f,m){return Math.abs(o-f)<=m}function R(o,f,m,a=.5){o.origin=a,o.originPoint=(0,c.k)(f.min,f.max,o.origin),o.scale=U(m)/U(f),o.translate=(0,c.k)(m.min,m.max,o.origin)-o.originPoint,(o.scale>=A&&o.scale<=E||isNaN(o.scale))&&(o.scale=1),(o.translate>=C&&o.translate<=O||isNaN(o.translate))&&(o.translate=0)}function V(o,f,m,a){R(o.x,f.x,m.x,a?a.originX:void 0),R(o.y,f.y,m.y,a?a.originY:void 0)}function K(o,f,m,a=0){const T=a?(0,c.k)(m.min,m.max,a):m.min;o.min=T+f.min,o.max=o.min+U(f)}function I(o,f,m,a){K(o.x,f.x,m.x,a==null?void 0:a.x),K(o.y,f.y,m.y,a==null?void 0:a.y)}function y(o,f,m,a=0){const T=a?(0,c.k)(m.min,m.max,a):m.min;o.min=f.min-T,o.max=o.min+U(f)}function r(o,f,m,a){y(o.x,f.x,m.x,a==null?void 0:a.x),y(o.y,f.y,m.y,a==null?void 0:a.y)}}),6343:((X,P,e)=>{e.d(P,{ge:()=>E,xU:()=>x});const c=()=>({translate:0,scale:1,origin:0,originPoint:0}),x=()=>({x:c(),y:c()}),A=()=>({min:0,max:0}),E=()=>({x:A(),y:A()})}),52764:((X,P,e)=>{e.d(P,{P:()=>it});var c=e(63580),x=e(17046),A=e(41533),E=e(68543),L=e(4766),C=e(89495);function O(t,i,D){const u=(0,C.S)(t)?t:(0,L.OQ)(t);return u.start((0,E.f)("",u,i,D)),u.animation}var U=e(43883),$=e(35835),R=e(66719),V=e(91833),K=e(88600),I=e(83202),y=e(25907),r=e(84872),o=e(31109),f=e(65744),m=e(95547),a=e(20538),T=e(94312),g=e(86896),b=e(8299);const F=b.S.length,Z=t=>typeof t=="string"?parseFloat(t):t,z=t=>typeof t=="number"||a.px.test(t);function J(t,i,D,u,w,Y){var s,l,d,S;w?(t.opacity=(0,f.k)(0,(s=D.opacity)!=null?s:1,st(u)),t.opacityExit=(0,f.k)((l=i.opacity)!=null?l:1,0,nt(u))):Y&&(t.opacity=(0,f.k)((d=i.opacity)!=null?d:1,(S=D.opacity)!=null?S:1,u));for(let B=0;B<F;B++){const p=b.S[B];let k=at(i,p),M=at(D,p);if(k===void 0&&M===void 0)continue;k||(k=0),M||(M=0),k===0||M===0||z(k)===z(M)?(t[p]=Math.max((0,f.k)(Z(k),Z(M),u),0),(
1a.KN.test(M)||a.KN.test(k))&&(t[p]+="%")):t[p]=M}(i.rotate||D.rotate)&&(t.rotate=(0,f.k)(i.rotate||0,D.rotate||0,u))}function at(t,i){return t[i]!==void 0?t[i]:t.borderRadius}const st=ht(0,.5,T.yT),nt=ht(.5,.95,A.l);function ht(t,i,D){return u=>u<t?0:u>i?1:D((0,g.q)(t,i,u))}function xt(t,i){t.min=i.min,t.max=i.max}function ot(t,i){xt(t.x,i.x),xt(t.y,i.y)}function Dt(t,i){t.translate=i.translate,t.scale=i.scale,t.originPoint=i.originPoint,t.origin=i.origin}var ft=e(31054),lt=e(45317);function Mt(t,i,D,u,w){return t-=i,t=(0,ft.hq)(t,1/D,u),w!==void 0&&(t=(0,ft.hq)(t,1/w,u)),t}function kt(t,i=0,D=1,u=.5,w,Y=t,s=t){if(a.KN.test(i)&&(i=parseFloat(i),i=(0,f.k)(s.min,s.max,i/100)-s.min),typeof i!="number")return;let l=(0,f.k)(Y.min,Y.max,u);t===Y&&(l-=i),t.min=Mt(t.min,i,D,l,w),t.max=Mt(t.max,i,D,l,w)}function Vt(t,i,[D,u,w],Y,s){kt(t,i[D],i[u],i[w],i.scale,Y,s)}const bt=["x","scaleX","originX"],Pt=["y","scaleY","originY"];function At(t,i,D,u){Vt(t.x,i,bt,D?D.x:void 0,u?u.x:void 0),Vt(t.y,i,Pt,D?D.y:void 0,u?u.y:void 0)}var ut=e(6343);function It(t){return t.translate===0&&t.scale===1}function Kt(t){return It(t.x)&&It(t.y)}function Xt(t,i){return t.min===i.min&&t.max===i.max}function Lt(t,i){return Xt(t.x,i.x)&&Xt(t.y,i.y)}function ee(t,i){return Math.round(t.min)===Math.round(i.min)&&Math.round(t.max)===Math.round(i.max)}function Ft(t,i){return ee(t.x,i.x)&&ee(t.y,i.y)}function $t(t){return(0,lt.CQ)(t.x)/(0,lt.CQ)(t.y)}function Gt(t,i){return t.translate===i.translate&&t.scale===i.scale&&t.originPoint===i.originPoint}var Ct=e(32192);class ie{constructor(){this.members=[]}add(i){(0,Ct.Kq)(this.members,i);for(let D=this.members.length-1;D>=0;D--){const u=this.members[D];if(u===i||u===this.lead||u===this.prevLead)continue;const w=u.instance;(!w||w.isConnected===!1)&&!u.snapshot&&((0,Ct.Ai)(this.members,u),u.unmount())}i.scheduleRender()}remove(i){if((0,Ct.Ai)(this.members,i),i===this.prevLead&&(this.prevLead=void 0),i===this.lead){const D=this.members[this.members.length-1];D&&this.promote(D)}}relegate(i){var D;for(let u=this.members.indexOf(i)-1;u>=0;u--){const w=this.members[u];if(w.isPresent!==!1&&((D=w.instance)==null?void 0:D.isConnected)!==!1)return this.promote(w),!0}return!1}promote(i,D){var w;const u=this.lead;if(i!==u&&(this.prevLead=u,this.lead=i,i.show(),u)){u.updateSnapshot(),i.scheduleRender();const{layoutDependency:Y}=u.options,{layoutDependency:s}=i.options;(Y===void 0||Y!==s)&&(i.resumeFrom=u,D&&(u.preserveOpacity=!0),u.snapshot&&(i.snapshot=u.snapshot,i.snapshot.latestValues=u.animationValues||u.latestValues),(w=i.root)!=null&&w.isUpdating&&(i.isLayoutDirty=!0)),i.options.crossfade===!1&&u.hide()}}exitAnimationComplete(){this.members.forEach(i=>{var D,u,w,Y,s;(u=(D=i.options).onExitComplete)==null||u.call(D),(s=(w=i.resumingFrom)==null?void 0:(Y=w.options).onExitComplete)==null||s.call(Y)})}scheduleRender(){this.members.forEach(i=>i.instance&&i.scheduleRender(!1))}removeLeadSnapshot(){var i;(i=this.lead)!=null&&i.snapshot&&(this.lead.snapshot=void 0)}}function se(t,i,D){let u="";const w=t.x.translate/i.x,Y=t.y.translate/i.y,s=(D==null?void 0:D.z)||0;if((w||Y||s)&&(u=`translate3d(${w}px, ${Y}px, ${s}px) `),(i.x!==1||i.y!==1)&&(u+=`scale(${1/i.x}, ${1/i.y}) `),D){const{transformPerspective:S,rotate:B,pathRotation:p,rotateX:k,rotateY:M,skewX:et,skewY:dt}=D;S&&(u=`perspective(${S}px) ${u}`),B&&(u+=`rotate(${B}deg) `),p&&(u+=`rotate(${p}deg) `),k&&(u+=`rotateX(${k}deg) `),M&&(u+=`rotateY(${M}deg) `),et&&(u+=`skewX(${et}deg) `),dt&&(u+=`skewY(${dt}deg) `)}const l=t.x.scale*i.x,d=t.y.scale*i.y;return(l!==1||d!==1)&&(u+=`scale(${l}, ${d})`),u||"none"}var Ut=e(56307);const ne=(t,i)=>t.depth-i.depth;class ae{constructor(){this.children=[],this.isDirty=!1}add(i){(0,Ct.Kq)(this.children,i),this.isDirty=!0}remove(i){(0,Ct.Ai)(this.children,i),this.isDirty=!0}forEach(i){this.isDirty&&this.children.sort(ne),this.isDirty=!1,this.children.forEach(i)}}var Tt=e(53379),_t=e(78376),ct=e(1207);const St={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},wt=["","X","Y","Z"],oe=1e3;let re=0;function Bt(t,i,D,u){const{latestValues:w}=i;w[t]&&(D[t]=w[t],i.setStaticValue(t,0),u&&(u[t]=0))}function Ht(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:i}=t.options;if(!i)return;const D=(0,U.P)(i);if(window.MotionHasOptimisedAnimation(D,"transform")){const{layout:w,layoutId:Y}=t.options;window.MotionCancelOptimisedAnimation(D,"transform",ct.Gt,!(w||Y))}const{parent:u}=t;u&&!u.hasCheckedOptimisedAppear&&Ht(u)}function zt({attachResizeListener:t,defaultParent:i,measureScroll:D,checkIsScrollRoot:u,resetTransform:w}){return class{constructor(s={},l=i==null?void 0:i()){this.id=re++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,I.Q.value&&(St.nodes=St.calculatedTargetDeltas=St.calculatedProjections=0),this.nodes.forEac
1h(ce),this.nodes.forEach(ye),this.nodes.forEach(ge),this.nodes.forEach(he),I.Q.addProjectionMetrics&&I.Q.addProjectionMetrics(St)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let d=0;d<this.path.length;d++)this.path[d].shouldResetTransform=!0;this.root===this&&(this.nodes=new ae)}addEventListener(s,l){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new c.v),this.eventHandlers.get(s).add(l)}notifyListeners(s,...l){const d=this.eventHandlers.get(s);d&&d.notify(...l)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=(0,r.x)(s)&&!(0,o.h)(s),this.instance=s;const{layoutId:l,layout:d,visualElement:S}=this.options;if(S&&!S.current&&S.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(d||l)&&(this.isLayoutDirty=!0),t){let B,p=0;const k=()=>this.root.updateBlockedByResize=!1;ct.Gt.read(()=>{p=window.innerWidth}),t(s,()=>{const M=window.innerWidth;M!==p&&(p=M,this.root.updateBlockedByResize=!0,B&&B(),B=(0,y.c)(k,250),_t.w.hasAnimatedSinceResize&&(_t.w.hasAnimatedSinceResize=!1,this.nodes.forEach(Zt)))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&S&&(l||d)&&this.addEventListener("didUpdate",({delta:B,hasLayoutChanged:p,hasRelativeLayoutChanged:k,layout:M})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const et=this.options.transition||S.getDefaultTransition()||v,{onLayoutAnimationStart:dt,onLayoutAnimationComplete:mt}=S.getProps(),vt=!this.targetLayout||!Ft(this.targetLayout,M),yt=!p&&k;if(this.options.layoutRoot||this.resumeFrom||yt||p&&(vt||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const gt=pt(rt({},(0,$.r)(et,"layout")),{onPlay:dt,onComplete:mt});(S.shouldReduceMotion||this.options.layoutRoot)&&(gt.delay=0,gt.type=!1),this.startAnimation(gt),this.setAnimationOrigin(B,yt,gt.path)}else p||Zt(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=M})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,ct.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ve),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Ht(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let B=0;B<this.path.length;B++){const p=this.path[B];p.shouldResetTransform=!0,(typeof p.latestValues.x=="string"||typeof p.latestValues.y=="string")&&(p.isLayoutDirty=!0),p.updateScroll("snapshot"),p.options.layoutRoot&&p.willUpdate(!1)}const{layoutId:l,layout:d}=this.options;if(l===void 0&&!d)return;const S=this.getTransformTemplate();this.prevTransformTemplateValue=S?S(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const d=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),d&&this.nodes.forEach(fe),this.nodes.forEach(Qt);return}
1if(this.animationId<=this.animationCommitId){this.nodes.forEach(Yt);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(me),this.nodes.forEach(pe),this.nodes.forEach(le),this.nodes.forEach(ue)):this.nodes.forEach(Yt),this.clearAllSnapshots();const l=V.k.now();ct.uv.delta=(0,x.q)(0,1e3/60,l-ct.uv.timestamp),ct.uv.timestamp=l,ct.uv.isProcessing=!0,ct.PP.update.process(ct.uv),ct.PP.preRender.process(ct.uv),ct.PP.render.process(ct.uv),ct.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,R.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(de),this.sharedNodes.forEach(Te)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ct.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ct.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!(0,lt.CQ)(this.snapshot.measuredBox.x)&&!(0,lt.CQ)(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let d=0;d<this.path.length;d++)this.path[d].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=(0,ut.ge)()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(l=!1),l&&this.instance){const d=u(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:d,offset:D(this.instance),wasRoot:this.scroll?this.scroll.isRoot:d}}}resetTransform(){if(!w)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!Kt(this.projectionDelta),d=this.getTransformTemplate(),S=d?d(this.latestValues,""):void 0,B=S!==this.prevTransformTemplateValue;s&&this.instance&&(l||(0,Tt.HD)(this.latestValues)||B)&&(w(this.instance,S),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const l=this.measurePageBox();let d=this.removeElementScroll(l);return s&&(d=this.removeTransform(d)),G(d),{animationId:this.root.animationId,measuredBox:l,layoutBox:d,latestValues:{},source:this.id}}measurePageBox(){var S;const{visualElement:s}=this.options;if(!s)return(0,ut.ge)();const l=s.measureViewportBox();if(!(((S=this.scroll)==null?void 0:S.wasRoot)||this.path.some(q))){const{scroll:B}=this.root;B&&((0,ft.Ql)(l.x,B.offset.x),(0,ft.Ql)(l.y,B.offset.y))}return l}removeElementScroll(s){var d;const l=(0,ut.ge)();if(ot(l,s),(d=this.scroll)!=null&&d.wasRoot)return l;for(let S=0;S<this.path.length;S++){const B=this.path[S],{scroll:p,options:k}=B;B!==this.root&&p&&k.layoutScroll&&(p.wasRoot&&ot(l,s),(0,ft.Ql)(l.x,p.offset.x),(0,ft.Ql)(l.y,p.offset.y))}return l}applyTransform(s,l=!1,d){var B,p;const S=d||(0,ut.ge)();ot(S,s);for(let k=0;k<this.path.length;k++){const M=this.path[k];!l&&M.options.layoutScroll&&M.scroll&&M!==M.root&&((0,ft.Ql)(S.x,-M.scroll.offset.x),(0,ft.Ql)(S.y,-M.scroll.offset.y)),(0,Tt.HD)(M.latestValues)&&(0,ft.Ww)(S,M.latestValues,(B=M.layout)==null?void 0:B.layoutBox)}return(0,Tt.HD)(this.latestValues)&&(0,ft.Ww)(S,this.latestValues,(p=this.layout)==null?void 0:p.layoutBox),S}removeTransform(s){var d;const l=(0,ut.ge)();ot(l,s);for(let S=0;S<this.path.length;S++){const B=this.path[S];if(!(0,Tt.HD)(B.latestValues))continue;let p;B.instance&&((0,Tt.vk)(B.latestValues)&&B.updateSnapshot(),p=(0,ut.ge)(),ot(p,B.measurePageBox())),At(l,B.latestValues,(d=B.snapshot)==null?void 0:d.layoutBox,p)}return(0,Tt.HD)(this.latestValues)&&At(l,this.latestValues),l}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options=pt(rt(rt({},this.options),s),{crossfade:s.crossfade!==void 0?s.crossfade:!0})}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ct.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var M;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const d=!!this.resumingFrom||this!==l;if(!(s||d&&this.isSharedProjectionDirty||this.isProjectionDirty||(M=this.parent)!=null&&M.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:B,layoutId:p}=this.options;if(!this.layout||!(B||p))return;this.resolvedRelativeTargetAt=ct.uv.timestamp;const k=this.getClosestProjectingParent();k&&this.linkedParentVersion!==k.layoutVersion&&!k.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&k&&k.layout?this.createRelativeTarget(k,this.layout.layoutBox,k.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=(0,ut.ge)(),this.targetWithTransforms=(0,ut.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,lt.N)(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):ot(this.target,this.layout.layoutBox),(0,ft.o4)(this.target,this.targetDelta)):ot(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&k&&!!k.resumingFrom==!!this.resumingFrom&&!k.options.layoutScroll&&k.target&&this.animationProgress!==1?this.createRelativeTarget(k,this.target,k.target):this.relativeParent=this.relativeTarget=void 0),I.Q.value&&St.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||(0,Tt.vk)(this.parent.latestValues)||(0,Tt.vF)(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(s,l,d){this.relativeParent=s,this.linkedParentVersion=s.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,ut.ge)(),this.relativeTargetOrigin=(0,ut.ge)(),(0,lt.jA)(this.relativeTargetOrigin,l,d,this.options.layoutAnchor||void 0),ot(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var et;const s=this.getLead(),l=!!this.resumingFrom||this!==s;let d=!0;if((this.isProjectionDirty||(et=this.parent)!=null&&et.isProjectionDirty)&&
1(d=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(d=!1),this.resolvedRelativeTargetAt===ct.uv.timestamp&&(d=!1),d)return;const{layout:S,layoutId:B}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(S||B))return;ot(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,k=this.treeScale.y;(0,ft.OU)(this.layoutCorrected,this.treeScale,this.path,l),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=(0,ut.ge)());const{target:M}=s;if(!M){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Dt(this.prevProjectionDelta.x,this.projectionDelta.x),Dt(this.prevProjectionDelta.y,this.projectionDelta.y)),(0,lt.vb)(this.projectionDelta,this.layoutCorrected,M,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==k||!Gt(this.projectionDelta.x,this.prevProjectionDelta.x)||!Gt(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",M)),I.Q.value&&St.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var l;if((l=this.options.visualElement)==null||l.scheduleRender(),s){const d=this.getStack();d&&d.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,ut.xU)(),this.projectionDelta=(0,ut.xU)(),this.projectionDeltaWithTransform=(0,ut.xU)()}setAnimationOrigin(s,l=!1,d){const S=this.snapshot,B=S?S.latestValues:{},p=rt({},this.latestValues),k=(0,ut.xU)();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;const M=(0,ut.ge)(),et=S?S.source:void 0,dt=this.layout?this.layout.source:void 0,mt=et!==dt,vt=this.getStack(),yt=!vt||vt.members.length<=1,gt=!!(mt&&!yt&&this.options.crossfade===!0&&!this.path.some(n));this.animationProgress=0;let Et;const Wt=d==null?void 0:d.interpolateProjection(s);this.mixTargetDelta=Nt=>{const Rt=Nt/1e3,Ot=Wt==null?void 0:Wt(Rt);Ot?(k.x.translate=Ot.x,k.x.scale=(0,f.k)(s.x.scale,1,Rt),k.x.origin=s.x.origin,k.x.originPoint=s.x.originPoint,k.y.translate=Ot.y,k.y.scale=(0,f.k)(s.y.scale,1,Rt),k.y.origin=s.y.origin,k.y.originPoint=s.y.originPoint):(Jt(k.x,s.x,Rt),Jt(k.y,s.y,Rt)),this.setTargetDelta(k),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&((0,lt.jA)(M,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),h(this.relativeTarget,this.relativeTargetOrigin,M,Rt),Et&&Lt(this.relativeTarget,Et)&&(this.isProjectionDirty=!1),Et||(Et=(0,ut.ge)()),ot(Et,this.relativeTarget)),mt&&(this.animationValues=p,J(p,B,this.latestValues,Rt,gt,yt)),Ot&&Ot.rotate!==void 0&&(this.animationValues||(this.animationValues=p),this.animationValues.pathRotation=Ot.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=Rt},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){var l,d,S;this.notifyListeners("animationStart"),(l=this.currentAnimation)==null||l.stop(),(S=(d=this.resumingFrom)==null?void 0:d.currentAnimation)==null||S.stop(),this.pendingAnimation&&((0,ct.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ct.Gt.update(()=>{_t.w.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=(0,L.OQ)(0)),this.motionValue.jump(0,!1),this.currentAnimation=O(this.motionValue,[0,1e3],pt(rt({},s),{velocity:0,isSync:!0,onUpdate:B=>{this.mixTargetDelta(B),s.onUpdate&&s.onUpdate(B)},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}})),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(oe),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:l,target:d,layout:S,latestValues:B}=s;if(!(!l||!d||!S)){if(this!==s&&this.layout&&S&&W(this.options.animationType,this.layout.layoutBox,S.layoutBox)){d=this.target||(0,ut.ge)();const p=(0,lt.CQ)(this.layout.layoutBox.x);d.x.min=s.target.x.min,d.x.max=d.x.min+p;const k=(0,lt.CQ)(this.layout.layoutBox.y);d.y.min=s.target.y.min,d.y.max=d.y.min+k}
1ot(l,d),(0,ft.Ww)(l,B),(0,lt.vb)(this.projectionDeltaWithTransform,this.layoutCorrected,l,B)}}registerSharedNode(s,l){this.sharedNodes.has(s)||this.sharedNodes.set(s,new ie),this.sharedNodes.get(s).add(l);const S=l.options.initialPromotionConfig;l.promote({transition:S?S.transition:void 0,preserveFollowOpacity:S&&S.shouldPreserveFollowOpacity?S.shouldPreserveFollowOpacity(l):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var l;const{layoutId:s}=this.options;return s?((l=this.getStack())==null?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:s}=this.options;return s?(l=this.getStack())==null?void 0:l.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:l,preserveFollowOpacity:d}={}){const S=this.getStack();S&&S.promote(this,d),s&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let l=!1;const{latestValues:d}=s;if((d.z||d.rotate||d.rotateX||d.rotateY||d.rotateZ||d.skewX||d.skewY)&&(l=!0),!l)return;const S={};d.z&&Bt("z",s,S,this.animationValues);for(let B=0;B<wt.length;B++)Bt(`rotate${wt[B]}`,s,S,this.animationValues),Bt(`skew${wt[B]}`,s,S,this.animationValues);s.render();for(const B in S)s.setStaticValue(B,S[B]),this.animationValues&&(this.animationValues[B]=S[B]);s.scheduleRender()}applyProjectionStyles(s,l){var et,dt;if(!this.instance||this.isSVG)return;if(!this.isVisible){s.visibility="hidden";return}const d=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,s.visibility="",s.opacity="",s.pointerEvents=(0,m.u)(l==null?void 0:l.pointerEvents)||"",s.transform=d?d(this.latestValues,""):"none";return}const S=this.getLead();if(!this.projectionDelta||!this.layout||!S.target){this.options.layoutId&&(s.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,s.pointerEvents=(0,m.u)(l==null?void 0:l.pointerEvents)||""),this.hasProjected&&!(0,Tt.HD)(this.latestValues)&&(s.transform=d?d({},""):"none",this.hasProjected=!1);return}s.visibility="";const B=S.animationValues||S.latestValues;this.applyTransformsToTarget();let p=se(this.projectionDeltaWithTransform,this.treeScale,B);d&&(p=d(B,p)),s.transform=p;const{x:k,y:M}=this.projectionDelta;s.transformOrigin=`${k.origin*100}% ${M.origin*100}% 0`,S.animationValues?s.opacity=S===this?(dt=(et=B.opacity)!=null?et:this.latestValues.opacity)!=null?dt:1:this.preserveOpacity?this.latestValues.opacity:B.opacityExit:s.opacity=S===this?B.opacity!==void 0?B.opacity:"":B.opacityExit!==void 0?B.opacityExit:0;for(const mt in K.H){if(B[mt]===void 0)continue;const{correct:vt,applyTo:yt,isCSSVariable:gt}=K.H[mt],Et=p==="none"?B[mt]:vt(B[mt],S);if(yt){const Wt=yt.length;for(let Nt=0;Nt<Wt;Nt++)s[yt[Nt]]=Et}else gt?this.options.visualElement.renderState.vars[mt]=Et:s[mt]=Et}this.options.layoutId&&(s.pointerEvents=S===this?(0,m.u)(l==null?void 0:l.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var l;return(l=s.currentAnimation)==null?void 0:l.stop()}),this.root.nodes.forEach(Qt),this.root.sharedNodes.clear()}}}function le(t){t.updateLayout()}function ue(t){var D;const i=((D=t.resumeFrom)==null?void 0:D.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){const{layoutBox:u,measuredBox:w}=t.layout,{animationType:Y}=t.options,s=i.source!==t.layout.source;if(Y==="size")(0,Ut.X)(p=>{const k=s?i.measuredBox[p]:i.layoutBox[p],M=(0,lt.CQ)(k);k.min=u[p].min,k.max=k.min+M});else if(Y==="x"||Y==="y"){const p=Y==="x"?"y":"x";xt(s?i.measuredBox[p]:i.layoutBox[p],u[p])}else W(Y,i.layoutBox,u)&&(0,Ut.X)(p=>{const k=s?i.measuredBox[p]:i.layoutBox[p],M=(0,lt.CQ)(u[p]);k.max=k.min+M,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[p].max=t.relativeTarget[p].min+M)});const l=(0,ut.xU)();(0,lt.vb)(l,u,i.layoutBox);const d=(0,ut.xU)();s?(0,lt.vb)(d,t.applyTransform(w,!0),i.measuredBox):(0,lt.vb)(d,u,i.layoutBox);const S=!Kt(l);let B=!1;if(!t.resumeFrom){const p=t.getClosestProjectingParent();if(p&&!p.resumeFrom){const{snapshot:k,layout:M}=p;if(k&&M){const et=t.options.layoutAnchor||void 0,dt=(0,ut.ge)();(0,lt.jA)(dt,i.layoutBox,k.layoutBox,et);const mt=(0,ut.ge)();(0,lt.jA)(mt,u,M.layoutBox,et),Ft(dt,mt)||(B=!0),p.options.layoutRoot&&(t.relativeTarget=mt,t.relativeTargetOrigin=dt,t.relativeParent=p)}}}t.notifyListeners("didUpdate",{layout:u,snapshot:i,delta:d,layoutDelta:l,hasLayoutChanged:S,hasRelativeLayoutChanged:B})}else if(t.isLead()){const{onExitComplete:u}=t.options;u&&u()}t.options.transition=void 0}function ce(t){I.Q.value&&St.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function he(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function de(t){t.clearSnapshot()}function Qt(t){t.clearMeasurements()}function fe(t){t.isLayoutDirty=!0,t.updateLayout()}function Yt(t){t.isLayoutDirty=!1}function me(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function pe(t){const{visualElement:i}=t.options;i&&i.getProps().onBeforeLayoutMeasure&&i.notify("BeforeLayoutMeasure"),t.resetTransform()}function Zt(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function ye(t){t.resolveTargetDelta()}function ge(t){t.calcProjection()}function ve(t){t.resetSkewAndRotation()}function Te(t){t.removeLeadSnapshot()}function Jt(t,i,D){t.translate=(0,f.k)(i.translate,0,D),t.scale=(0,f.k)(i.scale,1,D),t.origin=i.origin,t.originPoint=i.originPoint}function qt(t,i,D,u){t.min=(0,f.k)(i.min,D.min,u),t.max=(0,f.k)(i.max,D.max,u)}function h(t,i,D,u){qt(t.x,i.x,D.x,u),qt(t.y,i.y,D.y,u)}function n(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const v={duration:.45,ease:[.4,0,.1,1]},j=t=>typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),_=j("applewebkit/")&&!j("chrome/")?Math.round:A.l;function Q(t){t.min=_(t.min),t.max=_(t.max)}function G(t){Q(t.x),Q(t.y)}function W(t,i,D){return t==="position"||t==="preserve-aspect"&&!(0,lt.HQ)($t(i),$t(D),.2)}function q(t){var i;return t!==t.root&&((i=t.scroll)==null?void 0:i.wasRoot)}var H=e(44447);const N=zt({attachResizeListener:(t,i)=>(0,H.k)(t,"resize",i),measureScroll:()=>{var t,i;return{x:document.documentElement.scrollLeft||((t=document.body)==null?void 0:t.scrollLeft)||0,y:document.documentElement.scrollTop||((i=document.body)==null?void 0:i.scrollTop)||0}},checkIsScrollRoot:()=>!0}),tt={current:void 0},it=zt({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tt.current){const t=new N({});t.mount(window),t.setOptions({layoutScroll:!0}),tt.current=t}return tt.current},resetTransform:(t,i)=>{t.style.transform=i!==void 0?i:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"})}),78376:((X,P,e)=>{e.d(P,{w:()=>c});const c={hasAnimatedSinceResize:!0,hasEverUpdated:!1}}),88600:((X,P,e)=>{e.d(P,{H:()=>U});var c=e(8299),x=e(20538);function A(R,V){return V.max===V.min?0:R/(V.max-V.min)*100}const E={correct:(R,V)=>{if(!V.target)return R;if(typeof R=="string")if(x.px.test(R))R=parseFloat(R);else return R;const K=A(R,V.target.x),I=A(R,V.target.y);return`${K}% ${I}%`}};var L=e(85933),C=e(65744);const O={correct:(R,{treeScale:V,projectionDelta:K})=>{const I=R,y=L.f.parse(R);if(y.length>5)return I;const r=L.f.createTransformer(R),o=typeof y[0]!="number"?1:0,f=K.x.scale*V.x,m=K.y.scale*V.y;y[0+o]/=f,y[1+o]/=m;const a=(0,C.k)(f,m,.5);return typeof y[2+o]=="number"&&(y[2+o]/=a),typeof y[3+o]=="number"&&(y[3+o]/=a),r(y)}},U={borderRadius:pt(rt({},E),{applyTo:[...c.S]}),borderTopLeftRadius:E,borderTopRightRadius:E,borderBottomLeftRadius:E,borderBottomRightRadius:E,boxShadow:O};function $(R){for(const V in R)U[V]=R[V],isCSSVariableName(V)&&(U[V].isCSSVariable=!0)}}),56307:((X,P,e)=>{e.d(P,{X:()=>c});function c(x){return[x("x"),x("y")]}}),53379:((X,P,e)=>{e.d(P,{HD:()=>A,vF:()=>E,vk:()=>x});function c(C){return C===void 0||C===1}function x({scale:C,scaleX:O,scaleY:U}){return!c(C)||!c(O)||!c(U)}function A(C){return x(C)||E(C)||C.z||C.rotate||C.rotateX||C.rotateY||C.skewX||C.skewY}function E(C){return L(C.x)||L(C.y)}function L(C){return C&&C!=="0%"}}),82360:((X,P,e)=>{e.d(P,{L:()=>E,m:()=>A});var c=e(53273),x=e(31054);function A(L,C){return(0,c.FY)((0,c.bS)(L.getBoundingClientRect(),C))}function E(L,C,O){const U=A(L,O),{scroll:$}=C;return $&&((0,x.Ql)(U.x,$.offset.x),(0,x.Ql)(U.y,$.offset.y)),U}})}]);})();
2
3//# sourceMappingURL=4902.b6ee156c.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.