PageSourceSearch

https://www.aboutjs.dev/_next/static/immutable/chunks/1r-y6ap4fob3c.js

js aboutjs.dev collected 2026-09-25 22:44:11 UTC 120,075 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,97804,t=>{"use strict";var e,i,r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,n=(e=function(t){return r.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&91>t.charCodeAt(2)},i={},function(t){return void 0===i[t]&&(i[t]=e(t)),i[t]});t.s(["default",0,n],97804)},8576,19548,58768,86549,33203,11587,50514,3267,89472,97823,32313,25954,43190,t=>{"use strict";var e,i=t.i(71645),r=t.i(19026),n=t.i(98549),s=t.i(13099),o=t.i(
170272),a=t.i(75516),l=t.i(39187),u=t.i(11783),h=t.i(42308);let c={...u.number,transform:Math.round},d={borderWidth:h.px,borderTopWidth:h.px,borderRightWidth:h.px,borderBottomWidth:h.px,borderLeftWidth:h.px,borderRadius:h.px,radius:h.px,borderTopLeftRadius:h.px,borderTopRightRadius:h.px,borderBottomRightRadius:h.px,borderBottomLeftRadius:h.px,width:h.px,maxWidth:h.px,height:h.px,maxHeight:h.px,size:h.px,top:h.px,right:h.px,bottom:h.px,left:h.px,padding:h.px,paddingTop:h.px,paddingRight:h.px,paddingBottom:h.px,paddingLeft:h.px,margin:h.px,marginTop:h.px,marginRight:h.px,marginBottom:h.px,marginLeft:h.px,rotate:h.degrees,rotateX:h.degrees,rotateY:h.degrees,rotateZ:h.degrees,scale:u.scale,scaleX:u.scale,scaleY:u.scale,scaleZ:u.scale,skew:h.degrees,skewX:h.degrees,skewY:h.degrees,distance:h.px,translateX:h.px,translateY:h.px,translateZ:h.px,x:h.px,y:h.px,z:h.px,perspective:h.px,transformPerspective:h.px,opacity:u.alpha,originX:h.progressPercentage,originY:h.progressPercentage,originZ:h.px,zIndex:c,fillOpacity:u.alpha,strokeOpacity:u.alpha,numOctaves:c};function p(t,e,i,r){let{style:n,vars:u,transform:h,transformOrigin:c}=t,p=!1,m=!1,f=!0;for(let t in e){let i=e[t];if((0,o.isCSSVariableName)(t)){u[t]=i;continue}let r=d[t],s=(0,l.getValueAsType)(i,r);if(a.transformProps.has(t)){if(p=!0,h[t]=s,!f)continue;i!==(r.default||0)&&(f=!1)}else t.startsWith("origin")?(m=!0,c[t]=s):n[t]=s}if(!e.transform&&(p||r?n.transform=(0,s.buildTransform)(t.transform,i,f,r):n.transform&&(n.transform="none")),m){let{originX:t="50%",originY:e="50%",originZ:i=0}=c;n.transformOrigin=`${t} ${e} ${i}`}}t.s(["numberValueTypes",0,d],19548),t.s(["buildHTMLStyles",0,p],58768);let m=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function f(t,e,i){for(let s in e)(0,n.isMotionValue)(e[s])||(0,r.isForcedMotionValue)(s,i)||(t[s]=e[s])}t.s(["createHtmlRenderState",0,m],86549);let g=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function v(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||g.has(t)}let y=t=>!v(t);try{(e=t.r(97804).default)&&(y=t=>t.startsWith("on")?!v(t):e(t))}catch(t){}var x=t.i(44966);function P(t,e,i){return"string"==typeof t?t:h.px.transform(e+i*t)}let b={offset:"stroke-dashoffset",array:"stroke-dasharray"},V={offset:"strokeDashoffset",array:"strokeDasharray"};function S(t,{attrX:e,attrY:i,attrScale:r,originX:n,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},c,d,m){let f,g;if(p(t,u,c,m),d){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:v,style:y,dimensions:x}=t;v.transform&&(x&&(y.transform=v.transform),delete v.transform),x&&(void 0!==n||void 0!==s||y.transform)&&(f=P(void 0!==n?n:.5,x.x,x.width),g=P(void 0!==s?s:.5,x.y,x.height),y.transformOrigin=`${f} ${g}`),void 0!==e&&(v.x=e),void 0!==i&&(v.y=i),void 0!==r&&(v.scale=r),void 0!==o&&function(t,e,i=1,r=0,n=!0){t.pathLength=1;let s=n?b:V;t[s.offset]=h.px.transform(-r);let o=h.px.transform(e),a=h.px.transform(i);t[s.array]=`${o} ${a}`}(v,o,a,l,!1)}t.s(["buildSVGAttrs",0,S],33203);let T=()=>({...m(),attrs:{}});t.s(["createSvgRenderState",0,T],11587);let w=t=>"string"==typeof t&&"svg"===t.toLowerCase();t.s(["isSVGTag",0,w],50514),t.s(["createUseRender",0,function(t=!1){return(e,r,s,{latestValues:o},a)=>{let l=((0,x.isSVGComponent)(e)?function(t,e,r,n){let s=(0,i.useMemo)(()=>{let i=T();return S(i,e,{enableHardwareAcceleration:!1},w(n),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};f(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e,r){let n,s,o={},a=(n=t.style||{},f(s={},n,t),Object.assign(s,function({transformTemplate:t},e,r){return(0,i.useMemo)(()=>{let i=m();return p(i,e,{enableHardwareAcceleration:!r},t),Object.assign({},i.vars,i.style)},[e])}(t,e,r)),t.transformValues?t.transformValues(s):s);return t.drag&&!1!==t.dragListener&&(o.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(o.tabIndex=0),o.style=a,o}
1)(r,o,a,e),u={...function(t,e,i){let r={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&(y(n)||!0===i&&v(n)||!e&&!v(n)||t.draggable&&n.startsWith("onDrag"))&&(r[n]=t[n]);return r}(r,"string"==typeof e,t),...l,ref:s},{children:h}=r,c=(0,i.useMemo)(()=>(0,n.isMotionValue)(h)?h.get():h,[h]);return(0,i.createElement)(e,{...u,children:c})}}],8576);var A=t.i(64600);function C(t,{style:e,vars:i},r,n){for(let s in Object.assign(t.style,e,n&&n.getProjectionStyles(r)),i)t.style.setProperty(s,i[s])}t.s(["renderHTML",0,C],3267);let M=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function E(t,e){let{style:i}=t,s={};for(let o in i)((0,n.isMotionValue)(i[o])||e.style&&(0,n.isMotionValue)(e.style[o])||(0,r.isForcedMotionValue)(o,t))&&(s[o]=i[o]);return s}t.s(["camelCaseAttributes",0,M],89472),t.s(["renderSVG",0,function(t,e,i,r){for(let i in C(t,e,void 0,r),e.attrs)t.setAttribute(M.has(i)?i:(0,A.camelToDash)(i),e.attrs[i])}],97823),t.s(["scrapeMotionValuesFromProps",0,E],32313),t.s(["scrapeMotionValuesFromProps",0,function(t,e){let i=E(t,e);for(let r in t)((0,n.isMotionValue)(t[r])||(0,n.isMotionValue)(e[r]))&&(i[-1!==a.transformPropOrder.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=t[r]);return i}],25954),t.s(["resolveVariantFromProps",0,function(t,e,i,r={},n={}){return"function"==typeof e&&(e=e(void 0!==i?i:t.custom,r,n)),"string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e&&(e=e(void 0!==i?i:t.custom,r,n)),e}],43190)},80097,t=>{"use strict";var e=t.i(12903),i=t.i(41790),r=t.i(93383),n=t.i(25711),s=t.i(30040);t.s(["keyframes",0,function({duration:t=300,keyframes:o,times:a,ease:l="easeInOut"}){var u;let h=(0,i.isEasingArray)(l)?l.map(r.easingDefinitionToFunction):(0,r.easingDefinitionToFunction)(l),c={done:!1,value:o[0]},d=(u=a&&a.length===o.length?a:(0,s.defaultOffset)(o),u.map(e=>e*t)),p=(0,n.interpolate)(d,o,{ease:Array.isArray(h)?h:o.map(()=>h||e.easeInOut).splice(0,o.length-1)});return{calculatedDuration:t,next:e=>(c.value=p(e),c.done=e>=t,c)}}],80097)},82363,26553,73464,69175,96767,34059,58213,t=>{"use strict";let e;var i,r=t.i(83164),n=t.i(285),s=t.i(21975),o=t.i(15144),a=t.i(33561),l=t.i(97756),u=t.i(80097),h=t.i(68935);function c(t,e,i){let r=Math.max(e-5,0);return(0,h.velocityPerSecond)(i-t(r),e-r)}var d=t.i(74780);function p(t,e){return t*Math.sqrt(1-e*e)}let m=["duration","bounce"],f=["stiffness","damping","mass"];function g(t,e){return e.some(e=>void 0!==t[e])}function v({keyframes:t,restDelta:e,restSpeed:i,...s}){let o,a=t[0],l=t[t.length-1],u={done:!1,value:a},{stiffness:h,damping:y,mass:x,velocity:P,duration:b,isResolvedFromDuration:V}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!g(t,f)&&g(t,m)){let i=function({duration:t=800,bounce:e=.25,velocity:i=0,mass:s=1}){let o,a;(0,r.warning)(t<=(0,n.secondsToMilliseconds)(10),"Spring duration must be 10 seconds or less");let l=1-e;l=(0,d.clamp)(.05,1,l),t=(0,d.clamp)(.01,10,(0,n.millisecondsToSeconds)(t)),l<1?(o=e=>{let r=e*l,n=r*t;return .001-(r-i)/p(e,l)*Math.exp(-n)},a=e=>{let r=e*l*t,n=Math.pow(l,2)*Math.pow(e,2)*t,s=Math.exp(-r),a=p(Math.pow(e,2),l);return(r*i+i-n)*s*(-o(e)+.001>0?-1:1)/a}):(o=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),a=e=>t*t*(i-e)*Math.exp(-e*t));let u=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(o,a,5/t);if(t=(0,n.secondsToMilliseconds)(t),isNaN(u))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(u,2)*s;return{stiffness:e,damping:2*l*Math.sqrt(s*e),duration:t}}}(t);(e={...e,...i,velocity:0,mass:1}).isResolvedFromDuration=!0}return e}(s),S=P?-(0,n.millisecondsToSeconds)(P):0,T=y/(2*Math.sqrt(h*x)),w=l-a,A=(0,n.millisecondsToSeconds)(Math.sqrt(h/x)),C=5>Math.abs(w);if(i||(i=C?.01:2),e||(e=C?.005:.5),T<1){let t=p(A,T);o=e=>l-Math.exp(-T*A*e)*((S+T*A*w)/t*Math.sin(t*e)+w*Math.cos(t*e))}else if(1===T)o=t=>l-Math.exp(-A*t)*(w+(S+A*w)*t);else{let t=A*Math.sqrt(T*T-1);o=e=>{let i=Math.exp(-T*A*e),r=Math.min(t*e,300);return l-i*((S+T*A*w)*Math.sinh(r)+t*w*Math.cosh(r))/t}}return{calculatedDuration:V&&b||null,next:t=>{let r=o(t);if(V)u.done=t>=b;else{let n=S;0!==t&&(n=T<1?c(o,t,r):0);let s=Math.abs(l-r)<=e;u.done=Math.abs(n)<=i&&s}return u.value=u.done?l:r,u}}}function y({keyframes:t,velocity:e=0,power:i=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let d,p,m=t[0],f={done:!1,value:m},g=i*e,x=m+g,P=void 0===o?x:o(x);P!==x&&(g=P-m);let b=t=>-g*Math.exp(-t/r),V=t=>P+b(t),S=t=>{let e=b(t),i=V(t);f.done=Math.abs(e)<=u,f.value=f.done?P:i},T=t=>{let e;if(e=f.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;d=t,p=v({keyframes:[f.value,(i=f.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:c(V,t,f.value),damping:n,stiffness:s,restDelta:u,restSpeed:h})}};return T(0),{calculatedDuration:null,next:t=>{let e=!1;return(p||void 0!==d||(e=!0,S(t),T(t)),void 0!==d&&t>d)?p.next(t-d):(e||S(t),f)}}}var x=t.i(28327);let P=t=>{let e=({timestamp:e})=>t(e);return{start:()=>x.frame.update(e,!0),stop:()=>(0,x.cancelFrame)(e),now:()=>x.frameData.isProcessing?x.frameData.timestamp:performance.now()}};var b=t.i(25711);function V(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}
1let S={decay:y,inertia:y,tween:u.keyframes,keyframes:u.keyframes,spring:v};function T({autoplay:t=!0,delay:e=0,driver:i=P,keyframes:r,type:s="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:l="loop",onPlay:h,onStop:c,onComplete:p,onUpdate:m,...f}){let g,v,y,x,w,A=1,C=!1,M=()=>{v=new Promise(t=>{g=t})};M();let E=S[s]||u.keyframes;E!==u.keyframes&&"number"!=typeof r[0]&&(x=(0,b.interpolate)([0,100],r,{clamp:!1}),r=[0,100]);let k=E({...f,keyframes:r});"mirror"===l&&(w=E({...f,keyframes:[...r].reverse(),velocity:-(f.velocity||0)}));let D="idle",R=null,L=null,F=null;null===k.calculatedDuration&&o&&(k.calculatedDuration=V(k));let{calculatedDuration:j}=k,B=1/0,O=1/0;null!==j&&(O=(B=j+a)*(o+1)-a);let I=0,U=t=>{if(null===L)return;A>0&&(L=Math.min(L,t)),A<0&&(L=Math.min(t-O/A,L));let i=(I=null!==R?R:Math.round(t-L)*A)-e*(A>=0?1:-1),n=A>=0?i<0:i>O;I=Math.max(i,0),"finished"===D&&null===R&&(I=O);let s=I,u=k;if(o){let t=I/B,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--;let r=!!((e=Math.min(e,o+1))%2);r&&("reverse"===l?(i=1-i,a&&(i-=a/B)):"mirror"===l&&(u=w));let n=(0,d.clamp)(0,1,i);I>O&&(n="reverse"===l&&r?1:0),s=n*B}let h=n?{done:!1,value:r[0]}:u.next(s);x&&(h.value=x(h.value));let{done:c}=h;n||null===j||(c=A>=0?I>=O:I<=0);let p=null===R&&("finished"===D||"running"===D&&c);return m&&m(h.value),p&&H(),h},N=()=>{y&&y.stop(),y=void 0},W=()=>{D="idle",N(),g(),M(),L=F=null},H=()=>{D="finished",p&&p(),N(),g()},z=()=>{if(C)return;y||(y=i(U));let t=y.now();h&&h(),null!==R?L=t-R:L&&"finished"!==D||(L=t),"finished"===D&&M(),F=L,R=null,D="running",y.start()};t&&z();let $={then:(t,e)=>v.then(t,e),get time(){return(0,n.millisecondsToSeconds)(I)},set time(newTime){I=newTime=(0,n.secondsToMilliseconds)(newTime),null===R&&y&&0!==A?L=y.now()-newTime/A:R=newTime},get duration(){let t=null===k.calculatedDuration?V(k):k.calculatedDuration;return(0,n.millisecondsToSeconds)(t)},get speed(){return A},set speed(newSpeed){if(newSpeed===A||!y)return;A=newSpeed,$.time=(0,n.millisecondsToSeconds)(I)},get state(){return D},play:z,pause:()=>{D="paused",R=I},stop:()=>{C=!0,"idle"!==D&&(D="idle",c&&c(),W())},cancel:()=>{null!==F&&U(F),W()},complete:()=>{D="finished"},sample:t=>(L=0,U(t))};return $}var w=t.i(42510);let A=(i=()=>Object.hasOwnProperty.call(Element.prototype,"animate"),()=>(void 0===e&&(e=i()),e)),C=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);var M=t.i(75516);let E={type:"spring",stiffness:500,damping:25,restSpeed:10},k={type:"keyframes",duration:.8},D={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};var R=t.i(2254);let L=(t,e)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(R.complex.test(e)||"0"===e)&&!e.startsWith("url("));var F=t.i(40617);let j=new Set(["brightness","contrast","saturate","opacity"]);function B(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(F.floatRegex)||[];if(!r)return t;let n=i.replace(r,""),s=+!!j.has(e);return r!==i&&(s*=100),e+"("+s+n+")"}let O=/([a-z-]*)\(.*?\)/g,I={...R.complex,getAnimatableNone:t=>{let e=t.match(O);return e?e.map(B).join(" "):t}};var U=t.i(30801);let N={...t.i(19548).numberValueTypes,color:U.color,backgroundColor:U.color,outlineColor:U.color,fill:U.color,stroke:U.color,borderColor:U.color,borderTopColor:U.color,borderRightColor:U.color,borderBottomColor:U.color,borderLeftColor:U.color,filter:I,WebkitFilter:I},W=t=>N[t];function H(t,e){let i=W(t);return i!==I&&(i=R.complex),i.getAnimatableNone?i.getAnimatableNone(e):void 0}t.s(["getDefaultValueType",0,W],26553),t.s(["getAnimatableNone",0,H],73464);let z=t=>/^0[^.\s]+$/.test(t);function $({when:t,delay:e,delayChildren:i,staggerChildren:r,staggerDirection:n,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}function G(t,e){return t[e]||t.default||t}t.s(["isZeroValueString",0,z],69175),t.s(["getValueTransition",0,G,"isTransitionDefined",0,$],96767),t.s(["animateMotionValue",0,(t,e,i,u={})=>h=>{let c=G(u,t)||{},d=c.delay||u.delay||0,{elapsed:p=0}=u;p-=(0,n.secondsToMilliseconds)(d);let m=function(t,e,i,r){let n,s,o=L(e,i);n=Array.isArray(i)?[...i]:[null,i];let a=void 0!==r.from?r.from:t.get(),l=[];for(let t=0;t<n.length;t++){var u;null===n[t]&&(n[t]=0===t?a:n[t-1]),("number"==typeof(u=n[t])?0===u:null!==u?"none"===u||"0"===u||z(u):void 0)&&l.push(t),"string"==typeof n[t]&&"none"!==n[t]&&"0"!==n[t]&&(s=n[t])}if(o&&l.length&&s)for(let t=0;t<l.length;t++)n[l[t]]=H(e,s);return n}(e,t,i,c),f=m[0],g=m[m.length-1],v=L(t,f),y=L(t,g);(0,r.warning)(v===y,`You are trying to animate ${t} from "${f}" to "${g}". ${f} is not an animatable value - to enable this animation set ${f} to a value animatable to ${g} via the \`style\` property.`);let P={keyframes:m,velocity:e.getVelocity(),ease:"easeOut",...c,delay:-p,onUpdate:t=>{e.set(t),c.onUpdate&&c.onUpdate(t)},onComplete:()=>{h(),c.onComplete&&c.onComplete()}};if($(c)||(P={...P,...((t,{keyframes:e})=>e.length>2?k:M.transformProps.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:E:D)(t,P)}),P.duration&&(P.duration=(0,n.secondsToMilliseconds)(P.duration)),P.repeatDelay&&(P.repeatDelay=(0,n.secondsToMilliseconds)(P.repeatDelay)),!v||!y||s.instantAnimationState.current||!1===c.type)return function({keyframes:t,delay:e,onUpdate:i,onComplete:r}){let n=()=>(i&&i(t[t.length-1]),r&&r(),{time:0,speed:1,duration:0,play:w.noop,pause:w.noop,stop:w.noop,then:t=>(t(),Promise.resolve()),cancel:w.noop,complete:w.noop});return e?T({keyframes:[0,1],duration:0,delay:e,onComplete:n}):n()}(s.instantAnimationState.current?{...P,delay:0}:P);if(!u.isHandoff&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUp
1date){let i=function(t,e,{onUpdate:i,onComplete:r,...s}){let u,h;if(!(A()&&C.has(e)&&!s.repeatDelay&&"mirror"!==s.repeatType&&0!==s.damping&&"inertia"!==s.type))return!1;let c=!1,d=()=>{h=new Promise(t=>{u=t})};d();let{keyframes:p,duration:m=300,ease:f,times:g}=s;if("spring"===s.type||"backgroundColor"===e||!(0,a.isWaapiSupportedEasing)(s.ease)){let t=T({...s,repeat:0,delay:0}),e={done:!1,value:p[0]},i=[],r=0;for(;!e.done&&r<2e4;)e=t.sample(r),i.push(e.value),r+=10;g=void 0,p=i,m=r-10,f="linear"}let v=(0,o.animateStyle)(t.owner.current,e,p,{...s,duration:m,ease:f,times:g}),y=()=>v.cancel(),P=()=>{x.frame.update(y),u(),d()};return v.onfinish=()=>{t.set((0,l.getFinalKeyframe)(p,s)),r&&r(),P()},{then:(t,e)=>h.then(t,e),attachTimeline:t=>(v.timeline=t,v.onfinish=null,w.noop),get time(){return(0,n.millisecondsToSeconds)(v.currentTime||0)},set time(newTime){v.currentTime=(0,n.secondsToMilliseconds)(newTime)},get speed(){return v.playbackRate},set speed(newSpeed){v.playbackRate=newSpeed},get duration(){return(0,n.millisecondsToSeconds)(m)},play:()=>{c||(v.play(),(0,x.cancelFrame)(y))},pause:()=>v.pause(),stop:()=>{if(c=!0,"idle"===v.playState)return;let{currentTime:e}=v;if(e){let i=T({...s,autoplay:!1});t.setWithVelocity(i.sample(e-10).value,i.sample(e).value,10)}P()},complete:()=>v.finish(),cancel:P}}(e,t,P);if(i)return i}return T(P)}],82363);var Y=t.i(98549);t.s(["isWillChangeMotionValue",0,function(t){return!!((0,Y.isMotionValue)(t)&&t.add)}],34059),t.s(["isNumericalString",0,t=>/^\-?\d*\.?\d+$/.test(t)],58213)},37806,88291,21476,t=>{"use strict";var e=t.i(71645);let i=(0,e.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",0,i],37806);let r=(0,e.createContext)({});t.s(["MotionContext",0,r],88291);let n=(0,e.createContext)(null);t.s(["PresenceContext",0,n],21476)},28327,42510,t=>{"use strict";var e;let i,r,n,s,o,a,l=t=>t;t.s(["noop",0,l],42510);class u{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){let e=this.order.indexOf(t);-1!==e&&(this.order.splice(e,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}let h=["prepare","read","update","preRender","render","postRender"],{schedule:c,cancel:d,state:p,steps:m}=(e="u">typeof requestAnimationFrame?requestAnimationFrame:l,i=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},s=h.reduce((t,e)=>{var r;let n,s,o,a,l,h,c;return t[e]=(r=()=>i=!0,n=new u,s=new u,o=0,a=!1,l=!1,h=new WeakSet,c={schedule:(t,e=!1,i=!1)=>{let r=i&&a,l=r?n:s;return e&&h.add(t),l.add(t)&&r&&a&&(o=n.order.length),t},cancel:t=>{s.remove(t),h.delete(t)},process:t=>{if(a){l=!0;return}if(a=!0,[n,s]=[s,n],s.clear(),o=n.order.length)for(let e=0;e<o;e++){let i=n.order[e];i(t),h.has(i)&&(c.schedule(i),r())}a=!1,l&&(l=!1,c.process(t))}}),t},{}),o=t=>s[t].process(n),a=()=>{let t=performance.now();i=!1,n.delta=r?1e3/60:Math.max(Math.min(t-n.timestamp,40),1),n.timestamp=t,n.isProcessing=!0,h.forEach(o),n.isProcessing=!1,i&&(r=!1,e(a))},{schedule:h.reduce((t,o)=>{let l=s[o];return t[o]=(t,s=!1,o=!1)=>(!i&&(i=!0,r=!0,n.isProcessing||e(a)),l.schedule(t,s,o)),t},{}),cancel:t=>
1h.forEach(e=>s[e].cancel(t)),state:n,steps:s});t.s(["cancelFrame",0,d,"frame",0,c,"frameData",0,p,"steps",0,m],28327)},8149,35494,11129,16514,70452,t=>{"use strict";var e=t.i(61175),i=t.i(459);function r(t){let e=null;return()=>null===e&&(e=t,()=>{e=null})}let n=r("dragHorizontal"),s=r("dragVertical");function o(t){let e=!1;if("y"===t)e=s();else if("x"===t)e=n();else{let t=n(),i=s();t&&i?e=()=>{t(),i()}:(t&&t(),i&&i())}return e}function a(){let t=o(!0);return!t||(t(),!1)}t.s(["getGlobalLock",0,o,"isDragActive",0,a],35494);class l{constructor(t){this.isMounted=!1,this.node=t}update(){}}t.s(["Feature",0,l],11129);var u=t.i(28327);function h(t,i){let r="onHover"+(i?"Start":"End");return(0,e.addPointerEvent)(t.current,"pointer"+(i?"enter":"leave"),(e,n)=>{if("touch"===e.type||a())return;let s=t.getProps();t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",i),s[r]&&u.frame.update(()=>s[r](e,n))},{passive:!t.getProps()[r]})}var c=t.i(26368),d=t.i(65536);let p=(t,e)=>!!e&&(t===e||p(t,e.parentElement));var m=t.i(42510);function f(t,e){if(!e)return;let i=new PointerEvent("pointer"+t);e(i,(0,d.extractEventInfo)(i))}let g=new WeakMap,v=new WeakMap,y=t=>{let e=g.get(t.target);e&&e(t)},x=t=>{t.forEach(y)},P={some:0,all:1};t.s(["gestureAnimations",0,{inView:{Feature:class extends l{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:r,margin:n,amount:s="some",once:o}=i,a={root:r?r.current:void 0,rootMargin:n,threshold:"number"==typeof s?s:P[s]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),n=e?i:r;n&&n(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;v.has(i)||v.set(i,{});let r=v.get(i),n=JSON.stringify(e);return r[n]||(r[n]=new IntersectionObserver(x,{root:t,...e})),r[n]}(a),g.set(t,l),e.observe(t),()=>{g.delete(t),e.unobserve(t)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends l{constructor(){super(...arguments),this.removeStartListeners=m.noop,this.removeEndListeners=m.noop,this.removeAccessibleListeners=m.noop,this.startPointerPress=(t,r)=>{if(this.removeEndListeners(),this.isPressing)return;let n=this.node.getProps(),s=(t,e)=>{if(!this.checkPressEnd())return;let{onTap:i,onTapCancel:r}=this.node.getProps();u.frame.update(()=>{p(this.node.current,t.target)?i&&i(t,e):r&&r(t,e)})},o=(0,e.addPointerEvent)(window,"pointerup",s,{passive:!(n.onTap||n.onPointerUp)}),a=(0,e.addPointerEvent)(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=(0,i.pipe)(o,a),this.startPress(t,r)},this.startAccessiblePress=()=>{let t=t=>{if("Enter"!==t.key||this.isPressing)return;let e=t=>{"Enter"===t.key&&this.checkPressEnd()&&f("up",(t,e)=>{let{onTap:i}=this.node.getProps();i&&u.frame.update(()=>i(t,e))})};this.removeEndListeners(),this.removeEndListeners=(0,c.addDomEvent)(this.node.current,"keyup",e),f("down",(t,e)=>{this.startPress(t,e)})},e=(0,c.addDomEvent)(this.node.current,"keydown",t),r=()=>{this.isPressing&&f("cancel",(t,e)=>this.cancelPress(t,e))},n=(0,c.addDomEvent)(this.node.current,"blur",r);this.removeAccessibleListeners=(0,i.pipe)(e,n)}}startPress(t,e){this.isPressing=!0;let{onTapStart:i,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&u.frame.update(()=>i(t,e))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!a()}cancelPress(t,e){if(!this.checkPressEnd())return;let{onTapCancel:i}=this.node.getProps();i&&u.frame.update(()=>i(t,e))}mount(){let t=this.node.getProps(),r=(0,e.addPointerEvent)(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=(0,c.addDomEvent)(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,i.pipe)(r,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends l{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,i.pipe)((0,c.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,c.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends l{mount(){this.unmount=(0,i.pipe)(h(this.node,!0),h(this.node,!1))}unmount(){}}}}],8149),t.s(["shallowCompare",0,function(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(e[r]!==t[r])return!1;return!0}],16514);var b=t.i(43190);
1t.s(["resolveVariant",0,function(t,e,i){let r,n,s=t.getProps();return(0,b.resolveVariantFromProps)(s,e,void 0!==i?i:s.custom,(r={},t.values.forEach((t,e)=>r[e]=t.get()),r),(n={},t.values.forEach((t,e)=>n[e]=t.getVelocity()),n))}],70452)},36091,64600,79386,25522,42531,44974,89607,98922,76948,31178,4035,54373,44966,52383,75516,19026,98549,13099,t=>{"use strict";var e=t.i(71645),i=t.i(37806),r=t.i(88291),n=t.i(21476),s=t.i(74008);let o=(0,e.createContext)({strict:!1}),a=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();t.s(["camelToDash",0,a],64600);let l="data-"+a("framerAppearId");function u(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function h(t){return"string"==typeof t||Array.isArray(t)}function c(t){return"object"==typeof t&&"function"==typeof t.start}t.s(["optimizedAppearDataAttribute",0,l],79386),t.s(["isRefObject",0,u],25522),t.s(["isVariantLabel",0,h],42531),t.s(["isAnimationControls",0,c],44974);let d=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],p=["initial",...d];function m(t){return c(t.animate)||p.some(e=>h(t[e]))}function f(t){return Array.isArray(t)?t.join(" "):t}t.s(["variantPriorityOrder",0,d,"variantProps",0,p],89607),t.s(["isControllingVariants",0,m,"isVariantNode",0,function(t){return!!(m(t)||t.variants)}],98922);let g={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"]},v={};for(let t in g)v[t]={isEnabled:e=>g[t].some(t=>!!e[t])};t.s(["featureDefinitions",0,v],76948);var y=t.i(92936);let x=(0,e.createContext)({});t.s(["LayoutGroupContext",0,x],31178);let P=(0,e.createContext)({});t.s(["SwitchLayoutGroupContext",0,P],4035);let b=Symbol.for("motionComponentSymbol");function V({preloadedFeatures:t,createVisualElement:a,useRender:c,useVisualState:d,Component:p}){t&&function(t){for(let e in t)v[e]={...v[e],...t[e]}}(t);let g=(0,e.forwardRef)(function(g,v){var b;let V,S={...(0,e.useContext)(i.MotionConfigContext),...g,layoutId:function({layoutId:t}){let i=(0,e.useContext)(x).id;return i&&void 0!==t?i+"-"+t:t}(g)},{isStatic:T}=S,w=function(t){let{initial:i,animate:n}=function(t,e){if(m(t)){let{initial:e,animate:i}=t;return{initial:!1===e||h(e)?e:void 0,animate:h(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,e.useContext)(r.MotionContext));return(0,e.useMemo)(()=>({initial:i,animate:n}),[f(i),f(n)])}(g),A=d(g,T);if(!T&&y.isBrowser){w.visualElement=function(t,a,u,h){let{visualElement:c}=(0,e.useContext)(r.MotionContext),d=(0,e.useContext)(o),p=(0,e.useContext)(n.PresenceContext),m=(0,e.useContext)(i.MotionConfigContext).reducedMotion,f=(0,e.useRef)();h=h||d.renderer,!f.current&&h&&(f.current=h(t,{visualState:a,parent:c,props:u,presenceContext:p,blockInitialAnimation:!!p&&!1===p.initial,reducedMotionConfig:m}));let g=f.current;(0,e.useInsertionEffect)(()=>{g&&g.update(u,p)});let v=(0,e.useRef)(!!(u[l]&&!window.HandoffComplete));return(0,s.useIsomorphicLayoutEffect)(()=>{g&&(g.render(),v.current&&g.animationState&&g.animationState.animateChanges())}),(0,e.useEffect)(()=>{g&&(g.updateFeatures(),!v.current&&g.animationState&&g.animationState.animateChanges(),v.current&&(v.current=!1,window.HandoffComplete=!0))}),g}(p,A,S,a);let u=(0,e.useContext)(P),h=(0,e.useContext)(o).strict;w.visualElement&&(V=w.visualElement.loadFeatures(S,h,t,u))}return e.createElement(r.MotionContext.Provider,{value:w},V&&w.visualElement?e.createElement(V,{visualElement:w.visualElement,...S}):null,c(p,g,(b=w.visualElement,(0,e.useCallback)(t=>{t&&A.mount&&A.mount(t),b&&(t?b.mount(t):b.unmount()),v&&("function"==typeof v?v(t):u(v)&&(v.current=t))},[b])),A,T,w.visualElement))});return g[b]=p,g}t.s(["createMotionComponent",0,V],36091),t.s(["createMotionProxy",0,function(t){function e(i,r={}){return V(t(i,r))}if("u"<typeof Proxy)return e;let i=new Map;return new Proxy(e,{get:(t,r)=>(i.has(r)||i.set(r,e(r)),i.get(r))})}],54373);let S=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];t.s(["isSVGComponent",0,function(t){if("string"!=typeof t||t.includes("-"));else if(S.indexOf(t)>-1||/[A-Z]/.test(t))return!0;return!1}],44966);let T={};t.s(["addScaleCorrector",0,function(t){Object.assign(T,t)},"scaleCorrectors",0,T],52383);let w=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],A=new Set(w);t.s(["transformPropOrder",0,w,"transformProps",0,A],75516),t.s(["isForcedMotionValue",0,function(t,{layout:e,layoutId:i}){return A.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!T[t]||"opacity"===t)}],19026),t.s(["isMotionValue",0,t=>!!(t&&t.getVelocity)],98549);let C={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},M=w.length;t.s(["buildTransform",0,function(t,{enableHardwareAcceleration:e=!0,allowTransformNone:i=!0}
1,r,n){let s="";for(let e=0;e<M;e++){let i=w[e];if(void 0!==t[i]){let e=C[i]||i;s+=`${e}(${t[i]}) `}}return e&&!t.z&&(s+="translateZ(0)"),s=s.trim(),n?s=n(t,r?"":s):i&&r&&(s="none"),s}],13099)},97044,77894,87519,28987,t=>{"use strict";var e=t.i(71645),i=t.i(44974),r=t.i(21476),n=t.i(43190),s=t.i(47414);let o=t=>Array.isArray(t);t.s(["isKeyframesTarget",0,o],77894);let a=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue);t.s(["isCustomValue",0,a,"resolveFinalValueInKeyframes",0,t=>o(t)?t[t.length-1]||0:t],87519);var l=t.i(98549);function u(t){let e=(0,l.isMotionValue)(t)?t.get():t;return a(e)?e.toValue():e}t.s(["resolveMotionValue",0,u],28987);var h=t.i(88291),c=t.i(98922);t.s(["makeUseVisualState",0,t=>(o,a)=>{let l=(0,e.useContext)(h.MotionContext),d=(0,e.useContext)(r.PresenceContext),p=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:r},s,o,a){let l={latestValues:function(t,e,r,s){let o={},a=s(t,{});for(let t in a)o[t]=u(a[t]);let{initial:l,animate:h}=t,d=(0,c.isControllingVariants)(t),p=(0,c.isVariantNode)(t);e&&p&&!d&&!1!==t.inherit&&(void 0===l&&(l=e.initial),void 0===h&&(h=e.animate));let m=!!r&&!1===r.initial,f=(m=m||!1===l)?h:l;return f&&"boolean"!=typeof f&&!(0,i.isAnimationControls)(f)&&(Array.isArray(f)?f:[f]).forEach(e=>{let i=(0,n.resolveVariantFromProps)(t,e);if(!i)return;let{transitionEnd:r,transition:s,...a}=i;for(let t in a){let e=a[t];
1if(Array.isArray(e)){let t=m?e.length-1:0;e=e[t]}null!==e&&(o[t]=e)}for(let t in r)o[t]=r[t]}),o}(s,o,a,t),renderState:e()};return r&&(l.mount=t=>r(s,t,l)),l})(t,o,l,d);return a?p():(0,s.useConstant)(p)}],97044)},9867,t=>{"use strict";t.i(36091);var e=t.i(54373),i=t.i(44218),r=t.i(8149),n=t.i(44974),s=t.i(77894),o=t.i(16514),a=t.i(42531),l=t.i(70452),u=t.i(89607),h=t.i(75516),c=t.i(79386),d=t.i(82363),p=t.i(34059),m=t.i(58213),f=t.i(69175),g=t.i(87519),v=t.i(71329),y=t.i(2254),x=t.i(73464),P=t.i(30801),b=t.i(11783),V=t.i(42308);let S=t=>e=>e.test(t),T=[b.number,V.px,V.percent,V.degrees,V.vw,V.vh,{test:t=>"auto"===t,parse:t=>t}],w=t=>T.find(S(t)),A=[...T,P.color,y.complex],C=t=>A.find(S(t));var M=t.i(96767),E=t.i(28327);function k(t,e,{delay:i=0,transitionOverride:r,type:n}={}){let{transition:s=t.getDefaultTransition(),transitionEnd:o,...a}=t.makeTargetAnimatable(e),u=t.getValue("willChange");r&&(s=r);let m=[],f=n&&t.animationState&&t.animationState.getState()[n];for(let e in a){let r=t.getValue(e),n=a[e];if(!r||void 0===n||f&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(f,e))continue;let o={delay:i,elapsed:0,...(0,M.getValueTransition)(s||{},e)};if(window.HandoffAppearAnimations){let i=t.getProps()[c.optimizedAppearDataAttribute];if(i){let t=window.HandoffAppearAnimations(i,e,r,E.frame);null!==t&&(o.elapsed=t,o.isHandoff=!0)}}let l=!o.isHandoff&&!function(t,e){let i=t.get();if(!Array.isArray(e))return i!==e;for(let t=0;t<e.length;t++)if(e[t]!==i)return!0}(r,n);if("spring"===o.type&&(r.getVelocity()||o.velocity)&&(l=!1),r.animation&&(l=!1),l)continue;r.start((0,d.animateMotionValue)(e,r,n,t.shouldReduceMotion&&h.transformProps.has(e)?{type:!1}:o));let g=r.animation;(0,p.isWillChangeMotionValue)(u)&&(u.add(e),g.then(()=>u.remove(e))),m.push(g)}return o&&Promise.all(m).then(()=>{o&&function(t,e){let i=(0,l.resolveVariant)(t,e),{transitionEnd:r={},transition:n={},...s}=i?t.makeTargetAnimatable(i,!1):{};for(let e in s={...s,...r}){let i=(0,g.resolveFinalValueInKeyframes)(s[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,v.motionValue)(i))}}(t,o)}),m}function D(t,e,i={}){let r=(0,l.resolveVariant)(t,e,i.custom),{transition:n=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(n=i.transitionOverride);let s=r?()=>Promise.all(k(t,r,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=n;return function(t,e,i=0,r=0,n=1,s){let o=[],a=(t.variantChildren.size-1)*r,l=1===n?(t=0)=>t*r:(t=0)=>a-t*r;return Array.from(t.variantChildren).sort(R).forEach((t,r)=>{t.notify("AnimationStart",e),o.push(D(t,e,{...s,delay:i+l(r)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,s+r,o,a,i)}:()=>Promise.resolve(),{when:a}=n;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}function R(t,e){return t.sortNodePosition(e)}let L=[...u.variantPriorityOrder].reverse(),F=u.variantPriorityOrder.length;function j(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var B=t.i(11129);class O extends B.Feature{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>D(t,e,i)));else if("string"==typeof e)r=D(t,e,i);else{let n="function"==typeof e?(0,l.resolveVariant)(t,e,i.custom):e;r=Promise.all(k(t,n,i))}return r.then(()=>t.notify("AnimationComplete",e))})(t,e,i))),i={animate:j(!0),whileInView:j(),whileHover:j(),whileTap:j(),whileDrag:j(),whileFocus:j(),exit:j()},r=!0,u=(e,i)=>{let r=(0,l.resolveVariant)(t,i);if(r){let{transition:t,transitionEnd:i,...n}=r;e={...e,...n,...i}}return e};function h(l,h){let c=t.getProps(),d=t.getVariantContext(!0)||{},p=[],m=new Set,f={},g=1/0;for(let e=0;e<F;e++){var v,y;let x=L[e],P=i[x],b=void 0!==c[x]?c[x]:d[x],V=(0,a.isVariantLabel)(b),S=x===h?P.isActive:null;!1===S&&(g=e);let T=b===d[x]&&b!==c[x]&&V;if(T&&r&&t.manuallyAnimateOnMount&&(T=!1),P.protectedKeys={...f},!P.isActive&&null===S||!b&&!P.prevProp||(0,n.isAnimationControls)(b)||"boolean"==typeof b)continue;let w=(v=P.prevProp,"string"==typeof(y=b)?y!==v:!!Array.isArray(y)&&!(0,o.shallowCompare)(y,v)),A=w||x===h&&P.isActive&&!T&&V||e>g&&V,C=Array.isArray(b)?b:[b],M=C.reduce(u,{});!1===S&&(M={});let{prevResolvedValues:E={}}=P,k={...E,...M},D=t=>{A=!0,m.delete(t),P.needsAnimating[t]=!0}
1;for(let t in k){let e=M[t],i=E[t];f.hasOwnProperty(t)||(e!==i?(0,s.isKeyframesTarget)(e)&&(0,s.isKeyframesTarget)(i)?!(0,o.shallowCompare)(e,i)||w?D(t):P.protectedKeys[t]=!0:void 0!==e?D(t):m.add(t):void 0!==e&&m.has(t)?D(t):P.protectedKeys[t]=!0)}P.prevProp=b,P.prevResolvedValues=M,P.isActive&&(f={...f,...M}),r&&t.blockInitialAnimation&&(A=!1),A&&!T&&p.push(...C.map(t=>({animation:t,options:{type:x,...l}})))}if(m.size){let e={};m.forEach(i=>{let r=t.getBaseTarget(i);void 0!==r&&(e[i]=r)}),p.push({animation:e})}let x=!!p.length;return r&&(!1===c.initial||c.initial===c.animate)&&!t.manuallyAnimateOnMount&&(x=!1),r=!1,x?e(p):Promise.resolve()}return{animateChanges:h,setActive:function(e,r,n){var s;if(i[e].isActive===r)return Promise.resolve();null==(s=t.variantChildren)||s.forEach(t=>{var i;return null==(i=t.animationState)?void 0:i.setActive(e,r)}),i[e].isActive=r;let o=h(n,e);for(let t in i)i[t].protectedKeys={};return o},setAnimateFunction:function(i){e=i(t)},getState:()=>i}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();this.unmount(),(0,n.isAnimationControls)(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){}}var I=B;let U=0;class N extends I.Feature{constructor(){super(...arguments),this.id=U++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e,custom:i}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;let n=this.node.animationState.setActive("exit",!t,{custom:null!=i?i:this.node.getProps().custom});e&&!t&&n.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}var W=B,H=t.i(42510),z=t.i(83164),$=t.i(65536),G=t.i(285),Y=t.i(61175),X=t.i(459);let q=(t,e)=>Math.abs(t-e);var K=t.i(77400);class Z{constructor(t,e,{transformPagePoint:i,contextWindow:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=Q(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,n=(t=i.offset,e={x:0,y:0},Math.sqrt(q(t.x,e.x)**2+q(t.y,e.y)**2)>=3);if(!r&&!n)return;let{point:s}=i,{timestamp:o}=E.frameData;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;r||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=_(e,this.transformPagePoint),E.frame.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:i,onSessionEnd:r}=this.handlers,n=Q("pointercancel"===t.type?this.lastMoveEventInfo:_(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),r&&r(t,n)},!(0,K.isPrimaryPointer)(t))return;this.handlers=e,this.transformPagePoint=i,this.contextWindow=r||window;const n=_((0,$.extractEventInfo)(t),this.transformPagePoint),{point:s}=n,{timestamp:o}=E.frameData;this.history=[{...s,timestamp:o}];const{onSessionStart:a}=e;a&&a(t,Q(n,this.history)),this.removeListeners=(0,X.pipe)((0,Y.addPointerEvent)(this.contextWindow,"pointermove",this.handlePointerMove),(0,Y.addPointerEvent)(this.contextWindow,"pointerup",this.handlePointerUp),(0,Y.addPointerEvent)(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,E.cancelFrame)(this.updatePoint)}}function _(t,e){return e?{point:e(t.point)}:t}function J(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Q({point:t},e){return{point:t,delta:J(t,tt(e)),offset:J(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,r=tt(t);for(;e>=0&&(i=t[e],!(r.timestamp-i.timestamp>(0,G.secondsToMilliseconds)(.1)));)e--;if(!i)return{x:0,y:0};let n=(0,G.millisecondsToSeconds)(r.timestamp-i.timestamp);if(0===n)return{x:0,y:0};let s={x:(r.x-i.x)/n,y:(r.y-i.y)/n};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e)}}function tt(t){return t[t.length-1]}var te=t.i(35494),ti=t.i(25522),tr=t.i(38700),tn=t.i(62756);function ts(t){return t.max-t.min}function to(t,e=0,i=.01){return Math.abs(t-e)<=i}function ta(t,e,i,r=.5){t.origin=r,t.originPoint=(0,tn.mix)(e.min,e.max,t.origin),t.scale=ts(i)/ts(e),(to(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=(0,tn.mix)(i.min,i.max,t.origin)-t.originPoint,(to(t.translate)||isNaN(t.translate))&&(t.translate=0)}function tl(t,e,i,r){ta(t.x,e.x,i.x,r?r.originX:void 0),ta(t.y,e.y,i.y,r?r.originY:void 0)}function tu(t,e,i){t.min=i.min+e.min,t.max=t.min+ts(e)}
1function th(t,e,i){t.min=e.min-i.min,t.max=t.min+ts(e)}function tc(t,e,i){th(t.x,e.x,i.x),th(t.y,e.y,i.y)}var td=t.i(74780);function tp(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 tm(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,r]=[r,i]),{min:i,max:r}}function tf(t,e,i){return{min:tg(t,e),max:tg(t,i)}}function tg(t,e){return"number"==typeof t?t:t[e]||0}let tv=()=>({translate:0,scale:1,origin:0,originPoint:0}),ty=()=>({x:tv(),y:tv()}),tx=()=>({min:0,max:0}),tP=()=>({x:tx(),y:tx()});function tb(t){return[t("x"),t("y")]}function tV({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}function tS(t){return void 0===t||1===t}function tT({scale:t,scaleX:e,scaleY:i}){return!tS(t)||!tS(e)||!tS(i)}function tw(t){return tT(t)||tA(t)||t.z||t.rotate||t.rotateX||t.rotateY}function tA(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function tC(t,e,i,r,n){return void 0!==n&&(t=r+n*(t-r)),r+i*(t-r)+e}function tM(t,e=0,i=1,r,n){t.min=tC(t.min,e,i,r,n),t.max=tC(t.max,e,i,r,n)}function tE(t,{x:e,y:i}){tM(t.x,e.translate,e.scale,e.originPoint),tM(t.y,i.translate,i.scale,i.originPoint)}function tk(t){return Number.isInteger(t)||t>1.0000000000001||t<.999999999999?t:1}function tD(t,e){t.min=t.min+e,t.max=t.max+e}function tR(t,e,[i,r,n]){let s=void 0!==e[n]?e[n]:.5,o=(0,tn.mix)(t.min,t.max,s);tM(t,e[i],e[r],o,e.scale)}let tL=["x","scaleX","originX"],tF=["y","scaleY","originY"];function tj(t,e){tR(t.x,e,tL),tR(t.y,e,tF)}function tB(t,e){return tV(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}var tO=t.i(26368);let tI=({current:t})=>t?t.ownerDocument.defaultView:null,tU=new WeakMap;class tN{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=tP(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let r=t=>{this.stopAnimation(),e&&this.snapToCursor((0,$.extractEventInfo)(t,"page").point)},n=(t,e)=>{let{drag:i,dragPropagation:r,onDragStart:n}=this.getProps();if(i&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=(0,te.getGlobalLock)(i),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),tb(t=>{let e=this.getAxisMotionValue(t).get()||0;if(V.percent.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];r&&(e=ts(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&E.frame.update(()=>n(t,e),!1,!0);let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},s=(t,e)=>{let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:n,onDrag:s}=this.getProps();if(!i&&!this.openGlobalLock)return;let{offset:o}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},o=(t,e)=>this.stop(t,e);this.panSession=new Z(t,{onSessionStart:r,onStart:n,onMove:s,onSessionEnd:o},{transformPagePoint:this.visualElement.getTransformPagePoint(),contextWindow:tI(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:r}=e;this.startAnimation(r);let{onDragEnd:n}=this.getProps();n&&E.frame.update(()=>n(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:r}=this.getProps();if(!i||!tW(t,r,this.currentDirection))return;let n=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},r){return void 0!==e&&t<e?t=r?(0,tn.mix)(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?(0,tn.mix)(i,t,r.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),n.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(t=this.visualElement.projection)?void 0:t.layout,n=this.constraints;e&&(0,ti.isRefObject)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(t,{top:e,left:i,bottom:r,right:n}){return{x:tp(t.x,i,n),y:tp(t.y,e,r)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:tf(t,"left","right"),y:tf(t,"top","bottom")}}(i),n!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&tb(t=>{var e,i;let n;this.getAxisMotionValue(t)&&(this.constraints[t]=(e=r.layoutBox[t],i=this.constraints[t],n={},void 0!==i.min&&(n.min=i.min-e.min),void 0!==i.max&&(n.max=i.max-e.min),n))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,ti.isRefObject)(e))return!1;let r=e.current;(0,z.invariant)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;
1let s=function(t,e,i){let r=tB(t,i),{scroll:n}=e;return n&&(tD(r.x,n.offset.x),tD(r.y,n.offset.y)),r}(r,n.root,this.visualElement.getTransformPagePoint()),o=(t=n.layout.layoutBox,{x:tm(t.x,s.x),y:tm(t.y,s.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=tV(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:r,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(tb(o=>{if(!tW(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return i.start((0,d.animateMotionValue)(t,i,0,e))}stopAnimation(){tb(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e="_drag"+t.toUpperCase(),i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){tb(e=>{let{drag:i}=this.getProps();if(!tW(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,n=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:s}=r.layout.layoutBox[e];n.set(t[e]-(0,tn.mix)(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,ti.isRefObject)(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};tb(t=>{let e=this.getAxisMotionValue(t);if(e){var i,n;let s,o,a,l=e.get();r[t]=(i={min:l,max:l},n=this.constraints[t],s=.5,o=ts(i),(a=ts(n))>o?s=(0,tr.progress)(n.min,n.max-o,i.min):o>a&&(s=(0,tr.progress)(i.min,i.max-a,n.min)),(0,td.clamp)(0,1,s))}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),tb(e=>{if(!tW(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:s}=this.constraints[e];i.set((0,tn.mix)(n,s,r[e]))})}addListeners(){if(!this.visualElement.current)return;tU.set(this.visualElement,this);let t=this.visualElement.current,e=(0,Y.addPointerEvent)(t,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),i=()=>{let{dragConstraints:t}=this.getProps();(0,ti.isRefObject)(t)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,n=r.addEventListener("measure",i);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),i();let s=(0,tO.addDomEvent)(window,"resize",()=>this.scalePositionWithinConstraints()),o=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(tb(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{s(),e(),n(),o&&o()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function tW(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class tH extends W.Feature{constructor(t){super(t),this.removeGroupControls=H.noop,this.removeListeners=H.noop,this.controls=new tN(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||H.noop}unmount(){this.removeGroupControls(),this.removeListeners()}}var tz=B;let t$=t=>(e,i)=>{t&&E.frame.update(()=>t(e,i))};class tG extends tz.Feature{constructor(){super(...arguments),this.removePointerDownListener=H.noop}onPointerDown(t){this.session=new Z(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:tI(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:t$(t),onStart:t$(e),onMove:i,onEnd:(t,e)=>{delete this.session,r&&E.frame.update(()=>r(t,e))}}}mount(){this.removePointerDownListener=(0,Y.addPointerEvent)(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var tY=t.i(71645),tX=t.i(21476),tq=t.i(31178),tK=t.i(4035);let tZ={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function t_(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let tJ={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!V.px.test(t))return t;else t=parseFloat(t);let i=t_(t,e.target.x),r=t_(t,e.target.y);return`${i}% ${r}%`}};var tQ=t.i(52383);class t0 extends tY.default.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:n}=t;(0,tQ.addScaleCorrector)(t5),n&&(e.group&&e.group.add(n),i&&i.register&&r&&i.register(n),n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),tZ.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:n}=this.props,s=i.projection;return s&&(s.isPresent=n,r||t.layoutDependency!==e||void 0===e?s.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?s.promote():s.relegate()||E.frame.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function t1(t){let[e,i]=function(){let t=(0,tY.useContext)(tX.PresenceContext);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:i,register:r}=t,n=(0,tY.useId)();return(0,tY.useEffect)(()=>r(n),[]),!e&&i?[!1,()=>i&&i(n)]:[!0]}(),r=(0,tY.useContext)(tq.LayoutGroupContext);return tY.default.createElement(t0,{...t,layoutGroup:r,switchLayoutGroup:(0,tY.useContext)(tK.SwitchLayoutGroupContext),isPresent:e,safeToRemove:i})}let t5={borderRadius:{...tJ,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tJ,borderTopRightRadius:tJ,borderBottomLeftRadius:tJ,borderBottomRightRadius:tJ,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=y.complex.parse(t);if(r.length>5)return t;let n=y.complex.createTransformer(t),s=+("number"!=typeof r[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;r[0+s]/=o,r[1+s]/=a;let l=(0,tn.mix)(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),n(r)}}};var t3=t.i(74015),t4=t.i(68638);let t2=["TopLeft","TopRight","BottomLeft","BottomRight"],t7=t2.length,t6=t=>"string"==typeof t?parseFloat(t):t,t9=t=>"number"==typeof t||V.px.test(t);function t8(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let et=ei(0,.5,t4.circOut),ee=ei(.5,.95,H.noop);function ei(t,e,i){return r=>r<t?0:r>e?1:i((0,tr.progress)(t,e,r))}function er(t,e){t.min=e.min,t.max=e.max}function en(t,e){er(t.x,e.x),er(t.y,e.y)}function es(t,e,i,r,n){return t-=e,t=r+1/i*(t-r),void 0!==n&&(t=r+1/n*(t-r)),t}function eo(t,e,[i,r,n],s,o){!function(t,e=0,i=1,r=.5,n,s=t,o=t){if(V.percent.test(e)&&(e=parseFloat(e),e=(0,tn.mix)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,tn.mix)(s.min,s.max,r);t===s&&(a-=e),t.min=es(t.min,e,i,a,n),t.max=es(t.max,e,i,a,n)}(t,e[i],e[r],e[n],e.scale,s,o)}let ea=["x","scaleX","originX"],el=["y","scaleY","originY"];function eu(t,e,i,r){eo(t.x,e,ea,i?i.x:void 0,r?r.x:void 0),eo(t.y,e,el,i?i.y:void 0,r?r.y:void 0)}function eh(t){return 0===t.translate&&1===t.scale}function ec(t){return eh(t.x)&&eh(t.y)}function ed(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function ep(t){return ts(t.x)/ts(t.y)}var em=t.i(3668);class ef{constructor(){this.members=[]}add(t){(0,em.addUniqueItem)(this.members,t),t.scheduleRender()}remove(t){if((0,em.removeItem)(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)}
1}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:r}=t.options;!1===r&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function eg(t,e,i){let r="",n=t.x.translate/e.x,s=t.y.translate/e.y;if((n||s)&&(r=`translate3d(${n}px, ${s}px, 0) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),i){let{rotate:t,rotateX:e,rotateY:n}=i;t&&(r+=`rotate(${t}deg) `),e&&(r+=`rotateX(${e}deg) `),n&&(r+=`rotateY(${n}deg) `)}let o=t.x.scale*e.x,a=t.y.scale*e.y;return(1!==o||1!==a)&&(r+=`scale(${o}, ${a})`),r||"none"}let ev=(t,e)=>t.depth-e.depth;class ey{constructor(){this.children=[],this.isDirty=!1}add(t){(0,em.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,em.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ev),this.isDirty=!1,this.children.forEach(t)}}var ex=t.i(28987),eP=t.i(98549);let eb=["","X","Y","Z"],eV={visibility:"hidden"},eS=0,eT={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function ew({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(t={},i=null==e?void 0:e()){this.id=eS++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,eT.totalNodes=eT.resolvedTargetDeltas=eT.recalculatedProjection=0,this.nodes.forEach(eM),this.nodes.forEach(ej),this.nodes.forEach(eB),this.nodes.forEach(eE),window.MotionDebug&&window.MotionDebug.record(eT)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new ey)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new t3.SubscriptionManager),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:r,layout:n,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(n||r)&&(this.isLayoutDirty=!0),t){let i,r=()=>this.root.updateBlockedByResize=!1;t(e,()=>{let t,e;this.root.updateBlockedByResize=!0,i&&i(),t=performance.now(),e=({timestamp:i})=>{let n=i-t;n>=250&&((0,E.cancelFrame)(e),r())},E.frame.read(e,!0),i=()=>(0,E.cancelFrame)(e),tZ.hasAnimatedSinceResize&&(tZ.hasAnimatedSinceResize=!1,this.nodes.forEach(eF))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||s.getDefaultTransition()||eH,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!ed(this.targetLayout,r)||i,u=!e&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...(0,M.getValueTransition)(n,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||eF(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,E.cancelFrame)(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.forEac
1h(eO),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(eD);return}this.isUpdating||this.nodes.forEach(eR),this.isUpdating=!1,this.nodes.forEach(eL),this.nodes.forEach(eA),this.nodes.forEach(eC),this.clearAllSnapshots();let t=performance.now();E.frameData.delta=(0,td.clamp)(0,1e3/60,t-E.frameData.timestamp),E.frameData.timestamp=t,E.frameData.isProcessing=!0,E.steps.update.process(E.frameData),E.steps.preRender.process(E.frameData),E.steps.render.process(E.frameData),E.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(ek),this.sharedNodes.forEach(eI)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,E.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){E.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=tP(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&(this.scroll={animationId:this.root.animationId,phase:t,isRoot:r(this.instance),offset:i(this.instance)})}resetTransform(){if(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform,e=this.projectionDelta&&!ec(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;t&&(e||tw(this.latestValues)||s)&&(n(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),r=this.removeElementScroll(i);return t&&(r=this.removeTransform(r)),eG((e=r).x),eG(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return tP();let e=t.measureViewportBox(),{scroll:i}=this.root;return i&&(tD(e.x,i.offset.x),tD(e.y,i.offset.y)),e}removeElementScroll(t){let e=tP();en(e,t);for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:n,options:s}=r;if(r!==this.root&&n&&s.layoutScroll){if(n.isRoot){en(e,t);let{scroll:i}=this.root;i&&(tD(e.x,-i.offset.x),tD(e.y,-i.offset.y))}tD(e.x,n.offset.x),tD(e.y,n.offset.y)}}return e}applyTransform(t,e=!1){let i=tP();en(i,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&tj(i,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),tw(r.latestValues)&&tj(i,r.latestValues)}return tw(this.latestValues)&&tj(i,this.latestValues),i}removeTransform(t){let e=tP();en(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!tw(i.latestValues))continue;tT(i.latestValues)&&i.updateSnapshot();let r=tP();en(r,i.measurePageBox()),eu(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,r)}return tw(this.latestValues)&&eu(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!==E.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,i,r,n;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isS
1haredProjectionDirty);let o=!!this.resumingFrom||this!==s;if(!(t||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(e=this.parent)?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=E.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tP(),this.relativeTargetOrigin=tP(),tc(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),en(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=tP(),this.targetWithTransforms=tP()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,r=this.relativeTarget,n=this.relativeParent.target,tu(i.x,r.x,n.x),tu(i.y,r.y,n.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):en(this.target,this.layout.layoutBox),tE(this.target,this.targetDelta)):en(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=tP(),this.relativeTargetOrigin=tP(),tc(this.relativeTargetOrigin,this.target,t.target),en(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}eT.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||tT(this.parent.latestValues)||tA(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty))&&(r=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===E.frameData.timestamp&&(r=!1),r)return;let{layout:n,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||s))return;en(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;!function(t,e,i,r=!1){let n,s,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(n=i[a]).projectionDelta;let o=n.instance;(!o||!o.style||"contents"!==o.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&tj(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,tE(t,s)),r&&tw(n.latestValues)&&tj(t,n.latestValues))}e.x=tk(e.x),e.y=tk(e.y)}}(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox);let{target:l}=e;if(!l){this.projectionTransform&&(this.projectionDelta=ty(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=ty(),this.projectionDeltaWithTransform=ty());let u=this.projectionTransform;tl(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=eg(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==o||this.treeScale.y!==a)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),eT.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t,e=!1){let i,r=this.snapshot,n=r?r.latestValues:{},s={...this.latestValues},o=ty();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=tP(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&
1!0===this.options.crossfade&&!this.path.some(eW));this.animationProgress=0,this.mixTargetDelta=e=>{let r=e/1e3;if(eU(o.x,t.x,r),eU(o.y,t.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,m,f,g;tc(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=a,g=r,eN(p.x,m.x,f.x,g),eN(p.y,m.y,f.y,g),i&&(u=this.relativeTarget,d=i,u.x.min===d.x.min&&u.x.max===d.x.max&&u.y.min===d.y.min&&u.y.max===d.y.max)&&(this.isProjectionDirty=!1),i||(i=tP()),en(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,r,n,s){n?(t.opacity=(0,tn.mix)(0,void 0!==i.opacity?i.opacity:1,et(r)),t.opacityExit=(0,tn.mix)(void 0!==e.opacity?e.opacity:1,0,ee(r))):s&&(t.opacity=(0,tn.mix)(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,r));for(let n=0;n<t7;n++){let s=`border${t2[n]}Radius`,o=t8(e,s),a=t8(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||t9(o)===t9(a)?(t[s]=Math.max((0,tn.mix)(t6(o),t6(a),r),0),(V.percent.test(a)||V.percent.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,tn.mix)(e.rotate||0,i.rotate||0,r))}(s,n,this.latestValues,r,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,E.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=E.frame.update(()=>{var e;let i;tZ.hasAnimatedSinceResize=!0,this.currentAnimation=(e={...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}},(i=(0,eP.isMotionValue)(0)?0:(0,v.motionValue)(0)).start((0,d.animateMotionValue)("",i,1e3,e)),i.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:r,latestValues:n}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&eY(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||tP();let e=ts(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=ts(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}en(e,i),tj(e,n),tl(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new ef),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null==(t=this.getStack())?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null==(t=this.getStack())?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.rotate||i.rotateX||i.rotateY||i.rotateZ)&&(e=!0),!e)return;let r={};for(let e=0;e<eb.length;e++){let n="rotate"+eb[e];i[n]&&(r[n]=i[n],t.setStaticValue(n,0))}for(let e in t.render(),r)t.setStaticValue(e,r[e]);t.scheduleRender()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return eV;let r={visibility:""},n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=(0,ex.resolveMotionValue)(null==t?void 0:t.pointerEvents)||"",r.transform=n?n(this.latestValues,""):"none",r;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=(0,ex.resolveMotionValue)(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!tw(this.latestValues)&&(e.transform=n?n({},""):"none",this.hasProjected=!1),e}let o=s.animationValues||s.latestValues;this.applyTransformsToTarget(),r.transform=eg(this.projectionDeltaWithTransform,this.treeScale,o),n&&(r.transform=n(o,r.transform));let{x:a,y:l}=this.projectionDelta;for(let t in r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,s.animationValues?r.opacity=s===this?null!=(i=null!=(e=o.opacity)?e:this.latestValues.opacity)?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:r.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,tQ.scaleCorrectors){if
1(void 0===o[t])continue;let{correct:e,applyTo:i}=tQ.scaleCorrectors[t],n="none"===r.transform?o[t]:e(o[t],s);if(i){let t=i.length;for(let e=0;e<t;e++)r[i[e]]=n}else r[t]=n}return this.options.layoutId&&(r.pointerEvents=s===this?(0,ex.resolveMotionValue)(null==t?void 0:t.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null==(e=t.currentAnimation)?void 0:e.stop()}),this.root.nodes.forEach(eD),this.root.sharedNodes.clear()}}}function eA(t){t.updateLayout()}function eC(t){var e;let i=(null==(e=t.resumeFrom)?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:r}=t.layout,{animationType:n}=t.options,s=i.source!==t.layout.source;"size"===n?tb(t=>{let r=s?i.measuredBox[t]:i.layoutBox[t],n=ts(r);r.min=e[t].min,r.max=r.min+n}):eY(n,i.layoutBox,e)&&tb(r=>{let n=s?i.measuredBox[r]:i.layoutBox[r],o=ts(e[r]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=ty();tl(o,e,i.layoutBox);let a=ty();s?tl(a,t.applyTransform(r,!0),i.measuredBox):tl(a,e,i.layoutBox);let l=!ec(o),u=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let o=tP();tc(o,i.layoutBox,n.layoutBox);let a=tP();tc(a,e,s.layoutBox),ed(o,a)||(u=!0),r.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function eM(t){eT.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function eE(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function ek(t){t.clearSnapshot()}function eD(t){t.clearMeasurements()}function eR(t){t.isLayoutDirty=!1}function eL(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function eF(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function ej(t){t.resolveTargetDelta()}function eB(t){t.calcProjection()}function eO(t){t.resetRotation()}function eI(t){t.removeLeadSnapshot()}function eU(t,e,i){t.translate=(0,tn.mix)(e.translate,0,i),t.scale=(0,tn.mix)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function eN(t,e,i,r){t.min=(0,tn.mix)(e.min,i.min,r),t.max=(0,tn.mix)(e.max,i.max,r)}function eW(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let eH={duration:.45,ease:[.4,0,.1,1]},ez=t=>"u">typeof navigator&&navigator.userAgent.toLowerCase().includes(t),e$=ez("applewebkit/")&&!ez("chrome/")?Math.round:H.noop;function eG(t){t.min=e$(t.min),t.max=e$(t.max)}function eY(t,e,i){return"position"===t||"preserve-aspect"===t&&!to(ep(e),ep(i),.2)}let eX=ew({attachResizeListener:(t,e)=>(0,tO.addDomEvent)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),eq={current:void 0},eK=ew({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!eq.current){let t=new eX({});t.mount(window),t.setOptions({layoutScroll:!0}),eq.current=t}return eq.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var eZ=t.i(58768),e_=t.i(70272),eJ=t.i(32313),eQ=t.i(3267),e0=t.i(26553);let e1=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function e5(t,e,i=1){(0,z.invariant)(i<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[r,n]=function(t){let e=e1.exec(t);if(!e)return[,];let[,i,r]=e;return[i,r]}(t);if(!r)return;let s=window.getComputedStyle(e).getPropertyValue(r);if(s){let t=s.trim();return(0,m.isNumericalString)(t)?parseFloat(t):t}return(0,e_.isCSSVariableToken)(n)?e5(n,e,i+1):n}var e3=t.i(92936);let e4=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),e2=t=>e4.has(t),e7=t=>t===b.number||t===V.px,e6=(t,e)=>parseFloat(t.split(", ")[e]),e9=(t,e)=>(i,{transform:r})=>{if("none"===r||!r)return 0;let n=r.match(/^matrix3d\((.+)\)$/);if(n)return e6(n[1],e);{let e=r.match(/^matrix\((.+)\)$/);return e?e6(e[1],t):0}},e8=new Set(["x","y","z"]),it=h.transformPropOrder.filter(t=>!e8.has(t)),ie={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:e9(4,13),y:e9(5,14)};ie.translateX=ie.x,ie.translateY=ie.y;let ii={current:null},ir={current:!1};var is=t.i(98922),io=t.i(43190),ia=t.i(76948);let il=new WeakMap,iu=Object.keys(ia.featureDefinitions),ih=iu.length,ic=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],id=u.variantProps.length;class ip{constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,visualState:n},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>E.frame.render(this.render,!1,!0);const{latestValues:o,renderState:a}=n;this.latestValues=o,this.baseTarget={...o},this.initialValues=e.initial?{...o}:{},this.renderState=a,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=s,this.isControllingVariants=(0,is.isControllingVariants)(e),this.isVariantNode=(0,is.isVariantNode)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:l,...u}=this.scrapeMotionValuesFromProps(e,{});for(const t in u){const e=u[t];void 0!==o[t]&&(0,eP.isMotionValue)(e)&&(e.set(o[t],!1),(0,p.isWillChangeMotionValue)(l)&&l.add(t))}}scrapeMotionValuesFromProps(t,e){return{}}mount(t){this.current=t,il.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.forEac
1h((t,e)=>this.bindToMotionValue(e,t)),ir.current||function(){if(ir.current=!0,e3.isBrowser)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>ii.current=t.matches;t.addListener(e),e()}else ii.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||ii.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in il.delete(this.current),this.projection&&this.projection.unmount(),(0,E.cancelFrame)(this.notifyUpdate),(0,E.cancelFrame)(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,e){let i=h.transformProps.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&E.frame.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),n=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{r(),n()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures({children:t,...e},i,r,n){let s,o;for(let t=0;t<ih;t++){let i=iu[t],{isEnabled:r,Feature:n,ProjectionNode:a,MeasureLayout:l}=ia.featureDefinitions[i];a&&(s=a),r(e)&&(!this.features[i]&&n&&(this.features[i]=new n(this)),l&&(o=l))}if(!this.projection&&s){this.projection=new s(this.latestValues,this.parent&&this.parent.projection);let{layoutId:t,layout:i,drag:r,dragConstraints:o,layoutScroll:a,layoutRoot:l}=e;this.projection.setOptions({layoutId:t,layout:i,alwaysMeasureLayout:!!r||o&&(0,ti.isRefObject)(o),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof i?i:"both",initialPromotionConfig:n,layoutScroll:a,layoutRoot:l})}return o}updateFeatures(){for(let t in this.features){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):tP()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}makeTargetAnimatable(t,e=!0){return this.makeTargetAnimatableFromInstance(t,this.props,e)}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<ic.length;e++){let i=ic[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=function(t,e,i){let{willChange:r}=e;for(let n in e){let s=e[n],o=i[n];if((0,eP.isMotionValue)(s))t.addValue(n,s),(0,p.isWillChangeMotionValue)(r)&&r.add(n);else if((0,eP.isMotionValue)(o))t.addValue(n,(0,v.motionValue)(s,{owner:t})),(0,p.isWillChangeMotionValue)(r)&&r.remove(n);else if(o!==s)if(t.hasValue(n)){let e=t.getValue(n);e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(n);t.addValue(n,(0,v.motionValue)(void 0!==e?e:s,{owner:t}))}}for(let r in i)void 0===e[r]&&t.removeValue(r);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let t=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(t.initial=this.props.initial),t}let e={};for(let t=0;t<id;t++){let i=u.variantProps[t],r=this.props[i];((0,a.isVariantLabel)(r)||!1===r)&&(e[i]=r)}return e}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){e!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,e)),this.values.set(t,e),this.latestValues[t]=e.get()}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,v.motionValue)(e,{owner:this}),this.addValue(t,i)),i}readValue(t){var e;return void 0===this.latestValues[t]&&this.current?null!=(e=this.getBaseTargetFromProps(this.props,t))?e:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t]}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let{initial:i}=this.props,r="string"==typeof i||"object"==typeof i?null==(e=(0,io.resolveVariantFromProps)(this.props,i))?void 0:e[t]:void 0;if(i&&void 0!==r)return r;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||(0,eP.isMotionValue)(n)?void 0!==this.initialValues[t]&&void 0===r?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new t3.SubscriptionManager),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class im extends ip{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:e,...i},{transformValues:r}
1,n){let o=function(t,e,i){let r={};for(let n in t){let t=function(t,e){if(e)return(e[t]||e.default||e).from}(n,e);if(void 0!==t)r[n]=t;else{let t=i.getValue(n);t&&(r[n]=t.get())}}return r}(i,t||{},this);if(r&&(e&&(e=r(e)),i&&(i=r(i)),o&&(o=r(o))),n){var a,l,u,h,c;let t;!function(t,e,i){var r,n;let s=Object.keys(e).filter(e=>!t.hasValue(e)),o=s.length;if(o)for(let a=0;a<o;a++){let o=s[a],l=e[o],u=null;Array.isArray(l)&&(u=l[0]),null===u&&(u=null!=(n=null!=(r=i[o])?r:t.readValue(o))?n:e[o]),null!=u&&("string"==typeof u&&((0,m.isNumericalString)(u)||(0,f.isZeroValueString)(u))?u=parseFloat(u):!C(u)&&y.complex.test(l)&&(u=(0,x.getAnimatableNone)(o,l)),t.addValue(o,(0,v.motionValue)(u,{owner:t})),void 0===i[o]&&(i[o]=u),null!==u&&t.setBaseTarget(o,u))}}(this,i,o);let r=(a=i,l=o,a=(t=function(t,{...e},i){let r=t.current;if(!(r instanceof Element))return{target:e,transitionEnd:i};for(let n in i&&(i={...i}),t.values.forEach(t=>{let e=t.get();if(!(0,e_.isCSSVariableToken)(e))return;let i=e5(e,r);i&&t.set(i)}),e){let t=e[n];if(!(0,e_.isCSSVariableToken)(t))continue;let s=e5(t,r);s&&(e[n]=s,i||(i={}),void 0===i[n]&&(i[n]=t))}return{target:e,transitionEnd:i}}(this,a,u=e)).target,u=t.transitionEnd,h=a,c=u,Object.keys(h).some(e2)?((t,e,i={},r={})=>{e={...e},r={...r};let n=Object.keys(e).filter(e2),o=[],a=!1,l=[];
1if(n.forEach(n=>{let u,h=t.getValue(n);if(!t.hasValue(n))return;let c=i[n],d=w(c),p=e[n];if((0,s.isKeyframesTarget)(p)){let t=p.length,e=+(null===p[0]);d=w(c=p[e]);for(let i=e;i<t&&null!==p[i];i++)u?(0,z.invariant)(w(p[i])===u,"All keyframes must be of the same type"):(u=w(p[i]),(0,z.invariant)(u===d||e7(d)&&e7(u),"Keyframes must be of the same dimension as the current value"))}else u=w(p);if(d!==u)if(e7(d)&&e7(u)){let t=h.get();"string"==typeof t&&h.set(parseFloat(t)),"string"==typeof p?e[n]=parseFloat(p):Array.isArray(p)&&u===V.px&&(e[n]=p.map(parseFloat))}else if((null==d?void 0:d.transform)&&(null==u?void 0:u.transform)&&(0===c||0===p))0===c?h.set(u.transform(c)):e[n]=d.transform(p);else{if(!a){let e;e=[],it.forEach(i=>{let r=t.getValue(i);void 0!==r&&(e.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),e.length&&t.render(),o=e,a=!0}l.push(n),r[n]=void 0!==r[n]?r[n]:e[n],h.jump(p)}}),!l.length)return{target:e,transitionEnd:r};{let i=l.indexOf("height")>=0?window.pageYOffset:null,n=((t,e,i)=>{let r=e.measureViewportBox(),n=getComputedStyle(e.current),{display:s}=n,o={};"none"===s&&e.setStaticValue("display",t.display||"block"),i.forEach(t=>{o[t]=ie[t](r,n)}),e.render();let a=e.measureViewportBox();return i.forEach(i=>{let r=e.getValue(i);r&&r.jump(o[i]),t[i]=ie[i](a,n)}),t})(e,t,l);return o.length&&o.forEach(([e,i])=>{t.getValue(e).set(i)}),t.render(),e3.isBrowser&&null!==i&&window.scrollTo({top:i}),{target:n,transitionEnd:r}}})(this,h,l,c):{target:h,transitionEnd:c});e=r.transitionEnd,i=r.target}return{transition:t,transitionEnd:e,...i}}}class ig extends im{readValueFromInstance(t,e){if(h.transformProps.has(e)){let t=(0,e0.getDefaultValueType)(e);return t&&t.default||0}{let i=window.getComputedStyle(t),r=((0,e_.isCSSVariableName)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return tB(t,e)}build(t,e,i,r){(0,eZ.buildHTMLStyles)(t,e,i,r.transformTemplate)}scrapeMotionValuesFromProps(t,e){return(0,eJ.scrapeMotionValuesFromProps)(t,e)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,eP.isMotionValue)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(t,e,i,r){(0,eQ.renderHTML)(t,e,i,r)}}var iv=t.i(25954),iy=t.i(33203),ix=t.i(64600),iP=t.i(89472),ib=t.i(97823),iV=t.i(50514);class iS extends im{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(h.transformProps.has(e)){let t=(0,e0.getDefaultValueType)(e);return t&&t.default||0}return e=iP.camelCaseAttributes.has(e)?e:(0,ix.camelToDash)(e),t.getAttribute(e)}measureInstanceViewportBox(){return tP()}scrapeMotionValuesFromProps(t,e){return(0,iv.scrapeMotionValuesFromProps)(t,e)}build(t,e,i,r){(0,iy.buildSVGAttrs)(t,e,i,this.isSVGTag,r.transformTemplate)}renderInstance(t,e,i,r){(0,ib.renderSVG)(t,e,i,r)}mount(t){this.isSVGTag=(0,iV.isSVGTag)(t.tagName),super.mount(t)}}var iT=t.i(44966);let iw=(t,e)=>(0,iT.isSVGComponent)(t)?new iS(e,{enableHardwareAcceleration:!1}):new ig(e,{enableHardwareAcceleration:!0}),iA={animation:{Feature:O},exit:{Feature:N},...r.gestureAnimations,pan:{Feature:tG},drag:{Feature:tH,ProjectionNode:eK,MeasureLayout:t1},layout:{ProjectionNode:eK,MeasureLayout:t1}},iC=(0,e.createMotionProxy)((t,e)=>(0,i.createDomMotionConfig)(t,e,iA,iw));t.s(["motion",0,iC],9867)},44218,26368,77400,65536,61175,t=>{"use strict";var e=t.i(44966),i=t.i(8576),r=t.i(97823),n=t.i(25954),s=t.i(97044),o=t.i(11587),a=t.i(33203),l=t.i(50514),u=t.i(28327);let h={useVisualState:(0,s.makeUseVisualState)({scrapeMotionValuesFromProps:n.scrapeMotionValuesFromProps,createRenderState:o.createSvgRenderState,onMount:(t,e,{renderState:i,latestValues:n})=>{u.frame.read(()=>{try{i.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){i.dimensions={x:0,y:0,width:0,height:0}}}),u.frame.render(()=>{(0,a.buildSVGAttrs)(i,n,{enableHardwareAcceleration:!1},(0,l.isSVGTag)(e.tagName),t.transformTemplate),(0,r.renderSVG)(e,i)})}})};var c=t.i(32313),d=t.i(86549);let p={useVisualState:(0,s.makeUseVisualState)({scrapeMotionValuesFromProps:c.scrapeMotionValuesFromProps,createRenderState:d.createHtmlRenderState})};function m(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i)}t.s(["createDomMotionConfig",0,function(t,{forwardMotionProps:r=!1},n,s){return{...(0,e.isSVGComponent)(t)?h:p,preloadedFeatures:n,useRender:(0,i.createUseRender)(r),createVisualElement:s,Component:t}}],44218),t.s(["addDomEvent",0,m],26368);let f=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function g(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}t.s(["isPrimaryPointer",0,f],77400);let v=t=>e=>f(e)&&t(e,g(e));t.s(["addPointerInfo",0,v,"extractEventInfo",0,g],65536),t.s(["addPointerEvent",0,function(t,e,
1i,r){return m(t,e,v(i),r)}],61175)},70272,t=>{"use strict";let e=t=>e=>"string"==typeof e&&e.startsWith(t),i=e("--"),r=e("var(--");t.s(["cssVariableRegex",0,/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,"isCSSVariableName",0,i,"isCSSVariableToken",0,r])},39187,t=>{"use strict";t.s(["getValueAsType",0,(t,e)=>e&&"number"==typeof t?e.transform(t):t])},83164,t=>{"use strict";t.i(47167);var e=t.i(42510);let i=e.noop,r=e.noop;t.s(["invariant",0,r,"warning",0,i])},25711,30040,t=>{"use strict";var e=t.i(83164),i=t.i(30801),r=t.i(74780),n=t.i(62756),s=t.i(9977),o=t.i(1768),a=t.i(459),l=t.i(38700),u=t.i(42510);let h=(t,e)=>i=>(0,n.mix)(t,e,i);t.s(["interpolate",0,function(t,n,{clamp:c=!0,ease:d,mixer:p}={}){let m=t.length;if((0,e.invariant)(m===n.length,"Both input and output ranges must be the same length"),1===m)return()=>n[0];t[0]>t[m-1]&&(t=[...t].reverse(),n=[...n].reverse());let f=function(t,e,r){let n=[],l=r||function(t){if("number"==typeof t);else if("string"==typeof t)return i.color.test(t)?s.mixColor:o.mixComplex;else if(Array.isArray(t))return o.mixArray;else if("object"==typeof t)return o.mixObject;return h}(t[0]),c=t.length-1;for(let i=0;i<c;i++){let r=l(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||u.noop:e;r=(0,a.pipe)(t,r)}n.push(r)}return n}(n,d,p),g=f.length,v=e=>{let i=0;if(g>1)for(;i<t.length-2&&!(e<t[i+1]);i++);let r=(0,l.progress)(t[i],t[i+1],e);return f[i](r)};return c?e=>v((0,r.clamp)(t[0],t[m-1],e)):v}],25711),t.s(["defaultOffset",0,function(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let s=(0,l.progress)(0,e,r);t.push((0,n.mix)(i,1,s))}}(e,t.length-1),e}],30040)},1768,2254,t=>{"use strict";var e=t.i(62756),i=t.i(9977),r=t.i(459),n=t.i(83164),s=t.i(30801),o=t.i(70272),a=t.i(42510),l=t.i(11783),u=t.i(40617);let h={regex:o.cssVariableRegex,countKey:"Vars",token:"${v}",parse:a.noop},c={regex:u.colorRegex,countKey:"Colors",token:"${c}",parse:s.color.parse},d={regex:u.floatRegex,countKey:"Numbers",token:"${n}",parse:l.number.parse};function p(t,{regex:e,countKey:i,token:r,parse:n}){let s=t.tokenised.match(e);s&&(t["num"+i]=s.length,t.tokenised=t.tokenised.replace(e,r),t.values.push(...s.map(n)))}function m(t){let e=t.toString(),i={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return i.value.includes("var(--")&&p(i,h),p(i,c),p(i,d),i}function f(t){return m(t).values}function g(t){let{values:e,numColors:i,numVars:r,tokenised:n}=m(t),o=e.length;return t=>{let e=n;for(let n=0;n<o;n++)e=n<r?e.replace(h.token,t[n]):n<r+i?e.replace(c.token,s.color.transform(t[n])):e.replace(d.token,(0,u.sanitize)(t[n]));return e}}let v=t=>"number"==typeof t?0:t,y={test:function(t){var e,i;return isNaN(t)&&(0,u.isString)(t)&&((null==(e=t.match(u.floatRegex))?void 0:e.length)||0)+((null==(i=t.match(u.colorRegex))?void 0:i.length)||0)>0},parse:f,createTransformer:g,getAnimatableNone:function(t){let e=f(t);return g(t)(e.map(v))}};t.s(["analyseComplexValue",0,m,"complex",0,y],2254);let x=(t,e)=>i=>`${i>0?e:t}`;function P(t,r){return"number"==typeof t?i=>(0,e.mix)(t,r,i):s.color.test(t)?(0,i.mixColor)(t,r):t.startsWith("var(")?x(t,r):V(t,r)}let b=(t,e)=>{let i=[...t],r=i.length,n=t.map((t,i)=>P(t,e[i]));return t=>{for(let e=0;e<r;e++)i[e]=n[e](t);return i}},V=(t,e)=>{let i=y.createTransformer(e),s=m(t),o=m(e);return s.numVars===o.numVars&&s.numColors===o.numColors&&s.numNumbers>=o.numNumbers?(0,r.pipe)(b(s.values,o.values),i):((0,n.warning)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),x(t,e))};t.s(["mixArray",0,b,"mixComplex",0,V,"mixObject",0,(t,e)=>{let i={...t,...e},r={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(r[n]=P(t[n],e[n]));return t=>{for(let e in r)i[e]=r[e](t);return i}}],1768)},459,t=>{"use strict";let e=(t,e)=>i=>e(t(i));t.s(["pipe",0,(...t)=>t.reduce(e)])},38700,t=>{"use strict";t.s(["progress",0,(t,e,i)=>{let r=e-t;return 0===r?1:(i-t)/r}])},74015,3668,t=>{"use strict";function e(t,e){-1===t.indexOf(e)&&t.push(e)}function i(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}t.s(["addUniqueItem",0,e,"removeItem",0,i],3668),t.s(["SubscriptionManager",0,class{constructor(){this.subscriptions=[]}add(t){return e(this.subscriptions,t),()=>i(this.subscriptions,t)}notify(t,e,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,i);else for(let n=0;n<r;n++){let r=this.subscriptions[n];r&&r(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}],74015)},285,21975,33561,15144,97756,12903,41790,68638,93383,t=>{"use strict";t.s(["millisecondsToSeconds",0,t=>t/1e3,"secondsToMilliseconds",0,t=>1e3*t],285),t.s(["instantAnimationState",0,{current:!1}],21975);let e=t=>Array.isArray(t)&&"number"==typeof t[0],i=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,r={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:i([0,.65,.55,1]),circOut:i([.55,0,1,.45]),backIn:i([.31,.01,.66,-.59]),backOut:i([.33,1.53,.69,.99])};function n(t){if(t)return e(t)?i(t):Array.isArray(t)?t.map(n):r[t]}t.s(["isWaapiSupportedEasing",0,function t(i){return!!(!i||"string"==typeof i&&r[i]||e(i)||Array.isArray(i)&&i.every(t))},"mapEasingToNativeEasing",0,n],33561),t.s(["animateStyle",0,function(t,e,
1i,{delay:r=0,duration:s,repeat:o=0,repeatType:a="loop",ease:l,times:u}={}){let h={[e]:i};u&&(h.offset=u);let c=n(l);return Array.isArray(c)&&(h.easing=c),t.animate(h,{delay:r,duration:s,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}],15144),t.s(["getFinalKeyframe",0,function(t,{repeat:e,repeatType:i="loop"}){let r=e&&"loop"!==i&&e%2==1?0:t.length-1;return t[r]}],97756);var s=t.i(42510);let o=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function a(t,e,i,r){return t===e&&i===r?s.noop:n=>0===n||1===n?n:o(function(t,e,i,r,n){let s,a,l=0;do(s=o(a=e+(i-e)/2,r,n)-t)>0?i=a:e=a;while(Math.abs(s)>1e-7&&++l<12)return a}(n,0,1,t,i),e,r)}let l=a(.42,0,1,1),u=a(0,0,.58,1),h=a(.42,0,.58,1);t.s(["easeIn",0,l,"easeInOut",0,h,"easeOut",0,u],12903),t.s(["isEasingArray",0,t=>Array.isArray(t)&&"number"!=typeof t[0]],41790);var c=t.i(83164);let d=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,p=t=>e=>1-t(1-e),m=t=>1-Math.sin(Math.acos(t)),f=p(m),g=d(m);t.s(["circIn",0,m,"circInOut",0,g,"circOut",0,f],68638);let v=a(.33,1.53,.69,.99),y=p(v),x=d(y),P={linear:s.noop,easeIn:l,easeInOut:h,easeOut:u,circIn:m,circInOut:g,circOut:f,backIn:y,backInOut:x,backOut:v,anticipate:t=>(t*=2)<1?.5*y(t):.5*(2-Math.pow(2,-10*(t-1)))};t.s(["easingDefinitionToFunction",0,t=>{if(Array.isArray(t)){(0,c.invariant)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,r,n]=t;return a(e,i,r,n)}return"string"==typeof t?((0,c.invariant)(void 0!==P[t],`Invalid easing type '${t}'`),P[t]):t}],93383)},47414,t=>{"use strict";var e=t.i(71645);t.s(["useConstant",0,function(t){let i=(0,e.useRef)(null);return null===i.current&&(i.current=t()),i.current}])},74008,92936,t=>{"use strict";var e=t.i(71645);let i="u">typeof document;t.s(["isBrowser",0,i],92936);let r=i?e.useLayoutEffect:e.useEffect;t.s(["useIsomorphicLayoutEffect",0,r],74008)},68935,t=>{"use strict";t.s(["velocityPerSecond",0,function(t,e){return e?1e3/e*t:0}])},71329,t=>{"use strict";t.i(47167);var e=t.i(74015),i=t.i(68935),r=t.i(28327);let n={current:void 0};class s{constructor(t,e={}){this.version="10.16.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(t,e=!0)=>{this.prev=this.current,this.current=t;let{delta:i,timestamp:n}=r.frameData;this.lastUpdated!==n&&(this.timeDelta=i,this.lastUpdated=n,r.frame.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>r.frame.postRender(this.velocityCheck),this.velocityCheck=({timestamp:t})=>{t!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=(t=>!isNaN(parseFloat(t)))(this.current),this.owner=e.owner}onChange(t){return this.on("change",t)}on(t,i){this.events[t]||(this.events[t]=new e.SubscriptionManager);let n=this.events[t].add(i);return"change"===t?()=>{n(),r.frame.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=t,this.timeDelta=i}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return n.current&&n.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,i.velocityPerSecond)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}t.s(["collectMotionValues",0,n,"motionValue",0,function(t,e){return new s(t,e)}])},81064,59612,6996,t=>{"use strict";var e=t.i(74780),i=t.i(11783),r=t.i(40617);let n=(t,e)=>i=>!!((0,r.isString)(i)&&r.singleColorRegex.test(i)&&i.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(i,e)),s=(t,e,i)=>n=>{if(!(0,r.isString)(n))return n;let[s,o,a,l]=n.match(r.floatRegex);return{[t]:parseFloat(s),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}};t.s(["isColorString",0,n,"splitColor",0,s],59612);let o={...i.number,transform:t=>Math.round((0,e.clamp)(0,255,t))},a={test:n("rgb","red"),parse:s("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:s=1})=>"rgba("+o.transform(t)+", "+o.transform(e)+", "+o.transform(n)+", "+(0,r.sanitize)(i.alpha.transform(s))+")"};t.s(["rgba",0,a],6996);let l={test:n("#"),parse:function(t){let e="",i="",r="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,r+=r,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(r,16),alph
1a:n?parseInt(n,16)/255:1}},transform:a.transform};t.s(["hex",0,l],81064)},30801,62756,9977,t=>{"use strict";var e=t.i(40617),i=t.i(81064),r=t.i(11783),n=t.i(42308),s=t.i(59612);let o={test:(0,s.isColorString)("hsl","hue"),parse:(0,s.splitColor)("hue","saturation","lightness"),transform:({hue:t,saturation:i,lightness:s,alpha:o=1})=>"hsla("+Math.round(t)+", "+n.percent.transform((0,e.sanitize)(i))+", "+n.percent.transform((0,e.sanitize)(s))+", "+(0,e.sanitize)(r.alpha.transform(o))+")"};var a=t.i(6996);t.s(["color",0,{test:t=>a.rgba.test(t)||i.hex.test(t)||o.test(t),parse:t=>a.rgba.test(t)?a.rgba.parse(t):o.test(t)?o.parse(t):i.hex.parse(t),transform:t=>(0,e.isString)(t)?t:t.hasOwnProperty("red")?a.rgba.transform(t):o.transform(t)}],30801);let l=(t,e,i)=>-i*t+i*e+t;t.s(["mix",0,l],62756);var u=t.i(83164);function h(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}let c=(t,e,i)=>{let r=t*t;return Math.sqrt(Math.max(0,i*(e*e-r)+r))},d=[i.hex,a.rgba,o];function p(t){let e=d.find(e=>e.test(t));(0,u.invariant)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`);let i=e.parse(t);return e===o&&(i=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let n=0,s=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,a=2*i-r;n=h(a,r,t+1/3),s=h(a,r,t),o=h(a,r,t-1/3)}else n=s=o=i;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(i)),i}t.s(["mixColor",0,(t,e)=>{let i=p(t),r=p(e),n={...i};return t=>(n.red=c(i.red,r.red,t),n.green=c(i.green,r.green,t),n.blue=c(i.blue,r.blue,t),n.alpha=l(i.alpha,r.alpha,t),a.rgba.transform(n))}],9977)},11783,74780,t=>{"use strict";let e=(t,e,i)=>Math.min(Math.max(i,t),e);t.s(["clamp",0,e],74780);let i={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},r={...i,transform:t=>e(0,1,t)},n={...i,default:1};t.s(["alpha",0,r,"number",0,i,"scale",0,n],11783)},42308,t=>{"use strict";var e=t.i(40617);let i=t=>({test:i=>(0,e.isString)(i)&&i.endsWith(t)&&1===i.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),r=i("deg"),n=i("%"),s=i("px"),o=i("vh"),a=i("vw"),l={...n,parse:t=>n.parse(t)/100,transform:t=>n.transform(100*t)};t.s(["degrees",0,r,"percent",0,n,"progressPercentage",0,l,"px",0,s,"vh",0,o,"vw",0,a])},40617,t=>{"use strict";t.s(["colorRegex",0,/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,"floatRegex",0,/(-)?([\d]*\.?[\d])+/g,"isString",0,function(t){return"string"==typeof t},"sanitize",0,t=>Math.round(1e5*t)/1e5,"singleColorRegex",0,/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i])},10542,95420,t=>{"use strict";let e,i;var r=t.i(71329),n=t.i(47414),s=t.i(71645),o=t.i(83164);let a=new WeakMap;function l({target:t,contentRect:e,borderBoxSize:i}){var r;null==(r=a.get(t))||r.forEach(r=>{r({target:t,contentSize:e,get size(){return function(t,e){if(e){let{inlineSize:t,blockSize:i}=e[0];return{width:t,height:i}}return t instanceof SVGElement&&"getBBox"in t?t.getBBox():{width:t.offsetWidth,height:t.offsetHeight}}(t,i)}})})}function u(t){t.forEach(l)}let h=new Set;var c=t.i(38700),d=t.i(68935);let p=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),m={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function f(t,e,i,r){let n=i[e],{length:s,position:o}=m[e],a=n.current,l=i.time;n.current=t["scroll"+o],n.scrollLength=t["scroll"+s]-t["client"+s],n.offset.length=0,n.offset[0]=0,n.offset[1]=n.scrollLength,n.progress=(0,c.progress)(0,n.scrollLength,n.current);let u=r-l;n.velocity=u>50?0:(0,d.velocityPerSecond)(n.current-a,u)}let g=[[0,0],[1,1]],v={start:0,center:.5,end:1};function y(t,e,i=0){let r=0;if(void 0!==v[t]&&(t=v[t]),"string"==typeof t){let e=parseFloat(t);t.endsWith("px")?r=e:t.endsWith("%")?t=e/100:t.endsWith("vw")?r=e/100*document.documentElement.clientWidth:t.endsWith("vh")?r=e/100*document.documentElement.clientHeight:t=e}return"number"==typeof t&&(r=e*t),i+r}let x=[0,0];var P=t.i(25711),b=t.i(30040);let V={x:0,y:0};var S=t.i(28327);let T=new WeakMap,w=new WeakMap,A=new WeakMap,C=t=>t===document.documentElement?window:t;
1var M=t.i(74008);function E(t,e){(0,o.warning)(!!(!e||e.current),`You have defined a ${t} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}let k=()=>({scrollX:(0,r.motionValue)(0),scrollY:(0,r.motionValue)(0),scrollXProgress:(0,r.motionValue)(0),scrollYProgress:(0,r.motionValue)(0)});t.s(["useScroll",0,function({container:t,target:r,layoutEffect:o=!0,...l}={}){let c=(0,n.useConstant)(k);return(o?M.useIsomorphicLayoutEffect:s.useEffect)(()=>(E("target",r),E("container",t),function(t,{container:r=document.documentElement,...n}={}){let s=A.get(r);s||(s=new Set,A.set(r,s));let o=function(t,e,i,r={}){return{measure:()=>(function(t,e=t,i){if(i.x.targetOffset=0,i.y.targetOffset=0,e!==t){let r=e;for(;r&&r!==t;)i.x.targetOffset+=r.offsetLeft,i.y.targetOffset+=r.offsetTop,r=r.offsetParent}i.x.targetLength=e===t?e.scrollWidth:e.clientWidth,i.y.targetLength=e===t?e.scrollHeight:e.clientHeight,i.x.containerLength=t.clientWidth,i.y.containerLength=t.clientHeight})(t,r.target,i),update:e=>{f(t,"x",i,e),f(t,"y",i,e),i.time=e,(r.offset||r.target)&&function(t,e,i){let{offset:r=g}=i,{target:n=t,axis:s="y"}=i,o="y"===s?"height":"width",a=n!==t?function(t,e){let i={x:0,y:0},r=t;for(;r&&r!==e;)if(r instanceof HTMLElement)i.x+=r.offsetLeft,i.y+=r.offsetTop,r=r.offsetParent;else if("svg"===r.tagName){let t=r.getBoundingClientRect(),e=(r=r.parentElement).getBoundingClientRect();i.x+=t.left-e.left,i.y+=t.top-e.top}else if(r instanceof SVGGraphicsElement){let{x:t,y:e}=r.getBBox();i.x+=t,i.y+=e;let n=null,s=r.parentNode;for(;!n;)"svg"===s.tagName&&(n=s),s=r.parentNode;r=n}else break;return i}(n,t):V,l=n===t?{width:t.scrollWidth,height:t.scrollHeight}:"getBBox"in n&&"svg"!==n.tagName?n.getBBox():{width:n.clientWidth,height:n.clientHeight},u={width:t.clientWidth,height:t.clientHeight};e[s].offset.length=0;let h=!e[s].interpolate,c=r.length;for(let t=0;t<c;t++){let i=function(t,e,i,r){let n=Array.isArray(t)?t:x,s=0;return"number"==typeof t?n=[t,t]:"string"==typeof t&&(n=(t=t.trim()).includes(" ")?t.split(" "):[t,v[t]?t:"0"]),(s=y(n[0],i,r))-y(n[1],e)}(r[t],u[o],l[o],a[s]);h||i===e[s].interpolatorOffsets[t]||(h=!0),e[s].offset[t]=i}h&&(e[s].interpolate=(0,P.interpolate)(e[s].offset,(0,b.defaultOffset)(r)),e[s].interpolatorOffsets=[...e[s].offset]),e[s].progress=e[s].interpolate(e[s].current)}(t,i,r)},notify:()=>e(i)}}(r,t,{time:0,x:p(),y:p()},n);if(s.add(o),!T.has(r)){var l;let t,n=()=>{for(let t of s)t.measure()},o=()=>{for(let t of s)t.update(S.frameData.timestamp)},c=()=>{for(let t of s)t.notify()},d=()=>{S.frame.read(n,!1,!0),S.frame.update(o,!1,!0),S.frame.update(c,!1,!0)};T.set(r,d);let p=C(r);window.addEventListener("resize",d,{passive:!0}),r!==document.documentElement&&w.set(r,"function"==typeof r?(h.add(r),i||(i=()=>{let t={width:window.innerWidth,height:window.innerHeight},e={target:window,size:t,contentSize:t};h.forEach(t=>t(e))},window.addEventListener("resize",i)),()=>{h.delete(r),!h.size&&i&&(i=void 0)}):(!e&&"u">typeof ResizeObserver&&(e=new ResizeObserver(u)),"string"==typeof(l=r)?l=document.querySelectorAll(l):l instanceof Element&&(l=[l]),(t=Array.from(l||[])).forEach(t=>{let i=a.get(t);i||(i=new Set,a.set(t,i)),i.add(d),null==e||e.observe(t)}),()=>{t.forEach(t=>{let i=a.get(t);null==i||i.delete(d),(null==i?void 0:i.size)||null==e||e.unobserve(t)})})),p.addEventListener("scroll",d,{passive:!0})}let c=T.get(r);return S.frame.read(c,!1,!0),()=>{var t;(0,S.cancelFrame)(c);let e=A.get(r);if(!e||(e.delete(o),e.size))return;let i=T.get(r);T.delete(r),i&&(C(r).removeEventListener("scroll",i),null==(t=w.get(r))||t(),window.removeEventListener("resize",i))}}(({x:t,y:e})=>{c.scrollX.set(t.current),c.scrollXProgress.set(t.progress),c.scrollY.set(e.current),c.scrollYProgress.set(e.progress)},{...l,container:(null==t?void 0:t.current)||void 0,target:(null==r?void 0:r.current)||void 0})),[t,r,JSON.stringify(l.offset)]),c}],10542);var D=t.i(37806);function R(t,e){let i=function(t){let e=(0,n.useConstant)(()=>(0,r.motionValue)(t)),{isStatic:i}=(0,s.useContext)(D.MotionConfigContext);
1if(i){let[,i]=(0,s.useState)(t);(0,s.useEffect)(()=>e.on("change",i),[])}return e}(e()),o=()=>i.set(e());return o(),(0,M.useIsomorphicLayoutEffect)(()=>{let e=()=>S.frame.update(o,!1,!0),i=t.map(t=>t.on("change",e));return()=>{i.forEach(t=>t()),(0,S.cancelFrame)(o)}}),i}function L(t,e){let i=(0,n.useConstant)(()=>[]);return R(t,()=>{i.length=0;let r=t.length;for(let e=0;e<r;e++)i[e]=t[e].get();return e(i)})}t.s(["useTransform",0,function(t,e,i,n){if("function"==typeof t){let e;return r.collectMotionValues.current=[],t(),e=R(r.collectMotionValues.current,t),r.collectMotionValues.current=void 0,e}let s="function"==typeof e?e:function(...t){var e;let i,r=!Array.isArray(t[0]),n=r?0:-1,s=t[0+n],o=t[1+n],a=t[2+n],l=t[3+n],u=(0,P.interpolate)(o,a,{mixer:"object"==typeof(i=e=a[0])&&i.mix?e.mix:void 0,...l});return r?u(s):u}(e,i,n);return Array.isArray(t)?L(t,s):L([t],([t])=>s(t))}],95420)},146,t=>{"use strict";var e=t.i(43476),i=t.i(9867),r=t.i(19056);t.s(["default",0,function({children:t,className:n}){return(0,e.jsx)("div",{className:(0,r.twMerge)("z-20 flex h-[650px] w-full max-w-[930px] flex-col space-y-6",n),children:(0,e.jsx)(i.motion.div,{initial:{opacity:0}
1,whileInView:{opacity:1},transition:{delay:.3},viewport:{once:!0},className:"flex h-full flex-col space-y-6",children:t})})}])}]);

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.