1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1001],{21882:function(e,t,n){n.d(t,{v:function(){return animateMotionValue}});var i=n(69920),r=n(7298),s=n(56846),a=n(96101);let o={current:!1};var l=n(13236);let calcBezier=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function binarySubdivide(e,t,n,i,r){let s,a;let o=0;do(s=calcBezier(a=t+(n-t)/2,i,r)-e)>0?n=a:t=a;while(Math.abs(s)>1e-7&&++o<12);return a}function cubicBezier(e,t,n,i){if(e===t&&n===i)return l.Z;let getTForX=t=>binarySubdivide(t,0,1,e,n);return e=>0===e||1===e?e:calcBezier(getTForX(e),t,i)}var u=n(90933),h=n(30484);let c=cubicBezier(.33,1.53,.69,.99),d=(0,h.M)(c),p=(0,u.o)(d),anticipate=e=>(e*=2)<1?.5*d(e):.5*(2-Math.pow(2,-10*(e-1)));var m=n(927),f=n(95393),v=n(53970),g=n(21085),y=n(32624),b=n(82505);let isAnimatable=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(b.P.test(e)||"0"===e)&&!e.startsWith("url("));function hasKeyframesChanged(e){let t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function canAnimate(e,t,n,r){let s=e[0];if(null===s)return!1;if("display"===t||"visibility"===t)return!0;let a=e[e.length-1],o=isAnimatable(s,t),l=isAnimatable(a,t);return(0,y.K)(o===l,`You are trying to animate ${t} from "${s}" to "${a}". ${s} is not an animatable value - to enable this animation set ${s} to a value animatable to ${a} via the \`style\` property.`),!!o&&!!l&&(hasKeyframesChanged(e)||("spring"===n||(0,i.xD)(n))&&r)}let isNotNull=e=>null!==e;function getFinalKeyframe(e,{repeat:t,repeatType:n="loop"},i){let r=e.filter(isNotNull),s=t&&"loop"!==n&&t%2==1?0:r.length-1;return s&&void 0!==i?i:r[s]}let BaseAnimation=class BaseAnimation{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=v.X.now(),this.options={autoplay:e,delay:t,type:n,repeat:i,repeatDelay:r,repeatType:s,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,g.m)(),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=v.X.now(),this.hasAttemptedResolve=!0;let{name:n,type:i,velocity:r,delay:s,onComplete:a,onUpdate:l,isGenerator:u}=this.options;if(!u&&!canAnimate(e,n,i,r)){if(o.current||!s){l&&l(getFinalKeyframe(e,this.options,t)),a&&a(),this.resolveFinishedPromise();return}this.options.duration=0}let h=this.initPlayback(e,t);!1!==h&&(this._resolved={keyframes:e,finalKeyframe:t,...h},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}};var x=n(43021),T=n(69566);function hueToRgb(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function hslaToRgba({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,n/=100;let r=0,s=0,a=0;if(t/=100){let i=n<.5?n*(1+t):n+t-n*t,o=2*n-i;r=hueToRgb(o,i,e+1/3),s=hueToRgb(o,i,e),a=hueToRgb(o,i,e-1/3)}else r=s=a=n;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*a),alpha:i}}var A=n(93257),V=n(72808),S=n(26002);function mixImmediate(e,t){return n=>n>0?t:e}let mixLinearColor=(e,t,n)=>{let i=e*e,r=n*(t*t-i)+i;return r<0?0:Math.sqrt(r)},w=[A.$,V.m,S.J],getColorType=e=>w.find(t=>t.test(e));function asRGBA(e){let t=getColorType(e);if((0,y.K)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===S.J&&(n=hslaToRgba(n)),n}let mixColor=(e,t)=>{let n=asRGBA(e),i=asRGBA(t);if(!n||!i)return mixImmediate(e,t);let r={...n};return e=>(r.red=mixLinearColor(n.red,i.red,e),r.green=mixLinearColor(n.green,i.green,e),r.blue=mixLinearColor(n.blue,i.blue,e),r.alpha=(0,T.t)(n.alpha,i.alpha,e),V.m.transform(r))};var P=n(44694),C=n(2199),M=n(80417);let E=new Set(["none","hidden"]);function mixVisibility(e,t){return E.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function mixNumber(e,t){return n=>(0,T.t)(e,t,n)}function getMixer(e){return"number"==typeof e?mixNumber:"string"==typeof e?(0,M.t)(e)?mixImmediate:C.$.test(e)?mixColor:mixComplex:Array.isArray(e)?mixArray:"object"==typeof e?C.$.test(e)?mixColor:mixObject:mixImmediate}function mixArray(e,t){let n=[...e],i=n.length,r=e.map((e,n)=>getMixer(e)(e,t[n]));return e=>{for(let t=0;t<i;t++)n[t]=r[t](e);return n}}function mixObject(e,t){let n={...e,...t},i={};for(let r in n)void 0!==e[r]&&void 0!==t[r]&&(i[r]=getMixer(e[r])(e[r],t[r]));return e=>{for(let t in i)n[t]=i[t](e);return n}}function matchOrder(e,t){var n;let i=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){let a=t.types[s],o=e.indexes[a][r[a]],l=null!==(n=e.values[o])&&void 0!==n?n:0;i[s]=l,r[a]++}return i}let mixComplex=(e,t)=>{let n=b.P.createTransformer(t),i=(0,b.V)(e),r=(0,b.V)(t),s=i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length;return s?E.has(e)&&!r.values.length||E.has(t)&&!i.values.length?mixVisibility(e,t):(0,P.z)(mixArray(matchOrder(i,r),r.values),n):((0,y.K)(!0,`Complex values '${e}' and '${t}
1' 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.`),mixImmediate(e,t))};function mix(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return(0,T.t)(e,t,n);let i=getMixer(e);return i(e,t)}var F=n(69815);function calcGeneratorVelocity(e,t,n){let i=Math.max(t-5,0);return(0,F.R)(n-e(i),t-i)}let D={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function findSpring({duration:e=D.duration,bounce:t=D.bounce,velocity:n=D.velocity,mass:i=D.mass}){let s,a;(0,y.K)(e<=(0,r.w)(D.maxDuration),"Spring duration must be 10 seconds or less");let o=1-t;o=(0,x.u)(D.minDamping,D.maxDamping,o),e=(0,x.u)(D.minDuration,D.maxDuration,(0,r.X)(e)),o<1?(s=t=>{let i=t*o,r=i*e,s=calcAngularFreq(t,o);return .001-(i-n)/s*Math.exp(-r)},a=t=>{let i=t*o,r=i*e,a=Math.pow(o,2)*Math.pow(t,2)*e,l=calcAngularFreq(Math.pow(t,2),o),u=-s(t)+.001>0?-1:1;return u*((r*n+n-a)*Math.exp(-r))/l}):(s=t=>{let i=Math.exp(-t*e),r=(t-n)*e+1;return -.001+i*r},a=t=>{let i=Math.exp(-t*e),r=(n-t)*(e*e);return i*r});let l=5/e,u=approximateRoot(s,a,l);if(e=(0,r.w)(e),isNaN(u))return{stiffness:D.stiffness,damping:D.damping,duration:e};{let t=Math.pow(u,2)*i;return{stiffness:t,damping:2*o*Math.sqrt(i*t),duration:e}}}function approximateRoot(e,t,n){let i=n;for(let n=1;n<12;n++)i-=e(i)/t(i);return i}function calcAngularFreq(e,t){return e*Math.sqrt(1-t*t)}let k=["duration","bounce"],B=["stiffness","damping","mass"];function isSpringType(e,t){return t.some(t=>void 0!==e[t])}function getSpringOptions(e){let t={velocity:D.velocity,stiffness:D.stiffness,damping:D.damping,mass:D.mass,isResolvedFromDuration:!1,...e};if(!isSpringType(e,B)&&isSpringType(e,k)){if(e.visualDuration){let n=e.visualDuration,i=2*Math.PI/(1.2*n),r=i*i,s=2*(0,x.u)(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:D.mass,stiffness:r,damping:s}}else{let n=findSpring(e);(t={...t,...n,mass:D.mass}).isResolvedFromDuration=!0}}return t}function spring(e=D.visualDuration,t=D.bounce){let n;let s="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:a,restDelta:o}=s,l=s.keyframes[0],u=s.keyframes[s.keyframes.length-1],h={done:!1,value:l},{stiffness:c,damping:d,mass:p,duration:m,velocity:f,isResolvedFromDuration:v}=getSpringOptions({...s,velocity:-(0,r.X)(s.velocity||0)}),g=f||0,y=d/(2*Math.sqrt(c*p)),b=u-l,x=(0,r.X)(Math.sqrt(c/p)),T=5>Math.abs(b);if(a||(a=T?D.restSpeed.granular:D.restSpeed.default),o||(o=T?D.restDelta.granular:D.restDelta.default),y<1){let e=calcAngularFreq(x,y);n=t=>{let n=Math.exp(-y*x*t);return u-n*((g+y*x*b)/e*Math.sin(e*t)+b*Math.cos(e*t))}}else if(1===y)n=e=>u-Math.exp(-x*e)*(b+(g+x*b)*e);else{let e=x*Math.sqrt(y*y-1);n=t=>{let n=Math.exp(-y*x*t),i=Math.min(e*t,300);return u-n*((g+y*x*b)*Math.sinh(i)+e*b*Math.cosh(i))/e}}let A={calculatedDuration:v&&m||null,next:e=>{let t=n(e);if(v)h.done=e>=m;else{let i=0;y<1&&(i=0===e?(0,r.w)(g):calcGeneratorVelocity(n,e,t));let s=Math.abs(i)<=a,l=Math.abs(u-t)<=o;h.done=s&&l}return h.value=h.done?u:t,h},toString:()=>{let e=Math.min((0,i.iI)(A),i.EO),t=(0,i.wk)(t=>A.next(e*t).value,e,30);return e+"ms "+t}};return A}function inertia({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:l,restDelta:u=.5,restSpeed:h}){let c,d;let p=e[0],m={done:!1,value:p},isOutOfBounds=e=>void 0!==o&&e<o||void 0!==l&&e>l,nearestBoundary=e=>void 0===o?l:void 0===l?o:Math.abs(o-e)<Math.abs(l-e)?o:l,f=n*t,v=p+f,g=void 0===a?v:a(v);g!==v&&(f=g-p);let calcDelta=e=>-f*Math.exp(-e/i),calcLatest=e=>g+calcDelta(e),applyFriction=e=>{let t=calcDelta(e),n=calcLatest(e);m.done=Math.abs(t)<=u,m.value=m.done?g:n},checkCatchBoundary=e=>{isOutOfBounds(m.value)&&(c=e,d=spring({keyframes:[m.value,nearestBoundary(m.value)],velocity:calcGeneratorVelocity(calcLatest,e,m.value),damping:r,stiffness:s,restDelta:u,restSpeed:h}
1))};return checkCatchBoundary(0),{calculatedDuration:null,next:e=>{let t=!1;return(d||void 0!==c||(t=!0,applyFriction(e),checkCatchBoundary(e)),void 0!==c&&e>=c)?d.next(e-c):(t||applyFriction(e),m)}}}let O=cubicBezier(.42,0,1,1),I=cubicBezier(0,0,.58,1),R=cubicBezier(.42,0,.58,1),isEasingArray=e=>Array.isArray(e)&&"number"!=typeof e[0],N={linear:l.Z,easeIn:O,easeInOut:R,easeOut:I,circIn:m.Z7,circInOut:m.X7,circOut:m.Bn,backIn:d,backInOut:p,backOut:c,anticipate:anticipate},easingDefinitionToFunction=e=>{if((0,i.qE)(e)){(0,y.k)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,i,r]=e;return cubicBezier(t,n,i,r)}return"string"==typeof e?((0,y.k)(void 0!==N[e],`Invalid easing type '${e}'`),N[e]):e};var K=n(1548);function createMixers(e,t,n){let i=[],r=n||mix,s=e.length-1;for(let n=0;n<s;n++){let s=r(e[n],e[n+1]);if(t){let e=Array.isArray(t)?t[n]||l.Z:t;s=(0,P.z)(e,s)}i.push(s)}return i}function interpolate(e,t,{clamp:n=!0,ease:i,mixer:r}={}){let s=e.length;if((0,y.k)(s===t.length,"Both input and output ranges must be the same length"),1===s)return()=>t[0];if(2===s&&t[0]===t[1])return()=>t[1];let a=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let o=createMixers(t,i,r),l=o.length,interpolator=n=>{if(a&&n<e[0])return t[0];let i=0;if(l>1)for(;i<e.length-2&&!(n<e[i+1]);i++);let r=(0,K.Y)(e[i],e[i+1],n);return o[i](r)};return n?t=>interpolator((0,x.u)(e[0],e[s-1],t)):interpolator}function fillOffset(e,t){let n=e[e.length-1];for(let i=1;i<=t;i++){let r=(0,K.Y)(0,t,i);e.push((0,T.t)(n,1,r))}}function defaultOffset(e){let t=[0];return fillOffset(t,e.length-1),t}function convertOffsetToTimes(e,t){return e.map(e=>e*t)}function defaultEasing(e,t){return e.map(()=>t||R).splice(0,e.length-1)}function keyframes({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){let r=isEasingArray(i)?i.map(easingDefinitionToFunction):easingDefinitionToFunction(i),s={done:!1,value:t[0]},a=convertOffsetToTimes(n&&n.length===t.length?n:defaultOffset(t),e),o=interpolate(a,t,{ease:Array.isArray(r)?r:defaultEasing(t,r)});return{calculatedDuration:e,next:t=>(s.value=o(t),s.done=t>=e,s)}}let frameloopDriver=e=>{let passTimestamp=({timestamp:t})=>e(t);return{start:()=>s.Wi.update(passTimestamp,!0),stop:()=>(0,s.Pn)(passTimestamp),now:()=>s.frameData.isProcessing?s.frameData.timestamp:v.X.now()}},$={decay:inertia,inertia:inertia,tween:keyframes,keyframes:keyframes,spring:spring},percentToProgress=e=>e/100;let MainThreadAnimation=class MainThreadAnimation extends BaseAnimation{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:e}=this.options;e&&e()};let{name:t,motionValue:n,element:i,keyframes:r}=this.options,s=(null==i?void 0:i.KeyframeResolver)||g.e;this.resolver=new s(r,(e,t)=>this.onKeyframesResolved(e,t),t,n,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){let t,n;let{type:r="keyframes",repeat:s=0,repeatDelay:a=0,repeatType:o,velocity:l=0}=this.options,u=(0,i.xD)(r)?r:$[r]||keyframes;u!==keyframes&&"number"!=typeof e[0]&&(t=(0,P.z)(percentToProgress,mix(e[0],e[1])),e=[0,100]);let h=u({...this.options,keyframes:e});"mirror"===o&&(n=u({...this.options,keyframes:[...e].reverse(),velocity:-l})),null===h.calculatedDuration&&(h.calculatedDuration=(0,i.iI)(h));let{calculatedDuration:c}=h,d=c+a;return{generator:h,mirroredGenerator:n,mapPercentToKeyframes:t,calculatedDuration:c,resolvedDuration:d,totalDuration:d*(s+1)-a}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:n}=this;if(!n){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:i,generator:r,mirroredGenerator:s,mapPercentToKeyframes:a,keyframes:o,calculatedDuration:l,totalDuration:u,resolvedDuration:h}=n;
1if(null===this.startTime)return r.next(0);let{delay:c,repeat:d,repeatType:p,repeatDelay:m,onUpdate:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let v=this.currentTime-c*(this.speed>=0?1:-1),g=this.speed>=0?v<0:v>u;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,b=r;if(d){let e=Math.min(this.currentTime,u)/h,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,d+1);let i=!!(t%2);i&&("reverse"===p?(n=1-n,m&&(n-=m/h)):"mirror"===p&&(b=s)),y=(0,x.u)(0,1,n)*h}let T=g?{done:!1,value:o[0]}:b.next(y);a&&(T.value=a(T.value));let{done:A}=T;g||null===l||(A=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let V=null===this.holdTime&&("finished"===this.state||"running"===this.state&&A);return V&&void 0!==i&&(T.value=getFinalKeyframe(o,this.options,i)),f&&f(T.value),V&&this.finish(),T}get duration(){let{resolved:e}=this;return e?(0,r.X)(e.calculatedDuration):0}get time(){return(0,r.X)(this.currentTime)}set time(e){e=(0,r.w)(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=(0,r.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=frameloopDriver,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let i=this.driver.now();null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=i):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}};var L=n(41818);function startWaapiAnimation(e,t,n,{delay:r=0,duration:s=300,repeat:a=0,repeatType:o="loop",ease:l="easeInOut",times:u}={}){let h={[t]:n};u&&(h.offset=u);let c=(0,i.eB)(l,s);return Array.isArray(c)&&(h.easing=c),e.animate(h,{delay:r,duration:s,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:a+1,direction:"reverse"===o?"alternate":"normal"})}var z=n(92012);let G=(0,z.X)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function requiresPregeneratedKeyframes(e){return(0,i.xD)(e.type)||"spring"===e.type||!(0,i.hR)(e.ease)}function pregenerateKeyframes(e,t){let n=new MainThreadAnimation({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),i={done:!1,value:e[0]},r=[],s=0;for(;!i.done&&s<2e4;)r.push((i=n.sample(s)).value),s+=10;return{times:void 0,keyframes:r,duration:s-10,ease:"linear"}}let _={anticipate:anticipate,backInOut:p,circInOut:m.X7};function isUnsupportedEase(e){return e in _}let AcceleratedAnimation=class AcceleratedAnimation extends BaseAnimation{constructor(e){super(e);let{name:t,motionValue:n,element:i,keyframes:r}=this.options;this.resolver=new f.s(r,(e,t)=>this.onKeyframesResolved(e,t),t,n,i),this.resolver.scheduleResolve()}initPlayback(e,t){let{duration:n=300,times:r,ease:s,type:a,motionValue:o,name:l,startTime:u}=this.options;if(!o.owner||!o.owner.current)return!1;if("string"==typeof s&&(0,i.Vc)()&&isUnsupportedEase(s)&&(s=_[s]),requiresPregeneratedKeyframes(this.options)){let{onComplete:t,onUpdate:i,motionValue:o,element:l,...u}=this.options,h=pregenerateKeyframes(e,u);1===(e=h.keyframes).length&&(e[1]=e[0]),n=h.duration,r=h.times,s=h.ease,a="keyframes"}let h=startWaapiAnimation(o.owner.current,l,e,{...this.options,duration:n,times:r,ease:s});return h.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?((0,i._F)(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{let{onComplete:n}=this.options;o.set(getFinalKeyframe(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedProm
1ise()},{animation:h,duration:n,times:r,type:a,ease:s,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return(0,r.X)(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return(0,r.X)(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=(0,r.w)(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return l.Z;let{animation:n}=t;(0,i._F)(n,e)}else this.pendingTimeline=e;return l.Z}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:n,duration:i,type:s,ease:a,times:o}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){let{motionValue:e,onUpdate:t,onComplete:l,element:u,...h}=this.options,c=new MainThreadAnimation({...h,keyframes:n,duration:i,type:s,ease:a,times:o,isGenerator:!0}),d=(0,r.w)(this.time);e.setWithVelocity(c.sample(d-10).value,c.sample(d).value,10)}let{onStop:l}=this.options;l&&l(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:n,repeatDelay:i,repeatType:r,damping:s,type:a}=e;if(!t||!t.owner||!(t.owner.current instanceof HTMLElement))return!1;let{onUpdate:o,transformTemplate:l}=t.owner.getProps();return G()&&n&&L.t.has(n)&&!o&&!l&&!i&&"mirror"!==r&&0!==s&&"inertia"!==a}};var W=n(12960);let X={type:"spring",stiffness:500,damping:25,restSpeed:10},criticallyDampedSpring=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),j={type:"keyframes",duration:.8},U={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},getDefaultTransition=(e,{keyframes:t})=>t.length>2?j:W.G.has(e)?e.startsWith("scale")?criticallyDampedSpring(t[1]):X:U;function isTransitionDefined({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:s,repeatType:a,repeatDelay:o,from:l,elapsed:u,...h}){return!!Object.keys(h).length}let animateMotionValue=(e,t,n,l={},u,h)=>c=>{let d=(0,i.ev)(l,e)||{},p=d.delay||l.delay||0,{elapsed:m=0}=l;m-=(0,r.w)(p);let f={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...d,delay:-m,onUpdate:e=>{t.set(e),d.onUpdate&&d.onUpdate(e)},onComplete:()=>{c(),d.onComplete&&d.onComplete()},name:e,motionValue:t,element:h?void 0:u};isTransitionDefined(d)||(f={...f,...getDefaultTransition(e,f)}),f.duration&&(f.duration=(0,r.w)(f.duration)),f.repeatDelay&&(f.repeatDelay=(0,r.w)(f.repeatDelay)),void 0!==f.from&&(f.keyframes[0]=f.from);let v=!1;if(!1!==f.type&&(0!==f.duration||f.repeatDelay)||(f.duration=0,0!==f.delay||(v=!0)),(o.current||a.c.skipAnimations)&&(v=!0,f.duration=0,f.delay=0),v&&!h&&void 0!==t.get()){let e=getFinalKeyframe(f.keyframes,d);if(void 0!==e)return s.Wi.update(()=>{f.onUpdate(e),f.onComplete()}),new i.sP([])}return!h&&AcceleratedAnimation.supports(f)?new AcceleratedAnimation(f):new MainThreadAnimation(f)}},41477:function(e,t,n){n.d(t,{s:function(){return getOptimisedAppearId}});var i=n(76348);function getOptimisedAppearId(e){return e.props[i.M]}},927:function(e,t,n){n.d(t,{Bn:function(){return s},X7:function(){return a}
1,Z7:function(){return circIn}});var i=n(90933),r=n(30484);let circIn=e=>1-Math.sin(Math.acos(e)),s=(0,r.M)(circIn),a=(0,i.o)(circIn)},90933:function(e,t,n){n.d(t,{o:function(){return mirrorEasing}});let mirrorEasing=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2},30484:function(e,t,n){n.d(t,{M:function(){return reverseEasing}});let reverseEasing=e=>t=>1-e(1-t)},41944:function(e,t,n){n.d(t,{E:function(){return addDomEvent}});function addDomEvent(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}},79403:function(e,t,n){n.d(t,{Q:function(){return extractEventInfo},s:function(){return addPointerInfo}});var i=n(69920);function extractEventInfo(e){return{point:{x:e.pageX,y:e.pageY}}}let addPointerInfo=e=>t=>(0,i.DJ)(t)&&e(t,extractEventInfo(t))},53620:function(e,t,n){n.d(t,{L:function(){return Feature}});let Feature=class Feature{constructor(e){this.isMounted=!1,this.node=e}update(){}}},14902:function(e,t,n){function convertBoundingBoxToBox({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function convertBoxToBoundingBox({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function transformBoxPoints(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}n.d(t,{d7:function(){return transformBoxPoints},i8:function(){return convertBoundingBoxToBox},z2:function(){return convertBoxToBoundingBox}})},91841:function(e,t,n){n.d(t,{D2:function(){return transformBox},YY:function(){return applyTreeDeltas},am:function(){return translateAxis},o2:function(){return applyBoxDelta},q2:function(){return scalePoint}});var i=n(69566),r=n(10121);function scalePoint(e,t,n){return n+t*(e-n)}function applyPointDelta(e,t,n,i,r){return void 0!==r&&(e=i+r*(e-i)),i+n*(e-i)+t}function applyAxisDelta(e,t=0,n=1,i,r){e.min=applyPointDelta(e.min,t,n,i,r),e.max=applyPointDelta(e.max,t,n,i,r)}function applyBoxDelta(e,{x:t,y:n}){applyAxisDelta(e.x,t.translate,t.scale,t.originPoint),applyAxisDelta(e.y,n.translate,n.scale,n.originPoint)}function applyTreeDeltas(e,t,n,i=!1){let s,a;let o=n.length;if(o){t.x=t.y=1;for(let l=0;l<o;l++){a=(s=n[l]).projectionDelta;let{visualElement:o}=s.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(i&&s.options.layoutScroll&&s.scroll&&s!==s.root&&transformBox(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,applyBoxDelta(e,a)),i&&(0,r.ud)(s.latestValues)&&transformBox(e,s.latestValues))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}function translateAxis(e,t){e.min=e.min+t,e.max=e.max+t}function transformAxis(e,t,n,r,s=.5){let a=(0,i.t)(e.min,e.max,s);applyAxisDelta(e,t,n,a,r)}function transformBox(e,t){transformAxis(e.x,t.x,t.scaleX,t.scale,t.originX),transformAxis(e.y,t.y,t.scaleY,t.scale,t.originY)}},84597:function(e,t,n){n.d(t,{dO:function(){return createBox},wc:function(){return createDelta}});let createAxisDelta=()=>({translate:0,scale:1,origin:0,originPoint:0}),createDelta=()=>({x:createAxisDelta(),y:createAxisDelta()}),createAxis=()=>({min:0,max:0}),createBox=()=>({x:createAxis(),y:createAxis()})},10121:function(e,t,n){function isIdentityScale(e){return void 0===e||1===e}function hasScale({scale:e,scaleX:t,scaleY:n}){return!isIdentityScale(e)||!isIdentityScale(t)||!isIdentityScale(n)}function hasTransform(e){return hasScale(e)||has2DTranslate(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function has2DTranslate(e){var t,n;return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}n.d(t,{D_:function(){return has2DTranslate},Lj:function(){return hasScale},ud:function(){return hasTransform}})},83937:function(e,t,n){n.d(t,{J:function(){return measureViewportBox},z:function(){return measurePageBox}});var i=n(14902),r=n(91841);function measureViewportBox(e,t){return(0,i.i8)((0,i.d7)(e.getBoundingClientRect(),t))}function measurePageBox(e,t,n){let i=measureViewportBox(e,n),{scroll:s}=t;return s&&((0,r.am)(i.x,s.offset.x),(0,r.am)(i.y,s.offset.y)),i}},95393:function(e,t,n){n.d(t,{s:function(){return DOMKeyframesResolver}});var i=n(85243);function isNone(e){return"number"==typeof e?0===e:null===e||"none"===e||"0"===e||(0,i.W)(e)}var r=n(24635),s=n(82505),a=n(19006);
1let o=new Set(["auto","none","0"]);function makeNoneKeyframesAnimatable(e,t,n){let i,r=0;for(;r<e.length&&!i;){let t=e[r];"string"==typeof t&&!o.has(t)&&(0,s.V)(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=(0,a.T)(n,i)}var l=n(21085),u=n(32624),h=n(44747),c=n(80417);let d=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function parseCSSVariable(e){let t=d.exec(e);if(!t)return[,];let[,n,i,r]=t;return[`--${null!=n?n:i}`,r]}function getVariableValue(e,t,n=1){(0,u.k)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[i,r]=parseCSSVariable(e);if(!i)return;let s=window.getComputedStyle(t).getPropertyValue(i);if(s){let e=s.trim();return(0,h.P)(e)?parseFloat(e):e}return(0,c.t)(r)?getVariableValue(r,t,n+1):r}var p=n(89626),m=n(38824);let DOMKeyframesResolver=class DOMKeyframesResolver extends l.e{constructor(e,t,n,i,r){super(e,t,n,i,r,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let i=e[n];if("string"==typeof i&&(i=i.trim(),(0,c.t)(i))){let r=getVariableValue(i,t.current);void 0!==r&&(e[n]=r),n===e.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!r.z.has(n)||2!==e.length)return;let[i,s]=e,a=(0,m.C)(i),o=(0,m.C)(s);if(a!==o){if((0,p.mP)(a)&&(0,p.mP)(o))for(let t=0;t<e.length;t++){let n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)isNone(e[t])&&n.push(t);n.length&&makeNoneKeyframesAnimatable(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=p.lw[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let i=t[t.length-1];void 0!==i&&e.getValue(n,i).jump(i,!1)}measureEndState(){var e;let{element:t,name:n,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let r=t.getValue(n);r&&r.jump(this.measuredOrigin,!1);let s=i.length-1,a=i[s];i[s]=p.lw[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEac
1h(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}},1001:function(e,t,n){n.d(t,{H:function(){return eu}});var i=n(67866),r=n(10363);function shallowCompare(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}var s=n(13345),a=n(93331);function resolveVariant(e,t,n){let i=e.getProps();return(0,a.o)(i,t,void 0!==n?n:i.custom,e)}var o=n(75247),l=n(69920),u=n(24635),h=n(61832),c=n(74101);function setMotionValue(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,(0,c.BX)(n))}function setTarget(e,t){let n=resolveVariant(e,t),{transitionEnd:i={},transition:r={},...s}=n||{};for(let t in s={...s,...i}){let n=(0,h.Y)(s[t]);setMotionValue(e,t,n)}}var d=n(11761),p=n(41477),m=n(21882),f=n(56846);function shouldBlockAnimation({protectedKeys:e,needsAnimating:t},n){let i=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,i}function animateTarget(e,t,{delay:n=0,transitionOverride:i,type:r}={}){var s;let{transition:a=e.getDefaultTransition(),transitionEnd:o,...h}=t;i&&(a=i);let c=[],v=r&&e.animationState&&e.animationState.getState()[r];for(let t in h){let i=e.getValue(t,null!==(s=e.latestValues[t])&&void 0!==s?s:null),r=h[t];if(void 0===r||v&&shouldBlockAnimation(v,t))continue;let o={delay:n,...(0,l.ev)(a||{},t)},g=!1;if(window.MotionHandoffAnimation){let n=(0,p.s)(e);
1if(n){let e=window.MotionHandoffAnimation(n,t,f.Wi);null!==e&&(o.startTime=e,g=!0)}}(0,d.K)(e,t),i.start((0,m.v)(t,i,r,e.shouldReduceMotion&&u.z.has(t)?{type:!1}:o,e,g));let y=i.animation;y&&c.push(y)}return o&&Promise.all(c).then(()=>{f.Wi.update(()=>{o&&setTarget(e,o)})}),c}function animateVariant(e,t,n={}){var i;let r=resolveVariant(e,t,"exit"===n.type?null===(i=e.presenceContext)||void 0===i?void 0:i.custom:void 0),{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);let a=r?()=>Promise.all(animateTarget(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(i=0)=>{let{delayChildren:r=0,staggerChildren:a,staggerDirection:o}=s;return animateChildren(e,t,r+i,a,o,n)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([a(),o(n.delay)]);{let[e,t]="beforeChildren"===l?[a,o]:[o,a];return e().then(()=>t())}}function animateChildren(e,t,n=0,i=0,r=1,s){let a=[],o=(e.variantChildren.size-1)*i,l=1===r?(e=0)=>e*i:(e=0)=>o-e*i;return Array.from(e.variantChildren).sort(sortByTreeOrder).forEach((e,i)=>{e.notify("AnimationStart",t),a.push(animateVariant(e,t,{...s,delay:n+l(i)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}function sortByTreeOrder(e,t){return e.sortNodePosition(t)}function animateVisualElement(e,t,n={}){let i;if(e.notify("AnimationStart",t),Array.isArray(t)){let r=t.map(t=>animateVariant(e,t,n));i=Promise.all(r)}else if("string"==typeof t)i=animateVariant(e,t,n);else{let r="function"==typeof t?resolveVariant(e,t,n.custom):t;i=Promise.all(animateTarget(e,r,n))}return i.then(()=>{e.notify("AnimationComplete",t)})}let v=o.V.length;function getVariantContext(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&getVariantContext(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<v;n++){let i=o.V[n],r=e.props[i];((0,s.$)(r)||!1===r)&&(t[i]=r)}return t}let g=[...o.e].reverse(),y=o.e.length;function animateList(e){return t=>Promise.all(t.map(({animation:t,options:n})=>animateVisualElement(e,t,n)))}function createAnimationState(e){let t=animateList(e),n=createState(),a=!0,buildResolvedTypeValues=t=>(n,i)=>{var r;let s=resolveVariant(e,i,"exit"===t?null===(r=e.presenceContext)||void 0===r?void 0:r.custom:void 0);if(s){let{transition:e,transitionEnd:t,...i}=s;n={...n,...i,...t}}return n};function animateChanges(o){let{props:l}=e,u=getVariantContext(e.parent)||{},h=[],c=new Set,d={},p=1/0;for(let t=0;t<y;t++){let m=g[t],f=n[m],v=void 0!==l[m]?l[m]:u[m],y=(0,s.$)(v),b=m===o?f.isActive:null;!1===b&&(p=t);let x=v===u[m]&&v!==l[m]&&y;if(x&&a&&e.manuallyAnimateOnMount&&(x=!1),f.protectedKeys={...d},!f.isActive&&null===b||!v&&!f.prevProp||(0,i.H)(v)||"boolean"==typeof v)continue;let T=checkVariantsDidChange(f.prevProp,v),A=T||m===o&&f.isActive&&!x&&y||t>p&&y,V=!1,S=Array.isArray(v)?v:[v],w=S.reduce(buildResolvedTypeValues(m),{});!1===b&&(w={});let{prevResolvedValues:P={}}=f,C={...P,...w},markToAnimate=t=>{A=!0,c.has(t)&&(V=!0,c.delete(t)),f.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in C){let t=w[e],n=P[e];if(!d.hasOwnProperty(e))((0,r.C)(t)&&(0,r.C)(n)?shallowCompare(t,n):t===n)?void 0!==t&&c.has(e)?markToAnimate(e):f.protectedKeys[e]=!0:null!=t?markToAnimate(e):c.add(e)}f.prevProp=v,f.prevResolvedValues=w,f.isActive&&(d={...d,...w}),a&&e.blockInitialAnimation&&(A=!1);let M=x&&T,E=!M||V;A&&E&&h.push(...S.map(e=>({animation:e,options:{type:m}})))}if(c.size){let t={};
1c.forEach(n=>{let i=e.getBaseTarget(n),r=e.getValue(n);r&&(r.liveStyle=!0),t[n]=null!=i?i:null}),h.push({animation:t})}let m=!!h.length;return a&&(!1===l.initial||l.initial===l.animate)&&!e.manuallyAnimateOnMount&&(m=!1),a=!1,m?t(h):Promise.resolve()}function setActive(t,i){var r;if(n[t].isActive===i)return Promise.resolve();null===(r=e.variantChildren)||void 0===r||r.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,i)}),n[t].isActive=i;let s=animateChanges(t);for(let e in n)n[e].protectedKeys={};return s}return{animateChanges,setActive,setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=createState(),a=!0}}}function checkVariantsDidChange(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!shallowCompare(t,e)}function createTypeState(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function createState(){return{animate:createTypeState(!0),whileInView:createTypeState(),whileHover:createTypeState(),whileTap:createTypeState(),whileDrag:createTypeState(),whileFocus:createTypeState(),exit:createTypeState()}}var b=n(53620);let AnimationFeature=class AnimationFeature extends b.L{constructor(e){super(e),e.animationState||(e.animationState=createAnimationState(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();(0,i.H)(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}};let x=0;let ExitAnimationFeature=class ExitAnimationFeature extends b.L{constructor(){super(...arguments),this.id=x++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let i=this.node.animationState.setActive("exit",!e);t&&!e&&i.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}};var T=n(79403);function handleHoverEvent(e,t,n){let{props:i}=e;e.animationState&&i.whileHover&&e.animationState.setActive("whileHover","Start"===n);let r="onHover"+n,s=i[r];s&&f.Wi.postRender(()=>s(t,(0,T.Q)(t)))}let HoverGesture=class HoverGesture extends b.L{mount(){let{current:e}=this.node;e&&(this.unmount=(0,l.Mr)(e,e=>(handleHoverEvent(this.node,e,"Start"),e=>handleHoverEvent(this.node,e,"End"))))}unmount(){}};var A=n(41944),V=n(44694);let FocusGesture=class FocusGesture extends b.L{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&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,V.z)((0,A.E)(this.node.current,"focus",()=>this.onFocus()),(0,A.E)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};function handlePressEvent(e,t,n){let{props:i}=e;e.animationState&&i.whileTap&&e.animationState.setActive("whileTap","Start"===n);let r="onTap"+("End"===n?"":n),s=i[r];s&&f.Wi.postRender(()=>s(t,(0,T.Q)(t)))}let PressGesture=class PressGesture extends b.L{mount(){let{current:e}=this.node;e&&(this.unmount=(0,l.OD)(e,e=>(handlePressEvent(this.node,e,"Start"),(e,{success:t})=>handlePressEvent(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}};let S=new WeakMap,w=new WeakMap,fireObserverCallback=e=>{let t=S.get(e.target);t&&t(e)},fireAllObserverCallbacks=e=>{e.forEach(fireObserverCallback)};function initIntersectionObserver({root:e,...t}){let n=e||document;w.has(n)||w.set(n,{});let i=w.get(n),r=JSON.stringify(t);return i[r]||(i[r]=new IntersectionObserver(fireAllObserverCallbacks,{root:e,...t})),i[r]}function observeIntersection(e,t,n){let i=initIntersectionObserver(t);return S.set(e,n),i.observe(e),()=>{S.delete(e),i.unobserve(e)}}let P={some:0,all:1};let InViewFeature=class InViewFeature extends b.L{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:i="some",once:r}=e,s={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:P[i]};return observeIntersection(this.node.current,s,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,r&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),s=t?n:i;s&&s(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node,n=["amount","margin","root"].some(hasViewportOptionChanged(e,t));n&&this.startObserver()}unmount(){}};function hasViewportOptionChanged({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var C=n(2265),M=n(83937),E=n(53970),F=n(9001),D=n(84597),k=n(44747),B=n(85243),O=n(16613);let I={current:null},R={current:!1};function initPrefersReducedMotion(){if(R.current=!0,O.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),setReducedMotionPreferences=()=>I.current=e.matches;e.addListener(setReducedMotionPreferences),setReducedMotionPreferences()}else I.current=!1}}var N=n(27026),K=n(82505),$=n(65735),L=n(19006),z=n(2199),G=n(38824),_=n(88598);let W=[...G.$,z.$,K.P],findValueType=e=>W.find((0,_.l)(e));var X=n(12960);let j=new WeakMap;var U=n(76049),q=n(21085);function updateMotionValuesFromProps(e,t,n){for(let i in t){let r=t[i],s=n[i];if((0,$.i)(r))e.addValue(i,r);else if((0,$.i)(s))e.addValue(i,(0,c.BX)(r,{owner:e}));else if(s!==r){if(e.hasValue(i)){let t=e.getValue(i);!0===t.liveStyle?t.jump(r):t.hasAnimated||t.set(r)}else{let t=e.getStaticValue(i);e.addValue(i,(0,c.BX)(void 0!==t?t:r,{owner:e}))}}}for(let i in n)void 0===t[i]&&e.removeValue(i);return t}let H=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let VisualElement=class VisualElement{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:r,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=q.e,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.renderScheduledAt=0,this.scheduleRender=()=>{let e=E.X.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,f.Wi.render(this.render,!1,!0))};let{latestValues:o,renderState:l,onUpdate:u}=s;this.onUpdate=u,this.latestValues=o,this.baseTarget={...o},this.initialValues=t.initial?{...o}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!r,this.isControllingVariants=(0,U.G)(t),this.isVariantNode=(0,U.M)(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:h,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in c){let t=c[e];void 0!==o[e]&&(0,$.i)(t)&&t.set(o[e],!1)}}mount(e){this.current=e,j.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
1h((e,t)=>this.bindToMotionValue(t,e)),R.current||initPrefersReducedMotion(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||I.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in j.delete(this.current),this.projection&&this.projection.unmount(),(0,f.Pn)(this.notifyUpdate),(0,f.Pn)(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){let n;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let i=X.G.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&f.Wi.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),s=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),s(),n&&n(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in F.featureDefinitions){let t=F.featureDefinitions[e];if(!t)continue;let{isEnabled:n,Feature:i}=t;if(!this.features[e]&&i&&n(this.props)&&(this.features[e]=new i(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,D.dO)()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<H.length;t++){let n=H[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let i="on"+n,r=e[i];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=updateMotionValuesFromProps(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=(0,c.BX)(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let i=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=i&&("string"==typeof i&&((0,k.P)(i)||(0,B.W)(i))?i=parseFloat(i):!findValueType(i)&&K.P.test(t)&&(i=(0,L.T)(e,t)),this.setBaseTarget(e,(0,$.i)(i)?i.get():i)),(0,$.i)(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let n;let{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let r=(0,a.o)(this.props,i,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);r&&(n=r[e])}if(i&&void 0!==n)return n;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||(0,$.i)(r)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new N.L),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}};var Y=n(95393);let DOMVisualElement=class DOMVisualElement extends VisualElement{constructor(){super(...arguments),this.KeyframeResolver=Y.s}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,$.i)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}};var Z=n(80417),J=n(95008),Q=n(40458),ee=n(82449),et=n(63495);function getComputedStyle(e){return window.getComputedStyle(e)}let HTMLVisualElement=class HTMLVisualElement extends DOMVisualElement{constructor(){super(...arguments),this.type="html",this.renderInstance=ee.N}readValueFromInstance(e,t){if(X.G.has(t)){let e=(0,J.A)(t);return e&&e.default||0}{let n=getComputedStyle(e),i=((0,Z.f)(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:t}){return(0,M.J)(e,t)}build(e,t,n){(0,Q.r)(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return(0,et.U)(e,t,n)}};var en=n(27905),ei=n(1524),er=n(70888),es=n(30922),ea=n(58239),eo=n(75625);let SVGVisualElement=class SVGVisualElement extends DOMVisualElement{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=D.dO}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(X.G.has(t)){let e=(0,J.A)(t);return e&&e.default||0}return t=er.s.has(t)?t:(0,en.D)(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return(0,eo.U)(e,t,n)}
1build(e,t,n){(0,ei.i)(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,i){(0,ea.K)(e,t,n,i)}mount(e){this.isSVGTag=(0,es.a)(e.tagName),super.mount(e)}};var el=n(20468);let eu={renderer:(e,t)=>(0,el.q)(e)?new SVGVisualElement(t):new HTMLVisualElement(t,{allowProjection:e!==C.Fragment}),animation:{Feature:AnimationFeature},exit:{Feature:ExitAnimationFeature},inView:{Feature:InViewFeature},tap:{Feature:PressGesture},focus:{Feature:FocusGesture},hover:{Feature:HoverGesture}}},89626:function(e,t,n){n.d(t,{Ei:function(){return removeNonTranslationalTransform},lw:function(){return l},mP:function(){return isNumOrPxType}});var i=n(2980),r=n(43681),s=n(12960);let isNumOrPxType=e=>e===i.Rx||e===r.px,getPosFromMatrix=(e,t)=>parseFloat(e.split(", ")[t]),getTranslateFromMatrix=(e,t)=>(n,{transform:i})=>{if("none"===i||!i)return 0;let r=i.match(/^matrix3d\((.+)\)$/u);if(r)return getPosFromMatrix(r[1],t);{let t=i.match(/^matrix\((.+)\)$/u);return t?getPosFromMatrix(t[1],e):0}},a=new Set(["x","y","z"]),o=s._.filter(e=>!a.has(e));function removeNonTranslationalTransform(e){let t=[];return o.forEach(n=>{let i=e.getValue(n);void 0!==i&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),t}let l={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:getTranslateFromMatrix(4,13),y:getTranslateFromMatrix(5,14)};l.translateX=l.x,l.translateY=l.y},19006:function(e,t,n){n.d(t,{T:function(){return getAnimatableNone}});var i=n(82505),r=n(34875),s=n(95008);function getAnimatableNone(e,t){let n=(0,s.A)(e);return n!==r.h&&(n=i.P),n.getAnimatableNone?n.getAnimatableNone(t):void 0}},95008:function(e,t,n){n.d(t,{A:function(){return getDefaultValueType}});var i=n(2199),r=n(34875),s=n(42201);let a={...s.j,color:i.$,backgroundColor:i.$,outlineColor:i.$,fill:i.$,stroke:i.$,borderColor:i.$,borderTopColor:i.$,borderRightColor:i.$,borderBottomColor:i.$,borderLeftColor:i.$,filter:r.h,WebkitFilter:r.h},getDefaultValueType=e=>a[e]},38824:function(e,t,n){n.d(t,{$:function(){return a},C:function(){return findDimensionValueType}});var i=n(2980),r=n(43681),s=n(88598);let a=[i.Rx,r.px,r.aQ,r.RW,r.vw,r.vh,{test:e=>"auto"===e,parse:e=>e}],findDimensionValueType=e=>a.find((0,s.l)(e))},88598:function(e,t,n){n.d(t,{l:function(){return testValueType}});let testValueType=e=>t=>t.test(e)},24635:function(e,t,n){n.d(t,{z:function(){return r}});var i=n(12960);let r=new Set(["width","height","top","left","right","bottom",...i._])},21085:function(e,t,n){n.d(t,{e:function(){return KeyframeResolver},m:function(){return flushKeyframeResolvers}});var i=n(89626),r=n(56846);let s=new Set,a=!1,o=!1;function measureAllKeyframes(){if(o){let e=Array.from(s).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=(0,i.Ei)(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{var i;null===(i=e.getValue(t))||void 0===i||i.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}o=!1,a=!1,s.forEach(e=>e.complete()),s.clear()}function readAllKeyframes(){s.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(o=!0)})}function flushKeyframeResolvers(){readAllKeyframes(),measureAllKeyframes()}let KeyframeResolver=class KeyframeResolver{constructor(e,t,n,i,r,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=i,this.element=r,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(s.add(this),a||(a=!0,r.Wi.read(readAllKeyframes),r.Wi.resolveKeyframes(measureAllKeyframes))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:i}=this;for(let r=0;r<e.length;r++)if(null===e[r]){if(0===r){let r=null==i?void 0:i.get(),s=e[e.length-1];if(void 0!==r)e[0]=r;else if(n&&t){let i=n.readValue(t,s);null!=i&&(e[0]=i)}void 0===e[0]&&(e[0]=s),i&&void 0===r&&i.set(e[0])}else e[r]=e[r-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),s.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,s.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}},44747:function(e,t,n){n.d(t,{P:function(){return isNumericalString}});let isNumericalString=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)},85243:function(e,t,n){n.d(t,{W:function(){return isZeroValueString}});let isZeroValueString=e=>/^0[^.\s]+$/u.test(e)},69566:function(e,t,n){n.d(t,{t:function(){return mixNumber}});let mixNumber=(e,t,n)=>e+(t-e)*n},44694:function(e,t,n){n.d(t,{z:function(){return pipe}});let combineFunctions=(e,t)=>n=>t(e(n)),pipe=(...e)=>e.reduce(combineFunctions)},93257:function(e,t,n){n.d(t,{$:function(){return s}});var i=n(72808),r=n(143);function parseHex(e){let t="",n="",i="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,i+=i,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alph
1a:r?parseInt(r,16)/255:1}}let s={test:(0,r.i)("#"),parse:parseHex,transform:i.m.transform}},26002:function(e,t,n){n.d(t,{J:function(){return o}});var i=n(2980),r=n(43681),s=n(36422),a=n(143);let o={test:(0,a.i)("hsl","hue"),parse:(0,a.d)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:a=1})=>"hsla("+Math.round(e)+", "+r.aQ.transform((0,s.N)(t))+", "+r.aQ.transform((0,s.N)(n))+", "+(0,s.N)(i.Fq.transform(a))+")"}},2199:function(e,t,n){n.d(t,{$:function(){return a}});var i=n(93257),r=n(26002),s=n(72808);let a={test:e=>s.m.test(e)||i.$.test(e)||r.J.test(e),parse:e=>s.m.test(e)?s.m.parse(e):r.J.test(e)?r.J.parse(e):i.$.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?s.m.transform(e):r.J.transform(e)}},72808:function(e,t,n){n.d(t,{m:function(){return l}});var i=n(43021),r=n(2980),s=n(36422),a=n(143);let clampRgbUnit=e=>(0,i.u)(0,255,e),o={...r.Rx,transform:e=>Math.round(clampRgbUnit(e))},l={test:(0,a.i)("rgb","red"),parse:(0,a.d)("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+o.transform(e)+", "+o.transform(t)+", "+o.transform(n)+", "+(0,s.N)(r.Fq.transform(i))+")"}},143:function(e,t,n){n.d(t,{i:function(){return isColorString},d:function(){return splitColor}});var i=n(15853);function isNullish(e){return null==e}let r=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,isColorString=(e,t)=>n=>!!("string"==typeof n&&r.test(n)&&n.startsWith(e)||t&&!isNullish(n)&&Object.prototype.hasOwnProperty.call(n,t)),splitColor=(e,t,n)=>r=>{if("string"!=typeof r)return r;let[s,a,o,l]=r.match(i.K);return{[e]:parseFloat(s),[t]:parseFloat(a),[n]:parseFloat(o),alpha:void 0!==l?parseFloat(l):1}}},34875:function(e,t,n){n.d(t,{h:function(){return o}});var i=n(82505),r=n(15853);let s=new Set(["brightness","contrast","saturate","opacity"]);function applyDefaultFilter(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[i]=n.match(r.K)||[];if(!i)return e;let a=n.replace(i,""),o=s.has(t)?1:0;return i!==n&&(o*=100),t+"("+o+a+")"}let a=/\b([a-z-]*)\(.*?\)/gu,o={...i.P,getAnimatableNone:e=>{let t=e.match(a);return t?t.map(applyDefaultFilter).join(" "):e}}},82505:function(e,t,n){n.d(t,{V:function(){return analyseComplexValue},P:function(){return h}});var i=n(2199);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=n(15853),a=n(36422);function test(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(s.K))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(r))||void 0===n?void 0:n.length)||0)>0}let o="number",l="color",u=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function analyseComplexValue(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},s=[],a=0,h=t.replace(u,e=>(i.$.test(e)?(r.color.push(a),s.push(l),n.push(i.$.parse(e))):e.startsWith("var(")?(r.var.push(a),s.push("var"),n.push(e)):(r.number.push(a),s.push(o),n.push(parseFloat(e))),++a,"${}")),c=h.split("${}");return{values:n,split:c,indexes:r,types:s}}function parseComplexValue(e){return analyseComplexValue(e).values}function createTransformer(e){let{split:t,types:n}=analyseComplexValue(e),r=t.length;return e=>{let s="";for(let u=0;u<r;u++)if(s+=t[u],void 0!==e[u]){let t=n[u];t===o?s+=(0,a.N)(e[u]):t===l?s+=i.$.transform(e[u]):s+=e[u]}return s}}let convertNumbersToZero=e=>"number"==typeof e?0:e;function getAnimatableNone(e){let t=parseComplexValue(e),n=createTransformer(e);return n(t.map(convertNumbersToZero))}let h={test,parse:parseComplexValue,createTransformer,getAnimatableNone}},15853:function(e,t,n){n.d(t,{K:function(){return i}});let i=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},36422:function(e,t,n){n.d(t,{N:function(){return sanitize}});let sanitize=e=>Math.round(1e5*e)/1e5},11761:function(e,t,n){n.d(t,{K:function(){return addValueToWillChange}});var i=n(65735);function isWillChangeMotionValue(e){return!!((0,i.i)(e)&&e.add)}function addValueToWillChange(e,t){let n=e.getValue("willChange");if(isWillChangeMotionValue(n))return n.add(t)}},69920:function(e,t,n){n.d(t,{sP:function(){return GroupPlaybackControls},_F:function(){return attachTimeline},iI:function(){return calcGeneratorDuration},wk:function(){return generateLinearEasing},ev:function(){return get_value_transition_getValueTransition},Mr:function(){return hover},qE:function(){return isBezierDefinition},xD:function(){return is_generator_isGenerator},DJ:function(){return isPrimaryPointer},hR:function(){return isWaapiSupportedEasing},eB:function(){return easing_mapEasingToNativeEasing},EO:function(){return s},OD:function(){return press},KV:function(){return setDragLock},Vc:function(){return o}});var i=n(92012);let r=(0,i.X)(()=>void 0!==window.ScrollTimeline);let BaseGroup_BaseGroupPlaybackControls=class BaseGroup_BaseGroupPlaybackControls{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){let n=this.animations.map(n=>
1r()&&n.attachTimeline?n.attachTimeline(e):"function"==typeof t?t(n):void 0);return()=>{n.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};let GroupPlaybackControls=class GroupPlaybackControls extends BaseGroup_BaseGroupPlaybackControls{then(e,t){return Promise.all(this.animations).then(e).catch(t)}};function get_value_transition_getValueTransition(e,t){return e?e[t]||e.default||e:void 0}let s=2e4;function calcGeneratorDuration(e){let t=0,n=e.next(t);for(;!n.done&&t<s;)t+=50,n=e.next(t);return t>=s?1/0:t}function is_generator_isGenerator(e){return"function"==typeof e}function attachTimeline(e,t){e.timeline=t,e.onfinish=null}let isBezierDefinition=e=>Array.isArray(e)&&"number"==typeof e[0],a={linearEasing:void 0};function memoSupports(e,t){let n=(0,i.X)(e);return()=>{var e;return null!==(e=a[t])&&void 0!==e?e:n()}}let o=memoSupports(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing");var l=n(1548);let generateLinearEasing=(e,t,n=10)=>{let i="",r=Math.max(Math.round(t/n),2);for(let t=0;t<r;t++)i+=e((0,l.Y)(0,r-1,t))+", ";return`linear(${i.substring(0,i.length-2)})`};function isWaapiSupportedEasing(e){return!!("function"==typeof e&&o()||!e||"string"==typeof e&&(e in u||o())||isBezierDefinition(e)||Array.isArray(e)&&e.every(isWaapiSupportedEasing))}let cubicBezierAsString=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,u={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:cubicBezierAsString([0,.65,.55,1]),circOut:cubicBezierAsString([.55,0,1,.45]),backIn:cubicBezierAsString([.31,.01,.66,-.59]),backOut:cubicBezierAsString([.33,1.53,.69,.99])};function easing_mapEasingToNativeEasing(e,t){if(e)return"function"==typeof e&&o()?generateLinearEasing(e,t):isBezierDefinition(e)?cubicBezierAsString(e):Array.isArray(e)?e.map(e=>easing_mapEasingToNativeEasing(e,t)||u.easeOut):u[e]}let h={x:!1,y:!1};function resolveElements(e,t,n){var i;if(e instanceof Element)return[e];if("string"==typeof e){let r=document;t&&(r=t.current);let s=null!==(i=null==n?void 0:n[e])&&void 0!==i?i:r.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e)}function setupGesture(e,t){let n=resolveElements(e),i=new AbortController,r={passive:!0,...t,signal:i.signal};return[n,r,()=>i.abort()]}function filterEvents(e){return t=>{"touch"===t.pointerType||h.x||h.y||e(t)}}function hover(e,t,n={}){let[i,r,s]=setupGesture(e,n),a=filterEvents(e=>{let{target:n}=e,i=t(e);if("function"!=typeof i||!n)return;let s=filterEvents(e=>{i(e),n.removeEventListener("pointerleave",s)});n.addEventListener("pointerleave",s,r)});return i.forEach(e=>{e.addEventListener("pointerenter",a,r)}),s}let isNodeOrChild=(e,t)=>!!t&&(e===t||isNodeOrChild(e,t.parentElement)),isPrimaryPointer=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,c=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function isElementKeyboardAccessible(e){return c.has(e.tagName)||-1!==e.tabIndex}let d=new WeakSet;function keyboard_filterEvents(e){return t=>{"Enter"===t.key&&e(t)}}function firePointerEvent(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}let enableKeyboardPress=(e,t)=>{let n=e.currentTarget;if(!n)return;let i=keyboard_filterEvents(()=>{if(d.has(n))return;firePointerEvent(n,"down");let e=keyboard_filterEvents(()=>{firePointerEvent(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>firePointerEvent(n,"cancel"),t)});n.addEventListener("keydown",i,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),t)};function isValidPressEvent(e){return isPrimaryPointer(e)&&!(h.x||h.y)}function press(e,t,n={}){let[i,r,s]=setupGesture(e,n),startPress=e=>{let i=e.currentTarget;if(!isValidPressEvent(e)||d.has(i))return;d.add(i);let s=t(e),onPointerEnd=(e,t)=>{window.removeEventListener("pointerup",onPointerUp),window.removeEventListener("pointercancel",onPointerCancel),isValidPressEvent(e)&&d.has(i)&&(d.delete(i),"function"==typeof s&&s(e,{success:t}))},onPointerUp=e=>{onPointerEnd(e,n.useGlobalTarget||isNodeOrChild(i,e.target))},onPointerCancel=e=>{onPointerEnd(e,!1)};window.addEventListener("pointerup",onPointerUp,r),window.addEventListener("pointercancel",onPointerCancel,r)};return i.forEach(e=>{isElementKeyboardAccessible(e)||null!==e.getAttribute("tabindex")||(e.tabIndex=0);let t=n.useGlobalTarget?window:e;t.addEventListener("pointerdown",startPress,r),e.addEventListener("focus",e=>enableKeyboardPress(e,r),r)}),s}function setDragLock(e){return"x"===e||"y"===e?h[e]?null:(h[e]=!0,()=>{h[e]=!1}):h.x||h.y?null:(h.x=h.y=!0,()=>{h.x=h.y=!1})}},32624:function(e,t,n){n.d(t,{K:function(){return r},k:function(){return s}});var i=n(13236);let r=i.Z,s=i.Z},92012:function(e,t,n){n.d(t,{X:function(){return memo}});function memo(e){let t;return()=>(void 0===t&&(t=e()),t)}},1548:function(e,t,n){n.d(t,{Y:function(){return progress}});let progress=(e,t,n)=>{let i=t-e;return 0===i?1:(n-e)/i}},7298:function(e,t,n){n.d(t,{X:function(){return millisecondsToSeconds},w:function(){return secondsToMilliseconds}});let secondsToMilliseconds=e=>1e3*e,millisecondsToSeconds=e=>e/1e3}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.