"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5458],{81695:function(t,e,n){var i=n(21219);n.o(i,"useParams")&&n.d(e,{useParams:function(){return i.useParams}}),n.o(i,"usePathname")&&n.d(e,{usePathname:function(){return i.usePathname}}),n.o(i,"useRouter")&&n.d(e,{useRouter:function(){return i.useRouter}}),n.o(i,"useSearchParams")&&n.d(e,{useSearchParams:function(){return i.useSearchParams}}),n.o(i,"useSelectedLayoutSegment")&&n.d(e,{useSelectedLayoutSegment:function(){return i.useSelectedLayoutSegment}})},99976:function(t,e,n){Object.defineProperty(e,"$",{enumerable:!0,get:function(){return r}});let i=n(43503);function r(t){let{createServerReference:e}=n(18786);return e(t,i.callServer)}},92805:function(t,e,n){n.d(e,{S:function(){return c}});var i=n(37169),r=n(73923),s=n(40131),o=n(3983);function a(t,e){return t*Math.sqrt(1-e*e)}let l=["duration","bounce"],u=["stiffness","damping","mass"];function h(t,e){return e.some(e=>void 0!==t[e])}function c({keyframes:t,restDelta:e,restSpeed:n,...c}){let d;let p=t[0],f=t[t.length-1],m={done:!1,value:p},{stiffness:v,damping:g,mass:y,duration:x,velocity:P,isResolvedFromDuration:b}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!h(t,u)&&h(t,l)){let n=function({duration:t=800,bounce:e=.25,velocity:n=0,mass:r=1}){let l,u;(0,s.K)(t<=(0,i.w)(10),"Spring duration must be 10 seconds or less");let h=1-e;h=(0,o.u)(.05,1,h),t=(0,o.u)(.01,10,(0,i.X)(t)),h<1?(l=e=>{let i=e*h,r=i*t;return .001-(i-n)/a(e,h)*Math.exp(-r)},u=e=>{let i=e*h*t,r=Math.pow(h,2)*Math.pow(e,2)*t,s=a(Math.pow(e,2),h);return(i*n+n-r)*Math.exp(-i)*(-l(e)+.001>0?-1:1)/s}):(l=e=>-.001+Math.exp(-e*t)*((e-n)*t+1),u=e=>t*t*(n-e)*Math.exp(-e*t));let c=function(t,e,n){let i=n;for(let n=1;n<12;n++)i-=t(i)/e(i);return i}(l,u,5/t);if(t=(0,i.w)(t),isNaN(c))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(c,2)*r;return{stiffness:e,damping:2*h*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...n,mass:1}).isResolvedFromDuration=!0}return e}({...c,velocity:-(0,i.X)(c.velocity||0)}),w=P||0,A=g/(2*Math.sqrt(v*y)),T=f-p,S=(0,i.X)(Math.sqrt(v/y)),V=5>Math.abs(T);if(n||(n=V?.01:2),e||(e=V?.005:.5),A<1){let t=a(S,A);d=e=>f-Math.exp(-A*S*e)*((w+A*S*T)/t*Math.sin(t*e)+T*Math.cos(t*e))}else if(1===A)d=t=>f-Math.exp(-S*t)*(T+(w+S*T)*t);else{let t=S*Math.sqrt(A*A-1);d=e=>{let n=Math.exp(-A*S*e),i=Math.min(t*e,300);return f-n*((w+A*S*T)*Math.sinh(i)+t*T*Math.cosh(i))/t}}return{calculatedDuration:b&&x||null,next:t=>{let i=d(t);if(b)m.done=t>=x;else{let s=w;0!==t&&(s=A<1?(0,r.P)(d,t,i):0);let o=Math.abs(s)<=n,a=Math.abs(f-i)<=e;m.done=o&&a}return m.value=m.done?f:i,m}}}},30003:function(t,e,n){n.d(e,{E:function(){return i},i:function(){return r}});let i=2e4;function r(t){let e=0,n=t.next(e);for(;!n.done&&e=i?1/0:e}},73923:function(t,e,n){n.d(e,{P:function(){return r}});var i=n(2365);function r(t,e,n){let r=Math.max(e-5,0);return(0,i.R)(n-t(r),e-r)}},43440:function(t,e,n){n.d(e,{v:function(){return ts}});var i=n(40131),r=n(37169);let s={current:!1},o=t=>Array.isArray(t)&&"number"==typeof t[0],a=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,l={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:a([0,.65,.55,1]),circOut:a([.55,0,1,.45]),backIn:a([.31,.01,.66,-.59]),backOut:a([.33,1.53,.69,.99])};var u=n(466),h=n(46267),c=n(6616),d=n(38180),p=n(3983),f=n(43640);function m(t,e,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var v=n(63822),g=n(70326),y=n(54317);let x=(t,e,n)=>{let i=t*t;return Math.sqrt(Math.max(0,n*(e*e-i)+i))},P=[v.$,g.m,y.J],b=t=>P.find(e=>e.test(t));function w(t){let e=b(t);(0,i.k)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`);let n=e.parse(t);return e===y.J&&(n=function({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,n/=100;let r=0,s=0,o=0;if(e/=100){let i=n<.5?n*(1+e):n+e-n*e,a=2*n-i;r=m(a,i,t+1/3),s=m(a,i,t),o=m(a,i,t-1/3)}else r=s=o=n;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:i}}(n)),n}let A=(t,e)=>{let n=w(t),i=w(e),r={...n};return t=>(r.red=x(n.red,i.red,t),r.green=x(n.green,i.green,t),r.blue=x(n.blue,i.blue,t),r.alpha=(0,f.C)(n.alpha,i.alpha,t),g.m.transform(r))};var T=n(50970),S=n(75301);let V=(t,e)=>n=>`${n>0?e:t}`;function C(t,e){return"number"==typeof t?n=>(0,f.C)(t,e,n):d.$.test(t)?A(t,e):t.startsWith("var(")?V(t,e):M(t,e)}let D=(t,e)=>{let n=[...t],i=n.length,r=t.map((t,n)=>C(t,e[n]));return t=>{for(let e=0;e{let n={...t,...e},i={};for(let r in n)void 0!==t[r]&&void 0!==e[r]&&(i[r]=C(t[r],e[r]));return t=>{for(let e in i)n[e]=i[e](t);return n}},M=(t,e)=>{let n=S.P.createTransformer(e),r=(0,S.V)(t),s=(0,S.V)(e);return r.numVars===s.numVars&&r.numColors===s.numColors&&r.numNumbers>=s.numNumbers?(0,T.z)(D(r.values,s.values),n):((0,i.K)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),V(t,e))};var R=n(99075),k=n(38752);let L=(t,e)=>n=>(0,f.C)(t,e,n);function j(t,e,{clamp:n=!0,ease:r,mixer:s}={}){let o=t.length;if((0,i.k)(o===e.length,"Both input and output ranges must be the same length"),1===o)return()=>e[0];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,n){let i=[],r=n||function(t){if("number"==typeof t);else if("string"==typeof t)return d.$.test(t)?A:M;else if(Array.isArray(t))return D;else if("object"==typeof t)return E;return L}(t[0]),s=t.length-1;for(let n=0;n{let n=0;if(l>1)for(;nu((0,p.u)(t[0],t[o-1],e)):u}var B=n(50101);function F({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){let r=(0,h.N)(i)?i.map(c.R):(0,c.R)(i),s={done:!1,value:e[0]},o=j((n&&n.length===e.length?n:(0,B.Y)(e)).map(e=>e*t),e,{ease:Array.isArray(r)?r:e.map(()=>r||u.mZ).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=o(e),s.done=e>=t,s)}}var O=n(92805),W=n(73923);function $({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d;let p=t[0],f={done:!1,value:p},m=t=>void 0!==a&&tl,v=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)-g*Math.exp(-t/i),b=t=>x+P(t),w=t=>{let e=P(t),n=b(t);f.done=Math.abs(e)<=u,f.value=f.done?x:n},A=t=>{m(f.value)&&(c=t,d=(0,O.S)({keyframes:[f.value,v(f.value)],velocity:(0,W.P)(b,t,f.value),damping:r,stiffness:s,restDelta:u,restSpeed:h}))};return A(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,w(t),A(t)),void 0!==c&&t>c)?d.next(t-c):(e||w(t),f)}}}var U=n(55062);let I=t=>{let e=({timestamp:e})=>t(e);return{start:()=>U.Wi.update(e,!0),stop:()=>(0,U.Pn)(e),now:()=>U.frameData.isProcessing?U.frameData.timestamp:performance.now()}};var N=n(30003);let H={decay:$,inertia:$,tween:F,keyframes:F,spring:O.S};function X({autoplay:t=!0,delay:e=0,driver:n=I,keyframes:i,type:s="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:l="loop",onPlay:u,onStop:h,onComplete:c,onUpdate:d,...f}){let m,v,g,y,x,P=1,b=!1,w=()=>{v=new Promise(t=>{m=t})};w();let A=H[s]||F;A!==F&&"number"!=typeof i[0]&&(y=j([0,100],i,{clamp:!1}),i=[0,100]);let T=A({...f,keyframes:i});"mirror"===l&&(x=A({...f,keyframes:[...i].reverse(),velocity:-(f.velocity||0)}));let S="idle",V=null,C=null,D=null;null===T.calculatedDuration&&o&&(T.calculatedDuration=(0,N.i)(T));let{calculatedDuration:E}=T,M=1/0,R=1/0;null!==E&&(R=(M=E+a)*(o+1)-a);let k=0,L=t=>{if(null===C)return;P>0&&(C=Math.min(C,t)),P<0&&(C=Math.min(t-R/P,C));let n=(k=null!==V?V:Math.round(t-C)*P)-e*(P>=0?1:-1),r=P>=0?n<0:n>R;k=Math.max(n,0),"finished"===S&&null===V&&(k=R);let s=k,u=T;if(o){let t=Math.min(k,R)/M,e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,(e=Math.min(e,o+1))%2&&("reverse"===l?(n=1-n,a&&(n-=a/M)):"mirror"===l&&(u=x)),s=(0,p.u)(0,1,n)*M}let h=r?{done:!1,value:i[0]}:u.next(s);y&&(h.value=y(h.value));let{done:c}=h;r||null===E||(c=P>=0?k>=R:k<=0);let f=null===V&&("finished"===S||"running"===S&&c);return d&&d(h.value),f&&W(),h},B=()=>{g&&g.stop(),g=void 0},O=()=>{S="idle",B(),m(),w(),C=D=null},W=()=>{S="finished",c&&c(),B(),m()},$=()=>{if(b)return;g||(g=n(L));let t=g.now();u&&u(),null!==V?C=t-V:C&&"finished"!==S||(C=t),"finished"===S&&w(),D=C,V=null,S="running",g.start()};t&&$();let U={then:(t,e)=>v.then(t,e),get time(){return(0,r.X)(k)},set time(newTime){k=newTime=(0,r.w)(newTime),null===V&&g&&0!==P?C=g.now()-newTime/P:V=newTime},get duration(){let t=null===T.calculatedDuration?(0,N.i)(T):T.calculatedDuration;return(0,r.X)(t)},get speed(){return P},set speed(newSpeed){if(newSpeed===P||!g)return;P=newSpeed,U.time=(0,r.X)(k)},get state(){return S},play:$,pause:()=>{S="paused",V=k},stop:()=>{b=!0,"idle"!==S&&(S="idle",h&&h(),O())},cancel:()=>{null!==D&&L(D),O()},complete:()=>{S="finished"},sample:t=>(C=0,L(t))};return U}let z=(0,n(52953).X)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Y=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Z=(t,e)=>"spring"===e.type||"backgroundColor"===t||!function t(e){return!!(!e||"string"==typeof e&&l[e]||o(e)||Array.isArray(e)&&e.every(t))}(e.ease);var G=n(90210);let q={type:"spring",stiffness:500,damping:25,restSpeed:10},_=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),K={type:"keyframes",duration:.8},J={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Q=(t,{keyframes:e})=>e.length>2?K:G.G.has(t)?t.startsWith("scale")?_(e[1]):q:J,tt=(t,e)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(S.P.test(e)||"0"===e)&&!e.startsWith("url("));var te=n(67057),tn=n(13186),ti=n(71683);let tr={skipAnimations:!1},ts=(t,e,n,u={})=>h=>{let c=(0,ti.e)(u,t)||{},d=c.delay||u.delay||0,{elapsed:p=0}=u;p-=(0,r.w)(d);let f=function(t,e,n,i){let r,s;let o=tt(e,n);r=Array.isArray(n)?[...n]:[null,n];let a=void 0!==i.from?i.from:t.get(),l=[];for(let t=0;t{e.set(t),c.onUpdate&&c.onUpdate(t)},onComplete:()=>{h(),c.onComplete&&c.onComplete()}};if((0,ti.r)(c)||(x={...x,...Q(t,x)}),x.duration&&(x.duration=(0,r.w)(x.duration)),x.repeatDelay&&(x.repeatDelay=(0,r.w)(x.repeatDelay)),!g||!y||s.current||!1===c.type||tr.skipAnimations)return function({keyframes:t,delay:e,onUpdate:n,onComplete:i}){let r=()=>(n&&n(t[t.length-1]),i&&i(),{time:0,speed:1,duration:0,play:k.Z,pause:k.Z,stop:k.Z,then:t=>(t(),Promise.resolve()),cancel:k.Z,complete:k.Z});return e?X({keyframes:[0,1],duration:0,delay:e,onComplete:r}):r()}(s.current?{...x,delay:0}:x);if(!u.isHandoff&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate){let n=function(t,e,{onUpdate:n,onComplete:i,...s}){let u,h;if(!(z()&&Y.has(e)&&!s.repeatDelay&&"mirror"!==s.repeatType&&0!==s.damping&&"inertia"!==s.type))return!1;let c=!1,d=!1,p=()=>{h=new Promise(t=>{u=t})};p();let{keyframes:f,duration:m=300,ease:v,times:g}=s;if(Z(e,s)){let t=X({...s,repeat:0,delay:0}),e={done:!1,value:f[0]},n=[],i=0;for(;!e.done&&i<2e4;)e=t.sample(i),n.push(e.value),i+=10;g=void 0,f=n,m=i-10,v="linear"}let y=function(t,e,n,{delay:i=0,duration:r,repeat:s=0,repeatType:u="loop",ease:h,times:c}={}){let d={[e]:n};c&&(d.offset=c);let p=function t(e){if(e)return o(e)?a(e):Array.isArray(e)?e.map(t):l[e]}(h);return Array.isArray(p)&&(d.easing=p),t.animate(d,{delay:i,duration:r,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:s+1,direction:"reverse"===u?"alternate":"normal"})}(t.owner.current,e,f,{...s,duration:m,ease:v,times:g}),x=()=>{d=!1,y.cancel()},P=()=>{d=!0,U.Wi.update(x),u(),p()};return y.onfinish=()=>{d||(t.set(function(t,{repeat:e,repeatType:n="loop"}){let i=e&&"loop"!==n&&e%2==1?0:t.length-1;return t[i]}(f,s)),i&&i(),P())},{then:(t,e)=>h.then(t,e),attachTimeline:t=>(y.timeline=t,y.onfinish=null,k.Z),get time(){return(0,r.X)(y.currentTime||0)},set time(newTime){y.currentTime=(0,r.w)(newTime)},get speed(){return y.playbackRate},set speed(newSpeed){y.playbackRate=newSpeed},get duration(){return(0,r.X)(m)},play:()=>{c||(y.play(),(0,U.Pn)(x))},pause:()=>y.pause(),stop:()=>{if(c=!0,"idle"===y.playState)return;let{currentTime:e}=y;if(e){let n=X({...s,autoplay:!1});t.setWithVelocity(n.sample(e-10).value,n.sample(e).value,10)}P()},complete:()=>{d||y.finish()},cancel:P}}(e,t,x);if(n)return n}return X(x)}},51119:function(t,e,n){n.d(e,{D:function(){return o}});var i=n(43440),r=n(90039),s=n(21826);function o(t,e,n){let o=(0,s.i)(t)?t:(0,r.BX)(t);return o.start((0,i.v)("",o,e,n)),o.animation}},62180:function(t,e,n){n.d(e,{w:function(){return h}});var i=n(90210),r=n(17235),s=n(43440),o=n(71331),a=n(63798),l=n(71683),u=n(55062);function h(t,e,{delay:n=0,transitionOverride:h,type:c}={}){let{transition:d=t.getDefaultTransition(),transitionEnd:p,...f}=t.makeTargetAnimatable(e),m=t.getValue("willChange");h&&(d=h);let v=[],g=c&&t.animationState&&t.animationState.getState()[c];for(let e in f){let a=t.getValue(e),h=f[e];if(!a||void 0===h||g&&function({protectedKeys:t,needsAnimating:e},n){let i=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,i}(g,e))continue;let c={delay:n,elapsed:0,...(0,l.e)(d||{},e)};if(window.HandoffAppearAnimations){let n=t.getProps()[r.M];if(n){let t=window.HandoffAppearAnimations(n,e,a,u.Wi);null!==t&&(c.elapsed=t,c.isHandoff=!0)}}let p=!c.isHandoff&&!function(t,e){let n=t.get();if(!Array.isArray(e))return n!==e;for(let t=0;tm.remove(e))),v.push(y)}return p&&Promise.all(v).then(()=>{p&&(0,a.CD)(t,p)}),v}},17235:function(t,e,n){n.d(e,{M:function(){return i}});let i="data-"+(0,n(95657).D)("framerAppearId")},82600:function(t,e,n){n.d(e,{H:function(){return i}});function i(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}},68686:function(t,e,n){n.d(e,{C:function(){return i}});let i=t=>Array.isArray(t)},71683:function(t,e,n){function i({when:t,delay:e,delayChildren:n,staggerChildren:i,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}n.d(e,{e:function(){return r},r:function(){return i}})},50728:function(t,e,n){n.d(e,{p:function(){return i}});let i=(0,n(7653).createContext)({})},14:function(t,e,n){n.d(e,{O:function(){return i}});let i=(0,n(7653).createContext)(null)},55083:function(t,e,n){n.d(e,{Bn:function(){return o},X7:function(){return a},Z7:function(){return s}});var i=n(48828),r=n(32515);let s=t=>1-Math.sin(Math.acos(t)),o=(0,r.M)(s),a=(0,i.o)(s)},70308:function(t,e,n){n.d(e,{_:function(){return s}});var i=n(38752);let r=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function s(t,e,n,s){if(t===e&&n===s)return i.Z;let o=e=>(function(t,e,n,i,s){let o,a;let l=0;do(o=r(a=e+(n-e)/2,i,s)-t)>0?n=a:e=a;while(Math.abs(o)>1e-7&&++l<12);return a})(e,0,1,t,n);return t=>0===t||1===t?t:r(o(t),e,s)}},466:function(t,e,n){n.d(e,{Vv:function(){return s},YQ:function(){return r},mZ:function(){return o}});var i=n(70308);let r=(0,i._)(.42,0,1,1),s=(0,i._)(0,0,.58,1),o=(0,i._)(.42,0,.58,1)},48828:function(t,e,n){n.d(e,{o:function(){return i}});let i=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},32515:function(t,e,n){n.d(e,{M:function(){return i}});let i=t=>e=>1-t(1-e)},46267:function(t,e,n){n.d(e,{N:function(){return i}});let i=t=>Array.isArray(t)&&"number"!=typeof t[0]},6616:function(t,e,n){n.d(e,{R:function(){return f}});var i=n(40131),r=n(70308),s=n(38752),o=n(466),a=n(55083),l=n(48828),u=n(32515);let h=(0,r._)(.33,1.53,.69,.99),c=(0,u.M)(h),d=(0,l.o)(c),p={linear:s.Z,easeIn:o.YQ,easeInOut:o.mZ,easeOut:o.Vv,circIn:a.Z7,circInOut:a.X7,circOut:a.Bn,backIn:c,backInOut:d,backOut:h,anticipate:t=>(t*=2)<1?.5*c(t):.5*(2-Math.pow(2,-10*(t-1)))},f=t=>{if(Array.isArray(t)){(0,i.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,n,s,o]=t;return(0,r._)(e,n,s,o)}return"string"==typeof t?((0,i.k)(void 0!==p[t],`Invalid easing type '${t}'`),p[t]):t}},55062:function(t,e,n){n.d(e,{Pn:function(){return a},Wi:function(){return o},frameData:function(){return l},S6:function(){return u}});var i=n(38752);class r{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){let e=this.order.indexOf(t);-1!==e&&(this.order.splice(e,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}let s=["prepare","read","update","preRender","render","postRender"],{schedule:o,cancel:a,state:l,steps:u}=function(t,e){let n=!1,i=!0,o={delta:0,timestamp:0,isProcessing:!1},a=s.reduce((t,e)=>(t[e]=function(t){let e=new r,n=new r,i=0,s=!1,o=!1,a=new WeakSet,l={schedule:(t,r=!1,o=!1)=>{let l=o&&s,u=l?e:n;return r&&a.add(t),u.add(t)&&l&&s&&(i=e.order.length),t},cancel:t=>{n.remove(t),a.delete(t)},process:r=>{if(s){o=!0;return}if(s=!0,[e,n]=[n,e],n.clear(),i=e.order.length)for(let n=0;nn=!0),t),{}),l=t=>a[t].process(o),u=()=>{let r=performance.now();n=!1,o.delta=i?1e3/60:Math.max(Math.min(r-o.timestamp,40),1),o.timestamp=r,o.isProcessing=!0,s.forEach(l),o.isProcessing=!1,n&&e&&(i=!1,t(u))},h=()=>{n=!0,i=!0,o.isProcessing||t(u)};return{schedule:s.reduce((t,e)=>{let i=a[e];return t[e]=(t,e=!1,r=!1)=>(n||h(),i.schedule(t,e,r)),t},{}),cancel:t=>s.forEach(e=>a[e].cancel(t)),state:o,steps:a}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:i.Z,!0)},76073:function(t,e,n){n.d(e,{A:function(){return r}});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"]},r={};for(let t in i)r[t]={isEnabled:e=>i[t].some(t=>!!e[t])}},88344:function(t,e,n){n.d(e,{j:function(){return s}});var i=n(34940),r=n(90210);function s(t,{layout:e,layoutId:n}){return r.G.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!i.P[t]||"opacity"===t)}},54828:function(t,e,n){function i({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function r({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function s(t,e){if(!e)return t;let n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}n.d(e,{d7:function(){return s},i8:function(){return i},z2:function(){return r}})},81077:function(t,e,n){n.d(e,{D2:function(){return m},YY:function(){return u},am:function(){return c},o2:function(){return l},q2:function(){return s}});var i=n(43640),r=n(27502);function s(t,e,n){return n+e*(t-n)}function o(t,e,n,i,r){return void 0!==r&&(t=i+r*(t-i)),i+n*(t-i)+e}function a(t,e=0,n=1,i,r){t.min=o(t.min,e,n,i,r),t.max=o(t.max,e,n,i,r)}function l(t,{x:e,y:n}){a(t.x,e.translate,e.scale,e.originPoint),a(t.y,n.translate,n.scale,n.originPoint)}function u(t,e,n,i=!1){let s,o;let a=n.length;if(a){e.x=e.y=1;for(let u=0;u1.0000000000001||t<.999999999999?t:1}function c(t,e){t.min=t.min+e,t.max=t.max+e}function d(t,e,[n,r,s]){let o=void 0!==e[s]?e[s]:.5,l=(0,i.C)(t.min,t.max,o);a(t,e[n],e[r],l,e.scale)}let p=["x","scaleX","originX"],f=["y","scaleY","originY"];function m(t,e){d(t.x,e,p),d(t.y,e,f)}},86503:function(t,e,n){n.d(e,{dO:function(){return o},wc:function(){return r}});let i=()=>({translate:0,scale:1,origin:0,originPoint:0}),r=()=>({x:i(),y:i()}),s=()=>({min:0,max:0}),o=()=>({x:s(),y:s()})},34940:function(t,e,n){n.d(e,{B:function(){return r},P:function(){return i}});let i={};function r(t){Object.assign(i,t)}},27502:function(t,e,n){function i(t){return void 0===t||1===t}function r({scale:t,scaleX:e,scaleY:n}){return!i(t)||!i(e)||!i(n)}function s(t){return r(t)||o(t)||t.z||t.rotate||t.rotateX||t.rotateY}function o(t){var e,n;return(e=t.x)&&"0%"!==e||(n=t.y)&&"0%"!==n}n.d(e,{D_:function(){return o},Lj:function(){return r},ud:function(){return s}})},30487:function(t,e,n){n.d(e,{J:function(){return s},z:function(){return o}});var i=n(54828),r=n(81077);function s(t,e){return(0,i.i8)((0,i.d7)(t.getBoundingClientRect(),e))}function o(t,e,n){let i=s(t,n),{scroll:o}=e;return o&&((0,r.am)(i.x,o.offset.x),(0,r.am)(i.y,o.offset.y)),i}},83462:function(t,e,n){n.d(e,{J:function(){return Z}});var i=n(63798),r=n(40131),s=n(37984),o=n(25375);let a=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function l(t,e,n=1){(0,r.k)(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[i,u]=function(t){let e=a.exec(t);if(!e)return[,];let[,n,i]=e;return[n,i]}(t);if(!i)return;let h=window.getComputedStyle(e).getPropertyValue(i);if(h){let t=h.trim();return(0,s.P)(t)?parseFloat(t):t}return(0,o.tm)(u)?l(u,e,n+1):u}var u=n(68686),h=n(90210),c=n(61217),d=n(80226),p=n(37822),f=n(31150);let m=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),v=t=>m.has(t),g=t=>Object.keys(t).some(v),y=t=>t===p.Rx||t===f.px,x=(t,e)=>parseFloat(t.split(", ")[e]),P=(t,e)=>(n,{transform:i})=>{if("none"===i||!i)return 0;let r=i.match(/^matrix3d\((.+)\)$/);if(r)return x(r[1],e);{let e=i.match(/^matrix\((.+)\)$/);return e?x(e[1],t):0}},b=new Set(["x","y","z"]),w=h._.filter(t=>!b.has(t)),A={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),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:P(4,13),y:P(5,14)};A.translateX=A.x,A.translateY=A.y;let T=(t,e,n)=>{let i=e.measureViewportBox(),r=getComputedStyle(e.current),{display:s}=r,o={};"none"===s&&e.setStaticValue("display",t.display||"block"),n.forEach(t=>{o[t]=A[t](i,r)}),e.render();let a=e.measureViewportBox();return n.forEach(n=>{let i=e.getValue(n);i&&i.jump(o[n]),t[n]=A[n](a,r)}),t},S=(t,e,n={},i={})=>{e={...e},i={...i};let s=Object.keys(e).filter(v),o=[],a=!1,l=[];if(s.forEach(s=>{let h;let d=t.getValue(s);if(!t.hasValue(s))return;let p=n[s],m=(0,c.C)(p),v=e[s];if((0,u.C)(v)){let t=v.length,e=null===v[0]?1:0;p=v[e],m=(0,c.C)(p);for(let n=e;n{let i=t.getValue(n);void 0!==i&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e.length&&t.render(),e}(t),a=!0),l.push(s),i[s]=void 0!==i[s]?i[s]:e[s],d.jump(v))}}),!l.length)return{target:e,transitionEnd:i};{let n=l.indexOf("height")>=0?window.pageYOffset:null,r=T(e,t,l);return o.length&&o.forEach(([e,n])=>{t.getValue(e).set(n)}),t.render(),d.j&&null!==n&&window.scrollTo({top:n}),{target:r,transitionEnd:i}}},V=(t,e,n,i)=>{var r,s;let a=function(t,{...e},n){let i=t.current;if(!(i instanceof Element))return{target:e,transitionEnd:n};for(let r in n&&(n={...n}),t.values.forEach(t=>{let e=t.get();if(!(0,o.tm)(e))return;let n=l(e,i);n&&t.set(n)}),e){let t=e[r];if(!(0,o.tm)(t))continue;let s=l(t,i);s&&(e[r]=s,n||(n={}),void 0===n[r]&&(n[r]=t))}return{target:e,transitionEnd:n}}(t,e,i);return e=a.target,i=a.transitionEnd,r=e,s=i,g(r)?S(t,r,n,s):{target:r,transitionEnd:s}};var C=n(86503),D=n(99506),E=n(61094),M=n(56820),R=n(39311),k=n(90039),L=n(71331),j=n(21826),B=n(33343),F=n(28453),O=n(29222),W=n(76073),$=n(17199),U=n(66960),I=n(55062);let N=Object.keys(W.A),H=N.length,X=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],z=$.V.length;class Y{constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:i,visualState:r},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>I.Wi.render(this.render,!1,!0);let{latestValues:o,renderState:a}=r;this.latestValues=o,this.baseTarget={...o},this.initialValues=e.initial?{...o}:{},this.renderState=a,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=s,this.isControllingVariants=(0,B.G)(e),this.isVariantNode=(0,B.M)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:l,...u}=this.scrapeMotionValuesFromProps(e,{});for(let t in u){let e=u[t];void 0!==o[t]&&(0,j.i)(e)&&(e.set(o[t],!1),(0,L.L)(l)&&l.add(t))}}scrapeMotionValuesFromProps(t,e){return{}}mount(t){this.current=t,U.R.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)),M.O.current||(0,E.A)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||M.n.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in U.R.delete(this.current),this.projection&&this.projection.unmount(),(0,I.Pn)(this.notifyUpdate),(0,I.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)this.features[t].unmount();this.current=null}bindToMotionValue(t,e){let n=h.G.has(t),i=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&I.Wi.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),r=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),r()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures({children:t,...e},n,i,r){let s,o;for(let t=0;tthis.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:r,layoutScroll:a,layoutRoot:l})}return o}updateFeatures(){for(let t in this.features){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,C.dO)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}makeTargetAnimatable(t,e=!0){return this.makeTargetAnimatableFromInstance(t,this.props,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){e!==this.values.get(t)&&(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 n=this.values.get(t);return void 0===n&&void 0!==e&&(n=(0,k.BX)(e,{owner:this}),this.addValue(t,n)),n}readValue(t){var e;return void 0===this.latestValues[t]&&this.current?null!==(e=this.getBaseTargetFromProps(this.props,t))&&void 0!==e?e:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t]}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let{initial:n}=this.props,i="string"==typeof n||"object"==typeof n?null===(e=(0,O.o)(this.props,n))||void 0===e?void 0:e[t]:void 0;if(n&&void 0!==i)return i;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||(0,j.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 R.L),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class Z extends Y{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:n}){delete e[t],delete n[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:e,...n},{transformValues:r},s){let o=(0,i.P$)(n,t||{},this);if(r&&(e&&(e=r(e)),n&&(n=r(n)),o&&(o=r(o))),s){(0,i.GJ)(this,n,o);let t=V(this,n,o,e);e=t.transitionEnd,n=t.target}return{transition:t,transitionEnd:e,...n}}}},72354:function(t,e,n){n.d(e,{E:function(){return na}});var i,r=n(7653);let s=(0,r.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),o=(0,r.createContext)({});var a=n(14),l=n(98739);let u=(0,r.createContext)({strict:!1});var h=n(17235),c=n(99506),d=n(28453),p=n(33343);function f(t){return Array.isArray(t)?t.join(" "):t}var m=n(76073),v=n(80226),g=n(50728);let y=(0,r.createContext)({}),x=Symbol.for("motionComponentSymbol"),P=["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 b(t){if("string"!=typeof t||t.includes("-"));else if(P.indexOf(t)>-1||/[A-Z]/.test(t))return!0;return!1}var w=n(88344),A=n(21826),T=n(24569);let S=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function V(t,e,n){for(let i in e)(0,A.i)(e[i])||(0,w.j)(i,n)||(t[i]=e[i])}let C=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function D(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||C.has(t)}let E=t=>!D(t);try{(i=require("@emotion/is-prop-valid").default)&&(E=t=>t.startsWith("on")?!D(t):i(t))}catch(t){}var M=n(90379);let R=()=>({...S(),attrs:{}});var k=n(67461),L=n(17257),j=n(52737),B=n(82600),F=n(29222),O=n(2415),W=n(36565);function $(t){let e=(0,A.i)(t)?t.get():t;return(0,W.p)(e)?e.toValue():e}let U=t=>(e,n)=>{let i=(0,r.useContext)(o),s=(0,r.useContext)(a.O),l=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},i,r,s){let o={latestValues:function(t,e,n,i){let r={},s=i(t,{});for(let t in s)r[t]=$(s[t]);let{initial:o,animate:a}=t,l=(0,p.G)(t),u=(0,p.M)(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!n&&!1===n.initial,c=(h=h||!1===o)?a:o;return c&&"boolean"!=typeof c&&!(0,B.H)(c)&&(Array.isArray(c)?c:[c]).forEach(e=>{let n=(0,F.o)(t,e);if(!n)return;let{transitionEnd:i,transition:s,...o}=n;for(let t in o){let e=o[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let t in i)r[t]=i[t]}),r}(i,r,s,t),renderState:e()};return n&&(o.mount=t=>n(i,t,o)),o})(t,e,i,s);return n?l():(0,O.h)(l)};var I=n(55062);let N={useVisualState:U({scrapeMotionValuesFromProps:j.U,createRenderState:R,onMount:(t,e,{renderState:n,latestValues:i})=>{I.Wi.read(()=>{try{n.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){n.dimensions={x:0,y:0,width:0,height:0}}}),I.Wi.render(()=>{(0,M.i)(n,i,{enableHardwareAcceleration:!1},(0,k.a)(e.tagName),t.transformTemplate),(0,L.K)(e,n)})}})},H={useVisualState:U({scrapeMotionValuesFromProps:n(32313).U,createRenderState:S})};function X(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}let z=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function Y(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}let Z=t=>e=>z(e)&&t(e,Y(e));function G(t,e,n,i){return X(t,e,Z(n),i)}var q=n(50970);function _(t){let e=null;return()=>null===e&&(e=t,()=>{e=null})}let K=_("dragHorizontal"),J=_("dragVertical");function Q(t){let e=!1;if("y"===t)e=J();else if("x"===t)e=K();else{let t=K(),n=J();t&&n?e=()=>{t(),n()}:(t&&t(),n&&n())}return e}function tt(){let t=Q(!0);return!t||(t(),!1)}class te{constructor(t){this.isMounted=!1,this.node=t}update(){}}function tn(t,e){let n="onHover"+(e?"Start":"End");return G(t.current,"pointer"+(e?"enter":"leave"),(i,r)=>{if("touch"===i.pointerType||tt())return;let s=t.getProps();t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",e),s[n]&&I.Wi.update(()=>s[n](i,r))},{passive:!t.getProps()[n]})}class ti extends te{mount(){this.unmount=(0,q.z)(tn(this.node,!0),tn(this.node,!1))}unmount(){}}class tr extends te{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,q.z)(X(this.node.current,"focus",()=>this.onFocus()),X(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let ts=(t,e)=>!!e&&(t===e||ts(t,e.parentElement));var to=n(38752);function ta(t,e){if(!e)return;let n=new PointerEvent("pointer"+t);e(n,Y(n))}class tl extends te{constructor(){super(...arguments),this.removeStartListeners=to.Z,this.removeEndListeners=to.Z,this.removeAccessibleListeners=to.Z,this.startPointerPress=(t,e)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),i=G(window,"pointerup",(t,e)=>{if(!this.checkPressEnd())return;let{onTap:n,onTapCancel:i,globalTapTarget:r}=this.node.getProps();I.Wi.update(()=>{r||ts(this.node.current,t.target)?n&&n(t,e):i&&i(t,e)})},{passive:!(n.onTap||n.onPointerUp)}),r=G(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=(0,q.z)(i,r),this.startPress(t,e)},this.startAccessiblePress=()=>{let t=X(this.node.current,"keydown",t=>{"Enter"!==t.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=X(this.node.current,"keyup",t=>{"Enter"===t.key&&this.checkPressEnd()&&ta("up",(t,e)=>{let{onTap:n}=this.node.getProps();n&&I.Wi.update(()=>n(t,e))})}),ta("down",(t,e)=>{this.startPress(t,e)}))}),e=X(this.node.current,"blur",()=>{this.isPressing&&ta("cancel",(t,e)=>this.cancelPress(t,e))});this.removeAccessibleListeners=(0,q.z)(t,e)}}startPress(t,e){this.isPressing=!0;let{onTapStart:n,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&I.Wi.update(()=>n(t,e))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!tt()}cancelPress(t,e){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&I.Wi.update(()=>n(t,e))}mount(){let t=this.node.getProps(),e=G(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=X(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,q.z)(e,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let tu=new WeakMap,th=new WeakMap,tc=t=>{let e=tu.get(t.target);e&&e(t)},td=t=>{t.forEach(tc)},tp={some:0,all:1};class tf extends te{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:i="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:tp[i]};return function(t,e,n){let i=function({root:t,...e}){let n=t||document;th.has(n)||th.set(n,{});let i=th.get(n),r=JSON.stringify(e);return i[r]||(i[r]=new IntersectionObserver(td,{root:t,...e})),i[r]}(e);return tu.set(t,n),i.observe(t),()=>{tu.delete(t),i.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:n,onViewportLeave:i}=this.node.getProps(),s=e?n:i;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 n=>t[n]!==e[n]}(t,e))&&this.startObserver()}unmount(){}}var tm=n(68686);function tv(t,e){if(!Array.isArray(e))return!1;let n=e.length;if(n!==t.length)return!1;for(let i=0;iPromise.all((0,tx.w)(t,i,n)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(i=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=r;return function(t,e,n=0,i=0,r=1,s){let o=[],a=(t.variantChildren.size-1)*i,l=1===r?(t=0)=>t*i:(t=0)=>a-t*i;return Array.from(t.variantChildren).sort(tb).forEach((t,i)=>{t.notify("AnimationStart",e),o.push(tP(t,e,{...s,delay:n+l(i)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,s+i,o,a,n)}:()=>Promise.resolve(),{when:a}=r;if(!a)return Promise.all([s(),o(n.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}function tb(t,e){return t.sortNodePosition(e)}let tw=[...ty.e].reverse(),tA=ty.e.length;function tT(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}class tS extends te{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:n})=>(function(t,e,n={}){let i;if(t.notify("AnimationStart",e),Array.isArray(e))i=Promise.all(e.map(e=>tP(t,e,n)));else if("string"==typeof e)i=tP(t,e,n);else{let r="function"==typeof e?(0,tg.x)(t,e,n.custom):e;i=Promise.all((0,tx.w)(t,r,n))}return i.then(()=>t.notify("AnimationComplete",e))})(t,e,n))),n={animate:tT(!0),whileInView:tT(),whileHover:tT(),whileTap:tT(),whileDrag:tT(),whileFocus:tT(),exit:tT()},i=!0,r=(e,n)=>{let i=(0,tg.x)(t,n);if(i){let{transition:t,transitionEnd:n,...r}=i;e={...e,...r,...n}}return e};function s(s,o){let a=t.getProps(),l=t.getVariantContext(!0)||{},u=[],h=new Set,c={},p=1/0;for(let e=0;ep&&y),w=!1,A=Array.isArray(g)?g:[g],T=A.reduce(r,{});!1===x&&(T={});let{prevResolvedValues:S={}}=v,V={...S,...T},C=t=>{b=!0,h.has(t)&&(w=!0,h.delete(t)),v.needsAnimating[t]=!0};for(let t in V){let e=T[t],n=S[t];if(!c.hasOwnProperty(t))((0,tm.C)(e)&&(0,tm.C)(n)?tv(e,n):e===n)?void 0!==e&&h.has(t)?C(t):v.protectedKeys[t]=!0:void 0!==e?C(t):h.add(t)}v.prevProp=g,v.prevResolvedValues=T,v.isActive&&(c={...c,...T}),i&&t.blockInitialAnimation&&(b=!1),b&&(!P||w)&&u.push(...A.map(t=>({animation:t,options:{type:m,...s}})))}if(h.size){let e={};h.forEach(n=>{let i=t.getBaseTarget(n);void 0!==i&&(e[n]=i)}),u.push({animation:e})}let m=!!u.length;return i&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(m=!1),i=!1,m?e(u):Promise.resolve()}return{animateChanges:s,setActive:function(e,i,r){var o;if(n[e].isActive===i)return Promise.resolve();null===(o=t.variantChildren)||void 0===o||o.forEach(t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,i)}),n[e].isActive=i;let a=s(r,e);for(let t in n)n[t].protectedKeys={};return a},setAnimateFunction:function(n){e=n(t)},getState:()=>n}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();this.unmount(),(0,B.H)(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){}}let tV=0;class tC extends te{constructor(){super(...arguments),this.id=tV++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e,custom:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let r=this.node.animationState.setActive("exit",!t,{custom:null!=n?n:this.node.getProps().custom});e&&!t&&r.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}var tD=n(40131),tE=n(37169);let tM=(t,e)=>Math.abs(t-e);class tR{constructor(t,e,{transformPagePoint:n,contextWindow:i,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 n=tj(this.lastMoveEventInfo,this.history),i=null!==this.startEvent,r=(t=n.offset,e={x:0,y:0},Math.sqrt(tM(t.x,e.x)**2+tM(t.y,e.y)**2)>=3);if(!i&&!r)return;let{point:s}=n,{timestamp:o}=I.frameData;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;i||(a&&a(this.lastMoveEvent,n),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,n)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=tk(e,this.transformPagePoint),I.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:n,onSessionEnd:i,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=tj("pointercancel"===t.type?this.lastMoveEventInfo:tk(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,s),i&&i(t,s)},!z(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=n,this.contextWindow=i||window;let s=tk(Y(t),this.transformPagePoint),{point:o}=s,{timestamp:a}=I.frameData;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,tj(s,this.history)),this.removeListeners=(0,q.z)(G(this.contextWindow,"pointermove",this.handlePointerMove),G(this.contextWindow,"pointerup",this.handlePointerUp),G(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,I.Pn)(this.updatePoint)}}function tk(t,e){return e?{point:e(t.point)}:t}function tL(t,e){return{x:t.x-e.x,y:t.y-e.y}}function tj({point:t},e){return{point:t,delta:tL(t,tB(e)),offset:tL(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null,r=tB(t);for(;n>=0&&(i=t[n],!(r.timestamp-i.timestamp>(0,tE.w)(.1)));)n--;if(!i)return{x:0,y:0};let s=(0,tE.X)(r.timestamp-i.timestamp);if(0===s)return{x:0,y:0};let o={x:(r.x-i.x)/s,y:(r.y-i.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,0)}}function tB(t){return t[t.length-1]}var tF=n(99075),tO=n(43640);function tW(t){return t.max-t.min}function t$(t,e=0,n=.01){return Math.abs(t-e)<=n}function tU(t,e,n,i=.5){t.origin=i,t.originPoint=(0,tO.C)(e.min,e.max,t.origin),t.scale=tW(n)/tW(e),(t$(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=(0,tO.C)(n.min,n.max,t.origin)-t.originPoint,(t$(t.translate)||isNaN(t.translate))&&(t.translate=0)}function tI(t,e,n,i){tU(t.x,e.x,n.x,i?i.originX:void 0),tU(t.y,e.y,n.y,i?i.originY:void 0)}function tN(t,e,n){t.min=n.min+e.min,t.max=t.min+tW(e)}function tH(t,e,n){t.min=e.min-n.min,t.max=t.min+tW(e)}function tX(t,e,n){tH(t.x,e.x,n.x),tH(t.y,e.y,n.y)}var tz=n(3983);function tY(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function tZ(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.mint?t.ownerDocument.defaultView:null,t2=new WeakMap;class t5{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=(0,t_.dO)(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let{dragSnapToOrigin:i}=this.getProps();this.panSession=new tR(t,{onSessionStart:t=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(Y(t,"page").point)},onStart:(t,e)=>{let{drag:n,dragPropagation:i,onDragStart:r}=this.getProps();if(n&&!i&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Q(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),tK(t=>{let e=this.getAxisMotionValue(t).get()||0;if(t0.aQ.test(e)){let{projection:n}=this.visualElement;if(n&&n.layout){let i=n.layout.layoutBox[t];if(i){let t=tW(i);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),r&&I.Wi.update(()=>r(t,e),!1,!0);let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:n,dragDirectionLock:i,onDirectionLock:r,onDrag:s}=this.getProps();if(!n&&!this.openGlobalLock)return;let{offset:o}=e;if(i&&null===this.currentDirection){this.currentDirection=function(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}(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:()=>tK(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:i,contextWindow:t3(this.visualElement)})}stop(t,e){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:i}=e;this.startAnimation(i);let{onDragEnd:r}=this.getProps();r&&I.Wi.update(()=>r(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:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,n){let{drag:i}=this.getProps();if(!n||!t6(t,i,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:n},i){return void 0!==e&&tn&&(t=i?(0,tO.C)(n,t,i.max):Math.min(t,n)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:n}=this.getProps(),i=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&&(0,c.I)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(t,{top:e,left:n,bottom:i,right:r}){return{x:tY(t.x,n,r),y:tY(t.y,e,i)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:tG(t,"left","right"),y:tG(t,"top","bottom")}}(n),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&tK(t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!(0,c.I)(e))return!1;let i=e.current;(0,tD.k)(null!==i,"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=(0,tJ.z)(i,r.root,this.visualElement.getTransformPagePoint()),o={x:tZ((t=r.layout.layoutBox).x,s.x),y:tZ(t.y,s.y)};if(n){let t=n((0,tQ.z2)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,tQ.i8)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:n,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(tK(o=>{if(!t6(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:n?t[o]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let n=this.getAxisMotionValue(t);return n.start((0,t1.v)(t,n,0,e))}stopAnimation(){tK(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){tK(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(),n=this.visualElement.getProps();return n[e]||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){tK(e=>{let{drag:n}=this.getProps();if(!t6(e,n,this.currentDirection))return;let{projection:i}=this.visualElement,r=this.getAxisMotionValue(e);if(i&&i.layout){let{min:n,max:s}=i.layout.layoutBox[e];r.set(t[e]-(0,tO.C)(n,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!(0,c.I)(e)||!n||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};tK(t=>{let e=this.getAxisMotionValue(t);if(e){let n=e.get();i[t]=function(t,e){let n=.5,i=tW(t),r=tW(e);return r>i?n=(0,tF.Y)(e.min,e.max-i,t.min):i>r&&(n=(0,tF.Y)(t.min,t.max-r,e.min)),(0,tz.u)(0,1,n)}({min:n,max:n},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),tK(e=>{if(!t6(e,t,null))return;let n=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];n.set((0,tO.C)(r,s,i[e]))})}addListeners(){if(!this.visualElement.current)return;t2.set(this.visualElement,this);let t=G(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:n=!0}=this.getProps();e&&n&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();(0,c.I)(t)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",e);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),e();let r=X(window,"resize",()=>this.scalePositionWithinConstraints()),s=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(tK(e=>{let n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),i(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function t6(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}class t7 extends te{constructor(t){super(t),this.removeGroupControls=to.Z,this.removeListeners=to.Z,this.controls=new t5(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||to.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let t9=t=>(e,n)=>{t&&I.Wi.update(()=>t(e,n))};class t8 extends te{constructor(){super(...arguments),this.removePointerDownListener=to.Z}onPointerDown(t){this.session=new tR(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:t3(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:t9(t),onStart:t9(e),onMove:n,onEnd:(t,e)=>{delete this.session,i&&I.Wi.update(()=>i(t,e))}}}mount(){this.removePointerDownListener=G(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let t4={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function et(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let ee={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!t0.px.test(t))return t;t=parseFloat(t)}let n=et(t,e.target.x),i=et(t,e.target.y);return`${n}% ${i}%`}};var en=n(75301),ei=n(34940);class er extends r.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:i}=this.props,{projection:r}=t;(0,ei.B)(eo),r&&(e.group&&e.group.add(r),n&&n.register&&i&&n.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),t4.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:n,drag:i,isPresent:r}=this.props,s=n.projection;return s&&(s.isPresent=r,i||t.layoutDependency!==e||void 0===e?s.willUpdate():this.safeToRemove(),t.isPresent===r||(r?s.promote():s.relegate()||I.Wi.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function es(t){let[e,n]=function(){let t=(0,r.useContext)(a.O);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:n,register:i}=t,s=(0,r.useId)();return(0,r.useEffect)(()=>i(s),[]),!e&&n?[!1,()=>n&&n(s)]:[!0]}(),i=(0,r.useContext)(g.p);return r.createElement(er,{...t,layoutGroup:i,switchLayoutGroup:(0,r.useContext)(y),isPresent:e,safeToRemove:n})}let eo={borderRadius:{...ee,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ee,borderTopRightRadius:ee,borderBottomLeftRadius:ee,borderBottomRightRadius:ee,boxShadow:{correct:(t,{treeScale:e,projectionDelta:n})=>{let i=en.P.parse(t);if(i.length>5)return t;let r=en.P.createTransformer(t),s="number"!=typeof i[0]?1:0,o=n.x.scale*e.x,a=n.y.scale*e.y;i[0+s]/=o,i[1+s]/=a;let l=(0,tO.C)(o,a,.5);return"number"==typeof i[2+s]&&(i[2+s]/=l),"number"==typeof i[3+s]&&(i[3+s]/=l),r(i)}}};var ea=n(39311),el=n(55083);let eu=["TopLeft","TopRight","BottomLeft","BottomRight"],eh=eu.length,ec=t=>"string"==typeof t?parseFloat(t):t,ed=t=>"number"==typeof t||t0.px.test(t);function ep(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let ef=ev(0,.5,el.Bn),em=ev(.5,.95,to.Z);function ev(t,e,n){return i=>ie?1:n((0,tF.Y)(t,e,i))}function eg(t,e){t.min=e.min,t.max=e.max}function ey(t,e){eg(t.x,e.x),eg(t.y,e.y)}var ex=n(81077);function eP(t,e,n,i,r){return t-=e,t=(0,ex.q2)(t,1/n,i),void 0!==r&&(t=(0,ex.q2)(t,1/r,i)),t}function eb(t,e,[n,i,r],s,o){!function(t,e=0,n=1,i=.5,r,s=t,o=t){if(t0.aQ.test(e)&&(e=parseFloat(e),e=(0,tO.C)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,tO.C)(s.min,s.max,i);t===s&&(a-=e),t.min=eP(t.min,e,n,a,r),t.max=eP(t.max,e,n,a,r)}(t,e[n],e[i],e[r],e.scale,s,o)}let ew=["x","scaleX","originX"],eA=["y","scaleY","originY"];function eT(t,e,n,i){eb(t.x,e,ew,n?n.x:void 0,i?i.x:void 0),eb(t.y,e,eA,n?n.y:void 0,i?i.y:void 0)}var eS=n(71683);function eV(t){return 0===t.translate&&1===t.scale}function eC(t){return eV(t.x)&&eV(t.y)}function eD(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 eE(t){return tW(t.x)/tW(t.y)}var eM=n(3779);class eR{constructor(){this.members=[]}add(t){(0,eM.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,eM.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 n=this.members.findIndex(e=>t===e);if(0===n)return!1;for(let t=n;t>=0;t--){let n=this.members[t];if(!1!==n.isPresent){e=n;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:i}=t.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:n}=t;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function ek(t,e,n){let i="",r=t.x.translate/e.x,s=t.y.translate/e.y;if((r||s)&&(i=`translate3d(${r}px, ${s}px, 0) `),(1!==e.x||1!==e.y)&&(i+=`scale(${1/e.x}, ${1/e.y}) `),n){let{rotate:t,rotateX:e,rotateY:r}=n;t&&(i+=`rotate(${t}deg) `),e&&(i+=`rotateX(${e}deg) `),r&&(i+=`rotateY(${r}deg) `)}let o=t.x.scale*e.x,a=t.y.scale*e.y;return(1!==o||1!==a)&&(i+=`scale(${o}, ${a})`),i||"none"}var eL=n(27502);let ej=(t,e)=>t.depth-e.depth;class eB{constructor(){this.children=[],this.isDirty=!1}add(t){(0,eM.y4)(this.children,t),this.isDirty=!0}remove(t){(0,eM.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ej),this.isDirty=!1,this.children.forEach(t)}}var eF=n(99890),eO=n(51119);let eW=["","X","Y","Z"],e$={visibility:"hidden"},eU=0,eI={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function eN({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(t={},n=null==e?void 0:e()){this.id=eU++,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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,eI.totalNodes=eI.resolvedTargetDeltas=eI.recalculatedProjection=0,this.nodes.forEach(ez),this.nodes.forEach(eJ),this.nodes.forEach(eQ),this.nodes.forEach(eY),window.MotionDebug&&window.MotionDebug.record(eI)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let t=0;tthis.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){let n=performance.now(),i=({timestamp:e})=>{let r=e-n;r>=250&&((0,I.Pn)(i),t(r-250))};return I.Wi.read(i,!0),()=>(0,I.Pn)(i)}(i,0),t4.hasAnimatedSinceResize&&(t4.hasAnimatedSinceResize=!1,this.nodes.forEach(eK))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||s.getDefaultTransition()||e6,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!eD(this.targetLayout,i)||n,u=!e&&n;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,eS.e)(r,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||eK(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}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,I.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(e0),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(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;tthis.update()))}clearAllSnapshots(){this.nodes.forEach(eZ),this.sharedNodes.forEach(e1)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,I.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){I.Wi.postRender(()=>{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{let i=e/1e3;if(e3(o.x,t.x,i),e3(o.y,t.y,i),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f;tX(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,e2(p.x,f.x,a.x,i),e2(p.y,f.y,a.y,i),n&&(u=this.relativeTarget,d=n,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),n||(n=(0,t_.dO)()),ey(n,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,n,i,r,s){r?(t.opacity=(0,tO.C)(0,void 0!==n.opacity?n.opacity:1,ef(i)),t.opacityExit=(0,tO.C)(void 0!==e.opacity?e.opacity:1,0,em(i))):s&&(t.opacity=(0,tO.C)(void 0!==e.opacity?e.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(let r=0;r{t4.hasAnimatedSinceResize=!0,this.currentAnimation=(0,eO.D)(0,1e3,{...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:n,layout:i,latestValues:r}=t;if(e&&n&&i){if(this!==t&&this.layout&&i&&e4(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||(0,t_.dO)();let e=tW(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;let i=tW(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+i}ey(e,n),(0,ex.D2)(e,r),tI(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new eR),this.sharedNodes.get(t).add(e);let n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.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:n}={}){let i=this.getStack();i&&i.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:n}=t;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(e=!0),!e)return;let i={};for(let e=0;e{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(eG),this.root.sharedNodes.clear()}}}function eH(t){t.updateLayout()}function eX(t){var e;let n=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:i}=t.layout,{animationType:r}=t.options,s=n.source!==t.layout.source;"size"===r?tK(t=>{let i=s?n.measuredBox[t]:n.layoutBox[t],r=tW(i);i.min=e[t].min,i.max=i.min+r}):e4(r,n.layoutBox,e)&&tK(i=>{let r=s?n.measuredBox[i]:n.layoutBox[i],o=tW(e[i]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+o)});let o=(0,t_.wc)();tI(o,e,n.layoutBox);let a=(0,t_.wc)();s?tI(a,t.applyTransform(i,!0),n.measuredBox):tI(a,e,n.layoutBox);let l=!eC(o),u=!1;if(!t.resumeFrom){let i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:r,layout:s}=i;if(r&&s){let o=(0,t_.dO)();tX(o,n.layoutBox,r.layoutBox);let a=(0,t_.dO)();tX(a,e,s.layoutBox),eD(o,a)||(u=!0),i.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:n,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 ez(t){eI.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 eY(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function eZ(t){t.clearSnapshot()}function eG(t){t.clearMeasurements()}function eq(t){t.isLayoutDirty=!1}function e_(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function eK(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function eJ(t){t.resolveTargetDelta()}function eQ(t){t.calcProjection()}function e0(t){t.resetRotation()}function e1(t){t.removeLeadSnapshot()}function e3(t,e,n){t.translate=(0,tO.C)(e.translate,0,n),t.scale=(0,tO.C)(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function e2(t,e,n,i){t.min=(0,tO.C)(e.min,n.min,i),t.max=(0,tO.C)(e.max,n.max,i)}function e5(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let e6={duration:.45,ease:[.4,0,.1,1]},e7=t=>"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().includes(t),e9=e7("applewebkit/")&&!e7("chrome/")?Math.round:to.Z;function e8(t){t.min=e9(t.min),t.max=e9(t.max)}function e4(t,e,n){return"position"===t||"preserve-aspect"===t&&!t$(eE(e),eE(n),.2)}let nt=eN({attachResizeListener:(t,e)=>X(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ne={current:void 0},nn=eN({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ne.current){let t=new nt({});t.mount(window),t.setOptions({layoutScroll:!0}),ne.current=t}return ne.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var ni=n(95479),nr=n(98904);let ns=(t,e)=>b(t)?new nr.e(e,{enableHardwareAcceleration:!1}):new ni.W(e,{enableHardwareAcceleration:!0}),no={animation:{Feature:tS},exit:{Feature:tC},inView:{Feature:tf},tap:{Feature:tl},focus:{Feature:tr},hover:{Feature:ti},pan:{Feature:t8},drag:{Feature:t7,ProjectionNode:nn,MeasureLayout:es},layout:{ProjectionNode:nn,MeasureLayout:es}},na=function(t){function e(e,n={}){return function({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:i,Component:P}){t&&function(t){for(let e in t)m.A[e]={...m.A[e],...t[e]}}(t);let b=(0,r.forwardRef)(function(m,x){var b;let w;let A={...(0,r.useContext)(s),...m,layoutId:function({layoutId:t}){let e=(0,r.useContext)(g.p).id;return e&&void 0!==t?e+"-"+t:t}(m)},{isStatic:T}=A,S=function(t){let{initial:e,animate:n}=function(t,e){if((0,p.G)(t)){let{initial:e,animate:n}=t;return{initial:!1===e||(0,d.$)(e)?e:void 0,animate:(0,d.$)(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,r.useContext)(o));return(0,r.useMemo)(()=>({initial:e,animate:n}),[f(e),f(n)])}(m),V=i(m,T);if(!T&&v.j){S.visualElement=function(t,e,n,i){let{visualElement:c}=(0,r.useContext)(o),d=(0,r.useContext)(u),p=(0,r.useContext)(a.O),f=(0,r.useContext)(s).reducedMotion,m=(0,r.useRef)();i=i||d.renderer,!m.current&&i&&(m.current=i(t,{visualState:e,parent:c,props:n,presenceContext:p,blockInitialAnimation:!!p&&!1===p.initial,reducedMotionConfig:f}));let v=m.current;(0,r.useInsertionEffect)(()=>{v&&v.update(n,p)});let g=(0,r.useRef)(!!(n[h.M]&&!window.HandoffComplete));return(0,l.L)(()=>{v&&(v.render(),g.current&&v.animationState&&v.animationState.animateChanges())}),(0,r.useEffect)(()=>{v&&(v.updateFeatures(),!g.current&&v.animationState&&v.animationState.animateChanges(),g.current&&(g.current=!1,window.HandoffComplete=!0))}),v}(P,V,A,e);let n=(0,r.useContext)(y),i=(0,r.useContext)(u).strict;S.visualElement&&(w=S.visualElement.loadFeatures(A,i,t,n))}return r.createElement(o.Provider,{value:S},w&&S.visualElement?r.createElement(w,{visualElement:S.visualElement,...A}):null,n(P,m,(b=S.visualElement,(0,r.useCallback)(t=>{t&&V.mount&&V.mount(t),b&&(t?b.mount(t):b.unmount()),x&&("function"==typeof x?x(t):(0,c.I)(x)&&(x.current=t))},[b])),V,T,S.visualElement))});return b[x]=P,b}(t(e,n))}if("undefined"==typeof Proxy)return e;let n=new Map;return new Proxy(e,{get:(t,i)=>(n.has(i)||n.set(i,e(i)),n.get(i))})}((t,e)=>(function(t,{forwardMotionProps:e=!1},n,i){return{...b(t)?N:H,preloadedFeatures:n,useRender:function(t=!1){return(e,n,i,{latestValues:s},o)=>{let a=(b(e)?function(t,e,n,i){let s=(0,r.useMemo)(()=>{let n=R();return(0,M.i)(n,e,{enableHardwareAcceleration:!1},(0,k.a)(i),t.transformTemplate),{...n.attrs,style:{...n.style}}},[e]);if(t.style){let e={};V(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e,n){let i={},s=function(t,e,n){let i=t.style||{},s={};return V(s,i,t),Object.assign(s,function({transformTemplate:t},e,n){return(0,r.useMemo)(()=>{let i=S();return(0,T.r)(i,e,{enableHardwareAcceleration:!n},t),Object.assign({},i.vars,i.style)},[e])}(t,e,n)),t.transformValues?t.transformValues(s):s}(t,e,n);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.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=s,i})(n,s,o,e),l={...function(t,e,n){let i={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(E(r)||!0===n&&D(r)||!e&&!D(r)||t.draggable&&r.startsWith("onDrag"))&&(i[r]=t[r]);return i}(n,"string"==typeof e,t),...a,ref:i},{children:u}=n,h=(0,r.useMemo)(()=>(0,A.i)(u)?u.get():u,[u]);return(0,r.createElement)(e,{...l,children:h})}}(e),createVisualElement:i,Component:t}})(t,e,no,ns))},95657:function(t,e,n){n.d(e,{D:function(){return i}});let i=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},25375:function(t,e,n){n.d(e,{Xp:function(){return o},f9:function(){return r},tm:function(){return s}});let i=t=>e=>"string"==typeof e&&e.startsWith(t),r=i("--"),s=i("var(--"),o=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g},99890:function(t,e,n){n.d(e,{v:function(){return i}});function i(t){return t instanceof SVGElement&&"svg"!==t.tagName}},67057:function(t,e,n){n.d(e,{T:function(){return o}});var i=n(75301),r=n(36237),s=n(7494);function o(t,e){let n=(0,s.A)(t);return n!==r.h&&(n=i.P),n.getAnimatableNone?n.getAnimatableNone(e):void 0}},7494:function(t,e,n){n.d(e,{A:function(){return o}});var i=n(38180),r=n(36237);let s={...n(91137).j,color:i.$,backgroundColor:i.$,outlineColor:i.$,fill:i.$,stroke:i.$,borderColor:i.$,borderTopColor:i.$,borderRightColor:i.$,borderBottomColor:i.$,borderLeftColor:i.$,filter:r.h,WebkitFilter:r.h},o=t=>s[t]},61217:function(t,e,n){n.d(e,{$:function(){return o},C:function(){return a}});var i=n(37822),r=n(31150),s=n(35966);let o=[i.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))},91137:function(t,e,n){n.d(e,{j:function(){return o}});var i=n(37822),r=n(31150);let s={...i.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:i.bA,scaleX:i.bA,scaleY:i.bA,scaleZ:i.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:i.Fq,originX:r.$C,originY:r.$C,originZ:r.px,zIndex:s,fillOpacity:i.Fq,strokeOpacity:i.Fq,numOctaves:s}},35966:function(t,e,n){n.d(e,{l:function(){return i}});let i=t=>e=>e.test(t)},95479:function(t,e,n){n.d(e,{W:function(){return d}});var i=n(24569),r=n(25375),s=n(90210),o=n(32313),a=n(74670),l=n(7494),u=n(30487),h=n(83462),c=n(21826);class d extends h.J{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,e){if(s.G.has(e)){let t=(0,l.A)(e);return t&&t.default||0}{let n=window.getComputedStyle(t),i=((0,r.f9)(e)?n.getPropertyValue(e):n[e])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,u.J)(t,e)}build(t,e,n,r){(0,i.r)(t,e,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,e){return(0,o.U)(t,e)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,c.i)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(t,e,n,i){(0,a.N)(t,e,n,i)}}},24569:function(t,e,n){n.d(e,{r:function(){return u}});var i=n(90210);let r={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},s=i._.length;var o=n(25375);let a=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var l=n(91137);function u(t,e,n,u){let{style:h,vars:c,transform:d,transformOrigin:p}=t,f=!1,m=!1,v=!0;for(let t in e){let n=e[t];if((0,o.f9)(t)){c[t]=n;continue}let r=l.j[t],s=a(n,r);if(i.G.has(t)){if(f=!0,d[t]=s,!v)continue;n!==(r.default||0)&&(v=!1)}else t.startsWith("origin")?(m=!0,p[t]=s):h[t]=s}if(!e.transform&&(f||u?h.transform=function(t,{enableHardwareAcceleration:e=!0,allowTransformNone:n=!0},o,a){let l="";for(let e=0;e"string"==typeof t&&"svg"===t.toLowerCase()},17257:function(t,e,n){n.d(e,{K:function(){return o}});var i=n(95657),r=n(74670),s=n(26270);function o(t,e,n,o){for(let n in(0,r.N)(t,e,void 0,o),e.attrs)t.setAttribute(s.s.has(n)?n:(0,i.D)(n),e.attrs[n])}},52737:function(t,e,n){n.d(e,{U:function(){return o}});var i=n(21826),r=n(32313),s=n(90210);function o(t,e){let n=(0,r.U)(t,e);for(let r in t)((0,i.i)(t[r])||(0,i.i)(e[r]))&&(n[-1!==s._.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=t[r]);return n}},33343:function(t,e,n){n.d(e,{G:function(){return o},M:function(){return a}});var i=n(82600),r=n(28453),s=n(17199);function o(t){return(0,i.H)(t.animate)||s.V.some(e=>(0,r.$)(t[e]))}function a(t){return!!(o(t)||t.variants)}},28453:function(t,e,n){n.d(e,{$:function(){return i}});function i(t){return"string"==typeof t||Array.isArray(t)}},80062:function(t,e,n){n.d(e,{x:function(){return r}});var i=n(29222);function r(t,e,n){let r=t.getProps();return(0,i.o)(r,e,void 0!==n?n:r.custom,function(t){let e={};return t.values.forEach((t,n)=>e[n]=t.get()),e}(t),function(t){let e={};return t.values.forEach((t,n)=>e[n]=t.getVelocity()),e}(t))}},29222:function(t,e,n){n.d(e,{o:function(){return i}});function i(t,e,n,i={},r={}){return"function"==typeof e&&(e=e(void 0!==n?n:t.custom,i,r)),"string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e&&(e=e(void 0!==n?n:t.custom,i,r)),e}},63798:function(t,e,n){n.d(e,{GJ:function(){return v},P$:function(){return g},CD:function(){return m}});var i=n(37984),r=n(13186),s=n(36565),o=n(90039),a=n(75301),l=n(67057),u=n(38180),h=n(61217),c=n(35966);let d=[...h.$,u.$,a.P],p=t=>d.find((0,c.l)(t));var f=n(80062);function m(t,e){let n=(0,f.x)(t,e),{transitionEnd:i={},transition:r={},...a}=n?t.makeTargetAnimatable(n,!1):{};for(let e in a={...a,...i}){let n=(0,s.Y)(a[e]);t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,(0,o.BX)(n))}}function v(t,e,n){var s,u;let h=Object.keys(e).filter(e=>!t.hasValue(e)),c=h.length;if(c)for(let d=0;d-1&&t.splice(n,1)}n.d(e,{cl:function(){return r},y4:function(){return i}})},3983:function(t,e,n){n.d(e,{u:function(){return i}});let i=(t,e,n)=>Math.min(Math.max(n,t),e)},40131:function(t,e,n){n.d(e,{K:function(){return r},k:function(){return s}});var i=n(38752);let r=i.Z,s=i.Z},80226:function(t,e,n){n.d(e,{j:function(){return i}});let i="undefined"!=typeof document},37984:function(t,e,n){n.d(e,{P:function(){return i}});let i=t=>/^\-?\d*\.?\d+$/.test(t)},99506:function(t,e,n){n.d(e,{I:function(){return i}});function i(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}},13186:function(t,e,n){n.d(e,{W:function(){return i}});let i=t=>/^0[^.\s]+$/.test(t)},52953:function(t,e,n){n.d(e,{X:function(){return i}});function i(t){let e;return()=>(void 0===e&&(e=t()),e)}},43640:function(t,e,n){n.d(e,{C:function(){return i}});let i=(t,e,n)=>-n*t+n*e+t},38752:function(t,e,n){n.d(e,{Z:function(){return i}});let i=t=>t},50101:function(t,e,n){n.d(e,{Y:function(){return r}});var i=n(53823);function r(t){let e=[0];return(0,i.c)(e,t.length-1),e}},53823:function(t,e,n){n.d(e,{c:function(){return s}});var i=n(43640),r=n(99075);function s(t,e){let n=t[t.length-1];for(let s=1;s<=e;s++){let o=(0,r.Y)(0,e,s);t.push((0,i.C)(n,1,o))}}},50970:function(t,e,n){n.d(e,{z:function(){return r}});let i=(t,e)=>n=>e(t(n)),r=(...t)=>t.reduce(i)},99075:function(t,e,n){n.d(e,{Y:function(){return i}});let i=(t,e,n)=>{let i=e-t;return 0===i?1:(n-t)/i}},61094:function(t,e,n){n.d(e,{A:function(){return s}});var i=n(80226),r=n(56820);function s(){if(r.O.current=!0,i.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>r.n.current=t.matches;t.addListener(e),e()}else r.n.current=!1}}},56820:function(t,e,n){n.d(e,{O:function(){return r},n:function(){return i}});let i={current:null},r={current:!1}},36565:function(t,e,n){n.d(e,{Y:function(){return s},p:function(){return r}});var i=n(68686);let r=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),s=t=>(0,i.C)(t)?t[t.length-1]||0:t},39311:function(t,e,n){n.d(e,{L:function(){return r}});var i=n(3779);class r{constructor(){this.subscriptions=[]}add(t){return(0,i.y4)(this.subscriptions,t),()=>(0,i.cl)(this.subscriptions,t)}notify(t,e,n){let i=this.subscriptions.length;if(i){if(1===i)this.subscriptions[0](t,e,n);else for(let r=0;r1e3*t,r=t=>t/1e3},2415:function(t,e,n){n.d(e,{h:function(){return r}});var i=n(7653);function r(t){let e=(0,i.useRef)(null);return null===e.current&&(e.current=t()),e.current}},98739:function(t,e,n){n.d(e,{L:function(){return r}});var i=n(7653);let r=n(80226).j?i.useLayoutEffect:i.useEffect},2365:function(t,e,n){n.d(e,{R:function(){return i}});function i(t,e){return e?1e3/e*t:0}},90039:function(t,e,n){n.d(e,{BX:function(){return u}});var i=n(39311),r=n(2365),s=n(55062);let o=t=>!isNaN(parseFloat(t)),a={current:void 0};class l{constructor(t,e={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(t,e=!0)=>{this.prev=this.current,this.current=t;let{delta:n,timestamp:i}=s.frameData;this.lastUpdated!==i&&(this.timeDelta=n,this.lastUpdated=i,s.Wi.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>s.Wi.postRender(this.velocityCheck),this.velocityCheck=({timestamp:t})=>{t!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=o(this.current),this.owner=e.owner}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new i.L);let n=this.events[t].add(e);return"change"===t?()=>{n(),s.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:n}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,n){this.set(e),this.prev=t,this.timeDelta=n}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,r.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}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 u(t,e){return new l(t,e)}},63822:function(t,e,n){n.d(e,{$:function(){return r}});var i=n(70326);let r={test:(0,n(63335).i)("#"),parse:function(t){let e="",n="",i="",r="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),r=t.substring(4,5),e+=e,n+=n,i+=i,r+=r),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}},transform:i.m.transform}},54317:function(t,e,n){n.d(e,{J:function(){return a}});var i=n(37822),r=n(31150),s=n(79680),o=n(63335);let a={test:(0,o.i)("hsl","hue"),parse:(0,o.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:o=1})=>"hsla("+Math.round(t)+", "+r.aQ.transform((0,s.Nw)(e))+", "+r.aQ.transform((0,s.Nw)(n))+", "+(0,s.Nw)(i.Fq.transform(o))+")"}},38180:function(t,e,n){n.d(e,{$:function(){return a}});var i=n(79680),r=n(63822),s=n(54317),o=n(70326);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,i.HD)(t)?t:t.hasOwnProperty("red")?o.m.transform(t):s.J.transform(t)}},70326:function(t,e,n){n.d(e,{m:function(){return u}});var i=n(3983),r=n(37822),s=n(79680),o=n(63335);let a=t=>(0,i.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:n,alpha:i=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(n)+", "+(0,s.Nw)(r.Fq.transform(i))+")"}},63335:function(t,e,n){n.d(e,{d:function(){return s},i:function(){return r}});var i=n(79680);let r=(t,e)=>n=>!!((0,i.HD)(n)&&i.mj.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),s=(t,e,n)=>r=>{if(!(0,i.HD)(r))return r;let[s,o,a,l]=r.match(i.KP);return{[t]:parseFloat(s),[e]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},36237:function(t,e,n){n.d(e,{h:function(){return l}});var i=n(75301),r=n(79680);let s=new Set(["brightness","contrast","saturate","opacity"]);function o(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[i]=n.match(r.KP)||[];if(!i)return t;let o=n.replace(i,""),a=s.has(e)?1:0;return i!==n&&(a*=100),e+"("+a+o+")"}let a=/([a-z-]*)\(.*?\)/g,l={...i.P,getAnimatableNone:t=>{let e=t.match(a);return e?e.map(o).join(" "):t}}},75301:function(t,e,n){n.d(e,{P:function(){return v},V:function(){return d}});var i=n(25375),r=n(38752),s=n(38180),o=n(37822),a=n(79680);let l={regex:i.Xp,countKey:"Vars",token:"${v}",parse:r.Z},u={regex:a.dA,countKey:"Colors",token:"${c}",parse:s.$.parse},h={regex:a.KP,countKey:"Numbers",token:"${n}",parse:o.Rx.parse};function c(t,{regex:e,countKey:n,token:i,parse:r}){let s=t.tokenised.match(e);s&&(t["num"+n]=s.length,t.tokenised=t.tokenised.replace(e,i),t.values.push(...s.map(r)))}function d(t){let e=t.toString(),n={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&c(n,l),c(n,u),c(n,h),n}function p(t){return d(t).values}function f(t){let{values:e,numColors:n,numVars:i,tokenised:r}=d(t),o=e.length;return t=>{let e=r;for(let r=0;r"number"==typeof t?0:t,v={test:function(t){var e,n;return isNaN(t)&&(0,a.HD)(t)&&((null===(e=t.match(a.KP))||void 0===e?void 0:e.length)||0)+((null===(n=t.match(a.dA))||void 0===n?void 0:n.length)||0)>0},parse:p,createTransformer:f,getAnimatableNone:function(t){let e=p(t);return f(t)(e.map(m))}}},37822:function(t,e,n){n.d(e,{Fq:function(){return s},Rx:function(){return r},bA:function(){return o}});var i=n(3983);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...r,transform:t=>(0,i.u)(0,1,t)},o={...r,default:1}},31150:function(t,e,n){n.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 i=n(79680);let r=t=>({test:e=>(0,i.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)}},79680:function(t,e,n){n.d(e,{HD:function(){return a},KP:function(){return r},Nw:function(){return i},dA:function(){return s},mj:function(){return o}});let i=t=>Math.round(1e5*t)/1e5,r=/(-)?([\d]*\.?[\d])+/g,s=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,o=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function a(t){return"string"==typeof t}},71331:function(t,e,n){n.d(e,{L:function(){return r}});var i=n(21826);function r(t){return!!((0,i.i)(t)&&t.add)}},21826:function(t,e,n){n.d(e,{i:function(){return i}});let i=t=>!!(t&&t.getVelocity)}}]); //# sourceMappingURL=5458-66e2d52dd3e63bda.js.map