From 6635f37ed291e44a7b09b49d4c5a827647ecf09b Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Wed, 20 Nov 2024 21:08:27 +0200 Subject: [PATCH] --- .github/workflows/GitHub.yml | 6 +++--- .github/workflows/NPM.yml | 4 ++-- .github/workflows/Node.yml | 4 ++-- ...> Base.astro_astro_type_script_index_0_lang.CaK3-TXG.js} | 4 ++-- ...ase.astro_astro_type_script_index_0_lang.CaK3-TXG.js.map | 1 + ...ase.astro_astro_type_script_index_0_lang.DGLoSwJy.js.map | 1 - ...ter.astro_astro_type_script_index_0_lang.DljZZ3lz.js.map | 2 +- Target/_astro/{index.CJILJuzS.css => index.BrW12aUV.css} | 2 +- .../_astro/{index.esm.CKdHjiUb.js => index.esm.BE6rRU-J.js} | 2 +- Target/_astro/index.esm.BE6rRU-J.js.map | 1 + Target/_astro/index.esm.CKdHjiUb.js.map | 1 - Target/chunks/astro/server_DRidcmXl.mjs.map | 1 + Target/chunks/astro/server_Du8QYgn4.mjs.map | 1 - Target/chunks/astro_CC796JBB.mjs.map | 1 - Target/chunks/astro_a8hY06OA.mjs.map | 1 + Target/index.html | 2 +- Target/manifest_Bx3jujsz.mjs.map | 1 + Target/manifest_CKJi_DMi.mjs.map | 1 - Target/pages/index.astro.mjs.map | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) rename Target/_astro/{Base.astro_astro_type_script_index_0_lang.DGLoSwJy.js => Base.astro_astro_type_script_index_0_lang.CaK3-TXG.js} (91%) create mode 100644 Target/_astro/Base.astro_astro_type_script_index_0_lang.CaK3-TXG.js.map delete mode 100644 Target/_astro/Base.astro_astro_type_script_index_0_lang.DGLoSwJy.js.map rename Target/_astro/{index.CJILJuzS.css => index.BrW12aUV.css} (91%) rename Target/_astro/{index.esm.CKdHjiUb.js => index.esm.BE6rRU-J.js} (99%) create mode 100644 Target/_astro/index.esm.BE6rRU-J.js.map delete mode 100644 Target/_astro/index.esm.CKdHjiUb.js.map create mode 100644 Target/chunks/astro/server_DRidcmXl.mjs.map delete mode 100644 Target/chunks/astro/server_Du8QYgn4.mjs.map delete mode 100644 Target/chunks/astro_CC796JBB.mjs.map create mode 100644 Target/chunks/astro_a8hY06OA.mjs.map create mode 100644 Target/manifest_Bx3jujsz.mjs.map delete mode 100644 Target/manifest_CKJi_DMi.mjs.map diff --git a/.github/workflows/GitHub.yml b/.github/workflows/GitHub.yml index 5e6c7144..0234884c 100644 --- a/.github/workflows/GitHub.yml +++ b/.github/workflows/GitHub.yml @@ -25,13 +25,13 @@ jobs: AZURE_CORE_COLLECT_TELEMETRY: 0 CHOOSENIM_NO_ANALYTICS: 1 DIEZ_DO_NOT_TRACK: 1 + DO_NOT_TRACK: 1 DOTNET_CLI_TELEMETRY_OPTOUT: 1 DOTNET_INTERACTIVE_CLI_TELEMETRY_OPTOUT: 1 - DO_NOT_TRACK: 1 ET_NO_TELEMETRY: 1 GATSBY_TELEMETRY_DISABLED: 1 - GATSBY_TELEMETRY_OPTOUT: 1 GATSBY_TELEMETRY_OPT_OUT: 1 + GATSBY_TELEMETRY_OPTOUT: 1 GRIT_TELEMETRY_DISABLED: 1 HASURA_GRAPHQL_ENABLE_TELEMETRY: false HINT_TELEMETRY: off @@ -52,7 +52,7 @@ jobs: VCPKG_DISABLE_METRICS: 1 steps: - - uses: pozil/auto-assign-issue@v2.0.1 + - uses: pozil/auto-assign-issue@v2.0.0 with: repo-token: ${{ secrets.GITHUB_TOKEN }} assignees: NikolaRHristov diff --git a/.github/workflows/NPM.yml b/.github/workflows/NPM.yml index 490dcaa4..45e4ee56 100644 --- a/.github/workflows/NPM.yml +++ b/.github/workflows/NPM.yml @@ -26,13 +26,13 @@ jobs: AZURE_CORE_COLLECT_TELEMETRY: 0 CHOOSENIM_NO_ANALYTICS: 1 DIEZ_DO_NOT_TRACK: 1 + DO_NOT_TRACK: 1 DOTNET_CLI_TELEMETRY_OPTOUT: 1 DOTNET_INTERACTIVE_CLI_TELEMETRY_OPTOUT: 1 - DO_NOT_TRACK: 1 ET_NO_TELEMETRY: 1 GATSBY_TELEMETRY_DISABLED: 1 - GATSBY_TELEMETRY_OPTOUT: 1 GATSBY_TELEMETRY_OPT_OUT: 1 + GATSBY_TELEMETRY_OPTOUT: 1 GRIT_TELEMETRY_DISABLED: 1 HASURA_GRAPHQL_ENABLE_TELEMETRY: false HINT_TELEMETRY: off diff --git a/.github/workflows/Node.yml b/.github/workflows/Node.yml index 055fa35b..2f393e71 100644 --- a/.github/workflows/Node.yml +++ b/.github/workflows/Node.yml @@ -28,13 +28,13 @@ jobs: AZURE_CORE_COLLECT_TELEMETRY: 0 CHOOSENIM_NO_ANALYTICS: 1 DIEZ_DO_NOT_TRACK: 1 + DO_NOT_TRACK: 1 DOTNET_CLI_TELEMETRY_OPTOUT: 1 DOTNET_INTERACTIVE_CLI_TELEMETRY_OPTOUT: 1 - DO_NOT_TRACK: 1 ET_NO_TELEMETRY: 1 GATSBY_TELEMETRY_DISABLED: 1 - GATSBY_TELEMETRY_OPTOUT: 1 GATSBY_TELEMETRY_OPT_OUT: 1 + GATSBY_TELEMETRY_OPTOUT: 1 GRIT_TELEMETRY_DISABLED: 1 HASURA_GRAPHQL_ENABLE_TELEMETRY: false HINT_TELEMETRY: off diff --git a/Target/_astro/Base.astro_astro_type_script_index_0_lang.DGLoSwJy.js b/Target/_astro/Base.astro_astro_type_script_index_0_lang.CaK3-TXG.js similarity index 91% rename from Target/_astro/Base.astro_astro_type_script_index_0_lang.DGLoSwJy.js rename to Target/_astro/Base.astro_astro_type_script_index_0_lang.CaK3-TXG.js index 0f09edfb..240ee4ca 100644 --- a/Target/_astro/Base.astro_astro_type_script_index_0_lang.DGLoSwJy.js +++ b/Target/_astro/Base.astro_astro_type_script_index_0_lang.CaK3-TXG.js @@ -51,7 +51,7 @@ const f = "modulepreload", }; ( await E(async () => { - const { initializeApp: o } = await import("./index.esm.CKdHjiUb.js"); + const { initializeApp: o } = await import("./index.esm.BE6rRU-J.js"); return { initializeApp: o }; }, []) ).initializeApp({ @@ -64,4 +64,4 @@ const f = "modulepreload", projectId: "", storageBucket: "", }); -//# sourceMappingURL=Base.astro_astro_type_script_index_0_lang.DGLoSwJy.js.map +//# sourceMappingURL=Base.astro_astro_type_script_index_0_lang.CaK3-TXG.js.map diff --git a/Target/_astro/Base.astro_astro_type_script_index_0_lang.CaK3-TXG.js.map b/Target/_astro/Base.astro_astro_type_script_index_0_lang.CaK3-TXG.js.map new file mode 100644 index 00000000..ca4b19de --- /dev/null +++ b/Target/_astro/Base.astro_astro_type_script_index_0_lang.CaK3-TXG.js.map @@ -0,0 +1 @@ +{"version":3,"mappings":"08BAAgB,8CAAM,QAAO,yBAAc,gCAAG,cAAc,CAC3D,OAAQ,GACR,MAAO,GACP,WAAY,GACZ,YAAa,GACb,cAAe,GACf,kBAAmB,GACnB,UAAW,GACX,cAAe,EAChB,CAAC","names":[],"ignoreList":[],"sources":["../../Source/Script/Firebase.ts"],"sourcesContent":["export default (await import(\"firebase/app\")).initializeApp({\n\tapiKey: \"\", // TODO Replace with your API key\n\tappId: \"\", // TODO Replace with your app ID\n\tauthDomain: \"\", // TODO Replace with your auth domain\n\tdatabaseURL: \"\", // TODO Replace with your database URL\n\tmeasurementId: \"\", // TODO Replace with your measurement ID\n\tmessagingSenderId: \"\", // TODO Replace with your messaging sender ID\n\tprojectId: \"\", // TODO Replace with your project ID\n\tstorageBucket: \"\", // TODO Replace with your storage bucket\n});\n"],"file":"_astro/Base.astro_astro_type_script_index_0_lang.CaK3-TXG.js"} \ No newline at end of file diff --git a/Target/_astro/Base.astro_astro_type_script_index_0_lang.DGLoSwJy.js.map b/Target/_astro/Base.astro_astro_type_script_index_0_lang.DGLoSwJy.js.map deleted file mode 100644 index 5c0d1c29..00000000 --- a/Target/_astro/Base.astro_astro_type_script_index_0_lang.DGLoSwJy.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"mappings":"08BAAgB,MAAMA,EAAA,8BAAAC,CAAA,eAAO,yBAAc,uBAAAA,CAAA,QAAG,cAAc,CAC3D,OAAQ,GACR,MAAO,GACP,WAAY,GACZ,YAAa,GACb,cAAe,GACf,kBAAmB,GACnB,UAAW,GACX,cAAe,EAChB,CAAC","names":["__vitePreload","initializeApp"],"ignoreList":[],"sources":["../../Source/Script/Firebase.ts"],"sourcesContent":["export default (await import(\"firebase/app\")).initializeApp({\n\tapiKey: \"\", // TODO Replace with your API key\n\tappId: \"\", // TODO Replace with your app ID\n\tauthDomain: \"\", // TODO Replace with your auth domain\n\tdatabaseURL: \"\", // TODO Replace with your database URL\n\tmeasurementId: \"\", // TODO Replace with your measurement ID\n\tmessagingSenderId: \"\", // TODO Replace with your messaging sender ID\n\tprojectId: \"\", // TODO Replace with your project ID\n\tstorageBucket: \"\", // TODO Replace with your storage bucket\n});\n"],"file":"_astro/Base.astro_astro_type_script_index_0_lang.DGLoSwJy.js"} \ No newline at end of file diff --git a/Target/_astro/ClientRouter.astro_astro_type_script_index_0_lang.DljZZ3lz.js.map b/Target/_astro/ClientRouter.astro_astro_type_script_index_0_lang.DljZZ3lz.js.map index 2f28fa6f..80de5b92 100644 --- a/Target/_astro/ClientRouter.astro_astro_type_script_index_0_lang.DljZZ3lz.js.map +++ b/Target/_astro/ClientRouter.astro_astro_type_script_index_0_lang.DljZZ3lz.js.map @@ -1 +1 @@ -{"version":3,"file":"ClientRouter.astro_astro_type_script_index_0_lang.DljZZ3lz.js","sources":["../../../../../../node_modules/astro/dist/transitions/swap-functions.js","../../../../../../node_modules/astro/dist/transitions/events.js","../../../../../../node_modules/astro/dist/transitions/router.js"],"sourcesContent":["const PERSIST_ATTR = \"data-astro-transition-persist\";\nfunction deselectScripts(doc) {\n for (const s1 of document.scripts) {\n for (const s2 of doc.scripts) {\n if (\n // Check if the script should be rerun regardless of it being the same\n !s2.hasAttribute(\"data-astro-rerun\") && // Inline\n (!s1.src && s1.textContent === s2.textContent || // External\n s1.src && s1.type === s2.type && s1.src === s2.src)\n ) {\n s2.dataset.astroExec = \"\";\n break;\n }\n }\n }\n}\nfunction swapRootAttributes(doc) {\n const html = document.documentElement;\n const astroAttributes = [...html.attributes].filter(\n ({ name }) => (html.removeAttribute(name), name.startsWith(\"data-astro-\"))\n );\n [...doc.documentElement.attributes, ...astroAttributes].forEach(\n ({ name, value }) => html.setAttribute(name, value)\n );\n}\nfunction swapHeadElements(doc) {\n for (const el of Array.from(document.head.children)) {\n const newEl = persistedHeadElement(el, doc);\n if (newEl) {\n newEl.remove();\n } else {\n el.remove();\n }\n }\n document.head.append(...doc.head.children);\n}\nfunction swapBodyElement(newElement, oldElement) {\n oldElement.replaceWith(newElement);\n for (const el of oldElement.querySelectorAll(`[${PERSIST_ATTR}]`)) {\n const id = el.getAttribute(PERSIST_ATTR);\n const newEl = newElement.querySelector(`[${PERSIST_ATTR}=\"${id}\"]`);\n if (newEl) {\n newEl.replaceWith(el);\n if (newEl.localName === \"astro-island\" && shouldCopyProps(el) && !isSameProps(el, newEl)) {\n el.setAttribute(\"ssr\", \"\");\n el.setAttribute(\"props\", newEl.getAttribute(\"props\"));\n }\n }\n }\n}\nconst saveFocus = () => {\n const activeElement = document.activeElement;\n if (activeElement?.closest(`[${PERSIST_ATTR}]`)) {\n if (activeElement instanceof HTMLInputElement || activeElement instanceof HTMLTextAreaElement) {\n const start = activeElement.selectionStart;\n const end = activeElement.selectionEnd;\n return () => restoreFocus({ activeElement, start, end });\n }\n return () => restoreFocus({ activeElement });\n } else {\n return () => restoreFocus({ activeElement: null });\n }\n};\nconst restoreFocus = ({ activeElement, start, end }) => {\n if (activeElement) {\n activeElement.focus();\n if (activeElement instanceof HTMLInputElement || activeElement instanceof HTMLTextAreaElement) {\n if (typeof start === \"number\") activeElement.selectionStart = start;\n if (typeof end === \"number\") activeElement.selectionEnd = end;\n }\n }\n};\nconst persistedHeadElement = (el, newDoc) => {\n const id = el.getAttribute(PERSIST_ATTR);\n const newEl = id && newDoc.head.querySelector(`[${PERSIST_ATTR}=\"${id}\"]`);\n if (newEl) {\n return newEl;\n }\n if (el.matches(\"link[rel=stylesheet]\")) {\n const href = el.getAttribute(\"href\");\n return newDoc.head.querySelector(`link[rel=stylesheet][href=\"${href}\"]`);\n }\n return null;\n};\nconst shouldCopyProps = (el) => {\n const persistProps = el.dataset.astroTransitionPersistProps;\n return persistProps == null || persistProps === \"false\";\n};\nconst isSameProps = (oldEl, newEl) => {\n return oldEl.getAttribute(\"props\") === newEl.getAttribute(\"props\");\n};\nconst swapFunctions = {\n deselectScripts,\n swapRootAttributes,\n swapHeadElements,\n swapBodyElement,\n saveFocus\n};\nconst swap = (doc) => {\n deselectScripts(doc);\n swapRootAttributes(doc);\n swapHeadElements(doc);\n const restoreFocusFunction = saveFocus();\n swapBodyElement(doc.body, document.body);\n restoreFocusFunction();\n};\nexport {\n deselectScripts,\n restoreFocus,\n saveFocus,\n swap,\n swapBodyElement,\n swapFunctions,\n swapHeadElements,\n swapRootAttributes\n};\n","import { updateScrollPosition } from \"./router.js\";\nimport { swap } from \"./swap-functions.js\";\nconst TRANSITION_BEFORE_PREPARATION = \"astro:before-preparation\";\nconst TRANSITION_AFTER_PREPARATION = \"astro:after-preparation\";\nconst TRANSITION_BEFORE_SWAP = \"astro:before-swap\";\nconst TRANSITION_AFTER_SWAP = \"astro:after-swap\";\nconst TRANSITION_PAGE_LOAD = \"astro:page-load\";\nconst triggerEvent = (name) => document.dispatchEvent(new Event(name));\nconst onPageLoad = () => triggerEvent(TRANSITION_PAGE_LOAD);\nclass BeforeEvent extends Event {\n from;\n to;\n direction;\n navigationType;\n sourceElement;\n info;\n newDocument;\n signal;\n constructor(type, eventInitDict, from, to, direction, navigationType, sourceElement, info, newDocument, signal) {\n super(type, eventInitDict);\n this.from = from;\n this.to = to;\n this.direction = direction;\n this.navigationType = navigationType;\n this.sourceElement = sourceElement;\n this.info = info;\n this.newDocument = newDocument;\n this.signal = signal;\n Object.defineProperties(this, {\n from: { enumerable: true },\n to: { enumerable: true, writable: true },\n direction: { enumerable: true, writable: true },\n navigationType: { enumerable: true },\n sourceElement: { enumerable: true },\n info: { enumerable: true },\n newDocument: { enumerable: true, writable: true },\n signal: { enumerable: true }\n });\n }\n}\nconst isTransitionBeforePreparationEvent = (value) => value.type === TRANSITION_BEFORE_PREPARATION;\nclass TransitionBeforePreparationEvent extends BeforeEvent {\n formData;\n loader;\n constructor(from, to, direction, navigationType, sourceElement, info, newDocument, signal, formData, loader) {\n super(\n TRANSITION_BEFORE_PREPARATION,\n { cancelable: true },\n from,\n to,\n direction,\n navigationType,\n sourceElement,\n info,\n newDocument,\n signal\n );\n this.formData = formData;\n this.loader = loader.bind(this, this);\n Object.defineProperties(this, {\n formData: { enumerable: true },\n loader: { enumerable: true, writable: true }\n });\n }\n}\nconst isTransitionBeforeSwapEvent = (value) => value.type === TRANSITION_BEFORE_SWAP;\nclass TransitionBeforeSwapEvent extends BeforeEvent {\n direction;\n viewTransition;\n swap;\n constructor(afterPreparation, viewTransition) {\n super(\n TRANSITION_BEFORE_SWAP,\n void 0,\n afterPreparation.from,\n afterPreparation.to,\n afterPreparation.direction,\n afterPreparation.navigationType,\n afterPreparation.sourceElement,\n afterPreparation.info,\n afterPreparation.newDocument,\n afterPreparation.signal\n );\n this.direction = afterPreparation.direction;\n this.viewTransition = viewTransition;\n this.swap = () => swap(this.newDocument);\n Object.defineProperties(this, {\n direction: { enumerable: true },\n viewTransition: { enumerable: true },\n swap: { enumerable: true, writable: true }\n });\n }\n}\nasync function doPreparation(from, to, direction, navigationType, sourceElement, info, signal, formData, defaultLoader) {\n const event = new TransitionBeforePreparationEvent(\n from,\n to,\n direction,\n navigationType,\n sourceElement,\n info,\n window.document,\n signal,\n formData,\n defaultLoader\n );\n if (document.dispatchEvent(event)) {\n await event.loader();\n if (!event.defaultPrevented) {\n triggerEvent(TRANSITION_AFTER_PREPARATION);\n if (event.navigationType !== \"traverse\") {\n updateScrollPosition({ scrollX, scrollY });\n }\n }\n }\n return event;\n}\nfunction doSwap(afterPreparation, viewTransition) {\n const event = new TransitionBeforeSwapEvent(afterPreparation, viewTransition);\n document.dispatchEvent(event);\n event.swap();\n return event;\n}\nexport {\n TRANSITION_AFTER_PREPARATION,\n TRANSITION_AFTER_SWAP,\n TRANSITION_BEFORE_PREPARATION,\n TRANSITION_BEFORE_SWAP,\n TRANSITION_PAGE_LOAD,\n TransitionBeforePreparationEvent,\n TransitionBeforeSwapEvent,\n doPreparation,\n doSwap,\n isTransitionBeforePreparationEvent,\n isTransitionBeforeSwapEvent,\n onPageLoad,\n triggerEvent\n};\n","import { TRANSITION_AFTER_SWAP, doPreparation, doSwap } from \"./events.js\";\nconst inBrowser = import.meta.env.SSR === false;\nconst pushState = inBrowser && history.pushState.bind(history);\nconst replaceState = inBrowser && history.replaceState.bind(history);\nconst updateScrollPosition = (positions) => {\n if (history.state) {\n history.scrollRestoration = \"manual\";\n replaceState({ ...history.state, ...positions }, \"\");\n }\n};\nconst supportsViewTransitions = inBrowser && !!document.startViewTransition;\nconst transitionEnabledOnThisPage = () => inBrowser && !!document.querySelector('[name=\"astro-view-transitions-enabled\"]');\nconst samePage = (thisLocation, otherLocation) => thisLocation.pathname === otherLocation.pathname && thisLocation.search === otherLocation.search;\nlet mostRecentNavigation;\nlet mostRecentTransition;\nlet originalLocation;\nconst triggerEvent = (name) => document.dispatchEvent(new Event(name));\nconst onPageLoad = () => triggerEvent(\"astro:page-load\");\nconst announce = () => {\n let div = document.createElement(\"div\");\n div.setAttribute(\"aria-live\", \"assertive\");\n div.setAttribute(\"aria-atomic\", \"true\");\n div.className = \"astro-route-announcer\";\n document.body.append(div);\n setTimeout(\n () => {\n let title = document.title || document.querySelector(\"h1\")?.textContent || location.pathname;\n div.textContent = title;\n },\n // Much thought went into this magic number; the gist is that screen readers\n // need to see that the element changed and might not do so if it happens\n // too quickly.\n 60\n );\n};\nconst PERSIST_ATTR = \"data-astro-transition-persist\";\nconst DIRECTION_ATTR = \"data-astro-transition\";\nconst OLD_NEW_ATTR = \"data-astro-transition-fallback\";\nconst VITE_ID = \"data-vite-dev-id\";\nlet parser;\nlet currentHistoryIndex = 0;\nif (inBrowser) {\n if (history.state) {\n currentHistoryIndex = history.state.index;\n scrollTo({ left: history.state.scrollX, top: history.state.scrollY });\n } else if (transitionEnabledOnThisPage()) {\n replaceState({ index: currentHistoryIndex, scrollX, scrollY }, \"\");\n history.scrollRestoration = \"manual\";\n }\n}\nasync function fetchHTML(href, init) {\n try {\n const res = await fetch(href, init);\n const contentType = res.headers.get(\"content-type\") ?? \"\";\n const mediaType = contentType.split(\";\", 1)[0].trim();\n if (mediaType !== \"text/html\" && mediaType !== \"application/xhtml+xml\") {\n return null;\n }\n const html = await res.text();\n return {\n html,\n redirected: res.redirected ? res.url : void 0,\n mediaType\n };\n } catch {\n return null;\n }\n}\nfunction getFallback() {\n const el = document.querySelector('[name=\"astro-view-transitions-fallback\"]');\n if (el) {\n return el.getAttribute(\"content\");\n }\n return \"animate\";\n}\nfunction runScripts() {\n let wait = Promise.resolve();\n for (const script of document.getElementsByTagName(\"script\")) {\n if (script.dataset.astroExec === \"\") continue;\n const type = script.getAttribute(\"type\");\n if (type && type !== \"module\" && type !== \"text/javascript\") continue;\n const newScript = document.createElement(\"script\");\n newScript.innerHTML = script.innerHTML;\n for (const attr of script.attributes) {\n if (attr.name === \"src\") {\n const p = new Promise((r) => {\n newScript.onload = newScript.onerror = r;\n });\n wait = wait.then(() => p);\n }\n newScript.setAttribute(attr.name, attr.value);\n }\n newScript.dataset.astroExec = \"\";\n script.replaceWith(newScript);\n }\n return wait;\n}\nconst moveToLocation = (to, from, options, pageTitleForBrowserHistory, historyState) => {\n const intraPage = samePage(from, to);\n const targetPageTitle = document.title;\n document.title = pageTitleForBrowserHistory;\n let scrolledToTop = false;\n if (to.href !== location.href && !historyState) {\n if (options.history === \"replace\") {\n const current = history.state;\n replaceState(\n {\n ...options.state,\n index: current.index,\n scrollX: current.scrollX,\n scrollY: current.scrollY\n },\n \"\",\n to.href\n );\n } else {\n pushState(\n { ...options.state, index: ++currentHistoryIndex, scrollX: 0, scrollY: 0 },\n \"\",\n to.href\n );\n }\n }\n document.title = targetPageTitle;\n originalLocation = to;\n if (!intraPage) {\n scrollTo({ left: 0, top: 0, behavior: \"instant\" });\n scrolledToTop = true;\n }\n if (historyState) {\n scrollTo(historyState.scrollX, historyState.scrollY);\n } else {\n if (to.hash) {\n history.scrollRestoration = \"auto\";\n const savedState = history.state;\n location.href = to.href;\n if (!history.state) {\n replaceState(savedState, \"\");\n if (intraPage) {\n window.dispatchEvent(new PopStateEvent(\"popstate\"));\n }\n }\n } else {\n if (!scrolledToTop) {\n scrollTo({ left: 0, top: 0, behavior: \"instant\" });\n }\n }\n history.scrollRestoration = \"manual\";\n }\n};\nfunction preloadStyleLinks(newDocument) {\n const links = [];\n for (const el of newDocument.querySelectorAll(\"head link[rel=stylesheet]\")) {\n if (!document.querySelector(\n `[${PERSIST_ATTR}=\"${el.getAttribute(\n PERSIST_ATTR\n )}\"], link[rel=stylesheet][href=\"${el.getAttribute(\"href\")}\"]`\n )) {\n const c = document.createElement(\"link\");\n c.setAttribute(\"rel\", \"preload\");\n c.setAttribute(\"as\", \"style\");\n c.setAttribute(\"href\", el.getAttribute(\"href\"));\n links.push(\n new Promise((resolve) => {\n [\"load\", \"error\"].forEach((evName) => c.addEventListener(evName, resolve));\n document.head.append(c);\n })\n );\n }\n }\n return links;\n}\nasync function updateDOM(preparationEvent, options, currentTransition, historyState, fallback) {\n async function animate(phase) {\n function isInfinite(animation) {\n const effect = animation.effect;\n if (!effect || !(effect instanceof KeyframeEffect) || !effect.target) return false;\n const style = window.getComputedStyle(effect.target, effect.pseudoElement);\n return style.animationIterationCount === \"infinite\";\n }\n const currentAnimations = document.getAnimations();\n document.documentElement.setAttribute(OLD_NEW_ATTR, phase);\n const nextAnimations = document.getAnimations();\n const newAnimations = nextAnimations.filter(\n (a) => !currentAnimations.includes(a) && !isInfinite(a)\n );\n return Promise.allSettled(newAnimations.map((a) => a.finished));\n }\n if (fallback === \"animate\" && !currentTransition.transitionSkipped && !preparationEvent.signal.aborted) {\n try {\n await animate(\"old\");\n } catch {\n }\n }\n const pageTitleForBrowserHistory = document.title;\n const swapEvent = doSwap(preparationEvent, currentTransition.viewTransition);\n moveToLocation(swapEvent.to, swapEvent.from, options, pageTitleForBrowserHistory, historyState);\n triggerEvent(TRANSITION_AFTER_SWAP);\n if (fallback === \"animate\") {\n if (!currentTransition.transitionSkipped && !swapEvent.signal.aborted) {\n animate(\"new\").finally(() => currentTransition.viewTransitionFinished());\n } else {\n currentTransition.viewTransitionFinished();\n }\n }\n}\nfunction abortAndRecreateMostRecentNavigation() {\n mostRecentNavigation?.controller.abort();\n return mostRecentNavigation = {\n controller: new AbortController()\n };\n}\nasync function transition(direction, from, to, options, historyState) {\n const currentNavigation = abortAndRecreateMostRecentNavigation();\n if (!transitionEnabledOnThisPage() || location.origin !== to.origin) {\n if (currentNavigation === mostRecentNavigation) mostRecentNavigation = void 0;\n location.href = to.href;\n return;\n }\n const navigationType = historyState ? \"traverse\" : options.history === \"replace\" ? \"replace\" : \"push\";\n if (navigationType !== \"traverse\") {\n updateScrollPosition({ scrollX, scrollY });\n }\n if (samePage(from, to)) {\n if (direction !== \"back\" && to.hash || direction === \"back\" && from.hash) {\n moveToLocation(to, from, options, document.title, historyState);\n if (currentNavigation === mostRecentNavigation) mostRecentNavigation = void 0;\n return;\n }\n }\n const prepEvent = await doPreparation(\n from,\n to,\n direction,\n navigationType,\n options.sourceElement,\n options.info,\n currentNavigation.controller.signal,\n options.formData,\n defaultLoader\n );\n if (prepEvent.defaultPrevented || prepEvent.signal.aborted) {\n if (currentNavigation === mostRecentNavigation) mostRecentNavigation = void 0;\n if (!prepEvent.signal.aborted) {\n location.href = to.href;\n }\n return;\n }\n async function defaultLoader(preparationEvent) {\n const href = preparationEvent.to.href;\n const init = { signal: preparationEvent.signal };\n if (preparationEvent.formData) {\n init.method = \"POST\";\n const form = preparationEvent.sourceElement instanceof HTMLFormElement ? preparationEvent.sourceElement : preparationEvent.sourceElement instanceof HTMLElement && \"form\" in preparationEvent.sourceElement ? preparationEvent.sourceElement.form : preparationEvent.sourceElement?.closest(\"form\");\n init.body = form?.attributes.getNamedItem(\"enctype\")?.value === \"application/x-www-form-urlencoded\" ? new URLSearchParams(preparationEvent.formData) : preparationEvent.formData;\n }\n const response = await fetchHTML(href, init);\n if (response === null) {\n preparationEvent.preventDefault();\n return;\n }\n if (response.redirected) {\n const redirectedTo = new URL(response.redirected);\n if (redirectedTo.origin !== preparationEvent.to.origin) {\n preparationEvent.preventDefault();\n return;\n }\n preparationEvent.to = redirectedTo;\n }\n parser ??= new DOMParser();\n preparationEvent.newDocument = parser.parseFromString(response.html, response.mediaType);\n preparationEvent.newDocument.querySelectorAll(\"noscript\").forEach((el) => el.remove());\n if (!preparationEvent.newDocument.querySelector('[name=\"astro-view-transitions-enabled\"]') && !preparationEvent.formData) {\n preparationEvent.preventDefault();\n return;\n }\n const links = preloadStyleLinks(preparationEvent.newDocument);\n links.length && !preparationEvent.signal.aborted && await Promise.all(links);\n if (import.meta.env.DEV && !preparationEvent.signal.aborted)\n await prepareForClientOnlyComponents(\n preparationEvent.newDocument,\n preparationEvent.to,\n preparationEvent.signal\n );\n }\n async function abortAndRecreateMostRecentTransition() {\n if (mostRecentTransition) {\n if (mostRecentTransition.viewTransition) {\n try {\n mostRecentTransition.viewTransition.skipTransition();\n } catch {\n }\n try {\n await mostRecentTransition.viewTransition.updateCallbackDone;\n } catch {\n }\n }\n }\n return mostRecentTransition = { transitionSkipped: false };\n }\n const currentTransition = await abortAndRecreateMostRecentTransition();\n if (prepEvent.signal.aborted) {\n if (currentNavigation === mostRecentNavigation) mostRecentNavigation = void 0;\n return;\n }\n document.documentElement.setAttribute(DIRECTION_ATTR, prepEvent.direction);\n if (supportsViewTransitions) {\n currentTransition.viewTransition = document.startViewTransition(\n async () => await updateDOM(prepEvent, options, currentTransition, historyState)\n );\n } else {\n const updateDone = (async () => {\n await Promise.resolve();\n await updateDOM(prepEvent, options, currentTransition, historyState, getFallback());\n return void 0;\n })();\n currentTransition.viewTransition = {\n updateCallbackDone: updateDone,\n // this is about correct\n ready: updateDone,\n // good enough\n // Finished promise could have been done better: finished rejects iff updateDone does.\n // Our simulation always resolves, never rejects.\n finished: new Promise((r) => currentTransition.viewTransitionFinished = r),\n // see end of updateDOM\n skipTransition: () => {\n currentTransition.transitionSkipped = true;\n document.documentElement.removeAttribute(OLD_NEW_ATTR);\n }\n };\n }\n currentTransition.viewTransition?.updateCallbackDone.finally(async () => {\n await runScripts();\n onPageLoad();\n announce();\n });\n currentTransition.viewTransition?.finished.finally(() => {\n currentTransition.viewTransition = void 0;\n if (currentTransition === mostRecentTransition) mostRecentTransition = void 0;\n if (currentNavigation === mostRecentNavigation) mostRecentNavigation = void 0;\n document.documentElement.removeAttribute(DIRECTION_ATTR);\n document.documentElement.removeAttribute(OLD_NEW_ATTR);\n });\n try {\n await currentTransition.viewTransition?.updateCallbackDone;\n } catch (e) {\n const err = e;\n console.log(\"[astro]\", err.name, err.message, err.stack);\n }\n}\nlet navigateOnServerWarned = false;\nasync function navigate(href, options) {\n if (inBrowser === false) {\n if (!navigateOnServerWarned) {\n const warning = new Error(\n \"The view transitions client API was called during a server side render. This may be unintentional as the navigate() function is expected to be called in response to user interactions. Please make sure that your usage is correct.\"\n );\n warning.name = \"Warning\";\n console.warn(warning);\n navigateOnServerWarned = true;\n }\n return;\n }\n await transition(\"forward\", originalLocation, new URL(href, location.href), options ?? {});\n}\nfunction onPopState(ev) {\n if (!transitionEnabledOnThisPage() && ev.state) {\n location.reload();\n return;\n }\n if (ev.state === null) {\n return;\n }\n const state = history.state;\n const nextIndex = state.index;\n const direction = nextIndex > currentHistoryIndex ? \"forward\" : \"back\";\n currentHistoryIndex = nextIndex;\n transition(direction, originalLocation, new URL(location.href), {}, state);\n}\nconst onScrollEnd = () => {\n if (history.state && (scrollX !== history.state.scrollX || scrollY !== history.state.scrollY)) {\n updateScrollPosition({ scrollX, scrollY });\n }\n};\nif (inBrowser) {\n if (supportsViewTransitions || getFallback() !== \"none\") {\n originalLocation = new URL(location.href);\n addEventListener(\"popstate\", onPopState);\n addEventListener(\"load\", onPageLoad);\n if (\"onscrollend\" in window) addEventListener(\"scrollend\", onScrollEnd);\n else {\n let intervalId, lastY, lastX, lastIndex;\n const scrollInterval = () => {\n if (lastIndex !== history.state?.index) {\n clearInterval(intervalId);\n intervalId = void 0;\n return;\n }\n if (lastY === scrollY && lastX === scrollX) {\n clearInterval(intervalId);\n intervalId = void 0;\n onScrollEnd();\n return;\n } else {\n lastY = scrollY, lastX = scrollX;\n }\n };\n addEventListener(\n \"scroll\",\n () => {\n if (intervalId !== void 0) return;\n lastIndex = history.state.index, lastY = scrollY, lastX = scrollX;\n intervalId = window.setInterval(scrollInterval, 50);\n },\n { passive: true }\n );\n }\n }\n for (const script of document.getElementsByTagName(\"script\")) {\n script.dataset.astroExec = \"\";\n }\n}\nasync function prepareForClientOnlyComponents(newDocument, toLocation, signal) {\n if (newDocument.body.querySelector(`astro-island[client='only']`)) {\n const nextPage = document.createElement(\"iframe\");\n nextPage.src = toLocation.href;\n nextPage.style.display = \"none\";\n document.body.append(nextPage);\n nextPage.contentWindow.console = Object.keys(console).reduce((acc, key) => {\n acc[key] = () => {\n };\n return acc;\n }, {});\n await hydrationDone(nextPage);\n const nextHead = nextPage.contentDocument?.head;\n if (nextHead) {\n const viteIds = [...nextHead.querySelectorAll(`style[${VITE_ID}]`)].map(\n (style) => style.getAttribute(VITE_ID)\n );\n viteIds.forEach((id) => {\n const style = nextHead.querySelector(`style[${VITE_ID}=\"${id}\"]`);\n if (style && !newDocument.head.querySelector(`style[${VITE_ID}=\"${id}\"]`)) {\n newDocument.head.appendChild(style.cloneNode(true));\n }\n });\n }\n async function hydrationDone(loadingPage) {\n if (!signal.aborted) {\n await new Promise(\n (r) => loadingPage.contentWindow?.addEventListener(\"load\", r, { once: true })\n );\n }\n return new Promise(async (r) => {\n for (let count = 0; count <= 20; ++count) {\n if (signal.aborted) break;\n if (!loadingPage.contentDocument.body.querySelector(\"astro-island[ssr]\")) break;\n await new Promise((r2) => setTimeout(r2, 50));\n }\n r();\n });\n }\n }\n}\nexport {\n getFallback,\n navigate,\n supportsViewTransitions,\n transitionEnabledOnThisPage,\n updateScrollPosition\n};\n"],"names":["PERSIST_ATTR","deselectScripts","doc","s1","s2","swapRootAttributes","html","astroAttributes","name","value","swapHeadElements","el","newEl","persistedHeadElement","swapBodyElement","newElement","oldElement","id","shouldCopyProps","isSameProps","saveFocus","activeElement","start","end","restoreFocus","newDoc","href","persistProps","oldEl","swap","restoreFocusFunction","TRANSITION_BEFORE_PREPARATION","TRANSITION_AFTER_PREPARATION","TRANSITION_BEFORE_SWAP","TRANSITION_AFTER_SWAP","triggerEvent","BeforeEvent","type","eventInitDict","from","to","direction","navigationType","sourceElement","info","newDocument","signal","TransitionBeforePreparationEvent","formData","loader","TransitionBeforeSwapEvent","afterPreparation","viewTransition","doPreparation","defaultLoader","event","updateScrollPosition","doSwap","pushState","replaceState","positions","supportsViewTransitions","transitionEnabledOnThisPage","samePage","thisLocation","otherLocation","mostRecentNavigation","mostRecentTransition","originalLocation","onPageLoad","announce","div","title","DIRECTION_ATTR","OLD_NEW_ATTR","parser","currentHistoryIndex","fetchHTML","init","res","mediaType","getFallback","runScripts","wait","script","newScript","attr","p","r","moveToLocation","options","pageTitleForBrowserHistory","historyState","intraPage","targetPageTitle","scrolledToTop","current","savedState","preloadStyleLinks","links","c","resolve","evName","updateDOM","preparationEvent","currentTransition","fallback","animate","phase","isInfinite","animation","effect","currentAnimations","newAnimations","a","swapEvent","abortAndRecreateMostRecentNavigation","transition","currentNavigation","prepEvent","form","response","redirectedTo","abortAndRecreateMostRecentTransition","updateDone","e","err","navigate","onPopState","ev","state","nextIndex","onScrollEnd","intervalId","lastY","lastX","lastIndex","scrollInterval"],"mappings":"AAAA,MAAMA,EAAe,gCACrB,SAASC,EAAgBC,EAAK,CAC5B,UAAWC,KAAM,SAAS,QACxB,UAAWC,KAAMF,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F,IAAe,SACnBG,EAAY,QAAQ,MAAM,MAAOF,EAAQ,QAASC,EAAQ,QAC7CF,EAAA,OAAO,YAAYI,EAAgB,EAAE,EACpD,EACA,CAAE,QAAS,EAAK,CAAA,CAEpB,CAEF,UAAWrD,KAAU,SAAS,qBAAqB,QAAQ,EACzDA,EAAO,QAAQ,UAAY,EAE/B","x_google_ignoreList":[0,1,2]} \ No newline at end of file +{"version":3,"file":"ClientRouter.astro_astro_type_script_index_0_lang.DljZZ3lz.js","sources":["../../../../../../node_modules/astro/dist/transitions/swap-functions.js","../../../../../../node_modules/astro/dist/transitions/events.js","../../../../../../node_modules/astro/dist/transitions/router.js","../../../../../../node_modules/astro/dist/prefetch/index.js"],"sourcesContent":["const PERSIST_ATTR = \"data-astro-transition-persist\";\nfunction deselectScripts(doc) {\n for (const s1 of document.scripts) {\n for (const s2 of doc.scripts) {\n if (\n // Check if the script should be rerun regardless of it being the same\n !s2.hasAttribute(\"data-astro-rerun\") && // Inline\n (!s1.src && s1.textContent === s2.textContent || // External\n s1.src && s1.type === s2.type && s1.src === s2.src)\n ) {\n s2.dataset.astroExec = \"\";\n break;\n }\n }\n }\n}\nfunction swapRootAttributes(doc) {\n const html = document.documentElement;\n const astroAttributes = [...html.attributes].filter(\n ({ name }) => (html.removeAttribute(name), name.startsWith(\"data-astro-\"))\n );\n [...doc.documentElement.attributes, ...astroAttributes].forEach(\n ({ name, value }) => html.setAttribute(name, value)\n );\n}\nfunction swapHeadElements(doc) {\n for (const el of Array.from(document.head.children)) {\n const newEl = persistedHeadElement(el, doc);\n if (newEl) {\n newEl.remove();\n } else {\n el.remove();\n }\n }\n document.head.append(...doc.head.children);\n}\nfunction swapBodyElement(newElement, oldElement) {\n oldElement.replaceWith(newElement);\n for (const el of oldElement.querySelectorAll(`[${PERSIST_ATTR}]`)) {\n const id = el.getAttribute(PERSIST_ATTR);\n const newEl = newElement.querySelector(`[${PERSIST_ATTR}=\"${id}\"]`);\n if (newEl) {\n newEl.replaceWith(el);\n if (newEl.localName === \"astro-island\" && shouldCopyProps(el) && !isSameProps(el, newEl)) {\n el.setAttribute(\"ssr\", \"\");\n el.setAttribute(\"props\", newEl.getAttribute(\"props\"));\n }\n }\n }\n}\nconst saveFocus = () => {\n const activeElement = document.activeElement;\n if (activeElement?.closest(`[${PERSIST_ATTR}]`)) {\n if (activeElement instanceof HTMLInputElement || activeElement instanceof HTMLTextAreaElement) {\n const start = activeElement.selectionStart;\n const end = activeElement.selectionEnd;\n return () => restoreFocus({ activeElement, start, end });\n }\n return () => restoreFocus({ activeElement });\n } else {\n return () => restoreFocus({ activeElement: null });\n }\n};\nconst restoreFocus = ({ activeElement, start, end }) => {\n if (activeElement) {\n activeElement.focus();\n if (activeElement instanceof HTMLInputElement || activeElement instanceof HTMLTextAreaElement) {\n if (typeof start === \"number\") activeElement.selectionStart = start;\n if (typeof end === \"number\") activeElement.selectionEnd = end;\n }\n }\n};\nconst persistedHeadElement = (el, newDoc) => {\n const id = el.getAttribute(PERSIST_ATTR);\n const newEl = id && newDoc.head.querySelector(`[${PERSIST_ATTR}=\"${id}\"]`);\n if (newEl) {\n return newEl;\n }\n if (el.matches(\"link[rel=stylesheet]\")) {\n const href = el.getAttribute(\"href\");\n return newDoc.head.querySelector(`link[rel=stylesheet][href=\"${href}\"]`);\n }\n return null;\n};\nconst shouldCopyProps = (el) => {\n const persistProps = el.dataset.astroTransitionPersistProps;\n return persistProps == null || persistProps === \"false\";\n};\nconst isSameProps = (oldEl, newEl) => {\n return oldEl.getAttribute(\"props\") === newEl.getAttribute(\"props\");\n};\nconst swapFunctions = {\n deselectScripts,\n swapRootAttributes,\n swapHeadElements,\n swapBodyElement,\n saveFocus\n};\nconst swap = (doc) => {\n deselectScripts(doc);\n swapRootAttributes(doc);\n swapHeadElements(doc);\n const restoreFocusFunction = saveFocus();\n swapBodyElement(doc.body, document.body);\n restoreFocusFunction();\n};\nexport {\n deselectScripts,\n restoreFocus,\n saveFocus,\n swap,\n swapBodyElement,\n swapFunctions,\n swapHeadElements,\n swapRootAttributes\n};\n","import { updateScrollPosition } from \"./router.js\";\nimport { swap } from \"./swap-functions.js\";\nconst TRANSITION_BEFORE_PREPARATION = \"astro:before-preparation\";\nconst TRANSITION_AFTER_PREPARATION = \"astro:after-preparation\";\nconst TRANSITION_BEFORE_SWAP = \"astro:before-swap\";\nconst TRANSITION_AFTER_SWAP = \"astro:after-swap\";\nconst TRANSITION_PAGE_LOAD = \"astro:page-load\";\nconst triggerEvent = (name) => document.dispatchEvent(new Event(name));\nconst onPageLoad = () => triggerEvent(TRANSITION_PAGE_LOAD);\nclass BeforeEvent extends Event {\n from;\n to;\n direction;\n navigationType;\n sourceElement;\n info;\n newDocument;\n signal;\n constructor(type, eventInitDict, from, to, direction, navigationType, sourceElement, info, newDocument, signal) {\n super(type, eventInitDict);\n this.from = from;\n this.to = to;\n this.direction = direction;\n this.navigationType = navigationType;\n this.sourceElement = sourceElement;\n this.info = info;\n this.newDocument = newDocument;\n this.signal = signal;\n Object.defineProperties(this, {\n from: { enumerable: true },\n to: { enumerable: true, writable: true },\n direction: { enumerable: true, writable: true },\n navigationType: { enumerable: true },\n sourceElement: { enumerable: true },\n info: { enumerable: true },\n newDocument: { enumerable: true, writable: true },\n signal: { enumerable: true }\n });\n }\n}\nconst isTransitionBeforePreparationEvent = (value) => value.type === TRANSITION_BEFORE_PREPARATION;\nclass TransitionBeforePreparationEvent extends BeforeEvent {\n formData;\n loader;\n constructor(from, to, direction, navigationType, sourceElement, info, newDocument, signal, formData, loader) {\n super(\n TRANSITION_BEFORE_PREPARATION,\n { cancelable: true },\n from,\n to,\n direction,\n navigationType,\n sourceElement,\n info,\n newDocument,\n signal\n );\n this.formData = formData;\n this.loader = loader.bind(this, this);\n Object.defineProperties(this, {\n formData: { enumerable: true },\n loader: { enumerable: true, writable: true }\n });\n }\n}\nconst isTransitionBeforeSwapEvent = (value) => value.type === TRANSITION_BEFORE_SWAP;\nclass TransitionBeforeSwapEvent extends BeforeEvent {\n direction;\n viewTransition;\n swap;\n constructor(afterPreparation, viewTransition) {\n super(\n TRANSITION_BEFORE_SWAP,\n void 0,\n afterPreparation.from,\n afterPreparation.to,\n afterPreparation.direction,\n afterPreparation.navigationType,\n afterPreparation.sourceElement,\n afterPreparation.info,\n afterPreparation.newDocument,\n afterPreparation.signal\n );\n this.direction = afterPreparation.direction;\n this.viewTransition = viewTransition;\n this.swap = () => swap(this.newDocument);\n Object.defineProperties(this, {\n direction: { enumerable: true },\n viewTransition: { enumerable: true },\n swap: { enumerable: true, writable: true }\n });\n }\n}\nasync function doPreparation(from, to, direction, navigationType, sourceElement, info, signal, formData, defaultLoader) {\n const event = new TransitionBeforePreparationEvent(\n from,\n to,\n direction,\n navigationType,\n sourceElement,\n info,\n window.document,\n signal,\n formData,\n defaultLoader\n );\n if (document.dispatchEvent(event)) {\n await event.loader();\n if (!event.defaultPrevented) {\n triggerEvent(TRANSITION_AFTER_PREPARATION);\n if (event.navigationType !== \"traverse\") {\n updateScrollPosition({ scrollX, scrollY });\n }\n }\n }\n return event;\n}\nfunction doSwap(afterPreparation, viewTransition) {\n const event = new TransitionBeforeSwapEvent(afterPreparation, viewTransition);\n document.dispatchEvent(event);\n event.swap();\n return event;\n}\nexport {\n TRANSITION_AFTER_PREPARATION,\n TRANSITION_AFTER_SWAP,\n TRANSITION_BEFORE_PREPARATION,\n TRANSITION_BEFORE_SWAP,\n TRANSITION_PAGE_LOAD,\n TransitionBeforePreparationEvent,\n TransitionBeforeSwapEvent,\n doPreparation,\n doSwap,\n isTransitionBeforePreparationEvent,\n isTransitionBeforeSwapEvent,\n onPageLoad,\n triggerEvent\n};\n","import { TRANSITION_AFTER_SWAP, doPreparation, doSwap } from \"./events.js\";\nconst inBrowser = import.meta.env.SSR === false;\nconst pushState = inBrowser && history.pushState.bind(history);\nconst replaceState = inBrowser && history.replaceState.bind(history);\nconst updateScrollPosition = (positions) => {\n if (history.state) {\n history.scrollRestoration = \"manual\";\n replaceState({ ...history.state, ...positions }, \"\");\n }\n};\nconst supportsViewTransitions = inBrowser && !!document.startViewTransition;\nconst transitionEnabledOnThisPage = () => inBrowser && !!document.querySelector('[name=\"astro-view-transitions-enabled\"]');\nconst samePage = (thisLocation, otherLocation) => thisLocation.pathname === otherLocation.pathname && thisLocation.search === otherLocation.search;\nlet mostRecentNavigation;\nlet mostRecentTransition;\nlet originalLocation;\nconst triggerEvent = (name) => document.dispatchEvent(new Event(name));\nconst onPageLoad = () => triggerEvent(\"astro:page-load\");\nconst announce = () => {\n let div = document.createElement(\"div\");\n div.setAttribute(\"aria-live\", \"assertive\");\n div.setAttribute(\"aria-atomic\", \"true\");\n div.className = \"astro-route-announcer\";\n document.body.append(div);\n setTimeout(\n () => {\n let title = document.title || document.querySelector(\"h1\")?.textContent || location.pathname;\n div.textContent = title;\n },\n // Much thought went into this magic number; the gist is that screen readers\n // need to see that the element changed and might not do so if it happens\n // too quickly.\n 60\n );\n};\nconst PERSIST_ATTR = \"data-astro-transition-persist\";\nconst DIRECTION_ATTR = \"data-astro-transition\";\nconst OLD_NEW_ATTR = \"data-astro-transition-fallback\";\nconst VITE_ID = \"data-vite-dev-id\";\nlet parser;\nlet currentHistoryIndex = 0;\nif (inBrowser) {\n if (history.state) {\n currentHistoryIndex = history.state.index;\n scrollTo({ left: history.state.scrollX, top: history.state.scrollY });\n } else if (transitionEnabledOnThisPage()) {\n replaceState({ index: currentHistoryIndex, scrollX, scrollY }, \"\");\n history.scrollRestoration = \"manual\";\n }\n}\nasync function fetchHTML(href, init) {\n try {\n const res = await fetch(href, init);\n const contentType = res.headers.get(\"content-type\") ?? \"\";\n const mediaType = contentType.split(\";\", 1)[0].trim();\n if (mediaType !== \"text/html\" && mediaType !== \"application/xhtml+xml\") {\n return null;\n }\n const html = await res.text();\n return {\n html,\n redirected: res.redirected ? res.url : void 0,\n mediaType\n };\n } catch {\n return null;\n }\n}\nfunction getFallback() {\n const el = document.querySelector('[name=\"astro-view-transitions-fallback\"]');\n if (el) {\n return el.getAttribute(\"content\");\n }\n return \"animate\";\n}\nfunction runScripts() {\n let wait = Promise.resolve();\n for (const script of document.getElementsByTagName(\"script\")) {\n if (script.dataset.astroExec === \"\") continue;\n const type = script.getAttribute(\"type\");\n if (type && type !== \"module\" && type !== \"text/javascript\") continue;\n const newScript = document.createElement(\"script\");\n newScript.innerHTML = script.innerHTML;\n for (const attr of script.attributes) {\n if (attr.name === \"src\") {\n const p = new Promise((r) => {\n newScript.onload = newScript.onerror = r;\n });\n wait = wait.then(() => p);\n }\n newScript.setAttribute(attr.name, attr.value);\n }\n newScript.dataset.astroExec = \"\";\n script.replaceWith(newScript);\n }\n return wait;\n}\nconst moveToLocation = (to, from, options, pageTitleForBrowserHistory, historyState) => {\n const intraPage = samePage(from, to);\n const targetPageTitle = document.title;\n document.title = pageTitleForBrowserHistory;\n let scrolledToTop = false;\n if (to.href !== location.href && !historyState) {\n if (options.history === \"replace\") {\n const current = history.state;\n replaceState(\n {\n ...options.state,\n index: current.index,\n scrollX: current.scrollX,\n scrollY: current.scrollY\n },\n \"\",\n to.href\n );\n } else {\n pushState(\n { ...options.state, index: ++currentHistoryIndex, scrollX: 0, scrollY: 0 },\n \"\",\n to.href\n );\n }\n }\n document.title = targetPageTitle;\n originalLocation = to;\n if (!intraPage) {\n scrollTo({ left: 0, top: 0, behavior: \"instant\" });\n scrolledToTop = true;\n }\n if (historyState) {\n scrollTo(historyState.scrollX, historyState.scrollY);\n } else {\n if (to.hash) {\n history.scrollRestoration = \"auto\";\n const savedState = history.state;\n location.href = to.href;\n if (!history.state) {\n replaceState(savedState, \"\");\n if (intraPage) {\n window.dispatchEvent(new PopStateEvent(\"popstate\"));\n }\n }\n } else {\n if (!scrolledToTop) {\n scrollTo({ left: 0, top: 0, behavior: \"instant\" });\n }\n }\n history.scrollRestoration = \"manual\";\n }\n};\nfunction preloadStyleLinks(newDocument) {\n const links = [];\n for (const el of newDocument.querySelectorAll(\"head link[rel=stylesheet]\")) {\n if (!document.querySelector(\n `[${PERSIST_ATTR}=\"${el.getAttribute(\n PERSIST_ATTR\n )}\"], link[rel=stylesheet][href=\"${el.getAttribute(\"href\")}\"]`\n )) {\n const c = document.createElement(\"link\");\n c.setAttribute(\"rel\", \"preload\");\n c.setAttribute(\"as\", \"style\");\n c.setAttribute(\"href\", el.getAttribute(\"href\"));\n links.push(\n new Promise((resolve) => {\n [\"load\", \"error\"].forEach((evName) => c.addEventListener(evName, resolve));\n document.head.append(c);\n })\n );\n }\n }\n return links;\n}\nasync function updateDOM(preparationEvent, options, currentTransition, historyState, fallback) {\n async function animate(phase) {\n function isInfinite(animation) {\n const effect = animation.effect;\n if (!effect || !(effect instanceof KeyframeEffect) || !effect.target) return false;\n const style = window.getComputedStyle(effect.target, effect.pseudoElement);\n return style.animationIterationCount === \"infinite\";\n }\n const currentAnimations = document.getAnimations();\n document.documentElement.setAttribute(OLD_NEW_ATTR, phase);\n const nextAnimations = document.getAnimations();\n const newAnimations = nextAnimations.filter(\n (a) => !currentAnimations.includes(a) && !isInfinite(a)\n );\n return Promise.allSettled(newAnimations.map((a) => a.finished));\n }\n if (fallback === \"animate\" && !currentTransition.transitionSkipped && !preparationEvent.signal.aborted) {\n try {\n await animate(\"old\");\n } catch {\n }\n }\n const pageTitleForBrowserHistory = document.title;\n const swapEvent = doSwap(preparationEvent, currentTransition.viewTransition);\n moveToLocation(swapEvent.to, swapEvent.from, options, pageTitleForBrowserHistory, historyState);\n triggerEvent(TRANSITION_AFTER_SWAP);\n if (fallback === \"animate\") {\n if (!currentTransition.transitionSkipped && !swapEvent.signal.aborted) {\n animate(\"new\").finally(() => currentTransition.viewTransitionFinished());\n } else {\n currentTransition.viewTransitionFinished();\n }\n }\n}\nfunction abortAndRecreateMostRecentNavigation() {\n mostRecentNavigation?.controller.abort();\n return mostRecentNavigation = {\n controller: new AbortController()\n };\n}\nasync function transition(direction, from, to, options, historyState) {\n const currentNavigation = abortAndRecreateMostRecentNavigation();\n if (!transitionEnabledOnThisPage() || location.origin !== to.origin) {\n if (currentNavigation === mostRecentNavigation) mostRecentNavigation = void 0;\n location.href = to.href;\n return;\n }\n const navigationType = historyState ? \"traverse\" : options.history === \"replace\" ? \"replace\" : \"push\";\n if (navigationType !== \"traverse\") {\n updateScrollPosition({ scrollX, scrollY });\n }\n if (samePage(from, to)) {\n if (direction !== \"back\" && to.hash || direction === \"back\" && from.hash) {\n moveToLocation(to, from, options, document.title, historyState);\n if (currentNavigation === mostRecentNavigation) mostRecentNavigation = void 0;\n return;\n }\n }\n const prepEvent = await doPreparation(\n from,\n to,\n direction,\n navigationType,\n options.sourceElement,\n options.info,\n currentNavigation.controller.signal,\n options.formData,\n defaultLoader\n );\n if (prepEvent.defaultPrevented || prepEvent.signal.aborted) {\n if (currentNavigation === mostRecentNavigation) mostRecentNavigation = void 0;\n if (!prepEvent.signal.aborted) {\n location.href = to.href;\n }\n return;\n }\n async function defaultLoader(preparationEvent) {\n const href = preparationEvent.to.href;\n const init = { signal: preparationEvent.signal };\n if (preparationEvent.formData) {\n init.method = \"POST\";\n const form = preparationEvent.sourceElement instanceof HTMLFormElement ? preparationEvent.sourceElement : preparationEvent.sourceElement instanceof HTMLElement && \"form\" in preparationEvent.sourceElement ? preparationEvent.sourceElement.form : preparationEvent.sourceElement?.closest(\"form\");\n init.body = form?.attributes.getNamedItem(\"enctype\")?.value === \"application/x-www-form-urlencoded\" ? new URLSearchParams(preparationEvent.formData) : preparationEvent.formData;\n }\n const response = await fetchHTML(href, init);\n if (response === null) {\n preparationEvent.preventDefault();\n return;\n }\n if (response.redirected) {\n const redirectedTo = new URL(response.redirected);\n if (redirectedTo.origin !== preparationEvent.to.origin) {\n preparationEvent.preventDefault();\n return;\n }\n preparationEvent.to = redirectedTo;\n }\n parser ??= new DOMParser();\n preparationEvent.newDocument = parser.parseFromString(response.html, response.mediaType);\n preparationEvent.newDocument.querySelectorAll(\"noscript\").forEach((el) => el.remove());\n if (!preparationEvent.newDocument.querySelector('[name=\"astro-view-transitions-enabled\"]') && !preparationEvent.formData) {\n preparationEvent.preventDefault();\n return;\n }\n const links = preloadStyleLinks(preparationEvent.newDocument);\n links.length && !preparationEvent.signal.aborted && await Promise.all(links);\n if (import.meta.env.DEV && !preparationEvent.signal.aborted)\n await prepareForClientOnlyComponents(\n preparationEvent.newDocument,\n preparationEvent.to,\n preparationEvent.signal\n );\n }\n async function abortAndRecreateMostRecentTransition() {\n if (mostRecentTransition) {\n if (mostRecentTransition.viewTransition) {\n try {\n mostRecentTransition.viewTransition.skipTransition();\n } catch {\n }\n try {\n await mostRecentTransition.viewTransition.updateCallbackDone;\n } catch {\n }\n }\n }\n return mostRecentTransition = { transitionSkipped: false };\n }\n const currentTransition = await abortAndRecreateMostRecentTransition();\n if (prepEvent.signal.aborted) {\n if (currentNavigation === mostRecentNavigation) mostRecentNavigation = void 0;\n return;\n }\n document.documentElement.setAttribute(DIRECTION_ATTR, prepEvent.direction);\n if (supportsViewTransitions) {\n currentTransition.viewTransition = document.startViewTransition(\n async () => await updateDOM(prepEvent, options, currentTransition, historyState)\n );\n } else {\n const updateDone = (async () => {\n await Promise.resolve();\n await updateDOM(prepEvent, options, currentTransition, historyState, getFallback());\n return void 0;\n })();\n currentTransition.viewTransition = {\n updateCallbackDone: updateDone,\n // this is about correct\n ready: updateDone,\n // good enough\n // Finished promise could have been done better: finished rejects iff updateDone does.\n // Our simulation always resolves, never rejects.\n finished: new Promise((r) => currentTransition.viewTransitionFinished = r),\n // see end of updateDOM\n skipTransition: () => {\n currentTransition.transitionSkipped = true;\n document.documentElement.removeAttribute(OLD_NEW_ATTR);\n }\n };\n }\n currentTransition.viewTransition?.updateCallbackDone.finally(async () => {\n await runScripts();\n onPageLoad();\n announce();\n });\n currentTransition.viewTransition?.finished.finally(() => {\n currentTransition.viewTransition = void 0;\n if (currentTransition === mostRecentTransition) mostRecentTransition = void 0;\n if (currentNavigation === mostRecentNavigation) mostRecentNavigation = void 0;\n document.documentElement.removeAttribute(DIRECTION_ATTR);\n document.documentElement.removeAttribute(OLD_NEW_ATTR);\n });\n try {\n await currentTransition.viewTransition?.updateCallbackDone;\n } catch (e) {\n const err = e;\n console.log(\"[astro]\", err.name, err.message, err.stack);\n }\n}\nlet navigateOnServerWarned = false;\nasync function navigate(href, options) {\n if (inBrowser === false) {\n if (!navigateOnServerWarned) {\n const warning = new Error(\n \"The view transitions client API was called during a server side render. This may be unintentional as the navigate() function is expected to be called in response to user interactions. Please make sure that your usage is correct.\"\n );\n warning.name = \"Warning\";\n console.warn(warning);\n navigateOnServerWarned = true;\n }\n return;\n }\n await transition(\"forward\", originalLocation, new URL(href, location.href), options ?? {});\n}\nfunction onPopState(ev) {\n if (!transitionEnabledOnThisPage() && ev.state) {\n location.reload();\n return;\n }\n if (ev.state === null) {\n return;\n }\n const state = history.state;\n const nextIndex = state.index;\n const direction = nextIndex > currentHistoryIndex ? \"forward\" : \"back\";\n currentHistoryIndex = nextIndex;\n transition(direction, originalLocation, new URL(location.href), {}, state);\n}\nconst onScrollEnd = () => {\n if (history.state && (scrollX !== history.state.scrollX || scrollY !== history.state.scrollY)) {\n updateScrollPosition({ scrollX, scrollY });\n }\n};\nif (inBrowser) {\n if (supportsViewTransitions || getFallback() !== \"none\") {\n originalLocation = new URL(location.href);\n addEventListener(\"popstate\", onPopState);\n addEventListener(\"load\", onPageLoad);\n if (\"onscrollend\" in window) addEventListener(\"scrollend\", onScrollEnd);\n else {\n let intervalId, lastY, lastX, lastIndex;\n const scrollInterval = () => {\n if (lastIndex !== history.state?.index) {\n clearInterval(intervalId);\n intervalId = void 0;\n return;\n }\n if (lastY === scrollY && lastX === scrollX) {\n clearInterval(intervalId);\n intervalId = void 0;\n onScrollEnd();\n return;\n } else {\n lastY = scrollY, lastX = scrollX;\n }\n };\n addEventListener(\n \"scroll\",\n () => {\n if (intervalId !== void 0) return;\n lastIndex = history.state.index, lastY = scrollY, lastX = scrollX;\n intervalId = window.setInterval(scrollInterval, 50);\n },\n { passive: true }\n );\n }\n }\n for (const script of document.getElementsByTagName(\"script\")) {\n script.dataset.astroExec = \"\";\n }\n}\nasync function prepareForClientOnlyComponents(newDocument, toLocation, signal) {\n if (newDocument.body.querySelector(`astro-island[client='only']`)) {\n const nextPage = document.createElement(\"iframe\");\n nextPage.src = toLocation.href;\n nextPage.style.display = \"none\";\n document.body.append(nextPage);\n nextPage.contentWindow.console = Object.keys(console).reduce((acc, key) => {\n acc[key] = () => {\n };\n return acc;\n }, {});\n await hydrationDone(nextPage);\n const nextHead = nextPage.contentDocument?.head;\n if (nextHead) {\n const viteIds = [...nextHead.querySelectorAll(`style[${VITE_ID}]`)].map(\n (style) => style.getAttribute(VITE_ID)\n );\n viteIds.forEach((id) => {\n const style = nextHead.querySelector(`style[${VITE_ID}=\"${id}\"]`);\n if (style && !newDocument.head.querySelector(`style[${VITE_ID}=\"${id}\"]`)) {\n newDocument.head.appendChild(style.cloneNode(true));\n }\n });\n }\n async function hydrationDone(loadingPage) {\n if (!signal.aborted) {\n await new Promise(\n (r) => loadingPage.contentWindow?.addEventListener(\"load\", r, { once: true })\n );\n }\n return new Promise(async (r) => {\n for (let count = 0; count <= 20; ++count) {\n if (signal.aborted) break;\n if (!loadingPage.contentDocument.body.querySelector(\"astro-island[ssr]\")) break;\n await new Promise((r2) => setTimeout(r2, 50));\n }\n r();\n });\n }\n }\n}\nexport {\n getFallback,\n navigate,\n supportsViewTransitions,\n transitionEnabledOnThisPage,\n updateScrollPosition\n};\n","const debug = import.meta.env.DEV ? console.debug : void 0;\nconst inBrowser = import.meta.env.SSR === false;\nconst prefetchedUrls = /* @__PURE__ */ new Set();\nconst listenedAnchors = /* @__PURE__ */ new WeakSet();\nlet prefetchAll = __PREFETCH_PREFETCH_ALL__;\nlet defaultStrategy = __PREFETCH_DEFAULT_STRATEGY__;\nlet clientPrerender = __EXPERIMENTAL_CLIENT_PRERENDER__;\nlet inited = false;\nfunction init(defaultOpts) {\n if (!inBrowser) return;\n if (inited) return;\n inited = true;\n debug?.(`[astro] Initializing prefetch script`);\n prefetchAll ??= defaultOpts?.prefetchAll ?? false;\n defaultStrategy ??= defaultOpts?.defaultStrategy ?? \"hover\";\n initTapStrategy();\n initHoverStrategy();\n initViewportStrategy();\n initLoadStrategy();\n}\nfunction initTapStrategy() {\n for (const event of [\"touchstart\", \"mousedown\"]) {\n document.body.addEventListener(\n event,\n (e) => {\n if (elMatchesStrategy(e.target, \"tap\")) {\n prefetch(e.target.href, { ignoreSlowConnection: true });\n }\n },\n { passive: true }\n );\n }\n}\nfunction initHoverStrategy() {\n let timeout;\n document.body.addEventListener(\n \"focusin\",\n (e) => {\n if (elMatchesStrategy(e.target, \"hover\")) {\n handleHoverIn(e);\n }\n },\n { passive: true }\n );\n document.body.addEventListener(\"focusout\", handleHoverOut, { passive: true });\n onPageLoad(() => {\n for (const anchor of document.getElementsByTagName(\"a\")) {\n if (listenedAnchors.has(anchor)) continue;\n if (elMatchesStrategy(anchor, \"hover\")) {\n listenedAnchors.add(anchor);\n anchor.addEventListener(\"mouseenter\", handleHoverIn, { passive: true });\n anchor.addEventListener(\"mouseleave\", handleHoverOut, { passive: true });\n }\n }\n });\n function handleHoverIn(e) {\n const href = e.target.href;\n if (timeout) {\n clearTimeout(timeout);\n }\n timeout = setTimeout(() => {\n prefetch(href);\n }, 80);\n }\n function handleHoverOut() {\n if (timeout) {\n clearTimeout(timeout);\n timeout = 0;\n }\n }\n}\nfunction initViewportStrategy() {\n let observer;\n onPageLoad(() => {\n for (const anchor of document.getElementsByTagName(\"a\")) {\n if (listenedAnchors.has(anchor)) continue;\n if (elMatchesStrategy(anchor, \"viewport\")) {\n listenedAnchors.add(anchor);\n observer ??= createViewportIntersectionObserver();\n observer.observe(anchor);\n }\n }\n });\n}\nfunction createViewportIntersectionObserver() {\n const timeouts = /* @__PURE__ */ new WeakMap();\n return new IntersectionObserver((entries, observer) => {\n for (const entry of entries) {\n const anchor = entry.target;\n const timeout = timeouts.get(anchor);\n if (entry.isIntersecting) {\n if (timeout) {\n clearTimeout(timeout);\n }\n timeouts.set(\n anchor,\n setTimeout(() => {\n observer.unobserve(anchor);\n timeouts.delete(anchor);\n prefetch(anchor.href);\n }, 300)\n );\n } else {\n if (timeout) {\n clearTimeout(timeout);\n timeouts.delete(anchor);\n }\n }\n }\n });\n}\nfunction initLoadStrategy() {\n onPageLoad(() => {\n for (const anchor of document.getElementsByTagName(\"a\")) {\n if (elMatchesStrategy(anchor, \"load\")) {\n prefetch(anchor.href);\n }\n }\n });\n}\nfunction prefetch(url, opts) {\n url = url.replace(/#.*/, \"\");\n const ignoreSlowConnection = opts?.ignoreSlowConnection ?? false;\n if (!canPrefetchUrl(url, ignoreSlowConnection)) return;\n prefetchedUrls.add(url);\n if (clientPrerender && HTMLScriptElement.supports?.(\"speculationrules\")) {\n debug?.(`[astro] Prefetching ${url} with `;\n case \"directive\":\n return ``;\n case null:\n break;\n }\n return \"\";\n}\nexport {\n determineIfNeedsHydrationScript,\n determinesIfNeedsDirectiveScript,\n getPrescripts\n};\n","import { clsx } from \"clsx\";\nimport { HTMLString, markHTMLString } from \"../escape.js\";\nconst voidElementNames = /^(area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/i;\nconst htmlBooleanAttributes = /^(?:allowfullscreen|async|autofocus|autoplay|checked|controls|default|defer|disabled|disablepictureinpicture|disableremoteplayback|formnovalidate|hidden|loop|nomodule|novalidate|open|playsinline|readonly|required|reversed|scoped|seamless|selected|itemscope)$/i;\nconst AMPERSAND_REGEX = /&/g;\nconst DOUBLE_QUOTE_REGEX = /\"/g;\nconst STATIC_DIRECTIVES = /* @__PURE__ */ new Set([\"set:html\", \"set:text\"]);\nconst toIdent = (k) => k.trim().replace(/(?!^)\\b\\w|\\s+|\\W+/g, (match, index) => {\n if (/\\W/.test(match)) return \"\";\n return index === 0 ? match : match.toUpperCase();\n});\nconst toAttributeString = (value, shouldEscape = true) => shouldEscape ? String(value).replace(AMPERSAND_REGEX, \"&\").replace(DOUBLE_QUOTE_REGEX, \""\") : value;\nconst kebab = (k) => k.toLowerCase() === k ? k : k.replace(/[A-Z]/g, (match) => `-${match.toLowerCase()}`);\nconst toStyleString = (obj) => Object.entries(obj).filter(([_, v]) => typeof v === \"string\" && v.trim() || typeof v === \"number\").map(([k, v]) => {\n if (k[0] !== \"-\" && k[1] !== \"-\") return `${kebab(k)}:${v}`;\n return `${k}:${v}`;\n}).join(\";\");\nfunction defineScriptVars(vars) {\n let output = \"\";\n for (const [key, value] of Object.entries(vars)) {\n output += `const ${toIdent(key)} = ${JSON.stringify(value)?.replace(\n /<\\/script>/g,\n \"\\\\x3C/script>\"\n )};\n`;\n }\n return markHTMLString(output);\n}\nfunction formatList(values) {\n if (values.length === 1) {\n return values[0];\n }\n return `${values.slice(0, -1).join(\", \")} or ${values[values.length - 1]}`;\n}\nfunction addAttribute(value, key, shouldEscape = true) {\n if (value == null) {\n return \"\";\n }\n if (STATIC_DIRECTIVES.has(key)) {\n console.warn(`[astro] The \"${key}\" directive cannot be applied dynamically at runtime. It will not be rendered as an attribute.\n\nMake sure to use the static attribute syntax (\\`${key}={value}\\`) instead of the dynamic spread syntax (\\`{...{ \"${key}\": value }}\\`).`);\n return \"\";\n }\n if (key === \"class:list\") {\n const listValue = toAttributeString(clsx(value), shouldEscape);\n if (listValue === \"\") {\n return \"\";\n }\n return markHTMLString(` ${key.slice(0, -5)}=\"${listValue}\"`);\n }\n if (key === \"style\" && !(value instanceof HTMLString)) {\n if (Array.isArray(value) && value.length === 2) {\n return markHTMLString(\n ` ${key}=\"${toAttributeString(`${toStyleString(value[0])};${value[1]}`, shouldEscape)}\"`\n );\n }\n if (typeof value === \"object\") {\n return markHTMLString(` ${key}=\"${toAttributeString(toStyleString(value), shouldEscape)}\"`);\n }\n }\n if (key === \"className\") {\n return markHTMLString(` class=\"${toAttributeString(value, shouldEscape)}\"`);\n }\n if (typeof value === \"string\" && value.includes(\"&\") && isHttpUrl(value)) {\n return markHTMLString(` ${key}=\"${toAttributeString(value, false)}\"`);\n }\n if (htmlBooleanAttributes.test(key)) {\n return markHTMLString(value ? ` ${key}` : \"\");\n }\n if (value === \"\") {\n return markHTMLString(` ${key}`);\n }\n return markHTMLString(` ${key}=\"${toAttributeString(value, shouldEscape)}\"`);\n}\nfunction internalSpreadAttributes(values, shouldEscape = true) {\n let output = \"\";\n for (const [key, value] of Object.entries(values)) {\n output += addAttribute(value, key, shouldEscape);\n }\n return markHTMLString(output);\n}\nfunction renderElement(name, { props: _props, children = \"\" }, shouldEscape = true) {\n const { lang: _, \"data-astro-id\": astroId, \"define:vars\": defineVars, ...props } = _props;\n if (defineVars) {\n if (name === \"style\") {\n delete props[\"is:global\"];\n delete props[\"is:scoped\"];\n }\n if (name === \"script\") {\n delete props.hoist;\n children = defineScriptVars(defineVars) + \"\\n\" + children;\n }\n }\n if ((children == null || children == \"\") && voidElementNames.test(name)) {\n return `<${name}${internalSpreadAttributes(props, shouldEscape)}>`;\n }\n return `<${name}${internalSpreadAttributes(props, shouldEscape)}>${children}`;\n}\nconst noop = () => {\n};\nclass BufferedRenderer {\n chunks = [];\n renderPromise;\n destination;\n constructor(bufferRenderFunction) {\n this.renderPromise = bufferRenderFunction(this);\n Promise.resolve(this.renderPromise).catch(noop);\n }\n write(chunk) {\n if (this.destination) {\n this.destination.write(chunk);\n } else {\n this.chunks.push(chunk);\n }\n }\n async renderToFinalDestination(destination) {\n for (const chunk of this.chunks) {\n destination.write(chunk);\n }\n this.destination = destination;\n await this.renderPromise;\n }\n}\nfunction renderToBufferDestination(bufferRenderFunction) {\n const renderer = new BufferedRenderer(bufferRenderFunction);\n return renderer;\n}\nconst isNode = typeof process !== \"undefined\" && Object.prototype.toString.call(process) === \"[object process]\";\nconst isDeno = typeof Deno !== \"undefined\";\nfunction promiseWithResolvers() {\n let resolve, reject;\n const promise = new Promise((_resolve, _reject) => {\n resolve = _resolve;\n reject = _reject;\n });\n return {\n promise,\n resolve,\n reject\n };\n}\nconst VALID_PROTOCOLS = [\"http:\", \"https:\"];\nfunction isHttpUrl(url) {\n try {\n const parsedUrl = new URL(url);\n return VALID_PROTOCOLS.includes(parsedUrl.protocol);\n } catch {\n return false;\n }\n}\nexport {\n addAttribute,\n defineScriptVars,\n formatList,\n internalSpreadAttributes,\n isDeno,\n isNode,\n promiseWithResolvers,\n renderElement,\n renderToBufferDestination,\n toAttributeString,\n voidElementNames\n};\n","import { markHTMLString } from \"../escape.js\";\nimport { createRenderInstruction } from \"./instruction.js\";\nimport { renderElement } from \"./util.js\";\nconst uniqueElements = (item, index, all) => {\n const props = JSON.stringify(item.props);\n const children = item.children;\n return index === all.findIndex((i) => JSON.stringify(i.props) === props && i.children == children);\n};\nfunction renderAllHeadContent(result) {\n result._metadata.hasRenderedHead = true;\n const styles = Array.from(result.styles).filter(uniqueElements).map(\n (style) => style.props.rel === \"stylesheet\" ? renderElement(\"link\", style) : renderElement(\"style\", style)\n );\n result.styles.clear();\n const scripts = Array.from(result.scripts).filter(uniqueElements).map((script) => {\n return renderElement(\"script\", script, false);\n });\n const links = Array.from(result.links).filter(uniqueElements).map((link) => renderElement(\"link\", link, false));\n let content = styles.join(\"\\n\") + links.join(\"\\n\") + scripts.join(\"\\n\");\n if (result._metadata.extraHead.length > 0) {\n for (const part of result._metadata.extraHead) {\n content += part;\n }\n }\n return markHTMLString(content);\n}\nfunction renderHead() {\n return createRenderInstruction({ type: \"head\" });\n}\nfunction maybeRenderHead() {\n return createRenderInstruction({ type: \"maybe-head\" });\n}\nexport {\n maybeRenderHead,\n renderAllHeadContent,\n renderHead\n};\n","import { markHTMLString } from \"../../escape.js\";\nimport { isPromise } from \"../../util.js\";\nimport { renderChild } from \"../any.js\";\nimport { renderToBufferDestination } from \"../util.js\";\nconst renderTemplateResultSym = Symbol.for(\"astro.renderTemplateResult\");\nclass RenderTemplateResult {\n [renderTemplateResultSym] = true;\n htmlParts;\n expressions;\n error;\n constructor(htmlParts, expressions) {\n this.htmlParts = htmlParts;\n this.error = void 0;\n this.expressions = expressions.map((expression) => {\n if (isPromise(expression)) {\n return Promise.resolve(expression).catch((err) => {\n if (!this.error) {\n this.error = err;\n throw err;\n }\n });\n }\n return expression;\n });\n }\n async render(destination) {\n const expRenders = this.expressions.map((exp) => {\n return renderToBufferDestination((bufferDestination) => {\n if (exp || exp === 0) {\n return renderChild(bufferDestination, exp);\n }\n });\n });\n for (let i = 0; i < this.htmlParts.length; i++) {\n const html = this.htmlParts[i];\n const expRender = expRenders[i];\n destination.write(markHTMLString(html));\n if (expRender) {\n await expRender.renderToFinalDestination(destination);\n }\n }\n }\n}\nfunction isRenderTemplateResult(obj) {\n return typeof obj === \"object\" && obj !== null && !!obj[renderTemplateResultSym];\n}\nfunction renderTemplate(htmlParts, ...expressions) {\n return new RenderTemplateResult(htmlParts, expressions);\n}\nexport {\n RenderTemplateResult,\n isRenderTemplateResult,\n renderTemplate\n};\n","import { renderTemplate } from \"./astro/render-template.js\";\nimport { HTMLString, markHTMLString, unescapeHTML } from \"../escape.js\";\nimport { renderChild } from \"./any.js\";\nimport { chunkToString } from \"./common.js\";\nconst slotString = Symbol.for(\"astro:slot-string\");\nclass SlotString extends HTMLString {\n instructions;\n [slotString];\n constructor(content, instructions) {\n super(content);\n this.instructions = instructions;\n this[slotString] = true;\n }\n}\nfunction isSlotString(str) {\n return !!str[slotString];\n}\nfunction renderSlot(result, slotted, fallback) {\n if (!slotted && fallback) {\n return renderSlot(result, fallback);\n }\n return {\n async render(destination) {\n await renderChild(destination, typeof slotted === \"function\" ? slotted(result) : slotted);\n }\n };\n}\nasync function renderSlotToString(result, slotted, fallback) {\n let content = \"\";\n let instructions = null;\n const temporaryDestination = {\n write(chunk) {\n if (chunk instanceof SlotString) {\n content += chunk;\n if (chunk.instructions) {\n instructions ??= [];\n instructions.push(...chunk.instructions);\n }\n } else if (chunk instanceof Response) return;\n else if (typeof chunk === \"object\" && \"type\" in chunk && typeof chunk.type === \"string\") {\n if (instructions === null) {\n instructions = [];\n }\n instructions.push(chunk);\n } else {\n content += chunkToString(result, chunk);\n }\n }\n };\n const renderInstance = renderSlot(result, slotted, fallback);\n await renderInstance.render(temporaryDestination);\n return markHTMLString(new SlotString(content, instructions));\n}\nasync function renderSlots(result, slots = {}) {\n let slotInstructions = null;\n let children = {};\n if (slots) {\n await Promise.all(\n Object.entries(slots).map(\n ([key, value]) => renderSlotToString(result, value).then((output) => {\n if (output.instructions) {\n if (slotInstructions === null) {\n slotInstructions = [];\n }\n slotInstructions.push(...output.instructions);\n }\n children[key] = output;\n })\n )\n );\n }\n return { slotInstructions, children };\n}\nfunction createSlotValueFromString(content) {\n return function() {\n return renderTemplate`${unescapeHTML(content)}`;\n };\n}\nexport {\n SlotString,\n createSlotValueFromString,\n isSlotString,\n renderSlot,\n renderSlotToString,\n renderSlots\n};\n","import { markHTMLString } from \"../escape.js\";\nimport {\n determineIfNeedsHydrationScript,\n determinesIfNeedsDirectiveScript,\n getPrescripts\n} from \"../scripts.js\";\nimport { renderAllHeadContent } from \"./head.js\";\nimport { isRenderInstruction } from \"./instruction.js\";\nimport { isSlotString } from \"./slot.js\";\nconst Fragment = Symbol.for(\"astro:fragment\");\nconst Renderer = Symbol.for(\"astro:renderer\");\nconst encoder = new TextEncoder();\nconst decoder = new TextDecoder();\nfunction stringifyChunk(result, chunk) {\n if (isRenderInstruction(chunk)) {\n const instruction = chunk;\n switch (instruction.type) {\n case \"directive\": {\n const { hydration } = instruction;\n let needsHydrationScript = hydration && determineIfNeedsHydrationScript(result);\n let needsDirectiveScript = hydration && determinesIfNeedsDirectiveScript(result, hydration.directive);\n let prescriptType = needsHydrationScript ? \"both\" : needsDirectiveScript ? \"directive\" : null;\n if (prescriptType) {\n let prescripts = getPrescripts(result, prescriptType, hydration.directive);\n return markHTMLString(prescripts);\n } else {\n return \"\";\n }\n }\n case \"head\": {\n if (result._metadata.hasRenderedHead || result.partial) {\n return \"\";\n }\n return renderAllHeadContent(result);\n }\n case \"maybe-head\": {\n if (result._metadata.hasRenderedHead || result._metadata.headInTree || result.partial) {\n return \"\";\n }\n return renderAllHeadContent(result);\n }\n case \"renderer-hydration-script\": {\n const { rendererSpecificHydrationScripts } = result._metadata;\n const { rendererName } = instruction;\n if (!rendererSpecificHydrationScripts.has(rendererName)) {\n rendererSpecificHydrationScripts.add(rendererName);\n return instruction.render();\n }\n return \"\";\n }\n default: {\n throw new Error(`Unknown chunk type: ${chunk.type}`);\n }\n }\n } else if (chunk instanceof Response) {\n return \"\";\n } else if (isSlotString(chunk)) {\n let out = \"\";\n const c = chunk;\n if (c.instructions) {\n for (const instr of c.instructions) {\n out += stringifyChunk(result, instr);\n }\n }\n out += chunk.toString();\n return out;\n }\n return chunk.toString();\n}\nfunction chunkToString(result, chunk) {\n if (ArrayBuffer.isView(chunk)) {\n return decoder.decode(chunk);\n } else {\n return stringifyChunk(result, chunk);\n }\n}\nfunction chunkToByteArray(result, chunk) {\n if (ArrayBuffer.isView(chunk)) {\n return chunk;\n } else {\n const stringified = stringifyChunk(result, chunk);\n return encoder.encode(stringified.toString());\n }\n}\nfunction isRenderInstance(obj) {\n return !!obj && typeof obj === \"object\" && \"render\" in obj && typeof obj.render === \"function\";\n}\nexport {\n Fragment,\n Renderer,\n chunkToByteArray,\n chunkToString,\n decoder,\n encoder,\n isRenderInstance\n};\n","import { escapeHTML, isHTMLString, markHTMLString } from \"../escape.js\";\nimport { isPromise } from \"../util.js\";\nimport { isAstroComponentInstance, isRenderTemplateResult } from \"./astro/index.js\";\nimport { isRenderInstance } from \"./common.js\";\nimport { SlotString } from \"./slot.js\";\nimport { renderToBufferDestination } from \"./util.js\";\nasync function renderChild(destination, child) {\n if (isPromise(child)) {\n child = await child;\n }\n if (child instanceof SlotString) {\n destination.write(child);\n } else if (isHTMLString(child)) {\n destination.write(child);\n } else if (Array.isArray(child)) {\n const childRenders = child.map((c) => {\n return renderToBufferDestination((bufferDestination) => {\n return renderChild(bufferDestination, c);\n });\n });\n for (const childRender of childRenders) {\n if (!childRender) continue;\n await childRender.renderToFinalDestination(destination);\n }\n } else if (typeof child === \"function\") {\n await renderChild(destination, child());\n } else if (typeof child === \"string\") {\n destination.write(markHTMLString(escapeHTML(child)));\n } else if (!child && child !== 0) {\n } else if (isRenderInstance(child)) {\n await child.render(destination);\n } else if (isRenderTemplateResult(child)) {\n await child.render(destination);\n } else if (isAstroComponentInstance(child)) {\n await child.render(destination);\n } else if (ArrayBuffer.isView(child)) {\n destination.write(child);\n } else if (typeof child === \"object\" && (Symbol.asyncIterator in child || Symbol.iterator in child)) {\n for await (const value of child) {\n await renderChild(destination, value);\n }\n } else {\n destination.write(child);\n }\n}\nexport {\n renderChild\n};\n","import { isPromise } from \"../../util.js\";\nimport { renderChild } from \"../any.js\";\nimport { isAPropagatingComponent } from \"./factory.js\";\nimport { isHeadAndContent } from \"./head-and-content.js\";\nconst astroComponentInstanceSym = Symbol.for(\"astro.componentInstance\");\nclass AstroComponentInstance {\n [astroComponentInstanceSym] = true;\n result;\n props;\n slotValues;\n factory;\n returnValue;\n constructor(result, props, slots, factory) {\n this.result = result;\n this.props = props;\n this.factory = factory;\n this.slotValues = {};\n for (const name in slots) {\n let didRender = false;\n let value = slots[name](result);\n this.slotValues[name] = () => {\n if (!didRender) {\n didRender = true;\n return value;\n }\n return slots[name](result);\n };\n }\n }\n async init(result) {\n if (this.returnValue !== void 0) return this.returnValue;\n this.returnValue = this.factory(result, this.props, this.slotValues);\n if (isPromise(this.returnValue)) {\n this.returnValue.then((resolved) => {\n this.returnValue = resolved;\n }).catch(() => {\n });\n }\n return this.returnValue;\n }\n async render(destination) {\n const returnValue = await this.init(this.result);\n if (isHeadAndContent(returnValue)) {\n await returnValue.content.render(destination);\n } else {\n await renderChild(destination, returnValue);\n }\n }\n}\nfunction validateComponentProps(props, displayName) {\n if (props != null) {\n for (const prop of Object.keys(props)) {\n if (prop.startsWith(\"client:\")) {\n console.warn(\n `You are attempting to render <${displayName} ${prop} />, but ${displayName} is an Astro component. Astro components do not render in the client and should not have a hydration directive. Please use a framework component for client rendering.`\n );\n }\n }\n }\n}\nfunction createAstroComponentInstance(result, displayName, factory, props, slots = {}) {\n validateComponentProps(props, displayName);\n const instance = new AstroComponentInstance(result, props, slots, factory);\n if (isAPropagatingComponent(result, factory)) {\n result._metadata.propagators.add(instance);\n }\n return instance;\n}\nfunction isAstroComponentInstance(obj) {\n return typeof obj === \"object\" && obj !== null && !!obj[astroComponentInstanceSym];\n}\nexport {\n AstroComponentInstance,\n createAstroComponentInstance,\n isAstroComponentInstance\n};\n","import { markHTMLString } from \"../escape.js\";\nimport { renderSlotToString } from \"./slot.js\";\nimport { toAttributeString } from \"./util.js\";\nfunction componentIsHTMLElement(Component) {\n return typeof HTMLElement !== \"undefined\" && HTMLElement.isPrototypeOf(Component);\n}\nasync function renderHTMLElement(result, constructor, props, slots) {\n const name = getHTMLElementName(constructor);\n let attrHTML = \"\";\n for (const attr in props) {\n attrHTML += ` ${attr}=\"${toAttributeString(await props[attr])}\"`;\n }\n return markHTMLString(\n `<${name}${attrHTML}>${await renderSlotToString(result, slots?.default)}`\n );\n}\nfunction getHTMLElementName(constructor) {\n const definedName = customElements.getName(constructor);\n if (definedName) return definedName;\n const assignedName = constructor.name.replace(/^HTML|Element$/g, \"\").replace(/[A-Z]/g, \"-$&\").toLowerCase().replace(/^-/, \"html-\");\n return assignedName;\n}\nexport {\n componentIsHTMLElement,\n renderHTMLElement\n};\n","import { decodeBase64, decodeHex, encodeBase64, encodeHexUpperCase } from \"@oslojs/encoding\";\nconst ALGORITHM = \"AES-GCM\";\nasync function createKey() {\n const key = await crypto.subtle.generateKey(\n {\n name: ALGORITHM,\n length: 256\n },\n true,\n [\"encrypt\", \"decrypt\"]\n );\n return key;\n}\nconst ENVIRONMENT_KEY_NAME = \"ASTRO_KEY\";\nfunction getEncodedEnvironmentKey() {\n return process.env[ENVIRONMENT_KEY_NAME] || \"\";\n}\nfunction hasEnvironmentKey() {\n return getEncodedEnvironmentKey() !== \"\";\n}\nasync function getEnvironmentKey() {\n if (!hasEnvironmentKey()) {\n throw new Error(\n `There is no environment key defined. If you see this error there is a bug in Astro.`\n );\n }\n const encodedKey = getEncodedEnvironmentKey();\n return decodeKey(encodedKey);\n}\nasync function importKey(bytes) {\n const key = await crypto.subtle.importKey(\"raw\", bytes, ALGORITHM, true, [\"encrypt\", \"decrypt\"]);\n return key;\n}\nasync function encodeKey(key) {\n const exported = await crypto.subtle.exportKey(\"raw\", key);\n const encodedKey = encodeBase64(new Uint8Array(exported));\n return encodedKey;\n}\nasync function decodeKey(encoded) {\n const bytes = decodeBase64(encoded);\n return crypto.subtle.importKey(\"raw\", bytes, ALGORITHM, true, [\"encrypt\", \"decrypt\"]);\n}\nconst encoder = new TextEncoder();\nconst decoder = new TextDecoder();\nconst IV_LENGTH = 24;\nasync function encryptString(key, raw) {\n const iv = crypto.getRandomValues(new Uint8Array(IV_LENGTH / 2));\n const data = encoder.encode(raw);\n const buffer = await crypto.subtle.encrypt(\n {\n name: ALGORITHM,\n iv\n },\n key,\n data\n );\n return encodeHexUpperCase(iv) + encodeBase64(new Uint8Array(buffer));\n}\nasync function decryptString(key, encoded) {\n const iv = decodeHex(encoded.slice(0, IV_LENGTH));\n const dataArray = decodeBase64(encoded.slice(IV_LENGTH));\n const decryptedBuffer = await crypto.subtle.decrypt(\n {\n name: ALGORITHM,\n iv\n },\n key,\n dataArray\n );\n const decryptedString = decoder.decode(decryptedBuffer);\n return decryptedString;\n}\nexport {\n createKey,\n decodeKey,\n decryptString,\n encodeKey,\n encryptString,\n getEncodedEnvironmentKey,\n getEnvironmentKey,\n hasEnvironmentKey,\n importKey\n};\n","import { encryptString } from \"../../../core/encryption.js\";\nimport { renderChild } from \"./any.js\";\nimport { renderSlotToString } from \"./slot.js\";\nconst internalProps = /* @__PURE__ */ new Set([\n \"server:component-path\",\n \"server:component-export\",\n \"server:component-directive\",\n \"server:defer\"\n]);\nfunction containsServerDirective(props) {\n return \"server:component-directive\" in props;\n}\nfunction safeJsonStringify(obj) {\n return JSON.stringify(obj).replace(/\\u2028/g, \"\\\\u2028\").replace(/\\u2029/g, \"\\\\u2029\").replace(//g, \"\\\\u003e\").replace(/\\//g, \"\\\\u002f\");\n}\nfunction createSearchParams(componentExport, encryptedProps, slots) {\n const params = new URLSearchParams();\n params.set(\"e\", componentExport);\n params.set(\"p\", encryptedProps);\n params.set(\"s\", slots);\n return params;\n}\nfunction isWithinURLLimit(pathname, params) {\n const url = pathname + \"?\" + params.toString();\n const chars = url.length;\n return chars < 2048;\n}\nfunction renderServerIsland(result, _displayName, props, slots) {\n return {\n async render(destination) {\n const componentPath = props[\"server:component-path\"];\n const componentExport = props[\"server:component-export\"];\n const componentId = result.serverIslandNameMap.get(componentPath);\n if (!componentId) {\n throw new Error(`Could not find server component name`);\n }\n for (const key2 of Object.keys(props)) {\n if (internalProps.has(key2)) {\n delete props[key2];\n }\n }\n destination.write(\"\");\n const renderedSlots = {};\n for (const name in slots) {\n if (name !== \"fallback\") {\n const content = await renderSlotToString(result, slots[name]);\n renderedSlots[name] = content.toString();\n } else {\n await renderChild(destination, slots.fallback(result));\n }\n }\n const key = await result.key;\n const propsEncrypted = await encryptString(key, JSON.stringify(props));\n const hostId = crypto.randomUUID();\n const slash = result.base.endsWith(\"/\") ? \"\" : \"/\";\n let serverIslandUrl = `${result.base}${slash}_server-islands/${componentId}${result.trailingSlash === \"always\" ? \"/\" : \"\"}`;\n const potentialSearchParams = createSearchParams(\n componentExport,\n propsEncrypted,\n safeJsonStringify(renderedSlots)\n );\n const useGETRequest = isWithinURLLimit(serverIslandUrl, potentialSearchParams);\n if (useGETRequest) {\n serverIslandUrl += \"?\" + potentialSearchParams.toString();\n destination.write(\n ``\n );\n }\n destination.write(``);\n }\n };\n}\nexport {\n containsServerDirective,\n renderServerIsland\n};\n","import { createRenderInstruction } from \"./instruction.js\";\nimport { clsx } from \"clsx\";\nimport { AstroError, AstroErrorData } from \"../../../core/errors/index.js\";\nimport { markHTMLString } from \"../escape.js\";\nimport { extractDirectives, generateHydrateScript } from \"../hydration.js\";\nimport { serializeProps } from \"../serialize.js\";\nimport { shorthash } from \"../shorthash.js\";\nimport { isPromise } from \"../util.js\";\nimport { isAstroComponentFactory } from \"./astro/factory.js\";\nimport { renderTemplate } from \"./astro/index.js\";\nimport { createAstroComponentInstance } from \"./astro/instance.js\";\nimport {\n Fragment,\n Renderer,\n chunkToString\n} from \"./common.js\";\nimport { componentIsHTMLElement, renderHTMLElement } from \"./dom.js\";\nimport { maybeRenderHead } from \"./head.js\";\nimport { containsServerDirective, renderServerIsland } from \"./server-islands.js\";\nimport { renderSlotToString, renderSlots } from \"./slot.js\";\nimport { formatList, internalSpreadAttributes, renderElement, voidElementNames } from \"./util.js\";\nconst needsHeadRenderingSymbol = Symbol.for(\"astro.needsHeadRendering\");\nconst rendererAliases = /* @__PURE__ */ new Map([[\"solid\", \"solid-js\"]]);\nconst clientOnlyValues = /* @__PURE__ */ new Set([\"solid-js\", \"react\", \"preact\", \"vue\", \"svelte\"]);\nfunction guessRenderers(componentUrl) {\n const extname = componentUrl?.split(\".\").pop();\n switch (extname) {\n case \"svelte\":\n return [\"@astrojs/svelte\"];\n case \"vue\":\n return [\"@astrojs/vue\"];\n case \"jsx\":\n case \"tsx\":\n return [\"@astrojs/react\", \"@astrojs/preact\", \"@astrojs/solid-js\", \"@astrojs/vue (jsx)\"];\n case void 0:\n default:\n return [\n \"@astrojs/react\",\n \"@astrojs/preact\",\n \"@astrojs/solid-js\",\n \"@astrojs/vue\",\n \"@astrojs/svelte\"\n ];\n }\n}\nfunction isFragmentComponent(Component) {\n return Component === Fragment;\n}\nfunction isHTMLComponent(Component) {\n return Component && Component[\"astro:html\"] === true;\n}\nconst ASTRO_SLOT_EXP = /<\\/?astro-slot\\b[^>]*>/g;\nconst ASTRO_STATIC_SLOT_EXP = /<\\/?astro-static-slot\\b[^>]*>/g;\nfunction removeStaticAstroSlot(html, supportsAstroStaticSlot = true) {\n const exp = supportsAstroStaticSlot ? ASTRO_STATIC_SLOT_EXP : ASTRO_SLOT_EXP;\n return html.replace(exp, \"\");\n}\nasync function renderFrameworkComponent(result, displayName, Component, _props, slots = {}) {\n if (!Component && \"client:only\" in _props === false) {\n throw new Error(\n `Unable to render ${displayName} because it is ${Component}!\nDid you forget to import the component or is it possible there is a typo?`\n );\n }\n const { renderers, clientDirectives } = result;\n const metadata = {\n astroStaticSlot: true,\n displayName\n };\n const { hydration, isPage, props, propsWithoutTransitionAttributes } = extractDirectives(\n _props,\n clientDirectives\n );\n let html = \"\";\n let attrs = void 0;\n if (hydration) {\n metadata.hydrate = hydration.directive;\n metadata.hydrateArgs = hydration.value;\n metadata.componentExport = hydration.componentExport;\n metadata.componentUrl = hydration.componentUrl;\n }\n const probableRendererNames = guessRenderers(metadata.componentUrl);\n const validRenderers = renderers.filter((r) => r.name !== \"astro:jsx\");\n const { children, slotInstructions } = await renderSlots(result, slots);\n let renderer;\n if (metadata.hydrate !== \"only\") {\n let isTagged = false;\n try {\n isTagged = Component && Component[Renderer];\n } catch {\n }\n if (isTagged) {\n const rendererName = Component[Renderer];\n renderer = renderers.find(({ name }) => name === rendererName);\n }\n if (!renderer) {\n let error;\n for (const r of renderers) {\n try {\n if (await r.ssr.check.call({ result }, Component, props, children)) {\n renderer = r;\n break;\n }\n } catch (e) {\n error ??= e;\n }\n }\n if (!renderer && error) {\n throw error;\n }\n }\n if (!renderer && typeof HTMLElement === \"function\" && componentIsHTMLElement(Component)) {\n const output = await renderHTMLElement(\n result,\n Component,\n _props,\n slots\n );\n return {\n render(destination) {\n destination.write(output);\n }\n };\n }\n } else {\n if (metadata.hydrateArgs) {\n const rendererName = rendererAliases.has(metadata.hydrateArgs) ? rendererAliases.get(metadata.hydrateArgs) : metadata.hydrateArgs;\n if (clientOnlyValues.has(rendererName)) {\n renderer = renderers.find(\n ({ name }) => name === `@astrojs/${rendererName}` || name === rendererName\n );\n }\n }\n if (!renderer && validRenderers.length === 1) {\n renderer = validRenderers[0];\n }\n if (!renderer) {\n const extname = metadata.componentUrl?.split(\".\").pop();\n renderer = renderers.find(({ name }) => name === `@astrojs/${extname}` || name === extname);\n }\n }\n let componentServerRenderEndTime;\n if (!renderer) {\n if (metadata.hydrate === \"only\") {\n const rendererName = rendererAliases.has(metadata.hydrateArgs) ? rendererAliases.get(metadata.hydrateArgs) : metadata.hydrateArgs;\n if (clientOnlyValues.has(rendererName)) {\n const plural = validRenderers.length > 1;\n throw new AstroError({\n ...AstroErrorData.NoMatchingRenderer,\n message: AstroErrorData.NoMatchingRenderer.message(\n metadata.displayName,\n metadata?.componentUrl?.split(\".\").pop(),\n plural,\n validRenderers.length\n ),\n hint: AstroErrorData.NoMatchingRenderer.hint(\n formatList(probableRendererNames.map((r) => \"`\" + r + \"`\"))\n )\n });\n } else {\n throw new AstroError({\n ...AstroErrorData.NoClientOnlyHint,\n message: AstroErrorData.NoClientOnlyHint.message(metadata.displayName),\n hint: AstroErrorData.NoClientOnlyHint.hint(\n probableRendererNames.map((r) => r.replace(\"@astrojs/\", \"\")).join(\"|\")\n )\n });\n }\n } else if (typeof Component !== \"string\") {\n const matchingRenderers = validRenderers.filter(\n (r) => probableRendererNames.includes(r.name)\n );\n const plural = validRenderers.length > 1;\n if (matchingRenderers.length === 0) {\n throw new AstroError({\n ...AstroErrorData.NoMatchingRenderer,\n message: AstroErrorData.NoMatchingRenderer.message(\n metadata.displayName,\n metadata?.componentUrl?.split(\".\").pop(),\n plural,\n validRenderers.length\n ),\n hint: AstroErrorData.NoMatchingRenderer.hint(\n formatList(probableRendererNames.map((r) => \"`\" + r + \"`\"))\n )\n });\n } else if (matchingRenderers.length === 1) {\n renderer = matchingRenderers[0];\n ({ html, attrs } = await renderer.ssr.renderToStaticMarkup.call(\n { result },\n Component,\n propsWithoutTransitionAttributes,\n children,\n metadata\n ));\n } else {\n throw new Error(`Unable to render ${metadata.displayName}!\n\nThis component likely uses ${formatList(probableRendererNames)},\nbut Astro encountered an error during server-side rendering.\n\nPlease ensure that ${metadata.displayName}:\n1. Does not unconditionally access browser-specific globals like \\`window\\` or \\`document\\`.\n If this is unavoidable, use the \\`client:only\\` hydration directive.\n2. Does not conditionally return \\`null\\` or \\`undefined\\` when rendered on the server.\n\nIf you're still stuck, please open an issue on GitHub or join us at https://astro.build/chat.`);\n }\n }\n } else {\n if (metadata.hydrate === \"only\") {\n const rendererName = rendererAliases.has(metadata.hydrateArgs) ? rendererAliases.get(metadata.hydrateArgs) : metadata.hydrateArgs;\n if (!clientOnlyValues.has(rendererName)) {\n console.warn(\n `The client:only directive for ${metadata.displayName} is not recognized. The renderer ${renderer.name} will be used. If you intended to use a different renderer, please provide a valid client:only directive.`\n );\n }\n html = await renderSlotToString(result, slots?.fallback);\n } else {\n const componentRenderStartTime = performance.now();\n ({ html, attrs } = await renderer.ssr.renderToStaticMarkup.call(\n { result },\n Component,\n propsWithoutTransitionAttributes,\n children,\n metadata\n ));\n if (process.env.NODE_ENV === \"development\")\n componentServerRenderEndTime = performance.now() - componentRenderStartTime;\n }\n }\n if (!html && typeof Component === \"string\") {\n const Tag = sanitizeElementName(Component);\n const childSlots = Object.values(children).join(\"\");\n const renderTemplateResult = renderTemplate`<${Tag}${internalSpreadAttributes(\n props\n )}${markHTMLString(\n childSlots === \"\" && voidElementNames.test(Tag) ? `/>` : `>${childSlots}`\n )}`;\n html = \"\";\n const destination = {\n write(chunk) {\n if (chunk instanceof Response) return;\n html += chunkToString(result, chunk);\n }\n };\n await renderTemplateResult.render(destination);\n }\n if (!hydration) {\n return {\n render(destination) {\n if (slotInstructions) {\n for (const instruction of slotInstructions) {\n destination.write(instruction);\n }\n }\n if (isPage || renderer?.name === \"astro:jsx\") {\n destination.write(html);\n } else if (html && html.length > 0) {\n destination.write(\n markHTMLString(removeStaticAstroSlot(html, renderer?.ssr?.supportsAstroStaticSlot))\n );\n }\n }\n };\n }\n const astroId = shorthash(\n `\n${html}\n${serializeProps(\n props,\n metadata\n )}`\n );\n const island = await generateHydrateScript(\n { renderer, result, astroId, props, attrs },\n metadata\n );\n if (componentServerRenderEndTime && process.env.NODE_ENV === \"development\")\n island.props[\"server-render-time\"] = componentServerRenderEndTime;\n let unrenderedSlots = [];\n if (html) {\n if (Object.keys(children).length > 0) {\n for (const key of Object.keys(children)) {\n let tagName = renderer?.ssr?.supportsAstroStaticSlot ? !!metadata.hydrate ? \"astro-slot\" : \"astro-static-slot\" : \"astro-slot\";\n let expectedHTML = key === \"default\" ? `<${tagName}>` : `<${tagName} name=\"${key}\">`;\n if (!html.includes(expectedHTML)) {\n unrenderedSlots.push(key);\n }\n }\n }\n } else {\n unrenderedSlots = Object.keys(children);\n }\n const template = unrenderedSlots.length > 0 ? unrenderedSlots.map(\n (key) => ``\n ).join(\"\") : \"\";\n island.children = `${html ?? \"\"}${template}`;\n if (island.children) {\n island.props[\"await-children\"] = \"\";\n island.children += ``;\n }\n return {\n render(destination) {\n if (slotInstructions) {\n for (const instruction of slotInstructions) {\n destination.write(instruction);\n }\n }\n destination.write(createRenderInstruction({ type: \"directive\", hydration }));\n if (hydration.directive !== \"only\" && renderer?.ssr.renderHydrationScript) {\n destination.write(\n createRenderInstruction({\n type: \"renderer-hydration-script\",\n rendererName: renderer.name,\n render: renderer.ssr.renderHydrationScript\n })\n );\n }\n const renderedElement = renderElement(\"astro-island\", island, false);\n destination.write(markHTMLString(renderedElement));\n }\n };\n}\nfunction sanitizeElementName(tag) {\n const unsafe = /[&<>'\"\\s]+/;\n if (!unsafe.test(tag)) return tag;\n return tag.trim().split(unsafe)[0].trim();\n}\nasync function renderFragmentComponent(result, slots = {}) {\n const children = await renderSlotToString(result, slots?.default);\n return {\n render(destination) {\n if (children == null) return;\n destination.write(children);\n }\n };\n}\nasync function renderHTMLComponent(result, Component, _props, slots = {}) {\n const { slotInstructions, children } = await renderSlots(result, slots);\n const html = Component({ slots: children });\n const hydrationHtml = slotInstructions ? slotInstructions.map((instr) => chunkToString(result, instr)).join(\"\") : \"\";\n return {\n render(destination) {\n destination.write(markHTMLString(hydrationHtml + html));\n }\n };\n}\nfunction renderAstroComponent(result, displayName, Component, props, slots = {}) {\n if (containsServerDirective(props)) {\n return renderServerIsland(result, displayName, props, slots);\n }\n const instance = createAstroComponentInstance(result, displayName, Component, props, slots);\n return {\n async render(destination) {\n await instance.render(destination);\n }\n };\n}\nasync function renderComponent(result, displayName, Component, props, slots = {}) {\n if (isPromise(Component)) {\n Component = await Component.catch(handleCancellation);\n }\n if (isFragmentComponent(Component)) {\n return await renderFragmentComponent(result, slots).catch(handleCancellation);\n }\n props = normalizeProps(props);\n if (isHTMLComponent(Component)) {\n return await renderHTMLComponent(result, Component, props, slots).catch(handleCancellation);\n }\n if (isAstroComponentFactory(Component)) {\n return renderAstroComponent(result, displayName, Component, props, slots);\n }\n return await renderFrameworkComponent(result, displayName, Component, props, slots).catch(\n handleCancellation\n );\n function handleCancellation(e) {\n if (result.cancelled)\n return {\n render() {\n }\n };\n throw e;\n }\n}\nfunction normalizeProps(props) {\n if (props[\"class:list\"] !== void 0) {\n const value = props[\"class:list\"];\n delete props[\"class:list\"];\n props[\"class\"] = clsx(props[\"class\"], value);\n if (props[\"class\"] === \"\") {\n delete props[\"class\"];\n }\n }\n return props;\n}\nasync function renderComponentToString(result, displayName, Component, props, slots = {}, isPage = false, route) {\n let str = \"\";\n let renderedFirstPageChunk = false;\n let head = \"\";\n if (isPage && !result.partial && nonAstroPageNeedsHeadInjection(Component)) {\n head += chunkToString(result, maybeRenderHead());\n }\n try {\n const destination = {\n write(chunk) {\n if (isPage && !result.partial && !renderedFirstPageChunk) {\n renderedFirstPageChunk = true;\n if (!/\" : \"\\n\";\n str += doctype + head;\n }\n }\n if (chunk instanceof Response) return;\n str += chunkToString(result, chunk);\n }\n };\n const renderInstance = await renderComponent(result, displayName, Component, props, slots);\n await renderInstance.render(destination);\n } catch (e) {\n if (AstroError.is(e) && !e.loc) {\n e.setLocation({\n file: route?.component\n });\n }\n throw e;\n }\n return str;\n}\nfunction nonAstroPageNeedsHeadInjection(pageComponent) {\n return !!pageComponent?.[needsHeadRenderingSymbol];\n}\nexport {\n renderComponent,\n renderComponentToString\n};\n","import { markHTMLString } from \"../escape.js\";\nasync function renderScript(result, id) {\n if (result._metadata.renderedScripts.has(id)) return;\n result._metadata.renderedScripts.add(id);\n const inlined = result.inlinedScripts.get(id);\n if (inlined != null) {\n if (inlined) {\n return markHTMLString(``);\n } else {\n return \"\";\n }\n }\n const resolved = await result.resolve(id);\n return markHTMLString(``);\n}\nexport {\n renderScript\n};\n","import cssesc from \"cssesc\";\nimport { fade, slide } from \"../../transitions/index.js\";\nimport { markHTMLString } from \"./escape.js\";\nconst transitionNameMap = /* @__PURE__ */ new WeakMap();\nfunction incrementTransitionNumber(result) {\n let num = 1;\n if (transitionNameMap.has(result)) {\n num = transitionNameMap.get(result) + 1;\n }\n transitionNameMap.set(result, num);\n return num;\n}\nfunction createTransitionScope(result, hash) {\n const num = incrementTransitionNumber(result);\n return `astro-${hash}-${num}`;\n}\nconst getAnimations = (name) => {\n if (name === \"fade\") return fade();\n if (name === \"slide\") return slide();\n if (typeof name === \"object\") return name;\n};\nconst addPairs = (animations, stylesheet) => {\n for (const [direction, images] of Object.entries(animations)) {\n for (const [image, rules] of Object.entries(images)) {\n stylesheet.addAnimationPair(direction, image, rules);\n }\n }\n};\nconst reEncodeValidChars = \"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_\".split(\"\").reduce((v, c) => (v[c.charCodeAt(0)] = c, v), []);\nconst reEncodeInValidStart = \"-0123456789_\".split(\"\").reduce((v, c) => (v[c.charCodeAt(0)] = c, v), []);\nfunction reEncode(s) {\n let result = \"\";\n let codepoint;\n for (let i = 0; i < s.length; i += (codepoint ?? 0) > 65535 ? 2 : 1) {\n codepoint = s.codePointAt(i);\n if (codepoint !== void 0) {\n result += codepoint < 128 ? codepoint === 95 ? \"__\" : reEncodeValidChars[codepoint] ?? \"_\" + codepoint.toString(16).padStart(2, \"0\") : String.fromCodePoint(codepoint);\n }\n }\n return reEncodeInValidStart[result.codePointAt(0) ?? 0] ? \"_\" + result : result;\n}\nfunction renderTransition(result, hash, animationName, transitionName) {\n if (typeof (transitionName ?? \"\") !== \"string\") {\n throw new Error(`Invalid transition name {${transitionName}}`);\n }\n if (!animationName) animationName = \"fade\";\n const scope = createTransitionScope(result, hash);\n const name = transitionName ? cssesc(reEncode(transitionName), { isIdentifier: true }) : scope;\n const sheet = new ViewTransitionStyleSheet(scope, name);\n const animations = getAnimations(animationName);\n if (animations) {\n addPairs(animations, sheet);\n } else if (animationName === \"none\") {\n sheet.addFallback(\"old\", \"animation: none; mix-blend-mode: normal;\");\n sheet.addModern(\"old\", \"animation: none; opacity: 0; mix-blend-mode: normal;\");\n sheet.addAnimationRaw(\"new\", \"animation: none; mix-blend-mode: normal;\");\n sheet.addModern(\"group\", \"animation: none\");\n }\n result._metadata.extraHead.push(markHTMLString(``));\n return scope;\n}\nfunction createAnimationScope(transitionName, animations) {\n const hash = Math.random().toString(36).slice(2, 8);\n const scope = `astro-${hash}`;\n const sheet = new ViewTransitionStyleSheet(scope, transitionName);\n addPairs(animations, sheet);\n return { scope, styles: sheet.toString().replaceAll('\"', \"\") };\n}\nclass ViewTransitionStyleSheet {\n constructor(scope, name) {\n this.scope = scope;\n this.name = name;\n }\n modern = [];\n fallback = [];\n toString() {\n const { scope, name } = this;\n const [modern, fallback] = [this.modern, this.fallback].map((rules) => rules.join(\"\"));\n return [\n `[data-astro-transition-scope=\"${scope}\"] { view-transition-name: ${name}; }`,\n this.layer(modern),\n fallback\n ].join(\"\");\n }\n layer(cssText) {\n return cssText ? `@layer astro { ${cssText} }` : \"\";\n }\n addRule(target, cssText) {\n this[target].push(cssText);\n }\n addAnimationRaw(image, animation) {\n this.addModern(image, animation);\n this.addFallback(image, animation);\n }\n addModern(image, animation) {\n const { name } = this;\n this.addRule(\"modern\", `::view-transition-${image}(${name}) { ${animation} }`);\n }\n addFallback(image, animation) {\n const { scope } = this;\n this.addRule(\n \"fallback\",\n // Two selectors here, the second in case there is an animation on the root.\n `[data-astro-transition-fallback=\"${image}\"] [data-astro-transition-scope=\"${scope}\"],\n\t\t\t[data-astro-transition-fallback=\"${image}\"][data-astro-transition-scope=\"${scope}\"] { ${animation} }`\n );\n }\n addAnimationPair(direction, image, rules) {\n const { scope, name } = this;\n const animation = stringifyAnimation(rules);\n const prefix = direction === \"backwards\" ? `[data-astro-transition=back]` : direction === \"forwards\" ? \"\" : `[data-astro-transition=${direction}]`;\n this.addRule(\"modern\", `${prefix}::view-transition-${image}(${name}) { ${animation} }`);\n this.addRule(\n \"fallback\",\n `${prefix}[data-astro-transition-fallback=\"${image}\"] [data-astro-transition-scope=\"${scope}\"],\n\t\t\t${prefix}[data-astro-transition-fallback=\"${image}\"][data-astro-transition-scope=\"${scope}\"] { ${animation} }`\n );\n }\n}\nfunction addAnimationProperty(builder, prop, value) {\n let arr = builder[prop];\n if (Array.isArray(arr)) {\n arr.push(value.toString());\n } else {\n builder[prop] = [value.toString()];\n }\n}\nfunction animationBuilder() {\n return {\n toString() {\n let out = \"\";\n for (let k in this) {\n let value = this[k];\n if (Array.isArray(value)) {\n out += `\n\t${k}: ${value.join(\", \")};`;\n }\n }\n return out;\n }\n };\n}\nfunction stringifyAnimation(anim) {\n if (Array.isArray(anim)) {\n return stringifyAnimations(anim);\n } else {\n return stringifyAnimations([anim]);\n }\n}\nfunction stringifyAnimations(anims) {\n const builder = animationBuilder();\n for (const anim of anims) {\n if (anim.duration) {\n addAnimationProperty(builder, \"animation-duration\", toTimeValue(anim.duration));\n }\n if (anim.easing) {\n addAnimationProperty(builder, \"animation-timing-function\", anim.easing);\n }\n if (anim.direction) {\n addAnimationProperty(builder, \"animation-direction\", anim.direction);\n }\n if (anim.delay) {\n addAnimationProperty(builder, \"animation-delay\", anim.delay);\n }\n if (anim.fillMode) {\n addAnimationProperty(builder, \"animation-fill-mode\", anim.fillMode);\n }\n addAnimationProperty(builder, \"animation-name\", anim.name);\n }\n return builder.toString();\n}\nfunction toTimeValue(num) {\n return typeof num === \"number\" ? num + \"ms\" : num;\n}\nexport {\n createAnimationScope,\n createTransitionScope,\n renderTransition\n};\n","import { createComponent } from \"./astro-component.js\";\nimport { createAstro } from \"./astro-global.js\";\nimport { renderEndpoint } from \"./endpoint.js\";\nimport {\n escapeHTML,\n HTMLBytes,\n HTMLString,\n isHTMLString,\n markHTMLString,\n unescapeHTML\n} from \"./escape.js\";\nimport { renderJSX } from \"./jsx.js\";\nimport {\n addAttribute,\n createHeadAndContent,\n defineScriptVars,\n Fragment,\n maybeRenderHead,\n renderTemplate,\n renderComponent,\n Renderer,\n renderHead,\n renderHTMLElement,\n renderPage,\n renderScript,\n renderScriptElement,\n renderSlot,\n renderSlotToString,\n renderTemplate as renderTemplate2,\n renderToString,\n renderUniqueStylesheet,\n voidElementNames\n} from \"./render/index.js\";\nimport { createTransitionScope, renderTransition } from \"./transition.js\";\nimport { markHTMLString as markHTMLString2 } from \"./escape.js\";\nimport { Renderer as Renderer2, addAttribute as addAttribute2 } from \"./render/index.js\";\nfunction mergeSlots(...slotted) {\n const slots = {};\n for (const slot of slotted) {\n if (!slot) continue;\n if (typeof slot === \"object\") {\n Object.assign(slots, slot);\n } else if (typeof slot === \"function\") {\n Object.assign(slots, mergeSlots(slot()));\n }\n }\n return slots;\n}\nfunction __astro_tag_component__(Component, rendererName) {\n if (!Component) return;\n if (typeof Component !== \"function\") return;\n Object.defineProperty(Component, Renderer2, {\n value: rendererName,\n enumerable: false,\n writable: false\n });\n}\nfunction spreadAttributes(values = {}, _name, { class: scopedClassName } = {}) {\n let output = \"\";\n if (scopedClassName) {\n if (typeof values.class !== \"undefined\") {\n values.class += ` ${scopedClassName}`;\n } else if (typeof values[\"class:list\"] !== \"undefined\") {\n values[\"class:list\"] = [values[\"class:list\"], scopedClassName];\n } else {\n values.class = scopedClassName;\n }\n }\n for (const [key, value] of Object.entries(values)) {\n output += addAttribute2(value, key, true);\n }\n return markHTMLString2(output);\n}\nfunction defineStyleVars(defs) {\n let output = \"\";\n let arr = !Array.isArray(defs) ? [defs] : defs;\n for (const vars of arr) {\n for (const [key, value] of Object.entries(vars)) {\n if (value || value === 0) {\n output += `--${key}: ${value};`;\n }\n }\n }\n return markHTMLString2(output);\n}\nexport {\n Fragment,\n HTMLBytes,\n HTMLString,\n Renderer,\n __astro_tag_component__,\n addAttribute,\n createAstro,\n createComponent,\n createHeadAndContent,\n createTransitionScope,\n defineScriptVars,\n defineStyleVars,\n escapeHTML,\n isHTMLString,\n markHTMLString,\n maybeRenderHead,\n mergeSlots,\n renderTemplate as render,\n renderComponent,\n renderEndpoint,\n renderHTMLElement,\n renderHead,\n renderJSX,\n renderPage,\n renderScript,\n renderScriptElement,\n renderSlot,\n renderSlotToString,\n renderTemplate2 as renderTemplate,\n renderToString,\n renderTransition,\n renderUniqueStylesheet,\n spreadAttributes,\n unescapeHTML,\n voidElementNames\n};\n"],"names":["AstroErrorData.InvalidComponentArgs","AstroErrorData.AstroGlobUsedOutside","AstroErrorData.AstroGlobNoMatch","AstroErrorData.MissingMediaQueryDirective","AstroErrorData.NoMatchingImport","islandScriptDev","islandScript","AstroErrorData.NoMatchingRenderer","AstroErrorData.NoClientOnlyHint","addAttribute2","markHTMLString2"],"mappings":";;;;;;AAiCA,MAAM,0BAA0B,GAAG;AACnC,EAAE,IAAI,EAAE,4BAA4B;AACpC,EAAE,KAAK,EAAE,6CAA6C;AACtD,EAAE,OAAO,EAAE;AACX,CAAC;AACD,MAAM,kBAAkB,GAAG;AAC3B,EAAE,IAAI,EAAE,oBAAoB;AAC5B,EAAE,KAAK,EAAE,6BAA6B;AACtC,EAAE,OAAO,EAAE,CAAC,aAAa,EAAE,kBAAkB,EAAE,MAAM,EAAE,mBAAmB,KAAK,CAAC,mBAAmB,EAAE,aAAa,CAAC;;AAEnH,EAAE,mBAAmB,GAAG,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,CAAC,CAAC,EAAE,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,GAAG,GAAG,EAAE,CAAC;AAC/G,IAAI,E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,MAAM,CAAC,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE,eAAe,CAAC;AACpE,KAAK,MAAM;AACX,MAAM,MAAM,CAAC,KAAK,GAAG,eAAe;AACpC;AACA;AACA,EAAE,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;AACrD,IAAI,MAAM,IAAIE,YAAa,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,CAAC;AAC7C;AACA,EAAE,OAAOC,cAAe,CAAC,MAAM,CAAC;AAChC;;;;","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]} \ No newline at end of file diff --git a/Target/chunks/astro/server_Du8QYgn4.mjs.map b/Target/chunks/astro/server_Du8QYgn4.mjs.map deleted file mode 100644 index 863a8b52..00000000 --- a/Target/chunks/astro/server_Du8QYgn4.mjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"server_Du8QYgn4.mjs","sources":["../../../../../../../node_modules/astro/dist/core/errors/errors-data.js","../../../../../../../node_modules/astro/dist/core/errors/utils.js","../../../../../../../node_modules/astro/dist/core/errors/printer.js","../../../../../../../node_modules/astro/dist/core/errors/errors.js","../../../../../../../node_modules/astro/dist/runtime/server/astro-component.js","../../../../../../../node_modules/astro/dist/core/constants.js","../../../../../../../node_modules/astro/dist/runtime/server/astro-global.js","../../../../../../../node_modules/astro/dist/runtime/server/util.js","../../../../../../../node_modules/astro/dist/runtime/server/escape.js","../../../../../../../node_modules/astro/dist/runtime/server/render/instruction.js","../../../../../../../node_modules/astro/dist/runtime/server/serialize.js","../../../../../../../node_modules/astro/dist/runtime/server/hydration.js","../../../../../../../node_modules/astro/dist/runtime/server/shorthash.js","../../../../../../../node_modules/astro/dist/runtime/server/render/astro/factory.js","../../../../../../../node_modules/astro/dist/runtime/server/render/astro/head-and-content.js","../../../../../../../node_modules/astro/dist/runtime/server/astro-island.prebuilt-dev.js","../../../../../../../node_modules/astro/dist/runtime/server/astro-island.prebuilt.js","../../../../../../../node_modules/astro/dist/runtime/server/scripts.js","../../../../../../../node_modules/astro/dist/runtime/server/render/util.js","../../../../../../../node_modules/astro/dist/runtime/server/render/head.js","../../../../../../../node_modules/astro/dist/runtime/server/render/astro/render-template.js","../../../../../../../node_modules/astro/dist/runtime/server/render/slot.js","../../../../../../../node_modules/astro/dist/runtime/server/render/common.js","../../../../../../../node_modules/astro/dist/runtime/server/render/any.js","../../../../../../../node_modules/astro/dist/runtime/server/render/astro/instance.js","../../../../../../../node_modules/astro/dist/runtime/server/render/dom.js","../../../../../../../node_modules/astro/dist/core/encryption.js","../../../../../../../node_modules/astro/dist/runtime/server/render/server-islands.js","../../../../../../../node_modules/astro/dist/runtime/server/render/component.js","../../../../../../../node_modules/astro/dist/runtime/server/render/script.js","../../../../../../../node_modules/astro/dist/runtime/server/transition.js","../../../../../../../node_modules/astro/dist/runtime/server/index.js"],"sourcesContent":["const UnknownCompilerError = {\n name: \"UnknownCompilerError\",\n title: \"Unknown compiler error.\",\n hint: \"This is almost always a problem with the Astro compiler, not your code. Please open an issue at https://astro.build/issues/compiler.\"\n};\nconst ClientAddressNotAvailable = {\n name: \"ClientAddressNotAvailable\",\n title: \"`Astro.clientAddress` is not available in current adapter.\",\n message: (adapterName) => `\\`Astro.clientAddress\\` is not available in the \\`${adapterName}\\` adapter. File an issue with the adapter to add support.`\n};\nconst PrerenderClientAddressNotAvailable = {\n name: \"PrerenderClientAddressNotAvailable\",\n title: \"`Astro.clientAddress` cannot be used inside prerendered routes.\",\n message: `\\`Astro.clientAddress\\` cannot be used inside prerendered routes`\n};\nconst StaticClientAddressNotAvailable = {\n name: \"StaticClientAddressNotAvailable\",\n title: \"`Astro.clientAddress` is not available in prerendered pages.\",\n message: \"`Astro.clientAddress` is only available on pages that are server-rendered.\",\n hint: \"See https://docs.astro.build/en/guides/server-side-rendering/ for more information on how to enable SSR.\"\n};\nconst NoMatchingStaticPathFound = {\n name: \"NoMatchingStaticPathFound\",\n title: \"No static path found for requested path.\",\n message: (pathName) => `A \\`getStaticPaths()\\` route pattern was matched, but no matching static path was found for requested path \\`${pathName}\\`.`,\n hint: (possibleRoutes) => `Possible dynamic routes being matched: ${possibleRoutes.join(\", \")}.`\n};\nconst OnlyResponseCanBeReturned = {\n name: \"OnlyResponseCanBeReturned\",\n title: \"Invalid type returned by Astro page.\",\n message: (route, returnedValue) => `Route \\`${route ? route : \"\"}\\` returned a \\`${returnedValue}\\`. Only a [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) can be returned from Astro files.`,\n hint: \"See https://docs.astro.build/en/guides/server-side-rendering/#response for more information.\"\n};\nconst MissingMediaQueryDirective = {\n name: \"MissingMediaQueryDirective\",\n title: \"Missing value for `client:media` directive.\",\n message: 'Media query not provided for `client:media` directive. A media query similar to `client:media=\"(max-width: 600px)\"` must be provided'\n};\nconst NoMatchingRenderer = {\n name: \"NoMatchingRenderer\",\n title: \"No matching renderer found.\",\n message: (componentName, componentExtension, plural, validRenderersCount) => `Unable to render \\`${componentName}\\`.\n\n${validRenderersCount > 0 ? `There ${plural ? \"are\" : \"is\"} ${validRenderersCount} renderer${plural ? \"s\" : \"\"} configured in your \\`astro.config.mjs\\` file,\nbut ${plural ? \"none were\" : \"it was not\"} able to server-side render \\`${componentName}\\`.` : `No valid renderer was found ${componentExtension ? `for the \\`.${componentExtension}\\` file extension.` : `for this file extension.`}`}`,\n hint: (probableRenderers) => `Did you mean to enable the ${probableRenderers} integration?\n\nSee https://docs.astro.build/en/guides/framework-components/ for more information on how to install and configure integrations.`\n};\nconst NoClientEntrypoint = {\n name: \"NoClientEntrypoint\",\n title: \"No client entrypoint specified in renderer.\",\n message: (componentName, clientDirective, rendererName) => `\\`${componentName}\\` component has a \\`client:${clientDirective}\\` directive, but no client entrypoint was provided by \\`${rendererName}\\`.`,\n hint: \"See https://docs.astro.build/en/reference/integrations-reference/#addrenderer-option for more information on how to configure your renderer.\"\n};\nconst NoClientOnlyHint = {\n name: \"NoClientOnlyHint\",\n title: \"Missing hint on client:only directive.\",\n message: (componentName) => `Unable to render \\`${componentName}\\`. When using the \\`client:only\\` hydration strategy, Astro needs a hint to use the correct renderer.`,\n hint: (probableRenderers) => `Did you mean to pass \\`client:only=\"${probableRenderers}\"\\`? See https://docs.astro.build/en/reference/directives-reference/#clientonly for more information on client:only`\n};\nconst InvalidGetStaticPathParam = {\n name: \"InvalidGetStaticPathParam\",\n title: \"Invalid value returned by a `getStaticPaths` path.\",\n message: (paramType) => `Invalid params given to \\`getStaticPaths\\` path. Expected an \\`object\\`, got \\`${paramType}\\``,\n hint: \"See https://docs.astro.build/en/reference/api-reference/#getstaticpaths for more information on getStaticPaths.\"\n};\nconst InvalidGetStaticPathsEntry = {\n name: \"InvalidGetStaticPathsEntry\",\n title: \"Invalid entry inside getStaticPath's return value\",\n message: (entryType) => `Invalid entry returned by getStaticPaths. Expected an object, got \\`${entryType}\\``,\n hint: \"If you're using a `.map` call, you might be looking for `.flatMap()` instead. See https://docs.astro.build/en/reference/api-reference/#getstaticpaths for more information on getStaticPaths.\"\n};\nconst InvalidGetStaticPathsReturn = {\n name: \"InvalidGetStaticPathsReturn\",\n title: \"Invalid value returned by getStaticPaths.\",\n message: (returnType) => `Invalid type returned by \\`getStaticPaths\\`. Expected an \\`array\\`, got \\`${returnType}\\``,\n hint: \"See https://docs.astro.build/en/reference/api-reference/#getstaticpaths for more information on getStaticPaths.\"\n};\nconst GetStaticPathsExpectedParams = {\n name: \"GetStaticPathsExpectedParams\",\n title: \"Missing params property on `getStaticPaths` route.\",\n message: \"Missing or empty required `params` property on `getStaticPaths` route.\",\n hint: \"See https://docs.astro.build/en/reference/api-reference/#getstaticpaths for more information on getStaticPaths.\"\n};\nconst GetStaticPathsInvalidRouteParam = {\n name: \"GetStaticPathsInvalidRouteParam\",\n title: \"Invalid value for `getStaticPaths` route parameter.\",\n message: (key, value, valueType) => `Invalid getStaticPaths route parameter for \\`${key}\\`. Expected undefined, a string or a number, received \\`${valueType}\\` (\\`${value}\\`)`,\n hint: \"See https://docs.astro.build/en/reference/api-reference/#getstaticpaths for more information on getStaticPaths.\"\n};\nconst GetStaticPathsRequired = {\n name: \"GetStaticPathsRequired\",\n title: \"`getStaticPaths()` function required for dynamic routes.\",\n message: \"`getStaticPaths()` function is required for dynamic routes. Make sure that you `export` a `getStaticPaths` function from your dynamic route.\",\n hint: `See https://docs.astro.build/en/guides/routing/#dynamic-routes for more information on dynamic routes.\n\n\tIf you meant for this route to be server-rendered, set \\`export const prerender = false;\\` in the page.`\n};\nconst ReservedSlotName = {\n name: \"ReservedSlotName\",\n title: \"Invalid slot name.\",\n message: (slotName) => `Unable to create a slot named \\`${slotName}\\`. \\`${slotName}\\` is a reserved slot name. Please update the name of this slot.`\n};\nconst NoAdapterInstalled = {\n name: \"NoAdapterInstalled\",\n title: \"Cannot use Server-side Rendering without an adapter.\",\n message: `Cannot use server-rendered pages without an adapter. Please install and configure the appropriate server adapter for your final deployment.`,\n hint: \"See https://docs.astro.build/en/guides/server-side-rendering/ for more information.\"\n};\nconst AdapterSupportOutputMismatch = {\n name: \"AdapterSupportOutputMismatch\",\n title: \"Adapter does not support server output.\",\n message: (adapterName) => `The \\`${adapterName}\\` adapter is configured to output a static website, but the project contains server-rendered pages. Please install and configure the appropriate server adapter for your final deployment.`\n};\nconst NoAdapterInstalledServerIslands = {\n name: \"NoAdapterInstalledServerIslands\",\n title: \"Cannot use Server Islands without an adapter.\",\n message: `Cannot use server islands without an adapter. Please install and configure the appropriate server adapter for your final deployment.`,\n hint: \"See https://5-0-0-beta.docs.astro.build/en/guides/on-demand-rendering/ for more information.\"\n};\nconst NoMatchingImport = {\n name: \"NoMatchingImport\",\n title: \"No import found for component.\",\n message: (componentName) => `Could not render \\`${componentName}\\`. No matching import has been found for \\`${componentName}\\`.`,\n hint: \"Please make sure the component is properly imported.\"\n};\nconst InvalidPrerenderExport = {\n name: \"InvalidPrerenderExport\",\n title: \"Invalid prerender export.\",\n message(prefix, suffix, isHydridOutput) {\n const defaultExpectedValue = isHydridOutput ? \"false\" : \"true\";\n let msg = `A \\`prerender\\` export has been detected, but its value cannot be statically analyzed.`;\n if (prefix !== \"const\") msg += `\nExpected \\`const\\` declaration but got \\`${prefix}\\`.`;\n if (suffix !== \"true\")\n msg += `\nExpected \\`${defaultExpectedValue}\\` value but got \\`${suffix}\\`.`;\n return msg;\n },\n hint: \"Mutable values declared at runtime are not supported. Please make sure to use exactly `export const prerender = true`.\"\n};\nconst InvalidComponentArgs = {\n name: \"InvalidComponentArgs\",\n title: \"Invalid component arguments.\",\n message: (name) => `Invalid arguments passed to${name ? ` <${name}>` : \"\"} component.`,\n hint: \"Astro components cannot be rendered directly via function call, such as `Component()` or `{items.map(Component)}`.\"\n};\nconst PageNumberParamNotFound = {\n name: \"PageNumberParamNotFound\",\n title: \"Page number param not found.\",\n message: (paramName) => `[paginate()] page number param \\`${paramName}\\` not found in your filepath.`,\n hint: \"Rename your file to `[page].astro` or `[...page].astro`.\"\n};\nconst ImageMissingAlt = {\n name: \"ImageMissingAlt\",\n title: 'Image missing required \"alt\" property.',\n message: 'Image missing \"alt\" property. \"alt\" text is required to describe important images on the page.',\n hint: 'Use an empty string (\"\") for decorative images.'\n};\nconst InvalidImageService = {\n name: \"InvalidImageService\",\n title: \"Error while loading image service.\",\n message: \"There was an error loading the configured image service. Please see the stack trace for more information.\"\n};\nconst MissingImageDimension = {\n name: \"MissingImageDimension\",\n title: \"Missing image dimensions\",\n message: (missingDimension, imageURL) => `Missing ${missingDimension === \"both\" ? \"width and height attributes\" : `${missingDimension} attribute`} for ${imageURL}. When using remote images, both dimensions are required in order to avoid CLS.`,\n hint: \"If your image is inside your `src` folder, you probably meant to import it instead. See [the Imports guide for more information](https://docs.astro.build/en/guides/imports/#other-assets). You can also use `inferSize={true}` for remote images to get the original dimensions.\"\n};\nconst FailedToFetchRemoteImageDimensions = {\n name: \"FailedToFetchRemoteImageDimensions\",\n title: \"Failed to retrieve remote image dimensions\",\n message: (imageURL) => `Failed to get the dimensions for ${imageURL}.`,\n hint: \"Verify your remote image URL is accurate, and that you are not using `inferSize` with a file located in your `public/` folder.\"\n};\nconst UnsupportedImageFormat = {\n name: \"UnsupportedImageFormat\",\n title: \"Unsupported image format\",\n message: (format, imagePath, supportedFormats) => `Received unsupported format \\`${format}\\` from \\`${imagePath}\\`. Currently only ${supportedFormats.join(\n \", \"\n )} are supported by our image services.`,\n hint: \"Using an `img` tag directly instead of the `Image` component might be what you're looking for.\"\n};\nconst UnsupportedImageConversion = {\n name: \"UnsupportedImageConversion\",\n title: \"Unsupported image conversion\",\n message: \"Converting between vector (such as SVGs) and raster (such as PNGs and JPEGs) images is not currently supported.\"\n};\nconst PrerenderDynamicEndpointPathCollide = {\n name: \"PrerenderDynamicEndpointPathCollide\",\n title: \"Prerendered dynamic endpoint has path collision.\",\n message: (pathname) => `Could not render \\`${pathname}\\` with an \\`undefined\\` param as the generated path will collide during prerendering. Prevent passing \\`undefined\\` as \\`params\\` for the endpoint's \\`getStaticPaths()\\` function, or add an additional extension to the endpoint's filename.`,\n hint: (filename) => `Rename \\`${filename}\\` to \\`${filename.replace(/\\.(?:js|ts)/, (m) => `.json` + m)}\\``\n};\nconst ExpectedImage = {\n name: \"ExpectedImage\",\n title: \"Expected src to be an image.\",\n message: (src, typeofOptions, fullOptions) => `Expected \\`src\\` property for \\`getImage\\` or \\`\\` to be either an ESM imported image or a string with the path of a remote image. Received \\`${src}\\` (type: \\`${typeofOptions}\\`).\n\nFull serialized options received: \\`${fullOptions}\\`.`,\n hint: \"This error can often happen because of a wrong path. Make sure the path to your image is correct. If you're passing an async function, make sure to call and await it.\"\n};\nconst ExpectedImageOptions = {\n name: \"ExpectedImageOptions\",\n title: \"Expected image options.\",\n message: (options) => `Expected getImage() parameter to be an object. Received \\`${options}\\`.`\n};\nconst ExpectedNotESMImage = {\n name: \"ExpectedNotESMImage\",\n title: \"Expected image options, not an ESM-imported image.\",\n message: \"An ESM-imported image cannot be passed directly to `getImage()`. Instead, pass an object with the image in the `src` property.\",\n hint: \"Try changing `getImage(myImage)` to `getImage({ src: myImage })`\"\n};\nconst IncompatibleDescriptorOptions = {\n name: \"IncompatibleDescriptorOptions\",\n title: \"Cannot set both `densities` and `widths`\",\n message: \"Only one of `densities` or `widths` can be specified. In most cases, you'll probably want to use only `widths` if you require specific widths.\",\n hint: \"Those attributes are used to construct a `srcset` attribute, which cannot have both `x` and `w` descriptors.\"\n};\nconst ImageNotFound = {\n name: \"ImageNotFound\",\n title: \"Image not found.\",\n message: (imagePath) => `Could not find requested image \\`${imagePath}\\`. Does it exist?`,\n hint: \"This is often caused by a typo in the image path. Please make sure the file exists, and is spelled correctly.\"\n};\nconst NoImageMetadata = {\n name: \"NoImageMetadata\",\n title: \"Could not process image metadata.\",\n message: (imagePath) => `Could not process image metadata${imagePath ? ` for \\`${imagePath}\\`` : \"\"}.`,\n hint: \"This is often caused by a corrupted or malformed image. Re-exporting the image from your image editor may fix this issue.\"\n};\nconst CouldNotTransformImage = {\n name: \"CouldNotTransformImage\",\n title: \"Could not transform image.\",\n message: (imagePath) => `Could not transform image \\`${imagePath}\\`. See the stack trace for more information.`,\n hint: \"This is often caused by a corrupted or malformed image. Re-exporting the image from your image editor may fix this issue.\"\n};\nconst ResponseSentError = {\n name: \"ResponseSentError\",\n title: \"Unable to set response.\",\n message: \"The response has already been sent to the browser and cannot be altered.\"\n};\nconst MiddlewareNoDataOrNextCalled = {\n name: \"MiddlewareNoDataOrNextCalled\",\n title: \"The middleware didn't return a `Response`.\",\n message: \"Make sure your middleware returns a `Response` object, either directly or by returning the `Response` from calling the `next` function.\"\n};\nconst MiddlewareNotAResponse = {\n name: \"MiddlewareNotAResponse\",\n title: \"The middleware returned something that is not a `Response` object.\",\n message: \"Any data returned from middleware must be a valid `Response` object.\"\n};\nconst EndpointDidNotReturnAResponse = {\n name: \"EndpointDidNotReturnAResponse\",\n title: \"The endpoint did not return a `Response`.\",\n message: \"An endpoint must return either a `Response`, or a `Promise` that resolves with a `Response`.\"\n};\nconst LocalsNotAnObject = {\n name: \"LocalsNotAnObject\",\n title: \"Value assigned to `locals` is not accepted.\",\n message: \"`locals` can only be assigned to an object. Other values like numbers, strings, etc. are not accepted.\",\n hint: \"If you tried to remove some information from the `locals` object, try to use `delete` or set the property to `undefined`.\"\n};\nconst LocalsReassigned = {\n name: \"LocalsReassigned\",\n title: \"`locals` must not be reassigned.\",\n message: \"`locals` can not be assigned directly.\",\n hint: \"Set a `locals` property instead.\"\n};\nconst AstroResponseHeadersReassigned = {\n name: \"AstroResponseHeadersReassigned\",\n title: \"`Astro.response.headers` must not be reassigned.\",\n message: \"Individual headers can be added to and removed from `Astro.response.headers`, but it must not be replaced with another instance of `Headers` altogether.\",\n hint: \"Consider using `Astro.response.headers.add()`, and `Astro.response.headers.delete()`.\"\n};\nconst MiddlewareCantBeLoaded = {\n name: \"MiddlewareCantBeLoaded\",\n title: \"Can't load the middleware.\",\n message: \"An unknown error was thrown while loading your middleware.\"\n};\nconst LocalImageUsedWrongly = {\n name: \"LocalImageUsedWrongly\",\n title: \"Local images must be imported.\",\n message: (imageFilePath) => `\\`Image\\`'s and \\`getImage\\`'s \\`src\\` parameter must be an imported image or an URL, it cannot be a string filepath. Received \\`${imageFilePath}\\`.`,\n hint: \"If you want to use an image from your `src` folder, you need to either import it or if the image is coming from a content collection, use the [image() schema helper](https://docs.astro.build/en/guides/images/#images-in-content-collections). See https://docs.astro.build/en/guides/images/#src-required for more information on the `src` property.\"\n};\nconst AstroGlobUsedOutside = {\n name: \"AstroGlobUsedOutside\",\n title: \"Astro.glob() used outside of an Astro file.\",\n message: (globStr) => `\\`Astro.glob(${globStr})\\` can only be used in \\`.astro\\` files. \\`import.meta.glob(${globStr})\\` can be used instead to achieve a similar result.`,\n hint: \"See Vite's documentation on `import.meta.glob` for more information: https://vite.dev/guide/features.html#glob-import\"\n};\nconst AstroGlobNoMatch = {\n name: \"AstroGlobNoMatch\",\n title: \"Astro.glob() did not match any files.\",\n message: (globStr) => `\\`Astro.glob(${globStr})\\` did not return any matching files.`,\n hint: \"Check the pattern for typos.\"\n};\nconst RedirectWithNoLocation = {\n name: \"RedirectWithNoLocation\",\n title: \"A redirect must be given a location with the `Location` header.\"\n};\nconst InvalidDynamicRoute = {\n name: \"InvalidDynamicRoute\",\n title: \"Invalid dynamic route.\",\n message: (route, invalidParam, received) => `The ${invalidParam} param for route ${route} is invalid. Received **${received}**.`\n};\nconst MissingSharp = {\n name: \"MissingSharp\",\n title: \"Could not find Sharp.\",\n message: \"Could not find Sharp. Please install Sharp (`sharp`) manually into your project or migrate to another image service.\",\n hint: \"See Sharp's installation instructions for more information: https://sharp.pixelplumbing.com/install. If you are not relying on `astro:assets` to optimize, transform, or process any images, you can configure a passthrough image service instead of installing Sharp. See https://docs.astro.build/en/reference/errors/missing-sharp for more information.\\n\\nSee https://docs.astro.build/en/guides/images/#default-image-service for more information on how to migrate to another image service.\"\n};\nconst UnknownViteError = {\n name: \"UnknownViteError\",\n title: \"Unknown Vite Error.\"\n};\nconst FailedToLoadModuleSSR = {\n name: \"FailedToLoadModuleSSR\",\n title: \"Could not import file.\",\n message: (importName) => `Could not import \\`${importName}\\`.`,\n hint: \"This is often caused by a typo in the import path. Please make sure the file exists.\"\n};\nconst InvalidGlob = {\n name: \"InvalidGlob\",\n title: \"Invalid glob pattern.\",\n message: (globPattern) => `Invalid glob pattern: \\`${globPattern}\\`. Glob patterns must start with './', '../' or '/'.`,\n hint: \"See https://docs.astro.build/en/guides/imports/#glob-patterns for more information on supported glob patterns.\"\n};\nconst FailedToFindPageMapSSR = {\n name: \"FailedToFindPageMapSSR\",\n title: \"Astro couldn't find the correct page to render\",\n message: \"Astro couldn't find the correct page to render, probably because it wasn't correctly mapped for SSR usage. This is an internal error. Please file an issue.\"\n};\nconst MissingLocale = {\n name: \"MissingLocaleError\",\n title: \"The provided locale does not exist.\",\n message: (locale) => `The locale/path \\`${locale}\\` does not exist in the configured \\`i18n.locales\\`.`\n};\nconst MissingIndexForInternationalization = {\n name: \"MissingIndexForInternationalizationError\",\n title: \"Index page not found.\",\n message: (defaultLocale) => `Could not find index page. A root index page is required in order to create a redirect to the index URL of the default locale. (\\`/${defaultLocale}\\`)`,\n hint: (src) => `Create an index page (\\`index.astro, index.md, etc.\\`) in \\`${src}\\`.`\n};\nconst IncorrectStrategyForI18n = {\n name: \"IncorrectStrategyForI18n\",\n title: \"You can't use the current function with the current strategy\",\n message: (functionName) => `The function \\`${functionName}\\` can only be used when the \\`i18n.routing.strategy\\` is set to \\`\"manual\"\\`.`\n};\nconst NoPrerenderedRoutesWithDomains = {\n name: \"NoPrerenderedRoutesWithDomains\",\n title: \"Prerendered routes aren't supported when internationalization domains are enabled.\",\n message: (component) => `Static pages aren't yet supported with multiple domains. To enable this feature, you must disable prerendering for the page ${component}`\n};\nconst MissingMiddlewareForInternationalization = {\n name: \"MissingMiddlewareForInternationalization\",\n title: \"Enabled manual internationalization routing without having a middleware.\",\n message: \"Your configuration setting `i18n.routing: 'manual'` requires you to provide your own i18n `middleware` file.\"\n};\nconst CantRenderPage = {\n name: \"CantRenderPage\",\n title: \"Astro can't render the route.\",\n message: \"Astro cannot find any content to render for this route. There is no file or redirect associated with this route.\",\n hint: \"If you expect to find a route here, this may be an Astro bug. Please file an issue/restart the dev server\"\n};\nconst UnhandledRejection = {\n name: \"UnhandledRejection\",\n title: \"Unhandled rejection\",\n message: (stack) => `Astro detected an unhandled rejection. Here's the stack trace:\n${stack}`,\n hint: \"Make sure your promises all have an `await` or a `.catch()` handler.\"\n};\nconst i18nNotEnabled = {\n name: \"i18nNotEnabled\",\n title: \"i18n Not Enabled\",\n message: \"The `astro:i18n` module can not be used without enabling i18n in your Astro config.\",\n hint: \"See https://docs.astro.build/en/guides/internationalization for a guide on setting up i18n.\"\n};\nconst i18nNoLocaleFoundInPath = {\n name: \"i18nNoLocaleFoundInPath\",\n title: \"The path doesn't contain any locale\",\n message: \"You tried to use an i18n utility on a path that doesn't contain any locale. You can use `pathHasLocale` first to determine if the path has a locale.\"\n};\nconst RouteNotFound = {\n name: \"RouteNotFound\",\n title: \"Route not found.\",\n message: `Astro could not find a route that matches the one you requested.`\n};\nconst EnvInvalidVariables = {\n name: \"EnvInvalidVariables\",\n title: \"Invalid Environment Variables\",\n message: (errors) => `The following environment variables defined in \\`env.schema\\` are invalid:\n\n${errors.map((err) => `- ${err}`).join(\"\\n\")}\n`\n};\nconst EnvUnsupportedGetSecret = {\n name: \"EnvUnsupportedGetSecret\",\n title: \"Unsupported astro:env getSecret\",\n message: \"`astro:env/server` exported function `getSecret` is not supported by your adapter.\"\n};\nconst ServerOnlyModule = {\n name: \"ServerOnlyModule\",\n title: \"Module is only available server-side\",\n message: (name) => `The \"${name}\" module is only available server-side.`\n};\nconst RewriteWithBodyUsed = {\n name: \"RewriteWithBodyUsed\",\n title: \"Cannot use Astro.rewrite after the request body has been read\",\n message: \"Astro.rewrite() cannot be used if the request body has already been read. If you need to read the body, first clone the request.\"\n};\nconst UnknownFilesystemError = {\n name: \"UnknownFilesystemError\",\n title: \"An unknown error occurred while reading or writing files to disk.\",\n hint: \"It can be caused by many things, eg. missing permissions or a file not existing we attempt to read. Check the error cause for more details.\"\n};\nconst UnknownCSSError = {\n name: \"UnknownCSSError\",\n title: \"Unknown CSS Error.\"\n};\nconst CSSSyntaxError = {\n name: \"CSSSyntaxError\",\n title: \"CSS Syntax Error.\"\n};\nconst UnknownMarkdownError = {\n name: \"UnknownMarkdownError\",\n title: \"Unknown Markdown Error.\"\n};\nconst MarkdownFrontmatterParseError = {\n name: \"MarkdownFrontmatterParseError\",\n title: \"Failed to parse Markdown frontmatter.\"\n};\nconst InvalidFrontmatterInjectionError = {\n name: \"InvalidFrontmatterInjectionError\",\n title: \"Invalid frontmatter injection.\",\n message: 'A remark or rehype plugin attempted to inject invalid frontmatter. Ensure \"astro.frontmatter\" is set to a valid JSON object that is not `null` or `undefined`.',\n hint: \"See the frontmatter injection docs https://docs.astro.build/en/guides/markdown-content/#modifying-frontmatter-programmatically for more information.\"\n};\nconst MdxIntegrationMissingError = {\n name: \"MdxIntegrationMissingError\",\n title: \"MDX integration missing.\",\n message: (file) => `Unable to render ${file}. Ensure that the \\`@astrojs/mdx\\` integration is installed.`,\n hint: \"See the MDX integration docs for installation and usage instructions: https://docs.astro.build/en/guides/integrations-guide/mdx/\"\n};\nconst UnknownConfigError = {\n name: \"UnknownConfigError\",\n title: \"Unknown configuration error.\"\n};\nconst ConfigNotFound = {\n name: \"ConfigNotFound\",\n title: \"Specified configuration file not found.\",\n message: (configFile) => `Unable to resolve \\`--config \"${configFile}\"\\`. Does the file exist?`\n};\nconst ConfigLegacyKey = {\n name: \"ConfigLegacyKey\",\n title: \"Legacy configuration detected.\",\n message: (legacyConfigKey) => `Legacy configuration detected: \\`${legacyConfigKey}\\`.`,\n hint: \"Please update your configuration to the new format.\\nSee https://astro.build/config for more information.\"\n};\nconst UnknownCLIError = {\n name: \"UnknownCLIError\",\n title: \"Unknown CLI Error.\"\n};\nconst GenerateContentTypesError = {\n name: \"GenerateContentTypesError\",\n title: \"Failed to generate content types.\",\n message: (errorMessage) => `\\`astro sync\\` command failed to generate content collection types: ${errorMessage}`,\n hint: \"Check your `src/content/config.*` file for typos.\"\n};\nconst UnknownContentCollectionError = {\n name: \"UnknownContentCollectionError\",\n title: \"Unknown Content Collection Error.\"\n};\nconst RenderUndefinedEntryError = {\n name: \"RenderUndefinedEntryError\",\n title: \"Attempted to render an undefined content collection entry.\",\n hint: \"Check if the entry is undefined before passing it to `render()`\"\n};\nconst GetEntryDeprecationError = {\n name: \"GetEntryDeprecationError\",\n title: \"Invalid use of `getDataEntryById` or `getEntryBySlug` function.\",\n message: (collection, method) => `The \\`${method}\\` function is deprecated and cannot be used to query the \"${collection}\" collection. Use \\`getEntry\\` instead.`,\n hint: \"Use the `getEntry` or `getCollection` functions to query content layer collections.\"\n};\nconst InvalidContentEntryFrontmatterError = {\n name: \"InvalidContentEntryFrontmatterError\",\n title: \"Content entry frontmatter does not match schema.\",\n message(collection, entryId, error) {\n return [\n `**${String(collection)} \\u2192 ${String(\n entryId\n )}** frontmatter does not match collection schema.`,\n ...error.errors.map((zodError) => zodError.message)\n ].join(\"\\n\");\n },\n hint: \"See https://docs.astro.build/en/guides/content-collections/ for more information on content schemas.\"\n};\nconst InvalidContentEntryDataError = {\n name: \"InvalidContentEntryDataError\",\n title: \"Content entry data does not match schema.\",\n message(collection, entryId, error) {\n return [\n `**${String(collection)} \\u2192 ${String(entryId)}** data does not match collection schema.`,\n ...error.errors.map((zodError) => zodError.message)\n ].join(\"\\n\");\n },\n hint: \"See https://docs.astro.build/en/guides/content-collections/ for more information on content schemas.\"\n};\nconst ContentEntryDataError = {\n name: \"ContentEntryDataError\",\n title: \"Content entry data does not match schema.\",\n message(collection, entryId, error) {\n return [\n `**${String(collection)} \\u2192 ${String(entryId)}** data does not match collection schema.`,\n ...error.errors.map((zodError) => zodError.message)\n ].join(\"\\n\");\n },\n hint: \"See https://docs.astro.build/en/guides/content-collections/ for more information on content schemas.\"\n};\nconst ContentLoaderInvalidDataError = {\n name: \"ContentLoaderInvalidDataError\",\n title: \"Content entry is missing an ID\",\n message(collection, extra) {\n return `**${String(collection)}** entry is missing an ID.\n${extra}`;\n },\n hint: \"See https://docs.astro.build/en/guides/content-collections/ for more information on content loaders.\"\n};\nconst InvalidContentEntrySlugError = {\n name: \"InvalidContentEntrySlugError\",\n title: \"Invalid content entry slug.\",\n message(collection, entryId) {\n return `${String(collection)} \\u2192 ${String(\n entryId\n )} has an invalid slug. \\`slug\\` must be a string.`;\n },\n hint: \"See https://docs.astro.build/en/guides/content-collections/ for more on the `slug` field.\"\n};\nconst ContentSchemaContainsSlugError = {\n name: \"ContentSchemaContainsSlugError\",\n title: \"Content Schema should not contain `slug`.\",\n message: (collectionName) => `A content collection schema should not contain \\`slug\\` since it is reserved for slug generation. Remove this from your ${collectionName} collection schema.`,\n hint: \"See https://docs.astro.build/en/guides/content-collections/ for more on the `slug` field.\"\n};\nconst MixedContentDataCollectionError = {\n name: \"MixedContentDataCollectionError\",\n title: \"Content and data cannot be in same collection.\",\n message: (collectionName) => `**${collectionName}** contains a mix of content and data entries. All entries must be of the same type.`,\n hint: \"Store data entries in a new collection separate from your content collection.\"\n};\nconst ContentCollectionTypeMismatchError = {\n name: \"ContentCollectionTypeMismatchError\",\n title: \"Collection contains entries of a different type.\",\n message: (collection, expectedType, actualType) => `${collection} contains ${expectedType} entries, but is configured as a ${actualType} collection.`\n};\nconst DataCollectionEntryParseError = {\n name: \"DataCollectionEntryParseError\",\n title: \"Data collection entry failed to parse.\",\n message(entryId, errorMessage) {\n return `**${entryId}** failed to parse: ${errorMessage}`;\n },\n hint: \"Ensure your data entry is an object with valid JSON (for `.json` entries) or YAML (for `.yaml` entries).\"\n};\nconst DuplicateContentEntrySlugError = {\n name: \"DuplicateContentEntrySlugError\",\n title: \"Duplicate content entry slug.\",\n message(collection, slug, preExisting, alsoFound) {\n return `**${collection}** contains multiple entries with the same slug: \\`${slug}\\`. Slugs must be unique.\n\nEntries: \n- ${preExisting}\n- ${alsoFound}`;\n }\n};\nconst UnsupportedConfigTransformError = {\n name: \"UnsupportedConfigTransformError\",\n title: \"Unsupported transform in content config.\",\n message: (parseError) => `\\`transform()\\` functions in your content config must return valid JSON, or data types compatible with the devalue library (including Dates, Maps, and Sets).\nFull error: ${parseError}`,\n hint: \"See the devalue library for all supported types: https://github.com/rich-harris/devalue\"\n};\nconst ActionsWithoutServerOutputError = {\n name: \"ActionsWithoutServerOutputError\",\n title: \"Actions must be used with server output.\",\n message: \"A server is required to create callable backend functions. To deploy routes to a server, add an adapter to your Astro config and configure your route for on-demand rendering\",\n hint: \"Add an adapter and enable on-demand rendering: https://5-0-0-beta.docs.astro.build/en/guides/on-demand-rendering/\"\n};\nconst ActionsReturnedInvalidDataError = {\n name: \"ActionsReturnedInvalidDataError\",\n title: \"Action handler returned invalid data.\",\n message: (error) => `Action handler returned invalid data. Handlers should return serializable data types like objects, arrays, strings, and numbers. Parse error: ${error}`,\n hint: \"See the devalue library for all supported types: https://github.com/rich-harris/devalue\"\n};\nconst ActionNotFoundError = {\n name: \"ActionNotFoundError\",\n title: \"Action not found.\",\n message: (actionName) => `The server received a request for an action named \\`${actionName}\\` but could not find a match. If you renamed an action, check that you've updated your \\`actions/index\\` file and your calling code to match.`,\n hint: \"You can run `astro check` to detect type errors caused by mismatched action names.\"\n};\nconst ActionCalledFromServerError = {\n name: \"ActionCalledFromServerError\",\n title: \"Action unexpected called from the server.\",\n message: \"Action called from a server page or endpoint without using `Astro.callAction()`. This wrapper must be used to call actions from server code.\",\n hint: \"See the `Astro.callAction()` reference for usage examples: https://docs.astro.build/en/reference/api-reference/#astrocallaction\"\n};\nconst UnknownError = { name: \"UnknownError\", title: \"Unknown Error.\" };\nexport {\n ActionCalledFromServerError,\n ActionNotFoundError,\n ActionsReturnedInvalidDataError,\n ActionsWithoutServerOutputError,\n AdapterSupportOutputMismatch,\n AstroGlobNoMatch,\n AstroGlobUsedOutside,\n AstroResponseHeadersReassigned,\n CSSSyntaxError,\n CantRenderPage,\n ClientAddressNotAvailable,\n ConfigLegacyKey,\n ConfigNotFound,\n ContentCollectionTypeMismatchError,\n ContentEntryDataError,\n ContentLoaderInvalidDataError,\n ContentSchemaContainsSlugError,\n CouldNotTransformImage,\n DataCollectionEntryParseError,\n DuplicateContentEntrySlugError,\n EndpointDidNotReturnAResponse,\n EnvInvalidVariables,\n EnvUnsupportedGetSecret,\n ExpectedImage,\n ExpectedImageOptions,\n ExpectedNotESMImage,\n FailedToFetchRemoteImageDimensions,\n FailedToFindPageMapSSR,\n FailedToLoadModuleSSR,\n GenerateContentTypesError,\n GetEntryDeprecationError,\n GetStaticPathsExpectedParams,\n GetStaticPathsInvalidRouteParam,\n GetStaticPathsRequired,\n ImageMissingAlt,\n ImageNotFound,\n IncompatibleDescriptorOptions,\n IncorrectStrategyForI18n,\n InvalidComponentArgs,\n InvalidContentEntryDataError,\n InvalidContentEntryFrontmatterError,\n InvalidContentEntrySlugError,\n InvalidDynamicRoute,\n InvalidFrontmatterInjectionError,\n InvalidGetStaticPathParam,\n InvalidGetStaticPathsEntry,\n InvalidGetStaticPathsReturn,\n InvalidGlob,\n InvalidImageService,\n InvalidPrerenderExport,\n LocalImageUsedWrongly,\n LocalsNotAnObject,\n LocalsReassigned,\n MarkdownFrontmatterParseError,\n MdxIntegrationMissingError,\n MiddlewareCantBeLoaded,\n MiddlewareNoDataOrNextCalled,\n MiddlewareNotAResponse,\n MissingImageDimension,\n MissingIndexForInternationalization,\n MissingLocale,\n MissingMediaQueryDirective,\n MissingMiddlewareForInternationalization,\n MissingSharp,\n MixedContentDataCollectionError,\n NoAdapterInstalled,\n NoAdapterInstalledServerIslands,\n NoClientEntrypoint,\n NoClientOnlyHint,\n NoImageMetadata,\n NoMatchingImport,\n NoMatchingRenderer,\n NoMatchingStaticPathFound,\n NoPrerenderedRoutesWithDomains,\n OnlyResponseCanBeReturned,\n PageNumberParamNotFound,\n PrerenderClientAddressNotAvailable,\n PrerenderDynamicEndpointPathCollide,\n RedirectWithNoLocation,\n RenderUndefinedEntryError,\n ReservedSlotName,\n ResponseSentError,\n RewriteWithBodyUsed,\n RouteNotFound,\n ServerOnlyModule,\n StaticClientAddressNotAvailable,\n UnhandledRejection,\n UnknownCLIError,\n UnknownCSSError,\n UnknownCompilerError,\n UnknownConfigError,\n UnknownContentCollectionError,\n UnknownError,\n UnknownFilesystemError,\n UnknownMarkdownError,\n UnknownViteError,\n UnsupportedConfigTransformError,\n UnsupportedImageConversion,\n UnsupportedImageFormat,\n i18nNoLocaleFoundInPath,\n i18nNotEnabled\n};\n","function positionAt(offset, text) {\n const lineOffsets = getLineOffsets(text);\n offset = Math.max(0, Math.min(text.length, offset));\n let low = 0;\n let high = lineOffsets.length;\n if (high === 0) {\n return {\n line: 0,\n column: offset\n };\n }\n while (low <= high) {\n const mid = Math.floor((low + high) / 2);\n const lineOffset = lineOffsets[mid];\n if (lineOffset === offset) {\n return {\n line: mid,\n column: 0\n };\n } else if (offset > lineOffset) {\n low = mid + 1;\n } else {\n high = mid - 1;\n }\n }\n const line = low - 1;\n return { line, column: offset - lineOffsets[line] };\n}\nfunction getLineOffsets(text) {\n const lineOffsets = [];\n let isLineStart = true;\n for (let i = 0; i < text.length; i++) {\n if (isLineStart) {\n lineOffsets.push(i);\n isLineStart = false;\n }\n const ch = text.charAt(i);\n isLineStart = ch === \"\\r\" || ch === \"\\n\";\n if (ch === \"\\r\" && i + 1 < text.length && text.charAt(i + 1) === \"\\n\") {\n i++;\n }\n }\n if (isLineStart && text.length > 0) {\n lineOffsets.push(text.length);\n }\n return lineOffsets;\n}\nfunction isYAMLException(err) {\n return err instanceof Error && err.name === \"YAMLException\";\n}\nfunction formatYAMLException(e) {\n return {\n name: e.name,\n id: e.mark.name,\n loc: { file: e.mark.name, line: e.mark.line + 1, column: e.mark.column },\n message: e.reason,\n stack: e.stack ?? \"\"\n };\n}\nfunction createSafeError(err) {\n if (err instanceof Error || err?.name && err.message) {\n return err;\n } else {\n const error = new Error(JSON.stringify(err));\n error.hint = `To get as much information as possible from your errors, make sure to throw Error objects instead of \\`${typeof err}\\`. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error for more information.`;\n return error;\n }\n}\nfunction normalizeLF(code) {\n return code.replace(/\\r\\n|\\r(?!\\n)|\\n/g, \"\\n\");\n}\nexport {\n createSafeError,\n formatYAMLException,\n isYAMLException,\n normalizeLF,\n positionAt\n};\n","import { normalizeLF } from \"./utils.js\";\nfunction codeFrame(src, loc) {\n if (!loc || loc.line === void 0 || loc.column === void 0) {\n return \"\";\n }\n const lines = normalizeLF(src).split(\"\\n\").map((ln) => ln.replace(/\\t/g, \" \"));\n const visibleLines = [];\n for (let n = -2; n <= 2; n++) {\n if (lines[loc.line + n]) visibleLines.push(loc.line + n);\n }\n let gutterWidth = 0;\n for (const lineNo of visibleLines) {\n let w = `> ${lineNo}`;\n if (w.length > gutterWidth) gutterWidth = w.length;\n }\n let output = \"\";\n for (const lineNo of visibleLines) {\n const isFocusedLine = lineNo === loc.line - 1;\n output += isFocusedLine ? \"> \" : \" \";\n output += `${lineNo + 1} | ${lines[lineNo]}\n`;\n if (isFocusedLine)\n output += `${Array.from({ length: gutterWidth }).join(\" \")} | ${Array.from({\n length: loc.column\n }).join(\" \")}^\n`;\n }\n return output;\n}\nexport {\n codeFrame\n};\n","import { codeFrame } from \"./printer.js\";\nfunction isAstroError(e) {\n return e instanceof AstroError;\n}\nclass AstroError extends Error {\n loc;\n title;\n hint;\n frame;\n type = \"AstroError\";\n constructor(props, options) {\n const { name, title, message, stack, location, hint, frame } = props;\n super(message, options);\n this.title = title;\n this.name = name;\n if (message) this.message = message;\n this.stack = stack ? stack : this.stack;\n this.loc = location;\n this.hint = hint;\n this.frame = frame;\n }\n setLocation(location) {\n this.loc = location;\n }\n setName(name) {\n this.name = name;\n }\n setMessage(message) {\n this.message = message;\n }\n setHint(hint) {\n this.hint = hint;\n }\n setFrame(source, location) {\n this.frame = codeFrame(source, location);\n }\n static is(err) {\n return err.type === \"AstroError\";\n }\n}\nclass CompilerError extends AstroError {\n type = \"CompilerError\";\n constructor(props, options) {\n super(props, options);\n }\n static is(err) {\n return err.type === \"CompilerError\";\n }\n}\nclass CSSError extends AstroError {\n type = \"CSSError\";\n static is(err) {\n return err.type === \"CSSError\";\n }\n}\nclass MarkdownError extends AstroError {\n type = \"MarkdownError\";\n static is(err) {\n return err.type === \"MarkdownError\";\n }\n}\nclass InternalError extends AstroError {\n type = \"InternalError\";\n static is(err) {\n return err.type === \"InternalError\";\n }\n}\nclass AggregateError extends AstroError {\n type = \"AggregateError\";\n errors;\n // Despite being a collection of errors, AggregateError still needs to have a main error attached to it\n // This is because Vite expects every thrown errors handled during HMR to be, well, Error and have a message\n constructor(props, options) {\n super(props, options);\n this.errors = props.errors;\n }\n static is(err) {\n return err.type === \"AggregateError\";\n }\n}\nconst astroConfigZodErrors = /* @__PURE__ */ new WeakSet();\nfunction isAstroConfigZodError(error) {\n return astroConfigZodErrors.has(error);\n}\nfunction trackAstroConfigZodError(error) {\n astroConfigZodErrors.add(error);\n}\nclass AstroUserError extends Error {\n type = \"AstroUserError\";\n /**\n * A message that explains to the user how they can fix the error.\n */\n hint;\n name = \"AstroUserError\";\n constructor(message, hint) {\n super();\n this.message = message;\n this.hint = hint;\n }\n static is(err) {\n return err.type === \"AstroUserError\";\n }\n}\nexport {\n AggregateError,\n AstroError,\n AstroUserError,\n CSSError,\n CompilerError,\n InternalError,\n MarkdownError,\n isAstroConfigZodError,\n isAstroError,\n trackAstroConfigZodError\n};\n","import { AstroError, AstroErrorData } from \"../../core/errors/index.js\";\nfunction validateArgs(args) {\n if (args.length !== 3) return false;\n if (!args[0] || typeof args[0] !== \"object\") return false;\n return true;\n}\nfunction baseCreateComponent(cb, moduleId, propagation) {\n const name = moduleId?.split(\"/\").pop()?.replace(\".astro\", \"\") ?? \"\";\n const fn = (...args) => {\n if (!validateArgs(args)) {\n throw new AstroError({\n ...AstroErrorData.InvalidComponentArgs,\n message: AstroErrorData.InvalidComponentArgs.message(name)\n });\n }\n return cb(...args);\n };\n Object.defineProperty(fn, \"name\", { value: name, writable: false });\n fn.isAstroComponentFactory = true;\n fn.moduleId = moduleId;\n fn.propagation = propagation;\n return fn;\n}\nfunction createComponentWithOptions(opts) {\n const cb = baseCreateComponent(opts.factory, opts.moduleId, opts.propagation);\n return cb;\n}\nfunction createComponent(arg1, moduleId, propagation) {\n if (typeof arg1 === \"function\") {\n return baseCreateComponent(arg1, moduleId, propagation);\n } else {\n return createComponentWithOptions(arg1);\n }\n}\nexport {\n createComponent\n};\n","const ASTRO_VERSION = \"5.0.0-beta.5\";\nconst REROUTE_DIRECTIVE_HEADER = \"X-Astro-Reroute\";\nconst REWRITE_DIRECTIVE_HEADER_KEY = \"X-Astro-Rewrite\";\nconst REWRITE_DIRECTIVE_HEADER_VALUE = \"yes\";\nconst ROUTE_TYPE_HEADER = \"X-Astro-Route-Type\";\nconst DEFAULT_404_COMPONENT = \"astro-default-404.astro\";\nconst DEFAULT_500_COMPONENT = \"astro-default-500.astro\";\nconst REDIRECT_STATUS_CODES = [301, 302, 303, 307, 308, 300, 304];\nconst REROUTABLE_STATUS_CODES = [404, 500];\nconst clientAddressSymbol = Symbol.for(\"astro.clientAddress\");\nconst clientLocalsSymbol = Symbol.for(\"astro.locals\");\nconst responseSentSymbol = Symbol.for(\"astro.responseSent\");\nconst SUPPORTED_MARKDOWN_FILE_EXTENSIONS = [\n \".markdown\",\n \".mdown\",\n \".mkdn\",\n \".mkd\",\n \".mdwn\",\n \".md\"\n];\nconst MIDDLEWARE_PATH_SEGMENT_NAME = \"middleware\";\nexport {\n ASTRO_VERSION,\n DEFAULT_404_COMPONENT,\n DEFAULT_500_COMPONENT,\n MIDDLEWARE_PATH_SEGMENT_NAME,\n REDIRECT_STATUS_CODES,\n REROUTABLE_STATUS_CODES,\n REROUTE_DIRECTIVE_HEADER,\n REWRITE_DIRECTIVE_HEADER_KEY,\n REWRITE_DIRECTIVE_HEADER_VALUE,\n ROUTE_TYPE_HEADER,\n SUPPORTED_MARKDOWN_FILE_EXTENSIONS,\n clientAddressSymbol,\n clientLocalsSymbol,\n responseSentSymbol\n};\n","import { ASTRO_VERSION } from \"../../core/constants.js\";\nimport { AstroError, AstroErrorData } from \"../../core/errors/index.js\";\nfunction createAstroGlobFn() {\n const globHandler = (importMetaGlobResult) => {\n console.warn(`Astro.glob is deprecated and will be removed in a future major version of Astro.\nUse import.meta.glob instead: https://vitejs.dev/guide/features.html#glob-import`);\n if (typeof importMetaGlobResult === \"string\") {\n throw new AstroError({\n ...AstroErrorData.AstroGlobUsedOutside,\n message: AstroErrorData.AstroGlobUsedOutside.message(JSON.stringify(importMetaGlobResult))\n });\n }\n let allEntries = [...Object.values(importMetaGlobResult)];\n if (allEntries.length === 0) {\n throw new AstroError({\n ...AstroErrorData.AstroGlobNoMatch,\n message: AstroErrorData.AstroGlobNoMatch.message(JSON.stringify(importMetaGlobResult))\n });\n }\n return Promise.all(allEntries.map((fn) => fn()));\n };\n return globHandler;\n}\nfunction createAstro(site) {\n return {\n // TODO: this is no longer necessary for `Astro.site`\n // but it somehow allows working around caching issues in content collections for some tests\n site: site ? new URL(site) : void 0,\n generator: `Astro v${ASTRO_VERSION}`,\n glob: createAstroGlobFn()\n };\n}\nexport {\n createAstro\n};\n","function isPromise(value) {\n return !!value && typeof value === \"object\" && \"then\" in value && typeof value.then === \"function\";\n}\nasync function* streamAsyncIterator(stream) {\n const reader = stream.getReader();\n try {\n while (true) {\n const { done, value } = await reader.read();\n if (done) return;\n yield value;\n }\n } finally {\n reader.releaseLock();\n }\n}\nexport {\n isPromise,\n streamAsyncIterator\n};\n","import { escape } from \"html-escaper\";\nimport { streamAsyncIterator } from \"./util.js\";\nconst escapeHTML = escape;\nclass HTMLBytes extends Uint8Array {\n}\nObject.defineProperty(HTMLBytes.prototype, Symbol.toStringTag, {\n get() {\n return \"HTMLBytes\";\n }\n});\nclass HTMLString extends String {\n get [Symbol.toStringTag]() {\n return \"HTMLString\";\n }\n}\nconst markHTMLString = (value) => {\n if (value instanceof HTMLString) {\n return value;\n }\n if (typeof value === \"string\") {\n return new HTMLString(value);\n }\n return value;\n};\nfunction isHTMLString(value) {\n return Object.prototype.toString.call(value) === \"[object HTMLString]\";\n}\nfunction markHTMLBytes(bytes) {\n return new HTMLBytes(bytes);\n}\nfunction isHTMLBytes(value) {\n return Object.prototype.toString.call(value) === \"[object HTMLBytes]\";\n}\nfunction hasGetReader(obj) {\n return typeof obj.getReader === \"function\";\n}\nasync function* unescapeChunksAsync(iterable) {\n if (hasGetReader(iterable)) {\n for await (const chunk of streamAsyncIterator(iterable)) {\n yield unescapeHTML(chunk);\n }\n } else {\n for await (const chunk of iterable) {\n yield unescapeHTML(chunk);\n }\n }\n}\nfunction* unescapeChunks(iterable) {\n for (const chunk of iterable) {\n yield unescapeHTML(chunk);\n }\n}\nfunction unescapeHTML(str) {\n if (!!str && typeof str === \"object\") {\n if (str instanceof Uint8Array) {\n return markHTMLBytes(str);\n } else if (str instanceof Response && str.body) {\n const body = str.body;\n return unescapeChunksAsync(body);\n } else if (typeof str.then === \"function\") {\n return Promise.resolve(str).then((value) => {\n return unescapeHTML(value);\n });\n } else if (str[Symbol.for(\"astro:slot-string\")]) {\n return str;\n } else if (Symbol.iterator in str) {\n return unescapeChunks(str);\n } else if (Symbol.asyncIterator in str || hasGetReader(str)) {\n return unescapeChunksAsync(str);\n }\n }\n return markHTMLString(str);\n}\nexport {\n HTMLBytes,\n HTMLString,\n escapeHTML,\n isHTMLBytes,\n isHTMLString,\n markHTMLString,\n unescapeHTML\n};\n","const RenderInstructionSymbol = Symbol.for(\"astro:render\");\nfunction createRenderInstruction(instruction) {\n return Object.defineProperty(instruction, RenderInstructionSymbol, {\n value: true\n });\n}\nfunction isRenderInstruction(chunk) {\n return chunk && typeof chunk === \"object\" && chunk[RenderInstructionSymbol];\n}\nexport {\n createRenderInstruction,\n isRenderInstruction\n};\n","const PROP_TYPE = {\n Value: 0,\n JSON: 1,\n // Actually means Array\n RegExp: 2,\n Date: 3,\n Map: 4,\n Set: 5,\n BigInt: 6,\n URL: 7,\n Uint8Array: 8,\n Uint16Array: 9,\n Uint32Array: 10,\n Infinity: 11\n};\nfunction serializeArray(value, metadata = {}, parents = /* @__PURE__ */ new WeakSet()) {\n if (parents.has(value)) {\n throw new Error(`Cyclic reference detected while serializing props for <${metadata.displayName} client:${metadata.hydrate}>!\n\nCyclic references cannot be safely serialized for client-side usage. Please remove the cyclic reference.`);\n }\n parents.add(value);\n const serialized = value.map((v) => {\n return convertToSerializedForm(v, metadata, parents);\n });\n parents.delete(value);\n return serialized;\n}\nfunction serializeObject(value, metadata = {}, parents = /* @__PURE__ */ new WeakSet()) {\n if (parents.has(value)) {\n throw new Error(`Cyclic reference detected while serializing props for <${metadata.displayName} client:${metadata.hydrate}>!\n\nCyclic references cannot be safely serialized for client-side usage. Please remove the cyclic reference.`);\n }\n parents.add(value);\n const serialized = Object.fromEntries(\n Object.entries(value).map(([k, v]) => {\n return [k, convertToSerializedForm(v, metadata, parents)];\n })\n );\n parents.delete(value);\n return serialized;\n}\nfunction convertToSerializedForm(value, metadata = {}, parents = /* @__PURE__ */ new WeakSet()) {\n const tag = Object.prototype.toString.call(value);\n switch (tag) {\n case \"[object Date]\": {\n return [PROP_TYPE.Date, value.toISOString()];\n }\n case \"[object RegExp]\": {\n return [PROP_TYPE.RegExp, value.source];\n }\n case \"[object Map]\": {\n return [PROP_TYPE.Map, serializeArray(Array.from(value), metadata, parents)];\n }\n case \"[object Set]\": {\n return [PROP_TYPE.Set, serializeArray(Array.from(value), metadata, parents)];\n }\n case \"[object BigInt]\": {\n return [PROP_TYPE.BigInt, value.toString()];\n }\n case \"[object URL]\": {\n return [PROP_TYPE.URL, value.toString()];\n }\n case \"[object Array]\": {\n return [PROP_TYPE.JSON, serializeArray(value, metadata, parents)];\n }\n case \"[object Uint8Array]\": {\n return [PROP_TYPE.Uint8Array, Array.from(value)];\n }\n case \"[object Uint16Array]\": {\n return [PROP_TYPE.Uint16Array, Array.from(value)];\n }\n case \"[object Uint32Array]\": {\n return [PROP_TYPE.Uint32Array, Array.from(value)];\n }\n default: {\n if (value !== null && typeof value === \"object\") {\n return [PROP_TYPE.Value, serializeObject(value, metadata, parents)];\n }\n if (value === Infinity) {\n return [PROP_TYPE.Infinity, 1];\n }\n if (value === -Infinity) {\n return [PROP_TYPE.Infinity, -1];\n }\n if (value === void 0) {\n return [PROP_TYPE.Value];\n }\n return [PROP_TYPE.Value, value];\n }\n }\n}\nfunction serializeProps(props, metadata) {\n const serialized = JSON.stringify(serializeObject(props, metadata));\n return serialized;\n}\nexport {\n serializeProps\n};\n","import { AstroError, AstroErrorData } from \"../../core/errors/index.js\";\nimport { escapeHTML } from \"./escape.js\";\nimport { serializeProps } from \"./serialize.js\";\nconst transitionDirectivesToCopyOnIsland = Object.freeze([\n \"data-astro-transition-scope\",\n \"data-astro-transition-persist\",\n \"data-astro-transition-persist-props\"\n]);\nfunction extractDirectives(inputProps, clientDirectives) {\n let extracted = {\n isPage: false,\n hydration: null,\n props: {},\n propsWithoutTransitionAttributes: {}\n };\n for (const [key, value] of Object.entries(inputProps)) {\n if (key.startsWith(\"server:\")) {\n if (key === \"server:root\") {\n extracted.isPage = true;\n }\n }\n if (key.startsWith(\"client:\")) {\n if (!extracted.hydration) {\n extracted.hydration = {\n directive: \"\",\n value: \"\",\n componentUrl: \"\",\n componentExport: { value: \"\" }\n };\n }\n switch (key) {\n case \"client:component-path\": {\n extracted.hydration.componentUrl = value;\n break;\n }\n case \"client:component-export\": {\n extracted.hydration.componentExport.value = value;\n break;\n }\n case \"client:component-hydration\": {\n break;\n }\n case \"client:display-name\": {\n break;\n }\n default: {\n extracted.hydration.directive = key.split(\":\")[1];\n extracted.hydration.value = value;\n if (!clientDirectives.has(extracted.hydration.directive)) {\n const hydrationMethods = Array.from(clientDirectives.keys()).map((d) => `client:${d}`).join(\", \");\n throw new Error(\n `Error: invalid hydration directive \"${key}\". Supported hydration methods: ${hydrationMethods}`\n );\n }\n if (extracted.hydration.directive === \"media\" && typeof extracted.hydration.value !== \"string\") {\n throw new AstroError(AstroErrorData.MissingMediaQueryDirective);\n }\n break;\n }\n }\n } else {\n extracted.props[key] = value;\n if (!transitionDirectivesToCopyOnIsland.includes(key)) {\n extracted.propsWithoutTransitionAttributes[key] = value;\n }\n }\n }\n for (const sym of Object.getOwnPropertySymbols(inputProps)) {\n extracted.props[sym] = inputProps[sym];\n extracted.propsWithoutTransitionAttributes[sym] = inputProps[sym];\n }\n return extracted;\n}\nasync function generateHydrateScript(scriptOptions, metadata) {\n const { renderer, result, astroId, props, attrs } = scriptOptions;\n const { hydrate, componentUrl, componentExport } = metadata;\n if (!componentExport.value) {\n throw new AstroError({\n ...AstroErrorData.NoMatchingImport,\n message: AstroErrorData.NoMatchingImport.message(metadata.displayName)\n });\n }\n const island = {\n children: \"\",\n props: {\n // This is for HMR, probably can avoid it in prod\n uid: astroId\n }\n };\n if (attrs) {\n for (const [key, value] of Object.entries(attrs)) {\n island.props[key] = escapeHTML(value);\n }\n }\n island.props[\"component-url\"] = await result.resolve(decodeURI(componentUrl));\n if (renderer.clientEntrypoint) {\n island.props[\"component-export\"] = componentExport.value;\n island.props[\"renderer-url\"] = await result.resolve(\n decodeURI(renderer.clientEntrypoint.toString())\n );\n island.props[\"props\"] = escapeHTML(serializeProps(props, metadata));\n }\n island.props[\"ssr\"] = \"\";\n island.props[\"client\"] = hydrate;\n let beforeHydrationUrl = await result.resolve(\"astro:scripts/before-hydration.js\");\n if (beforeHydrationUrl.length) {\n island.props[\"before-hydration-url\"] = beforeHydrationUrl;\n }\n island.props[\"opts\"] = escapeHTML(\n JSON.stringify({\n name: metadata.displayName,\n value: metadata.hydrateArgs || \"\"\n })\n );\n transitionDirectivesToCopyOnIsland.forEach((name) => {\n if (typeof props[name] !== \"undefined\") {\n island.props[name] = props[name];\n }\n });\n return island;\n}\nexport {\n extractDirectives,\n generateHydrateScript\n};\n","/**\n * shortdash - https://github.com/bibig/node-shorthash\n *\n * @license\n *\n * (The MIT License)\n *\n * Copyright (c) 2013 Bibig \n *\n * Permission is hereby granted, free of charge, to any person\n * obtaining a copy of this software and associated documentation\n * files (the \"Software\"), to deal in the Software without\n * restriction, including without limitation the rights to use,\n * copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the\n * Software is furnished to do so, subject to the following\n * conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n * OTHER DEALINGS IN THE SOFTWARE.\n */\nconst dictionary = \"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXY\";\nconst binary = dictionary.length;\nfunction bitwise(str) {\n let hash = 0;\n if (str.length === 0) return hash;\n for (let i = 0; i < str.length; i++) {\n const ch = str.charCodeAt(i);\n hash = (hash << 5) - hash + ch;\n hash = hash & hash;\n }\n return hash;\n}\nfunction shorthash(text) {\n let num;\n let result = \"\";\n let integer = bitwise(text);\n const sign = integer < 0 ? \"Z\" : \"\";\n integer = Math.abs(integer);\n while (integer >= binary) {\n num = integer % binary;\n integer = Math.floor(integer / binary);\n result = dictionary[num] + result;\n }\n if (integer > 0) {\n result = dictionary[integer] + result;\n }\n return sign + result;\n}\nexport {\n shorthash\n};\n","function isAstroComponentFactory(obj) {\n return obj == null ? false : obj.isAstroComponentFactory === true;\n}\nfunction isAPropagatingComponent(result, factory) {\n let hint = factory.propagation || \"none\";\n if (factory.moduleId && result.componentMetadata.has(factory.moduleId) && hint === \"none\") {\n hint = result.componentMetadata.get(factory.moduleId).propagation;\n }\n return hint === \"in-tree\" || hint === \"self\";\n}\nexport {\n isAPropagatingComponent,\n isAstroComponentFactory\n};\n","const headAndContentSym = Symbol.for(\"astro.headAndContent\");\nfunction isHeadAndContent(obj) {\n return typeof obj === \"object\" && !!obj[headAndContentSym];\n}\nfunction createHeadAndContent(head, content) {\n return {\n [headAndContentSym]: true,\n head,\n content\n };\n}\nexport {\n createHeadAndContent,\n isHeadAndContent\n};\n","var astro_island_prebuilt_dev_default = `(()=>{var A=Object.defineProperty;var g=(i,o,a)=>o in i?A(i,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):i[o]=a;var l=(i,o,a)=>g(i,typeof o!=\"symbol\"?o+\"\":o,a);{let i={0:t=>y(t),1:t=>a(t),2:t=>new RegExp(t),3:t=>new Date(t),4:t=>new Map(a(t)),5:t=>new Set(a(t)),6:t=>BigInt(t),7:t=>new URL(t),8:t=>new Uint8Array(t),9:t=>new Uint16Array(t),10:t=>new Uint32Array(t),11:t=>1/0*t},o=t=>{let[h,e]=t;return h in i?i[h](e):void 0},a=t=>t.map(o),y=t=>typeof t!=\"object\"||t===null?t:Object.fromEntries(Object.entries(t).map(([h,e])=>[h,o(e)]));class f extends HTMLElement{constructor(){super(...arguments);l(this,\"Component\");l(this,\"hydrator\");l(this,\"hydrate\",async()=>{var b;if(!this.hydrator||!this.isConnected)return;let e=(b=this.parentElement)==null?void 0:b.closest(\"astro-island[ssr]\");if(e){e.addEventListener(\"astro:hydrate\",this.hydrate,{once:!0});return}let c=this.querySelectorAll(\"astro-slot\"),n={},p=this.querySelectorAll(\"template[data-astro-template]\");for(let r of p){let s=r.closest(this.tagName);s!=null&&s.isSameNode(this)&&(n[r.getAttribute(\"data-astro-template\")||\"default\"]=r.innerHTML,r.remove())}for(let r of c){let s=r.closest(this.tagName);s!=null&&s.isSameNode(this)&&(n[r.getAttribute(\"name\")||\"default\"]=r.innerHTML)}let u;try{u=this.hasAttribute(\"props\")?y(JSON.parse(this.getAttribute(\"props\"))):{}}catch(r){let s=this.getAttribute(\"component-url\")||\"\",v=this.getAttribute(\"component-export\");throw v&&(s+=\\` (export \\${v})\\`),console.error(\\`[hydrate] Error parsing props for component \\${s}\\`,this.getAttribute(\"props\"),r),r}let d,m=this.hydrator(this);d=performance.now(),await m(this.Component,u,n,{client:this.getAttribute(\"client\")}),d&&this.setAttribute(\"client-render-time\",(performance.now()-d).toString()),this.removeAttribute(\"ssr\"),this.dispatchEvent(new CustomEvent(\"astro:hydrate\"))});l(this,\"unmount\",()=>{this.isConnected||this.dispatchEvent(new CustomEvent(\"astro:unmount\"))})}disconnectedCallback(){document.removeEventListener(\"astro:after-swap\",this.unmount),document.addEventListener(\"astro:after-swap\",this.unmount,{once:!0})}connectedCallback(){if(!this.hasAttribute(\"await-children\")||document.readyState===\"interactive\"||document.readyState===\"complete\")this.childrenConnectedCallback();else{let e=()=>{document.removeEventListener(\"DOMContentLoaded\",e),c.disconnect(),this.childrenConnectedCallback()},c=new MutationObserver(()=>{var n;((n=this.lastChild)==null?void 0:n.nodeType)===Node.COMMENT_NODE&&this.lastChild.nodeValue===\"astro:end\"&&(this.lastChild.remove(),e())});c.observe(this,{childList:!0}),document.addEventListener(\"DOMContentLoaded\",e)}}async childrenConnectedCallback(){let e=this.getAttribute(\"before-hydration-url\");e&&await import(e),this.start()}async start(){let e=JSON.parse(this.getAttribute(\"opts\")),c=this.getAttribute(\"client\");if(Astro[c]===void 0){window.addEventListener(\\`astro:\\${c}\\`,()=>this.start(),{once:!0});return}try{await Astro[c](async()=>{let n=this.getAttribute(\"renderer-url\"),[p,{default:u}]=await Promise.all([import(this.getAttribute(\"component-url\")),n?import(n):()=>()=>{}]),d=this.getAttribute(\"component-export\")||\"default\";if(!d.includes(\".\"))this.Component=p[d];else{this.Component=p;for(let m of d.split(\".\"))this.Component=this.Component[m]}return this.hydrator=u,this.hydrate},e,this)}catch(n){console.error(\\`[astro-island] Error hydrating \\${this.getAttribute(\"component-url\")}\\`,n)}}attributeChangedCallback(){this.hydrate()}}l(f,\"observedAttributes\",[\"props\"]),customElements.get(\"astro-island\")||customElements.define(\"astro-island\",f)}})();`;\nexport {\n astro_island_prebuilt_dev_default as default\n};\n","var astro_island_prebuilt_default = `(()=>{var A=Object.defineProperty;var g=(i,o,a)=>o in i?A(i,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):i[o]=a;var d=(i,o,a)=>g(i,typeof o!=\"symbol\"?o+\"\":o,a);{let i={0:t=>m(t),1:t=>a(t),2:t=>new RegExp(t),3:t=>new Date(t),4:t=>new Map(a(t)),5:t=>new Set(a(t)),6:t=>BigInt(t),7:t=>new URL(t),8:t=>new Uint8Array(t),9:t=>new Uint16Array(t),10:t=>new Uint32Array(t),11:t=>1/0*t},o=t=>{let[l,e]=t;return l in i?i[l](e):void 0},a=t=>t.map(o),m=t=>typeof t!=\"object\"||t===null?t:Object.fromEntries(Object.entries(t).map(([l,e])=>[l,o(e)]));class y extends HTMLElement{constructor(){super(...arguments);d(this,\"Component\");d(this,\"hydrator\");d(this,\"hydrate\",async()=>{var b;if(!this.hydrator||!this.isConnected)return;let e=(b=this.parentElement)==null?void 0:b.closest(\"astro-island[ssr]\");if(e){e.addEventListener(\"astro:hydrate\",this.hydrate,{once:!0});return}let c=this.querySelectorAll(\"astro-slot\"),n={},h=this.querySelectorAll(\"template[data-astro-template]\");for(let r of h){let s=r.closest(this.tagName);s!=null&&s.isSameNode(this)&&(n[r.getAttribute(\"data-astro-template\")||\"default\"]=r.innerHTML,r.remove())}for(let r of c){let s=r.closest(this.tagName);s!=null&&s.isSameNode(this)&&(n[r.getAttribute(\"name\")||\"default\"]=r.innerHTML)}let p;try{p=this.hasAttribute(\"props\")?m(JSON.parse(this.getAttribute(\"props\"))):{}}catch(r){let s=this.getAttribute(\"component-url\")||\"\",v=this.getAttribute(\"component-export\");throw v&&(s+=\\` (export \\${v})\\`),console.error(\\`[hydrate] Error parsing props for component \\${s}\\`,this.getAttribute(\"props\"),r),r}let u;await this.hydrator(this)(this.Component,p,n,{client:this.getAttribute(\"client\")}),this.removeAttribute(\"ssr\"),this.dispatchEvent(new CustomEvent(\"astro:hydrate\"))});d(this,\"unmount\",()=>{this.isConnected||this.dispatchEvent(new CustomEvent(\"astro:unmount\"))})}disconnectedCallback(){document.removeEventListener(\"astro:after-swap\",this.unmount),document.addEventListener(\"astro:after-swap\",this.unmount,{once:!0})}connectedCallback(){if(!this.hasAttribute(\"await-children\")||document.readyState===\"interactive\"||document.readyState===\"complete\")this.childrenConnectedCallback();else{let e=()=>{document.removeEventListener(\"DOMContentLoaded\",e),c.disconnect(),this.childrenConnectedCallback()},c=new MutationObserver(()=>{var n;((n=this.lastChild)==null?void 0:n.nodeType)===Node.COMMENT_NODE&&this.lastChild.nodeValue===\"astro:end\"&&(this.lastChild.remove(),e())});c.observe(this,{childList:!0}),document.addEventListener(\"DOMContentLoaded\",e)}}async childrenConnectedCallback(){let e=this.getAttribute(\"before-hydration-url\");e&&await import(e),this.start()}async start(){let e=JSON.parse(this.getAttribute(\"opts\")),c=this.getAttribute(\"client\");if(Astro[c]===void 0){window.addEventListener(\\`astro:\\${c}\\`,()=>this.start(),{once:!0});return}try{await Astro[c](async()=>{let n=this.getAttribute(\"renderer-url\"),[h,{default:p}]=await Promise.all([import(this.getAttribute(\"component-url\")),n?import(n):()=>()=>{}]),u=this.getAttribute(\"component-export\")||\"default\";if(!u.includes(\".\"))this.Component=h[u];else{this.Component=h;for(let f of u.split(\".\"))this.Component=this.Component[f]}return this.hydrator=p,this.hydrate},e,this)}catch(n){console.error(\\`[astro-island] Error hydrating \\${this.getAttribute(\"component-url\")}\\`,n)}}attributeChangedCallback(){this.hydrate()}}d(y,\"observedAttributes\",[\"props\"]),customElements.get(\"astro-island\")||customElements.define(\"astro-island\",y)}})();`;\nexport {\n astro_island_prebuilt_default as default\n};\n","import islandScriptDev from \"./astro-island.prebuilt-dev.js\";\nimport islandScript from \"./astro-island.prebuilt.js\";\nconst ISLAND_STYLES = ``;\nfunction determineIfNeedsHydrationScript(result) {\n if (result._metadata.hasHydrationScript) {\n return false;\n }\n return result._metadata.hasHydrationScript = true;\n}\nfunction determinesIfNeedsDirectiveScript(result, directive) {\n if (result._metadata.hasDirectives.has(directive)) {\n return false;\n }\n result._metadata.hasDirectives.add(directive);\n return true;\n}\nfunction getDirectiveScriptText(result, directive) {\n const clientDirectives = result.clientDirectives;\n const clientDirective = clientDirectives.get(directive);\n if (!clientDirective) {\n throw new Error(`Unknown directive: ${directive}`);\n }\n return clientDirective;\n}\nfunction getPrescripts(result, type, directive) {\n switch (type) {\n case \"both\":\n return `${ISLAND_STYLES}`;\n case \"directive\":\n return ``;\n case null:\n break;\n }\n return \"\";\n}\nexport {\n determineIfNeedsHydrationScript,\n determinesIfNeedsDirectiveScript,\n getPrescripts\n};\n","import { clsx } from \"clsx\";\nimport { HTMLString, markHTMLString } from \"../escape.js\";\nconst voidElementNames = /^(area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/i;\nconst htmlBooleanAttributes = /^(?:allowfullscreen|async|autofocus|autoplay|controls|default|defer|disabled|disablepictureinpicture|disableremoteplayback|formnovalidate|hidden|loop|nomodule|novalidate|open|playsinline|readonly|required|reversed|scoped|seamless|selected|itemscope)$/i;\nconst AMPERSAND_REGEX = /&/g;\nconst DOUBLE_QUOTE_REGEX = /\"/g;\nconst STATIC_DIRECTIVES = /* @__PURE__ */ new Set([\"set:html\", \"set:text\"]);\nconst toIdent = (k) => k.trim().replace(/(?!^)\\b\\w|\\s+|\\W+/g, (match, index) => {\n if (/\\W/.test(match)) return \"\";\n return index === 0 ? match : match.toUpperCase();\n});\nconst toAttributeString = (value, shouldEscape = true) => shouldEscape ? String(value).replace(AMPERSAND_REGEX, \"&\").replace(DOUBLE_QUOTE_REGEX, \""\") : value;\nconst kebab = (k) => k.toLowerCase() === k ? k : k.replace(/[A-Z]/g, (match) => `-${match.toLowerCase()}`);\nconst toStyleString = (obj) => Object.entries(obj).filter(([_, v]) => typeof v === \"string\" && v.trim() || typeof v === \"number\").map(([k, v]) => {\n if (k[0] !== \"-\" && k[1] !== \"-\") return `${kebab(k)}:${v}`;\n return `${k}:${v}`;\n}).join(\";\");\nfunction defineScriptVars(vars) {\n let output = \"\";\n for (const [key, value] of Object.entries(vars)) {\n output += `const ${toIdent(key)} = ${JSON.stringify(value)?.replace(\n /<\\/script>/g,\n \"\\\\x3C/script>\"\n )};\n`;\n }\n return markHTMLString(output);\n}\nfunction formatList(values) {\n if (values.length === 1) {\n return values[0];\n }\n return `${values.slice(0, -1).join(\", \")} or ${values[values.length - 1]}`;\n}\nfunction addAttribute(value, key, shouldEscape = true) {\n if (value == null) {\n return \"\";\n }\n if (STATIC_DIRECTIVES.has(key)) {\n console.warn(`[astro] The \"${key}\" directive cannot be applied dynamically at runtime. It will not be rendered as an attribute.\n\nMake sure to use the static attribute syntax (\\`${key}={value}\\`) instead of the dynamic spread syntax (\\`{...{ \"${key}\": value }}\\`).`);\n return \"\";\n }\n if (key === \"class:list\") {\n const listValue = toAttributeString(clsx(value), shouldEscape);\n if (listValue === \"\") {\n return \"\";\n }\n return markHTMLString(` ${key.slice(0, -5)}=\"${listValue}\"`);\n }\n if (key === \"style\" && !(value instanceof HTMLString)) {\n if (Array.isArray(value) && value.length === 2) {\n return markHTMLString(\n ` ${key}=\"${toAttributeString(`${toStyleString(value[0])};${value[1]}`, shouldEscape)}\"`\n );\n }\n if (typeof value === \"object\") {\n return markHTMLString(` ${key}=\"${toAttributeString(toStyleString(value), shouldEscape)}\"`);\n }\n }\n if (key === \"className\") {\n return markHTMLString(` class=\"${toAttributeString(value, shouldEscape)}\"`);\n }\n if (typeof value === \"string\" && value.includes(\"&\") && isHttpUrl(value)) {\n return markHTMLString(` ${key}=\"${toAttributeString(value, false)}\"`);\n }\n if (htmlBooleanAttributes.test(key)) {\n return markHTMLString(value ? ` ${key}` : \"\");\n }\n if (value === \"\") {\n return markHTMLString(` ${key}`);\n }\n return markHTMLString(` ${key}=\"${toAttributeString(value, shouldEscape)}\"`);\n}\nfunction internalSpreadAttributes(values, shouldEscape = true) {\n let output = \"\";\n for (const [key, value] of Object.entries(values)) {\n output += addAttribute(value, key, shouldEscape);\n }\n return markHTMLString(output);\n}\nfunction renderElement(name, { props: _props, children = \"\" }, shouldEscape = true) {\n const { lang: _, \"data-astro-id\": astroId, \"define:vars\": defineVars, ...props } = _props;\n if (defineVars) {\n if (name === \"style\") {\n delete props[\"is:global\"];\n delete props[\"is:scoped\"];\n }\n if (name === \"script\") {\n delete props.hoist;\n children = defineScriptVars(defineVars) + \"\\n\" + children;\n }\n }\n if ((children == null || children == \"\") && voidElementNames.test(name)) {\n return `<${name}${internalSpreadAttributes(props, shouldEscape)}>`;\n }\n return `<${name}${internalSpreadAttributes(props, shouldEscape)}>${children}`;\n}\nconst noop = () => {\n};\nclass BufferedRenderer {\n chunks = [];\n renderPromise;\n destination;\n constructor(bufferRenderFunction) {\n this.renderPromise = bufferRenderFunction(this);\n Promise.resolve(this.renderPromise).catch(noop);\n }\n write(chunk) {\n if (this.destination) {\n this.destination.write(chunk);\n } else {\n this.chunks.push(chunk);\n }\n }\n async renderToFinalDestination(destination) {\n for (const chunk of this.chunks) {\n destination.write(chunk);\n }\n this.destination = destination;\n await this.renderPromise;\n }\n}\nfunction renderToBufferDestination(bufferRenderFunction) {\n const renderer = new BufferedRenderer(bufferRenderFunction);\n return renderer;\n}\nconst isNode = typeof process !== \"undefined\" && Object.prototype.toString.call(process) === \"[object process]\";\nconst isDeno = typeof Deno !== \"undefined\";\nfunction promiseWithResolvers() {\n let resolve, reject;\n const promise = new Promise((_resolve, _reject) => {\n resolve = _resolve;\n reject = _reject;\n });\n return {\n promise,\n resolve,\n reject\n };\n}\nconst VALID_PROTOCOLS = [\"http:\", \"https:\"];\nfunction isHttpUrl(url) {\n try {\n const parsedUrl = new URL(url);\n return VALID_PROTOCOLS.includes(parsedUrl.protocol);\n } catch {\n return false;\n }\n}\nexport {\n addAttribute,\n defineScriptVars,\n formatList,\n internalSpreadAttributes,\n isDeno,\n isNode,\n promiseWithResolvers,\n renderElement,\n renderToBufferDestination,\n toAttributeString,\n voidElementNames\n};\n","import { markHTMLString } from \"../escape.js\";\nimport { createRenderInstruction } from \"./instruction.js\";\nimport { renderElement } from \"./util.js\";\nconst uniqueElements = (item, index, all) => {\n const props = JSON.stringify(item.props);\n const children = item.children;\n return index === all.findIndex((i) => JSON.stringify(i.props) === props && i.children == children);\n};\nfunction renderAllHeadContent(result) {\n result._metadata.hasRenderedHead = true;\n const styles = Array.from(result.styles).filter(uniqueElements).map(\n (style) => style.props.rel === \"stylesheet\" ? renderElement(\"link\", style) : renderElement(\"style\", style)\n );\n result.styles.clear();\n const scripts = Array.from(result.scripts).filter(uniqueElements).map((script) => {\n return renderElement(\"script\", script, false);\n });\n const links = Array.from(result.links).filter(uniqueElements).map((link) => renderElement(\"link\", link, false));\n let content = styles.join(\"\\n\") + links.join(\"\\n\") + scripts.join(\"\\n\");\n if (result._metadata.extraHead.length > 0) {\n for (const part of result._metadata.extraHead) {\n content += part;\n }\n }\n return markHTMLString(content);\n}\nfunction renderHead() {\n return createRenderInstruction({ type: \"head\" });\n}\nfunction maybeRenderHead() {\n return createRenderInstruction({ type: \"maybe-head\" });\n}\nexport {\n maybeRenderHead,\n renderAllHeadContent,\n renderHead\n};\n","import { markHTMLString } from \"../../escape.js\";\nimport { isPromise } from \"../../util.js\";\nimport { renderChild } from \"../any.js\";\nimport { renderToBufferDestination } from \"../util.js\";\nconst renderTemplateResultSym = Symbol.for(\"astro.renderTemplateResult\");\nclass RenderTemplateResult {\n [renderTemplateResultSym] = true;\n htmlParts;\n expressions;\n error;\n constructor(htmlParts, expressions) {\n this.htmlParts = htmlParts;\n this.error = void 0;\n this.expressions = expressions.map((expression) => {\n if (isPromise(expression)) {\n return Promise.resolve(expression).catch((err) => {\n if (!this.error) {\n this.error = err;\n throw err;\n }\n });\n }\n return expression;\n });\n }\n async render(destination) {\n const expRenders = this.expressions.map((exp) => {\n return renderToBufferDestination((bufferDestination) => {\n if (exp || exp === 0) {\n return renderChild(bufferDestination, exp);\n }\n });\n });\n for (let i = 0; i < this.htmlParts.length; i++) {\n const html = this.htmlParts[i];\n const expRender = expRenders[i];\n destination.write(markHTMLString(html));\n if (expRender) {\n await expRender.renderToFinalDestination(destination);\n }\n }\n }\n}\nfunction isRenderTemplateResult(obj) {\n return typeof obj === \"object\" && !!obj[renderTemplateResultSym];\n}\nfunction renderTemplate(htmlParts, ...expressions) {\n return new RenderTemplateResult(htmlParts, expressions);\n}\nexport {\n RenderTemplateResult,\n isRenderTemplateResult,\n renderTemplate\n};\n","import { renderTemplate } from \"./astro/render-template.js\";\nimport { HTMLString, markHTMLString, unescapeHTML } from \"../escape.js\";\nimport { renderChild } from \"./any.js\";\nimport { chunkToString } from \"./common.js\";\nconst slotString = Symbol.for(\"astro:slot-string\");\nclass SlotString extends HTMLString {\n instructions;\n [slotString];\n constructor(content, instructions) {\n super(content);\n this.instructions = instructions;\n this[slotString] = true;\n }\n}\nfunction isSlotString(str) {\n return !!str[slotString];\n}\nfunction renderSlot(result, slotted, fallback) {\n if (!slotted && fallback) {\n return renderSlot(result, fallback);\n }\n return {\n async render(destination) {\n await renderChild(destination, typeof slotted === \"function\" ? slotted(result) : slotted);\n }\n };\n}\nasync function renderSlotToString(result, slotted, fallback) {\n let content = \"\";\n let instructions = null;\n const temporaryDestination = {\n write(chunk) {\n if (chunk instanceof SlotString) {\n content += chunk;\n if (chunk.instructions) {\n instructions ??= [];\n instructions.push(...chunk.instructions);\n }\n } else if (chunk instanceof Response) return;\n else if (typeof chunk === \"object\" && \"type\" in chunk && typeof chunk.type === \"string\") {\n if (instructions === null) {\n instructions = [];\n }\n instructions.push(chunk);\n } else {\n content += chunkToString(result, chunk);\n }\n }\n };\n const renderInstance = renderSlot(result, slotted, fallback);\n await renderInstance.render(temporaryDestination);\n return markHTMLString(new SlotString(content, instructions));\n}\nasync function renderSlots(result, slots = {}) {\n let slotInstructions = null;\n let children = {};\n if (slots) {\n await Promise.all(\n Object.entries(slots).map(\n ([key, value]) => renderSlotToString(result, value).then((output) => {\n if (output.instructions) {\n if (slotInstructions === null) {\n slotInstructions = [];\n }\n slotInstructions.push(...output.instructions);\n }\n children[key] = output;\n })\n )\n );\n }\n return { slotInstructions, children };\n}\nfunction createSlotValueFromString(content) {\n return function() {\n return renderTemplate`${unescapeHTML(content)}`;\n };\n}\nexport {\n SlotString,\n createSlotValueFromString,\n isSlotString,\n renderSlot,\n renderSlotToString,\n renderSlots\n};\n","import { markHTMLString } from \"../escape.js\";\nimport {\n determineIfNeedsHydrationScript,\n determinesIfNeedsDirectiveScript,\n getPrescripts\n} from \"../scripts.js\";\nimport { renderAllHeadContent } from \"./head.js\";\nimport { isRenderInstruction } from \"./instruction.js\";\nimport { isSlotString } from \"./slot.js\";\nconst Fragment = Symbol.for(\"astro:fragment\");\nconst Renderer = Symbol.for(\"astro:renderer\");\nconst encoder = new TextEncoder();\nconst decoder = new TextDecoder();\nfunction stringifyChunk(result, chunk) {\n if (isRenderInstruction(chunk)) {\n const instruction = chunk;\n switch (instruction.type) {\n case \"directive\": {\n const { hydration } = instruction;\n let needsHydrationScript = hydration && determineIfNeedsHydrationScript(result);\n let needsDirectiveScript = hydration && determinesIfNeedsDirectiveScript(result, hydration.directive);\n let prescriptType = needsHydrationScript ? \"both\" : needsDirectiveScript ? \"directive\" : null;\n if (prescriptType) {\n let prescripts = getPrescripts(result, prescriptType, hydration.directive);\n return markHTMLString(prescripts);\n } else {\n return \"\";\n }\n }\n case \"head\": {\n if (result._metadata.hasRenderedHead || result.partial) {\n return \"\";\n }\n return renderAllHeadContent(result);\n }\n case \"maybe-head\": {\n if (result._metadata.hasRenderedHead || result._metadata.headInTree || result.partial) {\n return \"\";\n }\n return renderAllHeadContent(result);\n }\n case \"renderer-hydration-script\": {\n const { rendererSpecificHydrationScripts } = result._metadata;\n const { rendererName } = instruction;\n if (!rendererSpecificHydrationScripts.has(rendererName)) {\n rendererSpecificHydrationScripts.add(rendererName);\n return instruction.render();\n }\n return \"\";\n }\n default: {\n throw new Error(`Unknown chunk type: ${chunk.type}`);\n }\n }\n } else if (chunk instanceof Response) {\n return \"\";\n } else if (isSlotString(chunk)) {\n let out = \"\";\n const c = chunk;\n if (c.instructions) {\n for (const instr of c.instructions) {\n out += stringifyChunk(result, instr);\n }\n }\n out += chunk.toString();\n return out;\n }\n return chunk.toString();\n}\nfunction chunkToString(result, chunk) {\n if (ArrayBuffer.isView(chunk)) {\n return decoder.decode(chunk);\n } else {\n return stringifyChunk(result, chunk);\n }\n}\nfunction chunkToByteArray(result, chunk) {\n if (ArrayBuffer.isView(chunk)) {\n return chunk;\n } else {\n const stringified = stringifyChunk(result, chunk);\n return encoder.encode(stringified.toString());\n }\n}\nfunction isRenderInstance(obj) {\n return !!obj && typeof obj === \"object\" && \"render\" in obj && typeof obj.render === \"function\";\n}\nexport {\n Fragment,\n Renderer,\n chunkToByteArray,\n chunkToString,\n decoder,\n encoder,\n isRenderInstance\n};\n","import { escapeHTML, isHTMLString, markHTMLString } from \"../escape.js\";\nimport { isPromise } from \"../util.js\";\nimport { isAstroComponentInstance, isRenderTemplateResult } from \"./astro/index.js\";\nimport { isRenderInstance } from \"./common.js\";\nimport { SlotString } from \"./slot.js\";\nimport { renderToBufferDestination } from \"./util.js\";\nasync function renderChild(destination, child) {\n if (isPromise(child)) {\n child = await child;\n }\n if (child instanceof SlotString) {\n destination.write(child);\n } else if (isHTMLString(child)) {\n destination.write(child);\n } else if (Array.isArray(child)) {\n const childRenders = child.map((c) => {\n return renderToBufferDestination((bufferDestination) => {\n return renderChild(bufferDestination, c);\n });\n });\n for (const childRender of childRenders) {\n if (!childRender) continue;\n await childRender.renderToFinalDestination(destination);\n }\n } else if (typeof child === \"function\") {\n await renderChild(destination, child());\n } else if (typeof child === \"string\") {\n destination.write(markHTMLString(escapeHTML(child)));\n } else if (!child && child !== 0) {\n } else if (isRenderInstance(child)) {\n await child.render(destination);\n } else if (isRenderTemplateResult(child)) {\n await child.render(destination);\n } else if (isAstroComponentInstance(child)) {\n await child.render(destination);\n } else if (ArrayBuffer.isView(child)) {\n destination.write(child);\n } else if (typeof child === \"object\" && (Symbol.asyncIterator in child || Symbol.iterator in child)) {\n for await (const value of child) {\n await renderChild(destination, value);\n }\n } else {\n destination.write(child);\n }\n}\nexport {\n renderChild\n};\n","import { isPromise } from \"../../util.js\";\nimport { renderChild } from \"../any.js\";\nimport { isAPropagatingComponent } from \"./factory.js\";\nimport { isHeadAndContent } from \"./head-and-content.js\";\nconst astroComponentInstanceSym = Symbol.for(\"astro.componentInstance\");\nclass AstroComponentInstance {\n [astroComponentInstanceSym] = true;\n result;\n props;\n slotValues;\n factory;\n returnValue;\n constructor(result, props, slots, factory) {\n this.result = result;\n this.props = props;\n this.factory = factory;\n this.slotValues = {};\n for (const name in slots) {\n let didRender = false;\n let value = slots[name](result);\n this.slotValues[name] = () => {\n if (!didRender) {\n didRender = true;\n return value;\n }\n return slots[name](result);\n };\n }\n }\n async init(result) {\n if (this.returnValue !== void 0) return this.returnValue;\n this.returnValue = this.factory(result, this.props, this.slotValues);\n if (isPromise(this.returnValue)) {\n this.returnValue.then((resolved) => {\n this.returnValue = resolved;\n }).catch(() => {\n });\n }\n return this.returnValue;\n }\n async render(destination) {\n const returnValue = await this.init(this.result);\n if (isHeadAndContent(returnValue)) {\n await returnValue.content.render(destination);\n } else {\n await renderChild(destination, returnValue);\n }\n }\n}\nfunction validateComponentProps(props, displayName) {\n if (props != null) {\n for (const prop of Object.keys(props)) {\n if (prop.startsWith(\"client:\")) {\n console.warn(\n `You are attempting to render <${displayName} ${prop} />, but ${displayName} is an Astro component. Astro components do not render in the client and should not have a hydration directive. Please use a framework component for client rendering.`\n );\n }\n }\n }\n}\nfunction createAstroComponentInstance(result, displayName, factory, props, slots = {}) {\n validateComponentProps(props, displayName);\n const instance = new AstroComponentInstance(result, props, slots, factory);\n if (isAPropagatingComponent(result, factory)) {\n result._metadata.propagators.add(instance);\n }\n return instance;\n}\nfunction isAstroComponentInstance(obj) {\n return typeof obj === \"object\" && !!obj[astroComponentInstanceSym];\n}\nexport {\n AstroComponentInstance,\n createAstroComponentInstance,\n isAstroComponentInstance\n};\n","import { markHTMLString } from \"../escape.js\";\nimport { renderSlotToString } from \"./slot.js\";\nimport { toAttributeString } from \"./util.js\";\nfunction componentIsHTMLElement(Component) {\n return typeof HTMLElement !== \"undefined\" && HTMLElement.isPrototypeOf(Component);\n}\nasync function renderHTMLElement(result, constructor, props, slots) {\n const name = getHTMLElementName(constructor);\n let attrHTML = \"\";\n for (const attr in props) {\n attrHTML += ` ${attr}=\"${toAttributeString(await props[attr])}\"`;\n }\n return markHTMLString(\n `<${name}${attrHTML}>${await renderSlotToString(result, slots?.default)}`\n );\n}\nfunction getHTMLElementName(constructor) {\n const definedName = customElements.getName(constructor);\n if (definedName) return definedName;\n const assignedName = constructor.name.replace(/^HTML|Element$/g, \"\").replace(/[A-Z]/g, \"-$&\").toLowerCase().replace(/^-/, \"html-\");\n return assignedName;\n}\nexport {\n componentIsHTMLElement,\n renderHTMLElement\n};\n","import { decodeBase64, decodeHex, encodeBase64, encodeHexUpperCase } from \"@oslojs/encoding\";\nconst ALGORITHM = \"AES-GCM\";\nasync function createKey() {\n const key = await crypto.subtle.generateKey(\n {\n name: ALGORITHM,\n length: 256\n },\n true,\n [\"encrypt\", \"decrypt\"]\n );\n return key;\n}\nconst ENVIRONMENT_KEY_NAME = \"ASTRO_KEY\";\nfunction getEncodedEnvironmentKey() {\n return process.env[ENVIRONMENT_KEY_NAME] || \"\";\n}\nfunction hasEnvironmentKey() {\n return getEncodedEnvironmentKey() !== \"\";\n}\nasync function getEnvironmentKey() {\n if (!hasEnvironmentKey()) {\n throw new Error(\n `There is no environment key defined. If you see this error there is a bug in Astro.`\n );\n }\n const encodedKey = getEncodedEnvironmentKey();\n return decodeKey(encodedKey);\n}\nasync function importKey(bytes) {\n const key = await crypto.subtle.importKey(\"raw\", bytes, ALGORITHM, true, [\"encrypt\", \"decrypt\"]);\n return key;\n}\nasync function encodeKey(key) {\n const exported = await crypto.subtle.exportKey(\"raw\", key);\n const encodedKey = encodeBase64(new Uint8Array(exported));\n return encodedKey;\n}\nasync function decodeKey(encoded) {\n const bytes = decodeBase64(encoded);\n return crypto.subtle.importKey(\"raw\", bytes, ALGORITHM, true, [\"encrypt\", \"decrypt\"]);\n}\nconst encoder = new TextEncoder();\nconst decoder = new TextDecoder();\nconst IV_LENGTH = 24;\nasync function encryptString(key, raw) {\n const iv = crypto.getRandomValues(new Uint8Array(IV_LENGTH / 2));\n const data = encoder.encode(raw);\n const buffer = await crypto.subtle.encrypt(\n {\n name: ALGORITHM,\n iv\n },\n key,\n data\n );\n return encodeHexUpperCase(iv) + encodeBase64(new Uint8Array(buffer));\n}\nasync function decryptString(key, encoded) {\n const iv = decodeHex(encoded.slice(0, IV_LENGTH));\n const dataArray = decodeBase64(encoded.slice(IV_LENGTH));\n const decryptedBuffer = await crypto.subtle.decrypt(\n {\n name: ALGORITHM,\n iv\n },\n key,\n dataArray\n );\n const decryptedString = decoder.decode(decryptedBuffer);\n return decryptedString;\n}\nexport {\n createKey,\n decodeKey,\n decryptString,\n encodeKey,\n encryptString,\n getEncodedEnvironmentKey,\n getEnvironmentKey,\n hasEnvironmentKey,\n importKey\n};\n","import { encryptString } from \"../../../core/encryption.js\";\nimport { renderChild } from \"./any.js\";\nimport { renderSlotToString } from \"./slot.js\";\nconst internalProps = /* @__PURE__ */ new Set([\n \"server:component-path\",\n \"server:component-export\",\n \"server:component-directive\",\n \"server:defer\"\n]);\nfunction containsServerDirective(props) {\n return \"server:component-directive\" in props;\n}\nfunction safeJsonStringify(obj) {\n return JSON.stringify(obj).replace(/\\u2028/g, \"\\\\u2028\").replace(/\\u2029/g, \"\\\\u2029\").replace(//g, \"\\\\u003e\").replace(/\\//g, \"\\\\u002f\");\n}\nfunction createSearchParams(componentExport, encryptedProps, slots) {\n const params = new URLSearchParams();\n params.set(\"e\", componentExport);\n params.set(\"p\", encryptedProps);\n params.set(\"s\", slots);\n return params;\n}\nfunction isWithinURLLimit(pathname, params) {\n const url = pathname + \"?\" + params.toString();\n const chars = url.length;\n return chars < 2048;\n}\nfunction renderServerIsland(result, _displayName, props, slots) {\n return {\n async render(destination) {\n const componentPath = props[\"server:component-path\"];\n const componentExport = props[\"server:component-export\"];\n const componentId = result.serverIslandNameMap.get(componentPath);\n if (!componentId) {\n throw new Error(`Could not find server component name`);\n }\n for (const key2 of Object.keys(props)) {\n if (internalProps.has(key2)) {\n delete props[key2];\n }\n }\n destination.write(\"\");\n const renderedSlots = {};\n for (const name in slots) {\n if (name !== \"fallback\") {\n const content = await renderSlotToString(result, slots[name]);\n renderedSlots[name] = content.toString();\n } else {\n await renderChild(destination, slots.fallback(result));\n }\n }\n const key = await result.key;\n const propsEncrypted = await encryptString(key, JSON.stringify(props));\n const hostId = crypto.randomUUID();\n const slash = result.base.endsWith(\"/\") ? \"\" : \"/\";\n let serverIslandUrl = `${result.base}${slash}_server-islands/${componentId}${result.trailingSlash === \"always\" ? \"/\" : \"\"}`;\n const potentialSearchParams = createSearchParams(\n componentExport,\n propsEncrypted,\n safeJsonStringify(renderedSlots)\n );\n const useGETRequest = isWithinURLLimit(serverIslandUrl, potentialSearchParams);\n if (useGETRequest) {\n serverIslandUrl += \"?\" + potentialSearchParams.toString();\n destination.write(\n ``\n );\n }\n destination.write(``);\n }\n };\n}\nexport {\n containsServerDirective,\n renderServerIsland\n};\n","import { createRenderInstruction } from \"./instruction.js\";\nimport { clsx } from \"clsx\";\nimport { AstroError, AstroErrorData } from \"../../../core/errors/index.js\";\nimport { markHTMLString } from \"../escape.js\";\nimport { extractDirectives, generateHydrateScript } from \"../hydration.js\";\nimport { serializeProps } from \"../serialize.js\";\nimport { shorthash } from \"../shorthash.js\";\nimport { isPromise } from \"../util.js\";\nimport { isAstroComponentFactory } from \"./astro/factory.js\";\nimport { renderTemplate } from \"./astro/index.js\";\nimport { createAstroComponentInstance } from \"./astro/instance.js\";\nimport {\n Fragment,\n Renderer,\n chunkToString\n} from \"./common.js\";\nimport { componentIsHTMLElement, renderHTMLElement } from \"./dom.js\";\nimport { maybeRenderHead } from \"./head.js\";\nimport { containsServerDirective, renderServerIsland } from \"./server-islands.js\";\nimport { renderSlotToString, renderSlots } from \"./slot.js\";\nimport { formatList, internalSpreadAttributes, renderElement, voidElementNames } from \"./util.js\";\nconst needsHeadRenderingSymbol = Symbol.for(\"astro.needsHeadRendering\");\nconst rendererAliases = /* @__PURE__ */ new Map([[\"solid\", \"solid-js\"]]);\nconst clientOnlyValues = /* @__PURE__ */ new Set([\"solid-js\", \"react\", \"preact\", \"vue\", \"svelte\"]);\nfunction guessRenderers(componentUrl) {\n const extname = componentUrl?.split(\".\").pop();\n switch (extname) {\n case \"svelte\":\n return [\"@astrojs/svelte\"];\n case \"vue\":\n return [\"@astrojs/vue\"];\n case \"jsx\":\n case \"tsx\":\n return [\"@astrojs/react\", \"@astrojs/preact\", \"@astrojs/solid-js\", \"@astrojs/vue (jsx)\"];\n default:\n return [\n \"@astrojs/react\",\n \"@astrojs/preact\",\n \"@astrojs/solid-js\",\n \"@astrojs/vue\",\n \"@astrojs/svelte\"\n ];\n }\n}\nfunction isFragmentComponent(Component) {\n return Component === Fragment;\n}\nfunction isHTMLComponent(Component) {\n return Component && Component[\"astro:html\"] === true;\n}\nconst ASTRO_SLOT_EXP = /<\\/?astro-slot\\b[^>]*>/g;\nconst ASTRO_STATIC_SLOT_EXP = /<\\/?astro-static-slot\\b[^>]*>/g;\nfunction removeStaticAstroSlot(html, supportsAstroStaticSlot = true) {\n const exp = supportsAstroStaticSlot ? ASTRO_STATIC_SLOT_EXP : ASTRO_SLOT_EXP;\n return html.replace(exp, \"\");\n}\nasync function renderFrameworkComponent(result, displayName, Component, _props, slots = {}) {\n if (!Component && \"client:only\" in _props === false) {\n throw new Error(\n `Unable to render ${displayName} because it is ${Component}!\nDid you forget to import the component or is it possible there is a typo?`\n );\n }\n const { renderers, clientDirectives } = result;\n const metadata = {\n astroStaticSlot: true,\n displayName\n };\n const { hydration, isPage, props, propsWithoutTransitionAttributes } = extractDirectives(\n _props,\n clientDirectives\n );\n let html = \"\";\n let attrs = void 0;\n if (hydration) {\n metadata.hydrate = hydration.directive;\n metadata.hydrateArgs = hydration.value;\n metadata.componentExport = hydration.componentExport;\n metadata.componentUrl = hydration.componentUrl;\n }\n const probableRendererNames = guessRenderers(metadata.componentUrl);\n const validRenderers = renderers.filter((r) => r.name !== \"astro:jsx\");\n const { children, slotInstructions } = await renderSlots(result, slots);\n let renderer;\n if (metadata.hydrate !== \"only\") {\n let isTagged = false;\n try {\n isTagged = Component && Component[Renderer];\n } catch {\n }\n if (isTagged) {\n const rendererName = Component[Renderer];\n renderer = renderers.find(({ name }) => name === rendererName);\n }\n if (!renderer) {\n let error;\n for (const r of renderers) {\n try {\n if (await r.ssr.check.call({ result }, Component, props, children)) {\n renderer = r;\n break;\n }\n } catch (e) {\n error ??= e;\n }\n }\n if (!renderer && error) {\n throw error;\n }\n }\n if (!renderer && typeof HTMLElement === \"function\" && componentIsHTMLElement(Component)) {\n const output = await renderHTMLElement(\n result,\n Component,\n _props,\n slots\n );\n return {\n render(destination) {\n destination.write(output);\n }\n };\n }\n } else {\n if (metadata.hydrateArgs) {\n const rendererName = rendererAliases.has(metadata.hydrateArgs) ? rendererAliases.get(metadata.hydrateArgs) : metadata.hydrateArgs;\n if (clientOnlyValues.has(rendererName)) {\n renderer = renderers.find(\n ({ name }) => name === `@astrojs/${rendererName}` || name === rendererName\n );\n }\n }\n if (!renderer && validRenderers.length === 1) {\n renderer = validRenderers[0];\n }\n if (!renderer) {\n const extname = metadata.componentUrl?.split(\".\").pop();\n renderer = renderers.find(({ name }) => name === `@astrojs/${extname}` || name === extname);\n }\n }\n let componentServerRenderEndTime;\n if (!renderer) {\n if (metadata.hydrate === \"only\") {\n const rendererName = rendererAliases.has(metadata.hydrateArgs) ? rendererAliases.get(metadata.hydrateArgs) : metadata.hydrateArgs;\n if (clientOnlyValues.has(rendererName)) {\n const plural = validRenderers.length > 1;\n throw new AstroError({\n ...AstroErrorData.NoMatchingRenderer,\n message: AstroErrorData.NoMatchingRenderer.message(\n metadata.displayName,\n metadata?.componentUrl?.split(\".\").pop(),\n plural,\n validRenderers.length\n ),\n hint: AstroErrorData.NoMatchingRenderer.hint(\n formatList(probableRendererNames.map((r) => \"`\" + r + \"`\"))\n )\n });\n } else {\n throw new AstroError({\n ...AstroErrorData.NoClientOnlyHint,\n message: AstroErrorData.NoClientOnlyHint.message(metadata.displayName),\n hint: AstroErrorData.NoClientOnlyHint.hint(\n probableRendererNames.map((r) => r.replace(\"@astrojs/\", \"\")).join(\"|\")\n )\n });\n }\n } else if (typeof Component !== \"string\") {\n const matchingRenderers = validRenderers.filter(\n (r) => probableRendererNames.includes(r.name)\n );\n const plural = validRenderers.length > 1;\n if (matchingRenderers.length === 0) {\n throw new AstroError({\n ...AstroErrorData.NoMatchingRenderer,\n message: AstroErrorData.NoMatchingRenderer.message(\n metadata.displayName,\n metadata?.componentUrl?.split(\".\").pop(),\n plural,\n validRenderers.length\n ),\n hint: AstroErrorData.NoMatchingRenderer.hint(\n formatList(probableRendererNames.map((r) => \"`\" + r + \"`\"))\n )\n });\n } else if (matchingRenderers.length === 1) {\n renderer = matchingRenderers[0];\n ({ html, attrs } = await renderer.ssr.renderToStaticMarkup.call(\n { result },\n Component,\n propsWithoutTransitionAttributes,\n children,\n metadata\n ));\n } else {\n throw new Error(`Unable to render ${metadata.displayName}!\n\nThis component likely uses ${formatList(probableRendererNames)},\nbut Astro encountered an error during server-side rendering.\n\nPlease ensure that ${metadata.displayName}:\n1. Does not unconditionally access browser-specific globals like \\`window\\` or \\`document\\`.\n If this is unavoidable, use the \\`client:only\\` hydration directive.\n2. Does not conditionally return \\`null\\` or \\`undefined\\` when rendered on the server.\n\nIf you're still stuck, please open an issue on GitHub or join us at https://astro.build/chat.`);\n }\n }\n } else {\n if (metadata.hydrate === \"only\") {\n const rendererName = rendererAliases.has(metadata.hydrateArgs) ? rendererAliases.get(metadata.hydrateArgs) : metadata.hydrateArgs;\n if (!clientOnlyValues.has(rendererName)) {\n console.warn(\n `The client:only directive for ${metadata.displayName} is not recognized. The renderer ${renderer.name} will be used. If you intended to use a different renderer, please provide a valid client:only directive.`\n );\n }\n html = await renderSlotToString(result, slots?.fallback);\n } else {\n const componentRenderStartTime = performance.now();\n ({ html, attrs } = await renderer.ssr.renderToStaticMarkup.call(\n { result },\n Component,\n propsWithoutTransitionAttributes,\n children,\n metadata\n ));\n if (process.env.NODE_ENV === \"development\")\n componentServerRenderEndTime = performance.now() - componentRenderStartTime;\n }\n }\n if (!html && typeof Component === \"string\") {\n const Tag = sanitizeElementName(Component);\n const childSlots = Object.values(children).join(\"\");\n const renderTemplateResult = renderTemplate`<${Tag}${internalSpreadAttributes(\n props\n )}${markHTMLString(\n childSlots === \"\" && voidElementNames.test(Tag) ? `/>` : `>${childSlots}`\n )}`;\n html = \"\";\n const destination = {\n write(chunk) {\n if (chunk instanceof Response) return;\n html += chunkToString(result, chunk);\n }\n };\n await renderTemplateResult.render(destination);\n }\n if (!hydration) {\n return {\n render(destination) {\n if (slotInstructions) {\n for (const instruction of slotInstructions) {\n destination.write(instruction);\n }\n }\n if (isPage || renderer?.name === \"astro:jsx\") {\n destination.write(html);\n } else if (html && html.length > 0) {\n destination.write(\n markHTMLString(removeStaticAstroSlot(html, renderer?.ssr?.supportsAstroStaticSlot))\n );\n }\n }\n };\n }\n const astroId = shorthash(\n `\n${html}\n${serializeProps(\n props,\n metadata\n )}`\n );\n const island = await generateHydrateScript(\n { renderer, result, astroId, props, attrs },\n metadata\n );\n if (componentServerRenderEndTime && process.env.NODE_ENV === \"development\")\n island.props[\"server-render-time\"] = componentServerRenderEndTime;\n let unrenderedSlots = [];\n if (html) {\n if (Object.keys(children).length > 0) {\n for (const key of Object.keys(children)) {\n let tagName = renderer?.ssr?.supportsAstroStaticSlot ? !!metadata.hydrate ? \"astro-slot\" : \"astro-static-slot\" : \"astro-slot\";\n let expectedHTML = key === \"default\" ? `<${tagName}>` : `<${tagName} name=\"${key}\">`;\n if (!html.includes(expectedHTML)) {\n unrenderedSlots.push(key);\n }\n }\n }\n } else {\n unrenderedSlots = Object.keys(children);\n }\n const template = unrenderedSlots.length > 0 ? unrenderedSlots.map(\n (key) => ``\n ).join(\"\") : \"\";\n island.children = `${html ?? \"\"}${template}`;\n if (island.children) {\n island.props[\"await-children\"] = \"\";\n island.children += ``;\n }\n return {\n render(destination) {\n if (slotInstructions) {\n for (const instruction of slotInstructions) {\n destination.write(instruction);\n }\n }\n destination.write(createRenderInstruction({ type: \"directive\", hydration }));\n if (hydration.directive !== \"only\" && renderer?.ssr.renderHydrationScript) {\n destination.write(\n createRenderInstruction({\n type: \"renderer-hydration-script\",\n rendererName: renderer.name,\n render: renderer.ssr.renderHydrationScript\n })\n );\n }\n const renderedElement = renderElement(\"astro-island\", island, false);\n destination.write(markHTMLString(renderedElement));\n }\n };\n}\nfunction sanitizeElementName(tag) {\n const unsafe = /[&<>'\"\\s]+/;\n if (!unsafe.test(tag)) return tag;\n return tag.trim().split(unsafe)[0].trim();\n}\nasync function renderFragmentComponent(result, slots = {}) {\n const children = await renderSlotToString(result, slots?.default);\n return {\n render(destination) {\n if (children == null) return;\n destination.write(children);\n }\n };\n}\nasync function renderHTMLComponent(result, Component, _props, slots = {}) {\n const { slotInstructions, children } = await renderSlots(result, slots);\n const html = Component({ slots: children });\n const hydrationHtml = slotInstructions ? slotInstructions.map((instr) => chunkToString(result, instr)).join(\"\") : \"\";\n return {\n render(destination) {\n destination.write(markHTMLString(hydrationHtml + html));\n }\n };\n}\nfunction renderAstroComponent(result, displayName, Component, props, slots = {}) {\n if (containsServerDirective(props)) {\n return renderServerIsland(result, displayName, props, slots);\n }\n const instance = createAstroComponentInstance(result, displayName, Component, props, slots);\n return {\n async render(destination) {\n await instance.render(destination);\n }\n };\n}\nasync function renderComponent(result, displayName, Component, props, slots = {}) {\n if (isPromise(Component)) {\n Component = await Component.catch(handleCancellation);\n }\n if (isFragmentComponent(Component)) {\n return await renderFragmentComponent(result, slots).catch(handleCancellation);\n }\n props = normalizeProps(props);\n if (isHTMLComponent(Component)) {\n return await renderHTMLComponent(result, Component, props, slots).catch(handleCancellation);\n }\n if (isAstroComponentFactory(Component)) {\n return renderAstroComponent(result, displayName, Component, props, slots);\n }\n return await renderFrameworkComponent(result, displayName, Component, props, slots).catch(\n handleCancellation\n );\n function handleCancellation(e) {\n if (result.cancelled)\n return {\n render() {\n }\n };\n throw e;\n }\n}\nfunction normalizeProps(props) {\n if (props[\"class:list\"] !== void 0) {\n const value = props[\"class:list\"];\n delete props[\"class:list\"];\n props[\"class\"] = clsx(props[\"class\"], value);\n if (props[\"class\"] === \"\") {\n delete props[\"class\"];\n }\n }\n return props;\n}\nasync function renderComponentToString(result, displayName, Component, props, slots = {}, isPage = false, route) {\n let str = \"\";\n let renderedFirstPageChunk = false;\n let head = \"\";\n if (isPage && !result.partial && nonAstroPageNeedsHeadInjection(Component)) {\n head += chunkToString(result, maybeRenderHead());\n }\n try {\n const destination = {\n write(chunk) {\n if (isPage && !result.partial && !renderedFirstPageChunk) {\n renderedFirstPageChunk = true;\n if (!/\" : \"\\n\";\n str += doctype + head;\n }\n }\n if (chunk instanceof Response) return;\n str += chunkToString(result, chunk);\n }\n };\n const renderInstance = await renderComponent(result, displayName, Component, props, slots);\n await renderInstance.render(destination);\n } catch (e) {\n if (AstroError.is(e) && !e.loc) {\n e.setLocation({\n file: route?.component\n });\n }\n throw e;\n }\n return str;\n}\nfunction nonAstroPageNeedsHeadInjection(pageComponent) {\n return !!pageComponent?.[needsHeadRenderingSymbol];\n}\nexport {\n renderComponent,\n renderComponentToString\n};\n","import { markHTMLString } from \"../escape.js\";\nasync function renderScript(result, id) {\n if (result._metadata.renderedScripts.has(id)) return;\n result._metadata.renderedScripts.add(id);\n const inlined = result.inlinedScripts.get(id);\n if (inlined != null) {\n if (inlined) {\n return markHTMLString(``);\n } else {\n return \"\";\n }\n }\n const resolved = await result.resolve(id);\n return markHTMLString(``);\n}\nexport {\n renderScript\n};\n","import cssesc from \"cssesc\";\nimport { fade, slide } from \"../../transitions/index.js\";\nimport { markHTMLString } from \"./escape.js\";\nconst transitionNameMap = /* @__PURE__ */ new WeakMap();\nfunction incrementTransitionNumber(result) {\n let num = 1;\n if (transitionNameMap.has(result)) {\n num = transitionNameMap.get(result) + 1;\n }\n transitionNameMap.set(result, num);\n return num;\n}\nfunction createTransitionScope(result, hash) {\n const num = incrementTransitionNumber(result);\n return `astro-${hash}-${num}`;\n}\nconst getAnimations = (name) => {\n if (name === \"fade\") return fade();\n if (name === \"slide\") return slide();\n if (typeof name === \"object\") return name;\n};\nconst addPairs = (animations, stylesheet) => {\n for (const [direction, images] of Object.entries(animations)) {\n for (const [image, rules] of Object.entries(images)) {\n stylesheet.addAnimationPair(direction, image, rules);\n }\n }\n};\nconst reEncodeValidChars = \"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_\".split(\"\").reduce((v, c) => (v[c.charCodeAt(0)] = c, v), []);\nconst reEncodeInValidStart = \"-0123456789_\".split(\"\").reduce((v, c) => (v[c.charCodeAt(0)] = c, v), []);\nfunction reEncode(s) {\n let result = \"\";\n let codepoint;\n for (let i = 0; i < s.length; i += (codepoint ?? 0) > 65535 ? 2 : 1) {\n codepoint = s.codePointAt(i);\n if (codepoint !== void 0) {\n result += codepoint < 128 ? codepoint === 95 ? \"__\" : reEncodeValidChars[codepoint] ?? \"_\" + codepoint.toString(16).padStart(2, \"0\") : String.fromCodePoint(codepoint);\n }\n }\n return reEncodeInValidStart[result.codePointAt(0) ?? 0] ? \"_\" + result : result;\n}\nfunction renderTransition(result, hash, animationName, transitionName) {\n if (typeof (transitionName ?? \"\") !== \"string\") {\n throw new Error(`Invalid transition name {${transitionName}}`);\n }\n if (!animationName) animationName = \"fade\";\n const scope = createTransitionScope(result, hash);\n const name = transitionName ? cssesc(reEncode(transitionName), { isIdentifier: true }) : scope;\n const sheet = new ViewTransitionStyleSheet(scope, name);\n const animations = getAnimations(animationName);\n if (animations) {\n addPairs(animations, sheet);\n } else if (animationName === \"none\") {\n sheet.addFallback(\"old\", \"animation: none; mix-blend-mode: normal;\");\n sheet.addModern(\"old\", \"animation: none; opacity: 0; mix-blend-mode: normal;\");\n sheet.addAnimationRaw(\"new\", \"animation: none; mix-blend-mode: normal;\");\n sheet.addModern(\"group\", \"animation: none\");\n }\n result._metadata.extraHead.push(markHTMLString(``));\n return scope;\n}\nfunction createAnimationScope(transitionName, animations) {\n const hash = Math.random().toString(36).slice(2, 8);\n const scope = `astro-${hash}`;\n const sheet = new ViewTransitionStyleSheet(scope, transitionName);\n addPairs(animations, sheet);\n return { scope, styles: sheet.toString().replaceAll('\"', \"\") };\n}\nclass ViewTransitionStyleSheet {\n constructor(scope, name) {\n this.scope = scope;\n this.name = name;\n }\n modern = [];\n fallback = [];\n toString() {\n const { scope, name } = this;\n const [modern, fallback] = [this.modern, this.fallback].map((rules) => rules.join(\"\"));\n return [\n `[data-astro-transition-scope=\"${scope}\"] { view-transition-name: ${name}; }`,\n this.layer(modern),\n fallback\n ].join(\"\");\n }\n layer(cssText) {\n return cssText ? `@layer astro { ${cssText} }` : \"\";\n }\n addRule(target, cssText) {\n this[target].push(cssText);\n }\n addAnimationRaw(image, animation) {\n this.addModern(image, animation);\n this.addFallback(image, animation);\n }\n addModern(image, animation) {\n const { name } = this;\n this.addRule(\"modern\", `::view-transition-${image}(${name}) { ${animation} }`);\n }\n addFallback(image, animation) {\n const { scope } = this;\n this.addRule(\n \"fallback\",\n // Two selectors here, the second in case there is an animation on the root.\n `[data-astro-transition-fallback=\"${image}\"] [data-astro-transition-scope=\"${scope}\"],\n\t\t\t[data-astro-transition-fallback=\"${image}\"][data-astro-transition-scope=\"${scope}\"] { ${animation} }`\n );\n }\n addAnimationPair(direction, image, rules) {\n const { scope, name } = this;\n const animation = stringifyAnimation(rules);\n const prefix = direction === \"backwards\" ? `[data-astro-transition=back]` : direction === \"forwards\" ? \"\" : `[data-astro-transition=${direction}]`;\n this.addRule(\"modern\", `${prefix}::view-transition-${image}(${name}) { ${animation} }`);\n this.addRule(\n \"fallback\",\n `${prefix}[data-astro-transition-fallback=\"${image}\"] [data-astro-transition-scope=\"${scope}\"],\n\t\t\t${prefix}[data-astro-transition-fallback=\"${image}\"][data-astro-transition-scope=\"${scope}\"] { ${animation} }`\n );\n }\n}\nfunction addAnimationProperty(builder, prop, value) {\n let arr = builder[prop];\n if (Array.isArray(arr)) {\n arr.push(value.toString());\n } else {\n builder[prop] = [value.toString()];\n }\n}\nfunction animationBuilder() {\n return {\n toString() {\n let out = \"\";\n for (let k in this) {\n let value = this[k];\n if (Array.isArray(value)) {\n out += `\n\t${k}: ${value.join(\", \")};`;\n }\n }\n return out;\n }\n };\n}\nfunction stringifyAnimation(anim) {\n if (Array.isArray(anim)) {\n return stringifyAnimations(anim);\n } else {\n return stringifyAnimations([anim]);\n }\n}\nfunction stringifyAnimations(anims) {\n const builder = animationBuilder();\n for (const anim of anims) {\n if (anim.duration) {\n addAnimationProperty(builder, \"animation-duration\", toTimeValue(anim.duration));\n }\n if (anim.easing) {\n addAnimationProperty(builder, \"animation-timing-function\", anim.easing);\n }\n if (anim.direction) {\n addAnimationProperty(builder, \"animation-direction\", anim.direction);\n }\n if (anim.delay) {\n addAnimationProperty(builder, \"animation-delay\", anim.delay);\n }\n if (anim.fillMode) {\n addAnimationProperty(builder, \"animation-fill-mode\", anim.fillMode);\n }\n addAnimationProperty(builder, \"animation-name\", anim.name);\n }\n return builder.toString();\n}\nfunction toTimeValue(num) {\n return typeof num === \"number\" ? num + \"ms\" : num;\n}\nexport {\n createAnimationScope,\n createTransitionScope,\n renderTransition\n};\n","import { createComponent } from \"./astro-component.js\";\nimport { createAstro } from \"./astro-global.js\";\nimport { renderEndpoint } from \"./endpoint.js\";\nimport {\n escapeHTML,\n HTMLBytes,\n HTMLString,\n isHTMLString,\n markHTMLString,\n unescapeHTML\n} from \"./escape.js\";\nimport { renderJSX } from \"./jsx.js\";\nimport {\n addAttribute,\n createHeadAndContent,\n defineScriptVars,\n Fragment,\n maybeRenderHead,\n renderTemplate,\n renderComponent,\n Renderer,\n renderHead,\n renderHTMLElement,\n renderPage,\n renderScript,\n renderScriptElement,\n renderSlot,\n renderSlotToString,\n renderTemplate as renderTemplate2,\n renderToString,\n renderUniqueStylesheet,\n voidElementNames\n} from \"./render/index.js\";\nimport { createTransitionScope, renderTransition } from \"./transition.js\";\nimport { markHTMLString as markHTMLString2 } from \"./escape.js\";\nimport { Renderer as Renderer2, addAttribute as addAttribute2 } from \"./render/index.js\";\nfunction mergeSlots(...slotted) {\n const slots = {};\n for (const slot of slotted) {\n if (!slot) continue;\n if (typeof slot === \"object\") {\n Object.assign(slots, slot);\n } else if (typeof slot === \"function\") {\n Object.assign(slots, mergeSlots(slot()));\n }\n }\n return slots;\n}\nfunction __astro_tag_component__(Component, rendererName) {\n if (!Component) return;\n if (typeof Component !== \"function\") return;\n Object.defineProperty(Component, Renderer2, {\n value: rendererName,\n enumerable: false,\n writable: false\n });\n}\nfunction spreadAttributes(values = {}, _name, { class: scopedClassName } = {}) {\n let output = \"\";\n if (scopedClassName) {\n if (typeof values.class !== \"undefined\") {\n values.class += ` ${scopedClassName}`;\n } else if (typeof values[\"class:list\"] !== \"undefined\") {\n values[\"class:list\"] = [values[\"class:list\"], scopedClassName];\n } else {\n values.class = scopedClassName;\n }\n }\n for (const [key, value] of Object.entries(values)) {\n output += addAttribute2(value, key, true);\n }\n return markHTMLString2(output);\n}\nfunction defineStyleVars(defs) {\n let output = \"\";\n let arr = !Array.isArray(defs) ? [defs] : defs;\n for (const vars of arr) {\n for (const [key, value] of Object.entries(vars)) {\n if (value || value === 0) {\n output += `--${key}: ${value};`;\n }\n }\n }\n return markHTMLString2(output);\n}\nexport {\n Fragment,\n HTMLBytes,\n HTMLString,\n Renderer,\n __astro_tag_component__,\n addAttribute,\n createAstro,\n createComponent,\n createHeadAndContent,\n createTransitionScope,\n defineScriptVars,\n defineStyleVars,\n escapeHTML,\n isHTMLString,\n markHTMLString,\n maybeRenderHead,\n mergeSlots,\n renderTemplate as render,\n renderComponent,\n renderEndpoint,\n renderHTMLElement,\n renderHead,\n renderJSX,\n renderPage,\n renderScript,\n renderScriptElement,\n renderSlot,\n renderSlotToString,\n renderTemplate2 as renderTemplate,\n renderToString,\n renderTransition,\n renderUniqueStylesheet,\n spreadAttributes,\n unescapeHTML,\n voidElementNames\n};\n"],"names":["AstroErrorData.InvalidComponentArgs","AstroErrorData.AstroGlobUsedOutside","AstroErrorData.AstroGlobNoMatch","AstroErrorData.MissingMediaQueryDirective","AstroErrorData.NoMatchingImport","islandScriptDev","islandScript","AstroErrorData.NoMatchingRenderer","AstroErrorData.NoClientOnlyHint","addAttribute2","markHTMLString2"],"mappings":";;;;;;AAiCA,MAAM,0BAA0B,GAAG;AACnC,EAAE,IAAI,EAAE,4BAA4B;AACpC,EAAE,KAAK,EAAE,6CAA6C;AACtD,EAAE,OAAO,EAAE,sIAAsI;AACjJ,CAAC,CAAC;AACF,MAAM,kBAAkB,GAAG;AAC3B,EAAE,IAAI,EAAE,oBAAoB;AAC5B,EAAE,KAAK,EAAE,6BAA6B;AACtC,EAAE,OAAO,EAAE,CAAC,aAAa,EAAE,kBAAkB,EAAE,MAAM,EAAE,mBAAmB,KAAK,CAAC,mBAAmB,EAAE,aAAa,CAAC;AACnH;AACA,EAAE,mBAAmB,GAAG,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,CAAC,CAAC,EAAE,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,GAAG,GAAG,EAAE,CAAC;AAC/G,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,YAAY,CAAC,8BAA8B,EAAE,aAAa,CAAC,GAAG,CAAC,GAAG,CAAC,4BAA4B,EAAE,kBAAkB,GAAG,CAAC,WAAW,EAAE,kBAAkB,CAAC,kBAAkB,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC;AACxO,EAAE,IAAI,EAAE,CAAC,iBAAiB,KAAK,CAAC,2BAA2B,EAAE,iBAAiB,CAAC;AAC/E;AACA,+HAA+H,CAAC;AAChI,CAAC,CAAC;AAOF,MAAM,gBAAgB,GAAG;AACzB,EAAE,IAAI,EAAE,kBAAkB;AAC1B,EAAE,KAAK,EAAE,wCAAwC;AACjD,EAAE,OAAO,EAAE,CAAC,aAAa,KAAK,CAAC,mBAAmB,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AC,CAAC;AAC5C,KAAK,MAAM,IAAI,OAAO,MAAM,CAAC,YAAY,CAAC,KAAK,WAAW,EAAE;AAC5D,MAAM,MAAM,CAAC,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE,eAAe,CAAC,CAAC;AACrE,KAAK,MAAM;AACX,MAAM,MAAM,CAAC,KAAK,GAAG,eAAe,CAAC;AACrC,KAAK;AACL,GAAG;AACH,EAAE,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;AACrD,IAAI,MAAM,IAAIE,YAAa,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;AAC9C,GAAG;AACH,EAAE,OAAOC,cAAe,CAAC,MAAM,CAAC,CAAC;AACjC;;;;","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]} \ No newline at end of file diff --git a/Target/chunks/astro_CC796JBB.mjs.map b/Target/chunks/astro_CC796JBB.mjs.map deleted file mode 100644 index 586e410e..00000000 --- a/Target/chunks/astro_CC796JBB.mjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"astro_CC796JBB.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;"} \ No newline at end of file diff --git a/Target/chunks/astro_a8hY06OA.mjs.map b/Target/chunks/astro_a8hY06OA.mjs.map new file mode 100644 index 00000000..8a64f7d6 --- /dev/null +++ b/Target/chunks/astro_a8hY06OA.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"astro_a8hY06OA.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;"} \ No newline at end of file diff --git a/Target/index.html b/Target/index.html index a21ad5ca..6acc86fc 100644 --- a/Target/index.html +++ b/Target/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/Target/manifest_Bx3jujsz.mjs.map b/Target/manifest_Bx3jujsz.mjs.map new file mode 100644 index 00000000..2bac28b9 --- /dev/null +++ b/Target/manifest_Bx3jujsz.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"manifest_Bx3jujsz.mjs","sources":["../../../../../node_modules/astro/dist/core/middleware/noop-middleware.js","../../../../../node_modules/astro/dist/actions/runtime/virtual/shared.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 { NOOP_MIDDLEWARE_HEADER } from \"../constants.js\";\nconst NOOP_MIDDLEWARE_FN = (ctx, next) => {\n ctx.request.headers.set(NOOP_MIDDLEWARE_HEADER, \"true\");\n return next();\n};\nexport {\n NOOP_MIDDLEWARE_FN\n};\n","import { parse as devalueParse, stringify as devalueStringify } from \"devalue\";\nimport { REDIRECT_STATUS_CODES } from \"../../../core/constants.js\";\nimport { ActionsReturnedInvalidDataError } from \"../../../core/errors/errors-data.js\";\nimport { AstroError } from \"../../../core/errors/errors.js\";\nimport { ACTION_QUERY_PARAMS as _ACTION_QUERY_PARAMS } from \"../../consts.js\";\nconst ACTION_QUERY_PARAMS = _ACTION_QUERY_PARAMS;\nconst ACTION_ERROR_CODES = [\n \"BAD_REQUEST\",\n \"UNAUTHORIZED\",\n \"FORBIDDEN\",\n \"NOT_FOUND\",\n \"TIMEOUT\",\n \"CONFLICT\",\n \"PRECONDITION_FAILED\",\n \"PAYLOAD_TOO_LARGE\",\n \"UNSUPPORTED_MEDIA_TYPE\",\n \"UNPROCESSABLE_CONTENT\",\n \"TOO_MANY_REQUESTS\",\n \"CLIENT_CLOSED_REQUEST\",\n \"INTERNAL_SERVER_ERROR\"\n];\nconst codeToStatusMap = {\n // Implemented from tRPC error code table\n // https://trpc.io/docs/server/error-handling#error-codes\n BAD_REQUEST: 400,\n UNAUTHORIZED: 401,\n FORBIDDEN: 403,\n NOT_FOUND: 404,\n TIMEOUT: 405,\n CONFLICT: 409,\n PRECONDITION_FAILED: 412,\n PAYLOAD_TOO_LARGE: 413,\n UNSUPPORTED_MEDIA_TYPE: 415,\n UNPROCESSABLE_CONTENT: 422,\n TOO_MANY_REQUESTS: 429,\n CLIENT_CLOSED_REQUEST: 499,\n INTERNAL_SERVER_ERROR: 500\n};\nconst statusToCodeMap = Object.entries(codeToStatusMap).reduce(\n // reverse the key-value pairs\n (acc, [key, value]) => ({ ...acc, [value]: key }),\n {}\n);\nclass ActionError extends Error {\n type = \"AstroActionError\";\n code = \"INTERNAL_SERVER_ERROR\";\n status = 500;\n constructor(params) {\n super(params.message);\n this.code = params.code;\n this.status = ActionError.codeToStatus(params.code);\n if (params.stack) {\n this.stack = params.stack;\n }\n }\n static codeToStatus(code) {\n return codeToStatusMap[code];\n }\n static statusToCode(status) {\n return statusToCodeMap[status] ?? \"INTERNAL_SERVER_ERROR\";\n }\n static fromJson(body) {\n if (isInputError(body)) {\n return new ActionInputError(body.issues);\n }\n if (isActionError(body)) {\n return new ActionError(body);\n }\n return new ActionError({\n code: \"INTERNAL_SERVER_ERROR\"\n });\n }\n}\nfunction isActionError(error) {\n return typeof error === \"object\" && error != null && \"type\" in error && error.type === \"AstroActionError\";\n}\nfunction isInputError(error) {\n return typeof error === \"object\" && error != null && \"type\" in error && error.type === \"AstroActionInputError\" && \"issues\" in error && Array.isArray(error.issues);\n}\nclass ActionInputError extends ActionError {\n type = \"AstroActionInputError\";\n // We don't expose all ZodError properties.\n // Not all properties will serialize from server to client,\n // and we don't want to import the full ZodError object into the client.\n issues;\n fields;\n constructor(issues) {\n super({\n message: `Failed to validate: ${JSON.stringify(issues, null, 2)}`,\n code: \"BAD_REQUEST\"\n });\n this.issues = issues;\n this.fields = {};\n for (const issue of issues) {\n if (issue.path.length > 0) {\n const key = issue.path[0].toString();\n this.fields[key] ??= [];\n this.fields[key]?.push(issue.message);\n }\n }\n }\n}\nasync function callSafely(handler) {\n try {\n const data = await handler();\n return { data, error: void 0 };\n } catch (e) {\n if (e instanceof ActionError) {\n return { data: void 0, error: e };\n }\n return {\n data: void 0,\n error: new ActionError({\n message: e instanceof Error ? e.message : \"Unknown error\",\n code: \"INTERNAL_SERVER_ERROR\"\n })\n };\n }\n}\nfunction getActionQueryString(name) {\n const searchParams = new URLSearchParams({ [_ACTION_QUERY_PARAMS.actionName]: name });\n return `?${searchParams.toString()}`;\n}\nfunction serializeActionResult(res) {\n if (res.error) {\n if (import.meta.env?.DEV) {\n actionResultErrorStack.set(res.error.stack);\n }\n let body2;\n if (res.error instanceof ActionInputError) {\n body2 = {\n type: res.error.type,\n issues: res.error.issues,\n fields: res.error.fields\n };\n } else {\n body2 = {\n ...res.error,\n message: res.error.message\n };\n }\n return {\n type: \"error\",\n status: res.error.status,\n contentType: \"application/json\",\n body: JSON.stringify(body2)\n };\n }\n if (res.data === void 0) {\n return {\n type: \"empty\",\n status: 204\n };\n }\n let body;\n try {\n body = devalueStringify(res.data, {\n // Add support for URL objects\n URL: (value) => value instanceof URL && value.href\n });\n } catch (e) {\n let hint = ActionsReturnedInvalidDataError.hint;\n if (res.data instanceof Response) {\n hint = REDIRECT_STATUS_CODES.includes(res.data.status) ? \"If you need to redirect when the action succeeds, trigger a redirect where the action is called. See the Actions guide for server and client redirect examples: https://docs.astro.build/en/guides/actions.\" : \"If you need to return a Response object, try using a server endpoint instead. See https://docs.astro.build/en/guides/endpoints/#server-endpoints-api-routes\";\n }\n throw new AstroError({\n ...ActionsReturnedInvalidDataError,\n message: ActionsReturnedInvalidDataError.message(String(e)),\n hint\n });\n }\n return {\n type: \"data\",\n status: 200,\n contentType: \"application/json+devalue\",\n body\n };\n}\nfunction deserializeActionResult(res) {\n if (res.type === \"error\") {\n let json;\n try {\n json = JSON.parse(res.body);\n } catch {\n return {\n data: void 0,\n error: new ActionError({\n message: res.body,\n code: \"INTERNAL_SERVER_ERROR\"\n })\n };\n }\n if (import.meta.env?.PROD) {\n return { error: ActionError.fromJson(json), data: void 0 };\n } else {\n const error = ActionError.fromJson(json);\n error.stack = actionResultErrorStack.get();\n return {\n error,\n data: void 0\n };\n }\n }\n if (res.type === \"empty\") {\n return { data: void 0, error: void 0 };\n }\n return {\n data: devalueParse(res.body, {\n URL: (href) => new URL(href)\n }),\n error: void 0\n };\n}\nconst actionResultErrorStack = /* @__PURE__ */ function actionResultErrorStackFn() {\n let errorStack;\n return {\n set(stack) {\n errorStack = stack;\n },\n get() {\n return errorStack;\n }\n };\n}();\nexport {\n ACTION_ERROR_CODES,\n ACTION_QUERY_PARAMS,\n ActionError,\n ActionInputError,\n callSafely,\n deserializeActionResult,\n getActionQueryString,\n isActionError,\n isInputError,\n serializeActionResult\n};\n","function 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 getParameter(part, params) {\n if (part.spread) {\n return params[part.content.slice(3)] || \"\";\n }\n if (part.dynamic) {\n if (!params[part.content]) {\n throw new TypeError(`Missing parameter: ${part.content}`);\n }\n return params[part.content];\n }\n return part.content.normalize().replace(/\\?/g, \"%3F\").replace(/#/g, \"%23\").replace(/%5B/g, \"[\").replace(/%5D/g, \"]\");\n}\nfunction getSegment(segment, params) {\n const segmentPath = segment.map((part) => getParameter(part, params)).join(\"\");\n return segmentPath ? \"/\" + segmentPath : \"\";\n}\nfunction getRouteGenerator(segments, addTrailingSlash) {\n return (params) => {\n const sanitizedParams = sanitizeParams(params);\n let trailing = \"\";\n if (addTrailingSlash === \"always\" && segments.length) {\n trailing = \"/\";\n }\n const path = segments.map((segment) => getSegment(segment, sanitizedParams)).join(\"\") + trailing;\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 { decodeKey } from \"../encryption.js\";\nimport { NOOP_MIDDLEWARE_FN } from \"../middleware/noop-middleware.js\";\nimport { 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 const key = decodeKey(serializedManifest.key);\n return {\n // in case user middleware exists, this no-op middleware will be reassigned (see plugin-ssr.ts)\n middleware() {\n return { onRequest: NOOP_MIDDLEWARE_FN };\n },\n ...serializedManifest,\n assets,\n componentMetadata,\n inlinedScripts,\n clientDirectives,\n routes,\n serverIslandNameMap,\n key\n };\n}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deleted file mode 100644 index b0ecd3b6..00000000 --- a/Target/manifest_CKJi_DMi.mjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"manifest_CKJi_DMi.mjs","sources":["../../../../../node_modules/astro/dist/core/middleware/noop-middleware.js","../../../../../node_modules/astro/dist/actions/runtime/virtual/shared.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":["const NOOP_MIDDLEWARE_FN = (_, next) => next();\nexport {\n NOOP_MIDDLEWARE_FN\n};\n","import { parse as devalueParse, stringify as devalueStringify } from \"devalue\";\nimport { REDIRECT_STATUS_CODES } from \"../../../core/constants.js\";\nimport { ActionsReturnedInvalidDataError } from \"../../../core/errors/errors-data.js\";\nimport { AstroError } from \"../../../core/errors/errors.js\";\nimport { ACTION_QUERY_PARAMS as _ACTION_QUERY_PARAMS } from \"../../consts.js\";\nconst ACTION_QUERY_PARAMS = _ACTION_QUERY_PARAMS;\nconst ACTION_ERROR_CODES = [\n \"BAD_REQUEST\",\n \"UNAUTHORIZED\",\n \"FORBIDDEN\",\n \"NOT_FOUND\",\n \"TIMEOUT\",\n \"CONFLICT\",\n \"PRECONDITION_FAILED\",\n \"PAYLOAD_TOO_LARGE\",\n \"UNSUPPORTED_MEDIA_TYPE\",\n \"UNPROCESSABLE_CONTENT\",\n \"TOO_MANY_REQUESTS\",\n \"CLIENT_CLOSED_REQUEST\",\n \"INTERNAL_SERVER_ERROR\"\n];\nconst codeToStatusMap = {\n // Implemented from tRPC error code table\n // https://trpc.io/docs/server/error-handling#error-codes\n BAD_REQUEST: 400,\n UNAUTHORIZED: 401,\n FORBIDDEN: 403,\n NOT_FOUND: 404,\n TIMEOUT: 405,\n CONFLICT: 409,\n PRECONDITION_FAILED: 412,\n PAYLOAD_TOO_LARGE: 413,\n UNSUPPORTED_MEDIA_TYPE: 415,\n UNPROCESSABLE_CONTENT: 422,\n TOO_MANY_REQUESTS: 429,\n CLIENT_CLOSED_REQUEST: 499,\n INTERNAL_SERVER_ERROR: 500\n};\nconst statusToCodeMap = Object.entries(codeToStatusMap).reduce(\n // reverse the key-value pairs\n (acc, [key, value]) => ({ ...acc, [value]: key }),\n {}\n);\nclass ActionError extends Error {\n type = \"AstroActionError\";\n code = \"INTERNAL_SERVER_ERROR\";\n status = 500;\n constructor(params) {\n super(params.message);\n this.code = params.code;\n this.status = ActionError.codeToStatus(params.code);\n if (params.stack) {\n this.stack = params.stack;\n }\n }\n static codeToStatus(code) {\n return codeToStatusMap[code];\n }\n static statusToCode(status) {\n return statusToCodeMap[status] ?? \"INTERNAL_SERVER_ERROR\";\n }\n static fromJson(body) {\n if (isInputError(body)) {\n return new ActionInputError(body.issues);\n }\n if (isActionError(body)) {\n return new ActionError(body);\n }\n return new ActionError({\n code: \"INTERNAL_SERVER_ERROR\"\n });\n }\n}\nfunction isActionError(error) {\n return typeof error === \"object\" && error != null && \"type\" in error && error.type === \"AstroActionError\";\n}\nfunction isInputError(error) {\n return typeof error === \"object\" && error != null && \"type\" in error && error.type === \"AstroActionInputError\" && \"issues\" in error && Array.isArray(error.issues);\n}\nclass ActionInputError extends ActionError {\n type = \"AstroActionInputError\";\n // We don't expose all ZodError properties.\n // Not all properties will serialize from server to client,\n // and we don't want to import the full ZodError object into the client.\n issues;\n fields;\n constructor(issues) {\n super({\n message: `Failed to validate: ${JSON.stringify(issues, null, 2)}`,\n code: \"BAD_REQUEST\"\n });\n this.issues = issues;\n this.fields = {};\n for (const issue of issues) {\n if (issue.path.length > 0) {\n const key = issue.path[0].toString();\n this.fields[key] ??= [];\n this.fields[key]?.push(issue.message);\n }\n }\n }\n}\nasync function callSafely(handler) {\n try {\n const data = await handler();\n return { data, error: void 0 };\n } catch (e) {\n if (e instanceof ActionError) {\n return { data: void 0, error: e };\n }\n return {\n data: void 0,\n error: new ActionError({\n message: e instanceof Error ? e.message : \"Unknown error\",\n code: \"INTERNAL_SERVER_ERROR\"\n })\n };\n }\n}\nfunction getActionQueryString(name) {\n const searchParams = new URLSearchParams({ [_ACTION_QUERY_PARAMS.actionName]: name });\n return `?${searchParams.toString()}`;\n}\nfunction serializeActionResult(res) {\n if (res.error) {\n if (import.meta.env?.DEV) {\n actionResultErrorStack.set(res.error.stack);\n }\n let body2;\n if (res.error instanceof ActionInputError) {\n body2 = {\n type: res.error.type,\n issues: res.error.issues,\n fields: res.error.fields\n };\n } else {\n body2 = {\n ...res.error,\n message: res.error.message\n };\n }\n return {\n type: \"error\",\n status: res.error.status,\n contentType: \"application/json\",\n body: JSON.stringify(body2)\n };\n }\n if (res.data === void 0) {\n return {\n type: \"empty\",\n status: 204\n };\n }\n let body;\n try {\n body = devalueStringify(res.data, {\n // Add support for URL objects\n URL: (value) => value instanceof URL && value.href\n });\n } catch (e) {\n let hint = ActionsReturnedInvalidDataError.hint;\n if (res.data instanceof Response) {\n hint = REDIRECT_STATUS_CODES.includes(res.data.status) ? \"If you need to redirect when the action succeeds, trigger a redirect where the action is called. See the Actions guide for server and client redirect examples: https://docs.astro.build/en/guides/actions.\" : \"If you need to return a Response object, try using a server endpoint instead. See https://docs.astro.build/en/guides/endpoints/#server-endpoints-api-routes\";\n }\n throw new AstroError({\n ...ActionsReturnedInvalidDataError,\n message: ActionsReturnedInvalidDataError.message(String(e)),\n hint\n });\n }\n return {\n type: \"data\",\n status: 200,\n contentType: \"application/json+devalue\",\n body\n };\n}\nfunction deserializeActionResult(res) {\n if (res.type === \"error\") {\n let json;\n try {\n json = JSON.parse(res.body);\n } catch {\n return {\n data: void 0,\n error: new ActionError({\n message: res.body,\n code: \"INTERNAL_SERVER_ERROR\"\n })\n };\n }\n if (import.meta.env?.PROD) {\n return { error: ActionError.fromJson(json), data: void 0 };\n } else {\n const error = ActionError.fromJson(json);\n error.stack = actionResultErrorStack.get();\n return {\n error,\n data: void 0\n };\n }\n }\n if (res.type === \"empty\") {\n return { data: void 0, error: void 0 };\n }\n return {\n data: devalueParse(res.body, {\n URL: (href) => new URL(href)\n }),\n error: void 0\n };\n}\nconst actionResultErrorStack = /* @__PURE__ */ function actionResultErrorStackFn() {\n let errorStack;\n return {\n set(stack) {\n errorStack = stack;\n },\n get() {\n return errorStack;\n }\n };\n}();\nexport {\n ACTION_ERROR_CODES,\n ACTION_QUERY_PARAMS,\n ActionError,\n ActionInputError,\n callSafely,\n deserializeActionResult,\n getActionQueryString,\n isActionError,\n isInputError,\n serializeActionResult\n};\n","function 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 getParameter(part, params) {\n if (part.spread) {\n return params[part.content.slice(3)] || \"\";\n }\n if (part.dynamic) {\n if (!params[part.content]) {\n throw new TypeError(`Missing parameter: ${part.content}`);\n }\n return params[part.content];\n }\n return part.content.normalize().replace(/\\?/g, \"%3F\").replace(/#/g, \"%23\").replace(/%5B/g, \"[\").replace(/%5D/g, \"]\");\n}\nfunction getSegment(segment, params) {\n const segmentPath = segment.map((part) => getParameter(part, params)).join(\"\");\n return segmentPath ? \"/\" + segmentPath : \"\";\n}\nfunction getRouteGenerator(segments, addTrailingSlash) {\n return (params) => {\n const sanitizedParams = sanitizeParams(params);\n let trailing = \"\";\n if (addTrailingSlash === \"always\" && segments.length) {\n trailing = \"/\";\n }\n const path = segments.map((segment) => getSegment(segment, sanitizedParams)).join(\"\") + trailing;\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 { decodeKey } from \"../encryption.js\";\nimport { NOOP_MIDDLEWARE_FN } from \"../middleware/noop-middleware.js\";\nimport { 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 const key = decodeKey(serializedManifest.key);\n return {\n // in case user middleware exists, this no-op middleware will be reassigned (see plugin-ssr.ts)\n middleware() {\n return { onRequest: NOOP_MIDDLEWARE_FN };\n },\n ...serializedManifest,\n assets,\n componentMetadata,\n inlinedScripts,\n clientDirectives,\n routes,\n serverIslandNameMap,\n key\n };\n}\nexport {\n deserializeManifest\n};\n"],"names":[],"mappings":";;;;;;;;AAAA,MAAM,kBAAkB,GAAG,CAAC,CAAC,EAAE,IAAI,KAAK,IAAI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ages/index.astro.mjs.map b/Target/pages/index.astro.mjs.map index 4d5bc021..c47f5ce9 100644 --- a/Target/pages/index.astro.mjs.map +++ b/Target/pages/index.astro.mjs.map @@ -1 +1 @@ -{"version":3,"file":"index.astro.mjs","sources":["../../../../../../node_modules/astro-capo/src/capo/rules.ts","../../../../../../node_modules/astro-capo/src/capo/index.ts","../../../../../../node_modules/astro-capo/src/Head.ts","../../../../../../node_modules/astro/components/ClientRouter.astro","../../Source/Layout/Base.astro","../../Source/pages/index.astro"],"sourcesContent":["import type { ElementNode } from \"ultrahtml\";\nimport { renderSync } from 'ultrahtml';\n\ntype Attributes = Record;\n\nfunction has(value: unknown): value is string {\n return typeof value === 'string';\n}\nfunction is(a: unknown, b: T): a is T {\n return a === b;\n}\nfunction any(a: string | undefined, b: string[]): a is string {\n return has(a) && b.includes(a.toLowerCase());\n}\n\nexport const ElementWeights: Record = {\n META: 10,\n TITLE: 9,\n PRECONNECT: 8,\n ASYNC_SCRIPT: 7,\n IMPORT_STYLES: 6,\n SYNC_SCRIPT: 5,\n SYNC_STYLES: 4,\n PRELOAD: 3,\n DEFER_SCRIPT: 2,\n PREFETCH_PRERENDER: 1,\n OTHER: 0\n};\n\nexport const ElementDetectors = {\n META: isMeta,\n TITLE: isTitle,\n PRECONNECT: isPreconnect,\n DEFER_SCRIPT: isDeferScript,\n ASYNC_SCRIPT: isAsyncScript,\n IMPORT_STYLES: isImportStyles,\n SYNC_SCRIPT: isSyncScript,\n SYNC_STYLES: isSyncStyles,\n PRELOAD: isPreload,\n PREFETCH_PRERENDER: isPrefetchPrerender\n}\n\nexport const META_HTTP_EQUIV_KEYWORDS = [\n 'accept-ch',\n 'content-security-policy',\n 'content-type',\n 'default-style',\n 'delegate-ch',\n 'origin-trial',\n 'x-dns-prefetch-control'\n];\n\n// meta:is([charset], ${httpEquivSelector}, [name=viewport]), base\nexport function isMeta(name: string, a: Attributes) {\n if (name === 'base') return true;\n if (name !== 'meta') return false;\n return has(a.charset) || is(a.name, 'viewport') || any(a['http-equiv'], META_HTTP_EQUIV_KEYWORDS)\n}\n\n// title\nexport function isTitle(name: string) {\n return name === 'title';\n}\n\n// link[rel=preconnect]\nexport function isPreconnect(name: string, { rel }: Attributes) {\n return name === 'link' && is(rel, 'preconnect');\n}\n\n// script[src][async]\nexport function isAsyncScript(name: string, { src, async }: Attributes) {\n return name === 'script' && has(src) && has(async);\n}\n\n// style that contains @import\nexport function isImportStyles(name: string, a: Attributes, children: string) {\n const importRe = /@import/;\n\n if (name === 'style') {\n return importRe.test(children);\n }\n\n // Can't support external stylesheets on the server\n return false;\n}\n\n// script:not([src][defer],[src][type=module],[src][async],[type*=json])\nexport function isSyncScript(name: string, { src, defer, async, type = '' }: Attributes) {\n if (name !== 'script') return false;\n return !(has(src) && (has(defer) || has(async) || is(type, 'module')) || type.includes('json'))\n}\n\n// link[rel=stylesheet],style\nexport function isSyncStyles(name: string, { rel }: Attributes) {\n if (name === 'style') return true;\n return name === 'link' && is(rel, 'stylesheet')\n}\n\n// link:is([rel=preload], [rel=modulepreload])\nexport function isPreload(name: string, { rel }: Attributes) {\n return name === 'link' && any(rel, ['preload', 'modulepreload']);\n}\n\n// script[src][defer], script:not([src][async])[src][type=module]\nexport function isDeferScript(name: string, { src, defer, async, type }: Attributes) {\n if (name !== 'script') return false;\n return (has(src) && has(defer)) || (has(src) && is(type, 'module') && !has(async));\n}\n\n// link:is([rel=prefetch], [rel=dns-prefetch], [rel=prerender])\nexport function isPrefetchPrerender(name: string, { rel }: Attributes) {\n return name === 'link' && any(rel, ['prefetch', 'dns-prefetch', 'prerender'])\n}\n\n// meta[http-equiv=\"origin-trial\"i]\nexport function isOriginTrial(name: string, { 'http-equiv': http }: Attributes) {\n return name === 'meta' && is(http, 'origin-trial');\n}\n\n// meta[http-equiv=\"Content-Security-Policy\" i]\nexport function isMetaCSP(name: string, { 'http-equiv': http }: Attributes) {\n return name === 'meta' && is(http, 'Content-Security-Policy');\n}\n\nexport function getWeight(element: ElementNode) {\n for (const [id, detector] of Object.entries(ElementDetectors)) {\n const children = (element.name === 'style' && element.children.length > 0) ? renderSync(element) : '';\n if (detector(element.name, element.attributes, children)) {\n return ElementWeights[id];\n }\n }\n return ElementWeights.OTHER;\n}\n","import type { ElementNode } from 'ultrahtml';\nimport { parse, walkSync, renderSync, ELEMENT_NODE } from 'ultrahtml';\nimport { getWeight } from './rules.ts';\n\nexport default function capo(html: string) {\n const ast = parse(html);\n try {\n walkSync(ast, (node, parent, index) => {\n if (node.type === ELEMENT_NODE && node.name === 'head') {\n if (parent) {\n parent.children.splice(index, 1, getSortedHead(node));\n throw 'done' // short-circuit\n }\n }\n })\n } catch (e) {\n if (e !== 'done') throw e;\n }\n return renderSync(ast);\n}\n\nfunction getSortedHead(head: ElementNode): ElementNode {\n const weightedChildren = head.children.map((node) => {\n if (node.type === ELEMENT_NODE) {\n const weight = getWeight(node);\n return [weight, node];\n }\n }).filter(Boolean) as [number, ElementNode][]\n const children = weightedChildren.sort((a, b) => b[0] - a[0]).map(([_, element]) => element)\n return { ...head, children };\n}\n","import type { SSRResult } from \"astro\";\n// @ts-expect-error using astro internals\nimport { renderAllHeadContent } from \"astro/runtime/server/render/head.js\";\n// @ts-expect-error using astro internals\nimport { createComponent, unescapeHTML, renderSlotToString, spreadAttributes } from \"astro/runtime/server/index.js\";\nimport capo from \"./capo/index.ts\";\n\nexport const Head = createComponent({\n factory: async (result: SSRResult, props: Record, slots: Record) => {\n let head = '';\n head += ``\n head += await renderSlotToString(result, slots.default);\n head += renderAllHeadContent(result);\n head += '';\n return unescapeHTML(capo(head));\n }\n})\n","---\ntype Fallback = 'none' | 'animate' | 'swap';\n\nexport interface Props {\n\tfallback?: Fallback;\n\t/** @deprecated handleForms is enabled by default in Astro 4.0\n\t *\n\t * Set `data-astro-reload` on your form to opt-out of the default behavior.\n\t */\n\thandleForms?: boolean;\n}\n\nconst { fallback = 'animate' } = Astro.props;\n---\n\n\n\n\n\n","---\nimport \"@Stylesheet/Base.css\";\n\nimport { Head } from \"astro-capo\";\nimport { ClientRouter } from \"astro:transitions\";\n\n// TODO Place your title and description here\nconst { Title = \"\", Description = \"\" } = Astro.props;\n\ninterface Props {\n\tTitle?: string;\n\tDescription?: string;\n}\n---\n\n\n\n\t\n\t\t\n\n\t\t\n\t\t{Title}\n\t\t\n\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\n\t\t\n\t\t\n\t\t\n\t\t\n\n\t\t\n\n\t\t\n\n\t\t\n\t\t\n\t\n\t\n\t\t
\n\t\t\t\n\t\t
\n\t\t\n\t\n\n","---\nimport Base from \"@Layout/Base.astro\";\n---\n\n\n"],"names":["$$createComponent","Astro","$$Astro","$$render","$$addAttribute","$$renderScript","$$createAstro","$$renderComponent","$$result","$$renderSlot","ClientRouter","$$maybeRenderHead","Base"],"mappings":";;;;;;;AAKA,SAAS,IAAI,KAAiC,EAAA;AAC1C,EAAA,OAAO,OAAO,KAAU,KAAA,QAAA,CAAA;AAC5B,CAAA;AACA,SAAS,EAAA,CAAM,GAAY,CAAc,EAAA;AACrC,EAAA,OAAO,CAAM,KAAA,CAAA,CAAA;AACjB,CAAA;AACA,SAAS,GAAA,CAAI,GAAuB,CAA0B,EAAA;AAC1D,EAAA,OAAO,IAAI,CAAC,CAAA,IAAK,EAAE,QAAS,CAAA,CAAA,CAAE,aAAa,CAAA,CAAA;AAC/C,CAAA;AAEO,MAAM,cAAyC,GAAA;AAAA,EACpD,IAAM,EAAA,EAAA;AAAA,EACN,KAAO,EAAA,CAAA;AAAA,EACP,UAAY,EAAA,CAAA;AAAA,EACZ,YAAc,EAAA,CAAA;AAAA,EACd,aAAe,EAAA,CAAA;AAAA,EACf,WAAa,EAAA,CAAA;AAAA,EACb,WAAa,EAAA,CAAA;AAAA,EACb,OAAS,EAAA,CAAA;AAAA,EACT,YAAc,EAAA,CAAA;AAAA,EACd,kBAAoB,EAAA,CAAA;AAAA,EACpB,KAAO,EAAA,CAAA;AACT,CAAA,CAAA;AAEO,MAA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,EAAA,OAmDc,CAAA,MAAA,CAAX,CAAA,CAAA,EAnDHD,eAAAC,CAAAA,SAAAA,EAAA,cAAA,EAAAE,cAAA,EAAA,EAsDG,CAAA,CAAA,CAAA,EACA,CAAA,CAvDH,EAAAC,eAAA,CAAA,CAAA,CAAA,0BAAA,EAAAF,UAAA,CAAA,QAAA,EAAA,OAAA,CAAA,SAAA,CA0DI,CAAA,CAED,QAAA,EAAAJ,YAAA,CAAA,QAAA,EAAA,kHAAA,CAAA,CAAA,gBAAA,CAAA,CAAA;AA5DH,CAAA,EAAA,kFAAA,KAAA,CAAA,CAAA;;ACAA,MAAA,OAAA,GAAAL,eAAA,CAAA,CAAA,QAAA,EAAA,SAAA,OAAA,KAAA;AAAA,EAAA,OAAAG,iBAAAI,eAAA,CAAA,QAAA,EAAA,QAAAK,MAAA,EAAA,EAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,EAAA,kFAAA,KAAA,CAAA,CAAA,CAAA;;;;;;;;;;;;;;;;","x_google_ignoreList":[0,1,2,3]} \ No newline at end of file +{"version":3,"file":"index.astro.mjs","sources":["../../../../../../node_modules/astro-capo/src/capo/rules.ts","../../../../../../node_modules/astro-capo/src/capo/index.ts","../../../../../../node_modules/astro-capo/src/Head.ts","../../../../../../node_modules/astro/components/ClientRouter.astro","../../Source/Layout/Base.astro","../../Source/pages/index.astro"],"sourcesContent":["import type { ElementNode } from \"ultrahtml\";\nimport { renderSync } from 'ultrahtml';\n\ntype Attributes = Record;\n\nfunction has(value: unknown): value is string {\n return typeof value === 'string';\n}\nfunction is(a: unknown, b: T): a is T {\n return a === b;\n}\nfunction any(a: string | undefined, b: string[]): a is string {\n return has(a) && b.includes(a.toLowerCase());\n}\n\nexport const ElementWeights: Record = {\n META: 10,\n TITLE: 9,\n PRECONNECT: 8,\n ASYNC_SCRIPT: 7,\n IMPORT_STYLES: 6,\n SYNC_SCRIPT: 5,\n SYNC_STYLES: 4,\n PRELOAD: 3,\n DEFER_SCRIPT: 2,\n PREFETCH_PRERENDER: 1,\n OTHER: 0\n};\n\nexport const ElementDetectors = {\n META: isMeta,\n TITLE: isTitle,\n PRECONNECT: isPreconnect,\n DEFER_SCRIPT: isDeferScript,\n ASYNC_SCRIPT: isAsyncScript,\n IMPORT_STYLES: isImportStyles,\n SYNC_SCRIPT: isSyncScript,\n SYNC_STYLES: isSyncStyles,\n PRELOAD: isPreload,\n PREFETCH_PRERENDER: isPrefetchPrerender\n}\n\nexport const META_HTTP_EQUIV_KEYWORDS = [\n 'accept-ch',\n 'content-security-policy',\n 'content-type',\n 'default-style',\n 'delegate-ch',\n 'origin-trial',\n 'x-dns-prefetch-control'\n];\n\n// meta:is([charset], ${httpEquivSelector}, [name=viewport]), base\nexport function isMeta(name: string, a: Attributes) {\n if (name === 'base') return true;\n if (name !== 'meta') return false;\n return has(a.charset) || is(a.name, 'viewport') || any(a['http-equiv'], META_HTTP_EQUIV_KEYWORDS)\n}\n\n// title\nexport function isTitle(name: string) {\n return name === 'title';\n}\n\n// link[rel=preconnect]\nexport function isPreconnect(name: string, { rel }: Attributes) {\n return name === 'link' && is(rel, 'preconnect');\n}\n\n// script[src][async]\nexport function isAsyncScript(name: string, { src, async }: Attributes) {\n return name === 'script' && has(src) && has(async);\n}\n\n// style that contains @import\nexport function isImportStyles(name: string, a: Attributes, children: string) {\n const importRe = /@import/;\n\n if (name === 'style') {\n return importRe.test(children);\n }\n\n // Can't support external stylesheets on the server\n return false;\n}\n\n// script:not([src][defer],[src][type=module],[src][async],[type*=json])\nexport function isSyncScript(name: string, { src, defer, async, type = '' }: Attributes) {\n if (name !== 'script') return false;\n return !(has(src) && (has(defer) || has(async) || is(type, 'module')) || type.includes('json'))\n}\n\n// link[rel=stylesheet],style\nexport function isSyncStyles(name: string, { rel }: Attributes) {\n if (name === 'style') return true;\n return name === 'link' && is(rel, 'stylesheet')\n}\n\n// link:is([rel=preload], [rel=modulepreload])\nexport function isPreload(name: string, { rel }: Attributes) {\n return name === 'link' && any(rel, ['preload', 'modulepreload']);\n}\n\n// script[src][defer], script:not([src][async])[src][type=module]\nexport function isDeferScript(name: string, { src, defer, async, type }: Attributes) {\n if (name !== 'script') return false;\n return (has(src) && has(defer)) || (has(src) && is(type, 'module') && !has(async));\n}\n\n// link:is([rel=prefetch], [rel=dns-prefetch], [rel=prerender])\nexport function isPrefetchPrerender(name: string, { rel }: Attributes) {\n return name === 'link' && any(rel, ['prefetch', 'dns-prefetch', 'prerender'])\n}\n\n// meta[http-equiv=\"origin-trial\"i]\nexport function isOriginTrial(name: string, { 'http-equiv': http }: Attributes) {\n return name === 'meta' && is(http, 'origin-trial');\n}\n\n// meta[http-equiv=\"Content-Security-Policy\" i]\nexport function isMetaCSP(name: string, { 'http-equiv': http }: Attributes) {\n return name === 'meta' && is(http, 'Content-Security-Policy');\n}\n\nexport function getWeight(element: ElementNode) {\n for (const [id, detector] of Object.entries(ElementDetectors)) {\n const children = (element.name === 'style' && element.children.length > 0) ? renderSync(element) : '';\n if (detector(element.name, element.attributes, children)) {\n return ElementWeights[id];\n }\n }\n return ElementWeights.OTHER;\n}\n","import type { ElementNode } from 'ultrahtml';\nimport { parse, walkSync, renderSync, ELEMENT_NODE } from 'ultrahtml';\nimport { getWeight } from './rules.ts';\n\nexport default function capo(html: string) {\n const ast = parse(html);\n try {\n walkSync(ast, (node, parent, index) => {\n if (node.type === ELEMENT_NODE && node.name === 'head') {\n if (parent) {\n parent.children.splice(index, 1, getSortedHead(node));\n throw 'done' // short-circuit\n }\n }\n })\n } catch (e) {\n if (e !== 'done') throw e;\n }\n return renderSync(ast);\n}\n\nfunction getSortedHead(head: ElementNode): ElementNode {\n const weightedChildren = head.children.map((node) => {\n if (node.type === ELEMENT_NODE) {\n const weight = getWeight(node);\n return [weight, node];\n }\n }).filter(Boolean) as [number, ElementNode][]\n const children = weightedChildren.sort((a, b) => b[0] - a[0]).map(([_, element]) => element)\n return { ...head, children };\n}\n","import type { SSRResult } from \"astro\";\n// @ts-expect-error using astro internals\nimport { renderAllHeadContent } from \"astro/runtime/server/render/head.js\";\n// @ts-expect-error using astro internals\nimport { createComponent, unescapeHTML, renderSlotToString, spreadAttributes } from \"astro/runtime/server/index.js\";\nimport capo from \"./capo/index.ts\";\n\nexport const Head = createComponent({\n factory: async (result: SSRResult, props: Record, slots: Record) => {\n let head = '';\n head += ``\n head += await renderSlotToString(result, slots.default);\n head += renderAllHeadContent(result);\n head += '';\n return unescapeHTML(capo(head));\n }\n})\n","---\ntype Fallback = 'none' | 'animate' | 'swap';\n\nexport interface Props {\n\tfallback?: Fallback;\n\t/** @deprecated handleForms is enabled by default in Astro 4.0\n\t *\n\t * Set `data-astro-reload` on your form to opt-out of the default behavior.\n\t */\n\thandleForms?: boolean;\n}\n\nconst { fallback = 'animate' } = Astro.props;\n---\n\n\n\n\n\n","---\nimport \"@Stylesheet/Base.css\";\n\nimport { Head } from \"astro-capo\";\nimport { ClientRouter } from \"astro:transitions\";\n\n// TODO Place your title and description here\nconst { Title = \"\", Description = \"\" } = Astro.props;\n\ninterface Props {\n\tTitle?: string;\n\tDescription?: string;\n}\n---\n\n\n\n\t\n\t\t\n\n\t\t\n\t\t{Title}\n\t\t\n\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\n\t\t\n\t\t\n\t\t\n\t\t\n\n\t\t\n\n\t\t\n\n\t\t\n\t\t\n\t\n\t\n\t\t
\n\t\t\t\n\t\t
\n\t\t\n\t\n\n","---\nimport Base from \"@Layout/Base.astro\";\n---\n\n\n"],"names":["$$createComponent","Astro","$$Astro","$$render","$$addAttribute","$$renderScript","$$createAstro","$$renderComponent","$$result","$$renderSlot","ClientRouter","$$maybeRenderHead","Base"],"mappings":";;;;;;;AAKA,SAAS,IAAI,KAAiC,EAAA;AAC1C,EAAA,OAAO,OAAO,KAAU,KAAA,QAAA;AAC5B;AACA,SAAS,EAAA,CAAM,GAAY,CAAc,EAAA;AACrC,EAAA,OAAO,CAAM,KAAA,CAAA;AACjB;AACA,SAAS,GAAA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