zudoku 0.57.0 → 0.58.0
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/cli.js +1 -0
- package/dist/app/ZuploBuildConfig.d.ts +1 -1
- package/dist/app/ZuploBuildConfig.js +1 -1
- package/dist/app/ZuploBuildConfig.js.map +1 -1
- package/dist/app/entry.client.js +5 -4
- package/dist/app/entry.client.js.map +1 -1
- package/dist/app/entry.server.js +2 -2
- package/dist/app/entry.server.js.map +1 -1
- package/dist/app/env.js +6 -6
- package/dist/app/env.js.map +1 -1
- package/dist/app/main.js.map +1 -1
- package/dist/app/standalone.js +4 -1
- package/dist/app/standalone.js.map +1 -1
- package/dist/cli/cli.js +2 -1
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/cmds/build.d.ts +1 -1
- package/dist/cli/cmds/dev.d.ts +1 -1
- package/dist/cli/cmds/preview.d.ts +1 -1
- package/dist/cli/common/analytics/lib.js +1 -1
- package/dist/cli/common/analytics/lib.js.map +1 -1
- package/dist/cli/common/logger.js +0 -1
- package/dist/cli/common/logger.js.map +1 -1
- package/dist/cli/common/machine-id/lib.js +3 -2
- package/dist/cli/common/machine-id/lib.js.map +1 -1
- package/dist/cli/common/outdated.js +2 -1
- package/dist/cli/common/outdated.js.map +1 -1
- package/dist/cli/common/output.js +2 -3
- package/dist/cli/common/output.js.map +1 -1
- package/dist/cli/common/utils/box.js +2 -2
- package/dist/cli/common/utils/box.js.map +1 -1
- package/dist/cli/common/validators/lib.js +1 -1
- package/dist/cli/common/validators/lib.js.map +1 -1
- package/dist/cli/dev/handler.js +0 -4
- package/dist/cli/dev/handler.js.map +1 -1
- package/dist/codegen.js +2 -2
- package/dist/codegen.js.map +1 -1
- package/dist/config/loader.js.map +1 -1
- package/dist/config/validators/BuildSchema.d.ts +1 -1
- package/dist/config/validators/BuildSchema.js +3 -3
- package/dist/config/validators/BuildSchema.js.map +1 -1
- package/dist/config/validators/InputNavigationSchema.d.ts +7 -1
- package/dist/config/validators/InputNavigationSchema.js +4 -2
- package/dist/config/validators/InputNavigationSchema.js.map +1 -1
- package/dist/config/validators/InputNavigationSchema.test-d.js +2 -1
- package/dist/config/validators/InputNavigationSchema.test-d.js.map +1 -1
- package/dist/config/validators/NavigationSchema.d.ts +1 -1
- package/dist/config/validators/NavigationSchema.js +2 -2
- package/dist/config/validators/NavigationSchema.js.map +1 -1
- package/dist/config/validators/ProtectedRoutesSchema.d.ts +1 -1
- package/dist/config/validators/ProtectedRoutesSchema.js +1 -1
- package/dist/config/validators/ProtectedRoutesSchema.js.map +1 -1
- package/dist/config/validators/auth.d.ts +2 -2
- package/dist/config/validators/auth.js +1 -1
- package/dist/config/validators/auth.js.map +1 -1
- package/dist/config/validators/validate.d.ts +1 -1
- package/dist/config/validators/validate.js +3 -3
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/config/validators/validate.test.js +1 -2
- package/dist/config/validators/validate.test.js.map +1 -1
- package/dist/flat-config.d.ts +2 -0
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/lib/MissingIcon.d.ts +1 -1
- package/dist/lib/MissingIcon.js.map +1 -1
- package/dist/lib/auth/issuer.test.js +1 -0
- package/dist/lib/auth/issuer.test.js.map +1 -1
- package/dist/lib/authentication/AuthenticationPlugin.d.ts +1 -1
- package/dist/lib/authentication/authentication.d.ts +1 -3
- package/dist/lib/authentication/components/OAuthErrorPage.d.ts +1 -1
- package/dist/lib/authentication/components/OAuthErrorPage.js.map +1 -1
- package/dist/lib/authentication/components/SignOut.js +1 -1
- package/dist/lib/authentication/components/SignOut.js.map +1 -1
- package/dist/lib/authentication/providers/auth0.d.ts +2 -2
- package/dist/lib/authentication/providers/auth0.js +1 -1
- package/dist/lib/authentication/providers/auth0.js.map +1 -1
- package/dist/lib/authentication/providers/azureb2c.d.ts +2 -2
- package/dist/lib/authentication/providers/azureb2c.js.map +1 -1
- package/dist/lib/authentication/providers/clerk.d.ts +2 -2
- package/dist/lib/authentication/providers/openid.d.ts +2 -2
- package/dist/lib/authentication/providers/openid.js.map +1 -1
- package/dist/lib/authentication/providers/supabase.d.ts +2 -2
- package/dist/lib/authentication/providers/supabase.js +1 -0
- package/dist/lib/authentication/providers/supabase.js.map +1 -1
- package/dist/lib/authentication/use-broadcast/shared.d.ts +1 -1
- package/dist/lib/authentication/use-broadcast/shared.js +3 -3
- package/dist/lib/authentication/use-broadcast/shared.js.map +1 -1
- package/dist/lib/authentication/use-broadcast/useBroadcast.js +2 -2
- package/dist/lib/authentication/use-broadcast/useBroadcast.js.map +1 -1
- package/dist/lib/components/Autocomplete.js.map +1 -1
- package/dist/lib/components/Bootstrap.js.map +1 -1
- package/dist/lib/components/BuildCheck.js +2 -1
- package/dist/lib/components/BuildCheck.js.map +1 -1
- package/dist/lib/components/Header.js +1 -3
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +1 -1
- package/dist/lib/components/Heading.js +1 -1
- package/dist/lib/components/Heading.js.map +1 -1
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/Markdown.js +2 -2
- package/dist/lib/components/Markdown.js.map +1 -1
- package/dist/lib/components/MobileTopNavigation.js +4 -4
- package/dist/lib/components/MobileTopNavigation.js.map +1 -1
- package/dist/lib/components/PathRenderer.js +1 -1
- package/dist/lib/components/PathRenderer.js.map +1 -1
- package/dist/lib/components/Search.js +1 -1
- package/dist/lib/components/Search.js.map +1 -1
- package/dist/lib/components/Slot.js.map +1 -1
- package/dist/lib/components/Slot.test.js +7 -3
- package/dist/lib/components/Slot.test.js.map +1 -1
- package/dist/lib/components/TopNavigation.d.ts +1 -1
- package/dist/lib/components/TopNavigation.js +2 -2
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/Zudoku.js +2 -2
- package/dist/lib/components/Zudoku.js.map +1 -1
- package/dist/lib/components/context/ComponentsContext.js.map +1 -1
- package/dist/lib/components/context/RouterEventsEmitter.js.map +1 -1
- package/dist/lib/components/context/SlotProvider.js.map +1 -1
- package/dist/lib/components/context/ViewportAnchorContext.js +1 -1
- package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
- package/dist/lib/components/context/ZudokuContext.d.ts +1 -1
- package/dist/lib/components/context/ZudokuProvider.d.ts +1 -1
- package/dist/lib/components/index.js +1 -1
- package/dist/lib/components/index.js.map +1 -1
- package/dist/lib/components/navigation/NavigationCategory.js +6 -1
- package/dist/lib/components/navigation/NavigationCategory.js.map +1 -1
- package/dist/lib/components/navigation/NavigationItem.js +2 -2
- package/dist/lib/components/navigation/NavigationItem.js.map +1 -1
- package/dist/lib/components/navigation/NavigationWrapper.js.map +1 -1
- package/dist/lib/components/navigation/Toc.js.map +1 -1
- package/dist/lib/components/navigation/ZudokuLogo.d.ts +1 -1
- package/dist/lib/components/navigation/utils.d.ts +3 -3
- package/dist/lib/components/navigation/utils.js +1 -2
- package/dist/lib/components/navigation/utils.js.map +1 -1
- package/dist/lib/core/ZudokuContext.d.ts +1 -1
- package/dist/lib/core/ZudokuContext.js +1 -0
- package/dist/lib/core/ZudokuContext.js.map +1 -1
- package/dist/lib/errors/ErrorAlert.js +0 -1
- package/dist/lib/errors/ErrorAlert.js.map +1 -1
- package/dist/lib/errors/TopLevelError.d.ts +2 -2
- package/dist/lib/errors/TopLevelError.js +1 -2
- package/dist/lib/errors/TopLevelError.js.map +1 -1
- package/dist/lib/oas/graphql/circular.js +2 -2
- package/dist/lib/oas/graphql/circular.js.map +1 -1
- package/dist/lib/oas/graphql/index.js +2 -1
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/oas/parser/dereference/index.js +2 -1
- package/dist/lib/oas/parser/dereference/index.js.map +1 -1
- package/dist/lib/oas/parser/dereference/resolveRef.js +3 -3
- package/dist/lib/oas/parser/dereference/resolveRef.js.map +1 -1
- package/dist/lib/oas/parser/index.js +1 -1
- package/dist/lib/oas/parser/index.js.map +1 -1
- package/dist/lib/oas/parser/upgrade/index.js +2 -1
- package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
- package/dist/lib/plugins/api-keys/CreateApiKey.d.ts +1 -1
- package/dist/lib/plugins/api-keys/SettingsApiKeys.d.ts +1 -1
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js +5 -6
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
- package/dist/lib/plugins/api-keys/index.d.ts +3 -3
- package/dist/lib/plugins/api-keys/index.js +1 -1
- package/dist/lib/plugins/api-keys/index.js.map +1 -1
- package/dist/lib/plugins/custom-pages/index.d.ts +1 -1
- package/dist/lib/plugins/markdown/MdxPage.d.ts +1 -1
- package/dist/lib/plugins/markdown/MdxPage.js +3 -3
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/markdown/index.d.ts +1 -1
- package/dist/lib/plugins/openapi/ColorizedParam.js +4 -1
- package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
- package/dist/lib/plugins/openapi/Endpoint.js +2 -2
- package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
- package/dist/lib/plugins/openapi/OasProvider.d.ts +1 -1
- package/dist/lib/plugins/openapi/OasProvider.js +1 -0
- package/dist/lib/plugins/openapi/OasProvider.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.d.ts +1 -1
- package/dist/lib/plugins/openapi/OperationList.js +8 -4
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.d.ts +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.js +6 -4
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/ParamInfos.d.ts +1 -1
- package/dist/lib/plugins/openapi/ParamInfos.js +3 -1
- package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterListItem.js +1 -1
- package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +2 -2
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/Sidecar.js +4 -2
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/StaggeredRender.d.ts +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLContext.d.ts +1 -1
- package/dist/lib/plugins/openapi/client/createServer.js +1 -2
- package/dist/lib/plugins/openapi/client/createServer.js.map +1 -1
- package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -1
- package/dist/lib/plugins/openapi/context.d.ts +1 -1
- package/dist/lib/plugins/openapi/graphql/fragment-masking.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.js +0 -1
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/lib/plugins/openapi/index.d.ts +2 -2
- package/dist/lib/plugins/openapi/index.js +2 -1
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +3 -3
- package/dist/lib/plugins/openapi/playground/BodyPanel.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/Headers.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/IdentityDialog.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/IdentitySelector.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.js +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js +3 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +2 -2
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js.map +1 -1
- package/dist/lib/plugins/openapi/processors/removeExtensions.test.js +1 -0
- package/dist/lib/plugins/openapi/processors/removeExtensions.test.js.map +1 -1
- package/dist/lib/plugins/openapi/processors/removeParameters.test.js +1 -0
- package/dist/lib/plugins/openapi/processors/removeParameters.test.js.map +1 -1
- package/dist/lib/plugins/openapi/processors/traverse.d.ts +1 -1
- package/dist/lib/plugins/openapi/processors/traverse.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js +1 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js.map +1 -1
- package/dist/lib/plugins/openapi/util/createHttpSnippet.d.ts +1 -1
- package/dist/lib/plugins/openapi/util/createHttpSnippet.js +1 -1
- package/dist/lib/plugins/openapi/util/createHttpSnippet.js.map +1 -1
- package/dist/lib/plugins/openapi/util/createNavigationCategory.js +1 -0
- package/dist/lib/plugins/openapi/util/createNavigationCategory.js.map +1 -1
- package/dist/lib/plugins/openapi/util/generateSchemaExample.d.ts +1 -1
- package/dist/lib/plugins/openapi/util/generateSchemaExample.js +1 -2
- package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
- package/dist/lib/plugins/openapi/util/getRoutes.js +1 -1
- package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -1
- package/dist/lib/plugins/openapi/util/methodColorMap.d.ts +1 -1
- package/dist/lib/plugins/search-inkeep/index.js +1 -1
- package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js +1 -1
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/ResultList.d.ts +1 -1
- package/dist/lib/plugins/search-pagefind/ResultList.js +4 -1
- package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/get-results.js +0 -1
- package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -1
- package/dist/lib/shiki.d.ts +2 -5
- package/dist/lib/shiki.js +3 -6
- package/dist/lib/shiki.js.map +1 -1
- package/dist/lib/ui/Breadcrumb.js +1 -1
- package/dist/lib/ui/Breadcrumb.js.map +1 -1
- package/dist/lib/ui/Carousel.js.map +1 -1
- package/dist/lib/ui/CodeBlock.js +1 -1
- package/dist/lib/ui/CodeBlock.js.map +1 -1
- package/dist/lib/ui/Command.d.ts +2 -2
- package/dist/lib/ui/Command.js +2 -6
- package/dist/lib/ui/Command.js.map +1 -1
- package/dist/lib/ui/Dialog.js +1 -1
- package/dist/lib/ui/Dialog.js.map +1 -1
- package/dist/lib/ui/Form.d.ts +2 -2
- package/dist/lib/ui/Pagination.d.ts +1 -1
- package/dist/lib/ui/Pagination.js +1 -1
- package/dist/lib/ui/Pagination.js.map +1 -1
- package/dist/lib/ui/ToggleGroup.d.ts +1 -1
- package/dist/lib/util/MdxComponents.d.ts +1 -1
- package/dist/lib/util/MdxComponents.js +4 -2
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/dist/lib/util/cn.js.map +1 -1
- package/dist/lib/util/createVariantComponent.d.ts +2 -2
- package/dist/lib/util/createVariantComponent.js.map +1 -1
- package/dist/lib/util/groupBy.js +1 -0
- package/dist/lib/util/groupBy.js.map +1 -1
- package/dist/lib/util/humanFileSize.js +1 -1
- package/dist/lib/util/humanFileSize.js.map +1 -1
- package/dist/lib/util/invariant.js +3 -1
- package/dist/lib/util/invariant.js.map +1 -1
- package/dist/lib/util/pastellize.js +2 -2
- package/dist/lib/util/pastellize.js.map +1 -1
- package/dist/lib/util/useIsomorphicLayoutEffect.js.map +1 -1
- package/dist/lib/util/useScrollToAnchor.js +2 -0
- package/dist/lib/util/useScrollToAnchor.js.map +1 -1
- package/dist/ts.js +3 -3
- package/dist/ts.js.map +1 -1
- package/dist/vite/api/SchemaManager.js +6 -6
- package/dist/vite/api/SchemaManager.js.map +1 -1
- package/dist/vite/api/schema-codegen.js +1 -2
- package/dist/vite/api/schema-codegen.js.map +1 -1
- package/dist/vite/api/schema-codegen.test.js +1 -1
- package/dist/vite/api/schema-codegen.test.js.map +1 -1
- package/dist/vite/build.js +1 -1
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/dev-server.js +2 -2
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/error-handler.d.ts +2 -2
- package/dist/vite/error-handler.js.map +1 -1
- package/dist/vite/mdx/remark-inject-filepath.d.ts +3 -0
- package/dist/vite/mdx/remark-inject-filepath.js +6 -0
- package/dist/vite/mdx/remark-inject-filepath.js.map +1 -0
- package/dist/vite/mdx/remark-last-modified.js +0 -1
- package/dist/vite/mdx/remark-last-modified.js.map +1 -1
- package/dist/vite/mdx/remark-link-rewrite.d.ts +2 -0
- package/dist/vite/mdx/remark-link-rewrite.js +20 -0
- package/dist/vite/mdx/remark-link-rewrite.js.map +1 -0
- package/dist/vite/mdx/remark-normalize-image-url.d.ts +2 -0
- package/dist/vite/mdx/remark-normalize-image-url.js +12 -0
- package/dist/vite/mdx/remark-normalize-image-url.js.map +1 -0
- package/dist/vite/{remarkStaticGeneration.d.ts → mdx/remark-static-generation.d.ts} +2 -2
- package/dist/vite/{remarkStaticGeneration.js → mdx/remark-static-generation.js} +2 -2
- package/dist/vite/mdx/remark-static-generation.js.map +1 -0
- package/dist/vite/output.d.ts +1 -1
- package/dist/vite/output.js +1 -1
- package/dist/vite/output.js.map +1 -1
- package/dist/vite/plugin-api-keys.d.ts +1 -1
- package/dist/vite/plugin-api-keys.js +1 -1
- package/dist/vite/plugin-api-keys.js.map +1 -1
- package/dist/vite/plugin-api.js +4 -4
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin-auth.d.ts +1 -1
- package/dist/vite/plugin-auth.js +1 -1
- package/dist/vite/plugin-auth.js.map +1 -1
- package/dist/vite/plugin-component.d.ts +1 -1
- package/dist/vite/plugin-config-reload.d.ts +1 -1
- package/dist/vite/plugin-custom-pages.d.ts +1 -1
- package/dist/vite/plugin-custom-pages.js +1 -1
- package/dist/vite/plugin-custom-pages.js.map +1 -1
- package/dist/vite/plugin-docs.js +2 -2
- package/dist/vite/plugin-docs.js.map +1 -1
- package/dist/vite/plugin-frontmatter.js +1 -1
- package/dist/vite/plugin-frontmatter.js.map +1 -1
- package/dist/vite/plugin-mdx.d.ts +1 -1
- package/dist/vite/plugin-mdx.js +9 -25
- package/dist/vite/plugin-mdx.js.map +1 -1
- package/dist/vite/plugin-metadata.d.ts +1 -1
- package/dist/vite/plugin-navigation.d.ts +2 -2
- package/dist/vite/plugin-navigation.js +34 -35
- package/dist/vite/plugin-navigation.js.map +1 -1
- package/dist/vite/plugin-redirect.d.ts +1 -1
- package/dist/vite/plugin-redirect.js +1 -1
- package/dist/vite/plugin-redirect.js.map +1 -1
- package/dist/vite/plugin-search.d.ts +1 -1
- package/dist/vite/plugin-search.js +1 -1
- package/dist/vite/plugin-search.js.map +1 -1
- package/dist/vite/plugin-shiki-register.js +1 -1
- package/dist/vite/plugin-shiki-register.js.map +1 -1
- package/dist/vite/plugin-theme.js +6 -6
- package/dist/vite/plugin-theme.js.map +1 -1
- package/dist/vite/plugin-theme.test.js +2 -0
- package/dist/vite/plugin-theme.test.js.map +1 -1
- package/dist/vite/plugin.d.ts +1 -1
- package/dist/vite/plugin.js +2 -2
- package/dist/vite/plugin.js.map +1 -1
- package/dist/vite/prerender/FileWritingResponse.js +5 -3
- package/dist/vite/prerender/FileWritingResponse.js.map +1 -1
- package/dist/vite/prerender/InMemoryResponse.js +3 -1
- package/dist/vite/prerender/InMemoryResponse.js.map +1 -1
- package/dist/vite/prerender/prerender.js +1 -1
- package/dist/vite/prerender/prerender.js.map +1 -1
- package/dist/vite/prerender/worker.d.ts +1 -1
- package/dist/vite/prerender/worker.js.map +1 -1
- package/dist/vite/reporter.js +2 -2
- package/dist/vite/reporter.js.map +1 -1
- package/dist/vite/shadcn-registry.d.ts +8 -33
- package/dist/vite/sitemap.js +4 -4
- package/dist/vite/sitemap.js.map +1 -1
- package/dist/zuplo/enrich-with-zuplo.js +3 -3
- package/dist/zuplo/enrich-with-zuplo.js.map +1 -1
- package/dist/zuplo/policy-types.js +0 -1
- package/dist/zuplo/policy-types.js.map +1 -1
- package/dist/zuplo/with-zuplo.js +1 -1
- package/dist/zuplo/with-zuplo.js.map +1 -1
- package/lib/{CodeBlock-yJjjRwj-.js → CodeBlock-CX_J17Hf.js} +10 -10
- package/lib/CodeBlock-CX_J17Hf.js.map +1 -0
- package/lib/{Command-CDn17s8X.js → Command-CUSlH0gJ.js} +21 -27
- package/lib/Command-CUSlH0gJ.js.map +1 -0
- package/lib/{Dialog-BrIjMmUK.js → Dialog-BmgXWOaz.js} +2 -2
- package/lib/Dialog-BmgXWOaz.js.map +1 -0
- package/lib/{MdxPage-BmOQ5m5g.js → MdxPage-Dae--mnh.js} +12 -12
- package/lib/MdxPage-Dae--mnh.js.map +1 -0
- package/lib/{OAuthErrorPage-Jv3r8wnL.js → OAuthErrorPage-C2pwoHzm.js} +6 -6
- package/lib/OAuthErrorPage-C2pwoHzm.js.map +1 -0
- package/lib/{OasProvider-CA_lpILt.js → OasProvider-qKBA2fuv.js} +3 -2
- package/lib/OasProvider-qKBA2fuv.js.map +1 -0
- package/lib/{OperationList-C-TObVw6.js → OperationList-sDq65nbj.js} +302 -306
- package/lib/OperationList-sDq65nbj.js.map +1 -0
- package/lib/{Pagination-CBiRGddW.js → Pagination-CmDrHzPg.js} +2 -2
- package/lib/{Pagination-CBiRGddW.js.map → Pagination-CmDrHzPg.js.map} +1 -1
- package/lib/{RouteGuard-JLH6tCY8.js → RouteGuard-BIksrt_C.js} +4 -4
- package/lib/{RouteGuard-JLH6tCY8.js.map → RouteGuard-BIksrt_C.js.map} +1 -1
- package/lib/{RouterError-DcVonMP1.js → RouterError-BYHrbLtD.js} +2 -2
- package/lib/{RouterError-DcVonMP1.js.map → RouterError-BYHrbLtD.js.map} +1 -1
- package/lib/{SchemaList-BeYWvBC7.js → SchemaList-DdwSRBpd.js} +7 -7
- package/lib/{SchemaList-BeYWvBC7.js.map → SchemaList-DdwSRBpd.js.map} +1 -1
- package/lib/{SchemaView-CRcShewo.js → SchemaView-CA_Q_bvL.js} +65 -62
- package/lib/SchemaView-CA_Q_bvL.js.map +1 -0
- package/lib/{Select-C3efYI1n.js → Select-DWh0wSay.js} +3 -3
- package/lib/{Select-C3efYI1n.js.map → Select-DWh0wSay.js.map} +1 -1
- package/lib/{SignUp-CxBGHgba.js → SignUp-u6c0hFsC.js} +4 -4
- package/lib/SignUp-u6c0hFsC.js.map +1 -0
- package/lib/{Slot-DOtTvoyj.js → Slot-BbdqiRXo.js} +267 -239
- package/lib/{Slot-DOtTvoyj.js.map → Slot-BbdqiRXo.js.map} +1 -1
- package/lib/{SyntaxHighlight-GR0eix_L.js → SyntaxHighlight-CvzJ7DNa.js} +6 -9
- package/lib/{SyntaxHighlight-GR0eix_L.js.map → SyntaxHighlight-CvzJ7DNa.js.map} +1 -1
- package/lib/{Toc-BlcGIkXc.js → Toc-BAa-kpqN.js} +2 -2
- package/lib/{Toc-BlcGIkXc.js.map → Toc-BAa-kpqN.js.map} +1 -1
- package/lib/{ZudokuContext-BuJD7yIX.js → ZudokuContext-BR-lnR7O.js} +16 -17
- package/lib/{ZudokuContext-BuJD7yIX.js.map → ZudokuContext-BR-lnR7O.js.map} +1 -1
- package/lib/chunk-QMGIS6GS-DqecZ6nq.js.map +1 -1
- package/lib/{circular-CGTcsqA3.js → circular-vrOlHc7z.js} +2 -2
- package/lib/{circular-CGTcsqA3.js.map → circular-vrOlHc7z.js.map} +1 -1
- package/lib/cn-dYga0KKN.js.map +1 -1
- package/lib/{createServer-DjgpuLne.js → createServer-BFra0x-X.js} +12 -27
- package/lib/createServer-BFra0x-X.js.map +1 -0
- package/lib/{errors-CrI3s7mR.js → errors-B6u81sEb.js} +2 -2
- package/lib/errors-B6u81sEb.js.map +1 -0
- package/lib/{hook-bv3iuX7X.js → hook-B4Q30zMI.js} +2 -2
- package/lib/{hook-bv3iuX7X.js.map → hook-B4Q30zMI.js.map} +1 -1
- package/lib/{index-HarEI51d.js → index-CQGi1b3U.js} +2 -2
- package/lib/{index-HarEI51d.js.map → index-CQGi1b3U.js.map} +1 -1
- package/lib/{index-CvTWnHZF.js → index-D1QlkVH3.js} +55 -52
- package/lib/index-D1QlkVH3.js.map +1 -0
- package/lib/{index-DzO-Qh6S.js → index-z-rQiwfg.js} +143 -146
- package/lib/index-z-rQiwfg.js.map +1 -0
- package/lib/invariant-Bm-FVUQE.js.map +1 -1
- package/lib/{mutation-Dy_5up8v.js → mutation-CiMUdKRU.js} +2 -2
- package/lib/{mutation-Dy_5up8v.js.map → mutation-CiMUdKRU.js.map} +1 -1
- package/lib/ui/Breadcrumb.js +22 -21
- package/lib/ui/Breadcrumb.js.map +1 -1
- package/lib/ui/Carousel.js.map +1 -1
- package/lib/ui/CodeBlock.js +1 -1
- package/lib/ui/Command.js +20 -26
- package/lib/ui/Command.js.map +1 -1
- package/lib/ui/Dialog.js +1 -1
- package/lib/ui/Dialog.js.map +1 -1
- package/lib/ui/Form.js.map +1 -1
- package/lib/ui/Pagination.js +28 -29
- package/lib/ui/Pagination.js.map +1 -1
- package/lib/ui/SyntaxHighlight.js +3 -3
- package/lib/ui/ToggleGroup.js.map +1 -1
- package/lib/zudoku.__internal.js +824 -815
- package/lib/zudoku.__internal.js.map +1 -1
- package/lib/zudoku.auth-auth0.js +1 -1
- package/lib/zudoku.auth-auth0.js.map +1 -1
- package/lib/zudoku.auth-azureb2c.js +5 -5
- package/lib/zudoku.auth-azureb2c.js.map +1 -1
- package/lib/zudoku.auth-clerk.js +2 -2
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +5 -5
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.auth-supabase.js +3 -2
- package/lib/zudoku.auth-supabase.js.map +1 -1
- package/lib/zudoku.components.js +4 -4
- package/lib/zudoku.hooks.js +3 -3
- package/lib/zudoku.icons.js.map +1 -1
- package/lib/zudoku.plugin-api-catalog.js +5 -5
- package/lib/zudoku.plugin-api-keys.js +40 -40
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-pages.js +1 -1
- package/lib/zudoku.plugin-custom-pages.js.map +1 -1
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-markdown.js.map +1 -1
- package/lib/zudoku.plugin-openapi.js +3 -3
- package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
- package/lib/zudoku.plugin-search-pagefind.js +6 -6
- package/lib/zudoku.plugin-search-pagefind.js.map +1 -1
- package/package.json +7 -22
- package/src/app/ZuploBuildConfig.ts +1 -1
- package/src/app/entry.client.tsx +6 -5
- package/src/app/entry.server.tsx +3 -3
- package/src/app/env.ts +6 -6
- package/src/app/main.tsx +2 -2
- package/src/app/standalone.tsx +7 -2
- package/src/lib/MissingIcon.tsx +1 -1
- package/src/lib/auth/issuer.test.ts +1 -0
- package/src/lib/authentication/AuthenticationPlugin.tsx +4 -4
- package/src/lib/authentication/authentication.ts +3 -3
- package/src/lib/authentication/components/OAuthErrorPage.tsx +1 -1
- package/src/lib/authentication/components/SignOut.tsx +1 -1
- package/src/lib/authentication/providers/auth0.tsx +5 -5
- package/src/lib/authentication/providers/azureb2c.tsx +5 -5
- package/src/lib/authentication/providers/clerk.tsx +5 -5
- package/src/lib/authentication/providers/openid.tsx +6 -6
- package/src/lib/authentication/providers/supabase.tsx +7 -6
- package/src/lib/authentication/use-broadcast/shared.ts +4 -4
- package/src/lib/authentication/use-broadcast/useBroadcast.ts +2 -2
- package/src/lib/components/AnchorLink.tsx +1 -1
- package/src/lib/components/Autocomplete.tsx +1 -1
- package/src/lib/components/Bootstrap.tsx +1 -0
- package/src/lib/components/BuildCheck.tsx +2 -1
- package/src/lib/components/Header.tsx +2 -3
- package/src/lib/components/Heading.tsx +2 -3
- package/src/lib/components/Layout.tsx +1 -1
- package/src/lib/components/Markdown.tsx +5 -2
- package/src/lib/components/MobileTopNavigation.tsx +11 -13
- package/src/lib/components/PathRenderer.tsx +2 -2
- package/src/lib/components/Search.tsx +1 -1
- package/src/lib/components/Slot.test.tsx +8 -8
- package/src/lib/components/Slot.tsx +2 -2
- package/src/lib/components/TopNavigation.tsx +3 -3
- package/src/lib/components/Zudoku.tsx +2 -2
- package/src/lib/components/context/ComponentsContext.tsx +2 -2
- package/src/lib/components/context/RouterEventsEmitter.tsx +1 -1
- package/src/lib/components/context/SlotProvider.tsx +4 -4
- package/src/lib/components/context/ViewportAnchorContext.tsx +2 -2
- package/src/lib/components/context/ZudokuContext.ts +1 -1
- package/src/lib/components/context/ZudokuProvider.tsx +1 -1
- package/src/lib/components/index.ts +1 -1
- package/src/lib/components/navigation/NavigationCategory.tsx +8 -1
- package/src/lib/components/navigation/NavigationItem.tsx +2 -2
- package/src/lib/components/navigation/NavigationWrapper.tsx +1 -1
- package/src/lib/components/navigation/Toc.tsx +2 -2
- package/src/lib/components/navigation/ZudokuLogo.tsx +1 -1
- package/src/lib/components/navigation/utils.ts +5 -6
- package/src/lib/core/ZudokuContext.ts +2 -1
- package/src/lib/errors/ErrorAlert.tsx +0 -1
- package/src/lib/errors/TopLevelError.tsx +2 -4
- package/src/lib/hooks/useEvent.test.tsx +2 -2
- package/src/lib/oas/graphql/circular.ts +3 -3
- package/src/lib/oas/graphql/index.ts +2 -1
- package/src/lib/oas/parser/dereference/index.ts +2 -1
- package/src/lib/oas/parser/dereference/resolveRef.ts +4 -4
- package/src/lib/oas/parser/index.ts +2 -2
- package/src/lib/oas/parser/upgrade/index.ts +2 -1
- package/src/lib/plugins/api-keys/CreateApiKey.tsx +1 -1
- package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +5 -6
- package/src/lib/plugins/api-keys/index.tsx +8 -8
- package/src/lib/plugins/custom-pages/index.tsx +1 -1
- package/src/lib/plugins/markdown/MdxPage.tsx +5 -5
- package/src/lib/plugins/markdown/index.tsx +1 -1
- package/src/lib/plugins/openapi/ColorizedParam.tsx +3 -1
- package/src/lib/plugins/openapi/Endpoint.tsx +2 -2
- package/src/lib/plugins/openapi/OasProvider.tsx +2 -1
- package/src/lib/plugins/openapi/OperationList.tsx +5 -4
- package/src/lib/plugins/openapi/OperationListItem.tsx +18 -20
- package/src/lib/plugins/openapi/ParamInfos.tsx +2 -1
- package/src/lib/plugins/openapi/ParameterListItem.tsx +3 -3
- package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +3 -3
- package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +1 -1
- package/src/lib/plugins/openapi/Sidecar.tsx +2 -1
- package/src/lib/plugins/openapi/SidecarExamples.tsx +1 -1
- package/src/lib/plugins/openapi/StaggeredRender.tsx +1 -1
- package/src/lib/plugins/openapi/client/GraphQLContext.tsx +1 -1
- package/src/lib/plugins/openapi/client/createServer.ts +1 -2
- package/src/lib/plugins/openapi/client/useCreateQuery.ts +3 -2
- package/src/lib/plugins/openapi/context.tsx +1 -1
- package/src/lib/plugins/openapi/graphql/fragment-masking.ts +0 -1
- package/src/lib/plugins/openapi/graphql/gql.ts +0 -1
- package/src/lib/plugins/openapi/graphql/graphql.ts +0 -1
- package/src/lib/plugins/openapi/index.tsx +5 -4
- package/src/lib/plugins/openapi/interfaces.ts +5 -3
- package/src/lib/plugins/openapi/playground/BodyPanel.tsx +2 -2
- package/src/lib/plugins/openapi/playground/Headers.tsx +1 -1
- package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +1 -1
- package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +1 -1
- package/src/lib/plugins/openapi/playground/Playground.tsx +2 -2
- package/src/lib/plugins/openapi/playground/QueryParams.tsx +1 -1
- package/src/lib/plugins/openapi/playground/request-panel/UrlPath.tsx +1 -1
- package/src/lib/plugins/openapi/playground/request-panel/UrlQueryParams.tsx +1 -1
- package/src/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.tsx +3 -1
- package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +3 -3
- package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.ts +1 -1
- package/src/lib/plugins/openapi/processors/removeExtensions.test.ts +1 -0
- package/src/lib/plugins/openapi/processors/removeParameters.test.ts +1 -0
- package/src/lib/plugins/openapi/processors/traverse.ts +1 -1
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.tsx +1 -1
- package/src/lib/plugins/openapi/util/createHttpSnippet.ts +2 -2
- package/src/lib/plugins/openapi/util/createNavigationCategory.tsx +1 -0
- package/src/lib/plugins/openapi/util/generateSchemaExample.ts +3 -4
- package/src/lib/plugins/openapi/util/getRoutes.tsx +2 -2
- package/src/lib/plugins/openapi/util/methodColorMap.tsx +1 -1
- package/src/lib/plugins/search-inkeep/index.tsx +3 -3
- package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +2 -4
- package/src/lib/plugins/search-pagefind/ResultList.tsx +3 -4
- package/src/lib/plugins/search-pagefind/get-results.tsx +0 -1
- package/src/lib/shiki.ts +6 -6
- package/src/lib/ui/Breadcrumb.tsx +1 -0
- package/src/lib/ui/Carousel.tsx +1 -0
- package/src/lib/ui/CodeBlock.tsx +3 -1
- package/src/lib/ui/Command.tsx +2 -4
- package/src/lib/ui/Dialog.tsx +1 -2
- package/src/lib/ui/Form.tsx +4 -4
- package/src/lib/ui/Pagination.tsx +1 -2
- package/src/lib/ui/ToggleGroup.tsx +1 -1
- package/src/lib/util/MdxComponents.tsx +9 -2
- package/src/lib/util/cn.ts +1 -1
- package/src/lib/util/createVariantComponent.tsx +2 -2
- package/src/lib/util/groupBy.ts +1 -0
- package/src/lib/util/humanFileSize.ts +2 -3
- package/src/lib/util/invariant.ts +1 -0
- package/src/lib/util/pastellize.ts +2 -2
- package/src/lib/util/types.ts +1 -1
- package/src/lib/util/useIsomorphicLayoutEffect.ts +1 -0
- package/src/lib/util/useScrollToAnchor.ts +3 -1
- package/src/shiki/langs/vue-vine.js +1 -0
- package/dist/lib/components/ReactMarkdown.d.ts +0 -29
- package/dist/lib/components/ReactMarkdown.js +0 -182
- package/dist/lib/components/ReactMarkdown.js.map +0 -1
- package/dist/vite/remarkStaticGeneration.js.map +0 -1
- package/lib/CodeBlock-yJjjRwj-.js.map +0 -1
- package/lib/Command-CDn17s8X.js.map +0 -1
- package/lib/Dialog-BrIjMmUK.js.map +0 -1
- package/lib/MdxPage-BmOQ5m5g.js.map +0 -1
- package/lib/OAuthErrorPage-Jv3r8wnL.js.map +0 -1
- package/lib/OasProvider-CA_lpILt.js.map +0 -1
- package/lib/OperationList-C-TObVw6.js.map +0 -1
- package/lib/SchemaView-CRcShewo.js.map +0 -1
- package/lib/SignUp-CxBGHgba.js.map +0 -1
- package/lib/createServer-DjgpuLne.js.map +0 -1
- package/lib/errors-CrI3s7mR.js.map +0 -1
- package/lib/index-CvTWnHZF.js.map +0 -1
- package/lib/index-DzO-Qh6S.js.map +0 -1
- package/src/lib/components/ReactMarkdown.license.txt +0 -21
- package/src/lib/components/ReactMarkdown.tsx +0 -264
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { j as O } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
2
|
import * as ps from "react";
|
|
3
3
|
import { useRef as qe, createContext as ai, use as si, useEffect as et, useCallback as oi, useState as sn, useMemo as Ft, memo as lr, Fragment as Es } from "react";
|
|
4
|
-
import { J as Ts, K as en, j as Xn, d as cr, m as gs } from "./ZudokuContext-
|
|
5
|
-
import { s as tn, p as je, a as fr, v as Tn, b as bs, V as As, u as _s, t as Cs, c as qr, d as jr, o as Me, z as li, e as Is, f as xs, g as Ns, i as ci, j as Ss, k as Vr, E as ks, S as Os, l as ys, h as Ls } from "./SyntaxHighlight-
|
|
4
|
+
import { J as Ts, K as en, j as Xn, d as cr, m as gs } from "./ZudokuContext-BR-lnR7O.js";
|
|
5
|
+
import { s as tn, p as je, a as fr, v as Tn, b as bs, V as As, u as _s, t as Cs, c as qr, d as jr, o as Me, z as li, e as Is, f as xs, g as Ns, i as ci, j as Ss, k as Vr, E as ks, S as Os, l as ys, h as Ls } from "./SyntaxHighlight-CvzJ7DNa.js";
|
|
6
6
|
import { g as Rs, i as Ds, Z as Wr } from "./invariant-Bm-FVUQE.js";
|
|
7
|
-
import { u as Ps, C as ws } from "./CodeBlock-
|
|
7
|
+
import { u as Ps, C as ws } from "./CodeBlock-CX_J17Hf.js";
|
|
8
8
|
import { EmbeddedCodeBlock as Ms } from "./ui/EmbeddedCodeBlock.js";
|
|
9
9
|
import { Callout as Ue } from "./ui/Callout.js";
|
|
10
10
|
import { CheckIcon as Bs, CopyIcon as Fs, ChevronRightIcon as Hs, ExternalLinkIcon as Us, LinkIcon as vs } from "lucide-react";
|
|
11
11
|
import { c as ie } from "./cn-dYga0KKN.js";
|
|
12
12
|
import { aM as gn, aN as zs, N as hr, aI as Ys } from "./chunk-QMGIS6GS-DqecZ6nq.js";
|
|
13
13
|
import * as pt from "@radix-ui/react-tooltip";
|
|
14
|
-
import { a as qs, d as js, e as Vs } from "./hook-
|
|
14
|
+
import { a as qs, d as js, e as Vs } from "./hook-B4Q30zMI.js";
|
|
15
15
|
import * as yn from "@radix-ui/react-collapsible";
|
|
16
16
|
import { B as Ws } from "./Button-B3o-2Xdf.js";
|
|
17
17
|
import { c as fi } from "./index-DI5SPFK9.js";
|
|
@@ -288,14 +288,14 @@ function oo(e) {
|
|
|
288
288
|
contentType: "flow",
|
|
289
289
|
previous: a,
|
|
290
290
|
_tokenizer: u
|
|
291
|
-
}),
|
|
291
|
+
}), C(D);
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function C(D) {
|
|
294
294
|
if (D === null) {
|
|
295
295
|
L(e.exit("chunkFlow"), !0), x(0), e.consume(D);
|
|
296
296
|
return;
|
|
297
297
|
}
|
|
298
|
-
return H(D) ? (e.consume(D), L(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, o) : (e.consume(D),
|
|
298
|
+
return H(D) ? (e.consume(D), L(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, o) : (e.consume(D), C);
|
|
299
299
|
}
|
|
300
300
|
function L(D, z) {
|
|
301
301
|
const Y = t.sliceStream(D);
|
|
@@ -602,7 +602,7 @@ function _o(e, t, n) {
|
|
|
602
602
|
return k === o ? (i++, e.consume(k), h) : i < 3 ? n(k) : (e.exit("codeFencedFenceSequence"), j(k) ? W(e, f, "whitespace")(k) : f(k));
|
|
603
603
|
}
|
|
604
604
|
function f(k) {
|
|
605
|
-
return k === null || H(k) ? (e.exit("codeFencedFence"), r.interrupt ? t(k) : e.check(Jr,
|
|
605
|
+
return k === null || H(k) ? (e.exit("codeFencedFence"), r.interrupt ? t(k) : e.check(Jr, C, z)(k)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
|
606
606
|
contentType: "string"
|
|
607
607
|
}), p(k));
|
|
608
608
|
}
|
|
@@ -617,7 +617,7 @@ function _o(e, t, n) {
|
|
|
617
617
|
function A(k) {
|
|
618
618
|
return k === null || H(k) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), f(k)) : k === 96 && k === o ? n(k) : (e.consume(k), A);
|
|
619
619
|
}
|
|
620
|
-
function
|
|
620
|
+
function C(k) {
|
|
621
621
|
return e.attempt(u, z, L)(k);
|
|
622
622
|
}
|
|
623
623
|
function L(k) {
|
|
@@ -632,7 +632,7 @@ function _o(e, t, n) {
|
|
|
632
632
|
)(k) : w(k);
|
|
633
633
|
}
|
|
634
634
|
function w(k) {
|
|
635
|
-
return k === null || H(k) ? e.check(Jr,
|
|
635
|
+
return k === null || H(k) ? e.check(Jr, C, z)(k) : (e.enter("codeFlowValue"), D(k));
|
|
636
636
|
}
|
|
637
637
|
function D(k) {
|
|
638
638
|
return k === null || H(k) ? (e.exit("codeFlowValue"), w(k)) : (e.consume(k), D);
|
|
@@ -777,8 +777,8 @@ function Lo(e, t) {
|
|
|
777
777
|
const n = e[t][1], r = e[t][2];
|
|
778
778
|
let u = t - 1;
|
|
779
779
|
const a = [], i = n._tokenizer || r.parser[n.contentType](n.start), o = i.events, l = [], c = {};
|
|
780
|
-
let h, f, p = -1, d = n, A = 0,
|
|
781
|
-
const L = [
|
|
780
|
+
let h, f, p = -1, d = n, A = 0, C = 0;
|
|
781
|
+
const L = [C];
|
|
782
782
|
for (; d; ) {
|
|
783
783
|
for (; e[++u][1] !== d; )
|
|
784
784
|
;
|
|
@@ -786,7 +786,7 @@ function Lo(e, t) {
|
|
|
786
786
|
}
|
|
787
787
|
for (d = n; ++p < o.length; )
|
|
788
788
|
// Find a void token that includes a break.
|
|
789
|
-
o[p][0] === "exit" && o[p - 1][0] === "enter" && o[p][1].type === o[p - 1][1].type && o[p][1].start.line !== o[p][1].end.line && (
|
|
789
|
+
o[p][0] === "exit" && o[p - 1][0] === "enter" && o[p][1].type === o[p - 1][1].type && o[p][1].start.line !== o[p][1].end.line && (C = p + 1, L.push(C), d._tokenizer = void 0, d.previous = void 0, d = d.next);
|
|
790
790
|
for (i.events = [], d ? (d._tokenizer = void 0, d.previous = void 0) : L.pop(), p = L.length; p--; ) {
|
|
791
791
|
const x = o.slice(L[p], L[p + 1]), w = a.pop();
|
|
792
792
|
l.unshift([w, w + x.length - 1]), Oe(e, w, 2, x);
|
|
@@ -850,7 +850,7 @@ function gi(e, t, n, r, u, a, i, o, l) {
|
|
|
850
850
|
function f(x) {
|
|
851
851
|
return x === 60 ? (e.enter(r), e.enter(u), e.enter(a), e.consume(x), e.exit(a), p) : x === null || x === 32 || x === 41 || on(x) ? n(x) : (e.enter(r), e.enter(i), e.enter(o), e.enter("chunkString", {
|
|
852
852
|
contentType: "string"
|
|
853
|
-
}),
|
|
853
|
+
}), C(x));
|
|
854
854
|
}
|
|
855
855
|
function p(x) {
|
|
856
856
|
return x === 62 ? (e.enter(a), e.consume(x), e.exit(a), e.exit(u), e.exit(r), t) : (e.enter(o), e.enter("chunkString", {
|
|
@@ -863,11 +863,11 @@ function gi(e, t, n, r, u, a, i, o, l) {
|
|
|
863
863
|
function A(x) {
|
|
864
864
|
return x === 60 || x === 62 || x === 92 ? (e.consume(x), d) : d(x);
|
|
865
865
|
}
|
|
866
|
-
function
|
|
867
|
-
return !h && (x === null || x === 41 || J(x)) ? (e.exit("chunkString"), e.exit(o), e.exit(i), e.exit(r), t(x)) : h < c && x === 40 ? (e.consume(x), h++,
|
|
866
|
+
function C(x) {
|
|
867
|
+
return !h && (x === null || x === 41 || J(x)) ? (e.exit("chunkString"), e.exit(o), e.exit(i), e.exit(r), t(x)) : h < c && x === 40 ? (e.consume(x), h++, C) : x === 41 ? (e.consume(x), h--, C) : x === null || x === 32 || x === 40 || on(x) ? n(x) : (e.consume(x), x === 92 ? L : C);
|
|
868
868
|
}
|
|
869
869
|
function L(x) {
|
|
870
|
-
return x === 40 || x === 41 || x === 92 ? (e.consume(x),
|
|
870
|
+
return x === 40 || x === 41 || x === 92 ? (e.consume(x), C) : C(x);
|
|
871
871
|
}
|
|
872
872
|
}
|
|
873
873
|
function bi(e, t, n, r, u, a) {
|
|
@@ -1151,7 +1151,7 @@ function Ko(e, t, n) {
|
|
|
1151
1151
|
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(b), f;
|
|
1152
1152
|
}
|
|
1153
1153
|
function f(b) {
|
|
1154
|
-
return b === 33 ? (e.consume(b), p) : b === 47 ? (e.consume(b), a = !0,
|
|
1154
|
+
return b === 33 ? (e.consume(b), p) : b === 47 ? (e.consume(b), a = !0, C) : b === 63 ? (e.consume(b), u = 3, r.interrupt ? t : g) : de(b) ? (e.consume(b), i = String.fromCharCode(b), L) : n(b);
|
|
1155
1155
|
}
|
|
1156
1156
|
function p(b) {
|
|
1157
1157
|
return b === 45 ? (e.consume(b), u = 2, d) : b === 91 ? (e.consume(b), u = 5, o = 0, A) : de(b) ? (e.consume(b), u = 4, r.interrupt ? t : g) : n(b);
|
|
@@ -1163,7 +1163,7 @@ function Ko(e, t, n) {
|
|
|
1163
1163
|
const Ie = "CDATA[";
|
|
1164
1164
|
return b === Ie.charCodeAt(o++) ? (e.consume(b), o === Ie.length ? r.interrupt ? t : F : A) : n(b);
|
|
1165
1165
|
}
|
|
1166
|
-
function
|
|
1166
|
+
function C(b) {
|
|
1167
1167
|
return de(b) ? (e.consume(b), i = String.fromCharCode(b), L) : n(b);
|
|
1168
1168
|
}
|
|
1169
1169
|
function L(b) {
|
|
@@ -1299,16 +1299,16 @@ function el(e, t, n) {
|
|
|
1299
1299
|
}
|
|
1300
1300
|
function A(g) {
|
|
1301
1301
|
const Ce = "CDATA[";
|
|
1302
|
-
return g === Ce.charCodeAt(a++) ? (e.consume(g), a === Ce.length ?
|
|
1302
|
+
return g === Ce.charCodeAt(a++) ? (e.consume(g), a === Ce.length ? C : A) : n(g);
|
|
1303
1303
|
}
|
|
1304
|
-
function
|
|
1305
|
-
return g === null ? n(g) : g === 93 ? (e.consume(g), L) : H(g) ? (i =
|
|
1304
|
+
function C(g) {
|
|
1305
|
+
return g === null ? n(g) : g === 93 ? (e.consume(g), L) : H(g) ? (i = C, oe(g)) : (e.consume(g), C);
|
|
1306
1306
|
}
|
|
1307
1307
|
function L(g) {
|
|
1308
|
-
return g === 93 ? (e.consume(g), x) :
|
|
1308
|
+
return g === 93 ? (e.consume(g), x) : C(g);
|
|
1309
1309
|
}
|
|
1310
1310
|
function x(g) {
|
|
1311
|
-
return g === 62 ? ce(g) : g === 93 ? (e.consume(g), x) :
|
|
1311
|
+
return g === 62 ? ce(g) : g === 93 ? (e.consume(g), x) : C(g);
|
|
1312
1312
|
}
|
|
1313
1313
|
function w(g) {
|
|
1314
1314
|
return g === null || g === 62 ? ce(g) : H(g) ? (i = w, oe(g)) : (e.consume(g), w);
|
|
@@ -1935,7 +1935,7 @@ function Rl(e, t, n) {
|
|
|
1935
1935
|
sliceStream: d,
|
|
1936
1936
|
sliceSerialize: p,
|
|
1937
1937
|
now: A,
|
|
1938
|
-
defineSkip:
|
|
1938
|
+
defineSkip: C,
|
|
1939
1939
|
write: f
|
|
1940
1940
|
};
|
|
1941
1941
|
let h = t.tokenize.call(c, l);
|
|
@@ -1959,7 +1959,7 @@ function Rl(e, t, n) {
|
|
|
1959
1959
|
_bufferIndex: G
|
|
1960
1960
|
};
|
|
1961
1961
|
}
|
|
1962
|
-
function
|
|
1962
|
+
function C(B) {
|
|
1963
1963
|
u[B.line] = B.column, N();
|
|
1964
1964
|
}
|
|
1965
1965
|
function L() {
|
|
@@ -2322,7 +2322,7 @@ function $l(e) {
|
|
|
2322
2322
|
characterReferenceMarkerNumeric: Qe,
|
|
2323
2323
|
characterReferenceValue: le,
|
|
2324
2324
|
codeFenced: l(L),
|
|
2325
|
-
codeFencedFence:
|
|
2325
|
+
codeFencedFence: C,
|
|
2326
2326
|
codeFencedFenceInfo: d,
|
|
2327
2327
|
codeFencedFenceMeta: A,
|
|
2328
2328
|
codeFlowValue: N,
|
|
@@ -2533,7 +2533,7 @@ function $l(e) {
|
|
|
2533
2533
|
const S = this.resume(), M = this.stack[this.stack.length - 1];
|
|
2534
2534
|
M.meta = S;
|
|
2535
2535
|
}
|
|
2536
|
-
function
|
|
2536
|
+
function C() {
|
|
2537
2537
|
this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
|
|
2538
2538
|
}
|
|
2539
2539
|
function L() {
|
|
@@ -3420,8 +3420,8 @@ function Dc(e) {
|
|
|
3420
3420
|
continue;
|
|
3421
3421
|
const h = e.all(c), f = String(c.identifier).toUpperCase(), p = Et(f.toLowerCase());
|
|
3422
3422
|
let d = 0;
|
|
3423
|
-
const A = [],
|
|
3424
|
-
for (;
|
|
3423
|
+
const A = [], C = e.footnoteCounts.get(f);
|
|
3424
|
+
for (; C !== void 0 && ++d <= C; ) {
|
|
3425
3425
|
A.length > 0 && A.push({ type: "text", value: " " });
|
|
3426
3426
|
let w = typeof n == "string" ? n : n(l, d);
|
|
3427
3427
|
typeof w == "string" && (w = { type: "text", value: w }), A.push({
|
|
@@ -3505,7 +3505,7 @@ function wc(e, t) {
|
|
|
3505
3505
|
return d(o, h, f);
|
|
3506
3506
|
if (o.options.passThrough && o.options.passThrough.includes(p)) {
|
|
3507
3507
|
if ("children" in h) {
|
|
3508
|
-
const { children:
|
|
3508
|
+
const { children: C, ...L } = h, x = cn(L);
|
|
3509
3509
|
return x.children = o.all(h), x;
|
|
3510
3510
|
}
|
|
3511
3511
|
return cn(h);
|
|
@@ -3521,8 +3521,8 @@ function wc(e, t) {
|
|
|
3521
3521
|
const A = o.one(p[d], h);
|
|
3522
3522
|
if (A) {
|
|
3523
3523
|
if (d && p[d - 1].type === "break" && (!Array.isArray(A) && A.type === "text" && (A.value = cu(A.value)), !Array.isArray(A) && A.type === "element")) {
|
|
3524
|
-
const
|
|
3525
|
-
|
|
3524
|
+
const C = A.children[0];
|
|
3525
|
+
C && C.type === "text" && (C.value = cu(C.value));
|
|
3526
3526
|
}
|
|
3527
3527
|
Array.isArray(A) ? f.push(...A) : f.push(A);
|
|
3528
3528
|
}
|
|
@@ -3629,12 +3629,12 @@ function vc() {
|
|
|
3629
3629
|
return c[h];
|
|
3630
3630
|
};
|
|
3631
3631
|
return Pn = function l() {
|
|
3632
|
-
var c, h, f, p, d, A,
|
|
3633
|
-
for (typeof
|
|
3632
|
+
var c, h, f, p, d, A, C = arguments[0], L = 1, x = arguments.length, w = !1;
|
|
3633
|
+
for (typeof C == "boolean" && (w = C, C = arguments[1] || {}, L = 2), (C == null || typeof C != "object" && typeof C != "function") && (C = {}); L < x; ++L)
|
|
3634
3634
|
if (c = arguments[L], c != null)
|
|
3635
3635
|
for (h in c)
|
|
3636
|
-
f = o(
|
|
3637
|
-
return
|
|
3636
|
+
f = o(C, h), p = o(c, h), C !== p && (w && p && (a(p) || (d = u(p))) ? (d ? (d = !1, A = f && u(f) ? f : []) : A = f && a(f) ? f : {}, i(C, { name: h, newValue: l(w, A, p) })) : typeof p < "u" && i(C, { name: h, newValue: p }));
|
|
3637
|
+
return C;
|
|
3638
3638
|
}, Pn;
|
|
3639
3639
|
}
|
|
3640
3640
|
var zc = vc();
|
|
@@ -4749,8 +4749,8 @@ class _r extends t0 {
|
|
|
4749
4749
|
r.push([c, ...h]);
|
|
4750
4750
|
else if (h.length > 0) {
|
|
4751
4751
|
let [d, ...A] = h;
|
|
4752
|
-
const
|
|
4753
|
-
Zn(
|
|
4752
|
+
const C = r[p][1];
|
|
4753
|
+
Zn(C) && Zn(d) && (d = wn(!0, C, d)), r[p] = [c, d, ...A];
|
|
4754
4754
|
}
|
|
4755
4755
|
}
|
|
4756
4756
|
}
|
|
@@ -4860,8 +4860,8 @@ function d0(e, t) {
|
|
|
4860
4860
|
let d;
|
|
4861
4861
|
for (d in Ln)
|
|
4862
4862
|
if (Object.hasOwn(Ln, d) && Object.hasOwn(h.properties, d)) {
|
|
4863
|
-
const A = h.properties[d],
|
|
4864
|
-
(
|
|
4863
|
+
const A = h.properties[d], C = Ln[d];
|
|
4864
|
+
(C === null || C.includes(h.tagName)) && (h.properties[d] = l(String(A || ""), d, h));
|
|
4865
4865
|
}
|
|
4866
4866
|
}
|
|
4867
4867
|
if (h.type === "element") {
|
|
@@ -6685,10 +6685,10 @@ function Qi(e) {
|
|
|
6685
6685
|
function Gi(e) {
|
|
6686
6686
|
return e >= 64976 && e <= 65007 || K0.has(e);
|
|
6687
6687
|
}
|
|
6688
|
-
var
|
|
6688
|
+
var I;
|
|
6689
6689
|
(function(e) {
|
|
6690
6690
|
e.controlCharacterInInputStream = "control-character-in-input-stream", e.noncharacterInInputStream = "noncharacter-in-input-stream", e.surrogateInInputStream = "surrogate-in-input-stream", e.nonVoidHtmlElementStartTagWithTrailingSolidus = "non-void-html-element-start-tag-with-trailing-solidus", e.endTagWithAttributes = "end-tag-with-attributes", e.endTagWithTrailingSolidus = "end-tag-with-trailing-solidus", e.unexpectedSolidusInTag = "unexpected-solidus-in-tag", e.unexpectedNullCharacter = "unexpected-null-character", e.unexpectedQuestionMarkInsteadOfTagName = "unexpected-question-mark-instead-of-tag-name", e.invalidFirstCharacterOfTagName = "invalid-first-character-of-tag-name", e.unexpectedEqualsSignBeforeAttributeName = "unexpected-equals-sign-before-attribute-name", e.missingEndTagName = "missing-end-tag-name", e.unexpectedCharacterInAttributeName = "unexpected-character-in-attribute-name", e.unknownNamedCharacterReference = "unknown-named-character-reference", e.missingSemicolonAfterCharacterReference = "missing-semicolon-after-character-reference", e.unexpectedCharacterAfterDoctypeSystemIdentifier = "unexpected-character-after-doctype-system-identifier", e.unexpectedCharacterInUnquotedAttributeValue = "unexpected-character-in-unquoted-attribute-value", e.eofBeforeTagName = "eof-before-tag-name", e.eofInTag = "eof-in-tag", e.missingAttributeValue = "missing-attribute-value", e.missingWhitespaceBetweenAttributes = "missing-whitespace-between-attributes", e.missingWhitespaceAfterDoctypePublicKeyword = "missing-whitespace-after-doctype-public-keyword", e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers = "missing-whitespace-between-doctype-public-and-system-identifiers", e.missingWhitespaceAfterDoctypeSystemKeyword = "missing-whitespace-after-doctype-system-keyword", e.missingQuoteBeforeDoctypePublicIdentifier = "missing-quote-before-doctype-public-identifier", e.missingQuoteBeforeDoctypeSystemIdentifier = "missing-quote-before-doctype-system-identifier", e.missingDoctypePublicIdentifier = "missing-doctype-public-identifier", e.missingDoctypeSystemIdentifier = "missing-doctype-system-identifier", e.abruptDoctypePublicIdentifier = "abrupt-doctype-public-identifier", e.abruptDoctypeSystemIdentifier = "abrupt-doctype-system-identifier", e.cdataInHtmlContent = "cdata-in-html-content", e.incorrectlyOpenedComment = "incorrectly-opened-comment", e.eofInScriptHtmlCommentLikeText = "eof-in-script-html-comment-like-text", e.eofInDoctype = "eof-in-doctype", e.nestedComment = "nested-comment", e.abruptClosingOfEmptyComment = "abrupt-closing-of-empty-comment", e.eofInComment = "eof-in-comment", e.incorrectlyClosedComment = "incorrectly-closed-comment", e.eofInCdata = "eof-in-cdata", e.absenceOfDigitsInNumericCharacterReference = "absence-of-digits-in-numeric-character-reference", e.nullCharacterReference = "null-character-reference", e.surrogateCharacterReference = "surrogate-character-reference", e.characterReferenceOutsideUnicodeRange = "character-reference-outside-unicode-range", e.controlCharacterReference = "control-character-reference", e.noncharacterCharacterReference = "noncharacter-character-reference", e.missingWhitespaceBeforeDoctypeName = "missing-whitespace-before-doctype-name", e.missingDoctypeName = "missing-doctype-name", e.invalidCharacterSequenceAfterDoctypeName = "invalid-character-sequence-after-doctype-name", e.duplicateAttribute = "duplicate-attribute", e.nonConformingDoctype = "non-conforming-doctype", e.missingDoctype = "missing-doctype", e.misplacedDoctype = "misplaced-doctype", e.endTagWithoutMatchingOpenElement = "end-tag-without-matching-open-element", e.closingOfElementWithOpenChildElements = "closing-of-element-with-open-child-elements", e.disallowedContentInNoscriptInHead = "disallowed-content-in-noscript-in-head", e.openElementsLeftAfterEof = "open-elements-left-after-eof", e.abandonedHeadElementChild = "abandoned-head-element-child", e.misplacedStartTagForHeadElement = "misplaced-start-tag-for-head-element", e.nestedNoscriptInHead = "nested-noscript-in-head", e.eofInElementThatCanContainOnlyText = "eof-in-element-that-can-contain-only-text";
|
|
6691
|
-
})(
|
|
6691
|
+
})(I || (I = {}));
|
|
6692
6692
|
const Z0 = 65536;
|
|
6693
6693
|
class ef {
|
|
6694
6694
|
constructor(t) {
|
|
@@ -6726,7 +6726,7 @@ class ef {
|
|
|
6726
6726
|
return this.pos++, this._addGap(), J0(t, n);
|
|
6727
6727
|
} else if (!this.lastChunkWritten)
|
|
6728
6728
|
return this.endOfChunkHit = !0, m.EOF;
|
|
6729
|
-
return this._err(
|
|
6729
|
+
return this._err(I.surrogateInInputStream), t;
|
|
6730
6730
|
}
|
|
6731
6731
|
willDropParsedChunk() {
|
|
6732
6732
|
return this.pos > this.bufferWaterline;
|
|
@@ -6764,7 +6764,7 @@ class ef {
|
|
|
6764
6764
|
return t === m.CARRIAGE_RETURN ? (this.isEol = !0, this.skipNextNewLine = !0, m.LINE_FEED) : t === m.LINE_FEED && (this.isEol = !0, this.skipNextNewLine) ? (this.line--, this.skipNextNewLine = !1, this._addGap(), this.advance()) : (this.skipNextNewLine = !1, Wi(t) && (t = this._processSurrogate(t)), this.handler.onParseError === null || t > 31 && t < 127 || t === m.LINE_FEED || t === m.CARRIAGE_RETURN || t > 159 && t < 64976 || this._checkForProblematicCharacters(t), t);
|
|
6765
6765
|
}
|
|
6766
6766
|
_checkForProblematicCharacters(t) {
|
|
6767
|
-
Qi(t) ? this._err(
|
|
6767
|
+
Qi(t) ? this._err(I.controlCharacterInInputStream) : Gi(t) && this._err(I.noncharacterInInputStream);
|
|
6768
6768
|
}
|
|
6769
6769
|
retreat(t) {
|
|
6770
6770
|
for (this.pos -= t; this.pos < this.lastGapPos; )
|
|
@@ -7369,7 +7369,7 @@ function Lu(e) {
|
|
|
7369
7369
|
return Zi(e) || e === m.SOLIDUS || e === m.GREATER_THAN_SIGN;
|
|
7370
7370
|
}
|
|
7371
7371
|
function pf(e) {
|
|
7372
|
-
return e === m.NULL ?
|
|
7372
|
+
return e === m.NULL ? I.nullCharacterReference : e > 1114111 ? I.characterReferenceOutsideUnicodeRange : Wi(e) ? I.surrogateCharacterReference : Gi(e) ? I.noncharacterCharacterReference : Qi(e) || e === m.CARRIAGE_RETURN ? I.controlCharacterReference : null;
|
|
7373
7373
|
}
|
|
7374
7374
|
class Ef {
|
|
7375
7375
|
constructor(t, n) {
|
|
@@ -7377,10 +7377,10 @@ class Ef {
|
|
|
7377
7377
|
this.preprocessor.pos = this.entityStartPos + u - 1, this._flushCodePointConsumedAsCharacterReference(r);
|
|
7378
7378
|
}, n.onParseError ? {
|
|
7379
7379
|
missingSemicolonAfterCharacterReference: () => {
|
|
7380
|
-
this._err(
|
|
7380
|
+
this._err(I.missingSemicolonAfterCharacterReference, 1);
|
|
7381
7381
|
},
|
|
7382
7382
|
absenceOfDigitsInNumericCharacterReference: (r) => {
|
|
7383
|
-
this._err(
|
|
7383
|
+
this._err(I.absenceOfDigitsInNumericCharacterReference, this.entityStartPos - this.preprocessor.pos + r);
|
|
7384
7384
|
},
|
|
7385
7385
|
validateNumericCharacterReference: (r) => {
|
|
7386
7386
|
const u = pf(r);
|
|
@@ -7508,7 +7508,7 @@ class Ef {
|
|
|
7508
7508
|
u[this.currentAttr.name] = this.currentLocation, this._leaveAttrValue();
|
|
7509
7509
|
}
|
|
7510
7510
|
} else
|
|
7511
|
-
this._err(
|
|
7511
|
+
this._err(I.duplicateAttribute);
|
|
7512
7512
|
}
|
|
7513
7513
|
_leaveAttrValue() {
|
|
7514
7514
|
this.currentLocation && (this.currentLocation.endLine = this.preprocessor.line, this.currentLocation.endCol = this.preprocessor.col, this.currentLocation.endOffset = this.preprocessor.offset);
|
|
@@ -7519,7 +7519,7 @@ class Ef {
|
|
|
7519
7519
|
}
|
|
7520
7520
|
emitCurrentTagToken() {
|
|
7521
7521
|
const t = this.currentToken;
|
|
7522
|
-
this.prepareToken(t), t.tagID = bt(t.tagName), t.type === q.START_TAG ? (this.lastStartTagName = t.tagName, this.handler.onStartTag(t)) : (t.attrs.length > 0 && this._err(
|
|
7522
|
+
this.prepareToken(t), t.tagID = bt(t.tagName), t.type === q.START_TAG ? (this.lastStartTagName = t.tagName, this.handler.onStartTag(t)) : (t.attrs.length > 0 && this._err(I.endTagWithAttributes), t.selfClosing && this._err(I.endTagWithTrailingSolidus), this.handler.onEndTag(t)), this.preprocessor.dropParsedChunk();
|
|
7523
7523
|
}
|
|
7524
7524
|
emitCurrentComment(t) {
|
|
7525
7525
|
this.prepareToken(t), this.handler.onComment(t), this.preprocessor.dropParsedChunk();
|
|
@@ -7900,7 +7900,7 @@ class Ef {
|
|
|
7900
7900
|
break;
|
|
7901
7901
|
}
|
|
7902
7902
|
case m.NULL: {
|
|
7903
|
-
this._err(
|
|
7903
|
+
this._err(I.unexpectedNullCharacter), this._emitCodePoint(t);
|
|
7904
7904
|
break;
|
|
7905
7905
|
}
|
|
7906
7906
|
case m.EOF: {
|
|
@@ -7924,7 +7924,7 @@ class Ef {
|
|
|
7924
7924
|
break;
|
|
7925
7925
|
}
|
|
7926
7926
|
case m.NULL: {
|
|
7927
|
-
this._err(
|
|
7927
|
+
this._err(I.unexpectedNullCharacter), this._emitChars(te);
|
|
7928
7928
|
break;
|
|
7929
7929
|
}
|
|
7930
7930
|
case m.EOF: {
|
|
@@ -7944,7 +7944,7 @@ class Ef {
|
|
|
7944
7944
|
break;
|
|
7945
7945
|
}
|
|
7946
7946
|
case m.NULL: {
|
|
7947
|
-
this._err(
|
|
7947
|
+
this._err(I.unexpectedNullCharacter), this._emitChars(te);
|
|
7948
7948
|
break;
|
|
7949
7949
|
}
|
|
7950
7950
|
case m.EOF: {
|
|
@@ -7964,7 +7964,7 @@ class Ef {
|
|
|
7964
7964
|
break;
|
|
7965
7965
|
}
|
|
7966
7966
|
case m.NULL: {
|
|
7967
|
-
this._err(
|
|
7967
|
+
this._err(I.unexpectedNullCharacter), this._emitChars(te);
|
|
7968
7968
|
break;
|
|
7969
7969
|
}
|
|
7970
7970
|
case m.EOF: {
|
|
@@ -7980,7 +7980,7 @@ class Ef {
|
|
|
7980
7980
|
_statePlaintext(t) {
|
|
7981
7981
|
switch (t) {
|
|
7982
7982
|
case m.NULL: {
|
|
7983
|
-
this._err(
|
|
7983
|
+
this._err(I.unexpectedNullCharacter), this._emitChars(te);
|
|
7984
7984
|
break;
|
|
7985
7985
|
}
|
|
7986
7986
|
case m.EOF: {
|
|
@@ -8007,15 +8007,15 @@ class Ef {
|
|
|
8007
8007
|
break;
|
|
8008
8008
|
}
|
|
8009
8009
|
case m.QUESTION_MARK: {
|
|
8010
|
-
this._err(
|
|
8010
|
+
this._err(I.unexpectedQuestionMarkInsteadOfTagName), this._createCommentToken(1), this.state = E.BOGUS_COMMENT, this._stateBogusComment(t);
|
|
8011
8011
|
break;
|
|
8012
8012
|
}
|
|
8013
8013
|
case m.EOF: {
|
|
8014
|
-
this._err(
|
|
8014
|
+
this._err(I.eofBeforeTagName), this._emitChars("<"), this._emitEOFToken();
|
|
8015
8015
|
break;
|
|
8016
8016
|
}
|
|
8017
8017
|
default:
|
|
8018
|
-
this._err(
|
|
8018
|
+
this._err(I.invalidFirstCharacterOfTagName), this._emitChars("<"), this.state = E.DATA, this._stateData(t);
|
|
8019
8019
|
}
|
|
8020
8020
|
}
|
|
8021
8021
|
// End tag open state
|
|
@@ -8026,15 +8026,15 @@ class Ef {
|
|
|
8026
8026
|
else
|
|
8027
8027
|
switch (t) {
|
|
8028
8028
|
case m.GREATER_THAN_SIGN: {
|
|
8029
|
-
this._err(
|
|
8029
|
+
this._err(I.missingEndTagName), this.state = E.DATA;
|
|
8030
8030
|
break;
|
|
8031
8031
|
}
|
|
8032
8032
|
case m.EOF: {
|
|
8033
|
-
this._err(
|
|
8033
|
+
this._err(I.eofBeforeTagName), this._emitChars("</"), this._emitEOFToken();
|
|
8034
8034
|
break;
|
|
8035
8035
|
}
|
|
8036
8036
|
default:
|
|
8037
|
-
this._err(
|
|
8037
|
+
this._err(I.invalidFirstCharacterOfTagName), this._createCommentToken(2), this.state = E.BOGUS_COMMENT, this._stateBogusComment(t);
|
|
8038
8038
|
}
|
|
8039
8039
|
}
|
|
8040
8040
|
// Tag name state
|
|
@@ -8058,11 +8058,11 @@ class Ef {
|
|
|
8058
8058
|
break;
|
|
8059
8059
|
}
|
|
8060
8060
|
case m.NULL: {
|
|
8061
|
-
this._err(
|
|
8061
|
+
this._err(I.unexpectedNullCharacter), n.tagName += te;
|
|
8062
8062
|
break;
|
|
8063
8063
|
}
|
|
8064
8064
|
case m.EOF: {
|
|
8065
|
-
this._err(
|
|
8065
|
+
this._err(I.eofInTag), this._emitEOFToken();
|
|
8066
8066
|
break;
|
|
8067
8067
|
}
|
|
8068
8068
|
default:
|
|
@@ -8167,11 +8167,11 @@ class Ef {
|
|
|
8167
8167
|
break;
|
|
8168
8168
|
}
|
|
8169
8169
|
case m.NULL: {
|
|
8170
|
-
this._err(
|
|
8170
|
+
this._err(I.unexpectedNullCharacter), this._emitChars(te);
|
|
8171
8171
|
break;
|
|
8172
8172
|
}
|
|
8173
8173
|
case m.EOF: {
|
|
8174
|
-
this._err(
|
|
8174
|
+
this._err(I.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
|
|
8175
8175
|
break;
|
|
8176
8176
|
}
|
|
8177
8177
|
default:
|
|
@@ -8191,11 +8191,11 @@ class Ef {
|
|
|
8191
8191
|
break;
|
|
8192
8192
|
}
|
|
8193
8193
|
case m.NULL: {
|
|
8194
|
-
this._err(
|
|
8194
|
+
this._err(I.unexpectedNullCharacter), this.state = E.SCRIPT_DATA_ESCAPED, this._emitChars(te);
|
|
8195
8195
|
break;
|
|
8196
8196
|
}
|
|
8197
8197
|
case m.EOF: {
|
|
8198
|
-
this._err(
|
|
8198
|
+
this._err(I.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
|
|
8199
8199
|
break;
|
|
8200
8200
|
}
|
|
8201
8201
|
default:
|
|
@@ -8219,11 +8219,11 @@ class Ef {
|
|
|
8219
8219
|
break;
|
|
8220
8220
|
}
|
|
8221
8221
|
case m.NULL: {
|
|
8222
|
-
this._err(
|
|
8222
|
+
this._err(I.unexpectedNullCharacter), this.state = E.SCRIPT_DATA_ESCAPED, this._emitChars(te);
|
|
8223
8223
|
break;
|
|
8224
8224
|
}
|
|
8225
8225
|
case m.EOF: {
|
|
8226
|
-
this._err(
|
|
8226
|
+
this._err(I.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
|
|
8227
8227
|
break;
|
|
8228
8228
|
}
|
|
8229
8229
|
default:
|
|
@@ -8268,11 +8268,11 @@ class Ef {
|
|
|
8268
8268
|
break;
|
|
8269
8269
|
}
|
|
8270
8270
|
case m.NULL: {
|
|
8271
|
-
this._err(
|
|
8271
|
+
this._err(I.unexpectedNullCharacter), this._emitChars(te);
|
|
8272
8272
|
break;
|
|
8273
8273
|
}
|
|
8274
8274
|
case m.EOF: {
|
|
8275
|
-
this._err(
|
|
8275
|
+
this._err(I.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
|
|
8276
8276
|
break;
|
|
8277
8277
|
}
|
|
8278
8278
|
default:
|
|
@@ -8292,11 +8292,11 @@ class Ef {
|
|
|
8292
8292
|
break;
|
|
8293
8293
|
}
|
|
8294
8294
|
case m.NULL: {
|
|
8295
|
-
this._err(
|
|
8295
|
+
this._err(I.unexpectedNullCharacter), this.state = E.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(te);
|
|
8296
8296
|
break;
|
|
8297
8297
|
}
|
|
8298
8298
|
case m.EOF: {
|
|
8299
|
-
this._err(
|
|
8299
|
+
this._err(I.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
|
|
8300
8300
|
break;
|
|
8301
8301
|
}
|
|
8302
8302
|
default:
|
|
@@ -8320,11 +8320,11 @@ class Ef {
|
|
|
8320
8320
|
break;
|
|
8321
8321
|
}
|
|
8322
8322
|
case m.NULL: {
|
|
8323
|
-
this._err(
|
|
8323
|
+
this._err(I.unexpectedNullCharacter), this.state = E.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(te);
|
|
8324
8324
|
break;
|
|
8325
8325
|
}
|
|
8326
8326
|
case m.EOF: {
|
|
8327
|
-
this._err(
|
|
8327
|
+
this._err(I.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
|
|
8328
8328
|
break;
|
|
8329
8329
|
}
|
|
8330
8330
|
default:
|
|
@@ -8362,7 +8362,7 @@ class Ef {
|
|
|
8362
8362
|
break;
|
|
8363
8363
|
}
|
|
8364
8364
|
case m.EQUALS_SIGN: {
|
|
8365
|
-
this._err(
|
|
8365
|
+
this._err(I.unexpectedEqualsSignBeforeAttributeName), this._createAttr("="), this.state = E.ATTRIBUTE_NAME;
|
|
8366
8366
|
break;
|
|
8367
8367
|
}
|
|
8368
8368
|
default:
|
|
@@ -8390,11 +8390,11 @@ class Ef {
|
|
|
8390
8390
|
case m.QUOTATION_MARK:
|
|
8391
8391
|
case m.APOSTROPHE:
|
|
8392
8392
|
case m.LESS_THAN_SIGN: {
|
|
8393
|
-
this._err(
|
|
8393
|
+
this._err(I.unexpectedCharacterInAttributeName), this.currentAttr.name += String.fromCodePoint(t);
|
|
8394
8394
|
break;
|
|
8395
8395
|
}
|
|
8396
8396
|
case m.NULL: {
|
|
8397
|
-
this._err(
|
|
8397
|
+
this._err(I.unexpectedNullCharacter), this.currentAttr.name += te;
|
|
8398
8398
|
break;
|
|
8399
8399
|
}
|
|
8400
8400
|
default:
|
|
@@ -8423,7 +8423,7 @@ class Ef {
|
|
|
8423
8423
|
break;
|
|
8424
8424
|
}
|
|
8425
8425
|
case m.EOF: {
|
|
8426
|
-
this._err(
|
|
8426
|
+
this._err(I.eofInTag), this._emitEOFToken();
|
|
8427
8427
|
break;
|
|
8428
8428
|
}
|
|
8429
8429
|
default:
|
|
@@ -8448,7 +8448,7 @@ class Ef {
|
|
|
8448
8448
|
break;
|
|
8449
8449
|
}
|
|
8450
8450
|
case m.GREATER_THAN_SIGN: {
|
|
8451
|
-
this._err(
|
|
8451
|
+
this._err(I.missingAttributeValue), this.state = E.DATA, this.emitCurrentTagToken();
|
|
8452
8452
|
break;
|
|
8453
8453
|
}
|
|
8454
8454
|
default:
|
|
@@ -8468,11 +8468,11 @@ class Ef {
|
|
|
8468
8468
|
break;
|
|
8469
8469
|
}
|
|
8470
8470
|
case m.NULL: {
|
|
8471
|
-
this._err(
|
|
8471
|
+
this._err(I.unexpectedNullCharacter), this.currentAttr.value += te;
|
|
8472
8472
|
break;
|
|
8473
8473
|
}
|
|
8474
8474
|
case m.EOF: {
|
|
8475
|
-
this._err(
|
|
8475
|
+
this._err(I.eofInTag), this._emitEOFToken();
|
|
8476
8476
|
break;
|
|
8477
8477
|
}
|
|
8478
8478
|
default:
|
|
@@ -8492,11 +8492,11 @@ class Ef {
|
|
|
8492
8492
|
break;
|
|
8493
8493
|
}
|
|
8494
8494
|
case m.NULL: {
|
|
8495
|
-
this._err(
|
|
8495
|
+
this._err(I.unexpectedNullCharacter), this.currentAttr.value += te;
|
|
8496
8496
|
break;
|
|
8497
8497
|
}
|
|
8498
8498
|
case m.EOF: {
|
|
8499
|
-
this._err(
|
|
8499
|
+
this._err(I.eofInTag), this._emitEOFToken();
|
|
8500
8500
|
break;
|
|
8501
8501
|
}
|
|
8502
8502
|
default:
|
|
@@ -8523,7 +8523,7 @@ class Ef {
|
|
|
8523
8523
|
break;
|
|
8524
8524
|
}
|
|
8525
8525
|
case m.NULL: {
|
|
8526
|
-
this._err(
|
|
8526
|
+
this._err(I.unexpectedNullCharacter), this.currentAttr.value += te;
|
|
8527
8527
|
break;
|
|
8528
8528
|
}
|
|
8529
8529
|
case m.QUOTATION_MARK:
|
|
@@ -8531,11 +8531,11 @@ class Ef {
|
|
|
8531
8531
|
case m.LESS_THAN_SIGN:
|
|
8532
8532
|
case m.EQUALS_SIGN:
|
|
8533
8533
|
case m.GRAVE_ACCENT: {
|
|
8534
|
-
this._err(
|
|
8534
|
+
this._err(I.unexpectedCharacterInUnquotedAttributeValue), this.currentAttr.value += String.fromCodePoint(t);
|
|
8535
8535
|
break;
|
|
8536
8536
|
}
|
|
8537
8537
|
case m.EOF: {
|
|
8538
|
-
this._err(
|
|
8538
|
+
this._err(I.eofInTag), this._emitEOFToken();
|
|
8539
8539
|
break;
|
|
8540
8540
|
}
|
|
8541
8541
|
default:
|
|
@@ -8562,11 +8562,11 @@ class Ef {
|
|
|
8562
8562
|
break;
|
|
8563
8563
|
}
|
|
8564
8564
|
case m.EOF: {
|
|
8565
|
-
this._err(
|
|
8565
|
+
this._err(I.eofInTag), this._emitEOFToken();
|
|
8566
8566
|
break;
|
|
8567
8567
|
}
|
|
8568
8568
|
default:
|
|
8569
|
-
this._err(
|
|
8569
|
+
this._err(I.missingWhitespaceBetweenAttributes), this.state = E.BEFORE_ATTRIBUTE_NAME, this._stateBeforeAttributeName(t);
|
|
8570
8570
|
}
|
|
8571
8571
|
}
|
|
8572
8572
|
// Self-closing start tag state
|
|
@@ -8579,11 +8579,11 @@ class Ef {
|
|
|
8579
8579
|
break;
|
|
8580
8580
|
}
|
|
8581
8581
|
case m.EOF: {
|
|
8582
|
-
this._err(
|
|
8582
|
+
this._err(I.eofInTag), this._emitEOFToken();
|
|
8583
8583
|
break;
|
|
8584
8584
|
}
|
|
8585
8585
|
default:
|
|
8586
|
-
this._err(
|
|
8586
|
+
this._err(I.unexpectedSolidusInTag), this.state = E.BEFORE_ATTRIBUTE_NAME, this._stateBeforeAttributeName(t);
|
|
8587
8587
|
}
|
|
8588
8588
|
}
|
|
8589
8589
|
// Bogus comment state
|
|
@@ -8600,7 +8600,7 @@ class Ef {
|
|
|
8600
8600
|
break;
|
|
8601
8601
|
}
|
|
8602
8602
|
case m.NULL: {
|
|
8603
|
-
this._err(
|
|
8603
|
+
this._err(I.unexpectedNullCharacter), n.data += te;
|
|
8604
8604
|
break;
|
|
8605
8605
|
}
|
|
8606
8606
|
default:
|
|
@@ -8610,7 +8610,7 @@ class Ef {
|
|
|
8610
8610
|
// Markup declaration open state
|
|
8611
8611
|
//------------------------------------------------------------------
|
|
8612
8612
|
_stateMarkupDeclarationOpen(t) {
|
|
8613
|
-
this._consumeSequenceIfMatch(me.DASH_DASH, !0) ? (this._createCommentToken(me.DASH_DASH.length + 1), this.state = E.COMMENT_START) : this._consumeSequenceIfMatch(me.DOCTYPE, !1) ? (this.currentLocation = this.getCurrentLocation(me.DOCTYPE.length + 1), this.state = E.DOCTYPE) : this._consumeSequenceIfMatch(me.CDATA_START, !0) ? this.inForeignNode ? this.state = E.CDATA_SECTION : (this._err(
|
|
8613
|
+
this._consumeSequenceIfMatch(me.DASH_DASH, !0) ? (this._createCommentToken(me.DASH_DASH.length + 1), this.state = E.COMMENT_START) : this._consumeSequenceIfMatch(me.DOCTYPE, !1) ? (this.currentLocation = this.getCurrentLocation(me.DOCTYPE.length + 1), this.state = E.DOCTYPE) : this._consumeSequenceIfMatch(me.CDATA_START, !0) ? this.inForeignNode ? this.state = E.CDATA_SECTION : (this._err(I.cdataInHtmlContent), this._createCommentToken(me.CDATA_START.length + 1), this.currentToken.data = "[CDATA[", this.state = E.BOGUS_COMMENT) : this._ensureHibernation() || (this._err(I.incorrectlyOpenedComment), this._createCommentToken(2), this.state = E.BOGUS_COMMENT, this._stateBogusComment(t));
|
|
8614
8614
|
}
|
|
8615
8615
|
// Comment start state
|
|
8616
8616
|
//------------------------------------------------------------------
|
|
@@ -8621,7 +8621,7 @@ class Ef {
|
|
|
8621
8621
|
break;
|
|
8622
8622
|
}
|
|
8623
8623
|
case m.GREATER_THAN_SIGN: {
|
|
8624
|
-
this._err(
|
|
8624
|
+
this._err(I.abruptClosingOfEmptyComment), this.state = E.DATA;
|
|
8625
8625
|
const n = this.currentToken;
|
|
8626
8626
|
this.emitCurrentComment(n);
|
|
8627
8627
|
break;
|
|
@@ -8640,11 +8640,11 @@ class Ef {
|
|
|
8640
8640
|
break;
|
|
8641
8641
|
}
|
|
8642
8642
|
case m.GREATER_THAN_SIGN: {
|
|
8643
|
-
this._err(
|
|
8643
|
+
this._err(I.abruptClosingOfEmptyComment), this.state = E.DATA, this.emitCurrentComment(n);
|
|
8644
8644
|
break;
|
|
8645
8645
|
}
|
|
8646
8646
|
case m.EOF: {
|
|
8647
|
-
this._err(
|
|
8647
|
+
this._err(I.eofInComment), this.emitCurrentComment(n), this._emitEOFToken();
|
|
8648
8648
|
break;
|
|
8649
8649
|
}
|
|
8650
8650
|
default:
|
|
@@ -8665,11 +8665,11 @@ class Ef {
|
|
|
8665
8665
|
break;
|
|
8666
8666
|
}
|
|
8667
8667
|
case m.NULL: {
|
|
8668
|
-
this._err(
|
|
8668
|
+
this._err(I.unexpectedNullCharacter), n.data += te;
|
|
8669
8669
|
break;
|
|
8670
8670
|
}
|
|
8671
8671
|
case m.EOF: {
|
|
8672
|
-
this._err(
|
|
8672
|
+
this._err(I.eofInComment), this.emitCurrentComment(n), this._emitEOFToken();
|
|
8673
8673
|
break;
|
|
8674
8674
|
}
|
|
8675
8675
|
default:
|
|
@@ -8706,7 +8706,7 @@ class Ef {
|
|
|
8706
8706
|
// Comment less-than sign bang dash dash state
|
|
8707
8707
|
//------------------------------------------------------------------
|
|
8708
8708
|
_stateCommentLessThanSignBangDashDash(t) {
|
|
8709
|
-
t !== m.GREATER_THAN_SIGN && t !== m.EOF && this._err(
|
|
8709
|
+
t !== m.GREATER_THAN_SIGN && t !== m.EOF && this._err(I.nestedComment), this.state = E.COMMENT_END, this._stateCommentEnd(t);
|
|
8710
8710
|
}
|
|
8711
8711
|
// Comment end dash state
|
|
8712
8712
|
//------------------------------------------------------------------
|
|
@@ -8718,7 +8718,7 @@ class Ef {
|
|
|
8718
8718
|
break;
|
|
8719
8719
|
}
|
|
8720
8720
|
case m.EOF: {
|
|
8721
|
-
this._err(
|
|
8721
|
+
this._err(I.eofInComment), this.emitCurrentComment(n), this._emitEOFToken();
|
|
8722
8722
|
break;
|
|
8723
8723
|
}
|
|
8724
8724
|
default:
|
|
@@ -8743,7 +8743,7 @@ class Ef {
|
|
|
8743
8743
|
break;
|
|
8744
8744
|
}
|
|
8745
8745
|
case m.EOF: {
|
|
8746
|
-
this._err(
|
|
8746
|
+
this._err(I.eofInComment), this.emitCurrentComment(n), this._emitEOFToken();
|
|
8747
8747
|
break;
|
|
8748
8748
|
}
|
|
8749
8749
|
default:
|
|
@@ -8760,11 +8760,11 @@ class Ef {
|
|
|
8760
8760
|
break;
|
|
8761
8761
|
}
|
|
8762
8762
|
case m.GREATER_THAN_SIGN: {
|
|
8763
|
-
this._err(
|
|
8763
|
+
this._err(I.incorrectlyClosedComment), this.state = E.DATA, this.emitCurrentComment(n);
|
|
8764
8764
|
break;
|
|
8765
8765
|
}
|
|
8766
8766
|
case m.EOF: {
|
|
8767
|
-
this._err(
|
|
8767
|
+
this._err(I.eofInComment), this.emitCurrentComment(n), this._emitEOFToken();
|
|
8768
8768
|
break;
|
|
8769
8769
|
}
|
|
8770
8770
|
default:
|
|
@@ -8787,13 +8787,13 @@ class Ef {
|
|
|
8787
8787
|
break;
|
|
8788
8788
|
}
|
|
8789
8789
|
case m.EOF: {
|
|
8790
|
-
this._err(
|
|
8790
|
+
this._err(I.eofInDoctype), this._createDoctypeToken(null);
|
|
8791
8791
|
const n = this.currentToken;
|
|
8792
8792
|
n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
8793
8793
|
break;
|
|
8794
8794
|
}
|
|
8795
8795
|
default:
|
|
8796
|
-
this._err(
|
|
8796
|
+
this._err(I.missingWhitespaceBeforeDoctypeName), this.state = E.BEFORE_DOCTYPE_NAME, this._stateBeforeDoctypeName(t);
|
|
8797
8797
|
}
|
|
8798
8798
|
}
|
|
8799
8799
|
// Before DOCTYPE name state
|
|
@@ -8809,17 +8809,17 @@ class Ef {
|
|
|
8809
8809
|
case m.FORM_FEED:
|
|
8810
8810
|
break;
|
|
8811
8811
|
case m.NULL: {
|
|
8812
|
-
this._err(
|
|
8812
|
+
this._err(I.unexpectedNullCharacter), this._createDoctypeToken(te), this.state = E.DOCTYPE_NAME;
|
|
8813
8813
|
break;
|
|
8814
8814
|
}
|
|
8815
8815
|
case m.GREATER_THAN_SIGN: {
|
|
8816
|
-
this._err(
|
|
8816
|
+
this._err(I.missingDoctypeName), this._createDoctypeToken(null);
|
|
8817
8817
|
const n = this.currentToken;
|
|
8818
8818
|
n.forceQuirks = !0, this.emitCurrentDoctype(n), this.state = E.DATA;
|
|
8819
8819
|
break;
|
|
8820
8820
|
}
|
|
8821
8821
|
case m.EOF: {
|
|
8822
|
-
this._err(
|
|
8822
|
+
this._err(I.eofInDoctype), this._createDoctypeToken(null);
|
|
8823
8823
|
const n = this.currentToken;
|
|
8824
8824
|
n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
8825
8825
|
break;
|
|
@@ -8845,11 +8845,11 @@ class Ef {
|
|
|
8845
8845
|
break;
|
|
8846
8846
|
}
|
|
8847
8847
|
case m.NULL: {
|
|
8848
|
-
this._err(
|
|
8848
|
+
this._err(I.unexpectedNullCharacter), n.name += te;
|
|
8849
8849
|
break;
|
|
8850
8850
|
}
|
|
8851
8851
|
case m.EOF: {
|
|
8852
|
-
this._err(
|
|
8852
|
+
this._err(I.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
8853
8853
|
break;
|
|
8854
8854
|
}
|
|
8855
8855
|
default:
|
|
@@ -8871,11 +8871,11 @@ class Ef {
|
|
|
8871
8871
|
break;
|
|
8872
8872
|
}
|
|
8873
8873
|
case m.EOF: {
|
|
8874
|
-
this._err(
|
|
8874
|
+
this._err(I.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
8875
8875
|
break;
|
|
8876
8876
|
}
|
|
8877
8877
|
default:
|
|
8878
|
-
this._consumeSequenceIfMatch(me.PUBLIC, !1) ? this.state = E.AFTER_DOCTYPE_PUBLIC_KEYWORD : this._consumeSequenceIfMatch(me.SYSTEM, !1) ? this.state = E.AFTER_DOCTYPE_SYSTEM_KEYWORD : this._ensureHibernation() || (this._err(
|
|
8878
|
+
this._consumeSequenceIfMatch(me.PUBLIC, !1) ? this.state = E.AFTER_DOCTYPE_PUBLIC_KEYWORD : this._consumeSequenceIfMatch(me.SYSTEM, !1) ? this.state = E.AFTER_DOCTYPE_SYSTEM_KEYWORD : this._ensureHibernation() || (this._err(I.invalidCharacterSequenceAfterDoctypeName), n.forceQuirks = !0, this.state = E.BOGUS_DOCTYPE, this._stateBogusDoctype(t));
|
|
8879
8879
|
}
|
|
8880
8880
|
}
|
|
8881
8881
|
// After DOCTYPE public keyword state
|
|
@@ -8891,23 +8891,23 @@ class Ef {
|
|
|
8891
8891
|
break;
|
|
8892
8892
|
}
|
|
8893
8893
|
case m.QUOTATION_MARK: {
|
|
8894
|
-
this._err(
|
|
8894
|
+
this._err(I.missingWhitespaceAfterDoctypePublicKeyword), n.publicId = "", this.state = E.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;
|
|
8895
8895
|
break;
|
|
8896
8896
|
}
|
|
8897
8897
|
case m.APOSTROPHE: {
|
|
8898
|
-
this._err(
|
|
8898
|
+
this._err(I.missingWhitespaceAfterDoctypePublicKeyword), n.publicId = "", this.state = E.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;
|
|
8899
8899
|
break;
|
|
8900
8900
|
}
|
|
8901
8901
|
case m.GREATER_THAN_SIGN: {
|
|
8902
|
-
this._err(
|
|
8902
|
+
this._err(I.missingDoctypePublicIdentifier), n.forceQuirks = !0, this.state = E.DATA, this.emitCurrentDoctype(n);
|
|
8903
8903
|
break;
|
|
8904
8904
|
}
|
|
8905
8905
|
case m.EOF: {
|
|
8906
|
-
this._err(
|
|
8906
|
+
this._err(I.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
8907
8907
|
break;
|
|
8908
8908
|
}
|
|
8909
8909
|
default:
|
|
8910
|
-
this._err(
|
|
8910
|
+
this._err(I.missingQuoteBeforeDoctypePublicIdentifier), n.forceQuirks = !0, this.state = E.BOGUS_DOCTYPE, this._stateBogusDoctype(t);
|
|
8911
8911
|
}
|
|
8912
8912
|
}
|
|
8913
8913
|
// Before DOCTYPE public identifier state
|
|
@@ -8929,15 +8929,15 @@ class Ef {
|
|
|
8929
8929
|
break;
|
|
8930
8930
|
}
|
|
8931
8931
|
case m.GREATER_THAN_SIGN: {
|
|
8932
|
-
this._err(
|
|
8932
|
+
this._err(I.missingDoctypePublicIdentifier), n.forceQuirks = !0, this.state = E.DATA, this.emitCurrentDoctype(n);
|
|
8933
8933
|
break;
|
|
8934
8934
|
}
|
|
8935
8935
|
case m.EOF: {
|
|
8936
|
-
this._err(
|
|
8936
|
+
this._err(I.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
8937
8937
|
break;
|
|
8938
8938
|
}
|
|
8939
8939
|
default:
|
|
8940
|
-
this._err(
|
|
8940
|
+
this._err(I.missingQuoteBeforeDoctypePublicIdentifier), n.forceQuirks = !0, this.state = E.BOGUS_DOCTYPE, this._stateBogusDoctype(t);
|
|
8941
8941
|
}
|
|
8942
8942
|
}
|
|
8943
8943
|
// DOCTYPE public identifier (double-quoted) state
|
|
@@ -8950,15 +8950,15 @@ class Ef {
|
|
|
8950
8950
|
break;
|
|
8951
8951
|
}
|
|
8952
8952
|
case m.NULL: {
|
|
8953
|
-
this._err(
|
|
8953
|
+
this._err(I.unexpectedNullCharacter), n.publicId += te;
|
|
8954
8954
|
break;
|
|
8955
8955
|
}
|
|
8956
8956
|
case m.GREATER_THAN_SIGN: {
|
|
8957
|
-
this._err(
|
|
8957
|
+
this._err(I.abruptDoctypePublicIdentifier), n.forceQuirks = !0, this.emitCurrentDoctype(n), this.state = E.DATA;
|
|
8958
8958
|
break;
|
|
8959
8959
|
}
|
|
8960
8960
|
case m.EOF: {
|
|
8961
|
-
this._err(
|
|
8961
|
+
this._err(I.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
8962
8962
|
break;
|
|
8963
8963
|
}
|
|
8964
8964
|
default:
|
|
@@ -8975,15 +8975,15 @@ class Ef {
|
|
|
8975
8975
|
break;
|
|
8976
8976
|
}
|
|
8977
8977
|
case m.NULL: {
|
|
8978
|
-
this._err(
|
|
8978
|
+
this._err(I.unexpectedNullCharacter), n.publicId += te;
|
|
8979
8979
|
break;
|
|
8980
8980
|
}
|
|
8981
8981
|
case m.GREATER_THAN_SIGN: {
|
|
8982
|
-
this._err(
|
|
8982
|
+
this._err(I.abruptDoctypePublicIdentifier), n.forceQuirks = !0, this.emitCurrentDoctype(n), this.state = E.DATA;
|
|
8983
8983
|
break;
|
|
8984
8984
|
}
|
|
8985
8985
|
case m.EOF: {
|
|
8986
|
-
this._err(
|
|
8986
|
+
this._err(I.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
8987
8987
|
break;
|
|
8988
8988
|
}
|
|
8989
8989
|
default:
|
|
@@ -9007,19 +9007,19 @@ class Ef {
|
|
|
9007
9007
|
break;
|
|
9008
9008
|
}
|
|
9009
9009
|
case m.QUOTATION_MARK: {
|
|
9010
|
-
this._err(
|
|
9010
|
+
this._err(I.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers), n.systemId = "", this.state = E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;
|
|
9011
9011
|
break;
|
|
9012
9012
|
}
|
|
9013
9013
|
case m.APOSTROPHE: {
|
|
9014
|
-
this._err(
|
|
9014
|
+
this._err(I.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers), n.systemId = "", this.state = E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;
|
|
9015
9015
|
break;
|
|
9016
9016
|
}
|
|
9017
9017
|
case m.EOF: {
|
|
9018
|
-
this._err(
|
|
9018
|
+
this._err(I.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
9019
9019
|
break;
|
|
9020
9020
|
}
|
|
9021
9021
|
default:
|
|
9022
|
-
this._err(
|
|
9022
|
+
this._err(I.missingQuoteBeforeDoctypeSystemIdentifier), n.forceQuirks = !0, this.state = E.BOGUS_DOCTYPE, this._stateBogusDoctype(t);
|
|
9023
9023
|
}
|
|
9024
9024
|
}
|
|
9025
9025
|
// Between DOCTYPE public and system identifiers state
|
|
@@ -9045,11 +9045,11 @@ class Ef {
|
|
|
9045
9045
|
break;
|
|
9046
9046
|
}
|
|
9047
9047
|
case m.EOF: {
|
|
9048
|
-
this._err(
|
|
9048
|
+
this._err(I.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
9049
9049
|
break;
|
|
9050
9050
|
}
|
|
9051
9051
|
default:
|
|
9052
|
-
this._err(
|
|
9052
|
+
this._err(I.missingQuoteBeforeDoctypeSystemIdentifier), n.forceQuirks = !0, this.state = E.BOGUS_DOCTYPE, this._stateBogusDoctype(t);
|
|
9053
9053
|
}
|
|
9054
9054
|
}
|
|
9055
9055
|
// After DOCTYPE system keyword state
|
|
@@ -9065,23 +9065,23 @@ class Ef {
|
|
|
9065
9065
|
break;
|
|
9066
9066
|
}
|
|
9067
9067
|
case m.QUOTATION_MARK: {
|
|
9068
|
-
this._err(
|
|
9068
|
+
this._err(I.missingWhitespaceAfterDoctypeSystemKeyword), n.systemId = "", this.state = E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;
|
|
9069
9069
|
break;
|
|
9070
9070
|
}
|
|
9071
9071
|
case m.APOSTROPHE: {
|
|
9072
|
-
this._err(
|
|
9072
|
+
this._err(I.missingWhitespaceAfterDoctypeSystemKeyword), n.systemId = "", this.state = E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;
|
|
9073
9073
|
break;
|
|
9074
9074
|
}
|
|
9075
9075
|
case m.GREATER_THAN_SIGN: {
|
|
9076
|
-
this._err(
|
|
9076
|
+
this._err(I.missingDoctypeSystemIdentifier), n.forceQuirks = !0, this.state = E.DATA, this.emitCurrentDoctype(n);
|
|
9077
9077
|
break;
|
|
9078
9078
|
}
|
|
9079
9079
|
case m.EOF: {
|
|
9080
|
-
this._err(
|
|
9080
|
+
this._err(I.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
9081
9081
|
break;
|
|
9082
9082
|
}
|
|
9083
9083
|
default:
|
|
9084
|
-
this._err(
|
|
9084
|
+
this._err(I.missingQuoteBeforeDoctypeSystemIdentifier), n.forceQuirks = !0, this.state = E.BOGUS_DOCTYPE, this._stateBogusDoctype(t);
|
|
9085
9085
|
}
|
|
9086
9086
|
}
|
|
9087
9087
|
// Before DOCTYPE system identifier state
|
|
@@ -9103,15 +9103,15 @@ class Ef {
|
|
|
9103
9103
|
break;
|
|
9104
9104
|
}
|
|
9105
9105
|
case m.GREATER_THAN_SIGN: {
|
|
9106
|
-
this._err(
|
|
9106
|
+
this._err(I.missingDoctypeSystemIdentifier), n.forceQuirks = !0, this.state = E.DATA, this.emitCurrentDoctype(n);
|
|
9107
9107
|
break;
|
|
9108
9108
|
}
|
|
9109
9109
|
case m.EOF: {
|
|
9110
|
-
this._err(
|
|
9110
|
+
this._err(I.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
9111
9111
|
break;
|
|
9112
9112
|
}
|
|
9113
9113
|
default:
|
|
9114
|
-
this._err(
|
|
9114
|
+
this._err(I.missingQuoteBeforeDoctypeSystemIdentifier), n.forceQuirks = !0, this.state = E.BOGUS_DOCTYPE, this._stateBogusDoctype(t);
|
|
9115
9115
|
}
|
|
9116
9116
|
}
|
|
9117
9117
|
// DOCTYPE system identifier (double-quoted) state
|
|
@@ -9124,15 +9124,15 @@ class Ef {
|
|
|
9124
9124
|
break;
|
|
9125
9125
|
}
|
|
9126
9126
|
case m.NULL: {
|
|
9127
|
-
this._err(
|
|
9127
|
+
this._err(I.unexpectedNullCharacter), n.systemId += te;
|
|
9128
9128
|
break;
|
|
9129
9129
|
}
|
|
9130
9130
|
case m.GREATER_THAN_SIGN: {
|
|
9131
|
-
this._err(
|
|
9131
|
+
this._err(I.abruptDoctypeSystemIdentifier), n.forceQuirks = !0, this.emitCurrentDoctype(n), this.state = E.DATA;
|
|
9132
9132
|
break;
|
|
9133
9133
|
}
|
|
9134
9134
|
case m.EOF: {
|
|
9135
|
-
this._err(
|
|
9135
|
+
this._err(I.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
9136
9136
|
break;
|
|
9137
9137
|
}
|
|
9138
9138
|
default:
|
|
@@ -9149,15 +9149,15 @@ class Ef {
|
|
|
9149
9149
|
break;
|
|
9150
9150
|
}
|
|
9151
9151
|
case m.NULL: {
|
|
9152
|
-
this._err(
|
|
9152
|
+
this._err(I.unexpectedNullCharacter), n.systemId += te;
|
|
9153
9153
|
break;
|
|
9154
9154
|
}
|
|
9155
9155
|
case m.GREATER_THAN_SIGN: {
|
|
9156
|
-
this._err(
|
|
9156
|
+
this._err(I.abruptDoctypeSystemIdentifier), n.forceQuirks = !0, this.emitCurrentDoctype(n), this.state = E.DATA;
|
|
9157
9157
|
break;
|
|
9158
9158
|
}
|
|
9159
9159
|
case m.EOF: {
|
|
9160
|
-
this._err(
|
|
9160
|
+
this._err(I.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
9161
9161
|
break;
|
|
9162
9162
|
}
|
|
9163
9163
|
default:
|
|
@@ -9179,11 +9179,11 @@ class Ef {
|
|
|
9179
9179
|
break;
|
|
9180
9180
|
}
|
|
9181
9181
|
case m.EOF: {
|
|
9182
|
-
this._err(
|
|
9182
|
+
this._err(I.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
9183
9183
|
break;
|
|
9184
9184
|
}
|
|
9185
9185
|
default:
|
|
9186
|
-
this._err(
|
|
9186
|
+
this._err(I.unexpectedCharacterAfterDoctypeSystemIdentifier), this.state = E.BOGUS_DOCTYPE, this._stateBogusDoctype(t);
|
|
9187
9187
|
}
|
|
9188
9188
|
}
|
|
9189
9189
|
// Bogus DOCTYPE state
|
|
@@ -9196,7 +9196,7 @@ class Ef {
|
|
|
9196
9196
|
break;
|
|
9197
9197
|
}
|
|
9198
9198
|
case m.NULL: {
|
|
9199
|
-
this._err(
|
|
9199
|
+
this._err(I.unexpectedNullCharacter);
|
|
9200
9200
|
break;
|
|
9201
9201
|
}
|
|
9202
9202
|
case m.EOF: {
|
|
@@ -9214,7 +9214,7 @@ class Ef {
|
|
|
9214
9214
|
break;
|
|
9215
9215
|
}
|
|
9216
9216
|
case m.EOF: {
|
|
9217
|
-
this._err(
|
|
9217
|
+
this._err(I.eofInCdata), this._emitEOFToken();
|
|
9218
9218
|
break;
|
|
9219
9219
|
}
|
|
9220
9220
|
default:
|
|
@@ -9258,7 +9258,7 @@ class Ef {
|
|
|
9258
9258
|
// Ambiguos ampersand state
|
|
9259
9259
|
//------------------------------------------------------------------
|
|
9260
9260
|
_stateAmbiguousAmpersand(t) {
|
|
9261
|
-
yu(t) ? this._flushCodePointConsumedAsCharacterReference(t) : (t === m.SEMICOLON && this._err(
|
|
9261
|
+
yu(t) ? this._flushCodePointConsumedAsCharacterReference(t) : (t === m.SEMICOLON && this._err(I.unknownNamedCharacterReference), this.state = this.returnState, this._callState(t));
|
|
9262
9262
|
}
|
|
9263
9263
|
}
|
|
9264
9264
|
const ea = /* @__PURE__ */ new Set([s.DD, s.DT, s.LI, s.OPTGROUP, s.OPTION, s.P, s.RB, s.RP, s.RT, s.RTC]), Ru = /* @__PURE__ */ new Set([
|
|
@@ -10621,7 +10621,7 @@ class Hu {
|
|
|
10621
10621
|
case T.IN_HEAD:
|
|
10622
10622
|
case T.IN_HEAD_NO_SCRIPT:
|
|
10623
10623
|
case T.AFTER_HEAD: {
|
|
10624
|
-
this._err(t,
|
|
10624
|
+
this._err(t, I.misplacedDoctype);
|
|
10625
10625
|
break;
|
|
10626
10626
|
}
|
|
10627
10627
|
case T.IN_TABLE_TEXT: {
|
|
@@ -10632,7 +10632,7 @@ class Hu {
|
|
|
10632
10632
|
}
|
|
10633
10633
|
/** @internal */
|
|
10634
10634
|
onStartTag(t) {
|
|
10635
|
-
this.skipNextNewLine = !1, this.currentToken = t, this._processStartTag(t), t.selfClosing && !t.ackSelfClosing && this._err(t,
|
|
10635
|
+
this.skipNextNewLine = !1, this.currentToken = t, this._processStartTag(t), t.selfClosing && !t.ackSelfClosing && this._err(t, I.nonVoidHtmlElementStartTagWithTrailingSolidus);
|
|
10636
10636
|
}
|
|
10637
10637
|
/**
|
|
10638
10638
|
* Processes a given start tag.
|
|
@@ -11025,10 +11025,10 @@ function Dr(e, t) {
|
|
|
11025
11025
|
function th(e, t) {
|
|
11026
11026
|
e._setDocumentType(t);
|
|
11027
11027
|
const n = t.forceQuirks ? be.QUIRKS : Rf(t);
|
|
11028
|
-
Lf(t) || e._err(t,
|
|
11028
|
+
Lf(t) || e._err(t, I.nonConformingDoctype), e.treeAdapter.setDocumentMode(e.document, n), e.insertionMode = T.BEFORE_HTML;
|
|
11029
11029
|
}
|
|
11030
11030
|
function St(e, t) {
|
|
11031
|
-
e._err(t,
|
|
11031
|
+
e._err(t, I.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document, be.QUIRKS), e.insertionMode = T.BEFORE_HTML, e._processToken(t);
|
|
11032
11032
|
}
|
|
11033
11033
|
function nh(e, t) {
|
|
11034
11034
|
t.tagID === s.HTML ? (e._insertElement(t, y.HTML), e.insertionMode = T.BEFORE_HEAD) : Dt(e, t);
|
|
@@ -11056,7 +11056,7 @@ function uh(e, t) {
|
|
|
11056
11056
|
}
|
|
11057
11057
|
function ih(e, t) {
|
|
11058
11058
|
const n = t.tagID;
|
|
11059
|
-
n === s.HEAD || n === s.BODY || n === s.HTML || n === s.BR ? Pt(e, t) : e._err(t,
|
|
11059
|
+
n === s.HEAD || n === s.BODY || n === s.HTML || n === s.BR ? Pt(e, t) : e._err(t, I.endTagWithoutMatchingOpenElement);
|
|
11060
11060
|
}
|
|
11061
11061
|
function Pt(e, t) {
|
|
11062
11062
|
e._insertFakeElement(_.HEAD, s.HEAD), e.headElement = e.openElements.current, e.insertionMode = T.IN_HEAD, e._processToken(t);
|
|
@@ -11097,7 +11097,7 @@ function Ne(e, t) {
|
|
|
11097
11097
|
break;
|
|
11098
11098
|
}
|
|
11099
11099
|
case s.HEAD: {
|
|
11100
|
-
e._err(t,
|
|
11100
|
+
e._err(t, I.misplacedStartTagForHeadElement);
|
|
11101
11101
|
break;
|
|
11102
11102
|
}
|
|
11103
11103
|
default:
|
|
@@ -11121,11 +11121,11 @@ function ah(e, t) {
|
|
|
11121
11121
|
break;
|
|
11122
11122
|
}
|
|
11123
11123
|
default:
|
|
11124
|
-
e._err(t,
|
|
11124
|
+
e._err(t, I.endTagWithoutMatchingOpenElement);
|
|
11125
11125
|
}
|
|
11126
11126
|
}
|
|
11127
11127
|
function rt(e, t) {
|
|
11128
|
-
e.openElements.tmplCount > 0 ? (e.openElements.generateImpliedEndTagsThoroughly(), e.openElements.currentTagId !== s.TEMPLATE && e._err(t,
|
|
11128
|
+
e.openElements.tmplCount > 0 ? (e.openElements.generateImpliedEndTagsThoroughly(), e.openElements.currentTagId !== s.TEMPLATE && e._err(t, I.closingOfElementWithOpenChildElements), e.openElements.popUntilTagNamePopped(s.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode()) : e._err(t, I.endTagWithoutMatchingOpenElement);
|
|
11129
11129
|
}
|
|
11130
11130
|
function wt(e, t) {
|
|
11131
11131
|
e.openElements.pop(), e.insertionMode = T.AFTER_HEAD, e._processToken(t);
|
|
@@ -11147,7 +11147,7 @@ function sh(e, t) {
|
|
|
11147
11147
|
break;
|
|
11148
11148
|
}
|
|
11149
11149
|
case s.NOSCRIPT: {
|
|
11150
|
-
e._err(t,
|
|
11150
|
+
e._err(t, I.nestedNoscriptInHead);
|
|
11151
11151
|
break;
|
|
11152
11152
|
}
|
|
11153
11153
|
default:
|
|
@@ -11165,11 +11165,11 @@ function oh(e, t) {
|
|
|
11165
11165
|
break;
|
|
11166
11166
|
}
|
|
11167
11167
|
default:
|
|
11168
|
-
e._err(t,
|
|
11168
|
+
e._err(t, I.endTagWithoutMatchingOpenElement);
|
|
11169
11169
|
}
|
|
11170
11170
|
}
|
|
11171
11171
|
function Mt(e, t) {
|
|
11172
|
-
const n = t.type === q.EOF ?
|
|
11172
|
+
const n = t.type === q.EOF ? I.openElementsLeftAfterEof : I.disallowedContentInNoscriptInHead;
|
|
11173
11173
|
e._err(t, n), e.openElements.pop(), e.insertionMode = T.IN_HEAD, e._processToken(t);
|
|
11174
11174
|
}
|
|
11175
11175
|
function lh(e, t) {
|
|
@@ -11196,11 +11196,11 @@ function lh(e, t) {
|
|
|
11196
11196
|
case s.STYLE:
|
|
11197
11197
|
case s.TEMPLATE:
|
|
11198
11198
|
case s.TITLE: {
|
|
11199
|
-
e._err(t,
|
|
11199
|
+
e._err(t, I.abandonedHeadElementChild), e.openElements.push(e.headElement, s.HEAD), Ne(e, t), e.openElements.remove(e.headElement);
|
|
11200
11200
|
break;
|
|
11201
11201
|
}
|
|
11202
11202
|
case s.HEAD: {
|
|
11203
|
-
e._err(t,
|
|
11203
|
+
e._err(t, I.misplacedStartTagForHeadElement);
|
|
11204
11204
|
break;
|
|
11205
11205
|
}
|
|
11206
11206
|
default:
|
|
@@ -11220,7 +11220,7 @@ function ch(e, t) {
|
|
|
11220
11220
|
break;
|
|
11221
11221
|
}
|
|
11222
11222
|
default:
|
|
11223
|
-
e._err(t,
|
|
11223
|
+
e._err(t, I.endTagWithoutMatchingOpenElement);
|
|
11224
11224
|
}
|
|
11225
11225
|
}
|
|
11226
11226
|
function Bt(e, t) {
|
|
@@ -11740,7 +11740,7 @@ function Xh(e, t) {
|
|
|
11740
11740
|
t.tagID === s.SCRIPT && ((n = e.scriptHandler) === null || n === void 0 || n.call(e, e.openElements.current)), e.openElements.pop(), e.insertionMode = e.originalInsertionMode;
|
|
11741
11741
|
}
|
|
11742
11742
|
function Kh(e, t) {
|
|
11743
|
-
e._err(t,
|
|
11743
|
+
e._err(t, I.eofInElementThatCanContainOnlyText), e.openElements.pop(), e.insertionMode = e.originalInsertionMode, e.onEof(t);
|
|
11744
11744
|
}
|
|
11745
11745
|
function jn(e, t) {
|
|
11746
11746
|
if (aa.has(e.openElements.currentTagId))
|
|
@@ -12830,7 +12830,7 @@ function _m(e, t) {
|
|
|
12830
12830
|
const n = t || {}, r = (n.align || []).concat(), u = n.stringLength || Am, a = [], i = [], o = [], l = [];
|
|
12831
12831
|
let c = 0, h = -1;
|
|
12832
12832
|
for (; ++h < e.length; ) {
|
|
12833
|
-
const
|
|
12833
|
+
const C = [], L = [];
|
|
12834
12834
|
let x = -1;
|
|
12835
12835
|
for (e[h].length > c && (c = e[h].length); ++x < e[h].length; ) {
|
|
12836
12836
|
const w = Cm(e[h][x]);
|
|
@@ -12838,25 +12838,25 @@ function _m(e, t) {
|
|
|
12838
12838
|
const D = u(w);
|
|
12839
12839
|
L[x] = D, (l[x] === void 0 || D > l[x]) && (l[x] = D);
|
|
12840
12840
|
}
|
|
12841
|
-
|
|
12841
|
+
C.push(w);
|
|
12842
12842
|
}
|
|
12843
|
-
i[h] =
|
|
12843
|
+
i[h] = C, o[h] = L;
|
|
12844
12844
|
}
|
|
12845
12845
|
let f = -1;
|
|
12846
12846
|
if (typeof r == "object" && "length" in r)
|
|
12847
12847
|
for (; ++f < c; )
|
|
12848
12848
|
a[f] = Yu(r[f]);
|
|
12849
12849
|
else {
|
|
12850
|
-
const
|
|
12850
|
+
const C = Yu(r);
|
|
12851
12851
|
for (; ++f < c; )
|
|
12852
|
-
a[f] =
|
|
12852
|
+
a[f] = C;
|
|
12853
12853
|
}
|
|
12854
12854
|
f = -1;
|
|
12855
12855
|
const p = [], d = [];
|
|
12856
12856
|
for (; ++f < c; ) {
|
|
12857
|
-
const
|
|
12857
|
+
const C = a[f];
|
|
12858
12858
|
let L = "", x = "";
|
|
12859
|
-
|
|
12859
|
+
C === 99 ? (L = ":", x = ":") : C === 108 ? L = ":" : C === 114 && (x = ":");
|
|
12860
12860
|
let w = n.alignDelimiters === !1 ? 1 : Math.max(
|
|
12861
12861
|
1,
|
|
12862
12862
|
l[f] - L.length - x.length
|
|
@@ -12867,11 +12867,11 @@ function _m(e, t) {
|
|
|
12867
12867
|
i.splice(1, 0, p), o.splice(1, 0, d), h = -1;
|
|
12868
12868
|
const A = [];
|
|
12869
12869
|
for (; ++h < i.length; ) {
|
|
12870
|
-
const
|
|
12870
|
+
const C = i[h], L = o[h];
|
|
12871
12871
|
f = -1;
|
|
12872
12872
|
const x = [];
|
|
12873
12873
|
for (; ++f < c; ) {
|
|
12874
|
-
const w =
|
|
12874
|
+
const w = C[f] || "";
|
|
12875
12875
|
let D = "", z = "";
|
|
12876
12876
|
if (n.alignDelimiters !== !1) {
|
|
12877
12877
|
const Y = l[f] - (L[f] || 0), k = a[f];
|
|
@@ -13571,16 +13571,16 @@ function s1(e) {
|
|
|
13571
13571
|
tableRow: o
|
|
13572
13572
|
}
|
|
13573
13573
|
};
|
|
13574
|
-
function i(d, A,
|
|
13575
|
-
return c(h(d,
|
|
13574
|
+
function i(d, A, C, L) {
|
|
13575
|
+
return c(h(d, C, L), d.align);
|
|
13576
13576
|
}
|
|
13577
|
-
function o(d, A,
|
|
13578
|
-
const x = f(d,
|
|
13577
|
+
function o(d, A, C, L) {
|
|
13578
|
+
const x = f(d, C, L), w = c([x]);
|
|
13579
13579
|
return w.slice(0, w.indexOf(`
|
|
13580
13580
|
`));
|
|
13581
13581
|
}
|
|
13582
|
-
function l(d, A,
|
|
13583
|
-
const x =
|
|
13582
|
+
function l(d, A, C, L) {
|
|
13583
|
+
const x = C.enter("tableCell"), w = C.enter("phrasing"), D = C.containerPhrasing(d, {
|
|
13584
13584
|
...L,
|
|
13585
13585
|
before: a,
|
|
13586
13586
|
after: a
|
|
@@ -13598,25 +13598,25 @@ function s1(e) {
|
|
|
13598
13598
|
stringLength: u
|
|
13599
13599
|
});
|
|
13600
13600
|
}
|
|
13601
|
-
function h(d, A,
|
|
13601
|
+
function h(d, A, C) {
|
|
13602
13602
|
const L = d.children;
|
|
13603
13603
|
let x = -1;
|
|
13604
13604
|
const w = [], D = A.enter("table");
|
|
13605
13605
|
for (; ++x < L.length; )
|
|
13606
|
-
w[x] = f(L[x], A,
|
|
13606
|
+
w[x] = f(L[x], A, C);
|
|
13607
13607
|
return D(), w;
|
|
13608
13608
|
}
|
|
13609
|
-
function f(d, A,
|
|
13609
|
+
function f(d, A, C) {
|
|
13610
13610
|
const L = d.children;
|
|
13611
13611
|
let x = -1;
|
|
13612
13612
|
const w = [], D = A.enter("tableRow");
|
|
13613
13613
|
for (; ++x < L.length; )
|
|
13614
|
-
w[x] = l(L[x], d, A,
|
|
13614
|
+
w[x] = l(L[x], d, A, C);
|
|
13615
13615
|
return D(), w;
|
|
13616
13616
|
}
|
|
13617
|
-
function p(d, A,
|
|
13618
|
-
let L = va.inlineCode(d, A,
|
|
13619
|
-
return
|
|
13617
|
+
function p(d, A, C) {
|
|
13618
|
+
let L = va.inlineCode(d, A, C);
|
|
13619
|
+
return C.stack.includes("tableCell") && (L = L.replace(/\|/g, "\\$&")), L;
|
|
13620
13620
|
}
|
|
13621
13621
|
}
|
|
13622
13622
|
function o1() {
|
|
@@ -14099,8 +14099,8 @@ function B1(e, t, n) {
|
|
|
14099
14099
|
return n(A);
|
|
14100
14100
|
if (A === 93) {
|
|
14101
14101
|
e.exit("chunkString");
|
|
14102
|
-
const
|
|
14103
|
-
return a = Wt(r.sliceSerialize(
|
|
14102
|
+
const C = e.exit("gfmFootnoteDefinitionLabelString");
|
|
14103
|
+
return a = Wt(r.sliceSerialize(C)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(A), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), p;
|
|
14104
14104
|
}
|
|
14105
14105
|
return J(A) || (o = !0), i++, e.consume(A), A === 92 ? f : h;
|
|
14106
14106
|
}
|
|
@@ -14180,12 +14180,12 @@ function v1(e) {
|
|
|
14180
14180
|
return c === 126 && h[h.length - 1][1].type !== "characterEscape" ? l(A) : (i.enter("strikethroughSequenceTemporary"), d(A));
|
|
14181
14181
|
}
|
|
14182
14182
|
function d(A) {
|
|
14183
|
-
const
|
|
14183
|
+
const C = dt(c);
|
|
14184
14184
|
if (A === 126)
|
|
14185
14185
|
return f > 1 ? l(A) : (i.consume(A), f++, d);
|
|
14186
14186
|
if (f < 2 && !n) return l(A);
|
|
14187
14187
|
const L = i.exit("strikethroughSequenceTemporary"), x = dt(A);
|
|
14188
|
-
return L._open = !x || x === 2 && !!
|
|
14188
|
+
return L._open = !x || x === 2 && !!C, L._close = !C || C === 2 && !!x, o(A);
|
|
14189
14189
|
}
|
|
14190
14190
|
}
|
|
14191
14191
|
}
|
|
@@ -14322,9 +14322,9 @@ function V1(e, t, n) {
|
|
|
14322
14322
|
return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(N) : (e.enter("tableDelimiterRow"), i = !1, j(N) ? W(e, A, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(N) : A(N));
|
|
14323
14323
|
}
|
|
14324
14324
|
function A(N) {
|
|
14325
|
-
return N === 45 || N === 58 ? L(N) : N === 124 ? (i = !0, e.enter("tableCellDivider"), e.consume(N), e.exit("tableCellDivider"),
|
|
14325
|
+
return N === 45 || N === 58 ? L(N) : N === 124 ? (i = !0, e.enter("tableCellDivider"), e.consume(N), e.exit("tableCellDivider"), C) : Y(N);
|
|
14326
14326
|
}
|
|
14327
|
-
function
|
|
14327
|
+
function C(N) {
|
|
14328
14328
|
return j(N) ? W(e, L, "whitespace")(N) : L(N);
|
|
14329
14329
|
}
|
|
14330
14330
|
function L(N) {
|
|
@@ -14399,8 +14399,8 @@ function Jt(e, t, n, r, u, a) {
|
|
|
14399
14399
|
if (e.add(n[2], 0, [["enter", f, t]]), r !== 2) {
|
|
14400
14400
|
const p = t.events[n[2]], d = t.events[n[3]];
|
|
14401
14401
|
if (p[1].end = Object.assign({}, d[1].end), p[1].type = "chunkText", p[1].contentType = "text", n[3] > n[2] + 1) {
|
|
14402
|
-
const A = n[2] + 1,
|
|
14403
|
-
e.add(A,
|
|
14402
|
+
const A = n[2] + 1, C = n[3] - n[2] - 1;
|
|
14403
|
+
e.add(A, C, []);
|
|
14404
14404
|
}
|
|
14405
14405
|
}
|
|
14406
14406
|
e.add(n[3] + 1, 0, [["exit", f, t]]);
|
|
@@ -14516,7 +14516,7 @@ const ep = {
|
|
|
14516
14516
|
children: [
|
|
14517
14517
|
/* @__PURE__ */ O.jsxs("div", { className: "border-b flex items-center h-10 font-sans bg-black/2", children: [
|
|
14518
14518
|
/* @__PURE__ */ O.jsxs("div", { className: "flex items-center gap-2 flex-1 text-sm w-full px-3", children: [
|
|
14519
|
-
h && /* @__PURE__ */ O.jsx("img", { src: h, className: "h-3 max-w-4" }),
|
|
14519
|
+
h && /* @__PURE__ */ O.jsx("img", { src: h, className: "h-3 max-w-4", alt: n }),
|
|
14520
14520
|
t
|
|
14521
14521
|
] }),
|
|
14522
14522
|
" ",
|
|
@@ -14611,7 +14611,7 @@ const ep = {
|
|
|
14611
14611
|
}
|
|
14612
14612
|
}), []), o = Ft(
|
|
14613
14613
|
() => ({ activeAnchor: t, setActiveAnchor: n, ...i }),
|
|
14614
|
-
[t,
|
|
14614
|
+
[t, i]
|
|
14615
14615
|
);
|
|
14616
14616
|
return /* @__PURE__ */ O.jsx(Xa, { value: o, children: e });
|
|
14617
14617
|
}, up = pt.Provider, ip = pt.Root, ap = pt.Trigger, sp = (e) => /* @__PURE__ */ O.jsx(
|
|
@@ -14801,35 +14801,35 @@ function $a(e, t, n, r) {
|
|
|
14801
14801
|
var kp = "[object Arguments]", Op = "[object Boolean]", yp = "[object Date]", Lp = "[object Error]", Rp = "[object Map]", Dp = "[object Number]", Pp = "[object Object]", wp = "[object RegExp]", Mp = "[object Set]", Bp = "[object String]", Fp = "[object URL]", Hp = Array.isArray, ni = typeof ArrayBuffer == "function" && ArrayBuffer.isView ? ArrayBuffer.isView : null, ri = Object.assign, Up = Object.prototype.toString.call.bind(Object.prototype.toString);
|
|
14802
14802
|
function vp(e) {
|
|
14803
14803
|
var t = e.areArraysEqual, n = e.areDatesEqual, r = e.areErrorsEqual, u = e.areFunctionsEqual, a = e.areMapsEqual, i = e.areNumbersEqual, o = e.areObjectsEqual, l = e.arePrimitiveWrappersEqual, c = e.areRegExpsEqual, h = e.areSetsEqual, f = e.areTypedArraysEqual, p = e.areUrlsEqual;
|
|
14804
|
-
return function(A,
|
|
14805
|
-
if (A ===
|
|
14804
|
+
return function(A, C, L) {
|
|
14805
|
+
if (A === C)
|
|
14806
14806
|
return !0;
|
|
14807
|
-
if (A == null ||
|
|
14807
|
+
if (A == null || C == null)
|
|
14808
14808
|
return !1;
|
|
14809
14809
|
var x = typeof A;
|
|
14810
|
-
if (x !== typeof
|
|
14810
|
+
if (x !== typeof C)
|
|
14811
14811
|
return !1;
|
|
14812
14812
|
if (x !== "object")
|
|
14813
|
-
return x === "number" ? i(A,
|
|
14813
|
+
return x === "number" ? i(A, C, L) : x === "function" ? u(A, C, L) : !1;
|
|
14814
14814
|
var w = A.constructor;
|
|
14815
|
-
if (w !==
|
|
14815
|
+
if (w !== C.constructor)
|
|
14816
14816
|
return !1;
|
|
14817
14817
|
if (w === Object)
|
|
14818
|
-
return o(A,
|
|
14818
|
+
return o(A, C, L);
|
|
14819
14819
|
if (Hp(A))
|
|
14820
|
-
return t(A,
|
|
14820
|
+
return t(A, C, L);
|
|
14821
14821
|
if (ni != null && ni(A))
|
|
14822
|
-
return f(A,
|
|
14822
|
+
return f(A, C, L);
|
|
14823
14823
|
if (w === Date)
|
|
14824
|
-
return n(A,
|
|
14824
|
+
return n(A, C, L);
|
|
14825
14825
|
if (w === RegExp)
|
|
14826
|
-
return c(A,
|
|
14826
|
+
return c(A, C, L);
|
|
14827
14827
|
if (w === Map)
|
|
14828
|
-
return a(A,
|
|
14828
|
+
return a(A, C, L);
|
|
14829
14829
|
if (w === Set)
|
|
14830
|
-
return h(A,
|
|
14830
|
+
return h(A, C, L);
|
|
14831
14831
|
var D = Up(A);
|
|
14832
|
-
return D === yp ? n(A,
|
|
14832
|
+
return D === yp ? n(A, C, L) : D === wp ? c(A, C, L) : D === Rp ? a(A, C, L) : D === Mp ? h(A, C, L) : D === Pp ? typeof A.then != "function" && typeof C.then != "function" && o(A, C, L) : D === Fp ? p(A, C, L) : D === Lp ? r(A, C, L) : D === kp ? o(A, C, L) : D === Op || D === Dp || D === Bp ? l(A, C, L) : !1;
|
|
14833
14833
|
};
|
|
14834
14834
|
}
|
|
14835
14835
|
function zp(e) {
|
|
@@ -14941,8 +14941,8 @@ const Vp = ({
|
|
|
14941
14941
|
const p = i && /* @__PURE__ */ O.jsx(
|
|
14942
14942
|
Ws,
|
|
14943
14943
|
{
|
|
14944
|
-
onClick: (
|
|
14945
|
-
|
|
14944
|
+
onClick: (C) => {
|
|
14945
|
+
C.preventDefault(), h((L) => !L), u(!0);
|
|
14946
14946
|
},
|
|
14947
14947
|
variant: "ghost",
|
|
14948
14948
|
size: "icon",
|
|
@@ -14997,13 +14997,26 @@ const Vp = ({
|
|
|
14997
14997
|
] })
|
|
14998
14998
|
]
|
|
14999
14999
|
}
|
|
15000
|
-
) :
|
|
15001
|
-
|
|
15002
|
-
/* @__PURE__ */ O.jsxs(
|
|
15003
|
-
|
|
15004
|
-
|
|
15005
|
-
|
|
15006
|
-
|
|
15000
|
+
) : (
|
|
15001
|
+
// biome-ignore lint/a11y/noStaticElementInteractions: This is only to track if the user has interacted
|
|
15002
|
+
/* @__PURE__ */ O.jsxs(
|
|
15003
|
+
"div",
|
|
15004
|
+
{
|
|
15005
|
+
onClick: () => u(!0),
|
|
15006
|
+
onKeyUp: (C) => {
|
|
15007
|
+
(C.key === "Enter" || C.key === " ") && u(!0);
|
|
15008
|
+
},
|
|
15009
|
+
className: A,
|
|
15010
|
+
children: [
|
|
15011
|
+
d,
|
|
15012
|
+
/* @__PURE__ */ O.jsxs("div", { className: "flex items-center justify-between w-full", children: [
|
|
15013
|
+
/* @__PURE__ */ O.jsx("div", { className: "flex gap-2 truncate w-full", children: e.label }),
|
|
15014
|
+
p
|
|
15015
|
+
] })
|
|
15016
|
+
]
|
|
15017
|
+
}
|
|
15018
|
+
)
|
|
15019
|
+
) }),
|
|
15007
15020
|
/* @__PURE__ */ O.jsx(
|
|
15008
15021
|
yn.Content,
|
|
15009
15022
|
{
|
|
@@ -15013,13 +15026,13 @@ const Vp = ({
|
|
|
15013
15026
|
e.items.length === 0 && "hidden",
|
|
15014
15027
|
"ms-6 my-1"
|
|
15015
15028
|
),
|
|
15016
|
-
children: /* @__PURE__ */ O.jsx("ul", { className: "relative after:absolute after:-start-(--padding-nav-item) after:translate-x-[1.5px] after:top-0 after:bottom-0 after:w-px after:bg-border", children: e.items.map((
|
|
15029
|
+
children: /* @__PURE__ */ O.jsx("ul", { className: "relative after:absolute after:-start-(--padding-nav-item) after:translate-x-[1.5px] after:top-0 after:bottom-0 after:w-px after:bg-border", children: e.items.map((C) => /* @__PURE__ */ O.jsx(
|
|
15017
15030
|
Wp,
|
|
15018
15031
|
{
|
|
15019
15032
|
onRequestClose: t,
|
|
15020
|
-
item:
|
|
15033
|
+
item: C
|
|
15021
15034
|
},
|
|
15022
|
-
|
|
15035
|
+
C.type + (C.label ?? "") + ("path" in C ? C.path : "") + ("file" in C ? C.file : "") + ("to" in C ? C.to : "")
|
|
15023
15036
|
)) })
|
|
15024
15037
|
}
|
|
15025
15038
|
)
|
|
@@ -15138,7 +15151,9 @@ const ui = ({
|
|
|
15138
15151
|
const { setActiveAnchor: e } = Fr();
|
|
15139
15152
|
return oi(
|
|
15140
15153
|
(n) => {
|
|
15141
|
-
const r = n.replace(/^#/, ""), u = r.split("/").at(0)
|
|
15154
|
+
const r = n.replace(/^#/, ""), u = r.split("/").at(0);
|
|
15155
|
+
if (!u) return !1;
|
|
15156
|
+
const a = document.getElementById(decodeURIComponent(r)), i = document.querySelector(
|
|
15142
15157
|
`[${Za}="${u}"]`
|
|
15143
15158
|
);
|
|
15144
15159
|
return a ? (a.scrollIntoView(), Qp(i), requestIdleCallback(() => e(u)), !0) : !1;
|
|
@@ -15292,17 +15307,27 @@ const ui = ({
|
|
|
15292
15307
|
children: t
|
|
15293
15308
|
}
|
|
15294
15309
|
) }), eE = {
|
|
15295
|
-
img: ({ node: e, ...t }) => /\.(mp4|webm|mov|avi)$/.test(t.src ?? "") ?
|
|
15296
|
-
|
|
15310
|
+
img: ({ node: e, ...t }) => /\.(mp4|webm|mov|avi)$/.test(t.src ?? "") ? (
|
|
15311
|
+
// biome-ignore lint/a11y/useMediaCaption: No in control of the caption here
|
|
15312
|
+
/* @__PURE__ */ O.jsx(
|
|
15313
|
+
"video",
|
|
15314
|
+
{
|
|
15315
|
+
src: t.src,
|
|
15316
|
+
controls: !0,
|
|
15317
|
+
playsInline: !0,
|
|
15318
|
+
autoPlay: !0,
|
|
15319
|
+
loop: !0,
|
|
15320
|
+
className: ie("rounded-lg", t.className)
|
|
15321
|
+
}
|
|
15322
|
+
)
|
|
15323
|
+
) : /* @__PURE__ */ O.jsx(
|
|
15324
|
+
"img",
|
|
15297
15325
|
{
|
|
15298
|
-
|
|
15299
|
-
|
|
15300
|
-
playsInline: !0,
|
|
15301
|
-
autoPlay: !0,
|
|
15302
|
-
loop: !0,
|
|
15326
|
+
alt: t.alt,
|
|
15327
|
+
...t,
|
|
15303
15328
|
className: ie("rounded-lg", t.className)
|
|
15304
15329
|
}
|
|
15305
|
-
)
|
|
15330
|
+
),
|
|
15306
15331
|
Framed: Xp,
|
|
15307
15332
|
h1: ({ children: e, id: t }) => /* @__PURE__ */ O.jsx($e, { level: 1, id: t, children: e }),
|
|
15308
15333
|
h2: ({ children: e, id: t }) => /* @__PURE__ */ O.jsx($e, { level: 2, id: t, children: e }),
|
|
@@ -15355,9 +15380,12 @@ const ui = ({
|
|
|
15355
15380
|
const { syntaxHighlighting: r } = cr().options, u = Ft(
|
|
15356
15381
|
() => [
|
|
15357
15382
|
Hd,
|
|
15358
|
-
...ys(
|
|
15383
|
+
...ys(
|
|
15384
|
+
r?.themes,
|
|
15385
|
+
r?.highlighter
|
|
15386
|
+
)
|
|
15359
15387
|
],
|
|
15360
|
-
[r?.themes]
|
|
15388
|
+
[r?.themes, r?.highlighter]
|
|
15361
15389
|
), a = Ft(
|
|
15362
15390
|
() => ({ ...eE, ...n }),
|
|
15363
15391
|
[n]
|
|
@@ -15430,14 +15458,14 @@ const is = ({
|
|
|
15430
15458
|
getItems: (a) => u().items.get(a) ?? n,
|
|
15431
15459
|
setSlot: (a, i, o, l) => r((c) => {
|
|
15432
15460
|
if (o == null) return c;
|
|
15433
|
-
const h = new Map(c.items), f = new Map(c.sequences), d = (h.get(i) ?? []).filter((x) => x.id !== a),
|
|
15434
|
-
f.set(i,
|
|
15461
|
+
const h = new Map(c.items), f = new Map(c.sequences), d = (h.get(i) ?? []).filter((x) => x.id !== a), C = (f.get(i) ?? 0) + 1;
|
|
15462
|
+
f.set(i, C);
|
|
15435
15463
|
const L = {
|
|
15436
15464
|
id: a,
|
|
15437
15465
|
content: o,
|
|
15438
15466
|
type: l,
|
|
15439
15467
|
// Use negative sequence values for "prepend" to ensure they are sorted before positive values for "append".
|
|
15440
|
-
sequence: l === "prepend" ? -
|
|
15468
|
+
sequence: l === "prepend" ? -C : C
|
|
15441
15469
|
};
|
|
15442
15470
|
if (l === "replace") {
|
|
15443
15471
|
const x = d.filter(
|
|
@@ -15502,4 +15530,4 @@ export {
|
|
|
15502
15530
|
Qp as s,
|
|
15503
15531
|
Fr as u
|
|
15504
15532
|
};
|
|
15505
|
-
//# sourceMappingURL=Slot-
|
|
15533
|
+
//# sourceMappingURL=Slot-BbdqiRXo.js.map
|