(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,25274,t=>{"use strict";let e=(0,t.i(16043).createContext)({});t.s(["f",0,e])},971480,t=>{"use strict";let e=(0,t.i(16043).createContext)({strict:!1});t.s(["f",0,e])},504707,657315,344851,934304,226023,66161,312250,553063,t=>{"use strict";var e=t.i(16043);let i=(0,e.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["f",0,i],504707);let n=(0,e.createContext)({});t.s(["f",0,n],657315);var r=t.i(610288),s=t.i(728282);function a(t){return Array.isArray(t)?t.join(" "):t}t.s(["f",0,function(t){let{initial:i,animate:o}=function(t,e){if((0,r.m)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,s.f)(e)?e:void 0,animate:(0,s.f)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,e.useContext)(n));return(0,e.useMemo)(()=>({initial:i,animate:o}),[a(i),a(o)])}],344851);var o=t.i(320953),l=t.i(344436),u=t.i(591775);let h=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function f(t,e,i){for(let n in e)(0,o.f)(e[n])||(0,l.f)(n,i)||(t[n]=e[n])}t.s(["f",0,h],934304);var c=t.i(404976),d=t.i(89929);let p=()=>({...h(),attrs:{}});t.s(["f",0,p],226023);let m=new Set(["animate","exit","variants","initial","style","values","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function v(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||m.has(t)}var g=t.i(475080);t.s(["f",0,function(t,i,n,{latestValues:r},s,a=!1,l,m){let y=(l??(0,g.f)(t)?function(t,i,n,r){let s=(0,e.useMemo)(()=>{let e=p();return(0,c.d)(e,i,(0,d.f)(r),t.transformTemplate,t.style),{...e.attrs,style:{...e.style}}},[i]);if(t.style){let e={};f(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,i){let n,r,s={},a=(n=t.style||{},f(r={},n,t),Object.assign(r,function({transformTemplate:t},i){return(0,e.useMemo)(()=>{let e=h();return(0,u.f)(e,i,t),Object.assign({},e.vars,e.style)},[i])}(t,i)),r);return t.drag&&!1!==t.dragListener&&(s.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(s.tabIndex=0),s.style=a,s})(i,r,s,t),b=function(t,e,i,n){let r={};for(let s in t)("values"!==s||"object"!=typeof t.values)&&!(0,o.f)(t[s])&&((s.startsWith("on")?!v(s):n?.(s)??!v(s))||!0===i&&v(s)||!e&&!v(s)||t.draggable&&s.startsWith("onDrag"))&&(r[s]=t[s]);return r}(i,"string"==typeof t,a,m),w=t!==e.Fragment?{...b,...y,ref:n}:{},{children:S}=i,T=(0,e.useMemo)(()=>(0,o.f)(S)?S.get():S,[S]);return(0,e.createElement)(t,{...w,children:T})}],66161);var y=t.i(876065);t.s(["f",()=>y.f],312250),t.s(["f",0,function(t){return(0,o.f)(t)?t.get():t}],553063)},901326,t=>{"use strict";let e=(0,t.i(16043).createContext)(null);t.s(["f",0,e])},479299,612578,t=>{"use strict";let e=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function i(t){return{point:{x:t.pageX,y:t.pageY}}}t.s(["f",0,e],612578),t.s(["X",0,t=>n=>e(n)&&t(n,i(n)),"j",0,i],479299)},30067,150125,t=>{"use strict";var e=t.i(503596),i=t.i(572214),n=t.i(34897);class r extends e.f{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,n.f)((0,i.f)(this.node.current,"focus",()=>this.onFocus()),(0,i.f)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}t.s(["f",0,r],30067);let s=(t,e)=>!!e&&(t===e||s(t,e.parentElement));t.s(["f",0,s],150125)},394286,t=>{"use strict";var e=t.i(503596),i=t.i(441659),n=t.i(996558),r=t.i(479299);function s(t,e,i){let{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover","Start"===i);let a=s["onHover"+i];a&&n.y.postRender(()=>a(e,(0,r.j)(e)))}class a extends e.f{mount(){let{current:t}=this.node;t&&(this.unmount=(0,i.f)(t,(t,e)=>(s(this.node,e,"Start"),t=>s(this.node,t,"End"))))}unmount(){}}t.s(["f",0,a])},459196,596141,266218,366039,564048,409046,466448,464011,660554,201615,t=>{"use strict";var e=t.i(503596),i=t.i(432538),n=t.i(873866),r=t.i(669039),s=t.i(441739),a=t.i(709722),o=t.i(782069),l=t.i(320953);function u(t,e){let i=t.getValue("willChange");if((0,l.f)(i)&&i.add)return i.add(e);if(!i&&o.f.WillChange){let i=new o.f.WillChange("auto");t.addValue("willChange",i),i.add(e)}}t.s(["f",0,u],596141);var h=t.i(351144);function f(t){return t.props[h.f]}t.s(["f",0,f],266218);var c=t.i(589199),d=t.i(898735),p=t.i(34897),m=t.i(361397),v=t.i(692658),g=t.i(225596),y=t.i(996558);let b=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>y.y.update(e,t),stop:()=>(0,y.Y)(e),now:()=>g.f.isProcessing?g.f.timestamp:d.f.now()}};var w=t.i(662753),S=t.i(168695);function T(t,e=50,i=2e4,n){let r=0,s=t.next(r);for(n?.push(s.value);!s.done&&r=i?1/0:r}let A=.01,x=2,M=.005,k=.5,V=t=>t<0?1/Math.max(1+t,.05):Math.max(1-t,.05);function C(t,e){if(!(t>1))return 1;let i=Math.sqrt(t*t-1),n=t-i,r=t+i,s=2*i*Math.exp(-e)*(1+e);return P(t=>r*Math.exp(-n*t)-n*Math.exp(-r*t)-s,t=>Math.exp(-r*t)-Math.exp(-n*t),e)/e}function E(t,e){return t*Math.sqrt(1-e*e)}function P(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}let L=(t,e)=>(e?t>=0:t>0)&&t<1/0;function F(t,e){if(L(t,e))return t}function I(t=.3,e=.3){let i,n,r,s="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,a=s.keyframes[0],o=s.keyframes[s.keyframes.length-1],l={done:!1,value:a},{stiffness:u,damping:h,mass:f,duration:d,isResolvedFromDuration:p,isTimeDefined:v}=function(t){let e=F(t.stiffness),i=F(t.damping,!0),n=F(t.mass),r={...t,stiffness:e??100,damping:i??10,mass:n??1,isResolvedFromDuration:!1,isTimeDefined:(e??i??n)===void 0&&(void 0!==t.duration||void 0!==t.bounce)};if(r.isTimeDefined){if(t.visualDuration){let e=V(t.bounce||0),i=2*Math.PI/(1.2*t.visualDuration)*C(e,2*Math.PI/1.2);r.stiffness=i*i,r.damping=2*e*Math.sqrt(r.stiffness)}else Object.assign(r,function({duration:t=800,bounce:e=.3}){let i,n;(0,w.w)(t<=(0,c.Z)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let r=V(e);t=(0,m.f)(.01,10,(0,c.q)(t)),r<1?(i=e=>{let i=e*r,n=i*t;return .001-i/E(e,r)*Math.exp(-n)},n=e=>{let n=e*r*t,s=r*r*e*e*t,a=Math.exp(-n),o=E(e*e,r);return-((-i(e)+.001>0?-1:1)*s)*a/o}):(i=e=>-.001+Math.exp(-e*t)*(e*t+1),n=e=>-(t*t*e*Math.exp(-e*t)));let s=P(i,n,5/t),a=s*C(r,s*t),o=a*a;return{stiffness:o,damping:2*r*Math.sqrt(o),duration:(0,c.Z)(t)}}(r)),r.isResolvedFromDuration=!0;L(r.stiffness)&&L(r.damping,!0)||(r.stiffness=100,r.damping=10)}return r}({...s}),g=t=>v?0:-(0,c.q)(t),y=h/(2*Math.sqrt(u*f)),b=(0,c.q)(Math.sqrt(u/f)),R=y*b,O={target:o,delta:o-a,velocity:g(s.velocity||0)||0,restSpeed:0,restDelta:0},D=()=>{let t=5>Math.abs(O.delta);O.restSpeed=s.restSpeed||(t?A:x),O.restDelta=s.restDelta||(t?M:k)};if(D(),y<1){let t=E(b,y),e={A:0,sinC:0,cosC:0,t:-1,env:0,sin:0,cos:0};r=()=>{e.A=(O.velocity+R*O.delta)/t,e.sinC=R*e.A+O.delta*t,e.cosC=R*O.delta-e.A*t};let s=i=>{i!==e.t&&(e.t=i,e.env=Math.exp(-R*i),e.sin=Math.sin(t*i),e.cos=Math.cos(t*i))};i=t=>(s(t),O.target-e.env*(e.A*e.sin+O.delta*e.cos)),n=t=>(s(t),e.env*(e.sinC*e.sin+e.cosC*e.cos))}else if(1===y){i=t=>O.target-Math.exp(-b*t)*(O.delta+(O.velocity+b*O.delta)*t);let t={C:0};r=()=>{t.C=O.velocity+b*O.delta},n=e=>Math.exp(-b*e)*(b*t.C*e-O.velocity)}else{let t=b*Math.sqrt(y*y-1),e=R-t,s=R+t,a=v?1/0:300/t,o=(t,e)=>Math.exp(e>a?-t*a-R*(e-a):-t*e),l={S:0,F:0};r=()=>{let e=(O.velocity+R*O.delta)/t;l.S=(O.delta+e)/2,l.F=(O.delta-e)/2},i=t=>O.target-l.S*o(e,t)-l.F*o(s,t),n=t=>e*l.S*o(e,t)+s*l.F*o(s,t)}r();let B=p&&d||null,j={calculatedDuration:B,retarget:(t,e)=>{O.target=t[t.length-1],O.delta=O.target-t[0],O.velocity=g(e),s.restSpeed&&s.restDelta||D(),j.calculatedDuration=B,l.done=!1,r()},velocity:t=>(0,c.Z)(n(t)),next:t=>{let e=i(t);return p?l.done=t>=d:l.done=Math.abs((0,c.Z)(n(t)))<=O.restSpeed&&Math.abs(O.target-e)<=O.restDelta,l.value=l.done?O.target:e,l},toString:()=>{let t=Math.min(T(j),2e4),e=(0,S.f)(e=>j.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return j}function R({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:l,restDelta:u=.5,restSpeed:h}){let f,c,d=t[0],p={done:!1,value:d},m=i*e,v=d+m,g=void 0===a?v:a(v);g!==v&&(m=g-d);let y=t=>-m*Math.exp(-t/n),b=t=>{let e=y(t);p.done=Math.abs(e)<=u,p.value=p.done?g:g+e},w=t=>{let e;if((e=p.value)l){var i;f=t,c=I({keyframes:[p.value,(i=p.value,void 0===o?l:void 0===l||Math.abs(o-i){let e=!1;return(c||void 0!==f||(e=!0,b(t),w(t)),void 0!==f&&t>=f)?c.next(t-f):(e||b(t),p)}}}I.applyToOptions=t=>{let e=function(t,e=100,i){let{keyframes:n,velocity:r}=t,s=n&&n[n.length-1]-n[0],a=i({...t,velocity:r&&s?r*e/s:r,keyframes:[0,e]}),o=Math.min(T(a),2e4);return{type:"keyframes",ease:t=>a.next(o*t).value/e,duration:(0,c.q)(o)}}(t,100,I);return t.ease=e.ease,t.duration=(0,c.Z)(e.duration),t.type="keyframes",t},t.s(["f",0,I],366039);var O=t.i(666408);let D=(t,e,i)=>t*(3*(1-t)*((1-t)*e+t*i)+t*t);function B(t,e,i,n){return t===e&&i===n?O.f:r=>{let s=0,a=1,o=r;for(let e=0;;e++){o>=s&&o<=a||(o=(s+a)/2);let n=D(o,t,i)-r;if(n*n<1e-28||40===e)break;n>0?a=o:s=o,o-=1e-7*n/(D(o+1e-7,t,i)-r-n)}return D(o,e,n)}}let j=B(.42,0,1,1),$=B(0,0,.58,1),N=B(.42,0,.58,1),W=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Y=t=>e=>1-t(1-e),U=B(.33,1.53,.69,.99),_=Y(U),H=W(_),q=t=>t>=1?1:(t*=2)<1?.5*_(t):.5*(2-Math.pow(2,-10*(t-1))),K=t=>1-Math.sin(Math.acos(t)),Z=Y(K),z=W(K);t.s(["d",0,K,"s",0,z,"o",0,Z],564048);var X=t.i(875823);let J={linear:O.f,easeIn:j,easeInOut:N,easeOut:$,circIn:K,circInOut:z,circOut:Z,backIn:_,backInOut:H,backOut:U,anticipate:q},G=t=>{if((0,X.f)(t)){(0,w.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,r]=t;return B(e,i,n,r)}return"string"==typeof t?((0,w.k)(void 0!==J[t],`Invalid easing type '${t}'`,"invalid-easing-type"),J[t]):t};var Q=t.i(188716),tt=t.i(857280),te=t.i(880512);function ti(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let r=(0,tt.f)(0,e,n);t.push((0,te.f)(i,1,r))}}(e,t.length-1),e}function tn({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s=Array.isArray(n)&&"number"!=typeof n[0]?n.map(G):G(n)||N,a={done:!1,value:e[0]};if(2===e.length&&!Array.isArray(s)&&(!i||2!==i.length||0===i[0]&&1===i[1])){let[i,n]=e,r=i===n?void 0:(o.f.mix||v.f)(i,n);return{calculatedDuration:t,next:e=>(a.value=r?r(s(t>0?(0,m.f)(0,1,e/t):1)):n,a.done=e>=t,a)}}let l=(r=i&&i.length===e.length?i:ti(e),r.map(e=>e*t)),u=(0,Q.f)(l,e,{ease:Array.isArray(s)?s:e.map(()=>s||N).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=u(e),a.done=e>=t,a)}}t.s(["f",0,tn],409046);var tr=t.i(888888);function ts(t,e,i=0){var n,r;let s;return e<=0?i:t.velocity?t.velocity(e):(n=e=>t.next(e).value,r=t.next(e).value,s=Math.max(e-5,0),(0,tr.f)(r-n(s),e-s))}t.s(["f",0,ts],466448);var ta=t.i(672865);let to={decay:R,inertia:R,tween:tn,keyframes:tn,spring:I};function tl(t){"string"==typeof t.type&&(t.type=to[t.type])}t.s(["f",0,tl],464011);let tu=(t,e)=>e-t>40&&!o.f.useManualTiming?e:t;t.s(["f",0,tu],660554);var th=t.i(245465),tf=t.i(145449);let tc=t=>t/100,td=t=>Math.round(1e4*t)/1e4;class tp extends tf.f{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==d.f.now()&&this.tick(d.f.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause(),(0,th.H)(this,this.options)}initAnimation(){let{options:t}=this;tl(t);let{type:e=tn,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:s=0}=t,{keyframes:a}=t,o=e||tn;o!==tn&&"number"!=typeof a[0]&&(this.mixKeyframes=(0,p.f)(tc,(0,v.f)(a[0],a[1])),a=[0,100]);let l=o(a===t.keyframes?t:{...t,keyframes:a});"mirror"===r&&(this.mirroredGenerator=o({...t,keyframes:[...a].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=T(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:n,calculatedDuration:r}=this;if(null===this.startTime)return i.next(0);let{delay:s=0,keyframes:a,type:o,onUpdate:l,finalKeyframe:u}=this.options;this.startTime===this.pendingStartTime&&(this.startTime=tu(this.startTime,t)),this.pendingStartTime=void 0,this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let h=this.currentTime-s*(this.playbackSpeed>=0?1:-1),f=this.playbackSpeed>=0?h<0:h>n;this.currentTime=Math.max(h,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let c=this.generate(this.currentTime,f),{done:d}=c;f||null===r||(d=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let p=null===this.holdTime&&("finished"===this.state||"running"===this.state&&d);return p&&o!==R&&(c.value=(0,ta.f)(a,this.options,u,this.speed)),l&&l(c.value),p&&this.finish(),c}at(t){return this.holdTime??td((t-this.startTime)*this.playbackSpeed)}sampleAt(t,e){let{options:i,totalDuration:n}=this,r=this.at(t)-(i.delay||0);return r>=n&&i.type!==R?(0,ta.f)(i.keyframes,i,e?void 0:i.finalKeyframe):this.generate(Math.max(r,0),r<0).value}generate(t,e){let i,{generator:n,totalDuration:r,mixKeyframes:s,mirroredGenerator:a,resolvedDuration:o}=this,{keyframes:l,repeat:u,repeatType:h,repeatDelay:f}=this.options,c=t,d=n;if(u){let e=Math.min(t,r)/o,i=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&i--,(i=Math.min(i,u+1))%2&&("reverse"===h?(n=1-n,f&&(n-=f/o)):"mirror"===h&&(d=a)),c=(0,m.f)(0,1,n)*o}return e?(this.delayState.value=l[0],i=this.delayState):i=d.next(c),s&&!e&&(i.value=s(i.value)),i}then(t,e){return this.finished.then(t,e)}get duration(){return(0,c.q)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,c.q)(t)}get time(){return(0,c.q)(this.currentTime)}set time(t){t=(0,c.Z)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){return ts(this.generator,this.currentTime,this.options.velocity)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(d.f.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,c.q)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=b,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime/(this.playbackSpeed||1):this.startTime||(this.startTime=e??(this.pendingStartTime=i)),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(d.f.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}var tm=t.i(962298),tv=t.i(437534),tg=t.i(237702);let ty={anticipate:q,backInOut:H,circInOut:z};class tb extends tg.f{constructor(t){"string"==typeof t.ease&&t.ease in ty&&(t.ease=ty[t.ease]),tl(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}elapsed(){return"running"===this.state?(d.f.now()-this.startTime)*this.speed:1e3*this.time}sample(t){if(!this.sampler){let{motionValue:t,onUpdate:e,onComplete:i,onPlay:n,onStop:r,element:s,...a}=this.options;this.sampler=new tp({...a,autoplay:!1}),this.sampler.stop()}return this.sampler.sample(Math.max(0,t)).value}liveValue(){let{state:t}=this;if("running"===t||"paused"===t)return this.sample(this.elapsed())}updateMotionValue(t){let{motionValue:e,element:i,name:n}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let{speed:r}=this,s=this.elapsed(),a="running"===this.state&&r?(0,m.f)(0,10,s):0,o=this.sample(s);i&&n&&(0,tv.f)(i,n,o),e.setWithVelocity(this.sample(s-a*Math.sign(r)),o,a/Math.abs(r||1))}}var tw=t.i(415195),tS=t.i(520174);let tT=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tS.u.test(t)||"0"===t)&&!t.startsWith("url("));function tA(t){t.duration=0,t.type="keyframes"}var tx=tf,tM=t.i(228499),tk=t.i(752e3);let tV=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,tC=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),tE=(0,tM.f)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));var tP=t.i(640444),tL=t.i(395667),tF=t.i(999841),tI=t.i(394499),tR=t.i(569355),tO=t.i(744100),tD=t.i(148458),tB=t.i(723726);let tj=(t,e)=>t-e,t$=(t,e,i)=>{let n=[];for(let r=0;r<=i;r++)n.push((0,te.f)(t,e,r/i));return n},tN=(t,e)=>t.latestValues?t.latestValues[e]:t.getValue(e)?.get();class tW extends tp{constructor(t){let e=t.motionValue.owner.current,{driver:i=b}=t,n=function(t){let e=t.motionValue.owner,{onUpdate:i,transformTemplate:n}=e.getProps();return!t.isHandoff&&!i&&!t.hasOnUpdate&&!n&&"inertia"!==t.type&&"none"===(tN(e,"transform")||"none")&&!tN(e,"pathRotation")&&!e.projection?.isProjecting()}(t);t.driver=t=>{let n=i(t);return{js:n,now:n.now,start:(t=!0)=>{let i=tB.f.get(e);!i||i.isJS?n.start(t):i.schedule(!1,!t)},stop:()=>{n.stop();let t=tB.f.get(e);t?.schedule(!t.isFinishing)}}},super(t),this.canAccelerate=n;let{stop:r}=this;this.stop=()=>{this.isAccelerated()&&this.sync(),r()}}get group(){let t;return t=this.options.motionValue.owner.current,tB.f.get(t)}get js(){return this.driver?.js}get name(){return this.options.name}timing(){let{startTime:t,speed:e,totalDuration:i}=this,{delay:n=0,repeatType:r}=this.options;return null!==this.holdTime?[1/0,0]:1/0===i?[t+n/e,this.resolvedDuration*("loop"===r?1:2)/e||1]:[t+(n+i)/e,0]}isAccelerated(){let{group:t,state:e}=this;return t?.tracks.has(this)&&!t.isJS&&this.canAccelerate&&("running"===e||"paused"===e)}liveValue(){return this.isAccelerated()?this.sampleAt(d.f.now()):void 0}tween(){let{keyframes:t,type:e,ease:i,times:n,repeat:r,delay:s=0}=this.options,a=(0,X.f)(i)?(0,tR.f)(i):/^(linear|ease(In|Out|InOut))$/.test(i)&&tO.f[i];if(a&&!r&&!n&&2===t.length&&e===tn&&null===this.holdTime){let t=this.startTime+s/this.speed;return[t,t+this.resolvedDuration/this.speed,a]}}boundaries(t,e){let{startTime:i,speed:n,resolvedDuration:r,options:s}=this,{delay:a=0,repeat:o=0,repeatDelay:l=0,repeatType:u,times:h,keyframes:f,type:c}=s,d=(c||tn)===tn?h||ti(f):[0,1],p=i+a/n,m=[];if(null!==this.holdTime||!(r>0))return m;for(let i=Math.max(0,Math.floor((t-p)*n/r));i<=o;i++){let s=p+i*r/n;if(s>e)break;for(let a of d){let o=s+(i%2&&u&&"loop"!==u?1-a:a)*(r-l)/n;o>t&&o{for(let e of i)if(e.name===t)return!0},p=(e,i)=>{let a={};for(let o of void 0===e?tL.$:s){let s=n.get(o),l=void 0===e?tN(t,o):s?s.sampleAt(i>e&&!s.timing()[1]?i:e):r[o];void 0!==l&&(a[o]=l)}return a},m=(t=p())=>{e.style.transform=(0,tP.n)(t,{})},v=(t=!0)=>{t&&m(),o.forEach(({animation:t})=>t.cancel()),o=[]},b=(t,e,i=1/0)=>{let n={animation:t,offset:e,end:i};t.startTime=d.f.now()+e,i<1/0&&(t.onfinish=()=>{n.isDone=!0,o.some(t=>1/0===t.end)&&(t.cancel(),o=o.filter(t=>t!==n)),A.schedule(!1)}),t.oncancel=()=>o.includes(n)&&A.demote(),o.push(n)},w=(t,e,i)=>{let n=(e,i)=>Math.abs(t(i)-t(e)),r=n(e,i);for(;i-e>.01;){let t=(e+i)/2;n(e,t)>n(t,i)?i=t:e=t}return n(e,i)>r/2?[e,i]:[]},S=(t,i,n,r={fill:"both"},s,a)=>{let o=t.flatMap(t=>t.boundaries(i,n)),l=a||((t,e,i,n)=>{let r,s,a=Math.min(200,Math.max(2,Math.ceil((i-e)/10)));if(4*n.length>a)return;let o=t$(e,i,a).concat(n).sort(tj),l=t=>(0,tt.f)(e,i,t);for(let e of t){let t=o.map(t=>e.numberAt(t)),[i]=t,n=t[t.length-1]-i,a=t.map(t=>n?(t-i)/n:t-i);if(n)if(r){if(a.some((t,e)=>!(.001>=Math.abs(t-r[e]))))return}else r=a,s=t=>(e.numberAt(t)-i)/n;else if(a.some(t=>!(.001>=Math.abs(t))))return}if(!r||r.every((t,e)=>.001>=Math.abs(t-l(o[e]))))return"linear";let u=[],h=(t,e=s(t))=>u.push(td(e)+" "+td(100*l(t))+"%");return r.forEach((t,e)=>{e&&Math.abs(t-r[e-1])>.2&&w(s,o[e-1],o[e]).forEach(t=>h(t)),h(o[e],t)}),"linear("+u+")"})(t,i,n,o),u=l?[i,n]:((t,e,i,n)=>{let r=[e],s=(e,i,n)=>{if(i-e<1||t.every(t=>!(Math.abs(t.numberAt((e+i)/2)-(t.numberAt(e)+t.numberAt(i))/2)>(t.name.startsWith("scale")?.001:.1))))r.push(i);else if(n<4)s(e,(e+i)/2,n+1),s((e+i)/2,i,n+1);else{for(let n of t)r.push(...w(t=>n.numberAt(t),e,i));r.push(i)}},a=t$(e,i,Math.ceil((i-e)/100));for(let t of n)a.push(t,Math.min(t+.01,i));let o=e;for(let t of a.sort(tj))t>o&&s(o,t,0),o=t;return r.sort(tj)})(t,i,n,o),h=u.map(t=>((t,e)=>{let i="",n=p(t,e);for(let t in n)i+=(tP.V[t]||t)+"("+(0,tI.f)(n[t],tF.f[t])+") ";return i||"none"})(t,s)),f={transform:h};return l||(f.offset=u.map(t=>(0,tt.f)(i,n,t))),h.every(t=>t===h[0])&&(m(p(i,s)),f=null),e.animate(f,{...r,duration:n-i,easing:l||"linear"})},T=()=>{let c=d.f.now();if(A.isJS||(A.isFinishing=!0,i.forEach(e=>{let[i,n]=e.timing();"running"===e.state&&e.speed>0&&!n&&i<=c+1&&(e.complete(),r[e.name]=tN(t,e.name),a.has(e)||(l=!0))}),A.isFinishing=!1),u=!1,i.forEach(({state:t},e)=>{("idle"===t||"finished"===t)&&i.delete(e)}),!i.size){tB.f.delete(e),A.isJS||v();return}for(let t of i)if(!t.canAccelerate)return A.demote(!0);A.isJS&&(A.isJS=!1,l=!0,i.forEach(t=>t.js?.stop()));let p=l,m=h;if(l=h=!1,p||!(t=>{let e,n=0;for(let r of i){let i=a.get(r);if(!i)return!1;let[s,o,l]=i,u=r.at(t),h=1/0===r.timing()[0];if(l){if(h&&u===s)continue;return!1}let f=(u-s)/o,c=h?0:r.speed/o;if(void 0===e)e=f,n=c;else if(Math.abs(f-e)>1||c!==n)return!1}if(void 0===e)return!0;if(!o.length)return!1;for(let{offset:t,end:i,isDone:n}of o){let r=e-t;if(i<1/0&&(n?r=i))return!1}for(let{animation:i,offset:r,isDone:s}of o){if(s)continue;let a=e-r;n?(i.playbackRate=n,i.startTime=t-a/n):(i.pause(),i.currentTime=a)}return!0})(c)){if(m){if(c-f<100)return A.demote();f=c}if(!(l=>{let u=l,h=0,f=0,c=[],d=[],p=new Set;for(let t of(n.clear(),a=new Map,i)){n.set(t.name,t);let[e,i]=t.timing(),r=1/0===e;if(a.set(t,[t.at(l),t.speed,r]),r){t.sync();continue}if(t.speed<0)return;if(i){if(h){let t=(e-f)/i;if(Math.abs(i-h)>1||Math.abs(t-Math.round(t))*h>1)return}else h=i,f=e;d.push(t)}else p.add(e);c.push(t),u=Math.max(u,e)}r={},s=tL.$.filter(e=>{if(n.has(e))return!0;let i=r[e]=tN(t,e);return void 0!==i&&parseFloat(i)!==+!!e.startsWith("scale")}),v(!1);let m=!h&&(t=>{let e;for(let i of t){let t=i.tween();if(!t||e?.some((e,i)=>i<2?Math.abs(t[i]-e)>1:t[i]!==e))return;e=t}return e})(c);try{if(m&&m[1]>l){let[t,e,i]=m;b(S(c,t,e,void 0,void 0,i),t-l,e-t)}else u>l&&(b(S(c,l,u),0,u-l),p.forEach(t=>t{e.isAccelerated()&&e.sync(),t||(e.canAccelerate=!1)}),A.isJS=!0,a=new Map,v(),i.forEach(t=>"running"===t.state&&t.js?.start()))}},tB.f.set(e,A),A)).tracks.add(this),super.play())}pause(){super.pause(),this.isAccelerated()&&(this.sync(),this.group.schedule(!1))}complete(){super.complete();let{group:t}=this;t&&!t.isJS&&this.canAccelerate&&this.tick(d.f.now())}get time(){return this.isAccelerated()?(0,c.q)((0,m.f)(0,this.totalDuration,this.at(d.f.now())-(this.options.delay||0))):super.time}set time(t){super.time=t}attachTimeline(t){return this.canAccelerate=!1,this.group?.demote(!0),super.attachTimeline(t)}}class tY extends tx.f{constructor(t){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=d.f.now();let{keyframes:e,name:i,motionValue:n,element:r}=t;t.autoplay??(t.autoplay=!0),t.delay??(t.delay=0),t.type??(t.type="keyframes"),t.repeat??(t.repeat=0),t.repeatDelay??(t.repeatDelay=0),t.repeatType??(t.repeatType="loop");let s=r?.KeyframeResolver||tm.p;this.keyframeResolver=new s(e,(e,i,n)=>this.onKeyframesResolved(e,i,t,!n),i,n,r),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){let r;this.keyframeResolver=void 0;let{name:s,type:a,velocity:l,delay:u,isHandoff:h,onUpdate:f}=i;this.resolvedAt=d.f.now();let c=!0;!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],a=tT(r,e),o=tT(s,e);return a&&o?function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i{p?.(),this.notifyFinished()};let m=c&&!h&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:a,keyframes:o}=t;if(!i||!(tk.f.has(i)||tC.has(i)))return!1;let l=e?.owner?.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;let{onUpdate:u,transformTemplate:h}=e.owner.getProps();return tE()&&(tk.f.has(i)||tC.has(i)&&function(t){for(let e=0;et&&tL.$.includes(t)&&e?.owner?.current instanceof HTMLElement&&tE()&&(0,tD.f)())(i);if(n&&(m||v||this.resolvedAt!==this.createdAt)&&(i.startTime??(i.startTime=tu(this.createdAt,this.resolvedAt))),m){i.element=i.motionValue?.owner?.current;try{r=new tb(i)}catch{r=new tp(i)}}else r=v?new tW(i):new tp(i);this.pendingTimeline&&(this.stopTimeline=r.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=r}get finished(){return this._animation?this._animation.finished:super.finished}then(t,e){return this.finished.finally(t).then(()=>{})}liveValue(){return this._animation?.liveValue?.()}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,tm.f)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let tU={type:"spring",stiffness:500,damping:25,restSpeed:10},t_={type:"keyframes",duration:.8},tH={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tq=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),tK=(t,e,i,r={},s,a)=>l=>{let u=(0,n.f)(r,t)||{},h=u.delay||r.delay||0,{elapsed:f=0}=r;f-=(0,c.Z)(h);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...u,delay:-f,onUpdate:t=>{e.set(t),u.onUpdate&&u.onUpdate(t)},onComplete:()=>{l(),u.onComplete&&u.onComplete()},name:t,motionValue:e,element:a?void 0:s,hasOnUpdate:!!u.onUpdate};!function(t){for(let e in t)if(!tq.has(e))return!0;return!1}(u)&&Object.assign(d,((t,{keyframes:e})=>e.length>2?t_:tL.P.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:tU:tH)(t,d)),d.duration&&(d.duration=(0,c.Z)(d.duration)),d.repeatDelay&&(d.repeatDelay=(0,c.Z)(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let p=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(tA(d),0===d.delay&&(p=!0)),(o.f.instantAnimations||o.f.skipAnimations||s?.shouldSkipAnimations||u.skipAnimations)&&(p=!0,tA(d),d.delay=0),d.allowFlatten=!u.type&&!u.ease,p&&!a&&void 0!==e.get()){let t=(0,ta.f)(d.keyframes,u);if(void 0!==t)return void y.y.update(()=>{d.onUpdate(t),d.onComplete()})}return u.isSync?new tp(d):new tY(d)};t.s(["f",0,tK],201615);let tZ="u">typeof window;function tz(t,e,{delay:o=0,transitionOverride:l,type:h}={}){let{transition:c,transitionEnd:d,...p}=e,m=t.getDefaultTransition();c=c?(0,r.f)(c,m):m;let v=c?.reduceMotion,g=c?.skipAnimations;l&&(c=l);let b=[],w=h&&t.animationState?.getState()[h],S=c?.path;for(let e in S&&S.animateVisualElement(t,p,c,o,b),p){let i=t.getValue(e,t.latestValues[e]??null),r=p[e];if(void 0===r||w&&function({protectedKeys:t,needsAnimating:e},i){let n=i in t&&!e[i];return e[i]=!1,n}(w,e))continue;let a={delay:o,...(0,n.f)(c||{},e)};g&&(a.skipAnimations=!0);let l=i.get();if(void 0!==l&&!i.isAnimating()&&!Array.isArray(r)&&r===l&&!a.velocity){y.y.update(()=>i.set(r));continue}let h=!1;if(tZ&&window.MotionHandoffAnimation){let i=f(t);if(i){let t=window.MotionHandoffAnimation(i,e,y.y);null!==t&&(a.startTime=t,h=!0)}}u(t,e);let d=v??t.shouldReduceMotion;i.start(tK(e,i,r,d&&s.f.has(e)?{type:!1}:a,t,h));let m=i.animation;m&&b.push(m)}if(d){let e=()=>y.y.update(()=>{d&&function(t,e){let{transitionEnd:n={},transition:r={},...s}=(0,i.Y)(t,e)||{};for(let e in s={...s,...n}){var o;let i=Array.isArray(o=s[e])?o[o.length-1]||0:o;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,a.o)(i))}}(t,d)});b.length?Promise.all(b).then(e):e()}return b}function tX(t,e,i,n=0,r=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,o=(a-1)*n;return"function"==typeof i?i(s,a):1===r?s*n:o-s*n}function tJ(t,e,n={}){let r=(0,i.Y)(t,e,(0,i.T)(t,n.type)),s=n.transitionOverride||(r?.transition??(t.getDefaultTransition()||{})),a=()=>Promise.all(r?tz(t,r,n):[]),o=(i=0)=>{let{variantChildren:r}=t,{delayChildren:a=0,staggerChildren:o,staggerDirection:l}=s,u=[];return r?.forEach(t=>{t.notify("AnimationStart",e),u.push(tJ(t,e,{...n,delay:i+("function"==typeof a?0:a)+tX(r,t,a,o,l)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(u)},{when:l}=s;return l?"beforeChildren"===l?a().then(()=>o()):o().then(a):Promise.all([a(),o(n.delay)])}var tG=t.i(660102),tQ=t.i(728282);function t0(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:n})=>(function(t,e,n={}){return t.notify("AnimationStart",e),(Array.isArray(e)?Promise.all(e.map(e=>tJ(t,e,n))):"string"==typeof e?tJ(t,e,n):Promise.all(tz(t,(0,i.Y)(t,e,n.custom),n))).then(()=>{t.notify("AnimationComplete",e)})})(t,e,n))),n=t5(),r=!0,s=!1;function a(a){let{props:o,parent:u,manuallyAnimateOnMount:h}=t,f=r||s,c=[],d=new Set,p={},m=1/0,v=t;do v=!1!==v.props.inherit&&v.parent;while(v&&!v.isControllingVariants)if(t9.forEach((e,r)=>{var s,l;let g=n[e],y=o[e],b=v&&v.props[e],w=void 0!==y?y:(0,tQ.f)(b)||!1===b?b:void 0,S=(0,tQ.f)(w),T=e===a?g.isActive:null;!1===T&&(m=r);let A=S&&void 0===y&&!(f&&h);if(g.protectedKeys={...p},!g.isActive&&null===T||!w&&!g.prevProp||(0,tG.f)(w)||"boolean"==typeof w)return;if("exit"===e&&g.isActive&&!0!==T){p={...p,...g.prevResolvedValues};return}let x=(s=g.prevProp,"string"==typeof(l=w)?l!==s:!!Array.isArray(l)&&!t0(l,s)),M=x||S&&(T&&!A||r>m),k=!1,V=Array.isArray(w)?w:[w],C={};if(!1!==T)for(let n of V){let{transition:r,transitionEnd:s,...a}=(0,i.Y)(t,n,(0,i.T)(t,e))||{};C={...C,...a,...s}}let{prevResolvedValues:E}=g;for(let e in{...E,...C}){if(e in p)continue;let i=C[e],n=E[e],r=Array.isArray(i)&&Array.isArray(n)?!t0(i,n)||x:i!==n;if(r&&null==i)d.add(e);else if(r||void 0!==i&&d.has(e)){M=!0,d.delete(e)&&(k=!0),g.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)}else g.protectedKeys[e]=!0}if(g.prevProp=w,g.prevResolvedValues=C,g.isActive&&(p={...p,...C}),M&&(!(A&&x)||k))for(let n of V){let r={type:e};if("string"==typeof n&&f&&h&&u?.enteringChildren){let e=(0,i.Y)(u,n)?.transition?.delayChildren;r.delay=tX(u.enteringChildren,t,e)}c.push({animation:n,options:r})}}),d.size){let{initial:e}=o,n={},r="boolean"!=typeof e&&(0,i.Y)(t,Array.isArray(e)?e[0]:e,t.presenceContext?.custom);r&&r.transition&&(n.transition=r.transition),d.forEach(i=>{let s=t.getValue(i);s&&(s.liveStyle=!0);let a=r&&!Array.isArray(e)?r[i]:void 0,u=t.getBaseTargetFromProps(o,i);n[i]=(void 0!==a?a:void 0===u||(0,l.f)(u)?void 0===t.initialValues[i]?t.baseTarget[i]:void 0:u)??null}),c.push({animation:n})}let g=f&&t.blockInitialAnimation||r&&!h&&(!1===o.initial||o.initial===o.animate);return r=s=!1,!g&&c.length?e(c):Promise.resolve()}return{animateChanges:a,setActive:function(e,i){if(n[e].isActive===i)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,i)),n[e].isActive=i;let r=a(e);for(let t in n)n[t].protectedKeys={};return r},setAnimateFunction:i=>{e=i(t)},getState:()=>n,reset:()=>{n=t5(),s=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,tG.f)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}var t6=e;let t4=0;class t3 extends t6.f{constructor(){super(...arguments),this.id=t4++}update(){let{presenceContext:t,prevPresenceContext:e,animationState:n}=this.node;if(!t||!n)return;let{isPresent:r,onExitComplete:s}=t,a=e?.isPresent;if(r===a)return;if(r&&!1===a){if(!0===this.exit){let{initial:t}=this.node.getProps();if(t&&!Array.isArray(t)){let{transition:e,transitionEnd:n,...r}=(0,i.Y)(this.node,t)||{};for(let t in r)this.node.getValue(t)?.jump(r[t])}this.node.blockInitialAnimation=!1,n.reset(),n.animateChanges()}else n.setActive("exit",!1);this.exit=void 0;return}let o=this.exit=n.setActive("exit",!r);s&&!r&&o.then(()=>{this.exit===o&&(this.exit=!0,s(this.id))})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}t.s(["f",0,{animation:{Feature:t2},exit:{Feature:t3}}],459196)},330019,t=>{"use strict";var e=t.i(394286),i=t.i(30067),n=t.i(503596),r=t.i(975524),s=t.i(21562),a=t.i(150125),o=t.i(612578),l=t.i(701506),u=t.i(648665);let h=new WeakSet;function f(t){return e=>{"Enter"===e.key&&t(e)}}function c(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function d(t){return(0,o.f)(t)&&!(0,s.E)()}let p=new WeakSet;var m=t.i(996558),v=t.i(479299);function g(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&m.y.postRender(()=>r(e,(0,v.j)(e)))}class y extends n.f{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[n,s,o]=(0,l.f)(t,i),m=t=>{let n=t.currentTarget;if(!d(t)||p.has(t))return;h.add(n),i.stopPropagation&&p.add(t);let r=e(n,t),o={...s,capture:!0},l=(t,e)=>{window.removeEventListener("pointerup",u,o),window.removeEventListener("pointercancel",f,o),h.has(n)&&h.delete(n),d(t)&&"function"==typeof r&&r(t,{success:e})},u=t=>{l(t,n===window||n===document||i.useGlobalTarget||(0,a.f)(n,t.target))},f=t=>{l(t,!1)};window.addEventListener("pointerup",u,o),window.addEventListener("pointercancel",f,o)};return n.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",m,s),(0,r.f)(t)&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=f(()=>{if(h.has(i))return;c(i,"down");let t=f(()=>{c(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>c(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,s)),(0,u.Y)(t)||t.hasAttribute("tabindex")||(t.tabIndex=0))}),o}(t,(t,e)=>(g(this.node,e,"Start"),(t,{success:e})=>g(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}var b=n;let w=new WeakMap,S=new WeakMap,T=t=>{let e=w.get(t.target);e&&e(t)},A=t=>{t.forEach(T)},x={some:0,all:1};class M extends b.f{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:a}=i,o={root:n?n.current:void 0,rootMargin:r,threshold:"number"==typeof s?s:x[s]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,a&&!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(),r=e?i:n;r&&r(t)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;S.has(i)||S.set(i,{});let n=S.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(A,{root:t,...e})),n[r]}(o),w.set(t,l),e.observe(t),()=>{w.delete(t),e.unobserve(t)})}mount(){this.startObserver()}update(){if("u"t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let k={inView:{Feature:M},tap:{Feature:y},focus:{Feature:i.f},hover:{Feature:e.f}};t.s(["f",0,k],330019)},520160,773019,t=>{"use strict";var e=t.i(104435);let i={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"]},n=!1;function r(){return!function(){if(n)return;let t={};for(let e in i)t[e]={isEnabled:t=>i[e].some(e=>!!t[e])};(0,e.Y)(t),n=!0}(),(0,e.k)()}t.s(["f",0,r],773019),t.s(["f",0,function(t){let i=r();for(let e in t)i[e]={...i[e],...t[e]};(0,e.Y)(i)}],520160)},455962,480157,516170,t=>{"use strict";let e,i;var n=t.i(659350),r=t.i(16043),s=t.i(25274),a=t.i(971480),o=t.i(504707),l=t.i(657315),u=t.i(344851),h=t.i(66161),f=t.i(475080),c=t.i(987968),d=t.i(865557),p=t.i(773019),m=t.i(520160),v=t.i(436449),g=t.i(134103),y=t.i(351144),b=t.i(901326),w=t.i(207463),S=t.i(905883),T=t.i(80310);function A(t,{forwardMotionProps:e=!1,type:i}={},x,M){x&&(0,m.f)(x);let k=i?"svg"===i:(0,f.f)(t),V=k?d.f:c.f;function C(i,f){let c,d={...(0,r.useContext)(o.f),...i,layoutId:function({layoutId:t}){let e=(0,r.useContext)(s.f).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:m,isValidProp:v}=d,A=(0,u.f)(i),x=V(i,m);if(!m&&"u">typeof window){(0,r.useContext)(a.f).strict;let e=function(t){let{drag:e,layout:i}=(0,p.f)();if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(d);c=e.MeasureLayout,A.visualElement=function(t,e,i,n,s,u){let{visualElement:h}=(0,r.useContext)(l.f),f=(0,r.useContext)(a.f),c=(0,r.useContext)(b.f),d=(0,r.useContext)(o.f),p=d.reducedMotion,m=d.skipAnimations,v=(0,r.useRef)(null),g=(0,r.useRef)(!1);n=n||f.renderer,!v.current&&n&&(v.current=n(t,{visualState:e,parent:h,props:i,presenceContext:c,blockInitialAnimation:!!c&&!1===c.initial,reducedMotionConfig:p,skipAnimations:m,isSVG:u}),g.current&&v.current&&(v.current.manuallyAnimateOnMount=!0));let A=v.current,x=(0,r.useContext)(w.f);A&&!A.projection&&s&&("html"===A.type||"svg"===A.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:u,layoutAnchor:h,layoutCrossfade:f}=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:!!a||o&&(0,S.f)(o),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:f,layoutScroll:l,layoutRoot:u,layoutAnchor:h})}(v.current,i,s,x);let M=(0,r.useRef)(!1);(0,r.useInsertionEffect)(()=>{A&&M.current&&A.update(i,c)});let k=i[y.f],V=(0,r.useRef)(!!k&&"u">typeof window&&!window.MotionHandoffIsComplete?.(k)&&window.MotionHasOptimisedAnimation?.(k));return(0,T.f)(()=>{g.current&&A&&(A.animationState?.animateChanges(),A.enteringChildren=void 0)},[]),(0,T.f)(()=>{g.current=!0,A&&(M.current=!0,window.MotionIsMounted=!0,A.updateFeatures(),A.scheduleRenderMicrotask(),V.current&&A.animationState&&A.animationState.animateChanges())}),(0,r.useEffect)(()=>{A&&(!V.current&&A.animationState&&A.animationState.animateChanges(),V.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(k)}),V.current=!1),A.enteringChildren=void 0)}),A}(t,x,d,M,e.ProjectionNode,k)}return(0,n.jsxs)(l.f.Provider,{value:A,children:[c&&A.visualElement?(0,n.jsx)(c,{visualElement:A.visualElement,...d}):null,(0,h.f)(t,i,(0,g.f)(x,A.visualElement,f),x,m,e,k,v)]})}C.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let E=(0,r.forwardRef)(C);return E[v.f]=t,E}t.s(["f",0,function(t,e){if("u"A(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(r,s)=>"create"===s?n:(i.has(s)||i.set(s,A(s,void 0,t,e)),i.get(s))})}],455962);var x=t.i(16206);function M(t){return(0,x.f)(t)&&"ownerSVGElement"in t}t.s(["f",0,M],480157);var k=t.i(193074);let V=new WeakMap,C=(t,e,i)=>(n,r)=>r&&r[0]?r[0][t+"Size"]:M(n)&&"getBBox"in n?n.getBBox()[e]:n[i],E=C("inline","width","offsetWidth"),P=C("block","height","offsetHeight");function L({target:t,borderBoxSize:e}){V.get(t)?.forEach(i=>{i(t,{get width(){return E(t,e)},get height(){return P(t,e)}})})}function F(t){t.forEach(L)}let I=new Set;t.s(["f",0,function(t,n){let r;return"function"==typeof t?(I.add(t),i||(i=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};I.forEach(e=>e(t))},window.addEventListener("resize",i)),()=>{I.delete(t),I.size||"function"!=typeof i||(window.removeEventListener("resize",i),i=void 0)}):(!e&&"u">typeof ResizeObserver&&(e=new ResizeObserver(F)),(r=(0,k.f)(t)).forEach(t=>{let i=V.get(t);i||(i=new Set,V.set(t,i)),i.add(n),e?.observe(t)}),()=>{r.forEach(t=>{let i=V.get(t);i?.delete(n),i?.size||e?.unobserve(t)})})}],516170)},676798,744117,825455,843825,98964,t=>{"use strict";var e=t.i(395667),i=t.i(13700),n=t.i(227825),r=t.i(320953),s=t.i(441739),a=t.i(122901),o=t.i(991747);let l=[a.H,o.L,o.U,o.b,o.$,o.a,{test:t=>"auto"===t,parse:t=>t}],u=t=>l.find(e=>e.test(t));var h=t.i(662753),f=t.i(819209),c=t.i(757393);let d=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var p=t.i(962298),m=t.i(446914),v=t.i(520174),g=t.i(967290);let y=new Set(["auto","none","0"]);var b=t.i(16345);class w extends p.p{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}scheduleResolve(){if(this.canReadNow()&&(this.readKeyframes(),!this.needsMeasurement))return this.complete();super.scheduleResolve()}canReadNow(){let{unresolvedKeyframes:t,element:e,motionValue:i}=this,n=t[0]??i?.get();if(!e?.current||void 0===n)return!1;for(let e=0;et.measureViewportBox())}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=this.measure(),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&this.motionValue?.jump(n,!1)}measureEndState(){let{element:t,unresolvedKeyframes:e}=this;if(!t||!t.current)return;this.motionValue?.jump(this.measuredOrigin,!1);let i=e.length-1,n=e[i];e[i]=this.measure(),null!==n&&void 0===this.finalKeyframe&&(this.finalKeyframe=n),this.removedTransforms?.length&&this.removedTransforms.forEach(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}var S=t.i(104435);class T extends S.F{constructor(){super(...arguments),this.KeyframeResolver=w}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,r.f)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}var A=t.i(931244),x=t.i(55631),M=t.i(404976);let k=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);var V=t.i(89929);function C(t,{style:e,vars:i},n,r){let s,a=t.style;for(s in e)a[s]=e[s];for(s in r?.applyProjectionStyles(a,n),i)a.setProperty(s,i[s])}var E=t.i(843251);class P extends T{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=n.J}getBaseTargetFromProps(t,i){return e.P.has(i)?super.getBaseTargetFromProps(t,i)??(0,A.P)(i):t[i]}getDefaultValue(t){return e.P.has(t)?this.latestValues[t]??(0,A.P)(t):void 0}readValueFromInstance(t,n){if(e.P.has(n)){let t=(0,i.f)(n);return t&&t.default||0}if(M.k.includes(n)){let e=getComputedStyle(t)[n];if("string"==typeof e&&e)return e.trim()}return n=k.has(n)?n:(0,x.f)(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,e,i){return(0,E.f)(t,e,i)}build(t,e,i){(0,M.d)(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in C(t,e,void 0,n),e.attrs)t.setAttribute(k.has(i)?i:(0,x.f)(i),e.attrs[i])}mount(t){this.isSVGTag=(0,V.f)(t.tagName),super.mount(t)}}function L({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function F(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.s(["X",0,L,"I",0,function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}},"K",0,F],744117);var I=t.i(880512);function R(t){return void 0===t||1===t}function O({scale:t,scaleX:e,scaleY:i}){return!R(t)||!R(e)||!R(i)}function D(t){return O(t)||B(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function B(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function j(t,e,i){return i+e*(t-i)}function $(t,e,i,n,r){return void 0!==r&&(t=j(t,r,n)),j(t,i,n)+e}function N(t,e=0,i=1,n,r){t.min=$(t.min,e,i,n,r),t.max=$(t.max,e,i,n,r)}function W(t,{x:e,y:i}){N(t.x,e.translate,e.scale,e.originPoint),N(t.y,i.translate,i.scale,i.originPoint)}function Y(t,e){t.min+=e,t.max+=e}function U(t,e,i,n,r=.5){let s=(0,I.f)(t.min,t.max,r);N(t,e,i,s,n)}function _(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function H(t,e,i){let n=i??t;U(t.x,_(e.x,n.x),e.scaleX,e.scale,e.originX),U(t.y,_(e.y,n.y),e.scaleY,e.scale,e.originY)}function q(t,e){return L(F(t.getBoundingClientRect(),e))}t.s(["k",0,B,"N",0,O,"u",0,D],825455),t.s(["z",0,W,"w",0,function(t,e,i,n=!1){let r,s,a=i.length;if(a){e.x=e.y=1;for(let o=0;o.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}},"_",0,j,"k",0,H,"i",0,Y],843825),t.s(["r",0,function(t,e,i){let n=q(t,i),{scroll:r}=e;return r&&(Y(n.x,r.offset.x),Y(n.y,r.offset.y)),n},"I",0,q],98964);var K=t.i(591775),Z=t.i(876065);class z extends T{constructor(){super(...arguments),this.type="html",this.renderInstance=C}mount(t){(0,h.k)(!!t.style,"motion.create() components must forward their ref to a HTML or SVG element","custom-component-ref"),super.mount(t)}readValueFromInstance(t,i){if(e.P.has(i))return this.projection?.isProjecting?(0,A.P)(i):(0,A.o)(t,i);{let e=window.getComputedStyle(t),n=((0,c.A)(i)?e.getPropertyValue(i):e[i])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return q(t,e)}build(t,e,i){(0,K.f)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,Z.f)(t,e,i)}}var X=t.i(16043),J=t.i(475080);t.s(["f",0,(t,e)=>e.isSVG??(0,J.f)(t)?new P(e):new z(e,{allowProjection:t!==X.Fragment})],676798)},475080,t=>{"use strict";let 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"];t.s(["f",0,function(t){if("string"!=typeof t||t.includes("-"));else if(e.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}],475080)},987968,865557,436449,134103,207463,905883,t=>{"use strict";var e=t.i(312250),i=t.i(553063),n=t.i(610288),r=t.i(660102),s=t.i(567838),a=t.i(16043),o=t.i(657315),l=t.i(901326),u=t.i(171318);let h=t=>(e,h)=>{let f=(0,a.useContext)(o.f),c=(0,a.useContext)(l.f),d=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},a,o,l){return{latestValues:function(t,e,a,o){let l={},u=o(t,{});for(let t in u)l[t]=(0,i.f)(u[t]);let{initial:h,animate:f}=t,c=(0,n.m)(t),d=(0,n.I)(t);e&&d&&!c&&!1!==t.inherit&&(void 0===h&&(h=e.initial),void 0===f&&(f=e.animate));let p=!!a&&!1===a.initial,m=(p=p||!1===h)?f:h;if(m&&"boolean"!=typeof m&&!(0,r.f)(m)){let e=Array.isArray(m)?m:[m];for(let i=0;i{n.current=i});let r=(0,a.useRef)(null);return(0,a.useCallback)(i=>{i&&t.onMount?.(i),e&&(i?e.mount(i):e.unmount());let s=n.current;if("function"==typeof s)if(i){let t=s(i);"function"==typeof t&&(r.current=t)}else r.current?(r.current(),r.current=null):s(i);else s&&(s.current=i)},[e])}],134103);let g=(0,a.createContext)({});t.s(["f",0,g],207463),t.s(["f",0,function(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}],905883)},171318,t=>{"use strict";var e=t.i(16043);t.s(["f",0,function(t){let i=(0,e.useRef)(null);return null===i.current&&(i.current=t()),i.current}])},80310,t=>{"use strict";var e=t.i(16043);let i="u">typeof window?e.useLayoutEffect:e.useEffect;t.s(["f",0,i],80310)},237702,569355,744100,415195,752e3,t=>{"use strict";var e=t.i(662753),i=t.i(589199),n=t.i(666408),r=t.i(437534),s=t.i(956509),a=t.i(672865),o=t.i(145449),l=t.i(245465),u=t.i(875823),h=t.i(148458),f=t.i(168695);let c=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`;t.s(["f",0,c],569355);let d={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:c([0,.65,.55,1]),circOut:c([.55,0,1,.45]),backIn:c([.31,.01,.66,-.59]),backOut:c([.33,1.53,.69,.99])};function p(t){return"function"==typeof t&&"applyToOptions"in t}t.s(["f",0,d],744100),t.s(["f",0,p],415195);class m extends o.f{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;let{element:i,name:n,keyframes:s,pseudoElement:o,allowFlatten:m=!1,finalKeyframe:v,onComplete:g}=t;this.isPseudoElement=!!o,this.allowFlatten=m,this.options=t,(0,e.k)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let y=function({type:t,...e}){return p(t)&&(0,h.f)()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:a="loop",ease:o="easeOut",times:l}={},p){let m={[e]:i};l&&(m.offset=l);let v=function t(e,i){if(e)return"function"==typeof e?(0,h.f)()?(0,f.f)(e,i):"ease-out":(0,u.f)(e)?c(e):Array.isArray(e)?e.map(e=>t(e,i)||d.easeOut):d[e]}(o,r);Array.isArray(v)&&(m.easing=v);let g={delay:n,duration:r,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"};return p&&(g.pseudoElement=p),t.animate(m,g)}(i,n,s,y,o),!1===y.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){let t=(0,a.f)(s,this.options,v,this.speed);this.updateMotionValue&&this.updateMotionValue(t),(0,r.f)(i,n,t),this.animation.cancel()}g?.(),this.notifyFinished()},(0,l.H)(this,t,y)}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,i.q)(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,i.q)(t)}get time(){return(0,i.q)(Number(this.animation.currentTime)||0)}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,i.Z)(t),e&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,onAttach:e,observe:i}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&(0,s.a)())?(this.animation.timeline=t,e?.(this.animation),n.f):i(this)}}t.s(["f",0,m],237702);let v=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);t.s(["f",0,v],752e3)},962298,t=>{"use strict";var e=t.i(819209),i=t.i(446914),n=t.i(520174),r=t.i(967290),s=t.i(172776),a=t.i(16345),o=t.i(996558);let l=new Set,u=!1,h=!1,f=!1;function c(){if(h){let t=[],e=new Set,i=new Set;l.forEach(n=>{n.needsMeasurement&&(t.push(n),e.add(n.element),a.f.has(n.name)&&i.add(n.element))});let n=new Map;i.forEach(t=>{let e=(0,a.l)(t);e.length&&(n.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=n.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}h=!1,u=!1,l.forEach(t=>t.complete(f)),l.clear()}function d(){l.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(h=!0)})}t.s(["p",0,class{constructor(t,e,i,n,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(l.add(this),u||(u=!0,o.y.read(d),o.y.resolveKeyframes(c))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:a,element:o,motionValue:l}=this;if(null===t[0]){let s=l?.get(),u=t[t.length-1];if(void 0!==s)t[0]=s;else if(o&&a){let s=function(t,s,a){if("string"==typeof t){if((0,e.f)(t)||(0,i.f)(t))return parseFloat(t);else if(!n.u.test(t)&&n.u.test(a))return(0,r.f)(s,a)}return t??void 0}(o.readValue(a,u),a,u);void 0!==s&&(t[0]=s)}void 0===t[0]&&(t[0]=u),l&&void 0===s&&l.set(t[0])}(0,s.f)(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),l.delete(this)}cancel(){"scheduled"===this.state&&(l.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}},"f",0,function(){f=!0,d(),c(),f=!1}])},672865,t=>{"use strict";let e=t=>null!==t;t.s(["f",0,function(t,{repeat:i,repeatType:n="loop"},r,s=1){let a=t.filter(e),o=s<0||i&&"loop"!==n&&i%2==1?0:a.length-1;return o&&void 0!==r?r:a[o]}])},351144,t=>{"use strict";let e="data-"+(0,t.i(55631).f)("framerAppearId");t.s(["f",0,e])},145449,t=>{"use strict";t.s(["f",0,class{constructor(){this.isResolved=!1}get finished(){return this._finished||(this._finished=this.isResolved?Promise.resolve():new Promise(t=>{this._resolve=t})),this._finished}updateFinished(){this._finished=this._resolve=void 0,this.isResolved=!1}notifyFinished(){this.isResolved=!0,this._resolve?.()}then(t,e){return this.finished.then(t,e)}}])},873866,t=>{"use strict";var e=t.i(669039);t.s(["f",0,function(t,i){let n=t?.[i]??t?.default??t;return n!==t?(0,e.f)(n,t):n}])},757393,t=>{"use strict";let e=t=>e=>"string"==typeof e&&e.startsWith(t),i=e("--"),n=e("var(--"),r=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;t.s(["t",0,function(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")},"A",0,i,"u",0,t=>!!n(t)&&r.test(t.split("/*")[0].trim())])},245465,t=>{"use strict";var e=t.i(225596),i=t.i(898735);function n(t,n){return{kind:t,animation:n,timestamp:i.f.now(),frameTimestamp:e.f.timestamp,frameIsProcessing:e.f.isProcessing}}t.s(["H",0,function(t,e,i){let r=globalThis.__MOTION_INSPECT__;if(r)try{r({...n("animation-start",t),options:i?{...e,...i}:e})}catch{}},"U",0,function(t,e){let i=globalThis.__MOTION_INSPECT__;if(i)try{i({...n("layout-animation-start",t),node:e})}catch{}}])},669039,t=>{"use strict";t.s(["f",0,function(t,e){if(t?.inherit&&e){let{inherit:i,...n}=t;return{...e,...n}}return t}])},723726,t=>{"use strict";let e=new WeakMap;t.s(["f",0,e])},168695,t=>{"use strict";t.s(["f",0,(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e{"use strict";t.s(["f",0,function(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}])},130119,t=>{"use strict";var e=t.i(782069);let i=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];t.s(["f",0,function(t,n,r={delta:0,timestamp:0,isProcessing:!1}){let s=!1,a=!0,o=()=>s=!0,l=i.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,n=!1,r=!1,s=new Set,a={delta:0,timestamp:0,isProcessing:!1};function o(e){s.has(e)&&(i.add(e),t()),e(a)}let l={schedule:(t,r=!1,a=!1)=>{let o=a&&n?e:i;return r&&s.add(t),o.add(t),t},cancel:t=>{i.delete(t),s.delete(t)},process:t=>{if(a=t,n){r=!0;return}n=!0;let s=e;e=i,i=s,e.forEach(o),e.clear(),n=!1,r&&(r=!1,l.process(t))}};return l}(o),t),{}),{setup:u,read:h,resolveKeyframes:f,preUpdate:c,update:d,preRender:p,render:m,postRender:v}=l,g=()=>{let i=e.f.useManualTiming,o=i?r.timestamp:performance.now();s=!1,i||(r.delta=a?1e3/60:Math.max(Math.min(o-r.timestamp,40),1)),r.timestamp=o,r.isProcessing=!0,u.process(r),h.process(r),f.process(r),c.process(r),d.process(r),p.process(r),m.process(r),v.process(r),r.isProcessing=!1,s&&n&&(a=!1,t(g))};return{schedule:i.reduce((e,i)=>{let n=l[i];return e[i]=(e,i=!1,o=!1)=>(!s&&(s=!0,a=!0,r.isProcessing||t(g)),n.schedule(e,i,o)),e},{}),cancel:t=>{for(let e=0;e{"use strict";t.s(["f",0,{delta:0,timestamp:0,isProcessing:!1}])},996558,t=>{"use strict";var e=t.i(666408),i=t.i(130119),n=t.i(225596);let{schedule:r,cancel:s,steps:a}=(0,i.f)("u">typeof requestAnimationFrame?requestAnimationFrame:e.f,!0,n.f);t.s(["Y",0,s,"y",0,r,"q",0,a])},898461,t=>{"use strict";let{schedule:e,cancel:i}=(0,t.i(130119).f)(queueMicrotask,!1);t.s(["w",0,i,"t",0,e])},898735,t=>{"use strict";let e;var i=t.i(782069),n=t.i(225596);function r(){e=void 0}let s={now:()=>(void 0===e&&s.set(n.f.isProcessing||i.f.useManualTiming?n.f.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(r)}};t.s(["f",0,s])},21562,t=>{"use strict";let e={x:!1,y:!1};t.s(["E",0,function(){return e.x||e.y},"x",0,e])},441659,701506,t=>{"use strict";var e=t.i(21562),i=t.i(193074);function n(t,e){let n=(0,i.f)(t),r=new AbortController;return[n,{passive:!0,...e,signal:r.signal},()=>r.abort()]}t.s(["f",0,n],701506),t.s(["f",0,function(t,i,r={}){let[s,a,o]=n(t,r);return s.forEach(t=>{let n,r=!1,s=!1,o=e=>{n&&(n(e),n=void 0),t.removeEventListener("pointerleave",u)},l=t=>{r=!1,window.removeEventListener("pointerup",l),window.removeEventListener("pointercancel",l),s&&(s=!1,o(t))},u=t=>{if("touch"!==t.pointerType){if(r){s=!0;return}o(t)}};t.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||(0,e.E)())return;s=!1;let o=i(t,r);"function"==typeof o&&(n=o,t.addEventListener("pointerleave",u,a))},a),t.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",l,a),window.addEventListener("pointercancel",l,a)},a)}),o}],441659)},648665,t=>{"use strict";let e=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),i=new Set(["INPUT","SELECT","TEXTAREA"]);t.s(["Y",0,function(t){return e.has(t.tagName)||!0===t.isContentEditable},"B",0,function(t){return i.has(t.tagName)||!0===t.isContentEditable}])},227825,t=>{"use strict";let e=()=>({translate:0,scale:1,origin:0,originPoint:0}),i=()=>({min:0,max:0});t.s(["J",0,()=>({x:i(),y:i()}),"$",0,()=>({x:e(),y:e()})])},503596,432538,t=>{"use strict";t.s(["f",0,class{constructor(t){this.isMounted=!1,this.node=t}update(){}}],503596);var e=t.i(567838);t.s(["T",0,(t,e)=>"exit"===e?t.presenceContext?.custom:void 0,"Y",0,function(t,i,n){return(0,e.f)(t.getProps(),i,n,t)}],432538)},104435,t=>{"use strict";var e=t.i(589199),i=t.i(819209),n=t.i(446914),r=t.i(966900),s=t.i(962298),a=t.i(237702),o=t.i(752e3),l=t.i(723726),u=t.i(898461),h=t.i(898735),f=t.i(227825),c=t.i(709722),d=t.i(520174),p=t.i(967290),m=t.i(320953),v=t.i(507174),g=t.i(610288),y=t.i(395667),b=t.i(119063),w=t.i(528593),S=t.i(996558);let T=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],A={};t.s(["F",0,class{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,skipAnimations:r,blockInitialAnimation:a,visualState:o},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=s.p,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=h.f.now();this.renderScheduledAte.delete(this)}}this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(w.E.current||(0,b.f)(),this.shouldReduceMotion=w.d.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,S.Y)(this.notifyUpdate),(0,S.Y)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,i){let n;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),i.accelerate&&o.f.has(t)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:s,ease:o,duration:l}=i.accelerate,u=new a.f({element:this.current,name:t,keyframes:r,times:s,ease:o,duration:(0,e.Z)(l)}),h=n(u);this.valueSubscriptions.set(t,()=>{h(),u.cancel()});return}let r=y.P.has(t);r&&this.onBindTransform&&this.onBindTransform();let s=i.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&S.y.preRender(this.notifyUpdate),r&&(this.projection&&(this.projection.isTransformDirty=!0),l.f.get(this.current)?.check()),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,t,i)),this.valueSubscriptions.set(t,()=>{s(),n&&n()})}sortNodePosition(t){return this.current&&t.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in A){let e=A[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):(0,f.J)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){let{transformTemplate:i,onUpdate:n}=this.props;(t.transformTemplate||i)&&this.scheduleRender(),(t.transformTemplate&&!i||t.onUpdate&&!n)&&l.f.get(this.current)?.demote(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e{"use strict";function e(t){let e;return()=>(void 0===e&&(e=t()),e)}t.s(["f",0,function(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}],437534),t.s(["f",0,e],228499);let i={};function n(t,n){let r=e(t);return()=>i[n]??r()}t.s(["f",0,n],303846);let r=n(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),s=n(()=>void 0!==window.ViewTimeline,"viewTimeline");t.s(["a",0,r,"G",0,s],956509)},55631,t=>{"use strict";t.s(["f",0,function(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}])},640444,t=>{"use strict";var e=t.i(394499),i=t.i(999841),n=t.i(395667);let r={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},s=n.$.length;t.s(["n",0,function(t,a,o){let l="",u=!0;for(let h=0;h{"use strict";var e=t.i(320953),i=t.i(344436);t.s(["f",0,function(t,n,r){let s=t.style,a=n?.style,o={};if(!s)return o;for(let n in s)((0,e.f)(s[n])||a&&(0,e.f)(a[n])||(0,i.f)(n,t)||r?.getValue(n)?.liveStyle!==void 0)&&(o[n]=s[n]);return o}])},507174,t=>{"use strict";let e=new WeakMap;t.s(["f",0,e])},404976,591775,89929,t=>{"use strict";var e=t.i(394499),i=t.i(999841),n=t.i(395667),r=t.i(757393),s=t.i(640444);function a(t,a,o){let{style:l,vars:u,transformOrigin:h}=t,f=!1,c=!1;for(let t in a){let s=a[t];if(n.P.has(t)){f=!0;continue}if((0,r.A)(t)){u[t]=s;continue}{let n=(0,e.f)(s,i.f[t]);t.startsWith("origin")?(c=!0,h[t]=n):l[t]=n}}if(!a.transform&&(f||o?l.transform=(0,s.n)(a,t.transform,o):l.transform&&(l.transform="none")),c){let{originX:t="50%",originY:e="50%",originZ:i=0}=h;l.transformOrigin=`${t} ${e} ${i}`}}t.s(["f",0,a],591775);let o={offset:"stroke-dashoffset",array:"stroke-dasharray"},l={offset:"strokeDashoffset",array:"strokeDasharray"},u=["transform","opacity","clipPath","filter","offsetDistance","offsetPath","offsetRotate","offsetAnchor"];t.s(["d",0,function(t,{attrX:e,attrY:i,attrScale:n,pathLength:r,pathSpacing:s=1,pathOffset:h=0,...f},c,d,p){if(a(t,f,d),c){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:m,style:v}=t;for(let t of u)void 0!==m[t]&&(v[t]=m[t],delete m[t]);(v.transform||m.transformOrigin)&&(v.transformOrigin=m.transformOrigin??"50% 50%",delete m.transformOrigin),v.transform&&(v.transformBox=p?.transformBox??"fill-box",delete m.transformBox),void 0!==e&&(m.x=e),void 0!==i&&(m.y=i),void 0!==n&&(m.scale=n),void 0!==r&&function(t,e,i=1,n=0,r=!0){t.pathLength=1;let s=r?o:l;t[s.offset]=`${-n}`,t[s.array]=`${e} ${i}`}(m,r,s,h,!1)},"k",0,u],404976),t.s(["f",0,t=>"string"==typeof t&&"svg"===t.toLowerCase()],89929)},843251,t=>{"use strict";var e=t.i(320953),i=t.i(395667),n=t.i(876065);t.s(["f",0,function(t,r,s){let a=(0,n.f)(t,r,s);for(let n in t)"children"!==n&&((0,e.f)(t[n])||(0,e.f)(r[n]))&&(a[-1!==i.$.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=t[n]);return a}])},660102,728282,997494,t=>{"use strict";t.s(["f",0,function(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}],660102),t.s(["f",0,function(t){return"string"==typeof t||Array.isArray(t)}],728282);let e=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],i=["initial",...e];t.s(["v",0,e,"z",0,i],997494)},610288,t=>{"use strict";var e=t.i(660102),i=t.i(728282),n=t.i(997494);function r(t){if((0,e.f)(t.animate))return!0;for(let e=0;e{"use strict";var e=t.i(395667);t.i(757393);let i={};t.s(["f",0,i],596184),t.s(["f",0,function(t,{layout:n,layoutId:r}){return e.P.has(t)||t.startsWith("origin")||(n||void 0!==r)&&(!!i[t]||"opacity"===t)}],344436)},441739,t=>{"use strict";let e=new Set(["width","height","top","left","right","bottom",...t.i(395667).$]);t.s(["f",0,e])},395667,t=>{"use strict";let e=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set([...e,"pathRotation"]);t.s(["$",0,e,"P",0,i])},567838,t=>{"use strict";t.s(["f",0,function(t,e,i,n){let r=e=>{let r;return"function"==typeof e?e(void 0!==i?i:t.custom,...(r=[{},{}],n?.values.forEach((t,e)=>{r[0][e]=t.get(),r[1][e]=t.getVelocity()}),r)):e};return"string"==typeof(e=r(e))&&(e=t.variants&&t.variants[e]),r(e)}])},188716,t=>{"use strict";var e=t.i(662753),i=t.i(361397),n=t.i(782069),r=t.i(666408),s=t.i(34897),a=t.i(857280),o=t.i(692658);t.s(["f",0,function(t,l,{clamp:u=!0,ease:h,mixer:f}={}){let c=t.length;if((0,e.k)(c===l.length,"Both input and output ranges must be the same length","range-length"),1===c)return()=>l[0];if(2===c&&l[0]===l[1])return()=>l[1];let d=t[0]===t[1];t[0]>t[c-1]&&(t=[...t].reverse(),l=[...l].reverse());let p=function(t,e,i){let a=[],l=i||n.f.mix||o.f,u=t.length-1;for(let i=0;i{if(d&&e1)for(;iv((0,i.f)(t[0],t[c-1],e)):v}])},975524,t=>{"use strict";var e=t.i(16206);t.s(["f",0,function(t){return(0,e.f)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}])},692658,t=>{"use strict";var e=t.i(797919),i=t.i(34897),n=t.i(662753),r=t.i(757393),s=t.i(449783),a=t.i(520174),o=t.i(723780),l=t.i(900873),u=t.i(228752),h=t.i(951509),f=t.i(391187),c=t.i(880512);let d=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},p=[o.f,h.f,l.f];function m(t){let e=p.find(e=>e.test(t));if(!e)return(0,n.w)(!1,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!1;let i=e.parse(t);return e===l.f&&(i=(0,u.f)(i)),i}let v=(t,e)=>{let i=m(t),n=m(e);if(!i||!n)return(0,f.f)(t,e);let r={...i};return t=>(r.red=d(i.red,n.red,t),r.green=d(i.green,n.green,t),r.blue=d(i.blue,n.blue,t),r.alpha=(0,c.f)(i.alpha,n.alpha,t),h.f.transform(r))},g=new Set(["none","hidden"]);function y(t,e){return i=>(0,c.f)(t,e,i)}function b(t){return"number"==typeof t?y:"string"==typeof t?(0,r.u)(t)?f.f:s.f.test(t)?v:T:Array.isArray(t)?w:"object"==typeof t?s.f.test(t)?v:S:f.f}function w(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>b(t)(t,e[i]));return t=>{for(let e=0;e{for(let e in n)i[e]=n[e](t);return i}}let T=(t,e)=>{let r=a.u.createTransformer(e),s=(0,a.L)(t),o=(0,a.L)(e);if(!(s.indexes.var.length===o.indexes.var.length&&s.indexes.color.length===o.indexes.color.length&&s.indexes.number.length>=o.indexes.number.length))return(0,n.w)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),(0,f.f)(t,e);if(g.has(t)&&!o.values.length||g.has(e)&&!s.values.length)return g.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return(0,i.f)(w(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r(0,e.f)((0,c.f)(a,o,t))+s}(t,i);if(n)return n}return b(t)(t,i)}],692658)},880512,t=>{"use strict";t.s(["f",0,(t,e,i)=>t+(e-t)*i])},193074,t=>{"use strict";t.s(["f",0,function(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let r=i?.[t]??n.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t).filter(t=>null!=t)}])},148458,t=>{"use strict";let e=(0,t.i(303846).f)(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");t.s(["f",0,e])},709722,t=>{"use strict";var e=t.i(966900),i=t.i(888888),n=t.i(898735),r=t.i(996558);let s={current:void 0};class a{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=n.f.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.notifyChange(),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=n.f.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,i){var n;return"change"===t?this.onChangeSubscribe(i):((n=this.events)[t]||(n[t]=new e.f)).add(i)}onChangeSubscribe(t){let{events:i}=this;return i.change||this.changeSubscriber?(i.change||(i.change=new e.f,i.change.add(this.changeSubscriber),this.changeSubscriber=void 0),i.change.add(t)):this.changeSubscriber=t,()=>{this.changeSubscriber===t?this.changeSubscriber=void 0:i.change?.remove(t),this.stopIfUnobserved()}}stopIfUnobserved(){r.y.read(()=>{this.changeSubscriber||this.events.change?.getSize()||this.stop()})}clearListeners(){for(let t in this.changeSubscriber=void 0,this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.notifyChange()}notifyChange(){let{current:t,changeSubscriber:e}=this;e?e(t):this.events.change?.notify(t)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){s.current&&s.current.push(this);let t=this.animation?.liveValue?.();return void 0===t?this.current:t}getCurrent(){return this.current}getPrevious(){return this.prev}getVelocity(){let t=n.f.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,i.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{let i;this.hasAnimated=!0;let n=!1;i=t(()=>{n=!0,this.events.animationComplete?.notify(),this.animation===i&&this.clearAnimation(),e()}),n||(this.animation=i),this.events.animationStart?.notify()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){this.animation=void 0}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}t.s(["I",0,s,"o",0,function(t,e){return new a(t,e)}])},723780,521422,999450,951509,t=>{"use strict";var e=t.i(361397),i=t.i(122901),n=t.i(797919);let r=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;t.s(["f",0,r],521422);let s=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,a=(t,e)=>i=>!!("string"==typeof i&&s.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),o=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[s,a,o,l]=n.match(r);return{[t]:parseFloat(s),[e]:parseFloat(a),[i]:parseFloat(o),alpha:void 0!==l?parseFloat(l):1}};t.s(["E",0,a,"J",0,o],999450);let l={...i.H,transform:t=>Math.round((0,e.f)(0,255,t))},u={test:a("rgb","red"),parse:o("red","green","blue"),transform:({red:t,green:e,blue:r,alpha:s=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(r)+", "+(0,n.f)(i._.transform(s))+")"};t.s(["f",0,u],951509);let h={test:a("#"),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:u.transform};t.s(["f",0,h],723780)},228752,391187,t=>{"use strict";function e(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}t.s(["f",0,function({hue:t,saturation:i,lightness:n,alpha:r}){t/=360,n/=100;let s=0,a=0,o=0;if(i/=100){let r=n<.5?n*(1+i):n+i-n*i,l=2*n-r;s=e(l,r,t+1/3),a=e(l,r,t),o=e(l,r,t-1/3)}else s=a=o=n;return{red:Math.round(255*s),green:Math.round(255*a),blue:Math.round(255*o),alpha:r}}],228752),t.s(["f",0,function(t,e){return i=>i>0?e:t}],391187)},12187,708352,t=>{"use strict";var e=t.i(520174),i=t.i(521422);let n=new Set(["brightness","contrast","saturate","opacity"]);function r(t){let[e,r]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[s]=r.match(i.f)||[];if(!s)return t;let a=r.replace(s,""),o=+!!n.has(e);return s!==r&&(o*=100),e+"("+o+a+")"}let s=/\b([a-z-]*)\(.*?\)/gu,a={...e.u,getAnimatableNone:t=>{let e=t.match(s);return e?e.map(r).join(" "):t}};t.s(["f",0,a],12187);let o={...e.u,getAnimatableNone:t=>{let i=e.u.parse(t);return e.u.createTransformer(t)(i.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}};t.s(["f",0,o],708352)},520174,900873,449783,t=>{"use strict";var e=t.i(723780),i=t.i(122901),n=t.i(991747),r=t.i(797919),s=t.i(999450);let a={test:(0,s.E)("hsl","hue"),parse:(0,s.J)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:s,alpha:a=1})=>"hsla("+Math.round(t)+", "+n.U.transform((0,r.f)(e))+", "+n.U.transform((0,r.f)(s))+", "+(0,r.f)(i._.transform(a))+")"};t.s(["f",0,a],900873);var o=t.i(951509);let l={test:t=>o.f.test(t)||e.f.test(t)||a.test(t),parse:t=>o.f.test(t)?o.f.parse(t):a.test(t)?a.parse(t):e.f.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?o.f.transform(t):a.transform(t),getAnimatableNone:t=>{let e=l.parse(t);return e.alpha=0,l.transform(e)}};t.s(["f",0,l],449783);let u=new RegExp(t.i(521422).f.source),h=RegExp(/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu.source,"i"),f="number",c="color",d=/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+)(?![a-z]*\()/giu;function p(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},r=[],s=0,a=e.replace(d,t=>(l.test(t)?(n.color.push(s),r.push(c),i.push(l.parse(t))):t.startsWith("var(")?(n.var.push(s),r.push("var"),i.push(t)):(n.number.push(s),r.push(f),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:a,indexes:n,types:r}}function m({split:t,types:e}){let i=t.length;return n=>{let s="";for(let a=0;a((t,e)=>"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof t?0:l.test(t)?l.getAnimatableNone(t):t)(t,e.split[i])))}},"T",0,function(t){let e=t.toString();return u.test(e)||h.test(e)}],520174)},537490,t=>{"use strict";let e={...t.i(122901).H,transform:Math.round};t.s(["f",0,e])},13700,t=>{"use strict";var e=t.i(449783),i=t.i(12187),n=t.i(708352);let r={...t.i(999841).f,color:e.f,backgroundColor:e.f,outlineColor:e.f,fill:e.f,stroke:e.f,borderColor:e.f,borderTopColor:e.f,borderRightColor:e.f,borderBottomColor:e.f,borderLeftColor:e.f,filter:i.f,WebkitFilter:i.f,mask:n.f,WebkitMask:n.f};t.s(["f",0,t=>r[t]])},999841,t=>{"use strict";var e=t.i(537490),i=t.i(122901),n=t.i(991747);let r={rotate:n.b,pathRotation:n.b,rotateX:n.b,rotateY:n.b,rotateZ:n.b,scale:i.Z,scaleX:i.Z,scaleY:i.Z,scaleZ:i.Z,skew:n.b,skewX:n.b,skewY:n.b,distance:n.L,translateX:n.L,translateY:n.L,translateZ:n.L,x:n.L,y:n.L,z:n.L,perspective:n.L,transformPerspective:n.L,opacity:i._,originX:n.v,originY:n.v,originZ:n.L},s={borderWidth:n.L,borderTopWidth:n.L,borderRightWidth:n.L,borderBottomWidth:n.L,borderLeftWidth:n.L,borderRadius:n.L,borderTopLeftRadius:n.L,borderTopRightRadius:n.L,borderBottomRightRadius:n.L,borderBottomLeftRadius:n.L,width:n.L,maxWidth:n.L,height:n.L,maxHeight:n.L,top:n.L,right:n.L,bottom:n.L,left:n.L,inset:n.L,insetBlock:n.L,insetBlockStart:n.L,insetBlockEnd:n.L,insetInline:n.L,insetInlineStart:n.L,insetInlineEnd:n.L,padding:n.L,paddingTop:n.L,paddingRight:n.L,paddingBottom:n.L,paddingLeft:n.L,paddingBlock:n.L,paddingBlockStart:n.L,paddingBlockEnd:n.L,paddingInline:n.L,paddingInlineStart:n.L,paddingInlineEnd:n.L,margin:n.L,marginTop:n.L,marginRight:n.L,marginBottom:n.L,marginLeft:n.L,marginBlock:n.L,marginBlockStart:n.L,marginBlockEnd:n.L,marginInline:n.L,marginInlineStart:n.L,marginInlineEnd:n.L,fontSize:n.L,backgroundPositionX:n.L,backgroundPositionY:n.L,...r,zIndex:e.f,fillOpacity:i._,strokeOpacity:i._,numOctaves:e.f};t.s(["f",0,s],999841)},122901,t=>{"use strict";var e=t.i(361397);let i={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},n={...i,transform:t=>(0,e.f)(0,1,t)},r={...i,default:1};t.s(["_",0,n,"H",0,i,"Z",0,r])},991747,t=>{"use strict";let e=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),i=e("deg"),n=e("%"),r=e("px"),s=e("vh"),a=e("vw"),o={...n,parse:t=>n.parse(t)/100,transform:t=>n.transform(100*t)};t.s(["b",0,i,"U",0,n,"v",0,o,"L",0,r,"a",0,s,"$",0,a])},967290,172776,931244,16345,t=>{"use strict";var e=t.i(520174),i=t.i(12187),n=t.i(708352),r=t.i(13700);let s=new Set([i.f,n.f]);t.s(["f",0,function(t,i){let n=(0,r.f)(t);return s.has(n)||(n=e.u),n.getAnimatableNone?n.getAnimatableNone(i):void 0}],967290),t.s(["f",0,function(t){for(let e=1;e180*t/Math.PI,o=t=>u(a(Math.atan2(t[1],t[0]))),l={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scaleZ:()=>1,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:o,rotateZ:o,skewX:t=>a(Math.atan(t[1])),skewY:t=>a(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},u=t=>((t%=360)<0&&(t+=360),t),h=t=>Math.hypot(t[0],t[1]),f=t=>Math.hypot(t[4],t[5]),c={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:h,scaleY:f,scaleZ:t=>Math.hypot(t[8],t[9],t[10]),scale:t=>(h(t)+f(t))/2,rotateX:t=>u(a(Math.atan2(t[6],t[5]))),rotateY:t=>u(a(Math.atan2(-t[2],t[0]))),rotateZ:o,rotate:o,skewX:t=>a(Math.atan(t[4])),skewY:t=>a(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function d(t){return+!!t.includes("scale")}function p(t,e){let i,n;if(!t||"none"===t)return d(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=c,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=l,n=e}if(!n)return d(e);let s=i[e],a=n[1].split(",").map(m);return"function"==typeof s?s(a):a[s]}function m(t){return parseFloat(t.trim())}t.s(["P",0,d,"g",0,p,"o",0,(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return p(i,e)}],931244);var v=t.i(395667),g=t.i(122901),y=t.i(991747);let b=new Set(["x","y","z"]),w=v.$.filter(t=>!b.has(t)),S=new Set(["bottom","right"]);function T(t,e,i,n,r,s){let a=parseFloat(t);if(!isNaN(a))return a;let{min:o,max:l}=e()[i],u=l-o;return"border-box"===s?u:u-parseFloat(n)-parseFloat(r)}let A={width:({width:t,paddingLeft:e="0",paddingRight:i="0",boxSizing:n},r)=>T(t,r,"x",e,i,n),height:({height:t,paddingTop:e="0",paddingBottom:i="0",boxSizing:n},r)=>T(t,r,"y",e,i,n),top:({top:t})=>parseFloat(t),left:({left:t})=>parseFloat(t),bottom:({top:t},e)=>{let{y:i}=e();return parseFloat(t)+(i.max-i.min)},right:({left:t},e)=>{let{x:i}=e();return parseFloat(t)+(i.max-i.min)},x:({transform:t})=>p(t,"x"),y:({transform:t})=>p(t,"y")};A.translateX=A.x,A.translateY=A.y,t.s(["f",0,S,"D",0,t=>t===g.H||t===y.L,"k",0,A,"l",0,function(t){let e=[];return w.forEach(i=>{let n=t.getValue(i);if(void 0!==n){let t=n.get(),r=+!!i.startsWith("scale");if(t===r)return;e.push([i,t]),n.set(r)}}),e}],16345)},394499,t=>{"use strict";t.s(["f",0,(t,e)=>e&&"number"==typeof t?e.transform(t):t])},797919,t=>{"use strict";t.s(["f",0,t=>Math.round(1e5*t)/1e5])},320953,t=>{"use strict";t.s(["f",0,t=>!!(t&&t.getVelocity)])},361397,t=>{"use strict";t.s(["f",0,(t,e,i)=>i>e?e:i{"use strict";t.s(["f",0,t=>Array.isArray(t)&&"number"==typeof t[0]])},662753,t=>{"use strict";t.s(["k",0,()=>{},"w",0,()=>{}])},782069,t=>{"use strict";t.s(["f",0,{}])},819209,t=>{"use strict";t.s(["f",0,t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)])},16206,t=>{"use strict";t.s(["f",0,t=>"object"==typeof t&&null!==t])},446914,t=>{"use strict";t.s(["f",0,t=>/^0[^.\s]+$/u.test(t)])},666408,t=>{"use strict";t.s(["f",0,t=>t])},34897,t=>{"use strict";t.s(["f",0,(...t)=>t.reduce((t,e)=>i=>e(t(i)))])},857280,t=>{"use strict";t.s(["f",0,(t,e,i)=>{let n=e-t;return n?(i-t)/n:1}])},966900,355876,t=>{"use strict";function e(t,e){-1===t.indexOf(e)&&t.push(e)}function i(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}t.s(["I",0,e,"i",0,i],355876),t.s(["f",0,class{constructor(){this.subscriptions=[]}add(t){return e(this.subscriptions,t),()=>this.remove(t)}remove(t){i(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r{"use strict";t.s(["q",0,t=>t/1e3,"Z",0,t=>1e3*t])},888888,t=>{"use strict";t.s(["f",0,(t,e)=>e?1e3/e*t:0])}]); //# sourceMappingURL=247dzx94z6kzs.js.map