PageSourceSearch

https://www.creem.io/_next/static/chunks/59321-342bf929c312a265.js

js creem.io collected 2026-10-03 19:25:03 UTC 125,654 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a10214-1a4b-7dd1-8f33-eba8c4ac48cb")}catch(e){}}();try{!function(){var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="aa971ee3-69cf-4428-a690-ab1243d17694",t._sentryDebugIdIdentifier="sentry-dbid-aa971ee3-69cf-4428-a690-ab1243d17694")}()}catch(t){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[59321],{1740:(t,e,i)=>{i.d(e,{u:()=>s});var n=i(53617);let s={test:(0,i(53602).$)("#"),parse:function(t){let e="",i="",n="",s="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),s=t.substring(4,5),e+=e,i+=i,n+=n,s+=s),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:s?parseInt(s,16)/255:1}},transform:n.B.transform}},2600:(t,e,i)=>{i.d(e,{x:()=>a});var n=i(75044),s=i(63585),r=i(42175);function a(t,e,i){let a=(0,r.x)(t,e,i);for(let i in t)((0,n.S)(t[i])||(0,n.S)(e[i]))&&(a[-1!==s.U.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return a}},3528:(t,e,i)=>{i.d(e,{f:()=>r});var n=i(39929),s=i(72863);function r(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let a=(0,n.q)(0,e,r);t.push((0,s.k)(i,1,a))}}},4691:(t,e,i)=>{i.d(e,{x:()=>s});var n=i(54934);function s(t){return(0,n.G)(t)&&"ownerSVGElement"in t}},5073:(t,e,i)=>{i.d(e,{n:()=>n});let n="data-"+(0,i(14799).I)("framerAppearId")},5940:(t,e,i)=>{i.d(e,{D:()=>n});let n=t=>Array.isArray(t)&&"number"==typeof t[0]},8832:(t,e,i)=>{i.d(e,{M:()=>s});var n=i(48518);function s(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},9425:(t,e,i)=>{i.d(e,{p:()=>n});let n=t=>Array.isArray(t)},9532:(t,e,i)=>{i.d(e,{O:()=>o,e:()=>a});var n=i(46307),s=i(32878),r=i(18461);function a(t){return(0,n.N)(t.animate)||r._.some(e=>(0,s.w)(t[e]))}function o(t){return!!(a(t)||t.variants)}},11483:(t,e,i)=>{i.d(e,{P:()=>s});var n=i(5073);function s(t){return t.props[n.n]}},12708:(t,e,i)=>{function n(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function s(t,e,i,s){if("function"==typeof e){let[r,a]=n(s);e=e(void 0!==i?i:t.custom,r,a)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,a]=n(s);e=e(void 0!==i?i:t.custom,r,a)}return e}i.d(e,{a:()=>s})},13890:(t,e,i)=>{i.d(e,{_:()=>o});var n=i(84304),s=i(69495),r=i(26579);function a(t,e){var i;let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=(0,n.K)(t,e,"exit"===o.type?null==(i=t.presenceContext)?void 0:i.custom:void 0),{transition:h=t.getDefaultTransition()||{}}=l||{};o.transitionOverride&&(h=o.transitionOverride);let u=l?()=>Promise.all((0,s.$)(t,l,o)):()=>Promise.resolve(),d=t.variantChildren&&t.variantChildren.size?function(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,{delayChildren:n=0,staggerChildren:s,staggerDirection:l}=h;return function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,l=arguments.length>6?arguments[6]:void 0,h=[];for(let u of t.variantChildren)u.notify("AnimationStart",e),h.push(a(u,e,{...l,delay:i+("function"==typeof n?0:n)+(0,r.L)(t.variantChildren,u,n,s,o)}).then(()=>u.notify("AnimationComplete",e)));return Promise.all(h)}(t,e,i,n,s,l,o)}:()=>Promise.resolve(),{when:c}=h;if(!c)return Promise.all([u(),d(o.delay)]);{let[t,e]="beforeChildren"===c?[u,d]:[d,u];return t().then(()=>e())}}function o(t,e){let i,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t.notify("AnimationStart",e),Array.isArray(e))i=Promise.all(e.map(e=>a(t,e,r)));else if("string"==typeof e)i=a(t,e,r);else{let a="function"==typeof e?(0,n.K)(t,e,r.custom):e;i=Promise.all((0,s.$)(t,a,r))}return i.then(()=>{t.notify("AnimationComplete",e)})}},14799:(t,e,i)=>{i.d(e,{I:()=>n});let n=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},15946:(t,e,i)=>{i.d(e,{h:()=>s});var n=i(4691);function s(t){return(0,n.x)(t)&&"svg"===t.tagName}},17900:(t,e,i)=>{i.d(e,{Z:()=>s});var n=i(3528);function s(t){let e=[0];return(0,n.f)(e,t.length-1),e}},18052:(t,e,i)=>{i.d(e,{l:()=>n});let n=t=>t},18461:(t,e,i)=>{i.d(e,{U:()=>n,_:()=>s});let n=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],s=["initial",...n]}
1,19141:(t,e,i)=>{i.d(e,{j:()=>s,p:()=>a});let n=t=>e=>"string"==typeof e&&e.startsWith(t),s=n("--"),r=n("var(--"),a=t=>!!r(t)&&o.test(t.split("/*")[0].trim()),o=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},20281:(t,e,i)=>{i.d(e,{B:()=>n});let n="undefined"!=typeof window},24288:(t,e,i)=>{i.d(e,{X4:()=>r,ai:()=>s,hs:()=>a});var n=i(79871);let s={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},r={...s,transform:t=>(0,n.q)(0,1,t)},a={...s,default:1}},24365:(t,e,i)=>{i.d(e,{l:()=>p});var n=i(63585),s=i(67845),r=i(37091),a=i(69400),o=i(14799),l=i(27877);let h=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);var u=i(70136),d=i(50701),c=i(2600);class p extends a.b{getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(n.f.has(e)){let t=(0,s.D)(e);return t&&t.default||0}return e=h.has(e)?e:(0,o.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return(0,c.x)(t,e,i)}build(t,e,i){(0,l.B)(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in(0,d.e)(t,e,void 0,n),e.attrs)t.setAttribute(h.has(i)?i:(0,o.I)(i),e.attrs[i])}mount(t){this.isSVGTag=(0,u.n)(t.tagName),super.mount(t)}constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=r.ge}}},24934:(t,e,i)=>{i.d(e,{J:()=>a});var n=i(33542),s=i(47642),r=i(67845);function a(t,e){let i=(0,r.D)(t);return i!==s.p&&(i=n.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}},25098:(t,e,i)=>{i.d(e,{W:()=>n});let n={}},25117:(t,e,i)=>{i.d(e,{o:()=>f});var n=i(79871),s=i(73658),r=i(49664),a=i(46687),o=i(37661),l=i(85054);let h={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};var u=i(49401);function d(t,e){return t*Math.sqrt(1-e*e)}let c=["duration","bounce"],p=["stiffness","damping","mass"];function m(t,e){return e.some(e=>void 0!==t[e])}function f(t=h.visualDuration,e=h.bounce){let i,o="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:v,restDelta:g}=o,y=o.keyframes[0],x=o.keyframes[o.keyframes.length-1],w={done:!1,value:y},{stiffness:T,damping:b,mass:P,duration:S,velocity:A,isResolvedFromDuration:V}=function(t){let e={velocity:h.velocity,stiffness:h.stiffness,damping:h.damping,mass:h.mass,isResolvedFromDuration:!1,...t};if(!m(t,p)&&m(t,c))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),s=i*i,r=2*(0,n.q)(.05,1,1-(t.bounce||0))*Math.sqrt(s);e={...e,mass:h.mass,stiffness:s,damping:r}}else{let i=function({duration:t=h.duration,bounce:e=h.bounce,velocity:i=h.velocity,mass:r=h.mass}){let a,o;(0,u.$)(t<=(0,s.f)(h.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let l=1-e;l=(0,n.q)(h.minDamping,h.maxDamping,l),t=(0,n.q)(h.minDuration,h.maxDuration,(0,s.X)(t)),l<1?(a=e=>{let n=e*l,s=n*t;return .001-(n-i)/d(e,l)*Math.exp(-s)},o=e=>{let n=e*l*t,s=Math.pow(l,2)*Math.pow(e,2)*t,r=Math.exp(-n),o=d(Math.pow(e,2),l);return(n*i+i-s)*r*(-a(e)+.001>0?-1:1)/o}):(a=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),o=e=>t*t*(i-e)*Math.exp(-e*t));let c=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(a,o,5/t);if(t=(0,s.f)(t),isNaN(c))return{stiffness:h.stiffness,damping:h.damping,duration:t};{let e=Math.pow(c,2)*r;return{stiffness:e,damping:2*l*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...i,mass:h.mass}).isResolvedFromDuration=!0}return e}({...o,velocity:-(0,s.X)(o.velocity||0)}),M=A||0,k=b/(2*Math.sqrt(T*P)),E=x-y,D=(0,s.X)(Math.sqrt(T/P)),C=5>Math.abs(E);if(v||(v=C?h.restSpeed.granular:h.restSpeed.default),g||(g=C?h.restDelta.granular:h.restDelta.default),k<1){let t=d(D,k);i=e=>x-Math.exp(-k*D*e)*((M+k*D*E)/t*Math.sin(t*e)+E*Math.cos(t*e))}else if(1===k)i=t=>x-Math.exp(-D*t)*(E+(M+D*E)*t);else{let t=D*Math.sqrt(k*k-1);i=e=>{let i=Math.exp(-k*D*e),n=Math.min(t*e,300);return x-i*((M+k*D*E)*Math.sinh(n)+t*E*Math.cosh(n))/t}}let R={calculatedDuration:V&&S||null,next:t=>{let e=i(t);if(V)w.done=t>=S;else{let n=0===t?M:0;k<1&&(n=0===t?(0,s.f)(M):(0,l.Y)(i,t,e));let r=Math.abs(x-e)<=g;w.done=Math.abs(n)<=v&&r}return w.value=w.done?x:e,w},toString:()=>{let t=Math.min((0,a.t)(R),a.Y),e=(0,r.K)(e=>R.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return R}f.applyToOptions=t=>{let e=(0,o.X)(t,100,f);return t.ease=e.ease,t.duration=(0,s.f)(e.duration),t.type="keyframes",t}},26579:(t,e,i)=>{i.d(e,{L:()=>n});function n(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,o=(a-1)*n;return"function"==typeof i?i(r,a):1===s?r*n:o-r*n}}
1,27877:(t,e,i)=>{i.d(e,{B:()=>o});var n=i(38941),s=i(95766);let r={offset:"stroke-dashoffset",array:"stroke-dasharray"},a={offset:"strokeDashoffset",array:"strokeDasharray"};function o(t,e,i,o,l){var h,u;let{attrX:d,attrY:c,attrScale:p,pathLength:m,pathSpacing:f=1,pathOffset:v=0,...g}=e;if((0,n.O)(t,g,o),i){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:y,style:x}=t;y.transform&&(x.transform=y.transform,delete y.transform),(x.transform||y.transformOrigin)&&(x.transformOrigin=null!=(h=y.transformOrigin)?h:"50% 50%",delete y.transformOrigin),x.transform&&(x.transformBox=null!=(u=null==l?void 0:l.transformBox)?u:"fill-box",delete y.transformBox),void 0!==d&&(y.x=d),void 0!==c&&(y.y=c),void 0!==p&&(y.scale=p),void 0!==m&&function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=!(arguments.length>4)||void 0===arguments[4]||arguments[4];t.pathLength=1;let l=o?r:a;t[l.offset]=s.px.transform(-n);let h=s.px.transform(e),u=s.px.transform(i);t[l.array]="".concat(h," ").concat(u)}(y,m,f,v,!1)}},28362:(t,e,i)=>{i.d(e,{I:()=>a});var n=i(25098);let s=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var r=i(81909);function a(t,e){let i=!1,a=!0,o={delta:0,timestamp:0,isProcessing:!1},l=()=>i=!0,h=s.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,s=!1,a=!1,o=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},h=0;function u(e){o.has(e)&&(d.schedule(e),t()),h++,e(l)}let d={schedule:(t,e=!1,r=!1)=>{let a=r&&s?i:n;return e&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{n.delete(t),o.delete(t)},process:t=>{if(l=t,s){a=!0;return}s=!0,[i,n]=[n,i],i.forEach(u),e&&r.Q.value&&r.Q.value.frameloop[e].push(h),h=0,i.clear(),s=!1,a&&(a=!1,d.process(t))}};return d}(l,e?i:void 0),t),{}),{setup:u,read:d,resolveKeyframes:c,preUpdate:p,update:m,preRender:f,render:v,postRender:g}=h,y=()=>{let s=n.W.useManualTiming?o.timestamp:performance.now();i=!1,n.W.useManualTiming||(o.delta=a?1e3/60:Math.max(Math.min(s-o.timestamp,40),1)),o.timestamp=s,o.isProcessing=!0,u.process(o),d.process(o),c.process(o),p.process(o),m.process(o),f.process(o),v.process(o),g.process(o),o.isProcessing=!1,i&&e&&(a=!1,t(y))};return{schedule:s.reduce((e,n)=>{let s=h[n];return e[n]=(e,n=!1,r=!1)=>(!i&&(i=!0,a=!0,o.isProcessing||t(y)),s.schedule(e,n,r)),e},{}),cancel:t=>{for(let e=0;e<s.length;e++)h[s[e]].cancel(t)},state:o,steps:h}}},32878:(t,e,i)=>{i.d(e,{w:()=>n});function n(t){return"string"==typeof t||Array.isArray(t)}},33542:(t,e,i)=>{i.d(e,{V:()=>u,f:()=>m});var n=i(97319);let s=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var r=i(77853),a=i(71576);let o="number",l="color",h=/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 u(t){let e=t.toString(),i=[],s={color:[],number:[],var:[]},r=[],a=0,u=e.replace(h,t=>(n.y.test(t)?(s.color.push(a),r.push(l),i.push(n.y.parse(t))):t.startsWith("var(")?(s.var.push(a),r.push("var"),i.push(t)):(s.number.push(a),r.push(o),i.push(parseFloat(t))),++a,"${}")).split("${}");return{values:i,split:u,indexes:s,types:r}}function d(t){return u(t).values}function c(t){let{split:e,types:i}=u(t),s=e.length;return t=>{let r="";for(let h=0;h<s;h++)if(r+=e[h],void 0!==t[h]){let e=i[h];e===o?r+=(0,a.a)(t[h]):e===l?r+=n.y.transform(t[h]):r+=t[h]}return r}}let p=t=>"number"==typeof t?0:n.y.test(t)?n.y.getAnimatableNone(t):t,m={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(r.S)?.length||0)+(t.match(s)?.length||0)>0},parse:d,createTransformer:c,getAnimatableNone:function(t){let e=d(t);return c(t)(e.map(p))}}},33670:(t,e,i)=>{i.d(e,{a6:()=>s,am:()=>a,vT:()=>r});var n=i(51110);let s=(0,n.A)(.42,0,1,1),r=(0,n.A)(0,0,.58,1),a=(0,n.A)(.42,0,.58,1)},35087:(t,e,i)=>{i.d(e,{K:()=>n});function n(t,e,i){if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let s=i?.[t]??n.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t)}},35208:(t,e,i)=>{i.d(e,{F:()=>s});let n=(t,e)=>i=>e(t(i)),s=(...t)=>t.reduce(n)},35651:(t,e,i)=>{i.d(e,{E4:()=>
1o,Hr:()=>d,W9:()=>u});var n=i(95353),s=i(63585),r=i(24288),a=i(95766);let o=t=>t===r.ai||t===a.px,l=new Set(["x","y","z"]),h=s.U.filter(t=>!l.has(t));function u(t){let e=[];return h.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e}let d={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:(t,{transform:e})=>(0,n.ry)(e,"x"),y:(t,{transform:e})=>(0,n.ry)(e,"y")};d.translateX=d.x,d.translateY=d.y},37091:(t,e,i)=>{i.d(e,{ge:()=>a,xU:()=>s});let n=()=>({translate:0,scale:1,origin:0,originPoint:0}),s=()=>({x:n(),y:n()}),r=()=>({min:0,max:0}),a=()=>({x:r(),y:r()})},37445:(t,e,i)=>{i.d(e,{OQ:()=>h});var n=i(64581),s=i(43738),r=i(63298),a=i(48692);let o={current:void 0};class l{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=r.k.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=r.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new n.v);let i=this.events[t].add(e);return"change"===t?()=>{i(),a.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){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return o.current&&o.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=r.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,s.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}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.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function h(t,e){return new l(t,e)}},37661:(t,e,i)=>{i.d(e,{X:()=>r});var n=i(73658),s=i(46687);function r(t,e=100,i){let a=i({...t,keyframes:[0,e]}),o=Math.min((0,s.t)(a),s.Y);return{type:"keyframes",ease:t=>a.next(o*t).value/e,duration:(0,n.X)(o)}}},38711:(t,e,i)=>{i.d(e,{i:()=>n});let n=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},38941:(t,e,i)=>{i.d(e,{O:()=>h});var n=i(63585),s=i(19141);let r=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var a=i(93114);let o={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=n.U.length;function h(t,e,i){let{style:h,vars:u,transformOrigin:d}=t,c=!1,p=!1;for(let t in e){let i=e[t];if(n.f.has(t)){c=!0;continue}if((0,s.j)(t)){u[t]=i;continue}{let e=r(i,a.W[t]);t.startsWith("origin")?(p=!0,d[t]=e):h[t]=e}}
1if(!e.transform&&(c||i?h.transform=function(t,e,i){let s="",h=!0;for(let u=0;u<l;u++){let l=n.U[u],d=t[l];if(void 0===d)continue;let c=!0;if(!(c="number"==typeof d?d===+!!l.startsWith("scale"):0===parseFloat(d))||i){let t=r(d,a.W[l]);if(!c){h=!1;let e=o[l]||l;s+="".concat(e,"(").concat(t,") ")}i&&(e[l]=t)}}return s=s.trim(),i?s=i(e,h?"":s):h&&(s="none"),s}(e,t.transform,i):h.transform&&(h.transform="none")),p){let{originX:t="50%",originY:e="50%",originZ:i=0}=d;h.transformOrigin="".concat(t," ").concat(e," ").concat(i)}}},39131:(t,e,i)=>{i.d(e,{q:()=>n});let n={layout:0,mainThread:0,waapi:0}},39929:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n}},40874:(t,e,i)=>{i.d(e,{C:()=>n});let n=new WeakMap},41077:(t,e,i)=>{i.d(e,{z:()=>a});var n=i(75044),s=i(37445),r=i(83224);function a(t,e,i){let a=(0,n.S)(t)?t:(0,s.OQ)(t);return a.start((0,r.f)("",a,e,i)),a.animation}},42175:(t,e,i)=>{i.d(e,{x:()=>r});var n=i(75044),s=i(63660);function r(t,e,i){let{style:r}=t,a={};for(let l in r){var o;((0,n.S)(r[l])||e.style&&(0,n.S)(e.style[l])||(0,s.z)(l,t)||(null==i||null==(o=i.getValue(l))?void 0:o.liveStyle)!==void 0)&&(a[l]=r[l])}return a}},43738:(t,e,i)=>{i.d(e,{f:()=>n});function n(t,e){return e?1e3/e*t:0}},46307:(t,e,i)=>{i.d(e,{N:()=>n});function n(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}},46386:(t,e,i)=>{i.d(e,{M:()=>d});var n=i(63585),s=i(95353),r=i(19141),a=i(54860),o=i(69400),l=i(38941),h=i(50701),u=i(42175);class d extends o.b{readValueFromInstance(t,e){var i;if(n.f.has(e))return(null==(i=this.projection)?void 0:i.isProjecting)?(0,s.zs)(e):(0,s.Ib)(t,e);{let i=window.getComputedStyle(t),n=((0,r.j)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,e){let{transformPagePoint:i}=e;return(0,a.m)(t,i)}build(t,e,i){(0,l.O)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,u.x)(t,e,i)}constructor(){super(...arguments),this.type="html",this.renderInstance=h.e}}},46687:(t,e,i)=>{i.d(e,{Y:()=>n,t:()=>s});let n=2e4;function s(t){let e=0,i=t.next(e);for(;!i.done&&e<n;)e+=50,i=t.next(e);return e>=n?1/0:e}},46987:(t,e,i)=>{i.d(e,{W:()=>n});function n(t){return"function"==typeof t&&"applyToOptions"in t}},47642:(t,e,i)=>{i.d(e,{p:()=>l});var n=i(33542),s=i(77853);let r=new Set(["brightness","contrast","saturate","opacity"]);function a(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(s.S)||[];if(!n)return t;let a=i.replace(n,""),o=+!!r.has(e);return n!==i&&(o*=100),e+"("+o+a+")"}let o=/\b([a-z-]*)\(.*?\)/gu,l={...n.f,getAnimatableNone:t=>{let e=t.match(o);return e?e.map(a).join(" "):t}}},48692:(t,e,i)=>{i.d(e,{Gt:()=>s,PP:()=>o,WG:()=>r,uv:()=>a});var n=i(18052);let{schedule:s,cancel:r,state:a,steps:o}=(0,i(28362).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.l,!0)},49108:(t,e,i)=>{i.d(e,{g:()=>r});var n=i(25098),s=i(75044);function r(t,e){let i=t.getValue("willChange");if((0,s.S)(i)&&i.add)return i.add(e);if(!i&&n.W.WillChange){let i=new n.W.WillChange("auto");t.addValue("willChange",i),i.add(e)}}},49401:(t,e,i)=>{i.d(e,{$:()=>n,V:()=>s});let n=()=>{},s=()=>{}},49664:(t,e,i)=>{i.d(e,{K:()=>n});let n=(t,e,i=10)=>{let n="",s=Math.max(Math.round(e/i),2);for(let e=0;e<s;e++)n+=Math.round(1e4*t(e/(s-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`}},50701:(t,e,i)=>{i.d(e,{e:()=>n});function n(t,e,i,n){let s,{style:r,vars:a}=e,o=t.style;for(s in r)o[s]=r[s];for(s in null==n||n.applyProjectionStyles(o,i),a)o.setProperty(s,a[s])}},51110:(t,e,i)=>{i.d(e,{A:()=>r});var n=i(18052);let s=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function r(t,e,i,r){return t===e&&i===r?n.l:n=>0===n||1===n?n:s(function(t,e,i,n,r){let a,o,l=0;do(a=s(o=e+(i-e)/2,n,r)-t)>0?i=o:e=o;while(Math.abs(a)>1e-7&&++l<12);return o}(n,0,1,t,i),e,r)}},51373:(t,e,i)=>{i.d(e,{Sz:()=>a,ZZ:()=>l,dg:()=>o});var n=i(51110),s=i(51868),r=i(65679);let a=(0,n.A)(.33,1.53,.69,.99),o=(0,r.G)(a),l=(0,s.V)(o)},51868:(t,e,i)=>{i.d(e,{V:()=>n});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},52429:(t,e,i)=>{i.d(e,{h:()=>c,q:()=>d});var n=i(35651),s=i(48692);let r=new Set,a=!1,o=!1,l=!1;function h(){if(o){let t=Array.from(r).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=(0,n.W9)(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}o=!1,a=!1,r.forEach(t=>t.complete(l)),r.clear()}function u(){r.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(o=!0)})}function d(){l=!0,u(),h(),l=!1}class c{constructor(t,e,i,n,s,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=s,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(r.add(this),a||(a=!0,s.Gt.read(u),s.Gt.resolveKeyframes(h))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;
1if(null===t[0]){let s=n?.get(),r=t[t.length-1];if(void 0!==s)t[0]=s;else if(i&&e){let n=i.readValue(e,r);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=r),n&&void 0===s&&n.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),r.delete(this)}cancel(){"scheduled"===this.state&&(r.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},53602:(t,e,i)=>{i.d(e,{$:()=>r,q:()=>a});var n=i(77853);let s=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,r=(t,e)=>i=>!!("string"==typeof i&&s.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),a=(t,e,i)=>s=>{if("string"!=typeof s)return s;let[r,a,o,l]=s.match(n.S);return{[t]:parseFloat(r),[e]:parseFloat(a),[i]:parseFloat(o),alpha:void 0!==l?parseFloat(l):1}}},53617:(t,e,i)=>{i.d(e,{B:()=>l});var n=i(79871),s=i(24288),r=i(71576),a=i(53602);let o={...s.ai,transform:t=>Math.round((0,n.q)(0,255,t))},l={test:(0,a.$)("rgb","red"),parse:(0,a.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+o.transform(t)+", "+o.transform(e)+", "+o.transform(i)+", "+(0,r.a)(s.X4.transform(n))+")"}},54851:(t,e,i)=>{i.d(e,{$:()=>n});let n=t=>/^0[^.\s]+$/u.test(t)},54860:(t,e,i)=>{i.d(e,{L:()=>a,m:()=>r});var n=i(91761),s=i(64896);function r(t,e){return(0,n.FY)((0,n.bS)(t.getBoundingClientRect(),e))}function a(t,e,i){let n=r(t,i),{scroll:a}=e;return a&&((0,s.Ql)(n.x,a.offset.x),(0,s.Ql)(n.y,a.offset.y)),n}},54934:(t,e,i)=>{i.d(e,{G:()=>n});function n(t){return"object"==typeof t&&null!==t}},55788:(t,e,i)=>{i.d(e,{B:()=>k});var n=i(48692),s=i(63585),r=i(37445),a=i(97319),o=i(33542),l=i(79029),h=i(89479);let u=[...l.T,a.y,o.f];var d=i(24934),c=i(75044),p=i(77256),m=i(52429),f=i(63298),v=i(38711),g=i(54851),y=i(64581),x=i(94117),w=i(37091),T=i(20281);let b={current:null},P={current:!1};var S=i(40874),A=i(9532),V=i(12708);let M=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class k{scrapeMotionValuesFromProps(t,e,i){return{}}mount(t){var e;this.current=t,S.C.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)),P.current||function(){if(P.current=!0,T.B)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>b.current=t.matches;t.addEventListener("change",e),e()}else b.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||b.current),null==(e=this.parent)||e.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var t;for(let e in this.projection&&this.projection.unmount(),(0,n.WG)(this.notifyUpdate),(0,n.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),null==(t=this.parent)||t.removeChild(this),this.events)this.events[e].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),null!=this.enteringChildren||(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let r=s.f.has(t);r&&this.onBindTransform&&this.onBindTransform();let a=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&n.Gt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{a(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in x.B){let e=x.B[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];
1e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,w.ge)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=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<M.length;e++){let i=M[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let s=e[n],a=i[n];if((0,c.S)(s))t.addValue(n,s);else if((0,c.S)(a))t.addValue(n,(0,r.OQ)(s,{owner:t}));else if(a!==s)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(n);t.addValue(n,(0,r.OQ)(void 0!==e?e:s,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),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}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&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,r.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let n=void 0===this.latestValues[t]&&this.current?null!=(i=this.getBaseTargetFromProps(this.props,t))?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=n){if("string"==typeof n&&((0,v.i)(n)||(0,g.$)(n)))n=parseFloat(n);else{let i;i=n,!u.find((0,h.w)(i))&&o.f.test(e)&&(n=(0,d.J)(t,e))}this.setBaseTarget(t,(0,c.S)(n)?n.get():n)}return(0,c.S)(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){var n;let s=(0,V.a)(this.props,i,null==(n=this.presenceContext)?void 0:n.custom);s&&(e=s[t])}if(i&&void 0!==e)return e;let s=this.getBaseTargetFromProps(this.props,t);return void 0===s||(0,c.S)(s)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new y.v),this.events[t].add(e)}notify(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];this.events[t]&&this.events[t].notify(...i)}scheduleRenderMicrotask(){p.k.render(this.render)}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:s,blockInitialAnimation:r,visualState:a},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=m.h,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 t=f.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,n.Gt.render(this.render,!1,!0))};let{latestValues:l,renderState:h}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=h,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=o,this.blockInitialAnimation=!!r,this.isControllingVariants=(0,A.e)(e),this.isVariantNode=(0,A.O)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in d){let e=d[t];void 0!==l[t]&&(0,c.S)(e)&&e.set(l[t])}}}},56763:(t,e,i)=>{i.d(e,{U:()=>a});var n=i(37445),s=i(9425),r=i(84304);function a(t,e){let{transitionEnd:i={},transition:a={},...o}=(0,r.K)(t,e)||{};for(let e in o={...o,...i}){var l;let i=(l=o[e],(0,s.p)(l)?l[l.length-1]||0:l);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,n.OQ)(i))}}},59321:(t,e,i)=>{i.d(e,{P:()=>ib});var n=i(48518),s=i(46386),r=i(24365);let a=["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 o(t){if("string"!=typeof t||t.includes("-"));else if(a.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var l=i(230);let h=(0,n.createContext)({}),u=(0,n.createContext)({strict:!1}),d=(0,n.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),c=(0,n.createContext)({});var p=i(9532),m=i(32878);function f(t){return Array.isArray(t)?t.join(" "):t}var v=i(75044),g=i(63660),y=i(38941);let x=()=>({style:{},transform:{},transformOrigin:{},vars:{}});
1function w(t,e,i){for(let n in e)(0,v.S)(e[n])||(0,g.z)(n,i)||(t[n]=e[n])}var T=i(27877);let b=()=>({...x(),attrs:{}});var P=i(70136);let S=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function A(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||S.has(t)}let V=t=>!A(t);try{!function(t){"function"==typeof t&&(V=e=>e.startsWith("on")?!A(e):t(e))}(require("@emotion/is-prop-valid").default)}catch(t){}var M=i(46307);let k=(0,n.createContext)(null);var E=i(12708),D=i(8832);function C(t){return(0,v.S)(t)?t.get():t}let R=t=>(e,i)=>{let s=(0,n.useContext)(c),r=(0,n.useContext)(k),a=()=>(function(t,e,i,n){let{scrapeMotionValuesFromProps:s,createRenderState:r}=t;return{latestValues:function(t,e,i,n){let s={},r=n(t,{});for(let t in r)s[t]=C(r[t]);let{initial:a,animate:o}=t,l=(0,p.e)(t),h=(0,p.O)(t);e&&h&&!l&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===o&&(o=e.animate));let u=!!i&&!1===i.initial,d=(u=u||!1===a)?o:a;if(d&&"boolean"!=typeof d&&!(0,M.N)(d)){let e=Array.isArray(d)?d:[d];for(let i=0;i<e.length;i++){let n=(0,E.a)(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=u?e.length-1:0;e=e[t]}null!==e&&(s[t]=e)}for(let e in t)s[e]=t[e]}}}return s}(e,i,n,s),renderState:r()}})(t,e,s,r);return i?a():(0,D.M)(a)},j=R({scrapeMotionValuesFromProps:i(42175).x,createRenderState:x}),L=R({scrapeMotionValuesFromProps:i(2600).x,createRenderState:b});var F=i(20281),B=i(94117);let O=Symbol.for("motionComponentSymbol");function I(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var U=i(5073);let W=(0,n.createContext)({});var N=i(80617);function q(t){var e,i;let{forwardMotionProps:s=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;r&&function(t){for(let e in t)B.B[e]={...B.B[e],...t[e]}}(r);let g=o(t)?L:j;function S(e,i){var r;let S,M={...(0,n.useContext)(d),...e,layoutId:function(t){let{layoutId:e}=t,i=(0,n.useContext)(h).id;return i&&void 0!==e?i+"-"+e:e}(e)},{isStatic:E}=M,D=function(t){let{initial:e,animate:i}=function(t,e){if((0,p.e)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,m.w)(e)?e:void 0,animate:(0,m.w)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,n.useContext)(c));return(0,n.useMemo)(()=>({initial:e,animate:i}),[f(e),f(i)])}(e),C=g(e,E);if(!E&&F.B){(0,n.useContext)(u).strict;let e=function(t){let{drag:e,layout:i}=B.B;if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(M);S=e.MeasureLayout,D.visualElement=function(t,e,i,s,r){var a,o,l,h;let{visualElement:p}=(0,n.useContext)(c),m=(0,n.useContext)(u),f=(0,n.useContext)(k),v=(0,n.useContext)(d).reducedMotion,g=(0,n.useRef)(null);s=s||m.renderer,!g.current&&s&&(g.current=s(t,{visualState:e,parent:p,props:i,presenceContext:f,blockInitialAnimation:!!f&&!1===f.initial,reducedMotionConfig:v}));let y=g.current,x=(0,n.useContext)(W);y&&!y.projection&&r&&("html"===y.type||"svg"===y.type)&&function(t,e,i,n){let{layoutId:s,layout:r,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:h,layoutCrossfade:u}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:s,layout:r,alwaysMeasureLayout:!!a||o&&I(o),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:n,crossfade:u,layoutScroll:l,layoutRoot:h})}(g.current,i,r,x);let w=(0,n.useRef)(!1);(0,n.useInsertionEffect)(()=>{y&&w.current&&y.update(i,f)});let T=i[U.n],b=(0,n.useRef)(!!T&&!(null==(a=(o=window).MotionHandoffIsComplete)?void 0:a.call(o,T))&&(null==(l=(h=window).MotionHasOptimisedAnimation)?void 0:l.call(h,T)));return(0,N.E)(()=>{y&&(w.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),y.scheduleRenderMicrotask(),b.current&&y.animationState&&y.animationState.animateChanges())}),(0,n.useEffect)(()=>{y&&(!b.current&&y.animationState&&y.animationState.animateChanges(),b.current&&(queueMicrotask(()=>{var t,e;null==(t=(e=window).MotionHandoffMarkAsComplete)||t.call(e,T)}),b.current=!1),y.enteringChildren=void 0)}),y}(t,C,M,a,e.ProjectionNode)}return(0,l.jsxs)(c.Provider,{value:D,children:[S&&D.visualElement?(0,l.jsx)(S,{visualElement:D.visualElement,...M}
1):null,function(t,e,i,s,r){let{latestValues:a}=s,l=arguments.length>5&&void 0!==arguments[5]&&arguments[5],h=(o(t)?function(t,e,i,s){let r=(0,n.useMemo)(()=>{let i=b();return(0,T.B)(i,e,(0,P.n)(s),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};w(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i={},s=function(t,e){let i=t.style||{},s={};return w(s,i,t),Object.assign(s,function(t,e){let{transformTemplate:i}=t;return(0,n.useMemo)(()=>{let t=x();return(0,y.O)(t,e,i),Object.assign({},t.vars,t.style)},[e])}(t,e)),s}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=s,i})(e,a,r,t),u=function(t,e,i){let n={};for(let s in t)("values"!==s||"object"!=typeof t.values)&&(V(s)||!0===i&&A(s)||!e&&!A(s)||t.draggable&&s.startsWith("onDrag"))&&(n[s]=t[s]);return n}(e,"string"==typeof t,l),d=t!==n.Fragment?{...u,...h,ref:i}:{},{children:c}=e,p=(0,n.useMemo)(()=>(0,v.S)(c)?c.get():c,[c]);return(0,n.createElement)(t,{...d,children:p})}(t,e,(r=D.visualElement,(0,n.useCallback)(t=>{t&&C.onMount&&C.onMount(t),r&&(t?r.mount(t):r.unmount()),i&&("function"==typeof i?i(t):I(i)&&(i.current=t))},[r])),C,E,s)]})}S.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!=(i=null!=(e=t.displayName)?e:t.name)?i:"",")"));let M=(0,n.forwardRef)(S);return M[O]=t,M}var G=i(13890),X=i(26579),K=i(9425);function H(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}var Y=i(18461);let $=Y._.length;var z=i(84304);let Q=[...Y.U].reverse(),_=Y.U.length;function Z(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function J(){return{animate:Z(!0),whileInView:Z(),whileHover:Z(),whileTap:Z(),whileDrag:Z(),whileFocus:Z(),exit:Z()}}class tt{update(){}constructor(t){this.isMounted=!1,this.node=t}}class te extends tt{updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,M.N)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null==(t=this.unmountControls)||t.call(this)}constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(e=>{let{animation:i,options:n}=e;return(0,G._)(t,i,n)})),i=J(),n=!0,s=e=>(i,n)=>{var s;let r=(0,z.K)(t,n,"exit"===e?null==(s=t.presenceContext)?void 0:s.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;i={...i,...n,...e}}return i};function r(r){let{props:a}=t,o=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<$;t++){let n=Y._[t],s=e.props[n];((0,m.w)(s)||!1===s)&&(i[n]=s)}return i}(t.parent)||{},l=[],h=new Set,u={},d=1/0;for(let e=0;e<_;e++){var c,p;let f=Q[e],v=i[f],g=void 0!==a[f]?a[f]:o[f],y=(0,m.w)(g),x=f===r?v.isActive:null;!1===x&&(d=e);let w=g===o[f]&&g!==a[f]&&y;if(w&&n&&t.manuallyAnimateOnMount&&(w=!1),v.protectedKeys={...u},!v.isActive&&null===x||!g&&!v.prevProp||(0,M.N)(g)||"boolean"==typeof g)continue;let T=(c=v.prevProp,"string"==typeof(p=g)?p!==c:!!Array.isArray(p)&&!H(p,c)),b=T||f===r&&v.isActive&&!w&&y||e>d&&y,P=!1,S=Array.isArray(g)?g:[g],A=S.reduce(s(f),{});!1===x&&(A={});let{prevResolvedValues:V={}}=v,k={...V,...A},E=e=>{b=!0,h.has(e)&&(P=!0,h.delete(e)),v.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in k){let e=A[t],i=V[t];if(!u.hasOwnProperty(t))((0,K.p)(e)&&(0,K.p)(i)?H(e,i):e===i)?void 0!==e&&h.has(t)?E(t):v.protectedKeys[t]=!0:null!=e?E(t):h.add(t)}v.prevProp=g,v.prevResolvedValues=A,v.isActive&&(u={...u,...A}),n&&t.blockInitialAnimation&&(b=!1);let D=w&&T,C=!D||P;b&&C&&l.push(...S.map(e=>{let i={type:f};if("string"==typeof e&&n&&!D&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,s=(0,z.K)(n,e);if(n.enteringChildren&&s){let{delayChildren:e}=s.transition||{};i.delay=(0,X.L)(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(h.size){let e={};if("boolean"!=typeof a.initial){let i=(0,z.K)(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}
1h.forEach(i=>{let n=t.getBaseTarget(i),s=t.getValue(i);s&&(s.liveStyle=!0),e[i]=null!=n?n:null}),l.push({animation:e})}let f=!!l.length;return n&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(f=!1),n=!1,f?e(l):Promise.resolve()}return{animateChanges:r,setActive:function(e,n){var s;if(i[e].isActive===n)return Promise.resolve();null==(s=t.variantChildren)||s.forEach(t=>{var i;return null==(i=t.animationState)?void 0:i.setActive(e,n)}),i[e].isActive=n;let a=r(e);for(let t in i)i[t].protectedKeys={};return a},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=J()}}}(t))}}let ti=0;class tn extends tt{update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id
1))}unmount(){}constructor(){super(...arguments),this.id=ti++}}var ts=i(18052);let tr={x:!1,y:!1};var ta=i(95766),to=i(48692),tl=i(72863),th=i(49401),tu=i(83224);function td(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}let tc=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function tp(t){return{point:{x:t.pageX,y:t.pageY}}}function tm(t,e,i,n){return td(t,e,t=>tc(t)&&i(t,tp(t)),n)}var tf=i(91761);function tv(t){return t.max-t.min}function tg(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;t.origin=n,t.originPoint=(0,tl.k)(e.min,e.max,t.origin),t.scale=tv(i)/tv(e),t.translate=(0,tl.k)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function ty(t,e,i,n){tg(t.x,e.x,i.x,n?n.originX:void 0),tg(t.y,e.y,i.y,n?n.originY:void 0)}function tx(t,e,i){t.min=i.min+e.min,t.max=t.min+tv(e)}function tw(t,e,i){t.min=e.min-i.min,t.max=t.min+tv(e)}function tT(t,e,i){tw(t.x,e.x,i.x),tw(t.y,e.y,i.y)}var tb=i(37091);function tP(t){return[t("x"),t("y")]}var tS=i(54860);let tA=t=>{let{current:e}=t;return e?e.ownerDocument.defaultView:null};var tV=i(49108),tM=i(35208),tk=i(73658);let tE=(t,e)=>Math.abs(t-e);class tD{updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,to.WG)(this.updatePoint)}constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:s=!1,distanceThreshold:r=3}={}){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=tj(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(tE(t.x,e.x)**2+tE(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!i)return;let{point:n}=t,{timestamp:s}=to.uv;this.history.push({...n,timestamp:s});let{onStart:r,onMove:a}=this.handlers;e||(r&&r(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=tC(e,this.transformPagePoint),to.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:s}=this.handlers;if(this.dragSnapToOrigin&&s&&s(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=tj("pointercancel"===t.type?this.lastMoveEventInfo:tC(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),n&&n(t,r)},!tc(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=r,this.contextWindow=n||window;let a=tC(tp(t),this.transformPagePoint),{point:o}=a,{timestamp:l}=to.uv;this.history=[{...o,timestamp:l}];let{onSessionStart:h}=e;h&&h(t,tj(a,this.history)),this.removeListeners=(0,tM.F)(tm(this.contextWindow,"pointermove",this.handlePointerMove),tm(this.contextWindow,"pointerup",this.handlePointerUp),tm(this.contextWindow,"pointercancel",this.handlePointerUp))}}function tC(t,e){return e?{point:e(t.point)}:t}function tR(t,e){return{x:t.x-e.x,y:t.y-e.y}}function tj(t,e){let{point:i}=t;return{point:i,delta:tR(i,tL(e)),offset:tR(i,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,s=tL(t);for(;i>=0&&(n=t[i],!(s.timestamp-n.timestamp>(0,tk.f)(.1)));)i--;if(!n)return{x:0,y:0};let r=(0,tk.X)(s.timestamp-n.timestamp);if(0===r)return{x:0,y:0};let a={x:(s.x-n.x)/r,y:(s.y-n.y)/r};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(e,.1)}}function tL(t){return t[t.length-1]}var tF=i(39929),tB=i(79871);function tO(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 tI(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function tU(t,e,i){return{min:tW(t,e),max:tW(t,i)}}function tW(t,e){return"number"==typeof t?t:t[e]||0}let tN=new WeakMap;class tq{start(t){let{snapToCursor:e=!1,distanceThreshold:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let s=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(tp(t).point)},r=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:s}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(tr[t])return null;else return tr[t]=!0,()=>{tr[t]=!1};return tr.x||tr.y?null:(tr.x=tr.y=!0,()=>{tr.x=tr.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),tP(t=>{let e=this.getAxisMotionValue(t).get()||0;if(ta.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];
1n&&(e=tv(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&&to.Gt.postRender(()=>s(t,e)),(0,tV.g)(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:s,onDrag:r}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(a),null!==this.currentDirection&&s&&s(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),r&&r(t,e)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>tP(t=>{var e;return"paused"===this.getAnimationState(t)&&(null==(e=this.getAxisMotionValue(t).animation)?void 0:e.play())}),{dragSnapToOrigin:h}=this.getProps();this.panSession=new tD(t,{onSessionStart:s,onStart:r,onMove:a,onSessionEnd:o,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,distanceThreshold:i,contextWindow:tA(this.visualElement)})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!n||!i)return;let{velocity:r}=n;this.startAnimation(r);let{onDragEnd:a}=this.getProps();a&&to.Gt.postRender(()=>a(i,n))}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.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!tG(t,n,this.currentDirection))return;let s=this.getAxisMotionValue(t),r=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(r=function(t,e,i){let{min:n,max:s}=e;return void 0!==n&&t<n?t=i?(0,tl.k)(n,t,i.min):Math.max(t,n):void 0!==s&&t>s&&(t=i?(0,tl.k)(s,t,i.max):Math.min(t,s)),t}(r,this.constraints[t],this.elastic[t])),s.set(r)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(t=this.visualElement.projection)?void 0:t.layout,s=this.constraints;e&&I(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(t,e){let{top:i,left:n,bottom:s,right:r}=e;return{x:tO(t.x,n,r),y:tO(t.y,i,s)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.35;return!1===t?t=0:!0===t&&(t=.35),{x:tU(t,"left","right"),y:tU(t,"top","bottom")}}(i),s!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&tP(t=>{!1!==this.constraints&&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}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!I(e))return!1;let n=e.current;(0,th.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;let r=(0,tS.L)(n,s.root,this.visualElement.getTransformPagePoint()),a=(t=s.layout.layoutBox,{x:tI(t.x,r.x),y:tI(t.y,r.y)});if(i){let t=i((0,tf.pA)(a));this.hasMutatedConstraints=!!t,t&&(a=(0,tf.FY)(t))}return a}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:s,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),o=this.constraints||{};return Promise.all(tP(a=>{if(!tG(a,e,this.currentDirection))return;let l=o&&o[a]||{};r&&(l={min:0,max:0});let h={type:"inertia",velocity:i?t[a]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...s,...l};return this.startAxisValueAnimation(a,h)})).then(a)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,tV.g)(this.visualElement,t),i.start((0,tu.f)(t,i,0,e,this.visualElement,!1))}stopAnimation(){tP(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){tP(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".concat(t.toUpperCase()),i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){tP(e=>{let{drag:i}=this.getProps();if(!tG(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,s=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:r}=n.layout.layoutBox[e];s.set(t[e]-(0,tl.k)(i,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!I(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};tP(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=tv(t),s=tv(e);return s>n?i=(0,tF.q)(e.min,e.max-n,t.min):n>s&&(i=(0,tF.q)(t.min,t.max-s,e.min)),(0,tB.q)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),tP(e=>{if(!tG(e,t,null))return;let i=this.getAxisMotionValue(e),{min:s,max:r}=this.constraints[e];i.set((0,tl.k)(s,r,n[e]))})}addListeners(){if(!this.visualElement.current)return;tN.set(this.visualElement,this);let t=tm(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();I(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),to.Gt.read(e);let s=td(window,"resize",()=>this.scalePositionWithinConstraints()),r=i.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:i}=t;this.isDragging&&i&&(tP(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{s(),t(),n(),r&&r()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:s=!1,dragElastic:r=.35,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:s,dragElastic:r,dragMomentum:a}}constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,tb.ge)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}}function tG(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class tX extends tt{mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ts.l}unmount(){this.removeGroupControls(),this.removeListeners()}constructor(t){super(t),this.removeGroupControls=ts.l,this.removeListeners=ts.l,this.controls=new tq(t)}}let tK=t=>(e,i)=>{t&&to.Gt.postRender(()=>t(e,i))};class tH extends tt{onPointerDown(t){this.session=new tD(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:tA(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:tK(t),onStart:tK(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&to.Gt.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=tm(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}constructor(){super(...arguments),this.removePointerDownListener=ts.l}}var tY=i(77256);let t$={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function tz(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let tQ={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!ta.px.test(t))return t;else t=parseFloat(t);let i=tz(t,e.target.x),n=tz(t,e.target.y);return"".concat(i,"% ").concat(n,"%")}};var t_=i(33542),tZ=i(84796);let tJ=!1;class t0 extends n.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:s}=t;(0,tZ.$)(t5),s&&(e.group&&e.group.add(s),i&&i.register&&n&&i.register(s),tJ&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),t$.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:s}=this.props,{projection:r}=i;return r&&(r.isPresent=s,tJ=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==s?r.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?r.promote():r.relegate()||to.Gt.postRender(()=>{let t=r.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),tY.k.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;tJ=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function t1(t){let[e,i]=function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=(0,n.useContext)(k);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:s,register:r}=e,a=(0,n.useId)();(0,n.useEffect)(()=>
1{if(t)return r(a)},[t]);let o=(0,n.useCallback)(()=>t&&s&&s(a),[a,s,t]);return!i&&s?[!1,o]:[!0]}(),s=(0,n.useContext)(h);return(0,l.jsx)(t0,{...t,layoutGroup:s,switchLayoutGroup:(0,n.useContext)(W),isPresent:e,safeToRemove:i})}let t5={borderRadius:{...tQ,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tQ,borderTopRightRadius:tQ,borderBottomLeftRadius:tQ,borderBottomRightRadius:tQ,boxShadow:{correct:(t,e)=>{let{treeScale:i,projectionDelta:n}=e,s=t_.f.parse(t);if(s.length>5)return t;let r=t_.f.createTransformer(t),a=+("number"!=typeof s[0]),o=n.x.scale*i.x,l=n.y.scale*i.y;s[0+a]/=o,s[1+a]/=l;let h=(0,tl.k)(o,l,.5);return"number"==typeof s[2+a]&&(s[2+a]/=h),"number"==typeof s[3+a]&&(s[3+a]/=h),r(s)}}};var t4=i(4691),t3=i(15946),t2=i(82204),t9=i(63298),t6=i(81909),t8=i(39131),t7=i(37445),et=i(64581),ee=i(41077),ei=i(11483),en=i(63433);let es=(t,e)=>t.depth-e.depth;class er{add(t){(0,en.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,en.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(es),this.isDirty=!1,this.children.forEach(t)}constructor(){this.children=[],this.isDirty=!1}}var ea=i(62577);let eo=["TopLeft","TopRight","BottomLeft","BottomRight"],el=eo.length,eh=t=>"string"==typeof t?parseFloat(t):t,eu=t=>"number"==typeof t||ta.px.test(t);function ed(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let ec=em(0,.5,ea.yT),ep=em(.5,.95,ts.l);function em(t,e,i){return n=>n<t?0:n>e?1:i((0,tF.q)(t,e,n))}function ef(t,e){t.min=e.min,t.max=e.max}function ev(t,e){ef(t.x,e.x),ef(t.y,e.y)}function eg(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var ey=i(64896);function ex(t,e,i,n,s){return t-=e,t=(0,ey.hq)(t,1/i,n),void 0!==s&&(t=(0,ey.hq)(t,1/s,n)),t}function ew(t,e,i,n,s){let[r,a,o]=i;!function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,s=arguments.length>4?arguments[4]:void 0,r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:t;if(ta.KN.test(e)&&(e=parseFloat(e),e=(0,tl.k)(a.min,a.max,e/100)-a.min),"number"!=typeof e)return;let o=(0,tl.k)(r.min,r.max,n);t===r&&(o-=e),t.min=ex(t.min,e,i,o,s),t.max=ex(t.max,e,i,o,s)}(t,e[r],e[a],e[o],e.scale,n,s)}let eT=["x","scaleX","originX"],eb=["y","scaleY","originY"];function eP(t,e,i,n){ew(t.x,e,eT,i?i.x:void 0,n?n.x:void 0),ew(t.y,e,eb,i?i.y:void 0,n?n.y:void 0)}function eS(t){return 0===t.translate&&1===t.scale}function eA(t){return eS(t.x)&&eS(t.y)}function eV(t,e){return t.min===e.min&&t.max===e.max}function eM(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function ek(t,e){return eM(t.x,e.x)&&eM(t.y,e.y)}function eE(t){return tv(t.x)/tv(t.y)}function eD(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class eC{add(t){(0,en.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,en.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:n}=t.options;!1===n&&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)}constructor(){this.members=[]}}var eR=i(68967);let ej={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},eL=["","X","Y","Z"],eF=0;function eB(t,e,i,n){let{latestValues:s}=e;s[t]&&(i[t]=s[t],e.setStaticValue(t,0),n&&(n[t]=0))}function eO(t){let{attachResizeListener:e,defaultParent:i,measureScroll:n,checkIsScrollRoot:s,resetTransform:r}=t;return class{addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new et.v),this.eventHandlers.get(t).add(e)}notifyListeners(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];let s=this.eventHandlers.get(t);s&&s.notify(...i)}hasListeners(t){return this.eventHandlers.has(t)}mount(t){if(this.instance)return;this.isSVG=(0,t4.x)(t)&&!(0,t3.h)(t),this.instance=t;let{layoutId:i,layout:n,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),e){let i,n=0,s=()=>this.root.updateBlockedByResize=!1;to.Gt.read(()=>{n=window.innerWidth}),e(t,()=>{let t=window.innerWidth;t!==n&&(n=t,this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=t9.k.now(),n=e=>{let{timestamp:s}=e,r=s-i;r>=250&&((0,to.WG)(n),t(r-250))};return to.Gt.setup(n,!0),()=>(0,to.WG)(n)}(s,250),t$.hasAnimatedSinceResize&&(t$.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(eH)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||n)&&this.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:i,hasRelativeLayoutChanged:n,layout:r}=t;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||s.getDefaultTransition()||e0,{onLayoutAnimationStart:o,onLayoutAnimationComplete:l}=s.getProps(),h=!this.targetLayout||!ek(this.targetLayout,r),u=!i&&n;if(this.options.layoutRoot||this.resumeFrom||u||i&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...(0,t2.r)(a,"layout"),onPlay:o,onComplete:l};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u)}else i||eH(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,this.eventHandlers.clear(),(0,to.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(ez),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=(0,ei.P)(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",to.Gt,!(t||i))}let{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&t(s)}(this),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 n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(eG);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(eX);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(eK),this.nodes.forEach(eI),this.nodes.forEach(eU)):this.nodes.forEach(eX),this.clearAllSnapshots();let t=t9.k.now();
1to.uv.delta=(0,tB.q)(0,1e3/60,t-to.uv.timestamp),to.uv.timestamp=t,to.uv.isProcessing=!0,to.PP.update.process(to.uv),to.PP.preRender.process(to.uv),to.PP.render.process(to.uv),to.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tY.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(eq),this.sharedNodes.forEach(eQ)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,to.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){to.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||tv(this.snapshot.measuredBox.x)||tv(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}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=(0,tb.ge)(),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(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"measure",e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=s(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!eA(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,eR.HD)(this.latestValues)||s)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(){var t;let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],i=this.measurePageBox(),n=this.removeElementScroll(i);return e&&(n=this.removeTransform(n)),e4((t=n).x),e4(t.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return(0,tb.ge)();let i=e.measureViewportBox();if(!((null==(t=this.scroll)?void 0:t.wasRoot)||this.path.some(e2))){let{scroll:t}=this.root;t&&((0,ey.Ql)(i.x,t.offset.x),(0,ey.Ql)(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=(0,tb.ge)();if(ev(i,t),null==(e=this.scroll)?void 0:e.wasRoot)return i;for(let e=0;e<this.path.length;e++){let n=this.path[e],{scroll:s,options:r}=n;n!==this.root&&s&&r.layoutScroll&&(s.wasRoot&&ev(i,t),(0,ey.Ql)(i.x,s.offset.x),(0,ey.Ql)(i.y,s.offset.y))}return i}applyTransform(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=(0,tb.ge)();ev(i,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(0,ey.Ww)(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),(0,eR.HD)(n.latestValues)&&(0,ey.Ww)(i,n.latestValues)}return(0,eR.HD)(this.latestValues)&&(0,ey.Ww)(i,this.latestValues),i}removeTransform(t){let e=(0,tb.ge)();ev(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,eR.HD)(i.latestValues))continue;(0,eR.vk)(i.latestValues)&&i.updateSnapshot();let n=(0,tb.ge)();ev(n,i.measurePageBox()),eP(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return(0,eR.HD)(this.latestValues)&&eP(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!==to.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(){var t,e,i,n;let s=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=r.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=r.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=r.isSharedProjectionDirty);let a=!!this.resumingFrom||this!==r;if(!(s||a&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:o,layoutId:l}=this.options;if(this.layout&&(o||l)){if(this.resolvedRelativeTargetAt=to.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,tb.ge)(),this.relativeTargetOrigin=(0,tb.ge)(),tT(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),ev(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=(0,tb.ge)(),this.targetWithTransforms=(0,tb.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),e=this.target,i=this.relativeTarget,n=this.relativeParent.target,tx(e.x,i.x,n.x),tx(e.y,i.y,n.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ev(this.target,this.layout.layoutBox),(0,ey.o4)(this.target,this.targetDelta)):ev(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=(0,tb.ge)(),this.relativeTargetOrigin=(0,tb.ge)(),tT(this.relativeTargetOrigin,this.target,t.target),ev(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}t6.Q.value&&ej.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,eR.vk)(this.parent.latestValues)||(0,eR.vF)(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,n=!0;if((this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty))&&(n=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===to.uv.timestamp&&(n=!1),n)return;let{layout:s,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||r))return;ev(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;(0,ey.OU)(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=(0,tb.ge)());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(eg(this.prevProjectionDelta.x,this.projectionDelta.x),eg(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),ty(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===a&&this.treeScale.y===o&&eD(this.projectionDelta.x,this.prevProjectionDelta.x)&&eD(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),t6.Q.value&&ej.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(){var t;let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(null==(t=this.options.visualElement)||t.scheduleRender(),e){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,tb.xU)(),this.projectionDelta=(0,tb.xU)(),this.projectionDeltaWithTransform=(0,tb.xU)()}setAnimationOrigin(t){let e,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.snapshot,s=n?n.latestValues:{},r={...this.latestValues},a=(0,tb.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!i;let o=(0,tb.ge)(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),u=!h||h.members.length<=1,d=!!(l&&!u&&!0===this.options.crossfade&&!this.path.some(eJ));this.animationProgress=0,this.mixTargetDelta=i=>{let n=i/1e3;if(e_(a.x,t.x,n),e_(a.y,t.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,c,p,m,f,v;tT(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=o,v=n,eZ(p.x,m.x,f.x,v),eZ(p.y,m.y,f.y,v),e&&(h=this.relativeTarget,c=e,eV(h.x,c.x)&&eV(h.y,c.y))&&(this.isProjectionDirty=!1),e||(e=(0,tb.ge)()),ev(e,this.relativeTarget)}
1l&&(this.animationValues=r,function(t,e,i,n,s,r){var a,o,l,h;s?(t.opacity=(0,tl.k)(0,null!=(a=i.opacity)?a:1,ec(n)),t.opacityExit=(0,tl.k)(null!=(o=e.opacity)?o:1,0,ep(n))):r&&(t.opacity=(0,tl.k)(null!=(l=e.opacity)?l:1,null!=(h=i.opacity)?h:1,n));for(let s=0;s<el;s++){let r="border".concat(eo[s],"Radius"),a=ed(e,r),o=ed(i,r);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||eu(a)===eu(o)?(t[r]=Math.max((0,tl.k)(eh(a),eh(o),n),0),(ta.KN.test(o)||ta.KN.test(a))&&(t[r]+="%")):t[r]=o)}(e.rotate||i.rotate)&&(t.rotate=(0,tl.k)(e.rotate||0,i.rotate||0,n))}(r,s,this.latestValues,n,d,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){var e,i,n;this.notifyListeners("animationStart"),null==(e=this.currentAnimation)||e.stop(),null==(n=this.resumingFrom)||null==(i=n.currentAnimation)||i.stop(),this.pendingAnimation&&((0,to.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=to.Gt.update(()=>{t$.hasAnimatedSinceResize=!0,t8.q.layout++,this.motionValue||(this.motionValue=(0,t7.OQ)(0)),this.currentAnimation=(0,ee.z)(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{t8.q.layout--},onComplete:()=>{t8.q.layout--,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:n,latestValues:s}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&e3(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||(0,tb.ge)();let e=tv(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=tv(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}ev(e,i),(0,ey.Ww)(e,s),ty(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new eC),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(){let{needsReset:t,transition:e,preserveFollowOpacity:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.getStack();n&&n.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)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&eB("z",t,n,this.animationValues);for(let e=0;e<eL.length;e++)eB("rotate".concat(eL[e]),t,n,this.animationValues),eB("skew".concat(eL[e]),t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=C(null==e?void 0:e.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=C(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!(0,eR.HD)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let s=n.animationValues||n.latestValues;this.applyTransformsToTarget();
1let r=function(t,e,i){let n="",s=t.x.translate/e.x,r=t.y.translate/e.y,a=(null==i?void 0:i.z)||0;if((s||r||a)&&(n="translate3d(".concat(s,"px, ").concat(r,"px, ").concat(a,"px) ")),(1!==e.x||1!==e.y)&&(n+="scale(".concat(1/e.x,", ").concat(1/e.y,") ")),i){let{transformPerspective:t,rotate:e,rotateX:s,rotateY:r,skewX:a,skewY:o}=i;t&&(n="perspective(".concat(t,"px) ").concat(n)),e&&(n+="rotate(".concat(e,"deg) ")),s&&(n+="rotateX(".concat(s,"deg) ")),r&&(n+="rotateY(".concat(r,"deg) ")),a&&(n+="skewX(".concat(a,"deg) ")),o&&(n+="skewY(".concat(o,"deg) "))}let o=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==o||1!==l)&&(n+="scale(".concat(o,", ").concat(l,")")),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,s);i&&(r=i(s,r)),t.transform=r;let{x:a,y:o}=this.projectionDelta;if(t.transformOrigin="".concat(100*a.origin,"% ").concat(100*o.origin,"% 0"),n.animationValues){var l,h;t.opacity=n===this?null!=(h=null!=(l=s.opacity)?l:this.latestValues.opacity)?h:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit}else t.opacity=n===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(let e in tZ.H){if(void 0===s[e])continue;let{correct:i,applyTo:a,isCSSVariable:o}=tZ.H[e],l="none"===r?s[e]:i(s[e],n);if(a){let e=a.length;for(let i=0;i<e;i++)t[a[i]]=l}else o?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?C(null==e?void 0:e.pointerEvents)||"":"none")}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(eG),this.root.sharedNodes.clear()}constructor(t={},e=null==i?void 0:i()){this.id=eF++,this.animationId=0,this.animationCommitId=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.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,t6.Q.value&&(ej.nodes=ej.calculatedTargetDeltas=ej.calculatedProjections=0),this.nodes.forEach(eW),this.nodes.forEach(eY),this.nodes.forEach(e$),this.nodes.forEach(eN),t6.Q.addProjectionMetrics&&t6.Q.addProjectionMetrics(ej)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=e?e.root||e:this,this.path=e?[...e.path,e]:[],this.parent=e,this.depth=e?e.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new er)}}}function eI(t){t.updateLayout()}function eU(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:n}=t.layout,{animationType:s}=t.options,r=i.source!==t.layout.source;"size"===s?tP(t=>{let n=r?i.measuredBox[t]:i.layoutBox[t],s=tv(n);n.min=e[t].min,n.max=n.min+s}):e3(s,i.layoutBox,e)&&tP(n=>{let s=r?i.measuredBox[n]:i.layoutBox[n],a=tv(e[n]);s.max=s.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+a)});let a=(0,tb.xU)();ty(a,e,i.layoutBox);let o=(0,tb.xU)();r?ty(o,t.applyTransform(n,!0),i.measuredBox):ty(o,e,i.layoutBox);let l=!eA(a),h=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:s,layout:r}=n;if(s&&r){let a=(0,tb.ge)();tT(a,i.layoutBox,s.layoutBox);let o=(0,tb.ge)();tT(o,e,r.layoutBox),ek(a,o)||(h=!0),n.options.layoutRoot&&(t.relativeTarget=o,t.relativeTargetOrigin=a,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function eW(t){t6.Q.value&&ej.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function eN(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function eq(t){t.clearSnapshot()}function eG(t){t.clearMeasurements()}function eX(t){t.isLayoutDirty=!1}function eK(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function eH(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function eY(t){t.resolveTargetDelta()}function e$(t){t.calcProjection()}function ez(t){t.resetSkewAndRotation()}function eQ(t){t.removeLeadSnapshot()}function e_(t,e,i){t.translate=(0,tl.k)(e.translate,0,i),t.scale=(0,tl.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function eZ(t,e,i,n){t.min=(0,tl.k)(e.min,i.min,n),t.max=(0,tl.k)(e.max,i.max,n)}function eJ(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let e0={duration:.45,ease:[.4,0,.1,1]},e1=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),e5=e1("applewebkit/")&&!e1("chrome/")?Math.round:ts.l;function e4(t){t.min=e5(t.min),t.max=e5(t.max)}function e3(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(eE(e)-eE(i)))}function e2(t){var e;return t!==t.root&&(null==(e=t.scroll)?void 0:e.wasRoot)}let e9=eO({attachResizeListener:(t,e)=>td(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),e6={current:void 0},e8=eO({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!e6.current){let t=new e9({});t.mount(window),t.setOptions({layoutScroll:!0}),e6.current=t}return e6.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var e7=i(35087);function it(t,e){let i=(0,e7.K)(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function ie(t){return!("touch"===t.pointerType||tr.x||tr.y)}function ii(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=n["onHover"+i];s&&to.Gt.postRender(()=>s(e,tp(e)))}class is extends tt{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,s,r]=it(t,i),a=t=>{if(!ie(t))return;let{target:i}=t,n=e(i,t);if("function"!=typeof n||!i)return;let r=t=>{ie(t)&&(n(t),i.removeEventListener("pointerleave",r))};i.addEventListener("pointerleave",r,s)};return n.forEach(t=>{t.addEventListener("pointerenter",a,s)}),r}(t,(t,e)=>(ii(this.node,e,"Start"),t=>ii(this.node,t,"End"))))}unmount(){}}class ir extends tt{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,tM.F)(td(this.node.current,"focus",()=>this.onFocus()),td(this.node.current,"blur",()=>this.onBlur()))}unmount(){}constructor(){super(...arguments),this.isActive=!1}}var ia=i(54934);let io=(t,e)=>!!e&&(t===e||io(t,e.parentElement)),il=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),ih=new WeakSet;function iu(t){return e=>{"Enter"===e.key&&t(e)}}function id(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function ic(t){return tc(t)&&!(tr.x||tr.y)}function ip(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let s=n["onTap"+("End"===i?"":i)];s&&to.Gt.postRender(()=>s(e,tp(e)))}class im extends tt{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,s,r]=it(t,i),a=t=>{let n=t.currentTarget;if(!ic(t))return;ih.add(n);let r=e(n,t),a=(t,e)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),ih.has(n)&&ih.delete(n),ic(t)&&"function"==typeof r&&r(t,{success:e})},o=t=>{a(t,n===window||n===document||i.useGlobalTarget||io(n,t.target))},l=t=>{a(t,!1)};window.addEventListener("pointerup",o,s),window.addEventListener("pointercancel",l,s)};
1return n.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",a,s),(0,ia.G)(t)&&"offsetHeight"in t&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=iu(()=>{if(ih.has(i))return;id(i,"down");let t=iu(()=>{id(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>id(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,s)),il.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),r}(t,(t,e)=>(ip(this.node,e,"Start"),(t,e)=>{let{success:i}=e;return ip(this.node,t,i?"End":"Cancel")}),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let iv=new WeakMap,ig=new WeakMap,iy=t=>{let e=iv.get(t.target);e&&e(t)},ix=t=>{t.forEach(iy)},iw={some:0,all:1};class iT extends tt{startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:s}=t,r={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:iw[n]},a=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,s&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),r=e?i:n;r&&r(t)};var o=this.node.current;let l=function(t){let{root:e,...i}=t,n=e||document;ig.has(n)||ig.set(n,{});let s=ig.get(n),r=JSON.stringify(i);return s[r]||(s[r]=new IntersectionObserver(ix,{root:e,...i})),s[r]}(r);return iv.set(o,a),l.observe(o),()=>{iv.delete(o),l.unobserve(o)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function(t){let{viewport:e={}}=t,{viewport:i={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=>e[t]!==i[t]}(t,e))&&this.startObserver()}unmount(){}constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}}let ib=function(t,e){if("undefined"==typeof Proxy)return q;let i=new Map,n=(i,n)=>q(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(s,r)=>"create"===r?n:(i.has(r)||i.set(r,q(r,void 0,t,e)),i.get(r))})}({animation:{Feature:te},exit:{Feature:tn},inView:{Feature:iT},tap:{Feature:im},focus:{Feature:ir},hover:{Feature:is},pan:{Feature:tH},drag:{Feature:tX,ProjectionNode:e8,MeasureLayout:t1},layout:{ProjectionNode:e8,MeasureLayout:t1}},(t,e)=>o(t)?new r.l(e):new s.M(e,{allowProjection:t!==n.Fragment}))},59941:(t,e,i)=>{i.d(e,{V:()=>o});var n=i(24288),s=i(95766),r=i(71576),a=i(53602);let o={test:(0,a.$)("hsl","hue"),parse:(0,a.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:a=1})=>"hsla("+Math.round(t)+", "+s.KN.transform((0,r.a)(e))+", "+s.KN.transform((0,r.a)(i))+", "+(0,r.a)(n.X4.transform(a))+")"}},62577:(t,e,i)=>{i.d(e,{po:()=>r,tn:()=>o,yT:()=>a});var n=i(51868),s=i(65679);let r=t=>1-Math.sin(Math.acos(t)),a=(0,s.G)(r),o=(0,n.V)(r)},63298:(t,e,i)=>{let n;i.d(e,{k:()=>o});var s=i(25098),r=i(48692);function a(){n=void 0}let o={now:()=>(void 0===n&&o.set(r.uv.isProcessing||s.W.useManualTiming?r.uv.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(a)}}},63433:(t,e,i)=>{function n(t,e){-1===t.indexOf(e)&&t.push(e)}function s(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{Ai:()=>s,Kq:()=>n})},63585:(t,e,i)=>{i.d(e,{U:()=>n,f:()=>s});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],s=new Set(n)},63660:(t,e,i)=>{i.d(e,{z:()=>r});var n=i(63585),s=i(84796);function r(t,e){let{layout:i,layoutId:r}=e;return n.f.has(t)||t.startsWith("origin")||(i||void 0!==r)&&(!!s.H[t]||"opacity"===t)}},64581:(t,e,i)=>{i.d(e,{v:()=>s});var n=i(63433);class s{constructor(){this.subscriptions=[]}add(t){return(0,n.Kq)(this.subscriptions,t),()=>(0,n.Ai)(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let s=0;s<n;s++){let n=this.subscriptions[s];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}}
1,64896:(t,e,i)=>{i.d(e,{OU:()=>h,Ql:()=>u,Ww:()=>c,hq:()=>r,o4:()=>l});var n=i(72863),s=i(68967);function r(t,e,i){return i+e*(t-i)}function a(t,e,i,n,s){return void 0!==s&&(t=n+s*(t-n)),n+i*(t-n)+e}function o(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0;t.min=a(t.min,e,i,n,s),t.max=a(t.max,e,i,n,s)}function l(t,e){let{x:i,y:n}=e;o(t.x,i.translate,i.scale,i.originPoint),o(t.y,n.translate,n.scale,n.originPoint)}function h(t,e,i){let n,r,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=i.length;if(o){e.x=e.y=1;for(let h=0;h<o;h++){r=(n=i[h]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(a&&n.options.layoutScroll&&n.scroll&&n!==n.root&&c(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,l(t,r)),a&&(0,s.HD)(n.latestValues)&&c(t,n.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function u(t,e){t.min=t.min+e,t.max=t.max+e}function d(t,e,i,s){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.5,a=(0,n.k)(t.min,t.max,r);o(t,e,i,a,s)}function c(t,e){d(t.x,e.x,e.scaleX,e.scale,e.originX),d(t.y,e.y,e.scaleY,e.scale,e.originY)}},65679:(t,e,i)=>{i.d(e,{G:()=>n});let n=t=>e=>1-t(1-e)},67845:(t,e,i)=>{i.d(e,{D:()=>a});var n=i(97319),s=i(47642);let r={...i(93114).W,color:n.y,backgroundColor:n.y,outlineColor:n.y,fill:n.y,stroke:n.y,borderColor:n.y,borderTopColor:n.y,borderRightColor:n.y,borderBottomColor:n.y,borderLeftColor:n.y,filter:s.p,WebkitFilter:s.p},a=t=>r[t]},68967:(t,e,i)=>{function n(t){return void 0===t||1===t}function s(t){let{scale:e,scaleX:i,scaleY:s}=t;return!n(e)||!n(i)||!n(s)}function r(t){return s(t)||a(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function a(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}i.d(e,{HD:()=>r,vF:()=>a,vk:()=>s})},69400:(t,e,i)=>{i.d(e,{b:()=>y});var n=i(75044),s=i(90848),r=i(79029),a=i(49401),o=i(38711),l=i(19141);let h=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var u=i(52429),d=i(54851),c=i(33542),p=i(24934);let m=new Set(["auto","none","0"]);var f=i(35651);class v extends u.h{constructor(t,e,i,n,s){super(t,e,i,n,s,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&(n=n.trim(),(0,l.p)(n))){let s=function t(e,i,n=1){(0,a.V)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[s,r]=function(t){let e=h.exec(t);if(!e)return[,];let[,i,n,s]=e;return[`--${i??n}`,s]}(e);if(!s)return;let u=window.getComputedStyle(i).getPropertyValue(s);if(u){let t=u.trim();return(0,o.i)(t)?parseFloat(t):t}return(0,l.p)(r)?t(r,i,n+1):r}(n,e.current);void 0!==s&&(t[i]=s),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!s.$.has(i)||2!==t.length)return;let[n,u]=t,d=(0,r.n)(n),c=(0,r.n)(u);if(d!==c)if((0,f.E4)(d)&&(0,f.E4)(c))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else f.Hr[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;(null===t[e]||("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||(0,d.$)(n)))&&i.push(e)}i.length&&function(t,e,i){let n,s=0;for(;s<t.length&&!n;){let e=t[s];"string"==typeof e&&!m.has(e)&&(0,c.V)(e).values.length&&(n=t[s]),s++}if(n&&i)for(let s of e)t[s]=(0,p.J)(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=f.Hr[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let s=i.length-1,r=i[s];i[s]=f.Hr[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}var g=i(55788);class y extends g.B{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,e){let{vars:i,style:n}=e;delete i[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,n.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent="".concat(t))}))}constructor(){super(...arguments),this.KeyframeResolver=v}}},69495:(t,e,i)=>{i.d(e,{$:()=>u});var n=i(82204),s=i(48692),r=i(90848),a=i(56763),o=i(49108),l=i(11483),h=i(83224);function u(t,e){let{delay:i=0,transitionOverride:u,type:d}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{transition:c=t.getDefaultTransition(),transitionEnd:p,...m}=e;u&&(c=u);let f=[],v=d&&t.animationState&&t.animationState.getState()[d];for(let e in m){var g;let a=t.getValue(e,null!=(g=t.latestValues[e])?g:null),u=m[e];if(void 0===u||v&&function(t,e){let{protectedKeys:i,needsAnimating:n}=t,s=i.hasOwnProperty(e)&&!0!==n[e];return n[e]=!1,s}(v,e))continue;let d={delay:i,...(0,n.r)(c||{},e)},p=a.get();if(void 0!==p&&!a.isAnimating&&!Array.isArray(u)&&u===p&&!d.velocity)continue;let y=!1;if(window.MotionHandoffAnimation){let i=(0,l.P)(t);if(i){let t=window.MotionHandoffAnimation(i,e,s.Gt);null!==t&&(d.startTime=t,y=!0)}}(0,o.g)(t,e),a.start((0,h.f)(e,a,u,t.shouldReduceMotion&&r.$.has(e)?{type:!1}:d,t,y));let x=a.animation;x&&f.push(x)}return p&&Promise.all(f).then(()=>{s.Gt.update(()=>{p&&(0,a.U)(t,p)})}),f}},70136:(t,e,i)=>{i.d(e,{n:()=>n});let n=t=>"string"==typeof t&&"svg"===t.toLowerCase()},71576:(t,e,i)=>{i.d(e,{a:()=>n});let n=t=>Math.round(1e5*t)/1e5},72863:(t,e,i)=>{i.d(e,{k:()=>n});let n=(t,e,i)=>t+(e-t)*i},73658:(t,e,i)=>{i.d(e,{X:()=>s,f:()=>n});let n=t=>1e3*t,s=t=>t/1e3},75044:(t,e,i)=>{i.d(e,{S:()=>n});let n=t=>!!(t&&t.getVelocity)},75728:(t,e,i)=>{i.d(e,{b:()=>s});var n=i(51373);let s=t=>(t*=2)<1?.5*(0,n.dg)(t):.5*(2-Math.pow(2,-10*(t-1)))},76114:(t,e,i)=>{i.d(e,{K:()=>c});var n=i(49401),s=i(18052),r=i(75728),a=i(51373),o=i(62577),l=i(51110),h=i(33670),u=i(5940);let d={linear:s.l,easeIn:h.a6,easeInOut:h.am,easeOut:h.vT,circIn:o.po,circInOut:o.tn,circOut:o.yT,backIn:a.dg,backInOut:a.ZZ,backOut:a.Sz,anticipate:r.b},c=t=>{if((0,u.D)(t)){(0,n.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,s,r]=t;return(0,l.A)(e,i,s,r)}return"string"==typeof t?((0,n.V)(void 0!==d[t],`Invalid easing type '${t}'`,"invalid-easing-type"),d[t]):t}},77256:(t,e,i)=>{i.d(e,{k:()=>n});let{schedule:n}=(0,i(28362).I)(queueMicrotask,!1)},77853:(t,e,i)=>{i.d(e,{S:()=>n});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},79029:(t,e,i)=>{i.d(e,{T:()=>a,n:()=>o});var n=i(24288),s=i(95766),r=i(89479);let a=[n.ai,s.px,s.KN,s.uj,s.vw,s.vh,{test:t=>"auto"===t,parse:t=>t}],o=t=>a.find((0,r.w)(t))},79871:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>i>e?e:i<t?t:i},80617:(t,e,i)=>{i.d(e,{E:()=>s});var n=i(48518);let s=i(20281).B?n.useLayoutEffect:n.useEffect},81909:(t,e,i)=>{i.d(e,{Q:()=>n});let n={value:null,addProjectionMetrics:null}},82204:(t,e,i)=>{i.d(e,{r:()=>n});function n(t,e){return t?.[e]??t?.default??t}},83224:(t,e,i)=>{i.d(e,{f:()=>tS});var n=i(82204);function s(t){t.duration=0,t.type="keyframes"}var r=i(48692),a=i(35208),o=i(79871),l=i(73658),h=i(63298),u=i(39131),d=i(49401),c=i(19141),p=i(97319),m=i(33542),f=i(1740),v=i(59941);function g(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 y=i(53617);function x(t,e){return i=>i>0?e:t}var w=i(72863);let T=(t,e,i)=>{let n=t*t,s=i*(e*e-n)+n;return s<0?0:Math.sqrt(s)},b=[f.u,y.B,v.V];function P(t){let e=b.find(e=>e.test(t));if((0,d.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===v.V&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let s=0,r=0,a=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,o=2*i-n;s=g(o,n,t+1/3),r=g(o,n,t),a=g(o,n,t-1/3)}else s=r=a=i;return{red:Math.round(255*s),green:Math.round(255*r),blue:Math.round(255*a),alpha:n}}(i)),i}let S=(t,e)=>{let i=P(t),n=P(e);if(!i||!n)return x(t,e);let s={...i};return t=>(s.red=T(i.red,n.red,t),s.green=T(i.green,n.green,t),s.blue=T(i.blue,n.blue,t),s.alpha=(0,w.k)(i.alpha,n.alpha,t),y.B.transform(s))},A=new Set(["none","hidden"]);function V(t,e){return i=>(0,w.k)(t,e,i)}function M(t){return"number"==typeof t?V:"string"==typeof t?(0,c.p)(t)?x:p.y.test(t)?S:D:Array.isArray(t)?k:"object"==typeof t?p.y.test(t)?S:E:x}function k(t,e){let i=[...t],n=i.length,s=t.map((t,i)=>M(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=s[e](t);return i}}function E(t,e){let i={...t,...e},n={};for(let s in i)void 0!==t[s]&&void 0!==e[s]&&(n[s]=M(t[s])(t[s],e[s]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let D=(t,e)=>{let i=m.f.createTransformer(e),n=(0,m.V)(t),s=(0,m.V)(e);return n.indexes.var.length===s.indexes.var.length&&n.indexes.color.length===s.indexes.color.length&&n.indexes.number.length>=s.indexes.number.length?A.has(t)&&!s.values.length||A.has(e)&&!n.values.length?function(t,e){return A.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):(0,a.F)(k(function(t,e){let i=[],n={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let r=e.types[s],a=t.indexes[r][n[r]],o=t.values[a]??0;i[s]=o,n[r]++}return i}(n,s),s.values),i):((0,d.$)(!0,`Complex values '${t}' and '${e}
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.`,"complex-values-different"),x(t,e))};function C(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,w.k)(t,e,i):M(t)(t,e)}let R=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>r.Gt.update(e,t),stop:()=>(0,r.WG)(e),now:()=>r.uv.isProcessing?r.uv.timestamp:h.k.now()}};var j=i(25117),L=i(85054);function F({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:s=10,bounceStiffness:r=500,modifyTarget:a,min:o,max:l,restDelta:h=.5,restSpeed:u}){let d,c,p=t[0],m={done:!1,value:p},f=i*e,v=p+f,g=void 0===a?v:a(v);g!==v&&(f=g-p);let y=t=>-f*Math.exp(-t/n),x=t=>g+y(t),w=t=>{let e=y(t),i=x(t);m.done=Math.abs(e)<=h,m.value=m.done?g:i},T=t=>{let e;if(e=m.value,void 0!==o&&e<o||void 0!==l&&e>l){var i;d=t,c=(0,j.o)({keyframes:[m.value,(i=m.value,void 0===o?l:void 0===l||Math.abs(o-i)<Math.abs(l-i)?o:l)],velocity:(0,L.Y)(x,t,m.value),damping:s,stiffness:r,restDelta:h,restSpeed:u})}};return T(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,w(t),T(t)),void 0!==d&&t>=d)?c.next(t-d):(e||w(t),m)}}}var B=i(33670),O=i(85022),I=i(76114),U=i(25098),W=i(18052),N=i(39929),q=i(17900);function G({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var s;let r=(0,O.h)(n)?n.map(I.K):(0,I.K)(n),l={done:!1,value:e[0]},h=function(t,e,{clamp:i=!0,ease:n,mixer:s}={}){let r=t.length;if((0,d.V)(r===e.length,"Both input and output ranges must be the same length","range-length"),1===r)return()=>e[0];if(2===r&&e[0]===e[1])return()=>e[1];let l=t[0]===t[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());let h=function(t,e,i){let n=[],s=i||U.W.mix||C,r=t.length-1;for(let i=0;i<r;i++){let r=s(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||W.l:e;r=(0,a.F)(t,r)}n.push(r)}return n}(e,n,s),u=h.length,c=i=>{if(l&&i<t[0])return e[0];let n=0;if(u>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let s=(0,N.q)(t[n],t[n+1],i);return h[n](s)};return i?e=>c((0,o.q)(t[0],t[r-1],e)):c}((s=i&&i.length===e.length?i:(0,q.Z)(e),s.map(e=>e*t)),e,{ease:Array.isArray(r)?r:e.map(()=>r||B.am).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(l.value=h(e),l.done=e>=t,l)}}var X=i(46687);let K=t=>null!==t;function H(t,{repeat:e,repeatType:i="loop"},n,s=1){let r=t.filter(K),a=s<0||e&&"loop"!==i&&e%2==1?0:r.length-1;return a&&void 0!==n?n:r[a]}let Y={decay:F,inertia:F,tween:G,keyframes:G,spring:j.o};function $(t){"string"==typeof t.type&&(t.type=Y[t.type])}class z{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let Q=t=>t/100;class _ extends z{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==h.k.now()&&this.tick(h.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},u.q.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;$(t);let{type:e=G,repeat:i=0,repeatDelay:n=0,repeatType:s,velocity:r=0}=t,{keyframes:o}=t,l=e||G;l!==G&&"number"!=typeof o[0]&&(this.mixKeyframes=(0,a.F)(Q,C(o[0],o[1])),o=[0,100]);let h=l({...t,keyframes:o});"mirror"===s&&(this.mirroredGenerator=l({...t,keyframes:[...o].reverse(),velocity:-r})),null===h.calculatedDuration&&(h.calculatedDuration=(0,X.t)(h));let{calculatedDuration:u}=h;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=h}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:n,mixKeyframes:s,mirroredGenerator:r,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:h=0,keyframes:u,repeat:d,repeatType:c,repeatDelay:p,type:m,onUpdate:f,finalKeyframe:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-h*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?g<0:g>n;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let x=this.currentTime,w=i;if(d){let t=Math.min(this.currentTime,n)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===c?(i=1-i,p&&(i-=p/a)):"mirror"===c&&(w=r)),x=(0,o.q)(0,1,i)*a}let T=y?{done:!1,value:u[0]}:w.next(x);s&&(T.value=s(T.value));let{done:b}=T;y||null===l||(b=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let P=null===this.holdTime&&("finished"===this.state||"running"===this.state&&b);return P&&m!==F&&(T.value=H(u,this.options,v,this.speed)),f&&f(T.value),P&&this.finish(),T}
1then(t,e){return this.finished.then(t,e)}get duration(){return(0,l.X)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,l.X)(t)}get time(){return(0,l.X)(this.currentTime)}set time(t){t=(0,l.f)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(h.k.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,l.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=R,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(h.k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,u.q.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}var Z=i(52429);function J(t){let e;return()=>(void 0===e&&(e=t()),e)}let tt=J(()=>void 0!==window.ScrollTimeline);var te=i(81909),ti=i(5940);let tn={},ts=function(t,e){let i=J(t);return()=>tn[e]??i()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var tr=i(49664);let ta=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,to={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ta([0,.65,.55,1]),circOut:ta([.55,0,1,.45]),backIn:ta([.31,.01,.66,-.59]),backOut:ta([.33,1.53,.69,.99])};var tl=i(46987);class th extends z{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:e,name:i,keyframes:n,pseudoElement:s,allowFlatten:r=!1,finalKeyframe:a,onComplete:o}=t;this.isPseudoElement=!!s,this.allowFlatten=r,this.options=t,(0,d.V)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function({type:t,...e}){return(0,tl.W)(t)&&ts()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:s=300,repeat:r=0,repeatType:a="loop",ease:o="easeOut",times:l}={},h){let d={[e]:i};l&&(d.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?ts()?(0,tr.K)(e,i):"ease-out":(0,ti.D)(e)?ta(e):Array.isArray(e)?e.map(e=>t(e,i)||to.easeOut):to[e]}(o,s);Array.isArray(c)&&(d.easing=c),te.Q.value&&u.q.waapi++;let p={delay:n,duration:s,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:r+1,direction:"reverse"===a?"alternate":"normal"};h&&(p.pseudoElement=h);let m=t.animate(d,p);return te.Q.value&&m.finished.finally(()=>{u.q.waapi--}),m}(e,i,n,l,s),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let t=H(n,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(t):function(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}(e,i,t),this.animation.cancel()}o?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,l.X)(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,l.X)(t)}get time(){return(0,l.X)(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=(0,l.f)(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&tt())?(this.animation.timeline=t,W.l):e(this)}}var tu=i(75728),td=i(51373),tc=i(62577);let tp={anticipate:tu.b,backInOut:td.ZZ,circInOut:tc.tn};class tm extends th{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in tp&&(t.ease=tp[t.ease])}(t),$(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:s,...r}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new _({...r,autoplay:!1}),o=(0,l.f)(this.finishedTime??this.time);e.setWithVelocity(a.sample(o-10).value,a.sample(o).value,10),a.stop()}}let tf=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(m.f.test(t)||"0"===t)&&!t.startsWith("url(")),tv=new Set(["opacity","clipPath","filter","transform"]),tg=J(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class ty extends z{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:r="loop",keyframes:a,name:o,motionValue:l,element:u,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=h.k.now();let c={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:s,repeatType:r,name:o,motionValue:l,element:u,...d},p=u?.KeyframeResolver||Z.h;this.keyframeResolver=new p(a,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),o,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){this.keyframeResolver=void 0;let{name:r,type:a,velocity:o,delay:l,isHandoff:u,onUpdate:c}=i;
1this.resolvedAt=h.k.now(),!function(t,e,i,n){let s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;let r=t[t.length-1],a=tf(s,e),o=tf(r,e);return(0,d.$)(a===o,`You are trying to animate ${e} from "${s}" to "${r}". "${a?r:s}" is not an animatable value.`,"value-not-animatable"),!!a&&!!o&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,tl.W)(i))&&n)}(t,r,a,o)&&((U.W.instantAnimations||!l)&&c?.(H(t,i,e)),t[0]=t[t.length-1],s(i),i.repeat=0);let p={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},m=!u&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:s,damping:r,type:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:o,transformTemplate:l}=e.owner.getProps();return tg()&&i&&tv.has(i)&&("transform"!==i||!l)&&!o&&!n&&"mirror"!==s&&0!==r&&"inertia"!==a}(p)?new tm({...p,element:p.motionValue.owner.current}):new _(p);m.finished.then(()=>this.notifyFinished()).catch(W.l),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,Z.q)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let tx=t=>null!==t;var tw=i(63585);let tT={type:"spring",stiffness:500,damping:25,restSpeed:10},tb={type:"keyframes",duration:.8},tP={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tS=function(t,e,i){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4?arguments[4]:void 0,h=arguments.length>5?arguments[5]:void 0;return u=>{let d=(0,n.r)(a,t)||{},c=d.delay||a.delay||0,{elapsed:p=0}=a;p-=(0,l.f)(c);let m={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...d,delay:-p,onUpdate:t=>{e.set(t),d.onUpdate&&d.onUpdate(t)},onComplete:()=>{u(),d.onComplete&&d.onComplete()},name:t,motionValue:e,element:h?void 0:o};!function(t){let{when:e,delay:i,delayChildren:n,staggerChildren:s,staggerDirection:r,repeat:a,repeatType:o,repeatDelay:l,from:h,elapsed:u,...d}=t;return!!Object.keys(d).length}(d)&&Object.assign(m,((t,e)=>{let{keyframes:i}=e;return i.length>2?tb:tw.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===i[1]?2*Math.sqrt(550):30,restSpeed:10}:tT:tP})(t,m)),m.duration&&(m.duration=(0,l.f)(m.duration)),m.repeatDelay&&(m.repeatDelay=(0,l.f)(m.repeatDelay)),void 0!==m.from&&(m.keyframes[0]=m.from);let f=!1;if(!1!==m.type&&(0!==m.duration||m.repeatDelay)||(s(m),0===m.delay&&(f=!0)),(U.W.instantAnimations||U.W.skipAnimations)&&(f=!0,s(m),m.delay=0),m.allowFlatten=!d.type&&!d.ease,f&&!h&&void 0!==e.get()){let t=function(t,e,i){let{repeat:n,repeatType:s="loop"}=e,r=t.filter(tx),a=n&&"loop"!==s&&n%2==1?0:r.length-1;return r[a]}(m.keyframes,d);if(void 0!==t)return void r.Gt.update(()=>{m.onUpdate(t),m.onComplete()})}return d.isSync?new _(m):new ty(m)}}},84304:(t,e,i)=>{i.d(e,{K:()=>s});var n=i(12708);function s(t,e,i){let s=t.getProps();return(0,n.a)(s,e,void 0!==i?i:s.custom,t)}},84796:(t,e,i)=>{i.d(e,{$:()=>r,H:()=>s});var n=i(19141);let s={};function r(t){for(let e in t)s[e]=t[e],(0,n.j)(e)&&(s[e].isCSSVariable=!0)}},85022:(t,e,i)=>{i.d(e,{h:()=>n});let n=t=>Array.isArray(t)&&"number"!=typeof t[0]},85054:(t,e,i)=>{i.d(e,{Y:()=>s});var n=i(43738);function s(t,e,i){let s=Math.max(e-5,0);return(0,n.f)(i-t(s),e-s)}},89479:(t,e,i)=>{i.d(e,{w:()=>n});let n=t=>e=>e.test(t)},90848:(t,e,i)=>{i.d(e,{$:()=>n});let n=new Set(["width","height","top","left","right","bottom",...i(63585).U])},91761:(t,e,i)=>{function n(t){let{top:e,left:i,right:n,bottom:s}=t;return{x:{min:i,max:n},y:{min:e,max:s}}}function s(t){let{x:e,y:i}=t;return{top:i.min,right:e.max,bottom:i.max,left:e.min}}function r(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}i.d(e,{FY:()=>n,bS:()=>r,pA:()=>s})},93114:(t,e,i)=>{i.d(e,{W:()=>o});var n=i(24288);let s={...n.ai,transform:Math.round};var r=i(95766);let a={rotate:r.uj,rotateX:r.uj,rotateY:r.uj,rotateZ:r.uj,scale:n.hs,scaleX:n.hs,scaleY:n.hs,scaleZ:n.hs,skew:r.uj,skewX:r.uj,skewY:r.uj,distance:r.px,translateX:r.px,translateY:r.px,translateZ:r.px,x:r.px,y:r.px,z:r.px,perspective:r.px,transformPerspective:r.px,opacity:n.X4,originX:r.gQ,originY:r.gQ,originZ:r.px},o={borderWidth:r.px,borderTopWidth:r.px,borderRightWidth:r.px,borderBottomWidth:r.px,borderLeftWidth:r.px,borderRadius:r.px,radius:r.px,borderTopLeftRadius:r.px,borderTopRightRadius:r.px,borderBottomRightRadius:r.px,borderBottomLeftRadius:r.px,width:r.px,maxWidth:r.px,height:r.px,maxHeight:r.px,top:r.px,right:r.px,bottom:r.px,left:r.px,padding:r.px,paddingTop:r.px,paddingRight:r.px,paddingBottom:r.px,paddingLeft:r.px,margin:r.px,marginTop:r.px,marginRight:r.px,marginBottom:r.px,marginLeft:r.px,backgroundPositionX:r.px,backgroundPositionY:r.px,...a,zIndex:s,fillOpacity:n.X4,strokeOpacity:n.X4,numOctaves:s}}
1,94117:(t,e,i)=>{i.d(e,{B:()=>s});let n={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"]},s={};for(let t in n)s[t]={isEnabled:e=>n[t].some(t=>!!e[t])}},95353:(t,e,i)=>{i.d(e,{Ib:()=>c,ry:()=>d,zs:()=>u});let n=t=>180*t/Math.PI,s=t=>a(n(Math.atan2(t[1],t[0]))),r={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:s,rotateZ:s,skewX:t=>n(Math.atan(t[1])),skewY:t=>n(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},a=t=>((t%=360)<0&&(t+=360),t),o=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),h={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:o,scaleY:l,scale:t=>(o(t)+l(t))/2,rotateX:t=>a(n(Math.atan2(t[6],t[5]))),rotateY:t=>a(n(Math.atan2(-t[2],t[0]))),rotateZ:s,rotate:s,skewX:t=>n(Math.atan(t[4])),skewY:t=>n(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function u(t){return+!!t.includes("scale")}function d(t,e){let i,n;if(!t||"none"===t)return u(e);let s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(s)i=h,n=s;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=r,n=e}if(!n)return u(e);let a=i[e],o=n[1].split(",").map(p);return"function"==typeof a?a(o):o[a]}let c=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return d(i,e)};function p(t){return parseFloat(t.trim())}},95766:(t,e,i)=>{i.d(e,{KN:()=>r,gQ:()=>h,px:()=>a,uj:()=>s,vh:()=>o,vw:()=>l});let n=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),s=n("deg"),r=n("%"),a=n("px"),o=n("vh"),l=n("vw"),h={...r,parse:t=>r.parse(t)/100,transform:t=>r.transform(100*t)}},97319:(t,e,i)=>{i.d(e,{y:()=>a});var n=i(1740),s=i(59941),r=i(53617);let a={test:t=>r.B.test(t)||n.u.test(t)||s.V.test(t),parse:t=>r.B.test(t)?r.B.parse(t):s.V.test(t)?s.V.parse(t):n.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?r.B.transform(t):s.V.transform(t),getAnimatableNone:t=>{let e=a.parse(t);return e.alpha=0,a.transform(e)}}}}]);
2//# chunkId=01a10214-1a4b-7dd1-8f33-eba8c4ac48cb

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.