diff --git "a/.output/server/chunks/nitro/nitro.mjs" "b/.output/server/chunks/nitro/nitro.mjs" --- "a/.output/server/chunks/nitro/nitro.mjs" +++ "b/.output/server/chunks/nitro/nitro.mjs" @@ -1 +1 @@ -import e from"node:process";globalThis._importMeta_=globalThis._importMeta_||{url:"file:///_entry.js",env:e.env};import t,{Server as s}from"node:http";import a,{Server as c}from"node:https";import{EventEmitter as l}from"node:events";import{Buffer as u}from"node:buffer";import{promises as d,existsSync as h}from"node:fs";import{fileURLToPath as f}from"node:url";import{resolve as m,dirname as g,join as v}from"node:path";import{createHash as j}from"node:crypto";const T=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,_=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,x=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function jsonParseTransform(e,t){if(!("__proto__"===e||"constructor"===e&&t&&"object"==typeof t&&"prototype"in t))return t;!function(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}(e)}function destr(e,t={}){if("string"!=typeof e)return e;const s=e.trim();if('"'===e[0]&&e.endsWith('"')&&!e.includes("\\"))return s.slice(1,-1);if(s.length<=9){const e=s.toLowerCase();if("true"===e)return!0;if("false"===e)return!1;if("undefined"===e)return;if("null"===e)return null;if("nan"===e)return Number.NaN;if("infinity"===e)return Number.POSITIVE_INFINITY;if("-infinity"===e)return Number.NEGATIVE_INFINITY}if(!x.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(T.test(e)||_.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,jsonParseTransform)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const z=/#/g,R=/&/g,k=/\//g,C=/=/g,Z=/\+/g,B=/%5e/gi,E=/%60/gi,K=/%7c/gi,N=/%20/gi,I=/%2f/gi;function encodeQueryValue(e){return(t="string"==typeof e?e:JSON.stringify(e),encodeURI(""+t).replace(K,"|")).replace(Z,"%2B").replace(N,"+").replace(z,"%23").replace(R,"%26").replace(E,"`").replace(B,"^").replace(k,"%2F");var t}function encodeQueryKey(e){return encodeQueryValue(e).replace(C,"%3D")}function decode(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function decodeQueryValue(e){return decode(e.replace(Z," "))}function parseQuery(e=""){const t={};"?"===e[0]&&(e=e.slice(1));for(const s of e.split("&")){const e=s.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;const a=decode(e[1].replace(Z," "));if("__proto__"===a||"constructor"===a)continue;const c=decodeQueryValue(e[2]||"");void 0===t[a]?t[a]=c:Array.isArray(t[a])?t[a].push(c):t[a]=[t[a],c]}return t}function stringifyQuery(e){return Object.keys(e).filter((t=>void 0!==e[t])).map((t=>function(e,t){return"number"!=typeof t&&"boolean"!=typeof t||(t=String(t)),t?Array.isArray(t)?t.map((t=>`${encodeQueryKey(e)}=${encodeQueryValue(t)}`)).join("&"):`${encodeQueryKey(e)}=${encodeQueryValue(t)}`:encodeQueryKey(e)}(t,e[t]))).filter(Boolean).join("&")}const M=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,H=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,O=/^([/\\]\s*){2,}[^/\\]/,q=/^\.?\//;function hasProtocol(e,t={}){return"boolean"==typeof t&&(t={acceptRelative:t}),t.strict?M.test(e):H.test(e)||!!t.acceptRelative&&O.test(e)}function withoutTrailingSlash(e="",t){return(function(e=""){return e.endsWith("/")}(e)?e.slice(0,-1):e)||"/"}function withTrailingSlash(e="",t){return e.endsWith("/")?e:e+"/"}function withLeadingSlash(e=""){return function(e=""){return e.startsWith("/")}(e)?e:"/"+e}function withoutBase(e,t){if(isEmptyURL(t))return e;const s=withoutTrailingSlash(t);if(!e.startsWith(s))return e;const a=e.slice(s.length);return"/"===a[0]?a:"/"+a}function withQuery(e,t){const s=parseURL(e),a={...parseQuery(s.search),...t};return s.search=stringifyQuery(a),function(e){const t=e.pathname||"",s=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",a=e.hash||"",c=e.auth?e.auth+"@":"",l=e.host||"",u=e.protocol||e[D]?(e.protocol||"")+"//":"";return u+c+l+t+s+a}(s)}function getQuery$1(e){return parseQuery(parseURL(e).search)}function isEmptyURL(e){return!e||"/"===e}function joinURL(e,...t){let s=e||"";for(const e of t.filter((e=>function(e){return e&&"/"!==e}(e))))if(s){const t=e.replace(q,"");s=withTrailingSlash(s)+t}else s=e;return s}const D=Symbol.for("ufo:protocolRelative");function parseURL(e="",t){const s=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(s){const[,e,t=""]=s;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:"",host:"",search:"",hash:""}}if(!hasProtocol(e,{acceptRelative:!0}))return parsePath(e);const[,a="",c,l=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,u="",d=""]=l.match(/([^#/?]*)(.*)?/)||[];"file:"===a&&(d=d.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:h,search:f,hash:m}=parsePath(d);return{protocol:a.toLowerCase(),auth:c?c.slice(0,Math.max(0,c.length-1)):"",host:u,pathname:h,search:f,hash:m,[D]:!a}}function parsePath(e=""){const[t="",s="",a=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:s,hash:a}}const P=0,X=1,L=2;function createRouter$1(e={}){const t={options:e,rootNode:createRadixNode(),staticRoutesMap:{}},normalizeTrailingSlash=t=>e.strictTrailingSlash?t:t.replace(/\/$/,"")||"/";if(e.routes)for(const s in e.routes)insert(t,normalizeTrailingSlash(s),e.routes[s]);return{ctx:t,lookup:e=>function(e,t){const s=e.staticRoutesMap[t];if(s)return s.data;const a=t.split("/"),c={};let l=!1,u=null,d=e.rootNode,h=null;for(let e=0;e1){const t=a.length-e;d=d.placeholderChildren.find((e=>e.maxDepth===t))||null}else d=d.placeholderChildren[0]||null;if(!d)break;d.paramName&&(c[d.paramName]=t),l=!0}else d=s}null!==d&&null!==d.data||null===u||(d=u,c[d.paramName||"_"]=h,l=!0);if(!d)return null;if(l)return{...d.data,params:l?c:void 0};return d.data}(t,normalizeTrailingSlash(e)),insert:(e,s)=>insert(t,normalizeTrailingSlash(e),s),remove:e=>function(e,t){let s=!1;const a=t.split("/");let c=e.rootNode;for(const e of a)if(c=c.children.get(e),!c)return s;if(c.data){const e=a.at(-1)||"";c.data=null,0===Object.keys(c.children).length&&c.parent&&(c.parent.children.delete(e),c.parent.wildcardChildNode=null,c.parent.placeholderChildren=[]),s=!0}return s}(t,normalizeTrailingSlash(e))}}function insert(e,t,s){let a=!0;const c=t.split("/");let l=e.rootNode,u=0;const d=[l];for(const e of c){let t;if(t=l.children.get(e))l=t;else{const s=getNodeType(e);t=createRadixNode({type:s,parent:l}),l.children.set(e,t),s===L?(t.paramName="*"===e?"_"+u++:e.slice(1),l.placeholderChildren.push(t),a=!1):s===X&&(l.wildcardChildNode=t,t.paramName=e.slice(3)||"_",a=!1),d.push(t),l=t}}for(const[e,t]of d.entries())t.maxDepth=Math.max(d.length-e,t.maxDepth||0);return l.data=s,!0===a&&(e.staticRoutesMap[t]=l),l}function createRadixNode(e={}){return{type:e.type||P,maxDepth:0,parent:e.parent||null,children:new Map,data:e.data||null,paramName:e.paramName||null,wildcardChildNode:null,placeholderChildren:[]}}function getNodeType(e){return e.startsWith("**")?X:":"===e[0]||"*"===e?L:P}function toRouteMatcher(e){return function(e,t){return{ctx:{table:e},matchAll:s=>_matchRoutes(s,e,t)}}(_routerNodeToTable("",e.ctx.rootNode),e.ctx.options.strictTrailingSlash)}function _matchRoutes(e,t,s){!0!==s&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const a=[];for(const[s,c]of _sortRoutesMap(t.wildcard))(e===s||e.startsWith(s+"/"))&&a.push(c);for(const[s,c]of _sortRoutesMap(t.dynamic))if(e.startsWith(s+"/")){const t="/"+e.slice(s.length).split("/").splice(2).join("/");a.push(..._matchRoutes(t,c))}const c=t.static.get(e);return c&&a.push(c),a.filter(Boolean)}function _sortRoutesMap(e){return[...e.entries()].sort(((e,t)=>e[0].length-t[0].length))}function _routerNodeToTable(e,t){const s={static:new Map,wildcard:new Map,dynamic:new Map};return function _addNode(e,t){if(e)if(t.type!==P||e.includes("*")||e.includes(":")){if(t.type===X)s.wildcard.set(e.replace("/**",""),t.data);else if(t.type===L){const a=_routerNodeToTable("",t);return t.data&&a.static.set("/",t.data),void s.dynamic.set(e.replace(/\/\*|\/:\w+/,""),a)}}else t.data&&s.static.set(e,t.data);for(const[s,a]of t.children.entries())_addNode(`${e}/${s}`.replace("//","/"),a)}(e,t),s}function isPlainObject(e){if(null===e||"object"!=typeof e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&(!(Symbol.iterator in e)&&(!(Symbol.toStringTag in e)||"[object Module]"===Object.prototype.toString.call(e)))}function _defu(e,t,s=".",a){if(!isPlainObject(t))return _defu(e,{},s,a);const c=Object.assign({},t);for(const t in e){if("__proto__"===t||"constructor"===t)continue;const l=e[t];null!=l&&(a&&a(c,t,l,s)||(Array.isArray(l)&&Array.isArray(c[t])?c[t]=[...l,...c[t]]:isPlainObject(l)&&isPlainObject(c[t])?c[t]=_defu(l,c[t],(s?`${s}.`:"")+t.toString(),a):c[t]=l))}return c}function createDefu(e){return(...t)=>t.reduce(((t,s)=>_defu(t,s,"",e)),{})}const U=createDefu(),W=createDefu(((e,t,s)=>{if(void 0!==e[t]&&"function"==typeof s)return e[t]=s(e[t]),!0}));function o(e){throw new Error(`${e} is not implemented yet!`)}let F=class i extends l{__unenv__={};readableEncoding=null;readableEnded=!0;readableFlowing=!1;readableHighWaterMark=0;readableLength=0;readableObjectMode=!1;readableAborted=!1;readableDidRead=!1;closed=!1;errored=null;readable=!1;destroyed=!1;static from(e,t){return new i(t)}constructor(e){super()}_read(e){}read(e){}setEncoding(e){return this}pause(){return this}resume(){return this}isPaused(){return!0}unpipe(e){return this}unshift(e,t){}wrap(e){return this}push(e,t){return!1}_destroy(e,t){this.removeAllListeners()}destroy(e){return this.destroyed=!0,this._destroy(e),this}pipe(e,t){return{}}compose(e,t){throw new Error("Method not implemented.")}[Symbol.asyncDispose](){return this.destroy(),Promise.resolve()}async*[Symbol.asyncIterator](){throw o("Readable.asyncIterator")}iterator(e){throw o("Readable.iterator")}map(e,t){throw o("Readable.map")}filter(e,t){throw o("Readable.filter")}forEach(e,t){throw o("Readable.forEach")}reduce(e,t,s){throw o("Readable.reduce")}find(e,t){throw o("Readable.find")}findIndex(e,t){throw o("Readable.findIndex")}some(e,t){throw o("Readable.some")}toArray(e){throw o("Readable.toArray")}every(e,t){throw o("Readable.every")}flatMap(e,t){throw o("Readable.flatMap")}drop(e,t){throw o("Readable.drop")}take(e,t){throw o("Readable.take")}asIndexedPairs(e){throw o("Readable.asIndexedPairs")}},G=class extends l{__unenv__={};writable=!0;writableEnded=!1;writableFinished=!1;writableHighWaterMark=0;writableLength=0;writableObjectMode=!1;writableCorked=0;closed=!1;errored=null;writableNeedDrain=!1;destroyed=!1;_data;_encoding="utf8";constructor(e){super()}pipe(e,t){return{}}_write(e,t,s){if(this.writableEnded)s&&s();else{if(void 0===this._data)this._data=e;else{const s="string"==typeof this._data?u.from(this._data,this._encoding||t||"utf8"):this._data,a="string"==typeof e?u.from(e,t||this._encoding||"utf8"):e;this._data=u.concat([s,a])}this._encoding=t,s&&s()}}_writev(e,t){}_destroy(e,t){}_final(e){}write(e,t,s){const a="string"==typeof t?this._encoding:"utf8",c="function"==typeof t?t:"function"==typeof s?s:void 0;return this._write(e,a,c),!0}setDefaultEncoding(e){return this}end(e,t,s){const a="function"==typeof e?e:"function"==typeof t?t:"function"==typeof s?s:void 0;if(this.writableEnded)return a&&a(),this;const c=e===a?void 0:e;if(c){const e=t===a?void 0:t;this.write(c,e,a)}return this.writableEnded=!0,this.writableFinished=!0,this.emit("close"),this.emit("finish"),this}cork(){}uncork(){}destroy(e){return this.destroyed=!0,delete this._data,this.removeAllListeners(),this}compose(e,t){throw new Error("Method not implemented.")}};const J=class{allowHalfOpen=!0;_destroy;constructor(e=new F,t=new G){Object.assign(this,e),Object.assign(this,t),this._destroy=function(...e){return function(...t){for(const s of e)s(...t)}}(e._destroy,t._destroy)}};const Q=(Object.assign(J.prototype,F.prototype),Object.assign(J.prototype,G.prototype),J);class A extends Q{__unenv__={};bufferSize=0;bytesRead=0;bytesWritten=0;connecting=!1;destroyed=!1;pending=!1;localAddress="";localPort=0;remoteAddress="";remoteFamily="";remotePort=0;autoSelectFamilyAttemptedAddresses=[];readyState="readOnly";constructor(e){super()}write(e,t,s){return!1}connect(e,t,s){return this}end(e,t,s){return this}setEncoding(e){return this}pause(){return this}resume(){return this}setTimeout(e,t){return this}setNoDelay(e){return this}setKeepAlive(e,t){return this}address(){return{}}unref(){return this}ref(){return this}destroySoon(){this.destroy()}resetAndDestroy(){const e=new Error("ERR_SOCKET_CLOSED");return e.code="ERR_SOCKET_CLOSED",this.destroy(e),this}}class y extends F{aborted=!1;httpVersion="1.1";httpVersionMajor=1;httpVersionMinor=1;complete=!0;connection;socket;headers={};trailers={};method="GET";url="/";statusCode=200;statusMessage="";closed=!1;errored=null;readable=!1;constructor(e){super(),this.socket=this.connection=e||new A}get rawHeaders(){const e=this.headers,t=[];for(const s in e)if(Array.isArray(e[s]))for(const a of e[s])t.push(s,a);else t.push(s,e[s]);return t}get rawTrailers(){return[]}setTimeout(e,t){return this}get headersDistinct(){return p(this.headers)}get trailersDistinct(){return p(this.trailers)}}function p(e){const t={};for(const[s,a]of Object.entries(e))s&&(t[s]=(Array.isArray(a)?a:[a]).filter(Boolean));return t}class w extends G{statusCode=200;statusMessage="";upgrading=!1;chunkedEncoding=!1;shouldKeepAlive=!1;useChunkedEncodingByDefault=!1;sendDate=!1;finished=!1;headersSent=!1;strictContentLength=!1;connection=null;socket=null;req;_headers={};constructor(e){super(),this.req=e}assignSocket(e){e._httpMessage=this,this.socket=e,this.connection=e,this.emit("socket",e),this._flush()}_flush(){this.flushHeaders()}detachSocket(e){}writeContinue(e){}writeHead(e,t,s){e&&(this.statusCode=e),"string"==typeof t&&(this.statusMessage=t,t=void 0);const a=s||t;if(a&&!Array.isArray(a))for(const e in a)this.setHeader(e,a[e]);return this.headersSent=!0,this}writeProcessing(){}setTimeout(e,t){return this}appendHeader(e,t){e=e.toLowerCase();const s=this._headers[e],a=[...Array.isArray(s)?s:[s],...Array.isArray(t)?t:[t]].filter(Boolean);return this._headers[e]=a.length>1?a:a[0],this}setHeader(e,t){return this._headers[e.toLowerCase()]=t,this}setHeaders(e){for(const[t,s]of Object.entries(e))this.setHeader(t,s);return this}getHeader(e){return this._headers[e.toLowerCase()]}getHeaders(){return this._headers}getHeaderNames(){return Object.keys(this._headers)}hasHeader(e){return e.toLowerCase()in this._headers}removeHeader(e){delete this._headers[e.toLowerCase()]}addTrailers(e){}flushHeaders(){}writeEarlyHints(e,t){"function"==typeof t&&t()}}const Y=(()=>{const n=function(){};return n.prototype=Object.create(null),n})();function S(e={}){if(e instanceof Headers)return e;const t=new Headers;for(const[s,a]of Object.entries(e))if(void 0!==a){if(Array.isArray(a)){for(const e of a)t.append(s,String(e));continue}t.set(s,String(a))}return t}const V=new Set([101,204,205,304]);async function b(e,t){const s=new y,a=new w(s);let c;if(s.url=t.url?.toString()||"/",!s.url.startsWith("/")){const e=new URL(s.url);c=e.host,s.url=e.pathname+e.search+e.hash}s.method=t.method||"GET",s.headers=function(e={}){const t=new Y,s=Array.isArray(e)||function(e){return"function"==typeof e?.entries}(e)?e:Object.entries(e);for(const[e,a]of s)if(a){if(void 0===t[e]){t[e]=a;continue}t[e]=[...Array.isArray(t[e])?t[e]:[t[e]],...Array.isArray(a)?a:[a]]}return t}(t.headers||{}),s.headers.host||(s.headers.host=t.host||c||"localhost"),s.connection.encrypted=s.connection.encrypted||"https"===t.protocol,s.body=t.body||null,s.__unenv__=t.context,await e(s,a);let l=a._data;(V.has(a.statusCode)||"HEAD"===s.method.toUpperCase())&&(l=null,delete a._headers["content-length"]);const u={status:a.statusCode,statusText:a.statusMessage,headers:a._headers,body:l};return s.destroy(),a.destroy(),u}function hasProp(e,t){try{return t in e}catch{return!1}}class H3Error extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(e,t={}){super(e,t),t.cause&&!this.cause&&(this.cause=t.cause)}toJSON(){const e={message:this.message,statusCode:sanitizeStatusCode(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=sanitizeStatusMessage(this.statusMessage)),void 0!==this.data&&(e.data=this.data),e}}function createError$1(e){if("string"==typeof e)return new H3Error(e);if(isError(e))return e;const t=new H3Error(e.message??e.statusMessage??"",{cause:e.cause||e});if(hasProp(e,"stack"))try{Object.defineProperty(t,"stack",{get:()=>e.stack})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=sanitizeStatusCode(e.statusCode,t.statusCode):e.status&&(t.statusCode=sanitizeStatusCode(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const e=t.statusMessage;sanitizeStatusMessage(t.statusMessage)!==e&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return void 0!==e.fatal&&(t.fatal=e.fatal),void 0!==e.unhandled&&(t.unhandled=e.unhandled),t}function isError(e){return!0===e?.constructor?.__h3_error__}function getQuery(e){return getQuery$1(e.path||"")}function getRequestHeaders(e){const t={};for(const s in e.node.req.headers){const a=e.node.req.headers[s];t[s]=Array.isArray(a)?a.filter(Boolean).join(", "):a}return t}const $=getRequestHeaders;function getRequestHeader(e,t){return getRequestHeaders(e)[t.toLowerCase()]}function getRequestURL(e,t={}){const s=function(e,t={}){if(t.xForwardedHost){const t=e.node.req.headers["x-forwarded-host"];if(t)return t}return e.node.req.headers.host||"localhost"}(e,t),a=function(e,t={}){return!1!==t.xForwardedProto&&"https"===e.node.req.headers["x-forwarded-proto"]||e.node.req.connection?.encrypted?"https":"http"}(e,t),c=(e.node.req.originalUrl||e.path).replace(/^[/\\]+/g,"/");return new URL(c,`${a}://${s}`)}const ee=Symbol.for("h3RawBody"),te=Symbol.for("h3ParsedBody"),se=["PATCH","POST","PUT","DELETE"];function readRawBody(e,t="utf8"){!function(e,t){if(!function(e,t){if("string"==typeof t){if(e.method===t)return!0}else if(t.includes(e.method))return!0;return!1}(e,t))throw createError$1({statusCode:405,statusMessage:"HTTP method is not allowed."})}(e,se);const s=e._requestBody||e.web?.request?.body||e.node.req[ee]||e.node.req.rawBody||e.node.req.body;if(s){const e=Promise.resolve(s).then((e=>Buffer.isBuffer(e)?e:"function"==typeof e.pipeTo?new Promise(((t,s)=>{const a=[];e.pipeTo(new WritableStream({write(e){a.push(e)},close(){t(Buffer.concat(a))},abort(e){s(e)}})).catch(s)})):"function"==typeof e.pipe?new Promise(((t,s)=>{const a=[];e.on("data",(e=>{a.push(e)})).on("end",(()=>{t(Buffer.concat(a))})).on("error",s)})):e.constructor===Object?Buffer.from(JSON.stringify(e)):e instanceof URLSearchParams?Buffer.from(e.toString()):Buffer.from(e)));return t?e.then((e=>e.toString(t))):e}if(!Number.parseInt(e.node.req.headers["content-length"]||"")&&!String(e.node.req.headers["transfer-encoding"]??"").split(",").map((e=>e.trim())).filter(Boolean).includes("chunked"))return Promise.resolve(void 0);const a=e.node.req[ee]=new Promise(((t,s)=>{const a=[];e.node.req.on("error",(e=>{s(e)})).on("data",(e=>{a.push(e)})).on("end",(()=>{t(Buffer.concat(a))}))}));return t?a.then((e=>e.toString(t))):a}async function readBody(e,t={}){const s=e.node.req;if(hasProp(s,te))return s[te];const a=s.headers["content-type"]||"",c=await readRawBody(e);let l;return l="application/json"===a?_parseJSON(c,t.strict??!0):a.startsWith("application/x-www-form-urlencoded")?function(e){const t=new URLSearchParams(e),s=Object.create(null);for(const[e,a]of t.entries())hasProp(s,e)?(Array.isArray(s[e])||(s[e]=[s[e]]),s[e].push(a)):s[e]=a;return s}(c):a.startsWith("text/")?c:_parseJSON(c,t.strict??!1),s[te]=l,l}function _parseJSON(e="",t){if(e)try{return destr(e,{strict:t})}catch{throw createError$1({statusCode:400,statusMessage:"Bad Request",message:"Invalid JSON body"})}}function handleCacheHeaders(e,t){const s=["public",...t.cacheControls||[]];let a=!1;if(void 0!==t.maxAge&&s.push("max-age="+ +t.maxAge,"s-maxage="+ +t.maxAge),t.modifiedTime){const s=new Date(t.modifiedTime),c=e.node.req.headers["if-modified-since"];e.node.res.setHeader("last-modified",s.toUTCString()),c&&new Date(c)>=t.modifiedTime&&(a=!0)}if(t.etag){e.node.res.setHeader("etag",t.etag);e.node.req.headers["if-none-match"]===t.etag&&(a=!0)}return e.node.res.setHeader("cache-control",s.join(", ")),!!a&&(e.node.res.statusCode=304,e.handled||e.node.res.end(),!0)}const ae={html:"text/html",json:"application/json"},re=/[^\u0009\u0020-\u007E]/g;function sanitizeStatusMessage(e=""){return e.replace(re,"")}function sanitizeStatusCode(e,t=200){return e?("string"==typeof e&&(e=Number.parseInt(e,10)),e<100||e>999?t:e):t}function splitCookiesString(e){if(Array.isArray(e))return e.flatMap((e=>splitCookiesString(e)));if("string"!=typeof e)return[];const t=[];let s,a,c,l,u,d=0;const skipWhitespace=()=>{for(;d=e.length)&&t.push(e.slice(s))}return t}const oe="undefined"==typeof setImmediate?e=>e():setImmediate;function send(e,t,s){return s&&function(e,t){t&&304!==e.node.res.statusCode&&!e.node.res.getHeader("content-type")&&e.node.res.setHeader("content-type",t)}(e,s),new Promise((s=>{oe((()=>{e.handled||e.node.res.end(t),s()}))}))}function setResponseStatus(e,t,s){t&&(e.node.res.statusCode=sanitizeStatusCode(t,e.node.res.statusCode)),s&&(e.node.res.statusMessage=sanitizeStatusMessage(s))}function getResponseHeader(e,t){return e.node.res.getHeader(t)}function setResponseHeaders(e,t){for(const[s,a]of Object.entries(t))e.node.res.setHeader(s,a)}const ie=setResponseHeaders;function setResponseHeader(e,t,s){e.node.res.setHeader(t,s)}function sendStream(e,t){if(!t||"object"!=typeof t)throw new Error("[h3] Invalid stream provided.");if(e.node.res._data=t,!e.node.res.socket)return e._handled=!0,Promise.resolve();if(hasProp(t,"pipeTo")&&"function"==typeof t.pipeTo)return t.pipeTo(new WritableStream({write(t){e.node.res.write(t)}})).then((()=>{e.node.res.end()}));if(hasProp(t,"pipe")&&"function"==typeof t.pipe)return new Promise(((s,a)=>{t.pipe(e.node.res),t.on&&(t.on("end",(()=>{e.node.res.end(),s()})),t.on("error",(e=>{a(e)}))),e.node.res.on("close",(()=>{t.abort&&t.abort()}))}));throw new Error("[h3] Invalid or incompatible stream provided.")}function sendWebResponse(e,t){for(const[s,a]of t.headers)"set-cookie"===s?e.node.res.appendHeader(s,splitCookiesString(a)):e.node.res.setHeader(s,a);if(t.status&&(e.node.res.statusCode=sanitizeStatusCode(t.status,e.node.res.statusCode)),t.statusText&&(e.node.res.statusMessage=sanitizeStatusMessage(t.statusText)),t.redirected&&e.node.res.setHeader("location",t.url),t.body)return sendStream(e,t.body);e.node.res.end()}const ne=new Set(["PATCH","POST","PUT","DELETE"]),ce=new Set(["transfer-encoding","accept-encoding","connection","keep-alive","upgrade","expect","host","accept"]);async function proxyRequest(e,t,s={}){let a,c;ne.has(e.method)&&(s.streamRequest?(a=function(e){if(!se.includes(e.method))return;const t=e.web?.request?.body||e._requestBody;return t||(ee in e.node.req||"rawBody"in e.node.req||"body"in e.node.req||"__unenv__"in e.node.req?new ReadableStream({async start(t){const s=await readRawBody(e,!1);s&&t.enqueue(s),t.close()}}):new ReadableStream({start:t=>{e.node.req.on("data",(e=>{t.enqueue(e)})),e.node.req.on("end",(()=>{t.close()})),e.node.req.on("error",(e=>{t.error(e)}))}}))}(e),c="half"):a=await readRawBody(e,!1).catch((()=>{})));const l=s.fetchOptions?.method||e.method,u=function(e,...t){const s=t.filter(Boolean);if(0===s.length)return e;const a=new Headers(e);for(const e of s)for(const[t,s]of Object.entries(e))void 0!==s&&a.set(t,s);return a}(getProxyRequestHeaders(e,{host:t.startsWith("/")}),s.fetchOptions?.headers,s.headers);return async function(e,t,s={}){let a;try{a=await _getFetch(s.fetch)(t,{headers:s.headers,ignoreResponseError:!0,...s.fetchOptions})}catch(e){throw createError$1({status:502,statusMessage:"Bad Gateway",cause:e})}e.node.res.statusCode=sanitizeStatusCode(a.status,e.node.res.statusCode),e.node.res.statusMessage=sanitizeStatusMessage(a.statusText);const c=[];for(const[t,s]of a.headers.entries())"content-encoding"!==t&&"content-length"!==t&&("set-cookie"!==t?e.node.res.setHeader(t,s):c.push(...splitCookiesString(s)));c.length>0&&e.node.res.setHeader("set-cookie",c.map((e=>(s.cookieDomainRewrite&&(e=rewriteCookieProperty(e,s.cookieDomainRewrite,"domain")),s.cookiePathRewrite&&(e=rewriteCookieProperty(e,s.cookiePathRewrite,"path")),e))));s.onResponse&&await s.onResponse(e,a);if(void 0!==a._data)return a._data;if(e.handled)return;if(!1===s.sendStream){const t=new Uint8Array(await a.arrayBuffer());return e.node.res.end(t)}if(a.body)for await(const t of a.body)e.node.res.write(t);return e.node.res.end()}(e,t,{...s,fetchOptions:{method:l,body:a,duplex:c,...s.fetchOptions,headers:u}})}function getProxyRequestHeaders(e,t){const s=Object.create(null),a=getRequestHeaders(e);for(const e in a)(!ce.has(e)||"host"===e&&t?.host)&&(s[e]=a[e]);return s}function fetchWithEvent(e,t,s,a){return _getFetch(a?.fetch)(t,{...s,context:s?.context||e.context,headers:{...getProxyRequestHeaders(e,{host:"string"==typeof t&&t.startsWith("/")}),...s?.headers}})}function _getFetch(e){if(e)return e;if(globalThis.fetch)return globalThis.fetch;throw new Error("fetch is not available. Try importing `node-fetch-native/polyfill` for Node.js.")}function rewriteCookieProperty(e,t,s){const a="string"==typeof t?{"*":t}:t;return e.replace(new RegExp(`(;\\s*${s}=)([^;]+)`,"gi"),((e,t,s)=>{let c;if(s in a)c=a[s];else{if(!("*"in a))return e;c=a["*"]}return c?t+c:""}))}class H3Event{__is_event__=!0;node;web;context={};_method;_path;_headers;_requestBody;_handled=!1;_onBeforeResponseCalled;_onAfterResponseCalled;constructor(e,t){this.node={req:e,res:t}}get method(){return this._method||(this._method=(this.node.req.method||"GET").toUpperCase()),this._method}get path(){return this._path||this.node.req.url||"/"}get headers(){return this._headers||(this._headers=function(e){const t=new Headers;for(const[s,a]of Object.entries(e))if(Array.isArray(a))for(const e of a)t.append(s,e);else a&&t.set(s,a);return t}(this.node.req.headers)),this._headers}get handled(){return this._handled||this.node.res.writableEnded||this.node.res.headersSent}respondWith(e){return Promise.resolve(e).then((e=>sendWebResponse(this,e)))}toString(){return`[${this.method}] ${this.path}`}toJSON(){return this.toString()}get req(){return this.node.req}get res(){return this.node.res}}function isEvent(e){return hasProp(e,"__is_event__")}function createEvent(e,t){return new H3Event(e,t)}function defineEventHandler(e){if("function"==typeof e)return e.__is_handler__=!0,e;const t={onRequest:_normalizeArray(e.onRequest),onBeforeResponse:_normalizeArray(e.onBeforeResponse)},_handler=s=>async function(e,t,s){if(s.onRequest)for(const t of s.onRequest)if(await t(e),e.handled)return;const a=await t(e),c={body:a};if(s.onBeforeResponse)for(const t of s.onBeforeResponse)await t(e,c);return c.body}(s,e.handler,t);return _handler.__is_handler__=!0,_handler.__resolve__=e.handler.__resolve__,_handler.__websocket__=e.websocket,_handler}function _normalizeArray(e){return e?Array.isArray(e)?e:[e]:void 0}const pe=defineEventHandler;function isEventHandler(e){return hasProp(e,"__is_handler__")}function toEventHandler(e,t,s){return isEventHandler(e)||console.warn("[h3] Implicit event handler conversion is deprecated. Use `eventHandler()` or `fromNodeMiddleware()` to define event handlers.",s&&"/"!==s?`\n Route: ${s}`:"",`\n Handler: ${e}`),e}const lazyEventHandler=function(e){let t,s;const resolveHandler=()=>s?Promise.resolve(s):(t||(t=Promise.resolve(e()).then((e=>{const t=e.default||e;if("function"!=typeof t)throw new TypeError("Invalid lazy handler result. It should be a function:",t);return s={handler:toEventHandler(e.default||e)},s}))),t),a=pe((e=>s?s.handler(e):resolveHandler().then((t=>t.handler(e)))));return a.__resolve__=resolveHandler,a};function createApp(e={}){const t=[],s=function(e,t){const s=t.debug?2:void 0;return pe((async a=>{a.node.req.originalUrl=a.node.req.originalUrl||a.node.req.url||"/";const c=a._path||a.node.req.url||"/";let l;t.onRequest&&await t.onRequest(a);for(const u of e){if(u.route.length>1){if(!c.startsWith(u.route))continue;l=c.slice(u.route.length)||"/"}else l=c;if(u.match&&!u.match(l,a))continue;a._path=l,a.node.req.url=l;const e=await u.handler(a),d=void 0===e?void 0:await e;if(void 0!==d){const e={body:d};return t.onBeforeResponse&&(a._onBeforeResponseCalled=!0,await t.onBeforeResponse(a,e)),await handleHandlerResponse(a,e.body,s),void(t.onAfterResponse&&(a._onAfterResponseCalled=!0,await t.onAfterResponse(a,e)))}if(a.handled)return void(t.onAfterResponse&&(a._onAfterResponseCalled=!0,await t.onAfterResponse(a,void 0)))}if(!a.handled)throw createError$1({statusCode:404,statusMessage:`Cannot find any path matching ${a.path||"/"}.`});t.onAfterResponse&&(a._onAfterResponseCalled=!0,await t.onAfterResponse(a,void 0))}))}(t,e),a=function(e){return async t=>{let s;for(const a of e){if("/"===a.route&&!a.handler.__resolve__)continue;if(!t.startsWith(a.route))continue;if(s=t.slice(a.route.length)||"/",a.match&&!a.match(s,void 0))continue;let e={route:a.route,handler:a.handler};if(e.handler.__resolve__){const t=await e.handler.__resolve__(s);if(!t)continue;e={...e,...t,route:joinURL(e.route||"/",t.route||"/")}}return e}}}(t);s.__resolve__=a;const c=function(e){let t;return()=>(t||(t=e()),t)}((()=>{return t=a,{...e.websocket,async resolve(e){const s=e.request?.url||e.url||"/",{pathname:a}="string"==typeof s?parseURL(s):s,c=await t(a);return c?.handler?.__websocket__||{}}};var t})),l={use:(e,t,s)=>use(l,e,t,s),resolve:a,handler:s,stack:t,options:e,get websocket(){return c()}};return l}function use(e,t,s,a){if(Array.isArray(t))for(const c of t)use(e,c,s,a);else if(Array.isArray(s))for(const c of s)use(e,t,c,a);else"string"==typeof t?e.stack.push(normalizeLayer({...a,route:t,handler:s})):"function"==typeof t?e.stack.push(normalizeLayer({...s,handler:t})):e.stack.push(normalizeLayer({...t}));return e}function normalizeLayer(e){let t=e.handler;return t.handler&&(t=t.handler),e.lazy?t=lazyEventHandler(t):isEventHandler(t)||(t=toEventHandler(t,0,e.route)),{route:withoutTrailingSlash(e.route),match:e.match,handler:t}}function handleHandlerResponse(e,t,s){if(null===t)return function(e,t){if(e.handled)return;t||200===e.node.res.statusCode||(t=e.node.res.statusCode);const s=sanitizeStatusCode(t,204);204===s&&e.node.res.removeHeader("content-length"),e.node.res.writeHead(s),e.node.res.end()}(e);if(t){if(a=t,"undefined"!=typeof Response&&a instanceof Response)return sendWebResponse(e,t);if(function(e){if(!e||"object"!=typeof e)return!1;if("function"==typeof e.pipe){if("function"==typeof e._read)return!0;if("function"==typeof e.abort)return!0}return"function"==typeof e.pipeTo}(t))return sendStream(e,t);if(t.buffer)return send(e,t);if(t.arrayBuffer&&"function"==typeof t.arrayBuffer)return t.arrayBuffer().then((s=>send(e,Buffer.from(s),t.type)));if(t instanceof Error)throw createError$1(t);if("function"==typeof t.end)return!0}var a;const c=typeof t;if("string"===c)return send(e,t,ae.html);if("object"===c||"boolean"===c||"number"===c)return send(e,JSON.stringify(t,void 0,s),ae.json);if("bigint"===c)return send(e,t.toString(),ae.json);throw createError$1({statusCode:500,statusMessage:`[h3] Cannot send ${c} as response.`})}const le=["connect","delete","get","head","options","post","put","trace","patch"];function toNodeListener(e){return async function(t,s){const a=createEvent(t,s);try{await e.handler(a)}catch(t){const s=createError$1(t);if(isError(t)||(s.unhandled=!0),setResponseStatus(a,s.statusCode,s.statusMessage),e.options.onError&&await e.options.onError(s,a),a.handled)return;(s.unhandled||s.fatal)&&console.error("[h3]",s.fatal?"[fatal]":"[unhandled]",s),e.options.onBeforeResponse&&!a._onBeforeResponseCalled&&await e.options.onBeforeResponse(a,{body:s}),await function(e,t,s){if(e.handled)return;const a=isError(t)?t:createError$1(t),c={statusCode:a.statusCode,statusMessage:a.statusMessage,stack:[],data:a.data};if(s&&(c.stack=(a.stack||"").split("\n").map((e=>e.trim()))),e.handled)return;setResponseStatus(e,Number.parseInt(a.statusCode),a.statusMessage),e.node.res.setHeader("content-type",ae.json),e.node.res.end(JSON.stringify(c,void 0,2))}(a,s,!!e.options.debug),e.options.onAfterResponse&&!a._onAfterResponseCalled&&await e.options.onAfterResponse(a,{body:s})}}}function flatHooks(e,t={},s){for(const a in e){const c=e[a],l=s?`${s}:${a}`:a;"object"==typeof c&&null!==c?flatHooks(c,t,l):"function"==typeof c&&(t[l]=c)}return t}const ue={run:e=>e()},de=void 0!==console.createTask?console.createTask:()=>ue;function serialTaskCaller(e,t){const s=t.shift(),a=de(s);return e.reduce(((e,s)=>e.then((()=>a.run((()=>s(...t)))))),Promise.resolve())}function parallelTaskCaller(e,t){const s=t.shift(),a=de(s);return Promise.all(e.map((e=>a.run((()=>e(...t))))))}function callEachWith(e,t){for(const s of[...e])s(t)}class Hookable{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,s={}){if(!e||"function"!=typeof t)return()=>{};const a=e;let c;for(;this._deprecatedHooks[e];)c=this._deprecatedHooks[e],e=c.to;if(c&&!s.allowDeprecated){let e=c.message;e||(e=`${a} hook has been deprecated`+(c.to?`, please use ${c.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let s,_function=(...e)=>("function"==typeof s&&s(),s=void 0,_function=void 0,t(...e));return s=this.hook(e,_function),s}removeHook(e,t){if(this._hooks[e]){const s=this._hooks[e].indexOf(t);-1!==s&&this._hooks[e].splice(s,1),0===this._hooks[e].length&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t;const s=this._hooks[e]||[];delete this._hooks[e];for(const t of s)this.hook(e,t)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=flatHooks(e),s=Object.keys(t).map((e=>this.hook(e,t[e])));return()=>{for(const e of s.splice(0,s.length))e()}}removeHooks(e){const t=flatHooks(e);for(const e in t)this.removeHook(e,t[e])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(serialTaskCaller,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(parallelTaskCaller,e,...t)}callHookWith(e,t,...s){const a=this._before||this._after?{name:t,args:s,context:{}}:void 0;this._before&&callEachWith(this._before,a);const c=e(t in this._hooks?[...this._hooks[t]]:[],s);return c instanceof Promise?c.finally((()=>{this._after&&a&&callEachWith(this._after,a)})):(this._after&&a&&callEachWith(this._after,a),c)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(void 0!==this._before){const t=this._before.indexOf(e);-1!==t&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(void 0!==this._after){const t=this._after.indexOf(e);-1!==t&&this._after.splice(t,1)}}}}const he=globalThis.Headers,fe=globalThis.AbortController,me=globalThis.fetch||(()=>{throw new Error("[node-fetch-native] Failed to fetch: `globalThis.fetch` is not available!")});class FetchError extends Error{constructor(e,t){super(e,t),this.name="FetchError",t?.cause&&!this.cause&&(this.cause=t.cause)}}const ge=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function isPayloadMethod(e="GET"){return ge.has(e.toUpperCase())}const ye=new Set(["image/svg","application/xml","application/xhtml","application/html"]),ve=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function resolveFetchOptions(e,t,s,a){const c=function(e,t,s){if(!t)return new s(e);const a=new s(t);if(e)for(const[t,c]of Symbol.iterator in e||Array.isArray(e)?e:new s(e))a.set(t,c);return a}(t?.headers??e?.headers,s?.headers,a);let l;return(s?.query||s?.params||t?.params||t?.query)&&(l={...s?.params,...s?.query,...t?.params,...t?.query}),{...s,...t,query:l,params:l,headers:c}}async function callHooks(e,t){if(t)if(Array.isArray(t))for(const s of t)await s(e);else await t(e)}const we=new Set([408,409,425,429,500,502,503,504]),be=new Set([101,204,205,304]);function createFetch(e={}){const{fetch:t=globalThis.fetch,Headers:s=globalThis.Headers,AbortController:a=globalThis.AbortController}=e;async function onError(e){const t=e.error&&"AbortError"===e.error.name&&!e.options.timeout||!1;if(!1!==e.options.retry&&!t){let t;t="number"==typeof e.options.retry?e.options.retry:isPayloadMethod(e.options.method)?0:1;const s=e.response&&e.response.status||500;if(t>0&&(Array.isArray(e.options.retryStatusCodes)?e.options.retryStatusCodes.includes(s):we.has(s))){const s="function"==typeof e.options.retryDelay?e.options.retryDelay(e):e.options.retryDelay||0;return s>0&&await new Promise((e=>setTimeout(e,s))),$fetchRaw(e.request,{...e.options,retry:t-1})}}const s=function(e){const t=e.error?.message||e.error?.toString()||"",s=e.request?.method||e.options?.method||"GET",a=e.request?.url||String(e.request)||"/",c=`[${s}] ${JSON.stringify(a)}`,l=e.response?`${e.response.status} ${e.response.statusText}`:"",u=new FetchError(`${c}: ${l}${t?` ${t}`:""}`,e.error?{cause:e.error}:void 0);for(const t of["request","options","response"])Object.defineProperty(u,t,{get:()=>e[t]});for(const[t,s]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(u,t,{get:()=>e.response&&e.response[s]});return u}(e);throw Error.captureStackTrace&&Error.captureStackTrace(s,$fetchRaw),s}const $fetchRaw=async function(c,l={}){const u={request:c,options:resolveFetchOptions(c,l,e.defaults,s),response:void 0,error:void 0};let d;if(u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&await callHooks(u,u.options.onRequest),"string"==typeof u.request&&(u.options.baseURL&&(u.request=function(e,t){if(isEmptyURL(t)||hasProtocol(e))return e;const s=withoutTrailingSlash(t);return e.startsWith(s)?e:joinURL(s,e)}(u.request,u.options.baseURL)),u.options.query&&(u.request=withQuery(u.request,u.options.query),delete u.options.query),"query"in u.options&&delete u.options.query,"params"in u.options&&delete u.options.params),u.options.body&&isPayloadMethod(u.options.method)&&(!function(e){if(void 0===e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t||null===t||"object"===t&&(!!Array.isArray(e)||!e.buffer&&(e.constructor&&"Object"===e.constructor.name||"function"==typeof e.toJSON))}(u.options.body)?("pipeTo"in u.options.body&&"function"==typeof u.options.body.pipeTo||"function"==typeof u.options.body.pipe)&&("duplex"in u.options||(u.options.duplex="half")):(u.options.body="string"==typeof u.options.body?u.options.body:JSON.stringify(u.options.body),u.options.headers=new s(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json"))),!u.options.signal&&u.options.timeout){const e=new a;d=setTimeout((()=>{const t=new Error("[TimeoutError]: The operation was aborted due to timeout");t.name="TimeoutError",t.code=23,e.abort(t)}),u.options.timeout),u.options.signal=e.signal}try{u.response=await t(u.request,u.options)}catch(e){return u.error=e,u.options.onRequestError&&await callHooks(u,u.options.onRequestError),await onError(u)}finally{d&&clearTimeout(d)}if((u.response.body||u.response._bodyInit)&&!be.has(u.response.status)&&"HEAD"!==u.options.method){const e=(u.options.parseResponse?"json":u.options.responseType)||function(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return ve.test(t)?"json":ye.has(t)||t.startsWith("text/")?"text":"blob"}(u.response.headers.get("content-type")||"");switch(e){case"json":{const e=await u.response.text(),t=u.options.parseResponse||destr;u.response._data=t(e);break}case"stream":u.response._data=u.response.body||u.response._bodyInit;break;default:u.response._data=await u.response[e]()}}return u.options.onResponse&&await callHooks(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await callHooks(u,u.options.onResponseError),await onError(u)):u.response},$fetch=async function(e,t){return(await $fetchRaw(e,t))._data};return $fetch.raw=$fetchRaw,$fetch.native=(...e)=>t(...e),$fetch.create=(t={},s={})=>createFetch({...e,...s,defaults:{...e.defaults,...s.defaults,...t}}),$fetch}const je=globalThis.fetch?(...e)=>globalThis.fetch(...e):function(){if(!JSON.parse(e.env.FETCH_KEEP_ALIVE||"false"))return me;const s={keepAlive:!0},c=new t.Agent(s),l=new a.Agent(s),u={agent:e=>"http:"===e.protocol?c:l};return function(e,t){return me(e,{...u,...t})}}(),Te=globalThis.Headers||he,_e=globalThis.AbortController||fe,xe=createFetch({fetch:je,Headers:Te,AbortController:_e});function defaultHandler(e,t,s){const a=e.unhandled||e.fatal,c=e.statusCode||500,l=e.statusMessage||"Server Error",u=getRequestURL(t,{xForwardedHost:!0,xForwardedProto:!0});if(404===c){const e="/";if(/^\/[^/]/.test(e)&&!u.pathname.startsWith(e)){return{status:302,statusText:"Found",headers:{location:`${e}${u.pathname.slice(1)}${u.search}`},body:"Redirecting..."}}}if(a&&!s?.silent){const s=[e.unhandled&&"[unhandled]",e.fatal&&"[fatal]"].filter(Boolean).join(" ");console.error(`[request error] ${s} [${t.method}] ${u}\n`,e)}const d={"content-type":"application/json","x-content-type-options":"nosniff","x-frame-options":"DENY","referrer-policy":"no-referrer","content-security-policy":"script-src 'none'; frame-ancestors 'none';"};setResponseStatus(t,c,l),404!==c&&getResponseHeader(t,"cache-control")||(d["cache-control"]="no-cache");return{status:c,statusText:l,headers:d,body:{error:!0,url:u.href,statusCode:c,statusMessage:l,message:a?"Server Error":e.message,data:a?void 0:e.data}}}const ze=[function(e,t){const s=defaultHandler(e,t);return setResponseHeaders(t,s.headers),setResponseStatus(t,s.status,s.statusText),send(t,JSON.stringify(s.body,null,2))}];const Re=[],ke={"/index.html":{type:"text/html; charset=utf-8",etag:'"d61-r+VSYjp0DMARtje6pPDXCHnnAGk"',mtime:"2025-03-15T06:42:18.128Z",size:3425,path:"../public/index.html"},"/logo.png":{type:"image/png",etag:'"146c-vbv340mQ6WdpZBtCqwFRw74KQuc"',mtime:"2025-03-15T06:42:18.128Z",size:5228,path:"../public/logo.png"},"/manifest.webmanifest":{type:"application/manifest+json",etag:'"2fd-zWkiHcrpBX6ARjw8dVUGeqhPPmc"',mtime:"2025-03-15T06:42:18.128Z",size:765,path:"../public/manifest.webmanifest"},"/popup.html":{type:"text/html; charset=utf-8",etag:'"1813-c2OQ34+WpyuPu4VOndJ4IBVS9mg"',mtime:"2025-03-15T06:42:18.128Z",size:6163,path:"../public/popup.html"},"/pwa-196x196.png":{type:"image/png",etag:'"1eb7-p6q5vh3QYAEsrZYyk7SBkrshKtE"',mtime:"2025-03-15T06:42:18.128Z",size:7863,path:"../public/pwa-196x196.png"},"/pwa-256x256.png":{type:"image/png",etag:'"2713-9NzNvaCAwa1EQO5RcbhcoOjZAK4"',mtime:"2025-03-15T06:42:18.129Z",size:10003,path:"../public/pwa-256x256.png"},"/pwa-512x512.png":{type:"image/png",etag:'"6bf3-7vwlcGNRgCNfmMJg9y1nkg29W/Y"',mtime:"2025-03-15T06:42:18.129Z",size:27635,path:"../public/pwa-512x512.png"},"/sw.js":{type:"text/javascript; charset=utf-8",etag:'"bdd-e79CH/gzY36acgJfzmSdGFyY31Q"',mtime:"2025-03-15T06:42:18.129Z",size:3037,path:"../public/sw.js"},"/assets/@agoose77-CRaJO6dP.js":{type:"text/javascript; charset=utf-8",etag:'"3f8-QUen0PMPW4yeBGA2TLYOZdAbMjY"',mtime:"2025-03-15T06:42:18.075Z",size:1016,path:"../public/assets/@agoose77-CRaJO6dP.js"},"/assets/@babel-ynFNPEB3.js":{type:"text/javascript; charset=utf-8",etag:'"dd4-Qzh57nMk5aRg1AeNgfTHp4pAJVs"',mtime:"2025-03-15T06:42:18.077Z",size:3540,path:"../public/assets/@babel-ynFNPEB3.js"},"/assets/@braintree-DgpeZQRe.js":{type:"text/javascript; charset=utf-8",etag:'"2a4-2K8KNVdkUaQ04A8o43R6GWDlpco"',mtime:"2025-03-15T06:42:18.077Z",size:676,path:"../public/assets/@braintree-DgpeZQRe.js"},"/assets/@dicebear-JcnEMRoc.js":{type:"text/javascript; charset=utf-8",etag:'"e69c6-YtVovg5a+LyAi23aDuwID4it3CI"',mtime:"2025-03-15T06:42:18.078Z",size:944582,path:"../public/assets/@dicebear-JcnEMRoc.js"},"/assets/@intlify-eboPrqDD.js":{type:"text/javascript; charset=utf-8",etag:'"82de-iBGY7LJDbsKntsZIQgnNE8kD4lw"',mtime:"2025-03-15T06:42:18.078Z",size:33502,path:"../public/assets/@intlify-eboPrqDD.js"},"/assets/@material-C_XhzpVg.js":{type:"text/javascript; charset=utf-8",etag:'"40cb-64INX7fQdl6f/siGMXz+LIXUno4"',mtime:"2025-03-15T06:42:18.078Z",size:16587,path:"../public/assets/@material-C_XhzpVg.js"},"/assets/@mozilla-BD532_dh.js":{type:"text/javascript; charset=utf-8",etag:'"b077-4sHQRvCwJRi7Ty345BizX8pKvHg"',mtime:"2025-03-15T06:42:18.078Z",size:45175,path:"../public/assets/@mozilla-BD532_dh.js"},"/assets/@popperjs-B4tvfKWZ.js":{type:"text/javascript; charset=utf-8",etag:'"4f78-Lyps+KUWR9d3YKiyQV8FsmXX5DY"',mtime:"2025-03-15T06:42:18.078Z",size:20344,path:"../public/assets/@popperjs-B4tvfKWZ.js"},"/assets/@traptitech-WZCBkmmf.js":{type:"text/javascript; charset=utf-8",etag:'"91b-qUPqa0UCWf2HQQQaXVSwDmkZcgA"',mtime:"2025-03-15T06:42:18.078Z",size:2331,path:"../public/assets/@traptitech-WZCBkmmf.js"},"/assets/@vue-CtX-8n_i.js":{type:"text/javascript; charset=utf-8",etag:'"32d51-2niYByAWc6QvPUynyz5NVsjNXCU"',mtime:"2025-03-15T06:42:18.078Z",size:208209,path:"../public/assets/@vue-CtX-8n_i.js"},"/assets/@vueuse-Dm8LPZ5Z.js":{type:"text/javascript; charset=utf-8",etag:'"2176-QsubSskHKktESvw96dl/tfEf6W8"',mtime:"2025-03-15T06:42:18.078Z",size:8566,path:"../public/assets/@vueuse-Dm8LPZ5Z.js"},"/assets/@wdns-cTfGqINF.js":{type:"text/javascript; charset=utf-8",etag:'"30b48-ZI471UX55EzQTBrnwZ1cZwWMhas"',mtime:"2025-03-15T06:42:18.079Z",size:199496,path:"../public/assets/@wdns-cTfGqINF.js"},"/assets/ChatInput-BMuO6hgs.css":{type:"text/css; charset=utf-8",etag:'"186-rCUycStrOY1FSp1LM5EdmoDU818"',mtime:"2025-03-15T06:42:18.078Z",size:390,path:"../public/assets/ChatInput-BMuO6hgs.css"},"/assets/ChatInput.vue_vue_type_style_index_0_lang-DydvcxUV.js":{type:"text/javascript; charset=utf-8",etag:'"2b00-cO3LDbTlapmz6VKG+dUgTuq8HVM"',mtime:"2025-03-15T06:42:18.079Z",size:11008,path:"../public/assets/ChatInput.vue_vue_type_style_index_0_lang-DydvcxUV.js"},"/assets/CodeBlocks-Cek-iqBx.css":{type:"text/css; charset=utf-8",etag:'"c99-JkJoeIng8xT00xL6m+LJ+/R5x30"',mtime:"2025-03-15T06:42:18.079Z",size:3225,path:"../public/assets/CodeBlocks-Cek-iqBx.css"},"/assets/CodeBlocks.vue_vue_type_style_index_0_lang-yUrM9e4E.js":{type:"text/javascript; charset=utf-8",etag:'"3efb-nCygt75q932SdOj93a1nSGAeeF8"',mtime:"2025-03-15T06:42:18.079Z",size:16123,path:"../public/assets/CodeBlocks.vue_vue_type_style_index_0_lang-yUrM9e4E.js"},"/assets/FrameContent-CUoI637t.css":{type:"text/css; charset=utf-8",etag:'"fb-6QJbV1XyCjCNz5MaOnPi8ahEGDo"',mtime:"2025-03-15T06:42:18.079Z",size:251,path:"../public/assets/FrameContent-CUoI637t.css"},"/assets/FrameContent-mtBBMa8a.js":{type:"text/javascript; charset=utf-8",etag:'"6bd-h1uI/EKITRMA8vaUrFCYzyHZRZM"',mtime:"2025-03-15T06:42:18.079Z",size:1725,path:"../public/assets/FrameContent-mtBBMa8a.js"},"/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2":{type:"font/woff2",etag:'"6dac-NElHQ3Nv2nVxl9FvzGpuGnkxfIY"',mtime:"2025-03-15T06:42:18.079Z",size:28076,path:"../public/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2"},"/assets/KaTeX_AMS-Regular-DMm9YOAa.woff":{type:"font/woff",etag:'"82ec-ma2i3jIA55UUPWOSMsNESwgBgjU"',mtime:"2025-03-15T06:42:18.079Z",size:33516,path:"../public/assets/KaTeX_AMS-Regular-DMm9YOAa.woff"},"/assets/KaTeX_AMS-Regular-DRggAlZN.ttf":{type:"font/ttf",etag:'"f890-Hf0O5uMPihwjmZ2dll24cAtany4"',mtime:"2025-03-15T06:42:18.079Z",size:63632,path:"../public/assets/KaTeX_AMS-Regular-DRggAlZN.ttf"},"/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf":{type:"font/ttf",etag:'"3050-j6tziha6j7fnACoHXwNqRVpFxug"',mtime:"2025-03-15T06:42:18.080Z",size:12368,path:"../public/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf"},"/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff":{type:"font/woff",etag:'"1e24-3SOsD7CsRpsGJEhep41wD2NhQgM"',mtime:"2025-03-15T06:42:18.080Z",size:7716,path:"../public/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff"},"/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2":{type:"font/woff2",etag:'"1b00-W/pJysRs0derE1E4jTfBGvWbphU"',mtime:"2025-03-15T06:42:18.080Z",size:6912,path:"../public/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2"},"/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff":{type:"font/woff",etag:'"1de8-Gm85vXDJt0cTB431991hCPm604s"',mtime:"2025-03-15T06:42:18.081Z",size:7656,path:"../public/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff"},"/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2":{type:"font/woff2",etag:'"1afc-n4B34LOKKQzZt7E2sKwpyDdegaY"',mtime:"2025-03-15T06:42:18.081Z",size:6908,path:"../public/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2"},"/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf":{type:"font/ttf",etag:'"3038-JvJqE+an0KabSPYqzTGoGWvOf24"',mtime:"2025-03-15T06:42:18.081Z",size:12344,path:"../public/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf"},"/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf":{type:"font/ttf",etag:'"4c80-TgjdADgxJOfNlpcMyw++NcnvqqM"',mtime:"2025-03-15T06:42:18.081Z",size:19584,path:"../public/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf"},"/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff":{type:"font/woff",etag:'"33f0-W7r9UB8mIhlCavfyDBEDu0tzJZI"',mtime:"2025-03-15T06:42:18.081Z",size:13296,path:"../public/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff"},"/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2":{type:"font/woff2",etag:'"2c54-+Y+JJy7KEa5BdnLFmg+qaoiAWok"',mtime:"2025-03-15T06:42:18.081Z",size:11348,path:"../public/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2"},"/assets/KaTeX_Fraktur-Regular-CB_wures.ttf":{type:"font/ttf",etag:'"4c74-F9tAiC3V8UBiXyjdlMQwReGJPpg"',mtime:"2025-03-15T06:42:18.081Z",size:19572,path:"../public/assets/KaTeX_Fraktur-Regular-CB_wures.ttf"},"/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2":{type:"font/woff2",etag:'"2c34-pXZMbieE0CggwLkECJ8/rHmL5Po"',mtime:"2025-03-15T06:42:18.081Z",size:11316,path:"../public/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2"},"/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff":{type:"font/woff",etag:'"3398-b3VjdjYPCBW0SGL1f3let8HNTbI"',mtime:"2025-03-15T06:42:18.081Z",size:13208,path:"../public/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff"},"/assets/KaTeX_Main-Bold-Cx986IdX.woff2":{type:"font/woff2",etag:'"62ec-MQUKGxsSP7LFnK0fdLff+Q3rj84"',mtime:"2025-03-15T06:42:18.081Z",size:25324,path:"../public/assets/KaTeX_Main-Bold-Cx986IdX.woff2"},"/assets/KaTeX_Main-Bold-Jm3AIy58.woff":{type:"font/woff",etag:'"74d8-9po2JQ6ubooCFzqZCapihCi6IGA"',mtime:"2025-03-15T06:42:18.081Z",size:29912,path:"../public/assets/KaTeX_Main-Bold-Jm3AIy58.woff"},"/assets/KaTeX_Main-Bold-waoOVXN0.ttf":{type:"font/ttf",etag:'"c888-QTqz3D/DpXUidbriyuZ+tY8rMvA"',mtime:"2025-03-15T06:42:18.081Z",size:51336,path:"../public/assets/KaTeX_Main-Bold-waoOVXN0.ttf"},"/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2":{type:"font/woff2",etag:'"418c-pKSQW4sSb5/9VT0hpyoMJOlIA0U"',mtime:"2025-03-15T06:42:18.082Z",size:16780,path:"../public/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2"},"/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf":{type:"font/ttf",etag:'"80c8-umRk5EL9UK73Z4kkug8tlYHruwc"',mtime:"2025-03-15T06:42:18.082Z",size:32968,path:"../public/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf"},"/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff":{type:"font/woff",etag:'"4bd4-A4u9yIh6lzCtlBR/xXxv9N+0hBE"',mtime:"2025-03-15T06:42:18.082Z",size:19412,path:"../public/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff"},"/assets/KaTeX_Main-Italic-3WenGoN9.ttf":{type:"font/ttf",etag:'"832c-HVZoorlK59vu/dfNaNmP6dWCXgc"',mtime:"2025-03-15T06:42:18.082Z",size:33580,path:"../public/assets/KaTeX_Main-Italic-3WenGoN9.ttf"},"/assets/KaTeX_Main-Italic-BMLOBm91.woff":{type:"font/woff",etag:'"4cdc-fIWJITvHAD4sIzS1HKQVKFiYer0"',mtime:"2025-03-15T06:42:18.082Z",size:19676,path:"../public/assets/KaTeX_Main-Italic-BMLOBm91.woff"},"/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2":{type:"font/woff2",etag:'"425c-ybK1/9LyeqXGtvm6QaeytOZhAtM"',mtime:"2025-03-15T06:42:18.082Z",size:16988,path:"../public/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2"},"/assets/KaTeX_Main-Regular-B22Nviop.woff2":{type:"font/woff2",etag:'"66a0-yIQIbCXOyFWBYLICb5Bu99o1cKw"',mtime:"2025-03-15T06:42:18.082Z",size:26272,path:"../public/assets/KaTeX_Main-Regular-B22Nviop.woff2"},"/assets/KaTeX_Main-Regular-Dr94JaBh.woff":{type:"font/woff",etag:'"7834-/crlS6HUY17oWlRizByX5SHP1RU"',mtime:"2025-03-15T06:42:18.082Z",size:30772,path:"../public/assets/KaTeX_Main-Regular-Dr94JaBh.woff"},"/assets/KaTeX_Main-Regular-ypZvNtVU.ttf":{type:"font/ttf",etag:'"d14c-h0TbbvjDCePchfG76YBSCti3v9Q"',mtime:"2025-03-15T06:42:18.083Z",size:53580,path:"../public/assets/KaTeX_Main-Regular-ypZvNtVU.ttf"},"/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf":{type:"font/ttf",etag:'"79dc-6AzEwjLSB192KlLUa+tP+9N6Xxo"',mtime:"2025-03-15T06:42:18.083Z",size:31196,path:"../public/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf"},"/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2":{type:"font/woff2",etag:'"4010-j8udLeZaxxoMT92YYXPbcwWS7Yo"',mtime:"2025-03-15T06:42:18.083Z",size:16400,path:"../public/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2"},"/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff":{type:"font/woff",etag:'"48ec-1U5kgNbUBGxqVhmqODuqWXH7igw"',mtime:"2025-03-15T06:42:18.083Z",size:18668,path:"../public/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff"},"/assets/KaTeX_Math-Italic-DA0__PXp.woff":{type:"font/woff",etag:'"493c-HBtIc54ctL4T3djAvCed3oUb26A"',mtime:"2025-03-15T06:42:18.083Z",size:18748,path:"../public/assets/KaTeX_Math-Italic-DA0__PXp.woff"},"/assets/KaTeX_Math-Italic-flOr_0UB.ttf":{type:"font/ttf",etag:'"7a4c-npoQ2Ppa2Iyez6SQKt3U2SWAsrw"',mtime:"2025-03-15T06:42:18.083Z",size:31308,path:"../public/assets/KaTeX_Math-Italic-flOr_0UB.ttf"},"/assets/KaTeX_Math-Italic-t53AETM-.woff2":{type:"font/woff2",etag:'"4038-20iD0M/5XstcA0EOMoOnN8Ue1gQ"',mtime:"2025-03-15T06:42:18.083Z",size:16440,path:"../public/assets/KaTeX_Math-Italic-t53AETM-.woff2"},"/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf":{type:"font/ttf",etag:'"5fb8-ILRfU0a2htUsRFdFOT0XB7uI7B0"',mtime:"2025-03-15T06:42:18.083Z",size:24504,path:"../public/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf"},"/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2":{type:"font/woff2",etag:'"2fb8-iG5heXpSXUqvzgqvV0FP366huHM"',mtime:"2025-03-15T06:42:18.083Z",size:12216,path:"../public/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2"},"/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff":{type:"font/woff",etag:'"3848-or7dyKPU0IAo1wd3btvU0k8uwPw"',mtime:"2025-03-15T06:42:18.083Z",size:14408,path:"../public/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff"},"/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2":{type:"font/woff2",etag:'"2efc-PV+jyzCfjYO03L3SdyXycPYPPus"',mtime:"2025-03-15T06:42:18.083Z",size:12028,path:"../public/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2"},"/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff":{type:"font/woff",etag:'"3720-dWSjZrdv2DcEHCS+70xVgKWt1A4"',mtime:"2025-03-15T06:42:18.083Z",size:14112,path:"../public/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff"},"/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf":{type:"font/ttf",etag:'"575c-mR+9wDFouxSkRHz6PlFfCabs/tw"',mtime:"2025-03-15T06:42:18.084Z",size:22364,path:"../public/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf"},"/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf":{type:"font/ttf",etag:'"4bec-So4XoMtYqCKN1EF/vRuJnkHasEU"',mtime:"2025-03-15T06:42:18.084Z",size:19436,path:"../public/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf"},"/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff":{type:"font/woff",etag:'"301c-gEYQ9MsuLq2WlLjaLshOzo0Jw40"',mtime:"2025-03-15T06:42:18.084Z",size:12316,path:"../public/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff"},"/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2":{type:"font/woff2",etag:'"2868-5F1fT0p/L/PcqfzMLxSOeB4j8pI"',mtime:"2025-03-15T06:42:18.084Z",size:10344,path:"../public/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2"},"/assets/KaTeX_Script-Regular-C5JkGWo-.ttf":{type:"font/ttf",etag:'"4108-xvZ12oGtKcvySyz3cPeVtNosZI4"',mtime:"2025-03-15T06:42:18.084Z",size:16648,path:"../public/assets/KaTeX_Script-Regular-C5JkGWo-.ttf"},"/assets/KaTeX_Script-Regular-D3wIWfF6.woff2":{type:"font/woff2",etag:'"25ac-Y7gJWfH8Voma4hugy7zTmmywg5A"',mtime:"2025-03-15T06:42:18.084Z",size:9644,path:"../public/assets/KaTeX_Script-Regular-D3wIWfF6.woff2"},"/assets/KaTeX_Script-Regular-D5yQViql.woff":{type:"font/woff",etag:'"295c-agXNyk8fcIXmB9w4vt71V1P4b9g"',mtime:"2025-03-15T06:42:18.084Z",size:10588,path:"../public/assets/KaTeX_Script-Regular-D5yQViql.woff"},"/assets/KaTeX_Size1-Regular-C195tn64.woff":{type:"font/woff",etag:'"1960-rv5mdKVlM2J8c5zXiWOY8USH4Bw"',mtime:"2025-03-15T06:42:18.084Z",size:6496,path:"../public/assets/KaTeX_Size1-Regular-C195tn64.woff"},"/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf":{type:"font/ttf",etag:'"2fc4-MoC6y8sSRZcf4BAXtHTHbDN8EMk"',mtime:"2025-03-15T06:42:18.084Z",size:12228,path:"../public/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf"},"/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2":{type:"font/woff2",etag:'"155c-V/pZmXShvAs31fDlzIYCMC8CtXM"',mtime:"2025-03-15T06:42:18.084Z",size:5468,path:"../public/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2"},"/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf":{type:"font/ttf",etag:'"2cf4-+vc/8+eVGE5UMWZv+v64qg4og00"',mtime:"2025-03-15T06:42:18.084Z",size:11508,path:"../public/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf"},"/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2":{type:"font/woff2",etag:'"1458-7hhxNjSjvoyZcnaAhVKrGVpZj0M"',mtime:"2025-03-15T06:42:18.085Z",size:5208,path:"../public/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2"},"/assets/KaTeX_Size2-Regular-oD1tc_U0.woff":{type:"font/woff",etag:'"182c-RmmP8YGb0ngm/V0txLpOH2PKzfQ"',mtime:"2025-03-15T06:42:18.085Z",size:6188,path:"../public/assets/KaTeX_Size2-Regular-oD1tc_U0.woff"},"/assets/KaTeX_Size3-Regular-CTq5MqoE.woff":{type:"font/woff",etag:'"1144-HaGQWm0dm8q5KwWd9ytSjepwi8s"',mtime:"2025-03-15T06:42:18.085Z",size:4420,path:"../public/assets/KaTeX_Size3-Regular-CTq5MqoE.woff"},"/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf":{type:"font/ttf",etag:'"1da4-MCphsuzfgtOeZ4D0K9B+5M5nuNU"',mtime:"2025-03-15T06:42:18.085Z",size:7588,path:"../public/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf"},"/assets/KaTeX_Size4-Regular-BF-4gkZK.woff":{type:"font/woff",etag:'"175c-j93bg1E+wiYjHr7gUHnsRfwBNXg"',mtime:"2025-03-15T06:42:18.085Z",size:5980,path:"../public/assets/KaTeX_Size4-Regular-BF-4gkZK.woff"},"/assets/KaTeX_Size4-Regular-DWFBv043.ttf":{type:"font/ttf",etag:'"287c-PY2d1YoDt6RtSX9XYeYNi4RKUZk"',mtime:"2025-03-15T06:42:18.085Z",size:10364,path:"../public/assets/KaTeX_Size4-Regular-DWFBv043.ttf"},"/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2":{type:"font/woff2",etag:'"1340-m+0X+5LyZQUB4imGLEDGQH4cVSg"',mtime:"2025-03-15T06:42:18.085Z",size:4928,path:"../public/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2"},"/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff":{type:"font/woff",etag:'"3e9c-9ecp+k/0ZvwH4MerGXmtcMRfpdU"',mtime:"2025-03-15T06:42:18.085Z",size:16028,path:"../public/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff"},"/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2":{type:"font/woff2",etag:'"3500-egiIP//GlYxxzAGnWguZzKPktHU"',mtime:"2025-03-15T06:42:18.085Z",size:13568,path:"../public/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2"},"/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf":{type:"font/ttf",etag:'"6ba4-YpuZ+vGNl1KfIaGxAYCT5gvNBY8"',mtime:"2025-03-15T06:42:18.085Z",size:27556,path:"../public/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf"},"/assets/_plugin-vue_export-helper-DhhR_Lro.js":{type:"text/javascript; charset=utf-8",etag:'"1d3b9-1ttiNjUhXUwZNlU2H5FjaOTZHlA"',mtime:"2025-03-15T06:42:18.085Z",size:119737,path:"../public/assets/_plugin-vue_export-helper-DhhR_Lro.js"},"/assets/about-DgNNhwfc.js":{type:"text/javascript; charset=utf-8",etag:'"3d9-9zOuN/w5aTa8VQeuNAzh94IkWGk"',mtime:"2025-03-15T06:42:18.085Z",size:985,path:"../public/assets/about-DgNNhwfc.js"},"/assets/app-_ksMLlTy.js":{type:"text/javascript; charset=utf-8",etag:'"1a-F1ebt5luQF+ilw3nh0acHjD0L2E"',mtime:"2025-03-15T06:42:18.086Z",size:26,path:"../public/assets/app-_ksMLlTy.js"},"/assets/assets-t-logo-CxwPZnhN.png":{type:"image/png",etag:'"146c-vbv340mQ6WdpZBtCqwFRw74KQuc"',mtime:"2025-03-15T06:42:18.086Z",size:5228,path:"../public/assets/assets-t-logo-CxwPZnhN.png"},"/assets/avatar.vue_vue_type_script_setup_true_lang-SEkt9yn5.js":{type:"text/javascript; charset=utf-8",etag:'"440-480vEN5Z7OroAmoOFj4Nt2dI/Uc"',mtime:"2025-03-15T06:42:18.086Z",size:1088,path:"../public/assets/avatar.vue_vue_type_script_setup_true_lang-SEkt9yn5.js"},"/assets/bezier-easing-P8rDU8Ee.js":{type:"text/javascript; charset=utf-8",etag:'"3ea-PToDs2xxFU/LBaJ40Vi/fHt18nE"',mtime:"2025-03-15T06:42:18.086Z",size:1002,path:"../public/assets/bezier-easing-P8rDU8Ee.js"},"/assets/changelog-jUDmI1cv.js":{type:"text/javascript; charset=utf-8",etag:'"3e1-oDvZBiK7gieB37EmkotK6ElttEM"',mtime:"2025-03-15T06:42:18.086Z",size:993,path:"../public/assets/changelog-jUDmI1cv.js"},"/assets/chat-Bc1f1eBO.js":{type:"text/javascript; charset=utf-8",etag:'"a5a0-6+973XR2VGixCsa5y4p0S8H2VX8"',mtime:"2025-03-15T06:42:18.086Z",size:42400,path:"../public/assets/chat-Bc1f1eBO.js"},"/assets/chat-Cg_gpPLS.css":{type:"text/css; charset=utf-8",etag:'"2c8-m/xtY2/Rayw0YtUqtAP/B3y7mKI"',mtime:"2025-03-15T06:42:18.086Z",size:712,path:"../public/assets/chat-Cg_gpPLS.css"},"/assets/chroma-js-CJzpYopr.js":{type:"text/javascript; charset=utf-8",etag:'"a4e8-6fEIqvcHhz/OSNm4r3dX49bKhRQ"',mtime:"2025-03-15T06:42:18.086Z",size:42216,path:"../public/assets/chroma-js-CJzpYopr.js"},"/assets/content-BejhOzjM.js":{type:"text/javascript; charset=utf-8",etag:'"32ea-LLUiKoLm8IPFk7e9E9lKBqLPLMA"',mtime:"2025-03-15T06:42:18.086Z",size:13034,path:"../public/assets/content-BejhOzjM.js"},"/assets/content-CXerDfC_.css":{type:"text/css; charset=utf-8",etag:'"cb-1a+zqFn+hrqgGCN6Yif45aPXz90"',mtime:"2025-03-15T06:42:18.086Z",size:203,path:"../public/assets/content-CXerDfC_.css"},"/assets/core-js-pure-Dnpx5JGu.js":{type:"text/javascript; charset=utf-8",etag:'"dec5-/oPoevnWr5wuIkEV49p/CxNIBOQ"',mtime:"2025-03-15T06:42:18.086Z",size:57029,path:"../public/assets/core-js-pure-Dnpx5JGu.js"},"/assets/cose-base-kQthUiMK.js":{type:"text/javascript; charset=utf-8",etag:'"4d11-UT667dn6bngYS8t0/u8gyfXlRNg"',mtime:"2025-03-15T06:42:18.086Z",size:19729,path:"../public/assets/cose-base-kQthUiMK.js"},"/assets/cytoscape-B1WqMhz1.js":{type:"text/javascript; charset=utf-8",etag:'"6aceb-fhPkZG/5DJxH523io6DckFqt2Xk"',mtime:"2025-03-15T06:42:18.087Z",size:437483,path:"../public/assets/cytoscape-B1WqMhz1.js"},"/assets/cytoscape-cose-bilkent-CcQu5e-H.js":{type:"text/javascript; charset=utf-8",etag:'"1e01-hJwC9f3KnI67YCP6jrP0Ypm1hw8"',mtime:"2025-03-15T06:42:18.087Z",size:7681,path:"../public/assets/cytoscape-cose-bilkent-CcQu5e-H.js"},"/assets/d3-BW2GlWy8.js":{type:"text/javascript; charset=utf-8",etag:'"43-ZxqrbLk8FxHOK3GAVGBLaB9Ogso"',mtime:"2025-03-15T06:42:18.087Z",size:67,path:"../public/assets/d3-BW2GlWy8.js"},"/assets/d3-array-B0evfIyH.js":{type:"text/javascript; charset=utf-8",etag:'"7c1-lh6nd7cnYPm4Z/Jc03/2yAvj/Q8"',mtime:"2025-03-15T06:42:18.087Z",size:1985,path:"../public/assets/d3-array-B0evfIyH.js"},"/assets/d3-axis-pCwzqJ1S.js":{type:"text/javascript; charset=utf-8",etag:'"a79-FCk1dt/st3l2+muUJKrURh1ezMQ"',mtime:"2025-03-15T06:42:18.087Z",size:2681,path:"../public/assets/d3-axis-pCwzqJ1S.js"},"/assets/d3-brush-CAg10rWz.js":{type:"text/javascript; charset=utf-8",etag:'"25-WEegomVt8cuqScRFVAKG+JZEyho"',mtime:"2025-03-15T06:42:18.087Z",size:37,path:"../public/assets/d3-brush-CAg10rWz.js"},"/assets/d3-chord-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-15T06:42:18.087Z",size:1,path:"../public/assets/d3-chord-l0sNRNKZ.js"},"/assets/d3-color-D5ULnJIe.js":{type:"text/javascript; charset=utf-8",etag:'"23d9-9TMj/QP5dJtBT9As692nhYTIsZQ"',mtime:"2025-03-15T06:42:18.087Z",size:9177,path:"../public/assets/d3-color-D5ULnJIe.js"},"/assets/d3-contour-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-15T06:42:18.087Z",size:1,path:"../public/assets/d3-contour-l0sNRNKZ.js"},"/assets/d3-delaunay-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-15T06:42:18.088Z",size:1,path:"../public/assets/d3-delaunay-l0sNRNKZ.js"},"/assets/d3-dispatch-Chq_f_hl.js":{type:"text/javascript; charset=utf-8",etag:'"5ee-F7Y5WoYj59TMjfuZNv+jI2mpRbs"',mtime:"2025-03-15T06:42:18.088Z",size:1518,path:"../public/assets/d3-dispatch-Chq_f_hl.js"},"/assets/d3-drag-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-15T06:42:18.088Z",size:1,path:"../public/assets/d3-drag-l0sNRNKZ.js"},"/assets/d3-dsv-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-15T06:42:18.088Z",size:1,path:"../public/assets/d3-dsv-l0sNRNKZ.js"},"/assets/d3-ease-Cx6bG2vu.js":{type:"text/javascript; charset=utf-8",etag:'"45-VSWuH+b+NX8BgT3wmUO1g6B+Sf0"',mtime:"2025-03-15T06:42:18.088Z",size:69,path:"../public/assets/d3-ease-Cx6bG2vu.js"},"/assets/d3-fetch-XwboCDHR.js":{type:"text/javascript; charset=utf-8",etag:'"e3-prUwJVQ8U8YKc1tkPn7FeWtV+Kc"',mtime:"2025-03-15T06:42:18.089Z",size:227,path:"../public/assets/d3-fetch-XwboCDHR.js"},"/assets/d3-force-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-15T06:42:18.089Z",size:1,path:"../public/assets/d3-force-l0sNRNKZ.js"},"/assets/d3-format-C0lSXcPg.js":{type:"text/javascript; charset=utf-8",etag:'"1257-qKkScJcj4Fl1NtigmeM93+tlHLk"',mtime:"2025-03-15T06:42:18.089Z",size:4695,path:"../public/assets/d3-format-C0lSXcPg.js"},"/assets/d3-geo-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-15T06:42:18.089Z",size:1,path:"../public/assets/d3-geo-l0sNRNKZ.js"},"/assets/d3-hierarchy-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-15T06:42:18.089Z",size:1,path:"../public/assets/d3-hierarchy-l0sNRNKZ.js"},"/assets/d3-interpolate-Ct9kki6l.js":{type:"text/javascript; charset=utf-8",etag:'"10f8-ifxeguZgXlAAUCPyA9oa40V8LGk"',mtime:"2025-03-15T06:42:18.089Z",size:4344,path:"../public/assets/d3-interpolate-Ct9kki6l.js"},"/assets/d3-path-QSrLXsQ3.js":{type:"text/javascript; charset=utf-8",etag:'"804-y1a+1saOIZNeasBFa5tQrRqTySQ"',mtime:"2025-03-15T06:42:18.089Z",size:2052,path:"../public/assets/d3-path-QSrLXsQ3.js"},"/assets/d3-polygon-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-15T06:42:18.089Z",size:1,path:"../public/assets/d3-polygon-l0sNRNKZ.js"},"/assets/d3-quadtree-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-15T06:42:18.089Z",size:1,path:"../public/assets/d3-quadtree-l0sNRNKZ.js"},"/assets/d3-random-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-15T06:42:18.089Z",size:1,path:"../public/assets/d3-random-l0sNRNKZ.js"},"/assets/d3-scale-CjTvl_Qo.js":{type:"text/javascript; charset=utf-8",etag:'"11d8-kyXJzNNfgKHeAfH+qjnpYm197vE"',mtime:"2025-03-15T06:42:18.089Z",size:4568,path:"../public/assets/d3-scale-CjTvl_Qo.js"},"/assets/d3-scale-chromatic-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-15T06:42:18.089Z",size:1,path:"../public/assets/d3-scale-chromatic-l0sNRNKZ.js"},"/assets/d3-selection-G65jBFUY.js":{type:"text/javascript; charset=utf-8",etag:'"2f15-eEvtPZsFKx7JXdBMJ55bOpTcfAw"',mtime:"2025-03-15T06:42:18.090Z",size:12053,path:"../public/assets/d3-selection-G65jBFUY.js"},"/assets/d3-shape-C1TbtrGg.js":{type:"text/javascript; charset=utf-8",etag:'"5261-9tBH29zF9ZExRfaKO7bHMqFDFuQ"',mtime:"2025-03-15T06:42:18.090Z",size:21089,path:"../public/assets/d3-shape-C1TbtrGg.js"},"/assets/d3-time-CebKitJR.js":{type:"text/javascript; charset=utf-8",etag:'"1222-3pkot1fWhqHWZMa2qSs3BkF9lL0"',mtime:"2025-03-15T06:42:18.090Z",size:4642,path:"../public/assets/d3-time-CebKitJR.js"},"/assets/d3-time-format-D74OpZq4.js":{type:"text/javascript; charset=utf-8",etag:'"2292-O21RYzliBtwhUPxv0FWchRbHKuc"',mtime:"2025-03-15T06:42:18.090Z",size:8850,path:"../public/assets/d3-time-format-D74OpZq4.js"},"/assets/d3-timer-keMr1twq.js":{type:"text/javascript; charset=utf-8",etag:'"537-WnI8bA05aAnVcNPRJEZjZkmy08Y"',mtime:"2025-03-15T06:42:18.090Z",size:1335,path:"../public/assets/d3-timer-keMr1twq.js"},"/assets/d3-transition-swcnLnsT.js":{type:"text/javascript; charset=utf-8",etag:'"2aaf-q7TE85J+4pZAQUA2T4b6TZz5IDg"',mtime:"2025-03-15T06:42:18.090Z",size:10927,path:"../public/assets/d3-transition-swcnLnsT.js"},"/assets/d3-zoom-D4Vc87xO.js":{type:"text/javascript; charset=utf-8",etag:'"361-uR4XFeeODwXI4cGDTE0Kqu2LjTs"',mtime:"2025-03-15T06:42:18.090Z",size:865,path:"../public/assets/d3-zoom-D4Vc87xO.js"},"/assets/dagre-d3-es-FtH4B9px.js":{type:"text/javascript; charset=utf-8",etag:'"a4aa-AcKlUACb9MwJu8Y6Z5ucF2t06bA"',mtime:"2025-03-15T06:42:18.090Z",size:42154,path:"../public/assets/dagre-d3-es-FtH4B9px.js"},"/assets/dayjs-Cbdj87rt.js":{type:"text/javascript; charset=utf-8",etag:'"30c7-lSwOhiOzBI+I22X24Ozo9X6ime4"',mtime:"2025-03-15T06:42:18.090Z",size:12487,path:"../public/assets/dayjs-Cbdj87rt.js"},"/assets/deep-pick-omit-DP_A4OSP.js":{type:"text/javascript; charset=utf-8",etag:'"466-wFXV9OVC9OUGEpNVO9d8tzbfJLU"',mtime:"2025-03-15T06:42:18.090Z",size:1126,path:"../public/assets/deep-pick-omit-DP_A4OSP.js"},"/assets/delaunator-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-15T06:42:18.090Z",size:1,path:"../public/assets/delaunator-l0sNRNKZ.js"},"/assets/destr-ClW9AvhW.js":{type:"text/javascript; charset=utf-8",etag:'"4b4-8lJ1jag+LQf5/nWIUeOkVDYVj7k"',mtime:"2025-03-15T06:42:18.091Z",size:1204,path:"../public/assets/destr-ClW9AvhW.js"},"/assets/dompurify-B5jhUdWW.js":{type:"text/javascript; charset=utf-8",etag:'"56f0-MmX4JF7TA2APkAmPt8f2XSj9ZMM"',mtime:"2025-03-15T06:42:18.091Z",size:22256,path:"../public/assets/dompurify-B5jhUdWW.js"},"/assets/elkjs-BAetzGHm.js":{type:"text/javascript; charset=utf-8",etag:'"1569d8-o6No5K3/lCJx267F8N158VQprUs"',mtime:"2025-03-15T06:42:18.092Z",size:1403352,path:"../public/assets/elkjs-BAetzGHm.js"},"/assets/entities-D7HTx9ov.js":{type:"text/javascript; charset=utf-8",etag:'"8cae-ASJCRYrcmU+X49L4kRiJyNXyMgM"',mtime:"2025-03-15T06:42:18.091Z",size:36014,path:"../public/assets/entities-D7HTx9ov.js"},"/assets/eventsource-parser-BEY8Dpg-.js":{type:"text/javascript; charset=utf-8",etag:'"78d-1kISaZniRhxEqUKs4j1TXan4FZU"',mtime:"2025-03-15T06:42:18.091Z",size:1933,path:"../public/assets/eventsource-parser-BEY8Dpg-.js"},"/assets/help-KEFhNrSC.js":{type:"text/javascript; charset=utf-8",etag:'"42c-SFGbKBUayUTC+EeQ4kKHBnOZ1uw"',mtime:"2025-03-15T06:42:18.091Z",size:1068,path:"../public/assets/help-KEFhNrSC.js"},"/assets/highlight.js-CIm3ul8x.js":{type:"text/javascript; charset=utf-8",etag:'"f87c0-baW70V1AM/DXiZjaTDU/agVJ0Js"',mtime:"2025-03-15T06:42:18.092Z",size:1017792,path:"../public/assets/highlight.js-CIm3ul8x.js"},"/assets/index-Btlm0yRf.js":{type:"text/javascript; charset=utf-8",etag:'"944-bPV+1H899ExNaU5L3VBesU3FFHQ"',mtime:"2025-03-15T06:42:18.091Z",size:2372,path:"../public/assets/index-Btlm0yRf.js"},"/assets/index-CkFkQP5V.js":{type:"text/javascript; charset=utf-8",etag:'"4bf8-q+PMFeJEx5D3mlq60eWK8vUoYF8"',mtime:"2025-03-15T06:42:18.092Z",size:19448,path:"../public/assets/index-CkFkQP5V.js"},"/assets/index-DJgKQCUj.css":{type:"text/css; charset=utf-8",etag:'"7c6-VIyMBVyHtySdcXK2/QJEujOkiL0"',mtime:"2025-03-15T06:42:18.092Z",size:1990,path:"../public/assets/index-DJgKQCUj.css"},"/assets/index-DWphMrS1.css":{type:"text/css; charset=utf-8",etag:'"321-j2DbWq2xzTMni/ogD59SBddlPSk"',mtime:"2025-03-15T06:42:18.093Z",size:801,path:"../public/assets/index-DWphMrS1.css"},"/assets/index-HVm80Feb.js":{type:"text/javascript; charset=utf-8",etag:'"1afe-vD65dkUZtgLiXFGVpFR+gRHf34U"',mtime:"2025-03-15T06:42:18.095Z",size:6910,path:"../public/assets/index-HVm80Feb.js"},"/assets/index-HmhuEEkz.js":{type:"text/javascript; charset=utf-8",etag:'"4d5e-Gt3xc6GdhRGMcbQ96QKJeBKA/xQ"',mtime:"2025-03-15T06:42:18.095Z",size:19806,path:"../public/assets/index-HmhuEEkz.js"},"/assets/index-NjQX0WSJ.js":{type:"text/javascript; charset=utf-8",etag:'"47d-u/gB2BTuaUv5DXtP1R9rKl2ggxQ"',mtime:"2025-03-15T06:42:18.095Z",size:1149,path:"../public/assets/index-NjQX0WSJ.js"},"/assets/index-ZED-momG.js":{type:"text/javascript; charset=utf-8",etag:'"505d-1p8shiMbmKiP0Fwx6P/Gh15oph8"',mtime:"2025-03-15T06:42:18.095Z",size:20573,path:"../public/assets/index-ZED-momG.js"},"/assets/internmap-B8oPgqVZ.js":{type:"text/javascript; charset=utf-8",etag:'"27c-RCk4//XL2PAg7MGLIGsuL5G/iVA"',mtime:"2025-03-15T06:42:18.096Z",size:636,path:"../public/assets/internmap-B8oPgqVZ.js"},"/assets/katex-BY7yyeOs.js":{type:"text/javascript; charset=utf-8",etag:'"48f29-yE+XlPP/x0i46yjVZ04Vycymhxo"',mtime:"2025-03-15T06:42:18.096Z",size:298793,path:"../public/assets/katex-BY7yyeOs.js"},"/assets/khroma-Ca6ZlOUT.js":{type:"text/javascript; charset=utf-8",etag:'"2838-02b9ktMKU0Uxp0K8C5BMb6HcW6c"',mtime:"2025-03-15T06:42:18.096Z",size:10296,path:"../public/assets/khroma-Ca6ZlOUT.js"},"/assets/layout-base-DqRk0Tgc.js":{type:"text/javascript; charset=utf-8",etag:'"c95c-QXvDmtW4EQAldMUKpzDvTr5mAOo"',mtime:"2025-03-15T06:42:18.096Z",size:51548,path:"../public/assets/layout-base-DqRk0Tgc.js"},"/assets/linkify-it-LcVOBuC5.js":{type:"text/javascript; charset=utf-8",etag:'"2506-igm5x3jZkI/ZvzTnBp6IrKPmoBA"',mtime:"2025-03-15T06:42:18.096Z",size:9478,path:"../public/assets/linkify-it-LcVOBuC5.js"},"/assets/lodash-VDnThKtA.js":{type:"text/javascript; charset=utf-8",etag:'"54c3-9+SmSiuit/e/T6NNMTGEDJMz7ao"',mtime:"2025-03-15T06:42:18.096Z",size:21699,path:"../public/assets/lodash-VDnThKtA.js"},"/assets/lodash-es-BkU_-LF8.js":{type:"text/javascript; charset=utf-8",etag:'"8a6c-8JAJCN+mYv5zz3fbJt43gO8sjUk"',mtime:"2025-03-15T06:42:18.096Z",size:35436,path:"../public/assets/lodash-es-BkU_-LF8.js"},"/assets/lyihub-zLFv36Ly.js":{type:"text/javascript; charset=utf-8",etag:'"69f-YBlH+nb7V6SSmdlgZ/sY0ZlzZi0"',mtime:"2025-03-15T06:42:18.096Z",size:1695,path:"../public/assets/lyihub-zLFv36Ly.js"},"/assets/main-CrcWAk8z.js":{type:"text/javascript; charset=utf-8",etag:'"a4a5-LbXgxydFM9CdR1qEXtuqb2XyctM"',mtime:"2025-03-15T06:42:18.097Z",size:42149,path:"../public/assets/main-CrcWAk8z.js"},"/assets/main-MqSRl-Mr.css":{type:"text/css; charset=utf-8",etag:'"13827-4A7YG+bIz4tBwZ0llBtXRo6HKPA"',mtime:"2025-03-15T06:42:18.097Z",size:79911,path:"../public/assets/main-MqSRl-Mr.css"},"/assets/mammoth-SX_ZK-lB.js":{type:"text/javascript; charset=utf-8",etag:'"7b619-qJskLG24Tz9HzQxW4WYQg3u7T+c"',mtime:"2025-03-15T06:42:18.097Z",size:505369,path:"../public/assets/mammoth-SX_ZK-lB.js"},"/assets/markdown-C7R-oF3c.js":{type:"text/javascript; charset=utf-8",etag:'"b84-tagSVMLmfNN2+xB9QZB6ojru1NM"',mtime:"2025-03-15T06:42:18.097Z",size:2948,path:"../public/assets/markdown-C7R-oF3c.js"},"/assets/markdown-it-C8SkdHr7.js":{type:"text/javascript; charset=utf-8",etag:'"cda3-zpScLmZqW/cDrwLrLVUAUYiQoHs"',mtime:"2025-03-15T06:42:18.097Z",size:52643,path:"../public/assets/markdown-it-C8SkdHr7.js"},"/assets/markdown-it-highlightjs-C6wu1X31.js":{type:"text/javascript; charset=utf-8",etag:'"f01-SDwc7iyACWCMe6hKjY34wv2dIeE"',mtime:"2025-03-15T06:42:18.098Z",size:3841,path:"../public/assets/markdown-it-highlightjs-C6wu1X31.js"},"/assets/markdown-it-link-attributes-DRKqjf49.js":{type:"text/javascript; charset=utf-8",etag:'"2d3-Ztl5D0YgZTjLHxy9MJT+LzmJgcI"',mtime:"2025-03-15T06:42:18.098Z",size:723,path:"../public/assets/markdown-it-link-attributes-DRKqjf49.js"},"/assets/mdurl-CDXpswLz.js":{type:"text/javascript; charset=utf-8",etag:'"12cf-J5d0Ip4EtRRuSMx8vOSdC2oRS/8"',mtime:"2025-03-15T06:42:18.098Z",size:4815,path:"../public/assets/mdurl-CDXpswLz.js"},"/assets/mermaid-CCcIvOUT.js":{type:"text/javascript; charset=utf-8",etag:'"bb1d0-uHOhqX1sCvPkpnw+eEppTZ0g9Dc"',mtime:"2025-03-15T06:42:18.098Z",size:766416,path:"../public/assets/mermaid-CCcIvOUT.js"},"/assets/mitt-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-15T06:42:18.098Z",size:1,path:"../public/assets/mitt-l0sNRNKZ.js"},"/assets/pdf.worker.min-yatZIOMy.mjs":{type:"text/javascript; charset=utf-8",etag:'"14fe5e-iGC1A5RKrS0JublO5W5Pq4QUymk"',mtime:"2025-03-15T06:42:18.100Z",size:1375838,path:"../public/assets/pdf.worker.min-yatZIOMy.mjs"},"/assets/pdfjs-dist-8WFUNQXM.js":{type:"text/javascript; charset=utf-8",etag:'"58a06-0WybHzP7c1zhxZq4K1wRJpetRUE"',mtime:"2025-03-15T06:42:18.099Z",size:363014,path:"../public/assets/pdfjs-dist-8WFUNQXM.js"},"/assets/pinia-D-ngchQK.js":{type:"text/javascript; charset=utf-8",etag:'"f70-Ag94Bo1hNlONOdkhHcCOea2ErM0"',mtime:"2025-03-15T06:42:18.099Z",size:3952,path:"../public/assets/pinia-D-ngchQK.js"},"/assets/pinia-plugin-persistedstate-DyrI1rJI.js":{type:"text/javascript; charset=utf-8",etag:'"51c-IOUPIS/vvyLw3e9LnNGq2zZMnec"',mtime:"2025-03-15T06:42:18.099Z",size:1308,path:"../public/assets/pinia-plugin-persistedstate-DyrI1rJI.js"},"/assets/popup-BEoKfv6q.js":{type:"text/javascript; charset=utf-8",etag:'"1921-aMpNE11qUkCzZb+HNr76QIkTVAc"',mtime:"2025-03-15T06:42:18.099Z",size:6433,path:"../public/assets/popup-BEoKfv6q.js"},"/assets/popup-CAYf2pdU.css":{type:"text/css; charset=utf-8",etag:'"12f64-gEiNKOoqNatL6ssOkchPPR9hBTo"',mtime:"2025-03-15T06:42:18.100Z",size:77668,path:"../public/assets/popup-CAYf2pdU.css"},"/assets/prismjs-t2geX1ef.js":{type:"text/javascript; charset=utf-8",etag:'"974c-MlbFYH4UO++zkKClrjXwGS13aPQ"',mtime:"2025-03-15T06:42:18.099Z",size:38732,path:"../public/assets/prismjs-t2geX1ef.js"},"/assets/punycode.js-Bmr3cAX8.js":{type:"text/javascript; charset=utf-8",etag:'"a7a-RevZlCPWj1eXNcvfzcrSkpPYyuI"',mtime:"2025-03-15T06:42:18.100Z",size:2682,path:"../public/assets/punycode.js-Bmr3cAX8.js"},"/assets/robust-predicates-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-15T06:42:18.100Z",size:1,path:"../public/assets/robust-predicates-l0sNRNKZ.js"},"/assets/sambanova-35TLgnML.webp":{type:"image/webp",etag:'"415c-sMenaeQGBb9K2dKKno4v8gu8CQg"',mtime:"2025-03-15T06:42:18.101Z",size:16732,path:"../public/assets/sambanova-35TLgnML.webp"},"/assets/scraper.worker-C5ikRwpu.js":{type:"text/javascript; charset=utf-8",etag:'"268-Onu+45h7Y6Bc+D4LCl5TM9ow9wE"',mtime:"2025-03-15T06:42:18.101Z",size:616,path:"../public/assets/scraper.worker-C5ikRwpu.js"},"/assets/sortablejs-DGtSoqI-.js":{type:"text/javascript; charset=utf-8",etag:'"91fb-Wnf2wx603CaDXVaZ0wcbhkJbip0"',mtime:"2025-03-15T06:42:18.101Z",size:37371,path:"../public/assets/sortablejs-DGtSoqI-.js"},"/assets/stylis-Cl7w7uv3.js":{type:"text/javascript; charset=utf-8",etag:'"1010-9iehLy9lKGajUZMFLPzb9lFBWH0"',mtime:"2025-03-15T06:42:18.101Z",size:4112,path:"../public/assets/stylis-Cl7w7uv3.js"},"/assets/tdesign-icons-vue-next-BGgy7GQY.css":{type:"text/css; charset=utf-8",etag:'"17f-FqFjP97SFRNBmlj13OeywzL2DCU"',mtime:"2025-03-15T06:42:18.102Z",size:383,path:"../public/assets/tdesign-icons-vue-next-BGgy7GQY.css"},"/assets/tdesign-icons-vue-next-BnEOAlYE.js":{type:"text/javascript; charset=utf-8",etag:'"161b1-opEE7jkiEZu41CokY0NNjz9qjng"',mtime:"2025-03-15T06:42:18.102Z",size:90545,path:"../public/assets/tdesign-icons-vue-next-BnEOAlYE.js"},"/assets/tdesign-vue-next-Dl-XbCUy.js":{type:"text/javascript; charset=utf-8",etag:'"9a3c0-3XloSWyWL72WKNLClBcIPilMqlU"',mtime:"2025-03-15T06:42:18.103Z",size:631744,path:"../public/assets/tdesign-vue-next-Dl-XbCUy.js"},"/assets/tdesign-vue-next-lG0L4BeW.css":{type:"text/css; charset=utf-8",etag:'"681ef-LGjIzYoegouAPD1yKL4pbJSYDDM"',mtime:"2025-03-15T06:42:18.103Z",size:426479,path:"../public/assets/tdesign-vue-next-lG0L4BeW.css"},"/assets/ts-dedent-CttZBlkd.js":{type:"text/javascript; charset=utf-8",etag:'"310-K/ipHYQTgvDUEOcQGwOf0IHACMc"',mtime:"2025-03-15T06:42:18.103Z",size:784,path:"../public/assets/ts-dedent-CttZBlkd.js"},"/assets/tvision-color-YYaNBBLy.js":{type:"text/javascript; charset=utf-8",etag:'"49d1-/25R9ISbaW6+wE8+SgxhWoG/VZE"',mtime:"2025-03-15T06:42:18.103Z",size:18897,path:"../public/assets/tvision-color-YYaNBBLy.js"},"/assets/ua-parser-js--QiuJfYt.js":{type:"text/javascript; charset=utf-8",etag:'"5472-qmtSJPSSM9AVrN2A5Prr1bdl+bI"',mtime:"2025-03-15T06:42:18.103Z",size:21618,path:"../public/assets/ua-parser-js--QiuJfYt.js"},"/assets/uc.micro-CLkLCS2f.js":{type:"text/javascript; charset=utf-8",etag:'"144d-0zVa29qj407Bu05HPuwvHgQ4+8c"',mtime:"2025-03-15T06:42:18.103Z",size:5197,path:"../public/assets/uc.micro-CLkLCS2f.js"},"/assets/uuid-_R2nDvl_.js":{type:"text/javascript; charset=utf-8",etag:'"3a1-Em826+EaiFJxMLWvplFS7Y7rsAM"',mtime:"2025-03-15T06:42:18.104Z",size:929,path:"../public/assets/uuid-_R2nDvl_.js"},"/assets/vue-CDGYB_S-.js":{type:"text/javascript; charset=utf-8",etag:'"3d3-HYC0YQlLIok8/Rtl492SnfBOnds"',mtime:"2025-03-15T06:42:18.104Z",size:979,path:"../public/assets/vue-CDGYB_S-.js"},"/assets/vue-demi-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-15T06:42:18.104Z",size:1,path:"../public/assets/vue-demi-l0sNRNKZ.js"},"/assets/vue-i18n-DyoGdlfW.js":{type:"text/javascript; charset=utf-8",etag:'"54cc-GQUTAuIe+SlB/5Lb33yIkgWndyI"',mtime:"2025-03-15T06:42:18.104Z",size:21708,path:"../public/assets/vue-i18n-DyoGdlfW.js"},"/assets/vue-router-BUavUIDc.js":{type:"text/javascript; charset=utf-8",etag:'"6a11-1aR2R4A3KeEqc3eHE2azggx7YPk"',mtime:"2025-03-15T06:42:18.105Z",size:27153,path:"../public/assets/vue-router-BUavUIDc.js"},"/assets/vuedraggable-_g4h_fUB.js":{type:"text/javascript; charset=utf-8",etag:'"18985-dDL+wPNQfc32Erg5S+mTPVL/d34"',mtime:"2025-03-15T06:42:18.105Z",size:100741,path:"../public/assets/vuedraggable-_g4h_fUB.js"},"/assets/xlsx-DB6BMndo.js":{type:"text/javascript; charset=utf-8",etag:'"6044e-9tu+0UThAPzrLx9iSXWZ+kfemGA"',mtime:"2025-03-15T06:42:18.105Z",size:394318,path:"../public/assets/xlsx-DB6BMndo.js"},"/swagger/LICENSE":{type:"text/plain; charset=utf-8",etag:'"2c5e-K4uBUimqimHkg/tLoFiLi2xJGJA"',mtime:"2025-03-15T06:42:18.079Z",size:11358,path:"../public/swagger/LICENSE"},"/swagger/NOTICE":{type:"text/plain; charset=utf-8",etag:'"37-0n8Fhwk9uv718DEoBFAYAHxrqZ8"',mtime:"2025-03-15T06:42:18.105Z",size:55,path:"../public/swagger/NOTICE"},"/swagger/README.md":{type:"text/markdown; charset=utf-8",etag:'"6be-eQ4mvDl95ct54H1v8dasMT5BJwQ"',mtime:"2025-03-15T06:42:18.105Z",size:1726,path:"../public/swagger/README.md"},"/swagger/absolute-path.js":{type:"text/javascript; charset=utf-8",etag:'"212-J+QveHG7rDiOFdNzZCZDqcDOK+M"',mtime:"2025-03-15T06:42:18.105Z",size:530,path:"../public/swagger/absolute-path.js"},"/swagger/favicon-16x16.png":{type:"image/png",etag:'"299-P/Ck0KVN5edEo4I0mCIWWmtplO0"',mtime:"2025-03-15T06:42:18.106Z",size:665,path:"../public/swagger/favicon-16x16.png"},"/swagger/favicon-32x32.png":{type:"image/png",etag:'"274-jKULWQGffxfGW3fqT5ChsaRqwLY"',mtime:"2025-03-15T06:42:18.106Z",size:628,path:"../public/swagger/favicon-32x32.png"},"/swagger/index.css":{type:"text/css; charset=utf-8",etag:'"ca-cVhpBjOPaUIKpM8dNJT+6MUz8Ro"',mtime:"2025-03-15T06:42:18.106Z",size:202,path:"../public/swagger/index.css"},"/swagger/index.html":{type:"text/html; charset=utf-8",etag:'"2de-1EOW5JSXowvBRBqUcXZxJSLvf2M"',mtime:"2025-03-15T06:42:18.106Z",size:734,path:"../public/swagger/index.html"},"/swagger/index.js":{type:"text/javascript; charset=utf-8",etag:'"32d-GIZCZQ6FP1cqjHGRuiG/HV4bPls"',mtime:"2025-03-15T06:42:18.106Z",size:813,path:"../public/swagger/index.js"},"/swagger/oauth2-redirect.html":{type:"text/html; charset=utf-8",etag:'"a9b-4dCYXMgAc9mtJO1U4TUJArG0ZRw"',mtime:"2025-03-15T06:42:18.106Z",size:2715,path:"../public/swagger/oauth2-redirect.html"},"/swagger/package.json":{type:"application/json",etag:'"22f-pgoet2ouXTR1MMELLM9UMW0OVUQ"',mtime:"2025-03-15T06:42:18.106Z",size:559,path:"../public/swagger/package.json"},"/swagger/swagger-initializer.js":{type:"text/javascript; charset=utf-8",etag:'"29a-zW3E63PXRtQnB3CBmSCmAsl3emI"',mtime:"2025-03-15T06:42:18.106Z",size:666,path:"../public/swagger/swagger-initializer.js"},"/swagger/swagger-ui-bundle.js":{type:"text/javascript; charset=utf-8",etag:'"165fd4-pYLRc3QLnwTnl7OBjXKk8Xedow8"',mtime:"2025-03-15T06:42:18.113Z",size:1466324,path:"../public/swagger/swagger-ui-bundle.js"},"/swagger/swagger-ui-bundle.js.map":{type:"application/json",etag:'"1d4f6e-EdZwAI/8NHP9DkSgVRmzrlnheWM"',mtime:"2025-03-15T06:42:18.116Z",size:1920878,path:"../public/swagger/swagger-ui-bundle.js.map"},"/swagger/swagger-ui-es-bundle-core.js":{type:"text/javascript; charset=utf-8",etag:'"732f0-8ze7BhcR9BN81cnJ42Po8aECNTc"',mtime:"2025-03-15T06:42:18.109Z",size:471792,path:"../public/swagger/swagger-ui-es-bundle-core.js"},"/swagger/swagger-ui-es-bundle-core.js.map":{type:"application/json",etag:'"189eb6-7jWUWBNcVregNHrTt6Ua2xzMAJs"',mtime:"2025-03-15T06:42:18.117Z",size:1613494,path:"../public/swagger/swagger-ui-es-bundle-core.js.map"},"/swagger/swagger-ui-es-bundle.js":{type:"text/javascript; charset=utf-8",etag:'"165ede-8ItyH4p3gifNtaFKdYO37Rwl+R4"',mtime:"2025-03-15T06:42:18.121Z",size:1466078,path:"../public/swagger/swagger-ui-es-bundle.js"},"/swagger/swagger-ui-es-bundle.js.map":{type:"application/json",etag:'"1d2e65-gxP1cBHxZIolETVmnp6JQCmZz/o"',mtime:"2025-03-15T06:42:18.131Z",size:1912421,path:"../public/swagger/swagger-ui-es-bundle.js.map"},"/swagger/swagger-ui-standalone-preset.js":{type:"text/javascript; charset=utf-8",etag:'"37f67-l61kMpt56I/qm8hhdmzV/7yVnVw"',mtime:"2025-03-15T06:42:18.122Z",size:229223,path:"../public/swagger/swagger-ui-standalone-preset.js"},"/swagger/swagger-ui-standalone-preset.js.map":{type:"application/json",etag:'"50934-V3RjXs1XH6csGCSTQuOjPfev+7U"',mtime:"2025-03-15T06:42:18.122Z",size:330036,path:"../public/swagger/swagger-ui-standalone-preset.js.map"},"/swagger/swagger-ui.css":{type:"text/css; charset=utf-8",etag:'"25d69-gcCiVU2QIynmcXRFWlwruVby+qE"',mtime:"2025-03-15T06:42:18.125Z",size:154985,path:"../public/swagger/swagger-ui.css"},"/swagger/swagger-ui.css.map":{type:"application/json",etag:'"3f31a-cM+Jfbp4KhhTJ6lBw8OgFePuvkk"',mtime:"2025-03-15T06:42:18.126Z",size:258842,path:"../public/swagger/swagger-ui.css.map"},"/swagger/swagger-ui.js":{type:"text/javascript; charset=utf-8",etag:'"55236-VKwJmOdR13bM4UKKqz/8O7u/758"',mtime:"2025-03-15T06:42:18.130Z",size:348726,path:"../public/swagger/swagger-ui.js"},"/swagger/swagger-ui.js.map":{type:"application/json",etag:'"12526b-9N/Azn20bX0am77tLtO0mJAf+js"',mtime:"2025-03-15T06:42:18.139Z",size:1200747,path:"../public/swagger/swagger-ui.js.map"}},Ce=/^[A-Za-z]:\//;function normalizeWindowsPath(e=""){return e?e.replace(/\\/g,"/").replace(Ce,(e=>e.toUpperCase())):e}const Se=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,Ze=/^[A-Za-z]:$/;const isAbsolute=function(e){return Se.test(e)};function readAsset(t){const s=function(e){const t=normalizeWindowsPath(e).replace(/\/$/,"").split("/").slice(0,-1);return 1===t.length&&Ze.test(t[0])&&(t[0]+="/"),t.join("/")||(isAbsolute(e)?"/":".")}(f(globalThis._importMeta_.url));return d.readFile(function(...t){let s="",a=!1;for(let c=(t=t.map((e=>normalizeWindowsPath(e)))).length-1;c>=-1&&!a;c--){const l=c>=0?t[c]:void 0!==e&&"function"==typeof e.cwd?e.cwd().replace(/\\/g,"/"):"/";l&&0!==l.length&&(s=`${l}/${s}`,a=isAbsolute(l))}return s=function(e,t){let s="",a=0,c=-1,l=0,u=null;for(let d=0;d<=e.length;++d){if(d2){const e=s.lastIndexOf("/");-1===e?(s="",a=0):(s=s.slice(0,e),a=s.length-1-s.lastIndexOf("/")),c=d,l=0;continue}if(s.length>0){s="",a=0,c=d,l=0;continue}}t&&(s+=s.length>0?"/..":"..",a=2)}else s.length>0?s+=`/${e.slice(c+1,d)}`:s=e.slice(c+1,d),a=d-c-1;c=d,l=0}else"."===u&&-1!==l?++l:l=-1}return s}(s,!a),a&&!isAbsolute(s)?`/${s}`:s.length>0?s:"."}(s,ke[t].path))}const Be={};function getAsset(e){return ke[e]}const Ee=new Set(["HEAD","GET"]),Ae={gzip:".gz",br:".br"},Ke=pe((e=>{if(e.method&&!Ee.has(e.method))return;let t=decode(withLeadingSlash(withoutTrailingSlash(parseURL(e.path).pathname)).replace(I,"%252F"));let s;const a=[...String(getRequestHeader(e,"accept-encoding")||"").split(",").map((e=>Ae[e.trim()])).filter(Boolean).sort(),""];a.length>1&&function(e,t,s){let a=e.node.res.getHeader(t);a?(Array.isArray(a)||(a=[a.toString()]),e.node.res.setHeader(t,[...a,s])):e.node.res.setHeader(t,s)}(e,"Vary","Accept-Encoding");for(const e of a)for(const a of[t+e,joinURL(t,"index.html"+e)]){const e=getAsset(a);if(e){s=e,t=a;break}}if(!s){if(function(e=""){if(ke[e])return!0;for(const t in Be)if(e.startsWith(t))return!0;return!1}(t))throw function(e,t){e.node.res.removeHeader(t)}(e,"Cache-Control"),createError$1({statusMessage:"Cannot find static asset "+t,statusCode:404});return}if(getRequestHeader(e,"if-none-match")===s.etag)return setResponseStatus(e,304,"Not Modified"),"";const c=getRequestHeader(e,"if-modified-since"),l=new Date(s.mtime);return c&&s.mtime&&new Date(c)>=l?(setResponseStatus(e,304,"Not Modified"),""):(s.type&&!getResponseHeader(e,"Content-Type")&&setResponseHeader(e,"Content-Type",s.type),s.etag&&!getResponseHeader(e,"ETag")&&setResponseHeader(e,"ETag",s.etag),s.mtime&&!getResponseHeader(e,"Last-Modified")&&setResponseHeader(e,"Last-Modified",l.toUTCString()),s.encoding&&!getResponseHeader(e,"Content-Encoding")&&setResponseHeader(e,"Content-Encoding",s.encoding),s.size>0&&!getResponseHeader(e,"Content-Length")&&setResponseHeader(e,"Content-Length",s.size),readAsset(t))})),Ne=[{route:"",handler:Ke,lazy:!1,middleware:!0,method:void 0},{route:"",handler:defineEventHandler((t=>{t.context.cloudflare&&(e.env=t.context.cloudflare.env)})),lazy:!1,middleware:!0,method:void 0},{route:"",handler:defineEventHandler((e=>{if("OPTIONS"===e.node.req.method)return e.node.res.setHeader("Access-Control-Allow-Origin","*"),e.node.res.setHeader("Access-Control-Allow-Methods","GET, POST, PUT, DELETE, OPTIONS"),e.node.res.setHeader("Access-Control-Allow-Headers","*"),e.node.res.setHeader("Access-Control-Max-Age","86400"),e.node.res.statusCode=204,void e.node.res.end();e.node.res.setHeader("Access-Control-Allow-Origin","*"),e.node.res.setHeader("Access-Control-Expose-Headers","*")})),lazy:!1,middleware:!0,method:void 0},{route:"/api/**",handler:()=>import("../routes/api/_..._.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/app/**",handler:()=>import("../routes/app/_..._.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/cache/clear",handler:()=>import("../routes/cache/clear.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/config",handler:()=>import("../routes/index.get.mjs"),lazy:!0,middleware:!1,method:"get"},{route:"/config",handler:()=>import("../routes/index.post.mjs"),lazy:!0,middleware:!1,method:"post"},{route:"/crawler",handler:()=>import("../routes/crawler.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/cursor/code",handler:()=>import("../routes/cursor/code.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/cursor/token",handler:()=>import("../routes/cursor/token.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/github/code",handler:()=>import("../routes/github/code.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/github/token",handler:()=>import("../routes/github/token.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/google/access_token",handler:()=>import("../routes/google/access_token.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/google/code",handler:()=>import("../routes/google/code.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/health",handler:()=>import("../routes/health.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/openai/**",handler:()=>import("../routes/openai/_..._.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/openapi.json",handler:()=>import("../routes/openapi.json.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/search",handler:()=>import("../routes/search.mjs"),lazy:!0,middleware:!1,method:void 0}];function asyncCall(e,...t){try{return(s=e(...t))&&"function"==typeof s.then?s:Promise.resolve(s)}catch(e){return Promise.reject(e)}var s}function stringify(e){if(function(e){const t=typeof e;return null===e||"object"!==t&&"function"!==t}(e))return String(e);if(function(e){const t=Object.getPrototypeOf(e);return!t||t.isPrototypeOf(Object)}(e)||Array.isArray(e))return JSON.stringify(e);if("function"==typeof e.toJSON)return stringify(e.toJSON());throw new Error("[unstorage] Cannot stringify value!")}const Ie="base64:";function serializeRaw(e){return"string"==typeof e?e:Ie+function(e){if(globalThis.Buffer)return Buffer.from(e).toString("base64");return globalThis.btoa(String.fromCodePoint(...e))}(e)}function deserializeRaw(e){return"string"!=typeof e?e:e.startsWith(Ie)?function(e){if(globalThis.Buffer)return Buffer.from(e,"base64");return Uint8Array.from(globalThis.atob(e),(e=>e.codePointAt(0)))}(e.slice(7)):e}const Me=["has","hasItem","get","getItem","getItemRaw","set","setItem","setItemRaw","del","remove","removeItem","getMeta","setMeta","removeMeta","getKeys","clear","mount","unmount"];function normalizeKey$2(e){return e&&e.split("?")[0]?.replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,"")||""}function joinKeys$1(...e){return normalizeKey$2(e.join(":"))}function normalizeBaseKey(e){return(e=normalizeKey$2(e))?e+":":""}const memory=()=>{const e=new Map;return{name:"memory",getInstance:()=>e,hasItem:t=>e.has(t),getItem:t=>e.get(t)??null,getItemRaw:t=>e.get(t)??null,setItem(t,s){e.set(t,s)},setItemRaw(t,s){e.set(t,s)},removeItem(t){e.delete(t)},getKeys:()=>[...e.keys()],clear(){e.clear()},dispose(){e.clear()}}};function createStorage(e={}){const t={mounts:{"":e.driver||memory()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},getMount=e=>{for(const s of t.mountpoints)if(e.startsWith(s))return{base:s,relativeKey:e.slice(s.length),driver:t.mounts[s]};return{base:"",relativeKey:e,driver:t.mounts[""]}},getMounts=(e,s)=>t.mountpoints.filter((t=>t.startsWith(e)||s&&e.startsWith(t))).map((s=>({relativeBase:e.length>s.length?e.slice(s.length):void 0,mountpoint:s,driver:t.mounts[s]}))),onChange=(e,s)=>{if(t.watching){s=normalizeKey$2(s);for(const a of t.watchListeners)a(e,s)}},stopWatch=async()=>{if(t.watching){for(const e in t.unwatch)await t.unwatch[e]();t.unwatch={},t.watching=!1}},runBatch=(e,t,s)=>{const a=new Map,getBatch=e=>{let t=a.get(e.base);return t||(t={driver:e.driver,base:e.base,items:[]},a.set(e.base,t)),t};for(const s of e){const e="string"==typeof s,a=normalizeKey$2(e?s:s.key),c=e?void 0:s.value,l=e||!s.options?t:{...t,...s.options},u=getMount(a);getBatch(u).items.push({key:a,value:c,relativeKey:u.relativeKey,options:l})}return Promise.all([...a.values()].map((e=>s(e)))).then((e=>e.flat()))},s={hasItem(e,t={}){e=normalizeKey$2(e);const{relativeKey:s,driver:a}=getMount(e);return asyncCall(a.hasItem,s,t)},getItem(e,t={}){e=normalizeKey$2(e);const{relativeKey:s,driver:a}=getMount(e);return asyncCall(a.getItem,s,t).then((e=>destr(e)))},getItems:(e,t={})=>runBatch(e,t,(e=>e.driver.getItems?asyncCall(e.driver.getItems,e.items.map((e=>({key:e.relativeKey,options:e.options}))),t).then((t=>t.map((t=>({key:joinKeys$1(e.base,t.key),value:destr(t.value)}))))):Promise.all(e.items.map((t=>asyncCall(e.driver.getItem,t.relativeKey,t.options).then((e=>({key:t.key,value:destr(e)})))))))),getItemRaw(e,t={}){e=normalizeKey$2(e);const{relativeKey:s,driver:a}=getMount(e);return a.getItemRaw?asyncCall(a.getItemRaw,s,t):asyncCall(a.getItem,s,t).then((e=>deserializeRaw(e)))},async setItem(e,t,a={}){if(void 0===t)return s.removeItem(e);e=normalizeKey$2(e);const{relativeKey:c,driver:l}=getMount(e);l.setItem&&(await asyncCall(l.setItem,c,stringify(t),a),l.watch||onChange("update",e))},async setItems(e,t){await runBatch(e,t,(async e=>{if(e.driver.setItems)return asyncCall(e.driver.setItems,e.items.map((e=>({key:e.relativeKey,value:stringify(e.value),options:e.options}))),t);e.driver.setItem&&await Promise.all(e.items.map((t=>asyncCall(e.driver.setItem,t.relativeKey,stringify(t.value),t.options))))}))},async setItemRaw(e,t,a={}){if(void 0===t)return s.removeItem(e,a);e=normalizeKey$2(e);const{relativeKey:c,driver:l}=getMount(e);if(l.setItemRaw)await asyncCall(l.setItemRaw,c,t,a);else{if(!l.setItem)return;await asyncCall(l.setItem,c,serializeRaw(t),a)}l.watch||onChange("update",e)},async removeItem(e,t={}){"boolean"==typeof t&&(t={removeMeta:t}),e=normalizeKey$2(e);const{relativeKey:s,driver:a}=getMount(e);a.removeItem&&(await asyncCall(a.removeItem,s,t),(t.removeMeta||t.removeMata)&&await asyncCall(a.removeItem,s+"$",t),a.watch||onChange("remove",e))},async getMeta(e,t={}){"boolean"==typeof t&&(t={nativeOnly:t}),e=normalizeKey$2(e);const{relativeKey:s,driver:a}=getMount(e),c=Object.create(null);if(a.getMeta&&Object.assign(c,await asyncCall(a.getMeta,s,t)),!t.nativeOnly){const e=await asyncCall(a.getItem,s+"$",t).then((e=>destr(e)));e&&"object"==typeof e&&("string"==typeof e.atime&&(e.atime=new Date(e.atime)),"string"==typeof e.mtime&&(e.mtime=new Date(e.mtime)),Object.assign(c,e))}return c},setMeta(e,t,s={}){return this.setItem(e+"$",t,s)},removeMeta(e,t={}){return this.removeItem(e+"$",t)},async getKeys(e,t={}){e=normalizeBaseKey(e);const s=getMounts(e,!0);let a=[];const c=[];let l=!0;for(const e of s){e.driver.flags?.maxDepth||(l=!1);const s=await asyncCall(e.driver.getKeys,e.relativeBase,t);for(const t of s){const s=e.mountpoint+normalizeKey$2(t);a.some((e=>s.startsWith(e)))||c.push(s)}a=[e.mountpoint,...a.filter((t=>!t.startsWith(e.mountpoint)))]}const u=void 0!==t.maxDepth&&!l;return c.filter((s=>(!u||function(e,t){if(void 0===t)return!0;let s=0,a=e.indexOf(":");for(;a>-1;)s++,a=e.indexOf(":",a+1);return s<=t}(s,t.maxDepth))&&function(e,t){return t?e.startsWith(t)&&"$"!==e[e.length-1]:"$"!==e[e.length-1]}(s,e)))},async clear(e,t={}){e=normalizeBaseKey(e),await Promise.all(getMounts(e,!1).map((async e=>{if(e.driver.clear)return asyncCall(e.driver.clear,e.relativeBase,t);if(e.driver.removeItem){const s=await e.driver.getKeys(e.relativeBase||"",t);return Promise.all(s.map((s=>e.driver.removeItem(s,t))))}})))},async dispose(){await Promise.all(Object.values(t.mounts).map((e=>dispose(e))))},watch:async e=>(await(async()=>{if(!t.watching){t.watching=!0;for(const e in t.mounts)t.unwatch[e]=await watch(t.mounts[e],onChange,e)}})(),t.watchListeners.push(e),async()=>{t.watchListeners=t.watchListeners.filter((t=>t!==e)),0===t.watchListeners.length&&await stopWatch()}),async unwatch(){t.watchListeners=[],await stopWatch()},mount(e,a){if((e=normalizeBaseKey(e))&&t.mounts[e])throw new Error(`already mounted at ${e}`);return e&&(t.mountpoints.push(e),t.mountpoints.sort(((e,t)=>t.length-e.length))),t.mounts[e]=a,t.watching&&Promise.resolve(watch(a,onChange,e)).then((s=>{t.unwatch[e]=s})).catch(console.error),s},async unmount(e,s=!0){(e=normalizeBaseKey(e))&&t.mounts[e]&&(t.watching&&e in t.unwatch&&(t.unwatch[e]?.(),delete t.unwatch[e]),s&&await dispose(t.mounts[e]),t.mountpoints=t.mountpoints.filter((t=>t!==e)),delete t.mounts[e])},getMount(e=""){e=normalizeKey$2(e)+":";const t=getMount(e);return{driver:t.driver,base:t.base}},getMounts(e="",t={}){e=normalizeKey$2(e);return getMounts(e,t.parents).map((e=>({driver:e.driver,base:e.mountpoint})))},keys:(e,t={})=>s.getKeys(e,t),get:(e,t={})=>s.getItem(e,t),set:(e,t,a={})=>s.setItem(e,t,a),has:(e,t={})=>s.hasItem(e,t),del:(e,t={})=>s.removeItem(e,t),remove:(e,t={})=>s.removeItem(e,t)};return s}function watch(e,t,s){return e.watch?e.watch(((e,a)=>t(e,s+a))):()=>{}}async function dispose(e){"function"==typeof e.dispose&&await asyncCall(e.dispose)}const He={"server:sha3_wasm_bg.7b9ca65ddd.wasm":{import:()=>import("../raw/sha3_wasm_bg.7b9ca65ddd.mjs").then((e=>e.default||e)),meta:{type:"application/wasm",etag:'"67f4-HA9hIZkJpnMfafDJeYUwPEld3vA"',mtime:"2025-03-15T06:37:43.008Z"}}},normalizeKey$1=function(e){return e&&e.split("?")[0]?.replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,"")||""},Oe={getKeys:()=>Promise.resolve(Object.keys(He)),hasItem:e=>(e=normalizeKey$1(e),Promise.resolve(e in He)),getItem:e=>(e=normalizeKey$1(e),Promise.resolve(He[e]?He[e].import():null)),getMeta:e=>(e=normalizeKey$1(e),Promise.resolve(He[e]?He[e].meta:{}))};function defineDriver(e){return e}function joinKeys(...e){return e.map((e=>function(e,t=":"){return e?e.replace(/[:/\\]/g,t).replace(/^[:/\\]|[:/\\]$/g,""):""}(e))).filter(Boolean).join(":")}function createError(e,t,s){const a=new Error(`[unstorage] [${e}] ${t}`,s);return Error.captureStackTrace&&Error.captureStackTrace(a,createError),a}function createRequiredError(e,t){return Array.isArray(t)?createError(e,`Missing some of the required options ${t.map((e=>"`"+e+"`")).join(", ")}`):createError(e,`Missing required option \`${t}\`.`)}function ignoreNotfound(e){return"ENOENT"===e.code||"EISDIR"===e.code?null:e}function ignoreExists(e){return"EEXIST"===e.code?null:e}async function writeFile(e,t,s){return await ensuredir(g(e)),d.writeFile(e,t,s)}function readFile(e,t){return d.readFile(e,t).catch(ignoreNotfound)}function readdir(e){return d.readdir(e,{withFileTypes:!0}).catch(ignoreNotfound).then((e=>e||[]))}async function ensuredir(e){h(e)||(await ensuredir(g(e)).catch(ignoreExists),await d.mkdir(e).catch(ignoreExists))}async function readdirRecursive(e,t,s){if(t&&t(e))return[];const a=await readdir(e),c=[];return await Promise.all(a.map((async a=>{const l=m(e,a.name);if(a.isDirectory()){if(void 0===s||s>0){const e=await readdirRecursive(l,t,void 0===s?void 0:s-1);c.push(...e.map((e=>a.name+"/"+e)))}}else t&&t(a.name)||c.push(a.name)}))),c}async function rmRecursive(e){const t=await readdir(e);await Promise.all(t.map((t=>{const s=m(e,t.name);return t.isDirectory()?rmRecursive(s).then((()=>d.rmdir(s))):d.unlink(s)})))}const qe=/\.\.:|\.\.$/,De="fs-lite",unstorage_47drivers_47fs_45lite=(e={})=>{if(!e.base)throw createRequiredError(De,"base");e.base=m(e.base);const r=t=>{if(qe.test(t))throw createError(De,`Invalid key: ${JSON.stringify(t)}. It should not contain .. segments`);return v(e.base,t.replace(/:/g,"/"))};return{name:De,options:e,flags:{maxDepth:!0},hasItem:e=>h(r(e)),getItem:e=>readFile(r(e),"utf8"),getItemRaw:e=>readFile(r(e)),async getMeta(e){const{atime:t,mtime:s,size:a,birthtime:c,ctime:l}=await d.stat(r(e)).catch((()=>({})));return{atime:t,mtime:s,size:a,birthtime:c,ctime:l}},setItem(t,s){if(!e.readOnly)return writeFile(r(t),s,"utf8")},setItemRaw(t,s){if(!e.readOnly)return writeFile(r(t),s)},removeItem(t){if(!e.readOnly)return function(e){return d.unlink(e).catch(ignoreNotfound)}(r(t))},getKeys:(t,s)=>readdirRecursive(r("."),e.ignore,s?.maxDepth),async clear(){e.readOnly||e.noClear||await rmRecursive(r("."))}}},Pe=createStorage({});function useStorage(e=""){return e?function(e,t){if(!(t=normalizeBaseKey(t)))return e;const s={...e};for(const a of Me)s[a]=(s="",...c)=>e[a](t+s,...c);return s.getKeys=(s="",...a)=>e.getKeys(t+s,...a).then((e=>e.map((e=>e.slice(t.length))))),s}(Pe,e):Pe}Pe.mount("/assets",Oe),Pe.mount("data",unstorage_47drivers_47fs_45lite({driver:"fsLite",base:"./.data/kv"}));const Xe=globalThis.process?.getBuiltinModule?.("crypto")?.hash,Le="sha256",Ue="base64url";function hash(e){return function(e){if(Xe)return Xe(Le,e,Ue);const t=j(Le).update(e);return globalThis.process?.versions?.webcontainer?t.digest().toString(Ue):t.digest(Ue)}("string"==typeof e?e:function(e){const t=new Hasher;return t.dispatch(e),t.buff}(e)).replace(/[-_]/g,"").slice(0,10)}class Hasher{buff="";#e=new Map;write(e){this.buff+=e}dispatch(e){return this[null===e?"null":typeof e](e)}object(e){if(e&&"function"==typeof e.toJSON)return this.object(e.toJSON());const t=Object.prototype.toString.call(e);let s="";const a=t.length;s=a<10?"unknown:["+t+"]":t.slice(8,a-1),s=s.toLowerCase();let c=null;if(void 0!==(c=this.#e.get(e)))return this.dispatch("[CIRCULAR:"+c+"]");if(this.#e.set(e,this.#e.size),"undefined"!=typeof Buffer&&Buffer.isBuffer&&Buffer.isBuffer(e))return this.write("buffer:"),this.write(e.toString("utf8"));if("object"!==s&&"function"!==s&&"asyncfunction"!==s)this[s]?this[s](e):this.unknown(e,s);else{const t=Object.keys(e).sort(),s=[];this.write("object:"+(t.length+s.length)+":");const dispatchForKey=t=>{this.dispatch(t),this.write(":"),this.dispatch(e[t]),this.write(",")};for(const e of t)dispatchForKey(e);for(const e of s)dispatchForKey(e)}}array(e,t){if(t=void 0!==t&&t,this.write("array:"+e.length+":"),!t||e.length<=1){for(const t of e)this.dispatch(t);return}const s=new Map,a=e.map((e=>{const t=new Hasher;t.dispatch(e);for(const[e,a]of t.#e)s.set(e,a);return t.toString()}));return this.#e=s,a.sort(),this.array(a,!1)}date(e){return this.write("date:"+e.toJSON())}symbol(e){return this.write("symbol:"+e.toString())}unknown(e,t){if(this.write(t),e)return this.write(":"),e&&"function"==typeof e.entries?this.array([...e.entries()],!0):void 0}error(e){return this.write("error:"+e.toString())}boolean(e){return this.write("bool:"+e)}string(e){this.write("string:"+e.length+":"),this.write(e)}function(e){this.write("fn:"),!function(e){if("function"!=typeof e)return!1;return Function.prototype.toString.call(e).slice(-Fe)===We}(e)?this.dispatch(e.toString()):this.dispatch("[native]")}number(e){return this.write("number:"+e)}null(){return this.write("Null")}undefined(){return this.write("Undefined")}regexp(e){return this.write("regex:"+e.toString())}arraybuffer(e){return this.write("arraybuffer:"),this.dispatch(new Uint8Array(e))}url(e){return this.write("url:"+e.toString())}map(e){this.write("map:");const t=[...e];return this.array(t,!1)}set(e){this.write("set:");const t=[...e];return this.array(t,!1)}bigint(e){return this.write("bigint:"+e.toString())}}for(const e of["uint8array","uint8clampedarray","unt8array","uint16array","unt16array","uint32array","unt32array","float32array","float64array"])Hasher.prototype[e]=function(t){return this.write(e+":"),this.array([...t],!1)};const We="[native code] }",Fe=We.length;function defineCachedFunction(e,t={}){t={name:"_",base:"/cache",swr:!0,maxAge:1,...t};const s={},a=t.group||"nitro/functions",c=t.name||e.name||"_",l=t.integrity||hash([e,t]),u=t.validate||(e=>void 0!==e.value);return async(...d)=>{if(await(t.shouldBypassCache?.(...d)))return e(...d);const h=await(t.getKey||getKey)(...d),f=await(t.shouldInvalidateCache?.(...d)),m=await async function(e,d,h,f){const m=[t.base,a,c,e+".json"].filter(Boolean).join(":").replace(/:\/$/,":index");let g=await useStorage().getItem(m).catch((e=>{console.error("[cache] Cache read error.",e),useNitroApp().captureError(e,{event:f,tags:["cache"]})}))||{};if("object"!=typeof g){g={};const e=new Error("Malformed data read from cache.");console.error("[cache]",e),useNitroApp().captureError(e,{event:f,tags:["cache"]})}const v=1e3*(t.maxAge??0);v&&(g.expires=Date.now()+v);const j=h||g.integrity!==l||v&&Date.now()-(g.mtime||0)>v||!1===u(g),T=j?(async()=>{const a=s[e];a||(void 0!==g.value&&(t.staleMaxAge||0)>=0&&!1===t.swr&&(g.value=void 0,g.integrity=void 0,g.mtime=void 0,g.expires=void 0),s[e]=Promise.resolve(d()));try{g.value=await s[e]}catch(t){throw a||delete s[e],t}if(!a&&(g.mtime=Date.now(),g.integrity=l,delete s[e],!1!==u(g))){let e;t.maxAge&&!t.swr&&(e={ttl:t.maxAge});const s=useStorage().setItem(m,g,e).catch((e=>{console.error("[cache] Cache write error.",e),useNitroApp().captureError(e,{event:f,tags:["cache"]})}));f?.waitUntil&&f.waitUntil(s)}})():Promise.resolve();return void 0===g.value?await T:j&&f&&f.waitUntil&&f.waitUntil(T),t.swr&&!1!==u(g)?(T.catch((e=>{console.error("[cache] SWR handler error.",e),useNitroApp().captureError(e,{event:f,tags:["cache"]})})),g):T.then((()=>g))}(h,(()=>e(...d)),f,d[0]&&isEvent(d[0])?d[0]:void 0);let g=m.value;return t.transform&&(g=await t.transform(m,...d)||g),g}}function getKey(...e){return e.length>0?hash(e):""}function escapeKey(e){return String(e).replace(/\W/g,"")}function cloneWithProxy(e,t){return new Proxy(e,{get:(e,s,a)=>s in t?t[s]:Reflect.get(e,s,a),set:(e,s,a,c)=>s in t?(t[s]=a,!0):Reflect.set(e,s,a,c)})}const cachedEventHandler=function(e,t={name:"_",base:"/cache",swr:!0,maxAge:1}){const s=(t.varies||[]).filter(Boolean).map((e=>e.toLowerCase())).sort(),a={...t,getKey:async e=>{const a=await(t.getKey?.(e));if(a)return escapeKey(a);const c=e.node.req.originalUrl||e.node.req.url||e.path;let l;try{l=escapeKey(decodeURI(parseURL(c).pathname)).slice(0,16)||"index"}catch{l="-"}return[`${l}.${hash(c)}`,...s.map((t=>[t,e.node.req.headers[t]])).map((([e,t])=>`${escapeKey(e)}.${hash(t)}`))].join(":")},validate:e=>!!e.value&&(!(e.value.code>=400)&&(void 0!==e.value.body&&("undefined"!==e.value.headers.etag&&"undefined"!==e.value.headers["last-modified"]))),group:t.group||"nitro/handlers",integrity:t.integrity||hash([e,t])},c=function(e,t={}){return defineCachedFunction(e,t)}((async c=>{const l={};for(const e of s){const t=c.node.req.headers[e];void 0!==t&&(l[e]=t)}const u=cloneWithProxy(c.node.req,{headers:l}),d={};let h;const f=createEvent(u,cloneWithProxy(c.node.res,{statusCode:200,writableEnded:!1,writableFinished:!1,headersSent:!1,closed:!1,getHeader:e=>d[e],setHeader(e,t){return d[e]=t,this},getHeaderNames:()=>Object.keys(d),hasHeader:e=>e in d,removeHeader(e){delete d[e]},getHeaders:()=>d,end(e,t,s){return"string"==typeof e&&(h=e),"function"==typeof t&&t(),"function"==typeof s&&s(),this},write:(e,t,s)=>("string"==typeof e&&(h=e),"function"==typeof t&&t(void 0),"function"==typeof s&&s(),!0),writeHead(e,t){if(this.statusCode=e,t){if(Array.isArray(t)||"string"==typeof t)throw new TypeError("Raw headers is not supported.");for(const e in t){const s=t[e];void 0!==s&&this.setHeader(e,s)}}return this}}));f.fetch=(e,t)=>fetchWithEvent(f,e,t,{fetch:useNitroApp().localFetch}),f.$fetch=(e,t)=>fetchWithEvent(f,e,t,{fetch:globalThis.$fetch}),f.waitUntil=c.waitUntil,f.context=c.context,f.context.cache={options:a};const m=await e(f)||h,g=f.node.res.getHeaders();g.etag=String(g.Etag||g.etag||`W/"${hash(m)}"`),g["last-modified"]=String(g["Last-Modified"]||g["last-modified"]||(new Date).toUTCString());const v=[];t.swr?(t.maxAge&&v.push(`s-maxage=${t.maxAge}`),t.staleMaxAge?v.push(`stale-while-revalidate=${t.staleMaxAge}`):v.push("stale-while-revalidate")):t.maxAge&&v.push(`max-age=${t.maxAge}`),v.length>0&&(g["cache-control"]=v.join(", "));return{code:f.node.res.statusCode,headers:g,body:m}}),a);return defineEventHandler((async s=>{if(t.headersOnly){if(handleCacheHeaders(s,{maxAge:t.maxAge}))return;return e(s)}const a=await c(s);if(s.node.res.headersSent||s.node.res.writableEnded)return a.body;if(!handleCacheHeaders(s,{modifiedTime:new Date(a.headers["last-modified"]),etag:a.headers.etag,maxAge:t.maxAge})){s.node.res.statusCode=a.code;for(const e in a.headers){const t=a.headers[e];"set-cookie"===e?s.node.res.appendHeader(e,splitCookiesString(t)):void 0!==t&&s.node.res.setHeader(e,t)}return a.body}}))};function klona(e){if("object"!=typeof e)return e;var t,s,a=Object.prototype.toString.call(e);if("[object Object]"===a){if(e.constructor!==Object&&"function"==typeof e.constructor)for(t in s=new e.constructor,e)e.hasOwnProperty(t)&&s[t]!==e[t]&&(s[t]=klona(e[t]));else for(t in s={},e)"__proto__"===t?Object.defineProperty(s,t,{value:klona(e[t]),configurable:!0,enumerable:!0,writable:!0}):s[t]=klona(e[t]);return s}if("[object Array]"===a){for(t=e.length,s=Array(t);t--;)s[t]=klona(e[t]);return s}return"[object Set]"===a?(s=new Set,e.forEach((function(e){s.add(klona(e))})),s):"[object Map]"===a?(s=new Map,e.forEach((function(e,t){s.set(klona(t),klona(e))})),s):"[object Date]"===a?new Date(+e):"[object RegExp]"===a?((s=new RegExp(e.source,e.flags)).lastIndex=e.lastIndex,s):"[object DataView]"===a?new e.constructor(klona(e.buffer)):"[object ArrayBuffer]"===a?e.slice(0):"Array]"===a.slice(-6)?new e.constructor(e):e}const Ge=W({}),Je=/\d/,Qe=["-","_","/","."];function isUppercase(e=""){if(!Je.test(e))return e!==e.toLowerCase()}function kebabCase(e,t){return e?(Array.isArray(e)?e:function(e){const t=Qe,s=[];if(!e||"string"!=typeof e)return s;let a,c,l="";for(const u of e){const e=t.includes(u);if(!0===e){s.push(l),l="",a=void 0;continue}const d=isUppercase(u);if(!1===c){if(!1===a&&!0===d){s.push(l),l=u,a=d;continue}if(!0===a&&!1===d&&l.length>1){const e=l.at(-1);s.push(l.slice(0,Math.max(0,l.length-1))),l=e+u,a=d;continue}}l+=u,a=d,c=e}return s.push(l),s}(e)).map((e=>e.toLowerCase())).join(t):""}function getEnv(t,s){const a=(c=t,kebabCase(c||"","_")).toUpperCase();var c;return destr(e.env[s.prefix+a]??e.env[s.altPrefix+a])}function _isObject(e){return"object"==typeof e&&!Array.isArray(e)}const Ye=/\{\{([^{}]*)\}\}/g;const Ve={app:{baseURL:"/"},nitro:{routeRules:{"/*/**":{cors:!0,headers:{"access-control-allow-origin":"*","access-control-allow-methods":"*","access-control-allow-headers":"*","access-control-max-age":"0","Access-Control-Allow-Methods":"GET,HEAD,PUT,PATCH,POST,DELETE","Access-Control-Allow-Origin":"*","Access-Control-Allow-Credentials":"true","Access-Control-Allow-Headers":"*","Access-Control-Expose-Headers":"*"}}}},models:[{title:"OpenAI ChatGPT",route:"/openai/chatgpt",provider:"openai",apiBase:"https://api.openai.com/v1/chat/completions",model:"gpt-3.5-turbo"},{title:"OpenAI ChatGPT",route:"/app/chatgpt",provider:"openai",apiBase:"https://api.openai.com/v1/chat/completions",model:"gpt-3.5-turbo"},{title:"OpenAI ChatGPT",route:"/api/chatgpt",provider:"openai",apiBase:"https://api.openai.com/v1/chat/completions",model:"gpt-3.5-turbo"},{title:"Groq",route:"/openai/groq",provider:"openai",apiBase:"https://api.groq.com/openai/v1/chat/completions",model:"llama3-70b-8192"},{title:"Groq",route:"/app/groq",provider:"openai",apiBase:"https://api.groq.com/openai/v1/chat/completions",model:"llama3-70b-8192"},{title:"Groq",route:"/api/groq",provider:"openai",apiBase:"https://api.groq.com/openai/v1/chat/completions",model:"llama3-70b-8192"},{title:"OpenAI qwen",route:"/openai/qwen",provider:"openai",apiBase:"https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",model:"qwen-turbo"},{title:"OpenAI qwen",route:"/app/qwen",provider:"openai",apiBase:"https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",model:"qwen-turbo"},{title:"OpenAI qwen",route:"/api/qwen",provider:"openai",apiBase:"https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",model:"qwen-turbo"},{title:"doubao",route:"/openai/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"doubao",route:"/app/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"doubao",route:"/api/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"GLM",route:"/openai/glm",provider:"openai",apiBase:"https://open.bigmodel.cn/api/paas/v4/chat/completions",model:"glm-4"},{title:"GLM",route:"/app/glm",provider:"openai",apiBase:"https://open.bigmodel.cn/api/paas/v4/chat/completions",model:"glm-4"},{title:"GLM",route:"/api/glm",provider:"openai",apiBase:"https://open.bigmodel.cn/api/paas/v4/chat/completions",model:"glm-4"},{title:"YI",route:"/openai/yi",provider:"openai",apiBase:"https://api.lingyiwanwu.com/v1/chat/completions",model:""},{title:"YI",route:"/app/yi",provider:"openai",apiBase:"https://api.lingyiwanwu.com/v1/chat/completions",model:""},{title:"YI",route:"/api/yi",provider:"openai",apiBase:"https://api.lingyiwanwu.com/v1/chat/completions",model:""},{title:"豆包",route:"/openai/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"豆包",route:"/app/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"豆包",route:"/api/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"百川",route:"/openai/baichuan",provider:"openai",apiBase:"https://api.baichuan-ai.com/v1/chat/completions",model:"Baichuan4"},{title:"百川",route:"/app/baichuan",provider:"openai",apiBase:"https://api.baichuan-ai.com/v1/chat/completions",model:"Baichuan4"},{title:"百川",route:"/api/baichuan",provider:"openai",apiBase:"https://api.baichuan-ai.com/v1/chat/completions",model:"Baichuan4"},{title:"minimax",route:"/openai/minimax",provider:"openai",apiBase:"https://api.minimax.chat/v1/text/chatcompletion_v2",model:"abab6.5-chat"},{title:"minimax",route:"/app/minimax",provider:"openai",apiBase:"https://api.minimax.chat/v1/text/chatcompletion_v2",model:"abab6.5-chat"},{title:"minimax",route:"/api/minimax",provider:"openai",apiBase:"https://api.minimax.chat/v1/text/chatcompletion_v2",model:"abab6.5-chat"},{title:"mistral",route:"/openai/mistral",provider:"openai",apiBase:"https://api.mistral.ai/v1/chat/completions",model:"mistral-small-latest"},{title:"mistral",route:"/app/mistral",provider:"openai",apiBase:"https://api.mistral.ai/v1/chat/completions",model:"mistral-small-latest"},{title:"mistral",route:"/api/mistral",provider:"openai",apiBase:"https://api.mistral.ai/v1/chat/completions",model:"mistral-small-latest"},{title:"mistral code",route:"/openai/mistral-code",provider:"openai",apiBase:"https://codestral.mistral.ai/v1/chat/completions",model:"codestral-latest"},{title:"mistral code",route:"/app/mistral-code",provider:"openai",apiBase:"https://codestral.mistral.ai/v1/chat/completions",model:"codestral-latest"},{title:"mistral code",route:"/api/mistral-code",provider:"openai",apiBase:"https://codestral.mistral.ai/v1/chat/completions",model:"codestral-latest"},{title:"moonshot",route:"/openai/moonshot",provider:"openai",apiBase:"https://api.moonshot.cn/v1/chat/completions",model:"moonshot-v1-8k"},{title:"moonshot",route:"/app/moonshot",provider:"openai",apiBase:"https://api.moonshot.cn/v1/chat/completions",model:"moonshot-v1-8k"},{title:"moonshot",route:"/api/moonshot",provider:"openai",apiBase:"https://api.moonshot.cn/v1/chat/completions",model:"moonshot-v1-8k"},{title:"spark-api-open",route:"/openai/spark-api-open",provider:"openai",apiBase:"https://spark-api-open.xf-yun.com/v1/chat/completions",model:"general"},{title:"spark-api-open",route:"/app/spark-api-open",provider:"openai",apiBase:"https://spark-api-open.xf-yun.com/v1/chat/completions",model:"general"},{title:"spark-api-open",route:"/api/spark-api-open",provider:"openai",apiBase:"https://spark-api-open.xf-yun.com/v1/chat/completions",model:"general"},{title:"fireworks",route:"/openai/fireworks",provider:"openai",apiBase:"https://api.fireworks.ai/inference/v1/chat/completions",model:"accounts/fireworks/models/llama-v3p1-405b-instruct"},{title:"fireworks",route:"/app/fireworks",provider:"openai",apiBase:"https://api.fireworks.ai/inference/v1/chat/completions",model:"accounts/fireworks/models/llama-v3p1-405b-instruct"},{title:"fireworks",route:"/api/fireworks",provider:"openai",apiBase:"https://api.fireworks.ai/inference/v1/chat/completions",model:"accounts/fireworks/models/llama-v3p1-405b-instruct"},{title:"x",route:"/openai/x",provider:"openai",apiBase:"https://api.x.ai/v1/chat/completions",model:"grok-2-1212"},{title:"x",route:"/app/x",provider:"openai",apiBase:"https://api.x.ai/v1/chat/completions",model:"grok-2-1212"},{title:"x",route:"/api/x",provider:"openai",apiBase:"https://api.x.ai/v1/chat/completions",model:"grok-2-1212"},{title:"azure",route:"/openai/azure",provider:"azure",model:"gpt-3.5-turbo"},{title:"azure",route:"/app/azure",provider:"azure",model:"gpt-3.5-turbo"},{title:"azure",route:"/api/azure",provider:"azure",model:"gpt-3.5-turbo"},{title:"coze_cn_api",route:"/openai/cozecn",provider:"coze",apiBase:"https://api.coze.cn/v3/chat",model:""},{title:"coze_cn_api",route:"/app/cozecn",provider:"coze",apiBase:"https://api.coze.cn/v3/chat",model:""},{title:"coze_cn_api",route:"/api/cozecn",provider:"coze",apiBase:"https://api.coze.cn/v3/chat",model:""},{title:"coze_com_api",route:"/openai/cozecom",provider:"coze",apiBase:"https://api.coze.com/v3/chat",model:""},{title:"coze_com_api",route:"/app/cozecom",provider:"coze",apiBase:"https://api.coze.com/v3/chat",model:""},{title:"coze_com_api",route:"/api/cozecom",provider:"coze",apiBase:"https://api.coze.com/v3/chat",model:""},{title:"coze.com",route:"/openai/coze-com",provider:"coze_com",model:""},{title:"coze.com",route:"/app/coze-com",provider:"coze_com",model:""},{title:"coze.com",route:"/api/coze-com",provider:"coze_com",model:""},{title:"coze.cn",route:"/openai/coze-cn",provider:"coze_cn",model:""},{title:"coze.cn",route:"/app/coze-cn",provider:"coze_cn",model:""},{title:"coze.cn",route:"/api/coze-cn",provider:"coze_cn",model:""},{title:"deepseek",route:"/openai/deepseek",provider:"deepseek",model:"deepseek-chat"},{title:"deepseek",route:"/app/deepseek",provider:"deepseek",model:"deepseek-chat"},{title:"deepseek",route:"/api/deepseek",provider:"deepseek",model:"deepseek-chat"},{title:"GitHub Copilot",route:"/openai/github-copilot",provider:"github_copilot",model:"gpt-4"},{title:"GitHub Copilot",route:"/app/github-copilot",provider:"github_copilot",model:"gpt-4"},{title:"GitHub Copilot",route:"/api/github-copilot",provider:"github_copilot",model:"gpt-4"},{title:"chatglm.cn",route:"/openai/chatglm",provider:"chatglm",model:"65940acff94777010aa6b796"},{title:"chatglm.cn",route:"/app/chatglm",provider:"chatglm",model:"65940acff94777010aa6b796"},{title:"chatglm.cn",route:"/api/chatglm",provider:"chatglm",model:"65940acff94777010aa6b796"},{title:"通译千问",route:"/openai/tongyi",provider:"tongyi",model:""},{title:"通译千问",route:"/app/tongyi",provider:"tongyi",model:""},{title:"通译千问",route:"/api/tongyi",provider:"tongyi",model:""},{title:"万知",route:"/openai/wanzhi",provider:"wanzhi",model:"LING"},{title:"万知",route:"/app/wanzhi",provider:"wanzhi",model:"LING"},{title:"万知",route:"/api/wanzhi",provider:"wanzhi",model:"LING"},{title:"huggingface",route:"/openai/huggingface",provider:"huggingface",model:""},{title:"huggingface",route:"/app/huggingface",provider:"huggingface",model:""},{title:"huggingface",route:"/api/huggingface",provider:"huggingface",model:""},{title:"ernie",route:"/openai/ernie",provider:"ernie",model:""},{title:"ernie",route:"/app/ernie",provider:"ernie",model:""},{title:"ernie",route:"/api/ernie",provider:"ernie",model:""},{title:"hunyuan",route:"/openai/hunyuan",provider:"hunyuan",model:""},{title:"hunyuan",route:"/app/hunyuan",provider:"hunyuan",model:""},{title:"hunyuan",route:"/api/hunyuan",provider:"hunyuan",model:""},{title:"vercel",route:"/openai/vercel",provider:"vercel",model:""},{title:"vercel",route:"/app/vercel",provider:"vercel",model:""},{title:"vercel",route:"/api/vercel",provider:"vercel",model:""},{title:"lmsys",route:"/openai/lmsys",provider:"lmsys",model:""},{title:"lmsys",route:"/app/lmsys",provider:"lmsys",model:""},{title:"lmsys",route:"/api/lmsys",provider:"lmsys",model:""},{title:"spark",route:"/openai/spark",provider:"spark",model:""},{title:"spark",route:"/app/spark",provider:"spark",model:""},{title:"spark",route:"/api/spark",provider:"spark",model:""},{title:"cloudflare",route:"/openai/cloudflare",provider:"cloudflare",model:""},{title:"cloudflare",route:"/app/cloudflare",provider:"cloudflare",model:""},{title:"cloudflare",route:"/api/cloudflare",provider:"cloudflare",model:""},{title:"mistral.ai",route:"/openai/mistral-ai",provider:"mistral_ai",model:""},{title:"mistral.ai",route:"/app/mistral-ai",provider:"mistral_ai",model:""},{title:"mistral.ai",route:"/api/mistral-ai",provider:"mistral_ai",model:""},{title:"claude",route:"/openai/claude",provider:"claude",model:""},{title:"claude",route:"/app/claude",provider:"claude",model:""},{title:"claude",route:"/api/claude",provider:"claude",model:""},{title:"anthropic",route:"/openai/anthropic",provider:"anthropic",model:""},{title:"anthropic",route:"/app/anthropic",provider:"anthropic",model:""},{title:"anthropic",route:"/api/anthropic",provider:"anthropic",model:""},{title:"cohere",route:"/openai/cohere",provider:"cohere",model:""},{title:"cohere",route:"/app/cohere",provider:"cohere",model:""},{title:"cohere",route:"/api/cohere",provider:"cohere",model:""},{title:"gemini",route:"/openai/gemini",provider:"gemini",model:"gemini-1.5-flash"},{title:"gemini",route:"/app/gemini",provider:"gemini",model:"gemini-1.5-flash"},{title:"gemini",route:"/api/gemini",provider:"gemini",model:"gemini-1.5-flash"},{title:"kimi",route:"/openai/kimi",provider:"kimi",model:""},{title:"kimi",route:"/app/kimi",provider:"kimi",model:""},{title:"kimi",route:"/api/kimi",provider:"kimi",model:""},{title:"gemini vertex",route:"/openai/gemini-vertex",provider:"gemini_vertex",model:""},{title:"gemini vertex",route:"/app/gemini-vertex",provider:"gemini_vertex",model:""},{title:"gemini vertex",route:"/api/gemini-vertex",provider:"gemini_vertex",model:""},{title:"anthropic vertex",route:"/openai/anthropic-vertex",provider:"anthropic_vertex",model:""},{title:"anthropic vertex",route:"/app/anthropic-vertex",provider:"anthropic_vertex",model:""},{title:"anthropic vertex",route:"/api/anthropic-vertex",provider:"anthropic_vertex",model:""},{title:"mistralai vertex",route:"/openai/mistralai-vertex",provider:"mistralai_vertex",model:""},{title:"mistralai vertex",route:"/app/mistralai-vertex",provider:"mistralai_vertex",model:""},{title:"mistralai vertex",route:"/api/mistralai-vertex",provider:"mistralai_vertex",model:""},{title:"openai vertex",route:"/openai/openai-vertex",provider:"openai_vertex",model:""},{title:"openai vertex",route:"/app/openai-vertex",provider:"openai_vertex",model:""},{title:"openai vertex",route:"/api/openai-vertex",provider:"openai_vertex",model:""},{title:"chatgpt.com",route:"/openai/chatgpt-com",provider:"chatgpt",model:"auto"},{title:"chatgpt.com",route:"/app/chatgpt-com",provider:"chatgpt",model:"auto"},{title:"chatgpt.com",route:"/api/chatgpt-com",provider:"chatgpt",model:"auto"},{title:"lyihub.com",route:"/openai/lyihub",provider:"lyihub",model:""},{title:"lyihub.com",route:"/app/lyihub",provider:"lyihub",model:""},{title:"lyihub.com",route:"/api/lyihub",provider:"lyihub",model:""},{title:"deepinfra",route:"/openai/deepinfra",provider:"deepinfra",model:""},{title:"deepinfra",route:"/app/deepinfra",provider:"deepinfra",model:""},{title:"deepinfra",route:"/api/deepinfra",provider:"deepinfra",model:""},{title:"replicate",route:"/openai/replicate",provider:"replicate",model:""},{title:"replicate",route:"/app/replicate",provider:"replicate",model:""},{title:"replicate",route:"/api/replicate",provider:"replicate",model:""},{title:"vecmul",route:"/openai/vecmul",provider:"vecmul",model:""},{title:"vecmul",route:"/app/vecmul",provider:"vecmul",model:""},{title:"vecmul",route:"/api/vecmul",provider:"vecmul",model:""},{title:"magai",route:"/openai/magai",provider:"magai",model:""},{title:"magai",route:"/app/magai",provider:"magai",model:""},{title:"magai",route:"/api/magai",provider:"magai",model:""},{title:"blackbox",route:"/openai/blackbox",provider:"blackbox",model:""},{title:"blackbox",route:"/app/blackbox",provider:"blackbox",model:""},{title:"blackbox",route:"/api/blackbox",provider:"blackbox",model:""},{title:"cursor",route:"/openai/cursor",provider:"cursor",model:""},{title:"cursor",route:"/app/cursor",provider:"cursor",model:""},{title:"cursor",route:"/api/cursor",provider:"cursor",model:""},{title:"zed",route:"/openai/zed",provider:"zed",model:""},{title:"zed",route:"/app/zed",provider:"zed",model:""},{title:"zed",route:"/api/zed",provider:"zed",model:""},{title:"pieces",route:"/openai/pieces",provider:"pieces",model:""},{title:"pieces",route:"/app/pieces",provider:"pieces",model:""},{title:"pieces",route:"/api/pieces",provider:"pieces",model:""},{title:"qodo",route:"/openai/qodo",provider:"qodo",model:""},{title:"qodo",route:"/app/qodo",provider:"qodo",model:""},{title:"qodo",route:"/api/qodo",provider:"qodo",model:""},{title:"genspark",route:"/openai/genspark",provider:"genspark",model:""},{title:"genspark",route:"/app/genspark",provider:"genspark",model:""},{title:"genspark",route:"/api/genspark",provider:"genspark",model:""},{title:"deepseek.com",route:"/openai/deepseek-com",provider:"deepseek_com",model:"deepseek-chat"},{title:"deepseek.com",route:"/app/deepseek-com",provider:"deepseek_com",model:"deepseek-chat"},{title:"deepseek.com",route:"/api/deepseek-com",provider:"deepseek_com",model:"deepseek-chat"},{title:"qwenlm",route:"/openai/qwenlm",provider:"qwenlm",model:""},{title:"qwenlm",route:"/app/qwenlm",provider:"qwenlm",model:""},{title:"qwenlm",route:"/api/qwenlm",provider:"qwenlm",model:""},{title:"genspark.image",route:"/openai/genspark-image",provider:"genspark_image",model:""},{title:"genspark.image",route:"/app/genspark-image",provider:"genspark_image",model:""},{title:"genspark.image",route:"/api/genspark-image",provider:"genspark_image",model:""},{title:"imagefx",route:"/openai/imagefx",provider:"imagefx",model:""},{title:"imagefx",route:"/app/imagefx",provider:"imagefx",model:""},{title:"imagefx",route:"/api/imagefx",provider:"imagefx",model:""},{title:"bing.image",route:"/openai/bing-image",provider:"bing_image",model:""},{title:"bing.image",route:"/app/bing-image",provider:"bing_image",model:""},{title:"bing.image",route:"/api/bing-image",provider:"bing_image",model:""},{title:"siliconflow.image",route:"/openai/siliconflow-image",provider:"siliconflow_image",model:""},{title:"siliconflow.image",route:"/app/siliconflow-image",provider:"siliconflow_image",model:""},{title:"siliconflow.image",route:"/api/siliconflow-image",provider:"siliconflow_image",model:""},{title:"cloudflare.image",route:"/openai/cloudflare-image",provider:"cloudflare_image",model:""},{title:"cloudflare.image",route:"/app/cloudflare-image",provider:"cloudflare_image",model:""},{title:"cloudflare.image",route:"/api/cloudflare-image",provider:"cloudflare_image",model:""},{title:"designer",route:"/openai/designer",provider:"designer",model:""},{title:"designer",route:"/app/designer",provider:"designer",model:""},{title:"designer",route:"/api/designer",provider:"designer",model:""},{title:"grok",route:"/openai/grok",provider:"grok",model:""},{title:"grok",route:"/app/grok",provider:"grok",model:""},{title:"grok",route:"/api/grok",provider:"grok",model:""},{title:"n",route:"/openai/n",provider:"n",model:""},{title:"n",route:"/app/n",provider:"n",model:""},{title:"n",route:"/api/n",provider:"n",model:""},{title:"firefly",route:"/openai/firefly",provider:"firefly",model:""},{title:"firefly",route:"/app/firefly",provider:"firefly",model:""},{title:"firefly",route:"/api/firefly",provider:"firefly",model:""},{title:"yuanbao",route:"/openai/yuanbao",provider:"yuanbao",model:""},{title:"yuanbao",route:"/app/yuanbao",provider:"yuanbao",model:""},{title:"yuanbao",route:"/api/yuanbao",provider:"yuanbao",model:""}]},$e={prefix:"NITRO_",altPrefix:Ve.nitro.envPrefix??e.env.NITRO_ENV_PREFIX??"_",envExpansion:Ve.nitro.envExpansion??e.env.NITRO_ENV_EXPANSION??!1},et=_deepFreeze(function applyEnv(t,s,a=""){for(const c in t){const l=a?`${a}_${c}`:c,u=getEnv(l,s);_isObject(t[c])?_isObject(u)?(t[c]={...t[c],...u},applyEnv(t[c],s,l)):void 0===u?applyEnv(t[c],s,l):t[c]=u??t[c]:t[c]=u??t[c],s.envExpansion&&"string"==typeof t[c]&&(t[c]=t[c].replace(Ye,((t,s)=>e.env[s]||t)))}return t}(klona(Ve),$e));function useRuntimeConfig(e){return et}function _deepFreeze(e){const t=Object.getOwnPropertyNames(e);for(const s of t){const t=e[s];t&&"object"==typeof t&&_deepFreeze(t)}return Object.freeze(e)}_deepFreeze(klona(Ge)),new Proxy(Object.create(null),{get:(e,t)=>{console.warn("Please use `useRuntimeConfig()` instead of accessing config directly.");const s=useRuntimeConfig();if(t in s)return s[t]}});const tt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof global?global:{},st="__unctx__",at=tt[st]||(tt[st]=function(e={}){const t={};return{get:(s,a={})=>(t[s]||(t[s]=function(e={}){let t,s=!1;const checkConflict=e=>{if(t&&t!==e)throw new Error("Context conflict")};let a;if(e.asyncContext){const t=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;t?a=new t:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const _getCurrentInstance=()=>{if(a){const e=a.getStore();if(void 0!==e)return e}return t};return{use:()=>{const e=_getCurrentInstance();if(void 0===e)throw new Error("Context is not available");return e},tryUse:()=>_getCurrentInstance(),set:(e,a)=>{a||checkConflict(e),t=e,s=!0},unset:()=>{t=void 0,s=!1},call:(e,c)=>{checkConflict(e),t=e;try{return a?a.run(e,c):c()}finally{s||(t=void 0)}},async callAsync(e,c){t=e;const onRestore=()=>{t=e},onLeave=()=>t===e?onRestore:void 0;ot.add(onLeave);try{const l=a?a.run(e,c):c();return s||(t=void 0),await l}finally{ot.delete(onLeave)}}}}({...e,...a})),t[s])}}()),rt="__unctx_async_handlers__",ot=tt[rt]||(tt[rt]=new Set);((e,t={})=>{at.get(e,t)})("nitro-app",{asyncContext:void 0,AsyncLocalStorage:void 0});const it=toRouteMatcher(createRouter$1({routes:useRuntimeConfig().nitro.routeRules}));function createRouteRulesHandler(e){return pe((t=>{const s=function(e){e.context._nitro=e.context._nitro||{},e.context._nitro.routeRules||(e.context._nitro.routeRules=getRouteRulesForPath(withoutBase(e.path.split("?")[0],useRuntimeConfig().app.baseURL)));return e.context._nitro.routeRules}(t);if(s.headers&&ie(t,s.headers),s.redirect){let e=s.redirect.to;if(e.endsWith("/**")){let a=t.path;const c=s.redirect._redirectStripBase;c&&(a=withoutBase(a,c)),e=joinURL(e.slice(0,-3),a)}else if(t.path.includes("?")){e=withQuery(e,getQuery$1(t.path))}return function(e,t,s=302){return e.node.res.statusCode=sanitizeStatusCode(s,e.node.res.statusCode),e.node.res.setHeader("location",t),send(e,``,ae.html)}(t,e,s.redirect.statusCode)}if(s.proxy){let a=s.proxy.to;if(a.endsWith("/**")){let e=t.path;const c=s.proxy._proxyStripBase;c&&(e=withoutBase(e,c)),a=joinURL(a.slice(0,-3),e)}else if(t.path.includes("?")){a=withQuery(a,getQuery$1(t.path))}return proxyRequest(t,a,{fetch:e.localFetch,...s.proxy})}}))}function getRouteRulesForPath(e){return U({},...it.matchAll(e).reverse())}function _captureError(e,t){console.error(`[${t}]`,e),useNitroApp().captureError(e,{tags:[t]})}function joinHeaders(e){return Array.isArray(e)?e.join(", "):String(e)}function normalizeCookieHeader(e=""){return splitCookiesString(joinHeaders(e))}function normalizeCookieHeaders(e){const t=new Headers;for(const[s,a]of e)if("set-cookie"===s)for(const e of normalizeCookieHeader(a))t.append("set-cookie",e);else t.set(s,joinHeaders(a));return t}const nt=function(){const e=useRuntimeConfig(),t=new Hookable,captureError=(e,s={})=>{const a=t.callHookParallel("error",e,s).catch((e=>{console.error("Error while capturing another error",e)}));if(s.event&&isEvent(s.event)){const t=s.event.context.nitro?.errors;t&&t.push({error:e,context:s}),s.event.waitUntil&&s.event.waitUntil(a)}},s=createApp({debug:destr(!1),onError:(e,t)=>(captureError(e,{event:t,tags:["request"]}),async function(e,t){for(const s of ze)try{if(await s(e,t,{defaultHandler:defaultHandler}),t.handled)return}catch(e){console.error(e)}}(e,t)),onRequest:async e=>{e.context.nitro=e.context.nitro||{errors:[]};const t=e.node.req?.__unenv__;t&&Object.assign(e.context,t),e.fetch=(t,s)=>fetchWithEvent(e,t,s,{fetch:localFetch}),e.$fetch=(t,s)=>fetchWithEvent(e,t,s,{fetch:l}),e.waitUntil=s=>{e.context.nitro._waitUntilPromises||(e.context.nitro._waitUntilPromises=[]),e.context.nitro._waitUntilPromises.push(s),t?.waitUntil&&t.waitUntil(s)},e.captureError=(t,s)=>{captureError(t,{event:e,...s})},await nt.hooks.callHook("request",e).catch((t=>{captureError(t,{event:e,tags:["request"]})}))},onBeforeResponse:async(e,t)=>{await nt.hooks.callHook("beforeResponse",e,t).catch((t=>{captureError(t,{event:e,tags:["request","response"]})}))},onAfterResponse:async(e,t)=>{await nt.hooks.callHook("afterResponse",e,t).catch((t=>{captureError(t,{event:e,tags:["request","response"]})}))}}),a=function(e={}){const t=createRouter$1({}),s={};let a;const c={},addRoute=(e,a,l)=>{let u=s[e];if(u||(s[e]=u={path:e,handlers:{}},t.insert(e,u)),Array.isArray(l))for(const t of l)addRoute(e,a,t);else u.handlers[l]=toEventHandler(a,0,e);return c};c.use=c.add=(e,t,s)=>addRoute(e,t,s||"all");for(const e of le)c[e]=(t,s)=>c.add(t,s,e);const matchHandler=(e="/",s="get")=>{const c=e.indexOf("?");-1!==c&&(e=e.slice(0,Math.max(0,c)));const l=t.lookup(e);if(!l||!l.handlers)return{error:createError$1({statusCode:404,name:"Not Found",statusMessage:`Cannot find any route matching ${e||"/"}.`})};let u=l.handlers[s]||l.handlers.all;if(!u){a||(a=toRouteMatcher(t));const c=a.matchAll(e).reverse();for(const e of c){if(e.handlers[s]){u=e.handlers[s],l.handlers[s]=l.handlers[s]||u;break}if(e.handlers.all){u=e.handlers.all,l.handlers.all=l.handlers.all||u;break}}}return u?{matched:l,handler:u}:{error:createError$1({statusCode:405,name:"Method Not Allowed",statusMessage:`Method ${s} is not allowed on this route.`})}},l=e.preemptive||e.preemtive;return c.handler=pe((e=>{const t=matchHandler(e.path,e.method.toLowerCase());if("error"in t){if(l)throw t.error;return}e.context.matchedRoute=t.matched;const s=t.matched.params||{};return e.context.params=s,Promise.resolve(t.handler(e)).then((e=>void 0===e&&l?null:e))})),c.handler.__resolve__=async e=>{e=withLeadingSlash(e);const t=matchHandler(e);if("error"in t)return;let s={route:t.matched.path,handler:t.handler};if(t.handler.__resolve__){const a=await t.handler.__resolve__(e);if(!a)return;s={...s,...a}}return s},c}({preemptive:!0}),c=toNodeListener(s),localFetch=(e,t)=>e.toString().startsWith("/")?async function(e,t,s={}){try{const a=await b(e,{url:t,...s});return new Response(a.body,{status:a.status,statusText:a.statusText,headers:S(a.headers)})}catch(e){return new Response(e.toString(),{status:Number.parseInt(e.statusCode||e.code)||500,statusText:e.statusText})}}(c,e,t).then((e=>function(e){return e.headers.has("set-cookie")?new Response(e.body,{status:e.status,statusText:e.statusText,headers:normalizeCookieHeaders(e.headers)}):e}(e))):globalThis.fetch(e,t),l=createFetch({fetch:localFetch,Headers:Te,defaults:{baseURL:e.app.baseURL}});globalThis.$fetch=l,s.use(createRouteRulesHandler({localFetch:localFetch}));for(const t of Ne){let c=t.lazy?lazyEventHandler(t.handler):t.handler;if(t.middleware||!t.route){const a=(e.app.baseURL+(t.route||"/")).replace(/\/+/g,"/");s.use(a,c)}else{const e=getRouteRulesForPath(t.route.replace(/:\w+|\*\*/g,"_"));e.cache&&(c=cachedEventHandler(c,{group:"nitro/routes",...e.cache})),a.use(t.route,c,t.method)}}return s.use(e.app.baseURL,a.handler),{hooks:t,h3App:s,router:a,localCall:e=>b(c,e),localFetch:localFetch,captureError:captureError}}();function useNitroApp(){return nt}!function(e){for(const t of Re)try{t(e)}catch(t){throw e.captureError(t,{tags:["plugin"]}),t}}(nt);function GracefulShutdown(s,a){a=a||{};const c=Object.assign({signals:"SIGINT SIGTERM",timeout:3e4,development:!1,forceExit:!0,onShutdown:e=>Promise.resolve(e),preShutdown:e=>Promise.resolve(e)},a);let l=!1;const u={};let d=0;const h={};let f=0,m=!1,g=!1;const v=c.signals.split(" ").map((e=>e.trim())).filter((e=>e.length>0)),j=function(){let e=!1;return(t,s,a)=>{function call(){if(!e)return e=!0,Reflect.apply(a,this,arguments)}for(const e of s)t.on(e,call)}}();function destroy(e,s=!1){(e._isIdle&&l||s)&&(e.destroy(),e.server instanceof t.Server?delete u[e._connectionId]:delete h[e._connectionId])}function destroyAllConnections(e=!1){for(const t of Object.keys(u)){const s=u[t],a=s._httpMessage;a&&!e?a.headersSent||a.setHeader("connection","close"):destroy(s)}for(const t of Object.keys(h)){const s=h[t],a=s._httpMessage;a&&!e?a.headersSent||a.setHeader("connection","close"):destroy(s)}}function shutdown(t){if(c.development)return e.exit(0);function waitForReadyToShutDown(e){if(0===e)return c.timeout,Promise.resolve(!0);return 0===Object.keys(u).length&&0===Object.keys(h).length?Promise.resolve(!1):new Promise((t=>{setTimeout((()=>{t(waitForReadyToShutDown(e-1))}),250)}))}return l?Promise.resolve():c.preShutdown(t).then((()=>{l=!0,destroyAllConnections(),new Promise(((e,t)=>{s.close((s=>s?t(s):e(!0)))}))})).then((()=>waitForReadyToShutDown(c.timeout?Math.round(c.timeout/250):0))).then((e=>(e&&destroyAllConnections(e),c.onShutdown(t)))).then((function(){return g||(g=!0,c.finally&&function(e){const t=Object.prototype.toString.call(e);return/^\[object\s([A-Za-z]+)?Function]$/.test(t)}(c.finally)&&c.finally()),Promise.resolve()})).catch((e=>{const t="string"==typeof e?e:JSON.stringify(e);throw m=!0,t}))}return j(e,v,(t=>{shutdown(t).then((()=>{c.forceExit&&e.exit(m?1:0)})).catch((t=>{e.exit(1)}))})),s.on("request",((e,t)=>{e.socket._isIdle=!1,l&&!t.headersSent&&t.setHeader("connection","close"),t.on("finish",(()=>{e.socket._isIdle=!0,destroy(e.socket)}))})),s.on("connection",(e=>{if(l)e.destroy();else{const t=d++;e._isIdle=!0,e._connectionId=t,u[t]=e,e.once("close",(()=>{delete u[e._connectionId]}))}})),s.on("secureConnection",(e=>{if(l)e.destroy();else{const t=f++;e._isIdle=!0,e._connectionId=t,h[t]=e,e.once("close",(()=>{delete h[e._connectionId]}))}})),e.on("close",(()=>{})),function(){return shutdown("manual")}}const ct=e.env.NITRO_SSL_CERT,pt=e.env.NITRO_SSL_KEY,lt=useNitroApp(),ut=ct&&pt?new c({key:pt,cert:ct},toNodeListener(lt.h3App)):new s(toNodeListener(lt.h3App)),dt=destr(e.env.NITRO_PORT||e.env.PORT)||3e3,ht=e.env.NITRO_HOST||e.env.HOST,ft=e.env.NITRO_UNIX_SOCKET,mt=ut.listen(ft?{path:ft}:{port:dt,host:ht},(t=>{t&&(console.error(t),e.exit(1));const s=ct&&pt?"https":"http",a=mt.address();if("string"==typeof a)return void console.log(`Listening on unix socket ${a}`);const c=(useRuntimeConfig().app.baseURL||"").replace(/\/$/,""),l=`${s}://${"IPv6"===a.family?`[${a.address}]`:a.address}:${a.port}${c}`;console.log(`Listening on ${l}`)}));e.on("unhandledRejection",(e=>_captureError(e,"unhandledRejection"))),e.on("uncaughtException",(e=>_captureError(e,"uncaughtException"))),function(t,s){const a={disabled:!!e.env.NITRO_SHUTDOWN_DISABLED,signals:(e.env.NITRO_SHUTDOWN_SIGNALS||"SIGTERM SIGINT").split(" ").map((e=>e.trim())),timeout:Number.parseInt(e.env.NITRO_SHUTDOWN_TIMEOUT||"",10)||3e4,forceExit:!e.env.NITRO_SHUTDOWN_NO_FORCE_EXIT};a.disabled||GracefulShutdown(t,{signals:a.signals.join(" "),timeout:a.timeout,forceExit:a.forceExit,onShutdown:async()=>{await new Promise((e=>{const t=setTimeout((()=>{console.warn("Graceful shutdown timeout, force exiting..."),e()}),a.timeout);s.hooks.callHook("close").catch((e=>{console.error(e)})).finally((()=>{clearTimeout(t),e()}))}))}})}(mt,lt);const gt={};export{xe as $,$ as a,getQuery as b,useStorage as c,defineEventHandler as d,createError as e,defineDriver as f,getRequestURL as g,createRequiredError as h,createStorage as i,joinKeys as j,gt as n,readBody as r,useRuntimeConfig as u}; +import e from"node:process";globalThis._importMeta_=globalThis._importMeta_||{url:"file:///_entry.js",env:e.env};import t,{Server as s}from"node:http";import a,{Server as c}from"node:https";import{EventEmitter as l}from"node:events";import{Buffer as u}from"node:buffer";import{promises as d,existsSync as h}from"node:fs";import{fileURLToPath as f}from"node:url";import{resolve as m,dirname as g,join as v}from"node:path";import{createHash as j}from"node:crypto";const T=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,_=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,x=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function jsonParseTransform(e,t){if(!("__proto__"===e||"constructor"===e&&t&&"object"==typeof t&&"prototype"in t))return t;!function(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}(e)}function destr(e,t={}){if("string"!=typeof e)return e;const s=e.trim();if('"'===e[0]&&e.endsWith('"')&&!e.includes("\\"))return s.slice(1,-1);if(s.length<=9){const e=s.toLowerCase();if("true"===e)return!0;if("false"===e)return!1;if("undefined"===e)return;if("null"===e)return null;if("nan"===e)return Number.NaN;if("infinity"===e)return Number.POSITIVE_INFINITY;if("-infinity"===e)return Number.NEGATIVE_INFINITY}if(!x.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(T.test(e)||_.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,jsonParseTransform)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const z=/#/g,R=/&/g,k=/\//g,C=/=/g,B=/\+/g,Z=/%5e/gi,E=/%60/gi,K=/%7c/gi,N=/%20/gi,I=/%2f/gi;function encodeQueryValue(e){return(t="string"==typeof e?e:JSON.stringify(e),encodeURI(""+t).replace(K,"|")).replace(B,"%2B").replace(N,"+").replace(z,"%23").replace(R,"%26").replace(E,"`").replace(Z,"^").replace(k,"%2F");var t}function encodeQueryKey(e){return encodeQueryValue(e).replace(C,"%3D")}function decode(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function decodeQueryValue(e){return decode(e.replace(B," "))}function parseQuery(e=""){const t={};"?"===e[0]&&(e=e.slice(1));for(const s of e.split("&")){const e=s.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;const a=decode(e[1].replace(B," "));if("__proto__"===a||"constructor"===a)continue;const c=decodeQueryValue(e[2]||"");void 0===t[a]?t[a]=c:Array.isArray(t[a])?t[a].push(c):t[a]=[t[a],c]}return t}function stringifyQuery(e){return Object.keys(e).filter((t=>void 0!==e[t])).map((t=>function(e,t){return"number"!=typeof t&&"boolean"!=typeof t||(t=String(t)),t?Array.isArray(t)?t.map((t=>`${encodeQueryKey(e)}=${encodeQueryValue(t)}`)).join("&"):`${encodeQueryKey(e)}=${encodeQueryValue(t)}`:encodeQueryKey(e)}(t,e[t]))).filter(Boolean).join("&")}const M=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,H=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,O=/^([/\\]\s*){2,}[^/\\]/,q=/^\.?\//;function hasProtocol(e,t={}){return"boolean"==typeof t&&(t={acceptRelative:t}),t.strict?M.test(e):H.test(e)||!!t.acceptRelative&&O.test(e)}function withoutTrailingSlash(e="",t){return(function(e=""){return e.endsWith("/")}(e)?e.slice(0,-1):e)||"/"}function withTrailingSlash(e="",t){return e.endsWith("/")?e:e+"/"}function withLeadingSlash(e=""){return function(e=""){return e.startsWith("/")}(e)?e:"/"+e}function withoutBase(e,t){if(isEmptyURL(t))return e;const s=withoutTrailingSlash(t);if(!e.startsWith(s))return e;const a=e.slice(s.length);return"/"===a[0]?a:"/"+a}function withQuery(e,t){const s=parseURL(e),a={...parseQuery(s.search),...t};return s.search=stringifyQuery(a),function(e){const t=e.pathname||"",s=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",a=e.hash||"",c=e.auth?e.auth+"@":"",l=e.host||"",u=e.protocol||e[D]?(e.protocol||"")+"//":"";return u+c+l+t+s+a}(s)}function getQuery$1(e){return parseQuery(parseURL(e).search)}function isEmptyURL(e){return!e||"/"===e}function joinURL(e,...t){let s=e||"";for(const e of t.filter((e=>function(e){return e&&"/"!==e}(e))))if(s){const t=e.replace(q,"");s=withTrailingSlash(s)+t}else s=e;return s}const D=Symbol.for("ufo:protocolRelative");function parseURL(e="",t){const s=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(s){const[,e,t=""]=s;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:"",host:"",search:"",hash:""}}if(!hasProtocol(e,{acceptRelative:!0}))return parsePath(e);const[,a="",c,l=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,u="",d=""]=l.match(/([^#/?]*)(.*)?/)||[];"file:"===a&&(d=d.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:h,search:f,hash:m}=parsePath(d);return{protocol:a.toLowerCase(),auth:c?c.slice(0,Math.max(0,c.length-1)):"",host:u,pathname:h,search:f,hash:m,[D]:!a}}function parsePath(e=""){const[t="",s="",a=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:s,hash:a}}const P=0,X=1,L=2;function createRouter$1(e={}){const t={options:e,rootNode:createRadixNode(),staticRoutesMap:{}},normalizeTrailingSlash=t=>e.strictTrailingSlash?t:t.replace(/\/$/,"")||"/";if(e.routes)for(const s in e.routes)insert(t,normalizeTrailingSlash(s),e.routes[s]);return{ctx:t,lookup:e=>function(e,t){const s=e.staticRoutesMap[t];if(s)return s.data;const a=t.split("/"),c={};let l=!1,u=null,d=e.rootNode,h=null;for(let e=0;e1){const t=a.length-e;d=d.placeholderChildren.find((e=>e.maxDepth===t))||null}else d=d.placeholderChildren[0]||null;if(!d)break;d.paramName&&(c[d.paramName]=t),l=!0}else d=s}null!==d&&null!==d.data||null===u||(d=u,c[d.paramName||"_"]=h,l=!0);if(!d)return null;if(l)return{...d.data,params:l?c:void 0};return d.data}(t,normalizeTrailingSlash(e)),insert:(e,s)=>insert(t,normalizeTrailingSlash(e),s),remove:e=>function(e,t){let s=!1;const a=t.split("/");let c=e.rootNode;for(const e of a)if(c=c.children.get(e),!c)return s;if(c.data){const e=a.at(-1)||"";c.data=null,0===Object.keys(c.children).length&&c.parent&&(c.parent.children.delete(e),c.parent.wildcardChildNode=null,c.parent.placeholderChildren=[]),s=!0}return s}(t,normalizeTrailingSlash(e))}}function insert(e,t,s){let a=!0;const c=t.split("/");let l=e.rootNode,u=0;const d=[l];for(const e of c){let t;if(t=l.children.get(e))l=t;else{const s=getNodeType(e);t=createRadixNode({type:s,parent:l}),l.children.set(e,t),s===L?(t.paramName="*"===e?"_"+u++:e.slice(1),l.placeholderChildren.push(t),a=!1):s===X&&(l.wildcardChildNode=t,t.paramName=e.slice(3)||"_",a=!1),d.push(t),l=t}}for(const[e,t]of d.entries())t.maxDepth=Math.max(d.length-e,t.maxDepth||0);return l.data=s,!0===a&&(e.staticRoutesMap[t]=l),l}function createRadixNode(e={}){return{type:e.type||P,maxDepth:0,parent:e.parent||null,children:new Map,data:e.data||null,paramName:e.paramName||null,wildcardChildNode:null,placeholderChildren:[]}}function getNodeType(e){return e.startsWith("**")?X:":"===e[0]||"*"===e?L:P}function toRouteMatcher(e){return function(e,t){return{ctx:{table:e},matchAll:s=>_matchRoutes(s,e,t)}}(_routerNodeToTable("",e.ctx.rootNode),e.ctx.options.strictTrailingSlash)}function _matchRoutes(e,t,s){!0!==s&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const a=[];for(const[s,c]of _sortRoutesMap(t.wildcard))(e===s||e.startsWith(s+"/"))&&a.push(c);for(const[s,c]of _sortRoutesMap(t.dynamic))if(e.startsWith(s+"/")){const t="/"+e.slice(s.length).split("/").splice(2).join("/");a.push(..._matchRoutes(t,c))}const c=t.static.get(e);return c&&a.push(c),a.filter(Boolean)}function _sortRoutesMap(e){return[...e.entries()].sort(((e,t)=>e[0].length-t[0].length))}function _routerNodeToTable(e,t){const s={static:new Map,wildcard:new Map,dynamic:new Map};return function _addNode(e,t){if(e)if(t.type!==P||e.includes("*")||e.includes(":")){if(t.type===X)s.wildcard.set(e.replace("/**",""),t.data);else if(t.type===L){const a=_routerNodeToTable("",t);return t.data&&a.static.set("/",t.data),void s.dynamic.set(e.replace(/\/\*|\/:\w+/,""),a)}}else t.data&&s.static.set(e,t.data);for(const[s,a]of t.children.entries())_addNode(`${e}/${s}`.replace("//","/"),a)}(e,t),s}function isPlainObject(e){if(null===e||"object"!=typeof e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&(!(Symbol.iterator in e)&&(!(Symbol.toStringTag in e)||"[object Module]"===Object.prototype.toString.call(e)))}function _defu(e,t,s=".",a){if(!isPlainObject(t))return _defu(e,{},s,a);const c=Object.assign({},t);for(const t in e){if("__proto__"===t||"constructor"===t)continue;const l=e[t];null!=l&&(a&&a(c,t,l,s)||(Array.isArray(l)&&Array.isArray(c[t])?c[t]=[...l,...c[t]]:isPlainObject(l)&&isPlainObject(c[t])?c[t]=_defu(l,c[t],(s?`${s}.`:"")+t.toString(),a):c[t]=l))}return c}function createDefu(e){return(...t)=>t.reduce(((t,s)=>_defu(t,s,"",e)),{})}const U=createDefu(),W=createDefu(((e,t,s)=>{if(void 0!==e[t]&&"function"==typeof s)return e[t]=s(e[t]),!0}));function o(e){throw new Error(`${e} is not implemented yet!`)}let F=class i extends l{__unenv__={};readableEncoding=null;readableEnded=!0;readableFlowing=!1;readableHighWaterMark=0;readableLength=0;readableObjectMode=!1;readableAborted=!1;readableDidRead=!1;closed=!1;errored=null;readable=!1;destroyed=!1;static from(e,t){return new i(t)}constructor(e){super()}_read(e){}read(e){}setEncoding(e){return this}pause(){return this}resume(){return this}isPaused(){return!0}unpipe(e){return this}unshift(e,t){}wrap(e){return this}push(e,t){return!1}_destroy(e,t){this.removeAllListeners()}destroy(e){return this.destroyed=!0,this._destroy(e),this}pipe(e,t){return{}}compose(e,t){throw new Error("Method not implemented.")}[Symbol.asyncDispose](){return this.destroy(),Promise.resolve()}async*[Symbol.asyncIterator](){throw o("Readable.asyncIterator")}iterator(e){throw o("Readable.iterator")}map(e,t){throw o("Readable.map")}filter(e,t){throw o("Readable.filter")}forEach(e,t){throw o("Readable.forEach")}reduce(e,t,s){throw o("Readable.reduce")}find(e,t){throw o("Readable.find")}findIndex(e,t){throw o("Readable.findIndex")}some(e,t){throw o("Readable.some")}toArray(e){throw o("Readable.toArray")}every(e,t){throw o("Readable.every")}flatMap(e,t){throw o("Readable.flatMap")}drop(e,t){throw o("Readable.drop")}take(e,t){throw o("Readable.take")}asIndexedPairs(e){throw o("Readable.asIndexedPairs")}},G=class extends l{__unenv__={};writable=!0;writableEnded=!1;writableFinished=!1;writableHighWaterMark=0;writableLength=0;writableObjectMode=!1;writableCorked=0;closed=!1;errored=null;writableNeedDrain=!1;destroyed=!1;_data;_encoding="utf8";constructor(e){super()}pipe(e,t){return{}}_write(e,t,s){if(this.writableEnded)s&&s();else{if(void 0===this._data)this._data=e;else{const s="string"==typeof this._data?u.from(this._data,this._encoding||t||"utf8"):this._data,a="string"==typeof e?u.from(e,t||this._encoding||"utf8"):e;this._data=u.concat([s,a])}this._encoding=t,s&&s()}}_writev(e,t){}_destroy(e,t){}_final(e){}write(e,t,s){const a="string"==typeof t?this._encoding:"utf8",c="function"==typeof t?t:"function"==typeof s?s:void 0;return this._write(e,a,c),!0}setDefaultEncoding(e){return this}end(e,t,s){const a="function"==typeof e?e:"function"==typeof t?t:"function"==typeof s?s:void 0;if(this.writableEnded)return a&&a(),this;const c=e===a?void 0:e;if(c){const e=t===a?void 0:t;this.write(c,e,a)}return this.writableEnded=!0,this.writableFinished=!0,this.emit("close"),this.emit("finish"),this}cork(){}uncork(){}destroy(e){return this.destroyed=!0,delete this._data,this.removeAllListeners(),this}compose(e,t){throw new Error("Method not implemented.")}};const J=class{allowHalfOpen=!0;_destroy;constructor(e=new F,t=new G){Object.assign(this,e),Object.assign(this,t),this._destroy=function(...e){return function(...t){for(const s of e)s(...t)}}(e._destroy,t._destroy)}};const Y=(Object.assign(J.prototype,F.prototype),Object.assign(J.prototype,G.prototype),J);class A extends Y{__unenv__={};bufferSize=0;bytesRead=0;bytesWritten=0;connecting=!1;destroyed=!1;pending=!1;localAddress="";localPort=0;remoteAddress="";remoteFamily="";remotePort=0;autoSelectFamilyAttemptedAddresses=[];readyState="readOnly";constructor(e){super()}write(e,t,s){return!1}connect(e,t,s){return this}end(e,t,s){return this}setEncoding(e){return this}pause(){return this}resume(){return this}setTimeout(e,t){return this}setNoDelay(e){return this}setKeepAlive(e,t){return this}address(){return{}}unref(){return this}ref(){return this}destroySoon(){this.destroy()}resetAndDestroy(){const e=new Error("ERR_SOCKET_CLOSED");return e.code="ERR_SOCKET_CLOSED",this.destroy(e),this}}class y extends F{aborted=!1;httpVersion="1.1";httpVersionMajor=1;httpVersionMinor=1;complete=!0;connection;socket;headers={};trailers={};method="GET";url="/";statusCode=200;statusMessage="";closed=!1;errored=null;readable=!1;constructor(e){super(),this.socket=this.connection=e||new A}get rawHeaders(){const e=this.headers,t=[];for(const s in e)if(Array.isArray(e[s]))for(const a of e[s])t.push(s,a);else t.push(s,e[s]);return t}get rawTrailers(){return[]}setTimeout(e,t){return this}get headersDistinct(){return p(this.headers)}get trailersDistinct(){return p(this.trailers)}}function p(e){const t={};for(const[s,a]of Object.entries(e))s&&(t[s]=(Array.isArray(a)?a:[a]).filter(Boolean));return t}class w extends G{statusCode=200;statusMessage="";upgrading=!1;chunkedEncoding=!1;shouldKeepAlive=!1;useChunkedEncodingByDefault=!1;sendDate=!1;finished=!1;headersSent=!1;strictContentLength=!1;connection=null;socket=null;req;_headers={};constructor(e){super(),this.req=e}assignSocket(e){e._httpMessage=this,this.socket=e,this.connection=e,this.emit("socket",e),this._flush()}_flush(){this.flushHeaders()}detachSocket(e){}writeContinue(e){}writeHead(e,t,s){e&&(this.statusCode=e),"string"==typeof t&&(this.statusMessage=t,t=void 0);const a=s||t;if(a&&!Array.isArray(a))for(const e in a)this.setHeader(e,a[e]);return this.headersSent=!0,this}writeProcessing(){}setTimeout(e,t){return this}appendHeader(e,t){e=e.toLowerCase();const s=this._headers[e],a=[...Array.isArray(s)?s:[s],...Array.isArray(t)?t:[t]].filter(Boolean);return this._headers[e]=a.length>1?a:a[0],this}setHeader(e,t){return this._headers[e.toLowerCase()]=t,this}setHeaders(e){for(const[t,s]of Object.entries(e))this.setHeader(t,s);return this}getHeader(e){return this._headers[e.toLowerCase()]}getHeaders(){return this._headers}getHeaderNames(){return Object.keys(this._headers)}hasHeader(e){return e.toLowerCase()in this._headers}removeHeader(e){delete this._headers[e.toLowerCase()]}addTrailers(e){}flushHeaders(){}writeEarlyHints(e,t){"function"==typeof t&&t()}}const Q=(()=>{const n=function(){};return n.prototype=Object.create(null),n})();function S(e={}){if(e instanceof Headers)return e;const t=new Headers;for(const[s,a]of Object.entries(e))if(void 0!==a){if(Array.isArray(a)){for(const e of a)t.append(s,String(e));continue}t.set(s,String(a))}return t}const V=new Set([101,204,205,304]);async function b(e,t){const s=new y,a=new w(s);let c;if(s.url=t.url?.toString()||"/",!s.url.startsWith("/")){const e=new URL(s.url);c=e.host,s.url=e.pathname+e.search+e.hash}s.method=t.method||"GET",s.headers=function(e={}){const t=new Q,s=Array.isArray(e)||function(e){return"function"==typeof e?.entries}(e)?e:Object.entries(e);for(const[e,a]of s)if(a){if(void 0===t[e]){t[e]=a;continue}t[e]=[...Array.isArray(t[e])?t[e]:[t[e]],...Array.isArray(a)?a:[a]]}return t}(t.headers||{}),s.headers.host||(s.headers.host=t.host||c||"localhost"),s.connection.encrypted=s.connection.encrypted||"https"===t.protocol,s.body=t.body||null,s.__unenv__=t.context,await e(s,a);let l=a._data;(V.has(a.statusCode)||"HEAD"===s.method.toUpperCase())&&(l=null,delete a._headers["content-length"]);const u={status:a.statusCode,statusText:a.statusMessage,headers:a._headers,body:l};return s.destroy(),a.destroy(),u}function hasProp(e,t){try{return t in e}catch{return!1}}class H3Error extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(e,t={}){super(e,t),t.cause&&!this.cause&&(this.cause=t.cause)}toJSON(){const e={message:this.message,statusCode:sanitizeStatusCode(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=sanitizeStatusMessage(this.statusMessage)),void 0!==this.data&&(e.data=this.data),e}}function createError$1(e){if("string"==typeof e)return new H3Error(e);if(isError(e))return e;const t=new H3Error(e.message??e.statusMessage??"",{cause:e.cause||e});if(hasProp(e,"stack"))try{Object.defineProperty(t,"stack",{get:()=>e.stack})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=sanitizeStatusCode(e.statusCode,t.statusCode):e.status&&(t.statusCode=sanitizeStatusCode(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const e=t.statusMessage;sanitizeStatusMessage(t.statusMessage)!==e&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return void 0!==e.fatal&&(t.fatal=e.fatal),void 0!==e.unhandled&&(t.unhandled=e.unhandled),t}function isError(e){return!0===e?.constructor?.__h3_error__}function getQuery(e){return getQuery$1(e.path||"")}function getRequestHeaders(e){const t={};for(const s in e.node.req.headers){const a=e.node.req.headers[s];t[s]=Array.isArray(a)?a.filter(Boolean).join(", "):a}return t}const $=getRequestHeaders;function getRequestHeader(e,t){return getRequestHeaders(e)[t.toLowerCase()]}function getRequestURL(e,t={}){const s=function(e,t={}){if(t.xForwardedHost){const t=e.node.req.headers["x-forwarded-host"];if(t)return t}return e.node.req.headers.host||"localhost"}(e,t),a=function(e,t={}){return!1!==t.xForwardedProto&&"https"===e.node.req.headers["x-forwarded-proto"]||e.node.req.connection?.encrypted?"https":"http"}(e,t),c=(e.node.req.originalUrl||e.path).replace(/^[/\\]+/g,"/");return new URL(c,`${a}://${s}`)}const ee=Symbol.for("h3RawBody"),te=Symbol.for("h3ParsedBody"),se=["PATCH","POST","PUT","DELETE"];function readRawBody(e,t="utf8"){!function(e,t){if(!function(e,t){if("string"==typeof t){if(e.method===t)return!0}else if(t.includes(e.method))return!0;return!1}(e,t))throw createError$1({statusCode:405,statusMessage:"HTTP method is not allowed."})}(e,se);const s=e._requestBody||e.web?.request?.body||e.node.req[ee]||e.node.req.rawBody||e.node.req.body;if(s){const e=Promise.resolve(s).then((e=>Buffer.isBuffer(e)?e:"function"==typeof e.pipeTo?new Promise(((t,s)=>{const a=[];e.pipeTo(new WritableStream({write(e){a.push(e)},close(){t(Buffer.concat(a))},abort(e){s(e)}})).catch(s)})):"function"==typeof e.pipe?new Promise(((t,s)=>{const a=[];e.on("data",(e=>{a.push(e)})).on("end",(()=>{t(Buffer.concat(a))})).on("error",s)})):e.constructor===Object?Buffer.from(JSON.stringify(e)):e instanceof URLSearchParams?Buffer.from(e.toString()):Buffer.from(e)));return t?e.then((e=>e.toString(t))):e}if(!Number.parseInt(e.node.req.headers["content-length"]||"")&&!String(e.node.req.headers["transfer-encoding"]??"").split(",").map((e=>e.trim())).filter(Boolean).includes("chunked"))return Promise.resolve(void 0);const a=e.node.req[ee]=new Promise(((t,s)=>{const a=[];e.node.req.on("error",(e=>{s(e)})).on("data",(e=>{a.push(e)})).on("end",(()=>{t(Buffer.concat(a))}))}));return t?a.then((e=>e.toString(t))):a}async function readBody(e,t={}){const s=e.node.req;if(hasProp(s,te))return s[te];const a=s.headers["content-type"]||"",c=await readRawBody(e);let l;return l="application/json"===a?_parseJSON(c,t.strict??!0):a.startsWith("application/x-www-form-urlencoded")?function(e){const t=new URLSearchParams(e),s=Object.create(null);for(const[e,a]of t.entries())hasProp(s,e)?(Array.isArray(s[e])||(s[e]=[s[e]]),s[e].push(a)):s[e]=a;return s}(c):a.startsWith("text/")?c:_parseJSON(c,t.strict??!1),s[te]=l,l}function _parseJSON(e="",t){if(e)try{return destr(e,{strict:t})}catch{throw createError$1({statusCode:400,statusMessage:"Bad Request",message:"Invalid JSON body"})}}function handleCacheHeaders(e,t){const s=["public",...t.cacheControls||[]];let a=!1;if(void 0!==t.maxAge&&s.push("max-age="+ +t.maxAge,"s-maxage="+ +t.maxAge),t.modifiedTime){const s=new Date(t.modifiedTime),c=e.node.req.headers["if-modified-since"];e.node.res.setHeader("last-modified",s.toUTCString()),c&&new Date(c)>=t.modifiedTime&&(a=!0)}if(t.etag){e.node.res.setHeader("etag",t.etag);e.node.req.headers["if-none-match"]===t.etag&&(a=!0)}return e.node.res.setHeader("cache-control",s.join(", ")),!!a&&(e.node.res.statusCode=304,e.handled||e.node.res.end(),!0)}const ae={html:"text/html",json:"application/json"},re=/[^\u0009\u0020-\u007E]/g;function sanitizeStatusMessage(e=""){return e.replace(re,"")}function sanitizeStatusCode(e,t=200){return e?("string"==typeof e&&(e=Number.parseInt(e,10)),e<100||e>999?t:e):t}function splitCookiesString(e){if(Array.isArray(e))return e.flatMap((e=>splitCookiesString(e)));if("string"!=typeof e)return[];const t=[];let s,a,c,l,u,d=0;const skipWhitespace=()=>{for(;d=e.length)&&t.push(e.slice(s))}return t}const oe="undefined"==typeof setImmediate?e=>e():setImmediate;function send(e,t,s){return s&&function(e,t){t&&304!==e.node.res.statusCode&&!e.node.res.getHeader("content-type")&&e.node.res.setHeader("content-type",t)}(e,s),new Promise((s=>{oe((()=>{e.handled||e.node.res.end(t),s()}))}))}function setResponseStatus(e,t,s){t&&(e.node.res.statusCode=sanitizeStatusCode(t,e.node.res.statusCode)),s&&(e.node.res.statusMessage=sanitizeStatusMessage(s))}function getResponseHeader(e,t){return e.node.res.getHeader(t)}function setResponseHeaders(e,t){for(const[s,a]of Object.entries(t))e.node.res.setHeader(s,a)}const ie=setResponseHeaders;function setResponseHeader(e,t,s){e.node.res.setHeader(t,s)}function sendStream(e,t){if(!t||"object"!=typeof t)throw new Error("[h3] Invalid stream provided.");if(e.node.res._data=t,!e.node.res.socket)return e._handled=!0,Promise.resolve();if(hasProp(t,"pipeTo")&&"function"==typeof t.pipeTo)return t.pipeTo(new WritableStream({write(t){e.node.res.write(t)}})).then((()=>{e.node.res.end()}));if(hasProp(t,"pipe")&&"function"==typeof t.pipe)return new Promise(((s,a)=>{t.pipe(e.node.res),t.on&&(t.on("end",(()=>{e.node.res.end(),s()})),t.on("error",(e=>{a(e)}))),e.node.res.on("close",(()=>{t.abort&&t.abort()}))}));throw new Error("[h3] Invalid or incompatible stream provided.")}function sendWebResponse(e,t){for(const[s,a]of t.headers)"set-cookie"===s?e.node.res.appendHeader(s,splitCookiesString(a)):e.node.res.setHeader(s,a);if(t.status&&(e.node.res.statusCode=sanitizeStatusCode(t.status,e.node.res.statusCode)),t.statusText&&(e.node.res.statusMessage=sanitizeStatusMessage(t.statusText)),t.redirected&&e.node.res.setHeader("location",t.url),t.body)return sendStream(e,t.body);e.node.res.end()}const ne=new Set(["PATCH","POST","PUT","DELETE"]),ce=new Set(["transfer-encoding","accept-encoding","connection","keep-alive","upgrade","expect","host","accept"]);async function proxyRequest(e,t,s={}){let a,c;ne.has(e.method)&&(s.streamRequest?(a=function(e){if(!se.includes(e.method))return;const t=e.web?.request?.body||e._requestBody;return t||(ee in e.node.req||"rawBody"in e.node.req||"body"in e.node.req||"__unenv__"in e.node.req?new ReadableStream({async start(t){const s=await readRawBody(e,!1);s&&t.enqueue(s),t.close()}}):new ReadableStream({start:t=>{e.node.req.on("data",(e=>{t.enqueue(e)})),e.node.req.on("end",(()=>{t.close()})),e.node.req.on("error",(e=>{t.error(e)}))}}))}(e),c="half"):a=await readRawBody(e,!1).catch((()=>{})));const l=s.fetchOptions?.method||e.method,u=function(e,...t){const s=t.filter(Boolean);if(0===s.length)return e;const a=new Headers(e);for(const e of s)for(const[t,s]of Object.entries(e))void 0!==s&&a.set(t,s);return a}(getProxyRequestHeaders(e,{host:t.startsWith("/")}),s.fetchOptions?.headers,s.headers);return async function(e,t,s={}){let a;try{a=await _getFetch(s.fetch)(t,{headers:s.headers,ignoreResponseError:!0,...s.fetchOptions})}catch(e){throw createError$1({status:502,statusMessage:"Bad Gateway",cause:e})}e.node.res.statusCode=sanitizeStatusCode(a.status,e.node.res.statusCode),e.node.res.statusMessage=sanitizeStatusMessage(a.statusText);const c=[];for(const[t,s]of a.headers.entries())"content-encoding"!==t&&"content-length"!==t&&("set-cookie"!==t?e.node.res.setHeader(t,s):c.push(...splitCookiesString(s)));c.length>0&&e.node.res.setHeader("set-cookie",c.map((e=>(s.cookieDomainRewrite&&(e=rewriteCookieProperty(e,s.cookieDomainRewrite,"domain")),s.cookiePathRewrite&&(e=rewriteCookieProperty(e,s.cookiePathRewrite,"path")),e))));s.onResponse&&await s.onResponse(e,a);if(void 0!==a._data)return a._data;if(e.handled)return;if(!1===s.sendStream){const t=new Uint8Array(await a.arrayBuffer());return e.node.res.end(t)}if(a.body)for await(const t of a.body)e.node.res.write(t);return e.node.res.end()}(e,t,{...s,fetchOptions:{method:l,body:a,duplex:c,...s.fetchOptions,headers:u}})}function getProxyRequestHeaders(e,t){const s=Object.create(null),a=getRequestHeaders(e);for(const e in a)(!ce.has(e)||"host"===e&&t?.host)&&(s[e]=a[e]);return s}function fetchWithEvent(e,t,s,a){return _getFetch(a?.fetch)(t,{...s,context:s?.context||e.context,headers:{...getProxyRequestHeaders(e,{host:"string"==typeof t&&t.startsWith("/")}),...s?.headers}})}function _getFetch(e){if(e)return e;if(globalThis.fetch)return globalThis.fetch;throw new Error("fetch is not available. Try importing `node-fetch-native/polyfill` for Node.js.")}function rewriteCookieProperty(e,t,s){const a="string"==typeof t?{"*":t}:t;return e.replace(new RegExp(`(;\\s*${s}=)([^;]+)`,"gi"),((e,t,s)=>{let c;if(s in a)c=a[s];else{if(!("*"in a))return e;c=a["*"]}return c?t+c:""}))}class H3Event{__is_event__=!0;node;web;context={};_method;_path;_headers;_requestBody;_handled=!1;_onBeforeResponseCalled;_onAfterResponseCalled;constructor(e,t){this.node={req:e,res:t}}get method(){return this._method||(this._method=(this.node.req.method||"GET").toUpperCase()),this._method}get path(){return this._path||this.node.req.url||"/"}get headers(){return this._headers||(this._headers=function(e){const t=new Headers;for(const[s,a]of Object.entries(e))if(Array.isArray(a))for(const e of a)t.append(s,e);else a&&t.set(s,a);return t}(this.node.req.headers)),this._headers}get handled(){return this._handled||this.node.res.writableEnded||this.node.res.headersSent}respondWith(e){return Promise.resolve(e).then((e=>sendWebResponse(this,e)))}toString(){return`[${this.method}] ${this.path}`}toJSON(){return this.toString()}get req(){return this.node.req}get res(){return this.node.res}}function isEvent(e){return hasProp(e,"__is_event__")}function createEvent(e,t){return new H3Event(e,t)}function defineEventHandler(e){if("function"==typeof e)return e.__is_handler__=!0,e;const t={onRequest:_normalizeArray(e.onRequest),onBeforeResponse:_normalizeArray(e.onBeforeResponse)},_handler=s=>async function(e,t,s){if(s.onRequest)for(const t of s.onRequest)if(await t(e),e.handled)return;const a=await t(e),c={body:a};if(s.onBeforeResponse)for(const t of s.onBeforeResponse)await t(e,c);return c.body}(s,e.handler,t);return _handler.__is_handler__=!0,_handler.__resolve__=e.handler.__resolve__,_handler.__websocket__=e.websocket,_handler}function _normalizeArray(e){return e?Array.isArray(e)?e:[e]:void 0}const pe=defineEventHandler;function isEventHandler(e){return hasProp(e,"__is_handler__")}function toEventHandler(e,t,s){return isEventHandler(e)||console.warn("[h3] Implicit event handler conversion is deprecated. Use `eventHandler()` or `fromNodeMiddleware()` to define event handlers.",s&&"/"!==s?`\n Route: ${s}`:"",`\n Handler: ${e}`),e}const lazyEventHandler=function(e){let t,s;const resolveHandler=()=>s?Promise.resolve(s):(t||(t=Promise.resolve(e()).then((e=>{const t=e.default||e;if("function"!=typeof t)throw new TypeError("Invalid lazy handler result. It should be a function:",t);return s={handler:toEventHandler(e.default||e)},s}))),t),a=pe((e=>s?s.handler(e):resolveHandler().then((t=>t.handler(e)))));return a.__resolve__=resolveHandler,a};function createApp(e={}){const t=[],s=function(e,t){const s=t.debug?2:void 0;return pe((async a=>{a.node.req.originalUrl=a.node.req.originalUrl||a.node.req.url||"/";const c=a._path||a.node.req.url||"/";let l;t.onRequest&&await t.onRequest(a);for(const u of e){if(u.route.length>1){if(!c.startsWith(u.route))continue;l=c.slice(u.route.length)||"/"}else l=c;if(u.match&&!u.match(l,a))continue;a._path=l,a.node.req.url=l;const e=await u.handler(a),d=void 0===e?void 0:await e;if(void 0!==d){const e={body:d};return t.onBeforeResponse&&(a._onBeforeResponseCalled=!0,await t.onBeforeResponse(a,e)),await handleHandlerResponse(a,e.body,s),void(t.onAfterResponse&&(a._onAfterResponseCalled=!0,await t.onAfterResponse(a,e)))}if(a.handled)return void(t.onAfterResponse&&(a._onAfterResponseCalled=!0,await t.onAfterResponse(a,void 0)))}if(!a.handled)throw createError$1({statusCode:404,statusMessage:`Cannot find any path matching ${a.path||"/"}.`});t.onAfterResponse&&(a._onAfterResponseCalled=!0,await t.onAfterResponse(a,void 0))}))}(t,e),a=function(e){return async t=>{let s;for(const a of e){if("/"===a.route&&!a.handler.__resolve__)continue;if(!t.startsWith(a.route))continue;if(s=t.slice(a.route.length)||"/",a.match&&!a.match(s,void 0))continue;let e={route:a.route,handler:a.handler};if(e.handler.__resolve__){const t=await e.handler.__resolve__(s);if(!t)continue;e={...e,...t,route:joinURL(e.route||"/",t.route||"/")}}return e}}}(t);s.__resolve__=a;const c=function(e){let t;return()=>(t||(t=e()),t)}((()=>{return t=a,{...e.websocket,async resolve(e){const s=e.request?.url||e.url||"/",{pathname:a}="string"==typeof s?parseURL(s):s,c=await t(a);return c?.handler?.__websocket__||{}}};var t})),l={use:(e,t,s)=>use(l,e,t,s),resolve:a,handler:s,stack:t,options:e,get websocket(){return c()}};return l}function use(e,t,s,a){if(Array.isArray(t))for(const c of t)use(e,c,s,a);else if(Array.isArray(s))for(const c of s)use(e,t,c,a);else"string"==typeof t?e.stack.push(normalizeLayer({...a,route:t,handler:s})):"function"==typeof t?e.stack.push(normalizeLayer({...s,handler:t})):e.stack.push(normalizeLayer({...t}));return e}function normalizeLayer(e){let t=e.handler;return t.handler&&(t=t.handler),e.lazy?t=lazyEventHandler(t):isEventHandler(t)||(t=toEventHandler(t,0,e.route)),{route:withoutTrailingSlash(e.route),match:e.match,handler:t}}function handleHandlerResponse(e,t,s){if(null===t)return function(e,t){if(e.handled)return;t||200===e.node.res.statusCode||(t=e.node.res.statusCode);const s=sanitizeStatusCode(t,204);204===s&&e.node.res.removeHeader("content-length"),e.node.res.writeHead(s),e.node.res.end()}(e);if(t){if(a=t,"undefined"!=typeof Response&&a instanceof Response)return sendWebResponse(e,t);if(function(e){if(!e||"object"!=typeof e)return!1;if("function"==typeof e.pipe){if("function"==typeof e._read)return!0;if("function"==typeof e.abort)return!0}return"function"==typeof e.pipeTo}(t))return sendStream(e,t);if(t.buffer)return send(e,t);if(t.arrayBuffer&&"function"==typeof t.arrayBuffer)return t.arrayBuffer().then((s=>send(e,Buffer.from(s),t.type)));if(t instanceof Error)throw createError$1(t);if("function"==typeof t.end)return!0}var a;const c=typeof t;if("string"===c)return send(e,t,ae.html);if("object"===c||"boolean"===c||"number"===c)return send(e,JSON.stringify(t,void 0,s),ae.json);if("bigint"===c)return send(e,t.toString(),ae.json);throw createError$1({statusCode:500,statusMessage:`[h3] Cannot send ${c} as response.`})}const le=["connect","delete","get","head","options","post","put","trace","patch"];function toNodeListener(e){return async function(t,s){const a=createEvent(t,s);try{await e.handler(a)}catch(t){const s=createError$1(t);if(isError(t)||(s.unhandled=!0),setResponseStatus(a,s.statusCode,s.statusMessage),e.options.onError&&await e.options.onError(s,a),a.handled)return;(s.unhandled||s.fatal)&&console.error("[h3]",s.fatal?"[fatal]":"[unhandled]",s),e.options.onBeforeResponse&&!a._onBeforeResponseCalled&&await e.options.onBeforeResponse(a,{body:s}),await function(e,t,s){if(e.handled)return;const a=isError(t)?t:createError$1(t),c={statusCode:a.statusCode,statusMessage:a.statusMessage,stack:[],data:a.data};if(s&&(c.stack=(a.stack||"").split("\n").map((e=>e.trim()))),e.handled)return;setResponseStatus(e,Number.parseInt(a.statusCode),a.statusMessage),e.node.res.setHeader("content-type",ae.json),e.node.res.end(JSON.stringify(c,void 0,2))}(a,s,!!e.options.debug),e.options.onAfterResponse&&!a._onAfterResponseCalled&&await e.options.onAfterResponse(a,{body:s})}}}function flatHooks(e,t={},s){for(const a in e){const c=e[a],l=s?`${s}:${a}`:a;"object"==typeof c&&null!==c?flatHooks(c,t,l):"function"==typeof c&&(t[l]=c)}return t}const ue={run:e=>e()},de=void 0!==console.createTask?console.createTask:()=>ue;function serialTaskCaller(e,t){const s=t.shift(),a=de(s);return e.reduce(((e,s)=>e.then((()=>a.run((()=>s(...t)))))),Promise.resolve())}function parallelTaskCaller(e,t){const s=t.shift(),a=de(s);return Promise.all(e.map((e=>a.run((()=>e(...t))))))}function callEachWith(e,t){for(const s of[...e])s(t)}class Hookable{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,s={}){if(!e||"function"!=typeof t)return()=>{};const a=e;let c;for(;this._deprecatedHooks[e];)c=this._deprecatedHooks[e],e=c.to;if(c&&!s.allowDeprecated){let e=c.message;e||(e=`${a} hook has been deprecated`+(c.to?`, please use ${c.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let s,_function=(...e)=>("function"==typeof s&&s(),s=void 0,_function=void 0,t(...e));return s=this.hook(e,_function),s}removeHook(e,t){if(this._hooks[e]){const s=this._hooks[e].indexOf(t);-1!==s&&this._hooks[e].splice(s,1),0===this._hooks[e].length&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t;const s=this._hooks[e]||[];delete this._hooks[e];for(const t of s)this.hook(e,t)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=flatHooks(e),s=Object.keys(t).map((e=>this.hook(e,t[e])));return()=>{for(const e of s.splice(0,s.length))e()}}removeHooks(e){const t=flatHooks(e);for(const e in t)this.removeHook(e,t[e])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(serialTaskCaller,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(parallelTaskCaller,e,...t)}callHookWith(e,t,...s){const a=this._before||this._after?{name:t,args:s,context:{}}:void 0;this._before&&callEachWith(this._before,a);const c=e(t in this._hooks?[...this._hooks[t]]:[],s);return c instanceof Promise?c.finally((()=>{this._after&&a&&callEachWith(this._after,a)})):(this._after&&a&&callEachWith(this._after,a),c)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(void 0!==this._before){const t=this._before.indexOf(e);-1!==t&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(void 0!==this._after){const t=this._after.indexOf(e);-1!==t&&this._after.splice(t,1)}}}}const he=globalThis.Headers,fe=globalThis.AbortController,me=globalThis.fetch||(()=>{throw new Error("[node-fetch-native] Failed to fetch: `globalThis.fetch` is not available!")});class FetchError extends Error{constructor(e,t){super(e,t),this.name="FetchError",t?.cause&&!this.cause&&(this.cause=t.cause)}}const ge=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function isPayloadMethod(e="GET"){return ge.has(e.toUpperCase())}const ye=new Set(["image/svg","application/xml","application/xhtml","application/html"]),ve=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function resolveFetchOptions(e,t,s,a){const c=function(e,t,s){if(!t)return new s(e);const a=new s(t);if(e)for(const[t,c]of Symbol.iterator in e||Array.isArray(e)?e:new s(e))a.set(t,c);return a}(t?.headers??e?.headers,s?.headers,a);let l;return(s?.query||s?.params||t?.params||t?.query)&&(l={...s?.params,...s?.query,...t?.params,...t?.query}),{...s,...t,query:l,params:l,headers:c}}async function callHooks(e,t){if(t)if(Array.isArray(t))for(const s of t)await s(e);else await t(e)}const we=new Set([408,409,425,429,500,502,503,504]),be=new Set([101,204,205,304]);function createFetch(e={}){const{fetch:t=globalThis.fetch,Headers:s=globalThis.Headers,AbortController:a=globalThis.AbortController}=e;async function onError(e){const t=e.error&&"AbortError"===e.error.name&&!e.options.timeout||!1;if(!1!==e.options.retry&&!t){let t;t="number"==typeof e.options.retry?e.options.retry:isPayloadMethod(e.options.method)?0:1;const s=e.response&&e.response.status||500;if(t>0&&(Array.isArray(e.options.retryStatusCodes)?e.options.retryStatusCodes.includes(s):we.has(s))){const s="function"==typeof e.options.retryDelay?e.options.retryDelay(e):e.options.retryDelay||0;return s>0&&await new Promise((e=>setTimeout(e,s))),$fetchRaw(e.request,{...e.options,retry:t-1})}}const s=function(e){const t=e.error?.message||e.error?.toString()||"",s=e.request?.method||e.options?.method||"GET",a=e.request?.url||String(e.request)||"/",c=`[${s}] ${JSON.stringify(a)}`,l=e.response?`${e.response.status} ${e.response.statusText}`:"",u=new FetchError(`${c}: ${l}${t?` ${t}`:""}`,e.error?{cause:e.error}:void 0);for(const t of["request","options","response"])Object.defineProperty(u,t,{get:()=>e[t]});for(const[t,s]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(u,t,{get:()=>e.response&&e.response[s]});return u}(e);throw Error.captureStackTrace&&Error.captureStackTrace(s,$fetchRaw),s}const $fetchRaw=async function(c,l={}){const u={request:c,options:resolveFetchOptions(c,l,e.defaults,s),response:void 0,error:void 0};let d;if(u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&await callHooks(u,u.options.onRequest),"string"==typeof u.request&&(u.options.baseURL&&(u.request=function(e,t){if(isEmptyURL(t)||hasProtocol(e))return e;const s=withoutTrailingSlash(t);return e.startsWith(s)?e:joinURL(s,e)}(u.request,u.options.baseURL)),u.options.query&&(u.request=withQuery(u.request,u.options.query),delete u.options.query),"query"in u.options&&delete u.options.query,"params"in u.options&&delete u.options.params),u.options.body&&isPayloadMethod(u.options.method)&&(!function(e){if(void 0===e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t||null===t||"object"===t&&(!!Array.isArray(e)||!e.buffer&&(e.constructor&&"Object"===e.constructor.name||"function"==typeof e.toJSON))}(u.options.body)?("pipeTo"in u.options.body&&"function"==typeof u.options.body.pipeTo||"function"==typeof u.options.body.pipe)&&("duplex"in u.options||(u.options.duplex="half")):(u.options.body="string"==typeof u.options.body?u.options.body:JSON.stringify(u.options.body),u.options.headers=new s(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json"))),!u.options.signal&&u.options.timeout){const e=new a;d=setTimeout((()=>{const t=new Error("[TimeoutError]: The operation was aborted due to timeout");t.name="TimeoutError",t.code=23,e.abort(t)}),u.options.timeout),u.options.signal=e.signal}try{u.response=await t(u.request,u.options)}catch(e){return u.error=e,u.options.onRequestError&&await callHooks(u,u.options.onRequestError),await onError(u)}finally{d&&clearTimeout(d)}if((u.response.body||u.response._bodyInit)&&!be.has(u.response.status)&&"HEAD"!==u.options.method){const e=(u.options.parseResponse?"json":u.options.responseType)||function(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return ve.test(t)?"json":ye.has(t)||t.startsWith("text/")?"text":"blob"}(u.response.headers.get("content-type")||"");switch(e){case"json":{const e=await u.response.text(),t=u.options.parseResponse||destr;u.response._data=t(e);break}case"stream":u.response._data=u.response.body||u.response._bodyInit;break;default:u.response._data=await u.response[e]()}}return u.options.onResponse&&await callHooks(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await callHooks(u,u.options.onResponseError),await onError(u)):u.response},$fetch=async function(e,t){return(await $fetchRaw(e,t))._data};return $fetch.raw=$fetchRaw,$fetch.native=(...e)=>t(...e),$fetch.create=(t={},s={})=>createFetch({...e,...s,defaults:{...e.defaults,...s.defaults,...t}}),$fetch}const je=globalThis.fetch?(...e)=>globalThis.fetch(...e):function(){if(!JSON.parse(e.env.FETCH_KEEP_ALIVE||"false"))return me;const s={keepAlive:!0},c=new t.Agent(s),l=new a.Agent(s),u={agent:e=>"http:"===e.protocol?c:l};return function(e,t){return me(e,{...u,...t})}}(),Te=globalThis.Headers||he,_e=globalThis.AbortController||fe,xe=createFetch({fetch:je,Headers:Te,AbortController:_e});function defaultHandler(e,t,s){const a=e.unhandled||e.fatal,c=e.statusCode||500,l=e.statusMessage||"Server Error",u=getRequestURL(t,{xForwardedHost:!0,xForwardedProto:!0});if(404===c){const e="/";if(/^\/[^/]/.test(e)&&!u.pathname.startsWith(e)){return{status:302,statusText:"Found",headers:{location:`${e}${u.pathname.slice(1)}${u.search}`},body:"Redirecting..."}}}if(a&&!s?.silent){const s=[e.unhandled&&"[unhandled]",e.fatal&&"[fatal]"].filter(Boolean).join(" ");console.error(`[request error] ${s} [${t.method}] ${u}\n`,e)}const d={"content-type":"application/json","x-content-type-options":"nosniff","x-frame-options":"DENY","referrer-policy":"no-referrer","content-security-policy":"script-src 'none'; frame-ancestors 'none';"};setResponseStatus(t,c,l),404!==c&&getResponseHeader(t,"cache-control")||(d["cache-control"]="no-cache");return{status:c,statusText:l,headers:d,body:{error:!0,url:u.href,statusCode:c,statusMessage:l,message:a?"Server Error":e.message,data:a?void 0:e.data}}}const ze=[function(e,t){const s=defaultHandler(e,t);return setResponseHeaders(t,s.headers),setResponseStatus(t,s.status,s.statusText),send(t,JSON.stringify(s.body,null,2))}];const Re=[],ke={"/index.html":{type:"text/html; charset=utf-8",etag:'"d61-1LjTFyeLsitF8ejDMm6Arqw6+BI"',mtime:"2025-03-16T02:32:37.665Z",size:3425,path:"../public/index.html"},"/logo.png":{type:"image/png",etag:'"146c-vbv340mQ6WdpZBtCqwFRw74KQuc"',mtime:"2025-03-16T02:32:37.665Z",size:5228,path:"../public/logo.png"},"/manifest.webmanifest":{type:"application/manifest+json",etag:'"2fd-zWkiHcrpBX6ARjw8dVUGeqhPPmc"',mtime:"2025-03-16T02:32:37.665Z",size:765,path:"../public/manifest.webmanifest"},"/popup.html":{type:"text/html; charset=utf-8",etag:'"1813-4D1IToRjUlA/YY3y5uZxh4bYjjw"',mtime:"2025-03-16T02:32:37.666Z",size:6163,path:"../public/popup.html"},"/pwa-196x196.png":{type:"image/png",etag:'"1eb7-p6q5vh3QYAEsrZYyk7SBkrshKtE"',mtime:"2025-03-16T02:32:37.666Z",size:7863,path:"../public/pwa-196x196.png"},"/pwa-256x256.png":{type:"image/png",etag:'"2713-9NzNvaCAwa1EQO5RcbhcoOjZAK4"',mtime:"2025-03-16T02:32:37.666Z",size:10003,path:"../public/pwa-256x256.png"},"/pwa-512x512.png":{type:"image/png",etag:'"6bf3-7vwlcGNRgCNfmMJg9y1nkg29W/Y"',mtime:"2025-03-16T02:32:37.666Z",size:27635,path:"../public/pwa-512x512.png"},"/sw.js":{type:"text/javascript; charset=utf-8",etag:'"bdd-GP56wq44SIqPnd6bKilZAuovWao"',mtime:"2025-03-16T02:32:37.666Z",size:3037,path:"../public/sw.js"},"/swagger/LICENSE":{type:"text/plain; charset=utf-8",etag:'"2c5e-K4uBUimqimHkg/tLoFiLi2xJGJA"',mtime:"2025-03-16T02:32:37.614Z",size:11358,path:"../public/swagger/LICENSE"},"/swagger/NOTICE":{type:"text/plain; charset=utf-8",etag:'"37-0n8Fhwk9uv718DEoBFAYAHxrqZ8"',mtime:"2025-03-16T02:32:37.615Z",size:55,path:"../public/swagger/NOTICE"},"/swagger/README.md":{type:"text/markdown; charset=utf-8",etag:'"6be-eQ4mvDl95ct54H1v8dasMT5BJwQ"',mtime:"2025-03-16T02:32:37.615Z",size:1726,path:"../public/swagger/README.md"},"/swagger/absolute-path.js":{type:"text/javascript; charset=utf-8",etag:'"212-J+QveHG7rDiOFdNzZCZDqcDOK+M"',mtime:"2025-03-16T02:32:37.615Z",size:530,path:"../public/swagger/absolute-path.js"},"/swagger/favicon-16x16.png":{type:"image/png",etag:'"299-P/Ck0KVN5edEo4I0mCIWWmtplO0"',mtime:"2025-03-16T02:32:37.615Z",size:665,path:"../public/swagger/favicon-16x16.png"},"/swagger/favicon-32x32.png":{type:"image/png",etag:'"274-jKULWQGffxfGW3fqT5ChsaRqwLY"',mtime:"2025-03-16T02:32:37.615Z",size:628,path:"../public/swagger/favicon-32x32.png"},"/swagger/index.css":{type:"text/css; charset=utf-8",etag:'"ca-cVhpBjOPaUIKpM8dNJT+6MUz8Ro"',mtime:"2025-03-16T02:32:37.615Z",size:202,path:"../public/swagger/index.css"},"/swagger/index.html":{type:"text/html; charset=utf-8",etag:'"2de-1EOW5JSXowvBRBqUcXZxJSLvf2M"',mtime:"2025-03-16T02:32:37.616Z",size:734,path:"../public/swagger/index.html"},"/swagger/index.js":{type:"text/javascript; charset=utf-8",etag:'"32d-GIZCZQ6FP1cqjHGRuiG/HV4bPls"',mtime:"2025-03-16T02:32:37.616Z",size:813,path:"../public/swagger/index.js"},"/swagger/oauth2-redirect.html":{type:"text/html; charset=utf-8",etag:'"a9b-4dCYXMgAc9mtJO1U4TUJArG0ZRw"',mtime:"2025-03-16T02:32:37.616Z",size:2715,path:"../public/swagger/oauth2-redirect.html"},"/swagger/package.json":{type:"application/json",etag:'"22f-pgoet2ouXTR1MMELLM9UMW0OVUQ"',mtime:"2025-03-16T02:32:37.616Z",size:559,path:"../public/swagger/package.json"},"/swagger/swagger-initializer.js":{type:"text/javascript; charset=utf-8",etag:'"29a-zW3E63PXRtQnB3CBmSCmAsl3emI"',mtime:"2025-03-16T02:32:37.616Z",size:666,path:"../public/swagger/swagger-initializer.js"},"/swagger/swagger-ui-bundle.js":{type:"text/javascript; charset=utf-8",etag:'"165fd4-pYLRc3QLnwTnl7OBjXKk8Xedow8"',mtime:"2025-03-16T02:32:37.622Z",size:1466324,path:"../public/swagger/swagger-ui-bundle.js"},"/swagger/swagger-ui-bundle.js.map":{type:"application/json",etag:'"1d4f6e-EdZwAI/8NHP9DkSgVRmzrlnheWM"',mtime:"2025-03-16T02:32:37.625Z",size:1920878,path:"../public/swagger/swagger-ui-bundle.js.map"},"/swagger/swagger-ui-es-bundle-core.js":{type:"text/javascript; charset=utf-8",etag:'"732f0-8ze7BhcR9BN81cnJ42Po8aECNTc"',mtime:"2025-03-16T02:32:37.618Z",size:471792,path:"../public/swagger/swagger-ui-es-bundle-core.js"},"/swagger/swagger-ui-es-bundle-core.js.map":{type:"application/json",etag:'"189eb6-7jWUWBNcVregNHrTt6Ua2xzMAJs"',mtime:"2025-03-16T02:32:37.623Z",size:1613494,path:"../public/swagger/swagger-ui-es-bundle-core.js.map"},"/swagger/swagger-ui-es-bundle.js":{type:"text/javascript; charset=utf-8",etag:'"165ede-8ItyH4p3gifNtaFKdYO37Rwl+R4"',mtime:"2025-03-16T02:32:37.626Z",size:1466078,path:"../public/swagger/swagger-ui-es-bundle.js"},"/swagger/swagger-ui-es-bundle.js.map":{type:"application/json",etag:'"1d2e65-gxP1cBHxZIolETVmnp6JQCmZz/o"',mtime:"2025-03-16T02:32:37.636Z",size:1912421,path:"../public/swagger/swagger-ui-es-bundle.js.map"},"/swagger/swagger-ui-standalone-preset.js":{type:"text/javascript; charset=utf-8",etag:'"37f67-l61kMpt56I/qm8hhdmzV/7yVnVw"',mtime:"2025-03-16T02:32:37.630Z",size:229223,path:"../public/swagger/swagger-ui-standalone-preset.js"},"/swagger/swagger-ui-standalone-preset.js.map":{type:"application/json",etag:'"50934-V3RjXs1XH6csGCSTQuOjPfev+7U"',mtime:"2025-03-16T02:32:37.630Z",size:330036,path:"../public/swagger/swagger-ui-standalone-preset.js.map"},"/swagger/swagger-ui.css":{type:"text/css; charset=utf-8",etag:'"25d69-gcCiVU2QIynmcXRFWlwruVby+qE"',mtime:"2025-03-16T02:32:37.631Z",size:154985,path:"../public/swagger/swagger-ui.css"},"/swagger/swagger-ui.css.map":{type:"application/json",etag:'"3f31a-cM+Jfbp4KhhTJ6lBw8OgFePuvkk"',mtime:"2025-03-16T02:32:37.633Z",size:258842,path:"../public/swagger/swagger-ui.css.map"},"/swagger/swagger-ui.js":{type:"text/javascript; charset=utf-8",etag:'"55236-VKwJmOdR13bM4UKKqz/8O7u/758"',mtime:"2025-03-16T02:32:37.633Z",size:348726,path:"../public/swagger/swagger-ui.js"},"/swagger/swagger-ui.js.map":{type:"application/json",etag:'"12526b-9N/Azn20bX0am77tLtO0mJAf+js"',mtime:"2025-03-16T02:32:37.639Z",size:1200747,path:"../public/swagger/swagger-ui.js.map"},"/assets/@agoose77-Dx1D29Ys.js":{type:"text/javascript; charset=utf-8",etag:'"3f8-8ilO1q9S97I9bueZi6MCXjMuheQ"',mtime:"2025-03-16T02:32:37.613Z",size:1016,path:"../public/assets/@agoose77-Dx1D29Ys.js"},"/assets/@babel-ynFNPEB3.js":{type:"text/javascript; charset=utf-8",etag:'"dd4-Qzh57nMk5aRg1AeNgfTHp4pAJVs"',mtime:"2025-03-16T02:32:37.633Z",size:3540,path:"../public/assets/@babel-ynFNPEB3.js"},"/assets/@braintree-DgpeZQRe.js":{type:"text/javascript; charset=utf-8",etag:'"2a4-2K8KNVdkUaQ04A8o43R6GWDlpco"',mtime:"2025-03-16T02:32:37.633Z",size:676,path:"../public/assets/@braintree-DgpeZQRe.js"},"/assets/@dicebear-JcnEMRoc.js":{type:"text/javascript; charset=utf-8",etag:'"e69c6-YtVovg5a+LyAi23aDuwID4it3CI"',mtime:"2025-03-16T02:32:37.634Z",size:944582,path:"../public/assets/@dicebear-JcnEMRoc.js"},"/assets/@intlify-eboPrqDD.js":{type:"text/javascript; charset=utf-8",etag:'"82de-iBGY7LJDbsKntsZIQgnNE8kD4lw"',mtime:"2025-03-16T02:32:37.633Z",size:33502,path:"../public/assets/@intlify-eboPrqDD.js"},"/assets/@material-C_XhzpVg.js":{type:"text/javascript; charset=utf-8",etag:'"40cb-64INX7fQdl6f/siGMXz+LIXUno4"',mtime:"2025-03-16T02:32:37.633Z",size:16587,path:"../public/assets/@material-C_XhzpVg.js"},"/assets/@mozilla-BD532_dh.js":{type:"text/javascript; charset=utf-8",etag:'"b077-4sHQRvCwJRi7Ty345BizX8pKvHg"',mtime:"2025-03-16T02:32:37.634Z",size:45175,path:"../public/assets/@mozilla-BD532_dh.js"},"/assets/@popperjs-B4tvfKWZ.js":{type:"text/javascript; charset=utf-8",etag:'"4f78-Lyps+KUWR9d3YKiyQV8FsmXX5DY"',mtime:"2025-03-16T02:32:37.634Z",size:20344,path:"../public/assets/@popperjs-B4tvfKWZ.js"},"/assets/@traptitech-WZCBkmmf.js":{type:"text/javascript; charset=utf-8",etag:'"91b-qUPqa0UCWf2HQQQaXVSwDmkZcgA"',mtime:"2025-03-16T02:32:37.634Z",size:2331,path:"../public/assets/@traptitech-WZCBkmmf.js"},"/assets/@vue-DrGkbxkU.js":{type:"text/javascript; charset=utf-8",etag:'"32d5f-0k9d2PRUM1oiek5b5d8buk9K6aE"',mtime:"2025-03-16T02:32:37.634Z",size:208223,path:"../public/assets/@vue-DrGkbxkU.js"},"/assets/@vueuse-FQfBVMrt.js":{type:"text/javascript; charset=utf-8",etag:'"2176-vHvgSKL1awcK2GAG8ung5tX8hw4"',mtime:"2025-03-16T02:32:37.634Z",size:8566,path:"../public/assets/@vueuse-FQfBVMrt.js"},"/assets/@wdns-DMlS5Imi.js":{type:"text/javascript; charset=utf-8",etag:'"30b48-2YoauzSsFMfPp+BPBbdBvjHC6zA"',mtime:"2025-03-16T02:32:37.635Z",size:199496,path:"../public/assets/@wdns-DMlS5Imi.js"},"/assets/ChatInput-BMuO6hgs.css":{type:"text/css; charset=utf-8",etag:'"186-rCUycStrOY1FSp1LM5EdmoDU818"',mtime:"2025-03-16T02:32:37.635Z",size:390,path:"../public/assets/ChatInput-BMuO6hgs.css"},"/assets/ChatInput.vue_vue_type_style_index_0_lang-DAxQJ2xg.js":{type:"text/javascript; charset=utf-8",etag:'"2b00-sIvaDipHpQPNyEPJ4hCLfZVr0To"',mtime:"2025-03-16T02:32:37.635Z",size:11008,path:"../public/assets/ChatInput.vue_vue_type_style_index_0_lang-DAxQJ2xg.js"},"/assets/CodeBlocks-BjdYAAtx.css":{type:"text/css; charset=utf-8",etag:'"e09-lc+K0/F7vGr4OfatWHG1KVvcNos"',mtime:"2025-03-16T02:32:37.635Z",size:3593,path:"../public/assets/CodeBlocks-BjdYAAtx.css"},"/assets/CodeBlocks.vue_vue_type_style_index_0_lang-BYeAONu2.js":{type:"text/javascript; charset=utf-8",etag:'"4216-ekyvASPS99HV4ll4HNbC4t9N/Qk"',mtime:"2025-03-16T02:32:37.636Z",size:16918,path:"../public/assets/CodeBlocks.vue_vue_type_style_index_0_lang-BYeAONu2.js"},"/assets/FrameContent-CUoI637t.css":{type:"text/css; charset=utf-8",etag:'"fb-6QJbV1XyCjCNz5MaOnPi8ahEGDo"',mtime:"2025-03-16T02:32:37.636Z",size:251,path:"../public/assets/FrameContent-CUoI637t.css"},"/assets/FrameContent-_iT2pOwC.js":{type:"text/javascript; charset=utf-8",etag:'"6bd-eyxnee7A9t2tmItTHaSc3upMNMc"',mtime:"2025-03-16T02:32:37.636Z",size:1725,path:"../public/assets/FrameContent-_iT2pOwC.js"},"/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2":{type:"font/woff2",etag:'"6dac-NElHQ3Nv2nVxl9FvzGpuGnkxfIY"',mtime:"2025-03-16T02:32:37.636Z",size:28076,path:"../public/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2"},"/assets/KaTeX_AMS-Regular-DMm9YOAa.woff":{type:"font/woff",etag:'"82ec-ma2i3jIA55UUPWOSMsNESwgBgjU"',mtime:"2025-03-16T02:32:37.637Z",size:33516,path:"../public/assets/KaTeX_AMS-Regular-DMm9YOAa.woff"},"/assets/KaTeX_AMS-Regular-DRggAlZN.ttf":{type:"font/ttf",etag:'"f890-Hf0O5uMPihwjmZ2dll24cAtany4"',mtime:"2025-03-16T02:32:37.637Z",size:63632,path:"../public/assets/KaTeX_AMS-Regular-DRggAlZN.ttf"},"/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf":{type:"font/ttf",etag:'"3050-j6tziha6j7fnACoHXwNqRVpFxug"',mtime:"2025-03-16T02:32:37.637Z",size:12368,path:"../public/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf"},"/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff":{type:"font/woff",etag:'"1e24-3SOsD7CsRpsGJEhep41wD2NhQgM"',mtime:"2025-03-16T02:32:37.639Z",size:7716,path:"../public/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff"},"/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2":{type:"font/woff2",etag:'"1b00-W/pJysRs0derE1E4jTfBGvWbphU"',mtime:"2025-03-16T02:32:37.639Z",size:6912,path:"../public/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2"},"/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff":{type:"font/woff",etag:'"1de8-Gm85vXDJt0cTB431991hCPm604s"',mtime:"2025-03-16T02:32:37.639Z",size:7656,path:"../public/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff"},"/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2":{type:"font/woff2",etag:'"1afc-n4B34LOKKQzZt7E2sKwpyDdegaY"',mtime:"2025-03-16T02:32:37.639Z",size:6908,path:"../public/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2"},"/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf":{type:"font/ttf",etag:'"3038-JvJqE+an0KabSPYqzTGoGWvOf24"',mtime:"2025-03-16T02:32:37.639Z",size:12344,path:"../public/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf"},"/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf":{type:"font/ttf",etag:'"4c80-TgjdADgxJOfNlpcMyw++NcnvqqM"',mtime:"2025-03-16T02:32:37.639Z",size:19584,path:"../public/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf"},"/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff":{type:"font/woff",etag:'"33f0-W7r9UB8mIhlCavfyDBEDu0tzJZI"',mtime:"2025-03-16T02:32:37.639Z",size:13296,path:"../public/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff"},"/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2":{type:"font/woff2",etag:'"2c54-+Y+JJy7KEa5BdnLFmg+qaoiAWok"',mtime:"2025-03-16T02:32:37.639Z",size:11348,path:"../public/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2"},"/assets/KaTeX_Fraktur-Regular-CB_wures.ttf":{type:"font/ttf",etag:'"4c74-F9tAiC3V8UBiXyjdlMQwReGJPpg"',mtime:"2025-03-16T02:32:37.639Z",size:19572,path:"../public/assets/KaTeX_Fraktur-Regular-CB_wures.ttf"},"/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2":{type:"font/woff2",etag:'"2c34-pXZMbieE0CggwLkECJ8/rHmL5Po"',mtime:"2025-03-16T02:32:37.639Z",size:11316,path:"../public/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2"},"/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff":{type:"font/woff",etag:'"3398-b3VjdjYPCBW0SGL1f3let8HNTbI"',mtime:"2025-03-16T02:32:37.639Z",size:13208,path:"../public/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff"},"/assets/KaTeX_Main-Bold-Cx986IdX.woff2":{type:"font/woff2",etag:'"62ec-MQUKGxsSP7LFnK0fdLff+Q3rj84"',mtime:"2025-03-16T02:32:37.639Z",size:25324,path:"../public/assets/KaTeX_Main-Bold-Cx986IdX.woff2"},"/assets/KaTeX_Main-Bold-Jm3AIy58.woff":{type:"font/woff",etag:'"74d8-9po2JQ6ubooCFzqZCapihCi6IGA"',mtime:"2025-03-16T02:32:37.639Z",size:29912,path:"../public/assets/KaTeX_Main-Bold-Jm3AIy58.woff"},"/assets/KaTeX_Main-Bold-waoOVXN0.ttf":{type:"font/ttf",etag:'"c888-QTqz3D/DpXUidbriyuZ+tY8rMvA"',mtime:"2025-03-16T02:32:37.640Z",size:51336,path:"../public/assets/KaTeX_Main-Bold-waoOVXN0.ttf"},"/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2":{type:"font/woff2",etag:'"418c-pKSQW4sSb5/9VT0hpyoMJOlIA0U"',mtime:"2025-03-16T02:32:37.640Z",size:16780,path:"../public/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2"},"/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf":{type:"font/ttf",etag:'"80c8-umRk5EL9UK73Z4kkug8tlYHruwc"',mtime:"2025-03-16T02:32:37.640Z",size:32968,path:"../public/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf"},"/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff":{type:"font/woff",etag:'"4bd4-A4u9yIh6lzCtlBR/xXxv9N+0hBE"',mtime:"2025-03-16T02:32:37.641Z",size:19412,path:"../public/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff"},"/assets/KaTeX_Main-Italic-3WenGoN9.ttf":{type:"font/ttf",etag:'"832c-HVZoorlK59vu/dfNaNmP6dWCXgc"',mtime:"2025-03-16T02:32:37.641Z",size:33580,path:"../public/assets/KaTeX_Main-Italic-3WenGoN9.ttf"},"/assets/KaTeX_Main-Italic-BMLOBm91.woff":{type:"font/woff",etag:'"4cdc-fIWJITvHAD4sIzS1HKQVKFiYer0"',mtime:"2025-03-16T02:32:37.641Z",size:19676,path:"../public/assets/KaTeX_Main-Italic-BMLOBm91.woff"},"/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2":{type:"font/woff2",etag:'"425c-ybK1/9LyeqXGtvm6QaeytOZhAtM"',mtime:"2025-03-16T02:32:37.641Z",size:16988,path:"../public/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2"},"/assets/KaTeX_Main-Regular-B22Nviop.woff2":{type:"font/woff2",etag:'"66a0-yIQIbCXOyFWBYLICb5Bu99o1cKw"',mtime:"2025-03-16T02:32:37.642Z",size:26272,path:"../public/assets/KaTeX_Main-Regular-B22Nviop.woff2"},"/assets/KaTeX_Main-Regular-Dr94JaBh.woff":{type:"font/woff",etag:'"7834-/crlS6HUY17oWlRizByX5SHP1RU"',mtime:"2025-03-16T02:32:37.642Z",size:30772,path:"../public/assets/KaTeX_Main-Regular-Dr94JaBh.woff"},"/assets/KaTeX_Main-Regular-ypZvNtVU.ttf":{type:"font/ttf",etag:'"d14c-h0TbbvjDCePchfG76YBSCti3v9Q"',mtime:"2025-03-16T02:32:37.642Z",size:53580,path:"../public/assets/KaTeX_Main-Regular-ypZvNtVU.ttf"},"/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf":{type:"font/ttf",etag:'"79dc-6AzEwjLSB192KlLUa+tP+9N6Xxo"',mtime:"2025-03-16T02:32:37.642Z",size:31196,path:"../public/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf"},"/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2":{type:"font/woff2",etag:'"4010-j8udLeZaxxoMT92YYXPbcwWS7Yo"',mtime:"2025-03-16T02:32:37.642Z",size:16400,path:"../public/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2"},"/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff":{type:"font/woff",etag:'"48ec-1U5kgNbUBGxqVhmqODuqWXH7igw"',mtime:"2025-03-16T02:32:37.642Z",size:18668,path:"../public/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff"},"/assets/KaTeX_Math-Italic-DA0__PXp.woff":{type:"font/woff",etag:'"493c-HBtIc54ctL4T3djAvCed3oUb26A"',mtime:"2025-03-16T02:32:37.642Z",size:18748,path:"../public/assets/KaTeX_Math-Italic-DA0__PXp.woff"},"/assets/KaTeX_Math-Italic-flOr_0UB.ttf":{type:"font/ttf",etag:'"7a4c-npoQ2Ppa2Iyez6SQKt3U2SWAsrw"',mtime:"2025-03-16T02:32:37.642Z",size:31308,path:"../public/assets/KaTeX_Math-Italic-flOr_0UB.ttf"},"/assets/KaTeX_Math-Italic-t53AETM-.woff2":{type:"font/woff2",etag:'"4038-20iD0M/5XstcA0EOMoOnN8Ue1gQ"',mtime:"2025-03-16T02:32:37.643Z",size:16440,path:"../public/assets/KaTeX_Math-Italic-t53AETM-.woff2"},"/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf":{type:"font/ttf",etag:'"5fb8-ILRfU0a2htUsRFdFOT0XB7uI7B0"',mtime:"2025-03-16T02:32:37.643Z",size:24504,path:"../public/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf"},"/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2":{type:"font/woff2",etag:'"2fb8-iG5heXpSXUqvzgqvV0FP366huHM"',mtime:"2025-03-16T02:32:37.643Z",size:12216,path:"../public/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2"},"/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff":{type:"font/woff",etag:'"3848-or7dyKPU0IAo1wd3btvU0k8uwPw"',mtime:"2025-03-16T02:32:37.643Z",size:14408,path:"../public/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff"},"/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2":{type:"font/woff2",etag:'"2efc-PV+jyzCfjYO03L3SdyXycPYPPus"',mtime:"2025-03-16T02:32:37.643Z",size:12028,path:"../public/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2"},"/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff":{type:"font/woff",etag:'"3720-dWSjZrdv2DcEHCS+70xVgKWt1A4"',mtime:"2025-03-16T02:32:37.643Z",size:14112,path:"../public/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff"},"/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf":{type:"font/ttf",etag:'"575c-mR+9wDFouxSkRHz6PlFfCabs/tw"',mtime:"2025-03-16T02:32:37.643Z",size:22364,path:"../public/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf"},"/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf":{type:"font/ttf",etag:'"4bec-So4XoMtYqCKN1EF/vRuJnkHasEU"',mtime:"2025-03-16T02:32:37.643Z",size:19436,path:"../public/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf"},"/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff":{type:"font/woff",etag:'"301c-gEYQ9MsuLq2WlLjaLshOzo0Jw40"',mtime:"2025-03-16T02:32:37.643Z",size:12316,path:"../public/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff"},"/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2":{type:"font/woff2",etag:'"2868-5F1fT0p/L/PcqfzMLxSOeB4j8pI"',mtime:"2025-03-16T02:32:37.644Z",size:10344,path:"../public/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2"},"/assets/KaTeX_Script-Regular-C5JkGWo-.ttf":{type:"font/ttf",etag:'"4108-xvZ12oGtKcvySyz3cPeVtNosZI4"',mtime:"2025-03-16T02:32:37.644Z",size:16648,path:"../public/assets/KaTeX_Script-Regular-C5JkGWo-.ttf"},"/assets/KaTeX_Script-Regular-D3wIWfF6.woff2":{type:"font/woff2",etag:'"25ac-Y7gJWfH8Voma4hugy7zTmmywg5A"',mtime:"2025-03-16T02:32:37.644Z",size:9644,path:"../public/assets/KaTeX_Script-Regular-D3wIWfF6.woff2"},"/assets/KaTeX_Script-Regular-D5yQViql.woff":{type:"font/woff",etag:'"295c-agXNyk8fcIXmB9w4vt71V1P4b9g"',mtime:"2025-03-16T02:32:37.644Z",size:10588,path:"../public/assets/KaTeX_Script-Regular-D5yQViql.woff"},"/assets/KaTeX_Size1-Regular-C195tn64.woff":{type:"font/woff",etag:'"1960-rv5mdKVlM2J8c5zXiWOY8USH4Bw"',mtime:"2025-03-16T02:32:37.644Z",size:6496,path:"../public/assets/KaTeX_Size1-Regular-C195tn64.woff"},"/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf":{type:"font/ttf",etag:'"2fc4-MoC6y8sSRZcf4BAXtHTHbDN8EMk"',mtime:"2025-03-16T02:32:37.644Z",size:12228,path:"../public/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf"},"/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2":{type:"font/woff2",etag:'"155c-V/pZmXShvAs31fDlzIYCMC8CtXM"',mtime:"2025-03-16T02:32:37.644Z",size:5468,path:"../public/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2"},"/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf":{type:"font/ttf",etag:'"2cf4-+vc/8+eVGE5UMWZv+v64qg4og00"',mtime:"2025-03-16T02:32:37.644Z",size:11508,path:"../public/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf"},"/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2":{type:"font/woff2",etag:'"1458-7hhxNjSjvoyZcnaAhVKrGVpZj0M"',mtime:"2025-03-16T02:32:37.644Z",size:5208,path:"../public/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2"},"/assets/KaTeX_Size2-Regular-oD1tc_U0.woff":{type:"font/woff",etag:'"182c-RmmP8YGb0ngm/V0txLpOH2PKzfQ"',mtime:"2025-03-16T02:32:37.644Z",size:6188,path:"../public/assets/KaTeX_Size2-Regular-oD1tc_U0.woff"},"/assets/KaTeX_Size3-Regular-CTq5MqoE.woff":{type:"font/woff",etag:'"1144-HaGQWm0dm8q5KwWd9ytSjepwi8s"',mtime:"2025-03-16T02:32:37.644Z",size:4420,path:"../public/assets/KaTeX_Size3-Regular-CTq5MqoE.woff"},"/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf":{type:"font/ttf",etag:'"1da4-MCphsuzfgtOeZ4D0K9B+5M5nuNU"',mtime:"2025-03-16T02:32:37.644Z",size:7588,path:"../public/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf"},"/assets/KaTeX_Size4-Regular-BF-4gkZK.woff":{type:"font/woff",etag:'"175c-j93bg1E+wiYjHr7gUHnsRfwBNXg"',mtime:"2025-03-16T02:32:37.645Z",size:5980,path:"../public/assets/KaTeX_Size4-Regular-BF-4gkZK.woff"},"/assets/KaTeX_Size4-Regular-DWFBv043.ttf":{type:"font/ttf",etag:'"287c-PY2d1YoDt6RtSX9XYeYNi4RKUZk"',mtime:"2025-03-16T02:32:37.645Z",size:10364,path:"../public/assets/KaTeX_Size4-Regular-DWFBv043.ttf"},"/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2":{type:"font/woff2",etag:'"1340-m+0X+5LyZQUB4imGLEDGQH4cVSg"',mtime:"2025-03-16T02:32:37.645Z",size:4928,path:"../public/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2"},"/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff":{type:"font/woff",etag:'"3e9c-9ecp+k/0ZvwH4MerGXmtcMRfpdU"',mtime:"2025-03-16T02:32:37.645Z",size:16028,path:"../public/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff"},"/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2":{type:"font/woff2",etag:'"3500-egiIP//GlYxxzAGnWguZzKPktHU"',mtime:"2025-03-16T02:32:37.645Z",size:13568,path:"../public/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2"},"/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf":{type:"font/ttf",etag:'"6ba4-YpuZ+vGNl1KfIaGxAYCT5gvNBY8"',mtime:"2025-03-16T02:32:37.645Z",size:27556,path:"../public/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf"},"/assets/_plugin-vue_export-helper-Cd8NMA_g.js":{type:"text/javascript; charset=utf-8",etag:'"1d1ed-3uJ9pdWP/ucq92jPDxZQl+cvSRY"',mtime:"2025-03-16T02:32:37.645Z",size:119277,path:"../public/assets/_plugin-vue_export-helper-Cd8NMA_g.js"},"/assets/about-C3hG26Bq.js":{type:"text/javascript; charset=utf-8",etag:'"3d9-NnpVN/XiM0i20/2ep7lOjZJqhJw"',mtime:"2025-03-16T02:32:37.645Z",size:985,path:"../public/assets/about-C3hG26Bq.js"},"/assets/app-_ksMLlTy.js":{type:"text/javascript; charset=utf-8",etag:'"1a-F1ebt5luQF+ilw3nh0acHjD0L2E"',mtime:"2025-03-16T02:32:37.645Z",size:26,path:"../public/assets/app-_ksMLlTy.js"},"/assets/assets-t-logo-CxwPZnhN.png":{type:"image/png",etag:'"146c-vbv340mQ6WdpZBtCqwFRw74KQuc"',mtime:"2025-03-16T02:32:37.645Z",size:5228,path:"../public/assets/assets-t-logo-CxwPZnhN.png"},"/assets/avatar.vue_vue_type_script_setup_true_lang-DBBGMk2K.js":{type:"text/javascript; charset=utf-8",etag:'"440-/I9sIWI8yXzK7TsoOqK8jDia7ng"',mtime:"2025-03-16T02:32:37.645Z",size:1088,path:"../public/assets/avatar.vue_vue_type_script_setup_true_lang-DBBGMk2K.js"},"/assets/bezier-easing-P8rDU8Ee.js":{type:"text/javascript; charset=utf-8",etag:'"3ea-PToDs2xxFU/LBaJ40Vi/fHt18nE"',mtime:"2025-03-16T02:32:37.645Z",size:1002,path:"../public/assets/bezier-easing-P8rDU8Ee.js"},"/assets/changelog-CWNsyxNr.js":{type:"text/javascript; charset=utf-8",etag:'"3e1-tMRIIEE3M4BTWtE0tbwW00Wsr8w"',mtime:"2025-03-16T02:32:37.646Z",size:993,path:"../public/assets/changelog-CWNsyxNr.js"},"/assets/chat-Cg_gpPLS.css":{type:"text/css; charset=utf-8",etag:'"2c8-m/xtY2/Rayw0YtUqtAP/B3y7mKI"',mtime:"2025-03-16T02:32:37.646Z",size:712,path:"../public/assets/chat-Cg_gpPLS.css"},"/assets/chat-z9YoKbfO.js":{type:"text/javascript; charset=utf-8",etag:'"a5bc-YwjzYw0Y6e3LJJjjebwADwHbfC4"',mtime:"2025-03-16T02:32:37.646Z",size:42428,path:"../public/assets/chat-z9YoKbfO.js"},"/assets/chroma-js-CJzpYopr.js":{type:"text/javascript; charset=utf-8",etag:'"a4e8-6fEIqvcHhz/OSNm4r3dX49bKhRQ"',mtime:"2025-03-16T02:32:37.646Z",size:42216,path:"../public/assets/chroma-js-CJzpYopr.js"},"/assets/content-CXerDfC_.css":{type:"text/css; charset=utf-8",etag:'"cb-1a+zqFn+hrqgGCN6Yif45aPXz90"',mtime:"2025-03-16T02:32:37.646Z",size:203,path:"../public/assets/content-CXerDfC_.css"},"/assets/content-CZ3W7_RA.js":{type:"text/javascript; charset=utf-8",etag:'"32ea-OEltE614aU4Xl2pIAMiC34rX0t0"',mtime:"2025-03-16T02:32:37.646Z",size:13034,path:"../public/assets/content-CZ3W7_RA.js"},"/assets/core-js-pure-Dnpx5JGu.js":{type:"text/javascript; charset=utf-8",etag:'"dec5-/oPoevnWr5wuIkEV49p/CxNIBOQ"',mtime:"2025-03-16T02:32:37.646Z",size:57029,path:"../public/assets/core-js-pure-Dnpx5JGu.js"},"/assets/cose-base-kQthUiMK.js":{type:"text/javascript; charset=utf-8",etag:'"4d11-UT667dn6bngYS8t0/u8gyfXlRNg"',mtime:"2025-03-16T02:32:37.646Z",size:19729,path:"../public/assets/cose-base-kQthUiMK.js"},"/assets/cytoscape-B1WqMhz1.js":{type:"text/javascript; charset=utf-8",etag:'"6aceb-fhPkZG/5DJxH523io6DckFqt2Xk"',mtime:"2025-03-16T02:32:37.647Z",size:437483,path:"../public/assets/cytoscape-B1WqMhz1.js"},"/assets/cytoscape-cose-bilkent-CcQu5e-H.js":{type:"text/javascript; charset=utf-8",etag:'"1e01-hJwC9f3KnI67YCP6jrP0Ypm1hw8"',mtime:"2025-03-16T02:32:37.647Z",size:7681,path:"../public/assets/cytoscape-cose-bilkent-CcQu5e-H.js"},"/assets/d3-BW2GlWy8.js":{type:"text/javascript; charset=utf-8",etag:'"43-ZxqrbLk8FxHOK3GAVGBLaB9Ogso"',mtime:"2025-03-16T02:32:37.647Z",size:67,path:"../public/assets/d3-BW2GlWy8.js"},"/assets/d3-array-B0evfIyH.js":{type:"text/javascript; charset=utf-8",etag:'"7c1-lh6nd7cnYPm4Z/Jc03/2yAvj/Q8"',mtime:"2025-03-16T02:32:37.647Z",size:1985,path:"../public/assets/d3-array-B0evfIyH.js"},"/assets/d3-axis-pCwzqJ1S.js":{type:"text/javascript; charset=utf-8",etag:'"a79-FCk1dt/st3l2+muUJKrURh1ezMQ"',mtime:"2025-03-16T02:32:37.647Z",size:2681,path:"../public/assets/d3-axis-pCwzqJ1S.js"},"/assets/d3-brush-CAg10rWz.js":{type:"text/javascript; charset=utf-8",etag:'"25-WEegomVt8cuqScRFVAKG+JZEyho"',mtime:"2025-03-16T02:32:37.647Z",size:37,path:"../public/assets/d3-brush-CAg10rWz.js"},"/assets/d3-chord-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-16T02:32:37.647Z",size:1,path:"../public/assets/d3-chord-l0sNRNKZ.js"},"/assets/d3-color-D5ULnJIe.js":{type:"text/javascript; charset=utf-8",etag:'"23d9-9TMj/QP5dJtBT9As692nhYTIsZQ"',mtime:"2025-03-16T02:32:37.647Z",size:9177,path:"../public/assets/d3-color-D5ULnJIe.js"},"/assets/d3-contour-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-16T02:32:37.648Z",size:1,path:"../public/assets/d3-contour-l0sNRNKZ.js"},"/assets/d3-delaunay-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-16T02:32:37.648Z",size:1,path:"../public/assets/d3-delaunay-l0sNRNKZ.js"},"/assets/d3-dispatch-Chq_f_hl.js":{type:"text/javascript; charset=utf-8",etag:'"5ee-F7Y5WoYj59TMjfuZNv+jI2mpRbs"',mtime:"2025-03-16T02:32:37.648Z",size:1518,path:"../public/assets/d3-dispatch-Chq_f_hl.js"},"/assets/d3-drag-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-16T02:32:37.648Z",size:1,path:"../public/assets/d3-drag-l0sNRNKZ.js"},"/assets/d3-dsv-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-16T02:32:37.648Z",size:1,path:"../public/assets/d3-dsv-l0sNRNKZ.js"},"/assets/d3-ease-Cx6bG2vu.js":{type:"text/javascript; charset=utf-8",etag:'"45-VSWuH+b+NX8BgT3wmUO1g6B+Sf0"',mtime:"2025-03-16T02:32:37.649Z",size:69,path:"../public/assets/d3-ease-Cx6bG2vu.js"},"/assets/d3-fetch-XwboCDHR.js":{type:"text/javascript; charset=utf-8",etag:'"e3-prUwJVQ8U8YKc1tkPn7FeWtV+Kc"',mtime:"2025-03-16T02:32:37.649Z",size:227,path:"../public/assets/d3-fetch-XwboCDHR.js"},"/assets/d3-force-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-16T02:32:37.648Z",size:1,path:"../public/assets/d3-force-l0sNRNKZ.js"},"/assets/d3-format-C0lSXcPg.js":{type:"text/javascript; charset=utf-8",etag:'"1257-qKkScJcj4Fl1NtigmeM93+tlHLk"',mtime:"2025-03-16T02:32:37.649Z",size:4695,path:"../public/assets/d3-format-C0lSXcPg.js"},"/assets/d3-geo-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-16T02:32:37.649Z",size:1,path:"../public/assets/d3-geo-l0sNRNKZ.js"},"/assets/d3-hierarchy-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-16T02:32:37.649Z",size:1,path:"../public/assets/d3-hierarchy-l0sNRNKZ.js"},"/assets/d3-interpolate-Ct9kki6l.js":{type:"text/javascript; charset=utf-8",etag:'"10f8-ifxeguZgXlAAUCPyA9oa40V8LGk"',mtime:"2025-03-16T02:32:37.649Z",size:4344,path:"../public/assets/d3-interpolate-Ct9kki6l.js"},"/assets/d3-path-QSrLXsQ3.js":{type:"text/javascript; charset=utf-8",etag:'"804-y1a+1saOIZNeasBFa5tQrRqTySQ"',mtime:"2025-03-16T02:32:37.649Z",size:2052,path:"../public/assets/d3-path-QSrLXsQ3.js"},"/assets/d3-polygon-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-16T02:32:37.649Z",size:1,path:"../public/assets/d3-polygon-l0sNRNKZ.js"},"/assets/d3-quadtree-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-16T02:32:37.649Z",size:1,path:"../public/assets/d3-quadtree-l0sNRNKZ.js"},"/assets/d3-random-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-16T02:32:37.649Z",size:1,path:"../public/assets/d3-random-l0sNRNKZ.js"},"/assets/d3-scale-CjTvl_Qo.js":{type:"text/javascript; charset=utf-8",etag:'"11d8-kyXJzNNfgKHeAfH+qjnpYm197vE"',mtime:"2025-03-16T02:32:37.649Z",size:4568,path:"../public/assets/d3-scale-CjTvl_Qo.js"},"/assets/d3-scale-chromatic-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-16T02:32:37.649Z",size:1,path:"../public/assets/d3-scale-chromatic-l0sNRNKZ.js"},"/assets/d3-selection-G65jBFUY.js":{type:"text/javascript; charset=utf-8",etag:'"2f15-eEvtPZsFKx7JXdBMJ55bOpTcfAw"',mtime:"2025-03-16T02:32:37.649Z",size:12053,path:"../public/assets/d3-selection-G65jBFUY.js"},"/assets/d3-shape-C1TbtrGg.js":{type:"text/javascript; charset=utf-8",etag:'"5261-9tBH29zF9ZExRfaKO7bHMqFDFuQ"',mtime:"2025-03-16T02:32:37.649Z",size:21089,path:"../public/assets/d3-shape-C1TbtrGg.js"},"/assets/d3-time-CebKitJR.js":{type:"text/javascript; charset=utf-8",etag:'"1222-3pkot1fWhqHWZMa2qSs3BkF9lL0"',mtime:"2025-03-16T02:32:37.649Z",size:4642,path:"../public/assets/d3-time-CebKitJR.js"},"/assets/d3-time-format-D74OpZq4.js":{type:"text/javascript; charset=utf-8",etag:'"2292-O21RYzliBtwhUPxv0FWchRbHKuc"',mtime:"2025-03-16T02:32:37.650Z",size:8850,path:"../public/assets/d3-time-format-D74OpZq4.js"},"/assets/d3-timer-keMr1twq.js":{type:"text/javascript; charset=utf-8",etag:'"537-WnI8bA05aAnVcNPRJEZjZkmy08Y"',mtime:"2025-03-16T02:32:37.650Z",size:1335,path:"../public/assets/d3-timer-keMr1twq.js"},"/assets/d3-transition-swcnLnsT.js":{type:"text/javascript; charset=utf-8",etag:'"2aaf-q7TE85J+4pZAQUA2T4b6TZz5IDg"',mtime:"2025-03-16T02:32:37.650Z",size:10927,path:"../public/assets/d3-transition-swcnLnsT.js"},"/assets/d3-zoom-D4Vc87xO.js":{type:"text/javascript; charset=utf-8",etag:'"361-uR4XFeeODwXI4cGDTE0Kqu2LjTs"',mtime:"2025-03-16T02:32:37.656Z",size:865,path:"../public/assets/d3-zoom-D4Vc87xO.js"},"/assets/dagre-d3-es-FtH4B9px.js":{type:"text/javascript; charset=utf-8",etag:'"a4aa-AcKlUACb9MwJu8Y6Z5ucF2t06bA"',mtime:"2025-03-16T02:32:37.650Z",size:42154,path:"../public/assets/dagre-d3-es-FtH4B9px.js"},"/assets/dayjs-Cbdj87rt.js":{type:"text/javascript; charset=utf-8",etag:'"30c7-lSwOhiOzBI+I22X24Ozo9X6ime4"',mtime:"2025-03-16T02:32:37.650Z",size:12487,path:"../public/assets/dayjs-Cbdj87rt.js"},"/assets/deep-pick-omit-DP_A4OSP.js":{type:"text/javascript; charset=utf-8",etag:'"466-wFXV9OVC9OUGEpNVO9d8tzbfJLU"',mtime:"2025-03-16T02:32:37.650Z",size:1126,path:"../public/assets/deep-pick-omit-DP_A4OSP.js"},"/assets/delaunator-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-16T02:32:37.650Z",size:1,path:"../public/assets/delaunator-l0sNRNKZ.js"},"/assets/destr-ClW9AvhW.js":{type:"text/javascript; charset=utf-8",etag:'"4b4-8lJ1jag+LQf5/nWIUeOkVDYVj7k"',mtime:"2025-03-16T02:32:37.650Z",size:1204,path:"../public/assets/destr-ClW9AvhW.js"},"/assets/dompurify-B5jhUdWW.js":{type:"text/javascript; charset=utf-8",etag:'"56f0-MmX4JF7TA2APkAmPt8f2XSj9ZMM"',mtime:"2025-03-16T02:32:37.650Z",size:22256,path:"../public/assets/dompurify-B5jhUdWW.js"},"/assets/elkjs-BAetzGHm.js":{type:"text/javascript; charset=utf-8",etag:'"1569d8-o6No5K3/lCJx267F8N158VQprUs"',mtime:"2025-03-16T02:32:37.652Z",size:1403352,path:"../public/assets/elkjs-BAetzGHm.js"},"/assets/entities-D7HTx9ov.js":{type:"text/javascript; charset=utf-8",etag:'"8cae-ASJCRYrcmU+X49L4kRiJyNXyMgM"',mtime:"2025-03-16T02:32:37.652Z",size:36014,path:"../public/assets/entities-D7HTx9ov.js"},"/assets/eventsource-parser-BEY8Dpg-.js":{type:"text/javascript; charset=utf-8",etag:'"78d-1kISaZniRhxEqUKs4j1TXan4FZU"',mtime:"2025-03-16T02:32:37.651Z",size:1933,path:"../public/assets/eventsource-parser-BEY8Dpg-.js"},"/assets/help-C98ACA5T.js":{type:"text/javascript; charset=utf-8",etag:'"42c-JEnvONfAV07EYGpzG3jP1Qa2MHY"',mtime:"2025-03-16T02:32:37.651Z",size:1068,path:"../public/assets/help-C98ACA5T.js"},"/assets/highlight.js-BsoTvX5C.js":{type:"text/javascript; charset=utf-8",etag:'"f87c0-GixK3nuLX5qJRGUI2DwtsqumyUk"',mtime:"2025-03-16T02:32:37.652Z",size:1017792,path:"../public/assets/highlight.js-BsoTvX5C.js"},"/assets/index-Bg5EKroP.css":{type:"text/css; charset=utf-8",etag:'"7c6-B1OxOHL9HtErNftA2h9EqXsDCP0"',mtime:"2025-03-16T02:32:37.652Z",size:1990,path:"../public/assets/index-Bg5EKroP.css"},"/assets/index-Bt6rwT-8.js":{type:"text/javascript; charset=utf-8",etag:'"944-OqJNMYihfFRHbxxvmXITt8Ws9nE"',mtime:"2025-03-16T02:32:37.652Z",size:2372,path:"../public/assets/index-Bt6rwT-8.js"},"/assets/index-Cm8vPnte.js":{type:"text/javascript; charset=utf-8",etag:'"47d-OhV6K1KcLFT+EEjLchjpklDRcDg"',mtime:"2025-03-16T02:32:37.652Z",size:1149,path:"../public/assets/index-Cm8vPnte.js"},"/assets/index-CmAH-Obx.js":{type:"text/javascript; charset=utf-8",etag:'"4bf8-WTCiRLx7hxLrbUQBXnFIgCmOqxQ"',mtime:"2025-03-16T02:32:37.653Z",size:19448,path:"../public/assets/index-CmAH-Obx.js"},"/assets/index-DWphMrS1.css":{type:"text/css; charset=utf-8",etag:'"321-j2DbWq2xzTMni/ogD59SBddlPSk"',mtime:"2025-03-16T02:32:37.653Z",size:801,path:"../public/assets/index-DWphMrS1.css"},"/assets/index-DZN1F57a.js":{type:"text/javascript; charset=utf-8",etag:'"506b-keLTWjA/XxilbnvF8+TiEuxRjp0"',mtime:"2025-03-16T02:32:37.654Z",size:20587,path:"../public/assets/index-DZN1F57a.js"},"/assets/index-N-qB8g0F.js":{type:"text/javascript; charset=utf-8",etag:'"1afe-UwRXS7JzCXwDX9lxu877StZd9RA"',mtime:"2025-03-16T02:32:37.654Z",size:6910,path:"../public/assets/index-N-qB8g0F.js"},"/assets/index-S7NL9uVD.js":{type:"text/javascript; charset=utf-8",etag:'"4d5e-/tcAyoVD1y4ic0csNLEWS/G2Izw"',mtime:"2025-03-16T02:32:37.654Z",size:19806,path:"../public/assets/index-S7NL9uVD.js"},"/assets/internmap-B8oPgqVZ.js":{type:"text/javascript; charset=utf-8",etag:'"27c-RCk4//XL2PAg7MGLIGsuL5G/iVA"',mtime:"2025-03-16T02:32:37.654Z",size:636,path:"../public/assets/internmap-B8oPgqVZ.js"},"/assets/katex-BY7yyeOs.js":{type:"text/javascript; charset=utf-8",etag:'"48f29-yE+XlPP/x0i46yjVZ04Vycymhxo"',mtime:"2025-03-16T02:32:37.655Z",size:298793,path:"../public/assets/katex-BY7yyeOs.js"},"/assets/khroma-Ca6ZlOUT.js":{type:"text/javascript; charset=utf-8",etag:'"2838-02b9ktMKU0Uxp0K8C5BMb6HcW6c"',mtime:"2025-03-16T02:32:37.655Z",size:10296,path:"../public/assets/khroma-Ca6ZlOUT.js"},"/assets/layout-base-DqRk0Tgc.js":{type:"text/javascript; charset=utf-8",etag:'"c95c-QXvDmtW4EQAldMUKpzDvTr5mAOo"',mtime:"2025-03-16T02:32:37.655Z",size:51548,path:"../public/assets/layout-base-DqRk0Tgc.js"},"/assets/linkify-it-LcVOBuC5.js":{type:"text/javascript; charset=utf-8",etag:'"2506-igm5x3jZkI/ZvzTnBp6IrKPmoBA"',mtime:"2025-03-16T02:32:37.655Z",size:9478,path:"../public/assets/linkify-it-LcVOBuC5.js"},"/assets/lodash-VDnThKtA.js":{type:"text/javascript; charset=utf-8",etag:'"54c3-9+SmSiuit/e/T6NNMTGEDJMz7ao"',mtime:"2025-03-16T02:32:37.655Z",size:21699,path:"../public/assets/lodash-VDnThKtA.js"},"/assets/lodash-es-BkU_-LF8.js":{type:"text/javascript; charset=utf-8",etag:'"8a6c-8JAJCN+mYv5zz3fbJt43gO8sjUk"',mtime:"2025-03-16T02:32:37.655Z",size:35436,path:"../public/assets/lodash-es-BkU_-LF8.js"},"/assets/lyihub-zLFv36Ly.js":{type:"text/javascript; charset=utf-8",etag:'"69f-YBlH+nb7V6SSmdlgZ/sY0ZlzZi0"',mtime:"2025-03-16T02:32:37.655Z",size:1695,path:"../public/assets/lyihub-zLFv36Ly.js"},"/assets/main-Bh8K6KCJ.css":{type:"text/css; charset=utf-8",etag:'"1383b-irY0wGEfhQpSqLZ5VmlcGU6EImQ"',mtime:"2025-03-16T02:32:37.655Z",size:79931,path:"../public/assets/main-Bh8K6KCJ.css"},"/assets/main-CeVW39vq.js":{type:"text/javascript; charset=utf-8",etag:'"a4a5-w7EaZ5iB8sShbr/3Df911GCN0qg"',mtime:"2025-03-16T02:32:37.656Z",size:42149,path:"../public/assets/main-CeVW39vq.js"},"/assets/mammoth-SX_ZK-lB.js":{type:"text/javascript; charset=utf-8",etag:'"7b619-qJskLG24Tz9HzQxW4WYQg3u7T+c"',mtime:"2025-03-16T02:32:37.656Z",size:505369,path:"../public/assets/mammoth-SX_ZK-lB.js"},"/assets/markdown-Debu5d_y.js":{type:"text/javascript; charset=utf-8",etag:'"b84-q+u5TcISXf3yI64pEsPvjIgIsWM"',mtime:"2025-03-16T02:32:37.656Z",size:2948,path:"../public/assets/markdown-Debu5d_y.js"},"/assets/markdown-it-C8SkdHr7.js":{type:"text/javascript; charset=utf-8",etag:'"cda3-zpScLmZqW/cDrwLrLVUAUYiQoHs"',mtime:"2025-03-16T02:32:37.656Z",size:52643,path:"../public/assets/markdown-it-C8SkdHr7.js"},"/assets/markdown-it-highlightjs-Bk9Z4vG9.js":{type:"text/javascript; charset=utf-8",etag:'"f01-pJpKbvgtNNL6znPJxH/+FAXAdzE"',mtime:"2025-03-16T02:32:37.656Z",size:3841,path:"../public/assets/markdown-it-highlightjs-Bk9Z4vG9.js"},"/assets/markdown-it-link-attributes-DRKqjf49.js":{type:"text/javascript; charset=utf-8",etag:'"2d3-Ztl5D0YgZTjLHxy9MJT+LzmJgcI"',mtime:"2025-03-16T02:32:37.656Z",size:723,path:"../public/assets/markdown-it-link-attributes-DRKqjf49.js"},"/assets/mdurl-CDXpswLz.js":{type:"text/javascript; charset=utf-8",etag:'"12cf-J5d0Ip4EtRRuSMx8vOSdC2oRS/8"',mtime:"2025-03-16T02:32:37.656Z",size:4815,path:"../public/assets/mdurl-CDXpswLz.js"},"/assets/mermaid-BDMIxShI.js":{type:"text/javascript; charset=utf-8",etag:'"bb1d0-X5b+Ynudw3PINHUWP+dQyVpqCe4"',mtime:"2025-03-16T02:32:37.657Z",size:766416,path:"../public/assets/mermaid-BDMIxShI.js"},"/assets/mitt-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-16T02:32:37.657Z",size:1,path:"../public/assets/mitt-l0sNRNKZ.js"},"/assets/pdf.worker.min-yatZIOMy.mjs":{type:"text/javascript; charset=utf-8",etag:'"14fe5e-iGC1A5RKrS0JublO5W5Pq4QUymk"',mtime:"2025-03-16T02:32:37.658Z",size:1375838,path:"../public/assets/pdf.worker.min-yatZIOMy.mjs"},"/assets/pdfjs-dist-8WFUNQXM.js":{type:"text/javascript; charset=utf-8",etag:'"58a06-0WybHzP7c1zhxZq4K1wRJpetRUE"',mtime:"2025-03-16T02:32:37.658Z",size:363014,path:"../public/assets/pdfjs-dist-8WFUNQXM.js"},"/assets/pinia-C7G8hpVd.js":{type:"text/javascript; charset=utf-8",etag:'"f70-dj865BCbSDrDSJK3cdkH5ybhpEI"',mtime:"2025-03-16T02:32:37.658Z",size:3952,path:"../public/assets/pinia-C7G8hpVd.js"},"/assets/pinia-plugin-persistedstate-DyrI1rJI.js":{type:"text/javascript; charset=utf-8",etag:'"51c-IOUPIS/vvyLw3e9LnNGq2zZMnec"',mtime:"2025-03-16T02:32:37.658Z",size:1308,path:"../public/assets/pinia-plugin-persistedstate-DyrI1rJI.js"},"/assets/popup-CE5CL4-t.js":{type:"text/javascript; charset=utf-8",etag:'"1921-XK7GSJplmLamLOf7Pr9EK6NfcVA"',mtime:"2025-03-16T02:32:37.658Z",size:6433,path:"../public/assets/popup-CE5CL4-t.js"},"/assets/popup-cHgpYIp4.css":{type:"text/css; charset=utf-8",etag:'"12f78-AE5TS5QSHEn8sof9NvO/Hz1N4f0"',mtime:"2025-03-16T02:32:37.659Z",size:77688,path:"../public/assets/popup-cHgpYIp4.css"},"/assets/prismjs-t2geX1ef.js":{type:"text/javascript; charset=utf-8",etag:'"974c-MlbFYH4UO++zkKClrjXwGS13aPQ"',mtime:"2025-03-16T02:32:37.659Z",size:38732,path:"../public/assets/prismjs-t2geX1ef.js"},"/assets/punycode.js-Bmr3cAX8.js":{type:"text/javascript; charset=utf-8",etag:'"a7a-RevZlCPWj1eXNcvfzcrSkpPYyuI"',mtime:"2025-03-16T02:32:37.659Z",size:2682,path:"../public/assets/punycode.js-Bmr3cAX8.js"},"/assets/robust-predicates-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-16T02:32:37.659Z",size:1,path:"../public/assets/robust-predicates-l0sNRNKZ.js"},"/assets/sambanova-35TLgnML.webp":{type:"image/webp",etag:'"415c-sMenaeQGBb9K2dKKno4v8gu8CQg"',mtime:"2025-03-16T02:32:37.659Z",size:16732,path:"../public/assets/sambanova-35TLgnML.webp"},"/assets/scraper.worker-C5ikRwpu.js":{type:"text/javascript; charset=utf-8",etag:'"268-Onu+45h7Y6Bc+D4LCl5TM9ow9wE"',mtime:"2025-03-16T02:32:37.659Z",size:616,path:"../public/assets/scraper.worker-C5ikRwpu.js"},"/assets/sortablejs-DGtSoqI-.js":{type:"text/javascript; charset=utf-8",etag:'"91fb-Wnf2wx603CaDXVaZ0wcbhkJbip0"',mtime:"2025-03-16T02:32:37.659Z",size:37371,path:"../public/assets/sortablejs-DGtSoqI-.js"},"/assets/stylis-Cl7w7uv3.js":{type:"text/javascript; charset=utf-8",etag:'"1010-9iehLy9lKGajUZMFLPzb9lFBWH0"',mtime:"2025-03-16T02:32:37.659Z",size:4112,path:"../public/assets/stylis-Cl7w7uv3.js"},"/assets/tdesign-icons-vue-next-BGgy7GQY.css":{type:"text/css; charset=utf-8",etag:'"17f-FqFjP97SFRNBmlj13OeywzL2DCU"',mtime:"2025-03-16T02:32:37.660Z",size:383,path:"../public/assets/tdesign-icons-vue-next-BGgy7GQY.css"},"/assets/tdesign-icons-vue-next-Bk-s7TkL.js":{type:"text/javascript; charset=utf-8",etag:'"161b1-0iSf8WcWfGVUm3vVhyQm/NhgAgk"',mtime:"2025-03-16T02:32:37.661Z",size:90545,path:"../public/assets/tdesign-icons-vue-next-Bk-s7TkL.js"},"/assets/tdesign-vue-next-2RIRnCqA.js":{type:"text/javascript; charset=utf-8",etag:'"9a3c0-yaN/zNzyfsv6F2jm3brTbKoGvpk"',mtime:"2025-03-16T02:32:37.662Z",size:631744,path:"../public/assets/tdesign-vue-next-2RIRnCqA.js"},"/assets/tdesign-vue-next-lG0L4BeW.css":{type:"text/css; charset=utf-8",etag:'"681ef-LGjIzYoegouAPD1yKL4pbJSYDDM"',mtime:"2025-03-16T02:32:37.661Z",size:426479,path:"../public/assets/tdesign-vue-next-lG0L4BeW.css"},"/assets/ts-dedent-CttZBlkd.js":{type:"text/javascript; charset=utf-8",etag:'"310-K/ipHYQTgvDUEOcQGwOf0IHACMc"',mtime:"2025-03-16T02:32:37.664Z",size:784,path:"../public/assets/ts-dedent-CttZBlkd.js"},"/assets/tvision-color-YYaNBBLy.js":{type:"text/javascript; charset=utf-8",etag:'"49d1-/25R9ISbaW6+wE8+SgxhWoG/VZE"',mtime:"2025-03-16T02:32:37.662Z",size:18897,path:"../public/assets/tvision-color-YYaNBBLy.js"},"/assets/ua-parser-js--QiuJfYt.js":{type:"text/javascript; charset=utf-8",etag:'"5472-qmtSJPSSM9AVrN2A5Prr1bdl+bI"',mtime:"2025-03-16T02:32:37.662Z",size:21618,path:"../public/assets/ua-parser-js--QiuJfYt.js"},"/assets/uc.micro-CLkLCS2f.js":{type:"text/javascript; charset=utf-8",etag:'"144d-0zVa29qj407Bu05HPuwvHgQ4+8c"',mtime:"2025-03-16T02:32:37.662Z",size:5197,path:"../public/assets/uc.micro-CLkLCS2f.js"},"/assets/uuid-_R2nDvl_.js":{type:"text/javascript; charset=utf-8",etag:'"3a1-Em826+EaiFJxMLWvplFS7Y7rsAM"',mtime:"2025-03-16T02:32:37.662Z",size:929,path:"../public/assets/uuid-_R2nDvl_.js"},"/assets/vue-DkZ5d_BT.js":{type:"text/javascript; charset=utf-8",etag:'"3d3-hAwm98iAagitx+AJBzcBy+y/mLw"',mtime:"2025-03-16T02:32:37.662Z",size:979,path:"../public/assets/vue-DkZ5d_BT.js"},"/assets/vue-demi-l0sNRNKZ.js":{type:"text/javascript; charset=utf-8",etag:'"1-rcg7GeeTSRscbqD9i0bNnzLlkvw"',mtime:"2025-03-16T02:32:37.663Z",size:1,path:"../public/assets/vue-demi-l0sNRNKZ.js"},"/assets/vue-i18n-CzQ2NKaR.js":{type:"text/javascript; charset=utf-8",etag:'"54cc-gIoInYGfXHYXdGoWUmuBXoZ2AXY"',mtime:"2025-03-16T02:32:37.663Z",size:21708,path:"../public/assets/vue-i18n-CzQ2NKaR.js"},"/assets/vue-router-C_wREmVJ.js":{type:"text/javascript; charset=utf-8",etag:'"6a11-zUld2uIw1w/3DRThBfmL/i4FYbY"',mtime:"2025-03-16T02:32:37.663Z",size:27153,path:"../public/assets/vue-router-C_wREmVJ.js"},"/assets/vuedraggable-Bjstl63z.js":{type:"text/javascript; charset=utf-8",etag:'"18985-XOyXp+/hI92amcXuilqOY7LCkGg"',mtime:"2025-03-16T02:32:37.663Z",size:100741,path:"../public/assets/vuedraggable-Bjstl63z.js"},"/assets/xlsx-DB6BMndo.js":{type:"text/javascript; charset=utf-8",etag:'"6044e-9tu+0UThAPzrLx9iSXWZ+kfemGA"',mtime:"2025-03-16T02:32:37.664Z",size:394318,path:"../public/assets/xlsx-DB6BMndo.js"}},Ce=/^[A-Za-z]:\//;function normalizeWindowsPath(e=""){return e?e.replace(/\\/g,"/").replace(Ce,(e=>e.toUpperCase())):e}const Se=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,Be=/^[A-Za-z]:$/;const isAbsolute=function(e){return Se.test(e)};function readAsset(t){const s=function(e){const t=normalizeWindowsPath(e).replace(/\/$/,"").split("/").slice(0,-1);return 1===t.length&&Be.test(t[0])&&(t[0]+="/"),t.join("/")||(isAbsolute(e)?"/":".")}(f(globalThis._importMeta_.url));return d.readFile(function(...t){let s="",a=!1;for(let c=(t=t.map((e=>normalizeWindowsPath(e)))).length-1;c>=-1&&!a;c--){const l=c>=0?t[c]:void 0!==e&&"function"==typeof e.cwd?e.cwd().replace(/\\/g,"/"):"/";l&&0!==l.length&&(s=`${l}/${s}`,a=isAbsolute(l))}return s=function(e,t){let s="",a=0,c=-1,l=0,u=null;for(let d=0;d<=e.length;++d){if(d2){const e=s.lastIndexOf("/");-1===e?(s="",a=0):(s=s.slice(0,e),a=s.length-1-s.lastIndexOf("/")),c=d,l=0;continue}if(s.length>0){s="",a=0,c=d,l=0;continue}}t&&(s+=s.length>0?"/..":"..",a=2)}else s.length>0?s+=`/${e.slice(c+1,d)}`:s=e.slice(c+1,d),a=d-c-1;c=d,l=0}else"."===u&&-1!==l?++l:l=-1}return s}(s,!a),a&&!isAbsolute(s)?`/${s}`:s.length>0?s:"."}(s,ke[t].path))}const Ze={};function getAsset(e){return ke[e]}const Ae=new Set(["HEAD","GET"]),Ee={gzip:".gz",br:".br"},Ke=pe((e=>{if(e.method&&!Ae.has(e.method))return;let t=decode(withLeadingSlash(withoutTrailingSlash(parseURL(e.path).pathname)).replace(I,"%252F"));let s;const a=[...String(getRequestHeader(e,"accept-encoding")||"").split(",").map((e=>Ee[e.trim()])).filter(Boolean).sort(),""];a.length>1&&function(e,t,s){let a=e.node.res.getHeader(t);a?(Array.isArray(a)||(a=[a.toString()]),e.node.res.setHeader(t,[...a,s])):e.node.res.setHeader(t,s)}(e,"Vary","Accept-Encoding");for(const e of a)for(const a of[t+e,joinURL(t,"index.html"+e)]){const e=getAsset(a);if(e){s=e,t=a;break}}if(!s){if(function(e=""){if(ke[e])return!0;for(const t in Ze)if(e.startsWith(t))return!0;return!1}(t))throw function(e,t){e.node.res.removeHeader(t)}(e,"Cache-Control"),createError$1({statusMessage:"Cannot find static asset "+t,statusCode:404});return}if(getRequestHeader(e,"if-none-match")===s.etag)return setResponseStatus(e,304,"Not Modified"),"";const c=getRequestHeader(e,"if-modified-since"),l=new Date(s.mtime);return c&&s.mtime&&new Date(c)>=l?(setResponseStatus(e,304,"Not Modified"),""):(s.type&&!getResponseHeader(e,"Content-Type")&&setResponseHeader(e,"Content-Type",s.type),s.etag&&!getResponseHeader(e,"ETag")&&setResponseHeader(e,"ETag",s.etag),s.mtime&&!getResponseHeader(e,"Last-Modified")&&setResponseHeader(e,"Last-Modified",l.toUTCString()),s.encoding&&!getResponseHeader(e,"Content-Encoding")&&setResponseHeader(e,"Content-Encoding",s.encoding),s.size>0&&!getResponseHeader(e,"Content-Length")&&setResponseHeader(e,"Content-Length",s.size),readAsset(t))})),Ne=[{route:"",handler:Ke,lazy:!1,middleware:!0,method:void 0},{route:"",handler:defineEventHandler((t=>{t.context.cloudflare&&(e.env=t.context.cloudflare.env)})),lazy:!1,middleware:!0,method:void 0},{route:"",handler:defineEventHandler((e=>{if("OPTIONS"===e.node.req.method)return e.node.res.setHeader("Access-Control-Allow-Origin","*"),e.node.res.setHeader("Access-Control-Allow-Methods","GET, POST, PUT, DELETE, OPTIONS"),e.node.res.setHeader("Access-Control-Allow-Headers","*"),e.node.res.setHeader("Access-Control-Max-Age","86400"),e.node.res.statusCode=204,void e.node.res.end();e.node.res.setHeader("Access-Control-Allow-Origin","*"),e.node.res.setHeader("Access-Control-Expose-Headers","*")})),lazy:!1,middleware:!0,method:void 0},{route:"/api/**",handler:()=>import("../routes/api/_..._.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/app/**",handler:()=>import("../routes/app/_..._.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/cache/clear",handler:()=>import("../routes/cache/clear.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/config",handler:()=>import("../routes/index.get.mjs"),lazy:!0,middleware:!1,method:"get"},{route:"/config",handler:()=>import("../routes/index.post.mjs"),lazy:!0,middleware:!1,method:"post"},{route:"/crawler",handler:()=>import("../routes/crawler.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/cursor/code",handler:()=>import("../routes/cursor/code.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/cursor/token",handler:()=>import("../routes/cursor/token.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/github/code",handler:()=>import("../routes/github/code.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/github/token",handler:()=>import("../routes/github/token.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/google/access_token",handler:()=>import("../routes/google/access_token.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/google/code",handler:()=>import("../routes/google/code.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/health",handler:()=>import("../routes/health.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/openai/**",handler:()=>import("../routes/openai/_..._.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/openapi.json",handler:()=>import("../routes/openapi.json.mjs"),lazy:!0,middleware:!1,method:void 0},{route:"/search",handler:()=>import("../routes/search.mjs"),lazy:!0,middleware:!1,method:void 0}];function asyncCall(e,...t){try{return(s=e(...t))&&"function"==typeof s.then?s:Promise.resolve(s)}catch(e){return Promise.reject(e)}var s}function stringify(e){if(function(e){const t=typeof e;return null===e||"object"!==t&&"function"!==t}(e))return String(e);if(function(e){const t=Object.getPrototypeOf(e);return!t||t.isPrototypeOf(Object)}(e)||Array.isArray(e))return JSON.stringify(e);if("function"==typeof e.toJSON)return stringify(e.toJSON());throw new Error("[unstorage] Cannot stringify value!")}const Ie="base64:";function serializeRaw(e){return"string"==typeof e?e:Ie+function(e){if(globalThis.Buffer)return Buffer.from(e).toString("base64");return globalThis.btoa(String.fromCodePoint(...e))}(e)}function deserializeRaw(e){return"string"!=typeof e?e:e.startsWith(Ie)?function(e){if(globalThis.Buffer)return Buffer.from(e,"base64");return Uint8Array.from(globalThis.atob(e),(e=>e.codePointAt(0)))}(e.slice(7)):e}const Me=["has","hasItem","get","getItem","getItemRaw","set","setItem","setItemRaw","del","remove","removeItem","getMeta","setMeta","removeMeta","getKeys","clear","mount","unmount"];function normalizeKey$2(e){return e&&e.split("?")[0]?.replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,"")||""}function joinKeys$1(...e){return normalizeKey$2(e.join(":"))}function normalizeBaseKey(e){return(e=normalizeKey$2(e))?e+":":""}const memory=()=>{const e=new Map;return{name:"memory",getInstance:()=>e,hasItem:t=>e.has(t),getItem:t=>e.get(t)??null,getItemRaw:t=>e.get(t)??null,setItem(t,s){e.set(t,s)},setItemRaw(t,s){e.set(t,s)},removeItem(t){e.delete(t)},getKeys:()=>[...e.keys()],clear(){e.clear()},dispose(){e.clear()}}};function createStorage(e={}){const t={mounts:{"":e.driver||memory()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},getMount=e=>{for(const s of t.mountpoints)if(e.startsWith(s))return{base:s,relativeKey:e.slice(s.length),driver:t.mounts[s]};return{base:"",relativeKey:e,driver:t.mounts[""]}},getMounts=(e,s)=>t.mountpoints.filter((t=>t.startsWith(e)||s&&e.startsWith(t))).map((s=>({relativeBase:e.length>s.length?e.slice(s.length):void 0,mountpoint:s,driver:t.mounts[s]}))),onChange=(e,s)=>{if(t.watching){s=normalizeKey$2(s);for(const a of t.watchListeners)a(e,s)}},stopWatch=async()=>{if(t.watching){for(const e in t.unwatch)await t.unwatch[e]();t.unwatch={},t.watching=!1}},runBatch=(e,t,s)=>{const a=new Map,getBatch=e=>{let t=a.get(e.base);return t||(t={driver:e.driver,base:e.base,items:[]},a.set(e.base,t)),t};for(const s of e){const e="string"==typeof s,a=normalizeKey$2(e?s:s.key),c=e?void 0:s.value,l=e||!s.options?t:{...t,...s.options},u=getMount(a);getBatch(u).items.push({key:a,value:c,relativeKey:u.relativeKey,options:l})}return Promise.all([...a.values()].map((e=>s(e)))).then((e=>e.flat()))},s={hasItem(e,t={}){e=normalizeKey$2(e);const{relativeKey:s,driver:a}=getMount(e);return asyncCall(a.hasItem,s,t)},getItem(e,t={}){e=normalizeKey$2(e);const{relativeKey:s,driver:a}=getMount(e);return asyncCall(a.getItem,s,t).then((e=>destr(e)))},getItems:(e,t={})=>runBatch(e,t,(e=>e.driver.getItems?asyncCall(e.driver.getItems,e.items.map((e=>({key:e.relativeKey,options:e.options}))),t).then((t=>t.map((t=>({key:joinKeys$1(e.base,t.key),value:destr(t.value)}))))):Promise.all(e.items.map((t=>asyncCall(e.driver.getItem,t.relativeKey,t.options).then((e=>({key:t.key,value:destr(e)})))))))),getItemRaw(e,t={}){e=normalizeKey$2(e);const{relativeKey:s,driver:a}=getMount(e);return a.getItemRaw?asyncCall(a.getItemRaw,s,t):asyncCall(a.getItem,s,t).then((e=>deserializeRaw(e)))},async setItem(e,t,a={}){if(void 0===t)return s.removeItem(e);e=normalizeKey$2(e);const{relativeKey:c,driver:l}=getMount(e);l.setItem&&(await asyncCall(l.setItem,c,stringify(t),a),l.watch||onChange("update",e))},async setItems(e,t){await runBatch(e,t,(async e=>{if(e.driver.setItems)return asyncCall(e.driver.setItems,e.items.map((e=>({key:e.relativeKey,value:stringify(e.value),options:e.options}))),t);e.driver.setItem&&await Promise.all(e.items.map((t=>asyncCall(e.driver.setItem,t.relativeKey,stringify(t.value),t.options))))}))},async setItemRaw(e,t,a={}){if(void 0===t)return s.removeItem(e,a);e=normalizeKey$2(e);const{relativeKey:c,driver:l}=getMount(e);if(l.setItemRaw)await asyncCall(l.setItemRaw,c,t,a);else{if(!l.setItem)return;await asyncCall(l.setItem,c,serializeRaw(t),a)}l.watch||onChange("update",e)},async removeItem(e,t={}){"boolean"==typeof t&&(t={removeMeta:t}),e=normalizeKey$2(e);const{relativeKey:s,driver:a}=getMount(e);a.removeItem&&(await asyncCall(a.removeItem,s,t),(t.removeMeta||t.removeMata)&&await asyncCall(a.removeItem,s+"$",t),a.watch||onChange("remove",e))},async getMeta(e,t={}){"boolean"==typeof t&&(t={nativeOnly:t}),e=normalizeKey$2(e);const{relativeKey:s,driver:a}=getMount(e),c=Object.create(null);if(a.getMeta&&Object.assign(c,await asyncCall(a.getMeta,s,t)),!t.nativeOnly){const e=await asyncCall(a.getItem,s+"$",t).then((e=>destr(e)));e&&"object"==typeof e&&("string"==typeof e.atime&&(e.atime=new Date(e.atime)),"string"==typeof e.mtime&&(e.mtime=new Date(e.mtime)),Object.assign(c,e))}return c},setMeta(e,t,s={}){return this.setItem(e+"$",t,s)},removeMeta(e,t={}){return this.removeItem(e+"$",t)},async getKeys(e,t={}){e=normalizeBaseKey(e);const s=getMounts(e,!0);let a=[];const c=[];let l=!0;for(const e of s){e.driver.flags?.maxDepth||(l=!1);const s=await asyncCall(e.driver.getKeys,e.relativeBase,t);for(const t of s){const s=e.mountpoint+normalizeKey$2(t);a.some((e=>s.startsWith(e)))||c.push(s)}a=[e.mountpoint,...a.filter((t=>!t.startsWith(e.mountpoint)))]}const u=void 0!==t.maxDepth&&!l;return c.filter((s=>(!u||function(e,t){if(void 0===t)return!0;let s=0,a=e.indexOf(":");for(;a>-1;)s++,a=e.indexOf(":",a+1);return s<=t}(s,t.maxDepth))&&function(e,t){return t?e.startsWith(t)&&"$"!==e[e.length-1]:"$"!==e[e.length-1]}(s,e)))},async clear(e,t={}){e=normalizeBaseKey(e),await Promise.all(getMounts(e,!1).map((async e=>{if(e.driver.clear)return asyncCall(e.driver.clear,e.relativeBase,t);if(e.driver.removeItem){const s=await e.driver.getKeys(e.relativeBase||"",t);return Promise.all(s.map((s=>e.driver.removeItem(s,t))))}})))},async dispose(){await Promise.all(Object.values(t.mounts).map((e=>dispose(e))))},watch:async e=>(await(async()=>{if(!t.watching){t.watching=!0;for(const e in t.mounts)t.unwatch[e]=await watch(t.mounts[e],onChange,e)}})(),t.watchListeners.push(e),async()=>{t.watchListeners=t.watchListeners.filter((t=>t!==e)),0===t.watchListeners.length&&await stopWatch()}),async unwatch(){t.watchListeners=[],await stopWatch()},mount(e,a){if((e=normalizeBaseKey(e))&&t.mounts[e])throw new Error(`already mounted at ${e}`);return e&&(t.mountpoints.push(e),t.mountpoints.sort(((e,t)=>t.length-e.length))),t.mounts[e]=a,t.watching&&Promise.resolve(watch(a,onChange,e)).then((s=>{t.unwatch[e]=s})).catch(console.error),s},async unmount(e,s=!0){(e=normalizeBaseKey(e))&&t.mounts[e]&&(t.watching&&e in t.unwatch&&(t.unwatch[e]?.(),delete t.unwatch[e]),s&&await dispose(t.mounts[e]),t.mountpoints=t.mountpoints.filter((t=>t!==e)),delete t.mounts[e])},getMount(e=""){e=normalizeKey$2(e)+":";const t=getMount(e);return{driver:t.driver,base:t.base}},getMounts(e="",t={}){e=normalizeKey$2(e);return getMounts(e,t.parents).map((e=>({driver:e.driver,base:e.mountpoint})))},keys:(e,t={})=>s.getKeys(e,t),get:(e,t={})=>s.getItem(e,t),set:(e,t,a={})=>s.setItem(e,t,a),has:(e,t={})=>s.hasItem(e,t),del:(e,t={})=>s.removeItem(e,t),remove:(e,t={})=>s.removeItem(e,t)};return s}function watch(e,t,s){return e.watch?e.watch(((e,a)=>t(e,s+a))):()=>{}}async function dispose(e){"function"==typeof e.dispose&&await asyncCall(e.dispose)}const He={"server:sha3_wasm_bg.7b9ca65ddd.wasm":{import:()=>import("../raw/sha3_wasm_bg.7b9ca65ddd.mjs").then((e=>e.default||e)),meta:{type:"application/wasm",etag:'"67f4-HA9hIZkJpnMfafDJeYUwPEld3vA"',mtime:"2025-03-16T02:27:19.792Z"}}},normalizeKey$1=function(e){return e&&e.split("?")[0]?.replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,"")||""},Oe={getKeys:()=>Promise.resolve(Object.keys(He)),hasItem:e=>(e=normalizeKey$1(e),Promise.resolve(e in He)),getItem:e=>(e=normalizeKey$1(e),Promise.resolve(He[e]?He[e].import():null)),getMeta:e=>(e=normalizeKey$1(e),Promise.resolve(He[e]?He[e].meta:{}))};function defineDriver(e){return e}function joinKeys(...e){return e.map((e=>function(e,t=":"){return e?e.replace(/[:/\\]/g,t).replace(/^[:/\\]|[:/\\]$/g,""):""}(e))).filter(Boolean).join(":")}function createError(e,t,s){const a=new Error(`[unstorage] [${e}] ${t}`,s);return Error.captureStackTrace&&Error.captureStackTrace(a,createError),a}function createRequiredError(e,t){return Array.isArray(t)?createError(e,`Missing some of the required options ${t.map((e=>"`"+e+"`")).join(", ")}`):createError(e,`Missing required option \`${t}\`.`)}function ignoreNotfound(e){return"ENOENT"===e.code||"EISDIR"===e.code?null:e}function ignoreExists(e){return"EEXIST"===e.code?null:e}async function writeFile(e,t,s){return await ensuredir(g(e)),d.writeFile(e,t,s)}function readFile(e,t){return d.readFile(e,t).catch(ignoreNotfound)}function readdir(e){return d.readdir(e,{withFileTypes:!0}).catch(ignoreNotfound).then((e=>e||[]))}async function ensuredir(e){h(e)||(await ensuredir(g(e)).catch(ignoreExists),await d.mkdir(e).catch(ignoreExists))}async function readdirRecursive(e,t,s){if(t&&t(e))return[];const a=await readdir(e),c=[];return await Promise.all(a.map((async a=>{const l=m(e,a.name);if(a.isDirectory()){if(void 0===s||s>0){const e=await readdirRecursive(l,t,void 0===s?void 0:s-1);c.push(...e.map((e=>a.name+"/"+e)))}}else t&&t(a.name)||c.push(a.name)}))),c}async function rmRecursive(e){const t=await readdir(e);await Promise.all(t.map((t=>{const s=m(e,t.name);return t.isDirectory()?rmRecursive(s).then((()=>d.rmdir(s))):d.unlink(s)})))}const qe=/\.\.:|\.\.$/,De="fs-lite",unstorage_47drivers_47fs_45lite=(e={})=>{if(!e.base)throw createRequiredError(De,"base");e.base=m(e.base);const r=t=>{if(qe.test(t))throw createError(De,`Invalid key: ${JSON.stringify(t)}. It should not contain .. segments`);return v(e.base,t.replace(/:/g,"/"))};return{name:De,options:e,flags:{maxDepth:!0},hasItem:e=>h(r(e)),getItem:e=>readFile(r(e),"utf8"),getItemRaw:e=>readFile(r(e)),async getMeta(e){const{atime:t,mtime:s,size:a,birthtime:c,ctime:l}=await d.stat(r(e)).catch((()=>({})));return{atime:t,mtime:s,size:a,birthtime:c,ctime:l}},setItem(t,s){if(!e.readOnly)return writeFile(r(t),s,"utf8")},setItemRaw(t,s){if(!e.readOnly)return writeFile(r(t),s)},removeItem(t){if(!e.readOnly)return function(e){return d.unlink(e).catch(ignoreNotfound)}(r(t))},getKeys:(t,s)=>readdirRecursive(r("."),e.ignore,s?.maxDepth),async clear(){e.readOnly||e.noClear||await rmRecursive(r("."))}}},Pe=createStorage({});function useStorage(e=""){return e?function(e,t){if(!(t=normalizeBaseKey(t)))return e;const s={...e};for(const a of Me)s[a]=(s="",...c)=>e[a](t+s,...c);return s.getKeys=(s="",...a)=>e.getKeys(t+s,...a).then((e=>e.map((e=>e.slice(t.length))))),s}(Pe,e):Pe}Pe.mount("/assets",Oe),Pe.mount("data",unstorage_47drivers_47fs_45lite({driver:"fsLite",base:"./.data/kv"}));const Xe=globalThis.process?.getBuiltinModule?.("crypto")?.hash,Le="sha256",Ue="base64url";function hash(e){return function(e){if(Xe)return Xe(Le,e,Ue);const t=j(Le).update(e);return globalThis.process?.versions?.webcontainer?t.digest().toString(Ue):t.digest(Ue)}("string"==typeof e?e:function(e){const t=new Hasher;return t.dispatch(e),t.buff}(e)).replace(/[-_]/g,"").slice(0,10)}class Hasher{buff="";#e=new Map;write(e){this.buff+=e}dispatch(e){return this[null===e?"null":typeof e](e)}object(e){if(e&&"function"==typeof e.toJSON)return this.object(e.toJSON());const t=Object.prototype.toString.call(e);let s="";const a=t.length;s=a<10?"unknown:["+t+"]":t.slice(8,a-1),s=s.toLowerCase();let c=null;if(void 0!==(c=this.#e.get(e)))return this.dispatch("[CIRCULAR:"+c+"]");if(this.#e.set(e,this.#e.size),"undefined"!=typeof Buffer&&Buffer.isBuffer&&Buffer.isBuffer(e))return this.write("buffer:"),this.write(e.toString("utf8"));if("object"!==s&&"function"!==s&&"asyncfunction"!==s)this[s]?this[s](e):this.unknown(e,s);else{const t=Object.keys(e).sort(),s=[];this.write("object:"+(t.length+s.length)+":");const dispatchForKey=t=>{this.dispatch(t),this.write(":"),this.dispatch(e[t]),this.write(",")};for(const e of t)dispatchForKey(e);for(const e of s)dispatchForKey(e)}}array(e,t){if(t=void 0!==t&&t,this.write("array:"+e.length+":"),!t||e.length<=1){for(const t of e)this.dispatch(t);return}const s=new Map,a=e.map((e=>{const t=new Hasher;t.dispatch(e);for(const[e,a]of t.#e)s.set(e,a);return t.toString()}));return this.#e=s,a.sort(),this.array(a,!1)}date(e){return this.write("date:"+e.toJSON())}symbol(e){return this.write("symbol:"+e.toString())}unknown(e,t){if(this.write(t),e)return this.write(":"),e&&"function"==typeof e.entries?this.array([...e.entries()],!0):void 0}error(e){return this.write("error:"+e.toString())}boolean(e){return this.write("bool:"+e)}string(e){this.write("string:"+e.length+":"),this.write(e)}function(e){this.write("fn:"),!function(e){if("function"!=typeof e)return!1;return Function.prototype.toString.call(e).slice(-Fe)===We}(e)?this.dispatch(e.toString()):this.dispatch("[native]")}number(e){return this.write("number:"+e)}null(){return this.write("Null")}undefined(){return this.write("Undefined")}regexp(e){return this.write("regex:"+e.toString())}arraybuffer(e){return this.write("arraybuffer:"),this.dispatch(new Uint8Array(e))}url(e){return this.write("url:"+e.toString())}map(e){this.write("map:");const t=[...e];return this.array(t,!1)}set(e){this.write("set:");const t=[...e];return this.array(t,!1)}bigint(e){return this.write("bigint:"+e.toString())}}for(const e of["uint8array","uint8clampedarray","unt8array","uint16array","unt16array","uint32array","unt32array","float32array","float64array"])Hasher.prototype[e]=function(t){return this.write(e+":"),this.array([...t],!1)};const We="[native code] }",Fe=We.length;function defineCachedFunction(e,t={}){t={name:"_",base:"/cache",swr:!0,maxAge:1,...t};const s={},a=t.group||"nitro/functions",c=t.name||e.name||"_",l=t.integrity||hash([e,t]),u=t.validate||(e=>void 0!==e.value);return async(...d)=>{if(await(t.shouldBypassCache?.(...d)))return e(...d);const h=await(t.getKey||getKey)(...d),f=await(t.shouldInvalidateCache?.(...d)),m=await async function(e,d,h,f){const m=[t.base,a,c,e+".json"].filter(Boolean).join(":").replace(/:\/$/,":index");let g=await useStorage().getItem(m).catch((e=>{console.error("[cache] Cache read error.",e),useNitroApp().captureError(e,{event:f,tags:["cache"]})}))||{};if("object"!=typeof g){g={};const e=new Error("Malformed data read from cache.");console.error("[cache]",e),useNitroApp().captureError(e,{event:f,tags:["cache"]})}const v=1e3*(t.maxAge??0);v&&(g.expires=Date.now()+v);const j=h||g.integrity!==l||v&&Date.now()-(g.mtime||0)>v||!1===u(g),T=j?(async()=>{const a=s[e];a||(void 0!==g.value&&(t.staleMaxAge||0)>=0&&!1===t.swr&&(g.value=void 0,g.integrity=void 0,g.mtime=void 0,g.expires=void 0),s[e]=Promise.resolve(d()));try{g.value=await s[e]}catch(t){throw a||delete s[e],t}if(!a&&(g.mtime=Date.now(),g.integrity=l,delete s[e],!1!==u(g))){let e;t.maxAge&&!t.swr&&(e={ttl:t.maxAge});const s=useStorage().setItem(m,g,e).catch((e=>{console.error("[cache] Cache write error.",e),useNitroApp().captureError(e,{event:f,tags:["cache"]})}));f?.waitUntil&&f.waitUntil(s)}})():Promise.resolve();return void 0===g.value?await T:j&&f&&f.waitUntil&&f.waitUntil(T),t.swr&&!1!==u(g)?(T.catch((e=>{console.error("[cache] SWR handler error.",e),useNitroApp().captureError(e,{event:f,tags:["cache"]})})),g):T.then((()=>g))}(h,(()=>e(...d)),f,d[0]&&isEvent(d[0])?d[0]:void 0);let g=m.value;return t.transform&&(g=await t.transform(m,...d)||g),g}}function getKey(...e){return e.length>0?hash(e):""}function escapeKey(e){return String(e).replace(/\W/g,"")}function cloneWithProxy(e,t){return new Proxy(e,{get:(e,s,a)=>s in t?t[s]:Reflect.get(e,s,a),set:(e,s,a,c)=>s in t?(t[s]=a,!0):Reflect.set(e,s,a,c)})}const cachedEventHandler=function(e,t={name:"_",base:"/cache",swr:!0,maxAge:1}){const s=(t.varies||[]).filter(Boolean).map((e=>e.toLowerCase())).sort(),a={...t,getKey:async e=>{const a=await(t.getKey?.(e));if(a)return escapeKey(a);const c=e.node.req.originalUrl||e.node.req.url||e.path;let l;try{l=escapeKey(decodeURI(parseURL(c).pathname)).slice(0,16)||"index"}catch{l="-"}return[`${l}.${hash(c)}`,...s.map((t=>[t,e.node.req.headers[t]])).map((([e,t])=>`${escapeKey(e)}.${hash(t)}`))].join(":")},validate:e=>!!e.value&&(!(e.value.code>=400)&&(void 0!==e.value.body&&("undefined"!==e.value.headers.etag&&"undefined"!==e.value.headers["last-modified"]))),group:t.group||"nitro/handlers",integrity:t.integrity||hash([e,t])},c=function(e,t={}){return defineCachedFunction(e,t)}((async c=>{const l={};for(const e of s){const t=c.node.req.headers[e];void 0!==t&&(l[e]=t)}const u=cloneWithProxy(c.node.req,{headers:l}),d={};let h;const f=createEvent(u,cloneWithProxy(c.node.res,{statusCode:200,writableEnded:!1,writableFinished:!1,headersSent:!1,closed:!1,getHeader:e=>d[e],setHeader(e,t){return d[e]=t,this},getHeaderNames:()=>Object.keys(d),hasHeader:e=>e in d,removeHeader(e){delete d[e]},getHeaders:()=>d,end(e,t,s){return"string"==typeof e&&(h=e),"function"==typeof t&&t(),"function"==typeof s&&s(),this},write:(e,t,s)=>("string"==typeof e&&(h=e),"function"==typeof t&&t(void 0),"function"==typeof s&&s(),!0),writeHead(e,t){if(this.statusCode=e,t){if(Array.isArray(t)||"string"==typeof t)throw new TypeError("Raw headers is not supported.");for(const e in t){const s=t[e];void 0!==s&&this.setHeader(e,s)}}return this}}));f.fetch=(e,t)=>fetchWithEvent(f,e,t,{fetch:useNitroApp().localFetch}),f.$fetch=(e,t)=>fetchWithEvent(f,e,t,{fetch:globalThis.$fetch}),f.waitUntil=c.waitUntil,f.context=c.context,f.context.cache={options:a};const m=await e(f)||h,g=f.node.res.getHeaders();g.etag=String(g.Etag||g.etag||`W/"${hash(m)}"`),g["last-modified"]=String(g["Last-Modified"]||g["last-modified"]||(new Date).toUTCString());const v=[];t.swr?(t.maxAge&&v.push(`s-maxage=${t.maxAge}`),t.staleMaxAge?v.push(`stale-while-revalidate=${t.staleMaxAge}`):v.push("stale-while-revalidate")):t.maxAge&&v.push(`max-age=${t.maxAge}`),v.length>0&&(g["cache-control"]=v.join(", "));return{code:f.node.res.statusCode,headers:g,body:m}}),a);return defineEventHandler((async s=>{if(t.headersOnly){if(handleCacheHeaders(s,{maxAge:t.maxAge}))return;return e(s)}const a=await c(s);if(s.node.res.headersSent||s.node.res.writableEnded)return a.body;if(!handleCacheHeaders(s,{modifiedTime:new Date(a.headers["last-modified"]),etag:a.headers.etag,maxAge:t.maxAge})){s.node.res.statusCode=a.code;for(const e in a.headers){const t=a.headers[e];"set-cookie"===e?s.node.res.appendHeader(e,splitCookiesString(t)):void 0!==t&&s.node.res.setHeader(e,t)}return a.body}}))};function klona(e){if("object"!=typeof e)return e;var t,s,a=Object.prototype.toString.call(e);if("[object Object]"===a){if(e.constructor!==Object&&"function"==typeof e.constructor)for(t in s=new e.constructor,e)e.hasOwnProperty(t)&&s[t]!==e[t]&&(s[t]=klona(e[t]));else for(t in s={},e)"__proto__"===t?Object.defineProperty(s,t,{value:klona(e[t]),configurable:!0,enumerable:!0,writable:!0}):s[t]=klona(e[t]);return s}if("[object Array]"===a){for(t=e.length,s=Array(t);t--;)s[t]=klona(e[t]);return s}return"[object Set]"===a?(s=new Set,e.forEach((function(e){s.add(klona(e))})),s):"[object Map]"===a?(s=new Map,e.forEach((function(e,t){s.set(klona(t),klona(e))})),s):"[object Date]"===a?new Date(+e):"[object RegExp]"===a?((s=new RegExp(e.source,e.flags)).lastIndex=e.lastIndex,s):"[object DataView]"===a?new e.constructor(klona(e.buffer)):"[object ArrayBuffer]"===a?e.slice(0):"Array]"===a.slice(-6)?new e.constructor(e):e}const Ge=W({}),Je=/\d/,Ye=["-","_","/","."];function isUppercase(e=""){if(!Je.test(e))return e!==e.toLowerCase()}function kebabCase(e,t){return e?(Array.isArray(e)?e:function(e){const t=Ye,s=[];if(!e||"string"!=typeof e)return s;let a,c,l="";for(const u of e){const e=t.includes(u);if(!0===e){s.push(l),l="",a=void 0;continue}const d=isUppercase(u);if(!1===c){if(!1===a&&!0===d){s.push(l),l=u,a=d;continue}if(!0===a&&!1===d&&l.length>1){const e=l.at(-1);s.push(l.slice(0,Math.max(0,l.length-1))),l=e+u,a=d;continue}}l+=u,a=d,c=e}return s.push(l),s}(e)).map((e=>e.toLowerCase())).join(t):""}function getEnv(t,s){const a=(c=t,kebabCase(c||"","_")).toUpperCase();var c;return destr(e.env[s.prefix+a]??e.env[s.altPrefix+a])}function _isObject(e){return"object"==typeof e&&!Array.isArray(e)}const Qe=/\{\{([^{}]*)\}\}/g;const Ve={app:{baseURL:"/"},nitro:{routeRules:{"/*/**":{cors:!0,headers:{"access-control-allow-origin":"*","access-control-allow-methods":"*","access-control-allow-headers":"*","access-control-max-age":"0","Access-Control-Allow-Methods":"GET,HEAD,PUT,PATCH,POST,DELETE","Access-Control-Allow-Origin":"*","Access-Control-Allow-Credentials":"true","Access-Control-Allow-Headers":"*","Access-Control-Expose-Headers":"*"}}}},models:[{title:"OpenAI ChatGPT",route:"/openai/chatgpt",provider:"openai",apiBase:"https://api.openai.com/v1/chat/completions",model:"gpt-3.5-turbo"},{title:"OpenAI ChatGPT",route:"/app/chatgpt",provider:"openai",apiBase:"https://api.openai.com/v1/chat/completions",model:"gpt-3.5-turbo"},{title:"OpenAI ChatGPT",route:"/api/chatgpt",provider:"openai",apiBase:"https://api.openai.com/v1/chat/completions",model:"gpt-3.5-turbo"},{title:"Groq",route:"/openai/groq",provider:"openai",apiBase:"https://api.groq.com/openai/v1/chat/completions",model:"llama3-70b-8192"},{title:"Groq",route:"/app/groq",provider:"openai",apiBase:"https://api.groq.com/openai/v1/chat/completions",model:"llama3-70b-8192"},{title:"Groq",route:"/api/groq",provider:"openai",apiBase:"https://api.groq.com/openai/v1/chat/completions",model:"llama3-70b-8192"},{title:"OpenAI qwen",route:"/openai/qwen",provider:"openai",apiBase:"https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",model:"qwen-turbo"},{title:"OpenAI qwen",route:"/app/qwen",provider:"openai",apiBase:"https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",model:"qwen-turbo"},{title:"OpenAI qwen",route:"/api/qwen",provider:"openai",apiBase:"https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",model:"qwen-turbo"},{title:"doubao",route:"/openai/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"doubao",route:"/app/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"doubao",route:"/api/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"GLM",route:"/openai/glm",provider:"openai",apiBase:"https://open.bigmodel.cn/api/paas/v4/chat/completions",model:"glm-4"},{title:"GLM",route:"/app/glm",provider:"openai",apiBase:"https://open.bigmodel.cn/api/paas/v4/chat/completions",model:"glm-4"},{title:"GLM",route:"/api/glm",provider:"openai",apiBase:"https://open.bigmodel.cn/api/paas/v4/chat/completions",model:"glm-4"},{title:"YI",route:"/openai/yi",provider:"openai",apiBase:"https://api.lingyiwanwu.com/v1/chat/completions",model:""},{title:"YI",route:"/app/yi",provider:"openai",apiBase:"https://api.lingyiwanwu.com/v1/chat/completions",model:""},{title:"YI",route:"/api/yi",provider:"openai",apiBase:"https://api.lingyiwanwu.com/v1/chat/completions",model:""},{title:"豆包",route:"/openai/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"豆包",route:"/app/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"豆包",route:"/api/doubao",provider:"openai",apiBase:"https://ark.cn-beijing.volces.com/api/v3/chat/completions",model:""},{title:"百川",route:"/openai/baichuan",provider:"openai",apiBase:"https://api.baichuan-ai.com/v1/chat/completions",model:"Baichuan4"},{title:"百川",route:"/app/baichuan",provider:"openai",apiBase:"https://api.baichuan-ai.com/v1/chat/completions",model:"Baichuan4"},{title:"百川",route:"/api/baichuan",provider:"openai",apiBase:"https://api.baichuan-ai.com/v1/chat/completions",model:"Baichuan4"},{title:"minimax",route:"/openai/minimax",provider:"openai",apiBase:"https://api.minimax.chat/v1/text/chatcompletion_v2",model:"abab6.5-chat"},{title:"minimax",route:"/app/minimax",provider:"openai",apiBase:"https://api.minimax.chat/v1/text/chatcompletion_v2",model:"abab6.5-chat"},{title:"minimax",route:"/api/minimax",provider:"openai",apiBase:"https://api.minimax.chat/v1/text/chatcompletion_v2",model:"abab6.5-chat"},{title:"mistral",route:"/openai/mistral",provider:"openai",apiBase:"https://api.mistral.ai/v1/chat/completions",model:"mistral-small-latest"},{title:"mistral",route:"/app/mistral",provider:"openai",apiBase:"https://api.mistral.ai/v1/chat/completions",model:"mistral-small-latest"},{title:"mistral",route:"/api/mistral",provider:"openai",apiBase:"https://api.mistral.ai/v1/chat/completions",model:"mistral-small-latest"},{title:"mistral code",route:"/openai/mistral-code",provider:"openai",apiBase:"https://codestral.mistral.ai/v1/chat/completions",model:"codestral-latest"},{title:"mistral code",route:"/app/mistral-code",provider:"openai",apiBase:"https://codestral.mistral.ai/v1/chat/completions",model:"codestral-latest"},{title:"mistral code",route:"/api/mistral-code",provider:"openai",apiBase:"https://codestral.mistral.ai/v1/chat/completions",model:"codestral-latest"},{title:"moonshot",route:"/openai/moonshot",provider:"openai",apiBase:"https://api.moonshot.cn/v1/chat/completions",model:"moonshot-v1-8k"},{title:"moonshot",route:"/app/moonshot",provider:"openai",apiBase:"https://api.moonshot.cn/v1/chat/completions",model:"moonshot-v1-8k"},{title:"moonshot",route:"/api/moonshot",provider:"openai",apiBase:"https://api.moonshot.cn/v1/chat/completions",model:"moonshot-v1-8k"},{title:"spark-api-open",route:"/openai/spark-api-open",provider:"openai",apiBase:"https://spark-api-open.xf-yun.com/v1/chat/completions",model:"general"},{title:"spark-api-open",route:"/app/spark-api-open",provider:"openai",apiBase:"https://spark-api-open.xf-yun.com/v1/chat/completions",model:"general"},{title:"spark-api-open",route:"/api/spark-api-open",provider:"openai",apiBase:"https://spark-api-open.xf-yun.com/v1/chat/completions",model:"general"},{title:"fireworks",route:"/openai/fireworks",provider:"openai",apiBase:"https://api.fireworks.ai/inference/v1/chat/completions",model:"accounts/fireworks/models/llama-v3p1-405b-instruct"},{title:"fireworks",route:"/app/fireworks",provider:"openai",apiBase:"https://api.fireworks.ai/inference/v1/chat/completions",model:"accounts/fireworks/models/llama-v3p1-405b-instruct"},{title:"fireworks",route:"/api/fireworks",provider:"openai",apiBase:"https://api.fireworks.ai/inference/v1/chat/completions",model:"accounts/fireworks/models/llama-v3p1-405b-instruct"},{title:"x",route:"/openai/x",provider:"openai",apiBase:"https://api.x.ai/v1/chat/completions",model:"grok-2-1212"},{title:"x",route:"/app/x",provider:"openai",apiBase:"https://api.x.ai/v1/chat/completions",model:"grok-2-1212"},{title:"x",route:"/api/x",provider:"openai",apiBase:"https://api.x.ai/v1/chat/completions",model:"grok-2-1212"},{title:"azure",route:"/openai/azure",provider:"azure",model:"gpt-3.5-turbo"},{title:"azure",route:"/app/azure",provider:"azure",model:"gpt-3.5-turbo"},{title:"azure",route:"/api/azure",provider:"azure",model:"gpt-3.5-turbo"},{title:"coze_cn_api",route:"/openai/cozecn",provider:"coze",apiBase:"https://api.coze.cn/v3/chat",model:""},{title:"coze_cn_api",route:"/app/cozecn",provider:"coze",apiBase:"https://api.coze.cn/v3/chat",model:""},{title:"coze_cn_api",route:"/api/cozecn",provider:"coze",apiBase:"https://api.coze.cn/v3/chat",model:""},{title:"coze_com_api",route:"/openai/cozecom",provider:"coze",apiBase:"https://api.coze.com/v3/chat",model:""},{title:"coze_com_api",route:"/app/cozecom",provider:"coze",apiBase:"https://api.coze.com/v3/chat",model:""},{title:"coze_com_api",route:"/api/cozecom",provider:"coze",apiBase:"https://api.coze.com/v3/chat",model:""},{title:"coze.com",route:"/openai/coze-com",provider:"coze_com",model:""},{title:"coze.com",route:"/app/coze-com",provider:"coze_com",model:""},{title:"coze.com",route:"/api/coze-com",provider:"coze_com",model:""},{title:"coze.cn",route:"/openai/coze-cn",provider:"coze_cn",model:""},{title:"coze.cn",route:"/app/coze-cn",provider:"coze_cn",model:""},{title:"coze.cn",route:"/api/coze-cn",provider:"coze_cn",model:""},{title:"deepseek",route:"/openai/deepseek",provider:"deepseek",model:"deepseek-chat"},{title:"deepseek",route:"/app/deepseek",provider:"deepseek",model:"deepseek-chat"},{title:"deepseek",route:"/api/deepseek",provider:"deepseek",model:"deepseek-chat"},{title:"GitHub Copilot",route:"/openai/github-copilot",provider:"github_copilot",model:"gpt-4"},{title:"GitHub Copilot",route:"/app/github-copilot",provider:"github_copilot",model:"gpt-4"},{title:"GitHub Copilot",route:"/api/github-copilot",provider:"github_copilot",model:"gpt-4"},{title:"chatglm.cn",route:"/openai/chatglm",provider:"chatglm",model:"65940acff94777010aa6b796"},{title:"chatglm.cn",route:"/app/chatglm",provider:"chatglm",model:"65940acff94777010aa6b796"},{title:"chatglm.cn",route:"/api/chatglm",provider:"chatglm",model:"65940acff94777010aa6b796"},{title:"通译千问",route:"/openai/tongyi",provider:"tongyi",model:""},{title:"通译千问",route:"/app/tongyi",provider:"tongyi",model:""},{title:"通译千问",route:"/api/tongyi",provider:"tongyi",model:""},{title:"万知",route:"/openai/wanzhi",provider:"wanzhi",model:"LING"},{title:"万知",route:"/app/wanzhi",provider:"wanzhi",model:"LING"},{title:"万知",route:"/api/wanzhi",provider:"wanzhi",model:"LING"},{title:"huggingface",route:"/openai/huggingface",provider:"huggingface",model:""},{title:"huggingface",route:"/app/huggingface",provider:"huggingface",model:""},{title:"huggingface",route:"/api/huggingface",provider:"huggingface",model:""},{title:"ernie",route:"/openai/ernie",provider:"ernie",model:""},{title:"ernie",route:"/app/ernie",provider:"ernie",model:""},{title:"ernie",route:"/api/ernie",provider:"ernie",model:""},{title:"hunyuan",route:"/openai/hunyuan",provider:"hunyuan",model:""},{title:"hunyuan",route:"/app/hunyuan",provider:"hunyuan",model:""},{title:"hunyuan",route:"/api/hunyuan",provider:"hunyuan",model:""},{title:"vercel",route:"/openai/vercel",provider:"vercel",model:""},{title:"vercel",route:"/app/vercel",provider:"vercel",model:""},{title:"vercel",route:"/api/vercel",provider:"vercel",model:""},{title:"lmsys",route:"/openai/lmsys",provider:"lmsys",model:""},{title:"lmsys",route:"/app/lmsys",provider:"lmsys",model:""},{title:"lmsys",route:"/api/lmsys",provider:"lmsys",model:""},{title:"spark",route:"/openai/spark",provider:"spark",model:""},{title:"spark",route:"/app/spark",provider:"spark",model:""},{title:"spark",route:"/api/spark",provider:"spark",model:""},{title:"cloudflare",route:"/openai/cloudflare",provider:"cloudflare",model:""},{title:"cloudflare",route:"/app/cloudflare",provider:"cloudflare",model:""},{title:"cloudflare",route:"/api/cloudflare",provider:"cloudflare",model:""},{title:"mistral.ai",route:"/openai/mistral-ai",provider:"mistral_ai",model:""},{title:"mistral.ai",route:"/app/mistral-ai",provider:"mistral_ai",model:""},{title:"mistral.ai",route:"/api/mistral-ai",provider:"mistral_ai",model:""},{title:"claude",route:"/openai/claude",provider:"claude",model:""},{title:"claude",route:"/app/claude",provider:"claude",model:""},{title:"claude",route:"/api/claude",provider:"claude",model:""},{title:"anthropic",route:"/openai/anthropic",provider:"anthropic",model:""},{title:"anthropic",route:"/app/anthropic",provider:"anthropic",model:""},{title:"anthropic",route:"/api/anthropic",provider:"anthropic",model:""},{title:"cohere",route:"/openai/cohere",provider:"cohere",model:""},{title:"cohere",route:"/app/cohere",provider:"cohere",model:""},{title:"cohere",route:"/api/cohere",provider:"cohere",model:""},{title:"gemini",route:"/openai/gemini",provider:"gemini",model:"gemini-1.5-flash"},{title:"gemini",route:"/app/gemini",provider:"gemini",model:"gemini-1.5-flash"},{title:"gemini",route:"/api/gemini",provider:"gemini",model:"gemini-1.5-flash"},{title:"kimi",route:"/openai/kimi",provider:"kimi",model:""},{title:"kimi",route:"/app/kimi",provider:"kimi",model:""},{title:"kimi",route:"/api/kimi",provider:"kimi",model:""},{title:"gemini vertex",route:"/openai/gemini-vertex",provider:"gemini_vertex",model:""},{title:"gemini vertex",route:"/app/gemini-vertex",provider:"gemini_vertex",model:""},{title:"gemini vertex",route:"/api/gemini-vertex",provider:"gemini_vertex",model:""},{title:"anthropic vertex",route:"/openai/anthropic-vertex",provider:"anthropic_vertex",model:""},{title:"anthropic vertex",route:"/app/anthropic-vertex",provider:"anthropic_vertex",model:""},{title:"anthropic vertex",route:"/api/anthropic-vertex",provider:"anthropic_vertex",model:""},{title:"mistralai vertex",route:"/openai/mistralai-vertex",provider:"mistralai_vertex",model:""},{title:"mistralai vertex",route:"/app/mistralai-vertex",provider:"mistralai_vertex",model:""},{title:"mistralai vertex",route:"/api/mistralai-vertex",provider:"mistralai_vertex",model:""},{title:"openai vertex",route:"/openai/openai-vertex",provider:"openai_vertex",model:""},{title:"openai vertex",route:"/app/openai-vertex",provider:"openai_vertex",model:""},{title:"openai vertex",route:"/api/openai-vertex",provider:"openai_vertex",model:""},{title:"chatgpt.com",route:"/openai/chatgpt-com",provider:"chatgpt",model:"auto"},{title:"chatgpt.com",route:"/app/chatgpt-com",provider:"chatgpt",model:"auto"},{title:"chatgpt.com",route:"/api/chatgpt-com",provider:"chatgpt",model:"auto"},{title:"lyihub.com",route:"/openai/lyihub",provider:"lyihub",model:""},{title:"lyihub.com",route:"/app/lyihub",provider:"lyihub",model:""},{title:"lyihub.com",route:"/api/lyihub",provider:"lyihub",model:""},{title:"deepinfra",route:"/openai/deepinfra",provider:"deepinfra",model:""},{title:"deepinfra",route:"/app/deepinfra",provider:"deepinfra",model:""},{title:"deepinfra",route:"/api/deepinfra",provider:"deepinfra",model:""},{title:"replicate",route:"/openai/replicate",provider:"replicate",model:""},{title:"replicate",route:"/app/replicate",provider:"replicate",model:""},{title:"replicate",route:"/api/replicate",provider:"replicate",model:""},{title:"vecmul",route:"/openai/vecmul",provider:"vecmul",model:""},{title:"vecmul",route:"/app/vecmul",provider:"vecmul",model:""},{title:"vecmul",route:"/api/vecmul",provider:"vecmul",model:""},{title:"magai",route:"/openai/magai",provider:"magai",model:""},{title:"magai",route:"/app/magai",provider:"magai",model:""},{title:"magai",route:"/api/magai",provider:"magai",model:""},{title:"blackbox",route:"/openai/blackbox",provider:"blackbox",model:""},{title:"blackbox",route:"/app/blackbox",provider:"blackbox",model:""},{title:"blackbox",route:"/api/blackbox",provider:"blackbox",model:""},{title:"cursor",route:"/openai/cursor",provider:"cursor",model:""},{title:"cursor",route:"/app/cursor",provider:"cursor",model:""},{title:"cursor",route:"/api/cursor",provider:"cursor",model:""},{title:"zed",route:"/openai/zed",provider:"zed",model:""},{title:"zed",route:"/app/zed",provider:"zed",model:""},{title:"zed",route:"/api/zed",provider:"zed",model:""},{title:"pieces",route:"/openai/pieces",provider:"pieces",model:""},{title:"pieces",route:"/app/pieces",provider:"pieces",model:""},{title:"pieces",route:"/api/pieces",provider:"pieces",model:""},{title:"qodo",route:"/openai/qodo",provider:"qodo",model:""},{title:"qodo",route:"/app/qodo",provider:"qodo",model:""},{title:"qodo",route:"/api/qodo",provider:"qodo",model:""},{title:"genspark",route:"/openai/genspark",provider:"genspark",model:""},{title:"genspark",route:"/app/genspark",provider:"genspark",model:""},{title:"genspark",route:"/api/genspark",provider:"genspark",model:""},{title:"deepseek.com",route:"/openai/deepseek-com",provider:"deepseek_com",model:"deepseek-chat"},{title:"deepseek.com",route:"/app/deepseek-com",provider:"deepseek_com",model:"deepseek-chat"},{title:"deepseek.com",route:"/api/deepseek-com",provider:"deepseek_com",model:"deepseek-chat"},{title:"qwenlm",route:"/openai/qwenlm",provider:"qwenlm",model:""},{title:"qwenlm",route:"/app/qwenlm",provider:"qwenlm",model:""},{title:"qwenlm",route:"/api/qwenlm",provider:"qwenlm",model:""},{title:"genspark.image",route:"/openai/genspark-image",provider:"genspark_image",model:""},{title:"genspark.image",route:"/app/genspark-image",provider:"genspark_image",model:""},{title:"genspark.image",route:"/api/genspark-image",provider:"genspark_image",model:""},{title:"imagefx",route:"/openai/imagefx",provider:"imagefx",model:""},{title:"imagefx",route:"/app/imagefx",provider:"imagefx",model:""},{title:"imagefx",route:"/api/imagefx",provider:"imagefx",model:""},{title:"bing.image",route:"/openai/bing-image",provider:"bing_image",model:""},{title:"bing.image",route:"/app/bing-image",provider:"bing_image",model:""},{title:"bing.image",route:"/api/bing-image",provider:"bing_image",model:""},{title:"siliconflow.image",route:"/openai/siliconflow-image",provider:"siliconflow_image",model:""},{title:"siliconflow.image",route:"/app/siliconflow-image",provider:"siliconflow_image",model:""},{title:"siliconflow.image",route:"/api/siliconflow-image",provider:"siliconflow_image",model:""},{title:"cloudflare.image",route:"/openai/cloudflare-image",provider:"cloudflare_image",model:""},{title:"cloudflare.image",route:"/app/cloudflare-image",provider:"cloudflare_image",model:""},{title:"cloudflare.image",route:"/api/cloudflare-image",provider:"cloudflare_image",model:""},{title:"designer",route:"/openai/designer",provider:"designer",model:""},{title:"designer",route:"/app/designer",provider:"designer",model:""},{title:"designer",route:"/api/designer",provider:"designer",model:""},{title:"grok",route:"/openai/grok",provider:"grok",model:""},{title:"grok",route:"/app/grok",provider:"grok",model:""},{title:"grok",route:"/api/grok",provider:"grok",model:""},{title:"n",route:"/openai/n",provider:"n",model:""},{title:"n",route:"/app/n",provider:"n",model:""},{title:"n",route:"/api/n",provider:"n",model:""},{title:"firefly",route:"/openai/firefly",provider:"firefly",model:""},{title:"firefly",route:"/app/firefly",provider:"firefly",model:""},{title:"firefly",route:"/api/firefly",provider:"firefly",model:""},{title:"yuanbao",route:"/openai/yuanbao",provider:"yuanbao",model:""},{title:"yuanbao",route:"/app/yuanbao",provider:"yuanbao",model:""},{title:"yuanbao",route:"/api/yuanbao",provider:"yuanbao",model:""}]},$e={prefix:"NITRO_",altPrefix:Ve.nitro.envPrefix??e.env.NITRO_ENV_PREFIX??"_",envExpansion:Ve.nitro.envExpansion??e.env.NITRO_ENV_EXPANSION??!1},et=_deepFreeze(function applyEnv(t,s,a=""){for(const c in t){const l=a?`${a}_${c}`:c,u=getEnv(l,s);_isObject(t[c])?_isObject(u)?(t[c]={...t[c],...u},applyEnv(t[c],s,l)):void 0===u?applyEnv(t[c],s,l):t[c]=u??t[c]:t[c]=u??t[c],s.envExpansion&&"string"==typeof t[c]&&(t[c]=t[c].replace(Qe,((t,s)=>e.env[s]||t)))}return t}(klona(Ve),$e));function useRuntimeConfig(e){return et}function _deepFreeze(e){const t=Object.getOwnPropertyNames(e);for(const s of t){const t=e[s];t&&"object"==typeof t&&_deepFreeze(t)}return Object.freeze(e)}_deepFreeze(klona(Ge)),new Proxy(Object.create(null),{get:(e,t)=>{console.warn("Please use `useRuntimeConfig()` instead of accessing config directly.");const s=useRuntimeConfig();if(t in s)return s[t]}});const tt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof global?global:{},st="__unctx__",at=tt[st]||(tt[st]=function(e={}){const t={};return{get:(s,a={})=>(t[s]||(t[s]=function(e={}){let t,s=!1;const checkConflict=e=>{if(t&&t!==e)throw new Error("Context conflict")};let a;if(e.asyncContext){const t=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;t?a=new t:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const _getCurrentInstance=()=>{if(a){const e=a.getStore();if(void 0!==e)return e}return t};return{use:()=>{const e=_getCurrentInstance();if(void 0===e)throw new Error("Context is not available");return e},tryUse:()=>_getCurrentInstance(),set:(e,a)=>{a||checkConflict(e),t=e,s=!0},unset:()=>{t=void 0,s=!1},call:(e,c)=>{checkConflict(e),t=e;try{return a?a.run(e,c):c()}finally{s||(t=void 0)}},async callAsync(e,c){t=e;const onRestore=()=>{t=e},onLeave=()=>t===e?onRestore:void 0;ot.add(onLeave);try{const l=a?a.run(e,c):c();return s||(t=void 0),await l}finally{ot.delete(onLeave)}}}}({...e,...a})),t[s])}}()),rt="__unctx_async_handlers__",ot=tt[rt]||(tt[rt]=new Set);((e,t={})=>{at.get(e,t)})("nitro-app",{asyncContext:void 0,AsyncLocalStorage:void 0});const it=toRouteMatcher(createRouter$1({routes:useRuntimeConfig().nitro.routeRules}));function createRouteRulesHandler(e){return pe((t=>{const s=function(e){e.context._nitro=e.context._nitro||{},e.context._nitro.routeRules||(e.context._nitro.routeRules=getRouteRulesForPath(withoutBase(e.path.split("?")[0],useRuntimeConfig().app.baseURL)));return e.context._nitro.routeRules}(t);if(s.headers&&ie(t,s.headers),s.redirect){let e=s.redirect.to;if(e.endsWith("/**")){let a=t.path;const c=s.redirect._redirectStripBase;c&&(a=withoutBase(a,c)),e=joinURL(e.slice(0,-3),a)}else if(t.path.includes("?")){e=withQuery(e,getQuery$1(t.path))}return function(e,t,s=302){return e.node.res.statusCode=sanitizeStatusCode(s,e.node.res.statusCode),e.node.res.setHeader("location",t),send(e,``,ae.html)}(t,e,s.redirect.statusCode)}if(s.proxy){let a=s.proxy.to;if(a.endsWith("/**")){let e=t.path;const c=s.proxy._proxyStripBase;c&&(e=withoutBase(e,c)),a=joinURL(a.slice(0,-3),e)}else if(t.path.includes("?")){a=withQuery(a,getQuery$1(t.path))}return proxyRequest(t,a,{fetch:e.localFetch,...s.proxy})}}))}function getRouteRulesForPath(e){return U({},...it.matchAll(e).reverse())}function _captureError(e,t){console.error(`[${t}]`,e),useNitroApp().captureError(e,{tags:[t]})}function joinHeaders(e){return Array.isArray(e)?e.join(", "):String(e)}function normalizeCookieHeader(e=""){return splitCookiesString(joinHeaders(e))}function normalizeCookieHeaders(e){const t=new Headers;for(const[s,a]of e)if("set-cookie"===s)for(const e of normalizeCookieHeader(a))t.append("set-cookie",e);else t.set(s,joinHeaders(a));return t}const nt=function(){const e=useRuntimeConfig(),t=new Hookable,captureError=(e,s={})=>{const a=t.callHookParallel("error",e,s).catch((e=>{console.error("Error while capturing another error",e)}));if(s.event&&isEvent(s.event)){const t=s.event.context.nitro?.errors;t&&t.push({error:e,context:s}),s.event.waitUntil&&s.event.waitUntil(a)}},s=createApp({debug:destr(!1),onError:(e,t)=>(captureError(e,{event:t,tags:["request"]}),async function(e,t){for(const s of ze)try{if(await s(e,t,{defaultHandler:defaultHandler}),t.handled)return}catch(e){console.error(e)}}(e,t)),onRequest:async e=>{e.context.nitro=e.context.nitro||{errors:[]};const t=e.node.req?.__unenv__;t&&Object.assign(e.context,t),e.fetch=(t,s)=>fetchWithEvent(e,t,s,{fetch:localFetch}),e.$fetch=(t,s)=>fetchWithEvent(e,t,s,{fetch:l}),e.waitUntil=s=>{e.context.nitro._waitUntilPromises||(e.context.nitro._waitUntilPromises=[]),e.context.nitro._waitUntilPromises.push(s),t?.waitUntil&&t.waitUntil(s)},e.captureError=(t,s)=>{captureError(t,{event:e,...s})},await nt.hooks.callHook("request",e).catch((t=>{captureError(t,{event:e,tags:["request"]})}))},onBeforeResponse:async(e,t)=>{await nt.hooks.callHook("beforeResponse",e,t).catch((t=>{captureError(t,{event:e,tags:["request","response"]})}))},onAfterResponse:async(e,t)=>{await nt.hooks.callHook("afterResponse",e,t).catch((t=>{captureError(t,{event:e,tags:["request","response"]})}))}}),a=function(e={}){const t=createRouter$1({}),s={};let a;const c={},addRoute=(e,a,l)=>{let u=s[e];if(u||(s[e]=u={path:e,handlers:{}},t.insert(e,u)),Array.isArray(l))for(const t of l)addRoute(e,a,t);else u.handlers[l]=toEventHandler(a,0,e);return c};c.use=c.add=(e,t,s)=>addRoute(e,t,s||"all");for(const e of le)c[e]=(t,s)=>c.add(t,s,e);const matchHandler=(e="/",s="get")=>{const c=e.indexOf("?");-1!==c&&(e=e.slice(0,Math.max(0,c)));const l=t.lookup(e);if(!l||!l.handlers)return{error:createError$1({statusCode:404,name:"Not Found",statusMessage:`Cannot find any route matching ${e||"/"}.`})};let u=l.handlers[s]||l.handlers.all;if(!u){a||(a=toRouteMatcher(t));const c=a.matchAll(e).reverse();for(const e of c){if(e.handlers[s]){u=e.handlers[s],l.handlers[s]=l.handlers[s]||u;break}if(e.handlers.all){u=e.handlers.all,l.handlers.all=l.handlers.all||u;break}}}return u?{matched:l,handler:u}:{error:createError$1({statusCode:405,name:"Method Not Allowed",statusMessage:`Method ${s} is not allowed on this route.`})}},l=e.preemptive||e.preemtive;return c.handler=pe((e=>{const t=matchHandler(e.path,e.method.toLowerCase());if("error"in t){if(l)throw t.error;return}e.context.matchedRoute=t.matched;const s=t.matched.params||{};return e.context.params=s,Promise.resolve(t.handler(e)).then((e=>void 0===e&&l?null:e))})),c.handler.__resolve__=async e=>{e=withLeadingSlash(e);const t=matchHandler(e);if("error"in t)return;let s={route:t.matched.path,handler:t.handler};if(t.handler.__resolve__){const a=await t.handler.__resolve__(e);if(!a)return;s={...s,...a}}return s},c}({preemptive:!0}),c=toNodeListener(s),localFetch=(e,t)=>e.toString().startsWith("/")?async function(e,t,s={}){try{const a=await b(e,{url:t,...s});return new Response(a.body,{status:a.status,statusText:a.statusText,headers:S(a.headers)})}catch(e){return new Response(e.toString(),{status:Number.parseInt(e.statusCode||e.code)||500,statusText:e.statusText})}}(c,e,t).then((e=>function(e){return e.headers.has("set-cookie")?new Response(e.body,{status:e.status,statusText:e.statusText,headers:normalizeCookieHeaders(e.headers)}):e}(e))):globalThis.fetch(e,t),l=createFetch({fetch:localFetch,Headers:Te,defaults:{baseURL:e.app.baseURL}});globalThis.$fetch=l,s.use(createRouteRulesHandler({localFetch:localFetch}));for(const t of Ne){let c=t.lazy?lazyEventHandler(t.handler):t.handler;if(t.middleware||!t.route){const a=(e.app.baseURL+(t.route||"/")).replace(/\/+/g,"/");s.use(a,c)}else{const e=getRouteRulesForPath(t.route.replace(/:\w+|\*\*/g,"_"));e.cache&&(c=cachedEventHandler(c,{group:"nitro/routes",...e.cache})),a.use(t.route,c,t.method)}}return s.use(e.app.baseURL,a.handler),{hooks:t,h3App:s,router:a,localCall:e=>b(c,e),localFetch:localFetch,captureError:captureError}}();function useNitroApp(){return nt}!function(e){for(const t of Re)try{t(e)}catch(t){throw e.captureError(t,{tags:["plugin"]}),t}}(nt);function GracefulShutdown(s,a){a=a||{};const c=Object.assign({signals:"SIGINT SIGTERM",timeout:3e4,development:!1,forceExit:!0,onShutdown:e=>Promise.resolve(e),preShutdown:e=>Promise.resolve(e)},a);let l=!1;const u={};let d=0;const h={};let f=0,m=!1,g=!1;const v=c.signals.split(" ").map((e=>e.trim())).filter((e=>e.length>0)),j=function(){let e=!1;return(t,s,a)=>{function call(){if(!e)return e=!0,Reflect.apply(a,this,arguments)}for(const e of s)t.on(e,call)}}();function destroy(e,s=!1){(e._isIdle&&l||s)&&(e.destroy(),e.server instanceof t.Server?delete u[e._connectionId]:delete h[e._connectionId])}function destroyAllConnections(e=!1){for(const t of Object.keys(u)){const s=u[t],a=s._httpMessage;a&&!e?a.headersSent||a.setHeader("connection","close"):destroy(s)}for(const t of Object.keys(h)){const s=h[t],a=s._httpMessage;a&&!e?a.headersSent||a.setHeader("connection","close"):destroy(s)}}function shutdown(t){if(c.development)return e.exit(0);function waitForReadyToShutDown(e){if(0===e)return c.timeout,Promise.resolve(!0);return 0===Object.keys(u).length&&0===Object.keys(h).length?Promise.resolve(!1):new Promise((t=>{setTimeout((()=>{t(waitForReadyToShutDown(e-1))}),250)}))}return l?Promise.resolve():c.preShutdown(t).then((()=>{l=!0,destroyAllConnections(),new Promise(((e,t)=>{s.close((s=>s?t(s):e(!0)))}))})).then((()=>waitForReadyToShutDown(c.timeout?Math.round(c.timeout/250):0))).then((e=>(e&&destroyAllConnections(e),c.onShutdown(t)))).then((function(){return g||(g=!0,c.finally&&function(e){const t=Object.prototype.toString.call(e);return/^\[object\s([A-Za-z]+)?Function]$/.test(t)}(c.finally)&&c.finally()),Promise.resolve()})).catch((e=>{const t="string"==typeof e?e:JSON.stringify(e);throw m=!0,t}))}return j(e,v,(t=>{shutdown(t).then((()=>{c.forceExit&&e.exit(m?1:0)})).catch((t=>{e.exit(1)}))})),s.on("request",((e,t)=>{e.socket._isIdle=!1,l&&!t.headersSent&&t.setHeader("connection","close"),t.on("finish",(()=>{e.socket._isIdle=!0,destroy(e.socket)}))})),s.on("connection",(e=>{if(l)e.destroy();else{const t=d++;e._isIdle=!0,e._connectionId=t,u[t]=e,e.once("close",(()=>{delete u[e._connectionId]}))}})),s.on("secureConnection",(e=>{if(l)e.destroy();else{const t=f++;e._isIdle=!0,e._connectionId=t,h[t]=e,e.once("close",(()=>{delete h[e._connectionId]}))}})),e.on("close",(()=>{})),function(){return shutdown("manual")}}const ct=e.env.NITRO_SSL_CERT,pt=e.env.NITRO_SSL_KEY,lt=useNitroApp(),ut=ct&&pt?new c({key:pt,cert:ct},toNodeListener(lt.h3App)):new s(toNodeListener(lt.h3App)),dt=destr(e.env.NITRO_PORT||e.env.PORT)||3e3,ht=e.env.NITRO_HOST||e.env.HOST,ft=e.env.NITRO_UNIX_SOCKET,mt=ut.listen(ft?{path:ft}:{port:dt,host:ht},(t=>{t&&(console.error(t),e.exit(1));const s=ct&&pt?"https":"http",a=mt.address();if("string"==typeof a)return void console.log(`Listening on unix socket ${a}`);const c=(useRuntimeConfig().app.baseURL||"").replace(/\/$/,""),l=`${s}://${"IPv6"===a.family?`[${a.address}]`:a.address}:${a.port}${c}`;console.log(`Listening on ${l}`)}));e.on("unhandledRejection",(e=>_captureError(e,"unhandledRejection"))),e.on("uncaughtException",(e=>_captureError(e,"uncaughtException"))),function(t,s){const a={disabled:!!e.env.NITRO_SHUTDOWN_DISABLED,signals:(e.env.NITRO_SHUTDOWN_SIGNALS||"SIGTERM SIGINT").split(" ").map((e=>e.trim())),timeout:Number.parseInt(e.env.NITRO_SHUTDOWN_TIMEOUT||"",10)||3e4,forceExit:!e.env.NITRO_SHUTDOWN_NO_FORCE_EXIT};a.disabled||GracefulShutdown(t,{signals:a.signals.join(" "),timeout:a.timeout,forceExit:a.forceExit,onShutdown:async()=>{await new Promise((e=>{const t=setTimeout((()=>{console.warn("Graceful shutdown timeout, force exiting..."),e()}),a.timeout);s.hooks.callHook("close").catch((e=>{console.error(e)})).finally((()=>{clearTimeout(t),e()}))}))}})}(mt,lt);const gt={};export{xe as $,$ as a,getQuery as b,useStorage as c,defineEventHandler as d,createError as e,defineDriver as f,getRequestURL as g,createRequiredError as h,createStorage as i,joinKeys as j,gt as n,readBody as r,useRuntimeConfig as u};