1import{b as o,r as c}from"./vendor-react-DdJf4Egy.js";function w(...e){return(...t)=>{for(let n of e)typeof n=="function"&&n(...t)}}const y=typeof document<"u"?o.useLayoutEffect:()=>{},v={prefix:String(Math.round(Math.random()*1e10)),current:0},R=o.createContext(v),M=o.createContext(!1);let x=new WeakMap;function O(e=!1){let t=c.useContext(R),n=c.useRef(null);if(n.current===null&&!e){let r=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(r){let f=x.get(r);f==null?x.set(r,{id:t.current,state:r.memoizedState}):r.memoizedState!==f.state&&(t.current=f.id,x.delete(r))}n.current=++t.current}return n.current}function N(e){let t=c.useContext(R),n=O(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`}function _(e){let t=o.useId(),[n]=c.useState(P()),r=n?"react-aria":`react-aria${v.prefix}`;return e||`${r}-${t}`}const k=typeof o.useId=="function"?_:N;function L(){return!1}function H(){return!0}function j(e){return()=>{}}function P(){return typeof o.useSyncExternalStore=="function"?o.useSyncExternalStore(j,L,H):c.useContext(M)}function T(e){let[t,n]=c.useState(e),r=c.useRef(t),f=c.useRef(null),u=c.useRef(()=>{if(!f.current)return;let a=f.current.next();if(a.done){f.current=null;return}r.current===a.value?u.current():n(a.value)});y(()=>{r.current=t,f.current&&u.current()});let l=c.useCallback(a=>{f.current=a(r.current),u.current()},[u]);return[t,l]}let F=!!(typeof window<"u"&&window.document&&window.document.createElement),b=new Map,$;typeof FinalizationRegistry<"u"&&($=new FinalizationRegistry(e=>{b.delete(e)}));let S=new WeakMap;function V(e){let[t,n]=c.useState(e),r=c.useRef(null),f=k(t),u=c.useRef(null),l=S.get(u);if($&&l!==f&&(l!=null&&$.unregister(u),$.register(u,f,u),S.set(u,f)),F){const a=b.get(f);a&&!a.includes(r)?a.push(r):b.set(f,[r])}return y(()=>{let a=f;return()=>{$&&($.unregister(u),S.delete(u)),b.delete(a)}},[f]),c.useEffect(()=>{let a=r.current;return a&&n(a),()=>{a&&(r.current=null)}}),f}function z(e,t){if(e===t)return e;let n=b.get(e);if(n)return n.forEach(f=>f.current=t),t;let r=b.get(t);return r?(r.forEach(f=>f.current=e),e):t}function Y(e=[]){let t=V(),[n,r]=T(t),f=c.useCallback(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return y(f,[t,f,...e]),n}function g(...e){return e.length===1&&e[0]?e[0]:t=>{let n=!1;const r=e.map(f=>{const u=C(f,t);return n||=typeof u=="function",u});if(n)return()=>{r.forEach((f,u)=>{typeof f=="function"?f():C(e[u],null)})}}}function C(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function E(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var f=e.length;for(t=0;t<f;t++)e[t]&&(n=E(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function A(){for(var e,t,n=0,r="",f=arguments.length;n<f;n++)(e=arguments[n])&&(t=E(e))&&(r&&(r+=" "),r+=t);return r}function D(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let f in r){let u=t[f],l=r[f];typeof u=="function"&&typeof l=="function"&&f[0]==="o"&&f[1]==="n"&&f.charCodeAt(2)>=65&&f.charCodeAt(2)<=90?t[f]=w(u,l):(f==="className"||f==="UNSAFE_className")&&typeof u=="string"&&typeof l=="string"?t[f]=A(u,l):f==="id"&&u&&l?t.id=z(u,l):f==="ref"&&u&&l?t.ref=g(u,l):t[f]=l!==void 0?l:u}}return t}function U(e){const t=c.useRef(null),n=c.useRef(void 0),r=c.useCallback(f=>{if(typeof e=="function"){const u=e,l=u(f);return()=>{typeof l=="function"?l():u(null)}}else if(e)return e.current=f,()=>{e.current=null}},[e]);return c.useMemo(()=>({get current(){return t.current},set current(f){t.current=f,n.current&&(n.current(),n.current=void 0),f!=null&&(n.current=r(f))}}),[r])}const W=Symbol("default");function G({values:e,children:t}){for(let[n,r]of e)t=o.createElement(n.Provider,{value:r},t);return t}function J(e){let{className:t,style:n,children:r,defaultClassName:f,defaultChildren:u,defaultStyle:l,values:a,render:i}=e;return c.useMemo(()=>{let p,s,d;return typeof t=="function"?p=t({...a,defaultClassName:f}):p=t,typeof n=="function"?s=n({...a,defaultStyle:l||{}}):s=n,typeof r=="function"?d=r({...a,defaultChildren:u}):r==null?d=u:d=r,{className:p??f,style:s||l?{...l,...s}:void 0,children:d??u,"data-rac":"",render:i?I=>i(I,a):void 0}},[t,n,r,f,u,l,a,i])}function Q(e,t){return n=>t(typeof e=="function"?e(n):e,n)}function q(e,t){let n=c.useContext(e);if(t===null)return null;if(n&&typeof n=="object"&&"slots"in n&&n.slots){let r=t||W;if(!n.slots[r]){let f=new Intl.ListFormat().format(Object.keys(n.slots).map(l=>`"${l}"`)),u=t?`Invalid slot "${t}".`:"A slot prop is required.";throw new Error(`${u} Valid slot names are ${f}.`)}return n.slots[r]}return n}
1function X(e,t,n){let r=q(n,e.slot)||{},{ref:f,...u}=r,l=U(c.useMemo(()=>g(t,f),[t,f])),a=D(u,e);return"style"in u&&u.style&&"style"in e&&e.style&&(typeof u.style=="function"||typeof e.style=="function"?a.style=i=>{let p=typeof u.style=="function"?u.style(i):u.style,s={...i.defaultStyle,...p},d=typeof e.style=="function"?e.style({...i,defaultStyle:s}):e.style;return{...s,...d}}:a.style={...u.style,...e.style}),[a,l]}function Z(e=!0){let[t,n]=c.useState(e),r=c.useRef(!1),f=c.useCallback(u=>{r.current=!0,n(!!u)},[]);return y(()=>{r.current||n(!1)},[]),[f,t]}function ee(e){const t=/^(data-.*)$/;let n={};for(const r in e)t.test(r)||(n[r]=e[r]);return n}function B(e,t,n){let{render:r,...f}=t,u=c.useRef(null),l=c.useMemo(()=>g(n,u),[n,u]);y(()=>{},[e,r]);let a={...f,ref:l};return r?r(a,void 0):o.createElement(e,a)}const h={},te=new Proxy({},{get(e,t){if(typeof t!="string")return;let n=h[t];return n||(n=c.forwardRef(B.bind(null,t)),h[t]=n),n}});typeof HTMLTemplateElement<"u"&&(Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.content.firstChild}}),Object.defineProperty(HTMLTemplateElement.prototype,"appendChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.appendChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.removeChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(e,t){return this.content.insertBefore(e,t)}}));const m=c.createContext(!1);function ne(e){if(c.useContext(m))return o.createElement(o.Fragment,null,e.children);let n=o.createElement(m.Provider,{value:!0},e.children);return o.createElement("template",null,n)}function re(e){let t=(n,r)=>c.useContext(m)?null:e(n,r);return t.displayName=e.displayName||e.name,c.forwardRef(t)}function fe(){return c.useContext(m)}export{y as $,V as a,D as b,U as c,Q as d,P as e,w as f,X as g,te as h,J as i,re as j,Z as k,Y as l,G as m,W as n,q as o,ee as p,g as q,fe as r,ne as s,A as t};
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.