@format.dev/compile 0.0.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -20
- package/bin/format-compile +3 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/defineProperty.mjs +14 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/toPrimitive.mjs +16 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/toPropertyKey.mjs +11 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/typeof.mjs +12 -0
- package/dist/_virtual/rolldown_runtime.mjs +46 -0
- package/dist/node_modules/.pnpm/@babel_parser@7.29.8/node_modules/@babel/parser/lib/index.mjs +12606 -0
- package/dist/node_modules/.pnpm/@babel_parser@7.29.8/node_modules/@babel/parser/lib/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_compiler-core@3.5.41/node_modules/@vue/compiler-core/dist/compiler-core.cjs.mjs +4866 -0
- package/dist/node_modules/.pnpm/@vue_compiler-core@3.5.41/node_modules/@vue/compiler-core/dist/compiler-core.cjs.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_compiler-core@3.5.41/node_modules/@vue/compiler-core/index.mjs +13 -0
- package/dist/node_modules/.pnpm/@vue_compiler-core@3.5.41/node_modules/@vue/compiler-core/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_compiler-dom@3.5.41/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.mjs +663 -0
- package/dist/node_modules/.pnpm/@vue_compiler-dom@3.5.41/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_compiler-dom@3.5.41/node_modules/@vue/compiler-dom/index.mjs +13 -0
- package/dist/node_modules/.pnpm/@vue_compiler-dom@3.5.41/node_modules/@vue/compiler-dom/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_compiler-ssr@3.5.41/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.mjs +846 -0
- package/dist/node_modules/.pnpm/@vue_compiler-ssr@3.5.41/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_reactivity@3.5.41/node_modules/@vue/reactivity/dist/reactivity.cjs.mjs +1600 -0
- package/dist/node_modules/.pnpm/@vue_reactivity@3.5.41/node_modules/@vue/reactivity/dist/reactivity.cjs.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_reactivity@3.5.41/node_modules/@vue/reactivity/index.mjs +13 -0
- package/dist/node_modules/.pnpm/@vue_reactivity@3.5.41/node_modules/@vue/reactivity/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_runtime-core@3.5.41/node_modules/@vue/runtime-core/dist/runtime-core.cjs.mjs +5619 -0
- package/dist/node_modules/.pnpm/@vue_runtime-core@3.5.41/node_modules/@vue/runtime-core/dist/runtime-core.cjs.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_runtime-core@3.5.41/node_modules/@vue/runtime-core/index.mjs +13 -0
- package/dist/node_modules/.pnpm/@vue_runtime-core@3.5.41/node_modules/@vue/runtime-core/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_runtime-dom@3.5.41/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.mjs +1479 -0
- package/dist/node_modules/.pnpm/@vue_runtime-dom@3.5.41/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_runtime-dom@3.5.41/node_modules/@vue/runtime-dom/index.mjs +13 -0
- package/dist/node_modules/.pnpm/@vue_runtime-dom@3.5.41/node_modules/@vue/runtime-dom/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_server-renderer@3.5.41/node_modules/@vue/server-renderer/dist/server-renderer.cjs.mjs +510 -0
- package/dist/node_modules/.pnpm/@vue_server-renderer@3.5.41/node_modules/@vue/server-renderer/dist/server-renderer.cjs.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_server-renderer@3.5.41/node_modules/@vue/server-renderer/index.mjs +13 -0
- package/dist/node_modules/.pnpm/@vue_server-renderer@3.5.41/node_modules/@vue/server-renderer/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_shared@3.5.41/node_modules/@vue/shared/dist/shared.cjs.mjs +499 -0
- package/dist/node_modules/.pnpm/@vue_shared@3.5.41/node_modules/@vue/shared/dist/shared.cjs.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_shared@3.5.41/node_modules/@vue/shared/index.mjs +13 -0
- package/dist/node_modules/.pnpm/@vue_shared@3.5.41/node_modules/@vue/shared/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/decode-codepoint.mjs +79 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/decode-codepoint.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/decode.mjs +471 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/decode.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/generated/decode-data-html.mjs +16 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/generated/decode-data-html.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/generated/decode-data-xml.mjs +16 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/generated/decode-data-xml.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/internal/bin-trie-flags.mjs +30 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/internal/bin-trie-flags.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/internal/decode-shared.mjs +24 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/internal/decode-shared.mjs.map +1 -0
- package/dist/node_modules/.pnpm/estree-walker@2.0.2/node_modules/estree-walker/dist/umd/estree-walker.mjs +253 -0
- package/dist/node_modules/.pnpm/estree-walker@2.0.2/node_modules/estree-walker/dist/umd/estree-walker.mjs.map +1 -0
- package/dist/node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.mjs +5246 -0
- package/dist/node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.mjs.map +1 -0
- package/dist/node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/cjs/react-dom-server.node.development.mjs +5616 -0
- package/dist/node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/cjs/react-dom-server.node.development.mjs.map +1 -0
- package/dist/node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/cjs/react-dom.development.mjs +183 -0
- package/dist/node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/cjs/react-dom.development.mjs.map +1 -0
- package/dist/node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/index.mjs +13 -0
- package/dist/node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/server.node.mjs +21 -0
- package/dist/node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/server.node.mjs.map +1 -0
- package/dist/node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react.development.mjs +766 -0
- package/dist/node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react.development.mjs.map +1 -0
- package/dist/node_modules/.pnpm/react@19.2.8/node_modules/react/index.mjs +13 -0
- package/dist/node_modules/.pnpm/react@19.2.8/node_modules/react/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/array-set.mjs +100 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/array-set.mjs.map +1 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/base64-vlq.mjs +73 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/base64-vlq.mjs.map +1 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/base64.mjs +41 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/base64.mjs.map +1 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/binary-search.mjs +68 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/binary-search.mjs.map +1 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/mapping-list.mjs +77 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/mapping-list.mjs.map +1 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/quick-sort.mjs +89 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/quick-sort.mjs.map +1 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-consumer.mjs +788 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-consumer.mjs.map +1 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-generator.mjs +295 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-generator.mjs.map +1 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-node.mjs +293 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-node.mjs.map +1 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/util.mjs +352 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/util.mjs.map +1 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/source-map.mjs +17 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/source-map.mjs.map +1 -0
- package/dist/node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/dist/vue.cjs.mjs +67 -0
- package/dist/node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/dist/vue.cjs.mjs.map +1 -0
- package/dist/node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/index.mjs +13 -0
- package/dist/node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/index2.mjs +10 -0
- package/dist/node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/index2.mjs.map +1 -0
- package/dist/node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/server-renderer/index.mjs +10 -0
- package/dist/node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/server-renderer/index.mjs.map +1 -0
- package/dist/server/cli/bin.d.mts +1 -0
- package/dist/server/cli/bin.mjs +8 -0
- package/dist/server/cli/bin.mjs.map +1 -0
- package/dist/server/cli/cli-spec.mjs +150 -0
- package/dist/server/cli/cli-spec.mjs.map +1 -0
- package/dist/server/cli/index.d.mts +16 -0
- package/dist/server/cli/index.d.mts.map +1 -0
- package/dist/server/cli/index.mjs +64 -0
- package/dist/server/cli/index.mjs.map +1 -0
- package/dist/server/compile/adaptors/html-partials.d.mts +24 -0
- package/dist/server/compile/adaptors/html-partials.d.mts.map +1 -0
- package/dist/server/compile/adaptors/html-partials.mjs +50 -0
- package/dist/server/compile/adaptors/html-partials.mjs.map +1 -0
- package/dist/server/compile/adaptors/html.d.mts +15 -0
- package/dist/server/compile/adaptors/html.d.mts.map +1 -0
- package/dist/server/compile/adaptors/html.mjs +39 -0
- package/dist/server/compile/adaptors/html.mjs.map +1 -0
- package/dist/server/compile/adaptors/node-require.d.mts +6 -0
- package/dist/server/compile/adaptors/node-require.d.mts.map +1 -0
- package/dist/server/compile/adaptors/node-require.mjs +35 -0
- package/dist/server/compile/adaptors/node-require.mjs.map +1 -0
- package/dist/server/compile/adaptors/react-browser.d.mts +20 -0
- package/dist/server/compile/adaptors/react-browser.d.mts.map +1 -0
- package/dist/server/compile/adaptors/react-browser.mjs +19 -0
- package/dist/server/compile/adaptors/react-browser.mjs.map +1 -0
- package/dist/server/compile/adaptors/react-node.d.mts +17 -0
- package/dist/server/compile/adaptors/react-node.d.mts.map +1 -0
- package/dist/server/compile/adaptors/react-node.mjs +50 -0
- package/dist/server/compile/adaptors/react-node.mjs.map +1 -0
- package/dist/server/compile/adaptors/types.d.mts +14 -0
- package/dist/server/compile/adaptors/types.d.mts.map +1 -0
- package/dist/server/compile/adaptors/types.mjs +1 -0
- package/dist/server/compile/adaptors/vue-browser.d.mts +16 -0
- package/dist/server/compile/adaptors/vue-browser.d.mts.map +1 -0
- package/dist/server/compile/adaptors/vue-browser.mjs +16 -0
- package/dist/server/compile/adaptors/vue-browser.mjs.map +1 -0
- package/dist/server/compile/adaptors/vue-node.d.mts +17 -0
- package/dist/server/compile/adaptors/vue-node.d.mts.map +1 -0
- package/dist/server/compile/adaptors/vue-node.mjs +50 -0
- package/dist/server/compile/adaptors/vue-node.mjs.map +1 -0
- package/dist/server/compile/build-entry-module.d.mts +20 -0
- package/dist/server/compile/build-entry-module.d.mts.map +1 -0
- package/dist/server/compile/build-entry-module.mjs +56 -0
- package/dist/server/compile/build-entry-module.mjs.map +1 -0
- package/dist/server/compile/bundle-name.d.mts +5 -0
- package/dist/server/compile/bundle-name.d.mts.map +1 -0
- package/dist/server/compile/bundle-name.mjs +13 -0
- package/dist/server/compile/bundle-name.mjs.map +1 -0
- package/dist/server/compile/compile-cache.d.mts +23 -0
- package/dist/server/compile/compile-cache.d.mts.map +1 -0
- package/dist/server/compile/compile-cache.mjs +102 -0
- package/dist/server/compile/compile-cache.mjs.map +1 -0
- package/dist/server/compile/compile.d.mts +100 -0
- package/dist/server/compile/compile.d.mts.map +1 -0
- package/dist/server/compile/compile.mjs +735 -0
- package/dist/server/compile/compile.mjs.map +1 -0
- package/dist/server/compile/constants.d.mts +11 -0
- package/dist/server/compile/constants.d.mts.map +1 -0
- package/dist/server/compile/constants.mjs +12 -0
- package/dist/server/compile/constants.mjs.map +1 -0
- package/dist/server/compile/create-renderer.d.mts +16 -0
- package/dist/server/compile/create-renderer.d.mts.map +1 -0
- package/dist/server/compile/create-renderer.mjs +59 -0
- package/dist/server/compile/create-renderer.mjs.map +1 -0
- package/dist/server/compile/decode-style-entities.d.mts +12 -0
- package/dist/server/compile/decode-style-entities.d.mts.map +1 -0
- package/dist/server/compile/decode-style-entities.mjs +32 -0
- package/dist/server/compile/decode-style-entities.mjs.map +1 -0
- package/dist/server/compile/defaults.d.mts +18 -0
- package/dist/server/compile/defaults.d.mts.map +1 -0
- package/dist/server/compile/defaults.mjs +128 -0
- package/dist/server/compile/defaults.mjs.map +1 -0
- package/dist/server/compile/dependency-closure.d.mts +10 -0
- package/dist/server/compile/dependency-closure.d.mts.map +1 -0
- package/dist/server/compile/dependency-closure.mjs +79 -0
- package/dist/server/compile/dependency-closure.mjs.map +1 -0
- package/dist/server/compile/document-assets.d.mts +103 -0
- package/dist/server/compile/document-assets.d.mts.map +1 -0
- package/dist/server/compile/document-assets.mjs +184 -0
- package/dist/server/compile/document-assets.mjs.map +1 -0
- package/dist/server/compile/finalize-document-html.d.mts +53 -0
- package/dist/server/compile/finalize-document-html.d.mts.map +1 -0
- package/dist/server/compile/finalize-document-html.mjs +132 -0
- package/dist/server/compile/finalize-document-html.mjs.map +1 -0
- package/dist/server/compile/generated/adaptorHtml.mjs +6 -0
- package/dist/server/compile/generated/adaptorHtml.mjs.map +1 -0
- package/dist/server/compile/generated/adaptorReactBrowser.mjs +6 -0
- package/dist/server/compile/generated/adaptorReactBrowser.mjs.map +1 -0
- package/dist/server/compile/generated/adaptorReactNode.mjs +6 -0
- package/dist/server/compile/generated/adaptorReactNode.mjs.map +1 -0
- package/dist/server/compile/generated/adaptorVueBrowser.mjs +6 -0
- package/dist/server/compile/generated/adaptorVueBrowser.mjs.map +1 -0
- package/dist/server/compile/generated/adaptorVueNode.mjs +6 -0
- package/dist/server/compile/generated/adaptorVueNode.mjs.map +1 -0
- package/dist/server/compile/generated/createRenderer.mjs +6 -0
- package/dist/server/compile/generated/createRenderer.mjs.map +1 -0
- package/dist/server/compile/generated/decodeStyleEntities.mjs +6 -0
- package/dist/server/compile/generated/decodeStyleEntities.mjs.map +1 -0
- package/dist/server/compile/generated/sanitizeHtml.mjs +6 -0
- package/dist/server/compile/generated/sanitizeHtml.mjs.map +1 -0
- package/dist/server/compile/generated/validate.mjs +6 -0
- package/dist/server/compile/generated/validate.mjs.map +1 -0
- package/dist/server/compile/generated/virtualStyles.mjs +6 -0
- package/dist/server/compile/generated/virtualStyles.mjs.map +1 -0
- package/dist/server/compile/get-renderer.d.mts +18 -0
- package/dist/server/compile/get-renderer.d.mts.map +1 -0
- package/dist/server/compile/get-renderer.mjs +31 -0
- package/dist/server/compile/get-renderer.mjs.map +1 -0
- package/dist/server/compile/index.d.mts +2 -0
- package/dist/server/compile/index.mjs +3 -0
- package/dist/server/compile/make-config.d.mts +39 -0
- package/dist/server/compile/make-config.d.mts.map +1 -0
- package/dist/server/compile/make-config.mjs +278 -0
- package/dist/server/compile/make-config.mjs.map +1 -0
- package/dist/server/compile/package-json.d.mts +5 -0
- package/dist/server/compile/package-json.d.mts.map +1 -0
- package/dist/server/compile/package-json.mjs +33 -0
- package/dist/server/compile/package-json.mjs.map +1 -0
- package/dist/server/compile/producer-agreement.d.mts +82 -0
- package/dist/server/compile/producer-agreement.d.mts.map +1 -0
- package/dist/server/compile/producer-agreement.mjs +143 -0
- package/dist/server/compile/producer-agreement.mjs.map +1 -0
- package/dist/server/compile/producer-release.d.mts +19 -0
- package/dist/server/compile/producer-release.d.mts.map +1 -0
- package/dist/server/compile/producer-release.mjs +27 -0
- package/dist/server/compile/producer-release.mjs.map +1 -0
- package/dist/server/compile/render-error.d.mts +37 -0
- package/dist/server/compile/render-error.d.mts.map +1 -0
- package/dist/server/compile/render-error.mjs +55 -0
- package/dist/server/compile/render-error.mjs.map +1 -0
- package/dist/server/compile/sanitize/shared.d.mts +19 -0
- package/dist/server/compile/sanitize/shared.d.mts.map +1 -0
- package/dist/server/compile/sanitize/shared.mjs +131 -0
- package/dist/server/compile/sanitize/shared.mjs.map +1 -0
- package/dist/server/compile/sanitize-html.d.mts +5 -0
- package/dist/server/compile/sanitize-html.d.mts.map +1 -0
- package/dist/server/compile/sanitize-html.mjs +65 -0
- package/dist/server/compile/sanitize-html.mjs.map +1 -0
- package/dist/server/compile/structured-log.d.mts +22 -0
- package/dist/server/compile/structured-log.d.mts.map +1 -0
- package/dist/server/compile/structured-log.mjs +31 -0
- package/dist/server/compile/structured-log.mjs.map +1 -0
- package/dist/server/compile/virtual-styles.d.mts +5 -0
- package/dist/server/compile/virtual-styles.d.mts.map +1 -0
- package/dist/server/compile/virtual-styles.mjs +19 -0
- package/dist/server/compile/virtual-styles.mjs.map +1 -0
- package/dist/server/compile/wrapper-source.d.mts +55 -0
- package/dist/server/compile/wrapper-source.d.mts.map +1 -0
- package/dist/server/compile/wrapper-source.mjs +187 -0
- package/dist/server/compile/wrapper-source.mjs.map +1 -0
- package/dist/server/constants.d.mts +17 -0
- package/dist/server/constants.d.mts.map +1 -0
- package/dist/server/constants.mjs +41 -0
- package/dist/server/constants.mjs.map +1 -0
- package/dist/server/errors.d.mts +21 -0
- package/dist/server/errors.d.mts.map +1 -0
- package/dist/server/errors.mjs +24 -0
- package/dist/server/errors.mjs.map +1 -0
- package/dist/server/index.d.mts +4 -0
- package/dist/server/index.mjs +4 -0
- package/dist/server/integrations/nextjs/generate-entry.d.mts +19 -0
- package/dist/server/integrations/nextjs/generate-entry.d.mts.map +1 -0
- package/dist/server/integrations/nextjs/generate-entry.mjs +246 -0
- package/dist/server/integrations/nextjs/generate-entry.mjs.map +1 -0
- package/dist/server/integrations/nextjs/index.d.mts +8 -0
- package/dist/server/integrations/nextjs/index.d.mts.map +1 -0
- package/dist/server/integrations/nextjs/index.mjs +90 -0
- package/dist/server/integrations/nextjs/index.mjs.map +1 -0
- package/dist/server/integrations/nextjs/watcher.d.mts +9 -0
- package/dist/server/integrations/nextjs/watcher.d.mts.map +1 -0
- package/dist/server/integrations/nextjs/watcher.mjs +45 -0
- package/dist/server/integrations/nextjs/watcher.mjs.map +1 -0
- package/dist/server/integrations/unplugin/esbuild.d.mts +2 -0
- package/dist/server/integrations/unplugin/esbuild.mjs +3 -0
- package/dist/server/integrations/unplugin/index.d.mts +69 -0
- package/dist/server/integrations/unplugin/index.d.mts.map +1 -0
- package/dist/server/integrations/unplugin/index.mjs +539 -0
- package/dist/server/integrations/unplugin/index.mjs.map +1 -0
- package/dist/server/integrations/unplugin/rollup.d.mts +2 -0
- package/dist/server/integrations/unplugin/rollup.mjs +3 -0
- package/dist/server/integrations/unplugin/utils.d.mts +12 -0
- package/dist/server/integrations/unplugin/utils.d.mts.map +1 -0
- package/dist/server/integrations/unplugin/utils.mjs +46 -0
- package/dist/server/integrations/unplugin/utils.mjs.map +1 -0
- package/dist/server/integrations/unplugin/vite.d.mts +2 -0
- package/dist/server/integrations/unplugin/vite.mjs +3 -0
- package/dist/server/integrations/unplugin/webpack.d.mts +2 -0
- package/dist/server/integrations/unplugin/webpack.mjs +3 -0
- package/dist/server/project/documents.d.mts +21 -0
- package/dist/server/project/documents.d.mts.map +1 -0
- package/dist/server/project/documents.mjs +114 -0
- package/dist/server/project/documents.mjs.map +1 -0
- package/dist/server/project/format-env-types.d.mts +19 -0
- package/dist/server/project/format-env-types.d.mts.map +1 -0
- package/dist/server/project/format-env-types.mjs +64 -0
- package/dist/server/project/format-env-types.mjs.map +1 -0
- package/dist/server/project/paths.d.mts +21 -0
- package/dist/server/project/paths.d.mts.map +1 -0
- package/dist/server/project/paths.mjs +31 -0
- package/dist/server/project/paths.mjs.map +1 -0
- package/dist/server/project/user-project-dir.d.mts +7 -0
- package/dist/server/project/user-project-dir.d.mts.map +1 -0
- package/dist/server/project/user-project-dir.mjs +16 -0
- package/dist/server/project/user-project-dir.mjs.map +1 -0
- package/dist/server/render-worker/client.d.mts +83 -0
- package/dist/server/render-worker/client.d.mts.map +1 -0
- package/dist/server/render-worker/client.mjs +359 -0
- package/dist/server/render-worker/client.mjs.map +1 -0
- package/dist/server/render-worker/document-css.d.mts +27 -0
- package/dist/server/render-worker/document-css.d.mts.map +1 -0
- package/dist/server/render-worker/document-css.mjs +37 -0
- package/dist/server/render-worker/document-css.mjs.map +1 -0
- package/dist/server/render-worker/env.d.mts +11 -0
- package/dist/server/render-worker/env.d.mts.map +1 -0
- package/dist/server/render-worker/env.mjs +26 -0
- package/dist/server/render-worker/env.mjs.map +1 -0
- package/dist/server/render-worker/error.d.mts +17 -0
- package/dist/server/render-worker/error.d.mts.map +1 -0
- package/dist/server/render-worker/error.mjs +40 -0
- package/dist/server/render-worker/error.mjs.map +1 -0
- package/dist/server/render-worker/host.d.mts +1 -0
- package/dist/server/render-worker/host.mjs +181 -0
- package/dist/server/render-worker/host.mjs.map +1 -0
- package/dist/server/render-worker/index.d.mts +4 -0
- package/dist/server/render-worker/index.mjs +4 -0
- package/dist/server/render-worker/sandbox.d.mts +25 -0
- package/dist/server/render-worker/sandbox.d.mts.map +1 -0
- package/dist/server/render-worker/sandbox.mjs +60 -0
- package/dist/server/render-worker/sandbox.mjs.map +1 -0
- package/dist/server/render-worker/types.d.mts +59 -0
- package/dist/server/render-worker/types.d.mts.map +1 -0
- package/dist/server/render-worker/types.mjs +1 -0
- package/dist/server/runtime-state.d.mts +12 -0
- package/dist/server/runtime-state.d.mts.map +1 -0
- package/dist/server/runtime-state.mjs +24 -0
- package/dist/server/runtime-state.mjs.map +1 -0
- package/dist/server/utils/check-dir.d.mts +12 -0
- package/dist/server/utils/check-dir.d.mts.map +1 -0
- package/dist/server/utils/check-dir.mjs +30 -0
- package/dist/server/utils/check-dir.mjs.map +1 -0
- package/dist/server/utils/dependencies.d.mts +11 -0
- package/dist/server/utils/dependencies.d.mts.map +1 -0
- package/dist/server/utils/dependencies.mjs +34 -0
- package/dist/server/utils/dependencies.mjs.map +1 -0
- package/dist/server/utils/env-var.d.mts +6 -0
- package/dist/server/utils/env-var.d.mts.map +1 -0
- package/dist/server/utils/env-var.mjs +28 -0
- package/dist/server/utils/env-var.mjs.map +1 -0
- package/dist/server/utils/format-for-log.d.mts +5 -0
- package/dist/server/utils/format-for-log.d.mts.map +1 -0
- package/dist/server/utils/format-for-log.mjs +17 -0
- package/dist/server/utils/format-for-log.mjs.map +1 -0
- package/dist/server/utils/index.d.mts +8 -0
- package/dist/server/utils/index.mjs +9 -0
- package/dist/server/utils/load-config.d.mts +13 -0
- package/dist/server/utils/load-config.d.mts.map +1 -0
- package/dist/server/utils/load-config.mjs +65 -0
- package/dist/server/utils/load-config.mjs.map +1 -0
- package/dist/server/utils/log.d.mts +36 -0
- package/dist/server/utils/log.d.mts.map +1 -0
- package/dist/server/utils/log.mjs +125 -0
- package/dist/server/utils/log.mjs.map +1 -0
- package/dist/server/utils/read-file.d.mts +5 -0
- package/dist/server/utils/read-file.d.mts.map +1 -0
- package/dist/server/utils/read-file.mjs +14 -0
- package/dist/server/utils/read-file.mjs.map +1 -0
- package/dist/server/utils/resolve-path-with-extensions.d.mts +21 -0
- package/dist/server/utils/resolve-path-with-extensions.d.mts.map +1 -0
- package/dist/server/utils/resolve-path-with-extensions.mjs +39 -0
- package/dist/server/utils/resolve-path-with-extensions.mjs.map +1 -0
- package/dist/server/utils/schema.d.mts +7 -0
- package/dist/server/utils/schema.d.mts.map +1 -0
- package/dist/server/utils/schema.mjs +21 -0
- package/dist/server/utils/schema.mjs.map +1 -0
- package/dist/server/utils/standard-schema-validate.d.mts +13 -0
- package/dist/server/utils/standard-schema-validate.d.mts.map +1 -0
- package/dist/server/utils/standard-schema-validate.mjs +21 -0
- package/dist/server/utils/standard-schema-validate.mjs.map +1 -0
- package/dist/server/utils/suggest-similar.d.mts +9 -0
- package/dist/server/utils/suggest-similar.d.mts.map +1 -0
- package/dist/server/utils/suggest-similar.mjs +39 -0
- package/dist/server/utils/suggest-similar.mjs.map +1 -0
- package/dist/server/utils/warn-lockstep.d.mts +13 -0
- package/dist/server/utils/warn-lockstep.d.mts.map +1 -0
- package/dist/server/utils/warn-lockstep.mjs +23 -0
- package/dist/server/utils/warn-lockstep.mjs.map +1 -0
- package/dist/server/vite/create-config.d.mts +35 -0
- package/dist/server/vite/create-config.d.mts.map +1 -0
- package/dist/server/vite/create-config.mjs +64 -0
- package/dist/server/vite/create-config.mjs.map +1 -0
- package/dist/server/vite/plugins/collect-css.d.mts +8 -0
- package/dist/server/vite/plugins/collect-css.d.mts.map +1 -0
- package/dist/server/vite/plugins/collect-css.mjs +21 -0
- package/dist/server/vite/plugins/collect-css.mjs.map +1 -0
- package/dist/server/vite/plugins/get-styles.d.mts +14 -0
- package/dist/server/vite/plugins/get-styles.d.mts.map +1 -0
- package/dist/server/vite/plugins/get-styles.mjs +88 -0
- package/dist/server/vite/plugins/get-styles.mjs.map +1 -0
- package/dist/server/vite/plugins/html-loader.d.mts +18 -0
- package/dist/server/vite/plugins/html-loader.d.mts.map +1 -0
- package/dist/server/vite/plugins/html-loader.mjs +88 -0
- package/dist/server/vite/plugins/html-loader.mjs.map +1 -0
- package/dist/server/vite/plugins/postcss/import-url.d.mts +14 -0
- package/dist/server/vite/plugins/postcss/import-url.d.mts.map +1 -0
- package/dist/server/vite/plugins/postcss/import-url.mjs +163 -0
- package/dist/server/vite/plugins/postcss/import-url.mjs.map +1 -0
- package/dist/server/vite/plugins/styles-pre-processor.d.mts +7 -0
- package/dist/server/vite/plugins/styles-pre-processor.d.mts.map +1 -0
- package/dist/server/vite/plugins/styles-pre-processor.mjs +64 -0
- package/dist/server/vite/plugins/styles-pre-processor.mjs.map +1 -0
- package/dist/server/vite/plugins/utils.d.mts +9 -0
- package/dist/server/vite/plugins/utils.d.mts.map +1 -0
- package/dist/server/vite/plugins/utils.mjs +14 -0
- package/dist/server/vite/plugins/utils.mjs.map +1 -0
- package/dist/shared/constants.d.mts +11 -0
- package/dist/shared/constants.d.mts.map +1 -0
- package/dist/shared/constants.mjs +12 -0
- package/dist/shared/constants.mjs.map +1 -0
- package/dist/shared/env.d.mts +6 -0
- package/dist/shared/env.d.mts.map +1 -0
- package/dist/shared/env.mjs +11 -0
- package/dist/shared/env.mjs.map +1 -0
- package/dist/shared/http.d.mts +15 -0
- package/dist/shared/http.d.mts.map +1 -0
- package/dist/shared/http.mjs +54 -0
- package/dist/shared/http.mjs.map +1 -0
- package/dist/shared/types/document.d.mts +17 -0
- package/dist/shared/types/document.d.mts.map +1 -0
- package/dist/shared/types/document.mjs +1 -0
- package/dist/shared/types/index.d.mts +7 -0
- package/dist/shared/types/index.mjs +4 -0
- package/dist/shared/types/log.d.mts +10 -0
- package/dist/shared/types/log.d.mts.map +1 -0
- package/dist/shared/types/log.mjs +12 -0
- package/dist/shared/types/log.mjs.map +1 -0
- package/dist/shared/types/public/cli.d.mts +33 -0
- package/dist/shared/types/public/cli.d.mts.map +1 -0
- package/dist/shared/types/public/cli.mjs +1 -0
- package/dist/shared/types/public/compile.d.mts +45 -0
- package/dist/shared/types/public/compile.d.mts.map +1 -0
- package/dist/shared/types/public/compile.mjs +29 -0
- package/dist/shared/types/public/compile.mjs.map +1 -0
- package/dist/shared/types/public/config.d.mts +94 -0
- package/dist/shared/types/public/config.d.mts.map +1 -0
- package/dist/shared/types/public/config.mjs +20 -0
- package/dist/shared/types/public/config.mjs.map +1 -0
- package/dist/shared/types/public/index.d.mts +6 -0
- package/dist/shared/types/public/index.mjs +4 -0
- package/dist/shared/types/public/nextjs.d.mts +111 -0
- package/dist/shared/types/public/nextjs.d.mts.map +1 -0
- package/dist/shared/types/public/nextjs.mjs +1 -0
- package/dist/shared/types/public/renderer.d.mts +2 -0
- package/dist/shared/types/public/renderer.mjs +1 -0
- package/dist/shared/types/public/unplugin.d.mts +65 -0
- package/dist/shared/types/public/unplugin.d.mts.map +1 -0
- package/dist/shared/types/public/unplugin.mjs +1 -0
- package/dist/shared/types/server.d.mts +5 -0
- package/dist/shared/types/server.d.mts.map +1 -0
- package/dist/shared/types/server.mjs +1 -0
- package/dist/shared/types/state.d.mts +15 -0
- package/dist/shared/types/state.d.mts.map +1 -0
- package/dist/shared/types/state.mjs +1 -0
- package/dist/shared/types/system.d.mts +18 -0
- package/dist/shared/types/system.d.mts.map +1 -0
- package/dist/shared/types/system.mjs +1 -0
- package/package.json +146 -34
- package/types/next.d.ts +6 -0
- package/index.d.ts +0 -2
- package/index.js +0 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createRenderer.mjs","names":[],"sources":["../../../../src/server/compile/generated/createRenderer.mjs?raw"],"sourcesContent":["export default \"import adaptor from \\\"virtual:adaptor\\\";\\nimport validate from \\\"virtual:validate\\\";\\nimport { decodeStyleEntities } from \\\"virtual:decode-style-entities\\\";\\nimport { sanitizeHtml } from \\\"virtual:sanitize-html\\\";\\n\\n//#region ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/common/unicode.js\\nconst UNDEFINED_CODE_POINTS = new Set([\\n\\t65534,\\n\\t65535,\\n\\t131070,\\n\\t131071,\\n\\t196606,\\n\\t196607,\\n\\t262142,\\n\\t262143,\\n\\t327678,\\n\\t327679,\\n\\t393214,\\n\\t393215,\\n\\t458750,\\n\\t458751,\\n\\t524286,\\n\\t524287,\\n\\t589822,\\n\\t589823,\\n\\t655358,\\n\\t655359,\\n\\t720894,\\n\\t720895,\\n\\t786430,\\n\\t786431,\\n\\t851966,\\n\\t851967,\\n\\t917502,\\n\\t917503,\\n\\t983038,\\n\\t983039,\\n\\t1048574,\\n\\t1048575,\\n\\t1114110,\\n\\t1114111\\n]);\\nconst REPLACEMENT_CHARACTER = \\\"�\\\";\\nvar CODE_POINTS;\\n(function(CODE_POINTS$1) {\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"EOF\\\"] = -1] = \\\"EOF\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"NULL\\\"] = 0] = \\\"NULL\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"TABULATION\\\"] = 9] = \\\"TABULATION\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"CARRIAGE_RETURN\\\"] = 13] = \\\"CARRIAGE_RETURN\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"LINE_FEED\\\"] = 10] = \\\"LINE_FEED\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"FORM_FEED\\\"] = 12] = \\\"FORM_FEED\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"SPACE\\\"] = 32] = \\\"SPACE\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"EXCLAMATION_MARK\\\"] = 33] = \\\"EXCLAMATION_MARK\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"QUOTATION_MARK\\\"] = 34] = \\\"QUOTATION_MARK\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"AMPERSAND\\\"] = 38] = \\\"AMPERSAND\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"APOSTROPHE\\\"] = 39] = \\\"APOSTROPHE\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"HYPHEN_MINUS\\\"] = 45] = \\\"HYPHEN_MINUS\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"SOLIDUS\\\"] = 47] = \\\"SOLIDUS\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"DIGIT_0\\\"] = 48] = \\\"DIGIT_0\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"DIGIT_9\\\"] = 57] = \\\"DIGIT_9\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"SEMICOLON\\\"] = 59] = \\\"SEMICOLON\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"LESS_THAN_SIGN\\\"] = 60] = \\\"LESS_THAN_SIGN\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"EQUALS_SIGN\\\"] = 61] = \\\"EQUALS_SIGN\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"GREATER_THAN_SIGN\\\"] = 62] = \\\"GREATER_THAN_SIGN\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"QUESTION_MARK\\\"] = 63] = \\\"QUESTION_MARK\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"LATIN_CAPITAL_A\\\"] = 65] = \\\"LATIN_CAPITAL_A\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"LATIN_CAPITAL_Z\\\"] = 90] = \\\"LATIN_CAPITAL_Z\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"RIGHT_SQUARE_BRACKET\\\"] = 93] = \\\"RIGHT_SQUARE_BRACKET\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"GRAVE_ACCENT\\\"] = 96] = \\\"GRAVE_ACCENT\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"LATIN_SMALL_A\\\"] = 97] = \\\"LATIN_SMALL_A\\\";\\n\\tCODE_POINTS$1[CODE_POINTS$1[\\\"LATIN_SMALL_Z\\\"] = 122] = \\\"LATIN_SMALL_Z\\\";\\n})(CODE_POINTS || (CODE_POINTS = {}));\\nconst SEQUENCES = {\\n\\tDASH_DASH: \\\"--\\\",\\n\\tCDATA_START: \\\"[CDATA[\\\",\\n\\tDOCTYPE: \\\"doctype\\\",\\n\\tSCRIPT: \\\"script\\\",\\n\\tPUBLIC: \\\"public\\\",\\n\\tSYSTEM: \\\"system\\\"\\n};\\nfunction isSurrogate(cp) {\\n\\treturn cp >= 55296 && cp <= 57343;\\n}\\nfunction isSurrogatePair(cp) {\\n\\treturn cp >= 56320 && cp <= 57343;\\n}\\nfunction getSurrogatePairCodePoint(cp1, cp2) {\\n\\treturn (cp1 - 55296) * 1024 + 9216 + cp2;\\n}\\nfunction isControlCodePoint(cp) {\\n\\treturn cp !== 32 && cp !== 10 && cp !== 13 && cp !== 9 && cp !== 12 && cp >= 1 && cp <= 31 || cp >= 127 && cp <= 159;\\n}\\nfunction isUndefinedCodePoint(cp) {\\n\\treturn cp >= 64976 && cp <= 65007 || UNDEFINED_CODE_POINTS.has(cp);\\n}\\n\\n//#endregion\\n//#region ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/common/error-codes.js\\nvar ERR;\\n(function(ERR$1) {\\n\\tERR$1[\\\"controlCharacterInInputStream\\\"] = \\\"control-character-in-input-stream\\\";\\n\\tERR$1[\\\"noncharacterInInputStream\\\"] = \\\"noncharacter-in-input-stream\\\";\\n\\tERR$1[\\\"surrogateInInputStream\\\"] = \\\"surrogate-in-input-stream\\\";\\n\\tERR$1[\\\"nonVoidHtmlElementStartTagWithTrailingSolidus\\\"] = \\\"non-void-html-element-start-tag-with-trailing-solidus\\\";\\n\\tERR$1[\\\"endTagWithAttributes\\\"] = \\\"end-tag-with-attributes\\\";\\n\\tERR$1[\\\"endTagWithTrailingSolidus\\\"] = \\\"end-tag-with-trailing-solidus\\\";\\n\\tERR$1[\\\"unexpectedSolidusInTag\\\"] = \\\"unexpected-solidus-in-tag\\\";\\n\\tERR$1[\\\"unexpectedNullCharacter\\\"] = \\\"unexpected-null-character\\\";\\n\\tERR$1[\\\"unexpectedQuestionMarkInsteadOfTagName\\\"] = \\\"unexpected-question-mark-instead-of-tag-name\\\";\\n\\tERR$1[\\\"invalidFirstCharacterOfTagName\\\"] = \\\"invalid-first-character-of-tag-name\\\";\\n\\tERR$1[\\\"unexpectedEqualsSignBeforeAttributeName\\\"] = \\\"unexpected-equals-sign-before-attribute-name\\\";\\n\\tERR$1[\\\"missingEndTagName\\\"] = \\\"missing-end-tag-name\\\";\\n\\tERR$1[\\\"unexpectedCharacterInAttributeName\\\"] = \\\"unexpected-character-in-attribute-name\\\";\\n\\tERR$1[\\\"unknownNamedCharacterReference\\\"] = \\\"unknown-named-character-reference\\\";\\n\\tERR$1[\\\"missingSemicolonAfterCharacterReference\\\"] = \\\"missing-semicolon-after-character-reference\\\";\\n\\tERR$1[\\\"unexpectedCharacterAfterDoctypeSystemIdentifier\\\"] = \\\"unexpected-character-after-doctype-system-identifier\\\";\\n\\tERR$1[\\\"unexpectedCharacterInUnquotedAttributeValue\\\"] = \\\"unexpected-character-in-unquoted-attribute-value\\\";\\n\\tERR$1[\\\"eofBeforeTagName\\\"] = \\\"eof-before-tag-name\\\";\\n\\tERR$1[\\\"eofInTag\\\"] = \\\"eof-in-tag\\\";\\n\\tERR$1[\\\"missingAttributeValue\\\"] = \\\"missing-attribute-value\\\";\\n\\tERR$1[\\\"missingWhitespaceBetweenAttributes\\\"] = \\\"missing-whitespace-between-attributes\\\";\\n\\tERR$1[\\\"missingWhitespaceAfterDoctypePublicKeyword\\\"] = \\\"missing-whitespace-after-doctype-public-keyword\\\";\\n\\tERR$1[\\\"missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers\\\"] = \\\"missing-whitespace-between-doctype-public-and-system-identifiers\\\";\\n\\tERR$1[\\\"missingWhitespaceAfterDoctypeSystemKeyword\\\"] = \\\"missing-whitespace-after-doctype-system-keyword\\\";\\n\\tERR$1[\\\"missingQuoteBeforeDoctypePublicIdentifier\\\"] = \\\"missing-quote-before-doctype-public-identifier\\\";\\n\\tERR$1[\\\"missingQuoteBeforeDoctypeSystemIdentifier\\\"] = \\\"missing-quote-before-doctype-system-identifier\\\";\\n\\tERR$1[\\\"missingDoctypePublicIdentifier\\\"] = \\\"missing-doctype-public-identifier\\\";\\n\\tERR$1[\\\"missingDoctypeSystemIdentifier\\\"] = \\\"missing-doctype-system-identifier\\\";\\n\\tERR$1[\\\"abruptDoctypePublicIdentifier\\\"] = \\\"abrupt-doctype-public-identifier\\\";\\n\\tERR$1[\\\"abruptDoctypeSystemIdentifier\\\"] = \\\"abrupt-doctype-system-identifier\\\";\\n\\tERR$1[\\\"cdataInHtmlContent\\\"] = \\\"cdata-in-html-content\\\";\\n\\tERR$1[\\\"incorrectlyOpenedComment\\\"] = \\\"incorrectly-opened-comment\\\";\\n\\tERR$1[\\\"eofInScriptHtmlCommentLikeText\\\"] = \\\"eof-in-script-html-comment-like-text\\\";\\n\\tERR$1[\\\"eofInDoctype\\\"] = \\\"eof-in-doctype\\\";\\n\\tERR$1[\\\"nestedComment\\\"] = \\\"nested-comment\\\";\\n\\tERR$1[\\\"abruptClosingOfEmptyComment\\\"] = \\\"abrupt-closing-of-empty-comment\\\";\\n\\tERR$1[\\\"eofInComment\\\"] = \\\"eof-in-comment\\\";\\n\\tERR$1[\\\"incorrectlyClosedComment\\\"] = \\\"incorrectly-closed-comment\\\";\\n\\tERR$1[\\\"eofInCdata\\\"] = \\\"eof-in-cdata\\\";\\n\\tERR$1[\\\"absenceOfDigitsInNumericCharacterReference\\\"] = \\\"absence-of-digits-in-numeric-character-reference\\\";\\n\\tERR$1[\\\"nullCharacterReference\\\"] = \\\"null-character-reference\\\";\\n\\tERR$1[\\\"surrogateCharacterReference\\\"] = \\\"surrogate-character-reference\\\";\\n\\tERR$1[\\\"characterReferenceOutsideUnicodeRange\\\"] = \\\"character-reference-outside-unicode-range\\\";\\n\\tERR$1[\\\"controlCharacterReference\\\"] = \\\"control-character-reference\\\";\\n\\tERR$1[\\\"noncharacterCharacterReference\\\"] = \\\"noncharacter-character-reference\\\";\\n\\tERR$1[\\\"missingWhitespaceBeforeDoctypeName\\\"] = \\\"missing-whitespace-before-doctype-name\\\";\\n\\tERR$1[\\\"missingDoctypeName\\\"] = \\\"missing-doctype-name\\\";\\n\\tERR$1[\\\"invalidCharacterSequenceAfterDoctypeName\\\"] = \\\"invalid-character-sequence-after-doctype-name\\\";\\n\\tERR$1[\\\"duplicateAttribute\\\"] = \\\"duplicate-attribute\\\";\\n\\tERR$1[\\\"nonConformingDoctype\\\"] = \\\"non-conforming-doctype\\\";\\n\\tERR$1[\\\"missingDoctype\\\"] = \\\"missing-doctype\\\";\\n\\tERR$1[\\\"misplacedDoctype\\\"] = \\\"misplaced-doctype\\\";\\n\\tERR$1[\\\"endTagWithoutMatchingOpenElement\\\"] = \\\"end-tag-without-matching-open-element\\\";\\n\\tERR$1[\\\"closingOfElementWithOpenChildElements\\\"] = \\\"closing-of-element-with-open-child-elements\\\";\\n\\tERR$1[\\\"disallowedContentInNoscriptInHead\\\"] = \\\"disallowed-content-in-noscript-in-head\\\";\\n\\tERR$1[\\\"openElementsLeftAfterEof\\\"] = \\\"open-elements-left-after-eof\\\";\\n\\tERR$1[\\\"abandonedHeadElementChild\\\"] = \\\"abandoned-head-element-child\\\";\\n\\tERR$1[\\\"misplacedStartTagForHeadElement\\\"] = \\\"misplaced-start-tag-for-head-element\\\";\\n\\tERR$1[\\\"nestedNoscriptInHead\\\"] = \\\"nested-noscript-in-head\\\";\\n\\tERR$1[\\\"eofInElementThatCanContainOnlyText\\\"] = \\\"eof-in-element-that-can-contain-only-text\\\";\\n})(ERR || (ERR = {}));\\n\\n//#endregion\\n//#region ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/tokenizer/preprocessor.js\\nconst DEFAULT_BUFFER_WATERLINE = 65536;\\nvar Preprocessor = class {\\n\\tconstructor(handler) {\\n\\t\\tthis.handler = handler;\\n\\t\\tthis.html = \\\"\\\";\\n\\t\\tthis.pos = -1;\\n\\t\\tthis.lastGapPos = -2;\\n\\t\\tthis.gapStack = [];\\n\\t\\tthis.skipNextNewLine = false;\\n\\t\\tthis.lastChunkWritten = false;\\n\\t\\tthis.endOfChunkHit = false;\\n\\t\\tthis.bufferWaterline = DEFAULT_BUFFER_WATERLINE;\\n\\t\\tthis.isEol = false;\\n\\t\\tthis.lineStartPos = 0;\\n\\t\\tthis.droppedBufferSize = 0;\\n\\t\\tthis.line = 1;\\n\\t\\tthis.lastErrOffset = -1;\\n\\t}\\n\\t/** The column on the current line. If we just saw a gap (eg. a surrogate pair), return the index before. */\\n\\tget col() {\\n\\t\\treturn this.pos - this.lineStartPos + Number(this.lastGapPos !== this.pos);\\n\\t}\\n\\tget offset() {\\n\\t\\treturn this.droppedBufferSize + this.pos;\\n\\t}\\n\\tgetError(code, cpOffset) {\\n\\t\\tconst { line, col, offset } = this;\\n\\t\\tconst startCol = col + cpOffset;\\n\\t\\tconst startOffset = offset + cpOffset;\\n\\t\\treturn {\\n\\t\\t\\tcode,\\n\\t\\t\\tstartLine: line,\\n\\t\\t\\tendLine: line,\\n\\t\\t\\tstartCol,\\n\\t\\t\\tendCol: startCol,\\n\\t\\t\\tstartOffset,\\n\\t\\t\\tendOffset: startOffset\\n\\t\\t};\\n\\t}\\n\\t_err(code) {\\n\\t\\tif (this.handler.onParseError && this.lastErrOffset !== this.offset) {\\n\\t\\t\\tthis.lastErrOffset = this.offset;\\n\\t\\t\\tthis.handler.onParseError(this.getError(code, 0));\\n\\t\\t}\\n\\t}\\n\\t_addGap() {\\n\\t\\tthis.gapStack.push(this.lastGapPos);\\n\\t\\tthis.lastGapPos = this.pos;\\n\\t}\\n\\t_processSurrogate(cp) {\\n\\t\\tif (this.pos !== this.html.length - 1) {\\n\\t\\t\\tconst nextCp = this.html.charCodeAt(this.pos + 1);\\n\\t\\t\\tif (isSurrogatePair(nextCp)) {\\n\\t\\t\\t\\tthis.pos++;\\n\\t\\t\\t\\tthis._addGap();\\n\\t\\t\\t\\treturn getSurrogatePairCodePoint(cp, nextCp);\\n\\t\\t\\t}\\n\\t\\t} else if (!this.lastChunkWritten) {\\n\\t\\t\\tthis.endOfChunkHit = true;\\n\\t\\t\\treturn CODE_POINTS.EOF;\\n\\t\\t}\\n\\t\\tthis._err(ERR.surrogateInInputStream);\\n\\t\\treturn cp;\\n\\t}\\n\\twillDropParsedChunk() {\\n\\t\\treturn this.pos > this.bufferWaterline;\\n\\t}\\n\\tdropParsedChunk() {\\n\\t\\tif (this.willDropParsedChunk()) {\\n\\t\\t\\tthis.html = this.html.substring(this.pos);\\n\\t\\t\\tthis.lineStartPos -= this.pos;\\n\\t\\t\\tthis.droppedBufferSize += this.pos;\\n\\t\\t\\tthis.pos = 0;\\n\\t\\t\\tthis.lastGapPos = -2;\\n\\t\\t\\tthis.gapStack.length = 0;\\n\\t\\t}\\n\\t}\\n\\twrite(chunk, isLastChunk) {\\n\\t\\tif (this.html.length > 0) this.html += chunk;\\n\\t\\telse this.html = chunk;\\n\\t\\tthis.endOfChunkHit = false;\\n\\t\\tthis.lastChunkWritten = isLastChunk;\\n\\t}\\n\\tinsertHtmlAtCurrentPos(chunk) {\\n\\t\\tthis.html = this.html.substring(0, this.pos + 1) + chunk + this.html.substring(this.pos + 1);\\n\\t\\tthis.endOfChunkHit = false;\\n\\t}\\n\\tstartsWith(pattern, caseSensitive) {\\n\\t\\tif (this.pos + pattern.length > this.html.length) {\\n\\t\\t\\tthis.endOfChunkHit = !this.lastChunkWritten;\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t\\tif (caseSensitive) return this.html.startsWith(pattern, this.pos);\\n\\t\\tfor (let i = 0; i < pattern.length; i++) if ((this.html.charCodeAt(this.pos + i) | 32) !== pattern.charCodeAt(i)) return false;\\n\\t\\treturn true;\\n\\t}\\n\\tpeek(offset) {\\n\\t\\tconst pos = this.pos + offset;\\n\\t\\tif (pos >= this.html.length) {\\n\\t\\t\\tthis.endOfChunkHit = !this.lastChunkWritten;\\n\\t\\t\\treturn CODE_POINTS.EOF;\\n\\t\\t}\\n\\t\\tconst code = this.html.charCodeAt(pos);\\n\\t\\treturn code === CODE_POINTS.CARRIAGE_RETURN ? CODE_POINTS.LINE_FEED : code;\\n\\t}\\n\\tadvance() {\\n\\t\\tthis.pos++;\\n\\t\\tif (this.isEol) {\\n\\t\\t\\tthis.isEol = false;\\n\\t\\t\\tthis.line++;\\n\\t\\t\\tthis.lineStartPos = this.pos;\\n\\t\\t}\\n\\t\\tif (this.pos >= this.html.length) {\\n\\t\\t\\tthis.endOfChunkHit = !this.lastChunkWritten;\\n\\t\\t\\treturn CODE_POINTS.EOF;\\n\\t\\t}\\n\\t\\tlet cp = this.html.charCodeAt(this.pos);\\n\\t\\tif (cp === CODE_POINTS.CARRIAGE_RETURN) {\\n\\t\\t\\tthis.isEol = true;\\n\\t\\t\\tthis.skipNextNewLine = true;\\n\\t\\t\\treturn CODE_POINTS.LINE_FEED;\\n\\t\\t}\\n\\t\\tif (cp === CODE_POINTS.LINE_FEED) {\\n\\t\\t\\tthis.isEol = true;\\n\\t\\t\\tif (this.skipNextNewLine) {\\n\\t\\t\\t\\tthis.line--;\\n\\t\\t\\t\\tthis.skipNextNewLine = false;\\n\\t\\t\\t\\tthis._addGap();\\n\\t\\t\\t\\treturn this.advance();\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tthis.skipNextNewLine = false;\\n\\t\\tif (isSurrogate(cp)) cp = this._processSurrogate(cp);\\n\\t\\tif (!(this.handler.onParseError === null || cp > 31 && cp < 127 || cp === CODE_POINTS.LINE_FEED || cp === CODE_POINTS.CARRIAGE_RETURN || cp > 159 && cp < 64976)) this._checkForProblematicCharacters(cp);\\n\\t\\treturn cp;\\n\\t}\\n\\t_checkForProblematicCharacters(cp) {\\n\\t\\tif (isControlCodePoint(cp)) this._err(ERR.controlCharacterInInputStream);\\n\\t\\telse if (isUndefinedCodePoint(cp)) this._err(ERR.noncharacterInInputStream);\\n\\t}\\n\\tretreat(count) {\\n\\t\\tthis.pos -= count;\\n\\t\\twhile (this.pos < this.lastGapPos) {\\n\\t\\t\\tthis.lastGapPos = this.gapStack.pop();\\n\\t\\t\\tthis.pos--;\\n\\t\\t}\\n\\t\\tthis.isEol = false;\\n\\t}\\n};\\n\\n//#endregion\\n//#region ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/common/token.js\\nvar TokenType;\\n(function(TokenType$1) {\\n\\tTokenType$1[TokenType$1[\\\"CHARACTER\\\"] = 0] = \\\"CHARACTER\\\";\\n\\tTokenType$1[TokenType$1[\\\"NULL_CHARACTER\\\"] = 1] = \\\"NULL_CHARACTER\\\";\\n\\tTokenType$1[TokenType$1[\\\"WHITESPACE_CHARACTER\\\"] = 2] = \\\"WHITESPACE_CHARACTER\\\";\\n\\tTokenType$1[TokenType$1[\\\"START_TAG\\\"] = 3] = \\\"START_TAG\\\";\\n\\tTokenType$1[TokenType$1[\\\"END_TAG\\\"] = 4] = \\\"END_TAG\\\";\\n\\tTokenType$1[TokenType$1[\\\"COMMENT\\\"] = 5] = \\\"COMMENT\\\";\\n\\tTokenType$1[TokenType$1[\\\"DOCTYPE\\\"] = 6] = \\\"DOCTYPE\\\";\\n\\tTokenType$1[TokenType$1[\\\"EOF\\\"] = 7] = \\\"EOF\\\";\\n\\tTokenType$1[TokenType$1[\\\"HIBERNATION\\\"] = 8] = \\\"HIBERNATION\\\";\\n})(TokenType || (TokenType = {}));\\nfunction getTokenAttr(token, attrName) {\\n\\tfor (let i = token.attrs.length - 1; i >= 0; i--) if (token.attrs[i].name === attrName) return token.attrs[i].value;\\n\\treturn null;\\n}\\n\\n//#endregion\\n//#region ../../node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode-codepoint.js\\nconst decodeMap = new Map([\\n\\t[0, 65533],\\n\\t[128, 8364],\\n\\t[130, 8218],\\n\\t[131, 402],\\n\\t[132, 8222],\\n\\t[133, 8230],\\n\\t[134, 8224],\\n\\t[135, 8225],\\n\\t[136, 710],\\n\\t[137, 8240],\\n\\t[138, 352],\\n\\t[139, 8249],\\n\\t[140, 338],\\n\\t[142, 381],\\n\\t[145, 8216],\\n\\t[146, 8217],\\n\\t[147, 8220],\\n\\t[148, 8221],\\n\\t[149, 8226],\\n\\t[150, 8211],\\n\\t[151, 8212],\\n\\t[152, 732],\\n\\t[153, 8482],\\n\\t[154, 353],\\n\\t[155, 8250],\\n\\t[156, 339],\\n\\t[158, 382],\\n\\t[159, 376]\\n]);\\n/**\\n* Replace the given code point with a replacement character if it is a\\n* surrogate or is outside the valid range. Otherwise return the code\\n* point unchanged.\\n* @param codePoint Unicode code point to convert.\\n*/\\nfunction replaceCodePoint(codePoint) {\\n\\tif (codePoint >= 55296 && codePoint <= 57343 || codePoint > 1114111) return 65533;\\n\\treturn decodeMap.get(codePoint) ?? codePoint;\\n}\\n\\n//#endregion\\n//#region ../../node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/internal/decode-shared.js\\n/**\\n* Shared base64 decode helper for generated decode data.\\n* Assumes global atob is available.\\n* @param input Input string to encode or decode.\\n*/\\nfunction decodeBase64(input) {\\n\\tconst binary = atob(input);\\n\\tconst evenLength = binary.length & -2;\\n\\tconst out = new Uint16Array(evenLength / 2);\\n\\tfor (let index = 0, outIndex = 0; index < evenLength; index += 2) {\\n\\t\\tconst lo = binary.charCodeAt(index);\\n\\t\\tconst hi = binary.charCodeAt(index + 1);\\n\\t\\tout[outIndex++] = lo | hi << 8;\\n\\t}\\n\\treturn out;\\n}\\n\\n//#endregion\\n//#region ../../node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/generated/decode-data-html.js\\n/** Packed HTML decode trie data. */\\nconst htmlDecodeTree = /* @__PURE__ */ decodeBase64(\\\"QR08ALkAAgH6AYsDNQR2BO0EPgXZBQEGLAbdBxMISQrvCmQLfQurDKQNLw4fD4YPpA+6D/IPAAAAAAAAAAAAAAAAKhBMEY8TmxUWF2EYLBkxGuAa3RsJHDscWR8YIC8jSCSIJcMl6ie3Ku8rEC0CLjoupS7kLgAIRU1hYmNmZ2x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AABYLmIuAAAAAGMubS5wLnQuAAAAAIguki4AAJouJxIqEnQAcgDpAB0ScgAA4DXYNd0AAUFhWy5eLnIA8gDnAnIA8gCTB75jAAFBYWYuaS5yAPIA4AJyAPIAjAdhAPAAeh5pAHMAAKD7IoABZHB0APgReS6DLgABZmx9LoAuAOA12GnddQDzAP8RaQBtAOUABBIAAUFhiy6OLnIA8gDuAnIA8gCaBwABY3GVLgoScgAA4DXYzdwAAXB0nS6hLmwAdQDzACUScgDpACASAARhY2VmaW9zdbEuvC7ELsguzC7PLtQu2S5jAAABdXm2LrsudABlADuA/QD9QE9kAAFpecAuwy5yAGMAd2FLZG4AO4ClAKVAcgAA4DXYNt1jAHkAV2RwAGYAAOA12GrdYwByAADgNdjO3AABY23dLt8ueQBOZGwAO4D/AP9AAAVhY2RlZmhpb3N38y73Lv8uAi8MLxAvEy8YLx0vIi9jInV0ZQB6YQABYXn7Lv4u8iFvbn5hN2RvAHQAfGEAAWV0Bi8KL3QAcgDmAB8QYQC2Y3IAAOA12DfdYwB5ADZk5yJyYXJyAKDdIXAAZgAA4DXYa91jAHIAAOA12M/cAAFqbiYvKC8AoA0gagAAoAwg\\\");\\n\\n//#endregion\\n//#region ../../node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/internal/bin-trie-flags.js\\n/**\\n* Bit flags & masks for the binary trie encoding used for entity decoding.\\n*\\n* Bit layout (16 bits total):\\n* 15..14 VALUE_LENGTH (+1 encoding; 0 => no value)\\n* 13 FLAG13. If valueLength>0: semicolon required flag (implicit ';').\\n* If valueLength==0: compact run flag.\\n* 12..7 BRANCH_LENGTH Branch length (0 => single branch in 6..0 if jumpOffset==char) OR run length (when compact run)\\n* 6..0 JUMP_TABLE Jump offset (jump table) OR single-branch char code OR first run char\\n*/\\nvar BinTrieFlags;\\n(function(BinTrieFlags$1) {\\n\\tBinTrieFlags$1[BinTrieFlags$1[\\\"VALUE_LENGTH\\\"] = 49152] = \\\"VALUE_LENGTH\\\";\\n\\tBinTrieFlags$1[BinTrieFlags$1[\\\"FLAG13\\\"] = 8192] = \\\"FLAG13\\\";\\n\\tBinTrieFlags$1[BinTrieFlags$1[\\\"BRANCH_LENGTH\\\"] = 8064] = \\\"BRANCH_LENGTH\\\";\\n\\tBinTrieFlags$1[BinTrieFlags$1[\\\"JUMP_TABLE\\\"] = 127] = \\\"JUMP_TABLE\\\";\\n})(BinTrieFlags || (BinTrieFlags = {}));\\n\\n//#endregion\\n//#region \\\\0@oxc-project+runtime@0.103.0/helpers/typeof.js\\nfunction _typeof(o) {\\n\\t\\\"@babel/helpers - typeof\\\";\\n\\treturn _typeof = \\\"function\\\" == typeof Symbol && \\\"symbol\\\" == typeof Symbol.iterator ? function(o$1) {\\n\\t\\treturn typeof o$1;\\n\\t} : function(o$1) {\\n\\t\\treturn o$1 && \\\"function\\\" == typeof Symbol && o$1.constructor === Symbol && o$1 !== Symbol.prototype ? \\\"symbol\\\" : typeof o$1;\\n\\t}, _typeof(o);\\n}\\n\\n//#endregion\\n//#region \\\\0@oxc-project+runtime@0.103.0/helpers/toPrimitive.js\\nfunction toPrimitive(t, r) {\\n\\tif (\\\"object\\\" != _typeof(t) || !t) return t;\\n\\tvar e = t[Symbol.toPrimitive];\\n\\tif (void 0 !== e) {\\n\\t\\tvar i = e.call(t, r || \\\"default\\\");\\n\\t\\tif (\\\"object\\\" != _typeof(i)) return i;\\n\\t\\tthrow new TypeError(\\\"@@toPrimitive must return a primitive value.\\\");\\n\\t}\\n\\treturn (\\\"string\\\" === r ? String : Number)(t);\\n}\\n\\n//#endregion\\n//#region \\\\0@oxc-project+runtime@0.103.0/helpers/toPropertyKey.js\\nfunction toPropertyKey(t) {\\n\\tvar i = toPrimitive(t, \\\"string\\\");\\n\\treturn \\\"symbol\\\" == _typeof(i) ? i : i + \\\"\\\";\\n}\\n\\n//#endregion\\n//#region \\\\0@oxc-project+runtime@0.103.0/helpers/defineProperty.js\\nfunction _defineProperty(e, r, t) {\\n\\treturn (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {\\n\\t\\tvalue: t,\\n\\t\\tenumerable: !0,\\n\\t\\tconfigurable: !0,\\n\\t\\twritable: !0\\n\\t}) : e[r] = t, e;\\n}\\n\\n//#endregion\\n//#region ../../node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode.js\\nvar CharCodes;\\n(function(CharCodes$1) {\\n\\tCharCodes$1[CharCodes$1[\\\"NUM\\\"] = 35] = \\\"NUM\\\";\\n\\tCharCodes$1[CharCodes$1[\\\"SEMI\\\"] = 59] = \\\"SEMI\\\";\\n\\tCharCodes$1[CharCodes$1[\\\"EQUALS\\\"] = 61] = \\\"EQUALS\\\";\\n\\tCharCodes$1[CharCodes$1[\\\"ZERO\\\"] = 48] = \\\"ZERO\\\";\\n\\tCharCodes$1[CharCodes$1[\\\"NINE\\\"] = 57] = \\\"NINE\\\";\\n\\tCharCodes$1[CharCodes$1[\\\"LOWER_A\\\"] = 97] = \\\"LOWER_A\\\";\\n\\tCharCodes$1[CharCodes$1[\\\"LOWER_F\\\"] = 102] = \\\"LOWER_F\\\";\\n\\tCharCodes$1[CharCodes$1[\\\"LOWER_X\\\"] = 120] = \\\"LOWER_X\\\";\\n\\tCharCodes$1[CharCodes$1[\\\"LOWER_Z\\\"] = 122] = \\\"LOWER_Z\\\";\\n\\tCharCodes$1[CharCodes$1[\\\"UPPER_A\\\"] = 65] = \\\"UPPER_A\\\";\\n\\tCharCodes$1[CharCodes$1[\\\"UPPER_F\\\"] = 70] = \\\"UPPER_F\\\";\\n\\tCharCodes$1[CharCodes$1[\\\"UPPER_Z\\\"] = 90] = \\\"UPPER_Z\\\";\\n})(CharCodes || (CharCodes = {}));\\n/** Bit that needs to be set to convert an upper case ASCII character to lower case */\\nconst TO_LOWER_BIT = 32;\\nfunction isNumber(code) {\\n\\treturn code >= CharCodes.ZERO && code <= CharCodes.NINE;\\n}\\nfunction isHexadecimalCharacter(code) {\\n\\treturn code >= CharCodes.UPPER_A && code <= CharCodes.UPPER_F || code >= CharCodes.LOWER_A && code <= CharCodes.LOWER_F;\\n}\\nfunction isAsciiAlphaNumeric$1(code) {\\n\\treturn code >= CharCodes.UPPER_A && code <= CharCodes.UPPER_Z || code >= CharCodes.LOWER_A && code <= CharCodes.LOWER_Z || isNumber(code);\\n}\\n/**\\n* Checks if the given character is a valid end character for an entity in an attribute.\\n*\\n* Attribute values that aren't terminated properly aren't parsed, and shouldn't lead to a parser error.\\n* See the example in https://html.spec.whatwg.org/multipage/parsing.html#named-character-reference-state\\n* @param code Code point to decode.\\n*/\\nfunction isEntityInAttributeInvalidEnd(code) {\\n\\treturn code === CharCodes.EQUALS || isAsciiAlphaNumeric$1(code);\\n}\\nvar EntityDecoderState;\\n(function(EntityDecoderState$1) {\\n\\tEntityDecoderState$1[EntityDecoderState$1[\\\"EntityStart\\\"] = 0] = \\\"EntityStart\\\";\\n\\tEntityDecoderState$1[EntityDecoderState$1[\\\"NumericStart\\\"] = 1] = \\\"NumericStart\\\";\\n\\tEntityDecoderState$1[EntityDecoderState$1[\\\"NumericDecimal\\\"] = 2] = \\\"NumericDecimal\\\";\\n\\tEntityDecoderState$1[EntityDecoderState$1[\\\"NumericHex\\\"] = 3] = \\\"NumericHex\\\";\\n\\tEntityDecoderState$1[EntityDecoderState$1[\\\"NamedEntity\\\"] = 4] = \\\"NamedEntity\\\";\\n})(EntityDecoderState || (EntityDecoderState = {}));\\n/**\\n* Decoding mode for named entities.\\n*/\\nvar DecodingMode;\\n(function(DecodingMode$1) {\\n\\t/** Entities in text nodes that can end with any character. */\\n\\tDecodingMode$1[DecodingMode$1[\\\"Legacy\\\"] = 0] = \\\"Legacy\\\";\\n\\t/** Only allow entities terminated with a semicolon. */\\n\\tDecodingMode$1[DecodingMode$1[\\\"Strict\\\"] = 1] = \\\"Strict\\\";\\n\\t/** Entities in attributes have limitations on ending characters. */\\n\\tDecodingMode$1[DecodingMode$1[\\\"Attribute\\\"] = 2] = \\\"Attribute\\\";\\n})(DecodingMode || (DecodingMode = {}));\\n/**\\n* Token decoder with support of writing partial entities.\\n*/\\nvar EntityDecoder = class {\\n\\tconstructor(decodeTree, emitCodePoint, errors) {\\n\\t\\t_defineProperty(this, \\\"decodeTree\\\", void 0);\\n\\t\\t_defineProperty(this, \\\"emitCodePoint\\\", void 0);\\n\\t\\t_defineProperty(this, \\\"errors\\\", void 0);\\n\\t\\t_defineProperty(\\n\\t\\t\\tthis,\\n\\t\\t\\t/** The current state of the decoder. */\\n\\t\\t\\t\\\"state\\\",\\n\\t\\t\\tEntityDecoderState.EntityStart\\n\\t\\t);\\n\\t\\t_defineProperty(\\n\\t\\t\\tthis,\\n\\t\\t\\t/** Characters that were consumed while parsing an entity. */\\n\\t\\t\\t\\\"consumed\\\",\\n\\t\\t\\t1\\n\\t\\t);\\n\\t\\t_defineProperty(\\n\\t\\t\\tthis,\\n\\t\\t\\t/**\\n\\t\\t\\t* The result of the entity.\\n\\t\\t\\t*\\n\\t\\t\\t* Either the result index of a numeric entity, or the codepoint of a\\n\\t\\t\\t* numeric entity.\\n\\t\\t\\t*/\\n\\t\\t\\t\\\"result\\\",\\n\\t\\t\\t0\\n\\t\\t);\\n\\t\\t_defineProperty(\\n\\t\\t\\tthis,\\n\\t\\t\\t/** The current index in the decode tree. */\\n\\t\\t\\t\\\"treeIndex\\\",\\n\\t\\t\\t0\\n\\t\\t);\\n\\t\\t_defineProperty(\\n\\t\\t\\tthis,\\n\\t\\t\\t/** The number of characters that were consumed in excess. */\\n\\t\\t\\t\\\"excess\\\",\\n\\t\\t\\t1\\n\\t\\t);\\n\\t\\t_defineProperty(\\n\\t\\t\\tthis,\\n\\t\\t\\t/** The mode in which the decoder is operating. */\\n\\t\\t\\t\\\"decodeMode\\\",\\n\\t\\t\\tDecodingMode.Strict\\n\\t\\t);\\n\\t\\t_defineProperty(\\n\\t\\t\\tthis,\\n\\t\\t\\t/** The number of characters that have been consumed in the current run. */\\n\\t\\t\\t\\\"runConsumed\\\",\\n\\t\\t\\t0\\n\\t\\t);\\n\\t\\tthis.decodeTree = decodeTree;\\n\\t\\tthis.emitCodePoint = emitCodePoint;\\n\\t\\tthis.errors = errors;\\n\\t}\\n\\t/**\\n\\t* Resets the instance to make it reusable.\\n\\t* @param decodeMode Entity decoding mode to use.\\n\\t*/\\n\\tstartEntity(decodeMode) {\\n\\t\\tthis.decodeMode = decodeMode;\\n\\t\\tthis.state = EntityDecoderState.EntityStart;\\n\\t\\tthis.result = 0;\\n\\t\\tthis.treeIndex = 0;\\n\\t\\tthis.excess = 1;\\n\\t\\tthis.consumed = 1;\\n\\t\\tthis.runConsumed = 0;\\n\\t}\\n\\t/**\\n\\t* Write an entity to the decoder. This can be called multiple times with partial entities.\\n\\t* If the entity is incomplete, the decoder will return -1.\\n\\t*\\n\\t* Mirrors the implementation of `getDecoder`, but with the ability to stop decoding if the\\n\\t* entity is incomplete, and resume when the next string is written.\\n\\t* @param input The string containing the entity (or a continuation of the entity).\\n\\t* @param offset The offset at which the entity begins. Should be 0 if this is not the first call.\\n\\t* @returns The number of characters that were consumed, or -1 if the entity is incomplete.\\n\\t*/\\n\\twrite(input, offset) {\\n\\t\\tswitch (this.state) {\\n\\t\\t\\tcase EntityDecoderState.EntityStart:\\n\\t\\t\\t\\tif (input.charCodeAt(offset) === CharCodes.NUM) {\\n\\t\\t\\t\\t\\tthis.state = EntityDecoderState.NumericStart;\\n\\t\\t\\t\\t\\tthis.consumed += 1;\\n\\t\\t\\t\\t\\treturn this.stateNumericStart(input, offset + 1);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tthis.state = EntityDecoderState.NamedEntity;\\n\\t\\t\\t\\treturn this.stateNamedEntity(input, offset);\\n\\t\\t\\tcase EntityDecoderState.NumericStart: return this.stateNumericStart(input, offset);\\n\\t\\t\\tcase EntityDecoderState.NumericDecimal: return this.stateNumericDecimal(input, offset);\\n\\t\\t\\tcase EntityDecoderState.NumericHex: return this.stateNumericHex(input, offset);\\n\\t\\t\\tcase EntityDecoderState.NamedEntity: return this.stateNamedEntity(input, offset);\\n\\t\\t}\\n\\t}\\n\\t/**\\n\\t* Switches between the numeric decimal and hexadecimal states.\\n\\t*\\n\\t* Equivalent to the `Numeric character reference state` in the HTML spec.\\n\\t* @param input The string containing the entity (or a continuation of the entity).\\n\\t* @param offset The current offset.\\n\\t* @returns The number of characters that were consumed, or -1 if the entity is incomplete.\\n\\t*/\\n\\tstateNumericStart(input, offset) {\\n\\t\\tif (offset >= input.length) return -1;\\n\\t\\tif ((input.charCodeAt(offset) | TO_LOWER_BIT) === CharCodes.LOWER_X) {\\n\\t\\t\\tthis.state = EntityDecoderState.NumericHex;\\n\\t\\t\\tthis.consumed += 1;\\n\\t\\t\\treturn this.stateNumericHex(input, offset + 1);\\n\\t\\t}\\n\\t\\tthis.state = EntityDecoderState.NumericDecimal;\\n\\t\\treturn this.stateNumericDecimal(input, offset);\\n\\t}\\n\\t/**\\n\\t* Parses a hexadecimal numeric entity.\\n\\t*\\n\\t* Equivalent to the `Hexademical character reference state` in the HTML spec.\\n\\t* @param input The string containing the entity (or a continuation of the entity).\\n\\t* @param offset The current offset.\\n\\t* @returns The number of characters that were consumed, or -1 if the entity is incomplete.\\n\\t*/\\n\\tstateNumericHex(input, offset) {\\n\\t\\twhile (offset < input.length) {\\n\\t\\t\\tconst char = input.charCodeAt(offset);\\n\\t\\t\\tif (isNumber(char) || isHexadecimalCharacter(char)) {\\n\\t\\t\\t\\tconst digit = char <= CharCodes.NINE ? char - CharCodes.ZERO : (char | TO_LOWER_BIT) - CharCodes.LOWER_A + 10;\\n\\t\\t\\t\\tthis.result = this.result * 16 + digit;\\n\\t\\t\\t\\tthis.consumed++;\\n\\t\\t\\t\\toffset++;\\n\\t\\t\\t} else return this.emitNumericEntity(char, 3);\\n\\t\\t}\\n\\t\\treturn -1;\\n\\t}\\n\\t/**\\n\\t* Parses a decimal numeric entity.\\n\\t*\\n\\t* Equivalent to the `Decimal character reference state` in the HTML spec.\\n\\t* @param input The string containing the entity (or a continuation of the entity).\\n\\t* @param offset The current offset.\\n\\t* @returns The number of characters that were consumed, or -1 if the entity is incomplete.\\n\\t*/\\n\\tstateNumericDecimal(input, offset) {\\n\\t\\twhile (offset < input.length) {\\n\\t\\t\\tconst char = input.charCodeAt(offset);\\n\\t\\t\\tif (isNumber(char)) {\\n\\t\\t\\t\\tthis.result = this.result * 10 + (char - CharCodes.ZERO);\\n\\t\\t\\t\\tthis.consumed++;\\n\\t\\t\\t\\toffset++;\\n\\t\\t\\t} else return this.emitNumericEntity(char, 2);\\n\\t\\t}\\n\\t\\treturn -1;\\n\\t}\\n\\t/**\\n\\t* Validate and emit a numeric entity.\\n\\t*\\n\\t* Implements the logic from the `Hexademical character reference start\\n\\t* state` and `Numeric character reference end state` in the HTML spec.\\n\\t* @param lastCp The last code point of the entity. Used to see if the\\n\\t* entity was terminated with a semicolon.\\n\\t* @param expectedLength The minimum number of characters that should be\\n\\t* consumed. Used to validate that at least one digit\\n\\t* was consumed.\\n\\t* @returns The number of characters that were consumed.\\n\\t*/\\n\\temitNumericEntity(lastCp, expectedLength) {\\n\\t\\tif (this.consumed <= expectedLength) {\\n\\t\\t\\tthis.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed);\\n\\t\\t\\treturn 0;\\n\\t\\t}\\n\\t\\tif (lastCp === CharCodes.SEMI) this.consumed += 1;\\n\\t\\telse if (this.decodeMode === DecodingMode.Strict) return 0;\\n\\t\\tthis.emitCodePoint(replaceCodePoint(this.result), this.consumed);\\n\\t\\tif (this.errors) {\\n\\t\\t\\tif (lastCp !== CharCodes.SEMI) this.errors.missingSemicolonAfterCharacterReference();\\n\\t\\t\\tthis.errors.validateNumericCharacterReference(this.result);\\n\\t\\t}\\n\\t\\treturn this.consumed;\\n\\t}\\n\\t/**\\n\\t* Parses a named entity.\\n\\t*\\n\\t* Equivalent to the `Named character reference state` in the HTML spec.\\n\\t* @param input The string containing the entity (or a continuation of the entity).\\n\\t* @param offset The current offset.\\n\\t* @returns The number of characters that were consumed, or -1 if the entity is incomplete.\\n\\t*/\\n\\tstateNamedEntity(input, offset) {\\n\\t\\tconst { decodeTree } = this;\\n\\t\\tlet current = decodeTree[this.treeIndex];\\n\\t\\tlet valueLength = (current & BinTrieFlags.VALUE_LENGTH) >> 14;\\n\\t\\twhile (offset < input.length) {\\n\\t\\t\\tif (valueLength === 0 && (current & BinTrieFlags.FLAG13) !== 0) {\\n\\t\\t\\t\\tconst runLength = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;\\n\\t\\t\\t\\tif (this.runConsumed === 0) {\\n\\t\\t\\t\\t\\tconst firstChar = current & BinTrieFlags.JUMP_TABLE;\\n\\t\\t\\t\\t\\tif (input.charCodeAt(offset) !== firstChar) return this.result === 0 ? 0 : this.emitNotTerminatedNamedEntity();\\n\\t\\t\\t\\t\\toffset++;\\n\\t\\t\\t\\t\\tthis.excess++;\\n\\t\\t\\t\\t\\tthis.runConsumed++;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\twhile (this.runConsumed < runLength) {\\n\\t\\t\\t\\t\\tif (offset >= input.length) return -1;\\n\\t\\t\\t\\t\\tconst charIndexInPacked = this.runConsumed - 1;\\n\\t\\t\\t\\t\\tconst packedWord = decodeTree[this.treeIndex + 1 + (charIndexInPacked >> 1)];\\n\\t\\t\\t\\t\\tconst expectedChar = charIndexInPacked % 2 === 0 ? packedWord & 255 : packedWord >> 8 & 255;\\n\\t\\t\\t\\t\\tif (input.charCodeAt(offset) !== expectedChar) {\\n\\t\\t\\t\\t\\t\\tthis.runConsumed = 0;\\n\\t\\t\\t\\t\\t\\treturn this.result === 0 ? 0 : this.emitNotTerminatedNamedEntity();\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\toffset++;\\n\\t\\t\\t\\t\\tthis.excess++;\\n\\t\\t\\t\\t\\tthis.runConsumed++;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tthis.runConsumed = 0;\\n\\t\\t\\t\\tthis.treeIndex += 1 + (runLength >> 1);\\n\\t\\t\\t\\tcurrent = decodeTree[this.treeIndex];\\n\\t\\t\\t\\tvalueLength = (current & BinTrieFlags.VALUE_LENGTH) >> 14;\\n\\t\\t\\t}\\n\\t\\t\\tif (offset >= input.length) break;\\n\\t\\t\\tconst char = input.charCodeAt(offset);\\n\\t\\t\\tif (char === CharCodes.SEMI && valueLength !== 0 && (current & BinTrieFlags.FLAG13) !== 0) return this.emitNamedEntityData(this.treeIndex, valueLength, this.consumed + this.excess);\\n\\t\\t\\tthis.treeIndex = determineBranch(decodeTree, current, this.treeIndex + Math.max(1, valueLength), char);\\n\\t\\t\\tif (this.treeIndex < 0) return this.result === 0 || this.decodeMode === DecodingMode.Attribute && (valueLength === 0 || isEntityInAttributeInvalidEnd(char)) ? 0 : this.emitNotTerminatedNamedEntity();\\n\\t\\t\\tcurrent = decodeTree[this.treeIndex];\\n\\t\\t\\tvalueLength = (current & BinTrieFlags.VALUE_LENGTH) >> 14;\\n\\t\\t\\tif (valueLength !== 0) {\\n\\t\\t\\t\\tif (char === CharCodes.SEMI) return this.emitNamedEntityData(this.treeIndex, valueLength, this.consumed + this.excess);\\n\\t\\t\\t\\tif (this.decodeMode !== DecodingMode.Strict && (current & BinTrieFlags.FLAG13) === 0) {\\n\\t\\t\\t\\t\\tthis.result = this.treeIndex;\\n\\t\\t\\t\\t\\tthis.consumed += this.excess;\\n\\t\\t\\t\\t\\tthis.excess = 0;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\toffset++;\\n\\t\\t\\tthis.excess++;\\n\\t\\t}\\n\\t\\treturn -1;\\n\\t}\\n\\t/**\\n\\t* Emit a named entity that was not terminated with a semicolon.\\n\\t* @returns The number of characters consumed.\\n\\t*/\\n\\temitNotTerminatedNamedEntity() {\\n\\t\\tconst { result, decodeTree } = this;\\n\\t\\tconst valueLength = (decodeTree[result] & BinTrieFlags.VALUE_LENGTH) >> 14;\\n\\t\\tthis.emitNamedEntityData(result, valueLength, this.consumed);\\n\\t\\tthis.errors?.missingSemicolonAfterCharacterReference();\\n\\t\\treturn this.consumed;\\n\\t}\\n\\t/**\\n\\t* Emit a named entity.\\n\\t* @param result The index of the entity in the decode tree.\\n\\t* @param valueLength The number of bytes in the entity.\\n\\t* @param consumed The number of characters consumed.\\n\\t* @returns The number of characters consumed.\\n\\t*/\\n\\temitNamedEntityData(result, valueLength, consumed) {\\n\\t\\tconst { decodeTree } = this;\\n\\t\\tthis.emitCodePoint(valueLength === 1 ? decodeTree[result] & ~(BinTrieFlags.VALUE_LENGTH | BinTrieFlags.FLAG13) : decodeTree[result + 1], consumed);\\n\\t\\tif (valueLength === 3) this.emitCodePoint(decodeTree[result + 2], consumed);\\n\\t\\treturn consumed;\\n\\t}\\n\\t/**\\n\\t* Signal to the parser that the end of the input was reached.\\n\\t*\\n\\t* Remaining data will be emitted and relevant errors will be produced.\\n\\t* @returns The number of characters consumed.\\n\\t*/\\n\\tend() {\\n\\t\\tswitch (this.state) {\\n\\t\\t\\tcase EntityDecoderState.NamedEntity: return this.result !== 0 && (this.decodeMode !== DecodingMode.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;\\n\\t\\t\\tcase EntityDecoderState.NumericDecimal: return this.emitNumericEntity(0, 2);\\n\\t\\t\\tcase EntityDecoderState.NumericHex: return this.emitNumericEntity(0, 3);\\n\\t\\t\\tcase EntityDecoderState.NumericStart:\\n\\t\\t\\t\\tthis.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed);\\n\\t\\t\\t\\treturn 0;\\n\\t\\t\\tcase EntityDecoderState.EntityStart: return 0;\\n\\t\\t}\\n\\t}\\n};\\n/**\\n* Determines the branch of the current node that is taken given the current\\n* character. This function is used to traverse the trie.\\n* @param decodeTree The trie.\\n* @param current The current node.\\n* @param nodeIndex Index immediately after the current node header.\\n* @param char The current character.\\n* @returns The index of the next node, or -1 if no branch is taken.\\n*/\\nfunction determineBranch(decodeTree, current, nodeIndex, char) {\\n\\tconst branchCount = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;\\n\\tconst jumpOffset = current & BinTrieFlags.JUMP_TABLE;\\n\\tif (branchCount === 0) return jumpOffset !== 0 && char === jumpOffset ? nodeIndex : -1;\\n\\tif (jumpOffset) {\\n\\t\\tconst value = char - jumpOffset;\\n\\t\\treturn value < 0 || value >= branchCount ? -1 : decodeTree[nodeIndex + value] - 1;\\n\\t}\\n\\tconst packedKeySlots = branchCount + 1 >> 1;\\n\\tlet lo = 0;\\n\\tlet hi = branchCount - 1;\\n\\twhile (lo <= hi) {\\n\\t\\tconst mid = lo + hi >>> 1;\\n\\t\\tconst midKey = decodeTree[nodeIndex + (mid >> 1)] >> (mid & 1) * 8 & 255;\\n\\t\\tif (midKey < char) lo = mid + 1;\\n\\t\\telse if (midKey > char) hi = mid - 1;\\n\\t\\telse return decodeTree[nodeIndex + packedKeySlots + mid];\\n\\t}\\n\\treturn -1;\\n}\\n\\n//#endregion\\n//#region ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/common/html.js\\n/** All valid namespaces in HTML. */\\nvar NS;\\n(function(NS$1) {\\n\\tNS$1[\\\"HTML\\\"] = \\\"http://www.w3.org/1999/xhtml\\\";\\n\\tNS$1[\\\"MATHML\\\"] = \\\"http://www.w3.org/1998/Math/MathML\\\";\\n\\tNS$1[\\\"SVG\\\"] = \\\"http://www.w3.org/2000/svg\\\";\\n\\tNS$1[\\\"XLINK\\\"] = \\\"http://www.w3.org/1999/xlink\\\";\\n\\tNS$1[\\\"XML\\\"] = \\\"http://www.w3.org/XML/1998/namespace\\\";\\n\\tNS$1[\\\"XMLNS\\\"] = \\\"http://www.w3.org/2000/xmlns/\\\";\\n})(NS || (NS = {}));\\nvar ATTRS;\\n(function(ATTRS$1) {\\n\\tATTRS$1[\\\"TYPE\\\"] = \\\"type\\\";\\n\\tATTRS$1[\\\"ACTION\\\"] = \\\"action\\\";\\n\\tATTRS$1[\\\"ENCODING\\\"] = \\\"encoding\\\";\\n\\tATTRS$1[\\\"PROMPT\\\"] = \\\"prompt\\\";\\n\\tATTRS$1[\\\"NAME\\\"] = \\\"name\\\";\\n\\tATTRS$1[\\\"COLOR\\\"] = \\\"color\\\";\\n\\tATTRS$1[\\\"FACE\\\"] = \\\"face\\\";\\n\\tATTRS$1[\\\"SIZE\\\"] = \\\"size\\\";\\n})(ATTRS || (ATTRS = {}));\\n/**\\n* The mode of the document.\\n*\\n* @see {@link https://dom.spec.whatwg.org/#concept-document-limited-quirks}\\n*/\\nvar DOCUMENT_MODE;\\n(function(DOCUMENT_MODE$1) {\\n\\tDOCUMENT_MODE$1[\\\"NO_QUIRKS\\\"] = \\\"no-quirks\\\";\\n\\tDOCUMENT_MODE$1[\\\"QUIRKS\\\"] = \\\"quirks\\\";\\n\\tDOCUMENT_MODE$1[\\\"LIMITED_QUIRKS\\\"] = \\\"limited-quirks\\\";\\n})(DOCUMENT_MODE || (DOCUMENT_MODE = {}));\\nvar TAG_NAMES;\\n(function(TAG_NAMES$1) {\\n\\tTAG_NAMES$1[\\\"A\\\"] = \\\"a\\\";\\n\\tTAG_NAMES$1[\\\"ADDRESS\\\"] = \\\"address\\\";\\n\\tTAG_NAMES$1[\\\"ANNOTATION_XML\\\"] = \\\"annotation-xml\\\";\\n\\tTAG_NAMES$1[\\\"APPLET\\\"] = \\\"applet\\\";\\n\\tTAG_NAMES$1[\\\"AREA\\\"] = \\\"area\\\";\\n\\tTAG_NAMES$1[\\\"ARTICLE\\\"] = \\\"article\\\";\\n\\tTAG_NAMES$1[\\\"ASIDE\\\"] = \\\"aside\\\";\\n\\tTAG_NAMES$1[\\\"B\\\"] = \\\"b\\\";\\n\\tTAG_NAMES$1[\\\"BASE\\\"] = \\\"base\\\";\\n\\tTAG_NAMES$1[\\\"BASEFONT\\\"] = \\\"basefont\\\";\\n\\tTAG_NAMES$1[\\\"BGSOUND\\\"] = \\\"bgsound\\\";\\n\\tTAG_NAMES$1[\\\"BIG\\\"] = \\\"big\\\";\\n\\tTAG_NAMES$1[\\\"BLOCKQUOTE\\\"] = \\\"blockquote\\\";\\n\\tTAG_NAMES$1[\\\"BODY\\\"] = \\\"body\\\";\\n\\tTAG_NAMES$1[\\\"BR\\\"] = \\\"br\\\";\\n\\tTAG_NAMES$1[\\\"BUTTON\\\"] = \\\"button\\\";\\n\\tTAG_NAMES$1[\\\"CAPTION\\\"] = \\\"caption\\\";\\n\\tTAG_NAMES$1[\\\"CENTER\\\"] = \\\"center\\\";\\n\\tTAG_NAMES$1[\\\"CODE\\\"] = \\\"code\\\";\\n\\tTAG_NAMES$1[\\\"COL\\\"] = \\\"col\\\";\\n\\tTAG_NAMES$1[\\\"COLGROUP\\\"] = \\\"colgroup\\\";\\n\\tTAG_NAMES$1[\\\"DD\\\"] = \\\"dd\\\";\\n\\tTAG_NAMES$1[\\\"DESC\\\"] = \\\"desc\\\";\\n\\tTAG_NAMES$1[\\\"DETAILS\\\"] = \\\"details\\\";\\n\\tTAG_NAMES$1[\\\"DIALOG\\\"] = \\\"dialog\\\";\\n\\tTAG_NAMES$1[\\\"DIR\\\"] = \\\"dir\\\";\\n\\tTAG_NAMES$1[\\\"DIV\\\"] = \\\"div\\\";\\n\\tTAG_NAMES$1[\\\"DL\\\"] = \\\"dl\\\";\\n\\tTAG_NAMES$1[\\\"DT\\\"] = \\\"dt\\\";\\n\\tTAG_NAMES$1[\\\"EM\\\"] = \\\"em\\\";\\n\\tTAG_NAMES$1[\\\"EMBED\\\"] = \\\"embed\\\";\\n\\tTAG_NAMES$1[\\\"FIELDSET\\\"] = \\\"fieldset\\\";\\n\\tTAG_NAMES$1[\\\"FIGCAPTION\\\"] = \\\"figcaption\\\";\\n\\tTAG_NAMES$1[\\\"FIGURE\\\"] = \\\"figure\\\";\\n\\tTAG_NAMES$1[\\\"FONT\\\"] = \\\"font\\\";\\n\\tTAG_NAMES$1[\\\"FOOTER\\\"] = \\\"footer\\\";\\n\\tTAG_NAMES$1[\\\"FOREIGN_OBJECT\\\"] = \\\"foreignObject\\\";\\n\\tTAG_NAMES$1[\\\"FORM\\\"] = \\\"form\\\";\\n\\tTAG_NAMES$1[\\\"FRAME\\\"] = \\\"frame\\\";\\n\\tTAG_NAMES$1[\\\"FRAMESET\\\"] = \\\"frameset\\\";\\n\\tTAG_NAMES$1[\\\"H1\\\"] = \\\"h1\\\";\\n\\tTAG_NAMES$1[\\\"H2\\\"] = \\\"h2\\\";\\n\\tTAG_NAMES$1[\\\"H3\\\"] = \\\"h3\\\";\\n\\tTAG_NAMES$1[\\\"H4\\\"] = \\\"h4\\\";\\n\\tTAG_NAMES$1[\\\"H5\\\"] = \\\"h5\\\";\\n\\tTAG_NAMES$1[\\\"H6\\\"] = \\\"h6\\\";\\n\\tTAG_NAMES$1[\\\"HEAD\\\"] = \\\"head\\\";\\n\\tTAG_NAMES$1[\\\"HEADER\\\"] = \\\"header\\\";\\n\\tTAG_NAMES$1[\\\"HGROUP\\\"] = \\\"hgroup\\\";\\n\\tTAG_NAMES$1[\\\"HR\\\"] = \\\"hr\\\";\\n\\tTAG_NAMES$1[\\\"HTML\\\"] = \\\"html\\\";\\n\\tTAG_NAMES$1[\\\"I\\\"] = \\\"i\\\";\\n\\tTAG_NAMES$1[\\\"IMG\\\"] = \\\"img\\\";\\n\\tTAG_NAMES$1[\\\"IMAGE\\\"] = \\\"image\\\";\\n\\tTAG_NAMES$1[\\\"INPUT\\\"] = \\\"input\\\";\\n\\tTAG_NAMES$1[\\\"IFRAME\\\"] = \\\"iframe\\\";\\n\\tTAG_NAMES$1[\\\"KEYGEN\\\"] = \\\"keygen\\\";\\n\\tTAG_NAMES$1[\\\"LABEL\\\"] = \\\"label\\\";\\n\\tTAG_NAMES$1[\\\"LI\\\"] = \\\"li\\\";\\n\\tTAG_NAMES$1[\\\"LINK\\\"] = \\\"link\\\";\\n\\tTAG_NAMES$1[\\\"LISTING\\\"] = \\\"listing\\\";\\n\\tTAG_NAMES$1[\\\"MAIN\\\"] = \\\"main\\\";\\n\\tTAG_NAMES$1[\\\"MALIGNMARK\\\"] = \\\"malignmark\\\";\\n\\tTAG_NAMES$1[\\\"MARQUEE\\\"] = \\\"marquee\\\";\\n\\tTAG_NAMES$1[\\\"MATH\\\"] = \\\"math\\\";\\n\\tTAG_NAMES$1[\\\"MENU\\\"] = \\\"menu\\\";\\n\\tTAG_NAMES$1[\\\"META\\\"] = \\\"meta\\\";\\n\\tTAG_NAMES$1[\\\"MGLYPH\\\"] = \\\"mglyph\\\";\\n\\tTAG_NAMES$1[\\\"MI\\\"] = \\\"mi\\\";\\n\\tTAG_NAMES$1[\\\"MO\\\"] = \\\"mo\\\";\\n\\tTAG_NAMES$1[\\\"MN\\\"] = \\\"mn\\\";\\n\\tTAG_NAMES$1[\\\"MS\\\"] = \\\"ms\\\";\\n\\tTAG_NAMES$1[\\\"MTEXT\\\"] = \\\"mtext\\\";\\n\\tTAG_NAMES$1[\\\"NAV\\\"] = \\\"nav\\\";\\n\\tTAG_NAMES$1[\\\"NOBR\\\"] = \\\"nobr\\\";\\n\\tTAG_NAMES$1[\\\"NOFRAMES\\\"] = \\\"noframes\\\";\\n\\tTAG_NAMES$1[\\\"NOEMBED\\\"] = \\\"noembed\\\";\\n\\tTAG_NAMES$1[\\\"NOSCRIPT\\\"] = \\\"noscript\\\";\\n\\tTAG_NAMES$1[\\\"OBJECT\\\"] = \\\"object\\\";\\n\\tTAG_NAMES$1[\\\"OL\\\"] = \\\"ol\\\";\\n\\tTAG_NAMES$1[\\\"OPTGROUP\\\"] = \\\"optgroup\\\";\\n\\tTAG_NAMES$1[\\\"OPTION\\\"] = \\\"option\\\";\\n\\tTAG_NAMES$1[\\\"P\\\"] = \\\"p\\\";\\n\\tTAG_NAMES$1[\\\"PARAM\\\"] = \\\"param\\\";\\n\\tTAG_NAMES$1[\\\"PLAINTEXT\\\"] = \\\"plaintext\\\";\\n\\tTAG_NAMES$1[\\\"PRE\\\"] = \\\"pre\\\";\\n\\tTAG_NAMES$1[\\\"RB\\\"] = \\\"rb\\\";\\n\\tTAG_NAMES$1[\\\"RP\\\"] = \\\"rp\\\";\\n\\tTAG_NAMES$1[\\\"RT\\\"] = \\\"rt\\\";\\n\\tTAG_NAMES$1[\\\"RTC\\\"] = \\\"rtc\\\";\\n\\tTAG_NAMES$1[\\\"RUBY\\\"] = \\\"ruby\\\";\\n\\tTAG_NAMES$1[\\\"S\\\"] = \\\"s\\\";\\n\\tTAG_NAMES$1[\\\"SCRIPT\\\"] = \\\"script\\\";\\n\\tTAG_NAMES$1[\\\"SEARCH\\\"] = \\\"search\\\";\\n\\tTAG_NAMES$1[\\\"SECTION\\\"] = \\\"section\\\";\\n\\tTAG_NAMES$1[\\\"SELECT\\\"] = \\\"select\\\";\\n\\tTAG_NAMES$1[\\\"SOURCE\\\"] = \\\"source\\\";\\n\\tTAG_NAMES$1[\\\"SMALL\\\"] = \\\"small\\\";\\n\\tTAG_NAMES$1[\\\"SPAN\\\"] = \\\"span\\\";\\n\\tTAG_NAMES$1[\\\"STRIKE\\\"] = \\\"strike\\\";\\n\\tTAG_NAMES$1[\\\"STRONG\\\"] = \\\"strong\\\";\\n\\tTAG_NAMES$1[\\\"STYLE\\\"] = \\\"style\\\";\\n\\tTAG_NAMES$1[\\\"SUB\\\"] = \\\"sub\\\";\\n\\tTAG_NAMES$1[\\\"SUMMARY\\\"] = \\\"summary\\\";\\n\\tTAG_NAMES$1[\\\"SUP\\\"] = \\\"sup\\\";\\n\\tTAG_NAMES$1[\\\"TABLE\\\"] = \\\"table\\\";\\n\\tTAG_NAMES$1[\\\"TBODY\\\"] = \\\"tbody\\\";\\n\\tTAG_NAMES$1[\\\"TEMPLATE\\\"] = \\\"template\\\";\\n\\tTAG_NAMES$1[\\\"TEXTAREA\\\"] = \\\"textarea\\\";\\n\\tTAG_NAMES$1[\\\"TFOOT\\\"] = \\\"tfoot\\\";\\n\\tTAG_NAMES$1[\\\"TD\\\"] = \\\"td\\\";\\n\\tTAG_NAMES$1[\\\"TH\\\"] = \\\"th\\\";\\n\\tTAG_NAMES$1[\\\"THEAD\\\"] = \\\"thead\\\";\\n\\tTAG_NAMES$1[\\\"TITLE\\\"] = \\\"title\\\";\\n\\tTAG_NAMES$1[\\\"TR\\\"] = \\\"tr\\\";\\n\\tTAG_NAMES$1[\\\"TRACK\\\"] = \\\"track\\\";\\n\\tTAG_NAMES$1[\\\"TT\\\"] = \\\"tt\\\";\\n\\tTAG_NAMES$1[\\\"U\\\"] = \\\"u\\\";\\n\\tTAG_NAMES$1[\\\"UL\\\"] = \\\"ul\\\";\\n\\tTAG_NAMES$1[\\\"SVG\\\"] = \\\"svg\\\";\\n\\tTAG_NAMES$1[\\\"VAR\\\"] = \\\"var\\\";\\n\\tTAG_NAMES$1[\\\"WBR\\\"] = \\\"wbr\\\";\\n\\tTAG_NAMES$1[\\\"XMP\\\"] = \\\"xmp\\\";\\n})(TAG_NAMES || (TAG_NAMES = {}));\\n/**\\n* Tag IDs are numeric IDs for known tag names.\\n*\\n* We use tag IDs to improve the performance of tag name comparisons.\\n*/\\nvar TAG_ID;\\n(function(TAG_ID$1) {\\n\\tTAG_ID$1[TAG_ID$1[\\\"UNKNOWN\\\"] = 0] = \\\"UNKNOWN\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"A\\\"] = 1] = \\\"A\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"ADDRESS\\\"] = 2] = \\\"ADDRESS\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"ANNOTATION_XML\\\"] = 3] = \\\"ANNOTATION_XML\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"APPLET\\\"] = 4] = \\\"APPLET\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"AREA\\\"] = 5] = \\\"AREA\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"ARTICLE\\\"] = 6] = \\\"ARTICLE\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"ASIDE\\\"] = 7] = \\\"ASIDE\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"B\\\"] = 8] = \\\"B\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"BASE\\\"] = 9] = \\\"BASE\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"BASEFONT\\\"] = 10] = \\\"BASEFONT\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"BGSOUND\\\"] = 11] = \\\"BGSOUND\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"BIG\\\"] = 12] = \\\"BIG\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"BLOCKQUOTE\\\"] = 13] = \\\"BLOCKQUOTE\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"BODY\\\"] = 14] = \\\"BODY\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"BR\\\"] = 15] = \\\"BR\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"BUTTON\\\"] = 16] = \\\"BUTTON\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"CAPTION\\\"] = 17] = \\\"CAPTION\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"CENTER\\\"] = 18] = \\\"CENTER\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"CODE\\\"] = 19] = \\\"CODE\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"COL\\\"] = 20] = \\\"COL\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"COLGROUP\\\"] = 21] = \\\"COLGROUP\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"DD\\\"] = 22] = \\\"DD\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"DESC\\\"] = 23] = \\\"DESC\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"DETAILS\\\"] = 24] = \\\"DETAILS\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"DIALOG\\\"] = 25] = \\\"DIALOG\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"DIR\\\"] = 26] = \\\"DIR\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"DIV\\\"] = 27] = \\\"DIV\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"DL\\\"] = 28] = \\\"DL\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"DT\\\"] = 29] = \\\"DT\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"EM\\\"] = 30] = \\\"EM\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"EMBED\\\"] = 31] = \\\"EMBED\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"FIELDSET\\\"] = 32] = \\\"FIELDSET\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"FIGCAPTION\\\"] = 33] = \\\"FIGCAPTION\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"FIGURE\\\"] = 34] = \\\"FIGURE\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"FONT\\\"] = 35] = \\\"FONT\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"FOOTER\\\"] = 36] = \\\"FOOTER\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"FOREIGN_OBJECT\\\"] = 37] = \\\"FOREIGN_OBJECT\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"FORM\\\"] = 38] = \\\"FORM\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"FRAME\\\"] = 39] = \\\"FRAME\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"FRAMESET\\\"] = 40] = \\\"FRAMESET\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"H1\\\"] = 41] = \\\"H1\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"H2\\\"] = 42] = \\\"H2\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"H3\\\"] = 43] = \\\"H3\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"H4\\\"] = 44] = \\\"H4\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"H5\\\"] = 45] = \\\"H5\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"H6\\\"] = 46] = \\\"H6\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"HEAD\\\"] = 47] = \\\"HEAD\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"HEADER\\\"] = 48] = \\\"HEADER\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"HGROUP\\\"] = 49] = \\\"HGROUP\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"HR\\\"] = 50] = \\\"HR\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"HTML\\\"] = 51] = \\\"HTML\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"I\\\"] = 52] = \\\"I\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"IMG\\\"] = 53] = \\\"IMG\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"IMAGE\\\"] = 54] = \\\"IMAGE\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"INPUT\\\"] = 55] = \\\"INPUT\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"IFRAME\\\"] = 56] = \\\"IFRAME\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"KEYGEN\\\"] = 57] = \\\"KEYGEN\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"LABEL\\\"] = 58] = \\\"LABEL\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"LI\\\"] = 59] = \\\"LI\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"LINK\\\"] = 60] = \\\"LINK\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"LISTING\\\"] = 61] = \\\"LISTING\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"MAIN\\\"] = 62] = \\\"MAIN\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"MALIGNMARK\\\"] = 63] = \\\"MALIGNMARK\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"MARQUEE\\\"] = 64] = \\\"MARQUEE\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"MATH\\\"] = 65] = \\\"MATH\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"MENU\\\"] = 66] = \\\"MENU\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"META\\\"] = 67] = \\\"META\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"MGLYPH\\\"] = 68] = \\\"MGLYPH\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"MI\\\"] = 69] = \\\"MI\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"MO\\\"] = 70] = \\\"MO\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"MN\\\"] = 71] = \\\"MN\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"MS\\\"] = 72] = \\\"MS\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"MTEXT\\\"] = 73] = \\\"MTEXT\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"NAV\\\"] = 74] = \\\"NAV\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"NOBR\\\"] = 75] = \\\"NOBR\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"NOFRAMES\\\"] = 76] = \\\"NOFRAMES\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"NOEMBED\\\"] = 77] = \\\"NOEMBED\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"NOSCRIPT\\\"] = 78] = \\\"NOSCRIPT\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"OBJECT\\\"] = 79] = \\\"OBJECT\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"OL\\\"] = 80] = \\\"OL\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"OPTGROUP\\\"] = 81] = \\\"OPTGROUP\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"OPTION\\\"] = 82] = \\\"OPTION\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"P\\\"] = 83] = \\\"P\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"PARAM\\\"] = 84] = \\\"PARAM\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"PLAINTEXT\\\"] = 85] = \\\"PLAINTEXT\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"PRE\\\"] = 86] = \\\"PRE\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"RB\\\"] = 87] = \\\"RB\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"RP\\\"] = 88] = \\\"RP\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"RT\\\"] = 89] = \\\"RT\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"RTC\\\"] = 90] = \\\"RTC\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"RUBY\\\"] = 91] = \\\"RUBY\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"S\\\"] = 92] = \\\"S\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"SCRIPT\\\"] = 93] = \\\"SCRIPT\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"SEARCH\\\"] = 94] = \\\"SEARCH\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"SECTION\\\"] = 95] = \\\"SECTION\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"SELECT\\\"] = 96] = \\\"SELECT\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"SOURCE\\\"] = 97] = \\\"SOURCE\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"SMALL\\\"] = 98] = \\\"SMALL\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"SPAN\\\"] = 99] = \\\"SPAN\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"STRIKE\\\"] = 100] = \\\"STRIKE\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"STRONG\\\"] = 101] = \\\"STRONG\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"STYLE\\\"] = 102] = \\\"STYLE\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"SUB\\\"] = 103] = \\\"SUB\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"SUMMARY\\\"] = 104] = \\\"SUMMARY\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"SUP\\\"] = 105] = \\\"SUP\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"TABLE\\\"] = 106] = \\\"TABLE\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"TBODY\\\"] = 107] = \\\"TBODY\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"TEMPLATE\\\"] = 108] = \\\"TEMPLATE\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"TEXTAREA\\\"] = 109] = \\\"TEXTAREA\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"TFOOT\\\"] = 110] = \\\"TFOOT\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"TD\\\"] = 111] = \\\"TD\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"TH\\\"] = 112] = \\\"TH\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"THEAD\\\"] = 113] = \\\"THEAD\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"TITLE\\\"] = 114] = \\\"TITLE\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"TR\\\"] = 115] = \\\"TR\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"TRACK\\\"] = 116] = \\\"TRACK\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"TT\\\"] = 117] = \\\"TT\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"U\\\"] = 118] = \\\"U\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"UL\\\"] = 119] = \\\"UL\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"SVG\\\"] = 120] = \\\"SVG\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"VAR\\\"] = 121] = \\\"VAR\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"WBR\\\"] = 122] = \\\"WBR\\\";\\n\\tTAG_ID$1[TAG_ID$1[\\\"XMP\\\"] = 123] = \\\"XMP\\\";\\n})(TAG_ID || (TAG_ID = {}));\\nconst TAG_NAME_TO_ID = new Map([\\n\\t[TAG_NAMES.A, TAG_ID.A],\\n\\t[TAG_NAMES.ADDRESS, TAG_ID.ADDRESS],\\n\\t[TAG_NAMES.ANNOTATION_XML, TAG_ID.ANNOTATION_XML],\\n\\t[TAG_NAMES.APPLET, TAG_ID.APPLET],\\n\\t[TAG_NAMES.AREA, TAG_ID.AREA],\\n\\t[TAG_NAMES.ARTICLE, TAG_ID.ARTICLE],\\n\\t[TAG_NAMES.ASIDE, TAG_ID.ASIDE],\\n\\t[TAG_NAMES.B, TAG_ID.B],\\n\\t[TAG_NAMES.BASE, TAG_ID.BASE],\\n\\t[TAG_NAMES.BASEFONT, TAG_ID.BASEFONT],\\n\\t[TAG_NAMES.BGSOUND, TAG_ID.BGSOUND],\\n\\t[TAG_NAMES.BIG, TAG_ID.BIG],\\n\\t[TAG_NAMES.BLOCKQUOTE, TAG_ID.BLOCKQUOTE],\\n\\t[TAG_NAMES.BODY, TAG_ID.BODY],\\n\\t[TAG_NAMES.BR, TAG_ID.BR],\\n\\t[TAG_NAMES.BUTTON, TAG_ID.BUTTON],\\n\\t[TAG_NAMES.CAPTION, TAG_ID.CAPTION],\\n\\t[TAG_NAMES.CENTER, TAG_ID.CENTER],\\n\\t[TAG_NAMES.CODE, TAG_ID.CODE],\\n\\t[TAG_NAMES.COL, TAG_ID.COL],\\n\\t[TAG_NAMES.COLGROUP, TAG_ID.COLGROUP],\\n\\t[TAG_NAMES.DD, TAG_ID.DD],\\n\\t[TAG_NAMES.DESC, TAG_ID.DESC],\\n\\t[TAG_NAMES.DETAILS, TAG_ID.DETAILS],\\n\\t[TAG_NAMES.DIALOG, TAG_ID.DIALOG],\\n\\t[TAG_NAMES.DIR, TAG_ID.DIR],\\n\\t[TAG_NAMES.DIV, TAG_ID.DIV],\\n\\t[TAG_NAMES.DL, TAG_ID.DL],\\n\\t[TAG_NAMES.DT, TAG_ID.DT],\\n\\t[TAG_NAMES.EM, TAG_ID.EM],\\n\\t[TAG_NAMES.EMBED, TAG_ID.EMBED],\\n\\t[TAG_NAMES.FIELDSET, TAG_ID.FIELDSET],\\n\\t[TAG_NAMES.FIGCAPTION, TAG_ID.FIGCAPTION],\\n\\t[TAG_NAMES.FIGURE, TAG_ID.FIGURE],\\n\\t[TAG_NAMES.FONT, TAG_ID.FONT],\\n\\t[TAG_NAMES.FOOTER, TAG_ID.FOOTER],\\n\\t[TAG_NAMES.FOREIGN_OBJECT, TAG_ID.FOREIGN_OBJECT],\\n\\t[TAG_NAMES.FORM, TAG_ID.FORM],\\n\\t[TAG_NAMES.FRAME, TAG_ID.FRAME],\\n\\t[TAG_NAMES.FRAMESET, TAG_ID.FRAMESET],\\n\\t[TAG_NAMES.H1, TAG_ID.H1],\\n\\t[TAG_NAMES.H2, TAG_ID.H2],\\n\\t[TAG_NAMES.H3, TAG_ID.H3],\\n\\t[TAG_NAMES.H4, TAG_ID.H4],\\n\\t[TAG_NAMES.H5, TAG_ID.H5],\\n\\t[TAG_NAMES.H6, TAG_ID.H6],\\n\\t[TAG_NAMES.HEAD, TAG_ID.HEAD],\\n\\t[TAG_NAMES.HEADER, TAG_ID.HEADER],\\n\\t[TAG_NAMES.HGROUP, TAG_ID.HGROUP],\\n\\t[TAG_NAMES.HR, TAG_ID.HR],\\n\\t[TAG_NAMES.HTML, TAG_ID.HTML],\\n\\t[TAG_NAMES.I, TAG_ID.I],\\n\\t[TAG_NAMES.IMG, TAG_ID.IMG],\\n\\t[TAG_NAMES.IMAGE, TAG_ID.IMAGE],\\n\\t[TAG_NAMES.INPUT, TAG_ID.INPUT],\\n\\t[TAG_NAMES.IFRAME, TAG_ID.IFRAME],\\n\\t[TAG_NAMES.KEYGEN, TAG_ID.KEYGEN],\\n\\t[TAG_NAMES.LABEL, TAG_ID.LABEL],\\n\\t[TAG_NAMES.LI, TAG_ID.LI],\\n\\t[TAG_NAMES.LINK, TAG_ID.LINK],\\n\\t[TAG_NAMES.LISTING, TAG_ID.LISTING],\\n\\t[TAG_NAMES.MAIN, TAG_ID.MAIN],\\n\\t[TAG_NAMES.MALIGNMARK, TAG_ID.MALIGNMARK],\\n\\t[TAG_NAMES.MARQUEE, TAG_ID.MARQUEE],\\n\\t[TAG_NAMES.MATH, TAG_ID.MATH],\\n\\t[TAG_NAMES.MENU, TAG_ID.MENU],\\n\\t[TAG_NAMES.META, TAG_ID.META],\\n\\t[TAG_NAMES.MGLYPH, TAG_ID.MGLYPH],\\n\\t[TAG_NAMES.MI, TAG_ID.MI],\\n\\t[TAG_NAMES.MO, TAG_ID.MO],\\n\\t[TAG_NAMES.MN, TAG_ID.MN],\\n\\t[TAG_NAMES.MS, TAG_ID.MS],\\n\\t[TAG_NAMES.MTEXT, TAG_ID.MTEXT],\\n\\t[TAG_NAMES.NAV, TAG_ID.NAV],\\n\\t[TAG_NAMES.NOBR, TAG_ID.NOBR],\\n\\t[TAG_NAMES.NOFRAMES, TAG_ID.NOFRAMES],\\n\\t[TAG_NAMES.NOEMBED, TAG_ID.NOEMBED],\\n\\t[TAG_NAMES.NOSCRIPT, TAG_ID.NOSCRIPT],\\n\\t[TAG_NAMES.OBJECT, TAG_ID.OBJECT],\\n\\t[TAG_NAMES.OL, TAG_ID.OL],\\n\\t[TAG_NAMES.OPTGROUP, TAG_ID.OPTGROUP],\\n\\t[TAG_NAMES.OPTION, TAG_ID.OPTION],\\n\\t[TAG_NAMES.P, TAG_ID.P],\\n\\t[TAG_NAMES.PARAM, TAG_ID.PARAM],\\n\\t[TAG_NAMES.PLAINTEXT, TAG_ID.PLAINTEXT],\\n\\t[TAG_NAMES.PRE, TAG_ID.PRE],\\n\\t[TAG_NAMES.RB, TAG_ID.RB],\\n\\t[TAG_NAMES.RP, TAG_ID.RP],\\n\\t[TAG_NAMES.RT, TAG_ID.RT],\\n\\t[TAG_NAMES.RTC, TAG_ID.RTC],\\n\\t[TAG_NAMES.RUBY, TAG_ID.RUBY],\\n\\t[TAG_NAMES.S, TAG_ID.S],\\n\\t[TAG_NAMES.SCRIPT, TAG_ID.SCRIPT],\\n\\t[TAG_NAMES.SEARCH, TAG_ID.SEARCH],\\n\\t[TAG_NAMES.SECTION, TAG_ID.SECTION],\\n\\t[TAG_NAMES.SELECT, TAG_ID.SELECT],\\n\\t[TAG_NAMES.SOURCE, TAG_ID.SOURCE],\\n\\t[TAG_NAMES.SMALL, TAG_ID.SMALL],\\n\\t[TAG_NAMES.SPAN, TAG_ID.SPAN],\\n\\t[TAG_NAMES.STRIKE, TAG_ID.STRIKE],\\n\\t[TAG_NAMES.STRONG, TAG_ID.STRONG],\\n\\t[TAG_NAMES.STYLE, TAG_ID.STYLE],\\n\\t[TAG_NAMES.SUB, TAG_ID.SUB],\\n\\t[TAG_NAMES.SUMMARY, TAG_ID.SUMMARY],\\n\\t[TAG_NAMES.SUP, TAG_ID.SUP],\\n\\t[TAG_NAMES.TABLE, TAG_ID.TABLE],\\n\\t[TAG_NAMES.TBODY, TAG_ID.TBODY],\\n\\t[TAG_NAMES.TEMPLATE, TAG_ID.TEMPLATE],\\n\\t[TAG_NAMES.TEXTAREA, TAG_ID.TEXTAREA],\\n\\t[TAG_NAMES.TFOOT, TAG_ID.TFOOT],\\n\\t[TAG_NAMES.TD, TAG_ID.TD],\\n\\t[TAG_NAMES.TH, TAG_ID.TH],\\n\\t[TAG_NAMES.THEAD, TAG_ID.THEAD],\\n\\t[TAG_NAMES.TITLE, TAG_ID.TITLE],\\n\\t[TAG_NAMES.TR, TAG_ID.TR],\\n\\t[TAG_NAMES.TRACK, TAG_ID.TRACK],\\n\\t[TAG_NAMES.TT, TAG_ID.TT],\\n\\t[TAG_NAMES.U, TAG_ID.U],\\n\\t[TAG_NAMES.UL, TAG_ID.UL],\\n\\t[TAG_NAMES.SVG, TAG_ID.SVG],\\n\\t[TAG_NAMES.VAR, TAG_ID.VAR],\\n\\t[TAG_NAMES.WBR, TAG_ID.WBR],\\n\\t[TAG_NAMES.XMP, TAG_ID.XMP]\\n]);\\nfunction getTagID(tagName) {\\n\\tvar _a;\\n\\treturn (_a = TAG_NAME_TO_ID.get(tagName)) !== null && _a !== void 0 ? _a : TAG_ID.UNKNOWN;\\n}\\nconst $ = TAG_ID;\\nconst SPECIAL_ELEMENTS = {\\n\\t[NS.HTML]: new Set([\\n\\t\\t$.ADDRESS,\\n\\t\\t$.APPLET,\\n\\t\\t$.AREA,\\n\\t\\t$.ARTICLE,\\n\\t\\t$.ASIDE,\\n\\t\\t$.BASE,\\n\\t\\t$.BASEFONT,\\n\\t\\t$.BGSOUND,\\n\\t\\t$.BLOCKQUOTE,\\n\\t\\t$.BODY,\\n\\t\\t$.BR,\\n\\t\\t$.BUTTON,\\n\\t\\t$.CAPTION,\\n\\t\\t$.CENTER,\\n\\t\\t$.COL,\\n\\t\\t$.COLGROUP,\\n\\t\\t$.DD,\\n\\t\\t$.DETAILS,\\n\\t\\t$.DIR,\\n\\t\\t$.DIV,\\n\\t\\t$.DL,\\n\\t\\t$.DT,\\n\\t\\t$.EMBED,\\n\\t\\t$.FIELDSET,\\n\\t\\t$.FIGCAPTION,\\n\\t\\t$.FIGURE,\\n\\t\\t$.FOOTER,\\n\\t\\t$.FORM,\\n\\t\\t$.FRAME,\\n\\t\\t$.FRAMESET,\\n\\t\\t$.H1,\\n\\t\\t$.H2,\\n\\t\\t$.H3,\\n\\t\\t$.H4,\\n\\t\\t$.H5,\\n\\t\\t$.H6,\\n\\t\\t$.HEAD,\\n\\t\\t$.HEADER,\\n\\t\\t$.HGROUP,\\n\\t\\t$.HR,\\n\\t\\t$.HTML,\\n\\t\\t$.IFRAME,\\n\\t\\t$.IMG,\\n\\t\\t$.INPUT,\\n\\t\\t$.LI,\\n\\t\\t$.LINK,\\n\\t\\t$.LISTING,\\n\\t\\t$.MAIN,\\n\\t\\t$.MARQUEE,\\n\\t\\t$.MENU,\\n\\t\\t$.META,\\n\\t\\t$.NAV,\\n\\t\\t$.NOEMBED,\\n\\t\\t$.NOFRAMES,\\n\\t\\t$.NOSCRIPT,\\n\\t\\t$.OBJECT,\\n\\t\\t$.OL,\\n\\t\\t$.P,\\n\\t\\t$.PARAM,\\n\\t\\t$.PLAINTEXT,\\n\\t\\t$.PRE,\\n\\t\\t$.SCRIPT,\\n\\t\\t$.SECTION,\\n\\t\\t$.SELECT,\\n\\t\\t$.SOURCE,\\n\\t\\t$.STYLE,\\n\\t\\t$.SUMMARY,\\n\\t\\t$.TABLE,\\n\\t\\t$.TBODY,\\n\\t\\t$.TD,\\n\\t\\t$.TEMPLATE,\\n\\t\\t$.TEXTAREA,\\n\\t\\t$.TFOOT,\\n\\t\\t$.TH,\\n\\t\\t$.THEAD,\\n\\t\\t$.TITLE,\\n\\t\\t$.TR,\\n\\t\\t$.TRACK,\\n\\t\\t$.UL,\\n\\t\\t$.WBR,\\n\\t\\t$.XMP\\n\\t]),\\n\\t[NS.MATHML]: new Set([\\n\\t\\t$.MI,\\n\\t\\t$.MO,\\n\\t\\t$.MN,\\n\\t\\t$.MS,\\n\\t\\t$.MTEXT,\\n\\t\\t$.ANNOTATION_XML\\n\\t]),\\n\\t[NS.SVG]: new Set([\\n\\t\\t$.TITLE,\\n\\t\\t$.FOREIGN_OBJECT,\\n\\t\\t$.DESC\\n\\t]),\\n\\t[NS.XLINK]: /* @__PURE__ */ new Set(),\\n\\t[NS.XML]: /* @__PURE__ */ new Set(),\\n\\t[NS.XMLNS]: /* @__PURE__ */ new Set()\\n};\\nconst NUMBERED_HEADERS = new Set([\\n\\t$.H1,\\n\\t$.H2,\\n\\t$.H3,\\n\\t$.H4,\\n\\t$.H5,\\n\\t$.H6\\n]);\\nconst UNESCAPED_TEXT = new Set([\\n\\tTAG_NAMES.STYLE,\\n\\tTAG_NAMES.SCRIPT,\\n\\tTAG_NAMES.XMP,\\n\\tTAG_NAMES.IFRAME,\\n\\tTAG_NAMES.NOEMBED,\\n\\tTAG_NAMES.NOFRAMES,\\n\\tTAG_NAMES.PLAINTEXT\\n]);\\n\\n//#endregion\\n//#region ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/tokenizer/index.js\\nvar State;\\n(function(State$1) {\\n\\tState$1[State$1[\\\"DATA\\\"] = 0] = \\\"DATA\\\";\\n\\tState$1[State$1[\\\"RCDATA\\\"] = 1] = \\\"RCDATA\\\";\\n\\tState$1[State$1[\\\"RAWTEXT\\\"] = 2] = \\\"RAWTEXT\\\";\\n\\tState$1[State$1[\\\"SCRIPT_DATA\\\"] = 3] = \\\"SCRIPT_DATA\\\";\\n\\tState$1[State$1[\\\"PLAINTEXT\\\"] = 4] = \\\"PLAINTEXT\\\";\\n\\tState$1[State$1[\\\"TAG_OPEN\\\"] = 5] = \\\"TAG_OPEN\\\";\\n\\tState$1[State$1[\\\"END_TAG_OPEN\\\"] = 6] = \\\"END_TAG_OPEN\\\";\\n\\tState$1[State$1[\\\"TAG_NAME\\\"] = 7] = \\\"TAG_NAME\\\";\\n\\tState$1[State$1[\\\"RCDATA_LESS_THAN_SIGN\\\"] = 8] = \\\"RCDATA_LESS_THAN_SIGN\\\";\\n\\tState$1[State$1[\\\"RCDATA_END_TAG_OPEN\\\"] = 9] = \\\"RCDATA_END_TAG_OPEN\\\";\\n\\tState$1[State$1[\\\"RCDATA_END_TAG_NAME\\\"] = 10] = \\\"RCDATA_END_TAG_NAME\\\";\\n\\tState$1[State$1[\\\"RAWTEXT_LESS_THAN_SIGN\\\"] = 11] = \\\"RAWTEXT_LESS_THAN_SIGN\\\";\\n\\tState$1[State$1[\\\"RAWTEXT_END_TAG_OPEN\\\"] = 12] = \\\"RAWTEXT_END_TAG_OPEN\\\";\\n\\tState$1[State$1[\\\"RAWTEXT_END_TAG_NAME\\\"] = 13] = \\\"RAWTEXT_END_TAG_NAME\\\";\\n\\tState$1[State$1[\\\"SCRIPT_DATA_LESS_THAN_SIGN\\\"] = 14] = \\\"SCRIPT_DATA_LESS_THAN_SIGN\\\";\\n\\tState$1[State$1[\\\"SCRIPT_DATA_END_TAG_OPEN\\\"] = 15] = \\\"SCRIPT_DATA_END_TAG_OPEN\\\";\\n\\tState$1[State$1[\\\"SCRIPT_DATA_END_TAG_NAME\\\"] = 16] = \\\"SCRIPT_DATA_END_TAG_NAME\\\";\\n\\tState$1[State$1[\\\"SCRIPT_DATA_ESCAPE_START\\\"] = 17] = \\\"SCRIPT_DATA_ESCAPE_START\\\";\\n\\tState$1[State$1[\\\"SCRIPT_DATA_ESCAPE_START_DASH\\\"] = 18] = \\\"SCRIPT_DATA_ESCAPE_START_DASH\\\";\\n\\tState$1[State$1[\\\"SCRIPT_DATA_ESCAPED\\\"] = 19] = \\\"SCRIPT_DATA_ESCAPED\\\";\\n\\tState$1[State$1[\\\"SCRIPT_DATA_ESCAPED_DASH\\\"] = 20] = \\\"SCRIPT_DATA_ESCAPED_DASH\\\";\\n\\tState$1[State$1[\\\"SCRIPT_DATA_ESCAPED_DASH_DASH\\\"] = 21] = \\\"SCRIPT_DATA_ESCAPED_DASH_DASH\\\";\\n\\tState$1[State$1[\\\"SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN\\\"] = 22] = \\\"SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN\\\";\\n\\tState$1[State$1[\\\"SCRIPT_DATA_ESCAPED_END_TAG_OPEN\\\"] = 23] = \\\"SCRIPT_DATA_ESCAPED_END_TAG_OPEN\\\";\\n\\tState$1[State$1[\\\"SCRIPT_DATA_ESCAPED_END_TAG_NAME\\\"] = 24] = \\\"SCRIPT_DATA_ESCAPED_END_TAG_NAME\\\";\\n\\tState$1[State$1[\\\"SCRIPT_DATA_DOUBLE_ESCAPE_START\\\"] = 25] = \\\"SCRIPT_DATA_DOUBLE_ESCAPE_START\\\";\\n\\tState$1[State$1[\\\"SCRIPT_DATA_DOUBLE_ESCAPED\\\"] = 26] = \\\"SCRIPT_DATA_DOUBLE_ESCAPED\\\";\\n\\tState$1[State$1[\\\"SCRIPT_DATA_DOUBLE_ESCAPED_DASH\\\"] = 27] = \\\"SCRIPT_DATA_DOUBLE_ESCAPED_DASH\\\";\\n\\tState$1[State$1[\\\"SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH\\\"] = 28] = \\\"SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH\\\";\\n\\tState$1[State$1[\\\"SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN\\\"] = 29] = \\\"SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN\\\";\\n\\tState$1[State$1[\\\"SCRIPT_DATA_DOUBLE_ESCAPE_END\\\"] = 30] = \\\"SCRIPT_DATA_DOUBLE_ESCAPE_END\\\";\\n\\tState$1[State$1[\\\"BEFORE_ATTRIBUTE_NAME\\\"] = 31] = \\\"BEFORE_ATTRIBUTE_NAME\\\";\\n\\tState$1[State$1[\\\"ATTRIBUTE_NAME\\\"] = 32] = \\\"ATTRIBUTE_NAME\\\";\\n\\tState$1[State$1[\\\"AFTER_ATTRIBUTE_NAME\\\"] = 33] = \\\"AFTER_ATTRIBUTE_NAME\\\";\\n\\tState$1[State$1[\\\"BEFORE_ATTRIBUTE_VALUE\\\"] = 34] = \\\"BEFORE_ATTRIBUTE_VALUE\\\";\\n\\tState$1[State$1[\\\"ATTRIBUTE_VALUE_DOUBLE_QUOTED\\\"] = 35] = \\\"ATTRIBUTE_VALUE_DOUBLE_QUOTED\\\";\\n\\tState$1[State$1[\\\"ATTRIBUTE_VALUE_SINGLE_QUOTED\\\"] = 36] = \\\"ATTRIBUTE_VALUE_SINGLE_QUOTED\\\";\\n\\tState$1[State$1[\\\"ATTRIBUTE_VALUE_UNQUOTED\\\"] = 37] = \\\"ATTRIBUTE_VALUE_UNQUOTED\\\";\\n\\tState$1[State$1[\\\"AFTER_ATTRIBUTE_VALUE_QUOTED\\\"] = 38] = \\\"AFTER_ATTRIBUTE_VALUE_QUOTED\\\";\\n\\tState$1[State$1[\\\"SELF_CLOSING_START_TAG\\\"] = 39] = \\\"SELF_CLOSING_START_TAG\\\";\\n\\tState$1[State$1[\\\"BOGUS_COMMENT\\\"] = 40] = \\\"BOGUS_COMMENT\\\";\\n\\tState$1[State$1[\\\"MARKUP_DECLARATION_OPEN\\\"] = 41] = \\\"MARKUP_DECLARATION_OPEN\\\";\\n\\tState$1[State$1[\\\"COMMENT_START\\\"] = 42] = \\\"COMMENT_START\\\";\\n\\tState$1[State$1[\\\"COMMENT_START_DASH\\\"] = 43] = \\\"COMMENT_START_DASH\\\";\\n\\tState$1[State$1[\\\"COMMENT\\\"] = 44] = \\\"COMMENT\\\";\\n\\tState$1[State$1[\\\"COMMENT_LESS_THAN_SIGN\\\"] = 45] = \\\"COMMENT_LESS_THAN_SIGN\\\";\\n\\tState$1[State$1[\\\"COMMENT_LESS_THAN_SIGN_BANG\\\"] = 46] = \\\"COMMENT_LESS_THAN_SIGN_BANG\\\";\\n\\tState$1[State$1[\\\"COMMENT_LESS_THAN_SIGN_BANG_DASH\\\"] = 47] = \\\"COMMENT_LESS_THAN_SIGN_BANG_DASH\\\";\\n\\tState$1[State$1[\\\"COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH\\\"] = 48] = \\\"COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH\\\";\\n\\tState$1[State$1[\\\"COMMENT_END_DASH\\\"] = 49] = \\\"COMMENT_END_DASH\\\";\\n\\tState$1[State$1[\\\"COMMENT_END\\\"] = 50] = \\\"COMMENT_END\\\";\\n\\tState$1[State$1[\\\"COMMENT_END_BANG\\\"] = 51] = \\\"COMMENT_END_BANG\\\";\\n\\tState$1[State$1[\\\"DOCTYPE\\\"] = 52] = \\\"DOCTYPE\\\";\\n\\tState$1[State$1[\\\"BEFORE_DOCTYPE_NAME\\\"] = 53] = \\\"BEFORE_DOCTYPE_NAME\\\";\\n\\tState$1[State$1[\\\"DOCTYPE_NAME\\\"] = 54] = \\\"DOCTYPE_NAME\\\";\\n\\tState$1[State$1[\\\"AFTER_DOCTYPE_NAME\\\"] = 55] = \\\"AFTER_DOCTYPE_NAME\\\";\\n\\tState$1[State$1[\\\"AFTER_DOCTYPE_PUBLIC_KEYWORD\\\"] = 56] = \\\"AFTER_DOCTYPE_PUBLIC_KEYWORD\\\";\\n\\tState$1[State$1[\\\"BEFORE_DOCTYPE_PUBLIC_IDENTIFIER\\\"] = 57] = \\\"BEFORE_DOCTYPE_PUBLIC_IDENTIFIER\\\";\\n\\tState$1[State$1[\\\"DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED\\\"] = 58] = \\\"DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED\\\";\\n\\tState$1[State$1[\\\"DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED\\\"] = 59] = \\\"DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED\\\";\\n\\tState$1[State$1[\\\"AFTER_DOCTYPE_PUBLIC_IDENTIFIER\\\"] = 60] = \\\"AFTER_DOCTYPE_PUBLIC_IDENTIFIER\\\";\\n\\tState$1[State$1[\\\"BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS\\\"] = 61] = \\\"BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS\\\";\\n\\tState$1[State$1[\\\"AFTER_DOCTYPE_SYSTEM_KEYWORD\\\"] = 62] = \\\"AFTER_DOCTYPE_SYSTEM_KEYWORD\\\";\\n\\tState$1[State$1[\\\"BEFORE_DOCTYPE_SYSTEM_IDENTIFIER\\\"] = 63] = \\\"BEFORE_DOCTYPE_SYSTEM_IDENTIFIER\\\";\\n\\tState$1[State$1[\\\"DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED\\\"] = 64] = \\\"DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED\\\";\\n\\tState$1[State$1[\\\"DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED\\\"] = 65] = \\\"DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED\\\";\\n\\tState$1[State$1[\\\"AFTER_DOCTYPE_SYSTEM_IDENTIFIER\\\"] = 66] = \\\"AFTER_DOCTYPE_SYSTEM_IDENTIFIER\\\";\\n\\tState$1[State$1[\\\"BOGUS_DOCTYPE\\\"] = 67] = \\\"BOGUS_DOCTYPE\\\";\\n\\tState$1[State$1[\\\"CDATA_SECTION\\\"] = 68] = \\\"CDATA_SECTION\\\";\\n\\tState$1[State$1[\\\"CDATA_SECTION_BRACKET\\\"] = 69] = \\\"CDATA_SECTION_BRACKET\\\";\\n\\tState$1[State$1[\\\"CDATA_SECTION_END\\\"] = 70] = \\\"CDATA_SECTION_END\\\";\\n\\tState$1[State$1[\\\"CHARACTER_REFERENCE\\\"] = 71] = \\\"CHARACTER_REFERENCE\\\";\\n\\tState$1[State$1[\\\"AMBIGUOUS_AMPERSAND\\\"] = 72] = \\\"AMBIGUOUS_AMPERSAND\\\";\\n})(State || (State = {}));\\nconst TokenizerMode = {\\n\\tDATA: State.DATA,\\n\\tRCDATA: State.RCDATA,\\n\\tRAWTEXT: State.RAWTEXT,\\n\\tSCRIPT_DATA: State.SCRIPT_DATA,\\n\\tPLAINTEXT: State.PLAINTEXT,\\n\\tCDATA_SECTION: State.CDATA_SECTION\\n};\\nfunction isAsciiDigit(cp) {\\n\\treturn cp >= CODE_POINTS.DIGIT_0 && cp <= CODE_POINTS.DIGIT_9;\\n}\\nfunction isAsciiUpper(cp) {\\n\\treturn cp >= CODE_POINTS.LATIN_CAPITAL_A && cp <= CODE_POINTS.LATIN_CAPITAL_Z;\\n}\\nfunction isAsciiLower(cp) {\\n\\treturn cp >= CODE_POINTS.LATIN_SMALL_A && cp <= CODE_POINTS.LATIN_SMALL_Z;\\n}\\nfunction isAsciiLetter(cp) {\\n\\treturn isAsciiLower(cp) || isAsciiUpper(cp);\\n}\\nfunction isAsciiAlphaNumeric(cp) {\\n\\treturn isAsciiLetter(cp) || isAsciiDigit(cp);\\n}\\nfunction toAsciiLower(cp) {\\n\\treturn cp + 32;\\n}\\nfunction isWhitespace(cp) {\\n\\treturn cp === CODE_POINTS.SPACE || cp === CODE_POINTS.LINE_FEED || cp === CODE_POINTS.TABULATION || cp === CODE_POINTS.FORM_FEED;\\n}\\nfunction isScriptDataDoubleEscapeSequenceEnd(cp) {\\n\\treturn isWhitespace(cp) || cp === CODE_POINTS.SOLIDUS || cp === CODE_POINTS.GREATER_THAN_SIGN;\\n}\\nfunction getErrorForNumericCharacterReference(code) {\\n\\tif (code === CODE_POINTS.NULL) return ERR.nullCharacterReference;\\n\\telse if (code > 1114111) return ERR.characterReferenceOutsideUnicodeRange;\\n\\telse if (isSurrogate(code)) return ERR.surrogateCharacterReference;\\n\\telse if (isUndefinedCodePoint(code)) return ERR.noncharacterCharacterReference;\\n\\telse if (isControlCodePoint(code) || code === CODE_POINTS.CARRIAGE_RETURN) return ERR.controlCharacterReference;\\n\\treturn null;\\n}\\nvar Tokenizer = class {\\n\\tconstructor(options, handler) {\\n\\t\\tthis.options = options;\\n\\t\\tthis.handler = handler;\\n\\t\\tthis.paused = false;\\n\\t\\t/** Ensures that the parsing loop isn't run multiple times at once. */\\n\\t\\tthis.inLoop = false;\\n\\t\\t/**\\n\\t\\t* Indicates that the current adjusted node exists, is not an element in the HTML namespace,\\n\\t\\t* and that it is not an integration point for either MathML or HTML.\\n\\t\\t*\\n\\t\\t* @see {@link https://html.spec.whatwg.org/multipage/parsing.html#tree-construction}\\n\\t\\t*/\\n\\t\\tthis.inForeignNode = false;\\n\\t\\tthis.lastStartTagName = \\\"\\\";\\n\\t\\tthis.active = false;\\n\\t\\tthis.state = State.DATA;\\n\\t\\tthis.returnState = State.DATA;\\n\\t\\tthis.entityStartPos = 0;\\n\\t\\tthis.consumedAfterSnapshot = -1;\\n\\t\\tthis.currentCharacterToken = null;\\n\\t\\tthis.currentToken = null;\\n\\t\\tthis.currentAttr = {\\n\\t\\t\\tname: \\\"\\\",\\n\\t\\t\\tvalue: \\\"\\\"\\n\\t\\t};\\n\\t\\tthis.preprocessor = new Preprocessor(handler);\\n\\t\\tthis.currentLocation = this.getCurrentLocation(-1);\\n\\t\\tthis.entityDecoder = new EntityDecoder(htmlDecodeTree, (cp, consumed) => {\\n\\t\\t\\tthis.preprocessor.pos = this.entityStartPos + consumed - 1;\\n\\t\\t\\tthis._flushCodePointConsumedAsCharacterReference(cp);\\n\\t\\t}, handler.onParseError ? {\\n\\t\\t\\tmissingSemicolonAfterCharacterReference: () => {\\n\\t\\t\\t\\tthis._err(ERR.missingSemicolonAfterCharacterReference, 1);\\n\\t\\t\\t},\\n\\t\\t\\tabsenceOfDigitsInNumericCharacterReference: (consumed) => {\\n\\t\\t\\t\\tthis._err(ERR.absenceOfDigitsInNumericCharacterReference, this.entityStartPos - this.preprocessor.pos + consumed);\\n\\t\\t\\t},\\n\\t\\t\\tvalidateNumericCharacterReference: (code) => {\\n\\t\\t\\t\\tconst error = getErrorForNumericCharacterReference(code);\\n\\t\\t\\t\\tif (error) this._err(error, 1);\\n\\t\\t\\t}\\n\\t\\t} : void 0);\\n\\t}\\n\\t_err(code, cpOffset = 0) {\\n\\t\\tvar _a, _b;\\n\\t\\t(_b = (_a = this.handler).onParseError) === null || _b === void 0 || _b.call(_a, this.preprocessor.getError(code, cpOffset));\\n\\t}\\n\\tgetCurrentLocation(offset) {\\n\\t\\tif (!this.options.sourceCodeLocationInfo) return null;\\n\\t\\treturn {\\n\\t\\t\\tstartLine: this.preprocessor.line,\\n\\t\\t\\tstartCol: this.preprocessor.col - offset,\\n\\t\\t\\tstartOffset: this.preprocessor.offset - offset,\\n\\t\\t\\tendLine: -1,\\n\\t\\t\\tendCol: -1,\\n\\t\\t\\tendOffset: -1\\n\\t\\t};\\n\\t}\\n\\t_runParsingLoop() {\\n\\t\\tif (this.inLoop) return;\\n\\t\\tthis.inLoop = true;\\n\\t\\twhile (this.active && !this.paused) {\\n\\t\\t\\tthis.consumedAfterSnapshot = 0;\\n\\t\\t\\tconst cp = this._consume();\\n\\t\\t\\tif (!this._ensureHibernation()) this._callState(cp);\\n\\t\\t}\\n\\t\\tthis.inLoop = false;\\n\\t}\\n\\tpause() {\\n\\t\\tthis.paused = true;\\n\\t}\\n\\tresume(writeCallback) {\\n\\t\\tif (!this.paused) throw new Error(\\\"Parser was already resumed\\\");\\n\\t\\tthis.paused = false;\\n\\t\\tif (this.inLoop) return;\\n\\t\\tthis._runParsingLoop();\\n\\t\\tif (!this.paused) writeCallback === null || writeCallback === void 0 || writeCallback();\\n\\t}\\n\\twrite(chunk, isLastChunk, writeCallback) {\\n\\t\\tthis.active = true;\\n\\t\\tthis.preprocessor.write(chunk, isLastChunk);\\n\\t\\tthis._runParsingLoop();\\n\\t\\tif (!this.paused) writeCallback === null || writeCallback === void 0 || writeCallback();\\n\\t}\\n\\tinsertHtmlAtCurrentPos(chunk) {\\n\\t\\tthis.active = true;\\n\\t\\tthis.preprocessor.insertHtmlAtCurrentPos(chunk);\\n\\t\\tthis._runParsingLoop();\\n\\t}\\n\\t_ensureHibernation() {\\n\\t\\tif (this.preprocessor.endOfChunkHit) {\\n\\t\\t\\tthis.preprocessor.retreat(this.consumedAfterSnapshot);\\n\\t\\t\\tthis.consumedAfterSnapshot = 0;\\n\\t\\t\\tthis.active = false;\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\t\\treturn false;\\n\\t}\\n\\t_consume() {\\n\\t\\tthis.consumedAfterSnapshot++;\\n\\t\\treturn this.preprocessor.advance();\\n\\t}\\n\\t_advanceBy(count) {\\n\\t\\tthis.consumedAfterSnapshot += count;\\n\\t\\tfor (let i = 0; i < count; i++) this.preprocessor.advance();\\n\\t}\\n\\t_consumeSequenceIfMatch(pattern, caseSensitive) {\\n\\t\\tif (this.preprocessor.startsWith(pattern, caseSensitive)) {\\n\\t\\t\\tthis._advanceBy(pattern.length - 1);\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\t\\treturn false;\\n\\t}\\n\\t_createStartTagToken() {\\n\\t\\tthis.currentToken = {\\n\\t\\t\\ttype: TokenType.START_TAG,\\n\\t\\t\\ttagName: \\\"\\\",\\n\\t\\t\\ttagID: TAG_ID.UNKNOWN,\\n\\t\\t\\tselfClosing: false,\\n\\t\\t\\tackSelfClosing: false,\\n\\t\\t\\tattrs: [],\\n\\t\\t\\tlocation: this.getCurrentLocation(1)\\n\\t\\t};\\n\\t}\\n\\t_createEndTagToken() {\\n\\t\\tthis.currentToken = {\\n\\t\\t\\ttype: TokenType.END_TAG,\\n\\t\\t\\ttagName: \\\"\\\",\\n\\t\\t\\ttagID: TAG_ID.UNKNOWN,\\n\\t\\t\\tselfClosing: false,\\n\\t\\t\\tackSelfClosing: false,\\n\\t\\t\\tattrs: [],\\n\\t\\t\\tlocation: this.getCurrentLocation(2)\\n\\t\\t};\\n\\t}\\n\\t_createCommentToken(offset) {\\n\\t\\tthis.currentToken = {\\n\\t\\t\\ttype: TokenType.COMMENT,\\n\\t\\t\\tdata: \\\"\\\",\\n\\t\\t\\tlocation: this.getCurrentLocation(offset)\\n\\t\\t};\\n\\t}\\n\\t_createDoctypeToken(initialName) {\\n\\t\\tthis.currentToken = {\\n\\t\\t\\ttype: TokenType.DOCTYPE,\\n\\t\\t\\tname: initialName,\\n\\t\\t\\tforceQuirks: false,\\n\\t\\t\\tpublicId: null,\\n\\t\\t\\tsystemId: null,\\n\\t\\t\\tlocation: this.currentLocation\\n\\t\\t};\\n\\t}\\n\\t_createCharacterToken(type, chars) {\\n\\t\\tthis.currentCharacterToken = {\\n\\t\\t\\ttype,\\n\\t\\t\\tchars,\\n\\t\\t\\tlocation: this.currentLocation\\n\\t\\t};\\n\\t}\\n\\t_createAttr(attrNameFirstCh) {\\n\\t\\tthis.currentAttr = {\\n\\t\\t\\tname: attrNameFirstCh,\\n\\t\\t\\tvalue: \\\"\\\"\\n\\t\\t};\\n\\t\\tthis.currentLocation = this.getCurrentLocation(0);\\n\\t}\\n\\t_leaveAttrName() {\\n\\t\\tvar _a;\\n\\t\\tvar _b;\\n\\t\\tconst token = this.currentToken;\\n\\t\\tif (getTokenAttr(token, this.currentAttr.name) === null) {\\n\\t\\t\\ttoken.attrs.push(this.currentAttr);\\n\\t\\t\\tif (token.location && this.currentLocation) {\\n\\t\\t\\t\\tconst attrLocations = (_a = (_b = token.location).attrs) !== null && _a !== void 0 ? _a : _b.attrs = Object.create(null);\\n\\t\\t\\t\\tattrLocations[this.currentAttr.name] = this.currentLocation;\\n\\t\\t\\t\\tthis._leaveAttrValue();\\n\\t\\t\\t}\\n\\t\\t} else this._err(ERR.duplicateAttribute);\\n\\t}\\n\\t_leaveAttrValue() {\\n\\t\\tif (this.currentLocation) {\\n\\t\\t\\tthis.currentLocation.endLine = this.preprocessor.line;\\n\\t\\t\\tthis.currentLocation.endCol = this.preprocessor.col;\\n\\t\\t\\tthis.currentLocation.endOffset = this.preprocessor.offset;\\n\\t\\t}\\n\\t}\\n\\tprepareToken(ct) {\\n\\t\\tthis._emitCurrentCharacterToken(ct.location);\\n\\t\\tthis.currentToken = null;\\n\\t\\tif (ct.location) {\\n\\t\\t\\tct.location.endLine = this.preprocessor.line;\\n\\t\\t\\tct.location.endCol = this.preprocessor.col + 1;\\n\\t\\t\\tct.location.endOffset = this.preprocessor.offset + 1;\\n\\t\\t}\\n\\t\\tthis.currentLocation = this.getCurrentLocation(-1);\\n\\t}\\n\\temitCurrentTagToken() {\\n\\t\\tconst ct = this.currentToken;\\n\\t\\tthis.prepareToken(ct);\\n\\t\\tct.tagID = getTagID(ct.tagName);\\n\\t\\tif (ct.type === TokenType.START_TAG) {\\n\\t\\t\\tthis.lastStartTagName = ct.tagName;\\n\\t\\t\\tthis.handler.onStartTag(ct);\\n\\t\\t} else {\\n\\t\\t\\tif (ct.attrs.length > 0) this._err(ERR.endTagWithAttributes);\\n\\t\\t\\tif (ct.selfClosing) this._err(ERR.endTagWithTrailingSolidus);\\n\\t\\t\\tthis.handler.onEndTag(ct);\\n\\t\\t}\\n\\t\\tthis.preprocessor.dropParsedChunk();\\n\\t}\\n\\temitCurrentComment(ct) {\\n\\t\\tthis.prepareToken(ct);\\n\\t\\tthis.handler.onComment(ct);\\n\\t\\tthis.preprocessor.dropParsedChunk();\\n\\t}\\n\\temitCurrentDoctype(ct) {\\n\\t\\tthis.prepareToken(ct);\\n\\t\\tthis.handler.onDoctype(ct);\\n\\t\\tthis.preprocessor.dropParsedChunk();\\n\\t}\\n\\t_emitCurrentCharacterToken(nextLocation) {\\n\\t\\tif (this.currentCharacterToken) {\\n\\t\\t\\tif (nextLocation && this.currentCharacterToken.location) {\\n\\t\\t\\t\\tthis.currentCharacterToken.location.endLine = nextLocation.startLine;\\n\\t\\t\\t\\tthis.currentCharacterToken.location.endCol = nextLocation.startCol;\\n\\t\\t\\t\\tthis.currentCharacterToken.location.endOffset = nextLocation.startOffset;\\n\\t\\t\\t}\\n\\t\\t\\tswitch (this.currentCharacterToken.type) {\\n\\t\\t\\t\\tcase TokenType.CHARACTER:\\n\\t\\t\\t\\t\\tthis.handler.onCharacter(this.currentCharacterToken);\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase TokenType.NULL_CHARACTER:\\n\\t\\t\\t\\t\\tthis.handler.onNullCharacter(this.currentCharacterToken);\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase TokenType.WHITESPACE_CHARACTER:\\n\\t\\t\\t\\t\\tthis.handler.onWhitespaceCharacter(this.currentCharacterToken);\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t\\tthis.currentCharacterToken = null;\\n\\t\\t}\\n\\t}\\n\\t_emitEOFToken() {\\n\\t\\tconst location = this.getCurrentLocation(0);\\n\\t\\tif (location) {\\n\\t\\t\\tlocation.endLine = location.startLine;\\n\\t\\t\\tlocation.endCol = location.startCol;\\n\\t\\t\\tlocation.endOffset = location.startOffset;\\n\\t\\t}\\n\\t\\tthis._emitCurrentCharacterToken(location);\\n\\t\\tthis.handler.onEof({\\n\\t\\t\\ttype: TokenType.EOF,\\n\\t\\t\\tlocation\\n\\t\\t});\\n\\t\\tthis.active = false;\\n\\t}\\n\\t_appendCharToCurrentCharacterToken(type, ch) {\\n\\t\\tif (this.currentCharacterToken) if (this.currentCharacterToken.type === type) {\\n\\t\\t\\tthis.currentCharacterToken.chars += ch;\\n\\t\\t\\treturn;\\n\\t\\t} else {\\n\\t\\t\\tthis.currentLocation = this.getCurrentLocation(0);\\n\\t\\t\\tthis._emitCurrentCharacterToken(this.currentLocation);\\n\\t\\t\\tthis.preprocessor.dropParsedChunk();\\n\\t\\t}\\n\\t\\tthis._createCharacterToken(type, ch);\\n\\t}\\n\\t_emitCodePoint(cp) {\\n\\t\\tconst type = isWhitespace(cp) ? TokenType.WHITESPACE_CHARACTER : cp === CODE_POINTS.NULL ? TokenType.NULL_CHARACTER : TokenType.CHARACTER;\\n\\t\\tthis._appendCharToCurrentCharacterToken(type, cp < 65536 ? String.fromCharCode(cp) : String.fromCodePoint(cp));\\n\\t}\\n\\t_emitChars(ch) {\\n\\t\\tthis._appendCharToCurrentCharacterToken(TokenType.CHARACTER, ch);\\n\\t}\\n\\t_startCharacterReference() {\\n\\t\\tthis.returnState = this.state;\\n\\t\\tthis.state = State.CHARACTER_REFERENCE;\\n\\t\\tthis.entityStartPos = this.preprocessor.pos;\\n\\t\\tthis.entityDecoder.startEntity(this._isCharacterReferenceInAttribute() ? DecodingMode.Attribute : DecodingMode.Legacy);\\n\\t}\\n\\t_isCharacterReferenceInAttribute() {\\n\\t\\treturn this.returnState === State.ATTRIBUTE_VALUE_DOUBLE_QUOTED || this.returnState === State.ATTRIBUTE_VALUE_SINGLE_QUOTED || this.returnState === State.ATTRIBUTE_VALUE_UNQUOTED;\\n\\t}\\n\\t_flushCodePointConsumedAsCharacterReference(cp) {\\n\\t\\tif (this._isCharacterReferenceInAttribute()) this.currentAttr.value += String.fromCodePoint(cp);\\n\\t\\telse this._emitCodePoint(cp);\\n\\t}\\n\\t_callState(cp) {\\n\\t\\tswitch (this.state) {\\n\\t\\t\\tcase State.DATA:\\n\\t\\t\\t\\tthis._stateData(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.RCDATA:\\n\\t\\t\\t\\tthis._stateRcdata(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.RAWTEXT:\\n\\t\\t\\t\\tthis._stateRawtext(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.SCRIPT_DATA:\\n\\t\\t\\t\\tthis._stateScriptData(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.PLAINTEXT:\\n\\t\\t\\t\\tthis._statePlaintext(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.TAG_OPEN:\\n\\t\\t\\t\\tthis._stateTagOpen(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.END_TAG_OPEN:\\n\\t\\t\\t\\tthis._stateEndTagOpen(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.TAG_NAME:\\n\\t\\t\\t\\tthis._stateTagName(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.RCDATA_LESS_THAN_SIGN:\\n\\t\\t\\t\\tthis._stateRcdataLessThanSign(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.RCDATA_END_TAG_OPEN:\\n\\t\\t\\t\\tthis._stateRcdataEndTagOpen(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.RCDATA_END_TAG_NAME:\\n\\t\\t\\t\\tthis._stateRcdataEndTagName(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.RAWTEXT_LESS_THAN_SIGN:\\n\\t\\t\\t\\tthis._stateRawtextLessThanSign(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.RAWTEXT_END_TAG_OPEN:\\n\\t\\t\\t\\tthis._stateRawtextEndTagOpen(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.RAWTEXT_END_TAG_NAME:\\n\\t\\t\\t\\tthis._stateRawtextEndTagName(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.SCRIPT_DATA_LESS_THAN_SIGN:\\n\\t\\t\\t\\tthis._stateScriptDataLessThanSign(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.SCRIPT_DATA_END_TAG_OPEN:\\n\\t\\t\\t\\tthis._stateScriptDataEndTagOpen(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.SCRIPT_DATA_END_TAG_NAME:\\n\\t\\t\\t\\tthis._stateScriptDataEndTagName(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.SCRIPT_DATA_ESCAPE_START:\\n\\t\\t\\t\\tthis._stateScriptDataEscapeStart(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.SCRIPT_DATA_ESCAPE_START_DASH:\\n\\t\\t\\t\\tthis._stateScriptDataEscapeStartDash(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.SCRIPT_DATA_ESCAPED:\\n\\t\\t\\t\\tthis._stateScriptDataEscaped(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.SCRIPT_DATA_ESCAPED_DASH:\\n\\t\\t\\t\\tthis._stateScriptDataEscapedDash(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.SCRIPT_DATA_ESCAPED_DASH_DASH:\\n\\t\\t\\t\\tthis._stateScriptDataEscapedDashDash(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:\\n\\t\\t\\t\\tthis._stateScriptDataEscapedLessThanSign(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:\\n\\t\\t\\t\\tthis._stateScriptDataEscapedEndTagOpen(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.SCRIPT_DATA_ESCAPED_END_TAG_NAME:\\n\\t\\t\\t\\tthis._stateScriptDataEscapedEndTagName(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.SCRIPT_DATA_DOUBLE_ESCAPE_START:\\n\\t\\t\\t\\tthis._stateScriptDataDoubleEscapeStart(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.SCRIPT_DATA_DOUBLE_ESCAPED:\\n\\t\\t\\t\\tthis._stateScriptDataDoubleEscaped(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:\\n\\t\\t\\t\\tthis._stateScriptDataDoubleEscapedDash(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:\\n\\t\\t\\t\\tthis._stateScriptDataDoubleEscapedDashDash(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:\\n\\t\\t\\t\\tthis._stateScriptDataDoubleEscapedLessThanSign(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.SCRIPT_DATA_DOUBLE_ESCAPE_END:\\n\\t\\t\\t\\tthis._stateScriptDataDoubleEscapeEnd(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.BEFORE_ATTRIBUTE_NAME:\\n\\t\\t\\t\\tthis._stateBeforeAttributeName(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.ATTRIBUTE_NAME:\\n\\t\\t\\t\\tthis._stateAttributeName(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.AFTER_ATTRIBUTE_NAME:\\n\\t\\t\\t\\tthis._stateAfterAttributeName(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.BEFORE_ATTRIBUTE_VALUE:\\n\\t\\t\\t\\tthis._stateBeforeAttributeValue(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.ATTRIBUTE_VALUE_DOUBLE_QUOTED:\\n\\t\\t\\t\\tthis._stateAttributeValueDoubleQuoted(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.ATTRIBUTE_VALUE_SINGLE_QUOTED:\\n\\t\\t\\t\\tthis._stateAttributeValueSingleQuoted(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.ATTRIBUTE_VALUE_UNQUOTED:\\n\\t\\t\\t\\tthis._stateAttributeValueUnquoted(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.AFTER_ATTRIBUTE_VALUE_QUOTED:\\n\\t\\t\\t\\tthis._stateAfterAttributeValueQuoted(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.SELF_CLOSING_START_TAG:\\n\\t\\t\\t\\tthis._stateSelfClosingStartTag(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.BOGUS_COMMENT:\\n\\t\\t\\t\\tthis._stateBogusComment(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.MARKUP_DECLARATION_OPEN:\\n\\t\\t\\t\\tthis._stateMarkupDeclarationOpen(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.COMMENT_START:\\n\\t\\t\\t\\tthis._stateCommentStart(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.COMMENT_START_DASH:\\n\\t\\t\\t\\tthis._stateCommentStartDash(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.COMMENT:\\n\\t\\t\\t\\tthis._stateComment(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.COMMENT_LESS_THAN_SIGN:\\n\\t\\t\\t\\tthis._stateCommentLessThanSign(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.COMMENT_LESS_THAN_SIGN_BANG:\\n\\t\\t\\t\\tthis._stateCommentLessThanSignBang(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.COMMENT_LESS_THAN_SIGN_BANG_DASH:\\n\\t\\t\\t\\tthis._stateCommentLessThanSignBangDash(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:\\n\\t\\t\\t\\tthis._stateCommentLessThanSignBangDashDash(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.COMMENT_END_DASH:\\n\\t\\t\\t\\tthis._stateCommentEndDash(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.COMMENT_END:\\n\\t\\t\\t\\tthis._stateCommentEnd(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.COMMENT_END_BANG:\\n\\t\\t\\t\\tthis._stateCommentEndBang(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.DOCTYPE:\\n\\t\\t\\t\\tthis._stateDoctype(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.BEFORE_DOCTYPE_NAME:\\n\\t\\t\\t\\tthis._stateBeforeDoctypeName(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.DOCTYPE_NAME:\\n\\t\\t\\t\\tthis._stateDoctypeName(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.AFTER_DOCTYPE_NAME:\\n\\t\\t\\t\\tthis._stateAfterDoctypeName(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.AFTER_DOCTYPE_PUBLIC_KEYWORD:\\n\\t\\t\\t\\tthis._stateAfterDoctypePublicKeyword(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:\\n\\t\\t\\t\\tthis._stateBeforeDoctypePublicIdentifier(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:\\n\\t\\t\\t\\tthis._stateDoctypePublicIdentifierDoubleQuoted(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:\\n\\t\\t\\t\\tthis._stateDoctypePublicIdentifierSingleQuoted(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:\\n\\t\\t\\t\\tthis._stateAfterDoctypePublicIdentifier(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:\\n\\t\\t\\t\\tthis._stateBetweenDoctypePublicAndSystemIdentifiers(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.AFTER_DOCTYPE_SYSTEM_KEYWORD:\\n\\t\\t\\t\\tthis._stateAfterDoctypeSystemKeyword(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:\\n\\t\\t\\t\\tthis._stateBeforeDoctypeSystemIdentifier(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:\\n\\t\\t\\t\\tthis._stateDoctypeSystemIdentifierDoubleQuoted(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:\\n\\t\\t\\t\\tthis._stateDoctypeSystemIdentifierSingleQuoted(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:\\n\\t\\t\\t\\tthis._stateAfterDoctypeSystemIdentifier(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.BOGUS_DOCTYPE:\\n\\t\\t\\t\\tthis._stateBogusDoctype(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.CDATA_SECTION:\\n\\t\\t\\t\\tthis._stateCdataSection(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.CDATA_SECTION_BRACKET:\\n\\t\\t\\t\\tthis._stateCdataSectionBracket(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.CDATA_SECTION_END:\\n\\t\\t\\t\\tthis._stateCdataSectionEnd(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.CHARACTER_REFERENCE:\\n\\t\\t\\t\\tthis._stateCharacterReference();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase State.AMBIGUOUS_AMPERSAND:\\n\\t\\t\\t\\tthis._stateAmbiguousAmpersand(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault: throw new Error(\\\"Unknown state\\\");\\n\\t\\t}\\n\\t}\\n\\t_stateData(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.LESS_THAN_SIGN:\\n\\t\\t\\t\\tthis.state = State.TAG_OPEN;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.AMPERSAND:\\n\\t\\t\\t\\tthis._startCharacterReference();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\tthis._emitCodePoint(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault: this._emitCodePoint(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateRcdata(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.AMPERSAND:\\n\\t\\t\\t\\tthis._startCharacterReference();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.LESS_THAN_SIGN:\\n\\t\\t\\t\\tthis.state = State.RCDATA_LESS_THAN_SIGN;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\tthis._emitChars(REPLACEMENT_CHARACTER);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault: this._emitCodePoint(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateRawtext(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.LESS_THAN_SIGN:\\n\\t\\t\\t\\tthis.state = State.RAWTEXT_LESS_THAN_SIGN;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\tthis._emitChars(REPLACEMENT_CHARACTER);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault: this._emitCodePoint(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateScriptData(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.LESS_THAN_SIGN:\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA_LESS_THAN_SIGN;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\tthis._emitChars(REPLACEMENT_CHARACTER);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault: this._emitCodePoint(cp);\\n\\t\\t}\\n\\t}\\n\\t_statePlaintext(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\tthis._emitChars(REPLACEMENT_CHARACTER);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault: this._emitCodePoint(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateTagOpen(cp) {\\n\\t\\tif (isAsciiLetter(cp)) {\\n\\t\\t\\tthis._createStartTagToken();\\n\\t\\t\\tthis.state = State.TAG_NAME;\\n\\t\\t\\tthis._stateTagName(cp);\\n\\t\\t} else switch (cp) {\\n\\t\\t\\tcase CODE_POINTS.EXCLAMATION_MARK:\\n\\t\\t\\t\\tthis.state = State.MARKUP_DECLARATION_OPEN;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.SOLIDUS:\\n\\t\\t\\t\\tthis.state = State.END_TAG_OPEN;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.QUESTION_MARK:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedQuestionMarkInsteadOfTagName);\\n\\t\\t\\t\\tthis._createCommentToken(1);\\n\\t\\t\\t\\tthis.state = State.BOGUS_COMMENT;\\n\\t\\t\\t\\tthis._stateBogusComment(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofBeforeTagName);\\n\\t\\t\\t\\tthis._emitChars(\\\"<\\\");\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis._err(ERR.invalidFirstCharacterOfTagName);\\n\\t\\t\\t\\tthis._emitChars(\\\"<\\\");\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tthis._stateData(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateEndTagOpen(cp) {\\n\\t\\tif (isAsciiLetter(cp)) {\\n\\t\\t\\tthis._createEndTagToken();\\n\\t\\t\\tthis.state = State.TAG_NAME;\\n\\t\\t\\tthis._stateTagName(cp);\\n\\t\\t} else switch (cp) {\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis._err(ERR.missingEndTagName);\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofBeforeTagName);\\n\\t\\t\\t\\tthis._emitChars(\\\"</\\\");\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis._err(ERR.invalidFirstCharacterOfTagName);\\n\\t\\t\\t\\tthis._createCommentToken(2);\\n\\t\\t\\t\\tthis.state = State.BOGUS_COMMENT;\\n\\t\\t\\t\\tthis._stateBogusComment(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateTagName(cp) {\\n\\t\\tconst token = this.currentToken;\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.SPACE:\\n\\t\\t\\tcase CODE_POINTS.LINE_FEED:\\n\\t\\t\\tcase CODE_POINTS.TABULATION:\\n\\t\\t\\tcase CODE_POINTS.FORM_FEED:\\n\\t\\t\\t\\tthis.state = State.BEFORE_ATTRIBUTE_NAME;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.SOLIDUS:\\n\\t\\t\\t\\tthis.state = State.SELF_CLOSING_START_TAG;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tthis.emitCurrentTagToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\ttoken.tagName += REPLACEMENT_CHARACTER;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInTag);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault: token.tagName += String.fromCodePoint(isAsciiUpper(cp) ? toAsciiLower(cp) : cp);\\n\\t\\t}\\n\\t}\\n\\t_stateRcdataLessThanSign(cp) {\\n\\t\\tif (cp === CODE_POINTS.SOLIDUS) this.state = State.RCDATA_END_TAG_OPEN;\\n\\t\\telse {\\n\\t\\t\\tthis._emitChars(\\\"<\\\");\\n\\t\\t\\tthis.state = State.RCDATA;\\n\\t\\t\\tthis._stateRcdata(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateRcdataEndTagOpen(cp) {\\n\\t\\tif (isAsciiLetter(cp)) {\\n\\t\\t\\tthis.state = State.RCDATA_END_TAG_NAME;\\n\\t\\t\\tthis._stateRcdataEndTagName(cp);\\n\\t\\t} else {\\n\\t\\t\\tthis._emitChars(\\\"</\\\");\\n\\t\\t\\tthis.state = State.RCDATA;\\n\\t\\t\\tthis._stateRcdata(cp);\\n\\t\\t}\\n\\t}\\n\\thandleSpecialEndTag(_cp) {\\n\\t\\tif (!this.preprocessor.startsWith(this.lastStartTagName, false)) return !this._ensureHibernation();\\n\\t\\tthis._createEndTagToken();\\n\\t\\tconst token = this.currentToken;\\n\\t\\ttoken.tagName = this.lastStartTagName;\\n\\t\\tswitch (this.preprocessor.peek(this.lastStartTagName.length)) {\\n\\t\\t\\tcase CODE_POINTS.SPACE:\\n\\t\\t\\tcase CODE_POINTS.LINE_FEED:\\n\\t\\t\\tcase CODE_POINTS.TABULATION:\\n\\t\\t\\tcase CODE_POINTS.FORM_FEED:\\n\\t\\t\\t\\tthis._advanceBy(this.lastStartTagName.length);\\n\\t\\t\\t\\tthis.state = State.BEFORE_ATTRIBUTE_NAME;\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\tcase CODE_POINTS.SOLIDUS:\\n\\t\\t\\t\\tthis._advanceBy(this.lastStartTagName.length);\\n\\t\\t\\t\\tthis.state = State.SELF_CLOSING_START_TAG;\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis._advanceBy(this.lastStartTagName.length);\\n\\t\\t\\t\\tthis.emitCurrentTagToken();\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\tdefault: return !this._ensureHibernation();\\n\\t\\t}\\n\\t}\\n\\t_stateRcdataEndTagName(cp) {\\n\\t\\tif (this.handleSpecialEndTag(cp)) {\\n\\t\\t\\tthis._emitChars(\\\"</\\\");\\n\\t\\t\\tthis.state = State.RCDATA;\\n\\t\\t\\tthis._stateRcdata(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateRawtextLessThanSign(cp) {\\n\\t\\tif (cp === CODE_POINTS.SOLIDUS) this.state = State.RAWTEXT_END_TAG_OPEN;\\n\\t\\telse {\\n\\t\\t\\tthis._emitChars(\\\"<\\\");\\n\\t\\t\\tthis.state = State.RAWTEXT;\\n\\t\\t\\tthis._stateRawtext(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateRawtextEndTagOpen(cp) {\\n\\t\\tif (isAsciiLetter(cp)) {\\n\\t\\t\\tthis.state = State.RAWTEXT_END_TAG_NAME;\\n\\t\\t\\tthis._stateRawtextEndTagName(cp);\\n\\t\\t} else {\\n\\t\\t\\tthis._emitChars(\\\"</\\\");\\n\\t\\t\\tthis.state = State.RAWTEXT;\\n\\t\\t\\tthis._stateRawtext(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateRawtextEndTagName(cp) {\\n\\t\\tif (this.handleSpecialEndTag(cp)) {\\n\\t\\t\\tthis._emitChars(\\\"</\\\");\\n\\t\\t\\tthis.state = State.RAWTEXT;\\n\\t\\t\\tthis._stateRawtext(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateScriptDataLessThanSign(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.SOLIDUS:\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA_END_TAG_OPEN;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EXCLAMATION_MARK:\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA_ESCAPE_START;\\n\\t\\t\\t\\tthis._emitChars(\\\"<!\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis._emitChars(\\\"<\\\");\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA;\\n\\t\\t\\t\\tthis._stateScriptData(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateScriptDataEndTagOpen(cp) {\\n\\t\\tif (isAsciiLetter(cp)) {\\n\\t\\t\\tthis.state = State.SCRIPT_DATA_END_TAG_NAME;\\n\\t\\t\\tthis._stateScriptDataEndTagName(cp);\\n\\t\\t} else {\\n\\t\\t\\tthis._emitChars(\\\"</\\\");\\n\\t\\t\\tthis.state = State.SCRIPT_DATA;\\n\\t\\t\\tthis._stateScriptData(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateScriptDataEndTagName(cp) {\\n\\t\\tif (this.handleSpecialEndTag(cp)) {\\n\\t\\t\\tthis._emitChars(\\\"</\\\");\\n\\t\\t\\tthis.state = State.SCRIPT_DATA;\\n\\t\\t\\tthis._stateScriptData(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateScriptDataEscapeStart(cp) {\\n\\t\\tif (cp === CODE_POINTS.HYPHEN_MINUS) {\\n\\t\\t\\tthis.state = State.SCRIPT_DATA_ESCAPE_START_DASH;\\n\\t\\t\\tthis._emitChars(\\\"-\\\");\\n\\t\\t} else {\\n\\t\\t\\tthis.state = State.SCRIPT_DATA;\\n\\t\\t\\tthis._stateScriptData(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateScriptDataEscapeStartDash(cp) {\\n\\t\\tif (cp === CODE_POINTS.HYPHEN_MINUS) {\\n\\t\\t\\tthis.state = State.SCRIPT_DATA_ESCAPED_DASH_DASH;\\n\\t\\t\\tthis._emitChars(\\\"-\\\");\\n\\t\\t} else {\\n\\t\\t\\tthis.state = State.SCRIPT_DATA;\\n\\t\\t\\tthis._stateScriptData(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateScriptDataEscaped(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.HYPHEN_MINUS:\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA_ESCAPED_DASH;\\n\\t\\t\\t\\tthis._emitChars(\\\"-\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.LESS_THAN_SIGN:\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\tthis._emitChars(REPLACEMENT_CHARACTER);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInScriptHtmlCommentLikeText);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault: this._emitCodePoint(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateScriptDataEscapedDash(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.HYPHEN_MINUS:\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA_ESCAPED_DASH_DASH;\\n\\t\\t\\t\\tthis._emitChars(\\\"-\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.LESS_THAN_SIGN:\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA_ESCAPED;\\n\\t\\t\\t\\tthis._emitChars(REPLACEMENT_CHARACTER);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInScriptHtmlCommentLikeText);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA_ESCAPED;\\n\\t\\t\\t\\tthis._emitCodePoint(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateScriptDataEscapedDashDash(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.HYPHEN_MINUS:\\n\\t\\t\\t\\tthis._emitChars(\\\"-\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.LESS_THAN_SIGN:\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA;\\n\\t\\t\\t\\tthis._emitChars(\\\">\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA_ESCAPED;\\n\\t\\t\\t\\tthis._emitChars(REPLACEMENT_CHARACTER);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInScriptHtmlCommentLikeText);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA_ESCAPED;\\n\\t\\t\\t\\tthis._emitCodePoint(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateScriptDataEscapedLessThanSign(cp) {\\n\\t\\tif (cp === CODE_POINTS.SOLIDUS) this.state = State.SCRIPT_DATA_ESCAPED_END_TAG_OPEN;\\n\\t\\telse if (isAsciiLetter(cp)) {\\n\\t\\t\\tthis._emitChars(\\\"<\\\");\\n\\t\\t\\tthis.state = State.SCRIPT_DATA_DOUBLE_ESCAPE_START;\\n\\t\\t\\tthis._stateScriptDataDoubleEscapeStart(cp);\\n\\t\\t} else {\\n\\t\\t\\tthis._emitChars(\\\"<\\\");\\n\\t\\t\\tthis.state = State.SCRIPT_DATA_ESCAPED;\\n\\t\\t\\tthis._stateScriptDataEscaped(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateScriptDataEscapedEndTagOpen(cp) {\\n\\t\\tif (isAsciiLetter(cp)) {\\n\\t\\t\\tthis.state = State.SCRIPT_DATA_ESCAPED_END_TAG_NAME;\\n\\t\\t\\tthis._stateScriptDataEscapedEndTagName(cp);\\n\\t\\t} else {\\n\\t\\t\\tthis._emitChars(\\\"</\\\");\\n\\t\\t\\tthis.state = State.SCRIPT_DATA_ESCAPED;\\n\\t\\t\\tthis._stateScriptDataEscaped(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateScriptDataEscapedEndTagName(cp) {\\n\\t\\tif (this.handleSpecialEndTag(cp)) {\\n\\t\\t\\tthis._emitChars(\\\"</\\\");\\n\\t\\t\\tthis.state = State.SCRIPT_DATA_ESCAPED;\\n\\t\\t\\tthis._stateScriptDataEscaped(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateScriptDataDoubleEscapeStart(cp) {\\n\\t\\tif (this.preprocessor.startsWith(SEQUENCES.SCRIPT, false) && isScriptDataDoubleEscapeSequenceEnd(this.preprocessor.peek(SEQUENCES.SCRIPT.length))) {\\n\\t\\t\\tthis._emitCodePoint(cp);\\n\\t\\t\\tfor (let i = 0; i < SEQUENCES.SCRIPT.length; i++) this._emitCodePoint(this._consume());\\n\\t\\t\\tthis.state = State.SCRIPT_DATA_DOUBLE_ESCAPED;\\n\\t\\t} else if (!this._ensureHibernation()) {\\n\\t\\t\\tthis.state = State.SCRIPT_DATA_ESCAPED;\\n\\t\\t\\tthis._stateScriptDataEscaped(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateScriptDataDoubleEscaped(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.HYPHEN_MINUS:\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA_DOUBLE_ESCAPED_DASH;\\n\\t\\t\\t\\tthis._emitChars(\\\"-\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.LESS_THAN_SIGN:\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN;\\n\\t\\t\\t\\tthis._emitChars(\\\"<\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\tthis._emitChars(REPLACEMENT_CHARACTER);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInScriptHtmlCommentLikeText);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault: this._emitCodePoint(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateScriptDataDoubleEscapedDash(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.HYPHEN_MINUS:\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH;\\n\\t\\t\\t\\tthis._emitChars(\\\"-\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.LESS_THAN_SIGN:\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN;\\n\\t\\t\\t\\tthis._emitChars(\\\"<\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA_DOUBLE_ESCAPED;\\n\\t\\t\\t\\tthis._emitChars(REPLACEMENT_CHARACTER);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInScriptHtmlCommentLikeText);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA_DOUBLE_ESCAPED;\\n\\t\\t\\t\\tthis._emitCodePoint(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateScriptDataDoubleEscapedDashDash(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.HYPHEN_MINUS:\\n\\t\\t\\t\\tthis._emitChars(\\\"-\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.LESS_THAN_SIGN:\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN;\\n\\t\\t\\t\\tthis._emitChars(\\\"<\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA;\\n\\t\\t\\t\\tthis._emitChars(\\\">\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA_DOUBLE_ESCAPED;\\n\\t\\t\\t\\tthis._emitChars(REPLACEMENT_CHARACTER);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInScriptHtmlCommentLikeText);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis.state = State.SCRIPT_DATA_DOUBLE_ESCAPED;\\n\\t\\t\\t\\tthis._emitCodePoint(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateScriptDataDoubleEscapedLessThanSign(cp) {\\n\\t\\tif (cp === CODE_POINTS.SOLIDUS) {\\n\\t\\t\\tthis.state = State.SCRIPT_DATA_DOUBLE_ESCAPE_END;\\n\\t\\t\\tthis._emitChars(\\\"/\\\");\\n\\t\\t} else {\\n\\t\\t\\tthis.state = State.SCRIPT_DATA_DOUBLE_ESCAPED;\\n\\t\\t\\tthis._stateScriptDataDoubleEscaped(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateScriptDataDoubleEscapeEnd(cp) {\\n\\t\\tif (this.preprocessor.startsWith(SEQUENCES.SCRIPT, false) && isScriptDataDoubleEscapeSequenceEnd(this.preprocessor.peek(SEQUENCES.SCRIPT.length))) {\\n\\t\\t\\tthis._emitCodePoint(cp);\\n\\t\\t\\tfor (let i = 0; i < SEQUENCES.SCRIPT.length; i++) this._emitCodePoint(this._consume());\\n\\t\\t\\tthis.state = State.SCRIPT_DATA_ESCAPED;\\n\\t\\t} else if (!this._ensureHibernation()) {\\n\\t\\t\\tthis.state = State.SCRIPT_DATA_DOUBLE_ESCAPED;\\n\\t\\t\\tthis._stateScriptDataDoubleEscaped(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateBeforeAttributeName(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.SPACE:\\n\\t\\t\\tcase CODE_POINTS.LINE_FEED:\\n\\t\\t\\tcase CODE_POINTS.TABULATION:\\n\\t\\t\\tcase CODE_POINTS.FORM_FEED: break;\\n\\t\\t\\tcase CODE_POINTS.SOLIDUS:\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis.state = State.AFTER_ATTRIBUTE_NAME;\\n\\t\\t\\t\\tthis._stateAfterAttributeName(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EQUALS_SIGN:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedEqualsSignBeforeAttributeName);\\n\\t\\t\\t\\tthis._createAttr(\\\"=\\\");\\n\\t\\t\\t\\tthis.state = State.ATTRIBUTE_NAME;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis._createAttr(\\\"\\\");\\n\\t\\t\\t\\tthis.state = State.ATTRIBUTE_NAME;\\n\\t\\t\\t\\tthis._stateAttributeName(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateAttributeName(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.SPACE:\\n\\t\\t\\tcase CODE_POINTS.LINE_FEED:\\n\\t\\t\\tcase CODE_POINTS.TABULATION:\\n\\t\\t\\tcase CODE_POINTS.FORM_FEED:\\n\\t\\t\\tcase CODE_POINTS.SOLIDUS:\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._leaveAttrName();\\n\\t\\t\\t\\tthis.state = State.AFTER_ATTRIBUTE_NAME;\\n\\t\\t\\t\\tthis._stateAfterAttributeName(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EQUALS_SIGN:\\n\\t\\t\\t\\tthis._leaveAttrName();\\n\\t\\t\\t\\tthis.state = State.BEFORE_ATTRIBUTE_VALUE;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.QUOTATION_MARK:\\n\\t\\t\\tcase CODE_POINTS.APOSTROPHE:\\n\\t\\t\\tcase CODE_POINTS.LESS_THAN_SIGN:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedCharacterInAttributeName);\\n\\t\\t\\t\\tthis.currentAttr.name += String.fromCodePoint(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\tthis.currentAttr.name += REPLACEMENT_CHARACTER;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault: this.currentAttr.name += String.fromCodePoint(isAsciiUpper(cp) ? toAsciiLower(cp) : cp);\\n\\t\\t}\\n\\t}\\n\\t_stateAfterAttributeName(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.SPACE:\\n\\t\\t\\tcase CODE_POINTS.LINE_FEED:\\n\\t\\t\\tcase CODE_POINTS.TABULATION:\\n\\t\\t\\tcase CODE_POINTS.FORM_FEED: break;\\n\\t\\t\\tcase CODE_POINTS.SOLIDUS:\\n\\t\\t\\t\\tthis.state = State.SELF_CLOSING_START_TAG;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EQUALS_SIGN:\\n\\t\\t\\t\\tthis.state = State.BEFORE_ATTRIBUTE_VALUE;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tthis.emitCurrentTagToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInTag);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis._createAttr(\\\"\\\");\\n\\t\\t\\t\\tthis.state = State.ATTRIBUTE_NAME;\\n\\t\\t\\t\\tthis._stateAttributeName(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateBeforeAttributeValue(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.SPACE:\\n\\t\\t\\tcase CODE_POINTS.LINE_FEED:\\n\\t\\t\\tcase CODE_POINTS.TABULATION:\\n\\t\\t\\tcase CODE_POINTS.FORM_FEED: break;\\n\\t\\t\\tcase CODE_POINTS.QUOTATION_MARK:\\n\\t\\t\\t\\tthis.state = State.ATTRIBUTE_VALUE_DOUBLE_QUOTED;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.APOSTROPHE:\\n\\t\\t\\t\\tthis.state = State.ATTRIBUTE_VALUE_SINGLE_QUOTED;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis._err(ERR.missingAttributeValue);\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tthis.emitCurrentTagToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis.state = State.ATTRIBUTE_VALUE_UNQUOTED;\\n\\t\\t\\t\\tthis._stateAttributeValueUnquoted(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateAttributeValueDoubleQuoted(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.QUOTATION_MARK:\\n\\t\\t\\t\\tthis.state = State.AFTER_ATTRIBUTE_VALUE_QUOTED;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.AMPERSAND:\\n\\t\\t\\t\\tthis._startCharacterReference();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\tthis.currentAttr.value += REPLACEMENT_CHARACTER;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInTag);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault: this.currentAttr.value += String.fromCodePoint(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateAttributeValueSingleQuoted(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.APOSTROPHE:\\n\\t\\t\\t\\tthis.state = State.AFTER_ATTRIBUTE_VALUE_QUOTED;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.AMPERSAND:\\n\\t\\t\\t\\tthis._startCharacterReference();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\tthis.currentAttr.value += REPLACEMENT_CHARACTER;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInTag);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault: this.currentAttr.value += String.fromCodePoint(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateAttributeValueUnquoted(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.SPACE:\\n\\t\\t\\tcase CODE_POINTS.LINE_FEED:\\n\\t\\t\\tcase CODE_POINTS.TABULATION:\\n\\t\\t\\tcase CODE_POINTS.FORM_FEED:\\n\\t\\t\\t\\tthis._leaveAttrValue();\\n\\t\\t\\t\\tthis.state = State.BEFORE_ATTRIBUTE_NAME;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.AMPERSAND:\\n\\t\\t\\t\\tthis._startCharacterReference();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis._leaveAttrValue();\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tthis.emitCurrentTagToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\tthis.currentAttr.value += REPLACEMENT_CHARACTER;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.QUOTATION_MARK:\\n\\t\\t\\tcase CODE_POINTS.APOSTROPHE:\\n\\t\\t\\tcase CODE_POINTS.LESS_THAN_SIGN:\\n\\t\\t\\tcase CODE_POINTS.EQUALS_SIGN:\\n\\t\\t\\tcase CODE_POINTS.GRAVE_ACCENT:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedCharacterInUnquotedAttributeValue);\\n\\t\\t\\t\\tthis.currentAttr.value += String.fromCodePoint(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInTag);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault: this.currentAttr.value += String.fromCodePoint(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateAfterAttributeValueQuoted(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.SPACE:\\n\\t\\t\\tcase CODE_POINTS.LINE_FEED:\\n\\t\\t\\tcase CODE_POINTS.TABULATION:\\n\\t\\t\\tcase CODE_POINTS.FORM_FEED:\\n\\t\\t\\t\\tthis._leaveAttrValue();\\n\\t\\t\\t\\tthis.state = State.BEFORE_ATTRIBUTE_NAME;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.SOLIDUS:\\n\\t\\t\\t\\tthis._leaveAttrValue();\\n\\t\\t\\t\\tthis.state = State.SELF_CLOSING_START_TAG;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis._leaveAttrValue();\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tthis.emitCurrentTagToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInTag);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis._err(ERR.missingWhitespaceBetweenAttributes);\\n\\t\\t\\t\\tthis.state = State.BEFORE_ATTRIBUTE_NAME;\\n\\t\\t\\t\\tthis._stateBeforeAttributeName(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateSelfClosingStartTag(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN: {\\n\\t\\t\\t\\tconst token = this.currentToken;\\n\\t\\t\\t\\ttoken.selfClosing = true;\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tthis.emitCurrentTagToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInTag);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedSolidusInTag);\\n\\t\\t\\t\\tthis.state = State.BEFORE_ATTRIBUTE_NAME;\\n\\t\\t\\t\\tthis._stateBeforeAttributeName(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateBogusComment(cp) {\\n\\t\\tconst token = this.currentToken;\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tthis.emitCurrentComment(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis.emitCurrentComment(token);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\ttoken.data += REPLACEMENT_CHARACTER;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault: token.data += String.fromCodePoint(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateMarkupDeclarationOpen(cp) {\\n\\t\\tif (this._consumeSequenceIfMatch(SEQUENCES.DASH_DASH, true)) {\\n\\t\\t\\tthis._createCommentToken(SEQUENCES.DASH_DASH.length + 1);\\n\\t\\t\\tthis.state = State.COMMENT_START;\\n\\t\\t} else if (this._consumeSequenceIfMatch(SEQUENCES.DOCTYPE, false)) {\\n\\t\\t\\tthis.currentLocation = this.getCurrentLocation(SEQUENCES.DOCTYPE.length + 1);\\n\\t\\t\\tthis.state = State.DOCTYPE;\\n\\t\\t} else if (this._consumeSequenceIfMatch(SEQUENCES.CDATA_START, true)) if (this.inForeignNode) this.state = State.CDATA_SECTION;\\n\\t\\telse {\\n\\t\\t\\tthis._err(ERR.cdataInHtmlContent);\\n\\t\\t\\tthis._createCommentToken(SEQUENCES.CDATA_START.length + 1);\\n\\t\\t\\tthis.currentToken.data = \\\"[CDATA[\\\";\\n\\t\\t\\tthis.state = State.BOGUS_COMMENT;\\n\\t\\t}\\n\\t\\telse if (!this._ensureHibernation()) {\\n\\t\\t\\tthis._err(ERR.incorrectlyOpenedComment);\\n\\t\\t\\tthis._createCommentToken(2);\\n\\t\\t\\tthis.state = State.BOGUS_COMMENT;\\n\\t\\t\\tthis._stateBogusComment(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateCommentStart(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.HYPHEN_MINUS:\\n\\t\\t\\t\\tthis.state = State.COMMENT_START_DASH;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN: {\\n\\t\\t\\t\\tthis._err(ERR.abruptClosingOfEmptyComment);\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tconst token = this.currentToken;\\n\\t\\t\\t\\tthis.emitCurrentComment(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis.state = State.COMMENT;\\n\\t\\t\\t\\tthis._stateComment(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateCommentStartDash(cp) {\\n\\t\\tconst token = this.currentToken;\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.HYPHEN_MINUS:\\n\\t\\t\\t\\tthis.state = State.COMMENT_END;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis._err(ERR.abruptClosingOfEmptyComment);\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tthis.emitCurrentComment(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInComment);\\n\\t\\t\\t\\tthis.emitCurrentComment(token);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\ttoken.data += \\\"-\\\";\\n\\t\\t\\t\\tthis.state = State.COMMENT;\\n\\t\\t\\t\\tthis._stateComment(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateComment(cp) {\\n\\t\\tconst token = this.currentToken;\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.HYPHEN_MINUS:\\n\\t\\t\\t\\tthis.state = State.COMMENT_END_DASH;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.LESS_THAN_SIGN:\\n\\t\\t\\t\\ttoken.data += \\\"<\\\";\\n\\t\\t\\t\\tthis.state = State.COMMENT_LESS_THAN_SIGN;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\ttoken.data += REPLACEMENT_CHARACTER;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInComment);\\n\\t\\t\\t\\tthis.emitCurrentComment(token);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault: token.data += String.fromCodePoint(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateCommentLessThanSign(cp) {\\n\\t\\tconst token = this.currentToken;\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.EXCLAMATION_MARK:\\n\\t\\t\\t\\ttoken.data += \\\"!\\\";\\n\\t\\t\\t\\tthis.state = State.COMMENT_LESS_THAN_SIGN_BANG;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.LESS_THAN_SIGN:\\n\\t\\t\\t\\ttoken.data += \\\"<\\\";\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis.state = State.COMMENT;\\n\\t\\t\\t\\tthis._stateComment(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateCommentLessThanSignBang(cp) {\\n\\t\\tif (cp === CODE_POINTS.HYPHEN_MINUS) this.state = State.COMMENT_LESS_THAN_SIGN_BANG_DASH;\\n\\t\\telse {\\n\\t\\t\\tthis.state = State.COMMENT;\\n\\t\\t\\tthis._stateComment(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateCommentLessThanSignBangDash(cp) {\\n\\t\\tif (cp === CODE_POINTS.HYPHEN_MINUS) this.state = State.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH;\\n\\t\\telse {\\n\\t\\t\\tthis.state = State.COMMENT_END_DASH;\\n\\t\\t\\tthis._stateCommentEndDash(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateCommentLessThanSignBangDashDash(cp) {\\n\\t\\tif (cp !== CODE_POINTS.GREATER_THAN_SIGN && cp !== CODE_POINTS.EOF) this._err(ERR.nestedComment);\\n\\t\\tthis.state = State.COMMENT_END;\\n\\t\\tthis._stateCommentEnd(cp);\\n\\t}\\n\\t_stateCommentEndDash(cp) {\\n\\t\\tconst token = this.currentToken;\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.HYPHEN_MINUS:\\n\\t\\t\\t\\tthis.state = State.COMMENT_END;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInComment);\\n\\t\\t\\t\\tthis.emitCurrentComment(token);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\ttoken.data += \\\"-\\\";\\n\\t\\t\\t\\tthis.state = State.COMMENT;\\n\\t\\t\\t\\tthis._stateComment(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateCommentEnd(cp) {\\n\\t\\tconst token = this.currentToken;\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tthis.emitCurrentComment(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EXCLAMATION_MARK:\\n\\t\\t\\t\\tthis.state = State.COMMENT_END_BANG;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.HYPHEN_MINUS:\\n\\t\\t\\t\\ttoken.data += \\\"-\\\";\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInComment);\\n\\t\\t\\t\\tthis.emitCurrentComment(token);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\ttoken.data += \\\"--\\\";\\n\\t\\t\\t\\tthis.state = State.COMMENT;\\n\\t\\t\\t\\tthis._stateComment(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateCommentEndBang(cp) {\\n\\t\\tconst token = this.currentToken;\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.HYPHEN_MINUS:\\n\\t\\t\\t\\ttoken.data += \\\"--!\\\";\\n\\t\\t\\t\\tthis.state = State.COMMENT_END_DASH;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis._err(ERR.incorrectlyClosedComment);\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tthis.emitCurrentComment(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInComment);\\n\\t\\t\\t\\tthis.emitCurrentComment(token);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\ttoken.data += \\\"--!\\\";\\n\\t\\t\\t\\tthis.state = State.COMMENT;\\n\\t\\t\\t\\tthis._stateComment(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateDoctype(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.SPACE:\\n\\t\\t\\tcase CODE_POINTS.LINE_FEED:\\n\\t\\t\\tcase CODE_POINTS.TABULATION:\\n\\t\\t\\tcase CODE_POINTS.FORM_FEED:\\n\\t\\t\\t\\tthis.state = State.BEFORE_DOCTYPE_NAME;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis.state = State.BEFORE_DOCTYPE_NAME;\\n\\t\\t\\t\\tthis._stateBeforeDoctypeName(cp);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF: {\\n\\t\\t\\t\\tthis._err(ERR.eofInDoctype);\\n\\t\\t\\t\\tthis._createDoctypeToken(null);\\n\\t\\t\\t\\tconst token = this.currentToken;\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis._err(ERR.missingWhitespaceBeforeDoctypeName);\\n\\t\\t\\t\\tthis.state = State.BEFORE_DOCTYPE_NAME;\\n\\t\\t\\t\\tthis._stateBeforeDoctypeName(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateBeforeDoctypeName(cp) {\\n\\t\\tif (isAsciiUpper(cp)) {\\n\\t\\t\\tthis._createDoctypeToken(String.fromCharCode(toAsciiLower(cp)));\\n\\t\\t\\tthis.state = State.DOCTYPE_NAME;\\n\\t\\t} else switch (cp) {\\n\\t\\t\\tcase CODE_POINTS.SPACE:\\n\\t\\t\\tcase CODE_POINTS.LINE_FEED:\\n\\t\\t\\tcase CODE_POINTS.TABULATION:\\n\\t\\t\\tcase CODE_POINTS.FORM_FEED: break;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\tthis._createDoctypeToken(REPLACEMENT_CHARACTER);\\n\\t\\t\\t\\tthis.state = State.DOCTYPE_NAME;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN: {\\n\\t\\t\\t\\tthis._err(ERR.missingDoctypeName);\\n\\t\\t\\t\\tthis._createDoctypeToken(null);\\n\\t\\t\\t\\tconst token = this.currentToken;\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t\\tcase CODE_POINTS.EOF: {\\n\\t\\t\\t\\tthis._err(ERR.eofInDoctype);\\n\\t\\t\\t\\tthis._createDoctypeToken(null);\\n\\t\\t\\t\\tconst token = this.currentToken;\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis._createDoctypeToken(String.fromCodePoint(cp));\\n\\t\\t\\t\\tthis.state = State.DOCTYPE_NAME;\\n\\t\\t}\\n\\t}\\n\\t_stateDoctypeName(cp) {\\n\\t\\tconst token = this.currentToken;\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.SPACE:\\n\\t\\t\\tcase CODE_POINTS.LINE_FEED:\\n\\t\\t\\tcase CODE_POINTS.TABULATION:\\n\\t\\t\\tcase CODE_POINTS.FORM_FEED:\\n\\t\\t\\t\\tthis.state = State.AFTER_DOCTYPE_NAME;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\ttoken.name += REPLACEMENT_CHARACTER;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInDoctype);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault: token.name += String.fromCodePoint(isAsciiUpper(cp) ? toAsciiLower(cp) : cp);\\n\\t\\t}\\n\\t}\\n\\t_stateAfterDoctypeName(cp) {\\n\\t\\tconst token = this.currentToken;\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.SPACE:\\n\\t\\t\\tcase CODE_POINTS.LINE_FEED:\\n\\t\\t\\tcase CODE_POINTS.TABULATION:\\n\\t\\t\\tcase CODE_POINTS.FORM_FEED: break;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInDoctype);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault: if (this._consumeSequenceIfMatch(SEQUENCES.PUBLIC, false)) this.state = State.AFTER_DOCTYPE_PUBLIC_KEYWORD;\\n\\t\\t\\telse if (this._consumeSequenceIfMatch(SEQUENCES.SYSTEM, false)) this.state = State.AFTER_DOCTYPE_SYSTEM_KEYWORD;\\n\\t\\t\\telse if (!this._ensureHibernation()) {\\n\\t\\t\\t\\tthis._err(ERR.invalidCharacterSequenceAfterDoctypeName);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.state = State.BOGUS_DOCTYPE;\\n\\t\\t\\t\\tthis._stateBogusDoctype(cp);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t_stateAfterDoctypePublicKeyword(cp) {\\n\\t\\tconst token = this.currentToken;\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.SPACE:\\n\\t\\t\\tcase CODE_POINTS.LINE_FEED:\\n\\t\\t\\tcase CODE_POINTS.TABULATION:\\n\\t\\t\\tcase CODE_POINTS.FORM_FEED:\\n\\t\\t\\t\\tthis.state = State.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.QUOTATION_MARK:\\n\\t\\t\\t\\tthis._err(ERR.missingWhitespaceAfterDoctypePublicKeyword);\\n\\t\\t\\t\\ttoken.publicId = \\\"\\\";\\n\\t\\t\\t\\tthis.state = State.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.APOSTROPHE:\\n\\t\\t\\t\\tthis._err(ERR.missingWhitespaceAfterDoctypePublicKeyword);\\n\\t\\t\\t\\ttoken.publicId = \\\"\\\";\\n\\t\\t\\t\\tthis.state = State.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis._err(ERR.missingDoctypePublicIdentifier);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInDoctype);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis._err(ERR.missingQuoteBeforeDoctypePublicIdentifier);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.state = State.BOGUS_DOCTYPE;\\n\\t\\t\\t\\tthis._stateBogusDoctype(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateBeforeDoctypePublicIdentifier(cp) {\\n\\t\\tconst token = this.currentToken;\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.SPACE:\\n\\t\\t\\tcase CODE_POINTS.LINE_FEED:\\n\\t\\t\\tcase CODE_POINTS.TABULATION:\\n\\t\\t\\tcase CODE_POINTS.FORM_FEED: break;\\n\\t\\t\\tcase CODE_POINTS.QUOTATION_MARK:\\n\\t\\t\\t\\ttoken.publicId = \\\"\\\";\\n\\t\\t\\t\\tthis.state = State.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.APOSTROPHE:\\n\\t\\t\\t\\ttoken.publicId = \\\"\\\";\\n\\t\\t\\t\\tthis.state = State.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis._err(ERR.missingDoctypePublicIdentifier);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInDoctype);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis._err(ERR.missingQuoteBeforeDoctypePublicIdentifier);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.state = State.BOGUS_DOCTYPE;\\n\\t\\t\\t\\tthis._stateBogusDoctype(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateDoctypePublicIdentifierDoubleQuoted(cp) {\\n\\t\\tconst token = this.currentToken;\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.QUOTATION_MARK:\\n\\t\\t\\t\\tthis.state = State.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\ttoken.publicId += REPLACEMENT_CHARACTER;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis._err(ERR.abruptDoctypePublicIdentifier);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInDoctype);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault: token.publicId += String.fromCodePoint(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateDoctypePublicIdentifierSingleQuoted(cp) {\\n\\t\\tconst token = this.currentToken;\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.APOSTROPHE:\\n\\t\\t\\t\\tthis.state = State.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\ttoken.publicId += REPLACEMENT_CHARACTER;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis._err(ERR.abruptDoctypePublicIdentifier);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInDoctype);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault: token.publicId += String.fromCodePoint(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateAfterDoctypePublicIdentifier(cp) {\\n\\t\\tconst token = this.currentToken;\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.SPACE:\\n\\t\\t\\tcase CODE_POINTS.LINE_FEED:\\n\\t\\t\\tcase CODE_POINTS.TABULATION:\\n\\t\\t\\tcase CODE_POINTS.FORM_FEED:\\n\\t\\t\\t\\tthis.state = State.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.QUOTATION_MARK:\\n\\t\\t\\t\\tthis._err(ERR.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers);\\n\\t\\t\\t\\ttoken.systemId = \\\"\\\";\\n\\t\\t\\t\\tthis.state = State.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.APOSTROPHE:\\n\\t\\t\\t\\tthis._err(ERR.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers);\\n\\t\\t\\t\\ttoken.systemId = \\\"\\\";\\n\\t\\t\\t\\tthis.state = State.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInDoctype);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.state = State.BOGUS_DOCTYPE;\\n\\t\\t\\t\\tthis._stateBogusDoctype(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateBetweenDoctypePublicAndSystemIdentifiers(cp) {\\n\\t\\tconst token = this.currentToken;\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.SPACE:\\n\\t\\t\\tcase CODE_POINTS.LINE_FEED:\\n\\t\\t\\tcase CODE_POINTS.TABULATION:\\n\\t\\t\\tcase CODE_POINTS.FORM_FEED: break;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.QUOTATION_MARK:\\n\\t\\t\\t\\ttoken.systemId = \\\"\\\";\\n\\t\\t\\t\\tthis.state = State.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.APOSTROPHE:\\n\\t\\t\\t\\ttoken.systemId = \\\"\\\";\\n\\t\\t\\t\\tthis.state = State.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInDoctype);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.state = State.BOGUS_DOCTYPE;\\n\\t\\t\\t\\tthis._stateBogusDoctype(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateAfterDoctypeSystemKeyword(cp) {\\n\\t\\tconst token = this.currentToken;\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.SPACE:\\n\\t\\t\\tcase CODE_POINTS.LINE_FEED:\\n\\t\\t\\tcase CODE_POINTS.TABULATION:\\n\\t\\t\\tcase CODE_POINTS.FORM_FEED:\\n\\t\\t\\t\\tthis.state = State.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.QUOTATION_MARK:\\n\\t\\t\\t\\tthis._err(ERR.missingWhitespaceAfterDoctypeSystemKeyword);\\n\\t\\t\\t\\ttoken.systemId = \\\"\\\";\\n\\t\\t\\t\\tthis.state = State.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.APOSTROPHE:\\n\\t\\t\\t\\tthis._err(ERR.missingWhitespaceAfterDoctypeSystemKeyword);\\n\\t\\t\\t\\ttoken.systemId = \\\"\\\";\\n\\t\\t\\t\\tthis.state = State.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis._err(ERR.missingDoctypeSystemIdentifier);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInDoctype);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.state = State.BOGUS_DOCTYPE;\\n\\t\\t\\t\\tthis._stateBogusDoctype(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateBeforeDoctypeSystemIdentifier(cp) {\\n\\t\\tconst token = this.currentToken;\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.SPACE:\\n\\t\\t\\tcase CODE_POINTS.LINE_FEED:\\n\\t\\t\\tcase CODE_POINTS.TABULATION:\\n\\t\\t\\tcase CODE_POINTS.FORM_FEED: break;\\n\\t\\t\\tcase CODE_POINTS.QUOTATION_MARK:\\n\\t\\t\\t\\ttoken.systemId = \\\"\\\";\\n\\t\\t\\t\\tthis.state = State.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.APOSTROPHE:\\n\\t\\t\\t\\ttoken.systemId = \\\"\\\";\\n\\t\\t\\t\\tthis.state = State.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis._err(ERR.missingDoctypeSystemIdentifier);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInDoctype);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.state = State.BOGUS_DOCTYPE;\\n\\t\\t\\t\\tthis._stateBogusDoctype(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateDoctypeSystemIdentifierDoubleQuoted(cp) {\\n\\t\\tconst token = this.currentToken;\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.QUOTATION_MARK:\\n\\t\\t\\t\\tthis.state = State.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\ttoken.systemId += REPLACEMENT_CHARACTER;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis._err(ERR.abruptDoctypeSystemIdentifier);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInDoctype);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault: token.systemId += String.fromCodePoint(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateDoctypeSystemIdentifierSingleQuoted(cp) {\\n\\t\\tconst token = this.currentToken;\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.APOSTROPHE:\\n\\t\\t\\t\\tthis.state = State.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\ttoken.systemId += REPLACEMENT_CHARACTER;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis._err(ERR.abruptDoctypeSystemIdentifier);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInDoctype);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault: token.systemId += String.fromCodePoint(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateAfterDoctypeSystemIdentifier(cp) {\\n\\t\\tconst token = this.currentToken;\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.SPACE:\\n\\t\\t\\tcase CODE_POINTS.LINE_FEED:\\n\\t\\t\\tcase CODE_POINTS.TABULATION:\\n\\t\\t\\tcase CODE_POINTS.FORM_FEED: break;\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInDoctype);\\n\\t\\t\\t\\ttoken.forceQuirks = true;\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedCharacterAfterDoctypeSystemIdentifier);\\n\\t\\t\\t\\tthis.state = State.BOGUS_DOCTYPE;\\n\\t\\t\\t\\tthis._stateBogusDoctype(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateBogusDoctype(cp) {\\n\\t\\tconst token = this.currentToken;\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.NULL:\\n\\t\\t\\t\\tthis._err(ERR.unexpectedNullCharacter);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis.emitCurrentDoctype(token);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t}\\n\\t}\\n\\t_stateCdataSection(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.RIGHT_SQUARE_BRACKET:\\n\\t\\t\\t\\tthis.state = State.CDATA_SECTION_BRACKET;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.EOF:\\n\\t\\t\\t\\tthis._err(ERR.eofInCdata);\\n\\t\\t\\t\\tthis._emitEOFToken();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault: this._emitCodePoint(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateCdataSectionBracket(cp) {\\n\\t\\tif (cp === CODE_POINTS.RIGHT_SQUARE_BRACKET) this.state = State.CDATA_SECTION_END;\\n\\t\\telse {\\n\\t\\t\\tthis._emitChars(\\\"]\\\");\\n\\t\\t\\tthis.state = State.CDATA_SECTION;\\n\\t\\t\\tthis._stateCdataSection(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateCdataSectionEnd(cp) {\\n\\t\\tswitch (cp) {\\n\\t\\t\\tcase CODE_POINTS.GREATER_THAN_SIGN:\\n\\t\\t\\t\\tthis.state = State.DATA;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CODE_POINTS.RIGHT_SQUARE_BRACKET:\\n\\t\\t\\t\\tthis._emitChars(\\\"]\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tthis._emitChars(\\\"]]\\\");\\n\\t\\t\\t\\tthis.state = State.CDATA_SECTION;\\n\\t\\t\\t\\tthis._stateCdataSection(cp);\\n\\t\\t}\\n\\t}\\n\\t_stateCharacterReference() {\\n\\t\\tlet length = this.entityDecoder.write(this.preprocessor.html, this.preprocessor.pos);\\n\\t\\tif (length < 0) if (this.preprocessor.lastChunkWritten) length = this.entityDecoder.end();\\n\\t\\telse {\\n\\t\\t\\tthis.active = false;\\n\\t\\t\\tthis.preprocessor.pos = this.preprocessor.html.length - 1;\\n\\t\\t\\tthis.consumedAfterSnapshot = 0;\\n\\t\\t\\tthis.preprocessor.endOfChunkHit = true;\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\tif (length === 0) {\\n\\t\\t\\tthis.preprocessor.pos = this.entityStartPos;\\n\\t\\t\\tthis._flushCodePointConsumedAsCharacterReference(CODE_POINTS.AMPERSAND);\\n\\t\\t\\tthis.state = !this._isCharacterReferenceInAttribute() && isAsciiAlphaNumeric(this.preprocessor.peek(1)) ? State.AMBIGUOUS_AMPERSAND : this.returnState;\\n\\t\\t} else this.state = this.returnState;\\n\\t}\\n\\t_stateAmbiguousAmpersand(cp) {\\n\\t\\tif (isAsciiAlphaNumeric(cp)) this._flushCodePointConsumedAsCharacterReference(cp);\\n\\t\\telse {\\n\\t\\t\\tif (cp === CODE_POINTS.SEMICOLON) this._err(ERR.unknownNamedCharacterReference);\\n\\t\\t\\tthis.state = this.returnState;\\n\\t\\t\\tthis._callState(cp);\\n\\t\\t}\\n\\t}\\n};\\n\\n//#endregion\\n//#region ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/parser/open-element-stack.js\\nconst IMPLICIT_END_TAG_REQUIRED = new Set([\\n\\tTAG_ID.DD,\\n\\tTAG_ID.DT,\\n\\tTAG_ID.LI,\\n\\tTAG_ID.OPTGROUP,\\n\\tTAG_ID.OPTION,\\n\\tTAG_ID.P,\\n\\tTAG_ID.RB,\\n\\tTAG_ID.RP,\\n\\tTAG_ID.RT,\\n\\tTAG_ID.RTC\\n]);\\nconst IMPLICIT_END_TAG_REQUIRED_THOROUGHLY = new Set([\\n\\t...IMPLICIT_END_TAG_REQUIRED,\\n\\tTAG_ID.CAPTION,\\n\\tTAG_ID.COLGROUP,\\n\\tTAG_ID.TBODY,\\n\\tTAG_ID.TD,\\n\\tTAG_ID.TFOOT,\\n\\tTAG_ID.TH,\\n\\tTAG_ID.THEAD,\\n\\tTAG_ID.TR\\n]);\\nconst SCOPING_ELEMENTS_HTML = new Set([\\n\\tTAG_ID.APPLET,\\n\\tTAG_ID.CAPTION,\\n\\tTAG_ID.HTML,\\n\\tTAG_ID.MARQUEE,\\n\\tTAG_ID.OBJECT,\\n\\tTAG_ID.TABLE,\\n\\tTAG_ID.TD,\\n\\tTAG_ID.TEMPLATE,\\n\\tTAG_ID.TH\\n]);\\nconst SCOPING_ELEMENTS_HTML_LIST = new Set([\\n\\t...SCOPING_ELEMENTS_HTML,\\n\\tTAG_ID.OL,\\n\\tTAG_ID.UL\\n]);\\nconst SCOPING_ELEMENTS_HTML_BUTTON = new Set([...SCOPING_ELEMENTS_HTML, TAG_ID.BUTTON]);\\nconst SCOPING_ELEMENTS_MATHML = new Set([\\n\\tTAG_ID.ANNOTATION_XML,\\n\\tTAG_ID.MI,\\n\\tTAG_ID.MN,\\n\\tTAG_ID.MO,\\n\\tTAG_ID.MS,\\n\\tTAG_ID.MTEXT\\n]);\\nconst SCOPING_ELEMENTS_SVG = new Set([\\n\\tTAG_ID.DESC,\\n\\tTAG_ID.FOREIGN_OBJECT,\\n\\tTAG_ID.TITLE\\n]);\\nconst TABLE_ROW_CONTEXT = new Set([\\n\\tTAG_ID.TR,\\n\\tTAG_ID.TEMPLATE,\\n\\tTAG_ID.HTML\\n]);\\nconst TABLE_BODY_CONTEXT = new Set([\\n\\tTAG_ID.TBODY,\\n\\tTAG_ID.TFOOT,\\n\\tTAG_ID.THEAD,\\n\\tTAG_ID.TEMPLATE,\\n\\tTAG_ID.HTML\\n]);\\nconst TABLE_CONTEXT = new Set([\\n\\tTAG_ID.TABLE,\\n\\tTAG_ID.TEMPLATE,\\n\\tTAG_ID.HTML\\n]);\\nconst TABLE_CELLS = new Set([TAG_ID.TD, TAG_ID.TH]);\\nvar OpenElementStack = class {\\n\\tget currentTmplContentOrNode() {\\n\\t\\treturn this._isInTemplate() ? this.treeAdapter.getTemplateContent(this.current) : this.current;\\n\\t}\\n\\tconstructor(document, treeAdapter, handler) {\\n\\t\\tthis.treeAdapter = treeAdapter;\\n\\t\\tthis.handler = handler;\\n\\t\\tthis.items = [];\\n\\t\\tthis.tagIDs = [];\\n\\t\\tthis.stackTop = -1;\\n\\t\\tthis.tmplCount = 0;\\n\\t\\tthis.currentTagId = TAG_ID.UNKNOWN;\\n\\t\\tthis.current = document;\\n\\t}\\n\\t_indexOf(element) {\\n\\t\\treturn this.items.lastIndexOf(element, this.stackTop);\\n\\t}\\n\\t_isInTemplate() {\\n\\t\\treturn this.currentTagId === TAG_ID.TEMPLATE && this.treeAdapter.getNamespaceURI(this.current) === NS.HTML;\\n\\t}\\n\\t_updateCurrentElement() {\\n\\t\\tthis.current = this.items[this.stackTop];\\n\\t\\tthis.currentTagId = this.tagIDs[this.stackTop];\\n\\t}\\n\\tpush(element, tagID) {\\n\\t\\tthis.stackTop++;\\n\\t\\tthis.items[this.stackTop] = element;\\n\\t\\tthis.current = element;\\n\\t\\tthis.tagIDs[this.stackTop] = tagID;\\n\\t\\tthis.currentTagId = tagID;\\n\\t\\tif (this._isInTemplate()) this.tmplCount++;\\n\\t\\tthis.handler.onItemPush(element, tagID, true);\\n\\t}\\n\\tpop() {\\n\\t\\tconst popped = this.current;\\n\\t\\tif (this.tmplCount > 0 && this._isInTemplate()) this.tmplCount--;\\n\\t\\tthis.stackTop--;\\n\\t\\tthis._updateCurrentElement();\\n\\t\\tthis.handler.onItemPop(popped, true);\\n\\t}\\n\\treplace(oldElement, newElement) {\\n\\t\\tconst idx = this._indexOf(oldElement);\\n\\t\\tthis.items[idx] = newElement;\\n\\t\\tif (idx === this.stackTop) this.current = newElement;\\n\\t}\\n\\tinsertAfter(referenceElement, newElement, newElementID) {\\n\\t\\tconst insertionIdx = this._indexOf(referenceElement) + 1;\\n\\t\\tthis.items.splice(insertionIdx, 0, newElement);\\n\\t\\tthis.tagIDs.splice(insertionIdx, 0, newElementID);\\n\\t\\tthis.stackTop++;\\n\\t\\tif (insertionIdx === this.stackTop) this._updateCurrentElement();\\n\\t\\tif (this.current && this.currentTagId !== void 0) this.handler.onItemPush(this.current, this.currentTagId, insertionIdx === this.stackTop);\\n\\t}\\n\\tpopUntilTagNamePopped(tagName) {\\n\\t\\tlet targetIdx = this.stackTop + 1;\\n\\t\\tdo\\n\\t\\t\\ttargetIdx = this.tagIDs.lastIndexOf(tagName, targetIdx - 1);\\n\\t\\twhile (targetIdx > 0 && this.treeAdapter.getNamespaceURI(this.items[targetIdx]) !== NS.HTML);\\n\\t\\tthis.shortenToLength(Math.max(targetIdx, 0));\\n\\t}\\n\\tshortenToLength(idx) {\\n\\t\\twhile (this.stackTop >= idx) {\\n\\t\\t\\tconst popped = this.current;\\n\\t\\t\\tif (this.tmplCount > 0 && this._isInTemplate()) this.tmplCount -= 1;\\n\\t\\t\\tthis.stackTop--;\\n\\t\\t\\tthis._updateCurrentElement();\\n\\t\\t\\tthis.handler.onItemPop(popped, this.stackTop < idx);\\n\\t\\t}\\n\\t}\\n\\tpopUntilElementPopped(element) {\\n\\t\\tconst idx = this._indexOf(element);\\n\\t\\tthis.shortenToLength(Math.max(idx, 0));\\n\\t}\\n\\tpopUntilPopped(tagNames, targetNS) {\\n\\t\\tconst idx = this._indexOfTagNames(tagNames, targetNS);\\n\\t\\tthis.shortenToLength(Math.max(idx, 0));\\n\\t}\\n\\tpopUntilNumberedHeaderPopped() {\\n\\t\\tthis.popUntilPopped(NUMBERED_HEADERS, NS.HTML);\\n\\t}\\n\\tpopUntilTableCellPopped() {\\n\\t\\tthis.popUntilPopped(TABLE_CELLS, NS.HTML);\\n\\t}\\n\\tpopAllUpToHtmlElement() {\\n\\t\\tthis.tmplCount = 0;\\n\\t\\tthis.shortenToLength(1);\\n\\t}\\n\\t_indexOfTagNames(tagNames, namespace) {\\n\\t\\tfor (let i = this.stackTop; i >= 0; i--) if (tagNames.has(this.tagIDs[i]) && this.treeAdapter.getNamespaceURI(this.items[i]) === namespace) return i;\\n\\t\\treturn -1;\\n\\t}\\n\\tclearBackTo(tagNames, targetNS) {\\n\\t\\tconst idx = this._indexOfTagNames(tagNames, targetNS);\\n\\t\\tthis.shortenToLength(idx + 1);\\n\\t}\\n\\tclearBackToTableContext() {\\n\\t\\tthis.clearBackTo(TABLE_CONTEXT, NS.HTML);\\n\\t}\\n\\tclearBackToTableBodyContext() {\\n\\t\\tthis.clearBackTo(TABLE_BODY_CONTEXT, NS.HTML);\\n\\t}\\n\\tclearBackToTableRowContext() {\\n\\t\\tthis.clearBackTo(TABLE_ROW_CONTEXT, NS.HTML);\\n\\t}\\n\\tremove(element) {\\n\\t\\tconst idx = this._indexOf(element);\\n\\t\\tif (idx >= 0) if (idx === this.stackTop) this.pop();\\n\\t\\telse {\\n\\t\\t\\tthis.items.splice(idx, 1);\\n\\t\\t\\tthis.tagIDs.splice(idx, 1);\\n\\t\\t\\tthis.stackTop--;\\n\\t\\t\\tthis._updateCurrentElement();\\n\\t\\t\\tthis.handler.onItemPop(element, false);\\n\\t\\t}\\n\\t}\\n\\ttryPeekProperlyNestedBodyElement() {\\n\\t\\treturn this.stackTop >= 1 && this.tagIDs[1] === TAG_ID.BODY ? this.items[1] : null;\\n\\t}\\n\\tcontains(element) {\\n\\t\\treturn this._indexOf(element) > -1;\\n\\t}\\n\\tgetCommonAncestor(element) {\\n\\t\\tconst elementIdx = this._indexOf(element) - 1;\\n\\t\\treturn elementIdx >= 0 ? this.items[elementIdx] : null;\\n\\t}\\n\\tisRootHtmlElementCurrent() {\\n\\t\\treturn this.stackTop === 0 && this.tagIDs[0] === TAG_ID.HTML;\\n\\t}\\n\\thasInDynamicScope(tagName, htmlScope) {\\n\\t\\tfor (let i = this.stackTop; i >= 0; i--) {\\n\\t\\t\\tconst tn = this.tagIDs[i];\\n\\t\\t\\tswitch (this.treeAdapter.getNamespaceURI(this.items[i])) {\\n\\t\\t\\t\\tcase NS.HTML:\\n\\t\\t\\t\\t\\tif (tn === tagName) return true;\\n\\t\\t\\t\\t\\tif (htmlScope.has(tn)) return false;\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase NS.SVG:\\n\\t\\t\\t\\t\\tif (SCOPING_ELEMENTS_SVG.has(tn)) return false;\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase NS.MATHML:\\n\\t\\t\\t\\t\\tif (SCOPING_ELEMENTS_MATHML.has(tn)) return false;\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn true;\\n\\t}\\n\\thasInScope(tagName) {\\n\\t\\treturn this.hasInDynamicScope(tagName, SCOPING_ELEMENTS_HTML);\\n\\t}\\n\\thasInListItemScope(tagName) {\\n\\t\\treturn this.hasInDynamicScope(tagName, SCOPING_ELEMENTS_HTML_LIST);\\n\\t}\\n\\thasInButtonScope(tagName) {\\n\\t\\treturn this.hasInDynamicScope(tagName, SCOPING_ELEMENTS_HTML_BUTTON);\\n\\t}\\n\\thasNumberedHeaderInScope() {\\n\\t\\tfor (let i = this.stackTop; i >= 0; i--) {\\n\\t\\t\\tconst tn = this.tagIDs[i];\\n\\t\\t\\tswitch (this.treeAdapter.getNamespaceURI(this.items[i])) {\\n\\t\\t\\t\\tcase NS.HTML:\\n\\t\\t\\t\\t\\tif (NUMBERED_HEADERS.has(tn)) return true;\\n\\t\\t\\t\\t\\tif (SCOPING_ELEMENTS_HTML.has(tn)) return false;\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase NS.SVG:\\n\\t\\t\\t\\t\\tif (SCOPING_ELEMENTS_SVG.has(tn)) return false;\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase NS.MATHML:\\n\\t\\t\\t\\t\\tif (SCOPING_ELEMENTS_MATHML.has(tn)) return false;\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn true;\\n\\t}\\n\\thasInTableScope(tagName) {\\n\\t\\tfor (let i = this.stackTop; i >= 0; i--) {\\n\\t\\t\\tif (this.treeAdapter.getNamespaceURI(this.items[i]) !== NS.HTML) continue;\\n\\t\\t\\tswitch (this.tagIDs[i]) {\\n\\t\\t\\t\\tcase tagName: return true;\\n\\t\\t\\t\\tcase TAG_ID.TABLE:\\n\\t\\t\\t\\tcase TAG_ID.HTML: return false;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn true;\\n\\t}\\n\\thasTableBodyContextInTableScope() {\\n\\t\\tfor (let i = this.stackTop; i >= 0; i--) {\\n\\t\\t\\tif (this.treeAdapter.getNamespaceURI(this.items[i]) !== NS.HTML) continue;\\n\\t\\t\\tswitch (this.tagIDs[i]) {\\n\\t\\t\\t\\tcase TAG_ID.TBODY:\\n\\t\\t\\t\\tcase TAG_ID.THEAD:\\n\\t\\t\\t\\tcase TAG_ID.TFOOT: return true;\\n\\t\\t\\t\\tcase TAG_ID.TABLE:\\n\\t\\t\\t\\tcase TAG_ID.HTML: return false;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn true;\\n\\t}\\n\\thasInSelectScope(tagName) {\\n\\t\\tfor (let i = this.stackTop; i >= 0; i--) {\\n\\t\\t\\tif (this.treeAdapter.getNamespaceURI(this.items[i]) !== NS.HTML) continue;\\n\\t\\t\\tswitch (this.tagIDs[i]) {\\n\\t\\t\\t\\tcase tagName: return true;\\n\\t\\t\\t\\tcase TAG_ID.OPTION:\\n\\t\\t\\t\\tcase TAG_ID.OPTGROUP: break;\\n\\t\\t\\t\\tdefault: return false;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn true;\\n\\t}\\n\\tgenerateImpliedEndTags() {\\n\\t\\twhile (this.currentTagId !== void 0 && IMPLICIT_END_TAG_REQUIRED.has(this.currentTagId)) this.pop();\\n\\t}\\n\\tgenerateImpliedEndTagsThoroughly() {\\n\\t\\twhile (this.currentTagId !== void 0 && IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId)) this.pop();\\n\\t}\\n\\tgenerateImpliedEndTagsWithExclusion(exclusionId) {\\n\\t\\twhile (this.currentTagId !== void 0 && this.currentTagId !== exclusionId && IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId)) this.pop();\\n\\t}\\n};\\n\\n//#endregion\\n//#region ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/parser/formatting-element-list.js\\nconst NOAH_ARK_CAPACITY = 3;\\nvar EntryType;\\n(function(EntryType$1) {\\n\\tEntryType$1[EntryType$1[\\\"Marker\\\"] = 0] = \\\"Marker\\\";\\n\\tEntryType$1[EntryType$1[\\\"Element\\\"] = 1] = \\\"Element\\\";\\n})(EntryType || (EntryType = {}));\\nconst MARKER = { type: EntryType.Marker };\\nvar FormattingElementList = class {\\n\\tconstructor(treeAdapter) {\\n\\t\\tthis.treeAdapter = treeAdapter;\\n\\t\\tthis.entries = [];\\n\\t\\tthis.bookmark = null;\\n\\t}\\n\\t_getNoahArkConditionCandidates(newElement, neAttrs) {\\n\\t\\tconst candidates = [];\\n\\t\\tconst neAttrsLength = neAttrs.length;\\n\\t\\tconst neTagName = this.treeAdapter.getTagName(newElement);\\n\\t\\tconst neNamespaceURI = this.treeAdapter.getNamespaceURI(newElement);\\n\\t\\tfor (let i = 0; i < this.entries.length; i++) {\\n\\t\\t\\tconst entry = this.entries[i];\\n\\t\\t\\tif (entry.type === EntryType.Marker) break;\\n\\t\\t\\tconst { element } = entry;\\n\\t\\t\\tif (this.treeAdapter.getTagName(element) === neTagName && this.treeAdapter.getNamespaceURI(element) === neNamespaceURI) {\\n\\t\\t\\t\\tconst elementAttrs = this.treeAdapter.getAttrList(element);\\n\\t\\t\\t\\tif (elementAttrs.length === neAttrsLength) candidates.push({\\n\\t\\t\\t\\t\\tidx: i,\\n\\t\\t\\t\\t\\tattrs: elementAttrs\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn candidates;\\n\\t}\\n\\t_ensureNoahArkCondition(newElement) {\\n\\t\\tif (this.entries.length < NOAH_ARK_CAPACITY) return;\\n\\t\\tconst neAttrs = this.treeAdapter.getAttrList(newElement);\\n\\t\\tconst candidates = this._getNoahArkConditionCandidates(newElement, neAttrs);\\n\\t\\tif (candidates.length < NOAH_ARK_CAPACITY) return;\\n\\t\\tconst neAttrsMap = new Map(neAttrs.map((neAttr) => [neAttr.name, neAttr.value]));\\n\\t\\tlet validCandidates = 0;\\n\\t\\tfor (let i = 0; i < candidates.length; i++) {\\n\\t\\t\\tconst candidate = candidates[i];\\n\\t\\t\\tif (candidate.attrs.every((cAttr) => neAttrsMap.get(cAttr.name) === cAttr.value)) {\\n\\t\\t\\t\\tvalidCandidates += 1;\\n\\t\\t\\t\\tif (validCandidates >= NOAH_ARK_CAPACITY) this.entries.splice(candidate.idx, 1);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\tinsertMarker() {\\n\\t\\tthis.entries.unshift(MARKER);\\n\\t}\\n\\tpushElement(element, token) {\\n\\t\\tthis._ensureNoahArkCondition(element);\\n\\t\\tthis.entries.unshift({\\n\\t\\t\\ttype: EntryType.Element,\\n\\t\\t\\telement,\\n\\t\\t\\ttoken\\n\\t\\t});\\n\\t}\\n\\tinsertElementAfterBookmark(element, token) {\\n\\t\\tconst bookmarkIdx = this.entries.indexOf(this.bookmark);\\n\\t\\tthis.entries.splice(bookmarkIdx, 0, {\\n\\t\\t\\ttype: EntryType.Element,\\n\\t\\t\\telement,\\n\\t\\t\\ttoken\\n\\t\\t});\\n\\t}\\n\\tremoveEntry(entry) {\\n\\t\\tconst entryIndex = this.entries.indexOf(entry);\\n\\t\\tif (entryIndex !== -1) this.entries.splice(entryIndex, 1);\\n\\t}\\n\\t/**\\n\\t* Clears the list of formatting elements up to the last marker.\\n\\t*\\n\\t* @see https://html.spec.whatwg.org/multipage/parsing.html#clear-the-list-of-active-formatting-elements-up-to-the-last-marker\\n\\t*/\\n\\tclearToLastMarker() {\\n\\t\\tconst markerIdx = this.entries.indexOf(MARKER);\\n\\t\\tif (markerIdx === -1) this.entries.length = 0;\\n\\t\\telse this.entries.splice(0, markerIdx + 1);\\n\\t}\\n\\tgetElementEntryInScopeWithTagName(tagName) {\\n\\t\\tconst entry = this.entries.find((entry$1) => entry$1.type === EntryType.Marker || this.treeAdapter.getTagName(entry$1.element) === tagName);\\n\\t\\treturn entry && entry.type === EntryType.Element ? entry : null;\\n\\t}\\n\\tgetElementEntry(element) {\\n\\t\\treturn this.entries.find((entry) => entry.type === EntryType.Element && entry.element === element);\\n\\t}\\n};\\n\\n//#endregion\\n//#region ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/tree-adapters/default.js\\nconst defaultTreeAdapter = {\\n\\tcreateDocument() {\\n\\t\\treturn {\\n\\t\\t\\tnodeName: \\\"#document\\\",\\n\\t\\t\\tmode: DOCUMENT_MODE.NO_QUIRKS,\\n\\t\\t\\tchildNodes: []\\n\\t\\t};\\n\\t},\\n\\tcreateDocumentFragment() {\\n\\t\\treturn {\\n\\t\\t\\tnodeName: \\\"#document-fragment\\\",\\n\\t\\t\\tchildNodes: []\\n\\t\\t};\\n\\t},\\n\\tcreateElement(tagName, namespaceURI, attrs) {\\n\\t\\treturn {\\n\\t\\t\\tnodeName: tagName,\\n\\t\\t\\ttagName,\\n\\t\\t\\tattrs,\\n\\t\\t\\tnamespaceURI,\\n\\t\\t\\tchildNodes: [],\\n\\t\\t\\tparentNode: null\\n\\t\\t};\\n\\t},\\n\\tcreateCommentNode(data) {\\n\\t\\treturn {\\n\\t\\t\\tnodeName: \\\"#comment\\\",\\n\\t\\t\\tdata,\\n\\t\\t\\tparentNode: null\\n\\t\\t};\\n\\t},\\n\\tcreateTextNode(value) {\\n\\t\\treturn {\\n\\t\\t\\tnodeName: \\\"#text\\\",\\n\\t\\t\\tvalue,\\n\\t\\t\\tparentNode: null\\n\\t\\t};\\n\\t},\\n\\tappendChild(parentNode, newNode) {\\n\\t\\tparentNode.childNodes.push(newNode);\\n\\t\\tnewNode.parentNode = parentNode;\\n\\t},\\n\\tinsertBefore(parentNode, newNode, referenceNode) {\\n\\t\\tconst insertionIdx = parentNode.childNodes.indexOf(referenceNode);\\n\\t\\tparentNode.childNodes.splice(insertionIdx, 0, newNode);\\n\\t\\tnewNode.parentNode = parentNode;\\n\\t},\\n\\tsetTemplateContent(templateElement, contentElement) {\\n\\t\\ttemplateElement.content = contentElement;\\n\\t},\\n\\tgetTemplateContent(templateElement) {\\n\\t\\treturn templateElement.content;\\n\\t},\\n\\tsetDocumentType(document, name, publicId, systemId) {\\n\\t\\tconst doctypeNode = document.childNodes.find((node) => node.nodeName === \\\"#documentType\\\");\\n\\t\\tif (doctypeNode) {\\n\\t\\t\\tdoctypeNode.name = name;\\n\\t\\t\\tdoctypeNode.publicId = publicId;\\n\\t\\t\\tdoctypeNode.systemId = systemId;\\n\\t\\t} else {\\n\\t\\t\\tconst node = {\\n\\t\\t\\t\\tnodeName: \\\"#documentType\\\",\\n\\t\\t\\t\\tname,\\n\\t\\t\\t\\tpublicId,\\n\\t\\t\\t\\tsystemId,\\n\\t\\t\\t\\tparentNode: null\\n\\t\\t\\t};\\n\\t\\t\\tdefaultTreeAdapter.appendChild(document, node);\\n\\t\\t}\\n\\t},\\n\\tsetDocumentMode(document, mode) {\\n\\t\\tdocument.mode = mode;\\n\\t},\\n\\tgetDocumentMode(document) {\\n\\t\\treturn document.mode;\\n\\t},\\n\\tdetachNode(node) {\\n\\t\\tif (node.parentNode) {\\n\\t\\t\\tconst idx = node.parentNode.childNodes.indexOf(node);\\n\\t\\t\\tnode.parentNode.childNodes.splice(idx, 1);\\n\\t\\t\\tnode.parentNode = null;\\n\\t\\t}\\n\\t},\\n\\tinsertText(parentNode, text) {\\n\\t\\tif (parentNode.childNodes.length > 0) {\\n\\t\\t\\tconst prevNode = parentNode.childNodes[parentNode.childNodes.length - 1];\\n\\t\\t\\tif (defaultTreeAdapter.isTextNode(prevNode)) {\\n\\t\\t\\t\\tprevNode.value += text;\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tdefaultTreeAdapter.appendChild(parentNode, defaultTreeAdapter.createTextNode(text));\\n\\t},\\n\\tinsertTextBefore(parentNode, text, referenceNode) {\\n\\t\\tconst prevNode = parentNode.childNodes[parentNode.childNodes.indexOf(referenceNode) - 1];\\n\\t\\tif (prevNode && defaultTreeAdapter.isTextNode(prevNode)) prevNode.value += text;\\n\\t\\telse defaultTreeAdapter.insertBefore(parentNode, defaultTreeAdapter.createTextNode(text), referenceNode);\\n\\t},\\n\\tadoptAttributes(recipient, attrs) {\\n\\t\\tconst recipientAttrsMap = new Set(recipient.attrs.map((attr) => attr.name));\\n\\t\\tfor (let j = 0; j < attrs.length; j++) if (!recipientAttrsMap.has(attrs[j].name)) recipient.attrs.push(attrs[j]);\\n\\t},\\n\\tgetFirstChild(node) {\\n\\t\\treturn node.childNodes[0];\\n\\t},\\n\\tgetChildNodes(node) {\\n\\t\\treturn node.childNodes;\\n\\t},\\n\\tgetParentNode(node) {\\n\\t\\treturn node.parentNode;\\n\\t},\\n\\tgetAttrList(element) {\\n\\t\\treturn element.attrs;\\n\\t},\\n\\tgetTagName(element) {\\n\\t\\treturn element.tagName;\\n\\t},\\n\\tgetNamespaceURI(element) {\\n\\t\\treturn element.namespaceURI;\\n\\t},\\n\\tgetTextNodeContent(textNode) {\\n\\t\\treturn textNode.value;\\n\\t},\\n\\tgetCommentNodeContent(commentNode) {\\n\\t\\treturn commentNode.data;\\n\\t},\\n\\tgetDocumentTypeNodeName(doctypeNode) {\\n\\t\\treturn doctypeNode.name;\\n\\t},\\n\\tgetDocumentTypeNodePublicId(doctypeNode) {\\n\\t\\treturn doctypeNode.publicId;\\n\\t},\\n\\tgetDocumentTypeNodeSystemId(doctypeNode) {\\n\\t\\treturn doctypeNode.systemId;\\n\\t},\\n\\tisTextNode(node) {\\n\\t\\treturn node.nodeName === \\\"#text\\\";\\n\\t},\\n\\tisCommentNode(node) {\\n\\t\\treturn node.nodeName === \\\"#comment\\\";\\n\\t},\\n\\tisDocumentTypeNode(node) {\\n\\t\\treturn node.nodeName === \\\"#documentType\\\";\\n\\t},\\n\\tisElementNode(node) {\\n\\t\\treturn Object.prototype.hasOwnProperty.call(node, \\\"tagName\\\");\\n\\t},\\n\\tsetNodeSourceCodeLocation(node, location) {\\n\\t\\tnode.sourceCodeLocation = location;\\n\\t},\\n\\tgetNodeSourceCodeLocation(node) {\\n\\t\\treturn node.sourceCodeLocation;\\n\\t},\\n\\tupdateNodeSourceCodeLocation(node, endLocation) {\\n\\t\\tnode.sourceCodeLocation = {\\n\\t\\t\\t...node.sourceCodeLocation,\\n\\t\\t\\t...endLocation\\n\\t\\t};\\n\\t}\\n};\\n\\n//#endregion\\n//#region ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/common/doctype.js\\nconst VALID_DOCTYPE_NAME = \\\"html\\\";\\nconst VALID_SYSTEM_ID = \\\"about:legacy-compat\\\";\\nconst QUIRKS_MODE_SYSTEM_ID = \\\"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd\\\";\\nconst QUIRKS_MODE_PUBLIC_ID_PREFIXES = [\\n\\t\\\"+//silmaril//dtd html pro v0r11 19970101//\\\",\\n\\t\\\"-//as//dtd html 3.0 aswedit + extensions//\\\",\\n\\t\\\"-//advasoft ltd//dtd html 3.0 aswedit + extensions//\\\",\\n\\t\\\"-//ietf//dtd html 2.0 level 1//\\\",\\n\\t\\\"-//ietf//dtd html 2.0 level 2//\\\",\\n\\t\\\"-//ietf//dtd html 2.0 strict level 1//\\\",\\n\\t\\\"-//ietf//dtd html 2.0 strict level 2//\\\",\\n\\t\\\"-//ietf//dtd html 2.0 strict//\\\",\\n\\t\\\"-//ietf//dtd html 2.0//\\\",\\n\\t\\\"-//ietf//dtd html 2.1e//\\\",\\n\\t\\\"-//ietf//dtd html 3.0//\\\",\\n\\t\\\"-//ietf//dtd html 3.2 final//\\\",\\n\\t\\\"-//ietf//dtd html 3.2//\\\",\\n\\t\\\"-//ietf//dtd html 3//\\\",\\n\\t\\\"-//ietf//dtd html level 0//\\\",\\n\\t\\\"-//ietf//dtd html level 1//\\\",\\n\\t\\\"-//ietf//dtd html level 2//\\\",\\n\\t\\\"-//ietf//dtd html level 3//\\\",\\n\\t\\\"-//ietf//dtd html strict level 0//\\\",\\n\\t\\\"-//ietf//dtd html strict level 1//\\\",\\n\\t\\\"-//ietf//dtd html strict level 2//\\\",\\n\\t\\\"-//ietf//dtd html strict level 3//\\\",\\n\\t\\\"-//ietf//dtd html strict//\\\",\\n\\t\\\"-//ietf//dtd html//\\\",\\n\\t\\\"-//metrius//dtd metrius presentational//\\\",\\n\\t\\\"-//microsoft//dtd internet explorer 2.0 html strict//\\\",\\n\\t\\\"-//microsoft//dtd internet explorer 2.0 html//\\\",\\n\\t\\\"-//microsoft//dtd internet explorer 2.0 tables//\\\",\\n\\t\\\"-//microsoft//dtd internet explorer 3.0 html strict//\\\",\\n\\t\\\"-//microsoft//dtd internet explorer 3.0 html//\\\",\\n\\t\\\"-//microsoft//dtd internet explorer 3.0 tables//\\\",\\n\\t\\\"-//netscape comm. corp.//dtd html//\\\",\\n\\t\\\"-//netscape comm. corp.//dtd strict html//\\\",\\n\\t\\\"-//o'reilly and associates//dtd html 2.0//\\\",\\n\\t\\\"-//o'reilly and associates//dtd html extended 1.0//\\\",\\n\\t\\\"-//o'reilly and associates//dtd html extended relaxed 1.0//\\\",\\n\\t\\\"-//sq//dtd html 2.0 hotmetal + extensions//\\\",\\n\\t\\\"-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//\\\",\\n\\t\\\"-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//\\\",\\n\\t\\\"-//spyglass//dtd html 2.0 extended//\\\",\\n\\t\\\"-//sun microsystems corp.//dtd hotjava html//\\\",\\n\\t\\\"-//sun microsystems corp.//dtd hotjava strict html//\\\",\\n\\t\\\"-//w3c//dtd html 3 1995-03-24//\\\",\\n\\t\\\"-//w3c//dtd html 3.2 draft//\\\",\\n\\t\\\"-//w3c//dtd html 3.2 final//\\\",\\n\\t\\\"-//w3c//dtd html 3.2//\\\",\\n\\t\\\"-//w3c//dtd html 3.2s draft//\\\",\\n\\t\\\"-//w3c//dtd html 4.0 frameset//\\\",\\n\\t\\\"-//w3c//dtd html 4.0 transitional//\\\",\\n\\t\\\"-//w3c//dtd html experimental 19960712//\\\",\\n\\t\\\"-//w3c//dtd html experimental 970421//\\\",\\n\\t\\\"-//w3c//dtd w3 html//\\\",\\n\\t\\\"-//w3o//dtd w3 html 3.0//\\\",\\n\\t\\\"-//webtechs//dtd mozilla html 2.0//\\\",\\n\\t\\\"-//webtechs//dtd mozilla html//\\\"\\n];\\nconst QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES = [\\n\\t...QUIRKS_MODE_PUBLIC_ID_PREFIXES,\\n\\t\\\"-//w3c//dtd html 4.01 frameset//\\\",\\n\\t\\\"-//w3c//dtd html 4.01 transitional//\\\"\\n];\\nconst QUIRKS_MODE_PUBLIC_IDS = new Set([\\n\\t\\\"-//w3o//dtd w3 html strict 3.0//en//\\\",\\n\\t\\\"-/w3c/dtd html 4.0 transitional/en\\\",\\n\\t\\\"html\\\"\\n]);\\nconst LIMITED_QUIRKS_PUBLIC_ID_PREFIXES = [\\\"-//w3c//dtd xhtml 1.0 frameset//\\\", \\\"-//w3c//dtd xhtml 1.0 transitional//\\\"];\\nconst LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES = [\\n\\t...LIMITED_QUIRKS_PUBLIC_ID_PREFIXES,\\n\\t\\\"-//w3c//dtd html 4.01 frameset//\\\",\\n\\t\\\"-//w3c//dtd html 4.01 transitional//\\\"\\n];\\nfunction hasPrefix(publicId, prefixes) {\\n\\treturn prefixes.some((prefix) => publicId.startsWith(prefix));\\n}\\nfunction isConforming(token) {\\n\\treturn token.name === VALID_DOCTYPE_NAME && token.publicId === null && (token.systemId === null || token.systemId === VALID_SYSTEM_ID);\\n}\\nfunction getDocumentMode(token) {\\n\\tif (token.name !== VALID_DOCTYPE_NAME) return DOCUMENT_MODE.QUIRKS;\\n\\tconst { systemId } = token;\\n\\tif (systemId && systemId.toLowerCase() === QUIRKS_MODE_SYSTEM_ID) return DOCUMENT_MODE.QUIRKS;\\n\\tlet { publicId } = token;\\n\\tif (publicId !== null) {\\n\\t\\tpublicId = publicId.toLowerCase();\\n\\t\\tif (QUIRKS_MODE_PUBLIC_IDS.has(publicId)) return DOCUMENT_MODE.QUIRKS;\\n\\t\\tlet prefixes = systemId === null ? QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES : QUIRKS_MODE_PUBLIC_ID_PREFIXES;\\n\\t\\tif (hasPrefix(publicId, prefixes)) return DOCUMENT_MODE.QUIRKS;\\n\\t\\tprefixes = systemId === null ? LIMITED_QUIRKS_PUBLIC_ID_PREFIXES : LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES;\\n\\t\\tif (hasPrefix(publicId, prefixes)) return DOCUMENT_MODE.LIMITED_QUIRKS;\\n\\t}\\n\\treturn DOCUMENT_MODE.NO_QUIRKS;\\n}\\n\\n//#endregion\\n//#region ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/common/foreign-content.js\\nconst MIME_TYPES = {\\n\\tTEXT_HTML: \\\"text/html\\\",\\n\\tAPPLICATION_XML: \\\"application/xhtml+xml\\\"\\n};\\nconst DEFINITION_URL_ATTR = \\\"definitionurl\\\";\\nconst ADJUSTED_DEFINITION_URL_ATTR = \\\"definitionURL\\\";\\nconst SVG_ATTRS_ADJUSTMENT_MAP = new Map([\\n\\t\\\"attributeName\\\",\\n\\t\\\"attributeType\\\",\\n\\t\\\"baseFrequency\\\",\\n\\t\\\"baseProfile\\\",\\n\\t\\\"calcMode\\\",\\n\\t\\\"clipPathUnits\\\",\\n\\t\\\"diffuseConstant\\\",\\n\\t\\\"edgeMode\\\",\\n\\t\\\"filterUnits\\\",\\n\\t\\\"glyphRef\\\",\\n\\t\\\"gradientTransform\\\",\\n\\t\\\"gradientUnits\\\",\\n\\t\\\"kernelMatrix\\\",\\n\\t\\\"kernelUnitLength\\\",\\n\\t\\\"keyPoints\\\",\\n\\t\\\"keySplines\\\",\\n\\t\\\"keyTimes\\\",\\n\\t\\\"lengthAdjust\\\",\\n\\t\\\"limitingConeAngle\\\",\\n\\t\\\"markerHeight\\\",\\n\\t\\\"markerUnits\\\",\\n\\t\\\"markerWidth\\\",\\n\\t\\\"maskContentUnits\\\",\\n\\t\\\"maskUnits\\\",\\n\\t\\\"numOctaves\\\",\\n\\t\\\"pathLength\\\",\\n\\t\\\"patternContentUnits\\\",\\n\\t\\\"patternTransform\\\",\\n\\t\\\"patternUnits\\\",\\n\\t\\\"pointsAtX\\\",\\n\\t\\\"pointsAtY\\\",\\n\\t\\\"pointsAtZ\\\",\\n\\t\\\"preserveAlpha\\\",\\n\\t\\\"preserveAspectRatio\\\",\\n\\t\\\"primitiveUnits\\\",\\n\\t\\\"refX\\\",\\n\\t\\\"refY\\\",\\n\\t\\\"repeatCount\\\",\\n\\t\\\"repeatDur\\\",\\n\\t\\\"requiredExtensions\\\",\\n\\t\\\"requiredFeatures\\\",\\n\\t\\\"specularConstant\\\",\\n\\t\\\"specularExponent\\\",\\n\\t\\\"spreadMethod\\\",\\n\\t\\\"startOffset\\\",\\n\\t\\\"stdDeviation\\\",\\n\\t\\\"stitchTiles\\\",\\n\\t\\\"surfaceScale\\\",\\n\\t\\\"systemLanguage\\\",\\n\\t\\\"tableValues\\\",\\n\\t\\\"targetX\\\",\\n\\t\\\"targetY\\\",\\n\\t\\\"textLength\\\",\\n\\t\\\"viewBox\\\",\\n\\t\\\"viewTarget\\\",\\n\\t\\\"xChannelSelector\\\",\\n\\t\\\"yChannelSelector\\\",\\n\\t\\\"zoomAndPan\\\"\\n].map((attr) => [attr.toLowerCase(), attr]));\\nconst XML_ATTRS_ADJUSTMENT_MAP = new Map([\\n\\t[\\\"xlink:actuate\\\", {\\n\\t\\tprefix: \\\"xlink\\\",\\n\\t\\tname: \\\"actuate\\\",\\n\\t\\tnamespace: NS.XLINK\\n\\t}],\\n\\t[\\\"xlink:arcrole\\\", {\\n\\t\\tprefix: \\\"xlink\\\",\\n\\t\\tname: \\\"arcrole\\\",\\n\\t\\tnamespace: NS.XLINK\\n\\t}],\\n\\t[\\\"xlink:href\\\", {\\n\\t\\tprefix: \\\"xlink\\\",\\n\\t\\tname: \\\"href\\\",\\n\\t\\tnamespace: NS.XLINK\\n\\t}],\\n\\t[\\\"xlink:role\\\", {\\n\\t\\tprefix: \\\"xlink\\\",\\n\\t\\tname: \\\"role\\\",\\n\\t\\tnamespace: NS.XLINK\\n\\t}],\\n\\t[\\\"xlink:show\\\", {\\n\\t\\tprefix: \\\"xlink\\\",\\n\\t\\tname: \\\"show\\\",\\n\\t\\tnamespace: NS.XLINK\\n\\t}],\\n\\t[\\\"xlink:title\\\", {\\n\\t\\tprefix: \\\"xlink\\\",\\n\\t\\tname: \\\"title\\\",\\n\\t\\tnamespace: NS.XLINK\\n\\t}],\\n\\t[\\\"xlink:type\\\", {\\n\\t\\tprefix: \\\"xlink\\\",\\n\\t\\tname: \\\"type\\\",\\n\\t\\tnamespace: NS.XLINK\\n\\t}],\\n\\t[\\\"xml:lang\\\", {\\n\\t\\tprefix: \\\"xml\\\",\\n\\t\\tname: \\\"lang\\\",\\n\\t\\tnamespace: NS.XML\\n\\t}],\\n\\t[\\\"xml:space\\\", {\\n\\t\\tprefix: \\\"xml\\\",\\n\\t\\tname: \\\"space\\\",\\n\\t\\tnamespace: NS.XML\\n\\t}],\\n\\t[\\\"xmlns\\\", {\\n\\t\\tprefix: \\\"\\\",\\n\\t\\tname: \\\"xmlns\\\",\\n\\t\\tnamespace: NS.XMLNS\\n\\t}],\\n\\t[\\\"xmlns:xlink\\\", {\\n\\t\\tprefix: \\\"xmlns\\\",\\n\\t\\tname: \\\"xlink\\\",\\n\\t\\tnamespace: NS.XMLNS\\n\\t}]\\n]);\\nconst SVG_TAG_NAMES_ADJUSTMENT_MAP = new Map([\\n\\t\\\"altGlyph\\\",\\n\\t\\\"altGlyphDef\\\",\\n\\t\\\"altGlyphItem\\\",\\n\\t\\\"animateColor\\\",\\n\\t\\\"animateMotion\\\",\\n\\t\\\"animateTransform\\\",\\n\\t\\\"clipPath\\\",\\n\\t\\\"feBlend\\\",\\n\\t\\\"feColorMatrix\\\",\\n\\t\\\"feComponentTransfer\\\",\\n\\t\\\"feComposite\\\",\\n\\t\\\"feConvolveMatrix\\\",\\n\\t\\\"feDiffuseLighting\\\",\\n\\t\\\"feDisplacementMap\\\",\\n\\t\\\"feDistantLight\\\",\\n\\t\\\"feFlood\\\",\\n\\t\\\"feFuncA\\\",\\n\\t\\\"feFuncB\\\",\\n\\t\\\"feFuncG\\\",\\n\\t\\\"feFuncR\\\",\\n\\t\\\"feGaussianBlur\\\",\\n\\t\\\"feImage\\\",\\n\\t\\\"feMerge\\\",\\n\\t\\\"feMergeNode\\\",\\n\\t\\\"feMorphology\\\",\\n\\t\\\"feOffset\\\",\\n\\t\\\"fePointLight\\\",\\n\\t\\\"feSpecularLighting\\\",\\n\\t\\\"feSpotLight\\\",\\n\\t\\\"feTile\\\",\\n\\t\\\"feTurbulence\\\",\\n\\t\\\"foreignObject\\\",\\n\\t\\\"glyphRef\\\",\\n\\t\\\"linearGradient\\\",\\n\\t\\\"radialGradient\\\",\\n\\t\\\"textPath\\\"\\n].map((tn) => [tn.toLowerCase(), tn]));\\nconst EXITS_FOREIGN_CONTENT = new Set([\\n\\tTAG_ID.B,\\n\\tTAG_ID.BIG,\\n\\tTAG_ID.BLOCKQUOTE,\\n\\tTAG_ID.BODY,\\n\\tTAG_ID.BR,\\n\\tTAG_ID.CENTER,\\n\\tTAG_ID.CODE,\\n\\tTAG_ID.DD,\\n\\tTAG_ID.DIV,\\n\\tTAG_ID.DL,\\n\\tTAG_ID.DT,\\n\\tTAG_ID.EM,\\n\\tTAG_ID.EMBED,\\n\\tTAG_ID.H1,\\n\\tTAG_ID.H2,\\n\\tTAG_ID.H3,\\n\\tTAG_ID.H4,\\n\\tTAG_ID.H5,\\n\\tTAG_ID.H6,\\n\\tTAG_ID.HEAD,\\n\\tTAG_ID.HR,\\n\\tTAG_ID.I,\\n\\tTAG_ID.IMG,\\n\\tTAG_ID.LI,\\n\\tTAG_ID.LISTING,\\n\\tTAG_ID.MENU,\\n\\tTAG_ID.META,\\n\\tTAG_ID.NOBR,\\n\\tTAG_ID.OL,\\n\\tTAG_ID.P,\\n\\tTAG_ID.PRE,\\n\\tTAG_ID.RUBY,\\n\\tTAG_ID.S,\\n\\tTAG_ID.SMALL,\\n\\tTAG_ID.SPAN,\\n\\tTAG_ID.STRONG,\\n\\tTAG_ID.STRIKE,\\n\\tTAG_ID.SUB,\\n\\tTAG_ID.SUP,\\n\\tTAG_ID.TABLE,\\n\\tTAG_ID.TT,\\n\\tTAG_ID.U,\\n\\tTAG_ID.UL,\\n\\tTAG_ID.VAR\\n]);\\nfunction causesExit(startTagToken) {\\n\\tconst tn = startTagToken.tagID;\\n\\treturn tn === TAG_ID.FONT && startTagToken.attrs.some(({ name }) => name === ATTRS.COLOR || name === ATTRS.SIZE || name === ATTRS.FACE) || EXITS_FOREIGN_CONTENT.has(tn);\\n}\\nfunction adjustTokenMathMLAttrs(token) {\\n\\tfor (let i = 0; i < token.attrs.length; i++) if (token.attrs[i].name === DEFINITION_URL_ATTR) {\\n\\t\\ttoken.attrs[i].name = ADJUSTED_DEFINITION_URL_ATTR;\\n\\t\\tbreak;\\n\\t}\\n}\\nfunction adjustTokenSVGAttrs(token) {\\n\\tfor (let i = 0; i < token.attrs.length; i++) {\\n\\t\\tconst adjustedAttrName = SVG_ATTRS_ADJUSTMENT_MAP.get(token.attrs[i].name);\\n\\t\\tif (adjustedAttrName != null) token.attrs[i].name = adjustedAttrName;\\n\\t}\\n}\\nfunction adjustTokenXMLAttrs(token) {\\n\\tfor (let i = 0; i < token.attrs.length; i++) {\\n\\t\\tconst adjustedAttrEntry = XML_ATTRS_ADJUSTMENT_MAP.get(token.attrs[i].name);\\n\\t\\tif (adjustedAttrEntry) {\\n\\t\\t\\ttoken.attrs[i].prefix = adjustedAttrEntry.prefix;\\n\\t\\t\\ttoken.attrs[i].name = adjustedAttrEntry.name;\\n\\t\\t\\ttoken.attrs[i].namespace = adjustedAttrEntry.namespace;\\n\\t\\t}\\n\\t}\\n}\\nfunction adjustTokenSVGTagName(token) {\\n\\tconst adjustedTagName = SVG_TAG_NAMES_ADJUSTMENT_MAP.get(token.tagName);\\n\\tif (adjustedTagName != null) {\\n\\t\\ttoken.tagName = adjustedTagName;\\n\\t\\ttoken.tagID = getTagID(token.tagName);\\n\\t}\\n}\\nfunction isMathMLTextIntegrationPoint(tn, ns) {\\n\\treturn ns === NS.MATHML && (tn === TAG_ID.MI || tn === TAG_ID.MO || tn === TAG_ID.MN || tn === TAG_ID.MS || tn === TAG_ID.MTEXT);\\n}\\nfunction isHtmlIntegrationPoint(tn, ns, attrs) {\\n\\tif (ns === NS.MATHML && tn === TAG_ID.ANNOTATION_XML) {\\n\\t\\tfor (let i = 0; i < attrs.length; i++) if (attrs[i].name === ATTRS.ENCODING) {\\n\\t\\t\\tconst value = attrs[i].value.toLowerCase();\\n\\t\\t\\treturn value === MIME_TYPES.TEXT_HTML || value === MIME_TYPES.APPLICATION_XML;\\n\\t\\t}\\n\\t}\\n\\treturn ns === NS.SVG && (tn === TAG_ID.FOREIGN_OBJECT || tn === TAG_ID.DESC || tn === TAG_ID.TITLE);\\n}\\nfunction isIntegrationPoint(tn, ns, attrs, foreignNS) {\\n\\treturn (!foreignNS || foreignNS === NS.HTML) && isHtmlIntegrationPoint(tn, ns, attrs) || (!foreignNS || foreignNS === NS.MATHML) && isMathMLTextIntegrationPoint(tn, ns);\\n}\\n\\n//#endregion\\n//#region ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/parser/index.js\\nconst HIDDEN_INPUT_TYPE = \\\"hidden\\\";\\nconst AA_OUTER_LOOP_ITER = 8;\\nconst AA_INNER_LOOP_ITER = 3;\\nvar InsertionMode;\\n(function(InsertionMode$1) {\\n\\tInsertionMode$1[InsertionMode$1[\\\"INITIAL\\\"] = 0] = \\\"INITIAL\\\";\\n\\tInsertionMode$1[InsertionMode$1[\\\"BEFORE_HTML\\\"] = 1] = \\\"BEFORE_HTML\\\";\\n\\tInsertionMode$1[InsertionMode$1[\\\"BEFORE_HEAD\\\"] = 2] = \\\"BEFORE_HEAD\\\";\\n\\tInsertionMode$1[InsertionMode$1[\\\"IN_HEAD\\\"] = 3] = \\\"IN_HEAD\\\";\\n\\tInsertionMode$1[InsertionMode$1[\\\"IN_HEAD_NO_SCRIPT\\\"] = 4] = \\\"IN_HEAD_NO_SCRIPT\\\";\\n\\tInsertionMode$1[InsertionMode$1[\\\"AFTER_HEAD\\\"] = 5] = \\\"AFTER_HEAD\\\";\\n\\tInsertionMode$1[InsertionMode$1[\\\"IN_BODY\\\"] = 6] = \\\"IN_BODY\\\";\\n\\tInsertionMode$1[InsertionMode$1[\\\"TEXT\\\"] = 7] = \\\"TEXT\\\";\\n\\tInsertionMode$1[InsertionMode$1[\\\"IN_TABLE\\\"] = 8] = \\\"IN_TABLE\\\";\\n\\tInsertionMode$1[InsertionMode$1[\\\"IN_TABLE_TEXT\\\"] = 9] = \\\"IN_TABLE_TEXT\\\";\\n\\tInsertionMode$1[InsertionMode$1[\\\"IN_CAPTION\\\"] = 10] = \\\"IN_CAPTION\\\";\\n\\tInsertionMode$1[InsertionMode$1[\\\"IN_COLUMN_GROUP\\\"] = 11] = \\\"IN_COLUMN_GROUP\\\";\\n\\tInsertionMode$1[InsertionMode$1[\\\"IN_TABLE_BODY\\\"] = 12] = \\\"IN_TABLE_BODY\\\";\\n\\tInsertionMode$1[InsertionMode$1[\\\"IN_ROW\\\"] = 13] = \\\"IN_ROW\\\";\\n\\tInsertionMode$1[InsertionMode$1[\\\"IN_CELL\\\"] = 14] = \\\"IN_CELL\\\";\\n\\tInsertionMode$1[InsertionMode$1[\\\"IN_SELECT\\\"] = 15] = \\\"IN_SELECT\\\";\\n\\tInsertionMode$1[InsertionMode$1[\\\"IN_SELECT_IN_TABLE\\\"] = 16] = \\\"IN_SELECT_IN_TABLE\\\";\\n\\tInsertionMode$1[InsertionMode$1[\\\"IN_TEMPLATE\\\"] = 17] = \\\"IN_TEMPLATE\\\";\\n\\tInsertionMode$1[InsertionMode$1[\\\"AFTER_BODY\\\"] = 18] = \\\"AFTER_BODY\\\";\\n\\tInsertionMode$1[InsertionMode$1[\\\"IN_FRAMESET\\\"] = 19] = \\\"IN_FRAMESET\\\";\\n\\tInsertionMode$1[InsertionMode$1[\\\"AFTER_FRAMESET\\\"] = 20] = \\\"AFTER_FRAMESET\\\";\\n\\tInsertionMode$1[InsertionMode$1[\\\"AFTER_AFTER_BODY\\\"] = 21] = \\\"AFTER_AFTER_BODY\\\";\\n\\tInsertionMode$1[InsertionMode$1[\\\"AFTER_AFTER_FRAMESET\\\"] = 22] = \\\"AFTER_AFTER_FRAMESET\\\";\\n})(InsertionMode || (InsertionMode = {}));\\nconst BASE_LOC = {\\n\\tstartLine: -1,\\n\\tstartCol: -1,\\n\\tstartOffset: -1,\\n\\tendLine: -1,\\n\\tendCol: -1,\\n\\tendOffset: -1\\n};\\nconst TABLE_STRUCTURE_TAGS = new Set([\\n\\tTAG_ID.TABLE,\\n\\tTAG_ID.TBODY,\\n\\tTAG_ID.TFOOT,\\n\\tTAG_ID.THEAD,\\n\\tTAG_ID.TR\\n]);\\nconst defaultParserOptions = {\\n\\tscriptingEnabled: true,\\n\\tsourceCodeLocationInfo: false,\\n\\ttreeAdapter: defaultTreeAdapter,\\n\\tonParseError: null\\n};\\nvar Parser = class {\\n\\tconstructor(options, document, fragmentContext = null, scriptHandler = null) {\\n\\t\\tthis.fragmentContext = fragmentContext;\\n\\t\\tthis.scriptHandler = scriptHandler;\\n\\t\\tthis.currentToken = null;\\n\\t\\tthis.stopped = false;\\n\\t\\t/** @internal */\\n\\t\\tthis.insertionMode = InsertionMode.INITIAL;\\n\\t\\t/** @internal */\\n\\t\\tthis.originalInsertionMode = InsertionMode.INITIAL;\\n\\t\\t/** @internal */\\n\\t\\tthis.headElement = null;\\n\\t\\t/** @internal */\\n\\t\\tthis.formElement = null;\\n\\t\\t/** Indicates that the current node is not an element in the HTML namespace */\\n\\t\\tthis.currentNotInHTML = false;\\n\\t\\t/**\\n\\t\\t* The template insertion mode stack is maintained from the left.\\n\\t\\t* Ie. the topmost element will always have index 0.\\n\\t\\t*\\n\\t\\t* @internal\\n\\t\\t*/\\n\\t\\tthis.tmplInsertionModeStack = [];\\n\\t\\t/** @internal */\\n\\t\\tthis.pendingCharacterTokens = [];\\n\\t\\t/** @internal */\\n\\t\\tthis.hasNonWhitespacePendingCharacterToken = false;\\n\\t\\t/** @internal */\\n\\t\\tthis.framesetOk = true;\\n\\t\\t/** @internal */\\n\\t\\tthis.skipNextNewLine = false;\\n\\t\\t/** @internal */\\n\\t\\tthis.fosterParentingEnabled = false;\\n\\t\\tthis.options = {\\n\\t\\t\\t...defaultParserOptions,\\n\\t\\t\\t...options\\n\\t\\t};\\n\\t\\tthis.treeAdapter = this.options.treeAdapter;\\n\\t\\tthis.onParseError = this.options.onParseError;\\n\\t\\tif (this.onParseError) this.options.sourceCodeLocationInfo = true;\\n\\t\\tthis.document = document !== null && document !== void 0 ? document : this.treeAdapter.createDocument();\\n\\t\\tthis.tokenizer = new Tokenizer(this.options, this);\\n\\t\\tthis.activeFormattingElements = new FormattingElementList(this.treeAdapter);\\n\\t\\tthis.fragmentContextID = fragmentContext ? getTagID(this.treeAdapter.getTagName(fragmentContext)) : TAG_ID.UNKNOWN;\\n\\t\\tthis._setContextModes(fragmentContext !== null && fragmentContext !== void 0 ? fragmentContext : this.document, this.fragmentContextID);\\n\\t\\tthis.openElements = new OpenElementStack(this.document, this.treeAdapter, this);\\n\\t}\\n\\tstatic parse(html, options) {\\n\\t\\tconst parser = new this(options);\\n\\t\\tparser.tokenizer.write(html, true);\\n\\t\\treturn parser.document;\\n\\t}\\n\\tstatic getFragmentParser(fragmentContext, options) {\\n\\t\\tconst opts = {\\n\\t\\t\\t...defaultParserOptions,\\n\\t\\t\\t...options\\n\\t\\t};\\n\\t\\tfragmentContext !== null && fragmentContext !== void 0 || (fragmentContext = opts.treeAdapter.createElement(TAG_NAMES.TEMPLATE, NS.HTML, []));\\n\\t\\tconst documentMock = opts.treeAdapter.createElement(\\\"documentmock\\\", NS.HTML, []);\\n\\t\\tconst parser = new this(opts, documentMock, fragmentContext);\\n\\t\\tif (parser.fragmentContextID === TAG_ID.TEMPLATE) parser.tmplInsertionModeStack.unshift(InsertionMode.IN_TEMPLATE);\\n\\t\\tparser._initTokenizerForFragmentParsing();\\n\\t\\tparser._insertFakeRootElement();\\n\\t\\tparser._resetInsertionMode();\\n\\t\\tparser._findFormInFragmentContext();\\n\\t\\treturn parser;\\n\\t}\\n\\tgetFragment() {\\n\\t\\tconst rootElement = this.treeAdapter.getFirstChild(this.document);\\n\\t\\tconst fragment = this.treeAdapter.createDocumentFragment();\\n\\t\\tthis._adoptNodes(rootElement, fragment);\\n\\t\\treturn fragment;\\n\\t}\\n\\t/** @internal */\\n\\t_err(token, code, beforeToken) {\\n\\t\\tvar _a;\\n\\t\\tif (!this.onParseError) return;\\n\\t\\tconst loc = (_a = token.location) !== null && _a !== void 0 ? _a : BASE_LOC;\\n\\t\\tconst err = {\\n\\t\\t\\tcode,\\n\\t\\t\\tstartLine: loc.startLine,\\n\\t\\t\\tstartCol: loc.startCol,\\n\\t\\t\\tstartOffset: loc.startOffset,\\n\\t\\t\\tendLine: beforeToken ? loc.startLine : loc.endLine,\\n\\t\\t\\tendCol: beforeToken ? loc.startCol : loc.endCol,\\n\\t\\t\\tendOffset: beforeToken ? loc.startOffset : loc.endOffset\\n\\t\\t};\\n\\t\\tthis.onParseError(err);\\n\\t}\\n\\t/** @internal */\\n\\tonItemPush(node, tid, isTop) {\\n\\t\\tvar _a, _b;\\n\\t\\t(_b = (_a = this.treeAdapter).onItemPush) === null || _b === void 0 || _b.call(_a, node);\\n\\t\\tif (isTop && this.openElements.stackTop > 0) this._setContextModes(node, tid);\\n\\t}\\n\\t/** @internal */\\n\\tonItemPop(node, isTop) {\\n\\t\\tvar _a, _b;\\n\\t\\tif (this.options.sourceCodeLocationInfo) this._setEndLocation(node, this.currentToken);\\n\\t\\t(_b = (_a = this.treeAdapter).onItemPop) === null || _b === void 0 || _b.call(_a, node, this.openElements.current);\\n\\t\\tif (isTop) {\\n\\t\\t\\tlet current;\\n\\t\\t\\tlet currentTagId;\\n\\t\\t\\tif (this.openElements.stackTop === 0 && this.fragmentContext) {\\n\\t\\t\\t\\tcurrent = this.fragmentContext;\\n\\t\\t\\t\\tcurrentTagId = this.fragmentContextID;\\n\\t\\t\\t} else ({current, currentTagId} = this.openElements);\\n\\t\\t\\tthis._setContextModes(current, currentTagId);\\n\\t\\t}\\n\\t}\\n\\t_setContextModes(current, tid) {\\n\\t\\tconst isHTML = current === this.document || current && this.treeAdapter.getNamespaceURI(current) === NS.HTML;\\n\\t\\tthis.currentNotInHTML = !isHTML;\\n\\t\\tthis.tokenizer.inForeignNode = !isHTML && current !== void 0 && tid !== void 0 && !this._isIntegrationPoint(tid, current);\\n\\t}\\n\\t/** @protected */\\n\\t_switchToTextParsing(currentToken, nextTokenizerState) {\\n\\t\\tthis._insertElement(currentToken, NS.HTML);\\n\\t\\tthis.tokenizer.state = nextTokenizerState;\\n\\t\\tthis.originalInsertionMode = this.insertionMode;\\n\\t\\tthis.insertionMode = InsertionMode.TEXT;\\n\\t}\\n\\tswitchToPlaintextParsing() {\\n\\t\\tthis.insertionMode = InsertionMode.TEXT;\\n\\t\\tthis.originalInsertionMode = InsertionMode.IN_BODY;\\n\\t\\tthis.tokenizer.state = TokenizerMode.PLAINTEXT;\\n\\t}\\n\\t/** @protected */\\n\\t_getAdjustedCurrentElement() {\\n\\t\\treturn this.openElements.stackTop === 0 && this.fragmentContext ? this.fragmentContext : this.openElements.current;\\n\\t}\\n\\t/** @protected */\\n\\t_findFormInFragmentContext() {\\n\\t\\tlet node = this.fragmentContext;\\n\\t\\twhile (node) {\\n\\t\\t\\tif (this.treeAdapter.getTagName(node) === TAG_NAMES.FORM) {\\n\\t\\t\\t\\tthis.formElement = node;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t\\tnode = this.treeAdapter.getParentNode(node);\\n\\t\\t}\\n\\t}\\n\\t_initTokenizerForFragmentParsing() {\\n\\t\\tif (!this.fragmentContext || this.treeAdapter.getNamespaceURI(this.fragmentContext) !== NS.HTML) return;\\n\\t\\tswitch (this.fragmentContextID) {\\n\\t\\t\\tcase TAG_ID.TITLE:\\n\\t\\t\\tcase TAG_ID.TEXTAREA:\\n\\t\\t\\t\\tthis.tokenizer.state = TokenizerMode.RCDATA;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase TAG_ID.STYLE:\\n\\t\\t\\tcase TAG_ID.XMP:\\n\\t\\t\\tcase TAG_ID.IFRAME:\\n\\t\\t\\tcase TAG_ID.NOEMBED:\\n\\t\\t\\tcase TAG_ID.NOFRAMES:\\n\\t\\t\\tcase TAG_ID.NOSCRIPT:\\n\\t\\t\\t\\tthis.tokenizer.state = TokenizerMode.RAWTEXT;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase TAG_ID.SCRIPT:\\n\\t\\t\\t\\tthis.tokenizer.state = TokenizerMode.SCRIPT_DATA;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase TAG_ID.PLAINTEXT:\\n\\t\\t\\t\\tthis.tokenizer.state = TokenizerMode.PLAINTEXT;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t}\\n\\t}\\n\\t/** @protected */\\n\\t_setDocumentType(token) {\\n\\t\\tconst name = token.name || \\\"\\\";\\n\\t\\tconst publicId = token.publicId || \\\"\\\";\\n\\t\\tconst systemId = token.systemId || \\\"\\\";\\n\\t\\tthis.treeAdapter.setDocumentType(this.document, name, publicId, systemId);\\n\\t\\tif (token.location) {\\n\\t\\t\\tconst docTypeNode = this.treeAdapter.getChildNodes(this.document).find((node) => this.treeAdapter.isDocumentTypeNode(node));\\n\\t\\t\\tif (docTypeNode) this.treeAdapter.setNodeSourceCodeLocation(docTypeNode, token.location);\\n\\t\\t}\\n\\t}\\n\\t/** @protected */\\n\\t_attachElementToTree(element, location) {\\n\\t\\tif (this.options.sourceCodeLocationInfo) {\\n\\t\\t\\tconst loc = location && {\\n\\t\\t\\t\\t...location,\\n\\t\\t\\t\\tstartTag: location\\n\\t\\t\\t};\\n\\t\\t\\tthis.treeAdapter.setNodeSourceCodeLocation(element, loc);\\n\\t\\t}\\n\\t\\tif (this._shouldFosterParentOnInsertion()) this._fosterParentElement(element);\\n\\t\\telse {\\n\\t\\t\\tconst parent = this.openElements.currentTmplContentOrNode;\\n\\t\\t\\tthis.treeAdapter.appendChild(parent !== null && parent !== void 0 ? parent : this.document, element);\\n\\t\\t}\\n\\t}\\n\\t/**\\n\\t* For self-closing tags. Add an element to the tree, but skip adding it\\n\\t* to the stack.\\n\\t*/\\n\\t/** @protected */\\n\\t_appendElement(token, namespaceURI) {\\n\\t\\tconst element = this.treeAdapter.createElement(token.tagName, namespaceURI, token.attrs);\\n\\t\\tthis._attachElementToTree(element, token.location);\\n\\t}\\n\\t/** @protected */\\n\\t_insertElement(token, namespaceURI) {\\n\\t\\tconst element = this.treeAdapter.createElement(token.tagName, namespaceURI, token.attrs);\\n\\t\\tthis._attachElementToTree(element, token.location);\\n\\t\\tthis.openElements.push(element, token.tagID);\\n\\t}\\n\\t/** @protected */\\n\\t_insertFakeElement(tagName, tagID) {\\n\\t\\tconst element = this.treeAdapter.createElement(tagName, NS.HTML, []);\\n\\t\\tthis._attachElementToTree(element, null);\\n\\t\\tthis.openElements.push(element, tagID);\\n\\t}\\n\\t/** @protected */\\n\\t_insertTemplate(token) {\\n\\t\\tconst tmpl = this.treeAdapter.createElement(token.tagName, NS.HTML, token.attrs);\\n\\t\\tconst content = this.treeAdapter.createDocumentFragment();\\n\\t\\tthis.treeAdapter.setTemplateContent(tmpl, content);\\n\\t\\tthis._attachElementToTree(tmpl, token.location);\\n\\t\\tthis.openElements.push(tmpl, token.tagID);\\n\\t\\tif (this.options.sourceCodeLocationInfo) this.treeAdapter.setNodeSourceCodeLocation(content, null);\\n\\t}\\n\\t/** @protected */\\n\\t_insertFakeRootElement() {\\n\\t\\tconst element = this.treeAdapter.createElement(TAG_NAMES.HTML, NS.HTML, []);\\n\\t\\tif (this.options.sourceCodeLocationInfo) this.treeAdapter.setNodeSourceCodeLocation(element, null);\\n\\t\\tthis.treeAdapter.appendChild(this.openElements.current, element);\\n\\t\\tthis.openElements.push(element, TAG_ID.HTML);\\n\\t}\\n\\t/** @protected */\\n\\t_appendCommentNode(token, parent) {\\n\\t\\tconst commentNode = this.treeAdapter.createCommentNode(token.data);\\n\\t\\tthis.treeAdapter.appendChild(parent, commentNode);\\n\\t\\tif (this.options.sourceCodeLocationInfo) this.treeAdapter.setNodeSourceCodeLocation(commentNode, token.location);\\n\\t}\\n\\t/** @protected */\\n\\t_insertCharacters(token) {\\n\\t\\tlet parent;\\n\\t\\tlet beforeElement;\\n\\t\\tif (this._shouldFosterParentOnInsertion()) {\\n\\t\\t\\t({parent, beforeElement} = this._findFosterParentingLocation());\\n\\t\\t\\tif (beforeElement) this.treeAdapter.insertTextBefore(parent, token.chars, beforeElement);\\n\\t\\t\\telse this.treeAdapter.insertText(parent, token.chars);\\n\\t\\t} else {\\n\\t\\t\\tparent = this.openElements.currentTmplContentOrNode;\\n\\t\\t\\tthis.treeAdapter.insertText(parent, token.chars);\\n\\t\\t}\\n\\t\\tif (!token.location) return;\\n\\t\\tconst siblings = this.treeAdapter.getChildNodes(parent);\\n\\t\\tconst textNode = siblings[(beforeElement ? siblings.lastIndexOf(beforeElement) : siblings.length) - 1];\\n\\t\\tif (this.treeAdapter.getNodeSourceCodeLocation(textNode)) {\\n\\t\\t\\tconst { endLine, endCol, endOffset } = token.location;\\n\\t\\t\\tthis.treeAdapter.updateNodeSourceCodeLocation(textNode, {\\n\\t\\t\\t\\tendLine,\\n\\t\\t\\t\\tendCol,\\n\\t\\t\\t\\tendOffset\\n\\t\\t\\t});\\n\\t\\t} else if (this.options.sourceCodeLocationInfo) this.treeAdapter.setNodeSourceCodeLocation(textNode, token.location);\\n\\t}\\n\\t/** @protected */\\n\\t_adoptNodes(donor, recipient) {\\n\\t\\tfor (let child = this.treeAdapter.getFirstChild(donor); child; child = this.treeAdapter.getFirstChild(donor)) {\\n\\t\\t\\tthis.treeAdapter.detachNode(child);\\n\\t\\t\\tthis.treeAdapter.appendChild(recipient, child);\\n\\t\\t}\\n\\t}\\n\\t/** @protected */\\n\\t_setEndLocation(element, closingToken) {\\n\\t\\tif (this.treeAdapter.getNodeSourceCodeLocation(element) && closingToken.location) {\\n\\t\\t\\tconst ctLoc = closingToken.location;\\n\\t\\t\\tconst tn = this.treeAdapter.getTagName(element);\\n\\t\\t\\tconst endLoc = closingToken.type === TokenType.END_TAG && tn === closingToken.tagName ? {\\n\\t\\t\\t\\tendTag: { ...ctLoc },\\n\\t\\t\\t\\tendLine: ctLoc.endLine,\\n\\t\\t\\t\\tendCol: ctLoc.endCol,\\n\\t\\t\\t\\tendOffset: ctLoc.endOffset\\n\\t\\t\\t} : {\\n\\t\\t\\t\\tendLine: ctLoc.startLine,\\n\\t\\t\\t\\tendCol: ctLoc.startCol,\\n\\t\\t\\t\\tendOffset: ctLoc.startOffset\\n\\t\\t\\t};\\n\\t\\t\\tthis.treeAdapter.updateNodeSourceCodeLocation(element, endLoc);\\n\\t\\t}\\n\\t}\\n\\tshouldProcessStartTagTokenInForeignContent(token) {\\n\\t\\tif (!this.currentNotInHTML) return false;\\n\\t\\tlet current;\\n\\t\\tlet currentTagId;\\n\\t\\tif (this.openElements.stackTop === 0 && this.fragmentContext) {\\n\\t\\t\\tcurrent = this.fragmentContext;\\n\\t\\t\\tcurrentTagId = this.fragmentContextID;\\n\\t\\t} else ({current, currentTagId} = this.openElements);\\n\\t\\tif (token.tagID === TAG_ID.SVG && this.treeAdapter.getTagName(current) === TAG_NAMES.ANNOTATION_XML && this.treeAdapter.getNamespaceURI(current) === NS.MATHML) return false;\\n\\t\\treturn this.tokenizer.inForeignNode || (token.tagID === TAG_ID.MGLYPH || token.tagID === TAG_ID.MALIGNMARK) && currentTagId !== void 0 && !this._isIntegrationPoint(currentTagId, current, NS.HTML);\\n\\t}\\n\\t/** @protected */\\n\\t_processToken(token) {\\n\\t\\tswitch (token.type) {\\n\\t\\t\\tcase TokenType.CHARACTER:\\n\\t\\t\\t\\tthis.onCharacter(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase TokenType.NULL_CHARACTER:\\n\\t\\t\\t\\tthis.onNullCharacter(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase TokenType.COMMENT:\\n\\t\\t\\t\\tthis.onComment(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase TokenType.DOCTYPE:\\n\\t\\t\\t\\tthis.onDoctype(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase TokenType.START_TAG:\\n\\t\\t\\t\\tthis._processStartTag(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase TokenType.END_TAG:\\n\\t\\t\\t\\tthis.onEndTag(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase TokenType.EOF:\\n\\t\\t\\t\\tthis.onEof(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase TokenType.WHITESPACE_CHARACTER:\\n\\t\\t\\t\\tthis.onWhitespaceCharacter(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t}\\n\\t}\\n\\t/** @protected */\\n\\t_isIntegrationPoint(tid, element, foreignNS) {\\n\\t\\tconst ns = this.treeAdapter.getNamespaceURI(element);\\n\\t\\tconst attrs = this.treeAdapter.getAttrList(element);\\n\\t\\treturn isIntegrationPoint(tid, ns, attrs, foreignNS);\\n\\t}\\n\\t/** @protected */\\n\\t_reconstructActiveFormattingElements() {\\n\\t\\tconst listLength = this.activeFormattingElements.entries.length;\\n\\t\\tif (listLength) {\\n\\t\\t\\tconst endIndex = this.activeFormattingElements.entries.findIndex((entry) => entry.type === EntryType.Marker || this.openElements.contains(entry.element));\\n\\t\\t\\tconst unopenIdx = endIndex === -1 ? listLength - 1 : endIndex - 1;\\n\\t\\t\\tfor (let i = unopenIdx; i >= 0; i--) {\\n\\t\\t\\t\\tconst entry = this.activeFormattingElements.entries[i];\\n\\t\\t\\t\\tthis._insertElement(entry.token, this.treeAdapter.getNamespaceURI(entry.element));\\n\\t\\t\\t\\tentry.element = this.openElements.current;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t/** @protected */\\n\\t_closeTableCell() {\\n\\t\\tthis.openElements.generateImpliedEndTags();\\n\\t\\tthis.openElements.popUntilTableCellPopped();\\n\\t\\tthis.activeFormattingElements.clearToLastMarker();\\n\\t\\tthis.insertionMode = InsertionMode.IN_ROW;\\n\\t}\\n\\t/** @protected */\\n\\t_closePElement() {\\n\\t\\tthis.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.P);\\n\\t\\tthis.openElements.popUntilTagNamePopped(TAG_ID.P);\\n\\t}\\n\\t/** @protected */\\n\\t_resetInsertionMode() {\\n\\t\\tfor (let i = this.openElements.stackTop; i >= 0; i--) switch (i === 0 && this.fragmentContext ? this.fragmentContextID : this.openElements.tagIDs[i]) {\\n\\t\\t\\tcase TAG_ID.TR:\\n\\t\\t\\t\\tthis.insertionMode = InsertionMode.IN_ROW;\\n\\t\\t\\t\\treturn;\\n\\t\\t\\tcase TAG_ID.TBODY:\\n\\t\\t\\tcase TAG_ID.THEAD:\\n\\t\\t\\tcase TAG_ID.TFOOT:\\n\\t\\t\\t\\tthis.insertionMode = InsertionMode.IN_TABLE_BODY;\\n\\t\\t\\t\\treturn;\\n\\t\\t\\tcase TAG_ID.CAPTION:\\n\\t\\t\\t\\tthis.insertionMode = InsertionMode.IN_CAPTION;\\n\\t\\t\\t\\treturn;\\n\\t\\t\\tcase TAG_ID.COLGROUP:\\n\\t\\t\\t\\tthis.insertionMode = InsertionMode.IN_COLUMN_GROUP;\\n\\t\\t\\t\\treturn;\\n\\t\\t\\tcase TAG_ID.TABLE:\\n\\t\\t\\t\\tthis.insertionMode = InsertionMode.IN_TABLE;\\n\\t\\t\\t\\treturn;\\n\\t\\t\\tcase TAG_ID.BODY:\\n\\t\\t\\t\\tthis.insertionMode = InsertionMode.IN_BODY;\\n\\t\\t\\t\\treturn;\\n\\t\\t\\tcase TAG_ID.FRAMESET:\\n\\t\\t\\t\\tthis.insertionMode = InsertionMode.IN_FRAMESET;\\n\\t\\t\\t\\treturn;\\n\\t\\t\\tcase TAG_ID.SELECT:\\n\\t\\t\\t\\tthis._resetInsertionModeForSelect(i);\\n\\t\\t\\t\\treturn;\\n\\t\\t\\tcase TAG_ID.TEMPLATE:\\n\\t\\t\\t\\tthis.insertionMode = this.tmplInsertionModeStack[0];\\n\\t\\t\\t\\treturn;\\n\\t\\t\\tcase TAG_ID.HTML:\\n\\t\\t\\t\\tthis.insertionMode = this.headElement ? InsertionMode.AFTER_HEAD : InsertionMode.BEFORE_HEAD;\\n\\t\\t\\t\\treturn;\\n\\t\\t\\tcase TAG_ID.TD:\\n\\t\\t\\tcase TAG_ID.TH:\\n\\t\\t\\t\\tif (i > 0) {\\n\\t\\t\\t\\t\\tthis.insertionMode = InsertionMode.IN_CELL;\\n\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase TAG_ID.HEAD:\\n\\t\\t\\t\\tif (i > 0) {\\n\\t\\t\\t\\t\\tthis.insertionMode = InsertionMode.IN_HEAD;\\n\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\tthis.insertionMode = InsertionMode.IN_BODY;\\n\\t}\\n\\t/** @protected */\\n\\t_resetInsertionModeForSelect(selectIdx) {\\n\\t\\tif (selectIdx > 0) for (let i = selectIdx - 1; i > 0; i--) {\\n\\t\\t\\tconst tn = this.openElements.tagIDs[i];\\n\\t\\t\\tif (tn === TAG_ID.TEMPLATE) break;\\n\\t\\t\\telse if (tn === TAG_ID.TABLE) {\\n\\t\\t\\t\\tthis.insertionMode = InsertionMode.IN_SELECT_IN_TABLE;\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tthis.insertionMode = InsertionMode.IN_SELECT;\\n\\t}\\n\\t/** @protected */\\n\\t_isElementCausesFosterParenting(tn) {\\n\\t\\treturn TABLE_STRUCTURE_TAGS.has(tn);\\n\\t}\\n\\t/** @protected */\\n\\t_shouldFosterParentOnInsertion() {\\n\\t\\treturn this.fosterParentingEnabled && this.openElements.currentTagId !== void 0 && this._isElementCausesFosterParenting(this.openElements.currentTagId);\\n\\t}\\n\\t/** @protected */\\n\\t_findFosterParentingLocation() {\\n\\t\\tfor (let i = this.openElements.stackTop; i >= 0; i--) {\\n\\t\\t\\tconst openElement = this.openElements.items[i];\\n\\t\\t\\tswitch (this.openElements.tagIDs[i]) {\\n\\t\\t\\t\\tcase TAG_ID.TEMPLATE:\\n\\t\\t\\t\\t\\tif (this.treeAdapter.getNamespaceURI(openElement) === NS.HTML) return {\\n\\t\\t\\t\\t\\t\\tparent: this.treeAdapter.getTemplateContent(openElement),\\n\\t\\t\\t\\t\\t\\tbeforeElement: null\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase TAG_ID.TABLE: {\\n\\t\\t\\t\\t\\tconst parent = this.treeAdapter.getParentNode(openElement);\\n\\t\\t\\t\\t\\tif (parent) return {\\n\\t\\t\\t\\t\\t\\tparent,\\n\\t\\t\\t\\t\\t\\tbeforeElement: openElement\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\treturn {\\n\\t\\t\\t\\t\\t\\tparent: this.openElements.items[i - 1],\\n\\t\\t\\t\\t\\t\\tbeforeElement: null\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tdefault:\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn {\\n\\t\\t\\tparent: this.openElements.items[0],\\n\\t\\t\\tbeforeElement: null\\n\\t\\t};\\n\\t}\\n\\t/** @protected */\\n\\t_fosterParentElement(element) {\\n\\t\\tconst location = this._findFosterParentingLocation();\\n\\t\\tif (location.beforeElement) this.treeAdapter.insertBefore(location.parent, element, location.beforeElement);\\n\\t\\telse this.treeAdapter.appendChild(location.parent, element);\\n\\t}\\n\\t/** @protected */\\n\\t_isSpecialElement(element, id) {\\n\\t\\treturn SPECIAL_ELEMENTS[this.treeAdapter.getNamespaceURI(element)].has(id);\\n\\t}\\n\\t/** @internal */\\n\\tonCharacter(token) {\\n\\t\\tthis.skipNextNewLine = false;\\n\\t\\tif (this.tokenizer.inForeignNode) {\\n\\t\\t\\tcharacterInForeignContent(this, token);\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\tswitch (this.insertionMode) {\\n\\t\\t\\tcase InsertionMode.INITIAL:\\n\\t\\t\\t\\ttokenInInitialMode(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.BEFORE_HTML:\\n\\t\\t\\t\\ttokenBeforeHtml(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.BEFORE_HEAD:\\n\\t\\t\\t\\ttokenBeforeHead(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_HEAD:\\n\\t\\t\\t\\ttokenInHead(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_HEAD_NO_SCRIPT:\\n\\t\\t\\t\\ttokenInHeadNoScript(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.AFTER_HEAD:\\n\\t\\t\\t\\ttokenAfterHead(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_BODY:\\n\\t\\t\\tcase InsertionMode.IN_CAPTION:\\n\\t\\t\\tcase InsertionMode.IN_CELL:\\n\\t\\t\\tcase InsertionMode.IN_TEMPLATE:\\n\\t\\t\\t\\tcharacterInBody(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.TEXT:\\n\\t\\t\\tcase InsertionMode.IN_SELECT:\\n\\t\\t\\tcase InsertionMode.IN_SELECT_IN_TABLE:\\n\\t\\t\\t\\tthis._insertCharacters(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_TABLE:\\n\\t\\t\\tcase InsertionMode.IN_TABLE_BODY:\\n\\t\\t\\tcase InsertionMode.IN_ROW:\\n\\t\\t\\t\\tcharacterInTable(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_TABLE_TEXT:\\n\\t\\t\\t\\tcharacterInTableText(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_COLUMN_GROUP:\\n\\t\\t\\t\\ttokenInColumnGroup(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.AFTER_BODY:\\n\\t\\t\\t\\ttokenAfterBody(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.AFTER_AFTER_BODY:\\n\\t\\t\\t\\ttokenAfterAfterBody(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t}\\n\\t}\\n\\t/** @internal */\\n\\tonNullCharacter(token) {\\n\\t\\tthis.skipNextNewLine = false;\\n\\t\\tif (this.tokenizer.inForeignNode) {\\n\\t\\t\\tnullCharacterInForeignContent(this, token);\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\tswitch (this.insertionMode) {\\n\\t\\t\\tcase InsertionMode.INITIAL:\\n\\t\\t\\t\\ttokenInInitialMode(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.BEFORE_HTML:\\n\\t\\t\\t\\ttokenBeforeHtml(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.BEFORE_HEAD:\\n\\t\\t\\t\\ttokenBeforeHead(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_HEAD:\\n\\t\\t\\t\\ttokenInHead(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_HEAD_NO_SCRIPT:\\n\\t\\t\\t\\ttokenInHeadNoScript(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.AFTER_HEAD:\\n\\t\\t\\t\\ttokenAfterHead(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.TEXT:\\n\\t\\t\\t\\tthis._insertCharacters(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_TABLE:\\n\\t\\t\\tcase InsertionMode.IN_TABLE_BODY:\\n\\t\\t\\tcase InsertionMode.IN_ROW:\\n\\t\\t\\t\\tcharacterInTable(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_COLUMN_GROUP:\\n\\t\\t\\t\\ttokenInColumnGroup(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.AFTER_BODY:\\n\\t\\t\\t\\ttokenAfterBody(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.AFTER_AFTER_BODY:\\n\\t\\t\\t\\ttokenAfterAfterBody(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t}\\n\\t}\\n\\t/** @internal */\\n\\tonComment(token) {\\n\\t\\tthis.skipNextNewLine = false;\\n\\t\\tif (this.currentNotInHTML) {\\n\\t\\t\\tappendComment(this, token);\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\tswitch (this.insertionMode) {\\n\\t\\t\\tcase InsertionMode.INITIAL:\\n\\t\\t\\tcase InsertionMode.BEFORE_HTML:\\n\\t\\t\\tcase InsertionMode.BEFORE_HEAD:\\n\\t\\t\\tcase InsertionMode.IN_HEAD:\\n\\t\\t\\tcase InsertionMode.IN_HEAD_NO_SCRIPT:\\n\\t\\t\\tcase InsertionMode.AFTER_HEAD:\\n\\t\\t\\tcase InsertionMode.IN_BODY:\\n\\t\\t\\tcase InsertionMode.IN_TABLE:\\n\\t\\t\\tcase InsertionMode.IN_CAPTION:\\n\\t\\t\\tcase InsertionMode.IN_COLUMN_GROUP:\\n\\t\\t\\tcase InsertionMode.IN_TABLE_BODY:\\n\\t\\t\\tcase InsertionMode.IN_ROW:\\n\\t\\t\\tcase InsertionMode.IN_CELL:\\n\\t\\t\\tcase InsertionMode.IN_SELECT:\\n\\t\\t\\tcase InsertionMode.IN_SELECT_IN_TABLE:\\n\\t\\t\\tcase InsertionMode.IN_TEMPLATE:\\n\\t\\t\\tcase InsertionMode.IN_FRAMESET:\\n\\t\\t\\tcase InsertionMode.AFTER_FRAMESET:\\n\\t\\t\\t\\tappendComment(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_TABLE_TEXT:\\n\\t\\t\\t\\ttokenInTableText(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.AFTER_BODY:\\n\\t\\t\\t\\tappendCommentToRootHtmlElement(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.AFTER_AFTER_BODY:\\n\\t\\t\\tcase InsertionMode.AFTER_AFTER_FRAMESET:\\n\\t\\t\\t\\tappendCommentToDocument(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t}\\n\\t}\\n\\t/** @internal */\\n\\tonDoctype(token) {\\n\\t\\tthis.skipNextNewLine = false;\\n\\t\\tswitch (this.insertionMode) {\\n\\t\\t\\tcase InsertionMode.INITIAL:\\n\\t\\t\\t\\tdoctypeInInitialMode(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.BEFORE_HEAD:\\n\\t\\t\\tcase InsertionMode.IN_HEAD:\\n\\t\\t\\tcase InsertionMode.IN_HEAD_NO_SCRIPT:\\n\\t\\t\\tcase InsertionMode.AFTER_HEAD:\\n\\t\\t\\t\\tthis._err(token, ERR.misplacedDoctype);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_TABLE_TEXT:\\n\\t\\t\\t\\ttokenInTableText(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t}\\n\\t}\\n\\t/** @internal */\\n\\tonStartTag(token) {\\n\\t\\tthis.skipNextNewLine = false;\\n\\t\\tthis.currentToken = token;\\n\\t\\tthis._processStartTag(token);\\n\\t\\tif (token.selfClosing && !token.ackSelfClosing) this._err(token, ERR.nonVoidHtmlElementStartTagWithTrailingSolidus);\\n\\t}\\n\\t/**\\n\\t* Processes a given start tag.\\n\\t*\\n\\t* `onStartTag` checks if a self-closing tag was recognized. When a token\\n\\t* is moved inbetween multiple insertion modes, this check for self-closing\\n\\t* could lead to false positives. To avoid this, `_processStartTag` is used\\n\\t* for nested calls.\\n\\t*\\n\\t* @param token The token to process.\\n\\t* @protected\\n\\t*/\\n\\t_processStartTag(token) {\\n\\t\\tif (this.shouldProcessStartTagTokenInForeignContent(token)) startTagInForeignContent(this, token);\\n\\t\\telse this._startTagOutsideForeignContent(token);\\n\\t}\\n\\t/** @protected */\\n\\t_startTagOutsideForeignContent(token) {\\n\\t\\tswitch (this.insertionMode) {\\n\\t\\t\\tcase InsertionMode.INITIAL:\\n\\t\\t\\t\\ttokenInInitialMode(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.BEFORE_HTML:\\n\\t\\t\\t\\tstartTagBeforeHtml(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.BEFORE_HEAD:\\n\\t\\t\\t\\tstartTagBeforeHead(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_HEAD:\\n\\t\\t\\t\\tstartTagInHead(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_HEAD_NO_SCRIPT:\\n\\t\\t\\t\\tstartTagInHeadNoScript(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.AFTER_HEAD:\\n\\t\\t\\t\\tstartTagAfterHead(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_BODY:\\n\\t\\t\\t\\tstartTagInBody(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_TABLE:\\n\\t\\t\\t\\tstartTagInTable(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_TABLE_TEXT:\\n\\t\\t\\t\\ttokenInTableText(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_CAPTION:\\n\\t\\t\\t\\tstartTagInCaption(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_COLUMN_GROUP:\\n\\t\\t\\t\\tstartTagInColumnGroup(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_TABLE_BODY:\\n\\t\\t\\t\\tstartTagInTableBody(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_ROW:\\n\\t\\t\\t\\tstartTagInRow(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_CELL:\\n\\t\\t\\t\\tstartTagInCell(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_SELECT:\\n\\t\\t\\t\\tstartTagInSelect(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_SELECT_IN_TABLE:\\n\\t\\t\\t\\tstartTagInSelectInTable(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_TEMPLATE:\\n\\t\\t\\t\\tstartTagInTemplate(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.AFTER_BODY:\\n\\t\\t\\t\\tstartTagAfterBody(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_FRAMESET:\\n\\t\\t\\t\\tstartTagInFrameset(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.AFTER_FRAMESET:\\n\\t\\t\\t\\tstartTagAfterFrameset(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.AFTER_AFTER_BODY:\\n\\t\\t\\t\\tstartTagAfterAfterBody(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.AFTER_AFTER_FRAMESET:\\n\\t\\t\\t\\tstartTagAfterAfterFrameset(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t}\\n\\t}\\n\\t/** @internal */\\n\\tonEndTag(token) {\\n\\t\\tthis.skipNextNewLine = false;\\n\\t\\tthis.currentToken = token;\\n\\t\\tif (this.currentNotInHTML) endTagInForeignContent(this, token);\\n\\t\\telse this._endTagOutsideForeignContent(token);\\n\\t}\\n\\t/** @protected */\\n\\t_endTagOutsideForeignContent(token) {\\n\\t\\tswitch (this.insertionMode) {\\n\\t\\t\\tcase InsertionMode.INITIAL:\\n\\t\\t\\t\\ttokenInInitialMode(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.BEFORE_HTML:\\n\\t\\t\\t\\tendTagBeforeHtml(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.BEFORE_HEAD:\\n\\t\\t\\t\\tendTagBeforeHead(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_HEAD:\\n\\t\\t\\t\\tendTagInHead(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_HEAD_NO_SCRIPT:\\n\\t\\t\\t\\tendTagInHeadNoScript(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.AFTER_HEAD:\\n\\t\\t\\t\\tendTagAfterHead(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_BODY:\\n\\t\\t\\t\\tendTagInBody(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.TEXT:\\n\\t\\t\\t\\tendTagInText(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_TABLE:\\n\\t\\t\\t\\tendTagInTable(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_TABLE_TEXT:\\n\\t\\t\\t\\ttokenInTableText(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_CAPTION:\\n\\t\\t\\t\\tendTagInCaption(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_COLUMN_GROUP:\\n\\t\\t\\t\\tendTagInColumnGroup(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_TABLE_BODY:\\n\\t\\t\\t\\tendTagInTableBody(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_ROW:\\n\\t\\t\\t\\tendTagInRow(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_CELL:\\n\\t\\t\\t\\tendTagInCell(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_SELECT:\\n\\t\\t\\t\\tendTagInSelect(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_SELECT_IN_TABLE:\\n\\t\\t\\t\\tendTagInSelectInTable(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_TEMPLATE:\\n\\t\\t\\t\\tendTagInTemplate(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.AFTER_BODY:\\n\\t\\t\\t\\tendTagAfterBody(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_FRAMESET:\\n\\t\\t\\t\\tendTagInFrameset(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.AFTER_FRAMESET:\\n\\t\\t\\t\\tendTagAfterFrameset(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.AFTER_AFTER_BODY:\\n\\t\\t\\t\\ttokenAfterAfterBody(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t}\\n\\t}\\n\\t/** @internal */\\n\\tonEof(token) {\\n\\t\\tswitch (this.insertionMode) {\\n\\t\\t\\tcase InsertionMode.INITIAL:\\n\\t\\t\\t\\ttokenInInitialMode(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.BEFORE_HTML:\\n\\t\\t\\t\\ttokenBeforeHtml(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.BEFORE_HEAD:\\n\\t\\t\\t\\ttokenBeforeHead(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_HEAD:\\n\\t\\t\\t\\ttokenInHead(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_HEAD_NO_SCRIPT:\\n\\t\\t\\t\\ttokenInHeadNoScript(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.AFTER_HEAD:\\n\\t\\t\\t\\ttokenAfterHead(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_BODY:\\n\\t\\t\\tcase InsertionMode.IN_TABLE:\\n\\t\\t\\tcase InsertionMode.IN_CAPTION:\\n\\t\\t\\tcase InsertionMode.IN_COLUMN_GROUP:\\n\\t\\t\\tcase InsertionMode.IN_TABLE_BODY:\\n\\t\\t\\tcase InsertionMode.IN_ROW:\\n\\t\\t\\tcase InsertionMode.IN_CELL:\\n\\t\\t\\tcase InsertionMode.IN_SELECT:\\n\\t\\t\\tcase InsertionMode.IN_SELECT_IN_TABLE:\\n\\t\\t\\t\\teofInBody(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.TEXT:\\n\\t\\t\\t\\teofInText(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_TABLE_TEXT:\\n\\t\\t\\t\\ttokenInTableText(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_TEMPLATE:\\n\\t\\t\\t\\teofInTemplate(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.AFTER_BODY:\\n\\t\\t\\tcase InsertionMode.IN_FRAMESET:\\n\\t\\t\\tcase InsertionMode.AFTER_FRAMESET:\\n\\t\\t\\tcase InsertionMode.AFTER_AFTER_BODY:\\n\\t\\t\\tcase InsertionMode.AFTER_AFTER_FRAMESET:\\n\\t\\t\\t\\tstopParsing(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t}\\n\\t}\\n\\t/** @internal */\\n\\tonWhitespaceCharacter(token) {\\n\\t\\tif (this.skipNextNewLine) {\\n\\t\\t\\tthis.skipNextNewLine = false;\\n\\t\\t\\tif (token.chars.charCodeAt(0) === CODE_POINTS.LINE_FEED) {\\n\\t\\t\\t\\tif (token.chars.length === 1) return;\\n\\t\\t\\t\\ttoken.chars = token.chars.substr(1);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif (this.tokenizer.inForeignNode) {\\n\\t\\t\\tthis._insertCharacters(token);\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\tswitch (this.insertionMode) {\\n\\t\\t\\tcase InsertionMode.IN_HEAD:\\n\\t\\t\\tcase InsertionMode.IN_HEAD_NO_SCRIPT:\\n\\t\\t\\tcase InsertionMode.AFTER_HEAD:\\n\\t\\t\\tcase InsertionMode.TEXT:\\n\\t\\t\\tcase InsertionMode.IN_COLUMN_GROUP:\\n\\t\\t\\tcase InsertionMode.IN_SELECT:\\n\\t\\t\\tcase InsertionMode.IN_SELECT_IN_TABLE:\\n\\t\\t\\tcase InsertionMode.IN_FRAMESET:\\n\\t\\t\\tcase InsertionMode.AFTER_FRAMESET:\\n\\t\\t\\t\\tthis._insertCharacters(token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_BODY:\\n\\t\\t\\tcase InsertionMode.IN_CAPTION:\\n\\t\\t\\tcase InsertionMode.IN_CELL:\\n\\t\\t\\tcase InsertionMode.IN_TEMPLATE:\\n\\t\\t\\tcase InsertionMode.AFTER_BODY:\\n\\t\\t\\tcase InsertionMode.AFTER_AFTER_BODY:\\n\\t\\t\\tcase InsertionMode.AFTER_AFTER_FRAMESET:\\n\\t\\t\\t\\twhitespaceCharacterInBody(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_TABLE:\\n\\t\\t\\tcase InsertionMode.IN_TABLE_BODY:\\n\\t\\t\\tcase InsertionMode.IN_ROW:\\n\\t\\t\\t\\tcharacterInTable(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase InsertionMode.IN_TABLE_TEXT:\\n\\t\\t\\t\\twhitespaceCharacterInTableText(this, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t}\\n\\t}\\n};\\nfunction aaObtainFormattingElementEntry(p, token) {\\n\\tlet formattingElementEntry = p.activeFormattingElements.getElementEntryInScopeWithTagName(token.tagName);\\n\\tif (formattingElementEntry) {\\n\\t\\tif (!p.openElements.contains(formattingElementEntry.element)) {\\n\\t\\t\\tp.activeFormattingElements.removeEntry(formattingElementEntry);\\n\\t\\t\\tformattingElementEntry = null;\\n\\t\\t} else if (!p.openElements.hasInScope(token.tagID)) formattingElementEntry = null;\\n\\t} else genericEndTagInBody(p, token);\\n\\treturn formattingElementEntry;\\n}\\nfunction aaObtainFurthestBlock(p, formattingElementEntry) {\\n\\tlet furthestBlock = null;\\n\\tlet idx = p.openElements.stackTop;\\n\\tfor (; idx >= 0; idx--) {\\n\\t\\tconst element = p.openElements.items[idx];\\n\\t\\tif (element === formattingElementEntry.element) break;\\n\\t\\tif (p._isSpecialElement(element, p.openElements.tagIDs[idx])) furthestBlock = element;\\n\\t}\\n\\tif (!furthestBlock) {\\n\\t\\tp.openElements.shortenToLength(Math.max(idx, 0));\\n\\t\\tp.activeFormattingElements.removeEntry(formattingElementEntry);\\n\\t}\\n\\treturn furthestBlock;\\n}\\nfunction aaInnerLoop(p, furthestBlock, formattingElement) {\\n\\tlet lastElement = furthestBlock;\\n\\tlet nextElement = p.openElements.getCommonAncestor(furthestBlock);\\n\\tfor (let i = 0, element = nextElement; element !== formattingElement; i++, element = nextElement) {\\n\\t\\tnextElement = p.openElements.getCommonAncestor(element);\\n\\t\\tconst elementEntry = p.activeFormattingElements.getElementEntry(element);\\n\\t\\tconst counterOverflow = elementEntry && i >= AA_INNER_LOOP_ITER;\\n\\t\\tif (!elementEntry || counterOverflow) {\\n\\t\\t\\tif (counterOverflow) p.activeFormattingElements.removeEntry(elementEntry);\\n\\t\\t\\tp.openElements.remove(element);\\n\\t\\t} else {\\n\\t\\t\\telement = aaRecreateElementFromEntry(p, elementEntry);\\n\\t\\t\\tif (lastElement === furthestBlock) p.activeFormattingElements.bookmark = elementEntry;\\n\\t\\t\\tp.treeAdapter.detachNode(lastElement);\\n\\t\\t\\tp.treeAdapter.appendChild(element, lastElement);\\n\\t\\t\\tlastElement = element;\\n\\t\\t}\\n\\t}\\n\\treturn lastElement;\\n}\\nfunction aaRecreateElementFromEntry(p, elementEntry) {\\n\\tconst ns = p.treeAdapter.getNamespaceURI(elementEntry.element);\\n\\tconst newElement = p.treeAdapter.createElement(elementEntry.token.tagName, ns, elementEntry.token.attrs);\\n\\tp.openElements.replace(elementEntry.element, newElement);\\n\\telementEntry.element = newElement;\\n\\treturn newElement;\\n}\\nfunction aaInsertLastNodeInCommonAncestor(p, commonAncestor, lastElement) {\\n\\tconst tid = getTagID(p.treeAdapter.getTagName(commonAncestor));\\n\\tif (p._isElementCausesFosterParenting(tid)) p._fosterParentElement(lastElement);\\n\\telse {\\n\\t\\tconst ns = p.treeAdapter.getNamespaceURI(commonAncestor);\\n\\t\\tif (tid === TAG_ID.TEMPLATE && ns === NS.HTML) commonAncestor = p.treeAdapter.getTemplateContent(commonAncestor);\\n\\t\\tp.treeAdapter.appendChild(commonAncestor, lastElement);\\n\\t}\\n}\\nfunction aaReplaceFormattingElement(p, furthestBlock, formattingElementEntry) {\\n\\tconst ns = p.treeAdapter.getNamespaceURI(formattingElementEntry.element);\\n\\tconst { token } = formattingElementEntry;\\n\\tconst newElement = p.treeAdapter.createElement(token.tagName, ns, token.attrs);\\n\\tp._adoptNodes(furthestBlock, newElement);\\n\\tp.treeAdapter.appendChild(furthestBlock, newElement);\\n\\tp.activeFormattingElements.insertElementAfterBookmark(newElement, token);\\n\\tp.activeFormattingElements.removeEntry(formattingElementEntry);\\n\\tp.openElements.remove(formattingElementEntry.element);\\n\\tp.openElements.insertAfter(furthestBlock, newElement, token.tagID);\\n}\\nfunction callAdoptionAgency(p, token) {\\n\\tfor (let i = 0; i < AA_OUTER_LOOP_ITER; i++) {\\n\\t\\tconst formattingElementEntry = aaObtainFormattingElementEntry(p, token);\\n\\t\\tif (!formattingElementEntry) break;\\n\\t\\tconst furthestBlock = aaObtainFurthestBlock(p, formattingElementEntry);\\n\\t\\tif (!furthestBlock) break;\\n\\t\\tp.activeFormattingElements.bookmark = formattingElementEntry;\\n\\t\\tconst lastElement = aaInnerLoop(p, furthestBlock, formattingElementEntry.element);\\n\\t\\tconst commonAncestor = p.openElements.getCommonAncestor(formattingElementEntry.element);\\n\\t\\tp.treeAdapter.detachNode(lastElement);\\n\\t\\tif (commonAncestor) aaInsertLastNodeInCommonAncestor(p, commonAncestor, lastElement);\\n\\t\\taaReplaceFormattingElement(p, furthestBlock, formattingElementEntry);\\n\\t}\\n}\\nfunction appendComment(p, token) {\\n\\tp._appendCommentNode(token, p.openElements.currentTmplContentOrNode);\\n}\\nfunction appendCommentToRootHtmlElement(p, token) {\\n\\tp._appendCommentNode(token, p.openElements.items[0]);\\n}\\nfunction appendCommentToDocument(p, token) {\\n\\tp._appendCommentNode(token, p.document);\\n}\\nfunction stopParsing(p, token) {\\n\\tp.stopped = true;\\n\\tif (token.location) {\\n\\t\\tconst target = p.fragmentContext ? 0 : 2;\\n\\t\\tfor (let i = p.openElements.stackTop; i >= target; i--) p._setEndLocation(p.openElements.items[i], token);\\n\\t\\tif (!p.fragmentContext && p.openElements.stackTop >= 0) {\\n\\t\\t\\tconst htmlElement = p.openElements.items[0];\\n\\t\\t\\tconst htmlLocation = p.treeAdapter.getNodeSourceCodeLocation(htmlElement);\\n\\t\\t\\tif (htmlLocation && !htmlLocation.endTag) {\\n\\t\\t\\t\\tp._setEndLocation(htmlElement, token);\\n\\t\\t\\t\\tif (p.openElements.stackTop >= 1) {\\n\\t\\t\\t\\t\\tconst bodyElement = p.openElements.items[1];\\n\\t\\t\\t\\t\\tconst bodyLocation = p.treeAdapter.getNodeSourceCodeLocation(bodyElement);\\n\\t\\t\\t\\t\\tif (bodyLocation && !bodyLocation.endTag) p._setEndLocation(bodyElement, token);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n}\\nfunction doctypeInInitialMode(p, token) {\\n\\tp._setDocumentType(token);\\n\\tconst mode = token.forceQuirks ? DOCUMENT_MODE.QUIRKS : getDocumentMode(token);\\n\\tif (!isConforming(token)) p._err(token, ERR.nonConformingDoctype);\\n\\tp.treeAdapter.setDocumentMode(p.document, mode);\\n\\tp.insertionMode = InsertionMode.BEFORE_HTML;\\n}\\nfunction tokenInInitialMode(p, token) {\\n\\tp._err(token, ERR.missingDoctype, true);\\n\\tp.treeAdapter.setDocumentMode(p.document, DOCUMENT_MODE.QUIRKS);\\n\\tp.insertionMode = InsertionMode.BEFORE_HTML;\\n\\tp._processToken(token);\\n}\\nfunction startTagBeforeHtml(p, token) {\\n\\tif (token.tagID === TAG_ID.HTML) {\\n\\t\\tp._insertElement(token, NS.HTML);\\n\\t\\tp.insertionMode = InsertionMode.BEFORE_HEAD;\\n\\t} else tokenBeforeHtml(p, token);\\n}\\nfunction endTagBeforeHtml(p, token) {\\n\\tconst tn = token.tagID;\\n\\tif (tn === TAG_ID.HTML || tn === TAG_ID.HEAD || tn === TAG_ID.BODY || tn === TAG_ID.BR) tokenBeforeHtml(p, token);\\n}\\nfunction tokenBeforeHtml(p, token) {\\n\\tp._insertFakeRootElement();\\n\\tp.insertionMode = InsertionMode.BEFORE_HEAD;\\n\\tp._processToken(token);\\n}\\nfunction startTagBeforeHead(p, token) {\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.HTML:\\n\\t\\t\\tstartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.HEAD:\\n\\t\\t\\tp._insertElement(token, NS.HTML);\\n\\t\\t\\tp.headElement = p.openElements.current;\\n\\t\\t\\tp.insertionMode = InsertionMode.IN_HEAD;\\n\\t\\t\\tbreak;\\n\\t\\tdefault: tokenBeforeHead(p, token);\\n\\t}\\n}\\nfunction endTagBeforeHead(p, token) {\\n\\tconst tn = token.tagID;\\n\\tif (tn === TAG_ID.HEAD || tn === TAG_ID.BODY || tn === TAG_ID.HTML || tn === TAG_ID.BR) tokenBeforeHead(p, token);\\n\\telse p._err(token, ERR.endTagWithoutMatchingOpenElement);\\n}\\nfunction tokenBeforeHead(p, token) {\\n\\tp._insertFakeElement(TAG_NAMES.HEAD, TAG_ID.HEAD);\\n\\tp.headElement = p.openElements.current;\\n\\tp.insertionMode = InsertionMode.IN_HEAD;\\n\\tp._processToken(token);\\n}\\nfunction startTagInHead(p, token) {\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.HTML:\\n\\t\\t\\tstartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.BASE:\\n\\t\\tcase TAG_ID.BASEFONT:\\n\\t\\tcase TAG_ID.BGSOUND:\\n\\t\\tcase TAG_ID.LINK:\\n\\t\\tcase TAG_ID.META:\\n\\t\\t\\tp._appendElement(token, NS.HTML);\\n\\t\\t\\ttoken.ackSelfClosing = true;\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.TITLE:\\n\\t\\t\\tp._switchToTextParsing(token, TokenizerMode.RCDATA);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.NOSCRIPT:\\n\\t\\t\\tif (p.options.scriptingEnabled) p._switchToTextParsing(token, TokenizerMode.RAWTEXT);\\n\\t\\t\\telse {\\n\\t\\t\\t\\tp._insertElement(token, NS.HTML);\\n\\t\\t\\t\\tp.insertionMode = InsertionMode.IN_HEAD_NO_SCRIPT;\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.NOFRAMES:\\n\\t\\tcase TAG_ID.STYLE:\\n\\t\\t\\tp._switchToTextParsing(token, TokenizerMode.RAWTEXT);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.SCRIPT:\\n\\t\\t\\tp._switchToTextParsing(token, TokenizerMode.SCRIPT_DATA);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.TEMPLATE:\\n\\t\\t\\tp._insertTemplate(token);\\n\\t\\t\\tp.activeFormattingElements.insertMarker();\\n\\t\\t\\tp.framesetOk = false;\\n\\t\\t\\tp.insertionMode = InsertionMode.IN_TEMPLATE;\\n\\t\\t\\tp.tmplInsertionModeStack.unshift(InsertionMode.IN_TEMPLATE);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.HEAD:\\n\\t\\t\\tp._err(token, ERR.misplacedStartTagForHeadElement);\\n\\t\\t\\tbreak;\\n\\t\\tdefault: tokenInHead(p, token);\\n\\t}\\n}\\nfunction endTagInHead(p, token) {\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.HEAD:\\n\\t\\t\\tp.openElements.pop();\\n\\t\\t\\tp.insertionMode = InsertionMode.AFTER_HEAD;\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.BODY:\\n\\t\\tcase TAG_ID.BR:\\n\\t\\tcase TAG_ID.HTML:\\n\\t\\t\\ttokenInHead(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.TEMPLATE:\\n\\t\\t\\ttemplateEndTagInHead(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tdefault: p._err(token, ERR.endTagWithoutMatchingOpenElement);\\n\\t}\\n}\\nfunction templateEndTagInHead(p, token) {\\n\\tif (p.openElements.tmplCount > 0) {\\n\\t\\tp.openElements.generateImpliedEndTagsThoroughly();\\n\\t\\tif (p.openElements.currentTagId !== TAG_ID.TEMPLATE) p._err(token, ERR.closingOfElementWithOpenChildElements);\\n\\t\\tp.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE);\\n\\t\\tp.activeFormattingElements.clearToLastMarker();\\n\\t\\tp.tmplInsertionModeStack.shift();\\n\\t\\tp._resetInsertionMode();\\n\\t} else p._err(token, ERR.endTagWithoutMatchingOpenElement);\\n}\\nfunction tokenInHead(p, token) {\\n\\tp.openElements.pop();\\n\\tp.insertionMode = InsertionMode.AFTER_HEAD;\\n\\tp._processToken(token);\\n}\\nfunction startTagInHeadNoScript(p, token) {\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.HTML:\\n\\t\\t\\tstartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.BASEFONT:\\n\\t\\tcase TAG_ID.BGSOUND:\\n\\t\\tcase TAG_ID.HEAD:\\n\\t\\tcase TAG_ID.LINK:\\n\\t\\tcase TAG_ID.META:\\n\\t\\tcase TAG_ID.NOFRAMES:\\n\\t\\tcase TAG_ID.STYLE:\\n\\t\\t\\tstartTagInHead(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.NOSCRIPT:\\n\\t\\t\\tp._err(token, ERR.nestedNoscriptInHead);\\n\\t\\t\\tbreak;\\n\\t\\tdefault: tokenInHeadNoScript(p, token);\\n\\t}\\n}\\nfunction endTagInHeadNoScript(p, token) {\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.NOSCRIPT:\\n\\t\\t\\tp.openElements.pop();\\n\\t\\t\\tp.insertionMode = InsertionMode.IN_HEAD;\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.BR:\\n\\t\\t\\ttokenInHeadNoScript(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tdefault: p._err(token, ERR.endTagWithoutMatchingOpenElement);\\n\\t}\\n}\\nfunction tokenInHeadNoScript(p, token) {\\n\\tconst errCode = token.type === TokenType.EOF ? ERR.openElementsLeftAfterEof : ERR.disallowedContentInNoscriptInHead;\\n\\tp._err(token, errCode);\\n\\tp.openElements.pop();\\n\\tp.insertionMode = InsertionMode.IN_HEAD;\\n\\tp._processToken(token);\\n}\\nfunction startTagAfterHead(p, token) {\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.HTML:\\n\\t\\t\\tstartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.BODY:\\n\\t\\t\\tp._insertElement(token, NS.HTML);\\n\\t\\t\\tp.framesetOk = false;\\n\\t\\t\\tp.insertionMode = InsertionMode.IN_BODY;\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.FRAMESET:\\n\\t\\t\\tp._insertElement(token, NS.HTML);\\n\\t\\t\\tp.insertionMode = InsertionMode.IN_FRAMESET;\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.BASE:\\n\\t\\tcase TAG_ID.BASEFONT:\\n\\t\\tcase TAG_ID.BGSOUND:\\n\\t\\tcase TAG_ID.LINK:\\n\\t\\tcase TAG_ID.META:\\n\\t\\tcase TAG_ID.NOFRAMES:\\n\\t\\tcase TAG_ID.SCRIPT:\\n\\t\\tcase TAG_ID.STYLE:\\n\\t\\tcase TAG_ID.TEMPLATE:\\n\\t\\tcase TAG_ID.TITLE:\\n\\t\\t\\tp._err(token, ERR.abandonedHeadElementChild);\\n\\t\\t\\tp.openElements.push(p.headElement, TAG_ID.HEAD);\\n\\t\\t\\tstartTagInHead(p, token);\\n\\t\\t\\tp.openElements.remove(p.headElement);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.HEAD:\\n\\t\\t\\tp._err(token, ERR.misplacedStartTagForHeadElement);\\n\\t\\t\\tbreak;\\n\\t\\tdefault: tokenAfterHead(p, token);\\n\\t}\\n}\\nfunction endTagAfterHead(p, token) {\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.BODY:\\n\\t\\tcase TAG_ID.HTML:\\n\\t\\tcase TAG_ID.BR:\\n\\t\\t\\ttokenAfterHead(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.TEMPLATE:\\n\\t\\t\\ttemplateEndTagInHead(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tdefault: p._err(token, ERR.endTagWithoutMatchingOpenElement);\\n\\t}\\n}\\nfunction tokenAfterHead(p, token) {\\n\\tp._insertFakeElement(TAG_NAMES.BODY, TAG_ID.BODY);\\n\\tp.insertionMode = InsertionMode.IN_BODY;\\n\\tmodeInBody(p, token);\\n}\\nfunction modeInBody(p, token) {\\n\\tswitch (token.type) {\\n\\t\\tcase TokenType.CHARACTER:\\n\\t\\t\\tcharacterInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TokenType.WHITESPACE_CHARACTER:\\n\\t\\t\\twhitespaceCharacterInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TokenType.COMMENT:\\n\\t\\t\\tappendComment(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TokenType.START_TAG:\\n\\t\\t\\tstartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TokenType.END_TAG:\\n\\t\\t\\tendTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TokenType.EOF:\\n\\t\\t\\teofInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tdefault:\\n\\t}\\n}\\nfunction whitespaceCharacterInBody(p, token) {\\n\\tp._reconstructActiveFormattingElements();\\n\\tp._insertCharacters(token);\\n}\\nfunction characterInBody(p, token) {\\n\\tp._reconstructActiveFormattingElements();\\n\\tp._insertCharacters(token);\\n\\tp.framesetOk = false;\\n}\\nfunction htmlStartTagInBody(p, token) {\\n\\tif (p.openElements.tmplCount === 0) p.treeAdapter.adoptAttributes(p.openElements.items[0], token.attrs);\\n}\\nfunction bodyStartTagInBody(p, token) {\\n\\tconst bodyElement = p.openElements.tryPeekProperlyNestedBodyElement();\\n\\tif (bodyElement && p.openElements.tmplCount === 0) {\\n\\t\\tp.framesetOk = false;\\n\\t\\tp.treeAdapter.adoptAttributes(bodyElement, token.attrs);\\n\\t}\\n}\\nfunction framesetStartTagInBody(p, token) {\\n\\tconst bodyElement = p.openElements.tryPeekProperlyNestedBodyElement();\\n\\tif (p.framesetOk && bodyElement) {\\n\\t\\tp.treeAdapter.detachNode(bodyElement);\\n\\t\\tp.openElements.popAllUpToHtmlElement();\\n\\t\\tp._insertElement(token, NS.HTML);\\n\\t\\tp.insertionMode = InsertionMode.IN_FRAMESET;\\n\\t}\\n}\\nfunction addressStartTagInBody(p, token) {\\n\\tif (p.openElements.hasInButtonScope(TAG_ID.P)) p._closePElement();\\n\\tp._insertElement(token, NS.HTML);\\n}\\nfunction numberedHeaderStartTagInBody(p, token) {\\n\\tif (p.openElements.hasInButtonScope(TAG_ID.P)) p._closePElement();\\n\\tif (p.openElements.currentTagId !== void 0 && NUMBERED_HEADERS.has(p.openElements.currentTagId)) p.openElements.pop();\\n\\tp._insertElement(token, NS.HTML);\\n}\\nfunction preStartTagInBody(p, token) {\\n\\tif (p.openElements.hasInButtonScope(TAG_ID.P)) p._closePElement();\\n\\tp._insertElement(token, NS.HTML);\\n\\tp.skipNextNewLine = true;\\n\\tp.framesetOk = false;\\n}\\nfunction formStartTagInBody(p, token) {\\n\\tconst inTemplate = p.openElements.tmplCount > 0;\\n\\tif (!p.formElement || inTemplate) {\\n\\t\\tif (p.openElements.hasInButtonScope(TAG_ID.P)) p._closePElement();\\n\\t\\tp._insertElement(token, NS.HTML);\\n\\t\\tif (!inTemplate) p.formElement = p.openElements.current;\\n\\t}\\n}\\nfunction listItemStartTagInBody(p, token) {\\n\\tp.framesetOk = false;\\n\\tconst tn = token.tagID;\\n\\tfor (let i = p.openElements.stackTop; i >= 0; i--) {\\n\\t\\tconst elementId = p.openElements.tagIDs[i];\\n\\t\\tif (tn === TAG_ID.LI && elementId === TAG_ID.LI || (tn === TAG_ID.DD || tn === TAG_ID.DT) && (elementId === TAG_ID.DD || elementId === TAG_ID.DT)) {\\n\\t\\t\\tp.openElements.generateImpliedEndTagsWithExclusion(elementId);\\n\\t\\t\\tp.openElements.popUntilTagNamePopped(elementId);\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\tif (elementId !== TAG_ID.ADDRESS && elementId !== TAG_ID.DIV && elementId !== TAG_ID.P && p._isSpecialElement(p.openElements.items[i], elementId)) break;\\n\\t}\\n\\tif (p.openElements.hasInButtonScope(TAG_ID.P)) p._closePElement();\\n\\tp._insertElement(token, NS.HTML);\\n}\\nfunction plaintextStartTagInBody(p, token) {\\n\\tif (p.openElements.hasInButtonScope(TAG_ID.P)) p._closePElement();\\n\\tp._insertElement(token, NS.HTML);\\n\\tp.tokenizer.state = TokenizerMode.PLAINTEXT;\\n}\\nfunction buttonStartTagInBody(p, token) {\\n\\tif (p.openElements.hasInScope(TAG_ID.BUTTON)) {\\n\\t\\tp.openElements.generateImpliedEndTags();\\n\\t\\tp.openElements.popUntilTagNamePopped(TAG_ID.BUTTON);\\n\\t}\\n\\tp._reconstructActiveFormattingElements();\\n\\tp._insertElement(token, NS.HTML);\\n\\tp.framesetOk = false;\\n}\\nfunction aStartTagInBody(p, token) {\\n\\tconst activeElementEntry = p.activeFormattingElements.getElementEntryInScopeWithTagName(TAG_NAMES.A);\\n\\tif (activeElementEntry) {\\n\\t\\tcallAdoptionAgency(p, token);\\n\\t\\tp.openElements.remove(activeElementEntry.element);\\n\\t\\tp.activeFormattingElements.removeEntry(activeElementEntry);\\n\\t}\\n\\tp._reconstructActiveFormattingElements();\\n\\tp._insertElement(token, NS.HTML);\\n\\tp.activeFormattingElements.pushElement(p.openElements.current, token);\\n}\\nfunction bStartTagInBody(p, token) {\\n\\tp._reconstructActiveFormattingElements();\\n\\tp._insertElement(token, NS.HTML);\\n\\tp.activeFormattingElements.pushElement(p.openElements.current, token);\\n}\\nfunction nobrStartTagInBody(p, token) {\\n\\tp._reconstructActiveFormattingElements();\\n\\tif (p.openElements.hasInScope(TAG_ID.NOBR)) {\\n\\t\\tcallAdoptionAgency(p, token);\\n\\t\\tp._reconstructActiveFormattingElements();\\n\\t}\\n\\tp._insertElement(token, NS.HTML);\\n\\tp.activeFormattingElements.pushElement(p.openElements.current, token);\\n}\\nfunction appletStartTagInBody(p, token) {\\n\\tp._reconstructActiveFormattingElements();\\n\\tp._insertElement(token, NS.HTML);\\n\\tp.activeFormattingElements.insertMarker();\\n\\tp.framesetOk = false;\\n}\\nfunction tableStartTagInBody(p, token) {\\n\\tif (p.treeAdapter.getDocumentMode(p.document) !== DOCUMENT_MODE.QUIRKS && p.openElements.hasInButtonScope(TAG_ID.P)) p._closePElement();\\n\\tp._insertElement(token, NS.HTML);\\n\\tp.framesetOk = false;\\n\\tp.insertionMode = InsertionMode.IN_TABLE;\\n}\\nfunction areaStartTagInBody(p, token) {\\n\\tp._reconstructActiveFormattingElements();\\n\\tp._appendElement(token, NS.HTML);\\n\\tp.framesetOk = false;\\n\\ttoken.ackSelfClosing = true;\\n}\\nfunction isHiddenInput(token) {\\n\\tconst inputType = getTokenAttr(token, ATTRS.TYPE);\\n\\treturn inputType != null && inputType.toLowerCase() === HIDDEN_INPUT_TYPE;\\n}\\nfunction inputStartTagInBody(p, token) {\\n\\tp._reconstructActiveFormattingElements();\\n\\tp._appendElement(token, NS.HTML);\\n\\tif (!isHiddenInput(token)) p.framesetOk = false;\\n\\ttoken.ackSelfClosing = true;\\n}\\nfunction paramStartTagInBody(p, token) {\\n\\tp._appendElement(token, NS.HTML);\\n\\ttoken.ackSelfClosing = true;\\n}\\nfunction hrStartTagInBody(p, token) {\\n\\tif (p.openElements.hasInButtonScope(TAG_ID.P)) p._closePElement();\\n\\tp._appendElement(token, NS.HTML);\\n\\tp.framesetOk = false;\\n\\ttoken.ackSelfClosing = true;\\n}\\nfunction imageStartTagInBody(p, token) {\\n\\ttoken.tagName = TAG_NAMES.IMG;\\n\\ttoken.tagID = TAG_ID.IMG;\\n\\tareaStartTagInBody(p, token);\\n}\\nfunction textareaStartTagInBody(p, token) {\\n\\tp._insertElement(token, NS.HTML);\\n\\tp.skipNextNewLine = true;\\n\\tp.tokenizer.state = TokenizerMode.RCDATA;\\n\\tp.originalInsertionMode = p.insertionMode;\\n\\tp.framesetOk = false;\\n\\tp.insertionMode = InsertionMode.TEXT;\\n}\\nfunction xmpStartTagInBody(p, token) {\\n\\tif (p.openElements.hasInButtonScope(TAG_ID.P)) p._closePElement();\\n\\tp._reconstructActiveFormattingElements();\\n\\tp.framesetOk = false;\\n\\tp._switchToTextParsing(token, TokenizerMode.RAWTEXT);\\n}\\nfunction iframeStartTagInBody(p, token) {\\n\\tp.framesetOk = false;\\n\\tp._switchToTextParsing(token, TokenizerMode.RAWTEXT);\\n}\\nfunction rawTextStartTagInBody(p, token) {\\n\\tp._switchToTextParsing(token, TokenizerMode.RAWTEXT);\\n}\\nfunction selectStartTagInBody(p, token) {\\n\\tp._reconstructActiveFormattingElements();\\n\\tp._insertElement(token, NS.HTML);\\n\\tp.framesetOk = false;\\n\\tp.insertionMode = p.insertionMode === InsertionMode.IN_TABLE || p.insertionMode === InsertionMode.IN_CAPTION || p.insertionMode === InsertionMode.IN_TABLE_BODY || p.insertionMode === InsertionMode.IN_ROW || p.insertionMode === InsertionMode.IN_CELL ? InsertionMode.IN_SELECT_IN_TABLE : InsertionMode.IN_SELECT;\\n}\\nfunction optgroupStartTagInBody(p, token) {\\n\\tif (p.openElements.currentTagId === TAG_ID.OPTION) p.openElements.pop();\\n\\tp._reconstructActiveFormattingElements();\\n\\tp._insertElement(token, NS.HTML);\\n}\\nfunction rbStartTagInBody(p, token) {\\n\\tif (p.openElements.hasInScope(TAG_ID.RUBY)) p.openElements.generateImpliedEndTags();\\n\\tp._insertElement(token, NS.HTML);\\n}\\nfunction rtStartTagInBody(p, token) {\\n\\tif (p.openElements.hasInScope(TAG_ID.RUBY)) p.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.RTC);\\n\\tp._insertElement(token, NS.HTML);\\n}\\nfunction mathStartTagInBody(p, token) {\\n\\tp._reconstructActiveFormattingElements();\\n\\tadjustTokenMathMLAttrs(token);\\n\\tadjustTokenXMLAttrs(token);\\n\\tif (token.selfClosing) p._appendElement(token, NS.MATHML);\\n\\telse p._insertElement(token, NS.MATHML);\\n\\ttoken.ackSelfClosing = true;\\n}\\nfunction svgStartTagInBody(p, token) {\\n\\tp._reconstructActiveFormattingElements();\\n\\tadjustTokenSVGAttrs(token);\\n\\tadjustTokenXMLAttrs(token);\\n\\tif (token.selfClosing) p._appendElement(token, NS.SVG);\\n\\telse p._insertElement(token, NS.SVG);\\n\\ttoken.ackSelfClosing = true;\\n}\\nfunction genericStartTagInBody(p, token) {\\n\\tp._reconstructActiveFormattingElements();\\n\\tp._insertElement(token, NS.HTML);\\n}\\nfunction startTagInBody(p, token) {\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.I:\\n\\t\\tcase TAG_ID.S:\\n\\t\\tcase TAG_ID.B:\\n\\t\\tcase TAG_ID.U:\\n\\t\\tcase TAG_ID.EM:\\n\\t\\tcase TAG_ID.TT:\\n\\t\\tcase TAG_ID.BIG:\\n\\t\\tcase TAG_ID.CODE:\\n\\t\\tcase TAG_ID.FONT:\\n\\t\\tcase TAG_ID.SMALL:\\n\\t\\tcase TAG_ID.STRIKE:\\n\\t\\tcase TAG_ID.STRONG:\\n\\t\\t\\tbStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.A:\\n\\t\\t\\taStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.H1:\\n\\t\\tcase TAG_ID.H2:\\n\\t\\tcase TAG_ID.H3:\\n\\t\\tcase TAG_ID.H4:\\n\\t\\tcase TAG_ID.H5:\\n\\t\\tcase TAG_ID.H6:\\n\\t\\t\\tnumberedHeaderStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.P:\\n\\t\\tcase TAG_ID.DL:\\n\\t\\tcase TAG_ID.OL:\\n\\t\\tcase TAG_ID.UL:\\n\\t\\tcase TAG_ID.DIV:\\n\\t\\tcase TAG_ID.DIR:\\n\\t\\tcase TAG_ID.NAV:\\n\\t\\tcase TAG_ID.MAIN:\\n\\t\\tcase TAG_ID.MENU:\\n\\t\\tcase TAG_ID.ASIDE:\\n\\t\\tcase TAG_ID.CENTER:\\n\\t\\tcase TAG_ID.FIGURE:\\n\\t\\tcase TAG_ID.FOOTER:\\n\\t\\tcase TAG_ID.HEADER:\\n\\t\\tcase TAG_ID.HGROUP:\\n\\t\\tcase TAG_ID.DIALOG:\\n\\t\\tcase TAG_ID.DETAILS:\\n\\t\\tcase TAG_ID.ADDRESS:\\n\\t\\tcase TAG_ID.ARTICLE:\\n\\t\\tcase TAG_ID.SEARCH:\\n\\t\\tcase TAG_ID.SECTION:\\n\\t\\tcase TAG_ID.SUMMARY:\\n\\t\\tcase TAG_ID.FIELDSET:\\n\\t\\tcase TAG_ID.BLOCKQUOTE:\\n\\t\\tcase TAG_ID.FIGCAPTION:\\n\\t\\t\\taddressStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.LI:\\n\\t\\tcase TAG_ID.DD:\\n\\t\\tcase TAG_ID.DT:\\n\\t\\t\\tlistItemStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.BR:\\n\\t\\tcase TAG_ID.IMG:\\n\\t\\tcase TAG_ID.WBR:\\n\\t\\tcase TAG_ID.AREA:\\n\\t\\tcase TAG_ID.EMBED:\\n\\t\\tcase TAG_ID.KEYGEN:\\n\\t\\t\\tareaStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.HR:\\n\\t\\t\\thrStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.RB:\\n\\t\\tcase TAG_ID.RTC:\\n\\t\\t\\trbStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.RT:\\n\\t\\tcase TAG_ID.RP:\\n\\t\\t\\trtStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.PRE:\\n\\t\\tcase TAG_ID.LISTING:\\n\\t\\t\\tpreStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.XMP:\\n\\t\\t\\txmpStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.SVG:\\n\\t\\t\\tsvgStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.HTML:\\n\\t\\t\\thtmlStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.BASE:\\n\\t\\tcase TAG_ID.LINK:\\n\\t\\tcase TAG_ID.META:\\n\\t\\tcase TAG_ID.STYLE:\\n\\t\\tcase TAG_ID.TITLE:\\n\\t\\tcase TAG_ID.SCRIPT:\\n\\t\\tcase TAG_ID.BGSOUND:\\n\\t\\tcase TAG_ID.BASEFONT:\\n\\t\\tcase TAG_ID.TEMPLATE:\\n\\t\\t\\tstartTagInHead(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.BODY:\\n\\t\\t\\tbodyStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.FORM:\\n\\t\\t\\tformStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.NOBR:\\n\\t\\t\\tnobrStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.MATH:\\n\\t\\t\\tmathStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.TABLE:\\n\\t\\t\\ttableStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.INPUT:\\n\\t\\t\\tinputStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.PARAM:\\n\\t\\tcase TAG_ID.TRACK:\\n\\t\\tcase TAG_ID.SOURCE:\\n\\t\\t\\tparamStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.IMAGE:\\n\\t\\t\\timageStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.BUTTON:\\n\\t\\t\\tbuttonStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.APPLET:\\n\\t\\tcase TAG_ID.OBJECT:\\n\\t\\tcase TAG_ID.MARQUEE:\\n\\t\\t\\tappletStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.IFRAME:\\n\\t\\t\\tiframeStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.SELECT:\\n\\t\\t\\tselectStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.OPTION:\\n\\t\\tcase TAG_ID.OPTGROUP:\\n\\t\\t\\toptgroupStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.NOEMBED:\\n\\t\\tcase TAG_ID.NOFRAMES:\\n\\t\\t\\trawTextStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.FRAMESET:\\n\\t\\t\\tframesetStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.TEXTAREA:\\n\\t\\t\\ttextareaStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.NOSCRIPT:\\n\\t\\t\\tif (p.options.scriptingEnabled) rawTextStartTagInBody(p, token);\\n\\t\\t\\telse genericStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.PLAINTEXT:\\n\\t\\t\\tplaintextStartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.COL:\\n\\t\\tcase TAG_ID.TH:\\n\\t\\tcase TAG_ID.TD:\\n\\t\\tcase TAG_ID.TR:\\n\\t\\tcase TAG_ID.HEAD:\\n\\t\\tcase TAG_ID.FRAME:\\n\\t\\tcase TAG_ID.TBODY:\\n\\t\\tcase TAG_ID.TFOOT:\\n\\t\\tcase TAG_ID.THEAD:\\n\\t\\tcase TAG_ID.CAPTION:\\n\\t\\tcase TAG_ID.COLGROUP: break;\\n\\t\\tdefault: genericStartTagInBody(p, token);\\n\\t}\\n}\\nfunction bodyEndTagInBody(p, token) {\\n\\tif (p.openElements.hasInScope(TAG_ID.BODY)) {\\n\\t\\tp.insertionMode = InsertionMode.AFTER_BODY;\\n\\t\\tif (p.options.sourceCodeLocationInfo) {\\n\\t\\t\\tconst bodyElement = p.openElements.tryPeekProperlyNestedBodyElement();\\n\\t\\t\\tif (bodyElement) p._setEndLocation(bodyElement, token);\\n\\t\\t}\\n\\t}\\n}\\nfunction htmlEndTagInBody(p, token) {\\n\\tif (p.openElements.hasInScope(TAG_ID.BODY)) {\\n\\t\\tp.insertionMode = InsertionMode.AFTER_BODY;\\n\\t\\tendTagAfterBody(p, token);\\n\\t}\\n}\\nfunction addressEndTagInBody(p, token) {\\n\\tconst tn = token.tagID;\\n\\tif (p.openElements.hasInScope(tn)) {\\n\\t\\tp.openElements.generateImpliedEndTags();\\n\\t\\tp.openElements.popUntilTagNamePopped(tn);\\n\\t}\\n}\\nfunction formEndTagInBody(p) {\\n\\tconst inTemplate = p.openElements.tmplCount > 0;\\n\\tconst { formElement } = p;\\n\\tif (!inTemplate) p.formElement = null;\\n\\tif ((formElement || inTemplate) && p.openElements.hasInScope(TAG_ID.FORM)) {\\n\\t\\tp.openElements.generateImpliedEndTags();\\n\\t\\tif (inTemplate) p.openElements.popUntilTagNamePopped(TAG_ID.FORM);\\n\\t\\telse if (formElement) p.openElements.remove(formElement);\\n\\t}\\n}\\nfunction pEndTagInBody(p) {\\n\\tif (!p.openElements.hasInButtonScope(TAG_ID.P)) p._insertFakeElement(TAG_NAMES.P, TAG_ID.P);\\n\\tp._closePElement();\\n}\\nfunction liEndTagInBody(p) {\\n\\tif (p.openElements.hasInListItemScope(TAG_ID.LI)) {\\n\\t\\tp.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.LI);\\n\\t\\tp.openElements.popUntilTagNamePopped(TAG_ID.LI);\\n\\t}\\n}\\nfunction ddEndTagInBody(p, token) {\\n\\tconst tn = token.tagID;\\n\\tif (p.openElements.hasInScope(tn)) {\\n\\t\\tp.openElements.generateImpliedEndTagsWithExclusion(tn);\\n\\t\\tp.openElements.popUntilTagNamePopped(tn);\\n\\t}\\n}\\nfunction numberedHeaderEndTagInBody(p) {\\n\\tif (p.openElements.hasNumberedHeaderInScope()) {\\n\\t\\tp.openElements.generateImpliedEndTags();\\n\\t\\tp.openElements.popUntilNumberedHeaderPopped();\\n\\t}\\n}\\nfunction appletEndTagInBody(p, token) {\\n\\tconst tn = token.tagID;\\n\\tif (p.openElements.hasInScope(tn)) {\\n\\t\\tp.openElements.generateImpliedEndTags();\\n\\t\\tp.openElements.popUntilTagNamePopped(tn);\\n\\t\\tp.activeFormattingElements.clearToLastMarker();\\n\\t}\\n}\\nfunction brEndTagInBody(p) {\\n\\tp._reconstructActiveFormattingElements();\\n\\tp._insertFakeElement(TAG_NAMES.BR, TAG_ID.BR);\\n\\tp.openElements.pop();\\n\\tp.framesetOk = false;\\n}\\nfunction genericEndTagInBody(p, token) {\\n\\tconst tn = token.tagName;\\n\\tconst tid = token.tagID;\\n\\tfor (let i = p.openElements.stackTop; i > 0; i--) {\\n\\t\\tconst element = p.openElements.items[i];\\n\\t\\tconst elementId = p.openElements.tagIDs[i];\\n\\t\\tif (tid === elementId && (tid !== TAG_ID.UNKNOWN || p.treeAdapter.getTagName(element) === tn)) {\\n\\t\\t\\tp.openElements.generateImpliedEndTagsWithExclusion(tid);\\n\\t\\t\\tif (p.openElements.stackTop >= i) p.openElements.shortenToLength(i);\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\tif (p._isSpecialElement(element, elementId)) break;\\n\\t}\\n}\\nfunction endTagInBody(p, token) {\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.A:\\n\\t\\tcase TAG_ID.B:\\n\\t\\tcase TAG_ID.I:\\n\\t\\tcase TAG_ID.S:\\n\\t\\tcase TAG_ID.U:\\n\\t\\tcase TAG_ID.EM:\\n\\t\\tcase TAG_ID.TT:\\n\\t\\tcase TAG_ID.BIG:\\n\\t\\tcase TAG_ID.CODE:\\n\\t\\tcase TAG_ID.FONT:\\n\\t\\tcase TAG_ID.NOBR:\\n\\t\\tcase TAG_ID.SMALL:\\n\\t\\tcase TAG_ID.STRIKE:\\n\\t\\tcase TAG_ID.STRONG:\\n\\t\\t\\tcallAdoptionAgency(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.P:\\n\\t\\t\\tpEndTagInBody(p);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.DL:\\n\\t\\tcase TAG_ID.UL:\\n\\t\\tcase TAG_ID.OL:\\n\\t\\tcase TAG_ID.DIR:\\n\\t\\tcase TAG_ID.DIV:\\n\\t\\tcase TAG_ID.NAV:\\n\\t\\tcase TAG_ID.PRE:\\n\\t\\tcase TAG_ID.MAIN:\\n\\t\\tcase TAG_ID.MENU:\\n\\t\\tcase TAG_ID.ASIDE:\\n\\t\\tcase TAG_ID.BUTTON:\\n\\t\\tcase TAG_ID.CENTER:\\n\\t\\tcase TAG_ID.FIGURE:\\n\\t\\tcase TAG_ID.FOOTER:\\n\\t\\tcase TAG_ID.HEADER:\\n\\t\\tcase TAG_ID.HGROUP:\\n\\t\\tcase TAG_ID.DIALOG:\\n\\t\\tcase TAG_ID.ADDRESS:\\n\\t\\tcase TAG_ID.ARTICLE:\\n\\t\\tcase TAG_ID.DETAILS:\\n\\t\\tcase TAG_ID.SEARCH:\\n\\t\\tcase TAG_ID.SECTION:\\n\\t\\tcase TAG_ID.SUMMARY:\\n\\t\\tcase TAG_ID.LISTING:\\n\\t\\tcase TAG_ID.FIELDSET:\\n\\t\\tcase TAG_ID.BLOCKQUOTE:\\n\\t\\tcase TAG_ID.FIGCAPTION:\\n\\t\\t\\taddressEndTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.LI:\\n\\t\\t\\tliEndTagInBody(p);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.DD:\\n\\t\\tcase TAG_ID.DT:\\n\\t\\t\\tddEndTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.H1:\\n\\t\\tcase TAG_ID.H2:\\n\\t\\tcase TAG_ID.H3:\\n\\t\\tcase TAG_ID.H4:\\n\\t\\tcase TAG_ID.H5:\\n\\t\\tcase TAG_ID.H6:\\n\\t\\t\\tnumberedHeaderEndTagInBody(p);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.BR:\\n\\t\\t\\tbrEndTagInBody(p);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.BODY:\\n\\t\\t\\tbodyEndTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.HTML:\\n\\t\\t\\thtmlEndTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.FORM:\\n\\t\\t\\tformEndTagInBody(p);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.APPLET:\\n\\t\\tcase TAG_ID.OBJECT:\\n\\t\\tcase TAG_ID.MARQUEE:\\n\\t\\t\\tappletEndTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.TEMPLATE:\\n\\t\\t\\ttemplateEndTagInHead(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tdefault: genericEndTagInBody(p, token);\\n\\t}\\n}\\nfunction eofInBody(p, token) {\\n\\tif (p.tmplInsertionModeStack.length > 0) eofInTemplate(p, token);\\n\\telse stopParsing(p, token);\\n}\\nfunction endTagInText(p, token) {\\n\\tvar _a;\\n\\tif (token.tagID === TAG_ID.SCRIPT) (_a = p.scriptHandler) === null || _a === void 0 || _a.call(p, p.openElements.current);\\n\\tp.openElements.pop();\\n\\tp.insertionMode = p.originalInsertionMode;\\n}\\nfunction eofInText(p, token) {\\n\\tp._err(token, ERR.eofInElementThatCanContainOnlyText);\\n\\tp.openElements.pop();\\n\\tp.insertionMode = p.originalInsertionMode;\\n\\tp.onEof(token);\\n}\\nfunction characterInTable(p, token) {\\n\\tif (p.openElements.currentTagId !== void 0 && TABLE_STRUCTURE_TAGS.has(p.openElements.currentTagId)) {\\n\\t\\tp.pendingCharacterTokens.length = 0;\\n\\t\\tp.hasNonWhitespacePendingCharacterToken = false;\\n\\t\\tp.originalInsertionMode = p.insertionMode;\\n\\t\\tp.insertionMode = InsertionMode.IN_TABLE_TEXT;\\n\\t\\tswitch (token.type) {\\n\\t\\t\\tcase TokenType.CHARACTER:\\n\\t\\t\\t\\tcharacterInTableText(p, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase TokenType.WHITESPACE_CHARACTER:\\n\\t\\t\\t\\twhitespaceCharacterInTableText(p, token);\\n\\t\\t\\t\\tbreak;\\n\\t\\t}\\n\\t} else tokenInTable(p, token);\\n}\\nfunction captionStartTagInTable(p, token) {\\n\\tp.openElements.clearBackToTableContext();\\n\\tp.activeFormattingElements.insertMarker();\\n\\tp._insertElement(token, NS.HTML);\\n\\tp.insertionMode = InsertionMode.IN_CAPTION;\\n}\\nfunction colgroupStartTagInTable(p, token) {\\n\\tp.openElements.clearBackToTableContext();\\n\\tp._insertElement(token, NS.HTML);\\n\\tp.insertionMode = InsertionMode.IN_COLUMN_GROUP;\\n}\\nfunction colStartTagInTable(p, token) {\\n\\tp.openElements.clearBackToTableContext();\\n\\tp._insertFakeElement(TAG_NAMES.COLGROUP, TAG_ID.COLGROUP);\\n\\tp.insertionMode = InsertionMode.IN_COLUMN_GROUP;\\n\\tstartTagInColumnGroup(p, token);\\n}\\nfunction tbodyStartTagInTable(p, token) {\\n\\tp.openElements.clearBackToTableContext();\\n\\tp._insertElement(token, NS.HTML);\\n\\tp.insertionMode = InsertionMode.IN_TABLE_BODY;\\n}\\nfunction tdStartTagInTable(p, token) {\\n\\tp.openElements.clearBackToTableContext();\\n\\tp._insertFakeElement(TAG_NAMES.TBODY, TAG_ID.TBODY);\\n\\tp.insertionMode = InsertionMode.IN_TABLE_BODY;\\n\\tstartTagInTableBody(p, token);\\n}\\nfunction tableStartTagInTable(p, token) {\\n\\tif (p.openElements.hasInTableScope(TAG_ID.TABLE)) {\\n\\t\\tp.openElements.popUntilTagNamePopped(TAG_ID.TABLE);\\n\\t\\tp._resetInsertionMode();\\n\\t\\tp._processStartTag(token);\\n\\t}\\n}\\nfunction inputStartTagInTable(p, token) {\\n\\tif (isHiddenInput(token)) p._appendElement(token, NS.HTML);\\n\\telse tokenInTable(p, token);\\n\\ttoken.ackSelfClosing = true;\\n}\\nfunction formStartTagInTable(p, token) {\\n\\tif (!p.formElement && p.openElements.tmplCount === 0) {\\n\\t\\tp._insertElement(token, NS.HTML);\\n\\t\\tp.formElement = p.openElements.current;\\n\\t\\tp.openElements.pop();\\n\\t}\\n}\\nfunction startTagInTable(p, token) {\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.TD:\\n\\t\\tcase TAG_ID.TH:\\n\\t\\tcase TAG_ID.TR:\\n\\t\\t\\ttdStartTagInTable(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.STYLE:\\n\\t\\tcase TAG_ID.SCRIPT:\\n\\t\\tcase TAG_ID.TEMPLATE:\\n\\t\\t\\tstartTagInHead(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.COL:\\n\\t\\t\\tcolStartTagInTable(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.FORM:\\n\\t\\t\\tformStartTagInTable(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.TABLE:\\n\\t\\t\\ttableStartTagInTable(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.TBODY:\\n\\t\\tcase TAG_ID.TFOOT:\\n\\t\\tcase TAG_ID.THEAD:\\n\\t\\t\\ttbodyStartTagInTable(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.INPUT:\\n\\t\\t\\tinputStartTagInTable(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.CAPTION:\\n\\t\\t\\tcaptionStartTagInTable(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.COLGROUP:\\n\\t\\t\\tcolgroupStartTagInTable(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tdefault: tokenInTable(p, token);\\n\\t}\\n}\\nfunction endTagInTable(p, token) {\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.TABLE:\\n\\t\\t\\tif (p.openElements.hasInTableScope(TAG_ID.TABLE)) {\\n\\t\\t\\t\\tp.openElements.popUntilTagNamePopped(TAG_ID.TABLE);\\n\\t\\t\\t\\tp._resetInsertionMode();\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.TEMPLATE:\\n\\t\\t\\ttemplateEndTagInHead(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.BODY:\\n\\t\\tcase TAG_ID.CAPTION:\\n\\t\\tcase TAG_ID.COL:\\n\\t\\tcase TAG_ID.COLGROUP:\\n\\t\\tcase TAG_ID.HTML:\\n\\t\\tcase TAG_ID.TBODY:\\n\\t\\tcase TAG_ID.TD:\\n\\t\\tcase TAG_ID.TFOOT:\\n\\t\\tcase TAG_ID.TH:\\n\\t\\tcase TAG_ID.THEAD:\\n\\t\\tcase TAG_ID.TR: break;\\n\\t\\tdefault: tokenInTable(p, token);\\n\\t}\\n}\\nfunction tokenInTable(p, token) {\\n\\tconst savedFosterParentingState = p.fosterParentingEnabled;\\n\\tp.fosterParentingEnabled = true;\\n\\tmodeInBody(p, token);\\n\\tp.fosterParentingEnabled = savedFosterParentingState;\\n}\\nfunction whitespaceCharacterInTableText(p, token) {\\n\\tp.pendingCharacterTokens.push(token);\\n}\\nfunction characterInTableText(p, token) {\\n\\tp.pendingCharacterTokens.push(token);\\n\\tp.hasNonWhitespacePendingCharacterToken = true;\\n}\\nfunction tokenInTableText(p, token) {\\n\\tlet i = 0;\\n\\tif (p.hasNonWhitespacePendingCharacterToken) for (; i < p.pendingCharacterTokens.length; i++) tokenInTable(p, p.pendingCharacterTokens[i]);\\n\\telse for (; i < p.pendingCharacterTokens.length; i++) p._insertCharacters(p.pendingCharacterTokens[i]);\\n\\tp.insertionMode = p.originalInsertionMode;\\n\\tp._processToken(token);\\n}\\nconst TABLE_VOID_ELEMENTS = new Set([\\n\\tTAG_ID.CAPTION,\\n\\tTAG_ID.COL,\\n\\tTAG_ID.COLGROUP,\\n\\tTAG_ID.TBODY,\\n\\tTAG_ID.TD,\\n\\tTAG_ID.TFOOT,\\n\\tTAG_ID.TH,\\n\\tTAG_ID.THEAD,\\n\\tTAG_ID.TR\\n]);\\nfunction startTagInCaption(p, token) {\\n\\tconst tn = token.tagID;\\n\\tif (TABLE_VOID_ELEMENTS.has(tn)) {\\n\\t\\tif (p.openElements.hasInTableScope(TAG_ID.CAPTION)) {\\n\\t\\t\\tp.openElements.generateImpliedEndTags();\\n\\t\\t\\tp.openElements.popUntilTagNamePopped(TAG_ID.CAPTION);\\n\\t\\t\\tp.activeFormattingElements.clearToLastMarker();\\n\\t\\t\\tp.insertionMode = InsertionMode.IN_TABLE;\\n\\t\\t\\tstartTagInTable(p, token);\\n\\t\\t}\\n\\t} else startTagInBody(p, token);\\n}\\nfunction endTagInCaption(p, token) {\\n\\tconst tn = token.tagID;\\n\\tswitch (tn) {\\n\\t\\tcase TAG_ID.CAPTION:\\n\\t\\tcase TAG_ID.TABLE:\\n\\t\\t\\tif (p.openElements.hasInTableScope(TAG_ID.CAPTION)) {\\n\\t\\t\\t\\tp.openElements.generateImpliedEndTags();\\n\\t\\t\\t\\tp.openElements.popUntilTagNamePopped(TAG_ID.CAPTION);\\n\\t\\t\\t\\tp.activeFormattingElements.clearToLastMarker();\\n\\t\\t\\t\\tp.insertionMode = InsertionMode.IN_TABLE;\\n\\t\\t\\t\\tif (tn === TAG_ID.TABLE) endTagInTable(p, token);\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.BODY:\\n\\t\\tcase TAG_ID.COL:\\n\\t\\tcase TAG_ID.COLGROUP:\\n\\t\\tcase TAG_ID.HTML:\\n\\t\\tcase TAG_ID.TBODY:\\n\\t\\tcase TAG_ID.TD:\\n\\t\\tcase TAG_ID.TFOOT:\\n\\t\\tcase TAG_ID.TH:\\n\\t\\tcase TAG_ID.THEAD:\\n\\t\\tcase TAG_ID.TR: break;\\n\\t\\tdefault: endTagInBody(p, token);\\n\\t}\\n}\\nfunction startTagInColumnGroup(p, token) {\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.HTML:\\n\\t\\t\\tstartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.COL:\\n\\t\\t\\tp._appendElement(token, NS.HTML);\\n\\t\\t\\ttoken.ackSelfClosing = true;\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.TEMPLATE:\\n\\t\\t\\tstartTagInHead(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tdefault: tokenInColumnGroup(p, token);\\n\\t}\\n}\\nfunction endTagInColumnGroup(p, token) {\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.COLGROUP:\\n\\t\\t\\tif (p.openElements.currentTagId === TAG_ID.COLGROUP) {\\n\\t\\t\\t\\tp.openElements.pop();\\n\\t\\t\\t\\tp.insertionMode = InsertionMode.IN_TABLE;\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.TEMPLATE:\\n\\t\\t\\ttemplateEndTagInHead(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.COL: break;\\n\\t\\tdefault: tokenInColumnGroup(p, token);\\n\\t}\\n}\\nfunction tokenInColumnGroup(p, token) {\\n\\tif (p.openElements.currentTagId === TAG_ID.COLGROUP) {\\n\\t\\tp.openElements.pop();\\n\\t\\tp.insertionMode = InsertionMode.IN_TABLE;\\n\\t\\tp._processToken(token);\\n\\t}\\n}\\nfunction startTagInTableBody(p, token) {\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.TR:\\n\\t\\t\\tp.openElements.clearBackToTableBodyContext();\\n\\t\\t\\tp._insertElement(token, NS.HTML);\\n\\t\\t\\tp.insertionMode = InsertionMode.IN_ROW;\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.TH:\\n\\t\\tcase TAG_ID.TD:\\n\\t\\t\\tp.openElements.clearBackToTableBodyContext();\\n\\t\\t\\tp._insertFakeElement(TAG_NAMES.TR, TAG_ID.TR);\\n\\t\\t\\tp.insertionMode = InsertionMode.IN_ROW;\\n\\t\\t\\tstartTagInRow(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.CAPTION:\\n\\t\\tcase TAG_ID.COL:\\n\\t\\tcase TAG_ID.COLGROUP:\\n\\t\\tcase TAG_ID.TBODY:\\n\\t\\tcase TAG_ID.TFOOT:\\n\\t\\tcase TAG_ID.THEAD:\\n\\t\\t\\tif (p.openElements.hasTableBodyContextInTableScope()) {\\n\\t\\t\\t\\tp.openElements.clearBackToTableBodyContext();\\n\\t\\t\\t\\tp.openElements.pop();\\n\\t\\t\\t\\tp.insertionMode = InsertionMode.IN_TABLE;\\n\\t\\t\\t\\tstartTagInTable(p, token);\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tdefault: startTagInTable(p, token);\\n\\t}\\n}\\nfunction endTagInTableBody(p, token) {\\n\\tconst tn = token.tagID;\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.TBODY:\\n\\t\\tcase TAG_ID.TFOOT:\\n\\t\\tcase TAG_ID.THEAD:\\n\\t\\t\\tif (p.openElements.hasInTableScope(tn)) {\\n\\t\\t\\t\\tp.openElements.clearBackToTableBodyContext();\\n\\t\\t\\t\\tp.openElements.pop();\\n\\t\\t\\t\\tp.insertionMode = InsertionMode.IN_TABLE;\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.TABLE:\\n\\t\\t\\tif (p.openElements.hasTableBodyContextInTableScope()) {\\n\\t\\t\\t\\tp.openElements.clearBackToTableBodyContext();\\n\\t\\t\\t\\tp.openElements.pop();\\n\\t\\t\\t\\tp.insertionMode = InsertionMode.IN_TABLE;\\n\\t\\t\\t\\tendTagInTable(p, token);\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.BODY:\\n\\t\\tcase TAG_ID.CAPTION:\\n\\t\\tcase TAG_ID.COL:\\n\\t\\tcase TAG_ID.COLGROUP:\\n\\t\\tcase TAG_ID.HTML:\\n\\t\\tcase TAG_ID.TD:\\n\\t\\tcase TAG_ID.TH:\\n\\t\\tcase TAG_ID.TR: break;\\n\\t\\tdefault: endTagInTable(p, token);\\n\\t}\\n}\\nfunction startTagInRow(p, token) {\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.TH:\\n\\t\\tcase TAG_ID.TD:\\n\\t\\t\\tp.openElements.clearBackToTableRowContext();\\n\\t\\t\\tp._insertElement(token, NS.HTML);\\n\\t\\t\\tp.insertionMode = InsertionMode.IN_CELL;\\n\\t\\t\\tp.activeFormattingElements.insertMarker();\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.CAPTION:\\n\\t\\tcase TAG_ID.COL:\\n\\t\\tcase TAG_ID.COLGROUP:\\n\\t\\tcase TAG_ID.TBODY:\\n\\t\\tcase TAG_ID.TFOOT:\\n\\t\\tcase TAG_ID.THEAD:\\n\\t\\tcase TAG_ID.TR:\\n\\t\\t\\tif (p.openElements.hasInTableScope(TAG_ID.TR)) {\\n\\t\\t\\t\\tp.openElements.clearBackToTableRowContext();\\n\\t\\t\\t\\tp.openElements.pop();\\n\\t\\t\\t\\tp.insertionMode = InsertionMode.IN_TABLE_BODY;\\n\\t\\t\\t\\tstartTagInTableBody(p, token);\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tdefault: startTagInTable(p, token);\\n\\t}\\n}\\nfunction endTagInRow(p, token) {\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.TR:\\n\\t\\t\\tif (p.openElements.hasInTableScope(TAG_ID.TR)) {\\n\\t\\t\\t\\tp.openElements.clearBackToTableRowContext();\\n\\t\\t\\t\\tp.openElements.pop();\\n\\t\\t\\t\\tp.insertionMode = InsertionMode.IN_TABLE_BODY;\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.TABLE:\\n\\t\\t\\tif (p.openElements.hasInTableScope(TAG_ID.TR)) {\\n\\t\\t\\t\\tp.openElements.clearBackToTableRowContext();\\n\\t\\t\\t\\tp.openElements.pop();\\n\\t\\t\\t\\tp.insertionMode = InsertionMode.IN_TABLE_BODY;\\n\\t\\t\\t\\tendTagInTableBody(p, token);\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.TBODY:\\n\\t\\tcase TAG_ID.TFOOT:\\n\\t\\tcase TAG_ID.THEAD:\\n\\t\\t\\tif (p.openElements.hasInTableScope(token.tagID) || p.openElements.hasInTableScope(TAG_ID.TR)) {\\n\\t\\t\\t\\tp.openElements.clearBackToTableRowContext();\\n\\t\\t\\t\\tp.openElements.pop();\\n\\t\\t\\t\\tp.insertionMode = InsertionMode.IN_TABLE_BODY;\\n\\t\\t\\t\\tendTagInTableBody(p, token);\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.BODY:\\n\\t\\tcase TAG_ID.CAPTION:\\n\\t\\tcase TAG_ID.COL:\\n\\t\\tcase TAG_ID.COLGROUP:\\n\\t\\tcase TAG_ID.HTML:\\n\\t\\tcase TAG_ID.TD:\\n\\t\\tcase TAG_ID.TH: break;\\n\\t\\tdefault: endTagInTable(p, token);\\n\\t}\\n}\\nfunction startTagInCell(p, token) {\\n\\tconst tn = token.tagID;\\n\\tif (TABLE_VOID_ELEMENTS.has(tn)) {\\n\\t\\tif (p.openElements.hasInTableScope(TAG_ID.TD) || p.openElements.hasInTableScope(TAG_ID.TH)) {\\n\\t\\t\\tp._closeTableCell();\\n\\t\\t\\tstartTagInRow(p, token);\\n\\t\\t}\\n\\t} else startTagInBody(p, token);\\n}\\nfunction endTagInCell(p, token) {\\n\\tconst tn = token.tagID;\\n\\tswitch (tn) {\\n\\t\\tcase TAG_ID.TD:\\n\\t\\tcase TAG_ID.TH:\\n\\t\\t\\tif (p.openElements.hasInTableScope(tn)) {\\n\\t\\t\\t\\tp.openElements.generateImpliedEndTags();\\n\\t\\t\\t\\tp.openElements.popUntilTagNamePopped(tn);\\n\\t\\t\\t\\tp.activeFormattingElements.clearToLastMarker();\\n\\t\\t\\t\\tp.insertionMode = InsertionMode.IN_ROW;\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.TABLE:\\n\\t\\tcase TAG_ID.TBODY:\\n\\t\\tcase TAG_ID.TFOOT:\\n\\t\\tcase TAG_ID.THEAD:\\n\\t\\tcase TAG_ID.TR:\\n\\t\\t\\tif (p.openElements.hasInTableScope(tn)) {\\n\\t\\t\\t\\tp._closeTableCell();\\n\\t\\t\\t\\tendTagInRow(p, token);\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.BODY:\\n\\t\\tcase TAG_ID.CAPTION:\\n\\t\\tcase TAG_ID.COL:\\n\\t\\tcase TAG_ID.COLGROUP:\\n\\t\\tcase TAG_ID.HTML: break;\\n\\t\\tdefault: endTagInBody(p, token);\\n\\t}\\n}\\nfunction startTagInSelect(p, token) {\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.HTML:\\n\\t\\t\\tstartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.OPTION:\\n\\t\\t\\tif (p.openElements.currentTagId === TAG_ID.OPTION) p.openElements.pop();\\n\\t\\t\\tp._insertElement(token, NS.HTML);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.OPTGROUP:\\n\\t\\t\\tif (p.openElements.currentTagId === TAG_ID.OPTION) p.openElements.pop();\\n\\t\\t\\tif (p.openElements.currentTagId === TAG_ID.OPTGROUP) p.openElements.pop();\\n\\t\\t\\tp._insertElement(token, NS.HTML);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.HR:\\n\\t\\t\\tif (p.openElements.currentTagId === TAG_ID.OPTION) p.openElements.pop();\\n\\t\\t\\tif (p.openElements.currentTagId === TAG_ID.OPTGROUP) p.openElements.pop();\\n\\t\\t\\tp._appendElement(token, NS.HTML);\\n\\t\\t\\ttoken.ackSelfClosing = true;\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.INPUT:\\n\\t\\tcase TAG_ID.KEYGEN:\\n\\t\\tcase TAG_ID.TEXTAREA:\\n\\t\\tcase TAG_ID.SELECT:\\n\\t\\t\\tif (p.openElements.hasInSelectScope(TAG_ID.SELECT)) {\\n\\t\\t\\t\\tp.openElements.popUntilTagNamePopped(TAG_ID.SELECT);\\n\\t\\t\\t\\tp._resetInsertionMode();\\n\\t\\t\\t\\tif (token.tagID !== TAG_ID.SELECT) p._processStartTag(token);\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.SCRIPT:\\n\\t\\tcase TAG_ID.TEMPLATE:\\n\\t\\t\\tstartTagInHead(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tdefault:\\n\\t}\\n}\\nfunction endTagInSelect(p, token) {\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.OPTGROUP:\\n\\t\\t\\tif (p.openElements.stackTop > 0 && p.openElements.currentTagId === TAG_ID.OPTION && p.openElements.tagIDs[p.openElements.stackTop - 1] === TAG_ID.OPTGROUP) p.openElements.pop();\\n\\t\\t\\tif (p.openElements.currentTagId === TAG_ID.OPTGROUP) p.openElements.pop();\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.OPTION:\\n\\t\\t\\tif (p.openElements.currentTagId === TAG_ID.OPTION) p.openElements.pop();\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.SELECT:\\n\\t\\t\\tif (p.openElements.hasInSelectScope(TAG_ID.SELECT)) {\\n\\t\\t\\t\\tp.openElements.popUntilTagNamePopped(TAG_ID.SELECT);\\n\\t\\t\\t\\tp._resetInsertionMode();\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.TEMPLATE:\\n\\t\\t\\ttemplateEndTagInHead(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tdefault:\\n\\t}\\n}\\nfunction startTagInSelectInTable(p, token) {\\n\\tconst tn = token.tagID;\\n\\tif (tn === TAG_ID.CAPTION || tn === TAG_ID.TABLE || tn === TAG_ID.TBODY || tn === TAG_ID.TFOOT || tn === TAG_ID.THEAD || tn === TAG_ID.TR || tn === TAG_ID.TD || tn === TAG_ID.TH) {\\n\\t\\tp.openElements.popUntilTagNamePopped(TAG_ID.SELECT);\\n\\t\\tp._resetInsertionMode();\\n\\t\\tp._processStartTag(token);\\n\\t} else startTagInSelect(p, token);\\n}\\nfunction endTagInSelectInTable(p, token) {\\n\\tconst tn = token.tagID;\\n\\tif (tn === TAG_ID.CAPTION || tn === TAG_ID.TABLE || tn === TAG_ID.TBODY || tn === TAG_ID.TFOOT || tn === TAG_ID.THEAD || tn === TAG_ID.TR || tn === TAG_ID.TD || tn === TAG_ID.TH) {\\n\\t\\tif (p.openElements.hasInTableScope(tn)) {\\n\\t\\t\\tp.openElements.popUntilTagNamePopped(TAG_ID.SELECT);\\n\\t\\t\\tp._resetInsertionMode();\\n\\t\\t\\tp.onEndTag(token);\\n\\t\\t}\\n\\t} else endTagInSelect(p, token);\\n}\\nfunction startTagInTemplate(p, token) {\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.BASE:\\n\\t\\tcase TAG_ID.BASEFONT:\\n\\t\\tcase TAG_ID.BGSOUND:\\n\\t\\tcase TAG_ID.LINK:\\n\\t\\tcase TAG_ID.META:\\n\\t\\tcase TAG_ID.NOFRAMES:\\n\\t\\tcase TAG_ID.SCRIPT:\\n\\t\\tcase TAG_ID.STYLE:\\n\\t\\tcase TAG_ID.TEMPLATE:\\n\\t\\tcase TAG_ID.TITLE:\\n\\t\\t\\tstartTagInHead(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.CAPTION:\\n\\t\\tcase TAG_ID.COLGROUP:\\n\\t\\tcase TAG_ID.TBODY:\\n\\t\\tcase TAG_ID.TFOOT:\\n\\t\\tcase TAG_ID.THEAD:\\n\\t\\t\\tp.tmplInsertionModeStack[0] = InsertionMode.IN_TABLE;\\n\\t\\t\\tp.insertionMode = InsertionMode.IN_TABLE;\\n\\t\\t\\tstartTagInTable(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.COL:\\n\\t\\t\\tp.tmplInsertionModeStack[0] = InsertionMode.IN_COLUMN_GROUP;\\n\\t\\t\\tp.insertionMode = InsertionMode.IN_COLUMN_GROUP;\\n\\t\\t\\tstartTagInColumnGroup(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.TR:\\n\\t\\t\\tp.tmplInsertionModeStack[0] = InsertionMode.IN_TABLE_BODY;\\n\\t\\t\\tp.insertionMode = InsertionMode.IN_TABLE_BODY;\\n\\t\\t\\tstartTagInTableBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.TD:\\n\\t\\tcase TAG_ID.TH:\\n\\t\\t\\tp.tmplInsertionModeStack[0] = InsertionMode.IN_ROW;\\n\\t\\t\\tp.insertionMode = InsertionMode.IN_ROW;\\n\\t\\t\\tstartTagInRow(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tdefault:\\n\\t\\t\\tp.tmplInsertionModeStack[0] = InsertionMode.IN_BODY;\\n\\t\\t\\tp.insertionMode = InsertionMode.IN_BODY;\\n\\t\\t\\tstartTagInBody(p, token);\\n\\t}\\n}\\nfunction endTagInTemplate(p, token) {\\n\\tif (token.tagID === TAG_ID.TEMPLATE) templateEndTagInHead(p, token);\\n}\\nfunction eofInTemplate(p, token) {\\n\\tif (p.openElements.tmplCount > 0) {\\n\\t\\tp.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE);\\n\\t\\tp.activeFormattingElements.clearToLastMarker();\\n\\t\\tp.tmplInsertionModeStack.shift();\\n\\t\\tp._resetInsertionMode();\\n\\t\\tp.onEof(token);\\n\\t} else stopParsing(p, token);\\n}\\nfunction startTagAfterBody(p, token) {\\n\\tif (token.tagID === TAG_ID.HTML) startTagInBody(p, token);\\n\\telse tokenAfterBody(p, token);\\n}\\nfunction endTagAfterBody(p, token) {\\n\\tvar _a;\\n\\tif (token.tagID === TAG_ID.HTML) {\\n\\t\\tif (!p.fragmentContext) p.insertionMode = InsertionMode.AFTER_AFTER_BODY;\\n\\t\\tif (p.options.sourceCodeLocationInfo && p.openElements.tagIDs[0] === TAG_ID.HTML) {\\n\\t\\t\\tp._setEndLocation(p.openElements.items[0], token);\\n\\t\\t\\tconst bodyElement = p.openElements.items[1];\\n\\t\\t\\tif (bodyElement && !((_a = p.treeAdapter.getNodeSourceCodeLocation(bodyElement)) === null || _a === void 0 ? void 0 : _a.endTag)) p._setEndLocation(bodyElement, token);\\n\\t\\t}\\n\\t} else tokenAfterBody(p, token);\\n}\\nfunction tokenAfterBody(p, token) {\\n\\tp.insertionMode = InsertionMode.IN_BODY;\\n\\tmodeInBody(p, token);\\n}\\nfunction startTagInFrameset(p, token) {\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.HTML:\\n\\t\\t\\tstartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.FRAMESET:\\n\\t\\t\\tp._insertElement(token, NS.HTML);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.FRAME:\\n\\t\\t\\tp._appendElement(token, NS.HTML);\\n\\t\\t\\ttoken.ackSelfClosing = true;\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.NOFRAMES:\\n\\t\\t\\tstartTagInHead(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tdefault:\\n\\t}\\n}\\nfunction endTagInFrameset(p, token) {\\n\\tif (token.tagID === TAG_ID.FRAMESET && !p.openElements.isRootHtmlElementCurrent()) {\\n\\t\\tp.openElements.pop();\\n\\t\\tif (!p.fragmentContext && p.openElements.currentTagId !== TAG_ID.FRAMESET) p.insertionMode = InsertionMode.AFTER_FRAMESET;\\n\\t}\\n}\\nfunction startTagAfterFrameset(p, token) {\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.HTML:\\n\\t\\t\\tstartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.NOFRAMES:\\n\\t\\t\\tstartTagInHead(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tdefault:\\n\\t}\\n}\\nfunction endTagAfterFrameset(p, token) {\\n\\tif (token.tagID === TAG_ID.HTML) p.insertionMode = InsertionMode.AFTER_AFTER_FRAMESET;\\n}\\nfunction startTagAfterAfterBody(p, token) {\\n\\tif (token.tagID === TAG_ID.HTML) startTagInBody(p, token);\\n\\telse tokenAfterAfterBody(p, token);\\n}\\nfunction tokenAfterAfterBody(p, token) {\\n\\tp.insertionMode = InsertionMode.IN_BODY;\\n\\tmodeInBody(p, token);\\n}\\nfunction startTagAfterAfterFrameset(p, token) {\\n\\tswitch (token.tagID) {\\n\\t\\tcase TAG_ID.HTML:\\n\\t\\t\\tstartTagInBody(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tcase TAG_ID.NOFRAMES:\\n\\t\\t\\tstartTagInHead(p, token);\\n\\t\\t\\tbreak;\\n\\t\\tdefault:\\n\\t}\\n}\\nfunction nullCharacterInForeignContent(p, token) {\\n\\ttoken.chars = REPLACEMENT_CHARACTER;\\n\\tp._insertCharacters(token);\\n}\\nfunction characterInForeignContent(p, token) {\\n\\tp._insertCharacters(token);\\n\\tp.framesetOk = false;\\n}\\nfunction popUntilHtmlOrIntegrationPoint(p) {\\n\\twhile (p.treeAdapter.getNamespaceURI(p.openElements.current) !== NS.HTML && p.openElements.currentTagId !== void 0 && !p._isIntegrationPoint(p.openElements.currentTagId, p.openElements.current)) p.openElements.pop();\\n}\\nfunction startTagInForeignContent(p, token) {\\n\\tif (causesExit(token)) {\\n\\t\\tpopUntilHtmlOrIntegrationPoint(p);\\n\\t\\tp._startTagOutsideForeignContent(token);\\n\\t} else {\\n\\t\\tconst current = p._getAdjustedCurrentElement();\\n\\t\\tconst currentNs = p.treeAdapter.getNamespaceURI(current);\\n\\t\\tif (currentNs === NS.MATHML) adjustTokenMathMLAttrs(token);\\n\\t\\telse if (currentNs === NS.SVG) {\\n\\t\\t\\tadjustTokenSVGTagName(token);\\n\\t\\t\\tadjustTokenSVGAttrs(token);\\n\\t\\t}\\n\\t\\tadjustTokenXMLAttrs(token);\\n\\t\\tif (token.selfClosing) p._appendElement(token, currentNs);\\n\\t\\telse p._insertElement(token, currentNs);\\n\\t\\ttoken.ackSelfClosing = true;\\n\\t}\\n}\\nfunction endTagInForeignContent(p, token) {\\n\\tif (token.tagID === TAG_ID.P || token.tagID === TAG_ID.BR) {\\n\\t\\tpopUntilHtmlOrIntegrationPoint(p);\\n\\t\\tp._endTagOutsideForeignContent(token);\\n\\t\\treturn;\\n\\t}\\n\\tfor (let i = p.openElements.stackTop; i > 0; i--) {\\n\\t\\tconst element = p.openElements.items[i];\\n\\t\\tif (p.treeAdapter.getNamespaceURI(element) === NS.HTML) {\\n\\t\\t\\tp._endTagOutsideForeignContent(token);\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\tconst tagName = p.treeAdapter.getTagName(element);\\n\\t\\tif (tagName.toLowerCase() === token.tagName) {\\n\\t\\t\\ttoken.tagName = tagName;\\n\\t\\t\\tp.openElements.shortenToLength(i);\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t}\\n}\\n\\n//#endregion\\n//#region ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/serializer/index.js\\nconst VOID_ELEMENTS = new Set([\\n\\tTAG_NAMES.AREA,\\n\\tTAG_NAMES.BASE,\\n\\tTAG_NAMES.BASEFONT,\\n\\tTAG_NAMES.BGSOUND,\\n\\tTAG_NAMES.BR,\\n\\tTAG_NAMES.COL,\\n\\tTAG_NAMES.EMBED,\\n\\tTAG_NAMES.FRAME,\\n\\tTAG_NAMES.HR,\\n\\tTAG_NAMES.IMG,\\n\\tTAG_NAMES.INPUT,\\n\\tTAG_NAMES.KEYGEN,\\n\\tTAG_NAMES.LINK,\\n\\tTAG_NAMES.META,\\n\\tTAG_NAMES.PARAM,\\n\\tTAG_NAMES.SOURCE,\\n\\tTAG_NAMES.TRACK,\\n\\tTAG_NAMES.WBR\\n]);\\n\\n//#endregion\\n//#region ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/index.js\\nfunction parseFragment(fragmentContext, html, options) {\\n\\tif (typeof fragmentContext === \\\"string\\\") {\\n\\t\\toptions = html;\\n\\t\\thtml = fragmentContext;\\n\\t\\tfragmentContext = null;\\n\\t}\\n\\tconst parser = Parser.getFragmentParser(fragmentContext, options);\\n\\tparser.tokenizer.write(html, true);\\n\\treturn parser.getFragment();\\n}\\n\\n//#endregion\\n//#region src/server/compile/finalize-document-html.ts\\n/** The two attributes this module owns, in the order it writes them. */\\nconst GENERATED = [\\\"data-sdk\\\", \\\"data-engine\\\"];\\nfunction getAttr(node, name) {\\n\\treturn (node.attrs?.find((candidate) => candidate.name === name))?.value;\\n}\\n/**\\n* Raised when the SDK that rendered a document and the compiler finalising it\\n* come from different Format releases.\\n*\\n* A distinct class because the fix is a distinct action — bring the installed\\n* Format packages to one release — and because the alternative is the failure\\n* this check exists to prevent: output produced by two releases, stamped as\\n* though one release produced all of it, and diagnosed months later against a\\n* release that never rendered any of it.\\n*/\\nvar ProducerVersionMismatchError = class extends Error {\\n\\tconstructor(args) {\\n\\t\\tconst engines = args.documentEngine !== void 0 && args.documentEngine !== args.compilerEngine ? ` and targets engine ${args.documentEngine} where this compiler targets ${args.compilerEngine}` : \\\"\\\";\\n\\t\\tsuper(`This document was rendered by Format ${args.documentSdk}${engines}, and is being compiled by Format ${args.compilerSdk}. Format will not stamp one release's number onto another release's output. Bring every @format.dev/* package to one version — \\\\`format update\\\\` does it — and compile again.`);\\n\\t\\t_defineProperty(this, \\\"documentSdk\\\", void 0);\\n\\t\\t_defineProperty(this, \\\"documentEngine\\\", void 0);\\n\\t\\t_defineProperty(this, \\\"compilerSdk\\\", void 0);\\n\\t\\t_defineProperty(this, \\\"compilerEngine\\\", void 0);\\n\\t\\tthis.name = \\\"ProducerVersionMismatchError\\\";\\n\\t\\tthis.documentSdk = args.documentSdk;\\n\\t\\tthis.documentEngine = args.documentEngine;\\n\\t\\tthis.compilerSdk = args.compilerSdk;\\n\\t\\tthis.compilerEngine = args.compilerEngine;\\n\\t}\\n};\\n/**\\n* The one `<template data-type=\\\"document\\\">` at the top of the fragment.\\n*\\n* Returns null when the html holds no document template, or when parse5 could\\n* not report where its opening tag ends — in both cases the caller returns the\\n* html untouched, because there is nowhere to write.\\n*/\\nfunction findDocumentTemplate(html) {\\n\\tconst documents = (parseFragment(html, { sourceCodeLocationInfo: true }).childNodes ?? []).filter((node) => node.tagName === \\\"template\\\" && getAttr(node, \\\"data-type\\\") === \\\"document\\\");\\n\\tif (documents.length === 0) return null;\\n\\tif (documents.length > 1) throw new Error(`Expected a single root document template, found ${documents.length}. A Format document must have exactly one top-level <template data-type=\\\"document\\\">.`);\\n\\tconst [documentNode] = documents;\\n\\tconst startTag = documentNode.sourceCodeLocation?.startTag;\\n\\tif (!startTag) return null;\\n\\tconst attributeAt = {};\\n\\tfor (const [name, at] of Object.entries(documentNode.sourceCodeLocation?.attrs ?? {})) attributeAt[name] = {\\n\\t\\tfrom: at.startOffset - startTag.startOffset,\\n\\t\\tto: at.endOffset - startTag.startOffset\\n\\t};\\n\\treturn {\\n\\t\\ttag: html.slice(startTag.startOffset, startTag.endOffset),\\n\\t\\tstartOffset: startTag.startOffset,\\n\\t\\tendOffset: startTag.endOffset,\\n\\t\\tsdk: getAttr(documentNode, \\\"data-sdk\\\"),\\n\\t\\tengine: getAttr(documentNode, \\\"data-engine\\\"),\\n\\t\\tattributeAt\\n\\t};\\n}\\n/**\\n* The opening tag with `names` cut out of it, at the offsets the parser gave.\\n*\\n* Removed back to front so an earlier removal does not move a later offset, and\\n* the space in front of each attribute goes with it so the tag does not\\n* accumulate gaps.\\n*/\\nfunction withoutAttributes(document, names) {\\n\\tconst spans = names.map((name) => document.attributeAt[name]).filter((at) => at !== void 0).sort((a, b) => b.from - a.from);\\n\\tlet tag = document.tag;\\n\\tfor (const at of spans) {\\n\\t\\tconst from = /\\\\s/.test(tag[at.from - 1] ?? \\\"\\\") ? at.from - 1 : at.from;\\n\\t\\ttag = tag.slice(0, from) + tag.slice(at.to);\\n\\t}\\n\\treturn tag;\\n}\\n/**\\n* Stamp a rendered document with this compiler's release numbers, and inject\\n* the collected CSS.\\n*\\n* Throws `ProducerVersionMismatchError` when the document already names a\\n* different producing release. The check runs before anything is written, so a\\n* mismatched document leaves this function unchanged rather than half-stamped.\\n*/\\nfunction finalizeDocumentHtml(args) {\\n\\tconst { html, sdk, engine, css = \\\"\\\" } = args;\\n\\tif (!html) return html;\\n\\tconst document = findDocumentTemplate(html);\\n\\tif (!document) return html;\\n\\tconst authored = document.sdk?.trim();\\n\\tif (authored && (authored !== sdk || (document.engine?.trim() ?? engine) !== engine)) throw new ProducerVersionMismatchError({\\n\\t\\tdocumentSdk: authored,\\n\\t\\tdocumentEngine: document.engine?.trim(),\\n\\t\\tcompilerSdk: sdk,\\n\\t\\tcompilerEngine: engine\\n\\t});\\n\\tconst styles = css.trim();\\n\\tconst styleTag = styles ? `<style>${styles}</style>` : \\\"\\\";\\n\\treturn html.slice(0, document.startOffset) + stampProducer(document, sdk, engine) + styleTag + html.slice(document.endOffset);\\n}\\n/**\\n* Write both version attributes into the opening tag, replacing whatever was\\n* there.\\n*\\n* Inserted at the front, in the order React and Vue emit them, so a document\\n* that went through an SDK and a document that did not are byte-identical about\\n* the part that names their provenance.\\n*/\\nfunction stampProducer(document, sdk, engine) {\\n\\treturn withoutAttributes(document, GENERATED).replace(/^<template/i, `<template data-sdk=\\\"${sdk}\\\" data-engine=\\\"${engine}\\\"`);\\n}\\n\\n//#endregion\\n//#region src/server/compile/create-renderer.ts\\nvar FormatRenderError = class FormatRenderError extends Error {\\n\\tconstructor(data = {}, ...params) {\\n\\t\\tsuper(...params);\\n\\t\\t_defineProperty(this, \\\"data\\\", void 0);\\n\\t\\tif (Error.captureStackTrace) Error.captureStackTrace(this, FormatRenderError);\\n\\t\\tthis.message = [this.message, \\\"See error.data for more details\\\"].join(\\\" \\\");\\n\\t\\tthis.name = \\\"FormatRenderError\\\";\\n\\t\\tthis.data = data;\\n\\t}\\n};\\nfunction createRenderer({ Component, schema, styles }) {\\n\\tconst stylesText = typeof styles === \\\"string\\\" ? styles : \\\"\\\";\\n\\tconst render = async (data, cwd) => {\\n\\t\\tif (_FMT_VALIDATE_SCHEMA_ && schema) {\\n\\t\\t\\tconst validation = await validate(schema, data);\\n\\t\\t\\tif (!validation.ok) throw new FormatRenderError({ issues: validation.errors }, \\\"Schema validation failed.\\\", { cause: \\\"ERROR_SCHEMA_VALIDATION\\\" });\\n\\t\\t\\tdata = validation.data;\\n\\t\\t}\\n\\t\\tconst sdk = _FMT_JS_VERSION_;\\n\\t\\tconst engine = _FMT_ENGINE_VERSION_;\\n\\t\\ttry {\\n\\t\\t\\tconst element = await adaptor.create({\\n\\t\\t\\t\\tComponent,\\n\\t\\t\\t\\tdata,\\n\\t\\t\\t\\tcwd\\n\\t\\t\\t});\\n\\t\\t\\tlet out = finalizeDocumentHtml({\\n\\t\\t\\t\\thtml: await adaptor.render({\\n\\t\\t\\t\\t\\tengine,\\n\\t\\t\\t\\t\\telement,\\n\\t\\t\\t\\t\\tcwd\\n\\t\\t\\t\\t}),\\n\\t\\t\\t\\tsdk,\\n\\t\\t\\t\\tengine,\\n\\t\\t\\t\\tcss: stylesText\\n\\t\\t\\t});\\n\\t\\t\\tout = decodeStyleEntities(out);\\n\\t\\t\\tout = sanitizeHtml(out);\\n\\t\\t\\treturn out;\\n\\t\\t} catch (error) {\\n\\t\\t\\tconst errorMessage = error instanceof Error ? error.message : String(error);\\n\\t\\t\\tthrow new FormatRenderError({ error }, errorMessage, { cause: \\\"ERROR_RENDER\\\" });\\n\\t\\t}\\n\\t};\\n\\treturn { render };\\n}\\nvar create_renderer_default = createRenderer;\\n\\n//#endregion\\nexport { createRenderer, create_renderer_default as default };\""],"mappings":";AAAA,6BAAe"}
|