nhfs
Version:
NHFS — A sleek HTTP file server for the web built with Next.js and HeroUI. (Alpha)
3 lines (2 loc) • 37.9 kB
JavaScript
(globalThis.TURBOPACK=globalThis.TURBOPACK||[]).push(["object"==typeof document?document.currentScript:void 0,{769457:e=>{"use strict";let t,n,i,o;e.s({AcceleratedAnimation:()=>t8.AcceleratedAnimation,AnimatePresence:()=>s.AnimatePresence,AnimateSharedLayout:()=>nA,DeprecatedLayoutGroupContext:()=>d,DragControls:()=>tD,FlatTree:()=>np.FlatTree,LayoutGroup:()=>y,LayoutGroupContext:()=>nm.LayoutGroupContext,LazyMotion:()=>u.LazyMotion,MotionConfig:()=>l.MotionConfig,MotionConfigContext:()=>nc.MotionConfigContext,MotionContext:()=>nu.MotionContext,MotionGlobalConfig:()=>t9.MotionGlobalConfig,MotionValue:()=>nG.MotionValue,PresenceContext:()=>nf.PresenceContext,Reorder:()=>nk,SwitchLayoutGroupContext:()=>nd.SwitchLayoutGroupContext,VisualElement:()=>tU.VisualElement,addPointerEvent:()=>it.addPointerEvent,addPointerInfo:()=>ii.addPointerInfo,addScaleCorrector:()=>tY.addScaleCorrector,animate:()=>ts,animateMini:()=>tS,animateValue:()=>t1.animateValue,animateVisualElement:()=>tI.animateVisualElement,animationControls:()=>eB,animations:()=>n8.animations,anticipate:()=>nq.anticipate,backIn:()=>nQ.backIn,backInOut:()=>nQ.backInOut,backOut:()=>nQ.backOut,buildTransform:()=>t_.buildTransform,calcLength:()=>n4.calcLength,cancelFrame:()=>n9.cancelFrame,cancelSync:()=>nJ,circIn:()=>nZ.circIn,circInOut:()=>nZ.circInOut,circOut:()=>nZ.circOut,clamp:()=>nj.clamp,color:()=>t2.color,complex:()=>t3.complex,createBox:()=>n5.createBox,createRendererMotionComponent:()=>tz.createRendererMotionComponent,createScopedAnimate:()=>ta,cubicBezier:()=>n_.cubicBezier,delay:()=>nV.delay,disableInstantTransitions:()=>tZ,distance:()=>n3.distance,distance2D:()=>n3.distance2D,domAnimation:()=>C.domAnimation,domMax:()=>S,domMin:()=>w,easeIn:()=>n$.easeIn,easeInOut:()=>n$.easeInOut,easeOut:()=>n$.easeOut,filterProps:()=>n7.filterProps,findSpring:()=>nl.findSpring,frame:()=>n9.frame,frameData:()=>n9.frameData,frameSteps:()=>n9.frameSteps,inView:()=>tk,inertia:()=>nB.inertia,interpolate:()=>n6.interpolate,invariant:()=>nR.invariant,isBrowser:()=>ir.isBrowser,isDragActive:()=>nF.isDragActive,isMotionComponent:()=>tj,isMotionValue:()=>io.isMotionValue,isValidMotionProp:()=>tP.isValidMotionProp,keyframes:()=>nW.keyframes,m:()=>a.m,makeUseVisualState:()=>ie.makeUseVisualState,mirrorEasing:()=>n1.mirrorEasing,mix:()=>nH.mix,motion:()=>r.motion,motionValue:()=>nG.motionValue,noop:()=>nD.noop,optimizedAppearDataAttribute:()=>na.optimizedAppearDataAttribute,pipe:()=>nU.pipe,progress:()=>nY.progress,px:()=>t6.px,resolveMotionValue:()=>O.resolveMotionValue,reverseEasing:()=>n2.reverseEasing,scroll:()=>eg,scrollInfo:()=>eu,spring:()=>ns.spring,stagger:()=>nN,startOptimizedAppearAnimation:()=>nr,steps:()=>n0,sync:()=>nK,transform:()=>R,unwrapMotionComponent:()=>tH,useAnimate:()=>tl,useAnimateMini:()=>tA,useAnimation:()=>tb,useAnimationControls:()=>tV,useAnimationFrame:()=>eE,useCycle:()=>tT,useDeprecatedAnimatedState:()=>nw,useDeprecatedInvertedScale:()=>nx,useDomEvent:()=>tW,useDragControls:()=>tG,useElementScroll:()=>ew,useForceUpdate:()=>g,useInView:()=>tR,useInstantLayoutTransition:()=>tK,useInstantTransition:()=>tQ,useIsPresent:()=>tL.useIsPresent,useIsomorphicLayoutEffect:()=>ia.useIsomorphicLayoutEffect,useMotionTemplate:()=>L,useMotionValue:()=>I,useMotionValueEvent:()=>z,usePresence:()=>tL.usePresence,useReducedMotion:()=>ek,useReducedMotionConfig:()=>eR,useResetProjection:()=>t$,useScroll:()=>eM,useSpring:()=>W,useTime:()=>ex,useTransform:()=>D,useUnmountEffect:()=>eW,useVelocity:()=>N,useViewportScroll:()=>eC,useWillChange:()=>eP,visualElementStore:()=>t0.visualElementStore,wrap:()=>eQ},769457),e.i(576254),e.i(682361),e.s({},881593),e.s({AcceleratedAnimation:()=>t8.AcceleratedAnimation,AnimatePresence:()=>s.AnimatePresence,AnimateSharedLayout:()=>nA,DeprecatedLayoutGroupContext:()=>d,DragControls:()=>tD,FlatTree:()=>np.FlatTree,LayoutGroup:()=>y,LayoutGroupContext:()=>nm.LayoutGroupContext,LazyMotion:()=>u.LazyMotion,MotionConfig:()=>l.MotionConfig,MotionConfigContext:()=>nc.MotionConfigContext,MotionContext:()=>nu.MotionContext,MotionGlobalConfig:()=>t9.MotionGlobalConfig,MotionValue:()=>nG.MotionValue,PresenceContext:()=>nf.PresenceContext,Reorder:()=>nk,SwitchLayoutGroupContext:()=>nd.SwitchLayoutGroupContext,VisualElement:()=>tU.VisualElement,addPointerEvent:()=>it.addPointerEvent,addPointerInfo:()=>ii.addPointerInfo,addScaleCorrector:()=>tY.addScaleCorrector,animate:()=>ts,animateMini:()=>tS,animateValue:()=>t1.animateValue,animateVisualElement:()=>tI.animateVisualElement,animationControls:()=>eB,animations:()=>n8.animations,anticipate:()=>nq.anticipate,backIn:()=>nQ.backIn,backInOut:()=>nQ.backInOut,backOut:()=>nQ.backOut,buildTransform:()=>t_.buildTransform,calcLength:()=>n4.calcLength,cancelFrame:()=>n9.cancelFrame,cancelSync:()=>nJ,circIn:()=>nZ.circIn,circInOut:()=>nZ.circInOut,circOut:()=>nZ.circOut,clamp:()=>nj.clamp,color:()=>t2.color,complex:()=>t3.complex,createBox:()=>n5.createBox,createRendererMotionComponent:()=>tz.createRendererMotionComponent,createScopedAnimate:()=>ta,cubicBezier:()=>n_.cubicBezier,delay:()=>nV.delay,disableInstantTransitions:()=>tZ,distance:()=>n3.distance,distance2D:()=>n3.distance2D,domAnimation:()=>C.domAnimation,domMax:()=>S,domMin:()=>w,easeIn:()=>n$.easeIn,easeInOut:()=>n$.easeInOut,easeOut:()=>n$.easeOut,filterProps:()=>n7.filterProps,findSpring:()=>nl.findSpring,frame:()=>n9.frame,frameData:()=>n9.frameData,frameSteps:()=>n9.frameSteps,inView:()=>tk,inertia:()=>nB.inertia,interpolate:()=>n6.interpolate,invariant:()=>nR.invariant,isBrowser:()=>ir.isBrowser,isDragActive:()=>nF.isDragActive,isMotionComponent:()=>tj,isMotionValue:()=>io.isMotionValue,isValidMotionProp:()=>tP.isValidMotionProp,keyframes:()=>nW.keyframes,m:()=>a.m,makeUseVisualState:()=>ie.makeUseVisualState,mirrorEasing:()=>n1.mirrorEasing,mix:()=>nH.mix,motion:()=>r.motion,motionValue:()=>nG.motionValue,noop:()=>nD.noop,optimizedAppearDataAttribute:()=>na.optimizedAppearDataAttribute,pipe:()=>nU.pipe,progress:()=>nY.progress,px:()=>t6.px,resolveMotionValue:()=>O.resolveMotionValue,reverseEasing:()=>n2.reverseEasing,scroll:()=>eg,scrollInfo:()=>eu,spring:()=>ns.spring,stagger:()=>nN,startOptimizedAppearAnimation:()=>nr,steps:()=>n0,sync:()=>nK,transform:()=>R,unwrapMotionComponent:()=>tH,useAnimate:()=>tl,useAnimateMini:()=>tA,useAnimation:()=>tb,useAnimationControls:()=>tV,useAnimationFrame:()=>eE,useCycle:()=>tT,useDeprecatedAnimatedState:()=>nw,useDeprecatedInvertedScale:()=>nx,useDomEvent:()=>tW,useDragControls:()=>tG,useElementScroll:()=>ew,useForceUpdate:()=>g,useInView:()=>tR,useInstantLayoutTransition:()=>tK,useInstantTransition:()=>tQ,useIsPresent:()=>tL.useIsPresent,useIsomorphicLayoutEffect:()=>ia.useIsomorphicLayoutEffect,useMotionTemplate:()=>L,useMotionValue:()=>I,useMotionValueEvent:()=>z,usePresence:()=>tL.usePresence,useReducedMotion:()=>ek,useReducedMotionConfig:()=>eR,useResetProjection:()=>t$,useScroll:()=>eM,useSpring:()=>W,useTime:()=>ex,useTransform:()=>D,useUnmountEffect:()=>eW,useVelocity:()=>N,useViewportScroll:()=>eC,useWillChange:()=>eP,visualElementStore:()=>t0.visualElementStore,wrap:()=>eQ},568032);var r=e.i(816916),a=e.i(631839),s=e.i(420909),l=e.i(136873),u=e.i(624977),c=e.i(731636),f=e.i(838653),m=e.i(348074);let d=(0,f.createContext)(null);var p=e.i(517880),h=e.i(570119);function g(){let e=function(){let e=(0,f.useRef)(!1);return(0,p.useIsomorphicLayoutEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}(),[t,n]=(0,f.useState)(0),i=(0,f.useCallback)(()=>{e.current&&n(t+1)},[t]);return[(0,f.useCallback)(()=>h.frame.postRender(i),[i]),t]}let v=e=>!e.isLayoutDirty&&e.willUpdate(!1),y=e=>{let{children:t,id:n,inherit:i=!0}=e,o=(0,f.useContext)(m.LayoutGroupContext),r=(0,f.useContext)(d),[a,s]=g(),l=(0,f.useRef)(null),u=o.id||r;null===l.current&&((e=>!0==(!0===e)||"id"===e)(i)&&u&&(n=n?u+"-"+n:u),l.current={id:n,group:!0===i&&o.group||function(){let e=new Set,t=new WeakMap,n=()=>e.forEach(v);return{add:i=>{e.add(i),t.set(i,i.addEventListener("willUpdate",n))},remove:i=>{e.delete(i);let o=t.get(i);o&&(o(),t.delete(i)),n()},dirty:n}}()});let p=(0,f.useMemo)(()=>({...l.current,forceRender:a}),[s]);return(0,c.jsx)(m.LayoutGroupContext.Provider,{value:p,children:t})};var M=e.i(295902);let w={renderer:e.i(397129).createDomVisualElement,...M.animations};var C=e.i(656079),E=e.i(132800),x=e.i(500788);let S={...C.domAnimation,...E.drag,...x.layout};var A=e.i(33121),V=e.i(102670),b=e.i(438998);function I(e){let t=(0,b.useConstant)(()=>(0,A.motionValue)(e)),{isStatic:n}=(0,f.useContext)(V.MotionConfigContext);if(n){let[,n]=(0,f.useState)(e);(0,f.useEffect)(()=>t.on("change",n),[])}return t}function T(e,t){let n=I(t()),i=()=>n.set(t());return i(),(0,p.useIsomorphicLayoutEffect)(()=>{let t=()=>h.frame.preRender(i,!1,!0),n=e.map(e=>e.on("change",t));return()=>{n.forEach(e=>e()),(0,h.cancelFrame)(i)}}),n}var P=e.i(746581);function L(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];let o=e.length;return T(n.filter(P.isMotionValue),function(){let t="";for(let i=0;i<o;i++){t+=e[i];let o=n[i];o&&(t+=(0,P.isMotionValue)(o)?o.get():o)}return t})}var O=e.i(312379),k=e.i(975279);function R(){let e,t;for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];let r=!Array.isArray(i[0]),a=r?0:-1,s=i[0+a],l=i[1+a],u=i[2+a],c=i[3+a],f=(0,k.interpolate)(l,u,{mixer:(t=e=u[0])&&"object"==typeof t&&t.mix?e.mix:void 0,...c});return r?f(s):f}function D(e,t,n,i){if("function"==typeof e){A.collectMotionValues.current=[],e();let t=T(A.collectMotionValues.current,e);return A.collectMotionValues.current=void 0,t}let o="function"==typeof t?t:R(t,n,i);return Array.isArray(e)?F(e,o):F([e],e=>{let[t]=e;return o(t)})}function F(e,t){let n=(0,b.useConstant)(()=>[]);return T(e,()=>{n.length=0;let i=e.length;for(let t=0;t<i;t++)n[t]=e[t].get();return t(n)})}var G=e.i(908273);function B(e){return"number"==typeof e?e:parseFloat(e)}function W(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{isStatic:n}=(0,f.useContext)(V.MotionConfigContext),i=(0,f.useRef)(null),o=I((0,P.isMotionValue)(e)?B(e.get()):e),r=(0,f.useRef)(o.get()),a=(0,f.useRef)(()=>{}),s=()=>{let e=i.current;e&&0===e.time&&e.sample(h.frameData.delta),l(),i.current=(0,G.animateValue)({keyframes:[o.get(),r.current],velocity:o.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...t,onUpdate:a.current})},l=()=>{i.current&&i.current.stop()};return(0,f.useInsertionEffect)(()=>o.attach((e,t)=>n?t(e):(r.current=e,a.current=t,h.frame.update(s),o.get()),l),[JSON.stringify(t)]),(0,p.useIsomorphicLayoutEffect)(()=>{if((0,P.isMotionValue)(e))return e.on("change",e=>o.set(B(e)))},[o]),o}function z(e,t,n){(0,f.useInsertionEffect)(()=>e.on(t,n),[e,t,n])}function N(e){let t=I(e.getVelocity()),n=()=>{let i=e.getVelocity();t.set(i),i&&h.frame.update(n)};return z(e,"change",()=>{h.frame.update(n,!1,!0)}),t}var j=e.i(61342),H=e.i(593460);let U=new WeakMap;function Y(e){var t;let{target:n,contentRect:i,borderBoxSize:o}=e;null==(t=U.get(n))||t.forEach(e=>{e({target:n,contentSize:i,get size(){if(o){let{inlineSize:e,blockSize:t}=o[0];return{width:e,height:t}}if(n instanceof SVGElement&&"getBBox"in n)return n.getBBox();return{width:n.offsetWidth,height:n.offsetHeight}}})})}function X(e){e.forEach(Y)}let K=new Set;var J=e.i(740620),q=e.i(118119);let Q=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),Z={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function $(e,t,n,i){let o=n[t],{length:r,position:a}=Z[t],s=o.current,l=n.time;o.current=e["scroll".concat(a)],o.scrollLength=e["scroll".concat(r)]-e["client".concat(r)],o.offset.length=0,o.offset[0]=0,o.offset[1]=o.scrollLength,o.progress=(0,J.progress)(0,o.scrollLength,o.current);let u=i-l;o.velocity=u>50?0:(0,q.velocityPerSecond)(o.current-s,u)}e.i(922271);let _={All:[[0,0],[1,1]]},ee={start:0,center:.5,end:1};function et(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=0;if(e in ee&&(e=ee[e]),"string"==typeof e){let t=parseFloat(e);e.endsWith("px")?i=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?i=t/100*document.documentElement.clientWidth:e.endsWith("vh")?i=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(i=t*e),n+i}let en=[0,0];var ei=e.i(499512);let eo={x:0,y:0},er=new WeakMap,ea=new WeakMap,es=new WeakMap,el=e=>e===document.documentElement?window:e;function eu(e){let{container:i=document.documentElement,...o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=es.get(i);r||(r=new Set,es.set(i,r));let a=function(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return{measure:()=>(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2?arguments[2]:void 0;if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let i=t;for(;i&&i!==e;)n.x.targetOffset+=i.offsetLeft,n.y.targetOffset+=i.offsetTop,i=i.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight})(e,i.target,n),update:t=>{$(e,"x",n,t),$(e,"y",n,t),n.time=t,(i.offset||i.target)&&function(e,t,n){let{offset:i=_.All}=n,{target:o=e,axis:r="y"}=n,a="y"===r?"height":"width",s=o!==e?function(e,t){let n={x:0,y:0},i=e;for(;i&&i!==t;)if(i instanceof HTMLElement)n.x+=i.offsetLeft,n.y+=i.offsetTop,i=i.offsetParent;else if("svg"===i.tagName){let e=i.getBoundingClientRect(),t=(i=i.parentElement).getBoundingClientRect();n.x+=e.left-t.left,n.y+=e.top-t.top}else if(i instanceof SVGGraphicsElement){let{x:e,y:t}=i.getBBox();n.x+=e,n.y+=t;let o=null,r=i.parentNode;for(;!o;)"svg"===r.tagName&&(o=r),r=i.parentNode;i=o}else break;return n}(o,e):eo,l=o===e?{width:e.scrollWidth,height:e.scrollHeight}:"getBBox"in o&&"svg"!==o.tagName?o.getBBox():{width:o.clientWidth,height:o.clientHeight},u={width:e.clientWidth,height:e.clientHeight};t[r].offset.length=0;let c=!t[r].interpolate,f=i.length;for(let e=0;e<f;e++){let n=function(e,t,n,i){let o=Array.isArray(e)?e:en,r=0;return"number"==typeof e?o=[e,e]:"string"==typeof e&&(o=(e=e.trim()).includes(" ")?e.split(" "):[e,ee[e]?e:"0"]),(r=et(o[0],n,i))-et(o[1],t)}(i[e],u[a],l[a],s[r]);c||n===t[r].interpolatorOffsets[e]||(c=!0),t[r].offset[e]=n}c&&(t[r].interpolate=(0,k.interpolate)(t[r].offset,(0,ei.defaultOffset)(i)),t[r].interpolatorOffsets=[...t[r].offset]),t[r].progress=t[r].interpolate(t[r].current)}(e,n,i)},notify:()=>t(n)}}(i,e,{time:0,x:Q(),y:Q()},o);if(r.add(a),!er.has(i)){let e=()=>{for(let e of r)e.measure()},o=()=>{for(let e of r)e.update(h.frameData.timestamp)},a=()=>{for(let e of r)e.notify()},s=()=>{h.frame.read(e,!1,!0),h.frame.read(o,!1,!0),h.frame.update(a,!1,!0)};er.set(i,s);let l=el(i);window.addEventListener("resize",s,{passive:!0}),i!==document.documentElement&&ea.set(i,"function"==typeof i?(K.add(i),n||(n=()=>{let e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};K.forEach(e=>e(t))},window.addEventListener("resize",n)),()=>{K.delete(i),!K.size&&n&&(n=void 0)}):function(e,n){t||"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(X));let i=(0,H.resolveElements)(e);return i.forEach(e=>{let i=U.get(e);i||(i=new Set,U.set(e,i)),i.add(n),null==t||t.observe(e)}),()=>{i.forEach(e=>{let i=U.get(e);null==i||i.delete(n),(null==i?void 0:i.size)||null==t||t.unobserve(e)})}}(i,s)),l.addEventListener("scroll",s,{passive:!0})}let s=er.get(i);return h.frame.read(s,!1,!0),()=>{var e;(0,h.cancelFrame)(s);let t=es.get(i);if(!t||(t.delete(a),t.size))return;let n=er.get(i);er.delete(i),n&&(el(i).removeEventListener("scroll",n),null==(e=ea.get(i))||e(),window.removeEventListener("resize",n))}}function ec(e,t){let n,i=()=>{let{currentTime:i}=t,o=(null===i?0:i.value)/100;n!==o&&e(o),n=o};return h.frame.update(i,!0),()=>(0,h.cancelFrame)(i)}var ef=e.i(830170),em=e.i(796254);let ed=new Map;function ep(){let{source:e,container:t=document.documentElement,axis:n="y"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e&&(t=e),ed.has(t)||ed.set(t,{});let i=ed.get(t);return i[n]||(i[n]=(0,ef.supportsScrollTimeline)()?new ScrollTimeline({source:t,axis:n}):function(e){let{source:t,container:n,axis:i="y"}=e;t&&(n=t);let o={value:0},r=eu(e=>{o.value=100*e[i].progress},{container:n,axis:i});return{currentTime:o,cancel:r}}({source:t,axis:n})),i[n]}function eh(e){return e&&(e.target||e.offset)}function eg(e){var t,n;let{axis:i="y",...o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={axis:i,...o};return"function"==typeof e?(t=e,n=r,2===t.length||eh(n)?eu(e=>{t(e[n.axis].progress,e)},n):ec(t,ep(n))):function(e,t){if(e.flatten(),eh(t))return e.pause(),eu(n=>{e.time=e.duration*n[t.axis].progress},t);{let n=ep(t);return e.attachTimeline?e.attachTimeline(n,e=>(e.pause(),ec(t=>{e.time=e.duration*t},n))):em.noop}}(e,r)}function ev(e,t){(0,j.warning)(!!(!t||t.current),"You have defined a ".concat(e," options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its `layoutEffect: false` option."))}let ey=()=>({scrollX:(0,A.motionValue)(0),scrollY:(0,A.motionValue)(0),scrollXProgress:(0,A.motionValue)(0),scrollYProgress:(0,A.motionValue)(0)});function eM(){let{container:e,target:t,layoutEffect:n=!0,...i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=(0,b.useConstant)(ey);return(n?p.useIsomorphicLayoutEffect:f.useEffect)(()=>(ev("target",t),ev("container",e),eg((e,t)=>{let{x:n,y:i}=t;o.scrollX.set(n.current),o.scrollXProgress.set(n.progress),o.scrollY.set(i.current),o.scrollYProgress.set(i.progress)},{...i,container:(null==e?void 0:e.current)||void 0,target:(null==t?void 0:t.current)||void 0})),[e,t,JSON.stringify(i.offset)]),o}function ew(e){return eM({container:e})}function eC(){return eM()}function eE(e){let t=(0,f.useRef)(0),{isStatic:n}=(0,f.useContext)(V.MotionConfigContext);(0,f.useEffect)(()=>{if(n)return;let i=n=>{let{timestamp:i,delta:o}=n;t.current||(t.current=i),e(i-t.current,o)};return h.frame.update(i,!0),()=>(0,h.cancelFrame)(i)},[e])}function ex(){let e=I(0);return eE(t=>e.set(t)),e}var eS=A,eA=e.i(787102),eV=e.i(282936),eb=e.i(303868),eI=e.i(667252);class eT extends eS.MotionValue{add(e){let t=eb.transformProps.has(e)?"transform":eA.acceleratedValues.has(e)?(0,eV.camelToDash)(e):void 0;t&&((0,eI.addUniqueItem)(this.values,t),this.update())}update(){this.set(this.values.length?this.values.join(", "):"auto")}constructor(){super(...arguments),this.values=[]}}function eP(){return(0,b.useConstant)(()=>new eT("auto"))}var eL=e.i(780731),eO=e.i(292289);function ek(){eO.hasReducedMotionListener.current||(0,eL.initPrefersReducedMotion)();let[e]=(0,f.useState)(eO.prefersReducedMotion.current);return e}function eR(){let e=ek(),{reducedMotion:t}=(0,f.useContext)(V.MotionConfigContext);return"never"!==t&&("always"===t||e)}var eD=e.i(980517),eF=e.i(832169);function eG(e,t){[...t].reverse().forEach(n=>{let i=e.getVariant(n);i&&(0,eD.setTarget)(e,i),e.variantChildren&&e.variantChildren.forEach(e=>{eG(e,t)})})}function eB(){let e=!1,t=new Set,n={subscribe:e=>(t.add(e),()=>void t.delete(e)),start(n,i){(0,j.invariant)(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let o=[];return t.forEach(e=>{o.push((0,eF.animateVisualElement)(e,n,{transitionOverride:i}))}),Promise.all(o)},set:n=>((0,j.invariant)(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(e=>{var t,i;t=e,Array.isArray(i=n)?eG(t,i):"string"==typeof i?eG(t,[i]):(0,eD.setTarget)(t,i)})),stop(){t.forEach(e=>{e.values.forEach(e=>e.stop())})},mount:()=>(e=!0,()=>{e=!1,n.stop()})};return n}function eW(e){return(0,f.useEffect)(()=>()=>e(),[])}var ez=e.i(746224),eN=e.i(509681),ej=e.i(593599),eH=e.i(412285);function eU(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=arguments.length>2?arguments[2]:void 0,i=n({...e,keyframes:[0,t]}),o=Math.min((0,ej.calcGeneratorDuration)(i),ej.maxGeneratorDuration);return{type:"keyframes",ease:e=>i.next(o*e).value/t,duration:(0,eH.millisecondsToSeconds)(o)}}var eY=e.i(576783);function eX(e){return"object"==typeof e&&!Array.isArray(e)}function eK(e,t,n,i){return"string"==typeof e&&eX(t)?(0,H.resolveElements)(e,n,i):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}var eJ=e.i(162438);function eq(e,t,n,i){var o;return"number"==typeof t?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?n:null!=(o=i.get(t))?o:e}let eQ=(e,t,n)=>{let i=t-e;return((n-e)%i+i)%i+e};var eZ=e.i(891358),e$=e.i(519783);function e_(e,t){return e.at!==t.at?e.at-t.at:null===e.value?1:null===t.value?-1:0}function e0(e,t){return t.has(e)||t.set(e,{}),t.get(e)}function e1(e,t){return t[e]||(t[e]=[]),t[e]}let e2=e=>"number"==typeof e,e3=e=>e.every(e2);var e6=e.i(500904),e9=e.i(128791),e8=e.i(533268),e5=e.i(122214),e4=e.i(167188),e7=e.i(710147),te=e.i(67916);class tt extends te.VisualElement{readValueFromInstance(e,t){if(t in e){let n=e[t];if("string"==typeof n||"number"==typeof n)return n}}getBaseTargetFromProps(){}removeValueFromRenderState(e,t){delete t.output[e]}measureInstanceViewportBox(){return(0,e7.createBox)()}build(e,t){Object.assign(e.output,t)}renderInstance(e,t){let{output:n}=t;Object.assign(e,n)}sortInstanceNodePosition(){return 0}constructor(){super(...arguments),this.type="object"}}function tn(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=(0,e8.isSVGElement)(e)?new e5.SVGVisualElement(t):new e4.HTMLVisualElement(t);n.mount(e),e6.visualElementStore.set(e,n)}function ti(e){let t=new tt({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});t.mount(e),e6.visualElementStore.set(e,t)}var to=e.i(190786);function tr(e,t,n,i){let o=[];if((0,P.isMotionValue)(e)||"number"==typeof e||"string"==typeof e&&!eX(t))o.push((0,to.animateSingleValue)(e,eX(t)&&t.default||t,n&&n.default||n));else{let r=eK(e,t,i),a=r.length;(0,j.invariant)(!!a,"No valid elements provided.");for(let e=0;e<a;e++){let i=r[e],s=i instanceof Element?tn:ti;e6.visualElementStore.has(i)||s(i);let l=e6.visualElementStore.get(i),u={...n};"delay"in u&&"function"==typeof u.delay&&(u.delay=u.delay(e,a)),o.push(...(0,e9.animateTarget)(l,{...t,transition:u},{}))}}return o}function ta(e){return function(t,n,i){let o=[];o=Array.isArray(t)&&Array.isArray(t[0])?function(e,t,n){let i=[];return(function(e){let{defaultTransition:t={},...n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,r=t.duration||.3,a=new Map,s=new Map,l={},u=new Map,c=0,f=0,m=0;for(let n=0;n<e.length;n++){let a=e[n];if("string"==typeof a){u.set(a,f);continue}if(!Array.isArray(a)){u.set(a.name,eq(f,a.at,c,u));continue}let[h,g,v={}]=a;void 0!==v.at&&(f=eq(f,v.at,c,u));let y=0,M=function(e,n,i){var a;let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,u=Array.isArray(a=e)?a:[a],{delay:c=0,times:d=(0,ei.defaultOffset)(u),type:p="keyframes",...h}=n,{ease:g=t.ease||"easeOut",duration:v}=n,M="function"==typeof c?c(s,l):c,w=u.length,C=(0,eJ.isGenerator)(p)?p:null==o?void 0:o[p];if(w<=2&&C){let e=100;2===w&&e3(u)&&(e=Math.abs(u[1]-u[0]));let t={...h};void 0!==v&&(t.duration=(0,eH.secondsToMilliseconds)(v));let n=eU(t,e,C);g=n.ease,v=n.duration}null!=v||(v=r);let E=f+M,x=E+v;1===d.length&&0===d[0]&&(d[1]=1);let S=d.length-u.length;S>0&&(0,eY.fillOffset)(d,S),1===u.length&&u.unshift(null),function(e,t,n,i,o,r){var a;for(let t=0;t<e.length;t++){let n=e[t];n.at>o&&n.at<r&&((0,eI.removeItem)(e,n),t--)}for(let s=0;s<t.length;s++)e.push({value:t[s],at:(0,e$.mixNumber)(o,r,i[s]),easing:(a=s,(0,eZ.isEasingArray)(n)?n[eQ(0,n.length,a)]:n)})}(i,u,g,d,E,x),y=Math.max(M+v,y),m=Math.max(x,m)};if((0,P.isMotionValue)(h))M(g,v,e1("default",e0(h,s)));else{let e=eK(h,g,i,l),t=e.length;for(let n=0;n<t;n++){let i=e0(e[n],s);for(let e in g){var d,p;M(g[e],(d=v,p=e,d&&d[p]?{...d,...d[p]}:{...d}),e1(e,i),n,t)}}}c=f,f+=y}return s.forEach((e,i)=>{for(let o in e){let r=e[o];r.sort(e_);let s=[],l=[],u=[];for(let e=0;e<r.length;e++){let{at:t,value:n,easing:i}=r[e];s.push(n),l.push((0,J.progress)(0,m,t)),u.push(i||"easeOut")}0!==l[0]&&(l.unshift(0),s.unshift(s[0]),u.unshift("easeInOut")),1!==l[l.length-1]&&(l.push(1),s.push(null)),a.has(i)||a.set(i,{keyframes:{},transition:{}});let c=a.get(i);c.keyframes[o]=s,c.transition[o]={...t,duration:m,ease:u,times:l,...n}}}),a})(e,t,n,{spring:eN.spring}).forEach((e,t)=>{let{keyframes:n,transition:o}=e;i.push(...tr(t,n,o))}),i}(t,n,e):tr(t,n,i,e);let r=new ez.GroupPlaybackControls(o);return e&&e.animations.push(r),r}}let ts=ta();function tl(){let e=(0,b.useConstant)(()=>({current:null,animations:[]})),t=(0,b.useConstant)(()=>ta(e));return eW(()=>{e.animations.forEach(e=>e.stop())}),[e,t]}var tu=e.i(324167),tc=e.i(65832),tf=e.i(44454),tm=e.i(295005),td=e.i(596364);function tp(e,t,n){e.style.setProperty("--".concat(t),n)}function th(e,t,n){e.style[t]=n}var tg=e.i(97639);let tv=(0,e.i(661429).memo)(()=>{try{document.createElement("div").animate({opacity:[1]})}catch(e){return!1}return!0});var ty=e.i(139522);let tM=new WeakMap,tw="easeOut";function tC(e){let t=tM.get(e)||new Map;return tM.set(e,t),tM.get(e)}class tE{get duration(){return(0,eH.millisecondsToSeconds)(this.options.duration||300)}get time(){var e;return this.animation?(0,eH.millisecondsToSeconds)((null==(e=this.animation)?void 0:e.currentTime)||0):0}set time(e){this.animation&&(this.animation.currentTime=(0,eH.secondsToMilliseconds)(e))}get speed(){return this.animation?this.animation.playbackRate:1}set speed(e){this.animation&&(this.animation.playbackRate=e)}get state(){return this.animation?this.animation.playState:"finished"}get startTime(){return this.animation?this.animation.startTime:null}flatten(){var e;this.animation&&(null==(e=this.animation.effect)||e.updateTiming({easing:"linear"}))}play(){"finished"===this.state&&this.updateFinishedPromise(),this.animation&&this.animation.play()}pause(){this.animation&&this.animation.pause()}stop(){this.animation&&"idle"!==this.state&&"finished"!==this.state&&(this.animation.commitStyles&&this.animation.commitStyles(),this.cancel())}complete(){this.animation&&this.animation.finish()}cancel(){this.removeAnimation();try{this.animation&&this.animation.cancel()}catch(e){}}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}attachTimeline(e){return this.animation?(0,tm.attachTimeline)(this.animation,e):this.pendingTimeline=e,em.noop}constructor(e,t,n,i){let o=t.startsWith("--");this.setValue=o?tp:th,this.options=i,this.updateFinishedPromise(),(0,j.invariant)("string"!=typeof i.type,'animateMini doesn\'t support "type" as a string. Did you mean to import { spring } from "framer-motion"?');let r=tC(e).get(t);if(r&&r.stop(),Array.isArray(n)||(n=[n]),!function(e,t,n){for(let i=0;i<t.length;i++)null===t[i]&&(t[i]=0===i?n():t[i-1]),"number"==typeof t[i]&&tf.browserNumberValueTypes[e]&&(t[i]=tf.browserNumberValueTypes[e].transform(t[i]));!tv()&&t.length<2&&t.unshift(n())}(t,n,()=>t.startsWith("--")?e.style.getPropertyValue(t):window.getComputedStyle(e)[t]),(0,eJ.isGenerator)(i.type)){let e=eU(i,100,i.type);i.ease=(0,tg.supportsLinearEasing)()?e.ease:tw,i.duration=(0,eH.secondsToMilliseconds)(e.duration),i.type="keyframes"}else i.ease=i.ease||tw;this.removeAnimation=()=>{var n;return null==(n=tM.get(e))?void 0:n.delete(t)};let a=()=>{this.setValue(e,t,(0,td.getFinalKeyframe)(n,this.options)),this.cancel(),this.resolveFinishedPromise()};(0,ty.supportsWaapi)()?(this.animation=(0,tc.startWaapiAnimation)(e,t,n,i),!1===i.autoplay&&this.animation.pause(),this.animation.onfinish=a,this.pendingTimeline&&(0,tm.attachTimeline)(this.animation,this.pendingTimeline),tC(e).set(t,this)):a()}}let tx=e=>function(t,n,i){return new ez.GroupPlaybackControls(function(e,t,n,i){let o=(0,H.resolveElements)(e,i),r=o.length;(0,j.invariant)(!!r,"No valid element provided.");let a=[];for(let e=0;e<r;e++){let i=o[e],s={...n};for(let n in"function"==typeof s.delay&&(s.delay=s.delay(e,r)),t){let e=t[n],o={...(0,tu.getValueTransition)(s,n)};o.duration=o.duration?(0,eH.secondsToMilliseconds)(o.duration):o.duration,o.delay=(0,eH.secondsToMilliseconds)(o.delay||0),a.push(new tE(i,n,e,o))}}return a}(t,n,i,e))},tS=tx();function tA(){let e=(0,b.useConstant)(()=>({current:null,animations:[]})),t=(0,b.useConstant)(()=>tx(e));return eW(()=>{e.animations.forEach(e=>e.stop())}),[e,t]}function tV(){let e=(0,b.useConstant)(eB);return(0,p.useIsomorphicLayoutEffect)(e.mount,[]),e}let tb=tV;var tI=eF;function tT(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let i=(0,f.useRef)(0),[o,r]=(0,f.useState)(t[i.current]);return[o,(0,f.useCallback)(e=>{i.current="number"!=typeof e?eQ(0,t.length,i.current+1):e,r(t[i.current])},[t.length,...t])]}var tP=e.i(398720),tL=e.i(968242);let tO={some:0,all:1};function tk(e,t){let{root:n,margin:i,amount:o="some"}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,H.resolveElements)(e),a=new WeakMap,s=new IntersectionObserver(e=>{e.forEach(e=>{let n=a.get(e.target);if(!!n!==e.isIntersecting)if(e.isIntersecting){let n=t(e);"function"==typeof n?a.set(e.target,n):s.unobserve(e.target)}else n&&(n(e),a.delete(e.target))})},{root:n,rootMargin:i,threshold:"number"==typeof o?o:tO[o]});return r.forEach(e=>s.observe(e)),()=>s.disconnect()}function tR(e){let{root:t,margin:n,amount:i,once:o=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[r,a]=(0,f.useState)(!1);return(0,f.useEffect)(()=>{if(!e.current||o&&r)return;let s={root:t&&t.current||void 0,margin:n,amount:i};return tk(e.current,()=>(a(!0),o?void 0:()=>a(!1)),s)},[t,e,n,o,i]),r}class tD{subscribe(e){return this.componentControls.add(e),()=>this.componentControls.delete(e)}start(e,t){this.componentControls.forEach(n=>{n.start(e.nativeEvent||e,t)})}constructor(){this.componentControls=new Set}}let tF=()=>new tD;function tG(){return(0,b.useConstant)(tF)}var tB=e.i(821856);function tW(e,t,n,i){(0,f.useEffect)(()=>{let o=e.current;if(n&&o)return(0,tB.addDomEvent)(o,t,n,i)},[e,t,n,i])}var tz=e.i(584027),tN=e.i(374511);function tj(e){return null!==e&&"object"==typeof e&&tN.motionComponentSymbol in e}function tH(e){if(tj(e))return e[tN.motionComponentSymbol]}var tU=te,tY=e.i(656351),tX=e.i(478040);function tK(){return tJ}function tJ(e){tX.rootProjectionNode.current&&(tX.rootProjectionNode.current.isUpdating=!1,tX.rootProjectionNode.current.blockUpdate(),e&&e())}var tq=e.i(202359);function tQ(){let[e,t]=g(),n=(0,f.useRef)();return(0,f.useEffect)(()=>{h.frame.postRender(()=>h.frame.postRender(()=>{t===n.current&&(tq.instantAnimationState.current=!1)}))},[t]),i=>{tJ(()=>{tq.instantAnimationState.current=!0,e(),i(),n.current=t+1})}}function tZ(){tq.instantAnimationState.current=!1}function t$(){return(0,f.useCallback)(()=>{let e=tX.rootProjectionNode.current;e&&e.resetTree()},[])}var t_=e.i(294347),t0=e6,t1=G,t2=e.i(353201),t3=e.i(855854),t6=e.i(623940),t9=e.i(304310),t8=e.i(799276);let t5=(e,t)=>{let n=eb.transformProps.has(t)?"transform":t;return"".concat(e,": ").concat(n)};var t4=e.i(322682);let t7=new Map,ne=new Map;function nt(e,t,n){var i;let o=t5(e,t),r=t7.get(o);if(!r)return null;let{animation:a,startTime:s}=r;function l(){var i;null==(i=window.MotionCancelOptimisedAnimation)||i.call(window,e,t,n)}return(a.onfinish=l,null===s||(null==(i=window.MotionHandoffIsComplete)?void 0:i.call(window,e)))?(l(),null):s}var nn=e.i(425705);let ni=new Set;function no(){ni.forEach(e=>{e.animation.play(),e.animation.startTime=e.startTime}),ni.clear()}function nr(e,t,n,r,a){if(window.MotionIsMounted)return;let s=e.dataset[t4.optimizedAppearDataId];if(!s)return;window.MotionHandoffAnimation=nt;let l=t5(s,t);o||(o=(0,tc.startWaapiAnimation)(e,t,[n[0],n[0]],{duration:1e4,ease:"linear"}),t7.set(l,{animation:o,startTime:null}),window.MotionHandoffAnimation=nt,window.MotionHasOptimisedAnimation=(e,t)=>{if(!e)return!1;if(!t)return ne.has(e);let n=t5(e,t);return!!t7.get(n)},window.MotionHandoffMarkAsComplete=e=>{ne.has(e)&&ne.set(e,!0)},window.MotionHandoffIsComplete=e=>!0===ne.get(e),window.MotionCancelOptimisedAnimation=(e,t,n,i)=>{let o=t5(e,t),r=t7.get(o);r&&(n&&void 0===i?n.postRender(()=>{n.postRender(()=>{r.animation.cancel()})}):r.animation.cancel(),n&&i?(ni.add(r),n.render(no)):(t7.delete(o),t7.size||(window.MotionCancelOptimisedAnimation=void 0)))},window.MotionCheckAppearSync=(e,t,n)=>{var i,o;let r=(0,nn.getOptimisedAppearId)(e);if(!r)return;let a=null==(i=window.MotionHasOptimisedAnimation)?void 0:i.call(window,r,t),s=null==(o=e.props.values)?void 0:o[t];if(!a||!s)return;let l=n.on("change",e=>{var n;s.get()!==e&&(null==(n=window.MotionCancelOptimisedAnimation)||n.call(window,r,t),l())});return l});let u=()=>{o.cancel();let s=(0,tc.startWaapiAnimation)(e,t,n,r);void 0===i&&(i=performance.now()),s.startTime=i,t7.set(l,{animation:s,startTime:i}),a&&a(s)};ne.set(s,!1),o.ready?o.ready.then(u).catch(em.noop):u()}var na=t4,ns=eN,nl=e.i(208902),nu=e.i(580483),nc=V,nf=e.i(139204),nm=m,nd=e.i(584579),np=e.i(836491),nh=e.i(405428),ng=te;let nv=()=>({});class ny extends ng.VisualElement{build(){}resetTransform(){}restoreTransform(){}removeValueFromRenderState(){}renderInstance(){}scrapeMotionValuesFromProps(){return nv()}getBaseTargetFromProps(){}readValueFromInstance(e,t,n){return n.initialState[t]||0}sortInstanceNodePosition(){return 0}constructor(){super(...arguments),this.measureInstanceViewportBox=e7.createBox}}let nM=(0,nh.makeUseVisualState)({scrapeMotionValuesFromProps:nv,createRenderState:nv});function nw(e){let[t,n]=(0,f.useState)(e),i=nM({},!1),o=(0,b.useConstant)(()=>new ny({props:{onUpdate:e=>{n({...e})}},visualState:i,presenceContext:null},{initialState:e}));return(0,f.useLayoutEffect)(()=>(o.mount({}),()=>o.unmount()),[o]),[t,(0,b.useConstant)(()=>e=>(0,eF.animateVisualElement)(o,e))]}let nC=e=>e>.001?1/e:1e5,nE=!1;function nx(e){let t=I(1),n=I(1),{visualElement:i}=(0,f.useContext)(nu.MotionContext);return(0,j.invariant)(!!(e||i),"If no scale values are provided, useInvertedScale must be used within a child of another motion component."),(0,j.warning)(nE,"useInvertedScale is deprecated and will be removed in 3.0. Use the layout prop instead."),nE=!0,e?(t=e.scaleX||t,n=e.scaleY||n):i&&(t=i.getValue("scaleX",1),n=i.getValue("scaleY",1)),{scaleX:D(t,nC),scaleY:D(n,nC)}}let nS=0,nA=e=>{let{children:t}=e;return f.useEffect(()=>{(0,j.invariant)(!1,"AnimateSharedLayout is deprecated: https://www.framer.com/docs/guide-upgrade/##shared-layout-animations")},[]),(0,c.jsx)(y,{id:(0,b.useConstant)(()=>"asl-".concat(nS++)),children:t})};var nV=e.i(410633);e.s({Group:()=>nI,Item:()=>nO},362713),e.s({},460463),e.s({Group:()=>nI,Item:()=>nO},686672);let nb=(0,f.createContext)(null),nI=(0,f.forwardRef)(function(e,t){let{children:n,as:i="ul",axis:o="y",onReorder:a,values:s,...l}=e,u=(0,b.useConstant)(()=>r.motion[i]),m=[],d=(0,f.useRef)(!1);return(0,j.invariant)(!!s,"Reorder.Group must be provided a values prop"),(0,f.useEffect)(()=>{d.current=!1}),(0,c.jsx)(u,{...l,ref:t,ignoreStrict:!0,children:(0,c.jsx)(nb.Provider,{value:{axis:o,registerItem:(e,t)=>{let n=m.findIndex(t=>e===t.value);-1!==n?m[n].layout=t[o]:m.push({value:e,layout:t[o]}),m.sort(nP)},updateOrder:(e,t,n)=>{if(d.current)return;let i=function(e,t,n,i){if(!i)return e;let o=e.findIndex(e=>e.value===t);if(-1===o)return e;let r=i>0?1:-1,a=e[o+r];if(!a)return e;let s=e[o],l=a.layout,u=(0,e$.mixNumber)(l.min,l.max,.5);return 1===r&&s.layout.max+n>u||-1===r&&s.layout.min+n<u?(0,eI.moveItem)(e,o,o+r):e}(m,e,t,n);m!==i&&(d.current=!0,a(i.map(nT).filter(e=>-1!==s.indexOf(e))))}},children:n})})});function nT(e){return e.value}function nP(e,t){return e.layout.min-t.layout.min}function nL(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,P.isMotionValue)(e)?e:I(t)}let nO=(0,f.forwardRef)(function(e,t){let{children:n,style:i={},value:o,as:a="li",onDrag:s,layout:l=!0,...u}=e,m=(0,b.useConstant)(()=>r.motion[a]),d=(0,f.useContext)(nb),p={x:nL(i.x),y:nL(i.y)},h=D([p.x,p.y],e=>{let[t,n]=e;return t||n?1:"unset"});(0,j.invariant)(!!d,"Reorder.Item must be a child of Reorder.Group");let{axis:g,registerItem:v,updateOrder:y}=d;return(0,c.jsx)(m,{drag:g,...u,dragSnapToOrigin:!0,style:{...i,x:p.x,y:p.y,zIndex:h},layout:l,onDrag:(e,t)=>{let{velocity:n}=t;n[g]&&y(o,p[g].get(),n[g]),s&&s(e,t)},onLayoutMeasure:e=>v(o,e),ref:t,ignoreStrict:!0,children:n})});e.i(460463),e.i(686672);var nk=e.i(362713),nR=j,nD=em,nF=e.i(463036),nG=A,nB=e.i(825576),nW=e.i(496065),nz=e.i(195463);function nN(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.1,{startDelay:t=0,from:n=0,ease:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(o,r)=>{let a=e*Math.abs(("number"==typeof n?n:function(e,t){if("first"===e)return 0;{let n=t-1;return"last"===e?n:n/2}}(n,r))-o);if(i){let t=r*e;a=(0,nz.easingDefinitionToFunction)(i)(a/t)*t}return t+a}}var nj=e.i(499228),nH=e.i(513632),nU=e.i(938955),nY=J,nX=e.i(100680);let nK=h.frame,nJ=nX.stepsOrder.reduce((e,t)=>(e[t]=e=>(0,h.cancelFrame)(e),e),{});var nq=e.i(349017),nQ=e.i(936003),nZ=e.i(992382),n$=e.i(571143),n_=e.i(57103);function n0(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"end";return n=>{let i=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e,o="end"===t?Math.floor(i):Math.ceil(i);return(0,nj.clamp)(0,1,o/e)}}var n1=e.i(487616),n2=e.i(587672),n3=e.i(516462),n6=k,n9=h,n8=M,n5=e7,n4=e.i(697246),n7=e.i(368013),ie=nh,it=e.i(621015),ii=e.i(399136),io=P,ir=e.i(196648),ia=p;e.i(881593),e.i(568032)}}]);
//# sourceMappingURL=b0d66f6a77bea76f.js.map