1import{k as O,a4 as _,N as $,a5 as I,l as b,a2 as v,f as K,g as x,m as C,a6 as q,p as B,a7 as D,e as X,X as W,x as N,a8 as H,Y as G,U as J}from"./routing-CRx7Nt30.js";const V="Location",Y=5e3,z=18e4;let w=new Map;setInterval(()=>{const e=Date.now();for(let[r,t]of w.entries())!t[3].count&&e-t[0]>z&&w.delete(r)},3e5);function T(){return w}function Q(e,r=!0){return v(()=>{const t=Date.now();j(e,n=>{r&&(n[0]=0),n[3][1](t)})})}function j(e,r){e&&!Array.isArray(e)&&(e=[e]);for(let t of w.keys())(e===void 0||Z(t,e))&&r(w.get(t))}function P(e,r){e.GET&&(e=e.GET);const t=(...n)=>{const a=T(),i=K(),c=q(),l=x()?_():void 0,u=Date.now(),f=r+E(n);let o=a.get(f),p;if($()&&!I&&(p=!0,b(()=>o[3].count--)),o&&o[0]&&(i==="native"||o[3].count||Date.now()-o[0]<Y)){p&&(o[3].count++,o[3][0]()),o[2]==="preload"&&i!=="preload"&&(o[0]=u);let g=o[1];return i!=="preload"&&(g="then"in o[1]?o[1].then(h(!1),h(!0)):h(!1)(o[1]),i==="navigate"&&v(()=>o[3][1](o[0]))),c&&"then"in g&&g.catch(()=>{}),g}let d=C.context&&C.has(f)?C.load(f):e(...n);return o?(o[0]=u,o[1]=d,o[2]=i,i==="navigate"&&v(()=>o[3][1](o[0]))):(a.set(f,o=[u,d,i,O(u)]),o[3].count=0),p&&(o[3].count++,o[3][0]()),i!=="preload"&&(d="then"in d?d.then(h(!1),h(!0)):h(!1)(d)),c&&"then"in d&&d.catch(()=>{}),d;function h(g){return async m=>{if(m instanceof Response){const y=m.headers.get(V);if(y!==null){l&&y.startsWith("/")?v(()=>{l(y,{replace:!0})}):window.location.href=y;return}m.customBody&&(m=await m.customBody())}if(g)throw m;return m}}};return t.keyFor=(...n)=>r+E(n),t.key=r,t}P.set=(e,r)=>{const t=T(),n=Date.now();let a=t.get(e);a?(a[0]=n,a[1]=r,a[2]="preload"):(t.set(e,a=[n,r,,O(n)]),a[3].count=0)};P.clear=()=>T().clear();function Z(e,r){for(let t of r)if(t&&e.startsWith(t))return!0;return!1}function E(e){return JSON.stringify(e,(r,t)=>ee(t)?Object.keys(t).sort().reduce((n,a)=>(n[a]=t[a],n),{}):t)}function ee(e){let r;return e!=null&&typeof e=="object"&&(!(r=Object.getPrototypeOf(e))||r===Object.prototype)}const A=new Map;function le(e){const r=D();return(...t)=>e.apply({r},t)}function ue(e,r){function t(...a){const i=this.r,c=this.f,s=(i.singleFlight&&e.withOptions?e.withOptions({headers:{"X-Single-Flight":"true"}}):e)(...a),[l,u]=O();let f;function o(p){return async d=>{const h=await ne(d,p,i.navigatorFactory());if(!h)return f.clear();if(u(h),h.error&&!c)throw h.error;return h.data}}return i.submissions[1](p=>[...p,f={input:a,url:n,get result(){return l()?.data},get error(){return l()?.error},get pending(){return!l()},clear(){i.submissions[1](d=>d.filter(h=>h.input!==a))},retry(){return u(void 0),e(...a).then(o(),o(!0))}}]),s.then(o(),o(!0))}const n=e.url||`https://action/${r}`||`https://action/${te(e.toString())}`;return t.base=n,F(t,n)}function F(e,r){return e.toString=()=>{if(!r)throw new Error("Client Actions need explicit names if server rendered");return r},e.with=function(...t){const n=function(...i){return e.call(this,...t,...i)};n.base=e.base;const a=new URL(r,B);return a.searchParams.set("args",E(t)),F(n,(a.origin==="https://action"?a.origin:"")+a.pathname+a.search)},e.url=r,A.set(r,e),x()&&b(()=>A.delete(r)),e}const te=e=>e.split("").reduce((r,t)=>(r<<5)-r+t.charCodeAt(0)|0,0);async function ne(e,r,t){let n,a,i,c;if(e instanceof Response){if(e.headers.has("X-Revalidate")&&(i=e.headers.get("X-Revalidate").split(",")),e.customBody&&(n=a=await e.customBody(),e.headers.has("X-Single-Flight")&&(n=n._$value,delete a._$value,c=Object.keys(a))),e.headers.has("Location")){const s=e.headers.get("Location")||"/";s.startsWith("http")?window.location.href=s:t(s)}}else{if(r)return{error:e};n=e}return j(i,s=>s[0]=0),c&&c.forEach(s=>P.set(s,a[s])),await Q(i,!1),n!=null?{data:n}:void 0}const re="modulepreload",oe=function(e){return"/_build/"+e},M={},de=function(r,t,n){let a=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),s=c?.nonce||c?.getAttribute("nonce");a=Promise.allSettled(t.map(l=>{if(l=oe(l),l in M)return;M[l]=!0;const u=l.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${f}`))return;const o=document.createElement("link");if(o.rel=u?"stylesheet":re,u||(o.as="script"),o.crossOrigin="",o.href=l,s&&o.setAttribute("nonce",s),document.head.appendChild(o),u)return new Promise((p,d)=>{o.addEventListener("load",p),o.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(c){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=c,window.dispatchEvent(s),!s.defaultPrevented)throw c}return a.then(c=>{for(const s of c||[])s.status==="rejected"&&i(s.reason);return r().catch(i)})},U=W(),ae=["title","meta"],R=[],L=["name","http-equiv","content","charset","media"].concat(["property"]),k=(e,r)=>{const t=Object.fromEntries(Object.entries(e.props).filter(([n])=>r.includes(n)).sort());return(Object.hasOwn(t,"name")||Object.hasOwn(t,"property"))&&(t.name=t.name||t.property,delete t.property),e.tag+JSON.stringify(t)};function se(){if(!C.context){const t=document.head.querySelectorAll("[data-sm]");Array.prototype.forEach.call(t,n=>n.parentNode.removeChild(n))}const e=new Map;function r(t){if(t.ref)return t.ref;let n=document.querySelector(`[data-sm="${t.id}"]`);return n?(n.tagName.toLowerCase()!==t.tag&&(n.parentNode&&n.parentNode.removeChild(n),n=document.createElement(t.tag)),n.removeAttribute("data-sm")):n=document.createElement(t.tag),n}return{addTag(t){if(ae.indexOf(t.tag)!==-1){const i=t.tag==="title"?R:L,c=k(t,i);e.has(c)||e.set(c,[]);let s=e.get(c),l=s.length;s=[...s,t],e.set(c,s);let u=r(t);t.ref=u,N(u,t.props);let f=null;for(var n=l-1;n>=0;n--)if(s[n]!=null){f=s[n];break}return u.parentNode!=document.head&&document.head.appendChild(u),f&&f.ref&&f.ref.parentNode&&document.head.removeChild(f.ref),l}
1let a=r(t);return t.ref=a,N(a,t.props),a.parentNode!=document.head&&document.head.appendChild(a),-1},removeTag(t,n){const a=t.tag==="title"?R:L,i=k(t,a);if(t.ref){const c=e.get(i);if(c){if(t.ref.parentNode){t.ref.parentNode.removeChild(t.ref);for(let s=n-1;s>=0;s--)c[s]!=null&&document.head.appendChild(c[s].ref)}c[n]=null,e.set(i,c)}else t.ref.parentNode&&t.ref.parentNode.removeChild(t.ref)}}}}const fe=e=>{const r=se();return X(U.Provider,{value:r,get children(){return e.children}})},S=(e,r,t)=>(ie({tag:e,props:r,setting:t,id:H(),get name(){return r.name||r.property}}),null);function ie(e){const r=G(U);if(!r)throw new Error("<MetaProvider /> should be in the tree");J(()=>{const t=r.addTag(e);b(()=>r.removeTag(e,t))})}const he=e=>S("title",e,{escape:!0,close:!0}),pe=e=>S("style",e,{close:!0}),me=e=>S("meta",e);export{fe as M,pe as S,he as T,de as _,A as a,ue as b,P as c,me as d,le 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.