T.ME/BIBIL_0DAY
CasperSecurity


Server : Apache/2
System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
User : gositeme ( 1004)
PHP Version : 8.2.29
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Directory :  /home/gositeme/domains/lavocat.ca/private_html/.next/static/chunks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/gositeme/domains/lavocat.ca/private_html/.next/static/chunks/8435-27c269b982cba580.js
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8435],{132:(t,e,i)=>{i.d(e,{L:()=>B});var r=i(80046);let n=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function s(t,e,i,s){if(t===e&&i===s)return r.l;let o=e=>(function(t,e,i,r,s){let o,a,l=0;do(o=n(a=e+(i-e)/2,r,s)-t)>0?i=a:e=a;while(Math.abs(o)>1e-7&&++l<12);return a})(e,0,1,t,i);return t=>0===t||1===t?t:n(o(t),e,s)}let o=s(.42,0,1,1),a=s(0,0,.58,1),l=s(.42,0,.58,1),u=t=>Array.isArray(t)&&"number"!=typeof t[0];var h=i(62919),c=i(77801),d=i(30904),p=i(21419);let m=s(.33,1.53,.69,.99),f=(0,p.G)(m),v=(0,d.V)(f),g={linear:r.l,easeIn:o,easeInOut:l,easeOut:a,circIn:c.po,circInOut:c.tn,circOut:c.yT,backIn:f,backInOut:v,backOut:m,anticipate:t=>(t*=2)<1?.5*f(t):.5*(2-Math.pow(2,-10*(t-1)))},y=t=>{if(Array.isArray(t)){(0,h.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,r,n]=t;return s(e,i,r,n)}return"string"==typeof t?((0,h.V)(void 0!==g[t],`Invalid easing type '${t}'`),g[t]):t};var x=i(92338),P=i(97808);function b({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){var n;let s=u(r)?r.map(y):y(r),o={done:!1,value:e[0]},a=(n=i&&i.length===e.length?i:(0,P.Z)(e),n.map(e=>e*t)),h=(0,x.G)(a,e,{ease:Array.isArray(s)?s:e.map(()=>s||l).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=h(e),o.done=e>=t,o)}}var w=i(93320),A=i(1856);function T(t,e,i){let r=Math.max(e-5,0);return(0,A.f)(i-t(r),e-r)}var S=i(94349);function V(t,e){return t*Math.sqrt(1-e*e)}let E=["duration","bounce"],C=["stiffness","damping","mass"];function M(t,e){return e.some(e=>void 0!==t[e])}function j({keyframes:t,restDelta:e,restSpeed:i,...r}){let n,s=t[0],o=t[t.length-1],a={done:!1,value:s},{stiffness:l,damping:u,mass:c,duration:d,velocity:p,isResolvedFromDuration:m}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!M(t,C)&&M(t,E)){let i=function({duration:t=800,bounce:e=.25,velocity:i=0,mass:r=1}){let n,s;(0,h.$)(t<=(0,w.f)(10),"Spring duration must be 10 seconds or less");let o=1-e;o=(0,S.q)(.05,1,o),t=(0,S.q)(.01,10,(0,w.X)(t)),o<1?(n=e=>{let r=e*o,n=r*t;return .001-(r-i)/V(e,o)*Math.exp(-n)},s=e=>{let r=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-r),l=V(Math.pow(e,2),o);return(r*i+i-s)*a*(-n(e)+.001>0?-1:1)/l}):(n=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));let a=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(n,s,5/t);if(t=(0,w.f)(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(a,2)*r;return{stiffness:e,damping:2*o*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...r,velocity:-(0,w.X)(r.velocity||0)}),f=p||0,v=u/(2*Math.sqrt(l*c)),g=o-s,y=(0,w.X)(Math.sqrt(l/c)),x=5>Math.abs(g);if(i||(i=x?.01:2),e||(e=x?.005:.5),v<1){let t=V(y,v);n=e=>o-Math.exp(-v*y*e)*((f+v*y*g)/t*Math.sin(t*e)+g*Math.cos(t*e))}else if(1===v)n=t=>o-Math.exp(-y*t)*(g+(f+y*g)*t);else{let t=y*Math.sqrt(v*v-1);n=e=>{let i=Math.exp(-v*y*e),r=Math.min(t*e,300);return o-i*((f+v*y*g)*Math.sinh(r)+t*g*Math.cosh(r))/t}}return{calculatedDuration:m&&d||null,next:t=>{let r=n(t);if(m)a.done=t>=d;else{let s=f;0!==t&&(s=v<1?T(n,t,r):0);let l=Math.abs(o-r)<=e;a.done=Math.abs(s)<=i&&l}return a.value=a.done?o:r,a}}}function k({keyframes:t,velocity:e=0,power:i=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d,p=t[0],m={done:!1,value:p},f=t=>void 0!==a&&t<a||void 0!==l&&t>l,v=t=>void 0===a?l:void 0===l||Math.abs(a-t)<Math.abs(l-t)?a:l,g=i*e,y=p+g,x=void 0===o?y:o(y);x!==y&&(g=x-p);let P=t=>-g*Math.exp(-t/r),b=t=>x+P(t),w=t=>{let e=P(t),i=b(t);m.done=Math.abs(e)<=u,m.value=m.done?x:i},A=t=>{f(m.value)&&(c=t,d=j({keyframes:[m.value,v(m.value)],velocity:T(b,t,m.value),damping:n,stiffness:s,restDelta:u,restSpeed:h}))};return A(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,w(t),A(t)),void 0!==c&&t>c)?d.next(t-c):(e||w(t),m)}}}var D=i(42178);let L=t=>{let e=({timestamp:e})=>t(e);return{start:()=>D.Gt.update(e,!0),stop:()=>(0,D.WG)(e),now:()=>D.uv.isProcessing?D.uv.timestamp:performance.now()}};function R(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}let F={decay:k,inertia:k,tween:b,keyframes:b,spring:j};function B({autoplay:t=!0,delay:e=0,driver:i=L,keyframes:r,type:n="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:a="loop",onPlay:l,onStop:u,onComplete:h,onUpdate:c,...d}){let p,m,f,v,g,y=1,P=!1,A=()=>{m=new Promise(t=>{p=t})};A();let T=F[n]||b;T!==b&&"number"!=typeof r[0]&&(v=(0,x.G)([0,100],r,{clamp:!1}),r=[0,100]);let V=T({...d,keyframes:r});"mirror"===a&&(g=T({...d,keyframes:[...r].reverse(),velocity:-(d.velocity||0)}));let E="idle",C=null,M=null,j=null;null===V.calculatedDuration&&s&&(V.calculatedDuration=R(V));let{calculatedDuration:k}=V,D=1/0,B=1/0;null!==k&&(B=(D=k+o)*(s+1)-o);let O=0,U=t=>{if(null===M)return;y>0&&(M=Math.min(M,t)),y<0&&(M=Math.min(t-B/y,M));let i=(O=null!==C?C:Math.round(t-M)*y)-e*(y>=0?1:-1),n=y>=0?i<0:i>B;O=Math.max(i,0),"finished"===E&&null===C&&(O=B);let l=O,u=V;if(s){let t=Math.min(O,B)/D,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,s+1))%2&&("reverse"===a?(i=1-i,o&&(i-=o/D)):"mirror"===a&&(u=g)),l=(0,S.q)(0,1,i)*D}let h=n?{done:!1,value:r[0]}:u.next(l);v&&(h.value=v(h.value));let{done:d}=h;n||null===k||(d=y>=0?O>=B:O<=0);let p=null===C&&("finished"===E||"running"===E&&d);return c&&c(h.value),p&&G(),h},I=()=>{f&&f.stop(),f=void 0},N=()=>{E="idle",I(),p(),A(),M=j=null},G=()=>{E="finished",h&&h(),I(),p()},$=()=>{if(P)return;f||(f=i(U));let t=f.now();l&&l(),null!==C?M=t-C:M&&"finished"!==E||(M=t),"finished"===E&&A(),j=M,C=null,E="running",f.start()};t&&$();let W={then:(t,e)=>m.then(t,e),get time(){return(0,w.X)(O)},set time(newTime){O=newTime=(0,w.f)(newTime),null===C&&f&&0!==y?M=f.now()-newTime/y:C=newTime},get duration(){let t=null===V.calculatedDuration?R(V):V.calculatedDuration;return(0,w.X)(t)},get speed(){return y},set speed(newSpeed){if(newSpeed===y||!f)return;y=newSpeed,W.time=(0,w.X)(O)},get state(){return E},play:$,pause:()=>{E="paused",C=O},stop:()=>{P=!0,"idle"!==E&&(E="idle",u&&u(),N())},cancel:()=>{null!==j&&U(j),N()},complete:()=>{E="finished"},sample:t=>(M=0,U(t))};return W}},1856:(t,e,i)=>{i.d(e,{f:()=>r});function r(t,e){return e?1e3/e*t:0}},2205:(t,e,i)=>{i.d(e,{B:()=>r});let r="undefined"!=typeof document},2926:(t,e,i)=>{i.d(e,{F:()=>n});let r=(t,e)=>i=>e(t(i)),n=(...t)=>t.reduce(r)},3866:(t,e,i)=>{i.d(e,{t:()=>r});let r=(0,i(14232).createContext)(null)},5048:(t,e,i)=>{i.d(e,{L:()=>r});let r=(0,i(14232).createContext)({})},5897:(t,e,i)=>{i.d(e,{u:()=>n});var r=i(12562);let n={test:(0,i(62653).$)("#"),parse:function(t){let e="",i="",r="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,r+=r,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}},transform:r.B.transform}},10223:(t,e,i)=>{i.d(e,{v:()=>n});var r=i(40215);class n{constructor(){this.subscriptions=[]}add(t){return(0,r.Kq)(this.subscriptions,t),()=>(0,r.Ai)(this.subscriptions,t)}notify(t,e,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,i);else for(let n=0;n<r;n++){let r=this.subscriptions[n];r&&r(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},10253:(t,e,i)=>{i.d(e,{Fl:()=>o,Kg:()=>a,SY:()=>n,aj:()=>r,ne:()=>s});let r=t=>Math.round(1e5*t)/1e5,n=/(-)?([\d]*\.?[\d])+/g,s=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,o=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function a(t){return"string"==typeof t}},11614:(t,e,i)=>{i.d(e,{y:()=>a});var r=i(10253),n=i(5897),s=i(28670),o=i(12562);let a={test:t=>o.B.test(t)||n.u.test(t)||s.V.test(t),parse:t=>o.B.test(t)?o.B.parse(t):s.V.test(t)?s.V.parse(t):n.u.parse(t),transform:t=>(0,r.Kg)(t)?t:t.hasOwnProperty("red")?o.B.transform(t):s.V.transform(t)}},11713:(t,e,i)=>{i.d(e,{A:()=>c});var r=i(14232);let n=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,e,i)=>i?i.toUpperCase():e.toLowerCase()),o=t=>{let e=s(t);return e.charAt(0).toUpperCase()+e.slice(1)},a=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return e.filter((t,e,i)=>!!t&&""!==t.trim()&&i.indexOf(t)===e).join(" ").trim()},l=t=>{for(let e in t)if(e.startsWith("aria-")||"role"===e||"title"===e)return!0};var u={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let h=(0,r.forwardRef)((t,e)=>{let{color:i="currentColor",size:n=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:h="",children:c,iconNode:d,...p}=t;return(0,r.createElement)("svg",{ref:e,...u,width:n,height:n,stroke:i,strokeWidth:o?24*Number(s)/Number(n):s,className:a("lucide",h),...!c&&!l(p)&&{"aria-hidden":"true"},...p},[...d.map(t=>{let[e,i]=t;return(0,r.createElement)(e,i)}),...Array.isArray(c)?c:[c]])}),c=(t,e)=>{let i=(0,r.forwardRef)((i,s)=>{let{className:l,...u}=i;return(0,r.createElement)(h,{ref:s,iconNode:e,className:a("lucide-".concat(n(o(t))),"lucide-".concat(t),l),...u})});return i.displayName=o(t),i}},12562:(t,e,i)=>{i.d(e,{B:()=>u});var r=i(94349),n=i(49037),s=i(10253),o=i(62653);let a=t=>(0,r.q)(0,255,t),l={...n.ai,transform:t=>Math.round(a(t))},u={test:(0,o.$)("rgb","red"),parse:(0,o.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:r=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(i)+", "+(0,s.aj)(n.X4.transform(r))+")"}},21300:(t,e,i)=>{i.d(e,{KN:()=>o,gQ:()=>h,px:()=>a,uj:()=>s,vh:()=>l,vw:()=>u});var r=i(10253);let n=t=>({test:e=>(0,r.Kg)(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),s=n("deg"),o=n("%"),a=n("px"),l=n("vh"),u=n("vw"),h={...o,parse:t=>o.parse(t)/100,transform:t=>o.transform(100*t)}},21419:(t,e,i)=>{i.d(e,{G:()=>r});let r=t=>e=>1-t(1-e)},28670:(t,e,i)=>{i.d(e,{V:()=>a});var r=i(49037),n=i(21300),s=i(10253),o=i(62653);let a={test:(0,o.$)("hsl","hue"),parse:(0,o.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+n.KN.transform((0,s.aj)(e))+", "+n.KN.transform((0,s.aj)(i))+", "+(0,s.aj)(r.X4.transform(o))+")"}},30904:(t,e,i)=>{i.d(e,{V:()=>r});let r=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},30927:(t,e,i)=>{i.d(e,{V:()=>d,f:()=>v});var r=i(40597),n=i(80046),s=i(11614),o=i(49037),a=i(10253);let l={regex:r.z2,countKey:"Vars",token:"${v}",parse:n.l},u={regex:a.ne,countKey:"Colors",token:"${c}",parse:s.y.parse},h={regex:a.SY,countKey:"Numbers",token:"${n}",parse:o.ai.parse};function c(t,{regex:e,countKey:i,token:r,parse:n}){let s=t.tokenised.match(e);s&&(t["num"+i]=s.length,t.tokenised=t.tokenised.replace(e,r),t.values.push(...s.map(n)))}function d(t){let e=t.toString(),i={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return i.value.includes("var(--")&&c(i,l),c(i,u),c(i,h),i}function p(t){return d(t).values}function m(t){let{values:e,numColors:i,numVars:r,tokenised:n}=d(t),o=e.length;return t=>{let e=n;for(let n=0;n<o;n++)e=n<r?e.replace(l.token,t[n]):n<r+i?e.replace(u.token,s.y.transform(t[n])):e.replace(h.token,(0,a.aj)(t[n]));return e}}let f=t=>"number"==typeof t?0:t,v={test:function(t){var e,i;return isNaN(t)&&(0,a.Kg)(t)&&((null==(e=t.match(a.SY))?void 0:e.length)||0)+((null==(i=t.match(a.ne))?void 0:i.length)||0)>0},parse:p,createTransformer:m,getAnimatableNone:function(t){let e=p(t);return m(t)(e.map(f))}}},35667:(t,e,i)=>{i.d(e,{P:()=>rL});var r=i(14232),n=i(39751);let s=(0,r.createContext)({});var o=i(3866),a=i(50181);let l=(0,r.createContext)({strict:!1}),u=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),h="data-"+u("framerAppearId");function c(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function d(t){return"string"==typeof t||Array.isArray(t)}function p(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}let m=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],f=["initial",...m];function v(t){return p(t.animate)||f.some(e=>d(t[e]))}function g(t){return!!(v(t)||t.variants)}function y(t){return Array.isArray(t)?t.join(" "):t}let x={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},P={};for(let t in x)P[t]={isEnabled:e=>x[t].some(t=>!!e[t])};var b=i(2205),w=i(5048);let A=(0,r.createContext)({}),T=Symbol.for("motionComponentSymbol"),S=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function V(t){if("string"!=typeof t||t.includes("-"));else if(S.indexOf(t)>-1||/[A-Z]/.test(t))return!0;return!1}let E={},C=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],M=new Set(C);function j(t,{layout:e,layoutId:i}){return M.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!E[t]||"opacity"===t)}var k=i(82981);let D={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},L=C.length;var R=i(40597);let F=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var B=i(49037),O=i(21300);let U={...B.ai,transform:Math.round},I={borderWidth:O.px,borderTopWidth:O.px,borderRightWidth:O.px,borderBottomWidth:O.px,borderLeftWidth:O.px,borderRadius:O.px,radius:O.px,borderTopLeftRadius:O.px,borderTopRightRadius:O.px,borderBottomRightRadius:O.px,borderBottomLeftRadius:O.px,width:O.px,maxWidth:O.px,height:O.px,maxHeight:O.px,size:O.px,top:O.px,right:O.px,bottom:O.px,left:O.px,padding:O.px,paddingTop:O.px,paddingRight:O.px,paddingBottom:O.px,paddingLeft:O.px,margin:O.px,marginTop:O.px,marginRight:O.px,marginBottom:O.px,marginLeft:O.px,rotate:O.uj,rotateX:O.uj,rotateY:O.uj,rotateZ:O.uj,scale:B.hs,scaleX:B.hs,scaleY:B.hs,scaleZ:B.hs,skew:O.uj,skewX:O.uj,skewY:O.uj,distance:O.px,translateX:O.px,translateY:O.px,translateZ:O.px,x:O.px,y:O.px,z:O.px,perspective:O.px,transformPerspective:O.px,opacity:B.X4,originX:O.gQ,originY:O.gQ,originZ:O.px,zIndex:U,fillOpacity:B.X4,strokeOpacity:B.X4,numOctaves:U};function N(t,e,i,r){let{style:n,vars:s,transform:o,transformOrigin:a}=t,l=!1,u=!1,h=!0;for(let t in e){let i=e[t];if((0,R.j4)(t)){s[t]=i;continue}let r=I[t],c=F(i,r);if(M.has(t)){if(l=!0,o[t]=c,!h)continue;i!==(r.default||0)&&(h=!1)}else t.startsWith("origin")?(u=!0,a[t]=c):n[t]=c}if(!e.transform&&(l||r?n.transform=function(t,{enableHardwareAcceleration:e=!0,allowTransformNone:i=!0},r,n){let s="";for(let e=0;e<L;e++){let i=C[e];if(void 0!==t[i]){let e=D[i]||i;s+=`${e}(${t[i]}) `}}return e&&!t.z&&(s+="translateZ(0)"),s=s.trim(),n?s=n(t,r?"":s):i&&r&&(s="none"),s}(t.transform,i,h,r):n.transform&&(n.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;n.transformOrigin=`${t} ${e} ${i}`}}let G=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function $(t,e,i){for(let r in e)(0,k.S)(e[r])||j(r,i)||(t[r]=e[r])}let W=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function q(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||W.has(t)}let X=t=>!q(t);try{!function(t){t&&(X=e=>e.startsWith("on")?!q(e):t(e))}(require("@emotion/is-prop-valid").default)}catch(t){}function H(t,e,i){return"string"==typeof t?t:O.px.transform(e+i*t)}let z={offset:"stroke-dashoffset",array:"stroke-dasharray"},Y={offset:"strokeDashoffset",array:"strokeDasharray"};function K(t,{attrX:e,attrY:i,attrScale:r,originX:n,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},h,c,d){if(N(t,u,h,d),c){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:p,style:m,dimensions:f}=t;p.transform&&(f&&(m.transform=p.transform),delete p.transform),f&&(void 0!==n||void 0!==s||m.transform)&&(m.transformOrigin=function(t,e,i){let r=H(e,t.x,t.width),n=H(i,t.y,t.height);return`${r} ${n}`}(f,void 0!==n?n:.5,void 0!==s?s:.5)),void 0!==e&&(p.x=e),void 0!==i&&(p.y=i),void 0!==r&&(p.scale=r),void 0!==o&&function(t,e,i=1,r=0,n=!0){t.pathLength=1;let s=n?z:Y;t[s.offset]=O.px.transform(-r);let o=O.px.transform(e),a=O.px.transform(i);t[s.array]=`${o} ${a}`}(p,o,a,l,!1)}let Z=()=>({...G(),attrs:{}}),Q=t=>"string"==typeof t&&"svg"===t.toLowerCase();function _(t,{style:e,vars:i},r,n){for(let s in Object.assign(t.style,e,n&&n.getProjectionStyles(r)),i)t.style.setProperty(s,i[s])}let J=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function tt(t,e,i,r){for(let i in _(t,e,void 0,r),e.attrs)t.setAttribute(J.has(i)?i:u(i),e.attrs[i])}function te(t,e){let{style:i}=t,r={};for(let n in i)((0,k.S)(i[n])||e.style&&(0,k.S)(e.style[n])||j(n,t))&&(r[n]=i[n]);return r}function ti(t,e){let i=te(t,e);for(let r in t)((0,k.S)(t[r])||(0,k.S)(e[r]))&&(i[-1!==C.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=t[r]);return i}function tr(t,e,i,r={},n={}){return"function"==typeof e&&(e=e(void 0!==i?i:t.custom,r,n)),"string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e&&(e=e(void 0!==i?i:t.custom,r,n)),e}var tn=i(91200);let ts=t=>Array.isArray(t),to=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),ta=t=>ts(t)?t[t.length-1]||0:t;function tl(t){let e=(0,k.S)(t)?t.get():t;return to(e)?e.toValue():e}let tu=t=>(e,i)=>{let n=(0,r.useContext)(s),a=(0,r.useContext)(o.t),l=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:i},r,n,s){let o={latestValues:function(t,e,i,r){let n={},s=r(t,{});for(let t in s)n[t]=tl(s[t]);let{initial:o,animate:a}=t,l=v(t),u=g(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!i&&!1===i.initial,c=(h=h||!1===o)?a:o;return c&&"boolean"!=typeof c&&!p(c)&&(Array.isArray(c)?c:[c]).forEach(e=>{let i=tr(t,e);if(!i)return;let{transitionEnd:r,transition:s,...o}=i;for(let t in o){let e=o[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(n[t]=e)}for(let t in r)n[t]=r[t]}),n}(r,n,s,t),renderState:e()};return i&&(o.mount=t=>i(r,t,o)),o})(t,e,n,a);return i?l():(0,tn.M)(l)};var th=i(42178);let tc={useVisualState:tu({scrapeMotionValuesFromProps:ti,createRenderState:Z,onMount:(t,e,{renderState:i,latestValues:r})=>{th.Gt.read(()=>{try{i.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){i.dimensions={x:0,y:0,width:0,height:0}}}),th.Gt.render(()=>{K(i,r,{enableHardwareAcceleration:!1},Q(e.tagName),t.transformTemplate),tt(e,i)})}})},td={useVisualState:tu({scrapeMotionValuesFromProps:te,createRenderState:G})};function tp(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i)}let tm=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function tf(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}let tv=t=>e=>tm(e)&&t(e,tf(e));function tg(t,e,i,r){return tp(t,e,tv(i),r)}var ty=i(2926);function tx(t){let e=null;return()=>null===e&&(e=t,()=>{e=null})}let tP=tx("dragHorizontal"),tb=tx("dragVertical");function tw(t){let e=!1;if("y"===t)e=tb();else if("x"===t)e=tP();else{let t=tP(),i=tb();t&&i?e=()=>{t(),i()}:(t&&t(),i&&i())}return e}function tA(){let t=tw(!0);return!t||(t(),!1)}class tT{constructor(t){this.isMounted=!1,this.node=t}update(){}}function tS(t,e){let i="onHover"+(e?"Start":"End");return tg(t.current,"pointer"+(e?"enter":"leave"),(r,n)=>{if("touch"===r.pointerType||tA())return;let s=t.getProps();t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",e),s[i]&&th.Gt.update(()=>s[i](r,n))},{passive:!t.getProps()[i]})}class tV extends tT{mount(){this.unmount=(0,ty.F)(tS(this.node,!0),tS(this.node,!1))}unmount(){}}class tE extends tT{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,ty.F)(tp(this.node.current,"focus",()=>this.onFocus()),tp(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let tC=(t,e)=>!!e&&(t===e||tC(t,e.parentElement));var tM=i(80046);function tj(t,e){if(!e)return;let i=new PointerEvent("pointer"+t);e(i,tf(i))}class tk extends tT{constructor(){super(...arguments),this.removeStartListeners=tM.l,this.removeEndListeners=tM.l,this.removeAccessibleListeners=tM.l,this.startPointerPress=(t,e)=>{if(this.isPressing)return;this.removeEndListeners();let i=this.node.getProps(),r=tg(window,"pointerup",(t,e)=>{if(!this.checkPressEnd())return;let{onTap:i,onTapCancel:r,globalTapTarget:n}=this.node.getProps();th.Gt.update(()=>{n||tC(this.node.current,t.target)?i&&i(t,e):r&&r(t,e)})},{passive:!(i.onTap||i.onPointerUp)}),n=tg(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=(0,ty.F)(r,n),this.startPress(t,e)},this.startAccessiblePress=()=>{let t=tp(this.node.current,"keydown",t=>{"Enter"!==t.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=tp(this.node.current,"keyup",t=>{"Enter"===t.key&&this.checkPressEnd()&&tj("up",(t,e)=>{let{onTap:i}=this.node.getProps();i&&th.Gt.update(()=>i(t,e))})}),tj("down",(t,e)=>{this.startPress(t,e)}))}),e=tp(this.node.current,"blur",()=>{this.isPressing&&tj("cancel",(t,e)=>this.cancelPress(t,e))});this.removeAccessibleListeners=(0,ty.F)(t,e)}}startPress(t,e){this.isPressing=!0;let{onTapStart:i,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&th.Gt.update(()=>i(t,e))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!tA()}cancelPress(t,e){if(!this.checkPressEnd())return;let{onTapCancel:i}=this.node.getProps();i&&th.Gt.update(()=>i(t,e))}mount(){let t=this.node.getProps(),e=tg(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),i=tp(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,ty.F)(e,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let tD=new WeakMap,tL=new WeakMap,tR=t=>{let e=tD.get(t.target);e&&e(t)},tF=t=>{t.forEach(tR)},tB={some:0,all:1};class tO extends tT{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:r="some",once:n}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof r?r:tB[r]};return function(t,e,i){let r=function({root:t,...e}){let i=t||document;tL.has(i)||tL.set(i,{});let r=tL.get(i),n=JSON.stringify(e);return r[n]||(r[n]=new IntersectionObserver(tF,{root:t,...e})),r[n]}(e);return tD.set(t,i),r.observe(t),()=>{tD.delete(t),r.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,n&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),s=e?i:r;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}function tU(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(e[r]!==t[r])return!1;return!0}function tI(t,e,i){let r=t.getProps();return tr(r,e,void 0!==i?i:r.custom,function(t){let e={};return t.values.forEach((t,i)=>e[i]=t.get()),e}(t),function(t){let e={};return t.values.forEach((t,i)=>e[i]=t.getVelocity()),e}(t))}var tN=i(62919),tG=i(93320);let t$={current:!1},tW=t=>Array.isArray(t)&&"number"==typeof t[0],tq=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,tX={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tq([0,.65,.55,1]),circOut:tq([.55,0,1,.45]),backIn:tq([.31,.01,.66,-.59]),backOut:tq([.33,1.53,.69,.99])};var tH=i(132);let tz=function(t){let e;return()=>(void 0===e&&(e=t()),e)}(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),tY=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),tK=(t,e)=>"spring"===e.type||"backgroundColor"===t||!function t(e){return!!(!e||"string"==typeof e&&tX[e]||tW(e)||Array.isArray(e)&&e.every(t))}(e.ease),tZ={type:"spring",stiffness:500,damping:25,restSpeed:10},tQ=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),t_={type:"keyframes",duration:.8},tJ={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},t0=(t,{keyframes:e})=>e.length>2?t_:M.has(t)?t.startsWith("scale")?tQ(e[1]):tZ:tJ;var t1=i(30927);let t2=(t,e)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(t1.f.test(e)||"0"===e)&&!e.startsWith("url("));var t5=i(10253);let t3=new Set(["brightness","contrast","saturate","opacity"]);function t9(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(t5.SY)||[];if(!r)return t;let n=i.replace(r,""),s=+!!t3.has(e);return r!==i&&(s*=100),e+"("+s+n+")"}let t4=/([a-z-]*)\(.*?\)/g,t6={...t1.f,getAnimatableNone:t=>{let e=t.match(t4);return e?e.map(t9).join(" "):t}};var t8=i(11614);let t7={...I,color:t8.y,backgroundColor:t8.y,outlineColor:t8.y,fill:t8.y,stroke:t8.y,borderColor:t8.y,borderTopColor:t8.y,borderRightColor:t8.y,borderBottomColor:t8.y,borderLeftColor:t8.y,filter:t6,WebkitFilter:t6},et=t=>t7[t];function ee(t,e){let i=et(t);return i!==t6&&(i=t1.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let ei=t=>/^0[^.\s]+$/.test(t);function er(t,e){return t[e]||t.default||t}let en={skipAnimations:!1},es=(t,e,i,r={})=>n=>{let s=er(r,t)||{},o=s.delay||r.delay||0,{elapsed:a=0}=r;a-=(0,tG.f)(o);let l=function(t,e,i,r){let n,s,o=t2(e,i);n=Array.isArray(i)?[...i]:[null,i];let a=void 0!==r.from?r.from:t.get(),l=[];for(let t=0;t<n.length;t++){var u;null===n[t]&&(n[t]=0===t?a:n[t-1]),("number"==typeof(u=n[t])?0===u:null!==u?"none"===u||"0"===u||ei(u):void 0)&&l.push(t),"string"==typeof n[t]&&"none"!==n[t]&&"0"!==n[t]&&(s=n[t])}if(o&&l.length&&s)for(let t=0;t<l.length;t++)n[l[t]]=ee(e,s);return n}(e,t,i,s),u=l[0],h=l[l.length-1],c=t2(t,u),d=t2(t,h);(0,tN.$)(c===d,`You are trying to animate ${t} from "${u}" to "${h}". ${u} is not an animatable value - to enable this animation set ${u} to a value animatable to ${h} via the \`style\` property.`);let p={keyframes:l,velocity:e.getVelocity(),ease:"easeOut",...s,delay:-a,onUpdate:t=>{e.set(t),s.onUpdate&&s.onUpdate(t)},onComplete:()=>{n(),s.onComplete&&s.onComplete()}};if(!function({when:t,delay:e,delayChildren:i,staggerChildren:r,staggerDirection:n,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(s)&&(p={...p,...t0(t,p)}),p.duration&&(p.duration=(0,tG.f)(p.duration)),p.repeatDelay&&(p.repeatDelay=(0,tG.f)(p.repeatDelay)),!c||!d||t$.current||!1===s.type||en.skipAnimations)return function({keyframes:t,delay:e,onUpdate:i,onComplete:r}){let n=()=>(i&&i(t[t.length-1]),r&&r(),{time:0,speed:1,duration:0,play:tM.l,pause:tM.l,stop:tM.l,then:t=>(t(),Promise.resolve()),cancel:tM.l,complete:tM.l});return e?(0,tH.L)({keyframes:[0,1],duration:0,delay:e,onComplete:n}):n()}(t$.current?{...p,delay:0}:p);if(!r.isHandoff&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate){let i=function(t,e,{onUpdate:i,onComplete:r,...n}){let s,o;if(!(tz()&&tY.has(e)&&!n.repeatDelay&&"mirror"!==n.repeatType&&0!==n.damping&&"inertia"!==n.type))return!1;let a=!1,l=!1,u=()=>{o=new Promise(t=>{s=t})};u();let{keyframes:h,duration:c=300,ease:d,times:p}=n;if(tK(e,n)){let t=(0,tH.L)({...n,repeat:0,delay:0}),e={done:!1,value:h[0]},i=[],r=0;for(;!e.done&&r<2e4;)e=t.sample(r),i.push(e.value),r+=10;p=void 0,h=i,c=r-10,d="linear"}let m=function(t,e,i,{delay:r=0,duration:n,repeat:s=0,repeatType:o="loop",ease:a,times:l}={}){let u={[e]:i};l&&(u.offset=l);let h=function t(e){if(e)return tW(e)?tq(e):Array.isArray(e)?e.map(t):tX[e]}(a);return Array.isArray(h)&&(u.easing=h),t.animate(u,{delay:r,duration:n,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(t.owner.current,e,h,{...n,duration:c,ease:d,times:p}),f=()=>{l=!1,m.cancel()},v=()=>{l=!0,th.Gt.update(f),s(),u()};return m.onfinish=()=>{l||(t.set(function(t,{repeat:e,repeatType:i="loop"}){let r=e&&"loop"!==i&&e%2==1?0:t.length-1;return t[r]}(h,n)),r&&r(),v())},{then:(t,e)=>o.then(t,e),attachTimeline:t=>(m.timeline=t,m.onfinish=null,tM.l),get time(){return(0,tG.X)(m.currentTime||0)},set time(newTime){m.currentTime=(0,tG.f)(newTime)},get speed(){return m.playbackRate},set speed(newSpeed){m.playbackRate=newSpeed},get duration(){return(0,tG.X)(c)},play:()=>{a||(m.play(),(0,th.WG)(f))},pause:()=>m.pause(),stop:()=>{if(a=!0,"idle"===m.playState)return;let{currentTime:e}=m;if(e){let i=(0,tH.L)({...n,autoplay:!1});t.setWithVelocity(i.sample(e-10).value,i.sample(e).value,10)}v()},complete:()=>{l||m.finish()},cancel:v}}(e,t,p);if(i)return i}return(0,tH.L)(p)};function eo(t){return!!((0,k.S)(t)&&t.add)}let ea=t=>/^\-?\d*\.?\d+$/.test(t);var el=i(90280);let eu=t=>e=>e.test(t),eh=[B.ai,O.px,O.KN,O.uj,O.vw,O.vh,{test:t=>"auto"===t,parse:t=>t}],ec=t=>eh.find(eu(t)),ed=[...eh,t8.y,t1.f],ep=t=>ed.find(eu(t));function em(t,e){let i=tI(t,e),{transitionEnd:r={},transition:n={},...s}=i?t.makeTargetAnimatable(i,!1):{};for(let e in s={...s,...r}){let i=ta(s[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,el.OQ)(i))}}function ef(t,e,{delay:i=0,transitionOverride:r,type:n}={}){let{transition:s=t.getDefaultTransition(),transitionEnd:o,...a}=t.makeTargetAnimatable(e),l=t.getValue("willChange");r&&(s=r);let u=[],c=n&&t.animationState&&t.animationState.getState()[n];for(let e in a){let r=t.getValue(e),n=a[e];if(!r||void 0===n||c&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(c,e))continue;let o={delay:i,elapsed:0,...er(s||{},e)};if(window.HandoffAppearAnimations){let i=t.getProps()[h];if(i){let t=window.HandoffAppearAnimations(i,e,r,th.Gt);null!==t&&(o.elapsed=t,o.isHandoff=!0)}}let d=!o.isHandoff&&!function(t,e){let i=t.get();if(!Array.isArray(e))return i!==e;for(let t=0;t<e.length;t++)if(e[t]!==i)return!0}(r,n);if("spring"===o.type&&(r.getVelocity()||o.velocity)&&(d=!1),r.animation&&(d=!1),d)continue;r.start(es(e,r,n,t.shouldReduceMotion&&M.has(e)?{type:!1}:o));let p=r.animation;eo(l)&&(l.add(e),p.then(()=>l.remove(e))),u.push(p)}return o&&Promise.all(u).then(()=>{o&&em(t,o)}),u}function ev(t,e,i={}){let r=tI(t,e,i.custom),{transition:n=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(n=i.transitionOverride);let s=r?()=>Promise.all(ef(t,r,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=n;return function(t,e,i=0,r=0,n=1,s){let o=[],a=(t.variantChildren.size-1)*r,l=1===n?(t=0)=>t*r:(t=0)=>a-t*r;return Array.from(t.variantChildren).sort(eg).forEach((t,r)=>{t.notify("AnimationStart",e),o.push(ev(t,e,{...s,delay:i+l(r)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,s+r,o,a,i)}:()=>Promise.resolve(),{when:a}=n;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}function eg(t,e){return t.sortNodePosition(e)}let ey=[...m].reverse(),ex=m.length;function eP(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}class eb extends tT{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>ev(t,e,i)));else if("string"==typeof e)r=ev(t,e,i);else{let n="function"==typeof e?tI(t,e,i.custom):e;r=Promise.all(ef(t,n,i))}return r.then(()=>t.notify("AnimationComplete",e))})(t,e,i))),i={animate:eP(!0),whileInView:eP(),whileHover:eP(),whileTap:eP(),whileDrag:eP(),whileFocus:eP(),exit:eP()},r=!0,n=(e,i)=>{let r=tI(t,i);if(r){let{transition:t,transitionEnd:i,...n}=r;e={...e,...n,...i}}return e};function s(s,o){let a=t.getProps(),l=t.getVariantContext(!0)||{},u=[],h=new Set,c={},m=1/0;for(let e=0;e<ex;e++){var f,v;let g=ey[e],y=i[g],x=void 0!==a[g]?a[g]:l[g],P=d(x),b=g===o?y.isActive:null;!1===b&&(m=e);let w=x===l[g]&&x!==a[g]&&P;if(w&&r&&t.manuallyAnimateOnMount&&(w=!1),y.protectedKeys={...c},!y.isActive&&null===b||!x&&!y.prevProp||p(x)||"boolean"==typeof x)continue;let A=(f=y.prevProp,("string"==typeof(v=x)?v!==f:!!Array.isArray(v)&&!tU(v,f))||g===o&&y.isActive&&!w&&P||e>m&&P),T=!1,S=Array.isArray(x)?x:[x],V=S.reduce(n,{});!1===b&&(V={});let{prevResolvedValues:E={}}=y,C={...E,...V},M=t=>{A=!0,h.has(t)&&(T=!0,h.delete(t)),y.needsAnimating[t]=!0};for(let t in C){let e=V[t],i=E[t];if(c.hasOwnProperty(t))continue;let r=!1;(ts(e)&&ts(i)?tU(e,i):e===i)?void 0!==e&&h.has(t)?M(t):y.protectedKeys[t]=!0:void 0!==e?M(t):h.add(t)}y.prevProp=x,y.prevResolvedValues=V,y.isActive&&(c={...c,...V}),r&&t.blockInitialAnimation&&(A=!1),A&&(!w||T)&&u.push(...S.map(t=>({animation:t,options:{type:g,...s}})))}if(h.size){let e={};h.forEach(i=>{let r=t.getBaseTarget(i);void 0!==r&&(e[i]=r)}),u.push({animation:e})}let g=!!u.length;return r&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(g=!1),r=!1,g?e(u):Promise.resolve()}return{animateChanges:s,setActive:function(e,r,n){var o;if(i[e].isActive===r)return Promise.resolve();null==(o=t.variantChildren)||o.forEach(t=>{var i;return null==(i=t.animationState)?void 0:i.setActive(e,r)}),i[e].isActive=r;let a=s(n,e);for(let t in i)i[t].protectedKeys={};return a},setAnimateFunction:function(i){e=i(t)},getState:()=>i}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();this.unmount(),p(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){}}let ew=0;class eA extends tT{constructor(){super(...arguments),this.id=ew++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e,custom:i}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;let n=this.node.animationState.setActive("exit",!t,{custom:null!=i?i:this.node.getProps().custom});e&&!t&&n.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}let eT=(t,e)=>Math.abs(t-e);class eS{constructor(t,e,{transformPagePoint:i,contextWindow:r,dragSnapToOrigin:n=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=eC(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(eT(t.x,e.x)**2+eT(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!i)return;let{point:r}=t,{timestamp:n}=th.uv;this.history.push({...r,timestamp:n});let{onStart:s,onMove:o}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=eV(e,this.transformPagePoint),th.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=eC("pointercancel"===t.type?this.lastMoveEventInfo:eV(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),r&&r(t,s)},!tm(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.contextWindow=r||window;let s=eV(tf(t),this.transformPagePoint),{point:o}=s,{timestamp:a}=th.uv;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,eC(s,this.history)),this.removeListeners=(0,ty.F)(tg(this.contextWindow,"pointermove",this.handlePointerMove),tg(this.contextWindow,"pointerup",this.handlePointerUp),tg(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,th.WG)(this.updatePoint)}}function eV(t,e){return e?{point:e(t.point)}:t}function eE(t,e){return{x:t.x-e.x,y:t.y-e.y}}function eC({point:t},e){return{point:t,delta:eE(t,eM(e)),offset:eE(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,r=null,n=eM(t);for(;i>=0&&(r=t[i],!(n.timestamp-r.timestamp>(0,tG.f)(.1)));)i--;if(!r)return{x:0,y:0};let s=(0,tG.X)(n.timestamp-r.timestamp);if(0===s)return{x:0,y:0};let o={x:(n.x-r.x)/s,y:(n.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function eM(t){return t[t.length-1]}var ej=i(37595),ek=i(96834);function eD(t){return t.max-t.min}function eL(t,e=0,i=.01){return Math.abs(t-e)<=i}function eR(t,e,i,r=.5){t.origin=r,t.originPoint=(0,ek.j)(e.min,e.max,t.origin),t.scale=eD(i)/eD(e),(eL(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=(0,ek.j)(i.min,i.max,t.origin)-t.originPoint,(eL(t.translate)||isNaN(t.translate))&&(t.translate=0)}function eF(t,e,i,r){eR(t.x,e.x,i.x,r?r.originX:void 0),eR(t.y,e.y,i.y,r?r.originY:void 0)}function eB(t,e,i){t.min=i.min+e.min,t.max=t.min+eD(e)}function eO(t,e,i){t.min=e.min-i.min,t.max=t.min+eD(e)}function eU(t,e,i){eO(t.x,e.x,i.x),eO(t.y,e.y,i.y)}var eI=i(94349);function eN(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function eG(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,r]=[r,i]),{min:i,max:r}}function e$(t,e,i){return{min:eW(t,e),max:eW(t,i)}}function eW(t,e){return"number"==typeof t?t:t[e]||0}let eq=()=>({translate:0,scale:1,origin:0,originPoint:0}),eX=()=>({x:eq(),y:eq()}),eH=()=>({min:0,max:0}),ez=()=>({x:eH(),y:eH()});function eY(t){return[t("x"),t("y")]}function eK({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}function eZ(t){return void 0===t||1===t}function eQ({scale:t,scaleX:e,scaleY:i}){return!eZ(t)||!eZ(e)||!eZ(i)}function e_(t){return eQ(t)||eJ(t)||t.z||t.rotate||t.rotateX||t.rotateY}function eJ(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function e0(t,e,i,r,n){return void 0!==n&&(t=r+n*(t-r)),r+i*(t-r)+e}function e1(t,e=0,i=1,r,n){t.min=e0(t.min,e,i,r,n),t.max=e0(t.max,e,i,r,n)}function e2(t,{x:e,y:i}){e1(t.x,e.translate,e.scale,e.originPoint),e1(t.y,i.translate,i.scale,i.originPoint)}function e5(t){return Number.isInteger(t)||t>1.0000000000001||t<.999999999999?t:1}function e3(t,e){t.min=t.min+e,t.max=t.max+e}function e9(t,e,[i,r,n]){let s=void 0!==e[n]?e[n]:.5,o=(0,ek.j)(t.min,t.max,s);e1(t,e[i],e[r],o,e.scale)}let e4=["x","scaleX","originX"],e6=["y","scaleY","originY"];function e8(t,e){e9(t.x,e,e4),e9(t.y,e,e6)}function e7(t,e){return eK(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}let it=({current:t})=>t?t.ownerDocument.defaultView:null,ie=new WeakMap;class ii{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ez(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let{dragSnapToOrigin:r}=this.getProps();this.panSession=new eS(t,{onSessionStart:t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(tf(t,"page").point)},onStart:(t,e)=>{let{drag:i,dragPropagation:r,onDragStart:n}=this.getProps();if(i&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=tw(i),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),eY(t=>{let e=this.getAxisMotionValue(t).get()||0;if(O.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];r&&(e=eD(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&th.Gt.update(()=>n(t,e),!1,!0);let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:n,onDrag:s}=this.getProps();if(!i&&!this.openGlobalLock)return;let{offset:o}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>eY(t=>{var e;return"paused"===this.getAnimationState(t)&&(null==(e=this.getAxisMotionValue(t).animation)?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:it(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:r}=e;this.startAnimation(r);let{onDragEnd:n}=this.getProps();n&&th.Gt.update(()=>n(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:r}=this.getProps();if(!i||!ir(t,r,this.currentDirection))return;let n=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},r){return void 0!==e&&t<e?t=r?(0,ek.j)(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?(0,ek.j)(i,t,r.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),n.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(t=this.visualElement.projection)?void 0:t.layout,n=this.constraints;e&&c(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(t,{top:e,left:i,bottom:r,right:n}){return{x:eN(t.x,i,n),y:eN(t.y,e,r)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:e$(t,"left","right"),y:e$(t,"top","bottom")}}(i),n!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&eY(t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(r.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!c(e))return!1;let r=e.current;(0,tN.V)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let s=function(t,e,i){let r=e7(t,i),{scroll:n}=e;return n&&(e3(r.x,n.offset.x),e3(r.y,n.offset.y)),r}(r,n.root,this.visualElement.getTransformPagePoint()),o=(t=n.layout.layoutBox,{x:eG(t.x,s.x),y:eG(t.y,s.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=eK(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:r,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(eY(o=>{if(!ir(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return i.start(es(t,i,0,e))}stopAnimation(){eY(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){eY(t=>{var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.pause()})}getAnimationState(t){var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.state}getAxisMotionValue(t){let e="_drag"+t.toUpperCase(),i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){eY(e=>{let{drag:i}=this.getProps();if(!ir(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,n=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:s}=r.layout.layoutBox[e];n.set(t[e]-(0,ek.j)(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!c(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};eY(t=>{let e=this.getAxisMotionValue(t);if(e){let i=e.get();r[t]=function(t,e){let i=.5,r=eD(t),n=eD(e);return n>r?i=(0,ej.q)(e.min,e.max-r,t.min):r>n&&(i=(0,ej.q)(t.min,t.max-n,e.min)),(0,eI.q)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),eY(e=>{if(!ir(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:s}=this.constraints[e];i.set((0,ek.j)(n,s,r[e]))})}addListeners(){if(!this.visualElement.current)return;ie.set(this.visualElement,this);let t=tg(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();c(t)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),e();let n=tp(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(eY(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{n(),t(),r(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function ir(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class is extends tT{constructor(t){super(t),this.removeGroupControls=tM.l,this.removeListeners=tM.l,this.controls=new ii(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tM.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let io=t=>(e,i)=>{t&&th.Gt.update(()=>t(e,i))};class ia extends tT{constructor(){super(...arguments),this.removePointerDownListener=tM.l}onPointerDown(t){this.session=new eS(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:it(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:io(t),onStart:io(e),onMove:i,onEnd:(t,e)=>{delete this.session,r&&th.Gt.update(()=>r(t,e))}}}mount(){this.removePointerDownListener=tg(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let il={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function iu(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let ih={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!O.px.test(t))return t;else t=parseFloat(t);let i=iu(t,e.target.x),r=iu(t,e.target.y);return`${i}% ${r}%`}};class ic extends r.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:n}=t;Object.assign(E,ip),n&&(e.group&&e.group.add(n),i&&i.register&&r&&i.register(n),n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),il.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:n}=this.props,s=i.projection;return s&&(s.isPresent=n,r||t.layoutDependency!==e||void 0===e?s.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?s.promote():s.relegate()||th.Gt.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function id(t){let[e,i]=function(){let t=(0,r.useContext)(o.t);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:i,register:n}=t,s=(0,r.useId)();return(0,r.useEffect)(()=>n(s),[]),!e&&i?[!1,()=>i&&i(s)]:[!0]}(),n=(0,r.useContext)(w.L);return r.createElement(ic,{...t,layoutGroup:n,switchLayoutGroup:(0,r.useContext)(A),isPresent:e,safeToRemove:i})}let ip={borderRadius:{...ih,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ih,borderTopRightRadius:ih,borderBottomLeftRadius:ih,borderBottomRightRadius:ih,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=t1.f.parse(t);if(r.length>5)return t;let n=t1.f.createTransformer(t),s=+("number"!=typeof r[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;r[0+s]/=o,r[1+s]/=a;let l=(0,ek.j)(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),n(r)}}};var im=i(10223),iv=i(77801);let ig=["TopLeft","TopRight","BottomLeft","BottomRight"],iy=ig.length,ix=t=>"string"==typeof t?parseFloat(t):t,iP=t=>"number"==typeof t||O.px.test(t);function ib(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let iw=iT(0,.5,iv.yT),iA=iT(.5,.95,tM.l);function iT(t,e,i){return r=>r<t?0:r>e?1:i((0,ej.q)(t,e,r))}function iS(t,e){t.min=e.min,t.max=e.max}function iV(t,e){iS(t.x,e.x),iS(t.y,e.y)}function iE(t,e,i,r,n){return t-=e,t=r+1/i*(t-r),void 0!==n&&(t=r+1/n*(t-r)),t}function iC(t,e,[i,r,n],s,o){!function(t,e=0,i=1,r=.5,n,s=t,o=t){if(O.KN.test(e)&&(e=parseFloat(e),e=(0,ek.j)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,ek.j)(s.min,s.max,r);t===s&&(a-=e),t.min=iE(t.min,e,i,a,n),t.max=iE(t.max,e,i,a,n)}(t,e[i],e[r],e[n],e.scale,s,o)}let iM=["x","scaleX","originX"],ij=["y","scaleY","originY"];function ik(t,e,i,r){iC(t.x,e,iM,i?i.x:void 0,r?r.x:void 0),iC(t.y,e,ij,i?i.y:void 0,r?r.y:void 0)}function iD(t){return 0===t.translate&&1===t.scale}function iL(t){return iD(t.x)&&iD(t.y)}function iR(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function iF(t){return eD(t.x)/eD(t.y)}var iB=i(40215);class iO{constructor(){this.members=[]}add(t){(0,iB.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,iB.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:r}=t.options;!1===r&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function iU(t,e,i){let r="",n=t.x.translate/e.x,s=t.y.translate/e.y;if((n||s)&&(r=`translate3d(${n}px, ${s}px, 0) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),i){let{rotate:t,rotateX:e,rotateY:n}=i;t&&(r+=`rotate(${t}deg) `),e&&(r+=`rotateX(${e}deg) `),n&&(r+=`rotateY(${n}deg) `)}let o=t.x.scale*e.x,a=t.y.scale*e.y;return(1!==o||1!==a)&&(r+=`scale(${o}, ${a})`),r||"none"}let iI=(t,e)=>t.depth-e.depth;class iN{constructor(){this.children=[],this.isDirty=!1}add(t){(0,iB.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,iB.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(iI),this.isDirty=!1,this.children.forEach(t)}}let iG=["","X","Y","Z"],i$={visibility:"hidden"},iW=0,iq={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function iX({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(t={},i=null==e?void 0:e()){this.id=iW++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,iq.totalNodes=iq.resolvedTargetDeltas=iq.recalculatedProjection=0,this.nodes.forEach(iY),this.nodes.forEach(i1),this.nodes.forEach(i2),this.nodes.forEach(iK),window.MotionDebug&&window.MotionDebug.record(iq)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new iN)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new im.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:r,layout:n,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(n||r)&&(this.isLayoutDirty=!0),t){let i,r=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=performance.now(),r=({timestamp:e})=>{let n=e-i;n>=250&&((0,th.WG)(r),t(n-250))};return th.Gt.read(r,!0),()=>(0,th.WG)(r)}(r,250),il.hasAnimatedSinceResize&&(il.hasAnimatedSinceResize=!1,this.nodes.forEach(i0))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||s.getDefaultTransition()||i8,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!iR(this.targetLayout,r)||i,u=!e&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...er(n,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||i0(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,th.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(i5),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(iQ);return}this.isUpdating||this.nodes.forEach(i_),this.isUpdating=!1,this.nodes.forEach(iJ),this.nodes.forEach(iH),this.nodes.forEach(iz),this.clearAllSnapshots();let t=performance.now();th.uv.delta=(0,eI.q)(0,1e3/60,t-th.uv.timestamp),th.uv.timestamp=t,th.uv.isProcessing=!0,th.Ci.update.process(th.uv),th.Ci.preRender.process(th.uv),th.Ci.render.process(th.uv),th.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(iZ),this.sharedNodes.forEach(i3)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,th.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){th.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ez(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&(this.scroll={animationId:this.root.animationId,phase:t,isRoot:r(this.instance),offset:i(this.instance)})}resetTransform(){if(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform,e=this.projectionDelta&&!iL(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;t&&(e||e_(this.latestValues)||s)&&(n(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),r=this.removeElementScroll(i);return t&&(r=this.removeTransform(r)),re((e=r).x),re(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return ez();let e=t.measureViewportBox(),{scroll:i}=this.root;return i&&(e3(e.x,i.offset.x),e3(e.y,i.offset.y)),e}removeElementScroll(t){let e=ez();iV(e,t);for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:n,options:s}=r;if(r!==this.root&&n&&s.layoutScroll){if(n.isRoot){iV(e,t);let{scroll:i}=this.root;i&&(e3(e.x,-i.offset.x),e3(e.y,-i.offset.y))}e3(e.x,n.offset.x),e3(e.y,n.offset.y)}}return e}applyTransform(t,e=!1){let i=ez();iV(i,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&e8(i,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),e_(r.latestValues)&&e8(i,r.latestValues)}return e_(this.latestValues)&&e8(i,this.latestValues),i}removeTransform(t){let e=ez();iV(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!e_(i.latestValues))continue;eQ(i.latestValues)&&i.updateSnapshot();let r=ez();iV(r,i.measurePageBox()),ik(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,r)}return e_(this.latestValues)&&ik(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==th.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,i,r,n;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isSharedProjectionDirty);let o=!!this.resumingFrom||this!==s;if(!(t||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(e=this.parent)?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=th.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ez(),this.relativeTargetOrigin=ez(),eU(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),iV(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=ez(),this.targetWithTransforms=ez()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,r=this.relativeTarget,n=this.relativeParent.target,eB(i.x,r.x,n.x),eB(i.y,r.y,n.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):iV(this.target,this.layout.layoutBox),e2(this.target,this.targetDelta)):iV(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ez(),this.relativeTargetOrigin=ez(),eU(this.relativeTargetOrigin,this.target,t.target),iV(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}iq.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||eQ(this.parent.latestValues)||eJ(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty))&&(r=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===th.uv.timestamp&&(r=!1),r)return;let{layout:n,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||s))return;iV(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;!function(t,e,i,r=!1){let n,s,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(n=i[a]).projectionDelta;let o=n.instance;(!o||!o.style||"contents"!==o.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&e8(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,e2(t,s)),r&&e_(n.latestValues)&&e8(t,n.latestValues))}e.x=e5(e.x),e.y=e5(e.y)}}(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox);let{target:l}=e;if(!l){this.projectionTransform&&(this.projectionDelta=eX(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=eX(),this.projectionDeltaWithTransform=eX());let u=this.projectionTransform;eF(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=iU(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==o||this.treeScale.y!==a)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),iq.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t,e=!1){let i,r=this.snapshot,n=r?r.latestValues:{},s={...this.latestValues},o=eX();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=ez(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(i6));this.animationProgress=0,this.mixTargetDelta=e=>{let r=e/1e3;if(i9(o.x,t.x,r),i9(o.y,t.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,m,f,v;eU(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=a,v=r,i4(p.x,m.x,f.x,v),i4(p.y,m.y,f.y,v),i&&(u=this.relativeTarget,d=i,u.x.min===d.x.min&&u.x.max===d.x.max&&u.y.min===d.y.min&&u.y.max===d.y.max)&&(this.isProjectionDirty=!1),i||(i=ez()),iV(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,r,n,s){n?(t.opacity=(0,ek.j)(0,void 0!==i.opacity?i.opacity:1,iw(r)),t.opacityExit=(0,ek.j)(void 0!==e.opacity?e.opacity:1,0,iA(r))):s&&(t.opacity=(0,ek.j)(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,r));for(let n=0;n<iy;n++){let s=`border${ig[n]}Radius`,o=ib(e,s),a=ib(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||iP(o)===iP(a)?(t[s]=Math.max((0,ek.j)(ix(o),ix(a),r),0),(O.KN.test(a)||O.KN.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,ek.j)(e.rotate||0,i.rotate||0,r))}(s,n,this.latestValues,r,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,th.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=th.Gt.update(()=>{il.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,i){let r=(0,k.S)(0)?0:(0,el.OQ)(t);return r.start(es("",r,1e3,i)),r.animation}(0,0,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:r,latestValues:n}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&ri(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||ez();let e=eD(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=eD(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}iV(e,i),e8(e,n),eF(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new iO),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null==(t=this.getStack())?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null==(t=this.getStack())?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.rotate||i.rotateX||i.rotateY||i.rotateZ)&&(e=!0),!e)return;let r={};for(let e=0;e<iG.length;e++){let n="rotate"+iG[e];i[n]&&(r[n]=i[n],t.setStaticValue(n,0))}for(let e in t.render(),r)t.setStaticValue(e,r[e]);t.scheduleRender()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return i$;let r={visibility:""},n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=tl(null==t?void 0:t.pointerEvents)||"",r.transform=n?n(this.latestValues,""):"none",r;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=tl(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!e_(this.latestValues)&&(e.transform=n?n({},""):"none",this.hasProjected=!1),e}let o=s.animationValues||s.latestValues;this.applyTransformsToTarget(),r.transform=iU(this.projectionDeltaWithTransform,this.treeScale,o),n&&(r.transform=n(o,r.transform));let{x:a,y:l}=this.projectionDelta;for(let t in r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,s.animationValues?r.opacity=s===this?null!=(i=null!=(e=o.opacity)?e:this.latestValues.opacity)?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:r.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,E){if(void 0===o[t])continue;let{correct:e,applyTo:i}=E[t],n="none"===r.transform?o[t]:e(o[t],s);if(i){let t=i.length;for(let e=0;e<t;e++)r[i[e]]=n}else r[t]=n}return this.options.layoutId&&(r.pointerEvents=s===this?tl(null==t?void 0:t.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null==(e=t.currentAnimation)?void 0:e.stop()}),this.root.nodes.forEach(iQ),this.root.sharedNodes.clear()}}}function iH(t){t.updateLayout()}function iz(t){var e;let i=(null==(e=t.resumeFrom)?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:r}=t.layout,{animationType:n}=t.options,s=i.source!==t.layout.source;"size"===n?eY(t=>{let r=s?i.measuredBox[t]:i.layoutBox[t],n=eD(r);r.min=e[t].min,r.max=r.min+n}):ri(n,i.layoutBox,e)&&eY(r=>{let n=s?i.measuredBox[r]:i.layoutBox[r],o=eD(e[r]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=eX();eF(o,e,i.layoutBox);let a=eX();s?eF(a,t.applyTransform(r,!0),i.measuredBox):eF(a,e,i.layoutBox);let l=!iL(o),u=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let o=ez();eU(o,i.layoutBox,n.layoutBox);let a=ez();eU(a,e,s.layoutBox),iR(o,a)||(u=!0),r.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function iY(t){iq.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function iK(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function iZ(t){t.clearSnapshot()}function iQ(t){t.clearMeasurements()}function i_(t){t.isLayoutDirty=!1}function iJ(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function i0(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function i1(t){t.resolveTargetDelta()}function i2(t){t.calcProjection()}function i5(t){t.resetRotation()}function i3(t){t.removeLeadSnapshot()}function i9(t,e,i){t.translate=(0,ek.j)(e.translate,0,i),t.scale=(0,ek.j)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function i4(t,e,i,r){t.min=(0,ek.j)(e.min,i.min,r),t.max=(0,ek.j)(e.max,i.max,r)}function i6(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let i8={duration:.45,ease:[.4,0,.1,1]},i7=t=>"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().includes(t),rt=i7("applewebkit/")&&!i7("chrome/")?Math.round:tM.l;function re(t){t.min=rt(t.min),t.max=rt(t.max)}function ri(t,e,i){return"position"===t||"preserve-aspect"===t&&!eL(iF(e),iF(i),.2)}let rr=iX({attachResizeListener:(t,e)=>tp(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),rn={current:void 0},rs=iX({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!rn.current){let t=new rr({});t.mount(window),t.setOptions({layoutScroll:!0}),rn.current=t}return rn.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position}),ro=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function ra(t,e,i=1){(0,tN.V)(i<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[r,n]=function(t){let e=ro.exec(t);if(!e)return[,];let[,i,r]=e;return[i,r]}(t);if(!r)return;let s=window.getComputedStyle(e).getPropertyValue(r);if(s){let t=s.trim();return ea(t)?parseFloat(t):t}return(0,R.pG)(n)?ra(n,e,i+1):n}let rl=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),ru=t=>rl.has(t),rh=t=>Object.keys(t).some(ru),rc=t=>t===B.ai||t===O.px,rd=(t,e)=>parseFloat(t.split(", ")[e]),rp=(t,e)=>(i,{transform:r})=>{if("none"===r||!r)return 0;let n=r.match(/^matrix3d\((.+)\)$/);if(n)return rd(n[1],e);{let e=r.match(/^matrix\((.+)\)$/);return e?rd(e[1],t):0}},rm=new Set(["x","y","z"]),rf=C.filter(t=>!rm.has(t)),rv={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:rp(4,13),y:rp(5,14)};rv.translateX=rv.x,rv.translateY=rv.y;let rg=(t,e,i)=>{let r=e.measureViewportBox(),n=getComputedStyle(e.current),{display:s}=n,o={};"none"===s&&e.setStaticValue("display",t.display||"block"),i.forEach(t=>{o[t]=rv[t](r,n)}),e.render();let a=e.measureViewportBox();return i.forEach(i=>{let r=e.getValue(i);r&&r.jump(o[i]),t[i]=rv[i](a,n)}),t},ry=(t,e,i={},r={})=>{e={...e},r={...r};let n=Object.keys(e).filter(ru),s=[],o=!1,a=[];if(n.forEach(n=>{let l,u=t.getValue(n);if(!t.hasValue(n))return;let h=i[n],c=ec(h),d=e[n];if(ts(d)){let t=d.length,e=+(null===d[0]);c=ec(h=d[e]);for(let i=e;i<t&&null!==d[i];i++)l?(0,tN.V)(ec(d[i])===l,"All keyframes must be of the same type"):(l=ec(d[i]),(0,tN.V)(l===c||rc(c)&&rc(l),"Keyframes must be of the same dimension as the current value"))}else l=ec(d);if(c!==l)if(rc(c)&&rc(l)){let t=u.get();"string"==typeof t&&u.set(parseFloat(t)),"string"==typeof d?e[n]=parseFloat(d):Array.isArray(d)&&l===O.px&&(e[n]=d.map(parseFloat))}else(null==c?void 0:c.transform)&&(null==l?void 0:l.transform)&&(0===h||0===d)?0===h?u.set(l.transform(h)):e[n]=c.transform(d):(o||(s=function(t){let e=[];return rf.forEach(i=>{let r=t.getValue(i);void 0!==r&&(e.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),e.length&&t.render(),e}(t),o=!0),a.push(n),r[n]=void 0!==r[n]?r[n]:e[n],u.jump(d))}),!a.length)return{target:e,transitionEnd:r};{let i=a.indexOf("height")>=0?window.pageYOffset:null,n=rg(e,t,a);return s.length&&s.forEach(([e,i])=>{t.getValue(e).set(i)}),t.render(),b.B&&null!==i&&window.scrollTo({top:i}),{target:n,transitionEnd:r}}},rx=(t,e,i,r)=>{let n=function(t,{...e},i){let r=t.current;if(!(r instanceof Element))return{target:e,transitionEnd:i};for(let n in i&&(i={...i}),t.values.forEach(t=>{let e=t.get();if(!(0,R.pG)(e))return;let i=ra(e,r);i&&t.set(i)}),e){let t=e[n];if(!(0,R.pG)(t))continue;let s=ra(t,r);s&&(e[n]=s,i||(i={}),void 0===i[n]&&(i[n]=t))}return{target:e,transitionEnd:i}}(t,e,r);return function(t,e,i,r){return rh(e)?ry(t,e,i,r):{target:e,transitionEnd:r}}(t,e=n.target,i,r=n.transitionEnd)},rP={current:null},rb={current:!1},rw=new WeakMap,rA=Object.keys(P),rT=rA.length,rS=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],rV=f.length;class rE{constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,visualState:n},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>th.Gt.render(this.render,!1,!0);let{latestValues:o,renderState:a}=n;this.latestValues=o,this.baseTarget={...o},this.initialValues=e.initial?{...o}:{},this.renderState=a,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=s,this.isControllingVariants=v(e),this.isVariantNode=g(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:l,...u}=this.scrapeMotionValuesFromProps(e,{});for(let t in u){let e=u[t];void 0!==o[t]&&(0,k.S)(e)&&(e.set(o[t],!1),eo(l)&&l.add(t))}}scrapeMotionValuesFromProps(t,e){return{}}mount(t){this.current=t,rw.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),rb.current||function(){if(rb.current=!0,b.B)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>rP.current=t.matches;t.addListener(e),e()}else rP.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||rP.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in rw.delete(this.current),this.projection&&this.projection.unmount(),(0,th.WG)(this.notifyUpdate),(0,th.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,e){let i=M.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&th.Gt.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),n=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{r(),n()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures({children:t,...e},i,r,n){let s,o;for(let t=0;t<rT;t++){let i=rA[t],{isEnabled:r,Feature:n,ProjectionNode:a,MeasureLayout:l}=P[i];a&&(s=a),r(e)&&(!this.features[i]&&n&&(this.features[i]=new n(this)),l&&(o=l))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&s){this.projection=new s(this.latestValues,this.parent&&this.parent.projection);let{layoutId:t,layout:i,drag:r,dragConstraints:o,layoutScroll:a,layoutRoot:l}=e;this.projection.setOptions({layoutId:t,layout:i,alwaysMeasureLayout:!!r||o&&c(o),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof i?i:"both",initialPromotionConfig:n,layoutScroll:a,layoutRoot:l})}return o}updateFeatures(){for(let t in this.features){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ez()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}makeTargetAnimatable(t,e=!0){return this.makeTargetAnimatableFromInstance(t,this.props,e)}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<rS.length;e++){let i=rS[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=function(t,e,i){let{willChange:r}=e;for(let n in e){let s=e[n],o=i[n];if((0,k.S)(s))t.addValue(n,s),eo(r)&&r.add(n);else if((0,k.S)(o))t.addValue(n,(0,el.OQ)(s,{owner:t})),eo(r)&&r.remove(n);else if(o!==s)if(t.hasValue(n)){let e=t.getValue(n);e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(n);t.addValue(n,(0,el.OQ)(void 0!==e?e:s,{owner:t}))}}for(let r in i)void 0===e[r]&&t.removeValue(r);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let t=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(t.initial=this.props.initial),t}let e={};for(let t=0;t<rV;t++){let i=f[t],r=this.props[i];(d(r)||!1===r)&&(e[i]=r)}return e}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){e!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,e)),this.values.set(t,e),this.latestValues[t]=e.get()}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,el.OQ)(e,{owner:this}),this.addValue(t,i)),i}readValue(t){var e;return void 0===this.latestValues[t]&&this.current?null!=(e=this.getBaseTargetFromProps(this.props,t))?e:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t]}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let{initial:i}=this.props,r="string"==typeof i||"object"==typeof i?null==(e=tr(this.props,i))?void 0:e[t]:void 0;if(i&&void 0!==r)return r;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||(0,k.S)(n)?void 0!==this.initialValues[t]&&void 0===r?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new im.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class rC extends rE{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:e,...i},{transformValues:r},n){let s=function(t,e,i){let r={};for(let n in t){let t=function(t,e){if(e)return(e[t]||e.default||e).from}(n,e);if(void 0!==t)r[n]=t;else{let t=i.getValue(n);t&&(r[n]=t.get())}}return r}(i,t||{},this);if(r&&(e&&(e=r(e)),i&&(i=r(i)),s&&(s=r(s))),n){!function(t,e,i){var r,n;let s=Object.keys(e).filter(e=>!t.hasValue(e)),o=s.length;if(o)for(let a=0;a<o;a++){let o=s[a],l=e[o],u=null;Array.isArray(l)&&(u=l[0]),null===u&&(u=null!=(n=null!=(r=i[o])?r:t.readValue(o))?n:e[o]),null!=u&&("string"==typeof u&&(ea(u)||ei(u))?u=parseFloat(u):!ep(u)&&t1.f.test(l)&&(u=ee(o,l)),t.addValue(o,(0,el.OQ)(u,{owner:t})),void 0===i[o]&&(i[o]=u),null!==u&&t.setBaseTarget(o,u))}}(this,i,s);let t=rx(this,i,s,e);e=t.transitionEnd,i=t.target}return{transition:t,transitionEnd:e,...i}}}class rM extends rC{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,e){if(M.has(e)){let t=et(e);return t&&t.default||0}{let i=window.getComputedStyle(t),r=((0,R.j4)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return e7(t,e)}build(t,e,i,r){N(t,e,i,r.transformTemplate)}scrapeMotionValuesFromProps(t,e){return te(t,e)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,k.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(t,e,i,r){_(t,e,i,r)}}class rj extends rC{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(M.has(e)){let t=et(e);return t&&t.default||0}return e=J.has(e)?e:u(e),t.getAttribute(e)}measureInstanceViewportBox(){return ez()}scrapeMotionValuesFromProps(t,e){return ti(t,e)}build(t,e,i,r){K(t,e,i,this.isSVGTag,r.transformTemplate)}renderInstance(t,e,i,r){tt(t,e,i,r)}mount(t){this.isSVGTag=Q(t.tagName),super.mount(t)}}let rk=(t,e)=>V(t)?new rj(e,{enableHardwareAcceleration:!1}):new rM(e,{enableHardwareAcceleration:!0}),rD={animation:{Feature:eb},exit:{Feature:eA},inView:{Feature:tO},tap:{Feature:tk},focus:{Feature:tE},hover:{Feature:tV},pan:{Feature:ia},drag:{Feature:is,ProjectionNode:rs,MeasureLayout:id},layout:{ProjectionNode:rs,MeasureLayout:id}},rL=function(t){function e(i,u={}){return function({preloadedFeatures:t,createVisualElement:e,useRender:i,useVisualState:u,Component:p}){t&&function(t){for(let e in t)P[e]={...P[e],...t[e]}}(t);let m=(0,r.forwardRef)(function(m,f){var g;let x,P={...(0,r.useContext)(n.Q),...m,layoutId:function({layoutId:t}){let e=(0,r.useContext)(w.L).id;return e&&void 0!==t?e+"-"+t:t}(m)},{isStatic:T}=P,S=function(t){let{initial:e,animate:i}=function(t,e){if(v(t)){let{initial:e,animate:i}=t;return{initial:!1===e||d(e)?e:void 0,animate:d(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,r.useContext)(s));return(0,r.useMemo)(()=>({initial:e,animate:i}),[y(e),y(i)])}(m),V=u(m,T);if(!T&&b.B){S.visualElement=function(t,e,i,u){let{visualElement:c}=(0,r.useContext)(s),d=(0,r.useContext)(l),p=(0,r.useContext)(o.t),m=(0,r.useContext)(n.Q).reducedMotion,f=(0,r.useRef)();u=u||d.renderer,!f.current&&u&&(f.current=u(t,{visualState:e,parent:c,props:i,presenceContext:p,blockInitialAnimation:!!p&&!1===p.initial,reducedMotionConfig:m}));let v=f.current;(0,r.useInsertionEffect)(()=>{v&&v.update(i,p)});let g=(0,r.useRef)(!!(i[h]&&!window.HandoffComplete));return(0,a.E)(()=>{v&&(v.render(),g.current&&v.animationState&&v.animationState.animateChanges())}),(0,r.useEffect)(()=>{v&&(v.updateFeatures(),!g.current&&v.animationState&&v.animationState.animateChanges(),g.current&&(g.current=!1,window.HandoffComplete=!0))}),v}(p,V,P,e);let i=(0,r.useContext)(A),u=(0,r.useContext)(l).strict;S.visualElement&&(x=S.visualElement.loadFeatures(P,u,t,i))}return r.createElement(s.Provider,{value:S},x&&S.visualElement?r.createElement(x,{visualElement:S.visualElement,...P}):null,i(p,m,(g=S.visualElement,(0,r.useCallback)(t=>{t&&V.mount&&V.mount(t),g&&(t?g.mount(t):g.unmount()),f&&("function"==typeof f?f(t):c(f)&&(f.current=t))},[g])),V,T,S.visualElement))});return m[T]=p,m}(t(i,u))}if("undefined"==typeof Proxy)return e;let i=new Map;return new Proxy(e,{get:(t,r)=>(i.has(r)||i.set(r,e(r)),i.get(r))})}((t,e)=>(function(t,{forwardMotionProps:e=!1},i,n){return{...V(t)?tc:td,preloadedFeatures:i,useRender:function(t=!1){return(e,i,n,{latestValues:s},o)=>{let a=(V(e)?function(t,e,i,n){let s=(0,r.useMemo)(()=>{let i=Z();return K(i,e,{enableHardwareAcceleration:!1},Q(n),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};$(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e,i){let n={},s=function(t,e,i){let n=t.style||{},s={};return $(s,n,t),Object.assign(s,function({transformTemplate:t},e,i){return(0,r.useMemo)(()=>{let r=G();return N(r,e,{enableHardwareAcceleration:!i},t),Object.assign({},r.vars,r.style)},[e])}(t,e,i)),t.transformValues?t.transformValues(s):s}(t,e,i);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=s,n})(i,s,o,e),l={...function(t,e,i){let r={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&(X(n)||!0===i&&q(n)||!e&&!q(n)||t.draggable&&n.startsWith("onDrag"))&&(r[n]=t[n]);return r}(i,"string"==typeof e,t),...a,ref:n},{children:u}=i,h=(0,r.useMemo)(()=>(0,k.S)(u)?u.get():u,[u]);return(0,r.createElement)(e,{...l,children:h})}}(e),createVisualElement:n,Component:t}})(t,e,rD,rk))},37595:(t,e,i)=>{i.d(e,{q:()=>r});let r=(t,e,i)=>{let r=e-t;return 0===r?1:(i-t)/r}},39751:(t,e,i)=>{i.d(e,{Q:()=>r});let r=(0,i(14232).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},40215:(t,e,i)=>{function r(t,e){-1===t.indexOf(e)&&t.push(e)}function n(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{Ai:()=>n,Kq:()=>r})},40597:(t,e,i)=>{i.d(e,{j4:()=>n,pG:()=>s,z2:()=>o});let r=t=>e=>"string"==typeof e&&e.startsWith(t),n=r("--"),s=r("var(--"),o=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g},42178:(t,e,i)=>{i.d(e,{WG:()=>a,Gt:()=>o,uv:()=>l,Ci:()=>u});var r=i(80046);class n{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){let e=this.order.indexOf(t);-1!==e&&(this.order.splice(e,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}let s=["prepare","read","update","preRender","render","postRender"],{schedule:o,cancel:a,state:l,steps:u}=function(t,e){let i=!1,r=!0,o={delta:0,timestamp:0,isProcessing:!1},a=s.reduce((t,e)=>(t[e]=function(t){let e=new n,i=new n,r=0,s=!1,o=!1,a=new WeakSet,l={schedule:(t,n=!1,o=!1)=>{let l=o&&s,u=l?e:i;return n&&a.add(t),u.add(t)&&l&&s&&(r=e.order.length),t},cancel:t=>{i.remove(t),a.delete(t)},process:n=>{if(s){o=!0;return}if(s=!0,[e,i]=[i,e],i.clear(),r=e.order.length)for(let i=0;i<r;i++){let r=e.order[i];r(n),a.has(r)&&(l.schedule(r),t())}s=!1,o&&(o=!1,l.process(n))}};return l}(()=>i=!0),t),{}),l=t=>a[t].process(o),u=()=>{let n=performance.now();i=!1,o.delta=r?1e3/60:Math.max(Math.min(n-o.timestamp,40),1),o.timestamp=n,o.isProcessing=!0,s.forEach(l),o.isProcessing=!1,i&&e&&(r=!1,t(u))},h=()=>{i=!0,r=!0,o.isProcessing||t(u)};return{schedule:s.reduce((t,e)=>{let r=a[e];return t[e]=(t,e=!1,n=!1)=>(i||h(),r.schedule(t,e,n)),t},{}),cancel:t=>s.forEach(e=>a[e].cancel(t)),state:o,steps:a}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.l,!0)},49037:(t,e,i)=>{i.d(e,{X4:()=>s,ai:()=>n,hs:()=>o});var r=i(94349);let n={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...n,transform:t=>(0,r.q)(0,1,t)},o={...n,default:1}},50181:(t,e,i)=>{i.d(e,{E:()=>n});var r=i(14232);let n=i(2205).B?r.useLayoutEffect:r.useEffect},62653:(t,e,i)=>{i.d(e,{$:()=>n,q:()=>s});var r=i(10253);let n=(t,e)=>i=>!!((0,r.Kg)(i)&&r.Fl.test(i)&&i.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(i,e)),s=(t,e,i)=>n=>{if(!(0,r.Kg)(n))return n;let[s,o,a,l]=n.match(r.SY);return{[t]:parseFloat(s),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},62919:(t,e,i)=>{i.d(e,{$:()=>n,V:()=>s});var r=i(80046);let n=r.l,s=r.l},77801:(t,e,i)=>{i.d(e,{po:()=>s,tn:()=>a,yT:()=>o});var r=i(30904),n=i(21419);let s=t=>1-Math.sin(Math.acos(t)),o=(0,n.G)(s),a=(0,r.V)(s)},80046:(t,e,i)=>{i.d(e,{l:()=>r});let r=t=>t},82981:(t,e,i)=>{i.d(e,{S:()=>r});let r=t=>!!(t&&t.getVelocity)},90280:(t,e,i)=>{i.d(e,{OQ:()=>u});var r=i(10223),n=i(1856),s=i(42178);let o=t=>!isNaN(parseFloat(t)),a={current:void 0};class l{constructor(t,e={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(t,e=!0)=>{this.prev=this.current,this.current=t;let{delta:i,timestamp:r}=s.uv;this.lastUpdated!==r&&(this.timeDelta=i,this.lastUpdated=r,s.Gt.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>s.Gt.postRender(this.velocityCheck),this.velocityCheck=({timestamp:t})=>{t!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=o(this.current),this.owner=e.owner}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new r.v);let i=this.events[t].add(e);return"change"===t?()=>{i(),s.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=t,this.timeDelta=i}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,n.f)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(t,e){return new l(t,e)}},91200:(t,e,i)=>{i.d(e,{M:()=>n});var r=i(14232);function n(t){let e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},92338:(t,e,i)=>{i.d(e,{G:()=>V});var r=i(62919),n=i(11614),s=i(94349),o=i(96834);function a(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var l=i(5897),u=i(12562),h=i(28670);let c=(t,e,i)=>{let r=t*t;return Math.sqrt(Math.max(0,i*(e*e-r)+r))},d=[l.u,u.B,h.V],p=t=>d.find(e=>e.test(t));function m(t){let e=p(t);(0,r.V)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`);let i=e.parse(t);return e===h.V&&(i=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let n=0,s=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,l=2*i-r;n=a(l,r,t+1/3),s=a(l,r,t),o=a(l,r,t-1/3)}else n=s=o=i;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(i)),i}let f=(t,e)=>{let i=m(t),r=m(e),n={...i};return t=>(n.red=c(i.red,r.red,t),n.green=c(i.green,r.green,t),n.blue=c(i.blue,r.blue,t),n.alpha=(0,o.j)(i.alpha,r.alpha,t),u.B.transform(n))};var v=i(2926),g=i(30927);let y=(t,e)=>i=>`${i>0?e:t}`;function x(t,e){return"number"==typeof t?i=>(0,o.j)(t,e,i):n.y.test(t)?f(t,e):t.startsWith("var(")?y(t,e):w(t,e)}let P=(t,e)=>{let i=[...t],r=i.length,n=t.map((t,i)=>x(t,e[i]));return t=>{for(let e=0;e<r;e++)i[e]=n[e](t);return i}},b=(t,e)=>{let i={...t,...e},r={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(r[n]=x(t[n],e[n]));return t=>{for(let e in r)i[e]=r[e](t);return i}},w=(t,e)=>{let i=g.f.createTransformer(e),n=(0,g.V)(t),s=(0,g.V)(e);return n.numVars===s.numVars&&n.numColors===s.numColors&&n.numNumbers>=s.numNumbers?(0,v.F)(P(n.values,s.values),i):((0,r.$)(!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.`),y(t,e))};var A=i(37595),T=i(80046);let S=(t,e)=>i=>(0,o.j)(t,e,i);function V(t,e,{clamp:i=!0,ease:o,mixer:a}={}){let l=t.length;if((0,r.V)(l===e.length,"Both input and output ranges must be the same length"),1===l)return()=>e[0];t[0]>t[l-1]&&(t=[...t].reverse(),e=[...e].reverse());let u=function(t,e,i){let r=[],s=i||function(t){if("number"==typeof t);else if("string"==typeof t)return n.y.test(t)?f:w;else if(Array.isArray(t))return P;else if("object"==typeof t)return b;return S}(t[0]),o=t.length-1;for(let i=0;i<o;i++){let n=s(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||T.l:e;n=(0,v.F)(t,n)}r.push(n)}return r}(e,o,a),h=u.length,c=e=>{let i=0;if(h>1)for(;i<t.length-2&&!(e<t[i+1]);i++);let r=(0,A.q)(t[i],t[i+1],e);return u[i](r)};return i?e=>c((0,s.q)(t[0],t[l-1],e)):c}},93320:(t,e,i)=>{i.d(e,{X:()=>n,f:()=>r});let r=t=>1e3*t,n=t=>t/1e3},94349:(t,e,i)=>{i.d(e,{q:()=>r});let r=(t,e,i)=>Math.min(Math.max(i,t),e)},96834:(t,e,i)=>{i.d(e,{j:()=>r});let r=(t,e,i)=>-i*t+i*e+t},97808:(t,e,i)=>{i.d(e,{Z:()=>s});var r=i(96834),n=i(37595);function s(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let o=(0,n.q)(0,e,s);t.push((0,r.j)(i,1,o))}}(e,t.length-1),e}}}]);

CasperSecurity Mini