From 39c0b8958671d75272d4a7010fe0e85588e426aa Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Mon, 22 Jul 2024 12:15:12 +0300 Subject: [PATCH] --- Target/{manifest_QnmUv9Wy.mjs.map => manifest_DF25aONF.mjs.map} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename Target/{manifest_QnmUv9Wy.mjs.map => manifest_DF25aONF.mjs.map} (99%) diff --git a/Target/manifest_QnmUv9Wy.mjs.map b/Target/manifest_DF25aONF.mjs.map similarity index 99% rename from Target/manifest_QnmUv9Wy.mjs.map rename to Target/manifest_DF25aONF.mjs.map index ce26285f..3ea695a6 100644 --- a/Target/manifest_QnmUv9Wy.mjs.map +++ b/Target/manifest_DF25aONF.mjs.map @@ -1 +1 @@ -{"version":3,"file":"manifest_QnmUv9Wy.mjs","sources":["../../../../../node_modules/astro/dist/core/logger/core.js","../../../../../node_modules/astro/dist/core/routing/manifest/generator.js","../../../../../node_modules/astro/dist/core/routing/manifest/serialization.js","../../../../../node_modules/astro/dist/core/app/common.js"],"sourcesContent":["import { blue, bold, dim, red, yellow } from \"kleur/colors\";\nimport stringWidth from \"string-width\";\nconst dateTimeFormat = new Intl.DateTimeFormat([], {\n hour: \"2-digit\",\n minute: \"2-digit\",\n second: \"2-digit\",\n hour12: false\n});\nconst levels = {\n debug: 20,\n info: 30,\n warn: 40,\n error: 50,\n silent: 90\n};\nfunction log(opts, level, label, message, newLine = true) {\n const logLevel = opts.level;\n const dest = opts.dest;\n const event = {\n label,\n level,\n message,\n newLine\n };\n if (!isLogLevelEnabled(logLevel, level)) {\n return;\n }\n dest.write(event);\n}\nfunction isLogLevelEnabled(configuredLogLevel, level) {\n return levels[configuredLogLevel] <= levels[level];\n}\nfunction info(opts, label, message, newLine = true) {\n return log(opts, \"info\", label, message, newLine);\n}\nfunction warn(opts, label, message, newLine = true) {\n return log(opts, \"warn\", label, message, newLine);\n}\nfunction error(opts, label, message, newLine = true) {\n return log(opts, \"error\", label, message, newLine);\n}\nfunction table(opts, columns) {\n return function logTable(logFn, ...input) {\n const message = columns.map((len, i) => padStr(input[i].toString(), len)).join(\" \");\n logFn(opts, null, message);\n };\n}\nfunction debug(...args) {\n if (\"_astroGlobalDebug\" in globalThis) {\n globalThis._astroGlobalDebug(...args);\n }\n}\nfunction padStr(str, len) {\n const strLen = stringWidth(str);\n if (strLen > len) {\n return str.substring(0, len - 3) + \"...\";\n }\n const spaces = Array.from({ length: len - strLen }, () => \" \").join(\"\");\n return str + spaces;\n}\nfunction getEventPrefix({ level, label }) {\n const timestamp = `${dateTimeFormat.format(/* @__PURE__ */ new Date())}`;\n const prefix = [];\n if (level === \"error\" || level === \"warn\") {\n prefix.push(bold(timestamp));\n prefix.push(`[${level.toUpperCase()}]`);\n } else {\n prefix.push(timestamp);\n }\n if (label) {\n prefix.push(`[${label}]`);\n }\n if (level === \"error\") {\n return red(prefix.join(\" \"));\n }\n if (level === \"warn\") {\n return yellow(prefix.join(\" \"));\n }\n if (prefix.length === 1) {\n return dim(prefix[0]);\n }\n return dim(prefix[0]) + \" \" + blue(prefix.splice(1).join(\" \"));\n}\nlet defaultLogLevel;\nif (typeof process !== \"undefined\") {\n let proc = process;\n if (\"argv\" in proc && Array.isArray(proc.argv)) {\n if (proc.argv.includes(\"--verbose\")) {\n defaultLogLevel = \"debug\";\n } else if (proc.argv.includes(\"--silent\")) {\n defaultLogLevel = \"silent\";\n } else {\n defaultLogLevel = \"info\";\n }\n } else {\n defaultLogLevel = \"info\";\n }\n} else {\n defaultLogLevel = \"info\";\n}\nfunction timerMessage(message, startTime = Date.now()) {\n let timeDiff = Date.now() - startTime;\n let timeDisplay = timeDiff < 750 ? `${Math.round(timeDiff)}ms` : `${(timeDiff / 1e3).toFixed(1)}s`;\n return `${message} ${dim(timeDisplay)}`;\n}\nclass Logger {\n options;\n constructor(options) {\n this.options = options;\n }\n info(label, message, newLine = true) {\n info(this.options, label, message, newLine);\n }\n warn(label, message, newLine = true) {\n warn(this.options, label, message, newLine);\n }\n error(label, message, newLine = true) {\n error(this.options, label, message, newLine);\n }\n debug(label, ...messages) {\n debug(label, ...messages);\n }\n level() {\n return this.options.level;\n }\n forkIntegrationLogger(label) {\n return new AstroIntegrationLogger(this.options, label);\n }\n}\nclass AstroIntegrationLogger {\n options;\n label;\n constructor(logging, label) {\n this.options = logging;\n this.label = label;\n }\n /**\n * Creates a new logger instance with a new label, but the same log options.\n */\n fork(label) {\n return new AstroIntegrationLogger(this.options, label);\n }\n info(message) {\n info(this.options, this.label, message);\n }\n warn(message) {\n warn(this.options, this.label, message);\n }\n error(message) {\n error(this.options, this.label, message);\n }\n debug(message) {\n debug(this.label, message);\n }\n}\nexport {\n AstroIntegrationLogger,\n Logger,\n dateTimeFormat,\n debug,\n defaultLogLevel,\n error,\n getEventPrefix,\n info,\n isLogLevelEnabled,\n levels,\n log,\n table,\n timerMessage,\n warn\n};\n","import { compile } from \"path-to-regexp\";\nfunction sanitizeParams(params) {\n return Object.fromEntries(\n Object.entries(params).map(([key, value]) => {\n if (typeof value === \"string\") {\n return [key, value.normalize().replace(/#/g, \"%23\").replace(/\\?/g, \"%3F\")];\n }\n return [key, value];\n })\n );\n}\nfunction getRouteGenerator(segments, addTrailingSlash) {\n const template = segments.map((segment) => {\n return \"/\" + segment.map((part) => {\n if (part.spread) {\n return `:${part.content.slice(3)}(.*)?`;\n } else if (part.dynamic) {\n return `:${part.content}`;\n } else {\n return part.content.normalize().replace(/\\?/g, \"%3F\").replace(/#/g, \"%23\").replace(/%5B/g, \"[\").replace(/%5D/g, \"]\").replace(/[.*+?^${}()|[\\]\\\\]/g, \"\\\\$&\");\n }\n }).join(\"\");\n }).join(\"\");\n let trailing = \"\";\n if (addTrailingSlash === \"always\" && segments.length) {\n trailing = \"/\";\n }\n const toPath = compile(template + trailing);\n return (params) => {\n const sanitizedParams = sanitizeParams(params);\n const path = toPath(sanitizedParams);\n return path || \"/\";\n };\n}\nexport {\n getRouteGenerator\n};\n","import { getRouteGenerator } from \"./generator.js\";\nfunction serializeRouteData(routeData, trailingSlash) {\n return {\n ...routeData,\n generate: void 0,\n pattern: routeData.pattern.source,\n redirectRoute: routeData.redirectRoute ? serializeRouteData(routeData.redirectRoute, trailingSlash) : void 0,\n fallbackRoutes: routeData.fallbackRoutes.map((fallbackRoute) => {\n return serializeRouteData(fallbackRoute, trailingSlash);\n }),\n _meta: { trailingSlash }\n };\n}\nfunction deserializeRouteData(rawRouteData) {\n return {\n route: rawRouteData.route,\n type: rawRouteData.type,\n pattern: new RegExp(rawRouteData.pattern),\n params: rawRouteData.params,\n component: rawRouteData.component,\n generate: getRouteGenerator(rawRouteData.segments, rawRouteData._meta.trailingSlash),\n pathname: rawRouteData.pathname || void 0,\n segments: rawRouteData.segments,\n prerender: rawRouteData.prerender,\n redirect: rawRouteData.redirect,\n redirectRoute: rawRouteData.redirectRoute ? deserializeRouteData(rawRouteData.redirectRoute) : void 0,\n fallbackRoutes: rawRouteData.fallbackRoutes.map((fallback) => {\n return deserializeRouteData(fallback);\n }),\n isIndex: rawRouteData.isIndex\n };\n}\nexport {\n deserializeRouteData,\n serializeRouteData\n};\n","import { deserializeRouteData } from \"../routing/manifest/serialization.js\";\nfunction deserializeManifest(serializedManifest) {\n const routes = [];\n for (const serializedRoute of serializedManifest.routes) {\n routes.push({\n ...serializedRoute,\n routeData: deserializeRouteData(serializedRoute.routeData)\n });\n const route = serializedRoute;\n route.routeData = deserializeRouteData(serializedRoute.routeData);\n }\n const assets = new Set(serializedManifest.assets);\n const componentMetadata = new Map(serializedManifest.componentMetadata);\n const inlinedScripts = new Map(serializedManifest.inlinedScripts);\n const clientDirectives = new Map(serializedManifest.clientDirectives);\n const serverIslandNameMap = new Map(serializedManifest.serverIslandNameMap);\n return {\n // in case user middleware exists, this no-op middleware will be reassigned (see plugin-ssr.ts)\n middleware(_, next) {\n return next();\n },\n ...serializedManifest,\n assets,\n componentMetadata,\n inlinedScripts,\n clientDirectives,\n routes,\n serverIslandNameMap\n };\n}\nexport {\n de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iB,GAAG,IAAI,GAAG,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,CAAC;AAC1E,EAAE,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,kBAAkB,CAAC,cAAc,CAAC,CAAC;AACpE,EAAE,MAAM,gBAAgB,GAAG,IAAI,GAAG,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;AACxE,EAAE,MAAM,mBAAmB,GAAG,IAAI,GAAG,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,CAAC;AAC9E,EAAE,OAAO;AACT;AACA,IAAI,UAAU,CAAC,CAAC,EAAE,IAAI,EAAE;AACxB,MAAM,OAAO,IAAI,EAAE,CAAC;AACpB,KAAK;AACL,IAAI,GAAG,kBAAkB;AACzB,IAAI,MAAM;AACV,IAAI,iBAAiB;AACrB,IAAI,cAAc;AAClB,IAAI,gBAAgB;AACpB,IAAI,MAAM;AACV,IAAI,mBAAmB;AACvB,GAAG,CAAC;AACJ;;;;;;","x_google_ignoreList":[0,1,2,3]} \ No newline at end of file +{"version":3,"file":"manifest_DF25aONF.mjs","sources":["../../../../../node_modules/astro/dist/core/logger/core.js","../../../../../node_modules/astro/dist/core/routing/manifest/generator.js","../../../../../node_modules/astro/dist/core/routing/manifest/serialization.js","../../../../../node_modules/astro/dist/core/app/common.js"],"sourcesContent":["import { blue, bold, dim, red, yellow } from \"kleur/colors\";\nimport stringWidth from \"string-width\";\nconst dateTimeFormat = new Intl.DateTimeFormat([], {\n hour: \"2-digit\",\n minute: \"2-digit\",\n second: \"2-digit\",\n hour12: false\n});\nconst levels = {\n debug: 20,\n info: 30,\n warn: 40,\n error: 50,\n silent: 90\n};\nfunction log(opts, level, label, message, newLine = true) {\n const logLevel = opts.level;\n const dest = opts.dest;\n const event = {\n label,\n level,\n message,\n newLine\n };\n if (!isLogLevelEnabled(logLevel, level)) {\n return;\n }\n dest.write(event);\n}\nfunction isLogLevelEnabled(configuredLogLevel, level) {\n return levels[configuredLogLevel] <= levels[level];\n}\nfunction info(opts, label, message, newLine = true) {\n return log(opts, \"info\", label, message, newLine);\n}\nfunction warn(opts, label, message, newLine = true) {\n return log(opts, \"warn\", label, message, newLine);\n}\nfunction error(opts, label, message, newLine = true) {\n return log(opts, \"error\", label, message, newLine);\n}\nfunction table(opts, columns) {\n return function logTable(logFn, ...input) {\n const message = columns.map((len, i) => padStr(input[i].toString(), len)).join(\" \");\n logFn(opts, null, message);\n };\n}\nfunction debug(...args) {\n if (\"_astroGlobalDebug\" in globalThis) {\n globalThis._astroGlobalDebug(...args);\n }\n}\nfunction padStr(str, len) {\n const strLen = stringWidth(str);\n if (strLen > len) {\n return str.substring(0, len - 3) + \"...\";\n }\n const spaces = Array.from({ length: len - strLen }, () => \" \").join(\"\");\n return str + spaces;\n}\nfunction getEventPrefix({ level, label }) {\n const timestamp = `${dateTimeFormat.format(/* @__PURE__ */ new Date())}`;\n const prefix = [];\n if (level === \"error\" || level === \"warn\") {\n prefix.push(bold(timestamp));\n prefix.push(`[${level.toUpperCase()}]`);\n } else {\n prefix.push(timestamp);\n }\n if (label) {\n prefix.push(`[${label}]`);\n }\n if (level === \"error\") {\n return red(prefix.join(\" \"));\n }\n if (level === \"warn\") {\n return yellow(prefix.join(\" \"));\n }\n if (prefix.length === 1) {\n return dim(prefix[0]);\n }\n return dim(prefix[0]) + \" \" + blue(prefix.splice(1).join(\" \"));\n}\nlet defaultLogLevel;\nif (typeof process !== \"undefined\") {\n let proc = process;\n if (\"argv\" in proc && Array.isArray(proc.argv)) {\n if (proc.argv.includes(\"--verbose\")) {\n defaultLogLevel = \"debug\";\n } else if (proc.argv.includes(\"--silent\")) {\n defaultLogLevel = \"silent\";\n } else {\n defaultLogLevel = \"info\";\n }\n } else {\n defaultLogLevel = \"info\";\n }\n} else {\n defaultLogLevel = \"info\";\n}\nfunction timerMessage(message, startTime = Date.now()) {\n let timeDiff = Date.now() - startTime;\n let timeDisplay = timeDiff < 750 ? `${Math.round(timeDiff)}ms` : `${(timeDiff / 1e3).toFixed(1)}s`;\n return `${message} ${dim(timeDisplay)}`;\n}\nclass Logger {\n options;\n constructor(options) {\n this.options = options;\n }\n info(label, message, newLine = true) {\n info(this.options, label, message, newLine);\n }\n warn(label, message, newLine = true) {\n warn(this.options, label, message, newLine);\n }\n error(label, message, newLine = true) {\n error(this.options, label, message, newLine);\n }\n debug(label, ...messages) {\n debug(label, ...messages);\n }\n level() {\n return this.options.level;\n }\n forkIntegrationLogger(label) {\n return new AstroIntegrationLogger(this.options, label);\n }\n}\nclass AstroIntegrationLogger {\n options;\n label;\n constructor(logging, label) {\n this.options = logging;\n this.label = label;\n }\n /**\n * Creates a new logger instance with a new label, but the same log options.\n */\n fork(label) {\n return new AstroIntegrationLogger(this.options, label);\n }\n info(message) {\n info(this.options, this.label, message);\n }\n warn(message) {\n warn(this.options, this.label, message);\n }\n error(message) {\n error(this.options, this.label, message);\n }\n debug(message) {\n debug(this.label, message);\n }\n}\nexport {\n AstroIntegrationLogger,\n Logger,\n dateTimeFormat,\n debug,\n defaultLogLevel,\n error,\n getEventPrefix,\n info,\n isLogLevelEnabled,\n levels,\n log,\n table,\n timerMessage,\n warn\n};\n","import { compile } from \"path-to-regexp\";\nfunction sanitizeParams(params) {\n return Object.fromEntries(\n Object.entries(params).map(([key, value]) => {\n if (typeof value === \"string\") {\n return [key, value.normalize().replace(/#/g, \"%23\").replace(/\\?/g, \"%3F\")];\n }\n return [key, value];\n })\n );\n}\nfunction getRouteGenerator(segments, addTrailingSlash) {\n const template = segments.map((segment) => {\n return \"/\" + segment.map((part) => {\n if (part.spread) {\n return `:${part.content.slice(3)}(.*)?`;\n } else if (part.dynamic) {\n return `:${part.content}`;\n } else {\n return part.content.normalize().replace(/\\?/g, \"%3F\").replace(/#/g, \"%23\").replace(/%5B/g, \"[\").replace(/%5D/g, \"]\").replace(/[.*+?^${}()|[\\]\\\\]/g, \"\\\\$&\");\n }\n }).join(\"\");\n }).join(\"\");\n let trailing = \"\";\n if (addTrailingSlash === \"always\" && segments.length) {\n trailing = \"/\";\n }\n const toPath = compile(template + trailing);\n return (params) => {\n const sanitizedParams = sanitizeParams(params);\n const path = toPath(sanitizedParams);\n return path || \"/\";\n };\n}\nexport {\n getRouteGenerator\n};\n","import { getRouteGenerator } from \"./generator.js\";\nfunction serializeRouteData(routeData, trailingSlash) {\n return {\n ...routeData,\n generate: void 0,\n pattern: routeData.pattern.source,\n redirectRoute: routeData.redirectRoute ? serializeRouteData(routeData.redirectRoute, trailingSlash) : void 0,\n fallbackRoutes: routeData.fallbackRoutes.map((fallbackRoute) => {\n return serializeRouteData(fallbackRoute, trailingSlash);\n }),\n _meta: { trailingSlash }\n };\n}\nfunction deserializeRouteData(rawRouteData) {\n return {\n route: rawRouteData.route,\n type: rawRouteData.type,\n pattern: new RegExp(rawRouteData.pattern),\n params: rawRouteData.params,\n component: rawRouteData.component,\n generate: getRouteGenerator(rawRouteData.segments, rawRouteData._meta.trailingSlash),\n pathname: rawRouteData.pathname || void 0,\n segments: rawRouteData.segments,\n prerender: rawRouteData.prerender,\n redirect: rawRouteData.redirect,\n redirectRoute: rawRouteData.redirectRoute ? deserializeRouteData(rawRouteData.redirectRoute) : void 0,\n fallbackRoutes: rawRouteData.fallbackRoutes.map((fallback) => {\n return deserializeRouteData(fallback);\n }),\n isIndex: rawRouteData.isIndex\n };\n}\nexport {\n deserializeRouteData,\n serializeRouteData\n};\n","import { deserializeRouteData } from \"../routing/manifest/serialization.js\";\nfunction deserializeManifest(serializedManifest) {\n const routes = [];\n for (const serializedRoute of serializedManifest.routes) {\n routes.push({\n ...serializedRoute,\n routeData: deserializeRouteData(serializedRoute.routeData)\n });\n const route = serializedRoute;\n route.routeData = deserializeRouteData(serializedRoute.routeData);\n }\n const assets = new Set(serializedManifest.assets);\n const componentMetadata = new Map(serializedManifest.componentMetadata);\n const inlinedScripts = new Map(serializedManifest.inlinedScripts);\n const clientDirectives = new Map(serializedManifest.clientDirectives);\n const serverIslandNameMap = new Map(serializedManifest.serverIslandNameMap);\n return {\n // in case user middleware exists, this no-op middleware will be reassigned (see plugin-ssr.ts)\n middleware(_, next) {\n return next();\n },\n ...serializedManifest,\n assets,\n componentMetadata,\n inlinedScripts,\n clientDirectives,\n routes,\n serverIslandNameMap\n };\n}\nexport {\n deserializeManifest\n};\n"],"names":[],"mappings":";;;;;;;;AAoFA,IAAI,OAAO,OAAO,KAAK,WAAW,EAAE;AACpC,EAAE,IAAI,IAAI,GAAG,OAAO,CAAC;AACrB,EAAE,IAAI,MAAM,IAAI,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;AAClD,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,CAEpC,MAAM,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAE1C,MAAM,CAEN;AACL,GAEG;AACH;;AChGA,SAAS,cAAc,CAAC,MAAM,EAAE;AAChC,EAAE,OAAO,MAAM,CAAC,WAAW;AAC3B,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,KAAK;AACjD,MAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AACrC,QAAQ,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;AACnF,OAAO;AACP,MAAM,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;AAC1B,KAAK,CAAC;AACN,GAAG,CAAC;AACJ,CAAC;AACD,SAAS,iBAAiB,CAAC,QAAQ,EAAE,gBAAgB,EAAE;AACvD,EAAE,MAAM,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,KAAK;AAC7C,IAAI,OAAO,GAAG,GAAG,OAAO,CA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