PageSourceSearch

https://sora2-ai.ai/_next/static/chunks/4556-1848b769fbfa463b.js

js sora2-ai.ai collected 2026-10-05 12:39:26 UTC 122,377 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4556],{46448:function(t,e,i){i.d(e,{v:function(){return tT}});var n=i(25551);function r(t){t.duration=0,t.type}var s=i(26147),o=i(24750),a=i(21865),l=i(29711),u=i(41927),h=i(35818),c=i(63723);let d=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>s.Wi.update(e,t),stop:()=>(0,s.Pn)(e),now:()=>s.frameData.isProcessing?s.frameData.timestamp:u.X.now()}},p=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)n+=Math.round(1e4*t(e/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`};function f(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}var m=i(88294);function v(t,e,i){let n=Math.max(e-5,0);return(0,m.R)(i-t(n),e-n)}let g={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};var y=i(62035);function x(t,e){return t*Math.sqrt(1-e*e)}let w=["duration","bounce"],P=["stiffness","damping","mass"];function T(t,e){return e.some(e=>void 0!==t[e])}function b(t=g.visualDuration,e=g.bounce){let i;let n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:r,restDelta:s}=n,o=n.keyframes[0],u=n.keyframes[n.keyframes.length-1],h={done:!1,value:o},{stiffness:c,damping:d,mass:m,duration:b,velocity:S,isResolvedFromDuration:A}=function(t){let e={velocity:g.velocity,stiffness:g.stiffness,damping:g.damping,mass:g.mass,isResolvedFromDuration:!1,...t};if(!T(t,P)&&T(t,w)){if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*(0,a.u)(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:g.mass,stiffness:n,damping:r}}else{let i=function({duration:t=g.duration,bounce:e=g.bounce,velocity:i=g.velocity,mass:n=g.mass}){let r,s;(0,y.K)(t<=(0,l.w)(g.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-e;o=(0,a.u)(g.minDamping,g.maxDamping,o),t=(0,a.u)(g.minDuration,g.maxDuration,(0,l.X)(t)),o<1?(r=e=>{let n=e*o,r=n*t;return .001-(n-i)/x(e,o)*Math.exp(-r)},s=e=>{let n=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=x(Math.pow(e,2),o);return(n*i+i-s)*Math.exp(-n)*(-r(e)+.001>0?-1:1)/a}):(r=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));let u=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(r,s,5/t);if(t=(0,l.w)(t),isNaN(u))return{stiffness:g.stiffness,damping:g.damping,duration:t};{let e=Math.pow(u,2)*n;return{stiffness:e,damping:2*o*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...i,mass:g.mass}).isResolvedFromDuration=!0}}return e}({...n,velocity:-(0,l.X)(n.velocity||0)}),M=S||0,D=d/(2*Math.sqrt(c*m)),E=u-o,V=(0,l.X)(Math.sqrt(c/m)),C=5>Math.abs(E);if(r||(r=C?g.restSpeed.granular:g.restSpeed.default),s||(s=C?g.restDelta.granular:g.restDelta.default),D<1){let t=x(V,D);i=e=>u-Math.exp(-D*V*e)*((M+D*V*E)/t*Math.sin(t*e)+E*Math.cos(t*e))}else if(1===D)i=t=>u-Math.exp(-V*t)*(E+(M+V*E)*t);else{let t=V*Math.sqrt(D*D-1);i=e=>{let i=Math.exp(-D*V*e),n=Math.min(t*e,300);return u-i*((M+D*V*E)*Math.sinh(n)+t*E*Math.cosh(n))/t}}let k={calculatedDuration:A&&b||null,next:t=>{let e=i(t);if(A)h.done=t>=b;else{let n=0===t?M:0;D<1&&(n=0===t?(0,l.w)(M):v(i,t,e));let o=Math.abs(n)<=r,a=Math.abs(u-e)<=s;h.done=o&&a}return h.value=h.done?u:e,h},toString:()=>{let t=Math.min(f(k),2e4),e=p(e=>k.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return k}function S({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d;let p=t[0],f={done:!1,value:p},m=t=>void 0!==a&&t<a||void 0!==l&&t>l,g=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)<Math.abs(l-t)?a:l,y=i*e,x=p+y,w=void 0===o?x:o(x);w!==x&&(y=w-p);let P=t=>-y*Math.exp(-t/n),T=t=>w+P(t),S=t=>{let e=P(t),i=T(t);f.done=Math.abs(e)<=u,f.value=f.done?w:i},A=t=>{m(f.value)&&(c=t,d=b({keyframes:[f.value,g(f.value)],velocity:v(T,t,f.value),damping:r,stiffness:s,restDelta:u,restSpeed:h}))};return A(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,S(t),A(t)),void 0!==c&&t>=c)?d.next(t-c):(e||S(t),f)}}}b.applyToOptions=t=>{let e=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),r=Math.min(f(n),2e4);return{type:"keyframes",ease:t=>n.next(r*t).value/e,duration:(0,l.X)(r)}}(t,100,b);return t.ease=e.ease,t.duration=(0,l.w)(e.duration),t.type="keyframes",t};var A=i(94943);let M=t=>Array.isArray(t)&&"number"!=typeof t[0];var D=i(56277),E=i(60068),V=i(52333),C=i(79015);let k=(0,E._)(.33,1.53,.69,.99),R=(0,C.M)(k),L=(0,V.o)(R),j=t=>(t*=2)<1?.5*R(t):.5*(2-Math.pow(2,-10*(t-1)));var F=i(52927);let O=t=>Array.isArray(t)&&"number"==typeof t[0],B={linear:D.Z,easeIn:A.YQ,easeInOut:A.mZ,easeOut:A.Vv,circIn:F.Z7,circInOut:F.X7,circOut:F.Bn,backIn:R,backInOut:L,backOut:k,anticipate:j},I=t=>"string"==typeof t,W=t=>{if(O(t)){(0,y.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,r]=t;return(0,E._)(e,i,n,r)}return I(t)?((0,y.k)(void 0!==B[t],`Invalid easing type '${t}
1'`,"invalid-easing-type"),B[t]):t};var $=i(28460),U=i(42880);function X({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){let r=M(n)?n.map(W):W(n),s={done:!1,value:e[0]},o=(i&&i.length===e.length?i:(0,U.Y)(e)).map(e=>e*t),a=(0,$.s)(o,e,{ease:Array.isArray(r)?r:e.map(()=>r||A.mZ).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=a(e),s.done=e>=t,s)}}let N=t=>null!==t;function Y(t,{repeat:e,repeatType:i="loop"},n,r=1){let s=t.filter(N),o=r<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==n?n:s[o]}let z={decay:S,inertia:S,tween:X,keyframes:X,spring:b};function K(t){"string"==typeof t.type&&(t.type=z[t.type])}class H{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let Z=t=>t/100;class _ extends H{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==u.X.now()&&this.tick(u.X.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},h.P.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;K(t);let{type:e=X,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:s=0}=t,{keyframes:a}=t,l=e||X;l!==X&&"number"!=typeof a[0]&&(this.mixKeyframes=(0,o.z)(Z,(0,c.C)(a[0],a[1])),a=[0,100]);let u=l({...t,keyframes:a});"mirror"===r&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-s})),null===u.calculatedDuration&&(u.calculatedDuration=f(u));let{calculatedDuration:h}=u;this.calculatedDuration=h,this.resolvedDuration=h+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=u}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:n,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:u=0,keyframes:h,repeat:c,repeatType:d,repeatDelay:p,type:f,onUpdate:m,finalKeyframe:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?g<0:g>n;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let x=this.currentTime,w=i;if(c){let t=Math.min(this.currentTime,n)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===d?(i=1-i,p&&(i-=p/o)):"mirror"===d&&(w=s)),x=(0,a.u)(0,1,i)*o}let P=y?{done:!1,value:h[0]}:w.next(x);r&&(P.value=r(P.value));let{done:T}=P;y||null===l||(T=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let b=null===this.holdTime&&("finished"===this.state||"running"===this.state&&T);return b&&f!==S&&(P.value=Y(h,this.options,v,this.speed)),m&&m(P.value),b&&this.finish(),P}then(t,e){return this.finished.then(t,e)}get duration(){return(0,l.X)(this.calculatedDuration)}get time(){return(0,l.X)(this.currentTime)}set time(t){t=(0,l.w)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(u.X.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,l.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=d,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(u.X.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,h.P.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}var q=i(21457),G=i(62180);let Q=t=>t.startsWith("--");var J=i(9339),tt=i(20557),te=i(90107);let ti={},tn=function(t,e){let i=(0,te.X)(t);return()=>ti[e]??i()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),tr=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,ts={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tr([0,.65,.55,1]),circOut:tr([.55,0,1,.45]),backIn:tr([.31,.01,.66,-.59]),backOut:tr([.33,1.53,.69,.99])};function to(t){return"function"==typeof t&&"applyToOptions"in t}class ta extends H{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:e,name:i,keyframes:n,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,(0,y.k)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function({type:t,...e}){return to(t)&&tn()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let c={[e]:i};l&&(c.offset=l);let d=function t(e,i){if(e)return"function"==typeof e?tn()?p(e,i):"ease-out":O(e)?tr(e):Array.isArray(e)?e.map(e=>t(e,i)||ts.easeOut):ts[e]}(a,r);Array.isArray(d)&&(c.easing=d),tt.f.value&&h.P.waapi++;let f={delay:n,duration:r,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};u&&(f.pseudoElement=u);let m=t.animate(c,f);return tt.f.value&&m.finished.finally(()=>{h.P.waapi--}),m}(e,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=Y(n,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(t):Q(i)?e.style.setProperty(i,t):e.style[i]=t,this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,l.X)(Number(t))}get time(){return(0,l.X)(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=(0,l.w)(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&(0,J.t)())?(this.animation.timeline=t,D.Z):e(this)}}let tl={anticipate:j,backInOut:L,circInOut:F.X7};class tu extends ta{constructor(t){"string"==typeof t.ease&&t.ease in tl&&(t.ease=tl[t.ease]),K(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:r,...s}=this.options;if(!e)return;if(void 0!==t){e.set(t);return}let o=new _({...s,autoplay:!1}),a=(0,l.w)(this.finishedTime??this.time);e.setWithVelocity(o.sample(a-10).value,o.sample(a).value,10),o.stop()}}var th=i(65050);let tc=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(th.P.test(t)||"0"===t)&&!t.startsWith("url(")),td=new Set(["opacity","clipPath","filter","transform"]),tp=(0,te.X)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class tf extends H{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:h,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=u.X.now();let d={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,name:a,motionValue:l,element:h,...c},p=h?.KeyframeResolver||G.e;this.keyframeResolver=new p(o,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),a,l,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){this.keyframeResolver=void 0;let{name:s,type:o,velocity:a,delay:l,isHandoff:h,onUpdate:c}=i;
1this.resolvedAt=u.X.now(),!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=tc(r,e),a=tc(s,e);return(0,y.K)(o===a,`You are trying to animate ${e} from "${r}" to "${s}". "${o?s:r}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||to(i))&&n)}(t,s,o,a)&&((q.c.instantAnimations||!l)&&c?.(Y(t,i,e)),t[0]=t[t.length-1],r(i),i.repeat=0);let d={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},p=!h&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return tp()&&i&&td.has(i)&&("transform"!==i||!l)&&!a&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}(d)?new tu({...d,element:d.motionValue.owner.current}):new _(d);p.finished.then(()=>this.notifyFinished()).catch(D.Z),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,G.m)()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let tm=t=>null!==t;var tv=i(56440);let tg={type:"spring",stiffness:500,damping:25,restSpeed:10},ty=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),tx={type:"keyframes",duration:.8},tw={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tP=(t,{keyframes:e})=>e.length>2?tx:tv.G.has(t)?t.startsWith("scale")?ty(e[1]):tg:tw,tT=(t,e,i,o={},a,u)=>h=>{let c=(0,n.e)(o,t)||{},d=c.delay||o.delay||0,{elapsed:p=0}=o;p-=(0,l.w)(d);let f={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...c,delay:-p,onUpdate:t=>{e.set(t),c.onUpdate&&c.onUpdate(t)},onComplete:()=>{h(),c.onComplete&&c.onComplete()},name:t,motionValue:e,element:u?void 0:a};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(c)&&Object.assign(f,tP(t,f)),f.duration&&(f.duration=(0,l.w)(f.duration)),f.repeatDelay&&(f.repeatDelay=(0,l.w)(f.repeatDelay)),void 0!==f.from&&(f.keyframes[0]=f.from);let m=!1;if(!1!==f.type&&(0!==f.duration||f.repeatDelay)||(r(f),0!==f.delay||(m=!0)),(q.c.instantAnimations||q.c.skipAnimations)&&(m=!0,r(f),f.delay=0),f.allowFlatten=!c.type&&!c.ease,m&&!u&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},n){let r=t.filter(tm),s=e&&"loop"!==i&&e%2==1?0:r.length-1;return r[s]}(f.keyframes,c);if(void 0!==t){s.Wi.update(()=>{f.onUpdate(t),f.onComplete()});return}}return c.isSync?new _(f):new tf(f)}},61750:function(t,e,i){i.d(e,{M:function(){return n}});let n="data-"+(0,i(17444).D)("framerAppearId")},34005:function(t,e,i){i.d(e,{s:function(){return r}});var n=i(61750);function r(t){return t.props[n.M]}},20569:function(t,e,i){i.d(e,{H:function(){return n}});function n(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}},49637:function(t,e,i){i.d(e,{oO:function(){return s}});var n=i(2265),r=i(64252);function s(t=!0){let e=(0,n.useContext)(r.O);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:s,register:o}=e,a=(0,n.useId)();(0,n.useEffect)(()=>
1{if(t)return o(a)},[t]);let l=(0,n.useCallback)(()=>t&&s&&s(a),[a,s,t]);return!i&&s?[!1,l]:[!0]}},58881:function(t,e,i){i.d(e,{p:function(){return n}});let n=(0,i(2265).createContext)({})},47337:function(t,e,i){i.d(e,{u:function(){return n}});let n=(0,i(2265).createContext)({strict:!1})},45750:function(t,e,i){i.d(e,{_:function(){return n}});let n=(0,i(2265).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},64252:function(t,e,i){i.d(e,{O:function(){return n}});let n=(0,i(2265).createContext)(null)},34969:function(t,e,i){i.d(e,{E:function(){return n}});function n(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}},43490:function(t,e,i){i.d(e,{Q:function(){return r},s:function(){return s}});var n=i(25602);function r(t){return{point:{x:t.pageX,y:t.pageY}}}let s=t=>e=>(0,n.D)(e)&&t(e,r(e))},80063:function(t,e,i){i.d(e,{L:function(){return n}});class n{constructor(t){this.isMounted=!1,this.node=t}update(){}}},47333:function(t,e,i){i.d(e,{s:function(){return V}});var n=i(20569),r=i(31297);function s(t,e,i){let n=t.getProps();return(0,r.o)(n,e,void 0!==i?i:n.custom,t)}var o=i(25551),a=i(26147),l=i(14151),u=i(94357);let h=t=>Array.isArray(t);var c=i(1327),d=i(34005),p=i(46448);function f(t,e,{delay:i=0,transitionOverride:n,type:r}={}){let{transition:f=t.getDefaultTransition(),transitionEnd:m,...v}=e;n&&(f=n);let g=[],y=r&&t.animationState&&t.animationState.getState()[r];for(let e in v){let n=t.getValue(e,t.latestValues[e]??null),r=v[e];if(void 0===r||y&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(y,e))continue;let s={delay:i,...(0,o.e)(f||{},e)},u=n.get();if(void 0!==u&&!n.isAnimating&&!Array.isArray(r)&&r===u&&!s.velocity)continue;let h=!1;if(window.MotionHandoffAnimation){let i=(0,d.s)(t);if(i){let t=window.MotionHandoffAnimation(i,e,a.Wi);null!==t&&(s.startTime=t,h=!0)}}(0,c.K)(t,e),n.start((0,p.v)(e,n,r,t.shouldReduceMotion&&l.z.has(e)?{type:!1}:s,t,h));let m=n.animation;m&&g.push(m)}return m&&Promise.all(g).then(()=>{a.Wi.update(()=>{m&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=s(t,e)||{};for(let e in r={...r,...i}){var o;let i=h(o=r[e])?o[o.length-1]||0:o;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,u.BX)(i))}}(t,m)})}),g}function m(t,e,i,n=0,r=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*n;return"function"==typeof i?i(s,o):1===r?s*n:a-s*n}function v(t,e,i={}){let n=s(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(r=i.transitionOverride);let o=n?()=>Promise.all(f(t,n,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=r;return function(t,e,i=0,n=0,r=0,s=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(v(l,e,{...o,delay:i+("function"==typeof n?0:n)+m(t.variantChildren,l,n,r,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,n,s,o,a,i)}:()=>Promise.resolve(),{when:l}=r;if(!l)return Promise.all([o(),a(i.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=>e())}}function g(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}var y=i(74115),x=i(72589);let w=x.V.length,P=[...x.e].reverse(),T=x.e.length;function b(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function S(){return{animate:b(!0),whileInView:b(),whileHover:b(),whileTap:b(),whileDrag:b(),whileFocus:b(),exit:b()}}var A=i(80063);class M extends A.L{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>v(t,e,i)));else if("string"==typeof e)n=v(t,e,i);else{let r="function"==typeof e?s(t,e,i.custom):e;n=Promise.all(f(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=S(),r=!0,o=e=>(i,n)=>{let r=s(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;i={...i,...n,...e}}return i};function a(a){let{props:l}=t,u=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<w;t++){let n=x.V[t],r=e.props[n];((0,y.$)(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},c=[],d=new Set,p={},f=1/0;for(let e=0;e<T;e++){var v;let x=P[e],w=i[x],T=void 0!==l[x]?l[x]:u[x],b=(0,y.$)(T),S=x===a?w.isActive:null;!1===S&&(f=e);let A=T===u[x]&&T!==l[x]&&b;if(A&&r&&t.manuallyAnimateOnMount&&(A=!1),w.protectedKeys={...p},!w.isActive&&null===S||!T&&!w.prevProp||(0,n.H)(T)||"boolean"==typeof T)continue;let M=(v=w.prevProp,"string"==typeof T?T!==v:!!Array.isArray(T)&&!g(T,v)),D=M||x===a&&w.isActive&&!A&&b||e>f&&b,E=!1,V=Array.isArray(T)?T:[T],C=V.reduce(o(x),{});!1===S&&(C={});let{prevResolvedValues:k={}}=w,R={...k,...C},L=e=>{D=!0,d.has(e)&&(E=!0,d.delete(e)),w.needsAnimating[e]=!0;let i=t.getValue(e);
1i&&(i.liveStyle=!1)};for(let t in R){let e=C[t],i=k[t];if(!p.hasOwnProperty(t))(h(e)&&h(i)?g(e,i):e===i)?void 0!==e&&d.has(t)?L(t):w.protectedKeys[t]=!0:null!=e?L(t):d.add(t)}w.prevProp=T,w.prevResolvedValues=C,w.isActive&&(p={...p,...C}),r&&t.blockInitialAnimation&&(D=!1);let j=A&&M,F=!j||E;D&&F&&c.push(...V.map(e=>{let i={type:x};if("string"==typeof e&&r&&!j&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=s(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=m(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(d.size){let e={};if("boolean"!=typeof l.initial){let i=s(t,Array.isArray(l.initial)?l.initial[0]:l.initial);i&&i.transition&&(e.transition=i.transition)}d.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),c.push({animation:e})}let b=!!c.length;return r&&(!1===l.initial||l.initial===l.animate)&&!t.manuallyAnimateOnMount&&(b=!1),r=!1,b?e(c):Promise.resolve()}return{animateChanges:a,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let r=a(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=S(),r=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,n.H)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let D=0;class E extends A.L{constructor(){super(...arguments),this.id=D++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}let V={animation:{Feature:M},exit:{Feature:E}}},35938:function(t,e,i){i.d(e,{featureDefinitions:function(){return r}});let n={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},r={};for(let t in n)r[t]={isEnabled:e=>n[t].some(t=>!!e[t])}},28714:function(t,e,i){i.d(e,{E:function(){return R}});var n=i(26147),r=i(25888),s=i(59960);function o(t,e){let i=(0,s.I)(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function a(t){return!("touch"===t.pointerType||(0,r.g)())}var l=i(43490),u=i(80063);function h(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=r["onHover"+i];s&&n.Wi.postRender(()=>s(e,(0,l.Q)(e)))}class c extends u.L{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=o(t,i),l=t=>{if(!a(t))return;let{target:i}=t,n=e(i,t);if("function"!=typeof n||!i)return;let s=t=>{a(t)&&(n(t),i.removeEventListener("pointerleave",s))};i.addEventListener("pointerleave",s,r)};return n.forEach(t=>{t.addEventListener("pointerenter",l,r)}),s}(t,(t,e)=>(h(this.node,e,"Start"),t=>h(this.node,t,"End"))))}unmount(){}}var d=i(24750),p=i(34969);class f extends u.L{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,d.z)((0,p.E)(this.node.current,"focus",()=>this.onFocus()),(0,p.E)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var m=i(13537);let v=(t,e)=>!!e&&(t===e||v(t,e.parentElement));var g=i(25602);let y=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),x=new WeakSet;function w(t){return e=>{"Enter"===e.key&&t(e)}}function P(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let T=(t,e)=>{let i=t.currentTarget;if(!i)return;let n=w(()=>{if(x.has(i))return;P(i,"down");let t=w(()=>{P(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>P(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)};function b(t){return(0,g.D)(t)&&!(0,r.g)()}function S(t,e,i){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===i);let s=r["onTap"+("End"===i?"":i)];s&&n.Wi.postRender(()=>s(e,(0,l.Q)(e)))}class A extends u.L{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=o(t,i),a=t=>{let n=t.currentTarget;if(!b(t))return;x.add(n);let s=e(n,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),x.has(n)&&x.delete(n),b(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,n===window||n===document||i.useGlobalTarget||v(n,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return n.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",a,r),(0,m.R)(t)&&(t.addEventListener("focus",t=>T(t,r)),y.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(S(this.node,e,"Start"),(t,{success:e})=>S(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let M=new WeakMap,D=new WeakMap,E=t=>{let e=M.get(t.target);e&&e(t)},V=t=>{t.forEach(E)},C={some:0,all:1};class k extends u.L{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:C[n]};
1return function(t,e,i){let n=function({root:t,...e}){let i=t||document;D.has(i)||D.set(i,{});let n=D.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(V,{root:t,...e})),n[r]}(e);return M.set(t,i),n.observe(t),()=>{M.delete(t),n.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let R={inView:{Feature:k},tap:{Feature:A},focus:{Feature:f},hover:{Feature:c}}},24470:function(t,e,i){i.d(e,{K:function(){return r}});var n=i(35938);function r(t){for(let e in t)n.featureDefinitions[e]={...n.featureDefinitions[e],...t[e]}}},77556:function(t,e,i){i.d(e,{j:function(){return s}});var n=i(56440),r=i(98639);function s(t,{layout:e,layoutId:i}){return n.G.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!r.P[t]||"opacity"===t)}},82063:function(t,e,i){function n({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function r({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function s(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}i.d(e,{d7:function(){return s},i8:function(){return n},z2:function(){return r}})},47227:function(t,e,i){i.d(e,{D2:function(){return d},YY:function(){return u},am:function(){return h},o2:function(){return l},q2:function(){return s}});var n=i(33811),r=i(12787);function s(t,e,i){return i+e*(t-i)}function o(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function a(t,e=0,i=1,n,r){t.min=o(t.min,e,i,n,r),t.max=o(t.max,e,i,n,r)}function l(t,{x:e,y:i}){a(t.x,e.translate,e.scale,e.originPoint),a(t.y,i.translate,i.scale,i.originPoint)}function u(t,e,i,n=!1){let s,o;let a=i.length;if(a){e.x=e.y=1;for(let u=0;u<a;u++){o=(s=i[u]).projectionDelta;let{visualElement:a}=s.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&d(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,l(t,o)),n&&(0,r.ud)(s.latestValues)&&d(t,s.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function h(t,e){t.min=t.min+e,t.max=t.max+e}function c(t,e,i,r,s=.5){let o=(0,n.t)(t.min,t.max,s);a(t,e,i,o,r)}function d(t,e){c(t.x,e.x,e.scaleX,e.scale,e.originX),c(t.y,e.y,e.scaleY,e.scale,e.originY)}},96674:function(t,e,i){i.d(e,{dO:function(){return o},wc:function(){return r}});let n=()=>({translate:0,scale:1,origin:0,originPoint:0}),r=()=>({x:n(),y:n()}),s=()=>({min:0,max:0}),o=()=>({x:s(),y:s()})},98639:function(t,e,i){i.d(e,{B:function(){return s},P:function(){return r}});var n=i(38596);let r={};function s(t){for(let e in t)r[e]=t[e],(0,n.f)(e)&&(r[e].isCSSVariable=!0)}},12787:function(t,e,i){function n(t){return void 0===t||1===t}function r({scale:t,scaleX:e,scaleY:i}){return!n(t)||!n(e)||!n(i)}function s(t){return r(t)||o(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function o(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}i.d(e,{D_:function(){return o},Lj:function(){return r},ud:function(){return s}})},50813:function(t,e,i){i.d(e,{J:function(){return s},z:function(){return o}});var n=i(82063),r=i(47227);function s(t,e){return(0,n.i8)((0,n.d7)(t.getBoundingClientRect(),e))}function o(t,e,i){let n=s(t,i),{scroll:o}=e;return o&&((0,r.am)(n.x,o.offset.x),(0,r.am)(n.y,o.offset.y)),n}},34556:function(t,e,i){i.d(e,{E:function(){return eq}});var n,r=i(55109),s=i(57437),o=i(2265),a=i(58881),l=i(47337),u=i(45750);let h=(0,o.createContext)({});var c=i(17743),d=i(74115);function p(t){return Array.isArray(t)?t.join(" "):t}var f=i(87493),m=i(77556),v=i(39991);let g=()=>({style:{},transform:{},transformOrigin:{},vars:{}});
1function y(t,e,i){for(let n in e)(0,f.i)(e[n])||(0,m.j)(n,i)||(t[n]=e[n])}var x=i(59944);let w=()=>({...g(),attrs:{}});var P=i(37380);let T=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function b(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||T.has(t)}let S=t=>!b(t);try{n=require("@emotion/is-prop-valid").default,"function"==typeof n&&(S=t=>t.startsWith("on")?!b(t):n(t))}catch{}var A=i(64044),M=i(20569),D=i(64252),E=i(31297),V=i(53576);function C(t){return(0,f.i)(t)?t.get():t}let k=t=>(e,i)=>{let n=(0,o.useContext)(h),r=(0,o.useContext)(D.O),s=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,n,r){return{latestValues:function(t,e,i,n){let r={},s=n(t,{});for(let t in s)r[t]=C(s[t]);let{initial:o,animate:a}=t,l=(0,c.G)(t),u=(0,c.M)(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!i&&!1===i.initial,d=(h=h||!1===o)?a:o;if(d&&"boolean"!=typeof d&&!(0,M.H)(d)){let e=Array.isArray(d)?d:[d];for(let i=0;i<e.length;i++){let n=(0,E.o)(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(i,n,r,t),renderState:e()}})(t,e,n,r);return i?s():(0,V.h)(s)},R=k({scrapeMotionValuesFromProps:i(67971).U,createRenderState:g}),L=k({scrapeMotionValuesFromProps:i(67098).U,createRenderState:w});var j=i(44563),F=i(35938),O=i(24470);let B=Symbol.for("motionComponentSymbol");function I(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var W=i(61750);let $=(0,o.createContext)({});var U=i(11534);function X(t){var e,i;let{forwardMotionProps:n=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,m=arguments.length>3?arguments[3]:void 0;r&&(0,O.K)(r);let T=(0,A.q)(t)?L:R;function M(e,i){var r;let M;let E={...(0,o.useContext)(u._),...e,layoutId:function(t){let{layoutId:e}=t,i=(0,o.useContext)(a.p).id;return i&&void 0!==e?i+"-"+e:e}(e)},{isStatic:V}=E,C=function(t){let{initial:e,animate:i}=function(t,e){if((0,c.G)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,d.$)(e)?e:void 0,animate:(0,d.$)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,o.useContext)(h));return(0,o.useMemo)(()=>({initial:e,animate:i}),[p(e),p(i)])}(e),k=T(e,V);if(!V&&j.j){(0,o.useContext)(l.u).strict;let e=function(t){let{drag:e,layout:i}=F.featureDefinitions;if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(E);M=e.MeasureLayout,C.visualElement=function(t,e,i,n,r){let{visualElement:s}=(0,o.useContext)(h),a=(0,o.useContext)(l.u),c=(0,o.useContext)(D.O),d=(0,o.useContext)(u._).reducedMotion,p=(0,o.useRef)(null);n=n||a.renderer,!p.current&&n&&(p.current=n(t,{visualState:e,parent:s,props:i,presenceContext:c,blockInitialAnimation:!!c&&!1===c.initial,reducedMotionConfig:d}));let f=p.current,m=(0,o.useContext)($);f&&!f.projection&&r&&("html"===f.type||"svg"===f.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||a&&I(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:h,layoutScroll:l,layoutRoot:u})}(p.current,i,r,m);let v=(0,o.useRef)(!1);(0,o.useInsertionEffect)(()=>{f&&v.current&&f.update(i,c)});let g=i[W.M],y=(0,o.useRef)(!!g&&!window.MotionHandoffIsComplete?.(g)&&window.MotionHasOptimisedAnimation?.(g));return(0,U.L)(()=>{f&&(v.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),y.current&&f.animationState&&f.animationState.animateChanges())}),(0,o.useEffect)(()=>{f&&(!y.current&&f.animationState&&f.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(g)}),y.current=!1),f.enteringChildren=void 0)}),f}(t,k,E,m,e.ProjectionNode)}return(0,s.jsxs)(h.Provider,{value:C,children:[M&&C.visualElement?(0,s.jsx)(M,{visualElement:C.visualElement,...E}
1):null,function(t,e,i,{latestValues:n},r,s=!1){let a=((0,A.q)(t)?function(t,e,i,n){let r=(0,o.useMemo)(()=>{let i=w();return(0,x.i)(i,e,(0,P.a)(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};y(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i={},n=function(t,e){let i=t.style||{},n={};return y(n,i,t),Object.assign(n,function({transformTemplate:t},e){return(0,o.useMemo)(()=>{let i=g();return(0,v.r)(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=n,i})(e,n,r,t),l=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(S(r)||!0===i&&b(r)||!e&&!b(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(e,"string"==typeof t,s),u=t!==o.Fragment?{...l,...a,ref:i}:{},{children:h}=e,c=(0,o.useMemo)(()=>(0,f.i)(h)?h.get():h,[h]);return(0,o.createElement)(t,{...u,children:c})}(t,e,(r=C.visualElement,(0,o.useCallback)(t=>{t&&k.onMount&&k.onMount(t),r&&(t?r.mount(t):r.unmount()),i&&("function"==typeof i?i(t):I(i)&&(i.current=t))},[r])),k,V,n)]})}M.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!==(i=null!==(e=t.displayName)&&void 0!==e?e:t.name)&&void 0!==i?i:"",")"));let E=(0,o.forwardRef)(M);return E[B]=t,E}var N=i(47333),Y=i(80063),z=i(56277),K=i(25888),H=i(92854),Z=i(26147),_=i(33811),q=i(62035),G=i(46448),Q=i(34969),J=i(43490);function tt(t,e,i,n){return(0,Q.E)(t,e,(0,J.s)(i),n)}var te=i(82063);function ti(t){return t.max-t.min}function tn(t,e,i,n=.5){t.origin=n,t.originPoint=(0,_.t)(e.min,e.max,t.origin),t.scale=ti(i)/ti(e),t.translate=(0,_.t)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function tr(t,e,i,n){tn(t.x,e.x,i.x,n?n.originX:void 0),tn(t.y,e.y,i.y,n?n.originY:void 0)}function ts(t,e,i){t.min=i.min+e.min,t.max=t.min+ti(e)}function to(t,e,i){t.min=e.min-i.min,t.max=t.min+ti(e)}function ta(t,e,i){to(t.x,e.x,i.x),to(t.y,e.y,i.y)}var tl=i(96674);function tu(t){return[t("x"),t("y")]}var th=i(50813);let tc=({current:t})=>t?t.ownerDocument.defaultView:null;var td=i(1327),tp=i(25602),tf=i(24750),tm=i(29711);let tv=(t,e)=>Math.abs(t-e);class tg{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=tw(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(tv(t.x,e.x)**2+tv(t.y,e.y)**2)>=this.distanceThreshold);if(!n&&!r)return;let{point:s}=i,{timestamp:o}=Z.frameData;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=ty(e,this.transformPagePoint),Z.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=tw("pointercancel"===t.type?this.lastMoveEventInfo:ty(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!(0,tp.D)(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=n||window;let o=ty((0,J.Q)(t),this.transformPagePoint),{point:a}=o,{timestamp:l}=Z.frameData;this.history=[{...a,timestamp:l}];let{onSessionStart:u}=e;u&&u(t,tw(o,this.history)),this.removeListeners=(0,tf.z)(tt(this.contextWindow,"pointermove",this.handlePointerMove),tt(this.contextWindow,"pointerup",this.handlePointerUp),tt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,Z.Pn)(this.updatePoint)}}function ty(t,e){return e?{point:e(t.point)}:t}function tx(t,e){return{x:t.x-e.x,y:t.y-e.y}}function tw({point:t},e){return{point:t,delta:tx(t,tP(e)),offset:tx(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=tP(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>(0,tm.w)(.1)));)i--;if(!n)return{x:0,y:0};let s=(0,tm.X)(r.timestamp-n.timestamp);if(0===s)return{x:0,y:0};let o={x:(r.x-n.x)/s,y:(r.y-n.y)/s}
1;return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,0)}}function tP(t){return t[t.length-1]}var tT=i(81645),tb=i(21865);function tS(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function tA(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function tM(t,e,i){return{min:tD(t,e),max:tD(t,i)}}function tD(t,e){return"number"==typeof t?t:t[e]||0}let tE=new WeakMap;class tV{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,tl.dO)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let{dragSnapToOrigin:r}=this.getProps();this.panSession=new tg(t,{onSessionStart:t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor((0,J.Q)(t).point)},onStart:(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===i||"y"===i?K.r[i]?null:(K.r[i]=!0,()=>{K.r[i]=!1}):K.r.x||K.r.y?null:(K.r.x=K.r.y=!0,()=>{K.r.x=K.r.y=!1}),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),tu(t=>{let e=this.getAxisMotionValue(t).get()||0;if(H.aQ.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];if(n){let t=ti(n);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),r&&Z.Wi.postRender(()=>r(t,e)),(0,td.K)(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>tu(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play())},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,distanceThreshold:i,contextWindow:tc(this.visualElement)})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!i)return;let{velocity:s}=n;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&Z.Wi.postRender(()=>o(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!tC(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?(0,_.t)(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?(0,_.t)(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&I(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:tS(t.x,i,r),y:tS(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:tM(t,"left","right"),y:tM(t,"top","bottom")}}(e),n!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&tu(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!I(e))return!1;let n=e.current;(0,q.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let s=(0,th.z)(n,r.root,this.visualElement.getTransformPagePoint()),o={x:tA((t=r.layout.layoutBox).x,s.x),y:tA(t.y,s.y)};if(i){let t=i((0,te.z2)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,te.i8)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(tu(o=>{if(!tC(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,td.K)(this.visualElement,t),i.start((0,G.v)(t,i,0,e,this.visualElement,!1))}stopAnimation(){tu(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){tu(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){tu(e=>{let{drag:i}=this.getProps();if(!tC(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e];r.set(t[e]-(0,_.t)(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!I(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};tu(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=ti(t),r=ti(e);return r>n?i=(0,tT.Y)(e.min,e.max-n,t.min):n>r&&(i=(0,tT.Y)(t.min,t.max-r,e.min)),(0,tb.u)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),tu(e=>{if(!tC(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set((0,_.t)(r,s,n[e]))})}addListeners(){if(!this.visualElement.current)return;tE.set(this.visualElement,this);let t=tt(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();I(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),Z.Wi.read(e);let r=(0,Q.E)(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(tu(e=>{let i=this.getAxisMotionValue(e);
1i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),n(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function tC(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class tk extends Y.L{constructor(t){super(t),this.removeGroupControls=z.Z,this.removeListeners=z.Z,this.controls=new tV(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||z.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let tR=t=>(e,i)=>{t&&Z.Wi.postRender(()=>t(e,i))};class tL extends Y.L{constructor(){super(...arguments),this.removePointerDownListener=z.Z}onPointerDown(t){this.session=new tg(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:tc(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:tR(t),onStart:tR(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&Z.Wi.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=tt(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var tj=i(3697),tF=i(49637);let tO={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function tB(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let tI={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!H.px.test(t))return t;t=parseFloat(t)}let i=tB(t,e.target.x),n=tB(t,e.target.y);return`${i}% ${n}%`}};var tW=i(65050),t$=i(98639);let tU=!1;class tX extends o.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;(0,t$.B)(tY),r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),tU&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),tO.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,{projection:s}=i;return s&&(s.isPresent=r,tU=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent===r||(r?s.promote():s.relegate()||Z.Wi.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),tj.g.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;tU=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function tN(t){let[e,i]=(0,tF.oO)(),n=(0,o.useContext)(a.p);return(0,s.jsx)(tX,{...t,layoutGroup:n,switchLayoutGroup:(0,o.useContext)($),isPresent:e,safeToRemove:i})}let tY={borderRadius:{...tI,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tI,borderTopRightRadius:tI,borderBottomLeftRadius:tI,borderBottomRightRadius:tI,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=tW.P.parse(t);if(n.length>5)return t;let r=tW.P.createTransformer(t),s="number"!=typeof n[0]?1:0,o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=a;let l=(0,_.t)(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}};var tz=i(20557),tK=i(51413),tH=i(25551),tZ=i(41927),t_=i(35818),tq=i(94357),tG=i(94513),tQ=i(34005),tJ=i(98425);let t0=(t,e)=>t.depth-e.depth;class t1{constructor(){this.children=[],this.isDirty=!1}add(t){(0,tJ.y4)(this.children,t),this.isDirty=!0}remove(t){(0,tJ.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(t0),this.isDirty=!1,this.children.forEac
1h(t)}}var t5=i(52927);let t2=["TopLeft","TopRight","BottomLeft","BottomRight"],t4=t2.length,t3=t=>"string"==typeof t?parseFloat(t):t,t7=t=>"number"==typeof t||H.px.test(t);function t6(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let t9=et(0,.5,t5.Bn),t8=et(.5,.95,z.Z);function et(t,e,i){return n=>n<t?0:n>e?1:i((0,tT.Y)(t,e,n))}function ee(t,e){t.min=e.min,t.max=e.max}function ei(t,e){ee(t.x,e.x),ee(t.y,e.y)}function en(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var er=i(47227);function es(t,e,i,n,r){return t-=e,t=(0,er.q2)(t,1/i,n),void 0!==r&&(t=(0,er.q2)(t,1/r,n)),t}function eo(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(H.aQ.test(e)&&(e=parseFloat(e),e=(0,_.t)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,_.t)(s.min,s.max,n);t===s&&(a-=e),t.min=es(t.min,e,i,a,r),t.max=es(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let ea=["x","scaleX","originX"],el=["y","scaleY","originY"];function eu(t,e,i,n){eo(t.x,e,ea,i?i.x:void 0,n?n.x:void 0),eo(t.y,e,el,i?i.y:void 0,n?n.y:void 0)}function eh(t){return 0===t.translate&&1===t.scale}function ec(t){return eh(t.x)&&eh(t.y)}function ed(t,e){return t.min===e.min&&t.max===e.max}function ep(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function ef(t,e){return ep(t.x,e.x)&&ep(t.y,e.y)}function em(t){return ti(t.x)/ti(t.y)}function ev(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class eg{constructor(){this.members=[]}add(t){(0,tJ.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,tJ.cl)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e;let i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;!1===n&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var ey=i(12787);let ex={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},ew=["","X","Y","Z"],eP=0;function eT(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function eb({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=eP++,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.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,tz.f.value&&(ex.nodes=ex.calculatedTargetDeltas=ex.calculatedProjections=0),this.nodes.forEach(eM),this.nodes.forEach(eL),this.nodes.forEach(ej),this.nodes.forEach(eD),tz.f.addProjectionMetrics&&tz.f.addProjectionMetrics(ex)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new t1)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tG.L),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=(0,tK.v)(e)&&(!(0,tK.v)(e)||"svg"!==e.tagName),this.instance=e;let{layoutId:i,layout:n,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i;let n=0,r=()=>this.root.updateBlockedByResize=!1;Z.Wi.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==n&&(n=t,this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=tZ.X.now(),n=({timestamp:e})=>{let r=e-i;r>=250&&((0,Z.Pn)(n),t(r-250))};return Z.Wi.setup(n,!0),()=>(0,Z.Pn)(n)}(r,0),tO.hasAnimatedSinceResize&&(tO.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(eR)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||r.getDefaultTransition()||e$,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!ef(this.targetLayout,n),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,tH.e)(s,"layout"),onPlay:o,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||eR(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,Z.Pn)(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(eF),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=(0,tQ.s)(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",Z.Wi,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(eV);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(eC);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(ek),this.nodes.forEach(eS),this.nodes.forEach(eA)):this.nodes.forEach(eC),this.clearAllSnapshots();let t=tZ.X.now();Z.frameData.delta=(0,tb.u)(0,1e3/60,t-Z.frameData.timestamp),Z.frameData.timestamp=t,Z.frameData.isProcessing=!0,Z.yL.update.process(Z.frameData),Z.yL.preRender.process(Z.frameData),Z.yL.render.process(Z.frameData),Z.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tj.g.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(eE),this.sharedNodes.forEach(eO)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Z.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Z.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),!this.snapshot||ti(this.snapshot.measuredBox.x)||ti(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 t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,tl.dO)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!ec(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,ey.ud)(this.latestValues)||s)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);
1return t&&(n=this.removeTransform(n)),eN((e=n).x),eN(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,tl.dO)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(ez))){let{scroll:t}=this.root;t&&((0,er.am)(e.x,t.offset.x),(0,er.am)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,tl.dO)();if(ei(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:s}=n;n!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&ei(e,t),(0,er.am)(e.x,r.offset.x),(0,er.am)(e.y,r.offset.y))}return e}applyTransform(t,e=!1){let i=(0,tl.dO)();ei(i,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(0,er.D2)(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),(0,ey.ud)(n.latestValues)&&(0,er.D2)(i,n.latestValues)}return(0,ey.ud)(this.latestValues)&&(0,er.D2)(i,this.latestValues),i}removeTransform(t){let e=(0,tl.dO)();ei(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,ey.ud)(i.latestValues))continue;(0,ey.Lj)(i.latestValues)&&i.updateSnapshot();let n=(0,tl.dO)();ei(n,i.measurePageBox()),eu(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return(0,ey.ud)(this.latestValues)&&eu(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}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!==Z.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:r}=this.options;if(this.layout&&(n||r)){if(this.resolvedRelativeTargetAt=Z.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,tl.dO)(),this.relativeTargetOrigin=(0,tl.dO)(),ta(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),ei(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,tl.dO)(),this.targetWithTransforms=(0,tl.dO)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,o,a;this.forceRelativeParentToResolveTarget(),s=this.target,o=this.relativeTarget,a=this.relativeParent.target,ts(s.x,o.x,a.x),ts(s.y,o.y,a.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ei(this.target,this.layout.layoutBox),(0,er.o2)(this.target,this.targetDelta)):ei(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,tl.dO)(),this.relativeTargetOrigin=(0,tl.dO)(),ta(this.relativeTargetOrigin,this.target,t.target),ei(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}tz.f.value&&ex.calculatedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||(0,ey.Lj)(this.parent.latestValues)||(0,ey.D_)(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===Z.frameData.timestamp&&(i=!1),i)return;let{layout:n,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||r))return;ei(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;(0,er.YY)(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,tl.dO)());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(en(this.prevProjectionDelta.x,this.projectionDelta.x),en(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),tr(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&ev(this.projectionDelta.x,this.prevProjectionDelta.x)&&ev(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),tz.f.value&&ex.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,tl.wc)(),this.projectionDelta=(0,tl.wc)(),this.projectionDeltaWithTransform=(0,tl.wc)()}setAnimationOrigin(t,e=!1){let i;let n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},o=(0,tl.wc)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,tl.dO)(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(eW));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(eB(o.x,t.x,n),eB(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f;ta(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,eI(p.x,f.x,a.x,n),eI(p.y,f.y,a.y,n),i&&(u=this.relativeTarget,d=i,ed(u.x,d.x)&&ed(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=(0,tl.dO)()),ei(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,n,r,s){r?(t.opacity=(0,_.t)(0,i.opacity??1,t9(n)),t.opacityExit=(0,_.t)(e.opacity??1,0,t8(n))):s&&(t.opacity=(0,_.t)(e.opacity??1,i.opacity??1,n));for(let r=0;r<t4;r++){let s=`border${t2[r]}Radius`,o=t6(e,s),a=t6(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||t7(o)===t7(a)?(t[s]=Math.max((0,_.t)(t3(o),t3(a),n),0),(H.aQ.test(a)||H.aQ.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,_.t)(e.rotate||0,i.rotate||0,n))}(s,r,this.latestValues,n,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,Z.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Z.Wi.update(()=>{tO.hasAnimatedSinceResize=!0,t_.P.layout++,this.motionValue||(this.motionValue=(0,tq.BX)(0)),this.currentAnimation=function(t,e,i){let n=(0,f.i)(t)?t:(0,tq.BX)(t);return n.start((0,G.v)("",n,e,i)),n.animation}(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{t_.P.layout--},onComplete:()=>{t_.P.layout--,t.onComplete&&t.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);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&eY(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||(0,tl.dO)();let e=ti(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=ti(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}ei(e,i),(0,er.D2)(e,r),tr(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new eg),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&eT("z",t,n,this.animationValues);for(let e=0;e<ew.length;e++)eT(`rotate${ew[e]}`,t,n,this.animationValues),eT(`skew${ew[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=C(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=C(e?.pointerEvents)||""),this.hasProjected&&!(0,ey.ud)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=n.animationValues||n.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((r||s||o)&&(n=`translate3d(${r}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:s,skewX:o,skewY:a}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotateX(${r}deg) `),s&&(n+=`rotateY(${s}deg) `),o&&(n+=`skewX(${o}deg) `),a&&(n+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(s=i(r,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,n.animationValues?t.opacity=n===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,t$.P){if(void 0===r[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=t$.P[e],l="none"===s?r[e]:i(r[e],n);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?C(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(eV),this.root.sharedNodes.clear()}}}function eS(t){t.updateLayout()}function eA(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=t.layout,{animationType:r}=t.options,s=e.source!==t.layout.source;"size"===r?tu(t=>{let n=s?e.measuredBox[t]:e.layoutBox[t],r=ti(n);n.min=i[t].min,n.max=n.min+r}):eY(r,e.layoutBox,i)&&tu(n=>{let r=s?e.measuredBox[n]:e.layoutBox[n],o=ti(i[n]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=(0,tl.wc)();tr(o,i,e.layoutBox);let a=(0,tl.wc)();s?tr(a,t.applyTransform(n,!0),e.measuredBox):tr(a,i,e.layoutBox);let l=!ec(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let o=(0,tl.dO)();ta(o,e.layoutBox,r.layoutBox);let a=(0,tl.dO)();ta(a,i,s.layoutBox),ef(o,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function eM(t){tz.f.value&&ex.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 eD(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function eE(t){t.clearSnapshot()}function eV(t){t.clearMeasurements()}function eC(t){t.isLayoutDirty=!1}function ek(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function eR(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function eL(t){t.resolveTargetDelta()}function ej(t){t.calcProjection()}function eF(t){t.resetSkewAndRotation()}function eO(t){t.removeLeadSnapshot()}function eB(t,e,i){t.translate=(0,_.t)(e.translate,0,i),t.scale=(0,_.t)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function eI(t,e,i,n){t.min=(0,_.t)(e.min,i.min,n),t.max=(0,_.t)(e.max,i.max,n)}function eW(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let e$={duration:.45,ease:[.4,0,.1,1]},eU=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),eX=eU("applewebkit/")&&!eU("chrome/")?Math.round:z.Z;function eN(t){t.min=eX(t.min),t.max=eX(t.max)}function eY(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(em(e)-em(i)))}function ez(t){return t!==t.root&&t.scroll?.wasRoot}let eK=eb({attachResizeListener:(t,e)=>(0,Q.E)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),eH={current:void 0},eZ=eb({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!eH.current){let t=new eK({});t.mount(window),t.setOptions({layoutScroll:!0}),eH.current=t}return eH.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var e_=i(28714);let eq=function(t,e){if("undefined"==typeof Proxy)return X;let i=new Map,n=(i,n)=>X(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(r,s)=>"create"===s?n:(i.has(s)||i.set(s,X(s,void 0,t,e)),i.get(s))})}({...N.s,...e_.E,pan:{Feature:tL},drag:{Feature:tk,ProjectionNode:eZ,MeasureLayout:tN},layout:{ProjectionNode:eZ,MeasureLayout:tN}},r.b)},55109:function(t,e,i){i.d(e,{b:function(){return tl}});var n=i(2265),r=i(56440),s=i(1806),o=i(38596),a=i(50813),l=i(14151),u=i(61799),h=i(92854);let c=t=>e=>e.test(t),d=[u.Rx,h.px,h.aQ,h.RW,h.vw,h.vh,{test:t=>"auto"===t,parse:t=>t}],p=t=>d.find(c(t));var f=i(62035);let m=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),v=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var g=i(62180);let y=t=>/^0[^.\s]+$/u.test(t);var x=i(65050),w=i(3855);let P=new Set(["brightness","contrast","saturate","opacity"]);function T(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(w.K)||[];if(!n)return t;let r=i.replace(n,""),s=P.has(e)?1:0;return n!==i&&(s*=100),e+"("+s+r+")"}let b=/\b([a-z-]*)\(.*?\)/gu,S={...x.P,getAnimatableNone:t=>{let e=t.match(b);return e?e.map(T).join(" "):t}};var A=i(7537);let M={...i(36050).j,color:A.$,backgroundColor:A.$,outlineColor:A.$,fill:A.$,stroke:A.$,borderColor:A.$,borderTopColor:A.$,borderRightColor:A.$,borderBottomColor:A.$,borderLeftColor:A.$,filter:S,WebkitFilter:S},D=t=>M[t];function E(t,e){let i=D(t);return i!==S&&(i=x.P),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let V=new Set(["auto","none","0"]);var C=i(71152);class k extends g.e{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&(n=n.trim(),(0,o.t)(n))){let r=function t(e,i,n=1){(0,f.k)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,s]=function(t){let e=v.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${i??n}`,r]}(e);if(!r)return;let a=window.getComputedStyle(i).getPropertyValue(r);if(a){let t=a.trim();return m(t)?parseFloat(t):t}return(0,o.t)(s)?t(s,i,n+1):s}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!l.z.has(i)||2!==t.length)return;let[n,r]=t,s=p(n),a=p(r);if(s!==a){if((0,C.mP)(s)&&(0,C.mP)(a))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else C.lw[i]&&(this.needsMeasurement=!0)}}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;(null===t[e]||("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||y(n)))&&i.push(e)}
1i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!V.has(e)&&(0,x.V)(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=E(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=C.lw[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let r=i.length-1,s=i[r];i[r]=C.lw[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEach(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}var R=i(87493),L=i(41927),j=i(26147),F=i(94357);let O=[...d,A.$,x.P],B=t=>O.find(c(t));var I=i(3697),W=i(94513),$=i(35938),U=i(96674),X=i(44563);let N={current:null},Y={current:!1},z=new WeakMap;var K=i(17743),H=i(31297);let Z=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class _{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,blockInitialAnimation:r,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=g.e,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=L.X.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,j.Wi.render(this.render,!1,!0))};let{latestValues:a,renderState:l}=s;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.blockInitialAnimation=!!r,this.isControllingVariants=(0,K.G)(e),this.isVariantNode=(0,K.M)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:u,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in h){let e=h[t];void 0!==a[t]&&(0,R.i)(e)&&e.set(a[t])}}mount(t){this.current=t,z.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),Y.current||function(){if(Y.current=!0,X.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>N.current=t.matches;t.addEventListener("change",e),e()}else N.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||N.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,j.Pn)(this.notifyUpdate),(0,j.Pn)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=r.G.has(t);n&&this.onBindTransform&&this.onBindTransform();let s=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&j.Wi.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{s(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in $.featureDefinitions){let e=$.featureDefinitions[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];
1e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,U.dO)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<Z.length;e++){let i=Z[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let r=e[n],s=i[n];if((0,R.i)(r))t.addValue(n,r);else if((0,R.i)(s))t.addValue(n,(0,F.BX)(r,{owner:t}));else if(s!==r){if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,(0,F.BX)(void 0!==e?e:r,{owner:t}))}}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,F.BX)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=i&&("string"==typeof i&&(m(i)||y(i))?i=parseFloat(i):!B(i)&&x.P.test(e)&&(i=E(t,e)),this.setBaseTarget(t,(0,R.i)(i)?i.get():i)),(0,R.i)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e;let{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=(0,H.o)(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||(0,R.i)(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new W.L),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){I.g.render(this.render)}}class q extends _{constructor(){super(...arguments),this.KeyframeResolver=k}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,R.i)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}var G=i(39991);function Q(t,{style:e,vars:i},n,r){let s;let o=t.style;for(s in e)o[s]=e[s];for(s in r?.applyProjectionStyles(o,n),i)o.setProperty(s,i[s])}var J=i(67971);class tt extends q{constructor(){super(...arguments),this.type="html",this.renderInstance=Q}readValueFromInstance(t,e){if(r.G.has(e))return this.projection?.isProjecting?(0,s.E$)(e):(0,s.RT)(t,e);{let i=window.getComputedStyle(t),n=((0,o.f)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,a.J)(t,e)}build(t,e,i){(0,G.r)(t,e,i.transformTemplate)}
1scrapeMotionValuesFromProps(t,e,i){return(0,J.U)(t,e,i)}}var te=i(17444),ti=i(59944);let tn=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);var tr=i(37380),ts=i(67098);class to extends q{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=U.dO}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(r.G.has(e)){let t=D(e);return t&&t.default||0}return e=tn.has(e)?e:(0,te.D)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return(0,ts.U)(t,e,i)}build(t,e,i){(0,ti.i)(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){!function(t,e,i,n){for(let i in Q(t,e,void 0,n),e.attrs)t.setAttribute(tn.has(i)?i:(0,te.D)(i),e.attrs[i])}(t,e,0,n)}mount(t){this.isSVGTag=(0,tr.a)(t.tagName),super.mount(t)}}var ta=i(64044);let tl=(t,e)=>(0,ta.q)(t)?new to(e):new tt(e,{allowProjection:t!==n.Fragment})},17444:function(t,e,i){i.d(e,{D:function(){return n}});let n=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},64044:function(t,e,i){i.d(e,{q:function(){return r}});let n=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function r(t){if("string"!=typeof t||t.includes("-"));else if(n.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}},39991:function(t,e,i){i.d(e,{r:function(){return u}});var n=i(56440),r=i(38596);let s=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var o=i(36050);let a={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=n._.length;function u(t,e,i){let{style:u,vars:h,transformOrigin:c}=t,d=!1,p=!1;for(let t in e){let i=e[t];if(n.G.has(t)){d=!0;continue}if((0,r.f)(t)){h[t]=i;continue}{let e=s(i,o.j[t]);t.startsWith("origin")?(p=!0,c[t]=e):u[t]=e}}if(!e.transform&&(d||i?u.transform=function(t,e,i){let r="",u=!0;for(let h=0;h<l;h++){let l=n._[h],c=t[l];if(void 0===c)continue;let d=!0;if(!(d="number"==typeof c?c===(l.startsWith("scale")?1:0):0===parseFloat(c))||i){let t=s(c,o.j[l]);if(!d){u=!1;let e=a[l]||l;r+=`${e}(${t}) `}i&&(e[l]=t)}}return r=r.trim(),i?r=i(e,u?"":r):u&&(r="none"),r}(e,t.transform,i):u.transform&&(u.transform="none")),p){let{originX:t="50%",originY:e="50%",originZ:i=0}=c;u.transformOrigin=`${t} ${e} ${i}`}}},67971:function(t,e,i){i.d(e,{U:function(){return s}});var n=i(87493),r=i(77556);function s(t,e,i){let{style:s}=t,o={};for(let a in s)((0,n.i)(s[a])||e.style&&(0,n.i)(e.style[a])||(0,r.j)(a,t)||i?.getValue(a)?.liveStyle!==void 0)&&(o[a]=s[a]);return o}},59944:function(t,e,i){i.d(e,{i:function(){return a}});var n=i(39991),r=i(92854);let s={offset:"stroke-dashoffset",array:"stroke-dasharray"},o={offset:"strokeDashoffset",array:"strokeDasharray"};function a(t,{attrX:e,attrY:i,attrScale:a,pathLength:l,pathSpacing:u=1,pathOffset:h=0,...c},d,p,f){if((0,n.r)(t,c,p),d){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:m,style:v}=t;m.transform&&(v.transform=m.transform,delete m.transform),(v.transform||m.transformOrigin)&&(v.transformOrigin=m.transformOrigin??"50% 50%",delete m.transformOrigin),v.transform&&(v.transformBox=f?.transformBox??"fill-box",delete m.transformBox),void 0!==e&&(m.x=e),void 0!==i&&(m.y=i),void 0!==a&&(m.scale=a),void 0!==l&&function(t,e,i=1,n=0,a=!0){t.pathLength=1;let l=a?s:o;t[l.offset]=r.px.transform(-n);let u=r.px.transform(e),h=r.px.transform(i);t[l.array]=`${u} ${h}`}(m,l,u,h,!1)}},37380:function(t,e,i){i.d(e,{a:function(){return n}});let n=t=>"string"==typeof t&&"svg"===t.toLowerCase()},67098:function(t,e,i){i.d(e,{U:function(){return o}});var n=i(87493),r=i(56440),s=i(67971);function o(t,e,i){let o=(0,s.U)(t,e,i);for(let i in t)((0,n.i)(t[i])||(0,n.i)(e[i]))&&(o[-1!==r._.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return o}}
1,17743:function(t,e,i){i.d(e,{G:function(){return o},M:function(){return a}});var n=i(20569),r=i(74115),s=i(72589);function o(t){return(0,n.H)(t.animate)||s.V.some(e=>(0,r.$)(t[e]))}function a(t){return!!(o(t)||t.variants)}},74115:function(t,e,i){i.d(e,{$:function(){return n}});function n(t){return"string"==typeof t||Array.isArray(t)}},31297:function(t,e,i){function n(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function r(t,e,i,r){if("function"==typeof e){let[s,o]=n(r);e=e(void 0!==i?i:t.custom,s,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,o]=n(r);e=e(void 0!==i?i:t.custom,s,o)}return e}i.d(e,{o:function(){return r}})},72589:function(t,e,i){i.d(e,{V:function(){return r},e:function(){return n}});let n=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],r=["initial",...n]},44563:function(t,e,i){i.d(e,{j:function(){return n}});let n="undefined"!=typeof window},53576:function(t,e,i){i.d(e,{h:function(){return r}});var n=i(2265);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},11534:function(t,e,i){i.d(e,{L:function(){return r}});var n=i(2265);let r=i(44563).j?n.useLayoutEffect:n.useEffect},1327:function(t,e,i){i.d(e,{K:function(){return s}});var n=i(21457),r=i(87493);function s(t,e){let i=t.getValue("willChange");if((0,r.i)(i)&&i.add)return i.add(e);if(!i&&n.c.WillChange){let i=new n.c.WillChange("auto");t.addValue("willChange",i),i.add(e)}}},62180:function(t,e,i){i.d(e,{e:function(){return d},m:function(){return c}});var n=i(71152),r=i(26147);let s=new Set,o=!1,a=!1,l=!1;function u(){if(a){let t=Array.from(s).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=(0,n.Ei)(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}a=!1,o=!1,s.forEach(t=>t.complete(l)),s.clear()}function h(){s.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(a=!0)})}function c(){l=!0,h(),u(),l=!1}class d{constructor(t,e,i,n,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(s.add(this),o||(o=!0,r.Wi.read(h),r.Wi.resolveKeyframes(u))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let r=n?.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===r&&n.set(t[0])}!function(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),s.delete(this)}cancel(){"scheduled"===this.state&&(s.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},42880:function(t,e,i){i.d(e,{Y:function(){return s}});var n=i(81645),r=i(33811);function s(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let o=(0,n.Y)(0,e,s);t.push((0,r.t)(i,1,o))}}(e,t.length-1),e}},71152:function(t,e,i){i.d(e,{Ei:function(){return h},lw:function(){return c},mP:function(){return a}});var n=i(1806),r=i(56440),s=i(61799),o=i(92854);let a=t=>t===s.Rx||t===o.px,l=new Set(["x","y","z"]),u=r._.filter(t=>!l.has(t));function h(t){let e=[];return u.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),e}let c={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>(0,n.WK)(e,"x"),y:(t,{transform:e})=>(0,n.WK)(e,"y")};c.translateX=c.x,c.translateY=c.y}
1,25551:function(t,e,i){i.d(e,{e:function(){return n}});function n(t,e){return t?.[e]??t?.default??t}},38596:function(t,e,i){i.d(e,{f:function(){return r},t:function(){return o}});let n=t=>e=>"string"==typeof e&&e.startsWith(t),r=n("--"),s=n("var(--"),o=t=>!!s(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},62862:function(t,e,i){i.d(e,{Z:function(){return o}});var n=i(21457);let r=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var s=i(20557);function o(t,e){let i=!1,o=!0,a={delta:0,timestamp:0,isProcessing:!1},l=()=>i=!0,u=r.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,r=!1,o=!1,a=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},u=0;function h(e){a.has(e)&&(c.schedule(e),t()),u++,e(l)}let c={schedule:(t,e=!1,s=!1)=>{let o=s&&r?i:n;return e&&a.add(t),o.has(t)||o.add(t),t},cancel:t=>{n.delete(t),a.delete(t)},process:t=>{if(l=t,r){o=!0;return}r=!0,[i,n]=[n,i],i.forEach(h),e&&s.f.value&&s.f.value.frameloop[e].push(u),u=0,i.clear(),r=!1,o&&(o=!1,c.process(t))}};return c}(l,e?i:void 0),t),{}),{setup:h,read:c,resolveKeyframes:d,preUpdate:p,update:f,preRender:m,render:v,postRender:g}=u,y=()=>{let r=n.c.useManualTiming?a.timestamp:performance.now();i=!1,n.c.useManualTiming||(a.delta=o?1e3/60:Math.max(Math.min(r-a.timestamp,40),1)),a.timestamp=r,a.isProcessing=!0,h.process(a),c.process(a),d.process(a),p.process(a),f.process(a),m.process(a),v.process(a),g.process(a),a.isProcessing=!1,i&&e&&(o=!1,t(y))},x=()=>{i=!0,o=!0,a.isProcessing||t(y)};return{schedule:r.reduce((t,e)=>{let n=u[e];return t[e]=(t,e=!1,r=!1)=>(i||x(),n.schedule(t,e,r)),t},{}),cancel:t=>{for(let e=0;e<r.length;e++)u[r[e]].cancel(t)},state:a,steps:u}}},26147:function(t,e,i){i.d(e,{Pn:function(){return s},Wi:function(){return r},frameData:function(){return o},yL:function(){return a}});var n=i(56277);let{schedule:r,cancel:s,state:o,steps:a}=(0,i(62862).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.Z,!0)},3697:function(t,e,i){i.d(e,{g:function(){return n}});let{schedule:n,cancel:r}=(0,i(62862).Z)(queueMicrotask,!1)},41927:function(t,e,i){let n;i.d(e,{X:function(){return a}});var r=i(21457),s=i(26147);function o(){n=void 0}let a={now:()=>(void 0===n&&a.set(s.frameData.isProcessing||r.c.useManualTiming?s.frameData.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(o)}}},25888:function(t,e,i){i.d(e,{g:function(){return r},r:function(){return n}});let n={x:!1,y:!1};function r(){return n.x||n.y}},25602:function(t,e,i){i.d(e,{D:function(){return n}});let n=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary},1806:function(t,e,i){i.d(e,{E$:function(){return h},RT:function(){return d},WK:function(){return c}});let n=t=>180*t/Math.PI,r=t=>o(n(Math.atan2(t[1],t[0]))),s={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:r,rotateZ:r,skewX:t=>n(Math.atan(t[1])),skewY:t=>n(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},o=t=>((t%=360)<0&&(t+=360),t),a=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),u={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:a,scaleY:l,scale:t=>(a(t)+l(t))/2,rotateX:t=>o(n(Math.atan2(t[6],t[5]))),rotateY:t=>o(n(Math.atan2(-t[2],t[0]))),rotateZ:r,rotate:r,skewX:t=>n(Math.atan(t[4])),skewY:t=>n(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function h(t){return t.includes("scale")?1:0}function c(t,e){let i,n;if(!t||"none"===t)return h(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=u,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=s,n=e}if(!n)return h(e);let o=i[e],a=n[1].split(",").map(p);return"function"==typeof o?o(a):a[o]}let d=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return c(i,e)};function p(t){return parseFloat(t.trim())}},14151:function(t,e,i){i.d(e,{z:function(){return n}});let n=new Set(["width","height","top","left","right","bottom",...i(56440)._])},56440:function(t,e,i){i.d(e,{G:function(){return r},_:function(){return n}});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r=new Set(n)}
1,35818:function(t,e,i){i.d(e,{P:function(){return n}});let n={layout:0,mainThread:0,waapi:0}},20557:function(t,e,i){i.d(e,{f:function(){return n}});let n={value:null,addProjectionMetrics:null}},28460:function(t,e,i){i.d(e,{s:function(){return h}});var n=i(21457),r=i(56277),s=i(24750),o=i(62035),a=i(81645),l=i(21865),u=i(63723);function h(t,e,{clamp:i=!0,ease:h,mixer:c}={}){let d=t.length;if((0,o.k)(d===e.length,"Both input and output ranges must be the same length","range-length"),1===d)return()=>e[0];if(2===d&&e[0]===e[1])return()=>e[1];let p=t[0]===t[1];t[0]>t[d-1]&&(t=[...t].reverse(),e=[...e].reverse());let f=function(t,e,i){let o=[],a=i||n.c.mix||u.C,l=t.length-1;for(let i=0;i<l;i++){let n=a(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||r.Z:e;n=(0,s.z)(t,n)}o.push(n)}return o}(e,h,c),m=f.length,v=i=>{if(p&&i<t[0])return e[0];let n=0;if(m>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=(0,a.Y)(t[n],t[n+1],i);return f[n](r)};return i?e=>v((0,l.u)(t[0],t[d-1],e)):v}},13537:function(t,e,i){i.d(e,{R:function(){return r}});var n=i(41464);function r(t){return(0,n.K)(t)&&"offsetHeight"in t}},51413:function(t,e,i){i.d(e,{v:function(){return r}});var n=i(41464);function r(t){return(0,n.K)(t)&&"ownerSVGElement"in t}},63723:function(t,e,i){i.d(e,{C:function(){return A}});var n=i(24750),r=i(62035),s=i(38596),o=i(7537),a=i(65050),l=i(31664),u=i(32017);function h(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var c=i(80230);function d(t,e){return i=>i>0?e:t}var p=i(33811);let f=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},m=[l.$,c.m,u.J],v=t=>m.find(e=>e.test(t));function g(t){let e=v(t);if((0,r.K)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===u.J&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,s=0,o=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,a=2*i-n;r=h(a,n,t+1/3),s=h(a,n,t),o=h(a,n,t-1/3)}else r=s=o=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(i)),i}let y=(t,e)=>{let i=g(t),n=g(e);if(!i||!n)return d(t,e);let r={...i};return t=>(r.red=f(i.red,n.red,t),r.green=f(i.green,n.green,t),r.blue=f(i.blue,n.blue,t),r.alpha=(0,p.t)(i.alpha,n.alpha,t),c.m.transform(r))},x=new Set(["none","hidden"]);function w(t,e){return i=>(0,p.t)(t,e,i)}function P(t){return"number"==typeof t?w:"string"==typeof t?(0,s.t)(t)?d:o.$.test(t)?y:S:Array.isArray(t)?T:"object"==typeof t?o.$.test(t)?y:b:d}function T(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>P(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function b(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=P(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let S=(t,e)=>{let i=a.P.createTransformer(e),s=(0,a.V)(t),o=(0,a.V)(e);return s.indexes.var.length===o.indexes.var.length&&s.indexes.color.length===o.indexes.color.length&&s.indexes.number.length>=o.indexes.number.length?x.has(t)&&!o.values.length||x.has(e)&&!s.values.length?x.has(t)?i=>i<=0?t:e:i=>i>=1?e:t:(0,n.z)(T(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let s=e.types[r],o=t.indexes[s][n[s]],a=t.values[o]??0;i[r]=a,n[s]++}return i}(s,o),o.values),i):((0,r.K)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),d(t,e))};function A(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,p.t)(t,e,i):P(t)(t,e)}},33811:function(t,e,i){i.d(e,{t:function(){return n}});let n=(t,e,i)=>t+(e-t)*i},59960:function(t,e,i){i.d(e,{I:function(){return n}});function n(t,e,i){if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let r=i?.[t]??n.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t)}},9339:function(t,e,i){i.d(e,{t:function(){return n}});let n=(0,i(90107).X)(()=>void 0!==window.ScrollTimeline)}
1,94357:function(t,e,i){i.d(e,{BX:function(){return h},S1:function(){return l}});var n=i(94513),r=i(88294),s=i(41927),o=i(26147);let a=t=>!isNaN(parseFloat(t)),l={current:void 0};class u{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=s.X.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=s.X.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=a(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new n.L);let i=this.events[t].add(e);return"change"===t?()=>{i(),o.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=s.X.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,r.R)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function h(t,e){return new u(t,e)}},31664:function(t,e,i){i.d(e,{$:function(){return r}});var n=i(80230);let r={test:(0,i(48017).i)("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:n.m.transform}},32017:function(t,e,i){i.d(e,{J:function(){return a}});var n=i(61799),r=i(92854),s=i(51224),o=i(48017);let a={test:(0,o.i)("hsl","hue"),parse:(0,o.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+r.aQ.transform((0,s.N)(e))+", "+r.aQ.transform((0,s.N)(i))+", "+(0,s.N)(n.Fq.transform(o))+")"}},7537:function(t,e,i){i.d(e,{$:function(){return o}});var n=i(31664),r=i(32017),s=i(80230);let o={test:t=>s.m.test(t)||n.$.test(t)||r.J.test(t),parse:t=>s.m.test(t)?s.m.parse(t):r.J.test(t)?r.J.parse(t):n.$.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.m.transform(t):r.J.transform(t),getAnimatableNone:t=>{let e=o.parse(t);return e.alpha=0,o.transform(e)}}},80230:function(t,e,i){i.d(e,{m:function(){return u}});var n=i(21865),r=i(61799),s=i(51224),o=i(48017);let a=t=>(0,n.u)(0,255,t),l={...r.Rx,transform:t=>Math.round(a(t))},u={test:(0,o.i)("rgb","red"),parse:(0,o.d)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(i)+", "+(0,s.N)(r.Fq.transform(n))+")"}}
1,48017:function(t,e,i){i.d(e,{i:function(){return s},d:function(){return o}});var n=i(3855);let r=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>i=>!!("string"==typeof i&&r.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),o=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[s,o,a,l]=r.match(n.K);return{[t]:parseFloat(s),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},65050:function(t,e,i){i.d(e,{V:function(){return h},P:function(){return f}});var n=i(7537);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=i(3855),o=i(51224);let a="number",l="color",u=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function h(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},s=[],o=0,h=e.replace(u,t=>(n.$.test(t)?(r.color.push(o),s.push(l),i.push(n.$.parse(t))):t.startsWith("var(")?(r.var.push(o),s.push("var"),i.push(t)):(r.number.push(o),s.push(a),i.push(parseFloat(t))),++o,"${}")).split("${}");return{values:i,split:h,indexes:r,types:s}}function c(t){return h(t).values}function d(t){let{split:e,types:i}=h(t),r=e.length;return t=>{let s="";for(let u=0;u<r;u++)if(s+=e[u],void 0!==t[u]){let e=i[u];e===a?s+=(0,o.N)(t[u]):e===l?s+=n.$.transform(t[u]):s+=t[u]}return s}}let p=t=>"number"==typeof t?0:n.$.test(t)?n.$.getAnimatableNone(t):t,f={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(s.K)?.length||0)+(t.match(r)?.length||0)>0},parse:c,createTransformer:d,getAnimatableNone:function(t){let e=c(t);return d(t)(e.map(p))}}},36050:function(t,e,i){i.d(e,{j:function(){return a}});var n=i(61799);let r={...n.Rx,transform:Math.round};var s=i(92854);let o={rotate:s.RW,rotateX:s.RW,rotateY:s.RW,rotateZ:s.RW,scale:n.bA,scaleX:n.bA,scaleY:n.bA,scaleZ:n.bA,skew:s.RW,skewX:s.RW,skewY:s.RW,distance:s.px,translateX:s.px,translateY:s.px,translateZ:s.px,x:s.px,y:s.px,z:s.px,perspective:s.px,transformPerspective:s.px,opacity:n.Fq,originX:s.$C,originY:s.$C,originZ:s.px},a={borderWidth:s.px,borderTopWidth:s.px,borderRightWidth:s.px,borderBottomWidth:s.px,borderLeftWidth:s.px,borderRadius:s.px,radius:s.px,borderTopLeftRadius:s.px,borderTopRightRadius:s.px,borderBottomRightRadius:s.px,borderBottomLeftRadius:s.px,width:s.px,maxWidth:s.px,height:s.px,maxHeight:s.px,top:s.px,right:s.px,bottom:s.px,left:s.px,padding:s.px,paddingTop:s.px,paddingRight:s.px,paddingBottom:s.px,paddingLeft:s.px,margin:s.px,marginTop:s.px,marginRight:s.px,marginBottom:s.px,marginLeft:s.px,backgroundPositionX:s.px,backgroundPositionY:s.px,...o,zIndex:r,fillOpacity:n.Fq,strokeOpacity:n.Fq,numOctaves:r}},61799:function(t,e,i){i.d(e,{Fq:function(){return s},Rx:function(){return r},bA:function(){return o}});var n=i(21865);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...r,transform:t=>(0,n.u)(0,1,t)},o={...r,default:1}},92854:function(t,e,i){i.d(e,{$C:function(){return u},RW:function(){return r},aQ:function(){return s},px:function(){return o},vh:function(){return a},vw:function(){return l}});let n=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),r=n("deg"),s=n("%"),o=n("px"),a=n("vh"),l=n("vw"),u={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},3855:function(t,e,i){i.d(e,{K:function(){return n}});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},51224:function(t,e,i){i.d(e,{N:function(){return n}});let n=t=>Math.round(1e5*t)/1e5},87493:function(t,e,i){i.d(e,{i:function(){return n}});let n=t=>!!(t&&t.getVelocity)},98425:function(t,e,i){function n(t,e){-1===t.indexOf(e)&&t.push(e)}function r(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{cl:function(){return r},y4:function(){return n}})},21865:function(t,e,i){i.d(e,{u:function(){return n}});let n=(t,e,i)=>i>e?e:i<t?t:i},52927:function(t,e,i){i.d(e,{Bn:function(){return o},X7:function(){return a},Z7:function(){return s}});var n=i(52333),r=i(79015);let s=t=>1-Math.sin(Math.acos(t)),o=(0,r.M)(s),a=(0,n.o)(s)}
1,60068:function(t,e,i){i.d(e,{_:function(){return s}});var n=i(56277);let r=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function s(t,e,i,s){if(t===e&&i===s)return n.Z;let o=e=>(function(t,e,i,n,s){let o,a;let l=0;do(o=r(a=e+(i-e)/2,n,s)-t)>0?i=a:e=a;while(Math.abs(o)>1e-7&&++l<12);return a})(e,0,1,t,i);return t=>0===t||1===t?t:r(o(t),e,s)}},94943:function(t,e,i){i.d(e,{Vv:function(){return s},YQ:function(){return r},mZ:function(){return o}});var n=i(60068);let r=(0,n._)(.42,0,1,1),s=(0,n._)(0,0,.58,1),o=(0,n._)(.42,0,.58,1)},52333:function(t,e,i){i.d(e,{o:function(){return n}});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},79015:function(t,e,i){i.d(e,{M:function(){return n}});let n=t=>e=>1-t(1-e)},62035:function(t,e,i){i.d(e,{K:function(){return n},k:function(){return r}});let n=()=>{},r=()=>{}},21457:function(t,e,i){i.d(e,{c:function(){return n}});let n={}},41464:function(t,e,i){i.d(e,{K:function(){return n}});function n(t){return"object"==typeof t&&null!==t}},90107:function(t,e,i){i.d(e,{X:function(){return n}});function n(t){let e;return()=>(void 0===e&&(e=t()),e)}},56277:function(t,e,i){i.d(e,{Z:function(){return n}});let n=t=>t},24750:function(t,e,i){i.d(e,{z:function(){return r}});let n=(t,e)=>i=>e(t(i)),r=(...t)=>t.reduce(n)},81645:function(t,e,i){i.d(e,{Y:function(){return n}});let n=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n}},94513:function(t,e,i){i.d(e,{L:function(){return r}});var n=i(98425);class r{constructor(){this.subscriptions=[]}add(t){return(0,n.y4)(this.subscriptions,t),()=>(0,n.cl)(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},29711:function(t,e,i){i.d(e,{X:function(){return r},w:function(){return n}});let n=t=>1e3*t,r=t=>t/1e3},88294:function(t,e,i){i.d(e,{R:function(){return n}});function n(t,e){return e?1e3/e*t:0}}}]);

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.