1import{r as u,e as R,f as P,L as p,j as x,M as C,k as S,u as k,l as w}from"./proxy-M03O3kVn.js";const b="modulepreload",M=function(e){return"/"+e},h={},g=function(r,t,n){let a=Promise.resolve();if(t&&t.length>0){let c=function(s){return Promise.all(s.map(d=>Promise.resolve(d).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));a=c(t.map(s=>{if(s=M(s),s in h)return;h[s]=!0;const d=s.endsWith(".css"),f=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${f}`))return;const i=document.createElement("link");if(i.rel=d?"stylesheet":b,d||(i.as="script"),i.crossOrigin="",i.href=s,l&&i.setAttribute("nonce",l),document.head.appendChild(i),d)return new Promise((E,L)=>{i.addEventListener("load",E),i.addEventListener("error",()=>L(new Error(`Unable to preload CSS for ${s}`)))})}))}function m(c){const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=c,window.dispatchEvent(o),!o.defaultPrevented)throw c}return a.then(c=>{for(const o of c||[])o.status==="rejected"&&m(o.reason);return r().catch(m)})},G=e=>!e.isLayoutDirty&&e.willUpdate(!1);function y(){const e=new Set,r=new WeakMap,t=()=>e.forEach(G);return{add:n=>{e.add(n),r.set(n,n.addEventListener("willUpdate",t))},remove:n=>{e.delete(n);const a=r.get(n);a&&(a(),r.delete(n)),t()},dirty:t}}const I=u.createContext(null);function j(){const e=u.useRef(!1);return R(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function U(){const e=j(),[r,t]=u.useState(0),n=u.useCallback(()=>{e.current&&t(r+1)},[r]);return[u.useCallback(()=>P.postRender(n),[n]),r]}const v=e=>e===!0,A=e=>v(e===!0)||e==="id",_=({children:e,id:r,inherit:t=!0})=>{const n=u.useContext(p),a=u.useContext(I),[m,c]=U(),o=u.useRef(null),l=n.id||a;o.current===null&&(A(t)&&l&&(r=r?l+"-"+r:l),o.current={id:r,group:v(t)&&n.group||y()});const s=u.useMemo(()=>({...o.current,forceRender:m}),[c]);return x.jsx(p.Provider,{value:s,children:e})};function $({children:e,isValidProp:r,...t}){r&&w(r);const n=u.useContext(C);t={...n,...t},t.transition=S(t.transition,n.transition),t.isStatic=k(()=>t.isStatic);const a=u.useMemo(()=>t,[JSON.stringify(t.transition),t.transformPagePoint,t.reducedMotion,t.skipAnimations]);return x.jsx(C.Provider,{value:a,children:e})}export{_ as L,$ as M,g as _};
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.