1import{r as o,j as T,t as _}from"./app-PpSv_f_7.js";var B=Object.defineProperty,h=(e,t)=>B(e,"name",{value:t,configurable:!0}),I=!!(typeof window<"u"&&window.document&&window.document.createElement);function Y(e,t,{checkForDefaultPrevented:n=!0}={}){return h(function(r){if(e?.(r),n===!1||!r||!r.defaultPrevented)return t?.(r)},"handleEvent")}h(Y,"composeEventHandlers");function X(e){if(!I)throw new Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window}h(X,"getOwnerWindow");function x(e){if(!I)throw new Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}h(x,"getOwnerDocument");function j(e,t=!1){const{activeElement:n}=x(e);if(!n?.nodeName)return null;if(D(n)&&n.contentDocument)return j(n.contentDocument.body,t);if(t){const s=n.getAttribute("aria-activedescendant");if(s){const r=x(n).getElementById(s);if(r)return r}}return n}h(j,"getActiveElement");function D(e){return e.tagName==="IFRAME"}h(D,"isFrame");var q=Object.defineProperty,E=(e,t)=>q(e,"name",{value:t,configurable:!0});function z(e,t){const n=o.createContext(t);n.displayName=e+"Context";const s=E(u=>{const{children:c,...i}=u,a=o.useMemo(()=>i,Object.values(i));return T.jsx(n.Provider,{value:a,children:c})},"Provider");s.displayName=e+"Provider";function r(u,c={}){const{optional:i=!1}=c,a=o.useContext(n);if(a)return a;if(t!==void 0)return t;if(!i)throw new Error(`\`${u}\` must be used within \`${e}\``)}return E(r,"useContext"),[s,r]}E(z,"createContext");function G(e,t=[]){let n=[];function s(u,c){const i=o.createContext(c);i.displayName=u+"Context";const a=n.length;n=[...n,c];const d=E(f=>{const{scope:v,children:p,...m}=f,C=v?.[e]?.[a]||i,S=o.useMemo(()=>m,Object.values(m));return T.jsx(C.Provider,{value:S,children:p})},"Provider");d.displayName=u+"Provider";function l(f,v,p={}){const{optional:m=!1}=p,C=v?.[e]?.[a]||i,S=o.useContext(C);if(S)return S;if(c!==void 0)return c;if(!m)throw new Error(`\`${f}\` must be used within \`${u}\``)}return E(l,"useContext"),[d,l]}E(s,"createContext");const r=E(()=>{const u=n.map(c=>o.createContext(c));return E(function(i){const a=i?.[e]||u;return o.useMemo(()=>({[`__scope${e}`]:{...i,[e]:a}}),[i,a])},"useScope")},"createScope");return r.scopeName=e,[s,U(r,...t)]}E(G,"createContextScope");function U(...e){const t=e[0];if(e.length===1)return t;const n=E(()=>{const s=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return E(function(u){const c=s.reduce((i,{useScope:a,scopeName:d})=>{const f=a(u)[`__scope${d}`];return{...i,...f}},{});return o.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])},"useComposedScopes")},"createScope");return n.scopeName=t.scopeName,n}E(U,"composeContextScopes");var N=globalThis?.document?o.useLayoutEffect:()=>{},J=Object.defineProperty,g=(e,t)=>J(e,"name",{value:t,configurable:!0});function $(e,t){return o.useReducer((n,s)=>t[n][s]??n,e)}g($,"useStateMachine");var oe=g(e=>{const{present:t,children:n}=e,s=F(t),r=typeof n=="function"?n({present:s.isPresent}):o.Children.only(n),u=L(s.ref,W(r));return typeof n=="function"||s.isPresent?o.cloneElement(r,{ref:u}):null},"Presence");function F(e){const[t,n]=o.useState(),s=o.useRef(null),r=o.useRef(e),u=o.useRef("none"),c=o.useRef(void 0),i=e?"mounted":"unmounted",[a,d]=$(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return o.useEffect(()=>{a==="mounted"?(u.current=c.current??w(s.current),c.current=void 0):u.current="none"},[a]),N(()=>{const l=s.current,f=r.current;if(f!==e){const p=u.current,m=w(l);e?(c.current=m,d("MOUNT")):m==="none"||l?.display==="none"?d("UNMOUNT"):d(f&&p!==m?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,d]),N(()=>{if(t){let l;const f=t.ownerDocument.defaultView??window,v=g(m=>{const S=w(s.current).includes(CSS.escape(m.animationName));if(m.target===t&&S&&(d("ANIMATION_END"),!r.current)){const P=t.style.animationFillMode;t.style.animationFillMode="forwards",l=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=P)})}},"handleAnimationEnd"),p=g(m=>{m.target===t&&(u.current=w(s.current))},"handleAnimationStart");return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",v),t.addEventListener("animationend",v),()=>{f.clearTimeout(l),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",v),t.removeEventListener("animationend",v)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:o.useCallback(l=>{if(l){const f=getComputedStyle(l);s.current=f,c.current=w(f)}else s.current=null;n(l)},[])}}g(F,"usePresence");function O(e,t){if(typeof e=="function")return e(t);
1e!=null&&(e.current=t)}g(O,"setRef");function L(...e){const t=o.useRef(e);return t.current=e,o.useCallback(n=>{const s=t.current;let r=!1;const u=s.map(c=>{const i=O(c,n);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let c=0;c<u.length;c++){const i=u[c];typeof i=="function"?i():O(s[c],null)}}},[])}g(L,"useStableComposedRefs");function w(e){return e?.animationName||"none"}g(w,"getAnimationName");function W(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}g(W,"getElementRef");var K=Object.defineProperty,Q=(e,t)=>K(e,"name",{value:t,configurable:!0}),A=_[" useEffectEvent ".trim().toString()],b=_[" useInsertionEffect ".trim().toString()];function H(e){if(typeof A=="function")return A(e);const t=o.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return typeof b=="function"?b(()=>{t.current=e}):N(()=>{t.current=e}),o.useMemo(()=>((...n)=>t.current?.(...n)),[])}Q(H,"useEffectEvent");var Z=Object.defineProperty,y=(e,t)=>Z(e,"name",{value:t,configurable:!0}),ee=_[" useInsertionEffect ".trim().toString()]||N;function te({prop:e,defaultProp:t,onChange:n=y(()=>{},"onChange"),caller:s}){const[r,u,c]=V({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,d=o.useCallback(l=>{if(i){const f=k(l)?l(e):l;f!==e&&c.current?.(f)}else u(l)},[i,e,u,c]);return[a,d]}y(te,"useControllableState");function V({defaultProp:e,onChange:t}){const[n,s]=o.useState(e),r=o.useRef(n),u=o.useRef(t);return ee(()=>{u.current=t},[t]),o.useEffect(()=>{r.current!==n&&(u.current?.(n),r.current=n)},[n,r]),[n,s,u]}y(V,"useUncontrolledState");function k(e){return typeof e=="function"}y(k,"isFunction");var M=Symbol("RADIX:SYNC_STATE");function ne(e,t,n,s){const{prop:r,defaultProp:u,onChange:c,caller:i}=t,a=r!==void 0,d=H(c),l=[{...n,state:u}];s&&l.push(s);const[f,v]=o.useReducer((S,P)=>{if(P.type===M)return{...S,state:P.state};const R=e(S,P);return a&&!Object.is(R.state,S.state)&&d(R.state),R},...l),p=f.state,m=o.useRef(p);o.useEffect(()=>{m.current!==p&&(m.current=p,a||d(p))},[p,m,a]);const C=o.useMemo(()=>r!==void 0?{...f,state:r}:f,[f,r]);return o.useEffect(()=>{a&&!Object.is(r,f.state)&&v({type:M,state:r})},[r,f.state,a]),[C,v]}y(ne,"useControllableStateReducer");export{oe as P,G as a,te as b,Y as c,N as u};
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.