1import{r as e}from"./rolldown-runtime-C60lm6uB.js";import{r as t}from"./framework-BaE7mD_r.js";var n=e(t(),1),r=Symbol.for(`vinext.layoutSegmentContext`),i=Symbol.for(`vinext.serverInsertedHTMLContext`),a=Symbol.for(`vinext.bfcacheIdMapContext`),o=Symbol.for(`vinext.bfcacheSegmentIdContext`),s=Symbol.for(`vinext.navigation.clientHydrationContext`),c=Symbol.for(`vinext.navigation.fallback`);function l(e){return typeof n.createContext==`function`?n.createContext(e):null}function u(){let e=globalThis;return e[i]||(e[i]=l(null)),e[i]??null}var d=u();function f(){let e=globalThis;return e[r]||(e[r]=l({children:[]})),e[r]??null}function p(){let e=globalThis;return e[a]||(e[a]=l(null)),e[a]??null}function m(){let e=globalThis;return e[o]||(e[o]=l(null)),e[o]??null}var h=Symbol.for(`vinext.navigation.globalAccessors`);function g(){let e=globalThis;return e[c]??={serverContext:null,serverInsertedHTMLCallbacks:[]}}function _(){return globalThis[h]}function v(){let e=globalThis;if(Object.prototype.hasOwnProperty.call(e,s))return e[s]??null}function y(e){globalThis[s]=e}function b(){y(null)}var x=()=>{{let e=v();return e===void 0?g().serverContext:e}return _()?.getServerContext()??g().serverContext},S=e=>{g().serverContext=e,y(e)},C=()=>_()?.getInsertedHTMLCallbacks()??g().serverInsertedHTMLCallbacks,w=()=>{let e=_();e?e.clearInsertedHTMLCallbacks():g().serverInsertedHTMLCallbacks=[]};function T(e){x=e.getServerContext,S=e.setServerContext,C=e.getInsertedHTMLCallbacks,w=e.clearInsertedHTMLCallbacks}function E(){return x()}function D(e){S(e)}function ee(e){C().push(e)}function O(e){let t=C(),n=[];for(let e of t)try{let t=e();t!=null&&n.push(t)}catch{}return e&&(t.length=0),n}function k(){return O(!0)}function A(){return O(!1)}function j(){w()}var M=`NEXT_REDIRECT;`;function N(e){if(!e.startsWith(M))return null;let t=e.indexOf(`;`,14);if(t===-1)return null;let n=e.slice(t+1),r=n.match(/;(303|307|308);?$/),i=n!==``&&e.endsWith(`;`);if(i&&!r)return null;let a=r?n.slice(0,-r[0].length):n,o=a;if(!i)try{o=decodeURIComponent(a)}catch{return null}return{status:r?Number(r[1]):307,type:e.slice(14,t)||null,url:o}}var P=`NEXT_HTTP_ERROR_FALLBACK`;function F(e){if(!e||typeof e!=`object`||!(`digest`in e))return!1;let t=String(e.digest);return t===`NEXT_NOT_FOUND`||t.startsWith(`NEXT_HTTP_ERROR_FALLBACK;`)}function I(e){if(e&&typeof e==`object`&&`digest`in e){let t=String(e.digest);if(t===`NEXT_NOT_FOUND`)return 404;if(t.startsWith(`NEXT_HTTP_ERROR_FALLBACK;`))return Number.parseInt(t.split(`;`)[1],10)}return 404}var L=function(e){return e.push=`push`,e.replace=`replace`,e}({}),R=class extends Error{digest;constructor(e,t){super(e),this.digest=t}};function z(e,t){throw new R(`NEXT_REDIRECT:${e}`,`NEXT_REDIRECT;${t??``};${encodeURIComponent(e)}`)}function B(e,t=`replace`){throw new R(`NEXT_REDIRECT:${e}`,`NEXT_REDIRECT;${t};${encodeURIComponent(e)};308`)}function V(){throw new R(`NEXT_NOT_FOUND`,`${P};404`)}function H(){throw new R(`NEXT_FORBIDDEN`,`${P};403`)}function U(){throw new R(`NEXT_UNAUTHORIZED`,`${P};401`)}function W(e){return!!e&&typeof e==`object`&&`digest`in e&&typeof e.digest==`string`&&e.digest.startsWith(`NEXT_REDIRECT;`)}function G(e){let t=N(e);return t?{url:t.url,type:t.type===`push`?`push`:`replace`}:null}function K(e){return W(e)||F(e)}var q=`BAILOUT_TO_CLIENT_SIDE_RENDERING`,J=class extends Error{digest=q;reason;constructor(e){super(`Bail out to client-side rendering: ${e}`),this.reason=e}};function Y(e){return!!e&&typeof e==`object`&&`digest`in e&&e.digest===q}var X=`DYNAMIC_SERVER_USAGE`,Z=class extends Error{digest=X;description;constructor(e){super(`Dynamic server usage: ${e}`),this.description=e}};function Q(e){return!!e&&typeof e==`object`&&`digest`in e&&e.digest===X}function $(e){if(K(e)||Y(e)||Q(e))throw e;e instanceof Error&&`cause`in e&&$(e.cause)}export{D as A,k as C,E as D,f as E,ee as O,j as S,m as T,$ as _,G as a,T as b,Y as c,K as d,W as f,U as g,z as h,L as i,A as k,Q as l,B as m,Z as n,H as o,V as p,P as r,I as s,J as t,F as u,h as v,p as w,b as x,d as y};
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.