import{x as g,j,A as k,E as H,H as K,a7 as F,a8 as G,h as Z,e as O,a9 as y,w as D,B as N,aa as z,k as J,ab as Q,ac as V,K as w,X as W,ad as Y,ae as X,af as M,ag as x,Q as q,ah as ee,ai as re,N as b,aj as ne,ak as se,a0 as te,a3 as ae,al as ie,a1 as fe,J as le,am as ue,an as ce,ao as oe}from"./DkzsT1tV.js";function Pe(e,r,[t,n]=[0,0]){g&&t===0&&j();var f=e,s=null,a=null,l=z,h=t>0?H:0,_=!1;const o=(u,E=!0)=>{_=!0,c(E,u)},c=(u,E)=>{if(l===(l=u))return;let d=!1;if(g&&n!==-1){if(t===0){const v=f.data;v===K?n=0:v===F?n=1/0:(n=parseInt(v.substring(1)),n!==n&&(n=l?1/0:-1))}const P=n>t;!!l===P&&(f=G(),Z(f),O(!1),d=!0,n=-1)}l?(s?y(s):E&&(s=D(()=>E(f))),a&&N(a,()=>{a=null})):(a?y(a):E&&(a=D(()=>E(f,[t+1,n]))),s&&N(s,()=>{s=null})),d&&O(!0)};k(()=>{_=!1,r(o),_||c(null,null)},h),g&&(f=J)}function B(e,r){return e===r||(e==null?void 0:e[Y])===r}function me(e={},r,t,n){return Q(()=>{var f,s;return V(()=>{f=s,s=(n==null?void 0:n())||[],w(()=>{e!==t(...s)&&(r(e,...s),f&&B(t(...f),e)&&r(null,...f))})}),()=>{W(()=>{s&&B(t(...s),e)&&r(null,...s)})}}),e}let R=!1;function de(e){var r=R;try{return R=!1,[e(),R]}finally{R=r}}const ve={get(e,r){if(!e.exclude.includes(r))return e.props[r]},set(e,r){return!1},getOwnPropertyDescriptor(e,r){if(!e.exclude.includes(r)&&r in e.props)return{enumerable:!0,configurable:!0,value:e.props[r]}},has(e,r){return e.exclude.includes(r)?!1:r in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(r=>!e.exclude.includes(r))}};function Se(e,r,t){return new Proxy({props:e,exclude:r},ve)}function C(e){var r;return((r=e.ctx)==null?void 0:r.d)??!1}function be(e,r,t,n){var p;var f=(t&ce)!==0,s=!le||(t&ue)!==0,a=(t&ie)!==0,l=(t&oe)!==0,h=!1,_;a?[_,h]=de(()=>e[r]):_=e[r];var o=Y in e||fe in e,c=a&&(((p=X(e,r))==null?void 0:p.set)??(o&&r in e&&(i=>e[r]=i)))||void 0,u=n,E=!0,d=!1,P=()=>(d=!0,E&&(E=!1,l?u=w(n):u=n),u);_===void 0&&n!==void 0&&(c&&s&&M(),_=P(),c&&c(_));var v;if(s)v=()=>{var i=e[r];return i===void 0?P():(E=!0,d=!1,i)};else{var L=(f?q:ee)(()=>e[r]);L.f|=x,v=()=>{var i=b(L);return i!==void 0&&(u=void 0),i===void 0?u:i}}if((t&re)===0)return v;if(c){var $=e.$$legacy;return function(i,S){return arguments.length>0?((!s||!S||$||h)&&c(S?v():i),i):v()}}var I=!1,A=ae(_),m=q(()=>{var i=v(),S=b(A);return I?(I=!1,S):A.v=i});return a&&b(m),f||(m.equals=ne),function(i,S){if(arguments.length>0){const T=S?b(m):s&&a?se(i):i;if(!m.equals(T)){if(I=!0,te(A,T),d&&u!==void 0&&(u=T),C(m))return i;w(()=>b(m))}return i}return C(m)?m.v:b(m)}}const _e="modulepreload",he=function(e,r){return new URL(e,r).href},U={},Re=function(r,t,n){let f=Promise.resolve();if(t&&t.length>0){let a=function(o){return Promise.all(o.map(c=>Promise.resolve(c).then(u=>({status:"fulfilled",value:u}),u=>({status:"rejected",reason:u}))))};const l=document.getElementsByTagName("link"),h=document.querySelector("meta[property=csp-nonce]"),_=(h==null?void 0:h.nonce)||(h==null?void 0:h.getAttribute("nonce"));f=a(t.map(o=>{if(o=he(o,n),o in U)return;U[o]=!0;const c=o.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!n)for(let P=l.length-1;P>=0;P--){const v=l[P];if(v.href===o&&(!c||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":_e,c||(d.as="script"),d.crossOrigin="",d.href=o,_&&d.setAttribute("nonce",_),document.head.appendChild(d),c)return new Promise((P,v)=>{d.addEventListener("load",P),d.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${o}`)))})}))}function s(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return f.then(a=>{for(const l of a||[])l.status==="rejected"&&s(l.reason);return r().catch(s)})};export{Re as _,me as b,Pe as i,be as p,Se as r};
