PageSourceSearch

https://anthum.ai/assets/index-C8fclT2j.js

js anthum.ai collected 2026-10-05 11:50:19 UTC 45,577 bytes, 4 lines download raw bytes

1import{A as ra,P as aa,a as oa,u as ia}from"./index-CvVUTm6a.js";import{r as d,j as M}from"./vendor-CSpQeQFa.js";import{A as Vt,B as st,N as be,C as Ce,D as Ct,E as Mt,F as Pt,G as Rt,I as It,J as y,K as V,O as Ot,Q as Me,R as xe,i as rt,T as G,U as at,W as B,X as ot,Y as se,Z as Bt,_ as Pe,y as F,$ as Z,o as O,a0 as Dt,a1 as Lt,a2 as Wt,r as Ft,a3 as te,v as ie,H as jt,a4 as kt,a5 as Re,d as ce,a6 as Gt,b as it,L as Ie,a7 as Oe,a8 as Ht,a9 as $t,M as Q,aa as zt,u as v,ab as Nt,ac as ct,ad as ut,ae as Xt,af as Kt,ag as Yt,ah as lt,ai as dt,p as Ut,aj as qt,ak as Zt,j as _t,al as Jt,e as P,h as ue,am as z,an as Qt,ao as en,P as tn,ap as nn,aq as ft,ar as _,as as le,at as sn,au as Be,av as rn,f as an,V as on,aw as cn,ax as un,ay as ln,g as dn,az as fn,m as mt}from"./use-motion-value-DTB6dbb9.js";import{aP as ua,b8 as la,c7 as da,db as fa,c8 as ma,d6 as pa,aQ as ha,b9 as ga,aS as ya,dd as wa,S as ba,dv as xa,aM as Sa,aA as va,aB as Ea,aC as Aa,dq as Ta,c5 as Va,bV as Ca,bO as Ma,b1 as Pa,w as Ra,x as Ia,aR as Oa,b2 as Ba,dx as Da,ct as La,cu as Wa,cv as Fa,cw as ja,cP as ka,cQ as Ga,cR as Ha,cS as $a,dy as za,dz as Na,dA as Xa,cT as Ka,cU as Ya,de as Ua,d3 as qa,dh as Za,dk as _a,aD as Ja,cB as Qa,cC as eo,aT as to,b6 as no,aE as so,cD as ro,cE as ao,cF as oo,cG as io,di as co,bg as uo,cb as lo,dB as fo,dC as mo,dD as po,d8 as ho,bI as go,d5 as yo,bP as wo,aY as bo,co as xo,cp as So,bb as vo,cr as Eo,cs as Ao,d0 as To,d2 as Vo,cc as Co,cM as Mo,cN as Po,cO as Ro,k as Io,d9 as Oo,bf as Bo,dE as Do,bc as Lo,b4 as Wo,br as Fo,bS as jo,bY as ko,aF as Go,d7 as Ho,bQ as $o,aN as zo,aO as No,cW as Xo,dF as Ko,dG as Yo,dH as Uo,l as qo,aI as Zo,bR as _o,c4 as Jo,ba as Qo,dp as ei,be as ti,c3 as ni,aW as si,bT as ri,c9 as ai,aX as oi,bA as ii,aU as ci,cd as ui,dc as li,cX as di,cY as fi,cZ as mi,bJ as pi,bl as hi,bK as gi,bL as yi,b3 as wi,bF as bi,ce as xi,aJ as Si,aZ as vi,a_ as Ei,cf as Ai,cV as Ti,bi as Vi,bj as Ci,c as Mi,bn as Pi,bo as Ri,ch as Ii,n as Oi,bv as Bi,cH as Di,bp as Li,dr as Wi,ds as Fi,bq as ji,q as ki,t as Gi,dj as Hi,a$ as $i,aL as zi,ci as Ni,cg as Xi,c6 as Ki,dt as Yi,b5 as Ui,b0 as qi,b7 as Zi,c_ as _i,c$ as Ji,dw as Qi,dI as ec,bx as tc,bB as nc,by as sc,bC as rc,bE as ac,bz as oc,bD as ic,d4 as cc,bG as uc,bW as lc,aG as dc,aV as fc,bs as mc,bZ as pc,du as hc,d1 as gc,bw as yc,bm as wc,b_ as bc,da as xc,b$ as Sc,bt as vc,cI as Ec,cJ as Ac,cK as Tc,cL as Vc,df as Cc,dl as Mc,aH as Pc,ck as Rc,cl as Ic,dJ as Oc,bM as Bc,bN as Dc,bX as Lc,dn as Wc,cx as Fc,dg as jc,dm as kc,bk as Gc,ca as Hc,bu as $c,s as zc,z as Nc,bd as Xc,bH as Kc,c2 as Yc,bh as Uc,cy as qc,cz as Zc,cq as _c,bU as Jc,cA as Qc,cj as eu,aK as tu,a as nu,cm as su,cn as ru,c0 as au,c1 as ou}from"./use-motion-value-DTB6dbb9.js";import{t as mn,f as pn,a as hn,b as gn,u as de}from"./use-spring-BrIaQGyP.js";import{c as cu,d as uu}from"./use-spring-BrIaQGyP.js";import{r as Se,u as yn}from"./useDiscordConnection-qA4zx1HS.js";import{h as du,i as fu,p as mu}from"./useDiscordConnection-qA4zx1HS.js";import{G as fe,c as wn,a as bn,w as xn}from"./use-animation-C_tCGDl2.js";import{O as hu,e as gu,b as yu,g as wu,u as bu,d as xu}from"./use-animation-C_tCGDl2.js";import{i as vu,u as Eu}from"./Browser-76IHF3Y2-nSC2dPog.js";const me=new Set;function cr(e){return me.has(e)}function ur(e,t,n){e||me.has(t)||(console.warn(Vt(t,n)),me.add(t))}function lr(e,t="end"){return n=>{n=t==="end"?Math.min(n,.999):Math.max(n,.001);const s=n*e,r=t==="end"?Math.floor(s):Math.ceil(s);return st(0,1,r/e)}}class De extends be{constructor(t){super(),this.animation=t,t.onfinish=()=>{this.finishedTime=this.time,this.notifyFinished()}}}const Le=new WeakMap,Sn=(e,t="")=>`${e}:${t}`;function vn(e){let t=Le.get(e);return t||(t=new Map,Le.set(e,t)),t}const En=new Set(["borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius","width","maxWidth","height","maxHeight","top","right","bottom","left","inset","insetBlock","insetBlockStart","insetBlockEnd","insetInline","insetInlineStart","insetInlineEnd","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingBlock","paddingBlockStart","paddingBlockEnd","paddingInline","paddingInlineStart","paddingInlineEnd","margin","marginTop","marginRight","marginBottom","marginLeft","marginBlock","marginBlockStart","marginBlockEnd","marginInline","marginInlineStart","marginInlineEnd","fontSize","backgroundPositionX","backgroundPositionY"]);function An(e,t){for(let n=0;n<e.length;n++)typeof e[n]=="number"&&En.has(t)&&(e[n]=e[n]+"px")}function Tn(e){return!!(typeof e=="function"&&Ce()||!e||typeof e=="string"&&(e in Ct||Ce())||Mt(e)||Array.isArray(e)&&e.every(Tn))}const dr=Pt(()=>{try{document.createElement("div").animate({opacity:[1]})}catch{return!1}return!0});function ve(e){return(t,n)=>{const s=Se(t),r=[];for(const a of s){const o=e(a,n);r.push(o)}return()=>{for(const a of r)a()}}}class Vn{constructor(){this.latest={},this.values=new Map}set(t,n,s,r,a=!0){const o=this.values.get(t);o&&o.onRemove();const u=()=>{const l=n.get();a?this.latest[t]=Rt(l,It[t]):this.latest[t]=l,s&&y.render(s)};u();const i=n.on("change",u);r&&n.addDependent(r);const c=()=>{i(),s&&V(s),this.values.delete(t),r&&n.removeDependent(r)};return this.values.set(t,{value:n,onRemove:c}),c}get(t){return this.values.get(t)?.value}}function ne(e){const t=new WeakMap;return(n,s)=>{const r=t.get(n)??new Vn;t.set(n,r);const a=[];for(const o in s){const u=s[o],i=e(n,r,o,u);a.push(i)}return()=>{for(const o of a)o()}}}function Cn(e,t){if(!(t in e))return!1;const n=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),t)||Object.getOwnPropertyDescriptor(e,t);return n&&typeof n.set=="function"}const pe=(e,t,n,s)=>{const r=Cn(e,n),a=r?n:n.startsWith("data")||n.startsWith("aria")?Ot(n):n,o=r?()=>{e[a]=t.latest[n]}:()=>{const u=t.latest[n];u==null?e.removeAttribute(a):e.setAttribute(a,String(u))};return t.set(n,s,o)},fr=ve(ne(pe)),mr=ne((e,t,n,s)=>t.set(n,s,()=>{e[n]=t.latest[n]},void 0,!1)),Mn={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function Pn(e){let t="",n=!0;for(let s=0;s<Me.length;s++){const r=Me[s],a=e.latest[r];if(a===void 0)continue;let o=!0;if(typeof a=="number")o=a===(r.startsWith("scale")?1:0);else{const u=parseFloat(a);o=r.startsWith("scale")?u===1:u===0}if(!o){n=!1;const u=Mn[r]||r;t+=`${u}(${a}) `}}return n?"none":t.trim()}const Rn=new Set(["originX","originY","originZ"]),Ee=(e,t,n,s)=>{let r,a;return xe.has(n)?(t.get("transform")||(!rt(e)&&!t.get("transformBox")&&Ee(e,t,"transformBox",new G("fill-box")),t.set("transform",new G("none"),()=>{e.style.transform=Pn(t)})),a=t.get("transform")):Rn.has(n)?(t.get("transformOrigin")||t.set("transformOrigin",new G(""),()=>{const o=t.latest.originX??"50%",u=t.latest.originY??"50%",i=t.latest.originZ??0;e.style.transformOrigin=`${o} ${u} ${i}`}),a=t.get("transformOrigin")):at(n)?r=()=>{e.style.setProperty(n,t.latest[n])}:r=()=>{e.style[n]=t.latest[n]},t.set(n,s,r,a)},pr=ve(ne(Ee));function In(e,t,n,s){return y.render(()=>e.setAttribute("pathLength","1")),n==="pathOffset"?t.set(n,s,()=>{const r=t.latest[n];e.setAttribute("stroke-dashoffset",`${-r}`)}):(t.get("stroke-dasharray")||t.set("stroke-dasharray",new G("1 1"),()=>{const{pathLength:r=1,pathSpacing:a}=t.latest;e.setAttribute("stroke-dasharray",`${r} ${a??1-Number(r)}`)}),t.set(n,s,void 0,t.get("stroke-dasharray")))}
1const On=(e,t,n,s)=>n.startsWith("path")?In(e,t,n,s):n.startsWith("attr")?pe(e,t,Bn(n),s):(n in e.style?Ee:pe)(e,t,n,s),hr=ve(ne(On));function Bn(e){return e.replace(/^attr([A-Z])/,(t,n)=>n.toLowerCase())}function We(e,t){const n=window.getComputedStyle(e);return at(t)?n.getPropertyValue(t):n[t]}function pt(e,t){let n;const s=()=>{const{currentTime:r}=t,o=(r===null?0:r.value)/100;n!==o&&e(o),n=o};return y.preUpdate(s,!0),()=>V(s)}function Ae(){const{value:e}=B;if(e===null){V(Ae);return}e.frameloop.rate.push(ot.delta),e.animations.mainThread.push(se.mainThread),e.animations.waapi.push(se.waapi),e.animations.layout.push(se.layout)}function Dn(e){return e.reduce((t,n)=>t+n,0)/e.length}function b(e,t=Dn){return e.length===0?{min:0,max:0,avg:0}:{min:Math.min(...e),max:Math.max(...e),avg:t(e)}}const re=e=>Math.round(1e3/e);function ht(){B.value=null,B.addProjectionMetrics=null}function Ln(){const{value:e}=B;if(!e)throw new Error("Stats are not being measured");ht(),V(Ae);const t={frameloop:{setup:b(e.frameloop.setup),rate:b(e.frameloop.rate),read:b(e.frameloop.read),resolveKeyframes:b(e.frameloop.resolveKeyframes),preUpdate:b(e.frameloop.preUpdate),update:b(e.frameloop.update),preRender:b(e.frameloop.preRender),render:b(e.frameloop.render),postRender:b(e.frameloop.postRender)},animations:{mainThread:b(e.animations.mainThread),waapi:b(e.animations.waapi),layout:b(e.animations.layout)},layoutProjection:{nodes:b(e.layoutProjection.nodes),calculatedTargetDeltas:b(e.layoutProjection.calculatedTargetDeltas),calculatedProjections:b(e.layoutProjection.calculatedProjections)}},{rate:n}=t.frameloop;return n.min=re(n.min),n.max=re(n.max),n.avg=re(n.avg),[n.min,n.max]=[n.max,n.min],t}function gr(){if(B.value)throw ht(),new Error("Stats are already being measured");const e=B;return e.value={frameloop:{setup:[],rate:[],read:[],resolveKeyframes:[],preUpdate:[],update:[],preRender:[],render:[],postRender:[]},animations:{mainThread:[],waapi:[],layout:[]},layoutProjection:{nodes:[],calculatedTargetDeltas:[],calculatedProjections:[]}},e.addProjectionMetrics=t=>{const{layoutProjection:n}=e.value;n.nodes.push(t.nodes),n.calculatedTargetDeltas.push(t.calculatedTargetDeltas),n.calculatedProjections.push(t.calculatedProjections)},y.postRender(Ae,!0),Ln}function Wn(e,t){if(e==="first")return 0;{const n=t-1;return e==="last"?n:n/2}}function yr(e=.1,{startDelay:t=0,from:n=0,ease:s}={}){return(r,a)=>{const o=typeof n=="number"?n:Wn(n,a),u=Math.abs(o-r);let i=e*u;if(s){const c=a*e;i=Bt(s)(i/c)*c}return t+i}}function Fn(e,t,n){const s=()=>t.set(n()),r=()=>y.preRender(s,!1,!0),a=e.map(o=>o.on("change",r));t.on("destroy",()=>{a.forEach(o=>o()),V(s)})}function jn(e){const t=[];Pe.current=t;const n=e();Pe.current=void 0;const s=F(n);return Fn(t,s,e),s}function wr(e,t,n,s){const r=mn(t,n,s);return jn(()=>r(e.get()))}function br(e,t){return pn(e,{type:"spring",...t})}function xr(e,t,n){return hn(e,t,{type:"spring",...n})}function kn(e){return e==="layout"?"group":e==="enter"||e==="new"?"new":e==="exit"||e==="old"?"old":"group"}let N={},A=null;const X={set:(e,t)=>{N[e]=t},commit:()=>{A||(A=document.createElement("style"),A.id="motion-view");let e="";for(const t in N){const n=N[t];e+=`${t} {
2`;for(const[s,r]of Object.entries(n))e+=`  ${s}: ${r};
3`;e+=`}
4`}A.textContent=e,document.head.appendChild(A),N={}},remove:()=>{A&&A.parentElement&&A.parentElement.removeChild(A)}};function Gn(e){const t=e.match(/::view-transition-(old|new|group|image-pair)\((.*?)\)/);return t?{layer:t[2],type:t[1]}:null}function Hn(e){const{effect:t}=e;return t?t.target===document.documentElement&&t.pseudoElement?.startsWith("::view-transition"):!1}function $n(){return document.getAnimations().filter(Hn)}function zn(e,t){return t.has(e)&&Object.keys(t.get(e)).length>0}const Nn=["layout","enter","exit","new","old"];function Xn(e){const{update:t,targets:n,options:s}=e;if(!document.startViewTransition)return new Promise(async a=>{await t(),a(new fe([]))});zn("root",n)||X.set(":root",{"view-transition-name":"none"}),X.set("::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*)",{"animation-timing-function":"linear !important"}),X.commit();const r=document.startViewTransition(async()=>{await t()});return r.finished.finally(()=>{X.remove()}),new Promise(a=>{r.ready.then(()=>{const o=$n(),u=[];
4n.forEach((i,c)=>{for(const l of Nn){if(!i[l])continue;const{keyframes:f,options:m}=i[l];for(let[p,h]of Object.entries(f)){if(!h)continue;const g={...Z(s,p),...Z(m,p)},S=kn(l);p==="opacity"&&!Array.isArray(h)&&(h=[S==="new"?0:1,h]),typeof g.delay=="function"&&(g.delay=g.delay(0,1)),g.duration&&(g.duration=O(g.duration)),g.delay&&(g.delay=O(g.delay));const w=new be({...g,element:document.documentElement,name:p,pseudoElement:`::view-transition-${S}(${c})`,keyframes:h});u.push(w)}}});for(const i of o){if(i.playState==="finished")continue;const{effect:c}=i;if(!c||!(c instanceof KeyframeEffect))continue;const{pseudoElement:l}=c;if(!l)continue;const f=Gn(l);if(!f)continue;const m=n.get(f.layer);if(m)Fe(m,"enter")&&Fe(m,"exit")&&c.getKeyframes().some(p=>p.mixBlendMode)?u.push(new De(i)):i.cancel();else{const p=f.type==="group"?"layout":"";let h={...Z(s,p)};h.duration&&(h.duration=O(h.duration)),h=Dt(h);const g=Lt(h.ease,h.duration);c.updateTiming({delay:O(h.delay??0),duration:h.duration,easing:g}),u.push(new De(i))}}a(new fe(u))})})}function Fe(e,t){return e?.[t]?.keyframes.opacity}let T=[],Te=null;function gt(){Te=null;const[e]=T;e&&Kn(e)}function Kn(e){Ft(T,e),Te=e,Xn(e).then(t=>{e.notifyReady(t),t.finished.finally(gt)})}function Yn(){for(let e=T.length-1;e>=0;e--){const t=T[e],{interrupt:n}=t.options;if(n==="immediate"){const s=T.slice(0,e+1).map(a=>a.update),r=T.slice(e+1);t.update=()=>{s.forEach(a=>a())},T=[t,...r];break}}(!Te||T[0]?.options.interrupt==="immediate")&&gt()}function Un(e){T.push(e),Wt.render(Yn)}class qn{constructor(t,n={}){this.currentSubject="root",this.targets=new Map,this.notifyReady=te,this.readyPromise=new Promise(s=>{this.notifyReady=s}),this.update=t,this.options={interrupt:"wait",...n},Un(this)}get(t){return this.currentSubject=t,this}layout(t,n){return this.updateTarget("layout",t,n),this}new(t,n){return this.updateTarget("new",t,n),this}old(t,n){return this.updateTarget("old",t,n),this}enter(t,n){return this.updateTarget("enter",t,n),this}exit(t,n){return this.updateTarget("exit",t,n),this}crossfade(t){return this.updateTarget("enter",{opacity:1},t),this.updateTarget("exit",{opacity:0},t),this}updateTarget(t,n,s={}){const{currentSubject:r,targets:a}=this;a.has(r)||a.set(r,{});const o=a.get(r);o[t]={keyframes:n,options:s}}then(t,n){return this.readyPromise.then(t,n)}}function Sr(e,t={}){return new qn(e,t)}const Zn=e=>!e.isLayoutDirty&&e.willUpdate(!1);function je(){const e=new Set,t=new WeakMap,n=()=>e.forEach(Zn);return{add:s=>{e.add(s),t.set(s,s.addEventListener("willUpdate",n))},remove:s=>{e.delete(s);const r=t.get(s);r&&(r(),t.delete(s)),n()},dirty:n}}const ke="[data-layout], [data-layout-id]",Ge=()=>{};function _n(e){const t=e.targetWithTransforms||e.target;if(!t)return;const n=ce(),s=ce();return Re(n,t),Re(s,t),{animationId:e.root?.animationId??0,measuredBox:n,layoutBox:s,latestValues:e.animationValues||e.latestValues||{},source:e.id}}class vr{constructor(t,n,s){this.sharedTransitions=new Map,this.notifyReady=Ge,this.rejectReady=Ge,this.scope=t,this.updateDom=n,this.defaultOptions=s,this.readyPromise=new Promise((r,a)=>{this.notifyReady=r,this.rejectReady=a}),y.postRender(()=>{this.start().then(this.notifyReady).catch(this.rejectReady)})}shared(t,n){return this.sharedTransitions.set(t,n),this}then(t,n){return this.readyPromise.then(t,n)}async start(){const t=He(this.scope),n=this.buildRecords(t);n.forEach(({projection:i})=>{const c=!!i.currentAnimation,l=!!i.options.layoutId;if(c&&l){const f=_n(i);f?i.snapshot=f:i.snapshot&&(i.snapshot=void 0)}else i.snapshot&&(i.currentAnimation||i.isProjecting())&&(i.snapshot=void 0);i.isPresent=!0,i.willUpdate()}),await this.updateDom();const s=He(this.scope),r=this.buildRecords(s);this.handleExitingElements(n,r),r.forEach(({projection:i})=>{const c=i.instance,l=i.resumeFrom?.instance;if(!c||!l||!("style"in c))return;const f=c.style.transform,m=l.style.transform;f&&m&&f===m&&(c.style.transform="",c.style.transformOrigin="")}),r.forEach(({projection:i})=>{i.isPresent=!0}),ns(r,n)?.didUpdate(),await new Promise(i=>{y.postRender(()=>i())});const o=ss(r);return new fe(o)}buildRecords(t){const n=[],s=new Map;for(const r of t){const a=ts(r,s,this.scope),{layout:o,layoutId:u}=Jn(r),c=(u?this.sharedTransitions.get(u):void 0)||this.defaultOptions,l=es(r,a?.projection,{layout:o,layoutId:u,animationType:typeof o=="str
4ing"?o:"both",transition:c});s.set(r,l),n.push(l)}return n}handleExitingElements(t,n){const s=new Set(n.map(a=>a.element));t.forEach(a=>{s.has(a.element)||(a.projection.options.layoutId&&(a.projection.isPresent=!1,a.projection.relegate()),a.visualElement.unmount(),ie.delete(a.element))});const r=new Set(t.map(a=>a.element));n.forEach(({element:a,projection:o})=>{r.has(a)&&o.resumeFrom&&!o.resumeFrom.instance&&!o.isLead()&&(o.resumeFrom=void 0,o.snapshot=void 0)})}}function Er(e,t,n){return typeof e=="function"?{scope:document,updateDom:e,defaultOptions:t}:{scope:Se(e)[0]||document,updateDom:t,defaultOptions:n}}function He(e){const t=Array.from(e.querySelectorAll(ke));return e instanceof Element&&e.matches(ke)&&(t.includes(e)||t.unshift(e)),t}function Jn(e){const t=e.getAttribute("data-layout-id")||void 0,n=e.getAttribute("data-layout");let s;return n===""||n==="true"?s=!0:n&&(s=n),{layout:s,layoutId:t}}function Qn(){return{latestValues:{},renderState:{transform:{},transformOrigin:{},style:{},vars:{}}}}function es(e,t,n
4){const s=ie.get(e),r=s??new jt({props:{},presenceContext:null,visualState:Qn()},{allowProjection:!0});return(!s||!r.projection)&&(r.projection=new kt(r.latestValues,t)),r.projection.setOptions({...n,visualElement:r}),r.current?r.projection.instance||r.projection.mount(e):r.mount(e),s||ie.set(e,r),{element:e,visualElement:r,projection:r.projection}}function ts(e,t,n){let s=e.parentElement;for(;s;){const r=t.get(s);if(r)return r;if(s===n)break;s=s.parentElement}}function ns(e,t){return(e[0]||t[0])?.projection.root}function ss(e){const t=new Set;return e.forEach(n=>{const s=n.projection.currentAnimation;s&&t.add(s)}),Array.from(t)}const Ar=y,Tr=Gt.reduce((e,t)=>(e[t]=n=>V(n),e),{}),rs=d.createContext(null);function as(){const e=d.useRef(!1);return it(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function yt(){const e=as(),[t,n]=d.useState(0),s=d.useCallback(()=>{e.current&&n(t+1)},[t]);return[d.useCallback(()=>y.postRender(s),[s]),t]}const wt=e=>e===!0,os=e=>wt(e===!0)||e==="id",is=({children:e,id:t,inherit:n=!0})=>{const s=d.useContext(Ie),r=d.useContext(rs),[a,o]=yt(),u=d.useRef(null),i=s.id||r;u.current===null&&(os(n)&&i&&(t=t?i+"-"+t:i),u.current={id:t,group:wt(n)&&s.group||je()});const c=d.useMemo(()=>({...u.current,forceRender:a}),[o]);return M.jsx(Ie.Provider,{value:c,children:e})};function Vr({children:e,features:t,strict:n=!1}){const[,s]=d.useState(!ae(t)),r=d.useRef(void 0);if(!ae(t)){const{renderer:a,...o}=t;r.current=a,Oe(o)}return d.useEffect(()=>{ae(t)&&t().then(({renderer:a,...o})=>{Oe(o),r.current=a,s(!0)})},[]),M.jsx(Ht.Provider,{value:{renderer:r.current,strict:n},children:e})}function ae(e){return typeof e=="function"}function Cr({children:e,isValidProp:t,...n}){t&&$t(t);const s=d.useContext(Q);n={...s,...n},n.transition=zt(n.transition,s.transition),n.isStatic=v(()=>n.isStatic);const r=d.useMemo(()=>n,[JSON.stringify(n.transition),n.transformPagePoint,n.reducedMotion,n.skipAnimations]);return M.jsx(Q.Provider,{value:r,children:e})}const Mr=Nt();function bt(e){return d.useEffect(()=>()=>e(),[])}const cs={renderer:ct,...ut,...Xt},Pr={...cs,...Kt,...Yt},Rr={renderer:ct,...ut};function us(e,t,n){d.useInsertionEffect(()=>e.on(t,n),[e,t,n])}function ee(e){return typeof window>"u"?!1:e?lt():dt()}const ls=50,$e=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),ds=()=>({time:0,x:$e(),y:$e()}),fs={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function ze(e,t,n,s){const r=n[t],{length:a,position:o}=fs[t],u=r.current,i=n.time;r.current=Math.abs(e[`scroll${o}`]),r.scrollLength=e[`scroll${a}`]-e[`client${a}`],r.offset.length=0,r.offset[0]=0,r.offset[1]=r.scrollLength,r.progress=Ut(0,r.scrollLength,r.current);const c=s-i;r.velocity=c>ls?0:qt(r.current-u,c)}function ms(e,t,n){ze(e,"x",t,n),ze(e,"y",t,n),t.time=n}function ps(e,t){const n={x:0,y:0};let s=e;for(;s&&s!==t;)if(rt(s))n.x+=s.offsetLeft,n.y+=s.offsetTop,s=s.offsetParent;else if(s.tagName==="svg"){const r=s.getBoundingClientRect();s=s.parentElement;const a=s.getBoundingClientRect();n.x+=r.left-a.left,n.y+=r.top-a.top}else if(s instanceof SVGGraphicsElement){const{x:r,y:a}=s.getBBox();n.x+=r,n.y+=a;let o=null,u=s.parentNode;for(;!o;)u.tagName==="svg"&&(o=u),u=s.parentNode;s=o}else break;return n}const he={start:0,center:.5,end:1};function Ne(e,t,n=0){let s=0;if(e in he&&(e=he[e]),typeof e=="string"){const r=parseFloat(e);e.endsWith("px")?s=r:e.endsWith("%")?e=r/100:e.endsWith("vw")?s=r/100*document.documentElement.clientWidth:e.endsWith("vh")?s=r/100*document.documentElement.clientHeight:e=r}return typeof e=="number"&&(s=t*e),n+s}const hs=[0,0];function gs(e,t,n,s){let r=Array.isArray(e)?e:hs,a=0,o=0;return typeof e=="number"?r=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?r=e.split(" "):r=[e,he[e]?e:"0"]),a=Ne(r[0],n,s),o=Ne(r[1],t),a-o}const j={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},ys={x:0,y:0};function ws(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function bs(e,t,n){const{offset:s=j.All}=n,{target:r=e,axis:a="y"}=n,o=a==="y"?"height":"width",u=r!==e?ps(r,e):ys,i=r===e?{width:e.scrollWidth,height:e.scrollHeight}:ws(r),c={width:e.clientWidth,height:e.clientHeight};t[a].offset.length=0;let l=!t[a].interpolate;const f=s.length;for(let m=0;m<f;m++){const p=gs(s[m],c[o],i[o],u[a]);
4!l&&p!==t[a].interpolatorOffsets[m]&&(l=!0),t[a].offset[m]=p}l&&(t[a].interpolate=Zt(t[a].offset,_t(s),{clamp:!1}),t[a].interpolatorOffsets=[...t[a].offset]),t[a].progress=st(0,1,t[a].interpolate(t[a].current))}function xs(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let s=t;for(;s&&s!==e;)n.x.targetOffset+=s.offsetLeft,n.y.targetOffset+=s.offsetTop,s=s.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}function Ss(e,t,n,s={}){return{measure:r=>{xs(e,s.target,n),ms(e,n,r),(s.offset||s.target)&&bs(e,n,s)},notify:()=>t(n)}}const R=new WeakMap,Xe=new WeakMap,oe=new WeakMap,Ke=new WeakMap,K=new WeakMap,Ye=e=>e===document.scrollingElement?window:e;function xt(e,{container:t=document.scrollingElement,trackContentSize:n=!1,...s}={}){if(!t)return te;let r=oe.get(t);r||(r=new Set,oe.set(t,r));const a=ds(),o=Ss(t,e,a,s);if(r.add(o),!R.has(t)){const i=()=>{for(const m of r)m.measure(ot.timestamp);y.preUpdate(c)},c=()=>{for(const m of r)m.notify()},l=()=>y.read(i);R.set(t,l);const f=Ye(t);window.addEventListener("resize",l),t!==document.documentElement&&Xe.set(t,Jt(t,l)),f.addEventListener("scroll",l),l()}if(n&&!K.has(t)){const i=R.get(t),c={width:t.scrollWidth,height:t.scrollHeight};Ke.set(t,c);const l=()=>{const m=t.scrollWidth,p=t.scrollHeight;(c.width!==m||c.height!==p)&&(i(),c.width=m,c.height=p)},f=y.read(l,!0);K.set(t,f)}const u=R.get(t);return y.read(u,!1,!0),()=>{V(u);const i=oe.get(t);if(!i||(i.delete(o),i.size))return;const c=R.get(t);R.delete(t),c&&(Ye(t).removeEventListener("scroll",c),Xe.get(t)?.(),window.removeEventListener("resize",c));const l=K.get(t);l&&(V(l),K.delete(t)),Ke.delete(t)}}const vs=[[j.Enter,"entry"],[j.Exit,"exit"],[j.Any,"cover"],[j.All,"contain"]],Ue={start:0,end:1};function Es(e){const t=e.trim().split(/\s+/);if(t.length!==2)return;const n=Ue[t[0]],s=Ue[t[1]];if(!(n===void 0||s===void 0))return[n,s]}function As(e){if(e.length!==2)return;const t=[];for(const n of e)if(Array.isArray(n))t.push(n);else if(typeof n=="string"){const s=Es(n);if(!s)return;t.push(s)}else return;return t}function Ts(e,t){const n=As(e);if(!n)return!1;for(let s=0;s<2;s++){const r=n[s],a=t[s];if(r[0]!==a[0]||r[1]!==a[1])return!1}return!0}function Ve(e){if(!e)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(const[t,n]of vs)if(Ts(e,t))return{rangeStart:`${n} 0%`,rangeEnd:`${n} 100%`}}const qe=new Map;function Ze(e){const t={value:0},n=xt(s=>{t.value=s[e.axis].progress*100},e);return{currentTime:t,cancel:n}}function St({source:e,container:t,...n}){const{axis:s}=n;e&&(t=e);let r=qe.get(t);r||(r=new Map,qe.set(t,r));const a=n.target??"self";let o=r.get(a);o||(o={},r.set(a,o));const u=s+(n.offset??[]).join(",");return o[u]||(n.target&&ee(n.target)?Ve(n.offset)?o[u]=new ViewTimeline({subject:n.target,axis:s}):o[u]=Ze({container:t,...n}):ee()?o[u]=new ScrollTimeline({source:t,axis:s}):o[u]=Ze({container:t,...n})),o[u]}function Vs(e,t){const n=St(t),s=t.target?Ve(t.offset):void 0,r=t.target?ee(t.target)&&!!s:ee();return e.attachTimeline({timeline:r?n:void 0,...s&&r&&{rangeStart:s.rangeStart,rangeEnd:s.rangeEnd},observe:a=>(a.pause(),pt(o=>{a.time=a.iterationDuration*o},n))})}function Cs(e){return e.length===2}function Ms(e,t){return Cs(e)?xt(n=>{e(n[t.axis].progress,n)},t):pt(e,St(t))}function vt(e,{axis:t="y",container:n=document.scrollingElement,...s}={}){if(!n)return te;const r={axis:t,container:n,...s};return typeof e=="function"?Ms(e,r):Vs(e,r)}const Ps=()=>({scrollX:F(0),scrollY:F(0),scrollXProgress:F(0),scrollYProgress:F(0)}),Y=e=>e?!e.current:!1;function _e(e,t,n,s){return{factory:r=>vt(r,{...t,axis:e,container:n?.current||void 0,target:s?.current||void 0}),times:[0,1],keyframes:[0,1],ease:r=>r,duration:1}}function Rs(e,t){return typeof window>"u"?!1:e?lt()&&!!Ve(t):dt()}function Et({container:e,target:t,...n}={}){const s=v(Ps);Rs(t,n.offset)&&(s.scrollXProgress.accelerate=_e("x",n,e,t),s.scrollYProgress.accelerate=_e("y",n,e,t));const r=d.useRef(null),a=d.useRef(!1),o=d.useCallback(()=>(r.current=vt((u,{x:i,y:c})=>{s.scrollX.set(i.current),s.scrollXProgress.set(i.progress),s.scrollY.set(c.current),s.scrollYProgress.set(c.progress)}
4,{...n,container:e?.current||void 0,target:t?.current||void 0}),()=>{r.current?.()}),[e,t,JSON.stringify(n.offset)]);return it(()=>{if(a.current=!1,Y(e)||Y(t)){a.current=!0;return}else return o()},[o]),d.useEffect(()=>{if(a.current)return P(!Y(e),"Container ref is defined but not hydrated","use-scroll-ref"),P(!Y(t),"Target ref is defined but not hydrated","use-scroll-ref"),o()},[o]),s}function Ir(e){return Et({container:e})}function Or(){return Et()}function Br(e,...t){const n=e.length;function s(){let r="";for(let a=0;a<n;a++){r+=e[a];const o=t[a];o&&(r+=ue(o)?o.get():o)}return r}return gn(t.filter(ue),s)}function Is(e){const t=d.useRef(0),{isStatic:n}=d.useContext(Q);d.useEffect(()=>{if(n)return;const s=({timestamp:r,delta:a})=>{t.current||(t.current=r),e(r-t.current,a)};return y.update(s,!0),()=>V(s)},[e])}function Dr(){const e=z(0);return Is(t=>e.set(t)),e}function Lr(e){const t=z(e.getVelocity()),n=()=>{const s=e.getVelocity();t.set(s),s&&y.update(n)};return us(e,"change",()=>{y.update(n,!1,!0)}),t}class Os extends G{constructor(){super(...arguments),this.isEnabled=!1}add(t){(xe.has(t)||Qt.has(t))&&(this.isEnabled=!0,this.update())}update(){this.set(this.isEnabled?"transform":"auto")}}function Wr(){return v(()=>new Os("auto"))}function Bs(){const e=yn(),{reducedMotion:t}=d.useContext(Q);return t==="never"?!1:t==="always"?!0:e}function Fr(){const e=v(()=>({current:null,animations:[]})),t=Bs()??void 0,n=d.useMemo(()=>wn({scope:e,reduceMotion:t}),[e,t]);return bt(()=>{e.animations.forEach(s=>s.stop()),e.animations.length=0}),[e,n]}function Ds(e,t,n,s){if(e==null)return[];const r=Se(e,s),a=r.length;P(!!a,"No valid elements provided.","no-valid-elements");const o=[];for(let i=0;i<a;i++){const c=r[i],l={...n};typeof l.delay=="function"&&(l.delay=l.delay(i,a));for(const f in t){let m=t[f];Array.isArray(m)||(m=[m]);const p={...Z(l,f)};p.duration&&(p.duration=O(p.duration)),p.delay&&(p.delay=O(p.delay));const h=vn(c),g=Sn(f,p.pseudoElement||""),S=h.get(g);S&&S.stop(),o.push({map:h,key:g,unresolvedKeyframes:m,options:{...p,element:c,name:f,allowFlatten:!l.type&&!l.ease}})}}for(let i=0;i<o.length;i++){const{unresolvedKeyframes:c,options:l}=o[i],{element:f,name:m,pseudoElement:p}=l;!p&&c[0]===null&&(c[0]=We(f,m)),en(c),An(c,m),!p&&c.length<2&&c.unshift(We(f,m)),l.keyframes=c}const u=[];for(let i=0;i<o.length;i++){const{map:c,key:l,options:f}=o[i],m=new be(f);c.set(l,m),m.finished.finally(()=>c.delete(l)),u.push(m)}return u}const At=e=>{function t(n,s,r){return new bn(Ds(n,s,r,e))}return t},jr=At();function kr(){const e=v(()=>({current:null,animations:[]})),t=v(()=>At(e));return bt(()=>{e.animations.forEach(n=>n.stop())}),[e,t]}function Gr(){const e=d.useContext(tn);return e?e.custom:void 0}function Hr(e,t,n,s){d.useEffect(()=>{const r=e.current;if(n&&r)return nn(r,t,n,s)},[e,t,n,s])}class Ls{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,n){this.componentControls.forEach(s=>{s.start(t.nativeEvent||t,n)})}cancel(){this.componentControls.forEach(t=>{t.cancel()})}stop(){this.componentControls.forEach(t=>{t.stop()})}}const Ws=()=>new Ls;function $r(){return v(Ws)}function Fs(e){return e!==null&&typeof e=="object"&&ft in e}function zr(e){if(Fs(e))return e[ft]}function js(){return ks}function ks(e){_.current&&(_.current.isUpdating=!1,_.current.blockUpdate(),e&&e())}function Nr(){return d.useCallback(()=>{const t=_.current;t&&t.resetTree()},[])}function Xr(...e){const t=d.useRef(0),[n,s]=d.useState(e[t.current]),r=d.useCallback(a=>{t.current=typeof a!="number"?xn(0,e.length,t.current+1):a,s(e[t.current])},[e.length,...e]);return[n,r]}function Kr(){const[e,t]=yt(),n=js(),s=d.useRef(-1);return d.useEffect(()=>{y.postRender(()=>y.postRender(()=>{t===s.current&&(le.instantAnimations=!1)}))},[t]),r=>{n(()=>{le.instantAnimations=!0,e(),r(),s.current=t+1})}}function Yr(){le.instantAnimations=!1}function Ur(){const[e,t]=d.useState(!0);return d.useEffect(()=>{const n=()=>t(!document.hidden);return document.hidden&&n(),document.addEventListener("visibilitychange",n),(
4)=>{document.removeEventListener("visibilitychange",n)}},[]),e}function qr(e){return t=>{const n=e.current;if(!n)return t;const s=n.viewBox?.baseVal;if(!s||s.width===0&&s.height===0)return t;const r=n.getBoundingClientRect();if(r.width===0||r.height===0)return t;const a=s.width/r.width,o=s.height/r.height,u=r.left+window.scrollX,i=r.top+window.scrollY;return{x:(t.x-u)*a+u,y:(t.y-i)*o+i}}}function Zr(e){return t=>{const n=e.current;if(!n)return t;const s=Gs(n);if(!s)return t;const r=n.getBoundingClientRect(),a=r.left+window.scrollX+r.width/2,o=r.top+window.scrollY+r.height/2,u=t.x-a,i=t.y-o;return{x:a+s.a*u+s.c*i,y:o+s.b*u+s.d*i}}}function Gs(e){const{transform:t}=getComputedStyle(e);if(!t||t==="none")return null;const n=t.match(/^matrix3d\((.*)\)$/u)||t.match(/^matrix\((.*)\)$/u);if(!n)return null;const s=n[1].split(",").map(Number),r=t.startsWith("matrix3d"),a=s[0],o=s[1],u=r?s[4]:s[2],i=r?s[5]:s[3],c=a*i-o*u;return Math.abs(c)<1e-10?null:{a:i/c,b:-o/c,c:-u/c,d:a/c}}const C=new Map,W=new Map,J=(e,t)=>{const n=xe.has(t)?"transform":t;return`${e}: ${n}`};function Je(e,t,n){const s=J(e,t),r=C.get(s);if(!r)return null;const{animation:a,startTime:o}=r;function u(){window.MotionCancelOptimisedAnimation?.(e,t,n)}return a.onfinish=u,o===null||window.MotionHandoffIsComplete?.(e)?(u(),null):o}let U,I;const ge=new Set;function Hs(){ge.forEach(e=>{e.animation.play(),e.animation.startTime=e.startTime}),ge.clear()}function _r(e,t,n,s,r){if(window.MotionIsMounted)return;const a=e.dataset[sn];if(!a)return;window.MotionHandoffAnimation=Je;const o=J(a,t);I||(I=Be(e,t,[n[0],n[0]],{duration:1e4,ease:"linear"}),C.set(o,{animation:I,startTime:null}),window.MotionHandoffAnimation=Je,window.MotionHasOptimisedAnimation=(i,c)=>{if(!i)return!1;if(!c)return W.has(i);const l=J(i,c);return!!C.get(l)},window.MotionHandoffMarkAsComplete=i=>{W.has(i)&&W.set(i,!0)},window.MotionHandoffIsComplete=i=>W.get(i)===!0,window.MotionCancelOptimisedAnimation=(i,c,l,f)=>{const m=J(i,c),p=C.get(m);p&&(l&&f===void 0?l.postRender(()=>{l.postRender(()=>{p.animation.cancel()})}):p.animation.cancel(),l&&f?(ge.add(p),l.render(Hs)):(C.delete(m),C.size||(window.MotionCancelOptimisedAnimation=void 0)))},window.MotionCheckAppearSync=(i,c,l)=>{const f=rn(i);if(!f)return;const m=window.MotionHasOptimisedAnimation?.(f,c),p=i.props.values?.[c];if(!m||!p)return;const h=l.on("change",g=>{p.get()!==g&&(window.MotionCancelOptimisedAnimation?.(f,c),h())});return h});const u=()=>{I.cancel();const i=Be(e,t,n,s);U===void 0&&(U=performance.now()),i.startTime=U,C.set(o,{animation:i,startTime:U}),r&&r(i)};W.set(a,!1),I.ready?I.ready.then(u).catch(te):u()}const ye=()=>({});class $s extends on{constructor(){super(...arguments),this.measureInstanceViewportBox=ce}build(){}resetTransform(){}restoreTransform(){}removeValueFromRenderState(){}renderInstance(){}scrapeMotionValuesFromProps(){return ye()}getBaseTargetFromProps(){}readValueFromInstance(t,n,s){return s.initialState[n]||0}sortInstanceNodePosition(){return 0}}const zs=cn({scrapeMotionValuesFromProps:ye,createRenderState:ye});function Jr(e){const[t,n]=d.useState(e),s=zs({},!1),r=v(()=>new $s({props:{onUpdate:o=>{n({...o})}},visualState:s,presenceContext:null},{initialState:e}));d.useLayoutEffect(()=>(r.mount({}),()=>r.unmount()),[r]);const a=v(()=>o=>an(r,o));return[t,a]}let Ns=0;const Qr=({children:e})=>(d.useEffect(()=>{P(!1,"AnimateSharedLayout is deprecated: https://www.framer.com/docs/guide-upgrade/##shared-layout-animations")},[]),M.jsx(is,{id:v(()=>`asl-${Ns++}`),children:e})),Xs=1e5,Qe=e=>e>.001?1/e:Xs;let et=!1;function ea(e){let t=z(1),n=z(1);const{visualElement:s}=d.useContext(un);P(!!(e||s),"If no scale values are provided, useInvertedScale must be used within a child of another motion component."),ln(et,"useInvertedScale is deprecated and will be removed in 3.0. Use the layout prop instead."),et=!0,e?(t=e.scaleX||t,n=e.scaleY||n):s&&(t=s.getValue("scaleX",1),n=s.getValue("scaleY",1));const r=de(t,Qe),a=de(n,Qe);return{scaleX:r,scaleY:a}}const Tt=d.createContext(null);function Ks(e,t,n,s){if(!s)return e;const r=e.findIndex(l=>l.value===t);if(r===-1)return e;const a=s>0?1:-1,o=e[r+a];if(!o)return e;const u=e[r],i=o.layout,c=dn(i.min,i.max,.5);return a===1&&u.layout.max+n>c||a===-1&&u.layout.min+n<c?fn(e,r,r+a):e}function Ys({children:e,as:t="ul",axis:n="y",onReorder:s,values:r,...a},o){const u=v(()=>mt[t]),i=[],c=d.useRef(!1),l=d.useRef(null);P(!!r,"Reorder.Group must be provided a values prop","reorder-values");const f={axis:n,groupRef:l,registerItem:(h,g)=>{const S=i.findIndex(w=>h===w.value);S!==-1?i[S].layout=g[n]:i.push({value:h,layout:g[n]}),i.sort(qs)},updateOrder:(h,g,S)=>{if(c.current)return;const w=Ks(i,h,g,S);if(i!==w){c.current=!0;const x=[...r];for(let E=0;E<w.length;E++)if(i[E].value!==w[E].value){const D=r.indexOf(i[E].value),L=r.indexOf(w[E].value);D!==-1&&L!==-1&&([x[D],x[L]]=[x[L],x[D]]);break}s(x)}}};d.useEffect(()=>{c.current=!1});const m=h=>
4{l.current=h,typeof o=="function"?o(h):o&&(o.current=h)},p={overflowAnchor:"none",...a.style};return M.jsx(u,{...a,style:p,ref:m,ignoreStrict:!0,children:M.jsx(Tt.Provider,{value:f,children:e})})}const Us=d.forwardRef(Ys);function qs(e,t){return e.layout.min-t.layout.min}const q=50,tt=25,Zs=new Set(["auto","scroll"]),H=new WeakMap,$=new WeakMap;let k=null;function _s(){if(k){const e=we(k,"y");e&&($.delete(e),H.delete(e));const t=we(k,"x");t&&t!==e&&($.delete(t),H.delete(t)),k=null}}function Js(e,t){const n=getComputedStyle(e),s=t==="x"?n.overflowX:n.overflowY,r=e===document.body||e===document.documentElement;return Zs.has(s)||r}function we(e,t){let n=e?.parentElement;for(;n;){if(Js(n,t))return n;n=n.parentElement}return null}function Qs(e,t,n){const s=t.getBoundingClientRect(),r=n==="x"?Math.max(0,s.left):Math.max(0,s.top),a=n==="x"?Math.min(window.innerWidth,s.right):Math.min(window.innerHeight,s.bottom),o=e-r,u=a-e;if(o<q){const i=1-o/q;return{amount:-tt*i*i,edge:"start"}}else if(u<q){const i=1-u/q;return{amount:tt*i*i,edge:"end"}}return{amount:0,edge:null}}function er(e,t,n,s){if(!e)return;k=e;const r=we(e,n);if(!r)return;const a=t-(n==="x"?window.scrollX:window.scrollY),{amount:o,edge:u}=Qs(a,r,n);if(u===null){$.delete(r),H.delete(r);return}const i=$.get(r),c=r===document.body||r===document.documentElement;if(i!==u){if(!(u==="start"&&s<0||u==="end"&&s>0))return;$.set(r,u);const f=n==="x"?r.scrollWidth-(c?window.innerWidth:r.clientWidth):r.scrollHeight-(c?window.innerHeight:r.clientHeight);H.set(r,f)}if(o>0){const l=H.get(r);if((n==="x"?c?window.scrollX:r.scrollLeft:c?window.scrollY:r.scrollTop)>=l)return}n==="x"?c?window.scrollBy({left:o}):r.scrollLeft+=o:c?window.scrollBy({top:o}):r.scrollTop+=o}function nt(e,t=0){return ue(e)?e:z(t)}function tr({children:e,style:t={},value:n,as:s="li",onDrag:r,onDragEnd:a,layout:o=!0,...u},i){const c=v(()=>mt[s]),l=d.useContext(Tt),f={x:nt(t.x),y:nt(t.y)},m=de([f.x,f.y],([w,x])=>w||x?1:"unset");P(!!l,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");const{axis:p,registerItem:h,updateOrder:g,groupRef:S}=l;return M.jsx(c,{drag:p,...u,dragSnapToOrigin:!0,style:{...t,x:f.x,y:f.y,zIndex:m},layout:o,onDrag:(w,x)=>{const{velocity:E,point:D}=x,L=f[p].get();g(n,L,E[p]),er(S.current,D[p],p,E[p]),r&&r(w,x)},onDragEnd:(w,x)=>{_s(),a&&a(w,x)},onLayoutMeasure:w=>{h(n,w)},ref:i,ignoreStrict:!0,children:e})}const nr=d.forwardRef(tr),ta=Object.freeze(Object.defineProperty({__proto__:null,Group:Us,Item:nr},Symbol.toStringTag,{value:"Module"}));export{ra as AnimatePresence,Qr as AnimateSharedLayout,ua as AsyncMotionValueAnimation,la as DOMKeyframesResolver,da as DOMVisualElement,rs as DeprecatedLayoutGroupContext,fa as DocumentProjectionNode,Ls as DragControls,ma as Feature,pa as FlatTree,fe as GroupAnimation,bn as GroupAnimationWithThen,kt as HTMLProjectionNode,jt as HTMLVisualElement,ha as JSAnimation,ga as KeyframeResolver,vr as LayoutAnimationBuilder,is as LayoutGroup,Ie as LayoutGroupContext,Vr as LazyMotion,Cr as MotionConfig,Q as MotionConfigContext,un as MotionContext,le as MotionGlobalConfig,G as MotionValue,be as NativeAnimation,ya as NativeAnimationExtended,De as NativeAnimationWrapper,wa as NodeStack,hu as ObjectVisualElement,aa as PopChild,oa as PresenceChild,tn as PresenceContext,ta as Reorder,ba as SVGVisualElement,xa as SubscriptionManager,Sa as SwitchLayoutGroupContext,qn as ViewTransitionBuilder,on as VisualElement,Os as WillChangeMotionValue,Qt as acceleratedValues,se as activeAnimations,pe as addAttrValue,nn as addDomEvent,va as addPointerEvent,Ea as addPointerInfo,Aa as addScaleCorrector,Ee as addStyleValue,Ta as addUniqueItem,Va as addValueToWillChange,Ca as alpha,Ma as analyseComplexValue,gu as animate,jr as animateMini,Pa as animateMotionValue,Ra as animateSingleValue,Ia as animateTarget,Oa as animateValue,Ba as animateVariant,Sr as animateView,an as animateVisualElement,yu as animationControls,Sn as animationMapKey,ut as animations,Da as anticipate,La as applyAxisDelta,Wa as applyBoxDelta,Dt as applyGeneratorOptions,Fa as applyPointDelta,An as applyPxDefaults,ja as applyTreeDeltas,ka as aspectRatio,hn as attachFollow,xr as attachSpring,fr as attrEffect,Ga as axisDeltaEquals,Ha as axisEquals,$a as axisEqualsRounded,za as backIn,Na as backInOut,Xa as backOut,Ka as boxEquals,Ya as boxEqualsRounded,Ua as buildHTMLStyles,qa as buildProjectionTransform,Za as buildSVGAttrs,_a as buildSVGPath,Ja as buildTransform,Qa as calcAxisDelta,eo as calcBoxDelta,to as calcChildStagger,no as calcGeneratorDuration,so as calcLength,ro as calcRelativeAxis,ao as calcRelativeAxisPosition,oo as calcRelativeBox,io as calcRelativePosition,co as camelCaseAttributes,Ot as camelToDash,V as cancelFrame,uo as cancelMicrotask,Tr as cancelSync,lo as checkVariantsDidChange,fo as circIn,mo as circInOut,po as circOut,st as clamp,ho as cleanDirtyNodes,Pe as collectMotionValues,go as color,yo as compareByDepth,wo as complex,bo as containsCSSVariable,xo as convertBoundingBoxToBox,So as convertBoxToBoundingBox,vo as convertOffsetToTimes,Eo as copyAxisDeltaInto,Ao as copyAxisInto,Re as copyBoxInto,To as correctBorderRadius,Vo as correctBoxShadow,Zr as correctParentTransform,Co as createAnimationState,Mo as createAxis,Po as createAxisDelta,ce as createBox,Ro as createDelta,Io as createGeneratorEasing,Oo as createProjectionNode,Bo as createRenderBatcher,wn as createScopedAnimate,Do as cubicBezier,Lo as cubicBezierAsString,Wo as defaultEasing,_t as defaultOffset,Fo as defaultTransformValue,jo as defaultValueTypes,ko as degrees,Go as delay,Ho as delayInSeconds,$o as dimensionValueTypes,Yr as disableInstantTransitions,zo as distance,No as distance2D,cs as domAnimation,Pr as domMax,Rr as domMin,Xo as eachAxis,Ko as easeIn,Yo as easeInOut,Uo as easeOut,Bt as easingDefinitionToFunction,qo as fillOff
4set,en as fillWildcards,Zo as filterProps,_o as findDimensionValueType,Jo as findValueType,Qo as flushKeyframeResolvers,pn as followValue,y as frame,ot as frameData,ei as frameSteps,ti as generateLinearEasing,ni as getAnimatableNone,vn as getAnimationMap,We as getComputedStyle,si as getDefaultTransition,ri as getDefaultValueType,wu as getEasingForSegment,ai as getFeatureDefinitions,oi as getFinalKeyframe,ii as getMixer,rn as getOptimisedAppearId,Wn as getOriginIndex,Rt as getValueAsType,Z as getValueTransition,ci as getVariableValue,ui as getVariantContext,Gn as getViewAnimationLayerInfo,$n as getViewAnimations,li as globalProjectionState,di as has2DTranslate,du as hasReducedMotionListener,fi as hasScale,mi as hasTransform,cr as hasWarned,pi as hex,hi as hover,gi as hsla,yi as hslaToRgba,vu as inView,wi as inertia,fu as initPrefersReducedMotion,Zt as interpolate,P as invariant,bi as invisibleValues,xi as isAnimationControls,Mt as isBezierDefinition,Si as isBrowser,vi as isCSSVariableName,Ei as isCSSVariableToken,Ai as isControllingVariants,Ti as isDeltaZero,Vi as isDragActive,Ci as isDragging,Mi as isEasingArray,Pi as isElementKeyboardAccessible,Ri as isElementTextInput,Ii as isForcedMotionValue,Oi as isGenerator,rt as isHTMLElement,Bi as isKeyframesTarget,Fs as isMotionComponent,ue as isMotionValue,Di as isNear,Li as isNodeOrChild,Wi as isNumericalString,Fi as isObject,ji as isPrimaryPointer,ki as isSVGElement,Gi as isSVGSVGElement,Hi as isSVGTag,$i as isTransitionDefined,zi as isValidMotionProp,Ni as isVariantLabel,Xi as isVariantNode,Tn as isWaapiSupportedEasing,Ki as isWillChangeMotionValue,Yi as isZeroValueString,Ui as keyframes,Mr as m,qi as makeAnimationInstant,cn as makeUseVisualState,Lt as mapEasingToNativeEasing,wr as mapValue,Zi as maxGeneratorDuration,_i as measurePageBox,Ji as measureViewportBox,Pt as memo,Wt as microtask,Qi as millisecondsToSeconds,ec as mirrorEasing,tc as mix,nc as mixArray,sc as mixColor,rc as mixComplex,ac as mixImmediate,oc as mixLinearColor,dn as mixNumber,ic as mixObject,cc as mixValues,uc as mixVisibility,mt as motion,F as motionValue,fn as moveItem,je as nodeGroup,te as noop,lc as number,It as numberValueTypes,pt as observeTimeline,dc as optimizedAppearDataAttribute,sn as optimizedAppearDataId,Er as parseAnimateLayoutArgs,fc as parseCSSVariable,mc as parseValueFromTransform,pc as percent,hc as pipe,gc as pixelsToPercent,yc as positionalKeys,mu as prefersReducedMotion,wc as press,Ut as progress,bc as progressPercentage,mr as propEffect,xc as propagateDirtyNodes,Sc as px,vc as readTransformValue,gr as recordStats,Ec as removeAxisDelta,Ac as removeAxisTransforms,Tc as removeBoxTransforms,Ft as removeItem,Vc as removePointDelta,Cc as renderHTML,Mc as renderSVG,Jt as resize,Se as resolveElements,Pc as resolveMotionValue,zt as resolveTransition,Rc as resolveVariant,Ic as resolveVariantFromProps,Oc as reverseEasing,Bc as rgbUnit,Dc as rgba,_ as rootProjectionNode,Lc as scale,Wc as scaleCorrectors,Fc as scalePoint,jc as scrapeHTMLMotionValuesFromProps,kc as scrapeSVGMotionValuesFromProps,vt as scroll,xt as scrollInfo,O as secondsToMilliseconds,Gc as setDragLock,Hc as setFeatureDefinitions,$c as setStyle,zc as setTarget,Nc as spring,br as springValue,yr as stagger,_r as startOptimizedAppearAnimation,Be as startWaapiAnimation,B as statsBuffer,lr as steps,pr as styleEffect,Ct as supportedWaapiEasing,Xc as supportsBrowserAnimation,Kc as supportsFlags,Ce as supportsLinearEasing,dr as supportsPartialKeyframes,dt as supportsScrollTimeline,lt as supportsViewTimeline,hr as svgEffect,Ar as sync,Yc as testValueType,Uc as time,mn as transform,qc as transformAxis,Zc as transformBox,_c as transformBoxPoints,Me as transformPropOrder,xe as transformProps,jn as transformValue,Jc as transformValueTypes,qr as transformViewBoxPoint,Qc as translateAxis,zr as unwrapMotionComponent,eu as updateMotionValuesFromProps,Fr as useAnimate,kr as useAnimateMini,bu as useAnimation,xu as useAnimationControls,Is as useAnimationFrame,ia as useComposedRefs,Xr as useCycle,Jr as useDeprecatedAnimatedState,ea as useDeprecatedInvertedScale,Hr as useDomEvent,$r as useDragControls,Ir as useElementScroll,cu as useFollowValue,yt as useForceUpdate,Eu as useInView,js as useInstantLayoutTransition,Kr as useInstantTransition,tu as useIsPresent,it as useIsomorphicLayoutEffect,Br as useMotionTemplate,z as useMotionValue,us as useMotionValueEvent,Ur as usePageInView,nu as usePresence,Gr as usePresenceData,yn as useReducedMotion,Bs as useReducedMotionConfig,Nr as useResetProjection,Et as useScroll,uu as useSpring,Dr as useTime,de as useTransform,bt as useUnmountEffect,Lr as useVelocity,Or as useViewportScroll,Wr as useWillChange,su as variantPriorityOrder,ru as variantProps,qt as velocityPerSecond,au as vh,ie as visualElementStore,ou as vw,ur as warnOnce,ln as warning,xn as wrap};

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.