PageSourceSearch

https://orium.com/_next/static/chunks/2-4iwab2s4j8e.js

js orium.com collected 2026-10-03 19:09:35 UTC 139,807 bytes, 9 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,87897,t=>{"use strict";var e,i,r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|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|disableRemotePlayback|download|draggable|encType|enterKeyHint|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|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|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)-.*))$/,s=(e=function(t){return r.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&91>t.charCodeAt(2)},i=Object.create(null),function(t){return void 0===i[t]&&(i[t]=e(t)),i[t]});t.s(["default",0,s],87897)},39016,46628,t=>{"use strict";var e=t.i(91788);let i="u">typeof document;t.s(["isBrowser",0,i],46628);let r=i?e.useLayoutEffect:e.useEffect;t.s(["useIsomorphicLayoutEffect",0,r],39016)},99613,t=>{"use strict";var e=t.i(91788),i=t.i(39016);t.s(["useIsMounted",0,function(){let t=(0,e.useRef)(!1);return(0,i.useIsomorphicLayoutEffect)(()=>(t.current=!0,()=>{t.current=!1}),[]),t}])},92164,t=>{"use strict";t.s(["noop",0,t=>t])},71760,69863,t=>{"use strict";let e={skipAnimations:!1,useManualTiming:!1};t.s(["MotionGlobalConfig",0,e],69863);class i{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 r=["read","resolveKeyframes","update","preRender","render","postRender"];t.s(["createRenderBatcher",0,function(t,s){let n=!1,o=!0,a={delta:0,timestamp:0,isProcessing:!1},l=()=>n=!0,u=r.reduce((t,e)=>{let r,s,n,o,a,u,h;return t[e]=(r=new i,s=new i,n=0,o=!1,a=!1,u=new WeakSet,h={schedule:(t,e=!1,i=!1)=>{let a=i&&o,l=a?r:s;return e&&u.add(t),l.add(t)&&a&&o&&(n=r.order.length),t},cancel:t=>{s.remove(t),u.delete(t)},process:t=>{if(o){a=!0;return}if(o=!0,[r,s]=[s,r],s.clear(),n=r.order.length)for(let e=0;e<n;e++){let i=r.order[e];u.has(i)&&(h.schedule(i),l()),i(t)}o=!1,a&&(a=!1,h.process(t))}}),t},{}),{read:h,resolveKeyframes:c,update:d,preRender:p,render:m,postRender:f}=u,g=()=>{let i=e.useManualTiming?a.timestamp:performance.now();n=!1,a.delta=o?1e3/60:Math.max(Math.min(i-a.timestamp,40),1),a.timestamp=i,a.isProcessing=!0,h.process(a),c.process(a),d.process(a),p.process(a),m.process(a),f.process(a),a.isProcessing=!1,n&&s&&(o=!1,t(g))};return{schedule:r.reduce((e,i)=>{let r=u[i];return e[i]=(e,i=!1,s=!1)=>(!n&&(n=!0,o=!0,a.isProcessing||t(g)),r.schedule(e,i,s)),e},{}),cancel:t=>{for(let e=0;e<r.length;e++)u[r[e]].cancel(t)},state:a,steps:u}}],71760)},73639,t=>{"use strict";var e=t.i(92164);let{schedule:i,cancel:r,state:s,steps:n}=(0,t.i(71760).createRenderBatcher)("u">typeof requestAnimationFrame?requestAnimationFrame:e.noop,!0);t.s(["cancelFrame",0,r,"frame",0,i,"frameData",0,s,"steps",0,n])},10581,t=>{"use strict";var e=t.i(91788),i=t.i(99613),r=t.i(73639);t.s(["useForceUpdate",0,function(){let t=(0,i.useIsMounted)(),[s,n]=(0,e.useState)(0),o=(0,e.useCallback)(()=>{t.current&&n(s+1)},[s]);return[(0,e.useCallback)(()=>r.frame.postRender(o),[o]),s]}])},62946,t=>{"use strict";let e=(0,t.i(91788).createContext)(null);t.s(["PresenceContext",0,e])},57126,t=>{"use strict";var e=t.i(91788);t.s(["useConstant",0,function(t){let i=(0,e.useRef)(null);return null===i.current&&(i.current=t()),i.current}])},12600,t=>{"use strict";let e=(0,t.i(91788).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",0,e])},46588,t=>{"use strict";var e=t.i(91398),i=t.i(91788),r=t.i(62946),s=t.i(57126),n=i,o=t.i(12600);class a extends n.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=this.props.sizeRef.current;t.height=e.offsetHeight||0,t.width=e.offsetWidth||0,t.top=e.offsetTop,t.left=e.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function l({children:t,isPresent:i}){let r=(0,n.useId)(),s=(0,n.useRef)(null),u=(0,n.useRef)({width:0,height:0,top:0,left:0}),{nonce:h}=(0,n.useContext)(o.MotionConfigContext);return(0,n.useInsertionEffect)(()=>{let{width:t,height:e,top:n,left:o}=u.current;if(i||!s.current||!t||!e)return;s.current.dataset.motionPopId=r;let a=document.createElement("style");return h&&(a.nonce=h),document.head.appendChild(a),a.sheet&&a.sheet.insertRule(`
2          [data-motion-pop-id="${r}"] {
3            position: absolute !important;
4            width: ${t}px !important;
5            height: ${e}px !important;
6            top: ${n}px !important;
7            left: ${o}px !important;
8          }
9        `),()=>{document.head.removeChild(a)}},[i]),(0,e.jsx)(a,{isPresent:i,childRef:s,sizeRef:u,children:n.cloneElement(t,{ref:s})})}function u(){return new Map}t.s(["PresenceChild",0,({children:t,initial:n,isPresent:o,onExitComplete:a,custom:h,presenceAffectsLayout:c,mode:d})=>{let p=(0,s.useConstant)(u),m=(0,i.useId)(),f=(0,i.useMemo)(()=>({id:m,initial:n,isPresent:o,custom:h,onExitComplete:t=>
9{for(let e of(p.set(t,!0),p.values()))if(!e)return;a&&a()},register:t=>(p.set(t,!1),()=>p.delete(t))}),c?[Math.random()]:[o]);return(0,i.useMemo)(()=>{p.forEach((t,e)=>p.set(e,!1))},[o]),i.useEffect(()=>{o||p.size||!a||a()},[o]),"popLayout"===d&&(t=(0,e.jsx)(l,{isPresent:o,children:t})),(0,e.jsx)(r.PresenceContext.Provider,{value:f,children:t})}],46588)},11535,t=>{"use strict";let e=(0,t.i(91788).createContext)({});t.s(["LayoutGroupContext",0,e])},16320,t=>{"use strict";var e=t.i(91788);t.s(["useUnmountEffect",0,function(t){return(0,e.useEffect)(()=>()=>t(),[])}])},86312,t=>{"use strict";var e=t.i(92164);let i=e.noop,r=e.noop;t.s(["invariant",0,r,"warning",0,i])},98817,t=>{"use strict";var e=t.i(91398),i=t.i(91788),r=t.i(10581),s=t.i(99613),n=t.i(46588),o=t.i(11535),a=t.i(39016),l=t.i(16320),u=t.i(86312);let h=t=>t.key||"";t.s(["AnimatePresence",0,({children:t,custom:c,initial:d=!0,onExitComplete:p,exitBeforeEnter:m,presenceAffectsLayout:f=!0,mode:g="sync"})=>{let v;(0,u.invariant)(!m,"Replace exitBeforeEnter with mode='wait'");let y=(0,i.useContext)(o.LayoutGroupContext).forceRender||(0,r.useForceUpdate)()[0],x=(0,s.useIsMounted)(),P=(v=[],i.Children.forEach(t,t=>{(0,i.isValidElement)(t)&&v.push(t)}),v),b=P,w=(0,i.useRef)(new Map).current,T=(0,i.useRef)(b),S=(0,i.useRef)(new Map).current,C=(0,i.useRef)(!0);if((0,a.useIsomorphicLayoutEffect)(()=>{C.current=!1,P.forEach(t=>{let e=h(t);S.set(e,t)}),T.current=b}),(0,l.useUnmountEffect)(()=>{C.current=!0,S.clear(),w.clear()}),C.current)return(0,e.jsx)(e.Fragment,{children:b.map(t=>(0,e.jsx)(n.PresenceChild,{isPresent:!0,initial:!!d&&void 0,presenceAffectsLayout:f,mode:g,children:t},h(t)))});b=[...b];let A=T.current.map(h),V=P.map(h),M=A.length;for(let t=0;t<M;t++){let e=A[t];-1!==V.indexOf(e)||w.has(e)||w.set(e,void 0)}return"wait"===g&&w.size&&(b=[]),w.forEach((t,i)=>{if(-1!==V.indexOf(i))return;let r=S.get(i);if(!r)return;let s=A.indexOf(i),o=t;o||(o=(0,e.jsx)(n.PresenceChild,{isPresent:!1,onExitComplete:()=>{w.delete(i);let t=Array.from(S.keys()).filter(t=>!V.includes(t));if(t.forEach(t=>S.delete(t)),T.current=P.filter(e=>{let r=h(e);return r===i||t.includes(r)}),!w.size){if(!1===x.current)return;y(),p&&p()}},custom:c,presenceAffectsLayout:f,mode:g,children:r},h(r)),w.set(i,o)),b.splice(s,0,o)}),b=b.map(t=>{let i=t.key;return w.has(i)?t:(0,e.jsx)(n.PresenceChild,{isPresent:!0,presenceAffectsLayout:f,mode:g,children:t},h(t))}),(0,e.jsx)(e.Fragment,{children:w.size?b:b.map(t=>(0,i.cloneElement)(t))})}])},36209,t=>{"use strict";let e=(0,t.i(91788).createContext)({});t.s(["MotionContext",0,e])},64854,88212,60833,t=>{"use strict";let e=(0,t.i(91788).createContext)({strict:!1});t.s(["LazyContext",0,e],64854);let i=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();t.s(["camelToDash",0,i],88212);let r="data-"+i("framerAppearId");t.s(["optimizedAppearDataAttribute",0,r],60833)},80144,69418,43392,22469,7572,42607,29096,14344,55647,86649,83896,99991,t=>{"use strict";var e=t.i(91788),i=t.i(62946),r=t.i(36209),s=t.i(39016),n=t.i(64854),o=t.i(12600),a=t.i(60833);let{schedule:l,cancel:u}=(0,t.i(71760).createRenderBatcher)(queueMicrotask,!1);function h(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}t.s(["microtask",0,l],69418),t.s(["isRefObject",0,h],43392);let c=(0,e.createContext)({});t.s(["SwitchLayoutGroupContext",0,c],22469);let d=!1;function p(){window.HandoffComplete=!0}function m(t){return"string"==typeof t||Array.isArray(t)}function f(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}t.s(["useVisualElement",0,function(t,u,m,f,g){let{visualElement:v}=(0,e.useContext)(r.MotionContext),y=(0,e.useContext)(n.LazyContext),x=(0,e.useContext)(i.PresenceContext),P=(0,e.useContext)(o.MotionConfigContext).reducedMotion,b=(0,e.useRef)();f=f||y.renderer,!b.current&&f&&(b.current=f(t,{visualState:u,parent:v,props:m,presenceContext:x,blockInitialAnimation:!!x&&!1===x.initial,reducedMotionConfig:P}));let w=b.current,T=(0,e.useContext)(c);w&&!w.projection&&g&&("html"===w.type||"svg"===w.type)&&function(t,e,i,r){let{layoutId:s,layout:n,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:s,layout:n,alwaysMeasureLayout:!!o||a&&h(a),visualElement:t,scheduleRender:()=>t.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}(b.current,m,g,T),(0,e.useInsertionEffect)(()=>{w&&w.update(m,x)});let S=(0,e.useRef)(!!(m[a.optimizedAppearDataAttribute]&&!window.HandoffComplete));return(0,s.useIsomorphicLayoutEffect)(()=>{w&&(w.updateFeatures(),l.render(w.render),S.current&&w.animationState&&w.animationState.animateChanges())}),(0,e.useEffect)(()=>
9{w&&(!S.current&&w.animationState&&w.animationState.animateChanges(),S.current&&(S.current=!1,d||(d=!0,queueMicrotask(p))))}),w}],80144),t.s(["useMotionRef",0,function(t,i,r){return(0,e.useCallback)(e=>{e&&t.mount&&t.mount(e),i&&(e?i.mount(e):i.unmount()),r&&("function"==typeof r?r(e):h(r)&&(r.current=e))},[i])}],7572),t.s(["isVariantLabel",0,m],42607),t.s(["isAnimationControls",0,f],29096);let g=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],v=["initial",...g];function y(t){return f(t.animate)||v.some(e=>m(t[e]))}function x(t){return Array.isArray(t)?t.join(" "):t}t.s(["variantPriorityOrder",0,g,"variantProps",0,v],14344),t.s(["isControllingVariants",0,y,"isVariantNode",0,function(t){return!!(y(t)||t.variants)}],55647),t.s(["useCreateMotionContext",0,function(t){let{initial:i,animate:s}=function(t,e){if(y(t)){let{initial:e,animate:i}=t;return{initial:!1===e||m(e)?e:void 0,animate:m(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,e.useContext)(r.MotionContext));return(0,e.useMemo)(()=>({initial:i,animate:s}),[x(i),x(s)])}],86649);let P={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"]},b={};for(let t in P)b[t]={isEnabled:e=>P[t].some(t=>!!e[t])};t.s(["featureDefinitions",0,b],83896),t.s(["loadFeatures",0,function(t){for(let e in t)b[e]={...b[e],...t[e]}}],99991)},92306,28167,4606,8487,85461,66179,26749,454,18312,25157,60679,47799,1629,28235,33416,89124,45375,38777,48073,84804,6591,9643,10840,72158,t=>{"use strict";t.i(50461);var e,i=t.i(91398),r=t.i(91788),s=t.i(12600),n=t.i(36209),o=t.i(80144),a=t.i(7572),l=t.i(86649),u=t.i(99991),h=t.i(46628),c=t.i(11535),d=t.i(64854);let p=Symbol.for("motionComponentSymbol");var m=t.i(83896);function f({preloadedFeatures:t,createVisualElement:e,useRender:g,useVisualState:v,Component:y}){t&&(0,u.loadFeatures)(t);let x=(0,r.forwardRef)(function(t,u){let p,f={...(0,r.useContext)(s.MotionConfigContext),...t,layoutId:function({layoutId:t}){let e=(0,r.useContext)(c.LayoutGroupContext).id;return e&&void 0!==t?e+"-"+t:t}(t)},{isStatic:x}=f,P=(0,l.useCreateMotionContext)(t),b=v(t,x);if(!x&&h.isBrowser){(0,r.useContext)(d.LazyContext).strict;let t=function(t){let{drag:e,layout:i}=m.featureDefinitions;if(!e&&!i)return{};let r={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(f);p=t.MeasureLayout,P.visualElement=(0,o.useVisualElement)(y,b,f,e,t.ProjectionNode)}return(0,i.jsxs)(n.MotionContext.Provider,{value:P,children:[p&&P.visualElement?(0,i.jsx)(p,{visualElement:P.visualElement,...f}):null,g(y,t,(0,a.useMotionRef)(b,P.visualElement,u),b,x,P.visualElement)]})});return x[p]=y,x}t.s(["createMotionComponent",0,f],92306),t.s(["createMotionProxy",0,function(t){function e(i,r={}){return f(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))})}],28167);let g=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function v(t){if("string"!=typeof t||t.includes("-"));else if(g.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}t.s(["isSVGComponent",0,v],4606);let y={};t.s(["addScaleCorrector",0,function(t){Object.assign(y,t)},"scaleCorrectors",0,y],8487);let x=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],P=new Set(x);function b(t,{layout:e,layoutId:i}){return P.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!y[t]||"opacity"===t)}t.s(["transformPropOrder",0,x,"transformProps",0,P],85461);let w=t=>!!(t&&t.getVelocity);t.s(["isMotionValue",0,w],66179);let T={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},S=x.length,C=t=>e=>"string"==typeof e&&e.startsWith(t),A=C("--"),V=C("var(--"),M=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;t.s(["isCSSVariableName",0,A,"isCSSVariableToken",0,t=>!!V(t)&&M.test(t.split("/*")[0].trim())],26749);let k=(t,e)=>
9e&&"number"==typeof t?e.transform(t):t,E=(t,e,i)=>i>e?e:i<t?t:i;t.s(["clamp",0,E],454);let R={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},D={...R,transform:t=>E(0,1,t)},L={...R,default:1};function j(t){return"string"==typeof t}t.s(["alpha",0,D,"number",0,R,"scale",0,L],18312),t.s(["colorRegex",0,/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,"floatRegex",0,/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,"isNullish",0,function(t){return null==t},"isString",0,j,"sanitize",0,t=>Math.round(1e5*t)/1e5,"singleColorRegex",0,/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu],25157);let F=t=>({test:e=>j(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),O=F("deg"),I=F("%"),B=F("px"),U=F("vh"),$=F("vw"),z={...I,parse:t=>I.parse(t)/100,transform:t=>I.transform(100*t)};t.s(["degrees",0,O,"percent",0,I,"progressPercentage",0,z,"px",0,B,"vh",0,U,"vw",0,$],60679);let N={...R,transform:Math.round},W={borderWidth:B,borderTopWidth:B,borderRightWidth:B,borderBottomWidth:B,borderLeftWidth:B,borderRadius:B,radius:B,borderTopLeftRadius:B,borderTopRightRadius:B,borderBottomRightRadius:B,borderBottomLeftRadius:B,width:B,maxWidth:B,height:B,maxHeight:B,size:B,top:B,right:B,bottom:B,left:B,padding:B,paddingTop:B,paddingRight:B,paddingBottom:B,paddingLeft:B,margin:B,marginTop:B,marginRight:B,marginBottom:B,marginLeft:B,rotate:O,rotateX:O,rotateY:O,rotateZ:O,scale:L,scaleX:L,scaleY:L,scaleZ:L,skew:O,skewX:O,skewY:O,distance:B,translateX:B,translateY:B,translateZ:B,x:B,y:B,z:B,perspective:B,transformPerspective:B,opacity:D,originX:z,originY:z,originZ:B,zIndex:N,backgroundPositionX:B,backgroundPositionY:B,fillOpacity:D,strokeOpacity:D,numOctaves:N};function H(t,e,i){let{style:r,vars:s,transform:n,transformOrigin:o}=t,a=!1,l=!1,u=!0;for(let t in e){let i=e[t];if(A(t)){s[t]=i;continue}let h=W[t],c=k(i,h);if(P.has(t)){if(a=!0,n[t]=c,!u)continue;i!==(h.default||0)&&(u=!1)}else t.startsWith("origin")?(l=!0,o[t]=c):r[t]=c}if(!e.transform&&(a||i?r.transform=function(t,e,i){let r="";for(let e=0;e<S;e++){let i=x[e];if(void 0!==t[i]){let e=T[i]||i;r+=`${e}(${t[i]}) `}}return r=r.trim(),i?r=i(t,e?"":r):e&&(r="none"),r}(t.transform,u,i):r.transform&&(r.transform="none")),l){let{originX:t="50%",originY:e="50%",originZ:i=0}=o;r.transformOrigin=`${t} ${e} ${i}`}}t.s(["numberValueTypes",0,W],47799),t.s(["buildHTMLStyles",0,H],1629);let _=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function G(t,e,i){for(let r in e)w(e[r])||b(r,i)||(t[r]=e[r])}t.s(["createHtmlRenderState",0,_],28235);let q=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function K(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||q.has(t)}let Y=t=>!K(t);try{(e=t.r(87897).default)&&(Y=t=>t.startsWith("on")?!K(t):e(t))}catch(t){}function X(t,e,i){return"string"==typeof t?t:B.transform(e+i*t)}let Z={offset:"stroke-dashoffset",array:"stroke-dasharray"},J={offset:"strokeDashoffset",array:"strokeDasharray"};function Q(t,{attrX:e,attrY:i,attrScale:r,originX:s,originY:n,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},h,c){let d,p;if(H(t,u,c),h){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:m,style:f,dimensions:g}=t;m.transform&&(g&&(f.transform=m.transform),delete m.transform),g&&(void 0!==s||void 0!==n||f.transform)&&(d=X(void 0!==s?s:.5,g.x,g.width),p=X(void 0!==n?n:.5,g.y,g.height),f.transformOrigin=`${d} ${p}`),void 0!==e&&(m.x=e),void 0!==i&&(m.y=i),void 0!==r&&(m.scale=r),void 0!==o&&function(t,e,
9i=1,r=0,s=!0){t.pathLength=1;let n=s?Z:J;t[n.offset]=B.transform(-r);let o=B.transform(e),a=B.transform(i);t[n.array]=`${o} ${a}`}(m,o,a,l,!1)}t.s(["buildSVGAttrs",0,Q],33416);let tt=()=>({..._(),attrs:{}});t.s(["createSvgRenderState",0,tt],89124);let te=t=>"string"==typeof t&&"svg"===t.toLowerCase();t.s(["isSVGTag",0,te],45375),t.s(["createUseRender",0,function(t=!1){return(e,i,s,{latestValues:n},o)=>{let a=(v(e)?function(t,e,i,s){let n=(0,r.useMemo)(()=>{let i=tt();return Q(i,e,te(s),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};G(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e){let i,s,n={},o=(i=t.style||{},G(s={},i,t),Object.assign(s,function({transformTemplate:t},e){return(0,r.useMemo)(()=>{let i=_();return H(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),s);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=o,n})(i,n,o,e),l=function(t,e,i){let r={};for(let s in t)("values"!==s||"object"!=typeof t.values)&&(Y(s)||!0===i&&K(s)||!e&&!K(s)||t.draggable&&s.startsWith("onDrag"))&&(r[s]=t[s]);return r}(i,"string"==typeof e,t),u=e!==r.Fragment?{...l,...a,ref:s}:{},{children:h}=i,c=(0,r.useMemo)(()=>w(h)?h.get():h,[h]);return(0,r.createElement)(e,{...u,children:c})}}],38777);var ti=t.i(88212);function tr(t,{style:e,vars:i},r,s){for(let n in Object.assign(t.style,e,s&&s.getProjectionStyles(r)),i)t.style.setProperty(n,i[n])}t.s(["renderHTML",0,tr],48073);let ts=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 tn(t,e,i){var r;let{style:s}=t,n={};for(let o in s)(w(s[o])||e.style&&w(e.style[o])||b(o,t)||(null==(r=null==i?void 0:i.getValue(o))?void 0:r.liveStyle)!==void 0)&&(n[o]=s[o]);return i&&s&&"string"==typeof s.willChange&&(i.applyWillChange=!1),n}function to(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}t.s(["camelCaseAttributes",0,ts],84804),t.s(["renderSVG",0,function(t,e,i,r){for(let i in tr(t,e,void 0,r),e.attrs)t.setAttribute(ts.has(i)?i:(0,ti.camelToDash)(i),e.attrs[i])}],6591),t.s(["scrapeMotionValuesFromProps",0,tn],9643),t.s(["scrapeMotionValuesFromProps",0,function(t,e,i){let r=tn(t,e,i);for(let i in t)(w(t[i])||w(e[i]))&&(r[-1!==x.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return r}],10840),t.s(["resolveVariantFromProps",0,function(t,e,i,r){if("function"==typeof e){let[s,n]=to(r);e=e(void 0!==i?i:t.custom,s,n)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,n]=to(r);e=e(void 0!==i?i:t.custom,s,n)}return e}],72158)},25179,93967,34167,24416,50806,29048,53643,t=>{"use strict";var e=t.i(91788),i=t.i(29096),r=t.i(62946),s=t.i(72158),n=t.i(57126);let o=t=>Array.isArray(t);t.s(["isKeyframesTarget",0,o],93967);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],34167);var l=t.i(66179);function u(t){let e=(0,l.isMotionValue)(t)?t.get():t;return a(e)?e.toValue():e}t.s(["resolveMotionValue",0,u],24416);var h=t.i(36209),c=t.i(55647);let d=new Set(["opacity","clipPath","filter","transform"]);t.s(["acceleratedValues",0,d],50806);var p=t.i(88212),m=t.i(85461);function f(t){return m.transformProps.has(t)?"transform":d.has(t)||"backgroundColor"===t?(0,p.camelToDash)(t):void 0}function g(t,e){-1===t.indexOf(e)&&t.push(e)}function v(t,e){let i=f(e);i&&g(t,i)}function y(t,e,i){let r=Array.isArray(e)?e:[e];for(let e=0;e<r.length;e++){let n=(0,s.resolveVariantFromProps)(t,r[e]);if(n){let{transitionEnd:t,transition:e,...r}=n;i(r,t)}}}t.s(["getWillChangeName",0,f],29048),t.s(["addUniqueItem",0,g,"removeItem",0,function(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}],53643),t.s(["makeUseVisualState",0,t=>(s,o)=>{let a=(0,e.useContext)(h.MotionContext),l=(0,e.useContext)(r.PresenceContext),d=()=>(function({applyWillChange:t=!1,scrapeMotionValuesFromProps:e,createRenderState:r,onMount:s},n,o,a,l){let h={latestValues:function(t,e,r,s,n){var o;let a={},l=[],h=s&&(null==(o=t.style)?void 0:o.willChange)===void 0,d=n(t,{});for(let t in d)a[t]=u(d[t]),h&&v(l,t);let{initial:p,animate:m}=t,f=(0,c.isControllingVariants)(t),g=(0,c.isVariantNode)(t);e&&g&&!f&&!1!==t.inherit&&(void 0===p&&(p=e.initial),void 0===m&&(m=e.animate));let x=!!r&&!1===r.initial,P=(x=x||!1===p)?m:p;return P&&"boolean"!=typeof P&&!(0,i.isAnimationControls)(P)&&y(t,P,(t,e)=>{for(let e in t){let i=t[e];if(Array.isArray(i)){let t=x?i.length-1:0;i=i[t]}null!==i&&(a[e]=i)}for(let t in e)a[t]=e[t]}),h&&(m&&!1!==p&&!(0,i.isAnimationControls)(m)&&y(t,m,t=>{for(let e in t)v(l,e)}),l.length&&(a.willChange=l.join(","))),a}(n,o,a,!l&&t,e),renderState:r()};
9return s&&(h.mount=t=>s(n,t,h)),h})(t,s,a,l,o);return o?d():(0,n.useConstant)(d)}],25179)},51293,71800,62415,26470,73138,38775,22459,96327,96643,44426,75913,34432,12215,37526,24338,50513,25372,7799,47519,t=>{"use strict";let e;var i=t.i(4606),r=t.i(38777),s=t.i(6591),n=t.i(10840),o=t.i(25179),a=t.i(89124),l=t.i(33416),u=t.i(45375),h=t.i(73639);let c={useVisualState:(0,o.makeUseVisualState)({scrapeMotionValuesFromProps:n.scrapeMotionValuesFromProps,createRenderState:a.createSvgRenderState,onMount:(t,e,{renderState:i,latestValues:r})=>{h.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}}}),h.frame.render(()=>{(0,l.buildSVGAttrs)(i,r,(0,u.isSVGTag)(e.tagName),t.transformTemplate),(0,s.renderSVG)(e,i)})}})};var d=t.i(9643),p=t.i(28235);let m={useVisualState:(0,o.makeUseVisualState)({applyWillChange:!0,scrapeMotionValuesFromProps:d.scrapeMotionValuesFromProps,createRenderState:p.createHtmlRenderState})};function f(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i)}t.s(["createDomMotionConfig",0,function(t,{forwardMotionProps:e=!1},s,n){return{...(0,i.isSVGComponent)(t)?c:m,preloadedFeatures:s,useRender:(0,r.createUseRender)(e),createVisualElement:n,Component:t}}],51293),t.s(["addDomEvent",0,f],71800);let g=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function v(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}t.s(["isPrimaryPointer",0,g],62415);let y=t=>e=>g(e)&&t(e,v(e));function x(t,e,i,r){return f(t,e,y(i),r)}t.s(["addPointerInfo",0,y,"extractEventInfo",0,v],26470),t.s(["addPointerEvent",0,x],73138);let P=(t,e)=>i=>e(t(i)),b=(...t)=>t.reduce(P);function w(t){let e=null;return()=>null===e&&(e=t,()=>{e=null})}t.s(["pipe",0,b],38775);let T=w("dragHorizontal"),S=w("dragVertical");function C(t){let e=!1;if("y"===t)e=S();else if("x"===t)e=T();else{let t=T(),i=S();t&&i?e=()=>{t(),i()}:(t&&t(),i&&i())}return e}function A(){let t=C(!0);return!t||(t(),!1)}t.s(["getGlobalLock",0,C,"isDragActive",0,A],22459);class V{constructor(t){this.isMounted=!1,this.node=t}update(){}}function M(t,e){let i=e?"onHoverStart":"onHoverEnd";return x(t.current,e?"pointerenter":"pointerleave",(r,s)=>{if("touch"===r.pointerType||A())return;let n=t.getProps();t.animationState&&n.whileHover&&t.animationState.setActive("whileHover",e);let o=n[i];o&&h.frame.postRender(()=>o(r,s))},{passive:!t.getProps()[i]})}t.s(["Feature",0,V],96327);let k=(t,e)=>!!e&&(t===e||k(t,e.parentElement));var E=t.i(92164);function R(t,e){if(!e)return;let i=new PointerEvent("pointer"+t);e(i,v(i))}let D=new WeakMap,L=new WeakMap,j=t=>{let e=D.get(t.target);e&&e(t)},F=t=>{t.forEach(j)},O={some:0,all:1};t.s(["gestureAnimations",0,{inView:{Feature:class extends V{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:s,amount:n="some",once:o}=i,a={root:r?r.current:void 0,rootMargin:s,threshold:"number"==typeof n?n:O[n]},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(),s=e?i:r;s&&s(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;L.has(i)||L.set(i,{});let r=L.get(i),s=JSON.stringify(e);return r[s]||(r[s]=new IntersectionObserver(F,{root:t,...e})),r[s]}(a),D.set(t,l),e.observe(t),()=>{D.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 V{constructor(){super(...arguments),this.removeStartListeners=E.noop,this.removeEndListeners=E.noop,this.removeAccessibleListeners=E.noop,this.startPointerPress=(t,e)=>{if(this.isPressing)return;this.removeEndListeners();let i=this.node.getProps(),r=x(window,"pointerup",(t,e)=>{if(!this.checkPressEnd())return;let{onTap:i,onTapCancel:r,globalTapTarget:s}=this.node.getProps(),n=s||k(this.node.current,t.target)?i:r;n&&h.frame.update(()=>n(t,e))},{passive:!(i.onTap||i.onPointerUp)}),s=x(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=b(r,s),this.startPress(t,e)},this.startAccessiblePress=()=>{let t=t=>{if("Enter"!==t.key||this.isPressing)return;let e=t=>{"Enter"===t.key&&this.checkPressEnd()&&R("up",(t,e)=>{let{onTap:i}=this.node.getProps();i&&h.frame.postRender(()=>i(t,e))})};this.removeEndListeners(),this.removeEndListeners=f(this.node.current,"keyup",e),R("down",(t,e)=>{this.startPress(t,e)})},e=f(this.node.current,"keydown",t),i=()=>{this.isPressing&&R("cancel",(t,e)=>this.cancelPress(t,e))},r=f(this.node.current,"blur",i);this.removeAccessibleListeners=b(e,r)}}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&&h.frame.postRender(()=>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&&h.frame.postRender(()=>i(t,e))}mount(){let t=this.node.getProps(),e=x(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),i=f(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=b(e,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends V{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=b(f(this.node.current,"focus",()=>this.onFocus()),f(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends V{mount(){this.unmount=b(M(this.node,!0),M(this.node,!1))}unmount(){}}}}],96643),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}],44426);
9var I=t.i(72158);t.s(["resolveVariant",0,function(t,e,i){let r=t.getProps();return(0,I.resolveVariantFromProps)(r,e,void 0!==i?i:r.custom,t)}],75913),t.s(["millisecondsToSeconds",0,t=>t/1e3,"secondsToMilliseconds",0,t=>1e3*t],34432);var B=t.i(85461);let U={type:"spring",stiffness:500,damping:25,restSpeed:10},$={type:"keyframes",duration:.8},z={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};t.s(["getDefaultTransition",0,(t,{keyframes:e})=>e.length>2?$:B.transformProps.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:U:z],12215),t.s(["getValueTransition",0,function(t,e){return t[e]||t.default||t},"isTransitionDefined",0,function({when:t,delay:e,delayChildren:i,staggerChildren:r,staggerDirection:s,repeat:n,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}],37526),t.s(["instantAnimationState",0,{current:!1}],24338);let N=t=>null!==t;t.s(["getFinalKeyframe",0,function(t,{repeat:e,repeatType:i="loop"},r){let s=t.filter(N),n=e&&"loop"!==i&&e%2==1?0:s.length-1;return n&&void 0!==r?r:s[n]}],50513);var W=t.i(69863);function H(){e=void 0}let _={now:()=>(void 0===e&&_.set(h.frameData.isProcessing||W.MotionGlobalConfig.useManualTiming?h.frameData.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(H)}};t.s(["time",0,_],25372);let G=t=>/^0[^.\s]+$/u.test(t);t.s(["isZeroValueString",0,G],7799),t.s(["isNone",0,function(t){return"number"==typeof t?0===t:null===t||"none"===t||"0"===t||G(t)}],47519)},11829,36885,38453,48834,71408,68429,t=>{"use strict";let e;t.i(92306);var i=t.i(28167),r=t.i(51293),s=t.i(96643),n=t.i(29096),o=t.i(93967),a=t.i(44426),l=t.i(42607),u=t.i(75913),h=t.i(14344),c=t.i(85461),d=t.i(34432),p=t.i(12215),m=t.i(37526),f=t.i(69863),g=t.i(24338),v=t.i(50513),y=t.i(73639),x=t.i(25372),P=t.i(47519),b=t.i(86312),w=t.i(26749);let T=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var S=t.i(18312),C=t.i(60679);let A=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),V=t=>t===S.number||t===C.px,M=(t,e)=>parseFloat(t.split(", ")[e]),k=(t,e)=>(i,{transform:r})=>{if("none"===r||!r)return 0;let s=r.match(/^matrix3d\((.+)\)$/u);if(s)return M(s[1],e);{let e=r.match(/^matrix\((.+)\)$/u);return e?M(e[1],t):0}},E=new Set(["x","y","z"]),R=c.transformPropOrder.filter(t=>!E.has(t)),D={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:k(4,13),y:k(5,14)};D.translateX=D.x,D.translateY=D.y;let L=t=>e=>e.test(t),j=[S.number,C.px,C.percent,C.degrees,C.vw,C.vh,{test:t=>"auto"===t,parse:t=>t}],F=t=>j.find(L(t)),O=new Set,I=!1,B=!1;function U(){if(B){let t=Array.from(O).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,r=(e=[],R.forEach(i=>{let r=t.getValue(i);void 0!==r&&(e.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),e);r.length&&(i.set(t,r),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{var r;null==(r=t.getValue(e))||r.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}B=!1,I=!1,O.forEach(t=>t.complete()),O.clear()}function $(){O.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(B=!0)})}class z{constructor(t,e,i,r,s,n=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=r,this.element=s,this.isAsync=n}scheduleResolve(){this.isScheduled=!0,this.isAsync?(O.add(this),I||(I=!0,y.frame.read($),y.frame.resolveKeyframes(U))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:r}=this;for(let s=0;s<t.length;s++)if(null===t[s])if(0===s){let s=null==r?void 0:r.get(),n=t[t.length-1];if(void 0!==s)t[0]=s;else if(i&&e){let r=i.readValue(e,n);null!=r&&(t[0]=r)}void 0===t[0]&&(t[0]=n),r&&void 0===s&&r.set(t[0])}else t[s]=t[s-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),O.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,O.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}var N=t.i(25157),W=t.i(454);let H=(t,e)=>i=>!!((0,N.isString)(i)&&N.singleColorRegex.test(i)&&i.startsWith(t)||e&&!(0,N.isNullish)(i)&&Object.prototype.hasOwnProperty.call(i,e)),_=(t,e,i)=>r=>{if(!(0,N.isString)(r))return r;let[s,n,o,a]=r.match(N.floatRegex);return{[t]:parseFloat(s),[e]:parseFloat(n),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},G={...S.number,transform:t=>Math.round((0,W.clamp)(0,255,t))},q={test:H("rgb","red"),parse:_("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:r=1})=>"rgba("+G.transform(t)+", "+G.transform(e)+", "+G.transform(i)+", "+(0,N.sanitize)(S.alpha.transform(r))+")"},K={test:H("#"),parse:function(t){let e="",i="",r="",s="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),s=t.substring(4,5),e+=e,i+=i,r+=r,s+=s),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(r,16),alph
9a:s?parseInt(s,16)/255:1}},transform:q.transform},Y={test:H("hsl","hue"),parse:_("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:r=1})=>"hsla("+Math.round(t)+", "+C.percent.transform((0,N.sanitize)(e))+", "+C.percent.transform((0,N.sanitize)(i))+", "+(0,N.sanitize)(S.alpha.transform(r))+")"},X={test:t=>q.test(t)||K.test(t)||Y.test(t),parse:t=>q.test(t)?q.parse(t):Y.test(t)?Y.parse(t):K.parse(t),transform:t=>(0,N.isString)(t)?t:t.hasOwnProperty("red")?q.transform(t):Y.transform(t)},Z="number",J="color",Q=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function tt(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},s=[],n=0,o=e.replace(Q,t=>(X.test(t)?(r.color.push(n),s.push(J),i.push(X.parse(t))):t.startsWith("var(")?(r.var.push(n),s.push("var"),i.push(t)):(r.number.push(n),s.push(Z),i.push(parseFloat(t))),++n,"${}")).split("${}");return{values:i,split:o,indexes:r,types:s}}function te(t){return tt(t).values}function ti(t){let{split:e,types:i}=tt(t),r=e.length;return t=>{let s="";for(let n=0;n<r;n++)if(s+=e[n],void 0!==t[n]){let e=i[n];e===Z?s+=(0,N.sanitize)(t[n]):e===J?s+=X.transform(t[n]):s+=t[n]}return s}}let tr=t=>"number"==typeof t?0:t,ts={test:function(t){var e,i;return isNaN(t)&&(0,N.isString)(t)&&((null==(e=t.match(N.floatRegex))?void 0:e.length)||0)+((null==(i=t.match(N.colorRegex))?void 0:i.length)||0)>0},parse:te,createTransformer:ti,getAnimatableNone:function(t){let e=te(t);return ti(t)(e.map(tr))}},tn=new Set(["brightness","contrast","saturate","opacity"]);function to(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(N.floatRegex)||[];if(!r)return t;let s=i.replace(r,""),n=+!!tn.has(e);return r!==i&&(n*=100),e+"("+n+s+")"}let ta=/\b([a-z-]*)\(.*?\)/gu,tl={...ts,getAnimatableNone:t=>{let e=t.match(ta);return e?e.map(to).join(" "):t}},tu={...t.i(47799).numberValueTypes,color:X,backgroundColor:X,outlineColor:X,fill:X,stroke:X,borderColor:X,borderTopColor:X,borderRightColor:X,borderBottomColor:X,borderLeftColor:X,filter:tl,WebkitFilter:tl},th=t=>tu[t];function tc(t,e){let i=th(t);return i!==tl&&(i=ts),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let td=new Set(["auto","none","0"]);class tp extends z{constructor(t,e,i,r){super(t,e,i,r,null==r?void 0:r.owner,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let r=t[i];if("string"==typeof r&&(r=r.trim(),(0,w.isCSSVariableToken)(r))){let s=function t(e,i,r=1){(0,b.invariant)(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[s,n]=function(t){let e=T.exec(t);if(!e)return[,];let[,i,r,s]=e;return[`--${null!=i?i:r}`,s]}(e);if(!s)return;let o=window.getComputedStyle(i).getPropertyValue(s);if(o){let t=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return(0,w.isCSSVariableToken)(n)?t(n,i,r+1):n}(r,e.current);void 0!==s&&(t[i]=s),i===t.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!A.has(i)||2!==t.length)return;let[r,s]=t,n=F(r),o=F(s);if(n!==o)if(V(n)&&V(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(0,P.isNone)(t[e])&&i.push(e);i.length&&function(t,e,i){let r,s=0;for(;s<t.length&&!r;){let e=t[s];"string"==typeof e&&!td.has(e)&&tt(e).values.length&&(r=t[s]),s++}if(r&&i)for(let s of e)t[s]=tc(i,r)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=D[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let r=e[e.length-1];void 0!==r&&t.getValue(i,r).jump(r,!1)}measureEndState(){var t;let{element:e,name:i,unresolvedKeyframes:r}=this;if(!e.current)return;let s=e.getValue(i);s&&s.jump(this.measuredOrigin,!1);let n=r.length-1,o=r[n];r[n]=D[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null==(t=this.removedTransforms)?void 0:t.length)&&this.removedTransforms.forEac
9h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}function tm(t){let e;return()=>(void 0===e&&(e=t()),e)}var tf=t.i(92164);let tg=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(ts.test(t)||"0"===t)&&!t.startsWith("url("));class tv{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:n="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:s,repeatType:n,...o},this.updateFinishedPromise()}get resolved(){return this._resolved||this.hasAttemptedResolve||($(),U()),this._resolved}onKeyframesResolved(t,e){this.hasAttemptedResolve=!0;let{name:i,type:r,velocity:s,delay:n,onComplete:o,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(t,e,i,r){let s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;let n=t[t.length-1],o=tg(s,e),a=tg(n,e);return(0,b.warning)(o===a,`You are trying to animate ${e} from "${s}" to "${n}". ${s} is not an animatable value - to enable this animation set ${s} to a value animatable to ${n} via the \`style\` property.`),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||"spring"===i&&r)}(t,i,r,s))if(g.instantAnimationState.current||!n){null==a||a((0,v.getFinalKeyframe)(t,this.options,e)),null==o||o(),this.resolveFinishedPromise();return}else this.options.duration=0;let u=this.initPlayback(t,e);!1!==u&&(this._resolved={keyframes:t,finalKeyframe:e,...u},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}function ty(t,e){return e?1e3/e*t:0}function tx(t,e,i){let r=Math.max(e-5,0);return ty(i-t(r),e-r)}function tP(t,e){return t*Math.sqrt(1-e*e)}t.i(50461),t.s(["velocityPerSecond",0,ty],36885);let tb=["duration","bounce"],tw=["stiffness","damping","mass"];function tT(t,e){return e.some(e=>void 0!==t[e])}function tS({keyframes:t,restDelta:e,restSpeed:i,...r}){let s,n=t[0],o=t[t.length-1],a={done:!1,value:n},{stiffness:l,damping:u,mass:h,duration:c,velocity:p,isResolvedFromDuration:m}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!tT(t,tw)&&tT(t,tb)){let i=function({duration:t=800,bounce:e=.25,velocity:i=0,mass:r=1}){let s,n;(0,b.warning)(t<=(0,d.secondsToMilliseconds)(10),"Spring duration must be 10 seconds or less");let o=1-e;o=(0,W.clamp)(.05,1,o),t=(0,W.clamp)(.01,10,(0,d.millisecondsToSeconds)(t)),o<1?(s=e=>{let r=e*o,s=r*t;return .001-(r-i)/tP(e,o)*Math.exp(-s)},n=e=>{let r=e*o*t,n=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-r),l=tP(Math.pow(e,2),o);return(r*i+i-n)*a*(-s(e)+.001>0?-1:1)/l}):(s=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),n=e=>t*t*(i-e)*Math.exp(-e*t));let a=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(s,n,5/t);if(t=(0,d.secondsToMilliseconds)(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(a,2)*r;return{stiffness:e,damping:2*o*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...r,velocity:-(0,d.millisecondsToSeconds)(r.velocity||0)}),f=p||0,g=u/(2*Math.sqrt(l*h)),v=o-n,y=(0,d.millisecondsToSeconds)(Math.sqrt(l/h)),x=5>Math.abs(v);if(i||(i=x?.01:2),e||(e=x?.005:.5),g<1){let t=tP(y,g);s=e=>o-Math.exp(-g*y*e)*((f+g*y*v)/t*Math.sin(t*e)+v*Math.cos(t*e))}else if(1===g)s=t=>o-Math.exp(-y*t)*(v+(f+y*v)*t);else{let t=y*Math.sqrt(g*g-1);s=e=>{let i=Math.exp(-g*y*e),r=Math.min(t*e,300);return o-i*((f+g*y*v)*Math.sinh(r)+t*v*Math.cosh(r))/t}}return{calculatedDuration:m&&c||null,next:t=>{let r=s(t);if(m)a.done=t>=c;else{let n=f;0!==t&&(n=g<1?tx(s,t,r):0);let l=Math.abs(o-r)<=e;a.done=Math.abs(n)<=i&&l}return a.value=a.done?o:r,a}}}function tC({keyframes:t,velocity:e=0,power:i=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:n=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d,p=t[0],m={done:!1,value:p},f=i*e,g=p+f,v=void 0===o?g:o(g);v!==g&&(f=v-p);let y=t=>-f*Math.exp(-t/r),x=t=>v+y(t),P=t=>{let e=y(t),i=x(t);m.done=Math.abs(e)<=u,m.value=m.done?v:i},b=t=>{let e;if(e=m.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;c=t,d=tS({keyframes:[m.value,(i=m.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:tx(x,t,m.value),damping:s,stiffness:n,restDelta:u,restSpeed:h})}};return b(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,P(t),b(t)),void 0!==c&&t>=c)?d.next(t-c):(e||P(t),m)}}}let tA=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function tV(t,e,i,r){return t===e&&i===r?tf.noop:s=>
90===s||1===s?s:tA(function(t,e,i,r,s){let n,o,a=0;do(n=tA(o=e+(i-e)/2,r,s)-t)>0?i=o:e=o;while(Math.abs(n)>1e-7&&++a<12)return o}(s,0,1,t,i),e,r)}let tM=tV(.42,0,1,1),tk=tV(0,0,.58,1),tE=tV(.42,0,.58,1),tR=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,tD=t=>e=>1-t(1-e),tL=t=>1-Math.sin(Math.acos(t)),tj=tD(tL),tF=tR(tL),tO=tV(.33,1.53,.69,.99),tI=tD(tO),tB=tR(tI),tU={linear:tf.noop,easeIn:tM,easeInOut:tE,easeOut:tk,circIn:tL,circInOut:tF,circOut:tj,backIn:tI,backInOut:tB,backOut:tO,anticipate:t=>(t*=2)<1?.5*tI(t):.5*(2-Math.pow(2,-10*(t-1)))},t$=t=>{if(Array.isArray(t)){(0,b.invariant)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,r,s]=t;return tV(e,i,r,s)}return"string"==typeof t?((0,b.invariant)(void 0!==tU[t],`Invalid easing type '${t}'`),tU[t]):t};var tz=t.i(38775);let tN=(t,e,i)=>{let r=e-t;return 0===r?1:(i-t)/r};t.s(["progress",0,tN],38453);let tW=(t,e,i)=>t+(e-t)*i;function tH(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}function t_(t,e){return i=>i>0?e:t}let tG=(t,e,i)=>{let r=t*t,s=i*(e*e-r)+r;return s<0?0:Math.sqrt(s)},tq=[K,q,Y];function tK(t){let e=tq.find(e=>e.test(t));if((0,b.warning)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===Y&&(i=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let s=0,n=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,a=2*i-r;s=tH(a,r,t+1/3),n=tH(a,r,t),o=tH(a,r,t-1/3)}else s=n=o=i;return{red:Math.round(255*s),green:Math.round(255*n),blue:Math.round(255*o),alpha:r}}(i)),i}let tY=(t,e)=>{let i=tK(t),r=tK(e);if(!i||!r)return t_(t,e);let s={...i};return t=>(s.red=tG(i.red,r.red,t),s.green=tG(i.green,r.green,t),s.blue=tG(i.blue,r.blue,t),s.alpha=tW(i.alpha,r.alpha,t),q.transform(s))},tX=new Set(["none","hidden"]);function tZ(t,e){return i=>tW(t,e,i)}function tJ(t){return"number"==typeof t?tZ:"string"==typeof t?(0,w.isCSSVariableToken)(t)?t_:X.test(t)?tY:t1:Array.isArray(t)?tQ:"object"==typeof t?X.test(t)?tY:t0:t_}function tQ(t,e){let i=[...t],r=i.length,s=t.map((t,i)=>tJ(t)(t,e[i]));return t=>{for(let e=0;e<r;e++)i[e]=s[e](t);return i}}function t0(t,e){let i={...t,...e},r={};for(let s in i)void 0!==t[s]&&void 0!==e[s]&&(r[s]=tJ(t[s])(t[s],e[s]));return t=>{for(let e in r)i[e]=r[e](t);return i}}let t1=(t,e)=>{let i=ts.createTransformer(e),r=tt(t),s=tt(e);if(!(r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length))return(0,b.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.`),t_(t,e);if(tX.has(t)&&!s.values.length||tX.has(e)&&!r.values.length)return tX.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return(0,tz.pipe)(tQ(function(t,e){var i;let r=[],s={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let o=e.types[n],a=t.indexes[o][s[o]],l=null!=(i=t.values[a])?i:0;r[n]=l,s[o]++}return r}(r,s),s.values),i)};function t2(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?tW(t,e,i):tJ(t)(t,e)}function t3(t,e,{clamp:i=!0,ease:r,mixer:s}={}){let n=t.length;if((0,b.invariant)(n===e.length,"Both input and output ranges must be the same length"),1===n)return()=>e[0];if(2===n&&t[0]===t[1])return()=>e[1];t[0]>t[n-1]&&(t=[...t].reverse(),e=[...e].reverse());let o=function(t,e,i){let r=[],s=i||t2,n=t.length-1;for(let i=0;i<n;i++){let n=s(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||tf.noop:e;n=(0,tz.pipe)(t,n)}r.push(n)}return r}(e,r,s),a=o.length,l=e=>{let i=0;if(a>1)for(;i<t.length-2&&!(e<t[i+1]);i++);let r=tN(t[i],t[i+1],e);return o[i](r)};return i?e=>l((0,W.clamp)(t[0],t[n-1],e)):l}function t9(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let s=tN(0,e,r);t.push(tW(i,1,s))}}(e,t.length-1),e}function t6({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){var s;let n=Array.isArray(r)&&"number"!=typeof r[0]?r.map(t$):t$(r),o={done:!1,value:e[0]}
9,a=t3((s=i&&i.length===e.length?i:t9(e),s.map(e=>e*t)),e,{ease:Array.isArray(n)?n:e.map(()=>n||tE).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}t.s(["interpolate",0,t3],48834),t.s(["defaultOffset",0,t9],71408);let t5=t=>{let e=({timestamp:e})=>t(e);return{start:()=>y.frame.update(e,!0),stop:()=>(0,y.cancelFrame)(e),now:()=>y.frameData.isProcessing?y.frameData.timestamp:x.time.now()}},t4={decay:tC,inertia:tC,tween:t6,keyframes:t6,spring:tS},t8=t=>t/100;class t7 extends tv{constructor({KeyframeResolver:t=z,...e}){super(e),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};const{name:i,motionValue:r,keyframes:s}=this.options,n=(t,e)=>this.onKeyframesResolved(t,e);i&&r&&r.owner?this.resolver=r.owner.resolveKeyframes(s,n,i,r):this.resolver=new t(s,n,i,r),this.resolver.scheduleResolve()}initPlayback(t){let e,i,{type:r="keyframes",repeat:s=0,repeatDelay:n=0,repeatType:o,velocity:a=0}=this.options,l=t4[r]||t6;l!==t6&&"number"!=typeof t[0]&&(e=(0,tz.pipe)(t8,t2(t[0],t[1])),t=[0,100]);let u=l({...this.options,keyframes:t});"mirror"===o&&(i=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=function(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}(u));let{calculatedDuration:h}=u,c=h+n;return{generator:u,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:h,resolvedDuration:c,totalDuration:c*(s+1)-n}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:r,generator:s,mirroredGenerator:n,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:h}=i;if(null===this.startTime)return s.next(0);let{delay:c,repeat:d,repeatType:p,repeatDelay:m,onUpdate:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let g=this.currentTime-c*(this.speed>=0?1:-1),y=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let x=this.currentTime,P=s;if(d){let t=Math.min(this.currentTime,u)/h,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===p?(i=1-i,m&&(i-=m/h)):"mirror"===p&&(P=n)),x=(0,W.clamp)(0,1,i)*h}let b=y?{done:!1,value:a[0]}:P.next(x);o&&(b.value=o(b.value));let{done:w}=b;y||null===l||(w=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return T&&void 0!==r&&(b.value=(0,v.getFinalKeyframe)(a,this.options,r)),f&&f(b.value),T&&this.finish(),b}get duration(){let{resolved:t}=this;return t?(0,d.millisecondsToSeconds)(t.calculatedDuration):0}get time(){return(0,d.millisecondsToSeconds)(this.currentTime)}set time(t){t=(0,d.secondsToMilliseconds)(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,d.millisecondsToSeconds)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=t5,onPlay:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let i=this.driver.now();null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime&&"finished"!==this.state||(this.startTime=i),"finished"===this.state&&this.updateFinishedProm
9ise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!=(t=this.currentTime)?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}var et=t.i(50806);let ee=t=>Array.isArray(t)&&"number"==typeof t[0],ei=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,er={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ei([0,.65,.55,1]),circOut:ei([.55,0,1,.45]),backIn:ei([.31,.01,.66,-.59]),backOut:ei([.33,1.53,.69,.99])};function es(t){return en(t)||er.easeOut}function en(t){if(t)return ee(t)?ei(t):Array.isArray(t)?t.map(es):er[t]}let eo=tm(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class ea extends tv{constructor(t){super(t);const{name:e,motionValue:i,keyframes:r}=this.options;this.resolver=new tp(r,(t,e)=>this.onKeyframesResolved(t,e),e,i),this.resolver.scheduleResolve()}initPlayback(t,e){var i,r;let{duration:s=300,times:n,ease:o,type:a,motionValue:l,name:u}=this.options;if(!(null==(i=l.owner)?void 0:i.current))return!1;if("spring"===(r=this.options).type||"backgroundColor"===r.name||!function t(e){return!!(!e||"string"==typeof e&&e in er||ee(e)||Array.isArray(e)&&e.every(t))}(r.ease)){let{onComplete:e,onUpdate:i,motionValue:r,...l}=this.options,u=function(t,e){let i=new t7({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:t[0]},s=[],n=0;for(;!r.done&&n<2e4;)s.push((r=i.sample(n)).value),n+=10;return{times:void 0,keyframes:s,duration:n-10,ease:"linear"}}(t,l);1===(t=u.keyframes).length&&(t[1]=t[0]),s=u.duration,n=u.times,o=u.ease,a="keyframes"}let h=function(t,e,i,{delay:r=0,duration:s=300,repeat:n=0,repeatType:o="loop",ease:a,times:l}={}){let u={[e]:i};l&&(u.offset=l);let h=en(a);return Array.isArray(h)&&(u.easing=h),t.animate(u,{delay:r,duration:s,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:n+1,direction:"reverse"===o?"alternate":"normal"})}(l.owner.current,u,t,{...this.options,duration:s,times:n,ease:o});return h.startTime=x.time.now(),this.pendingTimeline?(h.timeline=this.pendingTimeline,this.pendingTimeline=void 0):h.onfinish=()=>{let{onComplete:i}=this.options;l.set((0,v.getFinalKeyframe)(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:s,times:n,type:a,ease:o,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return(0,d.millisecondsToSeconds)(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return(0,d.millisecondsToSeconds)(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=(0,d.secondsToMilliseconds)(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return tf.noop;let{animation:i}=e;i.timeline=t,i.onfinish=null}else this.pendingTimeline=t;return tf.noop}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:i,duration:r,type:s,ease:n,times:o}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:a,...l}=this.options,u=new t7({...l,keyframes:i,duration:r,type:s,ease:n,times:o,isGenerator:!0}),h=(0,d.secondsToMilliseconds)(this.time);t.setWithVelocity(u.sample(h-10).value,u.sample(h).value,10)}let{onStop:a}=this.options;a&&a(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}
9static supports(t){let{motionValue:e,name:i,repeatDelay:r,repeatType:s,damping:n,type:o}=t;return eo()&&i&&et.acceleratedValues.has(i)&&e&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate&&!r&&"mirror"!==s&&0!==n&&"inertia"!==o}}let el=tm(()=>void 0!==window.ScrollTimeline);class eu{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,e){return Promise.all(this.animations).then(t).catch(e)}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t){let e=this.animations.map(e=>{if(el()&&e.attachTimeline)e.attachTimeline(t);else{var i;let r,s;return e.pause(),i=t=>{e.time=e.duration*t},s=()=>{let{currentTime:e}=t,s=(null===e?0:e.value)/100;r!==s&&i(s),r=s},y.frame.update(s,!0),()=>(0,y.cancelFrame)(s)}});return()=>{e.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}let eh=(t,e,i,r={},s,n,o)=>a=>{let l=(0,m.getValueTransition)(r,t)||{},u=l.delay||r.delay||0,{elapsed:h=0}=r;h-=(0,d.secondsToMilliseconds)(u);let c={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-h,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{a(),l.onComplete&&l.onComplete(),o&&o()},onStop:o,name:t,motionValue:e,element:n?void 0:s};(0,m.isTransitionDefined)(l)||(c={...c,...(0,p.getDefaultTransition)(t,c)}),c.duration&&(c.duration=(0,d.secondsToMilliseconds)(c.duration)),c.repeatDelay&&(c.repeatDelay=(0,d.secondsToMilliseconds)(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let x=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(c.duration=0,0===c.delay&&(x=!0)),(g.instantAnimationState.current||f.MotionGlobalConfig.skipAnimations)&&(x=!0,c.duration=0,c.delay=0),x&&!n&&void 0!==e.get()){let t=(0,v.getFinalKeyframe)(c.keyframes,l);if(void 0!==t)return y.frame.update(()=>{c.onUpdate(t),c.onComplete()}),new eu([])}return!n&&ea.supports(c)?new ea(c):new t7(c)};var ec=t.i(34167),ed=t.i(53643);class ep{constructor(){this.subscriptions=[]}add(t){return(0,ed.addUniqueItem)(this.subscriptions,t),()=>(0,ed.removeItem)(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 s=0;s<r;s++){let r=this.subscriptions[s];r&&r(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}class em{constructor(t,e={}){this.version="11.3.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=x.time.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=x.time.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new ep);let i=this.events[t].add(e);return"change"===t?()=>{i(),y.frame.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return e&&e.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=x.time.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return ty(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ef(t,e){return new em(t,e)}t.s(["MotionValue",0,em,"motionValue",0,ef],68429);var eg=t.i(60833);function ev(t){return t.getProps()[eg.optimizedAppearDataAttribute]}t.i(57126);var ey=t.i(29048);class ex extends em{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(t){let e=(0,ey.getWillChangeName)(t);if(!e)return;let i=this.counts.get(e)||0;this.counts.set(e,i+1),0===i&&(this.output.push(e),this.update());let r=!1;return()=>{if(r)return;r=!0;let t=this.counts.get(e)-1;this.counts.set(e,t),0===t&&((0,ed.removeItem)(this.output,e),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}var eP=t.i(66179);function eb(t,e){var i,r;if(!t.applyWillChange)return;let s=t.getValue("willChange");if(s||(null==(i=t.props.style)?void 0:i.willChange)||(s=new ex("auto"),t.addValue("willChange",s)),r=s,(0,eP.isMotionValue)(r)&&r.add)return s.add(e)}function ew(t,e,{delay:i=0,transitionOverride:r,type:s}={}){var n;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...l}=e;r&&(o=r);let h=[],d=s&&t.animationState&&t.animationState.getState()[s];for(let e in l){let r=t.getValue(e,null!=(n=t.latestValues[e])?n:null),s=l[e];
9if(void 0===s||d&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(d,e))continue;let a={delay:i,elapsed:0,...(0,m.getValueTransition)(o||{},e)},u=!1;if(window.HandoffAppearAnimations){let i=ev(t);if(i){let t=window.HandoffAppearAnimations(i,e,r,y.frame);null!==t&&(a.elapsed=t,u=!0)}}r.start(eh(e,r,s,t.shouldReduceMotion&&c.transformProps.has(e)?{type:!1}:a,t,u,eb(t,e)));let p=r.animation;p&&h.push(p)}return a&&Promise.all(h).then(()=>{y.frame.update(()=>{a&&function(t,e){let{transitionEnd:i={},transition:r={},...s}=(0,u.resolveVariant)(t,e)||{};for(let e in s={...s,...i}){let i=(0,ec.resolveFinalValueInKeyframes)(s[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,ef(i))}}(t,a)})}),h}function eT(t,e,i={}){var r;let s=(0,u.resolveVariant)(t,e,"exit"===i.type?null==(r=t.presenceContext)?void 0:r.custom:void 0),{transition:n=t.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(n=i.transitionOverride);let o=s?()=>Promise.all(ew(t,s,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=n;return function(t,e,i=0,r=0,s=1,n){let o=[],a=(t.variantChildren.size-1)*r,l=1===s?(t=0)=>t*r:(t=0)=>a-t*r;return Array.from(t.variantChildren).sort(eS).forEach((t,r)=>{t.notify("AnimationStart",e),o.push(eT(t,e,{...n,delay:i+l(r)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,s+r,o,a,i)}:()=>Promise.resolve(),{when:l}=n;if(!l)return Promise.all([o(),a(i.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=>e())}}function eS(t,e){return t.sortNodePosition(e)}let eC=[...h.variantPriorityOrder].reverse(),eA=h.variantPriorityOrder.length;function eV(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function eM(){return{animate:eV(!0),whileInView:eV(),whileHover:eV(),whileTap:eV(),whileDrag:eV(),whileFocus:eV(),exit:eV()}}var ek=t.i(96327);class eE extends ek.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=>eT(t,e,i)));else if("string"==typeof e)r=eT(t,e,i);else{let s="function"==typeof e?(0,u.resolveVariant)(t,e,i.custom):e;r=Promise.all(ew(t,s,i))}return r.then(()=>{y.frame.postRender(()=>{t.notify("AnimationComplete",e)})})})(t,e,i))),i=eM(),r=!0,s=e=>(i,r)=>{var s;let n=(0,u.resolveVariant)(t,r,"exit"===e?null==(s=t.presenceContext)?void 0:s.custom:void 0);if(n){let{transition:t,transitionEnd:e,...r}=n;i={...i,...r,...e}}return i};function h(u){let h=t.getProps(),c=t.getVariantContext(!0)||{},d=[],p=new Set,m={},f=1/0;for(let e=0;e<eA;e++){var g,v;let y=eC[e],x=i[y],P=void 0!==h[y]?h[y]:c[y],b=(0,l.isVariantLabel)(P),w=y===u?x.isActive:null;!1===w&&(f=e);let T=P===c[y]&&P!==h[y]&&b;if(T&&r&&t.manuallyAnimateOnMount&&(T=!1),x.protectedKeys={...m},!x.isActive&&null===w||!P&&!x.prevProp||(0,n.isAnimationControls)(P)||"boolean"==typeof P)continue;let S=(g=x.prevProp,("string"==typeof(v=P)?v!==g:!!Array.isArray(v)&&!(0,a.shallowCompare)(v,g))||y===u&&x.isActive&&!T&&b||e>f&&b),C=!1,A=Array.isArray(P)?P:[P],V=A.reduce(s(y),{});!1===w&&(V={});let{prevResolvedValues:M={}}=x,k={...M,...V},E=e=>{S=!0,p.has(e)&&(C=!0,p.delete(e)),x.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in k){let e=V[t],i=M[t];if(!m.hasOwnProperty(t))((0,o.isKeyframesTarget)(e)&&(0,o.isKeyframesTarget)(i)?(0,a.shallowCompare)(e,i):e===i)?void 0!==e&&p.has(t)?E(t):x.protectedKeys[t]=!0:null!=e?E(t):p.add(t)}x.prevProp=P,x.prevResolvedValues=V,x.isActive&&(m={...m,...V}),r&&t.blockInitialAnimation&&(S=!1),S&&(!T||C)&&d.push(...A.map(t=>({animation:t,options:{type:y}})))}if(p.size){let e={};p.forEach(i=>{let r=t.getBaseTarget(i),s=t.getValue(i);s&&(s.liveStyle=!0),e[i]=null!=r?r:null}),d.push({animation:e})}let y=!!d.length;return r&&(!1===h.initial||h.initial===h.animate)&&!t.manuallyAnimateOnMount&&(y=!1),r=!1,y?e(d):Promise.resolve()}return{animateChanges:h,setActive:function(e,r){var s;if(i[e].isActive===r)return Promise.resolve();
9null==(s=t.variantChildren)||s.forEach(t=>{var i;return null==(i=t.animationState)?void 0:i.setActive(e,r)}),i[e].isActive=r;let n=h(e);for(let t in i)i[t].protectedKeys={};return n},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=eM(),r=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,n.isAnimationControls)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null==(t=this.unmountControls)||t.call(this)}}var eR=ek;let eD=0;class eL extends eR.Feature{constructor(){super(...arguments),this.id=eD++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let r=this.node.animationState.setActive("exit",!t);e&&!t&&r.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}var ej=ek,eF=t.i(26470),eO=t.i(73138);let eI=(t,e)=>Math.abs(t-e);var eB=t.i(62415);class eU{constructor(t,e,{transformPagePoint:i,contextWindow:r,dragSnapToOrigin:s=!1}={}){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=eN(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,s=(t=i.offset,e={x:0,y:0},Math.sqrt(eI(t.x,e.x)**2+eI(t.y,e.y)**2)>=3);if(!r&&!s)return;let{point:n}=i,{timestamp:o}=y.frameData;this.history.push({...n,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$(e,this.transformPagePoint),y.frame.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:s}=this.handlers;if(this.dragSnapToOrigin&&s&&s(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=eN("pointercancel"===t.type?this.lastMoveEventInfo:e$(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),r&&r(t,n)},!(0,eB.isPrimaryPointer)(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=i,this.contextWindow=r||window;const n=e$((0,eF.extractEventInfo)(t),this.transformPagePoint),{point:o}=n,{timestamp:a}=y.frameData;this.history=[{...o,timestamp:a}];const{onSessionStart:l}=e;l&&l(t,eN(n,this.history)),this.removeListeners=(0,tz.pipe)((0,eO.addPointerEvent)(this.contextWindow,"pointermove",this.handlePointerMove),(0,eO.addPointerEvent)(this.contextWindow,"pointerup",this.handlePointerUp),(0,eO.addPointerEvent)(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,y.cancelFrame)(this.updatePoint)}}function e$(t,e){return e?{point:e(t.point)}:t}function ez(t,e){return{x:t.x-e.x,y:t.y-e.y}}function eN({point:t},e){return{point:t,delta:ez(t,eW(e)),offset:ez(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,r=eW(t);for(;e>=0&&(i=t[e],!(r.timestamp-i.timestamp>(0,d.secondsToMilliseconds)(.1)));)e--;if(!i)return{x:0,y:0};let s=(0,d.millisecondsToSeconds)(r.timestamp-i.timestamp);if(0===s)return{x:0,y:0};let n={x:(r.x-i.x)/s,y:(r.y-i.y)/s};return n.x===1/0&&(n.x=0),n.y===1/0&&(n.y=0),n}(e)}}function eW(t){return t[t.length-1]}var eH=t.i(22459),e_=t.i(43392);function eG(t){return t.max-t.min}function eq(t,e=0,i=.01){return Math.abs(t-e)<=i}function eK(t,e,i,r=.5){t.origin=r,t.originPoint=tW(e.min,e.max,t.origin),t.scale=eG(i)/eG(e),(eq(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=tW(i.min,i.max,t.origin)-t.originPoint,(eq(t.translate)||isNaN(t.translate))&&(t.translate=0)}function eY(t,e,i,r){eK(t.x,e.x,i.x,r?r.originX:void 0),eK(t.y,e.y,i.y,r?r.originY:void 0)}function eX(t,e,i){t.min=i.min+e.min,t.max=t.min+eG(e)}function eZ(t,e,i){t.min=e.min-i.min,t.max=t.min+eG(e)}function eJ(t,e,i){eZ(t.x,e.x,i.x),eZ(t.y,e.y,i.y)}function eQ(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 e0(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}}
9function e1(t,e,i){return{min:e2(t,e),max:e2(t,i)}}function e2(t,e){return"number"==typeof t?t:t[e]||0}let e3=()=>({translate:0,scale:1,origin:0,originPoint:0}),e9=()=>({x:e3(),y:e3()}),e6=()=>({min:0,max:0}),e5=()=>({x:e6(),y:e6()});function e4(t){return[t("x"),t("y")]}function e8({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}function e7(t){return void 0===t||1===t}function it({scale:t,scaleX:e,scaleY:i}){return!e7(t)||!e7(e)||!e7(i)}function ie(t){return it(t)||ii(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function ii(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function ir(t,e,i,r,s){return void 0!==s&&(t=r+s*(t-r)),r+i*(t-r)+e}function is(t,e=0,i=1,r,s){t.min=ir(t.min,e,i,r,s),t.max=ir(t.max,e,i,r,s)}function io(t,{x:e,y:i}){is(t.x,e.translate,e.scale,e.originPoint),is(t.y,i.translate,i.scale,i.originPoint)}function ia(t){return Number.isInteger(t)||t>1.0000000000001||t<.999999999999?t:1}function il(t,e){t.min=t.min+e,t.max=t.max+e}function iu(t,e,[i,r,s]){let n=void 0!==e[s]?e[s]:.5,o=tW(t.min,t.max,n);is(t,e[i],e[r],o,e.scale)}let ih=["x","scaleX","originX"],ic=["y","scaleY","originY"];function id(t,e){iu(t.x,e,ih),iu(t.y,e,ic)}function ip(t,e){return e8(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 im=t.i(71800);let ig=({current:t})=>t?t.ownerDocument.defaultView:null,iv=new WeakMap;class iy{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=e5(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let r=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor((0,eF.extractEventInfo)(t,"page").point)},s=(t,e)=>{var i;let{drag:r,dragPropagation:s,onDragStart:n}=this.getProps();if(r&&!s&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=(0,eH.getGlobalLock)(r),!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),e4(t=>{let e=this.getAxisMotionValue(t).get()||0;if(C.percent.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];r&&(e=eG(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&y.frame.postRender(()=>n(t,e)),null==(i=this.removeWillChange)||i.call(this),this.removeWillChange=eb(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},n=(t,e)=>{let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:s,onDrag:n}=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&&s&&s(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),n&&n(t,e)},o=(t,e)=>this.stop(t,e),a=()=>e4(t=>{var e;return"paused"===this.getAnimationState(t)&&(null==(e=this.getAxisMotionValue(t).animation)?void 0:e.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new eU(t,{onSessionStart:r,onStart:s,onMove:n,onSessionEnd:o,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:ig(this.visualElement)})}stop(t,e){var i;null==(i=this.removeWillChange)||i.call(this);let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:s}=e;this.startAnimation(s);let{onDragEnd:n}=this.getProps();n&&y.frame.postRender(()=>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||!ix(t,r,this.currentDirection))return;let s=this.getAxisMotionValue(t),n=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(n=function(t,{min:e,max:i},r){return void 0!==e&&t<e?t=r?tW(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?tW(i,t,r.max):Math.min(t,i)),t}(n,this.constraints[t],this.elastic[t])),s.set(n)}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,s=this.constraints;
9e&&(0,e_.isRefObject)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(t,{top:e,left:i,bottom:r,right:s}){return{x:eQ(t.x,i,s),y:eQ(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:e1(t,"left","right"),y:e1(t,"top","bottom")}}(i),s!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&e4(t=>{var e,i;let s;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=r.layoutBox[t],i=this.constraints[t],s={},void 0!==i.min&&(s.min=i.min-e.min),void 0!==i.max&&(s.max=i.max-e.min),s))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,e_.isRefObject)(e))return!1;let r=e.current;(0,b.invariant)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;let n=function(t,e,i){let r=ip(t,i),{scroll:s}=e;return s&&(il(r.x,s.offset.x),il(r.y,s.offset.y)),r}(r,s.root,this.visualElement.getTransformPagePoint()),o=(t=s.layout.layoutBox,{x:e0(t.x,n.x),y:e0(t.y,n.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=e8(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:r,dragTransition:s,dragSnapToOrigin:n,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(e4(o=>{if(!ix(o,e,this.currentDirection))return;let l=a&&a[o]||{};n&&(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,...s,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return i.start(eh(t,i,0,e,this.visualElement,!1,eb(this.visualElement,t)))}stopAnimation(){e4(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){e4(t=>{var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.pause()})}getAnimationState(t){var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){e4(e=>{let{drag:i}=this.getProps();if(!ix(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,s=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:n}=r.layout.layoutBox[e];s.set(t[e]-tW(i,n,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,e_.isRefObject)(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};e4(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,s;let n,o,a,l=e.get();r[t]=(i={min:l,max:l},s=this.constraints[t],n=.5,o=eG(i),(a=eG(s))>o?n=tN(s.min,s.max-o,i.min):o>a&&(n=tN(i.min,i.max-a,s.min)),(0,W.clamp)(0,1,n))}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),e4(e=>{if(!ix(e,t,null))return;let i=this.getAxisMotionValue(e),{min:s,max:n}=this.constraints[e];i.set(tW(s,n,r[e]))})}addListeners(){if(!this.visualElement.current)return;iv.set(this.visualElement,this);let t=this.visualElement.current,e=(0,eO.addPointerEvent)(t,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),i=()=>{let{dragConstraints:t}=this.getProps();(0,e_.isRefObject)(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,s=r.addEventListener("measure",i);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),y.frame.read(i);let n=(0,im.addDomEvent)(window,"resize",()=>this.scalePositionWithinConstraints()),o=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(e4(e=>{let i=this.getAxisMotionValue(e);
9i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{n(),e(),s(),o&&o()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:s=!1,dragElastic:n=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:s,dragElastic:n,dragMomentum:o}}}function ix(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class iP extends ej.Feature{constructor(t){super(t),this.removeGroupControls=tf.noop,this.removeListeners=tf.noop,this.controls=new iy(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tf.noop}unmount(){this.removeGroupControls(),this.removeListeners()}}var ib=ek;let iw=t=>(e,i)=>{t&&y.frame.postRender(()=>t(e,i))};class iT extends ib.Feature{constructor(){super(...arguments),this.removePointerDownListener=tf.noop}onPointerDown(t){this.session=new eU(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ig(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:iw(t),onStart:iw(e),onMove:i,onEnd:(t,e)=>{delete this.session,r&&y.frame.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=(0,eO.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 iS=t.i(91398),iC=t.i(91788),iA=t.i(62946),iV=t.i(11535),iM=t.i(22469);let ik={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function iE(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let iR={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!C.px.test(t))return t;else t=parseFloat(t);let i=iE(t,e.target.x),r=iE(t,e.target.y);return`${i}% ${r}%`}};var iD=t.i(8487),iL=t.i(69418);class ij extends iC.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:s}=t;(0,iD.addScaleCorrector)(iO),s&&(e.group&&e.group.add(s),i&&i.register&&r&&i.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),ik.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:s}=this.props,n=i.projection;return n&&(n.isPresent=s,r||t.layoutDependency!==e||void 0===e?n.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?n.promote():n.relegate()||y.frame.postRender(()=>{let t=n.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),iL.microtask.postRender(()=>{!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 iF(t){let[e,i]=function(){let t=(0,iC.useContext)(iA.PresenceContext);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:i,register:r}=t,s=(0,iC.useId)();return(0,iC.useEffect)(()=>r(s),[]),!e&&i?[!1,()=>i&&i(s)]:[!0]}(),r=(0,iC.useContext)(iV.LayoutGroupContext);return(0,iS.jsx)(ij,{...t,layoutGroup:r,switchLayoutGroup:(0,iC.useContext)(iM.SwitchLayoutGroupContext),isPresent:e,safeToRemove:i})}let iO={borderRadius:{...iR,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:iR,borderTopRightRadius:iR,borderBottomLeftRadius:iR,borderBottomRightRadius:iR,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=ts.parse(t);if(r.length>5)return t;let s=ts.createTransformer(t),n=+("number"!=typeof r[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;r[0+n]/=o,r[1+n]/=a;let l=tW(o,a,.5);return"number"==typeof r[2+n]&&(r[2+n]/=l),"number"==typeof r[3+n]&&(r[3+n]/=l),s(r)}}},iI=["TopLeft","TopRight","BottomLeft","BottomRight"],iB=iI.length,iU=t=>"string"==typeof t?parseFloat(t):t,i$=t=>"number"==typeof t||C.px.test(t);function iz(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let iN=iH(0,.5,tj),iW=iH(.5,.95,tf.noop);function iH(t,e,i){return r=>r<t?0:r>e?1:i(tN(t,e,r))}function i_(t,e){t.min=e.min,t.max=e.max}function iG(t,e){i_(t.x,e.x),i_(t.y,e.y)}function iq(t,e,i,r,s){return t-=e,t=r+1/i*(t-r),void 0!==s&&(t=r+1/s*(t-r)),t}function iK(t,e,[i,r,s],n,o){!function(t,e=0,i=1,r=.5,s,n=t,o=t){if(C.percent.test(e)&&(e=parseFloat(e),e=tW(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=tW(n.min,n.max,r);t===n&&(a-=e),t.min=iq(t.min,e,i,a,s),t.max=iq(t.max,e,i,a,s)}(t,e[i],e[r],e[s],e.scale,n,o)}let iY=["x","scaleX","originX"],iX=["y","scaleY","originY"];function iZ(t,e,i,r){iK(t.x,e,iY,i?i.x:void 0,r?r.x:void 0),iK(t.y,e,iX,i?i.y:void 0,r?r.y:void 0)}function iJ(t){return 0===t.translate&&1===t.scale}function iQ(t){return iJ(t.x)&&iJ(t.y)}function i0(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 i1(t){return eG(t.x)/eG(t.y)}class i2{constructor(){this.members=[]}add(t){(0,ed.addUniqueItem)(this.members,t),t.scheduleRender()}remove(t){if((0,ed.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)}
9}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 i3(t,e,i){let r="",s=t.x.translate/e.x,n=t.y.translate/e.y,o=(null==i?void 0:i.z)||0;if((s||n||o)&&(r=`translate3d(${s}px, ${n}px, ${o}px) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:s,rotateY:n,skewX:o,skewY:a}=i;t&&(r=`perspective(${t}px) ${r}`),e&&(r+=`rotate(${e}deg) `),s&&(r+=`rotateX(${s}deg) `),n&&(r+=`rotateY(${n}deg) `),o&&(r+=`skewX(${o}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}let i9=(t,e)=>t.depth-e.depth;class i6{constructor(){this.children=[],this.isDirty=!1}add(t){(0,ed.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,ed.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(i9),this.isDirty=!1,this.children.forEach(t)}}var i5=t.i(24416);let i4=["","X","Y","Z"],i8={visibility:"hidden"},i7=0,rt={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function re(t,e,i,r){let{latestValues:s}=e;s[t]&&(i[t]=s[t],e.setStaticValue(t,0),r&&(r[t]=0))}function ri({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(t={},i=null==e?void 0:e()){this.id=i7++,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.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,rt.totalNodes=rt.resolvedTargetDeltas=rt.recalculatedProjection=0,this.nodes.forEach(rn),this.nodes.forEach(rd),this.nodes.forEach(rp),this.nodes.forEach(ro),window.MotionDebug&&window.MotionDebug.record(rt)},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 i6)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new ep),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:s,visualElement:n}=this.options;if(n&&!n.current&&n.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(s||r)&&(this.isLayoutDirty=!0),t){let i,r=()=>this.root.updateBlockedByResize=!1;t(e,()=>{let t,e;this.root.updateBlockedByResize=!0,i&&i(),t=x.time.now(),e=({timestamp:i})=>{let s=i-t;s>=250&&((0,y.cancelFrame)(e),r(s-250))},y.frame.read(e,!0),i=()=>(0,y.cancelFrame)(e),ik.hasAnimatedSinceResize&&(ik.hasAnimatedSinceResize=!1,this.nodes.forEac
9h(rc))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&n&&(r||s)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||n.getDefaultTransition()||rx,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!i0(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)(s,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||rc(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,y.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.forEach(rm),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(window.HandoffCancelAllAnimations&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return!1;let{visualElement:i}=e.options;return!!i&&(!!ev(i)||!!e.parent&&!e.parent.hasCheckedOptimisedAppear&&t(e.parent))}(this)&&window.HandoffCancelAllAnimations(),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(rl);return}this.isUpdating||this.nodes.forEach(ru),this.isUpdating=!1,this.nodes.forEach(rh),this.nodes.forEach(rr),this.nodes.forEach(rs),this.clearAllSnapshots();let t=x.time.now();y.frameData.delta=(0,W.clamp)(0,1e3/60,t-y.frameData.timestamp),y.frameData.timestamp=t,y.frameData.isProcessing=!0,y.steps.update.process(y.frameData),y.steps.preRender.process(y.frameData),y.steps.render.process(y.frameData),y.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,iL.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ra),this.sharedNodes.forEach(rf)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,y.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){y.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=e5(),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(!s)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!iQ(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,n=r!==this.prevTransformTemplateValue;t&&(e||ie(this.latestValues)||n)&&(s(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)),rw((e=r).x),rw(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return e5();let e=t.measureViewportBox(),{scroll:i}=this.root;return i&&(il(e.x,i.offset.x),il(e.y,i.offset.y)),e}removeElementScroll(t){let e=e5();iG(e,t);for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:s,options:n}=r;if(r!==this.root&&s&&n.layoutScroll){if(s.isRoot){iG(e,t);let{scroll:i}=this.root;i&&(il(e.x,-i.offset.x),il(e.y,-i.offset.y))}il(e.x,s.offset.x),il(e.y,s.offset.y)}}return e}applyTransform(t,e=!1){let i=e5();iG(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&&id(i,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),ie(r.latestValues)&&id(i,r.latestValues)}return ie(this.latestValues)&&id(i,this.latestValues),i}removeTransform(t){let e=e5();iG(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!ie(i.latestValues))continue;it(i.latestValues)&&i.updateSnapshot();let r=e5();iG(r,i.measurePageBox()),iZ(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,r)}return ie(this.latestValues)&&iZ(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!==y.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,i,r,s;let n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isS
9haredProjectionDirty);let o=!!this.resumingFrom||this!==n;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=y.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=e5(),this.relativeTargetOrigin=e5(),eJ(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),iG(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=e5(),this.targetWithTransforms=e5()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,r=this.relativeTarget,s=this.relativeParent.target,eX(i.x,r.x,s.x),eX(i.y,r.y,s.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):iG(this.target,this.layout.layoutBox),io(this.target,this.targetDelta)):iG(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=e5(),this.relativeTargetOrigin=e5(),eJ(this.relativeTargetOrigin,this.target,t.target),iG(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}rt.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||it(this.parent.latestValues)||ii(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===y.frameData.timestamp&&(r=!1),r)return;let{layout:s,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||n))return;iG(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;!function(t,e,i,r=!1){let s,n,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){n=(s=i[a]).projectionDelta;let o=s.instance;(!o||!o.style||"contents"!==o.style.display)&&(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&id(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),n&&(e.x*=n.x.scale,e.y*=n.y.scale,io(t,n)),r&&ie(s.latestValues)&&id(t,s.latestValues))}e.x=ia(e.x),e.y=ia(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,e.targetWithTransforms=e5());let{target:l}=e;if(!l){this.projectionTransform&&(this.projectionDelta=e9(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=e9(),this.projectionDeltaWithTransform=e9());let u=this.projectionTransform;eY(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=i3(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==o||this.treeScale.y!==a)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),rt.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,s=r?r.latestValues:{},n={...this.latestValues},o=e9();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=e5(),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&&
9!0===this.options.crossfade&&!this.path.some(ry));this.animationProgress=0,this.mixTargetDelta=e=>{let r=e/1e3;if(rg(o.x,t.x,r),rg(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;eJ(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=a,g=r,rv(p.x,m.x,f.x,g),rv(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=e5()),iG(i,this.relativeTarget)}l&&(this.animationValues=n,function(t,e,i,r,s,n){s?(t.opacity=tW(0,void 0!==i.opacity?i.opacity:1,iN(r)),t.opacityExit=tW(void 0!==e.opacity?e.opacity:1,0,iW(r))):n&&(t.opacity=tW(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,r));for(let s=0;s<iB;s++){let n=`border${iI[s]}Radius`,o=iz(e,n),a=iz(i,n);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||i$(o)===i$(a)?(t[n]=Math.max(tW(iU(o),iU(a),r),0),(C.percent.test(a)||C.percent.test(o))&&(t[n]+="%")):t[n]=a)}(e.rotate||i.rotate)&&(t.rotate=tW(e.rotate||0,i.rotate||0,r))}(n,s,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,y.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=y.frame.update(()=>{var e;let i;ik.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:ef(0)).start(eh("",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:s}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&rT(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||e5();let e=eG(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=eG(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}iG(e,i),id(e,s),eY(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new i2),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)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let r={};i.z&&re("z",t,r,this.animationValues);for(let e=0;e<i4.length;e++)re(`rotate${i4[e]}`,t,r,this.animationValues),re(`skew${i4[e]}`,t,r,this.animationValues);for(let e in t.render(),r)t.setStaticValue(e,r[e]),this.animationValues&&(this.animationValues[e]=r[e]);t.scheduleRender()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return i8;let r={visibility:""},s=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=(0,i5.resolveMotionValue)(null==t?void 0:t.pointerEvents)||"",r.transform=s?s(this.latestValues,""):"none",r;let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=(0,i5.resolveMotionValue)(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!ie(this.latestValues)&&(e.transform=s?s({},""):"none",this.hasProjected=!1),e}let o=n.animationValues||n.latestValues;this.applyTransformsToTarget(),r.transform=i3(this.projectionDeltaWithTransform,this.treeScale,o),s&&(r.transform=s(o,r.transform));let{x:a,y:l}=this.projectionDelta;for(let t in r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,n.animationValues?r.opacity=n===this?null!=(i=null!=(e=o.opacity)?e:this.latestValues.opacity)?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:r.opacity=n===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,iD.scaleCorrectors){if
9(void 0===o[t])continue;let{correct:e,applyTo:i}=iD.scaleCorrectors[t],s="none"===r.transform?o[t]:e(o[t],n);if(i){let t=i.length;for(let e=0;e<t;e++)r[i[e]]=s}else r[t]=s}return this.options.layoutId&&(r.pointerEvents=n===this?(0,i5.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(rl),this.root.sharedNodes.clear()}}}function rr(t){t.updateLayout()}function rs(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:s}=t.options,n=i.source!==t.layout.source;"size"===s?e4(t=>{let r=n?i.measuredBox[t]:i.layoutBox[t],s=eG(r);r.min=e[t].min,r.max=r.min+s}):rT(s,i.layoutBox,e)&&e4(r=>{let s=n?i.measuredBox[r]:i.layoutBox[r],o=eG(e[r]);s.max=s.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=e9();eY(o,e,i.layoutBox);let a=e9();n?eY(a,t.applyTransform(r,!0),i.measuredBox):eY(a,e,i.layoutBox);let l=!iQ(o),u=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:s,layout:n}=r;if(s&&n){let o=e5();eJ(o,i.layoutBox,s.layoutBox);let a=e5();eJ(a,e,n.layoutBox),i0(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 rn(t){rt.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 ro(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function ra(t){t.clearSnapshot()}function rl(t){t.clearMeasurements()}function ru(t){t.isLayoutDirty=!1}function rh(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function rc(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function rd(t){t.resolveTargetDelta()}function rp(t){t.calcProjection()}function rm(t){t.resetSkewAndRotation()}function rf(t){t.removeLeadSnapshot()}function rg(t,e,i){t.translate=tW(e.translate,0,i),t.scale=tW(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function rv(t,e,i,r){t.min=tW(e.min,i.min,r),t.max=tW(e.max,i.max,r)}function ry(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let rx={duration:.45,ease:[.4,0,.1,1]},rP=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),rb=rP("applewebkit/")&&!rP("chrome/")?Math.round:tf.noop;function rw(t){t.min=rb(t.min),t.max=rb(t.max)}function rT(t,e,i){return"position"===t||"preserve-aspect"===t&&!eq(i1(e),i1(i),.2)}let rS=ri({attachResizeListener:(t,e)=>(0,im.addDomEvent)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),rC={current:void 0},rA=ri({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!rC.current){let t=new rS({});t.mount(window),t.setOptions({layoutScroll:!0}),rC.current=t}return rC.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var rV=t.i(1629),rM=t.i(9643),rk=t.i(48073),rE=t.i(46628);let rR={current:null},rD={current:!1};
9var rL=t.i(55647),rj=t.i(72158),rF=t.i(83896);let rO=new WeakMap;var rI=t.i(7799);let rB=[...j,X,ts],rU=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],r$=h.variantProps.length;class rz{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:s,visualState:n},o={}){this.applyWillChange=!1,this.resolveKeyframes=(t,e,i,r)=>new this.KeyframeResolver(t,e,i,r,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=z,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=()=>y.frame.render(this.render,!1,!0);const{latestValues:a,renderState:l}=n;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.blockInitialAnimation=!!s,this.isControllingVariants=(0,rL.isControllingVariants)(e),this.isVariantNode=(0,rL.isVariantNode)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in h){const e=h[t];void 0!==a[t]&&(0,eP.isMotionValue)(e)&&e.set(a[t],!1)}}mount(t){this.current=t,rO.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),rD.current||function(){if(rD.current=!0,rE.isBrowser)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>rR.current=t.matches;t.addListener(e),e()}else rR.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||rR.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in rO.delete(this.current),this.projection&&this.projection.unmount(),(0,y.cancelFrame)(this.notifyUpdate),(0,y.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){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let i=c.transformProps.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&y.frame.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),s=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{r(),s(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in rF.featureDefinitions){let e=rF.featureDefinitions[t];if(!e)continue;let{isEnabled:i,Feature:r}=e;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):e5()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<rU.length;e++){let i=rU[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}
9this.prevMotionValues=function(t,e,i){for(let r in e){let s=e[r],n=i[r];if((0,eP.isMotionValue)(s))t.addValue(r,s);else if((0,eP.isMotionValue)(n))t.addValue(r,ef(s,{owner:t}));else if(n!==s)if(t.hasValue(r)){let e=t.getValue(r);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(r);t.addValue(r,ef(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),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<r$;t++){let i=h.variantProps[t],r=this.props[i];((0,l.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){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=ef(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let r=void 0===this.latestValues[t]&&this.current?null!=(i=this.getBaseTargetFromProps(this.props,t))?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=r){let i;if("string"==typeof r&&(i=r,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(i)||(0,rI.isZeroValueString)(r)))r=parseFloat(r);else{let i;i=r,!rB.find(L(i))&&ts.test(e)&&(r=tc(t,e))}this.setBaseTarget(t,(0,eP.isMotionValue)(r)?r.get():r)}return(0,eP.isMotionValue)(r)?r.get():r}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let i,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let s=(0,rj.resolveVariantFromProps)(this.props,r,null==(e=this.presenceContext)?void 0:e.custom);s&&(i=s[t])}if(r&&void 0!==i)return i;let s=this.getBaseTargetFromProps(this.props,t);return void 0===s||(0,eP.isMotionValue)(s)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new ep),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class rN extends rz{constructor(){super(...arguments),this.KeyframeResolver=tp}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]}}class rW extends rN{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0}readValueFromInstance(t,e){if(c.transformProps.has(e)){let t=th(e);return t&&t.default||0}{let i=window.getComputedStyle(t),r=((0,w.isCSSVariableName)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return ip(t,e)}build(t,e,i){(0,rV.buildHTMLStyles)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,rM.scrapeMotionValuesFromProps)(t,e,i)}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,rk.renderHTML)(t,e,i,r)}}var rH=t.i(10840),r_=t.i(33416),rG=t.i(88212),rq=t.i(84804),rK=t.i(6591),rY=t.i(45375);class rX extends rN{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(c.transformProps.has(e)){let t=th(e);return t&&t.default||0}return e=rq.camelCaseAttributes.has(e)?e:(0,rG.camelToDash)(e),t.getAttribute(e)}measureInstanceViewportBox(){return e5()}
9scrapeMotionValuesFromProps(t,e,i){return(0,rH.scrapeMotionValuesFromProps)(t,e,i)}build(t,e,i){(0,r_.buildSVGAttrs)(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,r){(0,rK.renderSVG)(t,e,i,r)}mount(t){this.isSVGTag=(0,rY.isSVGTag)(t.tagName),super.mount(t)}}var rZ=t.i(4606);let rJ=(t,e)=>(0,rZ.isSVGComponent)(t)?new rX(e):new rW(e,{allowProjection:t!==iC.Fragment}),rQ={animation:{Feature:eE},exit:{Feature:eL},...s.gestureAnimations,pan:{Feature:iT},drag:{Feature:iP,ProjectionNode:rA,MeasureLayout:iF},layout:{ProjectionNode:rA,MeasureLayout:iF}},r0=(0,i.createMotionProxy)((t,e)=>(0,r.createDomMotionConfig)(t,e,rQ,rJ));t.s(["motion",0,r0],11829)},50033,t=>{"use strict";var e=t.i(91788);t.s(["default",0,function(){let[t,i]=(0,e.useState)(!1);return(0,e.useEffect)(()=>{let e=document.body,i=document.documentElement,r=window.innerWidth-i.clientWidth;if(t){let t=window.scrollY;e.style.overflow="hidden",e.style.position="fixed",e.style.top=`-${t}px`,e.style.width="100%",r>0&&(e.style.paddingRight=`${r}px`)}else{let t=e.style.top;e.style.overflow="",e.style.position="",e.style.top="",e.style.width="",e.style.paddingRight="",t&&window.scrollTo(0,-1*parseInt(t||"0"))}return()=>{e.style.overflow="",e.style.position="",e.style.top="",e.style.width="",e.style.paddingRight=""}},[t]),[t,()=>i(!t)]}])},1531,t=>{t.v({fill:"Image-module-scss-module__hG1qAq__fill",image:"Image-module-scss-module__hG1qAq__image",wrapper:"Image-module-scss-module__hG1qAq__wrapper"})},6e4,35555,34552,88357,t=>{"use strict";var e=t.i(91398),i=t.i(1531),r=t.i(26019),s=t.i(72043);t.i(50461);var n=t.i(91788);let o={display:"inline-block",position:"absolute",overflow:"hidden",clip:"rect(0 0 0 0)",height:1,width:1,margin:-1,padding:0,border:0};function a({children:t,...i}){let[r,s]=n.default.useState(!1);return(n.default.useEffect(()=>{},[]),r)?t:(0,e.jsx)("span",{style:o,...i,children:t})}function l(t){return t&&"fields"in t?{src:t.fields.file?.url||"",alt:t.fields.description||"",width:t.fields.file?.details.image?.width||0,height:t.fields.file?.details.image?.height||0}:null}t.s(["default",0,a],35555),t.s(["parseContentfulContentImage",0,l],34552),t.s(["default",0,function({className:t,image:n,fill:o,priority:u,quality:h,ariaDescribedbyId:c,ariaDescribedbyContent:d,icon:p,...m}){let f=(0,s.default)(t,{[i.default.wrapper]:!0}),g=(0,s.default)(t,{[i.default.image]:!0,[i.default.fill]:o}),v={};if(n&&"sys"in n){let t=l(n);v={src:t?.src?`https:${t.src}`:void 0,width:t?.width,height:t?.height,alt:t?.alt}}else v={src:n?.src??m.src,width:p?m.width:n?.width??m.width,height:p?m.height:n?.height??m.height,alt:n?.alt??m.alt,"aria-describedby":c,unoptimized:!!m.unoptimized};return(0,e.jsxs)("div",{className:f,children:[(0,e.jsx)(r.default,{...v,sizes:"100vw",quality:h??80,priority:u??!1,className:g}),c&&d&&(0,e.jsx)(a,{children:(0,e.jsx)("section",{id:c,dangerouslySetInnerHTML:{__html:d}})})]})}],88357),t.s([],6e4)},60578,(t,e,i)=>{"use strict";i.parse=function(t,e){if("string"!=typeof t)throw TypeError("argument str must be a string");var i={},r=t.length;if(r<2)return i;var n=e&&e.decode||c,o=0,a=0,l=0;do{if(-1===(a=t.indexOf("=",o)))break;if(-1===(l=t.indexOf(";",o)))l=r;else if(a>l){o=t.lastIndexOf(";",a-1)+1;continue}var d=u(t,o,a),p=h(t,a,d),m=t.slice(d,p);if(!s.call(i,m)){var f=u(t,a+1,l),g=h(t,l,f);34===t.charCodeAt(f)&&34===t.charCodeAt(g-1)&&(f++,g--);var v=t.slice(f,g);i[m]=function(t,e){try{return e(t)}catch(e){return t}}(v,n)}o=l+1}while(o<r)return i},i.serialize=function(t,e,i){var s=i&&i.encode||encodeURIComponent;if("function"!=typeof s)throw TypeError("option encode is invalid");if(!n.test(t))throw TypeError("argument name is invalid");var u=s(e);if(!o.test(u))throw TypeError("argument val is invalid");var h=t+"="+u;if(!i)return h;if(null!=i.maxAge){var c=Math.floor(i.maxAge);if(!isFinite(c))throw TypeError("option maxAge is invalid");h+="; Max-Age="+c}if(i.domain){if(!a.test(i.domain))throw TypeError("option domain is invalid");h+="; Domain="+i.domain}if(i.path){if(!l.test(i.path))throw TypeError("option path is invalid");h+="; Path="+i.path}if(i.expires){var d,p=i.expires;if(d=p,"[object Date]"!==r.call(d)||isNaN(p.valueOf()))throw TypeError("option expires is invali
9d");h+="; Expires="+p.toUTCString()}if(i.httpOnly&&(h+="; HttpOnly"),i.secure&&(h+="; Secure"),i.partitioned&&(h+="; Partitioned"),i.priority)switch("string"==typeof i.priority?i.priority.toLowerCase():i.priority){case"low":h+="; Priority=Low";break;case"medium":h+="; Priority=Medium";break;case"high":h+="; Priority=High";break;default:throw TypeError("option priority is invalid")}if(i.sameSite)switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:case"strict":h+="; SameSite=Strict";break;case"lax":h+="; SameSite=Lax";break;case"none":h+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return h};var r=Object.prototype.toString,s=Object.prototype.hasOwnProperty,n=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,o=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,a=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,l=/^[\u0020-\u003A\u003D-\u007E]*$/;function u(t,e,i){do{var r=t.charCodeAt(e);if(32!==r&&9!==r)return e}while(++e<i)return i}function h(t,e,i){for(;e>i;){var r=t.charCodeAt(--e);if(32!==r&&9!==r)return e+1}return i}
9function c(t){return -1!==t.indexOf("%")?decodeURIComponent(t):t}},80495,(t,e,i)=>{"use strict";var r=t.e&&t.e.__assign||function(){return(r=Object.assign||function(t){for(var e,i=1,r=arguments.length;i<r;i++)for(var s in e=arguments[i])Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s]);return t}).apply(this,arguments)},s=t.e&&t.e.__rest||function(t,e){var i={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(i[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,r=Object.getOwnPropertySymbols(t);s<r.length;s++)0>e.indexOf(r[s])&&Object.prototype.propertyIsEnumerable.call(t,r[s])&&(i[r[s]]=t[r[s]]);return i};Object.defineProperty(i,"__esModule",{value:!0}),i.hasCookie=i.deleteCookie=i.setCookie=i.getCookie=i.getCookies=void 0;var n=t.r(60578),o=function(){return"u">typeof window},a=function(t){return!!t&&"getAll"in t&&"set"in t&&"function"==typeof t.getAll&&"function"==typeof t.set},l=function(t){return!!(null==t?void 0:t.req)&&"cookies"in t.req&&a(null==t?void 0:t.req.cookies)||!!(null==t?void 0:t.res)&&"cookies"in t.res&&a(null==t?void 0:t.res.cookies)||!!(null==t?void 0:t.cookies)&&a(t.cookies())},u=function(t){var e={};return t.getAll().forEach(function(t){var i=t.name,r=t.value;e[i]=r}),e},h=function(t){try{if("string"==typeof t)return t;return JSON.stringify(t)}catch(e){return t}};i.getCookies=function(t){if(l(t)){if(null==t?void 0:t.req)return u(t.req.cookies);if(null==t?void 0:t.cookies)return u(t.cookies())}if(t&&(e=t.req),!o())return e&&e.cookies?e.cookies:e&&e.headers.cookie?(0,n.parse)(e.headers.cookie):{};for(var e,i={},r=document.cookie?document.cookie.split("; "):[],s=0,a=r.length;s<a;s++){var h=r[s].split("="),c=h.slice(1).join("=");i[h[0]]=c}return i},i.getCookie=function(t,e){var r=(0,i.getCookies)(e)[t];if(void 0!==r)return r?r.replace(/(%[0-9A-Z]{2}
9)+/g,decodeURIComponent):r},i.setCookie=function(t,e,i){if(l(i)){var a,u,c,d=i.req,p=i.res,m=i.cookies,f=s(i,["req","res","cookies"]),g=r({name:t,value:h(e)},f);d&&d.cookies.set(g),p&&p.cookies.set(g),m&&m().set(g);return}if(i){var d=i.req,p=i.res,v=s(i,["req","res"]);u=d,c=p,a=v}var y=(0,n.serialize)(t,h(e),r({path:"/"},a));if(o())document.cookie=y;else if(c&&u){var x=c.getHeader("Set-Cookie");if(Array.isArray(x)||(x=x?[String(x)]:[]),c.setHeader("Set-Cookie",x.concat(y)),u&&u.cookies){var P=u.cookies;""===e?delete P[t]:P[t]=h(e)}if(u&&u.headers&&u.headers.cookie){var P=(0,n.parse)(u.headers.cookie);""===e?delete P[t]:P[t]=h(e),u.headers.cookie=Object.entries(P).reduce(function(t,e){return t.concat("".concat(e[0],"=").concat(e[1],";"))},"")}}},i.deleteCookie=function(t,e){return(0,i.setCookie)(t,"",r(r({},e),{maxAge:-1}))},i.hasCookie=function(t,e){return!!t&&(0,i.getCookies)(e).hasOwnProperty(t)}},35797,t=>{t.v({})},71914,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"useIntersection",{enumerable:!0,get:function(){return l}});let r=t.r(91788),s=t.r(99604),n="function"==typeof IntersectionObserver,o=new Map,a=[];function l({rootRef:t,rootMargin:e,disabled:i}){let u=i||!n,[h,c]=(0,r.useState)(!1),d=(0,r.useRef)(null),p=(0,r.useCallback)(t=>{d.current=t},[]);return(0,r.useEffect)(()=>{if(n){if(u||h)return;let i=d.current;if(i&&i.tagName)return function(t,e,i){let{id:r,observer:s,elements:n}=function(t){let e,i={root:t.root||null,margin:t.rootMargin||""},r=a.find(t=>t.root===i.root&&t.margin===i.margin);if(r&&(e=o.get(r)))return e;let s=new Map;return e={id:i,observer:new IntersectionObserver(t=>{t.forEach(t=>{let e=s.get(t.target),i=t.isIntersecting||t.intersectionRatio>0;e&&i&&e(i)})},t),elements:s},a.push(i),o.set(i,e),e}(i);return n.set(t,e),s.observe(t),function(){if(n.delete(t),s.unobserve(t),0===n.size){s.disconnect(),o.delete(r);let t=a.findIndex(t=>t.root===r.root&&t.margin===r.margin);t>-1&&a.splice(t,1)}}}(i,t=>t&&c(t),{root:t?.current,rootMargin:e})}else if(!h){let t=(0,s.requestIdleCallback)(()=>c(!0));return()=>(0,s.cancelIdleCallback)(t)}},[u,e,t,h,d.current]),[p,h,(0,r.useCallback)(()=>{c(!1)},[])]}("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},62961,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"normalizeLocalePath",{enumerable:!0,get:function(){return r}});let r=(e,i)=>t.r(92090).normalizeLocalePath(e,i);("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},54471,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getDomainLocale",{enumerable:!0,get:function(){return s}});let r=t.r(70090);function s(e,i,s,n){{let o=t.r(62961).normalizeLocalePath,a=t.r(62205).detectDomainLocale,l=i||o(e,s).detectedLocale,u=a(n,void 0,l);if(u){let t=`http${u.http?"":"s"}://`,i=l===u.defaultLocale?"":`/${l}`;return`${t}${u.domain}${(0,r.normalizePathTrailingSlash)(`${i}${e}`)}`}return!1}}("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},48735,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"errorOnce",{enumerable:!0,get:function(){return r}});let r=t=>{}},39149,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={default:function(){return S},useLinkStatus:function(){return T}};for(var s in r)Object.defineProperty(i,s,{enumerable:!0,get:r[s]});let n=t.r(71650),o=t.r(91398),a=n._(t.r(91788)),l=t.r(60472),u=t.r(71112),h=t.r(28169),c=t.r(89129),d=t.r(14862),p=t.r(25479),m=t.r(71914),f=t.r(54471),g=t.r(44113),v=t.r(63230);t.r(48735);let y=new Set;function x(t,e,i,r){if(!("u"<typeof window)&&(0,u.isLocalURL)(e)){if(!r.bypassPrefetchedCheck){let s=e+"%"+i+"%"+(void 0!==r.locale?r.locale:"locale"in t?t.locale:void 0);if(y.has(s))return;y.add(s)}t.prefetch(e,i,r).catch(t=>{})}}function P(t){return"string"==typeof t?t:(0,h.formatUrl)(t)}let b=a.default.forwardRef(function(t,e){let i,r,{href:s,as:n,children:h,prefetch:y=null,passHref:b,replace:w,shallow:T,scroll:S,locale:C,onClick:A,onNavigate:V,onMouseEnter:M,onTouchStart:k,legacyBehavior:E=!1,transitionTypes:R,...D}=t;i=h,E&&("string"==typeof i||"number"==typeof i)&&(i=(0,o.jsx)("a",{children:i}));let L=a.default.useContext(p.RouterContext),j=!1!==y,{href:F,as:O}=a.default.useMemo(()=>
9{if(!L){let t=P(s);return{href:t,as:n?P(n):t}}let[t,e]=(0,l.resolveHref)(L,s,!0);return{href:t,as:n?(0,l.resolveHref)(L,n):e||t}},[L,s,n]),I=a.default.useRef(F),B=a.default.useRef(O);E&&(r=a.default.Children.only(i));let U=E?r&&"object"==typeof r&&r.ref:e,[$,z,N]=(0,m.useIntersection)({rootMargin:"200px"}),W=a.default.useCallback(t=>{(B.current!==O||I.current!==F)&&(N(),B.current=O,I.current=F),$(t)},[O,F,N,$]),H=(0,v.useMergedRef)(W,U);a.default.useEffect(()=>{!L||z&&j&&x(L,F,O,{locale:C})},[O,F,z,C,j,L?.locale,L]);let _={ref:H,onClick(t){E||"function"!=typeof A||A(t),E&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(t),!L||t.defaultPrevented||function(t,e,i,r,s,n,o,a,l){let h,{nodeName:c}=t.currentTarget;if(!("A"===c.toUpperCase()&&((h=t.currentTarget.getAttribute("target"))&&"_self"!==h||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))){if(!(0,u.isLocalURL)(i)){s&&(t.preventDefault(),location.replace(i));return}t.preventDefault(),(()=>{if(l){let t=!1;if(l({preventDefault:()=>{t=!0}}),t)return}let t=o??!0;"beforePopState"in e?e[s?"replace":"push"](i,r,{shallow:n,locale:a,scroll:t}):e[s?"replace":"push"](r||i,{scroll:t})})()}}(t,L,F,O,w,T,S,C,V)},onMouseEnter(t){E||"function"!=typeof M||M(t),E&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(t),L&&x(L,F,O,{locale:C,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(t){E||"function"!=typeof k||k(t),E&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(t),L&&x(L,F,O,{locale:C,priority:!0,bypassPrefetchedCheck:!0})}};if((0,c.isAbsoluteUrl)(O))_.href=O;else if(!E||b||"a"===r.type&&!("href"in r.props)){let t=void 0!==C?C:L?.locale;_.href=L?.isLocaleDomain&&(0,f.getDomainLocale)(O,t,L?.locales,L?.domainLocales)||(0,g.addBasePath)((0,d.addLocale)(O,t,L?.defaultLocale))}return E?a.default.cloneElement(r,_):(0,o.jsx)("a",{...D,..._,children:i})}),w=(0,a.createContext)({pending:!1}),T=()=>(0,a.useContext)(w),S=b;("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},41158,(t,e,i)=>{e.exports=t.r(39149)},37322,21113,t=>{"use strict";var e=t.i(91398),i=t.i(35797),r=t.i(41158);t.s(["default",0,function({children:t,href:s,className:n}){s?.startsWith("http");let o=`${i.default.link} ${n}`;return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(r.default,{href:s,className:o,children:t})})}],21113),t.s([],37322)}]);

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.