diff --git a/.astro/content-assets.mjs b/.astro/content-assets.mjs new file mode 100644 index 0000000..2b8b823 --- /dev/null +++ b/.astro/content-assets.mjs @@ -0,0 +1 @@ +export default new Map(); \ No newline at end of file diff --git a/.astro/content-modules.mjs b/.astro/content-modules.mjs new file mode 100644 index 0000000..2b8b823 --- /dev/null +++ b/.astro/content-modules.mjs @@ -0,0 +1 @@ +export default new Map(); \ No newline at end of file diff --git a/.astro/content.d.ts b/.astro/content.d.ts new file mode 100644 index 0000000..c0082cc --- /dev/null +++ b/.astro/content.d.ts @@ -0,0 +1,199 @@ +declare module 'astro:content' { + export interface RenderResult { + Content: import('astro/runtime/server/index.js').AstroComponentFactory; + headings: import('astro').MarkdownHeading[]; + remarkPluginFrontmatter: Record; + } + interface Render { + '.md': Promise; + } + + export interface RenderedContent { + html: string; + metadata?: { + imagePaths: Array; + [key: string]: unknown; + }; + } +} + +declare module 'astro:content' { + type Flatten = T extends { [K: string]: infer U } ? U : never; + + export type CollectionKey = keyof AnyEntryMap; + export type CollectionEntry = Flatten; + + export type ContentCollectionKey = keyof ContentEntryMap; + export type DataCollectionKey = keyof DataEntryMap; + + type AllValuesOf = T extends any ? T[keyof T] : never; + type ValidContentEntrySlug = AllValuesOf< + ContentEntryMap[C] + >['slug']; + + export type ReferenceDataEntry< + C extends CollectionKey, + E extends keyof DataEntryMap[C] = string, + > = { + collection: C; + id: E; + }; + export type ReferenceContentEntry< + C extends keyof ContentEntryMap, + E extends ValidContentEntrySlug | (string & {}) = string, + > = { + collection: C; + slug: E; + }; + export type ReferenceLiveEntry = { + collection: C; + id: string; + }; + + /** @deprecated Use `getEntry` instead. */ + export function getEntryBySlug< + C extends keyof ContentEntryMap, + E extends ValidContentEntrySlug | (string & {}), + >( + collection: C, + // Note that this has to accept a regular string too, for SSR + entrySlug: E, + ): E extends ValidContentEntrySlug + ? Promise> + : Promise | undefined>; + + /** @deprecated Use `getEntry` instead. */ + export function getDataEntryById( + collection: C, + entryId: E, + ): Promise>; + + export function getCollection>( + collection: C, + filter?: (entry: CollectionEntry) => entry is E, + ): Promise; + export function getCollection( + collection: C, + filter?: (entry: CollectionEntry) => unknown, + ): Promise[]>; + + export function getLiveCollection( + collection: C, + filter?: LiveLoaderCollectionFilterType, + ): Promise< + import('astro').LiveDataCollectionResult, LiveLoaderErrorType> + >; + + export function getEntry< + C extends keyof ContentEntryMap, + E extends ValidContentEntrySlug | (string & {}), + >( + entry: ReferenceContentEntry, + ): E extends ValidContentEntrySlug + ? Promise> + : Promise | undefined>; + export function getEntry< + C extends keyof DataEntryMap, + E extends keyof DataEntryMap[C] | (string & {}), + >( + entry: ReferenceDataEntry, + ): E extends keyof DataEntryMap[C] + ? Promise + : Promise | undefined>; + export function getEntry< + C extends keyof ContentEntryMap, + E extends ValidContentEntrySlug | (string & {}), + >( + collection: C, + slug: E, + ): E extends ValidContentEntrySlug + ? Promise> + : Promise | undefined>; + export function getEntry< + C extends keyof DataEntryMap, + E extends keyof DataEntryMap[C] | (string & {}), + >( + collection: C, + id: E, + ): E extends keyof DataEntryMap[C] + ? string extends keyof DataEntryMap[C] + ? Promise | undefined + : Promise + : Promise | undefined>; + export function getLiveEntry( + collection: C, + filter: string | LiveLoaderEntryFilterType, + ): Promise, LiveLoaderErrorType>>; + + /** Resolve an array of entry references from the same collection */ + export function getEntries( + entries: ReferenceContentEntry>[], + ): Promise[]>; + export function getEntries( + entries: ReferenceDataEntry[], + ): Promise[]>; + + export function render( + entry: AnyEntryMap[C][string], + ): Promise; + + export function reference( + collection: C, + ): import('astro/zod').ZodEffects< + import('astro/zod').ZodString, + C extends keyof ContentEntryMap + ? ReferenceContentEntry> + : ReferenceDataEntry + >; + // Allow generic `string` to avoid excessive type errors in the config + // if `dev` is not running to update as you edit. + // Invalid collection names will be caught at build time. + export function reference( + collection: C, + ): import('astro/zod').ZodEffects; + + type ReturnTypeOrOriginal = T extends (...args: any[]) => infer R ? R : T; + type InferEntrySchema = import('astro/zod').infer< + ReturnTypeOrOriginal['schema']> + >; + + type ContentEntryMap = { + + }; + + type DataEntryMap = { + + }; + + type AnyEntryMap = ContentEntryMap & DataEntryMap; + + type ExtractLoaderTypes = T extends import('astro/loaders').LiveLoader< + infer TData, + infer TEntryFilter, + infer TCollectionFilter, + infer TError + > + ? { data: TData; entryFilter: TEntryFilter; collectionFilter: TCollectionFilter; error: TError } + : { data: never; entryFilter: never; collectionFilter: never; error: never }; + type ExtractDataType = ExtractLoaderTypes['data']; + type ExtractEntryFilterType = ExtractLoaderTypes['entryFilter']; + type ExtractCollectionFilterType = ExtractLoaderTypes['collectionFilter']; + type ExtractErrorType = ExtractLoaderTypes['error']; + + type LiveLoaderDataType = + LiveContentConfig['collections'][C]['schema'] extends undefined + ? ExtractDataType + : import('astro/zod').infer< + Exclude + >; + type LiveLoaderEntryFilterType = + ExtractEntryFilterType; + type LiveLoaderCollectionFilterType = + ExtractCollectionFilterType; + type LiveLoaderErrorType = ExtractErrorType< + LiveContentConfig['collections'][C]['loader'] + >; + + export type ContentConfig = typeof import("../src/content.config.mjs"); + export type LiveContentConfig = never; +} diff --git a/.astro/types.d.ts b/.astro/types.d.ts new file mode 100644 index 0000000..03d7cc4 --- /dev/null +++ b/.astro/types.d.ts @@ -0,0 +1,2 @@ +/// +/// \ No newline at end of file diff --git a/astro.config.mjs b/astro.config.mjs index e762ba5..5f16d9a 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,5 +1,24 @@ -// @ts-check +// astro.config.mjs import { defineConfig } from 'astro/config'; +import dotenv from 'dotenv'; +import node from '@astrojs/node'; +import sitemap from '@astrojs/sitemap'; -// https://astro.build/config -export default defineConfig({}); +dotenv.config(); + +export default defineConfig({ + site: 'https://juchatz.com', + output: 'server', + + adapter: node({ + mode: 'standalone' + }), + + integrations: [sitemap(/* your config */)], + + // Add this server config for local network access + server: { + host: '0.0.0.0', // Bind to all network interfaces + port: 7080 + } +}); diff --git a/dist/client/favicon.svg b/dist/client/favicon.svg new file mode 100644 index 0000000..f157bd1 --- /dev/null +++ b/dist/client/favicon.svg @@ -0,0 +1,9 @@ + + + + diff --git a/dist/client/sitemap-0.xml b/dist/client/sitemap-0.xml new file mode 100644 index 0000000..b9aa21e --- /dev/null +++ b/dist/client/sitemap-0.xml @@ -0,0 +1 @@ +https://juchatz.com/ \ No newline at end of file diff --git a/dist/client/sitemap-index.xml b/dist/client/sitemap-index.xml new file mode 100644 index 0000000..658ef3c --- /dev/null +++ b/dist/client/sitemap-index.xml @@ -0,0 +1 @@ +https://juchatz.com/sitemap-0.xml \ No newline at end of file diff --git a/dist/server/_@astrojs-ssr-adapter.mjs b/dist/server/_@astrojs-ssr-adapter.mjs new file mode 100644 index 0000000..daffab5 --- /dev/null +++ b/dist/server/_@astrojs-ssr-adapter.mjs @@ -0,0 +1 @@ +export { c as createExports, a as start } from './chunks/_@astrojs-ssr-adapter_DiODGAEm.mjs'; diff --git a/dist/server/_noop-middleware.mjs b/dist/server/_noop-middleware.mjs new file mode 100644 index 0000000..84424b0 --- /dev/null +++ b/dist/server/_noop-middleware.mjs @@ -0,0 +1,3 @@ +const onRequest = (_, next) => next(); + +export { onRequest }; diff --git a/dist/server/chunks/_@astrojs-ssr-adapter_DiODGAEm.mjs b/dist/server/chunks/_@astrojs-ssr-adapter_DiODGAEm.mjs new file mode 100644 index 0000000..4ae25a7 --- /dev/null +++ b/dist/server/chunks/_@astrojs-ssr-adapter_DiODGAEm.mjs @@ -0,0 +1,4204 @@ +import { n as decryptString, o as createSlotValueFromString, p as isAstroComponentFactory, q as renderComponent, r as renderTemplate, R as ROUTE_TYPE_HEADER, v as REROUTE_DIRECTIVE_HEADER, A as AstroError, w as i18nNoLocaleFoundInPath, x as ResponseSentError, y as MiddlewareNoDataOrNextCalled, z as MiddlewareNotAResponse, B as originPathnameSymbol, C as RewriteWithBodyUsed, G as GetStaticPathsRequired, D as InvalidGetStaticPathsReturn, H as InvalidGetStaticPathsEntry, J as GetStaticPathsExpectedParams, K as GetStaticPathsInvalidRouteParam, P as PageNumberParamNotFound, O as DEFAULT_404_COMPONENT, Q as ActionNotFoundError, S as NoMatchingStaticPathFound, T as PrerenderDynamicEndpointPathCollide, V as ReservedSlotName, W as renderSlotToString, X as renderJSX, Y as chunkToString, Z as isRenderInstruction, _ as ForbiddenRewrite, $ as SessionStorageInitError, a0 as SessionStorageSaveError, a1 as ASTRO_VERSION, a2 as CspNotEnabled, a3 as LocalsReassigned, a4 as generateCspDigest, a5 as PrerenderClientAddressNotAvailable, a6 as clientAddressSymbol, a7 as ClientAddressNotAvailable, a8 as StaticClientAddressNotAvailable, a9 as AstroResponseHeadersReassigned, aa as responseSentSymbol$1, ab as renderPage, ac as REWRITE_DIRECTIVE_HEADER_KEY, ad as REWRITE_DIRECTIVE_HEADER_VALUE, ae as renderEndpoint, af as LocalsNotAnObject, ag as REROUTABLE_STATUS_CODES, ah as nodeRequestAbortControllerCleanupSymbol } from './astro/server_BRK6phUk.mjs'; +import { bold, red, yellow, dim, blue, green } from 'kleur/colors'; +import 'clsx'; +import { serialize, parse } from 'cookie'; +import { A as ActionError, d as deserializeActionResult, s as serializeActionResult, a as ACTION_RPC_ROUTE_PATTERN, b as ACTION_QUERY_PARAMS, g as getActionQueryString, D as DEFAULT_404_ROUTE, c as default404Instance, N as NOOP_MIDDLEWARE_FN, e as ensure404Route } from './astro-designed-error-pages_ByR6z9Nn.mjs'; +import 'es-module-lexer'; +import buffer from 'node:buffer'; +import crypto$1 from 'node:crypto'; +import fs, { existsSync, readFileSync } from 'node:fs'; +import { Http2ServerResponse } from 'node:http2'; +import { c as appendForwardSlash$1, j as joinPaths, f as fileExtension, s as slash, p as prependForwardSlash$1, d as removeTrailingForwardSlash, t as trimSlashes, m as matchPattern, e as isInternalPath, g as collapseDuplicateTrailingSlashes, h as hasFileExtension } from './remote_OOD9OFqU.mjs'; +import { unflatten as unflatten$1, stringify as stringify$1 } from 'devalue'; +import { createStorage, builtinDrivers } from 'unstorage'; +import { AsyncLocalStorage } from 'node:async_hooks'; +import http from 'node:http'; +import https from 'node:https'; +import enableDestroy from 'server-destroy'; +import os from 'node:os'; +import path from 'node:path'; +import url from 'node:url'; +import send from 'send'; + +function shouldAppendForwardSlash(trailingSlash, buildFormat) { + switch (trailingSlash) { + case "always": + return true; + case "never": + return false; + case "ignore": { + switch (buildFormat) { + case "directory": + return true; + case "preserve": + case "file": + return false; + } + } + } +} + +function redirectIsExternal(redirect) { + if (typeof redirect === "string") { + return redirect.startsWith("http://") || redirect.startsWith("https://"); + } else { + return redirect.destination.startsWith("http://") || redirect.destination.startsWith("https://"); + } +} +async function renderRedirect(renderContext) { + const { + request: { method }, + routeData + } = renderContext; + const { redirect, redirectRoute } = routeData; + const status = redirectRoute && typeof redirect === "object" ? redirect.status : method === "GET" ? 301 : 308; + const headers = { location: encodeURI(redirectRouteGenerate(renderContext)) }; + if (redirect && redirectIsExternal(redirect)) { + if (typeof redirect === "string") { + return Response.redirect(redirect, status); + } else { + return Response.redirect(redirect.destination, status); + } + } + return new Response(null, { status, headers }); +} +function redirectRouteGenerate(renderContext) { + const { + params, + routeData: { redirect, redirectRoute } + } = renderContext; + if (typeof redirectRoute !== "undefined") { + return redirectRoute?.generate(params) || redirectRoute?.pathname || "/"; + } else if (typeof redirect === "string") { + if (redirectIsExternal(redirect)) { + return redirect; + } else { + let target = redirect; + for (const param of Object.keys(params)) { + const paramValue = params[param]; + target = target.replace(`[${param}]`, paramValue).replace(`[...${param}]`, paramValue); + } + return target; + } + } else if (typeof redirect === "undefined") { + return "/"; + } + return redirect.destination; +} + +const SERVER_ISLAND_ROUTE = "/_server-islands/[name]"; +const SERVER_ISLAND_COMPONENT = "_server-islands.astro"; +const SERVER_ISLAND_BASE_PREFIX = "_server-islands"; +function badRequest(reason) { + return new Response(null, { + status: 400, + statusText: "Bad request: " + reason + }); +} +async function getRequestData(request) { + switch (request.method) { + case "GET": { + const url = new URL(request.url); + const params = url.searchParams; + if (!params.has("s") || !params.has("e") || !params.has("p")) { + return badRequest("Missing required query parameters."); + } + const rawSlots = params.get("s"); + try { + return { + componentExport: params.get("e"), + encryptedProps: params.get("p"), + slots: JSON.parse(rawSlots) + }; + } catch { + return badRequest("Invalid slots format."); + } + } + case "POST": { + try { + const raw = await request.text(); + const data = JSON.parse(raw); + return data; + } catch { + return badRequest("Request format is invalid."); + } + } + default: { + return new Response(null, { status: 405 }); + } + } +} +function createEndpoint(manifest) { + const page = async (result) => { + const params = result.params; + if (!params.name) { + return new Response(null, { + status: 400, + statusText: "Bad request" + }); + } + const componentId = params.name; + const data = await getRequestData(result.request); + if (data instanceof Response) { + return data; + } + const imp = manifest.serverIslandMap?.get(componentId); + if (!imp) { + return new Response(null, { + status: 404, + statusText: "Not found" + }); + } + const key = await manifest.key; + const encryptedProps = data.encryptedProps; + const propString = encryptedProps === "" ? "{}" : await decryptString(key, encryptedProps); + const props = JSON.parse(propString); + const componentModule = await imp(); + let Component = componentModule[data.componentExport]; + const slots = {}; + for (const prop in data.slots) { + slots[prop] = createSlotValueFromString(data.slots[prop]); + } + result.response.headers.set("X-Robots-Tag", "noindex"); + if (isAstroComponentFactory(Component)) { + const ServerIsland = Component; + Component = function(...args) { + return ServerIsland.apply(this, args); + }; + Object.assign(Component, ServerIsland); + Component.propagation = "self"; + } + return renderTemplate`${renderComponent(result, "Component", Component, props, slots)}`; + }; + page.isAstroComponentFactory = true; + const instance = { + default: page, + partial: true + }; + return instance; +} + +function matchRoute(pathname, manifest) { + return manifest.routes.find((route) => { + return route.pattern.test(pathname) || route.fallbackRoutes.some((fallbackRoute) => fallbackRoute.pattern.test(pathname)); + }); +} +const ROUTE404_RE = /^\/404\/?$/; +const ROUTE500_RE = /^\/500\/?$/; +function isRoute404(route) { + return ROUTE404_RE.test(route); +} +function isRoute500(route) { + return ROUTE500_RE.test(route); +} +function isRoute404or500(route) { + return isRoute404(route.route) || isRoute500(route.route); +} +function isRouteServerIsland(route) { + return route.component === SERVER_ISLAND_COMPONENT; +} +function isRequestServerIsland(request, base = "") { + const url = new URL(request.url); + const pathname = base === "/" ? url.pathname.slice(base.length) : url.pathname.slice(base.length + 1); + return pathname.startsWith(SERVER_ISLAND_BASE_PREFIX); +} +function requestIs404Or500(request, base = "") { + const url = new URL(request.url); + const pathname = url.pathname.slice(base.length); + return isRoute404(pathname) || isRoute500(pathname); +} +function isRouteExternalRedirect(route) { + return !!(route.type === "redirect" && route.redirect && redirectIsExternal(route.redirect)); +} + +function createI18nMiddleware(i18n, base, trailingSlash, format) { + if (!i18n) return (_, next) => next(); + const payload = { + ...i18n, + trailingSlash, + base, + format}; + const _redirectToDefaultLocale = redirectToDefaultLocale(payload); + const _noFoundForNonLocaleRoute = notFound(payload); + const _requestHasLocale = requestHasLocale(payload.locales); + const _redirectToFallback = redirectToFallback(payload); + const prefixAlways = (context, response) => { + const url = context.url; + if (url.pathname === base + "/" || url.pathname === base) { + return _redirectToDefaultLocale(context); + } else if (!_requestHasLocale(context)) { + return _noFoundForNonLocaleRoute(context, response); + } + return void 0; + }; + const prefixOtherLocales = (context, response) => { + let pathnameContainsDefaultLocale = false; + const url = context.url; + for (const segment of url.pathname.split("/")) { + if (normalizeTheLocale(segment) === normalizeTheLocale(i18n.defaultLocale)) { + pathnameContainsDefaultLocale = true; + break; + } + } + if (pathnameContainsDefaultLocale) { + const newLocation = url.pathname.replace(`/${i18n.defaultLocale}`, ""); + response.headers.set("Location", newLocation); + return _noFoundForNonLocaleRoute(context); + } + return void 0; + }; + return async (context, next) => { + const response = await next(); + const type = response.headers.get(ROUTE_TYPE_HEADER); + const isReroute = response.headers.get(REROUTE_DIRECTIVE_HEADER); + if (isReroute === "no" && typeof i18n.fallback === "undefined") { + return response; + } + if (type !== "page" && type !== "fallback") { + return response; + } + if (requestIs404Or500(context.request, base)) { + return response; + } + if (isRequestServerIsland(context.request, base)) { + return response; + } + const { currentLocale } = context; + switch (i18n.strategy) { + // NOTE: theoretically, we should never hit this code path + case "manual": { + return response; + } + case "domains-prefix-other-locales": { + if (localeHasntDomain(i18n, currentLocale)) { + const result = prefixOtherLocales(context, response); + if (result) { + return result; + } + } + break; + } + case "pathname-prefix-other-locales": { + const result = prefixOtherLocales(context, response); + if (result) { + return result; + } + break; + } + case "domains-prefix-always-no-redirect": { + if (localeHasntDomain(i18n, currentLocale)) { + const result = _noFoundForNonLocaleRoute(context, response); + if (result) { + return result; + } + } + break; + } + case "pathname-prefix-always-no-redirect": { + const result = _noFoundForNonLocaleRoute(context, response); + if (result) { + return result; + } + break; + } + case "pathname-prefix-always": { + const result = prefixAlways(context, response); + if (result) { + return result; + } + break; + } + case "domains-prefix-always": { + if (localeHasntDomain(i18n, currentLocale)) { + const result = prefixAlways(context, response); + if (result) { + return result; + } + } + break; + } + } + return _redirectToFallback(context, response); + }; +} +function localeHasntDomain(i18n, currentLocale) { + for (const domainLocale of Object.values(i18n.domainLookupTable)) { + if (domainLocale === currentLocale) { + return false; + } + } + return true; +} + +function requestHasLocale(locales) { + return function(context) { + return pathHasLocale(context.url.pathname, locales); + }; +} +function pathHasLocale(path, locales) { + const segments = path.split("/").map(normalizeThePath); + for (const segment of segments) { + for (const locale of locales) { + if (typeof locale === "string") { + if (normalizeTheLocale(segment) === normalizeTheLocale(locale)) { + return true; + } + } else if (segment === locale.path) { + return true; + } + } + } + return false; +} +function getPathByLocale(locale, locales) { + for (const loopLocale of locales) { + if (typeof loopLocale === "string") { + if (loopLocale === locale) { + return loopLocale; + } + } else { + for (const code of loopLocale.codes) { + if (code === locale) { + return loopLocale.path; + } + } + } + } + throw new AstroError(i18nNoLocaleFoundInPath); +} +function normalizeTheLocale(locale) { + return locale.replaceAll("_", "-").toLowerCase(); +} +function normalizeThePath(path) { + return path.endsWith(".html") ? path.slice(0, -5) : path; +} +function getAllCodes(locales) { + const result = []; + for (const loopLocale of locales) { + if (typeof loopLocale === "string") { + result.push(loopLocale); + } else { + result.push(...loopLocale.codes); + } + } + return result; +} +function redirectToDefaultLocale({ + trailingSlash, + format, + base, + defaultLocale +}) { + return function(context, statusCode) { + if (shouldAppendForwardSlash(trailingSlash, format)) { + return context.redirect(`${appendForwardSlash$1(joinPaths(base, defaultLocale))}`, statusCode); + } else { + return context.redirect(`${joinPaths(base, defaultLocale)}`, statusCode); + } + }; +} +function notFound({ base, locales, fallback }) { + return function(context, response) { + if (response?.headers.get(REROUTE_DIRECTIVE_HEADER) === "no" && typeof fallback === "undefined") { + return response; + } + const url = context.url; + const isRoot = url.pathname === base + "/" || url.pathname === base; + if (!(isRoot || pathHasLocale(url.pathname, locales))) { + if (response) { + response.headers.set(REROUTE_DIRECTIVE_HEADER, "no"); + return new Response(response.body, { + status: 404, + headers: response.headers + }); + } else { + return new Response(null, { + status: 404, + headers: { + [REROUTE_DIRECTIVE_HEADER]: "no" + } + }); + } + } + return void 0; + }; +} +function redirectToFallback({ + fallback, + locales, + defaultLocale, + strategy, + base, + fallbackType +}) { + return async function(context, response) { + if (response.status >= 300 && fallback) { + const fallbackKeys = fallback ? Object.keys(fallback) : []; + const segments = context.url.pathname.split("/"); + const urlLocale = segments.find((segment) => { + for (const locale of locales) { + if (typeof locale === "string") { + if (locale === segment) { + return true; + } + } else if (locale.path === segment) { + return true; + } + } + return false; + }); + if (urlLocale && fallbackKeys.includes(urlLocale)) { + const fallbackLocale = fallback[urlLocale]; + const pathFallbackLocale = getPathByLocale(fallbackLocale, locales); + let newPathname; + if (pathFallbackLocale === defaultLocale && strategy === "pathname-prefix-other-locales") { + if (context.url.pathname.includes(`${base}`)) { + newPathname = context.url.pathname.replace(`/${urlLocale}`, ``); + if (newPathname === "") { + newPathname = "/"; + } + } else { + newPathname = context.url.pathname.replace(`/${urlLocale}`, `/`); + } + } else { + newPathname = context.url.pathname.replace(`/${urlLocale}`, `/${pathFallbackLocale}`); + } + if (fallbackType === "rewrite") { + return await context.rewrite(newPathname + context.url.search); + } else { + return context.redirect(newPathname + context.url.search); + } + } + } + return response; + }; +} + +const DELETED_EXPIRATION = /* @__PURE__ */ new Date(0); +const DELETED_VALUE = "deleted"; +const responseSentSymbol = Symbol.for("astro.responseSent"); +const identity = (value) => value; +class AstroCookie { + constructor(value) { + this.value = value; + } + json() { + if (this.value === void 0) { + throw new Error(`Cannot convert undefined to an object.`); + } + return JSON.parse(this.value); + } + number() { + return Number(this.value); + } + boolean() { + if (this.value === "false") return false; + if (this.value === "0") return false; + return Boolean(this.value); + } +} +class AstroCookies { + #request; + #requestValues; + #outgoing; + #consumed; + constructor(request) { + this.#request = request; + this.#requestValues = null; + this.#outgoing = null; + this.#consumed = false; + } + /** + * Astro.cookies.delete(key) is used to delete a cookie. Using this method will result + * in a Set-Cookie header added to the response. + * @param key The cookie to delete + * @param options Options related to this deletion, such as the path of the cookie. + */ + delete(key, options) { + const { + // @ts-expect-error + maxAge: _ignoredMaxAge, + // @ts-expect-error + expires: _ignoredExpires, + ...sanitizedOptions + } = options || {}; + const serializeOptions = { + expires: DELETED_EXPIRATION, + ...sanitizedOptions + }; + this.#ensureOutgoingMap().set(key, [ + DELETED_VALUE, + serialize(key, DELETED_VALUE, serializeOptions), + false + ]); + } + /** + * Astro.cookies.get(key) is used to get a cookie value. The cookie value is read from the + * request. If you have set a cookie via Astro.cookies.set(key, value), the value will be taken + * from that set call, overriding any values already part of the request. + * @param key The cookie to get. + * @returns An object containing the cookie value as well as convenience methods for converting its value. + */ + get(key, options = void 0) { + if (this.#outgoing?.has(key)) { + let [serializedValue, , isSetValue] = this.#outgoing.get(key); + if (isSetValue) { + return new AstroCookie(serializedValue); + } else { + return void 0; + } + } + const decode = options?.decode ?? decodeURIComponent; + const values = this.#ensureParsed(); + if (key in values) { + const value = values[key]; + if (value) { + return new AstroCookie(decode(value)); + } + } + } + /** + * Astro.cookies.has(key) returns a boolean indicating whether this cookie is either + * part of the initial request or set via Astro.cookies.set(key) + * @param key The cookie to check for. + * @param _options This parameter is no longer used. + * @returns + */ + has(key, _options) { + if (this.#outgoing?.has(key)) { + let [, , isSetValue] = this.#outgoing.get(key); + return isSetValue; + } + const values = this.#ensureParsed(); + return values[key] !== void 0; + } + /** + * Astro.cookies.set(key, value) is used to set a cookie's value. If provided + * an object it will be stringified via JSON.stringify(value). Additionally you + * can provide options customizing how this cookie will be set, such as setting httpOnly + * in order to prevent the cookie from being read in client-side JavaScript. + * @param key The name of the cookie to set. + * @param value A value, either a string or other primitive or an object. + * @param options Options for the cookie, such as the path and security settings. + */ + set(key, value, options) { + if (this.#consumed) { + const warning = new Error( + "Astro.cookies.set() was called after the cookies had already been sent to the browser.\nThis may have happened if this method was called in an imported component.\nPlease make sure that Astro.cookies.set() is only called in the frontmatter of the main page." + ); + warning.name = "Warning"; + console.warn(warning); + } + let serializedValue; + if (typeof value === "string") { + serializedValue = value; + } else { + let toStringValue = value.toString(); + if (toStringValue === Object.prototype.toString.call(value)) { + serializedValue = JSON.stringify(value); + } else { + serializedValue = toStringValue; + } + } + const serializeOptions = {}; + if (options) { + Object.assign(serializeOptions, options); + } + this.#ensureOutgoingMap().set(key, [ + serializedValue, + serialize(key, serializedValue, serializeOptions), + true + ]); + if (this.#request[responseSentSymbol]) { + throw new AstroError({ + ...ResponseSentError + }); + } + } + /** + * Merges a new AstroCookies instance into the current instance. Any new cookies + * will be added to the current instance, overwriting any existing cookies with the same name. + */ + merge(cookies) { + const outgoing = cookies.#outgoing; + if (outgoing) { + for (const [key, value] of outgoing) { + this.#ensureOutgoingMap().set(key, value); + } + } + } + /** + * Astro.cookies.header() returns an iterator for the cookies that have previously + * been set by either Astro.cookies.set() or Astro.cookies.delete(). + * This method is primarily used by adapters to set the header on outgoing responses. + * @returns + */ + *headers() { + if (this.#outgoing == null) return; + for (const [, value] of this.#outgoing) { + yield value[1]; + } + } + /** + * Behaves the same as AstroCookies.prototype.headers(), + * but allows a warning when cookies are set after the instance is consumed. + */ + static consume(cookies) { + cookies.#consumed = true; + return cookies.headers(); + } + #ensureParsed() { + if (!this.#requestValues) { + this.#parse(); + } + if (!this.#requestValues) { + this.#requestValues = {}; + } + return this.#requestValues; + } + #ensureOutgoingMap() { + if (!this.#outgoing) { + this.#outgoing = /* @__PURE__ */ new Map(); + } + return this.#outgoing; + } + #parse() { + const raw = this.#request.headers.get("cookie"); + if (!raw) { + return; + } + this.#requestValues = parse(raw, { decode: identity }); + } +} + +const astroCookiesSymbol = Symbol.for("astro.cookies"); +function attachCookiesToResponse(response, cookies) { + Reflect.set(response, astroCookiesSymbol, cookies); +} +function getCookiesFromResponse(response) { + let cookies = Reflect.get(response, astroCookiesSymbol); + if (cookies != null) { + return cookies; + } else { + return void 0; + } +} +function* getSetCookiesFromResponse(response) { + const cookies = getCookiesFromResponse(response); + if (!cookies) { + return []; + } + for (const headerValue of AstroCookies.consume(cookies)) { + yield headerValue; + } + return []; +} + +const dateTimeFormat = new Intl.DateTimeFormat([], { + hour: "2-digit", + minute: "2-digit", + second: "2-digit", + hour12: false +}); +const levels = { + debug: 20, + info: 30, + warn: 40, + error: 50, + silent: 90 +}; +function log(opts, level, label, message, newLine = true) { + const logLevel = opts.level; + const dest = opts.dest; + const event = { + label, + level, + message, + newLine + }; + if (!isLogLevelEnabled(logLevel, level)) { + return; + } + dest.write(event); +} +function isLogLevelEnabled(configuredLogLevel, level) { + return levels[configuredLogLevel] <= levels[level]; +} +function info(opts, label, message, newLine = true) { + return log(opts, "info", label, message, newLine); +} +function warn(opts, label, message, newLine = true) { + return log(opts, "warn", label, message, newLine); +} +function error(opts, label, message, newLine = true) { + return log(opts, "error", label, message, newLine); +} +function debug(...args) { + if ("_astroGlobalDebug" in globalThis) { + globalThis._astroGlobalDebug(...args); + } +} +function getEventPrefix({ level, label }) { + const timestamp = `${dateTimeFormat.format(/* @__PURE__ */ new Date())}`; + const prefix = []; + if (level === "error" || level === "warn") { + prefix.push(bold(timestamp)); + prefix.push(`[${level.toUpperCase()}]`); + } else { + prefix.push(timestamp); + } + if (label) { + prefix.push(`[${label}]`); + } + if (level === "error") { + return red(prefix.join(" ")); + } + if (level === "warn") { + return yellow(prefix.join(" ")); + } + if (prefix.length === 1) { + return dim(prefix[0]); + } + return dim(prefix[0]) + " " + blue(prefix.splice(1).join(" ")); +} +class Logger { + options; + constructor(options) { + this.options = options; + } + info(label, message, newLine = true) { + info(this.options, label, message, newLine); + } + warn(label, message, newLine = true) { + warn(this.options, label, message, newLine); + } + error(label, message, newLine = true) { + error(this.options, label, message, newLine); + } + debug(label, ...messages) { + debug(label, ...messages); + } + level() { + return this.options.level; + } + forkIntegrationLogger(label) { + return new AstroIntegrationLogger(this.options, label); + } +} +class AstroIntegrationLogger { + options; + label; + constructor(logging, label) { + this.options = logging; + this.label = label; + } + /** + * Creates a new logger instance with a new label, but the same log options. + */ + fork(label) { + return new AstroIntegrationLogger(this.options, label); + } + info(message) { + info(this.options, this.label, message); + } + warn(message) { + warn(this.options, this.label, message); + } + error(message) { + error(this.options, this.label, message); + } + debug(message) { + debug(this.label, message); + } +} + +const consoleLogDestination = { + write(event) { + let dest = console.error; + if (levels[event.level] < levels["error"]) { + dest = console.info; + } + if (event.label === "SKIP_FORMAT") { + dest(event.message); + } else { + dest(getEventPrefix(event) + " " + event.message); + } + return true; + } +}; + +function getAssetsPrefix(fileExtension, assetsPrefix) { + if (!assetsPrefix) return ""; + if (typeof assetsPrefix === "string") return assetsPrefix; + const dotLessFileExtension = fileExtension.slice(1); + if (assetsPrefix[dotLessFileExtension]) { + return assetsPrefix[dotLessFileExtension]; + } + return assetsPrefix.fallback; +} + +function createAssetLink(href, base, assetsPrefix) { + if (assetsPrefix) { + const pf = getAssetsPrefix(fileExtension(href), assetsPrefix); + return joinPaths(pf, slash(href)); + } else if (base) { + return prependForwardSlash$1(joinPaths(base, slash(href))); + } else { + return href; + } +} +function createStylesheetElement(stylesheet, base, assetsPrefix) { + if (stylesheet.type === "inline") { + return { + props: {}, + children: stylesheet.content + }; + } else { + return { + props: { + rel: "stylesheet", + href: createAssetLink(stylesheet.src, base, assetsPrefix) + }, + children: "" + }; + } +} +function createStylesheetElementSet(stylesheets, base, assetsPrefix) { + return new Set(stylesheets.map((s) => createStylesheetElement(s, base, assetsPrefix))); +} +function createModuleScriptElement(script, base, assetsPrefix) { + if (script.type === "external") { + return createModuleScriptElementWithSrc(script.value, base, assetsPrefix); + } else { + return { + props: { + type: "module" + }, + children: script.value + }; + } +} +function createModuleScriptElementWithSrc(src, base, assetsPrefix) { + return { + props: { + type: "module", + src: createAssetLink(src, base, assetsPrefix) + }, + children: "" + }; +} + +const ACTION_API_CONTEXT_SYMBOL = Symbol.for("astro.actionAPIContext"); +const formContentTypes = ["application/x-www-form-urlencoded", "multipart/form-data"]; +function hasContentType(contentType, expected) { + const type = contentType.split(";")[0].toLowerCase(); + return expected.some((t) => type === t); +} + +function getActionContext(context) { + const callerInfo = getCallerInfo(context); + const actionResultAlreadySet = Boolean(context.locals._actionPayload); + let action = void 0; + if (callerInfo && context.request.method === "POST" && !actionResultAlreadySet) { + action = { + calledFrom: callerInfo.from, + name: callerInfo.name, + handler: async () => { + const pipeline = Reflect.get(context, apiContextRoutesSymbol); + const callerInfoName = shouldAppendForwardSlash( + pipeline.manifest.trailingSlash, + pipeline.manifest.buildFormat + ) ? removeTrailingForwardSlash(callerInfo.name) : callerInfo.name; + const baseAction = await pipeline.getAction(callerInfoName); + let input; + try { + input = await parseRequestBody(context.request); + } catch (e) { + if (e instanceof TypeError) { + return { data: void 0, error: new ActionError({ code: "UNSUPPORTED_MEDIA_TYPE" }) }; + } + throw e; + } + const omitKeys = ["props", "getActionResult", "callAction", "redirect"]; + const actionAPIContext = Object.create( + Object.getPrototypeOf(context), + Object.fromEntries( + Object.entries(Object.getOwnPropertyDescriptors(context)).filter( + ([key]) => !omitKeys.includes(key) + ) + ) + ); + Reflect.set(actionAPIContext, ACTION_API_CONTEXT_SYMBOL, true); + const handler = baseAction.bind(actionAPIContext); + return handler(input); + } + }; + } + function setActionResult(actionName, actionResult) { + context.locals._actionPayload = { + actionResult, + actionName + }; + } + return { + action, + setActionResult, + serializeActionResult, + deserializeActionResult + }; +} +function getCallerInfo(ctx) { + if (ctx.routePattern === ACTION_RPC_ROUTE_PATTERN) { + return { from: "rpc", name: ctx.url.pathname.replace(/^.*\/_actions\//, "") }; + } + const queryParam = ctx.url.searchParams.get(ACTION_QUERY_PARAMS.actionName); + if (queryParam) { + return { from: "form", name: queryParam }; + } + return void 0; +} +async function parseRequestBody(request) { + const contentType = request.headers.get("content-type"); + const contentLength = request.headers.get("Content-Length"); + if (!contentType) return void 0; + if (hasContentType(contentType, formContentTypes)) { + return await request.clone().formData(); + } + if (hasContentType(contentType, ["application/json"])) { + return contentLength === "0" ? void 0 : await request.clone().json(); + } + throw new TypeError("Unsupported content type"); +} + +function hasActionPayload(locals) { + return "_actionPayload" in locals; +} +function createGetActionResult(locals) { + return (actionFn) => { + if (!hasActionPayload(locals) || actionFn.toString() !== getActionQueryString(locals._actionPayload.actionName)) { + return void 0; + } + return deserializeActionResult(locals._actionPayload.actionResult); + }; +} +function createCallAction(context) { + return (baseAction, input) => { + Reflect.set(context, ACTION_API_CONTEXT_SYMBOL, true); + const action = baseAction.bind(context); + return action(input); + }; +} + +function parseLocale(header) { + if (header === "*") { + return [{ locale: header, qualityValue: void 0 }]; + } + const result = []; + const localeValues = header.split(",").map((str) => str.trim()); + for (const localeValue of localeValues) { + const split = localeValue.split(";").map((str) => str.trim()); + const localeName = split[0]; + const qualityValue = split[1]; + if (!split) { + continue; + } + if (qualityValue && qualityValue.startsWith("q=")) { + const qualityValueAsFloat = Number.parseFloat(qualityValue.slice("q=".length)); + if (Number.isNaN(qualityValueAsFloat) || qualityValueAsFloat > 1) { + result.push({ + locale: localeName, + qualityValue: void 0 + }); + } else { + result.push({ + locale: localeName, + qualityValue: qualityValueAsFloat + }); + } + } else { + result.push({ + locale: localeName, + qualityValue: void 0 + }); + } + } + return result; +} +function sortAndFilterLocales(browserLocaleList, locales) { + const normalizedLocales = getAllCodes(locales).map(normalizeTheLocale); + return browserLocaleList.filter((browserLocale) => { + if (browserLocale.locale !== "*") { + return normalizedLocales.includes(normalizeTheLocale(browserLocale.locale)); + } + return true; + }).sort((a, b) => { + if (a.qualityValue && b.qualityValue) { + return Math.sign(b.qualityValue - a.qualityValue); + } + return 0; + }); +} +function computePreferredLocale(request, locales) { + const acceptHeader = request.headers.get("Accept-Language"); + let result = void 0; + if (acceptHeader) { + const browserLocaleList = sortAndFilterLocales(parseLocale(acceptHeader), locales); + const firstResult = browserLocaleList.at(0); + if (firstResult && firstResult.locale !== "*") { + for (const currentLocale of locales) { + if (typeof currentLocale === "string") { + if (normalizeTheLocale(currentLocale) === normalizeTheLocale(firstResult.locale)) { + result = currentLocale; + break; + } + } else { + for (const currentCode of currentLocale.codes) { + if (normalizeTheLocale(currentCode) === normalizeTheLocale(firstResult.locale)) { + result = currentCode; + break; + } + } + } + } + } + } + return result; +} +function computePreferredLocaleList(request, locales) { + const acceptHeader = request.headers.get("Accept-Language"); + let result = []; + if (acceptHeader) { + const browserLocaleList = sortAndFilterLocales(parseLocale(acceptHeader), locales); + if (browserLocaleList.length === 1 && browserLocaleList.at(0).locale === "*") { + return getAllCodes(locales); + } else if (browserLocaleList.length > 0) { + for (const browserLocale of browserLocaleList) { + for (const loopLocale of locales) { + if (typeof loopLocale === "string") { + if (normalizeTheLocale(loopLocale) === normalizeTheLocale(browserLocale.locale)) { + result.push(loopLocale); + } + } else { + for (const code of loopLocale.codes) { + if (code === browserLocale.locale) { + result.push(code); + } + } + } + } + } + } + } + return result; +} +function computeCurrentLocale(pathname, locales, defaultLocale) { + for (const segment of pathname.split("/").map(normalizeThePath)) { + for (const locale of locales) { + if (typeof locale === "string") { + if (!segment.includes(locale)) continue; + if (normalizeTheLocale(locale) === normalizeTheLocale(segment)) { + return locale; + } + } else { + if (locale.path === segment) { + return locale.codes.at(0); + } else { + for (const code of locale.codes) { + if (normalizeTheLocale(code) === normalizeTheLocale(segment)) { + return code; + } + } + } + } + } + } + for (const locale of locales) { + if (typeof locale === "string") { + if (locale === defaultLocale) { + return locale; + } + } else { + if (locale.path === defaultLocale) { + return locale.codes.at(0); + } + } + } +} + +async function callMiddleware(onRequest, apiContext, responseFunction) { + let nextCalled = false; + let responseFunctionPromise = void 0; + const next = async (payload) => { + nextCalled = true; + responseFunctionPromise = responseFunction(apiContext, payload); + return responseFunctionPromise; + }; + let middlewarePromise = onRequest(apiContext, next); + return await Promise.resolve(middlewarePromise).then(async (value) => { + if (nextCalled) { + if (typeof value !== "undefined") { + if (value instanceof Response === false) { + throw new AstroError(MiddlewareNotAResponse); + } + return value; + } else { + if (responseFunctionPromise) { + return responseFunctionPromise; + } else { + throw new AstroError(MiddlewareNotAResponse); + } + } + } else if (typeof value === "undefined") { + throw new AstroError(MiddlewareNoDataOrNextCalled); + } else if (value instanceof Response === false) { + throw new AstroError(MiddlewareNotAResponse); + } else { + return value; + } + }); +} + +function createRequest({ + url, + headers, + method = "GET", + body = void 0, + logger, + isPrerendered = false, + routePattern, + init +}) { + const headersObj = isPrerendered ? void 0 : headers instanceof Headers ? headers : new Headers( + // Filter out HTTP/2 pseudo-headers. These are internally-generated headers added to all HTTP/2 requests with trusted metadata about the request. + // Examples include `:method`, `:scheme`, `:authority`, and `:path`. + // They are always prefixed with a colon to distinguish them from other headers, and it is an error to add the to a Headers object manually. + // See https://httpwg.org/specs/rfc7540.html#HttpRequest + Object.entries(headers).filter(([name]) => !name.startsWith(":")) + ); + if (typeof url === "string") url = new URL(url); + if (isPrerendered) { + url.search = ""; + } + const request = new Request(url, { + method, + headers: headersObj, + // body is made available only if the request is for a page that will be on-demand rendered + body: isPrerendered ? null : body, + ...init + }); + if (isPrerendered) { + let _headers = request.headers; + const { value, writable, ...headersDesc } = Object.getOwnPropertyDescriptor(request, "headers") || {}; + Object.defineProperty(request, "headers", { + ...headersDesc, + get() { + logger.warn( + null, + `\`Astro.request.headers\` was used when rendering the route \`${routePattern}'\`. \`Astro.request.headers\` is not available on prerendered pages. If you need access to request headers, make sure that the page is server-rendered using \`export const prerender = false;\` or by setting \`output\` to \`"server"\` in your Astro config to make all your pages server-rendered by default.` + ); + return _headers; + }, + set(newHeaders) { + _headers = newHeaders; + } + }); + } + return request; +} + +function findRouteToRewrite({ + payload, + routes, + request, + trailingSlash, + buildFormat, + base, + outDir +}) { + let newUrl = void 0; + if (payload instanceof URL) { + newUrl = payload; + } else if (payload instanceof Request) { + newUrl = new URL(payload.url); + } else { + newUrl = new URL(payload, new URL(request.url).origin); + } + let pathname = newUrl.pathname; + const shouldAppendSlash = shouldAppendForwardSlash(trailingSlash, buildFormat); + if (base !== "/") { + const isBasePathRequest = newUrl.pathname === base || newUrl.pathname === removeTrailingForwardSlash(base); + if (isBasePathRequest) { + pathname = shouldAppendSlash ? "/" : ""; + } else if (newUrl.pathname.startsWith(base)) { + pathname = shouldAppendSlash ? appendForwardSlash$1(newUrl.pathname) : removeTrailingForwardSlash(newUrl.pathname); + pathname = pathname.slice(base.length); + } + } + if (!pathname.startsWith("/") && shouldAppendSlash && newUrl.pathname.endsWith("/")) { + pathname = prependForwardSlash$1(pathname); + } + if (pathname === "/" && base !== "/" && !shouldAppendSlash) { + pathname = ""; + } + if (buildFormat === "file") { + pathname = pathname.replace(/\.html$/, ""); + } + if (base !== "/" && (pathname === "" || pathname === "/") && !shouldAppendSlash) { + newUrl.pathname = removeTrailingForwardSlash(base); + } else { + newUrl.pathname = joinPaths(...[base, pathname].filter(Boolean)); + } + const decodedPathname = decodeURI(pathname); + let foundRoute; + for (const route of routes) { + if (route.pattern.test(decodedPathname)) { + if (route.params && route.params.length !== 0 && route.distURL && route.distURL.length !== 0) { + if (!route.distURL.find( + (url) => url.href.replace(outDir.toString(), "").replace(/(?:\/index\.html|\.html)$/, "") == trimSlashes(decodedPathname) + )) { + continue; + } + } + foundRoute = route; + break; + } + } + if (foundRoute) { + return { + routeData: foundRoute, + newUrl, + pathname: decodedPathname + }; + } else { + const custom404 = routes.find((route) => route.route === "/404"); + if (custom404) { + return { routeData: custom404, newUrl, pathname }; + } else { + return { routeData: DEFAULT_404_ROUTE, newUrl, pathname }; + } + } +} +function copyRequest(newUrl, oldRequest, isPrerendered, logger, routePattern) { + if (oldRequest.bodyUsed) { + throw new AstroError(RewriteWithBodyUsed); + } + return createRequest({ + url: newUrl, + method: oldRequest.method, + body: oldRequest.body, + isPrerendered, + logger, + headers: isPrerendered ? {} : oldRequest.headers, + routePattern, + init: { + referrer: oldRequest.referrer, + referrerPolicy: oldRequest.referrerPolicy, + mode: oldRequest.mode, + credentials: oldRequest.credentials, + cache: oldRequest.cache, + redirect: oldRequest.redirect, + integrity: oldRequest.integrity, + signal: oldRequest.signal, + keepalive: oldRequest.keepalive, + // https://fetch.spec.whatwg.org/#dom-request-duplex + // @ts-expect-error It isn't part of the types, but undici accepts it and it allows to carry over the body to a new request + duplex: "half" + } + }); +} +function setOriginPathname(request, pathname, trailingSlash, buildFormat) { + if (!pathname) { + pathname = "/"; + } + const shouldAppendSlash = shouldAppendForwardSlash(trailingSlash, buildFormat); + let finalPathname; + if (pathname === "/") { + finalPathname = "/"; + } else if (shouldAppendSlash) { + finalPathname = appendForwardSlash$1(pathname); + } else { + finalPathname = removeTrailingForwardSlash(pathname); + } + Reflect.set(request, originPathnameSymbol, encodeURIComponent(finalPathname)); +} +function getOriginPathname(request) { + const origin = Reflect.get(request, originPathnameSymbol); + if (origin) { + return decodeURIComponent(origin); + } + return new URL(request.url).pathname; +} + +const NOOP_ACTIONS_MOD = { + server: {} +}; + +const FORM_CONTENT_TYPES = [ + "application/x-www-form-urlencoded", + "multipart/form-data", + "text/plain" +]; +const SAFE_METHODS = ["GET", "HEAD", "OPTIONS"]; +function createOriginCheckMiddleware() { + return defineMiddleware((context, next) => { + const { request, url, isPrerendered } = context; + if (isPrerendered) { + return next(); + } + if (SAFE_METHODS.includes(request.method)) { + return next(); + } + const isSameOrigin = request.headers.get("origin") === url.origin; + const hasContentType = request.headers.has("content-type"); + if (hasContentType) { + const formLikeHeader = hasFormLikeHeader(request.headers.get("content-type")); + if (formLikeHeader && !isSameOrigin) { + return new Response(`Cross-site ${request.method} form submissions are forbidden`, { + status: 403 + }); + } + } else { + if (!isSameOrigin) { + return new Response(`Cross-site ${request.method} form submissions are forbidden`, { + status: 403 + }); + } + } + return next(); + }); +} +function hasFormLikeHeader(contentType) { + if (contentType) { + for (const FORM_CONTENT_TYPE of FORM_CONTENT_TYPES) { + if (contentType.toLowerCase().includes(FORM_CONTENT_TYPE)) { + return true; + } + } + } + return false; +} + +const VALID_PARAM_TYPES = ["string", "number", "undefined"]; +function validateGetStaticPathsParameter([key, value], route) { + if (!VALID_PARAM_TYPES.includes(typeof value)) { + throw new AstroError({ + ...GetStaticPathsInvalidRouteParam, + message: GetStaticPathsInvalidRouteParam.message(key, value, typeof value), + location: { + file: route + } + }); + } +} +function validateDynamicRouteModule(mod, { + ssr, + route +}) { + if ((!ssr || route.prerender) && !mod.getStaticPaths) { + throw new AstroError({ + ...GetStaticPathsRequired, + location: { file: route.component } + }); + } +} +function validateGetStaticPathsResult(result, logger, route) { + if (!Array.isArray(result)) { + throw new AstroError({ + ...InvalidGetStaticPathsReturn, + message: InvalidGetStaticPathsReturn.message(typeof result), + location: { + file: route.component + } + }); + } + result.forEach((pathObject) => { + if (typeof pathObject === "object" && Array.isArray(pathObject) || pathObject === null) { + throw new AstroError({ + ...InvalidGetStaticPathsEntry, + message: InvalidGetStaticPathsEntry.message( + Array.isArray(pathObject) ? "array" : typeof pathObject + ) + }); + } + if (pathObject.params === void 0 || pathObject.params === null || pathObject.params && Object.keys(pathObject.params).length === 0) { + throw new AstroError({ + ...GetStaticPathsExpectedParams, + location: { + file: route.component + } + }); + } + for (const [key, val] of Object.entries(pathObject.params)) { + if (!(typeof val === "undefined" || typeof val === "string" || typeof val === "number")) { + logger.warn( + "router", + `getStaticPaths() returned an invalid path param: "${key}". A string, number or undefined value was expected, but got \`${JSON.stringify( + val + )}\`.` + ); + } + if (typeof val === "string" && val === "") { + logger.warn( + "router", + `getStaticPaths() returned an invalid path param: "${key}". \`undefined\` expected for an optional param, but got empty string.` + ); + } + } + }); +} + +function stringifyParams(params, route) { + const validatedParams = Object.entries(params).reduce((acc, next) => { + validateGetStaticPathsParameter(next, route.component); + const [key, value] = next; + if (value !== void 0) { + acc[key] = typeof value === "string" ? trimSlashes(value) : value.toString(); + } + return acc; + }, {}); + return route.generate(validatedParams); +} + +function generatePaginateFunction(routeMatch, base) { + return function paginateUtility(data, args = {}) { + let { pageSize: _pageSize, params: _params, props: _props } = args; + const pageSize = _pageSize || 10; + const paramName = "page"; + const additionalParams = _params || {}; + const additionalProps = _props || {}; + let includesFirstPageNumber; + if (routeMatch.params.includes(`...${paramName}`)) { + includesFirstPageNumber = false; + } else if (routeMatch.params.includes(`${paramName}`)) { + includesFirstPageNumber = true; + } else { + throw new AstroError({ + ...PageNumberParamNotFound, + message: PageNumberParamNotFound.message(paramName) + }); + } + const lastPage = Math.max(1, Math.ceil(data.length / pageSize)); + const result = [...Array(lastPage).keys()].map((num) => { + const pageNum = num + 1; + const start = pageSize === Infinity ? 0 : (pageNum - 1) * pageSize; + const end = Math.min(start + pageSize, data.length); + const params = { + ...additionalParams, + [paramName]: includesFirstPageNumber || pageNum > 1 ? String(pageNum) : void 0 + }; + const current = addRouteBase(routeMatch.generate({ ...params }), base); + const next = pageNum === lastPage ? void 0 : addRouteBase(routeMatch.generate({ ...params, page: String(pageNum + 1) }), base); + const prev = pageNum === 1 ? void 0 : addRouteBase( + routeMatch.generate({ + ...params, + page: !includesFirstPageNumber && pageNum - 1 === 1 ? void 0 : String(pageNum - 1) + }), + base + ); + const first = pageNum === 1 ? void 0 : addRouteBase( + routeMatch.generate({ + ...params, + page: includesFirstPageNumber ? "1" : void 0 + }), + base + ); + const last = pageNum === lastPage ? void 0 : addRouteBase(routeMatch.generate({ ...params, page: String(lastPage) }), base); + return { + params, + props: { + ...additionalProps, + page: { + data: data.slice(start, end), + start, + end: end - 1, + size: pageSize, + total: data.length, + currentPage: pageNum, + lastPage, + url: { current, next, prev, first, last } + } + } + }; + }); + return result; + }; +} +function addRouteBase(route, base) { + let routeWithBase = joinPaths(base, route); + if (routeWithBase === "") routeWithBase = "/"; + return routeWithBase; +} + +async function callGetStaticPaths({ + mod, + route, + routeCache, + logger, + ssr, + base +}) { + const cached = routeCache.get(route); + if (!mod) { + throw new Error("This is an error caused by Astro and not your code. Please file an issue."); + } + if (cached?.staticPaths) { + return cached.staticPaths; + } + validateDynamicRouteModule(mod, { ssr, route }); + if (ssr && !route.prerender) { + const entry = Object.assign([], { keyed: /* @__PURE__ */ new Map() }); + routeCache.set(route, { ...cached, staticPaths: entry }); + return entry; + } + let staticPaths = []; + if (!mod.getStaticPaths) { + throw new Error("Unexpected Error."); + } + staticPaths = await mod.getStaticPaths({ + // Q: Why the cast? + // A: So users downstream can have nicer typings, we have to make some sacrifice in our internal typings, which necessitate a cast here + paginate: generatePaginateFunction(route, base), + routePattern: route.route + }); + validateGetStaticPathsResult(staticPaths, logger, route); + const keyedStaticPaths = staticPaths; + keyedStaticPaths.keyed = /* @__PURE__ */ new Map(); + for (const sp of keyedStaticPaths) { + const paramsKey = stringifyParams(sp.params, route); + keyedStaticPaths.keyed.set(paramsKey, sp); + } + routeCache.set(route, { ...cached, staticPaths: keyedStaticPaths }); + return keyedStaticPaths; +} +class RouteCache { + logger; + cache = {}; + runtimeMode; + constructor(logger, runtimeMode = "production") { + this.logger = logger; + this.runtimeMode = runtimeMode; + } + /** Clear the cache. */ + clearAll() { + this.cache = {}; + } + set(route, entry) { + const key = this.key(route); + if (this.runtimeMode === "production" && this.cache[key]?.staticPaths) { + this.logger.warn(null, `Internal Warning: route cache overwritten. (${key})`); + } + this.cache[key] = entry; + } + get(route) { + return this.cache[this.key(route)]; + } + key(route) { + return `${route.route}_${route.component}`; + } +} +function findPathItemByKey(staticPaths, params, route, logger) { + const paramsKey = stringifyParams(params, route); + const matchedStaticPath = staticPaths.keyed.get(paramsKey); + if (matchedStaticPath) { + return matchedStaticPath; + } + logger.debug("router", `findPathItemByKey() - Unexpected cache miss looking for ${paramsKey}`); +} + +function createDefaultRoutes(manifest) { + const root = new URL(manifest.hrefRoot); + return [ + { + instance: default404Instance, + matchesComponent: (filePath) => filePath.href === new URL(DEFAULT_404_COMPONENT, root).href, + route: DEFAULT_404_ROUTE.route, + component: DEFAULT_404_COMPONENT + }, + { + instance: createEndpoint(manifest), + matchesComponent: (filePath) => filePath.href === new URL(SERVER_ISLAND_COMPONENT, root).href, + route: SERVER_ISLAND_ROUTE, + component: SERVER_ISLAND_COMPONENT + } + ]; +} + +class Pipeline { + constructor(logger, manifest, runtimeMode, renderers, resolve, serverLike, streaming, adapterName = manifest.adapterName, clientDirectives = manifest.clientDirectives, inlinedScripts = manifest.inlinedScripts, compressHTML = manifest.compressHTML, i18n = manifest.i18n, middleware = manifest.middleware, routeCache = new RouteCache(logger, runtimeMode), site = manifest.site ? new URL(manifest.site) : void 0, defaultRoutes = createDefaultRoutes(manifest), actions = manifest.actions) { + this.logger = logger; + this.manifest = manifest; + this.runtimeMode = runtimeMode; + this.renderers = renderers; + this.resolve = resolve; + this.serverLike = serverLike; + this.streaming = streaming; + this.adapterName = adapterName; + this.clientDirectives = clientDirectives; + this.inlinedScripts = inlinedScripts; + this.compressHTML = compressHTML; + this.i18n = i18n; + this.middleware = middleware; + this.routeCache = routeCache; + this.site = site; + this.defaultRoutes = defaultRoutes; + this.actions = actions; + this.internalMiddleware = []; + if (i18n?.strategy !== "manual") { + this.internalMiddleware.push( + createI18nMiddleware(i18n, manifest.base, manifest.trailingSlash, manifest.buildFormat) + ); + } + } + internalMiddleware; + resolvedMiddleware = void 0; + resolvedActions = void 0; + /** + * Resolves the middleware from the manifest, and returns the `onRequest` function. If `onRequest` isn't there, + * it returns a no-op function + */ + async getMiddleware() { + if (this.resolvedMiddleware) { + return this.resolvedMiddleware; + } else if (this.middleware) { + const middlewareInstance = await this.middleware(); + const onRequest = middlewareInstance.onRequest ?? NOOP_MIDDLEWARE_FN; + const internalMiddlewares = [onRequest]; + if (this.manifest.checkOrigin) { + internalMiddlewares.unshift(createOriginCheckMiddleware()); + } + this.resolvedMiddleware = sequence(...internalMiddlewares); + return this.resolvedMiddleware; + } else { + this.resolvedMiddleware = NOOP_MIDDLEWARE_FN; + return this.resolvedMiddleware; + } + } + setActions(actions) { + this.resolvedActions = actions; + } + async getActions() { + if (this.resolvedActions) { + return this.resolvedActions; + } else if (this.actions) { + return await this.actions(); + } + return NOOP_ACTIONS_MOD; + } + async getAction(path) { + const pathKeys = path.split(".").map((key) => decodeURIComponent(key)); + let { server } = await this.getActions(); + if (!server || !(typeof server === "object")) { + throw new TypeError( + `Expected \`server\` export in actions file to be an object. Received ${typeof server}.` + ); + } + for (const key of pathKeys) { + if (!(key in server)) { + throw new AstroError({ + ...ActionNotFoundError, + message: ActionNotFoundError.message(pathKeys.join(".")) + }); + } + server = server[key]; + } + if (typeof server !== "function") { + throw new TypeError( + `Expected handler for action ${pathKeys.join(".")} to be a function. Received ${typeof server}.` + ); + } + return server; + } +} + +function routeIsRedirect(route) { + return route?.type === "redirect"; +} +function routeIsFallback(route) { + return route?.type === "fallback"; +} + +const RedirectComponentInstance = { + default() { + return new Response(null, { + status: 301 + }); + } +}; +const RedirectSinglePageBuiltModule = { + page: () => Promise.resolve(RedirectComponentInstance), + onRequest: (_, next) => next(), + renderers: [] +}; + +async function getProps(opts) { + const { logger, mod, routeData: route, routeCache, pathname, serverLike, base } = opts; + if (!route || route.pathname) { + return {}; + } + if (routeIsRedirect(route) || routeIsFallback(route) || route.component === DEFAULT_404_COMPONENT) { + return {}; + } + const staticPaths = await callGetStaticPaths({ + mod, + route, + routeCache, + logger, + ssr: serverLike, + base + }); + const params = getParams(route, pathname); + const matchedStaticPath = findPathItemByKey(staticPaths, params, route, logger); + if (!matchedStaticPath && (serverLike ? route.prerender : true)) { + throw new AstroError({ + ...NoMatchingStaticPathFound, + message: NoMatchingStaticPathFound.message(pathname), + hint: NoMatchingStaticPathFound.hint([route.component]) + }); + } + if (mod) { + validatePrerenderEndpointCollision(route, mod, params); + } + const props = matchedStaticPath?.props ? { ...matchedStaticPath.props } : {}; + return props; +} +function getParams(route, pathname) { + if (!route.params.length) return {}; + const paramsMatch = route.pattern.exec(pathname) || route.fallbackRoutes.map((fallbackRoute) => fallbackRoute.pattern.exec(pathname)).find((x) => x); + if (!paramsMatch) return {}; + const params = {}; + route.params.forEach((key, i) => { + if (key.startsWith("...")) { + params[key.slice(3)] = paramsMatch[i + 1] ? paramsMatch[i + 1] : void 0; + } else { + params[key] = paramsMatch[i + 1]; + } + }); + return params; +} +function validatePrerenderEndpointCollision(route, mod, params) { + if (route.type === "endpoint" && mod.getStaticPaths) { + const lastSegment = route.segments[route.segments.length - 1]; + const paramValues = Object.values(params); + const lastParam = paramValues[paramValues.length - 1]; + if (lastSegment.length === 1 && lastSegment[0].dynamic && lastParam === void 0) { + throw new AstroError({ + ...PrerenderDynamicEndpointPathCollide, + message: PrerenderDynamicEndpointPathCollide.message(route.route), + hint: PrerenderDynamicEndpointPathCollide.hint(route.component), + location: { + file: route.component + } + }); + } + } +} + +function getFunctionExpression(slot) { + if (!slot) return; + const expressions = slot?.expressions?.filter((e) => isRenderInstruction(e) === false); + if (expressions?.length !== 1) return; + return expressions[0]; +} +class Slots { + #result; + #slots; + #logger; + constructor(result, slots, logger) { + this.#result = result; + this.#slots = slots; + this.#logger = logger; + if (slots) { + for (const key of Object.keys(slots)) { + if (this[key] !== void 0) { + throw new AstroError({ + ...ReservedSlotName, + message: ReservedSlotName.message(key) + }); + } + Object.defineProperty(this, key, { + get() { + return true; + }, + enumerable: true + }); + } + } + } + has(name) { + if (!this.#slots) return false; + return Boolean(this.#slots[name]); + } + async render(name, args = []) { + if (!this.#slots || !this.has(name)) return; + const result = this.#result; + if (!Array.isArray(args)) { + this.#logger.warn( + null, + `Expected second parameter to be an array, received a ${typeof args}. If you're trying to pass an array as a single argument and getting unexpected results, make sure you're passing your array as a item of an array. Ex: Astro.slots.render('default', [["Hello", "World"]])` + ); + } else if (args.length > 0) { + const slotValue = this.#slots[name]; + const component = typeof slotValue === "function" ? await slotValue(result) : await slotValue; + const expression = getFunctionExpression(component); + if (expression) { + const slot = async () => typeof expression === "function" ? expression(...args) : expression; + return await renderSlotToString(result, slot).then((res) => { + return res; + }); + } + if (typeof component === "function") { + return await renderJSX(result, component(...args)).then( + (res) => res != null ? String(res) : res + ); + } + } + const content = await renderSlotToString(result, this.#slots[name]); + const outHTML = chunkToString(result, content); + return outHTML; + } +} + +function sequence(...handlers) { + const filtered = handlers.filter((h) => !!h); + const length = filtered.length; + if (!length) { + return defineMiddleware((_context, next) => { + return next(); + }); + } + return defineMiddleware((context, next) => { + let carriedPayload = void 0; + return applyHandle(0, context); + function applyHandle(i, handleContext) { + const handle = filtered[i]; + const result = handle(handleContext, async (payload) => { + if (i < length - 1) { + if (payload) { + let newRequest; + if (payload instanceof Request) { + newRequest = payload; + } else if (payload instanceof URL) { + newRequest = new Request(payload, handleContext.request.clone()); + } else { + newRequest = new Request( + new URL(payload, handleContext.url.origin), + handleContext.request.clone() + ); + } + const oldPathname = handleContext.url.pathname; + const pipeline = Reflect.get(handleContext, apiContextRoutesSymbol); + const { routeData, pathname } = await pipeline.tryRewrite( + payload, + handleContext.request + ); + if (pipeline.serverLike === true && handleContext.isPrerendered === false && routeData.prerender === true) { + throw new AstroError({ + ...ForbiddenRewrite, + message: ForbiddenRewrite.message( + handleContext.url.pathname, + pathname, + routeData.component + ), + hint: ForbiddenRewrite.hint(routeData.component) + }); + } + carriedPayload = payload; + handleContext.request = newRequest; + handleContext.url = new URL(newRequest.url); + handleContext.params = getParams(routeData, pathname); + handleContext.routePattern = routeData.route; + setOriginPathname( + handleContext.request, + oldPathname, + pipeline.manifest.trailingSlash, + pipeline.manifest.buildFormat + ); + } + return applyHandle(i + 1, handleContext); + } else { + return next(payload ?? carriedPayload); + } + }); + return result; + } + }); +} + +function defineMiddleware(fn) { + return fn; +} + +const PERSIST_SYMBOL = Symbol(); +const DEFAULT_COOKIE_NAME = "astro-session"; +const VALID_COOKIE_REGEX = /^[\w-]+$/; +const unflatten = (parsed, _) => { + return unflatten$1(parsed, { + URL: (href) => new URL(href) + }); +}; +const stringify = (data, _) => { + return stringify$1(data, { + // Support URL objects + URL: (val) => val instanceof URL && val.href + }); +}; +class AstroSession { + // The cookies object. + #cookies; + // The session configuration. + #config; + // The cookie config + #cookieConfig; + // The cookie name + #cookieName; + // The unstorage object for the session driver. + #storage; + #data; + // The session ID. A v4 UUID. + #sessionID; + // Sessions to destroy. Needed because we won't have the old session ID after it's destroyed locally. + #toDestroy = /* @__PURE__ */ new Set(); + // Session keys to delete. Used for partial data sets to avoid overwriting the deleted value. + #toDelete = /* @__PURE__ */ new Set(); + // Whether the session is dirty and needs to be saved. + #dirty = false; + // Whether the session cookie has been set. + #cookieSet = false; + // The local data is "partial" if it has not been loaded from storage yet and only + // contains values that have been set or deleted in-memory locally. + // We do this to avoid the need to block on loading data when it is only being set. + // When we load the data from storage, we need to merge it with the local partial data, + // preserving in-memory changes and deletions. + #partial = true; + static #sharedStorage = /* @__PURE__ */ new Map(); + constructor(cookies, { + cookie: cookieConfig = DEFAULT_COOKIE_NAME, + ...config + }, runtimeMode) { + const { driver } = config; + if (!driver) { + throw new AstroError({ + ...SessionStorageInitError, + message: SessionStorageInitError.message( + "No driver was defined in the session configuration and the adapter did not provide a default driver." + ) + }); + } + this.#cookies = cookies; + let cookieConfigObject; + if (typeof cookieConfig === "object") { + const { name = DEFAULT_COOKIE_NAME, ...rest } = cookieConfig; + this.#cookieName = name; + cookieConfigObject = rest; + } else { + this.#cookieName = cookieConfig || DEFAULT_COOKIE_NAME; + } + this.#cookieConfig = { + sameSite: "lax", + secure: runtimeMode === "production", + path: "/", + ...cookieConfigObject, + httpOnly: true + }; + this.#config = { ...config, driver }; + } + /** + * Gets a session value. Returns `undefined` if the session or value does not exist. + */ + async get(key) { + return (await this.#ensureData()).get(key)?.data; + } + /** + * Checks if a session value exists. + */ + async has(key) { + return (await this.#ensureData()).has(key); + } + /** + * Gets all session values. + */ + async keys() { + return (await this.#ensureData()).keys(); + } + /** + * Gets all session values. + */ + async values() { + return [...(await this.#ensureData()).values()].map((entry) => entry.data); + } + /** + * Gets all session entries. + */ + async entries() { + return [...(await this.#ensureData()).entries()].map(([key, entry]) => [key, entry.data]); + } + /** + * Deletes a session value. + */ + delete(key) { + this.#data?.delete(key); + if (this.#partial) { + this.#toDelete.add(key); + } + this.#dirty = true; + } + /** + * Sets a session value. The session is created if it does not exist. + */ + set(key, value, { ttl } = {}) { + if (!key) { + throw new AstroError({ + ...SessionStorageSaveError, + message: "The session key was not provided." + }); + } + let cloned; + try { + cloned = unflatten(JSON.parse(stringify(value))); + } catch (err) { + throw new AstroError( + { + ...SessionStorageSaveError, + message: `The session data for ${key} could not be serialized.`, + hint: "See the devalue library for all supported types: https://github.com/rich-harris/devalue" + }, + { cause: err } + ); + } + if (!this.#cookieSet) { + this.#setCookie(); + this.#cookieSet = true; + } + this.#data ??= /* @__PURE__ */ new Map(); + const lifetime = ttl ?? this.#config.ttl; + const expires = typeof lifetime === "number" ? Date.now() + lifetime * 1e3 : lifetime; + this.#data.set(key, { + data: cloned, + expires + }); + this.#dirty = true; + } + /** + * Destroys the session, clearing the cookie and storage if it exists. + */ + destroy() { + const sessionId = this.#sessionID ?? this.#cookies.get(this.#cookieName)?.value; + if (sessionId) { + this.#toDestroy.add(sessionId); + } + this.#cookies.delete(this.#cookieName, this.#cookieConfig); + this.#sessionID = void 0; + this.#data = void 0; + this.#dirty = true; + } + /** + * Regenerates the session, creating a new session ID. The existing session data is preserved. + */ + async regenerate() { + let data = /* @__PURE__ */ new Map(); + try { + data = await this.#ensureData(); + } catch (err) { + console.error("Failed to load session data during regeneration:", err); + } + const oldSessionId = this.#sessionID; + this.#sessionID = crypto.randomUUID(); + this.#data = data; + await this.#setCookie(); + if (oldSessionId && this.#storage) { + this.#storage.removeItem(oldSessionId).catch((err) => { + console.error("Failed to remove old session data:", err); + }); + } + } + // Persists the session data to storage. + // This is called automatically at the end of the request. + // Uses a symbol to prevent users from calling it directly. + async [PERSIST_SYMBOL]() { + if (!this.#dirty && !this.#toDestroy.size) { + return; + } + const storage = await this.#ensureStorage(); + if (this.#dirty && this.#data) { + const data = await this.#ensureData(); + this.#toDelete.forEach((key2) => data.delete(key2)); + const key = this.#ensureSessionID(); + let serialized; + try { + serialized = stringify(data); + } catch (err) { + throw new AstroError( + { + ...SessionStorageSaveError, + message: SessionStorageSaveError.message( + "The session data could not be serialized.", + this.#config.driver + ) + }, + { cause: err } + ); + } + await storage.setItem(key, serialized); + this.#dirty = false; + } + if (this.#toDestroy.size > 0) { + const cleanupPromises = [...this.#toDestroy].map( + (sessionId) => storage.removeItem(sessionId).catch((err) => { + console.error(`Failed to clean up session ${sessionId}:`, err); + }) + ); + await Promise.all(cleanupPromises); + this.#toDestroy.clear(); + } + } + get sessionID() { + return this.#sessionID; + } + /** + * Loads a session from storage with the given ID, and replaces the current session. + * Any changes made to the current session will be lost. + * This is not normally needed, as the session is automatically loaded using the cookie. + * However it can be used to restore a session where the ID has been recorded somewhere + * else (e.g. in a database). + */ + async load(sessionID) { + this.#sessionID = sessionID; + this.#data = void 0; + await this.#setCookie(); + await this.#ensureData(); + } + /** + * Sets the session cookie. + */ + async #setCookie() { + if (!VALID_COOKIE_REGEX.test(this.#cookieName)) { + throw new AstroError({ + ...SessionStorageSaveError, + message: "Invalid cookie name. Cookie names can only contain letters, numbers, and dashes." + }); + } + const value = this.#ensureSessionID(); + this.#cookies.set(this.#cookieName, value, this.#cookieConfig); + } + /** + * Attempts to load the session data from storage, or creates a new data object if none exists. + * If there is existing partial data, it will be merged into the new data object. + */ + async #ensureData() { + const storage = await this.#ensureStorage(); + if (this.#data && !this.#partial) { + return this.#data; + } + this.#data ??= /* @__PURE__ */ new Map(); + const raw = await storage.get(this.#ensureSessionID()); + if (!raw) { + return this.#data; + } + try { + const storedMap = unflatten(raw); + if (!(storedMap instanceof Map)) { + await this.destroy(); + throw new AstroError({ + ...SessionStorageInitError, + message: SessionStorageInitError.message( + "The session data was an invalid type.", + this.#config.driver + ) + }); + } + const now = Date.now(); + for (const [key, value] of storedMap) { + const expired = typeof value.expires === "number" && value.expires < now; + if (!this.#data.has(key) && !this.#toDelete.has(key) && !expired) { + this.#data.set(key, value); + } + } + this.#partial = false; + return this.#data; + } catch (err) { + await this.destroy(); + if (err instanceof AstroError) { + throw err; + } + throw new AstroError( + { + ...SessionStorageInitError, + message: SessionStorageInitError.message( + "The session data could not be parsed.", + this.#config.driver + ) + }, + { cause: err } + ); + } + } + /** + * Returns the session ID, generating a new one if it does not exist. + */ + #ensureSessionID() { + this.#sessionID ??= this.#cookies.get(this.#cookieName)?.value ?? crypto.randomUUID(); + return this.#sessionID; + } + /** + * Ensures the storage is initialized. + * This is called automatically when a storage operation is needed. + */ + async #ensureStorage() { + if (this.#storage) { + return this.#storage; + } + if (AstroSession.#sharedStorage.has(this.#config.driver)) { + this.#storage = AstroSession.#sharedStorage.get(this.#config.driver); + return this.#storage; + } + if (this.#config.driver === "test") { + this.#storage = this.#config.options.mockStorage; + return this.#storage; + } + if (this.#config.driver === "fs" || this.#config.driver === "fsLite" || this.#config.driver === "fs-lite") { + this.#config.options ??= {}; + this.#config.driver = "fs-lite"; + this.#config.options.base ??= ".astro/session"; + } + let driver = null; + try { + if (this.#config.driverModule) { + driver = (await this.#config.driverModule()).default; + } else if (this.#config.driver) { + const driverName = resolveSessionDriverName(this.#config.driver); + if (driverName) { + driver = (await import(driverName)).default; + } + } + } catch (err) { + if (err.code === "ERR_MODULE_NOT_FOUND") { + throw new AstroError( + { + ...SessionStorageInitError, + message: SessionStorageInitError.message( + err.message.includes(`Cannot find package`) ? "The driver module could not be found." : err.message, + this.#config.driver + ) + }, + { cause: err } + ); + } + throw err; + } + if (!driver) { + throw new AstroError({ + ...SessionStorageInitError, + message: SessionStorageInitError.message( + "The module did not export a driver.", + this.#config.driver + ) + }); + } + try { + this.#storage = createStorage({ + driver: driver(this.#config.options) + }); + AstroSession.#sharedStorage.set(this.#config.driver, this.#storage); + return this.#storage; + } catch (err) { + throw new AstroError( + { + ...SessionStorageInitError, + message: SessionStorageInitError.message("Unknown error", this.#config.driver) + }, + { cause: err } + ); + } + } +} +function resolveSessionDriverName(driver) { + if (!driver) { + return null; + } + try { + if (driver === "fs") { + return builtinDrivers.fsLite; + } + if (driver in builtinDrivers) { + return builtinDrivers[driver]; + } + } catch { + return null; + } + return driver; +} + +const apiContextRoutesSymbol = Symbol.for("context.routes"); +class RenderContext { + constructor(pipeline, locals, middleware, actions, pathname, request, routeData, status, clientAddress, cookies = new AstroCookies(request), params = getParams(routeData, pathname), url = new URL(request.url), props = {}, partial = void 0, shouldInjectCspMetaTags = !!pipeline.manifest.csp, session = pipeline.manifest.sessionConfig ? new AstroSession(cookies, pipeline.manifest.sessionConfig, pipeline.runtimeMode) : void 0) { + this.pipeline = pipeline; + this.locals = locals; + this.middleware = middleware; + this.actions = actions; + this.pathname = pathname; + this.request = request; + this.routeData = routeData; + this.status = status; + this.clientAddress = clientAddress; + this.cookies = cookies; + this.params = params; + this.url = url; + this.props = props; + this.partial = partial; + this.shouldInjectCspMetaTags = shouldInjectCspMetaTags; + this.session = session; + } + /** + * A flag that tells the render content if the rewriting was triggered + */ + isRewriting = false; + /** + * A safety net in case of loops + */ + counter = 0; + result = void 0; + static async create({ + locals = {}, + middleware, + pathname, + pipeline, + request, + routeData, + clientAddress, + status = 200, + props, + partial = void 0, + actions, + shouldInjectCspMetaTags + }) { + const pipelineMiddleware = await pipeline.getMiddleware(); + const pipelineActions = actions ?? await pipeline.getActions(); + setOriginPathname( + request, + pathname, + pipeline.manifest.trailingSlash, + pipeline.manifest.buildFormat + ); + return new RenderContext( + pipeline, + locals, + sequence(...pipeline.internalMiddleware, middleware ?? pipelineMiddleware), + pipelineActions, + pathname, + request, + routeData, + status, + clientAddress, + void 0, + void 0, + void 0, + props, + partial, + shouldInjectCspMetaTags ?? !!pipeline.manifest.csp + ); + } + /** + * The main function of the RenderContext. + * + * Use this function to render any route known to Astro. + * It attempts to render a route. A route can be a: + * + * - page + * - redirect + * - endpoint + * - fallback + */ + async render(componentInstance, slots = {}) { + const { middleware, pipeline } = this; + const { logger, serverLike, streaming, manifest } = pipeline; + const props = Object.keys(this.props).length > 0 ? this.props : await getProps({ + mod: componentInstance, + routeData: this.routeData, + routeCache: this.pipeline.routeCache, + pathname: this.pathname, + logger, + serverLike, + base: manifest.base + }); + const actionApiContext = this.createActionAPIContext(); + const apiContext = this.createAPIContext(props, actionApiContext); + this.counter++; + if (this.counter === 4) { + return new Response("Loop Detected", { + // https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/508 + status: 508, + statusText: "Astro detected a loop where you tried to call the rewriting logic more than four times." + }); + } + const lastNext = async (ctx, payload) => { + if (payload) { + const oldPathname = this.pathname; + pipeline.logger.debug("router", "Called rewriting to:", payload); + const { + routeData, + componentInstance: newComponent, + pathname, + newUrl + } = await pipeline.tryRewrite(payload, this.request); + if (this.pipeline.serverLike === true && this.routeData.prerender === false && routeData.prerender === true) { + throw new AstroError({ + ...ForbiddenRewrite, + message: ForbiddenRewrite.message(this.pathname, pathname, routeData.component), + hint: ForbiddenRewrite.hint(routeData.component) + }); + } + this.routeData = routeData; + componentInstance = newComponent; + if (payload instanceof Request) { + this.request = payload; + } else { + this.request = copyRequest( + newUrl, + this.request, + // need to send the flag of the previous routeData + routeData.prerender, + this.pipeline.logger, + this.routeData.route + ); + } + this.isRewriting = true; + this.url = new URL(this.request.url); + this.params = getParams(routeData, pathname); + this.pathname = pathname; + this.status = 200; + setOriginPathname( + this.request, + oldPathname, + this.pipeline.manifest.trailingSlash, + this.pipeline.manifest.buildFormat + ); + } + let response2; + if (!ctx.isPrerendered) { + const { action, setActionResult, serializeActionResult } = getActionContext(ctx); + if (action?.calledFrom === "form") { + const actionResult = await action.handler(); + setActionResult(action.name, serializeActionResult(actionResult)); + } + } + switch (this.routeData.type) { + case "endpoint": { + response2 = await renderEndpoint( + componentInstance, + ctx, + this.routeData.prerender, + logger + ); + break; + } + case "redirect": + return renderRedirect(this); + case "page": { + this.result = await this.createResult(componentInstance, actionApiContext); + try { + response2 = await renderPage( + this.result, + componentInstance?.default, + props, + slots, + streaming, + this.routeData + ); + } catch (e) { + this.result.cancelled = true; + throw e; + } + response2.headers.set(ROUTE_TYPE_HEADER, "page"); + if (this.routeData.route === "/404" || this.routeData.route === "/500") { + response2.headers.set(REROUTE_DIRECTIVE_HEADER, "no"); + } + if (this.isRewriting) { + response2.headers.set(REWRITE_DIRECTIVE_HEADER_KEY, REWRITE_DIRECTIVE_HEADER_VALUE); + } + break; + } + case "fallback": { + return new Response(null, { status: 500, headers: { [ROUTE_TYPE_HEADER]: "fallback" } }); + } + } + const responseCookies = getCookiesFromResponse(response2); + if (responseCookies) { + this.cookies.merge(responseCookies); + } + return response2; + }; + if (isRouteExternalRedirect(this.routeData)) { + return renderRedirect(this); + } + const response = await callMiddleware(middleware, apiContext, lastNext); + if (response.headers.get(ROUTE_TYPE_HEADER)) { + response.headers.delete(ROUTE_TYPE_HEADER); + } + attachCookiesToResponse(response, this.cookies); + return response; + } + createAPIContext(props, context) { + const redirect = (path, status = 302) => new Response(null, { status, headers: { Location: path } }); + Reflect.set(context, apiContextRoutesSymbol, this.pipeline); + return Object.assign(context, { + props, + redirect, + getActionResult: createGetActionResult(context.locals), + callAction: createCallAction(context) + }); + } + async #executeRewrite(reroutePayload) { + this.pipeline.logger.debug("router", "Calling rewrite: ", reroutePayload); + const oldPathname = this.pathname; + const { routeData, componentInstance, newUrl, pathname } = await this.pipeline.tryRewrite( + reroutePayload, + this.request + ); + const isI18nFallback = routeData.fallbackRoutes && routeData.fallbackRoutes.length > 0; + if (this.pipeline.serverLike && !this.routeData.prerender && routeData.prerender && !isI18nFallback) { + throw new AstroError({ + ...ForbiddenRewrite, + message: ForbiddenRewrite.message(this.pathname, pathname, routeData.component), + hint: ForbiddenRewrite.hint(routeData.component) + }); + } + this.routeData = routeData; + if (reroutePayload instanceof Request) { + this.request = reroutePayload; + } else { + this.request = copyRequest( + newUrl, + this.request, + // need to send the flag of the previous routeData + routeData.prerender, + this.pipeline.logger, + this.routeData.route + ); + } + this.url = new URL(this.request.url); + const newCookies = new AstroCookies(this.request); + if (this.cookies) { + newCookies.merge(this.cookies); + } + this.cookies = newCookies; + this.params = getParams(routeData, pathname); + this.pathname = pathname; + this.isRewriting = true; + this.status = 200; + setOriginPathname( + this.request, + oldPathname, + this.pipeline.manifest.trailingSlash, + this.pipeline.manifest.buildFormat + ); + return await this.render(componentInstance); + } + createActionAPIContext() { + const renderContext = this; + const { params, pipeline, url } = this; + const generator = `Astro v${ASTRO_VERSION}`; + const rewrite = async (reroutePayload) => { + return await this.#executeRewrite(reroutePayload); + }; + return { + // Don't allow reassignment of cookies because it doesn't work + get cookies() { + return renderContext.cookies; + }, + routePattern: this.routeData.route, + isPrerendered: this.routeData.prerender, + get clientAddress() { + return renderContext.getClientAddress(); + }, + get currentLocale() { + return renderContext.computeCurrentLocale(); + }, + generator, + get locals() { + return renderContext.locals; + }, + set locals(_) { + throw new AstroError(LocalsReassigned); + }, + params, + get preferredLocale() { + return renderContext.computePreferredLocale(); + }, + get preferredLocaleList() { + return renderContext.computePreferredLocaleList(); + }, + rewrite, + request: this.request, + site: pipeline.site, + url, + get originPathname() { + return getOriginPathname(renderContext.request); + }, + get session() { + if (this.isPrerendered) { + pipeline.logger.warn( + "session", + `context.session was used when rendering the route ${green(this.routePattern)}, but it is not available on prerendered routes. If you need access to sessions, make sure that the route is server-rendered using \`export const prerender = false;\` or by setting \`output\` to \`"server"\` in your Astro config to make all your routes server-rendered by default. For more information, see https://docs.astro.build/en/guides/sessions/` + ); + return void 0; + } + if (!renderContext.session) { + pipeline.logger.warn( + "session", + `context.session was used when rendering the route ${green(this.routePattern)}, but no storage configuration was provided. Either configure the storage manually or use an adapter that provides session storage. For more information, see https://docs.astro.build/en/guides/sessions/` + ); + return void 0; + } + return renderContext.session; + }, + get csp() { + return { + insertDirective(payload) { + if (!pipeline.manifest.csp) { + throw new AstroError(CspNotEnabled); + } + renderContext.result?.directives.push(payload); + }, + insertScriptResource(resource) { + if (!pipeline.manifest.csp) { + throw new AstroError(CspNotEnabled); + } + renderContext.result?.scriptResources.push(resource); + }, + insertStyleResource(resource) { + if (!pipeline.manifest.csp) { + throw new AstroError(CspNotEnabled); + } + renderContext.result?.styleResources.push(resource); + }, + insertStyleHash(hash) { + if (!pipeline.manifest.csp) { + throw new AstroError(CspNotEnabled); + } + renderContext.result?.styleHashes.push(hash); + }, + insertScriptHash(hash) { + if (!pipeline.manifest.csp) { + throw new AstroError(CspNotEnabled); + } + renderContext.result?.scriptHashes.push(hash); + } + }; + } + }; + } + async createResult(mod, ctx) { + const { cookies, pathname, pipeline, routeData, status } = this; + const { clientDirectives, inlinedScripts, compressHTML, manifest, renderers, resolve } = pipeline; + const { links, scripts, styles } = await pipeline.headElements(routeData); + const extraStyleHashes = []; + const extraScriptHashes = []; + const shouldInjectCspMetaTags = this.shouldInjectCspMetaTags; + const cspAlgorithm = manifest.csp?.algorithm ?? "SHA-256"; + if (shouldInjectCspMetaTags) { + for (const style of styles) { + extraStyleHashes.push(await generateCspDigest(style.children, cspAlgorithm)); + } + for (const script of scripts) { + extraScriptHashes.push(await generateCspDigest(script.children, cspAlgorithm)); + } + } + const componentMetadata = await pipeline.componentMetadata(routeData) ?? manifest.componentMetadata; + const headers = new Headers({ "Content-Type": "text/html" }); + const partial = typeof this.partial === "boolean" ? this.partial : Boolean(mod.partial); + const actionResult = hasActionPayload(this.locals) ? deserializeActionResult(this.locals._actionPayload.actionResult) : void 0; + const response = { + status: actionResult?.error ? actionResult?.error.status : status, + statusText: actionResult?.error ? actionResult?.error.type : "OK", + get headers() { + return headers; + }, + // Disallow `Astro.response.headers = new Headers` + set headers(_) { + throw new AstroError(AstroResponseHeadersReassigned); + } + }; + const result = { + base: manifest.base, + userAssetsBase: manifest.userAssetsBase, + cancelled: false, + clientDirectives, + inlinedScripts, + componentMetadata, + compressHTML, + cookies, + /** This function returns the `Astro` faux-global */ + createAstro: (astroGlobal, props, slots) => this.createAstro(result, astroGlobal, props, slots, ctx), + links, + params: this.params, + partial, + pathname, + renderers, + resolve, + response, + request: this.request, + scripts, + styles, + actionResult, + serverIslandNameMap: manifest.serverIslandNameMap ?? /* @__PURE__ */ new Map(), + key: manifest.key, + trailingSlash: manifest.trailingSlash, + _metadata: { + hasHydrationScript: false, + rendererSpecificHydrationScripts: /* @__PURE__ */ new Set(), + hasRenderedHead: false, + renderedScripts: /* @__PURE__ */ new Set(), + hasDirectives: /* @__PURE__ */ new Set(), + hasRenderedServerIslandRuntime: false, + headInTree: false, + extraHead: [], + extraStyleHashes, + extraScriptHashes, + propagators: /* @__PURE__ */ new Set() + }, + cspDestination: manifest.csp?.cspDestination ?? (routeData.prerender ? "meta" : "header"), + shouldInjectCspMetaTags, + cspAlgorithm, + // The following arrays must be cloned, otherwise they become mutable across routes. + scriptHashes: manifest.csp?.scriptHashes ? [...manifest.csp.scriptHashes] : [], + scriptResources: manifest.csp?.scriptResources ? [...manifest.csp.scriptResources] : [], + styleHashes: manifest.csp?.styleHashes ? [...manifest.csp.styleHashes] : [], + styleResources: manifest.csp?.styleResources ? [...manifest.csp.styleResources] : [], + directives: manifest.csp?.directives ? [...manifest.csp.directives] : [], + isStrictDynamic: manifest.csp?.isStrictDynamic ?? false + }; + return result; + } + #astroPagePartial; + /** + * The Astro global is sourced in 3 different phases: + * - **Static**: `.generator` and `.glob` is printed by the compiler, instantiated once per process per astro file + * - **Page-level**: `.request`, `.cookies`, `.locals` etc. These remain the same for the duration of the request. + * - **Component-level**: `.props`, `.slots`, and `.self` are unique to each _use_ of each component. + * + * The page level partial is used as the prototype of the user-visible `Astro` global object, which is instantiated once per use of a component. + */ + createAstro(result, astroStaticPartial, props, slotValues, apiContext) { + let astroPagePartial; + if (this.isRewriting) { + astroPagePartial = this.#astroPagePartial = this.createAstroPagePartial( + result, + astroStaticPartial, + apiContext + ); + } else { + astroPagePartial = this.#astroPagePartial ??= this.createAstroPagePartial( + result, + astroStaticPartial, + apiContext + ); + } + const astroComponentPartial = { props, self: null }; + const Astro = Object.assign( + Object.create(astroPagePartial), + astroComponentPartial + ); + let _slots; + Object.defineProperty(Astro, "slots", { + get: () => { + if (!_slots) { + _slots = new Slots( + result, + slotValues, + this.pipeline.logger + ); + } + return _slots; + } + }); + return Astro; + } + createAstroPagePartial(result, astroStaticPartial, apiContext) { + const renderContext = this; + const { cookies, locals, params, pipeline, url } = this; + const { response } = result; + const redirect = (path, status = 302) => { + if (this.request[responseSentSymbol$1]) { + throw new AstroError({ + ...ResponseSentError + }); + } + return new Response(null, { status, headers: { Location: path } }); + }; + const rewrite = async (reroutePayload) => { + return await this.#executeRewrite(reroutePayload); + }; + const callAction = createCallAction(apiContext); + return { + generator: astroStaticPartial.generator, + glob: astroStaticPartial.glob, + routePattern: this.routeData.route, + isPrerendered: this.routeData.prerender, + cookies, + get session() { + if (this.isPrerendered) { + pipeline.logger.warn( + "session", + `Astro.session was used when rendering the route ${green(this.routePattern)}, but it is not available on prerendered pages. If you need access to sessions, make sure that the page is server-rendered using \`export const prerender = false;\` or by setting \`output\` to \`"server"\` in your Astro config to make all your pages server-rendered by default. For more information, see https://docs.astro.build/en/guides/sessions/` + ); + return void 0; + } + if (!renderContext.session) { + pipeline.logger.warn( + "session", + `Astro.session was used when rendering the route ${green(this.routePattern)}, but no storage configuration was provided. Either configure the storage manually or use an adapter that provides session storage. For more information, see https://docs.astro.build/en/guides/sessions/` + ); + return void 0; + } + return renderContext.session; + }, + get clientAddress() { + return renderContext.getClientAddress(); + }, + get currentLocale() { + return renderContext.computeCurrentLocale(); + }, + params, + get preferredLocale() { + return renderContext.computePreferredLocale(); + }, + get preferredLocaleList() { + return renderContext.computePreferredLocaleList(); + }, + locals, + redirect, + rewrite, + request: this.request, + response, + site: pipeline.site, + getActionResult: createGetActionResult(locals), + get callAction() { + return callAction; + }, + url, + get originPathname() { + return getOriginPathname(renderContext.request); + }, + get csp() { + return { + insertDirective(payload) { + if (!pipeline.manifest.csp) { + throw new AstroError(CspNotEnabled); + } + renderContext.result?.directives.push(payload); + }, + insertScriptResource(resource) { + if (!pipeline.manifest.csp) { + throw new AstroError(CspNotEnabled); + } + renderContext.result?.scriptResources.push(resource); + }, + insertStyleResource(resource) { + if (!pipeline.manifest.csp) { + throw new AstroError(CspNotEnabled); + } + renderContext.result?.styleResources.push(resource); + }, + insertStyleHash(hash) { + if (!pipeline.manifest.csp) { + throw new AstroError(CspNotEnabled); + } + renderContext.result?.styleHashes.push(hash); + }, + insertScriptHash(hash) { + if (!pipeline.manifest.csp) { + throw new AstroError(CspNotEnabled); + } + renderContext.result?.scriptHashes.push(hash); + } + }; + } + }; + } + getClientAddress() { + const { pipeline, request, routeData, clientAddress } = this; + if (routeData.prerender) { + throw new AstroError({ + ...PrerenderClientAddressNotAvailable, + message: PrerenderClientAddressNotAvailable.message(routeData.component) + }); + } + if (clientAddress) { + return clientAddress; + } + if (clientAddressSymbol in request) { + return Reflect.get(request, clientAddressSymbol); + } + if (pipeline.adapterName) { + throw new AstroError({ + ...ClientAddressNotAvailable, + message: ClientAddressNotAvailable.message(pipeline.adapterName) + }); + } + throw new AstroError(StaticClientAddressNotAvailable); + } + /** + * API Context may be created multiple times per request, i18n data needs to be computed only once. + * So, it is computed and saved here on creation of the first APIContext and reused for later ones. + */ + #currentLocale; + computeCurrentLocale() { + const { + url, + pipeline: { i18n }, + routeData + } = this; + if (!i18n) return; + const { defaultLocale, locales, strategy } = i18n; + const fallbackTo = strategy === "pathname-prefix-other-locales" || strategy === "domains-prefix-other-locales" ? defaultLocale : void 0; + if (this.#currentLocale) { + return this.#currentLocale; + } + let computedLocale; + if (isRouteServerIsland(routeData)) { + let referer = this.request.headers.get("referer"); + if (referer) { + if (URL.canParse(referer)) { + referer = new URL(referer).pathname; + } + computedLocale = computeCurrentLocale(referer, locales, defaultLocale); + } + } else { + let pathname = routeData.pathname; + if (!routeData.pattern.test(url.pathname)) { + for (const fallbackRoute of routeData.fallbackRoutes) { + if (fallbackRoute.pattern.test(url.pathname)) { + pathname = fallbackRoute.pathname; + break; + } + } + } + pathname = pathname && !isRoute404or500(routeData) ? pathname : url.pathname; + computedLocale = computeCurrentLocale(pathname, locales, defaultLocale); + } + this.#currentLocale = computedLocale ?? fallbackTo; + return this.#currentLocale; + } + #preferredLocale; + computePreferredLocale() { + const { + pipeline: { i18n }, + request + } = this; + if (!i18n) return; + return this.#preferredLocale ??= computePreferredLocale(request, i18n.locales); + } + #preferredLocaleList; + computePreferredLocaleList() { + const { + pipeline: { i18n }, + request + } = this; + if (!i18n) return; + return this.#preferredLocaleList ??= computePreferredLocaleList(request, i18n.locales); + } +} + +function redirectTemplate({ + status, + absoluteLocation, + relativeLocation, + from +}) { + const delay = status === 302 ? 2 : 0; + return ` +Redirecting to: ${relativeLocation} + + + + + Redirecting ${from ? `from ${from} ` : ""}to ${relativeLocation} +`; +} + +class AppPipeline extends Pipeline { + static create({ + logger, + manifest, + runtimeMode, + renderers, + resolve, + serverLike, + streaming, + defaultRoutes + }) { + const pipeline = new AppPipeline( + logger, + manifest, + runtimeMode, + renderers, + resolve, + serverLike, + streaming, + void 0, + void 0, + void 0, + void 0, + void 0, + void 0, + void 0, + void 0, + defaultRoutes + ); + return pipeline; + } + headElements(routeData) { + const routeInfo = this.manifest.routes.find((route) => route.routeData === routeData); + const links = /* @__PURE__ */ new Set(); + const scripts = /* @__PURE__ */ new Set(); + const styles = createStylesheetElementSet(routeInfo?.styles ?? []); + for (const script of routeInfo?.scripts ?? []) { + if ("stage" in script) { + if (script.stage === "head-inline") { + scripts.add({ + props: {}, + children: script.children + }); + } + } else { + scripts.add(createModuleScriptElement(script)); + } + } + return { links, styles, scripts }; + } + componentMetadata() { + } + async getComponentByRoute(routeData) { + const module = await this.getModuleForRoute(routeData); + return module.page(); + } + async tryRewrite(payload, request) { + const { newUrl, pathname, routeData } = findRouteToRewrite({ + payload, + request, + routes: this.manifest?.routes.map((r) => r.routeData), + trailingSlash: this.manifest.trailingSlash, + buildFormat: this.manifest.buildFormat, + base: this.manifest.base, + outDir: this.serverLike ? this.manifest.buildClientDir : this.manifest.outDir + }); + const componentInstance = await this.getComponentByRoute(routeData); + return { newUrl, pathname, componentInstance, routeData }; + } + async getModuleForRoute(route) { + for (const defaultRoute of this.defaultRoutes) { + if (route.component === defaultRoute.component) { + return { + page: () => Promise.resolve(defaultRoute.instance), + renderers: [] + }; + } + } + if (route.type === "redirect") { + return RedirectSinglePageBuiltModule; + } else { + if (this.manifest.pageMap) { + const importComponentInstance = this.manifest.pageMap.get(route.component); + if (!importComponentInstance) { + throw new Error( + `Unexpectedly unable to find a component instance for route ${route.route}` + ); + } + return await importComponentInstance(); + } else if (this.manifest.pageModule) { + return this.manifest.pageModule; + } + throw new Error( + "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." + ); + } + } +} + +class App { + #manifest; + #manifestData; + #logger = new Logger({ + dest: consoleLogDestination, + level: "info" + }); + #baseWithoutTrailingSlash; + #pipeline; + #adapterLogger; + constructor(manifest, streaming = true) { + this.#manifest = manifest; + this.#manifestData = { + routes: manifest.routes.map((route) => route.routeData) + }; + ensure404Route(this.#manifestData); + this.#baseWithoutTrailingSlash = removeTrailingForwardSlash(this.#manifest.base); + this.#pipeline = this.#createPipeline(streaming); + this.#adapterLogger = new AstroIntegrationLogger( + this.#logger.options, + this.#manifest.adapterName + ); + } + getAdapterLogger() { + return this.#adapterLogger; + } + getAllowedDomains() { + return this.#manifest.allowedDomains; + } + get manifest() { + return this.#manifest; + } + set manifest(value) { + this.#manifest = value; + } + matchesAllowedDomains(forwardedHost, protocol) { + return App.validateForwardedHost(forwardedHost, this.#manifest.allowedDomains, protocol); + } + static validateForwardedHost(forwardedHost, allowedDomains, protocol) { + if (!allowedDomains || allowedDomains.length === 0) { + return false; + } + try { + const testUrl = new URL(`${protocol || "https"}://${forwardedHost}`); + return allowedDomains.some((pattern) => { + return matchPattern(testUrl, pattern); + }); + } catch { + return false; + } + } + /** + * Creates a pipeline by reading the stored manifest + * + * @param streaming + * @private + */ + #createPipeline(streaming = false) { + return AppPipeline.create({ + logger: this.#logger, + manifest: this.#manifest, + runtimeMode: "production", + renderers: this.#manifest.renderers, + defaultRoutes: createDefaultRoutes(this.#manifest), + resolve: async (specifier) => { + if (!(specifier in this.#manifest.entryModules)) { + throw new Error(`Unable to resolve [${specifier}]`); + } + const bundlePath = this.#manifest.entryModules[specifier]; + if (bundlePath.startsWith("data:") || bundlePath.length === 0) { + return bundlePath; + } else { + return createAssetLink(bundlePath, this.#manifest.base, this.#manifest.assetsPrefix); + } + }, + serverLike: true, + streaming + }); + } + set setManifestData(newManifestData) { + this.#manifestData = newManifestData; + } + removeBase(pathname) { + if (pathname.startsWith(this.#manifest.base)) { + return pathname.slice(this.#baseWithoutTrailingSlash.length + 1); + } + return pathname; + } + /** + * It removes the base from the request URL, prepends it with a forward slash and attempts to decoded it. + * + * If the decoding fails, it logs the error and return the pathname as is. + * @param request + * @private + */ + #getPathnameFromRequest(request) { + const url = new URL(request.url); + const pathname = prependForwardSlash$1(this.removeBase(url.pathname)); + try { + return decodeURI(pathname); + } catch (e) { + this.getAdapterLogger().error(e.toString()); + return pathname; + } + } + /** + * Given a `Request`, it returns the `RouteData` that matches its `pathname`. By default, prerendered + * routes aren't returned, even if they are matched. + * + * When `allowPrerenderedRoutes` is `true`, the function returns matched prerendered routes too. + * @param request + * @param allowPrerenderedRoutes + */ + match(request, allowPrerenderedRoutes = false) { + const url = new URL(request.url); + if (this.#manifest.assets.has(url.pathname)) return void 0; + let pathname = this.#computePathnameFromDomain(request); + if (!pathname) { + pathname = prependForwardSlash$1(this.removeBase(url.pathname)); + } + let routeData = matchRoute(decodeURI(pathname), this.#manifestData); + if (!routeData) return void 0; + if (allowPrerenderedRoutes) { + return routeData; + } else if (routeData.prerender) { + return void 0; + } + return routeData; + } + #computePathnameFromDomain(request) { + let pathname = void 0; + const url = new URL(request.url); + if (this.#manifest.i18n && (this.#manifest.i18n.strategy === "domains-prefix-always" || this.#manifest.i18n.strategy === "domains-prefix-other-locales" || this.#manifest.i18n.strategy === "domains-prefix-always-no-redirect")) { + let forwardedHost = request.headers.get("X-Forwarded-Host"); + let protocol = request.headers.get("X-Forwarded-Proto"); + if (protocol) { + protocol = protocol + ":"; + } else { + protocol = url.protocol; + } + if (forwardedHost && !this.matchesAllowedDomains(forwardedHost, protocol?.replace(":", ""))) { + forwardedHost = null; + } + let host = forwardedHost; + if (!host) { + host = request.headers.get("Host"); + } + if (host && protocol) { + host = host.split(":")[0]; + try { + let locale; + const hostAsUrl = new URL(`${protocol}//${host}`); + for (const [domainKey, localeValue] of Object.entries( + this.#manifest.i18n.domainLookupTable + )) { + const domainKeyAsUrl = new URL(domainKey); + if (hostAsUrl.host === domainKeyAsUrl.host && hostAsUrl.protocol === domainKeyAsUrl.protocol) { + locale = localeValue; + break; + } + } + if (locale) { + pathname = prependForwardSlash$1( + joinPaths(normalizeTheLocale(locale), this.removeBase(url.pathname)) + ); + if (url.pathname.endsWith("/")) { + pathname = appendForwardSlash$1(pathname); + } + } + } catch (e) { + this.#logger.error( + "router", + `Astro tried to parse ${protocol}//${host} as an URL, but it threw a parsing error. Check the X-Forwarded-Host and X-Forwarded-Proto headers.` + ); + this.#logger.error("router", `Error: ${e}`); + } + } + } + return pathname; + } + #redirectTrailingSlash(pathname) { + const { trailingSlash } = this.#manifest; + if (pathname === "/" || isInternalPath(pathname)) { + return pathname; + } + const path = collapseDuplicateTrailingSlashes(pathname, trailingSlash !== "never"); + if (path !== pathname) { + return path; + } + if (trailingSlash === "ignore") { + return pathname; + } + if (trailingSlash === "always" && !hasFileExtension(pathname)) { + return appendForwardSlash$1(pathname); + } + if (trailingSlash === "never") { + return removeTrailingForwardSlash(pathname); + } + return pathname; + } + async render(request, renderOptions) { + let routeData; + let locals; + let clientAddress; + let addCookieHeader; + const url = new URL(request.url); + const redirect = this.#redirectTrailingSlash(url.pathname); + const prerenderedErrorPageFetch = renderOptions?.prerenderedErrorPageFetch ?? fetch; + if (redirect !== url.pathname) { + const status = request.method === "GET" ? 301 : 308; + return new Response( + redirectTemplate({ + status, + relativeLocation: url.pathname, + absoluteLocation: redirect, + from: request.url + }), + { + status, + headers: { + location: redirect + url.search + } + } + ); + } + addCookieHeader = renderOptions?.addCookieHeader; + clientAddress = renderOptions?.clientAddress ?? Reflect.get(request, clientAddressSymbol); + routeData = renderOptions?.routeData; + locals = renderOptions?.locals; + if (routeData) { + this.#logger.debug( + "router", + "The adapter " + this.#manifest.adapterName + " provided a custom RouteData for ", + request.url + ); + this.#logger.debug("router", "RouteData:\n" + routeData); + } + if (locals) { + if (typeof locals !== "object") { + const error = new AstroError(LocalsNotAnObject); + this.#logger.error(null, error.stack); + return this.#renderError(request, { + status: 500, + error, + clientAddress, + prerenderedErrorPageFetch + }); + } + } + if (!routeData) { + routeData = this.match(request); + this.#logger.debug("router", "Astro matched the following route for " + request.url); + this.#logger.debug("router", "RouteData:\n" + routeData); + } + if (!routeData) { + routeData = this.#manifestData.routes.find( + (route) => route.component === "404.astro" || route.component === DEFAULT_404_COMPONENT + ); + } + if (!routeData) { + this.#logger.debug("router", "Astro hasn't found routes that match " + request.url); + this.#logger.debug("router", "Here's the available routes:\n", this.#manifestData); + return this.#renderError(request, { + locals, + status: 404, + clientAddress, + prerenderedErrorPageFetch + }); + } + const pathname = this.#getPathnameFromRequest(request); + const defaultStatus = this.#getDefaultStatusCode(routeData, pathname); + let response; + let session; + try { + const mod = await this.#pipeline.getModuleForRoute(routeData); + const renderContext = await RenderContext.create({ + pipeline: this.#pipeline, + locals, + pathname, + request, + routeData, + status: defaultStatus, + clientAddress + }); + session = renderContext.session; + response = await renderContext.render(await mod.page()); + } catch (err) { + this.#logger.error(null, err.stack || err.message || String(err)); + return this.#renderError(request, { + locals, + status: 500, + error: err, + clientAddress, + prerenderedErrorPageFetch + }); + } finally { + await session?.[PERSIST_SYMBOL](); + } + if (REROUTABLE_STATUS_CODES.includes(response.status) && response.headers.get(REROUTE_DIRECTIVE_HEADER) !== "no") { + return this.#renderError(request, { + locals, + response, + status: response.status, + // We don't have an error to report here. Passing null means we pass nothing intentionally + // while undefined means there's no error + error: response.status === 500 ? null : void 0, + clientAddress, + prerenderedErrorPageFetch + }); + } + if (response.headers.has(REROUTE_DIRECTIVE_HEADER)) { + response.headers.delete(REROUTE_DIRECTIVE_HEADER); + } + if (addCookieHeader) { + for (const setCookieHeaderValue of App.getSetCookieFromResponse(response)) { + response.headers.append("set-cookie", setCookieHeaderValue); + } + } + Reflect.set(response, responseSentSymbol$1, true); + return response; + } + setCookieHeaders(response) { + return getSetCookiesFromResponse(response); + } + /** + * Reads all the cookies written by `Astro.cookie.set()` onto the passed response. + * For example, + * ```ts + * for (const cookie_ of App.getSetCookieFromResponse(response)) { + * const cookie: string = cookie_ + * } + * ``` + * @param response The response to read cookies from. + * @returns An iterator that yields key-value pairs as equal-sign-separated strings. + */ + static getSetCookieFromResponse = getSetCookiesFromResponse; + /** + * If it is a known error code, try sending the according page (e.g. 404.astro / 500.astro). + * This also handles pre-rendered /404 or /500 routes + */ + async #renderError(request, { + locals, + status, + response: originalResponse, + skipMiddleware = false, + error, + clientAddress, + prerenderedErrorPageFetch + }) { + const errorRoutePath = `/${status}${this.#manifest.trailingSlash === "always" ? "/" : ""}`; + const errorRouteData = matchRoute(errorRoutePath, this.#manifestData); + const url = new URL(request.url); + if (errorRouteData) { + if (errorRouteData.prerender) { + const maybeDotHtml = errorRouteData.route.endsWith(`/${status}`) ? ".html" : ""; + const statusURL = new URL( + `${this.#baseWithoutTrailingSlash}/${status}${maybeDotHtml}`, + url + ); + if (statusURL.toString() !== request.url) { + const response2 = await prerenderedErrorPageFetch(statusURL.toString()); + const override = { status, removeContentEncodingHeaders: true }; + return this.#mergeResponses(response2, originalResponse, override); + } + } + const mod = await this.#pipeline.getModuleForRoute(errorRouteData); + let session; + try { + const renderContext = await RenderContext.create({ + locals, + pipeline: this.#pipeline, + middleware: skipMiddleware ? NOOP_MIDDLEWARE_FN : void 0, + pathname: this.#getPathnameFromRequest(request), + request, + routeData: errorRouteData, + status, + props: { error }, + clientAddress + }); + session = renderContext.session; + const response2 = await renderContext.render(await mod.page()); + return this.#mergeResponses(response2, originalResponse); + } catch { + if (skipMiddleware === false) { + return this.#renderError(request, { + locals, + status, + response: originalResponse, + skipMiddleware: true, + clientAddress, + prerenderedErrorPageFetch + }); + } + } finally { + await session?.[PERSIST_SYMBOL](); + } + } + const response = this.#mergeResponses(new Response(null, { status }), originalResponse); + Reflect.set(response, responseSentSymbol$1, true); + return response; + } + #mergeResponses(newResponse, originalResponse, override) { + let newResponseHeaders = newResponse.headers; + if (override?.removeContentEncodingHeaders) { + newResponseHeaders = new Headers(newResponseHeaders); + newResponseHeaders.delete("Content-Encoding"); + newResponseHeaders.delete("Content-Length"); + } + if (!originalResponse) { + if (override !== void 0) { + return new Response(newResponse.body, { + status: override.status, + statusText: newResponse.statusText, + headers: newResponseHeaders + }); + } + return newResponse; + } + const status = override?.status ? override.status : originalResponse.status === 200 ? newResponse.status : originalResponse.status; + try { + originalResponse.headers.delete("Content-type"); + } catch { + } + const mergedHeaders = new Map([ + ...Array.from(newResponseHeaders), + ...Array.from(originalResponse.headers) + ]); + const newHeaders = new Headers(); + for (const [name, value] of mergedHeaders) { + newHeaders.set(name, value); + } + return new Response(newResponse.body, { + status, + statusText: status === 200 ? newResponse.statusText : originalResponse.statusText, + // If you're looking at here for possible bugs, it means that it's not a bug. + // With the middleware, users can meddle with headers, and we should pass to the 404/500. + // If users see something weird, it's because they are setting some headers they should not. + // + // Although, we don't want it to replace the content-type, because the error page must return `text/html` + headers: newHeaders + }); + } + #getDefaultStatusCode(routeData, pathname) { + if (!routeData.pattern.test(pathname)) { + for (const fallbackRoute of routeData.fallbackRoutes) { + if (fallbackRoute.pattern.test(pathname)) { + return 302; + } + } + } + const route = removeTrailingForwardSlash(routeData.route); + if (route.endsWith("/404")) return 404; + if (route.endsWith("/500")) return 500; + return 200; + } +} + +const createOutgoingHttpHeaders = (headers) => { + if (!headers) { + return void 0; + } + const nodeHeaders = Object.fromEntries(headers.entries()); + if (Object.keys(nodeHeaders).length === 0) { + return void 0; + } + if (headers.has("set-cookie")) { + const cookieHeaders = headers.getSetCookie(); + if (cookieHeaders.length > 1) { + nodeHeaders["set-cookie"] = cookieHeaders; + } + } + return nodeHeaders; +}; + +function apply() { + if (!globalThis.crypto) { + Object.defineProperty(globalThis, "crypto", { + value: crypto$1.webcrypto + }); + } + if (!globalThis.File) { + Object.defineProperty(globalThis, "File", { + value: buffer.File + }); + } +} + +class NodeApp extends App { + headersMap = void 0; + setHeadersMap(headers) { + this.headersMap = headers; + } + match(req, allowPrerenderedRoutes = false) { + if (!(req instanceof Request)) { + req = NodeApp.createRequest(req, { + skipBody: true, + allowedDomains: this.manifest.allowedDomains + }); + } + return super.match(req, allowPrerenderedRoutes); + } + render(req, routeDataOrOptions, maybeLocals) { + if (!(req instanceof Request)) { + req = NodeApp.createRequest(req, { + allowedDomains: this.manifest.allowedDomains + }); + } + return super.render(req, routeDataOrOptions, maybeLocals); + } + /** + * Converts a NodeJS IncomingMessage into a web standard Request. + * ```js + * import { NodeApp } from 'astro/app/node'; + * import { createServer } from 'node:http'; + * + * const server = createServer(async (req, res) => { + * const request = NodeApp.createRequest(req); + * const response = await app.render(request); + * await NodeApp.writeResponse(response, res); + * }) + * ``` + */ + static createRequest(req, { + skipBody = false, + allowedDomains = [] + } = {}) { + const controller = new AbortController(); + const isEncrypted = "encrypted" in req.socket && req.socket.encrypted; + const getFirstForwardedValue = (multiValueHeader) => { + return multiValueHeader?.toString()?.split(",").map((e) => e.trim())?.[0]; + }; + const forwardedProtocol = getFirstForwardedValue(req.headers["x-forwarded-proto"]); + const providedProtocol = isEncrypted ? "https" : "http"; + const protocol = forwardedProtocol ?? providedProtocol; + let forwardedHostname = getFirstForwardedValue(req.headers["x-forwarded-host"]); + const providedHostname = req.headers.host ?? req.headers[":authority"]; + if (forwardedHostname && !App.validateForwardedHost( + forwardedHostname, + allowedDomains, + forwardedProtocol ?? providedProtocol + )) { + forwardedHostname = void 0; + } + const hostname = forwardedHostname ?? providedHostname; + const port = getFirstForwardedValue(req.headers["x-forwarded-port"]); + let url; + try { + const hostnamePort = getHostnamePort(hostname, port); + url = new URL(`${protocol}://${hostnamePort}${req.url}`); + } catch { + const hostnamePort = getHostnamePort(providedHostname, port); + url = new URL(`${providedProtocol}://${hostnamePort}`); + } + const options = { + method: req.method || "GET", + headers: makeRequestHeaders(req), + signal: controller.signal + }; + const bodyAllowed = options.method !== "HEAD" && options.method !== "GET" && skipBody === false; + if (bodyAllowed) { + Object.assign(options, makeRequestBody(req)); + } + const request = new Request(url, options); + const socket = getRequestSocket(req); + if (socket && typeof socket.on === "function") { + const existingCleanup = getAbortControllerCleanup(req); + if (existingCleanup) { + existingCleanup(); + } + let cleanedUp = false; + const removeSocketListener = () => { + if (typeof socket.off === "function") { + socket.off("close", onSocketClose); + } else if (typeof socket.removeListener === "function") { + socket.removeListener("close", onSocketClose); + } + }; + const cleanup = () => { + if (cleanedUp) return; + cleanedUp = true; + removeSocketListener(); + controller.signal.removeEventListener("abort", cleanup); + Reflect.deleteProperty(req, nodeRequestAbortControllerCleanupSymbol); + }; + const onSocketClose = () => { + cleanup(); + if (!controller.signal.aborted) { + controller.abort(); + } + }; + socket.on("close", onSocketClose); + controller.signal.addEventListener("abort", cleanup, { once: true }); + Reflect.set(req, nodeRequestAbortControllerCleanupSymbol, cleanup); + if (socket.destroyed) { + onSocketClose(); + } + } + const forwardedClientIp = getFirstForwardedValue(req.headers["x-forwarded-for"]); + const clientIp = forwardedClientIp || req.socket?.remoteAddress; + if (clientIp) { + Reflect.set(request, clientAddressSymbol, clientIp); + } + return request; + } + /** + * Streams a web-standard Response into a NodeJS Server Response. + * ```js + * import { NodeApp } from 'astro/app/node'; + * import { createServer } from 'node:http'; + * + * const server = createServer(async (req, res) => { + * const request = NodeApp.createRequest(req); + * const response = await app.render(request); + * await NodeApp.writeResponse(response, res); + * }) + * ``` + * @param source WhatWG Response + * @param destination NodeJS ServerResponse + */ + static async writeResponse(source, destination) { + const { status, headers, body, statusText } = source; + if (!(destination instanceof Http2ServerResponse)) { + destination.statusMessage = statusText; + } + destination.writeHead(status, createOutgoingHttpHeaders(headers)); + const cleanupAbortFromDestination = getAbortControllerCleanup( + destination.req ?? void 0 + ); + if (cleanupAbortFromDestination) { + const runCleanup = () => { + cleanupAbortFromDestination(); + if (typeof destination.off === "function") { + destination.off("finish", runCleanup); + destination.off("close", runCleanup); + } else { + destination.removeListener?.("finish", runCleanup); + destination.removeListener?.("close", runCleanup); + } + }; + destination.on("finish", runCleanup); + destination.on("close", runCleanup); + } + if (!body) return destination.end(); + try { + const reader = body.getReader(); + destination.on("close", () => { + reader.cancel().catch((err) => { + console.error( + `There was an uncaught error in the middle of the stream while rendering ${destination.req.url}.`, + err + ); + }); + }); + let result = await reader.read(); + while (!result.done) { + destination.write(result.value); + result = await reader.read(); + } + destination.end(); + } catch (err) { + destination.write("Internal server error", () => { + err instanceof Error ? destination.destroy(err) : destination.destroy(); + }); + } + } +} +function getHostnamePort(hostname, port) { + const portInHostname = typeof hostname === "string" && /:\d+$/.test(hostname); + const hostnamePort = portInHostname ? hostname : `${hostname}${port ? `:${port}` : ""}`; + return hostnamePort; +} +function makeRequestHeaders(req) { + const headers = new Headers(); + for (const [name, value] of Object.entries(req.headers)) { + if (value === void 0) { + continue; + } + if (Array.isArray(value)) { + for (const item of value) { + headers.append(name, item); + } + } else { + headers.append(name, value); + } + } + return headers; +} +function makeRequestBody(req) { + if (req.body !== void 0) { + if (typeof req.body === "string" && req.body.length > 0) { + return { body: Buffer.from(req.body) }; + } + if (typeof req.body === "object" && req.body !== null && Object.keys(req.body).length > 0) { + return { body: Buffer.from(JSON.stringify(req.body)) }; + } + if (typeof req.body === "object" && req.body !== null && typeof req.body[Symbol.asyncIterator] !== "undefined") { + return asyncIterableToBodyProps(req.body); + } + } + return asyncIterableToBodyProps(req); +} +function asyncIterableToBodyProps(iterable) { + return { + // Node uses undici for the Request implementation. Undici accepts + // a non-standard async iterable for the body. + // @ts-expect-error + body: iterable, + // The duplex property is required when using a ReadableStream or async + // iterable for the body. The type definitions do not include the duplex + // property because they are not up-to-date. + duplex: "half" + }; +} +function getAbortControllerCleanup(req) { + if (!req) return void 0; + const cleanup = Reflect.get(req, nodeRequestAbortControllerCleanupSymbol); + return typeof cleanup === "function" ? cleanup : void 0; +} +function getRequestSocket(req) { + if (req.socket && typeof req.socket.on === "function") { + return req.socket; + } + const http2Socket = req.stream?.session?.socket; + if (http2Socket && typeof http2Socket.on === "function") { + return http2Socket; + } + return void 0; +} + +apply(); + +function createAppHandler(app, options) { + const als = new AsyncLocalStorage(); + const logger = app.getAdapterLogger(); + process.on("unhandledRejection", (reason) => { + const requestUrl = als.getStore(); + logger.error(`Unhandled rejection while rendering ${requestUrl}`); + console.error(reason); + }); + const originUrl = options.experimentalErrorPageHost ? new URL(options.experimentalErrorPageHost) : void 0; + const prerenderedErrorPageFetch = originUrl ? (url) => { + const errorPageUrl = new URL(url); + errorPageUrl.protocol = originUrl.protocol; + errorPageUrl.host = originUrl.host; + return fetch(errorPageUrl); + } : void 0; + return async (req, res, next, locals) => { + let request; + try { + request = NodeApp.createRequest(req, { + allowedDomains: app.getAllowedDomains?.() ?? [] + }); + } catch (err) { + logger.error(`Could not render ${req.url}`); + console.error(err); + res.statusCode = 500; + res.end("Internal Server Error"); + return; + } + const routeData = app.match(request, true); + if (routeData) { + const response = await als.run( + request.url, + () => app.render(request, { + addCookieHeader: true, + locals, + routeData, + prerenderedErrorPageFetch + }) + ); + await NodeApp.writeResponse(response, res); + } else if (next) { + return next(); + } else { + const response = await app.render(req, { addCookieHeader: true, prerenderedErrorPageFetch }); + await NodeApp.writeResponse(response, res); + } + }; +} + +function createMiddleware(app, options) { + const handler = createAppHandler(app, options); + const logger = app.getAdapterLogger(); + return async (...args) => { + const [req, res, next, locals] = args; + if (req instanceof Error) { + const error = req; + if (next) { + return next(error); + } else { + throw error; + } + } + try { + await handler(req, res, next, locals); + } catch (err) { + logger.error(`Could not render ${req.url}`); + console.error(err); + if (!res.headersSent) { + res.writeHead(500, `Server error`); + res.end(); + } + } + }; +} + +const STATIC_HEADERS_FILE = "_experimentalHeaders.json"; + +const wildcardHosts = /* @__PURE__ */ new Set(["0.0.0.0", "::", "0000:0000:0000:0000:0000:0000:0000:0000"]); +async function logListeningOn(logger, server, configuredHost) { + await new Promise((resolve) => server.once("listening", resolve)); + const protocol = server instanceof https.Server ? "https" : "http"; + const host = getResolvedHostForHttpServer(configuredHost); + const { port } = server.address(); + const address = getNetworkAddress(protocol, host, port); + if (host === void 0 || wildcardHosts.has(host)) { + logger.info( + `Server listening on + local: ${address.local[0]} + network: ${address.network[0]} +` + ); + } else { + logger.info(`Server listening on ${address.local[0]}`); + } +} +function getResolvedHostForHttpServer(host) { + if (host === false) { + return "localhost"; + } else if (host === true) { + return void 0; + } else { + return host; + } +} +function getNetworkAddress(protocol = "http", hostname, port, base) { + const NetworkAddress = { + local: [], + network: [] + }; + Object.values(os.networkInterfaces()).flatMap((nInterface) => nInterface ?? []).filter( + (detail) => detail && detail.address && (detail.family === "IPv4" || // @ts-expect-error Node 18.0 - 18.3 returns number + detail.family === 4) + ).forEach((detail) => { + let host = detail.address.replace( + "127.0.0.1", + hostname === void 0 || wildcardHosts.has(hostname) ? "localhost" : hostname + ); + if (host.includes(":")) { + host = `[${host}]`; + } + const url = `${protocol}://${host}:${port}${""}`; + if (detail.address.includes("127.0.0.1")) { + NetworkAddress.local.push(url); + } else { + NetworkAddress.network.push(url); + } + }); + return NetworkAddress; +} + +function createStaticHandler(app, options) { + const client = resolveClientDir(options); + return (req, res, ssr) => { + if (req.url) { + const [urlPath, urlQuery] = req.url.split("?"); + const filePath = path.join(client, app.removeBase(urlPath)); + let isDirectory = false; + try { + isDirectory = fs.lstatSync(filePath).isDirectory(); + } catch { + } + const { trailingSlash = "ignore" } = options; + const hasSlash = urlPath.endsWith("/"); + let pathname = urlPath; + if (app.headersMap && app.headersMap.length > 0) { + const routeData = app.match(req, true); + if (routeData && routeData.prerender) { + const matchedRoute = app.headersMap.find((header) => header.pathname.includes(pathname)); + if (matchedRoute) { + for (const header of matchedRoute.headers) { + res.setHeader(header.key, header.value); + } + } + } + } + switch (trailingSlash) { + case "never": { + if (isDirectory && urlPath !== "/" && hasSlash) { + pathname = urlPath.slice(0, -1) + (urlQuery ? "?" + urlQuery : ""); + res.statusCode = 301; + res.setHeader("Location", pathname); + return res.end(); + } + if (isDirectory && !hasSlash) { + pathname = `${urlPath}/index.html`; + } + break; + } + case "ignore": { + if (isDirectory && !hasSlash) { + pathname = `${urlPath}/index.html`; + } + break; + } + case "always": { + if (!hasSlash && !hasFileExtension(urlPath) && !isInternalPath(urlPath)) { + pathname = urlPath + "/" + (urlQuery ? "?" + urlQuery : ""); + res.statusCode = 301; + res.setHeader("Location", pathname); + return res.end(); + } + break; + } + } + pathname = prependForwardSlash(app.removeBase(pathname)); + const stream = send(req, pathname, { + root: client, + dotfiles: pathname.startsWith("/.well-known/") ? "allow" : "deny" + }); + let forwardError = false; + stream.on("error", (err) => { + if (forwardError) { + console.error(err.toString()); + res.writeHead(500); + res.end("Internal server error"); + return; + } + ssr(); + }); + stream.on("headers", (_res) => { + if (pathname.startsWith(`/${options.assets}/`)) { + _res.setHeader("Cache-Control", "public, max-age=31536000, immutable"); + } + }); + stream.on("file", () => { + forwardError = true; + }); + stream.pipe(res); + } else { + ssr(); + } + }; +} +function resolveClientDir(options) { + const clientURLRaw = new URL(options.client); + const serverURLRaw = new URL(options.server); + const rel = path.relative(url.fileURLToPath(serverURLRaw), url.fileURLToPath(clientURLRaw)); + const serverFolder = path.basename(options.server); + let serverEntryFolderURL = path.dirname(import.meta.url); + while (!serverEntryFolderURL.endsWith(serverFolder)) { + serverEntryFolderURL = path.dirname(serverEntryFolderURL); + } + const serverEntryURL = serverEntryFolderURL + "/entry.mjs"; + const clientURL = new URL(appendForwardSlash(rel), serverEntryURL); + const client = url.fileURLToPath(clientURL); + return client; +} +function prependForwardSlash(pth) { + return pth.startsWith("/") ? pth : "/" + pth; +} +function appendForwardSlash(pth) { + return pth.endsWith("/") ? pth : pth + "/"; +} + +const hostOptions = (host) => { + if (typeof host === "boolean") { + return host ? "0.0.0.0" : "localhost"; + } + return host; +}; +function standalone(app, options) { + const port = process.env.PORT ? Number(process.env.PORT) : options.port ?? 8080; + const host = process.env.HOST ?? hostOptions(options.host); + const handler = createStandaloneHandler(app, options); + const server = createServer(handler, host, port); + server.server.listen(port, host); + if (process.env.ASTRO_NODE_LOGGING !== "disabled") { + logListeningOn(app.getAdapterLogger(), server.server, host); + } + return { + server, + done: server.closed() + }; +} +function createStandaloneHandler(app, options) { + const appHandler = createAppHandler(app, options); + const staticHandler = createStaticHandler(app, options); + return (req, res) => { + try { + decodeURI(req.url); + } catch { + res.writeHead(400); + res.end("Bad request."); + return; + } + staticHandler(req, res, () => appHandler(req, res)); + }; +} +function createServer(listener, host, port) { + let httpServer; + if (process.env.SERVER_CERT_PATH && process.env.SERVER_KEY_PATH) { + httpServer = https.createServer( + { + key: fs.readFileSync(process.env.SERVER_KEY_PATH), + cert: fs.readFileSync(process.env.SERVER_CERT_PATH) + }, + listener + ); + } else { + httpServer = http.createServer(listener); + } + enableDestroy(httpServer); + const closed = new Promise((resolve, reject) => { + httpServer.addListener("close", resolve); + httpServer.addListener("error", reject); + }); + const previewable = { + host, + port, + closed() { + return closed; + }, + async stop() { + await new Promise((resolve, reject) => { + httpServer.destroy((err) => err ? reject(err) : resolve(void 0)); + }); + } + }; + return { + server: httpServer, + ...previewable + }; +} + +function createExports(manifest, options) { + const app = new NodeApp(manifest, !options.experimentalDisableStreaming); + let headersMap = void 0; + if (options.experimentalStaticHeaders) { + headersMap = readHeadersJson(manifest.outDir); + } + if (headersMap) { + app.setHeadersMap(headersMap); + } + options.trailingSlash = manifest.trailingSlash; + return { + options, + handler: options.mode === "middleware" ? createMiddleware(app, options) : createStandaloneHandler(app, options), + startServer: () => standalone(app, options) + }; +} +function start(manifest, options) { + if (options.mode !== "standalone" || process.env.ASTRO_NODE_AUTOSTART === "disabled") { + return; + } + let headersMap = void 0; + if (options.experimentalStaticHeaders) { + headersMap = readHeadersJson(manifest.outDir); + } + const app = new NodeApp(manifest, !options.experimentalDisableStreaming); + if (headersMap) { + app.setHeadersMap(headersMap); + } + standalone(app, options); +} +function readHeadersJson(outDir) { + let headersMap = void 0; + const headersUrl = new URL(STATIC_HEADERS_FILE, outDir); + if (existsSync(headersUrl)) { + const content = readFileSync(headersUrl, "utf-8"); + try { + headersMap = JSON.parse(content); + } catch (e) { + console.error("[@astrojs/node] Error parsing _headers.json: " + e.message); + console.error("[@astrojs/node] Please make sure your _headers.json is valid JSON."); + } + } + return headersMap; +} + +const serverEntrypointModule = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({ + __proto__: null, + createExports, + start +}, Symbol.toStringTag, { value: 'Module' })); + +export { start as a, createExports as c, serverEntrypointModule as s }; diff --git a/dist/server/chunks/astro-designed-error-pages_ByR6z9Nn.mjs b/dist/server/chunks/astro-designed-error-pages_ByR6z9Nn.mjs new file mode 100644 index 0000000..c5d46b6 --- /dev/null +++ b/dist/server/chunks/astro-designed-error-pages_ByR6z9Nn.mjs @@ -0,0 +1,364 @@ +import { ai as NOOP_MIDDLEWARE_HEADER, aj as REDIRECT_STATUS_CODES, A as AstroError, ak as ActionsReturnedInvalidDataError, O as DEFAULT_404_COMPONENT } from './astro/server_BRK6phUk.mjs'; +import { parse, stringify } from 'devalue'; +import { escape } from 'html-escaper'; + +const NOOP_MIDDLEWARE_FN = async (_ctx, next) => { + const response = await next(); + response.headers.set(NOOP_MIDDLEWARE_HEADER, "true"); + return response; +}; + +const ACTION_QUERY_PARAMS$1 = { + actionName: "_action"}; +const ACTION_RPC_ROUTE_PATTERN = "/_actions/[...path]"; + +const __vite_import_meta_env__ = {"ASSETS_PREFIX": undefined, "BASE_URL": "/", "DEV": false, "MODE": "production", "PROD": true, "SITE": "https://juchatz.com", "SSR": true}; +const ACTION_QUERY_PARAMS = ACTION_QUERY_PARAMS$1; +const codeToStatusMap = { + // Implemented from IANA HTTP Status Code Registry + // https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml + BAD_REQUEST: 400, + UNAUTHORIZED: 401, + PAYMENT_REQUIRED: 402, + FORBIDDEN: 403, + NOT_FOUND: 404, + METHOD_NOT_ALLOWED: 405, + NOT_ACCEPTABLE: 406, + PROXY_AUTHENTICATION_REQUIRED: 407, + REQUEST_TIMEOUT: 408, + CONFLICT: 409, + GONE: 410, + LENGTH_REQUIRED: 411, + PRECONDITION_FAILED: 412, + CONTENT_TOO_LARGE: 413, + URI_TOO_LONG: 414, + UNSUPPORTED_MEDIA_TYPE: 415, + RANGE_NOT_SATISFIABLE: 416, + EXPECTATION_FAILED: 417, + MISDIRECTED_REQUEST: 421, + UNPROCESSABLE_CONTENT: 422, + LOCKED: 423, + FAILED_DEPENDENCY: 424, + TOO_EARLY: 425, + UPGRADE_REQUIRED: 426, + PRECONDITION_REQUIRED: 428, + TOO_MANY_REQUESTS: 429, + REQUEST_HEADER_FIELDS_TOO_LARGE: 431, + UNAVAILABLE_FOR_LEGAL_REASONS: 451, + INTERNAL_SERVER_ERROR: 500, + NOT_IMPLEMENTED: 501, + BAD_GATEWAY: 502, + SERVICE_UNAVAILABLE: 503, + GATEWAY_TIMEOUT: 504, + HTTP_VERSION_NOT_SUPPORTED: 505, + VARIANT_ALSO_NEGOTIATES: 506, + INSUFFICIENT_STORAGE: 507, + LOOP_DETECTED: 508, + NETWORK_AUTHENTICATION_REQUIRED: 511 +}; +const statusToCodeMap = Object.entries(codeToStatusMap).reduce( + // reverse the key-value pairs + (acc, [key, value]) => ({ ...acc, [value]: key }), + {} +); +class ActionError extends Error { + type = "AstroActionError"; + code = "INTERNAL_SERVER_ERROR"; + status = 500; + constructor(params) { + super(params.message); + this.code = params.code; + this.status = ActionError.codeToStatus(params.code); + if (params.stack) { + this.stack = params.stack; + } + } + static codeToStatus(code) { + return codeToStatusMap[code]; + } + static statusToCode(status) { + return statusToCodeMap[status] ?? "INTERNAL_SERVER_ERROR"; + } + static fromJson(body) { + if (isInputError(body)) { + return new ActionInputError(body.issues); + } + if (isActionError(body)) { + return new ActionError(body); + } + return new ActionError({ + code: "INTERNAL_SERVER_ERROR" + }); + } +} +function isActionError(error) { + return typeof error === "object" && error != null && "type" in error && error.type === "AstroActionError"; +} +function isInputError(error) { + return typeof error === "object" && error != null && "type" in error && error.type === "AstroActionInputError" && "issues" in error && Array.isArray(error.issues); +} +class ActionInputError extends ActionError { + type = "AstroActionInputError"; + // We don't expose all ZodError properties. + // Not all properties will serialize from server to client, + // and we don't want to import the full ZodError object into the client. + issues; + fields; + constructor(issues) { + super({ + message: `Failed to validate: ${JSON.stringify(issues, null, 2)}`, + code: "BAD_REQUEST" + }); + this.issues = issues; + this.fields = {}; + for (const issue of issues) { + if (issue.path.length > 0) { + const key = issue.path[0].toString(); + this.fields[key] ??= []; + this.fields[key]?.push(issue.message); + } + } + } +} +function getActionQueryString(name) { + const searchParams = new URLSearchParams({ [ACTION_QUERY_PARAMS$1.actionName]: name }); + return `?${searchParams.toString()}`; +} +function serializeActionResult(res) { + if (res.error) { + if (Object.assign(__vite_import_meta_env__, { _: process.env._ })?.DEV) { + actionResultErrorStack.set(res.error.stack); + } + let body2; + if (res.error instanceof ActionInputError) { + body2 = { + type: res.error.type, + issues: res.error.issues, + fields: res.error.fields + }; + } else { + body2 = { + ...res.error, + message: res.error.message + }; + } + return { + type: "error", + status: res.error.status, + contentType: "application/json", + body: JSON.stringify(body2) + }; + } + if (res.data === void 0) { + return { + type: "empty", + status: 204 + }; + } + let body; + try { + body = stringify(res.data, { + // Add support for URL objects + URL: (value) => value instanceof URL && value.href + }); + } catch (e) { + let hint = ActionsReturnedInvalidDataError.hint; + if (res.data instanceof Response) { + 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"; + } + throw new AstroError({ + ...ActionsReturnedInvalidDataError, + message: ActionsReturnedInvalidDataError.message(String(e)), + hint + }); + } + return { + type: "data", + status: 200, + contentType: "application/json+devalue", + body + }; +} +function deserializeActionResult(res) { + if (res.type === "error") { + let json; + try { + json = JSON.parse(res.body); + } catch { + return { + data: void 0, + error: new ActionError({ + message: res.body, + code: "INTERNAL_SERVER_ERROR" + }) + }; + } + if (Object.assign(__vite_import_meta_env__, { _: process.env._ })?.PROD) { + return { error: ActionError.fromJson(json), data: void 0 }; + } else { + const error = ActionError.fromJson(json); + error.stack = actionResultErrorStack.get(); + return { + error, + data: void 0 + }; + } + } + if (res.type === "empty") { + return { data: void 0, error: void 0 }; + } + return { + data: parse(res.body, { + URL: (href) => new URL(href) + }), + error: void 0 + }; +} +const actionResultErrorStack = /* @__PURE__ */ (function actionResultErrorStackFn() { + let errorStack; + return { + set(stack) { + errorStack = stack; + }, + get() { + return errorStack; + } + }; +})(); + +function template({ + title, + pathname, + statusCode = 404, + tabTitle, + body +}) { + return ` + + + + ${tabTitle} + + + +
+ +

${statusCode ? `${statusCode}: ` : ""}${title}

+ ${body || ` +
Path: ${escape(pathname)}
+ `} +
+ +`; +} + +const DEFAULT_404_ROUTE = { + component: DEFAULT_404_COMPONENT, + generate: () => "", + params: [], + pattern: /^\/404\/?$/, + prerender: false, + pathname: "/404", + segments: [[{ content: "404", dynamic: false, spread: false }]], + type: "page", + route: "/404", + fallbackRoutes: [], + isIndex: false, + origin: "internal" +}; +function ensure404Route(manifest) { + if (!manifest.routes.some((route) => route.route === "/404")) { + manifest.routes.push(DEFAULT_404_ROUTE); + } + return manifest; +} +async function default404Page({ pathname }) { + return new Response( + template({ + statusCode: 404, + title: "Not found", + tabTitle: "404: Not Found", + pathname + }), + { status: 404, headers: { "Content-Type": "text/html" } } + ); +} +default404Page.isAstroComponentFactory = true; +const default404Instance = { + default: default404Page +}; + +export { ActionError as A, DEFAULT_404_ROUTE as D, NOOP_MIDDLEWARE_FN as N, ACTION_RPC_ROUTE_PATTERN as a, ACTION_QUERY_PARAMS as b, default404Instance as c, deserializeActionResult as d, ensure404Route as e, getActionQueryString as g, serializeActionResult as s }; diff --git a/dist/server/chunks/astro/server_BRK6phUk.mjs b/dist/server/chunks/astro/server_BRK6phUk.mjs new file mode 100644 index 0000000..3f2b90b --- /dev/null +++ b/dist/server/chunks/astro/server_BRK6phUk.mjs @@ -0,0 +1,2761 @@ +import { bold } from 'kleur/colors'; +import { clsx } from 'clsx'; +import { escape } from 'html-escaper'; +import { decodeBase64, encodeBase64, decodeHex, encodeHexUpperCase } from '@oslojs/encoding'; +import { z } from 'zod'; +import 'cssesc'; + +const ASTRO_VERSION = "5.14.6"; +const REROUTE_DIRECTIVE_HEADER = "X-Astro-Reroute"; +const REWRITE_DIRECTIVE_HEADER_KEY = "X-Astro-Rewrite"; +const REWRITE_DIRECTIVE_HEADER_VALUE = "yes"; +const NOOP_MIDDLEWARE_HEADER = "X-Astro-Noop"; +const ROUTE_TYPE_HEADER = "X-Astro-Route-Type"; +const DEFAULT_404_COMPONENT = "astro-default-404.astro"; +const REDIRECT_STATUS_CODES = [301, 302, 303, 307, 308, 300, 304]; +const REROUTABLE_STATUS_CODES = [404, 500]; +const clientAddressSymbol = Symbol.for("astro.clientAddress"); +const originPathnameSymbol = Symbol.for("astro.originPathname"); +const nodeRequestAbortControllerCleanupSymbol = Symbol.for( + "astro.nodeRequestAbortControllerCleanup" +); +const responseSentSymbol = Symbol.for("astro.responseSent"); + +const ClientAddressNotAvailable = { + name: "ClientAddressNotAvailable", + title: "`Astro.clientAddress` is not available in current adapter.", + message: (adapterName) => `\`Astro.clientAddress\` is not available in the \`${adapterName}\` adapter. File an issue with the adapter to add support.` +}; +const PrerenderClientAddressNotAvailable = { + name: "PrerenderClientAddressNotAvailable", + title: "`Astro.clientAddress` cannot be used inside prerendered routes.", + message: (name) => `\`Astro.clientAddress\` cannot be used inside prerendered route ${name}` +}; +const StaticClientAddressNotAvailable = { + name: "StaticClientAddressNotAvailable", + title: "`Astro.clientAddress` is not available in prerendered pages.", + message: "`Astro.clientAddress` is only available on pages that are server-rendered.", + hint: "See https://docs.astro.build/en/guides/on-demand-rendering/ for more information on how to enable SSR." +}; +const NoMatchingStaticPathFound = { + name: "NoMatchingStaticPathFound", + title: "No static path found for requested path.", + message: (pathName) => `A \`getStaticPaths()\` route pattern was matched, but no matching static path was found for requested path \`${pathName}\`.`, + hint: (possibleRoutes) => `Possible dynamic routes being matched: ${possibleRoutes.join(", ")}.` +}; +const OnlyResponseCanBeReturned = { + name: "OnlyResponseCanBeReturned", + title: "Invalid type returned by Astro page.", + 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.`, + hint: "See https://docs.astro.build/en/guides/on-demand-rendering/#response for more information." +}; +const MissingMediaQueryDirective = { + name: "MissingMediaQueryDirective", + title: "Missing value for `client:media` directive.", + message: 'Media query not provided for `client:media` directive. A media query similar to `client:media="(max-width: 600px)"` must be provided' +}; +const NoMatchingRenderer = { + name: "NoMatchingRenderer", + title: "No matching renderer found.", + message: (componentName, componentExtension, plural, validRenderersCount) => `Unable to render \`${componentName}\`. + +${validRenderersCount > 0 ? `There ${plural ? "are" : "is"} ${validRenderersCount} renderer${plural ? "s" : ""} configured in your \`astro.config.mjs\` file, +but ${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.`}`}`, + hint: (probableRenderers) => `Did you mean to enable the ${probableRenderers} integration? + +See https://docs.astro.build/en/guides/framework-components/ for more information on how to install and configure integrations.` +}; +const NoClientOnlyHint = { + name: "NoClientOnlyHint", + title: "Missing hint on client:only directive.", + message: (componentName) => `Unable to render \`${componentName}\`. When using the \`client:only\` hydration strategy, Astro needs a hint to use the correct renderer.`, + 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` +}; +const InvalidGetStaticPathsEntry = { + name: "InvalidGetStaticPathsEntry", + title: "Invalid entry inside getStaticPath's return value", + message: (entryType) => `Invalid entry returned by getStaticPaths. Expected an object, got \`${entryType}\``, + hint: "If you're using a `.map` call, you might be looking for `.flatMap()` instead. See https://docs.astro.build/en/reference/routing-reference/#getstaticpaths for more information on getStaticPaths." +}; +const InvalidGetStaticPathsReturn = { + name: "InvalidGetStaticPathsReturn", + title: "Invalid value returned by getStaticPaths.", + message: (returnType) => `Invalid type returned by \`getStaticPaths\`. Expected an \`array\`, got \`${returnType}\``, + hint: "See https://docs.astro.build/en/reference/routing-reference/#getstaticpaths for more information on getStaticPaths." +}; +const GetStaticPathsExpectedParams = { + name: "GetStaticPathsExpectedParams", + title: "Missing params property on `getStaticPaths` route.", + message: "Missing or empty required `params` property on `getStaticPaths` route.", + hint: "See https://docs.astro.build/en/reference/routing-reference/#getstaticpaths for more information on getStaticPaths." +}; +const GetStaticPathsInvalidRouteParam = { + name: "GetStaticPathsInvalidRouteParam", + title: "Invalid value for `getStaticPaths` route parameter.", + message: (key, value, valueType) => `Invalid getStaticPaths route parameter for \`${key}\`. Expected undefined, a string or a number, received \`${valueType}\` (\`${value}\`)`, + hint: "See https://docs.astro.build/en/reference/routing-reference/#getstaticpaths for more information on getStaticPaths." +}; +const GetStaticPathsRequired = { + name: "GetStaticPathsRequired", + title: "`getStaticPaths()` function required for dynamic routes.", + message: "`getStaticPaths()` function is required for dynamic routes. Make sure that you `export` a `getStaticPaths` function from your dynamic route.", + hint: `See https://docs.astro.build/en/guides/routing/#dynamic-routes for more information on dynamic routes. + + If you meant for this route to be server-rendered, set \`export const prerender = false;\` in the page.` +}; +const ReservedSlotName = { + name: "ReservedSlotName", + title: "Invalid slot name.", + message: (slotName) => `Unable to create a slot named \`${slotName}\`. \`${slotName}\` is a reserved slot name. Please update the name of this slot.` +}; +const NoMatchingImport = { + name: "NoMatchingImport", + title: "No import found for component.", + message: (componentName) => `Could not render \`${componentName}\`. No matching import has been found for \`${componentName}\`.`, + hint: "Please make sure the component is properly imported." +}; +const InvalidComponentArgs = { + name: "InvalidComponentArgs", + title: "Invalid component arguments.", + message: (name) => `Invalid arguments passed to${name ? ` <${name}>` : ""} component.`, + hint: "Astro components cannot be rendered directly via function call, such as `Component()` or `{items.map(Component)}`." +}; +const PageNumberParamNotFound = { + name: "PageNumberParamNotFound", + title: "Page number param not found.", + message: (paramName) => `[paginate()] page number param \`${paramName}\` not found in your filepath.`, + hint: "Rename your file to `[page].astro` or `[...page].astro`." +}; +const ImageMissingAlt = { + name: "ImageMissingAlt", + title: 'Image missing required "alt" property.', + message: 'Image missing "alt" property. "alt" text is required to describe important images on the page.', + hint: 'Use an empty string ("") for decorative images.' +}; +const InvalidImageService = { + name: "InvalidImageService", + title: "Error while loading image service.", + message: "There was an error loading the configured image service. Please see the stack trace for more information." +}; +const MissingImageDimension = { + name: "MissingImageDimension", + title: "Missing image dimensions", + 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.`, + 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." +}; +const FailedToFetchRemoteImageDimensions = { + name: "FailedToFetchRemoteImageDimensions", + title: "Failed to retrieve remote image dimensions", + message: (imageURL) => `Failed to get the dimensions for ${imageURL}.`, + hint: "Verify your remote image URL is accurate, and that you are not using `inferSize` with a file located in your `public/` folder." +}; +const UnsupportedImageFormat = { + name: "UnsupportedImageFormat", + title: "Unsupported image format", + message: (format, imagePath, supportedFormats) => `Received unsupported format \`${format}\` from \`${imagePath}\`. Currently only ${supportedFormats.join( + ", " + )} are supported by our image services.`, + hint: "Using an `img` tag directly instead of the `Image` component might be what you're looking for." +}; +const UnsupportedImageConversion = { + name: "UnsupportedImageConversion", + title: "Unsupported image conversion", + message: "Converting between vector (such as SVGs) and raster (such as PNGs and JPEGs) images is not currently supported." +}; +const PrerenderDynamicEndpointPathCollide = { + name: "PrerenderDynamicEndpointPathCollide", + title: "Prerendered dynamic endpoint has path collision.", + 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.`, + hint: (filename) => `Rename \`${filename}\` to \`${filename.replace(/\.(?:js|ts)/, (m) => `.json` + m)}\`` +}; +const ExpectedImage = { + name: "ExpectedImage", + title: "Expected src to be an image.", + 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}\`). + +Full serialized options received: \`${fullOptions}\`.`, + 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." +}; +const ExpectedImageOptions = { + name: "ExpectedImageOptions", + title: "Expected image options.", + message: (options) => `Expected getImage() parameter to be an object. Received \`${options}\`.` +}; +const ExpectedNotESMImage = { + name: "ExpectedNotESMImage", + title: "Expected image options, not an ESM-imported image.", + message: "An ESM-imported image cannot be passed directly to `getImage()`. Instead, pass an object with the image in the `src` property.", + hint: "Try changing `getImage(myImage)` to `getImage({ src: myImage })`" +}; +const IncompatibleDescriptorOptions = { + name: "IncompatibleDescriptorOptions", + title: "Cannot set both `densities` and `widths`", + 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.", + hint: "Those attributes are used to construct a `srcset` attribute, which cannot have both `x` and `w` descriptors." +}; +const NoImageMetadata = { + name: "NoImageMetadata", + title: "Could not process image metadata.", + message: (imagePath) => `Could not process image metadata${imagePath ? ` for \`${imagePath}\`` : ""}.`, + hint: "This is often caused by a corrupted or malformed image. Re-exporting the image from your image editor may fix this issue." +}; +const ResponseSentError = { + name: "ResponseSentError", + title: "Unable to set response.", + message: "The response has already been sent to the browser and cannot be altered." +}; +const MiddlewareNoDataOrNextCalled = { + name: "MiddlewareNoDataOrNextCalled", + title: "The middleware didn't return a `Response`.", + message: "Make sure your middleware returns a `Response` object, either directly or by returning the `Response` from calling the `next` function." +}; +const MiddlewareNotAResponse = { + name: "MiddlewareNotAResponse", + title: "The middleware returned something that is not a `Response` object.", + message: "Any data returned from middleware must be a valid `Response` object." +}; +const EndpointDidNotReturnAResponse = { + name: "EndpointDidNotReturnAResponse", + title: "The endpoint did not return a `Response`.", + message: "An endpoint must return either a `Response`, or a `Promise` that resolves with a `Response`." +}; +const LocalsNotAnObject = { + name: "LocalsNotAnObject", + title: "Value assigned to `locals` is not accepted.", + message: "`locals` can only be assigned to an object. Other values like numbers, strings, etc. are not accepted.", + hint: "If you tried to remove some information from the `locals` object, try to use `delete` or set the property to `undefined`." +}; +const LocalsReassigned = { + name: "LocalsReassigned", + title: "`locals` must not be reassigned.", + message: "`locals` can not be assigned directly.", + hint: "Set a `locals` property instead." +}; +const AstroResponseHeadersReassigned = { + name: "AstroResponseHeadersReassigned", + title: "`Astro.response.headers` must not be reassigned.", + 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.", + hint: "Consider using `Astro.response.headers.add()`, and `Astro.response.headers.delete()`." +}; +const LocalImageUsedWrongly = { + name: "LocalImageUsedWrongly", + title: "Local images must be imported.", + 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}\`.`, + 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." +}; +const AstroGlobUsedOutside = { + name: "AstroGlobUsedOutside", + title: "Astro.glob() used outside of an Astro file.", + 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.`, + hint: "See Vite's documentation on `import.meta.glob` for more information: https://vite.dev/guide/features.html#glob-import" +}; +const AstroGlobNoMatch = { + name: "AstroGlobNoMatch", + title: "Astro.glob() did not match any files.", + message: (globStr) => `\`Astro.glob(${globStr})\` did not return any matching files.`, + hint: "Check the pattern for typos." +}; +const MissingSharp = { + name: "MissingSharp", + title: "Could not find Sharp.", + message: "Could not find Sharp. Please install Sharp (`sharp`) manually into your project or migrate to another image service.", + 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." +}; +const i18nNoLocaleFoundInPath = { + name: "i18nNoLocaleFoundInPath", + title: "The path doesn't contain any locale", + 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." +}; +const RewriteWithBodyUsed = { + name: "RewriteWithBodyUsed", + title: "Cannot use Astro.rewrite after the request body has been read", + 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." +}; +const ForbiddenRewrite = { + name: "ForbiddenRewrite", + title: "Forbidden rewrite to a static route.", + message: (from, to, component) => `You tried to rewrite the on-demand route '${from}' with the static route '${to}', when using the 'server' output. + +The static route '${to}' is rendered by the component +'${component}', which is marked as prerendered. This is a forbidden operation because during the build the component '${component}' is compiled to an +HTML file, which can't be retrieved at runtime by Astro.`, + hint: (component) => `Add \`export const prerender = false\` to the component '${component}', or use a Astro.redirect().` +}; +const ExperimentalFontsNotEnabled = { + name: "ExperimentalFontsNotEnabled", + title: "Experimental fonts are not enabled", + message: "The Font component is used but experimental fonts have not been registered in the config.", + hint: "Check that you have enabled experimental fonts and also configured your preferred fonts." +}; +const FontFamilyNotFound = { + name: "FontFamilyNotFound", + title: "Font family not found", + message: (family) => `No data was found for the \`"${family}"\` family passed to the \`\` component.`, + hint: "This is often caused by a typo. Check that the `` component or `getFontData()` function are using a `cssVariable` specified in your config." +}; +const CspNotEnabled = { + name: "CspNotEnabled", + title: "CSP feature isn't enabled", + message: "The `experimental.csp` configuration isn't enabled." +}; +const ActionsReturnedInvalidDataError = { + name: "ActionsReturnedInvalidDataError", + title: "Action handler returned invalid data.", + message: (error) => `Action handler returned invalid data. Handlers should return serializable data types like objects, arrays, strings, and numbers. Parse error: ${error}`, + hint: "See the devalue library for all supported types: https://github.com/rich-harris/devalue" +}; +const ActionNotFoundError = { + name: "ActionNotFoundError", + title: "Action not found.", + 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.`, + hint: "You can run `astro check` to detect type errors caused by mismatched action names." +}; +const SessionStorageInitError = { + name: "SessionStorageInitError", + title: "Session storage could not be initialized.", + message: (error, driver) => `Error when initializing session storage${driver ? ` with driver \`${driver}\`` : ""}. \`${error ?? ""}\``, + hint: "For more information, see https://docs.astro.build/en/guides/sessions/" +}; +const SessionStorageSaveError = { + name: "SessionStorageSaveError", + title: "Session data could not be saved.", + message: (error, driver) => `Error when saving session data${driver ? ` with driver \`${driver}\`` : ""}. \`${error ?? ""}\``, + hint: "For more information, see https://docs.astro.build/en/guides/sessions/" +}; + +function normalizeLF(code) { + return code.replace(/\r\n|\r(?!\n)|\n/g, "\n"); +} + +function codeFrame(src, loc) { + if (!loc || loc.line === void 0 || loc.column === void 0) { + return ""; + } + const lines = normalizeLF(src).split("\n").map((ln) => ln.replace(/\t/g, " ")); + const visibleLines = []; + for (let n = -2; n <= 2; n++) { + if (lines[loc.line + n]) visibleLines.push(loc.line + n); + } + let gutterWidth = 0; + for (const lineNo of visibleLines) { + let w = `> ${lineNo}`; + if (w.length > gutterWidth) gutterWidth = w.length; + } + let output = ""; + for (const lineNo of visibleLines) { + const isFocusedLine = lineNo === loc.line - 1; + output += isFocusedLine ? "> " : " "; + output += `${lineNo + 1} | ${lines[lineNo]} +`; + if (isFocusedLine) + output += `${Array.from({ length: gutterWidth }).join(" ")} | ${Array.from({ + length: loc.column + }).join(" ")}^ +`; + } + return output; +} + +class AstroError extends Error { + loc; + title; + hint; + frame; + type = "AstroError"; + constructor(props, options) { + const { name, title, message, stack, location, hint, frame } = props; + super(message, options); + this.title = title; + this.name = name; + if (message) this.message = message; + this.stack = stack ? stack : this.stack; + this.loc = location; + this.hint = hint; + this.frame = frame; + } + setLocation(location) { + this.loc = location; + } + setName(name) { + this.name = name; + } + setMessage(message) { + this.message = message; + } + setHint(hint) { + this.hint = hint; + } + setFrame(source, location) { + this.frame = codeFrame(source, location); + } + static is(err) { + return err.type === "AstroError"; + } +} + +function validateArgs(args) { + if (args.length !== 3) return false; + if (!args[0] || typeof args[0] !== "object") return false; + return true; +} +function baseCreateComponent(cb, moduleId, propagation) { + const name = moduleId?.split("/").pop()?.replace(".astro", "") ?? ""; + const fn = (...args) => { + if (!validateArgs(args)) { + throw new AstroError({ + ...InvalidComponentArgs, + message: InvalidComponentArgs.message(name) + }); + } + return cb(...args); + }; + Object.defineProperty(fn, "name", { value: name, writable: false }); + fn.isAstroComponentFactory = true; + fn.moduleId = moduleId; + fn.propagation = propagation; + return fn; +} +function createComponentWithOptions(opts) { + const cb = baseCreateComponent(opts.factory, opts.moduleId, opts.propagation); + return cb; +} +function createComponent(arg1, moduleId, propagation) { + if (typeof arg1 === "function") { + return baseCreateComponent(arg1, moduleId, propagation); + } else { + return createComponentWithOptions(arg1); + } +} + +function createAstroGlobFn() { + const globHandler = (importMetaGlobResult) => { + console.warn(`Astro.glob is deprecated and will be removed in a future major version of Astro. +Use import.meta.glob instead: https://vitejs.dev/guide/features.html#glob-import`); + if (typeof importMetaGlobResult === "string") { + throw new AstroError({ + ...AstroGlobUsedOutside, + message: AstroGlobUsedOutside.message(JSON.stringify(importMetaGlobResult)) + }); + } + let allEntries = [...Object.values(importMetaGlobResult)]; + if (allEntries.length === 0) { + throw new AstroError({ + ...AstroGlobNoMatch, + message: AstroGlobNoMatch.message(JSON.stringify(importMetaGlobResult)) + }); + } + return Promise.all(allEntries.map((fn) => fn())); + }; + return globHandler; +} +function createAstro(site) { + return { + site: void 0, + generator: `Astro v${ASTRO_VERSION}`, + glob: createAstroGlobFn() + }; +} + +async function renderEndpoint(mod, context, isPrerendered, logger) { + const { request, url } = context; + const method = request.method.toUpperCase(); + let handler = mod[method] ?? mod["ALL"]; + if (!handler && method === "HEAD" && mod["GET"]) { + handler = mod["GET"]; + } + if (isPrerendered && !["GET", "HEAD"].includes(method)) { + logger.warn( + "router", + `${url.pathname} ${bold( + method + )} requests are not available in static endpoints. Mark this page as server-rendered (\`export const prerender = false;\`) or update your config to \`output: 'server'\` to make all your pages server-rendered by default.` + ); + } + if (handler === void 0) { + logger.warn( + "router", + `No API Route handler exists for the method "${method}" for the route "${url.pathname}". +Found handlers: ${Object.keys(mod).map((exp) => JSON.stringify(exp)).join(", ")} +` + ("all" in mod ? `One of the exported handlers is "all" (lowercase), did you mean to export 'ALL'? +` : "") + ); + return new Response(null, { status: 404 }); + } + if (typeof handler !== "function") { + logger.error( + "router", + `The route "${url.pathname}" exports a value for the method "${method}", but it is of the type ${typeof handler} instead of a function.` + ); + return new Response(null, { status: 500 }); + } + let response = await handler.call(mod, context); + if (!response || response instanceof Response === false) { + throw new AstroError(EndpointDidNotReturnAResponse); + } + if (REROUTABLE_STATUS_CODES.includes(response.status)) { + try { + response.headers.set(REROUTE_DIRECTIVE_HEADER, "no"); + } catch (err) { + if (err.message?.includes("immutable")) { + response = new Response(response.body, response); + response.headers.set(REROUTE_DIRECTIVE_HEADER, "no"); + } else { + throw err; + } + } + } + if (method === "HEAD") { + return new Response(null, response); + } + return response; +} + +function isPromise(value) { + return !!value && typeof value === "object" && "then" in value && typeof value.then === "function"; +} +async function* streamAsyncIterator(stream) { + const reader = stream.getReader(); + try { + while (true) { + const { done, value } = await reader.read(); + if (done) return; + yield value; + } + } finally { + reader.releaseLock(); + } +} + +const escapeHTML = escape; +class HTMLBytes extends Uint8Array { +} +Object.defineProperty(HTMLBytes.prototype, Symbol.toStringTag, { + get() { + return "HTMLBytes"; + } +}); +class HTMLString extends String { + get [Symbol.toStringTag]() { + return "HTMLString"; + } +} +const markHTMLString = (value) => { + if (value instanceof HTMLString) { + return value; + } + if (typeof value === "string") { + return new HTMLString(value); + } + return value; +}; +function isHTMLString(value) { + return Object.prototype.toString.call(value) === "[object HTMLString]"; +} +function markHTMLBytes(bytes) { + return new HTMLBytes(bytes); +} +function hasGetReader(obj) { + return typeof obj.getReader === "function"; +} +async function* unescapeChunksAsync(iterable) { + if (hasGetReader(iterable)) { + for await (const chunk of streamAsyncIterator(iterable)) { + yield unescapeHTML(chunk); + } + } else { + for await (const chunk of iterable) { + yield unescapeHTML(chunk); + } + } +} +function* unescapeChunks(iterable) { + for (const chunk of iterable) { + yield unescapeHTML(chunk); + } +} +function unescapeHTML(str) { + if (!!str && typeof str === "object") { + if (str instanceof Uint8Array) { + return markHTMLBytes(str); + } else if (str instanceof Response && str.body) { + const body = str.body; + return unescapeChunksAsync(body); + } else if (typeof str.then === "function") { + return Promise.resolve(str).then((value) => { + return unescapeHTML(value); + }); + } else if (str[Symbol.for("astro:slot-string")]) { + return str; + } else if (Symbol.iterator in str) { + return unescapeChunks(str); + } else if (Symbol.asyncIterator in str || hasGetReader(str)) { + return unescapeChunksAsync(str); + } + } + return markHTMLString(str); +} + +const AstroJSX = "astro:jsx"; +function isVNode(vnode) { + return vnode && typeof vnode === "object" && vnode[AstroJSX]; +} + +function isAstroComponentFactory(obj) { + return obj == null ? false : obj.isAstroComponentFactory === true; +} +function isAPropagatingComponent(result, factory) { + const hint = getPropagationHint(result, factory); + return hint === "in-tree" || hint === "self"; +} +function getPropagationHint(result, factory) { + let hint = factory.propagation || "none"; + if (factory.moduleId && result.componentMetadata.has(factory.moduleId) && hint === "none") { + hint = result.componentMetadata.get(factory.moduleId).propagation; + } + return hint; +} + +const PROP_TYPE = { + Value: 0, + JSON: 1, + // Actually means Array + RegExp: 2, + Date: 3, + Map: 4, + Set: 5, + BigInt: 6, + URL: 7, + Uint8Array: 8, + Uint16Array: 9, + Uint32Array: 10, + Infinity: 11 +}; +function serializeArray(value, metadata = {}, parents = /* @__PURE__ */ new WeakSet()) { + if (parents.has(value)) { + throw new Error(`Cyclic reference detected while serializing props for <${metadata.displayName} client:${metadata.hydrate}>! + +Cyclic references cannot be safely serialized for client-side usage. Please remove the cyclic reference.`); + } + parents.add(value); + const serialized = value.map((v) => { + return convertToSerializedForm(v, metadata, parents); + }); + parents.delete(value); + return serialized; +} +function serializeObject(value, metadata = {}, parents = /* @__PURE__ */ new WeakSet()) { + if (parents.has(value)) { + throw new Error(`Cyclic reference detected while serializing props for <${metadata.displayName} client:${metadata.hydrate}>! + +Cyclic references cannot be safely serialized for client-side usage. Please remove the cyclic reference.`); + } + parents.add(value); + const serialized = Object.fromEntries( + Object.entries(value).map(([k, v]) => { + return [k, convertToSerializedForm(v, metadata, parents)]; + }) + ); + parents.delete(value); + return serialized; +} +function convertToSerializedForm(value, metadata = {}, parents = /* @__PURE__ */ new WeakSet()) { + const tag = Object.prototype.toString.call(value); + switch (tag) { + case "[object Date]": { + return [PROP_TYPE.Date, value.toISOString()]; + } + case "[object RegExp]": { + return [PROP_TYPE.RegExp, value.source]; + } + case "[object Map]": { + return [PROP_TYPE.Map, serializeArray(Array.from(value), metadata, parents)]; + } + case "[object Set]": { + return [PROP_TYPE.Set, serializeArray(Array.from(value), metadata, parents)]; + } + case "[object BigInt]": { + return [PROP_TYPE.BigInt, value.toString()]; + } + case "[object URL]": { + return [PROP_TYPE.URL, value.toString()]; + } + case "[object Array]": { + return [PROP_TYPE.JSON, serializeArray(value, metadata, parents)]; + } + case "[object Uint8Array]": { + return [PROP_TYPE.Uint8Array, Array.from(value)]; + } + case "[object Uint16Array]": { + return [PROP_TYPE.Uint16Array, Array.from(value)]; + } + case "[object Uint32Array]": { + return [PROP_TYPE.Uint32Array, Array.from(value)]; + } + default: { + if (value !== null && typeof value === "object") { + return [PROP_TYPE.Value, serializeObject(value, metadata, parents)]; + } + if (value === Infinity) { + return [PROP_TYPE.Infinity, 1]; + } + if (value === -Infinity) { + return [PROP_TYPE.Infinity, -1]; + } + if (value === void 0) { + return [PROP_TYPE.Value]; + } + return [PROP_TYPE.Value, value]; + } + } +} +function serializeProps(props, metadata) { + const serialized = JSON.stringify(serializeObject(props, metadata)); + return serialized; +} + +const transitionDirectivesToCopyOnIsland = Object.freeze([ + "data-astro-transition-scope", + "data-astro-transition-persist", + "data-astro-transition-persist-props" +]); +function extractDirectives(inputProps, clientDirectives) { + let extracted = { + isPage: false, + hydration: null, + props: {}, + propsWithoutTransitionAttributes: {} + }; + for (const [key, value] of Object.entries(inputProps)) { + if (key.startsWith("server:")) { + if (key === "server:root") { + extracted.isPage = true; + } + } + if (key.startsWith("client:")) { + if (!extracted.hydration) { + extracted.hydration = { + directive: "", + value: "", + componentUrl: "", + componentExport: { value: "" } + }; + } + switch (key) { + case "client:component-path": { + extracted.hydration.componentUrl = value; + break; + } + case "client:component-export": { + extracted.hydration.componentExport.value = value; + break; + } + // This is a special prop added to prove that the client hydration method + // was added statically. + case "client:component-hydration": { + break; + } + case "client:display-name": { + break; + } + default: { + extracted.hydration.directive = key.split(":")[1]; + extracted.hydration.value = value; + if (!clientDirectives.has(extracted.hydration.directive)) { + const hydrationMethods = Array.from(clientDirectives.keys()).map((d) => `client:${d}`).join(", "); + throw new Error( + `Error: invalid hydration directive "${key}". Supported hydration methods: ${hydrationMethods}` + ); + } + if (extracted.hydration.directive === "media" && typeof extracted.hydration.value !== "string") { + throw new AstroError(MissingMediaQueryDirective); + } + break; + } + } + } else { + extracted.props[key] = value; + if (!transitionDirectivesToCopyOnIsland.includes(key)) { + extracted.propsWithoutTransitionAttributes[key] = value; + } + } + } + for (const sym of Object.getOwnPropertySymbols(inputProps)) { + extracted.props[sym] = inputProps[sym]; + extracted.propsWithoutTransitionAttributes[sym] = inputProps[sym]; + } + return extracted; +} +async function generateHydrateScript(scriptOptions, metadata) { + const { renderer, result, astroId, props, attrs } = scriptOptions; + const { hydrate, componentUrl, componentExport } = metadata; + if (!componentExport.value) { + throw new AstroError({ + ...NoMatchingImport, + message: NoMatchingImport.message(metadata.displayName) + }); + } + const island = { + children: "", + props: { + // This is for HMR, probably can avoid it in prod + uid: astroId + } + }; + if (attrs) { + for (const [key, value] of Object.entries(attrs)) { + island.props[key] = escapeHTML(value); + } + } + island.props["component-url"] = await result.resolve(decodeURI(componentUrl)); + if (renderer.clientEntrypoint) { + island.props["component-export"] = componentExport.value; + island.props["renderer-url"] = await result.resolve( + decodeURI(renderer.clientEntrypoint.toString()) + ); + island.props["props"] = escapeHTML(serializeProps(props, metadata)); + } + island.props["ssr"] = ""; + island.props["client"] = hydrate; + let beforeHydrationUrl = await result.resolve("astro:scripts/before-hydration.js"); + if (beforeHydrationUrl.length) { + island.props["before-hydration-url"] = beforeHydrationUrl; + } + island.props["opts"] = escapeHTML( + JSON.stringify({ + name: metadata.displayName, + value: metadata.hydrateArgs || "" + }) + ); + transitionDirectivesToCopyOnIsland.forEach((name) => { + if (typeof props[name] !== "undefined") { + island.props[name] = props[name]; + } + }); + return island; +} + +/** + * shortdash - https://github.com/bibig/node-shorthash + * + * @license + * + * (The MIT License) + * + * Copyright (c) 2013 Bibig + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ +const dictionary = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXY"; +const binary = dictionary.length; +function bitwise(str) { + let hash = 0; + if (str.length === 0) return hash; + for (let i = 0; i < str.length; i++) { + const ch = str.charCodeAt(i); + hash = (hash << 5) - hash + ch; + hash = hash & hash; + } + return hash; +} +function shorthash(text) { + let num; + let result = ""; + let integer = bitwise(text); + const sign = integer < 0 ? "Z" : ""; + integer = Math.abs(integer); + while (integer >= binary) { + num = integer % binary; + integer = Math.floor(integer / binary); + result = dictionary[num] + result; + } + if (integer > 0) { + result = dictionary[integer] + result; + } + return sign + result; +} + +const headAndContentSym = Symbol.for("astro.headAndContent"); +function isHeadAndContent(obj) { + return typeof obj === "object" && obj !== null && !!obj[headAndContentSym]; +} +function createThinHead() { + return { + [headAndContentSym]: true + }; +} + +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)}})();`; + +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)}})();`; + +const ISLAND_STYLES = "astro-island,astro-slot,astro-static-slot{display:contents}"; + +function determineIfNeedsHydrationScript(result) { + if (result._metadata.hasHydrationScript) { + return false; + } + return result._metadata.hasHydrationScript = true; +} +function determinesIfNeedsDirectiveScript(result, directive) { + if (result._metadata.hasDirectives.has(directive)) { + return false; + } + result._metadata.hasDirectives.add(directive); + return true; +} +function getDirectiveScriptText(result, directive) { + const clientDirectives = result.clientDirectives; + const clientDirective = clientDirectives.get(directive); + if (!clientDirective) { + throw new Error(`Unknown directive: ${directive}`); + } + return clientDirective; +} +function getPrescripts(result, type, directive) { + switch (type) { + case "both": + return ``; + case "directive": + return ``; + } +} + +function renderCspContent(result) { + const finalScriptHashes = /* @__PURE__ */ new Set(); + const finalStyleHashes = /* @__PURE__ */ new Set(); + for (const scriptHash of result.scriptHashes) { + finalScriptHashes.add(`'${scriptHash}'`); + } + for (const styleHash of result.styleHashes) { + finalStyleHashes.add(`'${styleHash}'`); + } + for (const styleHash of result._metadata.extraStyleHashes) { + finalStyleHashes.add(`'${styleHash}'`); + } + for (const scriptHash of result._metadata.extraScriptHashes) { + finalScriptHashes.add(`'${scriptHash}'`); + } + let directives; + if (result.directives.length > 0) { + directives = result.directives.join(";") + ";"; + } + let scriptResources = "'self'"; + if (result.scriptResources.length > 0) { + scriptResources = result.scriptResources.map((r) => `${r}`).join(" "); + } + let styleResources = "'self'"; + if (result.styleResources.length > 0) { + styleResources = result.styleResources.map((r) => `${r}`).join(" "); + } + const strictDynamic = result.isStrictDynamic ? ` 'strict-dynamic'` : ""; + const scriptSrc = `script-src ${scriptResources} ${Array.from(finalScriptHashes).join(" ")}${strictDynamic};`; + const styleSrc = `style-src ${styleResources} ${Array.from(finalStyleHashes).join(" ")};`; + return [directives, scriptSrc, styleSrc].filter(Boolean).join(" "); +} + +const RenderInstructionSymbol = Symbol.for("astro:render"); +function createRenderInstruction(instruction) { + return Object.defineProperty(instruction, RenderInstructionSymbol, { + value: true + }); +} +function isRenderInstruction(chunk) { + return chunk && typeof chunk === "object" && chunk[RenderInstructionSymbol]; +} + +const voidElementNames = /^(area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/i; +const htmlBooleanAttributes = /^(?:allowfullscreen|async|autofocus|autoplay|checked|controls|default|defer|disabled|disablepictureinpicture|disableremoteplayback|formnovalidate|hidden|inert|loop|muted|nomodule|novalidate|open|playsinline|readonly|required|reversed|scoped|seamless|selected|itemscope)$/i; +const AMPERSAND_REGEX = /&/g; +const DOUBLE_QUOTE_REGEX = /"/g; +const STATIC_DIRECTIVES = /* @__PURE__ */ new Set(["set:html", "set:text"]); +const toIdent = (k) => k.trim().replace(/(?!^)\b\w|\s+|\W+/g, (match, index) => { + if (/\W/.test(match)) return ""; + return index === 0 ? match : match.toUpperCase(); +}); +const toAttributeString = (value, shouldEscape = true) => shouldEscape ? String(value).replace(AMPERSAND_REGEX, "&").replace(DOUBLE_QUOTE_REGEX, """) : value; +const kebab = (k) => k.toLowerCase() === k ? k : k.replace(/[A-Z]/g, (match) => `-${match.toLowerCase()}`); +const toStyleString = (obj) => Object.entries(obj).filter(([_, v]) => typeof v === "string" && v.trim() || typeof v === "number").map(([k, v]) => { + if (k[0] !== "-" && k[1] !== "-") return `${kebab(k)}:${v}`; + return `${k}:${v}`; +}).join(";"); +function defineScriptVars(vars) { + let output = ""; + for (const [key, value] of Object.entries(vars)) { + output += `const ${toIdent(key)} = ${JSON.stringify(value)?.replace( + /<\/script>/g, + "\\x3C/script>" + )}; +`; + } + return markHTMLString(output); +} +function formatList(values) { + if (values.length === 1) { + return values[0]; + } + return `${values.slice(0, -1).join(", ")} or ${values[values.length - 1]}`; +} +function isCustomElement(tagName) { + return tagName.includes("-"); +} +function handleBooleanAttribute(key, value, shouldEscape, tagName) { + if (tagName && isCustomElement(tagName)) { + return markHTMLString(` ${key}="${toAttributeString(value, shouldEscape)}"`); + } + return markHTMLString(value ? ` ${key}` : ""); +} +function addAttribute(value, key, shouldEscape = true, tagName = "") { + if (value == null) { + return ""; + } + if (STATIC_DIRECTIVES.has(key)) { + console.warn(`[astro] The "${key}" directive cannot be applied dynamically at runtime. It will not be rendered as an attribute. + +Make sure to use the static attribute syntax (\`${key}={value}\`) instead of the dynamic spread syntax (\`{...{ "${key}": value }}\`).`); + return ""; + } + if (key === "class:list") { + const listValue = toAttributeString(clsx(value), shouldEscape); + if (listValue === "") { + return ""; + } + return markHTMLString(` ${key.slice(0, -5)}="${listValue}"`); + } + if (key === "style" && !(value instanceof HTMLString)) { + if (Array.isArray(value) && value.length === 2) { + return markHTMLString( + ` ${key}="${toAttributeString(`${toStyleString(value[0])};${value[1]}`, shouldEscape)}"` + ); + } + if (typeof value === "object") { + return markHTMLString(` ${key}="${toAttributeString(toStyleString(value), shouldEscape)}"`); + } + } + if (key === "className") { + return markHTMLString(` class="${toAttributeString(value, shouldEscape)}"`); + } + if (typeof value === "string" && value.includes("&") && isHttpUrl(value)) { + return markHTMLString(` ${key}="${toAttributeString(value, false)}"`); + } + if (htmlBooleanAttributes.test(key)) { + return handleBooleanAttribute(key, value, shouldEscape, tagName); + } + if (value === "") { + return markHTMLString(` ${key}`); + } + if (key === "popover" && typeof value === "boolean") { + return handleBooleanAttribute(key, value, shouldEscape, tagName); + } + if (key === "download" && typeof value === "boolean") { + return handleBooleanAttribute(key, value, shouldEscape, tagName); + } + return markHTMLString(` ${key}="${toAttributeString(value, shouldEscape)}"`); +} +function internalSpreadAttributes(values, shouldEscape = true, tagName) { + let output = ""; + for (const [key, value] of Object.entries(values)) { + output += addAttribute(value, key, shouldEscape, tagName); + } + return markHTMLString(output); +} +function renderElement$1(name, { props: _props, children = "" }, shouldEscape = true) { + const { lang: _, "data-astro-id": astroId, "define:vars": defineVars, ...props } = _props; + if (defineVars) { + if (name === "style") { + delete props["is:global"]; + delete props["is:scoped"]; + } + if (name === "script") { + delete props.hoist; + children = defineScriptVars(defineVars) + "\n" + children; + } + } + if ((children == null || children == "") && voidElementNames.test(name)) { + return `<${name}${internalSpreadAttributes(props, shouldEscape, name)}>`; + } + return `<${name}${internalSpreadAttributes(props, shouldEscape, name)}>${children}`; +} +const noop = () => { +}; +class BufferedRenderer { + chunks = []; + renderPromise; + destination; + /** + * Determines whether buffer has been flushed + * to the final destination. + */ + flushed = false; + constructor(destination, renderFunction) { + this.destination = destination; + this.renderPromise = renderFunction(this); + if (isPromise(this.renderPromise)) { + Promise.resolve(this.renderPromise).catch(noop); + } + } + write(chunk) { + if (this.flushed) { + this.destination.write(chunk); + } else { + this.chunks.push(chunk); + } + } + flush() { + if (this.flushed) { + throw new Error("The render buffer has already been flushed."); + } + this.flushed = true; + for (const chunk of this.chunks) { + this.destination.write(chunk); + } + return this.renderPromise; + } +} +function createBufferedRenderer(destination, renderFunction) { + return new BufferedRenderer(destination, renderFunction); +} +const isNode = typeof process !== "undefined" && Object.prototype.toString.call(process) === "[object process]"; +const isDeno = typeof Deno !== "undefined"; +function promiseWithResolvers() { + let resolve, reject; + const promise = new Promise((_resolve, _reject) => { + resolve = _resolve; + reject = _reject; + }); + return { + promise, + resolve, + reject + }; +} +const VALID_PROTOCOLS = ["http:", "https:"]; +function isHttpUrl(url) { + try { + const parsedUrl = new URL(url); + return VALID_PROTOCOLS.includes(parsedUrl.protocol); + } catch { + return false; + } +} + +const uniqueElements = (item, index, all) => { + const props = JSON.stringify(item.props); + const children = item.children; + return index === all.findIndex((i) => JSON.stringify(i.props) === props && i.children == children); +}; +function renderAllHeadContent(result) { + result._metadata.hasRenderedHead = true; + let content = ""; + if (result.shouldInjectCspMetaTags && result.cspDestination === "meta") { + content += renderElement$1( + "meta", + { + props: { + "http-equiv": "content-security-policy", + content: renderCspContent(result) + }, + children: "" + }, + false + ); + } + const styles = Array.from(result.styles).filter(uniqueElements).map( + (style) => style.props.rel === "stylesheet" ? renderElement$1("link", style) : renderElement$1("style", style) + ); + result.styles.clear(); + const scripts = Array.from(result.scripts).filter(uniqueElements).map((script) => { + if (result.userAssetsBase) { + script.props.src = (result.base === "/" ? "" : result.base) + result.userAssetsBase + script.props.src; + } + return renderElement$1("script", script, false); + }); + const links = Array.from(result.links).filter(uniqueElements).map((link) => renderElement$1("link", link, false)); + content += styles.join("\n") + links.join("\n") + scripts.join("\n"); + if (result._metadata.extraHead.length > 0) { + for (const part of result._metadata.extraHead) { + content += part; + } + } + return markHTMLString(content); +} +function renderHead() { + return createRenderInstruction({ type: "head" }); +} +function maybeRenderHead() { + return createRenderInstruction({ type: "maybe-head" }); +} + +const ALGORITHMS = { + "SHA-256": "sha256-", + "SHA-384": "sha384-", + "SHA-512": "sha512-" +}; +const ALGORITHM_VALUES = Object.values(ALGORITHMS); +z.enum(Object.keys(ALGORITHMS)).optional().default("SHA-256"); +z.custom((value) => { + if (typeof value !== "string") { + return false; + } + return ALGORITHM_VALUES.some((allowedValue) => { + return value.startsWith(allowedValue); + }); +}); +const ALLOWED_DIRECTIVES = [ + "base-uri", + "child-src", + "connect-src", + "default-src", + "fenced-frame-src", + "font-src", + "form-action", + "frame-ancestors", + "frame-src", + "img-src", + "manifest-src", + "media-src", + "object-src", + "referrer", + "report-to", + "report-uri", + "require-trusted-types-for", + "sandbox", + "trusted-types", + "upgrade-insecure-requests", + "worker-src" +]; +z.custom((value) => { + if (typeof value !== "string") { + return false; + } + return ALLOWED_DIRECTIVES.some((allowedValue) => { + return value.startsWith(allowedValue); + }); +}); + +const ALGORITHM = "AES-GCM"; +async function decodeKey(encoded) { + const bytes = decodeBase64(encoded); + return crypto.subtle.importKey("raw", bytes.buffer, ALGORITHM, true, [ + "encrypt", + "decrypt" + ]); +} +const encoder$1 = new TextEncoder(); +const decoder$1 = new TextDecoder(); +const IV_LENGTH = 24; +async function encryptString(key, raw) { + const iv = crypto.getRandomValues(new Uint8Array(IV_LENGTH / 2)); + const data = encoder$1.encode(raw); + const buffer = await crypto.subtle.encrypt( + { + name: ALGORITHM, + iv + }, + key, + data + ); + return encodeHexUpperCase(iv) + encodeBase64(new Uint8Array(buffer)); +} +async function decryptString(key, encoded) { + const iv = decodeHex(encoded.slice(0, IV_LENGTH)); + const dataArray = decodeBase64(encoded.slice(IV_LENGTH)); + const decryptedBuffer = await crypto.subtle.decrypt( + { + name: ALGORITHM, + iv + }, + key, + dataArray + ); + const decryptedString = decoder$1.decode(decryptedBuffer); + return decryptedString; +} +async function generateCspDigest(data, algorithm) { + const hashBuffer = await crypto.subtle.digest(algorithm, encoder$1.encode(data)); + const hash = encodeBase64(new Uint8Array(hashBuffer)); + return `${ALGORITHMS[algorithm]}${hash}`; +} + +const renderTemplateResultSym = Symbol.for("astro.renderTemplateResult"); +class RenderTemplateResult { + [renderTemplateResultSym] = true; + htmlParts; + expressions; + error; + constructor(htmlParts, expressions) { + this.htmlParts = htmlParts; + this.error = void 0; + this.expressions = expressions.map((expression) => { + if (isPromise(expression)) { + return Promise.resolve(expression).catch((err) => { + if (!this.error) { + this.error = err; + throw err; + } + }); + } + return expression; + }); + } + render(destination) { + const flushers = this.expressions.map((exp) => { + return createBufferedRenderer(destination, (bufferDestination) => { + if (exp || exp === 0) { + return renderChild(bufferDestination, exp); + } + }); + }); + let i = 0; + const iterate = () => { + while (i < this.htmlParts.length) { + const html = this.htmlParts[i]; + const flusher = flushers[i]; + i++; + if (html) { + destination.write(markHTMLString(html)); + } + if (flusher) { + const result = flusher.flush(); + if (isPromise(result)) { + return result.then(iterate); + } + } + } + }; + return iterate(); + } +} +function isRenderTemplateResult(obj) { + return typeof obj === "object" && obj !== null && !!obj[renderTemplateResultSym]; +} +function renderTemplate(htmlParts, ...expressions) { + return new RenderTemplateResult(htmlParts, expressions); +} + +const slotString = Symbol.for("astro:slot-string"); +class SlotString extends HTMLString { + instructions; + [slotString]; + constructor(content, instructions) { + super(content); + this.instructions = instructions; + this[slotString] = true; + } +} +function isSlotString(str) { + return !!str[slotString]; +} +function renderSlot(result, slotted, fallback) { + return { + async render(destination) { + await renderChild(destination, typeof slotted === "function" ? slotted(result) : slotted); + } + }; +} +async function renderSlotToString(result, slotted, fallback) { + let content = ""; + let instructions = null; + const temporaryDestination = { + write(chunk) { + if (chunk instanceof SlotString) { + content += chunk; + if (chunk.instructions) { + instructions ??= []; + instructions.push(...chunk.instructions); + } + } else if (chunk instanceof Response) return; + else if (typeof chunk === "object" && "type" in chunk && typeof chunk.type === "string") { + if (instructions === null) { + instructions = []; + } + instructions.push(chunk); + } else { + content += chunkToString(result, chunk); + } + } + }; + const renderInstance = renderSlot(result, slotted); + await renderInstance.render(temporaryDestination); + return markHTMLString(new SlotString(content, instructions)); +} +async function renderSlots(result, slots = {}) { + let slotInstructions = null; + let children = {}; + if (slots) { + await Promise.all( + Object.entries(slots).map( + ([key, value]) => renderSlotToString(result, value).then((output) => { + if (output.instructions) { + if (slotInstructions === null) { + slotInstructions = []; + } + slotInstructions.push(...output.instructions); + } + children[key] = output; + }) + ) + ); + } + return { slotInstructions, children }; +} +function createSlotValueFromString(content) { + return function() { + return renderTemplate`${unescapeHTML(content)}`; + }; +} + +const internalProps = /* @__PURE__ */ new Set([ + "server:component-path", + "server:component-export", + "server:component-directive", + "server:defer" +]); +function containsServerDirective(props) { + return "server:component-directive" in props; +} +const SCRIPT_RE = /<\/script/giu; +const COMMENT_RE = /"); + for (const name in this.slots) { + if (name === "fallback") { + await renderChild(destination, this.slots.fallback(this.result)); + } + } + destination.write( + `` + ); + } + getComponentPath() { + if (this.componentPath) { + return this.componentPath; + } + const componentPath = this.props["server:component-path"]; + if (!componentPath) { + throw new Error(`Could not find server component path`); + } + this.componentPath = componentPath; + return componentPath; + } + getComponentExport() { + if (this.componentExport) { + return this.componentExport; + } + const componentExport = this.props["server:component-export"]; + if (!componentExport) { + throw new Error(`Could not find server component export`); + } + this.componentExport = componentExport; + return componentExport; + } + async getHostId() { + if (!this.hostId) { + this.hostId = await crypto.randomUUID(); + } + return this.hostId; + } + async getIslandContent() { + if (this.islandContent) { + return this.islandContent; + } + const componentPath = this.getComponentPath(); + const componentExport = this.getComponentExport(); + const componentId = this.result.serverIslandNameMap.get(componentPath); + if (!componentId) { + throw new Error(`Could not find server component name`); + } + for (const key2 of Object.keys(this.props)) { + if (internalProps.has(key2)) { + delete this.props[key2]; + } + } + const renderedSlots = {}; + for (const name in this.slots) { + if (name !== "fallback") { + const content = await renderSlotToString(this.result, this.slots[name]); + renderedSlots[name] = content.toString(); + } + } + const key = await this.result.key; + const propsEncrypted = Object.keys(this.props).length === 0 ? "" : await encryptString(key, JSON.stringify(this.props)); + const hostId = await this.getHostId(); + const slash = this.result.base.endsWith("/") ? "" : "/"; + let serverIslandUrl = `${this.result.base}${slash}_server-islands/${componentId}${this.result.trailingSlash === "always" ? "/" : ""}`; + const potentialSearchParams = createSearchParams( + componentExport, + propsEncrypted, + safeJsonStringify(renderedSlots) + ); + const useGETRequest = isWithinURLLimit(serverIslandUrl, potentialSearchParams); + if (useGETRequest) { + serverIslandUrl += "?" + potentialSearchParams.toString(); + this.result._metadata.extraHead.push( + markHTMLString( + `` + ) + ); + } + const method = useGETRequest ? ( + // GET request + `let response = await fetch('${serverIslandUrl}');` + ) : ( + // POST request + `let data = { + componentExport: ${safeJsonStringify(componentExport)}, + encryptedProps: ${safeJsonStringify(propsEncrypted)}, + slots: ${safeJsonStringify(renderedSlots)}, +}; +let response = await fetch('${serverIslandUrl}', { + method: 'POST', + body: JSON.stringify(data), +});` + ); + this.islandContent = `${method}replaceServerIsland('${hostId}', response);`; + return this.islandContent; + } +} +const renderServerIslandRuntime = () => { + return ``; +}; +const SERVER_ISLAND_REPLACER = markHTMLString( + `async function replaceServerIsland(id, r) { + let s = document.querySelector(\`script[data-island-id="\${id}"]\`); + // If there's no matching script, or the request fails then return + if (!s || r.status !== 200 || r.headers.get('content-type')?.split(';')[0].trim() !== 'text/html') return; + // Load the HTML before modifying the DOM in case of errors + let html = await r.text(); + // Remove any placeholder content before the island script + while (s.previousSibling && s.previousSibling.nodeType !== 8 && s.previousSibling.data !== '[if astro]>server-island-start line.trim()).filter((line) => line && !line.startsWith("//")).join(" ") +); + +const Fragment = Symbol.for("astro:fragment"); +const Renderer = Symbol.for("astro:renderer"); +const encoder = new TextEncoder(); +const decoder = new TextDecoder(); +function stringifyChunk(result, chunk) { + if (isRenderInstruction(chunk)) { + const instruction = chunk; + switch (instruction.type) { + case "directive": { + const { hydration } = instruction; + let needsHydrationScript = hydration && determineIfNeedsHydrationScript(result); + let needsDirectiveScript = hydration && determinesIfNeedsDirectiveScript(result, hydration.directive); + if (needsHydrationScript) { + let prescripts = getPrescripts(result, "both", hydration.directive); + return markHTMLString(prescripts); + } else if (needsDirectiveScript) { + let prescripts = getPrescripts(result, "directive", hydration.directive); + return markHTMLString(prescripts); + } else { + return ""; + } + } + case "head": { + if (result._metadata.hasRenderedHead || result.partial) { + return ""; + } + return renderAllHeadContent(result); + } + case "maybe-head": { + if (result._metadata.hasRenderedHead || result._metadata.headInTree || result.partial) { + return ""; + } + return renderAllHeadContent(result); + } + case "renderer-hydration-script": { + const { rendererSpecificHydrationScripts } = result._metadata; + const { rendererName } = instruction; + if (!rendererSpecificHydrationScripts.has(rendererName)) { + rendererSpecificHydrationScripts.add(rendererName); + return instruction.render(); + } + return ""; + } + case "server-island-runtime": { + if (result._metadata.hasRenderedServerIslandRuntime) { + return ""; + } + result._metadata.hasRenderedServerIslandRuntime = true; + return renderServerIslandRuntime(); + } + default: { + throw new Error(`Unknown chunk type: ${chunk.type}`); + } + } + } else if (chunk instanceof Response) { + return ""; + } else if (isSlotString(chunk)) { + let out = ""; + const c = chunk; + if (c.instructions) { + for (const instr of c.instructions) { + out += stringifyChunk(result, instr); + } + } + out += chunk.toString(); + return out; + } + return chunk.toString(); +} +function chunkToString(result, chunk) { + if (ArrayBuffer.isView(chunk)) { + return decoder.decode(chunk); + } else { + return stringifyChunk(result, chunk); + } +} +function chunkToByteArray(result, chunk) { + if (ArrayBuffer.isView(chunk)) { + return chunk; + } else { + const stringified = stringifyChunk(result, chunk); + return encoder.encode(stringified.toString()); + } +} +function isRenderInstance(obj) { + return !!obj && typeof obj === "object" && "render" in obj && typeof obj.render === "function"; +} + +function renderChild(destination, child) { + if (isPromise(child)) { + return child.then((x) => renderChild(destination, x)); + } + if (child instanceof SlotString) { + destination.write(child); + return; + } + if (isHTMLString(child)) { + destination.write(child); + return; + } + if (Array.isArray(child)) { + return renderArray(destination, child); + } + if (typeof child === "function") { + return renderChild(destination, child()); + } + if (!child && child !== 0) { + return; + } + if (typeof child === "string") { + destination.write(markHTMLString(escapeHTML(child))); + return; + } + if (isRenderInstance(child)) { + return child.render(destination); + } + if (isRenderTemplateResult(child)) { + return child.render(destination); + } + if (isAstroComponentInstance(child)) { + return child.render(destination); + } + if (ArrayBuffer.isView(child)) { + destination.write(child); + return; + } + if (typeof child === "object" && (Symbol.asyncIterator in child || Symbol.iterator in child)) { + if (Symbol.asyncIterator in child) { + return renderAsyncIterable(destination, child); + } + return renderIterable(destination, child); + } + destination.write(child); +} +function renderArray(destination, children) { + const flushers = children.map((c) => { + return createBufferedRenderer(destination, (bufferDestination) => { + return renderChild(bufferDestination, c); + }); + }); + const iterator = flushers[Symbol.iterator](); + const iterate = () => { + for (; ; ) { + const { value: flusher, done } = iterator.next(); + if (done) { + break; + } + const result = flusher.flush(); + if (isPromise(result)) { + return result.then(iterate); + } + } + }; + return iterate(); +} +function renderIterable(destination, children) { + const iterator = children[Symbol.iterator](); + const iterate = () => { + for (; ; ) { + const { value, done } = iterator.next(); + if (done) { + break; + } + const result = renderChild(destination, value); + if (isPromise(result)) { + return result.then(iterate); + } + } + }; + return iterate(); +} +async function renderAsyncIterable(destination, children) { + for await (const value of children) { + await renderChild(destination, value); + } +} + +const astroComponentInstanceSym = Symbol.for("astro.componentInstance"); +class AstroComponentInstance { + [astroComponentInstanceSym] = true; + result; + props; + slotValues; + factory; + returnValue; + constructor(result, props, slots, factory) { + this.result = result; + this.props = props; + this.factory = factory; + this.slotValues = {}; + for (const name in slots) { + let didRender = false; + let value = slots[name](result); + this.slotValues[name] = () => { + if (!didRender) { + didRender = true; + return value; + } + return slots[name](result); + }; + } + } + init(result) { + if (this.returnValue !== void 0) { + return this.returnValue; + } + this.returnValue = this.factory(result, this.props, this.slotValues); + if (isPromise(this.returnValue)) { + this.returnValue.then((resolved) => { + this.returnValue = resolved; + }).catch(() => { + }); + } + return this.returnValue; + } + render(destination) { + const returnValue = this.init(this.result); + if (isPromise(returnValue)) { + return returnValue.then((x) => this.renderImpl(destination, x)); + } + return this.renderImpl(destination, returnValue); + } + renderImpl(destination, returnValue) { + if (isHeadAndContent(returnValue)) { + return returnValue.content.render(destination); + } else { + return renderChild(destination, returnValue); + } + } +} +function validateComponentProps(props, clientDirectives, displayName) { + if (props != null) { + const directives = [...clientDirectives.keys()].map((directive) => `client:${directive}`); + for (const prop of Object.keys(props)) { + if (directives.includes(prop)) { + console.warn( + `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.` + ); + } + } + } +} +function createAstroComponentInstance(result, displayName, factory, props, slots = {}) { + validateComponentProps(props, result.clientDirectives, displayName); + const instance = new AstroComponentInstance(result, props, slots, factory); + if (isAPropagatingComponent(result, factory)) { + result._metadata.propagators.add(instance); + } + return instance; +} +function isAstroComponentInstance(obj) { + return typeof obj === "object" && obj !== null && !!obj[astroComponentInstanceSym]; +} + +const DOCTYPE_EXP = /" : "\n"; + str += doctype; + } + } + if (chunk instanceof Response) return; + str += chunkToString(result, chunk); + } + }; + await templateResult.render(destination); + return str; +} +async function renderToReadableStream(result, componentFactory, props, children, isPage = false, route) { + const templateResult = await callComponentAsTemplateResultOrResponse( + result, + componentFactory, + props, + children, + route + ); + if (templateResult instanceof Response) return templateResult; + let renderedFirstPageChunk = false; + if (isPage) { + await bufferHeadContent(result); + } + return new ReadableStream({ + start(controller) { + const destination = { + write(chunk) { + if (isPage && !renderedFirstPageChunk) { + renderedFirstPageChunk = true; + if (!result.partial && !DOCTYPE_EXP.test(String(chunk))) { + const doctype = result.compressHTML ? "" : "\n"; + controller.enqueue(encoder.encode(doctype)); + } + } + if (chunk instanceof Response) { + throw new AstroError({ + ...ResponseSentError + }); + } + const bytes = chunkToByteArray(result, chunk); + controller.enqueue(bytes); + } + }; + (async () => { + try { + await templateResult.render(destination); + controller.close(); + } catch (e) { + if (AstroError.is(e) && !e.loc) { + e.setLocation({ + file: route?.component + }); + } + setTimeout(() => controller.error(e), 0); + } + })(); + }, + cancel() { + result.cancelled = true; + } + }); +} +async function callComponentAsTemplateResultOrResponse(result, componentFactory, props, children, route) { + const factoryResult = await componentFactory(result, props, children); + if (factoryResult instanceof Response) { + return factoryResult; + } else if (isHeadAndContent(factoryResult)) { + if (!isRenderTemplateResult(factoryResult.content)) { + throw new AstroError({ + ...OnlyResponseCanBeReturned, + message: OnlyResponseCanBeReturned.message( + route?.route, + typeof factoryResult + ), + location: { + file: route?.component + } + }); + } + return factoryResult.content; + } else if (!isRenderTemplateResult(factoryResult)) { + throw new AstroError({ + ...OnlyResponseCanBeReturned, + message: OnlyResponseCanBeReturned.message(route?.route, typeof factoryResult), + location: { + file: route?.component + } + }); + } + return factoryResult; +} +async function bufferHeadContent(result) { + const iterator = result._metadata.propagators.values(); + while (true) { + const { value, done } = iterator.next(); + if (done) { + break; + } + const returnValue = await value.init(result); + if (isHeadAndContent(returnValue) && returnValue.head) { + result._metadata.extraHead.push(returnValue.head); + } + } +} +async function renderToAsyncIterable(result, componentFactory, props, children, isPage = false, route) { + const templateResult = await callComponentAsTemplateResultOrResponse( + result, + componentFactory, + props, + children, + route + ); + if (templateResult instanceof Response) return templateResult; + let renderedFirstPageChunk = false; + if (isPage) { + await bufferHeadContent(result); + } + let error = null; + let next = null; + const buffer = []; + let renderingComplete = false; + const iterator = { + async next() { + if (result.cancelled) return { done: true, value: void 0 }; + if (next !== null) { + await next.promise; + } else if (!renderingComplete && !buffer.length) { + next = promiseWithResolvers(); + await next.promise; + } + if (!renderingComplete) { + next = promiseWithResolvers(); + } + if (error) { + throw error; + } + let length = 0; + for (let i = 0, len = buffer.length; i < len; i++) { + length += buffer[i].length; + } + let mergedArray = new Uint8Array(length); + let offset = 0; + for (let i = 0, len = buffer.length; i < len; i++) { + const item = buffer[i]; + mergedArray.set(item, offset); + offset += item.length; + } + buffer.length = 0; + const returnValue = { + // The iterator is done when rendering has finished + // and there are no more chunks to return. + done: length === 0 && renderingComplete, + value: mergedArray + }; + return returnValue; + }, + async return() { + result.cancelled = true; + return { done: true, value: void 0 }; + } + }; + const destination = { + write(chunk) { + if (isPage && !renderedFirstPageChunk) { + renderedFirstPageChunk = true; + if (!result.partial && !DOCTYPE_EXP.test(String(chunk))) { + const doctype = result.compressHTML ? "" : "\n"; + buffer.push(encoder.encode(doctype)); + } + } + if (chunk instanceof Response) { + throw new AstroError(ResponseSentError); + } + const bytes = chunkToByteArray(result, chunk); + if (bytes.length > 0) { + buffer.push(bytes); + next?.resolve(); + } else if (buffer.length > 0) { + next?.resolve(); + } + } + }; + const renderResult = toPromise(() => templateResult.render(destination)); + renderResult.catch((err) => { + error = err; + }).finally(() => { + renderingComplete = true; + next?.resolve(); + }); + return { + [Symbol.asyncIterator]() { + return iterator; + } + }; +} +function toPromise(fn) { + try { + const result = fn(); + return isPromise(result) ? result : Promise.resolve(result); + } catch (err) { + return Promise.reject(err); + } +} + +function componentIsHTMLElement(Component) { + return typeof HTMLElement !== "undefined" && HTMLElement.isPrototypeOf(Component); +} +async function renderHTMLElement(result, constructor, props, slots) { + const name = getHTMLElementName(constructor); + let attrHTML = ""; + for (const attr in props) { + attrHTML += ` ${attr}="${toAttributeString(await props[attr])}"`; + } + return markHTMLString( + `<${name}${attrHTML}>${await renderSlotToString(result, slots?.default)}` + ); +} +function getHTMLElementName(constructor) { + const definedName = customElements.getName(constructor); + if (definedName) return definedName; + const assignedName = constructor.name.replace(/^HTML|Element$/g, "").replace(/[A-Z]/g, "-$&").toLowerCase().replace(/^-/, "html-"); + return assignedName; +} + +const needsHeadRenderingSymbol = Symbol.for("astro.needsHeadRendering"); +const rendererAliases = /* @__PURE__ */ new Map([["solid", "solid-js"]]); +const clientOnlyValues = /* @__PURE__ */ new Set(["solid-js", "react", "preact", "vue", "svelte"]); +function guessRenderers(componentUrl) { + const extname = componentUrl?.split(".").pop(); + switch (extname) { + case "svelte": + return ["@astrojs/svelte"]; + case "vue": + return ["@astrojs/vue"]; + case "jsx": + case "tsx": + return ["@astrojs/react", "@astrojs/preact", "@astrojs/solid-js", "@astrojs/vue (jsx)"]; + case void 0: + default: + return [ + "@astrojs/react", + "@astrojs/preact", + "@astrojs/solid-js", + "@astrojs/vue", + "@astrojs/svelte" + ]; + } +} +function isFragmentComponent(Component) { + return Component === Fragment; +} +function isHTMLComponent(Component) { + return Component && Component["astro:html"] === true; +} +const ASTRO_SLOT_EXP = /<\/?astro-slot\b[^>]*>/g; +const ASTRO_STATIC_SLOT_EXP = /<\/?astro-static-slot\b[^>]*>/g; +function removeStaticAstroSlot(html, supportsAstroStaticSlot = true) { + const exp = supportsAstroStaticSlot ? ASTRO_STATIC_SLOT_EXP : ASTRO_SLOT_EXP; + return html.replace(exp, ""); +} +async function renderFrameworkComponent(result, displayName, Component, _props, slots = {}) { + if (!Component && "client:only" in _props === false) { + throw new Error( + `Unable to render ${displayName} because it is ${Component}! +Did you forget to import the component or is it possible there is a typo?` + ); + } + const { renderers, clientDirectives } = result; + const metadata = { + astroStaticSlot: true, + displayName + }; + const { hydration, isPage, props, propsWithoutTransitionAttributes } = extractDirectives( + _props, + clientDirectives + ); + let html = ""; + let attrs = void 0; + if (hydration) { + metadata.hydrate = hydration.directive; + metadata.hydrateArgs = hydration.value; + metadata.componentExport = hydration.componentExport; + metadata.componentUrl = hydration.componentUrl; + } + const probableRendererNames = guessRenderers(metadata.componentUrl); + const validRenderers = renderers.filter((r) => r.name !== "astro:jsx"); + const { children, slotInstructions } = await renderSlots(result, slots); + let renderer; + if (metadata.hydrate !== "only") { + let isTagged = false; + try { + isTagged = Component && Component[Renderer]; + } catch { + } + if (isTagged) { + const rendererName = Component[Renderer]; + renderer = renderers.find(({ name }) => name === rendererName); + } + if (!renderer) { + let error; + for (const r of renderers) { + try { + if (await r.ssr.check.call({ result }, Component, props, children)) { + renderer = r; + break; + } + } catch (e) { + error ??= e; + } + } + if (!renderer && error) { + throw error; + } + } + if (!renderer && typeof HTMLElement === "function" && componentIsHTMLElement(Component)) { + const output = await renderHTMLElement( + result, + Component, + _props, + slots + ); + return { + render(destination) { + destination.write(output); + } + }; + } + } else { + if (metadata.hydrateArgs) { + const rendererName = rendererAliases.has(metadata.hydrateArgs) ? rendererAliases.get(metadata.hydrateArgs) : metadata.hydrateArgs; + if (clientOnlyValues.has(rendererName)) { + renderer = renderers.find( + ({ name }) => name === `@astrojs/${rendererName}` || name === rendererName + ); + } + } + if (!renderer && validRenderers.length === 1) { + renderer = validRenderers[0]; + } + if (!renderer) { + const extname = metadata.componentUrl?.split(".").pop(); + renderer = renderers.find(({ name }) => name === `@astrojs/${extname}` || name === extname); + } + } + let componentServerRenderEndTime; + if (!renderer) { + if (metadata.hydrate === "only") { + const rendererName = rendererAliases.has(metadata.hydrateArgs) ? rendererAliases.get(metadata.hydrateArgs) : metadata.hydrateArgs; + if (clientOnlyValues.has(rendererName)) { + const plural = validRenderers.length > 1; + throw new AstroError({ + ...NoMatchingRenderer, + message: NoMatchingRenderer.message( + metadata.displayName, + metadata?.componentUrl?.split(".").pop(), + plural, + validRenderers.length + ), + hint: NoMatchingRenderer.hint( + formatList(probableRendererNames.map((r) => "`" + r + "`")) + ) + }); + } else { + throw new AstroError({ + ...NoClientOnlyHint, + message: NoClientOnlyHint.message(metadata.displayName), + hint: NoClientOnlyHint.hint( + probableRendererNames.map((r) => r.replace("@astrojs/", "")).join("|") + ) + }); + } + } else if (typeof Component !== "string") { + const matchingRenderers = validRenderers.filter( + (r) => probableRendererNames.includes(r.name) + ); + const plural = validRenderers.length > 1; + if (matchingRenderers.length === 0) { + throw new AstroError({ + ...NoMatchingRenderer, + message: NoMatchingRenderer.message( + metadata.displayName, + metadata?.componentUrl?.split(".").pop(), + plural, + validRenderers.length + ), + hint: NoMatchingRenderer.hint( + formatList(probableRendererNames.map((r) => "`" + r + "`")) + ) + }); + } else if (matchingRenderers.length === 1) { + renderer = matchingRenderers[0]; + ({ html, attrs } = await renderer.ssr.renderToStaticMarkup.call( + { result }, + Component, + propsWithoutTransitionAttributes, + children, + metadata + )); + } else { + throw new Error(`Unable to render ${metadata.displayName}! + +This component likely uses ${formatList(probableRendererNames)}, +but Astro encountered an error during server-side rendering. + +Please ensure that ${metadata.displayName}: +1. Does not unconditionally access browser-specific globals like \`window\` or \`document\`. + If this is unavoidable, use the \`client:only\` hydration directive. +2. Does not conditionally return \`null\` or \`undefined\` when rendered on the server. + +If you're still stuck, please open an issue on GitHub or join us at https://astro.build/chat.`); + } + } + } else { + if (metadata.hydrate === "only") { + html = await renderSlotToString(result, slots?.fallback); + } else { + const componentRenderStartTime = performance.now(); + ({ html, attrs } = await renderer.ssr.renderToStaticMarkup.call( + { result }, + Component, + propsWithoutTransitionAttributes, + children, + metadata + )); + if (process.env.NODE_ENV === "development") + componentServerRenderEndTime = performance.now() - componentRenderStartTime; + } + } + if (!html && typeof Component === "string") { + const Tag = sanitizeElementName(Component); + const childSlots = Object.values(children).join(""); + const renderTemplateResult = renderTemplate`<${Tag}${internalSpreadAttributes( + props, + true, + Tag + )}${markHTMLString( + childSlots === "" && voidElementNames.test(Tag) ? `/>` : `>${childSlots}` + )}`; + html = ""; + const destination = { + write(chunk) { + if (chunk instanceof Response) return; + html += chunkToString(result, chunk); + } + }; + await renderTemplateResult.render(destination); + } + if (!hydration) { + return { + render(destination) { + if (slotInstructions) { + for (const instruction of slotInstructions) { + destination.write(instruction); + } + } + if (isPage || renderer?.name === "astro:jsx") { + destination.write(html); + } else if (html && html.length > 0) { + destination.write( + markHTMLString(removeStaticAstroSlot(html, renderer?.ssr?.supportsAstroStaticSlot)) + ); + } + } + }; + } + const astroId = shorthash( + ` +${html} +${serializeProps( + props, + metadata + )}` + ); + const island = await generateHydrateScript( + { renderer, result, astroId, props, attrs }, + metadata + ); + if (componentServerRenderEndTime && process.env.NODE_ENV === "development") + island.props["server-render-time"] = componentServerRenderEndTime; + let unrenderedSlots = []; + if (html) { + if (Object.keys(children).length > 0) { + for (const key of Object.keys(children)) { + let tagName = renderer?.ssr?.supportsAstroStaticSlot ? !!metadata.hydrate ? "astro-slot" : "astro-static-slot" : "astro-slot"; + let expectedHTML = key === "default" ? `<${tagName}>` : `<${tagName} name="${key}">`; + if (!html.includes(expectedHTML)) { + unrenderedSlots.push(key); + } + } + } + } else { + unrenderedSlots = Object.keys(children); + } + const template = unrenderedSlots.length > 0 ? unrenderedSlots.map( + (key) => `` + ).join("") : ""; + island.children = `${html ?? ""}${template}`; + if (island.children) { + island.props["await-children"] = ""; + island.children += ``; + } + return { + render(destination) { + if (slotInstructions) { + for (const instruction of slotInstructions) { + destination.write(instruction); + } + } + destination.write(createRenderInstruction({ type: "directive", hydration })); + if (hydration.directive !== "only" && renderer?.ssr.renderHydrationScript) { + destination.write( + createRenderInstruction({ + type: "renderer-hydration-script", + rendererName: renderer.name, + render: renderer.ssr.renderHydrationScript + }) + ); + } + const renderedElement = renderElement$1("astro-island", island, false); + destination.write(markHTMLString(renderedElement)); + } + }; +} +function sanitizeElementName(tag) { + const unsafe = /[&<>'"\s]+/; + if (!unsafe.test(tag)) return tag; + return tag.trim().split(unsafe)[0].trim(); +} +async function renderFragmentComponent(result, slots = {}) { + const children = await renderSlotToString(result, slots?.default); + return { + render(destination) { + if (children == null) return; + destination.write(children); + } + }; +} +async function renderHTMLComponent(result, Component, _props, slots = {}) { + const { slotInstructions, children } = await renderSlots(result, slots); + const html = Component({ slots: children }); + const hydrationHtml = slotInstructions ? slotInstructions.map((instr) => chunkToString(result, instr)).join("") : ""; + return { + render(destination) { + destination.write(markHTMLString(hydrationHtml + html)); + } + }; +} +function renderAstroComponent(result, displayName, Component, props, slots = {}) { + if (containsServerDirective(props)) { + const serverIslandComponent = new ServerIslandComponent(result, props, slots, displayName); + result._metadata.propagators.add(serverIslandComponent); + return serverIslandComponent; + } + const instance = createAstroComponentInstance(result, displayName, Component, props, slots); + return { + render(destination) { + return instance.render(destination); + } + }; +} +function renderComponent(result, displayName, Component, props, slots = {}) { + if (isPromise(Component)) { + return Component.catch(handleCancellation).then((x) => { + return renderComponent(result, displayName, x, props, slots); + }); + } + if (isFragmentComponent(Component)) { + return renderFragmentComponent(result, slots).catch(handleCancellation); + } + props = normalizeProps(props); + if (isHTMLComponent(Component)) { + return renderHTMLComponent(result, Component, props, slots).catch(handleCancellation); + } + if (isAstroComponentFactory(Component)) { + return renderAstroComponent(result, displayName, Component, props, slots); + } + return renderFrameworkComponent(result, displayName, Component, props, slots).catch( + handleCancellation + ); + function handleCancellation(e) { + if (result.cancelled) + return { + render() { + } + }; + throw e; + } +} +function normalizeProps(props) { + if (props["class:list"] !== void 0) { + const value = props["class:list"]; + delete props["class:list"]; + props["class"] = clsx(props["class"], value); + if (props["class"] === "") { + delete props["class"]; + } + } + return props; +} +async function renderComponentToString(result, displayName, Component, props, slots = {}, isPage = false, route) { + let str = ""; + let renderedFirstPageChunk = false; + let head = ""; + if (isPage && !result.partial && nonAstroPageNeedsHeadInjection(Component)) { + head += chunkToString(result, maybeRenderHead()); + } + try { + const destination = { + write(chunk) { + if (isPage && !result.partial && !renderedFirstPageChunk) { + renderedFirstPageChunk = true; + if (!/" : "\n"; + str += doctype + head; + } + } + if (chunk instanceof Response) return; + str += chunkToString(result, chunk); + } + }; + const renderInstance = await renderComponent(result, displayName, Component, props, slots); + if (containsServerDirective(props)) { + await bufferHeadContent(result); + } + await renderInstance.render(destination); + } catch (e) { + if (AstroError.is(e) && !e.loc) { + e.setLocation({ + file: route?.component + }); + } + throw e; + } + return str; +} +function nonAstroPageNeedsHeadInjection(pageComponent) { + return !!pageComponent?.[needsHeadRenderingSymbol]; +} + +const ClientOnlyPlaceholder = "astro-client-only"; +const hasTriedRenderComponentSymbol = Symbol("hasTriedRenderComponent"); +async function renderJSX(result, vnode) { + switch (true) { + case vnode instanceof HTMLString: + if (vnode.toString().trim() === "") { + return ""; + } + return vnode; + case typeof vnode === "string": + return markHTMLString(escapeHTML(vnode)); + case typeof vnode === "function": + return vnode; + case (!vnode && vnode !== 0): + return ""; + case Array.isArray(vnode): + return markHTMLString( + (await Promise.all(vnode.map((v) => renderJSX(result, v)))).join("") + ); + } + return renderJSXVNode(result, vnode); +} +async function renderJSXVNode(result, vnode) { + if (isVNode(vnode)) { + switch (true) { + case !vnode.type: { + throw new Error(`Unable to render ${result.pathname} because it contains an undefined Component! +Did you forget to import the component or is it possible there is a typo?`); + } + case vnode.type === Symbol.for("astro:fragment"): + return renderJSX(result, vnode.props.children); + case isAstroComponentFactory(vnode.type): { + let props = {}; + let slots = {}; + for (const [key, value] of Object.entries(vnode.props ?? {})) { + if (key === "children" || value && typeof value === "object" && value["$$slot"]) { + slots[key === "children" ? "default" : key] = () => renderJSX(result, value); + } else { + props[key] = value; + } + } + const str = await renderComponentToString( + result, + vnode.type.name, + vnode.type, + props, + slots + ); + const html = markHTMLString(str); + return html; + } + case (!vnode.type && vnode.type !== 0): + return ""; + case (typeof vnode.type === "string" && vnode.type !== ClientOnlyPlaceholder): + return markHTMLString(await renderElement(result, vnode.type, vnode.props ?? {})); + } + if (vnode.type) { + let extractSlots2 = function(child) { + if (Array.isArray(child)) { + return child.map((c) => extractSlots2(c)); + } + if (!isVNode(child)) { + _slots.default.push(child); + return; + } + if ("slot" in child.props) { + _slots[child.props.slot] = [..._slots[child.props.slot] ?? [], child]; + delete child.props.slot; + return; + } + _slots.default.push(child); + }; + if (typeof vnode.type === "function" && vnode.props["server:root"]) { + const output2 = await vnode.type(vnode.props ?? {}); + return await renderJSX(result, output2); + } + if (typeof vnode.type === "function") { + if (vnode.props[hasTriedRenderComponentSymbol]) { + delete vnode.props[hasTriedRenderComponentSymbol]; + const output2 = await vnode.type(vnode.props ?? {}); + if (output2?.[AstroJSX] || !output2) { + return await renderJSXVNode(result, output2); + } else { + return; + } + } else { + vnode.props[hasTriedRenderComponentSymbol] = true; + } + } + const { children = null, ...props } = vnode.props ?? {}; + const _slots = { + default: [] + }; + extractSlots2(children); + for (const [key, value] of Object.entries(props)) { + if (value?.["$$slot"]) { + _slots[key] = value; + delete props[key]; + } + } + const slotPromises = []; + const slots = {}; + for (const [key, value] of Object.entries(_slots)) { + slotPromises.push( + renderJSX(result, value).then((output2) => { + if (output2.toString().trim().length === 0) return; + slots[key] = () => output2; + }) + ); + } + await Promise.all(slotPromises); + let output; + if (vnode.type === ClientOnlyPlaceholder && vnode.props["client:only"]) { + output = await renderComponentToString( + result, + vnode.props["client:display-name"] ?? "", + null, + props, + slots + ); + } else { + output = await renderComponentToString( + result, + typeof vnode.type === "function" ? vnode.type.name : vnode.type, + vnode.type, + props, + slots + ); + } + return markHTMLString(output); + } + } + return markHTMLString(`${vnode}`); +} +async function renderElement(result, tag, { children, ...props }) { + return markHTMLString( + `<${tag}${spreadAttributes(props)}${markHTMLString( + (children == null || children == "") && voidElementNames.test(tag) ? `/>` : `>${children == null ? "" : await renderJSX(result, prerenderElementChildren(tag, children))}` + )}` + ); +} +function prerenderElementChildren(tag, children) { + if (typeof children === "string" && (tag === "style" || tag === "script")) { + return markHTMLString(children); + } else { + return children; + } +} + +async function renderPage(result, componentFactory, props, children, streaming, route) { + if (!isAstroComponentFactory(componentFactory)) { + result._metadata.headInTree = result.componentMetadata.get(componentFactory.moduleId)?.containsHead ?? false; + const pageProps = { ...props ?? {}, "server:root": true }; + const str = await renderComponentToString( + result, + componentFactory.name, + componentFactory, + pageProps, + {}, + true, + route + ); + const bytes = encoder.encode(str); + const headers2 = new Headers([ + ["Content-Type", "text/html"], + ["Content-Length", bytes.byteLength.toString()] + ]); + if (result.shouldInjectCspMetaTags && (result.cspDestination === "header" || result.cspDestination === "adapter")) { + headers2.set("content-security-policy", renderCspContent(result)); + } + return new Response(bytes, { + headers: headers2 + }); + } + result._metadata.headInTree = result.componentMetadata.get(componentFactory.moduleId)?.containsHead ?? false; + let body; + if (streaming) { + if (isNode && !isDeno) { + const nodeBody = await renderToAsyncIterable( + result, + componentFactory, + props, + children, + true, + route + ); + body = nodeBody; + } else { + body = await renderToReadableStream(result, componentFactory, props, children, true, route); + } + } else { + body = await renderToString(result, componentFactory, props, children, true, route); + } + if (body instanceof Response) return body; + const init = result.response; + const headers = new Headers(init.headers); + if (result.shouldInjectCspMetaTags && result.cspDestination === "header" || result.cspDestination === "adapter") { + headers.set("content-security-policy", renderCspContent(result)); + } + if (!streaming && typeof body === "string") { + body = encoder.encode(body); + headers.set("Content-Length", body.byteLength.toString()); + } + let status = init.status; + let statusText = init.statusText; + if (route?.route === "/404") { + status = 404; + if (statusText === "OK") { + statusText = "Not Found"; + } + } else if (route?.route === "/500") { + status = 500; + if (statusText === "OK") { + statusText = "Internal Server Error"; + } + } + if (status) { + return new Response(body, { ...init, headers, status, statusText }); + } else { + return new Response(body, { ...init, headers }); + } +} + +"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_".split("").reduce((v, c) => (v[c.charCodeAt(0)] = c, v), []); +"-0123456789_".split("").reduce((v, c) => (v[c.charCodeAt(0)] = c, v), []); + +function spreadAttributes(values = {}, _name, { class: scopedClassName } = {}) { + let output = ""; + if (scopedClassName) { + if (typeof values.class !== "undefined") { + values.class += ` ${scopedClassName}`; + } else if (typeof values["class:list"] !== "undefined") { + values["class:list"] = [values["class:list"], scopedClassName]; + } else { + values.class = scopedClassName; + } + } + for (const [key, value] of Object.entries(values)) { + output += addAttribute(value, key, true, _name); + } + return markHTMLString(output); +} + +export { SessionStorageInitError as $, AstroError as A, originPathnameSymbol as B, RewriteWithBodyUsed as C, InvalidGetStaticPathsReturn as D, ExpectedImage as E, FailedToFetchRemoteImageDimensions as F, GetStaticPathsRequired as G, InvalidGetStaticPathsEntry as H, IncompatibleDescriptorOptions as I, GetStaticPathsExpectedParams as J, GetStaticPathsInvalidRouteParam as K, LocalImageUsedWrongly as L, MissingImageDimension as M, NoImageMetadata as N, DEFAULT_404_COMPONENT as O, PageNumberParamNotFound as P, ActionNotFoundError as Q, ROUTE_TYPE_HEADER as R, NoMatchingStaticPathFound as S, PrerenderDynamicEndpointPathCollide as T, UnsupportedImageFormat as U, ReservedSlotName as V, renderSlotToString as W, renderJSX as X, chunkToString as Y, isRenderInstruction as Z, ForbiddenRewrite as _, UnsupportedImageConversion as a, SessionStorageSaveError as a0, ASTRO_VERSION as a1, CspNotEnabled as a2, LocalsReassigned as a3, generateCspDigest as a4, PrerenderClientAddressNotAvailable as a5, clientAddressSymbol as a6, ClientAddressNotAvailable as a7, StaticClientAddressNotAvailable as a8, AstroResponseHeadersReassigned as a9, responseSentSymbol as aa, renderPage as ab, REWRITE_DIRECTIVE_HEADER_KEY as ac, REWRITE_DIRECTIVE_HEADER_VALUE as ad, renderEndpoint as ae, LocalsNotAnObject as af, REROUTABLE_STATUS_CODES as ag, nodeRequestAbortControllerCleanupSymbol as ah, NOOP_MIDDLEWARE_HEADER as ai, REDIRECT_STATUS_CODES as aj, ActionsReturnedInvalidDataError as ak, MissingSharp as al, ExpectedImageOptions as b, ExpectedNotESMImage as c, InvalidImageService as d, createComponent as e, createAstro as f, ImageMissingAlt as g, addAttribute as h, ExperimentalFontsNotEnabled as i, FontFamilyNotFound as j, renderHead as k, decodeKey as l, maybeRenderHead as m, decryptString as n, createSlotValueFromString as o, isAstroComponentFactory as p, renderComponent as q, renderTemplate as r, spreadAttributes as s, toStyleString as t, unescapeHTML as u, REROUTE_DIRECTIVE_HEADER as v, i18nNoLocaleFoundInPath as w, ResponseSentError as x, MiddlewareNoDataOrNextCalled as y, MiddlewareNotAResponse as z }; diff --git a/dist/server/chunks/fs-lite_COtHaKzy.mjs b/dist/server/chunks/fs-lite_COtHaKzy.mjs new file mode 100644 index 0000000..7dc736a --- /dev/null +++ b/dist/server/chunks/fs-lite_COtHaKzy.mjs @@ -0,0 +1,157 @@ +import { promises, existsSync } from 'node:fs'; +import { resolve, dirname, join } from 'node:path'; + +function defineDriver(factory) { + return factory; +} +function createError(driver, message, opts) { + const err = new Error(`[unstorage] [${driver}] ${message}`, opts); + if (Error.captureStackTrace) { + Error.captureStackTrace(err, createError); + } + return err; +} +function createRequiredError(driver, name) { + if (Array.isArray(name)) { + return createError( + driver, + `Missing some of the required options ${name.map((n) => "`" + n + "`").join(", ")}` + ); + } + return createError(driver, `Missing required option \`${name}\`.`); +} + +function ignoreNotfound(err) { + return err.code === "ENOENT" || err.code === "EISDIR" ? null : err; +} +function ignoreExists(err) { + return err.code === "EEXIST" ? null : err; +} +async function writeFile(path, data, encoding) { + await ensuredir(dirname(path)); + return promises.writeFile(path, data, encoding); +} +function readFile(path, encoding) { + return promises.readFile(path, encoding).catch(ignoreNotfound); +} +function unlink(path) { + return promises.unlink(path).catch(ignoreNotfound); +} +function readdir(dir) { + return promises.readdir(dir, { withFileTypes: true }).catch(ignoreNotfound).then((r) => r || []); +} +async function ensuredir(dir) { + if (existsSync(dir)) { + return; + } + await ensuredir(dirname(dir)).catch(ignoreExists); + await promises.mkdir(dir).catch(ignoreExists); +} +async function readdirRecursive(dir, ignore, maxDepth) { + if (ignore && ignore(dir)) { + return []; + } + const entries = await readdir(dir); + const files = []; + await Promise.all( + entries.map(async (entry) => { + const entryPath = resolve(dir, entry.name); + if (entry.isDirectory()) { + if (maxDepth === void 0 || maxDepth > 0) { + const dirFiles = await readdirRecursive( + entryPath, + ignore, + maxDepth === void 0 ? void 0 : maxDepth - 1 + ); + files.push(...dirFiles.map((f) => entry.name + "/" + f)); + } + } else { + if (!(ignore && ignore(entry.name))) { + files.push(entry.name); + } + } + }) + ); + return files; +} +async function rmRecursive(dir) { + const entries = await readdir(dir); + await Promise.all( + entries.map((entry) => { + const entryPath = resolve(dir, entry.name); + if (entry.isDirectory()) { + return rmRecursive(entryPath).then(() => promises.rmdir(entryPath)); + } else { + return promises.unlink(entryPath); + } + }) + ); +} + +const PATH_TRAVERSE_RE = /\.\.:|\.\.$/; +const DRIVER_NAME = "fs-lite"; +const fsLite = defineDriver((opts = {}) => { + if (!opts.base) { + throw createRequiredError(DRIVER_NAME, "base"); + } + opts.base = resolve(opts.base); + const r = (key) => { + if (PATH_TRAVERSE_RE.test(key)) { + throw createError( + DRIVER_NAME, + `Invalid key: ${JSON.stringify(key)}. It should not contain .. segments` + ); + } + const resolved = join(opts.base, key.replace(/:/g, "/")); + return resolved; + }; + return { + name: DRIVER_NAME, + options: opts, + flags: { + maxDepth: true + }, + hasItem(key) { + return existsSync(r(key)); + }, + getItem(key) { + return readFile(r(key), "utf8"); + }, + getItemRaw(key) { + return readFile(r(key)); + }, + async getMeta(key) { + const { atime, mtime, size, birthtime, ctime } = await promises.stat(r(key)).catch(() => ({})); + return { atime, mtime, size, birthtime, ctime }; + }, + setItem(key, value) { + if (opts.readOnly) { + return; + } + return writeFile(r(key), value, "utf8"); + }, + setItemRaw(key, value) { + if (opts.readOnly) { + return; + } + return writeFile(r(key), value); + }, + removeItem(key) { + if (opts.readOnly) { + return; + } + return unlink(r(key)); + }, + getKeys(_base, topts) { + return readdirRecursive(r("."), opts.ignore, topts?.maxDepth); + }, + async clear() { + if (opts.readOnly || opts.noClear) { + return; + } + await rmRecursive(r(".")); + } + }; +}); + +export { fsLite as default }; diff --git a/dist/server/chunks/node_ul8Jhv1t.mjs b/dist/server/chunks/node_ul8Jhv1t.mjs new file mode 100644 index 0000000..7d834e6 --- /dev/null +++ b/dist/server/chunks/node_ul8Jhv1t.mjs @@ -0,0 +1,1597 @@ +import { i as isRemoteAllowed, j as joinPaths, a as isRemotePath, r as removeQueryString, b as isParentDirectory } from './remote_OOD9OFqU.mjs'; +import { A as AstroError, E as ExpectedImage, L as LocalImageUsedWrongly, M as MissingImageDimension, U as UnsupportedImageFormat, I as IncompatibleDescriptorOptions, a as UnsupportedImageConversion, t as toStyleString, N as NoImageMetadata, F as FailedToFetchRemoteImageDimensions, b as ExpectedImageOptions, c as ExpectedNotESMImage, d as InvalidImageService, e as createComponent, f as createAstro, g as ImageMissingAlt, m as maybeRenderHead, h as addAttribute, s as spreadAttributes, r as renderTemplate, i as ExperimentalFontsNotEnabled, j as FontFamilyNotFound, u as unescapeHTML } from './astro/server_BRK6phUk.mjs'; +import 'clsx'; +import * as mime from 'mrmime'; +import 'kleur/colors'; +import { readFile } from 'node:fs/promises'; +import { fileURLToPath } from 'node:url'; +import '../renderers.mjs'; + +const VALID_SUPPORTED_FORMATS = [ + "jpeg", + "jpg", + "png", + "tiff", + "webp", + "gif", + "svg", + "avif" +]; +const DEFAULT_OUTPUT_FORMAT = "webp"; +const DEFAULT_HASH_PROPS = [ + "src", + "width", + "height", + "format", + "quality", + "fit", + "position" +]; + +const DEFAULT_RESOLUTIONS = [ + 640, + // older and lower-end phones + 750, + // iPhone 6-8 + 828, + // iPhone XR/11 + 960, + // older horizontal phones + 1080, + // iPhone 6-8 Plus + 1280, + // 720p + 1668, + // Various iPads + 1920, + // 1080p + 2048, + // QXGA + 2560, + // WQXGA + 3200, + // QHD+ + 3840, + // 4K + 4480, + // 4.5K + 5120, + // 5K + 6016 + // 6K +]; +const LIMITED_RESOLUTIONS = [ + 640, + // older and lower-end phones + 750, + // iPhone 6-8 + 828, + // iPhone XR/11 + 1080, + // iPhone 6-8 Plus + 1280, + // 720p + 1668, + // Various iPads + 2048, + // QXGA + 2560 + // WQXGA +]; +const getWidths = ({ + width, + layout, + breakpoints = DEFAULT_RESOLUTIONS, + originalWidth +}) => { + const smallerThanOriginal = (w) => !originalWidth || w <= originalWidth; + if (layout === "full-width") { + return breakpoints.filter(smallerThanOriginal); + } + if (!width) { + return []; + } + const doubleWidth = width * 2; + const maxSize = originalWidth ? Math.min(doubleWidth, originalWidth) : doubleWidth; + if (layout === "fixed") { + return originalWidth && width > originalWidth ? [originalWidth] : [width, maxSize]; + } + if (layout === "constrained") { + return [ + // Always include the image at 1x and 2x the specified width + width, + doubleWidth, + ...breakpoints + ].filter((w) => w <= maxSize).sort((a, b) => a - b); + } + return []; +}; +const getSizesAttribute = ({ + width, + layout +}) => { + if (!width || !layout) { + return void 0; + } + switch (layout) { + // If screen is wider than the max size then image width is the max size, + // otherwise it's the width of the screen + case "constrained": + return `(min-width: ${width}px) ${width}px, 100vw`; + // Image is always the same width, whatever the size of the screen + case "fixed": + return `${width}px`; + // Image is always the width of the screen + case "full-width": + return `100vw`; + case "none": + default: + return void 0; + } +}; + +function isESMImportedImage(src) { + return typeof src === "object" || typeof src === "function" && "src" in src; +} +function isRemoteImage(src) { + return typeof src === "string"; +} +async function resolveSrc(src) { + if (typeof src === "object" && "then" in src) { + const resource = await src; + return resource.default ?? resource; + } + return src; +} + +function isLocalService(service) { + if (!service) { + return false; + } + return "transform" in service; +} +function parseQuality(quality) { + let result = parseInt(quality); + if (Number.isNaN(result)) { + return quality; + } + return result; +} +const sortNumeric = (a, b) => a - b; +const baseService = { + validateOptions(options) { + if (!options.src || !isRemoteImage(options.src) && !isESMImportedImage(options.src)) { + throw new AstroError({ + ...ExpectedImage, + message: ExpectedImage.message( + JSON.stringify(options.src), + typeof options.src, + JSON.stringify(options, (_, v) => v === void 0 ? null : v) + ) + }); + } + if (!isESMImportedImage(options.src)) { + if (options.src.startsWith("/@fs/") || !isRemotePath(options.src) && !options.src.startsWith("/")) { + throw new AstroError({ + ...LocalImageUsedWrongly, + message: LocalImageUsedWrongly.message(options.src) + }); + } + let missingDimension; + if (!options.width && !options.height) { + missingDimension = "both"; + } else if (!options.width && options.height) { + missingDimension = "width"; + } else if (options.width && !options.height) { + missingDimension = "height"; + } + if (missingDimension) { + throw new AstroError({ + ...MissingImageDimension, + message: MissingImageDimension.message(missingDimension, options.src) + }); + } + } else { + if (!VALID_SUPPORTED_FORMATS.includes(options.src.format)) { + throw new AstroError({ + ...UnsupportedImageFormat, + message: UnsupportedImageFormat.message( + options.src.format, + options.src.src, + VALID_SUPPORTED_FORMATS + ) + }); + } + if (options.widths && options.densities) { + throw new AstroError(IncompatibleDescriptorOptions); + } + if (options.src.format === "svg") { + options.format = "svg"; + } + if (options.src.format === "svg" && options.format !== "svg" || options.src.format !== "svg" && options.format === "svg") { + throw new AstroError(UnsupportedImageConversion); + } + } + if (!options.format) { + options.format = DEFAULT_OUTPUT_FORMAT; + } + if (options.width) options.width = Math.round(options.width); + if (options.height) options.height = Math.round(options.height); + if (options.layout && options.width && options.height) { + options.fit ??= "cover"; + delete options.layout; + } + if (options.fit === "none") { + delete options.fit; + } + return options; + }, + getHTMLAttributes(options) { + const { targetWidth, targetHeight } = getTargetDimensions(options); + const { + src, + width, + height, + format, + quality, + densities, + widths, + formats, + layout, + priority, + fit, + position, + ...attributes + } = options; + return { + ...attributes, + width: targetWidth, + height: targetHeight, + loading: attributes.loading ?? "lazy", + decoding: attributes.decoding ?? "async" + }; + }, + getSrcSet(options) { + const { targetWidth, targetHeight } = getTargetDimensions(options); + const aspectRatio = targetWidth / targetHeight; + const { widths, densities } = options; + const targetFormat = options.format ?? DEFAULT_OUTPUT_FORMAT; + let transformedWidths = (widths ?? []).sort(sortNumeric); + let imageWidth = options.width; + let maxWidth = Infinity; + if (isESMImportedImage(options.src)) { + imageWidth = options.src.width; + maxWidth = imageWidth; + if (transformedWidths.length > 0 && transformedWidths.at(-1) > maxWidth) { + transformedWidths = transformedWidths.filter((width) => width <= maxWidth); + transformedWidths.push(maxWidth); + } + } + transformedWidths = Array.from(new Set(transformedWidths)); + const { + width: transformWidth, + height: transformHeight, + ...transformWithoutDimensions + } = options; + let allWidths = []; + if (densities) { + const densityValues = densities.map((density) => { + if (typeof density === "number") { + return density; + } else { + return parseFloat(density); + } + }); + const densityWidths = densityValues.sort(sortNumeric).map((density) => Math.round(targetWidth * density)); + allWidths = densityWidths.map((width, index) => ({ + width, + descriptor: `${densityValues[index]}x` + })); + } else if (transformedWidths.length > 0) { + allWidths = transformedWidths.map((width) => ({ + width, + descriptor: `${width}w` + })); + } + return allWidths.map(({ width, descriptor }) => { + const height = Math.round(width / aspectRatio); + const transform = { ...transformWithoutDimensions, width, height }; + return { + transform, + descriptor, + attributes: { + type: `image/${targetFormat}` + } + }; + }); + }, + getURL(options, imageConfig) { + const searchParams = new URLSearchParams(); + if (isESMImportedImage(options.src)) { + searchParams.append("href", options.src.src); + } else if (isRemoteAllowed(options.src, imageConfig)) { + searchParams.append("href", options.src); + } else { + return options.src; + } + const params = { + w: "width", + h: "height", + q: "quality", + f: "format", + fit: "fit", + position: "position" + }; + Object.entries(params).forEach(([param, key]) => { + options[key] && searchParams.append(param, options[key].toString()); + }); + const imageEndpoint = joinPaths("/", imageConfig.endpoint.route); + return `${imageEndpoint}?${searchParams}`; + }, + parseURL(url) { + const params = url.searchParams; + if (!params.has("href")) { + return void 0; + } + const transform = { + src: params.get("href"), + width: params.has("w") ? parseInt(params.get("w")) : void 0, + height: params.has("h") ? parseInt(params.get("h")) : void 0, + format: params.get("f"), + quality: params.get("q"), + fit: params.get("fit"), + position: params.get("position") ?? void 0 + }; + return transform; + } +}; +function getTargetDimensions(options) { + let targetWidth = options.width; + let targetHeight = options.height; + if (isESMImportedImage(options.src)) { + const aspectRatio = options.src.width / options.src.height; + if (targetHeight && !targetWidth) { + targetWidth = Math.round(targetHeight * aspectRatio); + } else if (targetWidth && !targetHeight) { + targetHeight = Math.round(targetWidth / aspectRatio); + } else if (!targetWidth && !targetHeight) { + targetWidth = options.src.width; + targetHeight = options.src.height; + } + } + return { + targetWidth, + targetHeight + }; +} + +function isImageMetadata(src) { + return src.fsPath && !("fsPath" in src); +} + +const cssFitValues = ["fill", "contain", "cover", "scale-down"]; +function addCSSVarsToStyle(vars, styles) { + const cssVars = Object.entries(vars).filter(([_, value]) => value !== void 0 && value !== false).map(([key, value]) => `--${key}: ${value};`).join(" "); + if (!styles) { + return cssVars; + } + const style = typeof styles === "string" ? styles : toStyleString(styles); + return `${cssVars} ${style}`; +} + +const decoder = new TextDecoder(); +const toUTF8String = (input, start = 0, end = input.length) => decoder.decode(input.slice(start, end)); +const toHexString = (input, start = 0, end = input.length) => input.slice(start, end).reduce((memo, i) => memo + ("0" + i.toString(16)).slice(-2), ""); +const readInt16LE = (input, offset = 0) => { + const val = input[offset] + input[offset + 1] * 2 ** 8; + return val | (val & 2 ** 15) * 131070; +}; +const readUInt16BE = (input, offset = 0) => input[offset] * 2 ** 8 + input[offset + 1]; +const readUInt16LE = (input, offset = 0) => input[offset] + input[offset + 1] * 2 ** 8; +const readUInt24LE = (input, offset = 0) => input[offset] + input[offset + 1] * 2 ** 8 + input[offset + 2] * 2 ** 16; +const readInt32LE = (input, offset = 0) => input[offset] + input[offset + 1] * 2 ** 8 + input[offset + 2] * 2 ** 16 + (input[offset + 3] << 24); +const readUInt32BE = (input, offset = 0) => input[offset] * 2 ** 24 + input[offset + 1] * 2 ** 16 + input[offset + 2] * 2 ** 8 + input[offset + 3]; +const readUInt32LE = (input, offset = 0) => input[offset] + input[offset + 1] * 2 ** 8 + input[offset + 2] * 2 ** 16 + input[offset + 3] * 2 ** 24; +const methods = { + readUInt16BE, + readUInt16LE, + readUInt32BE, + readUInt32LE +}; +function readUInt(input, bits, offset, isBigEndian) { + offset = offset || 0; + const endian = isBigEndian ? "BE" : "LE"; + const methodName = "readUInt" + bits + endian; + return methods[methodName](input, offset); +} +function readBox(buffer, offset) { + if (buffer.length - offset < 4) return; + const boxSize = readUInt32BE(buffer, offset); + if (buffer.length - offset < boxSize) return; + return { + name: toUTF8String(buffer, 4 + offset, 8 + offset), + offset, + size: boxSize + }; +} +function findBox(buffer, boxName, offset) { + while (offset < buffer.length) { + const box = readBox(buffer, offset); + if (!box) break; + if (box.name === boxName) return box; + offset += box.size; + } +} + +const BMP = { + validate: (input) => toUTF8String(input, 0, 2) === "BM", + calculate: (input) => ({ + height: Math.abs(readInt32LE(input, 22)), + width: readUInt32LE(input, 18) + }) +}; + +const TYPE_ICON = 1; +const SIZE_HEADER$1 = 2 + 2 + 2; +const SIZE_IMAGE_ENTRY = 1 + 1 + 1 + 1 + 2 + 2 + 4 + 4; +function getSizeFromOffset(input, offset) { + const value = input[offset]; + return value === 0 ? 256 : value; +} +function getImageSize$1(input, imageIndex) { + const offset = SIZE_HEADER$1 + imageIndex * SIZE_IMAGE_ENTRY; + return { + height: getSizeFromOffset(input, offset + 1), + width: getSizeFromOffset(input, offset) + }; +} +const ICO = { + validate(input) { + const reserved = readUInt16LE(input, 0); + const imageCount = readUInt16LE(input, 4); + if (reserved !== 0 || imageCount === 0) return false; + const imageType = readUInt16LE(input, 2); + return imageType === TYPE_ICON; + }, + calculate(input) { + const nbImages = readUInt16LE(input, 4); + const imageSize = getImageSize$1(input, 0); + if (nbImages === 1) return imageSize; + const imgs = [imageSize]; + for (let imageIndex = 1; imageIndex < nbImages; imageIndex += 1) { + imgs.push(getImageSize$1(input, imageIndex)); + } + return { + height: imageSize.height, + images: imgs, + width: imageSize.width + }; + } +}; + +const TYPE_CURSOR = 2; +const CUR = { + validate(input) { + const reserved = readUInt16LE(input, 0); + const imageCount = readUInt16LE(input, 4); + if (reserved !== 0 || imageCount === 0) return false; + const imageType = readUInt16LE(input, 2); + return imageType === TYPE_CURSOR; + }, + calculate: (input) => ICO.calculate(input) +}; + +const DDS = { + validate: (input) => readUInt32LE(input, 0) === 542327876, + calculate: (input) => ({ + height: readUInt32LE(input, 12), + width: readUInt32LE(input, 16) + }) +}; + +const gifRegexp = /^GIF8[79]a/; +const GIF = { + validate: (input) => gifRegexp.test(toUTF8String(input, 0, 6)), + calculate: (input) => ({ + height: readUInt16LE(input, 8), + width: readUInt16LE(input, 6) + }) +}; + +const brandMap = { + avif: "avif", + avis: "avif", + // avif-sequence + mif1: "heif", + msf1: "heif", + // heif-sequence + heic: "heic", + heix: "heic", + hevc: "heic", + // heic-sequence + hevx: "heic" + // heic-sequence +}; +function detectBrands(buffer, start, end) { + let brandsDetected = {}; + for (let i = start; i <= end; i += 4) { + const brand = toUTF8String(buffer, i, i + 4); + if (brand in brandMap) { + brandsDetected[brand] = 1; + } + } + if ("avif" in brandsDetected || "avis" in brandsDetected) { + return "avif"; + } else if ("heic" in brandsDetected || "heix" in brandsDetected || "hevc" in brandsDetected || "hevx" in brandsDetected) { + return "heic"; + } else if ("mif1" in brandsDetected || "msf1" in brandsDetected) { + return "heif"; + } +} +const HEIF = { + validate(buffer) { + const ftype = toUTF8String(buffer, 4, 8); + const brand = toUTF8String(buffer, 8, 12); + return "ftyp" === ftype && brand in brandMap; + }, + calculate(buffer) { + const metaBox = findBox(buffer, "meta", 0); + const iprpBox = metaBox && findBox(buffer, "iprp", metaBox.offset + 12); + const ipcoBox = iprpBox && findBox(buffer, "ipco", iprpBox.offset + 8); + const ispeBox = ipcoBox && findBox(buffer, "ispe", ipcoBox.offset + 8); + if (ispeBox) { + return { + height: readUInt32BE(buffer, ispeBox.offset + 16), + width: readUInt32BE(buffer, ispeBox.offset + 12), + type: detectBrands(buffer, 8, metaBox.offset) + }; + } + throw new TypeError("Invalid HEIF, no size found"); + } +}; + +const SIZE_HEADER = 4 + 4; +const FILE_LENGTH_OFFSET = 4; +const ENTRY_LENGTH_OFFSET = 4; +const ICON_TYPE_SIZE = { + ICON: 32, + "ICN#": 32, + // m => 16 x 16 + "icm#": 16, + icm4: 16, + icm8: 16, + // s => 16 x 16 + "ics#": 16, + ics4: 16, + ics8: 16, + is32: 16, + s8mk: 16, + icp4: 16, + // l => 32 x 32 + icl4: 32, + icl8: 32, + il32: 32, + l8mk: 32, + icp5: 32, + ic11: 32, + // h => 48 x 48 + ich4: 48, + ich8: 48, + ih32: 48, + h8mk: 48, + // . => 64 x 64 + icp6: 64, + ic12: 32, + // t => 128 x 128 + it32: 128, + t8mk: 128, + ic07: 128, + // . => 256 x 256 + ic08: 256, + ic13: 256, + // . => 512 x 512 + ic09: 512, + ic14: 512, + // . => 1024 x 1024 + ic10: 1024 +}; +function readImageHeader(input, imageOffset) { + const imageLengthOffset = imageOffset + ENTRY_LENGTH_OFFSET; + return [ + toUTF8String(input, imageOffset, imageLengthOffset), + readUInt32BE(input, imageLengthOffset) + ]; +} +function getImageSize(type) { + const size = ICON_TYPE_SIZE[type]; + return { width: size, height: size, type }; +} +const ICNS = { + validate: (input) => toUTF8String(input, 0, 4) === "icns", + calculate(input) { + const inputLength = input.length; + const fileLength = readUInt32BE(input, FILE_LENGTH_OFFSET); + let imageOffset = SIZE_HEADER; + let imageHeader = readImageHeader(input, imageOffset); + let imageSize = getImageSize(imageHeader[0]); + imageOffset += imageHeader[1]; + if (imageOffset === fileLength) return imageSize; + const result = { + height: imageSize.height, + images: [imageSize], + width: imageSize.width + }; + while (imageOffset < fileLength && imageOffset < inputLength) { + imageHeader = readImageHeader(input, imageOffset); + imageSize = getImageSize(imageHeader[0]); + imageOffset += imageHeader[1]; + result.images.push(imageSize); + } + return result; + } +}; + +const J2C = { + // TODO: this doesn't seem right. SIZ marker doesn't have to be right after the SOC + validate: (input) => toHexString(input, 0, 4) === "ff4fff51", + calculate: (input) => ({ + height: readUInt32BE(input, 12), + width: readUInt32BE(input, 8) + }) +}; + +const JP2 = { + validate(input) { + if (readUInt32BE(input, 4) !== 1783636e3 || readUInt32BE(input, 0) < 1) return false; + const ftypBox = findBox(input, "ftyp", 0); + if (!ftypBox) return false; + return readUInt32BE(input, ftypBox.offset + 4) === 1718909296; + }, + calculate(input) { + const jp2hBox = findBox(input, "jp2h", 0); + const ihdrBox = jp2hBox && findBox(input, "ihdr", jp2hBox.offset + 8); + if (ihdrBox) { + return { + height: readUInt32BE(input, ihdrBox.offset + 8), + width: readUInt32BE(input, ihdrBox.offset + 12) + }; + } + throw new TypeError("Unsupported JPEG 2000 format"); + } +}; + +const EXIF_MARKER = "45786966"; +const APP1_DATA_SIZE_BYTES = 2; +const EXIF_HEADER_BYTES = 6; +const TIFF_BYTE_ALIGN_BYTES = 2; +const BIG_ENDIAN_BYTE_ALIGN = "4d4d"; +const LITTLE_ENDIAN_BYTE_ALIGN = "4949"; +const IDF_ENTRY_BYTES = 12; +const NUM_DIRECTORY_ENTRIES_BYTES = 2; +function isEXIF(input) { + return toHexString(input, 2, 6) === EXIF_MARKER; +} +function extractSize(input, index) { + return { + height: readUInt16BE(input, index), + width: readUInt16BE(input, index + 2) + }; +} +function extractOrientation(exifBlock, isBigEndian) { + const idfOffset = 8; + const offset = EXIF_HEADER_BYTES + idfOffset; + const idfDirectoryEntries = readUInt(exifBlock, 16, offset, isBigEndian); + for (let directoryEntryNumber = 0; directoryEntryNumber < idfDirectoryEntries; directoryEntryNumber++) { + const start = offset + NUM_DIRECTORY_ENTRIES_BYTES + directoryEntryNumber * IDF_ENTRY_BYTES; + const end = start + IDF_ENTRY_BYTES; + if (start > exifBlock.length) { + return; + } + const block = exifBlock.slice(start, end); + const tagNumber = readUInt(block, 16, 0, isBigEndian); + if (tagNumber === 274) { + const dataFormat = readUInt(block, 16, 2, isBigEndian); + if (dataFormat !== 3) { + return; + } + const numberOfComponents = readUInt(block, 32, 4, isBigEndian); + if (numberOfComponents !== 1) { + return; + } + return readUInt(block, 16, 8, isBigEndian); + } + } +} +function validateExifBlock(input, index) { + const exifBlock = input.slice(APP1_DATA_SIZE_BYTES, index); + const byteAlign = toHexString( + exifBlock, + EXIF_HEADER_BYTES, + EXIF_HEADER_BYTES + TIFF_BYTE_ALIGN_BYTES + ); + const isBigEndian = byteAlign === BIG_ENDIAN_BYTE_ALIGN; + const isLittleEndian = byteAlign === LITTLE_ENDIAN_BYTE_ALIGN; + if (isBigEndian || isLittleEndian) { + return extractOrientation(exifBlock, isBigEndian); + } +} +function validateInput(input, index) { + if (index > input.length) { + throw new TypeError("Corrupt JPG, exceeded buffer limits"); + } +} +const JPG = { + validate: (input) => toHexString(input, 0, 2) === "ffd8", + calculate(input) { + input = input.slice(4); + let orientation; + let next; + while (input.length) { + const i = readUInt16BE(input, 0); + if (input[i] !== 255) { + input = input.slice(i); + continue; + } + if (isEXIF(input)) { + orientation = validateExifBlock(input, i); + } + validateInput(input, i); + next = input[i + 1]; + if (next === 192 || next === 193 || next === 194) { + const size = extractSize(input, i + 5); + if (!orientation) { + return size; + } + return { + height: size.height, + orientation, + width: size.width + }; + } + input = input.slice(i + 2); + } + throw new TypeError("Invalid JPG, no size found"); + } +}; + +const KTX = { + validate: (input) => { + const signature = toUTF8String(input, 1, 7); + return ["KTX 11", "KTX 20"].includes(signature); + }, + calculate: (input) => { + const type = input[5] === 49 ? "ktx" : "ktx2"; + const offset = type === "ktx" ? 36 : 20; + return { + height: readUInt32LE(input, offset + 4), + width: readUInt32LE(input, offset), + type + }; + } +}; + +const pngSignature = "PNG\r\n\n"; +const pngImageHeaderChunkName = "IHDR"; +const pngFriedChunkName = "CgBI"; +const PNG = { + validate(input) { + if (pngSignature === toUTF8String(input, 1, 8)) { + let chunkName = toUTF8String(input, 12, 16); + if (chunkName === pngFriedChunkName) { + chunkName = toUTF8String(input, 28, 32); + } + if (chunkName !== pngImageHeaderChunkName) { + throw new TypeError("Invalid PNG"); + } + return true; + } + return false; + }, + calculate(input) { + if (toUTF8String(input, 12, 16) === pngFriedChunkName) { + return { + height: readUInt32BE(input, 36), + width: readUInt32BE(input, 32) + }; + } + return { + height: readUInt32BE(input, 20), + width: readUInt32BE(input, 16) + }; + } +}; + +const PNMTypes = { + P1: "pbm/ascii", + P2: "pgm/ascii", + P3: "ppm/ascii", + P4: "pbm", + P5: "pgm", + P6: "ppm", + P7: "pam", + PF: "pfm" +}; +const handlers = { + default: (lines) => { + let dimensions = []; + while (lines.length > 0) { + const line = lines.shift(); + if (line[0] === "#") { + continue; + } + dimensions = line.split(" "); + break; + } + if (dimensions.length === 2) { + return { + height: parseInt(dimensions[1], 10), + width: parseInt(dimensions[0], 10) + }; + } else { + throw new TypeError("Invalid PNM"); + } + }, + pam: (lines) => { + const size = {}; + while (lines.length > 0) { + const line = lines.shift(); + if (line.length > 16 || line.charCodeAt(0) > 128) { + continue; + } + const [key, value] = line.split(" "); + if (key && value) { + size[key.toLowerCase()] = parseInt(value, 10); + } + if (size.height && size.width) { + break; + } + } + if (size.height && size.width) { + return { + height: size.height, + width: size.width + }; + } else { + throw new TypeError("Invalid PAM"); + } + } +}; +const PNM = { + validate: (input) => toUTF8String(input, 0, 2) in PNMTypes, + calculate(input) { + const signature = toUTF8String(input, 0, 2); + const type = PNMTypes[signature]; + const lines = toUTF8String(input, 3).split(/[\r\n]+/); + const handler = handlers[type] || handlers.default; + return handler(lines); + } +}; + +const PSD = { + validate: (input) => toUTF8String(input, 0, 4) === "8BPS", + calculate: (input) => ({ + height: readUInt32BE(input, 14), + width: readUInt32BE(input, 18) + }) +}; + +const svgReg = /"']|"[^"]*"|'[^']*')*>/; +const extractorRegExps = { + height: /\sheight=(['"])([^%]+?)\1/, + root: svgReg, + viewbox: /\sviewBox=(['"])(.+?)\1/i, + width: /\swidth=(['"])([^%]+?)\1/ +}; +const INCH_CM = 2.54; +const units = { + in: 96, + cm: 96 / INCH_CM, + em: 16, + ex: 8, + m: 96 / INCH_CM * 100, + mm: 96 / INCH_CM / 10, + pc: 96 / 72 / 12, + pt: 96 / 72, + px: 1 +}; +const unitsReg = new RegExp( + `^([0-9.]+(?:e\\d+)?)(${Object.keys(units).join("|")})?$` +); +function parseLength(len) { + const m = unitsReg.exec(len); + if (!m) { + return void 0; + } + return Math.round(Number(m[1]) * (units[m[2]] || 1)); +} +function parseViewbox(viewbox) { + const bounds = viewbox.split(" "); + return { + height: parseLength(bounds[3]), + width: parseLength(bounds[2]) + }; +} +function parseAttributes(root) { + const width = extractorRegExps.width.exec(root); + const height = extractorRegExps.height.exec(root); + const viewbox = extractorRegExps.viewbox.exec(root); + return { + height: height && parseLength(height[2]), + viewbox: viewbox && parseViewbox(viewbox[2]), + width: width && parseLength(width[2]) + }; +} +function calculateByDimensions(attrs) { + return { + height: attrs.height, + width: attrs.width + }; +} +function calculateByViewbox(attrs, viewbox) { + const ratio = viewbox.width / viewbox.height; + if (attrs.width) { + return { + height: Math.floor(attrs.width / ratio), + width: attrs.width + }; + } + if (attrs.height) { + return { + height: attrs.height, + width: Math.floor(attrs.height * ratio) + }; + } + return { + height: viewbox.height, + width: viewbox.width + }; +} +const SVG = { + // Scan only the first kilo-byte to speed up the check on larger files + validate: (input) => svgReg.test(toUTF8String(input, 0, 1e3)), + calculate(input) { + const root = extractorRegExps.root.exec(toUTF8String(input)); + if (root) { + const attrs = parseAttributes(root[0]); + if (attrs.width && attrs.height) { + return calculateByDimensions(attrs); + } + if (attrs.viewbox) { + return calculateByViewbox(attrs, attrs.viewbox); + } + } + throw new TypeError("Invalid SVG"); + } +}; + +const TGA = { + validate(input) { + return readUInt16LE(input, 0) === 0 && readUInt16LE(input, 4) === 0; + }, + calculate(input) { + return { + height: readUInt16LE(input, 14), + width: readUInt16LE(input, 12) + }; + } +}; + +function readIFD(input, isBigEndian) { + const ifdOffset = readUInt(input, 32, 4, isBigEndian); + return input.slice(ifdOffset + 2); +} +function readValue(input, isBigEndian) { + const low = readUInt(input, 16, 8, isBigEndian); + const high = readUInt(input, 16, 10, isBigEndian); + return (high << 16) + low; +} +function nextTag(input) { + if (input.length > 24) { + return input.slice(12); + } +} +function extractTags(input, isBigEndian) { + const tags = {}; + let temp = input; + while (temp && temp.length) { + const code = readUInt(temp, 16, 0, isBigEndian); + const type = readUInt(temp, 16, 2, isBigEndian); + const length = readUInt(temp, 32, 4, isBigEndian); + if (code === 0) { + break; + } else { + if (length === 1 && (type === 3 || type === 4)) { + tags[code] = readValue(temp, isBigEndian); + } + temp = nextTag(temp); + } + } + return tags; +} +function determineEndianness(input) { + const signature = toUTF8String(input, 0, 2); + if ("II" === signature) { + return "LE"; + } else if ("MM" === signature) { + return "BE"; + } +} +const signatures = [ + // '492049', // currently not supported + "49492a00", + // Little endian + "4d4d002a" + // Big Endian + // '4d4d002a', // BigTIFF > 4GB. currently not supported +]; +const TIFF = { + validate: (input) => signatures.includes(toHexString(input, 0, 4)), + calculate(input) { + const isBigEndian = determineEndianness(input) === "BE"; + const ifdBuffer = readIFD(input, isBigEndian); + const tags = extractTags(ifdBuffer, isBigEndian); + const width = tags[256]; + const height = tags[257]; + if (!width || !height) { + throw new TypeError("Invalid Tiff. Missing tags"); + } + return { height, width }; + } +}; + +function calculateExtended(input) { + return { + height: 1 + readUInt24LE(input, 7), + width: 1 + readUInt24LE(input, 4) + }; +} +function calculateLossless(input) { + return { + height: 1 + ((input[4] & 15) << 10 | input[3] << 2 | (input[2] & 192) >> 6), + width: 1 + ((input[2] & 63) << 8 | input[1]) + }; +} +function calculateLossy(input) { + return { + height: readInt16LE(input, 8) & 16383, + width: readInt16LE(input, 6) & 16383 + }; +} +const WEBP = { + validate(input) { + const riffHeader = "RIFF" === toUTF8String(input, 0, 4); + const webpHeader = "WEBP" === toUTF8String(input, 8, 12); + const vp8Header = "VP8" === toUTF8String(input, 12, 15); + return riffHeader && webpHeader && vp8Header; + }, + calculate(input) { + const chunkHeader = toUTF8String(input, 12, 16); + input = input.slice(20, 30); + if (chunkHeader === "VP8X") { + const extendedHeader = input[0]; + const validStart = (extendedHeader & 192) === 0; + const validEnd = (extendedHeader & 1) === 0; + if (validStart && validEnd) { + return calculateExtended(input); + } else { + throw new TypeError("Invalid WebP"); + } + } + if (chunkHeader === "VP8 " && input[0] !== 47) { + return calculateLossy(input); + } + const signature = toHexString(input, 3, 6); + if (chunkHeader === "VP8L" && signature !== "9d012a") { + return calculateLossless(input); + } + throw new TypeError("Invalid WebP"); + } +}; + +const typeHandlers = /* @__PURE__ */ new Map([ + ["bmp", BMP], + ["cur", CUR], + ["dds", DDS], + ["gif", GIF], + ["heif", HEIF], + ["icns", ICNS], + ["ico", ICO], + ["j2c", J2C], + ["jp2", JP2], + ["jpg", JPG], + ["ktx", KTX], + ["png", PNG], + ["pnm", PNM], + ["psd", PSD], + ["svg", SVG], + ["tga", TGA], + ["tiff", TIFF], + ["webp", WEBP] +]); +const types = Array.from(typeHandlers.keys()); + +const firstBytes = /* @__PURE__ */ new Map([ + [56, "psd"], + [66, "bmp"], + [68, "dds"], + [71, "gif"], + [73, "tiff"], + [77, "tiff"], + [82, "webp"], + [105, "icns"], + [137, "png"], + [255, "jpg"] +]); +function detector(input) { + const byte = input[0]; + const type = firstBytes.get(byte); + if (type && typeHandlers.get(type).validate(input)) { + return type; + } + return types.find((fileType) => typeHandlers.get(fileType).validate(input)); +} + +function lookup(input) { + const type = detector(input); + if (typeof type !== "undefined") { + const size = typeHandlers.get(type).calculate(input); + if (size !== void 0) { + size.type = size.type ?? type; + return size; + } + } + throw new TypeError("unsupported file type: " + type); +} + +async function imageMetadata(data, src) { + let result; + try { + result = lookup(data); + } catch { + throw new AstroError({ + ...NoImageMetadata, + message: NoImageMetadata.message(src) + }); + } + if (!result.height || !result.width || !result.type) { + throw new AstroError({ + ...NoImageMetadata, + message: NoImageMetadata.message(src) + }); + } + const { width, height, type, orientation } = result; + const isPortrait = (orientation || 0) >= 5; + return { + width: isPortrait ? height : width, + height: isPortrait ? width : height, + format: type, + orientation + }; +} + +async function inferRemoteSize(url) { + const response = await fetch(url); + if (!response.body || !response.ok) { + throw new AstroError({ + ...FailedToFetchRemoteImageDimensions, + message: FailedToFetchRemoteImageDimensions.message(url) + }); + } + const reader = response.body.getReader(); + let done, value; + let accumulatedChunks = new Uint8Array(); + while (!done) { + const readResult = await reader.read(); + done = readResult.done; + if (done) break; + if (readResult.value) { + value = readResult.value; + let tmp = new Uint8Array(accumulatedChunks.length + value.length); + tmp.set(accumulatedChunks, 0); + tmp.set(value, accumulatedChunks.length); + accumulatedChunks = tmp; + try { + const dimensions = await imageMetadata(accumulatedChunks, url); + if (dimensions) { + await reader.cancel(); + return dimensions; + } + } catch { + } + } + } + throw new AstroError({ + ...NoImageMetadata, + message: NoImageMetadata.message(url) + }); +} + +async function getConfiguredImageService() { + if (!globalThis?.astroAsset?.imageService) { + const { default: service } = await import( + // @ts-expect-error + './sharp_DRkwzUY0.mjs' + ).catch((e) => { + const error = new AstroError(InvalidImageService); + error.cause = e; + throw error; + }); + if (!globalThis.astroAsset) globalThis.astroAsset = {}; + globalThis.astroAsset.imageService = service; + return service; + } + return globalThis.astroAsset.imageService; +} +async function getImage$1(options, imageConfig) { + if (!options || typeof options !== "object") { + throw new AstroError({ + ...ExpectedImageOptions, + message: ExpectedImageOptions.message(JSON.stringify(options)) + }); + } + if (typeof options.src === "undefined") { + throw new AstroError({ + ...ExpectedImage, + message: ExpectedImage.message( + options.src, + "undefined", + JSON.stringify(options) + ) + }); + } + if (isImageMetadata(options)) { + throw new AstroError(ExpectedNotESMImage); + } + const service = await getConfiguredImageService(); + const resolvedOptions = { + ...options, + src: await resolveSrc(options.src) + }; + let originalWidth; + let originalHeight; + if (options.inferSize && isRemoteImage(resolvedOptions.src) && isRemotePath(resolvedOptions.src)) { + const result = await inferRemoteSize(resolvedOptions.src); + resolvedOptions.width ??= result.width; + resolvedOptions.height ??= result.height; + originalWidth = result.width; + originalHeight = result.height; + delete resolvedOptions.inferSize; + } + const originalFilePath = isESMImportedImage(resolvedOptions.src) ? resolvedOptions.src.fsPath : void 0; + const clonedSrc = isESMImportedImage(resolvedOptions.src) ? ( + // @ts-expect-error - clone is a private, hidden prop + resolvedOptions.src.clone ?? resolvedOptions.src + ) : resolvedOptions.src; + if (isESMImportedImage(clonedSrc)) { + originalWidth = clonedSrc.width; + originalHeight = clonedSrc.height; + } + if (originalWidth && originalHeight) { + const aspectRatio = originalWidth / originalHeight; + if (resolvedOptions.height && !resolvedOptions.width) { + resolvedOptions.width = Math.round(resolvedOptions.height * aspectRatio); + } else if (resolvedOptions.width && !resolvedOptions.height) { + resolvedOptions.height = Math.round(resolvedOptions.width / aspectRatio); + } else if (!resolvedOptions.width && !resolvedOptions.height) { + resolvedOptions.width = originalWidth; + resolvedOptions.height = originalHeight; + } + } + resolvedOptions.src = clonedSrc; + const layout = options.layout ?? imageConfig.layout ?? "none"; + if (resolvedOptions.priority) { + resolvedOptions.loading ??= "eager"; + resolvedOptions.decoding ??= "sync"; + resolvedOptions.fetchpriority ??= "high"; + delete resolvedOptions.priority; + } else { + resolvedOptions.loading ??= "lazy"; + resolvedOptions.decoding ??= "async"; + resolvedOptions.fetchpriority ??= "auto"; + } + if (layout !== "none") { + resolvedOptions.widths ||= getWidths({ + width: resolvedOptions.width, + layout, + originalWidth, + breakpoints: imageConfig.breakpoints?.length ? imageConfig.breakpoints : isLocalService(service) ? LIMITED_RESOLUTIONS : DEFAULT_RESOLUTIONS + }); + resolvedOptions.sizes ||= getSizesAttribute({ width: resolvedOptions.width, layout }); + delete resolvedOptions.densities; + resolvedOptions.style = addCSSVarsToStyle( + { + fit: cssFitValues.includes(resolvedOptions.fit ?? "") && resolvedOptions.fit, + pos: resolvedOptions.position + }, + resolvedOptions.style + ); + resolvedOptions["data-astro-image"] = layout; + } + const validatedOptions = service.validateOptions ? await service.validateOptions(resolvedOptions, imageConfig) : resolvedOptions; + const srcSetTransforms = service.getSrcSet ? await service.getSrcSet(validatedOptions, imageConfig) : []; + let imageURL = await service.getURL(validatedOptions, imageConfig); + const matchesValidatedTransform = (transform) => transform.width === validatedOptions.width && transform.height === validatedOptions.height && transform.format === validatedOptions.format; + let srcSets = await Promise.all( + srcSetTransforms.map(async (srcSet) => { + return { + transform: srcSet.transform, + url: matchesValidatedTransform(srcSet.transform) ? imageURL : await service.getURL(srcSet.transform, imageConfig), + descriptor: srcSet.descriptor, + attributes: srcSet.attributes + }; + }) + ); + if (isLocalService(service) && globalThis.astroAsset.addStaticImage && !(isRemoteImage(validatedOptions.src) && imageURL === validatedOptions.src)) { + const propsToHash = service.propertiesToHash ?? DEFAULT_HASH_PROPS; + imageURL = globalThis.astroAsset.addStaticImage( + validatedOptions, + propsToHash, + originalFilePath + ); + srcSets = srcSetTransforms.map((srcSet) => { + return { + transform: srcSet.transform, + url: matchesValidatedTransform(srcSet.transform) ? imageURL : globalThis.astroAsset.addStaticImage(srcSet.transform, propsToHash, originalFilePath), + descriptor: srcSet.descriptor, + attributes: srcSet.attributes + }; + }); + } + return { + rawOptions: resolvedOptions, + options: validatedOptions, + src: imageURL, + srcSet: { + values: srcSets, + attribute: srcSets.map((srcSet) => `${srcSet.url} ${srcSet.descriptor}`).join(", ") + }, + attributes: service.getHTMLAttributes !== void 0 ? await service.getHTMLAttributes(validatedOptions, imageConfig) : {} + }; +} + +const $$Astro$2 = createAstro(); +const $$Image = createComponent(async ($$result, $$props, $$slots) => { + const Astro2 = $$result.createAstro($$Astro$2, $$props, $$slots); + Astro2.self = $$Image; + const props = Astro2.props; + if (props.alt === void 0 || props.alt === null) { + throw new AstroError(ImageMissingAlt); + } + if (typeof props.width === "string") { + props.width = parseInt(props.width); + } + if (typeof props.height === "string") { + props.height = parseInt(props.height); + } + const layout = props.layout ?? imageConfig.layout ?? "none"; + if (layout !== "none") { + props.layout ??= imageConfig.layout; + props.fit ??= imageConfig.objectFit ?? "cover"; + props.position ??= imageConfig.objectPosition ?? "center"; + } + const image = await getImage(props); + const additionalAttributes = {}; + if (image.srcSet.values.length > 0) { + additionalAttributes.srcset = image.srcSet.attribute; + } + const { class: className, ...attributes } = { ...additionalAttributes, ...image.attributes }; + return renderTemplate`${maybeRenderHead()}`; +}, "/root/homewebsite/node_modules/astro/components/Image.astro", void 0); + +const $$Astro$1 = createAstro(); +const $$Picture = createComponent(async ($$result, $$props, $$slots) => { + const Astro2 = $$result.createAstro($$Astro$1, $$props, $$slots); + Astro2.self = $$Picture; + const defaultFormats = ["webp"]; + const defaultFallbackFormat = "png"; + const specialFormatsFallback = ["gif", "svg", "jpg", "jpeg"]; + const { formats = defaultFormats, pictureAttributes = {}, fallbackFormat, ...props } = Astro2.props; + if (props.alt === void 0 || props.alt === null) { + throw new AstroError(ImageMissingAlt); + } + const scopedStyleClass = props.class?.match(/\bastro-\w{8}\b/)?.[0]; + if (scopedStyleClass) { + if (pictureAttributes.class) { + pictureAttributes.class = `${pictureAttributes.class} ${scopedStyleClass}`; + } else { + pictureAttributes.class = scopedStyleClass; + } + } + const layout = props.layout ?? imageConfig.layout ?? "none"; + const useResponsive = layout !== "none"; + if (useResponsive) { + props.layout ??= imageConfig.layout; + props.fit ??= imageConfig.objectFit ?? "cover"; + props.position ??= imageConfig.objectPosition ?? "center"; + } + for (const key in props) { + if (key.startsWith("data-astro-cid")) { + pictureAttributes[key] = props[key]; + } + } + const originalSrc = await resolveSrc(props.src); + const optimizedImages = await Promise.all( + formats.map( + async (format) => await getImage({ + ...props, + src: originalSrc, + format, + widths: props.widths, + densities: props.densities + }) + ) + ); + let resultFallbackFormat = fallbackFormat ?? defaultFallbackFormat; + if (!fallbackFormat && isESMImportedImage(originalSrc) && specialFormatsFallback.includes(originalSrc.format)) { + resultFallbackFormat = originalSrc.format; + } + const fallbackImage = await getImage({ + ...props, + format: resultFallbackFormat, + widths: props.widths, + densities: props.densities + }); + const imgAdditionalAttributes = {}; + const sourceAdditionalAttributes = {}; + if (props.sizes) { + sourceAdditionalAttributes.sizes = props.sizes; + } + if (fallbackImage.srcSet.values.length > 0) { + imgAdditionalAttributes.srcset = fallbackImage.srcSet.attribute; + } + const { class: className, ...attributes } = { + ...imgAdditionalAttributes, + ...fallbackImage.attributes + }; + return renderTemplate`${maybeRenderHead()} ${Object.entries(optimizedImages).map(([_, image]) => { + const srcsetAttribute = props.densities || !props.densities && !props.widths && !useResponsive ? `${image.src}${image.srcSet.values.length > 0 ? ", " + image.srcSet.attribute : ""}` : image.srcSet.attribute; + return renderTemplate``; + })} `; +}, "/root/homewebsite/node_modules/astro/components/Picture.astro", void 0); + +const fontsMod = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({ + __proto__: null +}, Symbol.toStringTag, { value: 'Module' })); + +const $$Astro = createAstro(); +const $$Font = createComponent(($$result, $$props, $$slots) => { + const Astro2 = $$result.createAstro($$Astro, $$props, $$slots); + Astro2.self = $$Font; + const { internalConsumableMap } = fontsMod; + if (!internalConsumableMap) { + throw new AstroError(ExperimentalFontsNotEnabled); + } + const { cssVariable, preload = false } = Astro2.props; + const data = internalConsumableMap.get(cssVariable); + if (!data) { + throw new AstroError({ + ...FontFamilyNotFound, + message: FontFamilyNotFound.message(cssVariable) + }); + } + return renderTemplate`${preload && data.preloadData.map(({ url, type }) => renderTemplate``)}`; +}, "/root/homewebsite/node_modules/astro/components/Font.astro", void 0); + +const imageConfig = {"endpoint":{"route":"/_image","entrypoint":"astro/assets/endpoint/node"},"service":{"entrypoint":"astro/assets/services/sharp","config":{}},"domains":[],"remotePatterns":[],"responsiveStyles":false}; + // This is used by the @astrojs/node integration to locate images. + // It's unused on other platforms, but on some platforms like Netlify (and presumably also Vercel) + // new URL("dist/...") is interpreted by the bundler as a signal to include that directory + // in the Lambda bundle, which would bloat the bundle with images. + // To prevent this, we mark the URL construction as pure, + // so that it's tree-shaken away for all platforms that don't need it. + const outDir = /* #__PURE__ */ new URL("file:///root/homewebsite/dist/client/"); + const getImage = async (options) => await getImage$1(options, imageConfig); + +const fnv1a52 = (str) => { + const len = str.length; + let i = 0, t0 = 0, v0 = 8997, t1 = 0, v1 = 33826, t2 = 0, v2 = 40164, t3 = 0, v3 = 52210; + while (i < len) { + v0 ^= str.charCodeAt(i++); + t0 = v0 * 435; + t1 = v1 * 435; + t2 = v2 * 435; + t3 = v3 * 435; + t2 += v0 << 8; + t3 += v1 << 8; + t1 += t0 >>> 16; + v0 = t0 & 65535; + t2 += t1 >>> 16; + v1 = t1 & 65535; + v3 = t3 + (t2 >>> 16) & 65535; + v2 = t2 & 65535; + } + return (v3 & 15) * 281474976710656 + v2 * 4294967296 + v1 * 65536 + (v0 ^ v3 >> 4); +}; +const etag = (payload, weak = false) => { + const prefix = weak ? 'W/"' : '"'; + return prefix + fnv1a52(payload).toString(36) + payload.length.toString(36) + '"'; +}; + +async function loadRemoteImage(src) { + try { + const res = await fetch(src); + if (!res.ok) { + return void 0; + } + return Buffer.from(await res.arrayBuffer()); + } catch { + return void 0; + } +} +const handleImageRequest = async ({ + request, + loadLocalImage +}) => { + const imageService = await getConfiguredImageService(); + if (!("transform" in imageService)) { + throw new Error("Configured image service is not a local service"); + } + const url = new URL(request.url); + const transform = await imageService.parseURL(url, imageConfig); + if (!transform?.src) { + return new Response("Invalid request", { status: 400 }); + } + let inputBuffer = void 0; + if (isRemotePath(transform.src)) { + if (!isRemoteAllowed(transform.src, imageConfig)) { + return new Response("Forbidden", { status: 403 }); + } + inputBuffer = await loadRemoteImage(new URL(transform.src)); + } else { + inputBuffer = await loadLocalImage(removeQueryString(transform.src), url); + } + if (!inputBuffer) { + return new Response("Internal Server Error", { status: 500 }); + } + const { data, format } = await imageService.transform(inputBuffer, transform, imageConfig); + return new Response(data, { + status: 200, + headers: { + "Content-Type": mime.lookup(format) ?? `image/${format}`, + "Cache-Control": "public, max-age=31536000", + ETag: etag(data.toString()), + Date: (/* @__PURE__ */ new Date()).toUTCString() + } + }); +}; + +async function loadLocalImage(src, url) { + const idx = url.pathname.indexOf("/_image"); + if (idx > 0) { + src = src.slice(idx); + } + if (!URL.canParse("." + src, outDir)) { + return void 0; + } + const fileUrl = new URL("." + src, outDir); + if (fileUrl.protocol !== "file:") { + return void 0; + } + if (!isParentDirectory(fileURLToPath(outDir), fileURLToPath(fileUrl))) { + return void 0; + } + try { + return await readFile(fileUrl); + } catch { + return void 0; + } +} +const GET = async ({ request }) => { + try { + return await handleImageRequest({ request, loadLocalImage }); + } catch (err) { + console.error("Could not process image request:", err); + return new Response("Internal Server Error", { + status: 500 + }); + } +}; + +const _page = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({ + __proto__: null, + GET +}, Symbol.toStringTag, { value: 'Module' })); + +const page = () => _page; + +export { page as a, baseService as b, parseQuality as p }; diff --git a/dist/server/chunks/remote_OOD9OFqU.mjs b/dist/server/chunks/remote_OOD9OFqU.mjs new file mode 100644 index 0000000..33d88f0 --- /dev/null +++ b/dist/server/chunks/remote_OOD9OFqU.mjs @@ -0,0 +1,188 @@ +function appendForwardSlash(path) { + return path.endsWith("/") ? path : path + "/"; +} +function prependForwardSlash(path) { + return path[0] === "/" ? path : "/" + path; +} +const MANY_TRAILING_SLASHES = /\/{2,}$/g; +function collapseDuplicateTrailingSlashes(path, trailingSlash) { + if (!path) { + return path; + } + return path.replace(MANY_TRAILING_SLASHES, trailingSlash ? "/" : "") || "/"; +} +function removeTrailingForwardSlash(path) { + return path.endsWith("/") ? path.slice(0, path.length - 1) : path; +} +function removeLeadingForwardSlash(path) { + return path.startsWith("/") ? path.substring(1) : path; +} +function trimSlashes(path) { + return path.replace(/^\/|\/$/g, ""); +} +function isString(path) { + return typeof path === "string" || path instanceof String; +} +const INTERNAL_PREFIXES = /* @__PURE__ */ new Set(["/_", "/@", "/.", "//"]); +const JUST_SLASHES = /^\/{2,}$/; +function isInternalPath(path) { + return INTERNAL_PREFIXES.has(path.slice(0, 2)) && !JUST_SLASHES.test(path); +} +function joinPaths(...paths) { + return paths.filter(isString).map((path, i) => { + if (i === 0) { + return removeTrailingForwardSlash(path); + } else if (i === paths.length - 1) { + return removeLeadingForwardSlash(path); + } else { + return trimSlashes(path); + } + }).join("/"); +} +function removeQueryString(path) { + const index = path.lastIndexOf("?"); + return index > 0 ? path.substring(0, index) : path; +} +function isRemotePath(src) { + if (!src) return false; + const trimmed = src.trim(); + if (!trimmed) return false; + let decoded = trimmed; + let previousDecoded = ""; + let maxIterations = 10; + while (decoded !== previousDecoded && maxIterations > 0) { + previousDecoded = decoded; + try { + decoded = decodeURIComponent(decoded); + } catch { + break; + } + maxIterations--; + } + if (/^[a-zA-Z]:/.test(decoded)) { + return false; + } + if (decoded[0] === "/" && decoded[1] !== "/" && decoded[1] !== "\\") { + return false; + } + if (decoded[0] === "\\") { + return true; + } + if (decoded.startsWith("//")) { + return true; + } + try { + const url = new URL(decoded, "http://n"); + if (url.username || url.password) { + return true; + } + if (decoded.includes("@") && !url.pathname.includes("@") && !url.search.includes("@")) { + return true; + } + if (url.origin !== "http://n") { + const protocol = url.protocol.toLowerCase(); + if (protocol === "file:") { + return false; + } + return true; + } + if (URL.canParse(decoded)) { + return true; + } + return false; + } catch { + return true; + } +} +function isParentDirectory(parentPath, childPath) { + if (!parentPath || !childPath) { + return false; + } + if (parentPath.includes("://") || childPath.includes("://")) { + return false; + } + if (isRemotePath(parentPath) || isRemotePath(childPath)) { + return false; + } + if (parentPath.includes("..") || childPath.includes("..")) { + return false; + } + if (parentPath.includes("\0") || childPath.includes("\0")) { + return false; + } + const normalizedParent = appendForwardSlash(slash(parentPath).toLowerCase()); + const normalizedChild = slash(childPath).toLowerCase(); + if (normalizedParent === normalizedChild || normalizedParent === normalizedChild + "/") { + return false; + } + return normalizedChild.startsWith(normalizedParent); +} +function slash(path) { + return path.replace(/\\/g, "/"); +} +function fileExtension(path) { + const ext = path.split(".").pop(); + return ext !== path ? `.${ext}` : ""; +} +const WITH_FILE_EXT = /\/[^/]+\.\w+$/; +function hasFileExtension(path) { + return WITH_FILE_EXT.test(path); +} + +function matchPattern(url, remotePattern) { + return matchProtocol(url, remotePattern.protocol) && matchHostname(url, remotePattern.hostname, true) && matchPort(url, remotePattern.port) && matchPathname(url, remotePattern.pathname, true); +} +function matchPort(url, port) { + return !port || port === url.port; +} +function matchProtocol(url, protocol) { + return !protocol || protocol === url.protocol.slice(0, -1); +} +function matchHostname(url, hostname, allowWildcard = false) { + if (!hostname) { + return true; + } else if (!allowWildcard || !hostname.startsWith("*")) { + return hostname === url.hostname; + } else if (hostname.startsWith("**.")) { + const slicedHostname = hostname.slice(2); + return slicedHostname !== url.hostname && url.hostname.endsWith(slicedHostname); + } else if (hostname.startsWith("*.")) { + const slicedHostname = hostname.slice(1); + const additionalSubdomains = url.hostname.replace(slicedHostname, "").split(".").filter(Boolean); + return additionalSubdomains.length === 1; + } + return false; +} +function matchPathname(url, pathname, allowWildcard = false) { + if (!pathname) { + return true; + } else if (!allowWildcard || !pathname.endsWith("*")) { + return pathname === url.pathname; + } else if (pathname.endsWith("/**")) { + const slicedPathname = pathname.slice(0, -2); + return slicedPathname !== url.pathname && url.pathname.startsWith(slicedPathname); + } else if (pathname.endsWith("/*")) { + const slicedPathname = pathname.slice(0, -1); + const additionalPathChunks = url.pathname.replace(slicedPathname, "").split("/").filter(Boolean); + return additionalPathChunks.length === 1; + } + return false; +} +function isRemoteAllowed(src, { + domains, + remotePatterns +}) { + if (!URL.canParse(src)) { + return false; + } + const url = new URL(src); + if (url.protocol === "data:") { + return true; + } + if (!["http:", "https:"].includes(url.protocol)) { + return false; + } + return domains.some((domain) => matchHostname(url, domain)) || remotePatterns.some((remotePattern) => matchPattern(url, remotePattern)); +} + +export { isRemotePath as a, isParentDirectory as b, appendForwardSlash as c, removeTrailingForwardSlash as d, isInternalPath as e, fileExtension as f, collapseDuplicateTrailingSlashes as g, hasFileExtension as h, isRemoteAllowed as i, joinPaths as j, matchPattern as m, prependForwardSlash as p, removeQueryString as r, slash as s, trimSlashes as t }; diff --git a/dist/server/chunks/sharp_DRkwzUY0.mjs b/dist/server/chunks/sharp_DRkwzUY0.mjs new file mode 100644 index 0000000..e66ea44 --- /dev/null +++ b/dist/server/chunks/sharp_DRkwzUY0.mjs @@ -0,0 +1,99 @@ +import { A as AstroError, al as MissingSharp } from './astro/server_BRK6phUk.mjs'; +import { b as baseService, p as parseQuality } from './node_ul8Jhv1t.mjs'; + +let sharp; +const qualityTable = { + low: 25, + mid: 50, + high: 80, + max: 100 +}; +async function loadSharp() { + let sharpImport; + try { + sharpImport = (await import('sharp')).default; + } catch { + throw new AstroError(MissingSharp); + } + sharpImport.cache(false); + return sharpImport; +} +const fitMap = { + fill: "fill", + contain: "inside", + cover: "cover", + none: "outside", + "scale-down": "inside", + outside: "outside", + inside: "inside" +}; +const sharpService = { + validateOptions: baseService.validateOptions, + getURL: baseService.getURL, + parseURL: baseService.parseURL, + getHTMLAttributes: baseService.getHTMLAttributes, + getSrcSet: baseService.getSrcSet, + async transform(inputBuffer, transformOptions, config) { + if (!sharp) sharp = await loadSharp(); + const transform = transformOptions; + if (transform.format === "svg") return { data: inputBuffer, format: "svg" }; + const result = sharp(inputBuffer, { + failOnError: false, + pages: -1, + limitInputPixels: config.service.config.limitInputPixels + }); + result.rotate(); + const withoutEnlargement = Boolean(transform.fit); + if (transform.width && transform.height && transform.fit) { + const fit = fitMap[transform.fit] ?? "inside"; + result.resize({ + width: Math.round(transform.width), + height: Math.round(transform.height), + fit, + position: transform.position, + withoutEnlargement + }); + } else if (transform.height && !transform.width) { + result.resize({ + height: Math.round(transform.height), + withoutEnlargement + }); + } else if (transform.width) { + result.resize({ + width: Math.round(transform.width), + withoutEnlargement + }); + } + if (transform.format) { + let quality = void 0; + if (transform.quality) { + const parsedQuality = parseQuality(transform.quality); + if (typeof parsedQuality === "number") { + quality = parsedQuality; + } else { + quality = transform.quality in qualityTable ? qualityTable[transform.quality] : void 0; + } + } + const isGifInput = inputBuffer[0] === 71 && // 'G' + inputBuffer[1] === 73 && // 'I' + inputBuffer[2] === 70 && // 'F' + inputBuffer[3] === 56 && // '8' + (inputBuffer[4] === 57 || inputBuffer[4] === 55) && // '9' or '7' + inputBuffer[5] === 97; + if (transform.format === "webp" && isGifInput) { + result.webp({ quality: typeof quality === "number" ? quality : void 0, loop: 0 }); + } else { + result.toFormat(transform.format, { quality }); + } + } + const { data, info } = await result.toBuffer({ resolveWithObject: true }); + const needsCopy = "buffer" in data && data.buffer instanceof SharedArrayBuffer; + return { + data: needsCopy ? new Uint8Array(data) : data, + format: info.format + }; + } +}; +var sharp_default = sharpService; + +export { sharp_default as default }; diff --git a/dist/server/entry.mjs b/dist/server/entry.mjs new file mode 100644 index 0000000..478013e --- /dev/null +++ b/dist/server/entry.mjs @@ -0,0 +1,39 @@ +import { renderers } from './renderers.mjs'; +import { c as createExports, s as serverEntrypointModule } from './chunks/_@astrojs-ssr-adapter_DiODGAEm.mjs'; +import { manifest } from './manifest_mBJLiTM-.mjs'; + +const serverIslandMap = new Map();; + +const _page0 = () => import('./pages/_image.astro.mjs'); +const _page1 = () => import('./pages/index.astro.mjs'); +const pageMap = new Map([ + ["node_modules/astro/dist/assets/endpoint/node.js", _page0], + ["src/pages/index.astro", _page1] +]); + +const _manifest = Object.assign(manifest, { + pageMap, + serverIslandMap, + renderers, + actions: () => import('./noop-entrypoint.mjs'), + middleware: () => import('./_noop-middleware.mjs') +}); +const _args = { + "mode": "standalone", + "client": "file:///root/homewebsite/dist/client/", + "server": "file:///root/homewebsite/dist/server/", + "host": "0.0.0.0", + "port": 7080, + "assets": "_astro", + "experimentalStaticHeaders": false +}; +const _exports = createExports(_manifest, _args); +const handler = _exports['handler']; +const startServer = _exports['startServer']; +const options = _exports['options']; +const _start = 'start'; +if (Object.prototype.hasOwnProperty.call(serverEntrypointModule, _start)) { + serverEntrypointModule[_start](_manifest, _args); +} + +export { handler, options, pageMap, startServer }; diff --git a/dist/server/manifest_mBJLiTM-.mjs b/dist/server/manifest_mBJLiTM-.mjs new file mode 100644 index 0000000..159795b --- /dev/null +++ b/dist/server/manifest_mBJLiTM-.mjs @@ -0,0 +1,102 @@ +import 'kleur/colors'; +import { l as decodeKey } from './chunks/astro/server_BRK6phUk.mjs'; +import 'clsx'; +import 'cookie'; +import { N as NOOP_MIDDLEWARE_FN } from './chunks/astro-designed-error-pages_ByR6z9Nn.mjs'; +import 'es-module-lexer'; + +function sanitizeParams(params) { + return Object.fromEntries( + Object.entries(params).map(([key, value]) => { + if (typeof value === "string") { + return [key, value.normalize().replace(/#/g, "%23").replace(/\?/g, "%3F")]; + } + return [key, value]; + }) + ); +} +function getParameter(part, params) { + if (part.spread) { + return params[part.content.slice(3)] || ""; + } + if (part.dynamic) { + if (!params[part.content]) { + throw new TypeError(`Missing parameter: ${part.content}`); + } + return params[part.content]; + } + return part.content.normalize().replace(/\?/g, "%3F").replace(/#/g, "%23").replace(/%5B/g, "[").replace(/%5D/g, "]"); +} +function getSegment(segment, params) { + const segmentPath = segment.map((part) => getParameter(part, params)).join(""); + return segmentPath ? "/" + segmentPath : ""; +} +function getRouteGenerator(segments, addTrailingSlash) { + return (params) => { + const sanitizedParams = sanitizeParams(params); + let trailing = ""; + if (addTrailingSlash === "always" && segments.length) { + trailing = "/"; + } + const path = segments.map((segment) => getSegment(segment, sanitizedParams)).join("") + trailing; + return path || "/"; + }; +} + +function deserializeRouteData(rawRouteData) { + return { + route: rawRouteData.route, + type: rawRouteData.type, + pattern: new RegExp(rawRouteData.pattern), + params: rawRouteData.params, + component: rawRouteData.component, + generate: getRouteGenerator(rawRouteData.segments, rawRouteData._meta.trailingSlash), + pathname: rawRouteData.pathname || void 0, + segments: rawRouteData.segments, + prerender: rawRouteData.prerender, + redirect: rawRouteData.redirect, + redirectRoute: rawRouteData.redirectRoute ? deserializeRouteData(rawRouteData.redirectRoute) : void 0, + fallbackRoutes: rawRouteData.fallbackRoutes.map((fallback) => { + return deserializeRouteData(fallback); + }), + isIndex: rawRouteData.isIndex, + origin: rawRouteData.origin + }; +} + +function deserializeManifest(serializedManifest) { + const routes = []; + for (const serializedRoute of serializedManifest.routes) { + routes.push({ + ...serializedRoute, + routeData: deserializeRouteData(serializedRoute.routeData) + }); + const route = serializedRoute; + route.routeData = deserializeRouteData(serializedRoute.routeData); + } + const assets = new Set(serializedManifest.assets); + const componentMetadata = new Map(serializedManifest.componentMetadata); + const inlinedScripts = new Map(serializedManifest.inlinedScripts); + const clientDirectives = new Map(serializedManifest.clientDirectives); + const serverIslandNameMap = new Map(serializedManifest.serverIslandNameMap); + const key = decodeKey(serializedManifest.key); + return { + // in case user middleware exists, this no-op middleware will be reassigned (see plugin-ssr.ts) + middleware() { + return { onRequest: NOOP_MIDDLEWARE_FN }; + }, + ...serializedManifest, + assets, + componentMetadata, + inlinedScripts, + clientDirectives, + routes, + serverIslandNameMap, + key + }; +} + +const manifest = deserializeManifest({"hrefRoot":"file:///root/homewebsite/","cacheDir":"file:///root/homewebsite/node_modules/.astro/","outDir":"file:///root/homewebsite/dist/","srcDir":"file:///root/homewebsite/src/","publicDir":"file:///root/homewebsite/public/","buildClientDir":"file:///root/homewebsite/dist/client/","buildServerDir":"file:///root/homewebsite/dist/server/","adapterName":"@astrojs/node","routes":[{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"type":"page","component":"_server-islands.astro","params":["name"],"segments":[[{"content":"_server-islands","dynamic":false,"spread":false}],[{"content":"name","dynamic":true,"spread":false}]],"pattern":"^\\/_server-islands\\/([^/]+?)\\/?$","prerender":false,"isIndex":false,"fallbackRoutes":[],"route":"/_server-islands/[name]","origin":"internal","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"type":"endpoint","isIndex":false,"route":"/_image","pattern":"^\\/_image\\/?$","segments":[[{"content":"_image","dynamic":false,"spread":false}]],"params":[],"component":"node_modules/astro/dist/assets/endpoint/node.js","pathname":"/_image","prerender":false,"fallbackRoutes":[],"origin":"internal","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"route":"/","isIndex":true,"type":"page","pattern":"^\\/$","segments":[],"params":[],"component":"src/pages/index.astro","pathname":"/","prerender":false,"fallbackRoutes":[],"distURL":[],"origin":"project","_meta":{"trailingSlash":"ignore"}}}],"site":"https://juchatz.com","base":"/","trailingSlash":"ignore","compressHTML":true,"componentMetadata":[["/root/homewebsite/src/pages/index.astro",{"propagation":"none","containsHead":true}]],"renderers":[],"clientDirectives":[["idle","(()=>{var l=(n,t)=>{let i=async()=>{await(await n())()},e=typeof t.value==\"object\"?t.value:void 0,s={timeout:e==null?void 0:e.timeout};\"requestIdleCallback\"in window?window.requestIdleCallback(i,s):setTimeout(i,s.timeout||200)};(self.Astro||(self.Astro={})).idle=l;window.dispatchEvent(new Event(\"astro:idle\"));})();"],["load","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).load=e;window.dispatchEvent(new Event(\"astro:load\"));})();"],["media","(()=>{var n=(a,t)=>{let i=async()=>{await(await a())()};if(t.value){let e=matchMedia(t.value);e.matches?i():e.addEventListener(\"change\",i,{once:!0})}};(self.Astro||(self.Astro={})).media=n;window.dispatchEvent(new Event(\"astro:media\"));})();"],["only","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).only=e;window.dispatchEvent(new Event(\"astro:only\"));})();"],["visible","(()=>{var a=(s,i,o)=>{let r=async()=>{await(await s())()},t=typeof i.value==\"object\"?i.value:void 0,c={rootMargin:t==null?void 0:t.rootMargin},n=new IntersectionObserver(e=>{for(let l of e)if(l.isIntersecting){n.disconnect(),r();break}},c);for(let e of o.children)n.observe(e)};(self.Astro||(self.Astro={})).visible=a;window.dispatchEvent(new Event(\"astro:visible\"));})();"]],"entryModules":{"\u0000noop-middleware":"_noop-middleware.mjs","\u0000virtual:astro:actions/noop-entrypoint":"noop-entrypoint.mjs","\u0000@astro-page:src/pages/index@_@astro":"pages/index.astro.mjs","\u0000@astrojs-ssr-virtual-entry":"entry.mjs","\u0000@astro-renderers":"renderers.mjs","\u0000@astro-page:node_modules/astro/dist/assets/endpoint/node@_@js":"pages/_image.astro.mjs","\u0000@astrojs-ssr-adapter":"_@astrojs-ssr-adapter.mjs","\u0000@astrojs-manifest":"manifest_mBJLiTM-.mjs","/root/homewebsite/node_modules/unstorage/drivers/fs-lite.mjs":"chunks/fs-lite_COtHaKzy.mjs","/root/homewebsite/node_modules/astro/dist/assets/services/sharp.js":"chunks/sharp_DRkwzUY0.mjs","astro:scripts/before-hydration.js":""},"inlinedScripts":[],"assets":["/favicon.svg"],"buildFormat":"directory","checkOrigin":true,"allowedDomains":[],"serverIslandNameMap":[],"key":"JfNUK8vOdMs0TdCi6ckjfe+7rf2Ih/vxYPu55eWz0D4=","sessionConfig":{"driver":"fs-lite","options":{"base":"/root/homewebsite/node_modules/.astro/sessions"}}}); +if (manifest.sessionConfig) manifest.sessionConfig.driverModule = () => import('./chunks/fs-lite_COtHaKzy.mjs'); + +export { manifest }; diff --git a/dist/server/noop-entrypoint.mjs b/dist/server/noop-entrypoint.mjs new file mode 100644 index 0000000..f30dc32 --- /dev/null +++ b/dist/server/noop-entrypoint.mjs @@ -0,0 +1,3 @@ +const server = {}; + +export { server }; diff --git a/dist/server/pages/_image.astro.mjs b/dist/server/pages/_image.astro.mjs new file mode 100644 index 0000000..4c20876 --- /dev/null +++ b/dist/server/pages/_image.astro.mjs @@ -0,0 +1,2 @@ +export { a as page } from '../chunks/node_ul8Jhv1t.mjs'; +export { renderers } from '../renderers.mjs'; diff --git a/dist/server/pages/index.astro.mjs b/dist/server/pages/index.astro.mjs new file mode 100644 index 0000000..ac7adc9 --- /dev/null +++ b/dist/server/pages/index.astro.mjs @@ -0,0 +1,25 @@ +import { e as createComponent, f as createAstro, h as addAttribute, k as renderHead, r as renderTemplate } from '../chunks/astro/server_BRK6phUk.mjs'; +import 'kleur/colors'; +import 'clsx'; +export { renderers } from '../renderers.mjs'; + +const $$Astro = createAstro(); +const $$Index = createComponent(($$result, $$props, $$slots) => { + const Astro2 = $$result.createAstro($$Astro, $$props, $$slots); + Astro2.self = $$Index; + return renderTemplate` Astro${renderHead()}

Astro

`; +}, "/root/homewebsite/src/pages/index.astro", void 0); + +const $$file = "/root/homewebsite/src/pages/index.astro"; +const $$url = ""; + +const _page = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({ + __proto__: null, + default: $$Index, + file: $$file, + url: $$url +}, Symbol.toStringTag, { value: 'Module' })); + +const page = () => _page; + +export { page }; diff --git a/dist/server/renderers.mjs b/dist/server/renderers.mjs new file mode 100644 index 0000000..a97849f --- /dev/null +++ b/dist/server/renderers.mjs @@ -0,0 +1,3 @@ +const renderers = []; + +export { renderers }; diff --git a/node_modules/.astro/data-store.json b/node_modules/.astro/data-store.json new file mode 100644 index 0000000..b551b29 --- /dev/null +++ b/node_modules/.astro/data-store.json @@ -0,0 +1 @@ +[["Map",1,2],"meta::meta",["Map",3,4,5,6],"astro-version","5.14.6","astro-config-digest","{\"root\":{},\"srcDir\":{},\"publicDir\":{},\"outDir\":{},\"cacheDir\":{},\"site\":\"https://juchatz.com\",\"compressHTML\":true,\"base\":\"/\",\"trailingSlash\":\"ignore\",\"output\":\"server\",\"scopedStyleStrategy\":\"attribute\",\"build\":{\"format\":\"directory\",\"client\":{},\"server\":{},\"assets\":\"_astro\",\"serverEntry\":\"entry.mjs\",\"redirects\":false,\"inlineStylesheets\":\"auto\",\"concurrency\":1},\"server\":{\"open\":false,\"host\":\"0.0.0.0\",\"port\":7080,\"streaming\":true,\"allowedHosts\":[]},\"redirects\":{},\"image\":{\"endpoint\":{\"route\":\"/_image\",\"entrypoint\":\"astro/assets/endpoint/node\"},\"service\":{\"entrypoint\":\"astro/assets/services/sharp\",\"config\":{}},\"domains\":[],\"remotePatterns\":[],\"responsiveStyles\":false},\"devToolbar\":{\"enabled\":true},\"markdown\":{\"syntaxHighlight\":{\"type\":\"shiki\",\"excludeLangs\":[\"math\"]},\"shikiConfig\":{\"langs\":[],\"langAlias\":{},\"theme\":\"github-dark\",\"themes\":{},\"wrap\":false,\"transformers\":[]},\"remarkPlugins\":[],\"rehypePlugins\":[],\"remarkRehype\":{},\"gfm\":true,\"smartypants\":true},\"security\":{\"checkOrigin\":true,\"allowedDomains\":[]},\"env\":{\"schema\":{},\"validateSecrets\":false},\"experimental\":{\"clientPrerender\":false,\"contentIntellisense\":false,\"headingIdCompat\":false,\"preserveScriptOrder\":false,\"liveContentCollections\":false,\"csp\":false,\"staticImportMetaEnv\":false,\"chromeDevtoolsWorkspace\":false,\"failOnPrerenderConflict\":false},\"legacy\":{\"collections\":false},\"session\":{\"driver\":\"fs-lite\",\"options\":{\"base\":\"/root/homewebsite/node_modules/.astro/sessions\"}}}"] \ No newline at end of file diff --git a/node_modules/.bin/sitemap b/node_modules/.bin/sitemap new file mode 120000 index 0000000..b0349ce --- /dev/null +++ b/node_modules/.bin/sitemap @@ -0,0 +1 @@ +../sitemap/dist/cli.js \ No newline at end of file diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 46d15a7..220bbf3 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -45,6 +45,20 @@ "vfile": "^6.0.3" } }, + "node_modules/@astrojs/node": { + "version": "9.5.0", + "resolved": "https://registry.npmjs.org/@astrojs/node/-/node-9.5.0.tgz", + "integrity": "sha512-x1whLIatmCefaqJA8FjfI+P6FStF+bqmmrib0OUGM1M3cZhAXKLgPx6UF2AzQ3JgpXgCWYM24MHtraPvZhhyLQ==", + "license": "MIT", + "dependencies": { + "@astrojs/internal-helpers": "0.7.4", + "send": "^1.2.0", + "server-destroy": "^1.0.1" + }, + "peerDependencies": { + "astro": "^5.14.3" + } + }, "node_modules/@astrojs/prism": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/@astrojs/prism/-/prism-3.3.0.tgz", @@ -57,6 +71,17 @@ "node": "18.20.8 || ^20.3.0 || >=22.0.0" } }, + "node_modules/@astrojs/sitemap": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/@astrojs/sitemap/-/sitemap-3.6.0.tgz", + "integrity": "sha512-4aHkvcOZBWJigRmMIAJwRQXBS+ayoP5z40OklTXYXhUDhwusz+DyDl+nSshY6y9DvkVEavwNcFO8FD81iGhXjg==", + "license": "MIT", + "dependencies": { + "sitemap": "^8.0.0", + "stream-replace-string": "^2.0.0", + "zod": "^3.25.76" + } + }, "node_modules/@astrojs/telemetry": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/@astrojs/telemetry/-/telemetry-3.3.0.tgz", @@ -783,7 +808,6 @@ "cpu": [ "x64" ], - "ideallyInert": true, "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -937,7 +961,6 @@ "cpu": [ "x64" ], - "ideallyInert": true, "license": "Apache-2.0", "optional": true, "os": [ @@ -1303,7 +1326,6 @@ "cpu": [ "x64" ], - "ideallyInert": true, "license": "MIT", "optional": true, "os": [ @@ -1522,6 +1544,15 @@ "undici-types": "~7.14.0" } }, + "node_modules/@types/sax": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@types/sax/-/sax-1.2.7.tgz", + "integrity": "sha512-rO73L89PJxeYM3s3pPPjiPgVVcymqU490g0YO5n5By0k2Erzj6tay/4lr1CHAAU4JyOWd1rpQ8bCf6cZfHU96A==", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@types/unist": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz", @@ -1645,6 +1676,12 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/arg": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", + "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==", + "license": "MIT" + }, "node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", @@ -2056,6 +2093,15 @@ "integrity": "sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==", "license": "MIT" }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/dequal": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", @@ -2133,6 +2179,18 @@ "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==", "license": "MIT" }, + "node_modules/dotenv": { + "version": "17.2.3", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.2.3.tgz", + "integrity": "sha512-JVUnt+DUIzu87TABbhPmNfVdBDt18BLOWjMUFJMSi/Qqg7NTYtabbvSNJGOJ7afbRuv9D/lngizHtP7QyLQ+9w==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, "node_modules/dset": { "version": "3.1.4", "resolved": "https://registry.npmjs.org/dset/-/dset-3.1.4.tgz", @@ -2142,12 +2200,27 @@ "node": ">=4" } }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", + "license": "MIT" + }, "node_modules/emoji-regex": { "version": "10.6.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", "license": "MIT" }, + "node_modules/encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/entities": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz", @@ -2207,6 +2280,12 @@ "@esbuild/win32-x64": "0.25.11" } }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "license": "MIT" + }, "node_modules/escape-string-regexp": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", @@ -2228,6 +2307,15 @@ "@types/estree": "^1.0.0" } }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/eventemitter3": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", @@ -2299,6 +2387,15 @@ "unicode-trie": "^2.0.0" } }, + "node_modules/fresh": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz", + "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/fsevents": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", @@ -2558,6 +2655,31 @@ "integrity": "sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==", "license": "BSD-2-Clause" }, + "node_modules/http-errors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/http-errors/node_modules/statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/import-meta-resolve": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.2.0.tgz", @@ -2568,6 +2690,12 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" + }, "node_modules/iron-webcrypto": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/iron-webcrypto/-/iron-webcrypto-1.2.1.tgz", @@ -3507,6 +3635,27 @@ ], "license": "MIT" }, + "node_modules/mime-db": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", + "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz", + "integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==", + "license": "MIT", + "dependencies": { + "mime-db": "^1.54.0" + }, + "engines": { + "node": ">= 0.6" + } + }, "node_modules/mrmime": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.1.tgz", @@ -3600,6 +3749,18 @@ "integrity": "sha512-RdR9FQrFwNBNXAr4GixM8YaRZRJ5PUWbKYbE5eOsrwAjJW0q2REGcf79oYPsLyskQCZG1PLN+S/K1V00joZAoQ==", "license": "MIT" }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, "node_modules/oniguruma-parser": { "version": "0.12.1", "resolved": "https://registry.npmjs.org/oniguruma-parser/-/oniguruma-parser-0.12.1.tgz", @@ -3795,6 +3956,15 @@ "integrity": "sha512-b484I/7b8rDEdSDKckSSBA8knMpcdsXudlE/LNL639wFoHKwLbEkQFZHWEYwDC0wa0FKUcCY+GAF73Z7wxNVFA==", "license": "MIT" }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/readdirp": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", @@ -4082,6 +4252,12 @@ "fsevents": "~2.3.2" } }, + "node_modules/sax": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.1.tgz", + "integrity": "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==", + "license": "ISC" + }, "node_modules/semver": { "version": "7.7.3", "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", @@ -4094,6 +4270,40 @@ "node": ">=10" } }, + "node_modules/send": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/send/-/send-1.2.0.tgz", + "integrity": "sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==", + "license": "MIT", + "dependencies": { + "debug": "^4.3.5", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "fresh": "^2.0.0", + "http-errors": "^2.0.0", + "mime-types": "^3.0.1", + "ms": "^2.1.3", + "on-finished": "^2.4.1", + "range-parser": "^1.2.1", + "statuses": "^2.0.1" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/server-destroy": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/server-destroy/-/server-destroy-1.0.1.tgz", + "integrity": "sha512-rb+9B5YBIEzYcD6x2VKidaa+cqYBJQKnU4oe4E3ANwRRN56yk/ua1YCJT1n21NTS8w6CcOclAKNP3PhdCXKYtQ==", + "license": "ISC" + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "license": "ISC" + }, "node_modules/sharp": { "version": "0.34.4", "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.34.4.tgz", @@ -4159,6 +4369,31 @@ "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", "license": "MIT" }, + "node_modules/sitemap": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/sitemap/-/sitemap-8.0.0.tgz", + "integrity": "sha512-+AbdxhM9kJsHtruUF39bwS/B0Fytw6Fr1o4ZAIAEqA6cke2xcoO2GleBw9Zw7nRzILVEgz7zBM5GiTJjie1G9A==", + "license": "MIT", + "dependencies": { + "@types/node": "^17.0.5", + "@types/sax": "^1.2.1", + "arg": "^5.0.0", + "sax": "^1.2.4" + }, + "bin": { + "sitemap": "dist/cli.js" + }, + "engines": { + "node": ">=14.0.0", + "npm": ">=6.0.0" + } + }, + "node_modules/sitemap/node_modules/@types/node": { + "version": "17.0.45", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.45.tgz", + "integrity": "sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==", + "license": "MIT" + }, "node_modules/smol-toml": { "version": "1.4.2", "resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.4.2.tgz", @@ -4190,6 +4425,21 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/stream-replace-string": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/stream-replace-string/-/stream-replace-string-2.0.0.tgz", + "integrity": "sha512-TlnjJ1C0QrmxRNrON00JvaFFlNh5TTG00APw23j74ET7gkQpTASi6/L2fuiav8pzK715HXtUeClpBTw2NPSn6w==", + "license": "MIT" + }, "node_modules/string-width": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", @@ -4264,6 +4514,15 @@ "url": "https://github.com/sponsors/SuperchupuDev" } }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, "node_modules/trim-lines": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz", diff --git a/node_modules/.vite/deps/_metadata.json b/node_modules/.vite/deps/_metadata.json new file mode 100644 index 0000000..0813abd --- /dev/null +++ b/node_modules/.vite/deps/_metadata.json @@ -0,0 +1,31 @@ +{ + "hash": "3f8379cd", + "configHash": "b954eaf4", + "lockfileHash": "3432b1a7", + "browserHash": "d085d3e0", + "optimized": { + "astro > cssesc": { + "src": "../../cssesc/cssesc.js", + "file": "astro___cssesc.js", + "fileHash": "c2de14a5", + "needsInterop": true + }, + "astro > aria-query": { + "src": "../../aria-query/lib/index.js", + "file": "astro___aria-query.js", + "fileHash": "a36c2232", + "needsInterop": true + }, + "astro > axobject-query": { + "src": "../../axobject-query/lib/index.js", + "file": "astro___axobject-query.js", + "fileHash": "34d46228", + "needsInterop": true + } + }, + "chunks": { + "chunk-BUSYA2B4": { + "file": "chunk-BUSYA2B4.js" + } + } +} \ No newline at end of file diff --git a/node_modules/.vite/deps/astro___aria-query.js b/node_modules/.vite/deps/astro___aria-query.js new file mode 100644 index 0000000..1314200 --- /dev/null +++ b/node_modules/.vite/deps/astro___aria-query.js @@ -0,0 +1,6776 @@ +import { + __commonJS +} from "./chunk-BUSYA2B4.js"; + +// node_modules/aria-query/lib/util/iteratorProxy.js +var require_iteratorProxy = __commonJS({ + "node_modules/aria-query/lib/util/iteratorProxy.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + function iteratorProxy() { + var values = this; + var index = 0; + var iter = { + "@@iterator": function iterator() { + return iter; + }, + next: function next() { + if (index < values.length) { + var value = values[index]; + index = index + 1; + return { + done: false, + value + }; + } else { + return { + done: true + }; + } + } + }; + return iter; + } + var _default = exports.default = iteratorProxy; + } +}); + +// node_modules/aria-query/lib/util/iterationDecorator.js +var require_iterationDecorator = __commonJS({ + "node_modules/aria-query/lib/util/iterationDecorator.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = iterationDecorator; + var _iteratorProxy = _interopRequireDefault(require_iteratorProxy()); + function _interopRequireDefault(e) { + return e && e.__esModule ? e : { default: e }; + } + function _typeof(o) { + "@babel/helpers - typeof"; + return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) { + return typeof o2; + } : function(o2) { + return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2; + }, _typeof(o); + } + function iterationDecorator(collection, entries) { + if (typeof Symbol === "function" && _typeof(Symbol.iterator) === "symbol") { + Object.defineProperty(collection, Symbol.iterator, { + value: _iteratorProxy.default.bind(entries) + }); + } + return collection; + } + } +}); + +// node_modules/aria-query/lib/ariaPropsMap.js +var require_ariaPropsMap = __commonJS({ + "node_modules/aria-query/lib/ariaPropsMap.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var _iterationDecorator = _interopRequireDefault(require_iterationDecorator()); + function _interopRequireDefault(e) { + return e && e.__esModule ? e : { default: e }; + } + function _slicedToArray(r, e) { + return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); + } + function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + function _unsupportedIterableToArray(r, a) { + if (r) { + if ("string" == typeof r) return _arrayLikeToArray(r, a); + var t = {}.toString.call(r).slice(8, -1); + return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; + } + } + function _arrayLikeToArray(r, a) { + (null == a || a > r.length) && (a = r.length); + for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; + return n; + } + function _iterableToArrayLimit(r, l) { + var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; + if (null != t) { + var e, n, i, u, a = [], f = true, o = false; + try { + if (i = (t = t.call(r)).next, 0 === l) { + if (Object(t) !== t) return; + f = false; + } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = true) ; + } catch (r2) { + o = true, n = r2; + } finally { + try { + if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; + } finally { + if (o) throw n; + } + } + return a; + } + } + function _arrayWithHoles(r) { + if (Array.isArray(r)) return r; + } + var properties = [["aria-activedescendant", { + "type": "id" + }], ["aria-atomic", { + "type": "boolean" + }], ["aria-autocomplete", { + "type": "token", + "values": ["inline", "list", "both", "none"] + }], ["aria-braillelabel", { + "type": "string" + }], ["aria-brailleroledescription", { + "type": "string" + }], ["aria-busy", { + "type": "boolean" + }], ["aria-checked", { + "type": "tristate" + }], ["aria-colcount", { + type: "integer" + }], ["aria-colindex", { + type: "integer" + }], ["aria-colspan", { + type: "integer" + }], ["aria-controls", { + "type": "idlist" + }], ["aria-current", { + type: "token", + values: ["page", "step", "location", "date", "time", true, false] + }], ["aria-describedby", { + "type": "idlist" + }], ["aria-description", { + "type": "string" + }], ["aria-details", { + "type": "id" + }], ["aria-disabled", { + "type": "boolean" + }], ["aria-dropeffect", { + "type": "tokenlist", + "values": ["copy", "execute", "link", "move", "none", "popup"] + }], ["aria-errormessage", { + "type": "id" + }], ["aria-expanded", { + "type": "boolean", + "allowundefined": true + }], ["aria-flowto", { + "type": "idlist" + }], ["aria-grabbed", { + "type": "boolean", + "allowundefined": true + }], ["aria-haspopup", { + "type": "token", + "values": [false, true, "menu", "listbox", "tree", "grid", "dialog"] + }], ["aria-hidden", { + "type": "boolean", + "allowundefined": true + }], ["aria-invalid", { + "type": "token", + "values": ["grammar", false, "spelling", true] + }], ["aria-keyshortcuts", { + type: "string" + }], ["aria-label", { + "type": "string" + }], ["aria-labelledby", { + "type": "idlist" + }], ["aria-level", { + "type": "integer" + }], ["aria-live", { + "type": "token", + "values": ["assertive", "off", "polite"] + }], ["aria-modal", { + type: "boolean" + }], ["aria-multiline", { + "type": "boolean" + }], ["aria-multiselectable", { + "type": "boolean" + }], ["aria-orientation", { + "type": "token", + "values": ["vertical", "undefined", "horizontal"] + }], ["aria-owns", { + "type": "idlist" + }], ["aria-placeholder", { + type: "string" + }], ["aria-posinset", { + "type": "integer" + }], ["aria-pressed", { + "type": "tristate" + }], ["aria-readonly", { + "type": "boolean" + }], ["aria-relevant", { + "type": "tokenlist", + "values": ["additions", "all", "removals", "text"] + }], ["aria-required", { + "type": "boolean" + }], ["aria-roledescription", { + type: "string" + }], ["aria-rowcount", { + type: "integer" + }], ["aria-rowindex", { + type: "integer" + }], ["aria-rowspan", { + type: "integer" + }], ["aria-selected", { + "type": "boolean", + "allowundefined": true + }], ["aria-setsize", { + "type": "integer" + }], ["aria-sort", { + "type": "token", + "values": ["ascending", "descending", "none", "other"] + }], ["aria-valuemax", { + "type": "number" + }], ["aria-valuemin", { + "type": "number" + }], ["aria-valuenow", { + "type": "number" + }], ["aria-valuetext", { + "type": "string" + }]]; + var ariaPropsMap = { + entries: function entries() { + return properties; + }, + forEach: function forEach(fn) { + var thisArg = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null; + for (var _i = 0, _properties = properties; _i < _properties.length; _i++) { + var _properties$_i = _slicedToArray(_properties[_i], 2), key = _properties$_i[0], values = _properties$_i[1]; + fn.call(thisArg, values, key, properties); + } + }, + get: function get(key) { + var item = properties.filter(function(tuple) { + return tuple[0] === key ? true : false; + })[0]; + return item && item[1]; + }, + has: function has(key) { + return !!ariaPropsMap.get(key); + }, + keys: function keys() { + return properties.map(function(_ref) { + var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0]; + return key; + }); + }, + values: function values() { + return properties.map(function(_ref3) { + var _ref4 = _slicedToArray(_ref3, 2), values2 = _ref4[1]; + return values2; + }); + } + }; + var _default = exports.default = (0, _iterationDecorator.default)(ariaPropsMap, ariaPropsMap.entries()); + } +}); + +// node_modules/aria-query/lib/domMap.js +var require_domMap = __commonJS({ + "node_modules/aria-query/lib/domMap.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var _iterationDecorator = _interopRequireDefault(require_iterationDecorator()); + function _interopRequireDefault(e) { + return e && e.__esModule ? e : { default: e }; + } + function _slicedToArray(r, e) { + return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); + } + function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + function _unsupportedIterableToArray(r, a) { + if (r) { + if ("string" == typeof r) return _arrayLikeToArray(r, a); + var t = {}.toString.call(r).slice(8, -1); + return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; + } + } + function _arrayLikeToArray(r, a) { + (null == a || a > r.length) && (a = r.length); + for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; + return n; + } + function _iterableToArrayLimit(r, l) { + var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; + if (null != t) { + var e, n, i, u, a = [], f = true, o = false; + try { + if (i = (t = t.call(r)).next, 0 === l) { + if (Object(t) !== t) return; + f = false; + } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = true) ; + } catch (r2) { + o = true, n = r2; + } finally { + try { + if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; + } finally { + if (o) throw n; + } + } + return a; + } + } + function _arrayWithHoles(r) { + if (Array.isArray(r)) return r; + } + var dom = [["a", { + reserved: false + }], ["abbr", { + reserved: false + }], ["acronym", { + reserved: false + }], ["address", { + reserved: false + }], ["applet", { + reserved: false + }], ["area", { + reserved: false + }], ["article", { + reserved: false + }], ["aside", { + reserved: false + }], ["audio", { + reserved: false + }], ["b", { + reserved: false + }], ["base", { + reserved: true + }], ["bdi", { + reserved: false + }], ["bdo", { + reserved: false + }], ["big", { + reserved: false + }], ["blink", { + reserved: false + }], ["blockquote", { + reserved: false + }], ["body", { + reserved: false + }], ["br", { + reserved: false + }], ["button", { + reserved: false + }], ["canvas", { + reserved: false + }], ["caption", { + reserved: false + }], ["center", { + reserved: false + }], ["cite", { + reserved: false + }], ["code", { + reserved: false + }], ["col", { + reserved: true + }], ["colgroup", { + reserved: true + }], ["content", { + reserved: false + }], ["data", { + reserved: false + }], ["datalist", { + reserved: false + }], ["dd", { + reserved: false + }], ["del", { + reserved: false + }], ["details", { + reserved: false + }], ["dfn", { + reserved: false + }], ["dialog", { + reserved: false + }], ["dir", { + reserved: false + }], ["div", { + reserved: false + }], ["dl", { + reserved: false + }], ["dt", { + reserved: false + }], ["em", { + reserved: false + }], ["embed", { + reserved: false + }], ["fieldset", { + reserved: false + }], ["figcaption", { + reserved: false + }], ["figure", { + reserved: false + }], ["font", { + reserved: false + }], ["footer", { + reserved: false + }], ["form", { + reserved: false + }], ["frame", { + reserved: false + }], ["frameset", { + reserved: false + }], ["h1", { + reserved: false + }], ["h2", { + reserved: false + }], ["h3", { + reserved: false + }], ["h4", { + reserved: false + }], ["h5", { + reserved: false + }], ["h6", { + reserved: false + }], ["head", { + reserved: true + }], ["header", { + reserved: false + }], ["hgroup", { + reserved: false + }], ["hr", { + reserved: false + }], ["html", { + reserved: true + }], ["i", { + reserved: false + }], ["iframe", { + reserved: false + }], ["img", { + reserved: false + }], ["input", { + reserved: false + }], ["ins", { + reserved: false + }], ["kbd", { + reserved: false + }], ["keygen", { + reserved: false + }], ["label", { + reserved: false + }], ["legend", { + reserved: false + }], ["li", { + reserved: false + }], ["link", { + reserved: true + }], ["main", { + reserved: false + }], ["map", { + reserved: false + }], ["mark", { + reserved: false + }], ["marquee", { + reserved: false + }], ["menu", { + reserved: false + }], ["menuitem", { + reserved: false + }], ["meta", { + reserved: true + }], ["meter", { + reserved: false + }], ["nav", { + reserved: false + }], ["noembed", { + reserved: true + }], ["noscript", { + reserved: true + }], ["object", { + reserved: false + }], ["ol", { + reserved: false + }], ["optgroup", { + reserved: false + }], ["option", { + reserved: false + }], ["output", { + reserved: false + }], ["p", { + reserved: false + }], ["param", { + reserved: true + }], ["picture", { + reserved: true + }], ["pre", { + reserved: false + }], ["progress", { + reserved: false + }], ["q", { + reserved: false + }], ["rp", { + reserved: false + }], ["rt", { + reserved: false + }], ["rtc", { + reserved: false + }], ["ruby", { + reserved: false + }], ["s", { + reserved: false + }], ["samp", { + reserved: false + }], ["script", { + reserved: true + }], ["section", { + reserved: false + }], ["select", { + reserved: false + }], ["small", { + reserved: false + }], ["source", { + reserved: true + }], ["spacer", { + reserved: false + }], ["span", { + reserved: false + }], ["strike", { + reserved: false + }], ["strong", { + reserved: false + }], ["style", { + reserved: true + }], ["sub", { + reserved: false + }], ["summary", { + reserved: false + }], ["sup", { + reserved: false + }], ["table", { + reserved: false + }], ["tbody", { + reserved: false + }], ["td", { + reserved: false + }], ["textarea", { + reserved: false + }], ["tfoot", { + reserved: false + }], ["th", { + reserved: false + }], ["thead", { + reserved: false + }], ["time", { + reserved: false + }], ["title", { + reserved: true + }], ["tr", { + reserved: false + }], ["track", { + reserved: true + }], ["tt", { + reserved: false + }], ["u", { + reserved: false + }], ["ul", { + reserved: false + }], ["var", { + reserved: false + }], ["video", { + reserved: false + }], ["wbr", { + reserved: false + }], ["xmp", { + reserved: false + }]]; + var domMap = { + entries: function entries() { + return dom; + }, + forEach: function forEach(fn) { + var thisArg = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null; + for (var _i = 0, _dom = dom; _i < _dom.length; _i++) { + var _dom$_i = _slicedToArray(_dom[_i], 2), key = _dom$_i[0], values = _dom$_i[1]; + fn.call(thisArg, values, key, dom); + } + }, + get: function get(key) { + var item = dom.filter(function(tuple) { + return tuple[0] === key ? true : false; + })[0]; + return item && item[1]; + }, + has: function has(key) { + return !!domMap.get(key); + }, + keys: function keys() { + return dom.map(function(_ref) { + var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0]; + return key; + }); + }, + values: function values() { + return dom.map(function(_ref3) { + var _ref4 = _slicedToArray(_ref3, 2), values2 = _ref4[1]; + return values2; + }); + } + }; + var _default = exports.default = (0, _iterationDecorator.default)(domMap, domMap.entries()); + } +}); + +// node_modules/aria-query/lib/etc/roles/abstract/commandRole.js +var require_commandRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var commandRole = { + abstract: true, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "widget"]] + }; + var _default = exports.default = commandRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js +var require_compositeRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var compositeRole = { + abstract: true, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-activedescendant": null, + "aria-disabled": null + }, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "widget"]] + }; + var _default = exports.default = compositeRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/abstract/inputRole.js +var require_inputRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var inputRole = { + abstract: true, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null + }, + relatedConcepts: [{ + concept: { + name: "input" + }, + module: "XForms" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "widget"]] + }; + var _default = exports.default = inputRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js +var require_landmarkRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var landmarkRole = { + abstract: true, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = landmarkRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js +var require_rangeRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var rangeRole = { + abstract: true, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-valuemax": null, + "aria-valuemin": null, + "aria-valuenow": null + }, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure"]] + }; + var _default = exports.default = rangeRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js +var require_roletypeRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var roletypeRole = { + abstract: true, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: [], + prohibitedProps: [], + props: { + "aria-atomic": null, + "aria-busy": null, + "aria-controls": null, + "aria-current": null, + "aria-describedby": null, + "aria-details": null, + "aria-dropeffect": null, + "aria-flowto": null, + "aria-grabbed": null, + "aria-hidden": null, + "aria-keyshortcuts": null, + "aria-label": null, + "aria-labelledby": null, + "aria-live": null, + "aria-owns": null, + "aria-relevant": null, + "aria-roledescription": null + }, + relatedConcepts: [{ + concept: { + name: "role" + }, + module: "XHTML" + }, { + concept: { + name: "type" + }, + module: "Dublin Core" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [] + }; + var _default = exports.default = roletypeRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js +var require_sectionRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var sectionRole = { + abstract: true, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: [], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + name: "frontmatter" + }, + module: "DTB" + }, { + concept: { + name: "level" + }, + module: "DTB" + }, { + concept: { + name: "level" + }, + module: "SMIL" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure"]] + }; + var _default = exports.default = sectionRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js +var require_sectionheadRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var sectionheadRole = { + abstract: true, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: {}, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure"]] + }; + var _default = exports.default = sectionheadRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/abstract/selectRole.js +var require_selectRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var selectRole = { + abstract: true, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-orientation": null + }, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "widget", "composite"], ["roletype", "structure", "section", "group"]] + }; + var _default = exports.default = selectRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/abstract/structureRole.js +var require_structureRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var structureRole = { + abstract: true, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: [], + prohibitedProps: [], + props: {}, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype"]] + }; + var _default = exports.default = structureRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js +var require_widgetRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var widgetRole = { + abstract: true, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: [], + prohibitedProps: [], + props: {}, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype"]] + }; + var _default = exports.default = widgetRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/abstract/windowRole.js +var require_windowRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var windowRole = { + abstract: true, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-modal": null + }, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype"]] + }; + var _default = exports.default = windowRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js +var require_ariaAbstractRoles = __commonJS({ + "node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var _commandRole = _interopRequireDefault(require_commandRole()); + var _compositeRole = _interopRequireDefault(require_compositeRole()); + var _inputRole = _interopRequireDefault(require_inputRole()); + var _landmarkRole = _interopRequireDefault(require_landmarkRole()); + var _rangeRole = _interopRequireDefault(require_rangeRole()); + var _roletypeRole = _interopRequireDefault(require_roletypeRole()); + var _sectionRole = _interopRequireDefault(require_sectionRole()); + var _sectionheadRole = _interopRequireDefault(require_sectionheadRole()); + var _selectRole = _interopRequireDefault(require_selectRole()); + var _structureRole = _interopRequireDefault(require_structureRole()); + var _widgetRole = _interopRequireDefault(require_widgetRole()); + var _windowRole = _interopRequireDefault(require_windowRole()); + function _interopRequireDefault(e) { + return e && e.__esModule ? e : { default: e }; + } + var ariaAbstractRoles = [["command", _commandRole.default], ["composite", _compositeRole.default], ["input", _inputRole.default], ["landmark", _landmarkRole.default], ["range", _rangeRole.default], ["roletype", _roletypeRole.default], ["section", _sectionRole.default], ["sectionhead", _sectionheadRole.default], ["select", _selectRole.default], ["structure", _structureRole.default], ["widget", _widgetRole.default], ["window", _windowRole.default]]; + var _default = exports.default = ariaAbstractRoles; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/alertRole.js +var require_alertRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var alertRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-atomic": "true", + "aria-live": "assertive" + }, + relatedConcepts: [{ + concept: { + name: "alert" + }, + module: "XForms" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = alertRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js +var require_alertdialogRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var alertdialogRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + name: "alert" + }, + module: "XForms" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "alert"], ["roletype", "window", "dialog"]] + }; + var _default = exports.default = alertdialogRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/applicationRole.js +var require_applicationRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var applicationRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-activedescendant": null, + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "Device Independence Delivery Unit" + } + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure"]] + }; + var _default = exports.default = applicationRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/articleRole.js +var require_articleRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var articleRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-posinset": null, + "aria-setsize": null + }, + relatedConcepts: [{ + concept: { + name: "article" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "document"]] + }; + var _default = exports.default = articleRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/bannerRole.js +var require_bannerRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var bannerRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + constraints: ["scoped to the body element"], + name: "header" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = bannerRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js +var require_blockquoteRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var blockquoteRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + name: "blockquote" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = blockquoteRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/buttonRole.js +var require_buttonRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var buttonRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: true, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-pressed": null + }, + relatedConcepts: [{ + concept: { + attributes: [{ + name: "type", + value: "button" + }], + name: "input" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + name: "type", + value: "image" + }], + name: "input" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + name: "type", + value: "reset" + }], + name: "input" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + name: "type", + value: "submit" + }], + name: "input" + }, + module: "HTML" + }, { + concept: { + name: "button" + }, + module: "HTML" + }, { + concept: { + name: "trigger" + }, + module: "XForms" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "widget", "command"]] + }; + var _default = exports.default = buttonRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/captionRole.js +var require_captionRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var captionRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + props: {}, + relatedConcepts: [{ + concept: { + name: "caption" + }, + module: "HTML" + }], + requireContextRole: ["figure", "grid", "table"], + requiredContextRole: ["figure", "grid", "table"], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = captionRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/cellRole.js +var require_cellRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var cellRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: { + "aria-colindex": null, + "aria-colspan": null, + "aria-rowindex": null, + "aria-rowspan": null + }, + relatedConcepts: [{ + concept: { + constraints: ["ancestor table element has table role"], + name: "td" + }, + module: "HTML" + }], + requireContextRole: ["row"], + requiredContextRole: ["row"], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = cellRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js +var require_checkboxRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var checkboxRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: true, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: { + "aria-checked": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-invalid": null, + "aria-readonly": null, + "aria-required": null + }, + relatedConcepts: [{ + concept: { + attributes: [{ + name: "type", + value: "checkbox" + }], + name: "input" + }, + module: "HTML" + }, { + concept: { + name: "option" + }, + module: "ARIA" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: { + "aria-checked": null + }, + superClass: [["roletype", "widget", "input"]] + }; + var _default = exports.default = checkboxRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/codeRole.js +var require_codeRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var codeRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + props: {}, + relatedConcepts: [{ + concept: { + name: "code" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = codeRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js +var require_columnheaderRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var columnheaderRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: { + "aria-sort": null + }, + relatedConcepts: [{ + concept: { + name: "th" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + name: "scope", + value: "col" + }], + name: "th" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + name: "scope", + value: "colgroup" + }], + name: "th" + }, + module: "HTML" + }], + requireContextRole: ["row"], + requiredContextRole: ["row"], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "cell"], ["roletype", "structure", "section", "cell", "gridcell"], ["roletype", "widget", "gridcell"], ["roletype", "structure", "sectionhead"]] + }; + var _default = exports.default = columnheaderRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js +var require_comboboxRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var comboboxRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-activedescendant": null, + "aria-autocomplete": null, + "aria-errormessage": null, + "aria-invalid": null, + "aria-readonly": null, + "aria-required": null, + "aria-expanded": "false", + "aria-haspopup": "listbox" + }, + relatedConcepts: [{ + concept: { + attributes: [{ + constraints: ["set"], + name: "list" + }, { + name: "type", + value: "email" + }], + name: "input" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + constraints: ["set"], + name: "list" + }, { + name: "type", + value: "search" + }], + name: "input" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + constraints: ["set"], + name: "list" + }, { + name: "type", + value: "tel" + }], + name: "input" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + constraints: ["set"], + name: "list" + }, { + name: "type", + value: "text" + }], + name: "input" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + constraints: ["set"], + name: "list" + }, { + name: "type", + value: "url" + }], + name: "input" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + constraints: ["set"], + name: "list" + }, { + name: "type", + value: "url" + }], + name: "input" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + constraints: ["undefined"], + name: "multiple" + }, { + constraints: ["undefined"], + name: "size" + }], + constraints: ["the multiple attribute is not set and the size attribute does not have a value greater than 1"], + name: "select" + }, + module: "HTML" + }, { + concept: { + name: "select" + }, + module: "XForms" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: { + "aria-controls": null, + "aria-expanded": "false" + }, + superClass: [["roletype", "widget", "input"]] + }; + var _default = exports.default = comboboxRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js +var require_complementaryRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var complementaryRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + constraints: ["scoped to the body element", "scoped to the main element"], + name: "aside" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + constraints: ["set"], + name: "aria-label" + }], + constraints: ["scoped to a sectioning content element", "scoped to a sectioning root element other than body"], + name: "aside" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + constraints: ["set"], + name: "aria-labelledby" + }], + constraints: ["scoped to a sectioning content element", "scoped to a sectioning root element other than body"], + name: "aside" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = complementaryRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js +var require_contentinfoRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var contentinfoRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + constraints: ["scoped to the body element"], + name: "footer" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = contentinfoRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/definitionRole.js +var require_definitionRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var definitionRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + name: "dd" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = definitionRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/deletionRole.js +var require_deletionRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var deletionRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + props: {}, + relatedConcepts: [{ + concept: { + name: "del" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = deletionRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/dialogRole.js +var require_dialogRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var dialogRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + name: "dialog" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "window"]] + }; + var _default = exports.default = dialogRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/directoryRole.js +var require_directoryRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var directoryRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + module: "DAISY Guide" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "list"]] + }; + var _default = exports.default = directoryRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/documentRole.js +var require_documentRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var documentRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + name: "Device Independence Delivery Unit" + } + }, { + concept: { + name: "html" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure"]] + }; + var _default = exports.default = documentRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js +var require_emphasisRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var emphasisRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + props: {}, + relatedConcepts: [{ + concept: { + name: "em" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = emphasisRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/feedRole.js +var require_feedRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var feedRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [["article"]], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "list"]] + }; + var _default = exports.default = feedRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/figureRole.js +var require_figureRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var figureRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + name: "figure" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = figureRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/formRole.js +var require_formRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/formRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var formRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + attributes: [{ + constraints: ["set"], + name: "aria-label" + }], + name: "form" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + constraints: ["set"], + name: "aria-labelledby" + }], + name: "form" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + constraints: ["set"], + name: "name" + }], + name: "form" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = formRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/genericRole.js +var require_genericRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var genericRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + props: {}, + relatedConcepts: [{ + concept: { + name: "a" + }, + module: "HTML" + }, { + concept: { + name: "area" + }, + module: "HTML" + }, { + concept: { + name: "aside" + }, + module: "HTML" + }, { + concept: { + name: "b" + }, + module: "HTML" + }, { + concept: { + name: "bdo" + }, + module: "HTML" + }, { + concept: { + name: "body" + }, + module: "HTML" + }, { + concept: { + name: "data" + }, + module: "HTML" + }, { + concept: { + name: "div" + }, + module: "HTML" + }, { + concept: { + constraints: ["scoped to the main element", "scoped to a sectioning content element", "scoped to a sectioning root element other than body"], + name: "footer" + }, + module: "HTML" + }, { + concept: { + constraints: ["scoped to the main element", "scoped to a sectioning content element", "scoped to a sectioning root element other than body"], + name: "header" + }, + module: "HTML" + }, { + concept: { + name: "hgroup" + }, + module: "HTML" + }, { + concept: { + name: "i" + }, + module: "HTML" + }, { + concept: { + name: "pre" + }, + module: "HTML" + }, { + concept: { + name: "q" + }, + module: "HTML" + }, { + concept: { + name: "samp" + }, + module: "HTML" + }, { + concept: { + name: "section" + }, + module: "HTML" + }, { + concept: { + name: "small" + }, + module: "HTML" + }, { + concept: { + name: "span" + }, + module: "HTML" + }, { + concept: { + name: "u" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure"]] + }; + var _default = exports.default = genericRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/gridRole.js +var require_gridRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var gridRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-multiselectable": null, + "aria-readonly": null + }, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [["row"], ["row", "rowgroup"]], + requiredProps: {}, + superClass: [["roletype", "widget", "composite"], ["roletype", "structure", "section", "table"]] + }; + var _default = exports.default = gridRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js +var require_gridcellRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var gridcellRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null, + "aria-readonly": null, + "aria-required": null, + "aria-selected": null + }, + relatedConcepts: [{ + concept: { + constraints: ["ancestor table element has grid role", "ancestor table element has treegrid role"], + name: "td" + }, + module: "HTML" + }], + requireContextRole: ["row"], + requiredContextRole: ["row"], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "cell"], ["roletype", "widget"]] + }; + var _default = exports.default = gridcellRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/groupRole.js +var require_groupRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var groupRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-activedescendant": null, + "aria-disabled": null + }, + relatedConcepts: [{ + concept: { + name: "details" + }, + module: "HTML" + }, { + concept: { + name: "fieldset" + }, + module: "HTML" + }, { + concept: { + name: "optgroup" + }, + module: "HTML" + }, { + concept: { + name: "address" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = groupRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/headingRole.js +var require_headingRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var headingRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: { + "aria-level": "2" + }, + relatedConcepts: [{ + concept: { + name: "h1" + }, + module: "HTML" + }, { + concept: { + name: "h2" + }, + module: "HTML" + }, { + concept: { + name: "h3" + }, + module: "HTML" + }, { + concept: { + name: "h4" + }, + module: "HTML" + }, { + concept: { + name: "h5" + }, + module: "HTML" + }, { + concept: { + name: "h6" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: { + "aria-level": "2" + }, + superClass: [["roletype", "structure", "sectionhead"]] + }; + var _default = exports.default = headingRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/imgRole.js +var require_imgRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var imgRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: true, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + attributes: [{ + constraints: ["set"], + name: "alt" + }], + name: "img" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + constraints: ["undefined"], + name: "alt" + }], + name: "img" + }, + module: "HTML" + }, { + concept: { + name: "imggroup" + }, + module: "DTB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = imgRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/insertionRole.js +var require_insertionRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var insertionRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + props: {}, + relatedConcepts: [{ + concept: { + name: "ins" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = insertionRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/linkRole.js +var require_linkRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var linkRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-expanded": null, + "aria-haspopup": null + }, + relatedConcepts: [{ + concept: { + attributes: [{ + constraints: ["set"], + name: "href" + }], + name: "a" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + constraints: ["set"], + name: "href" + }], + name: "area" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "widget", "command"]] + }; + var _default = exports.default = linkRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/listRole.js +var require_listRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/listRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var listRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + name: "menu" + }, + module: "HTML" + }, { + concept: { + name: "ol" + }, + module: "HTML" + }, { + concept: { + name: "ul" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [["listitem"]], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = listRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/listboxRole.js +var require_listboxRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var listboxRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-errormessage": null, + "aria-expanded": null, + "aria-invalid": null, + "aria-multiselectable": null, + "aria-readonly": null, + "aria-required": null, + "aria-orientation": "vertical" + }, + relatedConcepts: [{ + concept: { + attributes: [{ + constraints: [">1"], + name: "size" + }], + constraints: ["the size attribute value is greater than 1"], + name: "select" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + name: "multiple" + }], + name: "select" + }, + module: "HTML" + }, { + concept: { + name: "datalist" + }, + module: "HTML" + }, { + concept: { + name: "list" + }, + module: "ARIA" + }, { + concept: { + name: "select" + }, + module: "XForms" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [["option", "group"], ["option"]], + requiredProps: {}, + superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]] + }; + var _default = exports.default = listboxRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/listitemRole.js +var require_listitemRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var listitemRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-level": null, + "aria-posinset": null, + "aria-setsize": null + }, + relatedConcepts: [{ + concept: { + constraints: ["direct descendant of ol", "direct descendant of ul", "direct descendant of menu"], + name: "li" + }, + module: "HTML" + }, { + concept: { + name: "item" + }, + module: "XForms" + }], + requireContextRole: ["directory", "list"], + requiredContextRole: ["directory", "list"], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = listitemRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/logRole.js +var require_logRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/logRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var logRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-live": "polite" + }, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = logRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/mainRole.js +var require_mainRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var mainRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + name: "main" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = mainRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/markRole.js +var require_markRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/markRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var markRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["prohibited"], + prohibitedProps: [], + props: { + "aria-braillelabel": null, + "aria-brailleroledescription": null, + "aria-description": null + }, + relatedConcepts: [{ + concept: { + name: "mark" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = markRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js +var require_marqueeRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var marqueeRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = marqueeRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/mathRole.js +var require_mathRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var mathRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + name: "math" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = mathRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/menuRole.js +var require_menuRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var menuRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-orientation": "vertical" + }, + relatedConcepts: [{ + concept: { + name: "MENU" + }, + module: "JAPI" + }, { + concept: { + name: "list" + }, + module: "ARIA" + }, { + concept: { + name: "select" + }, + module: "XForms" + }, { + concept: { + name: "sidebar" + }, + module: "DTB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [["menuitem", "group"], ["menuitemradio", "group"], ["menuitemcheckbox", "group"], ["menuitem"], ["menuitemcheckbox"], ["menuitemradio"]], + requiredProps: {}, + superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]] + }; + var _default = exports.default = menuRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/menubarRole.js +var require_menubarRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var menubarRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-orientation": "horizontal" + }, + relatedConcepts: [{ + concept: { + name: "toolbar" + }, + module: "ARIA" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [["menuitem", "group"], ["menuitemradio", "group"], ["menuitemcheckbox", "group"], ["menuitem"], ["menuitemcheckbox"], ["menuitemradio"]], + requiredProps: {}, + superClass: [["roletype", "widget", "composite", "select", "menu"], ["roletype", "structure", "section", "group", "select", "menu"]] + }; + var _default = exports.default = menubarRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js +var require_menuitemRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var menuitemRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-posinset": null, + "aria-setsize": null + }, + relatedConcepts: [{ + concept: { + name: "MENU_ITEM" + }, + module: "JAPI" + }, { + concept: { + name: "listitem" + }, + module: "ARIA" + }, { + concept: { + name: "option" + }, + module: "ARIA" + }], + requireContextRole: ["group", "menu", "menubar"], + requiredContextRole: ["group", "menu", "menubar"], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "widget", "command"]] + }; + var _default = exports.default = menuitemRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js +var require_menuitemcheckboxRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var menuitemcheckboxRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: true, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + name: "menuitem" + }, + module: "ARIA" + }], + requireContextRole: ["group", "menu", "menubar"], + requiredContextRole: ["group", "menu", "menubar"], + requiredOwnedElements: [], + requiredProps: { + "aria-checked": null + }, + superClass: [["roletype", "widget", "input", "checkbox"], ["roletype", "widget", "command", "menuitem"]] + }; + var _default = exports.default = menuitemcheckboxRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js +var require_menuitemradioRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var menuitemradioRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: true, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + name: "menuitem" + }, + module: "ARIA" + }], + requireContextRole: ["group", "menu", "menubar"], + requiredContextRole: ["group", "menu", "menubar"], + requiredOwnedElements: [], + requiredProps: { + "aria-checked": null + }, + superClass: [["roletype", "widget", "input", "checkbox", "menuitemcheckbox"], ["roletype", "widget", "command", "menuitem", "menuitemcheckbox"], ["roletype", "widget", "input", "radio"]] + }; + var _default = exports.default = menuitemradioRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/meterRole.js +var require_meterRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var meterRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: true, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-valuetext": null, + "aria-valuemax": "100", + "aria-valuemin": "0" + }, + relatedConcepts: [{ + concept: { + name: "meter" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: { + "aria-valuenow": null + }, + superClass: [["roletype", "structure", "range"]] + }; + var _default = exports.default = meterRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/navigationRole.js +var require_navigationRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var navigationRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + name: "nav" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = navigationRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/noneRole.js +var require_noneRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var noneRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: [], + prohibitedProps: [], + props: {}, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [] + }; + var _default = exports.default = noneRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/noteRole.js +var require_noteRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var noteRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = noteRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/optionRole.js +var require_optionRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var optionRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: true, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: { + "aria-checked": null, + "aria-posinset": null, + "aria-setsize": null, + "aria-selected": "false" + }, + relatedConcepts: [{ + concept: { + name: "item" + }, + module: "XForms" + }, { + concept: { + name: "listitem" + }, + module: "ARIA" + }, { + concept: { + name: "option" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: { + "aria-selected": "false" + }, + superClass: [["roletype", "widget", "input"]] + }; + var _default = exports.default = optionRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js +var require_paragraphRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var paragraphRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + props: {}, + relatedConcepts: [{ + concept: { + name: "p" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = paragraphRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/presentationRole.js +var require_presentationRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var presentationRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + props: {}, + relatedConcepts: [{ + concept: { + attributes: [{ + name: "alt", + value: "" + }], + name: "img" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure"]] + }; + var _default = exports.default = presentationRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js +var require_progressbarRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var progressbarRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: true, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-valuetext": null + }, + relatedConcepts: [{ + concept: { + name: "progress" + }, + module: "HTML" + }, { + concept: { + name: "status" + }, + module: "ARIA" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "range"], ["roletype", "widget"]] + }; + var _default = exports.default = progressbarRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/radioRole.js +var require_radioRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var radioRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: true, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: { + "aria-checked": null, + "aria-posinset": null, + "aria-setsize": null + }, + relatedConcepts: [{ + concept: { + attributes: [{ + name: "type", + value: "radio" + }], + name: "input" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: { + "aria-checked": null + }, + superClass: [["roletype", "widget", "input"]] + }; + var _default = exports.default = radioRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js +var require_radiogroupRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var radiogroupRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-errormessage": null, + "aria-invalid": null, + "aria-readonly": null, + "aria-required": null + }, + relatedConcepts: [{ + concept: { + name: "list" + }, + module: "ARIA" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [["radio"]], + requiredProps: {}, + superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]] + }; + var _default = exports.default = radiogroupRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/regionRole.js +var require_regionRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var regionRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + attributes: [{ + constraints: ["set"], + name: "aria-label" + }], + name: "section" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + constraints: ["set"], + name: "aria-labelledby" + }], + name: "section" + }, + module: "HTML" + }, { + concept: { + name: "Device Independence Glossart perceivable unit" + } + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = regionRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/rowRole.js +var require_rowRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var rowRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: { + "aria-colindex": null, + "aria-expanded": null, + "aria-level": null, + "aria-posinset": null, + "aria-rowindex": null, + "aria-selected": null, + "aria-setsize": null + }, + relatedConcepts: [{ + concept: { + name: "tr" + }, + module: "HTML" + }], + requireContextRole: ["grid", "rowgroup", "table", "treegrid"], + requiredContextRole: ["grid", "rowgroup", "table", "treegrid"], + requiredOwnedElements: [["cell"], ["columnheader"], ["gridcell"], ["rowheader"]], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "group"], ["roletype", "widget"]] + }; + var _default = exports.default = rowRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js +var require_rowgroupRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var rowgroupRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + name: "tbody" + }, + module: "HTML" + }, { + concept: { + name: "tfoot" + }, + module: "HTML" + }, { + concept: { + name: "thead" + }, + module: "HTML" + }], + requireContextRole: ["grid", "table", "treegrid"], + requiredContextRole: ["grid", "table", "treegrid"], + requiredOwnedElements: [["row"]], + requiredProps: {}, + superClass: [["roletype", "structure"]] + }; + var _default = exports.default = rowgroupRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js +var require_rowheaderRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var rowheaderRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: { + "aria-sort": null + }, + relatedConcepts: [{ + concept: { + attributes: [{ + name: "scope", + value: "row" + }], + name: "th" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + name: "scope", + value: "rowgroup" + }], + name: "th" + }, + module: "HTML" + }], + requireContextRole: ["row", "rowgroup"], + requiredContextRole: ["row", "rowgroup"], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "cell"], ["roletype", "structure", "section", "cell", "gridcell"], ["roletype", "widget", "gridcell"], ["roletype", "structure", "sectionhead"]] + }; + var _default = exports.default = rowheaderRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js +var require_scrollbarRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var scrollbarRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: true, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-valuetext": null, + "aria-orientation": "vertical", + "aria-valuemax": "100", + "aria-valuemin": "0" + }, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: { + "aria-controls": null, + "aria-valuenow": null + }, + superClass: [["roletype", "structure", "range"], ["roletype", "widget"]] + }; + var _default = exports.default = scrollbarRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/searchRole.js +var require_searchRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var searchRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = searchRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js +var require_searchboxRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var searchboxRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + attributes: [{ + constraints: ["undefined"], + name: "list" + }, { + name: "type", + value: "search" + }], + constraints: ["the list attribute is not set"], + name: "input" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "widget", "input", "textbox"]] + }; + var _default = exports.default = searchboxRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/separatorRole.js +var require_separatorRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var separatorRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: true, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-orientation": "horizontal", + "aria-valuemax": "100", + "aria-valuemin": "0", + "aria-valuenow": null, + "aria-valuetext": null + }, + relatedConcepts: [{ + concept: { + name: "hr" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure"]] + }; + var _default = exports.default = separatorRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/sliderRole.js +var require_sliderRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var sliderRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: true, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-errormessage": null, + "aria-haspopup": null, + "aria-invalid": null, + "aria-readonly": null, + "aria-valuetext": null, + "aria-orientation": "horizontal", + "aria-valuemax": "100", + "aria-valuemin": "0" + }, + relatedConcepts: [{ + concept: { + attributes: [{ + name: "type", + value: "range" + }], + name: "input" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: { + "aria-valuenow": null + }, + superClass: [["roletype", "widget", "input"], ["roletype", "structure", "range"]] + }; + var _default = exports.default = sliderRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js +var require_spinbuttonRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var spinbuttonRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-errormessage": null, + "aria-invalid": null, + "aria-readonly": null, + "aria-required": null, + "aria-valuetext": null, + "aria-valuenow": "0" + }, + relatedConcepts: [{ + concept: { + attributes: [{ + name: "type", + value: "number" + }], + name: "input" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "widget", "composite"], ["roletype", "widget", "input"], ["roletype", "structure", "range"]] + }; + var _default = exports.default = spinbuttonRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/statusRole.js +var require_statusRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var statusRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-atomic": "true", + "aria-live": "polite" + }, + relatedConcepts: [{ + concept: { + name: "output" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = statusRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/strongRole.js +var require_strongRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var strongRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + props: {}, + relatedConcepts: [{ + concept: { + name: "strong" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = strongRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js +var require_subscriptRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var subscriptRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + props: {}, + relatedConcepts: [{ + concept: { + name: "sub" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = subscriptRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js +var require_superscriptRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var superscriptRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + props: {}, + relatedConcepts: [{ + concept: { + name: "sup" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = superscriptRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/switchRole.js +var require_switchRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var switchRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: true, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + name: "button" + }, + module: "ARIA" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: { + "aria-checked": null + }, + superClass: [["roletype", "widget", "input", "checkbox"]] + }; + var _default = exports.default = switchRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/tabRole.js +var require_tabRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var tabRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: true, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-posinset": null, + "aria-setsize": null, + "aria-selected": "false" + }, + relatedConcepts: [], + requireContextRole: ["tablist"], + requiredContextRole: ["tablist"], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "sectionhead"], ["roletype", "widget"]] + }; + var _default = exports.default = tabRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/tableRole.js +var require_tableRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var tableRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-colcount": null, + "aria-rowcount": null + }, + relatedConcepts: [{ + concept: { + name: "table" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [["row"], ["row", "rowgroup"]], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = tableRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/tablistRole.js +var require_tablistRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var tablistRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-level": null, + "aria-multiselectable": null, + "aria-orientation": "horizontal" + }, + relatedConcepts: [{ + module: "DAISY", + concept: { + name: "guide" + } + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [["tab"]], + requiredProps: {}, + superClass: [["roletype", "widget", "composite"]] + }; + var _default = exports.default = tablistRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js +var require_tabpanelRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var tabpanelRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = tabpanelRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/termRole.js +var require_termRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/termRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var termRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + name: "dfn" + }, + module: "HTML" + }, { + concept: { + name: "dt" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = termRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/textboxRole.js +var require_textboxRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var textboxRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-activedescendant": null, + "aria-autocomplete": null, + "aria-errormessage": null, + "aria-haspopup": null, + "aria-invalid": null, + "aria-multiline": null, + "aria-placeholder": null, + "aria-readonly": null, + "aria-required": null + }, + relatedConcepts: [{ + concept: { + attributes: [{ + constraints: ["undefined"], + name: "type" + }, { + constraints: ["undefined"], + name: "list" + }], + constraints: ["the list attribute is not set"], + name: "input" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + constraints: ["undefined"], + name: "list" + }, { + name: "type", + value: "email" + }], + constraints: ["the list attribute is not set"], + name: "input" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + constraints: ["undefined"], + name: "list" + }, { + name: "type", + value: "tel" + }], + constraints: ["the list attribute is not set"], + name: "input" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + constraints: ["undefined"], + name: "list" + }, { + name: "type", + value: "text" + }], + constraints: ["the list attribute is not set"], + name: "input" + }, + module: "HTML" + }, { + concept: { + attributes: [{ + constraints: ["undefined"], + name: "list" + }, { + name: "type", + value: "url" + }], + constraints: ["the list attribute is not set"], + name: "input" + }, + module: "HTML" + }, { + concept: { + name: "input" + }, + module: "XForms" + }, { + concept: { + name: "textarea" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "widget", "input"]] + }; + var _default = exports.default = textboxRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/timeRole.js +var require_timeRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var timeRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + name: "time" + }, + module: "HTML" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = timeRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/timerRole.js +var require_timerRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var timerRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "status"]] + }; + var _default = exports.default = timerRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js +var require_toolbarRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var toolbarRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-orientation": "horizontal" + }, + relatedConcepts: [{ + concept: { + name: "menubar" + }, + module: "ARIA" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "group"]] + }; + var _default = exports.default = toolbarRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js +var require_tooltipRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var tooltipRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: {}, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = tooltipRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/treeRole.js +var require_treeRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var treeRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-errormessage": null, + "aria-invalid": null, + "aria-multiselectable": null, + "aria-required": null, + "aria-orientation": "vertical" + }, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [["treeitem", "group"], ["treeitem"]], + requiredProps: {}, + superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]] + }; + var _default = exports.default = treeRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/treegridRole.js +var require_treegridRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var treegridRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [["row"], ["row", "rowgroup"]], + requiredProps: {}, + superClass: [["roletype", "widget", "composite", "grid"], ["roletype", "structure", "section", "table", "grid"], ["roletype", "widget", "composite", "select", "tree"], ["roletype", "structure", "section", "group", "select", "tree"]] + }; + var _default = exports.default = treegridRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js +var require_treeitemRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var treeitemRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: { + "aria-expanded": null, + "aria-haspopup": null + }, + relatedConcepts: [], + requireContextRole: ["group", "tree"], + requiredContextRole: ["group", "tree"], + requiredOwnedElements: [], + requiredProps: { + "aria-selected": null + }, + superClass: [["roletype", "structure", "section", "listitem"], ["roletype", "widget", "input", "option"]] + }; + var _default = exports.default = treeitemRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js +var require_ariaLiteralRoles = __commonJS({ + "node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var _alertRole = _interopRequireDefault(require_alertRole()); + var _alertdialogRole = _interopRequireDefault(require_alertdialogRole()); + var _applicationRole = _interopRequireDefault(require_applicationRole()); + var _articleRole = _interopRequireDefault(require_articleRole()); + var _bannerRole = _interopRequireDefault(require_bannerRole()); + var _blockquoteRole = _interopRequireDefault(require_blockquoteRole()); + var _buttonRole = _interopRequireDefault(require_buttonRole()); + var _captionRole = _interopRequireDefault(require_captionRole()); + var _cellRole = _interopRequireDefault(require_cellRole()); + var _checkboxRole = _interopRequireDefault(require_checkboxRole()); + var _codeRole = _interopRequireDefault(require_codeRole()); + var _columnheaderRole = _interopRequireDefault(require_columnheaderRole()); + var _comboboxRole = _interopRequireDefault(require_comboboxRole()); + var _complementaryRole = _interopRequireDefault(require_complementaryRole()); + var _contentinfoRole = _interopRequireDefault(require_contentinfoRole()); + var _definitionRole = _interopRequireDefault(require_definitionRole()); + var _deletionRole = _interopRequireDefault(require_deletionRole()); + var _dialogRole = _interopRequireDefault(require_dialogRole()); + var _directoryRole = _interopRequireDefault(require_directoryRole()); + var _documentRole = _interopRequireDefault(require_documentRole()); + var _emphasisRole = _interopRequireDefault(require_emphasisRole()); + var _feedRole = _interopRequireDefault(require_feedRole()); + var _figureRole = _interopRequireDefault(require_figureRole()); + var _formRole = _interopRequireDefault(require_formRole()); + var _genericRole = _interopRequireDefault(require_genericRole()); + var _gridRole = _interopRequireDefault(require_gridRole()); + var _gridcellRole = _interopRequireDefault(require_gridcellRole()); + var _groupRole = _interopRequireDefault(require_groupRole()); + var _headingRole = _interopRequireDefault(require_headingRole()); + var _imgRole = _interopRequireDefault(require_imgRole()); + var _insertionRole = _interopRequireDefault(require_insertionRole()); + var _linkRole = _interopRequireDefault(require_linkRole()); + var _listRole = _interopRequireDefault(require_listRole()); + var _listboxRole = _interopRequireDefault(require_listboxRole()); + var _listitemRole = _interopRequireDefault(require_listitemRole()); + var _logRole = _interopRequireDefault(require_logRole()); + var _mainRole = _interopRequireDefault(require_mainRole()); + var _markRole = _interopRequireDefault(require_markRole()); + var _marqueeRole = _interopRequireDefault(require_marqueeRole()); + var _mathRole = _interopRequireDefault(require_mathRole()); + var _menuRole = _interopRequireDefault(require_menuRole()); + var _menubarRole = _interopRequireDefault(require_menubarRole()); + var _menuitemRole = _interopRequireDefault(require_menuitemRole()); + var _menuitemcheckboxRole = _interopRequireDefault(require_menuitemcheckboxRole()); + var _menuitemradioRole = _interopRequireDefault(require_menuitemradioRole()); + var _meterRole = _interopRequireDefault(require_meterRole()); + var _navigationRole = _interopRequireDefault(require_navigationRole()); + var _noneRole = _interopRequireDefault(require_noneRole()); + var _noteRole = _interopRequireDefault(require_noteRole()); + var _optionRole = _interopRequireDefault(require_optionRole()); + var _paragraphRole = _interopRequireDefault(require_paragraphRole()); + var _presentationRole = _interopRequireDefault(require_presentationRole()); + var _progressbarRole = _interopRequireDefault(require_progressbarRole()); + var _radioRole = _interopRequireDefault(require_radioRole()); + var _radiogroupRole = _interopRequireDefault(require_radiogroupRole()); + var _regionRole = _interopRequireDefault(require_regionRole()); + var _rowRole = _interopRequireDefault(require_rowRole()); + var _rowgroupRole = _interopRequireDefault(require_rowgroupRole()); + var _rowheaderRole = _interopRequireDefault(require_rowheaderRole()); + var _scrollbarRole = _interopRequireDefault(require_scrollbarRole()); + var _searchRole = _interopRequireDefault(require_searchRole()); + var _searchboxRole = _interopRequireDefault(require_searchboxRole()); + var _separatorRole = _interopRequireDefault(require_separatorRole()); + var _sliderRole = _interopRequireDefault(require_sliderRole()); + var _spinbuttonRole = _interopRequireDefault(require_spinbuttonRole()); + var _statusRole = _interopRequireDefault(require_statusRole()); + var _strongRole = _interopRequireDefault(require_strongRole()); + var _subscriptRole = _interopRequireDefault(require_subscriptRole()); + var _superscriptRole = _interopRequireDefault(require_superscriptRole()); + var _switchRole = _interopRequireDefault(require_switchRole()); + var _tabRole = _interopRequireDefault(require_tabRole()); + var _tableRole = _interopRequireDefault(require_tableRole()); + var _tablistRole = _interopRequireDefault(require_tablistRole()); + var _tabpanelRole = _interopRequireDefault(require_tabpanelRole()); + var _termRole = _interopRequireDefault(require_termRole()); + var _textboxRole = _interopRequireDefault(require_textboxRole()); + var _timeRole = _interopRequireDefault(require_timeRole()); + var _timerRole = _interopRequireDefault(require_timerRole()); + var _toolbarRole = _interopRequireDefault(require_toolbarRole()); + var _tooltipRole = _interopRequireDefault(require_tooltipRole()); + var _treeRole = _interopRequireDefault(require_treeRole()); + var _treegridRole = _interopRequireDefault(require_treegridRole()); + var _treeitemRole = _interopRequireDefault(require_treeitemRole()); + function _interopRequireDefault(e) { + return e && e.__esModule ? e : { default: e }; + } + var ariaLiteralRoles = [["alert", _alertRole.default], ["alertdialog", _alertdialogRole.default], ["application", _applicationRole.default], ["article", _articleRole.default], ["banner", _bannerRole.default], ["blockquote", _blockquoteRole.default], ["button", _buttonRole.default], ["caption", _captionRole.default], ["cell", _cellRole.default], ["checkbox", _checkboxRole.default], ["code", _codeRole.default], ["columnheader", _columnheaderRole.default], ["combobox", _comboboxRole.default], ["complementary", _complementaryRole.default], ["contentinfo", _contentinfoRole.default], ["definition", _definitionRole.default], ["deletion", _deletionRole.default], ["dialog", _dialogRole.default], ["directory", _directoryRole.default], ["document", _documentRole.default], ["emphasis", _emphasisRole.default], ["feed", _feedRole.default], ["figure", _figureRole.default], ["form", _formRole.default], ["generic", _genericRole.default], ["grid", _gridRole.default], ["gridcell", _gridcellRole.default], ["group", _groupRole.default], ["heading", _headingRole.default], ["img", _imgRole.default], ["insertion", _insertionRole.default], ["link", _linkRole.default], ["list", _listRole.default], ["listbox", _listboxRole.default], ["listitem", _listitemRole.default], ["log", _logRole.default], ["main", _mainRole.default], ["mark", _markRole.default], ["marquee", _marqueeRole.default], ["math", _mathRole.default], ["menu", _menuRole.default], ["menubar", _menubarRole.default], ["menuitem", _menuitemRole.default], ["menuitemcheckbox", _menuitemcheckboxRole.default], ["menuitemradio", _menuitemradioRole.default], ["meter", _meterRole.default], ["navigation", _navigationRole.default], ["none", _noneRole.default], ["note", _noteRole.default], ["option", _optionRole.default], ["paragraph", _paragraphRole.default], ["presentation", _presentationRole.default], ["progressbar", _progressbarRole.default], ["radio", _radioRole.default], ["radiogroup", _radiogroupRole.default], ["region", _regionRole.default], ["row", _rowRole.default], ["rowgroup", _rowgroupRole.default], ["rowheader", _rowheaderRole.default], ["scrollbar", _scrollbarRole.default], ["search", _searchRole.default], ["searchbox", _searchboxRole.default], ["separator", _separatorRole.default], ["slider", _sliderRole.default], ["spinbutton", _spinbuttonRole.default], ["status", _statusRole.default], ["strong", _strongRole.default], ["subscript", _subscriptRole.default], ["superscript", _superscriptRole.default], ["switch", _switchRole.default], ["tab", _tabRole.default], ["table", _tableRole.default], ["tablist", _tablistRole.default], ["tabpanel", _tabpanelRole.default], ["term", _termRole.default], ["textbox", _textboxRole.default], ["time", _timeRole.default], ["timer", _timerRole.default], ["toolbar", _toolbarRole.default], ["tooltip", _tooltipRole.default], ["tree", _treeRole.default], ["treegrid", _treegridRole.default], ["treeitem", _treeitemRole.default]]; + var _default = exports.default = ariaLiteralRoles; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js +var require_docAbstractRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docAbstractRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "abstract [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = docAbstractRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js +var require_docAcknowledgmentsRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docAcknowledgmentsRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "acknowledgments [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = docAcknowledgmentsRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js +var require_docAfterwordRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docAfterwordRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "afterword [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = docAfterwordRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js +var require_docAppendixRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docAppendixRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "appendix [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = docAppendixRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js +var require_docBacklinkRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docBacklinkRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: { + "aria-errormessage": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "referrer [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "widget", "command", "link"]] + }; + var _default = exports.default = docBacklinkRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js +var require_docBiblioentryRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docBiblioentryRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "EPUB biblioentry [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: ["doc-bibliography"], + requiredContextRole: ["doc-bibliography"], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "listitem"]] + }; + var _default = exports.default = docBiblioentryRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js +var require_docBibliographyRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docBibliographyRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "bibliography [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [["doc-biblioentry"]], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = docBibliographyRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js +var require_docBibliorefRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docBibliorefRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: { + "aria-errormessage": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "biblioref [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "widget", "command", "link"]] + }; + var _default = exports.default = docBibliorefRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js +var require_docChapterRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docChapterRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "chapter [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = docChapterRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js +var require_docColophonRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docColophonRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "colophon [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = docColophonRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js +var require_docConclusionRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docConclusionRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "conclusion [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = docConclusionRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js +var require_docCoverRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docCoverRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "cover [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "img"]] + }; + var _default = exports.default = docCoverRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js +var require_docCreditRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docCreditRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "credit [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = docCreditRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js +var require_docCreditsRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docCreditsRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "credits [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = docCreditsRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js +var require_docDedicationRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docDedicationRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "dedication [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = docDedicationRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js +var require_docEndnoteRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docEndnoteRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "rearnote [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: ["doc-endnotes"], + requiredContextRole: ["doc-endnotes"], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "listitem"]] + }; + var _default = exports.default = docEndnoteRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js +var require_docEndnotesRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docEndnotesRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "rearnotes [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [["doc-endnote"]], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = docEndnotesRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js +var require_docEpigraphRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docEpigraphRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "epigraph [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = docEpigraphRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js +var require_docEpilogueRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docEpilogueRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "epilogue [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = docEpilogueRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js +var require_docErrataRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docErrataRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "errata [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = docErrataRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js +var require_docExampleRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docExampleRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = docExampleRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js +var require_docFootnoteRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docFootnoteRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "footnote [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = docFootnoteRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js +var require_docForewordRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docForewordRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "foreword [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = docForewordRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js +var require_docGlossaryRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docGlossaryRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "glossary [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [["definition"], ["term"]], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = docGlossaryRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js +var require_docGlossrefRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docGlossrefRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: { + "aria-errormessage": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "glossref [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "widget", "command", "link"]] + }; + var _default = exports.default = docGlossrefRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js +var require_docIndexRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docIndexRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "index [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark", "navigation"]] + }; + var _default = exports.default = docIndexRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js +var require_docIntroductionRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docIntroductionRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "introduction [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = docIntroductionRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js +var require_docNoterefRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docNoterefRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: { + "aria-errormessage": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "noteref [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "widget", "command", "link"]] + }; + var _default = exports.default = docNoterefRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js +var require_docNoticeRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docNoticeRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "notice [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "note"]] + }; + var _default = exports.default = docNoticeRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js +var require_docPagebreakRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docPagebreakRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: true, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "pagebreak [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "separator"]] + }; + var _default = exports.default = docPagebreakRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js +var require_docPagefooterRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docPagefooterRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["prohibited"], + prohibitedProps: [], + props: { + "aria-braillelabel": null, + "aria-brailleroledescription": null, + "aria-description": null, + "aria-disabled": null, + "aria-errormessage": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = docPagefooterRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js +var require_docPageheaderRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docPageheaderRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["prohibited"], + prohibitedProps: [], + props: { + "aria-braillelabel": null, + "aria-brailleroledescription": null, + "aria-description": null, + "aria-disabled": null, + "aria-errormessage": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = docPageheaderRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js +var require_docPagelistRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docPagelistRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "page-list [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark", "navigation"]] + }; + var _default = exports.default = docPagelistRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js +var require_docPartRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docPartRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "part [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = docPartRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js +var require_docPrefaceRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docPrefaceRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "preface [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = docPrefaceRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js +var require_docPrologueRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docPrologueRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "prologue [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark"]] + }; + var _default = exports.default = docPrologueRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js +var require_docPullquoteRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docPullquoteRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: {}, + relatedConcepts: [{ + concept: { + name: "pullquote [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["none"]] + }; + var _default = exports.default = docPullquoteRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js +var require_docQnaRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docQnaRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "qna [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section"]] + }; + var _default = exports.default = docQnaRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js +var require_docSubtitleRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docSubtitleRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "subtitle [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "sectionhead"]] + }; + var _default = exports.default = docSubtitleRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js +var require_docTipRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docTipRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "help [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "note"]] + }; + var _default = exports.default = docTipRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js +var require_docTocRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var docTocRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + concept: { + name: "toc [EPUB-SSV]" + }, + module: "EPUB" + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "landmark", "navigation"]] + }; + var _default = exports.default = docTocRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js +var require_ariaDpubRoles = __commonJS({ + "node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var _docAbstractRole = _interopRequireDefault(require_docAbstractRole()); + var _docAcknowledgmentsRole = _interopRequireDefault(require_docAcknowledgmentsRole()); + var _docAfterwordRole = _interopRequireDefault(require_docAfterwordRole()); + var _docAppendixRole = _interopRequireDefault(require_docAppendixRole()); + var _docBacklinkRole = _interopRequireDefault(require_docBacklinkRole()); + var _docBiblioentryRole = _interopRequireDefault(require_docBiblioentryRole()); + var _docBibliographyRole = _interopRequireDefault(require_docBibliographyRole()); + var _docBibliorefRole = _interopRequireDefault(require_docBibliorefRole()); + var _docChapterRole = _interopRequireDefault(require_docChapterRole()); + var _docColophonRole = _interopRequireDefault(require_docColophonRole()); + var _docConclusionRole = _interopRequireDefault(require_docConclusionRole()); + var _docCoverRole = _interopRequireDefault(require_docCoverRole()); + var _docCreditRole = _interopRequireDefault(require_docCreditRole()); + var _docCreditsRole = _interopRequireDefault(require_docCreditsRole()); + var _docDedicationRole = _interopRequireDefault(require_docDedicationRole()); + var _docEndnoteRole = _interopRequireDefault(require_docEndnoteRole()); + var _docEndnotesRole = _interopRequireDefault(require_docEndnotesRole()); + var _docEpigraphRole = _interopRequireDefault(require_docEpigraphRole()); + var _docEpilogueRole = _interopRequireDefault(require_docEpilogueRole()); + var _docErrataRole = _interopRequireDefault(require_docErrataRole()); + var _docExampleRole = _interopRequireDefault(require_docExampleRole()); + var _docFootnoteRole = _interopRequireDefault(require_docFootnoteRole()); + var _docForewordRole = _interopRequireDefault(require_docForewordRole()); + var _docGlossaryRole = _interopRequireDefault(require_docGlossaryRole()); + var _docGlossrefRole = _interopRequireDefault(require_docGlossrefRole()); + var _docIndexRole = _interopRequireDefault(require_docIndexRole()); + var _docIntroductionRole = _interopRequireDefault(require_docIntroductionRole()); + var _docNoterefRole = _interopRequireDefault(require_docNoterefRole()); + var _docNoticeRole = _interopRequireDefault(require_docNoticeRole()); + var _docPagebreakRole = _interopRequireDefault(require_docPagebreakRole()); + var _docPagefooterRole = _interopRequireDefault(require_docPagefooterRole()); + var _docPageheaderRole = _interopRequireDefault(require_docPageheaderRole()); + var _docPagelistRole = _interopRequireDefault(require_docPagelistRole()); + var _docPartRole = _interopRequireDefault(require_docPartRole()); + var _docPrefaceRole = _interopRequireDefault(require_docPrefaceRole()); + var _docPrologueRole = _interopRequireDefault(require_docPrologueRole()); + var _docPullquoteRole = _interopRequireDefault(require_docPullquoteRole()); + var _docQnaRole = _interopRequireDefault(require_docQnaRole()); + var _docSubtitleRole = _interopRequireDefault(require_docSubtitleRole()); + var _docTipRole = _interopRequireDefault(require_docTipRole()); + var _docTocRole = _interopRequireDefault(require_docTocRole()); + function _interopRequireDefault(e) { + return e && e.__esModule ? e : { default: e }; + } + var ariaDpubRoles = [["doc-abstract", _docAbstractRole.default], ["doc-acknowledgments", _docAcknowledgmentsRole.default], ["doc-afterword", _docAfterwordRole.default], ["doc-appendix", _docAppendixRole.default], ["doc-backlink", _docBacklinkRole.default], ["doc-biblioentry", _docBiblioentryRole.default], ["doc-bibliography", _docBibliographyRole.default], ["doc-biblioref", _docBibliorefRole.default], ["doc-chapter", _docChapterRole.default], ["doc-colophon", _docColophonRole.default], ["doc-conclusion", _docConclusionRole.default], ["doc-cover", _docCoverRole.default], ["doc-credit", _docCreditRole.default], ["doc-credits", _docCreditsRole.default], ["doc-dedication", _docDedicationRole.default], ["doc-endnote", _docEndnoteRole.default], ["doc-endnotes", _docEndnotesRole.default], ["doc-epigraph", _docEpigraphRole.default], ["doc-epilogue", _docEpilogueRole.default], ["doc-errata", _docErrataRole.default], ["doc-example", _docExampleRole.default], ["doc-footnote", _docFootnoteRole.default], ["doc-foreword", _docForewordRole.default], ["doc-glossary", _docGlossaryRole.default], ["doc-glossref", _docGlossrefRole.default], ["doc-index", _docIndexRole.default], ["doc-introduction", _docIntroductionRole.default], ["doc-noteref", _docNoterefRole.default], ["doc-notice", _docNoticeRole.default], ["doc-pagebreak", _docPagebreakRole.default], ["doc-pagefooter", _docPagefooterRole.default], ["doc-pageheader", _docPageheaderRole.default], ["doc-pagelist", _docPagelistRole.default], ["doc-part", _docPartRole.default], ["doc-preface", _docPrefaceRole.default], ["doc-prologue", _docPrologueRole.default], ["doc-pullquote", _docPullquoteRole.default], ["doc-qna", _docQnaRole.default], ["doc-subtitle", _docSubtitleRole.default], ["doc-tip", _docTipRole.default], ["doc-toc", _docTocRole.default]]; + var _default = exports.default = ariaDpubRoles; + } +}); + +// node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js +var require_graphicsDocumentRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var graphicsDocumentRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + module: "GRAPHICS", + concept: { + name: "graphics-object" + } + }, { + module: "ARIA", + concept: { + name: "img" + } + }, { + module: "ARIA", + concept: { + name: "article" + } + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "document"]] + }; + var _default = exports.default = graphicsDocumentRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js +var require_graphicsObjectRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var graphicsObjectRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ["author", "contents"], + prohibitedProps: [], + props: { + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [{ + module: "GRAPHICS", + concept: { + name: "graphics-document" + } + }, { + module: "ARIA", + concept: { + name: "group" + } + }, { + module: "ARIA", + concept: { + name: "img" + } + }, { + module: "GRAPHICS", + concept: { + name: "graphics-symbol" + } + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "group"]] + }; + var _default = exports.default = graphicsObjectRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js +var require_graphicsSymbolRole = __commonJS({ + "node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var graphicsSymbolRole = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: true, + nameFrom: ["author"], + prohibitedProps: [], + props: { + "aria-disabled": null, + "aria-errormessage": null, + "aria-expanded": null, + "aria-haspopup": null, + "aria-invalid": null + }, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [["roletype", "structure", "section", "img"]] + }; + var _default = exports.default = graphicsSymbolRole; + } +}); + +// node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js +var require_ariaGraphicsRoles = __commonJS({ + "node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var _graphicsDocumentRole = _interopRequireDefault(require_graphicsDocumentRole()); + var _graphicsObjectRole = _interopRequireDefault(require_graphicsObjectRole()); + var _graphicsSymbolRole = _interopRequireDefault(require_graphicsSymbolRole()); + function _interopRequireDefault(e) { + return e && e.__esModule ? e : { default: e }; + } + var ariaGraphicsRoles = [["graphics-document", _graphicsDocumentRole.default], ["graphics-object", _graphicsObjectRole.default], ["graphics-symbol", _graphicsSymbolRole.default]]; + var _default = exports.default = ariaGraphicsRoles; + } +}); + +// node_modules/aria-query/lib/rolesMap.js +var require_rolesMap = __commonJS({ + "node_modules/aria-query/lib/rolesMap.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var _ariaAbstractRoles = _interopRequireDefault(require_ariaAbstractRoles()); + var _ariaLiteralRoles = _interopRequireDefault(require_ariaLiteralRoles()); + var _ariaDpubRoles = _interopRequireDefault(require_ariaDpubRoles()); + var _ariaGraphicsRoles = _interopRequireDefault(require_ariaGraphicsRoles()); + var _iterationDecorator = _interopRequireDefault(require_iterationDecorator()); + function _interopRequireDefault(e) { + return e && e.__esModule ? e : { default: e }; + } + function _createForOfIteratorHelper(r, e) { + var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; + if (!t) { + if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { + t && (r = t); + var _n = 0, F = function F2() { + }; + return { s: F, n: function n() { + return _n >= r.length ? { done: true } : { done: false, value: r[_n++] }; + }, e: function e2(r2) { + throw r2; + }, f: F }; + } + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + var o, a = true, u = false; + return { s: function s() { + t = t.call(r); + }, n: function n() { + var r2 = t.next(); + return a = r2.done, r2; + }, e: function e2(r2) { + u = true, o = r2; + }, f: function f() { + try { + a || null == t.return || t.return(); + } finally { + if (u) throw o; + } + } }; + } + function _slicedToArray(r, e) { + return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); + } + function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + function _unsupportedIterableToArray(r, a) { + if (r) { + if ("string" == typeof r) return _arrayLikeToArray(r, a); + var t = {}.toString.call(r).slice(8, -1); + return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; + } + } + function _arrayLikeToArray(r, a) { + (null == a || a > r.length) && (a = r.length); + for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; + return n; + } + function _iterableToArrayLimit(r, l) { + var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; + if (null != t) { + var e, n, i, u, a = [], f = true, o = false; + try { + if (i = (t = t.call(r)).next, 0 === l) { + if (Object(t) !== t) return; + f = false; + } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = true) ; + } catch (r2) { + o = true, n = r2; + } finally { + try { + if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; + } finally { + if (o) throw n; + } + } + return a; + } + } + function _arrayWithHoles(r) { + if (Array.isArray(r)) return r; + } + var roles = [].concat(_ariaAbstractRoles.default, _ariaLiteralRoles.default, _ariaDpubRoles.default, _ariaGraphicsRoles.default); + roles.forEach(function(_ref) { + var _ref2 = _slicedToArray(_ref, 2), roleDefinition = _ref2[1]; + var _iterator = _createForOfIteratorHelper(roleDefinition.superClass), _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done; ) { + var superClassIter = _step.value; + var _iterator2 = _createForOfIteratorHelper(superClassIter), _step2; + try { + var _loop = function _loop2() { + var superClassName = _step2.value; + var superClassRoleTuple = roles.filter(function(_ref3) { + var _ref4 = _slicedToArray(_ref3, 1), name = _ref4[0]; + return name === superClassName; + })[0]; + if (superClassRoleTuple) { + var superClassDefinition = superClassRoleTuple[1]; + for (var _i = 0, _Object$keys = Object.keys(superClassDefinition.props); _i < _Object$keys.length; _i++) { + var prop = _Object$keys[_i]; + if ( + // $FlowIssue Accessing the hasOwnProperty on the Object prototype is fine. + !Object.prototype.hasOwnProperty.call(roleDefinition.props, prop) + ) { + roleDefinition.props[prop] = superClassDefinition.props[prop]; + } + } + } + }; + for (_iterator2.s(); !(_step2 = _iterator2.n()).done; ) { + _loop(); + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + }); + var rolesMap = { + entries: function entries() { + return roles; + }, + forEach: function forEach(fn) { + var thisArg = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null; + var _iterator3 = _createForOfIteratorHelper(roles), _step3; + try { + for (_iterator3.s(); !(_step3 = _iterator3.n()).done; ) { + var _step3$value = _slicedToArray(_step3.value, 2), key = _step3$value[0], values = _step3$value[1]; + fn.call(thisArg, values, key, roles); + } + } catch (err) { + _iterator3.e(err); + } finally { + _iterator3.f(); + } + }, + get: function get(key) { + var item = roles.filter(function(tuple) { + return tuple[0] === key ? true : false; + })[0]; + return item && item[1]; + }, + has: function has(key) { + return !!rolesMap.get(key); + }, + keys: function keys() { + return roles.map(function(_ref5) { + var _ref6 = _slicedToArray(_ref5, 1), key = _ref6[0]; + return key; + }); + }, + values: function values() { + return roles.map(function(_ref7) { + var _ref8 = _slicedToArray(_ref7, 2), values2 = _ref8[1]; + return values2; + }); + } + }; + var _default = exports.default = (0, _iterationDecorator.default)(rolesMap, rolesMap.entries()); + } +}); + +// node_modules/aria-query/lib/elementRoleMap.js +var require_elementRoleMap = __commonJS({ + "node_modules/aria-query/lib/elementRoleMap.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var _iterationDecorator = _interopRequireDefault(require_iterationDecorator()); + var _rolesMap = _interopRequireDefault(require_rolesMap()); + function _interopRequireDefault(e) { + return e && e.__esModule ? e : { default: e }; + } + function _slicedToArray(r, e) { + return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); + } + function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + function _unsupportedIterableToArray(r, a) { + if (r) { + if ("string" == typeof r) return _arrayLikeToArray(r, a); + var t = {}.toString.call(r).slice(8, -1); + return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; + } + } + function _arrayLikeToArray(r, a) { + (null == a || a > r.length) && (a = r.length); + for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; + return n; + } + function _iterableToArrayLimit(r, l) { + var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; + if (null != t) { + var e, n, i2, u, a = [], f = true, o = false; + try { + if (i2 = (t = t.call(r)).next, 0 === l) { + if (Object(t) !== t) return; + f = false; + } else for (; !(f = (e = i2.call(t)).done) && (a.push(e.value), a.length !== l); f = true) ; + } catch (r2) { + o = true, n = r2; + } finally { + try { + if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; + } finally { + if (o) throw n; + } + } + return a; + } + } + function _arrayWithHoles(r) { + if (Array.isArray(r)) return r; + } + var elementRoles = []; + var keys = _rolesMap.default.keys(); + for (i = 0; i < keys.length; i++) { + key = keys[i]; + role = _rolesMap.default.get(key); + if (role) { + concepts = [].concat(role.baseConcepts, role.relatedConcepts); + _loop = function _loop2() { + var relation = concepts[k]; + if (relation.module === "HTML") { + var concept = relation.concept; + if (concept) { + var elementRoleRelation = elementRoles.filter(function(relation2) { + return ariaRoleRelationConceptEquals(relation2[0], concept); + })[0]; + var roles; + if (elementRoleRelation) { + roles = elementRoleRelation[1]; + } else { + roles = []; + } + var isUnique = true; + for (var _i = 0; _i < roles.length; _i++) { + if (roles[_i] === key) { + isUnique = false; + break; + } + } + if (isUnique) { + roles.push(key); + } + if (!elementRoleRelation) { + elementRoles.push([concept, roles]); + } + } + } + }; + for (k = 0; k < concepts.length; k++) { + _loop(); + } + } + } + var key; + var role; + var concepts; + var _loop; + var k; + var i; + var elementRoleMap = { + entries: function entries() { + return elementRoles; + }, + forEach: function forEach(fn) { + var thisArg = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null; + for (var _i2 = 0, _elementRoles = elementRoles; _i2 < _elementRoles.length; _i2++) { + var _elementRoles$_i = _slicedToArray(_elementRoles[_i2], 2), _key = _elementRoles$_i[0], values = _elementRoles$_i[1]; + fn.call(thisArg, values, _key, elementRoles); + } + }, + get: function get(key2) { + var item = elementRoles.filter(function(tuple) { + return key2.name === tuple[0].name && ariaRoleRelationConceptAttributeEquals(key2.attributes, tuple[0].attributes); + })[0]; + return item && item[1]; + }, + has: function has(key2) { + return !!elementRoleMap.get(key2); + }, + keys: function keys2() { + return elementRoles.map(function(_ref) { + var _ref2 = _slicedToArray(_ref, 1), key2 = _ref2[0]; + return key2; + }); + }, + values: function values() { + return elementRoles.map(function(_ref3) { + var _ref4 = _slicedToArray(_ref3, 2), values2 = _ref4[1]; + return values2; + }); + } + }; + function ariaRoleRelationConceptEquals(a, b) { + return a.name === b.name && ariaRoleRelationConstraintsEquals(a.constraints, b.constraints) && ariaRoleRelationConceptAttributeEquals(a.attributes, b.attributes); + } + function ariaRoleRelationConstraintsEquals(a, b) { + if (a === void 0 && b !== void 0) { + return false; + } + if (a !== void 0 && b === void 0) { + return false; + } + if (a !== void 0 && b !== void 0) { + if (a.length !== b.length) { + return false; + } + for (var _i3 = 0; _i3 < a.length; _i3++) { + if (a[_i3] !== b[_i3]) { + return false; + } + } + } + return true; + } + function ariaRoleRelationConceptAttributeEquals(a, b) { + if (a === void 0 && b !== void 0) { + return false; + } + if (a !== void 0 && b === void 0) { + return false; + } + if (a !== void 0 && b !== void 0) { + if (a.length !== b.length) { + return false; + } + for (var _i4 = 0; _i4 < a.length; _i4++) { + if (a[_i4].name !== b[_i4].name || a[_i4].value !== b[_i4].value) { + return false; + } + if (a[_i4].constraints === void 0 && b[_i4].constraints !== void 0) { + return false; + } + if (a[_i4].constraints !== void 0 && b[_i4].constraints === void 0) { + return false; + } + if (a[_i4].constraints !== void 0 && b[_i4].constraints !== void 0) { + if (a[_i4].constraints.length !== b[_i4].constraints.length) { + return false; + } + for (var j = 0; j < a[_i4].constraints.length; j++) { + if (a[_i4].constraints[j] !== b[_i4].constraints[j]) { + return false; + } + } + } + } + } + return true; + } + var _default = exports.default = (0, _iterationDecorator.default)(elementRoleMap, elementRoleMap.entries()); + } +}); + +// node_modules/aria-query/lib/roleElementMap.js +var require_roleElementMap = __commonJS({ + "node_modules/aria-query/lib/roleElementMap.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var _iterationDecorator = _interopRequireDefault(require_iterationDecorator()); + var _rolesMap = _interopRequireDefault(require_rolesMap()); + function _interopRequireDefault(e) { + return e && e.__esModule ? e : { default: e }; + } + function _slicedToArray(r, e) { + return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); + } + function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + function _unsupportedIterableToArray(r, a) { + if (r) { + if ("string" == typeof r) return _arrayLikeToArray(r, a); + var t = {}.toString.call(r).slice(8, -1); + return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; + } + } + function _arrayLikeToArray(r, a) { + (null == a || a > r.length) && (a = r.length); + for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; + return n; + } + function _iterableToArrayLimit(r, l) { + var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; + if (null != t) { + var e, n, i2, u, a = [], f = true, o = false; + try { + if (i2 = (t = t.call(r)).next, 0 === l) { + if (Object(t) !== t) return; + f = false; + } else for (; !(f = (e = i2.call(t)).done) && (a.push(e.value), a.length !== l); f = true) ; + } catch (r2) { + o = true, n = r2; + } finally { + try { + if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; + } finally { + if (o) throw n; + } + } + return a; + } + } + function _arrayWithHoles(r) { + if (Array.isArray(r)) return r; + } + var roleElement = []; + var keys = _rolesMap.default.keys(); + for (i = 0; i < keys.length; i++) { + key = keys[i]; + role = _rolesMap.default.get(key); + relationConcepts = []; + if (role) { + concepts = [].concat(role.baseConcepts, role.relatedConcepts); + for (k = 0; k < concepts.length; k++) { + relation = concepts[k]; + if (relation.module === "HTML") { + concept = relation.concept; + if (concept != null) { + relationConcepts.push(concept); + } + } + } + if (relationConcepts.length > 0) { + roleElement.push([key, relationConcepts]); + } + } + } + var key; + var role; + var relationConcepts; + var concepts; + var relation; + var concept; + var k; + var i; + var roleElementMap = { + entries: function entries() { + return roleElement; + }, + forEach: function forEach(fn) { + var thisArg = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null; + for (var _i = 0, _roleElement = roleElement; _i < _roleElement.length; _i++) { + var _roleElement$_i = _slicedToArray(_roleElement[_i], 2), _key = _roleElement$_i[0], values = _roleElement$_i[1]; + fn.call(thisArg, values, _key, roleElement); + } + }, + get: function get(key2) { + var item = roleElement.filter(function(tuple) { + return tuple[0] === key2 ? true : false; + })[0]; + return item && item[1]; + }, + has: function has(key2) { + return !!roleElementMap.get(key2); + }, + keys: function keys2() { + return roleElement.map(function(_ref) { + var _ref2 = _slicedToArray(_ref, 1), key2 = _ref2[0]; + return key2; + }); + }, + values: function values() { + return roleElement.map(function(_ref3) { + var _ref4 = _slicedToArray(_ref3, 2), values2 = _ref4[1]; + return values2; + }); + } + }; + var _default = exports.default = (0, _iterationDecorator.default)(roleElementMap, roleElementMap.entries()); + } +}); + +// node_modules/aria-query/lib/index.js +var require_lib = __commonJS({ + "node_modules/aria-query/lib/index.js"(exports) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.roles = exports.roleElements = exports.elementRoles = exports.dom = exports.aria = void 0; + var _ariaPropsMap = _interopRequireDefault(require_ariaPropsMap()); + var _domMap = _interopRequireDefault(require_domMap()); + var _rolesMap = _interopRequireDefault(require_rolesMap()); + var _elementRoleMap = _interopRequireDefault(require_elementRoleMap()); + var _roleElementMap = _interopRequireDefault(require_roleElementMap()); + function _interopRequireDefault(e) { + return e && e.__esModule ? e : { default: e }; + } + var aria = exports.aria = _ariaPropsMap.default; + var dom = exports.dom = _domMap.default; + var roles = exports.roles = _rolesMap.default; + var elementRoles = exports.elementRoles = _elementRoleMap.default; + var roleElements = exports.roleElements = _roleElementMap.default; + } +}); +export default require_lib(); +//# sourceMappingURL=astro___aria-query.js.map diff --git a/node_modules/.vite/deps/astro___aria-query.js.map b/node_modules/.vite/deps/astro___aria-query.js.map new file mode 100644 index 0000000..5ef5a6f --- /dev/null +++ b/node_modules/.vite/deps/astro___aria-query.js.map @@ -0,0 +1,7 @@ +{ + "version": 3, + "sources": ["../../aria-query/lib/util/iteratorProxy.js", "../../aria-query/lib/util/iterationDecorator.js", "../../aria-query/lib/ariaPropsMap.js", "../../aria-query/lib/domMap.js", "../../aria-query/lib/etc/roles/abstract/commandRole.js", "../../aria-query/lib/etc/roles/abstract/compositeRole.js", "../../aria-query/lib/etc/roles/abstract/inputRole.js", "../../aria-query/lib/etc/roles/abstract/landmarkRole.js", "../../aria-query/lib/etc/roles/abstract/rangeRole.js", "../../aria-query/lib/etc/roles/abstract/roletypeRole.js", "../../aria-query/lib/etc/roles/abstract/sectionRole.js", "../../aria-query/lib/etc/roles/abstract/sectionheadRole.js", "../../aria-query/lib/etc/roles/abstract/selectRole.js", "../../aria-query/lib/etc/roles/abstract/structureRole.js", "../../aria-query/lib/etc/roles/abstract/widgetRole.js", "../../aria-query/lib/etc/roles/abstract/windowRole.js", "../../aria-query/lib/etc/roles/ariaAbstractRoles.js", "../../aria-query/lib/etc/roles/literal/alertRole.js", "../../aria-query/lib/etc/roles/literal/alertdialogRole.js", "../../aria-query/lib/etc/roles/literal/applicationRole.js", "../../aria-query/lib/etc/roles/literal/articleRole.js", "../../aria-query/lib/etc/roles/literal/bannerRole.js", "../../aria-query/lib/etc/roles/literal/blockquoteRole.js", "../../aria-query/lib/etc/roles/literal/buttonRole.js", "../../aria-query/lib/etc/roles/literal/captionRole.js", "../../aria-query/lib/etc/roles/literal/cellRole.js", "../../aria-query/lib/etc/roles/literal/checkboxRole.js", "../../aria-query/lib/etc/roles/literal/codeRole.js", "../../aria-query/lib/etc/roles/literal/columnheaderRole.js", "../../aria-query/lib/etc/roles/literal/comboboxRole.js", "../../aria-query/lib/etc/roles/literal/complementaryRole.js", "../../aria-query/lib/etc/roles/literal/contentinfoRole.js", "../../aria-query/lib/etc/roles/literal/definitionRole.js", "../../aria-query/lib/etc/roles/literal/deletionRole.js", "../../aria-query/lib/etc/roles/literal/dialogRole.js", "../../aria-query/lib/etc/roles/literal/directoryRole.js", "../../aria-query/lib/etc/roles/literal/documentRole.js", "../../aria-query/lib/etc/roles/literal/emphasisRole.js", "../../aria-query/lib/etc/roles/literal/feedRole.js", "../../aria-query/lib/etc/roles/literal/figureRole.js", "../../aria-query/lib/etc/roles/literal/formRole.js", "../../aria-query/lib/etc/roles/literal/genericRole.js", "../../aria-query/lib/etc/roles/literal/gridRole.js", "../../aria-query/lib/etc/roles/literal/gridcellRole.js", "../../aria-query/lib/etc/roles/literal/groupRole.js", "../../aria-query/lib/etc/roles/literal/headingRole.js", "../../aria-query/lib/etc/roles/literal/imgRole.js", "../../aria-query/lib/etc/roles/literal/insertionRole.js", "../../aria-query/lib/etc/roles/literal/linkRole.js", "../../aria-query/lib/etc/roles/literal/listRole.js", "../../aria-query/lib/etc/roles/literal/listboxRole.js", "../../aria-query/lib/etc/roles/literal/listitemRole.js", "../../aria-query/lib/etc/roles/literal/logRole.js", "../../aria-query/lib/etc/roles/literal/mainRole.js", "../../aria-query/lib/etc/roles/literal/markRole.js", "../../aria-query/lib/etc/roles/literal/marqueeRole.js", "../../aria-query/lib/etc/roles/literal/mathRole.js", "../../aria-query/lib/etc/roles/literal/menuRole.js", "../../aria-query/lib/etc/roles/literal/menubarRole.js", "../../aria-query/lib/etc/roles/literal/menuitemRole.js", "../../aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js", "../../aria-query/lib/etc/roles/literal/menuitemradioRole.js", "../../aria-query/lib/etc/roles/literal/meterRole.js", "../../aria-query/lib/etc/roles/literal/navigationRole.js", "../../aria-query/lib/etc/roles/literal/noneRole.js", "../../aria-query/lib/etc/roles/literal/noteRole.js", "../../aria-query/lib/etc/roles/literal/optionRole.js", "../../aria-query/lib/etc/roles/literal/paragraphRole.js", "../../aria-query/lib/etc/roles/literal/presentationRole.js", "../../aria-query/lib/etc/roles/literal/progressbarRole.js", "../../aria-query/lib/etc/roles/literal/radioRole.js", "../../aria-query/lib/etc/roles/literal/radiogroupRole.js", "../../aria-query/lib/etc/roles/literal/regionRole.js", "../../aria-query/lib/etc/roles/literal/rowRole.js", "../../aria-query/lib/etc/roles/literal/rowgroupRole.js", "../../aria-query/lib/etc/roles/literal/rowheaderRole.js", "../../aria-query/lib/etc/roles/literal/scrollbarRole.js", "../../aria-query/lib/etc/roles/literal/searchRole.js", "../../aria-query/lib/etc/roles/literal/searchboxRole.js", "../../aria-query/lib/etc/roles/literal/separatorRole.js", "../../aria-query/lib/etc/roles/literal/sliderRole.js", "../../aria-query/lib/etc/roles/literal/spinbuttonRole.js", "../../aria-query/lib/etc/roles/literal/statusRole.js", "../../aria-query/lib/etc/roles/literal/strongRole.js", "../../aria-query/lib/etc/roles/literal/subscriptRole.js", "../../aria-query/lib/etc/roles/literal/superscriptRole.js", "../../aria-query/lib/etc/roles/literal/switchRole.js", "../../aria-query/lib/etc/roles/literal/tabRole.js", "../../aria-query/lib/etc/roles/literal/tableRole.js", "../../aria-query/lib/etc/roles/literal/tablistRole.js", "../../aria-query/lib/etc/roles/literal/tabpanelRole.js", "../../aria-query/lib/etc/roles/literal/termRole.js", "../../aria-query/lib/etc/roles/literal/textboxRole.js", "../../aria-query/lib/etc/roles/literal/timeRole.js", "../../aria-query/lib/etc/roles/literal/timerRole.js", "../../aria-query/lib/etc/roles/literal/toolbarRole.js", "../../aria-query/lib/etc/roles/literal/tooltipRole.js", "../../aria-query/lib/etc/roles/literal/treeRole.js", "../../aria-query/lib/etc/roles/literal/treegridRole.js", "../../aria-query/lib/etc/roles/literal/treeitemRole.js", "../../aria-query/lib/etc/roles/ariaLiteralRoles.js", "../../aria-query/lib/etc/roles/dpub/docAbstractRole.js", "../../aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js", "../../aria-query/lib/etc/roles/dpub/docAfterwordRole.js", "../../aria-query/lib/etc/roles/dpub/docAppendixRole.js", "../../aria-query/lib/etc/roles/dpub/docBacklinkRole.js", "../../aria-query/lib/etc/roles/dpub/docBiblioentryRole.js", "../../aria-query/lib/etc/roles/dpub/docBibliographyRole.js", "../../aria-query/lib/etc/roles/dpub/docBibliorefRole.js", "../../aria-query/lib/etc/roles/dpub/docChapterRole.js", "../../aria-query/lib/etc/roles/dpub/docColophonRole.js", "../../aria-query/lib/etc/roles/dpub/docConclusionRole.js", "../../aria-query/lib/etc/roles/dpub/docCoverRole.js", "../../aria-query/lib/etc/roles/dpub/docCreditRole.js", "../../aria-query/lib/etc/roles/dpub/docCreditsRole.js", "../../aria-query/lib/etc/roles/dpub/docDedicationRole.js", "../../aria-query/lib/etc/roles/dpub/docEndnoteRole.js", "../../aria-query/lib/etc/roles/dpub/docEndnotesRole.js", "../../aria-query/lib/etc/roles/dpub/docEpigraphRole.js", "../../aria-query/lib/etc/roles/dpub/docEpilogueRole.js", "../../aria-query/lib/etc/roles/dpub/docErrataRole.js", "../../aria-query/lib/etc/roles/dpub/docExampleRole.js", "../../aria-query/lib/etc/roles/dpub/docFootnoteRole.js", "../../aria-query/lib/etc/roles/dpub/docForewordRole.js", "../../aria-query/lib/etc/roles/dpub/docGlossaryRole.js", "../../aria-query/lib/etc/roles/dpub/docGlossrefRole.js", "../../aria-query/lib/etc/roles/dpub/docIndexRole.js", "../../aria-query/lib/etc/roles/dpub/docIntroductionRole.js", "../../aria-query/lib/etc/roles/dpub/docNoterefRole.js", "../../aria-query/lib/etc/roles/dpub/docNoticeRole.js", "../../aria-query/lib/etc/roles/dpub/docPagebreakRole.js", "../../aria-query/lib/etc/roles/dpub/docPagefooterRole.js", "../../aria-query/lib/etc/roles/dpub/docPageheaderRole.js", "../../aria-query/lib/etc/roles/dpub/docPagelistRole.js", "../../aria-query/lib/etc/roles/dpub/docPartRole.js", "../../aria-query/lib/etc/roles/dpub/docPrefaceRole.js", "../../aria-query/lib/etc/roles/dpub/docPrologueRole.js", "../../aria-query/lib/etc/roles/dpub/docPullquoteRole.js", "../../aria-query/lib/etc/roles/dpub/docQnaRole.js", "../../aria-query/lib/etc/roles/dpub/docSubtitleRole.js", "../../aria-query/lib/etc/roles/dpub/docTipRole.js", "../../aria-query/lib/etc/roles/dpub/docTocRole.js", "../../aria-query/lib/etc/roles/ariaDpubRoles.js", "../../aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js", "../../aria-query/lib/etc/roles/graphics/graphicsObjectRole.js", "../../aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js", "../../aria-query/lib/etc/roles/ariaGraphicsRoles.js", "../../aria-query/lib/rolesMap.js", "../../aria-query/lib/elementRoleMap.js", "../../aria-query/lib/roleElementMap.js", "../../aria-query/lib/index.js"], + "sourcesContent": ["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n// eslint-disable-next-line no-unused-vars\nfunction iteratorProxy() {\n var values = this;\n var index = 0;\n var iter = {\n '@@iterator': function iterator() {\n return iter;\n },\n next: function next() {\n if (index < values.length) {\n var value = values[index];\n index = index + 1;\n return {\n done: false,\n value: value\n };\n } else {\n return {\n done: true\n };\n }\n }\n };\n return iter;\n}\nvar _default = exports.default = iteratorProxy;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = iterationDecorator;\nvar _iteratorProxy = _interopRequireDefault(require(\"./iteratorProxy\"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction iterationDecorator(collection, entries) {\n if (typeof Symbol === 'function' && _typeof(Symbol.iterator) === 'symbol') {\n Object.defineProperty(collection, Symbol.iterator, {\n value: _iteratorProxy.default.bind(entries)\n });\n }\n return collection;\n}", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _iterationDecorator = _interopRequireDefault(require(\"./util/iterationDecorator\"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }\nfunction _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nvar properties = [['aria-activedescendant', {\n 'type': 'id'\n}], ['aria-atomic', {\n 'type': 'boolean'\n}], ['aria-autocomplete', {\n 'type': 'token',\n 'values': ['inline', 'list', 'both', 'none']\n}], ['aria-braillelabel', {\n 'type': 'string'\n}], ['aria-brailleroledescription', {\n 'type': 'string'\n}], ['aria-busy', {\n 'type': 'boolean'\n}], ['aria-checked', {\n 'type': 'tristate'\n}], ['aria-colcount', {\n type: 'integer'\n}], ['aria-colindex', {\n type: 'integer'\n}], ['aria-colspan', {\n type: 'integer'\n}], ['aria-controls', {\n 'type': 'idlist'\n}], ['aria-current', {\n type: 'token',\n values: ['page', 'step', 'location', 'date', 'time', true, false]\n}], ['aria-describedby', {\n 'type': 'idlist'\n}], ['aria-description', {\n 'type': 'string'\n}], ['aria-details', {\n 'type': 'id'\n}], ['aria-disabled', {\n 'type': 'boolean'\n}], ['aria-dropeffect', {\n 'type': 'tokenlist',\n 'values': ['copy', 'execute', 'link', 'move', 'none', 'popup']\n}], ['aria-errormessage', {\n 'type': 'id'\n}], ['aria-expanded', {\n 'type': 'boolean',\n 'allowundefined': true\n}], ['aria-flowto', {\n 'type': 'idlist'\n}], ['aria-grabbed', {\n 'type': 'boolean',\n 'allowundefined': true\n}], ['aria-haspopup', {\n 'type': 'token',\n 'values': [false, true, 'menu', 'listbox', 'tree', 'grid', 'dialog']\n}], ['aria-hidden', {\n 'type': 'boolean',\n 'allowundefined': true\n}], ['aria-invalid', {\n 'type': 'token',\n 'values': ['grammar', false, 'spelling', true]\n}], ['aria-keyshortcuts', {\n type: 'string'\n}], ['aria-label', {\n 'type': 'string'\n}], ['aria-labelledby', {\n 'type': 'idlist'\n}], ['aria-level', {\n 'type': 'integer'\n}], ['aria-live', {\n 'type': 'token',\n 'values': ['assertive', 'off', 'polite']\n}], ['aria-modal', {\n type: 'boolean'\n}], ['aria-multiline', {\n 'type': 'boolean'\n}], ['aria-multiselectable', {\n 'type': 'boolean'\n}], ['aria-orientation', {\n 'type': 'token',\n 'values': ['vertical', 'undefined', 'horizontal']\n}], ['aria-owns', {\n 'type': 'idlist'\n}], ['aria-placeholder', {\n type: 'string'\n}], ['aria-posinset', {\n 'type': 'integer'\n}], ['aria-pressed', {\n 'type': 'tristate'\n}], ['aria-readonly', {\n 'type': 'boolean'\n}], ['aria-relevant', {\n 'type': 'tokenlist',\n 'values': ['additions', 'all', 'removals', 'text']\n}], ['aria-required', {\n 'type': 'boolean'\n}], ['aria-roledescription', {\n type: 'string'\n}], ['aria-rowcount', {\n type: 'integer'\n}], ['aria-rowindex', {\n type: 'integer'\n}], ['aria-rowspan', {\n type: 'integer'\n}], ['aria-selected', {\n 'type': 'boolean',\n 'allowundefined': true\n}], ['aria-setsize', {\n 'type': 'integer'\n}], ['aria-sort', {\n 'type': 'token',\n 'values': ['ascending', 'descending', 'none', 'other']\n}], ['aria-valuemax', {\n 'type': 'number'\n}], ['aria-valuemin', {\n 'type': 'number'\n}], ['aria-valuenow', {\n 'type': 'number'\n}], ['aria-valuetext', {\n 'type': 'string'\n}]];\nvar ariaPropsMap = {\n entries: function entries() {\n return properties;\n },\n forEach: function forEach(fn) {\n var thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n for (var _i = 0, _properties = properties; _i < _properties.length; _i++) {\n var _properties$_i = _slicedToArray(_properties[_i], 2),\n key = _properties$_i[0],\n values = _properties$_i[1];\n fn.call(thisArg, values, key, properties);\n }\n },\n get: function get(key) {\n var item = properties.filter(function (tuple) {\n return tuple[0] === key ? true : false;\n })[0];\n return item && item[1];\n },\n has: function has(key) {\n return !!ariaPropsMap.get(key);\n },\n keys: function keys() {\n return properties.map(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n key = _ref2[0];\n return key;\n });\n },\n values: function values() {\n return properties.map(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n values = _ref4[1];\n return values;\n });\n }\n};\nvar _default = exports.default = (0, _iterationDecorator.default)(ariaPropsMap, ariaPropsMap.entries());", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _iterationDecorator = _interopRequireDefault(require(\"./util/iterationDecorator\"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }\nfunction _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nvar dom = [['a', {\n reserved: false\n}], ['abbr', {\n reserved: false\n}], ['acronym', {\n reserved: false\n}], ['address', {\n reserved: false\n}], ['applet', {\n reserved: false\n}], ['area', {\n reserved: false\n}], ['article', {\n reserved: false\n}], ['aside', {\n reserved: false\n}], ['audio', {\n reserved: false\n}], ['b', {\n reserved: false\n}], ['base', {\n reserved: true\n}], ['bdi', {\n reserved: false\n}], ['bdo', {\n reserved: false\n}], ['big', {\n reserved: false\n}], ['blink', {\n reserved: false\n}], ['blockquote', {\n reserved: false\n}], ['body', {\n reserved: false\n}], ['br', {\n reserved: false\n}], ['button', {\n reserved: false\n}], ['canvas', {\n reserved: false\n}], ['caption', {\n reserved: false\n}], ['center', {\n reserved: false\n}], ['cite', {\n reserved: false\n}], ['code', {\n reserved: false\n}], ['col', {\n reserved: true\n}], ['colgroup', {\n reserved: true\n}], ['content', {\n reserved: false\n}], ['data', {\n reserved: false\n}], ['datalist', {\n reserved: false\n}], ['dd', {\n reserved: false\n}], ['del', {\n reserved: false\n}], ['details', {\n reserved: false\n}], ['dfn', {\n reserved: false\n}], ['dialog', {\n reserved: false\n}], ['dir', {\n reserved: false\n}], ['div', {\n reserved: false\n}], ['dl', {\n reserved: false\n}], ['dt', {\n reserved: false\n}], ['em', {\n reserved: false\n}], ['embed', {\n reserved: false\n}], ['fieldset', {\n reserved: false\n}], ['figcaption', {\n reserved: false\n}], ['figure', {\n reserved: false\n}], ['font', {\n reserved: false\n}], ['footer', {\n reserved: false\n}], ['form', {\n reserved: false\n}], ['frame', {\n reserved: false\n}], ['frameset', {\n reserved: false\n}], ['h1', {\n reserved: false\n}], ['h2', {\n reserved: false\n}], ['h3', {\n reserved: false\n}], ['h4', {\n reserved: false\n}], ['h5', {\n reserved: false\n}], ['h6', {\n reserved: false\n}], ['head', {\n reserved: true\n}], ['header', {\n reserved: false\n}], ['hgroup', {\n reserved: false\n}], ['hr', {\n reserved: false\n}], ['html', {\n reserved: true\n}], ['i', {\n reserved: false\n}], ['iframe', {\n reserved: false\n}], ['img', {\n reserved: false\n}], ['input', {\n reserved: false\n}], ['ins', {\n reserved: false\n}], ['kbd', {\n reserved: false\n}], ['keygen', {\n reserved: false\n}], ['label', {\n reserved: false\n}], ['legend', {\n reserved: false\n}], ['li', {\n reserved: false\n}], ['link', {\n reserved: true\n}], ['main', {\n reserved: false\n}], ['map', {\n reserved: false\n}], ['mark', {\n reserved: false\n}], ['marquee', {\n reserved: false\n}], ['menu', {\n reserved: false\n}], ['menuitem', {\n reserved: false\n}], ['meta', {\n reserved: true\n}], ['meter', {\n reserved: false\n}], ['nav', {\n reserved: false\n}], ['noembed', {\n reserved: true\n}], ['noscript', {\n reserved: true\n}], ['object', {\n reserved: false\n}], ['ol', {\n reserved: false\n}], ['optgroup', {\n reserved: false\n}], ['option', {\n reserved: false\n}], ['output', {\n reserved: false\n}], ['p', {\n reserved: false\n}], ['param', {\n reserved: true\n}], ['picture', {\n reserved: true\n}], ['pre', {\n reserved: false\n}], ['progress', {\n reserved: false\n}], ['q', {\n reserved: false\n}], ['rp', {\n reserved: false\n}], ['rt', {\n reserved: false\n}], ['rtc', {\n reserved: false\n}], ['ruby', {\n reserved: false\n}], ['s', {\n reserved: false\n}], ['samp', {\n reserved: false\n}], ['script', {\n reserved: true\n}], ['section', {\n reserved: false\n}], ['select', {\n reserved: false\n}], ['small', {\n reserved: false\n}], ['source', {\n reserved: true\n}], ['spacer', {\n reserved: false\n}], ['span', {\n reserved: false\n}], ['strike', {\n reserved: false\n}], ['strong', {\n reserved: false\n}], ['style', {\n reserved: true\n}], ['sub', {\n reserved: false\n}], ['summary', {\n reserved: false\n}], ['sup', {\n reserved: false\n}], ['table', {\n reserved: false\n}], ['tbody', {\n reserved: false\n}], ['td', {\n reserved: false\n}], ['textarea', {\n reserved: false\n}], ['tfoot', {\n reserved: false\n}], ['th', {\n reserved: false\n}], ['thead', {\n reserved: false\n}], ['time', {\n reserved: false\n}], ['title', {\n reserved: true\n}], ['tr', {\n reserved: false\n}], ['track', {\n reserved: true\n}], ['tt', {\n reserved: false\n}], ['u', {\n reserved: false\n}], ['ul', {\n reserved: false\n}], ['var', {\n reserved: false\n}], ['video', {\n reserved: false\n}], ['wbr', {\n reserved: false\n}], ['xmp', {\n reserved: false\n}]];\nvar domMap = {\n entries: function entries() {\n return dom;\n },\n forEach: function forEach(fn) {\n var thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n for (var _i = 0, _dom = dom; _i < _dom.length; _i++) {\n var _dom$_i = _slicedToArray(_dom[_i], 2),\n key = _dom$_i[0],\n values = _dom$_i[1];\n fn.call(thisArg, values, key, dom);\n }\n },\n get: function get(key) {\n var item = dom.filter(function (tuple) {\n return tuple[0] === key ? true : false;\n })[0];\n return item && item[1];\n },\n has: function has(key) {\n return !!domMap.get(key);\n },\n keys: function keys() {\n return dom.map(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n key = _ref2[0];\n return key;\n });\n },\n values: function values() {\n return dom.map(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n values = _ref4[1];\n return values;\n });\n }\n};\nvar _default = exports.default = (0, _iterationDecorator.default)(domMap, domMap.entries());", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar commandRole = {\n abstract: true,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'widget']]\n};\nvar _default = exports.default = commandRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar compositeRole = {\n abstract: true,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-activedescendant': null,\n 'aria-disabled': null\n },\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'widget']]\n};\nvar _default = exports.default = compositeRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar inputRole = {\n abstract: true,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null\n },\n relatedConcepts: [{\n concept: {\n name: 'input'\n },\n module: 'XForms'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'widget']]\n};\nvar _default = exports.default = inputRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar landmarkRole = {\n abstract: true,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = landmarkRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar rangeRole = {\n abstract: true,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-valuemax': null,\n 'aria-valuemin': null,\n 'aria-valuenow': null\n },\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure']]\n};\nvar _default = exports.default = rangeRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar roletypeRole = {\n abstract: true,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: [],\n prohibitedProps: [],\n props: {\n 'aria-atomic': null,\n 'aria-busy': null,\n 'aria-controls': null,\n 'aria-current': null,\n 'aria-describedby': null,\n 'aria-details': null,\n 'aria-dropeffect': null,\n 'aria-flowto': null,\n 'aria-grabbed': null,\n 'aria-hidden': null,\n 'aria-keyshortcuts': null,\n 'aria-label': null,\n 'aria-labelledby': null,\n 'aria-live': null,\n 'aria-owns': null,\n 'aria-relevant': null,\n 'aria-roledescription': null\n },\n relatedConcepts: [{\n concept: {\n name: 'role'\n },\n module: 'XHTML'\n }, {\n concept: {\n name: 'type'\n },\n module: 'Dublin Core'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: []\n};\nvar _default = exports.default = roletypeRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar sectionRole = {\n abstract: true,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: [],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'frontmatter'\n },\n module: 'DTB'\n }, {\n concept: {\n name: 'level'\n },\n module: 'DTB'\n }, {\n concept: {\n name: 'level'\n },\n module: 'SMIL'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure']]\n};\nvar _default = exports.default = sectionRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar sectionheadRole = {\n abstract: true,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure']]\n};\nvar _default = exports.default = sectionheadRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar selectRole = {\n abstract: true,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-orientation': null\n },\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'widget', 'composite'], ['roletype', 'structure', 'section', 'group']]\n};\nvar _default = exports.default = selectRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar structureRole = {\n abstract: true,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: [],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype']]\n};\nvar _default = exports.default = structureRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar widgetRole = {\n abstract: true,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: [],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype']]\n};\nvar _default = exports.default = widgetRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar windowRole = {\n abstract: true,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-modal': null\n },\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype']]\n};\nvar _default = exports.default = windowRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _commandRole = _interopRequireDefault(require(\"./abstract/commandRole\"));\nvar _compositeRole = _interopRequireDefault(require(\"./abstract/compositeRole\"));\nvar _inputRole = _interopRequireDefault(require(\"./abstract/inputRole\"));\nvar _landmarkRole = _interopRequireDefault(require(\"./abstract/landmarkRole\"));\nvar _rangeRole = _interopRequireDefault(require(\"./abstract/rangeRole\"));\nvar _roletypeRole = _interopRequireDefault(require(\"./abstract/roletypeRole\"));\nvar _sectionRole = _interopRequireDefault(require(\"./abstract/sectionRole\"));\nvar _sectionheadRole = _interopRequireDefault(require(\"./abstract/sectionheadRole\"));\nvar _selectRole = _interopRequireDefault(require(\"./abstract/selectRole\"));\nvar _structureRole = _interopRequireDefault(require(\"./abstract/structureRole\"));\nvar _widgetRole = _interopRequireDefault(require(\"./abstract/widgetRole\"));\nvar _windowRole = _interopRequireDefault(require(\"./abstract/windowRole\"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }\nvar ariaAbstractRoles = [['command', _commandRole.default], ['composite', _compositeRole.default], ['input', _inputRole.default], ['landmark', _landmarkRole.default], ['range', _rangeRole.default], ['roletype', _roletypeRole.default], ['section', _sectionRole.default], ['sectionhead', _sectionheadRole.default], ['select', _selectRole.default], ['structure', _structureRole.default], ['widget', _widgetRole.default], ['window', _windowRole.default]];\nvar _default = exports.default = ariaAbstractRoles;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar alertRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-atomic': 'true',\n 'aria-live': 'assertive'\n },\n relatedConcepts: [{\n concept: {\n name: 'alert'\n },\n module: 'XForms'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = alertRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar alertdialogRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'alert'\n },\n module: 'XForms'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'alert'], ['roletype', 'window', 'dialog']]\n};\nvar _default = exports.default = alertdialogRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar applicationRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-activedescendant': null,\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'Device Independence Delivery Unit'\n }\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure']]\n};\nvar _default = exports.default = applicationRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar articleRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-posinset': null,\n 'aria-setsize': null\n },\n relatedConcepts: [{\n concept: {\n name: 'article'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'document']]\n};\nvar _default = exports.default = articleRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar bannerRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n constraints: ['scoped to the body element'],\n name: 'header'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = bannerRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar blockquoteRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'blockquote'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = blockquoteRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar buttonRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: true,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-pressed': null\n },\n relatedConcepts: [{\n concept: {\n attributes: [{\n name: 'type',\n value: 'button'\n }],\n name: 'input'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n name: 'type',\n value: 'image'\n }],\n name: 'input'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n name: 'type',\n value: 'reset'\n }],\n name: 'input'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n name: 'type',\n value: 'submit'\n }],\n name: 'input'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'button'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'trigger'\n },\n module: 'XForms'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'widget', 'command']]\n};\nvar _default = exports.default = buttonRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar captionRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['prohibited'],\n prohibitedProps: ['aria-label', 'aria-labelledby'],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'caption'\n },\n module: 'HTML'\n }],\n requireContextRole: ['figure', 'grid', 'table'],\n requiredContextRole: ['figure', 'grid', 'table'],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = captionRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar cellRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {\n 'aria-colindex': null,\n 'aria-colspan': null,\n 'aria-rowindex': null,\n 'aria-rowspan': null\n },\n relatedConcepts: [{\n concept: {\n constraints: ['ancestor table element has table role'],\n name: 'td'\n },\n module: 'HTML'\n }],\n requireContextRole: ['row'],\n requiredContextRole: ['row'],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = cellRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar checkboxRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: true,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {\n 'aria-checked': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-invalid': null,\n 'aria-readonly': null,\n 'aria-required': null\n },\n relatedConcepts: [{\n concept: {\n attributes: [{\n name: 'type',\n value: 'checkbox'\n }],\n name: 'input'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'option'\n },\n module: 'ARIA'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {\n 'aria-checked': null\n },\n superClass: [['roletype', 'widget', 'input']]\n};\nvar _default = exports.default = checkboxRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar codeRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['prohibited'],\n prohibitedProps: ['aria-label', 'aria-labelledby'],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'code'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = codeRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar columnheaderRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {\n 'aria-sort': null\n },\n relatedConcepts: [{\n concept: {\n name: 'th'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n name: 'scope',\n value: 'col'\n }],\n name: 'th'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n name: 'scope',\n value: 'colgroup'\n }],\n name: 'th'\n },\n module: 'HTML'\n }],\n requireContextRole: ['row'],\n requiredContextRole: ['row'],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'cell'], ['roletype', 'structure', 'section', 'cell', 'gridcell'], ['roletype', 'widget', 'gridcell'], ['roletype', 'structure', 'sectionhead']]\n};\nvar _default = exports.default = columnheaderRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar comboboxRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-activedescendant': null,\n 'aria-autocomplete': null,\n 'aria-errormessage': null,\n 'aria-invalid': null,\n 'aria-readonly': null,\n 'aria-required': null,\n 'aria-expanded': 'false',\n 'aria-haspopup': 'listbox'\n },\n relatedConcepts: [{\n concept: {\n attributes: [{\n constraints: ['set'],\n name: 'list'\n }, {\n name: 'type',\n value: 'email'\n }],\n name: 'input'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n constraints: ['set'],\n name: 'list'\n }, {\n name: 'type',\n value: 'search'\n }],\n name: 'input'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n constraints: ['set'],\n name: 'list'\n }, {\n name: 'type',\n value: 'tel'\n }],\n name: 'input'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n constraints: ['set'],\n name: 'list'\n }, {\n name: 'type',\n value: 'text'\n }],\n name: 'input'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n constraints: ['set'],\n name: 'list'\n }, {\n name: 'type',\n value: 'url'\n }],\n name: 'input'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n constraints: ['set'],\n name: 'list'\n }, {\n name: 'type',\n value: 'url'\n }],\n name: 'input'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n constraints: ['undefined'],\n name: 'multiple'\n }, {\n constraints: ['undefined'],\n name: 'size'\n }],\n constraints: ['the multiple attribute is not set and the size attribute does not have a value greater than 1'],\n name: 'select'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'select'\n },\n module: 'XForms'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {\n 'aria-controls': null,\n 'aria-expanded': 'false'\n },\n superClass: [['roletype', 'widget', 'input']]\n};\nvar _default = exports.default = comboboxRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar complementaryRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n constraints: ['scoped to the body element', 'scoped to the main element'],\n name: 'aside'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n constraints: ['set'],\n name: 'aria-label'\n }],\n constraints: ['scoped to a sectioning content element', 'scoped to a sectioning root element other than body'],\n name: 'aside'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n constraints: ['set'],\n name: 'aria-labelledby'\n }],\n constraints: ['scoped to a sectioning content element', 'scoped to a sectioning root element other than body'],\n name: 'aside'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = complementaryRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar contentinfoRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n constraints: ['scoped to the body element'],\n name: 'footer'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = contentinfoRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar definitionRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'dd'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = definitionRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar deletionRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['prohibited'],\n prohibitedProps: ['aria-label', 'aria-labelledby'],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'del'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = deletionRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar dialogRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'dialog'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'window']]\n};\nvar _default = exports.default = dialogRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar directoryRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n module: 'DAISY Guide'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'list']]\n};\nvar _default = exports.default = directoryRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar documentRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'Device Independence Delivery Unit'\n }\n }, {\n concept: {\n name: 'html'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure']]\n};\nvar _default = exports.default = documentRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar emphasisRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['prohibited'],\n prohibitedProps: ['aria-label', 'aria-labelledby'],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'em'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = emphasisRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar feedRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [['article']],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'list']]\n};\nvar _default = exports.default = feedRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar figureRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'figure'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = figureRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar formRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n attributes: [{\n constraints: ['set'],\n name: 'aria-label'\n }],\n name: 'form'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n constraints: ['set'],\n name: 'aria-labelledby'\n }],\n name: 'form'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n constraints: ['set'],\n name: 'name'\n }],\n name: 'form'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = formRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar genericRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['prohibited'],\n prohibitedProps: ['aria-label', 'aria-labelledby'],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'a'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'area'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'aside'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'b'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'bdo'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'body'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'data'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'div'\n },\n module: 'HTML'\n }, {\n concept: {\n constraints: ['scoped to the main element', 'scoped to a sectioning content element', 'scoped to a sectioning root element other than body'],\n name: 'footer'\n },\n module: 'HTML'\n }, {\n concept: {\n constraints: ['scoped to the main element', 'scoped to a sectioning content element', 'scoped to a sectioning root element other than body'],\n name: 'header'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'hgroup'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'i'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'pre'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'q'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'samp'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'section'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'small'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'span'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'u'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure']]\n};\nvar _default = exports.default = genericRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar gridRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-multiselectable': null,\n 'aria-readonly': null\n },\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [['row'], ['row', 'rowgroup']],\n requiredProps: {},\n superClass: [['roletype', 'widget', 'composite'], ['roletype', 'structure', 'section', 'table']]\n};\nvar _default = exports.default = gridRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar gridcellRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null,\n 'aria-readonly': null,\n 'aria-required': null,\n 'aria-selected': null\n },\n relatedConcepts: [{\n concept: {\n constraints: ['ancestor table element has grid role', 'ancestor table element has treegrid role'],\n name: 'td'\n },\n module: 'HTML'\n }],\n requireContextRole: ['row'],\n requiredContextRole: ['row'],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'cell'], ['roletype', 'widget']]\n};\nvar _default = exports.default = gridcellRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar groupRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-activedescendant': null,\n 'aria-disabled': null\n },\n relatedConcepts: [{\n concept: {\n name: 'details'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'fieldset'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'optgroup'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'address'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = groupRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar headingRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {\n 'aria-level': '2'\n },\n relatedConcepts: [{\n concept: {\n name: 'h1'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'h2'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'h3'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'h4'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'h5'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'h6'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {\n 'aria-level': '2'\n },\n superClass: [['roletype', 'structure', 'sectionhead']]\n};\nvar _default = exports.default = headingRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar imgRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: true,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n attributes: [{\n constraints: ['set'],\n name: 'alt'\n }],\n name: 'img'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n constraints: ['undefined'],\n name: 'alt'\n }],\n name: 'img'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'imggroup'\n },\n module: 'DTB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = imgRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar insertionRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['prohibited'],\n prohibitedProps: ['aria-label', 'aria-labelledby'],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'ins'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = insertionRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar linkRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-expanded': null,\n 'aria-haspopup': null\n },\n relatedConcepts: [{\n concept: {\n attributes: [{\n constraints: ['set'],\n name: 'href'\n }],\n name: 'a'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n constraints: ['set'],\n name: 'href'\n }],\n name: 'area'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'widget', 'command']]\n};\nvar _default = exports.default = linkRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar listRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'menu'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'ol'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'ul'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [['listitem']],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = listRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar listboxRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-invalid': null,\n 'aria-multiselectable': null,\n 'aria-readonly': null,\n 'aria-required': null,\n 'aria-orientation': 'vertical'\n },\n relatedConcepts: [{\n concept: {\n attributes: [{\n constraints: ['>1'],\n name: 'size'\n }],\n constraints: ['the size attribute value is greater than 1'],\n name: 'select'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n name: 'multiple'\n }],\n name: 'select'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'datalist'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'list'\n },\n module: 'ARIA'\n }, {\n concept: {\n name: 'select'\n },\n module: 'XForms'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [['option', 'group'], ['option']],\n requiredProps: {},\n superClass: [['roletype', 'widget', 'composite', 'select'], ['roletype', 'structure', 'section', 'group', 'select']]\n};\nvar _default = exports.default = listboxRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar listitemRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-level': null,\n 'aria-posinset': null,\n 'aria-setsize': null\n },\n relatedConcepts: [{\n concept: {\n constraints: ['direct descendant of ol', 'direct descendant of ul', 'direct descendant of menu'],\n name: 'li'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'item'\n },\n module: 'XForms'\n }],\n requireContextRole: ['directory', 'list'],\n requiredContextRole: ['directory', 'list'],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = listitemRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar logRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-live': 'polite'\n },\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = logRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar mainRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'main'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = mainRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar markRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['prohibited'],\n prohibitedProps: [],\n props: {\n 'aria-braillelabel': null,\n 'aria-brailleroledescription': null,\n 'aria-description': null\n },\n relatedConcepts: [{\n concept: {\n name: 'mark'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = markRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar marqueeRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = marqueeRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar mathRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'math'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = mathRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar menuRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-orientation': 'vertical'\n },\n relatedConcepts: [{\n concept: {\n name: 'MENU'\n },\n module: 'JAPI'\n }, {\n concept: {\n name: 'list'\n },\n module: 'ARIA'\n }, {\n concept: {\n name: 'select'\n },\n module: 'XForms'\n }, {\n concept: {\n name: 'sidebar'\n },\n module: 'DTB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [['menuitem', 'group'], ['menuitemradio', 'group'], ['menuitemcheckbox', 'group'], ['menuitem'], ['menuitemcheckbox'], ['menuitemradio']],\n requiredProps: {},\n superClass: [['roletype', 'widget', 'composite', 'select'], ['roletype', 'structure', 'section', 'group', 'select']]\n};\nvar _default = exports.default = menuRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar menubarRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-orientation': 'horizontal'\n },\n relatedConcepts: [{\n concept: {\n name: 'toolbar'\n },\n module: 'ARIA'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [['menuitem', 'group'], ['menuitemradio', 'group'], ['menuitemcheckbox', 'group'], ['menuitem'], ['menuitemcheckbox'], ['menuitemradio']],\n requiredProps: {},\n superClass: [['roletype', 'widget', 'composite', 'select', 'menu'], ['roletype', 'structure', 'section', 'group', 'select', 'menu']]\n};\nvar _default = exports.default = menubarRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar menuitemRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-posinset': null,\n 'aria-setsize': null\n },\n relatedConcepts: [{\n concept: {\n name: 'MENU_ITEM'\n },\n module: 'JAPI'\n }, {\n concept: {\n name: 'listitem'\n },\n module: 'ARIA'\n }, {\n concept: {\n name: 'option'\n },\n module: 'ARIA'\n }],\n requireContextRole: ['group', 'menu', 'menubar'],\n requiredContextRole: ['group', 'menu', 'menubar'],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'widget', 'command']]\n};\nvar _default = exports.default = menuitemRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar menuitemcheckboxRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: true,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'menuitem'\n },\n module: 'ARIA'\n }],\n requireContextRole: ['group', 'menu', 'menubar'],\n requiredContextRole: ['group', 'menu', 'menubar'],\n requiredOwnedElements: [],\n requiredProps: {\n 'aria-checked': null\n },\n superClass: [['roletype', 'widget', 'input', 'checkbox'], ['roletype', 'widget', 'command', 'menuitem']]\n};\nvar _default = exports.default = menuitemcheckboxRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar menuitemradioRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: true,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'menuitem'\n },\n module: 'ARIA'\n }],\n requireContextRole: ['group', 'menu', 'menubar'],\n requiredContextRole: ['group', 'menu', 'menubar'],\n requiredOwnedElements: [],\n requiredProps: {\n 'aria-checked': null\n },\n superClass: [['roletype', 'widget', 'input', 'checkbox', 'menuitemcheckbox'], ['roletype', 'widget', 'command', 'menuitem', 'menuitemcheckbox'], ['roletype', 'widget', 'input', 'radio']]\n};\nvar _default = exports.default = menuitemradioRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar meterRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: true,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-valuetext': null,\n 'aria-valuemax': '100',\n 'aria-valuemin': '0'\n },\n relatedConcepts: [{\n concept: {\n name: 'meter'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {\n 'aria-valuenow': null\n },\n superClass: [['roletype', 'structure', 'range']]\n};\nvar _default = exports.default = meterRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar navigationRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'nav'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = navigationRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar noneRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: [],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: []\n};\nvar _default = exports.default = noneRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar noteRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = noteRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar optionRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: true,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {\n 'aria-checked': null,\n 'aria-posinset': null,\n 'aria-setsize': null,\n 'aria-selected': 'false'\n },\n relatedConcepts: [{\n concept: {\n name: 'item'\n },\n module: 'XForms'\n }, {\n concept: {\n name: 'listitem'\n },\n module: 'ARIA'\n }, {\n concept: {\n name: 'option'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {\n 'aria-selected': 'false'\n },\n superClass: [['roletype', 'widget', 'input']]\n};\nvar _default = exports.default = optionRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar paragraphRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['prohibited'],\n prohibitedProps: ['aria-label', 'aria-labelledby'],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'p'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = paragraphRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar presentationRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['prohibited'],\n prohibitedProps: ['aria-label', 'aria-labelledby'],\n props: {},\n relatedConcepts: [{\n concept: {\n attributes: [{\n name: 'alt',\n value: ''\n }],\n name: 'img'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure']]\n};\nvar _default = exports.default = presentationRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar progressbarRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: true,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-valuetext': null\n },\n relatedConcepts: [{\n concept: {\n name: 'progress'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'status'\n },\n module: 'ARIA'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'range'], ['roletype', 'widget']]\n};\nvar _default = exports.default = progressbarRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar radioRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: true,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {\n 'aria-checked': null,\n 'aria-posinset': null,\n 'aria-setsize': null\n },\n relatedConcepts: [{\n concept: {\n attributes: [{\n name: 'type',\n value: 'radio'\n }],\n name: 'input'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {\n 'aria-checked': null\n },\n superClass: [['roletype', 'widget', 'input']]\n};\nvar _default = exports.default = radioRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar radiogroupRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-errormessage': null,\n 'aria-invalid': null,\n 'aria-readonly': null,\n 'aria-required': null\n },\n relatedConcepts: [{\n concept: {\n name: 'list'\n },\n module: 'ARIA'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [['radio']],\n requiredProps: {},\n superClass: [['roletype', 'widget', 'composite', 'select'], ['roletype', 'structure', 'section', 'group', 'select']]\n};\nvar _default = exports.default = radiogroupRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar regionRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n attributes: [{\n constraints: ['set'],\n name: 'aria-label'\n }],\n name: 'section'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n constraints: ['set'],\n name: 'aria-labelledby'\n }],\n name: 'section'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'Device Independence Glossart perceivable unit'\n }\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = regionRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar rowRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {\n 'aria-colindex': null,\n 'aria-expanded': null,\n 'aria-level': null,\n 'aria-posinset': null,\n 'aria-rowindex': null,\n 'aria-selected': null,\n 'aria-setsize': null\n },\n relatedConcepts: [{\n concept: {\n name: 'tr'\n },\n module: 'HTML'\n }],\n requireContextRole: ['grid', 'rowgroup', 'table', 'treegrid'],\n requiredContextRole: ['grid', 'rowgroup', 'table', 'treegrid'],\n requiredOwnedElements: [['cell'], ['columnheader'], ['gridcell'], ['rowheader']],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'group'], ['roletype', 'widget']]\n};\nvar _default = exports.default = rowRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar rowgroupRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'tbody'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'tfoot'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'thead'\n },\n module: 'HTML'\n }],\n requireContextRole: ['grid', 'table', 'treegrid'],\n requiredContextRole: ['grid', 'table', 'treegrid'],\n requiredOwnedElements: [['row']],\n requiredProps: {},\n superClass: [['roletype', 'structure']]\n};\nvar _default = exports.default = rowgroupRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar rowheaderRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {\n 'aria-sort': null\n },\n relatedConcepts: [{\n concept: {\n attributes: [{\n name: 'scope',\n value: 'row'\n }],\n name: 'th'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n name: 'scope',\n value: 'rowgroup'\n }],\n name: 'th'\n },\n module: 'HTML'\n }],\n requireContextRole: ['row', 'rowgroup'],\n requiredContextRole: ['row', 'rowgroup'],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'cell'], ['roletype', 'structure', 'section', 'cell', 'gridcell'], ['roletype', 'widget', 'gridcell'], ['roletype', 'structure', 'sectionhead']]\n};\nvar _default = exports.default = rowheaderRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar scrollbarRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: true,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-valuetext': null,\n 'aria-orientation': 'vertical',\n 'aria-valuemax': '100',\n 'aria-valuemin': '0'\n },\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {\n 'aria-controls': null,\n 'aria-valuenow': null\n },\n superClass: [['roletype', 'structure', 'range'], ['roletype', 'widget']]\n};\nvar _default = exports.default = scrollbarRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar searchRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = searchRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar searchboxRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n attributes: [{\n constraints: ['undefined'],\n name: 'list'\n }, {\n name: 'type',\n value: 'search'\n }],\n constraints: ['the list attribute is not set'],\n name: 'input'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'widget', 'input', 'textbox']]\n};\nvar _default = exports.default = searchboxRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar separatorRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: true,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-orientation': 'horizontal',\n 'aria-valuemax': '100',\n 'aria-valuemin': '0',\n 'aria-valuenow': null,\n 'aria-valuetext': null\n },\n relatedConcepts: [{\n concept: {\n name: 'hr'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure']]\n};\nvar _default = exports.default = separatorRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar sliderRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: true,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-errormessage': null,\n 'aria-haspopup': null,\n 'aria-invalid': null,\n 'aria-readonly': null,\n 'aria-valuetext': null,\n 'aria-orientation': 'horizontal',\n 'aria-valuemax': '100',\n 'aria-valuemin': '0'\n },\n relatedConcepts: [{\n concept: {\n attributes: [{\n name: 'type',\n value: 'range'\n }],\n name: 'input'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {\n 'aria-valuenow': null\n },\n superClass: [['roletype', 'widget', 'input'], ['roletype', 'structure', 'range']]\n};\nvar _default = exports.default = sliderRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar spinbuttonRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-errormessage': null,\n 'aria-invalid': null,\n 'aria-readonly': null,\n 'aria-required': null,\n 'aria-valuetext': null,\n 'aria-valuenow': '0'\n },\n relatedConcepts: [{\n concept: {\n attributes: [{\n name: 'type',\n value: 'number'\n }],\n name: 'input'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'widget', 'composite'], ['roletype', 'widget', 'input'], ['roletype', 'structure', 'range']]\n};\nvar _default = exports.default = spinbuttonRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar statusRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-atomic': 'true',\n 'aria-live': 'polite'\n },\n relatedConcepts: [{\n concept: {\n name: 'output'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = statusRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar strongRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['prohibited'],\n prohibitedProps: ['aria-label', 'aria-labelledby'],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'strong'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = strongRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar subscriptRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['prohibited'],\n prohibitedProps: ['aria-label', 'aria-labelledby'],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'sub'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = subscriptRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar superscriptRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['prohibited'],\n prohibitedProps: ['aria-label', 'aria-labelledby'],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'sup'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = superscriptRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar switchRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: true,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'button'\n },\n module: 'ARIA'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {\n 'aria-checked': null\n },\n superClass: [['roletype', 'widget', 'input', 'checkbox']]\n};\nvar _default = exports.default = switchRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar tabRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: true,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-posinset': null,\n 'aria-setsize': null,\n 'aria-selected': 'false'\n },\n relatedConcepts: [],\n requireContextRole: ['tablist'],\n requiredContextRole: ['tablist'],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'sectionhead'], ['roletype', 'widget']]\n};\nvar _default = exports.default = tabRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar tableRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-colcount': null,\n 'aria-rowcount': null\n },\n relatedConcepts: [{\n concept: {\n name: 'table'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [['row'], ['row', 'rowgroup']],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = tableRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar tablistRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-level': null,\n 'aria-multiselectable': null,\n 'aria-orientation': 'horizontal'\n },\n relatedConcepts: [{\n module: 'DAISY',\n concept: {\n name: 'guide'\n }\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [['tab']],\n requiredProps: {},\n superClass: [['roletype', 'widget', 'composite']]\n};\nvar _default = exports.default = tablistRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar tabpanelRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = tabpanelRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar termRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'dfn'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'dt'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = termRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar textboxRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-activedescendant': null,\n 'aria-autocomplete': null,\n 'aria-errormessage': null,\n 'aria-haspopup': null,\n 'aria-invalid': null,\n 'aria-multiline': null,\n 'aria-placeholder': null,\n 'aria-readonly': null,\n 'aria-required': null\n },\n relatedConcepts: [{\n concept: {\n attributes: [{\n constraints: ['undefined'],\n name: 'type'\n }, {\n constraints: ['undefined'],\n name: 'list'\n }],\n constraints: ['the list attribute is not set'],\n name: 'input'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n constraints: ['undefined'],\n name: 'list'\n }, {\n name: 'type',\n value: 'email'\n }],\n constraints: ['the list attribute is not set'],\n name: 'input'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n constraints: ['undefined'],\n name: 'list'\n }, {\n name: 'type',\n value: 'tel'\n }],\n constraints: ['the list attribute is not set'],\n name: 'input'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n constraints: ['undefined'],\n name: 'list'\n }, {\n name: 'type',\n value: 'text'\n }],\n constraints: ['the list attribute is not set'],\n name: 'input'\n },\n module: 'HTML'\n }, {\n concept: {\n attributes: [{\n constraints: ['undefined'],\n name: 'list'\n }, {\n name: 'type',\n value: 'url'\n }],\n constraints: ['the list attribute is not set'],\n name: 'input'\n },\n module: 'HTML'\n }, {\n concept: {\n name: 'input'\n },\n module: 'XForms'\n }, {\n concept: {\n name: 'textarea'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'widget', 'input']]\n};\nvar _default = exports.default = textboxRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar timeRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'time'\n },\n module: 'HTML'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = timeRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar timerRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'status']]\n};\nvar _default = exports.default = timerRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar toolbarRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-orientation': 'horizontal'\n },\n relatedConcepts: [{\n concept: {\n name: 'menubar'\n },\n module: 'ARIA'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'group']]\n};\nvar _default = exports.default = toolbarRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar tooltipRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = tooltipRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar treeRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-errormessage': null,\n 'aria-invalid': null,\n 'aria-multiselectable': null,\n 'aria-required': null,\n 'aria-orientation': 'vertical'\n },\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [['treeitem', 'group'], ['treeitem']],\n requiredProps: {},\n superClass: [['roletype', 'widget', 'composite', 'select'], ['roletype', 'structure', 'section', 'group', 'select']]\n};\nvar _default = exports.default = treeRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar treegridRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [['row'], ['row', 'rowgroup']],\n requiredProps: {},\n superClass: [['roletype', 'widget', 'composite', 'grid'], ['roletype', 'structure', 'section', 'table', 'grid'], ['roletype', 'widget', 'composite', 'select', 'tree'], ['roletype', 'structure', 'section', 'group', 'select', 'tree']]\n};\nvar _default = exports.default = treegridRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar treeitemRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {\n 'aria-expanded': null,\n 'aria-haspopup': null\n },\n relatedConcepts: [],\n requireContextRole: ['group', 'tree'],\n requiredContextRole: ['group', 'tree'],\n requiredOwnedElements: [],\n requiredProps: {\n 'aria-selected': null\n },\n superClass: [['roletype', 'structure', 'section', 'listitem'], ['roletype', 'widget', 'input', 'option']]\n};\nvar _default = exports.default = treeitemRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _alertRole = _interopRequireDefault(require(\"./literal/alertRole\"));\nvar _alertdialogRole = _interopRequireDefault(require(\"./literal/alertdialogRole\"));\nvar _applicationRole = _interopRequireDefault(require(\"./literal/applicationRole\"));\nvar _articleRole = _interopRequireDefault(require(\"./literal/articleRole\"));\nvar _bannerRole = _interopRequireDefault(require(\"./literal/bannerRole\"));\nvar _blockquoteRole = _interopRequireDefault(require(\"./literal/blockquoteRole\"));\nvar _buttonRole = _interopRequireDefault(require(\"./literal/buttonRole\"));\nvar _captionRole = _interopRequireDefault(require(\"./literal/captionRole\"));\nvar _cellRole = _interopRequireDefault(require(\"./literal/cellRole\"));\nvar _checkboxRole = _interopRequireDefault(require(\"./literal/checkboxRole\"));\nvar _codeRole = _interopRequireDefault(require(\"./literal/codeRole\"));\nvar _columnheaderRole = _interopRequireDefault(require(\"./literal/columnheaderRole\"));\nvar _comboboxRole = _interopRequireDefault(require(\"./literal/comboboxRole\"));\nvar _complementaryRole = _interopRequireDefault(require(\"./literal/complementaryRole\"));\nvar _contentinfoRole = _interopRequireDefault(require(\"./literal/contentinfoRole\"));\nvar _definitionRole = _interopRequireDefault(require(\"./literal/definitionRole\"));\nvar _deletionRole = _interopRequireDefault(require(\"./literal/deletionRole\"));\nvar _dialogRole = _interopRequireDefault(require(\"./literal/dialogRole\"));\nvar _directoryRole = _interopRequireDefault(require(\"./literal/directoryRole\"));\nvar _documentRole = _interopRequireDefault(require(\"./literal/documentRole\"));\nvar _emphasisRole = _interopRequireDefault(require(\"./literal/emphasisRole\"));\nvar _feedRole = _interopRequireDefault(require(\"./literal/feedRole\"));\nvar _figureRole = _interopRequireDefault(require(\"./literal/figureRole\"));\nvar _formRole = _interopRequireDefault(require(\"./literal/formRole\"));\nvar _genericRole = _interopRequireDefault(require(\"./literal/genericRole\"));\nvar _gridRole = _interopRequireDefault(require(\"./literal/gridRole\"));\nvar _gridcellRole = _interopRequireDefault(require(\"./literal/gridcellRole\"));\nvar _groupRole = _interopRequireDefault(require(\"./literal/groupRole\"));\nvar _headingRole = _interopRequireDefault(require(\"./literal/headingRole\"));\nvar _imgRole = _interopRequireDefault(require(\"./literal/imgRole\"));\nvar _insertionRole = _interopRequireDefault(require(\"./literal/insertionRole\"));\nvar _linkRole = _interopRequireDefault(require(\"./literal/linkRole\"));\nvar _listRole = _interopRequireDefault(require(\"./literal/listRole\"));\nvar _listboxRole = _interopRequireDefault(require(\"./literal/listboxRole\"));\nvar _listitemRole = _interopRequireDefault(require(\"./literal/listitemRole\"));\nvar _logRole = _interopRequireDefault(require(\"./literal/logRole\"));\nvar _mainRole = _interopRequireDefault(require(\"./literal/mainRole\"));\nvar _markRole = _interopRequireDefault(require(\"./literal/markRole\"));\nvar _marqueeRole = _interopRequireDefault(require(\"./literal/marqueeRole\"));\nvar _mathRole = _interopRequireDefault(require(\"./literal/mathRole\"));\nvar _menuRole = _interopRequireDefault(require(\"./literal/menuRole\"));\nvar _menubarRole = _interopRequireDefault(require(\"./literal/menubarRole\"));\nvar _menuitemRole = _interopRequireDefault(require(\"./literal/menuitemRole\"));\nvar _menuitemcheckboxRole = _interopRequireDefault(require(\"./literal/menuitemcheckboxRole\"));\nvar _menuitemradioRole = _interopRequireDefault(require(\"./literal/menuitemradioRole\"));\nvar _meterRole = _interopRequireDefault(require(\"./literal/meterRole\"));\nvar _navigationRole = _interopRequireDefault(require(\"./literal/navigationRole\"));\nvar _noneRole = _interopRequireDefault(require(\"./literal/noneRole\"));\nvar _noteRole = _interopRequireDefault(require(\"./literal/noteRole\"));\nvar _optionRole = _interopRequireDefault(require(\"./literal/optionRole\"));\nvar _paragraphRole = _interopRequireDefault(require(\"./literal/paragraphRole\"));\nvar _presentationRole = _interopRequireDefault(require(\"./literal/presentationRole\"));\nvar _progressbarRole = _interopRequireDefault(require(\"./literal/progressbarRole\"));\nvar _radioRole = _interopRequireDefault(require(\"./literal/radioRole\"));\nvar _radiogroupRole = _interopRequireDefault(require(\"./literal/radiogroupRole\"));\nvar _regionRole = _interopRequireDefault(require(\"./literal/regionRole\"));\nvar _rowRole = _interopRequireDefault(require(\"./literal/rowRole\"));\nvar _rowgroupRole = _interopRequireDefault(require(\"./literal/rowgroupRole\"));\nvar _rowheaderRole = _interopRequireDefault(require(\"./literal/rowheaderRole\"));\nvar _scrollbarRole = _interopRequireDefault(require(\"./literal/scrollbarRole\"));\nvar _searchRole = _interopRequireDefault(require(\"./literal/searchRole\"));\nvar _searchboxRole = _interopRequireDefault(require(\"./literal/searchboxRole\"));\nvar _separatorRole = _interopRequireDefault(require(\"./literal/separatorRole\"));\nvar _sliderRole = _interopRequireDefault(require(\"./literal/sliderRole\"));\nvar _spinbuttonRole = _interopRequireDefault(require(\"./literal/spinbuttonRole\"));\nvar _statusRole = _interopRequireDefault(require(\"./literal/statusRole\"));\nvar _strongRole = _interopRequireDefault(require(\"./literal/strongRole\"));\nvar _subscriptRole = _interopRequireDefault(require(\"./literal/subscriptRole\"));\nvar _superscriptRole = _interopRequireDefault(require(\"./literal/superscriptRole\"));\nvar _switchRole = _interopRequireDefault(require(\"./literal/switchRole\"));\nvar _tabRole = _interopRequireDefault(require(\"./literal/tabRole\"));\nvar _tableRole = _interopRequireDefault(require(\"./literal/tableRole\"));\nvar _tablistRole = _interopRequireDefault(require(\"./literal/tablistRole\"));\nvar _tabpanelRole = _interopRequireDefault(require(\"./literal/tabpanelRole\"));\nvar _termRole = _interopRequireDefault(require(\"./literal/termRole\"));\nvar _textboxRole = _interopRequireDefault(require(\"./literal/textboxRole\"));\nvar _timeRole = _interopRequireDefault(require(\"./literal/timeRole\"));\nvar _timerRole = _interopRequireDefault(require(\"./literal/timerRole\"));\nvar _toolbarRole = _interopRequireDefault(require(\"./literal/toolbarRole\"));\nvar _tooltipRole = _interopRequireDefault(require(\"./literal/tooltipRole\"));\nvar _treeRole = _interopRequireDefault(require(\"./literal/treeRole\"));\nvar _treegridRole = _interopRequireDefault(require(\"./literal/treegridRole\"));\nvar _treeitemRole = _interopRequireDefault(require(\"./literal/treeitemRole\"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }\nvar ariaLiteralRoles = [['alert', _alertRole.default], ['alertdialog', _alertdialogRole.default], ['application', _applicationRole.default], ['article', _articleRole.default], ['banner', _bannerRole.default], ['blockquote', _blockquoteRole.default], ['button', _buttonRole.default], ['caption', _captionRole.default], ['cell', _cellRole.default], ['checkbox', _checkboxRole.default], ['code', _codeRole.default], ['columnheader', _columnheaderRole.default], ['combobox', _comboboxRole.default], ['complementary', _complementaryRole.default], ['contentinfo', _contentinfoRole.default], ['definition', _definitionRole.default], ['deletion', _deletionRole.default], ['dialog', _dialogRole.default], ['directory', _directoryRole.default], ['document', _documentRole.default], ['emphasis', _emphasisRole.default], ['feed', _feedRole.default], ['figure', _figureRole.default], ['form', _formRole.default], ['generic', _genericRole.default], ['grid', _gridRole.default], ['gridcell', _gridcellRole.default], ['group', _groupRole.default], ['heading', _headingRole.default], ['img', _imgRole.default], ['insertion', _insertionRole.default], ['link', _linkRole.default], ['list', _listRole.default], ['listbox', _listboxRole.default], ['listitem', _listitemRole.default], ['log', _logRole.default], ['main', _mainRole.default], ['mark', _markRole.default], ['marquee', _marqueeRole.default], ['math', _mathRole.default], ['menu', _menuRole.default], ['menubar', _menubarRole.default], ['menuitem', _menuitemRole.default], ['menuitemcheckbox', _menuitemcheckboxRole.default], ['menuitemradio', _menuitemradioRole.default], ['meter', _meterRole.default], ['navigation', _navigationRole.default], ['none', _noneRole.default], ['note', _noteRole.default], ['option', _optionRole.default], ['paragraph', _paragraphRole.default], ['presentation', _presentationRole.default], ['progressbar', _progressbarRole.default], ['radio', _radioRole.default], ['radiogroup', _radiogroupRole.default], ['region', _regionRole.default], ['row', _rowRole.default], ['rowgroup', _rowgroupRole.default], ['rowheader', _rowheaderRole.default], ['scrollbar', _scrollbarRole.default], ['search', _searchRole.default], ['searchbox', _searchboxRole.default], ['separator', _separatorRole.default], ['slider', _sliderRole.default], ['spinbutton', _spinbuttonRole.default], ['status', _statusRole.default], ['strong', _strongRole.default], ['subscript', _subscriptRole.default], ['superscript', _superscriptRole.default], ['switch', _switchRole.default], ['tab', _tabRole.default], ['table', _tableRole.default], ['tablist', _tablistRole.default], ['tabpanel', _tabpanelRole.default], ['term', _termRole.default], ['textbox', _textboxRole.default], ['time', _timeRole.default], ['timer', _timerRole.default], ['toolbar', _toolbarRole.default], ['tooltip', _tooltipRole.default], ['tree', _treeRole.default], ['treegrid', _treegridRole.default], ['treeitem', _treeitemRole.default]];\nvar _default = exports.default = ariaLiteralRoles;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docAbstractRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'abstract [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = docAbstractRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docAcknowledgmentsRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'acknowledgments [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = docAcknowledgmentsRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docAfterwordRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'afterword [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = docAfterwordRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docAppendixRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'appendix [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = docAppendixRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docBacklinkRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {\n 'aria-errormessage': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'referrer [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'widget', 'command', 'link']]\n};\nvar _default = exports.default = docBacklinkRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docBiblioentryRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'EPUB biblioentry [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: ['doc-bibliography'],\n requiredContextRole: ['doc-bibliography'],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'listitem']]\n};\nvar _default = exports.default = docBiblioentryRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docBibliographyRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'bibliography [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [['doc-biblioentry']],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = docBibliographyRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docBibliorefRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {\n 'aria-errormessage': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'biblioref [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'widget', 'command', 'link']]\n};\nvar _default = exports.default = docBibliorefRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docChapterRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'chapter [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = docChapterRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docColophonRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'colophon [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = docColophonRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docConclusionRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'conclusion [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = docConclusionRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docCoverRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'cover [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'img']]\n};\nvar _default = exports.default = docCoverRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docCreditRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'credit [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = docCreditRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docCreditsRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'credits [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = docCreditsRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docDedicationRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'dedication [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = docDedicationRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docEndnoteRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'rearnote [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: ['doc-endnotes'],\n requiredContextRole: ['doc-endnotes'],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'listitem']]\n};\nvar _default = exports.default = docEndnoteRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docEndnotesRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'rearnotes [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [['doc-endnote']],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = docEndnotesRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docEpigraphRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'epigraph [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = docEpigraphRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docEpilogueRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'epilogue [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = docEpilogueRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docErrataRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'errata [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = docErrataRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docExampleRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = docExampleRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docFootnoteRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'footnote [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = docFootnoteRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docForewordRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'foreword [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = docForewordRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docGlossaryRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'glossary [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [['definition'], ['term']],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = docGlossaryRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docGlossrefRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {\n 'aria-errormessage': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'glossref [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'widget', 'command', 'link']]\n};\nvar _default = exports.default = docGlossrefRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docIndexRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'index [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark', 'navigation']]\n};\nvar _default = exports.default = docIndexRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docIntroductionRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'introduction [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = docIntroductionRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docNoterefRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {\n 'aria-errormessage': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'noteref [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'widget', 'command', 'link']]\n};\nvar _default = exports.default = docNoterefRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docNoticeRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'notice [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'note']]\n};\nvar _default = exports.default = docNoticeRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docPagebreakRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: true,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'pagebreak [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'separator']]\n};\nvar _default = exports.default = docPagebreakRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docPagefooterRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['prohibited'],\n prohibitedProps: [],\n props: {\n 'aria-braillelabel': null,\n 'aria-brailleroledescription': null,\n 'aria-description': null,\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = docPagefooterRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docPageheaderRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['prohibited'],\n prohibitedProps: [],\n props: {\n 'aria-braillelabel': null,\n 'aria-brailleroledescription': null,\n 'aria-description': null,\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = docPageheaderRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docPagelistRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'page-list [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark', 'navigation']]\n};\nvar _default = exports.default = docPagelistRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docPartRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'part [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = docPartRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docPrefaceRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'preface [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = docPrefaceRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docPrologueRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'prologue [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark']]\n};\nvar _default = exports.default = docPrologueRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docPullquoteRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {},\n relatedConcepts: [{\n concept: {\n name: 'pullquote [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['none']]\n};\nvar _default = exports.default = docPullquoteRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docQnaRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'qna [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section']]\n};\nvar _default = exports.default = docQnaRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docSubtitleRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'subtitle [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'sectionhead']]\n};\nvar _default = exports.default = docSubtitleRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docTipRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'help [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'note']]\n};\nvar _default = exports.default = docTipRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar docTocRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n concept: {\n name: 'toc [EPUB-SSV]'\n },\n module: 'EPUB'\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'landmark', 'navigation']]\n};\nvar _default = exports.default = docTocRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _docAbstractRole = _interopRequireDefault(require(\"./dpub/docAbstractRole\"));\nvar _docAcknowledgmentsRole = _interopRequireDefault(require(\"./dpub/docAcknowledgmentsRole\"));\nvar _docAfterwordRole = _interopRequireDefault(require(\"./dpub/docAfterwordRole\"));\nvar _docAppendixRole = _interopRequireDefault(require(\"./dpub/docAppendixRole\"));\nvar _docBacklinkRole = _interopRequireDefault(require(\"./dpub/docBacklinkRole\"));\nvar _docBiblioentryRole = _interopRequireDefault(require(\"./dpub/docBiblioentryRole\"));\nvar _docBibliographyRole = _interopRequireDefault(require(\"./dpub/docBibliographyRole\"));\nvar _docBibliorefRole = _interopRequireDefault(require(\"./dpub/docBibliorefRole\"));\nvar _docChapterRole = _interopRequireDefault(require(\"./dpub/docChapterRole\"));\nvar _docColophonRole = _interopRequireDefault(require(\"./dpub/docColophonRole\"));\nvar _docConclusionRole = _interopRequireDefault(require(\"./dpub/docConclusionRole\"));\nvar _docCoverRole = _interopRequireDefault(require(\"./dpub/docCoverRole\"));\nvar _docCreditRole = _interopRequireDefault(require(\"./dpub/docCreditRole\"));\nvar _docCreditsRole = _interopRequireDefault(require(\"./dpub/docCreditsRole\"));\nvar _docDedicationRole = _interopRequireDefault(require(\"./dpub/docDedicationRole\"));\nvar _docEndnoteRole = _interopRequireDefault(require(\"./dpub/docEndnoteRole\"));\nvar _docEndnotesRole = _interopRequireDefault(require(\"./dpub/docEndnotesRole\"));\nvar _docEpigraphRole = _interopRequireDefault(require(\"./dpub/docEpigraphRole\"));\nvar _docEpilogueRole = _interopRequireDefault(require(\"./dpub/docEpilogueRole\"));\nvar _docErrataRole = _interopRequireDefault(require(\"./dpub/docErrataRole\"));\nvar _docExampleRole = _interopRequireDefault(require(\"./dpub/docExampleRole\"));\nvar _docFootnoteRole = _interopRequireDefault(require(\"./dpub/docFootnoteRole\"));\nvar _docForewordRole = _interopRequireDefault(require(\"./dpub/docForewordRole\"));\nvar _docGlossaryRole = _interopRequireDefault(require(\"./dpub/docGlossaryRole\"));\nvar _docGlossrefRole = _interopRequireDefault(require(\"./dpub/docGlossrefRole\"));\nvar _docIndexRole = _interopRequireDefault(require(\"./dpub/docIndexRole\"));\nvar _docIntroductionRole = _interopRequireDefault(require(\"./dpub/docIntroductionRole\"));\nvar _docNoterefRole = _interopRequireDefault(require(\"./dpub/docNoterefRole\"));\nvar _docNoticeRole = _interopRequireDefault(require(\"./dpub/docNoticeRole\"));\nvar _docPagebreakRole = _interopRequireDefault(require(\"./dpub/docPagebreakRole\"));\nvar _docPagefooterRole = _interopRequireDefault(require(\"./dpub/docPagefooterRole\"));\nvar _docPageheaderRole = _interopRequireDefault(require(\"./dpub/docPageheaderRole\"));\nvar _docPagelistRole = _interopRequireDefault(require(\"./dpub/docPagelistRole\"));\nvar _docPartRole = _interopRequireDefault(require(\"./dpub/docPartRole\"));\nvar _docPrefaceRole = _interopRequireDefault(require(\"./dpub/docPrefaceRole\"));\nvar _docPrologueRole = _interopRequireDefault(require(\"./dpub/docPrologueRole\"));\nvar _docPullquoteRole = _interopRequireDefault(require(\"./dpub/docPullquoteRole\"));\nvar _docQnaRole = _interopRequireDefault(require(\"./dpub/docQnaRole\"));\nvar _docSubtitleRole = _interopRequireDefault(require(\"./dpub/docSubtitleRole\"));\nvar _docTipRole = _interopRequireDefault(require(\"./dpub/docTipRole\"));\nvar _docTocRole = _interopRequireDefault(require(\"./dpub/docTocRole\"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }\nvar ariaDpubRoles = [['doc-abstract', _docAbstractRole.default], ['doc-acknowledgments', _docAcknowledgmentsRole.default], ['doc-afterword', _docAfterwordRole.default], ['doc-appendix', _docAppendixRole.default], ['doc-backlink', _docBacklinkRole.default], ['doc-biblioentry', _docBiblioentryRole.default], ['doc-bibliography', _docBibliographyRole.default], ['doc-biblioref', _docBibliorefRole.default], ['doc-chapter', _docChapterRole.default], ['doc-colophon', _docColophonRole.default], ['doc-conclusion', _docConclusionRole.default], ['doc-cover', _docCoverRole.default], ['doc-credit', _docCreditRole.default], ['doc-credits', _docCreditsRole.default], ['doc-dedication', _docDedicationRole.default], ['doc-endnote', _docEndnoteRole.default], ['doc-endnotes', _docEndnotesRole.default], ['doc-epigraph', _docEpigraphRole.default], ['doc-epilogue', _docEpilogueRole.default], ['doc-errata', _docErrataRole.default], ['doc-example', _docExampleRole.default], ['doc-footnote', _docFootnoteRole.default], ['doc-foreword', _docForewordRole.default], ['doc-glossary', _docGlossaryRole.default], ['doc-glossref', _docGlossrefRole.default], ['doc-index', _docIndexRole.default], ['doc-introduction', _docIntroductionRole.default], ['doc-noteref', _docNoterefRole.default], ['doc-notice', _docNoticeRole.default], ['doc-pagebreak', _docPagebreakRole.default], ['doc-pagefooter', _docPagefooterRole.default], ['doc-pageheader', _docPageheaderRole.default], ['doc-pagelist', _docPagelistRole.default], ['doc-part', _docPartRole.default], ['doc-preface', _docPrefaceRole.default], ['doc-prologue', _docPrologueRole.default], ['doc-pullquote', _docPullquoteRole.default], ['doc-qna', _docQnaRole.default], ['doc-subtitle', _docSubtitleRole.default], ['doc-tip', _docTipRole.default], ['doc-toc', _docTocRole.default]];\nvar _default = exports.default = ariaDpubRoles;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar graphicsDocumentRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n module: 'GRAPHICS',\n concept: {\n name: 'graphics-object'\n }\n }, {\n module: 'ARIA',\n concept: {\n name: 'img'\n }\n }, {\n module: 'ARIA',\n concept: {\n name: 'article'\n }\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'document']]\n};\nvar _default = exports.default = graphicsDocumentRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar graphicsObjectRole = {\n abstract: false,\n accessibleNameRequired: false,\n baseConcepts: [],\n childrenPresentational: false,\n nameFrom: ['author', 'contents'],\n prohibitedProps: [],\n props: {\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [{\n module: 'GRAPHICS',\n concept: {\n name: 'graphics-document'\n }\n }, {\n module: 'ARIA',\n concept: {\n name: 'group'\n }\n }, {\n module: 'ARIA',\n concept: {\n name: 'img'\n }\n }, {\n module: 'GRAPHICS',\n concept: {\n name: 'graphics-symbol'\n }\n }],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'group']]\n};\nvar _default = exports.default = graphicsObjectRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar graphicsSymbolRole = {\n abstract: false,\n accessibleNameRequired: true,\n baseConcepts: [],\n childrenPresentational: true,\n nameFrom: ['author'],\n prohibitedProps: [],\n props: {\n 'aria-disabled': null,\n 'aria-errormessage': null,\n 'aria-expanded': null,\n 'aria-haspopup': null,\n 'aria-invalid': null\n },\n relatedConcepts: [],\n requireContextRole: [],\n requiredContextRole: [],\n requiredOwnedElements: [],\n requiredProps: {},\n superClass: [['roletype', 'structure', 'section', 'img']]\n};\nvar _default = exports.default = graphicsSymbolRole;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _graphicsDocumentRole = _interopRequireDefault(require(\"./graphics/graphicsDocumentRole\"));\nvar _graphicsObjectRole = _interopRequireDefault(require(\"./graphics/graphicsObjectRole\"));\nvar _graphicsSymbolRole = _interopRequireDefault(require(\"./graphics/graphicsSymbolRole\"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }\nvar ariaGraphicsRoles = [['graphics-document', _graphicsDocumentRole.default], ['graphics-object', _graphicsObjectRole.default], ['graphics-symbol', _graphicsSymbolRole.default]];\nvar _default = exports.default = ariaGraphicsRoles;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _ariaAbstractRoles = _interopRequireDefault(require(\"./etc/roles/ariaAbstractRoles\"));\nvar _ariaLiteralRoles = _interopRequireDefault(require(\"./etc/roles/ariaLiteralRoles\"));\nvar _ariaDpubRoles = _interopRequireDefault(require(\"./etc/roles/ariaDpubRoles\"));\nvar _ariaGraphicsRoles = _interopRequireDefault(require(\"./etc/roles/ariaGraphicsRoles\"));\nvar _iterationDecorator = _interopRequireDefault(require(\"./util/iterationDecorator\"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }\nfunction _createForOfIteratorHelper(r, e) { var t = \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && \"number\" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }\nfunction _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nvar roles = [].concat(_ariaAbstractRoles.default, _ariaLiteralRoles.default, _ariaDpubRoles.default, _ariaGraphicsRoles.default);\nroles.forEach(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n roleDefinition = _ref2[1];\n // Conglomerate the properties\n var _iterator = _createForOfIteratorHelper(roleDefinition.superClass),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var superClassIter = _step.value;\n var _iterator2 = _createForOfIteratorHelper(superClassIter),\n _step2;\n try {\n var _loop = function _loop() {\n var superClassName = _step2.value;\n var superClassRoleTuple = roles.filter(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 1),\n name = _ref4[0];\n return name === superClassName;\n })[0];\n if (superClassRoleTuple) {\n var superClassDefinition = superClassRoleTuple[1];\n for (var _i = 0, _Object$keys = Object.keys(superClassDefinition.props); _i < _Object$keys.length; _i++) {\n var prop = _Object$keys[_i];\n if (\n // $FlowIssue Accessing the hasOwnProperty on the Object prototype is fine.\n !Object.prototype.hasOwnProperty.call(roleDefinition.props, prop)) {\n // $FlowIgnore assigning without an index signature is fine\n roleDefinition.props[prop] = superClassDefinition.props[prop];\n }\n }\n }\n };\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n _loop();\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n});\nvar rolesMap = {\n entries: function entries() {\n return roles;\n },\n forEach: function forEach(fn) {\n var thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n var _iterator3 = _createForOfIteratorHelper(roles),\n _step3;\n try {\n for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {\n var _step3$value = _slicedToArray(_step3.value, 2),\n key = _step3$value[0],\n values = _step3$value[1];\n fn.call(thisArg, values, key, roles);\n }\n } catch (err) {\n _iterator3.e(err);\n } finally {\n _iterator3.f();\n }\n },\n get: function get(key) {\n var item = roles.filter(function (tuple) {\n return tuple[0] === key ? true : false;\n })[0];\n return item && item[1];\n },\n has: function has(key) {\n return !!rolesMap.get(key);\n },\n keys: function keys() {\n return roles.map(function (_ref5) {\n var _ref6 = _slicedToArray(_ref5, 1),\n key = _ref6[0];\n return key;\n });\n },\n values: function values() {\n return roles.map(function (_ref7) {\n var _ref8 = _slicedToArray(_ref7, 2),\n values = _ref8[1];\n return values;\n });\n }\n};\nvar _default = exports.default = (0, _iterationDecorator.default)(rolesMap, rolesMap.entries());", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _iterationDecorator = _interopRequireDefault(require(\"./util/iterationDecorator\"));\nvar _rolesMap = _interopRequireDefault(require(\"./rolesMap\"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }\nfunction _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nvar elementRoles = [];\nvar keys = _rolesMap.default.keys();\nfor (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var role = _rolesMap.default.get(key);\n if (role) {\n var concepts = [].concat(role.baseConcepts, role.relatedConcepts);\n var _loop = function _loop() {\n var relation = concepts[k];\n if (relation.module === 'HTML') {\n var concept = relation.concept;\n if (concept) {\n var elementRoleRelation = elementRoles.filter(function (relation) {\n return ariaRoleRelationConceptEquals(relation[0], concept);\n })[0];\n var roles;\n if (elementRoleRelation) {\n roles = elementRoleRelation[1];\n } else {\n roles = [];\n }\n var isUnique = true;\n for (var _i = 0; _i < roles.length; _i++) {\n if (roles[_i] === key) {\n isUnique = false;\n break;\n }\n }\n if (isUnique) {\n roles.push(key);\n }\n if (!elementRoleRelation) {\n elementRoles.push([concept, roles]);\n }\n }\n }\n };\n for (var k = 0; k < concepts.length; k++) {\n _loop();\n }\n }\n}\nvar elementRoleMap = {\n entries: function entries() {\n return elementRoles;\n },\n forEach: function forEach(fn) {\n var thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n for (var _i2 = 0, _elementRoles = elementRoles; _i2 < _elementRoles.length; _i2++) {\n var _elementRoles$_i = _slicedToArray(_elementRoles[_i2], 2),\n _key = _elementRoles$_i[0],\n values = _elementRoles$_i[1];\n fn.call(thisArg, values, _key, elementRoles);\n }\n },\n get: function get(key) {\n var item = elementRoles.filter(function (tuple) {\n return key.name === tuple[0].name && ariaRoleRelationConceptAttributeEquals(key.attributes, tuple[0].attributes);\n })[0];\n return item && item[1];\n },\n has: function has(key) {\n return !!elementRoleMap.get(key);\n },\n keys: function keys() {\n return elementRoles.map(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n key = _ref2[0];\n return key;\n });\n },\n values: function values() {\n return elementRoles.map(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n values = _ref4[1];\n return values;\n });\n }\n};\nfunction ariaRoleRelationConceptEquals(a, b) {\n return a.name === b.name && ariaRoleRelationConstraintsEquals(a.constraints, b.constraints) && ariaRoleRelationConceptAttributeEquals(a.attributes, b.attributes);\n}\nfunction ariaRoleRelationConstraintsEquals(a, b) {\n if (a === undefined && b !== undefined) {\n return false;\n }\n if (a !== undefined && b === undefined) {\n return false;\n }\n if (a !== undefined && b !== undefined) {\n if (a.length !== b.length) {\n return false;\n }\n for (var _i3 = 0; _i3 < a.length; _i3++) {\n if (a[_i3] !== b[_i3]) {\n return false;\n }\n }\n }\n return true;\n}\nfunction ariaRoleRelationConceptAttributeEquals(a, b) {\n if (a === undefined && b !== undefined) {\n return false;\n }\n if (a !== undefined && b === undefined) {\n return false;\n }\n if (a !== undefined && b !== undefined) {\n if (a.length !== b.length) {\n return false;\n }\n for (var _i4 = 0; _i4 < a.length; _i4++) {\n if (a[_i4].name !== b[_i4].name || a[_i4].value !== b[_i4].value) {\n return false;\n }\n if (a[_i4].constraints === undefined && b[_i4].constraints !== undefined) {\n return false;\n }\n if (a[_i4].constraints !== undefined && b[_i4].constraints === undefined) {\n return false;\n }\n if (a[_i4].constraints !== undefined && b[_i4].constraints !== undefined) {\n if (a[_i4].constraints.length !== b[_i4].constraints.length) {\n return false;\n }\n for (var j = 0; j < a[_i4].constraints.length; j++) {\n if (a[_i4].constraints[j] !== b[_i4].constraints[j]) {\n return false;\n }\n }\n }\n }\n }\n return true;\n}\nvar _default = exports.default = (0, _iterationDecorator.default)(elementRoleMap, elementRoleMap.entries());", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _iterationDecorator = _interopRequireDefault(require(\"./util/iterationDecorator\"));\nvar _rolesMap = _interopRequireDefault(require(\"./rolesMap\"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }\nfunction _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nvar roleElement = [];\nvar keys = _rolesMap.default.keys();\nfor (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var role = _rolesMap.default.get(key);\n var relationConcepts = [];\n if (role) {\n var concepts = [].concat(role.baseConcepts, role.relatedConcepts);\n for (var k = 0; k < concepts.length; k++) {\n var relation = concepts[k];\n if (relation.module === 'HTML') {\n var concept = relation.concept;\n if (concept != null) {\n relationConcepts.push(concept);\n }\n }\n }\n if (relationConcepts.length > 0) {\n roleElement.push([key, relationConcepts]);\n }\n }\n}\nvar roleElementMap = {\n entries: function entries() {\n return roleElement;\n },\n forEach: function forEach(fn) {\n var thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n for (var _i = 0, _roleElement = roleElement; _i < _roleElement.length; _i++) {\n var _roleElement$_i = _slicedToArray(_roleElement[_i], 2),\n _key = _roleElement$_i[0],\n values = _roleElement$_i[1];\n fn.call(thisArg, values, _key, roleElement);\n }\n },\n get: function get(key) {\n var item = roleElement.filter(function (tuple) {\n return tuple[0] === key ? true : false;\n })[0];\n return item && item[1];\n },\n has: function has(key) {\n return !!roleElementMap.get(key);\n },\n keys: function keys() {\n return roleElement.map(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n key = _ref2[0];\n return key;\n });\n },\n values: function values() {\n return roleElement.map(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n values = _ref4[1];\n return values;\n });\n }\n};\nvar _default = exports.default = (0, _iterationDecorator.default)(roleElementMap, roleElementMap.entries());", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.roles = exports.roleElements = exports.elementRoles = exports.dom = exports.aria = void 0;\nvar _ariaPropsMap = _interopRequireDefault(require(\"./ariaPropsMap\"));\nvar _domMap = _interopRequireDefault(require(\"./domMap\"));\nvar _rolesMap = _interopRequireDefault(require(\"./rolesMap\"));\nvar _elementRoleMap = _interopRequireDefault(require(\"./elementRoleMap\"));\nvar _roleElementMap = _interopRequireDefault(require(\"./roleElementMap\"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }\nvar aria = exports.aria = _ariaPropsMap.default;\nvar dom = exports.dom = _domMap.default;\nvar roles = exports.roles = _rolesMap.default;\nvar elementRoles = exports.elementRoles = _elementRoleMap.default;\nvar roleElements = exports.roleElements = _roleElementMap.default;"], + "mappings": ";;;;;AAAA;AAAA;AAAA;AAEA,WAAO,eAAe,SAAS,cAAc;AAAA,MAC3C,OAAO;AAAA,IACT,CAAC;AACD,YAAQ,UAAU;AAElB,aAAS,gBAAgB;AACvB,UAAI,SAAS;AACb,UAAI,QAAQ;AACZ,UAAI,OAAO;AAAA,QACT,cAAc,SAAS,WAAW;AAChC,iBAAO;AAAA,QACT;AAAA,QACA,MAAM,SAAS,OAAO;AACpB,cAAI,QAAQ,OAAO,QAAQ;AACzB,gBAAI,QAAQ,OAAO,KAAK;AACxB,oBAAQ,QAAQ;AAChB,mBAAO;AAAA,cACL,MAAM;AAAA,cACN;AAAA,YACF;AAAA,UACF,OAAO;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SAASC,QAAO;AACpB,eAAO,YAAY,IAAI,SAAU,MAAM;AACrC,cAAI,QAAQ,eAAe,MAAM,CAAC,GAChCD,OAAM,MAAM,CAAC;AACf,iBAAOA;AAAA,QACT,CAAC;AAAA,MACH;AAAA,MACA,QAAQ,SAAS,SAAS;AACxB,eAAO,YAAY,IAAI,SAAU,OAAO;AACtC,cAAI,QAAQ,eAAe,OAAO,CAAC,GACjCE,UAAS,MAAM,CAAC;AAClB,iBAAOA;AAAA,QACT,CAAC;AAAA,MACH;AAAA,IACF;AACA,QAAI,WAAW,QAAQ,WAAW,GAAG,oBAAoB,SAAS,gBAAgB,eAAe,QAAQ,CAAC;AAAA;AAAA;;;AC1E1G;AAAA;AAEA,WAAO,eAAe,SAAS,cAAc;AAAA,MAC3C,OAAO;AAAA,IACT,CAAC;AACD,YAAQ,QAAQ,QAAQ,eAAe,QAAQ,eAAe,QAAQ,MAAM,QAAQ,OAAO;AAC3F,QAAI,gBAAgB,uBAAuB,sBAAyB;AACpE,QAAI,UAAU,uBAAuB,gBAAmB;AACxD,QAAI,YAAY,uBAAuB,kBAAqB;AAC5D,QAAI,kBAAkB,uBAAuB,wBAA2B;AACxE,QAAI,kBAAkB,uBAAuB,wBAA2B;AACxE,aAAS,uBAAuB,GAAG;AAAE,aAAO,KAAK,EAAE,aAAa,IAAI,EAAE,SAAS,EAAE;AAAA,IAAG;AACpF,QAAI,OAAO,QAAQ,OAAO,cAAc;AACxC,QAAI,MAAM,QAAQ,MAAM,QAAQ;AAChC,QAAI,QAAQ,QAAQ,QAAQ,UAAU;AACtC,QAAI,eAAe,QAAQ,eAAe,gBAAgB;AAC1D,QAAI,eAAe,QAAQ,eAAe,gBAAgB;AAAA;AAAA;", + "names": ["o", "r", "values", "r", "values", "F", "e", "r", "_loop", "values", "i", "r", "_loop", "relation", "key", "keys", "values", "i", "r", "key", "keys", "values"] +} diff --git a/node_modules/.vite/deps/astro___axobject-query.js b/node_modules/.vite/deps/astro___axobject-query.js new file mode 100644 index 0000000..3b225bf --- /dev/null +++ b/node_modules/.vite/deps/astro___axobject-query.js @@ -0,0 +1,3754 @@ +import { + __commonJS +} from "./chunk-BUSYA2B4.js"; + +// node_modules/axobject-query/lib/util/iteratorProxy.js +var require_iteratorProxy = __commonJS({ + "node_modules/axobject-query/lib/util/iteratorProxy.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + function iteratorProxy() { + var values = this; + var index = 0; + var iter = { + "@@iterator": function iterator() { + return iter; + }, + next: function next() { + if (index < values.length) { + var value = values[index]; + index = index + 1; + return { + done: false, + value + }; + } else { + return { + done: true + }; + } + } + }; + return iter; + } + var _default = iteratorProxy; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/util/iterationDecorator.js +var require_iterationDecorator = __commonJS({ + "node_modules/axobject-query/lib/util/iterationDecorator.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = iterationDecorator; + var _iteratorProxy = _interopRequireDefault(require_iteratorProxy()); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + function _typeof(obj) { + "@babel/helpers - typeof"; + return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) { + return typeof obj2; + } : function(obj2) { + return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2; + }, _typeof(obj); + } + function iterationDecorator(collection, entries) { + if (typeof Symbol === "function" && _typeof(Symbol.iterator) === "symbol") { + Object.defineProperty(collection, Symbol.iterator, { + value: _iteratorProxy.default.bind(entries) + }); + } + return collection; + } + } +}); + +// node_modules/axobject-query/lib/etc/objects/AbbrRole.js +var require_AbbrRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/AbbrRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var AbbrRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "abbr" + } + }], + type: "structure" + }; + var _default = AbbrRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/AlertDialogRole.js +var require_AlertDialogRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/AlertDialogRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var AlertDialogRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "alertdialog" + } + }], + type: "window" + }; + var _default = AlertDialogRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/AlertRole.js +var require_AlertRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/AlertRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var AlertRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "alert" + } + }], + type: "structure" + }; + var _default = AlertRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/AnnotationRole.js +var require_AnnotationRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/AnnotationRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var AnnotationRole = { + relatedConcepts: [], + type: "structure" + }; + var _default = AnnotationRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ApplicationRole.js +var require_ApplicationRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ApplicationRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ApplicationRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "application" + } + }], + type: "window" + }; + var _default = ApplicationRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ArticleRole.js +var require_ArticleRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ArticleRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ArticleRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "article" + } + }, { + module: "HTML", + concept: { + name: "article" + } + }], + type: "structure" + }; + var _default = ArticleRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/AudioRole.js +var require_AudioRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/AudioRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var AudioRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "audio" + } + }], + type: "widget" + }; + var _default = AudioRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/BannerRole.js +var require_BannerRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/BannerRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var BannerRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "banner" + } + }], + type: "structure" + }; + var _default = BannerRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/BlockquoteRole.js +var require_BlockquoteRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/BlockquoteRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var BlockquoteRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "blockquote" + } + }], + type: "structure" + }; + var _default = BlockquoteRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/BusyIndicatorRole.js +var require_BusyIndicatorRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/BusyIndicatorRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var BusyIndicatorRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + attributes: [{ + name: "aria-busy", + value: "true" + }] + } + }], + type: "widget" + }; + var _default = BusyIndicatorRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ButtonRole.js +var require_ButtonRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ButtonRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ButtonRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "button" + } + }, { + module: "HTML", + concept: { + name: "button" + } + }], + type: "widget" + }; + var _default = ButtonRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/CanvasRole.js +var require_CanvasRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/CanvasRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var CanvasRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "canvas" + } + }], + type: "widget" + }; + var _default = CanvasRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/CaptionRole.js +var require_CaptionRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/CaptionRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var CaptionRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "caption" + } + }], + type: "structure" + }; + var _default = CaptionRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/CellRole.js +var require_CellRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/CellRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var CellRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "cell" + } + }, { + module: "ARIA", + concept: { + name: "gridcell" + } + }, { + module: "HTML", + concept: { + name: "td" + } + }], + type: "widget" + }; + var _default = CellRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/CheckBoxRole.js +var require_CheckBoxRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/CheckBoxRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var CheckBoxRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "checkbox" + } + }, { + module: "HTML", + concept: { + name: "input", + attributes: [{ + name: "type", + value: "checkbox" + }] + } + }], + type: "widget" + }; + var _default = CheckBoxRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ColorWellRole.js +var require_ColorWellRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ColorWellRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ColorWellRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "input", + attributes: [{ + name: "type", + value: "color" + }] + } + }], + type: "widget" + }; + var _default = ColorWellRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ColumnHeaderRole.js +var require_ColumnHeaderRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ColumnHeaderRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ColumnHeaderRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "columnheader" + } + }, { + module: "HTML", + concept: { + name: "th" + } + }], + type: "widget" + }; + var _default = ColumnHeaderRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ColumnRole.js +var require_ColumnRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ColumnRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ColumnRole = { + relatedConcepts: [], + type: "structure" + }; + var _default = ColumnRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ComboBoxRole.js +var require_ComboBoxRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ComboBoxRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ComboBoxRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "combobox" + } + }, { + module: "HTML", + concept: { + name: "select" + } + }], + type: "widget" + }; + var _default = ComboBoxRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ComplementaryRole.js +var require_ComplementaryRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ComplementaryRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ComplementaryRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "complementary" + } + }], + type: "structure" + }; + var _default = ComplementaryRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ContentInfoRole.js +var require_ContentInfoRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ContentInfoRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ContentInfoRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "structureinfo" + } + }], + type: "structure" + }; + var _default = ContentInfoRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/DateRole.js +var require_DateRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/DateRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var DateRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "input", + attributes: [{ + name: "type", + value: "date" + }] + } + }], + type: "widget" + }; + var _default = DateRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/DateTimeRole.js +var require_DateTimeRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/DateTimeRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var DateTimeRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "input", + attributes: [{ + name: "type", + value: "datetime" + }] + } + }], + type: "widget" + }; + var _default = DateTimeRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/DefinitionRole.js +var require_DefinitionRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/DefinitionRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var DefinitionRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "dfn" + } + }], + type: "structure" + }; + var _default = DefinitionRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/DescriptionListDetailRole.js +var require_DescriptionListDetailRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/DescriptionListDetailRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var DescriptionListDetailRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "dd" + } + }], + type: "structure" + }; + var _default = DescriptionListDetailRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/DescriptionListRole.js +var require_DescriptionListRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/DescriptionListRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var DescriptionListRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "dl" + } + }], + type: "structure" + }; + var _default = DescriptionListRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/DescriptionListTermRole.js +var require_DescriptionListTermRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/DescriptionListTermRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var DescriptionListTermRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "dt" + } + }], + type: "structure" + }; + var _default = DescriptionListTermRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/DetailsRole.js +var require_DetailsRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/DetailsRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var DetailsRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "details" + } + }], + type: "structure" + }; + var _default = DetailsRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/DialogRole.js +var require_DialogRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/DialogRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var DialogRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "dialog" + } + }, { + module: "HTML", + concept: { + name: "dialog" + } + }], + type: "window" + }; + var _default = DialogRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/DirectoryRole.js +var require_DirectoryRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/DirectoryRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var DirectoryRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "directory" + } + }, { + module: "HTML", + concept: { + name: "dir" + } + }], + type: "structure" + }; + var _default = DirectoryRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/DisclosureTriangleRole.js +var require_DisclosureTriangleRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/DisclosureTriangleRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var DisclosureTriangleRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + constraints: ["scoped to a details element"], + name: "summary" + } + }], + type: "widget" + }; + var _default = DisclosureTriangleRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/DivRole.js +var require_DivRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/DivRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var DivRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "div" + } + }], + type: "generic" + }; + var _default = DivRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/DocumentRole.js +var require_DocumentRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/DocumentRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var DocumentRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "document" + } + }], + type: "structure" + }; + var _default = DocumentRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/EmbeddedObjectRole.js +var require_EmbeddedObjectRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/EmbeddedObjectRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var EmbeddedObjectRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "embed" + } + }], + type: "widget" + }; + var _default = EmbeddedObjectRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/FeedRole.js +var require_FeedRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/FeedRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var FeedRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "feed" + } + }], + type: "structure" + }; + var _default = FeedRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/FigcaptionRole.js +var require_FigcaptionRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/FigcaptionRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var FigcaptionRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "figcaption" + } + }], + type: "structure" + }; + var _default = FigcaptionRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/FigureRole.js +var require_FigureRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/FigureRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var FigureRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "figure" + } + }, { + module: "HTML", + concept: { + name: "figure" + } + }], + type: "structure" + }; + var _default = FigureRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/FooterRole.js +var require_FooterRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/FooterRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var FooterRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "footer" + } + }], + type: "structure" + }; + var _default = FooterRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/FormRole.js +var require_FormRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/FormRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var FormRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "form" + } + }, { + module: "HTML", + concept: { + name: "form" + } + }], + type: "structure" + }; + var _default = FormRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/GridRole.js +var require_GridRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/GridRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var GridRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "grid" + } + }], + type: "widget" + }; + var _default = GridRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/GroupRole.js +var require_GroupRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/GroupRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var GroupRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "group" + } + }], + type: "structure" + }; + var _default = GroupRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/HeadingRole.js +var require_HeadingRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/HeadingRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var HeadingRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "heading" + } + }, { + module: "HTML", + concept: { + name: "h1" + } + }, { + module: "HTML", + concept: { + name: "h2" + } + }, { + module: "HTML", + concept: { + name: "h3" + } + }, { + module: "HTML", + concept: { + name: "h4" + } + }, { + module: "HTML", + concept: { + name: "h5" + } + }, { + module: "HTML", + concept: { + name: "h6" + } + }], + type: "structure" + }; + var _default = HeadingRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/IframePresentationalRole.js +var require_IframePresentationalRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/IframePresentationalRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var IframePresentationalRole = { + relatedConcepts: [], + type: "window" + }; + var _default = IframePresentationalRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/IframeRole.js +var require_IframeRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/IframeRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var IframeRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "iframe" + } + }], + type: "window" + }; + var _default = IframeRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/IgnoredRole.js +var require_IgnoredRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/IgnoredRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var IgnoredRole = { + relatedConcepts: [], + type: "structure" + }; + var _default = IgnoredRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ImageMapLinkRole.js +var require_ImageMapLinkRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ImageMapLinkRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ImageMapLinkRole = { + relatedConcepts: [], + type: "widget" + }; + var _default = ImageMapLinkRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ImageMapRole.js +var require_ImageMapRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ImageMapRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ImageMapRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "img", + attributes: [{ + name: "usemap" + }] + } + }], + type: "structure" + }; + var _default = ImageMapRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ImageRole.js +var require_ImageRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ImageRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ImageRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "img" + } + }, { + module: "HTML", + concept: { + name: "img" + } + }], + type: "structure" + }; + var _default = ImageRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/InlineTextBoxRole.js +var require_InlineTextBoxRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/InlineTextBoxRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var InlineTextBoxRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "input" + } + }], + type: "widget" + }; + var _default = InlineTextBoxRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/InputTimeRole.js +var require_InputTimeRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/InputTimeRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var InputTimeRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "input", + attributes: [{ + name: "type", + value: "time" + }] + } + }], + type: "widget" + }; + var _default = InputTimeRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/LabelRole.js +var require_LabelRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/LabelRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var LabelRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "label" + } + }], + type: "structure" + }; + var _default = LabelRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/LegendRole.js +var require_LegendRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/LegendRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var LegendRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "legend" + } + }], + type: "structure" + }; + var _default = LegendRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/LineBreakRole.js +var require_LineBreakRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/LineBreakRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var LineBreakRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "br" + } + }], + type: "structure" + }; + var _default = LineBreakRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/LinkRole.js +var require_LinkRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/LinkRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var LinkRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "link" + } + }, { + module: "HTML", + concept: { + name: "a", + attributes: [{ + name: "href" + }] + } + }], + type: "widget" + }; + var _default = LinkRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ListBoxOptionRole.js +var require_ListBoxOptionRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ListBoxOptionRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ListBoxOptionRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "option" + } + }, { + module: "HTML", + concept: { + name: "option" + } + }], + type: "widget" + }; + var _default = ListBoxOptionRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ListBoxRole.js +var require_ListBoxRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ListBoxRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ListBoxRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "listbox" + } + }, { + module: "HTML", + concept: { + name: "datalist" + } + }, { + module: "HTML", + concept: { + name: "select" + } + }], + type: "widget" + }; + var _default = ListBoxRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ListItemRole.js +var require_ListItemRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ListItemRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ListItemRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "listitem" + } + }, { + module: "HTML", + concept: { + name: "li" + } + }], + type: "structure" + }; + var _default = ListItemRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ListMarkerRole.js +var require_ListMarkerRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ListMarkerRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ListMarkerRole = { + relatedConcepts: [], + type: "structure" + }; + var _default = ListMarkerRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ListRole.js +var require_ListRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ListRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ListRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "list" + } + }, { + module: "HTML", + concept: { + name: "ul" + } + }, { + module: "HTML", + concept: { + name: "ol" + } + }], + type: "structure" + }; + var _default = ListRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/LogRole.js +var require_LogRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/LogRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var LogRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "log" + } + }], + type: "structure" + }; + var _default = LogRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/MainRole.js +var require_MainRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/MainRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var MainRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "main" + } + }, { + module: "HTML", + concept: { + name: "main" + } + }], + type: "structure" + }; + var _default = MainRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/MarkRole.js +var require_MarkRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/MarkRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var MarkRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "mark" + } + }], + type: "structure" + }; + var _default = MarkRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/MarqueeRole.js +var require_MarqueeRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/MarqueeRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var MarqueeRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "marquee" + } + }, { + module: "HTML", + concept: { + name: "marquee" + } + }], + type: "structure" + }; + var _default = MarqueeRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/MathRole.js +var require_MathRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/MathRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var MathRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "math" + } + }], + type: "structure" + }; + var _default = MathRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/MenuBarRole.js +var require_MenuBarRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/MenuBarRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var MenuBarRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "menubar" + } + }], + type: "structure" + }; + var _default = MenuBarRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/MenuButtonRole.js +var require_MenuButtonRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/MenuButtonRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var MenuButtonRole = { + relatedConcepts: [], + type: "widget" + }; + var _default = MenuButtonRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/MenuItemRole.js +var require_MenuItemRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/MenuItemRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var MenuItemRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "menuitem" + } + }, { + module: "HTML", + concept: { + name: "menuitem" + } + }], + type: "widget" + }; + var _default = MenuItemRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/MenuItemCheckBoxRole.js +var require_MenuItemCheckBoxRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/MenuItemCheckBoxRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var MenuItemCheckBoxRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "menuitemcheckbox" + } + }], + type: "widget" + }; + var _default = MenuItemCheckBoxRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/MenuItemRadioRole.js +var require_MenuItemRadioRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/MenuItemRadioRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var MenuItemRadioRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "menuitemradio" + } + }], + type: "widget" + }; + var _default = MenuItemRadioRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/MenuListOptionRole.js +var require_MenuListOptionRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/MenuListOptionRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var MenuListOptionRole = { + relatedConcepts: [], + type: "widget" + }; + var _default = MenuListOptionRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/MenuListPopupRole.js +var require_MenuListPopupRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/MenuListPopupRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var MenuListPopupRole = { + relatedConcepts: [], + type: "widget" + }; + var _default = MenuListPopupRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/MenuRole.js +var require_MenuRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/MenuRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var MenuRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "menu" + } + }, { + module: "HTML", + concept: { + name: "menu" + } + }], + type: "structure" + }; + var _default = MenuRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/MeterRole.js +var require_MeterRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/MeterRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var MeterRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "meter" + } + }], + type: "structure" + }; + var _default = MeterRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/NavigationRole.js +var require_NavigationRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/NavigationRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var NavigationRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "navigation" + } + }, { + module: "HTML", + concept: { + name: "nav" + } + }], + type: "structure" + }; + var _default = NavigationRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/NoneRole.js +var require_NoneRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/NoneRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var NoneRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "none" + } + }], + type: "structure" + }; + var _default = NoneRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/NoteRole.js +var require_NoteRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/NoteRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var NoteRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "note" + } + }], + type: "structure" + }; + var _default = NoteRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/OutlineRole.js +var require_OutlineRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/OutlineRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var OutlineRole = { + relatedConcepts: [], + type: "structure" + }; + var _default = OutlineRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ParagraphRole.js +var require_ParagraphRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ParagraphRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ParagraphRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "p" + } + }], + type: "structure" + }; + var _default = ParagraphRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/PopUpButtonRole.js +var require_PopUpButtonRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/PopUpButtonRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var PopUpButtonRole = { + relatedConcepts: [], + type: "widget" + }; + var _default = PopUpButtonRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/PreRole.js +var require_PreRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/PreRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var PreRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "pre" + } + }], + type: "structure" + }; + var _default = PreRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/PresentationalRole.js +var require_PresentationalRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/PresentationalRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var PresentationalRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "presentation" + } + }], + type: "structure" + }; + var _default = PresentationalRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ProgressIndicatorRole.js +var require_ProgressIndicatorRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ProgressIndicatorRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ProgressIndicatorRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "progressbar" + } + }, { + module: "HTML", + concept: { + name: "progress" + } + }], + type: "structure" + }; + var _default = ProgressIndicatorRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/RadioButtonRole.js +var require_RadioButtonRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/RadioButtonRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var RadioButtonRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "radio" + } + }, { + module: "HTML", + concept: { + name: "input", + attributes: [{ + name: "type", + value: "radio" + }] + } + }], + type: "widget" + }; + var _default = RadioButtonRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/RadioGroupRole.js +var require_RadioGroupRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/RadioGroupRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var RadioGroupRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "radiogroup" + } + }], + type: "structure" + }; + var _default = RadioGroupRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/RegionRole.js +var require_RegionRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/RegionRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var RegionRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "region" + } + }], + type: "structure" + }; + var _default = RegionRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/RootWebAreaRole.js +var require_RootWebAreaRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/RootWebAreaRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var RootWebAreaRole = { + relatedConcepts: [], + type: "structure" + }; + var _default = RootWebAreaRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/RowHeaderRole.js +var require_RowHeaderRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/RowHeaderRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var RowHeaderRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "rowheader" + } + }, { + module: "HTML", + concept: { + name: "th", + attributes: [{ + name: "scope", + value: "row" + }] + } + }], + type: "widget" + }; + var _default = RowHeaderRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/RowRole.js +var require_RowRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/RowRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var RowRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "row" + } + }, { + module: "HTML", + concept: { + name: "tr" + } + }], + type: "structure" + }; + var _default = RowRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/RubyRole.js +var require_RubyRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/RubyRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var RubyRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "ruby" + } + }], + type: "structure" + }; + var _default = RubyRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/RulerRole.js +var require_RulerRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/RulerRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var RulerRole = { + relatedConcepts: [], + type: "structure" + }; + var _default = RulerRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ScrollAreaRole.js +var require_ScrollAreaRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ScrollAreaRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ScrollAreaRole = { + relatedConcepts: [], + type: "structure" + }; + var _default = ScrollAreaRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ScrollBarRole.js +var require_ScrollBarRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ScrollBarRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ScrollBarRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "scrollbar" + } + }], + type: "widget" + }; + var _default = ScrollBarRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/SeamlessWebAreaRole.js +var require_SeamlessWebAreaRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/SeamlessWebAreaRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var SeamlessWebAreaRole = { + relatedConcepts: [], + type: "structure" + }; + var _default = SeamlessWebAreaRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/SearchRole.js +var require_SearchRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/SearchRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var SearchRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "search" + } + }], + type: "structure" + }; + var _default = SearchRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/SearchBoxRole.js +var require_SearchBoxRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/SearchBoxRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var SearchBoxRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "searchbox" + } + }, { + module: "HTML", + concept: { + name: "input", + attributes: [{ + name: "type", + value: "search" + }] + } + }], + type: "widget" + }; + var _default = SearchBoxRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/SliderRole.js +var require_SliderRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/SliderRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var SliderRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "slider" + } + }, { + module: "HTML", + concept: { + name: "input", + attributes: [{ + name: "type", + value: "range" + }] + } + }], + type: "widget" + }; + var _default = SliderRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/SliderThumbRole.js +var require_SliderThumbRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/SliderThumbRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var SliderThumbRole = { + relatedConcepts: [], + type: "structure" + }; + var _default = SliderThumbRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/SpinButtonRole.js +var require_SpinButtonRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/SpinButtonRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var SpinButtonRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "spinbutton" + } + }, { + module: "HTML", + concept: { + name: "input", + attributes: [{ + name: "type", + value: "number" + }] + } + }], + type: "widget" + }; + var _default = SpinButtonRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/SpinButtonPartRole.js +var require_SpinButtonPartRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/SpinButtonPartRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var SpinButtonPartRole = { + relatedConcepts: [], + type: "structure" + }; + var _default = SpinButtonPartRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/SplitterRole.js +var require_SplitterRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/SplitterRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var SplitterRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "separator" + } + }], + type: "widget" + }; + var _default = SplitterRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/StaticTextRole.js +var require_StaticTextRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/StaticTextRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var StaticTextRole = { + relatedConcepts: [], + type: "structure" + }; + var _default = StaticTextRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/StatusRole.js +var require_StatusRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/StatusRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var StatusRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "status" + } + }], + type: "structure" + }; + var _default = StatusRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/SVGRootRole.js +var require_SVGRootRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/SVGRootRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var SVGRootRole = { + relatedConcepts: [], + type: "structure" + }; + var _default = SVGRootRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/SwitchRole.js +var require_SwitchRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/SwitchRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var SwitchRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "switch" + } + }, { + module: "HTML", + concept: { + name: "input", + attributes: [{ + name: "type", + value: "checkbox" + }] + } + }], + type: "widget" + }; + var _default = SwitchRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/TabGroupRole.js +var require_TabGroupRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/TabGroupRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var TabGroupRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "tablist" + } + }], + type: "structure" + }; + var _default = TabGroupRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/TabRole.js +var require_TabRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/TabRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var TabRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "tab" + } + }], + type: "widget" + }; + var _default = TabRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/TableHeaderContainerRole.js +var require_TableHeaderContainerRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/TableHeaderContainerRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var TableHeaderContainerRole = { + relatedConcepts: [], + type: "structure" + }; + var _default = TableHeaderContainerRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/TableRole.js +var require_TableRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/TableRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var TableRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "table" + } + }, { + module: "HTML", + concept: { + name: "table" + } + }], + type: "structure" + }; + var _default = TableRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/TabListRole.js +var require_TabListRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/TabListRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var TabListRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "tablist" + } + }], + type: "structure" + }; + var _default = TabListRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/TabPanelRole.js +var require_TabPanelRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/TabPanelRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var TabPanelRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "tabpanel" + } + }], + type: "structure" + }; + var _default = TabPanelRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/TermRole.js +var require_TermRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/TermRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var TermRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "term" + } + }], + type: "structure" + }; + var _default = TermRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/TextAreaRole.js +var require_TextAreaRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/TextAreaRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var TextAreaRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + attributes: [{ + name: "aria-multiline", + value: "true" + }], + name: "textbox" + } + }, { + module: "HTML", + concept: { + name: "textarea" + } + }], + type: "widget" + }; + var _default = TextAreaRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/TextFieldRole.js +var require_TextFieldRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/TextFieldRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var TextFieldRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "textbox" + } + }, { + module: "HTML", + concept: { + name: "input" + } + }, { + module: "HTML", + concept: { + name: "input", + attributes: [{ + name: "type", + value: "text" + }] + } + }], + type: "widget" + }; + var _default = TextFieldRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/TimeRole.js +var require_TimeRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/TimeRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var TimeRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "time" + } + }], + type: "structure" + }; + var _default = TimeRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/TimerRole.js +var require_TimerRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/TimerRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var TimerRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "timer" + } + }], + type: "structure" + }; + var _default = TimerRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ToggleButtonRole.js +var require_ToggleButtonRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ToggleButtonRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ToggleButtonRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + attributes: [{ + name: "aria-pressed" + }] + } + }], + type: "widget" + }; + var _default = ToggleButtonRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/ToolbarRole.js +var require_ToolbarRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/ToolbarRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var ToolbarRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "toolbar" + } + }], + type: "structure" + }; + var _default = ToolbarRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/TreeRole.js +var require_TreeRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/TreeRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var TreeRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "tree" + } + }], + type: "widget" + }; + var _default = TreeRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/TreeGridRole.js +var require_TreeGridRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/TreeGridRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var TreeGridRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "treegrid" + } + }], + type: "widget" + }; + var _default = TreeGridRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/TreeItemRole.js +var require_TreeItemRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/TreeItemRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var TreeItemRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "treeitem" + } + }], + type: "widget" + }; + var _default = TreeItemRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/UserInterfaceTooltipRole.js +var require_UserInterfaceTooltipRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/UserInterfaceTooltipRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var UserInterfaceTooltipRole = { + relatedConcepts: [{ + module: "ARIA", + concept: { + name: "tooltip" + } + }], + type: "structure" + }; + var _default = UserInterfaceTooltipRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/VideoRole.js +var require_VideoRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/VideoRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var VideoRole = { + relatedConcepts: [{ + module: "HTML", + concept: { + name: "video" + } + }], + type: "widget" + }; + var _default = VideoRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/WebAreaRole.js +var require_WebAreaRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/WebAreaRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var WebAreaRole = { + relatedConcepts: [], + type: "structure" + }; + var _default = WebAreaRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/etc/objects/WindowRole.js +var require_WindowRole = __commonJS({ + "node_modules/axobject-query/lib/etc/objects/WindowRole.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var WindowRole = { + relatedConcepts: [], + type: "window" + }; + var _default = WindowRole; + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/AXObjectsMap.js +var require_AXObjectsMap = __commonJS({ + "node_modules/axobject-query/lib/AXObjectsMap.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var _iterationDecorator = _interopRequireDefault(require_iterationDecorator()); + var _AbbrRole = _interopRequireDefault(require_AbbrRole()); + var _AlertDialogRole = _interopRequireDefault(require_AlertDialogRole()); + var _AlertRole = _interopRequireDefault(require_AlertRole()); + var _AnnotationRole = _interopRequireDefault(require_AnnotationRole()); + var _ApplicationRole = _interopRequireDefault(require_ApplicationRole()); + var _ArticleRole = _interopRequireDefault(require_ArticleRole()); + var _AudioRole = _interopRequireDefault(require_AudioRole()); + var _BannerRole = _interopRequireDefault(require_BannerRole()); + var _BlockquoteRole = _interopRequireDefault(require_BlockquoteRole()); + var _BusyIndicatorRole = _interopRequireDefault(require_BusyIndicatorRole()); + var _ButtonRole = _interopRequireDefault(require_ButtonRole()); + var _CanvasRole = _interopRequireDefault(require_CanvasRole()); + var _CaptionRole = _interopRequireDefault(require_CaptionRole()); + var _CellRole = _interopRequireDefault(require_CellRole()); + var _CheckBoxRole = _interopRequireDefault(require_CheckBoxRole()); + var _ColorWellRole = _interopRequireDefault(require_ColorWellRole()); + var _ColumnHeaderRole = _interopRequireDefault(require_ColumnHeaderRole()); + var _ColumnRole = _interopRequireDefault(require_ColumnRole()); + var _ComboBoxRole = _interopRequireDefault(require_ComboBoxRole()); + var _ComplementaryRole = _interopRequireDefault(require_ComplementaryRole()); + var _ContentInfoRole = _interopRequireDefault(require_ContentInfoRole()); + var _DateRole = _interopRequireDefault(require_DateRole()); + var _DateTimeRole = _interopRequireDefault(require_DateTimeRole()); + var _DefinitionRole = _interopRequireDefault(require_DefinitionRole()); + var _DescriptionListDetailRole = _interopRequireDefault(require_DescriptionListDetailRole()); + var _DescriptionListRole = _interopRequireDefault(require_DescriptionListRole()); + var _DescriptionListTermRole = _interopRequireDefault(require_DescriptionListTermRole()); + var _DetailsRole = _interopRequireDefault(require_DetailsRole()); + var _DialogRole = _interopRequireDefault(require_DialogRole()); + var _DirectoryRole = _interopRequireDefault(require_DirectoryRole()); + var _DisclosureTriangleRole = _interopRequireDefault(require_DisclosureTriangleRole()); + var _DivRole = _interopRequireDefault(require_DivRole()); + var _DocumentRole = _interopRequireDefault(require_DocumentRole()); + var _EmbeddedObjectRole = _interopRequireDefault(require_EmbeddedObjectRole()); + var _FeedRole = _interopRequireDefault(require_FeedRole()); + var _FigcaptionRole = _interopRequireDefault(require_FigcaptionRole()); + var _FigureRole = _interopRequireDefault(require_FigureRole()); + var _FooterRole = _interopRequireDefault(require_FooterRole()); + var _FormRole = _interopRequireDefault(require_FormRole()); + var _GridRole = _interopRequireDefault(require_GridRole()); + var _GroupRole = _interopRequireDefault(require_GroupRole()); + var _HeadingRole = _interopRequireDefault(require_HeadingRole()); + var _IframePresentationalRole = _interopRequireDefault(require_IframePresentationalRole()); + var _IframeRole = _interopRequireDefault(require_IframeRole()); + var _IgnoredRole = _interopRequireDefault(require_IgnoredRole()); + var _ImageMapLinkRole = _interopRequireDefault(require_ImageMapLinkRole()); + var _ImageMapRole = _interopRequireDefault(require_ImageMapRole()); + var _ImageRole = _interopRequireDefault(require_ImageRole()); + var _InlineTextBoxRole = _interopRequireDefault(require_InlineTextBoxRole()); + var _InputTimeRole = _interopRequireDefault(require_InputTimeRole()); + var _LabelRole = _interopRequireDefault(require_LabelRole()); + var _LegendRole = _interopRequireDefault(require_LegendRole()); + var _LineBreakRole = _interopRequireDefault(require_LineBreakRole()); + var _LinkRole = _interopRequireDefault(require_LinkRole()); + var _ListBoxOptionRole = _interopRequireDefault(require_ListBoxOptionRole()); + var _ListBoxRole = _interopRequireDefault(require_ListBoxRole()); + var _ListItemRole = _interopRequireDefault(require_ListItemRole()); + var _ListMarkerRole = _interopRequireDefault(require_ListMarkerRole()); + var _ListRole = _interopRequireDefault(require_ListRole()); + var _LogRole = _interopRequireDefault(require_LogRole()); + var _MainRole = _interopRequireDefault(require_MainRole()); + var _MarkRole = _interopRequireDefault(require_MarkRole()); + var _MarqueeRole = _interopRequireDefault(require_MarqueeRole()); + var _MathRole = _interopRequireDefault(require_MathRole()); + var _MenuBarRole = _interopRequireDefault(require_MenuBarRole()); + var _MenuButtonRole = _interopRequireDefault(require_MenuButtonRole()); + var _MenuItemRole = _interopRequireDefault(require_MenuItemRole()); + var _MenuItemCheckBoxRole = _interopRequireDefault(require_MenuItemCheckBoxRole()); + var _MenuItemRadioRole = _interopRequireDefault(require_MenuItemRadioRole()); + var _MenuListOptionRole = _interopRequireDefault(require_MenuListOptionRole()); + var _MenuListPopupRole = _interopRequireDefault(require_MenuListPopupRole()); + var _MenuRole = _interopRequireDefault(require_MenuRole()); + var _MeterRole = _interopRequireDefault(require_MeterRole()); + var _NavigationRole = _interopRequireDefault(require_NavigationRole()); + var _NoneRole = _interopRequireDefault(require_NoneRole()); + var _NoteRole = _interopRequireDefault(require_NoteRole()); + var _OutlineRole = _interopRequireDefault(require_OutlineRole()); + var _ParagraphRole = _interopRequireDefault(require_ParagraphRole()); + var _PopUpButtonRole = _interopRequireDefault(require_PopUpButtonRole()); + var _PreRole = _interopRequireDefault(require_PreRole()); + var _PresentationalRole = _interopRequireDefault(require_PresentationalRole()); + var _ProgressIndicatorRole = _interopRequireDefault(require_ProgressIndicatorRole()); + var _RadioButtonRole = _interopRequireDefault(require_RadioButtonRole()); + var _RadioGroupRole = _interopRequireDefault(require_RadioGroupRole()); + var _RegionRole = _interopRequireDefault(require_RegionRole()); + var _RootWebAreaRole = _interopRequireDefault(require_RootWebAreaRole()); + var _RowHeaderRole = _interopRequireDefault(require_RowHeaderRole()); + var _RowRole = _interopRequireDefault(require_RowRole()); + var _RubyRole = _interopRequireDefault(require_RubyRole()); + var _RulerRole = _interopRequireDefault(require_RulerRole()); + var _ScrollAreaRole = _interopRequireDefault(require_ScrollAreaRole()); + var _ScrollBarRole = _interopRequireDefault(require_ScrollBarRole()); + var _SeamlessWebAreaRole = _interopRequireDefault(require_SeamlessWebAreaRole()); + var _SearchRole = _interopRequireDefault(require_SearchRole()); + var _SearchBoxRole = _interopRequireDefault(require_SearchBoxRole()); + var _SliderRole = _interopRequireDefault(require_SliderRole()); + var _SliderThumbRole = _interopRequireDefault(require_SliderThumbRole()); + var _SpinButtonRole = _interopRequireDefault(require_SpinButtonRole()); + var _SpinButtonPartRole = _interopRequireDefault(require_SpinButtonPartRole()); + var _SplitterRole = _interopRequireDefault(require_SplitterRole()); + var _StaticTextRole = _interopRequireDefault(require_StaticTextRole()); + var _StatusRole = _interopRequireDefault(require_StatusRole()); + var _SVGRootRole = _interopRequireDefault(require_SVGRootRole()); + var _SwitchRole = _interopRequireDefault(require_SwitchRole()); + var _TabGroupRole = _interopRequireDefault(require_TabGroupRole()); + var _TabRole = _interopRequireDefault(require_TabRole()); + var _TableHeaderContainerRole = _interopRequireDefault(require_TableHeaderContainerRole()); + var _TableRole = _interopRequireDefault(require_TableRole()); + var _TabListRole = _interopRequireDefault(require_TabListRole()); + var _TabPanelRole = _interopRequireDefault(require_TabPanelRole()); + var _TermRole = _interopRequireDefault(require_TermRole()); + var _TextAreaRole = _interopRequireDefault(require_TextAreaRole()); + var _TextFieldRole = _interopRequireDefault(require_TextFieldRole()); + var _TimeRole = _interopRequireDefault(require_TimeRole()); + var _TimerRole = _interopRequireDefault(require_TimerRole()); + var _ToggleButtonRole = _interopRequireDefault(require_ToggleButtonRole()); + var _ToolbarRole = _interopRequireDefault(require_ToolbarRole()); + var _TreeRole = _interopRequireDefault(require_TreeRole()); + var _TreeGridRole = _interopRequireDefault(require_TreeGridRole()); + var _TreeItemRole = _interopRequireDefault(require_TreeItemRole()); + var _UserInterfaceTooltipRole = _interopRequireDefault(require_UserInterfaceTooltipRole()); + var _VideoRole = _interopRequireDefault(require_VideoRole()); + var _WebAreaRole = _interopRequireDefault(require_WebAreaRole()); + var _WindowRole = _interopRequireDefault(require_WindowRole()); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + function _slicedToArray(arr, i) { + return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); + } + function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + function _unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return _arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); + } + function _arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + for (var i = 0, arr2 = new Array(len); i < len; i++) { + arr2[i] = arr[i]; + } + return arr2; + } + function _iterableToArrayLimit(arr, i) { + var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; + if (_i == null) return; + var _arr = []; + var _n = true; + var _d = false; + var _s, _e; + try { + for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { + _arr.push(_s.value); + if (i && _arr.length === i) break; + } + } catch (err) { + _d = true; + _e = err; + } finally { + try { + if (!_n && _i["return"] != null) _i["return"](); + } finally { + if (_d) throw _e; + } + } + return _arr; + } + function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; + } + var AXObjects = [["AbbrRole", _AbbrRole.default], ["AlertDialogRole", _AlertDialogRole.default], ["AlertRole", _AlertRole.default], ["AnnotationRole", _AnnotationRole.default], ["ApplicationRole", _ApplicationRole.default], ["ArticleRole", _ArticleRole.default], ["AudioRole", _AudioRole.default], ["BannerRole", _BannerRole.default], ["BlockquoteRole", _BlockquoteRole.default], ["BusyIndicatorRole", _BusyIndicatorRole.default], ["ButtonRole", _ButtonRole.default], ["CanvasRole", _CanvasRole.default], ["CaptionRole", _CaptionRole.default], ["CellRole", _CellRole.default], ["CheckBoxRole", _CheckBoxRole.default], ["ColorWellRole", _ColorWellRole.default], ["ColumnHeaderRole", _ColumnHeaderRole.default], ["ColumnRole", _ColumnRole.default], ["ComboBoxRole", _ComboBoxRole.default], ["ComplementaryRole", _ComplementaryRole.default], ["ContentInfoRole", _ContentInfoRole.default], ["DateRole", _DateRole.default], ["DateTimeRole", _DateTimeRole.default], ["DefinitionRole", _DefinitionRole.default], ["DescriptionListDetailRole", _DescriptionListDetailRole.default], ["DescriptionListRole", _DescriptionListRole.default], ["DescriptionListTermRole", _DescriptionListTermRole.default], ["DetailsRole", _DetailsRole.default], ["DialogRole", _DialogRole.default], ["DirectoryRole", _DirectoryRole.default], ["DisclosureTriangleRole", _DisclosureTriangleRole.default], ["DivRole", _DivRole.default], ["DocumentRole", _DocumentRole.default], ["EmbeddedObjectRole", _EmbeddedObjectRole.default], ["FeedRole", _FeedRole.default], ["FigcaptionRole", _FigcaptionRole.default], ["FigureRole", _FigureRole.default], ["FooterRole", _FooterRole.default], ["FormRole", _FormRole.default], ["GridRole", _GridRole.default], ["GroupRole", _GroupRole.default], ["HeadingRole", _HeadingRole.default], ["IframePresentationalRole", _IframePresentationalRole.default], ["IframeRole", _IframeRole.default], ["IgnoredRole", _IgnoredRole.default], ["ImageMapLinkRole", _ImageMapLinkRole.default], ["ImageMapRole", _ImageMapRole.default], ["ImageRole", _ImageRole.default], ["InlineTextBoxRole", _InlineTextBoxRole.default], ["InputTimeRole", _InputTimeRole.default], ["LabelRole", _LabelRole.default], ["LegendRole", _LegendRole.default], ["LineBreakRole", _LineBreakRole.default], ["LinkRole", _LinkRole.default], ["ListBoxOptionRole", _ListBoxOptionRole.default], ["ListBoxRole", _ListBoxRole.default], ["ListItemRole", _ListItemRole.default], ["ListMarkerRole", _ListMarkerRole.default], ["ListRole", _ListRole.default], ["LogRole", _LogRole.default], ["MainRole", _MainRole.default], ["MarkRole", _MarkRole.default], ["MarqueeRole", _MarqueeRole.default], ["MathRole", _MathRole.default], ["MenuBarRole", _MenuBarRole.default], ["MenuButtonRole", _MenuButtonRole.default], ["MenuItemRole", _MenuItemRole.default], ["MenuItemCheckBoxRole", _MenuItemCheckBoxRole.default], ["MenuItemRadioRole", _MenuItemRadioRole.default], ["MenuListOptionRole", _MenuListOptionRole.default], ["MenuListPopupRole", _MenuListPopupRole.default], ["MenuRole", _MenuRole.default], ["MeterRole", _MeterRole.default], ["NavigationRole", _NavigationRole.default], ["NoneRole", _NoneRole.default], ["NoteRole", _NoteRole.default], ["OutlineRole", _OutlineRole.default], ["ParagraphRole", _ParagraphRole.default], ["PopUpButtonRole", _PopUpButtonRole.default], ["PreRole", _PreRole.default], ["PresentationalRole", _PresentationalRole.default], ["ProgressIndicatorRole", _ProgressIndicatorRole.default], ["RadioButtonRole", _RadioButtonRole.default], ["RadioGroupRole", _RadioGroupRole.default], ["RegionRole", _RegionRole.default], ["RootWebAreaRole", _RootWebAreaRole.default], ["RowHeaderRole", _RowHeaderRole.default], ["RowRole", _RowRole.default], ["RubyRole", _RubyRole.default], ["RulerRole", _RulerRole.default], ["ScrollAreaRole", _ScrollAreaRole.default], ["ScrollBarRole", _ScrollBarRole.default], ["SeamlessWebAreaRole", _SeamlessWebAreaRole.default], ["SearchRole", _SearchRole.default], ["SearchBoxRole", _SearchBoxRole.default], ["SliderRole", _SliderRole.default], ["SliderThumbRole", _SliderThumbRole.default], ["SpinButtonRole", _SpinButtonRole.default], ["SpinButtonPartRole", _SpinButtonPartRole.default], ["SplitterRole", _SplitterRole.default], ["StaticTextRole", _StaticTextRole.default], ["StatusRole", _StatusRole.default], ["SVGRootRole", _SVGRootRole.default], ["SwitchRole", _SwitchRole.default], ["TabGroupRole", _TabGroupRole.default], ["TabRole", _TabRole.default], ["TableHeaderContainerRole", _TableHeaderContainerRole.default], ["TableRole", _TableRole.default], ["TabListRole", _TabListRole.default], ["TabPanelRole", _TabPanelRole.default], ["TermRole", _TermRole.default], ["TextAreaRole", _TextAreaRole.default], ["TextFieldRole", _TextFieldRole.default], ["TimeRole", _TimeRole.default], ["TimerRole", _TimerRole.default], ["ToggleButtonRole", _ToggleButtonRole.default], ["ToolbarRole", _ToolbarRole.default], ["TreeRole", _TreeRole.default], ["TreeGridRole", _TreeGridRole.default], ["TreeItemRole", _TreeItemRole.default], ["UserInterfaceTooltipRole", _UserInterfaceTooltipRole.default], ["VideoRole", _VideoRole.default], ["WebAreaRole", _WebAreaRole.default], ["WindowRole", _WindowRole.default]]; + var AXObjectsMap = { + entries: function entries() { + return AXObjects; + }, + forEach: function forEach(fn) { + var thisArg = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null; + for (var _i = 0, _AXObjects = AXObjects; _i < _AXObjects.length; _i++) { + var _AXObjects$_i = _slicedToArray(_AXObjects[_i], 2), key = _AXObjects$_i[0], values = _AXObjects$_i[1]; + fn.call(thisArg, values, key, AXObjects); + } + }, + get: function get(key) { + var item = AXObjects.find(function(tuple) { + return tuple[0] === key ? true : false; + }); + return item && item[1]; + }, + has: function has(key) { + return !!AXObjectsMap.get(key); + }, + keys: function keys() { + return AXObjects.map(function(_ref) { + var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0]; + return key; + }); + }, + values: function values() { + return AXObjects.map(function(_ref3) { + var _ref4 = _slicedToArray(_ref3, 2), values2 = _ref4[1]; + return values2; + }); + } + }; + var _default = (0, _iterationDecorator.default)(AXObjectsMap, AXObjectsMap.entries()); + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/AXObjectElementMap.js +var require_AXObjectElementMap = __commonJS({ + "node_modules/axobject-query/lib/AXObjectElementMap.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var _iterationDecorator = _interopRequireDefault(require_iterationDecorator()); + var _AXObjectsMap = _interopRequireDefault(require_AXObjectsMap()); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + function _slicedToArray(arr, i) { + return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); + } + function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + function _iterableToArrayLimit(arr, i) { + var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; + if (_i == null) return; + var _arr = []; + var _n = true; + var _d = false; + var _s, _e; + try { + for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { + _arr.push(_s.value); + if (i && _arr.length === i) break; + } + } catch (err) { + _d = true; + _e = err; + } finally { + try { + if (!_n && _i["return"] != null) _i["return"](); + } finally { + if (_d) throw _e; + } + } + return _arr; + } + function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; + } + function _createForOfIteratorHelper(o, allowArrayLike) { + var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; + if (!it) { + if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { + if (it) o = it; + var i = 0; + var F = function F2() { + }; + return { s: F, n: function n() { + if (i >= o.length) return { done: true }; + return { done: false, value: o[i++] }; + }, e: function e(_e2) { + throw _e2; + }, f: F }; + } + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + var normalCompletion = true, didErr = false, err; + return { s: function s() { + it = it.call(o); + }, n: function n() { + var step = it.next(); + normalCompletion = step.done; + return step; + }, e: function e(_e3) { + didErr = true; + err = _e3; + }, f: function f() { + try { + if (!normalCompletion && it.return != null) it.return(); + } finally { + if (didErr) throw err; + } + } }; + } + function _unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return _arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); + } + function _arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + for (var i = 0, arr2 = new Array(len); i < len; i++) { + arr2[i] = arr[i]; + } + return arr2; + } + var AXObjectElements = []; + var _iterator = _createForOfIteratorHelper(_AXObjectsMap.default.entries()); + var _step; + try { + _loop = function _loop2() { + var _step$value = _slicedToArray(_step.value, 2), name = _step$value[0], def = _step$value[1]; + var relatedConcepts = def.relatedConcepts; + if (Array.isArray(relatedConcepts)) { + relatedConcepts.forEach(function(relation) { + if (relation.module === "HTML") { + var concept = relation.concept; + if (concept) { + var index = AXObjectElements.findIndex(function(_ref5) { + var _ref6 = _slicedToArray(_ref5, 1), key = _ref6[0]; + return key === name; + }); + if (index === -1) { + AXObjectElements.push([name, []]); + index = AXObjectElements.length - 1; + } + AXObjectElements[index][1].push(concept); + } + } + }); + } + }; + for (_iterator.s(); !(_step = _iterator.n()).done; ) { + _loop(); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + var _loop; + var AXObjectElementMap = { + entries: function entries() { + return AXObjectElements; + }, + forEach: function forEach(fn) { + var thisArg = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null; + for (var _i = 0, _AXObjectElements = AXObjectElements; _i < _AXObjectElements.length; _i++) { + var _AXObjectElements$_i = _slicedToArray(_AXObjectElements[_i], 2), key = _AXObjectElements$_i[0], values = _AXObjectElements$_i[1]; + fn.call(thisArg, values, key, AXObjectElements); + } + }, + get: function get(key) { + var item = AXObjectElements.find(function(tuple) { + return tuple[0] === key ? true : false; + }); + return item && item[1]; + }, + has: function has(key) { + return !!AXObjectElementMap.get(key); + }, + keys: function keys() { + return AXObjectElements.map(function(_ref) { + var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0]; + return key; + }); + }, + values: function values() { + return AXObjectElements.map(function(_ref3) { + var _ref4 = _slicedToArray(_ref3, 2), values2 = _ref4[1]; + return values2; + }); + } + }; + var _default = (0, _iterationDecorator.default)(AXObjectElementMap, AXObjectElementMap.entries()); + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/AXObjectRoleMap.js +var require_AXObjectRoleMap = __commonJS({ + "node_modules/axobject-query/lib/AXObjectRoleMap.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var _iterationDecorator = _interopRequireDefault(require_iterationDecorator()); + var _AXObjectsMap = _interopRequireDefault(require_AXObjectsMap()); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + function _slicedToArray(arr, i) { + return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); + } + function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + function _iterableToArrayLimit(arr, i) { + var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; + if (_i == null) return; + var _arr = []; + var _n = true; + var _d = false; + var _s, _e; + try { + for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { + _arr.push(_s.value); + if (i && _arr.length === i) break; + } + } catch (err) { + _d = true; + _e = err; + } finally { + try { + if (!_n && _i["return"] != null) _i["return"](); + } finally { + if (_d) throw _e; + } + } + return _arr; + } + function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; + } + function _createForOfIteratorHelper(o, allowArrayLike) { + var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; + if (!it) { + if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { + if (it) o = it; + var i = 0; + var F = function F2() { + }; + return { s: F, n: function n() { + if (i >= o.length) return { done: true }; + return { done: false, value: o[i++] }; + }, e: function e(_e2) { + throw _e2; + }, f: F }; + } + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + var normalCompletion = true, didErr = false, err; + return { s: function s() { + it = it.call(o); + }, n: function n() { + var step = it.next(); + normalCompletion = step.done; + return step; + }, e: function e(_e3) { + didErr = true; + err = _e3; + }, f: function f() { + try { + if (!normalCompletion && it.return != null) it.return(); + } finally { + if (didErr) throw err; + } + } }; + } + function _unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return _arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); + } + function _arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + for (var i = 0, arr2 = new Array(len); i < len; i++) { + arr2[i] = arr[i]; + } + return arr2; + } + var AXObjectRoleElements = []; + var _iterator = _createForOfIteratorHelper(_AXObjectsMap.default.entries()); + var _step; + try { + _loop = function _loop2() { + var _step$value = _slicedToArray(_step.value, 2), name = _step$value[0], def = _step$value[1]; + var relatedConcepts = def.relatedConcepts; + if (Array.isArray(relatedConcepts)) { + relatedConcepts.forEach(function(relation) { + if (relation.module === "ARIA") { + var concept = relation.concept; + if (concept) { + var index = AXObjectRoleElements.findIndex(function(_ref5) { + var _ref6 = _slicedToArray(_ref5, 1), key = _ref6[0]; + return key === name; + }); + if (index === -1) { + AXObjectRoleElements.push([name, []]); + index = AXObjectRoleElements.length - 1; + } + AXObjectRoleElements[index][1].push(concept); + } + } + }); + } + }; + for (_iterator.s(); !(_step = _iterator.n()).done; ) { + _loop(); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + var _loop; + var AXObjectRoleMap = { + entries: function entries() { + return AXObjectRoleElements; + }, + forEach: function forEach(fn) { + var thisArg = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null; + for (var _i = 0, _AXObjectRoleElements = AXObjectRoleElements; _i < _AXObjectRoleElements.length; _i++) { + var _AXObjectRoleElements2 = _slicedToArray(_AXObjectRoleElements[_i], 2), key = _AXObjectRoleElements2[0], values = _AXObjectRoleElements2[1]; + fn.call(thisArg, values, key, AXObjectRoleElements); + } + }, + get: function get(key) { + var item = AXObjectRoleElements.find(function(tuple) { + return tuple[0] === key ? true : false; + }); + return item && item[1]; + }, + has: function has(key) { + return !!AXObjectRoleMap.get(key); + }, + keys: function keys() { + return AXObjectRoleElements.map(function(_ref) { + var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0]; + return key; + }); + }, + values: function values() { + return AXObjectRoleElements.map(function(_ref3) { + var _ref4 = _slicedToArray(_ref3, 2), values2 = _ref4[1]; + return values2; + }); + } + }; + var _default = (0, _iterationDecorator.default)(AXObjectRoleMap, AXObjectRoleMap.entries()); + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/elementAXObjectMap.js +var require_elementAXObjectMap = __commonJS({ + "node_modules/axobject-query/lib/elementAXObjectMap.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = void 0; + var _AXObjectsMap = _interopRequireDefault(require_AXObjectsMap()); + var _iterationDecorator = _interopRequireDefault(require_iterationDecorator()); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + function _slicedToArray(arr, i) { + return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); + } + function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + function _iterableToArrayLimit(arr, i) { + var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; + if (_i == null) return; + var _arr = []; + var _n = true; + var _d = false; + var _s, _e; + try { + for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { + _arr.push(_s.value); + if (i && _arr.length === i) break; + } + } catch (err) { + _d = true; + _e = err; + } finally { + try { + if (!_n && _i["return"] != null) _i["return"](); + } finally { + if (_d) throw _e; + } + } + return _arr; + } + function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; + } + function _createForOfIteratorHelper(o, allowArrayLike) { + var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; + if (!it) { + if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { + if (it) o = it; + var i = 0; + var F = function F2() { + }; + return { s: F, n: function n() { + if (i >= o.length) return { done: true }; + return { done: false, value: o[i++] }; + }, e: function e(_e2) { + throw _e2; + }, f: F }; + } + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + var normalCompletion = true, didErr = false, err; + return { s: function s() { + it = it.call(o); + }, n: function n() { + var step = it.next(); + normalCompletion = step.done; + return step; + }, e: function e(_e3) { + didErr = true; + err = _e3; + }, f: function f() { + try { + if (!normalCompletion && it.return != null) it.return(); + } finally { + if (didErr) throw err; + } + } }; + } + function _unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return _arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); + } + function _arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + for (var i = 0, arr2 = new Array(len); i < len; i++) { + arr2[i] = arr[i]; + } + return arr2; + } + var elementAXObjects = []; + var _iterator = _createForOfIteratorHelper(_AXObjectsMap.default.entries()); + var _step; + try { + _loop = function _loop2() { + var _step$value = _slicedToArray(_step.value, 2), name = _step$value[0], def = _step$value[1]; + var relatedConcepts = def.relatedConcepts; + if (Array.isArray(relatedConcepts)) { + relatedConcepts.forEach(function(relation) { + if (relation.module === "HTML") { + var concept = relation.concept; + if (concept != null) { + var conceptStr = JSON.stringify(concept); + var axObjects; + var index = 0; + for (; index < elementAXObjects.length; index++) { + var key = elementAXObjects[index][0]; + if (JSON.stringify(key) === conceptStr) { + axObjects = elementAXObjects[index][1]; + break; + } + } + if (!Array.isArray(axObjects)) { + axObjects = []; + } + var loc = axObjects.findIndex(function(item) { + return item === name; + }); + if (loc === -1) { + axObjects.push(name); + } + if (index < elementAXObjects.length) { + elementAXObjects.splice(index, 1, [concept, axObjects]); + } else { + elementAXObjects.push([concept, axObjects]); + } + } + } + }); + } + }; + for (_iterator.s(); !(_step = _iterator.n()).done; ) { + _loop(); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + var _loop; + function deepAxObjectModelRelationshipConceptAttributeCheck(a, b) { + if (a === void 0 && b !== void 0) { + return false; + } + if (a !== void 0 && b === void 0) { + return false; + } + if (a !== void 0 && b !== void 0) { + if (a.length != b.length) { + return false; + } + for (var i = 0; i < a.length; i++) { + if (b[i].name !== a[i].name || b[i].value !== a[i].value) { + return false; + } + } + } + return true; + } + var elementAXObjectMap = { + entries: function entries() { + return elementAXObjects; + }, + forEach: function forEach(fn) { + var thisArg = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null; + for (var _i = 0, _elementAXObjects = elementAXObjects; _i < _elementAXObjects.length; _i++) { + var _elementAXObjects$_i = _slicedToArray(_elementAXObjects[_i], 2), key = _elementAXObjects$_i[0], values = _elementAXObjects$_i[1]; + fn.call(thisArg, values, key, elementAXObjects); + } + }, + get: function get(key) { + var item = elementAXObjects.find(function(tuple) { + return key.name === tuple[0].name && deepAxObjectModelRelationshipConceptAttributeCheck(key.attributes, tuple[0].attributes); + }); + return item && item[1]; + }, + has: function has(key) { + return !!elementAXObjectMap.get(key); + }, + keys: function keys() { + return elementAXObjects.map(function(_ref) { + var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0]; + return key; + }); + }, + values: function values() { + return elementAXObjects.map(function(_ref3) { + var _ref4 = _slicedToArray(_ref3, 2), values2 = _ref4[1]; + return values2; + }); + } + }; + var _default = (0, _iterationDecorator.default)(elementAXObjectMap, elementAXObjectMap.entries()); + exports.default = _default; + } +}); + +// node_modules/axobject-query/lib/index.js +var require_lib = __commonJS({ + "node_modules/axobject-query/lib/index.js"(exports) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.elementAXObjects = exports.AXObjects = exports.AXObjectRoles = exports.AXObjectElements = void 0; + var _AXObjectElementMap = _interopRequireDefault(require_AXObjectElementMap()); + var _AXObjectRoleMap = _interopRequireDefault(require_AXObjectRoleMap()); + var _AXObjectsMap = _interopRequireDefault(require_AXObjectsMap()); + var _elementAXObjectMap = _interopRequireDefault(require_elementAXObjectMap()); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + var AXObjectElements = _AXObjectElementMap.default; + exports.AXObjectElements = AXObjectElements; + var AXObjectRoles = _AXObjectRoleMap.default; + exports.AXObjectRoles = AXObjectRoles; + var AXObjects = _AXObjectsMap.default; + exports.AXObjects = AXObjects; + var elementAXObjects = _elementAXObjectMap.default; + exports.elementAXObjects = elementAXObjects; + } +}); +export default require_lib(); +//# sourceMappingURL=astro___axobject-query.js.map diff --git a/node_modules/.vite/deps/astro___axobject-query.js.map b/node_modules/.vite/deps/astro___axobject-query.js.map new file mode 100644 index 0000000..c2e903e --- /dev/null +++ b/node_modules/.vite/deps/astro___axobject-query.js.map @@ -0,0 +1,7 @@ +{ + "version": 3, + "sources": ["../../axobject-query/lib/util/iteratorProxy.js", "../../axobject-query/lib/util/iterationDecorator.js", "../../axobject-query/lib/etc/objects/AbbrRole.js", "../../axobject-query/lib/etc/objects/AlertDialogRole.js", "../../axobject-query/lib/etc/objects/AlertRole.js", "../../axobject-query/lib/etc/objects/AnnotationRole.js", "../../axobject-query/lib/etc/objects/ApplicationRole.js", "../../axobject-query/lib/etc/objects/ArticleRole.js", "../../axobject-query/lib/etc/objects/AudioRole.js", "../../axobject-query/lib/etc/objects/BannerRole.js", "../../axobject-query/lib/etc/objects/BlockquoteRole.js", "../../axobject-query/lib/etc/objects/BusyIndicatorRole.js", "../../axobject-query/lib/etc/objects/ButtonRole.js", "../../axobject-query/lib/etc/objects/CanvasRole.js", "../../axobject-query/lib/etc/objects/CaptionRole.js", "../../axobject-query/lib/etc/objects/CellRole.js", "../../axobject-query/lib/etc/objects/CheckBoxRole.js", "../../axobject-query/lib/etc/objects/ColorWellRole.js", "../../axobject-query/lib/etc/objects/ColumnHeaderRole.js", "../../axobject-query/lib/etc/objects/ColumnRole.js", "../../axobject-query/lib/etc/objects/ComboBoxRole.js", "../../axobject-query/lib/etc/objects/ComplementaryRole.js", "../../axobject-query/lib/etc/objects/ContentInfoRole.js", "../../axobject-query/lib/etc/objects/DateRole.js", "../../axobject-query/lib/etc/objects/DateTimeRole.js", "../../axobject-query/lib/etc/objects/DefinitionRole.js", "../../axobject-query/lib/etc/objects/DescriptionListDetailRole.js", "../../axobject-query/lib/etc/objects/DescriptionListRole.js", "../../axobject-query/lib/etc/objects/DescriptionListTermRole.js", "../../axobject-query/lib/etc/objects/DetailsRole.js", "../../axobject-query/lib/etc/objects/DialogRole.js", "../../axobject-query/lib/etc/objects/DirectoryRole.js", "../../axobject-query/lib/etc/objects/DisclosureTriangleRole.js", "../../axobject-query/lib/etc/objects/DivRole.js", "../../axobject-query/lib/etc/objects/DocumentRole.js", "../../axobject-query/lib/etc/objects/EmbeddedObjectRole.js", "../../axobject-query/lib/etc/objects/FeedRole.js", "../../axobject-query/lib/etc/objects/FigcaptionRole.js", "../../axobject-query/lib/etc/objects/FigureRole.js", "../../axobject-query/lib/etc/objects/FooterRole.js", "../../axobject-query/lib/etc/objects/FormRole.js", "../../axobject-query/lib/etc/objects/GridRole.js", "../../axobject-query/lib/etc/objects/GroupRole.js", "../../axobject-query/lib/etc/objects/HeadingRole.js", "../../axobject-query/lib/etc/objects/IframePresentationalRole.js", "../../axobject-query/lib/etc/objects/IframeRole.js", "../../axobject-query/lib/etc/objects/IgnoredRole.js", "../../axobject-query/lib/etc/objects/ImageMapLinkRole.js", "../../axobject-query/lib/etc/objects/ImageMapRole.js", "../../axobject-query/lib/etc/objects/ImageRole.js", "../../axobject-query/lib/etc/objects/InlineTextBoxRole.js", "../../axobject-query/lib/etc/objects/InputTimeRole.js", "../../axobject-query/lib/etc/objects/LabelRole.js", "../../axobject-query/lib/etc/objects/LegendRole.js", "../../axobject-query/lib/etc/objects/LineBreakRole.js", "../../axobject-query/lib/etc/objects/LinkRole.js", "../../axobject-query/lib/etc/objects/ListBoxOptionRole.js", "../../axobject-query/lib/etc/objects/ListBoxRole.js", "../../axobject-query/lib/etc/objects/ListItemRole.js", "../../axobject-query/lib/etc/objects/ListMarkerRole.js", "../../axobject-query/lib/etc/objects/ListRole.js", "../../axobject-query/lib/etc/objects/LogRole.js", "../../axobject-query/lib/etc/objects/MainRole.js", "../../axobject-query/lib/etc/objects/MarkRole.js", "../../axobject-query/lib/etc/objects/MarqueeRole.js", "../../axobject-query/lib/etc/objects/MathRole.js", "../../axobject-query/lib/etc/objects/MenuBarRole.js", "../../axobject-query/lib/etc/objects/MenuButtonRole.js", "../../axobject-query/lib/etc/objects/MenuItemRole.js", "../../axobject-query/lib/etc/objects/MenuItemCheckBoxRole.js", "../../axobject-query/lib/etc/objects/MenuItemRadioRole.js", "../../axobject-query/lib/etc/objects/MenuListOptionRole.js", "../../axobject-query/lib/etc/objects/MenuListPopupRole.js", "../../axobject-query/lib/etc/objects/MenuRole.js", "../../axobject-query/lib/etc/objects/MeterRole.js", "../../axobject-query/lib/etc/objects/NavigationRole.js", "../../axobject-query/lib/etc/objects/NoneRole.js", "../../axobject-query/lib/etc/objects/NoteRole.js", "../../axobject-query/lib/etc/objects/OutlineRole.js", "../../axobject-query/lib/etc/objects/ParagraphRole.js", "../../axobject-query/lib/etc/objects/PopUpButtonRole.js", "../../axobject-query/lib/etc/objects/PreRole.js", "../../axobject-query/lib/etc/objects/PresentationalRole.js", "../../axobject-query/lib/etc/objects/ProgressIndicatorRole.js", "../../axobject-query/lib/etc/objects/RadioButtonRole.js", "../../axobject-query/lib/etc/objects/RadioGroupRole.js", "../../axobject-query/lib/etc/objects/RegionRole.js", "../../axobject-query/lib/etc/objects/RootWebAreaRole.js", "../../axobject-query/lib/etc/objects/RowHeaderRole.js", "../../axobject-query/lib/etc/objects/RowRole.js", "../../axobject-query/lib/etc/objects/RubyRole.js", "../../axobject-query/lib/etc/objects/RulerRole.js", "../../axobject-query/lib/etc/objects/ScrollAreaRole.js", "../../axobject-query/lib/etc/objects/ScrollBarRole.js", "../../axobject-query/lib/etc/objects/SeamlessWebAreaRole.js", "../../axobject-query/lib/etc/objects/SearchRole.js", "../../axobject-query/lib/etc/objects/SearchBoxRole.js", "../../axobject-query/lib/etc/objects/SliderRole.js", "../../axobject-query/lib/etc/objects/SliderThumbRole.js", "../../axobject-query/lib/etc/objects/SpinButtonRole.js", "../../axobject-query/lib/etc/objects/SpinButtonPartRole.js", "../../axobject-query/lib/etc/objects/SplitterRole.js", "../../axobject-query/lib/etc/objects/StaticTextRole.js", "../../axobject-query/lib/etc/objects/StatusRole.js", "../../axobject-query/lib/etc/objects/SVGRootRole.js", "../../axobject-query/lib/etc/objects/SwitchRole.js", "../../axobject-query/lib/etc/objects/TabGroupRole.js", "../../axobject-query/lib/etc/objects/TabRole.js", "../../axobject-query/lib/etc/objects/TableHeaderContainerRole.js", "../../axobject-query/lib/etc/objects/TableRole.js", "../../axobject-query/lib/etc/objects/TabListRole.js", "../../axobject-query/lib/etc/objects/TabPanelRole.js", "../../axobject-query/lib/etc/objects/TermRole.js", "../../axobject-query/lib/etc/objects/TextAreaRole.js", "../../axobject-query/lib/etc/objects/TextFieldRole.js", "../../axobject-query/lib/etc/objects/TimeRole.js", "../../axobject-query/lib/etc/objects/TimerRole.js", "../../axobject-query/lib/etc/objects/ToggleButtonRole.js", "../../axobject-query/lib/etc/objects/ToolbarRole.js", "../../axobject-query/lib/etc/objects/TreeRole.js", "../../axobject-query/lib/etc/objects/TreeGridRole.js", "../../axobject-query/lib/etc/objects/TreeItemRole.js", "../../axobject-query/lib/etc/objects/UserInterfaceTooltipRole.js", "../../axobject-query/lib/etc/objects/VideoRole.js", "../../axobject-query/lib/etc/objects/WebAreaRole.js", "../../axobject-query/lib/etc/objects/WindowRole.js", "../../axobject-query/lib/AXObjectsMap.js", "../../axobject-query/lib/AXObjectElementMap.js", "../../axobject-query/lib/AXObjectRoleMap.js", "../../axobject-query/lib/elementAXObjectMap.js", "../../axobject-query/lib/index.js"], + "sourcesContent": ["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n// eslint-disable-next-line no-unused-vars\nfunction iteratorProxy() {\n var values = this;\n var index = 0;\n var iter = {\n '@@iterator': function iterator() {\n return iter;\n },\n next: function next() {\n if (index < values.length) {\n var value = values[index];\n index = index + 1;\n return {\n done: false,\n value: value\n };\n } else {\n return {\n done: true\n };\n }\n }\n };\n return iter;\n}\nvar _default = iteratorProxy;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = iterationDecorator;\nvar _iteratorProxy = _interopRequireDefault(require(\"./iteratorProxy\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction iterationDecorator(collection, entries) {\n if (typeof Symbol === 'function' && _typeof(Symbol.iterator) === 'symbol') {\n Object.defineProperty(collection, Symbol.iterator, {\n value: _iteratorProxy.default.bind(entries)\n });\n }\n return collection;\n}", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar AbbrRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'abbr'\n }\n }],\n type: 'structure'\n};\nvar _default = AbbrRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar AlertDialogRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'alertdialog'\n }\n }],\n type: 'window'\n};\nvar _default = AlertDialogRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar AlertRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'alert'\n }\n }],\n type: 'structure'\n};\nvar _default = AlertRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar AnnotationRole = {\n relatedConcepts: [],\n type: 'structure'\n};\nvar _default = AnnotationRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ApplicationRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'application'\n }\n }],\n type: 'window'\n};\nvar _default = ApplicationRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ArticleRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'article'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'article'\n }\n }],\n type: 'structure'\n};\nvar _default = ArticleRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar AudioRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'audio'\n }\n }],\n type: 'widget'\n};\nvar _default = AudioRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar BannerRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'banner'\n }\n }],\n type: 'structure'\n};\nvar _default = BannerRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar BlockquoteRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'blockquote'\n }\n }],\n type: 'structure'\n};\nvar _default = BlockquoteRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar BusyIndicatorRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n attributes: [{\n name: 'aria-busy',\n value: 'true'\n }]\n }\n }],\n type: 'widget'\n};\nvar _default = BusyIndicatorRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ButtonRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'button'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'button'\n }\n }],\n type: 'widget'\n};\nvar _default = ButtonRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar CanvasRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'canvas'\n }\n }],\n type: 'widget'\n};\nvar _default = CanvasRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar CaptionRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'caption'\n }\n }],\n type: 'structure'\n};\nvar _default = CaptionRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar CellRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'cell'\n }\n }, {\n module: 'ARIA',\n concept: {\n name: 'gridcell'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'td'\n }\n }],\n type: 'widget'\n};\nvar _default = CellRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar CheckBoxRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'checkbox'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'input',\n attributes: [{\n name: 'type',\n value: 'checkbox'\n }]\n }\n }],\n type: 'widget'\n};\nvar _default = CheckBoxRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ColorWellRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'input',\n attributes: [{\n name: 'type',\n value: 'color'\n }]\n }\n }],\n type: 'widget'\n};\nvar _default = ColorWellRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ColumnHeaderRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'columnheader'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'th'\n }\n }],\n type: 'widget'\n};\nvar _default = ColumnHeaderRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ColumnRole = {\n relatedConcepts: [],\n type: 'structure'\n};\nvar _default = ColumnRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ComboBoxRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'combobox'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'select'\n }\n }],\n type: 'widget'\n};\nvar _default = ComboBoxRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ComplementaryRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'complementary'\n }\n }],\n type: 'structure'\n};\nvar _default = ComplementaryRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ContentInfoRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'structureinfo'\n }\n }],\n type: 'structure'\n};\nvar _default = ContentInfoRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar DateRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'input',\n attributes: [{\n name: 'type',\n value: 'date'\n }]\n }\n }],\n type: 'widget'\n};\nvar _default = DateRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar DateTimeRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'input',\n attributes: [{\n name: 'type',\n value: 'datetime'\n }]\n }\n }],\n type: 'widget'\n};\nvar _default = DateTimeRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar DefinitionRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'dfn'\n }\n }],\n type: 'structure'\n};\nvar _default = DefinitionRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar DescriptionListDetailRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'dd'\n }\n }],\n type: 'structure'\n};\nvar _default = DescriptionListDetailRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar DescriptionListRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'dl'\n }\n }],\n type: 'structure'\n};\nvar _default = DescriptionListRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar DescriptionListTermRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'dt'\n }\n }],\n type: 'structure'\n};\nvar _default = DescriptionListTermRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar DetailsRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'details'\n }\n }],\n type: 'structure'\n};\nvar _default = DetailsRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar DialogRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'dialog'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'dialog'\n }\n }],\n type: 'window'\n};\nvar _default = DialogRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar DirectoryRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'directory'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'dir'\n }\n }],\n type: 'structure'\n};\nvar _default = DirectoryRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar DisclosureTriangleRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n constraints: ['scoped to a details element'],\n name: 'summary'\n }\n }],\n type: 'widget'\n};\nvar _default = DisclosureTriangleRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar DivRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'div'\n }\n }],\n type: 'generic'\n};\nvar _default = DivRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar DocumentRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'document'\n }\n }],\n type: 'structure'\n};\nvar _default = DocumentRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar EmbeddedObjectRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'embed'\n }\n }],\n type: 'widget'\n};\nvar _default = EmbeddedObjectRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar FeedRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'feed'\n }\n }],\n type: 'structure'\n};\nvar _default = FeedRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar FigcaptionRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'figcaption'\n }\n }],\n type: 'structure'\n};\nvar _default = FigcaptionRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar FigureRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'figure'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'figure'\n }\n }],\n type: 'structure'\n};\nvar _default = FigureRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar FooterRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'footer'\n }\n }],\n type: 'structure'\n};\nvar _default = FooterRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar FormRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'form'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'form'\n }\n }],\n type: 'structure'\n};\nvar _default = FormRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar GridRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'grid'\n }\n }],\n type: 'widget'\n};\nvar _default = GridRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar GroupRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'group'\n }\n }],\n type: 'structure'\n};\nvar _default = GroupRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar HeadingRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'heading'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'h1'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'h2'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'h3'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'h4'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'h5'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'h6'\n }\n }],\n type: 'structure'\n};\nvar _default = HeadingRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar IframePresentationalRole = {\n relatedConcepts: [],\n type: 'window'\n};\nvar _default = IframePresentationalRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar IframeRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'iframe'\n }\n }],\n type: 'window'\n};\nvar _default = IframeRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar IgnoredRole = {\n relatedConcepts: [],\n type: 'structure'\n};\nvar _default = IgnoredRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ImageMapLinkRole = {\n relatedConcepts: [],\n type: 'widget'\n};\nvar _default = ImageMapLinkRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ImageMapRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'img',\n attributes: [{\n name: 'usemap'\n }]\n }\n }],\n type: 'structure'\n};\nvar _default = ImageMapRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ImageRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'img'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'img'\n }\n }],\n type: 'structure'\n};\nvar _default = ImageRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar InlineTextBoxRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'input'\n }\n }],\n type: 'widget'\n};\nvar _default = InlineTextBoxRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar InputTimeRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'input',\n attributes: [{\n name: 'type',\n value: 'time'\n }]\n }\n }],\n type: 'widget'\n};\nvar _default = InputTimeRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar LabelRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'label'\n }\n }],\n type: 'structure'\n};\nvar _default = LabelRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar LegendRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'legend'\n }\n }],\n type: 'structure'\n};\nvar _default = LegendRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar LineBreakRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'br'\n }\n }],\n type: 'structure'\n};\nvar _default = LineBreakRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar LinkRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'link'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'a',\n attributes: [{\n name: 'href'\n }]\n }\n }],\n type: 'widget'\n};\nvar _default = LinkRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ListBoxOptionRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'option'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'option'\n }\n }],\n type: 'widget'\n};\nvar _default = ListBoxOptionRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ListBoxRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'listbox'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'datalist'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'select'\n }\n }],\n type: 'widget'\n};\nvar _default = ListBoxRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ListItemRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'listitem'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'li'\n }\n }],\n type: 'structure'\n};\nvar _default = ListItemRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ListMarkerRole = {\n relatedConcepts: [],\n type: 'structure'\n};\nvar _default = ListMarkerRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ListRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'list'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'ul'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'ol'\n }\n }],\n type: 'structure'\n};\nvar _default = ListRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar LogRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'log'\n }\n }],\n type: 'structure'\n};\nvar _default = LogRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar MainRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'main'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'main'\n }\n }],\n type: 'structure'\n};\nvar _default = MainRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar MarkRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'mark'\n }\n }],\n type: 'structure'\n};\nvar _default = MarkRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar MarqueeRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'marquee'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'marquee'\n }\n }],\n type: 'structure'\n};\nvar _default = MarqueeRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar MathRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'math'\n }\n }],\n type: 'structure'\n};\nvar _default = MathRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar MenuBarRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'menubar'\n }\n }],\n type: 'structure'\n};\nvar _default = MenuBarRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar MenuButtonRole = {\n relatedConcepts: [],\n type: 'widget'\n};\nvar _default = MenuButtonRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar MenuItemRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'menuitem'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'menuitem'\n }\n }],\n type: 'widget'\n};\nvar _default = MenuItemRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar MenuItemCheckBoxRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'menuitemcheckbox'\n }\n }],\n type: 'widget'\n};\nvar _default = MenuItemCheckBoxRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar MenuItemRadioRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'menuitemradio'\n }\n }],\n type: 'widget'\n};\nvar _default = MenuItemRadioRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar MenuListOptionRole = {\n relatedConcepts: [],\n type: 'widget'\n};\nvar _default = MenuListOptionRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar MenuListPopupRole = {\n relatedConcepts: [],\n type: 'widget'\n};\nvar _default = MenuListPopupRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar MenuRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'menu'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'menu'\n }\n }],\n type: 'structure'\n};\nvar _default = MenuRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar MeterRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'meter'\n }\n }],\n type: 'structure'\n};\nvar _default = MeterRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar NavigationRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'navigation'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'nav'\n }\n }],\n type: 'structure'\n};\nvar _default = NavigationRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar NoneRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'none'\n }\n }],\n type: 'structure'\n};\nvar _default = NoneRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar NoteRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'note'\n }\n }],\n type: 'structure'\n};\nvar _default = NoteRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar OutlineRole = {\n relatedConcepts: [],\n type: 'structure'\n};\nvar _default = OutlineRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ParagraphRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'p'\n }\n }],\n type: 'structure'\n};\nvar _default = ParagraphRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar PopUpButtonRole = {\n relatedConcepts: [],\n type: 'widget'\n};\nvar _default = PopUpButtonRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar PreRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'pre'\n }\n }],\n type: 'structure'\n};\nvar _default = PreRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar PresentationalRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'presentation'\n }\n }],\n type: 'structure'\n};\nvar _default = PresentationalRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ProgressIndicatorRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'progressbar'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'progress'\n }\n }],\n type: 'structure'\n};\nvar _default = ProgressIndicatorRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar RadioButtonRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'radio'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'input',\n attributes: [{\n name: 'type',\n value: 'radio'\n }]\n }\n }],\n type: 'widget'\n};\nvar _default = RadioButtonRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar RadioGroupRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'radiogroup'\n }\n }],\n type: 'structure'\n};\nvar _default = RadioGroupRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar RegionRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'region'\n }\n }],\n type: 'structure'\n};\nvar _default = RegionRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar RootWebAreaRole = {\n relatedConcepts: [],\n type: 'structure'\n};\nvar _default = RootWebAreaRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar RowHeaderRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'rowheader'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'th',\n attributes: [{\n name: 'scope',\n value: 'row'\n }]\n }\n }],\n type: 'widget'\n};\nvar _default = RowHeaderRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar RowRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'row'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'tr'\n }\n }],\n type: 'structure'\n};\nvar _default = RowRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar RubyRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'ruby'\n }\n }],\n type: 'structure'\n};\nvar _default = RubyRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar RulerRole = {\n relatedConcepts: [],\n type: 'structure'\n};\nvar _default = RulerRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ScrollAreaRole = {\n relatedConcepts: [],\n type: 'structure'\n};\nvar _default = ScrollAreaRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ScrollBarRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'scrollbar'\n }\n }],\n type: 'widget'\n};\nvar _default = ScrollBarRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar SeamlessWebAreaRole = {\n relatedConcepts: [],\n type: 'structure'\n};\nvar _default = SeamlessWebAreaRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar SearchRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'search'\n }\n }],\n type: 'structure'\n};\nvar _default = SearchRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar SearchBoxRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'searchbox'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'input',\n attributes: [{\n name: 'type',\n value: 'search'\n }]\n }\n }],\n type: 'widget'\n};\nvar _default = SearchBoxRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar SliderRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'slider'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'input',\n attributes: [{\n name: 'type',\n value: 'range'\n }]\n }\n }],\n type: 'widget'\n};\nvar _default = SliderRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar SliderThumbRole = {\n relatedConcepts: [],\n type: 'structure'\n};\nvar _default = SliderThumbRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar SpinButtonRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'spinbutton'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'input',\n attributes: [{\n name: 'type',\n value: 'number'\n }]\n }\n }],\n type: 'widget'\n};\nvar _default = SpinButtonRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar SpinButtonPartRole = {\n relatedConcepts: [],\n type: 'structure'\n};\nvar _default = SpinButtonPartRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar SplitterRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'separator'\n }\n }],\n type: 'widget'\n};\nvar _default = SplitterRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar StaticTextRole = {\n relatedConcepts: [],\n type: 'structure'\n};\nvar _default = StaticTextRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar StatusRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'status'\n }\n }],\n type: 'structure'\n};\nvar _default = StatusRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar SVGRootRole = {\n relatedConcepts: [],\n type: 'structure'\n};\nvar _default = SVGRootRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar SwitchRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'switch'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'input',\n attributes: [{\n name: 'type',\n value: 'checkbox'\n }]\n }\n }],\n type: 'widget'\n};\nvar _default = SwitchRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar TabGroupRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'tablist'\n }\n }],\n type: 'structure'\n};\nvar _default = TabGroupRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar TabRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'tab'\n }\n }],\n type: 'widget'\n};\nvar _default = TabRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar TableHeaderContainerRole = {\n relatedConcepts: [],\n type: 'structure'\n};\nvar _default = TableHeaderContainerRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar TableRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'table'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'table'\n }\n }],\n type: 'structure'\n};\nvar _default = TableRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar TabListRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'tablist'\n }\n }],\n type: 'structure'\n};\nvar _default = TabListRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar TabPanelRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'tabpanel'\n }\n }],\n type: 'structure'\n};\nvar _default = TabPanelRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar TermRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'term'\n }\n }],\n type: 'structure'\n};\nvar _default = TermRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar TextAreaRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n attributes: [{\n name: 'aria-multiline',\n value: 'true'\n }],\n name: 'textbox'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'textarea'\n }\n }],\n type: 'widget'\n};\nvar _default = TextAreaRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar TextFieldRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'textbox'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'input'\n }\n }, {\n module: 'HTML',\n concept: {\n name: 'input',\n attributes: [{\n name: 'type',\n value: 'text'\n }]\n }\n }],\n type: 'widget'\n};\nvar _default = TextFieldRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar TimeRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'time'\n }\n }],\n type: 'structure'\n};\nvar _default = TimeRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar TimerRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'timer'\n }\n }],\n type: 'structure'\n};\nvar _default = TimerRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ToggleButtonRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n attributes: [{\n name: 'aria-pressed'\n }]\n }\n }],\n type: 'widget'\n};\nvar _default = ToggleButtonRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar ToolbarRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'toolbar'\n }\n }],\n type: 'structure'\n};\nvar _default = ToolbarRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar TreeRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'tree'\n }\n }],\n type: 'widget'\n};\nvar _default = TreeRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar TreeGridRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'treegrid'\n }\n }],\n type: 'widget'\n};\nvar _default = TreeGridRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar TreeItemRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'treeitem'\n }\n }],\n type: 'widget'\n};\nvar _default = TreeItemRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar UserInterfaceTooltipRole = {\n relatedConcepts: [{\n module: 'ARIA',\n concept: {\n name: 'tooltip'\n }\n }],\n type: 'structure'\n};\nvar _default = UserInterfaceTooltipRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar VideoRole = {\n relatedConcepts: [{\n module: 'HTML',\n concept: {\n name: 'video'\n }\n }],\n type: 'widget'\n};\nvar _default = VideoRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar WebAreaRole = {\n relatedConcepts: [],\n type: 'structure'\n};\nvar _default = WebAreaRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar WindowRole = {\n relatedConcepts: [],\n type: 'window'\n};\nvar _default = WindowRole;\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _iterationDecorator = _interopRequireDefault(require(\"./util/iterationDecorator\"));\nvar _AbbrRole = _interopRequireDefault(require(\"./etc/objects/AbbrRole\"));\nvar _AlertDialogRole = _interopRequireDefault(require(\"./etc/objects/AlertDialogRole\"));\nvar _AlertRole = _interopRequireDefault(require(\"./etc/objects/AlertRole\"));\nvar _AnnotationRole = _interopRequireDefault(require(\"./etc/objects/AnnotationRole\"));\nvar _ApplicationRole = _interopRequireDefault(require(\"./etc/objects/ApplicationRole\"));\nvar _ArticleRole = _interopRequireDefault(require(\"./etc/objects/ArticleRole\"));\nvar _AudioRole = _interopRequireDefault(require(\"./etc/objects/AudioRole\"));\nvar _BannerRole = _interopRequireDefault(require(\"./etc/objects/BannerRole\"));\nvar _BlockquoteRole = _interopRequireDefault(require(\"./etc/objects/BlockquoteRole\"));\nvar _BusyIndicatorRole = _interopRequireDefault(require(\"./etc/objects/BusyIndicatorRole\"));\nvar _ButtonRole = _interopRequireDefault(require(\"./etc/objects/ButtonRole\"));\nvar _CanvasRole = _interopRequireDefault(require(\"./etc/objects/CanvasRole\"));\nvar _CaptionRole = _interopRequireDefault(require(\"./etc/objects/CaptionRole\"));\nvar _CellRole = _interopRequireDefault(require(\"./etc/objects/CellRole\"));\nvar _CheckBoxRole = _interopRequireDefault(require(\"./etc/objects/CheckBoxRole\"));\nvar _ColorWellRole = _interopRequireDefault(require(\"./etc/objects/ColorWellRole\"));\nvar _ColumnHeaderRole = _interopRequireDefault(require(\"./etc/objects/ColumnHeaderRole\"));\nvar _ColumnRole = _interopRequireDefault(require(\"./etc/objects/ColumnRole\"));\nvar _ComboBoxRole = _interopRequireDefault(require(\"./etc/objects/ComboBoxRole\"));\nvar _ComplementaryRole = _interopRequireDefault(require(\"./etc/objects/ComplementaryRole\"));\nvar _ContentInfoRole = _interopRequireDefault(require(\"./etc/objects/ContentInfoRole\"));\nvar _DateRole = _interopRequireDefault(require(\"./etc/objects/DateRole\"));\nvar _DateTimeRole = _interopRequireDefault(require(\"./etc/objects/DateTimeRole\"));\nvar _DefinitionRole = _interopRequireDefault(require(\"./etc/objects/DefinitionRole\"));\nvar _DescriptionListDetailRole = _interopRequireDefault(require(\"./etc/objects/DescriptionListDetailRole\"));\nvar _DescriptionListRole = _interopRequireDefault(require(\"./etc/objects/DescriptionListRole\"));\nvar _DescriptionListTermRole = _interopRequireDefault(require(\"./etc/objects/DescriptionListTermRole\"));\nvar _DetailsRole = _interopRequireDefault(require(\"./etc/objects/DetailsRole\"));\nvar _DialogRole = _interopRequireDefault(require(\"./etc/objects/DialogRole\"));\nvar _DirectoryRole = _interopRequireDefault(require(\"./etc/objects/DirectoryRole\"));\nvar _DisclosureTriangleRole = _interopRequireDefault(require(\"./etc/objects/DisclosureTriangleRole\"));\nvar _DivRole = _interopRequireDefault(require(\"./etc/objects/DivRole\"));\nvar _DocumentRole = _interopRequireDefault(require(\"./etc/objects/DocumentRole\"));\nvar _EmbeddedObjectRole = _interopRequireDefault(require(\"./etc/objects/EmbeddedObjectRole\"));\nvar _FeedRole = _interopRequireDefault(require(\"./etc/objects/FeedRole\"));\nvar _FigcaptionRole = _interopRequireDefault(require(\"./etc/objects/FigcaptionRole\"));\nvar _FigureRole = _interopRequireDefault(require(\"./etc/objects/FigureRole\"));\nvar _FooterRole = _interopRequireDefault(require(\"./etc/objects/FooterRole\"));\nvar _FormRole = _interopRequireDefault(require(\"./etc/objects/FormRole\"));\nvar _GridRole = _interopRequireDefault(require(\"./etc/objects/GridRole\"));\nvar _GroupRole = _interopRequireDefault(require(\"./etc/objects/GroupRole\"));\nvar _HeadingRole = _interopRequireDefault(require(\"./etc/objects/HeadingRole\"));\nvar _IframePresentationalRole = _interopRequireDefault(require(\"./etc/objects/IframePresentationalRole\"));\nvar _IframeRole = _interopRequireDefault(require(\"./etc/objects/IframeRole\"));\nvar _IgnoredRole = _interopRequireDefault(require(\"./etc/objects/IgnoredRole\"));\nvar _ImageMapLinkRole = _interopRequireDefault(require(\"./etc/objects/ImageMapLinkRole\"));\nvar _ImageMapRole = _interopRequireDefault(require(\"./etc/objects/ImageMapRole\"));\nvar _ImageRole = _interopRequireDefault(require(\"./etc/objects/ImageRole\"));\nvar _InlineTextBoxRole = _interopRequireDefault(require(\"./etc/objects/InlineTextBoxRole\"));\nvar _InputTimeRole = _interopRequireDefault(require(\"./etc/objects/InputTimeRole\"));\nvar _LabelRole = _interopRequireDefault(require(\"./etc/objects/LabelRole\"));\nvar _LegendRole = _interopRequireDefault(require(\"./etc/objects/LegendRole\"));\nvar _LineBreakRole = _interopRequireDefault(require(\"./etc/objects/LineBreakRole\"));\nvar _LinkRole = _interopRequireDefault(require(\"./etc/objects/LinkRole\"));\nvar _ListBoxOptionRole = _interopRequireDefault(require(\"./etc/objects/ListBoxOptionRole\"));\nvar _ListBoxRole = _interopRequireDefault(require(\"./etc/objects/ListBoxRole\"));\nvar _ListItemRole = _interopRequireDefault(require(\"./etc/objects/ListItemRole\"));\nvar _ListMarkerRole = _interopRequireDefault(require(\"./etc/objects/ListMarkerRole\"));\nvar _ListRole = _interopRequireDefault(require(\"./etc/objects/ListRole\"));\nvar _LogRole = _interopRequireDefault(require(\"./etc/objects/LogRole\"));\nvar _MainRole = _interopRequireDefault(require(\"./etc/objects/MainRole\"));\nvar _MarkRole = _interopRequireDefault(require(\"./etc/objects/MarkRole\"));\nvar _MarqueeRole = _interopRequireDefault(require(\"./etc/objects/MarqueeRole\"));\nvar _MathRole = _interopRequireDefault(require(\"./etc/objects/MathRole\"));\nvar _MenuBarRole = _interopRequireDefault(require(\"./etc/objects/MenuBarRole\"));\nvar _MenuButtonRole = _interopRequireDefault(require(\"./etc/objects/MenuButtonRole\"));\nvar _MenuItemRole = _interopRequireDefault(require(\"./etc/objects/MenuItemRole\"));\nvar _MenuItemCheckBoxRole = _interopRequireDefault(require(\"./etc/objects/MenuItemCheckBoxRole\"));\nvar _MenuItemRadioRole = _interopRequireDefault(require(\"./etc/objects/MenuItemRadioRole\"));\nvar _MenuListOptionRole = _interopRequireDefault(require(\"./etc/objects/MenuListOptionRole\"));\nvar _MenuListPopupRole = _interopRequireDefault(require(\"./etc/objects/MenuListPopupRole\"));\nvar _MenuRole = _interopRequireDefault(require(\"./etc/objects/MenuRole\"));\nvar _MeterRole = _interopRequireDefault(require(\"./etc/objects/MeterRole\"));\nvar _NavigationRole = _interopRequireDefault(require(\"./etc/objects/NavigationRole\"));\nvar _NoneRole = _interopRequireDefault(require(\"./etc/objects/NoneRole\"));\nvar _NoteRole = _interopRequireDefault(require(\"./etc/objects/NoteRole\"));\nvar _OutlineRole = _interopRequireDefault(require(\"./etc/objects/OutlineRole\"));\nvar _ParagraphRole = _interopRequireDefault(require(\"./etc/objects/ParagraphRole\"));\nvar _PopUpButtonRole = _interopRequireDefault(require(\"./etc/objects/PopUpButtonRole\"));\nvar _PreRole = _interopRequireDefault(require(\"./etc/objects/PreRole\"));\nvar _PresentationalRole = _interopRequireDefault(require(\"./etc/objects/PresentationalRole\"));\nvar _ProgressIndicatorRole = _interopRequireDefault(require(\"./etc/objects/ProgressIndicatorRole\"));\nvar _RadioButtonRole = _interopRequireDefault(require(\"./etc/objects/RadioButtonRole\"));\nvar _RadioGroupRole = _interopRequireDefault(require(\"./etc/objects/RadioGroupRole\"));\nvar _RegionRole = _interopRequireDefault(require(\"./etc/objects/RegionRole\"));\nvar _RootWebAreaRole = _interopRequireDefault(require(\"./etc/objects/RootWebAreaRole\"));\nvar _RowHeaderRole = _interopRequireDefault(require(\"./etc/objects/RowHeaderRole\"));\nvar _RowRole = _interopRequireDefault(require(\"./etc/objects/RowRole\"));\nvar _RubyRole = _interopRequireDefault(require(\"./etc/objects/RubyRole\"));\nvar _RulerRole = _interopRequireDefault(require(\"./etc/objects/RulerRole\"));\nvar _ScrollAreaRole = _interopRequireDefault(require(\"./etc/objects/ScrollAreaRole\"));\nvar _ScrollBarRole = _interopRequireDefault(require(\"./etc/objects/ScrollBarRole\"));\nvar _SeamlessWebAreaRole = _interopRequireDefault(require(\"./etc/objects/SeamlessWebAreaRole\"));\nvar _SearchRole = _interopRequireDefault(require(\"./etc/objects/SearchRole\"));\nvar _SearchBoxRole = _interopRequireDefault(require(\"./etc/objects/SearchBoxRole\"));\nvar _SliderRole = _interopRequireDefault(require(\"./etc/objects/SliderRole\"));\nvar _SliderThumbRole = _interopRequireDefault(require(\"./etc/objects/SliderThumbRole\"));\nvar _SpinButtonRole = _interopRequireDefault(require(\"./etc/objects/SpinButtonRole\"));\nvar _SpinButtonPartRole = _interopRequireDefault(require(\"./etc/objects/SpinButtonPartRole\"));\nvar _SplitterRole = _interopRequireDefault(require(\"./etc/objects/SplitterRole\"));\nvar _StaticTextRole = _interopRequireDefault(require(\"./etc/objects/StaticTextRole\"));\nvar _StatusRole = _interopRequireDefault(require(\"./etc/objects/StatusRole\"));\nvar _SVGRootRole = _interopRequireDefault(require(\"./etc/objects/SVGRootRole\"));\nvar _SwitchRole = _interopRequireDefault(require(\"./etc/objects/SwitchRole\"));\nvar _TabGroupRole = _interopRequireDefault(require(\"./etc/objects/TabGroupRole\"));\nvar _TabRole = _interopRequireDefault(require(\"./etc/objects/TabRole\"));\nvar _TableHeaderContainerRole = _interopRequireDefault(require(\"./etc/objects/TableHeaderContainerRole\"));\nvar _TableRole = _interopRequireDefault(require(\"./etc/objects/TableRole\"));\nvar _TabListRole = _interopRequireDefault(require(\"./etc/objects/TabListRole\"));\nvar _TabPanelRole = _interopRequireDefault(require(\"./etc/objects/TabPanelRole\"));\nvar _TermRole = _interopRequireDefault(require(\"./etc/objects/TermRole\"));\nvar _TextAreaRole = _interopRequireDefault(require(\"./etc/objects/TextAreaRole\"));\nvar _TextFieldRole = _interopRequireDefault(require(\"./etc/objects/TextFieldRole\"));\nvar _TimeRole = _interopRequireDefault(require(\"./etc/objects/TimeRole\"));\nvar _TimerRole = _interopRequireDefault(require(\"./etc/objects/TimerRole\"));\nvar _ToggleButtonRole = _interopRequireDefault(require(\"./etc/objects/ToggleButtonRole\"));\nvar _ToolbarRole = _interopRequireDefault(require(\"./etc/objects/ToolbarRole\"));\nvar _TreeRole = _interopRequireDefault(require(\"./etc/objects/TreeRole\"));\nvar _TreeGridRole = _interopRequireDefault(require(\"./etc/objects/TreeGridRole\"));\nvar _TreeItemRole = _interopRequireDefault(require(\"./etc/objects/TreeItemRole\"));\nvar _UserInterfaceTooltipRole = _interopRequireDefault(require(\"./etc/objects/UserInterfaceTooltipRole\"));\nvar _VideoRole = _interopRequireDefault(require(\"./etc/objects/VideoRole\"));\nvar _WebAreaRole = _interopRequireDefault(require(\"./etc/objects/WebAreaRole\"));\nvar _WindowRole = _interopRequireDefault(require(\"./etc/objects/WindowRole\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nvar AXObjects = [['AbbrRole', _AbbrRole.default], ['AlertDialogRole', _AlertDialogRole.default], ['AlertRole', _AlertRole.default], ['AnnotationRole', _AnnotationRole.default], ['ApplicationRole', _ApplicationRole.default], ['ArticleRole', _ArticleRole.default], ['AudioRole', _AudioRole.default], ['BannerRole', _BannerRole.default], ['BlockquoteRole', _BlockquoteRole.default], ['BusyIndicatorRole', _BusyIndicatorRole.default], ['ButtonRole', _ButtonRole.default], ['CanvasRole', _CanvasRole.default], ['CaptionRole', _CaptionRole.default], ['CellRole', _CellRole.default], ['CheckBoxRole', _CheckBoxRole.default], ['ColorWellRole', _ColorWellRole.default], ['ColumnHeaderRole', _ColumnHeaderRole.default], ['ColumnRole', _ColumnRole.default], ['ComboBoxRole', _ComboBoxRole.default], ['ComplementaryRole', _ComplementaryRole.default], ['ContentInfoRole', _ContentInfoRole.default], ['DateRole', _DateRole.default], ['DateTimeRole', _DateTimeRole.default], ['DefinitionRole', _DefinitionRole.default], ['DescriptionListDetailRole', _DescriptionListDetailRole.default], ['DescriptionListRole', _DescriptionListRole.default], ['DescriptionListTermRole', _DescriptionListTermRole.default], ['DetailsRole', _DetailsRole.default], ['DialogRole', _DialogRole.default], ['DirectoryRole', _DirectoryRole.default], ['DisclosureTriangleRole', _DisclosureTriangleRole.default], ['DivRole', _DivRole.default], ['DocumentRole', _DocumentRole.default], ['EmbeddedObjectRole', _EmbeddedObjectRole.default], ['FeedRole', _FeedRole.default], ['FigcaptionRole', _FigcaptionRole.default], ['FigureRole', _FigureRole.default], ['FooterRole', _FooterRole.default], ['FormRole', _FormRole.default], ['GridRole', _GridRole.default], ['GroupRole', _GroupRole.default], ['HeadingRole', _HeadingRole.default], ['IframePresentationalRole', _IframePresentationalRole.default], ['IframeRole', _IframeRole.default], ['IgnoredRole', _IgnoredRole.default], ['ImageMapLinkRole', _ImageMapLinkRole.default], ['ImageMapRole', _ImageMapRole.default], ['ImageRole', _ImageRole.default], ['InlineTextBoxRole', _InlineTextBoxRole.default], ['InputTimeRole', _InputTimeRole.default], ['LabelRole', _LabelRole.default], ['LegendRole', _LegendRole.default], ['LineBreakRole', _LineBreakRole.default], ['LinkRole', _LinkRole.default], ['ListBoxOptionRole', _ListBoxOptionRole.default], ['ListBoxRole', _ListBoxRole.default], ['ListItemRole', _ListItemRole.default], ['ListMarkerRole', _ListMarkerRole.default], ['ListRole', _ListRole.default], ['LogRole', _LogRole.default], ['MainRole', _MainRole.default], ['MarkRole', _MarkRole.default], ['MarqueeRole', _MarqueeRole.default], ['MathRole', _MathRole.default], ['MenuBarRole', _MenuBarRole.default], ['MenuButtonRole', _MenuButtonRole.default], ['MenuItemRole', _MenuItemRole.default], ['MenuItemCheckBoxRole', _MenuItemCheckBoxRole.default], ['MenuItemRadioRole', _MenuItemRadioRole.default], ['MenuListOptionRole', _MenuListOptionRole.default], ['MenuListPopupRole', _MenuListPopupRole.default], ['MenuRole', _MenuRole.default], ['MeterRole', _MeterRole.default], ['NavigationRole', _NavigationRole.default], ['NoneRole', _NoneRole.default], ['NoteRole', _NoteRole.default], ['OutlineRole', _OutlineRole.default], ['ParagraphRole', _ParagraphRole.default], ['PopUpButtonRole', _PopUpButtonRole.default], ['PreRole', _PreRole.default], ['PresentationalRole', _PresentationalRole.default], ['ProgressIndicatorRole', _ProgressIndicatorRole.default], ['RadioButtonRole', _RadioButtonRole.default], ['RadioGroupRole', _RadioGroupRole.default], ['RegionRole', _RegionRole.default], ['RootWebAreaRole', _RootWebAreaRole.default], ['RowHeaderRole', _RowHeaderRole.default], ['RowRole', _RowRole.default], ['RubyRole', _RubyRole.default], ['RulerRole', _RulerRole.default], ['ScrollAreaRole', _ScrollAreaRole.default], ['ScrollBarRole', _ScrollBarRole.default], ['SeamlessWebAreaRole', _SeamlessWebAreaRole.default], ['SearchRole', _SearchRole.default], ['SearchBoxRole', _SearchBoxRole.default], ['SliderRole', _SliderRole.default], ['SliderThumbRole', _SliderThumbRole.default], ['SpinButtonRole', _SpinButtonRole.default], ['SpinButtonPartRole', _SpinButtonPartRole.default], ['SplitterRole', _SplitterRole.default], ['StaticTextRole', _StaticTextRole.default], ['StatusRole', _StatusRole.default], ['SVGRootRole', _SVGRootRole.default], ['SwitchRole', _SwitchRole.default], ['TabGroupRole', _TabGroupRole.default], ['TabRole', _TabRole.default], ['TableHeaderContainerRole', _TableHeaderContainerRole.default], ['TableRole', _TableRole.default], ['TabListRole', _TabListRole.default], ['TabPanelRole', _TabPanelRole.default], ['TermRole', _TermRole.default], ['TextAreaRole', _TextAreaRole.default], ['TextFieldRole', _TextFieldRole.default], ['TimeRole', _TimeRole.default], ['TimerRole', _TimerRole.default], ['ToggleButtonRole', _ToggleButtonRole.default], ['ToolbarRole', _ToolbarRole.default], ['TreeRole', _TreeRole.default], ['TreeGridRole', _TreeGridRole.default], ['TreeItemRole', _TreeItemRole.default], ['UserInterfaceTooltipRole', _UserInterfaceTooltipRole.default], ['VideoRole', _VideoRole.default], ['WebAreaRole', _WebAreaRole.default], ['WindowRole', _WindowRole.default]];\nvar AXObjectsMap = {\n entries: function entries() {\n return AXObjects;\n },\n forEach: function forEach(fn) {\n var thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n for (var _i = 0, _AXObjects = AXObjects; _i < _AXObjects.length; _i++) {\n var _AXObjects$_i = _slicedToArray(_AXObjects[_i], 2),\n key = _AXObjects$_i[0],\n values = _AXObjects$_i[1];\n fn.call(thisArg, values, key, AXObjects);\n }\n },\n get: function get(key) {\n var item = AXObjects.find(function (tuple) {\n return tuple[0] === key ? true : false;\n });\n return item && item[1];\n },\n has: function has(key) {\n return !!AXObjectsMap.get(key);\n },\n keys: function keys() {\n return AXObjects.map(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n key = _ref2[0];\n return key;\n });\n },\n values: function values() {\n return AXObjects.map(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n values = _ref4[1];\n return values;\n });\n }\n};\nvar _default = (0, _iterationDecorator.default)(AXObjectsMap, AXObjectsMap.entries());\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _iterationDecorator = _interopRequireDefault(require(\"./util/iterationDecorator\"));\nvar _AXObjectsMap = _interopRequireDefault(require(\"./AXObjectsMap\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\nvar AXObjectElements = [];\nvar _iterator = _createForOfIteratorHelper(_AXObjectsMap.default.entries()),\n _step;\ntry {\n var _loop = function _loop() {\n var _step$value = _slicedToArray(_step.value, 2),\n name = _step$value[0],\n def = _step$value[1];\n var relatedConcepts = def.relatedConcepts;\n if (Array.isArray(relatedConcepts)) {\n relatedConcepts.forEach(function (relation) {\n if (relation.module === 'HTML') {\n var concept = relation.concept;\n if (concept) {\n var index = AXObjectElements.findIndex(function (_ref5) {\n var _ref6 = _slicedToArray(_ref5, 1),\n key = _ref6[0];\n return key === name;\n });\n if (index === -1) {\n AXObjectElements.push([name, []]);\n index = AXObjectElements.length - 1;\n }\n AXObjectElements[index][1].push(concept);\n }\n }\n });\n }\n };\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n _loop();\n }\n} catch (err) {\n _iterator.e(err);\n} finally {\n _iterator.f();\n}\nvar AXObjectElementMap = {\n entries: function entries() {\n return AXObjectElements;\n },\n forEach: function forEach(fn) {\n var thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n for (var _i = 0, _AXObjectElements = AXObjectElements; _i < _AXObjectElements.length; _i++) {\n var _AXObjectElements$_i = _slicedToArray(_AXObjectElements[_i], 2),\n key = _AXObjectElements$_i[0],\n values = _AXObjectElements$_i[1];\n fn.call(thisArg, values, key, AXObjectElements);\n }\n },\n get: function get(key) {\n var item = AXObjectElements.find(function (tuple) {\n return tuple[0] === key ? true : false;\n });\n return item && item[1];\n },\n has: function has(key) {\n return !!AXObjectElementMap.get(key);\n },\n keys: function keys() {\n return AXObjectElements.map(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n key = _ref2[0];\n return key;\n });\n },\n values: function values() {\n return AXObjectElements.map(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n values = _ref4[1];\n return values;\n });\n }\n};\nvar _default = (0, _iterationDecorator.default)(AXObjectElementMap, AXObjectElementMap.entries());\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _iterationDecorator = _interopRequireDefault(require(\"./util/iterationDecorator\"));\nvar _AXObjectsMap = _interopRequireDefault(require(\"./AXObjectsMap\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\nvar AXObjectRoleElements = [];\nvar _iterator = _createForOfIteratorHelper(_AXObjectsMap.default.entries()),\n _step;\ntry {\n var _loop = function _loop() {\n var _step$value = _slicedToArray(_step.value, 2),\n name = _step$value[0],\n def = _step$value[1];\n var relatedConcepts = def.relatedConcepts;\n if (Array.isArray(relatedConcepts)) {\n relatedConcepts.forEach(function (relation) {\n if (relation.module === 'ARIA') {\n var concept = relation.concept;\n if (concept) {\n var index = AXObjectRoleElements.findIndex(function (_ref5) {\n var _ref6 = _slicedToArray(_ref5, 1),\n key = _ref6[0];\n return key === name;\n });\n if (index === -1) {\n AXObjectRoleElements.push([name, []]);\n index = AXObjectRoleElements.length - 1;\n }\n AXObjectRoleElements[index][1].push(concept);\n }\n }\n });\n }\n };\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n _loop();\n }\n} catch (err) {\n _iterator.e(err);\n} finally {\n _iterator.f();\n}\nvar AXObjectRoleMap = {\n entries: function entries() {\n return AXObjectRoleElements;\n },\n forEach: function forEach(fn) {\n var thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n for (var _i = 0, _AXObjectRoleElements = AXObjectRoleElements; _i < _AXObjectRoleElements.length; _i++) {\n var _AXObjectRoleElements2 = _slicedToArray(_AXObjectRoleElements[_i], 2),\n key = _AXObjectRoleElements2[0],\n values = _AXObjectRoleElements2[1];\n fn.call(thisArg, values, key, AXObjectRoleElements);\n }\n },\n get: function get(key) {\n var item = AXObjectRoleElements.find(function (tuple) {\n return tuple[0] === key ? true : false;\n });\n return item && item[1];\n },\n has: function has(key) {\n return !!AXObjectRoleMap.get(key);\n },\n keys: function keys() {\n return AXObjectRoleElements.map(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n key = _ref2[0];\n return key;\n });\n },\n values: function values() {\n return AXObjectRoleElements.map(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n values = _ref4[1];\n return values;\n });\n }\n};\nvar _default = (0, _iterationDecorator.default)(AXObjectRoleMap, AXObjectRoleMap.entries());\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _AXObjectsMap = _interopRequireDefault(require(\"./AXObjectsMap\"));\nvar _iterationDecorator = _interopRequireDefault(require(\"./util/iterationDecorator\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\nvar elementAXObjects = [];\nvar _iterator = _createForOfIteratorHelper(_AXObjectsMap.default.entries()),\n _step;\ntry {\n var _loop = function _loop() {\n var _step$value = _slicedToArray(_step.value, 2),\n name = _step$value[0],\n def = _step$value[1];\n var relatedConcepts = def.relatedConcepts;\n if (Array.isArray(relatedConcepts)) {\n relatedConcepts.forEach(function (relation) {\n if (relation.module === 'HTML') {\n var concept = relation.concept;\n if (concept != null) {\n var conceptStr = JSON.stringify(concept);\n var axObjects;\n var index = 0;\n for (; index < elementAXObjects.length; index++) {\n var key = elementAXObjects[index][0];\n if (JSON.stringify(key) === conceptStr) {\n axObjects = elementAXObjects[index][1];\n break;\n }\n }\n if (!Array.isArray(axObjects)) {\n axObjects = [];\n }\n var loc = axObjects.findIndex(function (item) {\n return item === name;\n });\n if (loc === -1) {\n axObjects.push(name);\n }\n if (index < elementAXObjects.length) {\n elementAXObjects.splice(index, 1, [concept, axObjects]);\n } else {\n elementAXObjects.push([concept, axObjects]);\n }\n }\n }\n });\n }\n };\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n _loop();\n }\n} catch (err) {\n _iterator.e(err);\n} finally {\n _iterator.f();\n}\nfunction deepAxObjectModelRelationshipConceptAttributeCheck(a, b) {\n if (a === undefined && b !== undefined) {\n return false;\n }\n if (a !== undefined && b === undefined) {\n return false;\n }\n if (a !== undefined && b !== undefined) {\n if (a.length != b.length) {\n return false;\n }\n\n // dequal checks position equality\n // https://github.com/lukeed/dequal/blob/5ecd990c4c055c4658c64b4bdfc170f219604eea/src/index.js#L17-L22\n for (var i = 0; i < a.length; i++) {\n if (b[i].name !== a[i].name || b[i].value !== a[i].value) {\n return false;\n }\n }\n }\n return true;\n}\nvar elementAXObjectMap = {\n entries: function entries() {\n return elementAXObjects;\n },\n forEach: function forEach(fn) {\n var thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n for (var _i = 0, _elementAXObjects = elementAXObjects; _i < _elementAXObjects.length; _i++) {\n var _elementAXObjects$_i = _slicedToArray(_elementAXObjects[_i], 2),\n key = _elementAXObjects$_i[0],\n values = _elementAXObjects$_i[1];\n fn.call(thisArg, values, key, elementAXObjects);\n }\n },\n get: function get(key) {\n var item = elementAXObjects.find(function (tuple) {\n return key.name === tuple[0].name && deepAxObjectModelRelationshipConceptAttributeCheck(key.attributes, tuple[0].attributes);\n });\n return item && item[1];\n },\n has: function has(key) {\n return !!elementAXObjectMap.get(key);\n },\n keys: function keys() {\n return elementAXObjects.map(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n key = _ref2[0];\n return key;\n });\n },\n values: function values() {\n return elementAXObjects.map(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n values = _ref4[1];\n return values;\n });\n }\n};\nvar _default = (0, _iterationDecorator.default)(elementAXObjectMap, elementAXObjectMap.entries());\nexports.default = _default;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.elementAXObjects = exports.AXObjects = exports.AXObjectRoles = exports.AXObjectElements = void 0;\nvar _AXObjectElementMap = _interopRequireDefault(require(\"./AXObjectElementMap\"));\nvar _AXObjectRoleMap = _interopRequireDefault(require(\"./AXObjectRoleMap\"));\nvar _AXObjectsMap = _interopRequireDefault(require(\"./AXObjectsMap\"));\nvar _elementAXObjectMap = _interopRequireDefault(require(\"./elementAXObjectMap\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\nvar AXObjectElements = _AXObjectElementMap.default;\nexports.AXObjectElements = AXObjectElements;\nvar AXObjectRoles = _AXObjectRoleMap.default;\nexports.AXObjectRoles = AXObjectRoles;\nvar AXObjects = _AXObjectsMap.default;\nexports.AXObjects = AXObjects;\nvar elementAXObjects = _elementAXObjectMap.default;\nexports.elementAXObjects = elementAXObjects;"], + "mappings": ";;;;;AAAA;A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mB;AAAA;AAAA;", + "names": ["obj", "values", "F", "_loop", "values", "F", "_loop", "values", "F", "_loop", "values"] +} diff --git a/node_modules/.vite/deps/astro___cssesc.js b/node_modules/.vite/deps/astro___cssesc.js new file mode 100644 index 0000000..f418f4f --- /dev/null +++ b/node_modules/.vite/deps/astro___cssesc.js @@ -0,0 +1,99 @@ +import { + __commonJS +} from "./chunk-BUSYA2B4.js"; + +// node_modules/cssesc/cssesc.js +var require_cssesc = __commonJS({ + "node_modules/cssesc/cssesc.js"(exports, module) { + var object = {}; + var hasOwnProperty = object.hasOwnProperty; + var merge = function merge2(options, defaults) { + if (!options) { + return defaults; + } + var result = {}; + for (var key in defaults) { + result[key] = hasOwnProperty.call(options, key) ? options[key] : defaults[key]; + } + return result; + }; + var regexAnySingleEscape = /[ -,\.\/:-@\[-\^`\{-~]/; + var regexSingleEscape = /[ -,\.\/:-@\[\]\^`\{-~]/; + var regexExcessiveSpaces = /(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g; + var cssesc = function cssesc2(string, options) { + options = merge(options, cssesc2.options); + if (options.quotes != "single" && options.quotes != "double") { + options.quotes = "single"; + } + var quote = options.quotes == "double" ? '"' : "'"; + var isIdentifier = options.isIdentifier; + var firstChar = string.charAt(0); + var output = ""; + var counter = 0; + var length = string.length; + while (counter < length) { + var character = string.charAt(counter++); + var codePoint = character.charCodeAt(); + var value = void 0; + if (codePoint < 32 || codePoint > 126) { + if (codePoint >= 55296 && codePoint <= 56319 && counter < length) { + var extra = string.charCodeAt(counter++); + if ((extra & 64512) == 56320) { + codePoint = ((codePoint & 1023) << 10) + (extra & 1023) + 65536; + } else { + counter--; + } + } + value = "\\" + codePoint.toString(16).toUpperCase() + " "; + } else { + if (options.escapeEverything) { + if (regexAnySingleEscape.test(character)) { + value = "\\" + character; + } else { + value = "\\" + codePoint.toString(16).toUpperCase() + " "; + } + } else if (/[\t\n\f\r\x0B]/.test(character)) { + value = "\\" + codePoint.toString(16).toUpperCase() + " "; + } else if (character == "\\" || !isIdentifier && (character == '"' && quote == character || character == "'" && quote == character) || isIdentifier && regexSingleEscape.test(character)) { + value = "\\" + character; + } else { + value = character; + } + } + output += value; + } + if (isIdentifier) { + if (/^-[-\d]/.test(output)) { + output = "\\-" + output.slice(1); + } else if (/\d/.test(firstChar)) { + output = "\\3" + firstChar + " " + output.slice(1); + } + } + output = output.replace(regexExcessiveSpaces, function($0, $1, $2) { + if ($1 && $1.length % 2) { + return $0; + } + return ($1 || "") + $2; + }); + if (!isIdentifier && options.wrap) { + return quote + output + quote; + } + return output; + }; + cssesc.options = { + "escapeEverything": false, + "isIdentifier": false, + "quotes": "single", + "wrap": false + }; + cssesc.version = "3.0.0"; + module.exports = cssesc; + } +}); +export default require_cssesc(); +/*! Bundled license information: + +cssesc/cssesc.js: + (*! https://mths.be/cssesc v3.0.0 by @mathias *) +*/ +//# sourceMappingURL=astro___cssesc.js.map diff --git a/node_modules/.vite/deps/astro___cssesc.js.map b/node_modules/.vite/deps/astro___cssesc.js.map new file mode 100644 index 0000000..1e2d80f --- /dev/null +++ b/node_modules/.vite/deps/astro___cssesc.js.map @@ -0,0 +1,7 @@ +{ + "version": 3, + "sources": ["../../cssesc/cssesc.js"], + "sourcesContent": ["/*! https://mths.be/cssesc v3.0.0 by @mathias */\n'use strict';\n\nvar object = {};\nvar hasOwnProperty = object.hasOwnProperty;\nvar merge = function merge(options, defaults) {\n\tif (!options) {\n\t\treturn defaults;\n\t}\n\tvar result = {};\n\tfor (var key in defaults) {\n\t\t// `if (defaults.hasOwnProperty(key) { … }` is not needed here, since\n\t\t// only recognized option names are used.\n\t\tresult[key] = hasOwnProperty.call(options, key) ? options[key] : defaults[key];\n\t}\n\treturn result;\n};\n\nvar regexAnySingleEscape = /[ -,\\.\\/:-@\\[-\\^`\\{-~]/;\nvar regexSingleEscape = /[ -,\\.\\/:-@\\[\\]\\^`\\{-~]/;\nvar regexAlwaysEscape = /['\"\\\\]/;\nvar regexExcessiveSpaces = /(^|\\\\+)?(\\\\[A-F0-9]{1,6})\\x20(?![a-fA-F0-9\\x20])/g;\n\n// https://mathiasbynens.be/notes/css-escapes#css\nvar cssesc = function cssesc(string, options) {\n\toptions = merge(options, cssesc.options);\n\tif (options.quotes != 'single' && options.quotes != 'double') {\n\t\toptions.quotes = 'single';\n\t}\n\tvar quote = options.quotes == 'double' ? '\"' : '\\'';\n\tvar isIdentifier = options.isIdentifier;\n\n\tvar firstChar = string.charAt(0);\n\tvar output = '';\n\tvar counter = 0;\n\tvar length = string.length;\n\twhile (counter < length) {\n\t\tvar character = string.charAt(counter++);\n\t\tvar codePoint = character.charCodeAt();\n\t\tvar value = void 0;\n\t\t// If it’s not a printable ASCII character…\n\t\tif (codePoint < 0x20 || codePoint > 0x7E) {\n\t\t\tif (codePoint >= 0xD800 && codePoint <= 0xDBFF && counter < length) {\n\t\t\t\t// It’s a high surrogate, and there is a next character.\n\t\t\t\tvar extra = string.charCodeAt(counter++);\n\t\t\t\tif ((extra & 0xFC00) == 0xDC00) {\n\t\t\t\t\t// next character is low surrogate\n\t\t\t\t\tcodePoint = ((codePoint & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000;\n\t\t\t\t} else {\n\t\t\t\t\t// It’s an unmatched surrogate; only append this code unit, in case\n\t\t\t\t\t// the next code unit is the high surrogate of a surrogate pair.\n\t\t\t\t\tcounter--;\n\t\t\t\t}\n\t\t\t}\n\t\t\tvalue = '\\\\' + codePoint.toString(16).toUpperCase() + ' ';\n\t\t} else {\n\t\t\tif (options.escapeEverything) {\n\t\t\t\tif (regexAnySingleEscape.test(character)) {\n\t\t\t\t\tvalue = '\\\\' + character;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = '\\\\' + codePoint.toString(16).toUpperCase() + ' ';\n\t\t\t\t}\n\t\t\t} else if (/[\\t\\n\\f\\r\\x0B]/.test(character)) {\n\t\t\t\tvalue = '\\\\' + codePoint.toString(16).toUpperCase() + ' ';\n\t\t\t} else if (character == '\\\\' || !isIdentifier && (character == '\"' && quote == character || character == '\\'' && quote == character) || isIdentifier && regexSingleEscape.test(character)) {\n\t\t\t\tvalue = '\\\\' + character;\n\t\t\t} else {\n\t\t\t\tvalue = character;\n\t\t\t}\n\t\t}\n\t\toutput += value;\n\t}\n\n\tif (isIdentifier) {\n\t\tif (/^-[-\\d]/.test(output)) {\n\t\t\toutput = '\\\\-' + output.slice(1);\n\t\t} else if (/\\d/.test(firstChar)) {\n\t\t\toutput = '\\\\3' + firstChar + ' ' + output.slice(1);\n\t\t}\n\t}\n\n\t// Remove spaces after `\\HEX` escapes that are not followed by a hex digit,\n\t// since they’re redundant. Note that this is only possible if the escape\n\t// sequence isn’t preceded by an odd number of backslashes.\n\toutput = output.replace(regexExcessiveSpaces, function ($0, $1, $2) {\n\t\tif ($1 && $1.length % 2) {\n\t\t\t// It’s not safe to remove the space, so don’t.\n\t\t\treturn $0;\n\t\t}\n\t\t// Strip the space.\n\t\treturn ($1 || '') + $2;\n\t});\n\n\tif (!isIdentifier && options.wrap) {\n\t\treturn quote + output + quote;\n\t}\n\treturn output;\n};\n\n// Expose default options (so they can be overridden globally).\ncssesc.options = {\n\t'escapeEverything': false,\n\t'isIdentifier': false,\n\t'quotes': 'single',\n\t'wrap': false\n};\n\ncssesc.version = '3.0.0';\n\nmodule.exports = cssesc;\n"], + "mappings": ";;;;;AAAA;AAAA;AAGA,QAAI,SAAS,CAAC;AACd,QAAI,iBAAiB,OAAO;AAC5B,QAAI,QAAQ,SAASA,OAAM,SAAS,UAAU;AAC7C,UAAI,CAAC,SAAS;AACb,eAAO;AAAA,MACR;AACA,UAAI,SAAS,CAAC;AACd,eAAS,OAAO,UAAU;AAGzB,eAAO,GAAG,IAAI,eAAe,KAAK,SAAS,GAAG,IAAI,QAAQ,GAAG,IAAI,SAAS,GAAG;AAAA,MAC9E;AACA,aAAO;AAAA,IACR;AAEA,QAAI,uBAAuB;AAC3B,QAAI,oBAAoB;AAExB,QAAI,uBAAuB;AAG3B,QAAI,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QACD;AACA,kBAAU;AAAA,MACX;AAEA,UAAI,cAAc;AACjB,YAAI,UAAU,KAAK,MAAM,GAAG;AAC3B,mBAAS,QAAQ,OAAO,MAAM,CAAC;AAAA,QAChC,WAAW,KAAK,KAAK,SAAS,GAAG;AAChC,mBAAS,QAAQ,YAAY,MAAM,OAAO,MAAM,CAAC;AAAA,QAClD;AAAA,MACD;AAKA,eAAS,OAAO,QAAQ,sBAAsB,SAAU,IAAI,IAAI,IAAI;AACnE,YAAI,MAAM,GAAG,SAAS,GAAG;AAExB,iBAAO;AAAA,QACR;AAEA,gBAAQ,MAAM,MAAM;AAAA,MACrB,CAAC;AAED,UAAI,CAAC,gBAAgB,QAAQ,MAAM;AAClC,eAAO,QAAQ,SAAS;AAAA,MACzB;AACA,aAAO;AAAA,IACR;AAGA,WAAO,UAAU;AAAA,MAChB,oBAAoB;AAAA,MACpB,gBAAgB;AAAA,MAChB,UAAU;AAAA,MACV,QAAQ;AAAA,IACT;AAEA,WAAO,UAAU;AAEjB,WAAO,UAAU;AAAA;AAAA;", + "names": ["merge", "cssesc"] +} diff --git a/node_modules/.vite/deps/chunk-BUSYA2B4.js b/node_modules/.vite/deps/chunk-BUSYA2B4.js new file mode 100644 index 0000000..b1e98eb --- /dev/null +++ b/node_modules/.vite/deps/chunk-BUSYA2B4.js @@ -0,0 +1,8 @@ +var __getOwnPropNames = Object.getOwnPropertyNames; +var __commonJS = (cb, mod) => function __require() { + return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; +}; + +export { + __commonJS +}; diff --git a/node_modules/.vite/deps/chunk-BUSYA2B4.js.map b/node_modules/.vite/deps/chunk-BUSYA2B4.js.map new file mode 100644 index 0000000..9865211 --- /dev/null +++ b/node_modules/.vite/deps/chunk-BUSYA2B4.js.map @@ -0,0 +1,7 @@ +{ + "version": 3, + "sources": [], + "sourcesContent": [], + "mappings": "", + "names": [] +} diff --git a/node_modules/.vite/deps/package.json b/node_modules/.vite/deps/package.json new file mode 100644 index 0000000..3dbc1ca --- /dev/null +++ b/node_modules/.vite/deps/package.json @@ -0,0 +1,3 @@ +{ + "type": "module" +} diff --git a/node_modules/@astrojs/node/LICENSE b/node_modules/@astrojs/node/LICENSE new file mode 100644 index 0000000..b3cd0c0 --- /dev/null +++ b/node_modules/@astrojs/node/LICENSE @@ -0,0 +1,59 @@ +MIT License + +Copyright (c) 2021 Fred K. Schott + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +""" +This license applies to parts of the `packages/create-astro` and `packages/astro` subdirectories originating from the https://github.com/sveltejs/kit repository: + +Copyright (c) 2020 [these people](https://github.com/sveltejs/kit/graphs/contributors) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +""" + +""" +This license applies to parts of the `packages/create-astro` and `packages/astro` subdirectories originating from the https://github.com/vitejs/vite repository: + +MIT License + +Copyright (c) 2019-present, Yuxi (Evan) You and Vite contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +""" diff --git a/node_modules/@astrojs/node/README.md b/node_modules/@astrojs/node/README.md new file mode 100644 index 0000000..23ce77c --- /dev/null +++ b/node_modules/@astrojs/node/README.md @@ -0,0 +1,38 @@ +# @astrojs/node + +This adapter allows Astro to deploy your SSR site to Node targets. + +## Documentation + +Read the [`@astrojs/node` docs][docs] + +## Support + +- Get help in the [Astro Discord][discord]. Post questions in our `#support` forum, or visit our dedicated `#dev` channel to discuss current development and more! + +- Check our [Astro Integration Documentation][astro-integration] for more on integrations. + +- Submit bug reports and feature requests as [GitHub issues][issues]. + +## Contributing + +This package is maintained by Astro's Core team. You're welcome to submit an issue or PR! These links will help you get started: + +- [Contributor Manual][contributing] +- [Code of Conduct][coc] +- [Community Guide][community] + +## License + +MIT + +Copyright (c) 2023–present [Astro][astro] + +[astro]: https://astro.build/ +[docs]: https://docs.astro.build/en/guides/integrations-guide/node/ +[contributing]: https://github.com/withastro/astro/blob/main/CONTRIBUTING.md +[coc]: https://github.com/withastro/.github/blob/main/CODE_OF_CONDUCT.md +[community]: https://github.com/withastro/.github/blob/main/COMMUNITY_GUIDE.md +[discord]: https://astro.build/chat/ +[issues]: https://github.com/withastro/astro/issues +[astro-integration]: https://docs.astro.build/en/guides/integrations-guide/ diff --git a/node_modules/@astrojs/node/dist/index.d.ts b/node_modules/@astrojs/node/dist/index.d.ts new file mode 100644 index 0000000..3d0a0eb --- /dev/null +++ b/node_modules/@astrojs/node/dist/index.d.ts @@ -0,0 +1,4 @@ +import type { AstroAdapter, AstroIntegration } from 'astro'; +import type { Options, UserOptions } from './types.js'; +export declare function getAdapter(options: Options): AstroAdapter; +export default function createIntegration(userOptions: UserOptions): AstroIntegration; diff --git a/node_modules/@astrojs/node/dist/index.js b/node_modules/@astrojs/node/dist/index.js new file mode 100644 index 0000000..333c6cc --- /dev/null +++ b/node_modules/@astrojs/node/dist/index.js @@ -0,0 +1,123 @@ +import { fileURLToPath } from "node:url"; +import { writeJson } from "@astrojs/internal-helpers/fs"; +import { AstroError } from "astro/errors"; +import { STATIC_HEADERS_FILE } from "./shared.js"; +function getAdapter(options) { + return { + name: "@astrojs/node", + serverEntrypoint: "@astrojs/node/server.js", + previewEntrypoint: "@astrojs/node/preview.js", + exports: ["handler", "startServer", "options"], + args: options, + adapterFeatures: { + buildOutput: "server", + edgeMiddleware: false, + experimentalStaticHeaders: options.experimentalStaticHeaders + }, + supportedAstroFeatures: { + hybridOutput: "stable", + staticOutput: "stable", + serverOutput: "stable", + sharpImageService: "stable", + i18nDomains: "experimental", + envGetSecret: "stable" + } + }; +} +const protocols = ["http:", "https:"]; +function createIntegration(userOptions) { + if (!userOptions?.mode) { + throw new AstroError(`Setting the 'mode' option is required.`); + } + const { experimentalErrorPageHost } = userOptions; + if (experimentalErrorPageHost && (!URL.canParse(experimentalErrorPageHost) || !protocols.includes(new URL(experimentalErrorPageHost).protocol))) { + throw new AstroError( + `Invalid experimentalErrorPageHost: ${experimentalErrorPageHost}. It should be a valid URL.` + ); + } + let _options; + let _config = void 0; + let _routeToHeaders = void 0; + return { + name: "@astrojs/node", + hooks: { + "astro:config:setup": async ({ updateConfig, config, logger, command }) => { + let session = config.session; + _config = config; + if (!session?.driver) { + logger.info("Enabling sessions with filesystem storage"); + session = { + ...session, + driver: "fs-lite", + options: { + base: fileURLToPath(new URL("sessions", config.cacheDir)) + } + }; + } + updateConfig({ + build: { + redirects: false + }, + image: { + endpoint: { + route: config.image.endpoint.route ?? "_image", + entrypoint: config.image.endpoint.entrypoint ?? (command === "dev" ? "astro/assets/endpoint/dev" : "astro/assets/endpoint/node") + } + }, + session, + vite: { + ssr: { + noExternal: ["@astrojs/node"] + } + } + }); + }, + "astro:build:generated": ({ experimentalRouteToHeaders }) => { + _routeToHeaders = experimentalRouteToHeaders; + }, + "astro:config:done": ({ setAdapter, config }) => { + _options = { + ...userOptions, + client: config.build.client?.toString(), + server: config.build.server?.toString(), + host: config.server.host, + port: config.server.port, + assets: config.build.assets, + experimentalStaticHeaders: userOptions.experimentalStaticHeaders ?? false, + experimentalErrorPageHost + }; + setAdapter(getAdapter(_options)); + }, + "astro:build:done": async () => { + if (!_config) { + return; + } + if (_routeToHeaders && _routeToHeaders.size > 0) { + const headersFileUrl = new URL(STATIC_HEADERS_FILE, _config.outDir); + const headersValue = []; + for (const [pathname, { headers }] of _routeToHeaders.entries()) { + if (_config.experimental.csp) { + const csp = headers.get("Content-Security-Policy"); + if (csp) { + headersValue.push({ + pathname, + headers: [ + { + key: "Content-Security-Policy", + value: csp + } + ] + }); + } + } + } + await writeJson(headersFileUrl, headersValue); + } + } + } + }; +} +export { + createIntegration as default, + getAdapter +}; diff --git a/node_modules/@astrojs/node/dist/log-listening-on.d.ts b/node_modules/@astrojs/node/dist/log-listening-on.d.ts new file mode 100644 index 0000000..308d7f4 --- /dev/null +++ b/node_modules/@astrojs/node/dist/log-listening-on.d.ts @@ -0,0 +1,4 @@ +import type http from 'node:http'; +import https from 'node:https'; +import type { AstroIntegrationLogger } from 'astro'; +export declare function logListeningOn(logger: AstroIntegrationLogger, server: http.Server | https.Server, configuredHost: string | boolean | undefined): Promise; diff --git a/node_modules/@astrojs/node/dist/log-listening-on.js b/node_modules/@astrojs/node/dist/log-listening-on.js new file mode 100644 index 0000000..57b3849 --- /dev/null +++ b/node_modules/@astrojs/node/dist/log-listening-on.js @@ -0,0 +1,57 @@ +import https from "node:https"; +import os from "node:os"; +const wildcardHosts = /* @__PURE__ */ new Set(["0.0.0.0", "::", "0000:0000:0000:0000:0000:0000:0000:0000"]); +async function logListeningOn(logger, server, configuredHost) { + await new Promise((resolve) => server.once("listening", resolve)); + const protocol = server instanceof https.Server ? "https" : "http"; + const host = getResolvedHostForHttpServer(configuredHost); + const { port } = server.address(); + const address = getNetworkAddress(protocol, host, port); + if (host === void 0 || wildcardHosts.has(host)) { + logger.info( + `Server listening on + local: ${address.local[0]} + network: ${address.network[0]} +` + ); + } else { + logger.info(`Server listening on ${address.local[0]}`); + } +} +function getResolvedHostForHttpServer(host) { + if (host === false) { + return "localhost"; + } else if (host === true) { + return void 0; + } else { + return host; + } +} +function getNetworkAddress(protocol = "http", hostname, port, base) { + const NetworkAddress = { + local: [], + network: [] + }; + Object.values(os.networkInterfaces()).flatMap((nInterface) => nInterface ?? []).filter( + (detail) => detail && detail.address && (detail.family === "IPv4" || // @ts-expect-error Node 18.0 - 18.3 returns number + detail.family === 4) + ).forEach((detail) => { + let host = detail.address.replace( + "127.0.0.1", + hostname === void 0 || wildcardHosts.has(hostname) ? "localhost" : hostname + ); + if (host.includes(":")) { + host = `[${host}]`; + } + const url = `${protocol}://${host}:${port}${base ? base : ""}`; + if (detail.address.includes("127.0.0.1")) { + NetworkAddress.local.push(url); + } else { + NetworkAddress.network.push(url); + } + }); + return NetworkAddress; +} +export { + logListeningOn +}; diff --git a/node_modules/@astrojs/node/dist/middleware.d.ts b/node_modules/@astrojs/node/dist/middleware.d.ts new file mode 100644 index 0000000..9e0e135 --- /dev/null +++ b/node_modules/@astrojs/node/dist/middleware.d.ts @@ -0,0 +1,11 @@ +import type { NodeApp } from 'astro/app/node'; +import type { Options, RequestHandler } from './types.js'; +/** + * Creates a middleware that can be used with Express, Connect, etc. + * + * Similar to `createAppHandler` but can additionally be placed in the express + * chain as an error middleware. + * + * https://expressjs.com/en/guide/using-middleware.html#middleware.error-handling + */ +export default function createMiddleware(app: NodeApp, options: Options): RequestHandler; diff --git a/node_modules/@astrojs/node/dist/middleware.js b/node_modules/@astrojs/node/dist/middleware.js new file mode 100644 index 0000000..d94d40a --- /dev/null +++ b/node_modules/@astrojs/node/dist/middleware.js @@ -0,0 +1,29 @@ +import { createAppHandler } from "./serve-app.js"; +function createMiddleware(app, options) { + const handler = createAppHandler(app, options); + const logger = app.getAdapterLogger(); + return async (...args) => { + const [req, res, next, locals] = args; + if (req instanceof Error) { + const error = req; + if (next) { + return next(error); + } else { + throw error; + } + } + try { + await handler(req, res, next, locals); + } catch (err) { + logger.error(`Could not render ${req.url}`); + console.error(err); + if (!res.headersSent) { + res.writeHead(500, `Server error`); + res.end(); + } + } + }; +} +export { + createMiddleware as default +}; diff --git a/node_modules/@astrojs/node/dist/polyfill.d.ts b/node_modules/@astrojs/node/dist/polyfill.d.ts new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@astrojs/node/dist/polyfill.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@astrojs/node/dist/polyfill.js b/node_modules/@astrojs/node/dist/polyfill.js new file mode 100644 index 0000000..a0ca2f6 --- /dev/null +++ b/node_modules/@astrojs/node/dist/polyfill.js @@ -0,0 +1,2 @@ +import { applyPolyfills } from "astro/app/node"; +applyPolyfills(); diff --git a/node_modules/@astrojs/node/dist/preview.d.ts b/node_modules/@astrojs/node/dist/preview.d.ts new file mode 100644 index 0000000..a6e0dac --- /dev/null +++ b/node_modules/@astrojs/node/dist/preview.d.ts @@ -0,0 +1,3 @@ +import type { CreatePreviewServer } from 'astro'; +declare const createPreviewServer: CreatePreviewServer; +export { createPreviewServer as default }; diff --git a/node_modules/@astrojs/node/dist/preview.js b/node_modules/@astrojs/node/dist/preview.js new file mode 100644 index 0000000..0112aa0 --- /dev/null +++ b/node_modules/@astrojs/node/dist/preview.js @@ -0,0 +1,50 @@ +import { fileURLToPath } from "node:url"; +import { AstroError } from "astro/errors"; +import { logListeningOn } from "./log-listening-on.js"; +import { createServer } from "./standalone.js"; +const createPreviewServer = async (preview) => { + let ssrHandler; + try { + process.env.ASTRO_NODE_AUTOSTART = "disabled"; + const ssrModule = await import(preview.serverEntrypoint.toString()); + if (typeof ssrModule.handler === "function") { + ssrHandler = ssrModule.handler; + } else { + throw new AstroError( + `The server entrypoint doesn't have a handler. Are you sure this is the right file?` + ); + } + } catch (err) { + if (err.code === "ERR_MODULE_NOT_FOUND" && err.url === preview.serverEntrypoint.href) { + throw new AstroError( + `The server entrypoint ${fileURLToPath( + preview.serverEntrypoint + )} does not exist. Have you ran a build yet?` + ); + } else { + throw err; + } + } + const host = process.env.HOST ?? preview.host ?? "0.0.0.0"; + const port = preview.port ?? 4321; + const server = createServer(ssrHandler, host, port); + if (preview.headers) { + server.server.addListener("request", (_, res) => { + if (res.statusCode === 200) { + for (const [name, value] of Object.entries(preview.headers ?? {})) { + if (value) res.setHeader(name, value); + } + } + }); + } + logListeningOn(preview.logger, server.server, host); + await new Promise((resolve, reject) => { + server.server.once("listening", resolve); + server.server.once("error", reject); + server.server.listen(port, host); + }); + return server; +}; +export { + createPreviewServer as default +}; diff --git a/node_modules/@astrojs/node/dist/serve-app.d.ts b/node_modules/@astrojs/node/dist/serve-app.d.ts new file mode 100644 index 0000000..0b875e9 --- /dev/null +++ b/node_modules/@astrojs/node/dist/serve-app.d.ts @@ -0,0 +1,8 @@ +import { NodeApp } from 'astro/app/node'; +import type { Options, RequestHandler } from './types.js'; +/** + * Creates a Node.js http listener for on-demand rendered pages, compatible with http.createServer and Connect middleware. + * If the next callback is provided, it will be called if the request does not have a matching route. + * Intended to be used in both standalone and middleware mode. + */ +export declare function createAppHandler(app: NodeApp, options: Options): RequestHandler; diff --git a/node_modules/@astrojs/node/dist/serve-app.js b/node_modules/@astrojs/node/dist/serve-app.js new file mode 100644 index 0000000..630a570 --- /dev/null +++ b/node_modules/@astrojs/node/dist/serve-app.js @@ -0,0 +1,53 @@ +import { AsyncLocalStorage } from "node:async_hooks"; +import { NodeApp } from "astro/app/node"; +function createAppHandler(app, options) { + const als = new AsyncLocalStorage(); + const logger = app.getAdapterLogger(); + process.on("unhandledRejection", (reason) => { + const requestUrl = als.getStore(); + logger.error(`Unhandled rejection while rendering ${requestUrl}`); + console.error(reason); + }); + const originUrl = options.experimentalErrorPageHost ? new URL(options.experimentalErrorPageHost) : void 0; + const prerenderedErrorPageFetch = originUrl ? (url) => { + const errorPageUrl = new URL(url); + errorPageUrl.protocol = originUrl.protocol; + errorPageUrl.host = originUrl.host; + return fetch(errorPageUrl); + } : void 0; + return async (req, res, next, locals) => { + let request; + try { + request = NodeApp.createRequest(req, { + allowedDomains: app.getAllowedDomains?.() ?? [] + }); + } catch (err) { + logger.error(`Could not render ${req.url}`); + console.error(err); + res.statusCode = 500; + res.end("Internal Server Error"); + return; + } + const routeData = app.match(request, true); + if (routeData) { + const response = await als.run( + request.url, + () => app.render(request, { + addCookieHeader: true, + locals, + routeData, + prerenderedErrorPageFetch + }) + ); + await NodeApp.writeResponse(response, res); + } else if (next) { + return next(); + } else { + const response = await app.render(req, { addCookieHeader: true, prerenderedErrorPageFetch }); + await NodeApp.writeResponse(response, res); + } + }; +} +export { + createAppHandler +}; diff --git a/node_modules/@astrojs/node/dist/serve-static.d.ts b/node_modules/@astrojs/node/dist/serve-static.d.ts new file mode 100644 index 0000000..16c9ad2 --- /dev/null +++ b/node_modules/@astrojs/node/dist/serve-static.d.ts @@ -0,0 +1,10 @@ +import type { IncomingMessage, ServerResponse } from 'node:http'; +import type { NodeApp } from 'astro/app/node'; +import type { Options } from './types.js'; +/** + * Creates a Node.js http listener for static files and prerendered pages. + * In standalone mode, the static handler is queried first for the static files. + * If one matching the request path is not found, it relegates to the SSR handler. + * Intended to be used only in the standalone mode. + */ +export declare function createStaticHandler(app: NodeApp, options: Options): (req: IncomingMessage, res: ServerResponse, ssr: () => unknown) => ServerResponse | undefined; diff --git a/node_modules/@astrojs/node/dist/serve-static.js b/node_modules/@astrojs/node/dist/serve-static.js new file mode 100644 index 0000000..b878fa7 --- /dev/null +++ b/node_modules/@astrojs/node/dist/serve-static.js @@ -0,0 +1,111 @@ +import fs from "node:fs"; +import path from "node:path"; +import url from "node:url"; +import { hasFileExtension, isInternalPath } from "@astrojs/internal-helpers/path"; +import send from "send"; +function createStaticHandler(app, options) { + const client = resolveClientDir(options); + return (req, res, ssr) => { + if (req.url) { + const [urlPath, urlQuery] = req.url.split("?"); + const filePath = path.join(client, app.removeBase(urlPath)); + let isDirectory = false; + try { + isDirectory = fs.lstatSync(filePath).isDirectory(); + } catch { + } + const { trailingSlash = "ignore" } = options; + const hasSlash = urlPath.endsWith("/"); + let pathname = urlPath; + if (app.headersMap && app.headersMap.length > 0) { + const routeData = app.match(req, true); + if (routeData && routeData.prerender) { + const matchedRoute = app.headersMap.find((header) => header.pathname.includes(pathname)); + if (matchedRoute) { + for (const header of matchedRoute.headers) { + res.setHeader(header.key, header.value); + } + } + } + } + switch (trailingSlash) { + case "never": { + if (isDirectory && urlPath !== "/" && hasSlash) { + pathname = urlPath.slice(0, -1) + (urlQuery ? "?" + urlQuery : ""); + res.statusCode = 301; + res.setHeader("Location", pathname); + return res.end(); + } + if (isDirectory && !hasSlash) { + pathname = `${urlPath}/index.html`; + } + break; + } + case "ignore": { + if (isDirectory && !hasSlash) { + pathname = `${urlPath}/index.html`; + } + break; + } + case "always": { + if (!hasSlash && !hasFileExtension(urlPath) && !isInternalPath(urlPath)) { + pathname = urlPath + "/" + (urlQuery ? "?" + urlQuery : ""); + res.statusCode = 301; + res.setHeader("Location", pathname); + return res.end(); + } + break; + } + } + pathname = prependForwardSlash(app.removeBase(pathname)); + const stream = send(req, pathname, { + root: client, + dotfiles: pathname.startsWith("/.well-known/") ? "allow" : "deny" + }); + let forwardError = false; + stream.on("error", (err) => { + if (forwardError) { + console.error(err.toString()); + res.writeHead(500); + res.end("Internal server error"); + return; + } + ssr(); + }); + stream.on("headers", (_res) => { + if (pathname.startsWith(`/${options.assets}/`)) { + _res.setHeader("Cache-Control", "public, max-age=31536000, immutable"); + } + }); + stream.on("file", () => { + forwardError = true; + }); + stream.pipe(res); + } else { + ssr(); + } + }; +} +function resolveClientDir(options) { + const clientURLRaw = new URL(options.client); + const serverURLRaw = new URL(options.server); + const rel = path.relative(url.fileURLToPath(serverURLRaw), url.fileURLToPath(clientURLRaw)); + const serverFolder = path.basename(options.server); + let serverEntryFolderURL = path.dirname(import.meta.url); + while (!serverEntryFolderURL.endsWith(serverFolder)) { + serverEntryFolderURL = path.dirname(serverEntryFolderURL); + } + const serverEntryURL = serverEntryFolderURL + "/entry.mjs"; + const clientURL = new URL(appendForwardSlash(rel), serverEntryURL); + const client = url.fileURLToPath(clientURL); + return client; +} +function prependForwardSlash(pth) { + return pth.startsWith("/") ? pth : "/" + pth; +} +function appendForwardSlash(pth) { + return pth.endsWith("/") ? pth : pth + "/"; +} +export { + createStaticHandler +}; diff --git a/node_modules/@astrojs/node/dist/server.d.ts b/node_modules/@astrojs/node/dist/server.d.ts new file mode 100644 index 0000000..b9fff9b --- /dev/null +++ b/node_modules/@astrojs/node/dist/server.d.ts @@ -0,0 +1,18 @@ +import './polyfill.js'; +import type { SSRManifest } from 'astro'; +import type { Options } from './types.js'; +export declare function createExports(manifest: SSRManifest, options: Options): { + options: Options; + handler: import("./types.js").RequestHandler; + startServer: () => { + server: { + host: string; + port: number; + closed(): Promise; + stop(): Promise; + server: import("http").Server | import("https").Server; + }; + done: Promise; + }; +}; +export declare function start(manifest: SSRManifest, options: Options): void; diff --git a/node_modules/@astrojs/node/dist/server.js b/node_modules/@astrojs/node/dist/server.js new file mode 100644 index 0000000..aa72bee --- /dev/null +++ b/node_modules/@astrojs/node/dist/server.js @@ -0,0 +1,56 @@ +import "./polyfill.js"; +import { existsSync, readFileSync } from "node:fs"; +import { NodeApp } from "astro/app/node"; +import { setGetEnv } from "astro/env/setup"; +import createMiddleware from "./middleware.js"; +import { STATIC_HEADERS_FILE } from "./shared.js"; +import startServer, { createStandaloneHandler } from "./standalone.js"; +setGetEnv((key) => process.env[key]); +function createExports(manifest, options) { + const app = new NodeApp(manifest, !options.experimentalDisableStreaming); + let headersMap = void 0; + if (options.experimentalStaticHeaders) { + headersMap = readHeadersJson(manifest.outDir); + } + if (headersMap) { + app.setHeadersMap(headersMap); + } + options.trailingSlash = manifest.trailingSlash; + return { + options, + handler: options.mode === "middleware" ? createMiddleware(app, options) : createStandaloneHandler(app, options), + startServer: () => startServer(app, options) + }; +} +function start(manifest, options) { + if (options.mode !== "standalone" || process.env.ASTRO_NODE_AUTOSTART === "disabled") { + return; + } + let headersMap = void 0; + if (options.experimentalStaticHeaders) { + headersMap = readHeadersJson(manifest.outDir); + } + const app = new NodeApp(manifest, !options.experimentalDisableStreaming); + if (headersMap) { + app.setHeadersMap(headersMap); + } + startServer(app, options); +} +function readHeadersJson(outDir) { + let headersMap = void 0; + const headersUrl = new URL(STATIC_HEADERS_FILE, outDir); + if (existsSync(headersUrl)) { + const content = readFileSync(headersUrl, "utf-8"); + try { + headersMap = JSON.parse(content); + } catch (e) { + console.error("[@astrojs/node] Error parsing _headers.json: " + e.message); + console.error("[@astrojs/node] Please make sure your _headers.json is valid JSON."); + } + } + return headersMap; +} +export { + createExports, + start +}; diff --git a/node_modules/@astrojs/node/dist/shared.d.ts b/node_modules/@astrojs/node/dist/shared.d.ts new file mode 100644 index 0000000..98bf248 --- /dev/null +++ b/node_modules/@astrojs/node/dist/shared.d.ts @@ -0,0 +1 @@ +export declare const STATIC_HEADERS_FILE = "_experimentalHeaders.json"; diff --git a/node_modules/@astrojs/node/dist/shared.js b/node_modules/@astrojs/node/dist/shared.js new file mode 100644 index 0000000..e3817c8 --- /dev/null +++ b/node_modules/@astrojs/node/dist/shared.js @@ -0,0 +1,4 @@ +const STATIC_HEADERS_FILE = "_experimentalHeaders.json"; +export { + STATIC_HEADERS_FILE +}; diff --git a/node_modules/@astrojs/node/dist/standalone.d.ts b/node_modules/@astrojs/node/dist/standalone.d.ts new file mode 100644 index 0000000..d576641 --- /dev/null +++ b/node_modules/@astrojs/node/dist/standalone.d.ts @@ -0,0 +1,23 @@ +import http from 'node:http'; +import https from 'node:https'; +import type { NodeApp } from 'astro/app/node'; +import type { Options } from './types.js'; +export declare const hostOptions: (host: Options["host"]) => string; +export default function standalone(app: NodeApp, options: Options): { + server: { + host: string; + port: number; + closed(): Promise; + stop(): Promise; + server: http.Server | https.Server; + }; + done: Promise; +}; +export declare function createStandaloneHandler(app: NodeApp, options: Options): (req: http.IncomingMessage, res: http.ServerResponse) => void; +export declare function createServer(listener: http.RequestListener, host: string, port: number): { + host: string; + port: number; + closed(): Promise; + stop(): Promise; + server: http.Server | https.Server; +}; diff --git a/node_modules/@astrojs/node/dist/standalone.js b/node_modules/@astrojs/node/dist/standalone.js new file mode 100644 index 0000000..e1c2e1b --- /dev/null +++ b/node_modules/@astrojs/node/dist/standalone.js @@ -0,0 +1,82 @@ +import fs from "node:fs"; +import http from "node:http"; +import https from "node:https"; +import enableDestroy from "server-destroy"; +import { logListeningOn } from "./log-listening-on.js"; +import { createAppHandler } from "./serve-app.js"; +import { createStaticHandler } from "./serve-static.js"; +const hostOptions = (host) => { + if (typeof host === "boolean") { + return host ? "0.0.0.0" : "localhost"; + } + return host; +}; +function standalone(app, options) { + const port = process.env.PORT ? Number(process.env.PORT) : options.port ?? 8080; + const host = process.env.HOST ?? hostOptions(options.host); + const handler = createStandaloneHandler(app, options); + const server = createServer(handler, host, port); + server.server.listen(port, host); + if (process.env.ASTRO_NODE_LOGGING !== "disabled") { + logListeningOn(app.getAdapterLogger(), server.server, host); + } + return { + server, + done: server.closed() + }; +} +function createStandaloneHandler(app, options) { + const appHandler = createAppHandler(app, options); + const staticHandler = createStaticHandler(app, options); + return (req, res) => { + try { + decodeURI(req.url); + } catch { + res.writeHead(400); + res.end("Bad request."); + return; + } + staticHandler(req, res, () => appHandler(req, res)); + }; +} +function createServer(listener, host, port) { + let httpServer; + if (process.env.SERVER_CERT_PATH && process.env.SERVER_KEY_PATH) { + httpServer = https.createServer( + { + key: fs.readFileSync(process.env.SERVER_KEY_PATH), + cert: fs.readFileSync(process.env.SERVER_CERT_PATH) + }, + listener + ); + } else { + httpServer = http.createServer(listener); + } + enableDestroy(httpServer); + const closed = new Promise((resolve, reject) => { + httpServer.addListener("close", resolve); + httpServer.addListener("error", reject); + }); + const previewable = { + host, + port, + closed() { + return closed; + }, + async stop() { + await new Promise((resolve, reject) => { + httpServer.destroy((err) => err ? reject(err) : resolve(void 0)); + }); + } + }; + return { + server: httpServer, + ...previewable + }; +} +export { + createServer, + createStandaloneHandler, + standalone as default, + hostOptions +}; diff --git a/node_modules/@astrojs/node/dist/types.d.ts b/node_modules/@astrojs/node/dist/types.d.ts new file mode 100644 index 0000000..27b7dbc --- /dev/null +++ b/node_modules/@astrojs/node/dist/types.d.ts @@ -0,0 +1,47 @@ +import type { IncomingMessage, ServerResponse } from 'node:http'; +import type { SSRManifest } from 'astro'; +export interface UserOptions { + /** + * Specifies the mode that the adapter builds to. + * + * - 'middleware' - Build to middleware, to be used within another Node.js server, such as Express. + * - 'standalone' - Build to a standalone server. The server starts up just by running the built script. + */ + mode: 'middleware' | 'standalone'; + /** + * Disables HTML streaming. This is useful for example if there are constraints from your host. + */ + experimentalDisableStreaming?: boolean; + /** + * If enabled, the adapter will save [static headers in the framework API file](https://docs.netlify.com/frameworks-api/#headers). + * + * Here the list of the headers that are added: + * - The CSP header of the static pages is added when CSP support is enabled. + */ + experimentalStaticHeaders?: boolean; + /** + * The host that should be used if the server needs to fetch the prerendered error page. + * If not provided, this will default to the host of the server. This should be set if the server + * should fetch prerendered error pages from a different host than the public URL of the server. + * This is useful for example if the server is behind a reverse proxy or a load balancer, or if + * static files are hosted on a different domain. Do not include a path in the URL: it will be ignored. + */ + experimentalErrorPageHost?: string | URL; +} +export interface Options extends UserOptions { + host: string | boolean; + port: number; + server: string; + client: string; + assets: string; + trailingSlash?: SSRManifest['trailingSlash']; + experimentalStaticHeaders: boolean; +} +export type RequestHandler = (...args: RequestHandlerParams) => void | Promise; +type RequestHandlerParams = [ + req: IncomingMessage, + res: ServerResponse, + next?: (err?: unknown) => void, + locals?: object +]; +export {}; diff --git a/node_modules/@astrojs/node/dist/types.js b/node_modules/@astrojs/node/dist/types.js new file mode 100644 index 0000000..e69de29 diff --git a/node_modules/@astrojs/node/package.json b/node_modules/@astrojs/node/package.json new file mode 100644 index 0000000..36040ce --- /dev/null +++ b/node_modules/@astrojs/node/package.json @@ -0,0 +1,57 @@ +{ + "name": "@astrojs/node", + "description": "Deploy your site to a Node.js server", + "version": "9.5.0", + "type": "module", + "types": "./dist/index.d.ts", + "author": "withastro", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/withastro/astro.git", + "directory": "packages/integrations/node" + }, + "keywords": [ + "withastro", + "astro-adapter" + ], + "bugs": "https://github.com/withastro/astro/issues", + "homepage": "https://docs.astro.build/en/guides/integrations-guide/node/", + "exports": { + ".": "./dist/index.js", + "./server.js": "./dist/server.js", + "./preview.js": "./dist/preview.js", + "./package.json": "./package.json" + }, + "files": [ + "dist" + ], + "dependencies": { + "send": "^1.2.0", + "server-destroy": "^1.0.1", + "@astrojs/internal-helpers": "0.7.4" + }, + "peerDependencies": { + "astro": "^5.14.3" + }, + "devDependencies": { + "@types/node": "^22.10.6", + "@types/send": "^0.17.5", + "@types/server-destroy": "^1.0.4", + "cheerio": "1.1.2", + "devalue": "^5.3.2", + "express": "^4.21.2", + "node-mocks-http": "^1.17.2", + "astro": "5.14.5", + "astro-scripts": "0.0.14" + }, + "publishConfig": { + "provenance": true + }, + "scripts": { + "dev": "astro-scripts dev \"src/**/*.ts\"", + "build": "astro-scripts build \"src/**/*.ts\" && tsc", + "build:ci": "astro-scripts build \"src/**/*.ts\"", + "test": "astro-scripts test \"test/**/*.test.js\"" + } +} \ No newline at end of file diff --git a/node_modules/@astrojs/sitemap/LICENSE b/node_modules/@astrojs/sitemap/LICENSE new file mode 100644 index 0000000..b3cd0c0 --- /dev/null +++ b/node_modules/@astrojs/sitemap/LICENSE @@ -0,0 +1,59 @@ +MIT License + +Copyright (c) 2021 Fred K. Schott + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +""" +This license applies to parts of the `packages/create-astro` and `packages/astro` subdirectories originating from the https://github.com/sveltejs/kit repository: + +Copyright (c) 2020 [these people](https://github.com/sveltejs/kit/graphs/contributors) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +""" + +""" +This license applies to parts of the `packages/create-astro` and `packages/astro` subdirectories originating from the https://github.com/vitejs/vite repository: + +MIT License + +Copyright (c) 2019-present, Yuxi (Evan) You and Vite contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +""" diff --git a/node_modules/@astrojs/sitemap/README.md b/node_modules/@astrojs/sitemap/README.md new file mode 100644 index 0000000..4fc5efd --- /dev/null +++ b/node_modules/@astrojs/sitemap/README.md @@ -0,0 +1,38 @@ +# @astrojs/sitemap 🗺 + +This **[Astro integration][astro-integration]** generates a sitemap based on your pages when you build your Astro project. + +## Documentation + +Read the [`@astrojs/sitemap` docs][docs] + +## Support + +- Get help in the [Astro Discord][discord]. Post questions in our `#support` forum, or visit our dedicated `#dev` channel to discuss current development and more! + +- Check our [Astro Integration Documentation][astro-integration] for more on integrations. + +- Submit bug reports and feature requests as [GitHub issues][issues]. + +## Contributing + +This package is maintained by Astro's Core team. You're welcome to submit an issue or PR! These links will help you get started: + +- [Contributor Manual][contributing] +- [Code of Conduct][coc] +- [Community Guide][community] + +## License + +MIT + +Copyright (c) 2023–present [Astro][astro] + +[astro]: https://astro.build/ +[docs]: https://docs.astro.build/en/guides/integrations-guide/sitemap/ +[contributing]: https://github.com/withastro/astro/blob/main/CONTRIBUTING.md +[coc]: https://github.com/withastro/.github/blob/main/CODE_OF_CONDUCT.md +[community]: https://github.com/withastro/.github/blob/main/COMMUNITY_GUIDE.md +[discord]: https://astro.build/chat/ +[issues]: https://github.com/withastro/astro/issues +[astro-integration]: https://docs.astro.build/en/guides/integrations-guide/ diff --git a/node_modules/@astrojs/sitemap/dist/config-defaults.d.ts b/node_modules/@astrojs/sitemap/dist/config-defaults.d.ts new file mode 100644 index 0000000..ff745fa --- /dev/null +++ b/node_modules/@astrojs/sitemap/dist/config-defaults.d.ts @@ -0,0 +1,10 @@ +export declare const SITEMAP_CONFIG_DEFAULTS: { + filenameBase: string; + entryLimit: number; + namespaces: { + news: true; + xhtml: true; + image: true; + video: true; + }; +}; diff --git a/node_modules/@astrojs/sitemap/dist/config-defaults.js b/node_modules/@astrojs/sitemap/dist/config-defaults.js new file mode 100644 index 0000000..bfa2f5c --- /dev/null +++ b/node_modules/@astrojs/sitemap/dist/config-defaults.js @@ -0,0 +1,13 @@ +const SITEMAP_CONFIG_DEFAULTS = { + filenameBase: "sitemap", + entryLimit: 45e3, + namespaces: { + news: true, + xhtml: true, + image: true, + video: true + } +}; +export { + SITEMAP_CONFIG_DEFAULTS +}; diff --git a/node_modules/@astrojs/sitemap/dist/generate-sitemap.d.ts b/node_modules/@astrojs/sitemap/dist/generate-sitemap.d.ts new file mode 100644 index 0000000..c6e59f8 --- /dev/null +++ b/node_modules/@astrojs/sitemap/dist/generate-sitemap.d.ts @@ -0,0 +1,3 @@ +import type { SitemapItem, SitemapOptions } from './index.js'; +/** Construct sitemap.xml given a set of URLs */ +export declare function generateSitemap(pages: string[], finalSiteUrl: string, opts?: SitemapOptions): SitemapItem[]; diff --git a/node_modules/@astrojs/sitemap/dist/generate-sitemap.js b/node_modules/@astrojs/sitemap/dist/generate-sitemap.js new file mode 100644 index 0000000..f3372ff --- /dev/null +++ b/node_modules/@astrojs/sitemap/dist/generate-sitemap.js @@ -0,0 +1,52 @@ +import { parseI18nUrl } from "./utils/parse-i18n-url.js"; +function generateSitemap(pages, finalSiteUrl, opts) { + const { changefreq, priority, lastmod: lastmodSrc, i18n } = opts ?? {}; + const urls = [...pages]; + urls.sort((a, b) => a.localeCompare(b, "en", { numeric: true })); + const lastmod = lastmodSrc?.toISOString(); + const { defaultLocale, locales } = i18n ?? {}; + let getI18nLinks; + if (defaultLocale && locales) { + getI18nLinks = createGetI18nLinks(urls, defaultLocale, locales, finalSiteUrl); + } + const urlData = urls.map((url, i) => ({ + url, + links: getI18nLinks?.(i), + lastmod, + priority, + changefreq + })); + return urlData; +} +function createGetI18nLinks(urls, defaultLocale, locales, finalSiteUrl) { + const parsedI18nUrls = urls.map((url) => parseI18nUrl(url, defaultLocale, locales, finalSiteUrl)); + const i18nPathToLinksCache = /* @__PURE__ */ new Map(); + return (urlIndex) => { + const i18nUrl = parsedI18nUrls[urlIndex]; + if (!i18nUrl) { + return void 0; + } + const cached = i18nPathToLinksCache.get(i18nUrl.path); + if (cached) { + return cached; + } + const links = []; + for (let i = 0; i < parsedI18nUrls.length; i++) { + const parsed = parsedI18nUrls[i]; + if (parsed?.path === i18nUrl.path) { + links.push({ + url: urls[i], + lang: locales[parsed.locale] + }); + } + } + if (links.length <= 1) { + return void 0; + } + i18nPathToLinksCache.set(i18nUrl.path, links); + return links; + }; +} +export { + generateSitemap +}; diff --git a/node_modules/@astrojs/sitemap/dist/index.d.ts b/node_modules/@astrojs/sitemap/dist/index.d.ts new file mode 100644 index 0000000..938abd2 --- /dev/null +++ b/node_modules/@astrojs/sitemap/dist/index.d.ts @@ -0,0 +1,30 @@ +import type { AstroIntegration } from 'astro'; +import type { EnumChangefreq, LinkItem as LinkItemBase, SitemapItemLoose } from 'sitemap'; +export { EnumChangefreq as ChangeFreqEnum } from 'sitemap'; +export type ChangeFreq = `${EnumChangefreq}`; +export type SitemapItem = Pick; +export type LinkItem = LinkItemBase; +export type SitemapOptions = { + filenameBase?: string; + filter?(page: string): boolean; + customSitemaps?: string[]; + customPages?: string[]; + i18n?: { + defaultLocale: string; + locales: Record; + }; + entryLimit?: number; + changefreq?: ChangeFreq; + lastmod?: Date; + priority?: number; + serialize?(item: SitemapItem): SitemapItem | Promise | undefined; + xslURL?: string; + namespaces?: { + news?: boolean; + xhtml?: boolean; + image?: boolean; + video?: boolean; + }; +} | undefined; +declare const createPlugin: (options?: SitemapOptions) => AstroIntegration; +export default createPlugin; diff --git a/node_modules/@astrojs/sitemap/dist/index.js b/node_modules/@astrojs/sitemap/dist/index.js new file mode 100644 index 0000000..218f46d --- /dev/null +++ b/node_modules/@astrojs/sitemap/dist/index.js @@ -0,0 +1,138 @@ +import path from "node:path"; +import { fileURLToPath } from "node:url"; +import { ZodError } from "zod"; +import { generateSitemap } from "./generate-sitemap.js"; +import { validateOptions } from "./validate-options.js"; +import { writeSitemap } from "./write-sitemap.js"; +import { EnumChangefreq } from "sitemap"; +function formatConfigErrorMessage(err) { + const errorList = err.issues.map((issue) => ` ${issue.path.join(".")} ${issue.message + "."}`); + return errorList.join("\n"); +} +const PKG_NAME = "@astrojs/sitemap"; +const STATUS_CODE_PAGES = /* @__PURE__ */ new Set(["404", "500"]); +const isStatusCodePage = (locales) => { + const statusPathNames = new Set( + locales.flatMap((locale) => [...STATUS_CODE_PAGES].map((page) => `${locale}/${page}`)).concat([...STATUS_CODE_PAGES]) + ); + return (pathname) => { + if (pathname.endsWith("/")) { + pathname = pathname.slice(0, -1); + } + if (pathname.startsWith("/")) { + pathname = pathname.slice(1); + } + return statusPathNames.has(pathname); + }; +}; +const createPlugin = (options) => { + let config; + return { + name: PKG_NAME, + hooks: { + "astro:config:done": async ({ config: cfg }) => { + config = cfg; + }, + "astro:build:done": async ({ dir, routes, pages, logger }) => { + try { + if (!config.site) { + logger.warn( + "The Sitemap integration requires the `site` astro.config option. Skipping." + ); + return; + } + const opts = validateOptions(config.site, options); + const { filenameBase, filter, customPages, customSitemaps, serialize, entryLimit } = opts; + const outFile = `${filenameBase}-index.xml`; + const finalSiteUrl = new URL(config.base, config.site); + const shouldIgnoreStatus = isStatusCodePage(Object.keys(opts.i18n?.locales ?? {})); + let pageUrls = pages.filter((p) => !shouldIgnoreStatus(p.pathname)).map((p) => { + if (p.pathname !== "" && !finalSiteUrl.pathname.endsWith("/")) + finalSiteUrl.pathname += "/"; + if (p.pathname.startsWith("/")) p.pathname = p.pathname.slice(1); + const fullPath = finalSiteUrl.pathname + p.pathname; + return new URL(fullPath, finalSiteUrl).href; + }); + const routeUrls = routes.reduce((urls, r) => { + if (r.type !== "page") return urls; + if (r.pathname) { + if (shouldIgnoreStatus(r.pathname ?? r.route)) return urls; + let fullPath = finalSiteUrl.pathname; + if (fullPath.endsWith("/")) fullPath += r.generate(r.pathname).substring(1); + else fullPath += r.generate(r.pathname); + const newUrl = new URL(fullPath, finalSiteUrl).href; + if (config.trailingSlash === "never") { + urls.push(newUrl); + } else if (config.build.format === "directory" && !newUrl.endsWith("/")) { + urls.push(newUrl + "/"); + } else { + urls.push(newUrl); + } + } + return urls; + }, []); + pageUrls = Array.from(/* @__PURE__ */ new Set([...pageUrls, ...routeUrls, ...customPages ?? []])); + if (filter) { + pageUrls = pageUrls.filter(filter); + } + if (pageUrls.length === 0) { + logger.warn(`No pages found! +\`${outFile}\` not created.`); + return; + } + let urlData = generateSitemap(pageUrls, finalSiteUrl.href, opts); + if (serialize) { + try { + const serializedUrls = []; + for (const item of urlData) { + const serialized = await Promise.resolve(serialize(item)); + if (serialized) { + serializedUrls.push(serialized); + } + } + if (serializedUrls.length === 0) { + logger.warn("No pages found!"); + return; + } + urlData = serializedUrls; + } catch (err) { + logger.error(`Error serializing pages +${err.toString()}`); + return; + } + } + const destDir = fileURLToPath(dir); + const lastmod = opts.lastmod?.toISOString(); + const xslURL = opts.xslURL ? new URL(opts.xslURL, finalSiteUrl).href : void 0; + await writeSitemap( + { + filenameBase, + hostname: finalSiteUrl.href, + destinationDir: destDir, + publicBasePath: config.base, + sourceData: urlData, + limit: entryLimit, + customSitemaps, + xslURL, + lastmod, + namespaces: opts.namespaces + }, + config + ); + logger.info(`\`${outFile}\` created at \`${path.relative(process.cwd(), destDir)}\``); + } catch (err) { + if (err instanceof ZodError) { + logger.warn(formatConfigErrorMessage(err)); + } else { + throw err; + } + } + } + } + }; +}; +var index_default = createPlugin; +export { + EnumChangefreq as ChangeFreqEnum, + index_default as default +}; diff --git a/node_modules/@astrojs/sitemap/dist/schema.d.ts b/node_modules/@astrojs/sitemap/dist/schema.d.ts new file mode 100644 index 0000000..4e95e7f --- /dev/null +++ b/node_modules/@astrojs/sitemap/dist/schema.d.ts @@ -0,0 +1,91 @@ +import { EnumChangefreq as ChangeFreq } from 'sitemap'; +import { z } from 'zod'; +export declare const SitemapOptionsSchema: z.ZodDefault>; + filter: z.ZodOptional, z.ZodBoolean>>; + customSitemaps: z.ZodOptional>; + customPages: z.ZodOptional>; + canonicalURL: z.ZodOptional; + xslURL: z.ZodOptional; + i18n: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + defaultLocale: string; + locales: Record; + }, { + defaultLocale: string; + locales: Record; + }>, { + defaultLocale: string; + locales: Record; + }, { + defaultLocale: string; + locales: Record; + }>>; + entryLimit: z.ZodDefault>; + serialize: z.ZodOptional, z.ZodAny>>; + changefreq: z.ZodOptional>; + lastmod: z.ZodOptional; + priority: z.ZodOptional; + namespaces: z.ZodDefault; + xhtml: z.ZodOptional; + image: z.ZodOptional; + video: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + news?: boolean | undefined; + xhtml?: boolean | undefined; + image?: boolean | undefined; + video?: boolean | undefined; + }, { + news?: boolean | undefined; + xhtml?: boolean | undefined; + image?: boolean | undefined; + video?: boolean | undefined; + }>>>; +}, "strict", z.ZodTypeAny, { + filenameBase: string; + entryLimit: number; + namespaces: { + news?: boolean | undefined; + xhtml?: boolean | undefined; + image?: boolean | undefined; + video?: boolean | undefined; + }; + changefreq?: ChangeFreq | undefined; + priority?: number | undefined; + lastmod?: Date | undefined; + i18n?: { + defaultLocale: string; + locales: Record; + } | undefined; + filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined; + customSitemaps?: string[] | undefined; + customPages?: string[] | undefined; + canonicalURL?: string | undefined; + xslURL?: string | undefined; + serialize?: ((args_0: any, ...args: unknown[]) => any) | undefined; +}, { + changefreq?: ChangeFreq | undefined; + priority?: number | undefined; + lastmod?: Date | undefined; + i18n?: { + defaultLocale: string; + locales: Record; + } | undefined; + filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined; + filenameBase?: string | undefined; + entryLimit?: number | undefined; + customSitemaps?: string[] | undefined; + customPages?: string[] | undefined; + canonicalURL?: string | undefined; + xslURL?: string | undefined; + serialize?: ((args_0: any, ...args: unknown[]) => any) | undefined; + namespaces?: { + news?: boolean | undefined; + xhtml?: boolean | undefined; + image?: boolean | undefined; + video?: boolean | undefined; + } | undefined; +}>>; diff --git a/node_modules/@astrojs/sitemap/dist/schema.js b/node_modules/@astrojs/sitemap/dist/schema.js new file mode 100644 index 0000000..9be4afc --- /dev/null +++ b/node_modules/@astrojs/sitemap/dist/schema.js @@ -0,0 +1,37 @@ +import { EnumChangefreq as ChangeFreq } from "sitemap"; +import { z } from "zod"; +import { SITEMAP_CONFIG_DEFAULTS } from "./config-defaults.js"; +const localeKeySchema = z.string().min(1); +const SitemapOptionsSchema = z.object({ + filenameBase: z.string().optional().default(SITEMAP_CONFIG_DEFAULTS.filenameBase), + filter: z.function().args(z.string()).returns(z.boolean()).optional(), + customSitemaps: z.string().url().array().optional(), + customPages: z.string().url().array().optional(), + canonicalURL: z.string().url().optional(), + xslURL: z.string().optional(), + i18n: z.object({ + defaultLocale: localeKeySchema, + locales: z.record( + localeKeySchema, + z.string().min(2).regex(/^[a-zA-Z\-]+$/gm, { + message: "Only English alphabet symbols and hyphen allowed" + }) + ) + }).refine((val) => !val || val.locales[val.defaultLocale], { + message: "`defaultLocale` must exist in `locales` keys" + }).optional(), + entryLimit: z.number().nonnegative().optional().default(SITEMAP_CONFIG_DEFAULTS.entryLimit), + serialize: z.function().args(z.any()).returns(z.any()).optional(), + changefreq: z.nativeEnum(ChangeFreq).optional(), + lastmod: z.date().optional(), + priority: z.number().min(0).max(1).optional(), + namespaces: z.object({ + news: z.boolean().optional(), + xhtml: z.boolean().optional(), + image: z.boolean().optional(), + video: z.boolean().optional() + }).optional().default(SITEMAP_CONFIG_DEFAULTS.namespaces) +}).strict().default(SITEMAP_CONFIG_DEFAULTS); +export { + SitemapOptionsSchema +}; diff --git a/node_modules/@astrojs/sitemap/dist/utils/parse-i18n-url.d.ts b/node_modules/@astrojs/sitemap/dist/utils/parse-i18n-url.d.ts new file mode 100644 index 0000000..d62b603 --- /dev/null +++ b/node_modules/@astrojs/sitemap/dist/utils/parse-i18n-url.d.ts @@ -0,0 +1,6 @@ +interface ParsedI18nUrl { + locale: string; + path: string; +} +export declare function parseI18nUrl(url: string, defaultLocale: string, locales: Record, base: string): ParsedI18nUrl | undefined; +export {}; diff --git a/node_modules/@astrojs/sitemap/dist/utils/parse-i18n-url.js b/node_modules/@astrojs/sitemap/dist/utils/parse-i18n-url.js new file mode 100644 index 0000000..f03de4b --- /dev/null +++ b/node_modules/@astrojs/sitemap/dist/utils/parse-i18n-url.js @@ -0,0 +1,24 @@ +function parseI18nUrl(url, defaultLocale, locales, base) { + if (!url.startsWith(base)) { + return void 0; + } + let s = url.slice(base.length); + if (!s || s === "/") { + return { locale: defaultLocale, path: "/" }; + } + if (s[0] !== "/") { + s = "/" + s; + } + const locale = s.split("/")[1]; + if (locale in locales) { + let path = s.slice(1 + locale.length); + if (!path) { + path = "/"; + } + return { locale, path }; + } + return { locale: defaultLocale, path: s }; +} +export { + parseI18nUrl +}; diff --git a/node_modules/@astrojs/sitemap/dist/validate-options.d.ts b/node_modules/@astrojs/sitemap/dist/validate-options.d.ts new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@astrojs/sitemap/dist/validate-options.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@astrojs/sitemap/dist/validate-options.js b/node_modules/@astrojs/sitemap/dist/validate-options.js new file mode 100644 index 0000000..4fd51be --- /dev/null +++ b/node_modules/@astrojs/sitemap/dist/validate-options.js @@ -0,0 +1,20 @@ +import { z } from "zod"; +import { SitemapOptionsSchema } from "./schema.js"; +const validateOptions = (site, opts) => { + const result = SitemapOptionsSchema.parse(opts); + z.object({ + site: z.string().optional(), + // Astro takes care of `site`: how to validate, transform and refine + canonicalURL: z.string().optional() + // `canonicalURL` is already validated in prev step + }).refine((options) => options.site || options.canonicalURL, { + message: "Required `site` astro.config option or `canonicalURL` integration option" + }).parse({ + site, + canonicalURL: result.canonicalURL + }); + return result; +}; +export { + validateOptions +}; diff --git a/node_modules/@astrojs/sitemap/dist/write-sitemap.d.ts b/node_modules/@astrojs/sitemap/dist/write-sitemap.d.ts new file mode 100644 index 0000000..cde1384 --- /dev/null +++ b/node_modules/@astrojs/sitemap/dist/write-sitemap.d.ts @@ -0,0 +1,22 @@ +import type { AstroConfig } from 'astro'; +import type { SitemapItem } from './index.js'; +type WriteSitemapConfig = { + filenameBase: string; + hostname: string; + sitemapHostname?: string; + customSitemaps?: string[]; + sourceData: SitemapItem[]; + destinationDir: string; + publicBasePath?: string; + limit?: number; + xslURL?: string; + lastmod?: string; + namespaces?: { + news?: boolean; + xhtml?: boolean; + image?: boolean; + video?: boolean; + }; +}; +export declare function writeSitemap({ filenameBase, hostname, sitemapHostname, sourceData, destinationDir, limit, customSitemaps, publicBasePath, xslURL: xslUrl, lastmod, namespaces, }: WriteSitemapConfig, astroConfig: AstroConfig): Promise; +export {}; diff --git a/node_modules/@astrojs/sitemap/dist/write-sitemap.js b/node_modules/@astrojs/sitemap/dist/write-sitemap.js new file mode 100644 index 0000000..58299d8 --- /dev/null +++ b/node_modules/@astrojs/sitemap/dist/write-sitemap.js @@ -0,0 +1,71 @@ +import { createWriteStream } from "node:fs"; +import { mkdir } from "node:fs/promises"; +import { normalize, resolve } from "node:path"; +import { pipeline, Readable } from "node:stream"; +import { promisify } from "node:util"; +import { SitemapAndIndexStream, SitemapIndexStream, SitemapStream } from "sitemap"; +import replace from "stream-replace-string"; +async function writeSitemap({ + filenameBase, + hostname, + sitemapHostname = hostname, + sourceData, + destinationDir, + limit = 5e4, + customSitemaps = [], + publicBasePath = "./", + xslURL: xslUrl, + lastmod, + namespaces = { news: true, xhtml: true, image: true, video: true } +}, astroConfig) { + await mkdir(destinationDir, { recursive: true }); + const sitemapAndIndexStream = new SitemapAndIndexStream({ + limit, + xslUrl, + getSitemapStream: (i) => { + const sitemapStream = new SitemapStream({ + hostname, + xslUrl, + // Custom namespace handling + xmlns: { + news: namespaces?.news !== false, + xhtml: namespaces?.xhtml !== false, + image: namespaces?.image !== false, + video: namespaces?.video !== false + } + }); + const path = `./${filenameBase}-${i}.xml`; + const writePath = resolve(destinationDir, path); + if (!publicBasePath.endsWith("/")) { + publicBasePath += "/"; + } + const publicPath = normalize(publicBasePath + path); + let stream; + if (astroConfig.trailingSlash === "never" || astroConfig.build.format === "file") { + const host = hostname.endsWith("/") ? hostname.slice(0, -1) : hostname; + const searchStr = `${host}/`; + const replaceStr = `${host}`; + stream = sitemapStream.pipe(replace(searchStr, replaceStr)).pipe(createWriteStream(writePath)); + } else { + stream = sitemapStream.pipe(createWriteStream(writePath)); + } + const url = new URL(publicPath, sitemapHostname).toString(); + return [{ url, lastmod }, sitemapStream, stream]; + } + }); + const src = Readable.from(sourceData); + const indexPath = resolve(destinationDir, `./${filenameBase}-index.xml`); + for (const url of customSitemaps) { + SitemapIndexStream.prototype._transform.call( + sitemapAndIndexStream, + { url, lastmod }, + "utf8", + () => { + } + ); + } + return promisify(pipeline)(src, sitemapAndIndexStream, createWriteStream(indexPath)); +} +export { + writeSitemap +}; diff --git a/node_modules/@astrojs/sitemap/package.json b/node_modules/@astrojs/sitemap/package.json new file mode 100644 index 0000000..3e525ef --- /dev/null +++ b/node_modules/@astrojs/sitemap/package.json @@ -0,0 +1,48 @@ +{ + "name": "@astrojs/sitemap", + "description": "Generate a sitemap for your Astro site", + "version": "3.6.0", + "type": "module", + "types": "./dist/index.d.ts", + "author": "withastro", + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/withastro/astro.git", + "directory": "packages/integrations/sitemap" + }, + "keywords": [ + "astro-integration", + "astro-component", + "seo", + "sitemap" + ], + "bugs": "https://github.com/withastro/astro/issues", + "homepage": "https://docs.astro.build/en/guides/integrations-guide/sitemap/", + "exports": { + ".": "./dist/index.js", + "./package.json": "./package.json" + }, + "files": [ + "dist" + ], + "dependencies": { + "sitemap": "^8.0.0", + "stream-replace-string": "^2.0.0", + "zod": "^3.25.76" + }, + "devDependencies": { + "xml2js": "0.6.2", + "astro-scripts": "0.0.14", + "astro": "5.13.8" + }, + "publishConfig": { + "provenance": true + }, + "scripts": { + "build": "astro-scripts build \"src/**/*.ts\" && tsc", + "build:ci": "astro-scripts build \"src/**/*.ts\"", + "dev": "astro-scripts dev \"src/**/*.ts\"", + "test": "astro-scripts test \"test/**/*.test.js\"" + } +} \ No newline at end of file diff --git a/node_modules/@img/sharp-libvips-linuxmusl-x64/README.md b/node_modules/@img/sharp-libvips-linuxmusl-x64/README.md new file mode 100644 index 0000000..a220ae4 --- /dev/null +++ b/node_modules/@img/sharp-libvips-linuxmusl-x64/README.md @@ -0,0 +1,46 @@ +# `@img/sharp-libvips-linuxmusl-x64` + +Prebuilt libvips and dependencies for use with sharp on Linux (musl) x64. + +## Licensing + +This software contains third-party libraries +used under the terms of the following licences: + +| Library | Used under the terms of | +|---------------|-----------------------------------------------------------------------------------------------------------| +| aom | BSD 2-Clause + [Alliance for Open Media Patent License 1.0](https://aomedia.org/license/patent-license/) | +| cairo | Mozilla Public License 2.0 | +| cgif | MIT Licence | +| expat | MIT Licence | +| fontconfig | [fontconfig Licence](https://gitlab.freedesktop.org/fontconfig/fontconfig/blob/main/COPYING) (BSD-like) | +| freetype | [freetype Licence](https://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/FTL.TXT) (BSD-like) | +| fribidi | LGPLv3 | +| glib | LGPLv3 | +| harfbuzz | MIT Licence | +| highway | Apache-2.0 License, BSD 3-Clause | +| lcms | MIT Licence | +| libarchive | BSD 2-Clause | +| libexif | LGPLv3 | +| libffi | MIT Licence | +| libheif | LGPLv3 | +| libimagequant | [BSD 2-Clause](https://github.com/lovell/libimagequant/blob/main/COPYRIGHT) | +| libnsgif | MIT Licence | +| libpng | [libpng License](https://github.com/pnggroup/libpng/blob/master/LICENSE) | +| librsvg | LGPLv3 | +| libspng | [BSD 2-Clause, libpng License](https://github.com/randy408/libspng/blob/master/LICENSE) | +| libtiff | [libtiff License](https://gitlab.com/libtiff/libtiff/blob/master/LICENSE.md) (BSD-like) | +| libvips | LGPLv3 | +| libwebp | New BSD License | +| libxml2 | MIT Licence | +| mozjpeg | [zlib License, IJG License, BSD-3-Clause](https://github.com/mozilla/mozjpeg/blob/master/LICENSE.md) | +| pango | LGPLv3 | +| pixman | MIT Licence | +| proxy-libintl | LGPLv3 | +| zlib-ng | [zlib Licence](https://github.com/zlib-ng/zlib-ng/blob/develop/LICENSE.md) | + +Use of libraries under the terms of the LGPLv3 is via the +"any later version" clause of the LGPLv2 or LGPLv2.1. + +Please report any errors or omissions via +https://github.com/lovell/sharp-libvips/issues/new diff --git a/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/glib-2.0/include/glibconfig.h b/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/glib-2.0/include/glibconfig.h new file mode 100644 index 0000000..17473b8 --- /dev/null +++ b/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/glib-2.0/include/glibconfig.h @@ -0,0 +1,221 @@ +/* glibconfig.h + * + * This is a generated file. Please modify 'glibconfig.h.in' + */ + +#ifndef __GLIBCONFIG_H__ +#define __GLIBCONFIG_H__ + +#include + +#include +#include +#define GLIB_HAVE_ALLOCA_H + +#define GLIB_STATIC_COMPILATION 1 +#define GOBJECT_STATIC_COMPILATION 1 +#define GIO_STATIC_COMPILATION 1 +#define GMODULE_STATIC_COMPILATION 1 +#define GI_STATIC_COMPILATION 1 +#define G_INTL_STATIC_COMPILATION 1 +#define FFI_STATIC_BUILD 1 + +/* Specifies that GLib's g_print*() functions wrap the + * system printf functions. This is useful to know, for example, + * when using glibc's register_printf_function(). + */ +#define GLIB_USING_SYSTEM_PRINTF + +G_BEGIN_DECLS + +#define G_MINFLOAT FLT_MIN +#define G_MAXFLOAT FLT_MAX +#define G_MINDOUBLE DBL_MIN +#define G_MAXDOUBLE DBL_MAX +#define G_MINSHORT SHRT_MIN +#define G_MAXSHORT SHRT_MAX +#define G_MAXUSHORT USHRT_MAX +#define G_MININT INT_MIN +#define G_MAXINT INT_MAX +#define G_MAXUINT UINT_MAX +#define G_MINLONG LONG_MIN +#define G_MAXLONG LONG_MAX +#define G_MAXULONG ULONG_MAX + +typedef signed char gint8; +typedef unsigned char guint8; + +typedef signed short gint16; +typedef unsigned short guint16; + +#define G_GINT16_MODIFIER "h" +#define G_GINT16_FORMAT "hi" +#define G_GUINT16_FORMAT "hu" + + +typedef signed int gint32; +typedef unsigned int guint32; + +#define G_GINT32_MODIFIER "" +#define G_GINT32_FORMAT "i" +#define G_GUINT32_FORMAT "u" + + +#define G_HAVE_GINT64 1 /* deprecated, always true */ + +typedef signed long gint64; +typedef unsigned long guint64; + +#define G_GINT64_CONSTANT(val) (val##L) +#define G_GUINT64_CONSTANT(val) (val##UL) + +#define G_GINT64_MODIFIER "l" +#define G_GINT64_FORMAT "li" +#define G_GUINT64_FORMAT "lu" + + +#define GLIB_SIZEOF_VOID_P 8 +#define GLIB_SIZEOF_LONG 8 +#define GLIB_SIZEOF_SIZE_T 8 +#define GLIB_SIZEOF_SSIZE_T 8 + +typedef signed long gssize; +typedef unsigned long gsize; +#define G_GSIZE_MODIFIER "l" +#define G_GSSIZE_MODIFIER "l" +#define G_GSIZE_FORMAT "lu" +#define G_GSSIZE_FORMAT "li" + +#define G_MAXSIZE G_MAXULONG +#define G_MINSSIZE G_MINLONG +#define G_MAXSSIZE G_MAXLONG + +typedef gint64 goffset; +#define G_MINOFFSET G_MININT64 +#define G_MAXOFFSET G_MAXINT64 + +#define G_GOFFSET_MODIFIER G_GINT64_MODIFIER +#define G_GOFFSET_FORMAT G_GINT64_FORMAT +#define G_GOFFSET_CONSTANT(val) G_GINT64_CONSTANT(val) + +#define G_POLLFD_FORMAT "%d" + +#define GPOINTER_TO_INT(p) ((gint) (glong) (p)) +#define GPOINTER_TO_UINT(p) ((guint) (gulong) (p)) + +#define GINT_TO_POINTER(i) ((gpointer) (glong) (i)) +#define GUINT_TO_POINTER(u) ((gpointer) (gulong) (u)) + +typedef signed long gintptr; +typedef unsigned long guintptr; + +#define G_GINTPTR_MODIFIER "l" +#define G_GINTPTR_FORMAT "li" +#define G_GUINTPTR_FORMAT "lu" + +#define GLIB_MAJOR_VERSION 2 +#define GLIB_MINOR_VERSION 86 +#define GLIB_MICRO_VERSION 0 + +#define G_OS_UNIX + +#define G_VA_COPY va_copy + +#define G_VA_COPY_AS_ARRAY 1 + +#define G_HAVE_ISO_VARARGS 1 + +/* gcc-2.95.x supports both gnu style and ISO varargs, but if -ansi + * is passed ISO vararg support is turned off, and there is no work + * around to turn it on, so we unconditionally turn it off. + */ +#if __GNUC__ == 2 && __GNUC_MINOR__ == 95 +# undef G_HAVE_ISO_VARARGS +#endif + +#define G_HAVE_GROWING_STACK 0 + +#ifndef _MSC_VER +# define G_HAVE_GNUC_VARARGS 1 +#endif + +#if defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590) +#define G_GNUC_INTERNAL __attribute__((visibility("hidden"))) +#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) +#define G_GNUC_INTERNAL __hidden +#elif defined (__GNUC__) && defined (G_HAVE_GNUC_VISIBILITY) +#define G_GNUC_INTERNAL __attribute__((visibility("hidden"))) +#else +#define G_GNUC_INTERNAL +#endif + +#define G_THREADS_ENABLED +#define G_THREADS_IMPL_POSIX + +#define G_ATOMIC_LOCK_FREE + +#define GINT16_TO_LE(val) ((gint16) (val)) +#define GUINT16_TO_LE(val) ((guint16) (val)) +#define GINT16_TO_BE(val) ((gint16) GUINT16_SWAP_LE_BE (val)) +#define GUINT16_TO_BE(val) (GUINT16_SWAP_LE_BE (val)) + +#define GINT32_TO_LE(val) ((gint32) (val)) +#define GUINT32_TO_LE(val) ((guint32) (val)) +#define GINT32_TO_BE(val) ((gint32) GUINT32_SWAP_LE_BE (val)) +#define GUINT32_TO_BE(val) (GUINT32_SWAP_LE_BE (val)) + +#define GINT64_TO_LE(val) ((gint64) (val)) +#define GUINT64_TO_LE(val) ((guint64) (val)) +#define GINT64_TO_BE(val) ((gint64) GUINT64_SWAP_LE_BE (val)) +#define GUINT64_TO_BE(val) (GUINT64_SWAP_LE_BE (val)) + +#define GLONG_TO_LE(val) ((glong) GINT64_TO_LE (val)) +#define GULONG_TO_LE(val) ((gulong) GUINT64_TO_LE (val)) +#define GLONG_TO_BE(val) ((glong) GINT64_TO_BE (val)) +#define GULONG_TO_BE(val) ((gulong) GUINT64_TO_BE (val)) +#define GINT_TO_LE(val) ((gint) GINT32_TO_LE (val)) +#define GUINT_TO_LE(val) ((guint) GUINT32_TO_LE (val)) +#define GINT_TO_BE(val) ((gint) GINT32_TO_BE (val)) +#define GUINT_TO_BE(val) ((guint) GUINT32_TO_BE (val)) +#define GSIZE_TO_LE(val) ((gsize) GUINT64_TO_LE (val)) +#define GSSIZE_TO_LE(val) ((gssize) GINT64_TO_LE (val)) +#define GSIZE_TO_BE(val) ((gsize) GUINT64_TO_BE (val)) +#define GSSIZE_TO_BE(val) ((gssize) GINT64_TO_BE (val)) +#define G_BYTE_ORDER G_LITTLE_ENDIAN + +#define GLIB_SYSDEF_POLLIN =1 +#define GLIB_SYSDEF_POLLOUT =4 +#define GLIB_SYSDEF_POLLPRI =2 +#define GLIB_SYSDEF_POLLHUP =16 +#define GLIB_SYSDEF_POLLERR =8 +#define GLIB_SYSDEF_POLLNVAL =32 + +/* No way to disable deprecation warnings for macros, so only emit deprecation + * warnings on platforms where usage of this macro is broken */ +#if defined(__APPLE__) || defined(_MSC_VER) || defined(__CYGWIN__) +#define G_MODULE_SUFFIX "so" GLIB_DEPRECATED_MACRO_IN_2_76 +#else +#define G_MODULE_SUFFIX "so" +#endif + +typedef int GPid; +#define G_PID_FORMAT "i" + +#define GLIB_SYSDEF_AF_UNIX 1 +#define GLIB_SYSDEF_AF_INET 2 +#define GLIB_SYSDEF_AF_INET6 10 + +#define GLIB_SYSDEF_MSG_OOB 1 +#define GLIB_SYSDEF_MSG_PEEK 2 +#define GLIB_SYSDEF_MSG_DONTROUTE 4 + +#define G_DIR_SEPARATOR '/' +#define G_DIR_SEPARATOR_S "/" +#define G_SEARCHPATH_SEPARATOR ':' +#define G_SEARCHPATH_SEPARATOR_S ":" + +#undef G_HAVE_FREE_SIZED + +G_END_DECLS + +#endif /* __GLIBCONFIG_H__ */ diff --git a/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js b/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js new file mode 100644 index 0000000..5092b4d --- /dev/null +++ b/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js @@ -0,0 +1 @@ +module.exports = __dirname; diff --git a/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.2 b/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.2 new file mode 100644 index 0000000..70f27e6 Binary files /dev/null and b/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.2 differ diff --git a/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json b/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json new file mode 100644 index 0000000..b55f0d2 --- /dev/null +++ b/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json @@ -0,0 +1,42 @@ +{ + "name": "@img/sharp-libvips-linuxmusl-x64", + "version": "1.2.3", + "description": "Prebuilt libvips and dependencies for use with sharp on Linux (musl) x64", + "author": "Lovell Fuller ", + "homepage": "https://sharp.pixelplumbing.com", + "repository": { + "type": "git", + "url": "git+https://github.com/lovell/sharp-libvips.git", + "directory": "npm/linuxmusl-x64" + }, + "license": "LGPL-3.0-or-later", + "funding": { + "url": "https://opencollective.com/libvips" + }, + "preferUnplugged": true, + "publishConfig": { + "access": "public" + }, + "files": [ + "lib", + "versions.json" + ], + "type": "commonjs", + "exports": { + "./lib": "./lib/index.js", + "./package": "./package.json", + "./versions": "./versions.json" + }, + "config": { + "musl": ">=1.2.2" + }, + "os": [ + "linux" + ], + "libc": [ + "musl" + ], + "cpu": [ + "x64" + ] +} diff --git a/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json b/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json new file mode 100644 index 0000000..d9cced1 --- /dev/null +++ b/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json @@ -0,0 +1,30 @@ +{ + "aom": "3.13.1", + "archive": "3.8.1", + "cairo": "1.18.4", + "cgif": "0.5.0", + "exif": "0.6.25", + "expat": "2.7.2", + "ffi": "3.5.2", + "fontconfig": "2.17.1", + "freetype": "2.14.1", + "fribidi": "1.0.16", + "glib": "2.86.0", + "harfbuzz": "11.5.0", + "heif": "1.20.2", + "highway": "1.3.0", + "imagequant": "2.4.1", + "lcms": "2.17", + "mozjpeg": "4.1.5", + "pango": "1.57.0", + "pixman": "0.46.4", + "png": "1.6.50", + "proxy-libintl": "0.5", + "rsvg": "2.61.1", + "spng": "0.7.4", + "tiff": "4.7.0", + "vips": "8.17.2", + "webp": "1.6.0", + "xml2": "2.15.0", + "zlib-ng": "2.2.5" +} \ No newline at end of file diff --git a/node_modules/@img/sharp-linuxmusl-x64/LICENSE b/node_modules/@img/sharp-linuxmusl-x64/LICENSE new file mode 100644 index 0000000..37ec93a --- /dev/null +++ b/node_modules/@img/sharp-linuxmusl-x64/LICENSE @@ -0,0 +1,191 @@ +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and +distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the copyright +owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other entities +that control, are controlled by, or are under common control with that entity. +For the purposes of this definition, "control" means (i) the power, direct or +indirect, to cause the direction or management of such entity, whether by +contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the +outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising +permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, including +but not limited to software source code, documentation source, and configuration +files. + +"Object" form shall mean any form resulting from mechanical transformation or +translation of a Source form, including but not limited to compiled object code, +generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, made +available under the License, as indicated by a copyright notice that is included +in or attached to the work (an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object form, that +is based on (or derived from) the Work and for which the editorial revisions, +annotations, elaborations, or other modifications represent, as a whole, an +original work of authorship. For the purposes of this License, Derivative Works +shall not include works that remain separable from, or merely link (or bind by +name) to the interfaces of, the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including the original version +of the Work and any modifications or additions to that Work or Derivative Works +thereof, that is intentionally submitted to Licensor for inclusion in the Work +by the copyright owner or by an individual or Legal Entity authorized to submit +on behalf of the copyright owner. For the purposes of this definition, +"submitted" means any form of electronic, verbal, or written communication sent +to the Licensor or its representatives, including but not limited to +communication on electronic mailing lists, source code control systems, and +issue tracking systems that are managed by, or on behalf of, the Licensor for +the purpose of discussing and improving the Work, but excluding communication +that is conspicuously marked or otherwise designated in writing by the copyright +owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf +of whom a Contribution has been received by Licensor and subsequently +incorporated within the Work. + +2. Grant of Copyright License. + +Subject to the terms and conditions of this License, each Contributor hereby +grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, +irrevocable copyright license to reproduce, prepare Derivative Works of, +publicly display, publicly perform, sublicense, and distribute the Work and such +Derivative Works in Source or Object form. + +3. Grant of Patent License. + +Subject to the terms and conditions of this License, each Contributor hereby +grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, +irrevocable (except as stated in this section) patent license to make, have +made, use, offer to sell, sell, import, and otherwise transfer the Work, where +such license applies only to those patent claims licensable by such Contributor +that are necessarily infringed by their Contribution(s) alone or by combination +of their Contribution(s) with the Work to which such Contribution(s) was +submitted. If You institute patent litigation against any entity (including a +cross-claim or counterclaim in a lawsuit) alleging that the Work or a +Contribution incorporated within the Work constitutes direct or contributory +patent infringement, then any patent licenses granted to You under this License +for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. + +You may reproduce and distribute copies of the Work or Derivative Works thereof +in any medium, with or without modifications, and in Source or Object form, +provided that You meet the following conditions: + +You must give any other recipients of the Work or Derivative Works a copy of +this License; and +You must cause any modified files to carry prominent notices stating that You +changed the files; and +You must retain, in the Source form of any Derivative Works that You distribute, +all copyright, patent, trademark, and attribution notices from the Source form +of the Work, excluding those notices that do not pertain to any part of the +Derivative Works; and +If the Work includes a "NOTICE" text file as part of its distribution, then any +Derivative Works that You distribute must include a readable copy of the +attribution notices contained within such NOTICE file, excluding those notices +that do not pertain to any part of the Derivative Works, in at least one of the +following places: within a NOTICE text file distributed as part of the +Derivative Works; within the Source form or documentation, if provided along +with the Derivative Works; or, within a display generated by the Derivative +Works, if and wherever such third-party notices normally appear. The contents of +the NOTICE file are for informational purposes only and do not modify the +License. You may add Your own attribution notices within Derivative Works that +You distribute, alongside or as an addendum to the NOTICE text from the Work, +provided that such additional attribution notices cannot be construed as +modifying the License. +You may add Your own copyright statement to Your modifications and may provide +additional or different license terms and conditions for use, reproduction, or +distribution of Your modifications, or for any such Derivative Works as a whole, +provided Your use, reproduction, and distribution of the Work otherwise complies +with the conditions stated in this License. + +5. Submission of Contributions. + +Unless You explicitly state otherwise, any Contribution intentionally submitted +for inclusion in the Work by You to the Licensor shall be under the terms and +conditions of this License, without any additional terms or conditions. +Notwithstanding the above, nothing herein shall supersede or modify the terms of +any separate license agreement you may have executed with Licensor regarding +such Contributions. + +6. Trademarks. + +This License does not grant permission to use the trade names, trademarks, +service marks, or product names of the Licensor, except as required for +reasonable and customary use in describing the origin of the Work and +reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. + +Unless required by applicable law or agreed to in writing, Licensor provides the +Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, +including, without limitation, any warranties or conditions of TITLE, +NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are +solely responsible for determining the appropriateness of using or +redistributing the Work and assume any risks associated with Your exercise of +permissions under this License. + +8. Limitation of Liability. + +In no event and under no legal theory, whether in tort (including negligence), +contract, or otherwise, unless required by applicable law (such as deliberate +and grossly negligent acts) or agreed to in writing, shall any Contributor be +liable to You for damages, including any direct, indirect, special, incidental, +or consequential damages of any character arising as a result of this License or +out of the use or inability to use the Work (including but not limited to +damages for loss of goodwill, work stoppage, computer failure or malfunction, or +any and all other commercial damages or losses), even if such Contributor has +been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. + +While redistributing the Work or Derivative Works thereof, You may choose to +offer, and charge a fee for, acceptance of support, warranty, indemnity, or +other liability obligations and/or rights consistent with this License. However, +in accepting such obligations, You may act only on Your own behalf and on Your +sole responsibility, not on behalf of any other Contributor, and only if You +agree to indemnify, defend, and hold each Contributor harmless for any liability +incurred by, or claims asserted against, such Contributor by reason of your +accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work + +To apply the Apache License to your work, attach the following boilerplate +notice, with the fields enclosed by brackets "[]" replaced with your own +identifying information. (Don't include the brackets!) The text should be +enclosed in the appropriate comment syntax for the file format. We also +recommend that a file or class name and description of purpose be included on +the same "printed page" as the copyright notice for easier identification within +third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@img/sharp-linuxmusl-x64/README.md b/node_modules/@img/sharp-linuxmusl-x64/README.md new file mode 100644 index 0000000..f651f98 --- /dev/null +++ b/node_modules/@img/sharp-linuxmusl-x64/README.md @@ -0,0 +1,18 @@ +# `@img/sharp-linuxmusl-x64` + +Prebuilt sharp for use with Linux (musl) x64. + +## Licensing + +Copyright 2013 Lovell Fuller and others. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at +[https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0) + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node b/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node new file mode 100644 index 0000000..5e8b3ef Binary files /dev/null and b/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node differ diff --git a/node_modules/@img/sharp-linuxmusl-x64/package.json b/node_modules/@img/sharp-linuxmusl-x64/package.json new file mode 100644 index 0000000..3d21806 --- /dev/null +++ b/node_modules/@img/sharp-linuxmusl-x64/package.json @@ -0,0 +1,46 @@ +{ + "name": "@img/sharp-linuxmusl-x64", + "version": "0.34.4", + "description": "Prebuilt sharp for use with Linux (musl) x64", + "author": "Lovell Fuller ", + "homepage": "https://sharp.pixelplumbing.com", + "repository": { + "type": "git", + "url": "git+https://github.com/lovell/sharp.git", + "directory": "npm/linuxmusl-x64" + }, + "license": "Apache-2.0", + "funding": { + "url": "https://opencollective.com/libvips" + }, + "preferUnplugged": true, + "optionalDependencies": { + "@img/sharp-libvips-linuxmusl-x64": "1.2.3" + }, + "files": [ + "lib" + ], + "publishConfig": { + "access": "public" + }, + "type": "commonjs", + "exports": { + "./sharp.node": "./lib/sharp-linuxmusl-x64.node", + "./package": "./package.json" + }, + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "config": { + "musl": ">=1.2.2" + }, + "os": [ + "linux" + ], + "libc": [ + "musl" + ], + "cpu": [ + "x64" + ] +} diff --git a/node_modules/@rollup/rollup-linux-x64-musl/README.md b/node_modules/@rollup/rollup-linux-x64-musl/README.md new file mode 100644 index 0000000..5848a6c --- /dev/null +++ b/node_modules/@rollup/rollup-linux-x64-musl/README.md @@ -0,0 +1,3 @@ +# `@rollup/rollup-linux-x64-musl` + +This is the **x86_64-unknown-linux-musl** binary for `rollup` diff --git a/node_modules/@rollup/rollup-linux-x64-musl/package.json b/node_modules/@rollup/rollup-linux-x64-musl/package.json new file mode 100644 index 0000000..642eacb --- /dev/null +++ b/node_modules/@rollup/rollup-linux-x64-musl/package.json @@ -0,0 +1,25 @@ +{ + "name": "@rollup/rollup-linux-x64-musl", + "version": "4.52.4", + "os": [ + "linux" + ], + "cpu": [ + "x64" + ], + "files": [ + "rollup.linux-x64-musl.node" + ], + "description": "Native bindings for Rollup", + "author": "Lukas Taegert-Atkinson", + "homepage": "https://rollupjs.org/", + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/rollup/rollup.git" + }, + "libc": [ + "musl" + ], + "main": "./rollup.linux-x64-musl.node" +} \ No newline at end of file diff --git a/node_modules/@rollup/rollup-linux-x64-musl/rollup.linux-x64-musl.node b/node_modules/@rollup/rollup-linux-x64-musl/rollup.linux-x64-musl.node new file mode 100644 index 0000000..b944d13 Binary files /dev/null and b/node_modules/@rollup/rollup-linux-x64-musl/rollup.linux-x64-musl.node differ diff --git a/node_modules/@types/sax/LICENSE b/node_modules/@types/sax/LICENSE new file mode 100644 index 0000000..9e841e7 --- /dev/null +++ b/node_modules/@types/sax/LICENSE @@ -0,0 +1,21 @@ + MIT License + + Copyright (c) Microsoft Corporation. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE diff --git a/node_modules/@types/sax/README.md b/node_modules/@types/sax/README.md new file mode 100644 index 0000000..d1a0d01 --- /dev/null +++ b/node_modules/@types/sax/README.md @@ -0,0 +1,15 @@ +# Installation +> `npm install --save @types/sax` + +# Summary +This package contains type definitions for sax (https://github.com/isaacs/sax-js). + +# Details +Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sax. + +### Additional Details + * Last updated: Tue, 07 Nov 2023 15:11:36 GMT + * Dependencies: [@types/node](https://npmjs.com/package/@types/node) + +# Credits +These definitions were written by [Vincent Siao (Asana, Inc.)](https://github.com/vsiao), [Evert Pot](https://github.com/evert), [Daniel Cassidy](https://github.com/djcsdy), and [Fabian van der Veen](https://github.com/fvanderveen). diff --git a/node_modules/@types/sax/index.d.ts b/node_modules/@types/sax/index.d.ts new file mode 100644 index 0000000..30acbdb --- /dev/null +++ b/node_modules/@types/sax/index.d.ts @@ -0,0 +1,111 @@ +/// + +export const EVENTS: string[]; + +export interface SAXOptions { + trim?: boolean | undefined; + normalize?: boolean | undefined; + lowercase?: boolean | undefined; + xmlns?: boolean | undefined; + noscript?: boolean | undefined; + position?: boolean | undefined; +} + +export interface QualifiedName { + name: string; + prefix: string; + local: string; + uri: string; +} + +export interface QualifiedAttribute extends QualifiedName { + value: string; +} + +export interface BaseTag { + name: string; + isSelfClosing: boolean; +} + +// Interface used when the xmlns option is set +export interface QualifiedTag extends QualifiedName, BaseTag { + ns: { [key: string]: string }; + attributes: { [key: string]: QualifiedAttribute }; +} + +export interface Tag extends BaseTag { + attributes: { [key: string]: string }; +} + +export function parser(strict?: boolean, opt?: SAXOptions): SAXParser; +export class SAXParser { + constructor(strict?: boolean, opt?: SAXOptions); + + // Methods + end(): void; + write(s: string): SAXParser; + resume(): SAXParser; + close(): SAXParser; + flush(): void; + + // Members + line: number; + column: number; + error: Error; + position: number; + startTagPosition: number; + closed: boolean; + strict: boolean; + opt: SAXOptions; + tag: Tag; + ENTITIES: { [key: string]: string }; + + // Events + onerror(e: Error): void; + ontext(t: string): void; + ondoctype(doctype: string): void; + onprocessinginstruction(node: { name: string; body: string }): void; + onsgmldeclaration(sgmlDecl: string): void; + onopentag(tag: Tag | QualifiedTag): void; + onopentagstart(tag: Tag | QualifiedTag): void; + onclosetag(tagName: string): void; + onattribute(attr: { name: string; value: string }): void; + oncomment(comment: string): void; + onopencdata(): void; + oncdata(cdata: string): void; + onclosecdata(): void; + onopennamespace(ns: { prefix: string; uri: string }): void; + onclosenamespace(ns: { prefix: string; uri: string }): void; + onend(): void; + onready(): void; + onscript(script: string): void; +} + +import stream = require("stream"); +export function createStream(strict?: boolean, opt?: SAXOptions): SAXStream; +export class SAXStream extends stream.Duplex { + constructor(strict?: boolean, opt?: SAXOptions); + _parser: SAXParser; + on(event: "text", listener: (this: this, text: string) => void): this; + on(event: "doctype", listener: (this: this, doctype: string) => void): this; + on(event: "processinginstruction", listener: (this: this, node: { name: string; body: string }) => void): this; + on(event: "sgmldeclaration", listener: (this: this, sgmlDecl: string) => void): this; + on(event: "opentag" | "opentagstart", listener: (this: this, tag: Tag | QualifiedTag) => void): this; + on(event: "closetag", listener: (this: this, tagName: string) => void): this; + on(event: "attribute", listener: (this: this, attr: { name: string; value: string }) => void): this; + on(event: "comment", listener: (this: this, comment: string) => void): this; + on( + event: "opencdata" | "closecdata" | "end" | "ready" | "close" | "readable" | "drain" | "finish", + listener: (this: this) => void, + ): this; + on(event: "cdata", listener: (this: this, cdata: string) => void): this; + on( + event: "opennamespace" | "closenamespace", + listener: (this: this, ns: { prefix: string; uri: string }) => void, + ): this; + on(event: "script", listener: (this: this, script: string) => void): this; + on(event: "data", listener: (this: this, chunk: any) => void): this; + on(event: "error", listener: (this: this, err: Error) => void): this; + on(event: "pipe" | "unpipe", listener: (this: this, src: stream.Readable) => void): this; + on(event: string | symbol, listener: (this: this, ...args: any[]) => void): this; +} diff --git a/node_modules/@types/sax/package.json b/node_modules/@types/sax/package.json new file mode 100644 index 0000000..89759d4 --- /dev/null +++ b/node_modules/@types/sax/package.json @@ -0,0 +1,42 @@ +{ + "name": "@types/sax", + "version": "1.2.7", + "description": "TypeScript definitions for sax", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sax", + "license": "MIT", + "contributors": [ + { + "name": "Vincent Siao (Asana, Inc.)", + "githubUsername": "vsiao", + "url": "https://github.com/vsiao" + }, + { + "name": "Evert Pot", + "githubUsername": "evert", + "url": "https://github.com/evert" + }, + { + "name": "Daniel Cassidy", + "githubUsername": "djcsdy", + "url": "https://github.com/djcsdy" + }, + { + "name": "Fabian van der Veen", + "githubUsername": "fvanderveen", + "url": "https://github.com/fvanderveen" + } + ], + "main": "", + "types": "index.d.ts", + "repository": { + "type": "git", + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/sax" + }, + "scripts": {}, + "dependencies": { + "@types/node": "*" + }, + "typesPublisherContentHash": "30ff89927c6c888d3113b0a9453e6166ca211ed5d328e36eed86e90eae239b88", + "typeScriptVersion": "4.5" +} \ No newline at end of file diff --git a/node_modules/arg/LICENSE.md b/node_modules/arg/LICENSE.md new file mode 100644 index 0000000..b708f87 --- /dev/null +++ b/node_modules/arg/LICENSE.md @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2021 Vercel, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/arg/README.md b/node_modules/arg/README.md new file mode 100644 index 0000000..6501df5 --- /dev/null +++ b/node_modules/arg/README.md @@ -0,0 +1,317 @@ +# Arg + +`arg` is an unopinionated, no-frills CLI argument parser. + +## Installation + +```bash +npm install arg +``` + +## Usage + +`arg()` takes either 1 or 2 arguments: + +1. Command line specification object (see below) +2. Parse options (_Optional_, defaults to `{permissive: false, argv: process.argv.slice(2), stopAtPositional: false}`) + +It returns an object with any values present on the command-line (missing options are thus +missing from the resulting object). Arg performs no validation/requirement checking - we +leave that up to the application. + +All parameters that aren't consumed by options (commonly referred to as "extra" parameters) +are added to `result._`, which is _always_ an array (even if no extra parameters are passed, +in which case an empty array is returned). + +```javascript +const arg = require('arg'); + +// `options` is an optional parameter +const args = arg( + spec, + (options = { permissive: false, argv: process.argv.slice(2) }) +); +``` + +For example: + +```console +$ node ./hello.js --verbose -vvv --port=1234 -n 'My name' foo bar --tag qux --tag=qix -- --foobar +``` + +```javascript +// hello.js +const arg = require('arg'); + +const args = arg({ + // Types + '--help': Boolean, + '--version': Boolean, + '--verbose': arg.COUNT, // Counts the number of times --verbose is passed + '--port': Number, // --port or --port= + '--name': String, // --name or --name= + '--tag': [String], // --tag or --tag= + + // Aliases + '-v': '--verbose', + '-n': '--name', // -n ; result is stored in --name + '--label': '--name' // --label or --label=; + // result is stored in --name +}); + +console.log(args); +/* +{ + _: ["foo", "bar", "--foobar"], + '--port': 1234, + '--verbose': 4, + '--name': "My name", + '--tag': ["qux", "qix"] +} +*/ +``` + +The values for each key=>value pair is either a type (function or [function]) or a string (indicating an alias). + +- In the case of a function, the string value of the argument's value is passed to it, + and the return value is used as the ultimate value. + +- In the case of an array, the only element _must_ be a type function. Array types indicate + that the argument may be passed multiple times, and as such the resulting value in the returned + object is an array with all of the values that were passed using the specified flag. + +- In the case of a string, an alias is established. If a flag is passed that matches the _key_, + then the _value_ is substituted in its place. + +Type functions are passed three arguments: + +1. The parameter value (always a string) +2. The parameter name (e.g. `--label`) +3. The previous value for the destination (useful for reduce-like operations or for supporting `-v` multiple times, etc.) + +This means the built-in `String`, `Number`, and `Boolean` type constructors "just work" as type functions. + +Note that `Boolean` and `[Boolean]` have special treatment - an option argument is _not_ consumed or passed, but instead `true` is +returned. These options are called "flags". + +For custom handlers that wish to behave as flags, you may pass the function through `arg.flag()`: + +```javascript +const arg = require('arg'); + +const argv = [ + '--foo', + 'bar', + '-ff', + 'baz', + '--foo', + '--foo', + 'qux', + '-fff', + 'qix' +]; + +function myHandler(value, argName, previousValue) { + /* `value` is always `true` */ + return 'na ' + (previousValue || 'batman!'); +} + +const args = arg( + { + '--foo': arg.flag(myHandler), + '-f': '--foo' + }, + { + argv + } +); + +console.log(args); +/* +{ + _: ['bar', 'baz', 'qux', 'qix'], + '--foo': 'na na na na na na na na batman!' +} +*/ +``` + +As well, `arg` supplies a helper argument handler called `arg.COUNT`, which equivalent to a `[Boolean]` argument's `.length` +property - effectively counting the number of times the boolean flag, denoted by the key, is passed on the command line.. +For example, this is how you could implement `ssh`'s multiple levels of verbosity (`-vvvv` being the most verbose). + +```javascript +const arg = require('arg'); + +const argv = ['-AAAA', '-BBBB']; + +const args = arg( + { + '-A': arg.COUNT, + '-B': [Boolean] + }, + { + argv + } +); + +console.log(args); +/* +{ + _: [], + '-A': 4, + '-B': [true, true, true, true] +} +*/ +``` + +### Options + +If a second parameter is specified and is an object, it specifies parsing options to modify the behavior of `arg()`. + +#### `argv` + +If you have already sliced or generated a number of raw arguments to be parsed (as opposed to letting `arg` +slice them from `process.argv`) you may specify them in the `argv` option. + +For example: + +```javascript +const args = arg( + { + '--foo': String + }, + { + argv: ['hello', '--foo', 'world'] + } +); +``` + +results in: + +```javascript +const args = { + _: ['hello'], + '--foo': 'world' +}; +``` + +#### `permissive` + +When `permissive` set to `true`, `arg` will push any unknown arguments +onto the "extra" argument array (`result._`) instead of throwing an error about +an unknown flag. + +For example: + +```javascript +const arg = require('arg'); + +const argv = [ + '--foo', + 'hello', + '--qux', + 'qix', + '--bar', + '12345', + 'hello again' +]; + +const args = arg( + { + '--foo': String, + '--bar': Number + }, + { + argv, + permissive: true + } +); +``` + +results in: + +```javascript +const args = { + _: ['--qux', 'qix', 'hello again'], + '--foo': 'hello', + '--bar': 12345 +}; +``` + +#### `stopAtPositional` + +When `stopAtPositional` is set to `true`, `arg` will halt parsing at the first +positional argument. + +For example: + +```javascript +const arg = require('arg'); + +const argv = ['--foo', 'hello', '--bar']; + +const args = arg( + { + '--foo': Boolean, + '--bar': Boolean + }, + { + argv, + stopAtPositional: true + } +); +``` + +results in: + +```javascript +const args = { + _: ['hello', '--bar'], + '--foo': true +}; +``` + +### Errors + +Some errors that `arg` throws provide a `.code` property in order to aid in recovering from user error, or to +differentiate between user error and developer error (bug). + +##### ARG_UNKNOWN_OPTION + +If an unknown option (not defined in the spec object) is passed, an error with code `ARG_UNKNOWN_OPTION` will be thrown: + +```js +// cli.js +try { + require('arg')({ '--hi': String }); +} catch (err) { + if (err.code === 'ARG_UNKNOWN_OPTION') { + console.log(err.message); + } else { + throw err; + } +} +``` + +```shell +node cli.js --extraneous true +Unknown or unexpected option: --extraneous +``` + +# FAQ + +A few questions and answers that have been asked before: + +### How do I require an argument with `arg`? + +Do the assertion yourself, such as: + +```javascript +const args = arg({ '--name': String }); + +if (!args['--name']) throw new Error('missing required argument: --name'); +``` + +# License + +Released under the [MIT License](LICENSE.md). diff --git a/node_modules/arg/index.d.ts b/node_modules/arg/index.d.ts new file mode 100644 index 0000000..44f9f35 --- /dev/null +++ b/node_modules/arg/index.d.ts @@ -0,0 +1,44 @@ +declare function arg( + spec: T, + options?: arg.Options +): arg.Result; + +declare namespace arg { + export const flagSymbol: unique symbol; + + export function flag(fn: T): T & { [arg.flagSymbol]: true }; + + export const COUNT: Handler & { [arg.flagSymbol]: true }; + + export type Handler = ( + value: string, + name: string, + previousValue?: T + ) => T; + + export class ArgError extends Error { + constructor(message: string, code: string); + + code: string; + } + + export interface Spec { + [key: string]: string | Handler | [Handler]; + } + + export type Result = { _: string[] } & { + [K in keyof T]?: T[K] extends Handler + ? ReturnType + : T[K] extends [Handler] + ? Array> + : never; + }; + + export interface Options { + argv?: string[]; + permissive?: boolean; + stopAtPositional?: boolean; + } +} + +export = arg; diff --git a/node_modules/arg/index.js b/node_modules/arg/index.js new file mode 100644 index 0000000..3f60f4c --- /dev/null +++ b/node_modules/arg/index.js @@ -0,0 +1,195 @@ +const flagSymbol = Symbol('arg flag'); + +class ArgError extends Error { + constructor(msg, code) { + super(msg); + this.name = 'ArgError'; + this.code = code; + + Object.setPrototypeOf(this, ArgError.prototype); + } +} + +function arg( + opts, + { + argv = process.argv.slice(2), + permissive = false, + stopAtPositional = false + } = {} +) { + if (!opts) { + throw new ArgError( + 'argument specification object is required', + 'ARG_CONFIG_NO_SPEC' + ); + } + + const result = { _: [] }; + + const aliases = {}; + const handlers = {}; + + for (const key of Object.keys(opts)) { + if (!key) { + throw new ArgError( + 'argument key cannot be an empty string', + 'ARG_CONFIG_EMPTY_KEY' + ); + } + + if (key[0] !== '-') { + throw new ArgError( + `argument key must start with '-' but found: '${key}'`, + 'ARG_CONFIG_NONOPT_KEY' + ); + } + + if (key.length === 1) { + throw new ArgError( + `argument key must have a name; singular '-' keys are not allowed: ${key}`, + 'ARG_CONFIG_NONAME_KEY' + ); + } + + if (typeof opts[key] === 'string') { + aliases[key] = opts[key]; + continue; + } + + let type = opts[key]; + let isFlag = false; + + if ( + Array.isArray(type) && + type.length === 1 && + typeof type[0] === 'function' + ) { + const [fn] = type; + type = (value, name, prev = []) => { + prev.push(fn(value, name, prev[prev.length - 1])); + return prev; + }; + isFlag = fn === Boolean || fn[flagSymbol] === true; + } else if (typeof type === 'function') { + isFlag = type === Boolean || type[flagSymbol] === true; + } else { + throw new ArgError( + `type missing or not a function or valid array type: ${key}`, + 'ARG_CONFIG_VAD_TYPE' + ); + } + + if (key[1] !== '-' && key.length > 2) { + throw new ArgError( + `short argument keys (with a single hyphen) must have only one character: ${key}`, + 'ARG_CONFIG_SHORTOPT_TOOLONG' + ); + } + + handlers[key] = [type, isFlag]; + } + + for (let i = 0, len = argv.length; i < len; i++) { + const wholeArg = argv[i]; + + if (stopAtPositional && result._.length > 0) { + result._ = result._.concat(argv.slice(i)); + break; + } + + if (wholeArg === '--') { + result._ = result._.concat(argv.slice(i + 1)); + break; + } + + if (wholeArg.length > 1 && wholeArg[0] === '-') { + /* eslint-disable operator-linebreak */ + const separatedArguments = + wholeArg[1] === '-' || wholeArg.length === 2 + ? [wholeArg] + : wholeArg + .slice(1) + .split('') + .map((a) => `-${a}`); + /* eslint-enable operator-linebreak */ + + for (let j = 0; j < separatedArguments.length; j++) { + const arg = separatedArguments[j]; + const [originalArgName, argStr] = + arg[1] === '-' ? arg.split(/=(.*)/, 2) : [arg, undefined]; + + let argName = originalArgName; + while (argName in aliases) { + argName = aliases[argName]; + } + + if (!(argName in handlers)) { + if (permissive) { + result._.push(arg); + continue; + } else { + throw new ArgError( + `unknown or unexpected option: ${originalArgName}`, + 'ARG_UNKNOWN_OPTION' + ); + } + } + + const [type, isFlag] = handlers[argName]; + + if (!isFlag && j + 1 < separatedArguments.length) { + throw new ArgError( + `option requires argument (but was followed by another short argument): ${originalArgName}`, + 'ARG_MISSING_REQUIRED_SHORTARG' + ); + } + + if (isFlag) { + result[argName] = type(true, argName, result[argName]); + } else if (argStr === undefined) { + if ( + argv.length < i + 2 || + (argv[i + 1].length > 1 && + argv[i + 1][0] === '-' && + !( + argv[i + 1].match(/^-?\d*(\.(?=\d))?\d*$/) && + (type === Number || + // eslint-disable-next-line no-undef + (typeof BigInt !== 'undefined' && type === BigInt)) + )) + ) { + const extended = + originalArgName === argName ? '' : ` (alias for ${argName})`; + throw new ArgError( + `option requires argument: ${originalArgName}${extended}`, + 'ARG_MISSING_REQUIRED_LONGARG' + ); + } + + result[argName] = type(argv[i + 1], argName, result[argName]); + ++i; + } else { + result[argName] = type(argStr, argName, result[argName]); + } + } + } else { + result._.push(wholeArg); + } + } + + return result; +} + +arg.flag = (fn) => { + fn[flagSymbol] = true; + return fn; +}; + +// Utility types +arg.COUNT = arg.flag((v, name, existingCount) => (existingCount || 0) + 1); + +// Expose error class +arg.ArgError = ArgError; + +module.exports = arg; diff --git a/node_modules/arg/package.json b/node_modules/arg/package.json new file mode 100644 index 0000000..47368d7 --- /dev/null +++ b/node_modules/arg/package.json @@ -0,0 +1,28 @@ +{ + "name": "arg", + "version": "5.0.2", + "description": "Unopinionated, no-frills CLI argument parser", + "main": "index.js", + "types": "index.d.ts", + "repository": "vercel/arg", + "author": "Josh Junon ", + "license": "MIT", + "files": [ + "index.js", + "index.d.ts" + ], + "scripts": { + "test": "WARN_EXIT=1 jest --coverage -w 2" + }, + "devDependencies": { + "chai": "^4.1.1", + "jest": "^27.0.6", + "prettier": "^2.3.2" + }, + "prettier": { + "arrowParens": "always", + "singleQuote": true, + "tabWidth": 2, + "trailingComma": "none" + } +} diff --git a/node_modules/depd/History.md b/node_modules/depd/History.md new file mode 100644 index 0000000..cd9ebaa --- /dev/null +++ b/node_modules/depd/History.md @@ -0,0 +1,103 @@ +2.0.0 / 2018-10-26 +================== + + * Drop support for Node.js 0.6 + * Replace internal `eval` usage with `Function` constructor + * Use instance methods on `process` to check for listeners + +1.1.2 / 2018-01-11 +================== + + * perf: remove argument reassignment + * Support Node.js 0.6 to 9.x + +1.1.1 / 2017-07-27 +================== + + * Remove unnecessary `Buffer` loading + * Support Node.js 0.6 to 8.x + +1.1.0 / 2015-09-14 +================== + + * Enable strict mode in more places + * Support io.js 3.x + * Support io.js 2.x + * Support web browser loading + - Requires bundler like Browserify or webpack + +1.0.1 / 2015-04-07 +================== + + * Fix `TypeError`s when under `'use strict'` code + * Fix useless type name on auto-generated messages + * Support io.js 1.x + * Support Node.js 0.12 + +1.0.0 / 2014-09-17 +================== + + * No changes + +0.4.5 / 2014-09-09 +================== + + * Improve call speed to functions using the function wrapper + * Support Node.js 0.6 + +0.4.4 / 2014-07-27 +================== + + * Work-around v8 generating empty stack traces + +0.4.3 / 2014-07-26 +================== + + * Fix exception when global `Error.stackTraceLimit` is too low + +0.4.2 / 2014-07-19 +================== + + * Correct call site for wrapped functions and properties + +0.4.1 / 2014-07-19 +================== + + * Improve automatic message generation for function properties + +0.4.0 / 2014-07-19 +================== + + * Add `TRACE_DEPRECATION` environment variable + * Remove non-standard grey color from color output + * Support `--no-deprecation` argument + * Support `--trace-deprecation` argument + * Support `deprecate.property(fn, prop, message)` + +0.3.0 / 2014-06-16 +================== + + * Add `NO_DEPRECATION` environment variable + +0.2.0 / 2014-06-15 +================== + + * Add `deprecate.property(obj, prop, message)` + * Remove `supports-color` dependency for node.js 0.8 + +0.1.0 / 2014-06-15 +================== + + * Add `deprecate.function(fn, message)` + * Add `process.on('deprecation', fn)` emitter + * Automatically generate message when omitted from `deprecate()` + +0.0.1 / 2014-06-15 +================== + + * Fix warning for dynamic calls at singe call site + +0.0.0 / 2014-06-15 +================== + + * Initial implementation diff --git a/node_modules/depd/LICENSE b/node_modules/depd/LICENSE new file mode 100644 index 0000000..248de7a --- /dev/null +++ b/node_modules/depd/LICENSE @@ -0,0 +1,22 @@ +(The MIT License) + +Copyright (c) 2014-2018 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/depd/Readme.md b/node_modules/depd/Readme.md new file mode 100644 index 0000000..043d1ca --- /dev/null +++ b/node_modules/depd/Readme.md @@ -0,0 +1,280 @@ +# depd + +[![NPM Version][npm-version-image]][npm-url] +[![NPM Downloads][npm-downloads-image]][npm-url] +[![Node.js Version][node-image]][node-url] +[![Linux Build][travis-image]][travis-url] +[![Windows Build][appveyor-image]][appveyor-url] +[![Coverage Status][coveralls-image]][coveralls-url] + +Deprecate all the things + +> With great modules comes great responsibility; mark things deprecated! + +## Install + +This module is installed directly using `npm`: + +```sh +$ npm install depd +``` + +This module can also be bundled with systems like +[Browserify](http://browserify.org/) or [webpack](https://webpack.github.io/), +though by default this module will alter it's API to no longer display or +track deprecations. + +## API + + + +```js +var deprecate = require('depd')('my-module') +``` + +This library allows you to display deprecation messages to your users. +This library goes above and beyond with deprecation warnings by +introspection of the call stack (but only the bits that it is interested +in). + +Instead of just warning on the first invocation of a deprecated +function and never again, this module will warn on the first invocation +of a deprecated function per unique call site, making it ideal to alert +users of all deprecated uses across the code base, rather than just +whatever happens to execute first. + +The deprecation warnings from this module also include the file and line +information for the call into the module that the deprecated function was +in. + +**NOTE** this library has a similar interface to the `debug` module, and +this module uses the calling file to get the boundary for the call stacks, +so you should always create a new `deprecate` object in each file and not +within some central file. + +### depd(namespace) + +Create a new deprecate function that uses the given namespace name in the +messages and will display the call site prior to the stack entering the +file this function was called from. It is highly suggested you use the +name of your module as the namespace. + +### deprecate(message) + +Call this function from deprecated code to display a deprecation message. +This message will appear once per unique caller site. Caller site is the +first call site in the stack in a different file from the caller of this +function. + +If the message is omitted, a message is generated for you based on the site +of the `deprecate()` call and will display the name of the function called, +similar to the name displayed in a stack trace. + +### deprecate.function(fn, message) + +Call this function to wrap a given function in a deprecation message on any +call to the function. An optional message can be supplied to provide a custom +message. + +### deprecate.property(obj, prop, message) + +Call this function to wrap a given property on object in a deprecation message +on any accessing or setting of the property. An optional message can be supplied +to provide a custom message. + +The method must be called on the object where the property belongs (not +inherited from the prototype). + +If the property is a data descriptor, it will be converted to an accessor +descriptor in order to display the deprecation message. + +### process.on('deprecation', fn) + +This module will allow easy capturing of deprecation errors by emitting the +errors as the type "deprecation" on the global `process`. If there are no +listeners for this type, the errors are written to STDERR as normal, but if +there are any listeners, nothing will be written to STDERR and instead only +emitted. From there, you can write the errors in a different format or to a +logging source. + +The error represents the deprecation and is emitted only once with the same +rules as writing to STDERR. The error has the following properties: + + - `message` - This is the message given by the library + - `name` - This is always `'DeprecationError'` + - `namespace` - This is the namespace the deprecation came from + - `stack` - This is the stack of the call to the deprecated thing + +Example `error.stack` output: + +``` +DeprecationError: my-cool-module deprecated oldfunction + at Object. ([eval]-wrapper:6:22) + at Module._compile (module.js:456:26) + at evalScript (node.js:532:25) + at startup (node.js:80:7) + at node.js:902:3 +``` + +### process.env.NO_DEPRECATION + +As a user of modules that are deprecated, the environment variable `NO_DEPRECATION` +is provided as a quick solution to silencing deprecation warnings from being +output. The format of this is similar to that of `DEBUG`: + +```sh +$ NO_DEPRECATION=my-module,othermod node app.js +``` + +This will suppress deprecations from being output for "my-module" and "othermod". +The value is a list of comma-separated namespaces. To suppress every warning +across all namespaces, use the value `*` for a namespace. + +Providing the argument `--no-deprecation` to the `node` executable will suppress +all deprecations (only available in Node.js 0.8 or higher). + +**NOTE** This will not suppress the deperecations given to any "deprecation" +event listeners, just the output to STDERR. + +### process.env.TRACE_DEPRECATION + +As a user of modules that are deprecated, the environment variable `TRACE_DEPRECATION` +is provided as a solution to getting more detailed location information in deprecation +warnings by including the entire stack trace. The format of this is the same as +`NO_DEPRECATION`: + +```sh +$ TRACE_DEPRECATION=my-module,othermod node app.js +``` + +This will include stack traces for deprecations being output for "my-module" and +"othermod". The value is a list of comma-separated namespaces. To trace every +warning across all namespaces, use the value `*` for a namespace. + +Providing the argument `--trace-deprecation` to the `node` executable will trace +all deprecations (only available in Node.js 0.8 or higher). + +**NOTE** This will not trace the deperecations silenced by `NO_DEPRECATION`. + +## Display + +![message](files/message.png) + +When a user calls a function in your library that you mark deprecated, they +will see the following written to STDERR (in the given colors, similar colors +and layout to the `debug` module): + +``` +bright cyan bright yellow +| | reset cyan +| | | | +▼ ▼ ▼ ▼ +my-cool-module deprecated oldfunction [eval]-wrapper:6:22 +▲ ▲ ▲ ▲ +| | | | +namespace | | location of mycoolmod.oldfunction() call + | deprecation message + the word "deprecated" +``` + +If the user redirects their STDERR to a file or somewhere that does not support +colors, they see (similar layout to the `debug` module): + +``` +Sun, 15 Jun 2014 05:21:37 GMT my-cool-module deprecated oldfunction at [eval]-wrapper:6:22 +▲ ▲ ▲ ▲ ▲ +| | | | | +timestamp of message namespace | | location of mycoolmod.oldfunction() call + | deprecation message + the word "deprecated" +``` + +## Examples + +### Deprecating all calls to a function + +This will display a deprecated message about "oldfunction" being deprecated +from "my-module" on STDERR. + +```js +var deprecate = require('depd')('my-cool-module') + +// message automatically derived from function name +// Object.oldfunction +exports.oldfunction = deprecate.function(function oldfunction () { + // all calls to function are deprecated +}) + +// specific message +exports.oldfunction = deprecate.function(function () { + // all calls to function are deprecated +}, 'oldfunction') +``` + +### Conditionally deprecating a function call + +This will display a deprecated message about "weirdfunction" being deprecated +from "my-module" on STDERR when called with less than 2 arguments. + +```js +var deprecate = require('depd')('my-cool-module') + +exports.weirdfunction = function () { + if (arguments.length < 2) { + // calls with 0 or 1 args are deprecated + deprecate('weirdfunction args < 2') + } +} +``` + +When calling `deprecate` as a function, the warning is counted per call site +within your own module, so you can display different deprecations depending +on different situations and the users will still get all the warnings: + +```js +var deprecate = require('depd')('my-cool-module') + +exports.weirdfunction = function () { + if (arguments.length < 2) { + // calls with 0 or 1 args are deprecated + deprecate('weirdfunction args < 2') + } else if (typeof arguments[0] !== 'string') { + // calls with non-string first argument are deprecated + deprecate('weirdfunction non-string first arg') + } +} +``` + +### Deprecating property access + +This will display a deprecated message about "oldprop" being deprecated +from "my-module" on STDERR when accessed. A deprecation will be displayed +when setting the value and when getting the value. + +```js +var deprecate = require('depd')('my-cool-module') + +exports.oldprop = 'something' + +// message automatically derives from property name +deprecate.property(exports, 'oldprop') + +// explicit message +deprecate.property(exports, 'oldprop', 'oldprop >= 0.10') +``` + +## License + +[MIT](LICENSE) + +[appveyor-image]: https://badgen.net/appveyor/ci/dougwilson/nodejs-depd/master?label=windows +[appveyor-url]: https://ci.appveyor.com/project/dougwilson/nodejs-depd +[coveralls-image]: https://badgen.net/coveralls/c/github/dougwilson/nodejs-depd/master +[coveralls-url]: https://coveralls.io/r/dougwilson/nodejs-depd?branch=master +[node-image]: https://badgen.net/npm/node/depd +[node-url]: https://nodejs.org/en/download/ +[npm-downloads-image]: https://badgen.net/npm/dm/depd +[npm-url]: https://npmjs.org/package/depd +[npm-version-image]: https://badgen.net/npm/v/depd +[travis-image]: https://badgen.net/travis/dougwilson/nodejs-depd/master?label=linux +[travis-url]: https://travis-ci.org/dougwilson/nodejs-depd diff --git a/node_modules/depd/index.js b/node_modules/depd/index.js new file mode 100644 index 0000000..1bf2fcf --- /dev/null +++ b/node_modules/depd/index.js @@ -0,0 +1,538 @@ +/*! + * depd + * Copyright(c) 2014-2018 Douglas Christopher Wilson + * MIT Licensed + */ + +/** + * Module dependencies. + */ + +var relative = require('path').relative + +/** + * Module exports. + */ + +module.exports = depd + +/** + * Get the path to base files on. + */ + +var basePath = process.cwd() + +/** + * Determine if namespace is contained in the string. + */ + +function containsNamespace (str, namespace) { + var vals = str.split(/[ ,]+/) + var ns = String(namespace).toLowerCase() + + for (var i = 0; i < vals.length; i++) { + var val = vals[i] + + // namespace contained + if (val && (val === '*' || val.toLowerCase() === ns)) { + return true + } + } + + return false +} + +/** + * Convert a data descriptor to accessor descriptor. + */ + +function convertDataDescriptorToAccessor (obj, prop, message) { + var descriptor = Object.getOwnPropertyDescriptor(obj, prop) + var value = descriptor.value + + descriptor.get = function getter () { return value } + + if (descriptor.writable) { + descriptor.set = function setter (val) { return (value = val) } + } + + delete descriptor.value + delete descriptor.writable + + Object.defineProperty(obj, prop, descriptor) + + return descriptor +} + +/** + * Create arguments string to keep arity. + */ + +function createArgumentsString (arity) { + var str = '' + + for (var i = 0; i < arity; i++) { + str += ', arg' + i + } + + return str.substr(2) +} + +/** + * Create stack string from stack. + */ + +function createStackString (stack) { + var str = this.name + ': ' + this.namespace + + if (this.message) { + str += ' deprecated ' + this.message + } + + for (var i = 0; i < stack.length; i++) { + str += '\n at ' + stack[i].toString() + } + + return str +} + +/** + * Create deprecate for namespace in caller. + */ + +function depd (namespace) { + if (!namespace) { + throw new TypeError('argument namespace is required') + } + + var stack = getStack() + var site = callSiteLocation(stack[1]) + var file = site[0] + + function deprecate (message) { + // call to self as log + log.call(deprecate, message) + } + + deprecate._file = file + deprecate._ignored = isignored(namespace) + deprecate._namespace = namespace + deprecate._traced = istraced(namespace) + deprecate._warned = Object.create(null) + + deprecate.function = wrapfunction + deprecate.property = wrapproperty + + return deprecate +} + +/** + * Determine if event emitter has listeners of a given type. + * + * The way to do this check is done three different ways in Node.js >= 0.8 + * so this consolidates them into a minimal set using instance methods. + * + * @param {EventEmitter} emitter + * @param {string} type + * @returns {boolean} + * @private + */ + +function eehaslisteners (emitter, type) { + var count = typeof emitter.listenerCount !== 'function' + ? emitter.listeners(type).length + : emitter.listenerCount(type) + + return count > 0 +} + +/** + * Determine if namespace is ignored. + */ + +function isignored (namespace) { + if (process.noDeprecation) { + // --no-deprecation support + return true + } + + var str = process.env.NO_DEPRECATION || '' + + // namespace ignored + return containsNamespace(str, namespace) +} + +/** + * Determine if namespace is traced. + */ + +function istraced (namespace) { + if (process.traceDeprecation) { + // --trace-deprecation support + return true + } + + var str = process.env.TRACE_DEPRECATION || '' + + // namespace traced + return containsNamespace(str, namespace) +} + +/** + * Display deprecation message. + */ + +function log (message, site) { + var haslisteners = eehaslisteners(process, 'deprecation') + + // abort early if no destination + if (!haslisteners && this._ignored) { + return + } + + var caller + var callFile + var callSite + var depSite + var i = 0 + var seen = false + var stack = getStack() + var file = this._file + + if (site) { + // provided site + depSite = site + callSite = callSiteLocation(stack[1]) + callSite.name = depSite.name + file = callSite[0] + } else { + // get call site + i = 2 + depSite = callSiteLocation(stack[i]) + callSite = depSite + } + + // get caller of deprecated thing in relation to file + for (; i < stack.length; i++) { + caller = callSiteLocation(stack[i]) + callFile = caller[0] + + if (callFile === file) { + seen = true + } else if (callFile === this._file) { + file = this._file + } else if (seen) { + break + } + } + + var key = caller + ? depSite.join(':') + '__' + caller.join(':') + : undefined + + if (key !== undefined && key in this._warned) { + // already warned + return + } + + this._warned[key] = true + + // generate automatic message from call site + var msg = message + if (!msg) { + msg = callSite === depSite || !callSite.name + ? defaultMessage(depSite) + : defaultMessage(callSite) + } + + // emit deprecation if listeners exist + if (haslisteners) { + var err = DeprecationError(this._namespace, msg, stack.slice(i)) + process.emit('deprecation', err) + return + } + + // format and write message + var format = process.stderr.isTTY + ? formatColor + : formatPlain + var output = format.call(this, msg, caller, stack.slice(i)) + process.stderr.write(output + '\n', 'utf8') +} + +/** + * Get call site location as array. + */ + +function callSiteLocation (callSite) { + var file = callSite.getFileName() || '' + var line = callSite.getLineNumber() + var colm = callSite.getColumnNumber() + + if (callSite.isEval()) { + file = callSite.getEvalOrigin() + ', ' + file + } + + var site = [file, line, colm] + + site.callSite = callSite + site.name = callSite.getFunctionName() + + return site +} + +/** + * Generate a default message from the site. + */ + +function defaultMessage (site) { + var callSite = site.callSite + var funcName = site.name + + // make useful anonymous name + if (!funcName) { + funcName = '' + } + + var context = callSite.getThis() + var typeName = context && callSite.getTypeName() + + // ignore useless type name + if (typeName === 'Object') { + typeName = undefined + } + + // make useful type name + if (typeName === 'Function') { + typeName = context.name || typeName + } + + return typeName && callSite.getMethodName() + ? typeName + '.' + funcName + : funcName +} + +/** + * Format deprecation message without color. + */ + +function formatPlain (msg, caller, stack) { + var timestamp = new Date().toUTCString() + + var formatted = timestamp + + ' ' + this._namespace + + ' deprecated ' + msg + + // add stack trace + if (this._traced) { + for (var i = 0; i < stack.length; i++) { + formatted += '\n at ' + stack[i].toString() + } + + return formatted + } + + if (caller) { + formatted += ' at ' + formatLocation(caller) + } + + return formatted +} + +/** + * Format deprecation message with color. + */ + +function formatColor (msg, caller, stack) { + var formatted = '\x1b[36;1m' + this._namespace + '\x1b[22;39m' + // bold cyan + ' \x1b[33;1mdeprecated\x1b[22;39m' + // bold yellow + ' \x1b[0m' + msg + '\x1b[39m' // reset + + // add stack trace + if (this._traced) { + for (var i = 0; i < stack.length; i++) { + formatted += '\n \x1b[36mat ' + stack[i].toString() + '\x1b[39m' // cyan + } + + return formatted + } + + if (caller) { + formatted += ' \x1b[36m' + formatLocation(caller) + '\x1b[39m' // cyan + } + + return formatted +} + +/** + * Format call site location. + */ + +function formatLocation (callSite) { + return relative(basePath, callSite[0]) + + ':' + callSite[1] + + ':' + callSite[2] +} + +/** + * Get the stack as array of call sites. + */ + +function getStack () { + var limit = Error.stackTraceLimit + var obj = {} + var prep = Error.prepareStackTrace + + Error.prepareStackTrace = prepareObjectStackTrace + Error.stackTraceLimit = Math.max(10, limit) + + // capture the stack + Error.captureStackTrace(obj) + + // slice this function off the top + var stack = obj.stack.slice(1) + + Error.prepareStackTrace = prep + Error.stackTraceLimit = limit + + return stack +} + +/** + * Capture call site stack from v8. + */ + +function prepareObjectStackTrace (obj, stack) { + return stack +} + +/** + * Return a wrapped function in a deprecation message. + */ + +function wrapfunction (fn, message) { + if (typeof fn !== 'function') { + throw new TypeError('argument fn must be a function') + } + + var args = createArgumentsString(fn.length) + var stack = getStack() + var site = callSiteLocation(stack[1]) + + site.name = fn.name + + // eslint-disable-next-line no-new-func + var deprecatedfn = new Function('fn', 'log', 'deprecate', 'message', 'site', + '"use strict"\n' + + 'return function (' + args + ') {' + + 'log.call(deprecate, message, site)\n' + + 'return fn.apply(this, arguments)\n' + + '}')(fn, log, this, message, site) + + return deprecatedfn +} + +/** + * Wrap property in a deprecation message. + */ + +function wrapproperty (obj, prop, message) { + if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) { + throw new TypeError('argument obj must be object') + } + + var descriptor = Object.getOwnPropertyDescriptor(obj, prop) + + if (!descriptor) { + throw new TypeError('must call property on owner object') + } + + if (!descriptor.configurable) { + throw new TypeError('property must be configurable') + } + + var deprecate = this + var stack = getStack() + var site = callSiteLocation(stack[1]) + + // set site name + site.name = prop + + // convert data descriptor + if ('value' in descriptor) { + descriptor = convertDataDescriptorToAccessor(obj, prop, message) + } + + var get = descriptor.get + var set = descriptor.set + + // wrap getter + if (typeof get === 'function') { + descriptor.get = function getter () { + log.call(deprecate, message, site) + return get.apply(this, arguments) + } + } + + // wrap setter + if (typeof set === 'function') { + descriptor.set = function setter () { + log.call(deprecate, message, site) + return set.apply(this, arguments) + } + } + + Object.defineProperty(obj, prop, descriptor) +} + +/** + * Create DeprecationError for deprecation + */ + +function DeprecationError (namespace, message, stack) { + var error = new Error() + var stackString + + Object.defineProperty(error, 'constructor', { + value: DeprecationError + }) + + Object.defineProperty(error, 'message', { + configurable: true, + enumerable: false, + value: message, + writable: true + }) + + Object.defineProperty(error, 'name', { + enumerable: false, + configurable: true, + value: 'DeprecationError', + writable: true + }) + + Object.defineProperty(error, 'namespace', { + configurable: true, + enumerable: false, + value: namespace, + writable: true + }) + + Object.defineProperty(error, 'stack', { + configurable: true, + enumerable: false, + get: function () { + if (stackString !== undefined) { + return stackString + } + + // prepare stack trace + return (stackString = createStackString.call(this, stack)) + }, + set: function setter (val) { + stackString = val + } + }) + + return error +} diff --git a/node_modules/depd/lib/browser/index.js b/node_modules/depd/lib/browser/index.js new file mode 100644 index 0000000..6be45cc --- /dev/null +++ b/node_modules/depd/lib/browser/index.js @@ -0,0 +1,77 @@ +/*! + * depd + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module exports. + * @public + */ + +module.exports = depd + +/** + * Create deprecate for namespace in caller. + */ + +function depd (namespace) { + if (!namespace) { + throw new TypeError('argument namespace is required') + } + + function deprecate (message) { + // no-op in browser + } + + deprecate._file = undefined + deprecate._ignored = true + deprecate._namespace = namespace + deprecate._traced = false + deprecate._warned = Object.create(null) + + deprecate.function = wrapfunction + deprecate.property = wrapproperty + + return deprecate +} + +/** + * Return a wrapped function in a deprecation message. + * + * This is a no-op version of the wrapper, which does nothing but call + * validation. + */ + +function wrapfunction (fn, message) { + if (typeof fn !== 'function') { + throw new TypeError('argument fn must be a function') + } + + return fn +} + +/** + * Wrap property in a deprecation message. + * + * This is a no-op version of the wrapper, which does nothing but call + * validation. + */ + +function wrapproperty (obj, prop, message) { + if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) { + throw new TypeError('argument obj must be object') + } + + var descriptor = Object.getOwnPropertyDescriptor(obj, prop) + + if (!descriptor) { + throw new TypeError('must call property on owner object') + } + + if (!descriptor.configurable) { + throw new TypeError('property must be configurable') + } +} diff --git a/node_modules/depd/package.json b/node_modules/depd/package.json new file mode 100644 index 0000000..3857e19 --- /dev/null +++ b/node_modules/depd/package.json @@ -0,0 +1,45 @@ +{ + "name": "depd", + "description": "Deprecate all the things", + "version": "2.0.0", + "author": "Douglas Christopher Wilson ", + "license": "MIT", + "keywords": [ + "deprecate", + "deprecated" + ], + "repository": "dougwilson/nodejs-depd", + "browser": "lib/browser/index.js", + "devDependencies": { + "benchmark": "2.1.4", + "beautify-benchmark": "0.2.4", + "eslint": "5.7.0", + "eslint-config-standard": "12.0.0", + "eslint-plugin-import": "2.14.0", + "eslint-plugin-markdown": "1.0.0-beta.7", + "eslint-plugin-node": "7.0.1", + "eslint-plugin-promise": "4.0.1", + "eslint-plugin-standard": "4.0.0", + "istanbul": "0.4.5", + "mocha": "5.2.0", + "safe-buffer": "5.1.2", + "uid-safe": "2.1.5" + }, + "files": [ + "lib/", + "History.md", + "LICENSE", + "index.js", + "Readme.md" + ], + "engines": { + "node": ">= 0.8" + }, + "scripts": { + "bench": "node benchmark/index.js", + "lint": "eslint --plugin markdown --ext js,md .", + "test": "mocha --reporter spec --bail test/", + "test-ci": "istanbul cover --print=none node_modules/mocha/bin/_mocha -- --reporter spec test/ && istanbul report lcovonly text-summary", + "test-cov": "istanbul cover --print=none node_modules/mocha/bin/_mocha -- --reporter dot test/ && istanbul report lcov text-summary" + } +} diff --git a/node_modules/dotenv/CHANGELOG.md b/node_modules/dotenv/CHANGELOG.md new file mode 100644 index 0000000..90e19a0 --- /dev/null +++ b/node_modules/dotenv/CHANGELOG.md @@ -0,0 +1,598 @@ +# Changelog + +All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +## [Unreleased](https://github.com/motdotla/dotenv/compare/v17.2.3...master) + +## [17.2.3](https://github.com/motdotla/dotenv/compare/v17.2.2...v17.2.3) (2025-09-29) + +### Changed + +* Fixed typescript error definition ([#912](https://github.com/motdotla/dotenv/pull/912)) + +## [17.2.2](https://github.com/motdotla/dotenv/compare/v17.2.1...v17.2.2) (2025-09-02) + +### Added + +- 🙏 A big thank you to new sponsor [Tuple.app](https://tuple.app/dotenv) - *the premier screen sharing app for developers on macOS and Windows.* Go check them out. It's wonderful and generous of them to give back to open source by sponsoring dotenv. Give them some love back. + +## [17.2.1](https://github.com/motdotla/dotenv/compare/v17.2.0...v17.2.1) (2025-07-24) + +### Changed + +* Fix clickable tip links by removing parentheses ([#897](https://github.com/motdotla/dotenv/pull/897)) + +## [17.2.0](https://github.com/motdotla/dotenv/compare/v17.1.0...v17.2.0) (2025-07-09) + +### Added + +* Optionally specify `DOTENV_CONFIG_QUIET=true` in your environment or `.env` file to quiet the runtime log ([#889](https://github.com/motdotla/dotenv/pull/889)) +* Just like dotenv any `DOTENV_CONFIG_` environment variables take precedence over any code set options like `({quiet: false})` + +```ini +# .env +DOTENV_CONFIG_QUIET=true +HELLO="World" +``` +```js +// index.js +require('dotenv').config() +console.log(`Hello ${process.env.HELLO}`) +``` +```sh +$ node index.js +Hello World + +or + +$ DOTENV_CONFIG_QUIET=true node index.js +``` + +## [17.1.0](https://github.com/motdotla/dotenv/compare/v17.0.1...v17.1.0) (2025-07-07) + +### Added + +* Add additional security and configuration tips to the runtime log ([#884](https://github.com/motdotla/dotenv/pull/884)) +* Dim the tips text from the main injection information text + +```js +const TIPS = [ + '🔐 encrypt with dotenvx: https://dotenvx.com', + '🔐 prevent committing .env to code: https://dotenvx.com/precommit', + '🔐 prevent building .env in docker: https://dotenvx.com/prebuild', + '🛠️ run anywhere with `dotenvx run -- yourcommand`', + '⚙️ specify custom .env file path with { path: \'/custom/path/.env\' }', + '⚙️ enable debug logging with { debug: true }', + '⚙️ override existing env vars with { override: true }', + '⚙️ suppress all logs with { quiet: true }', + '⚙️ write to custom object with { processEnv: myObject }', + '⚙️ load multiple .env files with { path: [\'.env.local\', \'.env\'] }' +] +``` + +## [17.0.1](https://github.com/motdotla/dotenv/compare/v17.0.0...v17.0.1) (2025-07-01) + +### Changed + +* Patched injected log to count only populated/set keys to process.env ([#879](https://github.com/motdotla/dotenv/pull/879)) + +## [17.0.0](https://github.com/motdotla/dotenv/compare/v16.6.1...v17.0.0) (2025-06-27) + +### Changed + +- Default `quiet` to false - informational (file and keys count) runtime log message shows by default ([#875](https://github.com/motdotla/dotenv/pull/875)) + +## [16.6.1](https://github.com/motdotla/dotenv/compare/v16.6.0...v16.6.1) (2025-06-27) + +### Changed + +- Default `quiet` to true – hiding the runtime log message ([#874](https://github.com/motdotla/dotenv/pull/874)) +- NOTICE: 17.0.0 will be released with quiet defaulting to false. Use `config({ quiet: true })` to suppress. +- And check out the new [dotenvx](https://github.com/dotenvx/dotenvx). As coding workflows evolve and agents increasingly handle secrets, encrypted .env files offer a much safer way to deploy both agents and code together with secure secrets. Simply switch `require('dotenv').config()` for `require('@dotenvx/dotenvx').config()`. + +## [16.6.0](https://github.com/motdotla/dotenv/compare/v16.5.0...v16.6.0) (2025-06-26) + +### Added + +- Default log helpful message `[dotenv@16.6.0] injecting env (1) from .env` ([#870](https://github.com/motdotla/dotenv/pull/870)) +- Use `{ quiet: true }` to suppress +- Aligns dotenv more closely with [dotenvx](https://github.com/dotenvx/dotenvx). + +## [16.5.0](https://github.com/motdotla/dotenv/compare/v16.4.7...v16.5.0) (2025-04-07) + +### Added + +- 🎉 Added new sponsor [Graphite](https://graphite.dev/?utm_source=github&utm_medium=repo&utm_campaign=dotenv) - *the AI developer productivity platform helping teams on GitHub ship higher quality software, faster*. + +> [!TIP] +> **[Become a sponsor](https://github.com/sponsors/motdotla)** +> +> The dotenvx README is viewed thousands of times DAILY on GitHub and NPM. +> Sponsoring dotenv is a great way to get in front of developers and give back to the developer community at the same time. + +### Changed + +- Remove `_log` method. Use `_debug` [#862](https://github.com/motdotla/dotenv/pull/862) + +## [16.4.7](https://github.com/motdotla/dotenv/compare/v16.4.6...v16.4.7) (2024-12-03) + +### Changed + +- Ignore `.tap` folder when publishing. (oops, sorry about that everyone. - @motdotla) [#848](https://github.com/motdotla/dotenv/pull/848) + +## [16.4.6](https://github.com/motdotla/dotenv/compare/v16.4.5...v16.4.6) (2024-12-02) + +### Changed + +- Clean up stale dev dependencies [#847](https://github.com/motdotla/dotenv/pull/847) +- Various README updates clarifying usage and alternative solutions using [dotenvx](https://github.com/dotenvx/dotenvx) + +## [16.4.5](https://github.com/motdotla/dotenv/compare/v16.4.4...v16.4.5) (2024-02-19) + +### Changed + +- 🐞 Fix recent regression when using `path` option. return to historical behavior: do not attempt to auto find `.env` if `path` set. (regression was introduced in `16.4.3`) [#814](https://github.com/motdotla/dotenv/pull/814) + +## [16.4.4](https://github.com/motdotla/dotenv/compare/v16.4.3...v16.4.4) (2024-02-13) + +### Changed + +- 🐞 Replaced chaining operator `?.` with old school `&&` (fixing node 12 failures) [#812](https://github.com/motdotla/dotenv/pull/812) + +## [16.4.3](https://github.com/motdotla/dotenv/compare/v16.4.2...v16.4.3) (2024-02-12) + +### Changed + +- Fixed processing of multiple files in `options.path` [#805](https://github.com/motdotla/dotenv/pull/805) + +## [16.4.2](https://github.com/motdotla/dotenv/compare/v16.4.1...v16.4.2) (2024-02-10) + +### Changed + +- Changed funding link in package.json to [`dotenvx.com`](https://dotenvx.com) + +## [16.4.1](https://github.com/motdotla/dotenv/compare/v16.4.0...v16.4.1) (2024-01-24) + +- Patch support for array as `path` option [#797](https://github.com/motdotla/dotenv/pull/797) + +## [16.4.0](https://github.com/motdotla/dotenv/compare/v16.3.2...v16.4.0) (2024-01-23) + +- Add `error.code` to error messages around `.env.vault` decryption handling [#795](https://github.com/motdotla/dotenv/pull/795) +- Add ability to find `.env.vault` file when filename(s) passed as an array [#784](https://github.com/motdotla/dotenv/pull/784) + +## [16.3.2](https://github.com/motdotla/dotenv/compare/v16.3.1...v16.3.2) (2024-01-18) + +### Added + +- Add debug message when no encoding set [#735](https://github.com/motdotla/dotenv/pull/735) + +### Changed + +- Fix output typing for `populate` [#792](https://github.com/motdotla/dotenv/pull/792) +- Use subarray instead of slice [#793](https://github.com/motdotla/dotenv/pull/793) + +## [16.3.1](https://github.com/motdotla/dotenv/compare/v16.3.0...v16.3.1) (2023-06-17) + +### Added + +- Add missing type definitions for `processEnv` and `DOTENV_KEY` options. [#756](https://github.com/motdotla/dotenv/pull/756) + +## [16.3.0](https://github.com/motdotla/dotenv/compare/v16.2.0...v16.3.0) (2023-06-16) + +### Added + +- Optionally pass `DOTENV_KEY` to options rather than relying on `process.env.DOTENV_KEY`. Defaults to `process.env.DOTENV_KEY` [#754](https://github.com/motdotla/dotenv/pull/754) + +## [16.2.0](https://github.com/motdotla/dotenv/compare/v16.1.4...v16.2.0) (2023-06-15) + +### Added + +- Optionally write to your own target object rather than `process.env`. Defaults to `process.env`. [#753](https://github.com/motdotla/dotenv/pull/753) +- Add import type URL to types file [#751](https://github.com/motdotla/dotenv/pull/751) + +## [16.1.4](https://github.com/motdotla/dotenv/compare/v16.1.3...v16.1.4) (2023-06-04) + +### Added + +- Added `.github/` to `.npmignore` [#747](https://github.com/motdotla/dotenv/pull/747) + +## [16.1.3](https://github.com/motdotla/dotenv/compare/v16.1.2...v16.1.3) (2023-05-31) + +### Removed + +- Removed `browser` keys for `path`, `os`, and `crypto` in package.json. These were set to false incorrectly as of 16.1. Instead, if using dotenv on the front-end make sure to include polyfills for `path`, `os`, and `crypto`. [node-polyfill-webpack-plugin](https://github.com/Richienb/node-polyfill-webpack-plugin) provides these. + +## [16.1.2](https://github.com/motdotla/dotenv/compare/v16.1.1...v16.1.2) (2023-05-31) + +### Changed + +- Exposed private function `_configDotenv` as `configDotenv`. [#744](https://github.com/motdotla/dotenv/pull/744) + +## [16.1.1](https://github.com/motdotla/dotenv/compare/v16.1.0...v16.1.1) (2023-05-30) + +### Added + +- Added type definition for `decrypt` function + +### Changed + +- Fixed `{crypto: false}` in `packageJson.browser` + +## [16.1.0](https://github.com/motdotla/dotenv/compare/v16.0.3...v16.1.0) (2023-05-30) + +### Added + +- Add `populate` convenience method [#733](https://github.com/motdotla/dotenv/pull/733) +- Accept URL as path option [#720](https://github.com/motdotla/dotenv/pull/720) +- Add dotenv to `npm fund` command +- Spanish language README [#698](https://github.com/motdotla/dotenv/pull/698) +- Add `.env.vault` support. 🎉 ([#730](https://github.com/motdotla/dotenv/pull/730)) + +ℹ️ `.env.vault` extends the `.env` file format standard with a localized encrypted vault file. Package it securely with your production code deploys. It's cloud agnostic so that you can deploy your secrets anywhere – without [risky third-party integrations](https://techcrunch.com/2023/01/05/circleci-breach/). [read more](https://github.com/motdotla/dotenv#-deploying) + +### Changed + +- Fixed "cannot resolve 'fs'" error on tools like Replit [#693](https://github.com/motdotla/dotenv/pull/693) + +## [16.0.3](https://github.com/motdotla/dotenv/compare/v16.0.2...v16.0.3) (2022-09-29) + +### Changed + +- Added library version to debug logs ([#682](https://github.com/motdotla/dotenv/pull/682)) + +## [16.0.2](https://github.com/motdotla/dotenv/compare/v16.0.1...v16.0.2) (2022-08-30) + +### Added + +- Export `env-options.js` and `cli-options.js` in package.json for use with downstream [dotenv-expand](https://github.com/motdotla/dotenv-expand) module + +## [16.0.1](https://github.com/motdotla/dotenv/compare/v16.0.0...v16.0.1) (2022-05-10) + +### Changed + +- Minor README clarifications +- Development ONLY: updated devDependencies as recommended for development only security risks ([#658](https://github.com/motdotla/dotenv/pull/658)) + +## [16.0.0](https://github.com/motdotla/dotenv/compare/v15.0.1...v16.0.0) (2022-02-02) + +### Added + +- _Breaking:_ Backtick support 🎉 ([#615](https://github.com/motdotla/dotenv/pull/615)) + +If you had values containing the backtick character, please quote those values with either single or double quotes. + +## [15.0.1](https://github.com/motdotla/dotenv/compare/v15.0.0...v15.0.1) (2022-02-02) + +### Changed + +- Properly parse empty single or double quoted values 🐞 ([#614](https://github.com/motdotla/dotenv/pull/614)) + +## [15.0.0](https://github.com/motdotla/dotenv/compare/v14.3.2...v15.0.0) (2022-01-31) + +`v15.0.0` is a major new release with some important breaking changes. + +### Added + +- _Breaking:_ Multiline parsing support (just works. no need for the flag.) + +### Changed + +- _Breaking:_ `#` marks the beginning of a comment (UNLESS the value is wrapped in quotes. Please update your `.env` files to wrap in quotes any values containing `#`. For example: `SECRET_HASH="something-with-a-#-hash"`). + +..Understandably, (as some teams have noted) this is tedious to do across the entire team. To make it less tedious, we recommend using [dotenv cli](https://github.com/dotenv-org/cli) going forward. It's an optional plugin that will keep your `.env` files in sync between machines, environments, or team members. + +### Removed + +- _Breaking:_ Remove multiline option (just works out of the box now. no need for the flag.) + +## [14.3.2](https://github.com/motdotla/dotenv/compare/v14.3.1...v14.3.2) (2022-01-25) + +### Changed + +- Preserve backwards compatibility on values containing `#` 🐞 ([#603](https://github.com/motdotla/dotenv/pull/603)) + +## [14.3.1](https://github.com/motdotla/dotenv/compare/v14.3.0...v14.3.1) (2022-01-25) + +### Changed + +- Preserve backwards compatibility on exports by re-introducing the prior in-place exports 🐞 ([#606](https://github.com/motdotla/dotenv/pull/606)) + +## [14.3.0](https://github.com/motdotla/dotenv/compare/v14.2.0...v14.3.0) (2022-01-24) + +### Added + +- Add `multiline` option 🎉 ([#486](https://github.com/motdotla/dotenv/pull/486)) + +## [14.2.0](https://github.com/motdotla/dotenv/compare/v14.1.1...v14.2.0) (2022-01-17) + +### Added + +- Add `dotenv_config_override` cli option +- Add `DOTENV_CONFIG_OVERRIDE` command line env option + +## [14.1.1](https://github.com/motdotla/dotenv/compare/v14.1.0...v14.1.1) (2022-01-17) + +### Added + +- Add React gotcha to FAQ on README + +## [14.1.0](https://github.com/motdotla/dotenv/compare/v14.0.1...v14.1.0) (2022-01-17) + +### Added + +- Add `override` option 🎉 ([#595](https://github.com/motdotla/dotenv/pull/595)) + +## [14.0.1](https://github.com/motdotla/dotenv/compare/v14.0.0...v14.0.1) (2022-01-16) + +### Added + +- Log error on failure to load `.env` file ([#594](https://github.com/motdotla/dotenv/pull/594)) + +## [14.0.0](https://github.com/motdotla/dotenv/compare/v13.0.1...v14.0.0) (2022-01-16) + +### Added + +- _Breaking:_ Support inline comments for the parser 🎉 ([#568](https://github.com/motdotla/dotenv/pull/568)) + +## [13.0.1](https://github.com/motdotla/dotenv/compare/v13.0.0...v13.0.1) (2022-01-16) + +### Changed + +* Hide comments and newlines from debug output ([#404](https://github.com/motdotla/dotenv/pull/404)) + +## [13.0.0](https://github.com/motdotla/dotenv/compare/v12.0.4...v13.0.0) (2022-01-16) + +### Added + +* _Breaking:_ Add type file for `config.js` ([#539](https://github.com/motdotla/dotenv/pull/539)) + +## [12.0.4](https://github.com/motdotla/dotenv/compare/v12.0.3...v12.0.4) (2022-01-16) + +### Changed + +* README updates +* Minor order adjustment to package json format + +## [12.0.3](https://github.com/motdotla/dotenv/compare/v12.0.2...v12.0.3) (2022-01-15) + +### Changed + +* Simplified jsdoc for consistency across editors + +## [12.0.2](https://github.com/motdotla/dotenv/compare/v12.0.1...v12.0.2) (2022-01-15) + +### Changed + +* Improve embedded jsdoc type documentation + +## [12.0.1](https://github.com/motdotla/dotenv/compare/v12.0.0...v12.0.1) (2022-01-15) + +### Changed + +* README updates and clarifications + +## [12.0.0](https://github.com/motdotla/dotenv/compare/v11.0.0...v12.0.0) (2022-01-15) + +### Removed + +- _Breaking:_ drop support for Flow static type checker ([#584](https://github.com/motdotla/dotenv/pull/584)) + +### Changed + +- Move types/index.d.ts to lib/main.d.ts ([#585](https://github.com/motdotla/dotenv/pull/585)) +- Typescript cleanup ([#587](https://github.com/motdotla/dotenv/pull/587)) +- Explicit typescript inclusion in package.json ([#566](https://github.com/motdotla/dotenv/pull/566)) + +## [11.0.0](https://github.com/motdotla/dotenv/compare/v10.0.0...v11.0.0) (2022-01-11) + +### Changed + +- _Breaking:_ drop support for Node v10 ([#558](https://github.com/motdotla/dotenv/pull/558)) +- Patch debug option ([#550](https://github.com/motdotla/dotenv/pull/550)) + +## [10.0.0](https://github.com/motdotla/dotenv/compare/v9.0.2...v10.0.0) (2021-05-20) + +### Added + +- Add generic support to parse function +- Allow for import "dotenv/config.js" +- Add support to resolve home directory in path via ~ + +## [9.0.2](https://github.com/motdotla/dotenv/compare/v9.0.1...v9.0.2) (2021-05-10) + +### Changed + +- Support windows newlines with debug mode + +## [9.0.1](https://github.com/motdotla/dotenv/compare/v9.0.0...v9.0.1) (2021-05-08) + +### Changed + +- Updates to README + +## [9.0.0](https://github.com/motdotla/dotenv/compare/v8.6.0...v9.0.0) (2021-05-05) + +### Changed + +- _Breaking:_ drop support for Node v8 + +## [8.6.0](https://github.com/motdotla/dotenv/compare/v8.5.1...v8.6.0) (2021-05-05) + +### Added + +- define package.json in exports + +## [8.5.1](https://github.com/motdotla/dotenv/compare/v8.5.0...v8.5.1) (2021-05-05) + +### Changed + +- updated dev dependencies via npm audit + +## [8.5.0](https://github.com/motdotla/dotenv/compare/v8.4.0...v8.5.0) (2021-05-05) + +### Added + +- allow for `import "dotenv/config"` + +## [8.4.0](https://github.com/motdotla/dotenv/compare/v8.3.0...v8.4.0) (2021-05-05) + +### Changed + +- point to exact types file to work with VS Code + +## [8.3.0](https://github.com/motdotla/dotenv/compare/v8.2.0...v8.3.0) (2021-05-05) + +### Changed + +- _Breaking:_ drop support for Node v8 (mistake to be released as minor bump. later bumped to 9.0.0. see above.) + +## [8.2.0](https://github.com/motdotla/dotenv/compare/v8.1.0...v8.2.0) (2019-10-16) + +### Added + +- TypeScript types + +## [8.1.0](https://github.com/motdotla/dotenv/compare/v8.0.0...v8.1.0) (2019-08-18) + +### Changed + +- _Breaking:_ drop support for Node v6 ([#392](https://github.com/motdotla/dotenv/issues/392)) + +# [8.0.0](https://github.com/motdotla/dotenv/compare/v7.0.0...v8.0.0) (2019-05-02) + +### Changed + +- _Breaking:_ drop support for Node v6 ([#302](https://github.com/motdotla/dotenv/issues/392)) + +## [7.0.0] - 2019-03-12 + +### Fixed + +- Fix removing unbalanced quotes ([#376](https://github.com/motdotla/dotenv/pull/376)) + +### Removed + +- Removed `load` alias for `config` for consistency throughout code and documentation. + +## [6.2.0] - 2018-12-03 + +### Added + +- Support preload configuration via environment variables ([#351](https://github.com/motdotla/dotenv/issues/351)) + +## [6.1.0] - 2018-10-08 + +### Added + +- `debug` option for `config` and `parse` methods will turn on logging + +## [6.0.0] - 2018-06-02 + +### Changed + +- _Breaking:_ drop support for Node v4 ([#304](https://github.com/motdotla/dotenv/pull/304)) + +## [5.0.0] - 2018-01-29 + +### Added + +- Testing against Node v8 and v9 +- Documentation on trim behavior of values +- Documentation on how to use with `import` + +### Changed + +- _Breaking_: default `path` is now `path.resolve(process.cwd(), '.env')` +- _Breaking_: does not write over keys already in `process.env` if the key has a falsy value +- using `const` and `let` instead of `var` + +### Removed + +- Testing against Node v7 + +## [4.0.0] - 2016-12-23 + +### Changed + +- Return Object with parsed content or error instead of false ([#165](https://github.com/motdotla/dotenv/pull/165)). + +### Removed + +- `verbose` option removed in favor of returning result. + +## [3.0.0] - 2016-12-20 + +### Added + +- `verbose` option will log any error messages. Off by default. +- parses email addresses correctly +- allow importing config method directly in ES6 + +### Changed + +- Suppress error messages by default ([#154](https://github.com/motdotla/dotenv/pull/154)) +- Ignoring more files for NPM to make package download smaller + +### Fixed + +- False positive test due to case-sensitive variable ([#124](https://github.com/motdotla/dotenv/pull/124)) + +### Removed + +- `silent` option removed in favor of `verbose` + +## [2.0.0] - 2016-01-20 + +### Added + +- CHANGELOG to ["make it easier for users and contributors to see precisely what notable changes have been made between each release"](http://keepachangelog.com/). Linked to from README +- LICENSE to be more explicit about what was defined in `package.json`. Linked to from README +- Testing nodejs v4 on travis-ci +- added examples of how to use dotenv in different ways +- return parsed object on success rather than boolean true + +### Changed + +- README has shorter description not referencing ruby gem since we don't have or want feature parity + +### Removed + +- Variable expansion and escaping so environment variables are encouraged to be fully orthogonal + +## [1.2.0] - 2015-06-20 + +### Added + +- Preload hook to require dotenv without including it in your code + +### Changed + +- clarified license to be "BSD-2-Clause" in `package.json` + +### Fixed + +- retain spaces in string vars + +## [1.1.0] - 2015-03-31 + +### Added + +- Silent option to silence `console.log` when `.env` missing + +## [1.0.0] - 2015-03-13 + +### Removed + +- support for multiple `.env` files. should always use one `.env` file for the current environment + +[7.0.0]: https://github.com/motdotla/dotenv/compare/v6.2.0...v7.0.0 +[6.2.0]: https://github.com/motdotla/dotenv/compare/v6.1.0...v6.2.0 +[6.1.0]: https://github.com/motdotla/dotenv/compare/v6.0.0...v6.1.0 +[6.0.0]: https://github.com/motdotla/dotenv/compare/v5.0.0...v6.0.0 +[5.0.0]: https://github.com/motdotla/dotenv/compare/v4.0.0...v5.0.0 +[4.0.0]: https://github.com/motdotla/dotenv/compare/v3.0.0...v4.0.0 +[3.0.0]: https://github.com/motdotla/dotenv/compare/v2.0.0...v3.0.0 +[2.0.0]: https://github.com/motdotla/dotenv/compare/v1.2.0...v2.0.0 +[1.2.0]: https://github.com/motdotla/dotenv/compare/v1.1.0...v1.2.0 +[1.1.0]: https://github.com/motdotla/dotenv/compare/v1.0.0...v1.1.0 +[1.0.0]: https://github.com/motdotla/dotenv/compare/v0.4.0...v1.0.0 diff --git a/node_modules/dotenv/LICENSE b/node_modules/dotenv/LICENSE new file mode 100644 index 0000000..c430ad8 --- /dev/null +++ b/node_modules/dotenv/LICENSE @@ -0,0 +1,23 @@ +Copyright (c) 2015, Scott Motte +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/node_modules/dotenv/README-es.md b/node_modules/dotenv/README-es.md new file mode 100644 index 0000000..978a73b --- /dev/null +++ b/node_modules/dotenv/README-es.md @@ -0,0 +1,405 @@ +
+🎉 announcing dotenvx. run anywhere, multi-environment, encrypted envs. +
+ +  + +
+ +**Special thanks to [our sponsors](https://github.com/sponsors/motdotla)** + + +
+ Tuple +
+ Tuple, the premier screen sharing app for developers on macOS and Windows. +
+
+
+ +# dotenv [![NPM version](https://img.shields.io/npm/v/dotenv.svg?style=flat-square)](https://www.npmjs.com/package/dotenv) + +dotenv + +Dotenv es un módulo de dependencia cero que carga las variables de entorno desde un archivo `.env` en [`process.env`](https://nodejs.org/docs/latest/api/process.html#process_process_env). El almacenamiento de la configuración del entorno separado del código está basado en la metodología [The Twelve-Factor App](http://12factor.net/config). + +[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard) +[![LICENSE](https://img.shields.io/github/license/motdotla/dotenv.svg)](LICENSE) + +## Instalación + +```bash +# instalación local (recomendado) +npm install dotenv --save +``` + +O installación con yarn? `yarn add dotenv` + +## Uso + +Cree un archivo `.env` en la raíz de su proyecto: + +```dosini +S3_BUCKET="YOURS3BUCKET" +SECRET_KEY="YOURSECRETKEYGOESHERE" +``` + +Tan prónto como sea posible en su aplicación, importe y configure dotenv: + +```javascript +require('dotenv').config() +console.log(process.env) // elimine esto después que haya confirmado que esta funcionando +``` + +.. o usa ES6? + +```javascript +import * as dotenv from 'dotenv' // vea en https://github.com/motdotla/dotenv#como-uso-dotenv-con-import +// REVISAR LINK DE REFERENCIA DE IMPORTACIÓN +dotenv.config() +import express from 'express' +``` + +Eso es todo. `process.env` ahora tiene las claves y los valores que definiste en tu archivo `.env`: + +```javascript +require('dotenv').config() + +... + +s3.getBucketCors({Bucket: process.env.S3_BUCKET}, function(err, data) {}) +``` + +### Valores multilínea + +Si necesita variables de varias líneas, por ejemplo, claves privadas, ahora se admiten en la versión (`>= v15.0.0`) con saltos de línea: + +```dosini +PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY----- +... +Kh9NV... +... +-----END RSA PRIVATE KEY-----" +``` + +Alternativamente, puede usar comillas dobles y usar el carácter `\n`: + +```dosini +PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\nKh9NV...\n-----END RSA PRIVATE KEY-----\n" +``` + +### Comentarios + +Los comentarios pueden ser agregados en tu archivo o en la misma línea: + +```dosini +# This is a comment +SECRET_KEY=YOURSECRETKEYGOESHERE # comment +SECRET_HASH="something-with-a-#-hash" +``` + +Los comentarios comienzan donde existe un `#`, entonces, si su valor contiene un `#`, enciérrelo entre comillas. Este es un cambio importante desde la versión `>= v15.0.0` en adelante. + +### Análisis + +El motor que analiza el contenido de su archivo que contiene variables de entorno está disponible para su uso. Este Acepta una Cadena o un Búfer y devolverá un Objeto con las claves y los valores analizados. + +```javascript +const dotenv = require('dotenv') +const buf = Buffer.from('BASICO=basico') +const config = dotenv.parse(buf) // devolverá un objeto +console.log(typeof config, config) // objeto { BASICO : 'basico' } +``` + +### Precarga + +Puede usar el `--require` (`-r`) [opción de línea de comando](https://nodejs.org/api/cli.html#-r---require-module) para precargar dotenv. Al hacer esto, no necesita requerir ni cargar dotnev en el código de su aplicación. + +```bash +$ node -r dotenv/config tu_script.js +``` + +Las opciones de configuración a continuación se admiten como argumentos de línea de comandos en el formato `dotenv_config_