PageSourceSearch

https://www.sanity.io/docs/_next/static/immutable/chunks/0399ebn40byj7.js

js sanity.io collected 2026-10-01 08:13:30 UTC 145,207 bytes, 12 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="ecd62dee-5144-3f68-8b42-63a558fd6060")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,400915,t=>{"use strict";var e=t.i(786692),i=t.i(47325),n=t.i(550519),s=t.i(96454),r=t.i(363240),o=t.i(872215),a=i,l=t.i(367356);function u(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class h extends a.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if((0,o.isHTMLElement)(e)&&t.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let t=e.offsetParent,i=(0,o.isHTMLElement)(t)&&t.offsetWidth||0,n=(0,o.isHTMLElement)(t)&&t.offsetHeight||0,s=getComputedStyle(e),r=this.props.sizeRef.current;r.height=parseFloat(s.height),r.width=parseFloat(s.width),r.top=e.offsetTop,r.left=e.offsetLeft,r.right=i-r.width-r.left,r.bottom=n-r.height-r.top,r.direction=s.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function c({children:t,isPresent:n,anchorX:s,anchorY:r,root:o,pop:d}){let p=(0,a.useId)(),m=(0,a.useRef)(null),f=(0,a.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:g}=(0,a.useContext)(l.MotionConfigContext),y=function(...t){return i.useCallback(function(...t){return e=>{let i=!1,n=t.map(t=>{let n=u(t,e);return i||"function"!=typeof n||(i=!0),n});if(i)return()=>{for(let e=0;e<n.length;e++){let i=n[e];"function"==typeof i?i():u(t[e],null)}}}}(...t),t)}(m,!1!==d?t.props?.ref??t?.ref:void 0);return(0,a.useInsertionEffect)(()=>{let{width:t,height:e,top:i,left:a,right:l,bottom:u,direction:h}=f.current;if(n||!1===d||!m.current||!t||!e)return;let c="rtl"===h,y="left"===s?c?`right: ${l}`:`left: ${a}`:c?`left: ${a}`:`right: ${l}`,v="bottom"===r?`bottom: ${u}`:`top: ${i}`;m.current.dataset.motionPopId=p;let x=document.createElement("style");g&&(x.nonce=g);let b=o??document.head;return b.appendChild(x),x.sheet&&x.sheet.insertRule(`
3          [data-motion-pop-id="${p}"] {
4            position: absolute !important;
5            width: ${t}px !important;
6            height: ${e}px !important;
7            ${y}px !important;
8            ${v}px !important;
9          }
10        `),()=>{m.current?.removeAttribute("data-motion-pop-id"),b.contains(x)&&b.removeChild(x)}},[n]),(0,e.jsx)(h,{isPresent:n,childRef:m,sizeRef:f,pop:d,children:!1===d?t:a.cloneElement(t,{ref:y})})}function d(){return new Map}t.s(["PresenceChild",0,({children:t,initial:o,isPresent:a,onExitComplete:l,custom:u,presenceAffectsLayout:h,mode:p,anchorX:m,anchorY:f,root:g})=>{let y=(0,s.useConstant)(d),v=(0,i.useId)(),x=(0,i.useRef)(a),b=(0,i.useRef)(l);(0,r.useIsomorphicLayoutEffect)(()=>{x.current=a,b.current=l});let T=!0,w=(0,i.useMemo)(()=>(T=!1,{id:v,initial:o,isPresent:a,custom:u,onExitComplete:t=>{for(let e of(y.set(t,!0),y.values()))if(!e)return;l&&l()},register:t=>(y.set(t,!1),()=>{y.delete(t),x.current||y.size||b.current?.()})}),[a,y,l]);return h&&T&&(w={...w}),(0,i.useMemo)(()=>{y.forEach((t,e)=>y.set(e,!1))},[a]),i.useEffect(()=>{a||y.size||!l||l()},[a]),t=(0,e.jsx)(c,{pop:"popLayout"===p,isPresent:a,anchorX:m,anchorY:f,root:g,children:t}),(0,e.jsx)(n.PresenceContext.Provider,{value:w,children:t})}],400915)},24995,t=>{"use strict";var e=t.i(47325),i=t.i(550519);t.s(["usePresence",0,function(t=!0){let n=(0,e.useContext)(i.PresenceContext);if(null===n)return[!0,null];let{isPresent:s,onExitComplete:r,register:o}=n,a=(0,e.useId)();(0,e.useEffect)(()=>{if(t)return o(a)},[t]);let l=(0,e.useCallback)(()=>t&&r&&r(a),[a,r,t]);return!s&&r?[!1,l]:[!0]}])},875513,t=>{"use strict";let e=(0,t.i(47325).createContext)({});t.s(["LayoutGroupContext",0,e])},282104,t=>{"use strict";let e=(0,t.i(47325).createContext)({strict:!1});t.s(["LazyContext",0,e])},367356,t=>{"use strict";let e=(0,t.i(47325).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",0,e])},402184,520783,744905,46303,747468,880730,495117,t=>{"use strict";var e=t.i(47325);let i=(0,e.createContext)({});t.s(["MotionContext",0,i],402184);var n=t.i(963154),s=t.i(811190);function r(t){return Array.isArray(t)?t.join(" "):t}t.s(["useCreateMotionContext",0,function(t){let{initial:o,animate:a}=function(t,e){if((0,n.isControllingVariants)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,s.isVariantLabel)(e)?e:void 0,animate:(0,s.isVariantLabel)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,e.useContext)(i));return(0,e.useMemo)(()=>({initial:o,animate:a}),[r(o),r(a)])}],520783);var o=t.i(320374),a=t.i(141815),l=t.i(420560);let u=()=>({style:{},transform:{},transformOrigin:{},vars:{}});
10function h(t,e,i){for(let n in e)(0,o.isMotionValue)(e[n])||(0,a.isForcedMotionValue)(n,i)||(t[n]=e[n])}t.s(["createHtmlRenderState",0,u],744905);var c=t.i(611875),d=t.i(316033);let p=()=>({...u(),attrs:{}});t.s(["createSvgRenderState",0,p],46303);let m=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","propagate","ignoreStrict","viewport"]);function f(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||m.has(t)}var g=t.i(507408);t.s(["useRender",0,function(t,i,n,{latestValues:s},r,a=!1,m,y){let v=(m??(0,g.isSVGComponent)(t)?function(t,i,n,s){let r=(0,e.useMemo)(()=>{let e=p();return(0,c.buildSVGAttrs)(e,i,(0,d.isSVGTag)(s),t.transformTemplate,t.style),{...e.attrs,style:{...e.style}}},[i]);if(t.style){let e={};h(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,i){let n,s,r={},o=(n=t.style||{},h(s={},n,t),Object.assign(s,function({transformTemplate:t},i){return(0,e.useMemo)(()=>{let e=u();return(0,l.buildHTMLStyles)(e,i,t),Object.assign({},e.vars,e.style)},[i])}(t,i)),s);return t.drag&&!1!==t.dragListener&&(r.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)&&(r.tabIndex=0),r.style=o,r})(i,s,r,t),x=function(t,e,i,n){let s={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&!(0,o.isMotionValue)(t[r])&&((r.startsWith("on")?!f(r):n?.(r)??!f(r))||!0===i&&f(r)||!e&&!f(r)||t.draggable&&r.startsWith("onDrag"))&&(s[r]=t[r]);return s}(i,"string"==typeof t,a,y),b=t!==e.Fragment?{...x,...v,ref:n}:{},{children:T}=i,w=(0,e.useMemo)(()=>(0,o.isMotionValue)(T)?T.get():T,[T]);return(0,e.createElement)(t,{...b,children:w})}],747468);var y=t.i(258116);t.s(["scrapeHTMLMotionValuesFromProps",()=>y.scrapeMotionValuesFromProps],880730),t.s(["resolveMotionValue",0,function(t){return(0,o.isMotionValue)(t)?t.get():t}],495117)},550519,t=>{"use strict";let e=(0,t.i(47325).createContext)(null);t.s(["PresenceContext",0,e])},582804,504597,220135,583165,363222,766047,881715,t=>{"use strict";let e,i;var n=t.i(764277),s=t.i(462328),r=t.i(963839),o=t.i(248157),a=t.i(631799),l=t.i(510939),u=t.i(537652),h=t.i(155537),c=t.i(725484),d=t.i(267615),p=t.i(984790),m=t.i(40240),f=t.i(538155),g=t.i(696841),y=t.i(781678);function v(t){return(0,y.isObject)(t)&&"ownerSVGElement"in t}t.s(["isSVGElement",0,v],504597);var x=t.i(599201);let b=new WeakMap,T=(t,e,i)=>(n,s)=>s&&s[0]?s[0][t+"Size"]:v(n)&&"getBBox"in n?n.getBBox()[e]:n[i],w=T("inline","width","offsetWidth"),S=T("block","height","offsetHeight");function P({target:t,borderBoxSize:e}){b.get(t)?.forEach(i=>{i(t,{get width(){return w(t,e)},get height(){return S(t,e)}})})}function M(t){t.forEach(P)}let V=new Set;function A(t,n){let s;return"function"==typeof t?(V.add(t),i||(i=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};V.forEach(e=>e(t))},window.addEventListener("resize",i)),()=>{V.delete(t),V.size||"function"!=typeof i||(window.removeEventListener("resize",i),i=void 0)}):(!e&&"u">typeof ResizeObserver&&(e=new ResizeObserver(M)),(s=(0,x.resolveElements)(t)).forEach(t=>{let i=b.get(t);i||(i=new Set,b.set(t,i)),i.add(n),e?.observe(t)}),()=>{s.forEach(t=>{let i=b.get(t);i?.delete(n),i?.size||e?.unobserve(t)})})}let C=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),E=new Set(["INPUT","SELECT","TEXTAREA"]);function D(t){return E.has(t.tagName)||!0===t.isContentEditable}t.s(["isElementKeyboardAccessible",0,function(t){return C.has(t.tagName)||!0===t.isContentEditable},"isElementTextInput",0,D],220135);var R=t.i(943928);let k=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function L(t){return{point:{x:t.pageX,y:t.pageY}}}t.s(["isPrimaryPointer",0,k],583165);let B=t=>e=>k(e)&&t(e,L(e));function F(t,e,i,n){return(0,p.addDomEvent)(t,e,B(i),n)}t.s(["addPointerInfo",0,B,"extractEventInfo",0,L],363222);let j=({current:t})=>t?t.ownerDocument.defaultView:null;var I=t.i(699737),O=t.i(875086),N=t.i(132802),W=t.i(283609);let U=(t,e)=>Math.abs(t-e),$=new Set(["auto","scroll"]);class H{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:s=!1,distanceThreshold:r=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.hasPendingMove=!1,this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=z(this.lastRawMoveEventInfo,this.transformPagePoint));let i=Y(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,s=(t=i.offset,e={x:0,y:0},Math.sqrt(U(t.x,e.x)**2+U(t.y,e.y)**2)>=this.distanceThreshold);if(!n&&!s)return;let{point:r}=i;this.history.push({...r,timestamp:O.time.now()});
10let{onStart:o,onMove:a}=this.handlers;n||(o&&o(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=z(e,this.transformPagePoint),this.hasPendingMove=!0,o.frame.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.hasPendingMove&&this.updatePoint(),this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:s}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&s&&s(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=Y("pointercancel"===t.type?this.lastMoveEventInfo:z(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),n&&n(t,r)},!k(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=r,this.contextWindow=n||window;const l=z(L(t),this.transformPagePoint),{point:u}=l,{timestamp:h}=o.frameData;this.history=[{...u,timestamp:h}];const{onSessionStart:c}=e;c&&c(t,Y(l,this.history));const d={passive:!0,capture:!0};this.removeListeners=(0,N.pipe)(F(this.contextWindow,"pointermove",this.handlePointerMove,d),F(this.contextWindow,"pointerup",this.handlePointerUp,d),F(this.contextWindow,"pointercancel",this.handlePointerUp,d)),a&&this.startScrollTracking(a)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);($.has(t.overflowX)||$.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,n=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:n.x-e.x,y:n.y-e.y};(0!==s.x||0!==s.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,n),o.frame.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,o.cancelFrame)(this.updatePoint)}}function z(t,e){return e?{point:e(t.point)}:t}function G(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Y({point:t},e){return{point:t,delta:G(t,K(e)),offset:G(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,n=K(t);for(;e>=0&&(i=t[e],!(n.timestamp-i.timestamp>(0,W.secondsToMilliseconds)(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&n.timestamp-i.timestamp>2*(0,W.secondsToMilliseconds)(.1)&&(i=t[1]);let s=(0,W.millisecondsToSeconds)(n.timestamp-i.timestamp);if(0===s)return{x:0,y:0};let r={x:(n.x-i.x)/s,y:(n.y-i.y)/s};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}(e)}}function K(t){return t[t.length-1]}var X=t.i(935884),_=t.i(48540);function q(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 Z(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function J(t,e,i){return{min:Q(t,e),max:Q(t,i)}}function Q(t,e){return"number"==typeof t?t:t[e]||0}let tt=new WeakMap;class te{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,r.createBox)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let s=t=>{e&&this.snapToCursor(t),this.stopAnimation()},r=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:s}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,m.setDragLock)(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,a.eachAxis)(t=>{let e=this.getAxisMotionValue(t).get()||0;if(f.percent.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];
10n&&(e=(0,g.calcLength)(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&&o.frame.update(()=>s(t,e),!1,!0),(0,h.addValueToWillChange)(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},l=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:s,onDrag:r}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(a),null!==this.currentDirection&&s&&s(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),r&&o.frame.update(()=>r(t,e),!1,!0)},u=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new H(t,{onSessionStart:s,onStart:r,onMove:l,onSessionEnd:u,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:i,contextWindow:j(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!n||!i)return;let{velocity:r}=n;this.startAnimation(r);let{onDragEnd:a}=this.getProps();a&&o.frame.postRender(()=>a(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!tn(t,n,this.currentDirection))return;let s=this.getAxisMotionValue(t),r=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(r=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?(0,d.mixNumber)(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?(0,d.mixNumber)(i,t,n.max):Math.min(t,i)),t}(r,this.constraints[t],this.elastic[t])),s.set(r)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&(0,I.isRefObject)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:s}){return{x:q(t.x,i,s),y:q(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:J(t,"left","right"),y:J(t,"top","bottom")}}(e),n!==this.constraints&&!(0,I.isRefObject)(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&(0,a.eachAxis)(t=>{var e,n;let s;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],n=this.constraints[t],s={},void 0!==n.min&&(s.min=n.min-e.min),void 0!==n.max&&(s.max=n.max-e.min),s))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,I.isRefObject)(e))return!1;let n=e.current;(0,R.invariant)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;s.root&&(s.root.scroll=void 0,s.root.updateScroll());let r=(0,l.measurePageBox)(n,s.root,this.visualElement.getTransformPagePoint()),o=(t=s.layout.layoutBox,{x:Z(t.x,r.x),y:Z(t.y,r.y)});if(i){let t=i((0,u.convertBoxToBoundingBox)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,u.convertBoundingBoxToBox)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:s,dragSnapToOrigin:r,onDragTransitionEnd:o}=this.getProps(),l=this.constraints||{};return Promise.all((0,a.eachAxis)(o=>{if(!tn(o,e,this.currentDirection))return;let a=l&&l[o]||{};(!0===r||r===o)&&(a={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...s,...a};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,h.addValueToWillChange)(this.visualElement,t),i.start((0,c.animateMotionValue)(t,i,0,e,this.visualElement,!1))}stopAnimation(){(0,a.eachAxis)(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`;return this.visualElement.getProps()[e]||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor({clientX:t,clientY:e}){let{drag:i}=this.getProps(),n={x:t,y:e},s=this.visualElement.getTransformPagePoint()?.(n)||n,r=this.visualElement.measureViewportBox();(0,a.eachAxis)(t=>{if(!tn(t,i,this.currentDirection))return;let e=this.getAxisMotionValue(t),{min:n,max:o}=r[t];e.set((e.get()||0)+s[t]-(0,d.mixNumber)(n,o,.5))})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,I.isRefObject)(e)||!i||!this.constraints)return;this.stopAnimation();let n=this.constraints,s={x:0,y:0};(0,a.eachAxis)(t=>{var e,i;let r,o,a,l=this.getAxisMotionValue(t).get();s[t]=(e={min:l,max:l},i=n[t],r=.5,o=(0,g.calcLength)(e),(a=(0,g.calcLength)(i))>o?r=(0,X.progress)(i.min,i.max-o,e.min):o>a&&(r=(0,X.progress)(e.min,e.max-a,i.min)),(0,_.clamp)(0,1,r))});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),(0,a.eachAxis)(e=>{let i=this.getAxisMotionValue(e);if(!tn(e,t,null)||!i.get())return;let{min:n,max:r}=this.constraints[e];i.set((0,d.mixNumber)(n,r,s[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;tt.set(this.visualElement,this);let e=this.visualElement.current,i=F(e,"pointerdown",t=>{let{drag:i,dragListener:n=!0}
10=this.getProps(),s=t.target,r=s!==e&&D(s);i&&n&&!r&&this.start(t)}),n=()=>{var i,n,s;let r,o,{dragConstraints:a}=this.getProps();(0,I.isRefObject)(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,n=a.current,r=A(i,ti(s=()=>this.scalePositionWithinConstraints())),o=A(n,ti(s)),t=()=>{r(),o()}))},{projection:s}=this.visualElement,r=s.addEventListener("measure",n);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),o.frame.read(n);let l=(0,p.addDomEvent)(window,"resize",()=>this.scalePositionWithinConstraints()),u=s.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&((0,a.eachAxis)(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{l(),i(),r(),u&&u(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:s=!1,dragElastic:r=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:s,dragElastic:r,dragMomentum:o}}}function ti(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function tn(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class ts extends n.Feature{constructor(t){super(t),this.removeGroupControls=s.noop,this.removeListeners=s.noop,this.controls=new te(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||s.noop}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}t.s(["DragGesture",0,ts],582804);var tr=n;let to=t=>(e,i)=>{t&&o.frame.update(()=>t(e,i),!1,!0)};class ta extends tr.Feature{constructor(){super(...arguments),this.removePointerDownListener=s.noop}onPointerDown(t){this.session=new H(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:j(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:to(t),onStart:to(e),onMove:to(i),onEnd:(t,e)=>{delete this.session,n&&o.frame.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=F(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}t.s(["PanGesture",0,ta],766047),t.s(["globalProjectionState",0,{hasAnimatedSinceResize:!0,hasEverUpdated:!1}],881715)},904068,805355,833330,80288,280561,273372,t=>{"use strict";var e=t.i(582804),i=t.i(766047),n=t.i(786692),s=t.i(881715),r=t.i(248157),o=t.i(301129),a=t.i(47325),l=t.i(24995),u=t.i(875513),h=t.i(623798);let c=!1;class d extends a.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),c&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),s.globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:s}=this.props,{projection:o}=i;return o&&(o.isPresent=s,t.layoutDependency!==e&&o.setOptions({...o.options,layoutDependency:e}),c=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==s?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||r.frame.postRender(()=>{let t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),o.microtask.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;c=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function p(t){let[e,i]=(0,l.usePresence)(),s=(0,a.useContext)(u.LayoutGroupContext);return(0,n.jsx)(d,{...t,layoutGroup:s,switchLayoutGroup:(0,a.useContext)(h.SwitchLayoutGroupContext),isPresent:e,safeToRemove:i})}t.s(["MeasureLayout",0,p],805355);var m=t.i(572296),f=t.i(48540),g=t.i(462328),y=t.i(725484),v=t.i(66440),x=t.i(320374),b=t.i(227266),T=t.i(630903),w=t.i(606318),S=t.i(875086),P=t.i(629625);t.i(283609);
10var M=t.i(504597),V=t.i(267615),A=t.i(495117),C=t.i(538155),E=t.i(935884),D=t.i(666914),R=t.i(219296);let k=R.cornerRadiusProps.length,L=t=>"string"==typeof t?parseFloat(t):t,B=t=>"number"==typeof t||C.px.test(t);function F(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let j=O(0,.5,D.circOut),I=O(.5,.95,g.noop);function O(t,e,i){return n=>n<t?0:n>e?1:i((0,E.progress)(t,e,n))}function N(t,e){t.min=e.min,t.max=e.max}function W(t,e){N(t.x,e.x),N(t.y,e.y)}function U(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var $=t.i(700213),H=t.i(696841);function z(t,e,i,n,s){return t-=e,t=(0,$.scalePoint)(t,1/i,n),void 0!==s&&(t=(0,$.scalePoint)(t,1/s,n)),t}function G(t,e,[i,n,s],r,o){!function(t,e=0,i=1,n=.5,s,r=t,o=t){if(C.percent.test(e)&&(e=parseFloat(e),e=(0,V.mixNumber)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,V.mixNumber)(r.min,r.max,n);t===r&&(a-=e),t.min=z(t.min,e,i,a,s),t.max=z(t.max,e,i,a,s)}(t,e[i],e[n],e[s],e.scale,r,o)}let Y=["x","scaleX","originX"],K=["y","scaleY","originY"];function X(t,e,i,n){G(t.x,e,Y,i?i.x:void 0,n?n.x:void 0),G(t.y,e,K,i?i.y:void 0,n?n.y:void 0)}var _=t.i(963839);function q(t){return 0===t.translate&&1===t.scale}function Z(t){return q(t.x)&&q(t.y)}function J(t,e){return t.min===e.min&&t.max===e.max}function Q(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function tt(t,e){return Q(t.x,e.x)&&Q(t.y,e.y)}function te(t){return(0,H.calcLength)(t.x)/(0,H.calcLength)(t.y)}function ti(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var tn=t.i(507298);class ts{constructor(){this.members=[]}add(t){(0,tn.addUniqueItem)(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let n=i.instance;n&&!1!==n.isConnected||i.snapshot||((0,tn.removeItem)(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if((0,tn.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)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:n}=i.options,{layoutDependency:s}=t.options;(void 0===n||n!==s)&&(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}var tr=t.i(631799);let to=(t,e)=>t.depth-e.depth;class ta{constructor(){this.children=[],this.isDirty=!1}add(t){(0,tn.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,tn.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(to),this.isDirty=!1,this.children.forEach(t)}}var tl=t.i(258022);let tu=["","X","Y","Z"],th=0;function tc(t,e,i,n){let{latestValues:s}=e;s[t]&&(i[t]=s[t],e.setStaticValue(t,0),n&&(n[t]=0))}function td({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:a}){return class{constructor(t={},i=e?.()){this.id=th++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
10{this.projectionUpdateScheduled=!1,this.nodes.forEach(tf),this.nodes.forEach(tM),this.nodes.forEach(tV),this.nodes.forEach(tg)},this.resolvedRelativeTargetAt=0,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 ta)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new m.SubscriptionManager),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=(0,M.isSVGElement)(e)&&(!(0,M.isSVGElement)(e)||"svg"!==e.tagName),this.instance=e;let{layoutId:i,layout:n,visualElement:o}=this.options;if(o&&!o.current&&o.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i,n=0,o=()=>this.root.updateBlockedByResize=!1;r.frame.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==n){let e,a;n=t,this.root.updateBlockedByResize=!0,i&&i(),e=S.time.now(),a=({timestamp:t})=>{let i=t-e;i>=250&&((0,r.cancelFrame)(a),o())},r.frame.setup(a,!0),i=()=>(0,r.cancelFrame)(a),s.globalProjectionState.hasAnimatedSinceResize&&(s.globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(tP))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&o&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||o.getDefaultTransition()||tk,{onLayoutAnimationStart:r,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!tt(this.targetLayout,n),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,w.getValueTransition)(s,"layout"),onPlay:r,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u,e.path)}else e||tP(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,r.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(tA),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.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=(0,T.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",r.frame,!(t||i))}let{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&t(s)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEac
10h(tx),this.nodes.forEach(tv);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(tb);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(tT),this.nodes.forEach(tw),this.nodes.forEach(tS),this.nodes.forEach(tp),this.nodes.forEach(tm)):this.nodes.forEach(tb),this.clearAllSnapshots();let t=S.time.now();r.frameData.delta=(0,f.clamp)(0,1e3/60,t-r.frameData.timestamp),r.frameData.timestamp=t,r.frameData.isProcessing=!0,r.frameSteps.update.process(r.frameData),r.frameSteps.preRender.process(r.frameData),r.frameSteps.render.process(r.frameData),r.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,o.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ty),this.sharedNodes.forEach(tC)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,r.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){r.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,H.calcLength)(this.snapshot.measuredBox.x)||(0,H.calcLength)(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected||(this.layoutCorrected=(0,_.createBox)()),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);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!a)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!Z(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,tl.hasTransform)(this.latestValues)||s)&&(a(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),tF((e=n).x),tF(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,_.createBox)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(tI))){let{scroll:t}=this.root;t&&((0,$.translateAxis)(e.x,t.offset.x),(0,$.translateAxis)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,_.createBox)();if(W(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:s,options:r}=n;n!==this.root&&s&&r.layoutScroll&&(s.wasRoot&&W(e,t),(0,$.translateAxis)(e.x,s.offset.x),(0,$.translateAxis)(e.y,s.offset.y))}return e}applyTransform(t,e=!1,i){let n=i||(0,_.createBox)();W(n,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&((0,$.translateAxis)(n.x,-i.scroll.offset.x),(0,$.translateAxis)(n.y,-i.scroll.offset.y)),(0,tl.hasTransform)(i.latestValues)&&(0,$.transformBox)(n,i.latestValues,i.layout?.layoutBox)}return(0,tl.hasTransform)(this.latestValues)&&(0,$.transformBox)(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(t){let e=(0,_.createBox)();W(e,t);for(let t=0;t<this.path.length;t++){let i,n=this.path[t];(0,tl.hasTransform)(n.latestValues)&&(n.instance&&((0,tl.hasScale)(n.latestValues)&&n.updateSnapshot(),W(i=(0,_.createBox)(),n.measurePageBox())),X(e,n.latestValues,n.snapshot?.layoutBox,i))}return(0,tl.hasTransform)(this.latestValues)&&X(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!==r.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:s}=this.options;if(!this.layout||!(n||s))return;this.resolvedRelativeTargetAt=r.frameData.timestamp;let o=this.getClosestProjectingParent();this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=(0,_.createBox)(),this.targetWithTransforms=(0,_.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,H.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):W(this.target,this.layout.layoutBox),(0,$.applyBoxDelta)(this.target,this.targetDelta)):W(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&o&&!!o.resumingFrom==!!this.resumingFrom&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||(0,tl.hasScale)(this.parent.latestValues)||(0,tl.has2DTranslate)(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)}createRelativeTarget(t,e,i){this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,_.createBox)(),this.relativeTargetOrigin=(0,_.createBox)(),(0,H.calcRelativePosition)(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),W(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
10if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===r.frameData.timestamp&&(i=!1),i)return;let{layout:n,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||s))return;W(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;(0,$.applyTreeDeltas)(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,_.createBox)());let{target:l}=t;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(U(this.prevProjectionDelta.x,this.projectionDelta.x),U(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,H.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&ti(this.projectionDelta.x,this.prevProjectionDelta.x)&&ti(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,_.createDelta)(),this.projectionDelta=(0,_.createDelta)(),this.projectionDeltaWithTransform=(0,_.createDelta)()}setAnimationOrigin(t,e=!1,i){let n,s=this.snapshot,r=s?s.latestValues:{},o={...this.latestValues},a=(0,_.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let l=(0,_.createBox)(),u=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),c=!h||h.members.length<=1,d=!!(u&&!c&&!0===this.options.crossfade&&!this.path.some(tR));this.animationProgress=0;let p=i?.interpolateProjection(t);this.mixTargetDelta=e=>{let i=e/1e3,s=p?.(i);if(s?(a.x.translate=s.x,a.x.scale=(0,V.mixNumber)(t.x.scale,1,i),a.x.origin=t.x.origin,a.x.originPoint=t.x.originPoint,a.y.translate=s.y,a.y.scale=(0,V.mixNumber)(t.y.scale,1,i),a.y.origin=t.y.origin,a.y.originPoint=t.y.originPoint):(tE(a.x,t.x,i),tE(a.y,t.y,i)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,m,f,g,y,v;(0,H.calcRelativePosition)(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),f=this.relativeTarget,g=this.relativeTargetOrigin,y=l,v=i,tD(f.x,g.x,y.x,v),tD(f.y,g.y,y.y,v),n&&(h=this.relativeTarget,m=n,J(h.x,m.x)&&J(h.y,m.y))&&(this.isProjectionDirty=!1),n||(n=(0,_.createBox)()),W(n,this.relativeTarget)}u&&(this.animationValues=o,function(t,e,i,n,s,r){s?(t.opacity=(0,V.mixNumber)(0,i.opacity??1,j(n)),t.opacityExit=(0,V.mixNumber)(e.opacity??1,0,I(n))):r&&(t.opacity=(0,V.mixNumber)(e.opacity??1,i.opacity??1,n));for(let s=0;s<k;s++){let r=R.cornerRadiusProps[s],o=F(e,r),a=F(i,r);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||B(o)===B(a)?(t[r]=Math.max((0,V.mixNumber)(L(o),L(a),n),0),(C.percent.test(a)||C.percent.test(o))&&(t[r]+="%")):t[r]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,V.mixNumber)(e.rotate||0,i.rotate||0,n))}(o,r,this.latestValues,i,d,c)),s&&void 0!==s.rotate&&(this.animationValues||(this.animationValues=o),this.animationValues.pathRotation=s.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,r.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=r.frame.update(()=>{var e,i,n;let r;s.globalProjectionState.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=(0,v.motionValue)(0)),this.motionValue.jump(0,!1),this.currentAnimation=(e=this.motionValue,i=[0,1e3],n={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}},(r=(0,x.isMotionValue)(e)?e:(0,v.motionValue)(e)).start((0,y.animateMotionValue)("",r,i,n)),r.animation),(0,b.notifyLayoutAnimationStart)(this.currentAnimation,this),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,layout:i,latestValues:n}=t,{target:s}=t;
10if(e&&s&&i){if(this!==t&&this.layout&&i&&tj(this.options.animationType,this.layout.layoutBox,i.layoutBox)){s=this.target||(0,_.createBox)();let e=(0,H.calcLength)(this.layout.layoutBox.x);s.x.min=t.target.x.min,s.x.max=s.x.min+e;let i=(0,H.calcLength)(this.layout.layoutBox.y);s.y.min=t.target.y.min,s.y.max=s.y.min+i}W(e,s),(0,$.transformBox)(e,n),(0,H.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new ts),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(){let{layoutId:t}=this.options;return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.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 n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&tc("z",t,n,this.animationValues);for(let e=0;e<tu.length;e++)tc(`rotate${tu[e]}`,t,n,this.animationValues),tc(`skew${tu[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=(0,A.resolveMotionValue)(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,A.resolveMotionValue)(e?.pointerEvents)||""),this.hasProjected&&!(0,tl.hasTransform)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let s=n.animationValues||n.latestValues;this.applyTransformsToTarget();let r=function(t,e,i){let n="",s=t.x.translate/e.x,r=t.y.translate/e.y,o=i?.z||0;if((s||r||o)&&(n=`translate3d(${s}px, ${r}px, ${o}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,pathRotation:s,rotateX:r,rotateY:o,skewX:a,skewY:l}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),s&&(n+=`rotate(${s}deg) `),r&&(n+=`rotateX(${r}deg) `),o&&(n+=`rotateY(${o}deg) `),a&&(n+=`skewX(${a}deg) `),l&&(n+=`skewY(${l}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,s);i&&(r=i(s,r)),t.transform=r;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,n.animationValues?t.opacity=n===this?s.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:t.opacity=n===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,P.scaleCorrectors){if
10(void 0===s[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=P.scaleCorrectors[e],l="none"===r?s[e]:i(s[e],n);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?(0,A.resolveMotionValue)(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(tv),this.root.sharedNodes.clear()}}}function tp(t){t.updateLayout()}function tm(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=t.layout,{animationType:s}=t.options,r=e.source!==t.layout.source;if("size"===s)(0,tr.eachAxis)(t=>{let n=r?e.measuredBox[t]:e.layoutBox[t],s=(0,H.calcLength)(n);n.min=i[t].min,n.max=n.min+s});else if("x"===s||"y"===s){let t="x"===s?"y":"x";N(r?e.measuredBox[t]:e.layoutBox[t],i[t])}else tj(s,e.layoutBox,i)&&(0,tr.eachAxis)(n=>{let s=r?e.measuredBox[n]:e.layoutBox[n],o=(0,H.calcLength)(i[n]);s.max=s.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=(0,_.createDelta)();(0,H.calcBoxDelta)(o,i,e.layoutBox);let a=(0,_.createDelta)();r?(0,H.calcBoxDelta)(a,t.applyTransform(n,!0),e.measuredBox):(0,H.calcBoxDelta)(a,i,e.layoutBox);let l=!Z(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:s,layout:r}=n;if(s&&r){let o=t.options.layoutAnchor||void 0,a=(0,_.createBox)();(0,H.calcRelativePosition)(a,e.layoutBox,s.layoutBox,o);let l=(0,_.createBox)();(0,H.calcRelativePosition)(l,i,r.layoutBox,o),tt(a,l)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function tf(t){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 tg(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function ty(t){t.clearSnapshot()}function tv(t){t.clearMeasurements()}function tx(t){t.isLayoutDirty=!0,t.updateLayout()}function tb(t){t.isLayoutDirty=!1}function tT(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function tw(t){t.relativeTarget&&t.relativeParent?.isLayoutDirty&&(t.currentAnimation?t.isLayoutDirty=!0:(t.targetDelta=void 0,t.removeRelativeTarget()))}function tS(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tP(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tM(t){t.resolveTargetDelta()}function tV(t){t.calcProjection()}function tA(t){t.resetSkewAndRotation()}function tC(t){t.removeLeadSnapshot()}function tE(t,e,i){t.translate=(0,V.mixNumber)(e.translate,0,i),t.scale=(0,V.mixNumber)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function tD(t,e,i,n){t.min=(0,V.mixNumber)(e.min,i.min,n),t.max=(0,V.mixNumber)(e.max,i.max,n)}function tR(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tk={duration:.45,ease:[.4,0,.1,1]},tL=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),tB=tL("applewebkit/")&&!tL("chrome/")?Math.round:g.noop;function tF(t){t.min=tB(t.min),t.max=tB(t.max)}function tj(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,H.isNear)(te(e),te(i),.2)}function tI(t){return t!==t.root&&t.scroll?.wasRoot}var tO=t.i(984790);let tN=td({attachResizeListener:(t,e)=>(0,tO.addDomEvent)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),tW={current:void 0},tU=td({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tW.current){let t=new tN({});t.mount(window),t.setOptions({layoutScroll:!0}),tW.current=t}return tW.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});t.s(["HTMLProjectionNode",0,tU],833330);let t$={pan:{Feature:i.PanGesture},drag:{Feature:e.DragGesture,ProjectionNode:tU,MeasureLayout:p}};t.s(["drag",0,t$],904068);
10var tH=t.i(764277),tz=t.i(249729),tG=t.i(599201);function tY(t,e){let i=(0,tG.resolveElements)(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}t.s(["setupGesture",0,tY],80288);var tK=t.i(363222);function tX(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=n["onHover"+i];s&&r.frame.postRender(()=>s(e,(0,tK.extractEventInfo)(e)))}class t_ extends tH.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,s,r]=tY(t,i);return n.forEach(t=>{let i,n=!1,r=!1,o=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},a=t=>{n=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),r&&(r=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(n){r=!0;return}o(t)}};t.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||(0,tz.isDragActive)())return;r=!1;let o=e(t,n);"function"==typeof o&&(i=o,t.addEventListener("pointerleave",l,s))},s),t.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",a,s)},s)}),r}(t,(t,e)=>(tX(this.node,e,"Start"),t=>tX(this.node,t,"End"))))}unmount(){}}t.s(["HoverGesture",0,t_],280561);var tq=tH,tZ=t.i(132802);class tJ extends tq.Feature{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,tZ.pipe)((0,tO.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,tO.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}t.s(["FocusGesture",0,tJ],273372)},293740,764277,606318,155537,630903,132802,666914,935884,725484,270118,631799,984790,249729,40240,696841,t=>{"use strict";var e=t.i(786692),i=t.i(47325),n=t.i(875513),s=t.i(282104),r=t.i(367356),o=t.i(402184),a=t.i(520783),l=t.i(747468),u=t.i(507408),h=t.i(291165),c=t.i(660914),d=t.i(49613),p=t.i(256849),m=t.i(536918),f=t.i(423855),g=t.i(292021),y=t.i(550519),v=t.i(623798),x=t.i(699737),b=t.i(363240);function T(t,{forwardMotionProps:w=!1,type:S}={},P,M){P&&(0,p.loadFeatures)(P);let V=S?"svg"===S:(0,u.isSVGComponent)(t),A=V?c.useSVGVisualState:h.useHTMLVisualState;function C(u,h){let c,p={...(0,i.useContext)(r.MotionConfigContext),...u,layoutId:function({layoutId:t}){let e=(0,i.useContext)(n.LayoutGroupContext).id;return e&&void 0!==t?e+"-"+t:t}(u)},{isStatic:m,isValidProp:T}=p,S=(0,a.useCreateMotionContext)(u),P=A(u,m);if(!m&&"u">typeof window){(0,i.useContext)(s.LazyContext).strict;let e=function(t){let{drag:e,layout:i}=(0,d.getInitializedFeatureDefinitions)();if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(p);c=e.MeasureLayout,S.visualElement=function(t,e,n,a,l,u){let{visualElement:h}=(0,i.useContext)(o.MotionContext),c=(0,i.useContext)(s.LazyContext),d=(0,i.useContext)(y.PresenceContext),p=(0,i.useContext)(r.MotionConfigContext),m=p.reducedMotion,f=p.skipAnimations,T=(0,i.useRef)(null),w=(0,i.useRef)(!1);a=a||c.renderer,!T.current&&a&&(T.current=a(t,{visualState:e,parent:h,props:n,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:m,skipAnimations:f,isSVG:u}),w.current&&T.current&&(T.current.manuallyAnimateOnMount=!0));let S=T.current,P=(0,i.useContext)(v.SwitchLayoutGroupContext);S&&!S.projection&&l&&("html"===S.type||"svg"===S.type)&&function(t,e,i,n){let{layoutId:s,layout:r,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:h,layoutCrossfade:c}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:s,layout:r,alwaysMeasureLayout:!!o||a&&(0,x.isRefObject)(a),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:n,crossfade:c,layoutScroll:l,layoutRoot:u,layoutAnchor:h})}(T.current,n,l,P);let M=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{S&&M.current&&S.update(n,d)});let V=n[g.optimizedAppearDataAttribute],A=(0,i.useRef)(!!V&&"u">typeof window&&!window.MotionHandoffIsComplete?.(V)&&window.MotionHasOptimisedAnimation?.(V));return(0,b.useIsomorphicLayoutEffect)(()=>{w.current&&S&&(S.animationState?.animateChanges(),S.enteringChildren=void 0)},[]),(0,b.useIsomorphicLayoutEffect)(()=>{w.current=!0,S&&(M.current=!0,window.MotionIsMounted=!0,S.updateFeatures(),S.scheduleRenderMicrotask(),A.current&&S.animationState&&S.animationState.animateChanges())}),(0,i.useEffect)(()=>{S&&(!A.current&&S.animationState&&S.animationState.animateChanges(),A.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(V)}),A.current=!1),S.enteringChildren=void 0)}),S}(t,P,p,M,e.ProjectionNode,V)}return(0,e.jsxs)(o.MotionContext.Provider,{value:S,children:[c&&S.visualElement?(0,e.jsx)(c,{visualElement:S.visualElement,...p}):null,(0,l.useRender)(t,u,(0,f.useMotionRef)(P,S.visualElement,h),P,m,w,V,T)]})}C.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let E=(0,i.forwardRef)(C);return E[m.motionComponentSymbol]=t,E}t.s(["createMotionProxy",0,function(t,e){if("u"<typeof Proxy)return T;let i=new Map,n=(i,n)=>T(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(s,r)=>"create"===r?n:(i.has(r)||i.set(r,T(r,void 0,t,e)),i.get(r))})}],293740);class w{constructor(t){this.isMounted=!1,this.node=t}update(){}}t.s(["Feature",0,w],764277);var S=t.i(729824);function P(t,e,i){let n=t.getProps();return(0,S.resolveVariantFromProps)(n,e,void 0!==i?i:n.custom,t)}function M(t,e){if(t?.inherit&&e){let{inherit:i,...n}=t;return{...e,...n}}return t}function V(t,e){let i=t?.[e]??t?.default??t;return i!==t?M(i,t):i}t.s(["getValueTransition",0,V],606318);
10var A=t.i(957921),C=t.i(66440);let E=t=>Array.isArray(t);var D=t.i(213484),R=t.i(320374);function k(t,e){let i=t.getValue("willChange");if((0,R.isMotionValue)(i)&&i.add)return i.add(e);if(!i&&D.MotionGlobalConfig.WillChange){let i=new D.MotionGlobalConfig.WillChange("auto");t.addValue("willChange",i),i.add(e)}}function L(t){return t.props[g.optimizedAppearDataAttribute]}t.s(["addValueToWillChange",0,k],155537),t.s(["getOptimisedAppearId",0,L],630903);var B=t.i(283609),F=t.i(875086);let j=(...t)=>t.reduce((t,e)=>i=>e(t(i)));t.s(["pipe",0,j],132802);var I=t.i(48540),O=t.i(82385),N=t.i(943928),W=t.i(774794),U=t.i(60055),$=t.i(940081),H=t.i(671252),z=t.i(874479);function G(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var Y=t.i(851880);function K(t,e){return i=>i>0?e:t}var X=t.i(267615);let _=(t,e,i)=>{let n=t*t,s=i*(e*e-n)+n;return s<0?0:Math.sqrt(s)},q=[H.hex,Y.rgba,z.hsla];function Z(t){let e=q.find(e=>e.test(t));if(!e)return(0,N.warning)(!1,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!1;let i=e.parse(t);return e===z.hsla&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let s=0,r=0,o=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,a=2*i-n;s=G(a,n,t+1/3),r=G(a,n,t),o=G(a,n,t-1/3)}else s=r=o=i;return{red:Math.round(255*s),green:Math.round(255*r),blue:Math.round(255*o),alpha:n}}(i)),i}let J=(t,e)=>{let i=Z(t),n=Z(e);if(!i||!n)return K(t,e);let s={...i};return t=>(s.red=_(i.red,n.red,t),s.green=_(i.green,n.green,t),s.blue=_(i.blue,n.blue,t),s.alpha=(0,X.mixNumber)(i.alpha,n.alpha,t),Y.rgba.transform(s))},Q=new Set(["none","hidden"]);function tt(t,e){return i=>(0,X.mixNumber)(t,e,i)}function te(t){return"number"==typeof t?tt:"string"==typeof t?(0,W.isCSSVariableToken)(t)?K:U.color.test(t)?J:ts:Array.isArray(t)?ti:"object"==typeof t?U.color.test(t)?J:tn:K}function ti(t,e){let i=[...t],n=i.length,s=t.map((t,i)=>te(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=s[e](t);return i}}function tn(t,e){let i={...t,...e},n={};for(let s in i)void 0!==t[s]&&void 0!==e[s]&&(n[s]=te(t[s])(t[s],e[s]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let ts=(t,e)=>{let i=$.complex.createTransformer(e),n=(0,$.analyseComplexValue)(t),s=(0,$.analyseComplexValue)(e);if(!(n.indexes.var.length===s.indexes.var.length&&n.indexes.color.length===s.indexes.color.length&&n.indexes.number.length>=s.indexes.number.length))return(0,N.warning)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),K(t,e);if(Q.has(t)&&!s.values.length||Q.has(e)&&!n.values.length)return Q.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return j(ti(function(t,e){let i=[],n={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let r=e.types[s],o=t.indexes[r][n[r]],a=t.values[o]??0;i[s]=a,n[r]++}return i}(n,s),s.values),i)},tr=/^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;function to(t,e,i){if("number"==typeof t&&"number"==typeof e&&"number"==typeof i)return(0,X.mixNumber)(t,e,i);if("string"==typeof t&&"string"==typeof e){let i=function(t,e){let i=tr.exec(t);if(!i)return;let n=tr.exec(e);if(!n||i[2]!==n[2])return;let s=i[2],r=parseFloat(i[1]),o=parseFloat(n[1]);return t=>(0,O.sanitize)((0,X.mixNumber)(r,o,t))+s}(t,e);if(i)return i}return te(t)(t,e)}var ta=t.i(248157);let tl=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>ta.frame.update(e,t),stop:()=>(0,ta.cancelFrame)(e),now:()=>ta.frameData.isProcessing?ta.frameData.timestamp:F.time.now()}};var tu=t.i(698234);function th(t,e=50,i=2e4,n){let s=0,r=t.next(s);for(n?.push(r.value);!r.done&&s<i;)s+=e,r=t.next(s),n?.push(r.value);return s>=i?1/0:s}let tc=.01,td=2,tp=.005,tm=.5;function tf(t,e){return t*Math.sqrt(1-e*e)}let tg=(t,e)=>(e?t>=0:t>0)&&t<1/0;function ty(t,e){if(tg(t,e))return t}function tv(t=.3,e=.3){let i,n,s,r="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,o=r.keyframes[0],a=r.keyframes[r.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:h,mass:c,duration:d,isResolvedFromDuration:p,isTimeDefined:m}=function(t){let e=ty(t.stiffness),i=ty(t.damping,!0),n=ty(t.mass),s={...t,stiffness:e??100,damping:i??10,mass:n??1,isResolvedFromDuration:!1,isTimeDefined:(e??i??n)===void 0&&(void 0!==t.duration||void 0!==t.bounce)};if(s.isTimeDefined){if(t.visualDuration){let e=2*Math.PI/(1.2*t.visualDuration);s.stiffness=e*e,s.damping=2*(0,I.clamp)(.05,1,1-(t.bounce||0))*Math.sqrt(s.stiffness)}else Object.assign(s,function({duration:t=800,bounce:e=.3}){let i,n;(0,N.warning)(t<=(0,B.secondsToMilliseconds)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-e;s=(0,I.clamp)(.05,1,s),t=(0,I.clamp)(.01,10,(0,B.millisecondsToSeconds)(t)),s<1?(i=e=>{let i=e*s,n=i*t;return .001-i/tf(e,s)*Math.exp(-n)},n=e=>{let n=e*s*t,r=s*s*e*e*t,o=Math.exp(-n),a=tf(e*e,s);return-((-i(e)+.001>0?-1:1)*r)*o/a}):(i=e=>-.001+Math.exp(-e*t)*(e*t+1),n=e=>-(t*t*e*Math.exp(-e*t)));
10let r=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(i,n,5/t),o=r*r;return{stiffness:o,damping:2*s*Math.sqrt(o),duration:(0,B.secondsToMilliseconds)(t)}}(s)),s.isResolvedFromDuration=!0;tg(s.stiffness)&&tg(s.damping,!0)||(s.stiffness=100,s.damping=10)}return s}({...r}),f=t=>m?0:-(0,B.millisecondsToSeconds)(t),g=h/(2*Math.sqrt(u*c)),y=(0,B.millisecondsToSeconds)(Math.sqrt(u/c)),v=g*y,x={target:a,delta:a-o,velocity:f(r.velocity||0)||0,restSpeed:0,restDelta:0},b=()=>{let t=5>Math.abs(x.delta);x.restSpeed=r.restSpeed||(t?tc:td),x.restDelta=r.restDelta||(t?tp:tm)};if(b(),g<1){let t=tf(y,g),e={A:0,sinC:0,cosC:0,t:-1,env:0,sin:0,cos:0};s=()=>{e.A=(x.velocity+v*x.delta)/t,e.sinC=v*e.A+x.delta*t,e.cosC=v*x.delta-e.A*t};let r=i=>{i!==e.t&&(e.t=i,e.env=Math.exp(-v*i),e.sin=Math.sin(t*i),e.cos=Math.cos(t*i))};i=t=>(r(t),x.target-e.env*(e.A*e.sin+x.delta*e.cos)),n=t=>(r(t),e.env*(e.sinC*e.sin+e.cosC*e.cos))}else if(1===g){i=t=>x.target-Math.exp(-y*t)*(x.delta+(x.velocity+y*x.delta)*t);let t={C:0};s=()=>{t.C=x.velocity+y*x.delta},n=e=>Math.exp(-y*e)*(y*t.C*e-x.velocity)}else{let t=y*Math.sqrt(g*g-1);i=e=>{let i=Math.exp(-v*e),n=Math.min(t*e,300);return x.target-i*((x.velocity+v*x.delta)*Math.sinh(n)+t*x.delta*Math.cosh(n))/t};let e={P:0,sinh:0,cosh:0};s=()=>{e.P=(x.velocity+v*x.delta)/t,e.sinh=v*e.P-x.delta*t,e.cosh=v*x.delta-e.P*t},n=i=>{let n=Math.exp(-v*i),s=Math.min(t*i,300);return n*(e.sinh*Math.sinh(s)+e.cosh*Math.cosh(s))}}s();let T=p&&d||null,w={calculatedDuration:T,retarget:(t,e)=>{x.target=t[t.length-1],x.delta=x.target-t[0],x.velocity=f(e),r.restSpeed&&r.restDelta||b(),w.calculatedDuration=T,l.done=!1,s()},velocity:t=>(0,B.secondsToMilliseconds)(n(t)),next:t=>{let e=i(t);return p?l.done=t>=d:l.done=Math.abs((0,B.secondsToMilliseconds)(n(t)))<=x.restSpeed&&Math.abs(x.target-e)<=x.restDelta,l.value=l.done?x.target:e,l},toString:()=>{let t=Math.min(th(w),2e4),e=(0,tu.generateLinearEasing)(e=>w.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return w}function tx({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:s=10,bounceStiffness:r=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,y=void 0===o?g:o(g);y!==g&&(f=y-p);let v=t=>-f*Math.exp(-t/n),x=t=>{let e=v(t);m.done=Math.abs(e)<=u,m.value=m.done?y:y+e},b=t=>{let e;if((e=m.value)<a||e>l){var i;c=t,d=tv({keyframes:[m.value,(i=m.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:-v(t)/n*1e3,damping:s,stiffness:r,restDelta:u,restSpeed:h})}};return b(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,x(t),b(t)),void 0!==c&&t>=c)?d.next(t-c):(e||x(t),m)}}}tv.applyToOptions=t=>{let e=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),s=Math.min(th(n),2e4);return{type:"keyframes",ease:t=>n.next(s*t).value/e,duration:(0,B.millisecondsToSeconds)(s)}}(t,100,tv);return t.ease=e.ease,t.duration=(0,B.secondsToMilliseconds)(e.duration),t.type="keyframes",t};var tb=t.i(462328);let tT=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function tw(t,e,i,n){return t===e&&i===n?tb.noop:s=>0===s||1===s?s:tT(function(t,e,i,n,s){let r,o,a=0;do(r=tT(o=e+(i-e)/2,n,s)-t)>0?i=o:e=o;while(Math.abs(r)>1e-7&&++a<12)return o}(s,0,1,t,i),e,n)}let tS=tw(.42,0,1,1),tP=tw(0,0,.58,1),tM=tw(.42,0,.58,1),tV=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,tA=t=>e=>1-t(1-e),tC=tw(.33,1.53,.69,.99),tE=tA(tC),tD=tV(tE),tR=t=>t>=1?1:(t*=2)<1?.5*tE(t):.5*(2-Math.pow(2,-10*(t-1))),tk=t=>1-Math.sin(Math.acos(t)),tL=tA(tk),tB=tV(tk);t.s(["circIn",0,tk,"circInOut",0,tB,"circOut",0,tL],666914);var tF=t.i(695395);let tj={linear:tb.noop,easeIn:tS,easeInOut:tM,easeOut:tP,circIn:tk,circInOut:tB,circOut:tL,backIn:tE,backInOut:tD,backOut:tC,anticipate:tR},tI=t=>{if((0,tF.isBezierDefinition)(t)){(0,N.invariant)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,s]=t;return tw(e,i,n,s)}return"string"==typeof t?((0,N.invariant)(void 0!==tj[t],`Invalid easing type '${t}'`,"invalid-easing-type"),tj[t]):t},tO=(t,e,i)=>{let n=e-t;return n?(i-t)/n:1};function tN({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var s;let r,o=Array.isArray(n)&&"number"!=typeof n[0]?n.map(tI):tI(n)||tM,a={done:!1,value:e[0]};if(2===e.length&&!Array.isArray(o)&&(!i||2!==i.length||0===i[0]&&1===i[1])){let[i,n]=e,s=i===n?void 0:(D.MotionGlobalConfig.mix||to)(i,n);return{calculatedDuration:t,next:e=>(a.value=s?s(o(t>0?(0,I.clamp)(0,1,e/t):1)):n,a.done=e>=t,a)}}let l=function(t,e,{clamp:i=!0,ease:n,mixer:s}={}){let r=t.length;if((0,N.invariant)(r===e.length,"Both input and output ranges must be the same length","range-length"),1===r)return()=>e[0];if(2===r&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>
10t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,i){let n=[],s=i||D.MotionGlobalConfig.mix||to,r=t.length-1;for(let i=0;i<r;i++){let r=s(t[i],t[i+1]);e&&(r=j(Array.isArray(e)?e[i]||tb.noop:e,r)),n.push(r)}return n}(e,n,s),l=a.length,u=i=>{if(o&&i<t[0])return e[0];let n=0;if(l>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let s=tO(t[n],t[n+1],i);return a[n](s)};return i?e=>u((0,I.clamp)(t[0],t[r-1],e)):u}((s=i&&i.length===e.length?i:(!function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let s=tO(0,e,n);t.push((0,X.mixNumber)(i,1,s))}}(r=[0],e.length-1),r),s.map(e=>e*t)),e,{ease:Array.isArray(o)?o:e.map(()=>o||tM).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=l(e),a.done=e>=t,a)}}t.s(["progress",0,tO],935884);var tW=t.i(374334),tU=t.i(276226);let t$={decay:tx,inertia:tx,tween:tN,keyframes:tN,spring:tv};function tH(t){"string"==typeof t.type&&(t.type=t$[t.type])}var tz=t.i(227266),tG=t.i(483291);let tY=t=>t/100;class tK extends tG.WithPromise{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==F.time.now()&&this.tick(F.time.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause(),(0,tz.notifyAnimationStart)(this,this.options)}initAnimation(){let{options:t}=this;tH(t);let{type:e=tN,repeat:i=0,repeatDelay:n=0,repeatType:s,velocity:r=0}=t,{keyframes:o}=t,a=e||tN;a!==tN&&"number"!=typeof o[0]&&(this.mixKeyframes=j(tY,to(o[0],o[1])),o=[0,100]);let l=a(o===t.keyframes?t:{...t,keyframes:o});"mirror"===s&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-r})),null===l.calculatedDuration&&(l.calculatedDuration=th(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let i,{generator:n,totalDuration:s,mixKeyframes:r,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return n.next(0);let{delay:u=0,keyframes:h,repeat:c,repeatType:d,repeatDelay:p,type:m,onUpdate:f,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let y=this.currentTime-u*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?y<0:y>s;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let x=this.currentTime,b=n;if(c){let t=Math.min(this.currentTime,s)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===d?(i=1-i,p&&(i-=p/a)):"mirror"===d&&(b=o)),x=(0,I.clamp)(0,1,i)*a}v?(this.delayState.value=h[0],i=this.delayState):i=b.next(x),r&&!v&&(i.value=r(i.value));let{done:T}=i;v||null===l||(T=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let w=null===this.holdTime&&("finished"===this.state||"running"===this.state&&T);return w&&m!==tx&&(i.value=(0,tU.getFinalKeyframe)(h,this.options,g,this.speed)),f&&f(i.value),w&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return(0,B.millisecondsToSeconds)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,B.millisecondsToSeconds)(t)}get time(){return(0,B.millisecondsToSeconds)(this.currentTime)}set time(t){t=(0,B.secondsToMilliseconds)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){return function(t,e,i=0){var n,s;let r;return e<=0?i:t.velocity?t.velocity(e):(n=e=>t.next(e).value,s=t.next(e).value,r=Math.max(e-5,0),(0,tW.velocityPerSecond)(s-n(r),e-r))}(this.generator,this.currentTime,this.options.velocity)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(F.time.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,B.millisecondsToSeconds)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=tl,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(F.time.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}var tX=t.i(780896),t_=t.i(729028),tq=t.i(247927);let tZ={anticipate:tR,backInOut:tD,circInOut:tB};class tJ extends tq.NativeAnimation{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in tZ&&(t.ease=tZ[t.ease])}(t),tH(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:s,...r}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new tK({...r,autoplay:!1}),a=Math.max(10,F.time.now()-this.startTime),l=(0,I.clamp)(0,10,a-10),u=o.sample(a).value,{name:h}=this.options;s&&h&&(0,t_.setStyle)(s,h,u),e.setWithVelocity(o.sample(Math.max(0,a-l)).value,u,l),o.stop()}}var tQ=t.i(928075);let t0=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&($.complex.test(t)||"0"===t)&&!t.startsWith("url("));function t1(t){t.duration=0,t.type="keyframes"}var t2=tG,t5=t.i(251211),t3=t.i(991713);let t8=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,t9=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),t4=(0,t5.memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class t6 extends t2.WithPromise{constructor(t){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=F.time.now();const{keyframes:e,name:i,motionValue:n,element:s}=t;
10t.autoplay??(t.autoplay=!0),t.delay??(t.delay=0),t.type??(t.type="keyframes"),t.repeat??(t.repeat=0),t.repeatDelay??(t.repeatDelay=0),t.repeatType??(t.repeatType="loop");const r=s?.KeyframeResolver||tX.KeyframeResolver;this.keyframeResolver=new r(e,(e,i,n)=>this.onKeyframesResolved(e,i,t,!n),i,n,s),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){let s;this.keyframeResolver=void 0;let{name:r,type:o,velocity:a,delay:l,isHandoff:u,onUpdate:h}=i;this.resolvedAt=F.time.now();let c=!0;!function(t,e,i,n){let s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;let r=t[t.length-1],o=t0(s,e),a=t0(r,e);return 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||(0,tQ.isGenerator)(i))&&n:(o!==a&&(0,N.warning)(!1,`You are trying to animate ${e} from "${s}" to "${r}". "${o?r:s}" is not an animatable value.`,"value-not-animatable"),!1)}(t,r,o,a)&&(c=!1,(D.MotionGlobalConfig.instantAnimations||!l)&&h?.((0,tU.getFinalKeyframe)(t,i,e)),t[0]=t[t.length-1],t1(i),i.repeat=0);let d=n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,{onComplete:p}=i;if(i.startTime??(i.startTime=d),i.finalKeyframe=e,i.keyframes=t,i.onComplete=()=>{p?.(),this.notifyFinished()},c&&!u&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:s,damping:r,type:o,keyframes:a}=t;if(!i||!(t3.acceleratedValues.has(i)||t9.has(i)))return!1;let l=e?.owner?.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;let{onUpdate:u,transformTemplate:h}=e.owner.getProps();return t4()&&(t3.acceleratedValues.has(i)||t9.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&t8.test(t[e]))return!0;return!1}(a))&&("transform"!==i||!h)&&!u&&!n&&"mirror"!==s&&0!==r&&"inertia"!==o}(i)){i.element=i.motionValue?.owner?.current;try{s=new tJ(i)}catch{s=new tK(i)}}else s=new tK(i);this.pendingTimeline&&(this.stopTimeline=s.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=s}get finished(){return this._animation?this._animation.finished:super.finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,tX.flushKeyframeResolvers)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}var t7=t.i(649407);let et={type:"spring",stiffness:500,damping:25,restSpeed:10},ee={type:"keyframes",duration:.8},ei={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},en=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),es=(t,e,i,n={},s,r)=>o=>{let a=V(n,t)||{},l=a.delay||n.delay||0,{elapsed:u=0}=n;u-=(0,B.secondsToMilliseconds)(l);let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:r?void 0:s};!function(t){for(let e in t)if(!en.has(e))return!0;return!1}(a)&&Object.assign(h,((t,{keyframes:e})=>e.length>2?ee:t7.transformProps.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:et:ei)(t,h)),h.duration&&(h.duration=(0,B.secondsToMilliseconds)(h.duration)),h.repeatDelay&&(h.repeatDelay=(0,B.secondsToMilliseconds)(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let c=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(t1(h),0===h.delay&&(c=!0)),(D.MotionGlobalConfig.instantAnimations||D.MotionGlobalConfig.skipAnimations||s?.shouldSkipAnimations||a.skipAnimations)&&(c=!0,t1(h),h.delay=0),h.allowFlatten=!a.type&&!a.ease,c&&!r&&void 0!==e.get()){let t=(0,tU.getFinalKeyframe)(h.keyframes,a);if(void 0!==t)return void ta.frame.update(()=>{h.onUpdate(t),h.onComplete()})}return a.isSync?new tK(h):new t6(h)};t.s(["animateMotionValue",0,es],725484);let er="u">typeof window;function eo(t,e,{delay:i=0,transitionOverride:n,type:s}={}){let{transition:r,transitionEnd:o,...a}=e,l=t.getDefaultTransition();r=r?M(r,l):l;let u=r?.reduceMotion,h=r?.skipAnimations;n&&(r=n);let c=[],d=s&&t.animationState&&t.animationState.getState()[s],p=r?.path;for(let e in p&&p.animateVisualElement(t,a,r,i,c),a){let n=t.getValue(e,t.latestValues[e]??null),s=a[e];if(void 0===s||d&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(d,e))continue;let o={delay:i,...V(r||{},e)};h&&(o.skipAnimations=!0);let l=n.get();if(void 0!==l&&!n.isAnimating()&&!Array.isArray(s)&&s===l&&!o.velocity){ta.frame.update(()=>n.set(s));continue}let p=!1;if(er&&window.MotionHandoffAnimation){let i=L(t);if(i){let t=window.MotionHandoffAnimation(i,e,ta.frame);null!==t&&(o.startTime=t,p=!0)}}k(t,e);let m=u??t.shouldReduceMotion;n.start(es(e,n,s,m&&A.positionalKeys.has(e)?{type:!1}:o,t,p));let f=n.animation;f&&c.push(f)}if(o){let e=()=>ta.frame.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:n={},...s}=P(t,e)||{};for(let e in s={...s,...i}){var r;let i=E(r=s[e])?r[r.length-1]||0:r;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,C.motionValue)(i))}}(t,o)});c.length?Promise.all(c).then(e):e()}return c}
10function ea(t,e,i,n=0,s=1){let r=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*n;return"function"==typeof i?i(r,o):1===s?r*n:a-r*n}function el(t,e,i={}){let n=P(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(s=i.transitionOverride);let r=n?()=>Promise.all(eo(t,n,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:a}=s;return function(t,e,i=0,n=0,s=0,r=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(el(l,e,{...o,delay:i+("function"==typeof n?0:n)+ea(t.variantChildren,l,n,s,r)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,n,r,o,a,i)}:()=>Promise.resolve(),{when:a}=s;if(!a)return Promise.all([r(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[r,o]:[o,r];return t().then(()=>e())}}var eu=t.i(811190),eh=t.i(701418);let ec=eh.variantProps.length;var ed=t.i(40618);function ep(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let em=[...eh.variantPriorityOrder].reverse(),ef=eh.variantPriorityOrder.length;function eg(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ey(){return{animate:eg(!0),whileInView:eg(),whileHover:eg(),whileTap:eg(),whileDrag:eg(),whileFocus:eg(),exit:eg()}}let ev=0;t.s(["animations",0,{animation:{Feature:class extends w{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 n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>el(t,e,i)));else if("string"==typeof e)n=el(t,e,i);else{let s="function"==typeof e?P(t,e,i.custom):e;n=Promise.all(eo(t,s,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=ey(),n=!0,s=!1,r=e=>(i,n)=>{let s=P(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(s){let{transition:t,transitionEnd:e,...n}=s;i={...i,...n,...e}}return i};function o(o){let{props:a}=t,l=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<ec;t++){let n=eh.variantProps[t],s=e.props[n];((0,eu.isVariantLabel)(s)||!1===s)&&(i[n]=s)}return i}(t.parent)||{},u=[],h=new Set,c={},d=1/0;for(let e=0;e<ef;e++){var p,m;let f=em[e],g=i[f],y=void 0!==a[f]?a[f]:l[f],v=(0,eu.isVariantLabel)(y),x=f===o?g.isActive:null;!1===x&&(d=e);let b=y===l[f]&&y!==a[f]&&v;if(b&&(n||s)&&t.manuallyAnimateOnMount&&(b=!1),g.protectedKeys={...c},!g.isActive&&null===x||!y&&!g.prevProp||(0,ed.isAnimationControls)(y)||"boolean"==typeof y)continue;if("exit"===f&&g.isActive&&!0!==x){g.prevResolvedValues&&(c={...c,...g.prevResolvedValues});continue}let T=(p=g.prevProp,"string"==typeof(m=y)?m!==p:!!Array.isArray(m)&&!ep(m,p)),w=T||f===o&&g.isActive&&!b&&v||e>d&&v,S=!1,M=Array.isArray(y)?y:[y],V=M.reduce(r(f),{});!1===x&&(V={});let{prevResolvedValues:A={}}=g,C={...A,...V},D=e=>{w=!0,h.has(e)&&(S=!0,h.delete(e)),g.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in C){let e=V[t],i=A[t];if(!c.hasOwnProperty(t))(E(e)&&E(i)?!ep(e,i)||T:e!==i)?null!=e?D(t):h.add(t):void 0!==e&&h.has(t)?D(t):g.protectedKeys[t]=!0}g.prevProp=y,g.prevResolvedValues=V,g.isActive&&(c={...c,...V}),(n||s)&&t.blockInitialAnimation&&(w=!1);let R=b&&T,k=!R||S;w&&k&&u.push(...M.map(e=>{let i={type:f};if("string"==typeof e&&(n||s)&&!R&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,s=P(n,e);if(n.enteringChildren&&s){let{delayChildren:e}=s.transition||{};i.delay=ea(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(h.size){let e={};if("boolean"!=typeof a.initial){let i=P(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}h.forEach(i=>{let n=t.getBaseTarget(i),s=t.getValue(i);s&&(s.liveStyle=!0),e[i]=n??null}),u.push({animation:e})}let f=!!u.length;return n&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(f=!1),n=!1,s=!1,f?e(u):Promise.resolve()}
10return{animateChanges:o,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let s=o(e);for(let t in i)i[t].protectedKeys={};return s},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=ey(),s=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,ed.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(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends w{constructor(){super(...arguments),this.id=ev++,this.isExitComplete=!1}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;if(t&&!1===i){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){let i=P(this.node,t,e);if(i){let{transition:t,transitionEnd:e,...n}=i;for(let t in n)this.node.getValue(t)?.jump(n[t])}}this.node.blockInitialAnimation=!1,this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1,this.exitAnimation=void 0;return}let n=this.exitAnimation=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{this.exitAnimation===n&&(this.isExitComplete=!0,e(this.id))})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
10e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}}}],270118),t.s(["eachAxis",0,function(t){return[t("x"),t("y")]}],631799),t.s(["addDomEvent",0,function(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}],984790);let ex={x:!1,y:!1};t.s(["isDragActive",0,function(){return ex.x||ex.y},"isDragging",0,ex],249729),t.s(["setDragLock",0,function(t){if("x"===t||"y"===t)if(ex[t])return null;else return ex[t]=!0,()=>{ex[t]=!1};return ex.x||ex.y?null:(ex.x=ex.y=!0,()=>{ex.x=ex.y=!1})}],40240);function eb(t){return t.max-t.min}function eT(t,e,i,n=.5){t.origin=n,t.originPoint=(0,X.mixNumber)(e.min,e.max,t.origin),t.scale=eb(i)/eb(e),t.translate=(0,X.mixNumber)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function ew(t,e,i,n=0){t.min=(n?(0,X.mixNumber)(i.min,i.max,n):i.min)+e.min,t.max=t.min+eb(e)}function eS(t,e,i,n=0){let s=n?(0,X.mixNumber)(i.min,i.max,n):i.min;t.min=e.min-s,t.max=t.min+eb(e)}t.s(["calcBoxDelta",0,function(t,e,i,n){eT(t.x,e.x,i.x,n?n.originX:void 0),eT(t.y,e.y,i.y,n?n.originY:void 0)},"calcLength",0,eb,"calcRelativeBox",0,function(t,e,i,n){ew(t.x,e.x,i.x,n?.x),ew(t.y,e.y,i.y,n?.y)},"calcRelativePosition",0,function(t,e,i,n){eS(t.x,e.x,i.x,n?.x),eS(t.y,e.y,i.y,n?.y)},"isNear",0,function(t,e,i){return Math.abs(t-e)<=i}],696841)},544380,774794,462328,213484,248157,780896,283609,507298,572296,729028,251211,276226,483291,875086,227266,695395,698234,928075,247927,991713,301129,374334,66440,40618,811190,701418,963154,729824,804599,876521,420560,611875,316033,219296,267615,629625,141815,258116,625871,537652,258022,700213,510939,507408,t=>{"use strict";let e,i;var n=t.i(649407),s=t.i(541895),r=t.i(963839),o=t.i(320374),a=t.i(957921),l=t.i(682323),u=t.i(943928);let h=t=>e=>"string"==typeof e&&e.startsWith(t),c=h("--"),d=h("var(--"),p=t=>!!d(t)&&m.test(t.split("/*")[0].trim()),m=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function f(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}t.s(["containsCSSVariable",0,f,"isCSSVariableName",0,c,"isCSSVariableToken",0,p],774794);let g=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var y=t.i(940081),v=t.i(894099),x=t.i(358795);let b=new Set([v.filter,x.mask]);function T(t,e){let i=(0,s.getDefaultValueType)(t);return b.has(i)||(i=y.complex),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let w=t=>180*t/Math.PI,S=t=>M(w(Math.atan2(t[1],t[0]))),P={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:S,rotateZ:S,skewX:t=>w(Math.atan(t[1])),skewY:t=>w(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},M=t=>((t%=360)<0&&(t+=360),t),V=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),A=t=>
10Math.sqrt(t[4]*t[4]+t[5]*t[5]),C={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:V,scaleY:A,scale:t=>(V(t)+A(t))/2,rotateX:t=>M(w(Math.atan2(t[6],t[5]))),rotateY:t=>M(w(Math.atan2(-t[2],t[0]))),rotateZ:S,rotate:S,skewX:t=>w(Math.atan(t[4])),skewY:t=>w(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function E(t){return+!!t.includes("scale")}function D(t,e){let i,n;if(!t||"none"===t)return E(e);let s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(s)i=C,n=s;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=P,n=e}if(!n)return E(e);let r=i[e],o=n[1].split(",").map(R);return"function"==typeof r?r(o):o[r]}function R(t){return parseFloat(t.trim())}var k=t.i(143058),L=t.i(538155);let B=t=>t===k.number||t===L.px,F=new Set(["x","y","z"]),j=n.transformPropOrder.filter(t=>!F.has(t)),I=new Set(["bottom","right"]);function O(t,e,i,n,s,r){let o=parseFloat(t);if(!isNaN(o))return o;let{min:a,max:l}=e()[i],u=l-a;return"border-box"===r?u:u-parseFloat(n)-parseFloat(s)}let N={width:({width:t,paddingLeft:e="0",paddingRight:i="0",boxSizing:n},s)=>O(t,s,"x",e,i,n),height:({height:t,paddingTop:e="0",paddingBottom:i="0",boxSizing:n},s)=>O(t,s,"y",e,i,n),top:({top:t})=>parseFloat(t),left:({left:t})=>parseFloat(t),bottom:({top:t},e)=>{let{y:i}=e();return parseFloat(t)+(i.max-i.min)},right:({left:t},e)=>{let{x:i}=e();return parseFloat(t)+(i.max-i.min)},x:({transform:t})=>D(t,"x"),y:({transform:t})=>D(t,"y")};N.translateX=N.x,N.translateY=N.y;let W=t=>t;t.s(["noop",0,W],462328);let U={};t.s(["MotionGlobalConfig",0,U],213484);let $=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function H(t,e){let i=!1,n=!0,s={delta:0,timestamp:0,isProcessing:!1},r=()=>i=!0,o=$.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,n=!1,s=!1,r=new Set,o={delta:0,timestamp:0,isProcessing:!1};function a(e){r.has(e)&&(i.add(e),t()),e(o)}let l={schedule:(t,s=!1,o=!1)=>{let a=o&&n?e:i;return s&&r.add(t),a.add(t),t},cancel:t=>{i.delete(t),r.delete(t)},process:t=>{if(o=t,n){s=!0;return}n=!0;let r=e;e=i,i=r,e.forEach(a),e.clear(),n=!1,s&&(s=!1,l.process(t))}};return l}(r),t),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:h,update:c,preRender:d,render:p,postRender:m}=o,f=()=>{let r=U.useManualTiming,o=r?s.timestamp:performance.now();i=!1,r||(s.delta=n?1e3/60:Math.max(Math.min(o-s.timestamp,40),1)),s.timestamp=o,s.isProcessing=!0,a.process(s),l.process(s),u.process(s),h.process(s),c.process(s),d.process(s),p.process(s),m.process(s),s.isProcessing=!1,i&&e&&(n=!1,t(f))};return{schedule:$.reduce((e,r)=>{let a=o[r];return e[r]=(e,r=!1,o=!1)=>(!i&&(i=!0,n=!0,s.isProcessing||t(f)),a.schedule(e,r,o)),e},{}),cancel:t=>{for(let e=0;e<$.length;e++)o[$[e]].cancel(t)},state:s,steps:o}}let{schedule:z,cancel:G,state:Y,steps:K}=H("u">typeof requestAnimationFrame?requestAnimationFrame:W,!0);t.s(["cancelFrame",0,G,"frame",0,z,"frameData",0,Y,"frameSteps",0,K],248157);let X=new Set,_=!1,q=!1,Z=!1;function J(){if(q){let t=[],e=new Set,i=new Set;X.forEach(n=>{n.needsMeasurement&&(t.push(n),e.add(n.element),I.has(n.name)&&i.add(n.element))});let n=new Map;i.forEach(t=>{let e,i=(e=[],j.forEach(i=>{let n=t.getValue(i);if(void 0!==n){let t=n.get(),s=+!!i.startsWith("scale");if(t===s)return;e.push([i,t]),n.set(s)}}),e);i.length&&(n.set(t,i),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=n.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}q=!1,_=!1,X.forEach(t=>t.complete(Z)),X.clear()}
10function Q(){X.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(q=!0)})}class tt{constructor(t,e,i,n,s,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=s,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(X.add(this),_||(_=!0,z.read(Q),z.resolveKeyframes(J))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let s=n?.get(),r=t[t.length-1];if(void 0!==s)t[0]=s;else if(i&&e){let n=function(t,e,i){if("string"==typeof t){if(/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)||/^0[^.\s]+$/u.test(t))return parseFloat(t);if(!y.complex.test(t)&&y.complex.test(i))return T(e,i)}return t??void 0}(i.readValue(e,r),e,r);void 0!==n&&(t[0]=n)}void 0===t[0]&&(t[0]=r),n&&void 0===s&&n.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),X.delete(this)}cancel(){"scheduled"===this.state&&(X.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}t.s(["KeyframeResolver",0,tt,"flushKeyframeResolvers",0,function(){Z=!0,Q(),J(),Z=!1}],780896);let te=new Set(["auto","none","0"]);class ti extends tt{constructor(t,e,i,n,s){super(t,e,i,n,s,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&p(n=n.trim())){let s=function t(e,i,n=1){(0,u.invariant)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[s,r]=function(t){let e=g.exec(t);if(!e)return[,];let[,i,n,s]=e;return[`--${i??n}`,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 p(r)?t(r,i,n+1):r}(n,e.current);void 0!==s&&(t[i]=s),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!a.positionalKeys.has(i)||2!==t.length)return;let[n,s]=t;if("number"==typeof n&&"number"==typeof s)return;let r=(0,l.findDimensionValueType)(n),o=(0,l.findDimensionValueType)(s);if(f(n)!==f(s)&&N[i]){this.needsMeasurement=!0;return}if(r!==o)if(B(r)&&B(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else N[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||function(t){if("number"==typeof t)return 0===t;if(null===t)return!0;return"none"===t||"0"===t||/^0[^.\s]+$/u.test(t)}(t[e]))&&i.push(e);i.length&&function(t,e,i){let n,s=0;for(;s<t.length&&!n;){let e=t[s];"string"==typeof e&&!te.has(e)&&(0,y.hasComplexValues)(e)&&(n=t[s]),s++}if(n&&i)for(let s of e)t[s]!==n&&(t[s]=T(i,n))}(t,i,e)}measure(){let{element:t,name:e}=this;return N[e](window.getComputedStyle(t.current),()=>t.measureViewportBox())}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=this.measure(),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&this.motionValue?.jump(n,!1)}measureEndState(){let{element:t,unresolvedKeyframes:e}=this;if(!t||!t.current)return;this.motionValue?.jump(this.measuredOrigin,!1);let i=e.length-1,n=e[i];e[i]=this.measure(),null!==n&&void 0===this.finalKeyframe&&(this.finalKeyframe=n),this.removedTransforms?.length&&this.removedTransforms.forEac
10h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let tn=t=>1e3*t,ts=t=>t/1e3;function tr(t,e){-1===t.indexOf(e)&&t.push(e)}function to(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}t.s(["millisecondsToSeconds",0,ts,"secondsToMilliseconds",0,tn],283609),t.s(["addUniqueItem",0,tr,"removeItem",0,to],507298);class ta{constructor(){this.subscriptions=[]}add(t){return tr(this.subscriptions,t),()=>this.remove(t)}remove(t){to(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let s=0;s<n;s++){let n=this.subscriptions[s];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function tl(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}function tu(t){let e;return()=>(void 0===e&&(e=t()),e)}t.s(["SubscriptionManager",0,ta],572296),t.s(["setStyle",0,tl],729028),t.s(["memo",0,tu],251211);let th={};function tc(t,e){let i=tu(t);return()=>th[e]??i()}let td=tc(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),tp=t=>null!==t;function tm(t,{repeat:e,repeatType:i="loop"},n,s=1){let r=t.filter(tp),o=s<0||e&&"loop"!==i&&e%2==1?0:r.length-1;return o&&void 0!==n?n:r[o]}t.s(["getFinalKeyframe",0,tm],276226);class tf{constructor(){this.isResolved=!1}get finished(){return this._finished||(this._finished=this.isResolved?Promise.resolve():new Promise(t=>{this._resolve=t})),this._finished}updateFinished(){this._finished=this._resolve=void 0,this.isResolved=!1}notifyFinished(){this.isResolved=!0,this._resolve?.()}then(t,e){return this.finished.then(t,e)}}function tg(){e=void 0}t.s(["WithPromise",0,tf],483291);let ty={now:()=>(void 0===e&&ty.set(Y.isProcessing||U.useManualTiming?Y.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(tg)}};function tv(t,e){return{kind:t,animation:e,timestamp:ty.now(),frameTimestamp:Y.timestamp,frameIsProcessing:Y.isProcessing}}function tx(t,e,i){let n=globalThis.__MOTION_INSPECT__;if(n)try{n({...tv("animation-start",t),options:i?{...e,...i}:e})}catch{}}t.s(["time",0,ty],875086),t.s(["notifyAnimationStart",0,tx,"notifyLayoutAnimationStart",0,function(t,e){let i=globalThis.__MOTION_INSPECT__;
10if(i)try{i({...tv("layout-animation-start",t),node:e})}catch{}}],227266);let tb=t=>Array.isArray(t)&&"number"==typeof t[0];t.s(["isBezierDefinition",0,tb],695395);let tT=tc(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),tw=(t,e,i=10)=>{let n="",s=Math.max(Math.round(e/i),2);for(let e=0;e<s;e++)n+=Math.round(1e4*t(e/(s-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`};t.s(["generateLinearEasing",0,tw],698234);let tS=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,tP={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tS([0,.65,.55,1]),circOut:tS([.55,0,1,.45]),backIn:tS([.31,.01,.66,-.59]),backOut:tS([.33,1.53,.69,.99])};function tM(t){return"function"==typeof t&&"applyToOptions"in t}t.s(["isGenerator",0,tM],928075);class tV extends tf{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:n,pseudoElement:s,allowFlatten:r=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!s,this.allowFlatten=r,this.options=t,(0,u.invariant)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return tM(t)&&tT()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:s=300,repeat:r=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let h={[e]:i};l&&(h.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?tT()?tw(e,i):"ease-out":tb(e)?tS(e):Array.isArray(e)?e.map(e=>t(e,i)||tP.easeOut):tP[e]}(a,s);Array.isArray(c)&&(h.easing=c);let d={delay:n,duration:s,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:r+1,direction:"reverse"===o?"alternate":"normal"};return u&&(d.pseudoElement=u),t.animate(h,d)}(e,i,n,l,s),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let t=tm(n,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(t),tl(e,i,t),this.animation.cancel()}a?.(),this.notifyFinished()},tx(this,t,l)}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){return ts(Number(this.animation.effect?.getComputedTiming?.().duration||0))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+ts(t)}get time(){return ts(Number(this.animation.currentTime)||0)}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=tn(t),e&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:i,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&td())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),W):n(this)}}t.s(["NativeAnimation",0,tV],247927);let tA=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);t.s(["acceleratedValues",0,tA],991713);let{schedule:tC}=H(queueMicrotask,!1);t.s(["microtask",0,tC],301129);let tE=(t,e)=>e?1e3/e*t:0;t.s(["velocityPerSecond",0,tE],374334);class tD{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=ty.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.notifyChange(),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=ty.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){var i;return"change"===t?this.onChangeSubscribe(e):((i=this.events)[t]||(i[t]=new ta)).add(e)}onChangeSubscribe(t){let{events:e}=this;return e.change||this.changeSubscriber?(e.change||(e.change=new ta,e.change.add(this.changeSubscriber),this.changeSubscriber=void 0),e.change.add(t)):this.changeSubscriber=t,()=>{this.changeSubscriber===t?this.changeSubscriber=void 0:e.change?.remove(t),this.stopIfUnobserved()}}stopIfUnobserved(){z.read(()=>{this.changeSubscriber||this.events.change?.getSize()||this.stop()})}clearListeners(){for(let t in this.changeSubscriber=void 0,this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.notifyChange()}notifyChange(){let{current:t,changeSubscriber:e}=this;e?e(t):this.events.change?.notify(t)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return i&&i.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=ty.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return tE(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{let i;this.hasAnimated=!0;let n=!1;i=t(()=>{n=!0,this.events.animationComplete?.notify(),this.animation===i&&this.clearAnimation(),e()}),n||(this.animation=i),this.events.animationStart?.notify()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){this.animation=void 0}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function tR(t,e){return new tD(t,e)}t.s(["motionValue",0,tR],66440);let tk=new WeakMap;function tL(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function tB(t){return"string"==typeof t||Array.isArray(t)}t.s(["isAnimationControls",0,tL],40618),t.s(["isVariantLabel",0,tB],811190);let tF=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tj=["initial",...tF];function tI(t){if(tL(t.animate))return!0;for(let e=0;e<tj.length;e++)if(tB(t[tj[e]]))return!0;return!1}function tO(t){return!!(tI(t)||t.variants)}t.s(["variantPriorityOrder",0,tF,"variantProps",0,tj],701418),t.s(["isControllingVariants",0,tI,"isVariantNode",0,tO],963154);let tN={current:null},tW={current:!1},tU="u">typeof window;function t$(t){let e=[{},{}];
10return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function tH(t,e,i,n){if("function"==typeof e){let[s,r]=t$(n);e=e(void 0!==i?i:t.custom,s,r)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,r]=t$(n);e=e(void 0!==i?i:t.custom,s,r)}return e}t.s(["resolveVariantFromProps",0,tH],729824);let tz=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tG={};class tY{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,skipAnimations:s,blockInitialAnimation:r,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=tt,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=ty.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,z.render(this.render,!1,!0))};const{latestValues:u,renderState:h}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=e.initial?{...u}:{},this.renderState=h,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=s,this.options=l,this.blockInitialAnimation=!!r,this.isControllingVariants=tI(e),this.isVariantNode=tO(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in d){const e=d[t];void 0!==u[t]&&(0,o.isMotionValue)(e)&&e.set(u[t])}}mount(t){if(this.hasBeenMounted)for(let t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,tk.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)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tW.current||function(){if(tW.current=!0,tU)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>tN.current=t.matches;t.addEventListener("change",e),e()}else tN.current=!1}(),this.shouldReduceMotion=tN.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let t in this.projection&&this.projection.unmount(),G(this.notifyUpdate),G(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(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}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&tA.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:n,times:s,ease:r,duration:o}=e.accelerate,a=new tV({element:this.current,name:t,keyframes:n,times:s,ease:r,duration:tn(o)}),l=i(a);this.valueSubscriptions.set(t,()=>{l(),a.cancel()});return}let s=n.transformProps.has(t);s&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&z.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),i&&i()})}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 tG){let e=tG[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];
10e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,r.createBox)()}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<tz.length;e++){let i=tz[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let s=e[n],r=i[n];if((0,o.isMotionValue)(s))t.addValue(n,s);else if((0,o.isMotionValue)(r))t.addValue(n,tR(s,{owner:t}));else if(r!==s)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(n);t.addValue(n,tR(void 0!==e?e:s,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=tR(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){let n,s;"string"==typeof i&&(n=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(s=i,/^0[^.\s]+$/u.test(s)))?i=parseFloat(i):"number"!=typeof i&&!y.complex.test(i)&&y.complex.test(e)&&(i=T(t,e)),this.setBaseTarget(t,(0,o.isMotionValue)(i)?i.get():i)}return(0,o.isMotionValue)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=tH(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||(0,o.isMotionValue)(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new ta),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){tC.render(this.render)}}t.s(["VisualElement",0,tY,"getFeatureDefinitions",0,function(){return tG},"setFeatureDefinitions",0,function(t){tG=t}],804599);class tK extends tY{constructor(){super(...arguments),this.KeyframeResolver=ti}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,o.isMotionValue)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function tX(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}t.s(["camelToDash",0,tX],876521);let t_=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var tq=t.i(840281);let tZ={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tJ=n.transformPropOrder.length;function tQ(t,e,i){let{style:s,vars:r,transformOrigin:o}=t,a=!1,l=!1;for(let t in e){let i=e[t];if(n.transformProps.has(t)){a=!0;continue}if(c(t)){r[t]=i;continue}{let e=t_(i,tq.numberValueTypes[t]);t.startsWith("origin")?(l=!0,o[t]=e):s[t]=e}}
10if(!e.transform&&(a||i?s.transform=function(t,e,i){let s="",r=!0;for(let o=0;o<tJ;o++){let a=n.transformPropOrder[o],l=t[a];if(void 0===l)continue;let u=!0;if("number"==typeof l)u=l===+!!a.startsWith("scale");else{let t=parseFloat(l);u=a.startsWith("scale")?1===t:0===t}if(!u||i){let t=t_(l,tq.numberValueTypes[a]);if(!u){r=!1;let e=tZ[a]||a;s+=`${e}(${t}) `}i&&(e[a]=t)}}let o=t.pathRotation;return o&&(r=!1,s+=`rotate(${t_(o,tq.numberValueTypes.pathRotation)}) `),s=s.trim(),i?s=i(e,r?"":s):r&&(s="none"),s}(e,t.transform,i):s.transform&&(s.transform="none")),l){let{originX:t="50%",originY:e="50%",originZ:i=0}=o;s.transformOrigin=`${t} ${e} ${i}`}}t.s(["buildHTMLStyles",0,tQ],420560);let t0={offset:"stroke-dashoffset",array:"stroke-dasharray"},t1={offset:"strokeDashoffset",array:"strokeDasharray"},t2=["transform","opacity","offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function t5(t,{attrX:e,attrY:i,attrScale:n,pathLength:s,pathSpacing:r=1,pathOffset:o=0,...a},l,u,h){if(tQ(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:d}=t;for(let t of t2)void 0!==c[t]&&(d[t]=c[t],delete c[t]);(d.transform||c.transformOrigin)&&(d.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),d.transform&&(d.transformBox=h?.transformBox??"fill-box",delete c.transformBox),void 0!==e&&(c.x=e),void 0!==i&&(c.y=i),void 0!==n&&(c.scale=n),void 0!==s&&function(t,e,i=1,n=0,s=!0){t.pathLength=1;let r=s?t0:t1;t[r.offset]=`${-n}`,t[r.array]=`${e} ${i}`}(c,s,r,o,!1)}t.s(["buildSVGAttrs",0,t5,"cssStyleProperties",0,t2],611875);let t3=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"]),t8=t=>"string"==typeof t&&"svg"===t.toLowerCase();function t9(t,{style:e,vars:i},n,s){let r,o=t.style;for(r in e)o[r]=e[r];for(r in s?.applyProjectionStyles(o,n),i)o.setProperty(r,i[r])}t.s(["isSVGTag",0,t8],316033);let t4=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function t6(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}t.s(["cornerRadiusProps",0,t4],219296);let t7={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!L.px.test(t))return t;else t=parseFloat(t);let i=t6(t,e.target.x),n=t6(t,e.target.y);return`${i}% ${n}%`}},et=(t,e,i)=>t+(e-t)*i;t.s(["mixNumber",0,et],267615);let ee={borderRadius:{...t7,applyTo:[...t4]},borderTopLeftRadius:t7,borderTopRightRadius:t7,borderBottomLeftRadius:t7,borderBottomRightRadius:t7,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=y.complex.parse(t);if(n.length>5)return t;let s=y.complex.createTransformer(t),r=+("number"!=typeof n[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+r]/=o,n[1+r]/=a;let l=et(o,a,.5);return"number"==typeof n[2+r]&&(n[2+r]/=l),"number"==typeof n[3+r]&&(n[3+r]/=l),s(n)}}};function ei(t,{layout:e,layoutId:i}){return n.transformProps.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!ee[t]||"opacity"===t)}function en(t,e,i){let n=t.style,s=e?.style,r={};if(!n)return r;for(let e in n)((0,o.isMotionValue)(n[e])||s&&(0,o.isMotionValue)(s[e])||ei(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(r[e]=n[e]);return r}function es(t,e,i){let s=en(t,e,i);for(let i in t)((0,o.isMotionValue)(t[i])||(0,o.isMotionValue)(e[i]))&&(s[-1!==n.transformPropOrder.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return s}t.s(["scaleCorrectors",0,ee],629625),t.s(["isForcedMotionValue",0,ei],141815),t.s(["scrapeMotionValuesFromProps",0,en],258116),t.s(["scrapeMotionValuesFromProps",0,es],625871);class er extends tK{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=r.createBox}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(n.transformProps.has(e)){let t=(0,s.getDefaultValueType)(e);return t&&t.default||0}if(t2.includes(e)){let i=getComputedStyle(t)[e];if("string"==typeof i&&i)return i.trim()}return e=t3.has(e)?e:tX(e),t.getAttribute(e)}
10scrapeMotionValuesFromProps(t,e,i){return es(t,e,i)}build(t,e,i){t5(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in t9(t,e,void 0,n),e.attrs)t.setAttribute(t3.has(i)?i:tX(i),e.attrs[i])}mount(t){this.isSVGTag=t8(t.tagName),super.mount(t)}}function eo({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function ea(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}function el(t){return void 0===t||1===t}function eu({scale:t,scaleX:e,scaleY:i}){return!el(t)||!el(e)||!el(i)}function eh(t){return eu(t)||ec(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function ec(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function ed(t,e,i){return i+e*(t-i)}function ep(t,e,i,n,s){return void 0!==s&&(t=ed(t,s,n)),ed(t,i,n)+e}function em(t,e=0,i=1,n,s){t.min=ep(t.min,e,i,n,s),t.max=ep(t.max,e,i,n,s)}function ef(t,{x:e,y:i}){em(t.x,e.translate,e.scale,e.originPoint),em(t.y,i.translate,i.scale,i.originPoint)}function eg(t,e){t.min+=e,t.max+=e}function ey(t,e,i,n,s=.5){let r=et(t.min,t.max,s);em(t,e,i,r,n)}function ev(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function ex(t,e,i){let n=i??t;ey(t.x,ev(e.x,n.x),e.scaleX,e.scale,e.originX),ey(t.y,ev(e.y,n.y),e.scaleY,e.scale,e.originY)}function eb(t,e){return eo(ea(t.getBoundingClientRect(),e))}t.s(["convertBoundingBoxToBox",0,eo,"convertBoxToBoundingBox",0,function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}},"transformBoxPoints",0,ea],537652),t.s(["has2DTranslate",0,ec,"hasScale",0,eu,"hasTransform",0,eh],258022),t.s(["applyBoxDelta",0,ef,"applyTreeDeltas",0,function(t,e,i,n=!1){let s,r,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){r=(s=i[a]).projectionDelta;let{visualElement:o}=s.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(eg(t.x,-s.scroll.offset.x),eg(t.y,-s.scroll.offset.y)),r&&(e.x*=r.x.scale,e.y*=r.y.scale,ef(t,r)),n&&eh(s.latestValues)&&ex(t,s.latestValues,s.layout?.layoutBox))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}},"scalePoint",0,ed,"transformBox",0,ex,"translateAxis",0,eg],700213),t.s(["measurePageBox",0,function(t,e,i){let n=eb(t,i),{scroll:s}=e;return s&&(eg(n.x,s.offset.x),eg(n.y,s.offset.y)),n},"measureViewportBox",0,eb],510939);class eT extends tK{constructor(){super(...arguments),this.type="html",this.renderInstance=t9}mount(t){(0,u.invariant)(!!t.style,"motion.create() components must forward their ref to a HTML or SVG element","custom-component-ref"),super.mount(t)}readValueFromInstance(t,e){if(n.transformProps.has(e))return this.projection?.isProjecting?E(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return D(i,e)})(t,e);{let i=window.getComputedStyle(t),n=(c(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return eb(t,e)}build(t,e,i){tQ(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return en(t,e,i)}}var ew=t.i(47325);let eS=["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 eP(t){if("string"!=typeof t||t.includes("-"));else if(eS.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}t.s(["isSVGComponent",0,eP],507408),t.s(["createDomVisualElement",0,(t,e)=>e.isSVG??eP(t)?new er(e):new eT(e,{allowProjection:t!==ew.Fragment})],544380)},291165,660914,49613,256849,536918,423855,292021,623798,699737,t=>{"use strict";var e=t.i(880730),i=t.i(495117),n=t.i(963154),s=t.i(40618),r=t.i(729824),o=t.i(47325),a=t.i(402184),l=t.i(550519),u=t.i(96454);let h=t=>(e,h)=>{let c=(0,o.useContext)(a.MotionContext),d=(0,o.useContext)(l.PresenceContext),p=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},o,a,l){return{latestValues:function(t,e,o,a){let l={},u=a(t,{});for(let t in u)l[t]=(0,i.resolveMotionValue)(u[t]);let{initial:h,animate:c}=t,d=(0,n.isControllingVariants)(t),p=(0,n.isVariantNode)(t);
10e&&p&&!d&&!1!==t.inherit&&(void 0===h&&(h=e.initial),void 0===c&&(c=e.animate));let m=!!o&&!1===o.initial,f=(m=m||!1===h)?c:h;if(f&&"boolean"!=typeof f&&!(0,s.isAnimationControls)(f)){let e=Array.isArray(f)?f:[f];for(let i=0;i<e.length;i++){let n=(0,r.resolveVariantFromProps)(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=m?e.length-1:0;e=e[t]}null!==e&&(l[t]=e)}for(let e in t)l[e]=t[e]}}}return l}(o,a,l,t),renderState:e()}})(t,e,c,d);return h?p():(0,u.useConstant)(p)};var c=t.i(744905);let d=h({scrapeMotionValuesFromProps:e.scrapeHTMLMotionValuesFromProps,createRenderState:c.createHtmlRenderState});t.s(["useHTMLVisualState",0,d],291165);var p=t.i(625871),p=p,m=t.i(46303);let f=h({scrapeMotionValuesFromProps:p.scrapeMotionValuesFromProps,createRenderState:m.createSvgRenderState});t.s(["useSVGVisualState",0,f],660914);var g=t.i(804599);let y={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},v=!1;function x(){return!function(){if(v)return;let t={};for(let e in y)t[e]={isEnabled:t=>y[e].some(e=>!!t[e])};(0,g.setFeatureDefinitions)(t),v=!0}(),(0,g.getFeatureDefinitions)()}t.s(["getInitializedFeatureDefinitions",0,x],49613),t.s(["loadFeatures",0,function(t){let e=x();for(let i in t)e[i]={...e[i],...t[i]};(0,g.setFeatureDefinitions)(e)}],256849);let b=Symbol.for("motionComponentSymbol");t.s(["motionComponentSymbol",0,b],536918),t.s(["useMotionRef",0,function(t,e,i){let n=(0,o.useRef)(i);(0,o.useInsertionEffect)(()=>{n.current=i});let s=(0,o.useRef)(null);return(0,o.useCallback)(i=>{i&&t.onMount?.(i),e&&(i?e.mount(i):e.unmount());let r=n.current;if("function"==typeof r)if(i){let t=r(i);"function"==typeof t&&(s.current=t)}else s.current?(s.current(),s.current=null):r(i);else r&&(r.current=i)},[e])}],423855);let T="data-"+(0,t.i(876521).camelToDash)("framerAppearId");t.s(["optimizedAppearDataAttribute",0,T],292021);let w=(0,o.createContext)({});t.s(["SwitchLayoutGroupContext",0,w],623798),t.s(["isRefObject",0,function(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}],699737)},96454,t=>{"use strict";var e=t.i(47325);t.s(["useConstant",0,function(t){let i=(0,e.useRef)(null);return null===i.current&&(i.current=t()),i.current}])},363240,t=>{"use strict";var e=t.i(47325);let i="u">typeof window?e.useLayoutEffect:e.useEffect;t.s(["useIsomorphicLayoutEffect",0,i],363240)},649407,48540,143058,82385,851880,671252,538155,874479,60055,940081,894099,358795,840281,541895,963839,320374,957921,682323,t=>{"use strict";let e=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set([...e,"pathRotation"]);t.s(["transformPropOrder",0,e,"transformProps",0,i],649407);let n=(t,e,i)=>i>e?e:i<t?t:i;t.s(["clamp",0,n],48540);let s={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},r={...s,transform:t=>n(0,1,t)},o={...s,default:1};t.s(["alpha",0,r,"number",0,s,"scale",0,o],143058);let a=t=>Math.round(1e5*t)/1e5;t.s(["sanitize",0,a],82385);let l=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,u=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,h=(t,e)=>i=>!!("string"==typeof i&&u.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),c=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[s,r,o,a]=n.match(l);return{[t]:parseFloat(s),[e]:parseFloat(r),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},d={...s,transform:t=>Math.round(n(0,255,t))},p={test:h("rgb","red"),parse:c("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+d.transform(t)+", "+d.transform(e)+", "+d.transform(i)+", "+a(r.transform(n))+")"};t.s(["rgba",0,p],851880);let m={test:h("#"),parse:function(t){let e="",i="",n="",s="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),s=t.substring(4,5),e+=e,i+=i,n+=n,s+=s),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alph
10a:s?parseInt(s,16)/255:1}},transform:p.transform};t.s(["hex",0,m],671252);let f=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),g=f("deg"),y=f("%"),v=f("px"),x=f("vh"),b=f("vw"),T={...y,parse:t=>y.parse(t)/100,transform:t=>y.transform(100*t)};t.s(["degrees",0,g,"percent",0,y,"progressPercentage",0,T,"px",0,v,"vh",0,x,"vw",0,b],538155);let w={test:h("hsl","hue"),parse:c("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+y.transform(a(e))+", "+y.transform(a(i))+", "+a(r.transform(n))+")"};t.s(["hsla",0,w],874479);let S={test:t=>p.test(t)||m.test(t)||w.test(t),parse:t=>p.test(t)?p.parse(t):w.test(t)?w.parse(t):m.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?p.transform(t):w.transform(t),getAnimatableNone:t=>{let e=S.parse(t);return e.alpha=0,S.transform(e)}};t.s(["color",0,S],60055);let P=new RegExp(l.source),M=RegExp(/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu.source,"i"),V="number",A="color",C=/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 E(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},s=[],r=0,o=e.replace(C,t=>(S.test(t)?(n.color.push(r),s.push(A),i.push(S.parse(t))):t.startsWith("var(")?(n.var.push(r),s.push("var"),i.push(t)):(n.number.push(r),s.push(V),i.push(parseFloat(t))),++r,"${}")).split("${}");return{values:i,split:o,indexes:n,types:s}}function D({split:t,types:e}){let i=t.length;return n=>{let s="";for(let r=0;r<i;r++)if(s+=t[r],void 0!==n[r]){let t=e[r];t===V?s+=a(n[r]):t===A?s+=S.transform(n[r]):s+=n[r]}return s}}let R={test:function(t){return isNaN(t)&&"string"==typeof t&&(P.test(t)||M.test(t))},parse:function(t){return E(t).values},createTransformer:function(t){return D(E(t))},getAnimatableNone:function(t){let e=E(t);return D(e)(e.values.map((t,i)=>((t,e)=>"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof t?0:S.test(t)?S.getAnimatableNone(t):t)(t,e.split[i])))}};t.s(["analyseComplexValue",0,E,"complex",0,R,"hasComplexValues",0,function(t){let e=t.toString();return P.test(e)||M.test(e)}],940081);let k=new Set(["brightness","contrast","saturate","opacity"]);function L(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(l)||[];if(!n)return t;let s=i.replace(n,""),r=+!!k.has(e);return n!==i&&(r*=100),e+"("+r+s+")"}let B=/\b([a-z-]*)\(.*?\)/gu,F={...R,getAnimatableNone:t=>{let e=t.match(B);return e?e.map(L).join(" "):t}};t.s(["filter",0,F],894099);let j={...R,getAnimatableNone:t=>{let e=R.parse(t);return R.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}};t.s(["mask",0,j],358795);let I={...s,transform:Math.round},O={borderWidth:v,borderTopWidth:v,borderRightWidth:v,borderBottomWidth:v,borderLeftWidth:v,borderRadius:v,borderTopLeftRadius:v,borderTopRightRadius:v,borderBottomRightRadius:v,borderBottomLeftRadius:v,width:v,maxWidth:v,height:v,maxHeight:v,top:v,right:v,bottom:v,left:v,inset:v,insetBlock:v,insetBlockStart:v,insetBlockEnd:v,insetInline:v,insetInlineStart:v,insetInlineEnd:v,padding:v,paddingTop:v,paddingRight:v,paddingBottom:v,paddingLeft:v,paddingBlock:v,paddingBlockStart:v,paddingBlockEnd:v,paddingInline:v,paddingInlineStart:v,paddingInlineEnd:v,margin:v,marginTop:v,marginRight:v,marginBottom:v,marginLeft:v,marginBlock:v,marginBlockStart:v,marginBlockEnd:v,marginInline:v,marginInlineStart:v,marginInlineEnd:v,fontSize:v,backgroundPositionX:v,backgroundPositionY:v,rotate:g,pathRotation:g,rotateX:g,rotateY:g,rotateZ:g,scale:o,scaleX:o,scaleY:o,scaleZ:o,skew:g,skewX:g,skewY:g,distance:v,translateX:v,translateY:v,translateZ:v,x:v,y:v,z:v,perspective:v,transformPerspective:v,opacity:r,originX:T,originY:T,originZ:v,zIndex:I,fillOpacity:r,strokeOpacity:r,numOctaves:I};t.s(["numberValueTypes",0,O],840281);let N={...O,color:S,backgroundColor:S,outlineColor:S,fill:S,stroke:S,borderColor:S,borderTopColor:S,borderRightColor:S,borderBottomColor:S,borderLeftColor:S,filter:F,WebkitFilter:F,mask:j,WebkitMask:j};t.s(["getDefaultValueType",0,t=>N[t]],541895);let W=()=>({translate:0,scale:1,origin:0,originPoint:0}),U=()=>({min:0,max:0});t.s(["createBox",0,()=>({x:U(),y:U()}),"createDelta",0,()=>({x:W(),y:W()})],963839),t.s(["isMotionValue",0,t=>!!(t&&t.getVelocity)],320374);let $=new Set(["width","height","top","left","right","bottom",...e]);t.s(["positionalKeys",0,$],957921);let H=[s,v,y,g,b,x,{test:t=>"auto"===t,parse:t=>t}];t.s(["findDimensionValueType",0,t=>H.find(e=>e.test(t))],682323)},872215,t=>{"use strict";var e=t.i(781678);t.s(["isHTMLElement",0,function(t){return(0,e.isObject)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}])},599201,t=>{"use strict";
10t.s(["resolveElements",0,function(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let s=i?.[t]??n.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t).filter(t=>null!=t)}])},943928,t=>{"use strict";t.i(590341).default,t.s(["invariant",0,()=>{},"warning",0,()=>{}],943928)},781678,t=>{"use strict";t.s(["isObject",0,t=>"object"==typeof t&&null!==t])},309898,t=>{"use strict";var e=t.i(544380),i=t.i(293740),n=t.i(270118),s=t.i(904068),r=t.i(280561),o=t.i(273372),a=t.i(764277),l=t.i(872215),u=t.i(249729);let h=(t,e)=>!!e&&(t===e||h(t,e.parentElement));var c=t.i(583165),d=t.i(80288),p=t.i(220135);let m=new WeakSet;function f(t){return e=>{"Enter"===e.key&&t(e)}}function g(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function y(t){return(0,c.isPrimaryPointer)(t)&&!(0,u.isDragActive)()}let v=new WeakSet;var x=t.i(248157),b=t.i(363222);function T(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let s=n["onTap"+("End"===i?"":i)];s&&x.frame.postRender(()=>s(e,(0,b.extractEventInfo)(e)))}class w extends a.Feature{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[n,s,r]=(0,d.setupGesture)(t,i),o=t=>{let n=t.currentTarget;if(!y(t)||v.has(t))return;m.add(n),i.stopPropagation&&v.add(t);let r=e(n,t),o={...s,capture:!0},a=(t,e)=>{window.removeEventListener("pointerup",l,o),window.removeEventListener("pointercancel",u,o),m.has(n)&&m.delete(n),y(t)&&"function"==typeof r&&r(t,{success:e})},l=t=>{a(t,n===window||n===document||i.useGlobalTarget||h(n,t.target))},u=t=>{a(t,!1)};window.addEventListener("pointerup",l,o),window.addEventListener("pointercancel",u,o)};return n.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,s),(0,l.isHTMLElement)(t)&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=f(()=>{if(m.has(i))return;g(i,"down");let t=f(()=>{g(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>g(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,s)),(0,p.isElementKeyboardAccessible)(t)||t.hasAttribute("tabindex")||(t.tabIndex=0))}),r}(t,(t,e)=>(T(this.node,e,"Start"),(t,{success:e})=>T(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}var S=a;let P=new WeakMap,M=new WeakMap,V=t=>{let e=P.get(t.target);e&&e(t)},A=t=>{t.forEach(V)},C={some:0,all:1};class E extends S.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:n,margin:s,amount:r="some",once:o}=i,a={root:n?n.current:void 0,rootMargin:s,threshold:"number"==typeof r?r:C[r]},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:n}=this.node.getProps(),s=e?i:n;s&&s(t)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;M.has(i)||M.set(i,{});let n=M.get(i),s=JSON.stringify(e);return n[s]||(n[s]=new IntersectionObserver(A,{root:t,...e})),n[s]}(a),P.set(t,l),e.observe(t),()=>{P.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(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let D={inView:{Feature:E},tap:{Feature:w},focus:{Feature:o.FocusGesture},hover:{Feature:r.HoverGesture}};var R=t.i(833330),k=t.i(805355);let L={layout:{ProjectionNode:R.HTMLProjectionNode,MeasureLayout:k.MeasureLayout}},B={...n.animations,...D,...s.drag,...L},F=(0,i.createMotionProxy)(B,e.createDomVisualElement);t.s(["motion",0,F],309898)},187484,t=>{"use strict";let e=t=>"object"==typeof t&&null!=t&&1===t.nodeType,i=(t,e)=>
10(!e||"hidden"!==t)&&"visible"!==t&&"clip"!==t,n=(t,e)=>{if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){let n,s=getComputedStyle(t,null);return i(s.overflowY,e)||i(s.overflowX,e)||!!(n=(t=>{if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}})(t))&&(n.clientHeight<t.scrollHeight||n.clientWidth<t.scrollWidth)}return!1},s=(t,e,i,n,s,r,o,a)=>r<t&&o>e||r>t&&o<e?0:r<=t&&a<=i||o>=e&&a>=i?r-t-n:o>e&&a<i||r<t&&a>i?o-e+s:0,r=t=>{let e=t.parentElement;return null==e?t.getRootNode().host||null:e},o=(t,i)=>{var o,a,l,u;let h;if("u"<typeof document)return[];let{scrollMode:c,block:d,inline:p,boundary:m,skipOverflowHiddenElements:f}=i,g="function"==typeof m?m:t=>t!==m;if(!e(t))throw TypeError("Invalid target");let y=document.scrollingElement||document.documentElement,v=[],x=t;for(;e(x)&&g(x);){if((x=r(x))===y){v.push(x);break}null!=x&&x===document.body&&n(x)&&!n(document.documentElement)||null!=x&&n(x,f)&&v.push(x)}let b=null!=(a=null==(o=window.visualViewport)?void 0:o.width)?a:innerWidth,T=null!=(u=null==(l=window.visualViewport)?void 0:l.height)?u:innerHeight,{scrollX:w,scrollY:S}=window,{height:P,width:M,top:V,right:A,bottom:C,left:E}=t.getBoundingClientRect(),{top:D,right:R,bottom:k,left:L}={top:parseFloat((h=window.getComputedStyle(t)).scrollMarginTop)||0,right:parseFloat(h.scrollMarginRight)||0,bottom:parseFloat(h.scrollMarginBottom)||0,left:parseFloat(h.scrollMarginLeft)||0},B="start"===d||"nearest"===d?V-D:"end"===d?C+k:V+P/2-D+k,F="center"===p?E+M/2-L+R:"end"===p?A+R:E-L,j=[];for(let t=0;t<v.length;t++){let e=v[t],{height:i,width:r,top:o,right:a,bottom:l,left:u}=e.getBoundingClientRect();if("if-needed"===c&&V>=0&&E>=0&&C<=T&&A<=b&&(e===y&&!n(e)||V>=o&&C<=l&&E>=u&&A<=a))break;let h=getComputedStyle(e),m=parseInt(h.borderLeftWidth,10),f=parseInt(h.borderTopWidth,10),g=parseInt(h.borderRightWidth,10),x=parseInt(h.borderBottomWidth,10),D=0,R=0,k="offsetWidth"in e?e.offsetWidth-e.clientWidth-m-g:0,L="offsetHeight"in e?e.offsetHeight-e.clientHeight-f-x:0,I="offsetWidth"in e?0===e.offsetWidth?0:r/e.offsetWidth:0,O="offsetHeight"in e?0===e.offsetHeight?0:i/e.offsetHeight:0;if(y===e)D="start"===d?B:"end"===d?B-T:"nearest"===d?s(S,S+T,T,f,x,S+B,S+B+P,P):B-T/2,R="start"===p?F:"center"===p?F-b/2:"end"===p?F-b:s(w,w+b,b,m,g,w+F,w+F+M,M),D=Math.max(0,D+S),R=Math.max(0,R+w);else{D="start"===d?B-o-f:"end"===d?B-l+x+L:"nearest"===d?s(o,l,i,f,x+L,B,B+P,P):B-(o+i/2)+L/2,R="start"===p?F-u-m:"center"===p?F-(u+r/2)+k/2:"end"===p?F-a+g+k:s(u,a,r,m,g+k,F,F+M,M);let{scrollLeft:t,scrollTop:n}=e;D=0===O?0:Math.max(0,Math.min(n+D/O,e.scrollHeight-i/O+L)),R=0===I?0:Math.max(0,Math.min(t+R/I,e.scrollWidth-r/I+k)),B+=n-D,F+=t-R}j.push({el:e,top:D,left:R})}return j};t.s(["default",0,function(t,e){let i;if(!t.isConnected||!(t=>{let e=t;for(;e&&e.parentNode;){if(e.parentNode===document)return!0;e=e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}return!1})(t))return;let n={top:parseFloat((i=window.getComputedStyle(t)).scrollMarginTop)||0,right:parseFloat(i.scrollMarginRight)||0,bottom:parseFloat(i.scrollMarginBottom)||0,left:parseFloat(i.scrollMarginLeft)||0};if("object"==typeof e&&"function"==typeof e.behavior)return e.behavior(o(t,e));let s="boolean"==typeof e||null==e?void 0:e.behavior;for(let{el:i,top:r,left:a}of o(t,!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"})){let t=r-n.top+n.bottom,e=a-n.left+n.right;i.scroll({top:t,left:e,behavior:s})}}],187484)}]);
11
12//# debugId=ecd62dee-5144-3f68-8b42-63a558fd6060

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.