"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[48281],{400414:function(t,e,i){i.d(e,{G:function(){return r}});var n=i(652983),r=(null==globalThis?void 0:globalThis.document)?n.useLayoutEffect:n.useEffect},61098:function(t,e,i){i.d(e,{t:function(){return n}});let n=new Set(["opacity","clipPath","filter","transform"])},2796:function(t,e,i){i.d(e,{v:function(){return tE}});var n=i(143995),r=i(271194);let s={type:"spring",stiffness:500,damping:25,restSpeed:10},o=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),a={type:"keyframes",duration:.8},l={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},u=(t,{keyframes:e})=>e.length>2?a:r.G.has(t)?t.startsWith("scale")?o(e[1]):s:l;var h=i(391667),c=i(202940);let d={current:!1},p=t=>null!==t;function m(t,{repeat:e,repeatType:i="loop"},n){let r=t.filter(p),s=e&&"loop"!==i&&e%2==1?0:r.length-1;return s&&void 0!==n?n:r[s]}var f=i(717882),v=i(886363),g=i(950869);function y(t){let e;return()=>(void 0===e&&(e=t()),e)}var x=i(633564),P=i(679940),w=i(308823),T=i(161168);let b=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(T.P.test(t)||"0"===t)&&!t.startsWith("url("));class S{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,...o},this.updateFinishedPromise()}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,P.m)(),this._resolved}onKeyframesResolved(t,e){this.hasAttemptedResolve=!0;let{name:i,type:n,velocity:r,delay:s,onComplete:o,onUpdate:a,isGenerator:l}=this.options;if(!l&&!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=b(r,e),a=b(s,e);return(0,w.K)(o===a,`You are trying to animate ${e} from "${r}" to "${s}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${s} via the \`style\` property.`),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i{this.resolveFinishedPromise=t})}}var A=i(214743);function V(t,e,i){let n=Math.max(e-5,0);return(0,A.R)(i-t(n),e-n)}var C=i(853400);function M(t,e){return t*Math.sqrt(1-e*e)}let D=["duration","bounce"],E=["stiffness","damping","mass"];function R(t,e){return e.some(e=>void 0!==t[e])}function k({keyframes:t,restDelta:e,restSpeed:i,...r}){let s;let o=t[0],a=t[t.length-1],l={done:!1,value:o},{stiffness:u,damping:h,mass:c,duration:d,velocity:p,isResolvedFromDuration:m}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!R(t,E)&&R(t,D)){let i=function({duration:t=800,bounce:e=.25,velocity:i=0,mass:r=1}){let s,o;(0,w.K)(t<=(0,n.w)(10),"Spring duration must be 10 seconds or less");let a=1-e;a=(0,C.u)(.05,1,a),t=(0,C.u)(.01,10,(0,n.X)(t)),a<1?(s=e=>{let n=e*a,r=n*t;return .001-(n-i)/M(e,a)*Math.exp(-r)},o=e=>{let n=e*a*t,r=Math.pow(a,2)*Math.pow(e,2)*t,o=M(Math.pow(e,2),a);return(n*i+i-r)*Math.exp(-n)*(-s(e)+.001>0?-1:1)/o}):(s=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),o=e=>t*t*(i-e)*Math.exp(-e*t));let l=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(s,o,5/t);if(t=(0,n.w)(t),isNaN(l))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(l,2)*r;return{stiffness:e,damping:2*a*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...r,velocity:-(0,n.X)(r.velocity||0)}),f=p||0,v=h/(2*Math.sqrt(u*c)),g=a-o,y=(0,n.X)(Math.sqrt(u/c)),x=5>Math.abs(g);if(i||(i=x?.01:2),e||(e=x?.005:.5),v<1){let t=M(y,v);s=e=>a-Math.exp(-v*y*e)*((f+v*y*g)/t*Math.sin(t*e)+g*Math.cos(t*e))}else if(1===v)s=t=>a-Math.exp(-y*t)*(g+(f+y*g)*t);else{let t=y*Math.sqrt(v*v-1);s=e=>{let i=Math.exp(-v*y*e),n=Math.min(t*e,300);return a-i*((f+v*y*g)*Math.sinh(n)+t*g*Math.cosh(n))/t}}return{calculatedDuration:m&&d||null,next:t=>{let n=s(t);if(m)l.done=t>=d;else{let r=f;0!==t&&(r=v<1?V(s,t,n):0);let o=Math.abs(r)<=i,u=Math.abs(a-n)<=e;l.done=o&&u}return l.value=l.done?a:n,l}}}function j({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],m={done:!1,value:p},f=t=>void 0!==a&&tl,v=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)-g*Math.exp(-t/n),w=t=>x+P(t),T=t=>{let e=P(t),i=w(t);m.done=Math.abs(e)<=u,m.value=m.done?x:i},b=t=>{f(m.value)&&(c=t,d=k({keyframes:[m.value,v(m.value)],velocity:V(w,t,m.value),damping:r,stiffness:s,restDelta:u,restSpeed:h}))};return b(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,T(t),b(t)),void 0!==c&&t>=c)?d.next(t-c):(e||T(t),m)}}}var L=i(283322);let F=(0,L._)(.42,0,1,1),B=(0,L._)(0,0,.58,1),W=(0,L._)(.42,0,.58,1),O=t=>Array.isArray(t)&&"number"!=typeof t[0];var $=i(780969),U=i(143900),I=i(510265);let N=(0,L._)(.33,1.53,.69,.99),X=(0,I.M)(N),z=(0,U.o)(X),K={linear:x.Z,easeIn:F,easeInOut:W,easeOut:B,circIn:$.Z7,circInOut:$.X7,circOut:$.Bn,backIn:X,backInOut:z,backOut:N,anticipate:t=>(t*=2)<1?.5*X(t):.5*(2-Math.pow(2,-10*(t-1)))},H=t=>{if(Array.isArray(t)){(0,w.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,n,r]=t;return(0,L._)(e,i,n,r)}return"string"==typeof t?((0,w.k)(void 0!==K[t],`Invalid easing type '${t}'`),K[t]):t};var Y=i(629713),Z=i(140583),G=i(888647);function _(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 q=i(182921),J=i(726140),Q=i(129922);function tt(t,e){return i=>i>0?e:t}let te=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},ti=[q.$,J.m,Q.J],tn=t=>ti.find(e=>e.test(t));function tr(t){let e=tn(t);if((0,w.K)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===Q.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=_(a,n,t+1/3),s=_(a,n,t),o=_(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 ts=(t,e)=>{let i=tr(t),n=tr(e);if(!i||!n)return tt(t,e);let r={...i};return t=>(r.red=te(i.red,n.red,t),r.green=te(i.green,n.green,t),r.blue=te(i.blue,n.blue,t),r.alpha=(0,G.t)(i.alpha,n.alpha,t),J.m.transform(r))};var to=i(909787),ta=i(275754);let tl=new Set(["none","hidden"]);function tu(t,e){return i=>(0,G.t)(t,e,i)}function th(t){return"number"==typeof t?tu:"string"==typeof t?(0,ta.t)(t)?tt:to.$.test(t)?ts:tp:Array.isArray(t)?tc:"object"==typeof t?to.$.test(t)?ts:td:tt}function tc(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>th(t)(t,e[i]));return t=>{for(let e=0;e{for(let e in n)i[e]=n[e](t);return i}}let tp=(t,e)=>{let i=T.P.createTransformer(e),n=(0,T.V)(t),r=(0,T.V)(e);return n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length?tl.has(t)&&!r.values.length||tl.has(e)&&!n.values.length?tl.has(t)?i=>i<=0?t:e:i=>i>=1?e:t:(0,Y.z)(tc(function(t,e){var i;let n=[],r={color:0,var:0,number:0};for(let s=0;se[0];if(2===s&&t[0]===t[1])return()=>e[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let o=function(t,e,i){let n=[],r=i||tm,s=t.length-1;for(let i=0;i{let i=0;if(a>1)for(;il((0,C.u)(t[0],t[s-1],e)):l}((i&&i.length===e.length?i:function(t){let e=[0];return function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let r=(0,Z.Y)(0,e,n);t.push((0,G.t)(i,1,r))}}(e,t.length-1),e}(e)).map(e=>e*t),e,{ease:Array.isArray(r)?r:e.map(()=>r||W).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=o(e),s.done=e>=t,s)}}let tv=t=>{let e=({timestamp:e})=>t(e);return{start:()=>f.Wi.update(e,!0),stop:()=>(0,f.Pn)(e),now:()=>f.frameData.isProcessing?f.frameData.timestamp:v.X.now()}},tg={decay:j,inertia:j,tween:tf,keyframes:tf,spring:k},ty=t=>t/100;class tx extends S{constructor({KeyframeResolver:t=P.e,...e}){super(e),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};let{name:i,motionValue:n,keyframes:r}=this.options,s=(t,e)=>this.onKeyframesResolved(t,e);i&&n&&n.owner?this.resolver=n.owner.resolveKeyframes(r,s,i,n):this.resolver=new t(r,s,i,n),this.resolver.scheduleResolve()}initPlayback(t){let e,i;let{type:n="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:o,velocity:a=0}=this.options,l=tg[n]||tf;l!==tf&&"number"!=typeof t[0]&&(e=(0,Y.z)(ty,tm(t[0],t[1])),t=[0,100]);let u=l({...this.options,keyframes:t});"mirror"===o&&(i=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=function(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}(u));let{calculatedDuration:h}=u,c=h+s;return{generator:u,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:h,resolvedDuration:c,totalDuration:c*(r+1)-s}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:n,generator:r,mirroredGenerator:s,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:h}=i;if(null===this.startTime)return r.next(0);let{delay:c,repeat:d,repeatType:p,repeatDelay:f,onUpdate:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let g=this.currentTime-c*(this.speed>=0?1:-1),y=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let x=this.currentTime,P=r;if(d){let t=Math.min(this.currentTime,u)/h,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===p?(i=1-i,f&&(i-=f/h)):"mirror"===p&&(P=s)),x=(0,C.u)(0,1,i)*h}let w=y?{done:!1,value:a[0]}:P.next(x);o&&(w.value=o(w.value));let{done:T}=w;y||null===l||(T=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let b=null===this.holdTime&&("finished"===this.state||"running"===this.state&&T);return b&&void 0!==n&&(w.value=m(a,this.options,n)),v&&v(w.value),b&&this.finish(),w}get duration(){let{resolved:t}=this;return t?(0,n.X)(t.calculatedDuration):0}get time(){return(0,n.X)(this.currentTime)}set time(t){t=(0,n.w)(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,n.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=tv,onPlay:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let i=this.driver.now();null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime&&"finished"!==this.state||(this.startTime=i),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(t=this.currentTime)&&void 0!==t?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}var tP=i(61098);let tw=t=>Array.isArray(t)&&"number"==typeof t[0],tT=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,tb={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tT([0,.65,.55,1]),circOut:tT([.55,0,1,.45]),backIn:tT([.31,.01,.66,-.59]),backOut:tT([.33,1.53,.69,.99])};function tS(t){return tA(t)||tb.easeOut}function tA(t){if(t)return tw(t)?tT(t):Array.isArray(t)?t.map(tS):tb[t]}let tV=y(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class tC extends S{constructor(t){super(t);let{name:e,motionValue:i,keyframes:n}=this.options;this.resolver=new g.s(n,(t,e)=>this.onKeyframesResolved(t,e),e,i),this.resolver.scheduleResolve()}initPlayback(t,e){var i,n;let{duration:r=300,times:s,ease:o,type:a,motionValue:l,name:u}=this.options;if(!(null===(i=l.owner)||void 0===i?void 0:i.current))return!1;if("spring"===(n=this.options).type||!function t(e){return!!(!e||"string"==typeof e&&e in tb||tw(e)||Array.isArray(e)&&e.every(t))}(n.ease)){let{onComplete:e,onUpdate:i,motionValue:n,...l}=this.options,u=function(t,e){let i=new tx({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:t[0]},r=[],s=0;for(;!n.done&&s<2e4;)r.push((n=i.sample(s)).value),s+=10;return{times:void 0,keyframes:r,duration:s-10,ease:"linear"}}(t,l);1===(t=u.keyframes).length&&(t[1]=t[0]),r=u.duration,s=u.times,o=u.ease,a="keyframes"}let h=function(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a,times:l}={}){let u={[e]:i};l&&(u.offset=l);let h=tA(a);return Array.isArray(h)&&(u.easing=h),t.animate(u,{delay:n,duration:r,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(l.owner.current,u,t,{...this.options,duration:r,times:s,ease:o});return h.startTime=v.X.now(),this.pendingTimeline?(h.timeline=this.pendingTimeline,this.pendingTimeline=void 0):h.onfinish=()=>{let{onComplete:i}=this.options;l.set(m(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:r,times:s,type:a,ease:o,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return(0,n.X)(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return(0,n.X)(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=(0,n.w)(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return x.Z;let{animation:i}=e;i.timeline=t,i.onfinish=null}else this.pendingTimeline=t;return x.Z}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:i,duration:r,type:s,ease:o,times:a}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:l,...u}=this.options,h=new tx({...u,keyframes:i,duration:r,type:s,ease:o,times:a,isGenerator:!0}),c=(0,n.w)(this.time);t.setWithVelocity(h.sample(c-10).value,h.sample(c).value,10)}let{onStop:l}=this.options;l&&l(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o}=t;return tV()&&i&&tP.t.has(i)&&e&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}}let tM=y(()=>void 0!==window.ScrollTimeline);class tD{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,e){return Promise.all(this.animations).then(t).catch(e)}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i{if(!tM()||!e.attachTimeline)return e.pause(),function(t,e){let i;let n=()=>{let{currentTime:n}=e,r=(null===n?0:n.value)/100;i!==r&&t(r),i=r};return f.Wi.update(n,!0),()=>(0,f.Pn)(n)}(t=>{e.time=e.duration*t},t);e.attachTimeline(t)});return()=>{e.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get duration(){let t=0;for(let e=0;ee[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}let tE=(t,e,i,r={},s,o,a)=>l=>{let p=(0,h.e)(r,t)||{},v=p.delay||r.delay||0,{elapsed:g=0}=r;g-=(0,n.w)(v);let y={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...p,delay:-g,onUpdate:t=>{e.set(t),p.onUpdate&&p.onUpdate(t)},onComplete:()=>{l(),p.onComplete&&p.onComplete(),a&&a()},onStop:a,name:t,motionValue:e,element:o?void 0:s};(0,h.r)(p)||(y={...y,...u(t,y)}),y.duration&&(y.duration=(0,n.w)(y.duration)),y.repeatDelay&&(y.repeatDelay=(0,n.w)(y.repeatDelay)),void 0!==y.from&&(y.keyframes[0]=y.from);let x=!1;if(!1!==y.type&&(0!==y.duration||y.repeatDelay)||(y.duration=0,0!==y.delay||(x=!0)),(d.current||c.c.skipAnimations)&&(x=!0,y.duration=0,y.delay=0),x&&!o&&void 0!==e.get()){let t=m(y.keyframes,p);if(void 0!==t)return f.Wi.update(()=>{y.onUpdate(t),y.onComplete()}),new tD([])}return!o&&tC.supports(y)?new tC(y):new tx(y)}},839399:function(t,e,i){i.d(e,{d:function(){return m}});var n=i(161283),r=i(271194),s=i(2796),o=i(608621),a=i(391667),l=i(605329),u=i(324696),h=i(717882);function c(t,e,{delay:i=0,transitionOverride:n,type:c}={}){var d;let{transition:p=t.getDefaultTransition(),transitionEnd:m,...f}=e;n&&(p=n);let v=[],g=c&&t.animationState&&t.animationState.getState()[c];for(let e in f){let n=t.getValue(e,null!==(d=t.latestValues[e])&&void 0!==d?d:null),o=f[e];if(void 0===o||g&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(g,e))continue;let c={delay:i,elapsed:0,...(0,a.e)(p||{},e)},m=!1;if(window.HandoffAppearAnimations){let i=(0,l.s)(t);if(i){let t=window.HandoffAppearAnimations(i,e,n,h.Wi);null!==t&&(c.elapsed=t,m=!0)}}n.start((0,s.v)(e,n,o,t.shouldReduceMotion&&r.G.has(e)?{type:!1}:c,t,m,(0,u.K)(t,e)));let y=n.animation;y&&v.push(y)}return m&&Promise.all(v).then(()=>{h.Wi.update(()=>{m&&(0,o.C)(t,m)})}),v}function d(t,e,i={}){var r;let s=(0,n.x)(t,e,"exit"===i.type?null===(r=t.presenceContext)||void 0===r?void 0:r.custom:void 0),{transition:o=t.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(o=i.transitionOverride);let a=s?()=>Promise.all(c(t,s,i)):()=>Promise.resolve(),l=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:s,staggerDirection:a}=o;return function(t,e,i=0,n=0,r=1,s){let o=[],a=(t.variantChildren.size-1)*n,l=1===r?(t=0)=>t*n:(t=0)=>a-t*n;return Array.from(t.variantChildren).sort(p).forEach((t,n)=>{t.notify("AnimationStart",e),o.push(d(t,e,{...s,delay:i+l(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,r+n,s,a,i)}:()=>Promise.resolve(),{when:u}=o;if(!u)return Promise.all([a(),l(i.delay)]);{let[t,e]="beforeChildren"===u?[a,l]:[l,a];return t().then(()=>e())}}function p(t,e){return t.sortNodePosition(e)}function m(t,e,i={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>d(t,e,i)));else if("string"==typeof e)r=d(t,e,i);else{let s="function"==typeof e?(0,n.x)(t,e,i.custom):e;r=Promise.all(c(t,s,i))}return r.then(()=>{h.Wi.postRender(()=>{t.notify("AnimationComplete",e)})})}},416522:function(t,e,i){i.d(e,{M:function(){return n}});let n="data-"+(0,i(359354).D)("framerAppearId")},605329:function(t,e,i){i.d(e,{s:function(){return r}});var n=i(416522);function r(t){return t.getProps()[n.M]}},49366:function(t,e,i){i.d(e,{C:function(){return n}});let n=t=>Array.isArray(t)},391667:function(t,e,i){function n({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}function r(t,e){return t[e]||t.default||t}i.d(e,{e:function(){return r},r:function(){return n}})},920830:function(t,e,i){i.d(e,{hO:function(){return o},oO:function(){return s}});var n=i(652983),r=i(216566);function s(){let t=(0,n.useContext)(r.O);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:i,register:s}=t,o=(0,n.useId)();return(0,n.useEffect)(()=>s(o),[]),!e&&i?[!1,()=>i&&i(o)]:[!0]}function o(){var t;return null===(t=(0,n.useContext)(r.O))||t.isPresent}},399867:function(t,e,i){i.d(e,{p:function(){return n}});let n=(0,i(652983).createContext)({})},194798:function(t,e,i){i.d(e,{_:function(){return n}});let n=(0,i(652983).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},216566:function(t,e,i){i.d(e,{O:function(){return n}});let n=(0,i(652983).createContext)(null)},780969:function(t,e,i){i.d(e,{Bn:function(){return o},X7:function(){return a},Z7:function(){return s}});var n=i(143900),r=i(510265);let s=t=>1-Math.sin(Math.acos(t)),o=(0,r.M)(s),a=(0,n.o)(s)},283322:function(t,e,i){i.d(e,{_:function(){return s}});var n=i(633564);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)}},143900: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},510265:function(t,e,i){i.d(e,{M:function(){return n}});let n=t=>e=>1-t(1-e)},843849:function(t,e,i){i.d(e,{Z:function(){return s}});var n=i(202940);let r=["read","resolveKeyframes","update","preRender","render","postRender"];function s(t,e){let i=!1,s=!0,o={delta:0,timestamp:0,isProcessing:!1},a=()=>i=!0,l=r.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,n=!1,r=!1,s=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){s.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:(t,r=!1,o=!1)=>{let a=o&&n?e:i;return r&&s.add(t),a.has(t)||a.add(t),t},cancel:t=>{i.delete(t),s.delete(t)},process:t=>{if(o=t,n){r=!0;return}n=!0,[e,i]=[i,e],i.clear(),e.forEach(a),n=!1,r&&(r=!1,l.process(t))}};return l}(a),t),{}),{read:u,resolveKeyframes:h,update:c,preRender:d,render:p,postRender:m}=l,f=()=>{let r=n.c.useManualTiming?o.timestamp:performance.now();i=!1,o.delta=s?1e3/60:Math.max(Math.min(r-o.timestamp,40),1),o.timestamp=r,o.isProcessing=!0,u.process(o),h.process(o),c.process(o),d.process(o),p.process(o),m.process(o),o.isProcessing=!1,i&&e&&(s=!1,t(f))},v=()=>{i=!0,s=!0,o.isProcessing||t(f)};return{schedule:r.reduce((t,e)=>{let n=l[e];return t[e]=(t,e=!1,r=!1)=>(i||v(),n.schedule(t,e,r)),t},{}),cancel:t=>{for(let e=0;e(void 0===n&&a.set(s.frameData.isProcessing||r.c.useManualTiming?s.frameData.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(o)}}},950869:function(t,e,i){i.d(e,{s:function(){return m}});var n=i(460299),r=i(308823),s=i(419342),o=i(275754);let a=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var l=i(394769),u=i(692236),h=i(679940),c=i(161168),d=i(166071);let p=new Set(["auto","none","0"]);class m extends h.e{constructor(t,e,i,n){super(t,e,i,n,null==n?void 0:n.owner,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e.current)return;super.readKeyframes();for(let i=0;i{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}},29607:function(t,e,i){i.d(e,{E:function(){return nt}});var n,r=i(397458),s=i(652983),o=i(194798);let a=(0,s.createContext)({});var l=i(216566),u=i(424092);let h=(0,s.createContext)({strict:!1});var c=i(416522);let{schedule:d,cancel:p}=(0,i(843849).Z)(queueMicrotask,!1);function m(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let f=(0,s.createContext)({}),v=!1;function g(){window.HandoffComplete=!0}function y(t){return"string"==typeof t||Array.isArray(t)}function x(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}let P=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],w=["initial",...P];function T(t){return x(t.animate)||w.some(e=>y(t[e]))}function b(t){return!!(T(t)||t.variants)}function S(t){return Array.isArray(t)?t.join(" "):t}let A={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"]},V={};for(let t in A)V[t]={isEnabled:e=>A[t].some(t=>!!e[t])};var C=i(723616),M=i(399867);let D=Symbol.for("motionComponentSymbol"),E=["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(E.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}let k={};var j=i(271194);function L(t,{layout:e,layoutId:i}){return j.G.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!k[t]||"opacity"===t)}var F=i(539785);let B={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},W=j._.length;var O=i(275754);let $=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var U=i(461090);function I(t,e,i){let{style:n,vars:r,transform:s,transformOrigin:o}=t,a=!1,l=!1,u=!0;for(let t in e){let i=e[t];if((0,O.f)(t)){r[t]=i;continue}let h=U.j[t],c=$(i,h);if(j.G.has(t)){if(a=!0,s[t]=c,!u)continue;i!==(h.default||0)&&(u=!1)}else t.startsWith("origin")?(l=!0,o[t]=c):n[t]=c}if(!e.transform&&(a||i?n.transform=function(t,e,i){let n="";for(let e=0;e({style:{},transform:{},transformOrigin:{},vars:{}});function X(t,e,i){for(let n in e)(0,F.i)(e[n])||L(n,i)||(t[n]=e[n])}let z=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 K(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||z.has(t)}let H=t=>!K(t);try{(n=require("@emotion/is-prop-valid").default)&&(H=t=>t.startsWith("on")?!K(t):n(t))}catch(t){}var Y=i(958897);function Z(t,e,i){return"string"==typeof t?t:Y.px.transform(e+i*t)}let G={offset:"stroke-dashoffset",array:"stroke-dasharray"},_={offset:"strokeDashoffset",array:"strokeDasharray"};function q(t,{attrX:e,attrY:i,attrScale:n,originX:r,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},h,c){if(I(t,u,c),h){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:d,style:p,dimensions:m}=t;d.transform&&(m&&(p.transform=d.transform),delete d.transform),m&&(void 0!==r||void 0!==s||p.transform)&&(p.transformOrigin=function(t,e,i){let n=Z(e,t.x,t.width),r=Z(i,t.y,t.height);return`${n} ${r}`}(m,void 0!==r?r:.5,void 0!==s?s:.5)),void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==n&&(d.scale=n),void 0!==o&&function(t,e,i=1,n=0,r=!0){t.pathLength=1;let s=r?G:_;t[s.offset]=Y.px.transform(-n);let o=Y.px.transform(e),a=Y.px.transform(i);t[s.array]=`${o} ${a}`}(d,o,a,l,!1)}let J=()=>({...N(),attrs:{}}),Q=t=>"string"==typeof t&&"svg"===t.toLowerCase();var tt=i(359354);function te(t,{style:e,vars:i},n,r){for(let s in Object.assign(t.style,e,r&&r.getProjectionStyles(n)),i)t.style.setProperty(s,i[s])}let ti=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"]);function tn(t,e,i,n){for(let i in te(t,e,void 0,n),e.attrs)t.setAttribute(ti.has(i)?i:(0,tt.D)(i),e.attrs[i])}function tr(t,e,i){var n;let{style:r}=t,s={};for(let o in r)((0,F.i)(r[o])||e.style&&(0,F.i)(e.style[o])||L(o,t)||(null===(n=null==i?void 0:i.getValue(o))||void 0===n?void 0:n.liveStyle)!==void 0)&&(s[o]=r[o]);return i&&r&&"string"==typeof r.willChange&&(i.applyWillChange=!1),s}function ts(t,e,i){let n=tr(t,e,i);for(let i in t)((0,F.i)(t[i])||(0,F.i)(e[i]))&&(n[-1!==j._.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}var to=i(823703),ta=i(678853),tl=i(786962);function tu(t){let e=(0,F.i)(t)?t.get():t;return(0,tl.p)(e)?e.toValue():e}var th=i(973962),tc=i(808534);let td=t=>(e,i)=>{let n=(0,s.useContext)(a),r=(0,s.useContext)(l.O),o=()=>(function({applyWillChange:t=!1,scrapeMotionValuesFromProps:e,createRenderState:i,onMount:n},r,s,o,a){let l={latestValues:function(t,e,i,n,r){var s;let o={},a=[],l=n&&(null===(s=t.style)||void 0===s?void 0:s.willChange)===void 0,u=r(t,{});for(let t in u)o[t]=tu(u[t]);let{initial:h,animate:c}=t,d=T(t),p=b(t);e&&p&&!d&&!1!==t.inherit&&(void 0===h&&(h=e.initial),void 0===c&&(c=e.animate));let m=!!i&&!1===i.initial,f=(m=m||!1===h)?c:h;return f&&"boolean"!=typeof f&&!x(f)&&tp(t,f,(t,e)=>{for(let e in t){let i=t[e];if(Array.isArray(i)){let t=m?i.length-1:0;i=i[t]}null!==i&&(o[e]=i)}for(let t in e)o[t]=e[t]}),l&&(c&&!1!==h&&!x(c)&&tp(t,c,t=>{for(let e in t)!function(t,e){let i=(0,th.p)(e);i&&(0,tc.y4)(t,i)}(a,e)}),a.length&&(o.willChange=a.join(","))),o}(r,s,o,!a&&t,e),renderState:i()};return n&&(l.mount=t=>n(r,t,l)),l})(t,e,n,r,i);return i?o():(0,ta.h)(o)};function tp(t,e,i){let n=Array.isArray(e)?e:[e];for(let e=0;e{tm.Wi.read(()=>{try{i.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){i.dimensions={x:0,y:0,width:0,height:0}}}),tm.Wi.render(()=>{q(i,n,Q(e.tagName),t.transformTemplate),tn(e,i)})}})},tv={useVisualState:td({applyWillChange:!0,scrapeMotionValuesFromProps:tr,createRenderState:N})};function tg(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}let ty=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function tx(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}let tP=t=>e=>ty(e)&&t(e,tx(e));function tw(t,e,i,n){return tg(t,e,tP(i),n)}var tT=i(629713);function tb(t){let e=null;return()=>null===e&&(e=t,()=>{e=null})}let tS=tb("dragHorizontal"),tA=tb("dragVertical");function tV(t){let e=!1;if("y"===t)e=tA();else if("x"===t)e=tS();else{let t=tS(),i=tA();t&&i?e=()=>{t(),i()}:(t&&t(),i&&i())}return e}function tC(){let t=tV(!0);return!t||(t(),!1)}class tM{constructor(t){this.isMounted=!1,this.node=t}update(){}}function tD(t,e){let i=e?"onHoverStart":"onHoverEnd";return tw(t.current,e?"pointerenter":"pointerleave",(n,r)=>{if("touch"===n.pointerType||tC())return;let s=t.getProps();t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",e);let o=s[i];o&&tm.Wi.postRender(()=>o(n,r))},{passive:!t.getProps()[i]})}class tE extends tM{mount(){this.unmount=(0,tT.z)(tD(this.node,!0),tD(this.node,!1))}unmount(){}}class tR extends tM{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,tT.z)(tg(this.node.current,"focus",()=>this.onFocus()),tg(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let tk=(t,e)=>!!e&&(t===e||tk(t,e.parentElement));var tj=i(633564);function tL(t,e){if(!e)return;let i=new PointerEvent("pointer"+t);e(i,tx(i))}class tF extends tM{constructor(){super(...arguments),this.removeStartListeners=tj.Z,this.removeEndListeners=tj.Z,this.removeAccessibleListeners=tj.Z,this.startPointerPress=(t,e)=>{if(this.isPressing)return;this.removeEndListeners();let i=this.node.getProps(),n=tw(window,"pointerup",(t,e)=>{if(!this.checkPressEnd())return;let{onTap:i,onTapCancel:n,globalTapTarget:r}=this.node.getProps(),s=r||tk(this.node.current,t.target)?i:n;s&&tm.Wi.update(()=>s(t,e))},{passive:!(i.onTap||i.onPointerUp)}),r=tw(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=(0,tT.z)(n,r),this.startPress(t,e)},this.startAccessiblePress=()=>{let t=tg(this.node.current,"keydown",t=>{"Enter"!==t.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=tg(this.node.current,"keyup",t=>{"Enter"===t.key&&this.checkPressEnd()&&tL("up",(t,e)=>{let{onTap:i}=this.node.getProps();i&&tm.Wi.postRender(()=>i(t,e))})}),tL("down",(t,e)=>{this.startPress(t,e)}))}),e=tg(this.node.current,"blur",()=>{this.isPressing&&tL("cancel",(t,e)=>this.cancelPress(t,e))});this.removeAccessibleListeners=(0,tT.z)(t,e)}}startPress(t,e){this.isPressing=!0;let{onTapStart:i,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&tm.Wi.postRender(()=>i(t,e))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!tC()}cancelPress(t,e){if(!this.checkPressEnd())return;let{onTapCancel:i}=this.node.getProps();i&&tm.Wi.postRender(()=>i(t,e))}mount(){let t=this.node.getProps(),e=tw(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),i=tg(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,tT.z)(e,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let tB=new WeakMap,tW=new WeakMap,tO=t=>{let e=tB.get(t.target);e&&e(t)},t$=t=>{t.forEach(tO)},tU={some:0,all:1};class tI extends tM{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:tU[n]};return function(t,e,i){let n=function({root:t,...e}){let i=t||document;tW.has(i)||tW.set(i,{});let n=tW.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(t$,{root:t,...e})),n[r]}(e);return tB.set(t,i),n.observe(t),()=>{tB.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(){}}var tN=i(49366);function tX(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;nPromise.all(e.map(({animation:e,options:i})=>(0,tK.d)(t,e,i))),i=tG(),n=!0,r=e=>(i,n)=>{var r;let s=(0,tz.x)(t,n,"exit"===e?null===(r=t.presenceContext)||void 0===r?void 0:r.custom:void 0);if(s){let{transition:t,transitionEnd:e,...n}=s;i={...i,...n,...e}}return i};function s(s){let o=t.getProps(),a=t.getVariantContext(!0)||{},l=[],u=new Set,h={},c=1/0;for(let e=0;ec&&v),T=!1,b=Array.isArray(f)?f:[f],S=b.reduce(r(p),{});!1===g&&(S={});let{prevResolvedValues:A={}}=m,V={...A,...S},C=e=>{w=!0,u.has(e)&&(T=!0,u.delete(e)),m.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in V){let e=S[t],i=A[t];if(!h.hasOwnProperty(t))((0,tN.C)(e)&&(0,tN.C)(i)?tX(e,i):e===i)?void 0!==e&&u.has(t)?C(t):m.protectedKeys[t]=!0:null!=e?C(t):u.add(t)}m.prevProp=f,m.prevResolvedValues=S,m.isActive&&(h={...h,...S}),n&&t.blockInitialAnimation&&(w=!1),w&&(!P||T)&&l.push(...b.map(t=>({animation:t,options:{type:p}})))}if(u.size){let e={};u.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=null!=n?n:null}),l.push({animation:e})}let p=!!l.length;return n&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(p=!1),n=!1,p?e(l):Promise.resolve()}return{animateChanges:s,setActive:function(e,n){var r;if(i[e].isActive===n)return Promise.resolve();null===(r=t.variantChildren)||void 0===r||r.forEach(t=>{var i;return null===(i=t.animationState)||void 0===i?void 0:i.setActive(e,n)}),i[e].isActive=n;let o=s(e);for(let t in i)i[t].protectedKeys={};return o},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=tG(),n=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();x(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(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}}let tq=0;class tJ extends tM{constructor(){super(...arguments),this.id=tq++}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}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}var tQ=i(308823),t0=i(143995);let t1=(t,e)=>Math.abs(t-e);class t2{constructor(t,e,{transformPagePoint:i,contextWindow:n,dragSnapToOrigin:r=!1}={}){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=t6(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(t1(t.x,e.x)**2+t1(t.y,e.y)**2)>=3);if(!n&&!r)return;let{point:s}=i,{timestamp:o}=tm.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=t9(e,this.transformPagePoint),tm.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=t6("pointercancel"===t.type?this.lastMoveEventInfo:t9(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!ty(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.contextWindow=n||window;let s=t9(tx(t),this.transformPagePoint),{point:o}=s,{timestamp:a}=tm.frameData;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,t6(s,this.history)),this.removeListeners=(0,tT.z)(tw(this.contextWindow,"pointermove",this.handlePointerMove),tw(this.contextWindow,"pointerup",this.handlePointerUp),tw(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,tm.Pn)(this.updatePoint)}}function t9(t,e){return e?{point:e(t.point)}:t}function t3(t,e){return{x:t.x-e.x,y:t.y-e.y}}function t6({point:t},e){return{point:t,delta:t3(t,t8(e)),offset:t3(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=t8(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>(0,t0.w)(.1)));)i--;if(!n)return{x:0,y:0};let s=(0,t0.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};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,0)}}function t8(t){return t[t.length-1]}var t5=i(140583),t4=i(888647);function t7(t){return t.max-t.min}function et(t,e,i,n=.5){t.origin=n,t.originPoint=(0,t4.t)(e.min,e.max,t.origin),t.scale=t7(i)/t7(e),t.translate=(0,t4.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 ee(t,e,i,n){et(t.x,e.x,i.x,n?n.originX:void 0),et(t.y,e.y,i.y,n?n.originY:void 0)}function ei(t,e,i){t.min=i.min+e.min,t.max=t.min+t7(e)}function en(t,e,i){t.min=e.min-i.min,t.max=t.min+t7(e)}function er(t,e,i){en(t.x,e.x,i.x),en(t.y,e.y,i.y)}var es=i(853400);function eo(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 ea(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min({translate:0,scale:1,origin:0,originPoint:0}),ec=()=>({x:eh(),y:eh()}),ed=()=>({min:0,max:0}),ep=()=>({x:ed(),y:ed()});function em(t){return[t("x"),t("y")]}function ef({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function ev(t){return void 0===t||1===t}function eg({scale:t,scaleX:e,scaleY:i}){return!ev(t)||!ev(e)||!ev(i)}function ey(t){return eg(t)||ex(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function ex(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function eP(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function ew(t,e=0,i=1,n,r){t.min=eP(t.min,e,i,n,r),t.max=eP(t.max,e,i,n,r)}function eT(t,{x:e,y:i}){ew(t.x,e.translate,e.scale,e.originPoint),ew(t.y,i.translate,i.scale,i.originPoint)}function eb(t,e){t.min=t.min+e,t.max=t.max+e}function eS(t,e,i,n,r=.5){let s=(0,t4.t)(t.min,t.max,r);ew(t,e,i,s,n)}function eA(t,e){eS(t.x,e.x,e.scaleX,e.scale,e.originX),eS(t.y,e.y,e.scaleY,e.scale,e.originY)}function eV(t,e){return ef(function(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}}(t.getBoundingClientRect(),e))}var eC=i(2796);let eM=({current:t})=>t?t.ownerDocument.defaultView:null;var eD=i(324696);let eE=new WeakMap;class eR{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ep(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let{dragSnapToOrigin:n}=this.getProps();this.panSession=new t2(t,{onSessionStart:t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(tx(t,"page").point)},onStart:(t,e)=>{var i;let{drag:n,dragPropagation:r,onDragStart:s}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=tV(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),em(t=>{let e=this.getAxisMotionValue(t).get()||0;if(Y.aQ.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];if(n){let t=t7(n);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),s&&tm.Wi.postRender(()=>s(t,e)),null===(i=this.removeWillChange)||void 0===i||i.call(this),this.removeWillChange=(0,eD.K)(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openGlobalLock)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.stop(t,e),resumeAnimation:()=>em(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:eM(this.visualElement)})}stop(t,e){var i;null===(i=this.removeWillChange)||void 0===i||i.call(this);let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=e;this.startAnimation(r);let{onDragEnd:s}=this.getProps();s&&tm.Wi.postRender(()=>s(t,e))}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.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!ek(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&&ti&&(t=n?(0,t4.t)(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,r=this.constraints;e&&m(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:eo(t.x,i,r),y:eo(t.y,e,n)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:el(t,"left","right"),y:el(t,"top","bottom")}}(i),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&em(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}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!m(e))return!1;let n=e.current;(0,tQ.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let s=function(t,e,i){let n=eV(t,i),{scroll:r}=e;return r&&(eb(n.x,r.offset.x),eb(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),o={x:ea((t=r.layout.layoutBox).x,s.x),y:ea(t.y,s.y)};if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=ef(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(em(o=>{if(!ek(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 i.start((0,eC.v)(t,i,0,e,this.visualElement,!1,(0,eD.K)(this.visualElement,t)))}stopAnimation(){em(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){em(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.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){em(e=>{let{drag:i}=this.getProps();if(!ek(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,t4.t)(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!m(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};em(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=t7(t),r=t7(e);return r>n?i=(0,t5.Y)(e.min,e.max-n,t.min):n>r&&(i=(0,t5.Y)(t.min,t.max-r,e.min)),(0,es.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(),em(e=>{if(!ek(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set((0,t4.t)(r,s,n[e]))})}addListeners(){if(!this.visualElement.current)return;eE.set(this.visualElement,this);let t=tw(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();m(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()),tm.Wi.read(e);let r=tg(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(em(e=>{let i=this.getAxisMotionValue(e);i&&(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 ek(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class ej extends tM{constructor(t){super(t),this.removeGroupControls=tj.Z,this.removeListeners=tj.Z,this.controls=new eR(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tj.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let eL=t=>(e,i)=>{t&&tm.Wi.postRender(()=>t(e,i))};class eF extends tM{constructor(){super(...arguments),this.removePointerDownListener=tj.Z}onPointerDown(t){this.session=new t2(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:eM(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:eL(t),onStart:eL(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&tm.Wi.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=tw(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 eB=i(920830);let eW={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function eO(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let e$={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!Y.px.test(t))return t;t=parseFloat(t)}let i=eO(t,e.target.x),n=eO(t,e.target.y);return`${i}% ${n}%`}};var eU=i(161168);class eI extends s.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;Object.assign(k,eX),r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),eW.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,s=i.projection;return s&&(s.isPresent=r,n||t.layoutDependency!==e||void 0===e?s.willUpdate():this.safeToRemove(),t.isPresent===r||(r?s.promote():s.relegate()||tm.Wi.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),d.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;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 eN(t){let[e,i]=(0,eB.oO)(),n=(0,s.useContext)(M.p);return(0,r.jsx)(eI,{...t,layoutGroup:n,switchLayoutGroup:(0,s.useContext)(f),isPresent:e,safeToRemove:i})}let eX={borderRadius:{...e$,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:e$,borderTopRightRadius:e$,borderBottomLeftRadius:e$,borderBottomRightRadius:e$,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=eU.P.parse(t);if(n.length>5)return t;let r=eU.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,t4.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 ez=i(268614),eK=i(780969);let eH=["TopLeft","TopRight","BottomLeft","BottomRight"],eY=eH.length,eZ=t=>"string"==typeof t?parseFloat(t):t,eG=t=>"number"==typeof t||Y.px.test(t);function e_(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let eq=eQ(0,.5,eK.Bn),eJ=eQ(.5,.95,tj.Z);function eQ(t,e,i){return n=>ne?1:i((0,t5.Y)(t,e,n))}function e0(t,e){t.min=e.min,t.max=e.max}function e1(t,e){e0(t.x,e.x),e0(t.y,e.y)}function e2(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function e9(t,e,i,n,r){return t-=e,t=n+1/i*(t-n),void 0!==r&&(t=n+1/r*(t-n)),t}function e3(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(Y.aQ.test(e)&&(e=parseFloat(e),e=(0,t4.t)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,t4.t)(s.min,s.max,n);t===s&&(a-=e),t.min=e9(t.min,e,i,a,r),t.max=e9(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let e6=["x","scaleX","originX"],e8=["y","scaleY","originY"];function e5(t,e,i,n){e3(t.x,e,e6,i?i.x:void 0,n?n.x:void 0),e3(t.y,e,e8,i?i.y:void 0,n?n.y:void 0)}var e4=i(391667);function e7(t){return 0===t.translate&&1===t.scale}function it(t){return e7(t.x)&&e7(t.y)}function ie(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function ii(t){return t7(t.x)/t7(t.y)}function ir(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class is{constructor(){this.members=[]}add(t){(0,tc.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,tc.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)}}let io=(t,e)=>t.depth-e.depth;class ia{constructor(){this.children=[],this.isDirty=!1}add(t){(0,tc.y4)(this.children,t),this.isDirty=!0}remove(t){(0,tc.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(io),this.isDirty=!1,this.children.forEach(t)}}var il=i(886363),iu=i(244129),ih=i(605329);let ic={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},id=["","X","Y","Z"],ip={visibility:"hidden"},im=0;function iv(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function ig({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=null==e?void 0:e()){this.id=im++,this.animationId=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,window.MotionDebug&&(ic.totalNodes=ic.resolvedTargetDeltas=ic.recalculatedProjection=0),this.nodes.forEach(iP),this.nodes.forEach(iC),this.nodes.forEach(iM),this.nodes.forEach(iw),window.MotionDebug&&window.MotionDebug.record(ic)},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;tthis.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=il.X.now(),n=({timestamp:e})=>{let r=e-i;r>=250&&((0,tm.Pn)(n),t(r-250))};return tm.Wi.read(n,!0),()=>(0,tm.Pn)(n)}(n,0),eW.hasAnimatedSinceResize&&(eW.hasAnimatedSinceResize=!1,this.nodes.forEach(iV))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&s&&(n||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||s.getDefaultTransition()||iL,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!ie(this.targetLayout,n)||i,u=!e&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...(0,e4.e)(r,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||iV(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,(0,tm.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(iD),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.HandoffCancelAllAnimations&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return!1;let{visualElement:i}=e.options;return!!i&&(!!(0,ih.s)(i)||!!e.parent&&!e.parent.hasCheckedOptimisedAppear&&t(e.parent))}(this)&&window.HandoffCancelAllAnimations(),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}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.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=ep());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(e2(this.prevProjectionDelta.x,this.projectionDelta.x),e2(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),ee(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&ir(this.projectionDelta.x,this.prevProjectionDelta.x)&&ir(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),window.MotionDebug&&ic.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ec(),this.projectionDelta=ec(),this.projectionDeltaWithTransform=ec()}setAnimationOrigin(t,e=!1){let i;let n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},o=ec();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=ep(),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(ij));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(iR(o.x,t.x,n),iR(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,m;er(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,ik(p.x,m.x,a.x,n),ik(p.y,m.y,a.y,n),i&&(u=this.relativeTarget,d=i,u.x.min===d.x.min&&u.x.max===d.x.max&&u.y.min===d.y.min&&u.y.max===d.y.max)&&(this.isProjectionDirty=!1),i||(i=ep()),e1(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,n,r,s){r?(t.opacity=(0,t4.t)(0,void 0!==i.opacity?i.opacity:1,eq(n)),t.opacityExit=(0,t4.t)(void 0!==e.opacity?e.opacity:1,0,eJ(n))):s&&(t.opacity=(0,t4.t)(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,n));for(let r=0;r{eW.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,i){let n=(0,F.i)(0)?0:(0,iu.BX)(0);return n.start((0,eC.v)("",n,1e3,i)),n.animation}(0,0,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{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&&iO(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||ep();let e=t7(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=t7(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}e1(e,i),eA(e,r),ee(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new is),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(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.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&&iv("z",t,n,this.animationValues);for(let e=0;e{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(ib),this.root.sharedNodes.clear()}}}function iy(t){t.updateLayout()}function ix(t){var e;let i=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:n}=t.layout,{animationType:r}=t.options,s=i.source!==t.layout.source;"size"===r?em(t=>{let n=s?i.measuredBox[t]:i.layoutBox[t],r=t7(n);n.min=e[t].min,n.max=n.min+r}):iO(r,i.layoutBox,e)&&em(n=>{let r=s?i.measuredBox[n]:i.layoutBox[n],o=t7(e[n]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=ec();ee(o,e,i.layoutBox);let a=ec();s?ee(a,t.applyTransform(n,!0),i.measuredBox):ee(a,e,i.layoutBox);let l=!it(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=ep();er(o,i.layoutBox,r.layoutBox);let a=ep();er(a,e,s.layoutBox),ie(o,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function iP(t){window.MotionDebug&&ic.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function iw(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function iT(t){t.clearSnapshot()}function ib(t){t.clearMeasurements()}function iS(t){t.isLayoutDirty=!1}function iA(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function iV(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function iC(t){t.resolveTargetDelta()}function iM(t){t.calcProjection()}function iD(t){t.resetSkewAndRotation()}function iE(t){t.removeLeadSnapshot()}function iR(t,e,i){t.translate=(0,t4.t)(e.translate,0,i),t.scale=(0,t4.t)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function ik(t,e,i,n){t.min=(0,t4.t)(e.min,i.min,n),t.max=(0,t4.t)(e.max,i.max,n)}function ij(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let iL={duration:.45,ease:[.4,0,.1,1]},iF=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),iB=iF("applewebkit/")&&!iF("chrome/")?Math.round:tj.Z;function iW(t){t.min=iB(t.min),t.max=iB(t.max)}function iO(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(ii(e)-ii(i)))}let i$=ig({attachResizeListener:(t,e)=>tg(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),iU={current:void 0},iI=ig({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!iU.current){let t=new i$({});t.mount(window),t.setOptions({layoutScroll:!0}),iU.current=t}return iU.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var iN=i(831896);let iX={current:null},iz={current:!1},iK=new WeakMap;var iH=i(679940),iY=i(419342),iZ=i(460299),iG=i(909787),i_=i(692236),iq=i(423113);let iJ=[...i_.$,iG.$,eU.P],iQ=t=>iJ.find((0,iq.l)(t));var i0=i(166071);let i1=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],i2=w.length;class i9{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,blockInitialAnimation:r,visualState:s},o={}){this.applyWillChange=!1,this.resolveKeyframes=(t,e,i,n)=>new this.KeyframeResolver(t,e,i,n,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=iH.e,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.isRenderScheduled=!1,this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=>{this.isRenderScheduled||(this.isRenderScheduled=!0,tm.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=T(e),this.isVariantNode=b(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,F.i)(e)&&e.set(a[t],!1)}}mount(t){this.current=t,iK.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)),iz.current||function(){if(iz.current=!0,C.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>iX.current=t.matches;t.addListener(e),e()}else iX.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||iX.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in iK.delete(this.current),this.projection&&this.projection.unmount(),(0,tm.Pn)(this.notifyUpdate),(0,tm.Pn)(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(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}bindToMotionValue(t,e){let i=j.G.has(t),n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tm.Wi.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),r=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{n(),r(),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 V){let e=V[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];e.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):ep()}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;ee.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,iu.BX)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let n=void 0===this.latestValues[t]&&this.current?null!==(i=this.getBaseTargetFromProps(this.props,t))&&void 0!==i?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=n&&("string"==typeof n&&((0,iY.P)(n)||(0,iZ.W)(n))?n=parseFloat(n):!iQ(n)&&eU.P.test(e)&&(n=(0,i0.T)(t,e)),this.setBaseTarget(t,(0,F.i)(n)?n.get():n)),(0,F.i)(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let i;let{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let r=(0,to.o)(this.props,n,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);r&&(i=r[t])}if(n&&void 0!==i)return i;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||(0,F.i)(r)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new ez.L),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}var i3=i(950869);class i6 extends i9{constructor(){super(...arguments),this.KeyframeResolver=i3.s}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]}}class i8 extends i6{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=te}readValueFromInstance(t,e){if(j.G.has(e)){let t=(0,iN.A)(e);return t&&t.default||0}{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 eV(t,e)}build(t,e,i){I(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return tr(t,e,i)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,F.i)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}class i5 extends i6{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ep}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(j.G.has(e)){let t=(0,iN.A)(e);return t&&t.default||0}return e=ti.has(e)?e:(0,tt.D)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return ts(t,e,i)}build(t,e,i){q(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,n){tn(t,e,i,n)}mount(t){this.isSVGTag=Q(t.tagName),super.mount(t)}}let i4=(t,e)=>R(t)?new i5(e):new i8(e,{allowProjection:t!==s.Fragment}),i7={animation:{Feature:t_},exit:{Feature:tJ},inView:{Feature:tI},tap:{Feature:tF},focus:{Feature:tR},hover:{Feature:tE},pan:{Feature:eF},drag:{Feature:ej,ProjectionNode:iI,MeasureLayout:eN},layout:{ProjectionNode:iI,MeasureLayout:eN}},nt=function(t){function e(e,i={}){return function({preloadedFeatures:t,createVisualElement:e,useRender:i,useVisualState:n,Component:p}){t&&function(t){for(let e in t)V[e]={...V[e],...t[e]}}(t);let x=(0,s.forwardRef)(function(t,x){var P;let w;let b={...(0,s.useContext)(o._),...t,layoutId:function({layoutId:t}){let e=(0,s.useContext)(M.p).id;return e&&void 0!==t?e+"-"+t:t}(t)},{isStatic:A}=b,D=function(t){let{initial:e,animate:i}=function(t,e){if(T(t)){let{initial:e,animate:i}=t;return{initial:!1===e||y(e)?e:void 0,animate:y(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,s.useContext)(a));return(0,s.useMemo)(()=>({initial:e,animate:i}),[S(e),S(i)])}(t),E=n(t,A);if(!A&&C.j){(0,s.useContext)(h).strict;let t=function(t){let{drag:e,layout:i}=V;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}}(b);w=t.MeasureLayout,D.visualElement=function(t,e,i,n,r){let{visualElement:p}=(0,s.useContext)(a),y=(0,s.useContext)(h),x=(0,s.useContext)(l.O),P=(0,s.useContext)(o._).reducedMotion,w=(0,s.useRef)();n=n||y.renderer,!w.current&&n&&(w.current=n(t,{visualState:e,parent:p,props:i,presenceContext:x,blockInitialAnimation:!!x&&!1===x.initial,reducedMotionConfig:P}));let T=w.current,b=(0,s.useContext)(f);T&&!T.projection&&r&&("html"===T.type||"svg"===T.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=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&&m(a),visualElement:t,scheduleRender:()=>t.scheduleRender(),animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:u})}(w.current,i,r,b),(0,s.useInsertionEffect)(()=>{T&&T.update(i,x)});let S=(0,s.useRef)(!!(i[c.M]&&!window.HandoffComplete));return(0,u.L)(()=>{T&&(T.updateFeatures(),d.render(T.render),S.current&&T.animationState&&T.animationState.animateChanges())}),(0,s.useEffect)(()=>{T&&(!S.current&&T.animationState&&T.animationState.animateChanges(),S.current&&(S.current=!1,v||(v=!0,queueMicrotask(g))))}),T}(p,E,b,e,t.ProjectionNode)}return(0,r.jsxs)(a.Provider,{value:D,children:[w&&D.visualElement?(0,r.jsx)(w,{visualElement:D.visualElement,...b}):null,i(p,t,(P=D.visualElement,(0,s.useCallback)(t=>{t&&E.mount&&E.mount(t),P&&(t?P.mount(t):P.unmount()),x&&("function"==typeof x?x(t):m(x)&&(x.current=t))},[P])),E,A,D.visualElement)]})});return x[D]=p,x}(t(e,i))}if("undefined"==typeof Proxy)return e;let i=new Map;return new Proxy(e,{get:(t,n)=>(i.has(n)||i.set(n,e(n)),i.get(n))})}((t,e)=>(function(t,{forwardMotionProps:e=!1},i,n){return{...R(t)?tf:tv,preloadedFeatures:i,useRender:function(t=!1){return(e,i,n,{latestValues:r},o)=>{let a=(R(e)?function(t,e,i,n){let r=(0,s.useMemo)(()=>{let i=J();return q(i,e,Q(n),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};X(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 X(n,i,t),Object.assign(n,function({transformTemplate:t},e){return(0,s.useMemo)(()=>{let i=N();return I(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})(i,r,o,e),l=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(H(r)||!0===i&&K(r)||!e&&!K(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(i,"string"==typeof e,t),u=e!==s.Fragment?{...l,...a,ref:n}:{},{children:h}=i,c=(0,s.useMemo)(()=>(0,F.i)(h)?h.get():h,[h]);return(0,s.createElement)(e,{...u,children:c})}}(e),createVisualElement:n,Component:t}})(t,e,i7,i4))},359354:function(t,e,i){i.d(e,{D:function(){return n}});let n=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},275754: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},394769:function(t,e,i){i.d(e,{Ei:function(){return d},lw:function(){return p},mP:function(){return a},z2:function(){return o}});var n=i(271194),r=i(715706),s=i(958897);let o=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),a=t=>t===r.Rx||t===s.px,l=(t,e)=>parseFloat(t.split(", ")[e]),u=(t,e)=>(i,{transform:n})=>{if("none"===n||!n)return 0;let r=n.match(/^matrix3d\((.+)\)$/u);if(r)return l(r[1],e);{let e=n.match(/^matrix\((.+)\)$/u);return e?l(e[1],t):0}},h=new Set(["x","y","z"]),c=n._.filter(t=>!h.has(t));function d(t){let e=[];return c.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),e}let p={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:u(4,13),y:u(5,14)};p.translateX=p.x,p.translateY=p.y},166071:function(t,e,i){i.d(e,{T:function(){return o}});var n=i(161168),r=i(893320),s=i(831896);function o(t,e){let i=(0,s.A)(t);return i!==r.h&&(i=n.P),i.getAnimatableNone?i.getAnimatableNone(e):void 0}},831896:function(t,e,i){i.d(e,{A:function(){return o}});var n=i(909787),r=i(893320);let s={...i(461090).j,color:n.$,backgroundColor:n.$,outlineColor:n.$,fill:n.$,stroke:n.$,borderColor:n.$,borderTopColor:n.$,borderRightColor:n.$,borderBottomColor:n.$,borderLeftColor:n.$,filter:r.h,WebkitFilter:r.h},o=t=>s[t]},692236:function(t,e,i){i.d(e,{$:function(){return o},C:function(){return a}});var n=i(715706),r=i(958897),s=i(423113);let o=[n.Rx,r.px,r.aQ,r.RW,r.vw,r.vh,{test:t=>"auto"===t,parse:t=>t}],a=t=>o.find((0,s.l)(t))},461090:function(t,e,i){i.d(e,{j:function(){return o}});var n=i(715706),r=i(958897);let s={...n.Rx,transform:Math.round},o={borderWidth:r.px,borderTopWidth:r.px,borderRightWidth:r.px,borderBottomWidth:r.px,borderLeftWidth:r.px,borderRadius:r.px,radius:r.px,borderTopLeftRadius:r.px,borderTopRightRadius:r.px,borderBottomRightRadius:r.px,borderBottomLeftRadius:r.px,width:r.px,maxWidth:r.px,height:r.px,maxHeight:r.px,size:r.px,top:r.px,right:r.px,bottom:r.px,left:r.px,padding:r.px,paddingTop:r.px,paddingRight:r.px,paddingBottom:r.px,paddingLeft:r.px,margin:r.px,marginTop:r.px,marginRight:r.px,marginBottom:r.px,marginLeft:r.px,rotate:r.RW,rotateX:r.RW,rotateY:r.RW,rotateZ:r.RW,scale:n.bA,scaleX:n.bA,scaleY:n.bA,scaleZ:n.bA,skew:r.RW,skewX:r.RW,skewY:r.RW,distance:r.px,translateX:r.px,translateY:r.px,translateZ:r.px,x:r.px,y:r.px,z:r.px,perspective:r.px,transformPerspective:r.px,opacity:n.Fq,originX:r.$C,originY:r.$C,originZ:r.px,zIndex:s,backgroundPositionX:r.px,backgroundPositionY:r.px,fillOpacity:n.Fq,strokeOpacity:n.Fq,numOctaves:s}},423113:function(t,e,i){i.d(e,{l:function(){return n}});let n=t=>e=>e.test(t)},271194: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)},679940:function(t,e,i){i.d(e,{e:function(){return c},m:function(){return h}});var n=i(394769),r=i(717882);let s=new Set,o=!1,a=!1;function l(){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])=>{var n;null===(n=t.getValue(e))||void 0===n||n.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()),s.clear()}function u(){s.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(a=!0)})}function h(){u(),l()}class c{constructor(t,e,i,n,r,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(s.add(this),o||(o=!0,r.Wi.read(u),r.Wi.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;for(let r=0;r{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}})},608621:function(t,e,i){i.d(e,{C:function(){return o}});var n=i(786962),r=i(244129),s=i(161283);function o(t,e){let{transitionEnd:i={},transition:o={},...a}=(0,s.x)(t,e)||{};for(let e in a={...a,...i}){let i=(0,n.Y)(a[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,r.BX)(i))}}},202940:function(t,e,i){i.d(e,{c:function(){return n}});let n={skipAnimations:!1,useManualTiming:!1}},808534: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}})},853400:function(t,e,i){i.d(e,{u:function(){return n}});let n=(t,e,i)=>i>e?e:i/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},460299:function(t,e,i){i.d(e,{W:function(){return n}});let n=t=>/^0[^.\s]+$/u.test(t)},888647:function(t,e,i){i.d(e,{t:function(){return n}});let n=(t,e,i)=>t+(e-t)*i},633564:function(t,e,i){i.d(e,{Z:function(){return n}});let n=t=>t},629713:function(t,e,i){i.d(e,{z:function(){return r}});let n=(t,e)=>i=>e(t(i)),r=(...t)=>t.reduce(n)},140583: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}},786962:function(t,e,i){i.d(e,{Y:function(){return s},p:function(){return r}});var n=i(49366);let r=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),s=t=>(0,n.C)(t)?t[t.length-1]||0:t},268614:function(t,e,i){i.d(e,{L:function(){return r}});var n=i(808534);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;r1e3*t,r=t=>t/1e3},678853:function(t,e,i){i.d(e,{h:function(){return r}});var n=i(652983);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},424092:function(t,e,i){i.d(e,{L:function(){return r}});var n=i(652983);let r=i(723616).j?n.useLayoutEffect:n.useEffect},214743:function(t,e,i){i.d(e,{R:function(){return n}});function n(t,e){return e?1e3/e*t:0}},244129:function(t,e,i){i.d(e,{BX:function(){return h},Hg:function(){return u}});var n=i(268614),r=i(214743),s=i(886363),o=i(717882);let a=t=>!isNaN(parseFloat(t)),l={current:void 0};class u{constructor(t,e={}){this.version="11.3.8",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=s.X.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},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,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}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()}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.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function h(t,e){return new u(t,e)}},182921:function(t,e,i){i.d(e,{$:function(){return r}});var n=i(726140);let r={test:(0,i(27129).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}},129922:function(t,e,i){i.d(e,{J:function(){return a}});var n=i(715706),r=i(958897),s=i(316248),o=i(27129);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.Nw)(e))+", "+r.aQ.transform((0,s.Nw)(i))+", "+(0,s.Nw)(n.Fq.transform(o))+")"}},909787:function(t,e,i){i.d(e,{$:function(){return a}});var n=i(316248),r=i(182921),s=i(129922),o=i(726140);let a={test:t=>o.m.test(t)||r.$.test(t)||s.J.test(t),parse:t=>o.m.test(t)?o.m.parse(t):s.J.test(t)?s.J.parse(t):r.$.parse(t),transform:t=>(0,n.HD)(t)?t:t.hasOwnProperty("red")?o.m.transform(t):s.J.transform(t)}},726140:function(t,e,i){i.d(e,{m:function(){return u}});var n=i(853400),r=i(715706),s=i(316248),o=i(27129);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.Nw)(r.Fq.transform(n))+")"}},27129:function(t,e,i){i.d(e,{d:function(){return s},i:function(){return r}});var n=i(316248);let r=(t,e)=>i=>!!((0,n.HD)(i)&&n.mj.test(i)&&i.startsWith(t)||e&&!(0,n.Rw)(i)&&Object.prototype.hasOwnProperty.call(i,e)),s=(t,e,i)=>r=>{if(!(0,n.HD)(r))return r;let[s,o,a,l]=r.match(n.KP);return{[t]:parseFloat(s),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},893320:function(t,e,i){i.d(e,{h:function(){return l}});var n=i(161168),r=i(316248);let s=new Set(["brightness","contrast","saturate","opacity"]);function o(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(r.KP)||[];if(!n)return t;let o=i.replace(n,""),a=s.has(e)?1:0;return n!==i&&(a*=100),e+"("+a+o+")"}let a=/\b([a-z-]*)\(.*?\)/gu,l={...n.P,getAnimatableNone:t=>{let e=t.match(a);return e?e.map(o).join(" "):t}}},161168:function(t,e,i){i.d(e,{P:function(){return d},V:function(){return l}});var n=i(909787),r=i(316248);let s="number",o="color",a=/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 l(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},l=[],u=0,h=e.replace(a,t=>(n.$.test(t)?(r.color.push(u),l.push(o),i.push(n.$.parse(t))):t.startsWith("var(")?(r.var.push(u),l.push("var"),i.push(t)):(r.number.push(u),l.push(s),i.push(parseFloat(t))),++u,"${}")).split("${}");return{values:i,split:h,indexes:r,types:l}}function u(t){return l(t).values}function h(t){let{split:e,types:i}=l(t),a=e.length;return t=>{let l="";for(let u=0;u"number"==typeof t?0:t,d={test:function(t){var e,i;return isNaN(t)&&(0,r.HD)(t)&&((null===(e=t.match(r.KP))||void 0===e?void 0:e.length)||0)+((null===(i=t.match(r.dA))||void 0===i?void 0:i.length)||0)>0},parse:u,createTransformer:h,getAnimatableNone:function(t){let e=u(t);return h(t)(e.map(c))}}},715706:function(t,e,i){i.d(e,{Fq:function(){return s},Rx:function(){return r},bA:function(){return o}});var n=i(853400);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}},958897:function(t,e,i){i.d(e,{$C:function(){return h},RW:function(){return s},aQ:function(){return o},px:function(){return a},vh:function(){return l},vw:function(){return u}});var n=i(316248);let r=t=>({test:e=>(0,n.HD)(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),s=r("deg"),o=r("%"),a=r("px"),l=r("vh"),u=r("vw"),h={...o,parse:t=>o.parse(t)/100,transform:t=>o.transform(100*t)}},316248:function(t,e,i){i.d(e,{HD:function(){return a},KP:function(){return r},Nw:function(){return n},Rw:function(){return l},dA:function(){return s},mj:function(){return o}});let n=t=>Math.round(1e5*t)/1e5,r=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,s=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,o=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function a(t){return"string"==typeof t}function l(t){return null==t}},324696:function(t,e,i){i.d(e,{K:function(){return l}});var n=i(244129),r=i(973962),s=i(808534);class o extends n.Hg{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(t){let e=(0,r.p)(t);if(!e)return;let i=this.counts.get(e)||0;this.counts.set(e,i+1),0===i&&(this.output.push(e),this.update());let n=!1;return()=>{if(n)return;n=!0;let t=this.counts.get(e)-1;this.counts.set(e,t),0===t&&((0,s.cl)(this.output,e),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}var a=i(539785);function l(t,e){var i,n;if(!t.applyWillChange)return;let r=t.getValue("willChange");if(r||(null===(i=t.props.style)||void 0===i?void 0:i.willChange)||(r=new o("auto"),t.addValue("willChange",r)),n=r,(0,a.i)(n)&&n.add)return r.add(e)}},973962:function(t,e,i){i.d(e,{p:function(){return o}});var n=i(61098),r=i(359354),s=i(271194);function o(t){return s.G.has(t)?"transform":n.t.has(t)?(0,r.D)(t):void 0}},539785:function(t,e,i){i.d(e,{i:function(){return n}});let n=t=>!!(t&&t.getVelocity)}}]); //# sourceMappingURL=48281-1ac82767cef8b504.js.map