framer-motion 7.6.18 → 7.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- (()=>{"use strict";var t={9340:(t,e,n)=>{n.d(e,{K:()=>r,k:()=>o});var r=function(){},o=function(){}},2819:(t,e,n)=>{n.d(e,{C:()=>r});const r=t=>Array.isArray(t)},138:(t,e,n)=>{n.d(e,{b8:()=>At});var r=n(1818),o=n(9340),s=n(2634);const i=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function a(t,e,n,r){if(t===e&&n===r)return s.Z;const o=e=>function(t,e,n,r,o){let s,a,u=0;do{a=e+(n-e)/2,s=i(a,r,o)-t,s>0?n=a:e=a}while(Math.abs(s)>1e-7&&++u<12);return a}(e,0,1,t,n);return t=>0===t||1===t?t:i(o(t),e,r)}var u=n(5222),l=n(9273);const c=t=>t*t,p=(0,l.M)(c),d=(0,u.o)(c);var h=n(7110);const f=(t=1.525)=>e=>e*e*((t+1)*e-t),m=f(),v=(0,l.M)(m),g=(0,u.o)(m),y=(t=>{const e=f(t);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))})(),b={linear:s.Z,easeIn:c,easeInOut:d,easeOut:p,circIn:h.Z7,circInOut:h.X7,circOut:h.Bn,backIn:m,backInOut:g,backOut:v,anticipate:y},w=t=>{if(Array.isArray(t)){(0,o.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");const[e,n,r,s]=t;return a(e,n,r,s)}return"string"==typeof t?((0,o.k)(void 0!==b[t],`Invalid easing type '${t}'`),b[t]):t};var x=n(6002);const V=(t,e)=>"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!x.P.test(e)||e.startsWith("url(")));var A=n(2819);const C=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),S=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),M=()=>({type:"keyframes",ease:"linear",duration:.3}),P=t=>({type:"keyframes",duration:.8,values:t}),T={x:C,y:C,z:C,rotate:C,rotateX:C,rotateY:C,rotateZ:C,scaleX:S,scaleY:S,scale:S,opacity:M,backgroundColor:M,color:M,default:S},E=(t,e)=>{let n;return n=(0,A.C)(e)?P:T[t]||T.default,{to:e,...n(e)}};var k=n(6914);const O=!1;var F=n(7048),R=n(2866),$=n(7576),I=n(9043),j=n(5430),B=n(9012),D=n(3203),N=n(7493);function Y(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}const L=(t,e,n)=>{const r=t*t;return Math.sqrt(Math.max(0,n*(e*e-r)+r))},U=[B.$,D.m,N.J];function q(t){const e=(n=t,U.find((t=>t.test(n))));var n;(0,o.k)(Boolean(e),`'${t}' is not an animatable color. Use the equivalent color code instead.`);let r=e.parse(t);return e===N.J&&(r=function({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,n/=100;let o=0,s=0,i=0;if(e/=100){const r=n<.5?n*(1+e):n+e-n*e,a=2*n-r;o=Y(a,r,t+1/3),s=Y(a,r,t),i=Y(a,r,t-1/3)}else o=s=i=n;return{red:Math.round(255*o),green:Math.round(255*s),blue:Math.round(255*i),alpha:r}}(r)),r}const z=(t,e)=>{const n=q(t),r=q(e),o={...n};return t=>(o.red=L(n.red,r.red,t),o.green=L(n.green,r.green,t),o.blue=L(n.blue,r.blue,t),o.alpha=(0,j.C)(n.alpha,r.alpha,t),D.m.transform(o))};var W=n(9820);function Z(t,e){return"number"==typeof t?n=>(0,j.C)(t,e,n):$.$.test(t)?z(t,e):J(t,e)}const H=(t,e)=>{const n=[...t],r=n.length,o=t.map(((t,n)=>Z(t,e[n])));return t=>{for(let e=0;e<r;e++)n[e]=o[e](t);return n}},X=(t,e)=>{const n={...t,...e},r={};for(const o in n)void 0!==t[o]&&void 0!==e[o]&&(r[o]=Z(t[o],e[o]));return t=>{for(const e in r)n[e]=r[e](t);return n}};function K(t){const e=x.P.parse(t),n=e.length;let r=0,o=0;for(let t=0;t<n;t++)r||"number"==typeof e[t]?r++:o++;return{parsed:e,numNumbers:r,numColors:o}}const J=(t,e)=>{const n=x.P.createTransformer(e),r=K(t),s=K(e);return r.numColors===s.numColors&&r.numNumbers>=s.numNumbers?(0,W.z)(H(r.parsed,s.parsed),n):((0,o.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.`),n=>`${n>0?e:t}`)};var _=n(918);const Q=(t,e)=>n=>(0,j.C)(t,e,n);function G(t,e,n){const r=[],o=n||("number"==typeof(s=t[0])?Q:"string"==typeof s?$.$.test(s)?z:J:Array.isArray(s)?H:"object"==typeof s?X:Q);var s;const i=t.length-1;for(let n=0;n<i;n++){let s=o(t[n],t[n+1]);if(e){const t=Array.isArray(e)?e[n]:e;s=(0,W.z)(t,s)}r.push(s)}return r}function tt(t,e,{clamp:n=!0,ease:r,mixer:s}={}){const i=t.length;(0,o.k)(i===e.length,"Both input and output ranges must be the same length"),(0,o.k)(!r||!Array.isArray(r)||r.length===i-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),t[0]>t[i-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=G(e,r,s),u=a.length,l=e=>{let n=0;if(u>1)for(;n<t.length-2&&!(e<t[n+1]);n++);const r=(0,_.Y)(t[n],t[n+1],e);return a[n](r)};return n?e=>l((0,I.u)(t[0],t[i-1],e)):l}function et(t,e){return t.map((()=>e||d)).splice(0,t.length-1)}const nt=.001;function rt({duration:t=800,bounce:e=.25,velocity:n=0,mass:r=1}){let s,i;(0,o.K)(t<=1e4,"Spring duration must be 10 seconds or less");let a=1-e;a=(0,I.u)(.05,1,a),t=(0,I.u)(.01,10,t/1e3),a<1?(s=e=>{const r=e*a,o=r*t,s=r-n,i=ot(e,a),u=Math.exp(-o);return nt-s/i*u},i=e=>{const r=e*a*t,o=r*n+n,i=Math.pow(a,2)*Math.pow(e,2)*t,u=Math.exp(-r),l=ot(Math.pow(e,2),a);return(-s(e)+nt>0?-1:1)*((o-i)*u)/l}):(s=e=>Math.exp(-e*t)*((e-n)*t+1)-.001,i=e=>Math.exp(-e*t)*(t*t*(n-e)));const u=function(t,e,n){let r=n;for(let n=1;n<12;n++)r-=t(r)/e(r);return r}(s,i,5/t);if(t*=1e3,isNaN(u))return{stiffness:100,damping:10,duration:t};{const e=Math.pow(u,2)*r;return{stiffness:e,damping:2*a*Math.sqrt(r*e),duration:t}}}function ot(t,e){return t*Math.sqrt(1-e*e)}const st=["duration","bounce"],it=["stiffness","damping","mass"];function at(t,e){return e.some((e=>void 0!==t[e]))}function ut({from:t=0,to:e=1,restSpeed:n=2,restDelta:r=.01,...o}){const s={done:!1,value:t};let{stiffness:i,damping:a,mass:u,velocity:l,duration:c,isResolvedFromDuration:p}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!at(t,it)&&at(t,st)){const n=rt(t);e={...e,...n,velocity:0,mass:1},e.isResolvedFromDuration=!0}return e}(o),d=lt,h=lt;function f(){const n=l?-l/1e3:0,o=e-t,s=a/(2*Math.sqrt(i*u)),c=Math.sqrt(i/u)/1e3;if(void 0===r&&(r=Math.min(Math.abs(e-t)/100,.4)),s<1){const t=ot(c,s);d=r=>{const i=Math.exp(-s*c*r);return e-i*((n+s*c*o)/t*Math.sin(t*r)+o*Math.cos(t*r))},h=e=>{const r=Math.exp(-s*c*e);return s*c*r*(Math.sin(t*e)*(n+s*c*o)/t+o*Math.cos(t*e))-r*(Math.cos(t*e)*(n+s*c*o)-t*o*Math.sin(t*e))}}else if(1===s)d=t=>e-Math.exp(-c*t)*(o+(n+c*o)*t);else{const t=c*Math.sqrt(s*s-1);d=r=>{const i=Math.exp(-s*c*r),a=Math.min(t*r,300);return e-i*((n+s*c*o)*Math.sinh(a)+t*o*Math.cosh(a))/t}}}return f(),{next:t=>{const o=d(t);if(p)s.done=t>=c;else{const i=1e3*h(t),a=Math.abs(i)<=n,u=Math.abs(e-o)<=r;s.done=a&&u}return s.value=s.done?e:o,s},flipTarget:()=>{l=-l,[t,e]=[e,t],f()}}}ut.needsInterpolation=(t,e)=>"string"==typeof t||"string"==typeof e;const lt=t=>0;var ct=n(6162);const pt={decay:function({velocity:t=0,from:e=0,power:n=.8,timeConstant:r=350,restDelta:o=.5,modifyTarget:s}){const i={done:!1,value:e};let a=n*t;const u=e+a,l=void 0===s?u:s(u);return l!==u&&(a=l-e),{next:t=>{const e=-a*Math.exp(-t/r);return i.done=!(e>o||e<-o),i.value=i.done?l:l+e,i},flipTarget:()=>{}}},keyframes:function({from:t=0,to:e=1,ease:n,offset:r,duration:o=300}){const s={done:!1,value:t},i=Array.isArray(e)?e:[t,e],a=function(t,e){return t.map((t=>t*e))}(r&&r.length===i.length?r:function(t){const e=t.length;return t.map(((t,n)=>0!==n?n/(e-1):0))}(i),o);function u(){return tt(a,i,{ease:Array.isArray(n)?n:et(i,n)})}let l=u();return{next:t=>(s.value=l(t),s.done=t>=o,s),flipTarget:()=>{i.reverse(),l=u()}}},spring:ut};function dt(t,e,n=0){return t-e-n}const ht=t=>{const e=({delta:e})=>t(e);return{start:()=>ct.ZP.update(e,!0),stop:()=>ct.qY.update(e)}};function ft({from:t,autoplay:e=!0,driver:n=ht,elapsed:r=0,repeat:o=0,repeatType:s="loop",repeatDelay:i=0,onPlay:a,onStop:u,onComplete:l,onRepeat:c,onUpdate:p,type:d="keyframes",...h}){var f,m;let v,g,y,{to:b}=h,w=0,x=h.duration,V=!1,A=!0;const C=pt[Array.isArray(b)?"keyframes":d];(null===(m=(f=C).needsInterpolation)||void 0===m?void 0:m.call(f,t,b))&&(y=tt([0,100],[t,b],{clamp:!1}),t=0,b=100);const S=C({...h,from:t,to:b});function M(){w++,"reverse"===s?(A=w%2==0,r=function(t,e=0,n=0,r=!0){return r?dt(e+-t,e,n):e-(t-e)+n}(r,x,i,A)):(r=dt(r,x,i),"mirror"===s&&S.flipTarget()),V=!1,c&&c()}function P(t){if(A||(t=-t),r+=t,!V){const t=S.next(Math.max(0,r));g=t.value,y&&(g=y(g)),V=A?t.done:r<=0}null==p||p(g),V&&(0===w&&(null!=x||(x=r)),w<o?function(t,e,n,r){return r?t>=e+n:t<=-n}(r,x,i,A)&&M():(v.stop(),l&&l()))}return e&&(null==a||a(),v=n(P),v.start()),{stop:()=>{null==u||u(),v.stop()}}}var mt=n(432);let vt=!1;function gt({ease:t,times:e,yoyo:n,flip:s,loop:i,...a}){const u={...a};return e&&(u.offset=e),a.duration&&(u.duration=(0,r.w)(a.duration)),a.repeatDelay&&(u.repeatDelay=(0,r.w)(a.repeatDelay)),t&&(u.ease=(t=>Array.isArray(t)&&"number"!=typeof t[0])(t)?t.map(w):w(t)),"tween"===a.type&&(u.type="keyframes"),(n||i||s)&&((0,o.K)(!vt,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),vt=!0,n?u.repeatType="reverse":i?u.repeatType="loop":s&&(u.repeatType="mirror"),u.repeat=i||n||s||a.repeat),"spring"!==a.type&&(u.type="keyframes"),u}function yt(t,e,n){return Array.isArray(e.to)&&void 0===t.duration&&(t.duration=.8),function(t){Array.isArray(t.to)&&null===t.to[0]&&(t.to=[...t.to],t.to[0]=t.from)}(e),function({when:t,delay:e,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:s,repeatType:i,repeatDelay:a,from:u,...l}){return!!Object.keys(l).length}(t)||(t={...t,...E(n,e.to)}),{...e,...gt(t)}}function bt(t,e,n,r,s){const i=Vt(r,t)||{};let a=void 0!==i.from?i.from:e.get();const u=V(t,n);"none"===a&&u&&"string"==typeof n?a=(0,k.T)(t,n):wt(a)&&"string"==typeof n?a=xt(n):!Array.isArray(n)&&wt(n)&&"string"==typeof a&&(n=xt(a));const l=V(t,a);return(0,o.K)(l===u,`You are trying to animate ${t} from "${a}" to "${n}". ${a} is not an animatable value - to enable this animation set ${a} to a value animatable to ${n} via the \`style\` property.`),l&&u&&!1!==i.type?function(){const r={from:a,to:n,velocity:e.getVelocity(),onComplete:s,onUpdate:t=>e.set(t)};return"inertia"===i.type||"decay"===i.type?function({from:t=0,velocity:e=0,min:n,max:r,power:o=.8,timeConstant:s=750,bounceStiffness:i=500,bounceDamping:a=10,restDelta:u=1,modifyTarget:l,driver:c,onUpdate:p,onComplete:d,onStop:h}){let f;function m(t){return void 0!==n&&t<n||void 0!==r&&t>r}function v(t){return void 0===n?r:void 0===r||Math.abs(n-t)<Math.abs(r-t)?n:r}function g(t){null==f||f.stop(),f=ft({...t,driver:c,onUpdate:e=>{var n;null==p||p(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:d,onStop:h})}function y(t){g({type:"spring",stiffness:i,damping:a,restDelta:u,...t})}if(m(t))y({from:t,velocity:e,to:v(t)});else{let r=o*e+t;void 0!==l&&(r=l(r));const i=v(r),a=i===n?-1:1;let c,p;const d=t=>{c=p,p=t,e=(0,mt.R)(t-c,(0,ct.$B)().delta),(1===a&&t>i||-1===a&&t<i)&&y({from:t,to:i,velocity:e})};g({type:"decay",from:t,velocity:e,timeConstant:s,power:o,restDelta:u,modifyTarget:l,onUpdate:m(r)?d:void 0})}return{stop:()=>null==f?void 0:f.stop()}}({...r,...i}):ft({...yt(i,r,t),onUpdate:t=>{r.onUpdate(t),i.onUpdate&&i.onUpdate(t)},onComplete:()=>{r.onComplete(),i.onComplete&&i.onComplete()}})}:function(){const t=(0,F.Y)(n);return e.set(t),s(),i.onUpdate&&i.onUpdate(t),i.onComplete&&i.onComplete(),{stop:()=>{}}}}function wt(t){return 0===t||"string"==typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function xt(t){return"number"==typeof t?0:(0,k.T)("",t)}function Vt(t,e){return t[e]||t.default||t}function At(t,e,n,o={}){return O&&(o={type:!1}),e.start((s=>{let i;const a=bt(t,e,n,o,s),u=function(t,e){var n,r;return null!==(r=null!==(n=(Vt(t,e)||{}).delay)&&void 0!==n?n:t.delay)&&void 0!==r?r:0}(o,t),l=()=>i=a();let c;return u?c=(0,R.g)(l,(0,r.w)(u)):l(),()=>{c&&c(),i&&i.stop()}}))}},1930:(t,e,n)=>{n.d(e,{oO:()=>s});var r=n(8370),o=n(7866);function s(){const t=(0,r.useContext)(o.O);if(null===t)return[!0,null];const{isPresent:e,onExitComplete:n,register:s}=t,i=(0,r.useId)();(0,r.useEffect)((()=>s(i)),[]);return!e&&n?[!1,()=>n&&n(i)]:[!0]}},7866:(t,e,n)=>{n.d(e,{O:()=>o});var r=n(8370);const o=(0,r.createContext)(null)},7110:(t,e,n)=>{n.d(e,{Bn:()=>i,X7:()=>a,Z7:()=>s});var r=n(5222),o=n(9273);const s=t=>1-Math.sin(Math.acos(t)),i=(0,o.M)(s),a=(0,r.o)(i)},5222:(t,e,n)=>{n.d(e,{o:()=>r});const r=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},9273:(t,e,n)=>{n.d(e,{M:()=>r});const r=t=>e=>1-t(1-e)},409:(t,e,n)=>{n.d(e,{qT:()=>u});var r=n(3541);const o={pageX:0,pageY:0};function s(t,e="page"){const n=t.touches[0]||t.changedTouches[0]||o;return{x:n[e+"X"],y:n[e+"Y"]}}function i(t,e="page"){return{x:t[e+"X"],y:t[e+"Y"]}}function a(t,e="page"){return{point:(0,r.z)(t)?s(t,e):i(t,e)}}const u=(t,e=!1)=>{const n=e=>t(e,a(e));return e?(r=n,t=>{const e=t instanceof MouseEvent;(!e||e&&0===t.button)&&r(t)}):n;var r}},1876:(t,e,n)=>{n.d(e,{E:()=>o,p:()=>s});var r=n(8370);function o(t,e,n,r={passive:!0}){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n)}function s(t,e,n,s){(0,r.useEffect)((()=>{const r=t.current;if(n&&r)return o(r,e,n,s)}),[t,e,n,s])}},1395:(t,e,n)=>{n.d(e,{a:()=>l,m:()=>c});var r=n(1876),o=n(409),s=n(3093);const i={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},a={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function u(t){return s.j&&null===window.onpointerdown?t:s.j&&null===window.ontouchstart?a[t]:s.j&&null===window.onmousedown?i[t]:t}function l(t,e,n,s){return(0,r.E)(t,u(e),(0,o.qT)(n,"pointerdown"===e),s)}function c(t,e,n,s){return(0,r.p)(t,u(e),n&&(0,o.qT)(n,"pointerdown"===e),s)}},5856:(t,e,n)=>{function r(t){let e=null;return()=>{const n=()=>{e=null};return null===e&&(e=t,n)}}n.d(e,{gD:()=>i});const o=r("dragHorizontal"),s=r("dragVertical");function i(){const t=function(t){let e=!1;if("y"===t)e=s();else if("x"===t)e=o();else{const t=o(),n=s();t&&n?e=()=>{t(),n()}:(t&&t(),n&&n())}return e}(!0);return!t||(t(),!1)}},3541:(t,e,n)=>{function r(t){return"undefined"!=typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent}function o(t){return!!t.touches}n.d(e,{N:()=>r,z:()=>o})},6295:(t,e,n)=>{n.d(e,{x:()=>r});const r=t=>e=>(t(e),null)},483:(t,e,n)=>{function r({top:t,left:e,right:n,bottom:r}){return{x:{min:e,max:n},y:{min:t,max:r}}}function o(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}n.d(e,{d7:()=>o,i8:()=>r})},1397:(t,e,n)=>{n.d(e,{dO:()=>r});const r=()=>({x:{min:0,max:0},y:{min:0,max:0}})},798:(t,e,n)=>{n.d(e,{P:()=>r});const r={}},8834:(t,e,n)=>{n.d(e,{J:()=>o});var r=n(483);function o(t,e){return(0,r.i8)((0,r.d7)(t.getBoundingClientRect(),e))}},6978:(t,e,n)=>{n.d(e,{mH:()=>a});var r=n(9340);function o(t){return"string"==typeof t&&t.startsWith("var(--")}const s=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function i(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.`);const[a,u]=function(t){const e=s.exec(t);if(!e)return[,];const[,n,r]=e;return[n,r]}(t);if(!a)return;const l=window.getComputedStyle(e).getPropertyValue(a);return l?l.trim():o(u)?i(u,e,n+1):u}function a(t,{...e},n){const r=t.current;if(!(r instanceof Element))return{target:e,transitionEnd:n};n&&(n={...n}),t.values.forEach((t=>{const e=t.get();if(!o(e))return;const n=i(e,r);n&&t.set(n)}));for(const t in e){const s=e[t];if(!o(s))continue;const a=i(s,r);a&&(e[t]=a,n&&void 0===n[t]&&(n[t]=s))}return{target:e,transitionEnd:n}}},6914:(t,e,n)=>{n.d(e,{T:()=>i});var r=n(9500),o=n(6002),s=n(7557);function i(t,e){var n;let i=(0,s.A)(t);return i!==r.h&&(i=o.P),null===(n=i.getAnimatableNone)||void 0===n?void 0:n.call(i,e)}},7557:(t,e,n)=>{n.d(e,{A:()=>i});var r=n(7576),o=n(9500);const s={...n(4923).j,color:r.$,backgroundColor:r.$,outlineColor:r.$,fill:r.$,stroke:r.$,borderColor:r.$,borderTopColor:r.$,borderRightColor:r.$,borderBottomColor:r.$,borderLeftColor:r.$,filter:o.h,WebkitFilter:o.h},i=t=>s[t]},4923:(t,e,n)=>{n.d(e,{j:()=>i});var r=n(155),o=n(1513),s=n(6933);const i={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:o.bA,scaleX:o.bA,scaleY:o.bA,scaleZ:o.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:o.Fq,originX:r.$C,originY:r.$C,originZ:r.px,zIndex:s.e,fillOpacity:o.Fq,strokeOpacity:o.Fq,numOctaves:s.e}},6933:(t,e,n)=>{n.d(e,{e:()=>r});const r={...n(1513).Rx,transform:Math.round}},7921:(t,e,n)=>{var r;n.d(e,{r:()=>r}),function(t){t.Animate="animate",t.Hover="whileHover",t.Tap="whileTap",t.Drag="whileDrag",t.Focus="whileFocus",t.InView="whileInView",t.Exit="exit"}(r||(r={}))},1180:(t,e,n)=>{function r(t,e){-1===t.indexOf(e)&&t.push(e)}function o(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}n.d(e,{cl:()=>o,y4:()=>r})},9043:(t,e,n)=>{n.d(e,{u:()=>r});const r=(t,e,n)=>Math.min(Math.max(n,t),e)},2866:(t,e,n)=>{n.d(e,{g:()=>o});var r=n(6162);function o(t,e){const n=performance.now(),o=({timestamp:s})=>{const i=s-n;i>=e&&(r.qY.read(o),t(i-e))};return r.ZP.read(o,!0),()=>r.qY.read(o)}},3093:(t,e,n)=>{n.d(e,{j:()=>r});const r="undefined"!=typeof document},3491:(t,e,n)=>{function r(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}n.d(e,{I:()=>r})},5430:(t,e,n)=>{n.d(e,{C:()=>r});const r=(t,e,n)=>-n*t+n*e+t},2634:(t,e,n)=>{n.d(e,{Z:()=>r});const r=t=>t},9820:(t,e,n)=>{n.d(e,{z:()=>o});const r=(t,e)=>n=>e(t(n)),o=(...t)=>t.reduce(r)},918:(t,e,n)=>{n.d(e,{Y:()=>r});const r=(t,e,n)=>{const r=e-t;return 0===r?1:(n-t)/r}},7048:(t,e,n)=>{n.d(e,{Y:()=>o});var r=n(2819);const o=t=>(0,r.C)(t)?t[t.length-1]||0:t},1065:(t,e,n)=>{n.d(e,{L:()=>o});var r=n(1180);class o{constructor(){this.subscriptions=[]}add(t){return(0,r.y4)(this.subscriptions,t),()=>(0,r.cl)(this.subscriptions,t)}notify(t,e,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,n);else for(let o=0;o<r;o++){const r=this.subscriptions[o];r&&r(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},1818:(t,e,n)=>{n.d(e,{w:()=>r});const r=t=>1e3*t},9531:(t,e,n)=>{n.d(e,{z:()=>o});var r=n(8370);function o(t){return(0,r.useEffect)((()=>()=>t()),[])}},432:(t,e,n)=>{function r(t,e){return e?t*(1e3/e):0}n.d(e,{R:()=>r})},1421:(t,e,n)=>{n.d(e,{B:()=>a});var r=n(6162),o=n(1065),s=n(432);class i{constructor(t){var e;this.version="__VERSION__",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new o.L,this.velocityUpdateSubscribers=new o.L,this.renderSubscribers=new o.L,this.canTrackVelocity=!1,this.updateAndNotify=(t,e=!0)=>{this.prev=this.current,this.current=t;const{delta:n,timestamp:o}=(0,r.$B)();this.lastUpdated!==o&&(this.timeDelta=n,this.lastUpdated=o,r.ZP.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.updateSubscribers.notify(this.current),this.velocityUpdateSubscribers.getSize()&&this.velocityUpdateSubscribers.notify(this.getVelocity()),e&&this.renderSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>r.ZP.postRender(this.velocityCheck),this.velocityCheck=({timestamp:t})=>{t!==this.lastUpdated&&(this.prev=this.current,this.velocityUpdateSubscribers.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e)))}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}onRenderRequest(t){return t(this.get()),this.renderSubscribers.add(t)}attach(t){this.passiveEffect=t}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,s.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise((e=>{this.hasAnimated=!0,this.stopAnimation=t(e)})).then((()=>this.clearAnimation()))}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()}}function a(t){return new i(t)}},7846:(t,e,n)=>{n.d(e,{i:()=>r});const r=t=>!!(null==t?void 0:t.getVelocity)},8370:t=>{t.exports=void 0},6162:(t,e,n)=>{n.d(e,{qY:()=>h,ZP:()=>y,$B:()=>g});const r=1/60*1e3,o="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),s="undefined"!=typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout((()=>t(o())),r);let i=!0,a=!1,u=!1;const l={delta:0,timestamp:0},c=["read","update","preRender","render","postRender"],p=c.reduce(((t,e)=>(t[e]=function(t){let e=[],n=[],r=0,o=!1,s=!1;const i=new WeakSet,a={schedule:(t,s=!1,a=!1)=>{const u=a&&o,l=u?e:n;return s&&i.add(t),-1===l.indexOf(t)&&(l.push(t),u&&o&&(r=e.length)),t},cancel:t=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1),i.delete(t)},process:u=>{if(o)s=!0;else{if(o=!0,[e,n]=[n,e],n.length=0,r=e.length,r)for(let n=0;n<r;n++){const r=e[n];r(u),i.has(r)&&(a.schedule(r),t())}o=!1,s&&(s=!1,a.process(u))}}};return a}((()=>a=!0)),t)),{}),d=c.reduce(((t,e)=>{const n=p[e];return t[e]=(t,e=!1,r=!1)=>(a||v(),n.schedule(t,e,r)),t}),{}),h=c.reduce(((t,e)=>(t[e]=p[e].cancel,t)),{}),f=(c.reduce(((t,e)=>(t[e]=()=>p[e].process(l),t)),{}),t=>p[t].process(l)),m=t=>{a=!1,l.delta=i?r:Math.max(Math.min(t-l.timestamp,40),1),l.timestamp=t,u=!0,c.forEach(f),u=!1,a&&(i=!1,s(m))},v=()=>{a=!0,i=!0,u||s(m)},g=()=>l,y=d},9012:(t,e,n)=>{n.d(e,{$:()=>o});var r=n(3203);const o={test:(0,n(1552).i)("#"),parse:function(t){let e="",n="",r="",o="";return t.length>5?(e=t.substr(1,2),n=t.substr(3,2),r=t.substr(5,2),o=t.substr(7,2)):(e=t.substr(1,1),n=t.substr(2,1),r=t.substr(3,1),o=t.substr(4,1),e+=e,n+=n,r+=r,o+=o),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:r.m.transform}},7493:(t,e,n)=>{n.d(e,{J:()=>a});var r=n(1513),o=n(155),s=n(5757),i=n(1552);const a={test:(0,i.i)("hsl","hue"),parse:(0,i.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+o.aQ.transform((0,s.Nw)(e))+", "+o.aQ.transform((0,s.Nw)(n))+", "+(0,s.Nw)(r.Fq.transform(i))+")"}},7576:(t,e,n)=>{n.d(e,{$:()=>a});var r=n(5757),o=n(9012),s=n(7493),i=n(3203);const a={test:t=>i.m.test(t)||o.$.test(t)||s.J.test(t),parse:t=>i.m.test(t)?i.m.parse(t):s.J.test(t)?s.J.parse(t):o.$.parse(t),transform:t=>(0,r.HD)(t)?t:t.hasOwnProperty("red")?i.m.transform(t):s.J.transform(t)}},3203:(t,e,n)=>{n.d(e,{m:()=>u});var r=n(1513),o=n(5757),s=n(1552);const i=(0,o.uZ)(0,255),a=Object.assign(Object.assign({},r.Rx),{transform:t=>Math.round(i(t))}),u={test:(0,s.i)("rgb","red"),parse:(0,s.d)("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:s=1})=>"rgba("+a.transform(t)+", "+a.transform(e)+", "+a.transform(n)+", "+(0,o.Nw)(r.Fq.transform(s))+")"}},1552:(t,e,n)=>{n.d(e,{d:()=>s,i:()=>o});var r=n(5757);const o=(t,e)=>n=>Boolean((0,r.HD)(n)&&r.mj.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),s=(t,e,n)=>o=>{if(!(0,r.HD)(o))return o;const[s,i,a,u]=o.match(r.KP);return{[t]:parseFloat(s),[e]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==u?parseFloat(u):1}}},9500:(t,e,n)=>{n.d(e,{h:()=>u});var r=n(6002),o=n(5757);const s=new Set(["brightness","contrast","saturate","opacity"]);function i(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[r]=n.match(o.KP)||[];if(!r)return t;const i=n.replace(r,"");let a=s.has(e)?1:0;return r!==n&&(a*=100),e+"("+a+i+")"}const a=/([a-z-]*)\(.*?\)/g,u=Object.assign(Object.assign({},r.P),{getAnimatableNone:t=>{const e=t.match(a);return e?e.map(i).join(" "):t}})},6002:(t,e,n)=>{n.d(e,{P:()=>d});var r=n(7576),o=n(1513),s=n(5757);const i="${c}",a="${n}";function u(t){"number"==typeof t&&(t=`${t}`);const e=[];let n=0;const u=t.match(s.dA);u&&(n=u.length,t=t.replace(s.dA,i),e.push(...u.map(r.$.parse)));const l=t.match(s.KP);return l&&(t=t.replace(s.KP,a),e.push(...l.map(o.Rx.parse))),{values:e,numColors:n,tokenised:t}}function l(t){return u(t).values}function c(t){const{values:e,numColors:n,tokenised:o}=u(t),l=e.length;return t=>{let e=o;for(let o=0;o<l;o++)e=e.replace(o<n?i:a,o<n?r.$.transform(t[o]):(0,s.Nw)(t[o]));return e}}const p=t=>"number"==typeof t?0:t;const d={test:function(t){var e,n,r,o;return isNaN(t)&&(0,s.HD)(t)&&(null!==(n=null===(e=t.match(s.KP))||void 0===e?void 0:e.length)&&void 0!==n?n:0)+(null!==(o=null===(r=t.match(s.dA))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:l,createTransformer:c,getAnimatableNone:function(t){const e=l(t);return c(t)(e.map(p))}}},1513:(t,e,n)=>{n.d(e,{Fq:()=>s,Rx:()=>o,bA:()=>i});var r=n(5757);const o={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s=Object.assign(Object.assign({},o),{transform:(0,r.uZ)(0,1)}),i=Object.assign(Object.assign({},o),{default:1})},155:(t,e,n)=>{n.d(e,{$C:()=>c,RW:()=>s,aQ:()=>i,px:()=>a,vh:()=>u,vw:()=>l});var r=n(5757);const o=t=>({test:e=>(0,r.HD)(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),s=o("deg"),i=o("%"),a=o("px"),u=o("vh"),l=o("vw"),c=Object.assign(Object.assign({},i),{parse:t=>i.parse(t)/100,transform:t=>i.transform(100*t)})},5757:(t,e,n)=>{n.d(e,{HD:()=>u,KP:()=>s,Nw:()=>o,dA:()=>i,mj:()=>a,uZ:()=>r});const r=(t,e)=>n=>Math.max(Math.min(n,e),t),o=t=>t%1?Number(t.toFixed(5)):t,s=/(-)?([\d]*\.?[\d])+/g,i=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,a=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function u(t){return"string"==typeof t}}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var s=e[r]={exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t=n(8370);function e(t){return"object"==typeof t&&"function"==typeof t.start}var r=n(1930),o=n(7866),s=n(2819);function i(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}var a=n(138),u=n(6002);const l=t=>/^0[^.\s]+$/.test(t);var c=n(7048),p=n(1421),d=n(6914),h=n(7576),f=n(1513),m=n(155);const v=t=>e=>e.test(t),g=[f.Rx,m.px,m.aQ,m.RW,m.vw,m.vh,{test:t=>"auto"===t,parse:t=>t}],y=t=>g.find(v(t)),b=[...g,h.$,u.P],w=t=>b.find(v(t));function x(t,e,n,r={},o={}){return"function"==typeof e&&(e=e(void 0!==n?n:t.custom,r,o)),"string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e&&(e=e(void 0!==n?n:t.custom,r,o)),e}function V(t,e,n){const r=t.getProps();return x(r,e,void 0!==n?n:r.custom,function(t){const e={};return t.values.forEach(((t,n)=>e[n]=t.get())),e}(t),function(t){const e={};return t.values.forEach(((t,n)=>e[n]=t.getVelocity())),e}(t))}function A(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,(0,p.B)(n))}function C(t,e){const n=V(t,e);let{transitionEnd:r={},transition:o={},...s}=n?t.makeTargetAnimatable(n,!1):{};s={...s,...r};for(const e in s){A(t,e,(0,c.Y)(s[e]))}}function S(t,e){if(!e)return;return(e[t]||e.default||e).from}const M=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],P=new Set(M);var T=n(7846);function E(t){return Boolean((0,T.i)(t)&&t.add)}function k(t,e,n={}){var r;const o=V(t,e,n.custom);let{transition:s=t.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(s=n.transitionOverride);const i=o?()=>O(t,o,n):()=>Promise.resolve(),a=(null===(r=t.variantChildren)||void 0===r?void 0:r.size)?(r=0)=>{const{delayChildren:o=0,staggerChildren:i,staggerDirection:a}=s;return function(t,e,n=0,r=0,o=1,s){const i=[],a=(t.variantChildren.size-1)*r,u=1===o?(t=0)=>t*r:(t=0)=>a-t*r;return Array.from(t.variantChildren).sort(F).forEach(((t,r)=>{i.push(k(t,e,{...s,delay:n+u(r)}).then((()=>t.notify("AnimationComplete",e))))})),Promise.all(i)}(t,e,o+r,i,a,n)}:()=>Promise.resolve(),{when:u}=s;if(u){const[t,e]="beforeChildren"===u?[i,a]:[a,i];return t().then(e)}return Promise.all([i(),a(n.delay)])}function O(t,e,{delay:n=0,transitionOverride:r,type:o}={}){var s;let{transition:i=t.getDefaultTransition(),transitionEnd:u,...l}=t.makeTargetAnimatable(e);const c=t.getValue("willChange");r&&(i=r);const p=[],d=o&&(null===(s=t.animationState)||void 0===s?void 0:s.getState()[o]);for(const e in l){const r=t.getValue(e),o=l[e];if(!r||void 0===o||d&&R(d,e))continue;let s={delay:n,...i};t.shouldReduceMotion&&P.has(e)&&(s={...s,type:!1,delay:0});let u=(0,a.b8)(e,r,o,s);E(c)&&(c.add(e),u=u.then((()=>c.remove(e)))),p.push(u)}return Promise.all(p).then((()=>{u&&C(t,u)}))}function F(t,e){return t.sortNodePosition(e)}function R({protectedKeys:t,needsAnimating:e},n){const r=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,r}function $(t){return"string"==typeof t||Array.isArray(t)}var I=n(7921);const j=[I.r.Animate,I.r.InView,I.r.Focus,I.r.Hover,I.r.Tap,I.r.Drag,I.r.Exit],B=[...j].reverse(),D=j.length;function N(t){return e=>Promise.all(e.map((({animation:e,options:n})=>function(t,e,n={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e)){const o=e.map((e=>k(t,e,n)));r=Promise.all(o)}else if("string"==typeof e)r=k(t,e,n);else{const o="function"==typeof e?V(t,e,n.custom):e;r=O(t,o,n)}return r.then((()=>t.notify("AnimationComplete",e)))}(t,e,n))))}function Y(t){let n=N(t);const r={[I.r.Animate]:U(!0),[I.r.InView]:U(),[I.r.Hover]:U(),[I.r.Tap]:U(),[I.r.Drag]:U(),[I.r.Focus]:U(),[I.r.Exit]:U()};let o=!0;const a=(e,n)=>{const r=V(t,n);if(r){const{transition:t,transitionEnd:n,...o}=r;e={...e,...o,...n}}return e};function u(u,l){var c;const p=t.getProps(),d=t.getVariantContext(!0)||{},h=[],f=new Set;let m={},v=1/0;for(let n=0;n<D;n++){const g=B[n],y=r[g],b=null!==(c=p[g])&&void 0!==c?c:d[g],w=$(b),x=g===l?y.isActive:null;!1===x&&(v=n);let V=b===d[g]&&b!==p[g]&&w;if(V&&o&&t.manuallyAnimateOnMount&&(V=!1),y.protectedKeys={...m},!y.isActive&&null===x||!b&&!y.prevProp||e(b)||"boolean"==typeof b)continue;const A=L(y.prevProp,b);let C=A||g===l&&y.isActive&&!V&&w||n>v&&w;const S=Array.isArray(b)?b:[b];let M=S.reduce(a,{});!1===x&&(M={});const{prevResolvedValues:P={}}=y,T={...P,...M},E=t=>{C=!0,f.delete(t),y.needsAnimating[t]=!0};for(const t in T){const e=M[t],n=P[t];m.hasOwnProperty(t)||(e!==n?(0,s.C)(e)&&(0,s.C)(n)?!i(e,n)||A?E(t):y.protectedKeys[t]=!0:void 0!==e?E(t):f.add(t):void 0!==e&&f.has(t)?E(t):y.protectedKeys[t]=!0)}y.prevProp=b,y.prevResolvedValues=M,y.isActive&&(m={...m,...M}),o&&t.blockInitialAnimation&&(C=!1),C&&!V&&h.push(...S.map((t=>({animation:t,options:{type:g,...u}}))))}if(f.size){const e={};f.forEach((n=>{const r=t.getBaseTarget(n);void 0!==r&&(e[n]=r)})),h.push({animation:e})}let g=Boolean(h.length);return o&&!1===p.initial&&!t.manuallyAnimateOnMount&&(g=!1),o=!1,g?n(h):Promise.resolve()}return{animateChanges:u,setActive:function(e,n,o){var s;if(r[e].isActive===n)return Promise.resolve();null===(s=t.variantChildren)||void 0===s||s.forEach((t=>{var r;return null===(r=t.animationState)||void 0===r?void 0:r.setActive(e,n)})),r[e].isActive=n;const i=u(o,e);for(const t in r)r[t].protectedKeys={};return i},setAnimateFunction:function(e){n=e(t)},getState:()=>r}}function L(t,e){return"string"==typeof e?e!==t:!!Array.isArray(e)&&!i(e,t)}function U(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var q=n(6295);const z={animation:(0,q.x)((({visualElement:n,animate:r})=>{n.animationState||(n.animationState=Y(n)),e(r)&&(0,t.useEffect)((()=>r.subscribe(n)),[r])})),exit:(0,q.x)((e=>{const{custom:n,visualElement:s}=e,[i,a]=(0,r.oO)(),u=(0,t.useContext)(o.O);(0,t.useEffect)((()=>{s.isPresent=i;const t=s.animationState&&s.animationState.setActive(I.r.Exit,!i,{custom:u&&u.custom||n});t&&!i&&t.then(a)}),[i])}))};var W=n(1876);var Z=n(3541),H=n(1395),X=n(5856);function K(t,e,n){return(r,o)=>{(0,Z.N)(r)&&!(0,X.gD)()&&(t.animationState&&t.animationState.setActive(I.r.Hover,e),n&&n(r,o))}}const J=(t,e)=>!!e&&(t===e||J(t,e.parentElement));var _=n(9531),Q=n(9820);const G=("undefined"==typeof process||process.env,"production"),tt=new Set;const et=new WeakMap,nt=new WeakMap,rt=t=>{const e=et.get(t.target);e&&e(t)},ot=t=>{t.forEach(rt)};function st(t,e,n){const r=function({root:t,...e}){const n=t||document;nt.has(n)||nt.set(n,{});const r=nt.get(n),o=JSON.stringify(e);return r[o]||(r[o]=new IntersectionObserver(ot,{root:t,...e})),r[o]}(e);return et.set(t,n),r.observe(t),()=>{et.delete(t),r.unobserve(t)}}const it={some:0,all:1};function at(e,n,r,{root:o,margin:s,amount:i="some",once:a}){(0,t.useEffect)((()=>{if(!e||!r.current)return;const t={root:null==o?void 0:o.current,rootMargin:s,threshold:"number"==typeof i?i:it[i]};return st(r.current,t,(t=>{const{isIntersecting:e}=t;if(n.isInView===e)return;if(n.isInView=e,a&&!e&&n.hasEnteredView)return;e&&(n.hasEnteredView=!0),r.animationState&&r.animationState.setActive(I.r.InView,e);const o=r.getProps(),s=e?o.onViewportEnter:o.onViewportLeave;s&&s(t)}))}),[e,o,s,i])}function ut(e,n,r,{fallback:o=!0}){(0,t.useEffect)((()=>{var t,s;e&&o&&("production"!==G&&(t="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",!1||tt.has(t)||(console.warn(t),s&&console.warn(s),tt.add(t))),requestAnimationFrame((()=>{n.hasEnteredView=!0;const{onViewportEnter:t}=r.getProps();t&&t(null),r.animationState&&r.animationState.setActive(I.r.InView,!0)})))}),[e])}const lt={inView:(0,q.x)((function({visualElement:e,whileInView:n,onViewportEnter:r,onViewportLeave:o,viewport:s={}}){const i=(0,t.useRef)({hasEnteredView:!1,isInView:!1});let a=Boolean(n||r||o);s.once&&i.current.hasEnteredView&&(a=!1),("undefined"==typeof IntersectionObserver?ut:at)(a,i.current,e,s)})),tap:(0,q.x)((function({onTap:e,onTapStart:n,onTapCancel:r,whileTap:o,visualElement:s}){const i=e||n||r||o,a=(0,t.useRef)(!1),u=(0,t.useRef)(null),l={passive:!(n||e||r||f)};function c(){u.current&&u.current(),u.current=null}function p(){return c(),a.current=!1,s.animationState&&s.animationState.setActive(I.r.Tap,!1),!(0,X.gD)()}function d(t,n){p()&&(J(s.current,t.target)?e&&e(t,n):r&&r(t,n))}function h(t,e){p()&&r&&r(t,e)}function f(t,e){c(),a.current||(a.current=!0,u.current=(0,Q.z)((0,H.a)(window,"pointerup",d,l),(0,H.a)(window,"pointercancel",h,l)),s.animationState&&s.animationState.setActive(I.r.Tap,!0),n&&n(t,e))}(0,H.m)(s,"pointerdown",i?f:void 0,l),(0,_.z)(c)})),focus:(0,q.x)((function({whileFocus:t,visualElement:e}){const{animationState:n}=e;(0,W.p)(e,"focus",t?()=>{n&&n.setActive(I.r.Focus,!0)}:void 0),(0,W.p)(e,"blur",t?()=>{n&&n.setActive(I.r.Focus,!1)}:void 0)})),hover:(0,q.x)((function({onHoverStart:t,onHoverEnd:e,whileHover:n,visualElement:r}){(0,H.m)(r,"pointerenter",t||n?K(r,!0,t):void 0,{passive:!t}),(0,H.m)(r,"pointerleave",e||n?K(r,!1,e):void 0,{passive:!e})}))},ct={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},pt=(t,e)=>M.indexOf(t)-M.indexOf(e);function dt(t){return t.startsWith("--")}const ht=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var ft=n(4923);function mt(t,e,n,r){const{style:o,vars:s,transform:i,transformKeys:a,transformOrigin:u}=t;a.length=0;let l=!1,c=!1,p=!0;for(const t in e){const n=e[t];if(dt(t)){s[t]=n;continue}const r=ft.j[t],l=ht(n,r);if(P.has(t)){if(!0,i[t]=l,a.push(t),!p)continue;n!==(r.default||0)&&!1}else t.startsWith("origin")?(!0,u[t]=l):o[t]=l}if(e.transform||(l||r?o.transform=function({transform:t,transformKeys:e},{enableHardwareAcceleration:n=!0,allowTransformNone:r=!0},o,s){let i="";e.sort(pt);for(const n of e)`${ct[n]||n}(${t[n]}) `;return n&&!t.z&&"translateZ(0)",i.trim(),s?s(t,o?"":i):r&&o&&"none",i}(t,n,p,r):o.transform&&(o.transform="none")),c){const{originX:t="50%",originY:e="50%",originZ:n=0}=u;o.transformOrigin=`${t} ${e} ${n}`}}var vt=n(798);function gt(t,{layout:e,layoutId:n}){return P.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!vt.P[t]||"opacity"===t)}function yt(t){const{style:e}=t,n={};for(const r in e)((0,T.i)(e[r])||gt(r,t))&&(n[r]=e[r]);return n}function bt(t,{style:e,vars:n},r,o){Object.assign(t.style,e,o&&o.getProjectionStyles(r));for(const e in n)t.style.setProperty(e,n[e])}var wt=n(7557),xt=n(8834),Vt=n(6978),At=n(9340),Ct=n(3093);const St=new Set(["width","height","top","left","right","bottom","x","y"]),Mt=t=>St.has(t),Pt=(t,e)=>{t.set(e,!1),t.set(e)},Tt=t=>t===f.Rx||t===m.px;var Et;!function(t){t.width="width",t.height="height",t.left="left",t.right="right",t.top="top",t.bottom="bottom"}(Et||(Et={}));const kt=(t,e)=>parseFloat(t.split(", ")[e]),Ot=(t,e)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return kt(o[1],e);{const e=r.match(/^matrix\((.+)\)$/);return e?kt(e[1],t):0}},Ft=new Set(["x","y","z"]),Rt=M.filter((t=>!Ft.has(t)));const $t={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:Ot(4,13),y:Ot(5,14)},It=(t,e,n={},r={})=>{e={...e},r={...r};const o=Object.keys(e).filter(Mt);let i=[],a=!1;const u=[];if(o.forEach((o=>{const l=t.getValue(o);if(!t.hasValue(o))return;let c=n[o],p=y(c);const d=e[o];let h;if((0,s.C)(d)){const t=d.length,e=null===d[0]?1:0;c=d[e],p=y(c);for(let n=e;n<t;n++)h?(0,At.k)(y(d[n])===h,"All keyframes must be of the same type"):(h=y(d[n]),(0,At.k)(h===p||Tt(p)&&Tt(h),"Keyframes must be of the same dimension as the current value"))}else h=y(d);if(p!==h)if(Tt(p)&&Tt(h)){const t=l.get();"string"==typeof t&&l.set(parseFloat(t)),"string"==typeof d?e[o]=parseFloat(d):Array.isArray(d)&&h===m.px&&(e[o]=d.map(parseFloat))}else(null==p?void 0:p.transform)&&(null==h?void 0:h.transform)&&(0===c||0===d)?0===c?l.set(h.transform(c)):e[o]=p.transform(d):(a||(i=function(t){const e=[];return Rt.forEach((n=>{const r=t.getValue(n);void 0!==r&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),e.length&&t.render(),e}(t),a=!0),u.push(o),r[o]=void 0!==r[o]?r[o]:e[o],Pt(l,d))})),u.length){const n=u.indexOf("height")>=0?window.pageYOffset:null,o=((t,e,n)=>{const r=e.measureViewportBox(),o=e.current,s=getComputedStyle(o),{display:i}=s,a={};"none"===i&&e.setStaticValue("display",t.display||"block"),n.forEach((t=>{a[t]=$t[t](r,s)})),e.render();const u=e.measureViewportBox();return n.forEach((n=>{const r=e.getValue(n);Pt(r,a[n]),t[n]=$t[n](u,s)})),t})(e,t,u);return i.length&&i.forEach((([e,n])=>{t.getValue(e).set(n)})),t.render(),Ct.j&&null!==n&&window.scrollTo({top:n}),{target:o,transitionEnd:r}}return{target:e,transitionEnd:r}};function jt(t,e,n,r){return(t=>Object.keys(t).some(Mt))(e)?It(t,e,n,r):{target:e,transitionEnd:r}}var Bt=n(6162);const Dt=t=>({isEnabled:e=>t.some((t=>!!e[t]))}),Nt={measureLayout:Dt(["layout","layoutId","drag"]),animation:Dt(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Dt(["exit"]),drag:Dt(["drag","dragControls"]),focus:Dt(["whileFocus"]),hover:Dt(["whileHover","onHoverStart","onHoverEnd"]),tap:Dt(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Dt(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Dt(["whileInView","onViewportEnter","onViewportLeave"])};var Yt=n(1397),Lt=n(3491);const Ut={current:null},qt={current:!1};var zt=n(1065);const Wt=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function Zt(t){return e(t.animate)||Wt.some((e=>$(t[e])))}const Ht=Object.keys(Nt),Xt=Ht.length,Kt=["AnimationStart","AnimationComplete","Update","Unmount","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];const Jt=["initial",...j],_t=Jt.length;class Qt extends class{constructor({parent:t,props:e,reducedMotionConfig:n,visualState:r},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,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=()=>Bt.ZP.render(this.render,!1,!0);const{latestValues:s,renderState:i}=r;this.latestValues=s,this.baseTarget={...s},this.initialValues=e.initial?{...s}:{},this.renderState=i,this.parent=t,this.props=e,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.isControllingVariants=Zt(e),this.isVariantNode=function(t){return Boolean(Zt(t)||t.variants)}(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:a,...u}=this.scrapeMotionValuesFromProps(e);for(const t in u){const e=u[t];void 0!==s[t]&&(0,T.i)(e)&&(e.set(s[t],!1),E(a)&&a.add(t))}}scrapeMotionValuesFromProps(t){return{}}mount(t){var e;this.current=t,this.projection&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=null===this.parent||void 0===e?void 0:e.addVariantChild(this)),this.values.forEach(((t,e)=>this.bindToMotionValue(e,t))),qt.current||function(){if(qt.current=!0,Ct.j)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Ut.current=t.matches;t.addListener(e),e()}else Ut.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Ut.current),this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var t,e,n;null===this.projection||void 0===t||t.unmount(),Bt.qY.update(this.notifyUpdate),Bt.qY.render(this.render),this.valueSubscriptions.forEach((t=>t())),null===this.removeFromVariantTree||void 0===e||e.call(this),null===this.parent||void 0===n||n.children.delete(this);for(const t in this.events)this.events[t].clear();this.current=null}bindToMotionValue(t,e){const n=P.has(t),r=e.onChange((e=>{this.latestValues[t]=e,this.props.onUpdate&&Bt.ZP.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)})),o=e.onRenderRequest(this.scheduleRender);this.valueSubscriptions.set(t,(()=>{r(),o()}))}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures(e,n,r,o,s,i){const a=[];"production"!==G&&r&&n&&(0,At.k)(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(let n=0;n<Xt;n++){const r=Ht[n],{isEnabled:o,Component:s}=Nt[r];o(e)&&s&&a.push((0,t.createElement)(s,{key:r,...e,visualElement:this}))}if(!this.projection&&s){this.projection=new s(o,this.latestValues,this.parent&&this.parent.projection);const{layoutId:t,layout:n,drag:r,dragConstraints:a,layoutScroll:u}=e;this.projection.setOptions({layoutId:t,layout:n,alwaysMeasureLayout:Boolean(r)||a&&(0,Lt.I)(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:i,layoutScroll:u})}return a}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,Yt.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)}setProps(t){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.props=t;for(let e=0;e<Kt.length;e++){const n=Kt[e];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=t["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(t,e,n){const{willChange:r}=e;for(const o in e){const s=e[o],i=n[o];if((0,T.i)(s))t.addValue(o,s),E(r)&&r.add(o);else if((0,T.i)(i))t.addValue(o,(0,p.B)(s)),E(r)&&r.remove(o);else if(i!==s)if(t.hasValue(o)){const e=t.getValue(o);!e.hasAnimated&&e.set(s)}else{const e=t.getStaticValue(o);t.addValue(o,(0,p.B)(void 0!==e?e:s))}}for(const r in n)void 0===e[r]&&t.removeValue(r);return e}(this,this.scrapeMotionValuesFromProps(t),this.prevMotionValues)}getProps(){return this.props}getVariant(t){var e;return null===this.props.variants||void 0===e?void 0:e[t]}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){var t;return this.isVariantNode?this:null===this.parent||void 0===t?void 0:t.getClosestVariantNode()}getVariantContext(t=!1){var e,n;if(t)return null===this.parent||void 0===e?void 0:e.getVariantContext();if(!this.isControllingVariants){const t=(null===this.parent||void 0===n?void 0:n.getVariantContext())||{};return void 0!==this.props.initial&&(t.initial=this.props.initial),t}const r={};for(let t=0;t<_t;t++){const e=Jt[t],n=this.props[e];($(n)||!1===n)&&(r[e]=n)}return r}addVariantChild(t){var e;const n=this.getClosestVariantNode();if(n)return null===n.variantChildren||void 0===e||e.add(t),()=>n.variantChildren.delete(t)}addValue(t,e){this.hasValue(t)&&this.removeValue(t),this.values.set(t,e),this.latestValues[t]=e.get(),this.bindToMotionValue(t,e)}removeValue(t){var e;this.values.delete(t),null===this.valueSubscriptions.get(t)||void 0===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&&((0,p.B)(e),this.addValue(t,n)),n}readValue(t){return void 0===this.latestValues[t]&&this.current?this.readValueFromInstance(this.current,t,this.options):this.latestValues[t]}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;const{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===x(this.props,n)||void 0===e?void 0:e[t]:void 0;if(n&&void 0!==r)return r;const o=this.getBaseTargetFromProps(this.props,t);return void 0===o||(0,T.i)(o)?void 0!==this.initialValues[t]&&void 0===r?void 0:this.baseTarget[t]:o}on(t,e){return this.events[t]||(this.events[t]=new zt.L),this.events[t].add(e)}notify(t,...e){var n;null===this.events[t]||void 0===n||n.notify(...e)}}{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){var n;return null===t.style||void 0===n?void 0:n[e]}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:e,...n},{transformValues:r},o){let s=function(t,e,n){var r;const o={};for(const s in t){const t=S(s,e);o[s]=void 0!==t?t:null===n.getValue(s)||void 0===r?void 0:r.get()}return o}(n,t||{},this);if(r&&(e&&r(e),n&&r(n),s&&r(s)),o){!function(t,e,n){var r,o;const s=Object.keys(e).filter((e=>!t.hasValue(e))),i=s.length;if(i)for(let a=0;a<i;a++){const i=s[a],c=e[i];let h=null;Array.isArray(c)&&c[0],null===h&&(null!==(null!==n[i]&&void 0!==r?r:t.readValue(i))&&void 0!==o?o:e[i]),null!=h&&("string"==typeof h&&(/^\-?\d*\.?\d+$/.test(h)||l(h))?parseFloat(h):!w(h)&&u.P.test(c)&&(0,d.T)(i,c),t.addValue(i,(0,p.B)(h)),void 0===n[i]&&(n[i]=h),null!==h&&t.setBaseTarget(i,h))}}(this,n,s);const t=((t,e,n,r)=>{const o=(0,Vt.mH)(t,e,r);return jt(t,o.target,n,o.transitionEnd)})(this,n,s,e);t.transitionEnd,t.target}return{transition:t,transitionEnd:e,...n}}}class Gt extends Qt{readValueFromInstance(t,e){if(P.has(e)){const t=(0,wt.A)(e);return t&&t.default||0}{const r=(t,window.getComputedStyle(n)),o=(dt(e)?r.getPropertyValue(e):r[e])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,xt.J)(t,e)}build(t,e,n,r){mt(t,e,n,r.transformTemplate)}scrapeMotionValuesFromProps(t){return yt(t)}renderInstance(t,e,n,r){bt(t,e,n,r)}}function te(t,e,n){return"string"==typeof t?t:m.px.transform(e+n*t)}const ee={offset:"stroke-dashoffset",array:"stroke-dasharray"},ne={offset:"strokeDashoffset",array:"strokeDasharray"};function re(t,{attrX:e,attrY:n,originX:r,originY:o,pathLength:s,pathSpacing:i=1,pathOffset:a=0,...u},l,c){mt(t,u,l,c),t.attrs=t.style,t.style={};const{attrs:p,style:d,dimensions:h}=t;p.transform&&(h&&(d.transform=p.transform),delete p.transform),h&&(void 0!==r||void 0!==o||d.transform)&&(d.transformOrigin=function(t,e,n){return`${te(e,t.x,t.width)} ${te(n,t.y,t.height)}`}(h,void 0!==r?r:.5,void 0!==o?o:.5)),void 0!==e&&(p.x=e),void 0!==n&&(p.y=n),void 0!==s&&function(t,e,n=1,r=0,o=!0){t.pathLength=1;const s=o?ee:ne;t[s.offset]=m.px.transform(-r);const i=m.px.transform(e),a=m.px.transform(n);t[s.array]=`${i} ${a}`}(p,s,i,a,!1)}const oe=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),se=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);class ie extends Qt{getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){var n;return P.has(e)?(null===(0,wt.A)(e)||void 0===n?void 0:n.default)||0:(se.has(e)?e:oe(e),t.getAttribute(e))}measureInstanceViewportBox(){return(0,Yt.dO)()}scrapeMotionValuesFromProps(t){return function(t){const e=yt(t);for(const n in t)(0,T.i)(t[n])&&(e["x"===n||"y"===n?"attr"+n.toUpperCase():n]=t[n]);return e}(t)}build(t,e,n,r){re(t,e,n,r.transformTemplate)}renderInstance(t,e,n,r){!function(t,e,n,r){bt(t,e,void 0,r);for(const n in e.attrs)t.setAttribute(se.has(n)?n:oe(n),e.attrs[n])}(t,e,0,r)}}const ae=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","text","tspan","use","view"]})()})();
1
+ (()=>{"use strict";var t={9340:(t,e,n)=>{n.d(e,{K:()=>r,k:()=>o});var r=function(){},o=function(){}},2819:(t,e,n)=>{n.d(e,{C:()=>r});const r=t=>Array.isArray(t)},138:(t,e,n)=>{n.d(e,{b8:()=>Vt});var r=n(1818),o=n(9340),s=n(2634);const i=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function a(t,e,n,r){if(t===e&&n===r)return s.Z;const o=e=>function(t,e,n,r,o){let s,a,u=0;do{a=e+(n-e)/2,s=i(a,r,o)-t,s>0?n=a:e=a}while(Math.abs(s)>1e-7&&++u<12);return a}(e,0,1,t,n);return t=>0===t||1===t?t:i(o(t),e,r)}var u=n(5222),l=n(9273);const c=t=>t*t,d=(0,l.M)(c),p=(0,u.o)(c);var h=n(7110);const f=(t=1.525)=>e=>e*e*((t+1)*e-t),m=f(),v=(0,l.M)(m),g=(0,u.o)(m),y=(t=>{const e=f(t);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))})(),b={linear:s.Z,easeIn:c,easeInOut:p,easeOut:d,circIn:h.Z7,circInOut:h.X7,circOut:h.Bn,backIn:m,backInOut:g,backOut:v,anticipate:y},w=t=>{if(Array.isArray(t)){(0,o.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");const[e,n,r,s]=t;return a(e,n,r,s)}return"string"==typeof t?((0,o.k)(void 0!==b[t],`Invalid easing type '${t}'`),b[t]):t};var x=n(6002);const V=(t,e)=>"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!x.P.test(e)||e.startsWith("url(")));var A=n(2819);const C=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),S=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),M=()=>({type:"keyframes",ease:"linear",duration:.3}),P=t=>({type:"keyframes",duration:.8,values:t}),T={x:C,y:C,z:C,rotate:C,rotateX:C,rotateY:C,rotateZ:C,scaleX:S,scaleY:S,scale:S,opacity:M,backgroundColor:M,color:M,default:S},E=(t,e)=>{let n;return n=(0,A.C)(e)?P:T[t]||T.default,{to:e,...n(e)}};var k=n(6914);const O=!1;var F=n(7048),R=n(2866),$=n(7576),I=n(9043),j=n(5430),B=n(9012),D=n(3203),N=n(7493);function L(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}const Y=(t,e,n)=>{const r=t*t;return Math.sqrt(Math.max(0,n*(e*e-r)+r))},U=[B.$,D.m,N.J];function q(t){const e=(n=t,U.find((t=>t.test(n))));var n;(0,o.k)(Boolean(e),`'${t}' is not an animatable color. Use the equivalent color code instead.`);let r=e.parse(t);return e===N.J&&(r=function({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,n/=100;let o=0,s=0,i=0;if(e/=100){const r=n<.5?n*(1+e):n+e-n*e,a=2*n-r;o=L(a,r,t+1/3),s=L(a,r,t),i=L(a,r,t-1/3)}else o=s=i=n;return{red:Math.round(255*o),green:Math.round(255*s),blue:Math.round(255*i),alpha:r}}(r)),r}const z=(t,e)=>{const n=q(t),r=q(e),o={...n};return t=>(o.red=Y(n.red,r.red,t),o.green=Y(n.green,r.green,t),o.blue=Y(n.blue,r.blue,t),o.alpha=(0,j.C)(n.alpha,r.alpha,t),D.m.transform(o))};var W=n(9820);function Z(t,e){return"number"==typeof t?n=>(0,j.C)(t,e,n):$.$.test(t)?z(t,e):J(t,e)}const H=(t,e)=>{const n=[...t],r=n.length,o=t.map(((t,n)=>Z(t,e[n])));return t=>{for(let e=0;e<r;e++)n[e]=o[e](t);return n}},X=(t,e)=>{const n={...t,...e},r={};for(const o in n)void 0!==t[o]&&void 0!==e[o]&&(r[o]=Z(t[o],e[o]));return t=>{for(const e in r)n[e]=r[e](t);return n}};function K(t){const e=x.P.parse(t),n=e.length;let r=0,o=0;for(let t=0;t<n;t++)r||"number"==typeof e[t]?r++:o++;return{parsed:e,numNumbers:r,numColors:o}}const J=(t,e)=>{const n=x.P.createTransformer(e),r=K(t),s=K(e);return r.numColors===s.numColors&&r.numNumbers>=s.numNumbers?(0,W.z)(H(r.parsed,s.parsed),n):((0,o.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.`),n=>`${n>0?e:t}`)};var _=n(918);const Q=(t,e)=>n=>(0,j.C)(t,e,n);function G(t,e,n){const r=[],o=n||("number"==typeof(s=t[0])?Q:"string"==typeof s?$.$.test(s)?z:J:Array.isArray(s)?H:"object"==typeof s?X:Q);var s;const i=t.length-1;for(let n=0;n<i;n++){let s=o(t[n],t[n+1]);if(e){const t=Array.isArray(e)?e[n]:e;s=(0,W.z)(t,s)}r.push(s)}return r}function tt(t,e,{clamp:n=!0,ease:r,mixer:s}={}){const i=t.length;(0,o.k)(i===e.length,"Both input and output ranges must be the same length"),(0,o.k)(!r||!Array.isArray(r)||r.length===i-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),t[0]>t[i-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=G(e,r,s),u=a.length,l=e=>{let n=0;if(u>1)for(;n<t.length-2&&!(e<t[n+1]);n++);const r=(0,_.Y)(t[n],t[n+1],e);return a[n](r)};return n?e=>l((0,I.u)(t[0],t[i-1],e)):l}function et(t,e){return t.map((()=>e||p)).splice(0,t.length-1)}const nt=.001;function rt({duration:t=800,bounce:e=.25,velocity:n=0,mass:r=1}){let s,i;(0,o.K)(t<=1e4,"Spring duration must be 10 seconds or less");let a=1-e;a=(0,I.u)(.05,1,a),t=(0,I.u)(.01,10,t/1e3),a<1?(s=e=>{const r=e*a,o=r*t,s=r-n,i=ot(e,a),u=Math.exp(-o);return nt-s/i*u},i=e=>{const r=e*a*t,o=r*n+n,i=Math.pow(a,2)*Math.pow(e,2)*t,u=Math.exp(-r),l=ot(Math.pow(e,2),a);return(-s(e)+nt>0?-1:1)*((o-i)*u)/l}):(s=e=>Math.exp(-e*t)*((e-n)*t+1)-.001,i=e=>Math.exp(-e*t)*(t*t*(n-e)));const u=function(t,e,n){let r=n;for(let n=1;n<12;n++)r-=t(r)/e(r);return r}(s,i,5/t);if(t*=1e3,isNaN(u))return{stiffness:100,damping:10,duration:t};{const e=Math.pow(u,2)*r;return{stiffness:e,damping:2*a*Math.sqrt(r*e),duration:t}}}function ot(t,e){return t*Math.sqrt(1-e*e)}const st=["duration","bounce"],it=["stiffness","damping","mass"];function at(t,e){return e.some((e=>void 0!==t[e]))}function ut({from:t=0,to:e=1,restSpeed:n=2,restDelta:r=.01,...o}){const s={done:!1,value:t};let{stiffness:i,damping:a,mass:u,velocity:l,duration:c,isResolvedFromDuration:d}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!at(t,it)&&at(t,st)){const n=rt(t);e={...e,...n,velocity:0,mass:1},e.isResolvedFromDuration=!0}return e}(o),p=lt,h=lt;function f(){const n=l?-l/1e3:0,o=e-t,s=a/(2*Math.sqrt(i*u)),c=Math.sqrt(i/u)/1e3;if(void 0===r&&(r=Math.min(Math.abs(e-t)/100,.4)),s<1){const t=ot(c,s);p=r=>{const i=Math.exp(-s*c*r);return e-i*((n+s*c*o)/t*Math.sin(t*r)+o*Math.cos(t*r))},h=e=>{const r=Math.exp(-s*c*e);return s*c*r*(Math.sin(t*e)*(n+s*c*o)/t+o*Math.cos(t*e))-r*(Math.cos(t*e)*(n+s*c*o)-t*o*Math.sin(t*e))}}else if(1===s)p=t=>e-Math.exp(-c*t)*(o+(n+c*o)*t);else{const t=c*Math.sqrt(s*s-1);p=r=>{const i=Math.exp(-s*c*r),a=Math.min(t*r,300);return e-i*((n+s*c*o)*Math.sinh(a)+t*o*Math.cosh(a))/t}}}return f(),{next:t=>{const o=p(t);if(d)s.done=t>=c;else{const i=1e3*h(t),a=Math.abs(i)<=n,u=Math.abs(e-o)<=r;s.done=a&&u}return s.value=s.done?e:o,s},flipTarget:()=>{l=-l,[t,e]=[e,t],f()}}}ut.needsInterpolation=(t,e)=>"string"==typeof t||"string"==typeof e;const lt=t=>0;var ct=n(6162);const dt={decay:function({velocity:t=0,from:e=0,power:n=.8,timeConstant:r=350,restDelta:o=.5,modifyTarget:s}){const i={done:!1,value:e};let a=n*t;const u=e+a,l=void 0===s?u:s(u);return l!==u&&(a=l-e),{next:t=>{const e=-a*Math.exp(-t/r);return i.done=!(e>o||e<-o),i.value=i.done?l:l+e,i},flipTarget:()=>{}}},keyframes:function({from:t=0,to:e=1,ease:n,offset:r,duration:o=300}){const s={done:!1,value:t},i=Array.isArray(e)?e:[t,e],a=function(t,e){return t.map((t=>t*e))}(r&&r.length===i.length?r:function(t){const e=t.length;return t.map(((t,n)=>0!==n?n/(e-1):0))}(i),o);function u(){return tt(a,i,{ease:Array.isArray(n)?n:et(i,n)})}let l=u();return{next:t=>(s.value=l(t),s.done=t>=o,s),flipTarget:()=>{i.reverse(),l=u()}}},spring:ut};function pt(t,e,n=0){return t-e-n}const ht=t=>{const e=({delta:e})=>t(e);return{start:()=>ct.ZP.update(e,!0),stop:()=>ct.qY.update(e)}};function ft({from:t,autoplay:e=!0,driver:n=ht,elapsed:r=0,repeat:o=0,repeatType:s="loop",repeatDelay:i=0,onPlay:a,onStop:u,onComplete:l,onRepeat:c,onUpdate:d,type:p="keyframes",...h}){var f,m;let v,g,y,{to:b}=h,w=0,x=h.duration,V=!1,A=!0;const C=dt[Array.isArray(b)?"keyframes":p];(null===(m=(f=C).needsInterpolation)||void 0===m?void 0:m.call(f,t,b))&&(y=tt([0,100],[t,b],{clamp:!1}),t=0,b=100);const S=C({...h,from:t,to:b});function M(){w++,"reverse"===s?(A=w%2==0,r=function(t,e=0,n=0,r=!0){return r?pt(e+-t,e,n):e-(t-e)+n}(r,x,i,A)):(r=pt(r,x,i),"mirror"===s&&S.flipTarget()),V=!1,c&&c()}function P(t){if(A||(t=-t),r+=t,!V){const t=S.next(Math.max(0,r));g=t.value,y&&(g=y(g)),V=A?t.done:r<=0}null==d||d(g),V&&(0===w&&(null!=x||(x=r)),w<o?function(t,e,n,r){return r?t>=e+n:t<=-n}(r,x,i,A)&&M():(v.stop(),l&&l()))}return e&&(null==a||a(),v=n(P),v.start()),{stop:()=>{null==u||u(),v.stop()}}}var mt=n(432);function vt({ease:t,times:e,...n}){const o={...n};return e&&(o.offset=e),n.duration&&(o.duration=(0,r.w)(n.duration)),n.repeatDelay&&(o.repeatDelay=(0,r.w)(n.repeatDelay)),t&&(o.ease=(t=>Array.isArray(t)&&"number"!=typeof t[0])(t)?t.map(w):w(t)),"tween"===n.type&&(o.type="keyframes"),"spring"!==n.type&&(o.type="keyframes"),o}function gt(t,e,n){return Array.isArray(e.to)&&void 0===t.duration&&(t.duration=.8),function(t){Array.isArray(t.to)&&null===t.to[0]&&(t.to=[...t.to],t.to[0]=t.from)}(e),function({when:t,delay:e,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:s,repeatType:i,repeatDelay:a,from:u,...l}){return!!Object.keys(l).length}(t)||(t={...t,...E(n,e.to)}),{...e,...vt(t)}}function yt(t,e,n,r,s){const i=xt(r,t)||{};let a=void 0!==i.from?i.from:e.get();const u=V(t,n);"none"===a&&u&&"string"==typeof n?a=(0,k.T)(t,n):bt(a)&&"string"==typeof n?a=wt(n):!Array.isArray(n)&&bt(n)&&"string"==typeof a&&(n=wt(a));const l=V(t,a);return(0,o.K)(l===u,`You are trying to animate ${t} from "${a}" to "${n}". ${a} is not an animatable value - to enable this animation set ${a} to a value animatable to ${n} via the \`style\` property.`),l&&u&&!1!==i.type?function(){const r={from:a,to:n,velocity:e.getVelocity(),onComplete:s,onUpdate:t=>e.set(t)};return"inertia"===i.type||"decay"===i.type?function({from:t=0,velocity:e=0,min:n,max:r,power:o=.8,timeConstant:s=750,bounceStiffness:i=500,bounceDamping:a=10,restDelta:u=1,modifyTarget:l,driver:c,onUpdate:d,onComplete:p,onStop:h}){let f;function m(t){return void 0!==n&&t<n||void 0!==r&&t>r}function v(t){return void 0===n?r:void 0===r||Math.abs(n-t)<Math.abs(r-t)?n:r}function g(t){null==f||f.stop(),f=ft({...t,driver:c,onUpdate:e=>{var n;null==d||d(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:p,onStop:h})}function y(t){g({type:"spring",stiffness:i,damping:a,restDelta:u,...t})}if(m(t))y({from:t,velocity:e,to:v(t)});else{let r=o*e+t;void 0!==l&&(r=l(r));const i=v(r),a=i===n?-1:1;let c,d;const p=t=>{c=d,d=t,e=(0,mt.R)(t-c,(0,ct.$B)().delta),(1===a&&t>i||-1===a&&t<i)&&y({from:t,to:i,velocity:e})};g({type:"decay",from:t,velocity:e,timeConstant:s,power:o,restDelta:u,modifyTarget:l,onUpdate:m(r)?p:void 0})}return{stop:()=>null==f?void 0:f.stop()}}({...r,...i}):ft({...gt(i,r,t),onUpdate:t=>{r.onUpdate(t),i.onUpdate&&i.onUpdate(t)},onComplete:()=>{r.onComplete(),i.onComplete&&i.onComplete()}})}:function(){const t=(0,F.Y)(n);return e.set(t),s(),i.onUpdate&&i.onUpdate(t),i.onComplete&&i.onComplete(),{stop:()=>{}}}}function bt(t){return 0===t||"string"==typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function wt(t){return"number"==typeof t?0:(0,k.T)("",t)}function xt(t,e){return t[e]||t.default||t}function Vt(t,e,n,o={}){return O&&(o={type:!1}),e.start((s=>{let i;const a=yt(t,e,n,o,s),u=function(t,e){var n,r;return null!==(r=null!==(n=(xt(t,e)||{}).delay)&&void 0!==n?n:t.delay)&&void 0!==r?r:0}(o,t),l=()=>i=a();let c;return u?c=(0,R.g)(l,(0,r.w)(u)):l(),()=>{c&&c(),i&&i.stop()}}))}},1930:(t,e,n)=>{n.d(e,{oO:()=>s});var r=n(8370),o=n(7866);function s(){const t=(0,r.useContext)(o.O);if(null===t)return[!0,null];const{isPresent:e,onExitComplete:n,register:s}=t,i=(0,r.useId)();(0,r.useEffect)((()=>s(i)),[]);return!e&&n?[!1,()=>n&&n(i)]:[!0]}},7866:(t,e,n)=>{n.d(e,{O:()=>o});var r=n(8370);const o=(0,r.createContext)(null)},7110:(t,e,n)=>{n.d(e,{Bn:()=>i,X7:()=>a,Z7:()=>s});var r=n(5222),o=n(9273);const s=t=>1-Math.sin(Math.acos(t)),i=(0,o.M)(s),a=(0,r.o)(i)},5222:(t,e,n)=>{n.d(e,{o:()=>r});const r=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},9273:(t,e,n)=>{n.d(e,{M:()=>r});const r=t=>e=>1-t(1-e)},409:(t,e,n)=>{n.d(e,{qT:()=>u});var r=n(3541);const o={pageX:0,pageY:0};function s(t,e="page"){const n=t.touches[0]||t.changedTouches[0]||o;return{x:n[e+"X"],y:n[e+"Y"]}}function i(t,e="page"){return{x:t[e+"X"],y:t[e+"Y"]}}function a(t,e="page"){return{point:(0,r.z)(t)?s(t,e):i(t,e)}}const u=(t,e=!1)=>{const n=e=>t(e,a(e));return e?(r=n,t=>{const e=t instanceof MouseEvent;(!e||e&&0===t.button)&&r(t)}):n;var r}},1876:(t,e,n)=>{n.d(e,{E:()=>o,p:()=>s});var r=n(8370);function o(t,e,n,r={passive:!0}){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n)}function s(t,e,n,s){(0,r.useEffect)((()=>{const r=t.current;if(n&&r)return o(r,e,n,s)}),[t,e,n,s])}},1395:(t,e,n)=>{n.d(e,{a:()=>l,m:()=>c});var r=n(1876),o=n(409),s=n(3093);const i={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},a={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function u(t){return s.j&&null===window.onpointerdown?t:s.j&&null===window.ontouchstart?a[t]:s.j&&null===window.onmousedown?i[t]:t}function l(t,e,n,s){return(0,r.E)(t,u(e),(0,o.qT)(n,"pointerdown"===e),s)}function c(t,e,n,s){return(0,r.p)(t,u(e),n&&(0,o.qT)(n,"pointerdown"===e),s)}},5856:(t,e,n)=>{function r(t){let e=null;return()=>{const n=()=>{e=null};return null===e&&(e=t,n)}}n.d(e,{gD:()=>i});const o=r("dragHorizontal"),s=r("dragVertical");function i(){const t=function(t){let e=!1;if("y"===t)e=s();else if("x"===t)e=o();else{const t=o(),n=s();t&&n?e=()=>{t(),n()}:(t&&t(),n&&n())}return e}(!0);return!t||(t(),!1)}},3541:(t,e,n)=>{function r(t){return"undefined"!=typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent}function o(t){return!!t.touches}n.d(e,{N:()=>r,z:()=>o})},6295:(t,e,n)=>{n.d(e,{x:()=>r});const r=t=>e=>(t(e),null)},483:(t,e,n)=>{function r({top:t,left:e,right:n,bottom:r}){return{x:{min:e,max:n},y:{min:t,max:r}}}function o(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}n.d(e,{d7:()=>o,i8:()=>r})},1397:(t,e,n)=>{n.d(e,{dO:()=>r});const r=()=>({x:{min:0,max:0},y:{min:0,max:0}})},798:(t,e,n)=>{n.d(e,{P:()=>r});const r={}},8834:(t,e,n)=>{n.d(e,{J:()=>o});var r=n(483);function o(t,e){return(0,r.i8)((0,r.d7)(t.getBoundingClientRect(),e))}},6978:(t,e,n)=>{n.d(e,{mH:()=>a});var r=n(9340);function o(t){return"string"==typeof t&&t.startsWith("var(--")}const s=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function i(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.`);const[a,u]=function(t){const e=s.exec(t);if(!e)return[,];const[,n,r]=e;return[n,r]}(t);if(!a)return;const l=window.getComputedStyle(e).getPropertyValue(a);return l?l.trim():o(u)?i(u,e,n+1):u}function a(t,{...e},n){const r=t.current;if(!(r instanceof Element))return{target:e,transitionEnd:n};n&&(n={...n}),t.values.forEach((t=>{const e=t.get();if(!o(e))return;const n=i(e,r);n&&t.set(n)}));for(const t in e){const s=e[t];if(!o(s))continue;const a=i(s,r);a&&(e[t]=a,n&&void 0===n[t]&&(n[t]=s))}return{target:e,transitionEnd:n}}},6914:(t,e,n)=>{n.d(e,{T:()=>i});var r=n(9500),o=n(6002),s=n(7557);function i(t,e){var n;let i=(0,s.A)(t);return i!==r.h&&(i=o.P),null===(n=i.getAnimatableNone)||void 0===n?void 0:n.call(i,e)}},7557:(t,e,n)=>{n.d(e,{A:()=>i});var r=n(7576),o=n(9500);const s={...n(4923).j,color:r.$,backgroundColor:r.$,outlineColor:r.$,fill:r.$,stroke:r.$,borderColor:r.$,borderTopColor:r.$,borderRightColor:r.$,borderBottomColor:r.$,borderLeftColor:r.$,filter:o.h,WebkitFilter:o.h},i=t=>s[t]},4923:(t,e,n)=>{n.d(e,{j:()=>i});var r=n(155),o=n(1513),s=n(6933);const i={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:o.bA,scaleX:o.bA,scaleY:o.bA,scaleZ:o.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:o.Fq,originX:r.$C,originY:r.$C,originZ:r.px,zIndex:s.e,fillOpacity:o.Fq,strokeOpacity:o.Fq,numOctaves:s.e}},6933:(t,e,n)=>{n.d(e,{e:()=>r});const r={...n(1513).Rx,transform:Math.round}},7921:(t,e,n)=>{var r;n.d(e,{r:()=>r}),function(t){t.Animate="animate",t.Hover="whileHover",t.Tap="whileTap",t.Drag="whileDrag",t.Focus="whileFocus",t.InView="whileInView",t.Exit="exit"}(r||(r={}))},1180:(t,e,n)=>{function r(t,e){-1===t.indexOf(e)&&t.push(e)}function o(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}n.d(e,{cl:()=>o,y4:()=>r})},9043:(t,e,n)=>{n.d(e,{u:()=>r});const r=(t,e,n)=>Math.min(Math.max(n,t),e)},2866:(t,e,n)=>{n.d(e,{g:()=>o});var r=n(6162);function o(t,e){const n=performance.now(),o=({timestamp:s})=>{const i=s-n;i>=e&&(r.qY.read(o),t(i-e))};return r.ZP.read(o,!0),()=>r.qY.read(o)}},3093:(t,e,n)=>{n.d(e,{j:()=>r});const r="undefined"!=typeof document},3491:(t,e,n)=>{function r(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}n.d(e,{I:()=>r})},5430:(t,e,n)=>{n.d(e,{C:()=>r});const r=(t,e,n)=>-n*t+n*e+t},2634:(t,e,n)=>{n.d(e,{Z:()=>r});const r=t=>t},9820:(t,e,n)=>{n.d(e,{z:()=>o});const r=(t,e)=>n=>e(t(n)),o=(...t)=>t.reduce(r)},918:(t,e,n)=>{n.d(e,{Y:()=>r});const r=(t,e,n)=>{const r=e-t;return 0===r?1:(n-t)/r}},7048:(t,e,n)=>{n.d(e,{Y:()=>o});var r=n(2819);const o=t=>(0,r.C)(t)?t[t.length-1]||0:t},1065:(t,e,n)=>{n.d(e,{L:()=>o});var r=n(1180);class o{constructor(){this.subscriptions=[]}add(t){return(0,r.y4)(this.subscriptions,t),()=>(0,r.cl)(this.subscriptions,t)}notify(t,e,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,n);else for(let o=0;o<r;o++){const r=this.subscriptions[o];r&&r(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},1818:(t,e,n)=>{n.d(e,{w:()=>r});const r=t=>1e3*t},9531:(t,e,n)=>{n.d(e,{z:()=>o});var r=n(8370);function o(t){return(0,r.useEffect)((()=>()=>t()),[])}},432:(t,e,n)=>{function r(t,e){return e?t*(1e3/e):0}n.d(e,{R:()=>r})},1421:(t,e,n)=>{n.d(e,{B:()=>a});var r=n(6162),o=n(1065),s=n(432);class i{constructor(t){var e;this.version="__VERSION__",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new o.L,this.velocityUpdateSubscribers=new o.L,this.renderSubscribers=new o.L,this.canTrackVelocity=!1,this.updateAndNotify=(t,e=!0)=>{this.prev=this.current,this.current=t;const{delta:n,timestamp:o}=(0,r.$B)();this.lastUpdated!==o&&(this.timeDelta=n,this.lastUpdated=o,r.ZP.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.updateSubscribers.notify(this.current),this.velocityUpdateSubscribers.getSize()&&this.velocityUpdateSubscribers.notify(this.getVelocity()),e&&this.renderSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>r.ZP.postRender(this.velocityCheck),this.velocityCheck=({timestamp:t})=>{t!==this.lastUpdated&&(this.prev=this.current,this.velocityUpdateSubscribers.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e)))}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}onRenderRequest(t){return t(this.get()),this.renderSubscribers.add(t)}attach(t){this.passiveEffect=t}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,s.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise((e=>{this.hasAnimated=!0,this.stopAnimation=t(e)})).then((()=>this.clearAnimation()))}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()}}function a(t){return new i(t)}},7846:(t,e,n)=>{n.d(e,{i:()=>r});const r=t=>!!(null==t?void 0:t.getVelocity)},8370:t=>{t.exports=void 0},6162:(t,e,n)=>{n.d(e,{qY:()=>h,ZP:()=>y,$B:()=>g});const r=1/60*1e3,o="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),s="undefined"!=typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout((()=>t(o())),r);let i=!0,a=!1,u=!1;const l={delta:0,timestamp:0},c=["read","update","preRender","render","postRender"],d=c.reduce(((t,e)=>(t[e]=function(t){let e=[],n=[],r=0,o=!1,s=!1;const i=new WeakSet,a={schedule:(t,s=!1,a=!1)=>{const u=a&&o,l=u?e:n;return s&&i.add(t),-1===l.indexOf(t)&&(l.push(t),u&&o&&(r=e.length)),t},cancel:t=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1),i.delete(t)},process:u=>{if(o)s=!0;else{if(o=!0,[e,n]=[n,e],n.length=0,r=e.length,r)for(let n=0;n<r;n++){const r=e[n];r(u),i.has(r)&&(a.schedule(r),t())}o=!1,s&&(s=!1,a.process(u))}}};return a}((()=>a=!0)),t)),{}),p=c.reduce(((t,e)=>{const n=d[e];return t[e]=(t,e=!1,r=!1)=>(a||v(),n.schedule(t,e,r)),t}),{}),h=c.reduce(((t,e)=>(t[e]=d[e].cancel,t)),{}),f=(c.reduce(((t,e)=>(t[e]=()=>d[e].process(l),t)),{}),t=>d[t].process(l)),m=t=>{a=!1,l.delta=i?r:Math.max(Math.min(t-l.timestamp,40),1),l.timestamp=t,u=!0,c.forEach(f),u=!1,a&&(i=!1,s(m))},v=()=>{a=!0,i=!0,u||s(m)},g=()=>l,y=p},9012:(t,e,n)=>{n.d(e,{$:()=>o});var r=n(3203);const o={test:(0,n(1552).i)("#"),parse:function(t){let e="",n="",r="",o="";return t.length>5?(e=t.substr(1,2),n=t.substr(3,2),r=t.substr(5,2),o=t.substr(7,2)):(e=t.substr(1,1),n=t.substr(2,1),r=t.substr(3,1),o=t.substr(4,1),e+=e,n+=n,r+=r,o+=o),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:r.m.transform}},7493:(t,e,n)=>{n.d(e,{J:()=>a});var r=n(1513),o=n(155),s=n(5757),i=n(1552);const a={test:(0,i.i)("hsl","hue"),parse:(0,i.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+o.aQ.transform((0,s.Nw)(e))+", "+o.aQ.transform((0,s.Nw)(n))+", "+(0,s.Nw)(r.Fq.transform(i))+")"}},7576:(t,e,n)=>{n.d(e,{$:()=>a});var r=n(5757),o=n(9012),s=n(7493),i=n(3203);const a={test:t=>i.m.test(t)||o.$.test(t)||s.J.test(t),parse:t=>i.m.test(t)?i.m.parse(t):s.J.test(t)?s.J.parse(t):o.$.parse(t),transform:t=>(0,r.HD)(t)?t:t.hasOwnProperty("red")?i.m.transform(t):s.J.transform(t)}},3203:(t,e,n)=>{n.d(e,{m:()=>u});var r=n(1513),o=n(5757),s=n(1552);const i=(0,o.uZ)(0,255),a=Object.assign(Object.assign({},r.Rx),{transform:t=>Math.round(i(t))}),u={test:(0,s.i)("rgb","red"),parse:(0,s.d)("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:s=1})=>"rgba("+a.transform(t)+", "+a.transform(e)+", "+a.transform(n)+", "+(0,o.Nw)(r.Fq.transform(s))+")"}},1552:(t,e,n)=>{n.d(e,{d:()=>s,i:()=>o});var r=n(5757);const o=(t,e)=>n=>Boolean((0,r.HD)(n)&&r.mj.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),s=(t,e,n)=>o=>{if(!(0,r.HD)(o))return o;const[s,i,a,u]=o.match(r.KP);return{[t]:parseFloat(s),[e]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==u?parseFloat(u):1}}},9500:(t,e,n)=>{n.d(e,{h:()=>u});var r=n(6002),o=n(5757);const s=new Set(["brightness","contrast","saturate","opacity"]);function i(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[r]=n.match(o.KP)||[];if(!r)return t;const i=n.replace(r,"");let a=s.has(e)?1:0;return r!==n&&(a*=100),e+"("+a+i+")"}const a=/([a-z-]*)\(.*?\)/g,u=Object.assign(Object.assign({},r.P),{getAnimatableNone:t=>{const e=t.match(a);return e?e.map(i).join(" "):t}})},6002:(t,e,n)=>{n.d(e,{P:()=>p});var r=n(7576),o=n(1513),s=n(5757);const i="${c}",a="${n}";function u(t){"number"==typeof t&&(t=`${t}`);const e=[];let n=0;const u=t.match(s.dA);u&&(n=u.length,t=t.replace(s.dA,i),e.push(...u.map(r.$.parse)));const l=t.match(s.KP);return l&&(t=t.replace(s.KP,a),e.push(...l.map(o.Rx.parse))),{values:e,numColors:n,tokenised:t}}function l(t){return u(t).values}function c(t){const{values:e,numColors:n,tokenised:o}=u(t),l=e.length;return t=>{let e=o;for(let o=0;o<l;o++)e=e.replace(o<n?i:a,o<n?r.$.transform(t[o]):(0,s.Nw)(t[o]));return e}}const d=t=>"number"==typeof t?0:t;const p={test:function(t){var e,n,r,o;return isNaN(t)&&(0,s.HD)(t)&&(null!==(n=null===(e=t.match(s.KP))||void 0===e?void 0:e.length)&&void 0!==n?n:0)+(null!==(o=null===(r=t.match(s.dA))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:l,createTransformer:c,getAnimatableNone:function(t){const e=l(t);return c(t)(e.map(d))}}},1513:(t,e,n)=>{n.d(e,{Fq:()=>s,Rx:()=>o,bA:()=>i});var r=n(5757);const o={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s=Object.assign(Object.assign({},o),{transform:(0,r.uZ)(0,1)}),i=Object.assign(Object.assign({},o),{default:1})},155:(t,e,n)=>{n.d(e,{$C:()=>c,RW:()=>s,aQ:()=>i,px:()=>a,vh:()=>u,vw:()=>l});var r=n(5757);const o=t=>({test:e=>(0,r.HD)(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),s=o("deg"),i=o("%"),a=o("px"),u=o("vh"),l=o("vw"),c=Object.assign(Object.assign({},i),{parse:t=>i.parse(t)/100,transform:t=>i.transform(100*t)})},5757:(t,e,n)=>{n.d(e,{HD:()=>u,KP:()=>s,Nw:()=>o,dA:()=>i,mj:()=>a,uZ:()=>r});const r=(t,e)=>n=>Math.max(Math.min(n,e),t),o=t=>t%1?Number(t.toFixed(5)):t,s=/(-)?([\d]*\.?[\d])+/g,i=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,a=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function u(t){return"string"==typeof t}}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var s=e[r]={exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t=n(8370);function e(t){return"object"==typeof t&&"function"==typeof t.start}var r=n(1930),o=n(7866),s=n(2819);function i(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}var a=n(138),u=n(6002);const l=t=>/^0[^.\s]+$/.test(t);var c=n(7048),d=n(1421),p=n(6914),h=n(7576),f=n(1513),m=n(155);const v=t=>e=>e.test(t),g=[f.Rx,m.px,m.aQ,m.RW,m.vw,m.vh,{test:t=>"auto"===t,parse:t=>t}],y=t=>g.find(v(t)),b=[...g,h.$,u.P],w=t=>b.find(v(t));function x(t,e,n,r={},o={}){return"function"==typeof e&&(e=e(void 0!==n?n:t.custom,r,o)),"string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e&&(e=e(void 0!==n?n:t.custom,r,o)),e}function V(t,e,n){const r=t.getProps();return x(r,e,void 0!==n?n:r.custom,function(t){const e={};return t.values.forEach(((t,n)=>e[n]=t.get())),e}(t),function(t){const e={};return t.values.forEach(((t,n)=>e[n]=t.getVelocity())),e}(t))}function A(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,(0,d.B)(n))}function C(t,e){const n=V(t,e);let{transitionEnd:r={},transition:o={},...s}=n?t.makeTargetAnimatable(n,!1):{};s={...s,...r};for(const e in s){A(t,e,(0,c.Y)(s[e]))}}function S(t,e){if(!e)return;return(e[t]||e.default||e).from}const M=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],P=new Set(M);var T=n(7846);function E(t){return Boolean((0,T.i)(t)&&t.add)}function k(t,e,n={}){var r;const o=V(t,e,n.custom);let{transition:s=t.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(s=n.transitionOverride);const i=o?()=>O(t,o,n):()=>Promise.resolve(),a=(null===(r=t.variantChildren)||void 0===r?void 0:r.size)?(r=0)=>{const{delayChildren:o=0,staggerChildren:i,staggerDirection:a}=s;return function(t,e,n=0,r=0,o=1,s){const i=[],a=(t.variantChildren.size-1)*r,u=1===o?(t=0)=>t*r:(t=0)=>a-t*r;return Array.from(t.variantChildren).sort(F).forEach(((t,r)=>{i.push(k(t,e,{...s,delay:n+u(r)}).then((()=>t.notify("AnimationComplete",e))))})),Promise.all(i)}(t,e,o+r,i,a,n)}:()=>Promise.resolve(),{when:u}=s;if(u){const[t,e]="beforeChildren"===u?[i,a]:[a,i];return t().then(e)}return Promise.all([i(),a(n.delay)])}function O(t,e,{delay:n=0,transitionOverride:r,type:o}={}){var s;let{transition:i=t.getDefaultTransition(),transitionEnd:u,...l}=t.makeTargetAnimatable(e);const c=t.getValue("willChange");r&&(i=r);const d=[],p=o&&(null===(s=t.animationState)||void 0===s?void 0:s.getState()[o]);for(const e in l){const r=t.getValue(e),o=l[e];if(!r||void 0===o||p&&R(p,e))continue;let s={delay:n,...i};t.shouldReduceMotion&&P.has(e)&&(s={...s,type:!1,delay:0});let u=(0,a.b8)(e,r,o,s);E(c)&&(c.add(e),u=u.then((()=>c.remove(e)))),d.push(u)}return Promise.all(d).then((()=>{u&&C(t,u)}))}function F(t,e){return t.sortNodePosition(e)}function R({protectedKeys:t,needsAnimating:e},n){const r=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,r}function $(t){return"string"==typeof t||Array.isArray(t)}var I=n(7921);const j=[I.r.Animate,I.r.InView,I.r.Focus,I.r.Hover,I.r.Tap,I.r.Drag,I.r.Exit],B=[...j].reverse(),D=j.length;function N(t){return e=>Promise.all(e.map((({animation:e,options:n})=>function(t,e,n={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e)){const o=e.map((e=>k(t,e,n)));r=Promise.all(o)}else if("string"==typeof e)r=k(t,e,n);else{const o="function"==typeof e?V(t,e,n.custom):e;r=O(t,o,n)}return r.then((()=>t.notify("AnimationComplete",e)))}(t,e,n))))}function L(t){let n=N(t);const r={[I.r.Animate]:U(!0),[I.r.InView]:U(),[I.r.Hover]:U(),[I.r.Tap]:U(),[I.r.Drag]:U(),[I.r.Focus]:U(),[I.r.Exit]:U()};let o=!0;const a=(e,n)=>{const r=V(t,n);if(r){const{transition:t,transitionEnd:n,...o}=r;e={...e,...o,...n}}return e};function u(u,l){var c;const d=t.getProps(),p=t.getVariantContext(!0)||{},h=[],f=new Set;let m={},v=1/0;for(let n=0;n<D;n++){const g=B[n],y=r[g],b=null!==(c=d[g])&&void 0!==c?c:p[g],w=$(b),x=g===l?y.isActive:null;!1===x&&(v=n);let V=b===p[g]&&b!==d[g]&&w;if(V&&o&&t.manuallyAnimateOnMount&&(V=!1),y.protectedKeys={...m},!y.isActive&&null===x||!b&&!y.prevProp||e(b)||"boolean"==typeof b)continue;const A=Y(y.prevProp,b);let C=A||g===l&&y.isActive&&!V&&w||n>v&&w;const S=Array.isArray(b)?b:[b];let M=S.reduce(a,{});!1===x&&(M={});const{prevResolvedValues:P={}}=y,T={...P,...M},E=t=>{C=!0,f.delete(t),y.needsAnimating[t]=!0};for(const t in T){const e=M[t],n=P[t];m.hasOwnProperty(t)||(e!==n?(0,s.C)(e)&&(0,s.C)(n)?!i(e,n)||A?E(t):y.protectedKeys[t]=!0:void 0!==e?E(t):f.add(t):void 0!==e&&f.has(t)?E(t):y.protectedKeys[t]=!0)}y.prevProp=b,y.prevResolvedValues=M,y.isActive&&(m={...m,...M}),o&&t.blockInitialAnimation&&(C=!1),C&&!V&&h.push(...S.map((t=>({animation:t,options:{type:g,...u}}))))}if(f.size){const e={};f.forEach((n=>{const r=t.getBaseTarget(n);void 0!==r&&(e[n]=r)})),h.push({animation:e})}let g=Boolean(h.length);return o&&!1===d.initial&&!t.manuallyAnimateOnMount&&(g=!1),o=!1,g?n(h):Promise.resolve()}return{animateChanges:u,setActive:function(e,n,o){var s;if(r[e].isActive===n)return Promise.resolve();null===(s=t.variantChildren)||void 0===s||s.forEach((t=>{var r;return null===(r=t.animationState)||void 0===r?void 0:r.setActive(e,n)})),r[e].isActive=n;const i=u(o,e);for(const t in r)r[t].protectedKeys={};return i},setAnimateFunction:function(e){n=e(t)},getState:()=>r}}function Y(t,e){return"string"==typeof e?e!==t:!!Array.isArray(e)&&!i(e,t)}function U(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var q=n(6295);const z={animation:(0,q.x)((({visualElement:n,animate:r})=>{n.animationState||(n.animationState=L(n)),e(r)&&(0,t.useEffect)((()=>r.subscribe(n)),[r])})),exit:(0,q.x)((e=>{const{custom:n,visualElement:s}=e,[i,a]=(0,r.oO)(),u=(0,t.useContext)(o.O);(0,t.useEffect)((()=>{s.isPresent=i;const t=s.animationState&&s.animationState.setActive(I.r.Exit,!i,{custom:u&&u.custom||n});t&&!i&&t.then(a)}),[i])}))};var W=n(1876);var Z=n(3541),H=n(1395),X=n(5856);function K(t,e,n){return(r,o)=>{(0,Z.N)(r)&&!(0,X.gD)()&&(t.animationState&&t.animationState.setActive(I.r.Hover,e),n&&n(r,o))}}const J=(t,e)=>!!e&&(t===e||J(t,e.parentElement));var _=n(9531),Q=n(9820);const G=("undefined"==typeof process||process.env,"production"),tt=new Set;const et=new WeakMap,nt=new WeakMap,rt=t=>{const e=et.get(t.target);e&&e(t)},ot=t=>{t.forEach(rt)};function st(t,e,n){const r=function({root:t,...e}){const n=t||document;nt.has(n)||nt.set(n,{});const r=nt.get(n),o=JSON.stringify(e);return r[o]||(r[o]=new IntersectionObserver(ot,{root:t,...e})),r[o]}(e);return et.set(t,n),r.observe(t),()=>{et.delete(t),r.unobserve(t)}}const it={some:0,all:1};function at(e,n,r,{root:o,margin:s,amount:i="some",once:a}){(0,t.useEffect)((()=>{if(!e||!r.current)return;const t={root:null==o?void 0:o.current,rootMargin:s,threshold:"number"==typeof i?i:it[i]};return st(r.current,t,(t=>{const{isIntersecting:e}=t;if(n.isInView===e)return;if(n.isInView=e,a&&!e&&n.hasEnteredView)return;e&&(n.hasEnteredView=!0),r.animationState&&r.animationState.setActive(I.r.InView,e);const o=r.getProps(),s=e?o.onViewportEnter:o.onViewportLeave;s&&s(t)}))}),[e,o,s,i])}function ut(e,n,r,{fallback:o=!0}){(0,t.useEffect)((()=>{var t,s;e&&o&&("production"!==G&&(t="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",!1||tt.has(t)||(console.warn(t),s&&console.warn(s),tt.add(t))),requestAnimationFrame((()=>{n.hasEnteredView=!0;const{onViewportEnter:t}=r.getProps();t&&t(null),r.animationState&&r.animationState.setActive(I.r.InView,!0)})))}),[e])}const lt={inView:(0,q.x)((function({visualElement:e,whileInView:n,onViewportEnter:r,onViewportLeave:o,viewport:s={}}){const i=(0,t.useRef)({hasEnteredView:!1,isInView:!1});let a=Boolean(n||r||o);s.once&&i.current.hasEnteredView&&(a=!1),("undefined"==typeof IntersectionObserver?ut:at)(a,i.current,e,s)})),tap:(0,q.x)((function({onTap:e,onTapStart:n,onTapCancel:r,whileTap:o,visualElement:s}){const i=e||n||r||o,a=(0,t.useRef)(!1),u=(0,t.useRef)(null),l={passive:!(n||e||r||f)};function c(){u.current&&u.current(),u.current=null}function d(){return c(),a.current=!1,s.animationState&&s.animationState.setActive(I.r.Tap,!1),!(0,X.gD)()}function p(t,n){d()&&(J(s.current,t.target)?e&&e(t,n):r&&r(t,n))}function h(t,e){d()&&r&&r(t,e)}function f(t,e){c(),a.current||(a.current=!0,u.current=(0,Q.z)((0,H.a)(window,"pointerup",p,l),(0,H.a)(window,"pointercancel",h,l)),s.animationState&&s.animationState.setActive(I.r.Tap,!0),n&&n(t,e))}(0,H.m)(s,"pointerdown",i?f:void 0,l),(0,_.z)(c)})),focus:(0,q.x)((function({whileFocus:t,visualElement:e}){const{animationState:n}=e;(0,W.p)(e,"focus",t?()=>{n&&n.setActive(I.r.Focus,!0)}:void 0),(0,W.p)(e,"blur",t?()=>{n&&n.setActive(I.r.Focus,!1)}:void 0)})),hover:(0,q.x)((function({onHoverStart:t,onHoverEnd:e,whileHover:n,visualElement:r}){(0,H.m)(r,"pointerenter",t||n?K(r,!0,t):void 0,{passive:!t}),(0,H.m)(r,"pointerleave",e||n?K(r,!1,e):void 0,{passive:!e})}))},ct={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},dt=(t,e)=>M.indexOf(t)-M.indexOf(e);function pt(t){return t.startsWith("--")}const ht=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var ft=n(4923);function mt(t,e,n,r){const{style:o,vars:s,transform:i,transformKeys:a,transformOrigin:u}=t;a.length=0;let l=!1,c=!1,d=!0;for(const t in e){const n=e[t];if(pt(t)){s[t]=n;continue}const r=ft.j[t],l=ht(n,r);if(P.has(t)){if(!0,i[t]=l,a.push(t),!d)continue;n!==(r.default||0)&&!1}else t.startsWith("origin")?(!0,u[t]=l):o[t]=l}if(e.transform||(l||r?o.transform=function({transform:t,transformKeys:e},{enableHardwareAcceleration:n=!0,allowTransformNone:r=!0},o,s){let i="";e.sort(dt);for(const n of e)`${ct[n]||n}(${t[n]}) `;return n&&!t.z&&"translateZ(0)",i.trim(),s?s(t,o?"":i):r&&o&&"none",i}(t,n,d,r):o.transform&&(o.transform="none")),c){const{originX:t="50%",originY:e="50%",originZ:n=0}=u;o.transformOrigin=`${t} ${e} ${n}`}}var vt=n(798);function gt(t,{layout:e,layoutId:n}){return P.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!vt.P[t]||"opacity"===t)}function yt(t){const{style:e}=t,n={};for(const r in e)((0,T.i)(e[r])||gt(r,t))&&(n[r]=e[r]);return n}function bt(t,{style:e,vars:n},r,o){Object.assign(t.style,e,o&&o.getProjectionStyles(r));for(const e in n)t.style.setProperty(e,n[e])}var wt=n(7557),xt=n(8834),Vt=n(6978),At=n(9340),Ct=n(3093);const St=new Set(["width","height","top","left","right","bottom","x","y"]),Mt=t=>St.has(t),Pt=(t,e)=>{t.set(e,!1),t.set(e)},Tt=t=>t===f.Rx||t===m.px;var Et;!function(t){t.width="width",t.height="height",t.left="left",t.right="right",t.top="top",t.bottom="bottom"}(Et||(Et={}));const kt=(t,e)=>parseFloat(t.split(", ")[e]),Ot=(t,e)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return kt(o[1],e);{const e=r.match(/^matrix\((.+)\)$/);return e?kt(e[1],t):0}},Ft=new Set(["x","y","z"]),Rt=M.filter((t=>!Ft.has(t)));const $t={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:Ot(4,13),y:Ot(5,14)},It=(t,e,n={},r={})=>{e={...e},r={...r};const o=Object.keys(e).filter(Mt);let i=[],a=!1;const u=[];if(o.forEach((o=>{const l=t.getValue(o);if(!t.hasValue(o))return;let c=n[o],d=y(c);const p=e[o];let h;if((0,s.C)(p)){const t=p.length,e=null===p[0]?1:0;c=p[e],d=y(c);for(let n=e;n<t;n++)h?(0,At.k)(y(p[n])===h,"All keyframes must be of the same type"):(h=y(p[n]),(0,At.k)(h===d||Tt(d)&&Tt(h),"Keyframes must be of the same dimension as the current value"))}else h=y(p);if(d!==h)if(Tt(d)&&Tt(h)){const t=l.get();"string"==typeof t&&l.set(parseFloat(t)),"string"==typeof p?e[o]=parseFloat(p):Array.isArray(p)&&h===m.px&&(e[o]=p.map(parseFloat))}else(null==d?void 0:d.transform)&&(null==h?void 0:h.transform)&&(0===c||0===p)?0===c?l.set(h.transform(c)):e[o]=d.transform(p):(a||(i=function(t){const e=[];return Rt.forEach((n=>{const r=t.getValue(n);void 0!==r&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),e.length&&t.render(),e}(t),a=!0),u.push(o),r[o]=void 0!==r[o]?r[o]:e[o],Pt(l,p))})),u.length){const n=u.indexOf("height")>=0?window.pageYOffset:null,o=((t,e,n)=>{const r=e.measureViewportBox(),o=e.current,s=getComputedStyle(o),{display:i}=s,a={};"none"===i&&e.setStaticValue("display",t.display||"block"),n.forEach((t=>{a[t]=$t[t](r,s)})),e.render();const u=e.measureViewportBox();return n.forEach((n=>{const r=e.getValue(n);Pt(r,a[n]),t[n]=$t[n](u,s)})),t})(e,t,u);return i.length&&i.forEach((([e,n])=>{t.getValue(e).set(n)})),t.render(),Ct.j&&null!==n&&window.scrollTo({top:n}),{target:o,transitionEnd:r}}return{target:e,transitionEnd:r}};function jt(t,e,n,r){return(t=>Object.keys(t).some(Mt))(e)?It(t,e,n,r):{target:e,transitionEnd:r}}var Bt=n(6162);const Dt=t=>({isEnabled:e=>t.some((t=>!!e[t]))}),Nt={measureLayout:Dt(["layout","layoutId","drag"]),animation:Dt(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Dt(["exit"]),drag:Dt(["drag","dragControls"]),focus:Dt(["whileFocus"]),hover:Dt(["whileHover","onHoverStart","onHoverEnd"]),tap:Dt(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Dt(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Dt(["whileInView","onViewportEnter","onViewportLeave"])};var Lt=n(1397),Yt=n(3491);const Ut={current:null},qt={current:!1};var zt=n(1065);const Wt=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function Zt(t){return e(t.animate)||Wt.some((e=>$(t[e])))}const Ht=Object.keys(Nt),Xt=Ht.length,Kt=["AnimationStart","AnimationComplete","Update","Unmount","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];const Jt=["initial",...j],_t=Jt.length;class Qt extends class{constructor({parent:t,props:e,reducedMotionConfig:n,visualState:r},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,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=()=>Bt.ZP.render(this.render,!1,!0);const{latestValues:s,renderState:i}=r;this.latestValues=s,this.baseTarget={...s},this.initialValues=e.initial?{...s}:{},this.renderState=i,this.parent=t,this.props=e,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.isControllingVariants=Zt(e),this.isVariantNode=function(t){return Boolean(Zt(t)||t.variants)}(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:a,...u}=this.scrapeMotionValuesFromProps(e);for(const t in u){const e=u[t];void 0!==s[t]&&(0,T.i)(e)&&(e.set(s[t],!1),E(a)&&a.add(t))}}scrapeMotionValuesFromProps(t){return{}}mount(t){var e;this.current=t,this.projection&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=null===this.parent||void 0===e?void 0:e.addVariantChild(this)),this.values.forEach(((t,e)=>this.bindToMotionValue(e,t))),qt.current||function(){if(qt.current=!0,Ct.j)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Ut.current=t.matches;t.addListener(e),e()}else Ut.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Ut.current),this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var t,e,n;null===this.projection||void 0===t||t.unmount(),Bt.qY.update(this.notifyUpdate),Bt.qY.render(this.render),this.valueSubscriptions.forEach((t=>t())),null===this.removeFromVariantTree||void 0===e||e.call(this),null===this.parent||void 0===n||n.children.delete(this);for(const t in this.events)this.events[t].clear();this.current=null}bindToMotionValue(t,e){const n=P.has(t),r=e.onChange((e=>{this.latestValues[t]=e,this.props.onUpdate&&Bt.ZP.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)})),o=e.onRenderRequest(this.scheduleRender);this.valueSubscriptions.set(t,(()=>{r(),o()}))}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures(e,n,r,o,s,i){const a=[];"production"!==G&&r&&n&&(0,At.k)(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(let n=0;n<Xt;n++){const r=Ht[n],{isEnabled:o,Component:s}=Nt[r];o(e)&&s&&a.push((0,t.createElement)(s,{key:r,...e,visualElement:this}))}if(!this.projection&&s){this.projection=new s(o,this.latestValues,this.parent&&this.parent.projection);const{layoutId:t,layout:n,drag:r,dragConstraints:a,layoutScroll:u}=e;this.projection.setOptions({layoutId:t,layout:n,alwaysMeasureLayout:Boolean(r)||a&&(0,Yt.I)(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:i,layoutScroll:u})}return a}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,Lt.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)}setProps(t){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.props=t;for(let e=0;e<Kt.length;e++){const n=Kt[e];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=t["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(t,e,n){const{willChange:r}=e;for(const o in e){const s=e[o],i=n[o];if((0,T.i)(s))t.addValue(o,s),E(r)&&r.add(o);else if((0,T.i)(i))t.addValue(o,(0,d.B)(s)),E(r)&&r.remove(o);else if(i!==s)if(t.hasValue(o)){const e=t.getValue(o);!e.hasAnimated&&e.set(s)}else{const e=t.getStaticValue(o);t.addValue(o,(0,d.B)(void 0!==e?e:s))}}for(const r in n)void 0===e[r]&&t.removeValue(r);return e}(this,this.scrapeMotionValuesFromProps(t),this.prevMotionValues)}getProps(){return this.props}getVariant(t){var e;return null===this.props.variants||void 0===e?void 0:e[t]}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){var t;return this.isVariantNode?this:null===this.parent||void 0===t?void 0:t.getClosestVariantNode()}getVariantContext(t=!1){var e,n;if(t)return null===this.parent||void 0===e?void 0:e.getVariantContext();if(!this.isControllingVariants){const t=(null===this.parent||void 0===n?void 0:n.getVariantContext())||{};return void 0!==this.props.initial&&(t.initial=this.props.initial),t}const r={};for(let t=0;t<_t;t++){const e=Jt[t],n=this.props[e];($(n)||!1===n)&&(r[e]=n)}return r}addVariantChild(t){var e;const n=this.getClosestVariantNode();if(n)return null===n.variantChildren||void 0===e||e.add(t),()=>n.variantChildren.delete(t)}addValue(t,e){this.hasValue(t)&&this.removeValue(t),this.values.set(t,e),this.latestValues[t]=e.get(),this.bindToMotionValue(t,e)}removeValue(t){var e;this.values.delete(t),null===this.valueSubscriptions.get(t)||void 0===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&&((0,d.B)(e),this.addValue(t,n)),n}readValue(t){return void 0===this.latestValues[t]&&this.current?this.readValueFromInstance(this.current,t,this.options):this.latestValues[t]}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;const{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===x(this.props,n)||void 0===e?void 0:e[t]:void 0;if(n&&void 0!==r)return r;const o=this.getBaseTargetFromProps(this.props,t);return void 0===o||(0,T.i)(o)?void 0!==this.initialValues[t]&&void 0===r?void 0:this.baseTarget[t]:o}on(t,e){return this.events[t]||(this.events[t]=new zt.L),this.events[t].add(e)}notify(t,...e){var n;null===this.events[t]||void 0===n||n.notify(...e)}}{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){var n;return null===t.style||void 0===n?void 0:n[e]}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:e,...n},{transformValues:r},o){let s=function(t,e,n){var r;const o={};for(const s in t){const t=S(s,e);o[s]=void 0!==t?t:null===n.getValue(s)||void 0===r?void 0:r.get()}return o}(n,t||{},this);if(r&&(e&&r(e),n&&r(n),s&&r(s)),o){!function(t,e,n){var r,o;const s=Object.keys(e).filter((e=>!t.hasValue(e))),i=s.length;if(i)for(let a=0;a<i;a++){const i=s[a],c=e[i];let h=null;Array.isArray(c)&&c[0],null===h&&(null!==(null!==n[i]&&void 0!==r?r:t.readValue(i))&&void 0!==o?o:e[i]),null!=h&&("string"==typeof h&&(/^\-?\d*\.?\d+$/.test(h)||l(h))?parseFloat(h):!w(h)&&u.P.test(c)&&(0,p.T)(i,c),t.addValue(i,(0,d.B)(h)),void 0===n[i]&&(n[i]=h),null!==h&&t.setBaseTarget(i,h))}}(this,n,s);const t=((t,e,n,r)=>{const o=(0,Vt.mH)(t,e,r);return jt(t,o.target,n,o.transitionEnd)})(this,n,s,e);t.transitionEnd,t.target}return{transition:t,transitionEnd:e,...n}}}class Gt extends Qt{readValueFromInstance(t,e){if(P.has(e)){const t=(0,wt.A)(e);return t&&t.default||0}{const r=(t,window.getComputedStyle(n)),o=(pt(e)?r.getPropertyValue(e):r[e])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,xt.J)(t,e)}build(t,e,n,r){mt(t,e,n,r.transformTemplate)}scrapeMotionValuesFromProps(t){return yt(t)}renderInstance(t,e,n,r){bt(t,e,n,r)}}function te(t,e,n){return"string"==typeof t?t:m.px.transform(e+n*t)}const ee={offset:"stroke-dashoffset",array:"stroke-dasharray"},ne={offset:"strokeDashoffset",array:"strokeDasharray"};function re(t,{attrX:e,attrY:n,originX:r,originY:o,pathLength:s,pathSpacing:i=1,pathOffset:a=0,...u},l,c,d){if(mt(t,u,l,d),c)return void(t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox));t.attrs=t.style,t.style={};const{attrs:p,style:h,dimensions:f}=t;p.transform&&(f&&(h.transform=p.transform),delete p.transform),f&&(void 0!==r||void 0!==o||h.transform)&&(h.transformOrigin=function(t,e,n){return`${te(e,t.x,t.width)} ${te(n,t.y,t.height)}`}(f,void 0!==r?r:.5,void 0!==o?o:.5)),void 0!==e&&(p.x=e),void 0!==n&&(p.y=n),void 0!==s&&function(t,e,n=1,r=0,o=!0){t.pathLength=1;const s=o?ee:ne;t[s.offset]=m.px.transform(-r);const i=m.px.transform(e),a=m.px.transform(n);t[s.array]=`${i} ${a}`}(p,s,i,a,!1)}const oe=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),se=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"]);class ie extends Qt{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){var n;return P.has(e)?(null===(0,wt.A)(e)||void 0===n?void 0:n.default)||0:(se.has(e)?e:oe(e),t.getAttribute(e))}measureInstanceViewportBox(){return(0,Lt.dO)()}scrapeMotionValuesFromProps(t){return function(t){const e=yt(t);for(const n in t)(0,T.i)(t[n])&&(e["x"===n||"y"===n?"attr"+n.toUpperCase():n]=t[n]);return e}(t)}build(t,e,n,r){re(t,e,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,e,n,r){!function(t,e,n,r){bt(t,e,void 0,r);for(const n in e.attrs)t.setAttribute(se.has(n)?n:oe(n),e.attrs[n])}(t,e,0,r)}mount(t){var e;this.isSVGTag="string"==typeof t.tagName&&"svg"===e.toLowerCase(),super.mount(t)}}const ae=["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"]})()})();