@supernova-studio/supernova-sdk-beta 0.7.17
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/LICENSE +21 -0
- package/README.md +135 -0
- package/build/sdk-typescript/.eslintrc.d.cts +41 -0
- package/build/sdk-typescript/src/browser-bundle.d.ts +1 -0
- package/build/sdk-typescript/src/core/SDKSupernova.d.ts +77 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaAssets.d.ts +46 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaAutomation.d.ts +233 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaBrands.d.ts +35 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaBulkOperations.d.ts +68 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaComponents.d.ts +162 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaDataSources.d.ts +54 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaDesignSystems.d.ts +104 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaDocumentation.d.ts +179 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaIntegrations.d.ts +91 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaMe.d.ts +22 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaMultiplayer.d.ts +10 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaNetwork.d.ts +9 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaResources.d.ts +46 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaStorage.d.ts +23 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaTokenValues.d.ts +136 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaTokens.d.ts +225 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaUsers.d.ts +6 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaVersions.d.ts +35 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaWorkspaces.d.ts +230 -0
- package/build/sdk-typescript/src/core/areas/SDKRemoteIdentifiers.d.ts +25 -0
- package/build/sdk-typescript/src/core/data/SDKConfiguration.d.ts +6 -0
- package/build/sdk-typescript/src/core/data/SDKDataBridge.d.ts +55 -0
- package/build/sdk-typescript/src/core/data/SDKDataCore.d.ts +508 -0
- package/build/sdk-typescript/src/core/data/requests/SDKDataCoreReadRequests.d.ts +232 -0
- package/build/sdk-typescript/src/core/data/requests/SDKDataCoreRenderRequests.d.ts +18 -0
- package/build/sdk-typescript/src/core/data/requests/SDKDataCoreWriteRequests.d.ts +237 -0
- package/build/sdk-typescript/src/core/errors/SDKSupernovaError.d.ts +47 -0
- package/build/sdk-typescript/src/core/resolvers/SDKAssetGroupResolver.d.ts +18 -0
- package/build/sdk-typescript/src/core/resolvers/SDKComponentGroupResolver.d.ts +13 -0
- package/build/sdk-typescript/src/core/resolvers/SDKComponentResolver.d.ts +7 -0
- package/build/sdk-typescript/src/core/resolvers/SDKDesignComponentGroupResolver.d.ts +10 -0
- package/build/sdk-typescript/src/core/resolvers/SDKDocsEntityMultiplayerItemResolver.d.ts +7 -0
- package/build/sdk-typescript/src/core/resolvers/SDKDocumentationItemResolver.d.ts +31 -0
- package/build/sdk-typescript/src/core/resolvers/SDKTokenGroupResolver.d.ts +10 -0
- package/build/sdk-typescript/src/core/resolvers/SDKTokenResolver.d.ts +105 -0
- package/build/sdk-typescript/src/exports-pulsar.d.ts +228 -0
- package/build/sdk-typescript/src/exports.d.ts +291 -0
- package/build/sdk-typescript/src/index.d.ts +5 -0
- package/build/sdk-typescript/src/model/acl/SDKAcl.d.ts +51 -0
- package/build/sdk-typescript/src/model/assets/SDKAsset.d.ts +17 -0
- package/build/sdk-typescript/src/model/assets/SDKRenderedAsset.d.ts +28 -0
- package/build/sdk-typescript/src/model/base/SDKBrand.d.ts +34 -0
- package/build/sdk-typescript/src/model/base/SDKDesignSystem.d.ts +54 -0
- package/build/sdk-typescript/src/model/base/SDKDesignSystemVersion.d.ts +45 -0
- package/build/sdk-typescript/src/model/base/SDKDocumentationLegacy.d.ts +10 -0
- package/build/sdk-typescript/src/model/components/SDKComponent.d.ts +32 -0
- package/build/sdk-typescript/src/model/components/SDKDesignComponent.d.ts +34 -0
- package/build/sdk-typescript/src/model/docs/SDKDocsConfiguration.d.ts +13 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockBehavior.d.ts +36 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockDefinition.d.ts +47 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockItemDefinition.d.ts +20 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockLayout.d.ts +19 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockOnboarding.d.ts +11 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockVariant.d.ts +35 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/assets/SDKDocsBlockActualAssets.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/blockquote/SDKDocsBlockActualBlockquote.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/callout/SDKDocsBlockActualCallout.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/code/SDKDocsBlockActualCode.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/code-react/SDKDocsBlockActualCodeReact.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/color-accessibility-grid/SDKDocsBlockActualAccessibilityGrid.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/color-ramps/SDKDocsBlockActualColorRamps.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/component-checklist/SDKDocsBlockActualComponentChecklist.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/component-checklist-all/SDKDocsBlockActualComponentChecklistAll.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/component-health/SDKDocsBlockActualComponentHealth.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/design-tokens/SDKDocsBlockActualDesignTokens.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/divider/SDKDocsBlockActualDivider.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/embed/SDKDocsBlockActualEmbed.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/embed-figma/SDKDocsBlockActualEmbedFigma.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/embed-lottie/SDKDocsBlockActualEmbedLottie.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/embed-youtube/SDKDocsBlockActualEmbedYoutube.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/figma-frames/SDKDocsBlockActualFigmaFrames.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/image/SDKDocsBlockActualImage.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/link/SDKDocsBlockActualLink.d.ts +8 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/markdown/SDKDocsBlockActualMarkdown.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/omni-multi-item/SDKDocsBlockActualOmniMultiItem.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/omni-single-item/SDKDocsBlockActualOmniSingleItem.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/ordered-list/SDKDocsBlockActualOrderedList.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/release-notes/SDKDocsBlockActualReleaseNotes.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/rich-text/SDKDocsBlockActualRichText.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/shortcut-links/SDKDocsBlockActualShortcutLinks.d.ts +8 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/storybook/SDKDocsBlockActualStorybook.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/table/SDKDocsBlockActualTable.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/title1/SDKDocsBlockActualTitle1.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/title2/SDKDocsBlockActualTitle2.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/title3/SDKDocsBlockActualTitle3.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/title4/SDKDocsBlockActualTitle4.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/title5/SDKDocsBlockActualTitle5.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/token-detail/SDKDocsBlockActualTokenDetail.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/token-list/SDKDocsBlockActualTokenList.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/unordered-list/SDKDocsBlockActualUnorderedList.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockAssetProperty.d.ts +29 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockAssetPropertyProperty.d.ts +12 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockBooleanProperty.d.ts +18 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockCodeProperty.d.ts +16 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockCodeSandboxProperty.d.ts +21 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockColorProperty.d.ts +13 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockComponentProperty.d.ts +23 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockComponentPropertyProperty.d.ts +12 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockDividerProperty.d.ts +12 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockEmbedUrlProperty.d.ts +25 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockFigmaNodeProperty.d.ts +30 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockImageProperty.d.ts +25 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockMarkdownProperty.d.ts +15 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockMultiRichTextProperty.d.ts +19 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockMultiSelectProperty.d.ts +21 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockNumberProperty.d.ts +23 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockProperty.d.ts +30 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockRichTextProperty.d.ts +23 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockSingleSelectProperty.d.ts +27 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockStorybookProperty.d.ts +24 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTableProperty.d.ts +38 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTextProperty.d.ts +23 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTokenProperty.d.ts +36 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTokenPropertyProperty.d.ts +12 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTokenTypeProperty.d.ts +15 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockUrlProperty.d.ts +14 -0
- package/build/sdk-typescript/src/model/docs/blocks/support/SDKDocsColorRef.d.ts +3 -0
- package/build/sdk-typescript/src/model/docs/blocks/support/SDKDocsImageRef.d.ts +26 -0
- package/build/sdk-typescript/src/model/docs/blocks/support/SDKDocsLinkRef.d.ts +24 -0
- package/build/sdk-typescript/src/model/docs/blocks/support/SDKDocsSizeRef.d.ts +8 -0
- package/build/sdk-typescript/src/model/docs/blocks/usage/SDKDocsBlock.d.ts +47 -0
- package/build/sdk-typescript/src/model/docs/blocks/usage/SDKDocsBlockItem.d.ts +16 -0
- package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntity.d.ts +30 -0
- package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntityConfiguration.d.ts +15 -0
- package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntityGroup.d.ts +51 -0
- package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntityHeader.d.ts +29 -0
- package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntityPage.d.ts +39 -0
- package/build/sdk-typescript/src/model/docs/sections/SDKDocsSection.d.ts +47 -0
- package/build/sdk-typescript/src/model/docs/sections/SDKDocsSectionColumn.d.ts +15 -0
- package/build/sdk-typescript/src/model/docs/sections/SDKDocsSectionItem.d.ts +15 -0
- package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyConfiguration.d.ts +22 -0
- package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyGroup.d.ts +40 -0
- package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyItem.d.ts +26 -0
- package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyPage.d.ts +34 -0
- package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyPageAsset.d.ts +21 -0
- package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyPageBlock.d.ts +30 -0
- package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyRichText.d.ts +10 -0
- package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyRichTextSpan.d.ts +10 -0
- package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyRichTextSpanAttribute.d.ts +14 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockAsset.d.ts +15 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockAssets.d.ts +22 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockCallout.d.ts +10 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockCode.d.ts +11 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockColumn.d.ts +4 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockColumnItem.d.ts +9 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockCustom.d.ts +15 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockDivider.d.ts +4 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedFigma.d.ts +4 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedGeneric.d.ts +13 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedLink.d.ts +15 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedStorybook.d.ts +4 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedYoutube.d.ts +4 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockFrame.d.ts +21 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockFrames.d.ts +24 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockHeading.d.ts +10 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockImage.d.ts +16 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockOrderedList.d.ts +4 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockQuote.d.ts +4 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockRenderCode.d.ts +33 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockShortcut.d.ts +35 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockShortcuts.d.ts +9 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTab.d.ts +4 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTabItem.d.ts +8 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTable.d.ts +21 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTableCell.d.ts +11 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTableColumn.d.ts +10 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTableRow.d.ts +4 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockText.d.ts +11 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockToken.d.ts +8 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTokenGroup.d.ts +10 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTokenList.d.ts +8 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockUnorderedList.d.ts +4 -0
- package/build/sdk-typescript/src/model/documentation/builder/SDKDocumentationLegacyBlockBuilder.d.ts +6 -0
- package/build/sdk-typescript/src/model/documentation/configuration/SDKDocumentationLegacyItemConfiguration.d.ts +11 -0
- package/build/sdk-typescript/src/model/documentation/configuration/SDKDocumentationLegacyItemHeader.d.ts +36 -0
- package/build/sdk-typescript/src/model/elements/SDKElementDataView.d.ts +30 -0
- package/build/sdk-typescript/src/model/elements/SDKElementDataViewColumn.d.ts +37 -0
- package/build/sdk-typescript/src/model/elements/SDKElementProperty.d.ts +73 -0
- package/build/sdk-typescript/src/model/elements/SDKElementPropertyOption.d.ts +45 -0
- package/build/sdk-typescript/src/model/elements/values/SDKElementPropertyValue.d.ts +15 -0
- package/build/sdk-typescript/src/model/enums/SDKAlignment.d.ts +10 -0
- package/build/sdk-typescript/src/model/enums/SDKAssetFormat.d.ts +5 -0
- package/build/sdk-typescript/src/model/enums/SDKAssetScale.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKAssetScaleType.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKBlurType.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKBorderPosition.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKBorderStyle.d.ts +7 -0
- package/build/sdk-typescript/src/model/enums/SDKCloudWarningType.d.ts +14 -0
- package/build/sdk-typescript/src/model/enums/SDKCodeLanguage.d.ts +34 -0
- package/build/sdk-typescript/src/model/enums/SDKConnectionProviders.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKCustomDomainErrorCode.d.ts +5 -0
- package/build/sdk-typescript/src/model/enums/SDKCustomDomainState.d.ts +9 -0
- package/build/sdk-typescript/src/model/enums/SDKDocBlockMode.d.ts +8 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockBehaviorDataType.d.ts +12 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockBehaviorSelectionType.d.ts +8 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockCategory.d.ts +26 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockContainerSize.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockImagePropertyAspectRatio.d.ts +12 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockImagePropertyWidth.d.ts +14 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemEntityType.d.ts +14 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemPropertyOptionRenderingStyle.d.ts +10 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemPropertyRichTextStyle.d.ts +20 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemPropertyTextStyle.d.ts +8 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemPropertyType.d.ts +55 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemVariantLayoutAlign.d.ts +8 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemVariantLayoutColumnResizing.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemVariantLayoutGap.d.ts +10 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemVariantLayoutType.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemVariantLayoutWidth.d.ts +26 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockMultiRichTextPropertyStyle.d.ts +8 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockOptionRenderStyle.d.ts +10 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockRichTextPropertyStyle.d.ts +18 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockTextPropertyColor.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockTextPropertyStyle.d.ts +26 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsEntityGroupBehavior.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsEntityType.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsPublishStatus.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsSectionType.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKDocumentationEnvironment.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyCalloutType.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyGroupBehavior.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyHeadingType.d.ts +5 -0
- package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyItemType.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyPageAssetType.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyPageBlockThemeType.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyPageBlockType.d.ts +31 -0
- package/build/sdk-typescript/src/model/enums/SDKFrameAlignment.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKFrameLayout.d.ts +11 -0
- package/build/sdk-typescript/src/model/enums/SDKGradientType.d.ts +5 -0
- package/build/sdk-typescript/src/model/enums/SDKImportJobOperation.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKImportJobState.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKIntegrationService.d.ts +7 -0
- package/build/sdk-typescript/src/model/enums/SDKRichTextSpanAttributeType.d.ts +7 -0
- package/build/sdk-typescript/src/model/enums/SDKShadowType.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKSourceType.d.ts +5 -0
- package/build/sdk-typescript/src/model/enums/SDKTextCase.d.ts +7 -0
- package/build/sdk-typescript/src/model/enums/SDKTextDecoration.d.ts +5 -0
- package/build/sdk-typescript/src/model/enums/SDKTokenType.d.ts +49 -0
- package/build/sdk-typescript/src/model/enums/SDKUnit.d.ts +17 -0
- package/build/sdk-typescript/src/model/enums/SDKUserRole.d.ts +8 -0
- package/build/sdk-typescript/src/model/enums/SDKVisibilityType.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKWorkspaceNPMRegistryAuthType.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKWorkspaceNPMRegistryType.d.ts +12 -0
- package/build/sdk-typescript/src/model/enums/SDKWorkspaceSubscriptionPlanInterval.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKWorkspaceSubscriptionProduct.d.ts +12 -0
- package/build/sdk-typescript/src/model/enums/SDKWorkspaceSubscriptionStatus.d.ts +10 -0
- package/build/sdk-typescript/src/model/exporters/CodegenAccount.d.ts +9 -0
- package/build/sdk-typescript/src/model/exporters/CodegenAzureBranch.d.ts +7 -0
- package/build/sdk-typescript/src/model/exporters/CodegenAzureOrganization.d.ts +7 -0
- package/build/sdk-typescript/src/model/exporters/CodegenAzureProject.d.ts +7 -0
- package/build/sdk-typescript/src/model/exporters/CodegenAzureRepository.d.ts +11 -0
- package/build/sdk-typescript/src/model/exporters/CodegenBitbucketBranch.d.ts +7 -0
- package/build/sdk-typescript/src/model/exporters/CodegenBitbucketProject.d.ts +6 -0
- package/build/sdk-typescript/src/model/exporters/CodegenBitbucketRepository.d.ts +8 -0
- package/build/sdk-typescript/src/model/exporters/CodegenBitbucketWorkspace.d.ts +6 -0
- package/build/sdk-typescript/src/model/exporters/CodegenBranch.d.ts +8 -0
- package/build/sdk-typescript/src/model/exporters/CodegenConnection.d.ts +10 -0
- package/build/sdk-typescript/src/model/exporters/CodegenGitlabBranch.d.ts +7 -0
- package/build/sdk-typescript/src/model/exporters/CodegenGitlabGroup.d.ts +6 -0
- package/build/sdk-typescript/src/model/exporters/CodegenGitlabRepository.d.ts +9 -0
- package/build/sdk-typescript/src/model/exporters/CodegenRepository.d.ts +15 -0
- package/build/sdk-typescript/src/model/exporters/SDKConnections.d.ts +17 -0
- package/build/sdk-typescript/src/model/exporters/SDKExporter.d.ts +83 -0
- package/build/sdk-typescript/src/model/exporters/SDKPipeline.d.ts +113 -0
- package/build/sdk-typescript/src/model/exporters/custom_blocks/SDKExporterCustomBlock.d.ts +23 -0
- package/build/sdk-typescript/src/model/exporters/custom_blocks/SDKExporterCustomBlockProperty.d.ts +32 -0
- package/build/sdk-typescript/src/model/exporters/custom_blocks/SDKExporterCustomBlockVariant.d.ts +12 -0
- package/build/sdk-typescript/src/model/exporters/custom_properties/SDKExporterConfigurationProperty.d.ts +38 -0
- package/build/sdk-typescript/src/model/exporters/exporter_builds/SDKExportBuild.d.ts +115 -0
- package/build/sdk-typescript/src/model/exporters/exporter_builds/SDKExportBuildResults.d.ts +84 -0
- package/build/sdk-typescript/src/model/exporters/exporter_builds/SDKExportDestinations.d.ts +126 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteAzureCodegenBranchModel.d.ts +5 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteAzureCodegenOrganizationModel.d.ts +5 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteAzureCodegenProjectModel.d.ts +5 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteAzureCodegenRepositoryModel.d.ts +9 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteBitbucketCodegenBranchModel.d.ts +5 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteBitbucketCodegenProjectModel.d.ts +4 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteBitbucketCodegenRepositoryModel.d.ts +6 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteBitbucketCodegenWorkspaceModel.d.ts +4 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteCodegenAccountModel.d.ts +7 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteCodegenBranchModel.d.ts +6 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteCodegenConnectionModel.d.ts +8 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteCodegenRepositoryModel.d.ts +17 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteConnectionsModel.d.ts +9 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteGitlabCodegenBranchModel.d.ts +5 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteGitlabCodegenGroupModel.d.ts +4 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteGitlabCodegenRepositoryModel.d.ts +7 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemotePipelineModel.d.ts +57 -0
- package/build/sdk-typescript/src/model/groups/SDKAssetGroup.d.ts +24 -0
- package/build/sdk-typescript/src/model/groups/SDKComponentGroup.d.ts +40 -0
- package/build/sdk-typescript/src/model/groups/SDKDesignComponentGroup.d.ts +33 -0
- package/build/sdk-typescript/src/model/groups/SDKTokenGroup.d.ts +43 -0
- package/build/sdk-typescript/src/model/jobs/SDKImportJob.d.ts +34 -0
- package/build/sdk-typescript/src/model/membership/SDKMembership.d.ts +16 -0
- package/build/sdk-typescript/src/model/resources/SDKResource.d.ts +26 -0
- package/build/sdk-typescript/src/model/resources/SDKResourceAsset.d.ts +6 -0
- package/build/sdk-typescript/src/model/resources/SDKResourceFont.d.ts +25 -0
- package/build/sdk-typescript/src/model/support/SDKCustomDomain.d.ts +21 -0
- package/build/sdk-typescript/src/model/support/SDKDesignComponentOrigin.d.ts +23 -0
- package/build/sdk-typescript/src/model/support/SDKFigmaFrame.d.ts +22 -0
- package/build/sdk-typescript/src/model/support/SDKFigmaStructure.d.ts +27 -0
- package/build/sdk-typescript/src/model/support/SDKFigmaStructureDetail.d.ts +30 -0
- package/build/sdk-typescript/src/model/support/SDKFrameOrigin.d.ts +25 -0
- package/build/sdk-typescript/src/model/support/SDKLogger.d.ts +4 -0
- package/build/sdk-typescript/src/model/support/SDKSize.d.ts +9 -0
- package/build/sdk-typescript/src/model/support/SDKSource.d.ts +150 -0
- package/build/sdk-typescript/src/model/support/SDKTokenOrigin.d.ts +18 -0
- package/build/sdk-typescript/src/model/themes/SDKThemeUtilities.d.ts +11 -0
- package/build/sdk-typescript/src/model/themes/SDKTokenTheme.d.ts +55 -0
- package/build/sdk-typescript/src/model/themes/SDKTokenThemeOverride.d.ts +46 -0
- package/build/sdk-typescript/src/model/tokens/SDKBlurToken.d.ts +22 -0
- package/build/sdk-typescript/src/model/tokens/SDKBorderToken.d.ts +24 -0
- package/build/sdk-typescript/src/model/tokens/SDKColorToken.d.ts +34 -0
- package/build/sdk-typescript/src/model/tokens/SDKDimensionToken.d.ts +104 -0
- package/build/sdk-typescript/src/model/tokens/SDKGradientToken.d.ts +26 -0
- package/build/sdk-typescript/src/model/tokens/SDKShadowToken.d.ts +26 -0
- package/build/sdk-typescript/src/model/tokens/SDKStringToken.d.ts +61 -0
- package/build/sdk-typescript/src/model/tokens/SDKTextCaseToken.d.ts +23 -0
- package/build/sdk-typescript/src/model/tokens/SDKTextDecorationToken.d.ts +26 -0
- package/build/sdk-typescript/src/model/tokens/SDKToken.d.ts +33 -0
- package/build/sdk-typescript/src/model/tokens/SDKTokenCompator.d.ts +20 -0
- package/build/sdk-typescript/src/model/tokens/SDKTokenValue.d.ts +201 -0
- package/build/sdk-typescript/src/model/tokens/SDKTypographyToken.d.ts +20 -0
- package/build/sdk-typescript/src/model/tokens/SDKVisibilityToken.d.ts +18 -0
- package/build/sdk-typescript/src/model/tokens/remote/SDKRemoteTokenData.d.ts +105 -0
- package/build/sdk-typescript/src/model/tokens/remote/SDKRemoteTokenModel.d.ts +64 -0
- package/build/sdk-typescript/src/model/tokens/remote/SDKRemoteTokenValue.d.ts +111 -0
- package/build/sdk-typescript/src/model/users/SDKUser.d.ts +53 -0
- package/build/sdk-typescript/src/model/users/SDKUserMembership.d.ts +18 -0
- package/build/sdk-typescript/src/model/users/SDKUserProfile.d.ts +55 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspace.d.ts +22 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceIPWhitelistSettings.d.ts +26 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceInvitation.d.ts +35 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceInvoice.d.ts +38 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceNPMRegistryAccessToken.d.ts +15 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceNPMRegistrySettings.d.ts +34 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceOnboarding.d.ts +30 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceProduct.d.ts +21 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceProductFeatures.d.ts +32 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceProductPrice.d.ts +40 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceProfile.d.ts +68 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceSSOSettings.d.ts +19 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceSubscription.d.ts +85 -0
- package/build/sdk-typescript/src/pulsar-interfaces.d.ts +40 -0
- package/build/sdk-typescript/src/tests/Areas/AreaAssets.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Areas/AreaBatchUpdates.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Areas/AreaBrands.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Areas/AreaDesignSystems.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Areas/AreaDocumentation.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Areas/AreaMe.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Areas/AreaStorage.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Areas/AreaTokens.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Areas/AreaWorkspace.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/FigmaTokensDataLoader.d.ts +33 -0
- package/build/sdk-typescript/src/tests/Serialization/User.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Serialization/Workspace.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Serialization/WorkspaceIPWhitelistSettings.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Serialization/WorkspaceNPMRegistrySettings.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Serialization/WorkspaceOnboarding.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Serialization/WorkspaceSSOSettings.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Tooling/PluginFigmaTokens.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Tooling/PluginJSONBuilder.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Tooling/ReadTokens.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Tooling/TokensModel.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Tooling/ToolDocSearch.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Tooling/ToolMarkdownTransform.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/helpers.d.ts +7 -0
- package/build/sdk-typescript/src/tests/validators.d.ts +86 -0
- package/build/sdk-typescript/src/tools/design-tokens/SDKToolsDesignTokensPlugin.d.ts +56 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTJSONConverter.d.ts +39 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTJSONGroupBuilder.d.ts +23 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTJSONLoader.d.ts +28 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTJSONParser.d.ts +44 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTMapLoader.d.ts +39 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTMapResolver.d.ts +7 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTThemeMerger.d.ts +15 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTTokenGroupTreeMerger.d.ts +23 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTTokenMerger.d.ts +16 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTTokenReferenceResolver.d.ts +48 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTTokenSetResolver.d.ts +11 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/collection/SDKDTTokenCollection.d.ts +13 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/expression/SDKDTExpressionParser.d.ts +5 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/tree/SDKDTGroupTree.d.ts +12 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/tree/SDKDTGroupTreeNode.d.ts +17 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/tree/SDKDTParentChildMapping.d.ts +5 -0
- package/build/sdk-typescript/src/tools/docs-block-builder/SDKDocsBlockBuilder.d.ts +409 -0
- package/build/sdk-typescript/src/tools/json-builder/SDKToolsJSONBuilder.d.ts +58 -0
- package/build/sdk-typescript/src/tools/json-builder/elements-transformers/SDKToolsJSONElementFigmaTokensTransformer.d.ts +37 -0
- package/build/sdk-typescript/src/tools/json-builder/elements-transformers/SDKToolsJSONElementStyleDictionaryTransformer.d.ts +26 -0
- package/build/sdk-typescript/src/tools/json-builder/elements-transformers/SDKToolsJSONElementTransformer.d.ts +68 -0
- package/build/sdk-typescript/src/tools/markdown-transform/SDKToolsMarkdownTransform.d.ts +22 -0
- package/build/sdk-typescript/src/tools/markdown-transform/SDKToolsMarkdownTransformBlock.d.ts +75 -0
- package/build/sdk-typescript/src/tools/markdown-transform/SDKToolsMarkdownTransformUtil.d.ts +22 -0
- package/build/sdk-typescript/src/tools/search-index/SDKToolsDocSearch.d.ts +47 -0
- package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewGenerator.d.ts +20 -0
- package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewMetadataGenerator.d.ts +8 -0
- package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewReferenceInfoGenerator.d.ts +9 -0
- package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewSegmentGenerator.d.ts +7 -0
- package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewStyleGenerator.d.ts +8 -0
- package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewTypes.d.ts +68 -0
- package/build/sdk-typescript/src/tools/token-transform/SDKToolsTokenTransform.d.ts +42 -0
- package/build/sdk-typescript/src/utils/CommonUtils.d.ts +5 -0
- package/build/sdk-typescript/src/utils/ComponentUtils.d.ts +12 -0
- package/build/sdk-typescript/src/utils/FlowUtils.d.ts +5 -0
- package/build/sdk-typescript/src/utils/StringUtils.d.ts +72 -0
- package/build/sdk-typescript/src/utils/TokenUtils.d.ts +294 -0
- package/build/sdk-typescript/src/utils/UnreachableCaseError.d.ts +3 -0
- package/build/sdk-typescript/src/utils/deepPartial.d.ts +3 -0
- package/build/supernova-sdk-typescript.js +3 -0
- package/build/supernova-sdk-typescript.js.LICENSE.txt +8 -0
- package/build/supernova-sdk-typescript.js.map +1 -0
- package/package.json +127 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! For license information please see supernova-sdk-typescript.js.LICENSE.txt */
|
|
2
|
+
(()=>{var e={277:(e,t,n)=>{"use strict";const r=n(5986),o=n(14),i=n(8692),a=(e,t)=>{if("string"!=typeof e)throw new TypeError(`Expected a string, got \`${typeof e}\``);const n=(t={separator:"-",lowercase:!0,decamelize:!0,customReplacements:[],preserveLeadingUnderscore:!1,...t}).preserveLeadingUnderscore&&e.startsWith("_"),a=new Map([...i,...t.customReplacements]);e=o(e,{customReplacements:a}),t.decamelize&&(e=(e=>e.replace(/([A-Z]{2,})(\d+)/g,"$1 $2").replace(/([a-z\d]+)([A-Z]{2,})/g,"$1 $2").replace(/([a-z\d])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1 $2"))(e));let s=/[^a-zA-Z\d]+/g;return t.lowercase&&(e=e.toLowerCase(),s=/[^a-z\d]+/g),e=(e=e.replace(s,t.separator)).replace(/\\/g,""),t.separator&&(e=((e,t)=>{const n=r(t);return e.replace(new RegExp(`${n}{2,}`,"g"),t).replace(new RegExp(`^${n}|${n}$`,"g"),"")})(e,t.separator)),n&&(e=`_${e}`),e};e.exports=a,e.exports.counter=()=>{const e=new Map,t=(t,n)=>{if(!(t=a(t,n)))return"";const r=t.toLowerCase(),o=e.get(r.replace(/(?:-\d+?)+?$/,""))||0,i=e.get(r);e.set(r,"number"==typeof i?i+1:1);const s=e.get(r)||2;return(s>=2||o>2)&&(t=`${t}-${s}`),t};return t.reset=()=>{e.clear()},t}},5986:e=>{"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},8692:e=>{"use strict";e.exports=[["&"," and "],["🦄"," unicorn "],["♥"," love "]]},14:(e,t,n)=>{"use strict";const r=n(5297),o=n(2633),i=n(6081);e.exports=(e,t)=>{if("string"!=typeof e)throw new TypeError(`Expected a string, got \`${typeof e}\``);t={customReplacements:[],...t};const n=new Map([...i,...t.customReplacements]);return e=((e,t)=>{for(const[n,r]of t)e=e.replace(new RegExp(o(n),"g"),r);return e})(e=e.normalize(),n),r(e)}},2633:e=>{"use strict";const t=/[|\\{}()[\]^$+*?.-]/g;e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(t,"\\$&")}},6081:e=>{"use strict";e.exports=[["ß","ss"],["ä","ae"],["Ä","Ae"],["ö","oe"],["Ö","Oe"],["ü","ue"],["Ü","Ue"],["À","A"],["Á","A"],["Â","A"],["Ã","A"],["Ä","Ae"],["Å","A"],["Æ","AE"],["Ç","C"],["È","E"],["É","E"],["Ê","E"],["Ë","E"],["Ì","I"],["Í","I"],["Î","I"],["Ï","I"],["Ð","D"],["Ñ","N"],["Ò","O"],["Ó","O"],["Ô","O"],["Õ","O"],["Ö","Oe"],["Ő","O"],["Ø","O"],["Ù","U"],["Ú","U"],["Û","U"],["Ü","Ue"],["Ű","U"],["Ý","Y"],["Þ","TH"],["ß","ss"],["à","a"],["á","a"],["â","a"],["ã","a"],["ä","ae"],["å","a"],["æ","ae"],["ç","c"],["è","e"],["é","e"],["ê","e"],["ë","e"],["ì","i"],["í","i"],["î","i"],["ï","i"],["ð","d"],["ñ","n"],["ò","o"],["ó","o"],["ô","o"],["õ","o"],["ö","oe"],["ő","o"],["ø","o"],["ù","u"],["ú","u"],["û","u"],["ü","ue"],["ű","u"],["ý","y"],["þ","th"],["ÿ","y"],["ẞ","SS"],["à","a"],["À","A"],["á","a"],["Á","A"],["â","a"],["Â","A"],["ã","a"],["Ã","A"],["è","e"],["È","E"],["é","e"],["É","E"],["ê","e"],["Ê","E"],["ì","i"],["Ì","I"],["í","i"],["Í","I"],["ò","o"],["Ò","O"],["ó","o"],["Ó","O"],["ô","o"],["Ô","O"],["õ","o"],["Õ","O"],["ù","u"],["Ù","U"],["ú","u"],["Ú","U"],["ý","y"],["Ý","Y"],["ă","a"],["Ă","A"],["Đ","D"],["đ","d"],["ĩ","i"],["Ĩ","I"],["ũ","u"],["Ũ","U"],["ơ","o"],["Ơ","O"],["ư","u"],["Ư","U"],["ạ","a"],["Ạ","A"],["ả","a"],["Ả","A"],["ấ","a"],["Ấ","A"],["ầ","a"],["Ầ","A"],["ẩ","a"],["Ẩ","A"],["ẫ","a"],["Ẫ","A"],["ậ","a"],["Ậ","A"],["ắ","a"],["Ắ","A"],["ằ","a"],["Ằ","A"],["ẳ","a"],["Ẳ","A"],["ẵ","a"],["Ẵ","A"],["ặ","a"],["Ặ","A"],["ẹ","e"],["Ẹ","E"],["ẻ","e"],["Ẻ","E"],["ẽ","e"],["Ẽ","E"],["ế","e"],["Ế","E"],["ề","e"],["Ề","E"],["ể","e"],["Ể","E"],["ễ","e"],["Ễ","E"],["ệ","e"],["Ệ","E"],["ỉ","i"],["Ỉ","I"],["ị","i"],["Ị","I"],["ọ","o"],["Ọ","O"],["ỏ","o"],["Ỏ","O"],["ố","o"],["Ố","O"],["ồ","o"],["Ồ","O"],["ổ","o"],["Ổ","O"],["ỗ","o"],["Ỗ","O"],["ộ","o"],["Ộ","O"],["ớ","o"],["Ớ","O"],["ờ","o"],["Ờ","O"],["ở","o"],["Ở","O"],["ỡ","o"],["Ỡ","O"],["ợ","o"],["Ợ","O"],["ụ","u"],["Ụ","U"],["ủ","u"],["Ủ","U"],["ứ","u"],["Ứ","U"],["ừ","u"],["Ừ","U"],["ử","u"],["Ử","U"],["ữ","u"],["Ữ","U"],["ự","u"],["Ự","U"],["ỳ","y"],["Ỳ","Y"],["ỵ","y"],["Ỵ","Y"],["ỷ","y"],["Ỷ","Y"],["ỹ","y"],["Ỹ","Y"],["ء","e"],["آ","a"],["أ","a"],["ؤ","w"],["إ","i"],["ئ","y"],["ا","a"],["ب","b"],["ة","t"],["ت","t"],["ث","th"],["ج","j"],["ح","h"],["خ","kh"],["د","d"],["ذ","dh"],["ر","r"],["ز","z"],["س","s"],["ش","sh"],["ص","s"],["ض","d"],["ط","t"],["ظ","z"],["ع","e"],["غ","gh"],["ـ","_"],["ف","f"],["ق","q"],["ك","k"],["ل","l"],["م","m"],["ن","n"],["ه","h"],["و","w"],["ى","a"],["ي","y"],["َ","a"],["ُ","u"],["ِ","i"],["٠","0"],["١","1"],["٢","2"],["٣","3"],["٤","4"],["٥","5"],["٦","6"],["٧","7"],["٨","8"],["٩","9"],["چ","ch"],["ک","k"],["گ","g"],["پ","p"],["ژ","zh"],["ی","y"],["۰","0"],["۱","1"],["۲","2"],["۳","3"],["۴","4"],["۵","5"],["۶","6"],["۷","7"],["۸","8"],["۹","9"],["ټ","p"],["ځ","z"],["څ","c"],["ډ","d"],["ﺫ","d"],["ﺭ","r"],["ړ","r"],["ﺯ","z"],["ږ","g"],["ښ","x"],["ګ","g"],["ڼ","n"],["ۀ","e"],["ې","e"],["ۍ","ai"],["ٹ","t"],["ڈ","d"],["ڑ","r"],["ں","n"],["ہ","h"],["ھ","h"],["ے","e"],["А","A"],["а","a"],["Б","B"],["б","b"],["В","V"],["в","v"],["Г","G"],["г","g"],["Д","D"],["д","d"],["Е","E"],["е","e"],["Ж","Zh"],["ж","zh"],["З","Z"],["з","z"],["И","I"],["и","i"],["Й","J"],["й","j"],["К","K"],["к","k"],["Л","L"],["л","l"],["М","M"],["м","m"],["Н","N"],["н","n"],["О","O"],["о","o"],["П","P"],["п","p"],["Р","R"],["р","r"],["С","S"],["с","s"],["Т","T"],["т","t"],["У","U"],["у","u"],["Ф","F"],["ф","f"],["Х","H"],["х","h"],["Ц","Cz"],["ц","cz"],["Ч","Ch"],["ч","ch"],["Ш","Sh"],["ш","sh"],["Щ","Shh"],["щ","shh"],["Ъ",""],["ъ",""],["Ы","Y"],["ы","y"],["Ь",""],["ь",""],["Э","E"],["э","e"],["Ю","Yu"],["ю","yu"],["Я","Ya"],["я","ya"],["Ё","Yo"],["ё","yo"],["ă","a"],["Ă","A"],["ș","s"],["Ș","S"],["ț","t"],["Ț","T"],["ţ","t"],["Ţ","T"],["ş","s"],["Ş","S"],["ç","c"],["Ç","C"],["ğ","g"],["Ğ","G"],["ı","i"],["İ","I"],["ա","a"],["Ա","A"],["բ","b"],["Բ","B"],["գ","g"],["Գ","G"],["դ","d"],["Դ","D"],["ե","ye"],["Ե","Ye"],["զ","z"],["Զ","Z"],["է","e"],["Է","E"],["ը","y"],["Ը","Y"],["թ","t"],["Թ","T"],["ժ","zh"],["Ժ","Zh"],["ի","i"],["Ի","I"],["լ","l"],["Լ","L"],["խ","kh"],["Խ","Kh"],["ծ","ts"],["Ծ","Ts"],["կ","k"],["Կ","K"],["հ","h"],["Հ","H"],["ձ","dz"],["Ձ","Dz"],["ղ","gh"],["Ղ","Gh"],["ճ","tch"],["Ճ","Tch"],["մ","m"],["Մ","M"],["յ","y"],["Յ","Y"],["ն","n"],["Ն","N"],["շ","sh"],["Շ","Sh"],["ո","vo"],["Ո","Vo"],["չ","ch"],["Չ","Ch"],["պ","p"],["Պ","P"],["ջ","j"],["Ջ","J"],["ռ","r"],["Ռ","R"],["ս","s"],["Ս","S"],["վ","v"],["Վ","V"],["տ","t"],["Տ","T"],["ր","r"],["Ր","R"],["ց","c"],["Ց","C"],["ու","u"],["ՈՒ","U"],["Ու","U"],["փ","p"],["Փ","P"],["ք","q"],["Ք","Q"],["օ","o"],["Օ","O"],["ֆ","f"],["Ֆ","F"],["և","yev"],["ა","a"],["ბ","b"],["გ","g"],["დ","d"],["ე","e"],["ვ","v"],["ზ","z"],["თ","t"],["ი","i"],["კ","k"],["ლ","l"],["მ","m"],["ნ","n"],["ო","o"],["პ","p"],["ჟ","zh"],["რ","r"],["ს","s"],["ტ","t"],["უ","u"],["ფ","ph"],["ქ","q"],["ღ","gh"],["ყ","k"],["შ","sh"],["ჩ","ch"],["ც","ts"],["ძ","dz"],["წ","ts"],["ჭ","tch"],["ხ","kh"],["ჯ","j"],["ჰ","h"],["č","c"],["ď","d"],["ě","e"],["ň","n"],["ř","r"],["š","s"],["ť","t"],["ů","u"],["ž","z"],["Č","C"],["Ď","D"],["Ě","E"],["Ň","N"],["Ř","R"],["Š","S"],["Ť","T"],["Ů","U"],["Ž","Z"],["ހ","h"],["ށ","sh"],["ނ","n"],["ރ","r"],["ބ","b"],["ޅ","lh"],["ކ","k"],["އ","a"],["ވ","v"],["މ","m"],["ފ","f"],["ދ","dh"],["ތ","th"],["ލ","l"],["ގ","g"],["ޏ","gn"],["ސ","s"],["ޑ","d"],["ޒ","z"],["ޓ","t"],["ޔ","y"],["ޕ","p"],["ޖ","j"],["ޗ","ch"],["ޘ","tt"],["ޙ","hh"],["ޚ","kh"],["ޛ","th"],["ޜ","z"],["ޝ","sh"],["ޞ","s"],["ޟ","d"],["ޠ","t"],["ޡ","z"],["ޢ","a"],["ޣ","gh"],["ޤ","q"],["ޥ","w"],["ަ","a"],["ާ","aa"],["ި","i"],["ީ","ee"],["ު","u"],["ޫ","oo"],["ެ","e"],["ޭ","ey"],["ޮ","o"],["ޯ","oa"],["ް",""],["α","a"],["β","v"],["γ","g"],["δ","d"],["ε","e"],["ζ","z"],["η","i"],["θ","th"],["ι","i"],["κ","k"],["λ","l"],["μ","m"],["ν","n"],["ξ","ks"],["ο","o"],["π","p"],["ρ","r"],["σ","s"],["τ","t"],["υ","y"],["φ","f"],["χ","x"],["ψ","ps"],["ω","o"],["ά","a"],["έ","e"],["ί","i"],["ό","o"],["ύ","y"],["ή","i"],["ώ","o"],["ς","s"],["ϊ","i"],["ΰ","y"],["ϋ","y"],["ΐ","i"],["Α","A"],["Β","B"],["Γ","G"],["Δ","D"],["Ε","E"],["Ζ","Z"],["Η","I"],["Θ","TH"],["Ι","I"],["Κ","K"],["Λ","L"],["Μ","M"],["Ν","N"],["Ξ","KS"],["Ο","O"],["Π","P"],["Ρ","R"],["Σ","S"],["Τ","T"],["Υ","Y"],["Φ","F"],["Χ","X"],["Ψ","PS"],["Ω","O"],["Ά","A"],["Έ","E"],["Ί","I"],["Ό","O"],["Ύ","Y"],["Ή","I"],["Ώ","O"],["Ϊ","I"],["Ϋ","Y"],["ā","a"],["ē","e"],["ģ","g"],["ī","i"],["ķ","k"],["ļ","l"],["ņ","n"],["ū","u"],["Ā","A"],["Ē","E"],["Ģ","G"],["Ī","I"],["Ķ","K"],["Ļ","L"],["Ņ","N"],["Ū","U"],["č","c"],["š","s"],["ž","z"],["Č","C"],["Š","S"],["Ž","Z"],["ą","a"],["č","c"],["ę","e"],["ė","e"],["į","i"],["š","s"],["ų","u"],["ū","u"],["ž","z"],["Ą","A"],["Č","C"],["Ę","E"],["Ė","E"],["Į","I"],["Š","S"],["Ų","U"],["Ū","U"],["Ќ","Kj"],["ќ","kj"],["Љ","Lj"],["љ","lj"],["Њ","Nj"],["њ","nj"],["Тс","Ts"],["тс","ts"],["ą","a"],["ć","c"],["ę","e"],["ł","l"],["ń","n"],["ś","s"],["ź","z"],["ż","z"],["Ą","A"],["Ć","C"],["Ę","E"],["Ł","L"],["Ń","N"],["Ś","S"],["Ź","Z"],["Ż","Z"],["Є","Ye"],["І","I"],["Ї","Yi"],["Ґ","G"],["є","ye"],["і","i"],["ї","yi"],["ґ","g"]]},1638:(e,t,n)=>{"use strict";const r=n(6520),o=n(966);e.exports={atob:r,btoa:o}},6520:e=>{"use strict";function t(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(e);return t<0?void 0:t}e.exports=function(e){if(0===arguments.length)throw new TypeError("1 argument required, but only 0 present.");if((e=(e=`${e}`).replace(/[ \t\n\f\r]/g,"")).length%4==0&&(e=e.replace(/==?$/,"")),e.length%4==1||/[^+/0-9A-Za-z]/.test(e))return null;let n="",r=0,o=0;for(let i=0;i<e.length;i++)r<<=6,r|=t(e[i]),o+=6,24===o&&(n+=String.fromCharCode((16711680&r)>>16),n+=String.fromCharCode((65280&r)>>8),n+=String.fromCharCode(255&r),r=o=0);return 12===o?(r>>=4,n+=String.fromCharCode(r)):18===o&&(r>>=2,n+=String.fromCharCode((65280&r)>>8),n+=String.fromCharCode(255&r)),n}},966:e=>{"use strict";function t(e){if(e>=0&&e<64)return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[e]}e.exports=function(e){if(0===arguments.length)throw new TypeError("1 argument required, but only 0 present.");let n;for(e=`${e}`,n=0;n<e.length;n++)if(e.charCodeAt(n)>255)return null;let r="";for(n=0;n<e.length;n+=3){const o=[void 0,void 0,void 0,void 0];o[0]=e.charCodeAt(n)>>2,o[1]=(3&e.charCodeAt(n))<<4,e.length>n+1&&(o[1]|=e.charCodeAt(n+1)>>4,o[2]=(15&e.charCodeAt(n+1))<<2),e.length>n+2&&(o[2]|=e.charCodeAt(n+2)>>6,o[3]=63&e.charCodeAt(n+2));for(let e=0;e<o.length;e++)void 0===o[e]?r+="=":r+=t(o[e])}return r}},6739:(e,t)=>{"use strict";function n(e,t,n){return Math.min(Math.max(e,n),t)}class r extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}var o=r;function i(e){if("string"!=typeof e)throw new o(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=m.test(e)?function(e){const t=e.toLowerCase().trim(),n=s[function(e){let t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return(t>>>0)%2341}(t)];if(!n)throw new o(e);return`#${n}`}(e):e;const r=p.exec(t);if(r){const e=Array.from(r).slice(1);return[...e.slice(0,3).map((e=>parseInt(d(e,2),16))),parseInt(d(e[3]||"f",2),16)/255]}const i=l.exec(t);if(i){const e=Array.from(i).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,16))),parseInt(e[3]||"ff",16)/255]}const a=c.exec(t);if(a){const e=Array.from(a).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,10))),parseFloat(e[3]||"1")]}const h=u.exec(t);if(h){const[t,r,i,a]=Array.from(h).slice(1).map(parseFloat);if(n(0,100,r)!==r)throw new o(e);if(n(0,100,i)!==i)throw new o(e);return[...g(t,r,i),Number.isNaN(a)?1:a]}throw new o(e)}const a=e=>parseInt(e.replace(/_/g,""),36),s="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce(((e,t)=>{const n=a(t.substring(0,3)),r=a(t.substring(3)).toString(16);let o="";for(let e=0;e<6-r.length;e++)o+="0";return e[n]=`${o}${r}`,e}),{}),d=(e,t)=>Array.from(Array(t)).map((()=>e)).join(""),p=new RegExp(`^#${d("([a-f0-9])",3)}([a-f0-9])?$`,"i"),l=new RegExp(`^#${d("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),c=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${d(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),u=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,m=/^[a-z]+$/i,h=e=>Math.round(255*e),g=(e,t,n)=>{let r=n/100;if(0===t)return[r,r,r].map(h);const o=(e%360+360)%360/60,i=(1-Math.abs(2*r-1))*(t/100),a=i*(1-Math.abs(o%2-1));let s=0,d=0,p=0;o>=0&&o<1?(s=i,d=a):o>=1&&o<2?(s=a,d=i):o>=2&&o<3?(d=i,p=a):o>=3&&o<4?(d=a,p=i):o>=4&&o<5?(s=a,p=i):o>=5&&o<6&&(s=i,p=a);const l=r-i/2;return[s+l,d+l,p+l].map(h)};function f(e){const[t,n,r,o]=i(e).map(((e,t)=>3===t?e:e/255)),a=Math.max(t,n,r),s=Math.min(t,n,r),d=(a+s)/2;if(a===s)return[0,0,d,o];const p=a-s;return[60*(t===a?(n-r)/p+(n<r?6:0):n===a?(r-t)/p+2:(t-n)/p+4),d>.5?p/(2-a-s):p/(a+s),d,o]}function y(e,t,r,o){return`hsla(${(e%360).toFixed()}, ${n(0,100,100*t).toFixed()}%, ${n(0,100,100*r).toFixed()}%, ${parseFloat(n(0,1,o).toFixed(3))})`}function v(e,t){const[n,r,o,i]=f(e);return y(n,r,o-t,i)}function k(e,t){const[n,r,o,i]=f(e);return y(n,r-t,o,i)}function T(e){if("transparent"===e)return 0;function t(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}const[n,r,o]=i(e);return.2126*t(n)+.7152*t(r)+.0722*t(o)}function b(e,t){const n=T(e),r=T(t);return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}function w(e,t,r,o){return`rgba(${n(0,255,e).toFixed()}, ${n(0,255,t).toFixed()}, ${n(0,255,r).toFixed()}, ${parseFloat(n(0,1,o).toFixed(3))})`}function S(e,t,n){const r=(e,t)=>3===t?e:e/255,[o,a,s,d]=i(e).map(r),[p,l,c,u]=i(t).map(r),m=u-d,h=2*n-1,g=((h*m==-1?h:h+m/(1+h*m))+1)/2,f=1-g;return w(255*(o*f+p*g),255*(a*f+l*g),255*(s*f+c*g),u*n+d*(1-n))}const I={decorative:1.5,readable:3,aa:4.5,aaa:7};function D(e,t){const[n,r,o,a]=i(e);return w(n,r,o,a-t)}function _(e){return T(e)>.179}t.ColorError=o,t.adjustHue=function(e,t){const[n,r,o,i]=f(e);return y(n+t,r,o,i)},t.darken=v,t.desaturate=k,t.getContrast=b,t.getLuminance=T,t.getScale=function(...e){return t=>{const r=e.length-1,o=n(0,r,Math.floor(t*r)),i=n(0,r,Math.ceil(t*r)),a=1/r;return S(e[o],e[i],(t-a*o)/a)}},t.guard=n,t.hasBadContrast=function(e,t="aa",n="#fff"){return b(e,n)<I[t]},t.hsla=y,t.lighten=function(e,t){return v(e,-t)},t.mix=S,t.opacify=function(e,t){return D(e,-t)},t.parseToHsla=f,t.parseToRgba=i,t.readableColor=function(e){return _(e)?"#000":"#fff"},t.readableColorIsBlack=_,t.rgba=w,t.saturate=function(e,t){return k(e,-t)},t.toHex=function(e){const[t,r,o,a]=i(e);let s=e=>{const t=n(0,255,e).toString(16);return 1===t.length?`0${t}`:t};return`#${s(t)}${s(r)}${s(o)}${a<1?s(Math.round(255*a)):""}`},t.toHsla=function(e){return y(...f(e))},t.toRgba=function(e){return w(...i(e))},t.transparentize=D},1961:(e,t,n)=>{"use strict";function r(e){return Array.isArray?Array.isArray(e):"[object Array]"===p(e)}n.r(t),n.d(t,{default:()=>$});function o(e){return"string"==typeof e}function i(e){return"number"==typeof e}function a(e){return"object"==typeof e}function s(e){return null!=e}function d(e){return!e.trim().length}function p(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const l=e=>`Missing ${e} property in key`,c=e=>`Property 'weight' in key '${e}' must be a positive integer`,u=Object.prototype.hasOwnProperty;class m{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=h(e);t+=n.weight,this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function h(e){let t=null,n=null,i=null,a=1,s=null;if(o(e)||r(e))i=e,t=g(e),n=f(e);else{if(!u.call(e,"name"))throw new Error(l("name"));const r=e.name;if(i=r,u.call(e,"weight")&&(a=e.weight,a<=0))throw new Error(c(r));t=g(r),n=f(r),s=e.getFn}return{path:t,id:n,weight:a,src:i,getFn:s}}function g(e){return r(e)?e:e.split(".")}function f(e){return r(e)?e.join("."):e}const y={useExtendedSearch:!1,getFn:function(e,t){let n=[],d=!1;const l=(e,t,c)=>{if(s(e))if(t[c]){const u=e[t[c]];if(!s(u))return;if(c===t.length-1&&(o(u)||i(u)||function(e){return!0===e||!1===e||function(e){return a(e)&&null!==e}(e)&&"[object Boolean]"==p(e)}(u)))n.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(u));else if(r(u)){d=!0;for(let e=0,n=u.length;e<n;e+=1)l(u[e],t,c+1)}else t.length&&l(u,t,c+1)}else n.push(e)};return l(e,o(t)?t.split("."):t,0),d?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var v={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...y};const k=/[^ ]+/g;class T{constructor({getFn:e=v.getFn,fieldNormWeight:t=v.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){const o=t.match(k).length;if(n.has(o))return n.get(o);const i=1/Math.pow(o,.5*e),a=parseFloat(Math.round(i*r)/r);return n.set(o,a),a},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,o(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();o(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!s(e)||d(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach(((t,i)=>{let a=t.getFn?t.getFn(e):this.getFn(e,t.path);if(s(a))if(r(a)){let e=[];const t=[{nestedArrIndex:-1,value:a}];for(;t.length;){const{nestedArrIndex:n,value:i}=t.pop();if(s(i))if(o(i)&&!d(i)){let t={v:i,i:n,n:this.norm.get(i)};e.push(t)}else r(i)&&i.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[i]=e}else if(o(a)&&!d(a)){let e={v:a,n:this.norm.get(a)};n.$[i]=e}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function b(e,t,{getFn:n=v.getFn,fieldNormWeight:r=v.fieldNormWeight}={}){const o=new T({getFn:n,fieldNormWeight:r});return o.setKeys(e.map(h)),o.setSources(t),o.create(),o}function w(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:o=v.distance,ignoreLocation:i=v.ignoreLocation}={}){const a=t/e.length;if(i)return a;const s=Math.abs(r-n);return o?a+s/o:s?1:a}const S=32;function I(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const o=e.charAt(n);t[o]=(t[o]||0)|1<<r-n-1}return t}class D{constructor(e,{location:t=v.location,threshold:n=v.threshold,distance:r=v.distance,includeMatches:o=v.includeMatches,findAllMatches:i=v.findAllMatches,minMatchCharLength:a=v.minMatchCharLength,isCaseSensitive:s=v.isCaseSensitive,ignoreLocation:d=v.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:s,ignoreLocation:d},this.pattern=s?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const p=(e,t)=>{this.chunks.push({pattern:e,alphabet:I(e),startIndex:t})},l=this.pattern.length;if(l>S){let e=0;const t=l%S,n=l-t;for(;e<n;)p(this.pattern.substr(e,S),e),e+=S;if(t){const e=l-S;p(this.pattern.substr(e),e)}}else p(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:r,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:s,ignoreLocation:d}=this.options;let p=[],l=0,c=!1;this.chunks.forEach((({pattern:t,alphabet:u,startIndex:m})=>{const{isMatch:h,score:g,indices:f}=function(e,t,n,{location:r=v.location,distance:o=v.distance,threshold:i=v.threshold,findAllMatches:a=v.findAllMatches,minMatchCharLength:s=v.minMatchCharLength,includeMatches:d=v.includeMatches,ignoreLocation:p=v.ignoreLocation}={}){if(t.length>S)throw new Error("Pattern length exceeds max of 32.");const l=t.length,c=e.length,u=Math.max(0,Math.min(r,c));let m=i,h=u;const g=s>1||d,f=g?Array(c):[];let y;for(;(y=e.indexOf(t,h))>-1;){let e=w(t,{currentLocation:y,expectedLocation:u,distance:o,ignoreLocation:p});if(m=Math.min(e,m),h=y+l,g){let e=0;for(;e<l;)f[y+e]=1,e+=1}}h=-1;let k=[],T=1,b=l+c;const I=1<<l-1;for(let r=0;r<l;r+=1){let i=0,s=b;for(;i<s;)w(t,{errors:r,currentLocation:u+s,expectedLocation:u,distance:o,ignoreLocation:p})<=m?i=s:b=s,s=Math.floor((b-i)/2+i);b=s;let d=Math.max(1,u-s+1),y=a?c:Math.min(u+s,c)+l,v=Array(y+2);v[y+1]=(1<<r)-1;for(let i=y;i>=d;i-=1){let a=i-1,s=n[e.charAt(a)];if(g&&(f[a]=+!!s),v[i]=(v[i+1]<<1|1)&s,r&&(v[i]|=(k[i+1]|k[i])<<1|1|k[i+1]),v[i]&I&&(T=w(t,{errors:r,currentLocation:a,expectedLocation:u,distance:o,ignoreLocation:p}),T<=m)){if(m=T,h=a,h<=u)break;d=Math.max(1,2*u-h)}}if(w(t,{errors:r+1,currentLocation:u,expectedLocation:u,distance:o,ignoreLocation:p})>m)break;k=v}const D={isMatch:h>=0,score:Math.max(.001,T)};if(g){const e=function(e=[],t=v.minMatchCharLength){let n=[],r=-1,o=-1,i=0;for(let a=e.length;i<a;i+=1){let a=e[i];a&&-1===r?r=i:a||-1===r||(o=i-1,o-r+1>=t&&n.push([r,o]),r=-1)}return e[i-1]&&i-r>=t&&n.push([r,i-1]),n}(f,s);e.length?d&&(D.indices=e):D.isMatch=!1}return D}(e,t,u,{location:r+m,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:s,includeMatches:n,ignoreLocation:d});h&&(c=!0),l+=g,h&&f&&(p=[...p,...f])}));let u={isMatch:c,score:c?l/this.chunks.length:1};return c&&n&&(u.indices=p),u}}class _{constructor(e){this.pattern=e}static isMultiMatch(e){return P(e,this.multiRegex)}static isSingleMatch(e){return P(e,this.singleRegex)}search(){}}function P(e,t){const n=e.match(t);return n?n[1]:null}class x extends _{constructor(e,{location:t=v.location,threshold:n=v.threshold,distance:r=v.distance,includeMatches:o=v.includeMatches,findAllMatches:i=v.findAllMatches,minMatchCharLength:a=v.minMatchCharLength,isCaseSensitive:s=v.isCaseSensitive,ignoreLocation:d=v.ignoreLocation}={}){super(e),this._bitapSearch=new D(e,{location:t,threshold:n,distance:r,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:s,ignoreLocation:d})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class C extends _{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const r=[],o=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+o,r.push([t,n-1]);const i=!!r.length;return{isMatch:i,score:i?0:1,indices:r}}}const O=[class extends _{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},C,class extends _{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends _{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends _{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends _{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends _{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},x],B=O.length,E=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,R=new Set([x.type,C.type]);const A=[];function N(e,t){for(let n=0,r=A.length;n<r;n+=1){let r=A[n];if(r.condition(e,t))return new r(e,t)}return new D(e,t)}const V="$and",j="$path",M=e=>!(!e[V]&&!e.$or),L=e=>({[V]:Object.keys(e).map((t=>({[t]:e[t]})))});function U(e,t,{auto:n=!0}={}){const i=e=>{let s=Object.keys(e);const d=(e=>!!e[j])(e);if(!d&&s.length>1&&!M(e))return i(L(e));if((e=>!r(e)&&a(e)&&!M(e))(e)){const r=d?e[j]:s[0],i=d?e.$val:e[r];if(!o(i))throw new Error((e=>`Invalid value for key ${e}`)(r));const a={keyId:f(r),pattern:i};return n&&(a.searcher=N(i,t)),a}let p={children:[],operator:s[0]};return s.forEach((t=>{const n=e[t];r(n)&&n.forEach((e=>{p.children.push(i(e))}))})),p};return M(e)||(e=L(e)),i(e)}function F(e,t){const n=e.matches;t.matches=[],s(n)&&n.forEach((e=>{if(!s(e.indices)||!e.indices.length)return;const{indices:n,value:r}=e;let o={indices:n,value:r};e.key&&(o.key=e.key.src),e.idx>-1&&(o.refIndex=e.idx),t.matches.push(o)}))}function W(e,t){t.score=e.score}class ${constructor(e,t={},n){this.options={...v,...t},this.options.useExtendedSearch,this._keyStore=new m(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof T))throw new Error("Incorrect 'index' type");this._myIndex=t||b(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){s(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let n=0,r=this._docs.length;n<r;n+=1){const o=this._docs[n];e(o,n)&&(this.removeAt(n),n-=1,r-=1,t.push(o))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:n,includeScore:r,shouldSort:a,sortFn:s,ignoreFieldNorm:d}=this.options;let p=o(e)?o(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=v.ignoreFieldNorm}){e.forEach((e=>{let n=1;e.matches.forEach((({key:e,norm:r,score:o})=>{const i=e?e.weight:null;n*=Math.pow(0===o&&i?Number.EPSILON:o,(i||1)*(t?1:r))})),e.score=n}))}(p,{ignoreFieldNorm:d}),a&&p.sort(s),i(t)&&t>-1&&(p=p.slice(0,t)),function(e,t,{includeMatches:n=v.includeMatches,includeScore:r=v.includeScore}={}){const o=[];return n&&o.push(F),r&&o.push(W),e.map((e=>{const{idx:n}=e,r={item:t[n],refIndex:n};return o.length&&o.forEach((t=>{t(e,r)})),r}))}(p,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=N(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach((({v:e,i:n,n:o})=>{if(!s(e))return;const{isMatch:i,score:a,indices:d}=t.searchIn(e);i&&r.push({item:e,idx:n,matches:[{score:a,value:e,norm:o,indices:d}]})})),r}_searchLogical(e){const t=U(e,this.options),n=(e,t,r)=>{if(!e.children){const{keyId:n,searcher:o}=e,i=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:o});return i&&i.length?[{idx:r,item:t,matches:i}]:[]}const o=[];for(let i=0,a=e.children.length;i<a;i+=1){const a=e.children[i],s=n(a,t,r);if(s.length)o.push(...s);else if(e.operator===V)return[]}return o},r=this._myIndex.records,o={},i=[];return r.forEach((({$:e,i:r})=>{if(s(e)){let a=n(t,e,r);a.length&&(o[r]||(o[r]={idx:r,item:e,matches:[]},i.push(o[r])),a.forEach((({matches:e})=>{o[r].matches.push(...e)})))}})),i}_searchObjectList(e){const t=N(e,this.options),{keys:n,records:r}=this._myIndex,o=[];return r.forEach((({$:e,i:r})=>{if(!s(e))return;let i=[];n.forEach(((n,r)=>{i.push(...this._findMatches({key:n,value:e[r],searcher:t}))})),i.length&&o.push({idx:r,item:e,matches:i})})),o}_findMatches({key:e,value:t,searcher:n}){if(!s(t))return[];let o=[];if(r(t))t.forEach((({v:t,i:r,n:i})=>{if(!s(t))return;const{isMatch:a,score:d,indices:p}=n.searchIn(t);a&&o.push({score:d,key:e,value:t,idx:r,norm:i,indices:p})}));else{const{v:r,n:i}=t,{isMatch:a,score:s,indices:d}=n.searchIn(r);a&&o.push({score:s,key:e,value:r,norm:i,indices:d})}return o}}$.version="6.6.2",$.createIndex=b,$.parseIndex=function(e,{getFn:t=v.getFn,fieldNormWeight:n=v.fieldNormWeight}={}){const{keys:r,records:o}=e,i=new T({getFn:t,fieldNormWeight:n});return i.setKeys(r),i.setIndexRecords(o),i},$.config=v,$.parseQuery=U,function(...e){A.push(...e)}(class{constructor(e,{isCaseSensitive:t=v.isCaseSensitive,includeMatches:n=v.includeMatches,minMatchCharLength:r=v.minMatchCharLength,ignoreLocation:o=v.ignoreLocation,findAllMatches:i=v.findAllMatches,location:a=v.location,threshold:s=v.threshold,distance:d=v.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:r,findAllMatches:i,ignoreLocation:o,location:a,threshold:s,distance:d},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let n=e.trim().split(E).filter((e=>e&&!!e.trim())),r=[];for(let e=0,o=n.length;e<o;e+=1){const o=n[e];let i=!1,a=-1;for(;!i&&++a<B;){const e=O[a];let n=e.isMultiMatch(o);n&&(r.push(new e(n,t)),i=!0)}if(!i)for(a=-1;++a<B;){const e=O[a];let n=e.isSingleMatch(o);if(n){r.push(new e(n,t));break}}}return r}))}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:r}=this.options;e=r?e:e.toLowerCase();let o=0,i=[],a=0;for(let r=0,s=t.length;r<s;r+=1){const s=t[r];i.length=0,o=0;for(let t=0,r=s.length;t<r;t+=1){const r=s[t],{isMatch:d,indices:p,score:l}=r.search(e);if(!d){a=0,o=0,i.length=0;break}if(o+=1,a+=l,n){const e=r.constructor.type;R.has(e)?i=[...i,...p]:i.push(p)}}if(o){let e={isMatch:!0,score:a/o};return n&&(e.indices=i),e}}return{isMatch:!1,score:1}}})},1039:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.v6=t.Address6=t.Address4=void 0;var a=n(428);Object.defineProperty(t,"Address4",{enumerable:!0,get:function(){return a.Address4}});var s=n(2422);Object.defineProperty(t,"Address6",{enumerable:!0,get:function(){return s.Address6}});var d=i(n(6365));t.v6={helpers:d}},3368:function(e,t){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AddressError=void 0;var o=function(e){function t(t,n){var r=e.call(this,t)||this;return r.name="AddressError",null!==n&&(r.parseMessage=n),r}return r(t,e),t}(Error);t.AddressError=o},1814:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCorrect=t.isInSubnet=void 0,t.isInSubnet=function(e){return!(this.subnetMask<e.subnetMask)&&this.mask(e.subnetMask)===e.mask()},t.isCorrect=function(e){return function(){return this.addressMinusSuffix===this.correctForm()&&(this.subnetMask===e&&!this.parsedSubnet||this.parsedSubnet===String(this.subnetMask))}}},428:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Address4=void 0;var a=i(n(1814)),s=i(n(8547)),d=n(3368),p=n(8113),l=n(9471),c=function(){function e(e){this.groups=s.GROUPS,this.parsedAddress=[],this.parsedSubnet="",this.subnet="/32",this.subnetMask=32,this.v4=!0,this.isCorrect=a.isCorrect(s.BITS),this.isInSubnet=a.isInSubnet,this.address=e;var t=s.RE_SUBNET_STRING.exec(e);if(t){if(this.parsedSubnet=t[0].replace("/",""),this.subnetMask=parseInt(this.parsedSubnet,10),this.subnet="/"+this.subnetMask,this.subnetMask<0||this.subnetMask>s.BITS)throw new d.AddressError("Invalid subnet mask.");e=e.replace(s.RE_SUBNET_STRING,"")}this.addressMinusSuffix=e,this.parsedAddress=this.parse(e)}return e.isValid=function(t){try{return new e(t),!0}catch(e){return!1}},e.prototype.parse=function(e){var t=e.split(".");if(!e.match(s.RE_ADDRESS))throw new d.AddressError("Invalid IPv4 address.");return t},e.prototype.correctForm=function(){return this.parsedAddress.map((function(e){return parseInt(e,10)})).join(".")},e.fromHex=function(t){var n,r=t.replace(/:/g,"").padStart(8,"0"),o=[];for(n=0;n<8;n+=2){var i=r.slice(n,n+2);o.push(parseInt(i,16))}return new e(o.join("."))},e.fromInteger=function(t){return e.fromHex(t.toString(16))},e.prototype.toHex=function(){return this.parsedAddress.map((function(e){return l.sprintf("%02x",parseInt(e,10))})).join(":")},e.prototype.toArray=function(){return this.parsedAddress.map((function(e){return parseInt(e,10)}))},e.prototype.toGroup6=function(){var e,t=[];for(e=0;e<s.GROUPS;e+=2){var n=l.sprintf("%02x%02x",parseInt(this.parsedAddress[e],10),parseInt(this.parsedAddress[e+1],10));t.push(l.sprintf("%x",parseInt(n,16)))}return t.join(":")},e.prototype.bigInteger=function(){return new p.BigInteger(this.parsedAddress.map((function(e){return l.sprintf("%02x",parseInt(e,10))})).join(""),16)},e.prototype._startAddress=function(){return new p.BigInteger(this.mask()+"0".repeat(s.BITS-this.subnetMask),2)},e.prototype.startAddress=function(){return e.fromBigInteger(this._startAddress())},e.prototype.startAddressExclusive=function(){var t=new p.BigInteger("1");return e.fromBigInteger(this._startAddress().add(t))},e.prototype._endAddress=function(){return new p.BigInteger(this.mask()+"1".repeat(s.BITS-this.subnetMask),2)},e.prototype.endAddress=function(){return e.fromBigInteger(this._endAddress())},e.prototype.endAddressExclusive=function(){var t=new p.BigInteger("1");return e.fromBigInteger(this._endAddress().subtract(t))},e.fromBigInteger=function(t){return e.fromInteger(parseInt(t.toString(),10))},e.prototype.mask=function(e){return void 0===e&&(e=this.subnetMask),this.getBitsBase2(0,e)},e.prototype.getBitsBase2=function(e,t){return this.binaryZeroPad().slice(e,t)},e.prototype.isMulticast=function(){return this.isInSubnet(new e("224.0.0.0/4"))},e.prototype.binaryZeroPad=function(){return this.bigInteger().toString(2).padStart(s.BITS,"0")},e.prototype.groupForV6=function(){var e=this.parsedAddress;return this.address.replace(s.RE_ADDRESS,l.sprintf('<span class="hover-group group-v4 group-6">%s</span>.<span class="hover-group group-v4 group-7">%s</span>',e.slice(0,2).join("."),e.slice(2,4).join(".")))},e}();t.Address4=c},2422:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r};Object.defineProperty(t,"__esModule",{value:!0}),t.Address6=void 0;var s=i(n(1814)),d=i(n(8547)),p=i(n(5701)),l=i(n(6365)),c=n(428),u=n(7070),m=n(3368),h=n(8113),g=n(9471);function f(e){if(!e)throw new Error("Assertion failed.")}function y(e){return(e=e.replace(/^(0{1,})([1-9]+)$/,'<span class="parse-error">$1</span>$2')).replace(/^(0{1,})(0)$/,'<span class="parse-error">$1</span>$2')}function v(e){return g.sprintf("%04x",parseInt(e,16))}function k(e){return 255&e}var T=function(){function e(e,t){this.addressMinusSuffix="",this.parsedSubnet="",this.subnet="/128",this.subnetMask=128,this.v4=!1,this.zone="",this.isInSubnet=s.isInSubnet,this.isCorrect=s.isCorrect(p.BITS),this.groups=void 0===t?p.GROUPS:t,this.address=e;var n=p.RE_SUBNET_STRING.exec(e);if(n){if(this.parsedSubnet=n[0].replace("/",""),this.subnetMask=parseInt(this.parsedSubnet,10),this.subnet="/"+this.subnetMask,Number.isNaN(this.subnetMask)||this.subnetMask<0||this.subnetMask>p.BITS)throw new m.AddressError("Invalid subnet mask.");e=e.replace(p.RE_SUBNET_STRING,"")}else if(/\//.test(e))throw new m.AddressError("Invalid subnet mask.");var r=p.RE_ZONE_STRING.exec(e);r&&(this.zone=r[0],e=e.replace(p.RE_ZONE_STRING,"")),this.addressMinusSuffix=e,this.parsedAddress=this.parse(this.addressMinusSuffix)}return e.isValid=function(t){try{return new e(t),!0}catch(e){return!1}},e.fromBigInteger=function(t){var n,r=t.toString(16).padStart(32,"0"),o=[];for(n=0;n<p.GROUPS;n++)o.push(r.slice(4*n,4*(n+1)));return new e(o.join(":"))},e.fromURL=function(t){var n,r,o=null;if(-1!==t.indexOf("[")&&-1!==t.indexOf("]:")){if(null===(r=p.RE_URL_WITH_PORT.exec(t)))return{error:"failed to parse address with port",address:null,port:null};n=r[1],o=r[2]}else if(-1!==t.indexOf("/")){if(t=t.replace(/^[a-z0-9]+:\/\//,""),null===(r=p.RE_URL.exec(t)))return{error:"failed to parse address from URL",address:null,port:null};n=r[1]}else n=t;return o?((o=parseInt(o,10))<0||o>65536)&&(o=null):o=null,{address:new e(n),port:o}},e.fromAddress4=function(t){var n=new c.Address4(t),r=p.BITS-(d.BITS-n.subnetMask);return new e("::ffff:"+n.correctForm()+"/"+r)},e.fromArpa=function(t){var n=t.replace(/(\.ip6\.arpa)?\.$/,"");if(63!==n.length)throw new m.AddressError("Invalid 'ip6.arpa' form.");for(var r=n.split(".").reverse(),o=7;o>0;o--){var i=4*o;r.splice(i,0,":")}return new e(n=r.join(""))},e.prototype.microsoftTranscription=function(){return g.sprintf("%s.ipv6-literal.net",this.correctForm().replace(/:/g,"-"))},e.prototype.mask=function(e){return void 0===e&&(e=this.subnetMask),this.getBitsBase2(0,e)},e.prototype.possibleSubnets=function(e){void 0===e&&(e=128);var t=p.BITS-this.subnetMask-Math.abs(e-p.BITS);return t<0?"0":function(e){for(var t=/(\d+)(\d{3})/;t.test(e);)e=e.replace(t,"$1,$2");return e}(new h.BigInteger("2",10).pow(t).toString(10))},e.prototype._startAddress=function(){return new h.BigInteger(this.mask()+"0".repeat(p.BITS-this.subnetMask),2)},e.prototype.startAddress=function(){return e.fromBigInteger(this._startAddress())},e.prototype.startAddressExclusive=function(){var t=new h.BigInteger("1");return e.fromBigInteger(this._startAddress().add(t))},e.prototype._endAddress=function(){return new h.BigInteger(this.mask()+"1".repeat(p.BITS-this.subnetMask),2)},e.prototype.endAddress=function(){return e.fromBigInteger(this._endAddress())},e.prototype.endAddressExclusive=function(){var t=new h.BigInteger("1");return e.fromBigInteger(this._endAddress().subtract(t))},e.prototype.getScope=function(){var e=p.SCOPES[this.getBits(12,16).intValue()];return"Global unicast"===this.getType()&&"Link local"!==e&&(e="Global"),e||"Unknown"},e.prototype.getType=function(){for(var t=0,n=Object.keys(p.TYPES);t<n.length;t++){var r=n[t];if(this.isInSubnet(new e(r)))return p.TYPES[r]}return"Global unicast"},e.prototype.getBits=function(e,t){return new h.BigInteger(this.getBitsBase2(e,t),2)},e.prototype.getBitsBase2=function(e,t){return this.binaryZeroPad().slice(e,t)},e.prototype.getBitsBase16=function(e,t){var n=t-e;if(n%4!=0)throw new Error("Length of bits to retrieve must be divisible by four");return this.getBits(e,t).toString(16).padStart(n/4,"0")},e.prototype.getBitsPastSubnet=function(){return this.getBitsBase2(this.subnetMask,p.BITS)},e.prototype.reverseForm=function(e){e||(e={});var t=Math.floor(this.subnetMask/4),n=this.canonicalForm().replace(/:/g,"").split("").slice(0,t).reverse().join(".");return t>0?e.omitSuffix?n:g.sprintf("%s.ip6.arpa.",n):e.omitSuffix?"":"ip6.arpa."},e.prototype.correctForm=function(){var e,t=[],n=0,r=[];for(e=0;e<this.parsedAddress.length;e++){var o=parseInt(this.parsedAddress[e],16);0===o&&n++,0!==o&&n>0&&(n>1&&r.push([e-n,e-1]),n=0)}n>1&&r.push([this.parsedAddress.length-n,this.parsedAddress.length-1]);var i=r.map((function(e){return e[1]-e[0]+1}));if(r.length>0){var a=i.indexOf(Math.max.apply(Math,i));t=function(e,t){var n,r=[],o=[];for(n=0;n<e.length;n++)n<t[0]?r.push(e[n]):n>t[1]&&o.push(e[n]);return r.concat(["compact"]).concat(o)}(this.parsedAddress,r[a])}else t=this.parsedAddress;for(e=0;e<t.length;e++)"compact"!==t[e]&&(t[e]=parseInt(t[e],16).toString(16));var s=t.join(":");return(s=(s=s.replace(/^compact$/,"::")).replace(/^compact|compact$/,":")).replace(/compact/,"")},e.prototype.binaryZeroPad=function(){return this.bigInteger().toString(2).padStart(p.BITS,"0")},e.prototype.parse4in6=function(e){var t=e.split(":"),n=t.slice(-1)[0].match(d.RE_ADDRESS);if(n){this.parsedAddress4=n[0],this.address4=new c.Address4(this.parsedAddress4);for(var r=0;r<this.address4.groups;r++)if(/^0[0-9]+/.test(this.address4.parsedAddress[r]))throw new m.AddressError("IPv4 addresses can't have leading zeroes.",e.replace(d.RE_ADDRESS,this.address4.parsedAddress.map(y).join(".")));this.v4=!0,t[t.length-1]=this.address4.toGroup6(),e=t.join(":")}return e},e.prototype.parse=function(e){var t=(e=this.parse4in6(e)).match(p.RE_BAD_CHARACTERS);if(t)throw new m.AddressError(g.sprintf("Bad character%s detected in address: %s",t.length>1?"s":"",t.join("")),e.replace(p.RE_BAD_CHARACTERS,'<span class="parse-error">$1</span>'));var n=e.match(p.RE_BAD_ADDRESS);if(n)throw new m.AddressError(g.sprintf("Address failed regex: %s",n.join("")),e.replace(p.RE_BAD_ADDRESS,'<span class="parse-error">$1</span>'));var r=[],o=e.split("::");if(2===o.length){var i=o[0].split(":"),a=o[1].split(":");1===i.length&&""===i[0]&&(i=[]),1===a.length&&""===a[0]&&(a=[]);var s=this.groups-(i.length+a.length);if(!s)throw new m.AddressError("Error parsing groups");this.elidedGroups=s,this.elisionBegin=i.length,this.elisionEnd=i.length+this.elidedGroups,r=r.concat(i);for(var d=0;d<s;d++)r.push("0");r=r.concat(a)}else{if(1!==o.length)throw new m.AddressError("Too many :: groups found");r=e.split(":"),this.elidedGroups=0}if((r=r.map((function(e){return g.sprintf("%x",parseInt(e,16))}))).length!==this.groups)throw new m.AddressError("Incorrect number of groups found");return r},e.prototype.canonicalForm=function(){return this.parsedAddress.map(v).join(":")},e.prototype.decimal=function(){return this.parsedAddress.map((function(e){return g.sprintf("%05d",parseInt(e,16))})).join(":")},e.prototype.bigInteger=function(){return new h.BigInteger(this.parsedAddress.map(v).join(""),16)},e.prototype.to4=function(){var e=this.binaryZeroPad().split("");return c.Address4.fromHex(new h.BigInteger(e.slice(96,128).join(""),2).toString(16))},e.prototype.to4in6=function(){var t=this.to4(),n=new e(this.parsedAddress.slice(0,6).join(":"),6).correctForm(),r="";return/:$/.test(n)||(r=":"),n+r+t.address},e.prototype.inspectTeredo=function(){var e=this.getBitsBase16(0,32),t=this.getBits(80,96).xor(new h.BigInteger("ffff",16)).toString(),n=c.Address4.fromHex(this.getBitsBase16(32,64)),r=c.Address4.fromHex(this.getBits(96,128).xor(new h.BigInteger("ffffffff",16)).toString(16)),o=this.getBits(64,80),i=this.getBitsBase2(64,80),a=o.testBit(15),s=o.testBit(14),d=o.testBit(8),p=o.testBit(9),l=new h.BigInteger(i.slice(2,6)+i.slice(8,16),2).toString(10);return{prefix:g.sprintf("%s:%s",e.slice(0,4),e.slice(4,8)),server4:n.address,client4:r.address,flags:i,coneNat:a,microsoft:{reserved:s,universalLocal:p,groupIndividual:d,nonce:l},udpPort:t}},e.prototype.inspect6to4=function(){var e=this.getBitsBase16(0,16),t=c.Address4.fromHex(this.getBitsBase16(16,48));return{prefix:g.sprintf("%s",e.slice(0,4)),gateway:t.address}},e.prototype.to6to4=function(){return this.is4()?new e(["2002",this.getBitsBase16(96,112),this.getBitsBase16(112,128),"","/16"].join(":")):null},e.prototype.toByteArray=function(){var e=this.bigInteger().toByteArray();return 17===e.length&&0===e[0]?e.slice(1):e},e.prototype.toUnsignedByteArray=function(){return this.toByteArray().map(k)},e.fromByteArray=function(e){return this.fromUnsignedByteArray(e.map(k))},e.fromUnsignedByteArray=function(t){for(var n=new h.BigInteger("256",10),r=new h.BigInteger("0",10),o=new h.BigInteger("1",10),i=t.length-1;i>=0;i--)r=r.add(o.multiply(new h.BigInteger(t[i].toString(10),10))),o=o.multiply(n);return e.fromBigInteger(r)},e.prototype.isCanonical=function(){return this.addressMinusSuffix===this.canonicalForm()},e.prototype.isLinkLocal=function(){return"1111111010000000000000000000000000000000000000000000000000000000"===this.getBitsBase2(0,64)},e.prototype.isMulticast=function(){return"Multicast"===this.getType()},e.prototype.is4=function(){return this.v4},e.prototype.isTeredo=function(){return this.isInSubnet(new e("2001::/32"))},e.prototype.is6to4=function(){return this.isInSubnet(new e("2002::/16"))},e.prototype.isLoopback=function(){return"Loopback"===this.getType()},e.prototype.href=function(e){return e=void 0===e?"":g.sprintf(":%s",e),g.sprintf("http://[%s]%s/",this.correctForm(),e)},e.prototype.link=function(e){e||(e={}),void 0===e.className&&(e.className=""),void 0===e.prefix&&(e.prefix="/#address="),void 0===e.v4&&(e.v4=!1);var t=this.correctForm;return e.v4&&(t=this.to4in6),e.className?g.sprintf('<a href="%1$s%2$s" class="%3$s">%2$s</a>',e.prefix,t.call(this),e.className):g.sprintf('<a href="%1$s%2$s">%2$s</a>',e.prefix,t.call(this))},e.prototype.group=function(){if(0===this.elidedGroups)return l.simpleGroup(this.address).join(":");f("number"==typeof this.elidedGroups),f("number"==typeof this.elisionBegin);var e=[],t=this.address.split("::"),n=t[0],r=t[1];n.length?e.push.apply(e,l.simpleGroup(n)):e.push("");for(var o=["hover-group"],i=this.elisionBegin;i<this.elisionBegin+this.elidedGroups;i++)o.push(g.sprintf("group-%d",i));return e.push(g.sprintf('<span class="%s"></span>',o.join(" "))),r.length?e.push.apply(e,l.simpleGroup(r,this.elisionEnd)):e.push(""),this.is4()&&(f(this.address4 instanceof c.Address4),e.pop(),e.push(this.address4.groupForV6())),e.join(":")},e.prototype.regularExpressionString=function(t){void 0===t&&(t=!1);var n=[],r=new e(this.correctForm());if(0===r.elidedGroups)n.push(u.simpleRegularExpression(r.parsedAddress));else if(r.elidedGroups===p.GROUPS)n.push(u.possibleElisions(p.GROUPS));else{var o=r.address.split("::");o[0].length&&n.push(u.simpleRegularExpression(o[0].split(":"))),f("number"==typeof r.elidedGroups),n.push(u.possibleElisions(r.elidedGroups,0!==o[0].length,0!==o[1].length)),o[1].length&&n.push(u.simpleRegularExpression(o[1].split(":"))),n=[n.join(":")]}return t||(n=a(["(?=^|",u.ADDRESS_BOUNDARY,"|[^\\w\\:])("],n,[")(?=[^\\w\\:]|",u.ADDRESS_BOUNDARY,"|$)"])),n.join("")},e.prototype.regularExpression=function(e){return void 0===e&&(e=!1),new RegExp(this.regularExpressionString(e),"i")},e}();t.Address6=T},8547:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RE_SUBNET_STRING=t.RE_ADDRESS=t.GROUPS=t.BITS=void 0,t.BITS=32,t.GROUPS=4,t.RE_ADDRESS=/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/g,t.RE_SUBNET_STRING=/\/\d{1,2}$/},5701:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RE_URL_WITH_PORT=t.RE_URL=t.RE_ZONE_STRING=t.RE_SUBNET_STRING=t.RE_BAD_ADDRESS=t.RE_BAD_CHARACTERS=t.TYPES=t.SCOPES=t.GROUPS=t.BITS=void 0,t.BITS=128,t.GROUPS=8,t.SCOPES={0:"Reserved",1:"Interface local",2:"Link local",4:"Admin local",5:"Site local",8:"Organization local",14:"Global",15:"Reserved"},t.TYPES={"ff01::1/128":"Multicast (All nodes on this interface)","ff01::2/128":"Multicast (All routers on this interface)","ff02::1/128":"Multicast (All nodes on this link)","ff02::2/128":"Multicast (All routers on this link)","ff05::2/128":"Multicast (All routers in this site)","ff02::5/128":"Multicast (OSPFv3 AllSPF routers)","ff02::6/128":"Multicast (OSPFv3 AllDR routers)","ff02::9/128":"Multicast (RIP routers)","ff02::a/128":"Multicast (EIGRP routers)","ff02::d/128":"Multicast (PIM routers)","ff02::16/128":"Multicast (MLDv2 reports)","ff01::fb/128":"Multicast (mDNSv6)","ff02::fb/128":"Multicast (mDNSv6)","ff05::fb/128":"Multicast (mDNSv6)","ff02::1:2/128":"Multicast (All DHCP servers and relay agents on this link)","ff05::1:2/128":"Multicast (All DHCP servers and relay agents in this site)","ff02::1:3/128":"Multicast (All DHCP servers on this link)","ff05::1:3/128":"Multicast (All DHCP servers in this site)","::/128":"Unspecified","::1/128":"Loopback","ff00::/8":"Multicast","fe80::/10":"Link-local unicast"},t.RE_BAD_CHARACTERS=/([^0-9a-f:/%])/gi,t.RE_BAD_ADDRESS=/([0-9a-f]{5,}|:{3,}|[^:]:$|^:[^:]|\/$)/gi,t.RE_SUBNET_STRING=/\/\d{1,3}(?=%|$)/,t.RE_ZONE_STRING=/%.*$/,t.RE_URL=new RegExp(/^\[{0,1}([0-9a-f:]+)\]{0,1}/),t.RE_URL_WITH_PORT=new RegExp(/\[([0-9a-f:]+)\]:([0-9]{1,5})/)},6365:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.simpleGroup=t.spanLeadingZeroes=t.spanAll=t.spanAllZeroes=void 0;var r=n(9471);function o(e){return e.replace(/(0+)/g,'<span class="zero">$1</span>')}function i(e){return e.replace(/^(0+)/,'<span class="zero">$1</span>')}t.spanAllZeroes=o,t.spanAll=function(e,t){return void 0===t&&(t=0),e.split("").map((function(e,n){return r.sprintf('<span class="digit value-%s position-%d">%s</span>',e,n+t,o(e))})).join("")},t.spanLeadingZeroes=function(e){return e.split(":").map((function(e){return i(e)})).join(":")},t.simpleGroup=function(e,t){return void 0===t&&(t=0),e.split(":").map((function(e,n){return/group-v4/.test(e)?e:r.sprintf('<span class="hover-group group-%d">%s</span>',n+t,i(e))}))}},7070:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.possibleElisions=t.simpleRegularExpression=t.ADDRESS_BOUNDARY=t.padGroup=t.groupPossibilities=void 0;var a=i(n(5701)),s=n(9471);function d(e){return s.sprintf("(%s)",e.join("|"))}function p(e){return e.length<4?s.sprintf("0{0,%d}%s",4-e.length,e):e}t.groupPossibilities=d,t.padGroup=p,t.ADDRESS_BOUNDARY="[^A-Fa-f0-9:]",t.simpleRegularExpression=function(e){var t=[];e.forEach((function(e,n){0===parseInt(e,16)&&t.push(n)}));var n=t.map((function(t){return e.map((function(e,n){if(n===t){var r=0===n||n===a.GROUPS-1?":":"";return d([p(e),r])}return p(e)})).join(":")}));return n.push(e.map(p).join(":")),d(n)},t.possibleElisions=function(e,t,n){var r=t?"":":",o=n?"":":",i=[];t||n||i.push("::"),t&&n&&i.push(""),(n&&!t||!n&&t)&&i.push(":"),i.push(s.sprintf("%s(:0{1,4}){1,%d}",r,e-1)),i.push(s.sprintf("(0{1,4}:){1,%d}%s",e-1,o)),i.push(s.sprintf("(0{1,4}:){%d}0{1,4}",e-1));for(var a=1;a<e-1;a++)for(var p=1;p<e-a;p++)i.push(s.sprintf("(0{1,4}:){%d}:(0{1,4}:){%d}0{1,4}",p,e-p-a-1));return d(i)}},5528:(e,t,n)=>{"use strict";const r=n(1039),o=n(8113).BigInteger;class i{constructor(e){if("string"!=typeof e||!e.match("/"))throw new Error("Invalid CIDR address.");const t=this.constructor.createAddress(e);this.cidr=t.address,this.ipAddressType=t.constructor,this.address=t,this.addressStart=t.startAddress(),this.addressEnd=t.endAddress(),this.addressStart.subnet=this.addressEnd.subnet=this.address.subnet,this.addressStart.subnetMask=this.addressEnd.subnetMask=this.address.subnetMask,this.size=new o(this.addressEnd.bigInteger().subtract(this.addressStart.bigInteger()).add(new o("1")).toString())}contains(e){try{return e instanceof r.Address6||e instanceof r.Address4||(e="object"==typeof e?this.ipAddressType.fromBigInteger(e):this.constructor.createAddress(e)),e.isInSubnet(this.address)}catch(e){return!1}}start(e){return this.constructor.formatIP(this.addressStart,e)}end(e){return this.constructor.formatIP(this.addressEnd,e)}toString(){return this.cidr}toRange(e){return[this.constructor.formatIP(this.addressStart,e),this.constructor.formatIP(this.addressEnd,e)]}toObject(e){return{start:this.constructor.formatIP(this.addressStart,e),end:this.constructor.formatIP(this.addressEnd,e)}}toArray(e,t){e=e||{};const n=[],r=this.constructor.formatIP(this.addressStart,{type:"bigInteger"}),i=this.constructor.formatIP(this.addressEnd,{type:"bigInteger"}).subtract(r).add(new o("1")),a=this.getChunkInfo(i,e);return t&&Object.assign(t,a),this.loopInfo(a,(t=>{const o=r.add(t),i=this.constructor.formatIP(this.ipAddressType.fromBigInteger(o),e);n.push(i)})),n}loop(e,t,n){t=t||{};const r=[],i=this.constructor.formatIP(this.addressStart,{type:"bigInteger"}),a=this.constructor.formatIP(this.addressEnd,{type:"bigInteger"}).subtract(i).add(new o("1")),s=this.getChunkInfo(a,t);return n&&Object.assign(n,s),this.loopInfo(s,(n=>{const o=i.add(n),a=this.constructor.formatIP(this.ipAddressType.fromBigInteger(o),t);r.push(e(a))})),Promise.all(r)}loopInfo(e,t){let n=e.from;for(;n.compareTo(e.to)<0;)t(n),n=n.add(new o("1"))}getChunkInfo(e,t){let n,r=t.from,i=t.limit,a=t.to;const s=this.constructor.formatIP(this.address,{type:"bigInteger"}),d=e=>"string"==typeof e&&e.match(/:|\./)?this.constructor.formatIP(this.constructor.createAddress(e),{type:"bigInteger"}).subtract(s):"object"!=typeof e?new o(e+""):e;return r=d(void 0!==r?r:0),void 0!==a?(a=d(a),i=a.subtract(r)):i=void 0!==i?d(i):e,n=e.subtract(r),i.compareTo(n)>0&&(i=n),a=r.add(i),{from:r,to:a,limit:i,length:e}}}i.formatIP=function(e,t){return"bigInteger"==(t=t||{}).type?new o(e.bigInteger().toString()):"addressObject"==t.type?e:e.addressMinusSuffix},i.createAddress=function(e){if("string"!=typeof e)throw new Error("Invalid IP address.");e.match(/:.\./)&&(e=e.split(":").pop());let t=new(e.match(":")?r.Address6:r.Address4)(e);if(t.v4&&e.match(":")&&t.address4&&(t=t.address4),t.v4){const e=t.addressMinusSuffix.split(".");for(let t=0;t<e.length;t++){const n=e[t].split("/")[0];if("0"==n[0]&&n.length>1)throw new Error("Invalid IPv4 address.")}}return t},i.isValidAddress=function(e){try{return!!this.createAddress(e)}catch(e){return!1}},i.isValidCIDR=function(e){if("string"!=typeof e||!e.match("/"))return!1;try{return!!this.createAddress(e)}catch(e){return!1}},e.exports=i},8113:function(e,t){(function(){var t;function n(e,t,n){null!=e&&("number"==typeof e?this.fromNumber(e,t,n):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}function r(){return new n(null)}var o="undefined"!=typeof navigator;o&&"Microsoft Internet Explorer"==navigator.appName?(n.prototype.am=function(e,t,n,r,o,i){for(var a=32767&t,s=t>>15;--i>=0;){var d=32767&this[e],p=this[e++]>>15,l=s*d+p*a;o=((d=a*d+((32767&l)<<15)+n[r]+(1073741823&o))>>>30)+(l>>>15)+s*p+(o>>>30),n[r++]=1073741823&d}return o},t=30):o&&"Netscape"!=navigator.appName?(n.prototype.am=function(e,t,n,r,o,i){for(;--i>=0;){var a=t*this[e++]+n[r]+o;o=Math.floor(a/67108864),n[r++]=67108863&a}return o},t=26):(n.prototype.am=function(e,t,n,r,o,i){for(var a=16383&t,s=t>>14;--i>=0;){var d=16383&this[e],p=this[e++]>>14,l=s*d+p*a;o=((d=a*d+((16383&l)<<14)+n[r]+o)>>28)+(l>>14)+s*p,n[r++]=268435455&d}return o},t=28),n.prototype.DB=t,n.prototype.DM=(1<<t)-1,n.prototype.DV=1<<t,n.prototype.FV=Math.pow(2,52),n.prototype.F1=52-t,n.prototype.F2=2*t-52;var i,a,s=new Array;for(i="0".charCodeAt(0),a=0;a<=9;++a)s[i++]=a;for(i="a".charCodeAt(0),a=10;a<36;++a)s[i++]=a;for(i="A".charCodeAt(0),a=10;a<36;++a)s[i++]=a;function d(e){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e)}function p(e,t){var n=s[e.charCodeAt(t)];return null==n?-1:n}function l(e){var t=r();return t.fromInt(e),t}function c(e){var t,n=1;return 0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}function u(e){this.m=e}function m(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function h(e,t){return e&t}function g(e,t){return e|t}function f(e,t){return e^t}function y(e,t){return e&~t}function v(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function k(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function T(){}function b(e){return e}function w(e){this.r2=r(),this.q3=r(),n.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e),this.m=e}u.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},u.prototype.revert=function(e){return e},u.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},u.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},u.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},m.prototype.convert=function(e){var t=r();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(n.ZERO)>0&&this.m.subTo(t,t),t},m.prototype.revert=function(e){var t=r();return e.copyTo(t),this.reduce(t),t},m.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var n=32767&e[t],r=n*this.mpl+((n*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(e[n=t+this.m.t]+=this.m.am(0,r,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},m.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},m.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},n.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},n.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},n.prototype.fromString=function(e,t){var r;if(16==t)r=4;else if(8==t)r=3;else if(256==t)r=8;else if(2==t)r=1;else if(32==t)r=5;else{if(4!=t)return void this.fromRadix(e,t);r=2}this.t=0,this.s=0;for(var o=e.length,i=!1,a=0;--o>=0;){var s=8==r?255&e[o]:p(e,o);s<0?"-"==e.charAt(o)&&(i=!0):(i=!1,0==a?this[this.t++]=s:a+r>this.DB?(this[this.t-1]|=(s&(1<<this.DB-a)-1)<<a,this[this.t++]=s>>this.DB-a):this[this.t-1]|=s<<a,(a+=r)>=this.DB&&(a-=this.DB))}8==r&&0!=(128&e[0])&&(this.s=-1,a>0&&(this[this.t-1]|=(1<<this.DB-a)-1<<a)),this.clamp(),i&&n.ZERO.subTo(this,this)},n.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},n.prototype.dlShiftTo=function(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s},n.prototype.drShiftTo=function(e,t){for(var n=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s},n.prototype.lShiftTo=function(e,t){var n,r=e%this.DB,o=this.DB-r,i=(1<<o)-1,a=Math.floor(e/this.DB),s=this.s<<r&this.DM;for(n=this.t-1;n>=0;--n)t[n+a+1]=this[n]>>o|s,s=(this[n]&i)<<r;for(n=a-1;n>=0;--n)t[n]=0;t[a]=s,t.t=this.t+a+1,t.s=this.s,t.clamp()},n.prototype.rShiftTo=function(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)t.t=0;else{var r=e%this.DB,o=this.DB-r,i=(1<<r)-1;t[0]=this[n]>>r;for(var a=n+1;a<this.t;++a)t[a-n-1]|=(this[a]&i)<<o,t[a-n]=this[a]>>r;r>0&&(t[this.t-n-1]|=(this.s&i)<<o),t.t=this.t-n,t.clamp()}},n.prototype.subTo=function(e,t){for(var n=0,r=0,o=Math.min(e.t,this.t);n<o;)r+=this[n]-e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r-=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r-=e[n],t[n++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()},n.prototype.multiplyTo=function(e,t){var r=this.abs(),o=e.abs(),i=r.t;for(t.t=i+o.t;--i>=0;)t[i]=0;for(i=0;i<o.t;++i)t[i+r.t]=r.am(0,o[i],t,i,0,r.t);t.s=0,t.clamp(),this.s!=e.s&&n.ZERO.subTo(t,t)},n.prototype.squareTo=function(e){for(var t=this.abs(),n=e.t=2*t.t;--n>=0;)e[n]=0;for(n=0;n<t.t-1;++n){var r=t.am(n,t[n],e,2*n,0,1);(e[n+t.t]+=t.am(n+1,2*t[n],e,2*n+1,r,t.t-n-1))>=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()},n.prototype.divRemTo=function(e,t,o){var i=e.abs();if(!(i.t<=0)){var a=this.abs();if(a.t<i.t)return null!=t&&t.fromInt(0),void(null!=o&&this.copyTo(o));null==o&&(o=r());var s=r(),d=this.s,p=e.s,l=this.DB-c(i[i.t-1]);l>0?(i.lShiftTo(l,s),a.lShiftTo(l,o)):(i.copyTo(s),a.copyTo(o));var u=s.t,m=s[u-1];if(0!=m){var h=m*(1<<this.F1)+(u>1?s[u-2]>>this.F2:0),g=this.FV/h,f=(1<<this.F1)/h,y=1<<this.F2,v=o.t,k=v-u,T=null==t?r():t;for(s.dlShiftTo(k,T),o.compareTo(T)>=0&&(o[o.t++]=1,o.subTo(T,o)),n.ONE.dlShiftTo(u,T),T.subTo(s,s);s.t<u;)s[s.t++]=0;for(;--k>=0;){var b=o[--v]==m?this.DM:Math.floor(o[v]*g+(o[v-1]+y)*f);if((o[v]+=s.am(0,b,o,k,0,u))<b)for(s.dlShiftTo(k,T),o.subTo(T,o);o[v]<--b;)o.subTo(T,o)}null!=t&&(o.drShiftTo(u,t),d!=p&&n.ZERO.subTo(t,t)),o.t=u,o.clamp(),l>0&&o.rShiftTo(l,o),d<0&&n.ZERO.subTo(o,o)}}},n.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},n.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},n.prototype.exp=function(e,t){if(e>4294967295||e<1)return n.ONE;var o=r(),i=r(),a=t.convert(this),s=c(e)-1;for(a.copyTo(o);--s>=0;)if(t.sqrTo(o,i),(e&1<<s)>0)t.mulTo(i,a,o);else{var d=o;o=i,i=d}return t.revert(o)},n.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var n,r=(1<<t)-1,o=!1,i="",a=this.t,s=this.DB-a*this.DB%t;if(a-- >0)for(s<this.DB&&(n=this[a]>>s)>0&&(o=!0,i=d(n));a>=0;)s<t?(n=(this[a]&(1<<s)-1)<<t-s,n|=this[--a]>>(s+=this.DB-t)):(n=this[a]>>(s-=t)&r,s<=0&&(s+=this.DB,--a)),n>0&&(o=!0),o&&(i+=d(n));return o?i:"0"},n.prototype.negate=function(){var e=r();return n.ZERO.subTo(this,e),e},n.prototype.abs=function(){return this.s<0?this.negate():this},n.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(0!=(t=n-e.t))return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this[n]-e[n]))return t;return 0},n.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+c(this[this.t-1]^this.s&this.DM)},n.prototype.mod=function(e){var t=r();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(n.ZERO)>0&&e.subTo(t,t),t},n.prototype.modPowInt=function(e,t){var n;return n=e<256||t.isEven()?new u(t):new m(t),this.exp(e,n)},n.ZERO=l(0),n.ONE=l(1),T.prototype.convert=b,T.prototype.revert=b,T.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n)},T.prototype.sqrTo=function(e,t){e.squareTo(t)},w.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=r();return e.copyTo(t),this.reduce(t),t},w.prototype.revert=function(e){return e},w.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},w.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},w.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)};var S,I,D,_=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],P=(1<<26)/_[_.length-1];function x(){var e;e=(new Date).getTime(),I[D++]^=255&e,I[D++]^=e>>8&255,I[D++]^=e>>16&255,I[D++]^=e>>24&255,D>=N&&(D-=N)}if(n.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},n.prototype.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),n=Math.pow(e,t),o=l(n),i=r(),a=r(),s="";for(this.divRemTo(o,i,a);i.signum()>0;)s=(n+a.intValue()).toString(e).substr(1)+s,i.divRemTo(o,i,a);return a.intValue().toString(e)+s},n.prototype.fromRadix=function(e,t){this.fromInt(0),null==t&&(t=10);for(var r=this.chunkSize(t),o=Math.pow(t,r),i=!1,a=0,s=0,d=0;d<e.length;++d){var l=p(e,d);l<0?"-"==e.charAt(d)&&0==this.signum()&&(i=!0):(s=t*s+l,++a>=r&&(this.dMultiply(o),this.dAddOffset(s,0),a=0,s=0))}a>0&&(this.dMultiply(Math.pow(t,a)),this.dAddOffset(s,0)),i&&n.ZERO.subTo(this,this)},n.prototype.fromNumber=function(e,t,r){if("number"==typeof t)if(e<2)this.fromInt(1);else for(this.fromNumber(e,r),this.testBit(e-1)||this.bitwiseTo(n.ONE.shiftLeft(e-1),g,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(t);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(n.ONE.shiftLeft(e-1),this);else{var o=new Array,i=7&e;o.length=1+(e>>3),t.nextBytes(o),i>0?o[0]&=(1<<i)-1:o[0]=0,this.fromString(o,256)}},n.prototype.bitwiseTo=function(e,t,n){var r,o,i=Math.min(e.t,this.t);for(r=0;r<i;++r)n[r]=t(this[r],e[r]);if(e.t<this.t){for(o=e.s&this.DM,r=i;r<this.t;++r)n[r]=t(this[r],o);n.t=this.t}else{for(o=this.s&this.DM,r=i;r<e.t;++r)n[r]=t(o,e[r]);n.t=e.t}n.s=t(this.s,e.s),n.clamp()},n.prototype.changeBit=function(e,t){var r=n.ONE.shiftLeft(e);return this.bitwiseTo(r,t,r),r},n.prototype.addTo=function(e,t){for(var n=0,r=0,o=Math.min(e.t,this.t);n<o;)r+=this[n]+e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r+=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r+=e[n],t[n++]=r&this.DM,r>>=this.DB;r+=e.s}t.s=r<0?-1:0,r>0?t[n++]=r:r<-1&&(t[n++]=this.DV+r),t.t=n,t.clamp()},n.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},n.prototype.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},n.prototype.multiplyLowerTo=function(e,t,n){var r,o=Math.min(this.t+e.t,t);for(n.s=0,n.t=o;o>0;)n[--o]=0;for(r=n.t-this.t;o<r;++o)n[o+this.t]=this.am(0,e[o],n,o,0,this.t);for(r=Math.min(e.t,t);o<r;++o)this.am(0,e[o],n,o,0,t-o);n.clamp()},n.prototype.multiplyUpperTo=function(e,t,n){--t;var r=n.t=this.t+e.t-t;for(n.s=0;--r>=0;)n[r]=0;for(r=Math.max(t-this.t,0);r<e.t;++r)n[this.t+r-t]=this.am(t-r,e[r],n,0,0,this.t+r-t);n.clamp(),n.drShiftTo(1,n)},n.prototype.modInt=function(e){if(e<=0)return 0;var t=this.DV%e,n=this.s<0?e-1:0;if(this.t>0)if(0==t)n=this[0]%e;else for(var r=this.t-1;r>=0;--r)n=(t*n+this[r])%e;return n},n.prototype.millerRabin=function(e){var t=this.subtract(n.ONE),o=t.getLowestSetBit();if(o<=0)return!1;var i=t.shiftRight(o);(e=e+1>>1)>_.length&&(e=_.length);for(var a=r(),s=0;s<e;++s){a.fromInt(_[Math.floor(Math.random()*_.length)]);var d=a.modPow(i,this);if(0!=d.compareTo(n.ONE)&&0!=d.compareTo(t)){for(var p=1;p++<o&&0!=d.compareTo(t);)if(0==(d=d.modPowInt(2,this)).compareTo(n.ONE))return!1;if(0!=d.compareTo(t))return!1}}return!0},n.prototype.clone=function(){var e=r();return this.copyTo(e),e},n.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},n.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},n.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},n.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},n.prototype.toByteArray=function(){var e=this.t,t=new Array;t[0]=this.s;var n,r=this.DB-e*this.DB%8,o=0;if(e-- >0)for(r<this.DB&&(n=this[e]>>r)!=(this.s&this.DM)>>r&&(t[o++]=n|this.s<<this.DB-r);e>=0;)r<8?(n=(this[e]&(1<<r)-1)<<8-r,n|=this[--e]>>(r+=this.DB-8)):(n=this[e]>>(r-=8)&255,r<=0&&(r+=this.DB,--e)),0!=(128&n)&&(n|=-256),0==o&&(128&this.s)!=(128&n)&&++o,(o>0||n!=this.s)&&(t[o++]=n);return t},n.prototype.equals=function(e){return 0==this.compareTo(e)},n.prototype.min=function(e){return this.compareTo(e)<0?this:e},n.prototype.max=function(e){return this.compareTo(e)>0?this:e},n.prototype.and=function(e){var t=r();return this.bitwiseTo(e,h,t),t},n.prototype.or=function(e){var t=r();return this.bitwiseTo(e,g,t),t},n.prototype.xor=function(e){var t=r();return this.bitwiseTo(e,f,t),t},n.prototype.andNot=function(e){var t=r();return this.bitwiseTo(e,y,t),t},n.prototype.not=function(){for(var e=r(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e},n.prototype.shiftLeft=function(e){var t=r();return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t},n.prototype.shiftRight=function(e){var t=r();return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t},n.prototype.getLowestSetBit=function(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+v(this[e]);return this.s<0?this.t*this.DB:-1},n.prototype.bitCount=function(){for(var e=0,t=this.s&this.DM,n=0;n<this.t;++n)e+=k(this[n]^t);return e},n.prototype.testBit=function(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)},n.prototype.setBit=function(e){return this.changeBit(e,g)},n.prototype.clearBit=function(e){return this.changeBit(e,y)},n.prototype.flipBit=function(e){return this.changeBit(e,f)},n.prototype.add=function(e){var t=r();return this.addTo(e,t),t},n.prototype.subtract=function(e){var t=r();return this.subTo(e,t),t},n.prototype.multiply=function(e){var t=r();return this.multiplyTo(e,t),t},n.prototype.divide=function(e){var t=r();return this.divRemTo(e,t,null),t},n.prototype.remainder=function(e){var t=r();return this.divRemTo(e,null,t),t},n.prototype.divideAndRemainder=function(e){var t=r(),n=r();return this.divRemTo(e,t,n),new Array(t,n)},n.prototype.modPow=function(e,t){var n,o,i=e.bitLength(),a=l(1);if(i<=0)return a;n=i<18?1:i<48?3:i<144?4:i<768?5:6,o=i<8?new u(t):t.isEven()?new w(t):new m(t);var s=new Array,d=3,p=n-1,h=(1<<n)-1;if(s[1]=o.convert(this),n>1){var g=r();for(o.sqrTo(s[1],g);d<=h;)s[d]=r(),o.mulTo(g,s[d-2],s[d]),d+=2}var f,y,v=e.t-1,k=!0,T=r();for(i=c(e[v])-1;v>=0;){for(i>=p?f=e[v]>>i-p&h:(f=(e[v]&(1<<i+1)-1)<<p-i,v>0&&(f|=e[v-1]>>this.DB+i-p)),d=n;0==(1&f);)f>>=1,--d;if((i-=d)<0&&(i+=this.DB,--v),k)s[f].copyTo(a),k=!1;else{for(;d>1;)o.sqrTo(a,T),o.sqrTo(T,a),d-=2;d>0?o.sqrTo(a,T):(y=a,a=T,T=y),o.mulTo(T,s[f],a)}for(;v>=0&&0==(e[v]&1<<i);)o.sqrTo(a,T),y=a,a=T,T=y,--i<0&&(i=this.DB-1,--v)}return o.revert(a)},n.prototype.modInverse=function(e){var t=e.isEven();if(this.isEven()&&t||0==e.signum())return n.ZERO;for(var r=e.clone(),o=this.clone(),i=l(1),a=l(0),s=l(0),d=l(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),t?(i.isEven()&&a.isEven()||(i.addTo(this,i),a.subTo(e,a)),i.rShiftTo(1,i)):a.isEven()||a.subTo(e,a),a.rShiftTo(1,a);for(;o.isEven();)o.rShiftTo(1,o),t?(s.isEven()&&d.isEven()||(s.addTo(this,s),d.subTo(e,d)),s.rShiftTo(1,s)):d.isEven()||d.subTo(e,d),d.rShiftTo(1,d);r.compareTo(o)>=0?(r.subTo(o,r),t&&i.subTo(s,i),a.subTo(d,a)):(o.subTo(r,o),t&&s.subTo(i,s),d.subTo(a,d))}return 0!=o.compareTo(n.ONE)?n.ZERO:d.compareTo(e)>=0?d.subtract(e):d.signum()<0?(d.addTo(e,d),d.signum()<0?d.add(e):d):d},n.prototype.pow=function(e){return this.exp(e,new T)},n.prototype.gcd=function(e){var t=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(t.compareTo(n)<0){var r=t;t=n,n=r}var o=t.getLowestSetBit(),i=n.getLowestSetBit();if(i<0)return t;for(o<i&&(i=o),i>0&&(t.rShiftTo(i,t),n.rShiftTo(i,n));t.signum()>0;)(o=t.getLowestSetBit())>0&&t.rShiftTo(o,t),(o=n.getLowestSetBit())>0&&n.rShiftTo(o,n),t.compareTo(n)>=0?(t.subTo(n,t),t.rShiftTo(1,t)):(n.subTo(t,n),n.rShiftTo(1,n));return i>0&&n.lShiftTo(i,n),n},n.prototype.isProbablePrime=function(e){var t,n=this.abs();if(1==n.t&&n[0]<=_[_.length-1]){for(t=0;t<_.length;++t)if(n[0]==_[t])return!0;return!1}if(n.isEven())return!1;for(t=1;t<_.length;){for(var r=_[t],o=t+1;o<_.length&&r<P;)r*=_[o++];for(r=n.modInt(r);t<o;)if(r%_[t++]==0)return!1}return n.millerRabin(e)},n.prototype.square=function(){var e=r();return this.squareTo(e),e},n.prototype.Barrett=w,null==I){var C;if(I=new Array,D=0,"undefined"!=typeof window&&window.crypto)if(window.crypto.getRandomValues){var O=new Uint8Array(32);for(window.crypto.getRandomValues(O),C=0;C<32;++C)I[D++]=O[C]}else if("Netscape"==navigator.appName&&navigator.appVersion<"5"){var B=window.crypto.random(32);for(C=0;C<B.length;++C)I[D++]=255&B.charCodeAt(C)}for(;D<N;)C=Math.floor(65536*Math.random()),I[D++]=C>>>8,I[D++]=255&C;D=0,x()}function E(){if(null==S){for(x(),(S=new A).init(I),D=0;D<I.length;++D)I[D]=0;D=0}return S.next()}function R(){}function A(){this.i=0,this.j=0,this.S=new Array}R.prototype.nextBytes=function(e){var t;for(t=0;t<e.length;++t)e[t]=E()},A.prototype.init=function(e){var t,n,r;for(t=0;t<256;++t)this.S[t]=t;for(n=0,t=0;t<256;++t)n=n+this.S[t]+e[t%e.length]&255,r=this.S[t],this.S[t]=this.S[n],this.S[n]=r;this.i=0,this.j=0},A.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]};var N=256;e.exports={default:n,BigInteger:n,SecureRandom:R}}).call(this)},5297:e=>{var t,n=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,r=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]","g"),o="object"==typeof global&&global&&global.Object===Object&&global,i="object"==typeof self&&self&&self.Object===Object&&self,a=o||i||Function("return this")(),s=(t={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"ss"},function(e){return null==t?void 0:t[e]}),d=Object.prototype.toString,p=a.Symbol,l=p?p.prototype:void 0,c=l?l.toString:void 0;e.exports=function(e){var t;return(e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return c?c.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t))&&e.replace(n,s).replace(r,"")}},5250:function(e,t,n){var r;e=n.nmd(e),function(){var o,i="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",d=32,p=128,l=1/0,c=9007199254740991,u=NaN,m=4294967295,h=[["ary",p],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",d],["partialRight",64],["rearg",256]],g="[object Arguments]",f="[object Array]",y="[object Boolean]",v="[object Date]",k="[object Error]",T="[object Function]",b="[object GeneratorFunction]",w="[object Map]",S="[object Number]",I="[object Object]",D="[object Promise]",_="[object RegExp]",P="[object Set]",x="[object String]",C="[object Symbol]",O="[object WeakMap]",B="[object ArrayBuffer]",E="[object DataView]",R="[object Float32Array]",A="[object Float64Array]",N="[object Int8Array]",V="[object Int16Array]",j="[object Int32Array]",M="[object Uint8Array]",L="[object Uint8ClampedArray]",U="[object Uint16Array]",F="[object Uint32Array]",W=/\b__p \+= '';/g,$=/\b(__p \+=) '' \+/g,z=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,H=/[&<>"']/g,q=RegExp(G.source),K=RegExp(H.source),Z=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,Y=/<%=([\s\S]+?)%>/g,Q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,X=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,ne=RegExp(te.source),re=/^\s+/,oe=/\s/,ie=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ae=/\{\n\/\* \[wrapped with (.+)\] \*/,se=/,? & /,de=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pe=/[()=,{}\[\]\/\s]/,le=/\\(\\)?/g,ce=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ue=/\w*$/,me=/^[-+]0x[0-9a-f]+$/i,he=/^0b[01]+$/i,ge=/^\[object .+?Constructor\]$/,fe=/^0o[0-7]+$/i,ye=/^(?:0|[1-9]\d*)$/,ve=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ke=/($^)/,Te=/['\n\r\u2028\u2029\\]/g,be="\\ud800-\\udfff",we="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Se="\\u2700-\\u27bf",Ie="a-z\\xdf-\\xf6\\xf8-\\xff",De="A-Z\\xc0-\\xd6\\xd8-\\xde",_e="\\ufe0e\\ufe0f",Pe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",xe="["+be+"]",Ce="["+Pe+"]",Oe="["+we+"]",Be="\\d+",Ee="["+Se+"]",Re="["+Ie+"]",Ae="[^"+be+Pe+Be+Se+Ie+De+"]",Ne="\\ud83c[\\udffb-\\udfff]",Ve="[^"+be+"]",je="(?:\\ud83c[\\udde6-\\uddff]){2}",Me="[\\ud800-\\udbff][\\udc00-\\udfff]",Le="["+De+"]",Ue="\\u200d",Fe="(?:"+Re+"|"+Ae+")",We="(?:"+Le+"|"+Ae+")",$e="(?:['’](?:d|ll|m|re|s|t|ve))?",ze="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ge="(?:"+Oe+"|"+Ne+")?",He="["+_e+"]?",qe=He+Ge+"(?:"+Ue+"(?:"+[Ve,je,Me].join("|")+")"+He+Ge+")*",Ke="(?:"+[Ee,je,Me].join("|")+")"+qe,Ze="(?:"+[Ve+Oe+"?",Oe,je,Me,xe].join("|")+")",Je=RegExp("['’]","g"),Ye=RegExp(Oe,"g"),Qe=RegExp(Ne+"(?="+Ne+")|"+Ze+qe,"g"),Xe=RegExp([Le+"?"+Re+"+"+$e+"(?="+[Ce,Le,"$"].join("|")+")",We+"+"+ze+"(?="+[Ce,Le+Fe,"$"].join("|")+")",Le+"?"+Fe+"+"+$e,Le+"+"+ze,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Be,Ke].join("|"),"g"),et=RegExp("["+Ue+be+we+_e+"]"),tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rt=-1,ot={};ot[R]=ot[A]=ot[N]=ot[V]=ot[j]=ot[M]=ot[L]=ot[U]=ot[F]=!0,ot[g]=ot[f]=ot[B]=ot[y]=ot[E]=ot[v]=ot[k]=ot[T]=ot[w]=ot[S]=ot[I]=ot[_]=ot[P]=ot[x]=ot[O]=!1;var it={};it[g]=it[f]=it[B]=it[E]=it[y]=it[v]=it[R]=it[A]=it[N]=it[V]=it[j]=it[w]=it[S]=it[I]=it[_]=it[P]=it[x]=it[C]=it[M]=it[L]=it[U]=it[F]=!0,it[k]=it[T]=it[O]=!1;var at={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},st=parseFloat,dt=parseInt,pt="object"==typeof global&&global&&global.Object===Object&&global,lt="object"==typeof self&&self&&self.Object===Object&&self,ct=pt||lt||Function("return this")(),ut=t&&!t.nodeType&&t,mt=ut&&e&&!e.nodeType&&e,ht=mt&&mt.exports===ut,gt=ht&&pt.process,ft=function(){try{return mt&&mt.require&&mt.require("util").types||gt&>.binding&>.binding("util")}catch(e){}}(),yt=ft&&ft.isArrayBuffer,vt=ft&&ft.isDate,kt=ft&&ft.isMap,Tt=ft&&ft.isRegExp,bt=ft&&ft.isSet,wt=ft&&ft.isTypedArray;function St(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function It(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function Dt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function _t(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Pt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function xt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function Ct(e,t){return!(null==e||!e.length)&&Lt(e,t,0)>-1}function Ot(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Bt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function Et(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Rt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function At(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function Nt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Vt=$t("length");function jt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function Mt(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function Lt(e,t,n){return t==t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Mt(e,Ft,n)}function Ut(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function Ft(e){return e!=e}function Wt(e,t){var n=null==e?0:e.length;return n?Ht(e,t)/n:u}function $t(e){return function(t){return null==t?o:t[e]}}function zt(e){return function(t){return null==e?o:e[t]}}function Gt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Ht(e,t){for(var n,r=-1,i=e.length;++r<i;){var a=t(e[r]);a!==o&&(n=n===o?a:n+a)}return n}function qt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Kt(e){return e?e.slice(0,un(e)+1).replace(re,""):e}function Zt(e){return function(t){return e(t)}}function Jt(e,t){return Bt(t,(function(t){return e[t]}))}function Yt(e,t){return e.has(t)}function Qt(e,t){for(var n=-1,r=e.length;++n<r&&Lt(t,e[n],0)>-1;);return n}function Xt(e,t){for(var n=e.length;n--&&Lt(t,e[n],0)>-1;);return n}var en=zt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tn=zt({"&":"&","<":"<",">":">",'"':""","'":"'"});function nn(e){return"\\"+at[e]}function rn(e){return et.test(e)}function on(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function an(e,t){return function(n){return e(t(n))}}function sn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==s||(e[n]=s,i[o++]=n)}return i}function dn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function pn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function ln(e){return rn(e)?function(e){for(var t=Qe.lastIndex=0;Qe.test(e);)++t;return t}(e):Vt(e)}function cn(e){return rn(e)?function(e){return e.match(Qe)||[]}(e):function(e){return e.split("")}(e)}function un(e){for(var t=e.length;t--&&oe.test(e.charAt(t)););return t}var mn=zt({"&":"&","<":"<",">":">",""":'"',"'":"'"}),hn=function e(t){var n,r=(t=null==t?ct:hn.defaults(ct.Object(),t,hn.pick(ct,nt))).Array,oe=t.Date,be=t.Error,we=t.Function,Se=t.Math,Ie=t.Object,De=t.RegExp,_e=t.String,Pe=t.TypeError,xe=r.prototype,Ce=we.prototype,Oe=Ie.prototype,Be=t["__core-js_shared__"],Ee=Ce.toString,Re=Oe.hasOwnProperty,Ae=0,Ne=(n=/[^.]+$/.exec(Be&&Be.keys&&Be.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Ve=Oe.toString,je=Ee.call(Ie),Me=ct._,Le=De("^"+Ee.call(Re).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ue=ht?t.Buffer:o,Fe=t.Symbol,We=t.Uint8Array,$e=Ue?Ue.allocUnsafe:o,ze=an(Ie.getPrototypeOf,Ie),Ge=Ie.create,He=Oe.propertyIsEnumerable,qe=xe.splice,Ke=Fe?Fe.isConcatSpreadable:o,Ze=Fe?Fe.iterator:o,Qe=Fe?Fe.toStringTag:o,et=function(){try{var e=pi(Ie,"defineProperty");return e({},"",{}),e}catch(e){}}(),at=t.clearTimeout!==ct.clearTimeout&&t.clearTimeout,pt=oe&&oe.now!==ct.Date.now&&oe.now,lt=t.setTimeout!==ct.setTimeout&&t.setTimeout,ut=Se.ceil,mt=Se.floor,gt=Ie.getOwnPropertySymbols,ft=Ue?Ue.isBuffer:o,Vt=t.isFinite,zt=xe.join,gn=an(Ie.keys,Ie),fn=Se.max,yn=Se.min,vn=oe.now,kn=t.parseInt,Tn=Se.random,bn=xe.reverse,wn=pi(t,"DataView"),Sn=pi(t,"Map"),In=pi(t,"Promise"),Dn=pi(t,"Set"),_n=pi(t,"WeakMap"),Pn=pi(Ie,"create"),xn=_n&&new _n,Cn={},On=ji(wn),Bn=ji(Sn),En=ji(In),Rn=ji(Dn),An=ji(_n),Nn=Fe?Fe.prototype:o,Vn=Nn?Nn.valueOf:o,jn=Nn?Nn.toString:o;function Mn(e){if(es(e)&&!$a(e)&&!(e instanceof Wn)){if(e instanceof Fn)return e;if(Re.call(e,"__wrapped__"))return Mi(e)}return new Fn(e)}var Ln=function(){function e(){}return function(t){if(!Xa(t))return{};if(Ge)return Ge(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Un(){}function Fn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Wn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function $n(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function zn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Hn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Gn;++t<n;)this.add(e[t])}function qn(e){var t=this.__data__=new zn(e);this.size=t.size}function Kn(e,t){var n=$a(e),r=!n&&Wa(e),o=!n&&!r&&qa(e),i=!n&&!r&&!o&&ds(e),a=n||r||o||i,s=a?qt(e.length,_e):[],d=s.length;for(var p in e)!t&&!Re.call(e,p)||a&&("length"==p||o&&("offset"==p||"parent"==p)||i&&("buffer"==p||"byteLength"==p||"byteOffset"==p)||fi(p,d))||s.push(p);return s}function Zn(e){var t=e.length;return t?e[Gr(0,t-1)]:o}function Jn(e,t){return Ei(Po(e),ir(t,0,e.length))}function Yn(e){return Ei(Po(e))}function Qn(e,t,n){(n!==o&&!La(e[t],n)||n===o&&!(t in e))&&rr(e,t,n)}function Xn(e,t,n){var r=e[t];Re.call(e,t)&&La(r,n)&&(n!==o||t in e)||rr(e,t,n)}function er(e,t){for(var n=e.length;n--;)if(La(e[n][0],t))return n;return-1}function tr(e,t,n,r){return lr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function nr(e,t){return e&&xo(t,Os(t),e)}function rr(e,t,n){"__proto__"==t&&et?et(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function or(e,t){for(var n=-1,i=t.length,a=r(i),s=null==e;++n<i;)a[n]=s?o:Ds(e,t[n]);return a}function ir(e,t,n){return e==e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function ar(e,t,n,r,i,a){var s,d=1&t,p=2&t,l=4&t;if(n&&(s=i?n(e,r,i,a):n(e)),s!==o)return s;if(!Xa(e))return e;var c=$a(e);if(c){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Re.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!d)return Po(e,s)}else{var u=ui(e),m=u==T||u==b;if(qa(e))return bo(e,d);if(u==I||u==g||m&&!i){if(s=p||m?{}:hi(e),!d)return p?function(e,t){return xo(e,ci(e),t)}(e,function(e,t){return e&&xo(t,Bs(t),e)}(s,e)):function(e,t){return xo(e,li(e),t)}(e,nr(s,e))}else{if(!it[u])return i?e:{};s=function(e,t,n){var r,o=e.constructor;switch(t){case B:return wo(e);case y:case v:return new o(+e);case E:return function(e,t){var n=t?wo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case R:case A:case N:case V:case j:case M:case L:case U:case F:return So(e,n);case w:return new o;case S:case x:return new o(e);case _:return function(e){var t=new e.constructor(e.source,ue.exec(e));return t.lastIndex=e.lastIndex,t}(e);case P:return new o;case C:return r=e,Vn?Ie(Vn.call(r)):{}}}(e,u,d)}}a||(a=new qn);var h=a.get(e);if(h)return h;a.set(e,s),is(e)?e.forEach((function(r){s.add(ar(r,t,n,r,e,a))})):ts(e)&&e.forEach((function(r,o){s.set(o,ar(r,t,n,o,e,a))}));var f=c?o:(l?p?ni:ti:p?Bs:Os)(e);return Dt(f||e,(function(r,o){f&&(r=e[o=r]),Xn(s,o,ar(r,t,n,o,e,a))})),s}function sr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Ie(e);r--;){var i=n[r],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function dr(e,t,n){if("function"!=typeof e)throw new Pe(i);return xi((function(){e.apply(o,n)}),t)}function pr(e,t,n,r){var o=-1,i=Ct,a=!0,s=e.length,d=[],p=t.length;if(!s)return d;n&&(t=Bt(t,Zt(n))),r?(i=Ot,a=!1):t.length>=200&&(i=Yt,a=!1,t=new Hn(t));e:for(;++o<s;){var l=e[o],c=null==n?l:n(l);if(l=r||0!==l?l:0,a&&c==c){for(var u=p;u--;)if(t[u]===c)continue e;d.push(l)}else i(t,c,r)||d.push(l)}return d}Mn.templateSettings={escape:Z,evaluate:J,interpolate:Y,variable:"",imports:{_:Mn}},Mn.prototype=Un.prototype,Mn.prototype.constructor=Mn,Fn.prototype=Ln(Un.prototype),Fn.prototype.constructor=Fn,Wn.prototype=Ln(Un.prototype),Wn.prototype.constructor=Wn,$n.prototype.clear=function(){this.__data__=Pn?Pn(null):{},this.size=0},$n.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},$n.prototype.get=function(e){var t=this.__data__;if(Pn){var n=t[e];return n===a?o:n}return Re.call(t,e)?t[e]:o},$n.prototype.has=function(e){var t=this.__data__;return Pn?t[e]!==o:Re.call(t,e)},$n.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Pn&&t===o?a:t,this},zn.prototype.clear=function(){this.__data__=[],this.size=0},zn.prototype.delete=function(e){var t=this.__data__,n=er(t,e);return!(n<0||(n==t.length-1?t.pop():qe.call(t,n,1),--this.size,0))},zn.prototype.get=function(e){var t=this.__data__,n=er(t,e);return n<0?o:t[n][1]},zn.prototype.has=function(e){return er(this.__data__,e)>-1},zn.prototype.set=function(e,t){var n=this.__data__,r=er(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Gn.prototype.clear=function(){this.size=0,this.__data__={hash:new $n,map:new(Sn||zn),string:new $n}},Gn.prototype.delete=function(e){var t=si(this,e).delete(e);return this.size-=t?1:0,t},Gn.prototype.get=function(e){return si(this,e).get(e)},Gn.prototype.has=function(e){return si(this,e).has(e)},Gn.prototype.set=function(e,t){var n=si(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Hn.prototype.add=Hn.prototype.push=function(e){return this.__data__.set(e,a),this},Hn.prototype.has=function(e){return this.__data__.has(e)},qn.prototype.clear=function(){this.__data__=new zn,this.size=0},qn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},qn.prototype.get=function(e){return this.__data__.get(e)},qn.prototype.has=function(e){return this.__data__.has(e)},qn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof zn){var r=n.__data__;if(!Sn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Gn(r)}return n.set(e,t),this.size=n.size,this};var lr=Bo(vr),cr=Bo(kr,!0);function ur(e,t){var n=!0;return lr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function mr(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],s=t(a);if(null!=s&&(d===o?s==s&&!ss(s):n(s,d)))var d=s,p=a}return p}function hr(e,t){var n=[];return lr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function gr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=gi),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?gr(s,t-1,n,r,o):Et(o,s):r||(o[o.length]=s)}return o}var fr=Eo(),yr=Eo(!0);function vr(e,t){return e&&fr(e,t,Os)}function kr(e,t){return e&&yr(e,t,Os)}function Tr(e,t){return xt(t,(function(t){return Ja(e[t])}))}function br(e,t){for(var n=0,r=(t=yo(t,e)).length;null!=e&&n<r;)e=e[Vi(t[n++])];return n&&n==r?e:o}function wr(e,t,n){var r=t(e);return $a(e)?r:Et(r,n(e))}function Sr(e){return null==e?e===o?"[object Undefined]":"[object Null]":Qe&&Qe in Ie(e)?function(e){var t=Re.call(e,Qe),n=e[Qe];try{e[Qe]=o;var r=!0}catch(e){}var i=Ve.call(e);return r&&(t?e[Qe]=n:delete e[Qe]),i}(e):function(e){return Ve.call(e)}(e)}function Ir(e,t){return e>t}function Dr(e,t){return null!=e&&Re.call(e,t)}function _r(e,t){return null!=e&&t in Ie(e)}function Pr(e,t,n){for(var i=n?Ot:Ct,a=e[0].length,s=e.length,d=s,p=r(s),l=1/0,c=[];d--;){var u=e[d];d&&t&&(u=Bt(u,Zt(t))),l=yn(u.length,l),p[d]=!n&&(t||a>=120&&u.length>=120)?new Hn(d&&u):o}u=e[0];var m=-1,h=p[0];e:for(;++m<a&&c.length<l;){var g=u[m],f=t?t(g):g;if(g=n||0!==g?g:0,!(h?Yt(h,f):i(c,f,n))){for(d=s;--d;){var y=p[d];if(!(y?Yt(y,f):i(e[d],f,n)))continue e}h&&h.push(f),c.push(g)}}return c}function xr(e,t,n){var r=null==(e=Di(e,t=yo(t,e)))?e:e[Vi(Zi(t))];return null==r?o:St(r,e,n)}function Cr(e){return es(e)&&Sr(e)==g}function Or(e,t,n,r,i){return e===t||(null==e||null==t||!es(e)&&!es(t)?e!=e&&t!=t:function(e,t,n,r,i,a){var s=$a(e),d=$a(t),p=s?f:ui(e),l=d?f:ui(t),c=(p=p==g?I:p)==I,u=(l=l==g?I:l)==I,m=p==l;if(m&&qa(e)){if(!qa(t))return!1;s=!0,c=!1}if(m&&!c)return a||(a=new qn),s||ds(e)?Xo(e,t,n,r,i,a):function(e,t,n,r,o,i,a){switch(n){case E:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case B:return!(e.byteLength!=t.byteLength||!i(new We(e),new We(t)));case y:case v:case S:return La(+e,+t);case k:return e.name==t.name&&e.message==t.message;case _:case x:return e==t+"";case w:var s=on;case P:var d=1&r;if(s||(s=dn),e.size!=t.size&&!d)return!1;var p=a.get(e);if(p)return p==t;r|=2,a.set(e,t);var l=Xo(s(e),s(t),r,o,i,a);return a.delete(e),l;case C:if(Vn)return Vn.call(e)==Vn.call(t)}return!1}(e,t,p,n,r,i,a);if(!(1&n)){var h=c&&Re.call(e,"__wrapped__"),T=u&&Re.call(t,"__wrapped__");if(h||T){var b=h?e.value():e,D=T?t.value():t;return a||(a=new qn),i(b,D,n,r,a)}}return!!m&&(a||(a=new qn),function(e,t,n,r,i,a){var s=1&n,d=ti(e),p=d.length;if(p!=ti(t).length&&!s)return!1;for(var l=p;l--;){var c=d[l];if(!(s?c in t:Re.call(t,c)))return!1}var u=a.get(e),m=a.get(t);if(u&&m)return u==t&&m==e;var h=!0;a.set(e,t),a.set(t,e);for(var g=s;++l<p;){var f=e[c=d[l]],y=t[c];if(r)var v=s?r(y,f,c,t,e,a):r(f,y,c,e,t,a);if(!(v===o?f===y||i(f,y,n,r,a):v)){h=!1;break}g||(g="constructor"==c)}if(h&&!g){var k=e.constructor,T=t.constructor;k==T||!("constructor"in e)||!("constructor"in t)||"function"==typeof k&&k instanceof k&&"function"==typeof T&&T instanceof T||(h=!1)}return a.delete(e),a.delete(t),h}(e,t,n,r,i,a))}(e,t,n,r,Or,i))}function Br(e,t,n,r){var i=n.length,a=i,s=!r;if(null==e)return!a;for(e=Ie(e);i--;){var d=n[i];if(s&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++i<a;){var p=(d=n[i])[0],l=e[p],c=d[1];if(s&&d[2]){if(l===o&&!(p in e))return!1}else{var u=new qn;if(r)var m=r(l,c,p,e,t,u);if(!(m===o?Or(c,l,3,r,u):m))return!1}}return!0}function Er(e){return!(!Xa(e)||(t=e,Ne&&Ne in t))&&(Ja(e)?Le:ge).test(ji(e));var t}function Rr(e){return"function"==typeof e?e:null==e?nd:"object"==typeof e?$a(e)?Mr(e[0],e[1]):jr(e):cd(e)}function Ar(e){if(!bi(e))return gn(e);var t=[];for(var n in Ie(e))Re.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Nr(e,t){return e<t}function Vr(e,t){var n=-1,o=Ga(e)?r(e.length):[];return lr(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function jr(e){var t=di(e);return 1==t.length&&t[0][2]?Si(t[0][0],t[0][1]):function(n){return n===e||Br(n,e,t)}}function Mr(e,t){return vi(e)&&wi(t)?Si(Vi(e),t):function(n){var r=Ds(n,e);return r===o&&r===t?_s(n,e):Or(t,r,3)}}function Lr(e,t,n,r,i){e!==t&&fr(t,(function(a,s){if(i||(i=new qn),Xa(a))!function(e,t,n,r,i,a,s){var d=_i(e,n),p=_i(t,n),l=s.get(p);if(l)Qn(e,n,l);else{var c=a?a(d,p,n+"",e,t,s):o,u=c===o;if(u){var m=$a(p),h=!m&&qa(p),g=!m&&!h&&ds(p);c=p,m||h||g?$a(d)?c=d:Ha(d)?c=Po(d):h?(u=!1,c=bo(p,!0)):g?(u=!1,c=So(p,!0)):c=[]:rs(p)||Wa(p)?(c=d,Wa(d)?c=fs(d):Xa(d)&&!Ja(d)||(c=hi(p))):u=!1}u&&(s.set(p,c),i(c,p,r,a,s),s.delete(p)),Qn(e,n,c)}}(e,t,s,n,Lr,r,i);else{var d=r?r(_i(e,s),a,s+"",e,t,i):o;d===o&&(d=a),Qn(e,s,d)}}),Bs)}function Ur(e,t){var n=e.length;if(n)return fi(t+=t<0?n:0,n)?e[t]:o}function Fr(e,t,n){t=t.length?Bt(t,(function(e){return $a(e)?function(t){return br(t,1===e.length?e[0]:e)}:e})):[nd];var r=-1;t=Bt(t,Zt(ai()));var o=Vr(e,(function(e,n,o){var i=Bt(t,(function(t){return t(e)}));return{criteria:i,index:++r,value:e}}));return function(e,t){var r=e.length;for(e.sort((function(e,t){return function(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;++r<a;){var d=Io(o[r],i[r]);if(d)return r>=s?d:d*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}));r--;)e[r]=e[r].value;return e}(o)}function Wr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=br(e,a);n(s,a)&&Jr(i,yo(a,e),s)}return i}function $r(e,t,n,r){var o=r?Ut:Lt,i=-1,a=t.length,s=e;for(e===t&&(t=Po(t)),n&&(s=Bt(e,Zt(n)));++i<a;)for(var d=0,p=t[i],l=n?n(p):p;(d=o(s,l,d,r))>-1;)s!==e&&qe.call(s,d,1),qe.call(e,d,1);return e}function zr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;fi(o)?qe.call(e,o,1):po(e,o)}}return e}function Gr(e,t){return e+mt(Tn()*(t-e+1))}function Hr(e,t){var n="";if(!e||t<1||t>c)return n;do{t%2&&(n+=e),(t=mt(t/2))&&(e+=e)}while(t);return n}function qr(e,t){return Ci(Ii(e,t,nd),e+"")}function Kr(e){return Zn(Ls(e))}function Zr(e,t){var n=Ls(e);return Ei(n,ir(t,0,n.length))}function Jr(e,t,n,r){if(!Xa(e))return e;for(var i=-1,a=(t=yo(t,e)).length,s=a-1,d=e;null!=d&&++i<a;){var p=Vi(t[i]),l=n;if("__proto__"===p||"constructor"===p||"prototype"===p)return e;if(i!=s){var c=d[p];(l=r?r(c,p,d):o)===o&&(l=Xa(c)?c:fi(t[i+1])?[]:{})}Xn(d,p,l),d=d[p]}return e}var Yr=xn?function(e,t){return xn.set(e,t),e}:nd,Qr=et?function(e,t){return et(e,"toString",{configurable:!0,enumerable:!1,value:Xs(t),writable:!0})}:nd;function Xr(e){return Ei(Ls(e))}function eo(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o<i;)a[o]=e[o+t];return a}function to(e,t){var n;return lr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function no(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!ss(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return ro(e,t,nd,n)}function ro(e,t,n,r){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var s=(t=n(t))!=t,d=null===t,p=ss(t),l=t===o;i<a;){var c=mt((i+a)/2),u=n(e[c]),m=u!==o,h=null===u,g=u==u,f=ss(u);if(s)var y=r||g;else y=l?g&&(r||m):d?g&&m&&(r||!h):p?g&&m&&!h&&(r||!f):!h&&!f&&(r?u<=t:u<t);y?i=c+1:a=c}return yn(a,4294967294)}function oo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!La(s,d)){var d=s;i[o++]=0===a?0:a}}return i}function io(e){return"number"==typeof e?e:ss(e)?u:+e}function ao(e){if("string"==typeof e)return e;if($a(e))return Bt(e,ao)+"";if(ss(e))return jn?jn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function so(e,t,n){var r=-1,o=Ct,i=e.length,a=!0,s=[],d=s;if(n)a=!1,o=Ot;else if(i>=200){var p=t?null:qo(e);if(p)return dn(p);a=!1,o=Yt,d=new Hn}else d=t?[]:s;e:for(;++r<i;){var l=e[r],c=t?t(l):l;if(l=n||0!==l?l:0,a&&c==c){for(var u=d.length;u--;)if(d[u]===c)continue e;t&&d.push(c),s.push(l)}else o(d,c,n)||(d!==s&&d.push(c),s.push(l))}return s}function po(e,t){return null==(e=Di(e,t=yo(t,e)))||delete e[Vi(Zi(t))]}function lo(e,t,n,r){return Jr(e,t,n(br(e,t)),r)}function co(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?eo(e,r?0:i,r?i+1:o):eo(e,r?i+1:0,r?o:i)}function uo(e,t){var n=e;return n instanceof Wn&&(n=n.value()),Rt(t,(function(e,t){return t.func.apply(t.thisArg,Et([e],t.args))}),n)}function mo(e,t,n){var o=e.length;if(o<2)return o?so(e[0]):[];for(var i=-1,a=r(o);++i<o;)for(var s=e[i],d=-1;++d<o;)d!=i&&(a[i]=pr(a[i]||s,e[d],t,n));return so(gr(a,1),t,n)}function ho(e,t,n){for(var r=-1,i=e.length,a=t.length,s={};++r<i;){var d=r<a?t[r]:o;n(s,e[r],d)}return s}function go(e){return Ha(e)?e:[]}function fo(e){return"function"==typeof e?e:nd}function yo(e,t){return $a(e)?e:vi(e,t)?[e]:Ni(ys(e))}var vo=qr;function ko(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:eo(e,t,n)}var To=at||function(e){return ct.clearTimeout(e)};function bo(e,t){if(t)return e.slice();var n=e.length,r=$e?$e(n):new e.constructor(n);return e.copy(r),r}function wo(e){var t=new e.constructor(e.byteLength);return new We(t).set(new We(e)),t}function So(e,t){var n=t?wo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Io(e,t){if(e!==t){var n=e!==o,r=null===e,i=e==e,a=ss(e),s=t!==o,d=null===t,p=t==t,l=ss(t);if(!d&&!l&&!a&&e>t||a&&s&&p&&!d&&!l||r&&s&&p||!n&&p||!i)return 1;if(!r&&!a&&!l&&e<t||l&&n&&i&&!r&&!a||d&&n&&i||!s&&i||!p)return-1}return 0}function Do(e,t,n,o){for(var i=-1,a=e.length,s=n.length,d=-1,p=t.length,l=fn(a-s,0),c=r(p+l),u=!o;++d<p;)c[d]=t[d];for(;++i<s;)(u||i<a)&&(c[n[i]]=e[i]);for(;l--;)c[d++]=e[i++];return c}function _o(e,t,n,o){for(var i=-1,a=e.length,s=-1,d=n.length,p=-1,l=t.length,c=fn(a-d,0),u=r(c+l),m=!o;++i<c;)u[i]=e[i];for(var h=i;++p<l;)u[h+p]=t[p];for(;++s<d;)(m||i<a)&&(u[h+n[s]]=e[i++]);return u}function Po(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function xo(e,t,n,r){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var d=t[a],p=r?r(n[d],e[d],d,n,e):o;p===o&&(p=e[d]),i?rr(n,d,p):Xn(n,d,p)}return n}function Co(e,t){return function(n,r){var o=$a(n)?It:tr,i=t?t():{};return o(n,e,ai(r,2),i)}}function Oo(e){return qr((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,s=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&yi(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=Ie(t);++r<i;){var d=n[r];d&&e(t,d,r,a)}return t}))}function Bo(e,t){return function(n,r){if(null==n)return n;if(!Ga(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Ie(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function Eo(e){return function(t,n,r){for(var o=-1,i=Ie(t),a=r(t),s=a.length;s--;){var d=a[e?s:++o];if(!1===n(i[d],d,i))break}return t}}function Ro(e){return function(t){var n=rn(t=ys(t))?cn(t):o,r=n?n[0]:t.charAt(0),i=n?ko(n,1).join(""):t.slice(1);return r[e]()+i}}function Ao(e){return function(t){return Rt(Js(Ws(t).replace(Je,"")),e,"")}}function No(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Ln(e.prototype),r=e.apply(n,t);return Xa(r)?r:n}}function Vo(e){return function(t,n,r){var i=Ie(t);if(!Ga(t)){var a=ai(n,3);t=Os(t),n=function(e){return a(i[e],e,i)}}var s=e(t,n,r);return s>-1?i[a?t[s]:s]:o}}function jo(e){return ei((function(t){var n=t.length,r=n,a=Fn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new Pe(i);if(a&&!d&&"wrapper"==oi(s))var d=new Fn([],!0)}for(r=d?r:n;++r<n;){var p=oi(s=t[r]),l="wrapper"==p?ri(s):o;d=l&&ki(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?d[oi(l[0])].apply(d,l[3]):1==s.length&&ki(s)?d[p]():d.thru(s)}return function(){var e=arguments,r=e[0];if(d&&1==e.length&&$a(r))return d.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function Mo(e,t,n,i,a,s,d,l,c,u){var m=t&p,h=1&t,g=2&t,f=24&t,y=512&t,v=g?o:No(e);return function p(){for(var k=arguments.length,T=r(k),b=k;b--;)T[b]=arguments[b];if(f)var w=ii(p),S=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(T,w);if(i&&(T=Do(T,i,a,f)),s&&(T=_o(T,s,d,f)),k-=S,f&&k<u){var I=sn(T,w);return Go(e,t,Mo,p.placeholder,n,T,I,l,c,u-k)}var D=h?n:this,_=g?D[e]:e;return k=T.length,l?T=function(e,t){for(var n=e.length,r=yn(t.length,n),i=Po(e);r--;){var a=t[r];e[r]=fi(a,n)?i[a]:o}return e}(T,l):y&&k>1&&T.reverse(),m&&c<k&&(T.length=c),this&&this!==ct&&this instanceof p&&(_=v||No(_)),_.apply(D,T)}}function Lo(e,t){return function(n,r){return function(e,t,n,r){return vr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Uo(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=ao(n),r=ao(r)):(n=io(n),r=io(r)),i=e(n,r)}return i}}function Fo(e){return ei((function(t){return t=Bt(t,Zt(ai())),qr((function(n){var r=this;return e(t,(function(e){return St(e,r,n)}))}))}))}function Wo(e,t){var n=(t=t===o?" ":ao(t)).length;if(n<2)return n?Hr(t,e):t;var r=Hr(t,ut(e/ln(t)));return rn(t)?ko(cn(r),0,e).join(""):r.slice(0,e)}function $o(e){return function(t,n,i){return i&&"number"!=typeof i&&yi(t,n,i)&&(n=i=o),t=us(t),n===o?(n=t,t=0):n=us(n),function(e,t,n,o){for(var i=-1,a=fn(ut((t-e)/(n||1)),0),s=r(a);a--;)s[o?a:++i]=e,e+=n;return s}(t,n,i=i===o?t<n?1:-1:us(i),e)}}function zo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=gs(t),n=gs(n)),e(t,n)}}function Go(e,t,n,r,i,a,s,p,l,c){var u=8&t;t|=u?d:64,4&(t&=~(u?64:d))||(t&=-4);var m=[e,t,i,u?a:o,u?s:o,u?o:a,u?o:s,p,l,c],h=n.apply(o,m);return ki(e)&&Pi(h,m),h.placeholder=r,Oi(h,e,t)}function Ho(e){var t=Se[e];return function(e,n){if(e=gs(e),(n=null==n?0:yn(ms(n),292))&&Vt(e)){var r=(ys(e)+"e").split("e");return+((r=(ys(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var qo=Dn&&1/dn(new Dn([,-0]))[1]==l?function(e){return new Dn(e)}:sd;function Ko(e){return function(t){var n=ui(t);return n==w?on(t):n==P?pn(t):function(e,t){return Bt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Zo(e,t,n,a,l,c,u,m){var h=2&t;if(!h&&"function"!=typeof e)throw new Pe(i);var g=a?a.length:0;if(g||(t&=-97,a=l=o),u=u===o?u:fn(ms(u),0),m=m===o?m:ms(m),g-=l?l.length:0,64&t){var f=a,y=l;a=l=o}var v=h?o:ri(e),k=[e,t,n,a,l,f,y,c,u,m];if(v&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,a=r==p&&8==n||r==p&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!a)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var d=t[3];if(d){var l=e[3];e[3]=l?Do(l,d,t[4]):d,e[4]=l?sn(e[3],s):t[4]}(d=t[5])&&(l=e[5],e[5]=l?_o(l,d,t[6]):d,e[6]=l?sn(e[5],s):t[6]),(d=t[7])&&(e[7]=d),r&p&&(e[8]=null==e[8]?t[8]:yn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o}(k,v),e=k[0],t=k[1],n=k[2],a=k[3],l=k[4],!(m=k[9]=k[9]===o?h?0:e.length:fn(k[9]-g,0))&&24&t&&(t&=-25),t&&1!=t)T=8==t||16==t?function(e,t,n){var i=No(e);return function a(){for(var s=arguments.length,d=r(s),p=s,l=ii(a);p--;)d[p]=arguments[p];var c=s<3&&d[0]!==l&&d[s-1]!==l?[]:sn(d,l);return(s-=c.length)<n?Go(e,t,Mo,a.placeholder,o,d,c,o,o,n-s):St(this&&this!==ct&&this instanceof a?i:e,this,d)}}(e,t,m):t!=d&&33!=t||l.length?Mo.apply(o,k):function(e,t,n,o){var i=1&t,a=No(e);return function t(){for(var s=-1,d=arguments.length,p=-1,l=o.length,c=r(l+d),u=this&&this!==ct&&this instanceof t?a:e;++p<l;)c[p]=o[p];for(;d--;)c[p++]=arguments[++s];return St(u,i?n:this,c)}}(e,t,n,a);else var T=function(e,t,n){var r=1&t,o=No(e);return function t(){return(this&&this!==ct&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,n);return Oi((v?Yr:Pi)(T,k),e,t)}function Jo(e,t,n,r){return e===o||La(e,Oe[n])&&!Re.call(r,n)?t:e}function Yo(e,t,n,r,i,a){return Xa(e)&&Xa(t)&&(a.set(t,e),Lr(e,t,o,Yo,a),a.delete(t)),e}function Qo(e){return rs(e)?o:e}function Xo(e,t,n,r,i,a){var s=1&n,d=e.length,p=t.length;if(d!=p&&!(s&&p>d))return!1;var l=a.get(e),c=a.get(t);if(l&&c)return l==t&&c==e;var u=-1,m=!0,h=2&n?new Hn:o;for(a.set(e,t),a.set(t,e);++u<d;){var g=e[u],f=t[u];if(r)var y=s?r(f,g,u,t,e,a):r(g,f,u,e,t,a);if(y!==o){if(y)continue;m=!1;break}if(h){if(!Nt(t,(function(e,t){if(!Yt(h,t)&&(g===e||i(g,e,n,r,a)))return h.push(t)}))){m=!1;break}}else if(g!==f&&!i(g,f,n,r,a)){m=!1;break}}return a.delete(e),a.delete(t),m}function ei(e){return Ci(Ii(e,o,zi),e+"")}function ti(e){return wr(e,Os,li)}function ni(e){return wr(e,Bs,ci)}var ri=xn?function(e){return xn.get(e)}:sd;function oi(e){for(var t=e.name+"",n=Cn[t],r=Re.call(Cn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function ii(e){return(Re.call(Mn,"placeholder")?Mn:e).placeholder}function ai(){var e=Mn.iteratee||rd;return e=e===rd?Rr:e,arguments.length?e(arguments[0],arguments[1]):e}function si(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function di(e){for(var t=Os(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,wi(o)]}return t}function pi(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return Er(n)?n:o}var li=gt?function(e){return null==e?[]:(e=Ie(e),xt(gt(e),(function(t){return He.call(e,t)})))}:hd,ci=gt?function(e){for(var t=[];e;)Et(t,li(e)),e=ze(e);return t}:hd,ui=Sr;function mi(e,t,n){for(var r=-1,o=(t=yo(t,e)).length,i=!1;++r<o;){var a=Vi(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Qa(o)&&fi(a,o)&&($a(e)||Wa(e))}function hi(e){return"function"!=typeof e.constructor||bi(e)?{}:Ln(ze(e))}function gi(e){return $a(e)||Wa(e)||!!(Ke&&e&&e[Ke])}function fi(e,t){var n=typeof e;return!!(t=null==t?c:t)&&("number"==n||"symbol"!=n&&ye.test(e))&&e>-1&&e%1==0&&e<t}function yi(e,t,n){if(!Xa(n))return!1;var r=typeof t;return!!("number"==r?Ga(n)&&fi(t,n.length):"string"==r&&t in n)&&La(n[t],e)}function vi(e,t){if($a(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ss(e))||X.test(e)||!Q.test(e)||null!=t&&e in Ie(t)}function ki(e){var t=oi(e),n=Mn[t];if("function"!=typeof n||!(t in Wn.prototype))return!1;if(e===n)return!0;var r=ri(n);return!!r&&e===r[0]}(wn&&ui(new wn(new ArrayBuffer(1)))!=E||Sn&&ui(new Sn)!=w||In&&ui(In.resolve())!=D||Dn&&ui(new Dn)!=P||_n&&ui(new _n)!=O)&&(ui=function(e){var t=Sr(e),n=t==I?e.constructor:o,r=n?ji(n):"";if(r)switch(r){case On:return E;case Bn:return w;case En:return D;case Rn:return P;case An:return O}return t});var Ti=Be?Ja:gd;function bi(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Oe)}function wi(e){return e==e&&!Xa(e)}function Si(e,t){return function(n){return null!=n&&n[e]===t&&(t!==o||e in Ie(n))}}function Ii(e,t,n){return t=fn(t===o?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=fn(o.length-t,0),s=r(a);++i<a;)s[i]=o[t+i];i=-1;for(var d=r(t+1);++i<t;)d[i]=o[i];return d[t]=n(s),St(e,this,d)}}function Di(e,t){return t.length<2?e:br(e,eo(t,0,-1))}function _i(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Pi=Bi(Yr),xi=lt||function(e,t){return ct.setTimeout(e,t)},Ci=Bi(Qr);function Oi(e,t,n){var r=t+"";return Ci(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ie,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Dt(h,(function(n){var r="_."+n[0];t&n[1]&&!Ct(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ae);return t?t[1].split(se):[]}(r),n)))}function Bi(e){var t=0,n=0;return function(){var r=vn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Ei(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n<t;){var a=Gr(n,i),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}var Ri,Ai,Ni=(Ri=Ra((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ee,(function(e,n,r,o){t.push(r?o.replace(le,"$1"):n||e)})),t}),(function(e){return 500===Ai.size&&Ai.clear(),e})),Ai=Ri.cache,Ri);function Vi(e){if("string"==typeof e||ss(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ji(e){if(null!=e){try{return Ee.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Mi(e){if(e instanceof Wn)return e.clone();var t=new Fn(e.__wrapped__,e.__chain__);return t.__actions__=Po(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Li=qr((function(e,t){return Ha(e)?pr(e,gr(t,1,Ha,!0)):[]})),Ui=qr((function(e,t){var n=Zi(t);return Ha(n)&&(n=o),Ha(e)?pr(e,gr(t,1,Ha,!0),ai(n,2)):[]})),Fi=qr((function(e,t){var n=Zi(t);return Ha(n)&&(n=o),Ha(e)?pr(e,gr(t,1,Ha,!0),o,n):[]}));function Wi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ms(n);return o<0&&(o=fn(r+o,0)),Mt(e,ai(t,3),o)}function $i(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==o&&(i=ms(n),i=n<0?fn(r+i,0):yn(i,r-1)),Mt(e,ai(t,3),i,!0)}function zi(e){return null!=e&&e.length?gr(e,1):[]}function Gi(e){return e&&e.length?e[0]:o}var Hi=qr((function(e){var t=Bt(e,go);return t.length&&t[0]===e[0]?Pr(t):[]})),qi=qr((function(e){var t=Zi(e),n=Bt(e,go);return t===Zi(n)?t=o:n.pop(),n.length&&n[0]===e[0]?Pr(n,ai(t,2)):[]})),Ki=qr((function(e){var t=Zi(e),n=Bt(e,go);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?Pr(n,o,t):[]}));function Zi(e){var t=null==e?0:e.length;return t?e[t-1]:o}var Ji=qr(Yi);function Yi(e,t){return e&&e.length&&t&&t.length?$r(e,t):e}var Qi=ei((function(e,t){var n=null==e?0:e.length,r=or(e,t);return zr(e,Bt(t,(function(e){return fi(e,n)?+e:e})).sort(Io)),r}));function Xi(e){return null==e?e:bn.call(e)}var ea=qr((function(e){return so(gr(e,1,Ha,!0))})),ta=qr((function(e){var t=Zi(e);return Ha(t)&&(t=o),so(gr(e,1,Ha,!0),ai(t,2))})),na=qr((function(e){var t=Zi(e);return t="function"==typeof t?t:o,so(gr(e,1,Ha,!0),o,t)}));function ra(e){if(!e||!e.length)return[];var t=0;return e=xt(e,(function(e){if(Ha(e))return t=fn(e.length,t),!0})),qt(t,(function(t){return Bt(e,$t(t))}))}function oa(e,t){if(!e||!e.length)return[];var n=ra(e);return null==t?n:Bt(n,(function(e){return St(t,o,e)}))}var ia=qr((function(e,t){return Ha(e)?pr(e,t):[]})),aa=qr((function(e){return mo(xt(e,Ha))})),sa=qr((function(e){var t=Zi(e);return Ha(t)&&(t=o),mo(xt(e,Ha),ai(t,2))})),da=qr((function(e){var t=Zi(e);return t="function"==typeof t?t:o,mo(xt(e,Ha),o,t)})),pa=qr(ra),la=qr((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,oa(e,n)}));function ca(e){var t=Mn(e);return t.__chain__=!0,t}function ua(e,t){return t(e)}var ma=ei((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return or(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Wn&&fi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ua,args:[i],thisArg:o}),new Fn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)})),ha=Co((function(e,t,n){Re.call(e,n)?++e[n]:rr(e,n,1)})),ga=Vo(Wi),fa=Vo($i);function ya(e,t){return($a(e)?Dt:lr)(e,ai(t,3))}function va(e,t){return($a(e)?_t:cr)(e,ai(t,3))}var ka=Co((function(e,t,n){Re.call(e,n)?e[n].push(t):rr(e,n,[t])})),Ta=qr((function(e,t,n){var o=-1,i="function"==typeof t,a=Ga(e)?r(e.length):[];return lr(e,(function(e){a[++o]=i?St(t,e,n):xr(e,t,n)})),a})),ba=Co((function(e,t,n){rr(e,n,t)}));function wa(e,t){return($a(e)?Bt:Vr)(e,ai(t,3))}var Sa=Co((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),Ia=qr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&yi(e,t[0],t[1])?t=[]:n>2&&yi(t[0],t[1],t[2])&&(t=[t[0]]),Fr(e,gr(t,1),[])})),Da=pt||function(){return ct.Date.now()};function _a(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Zo(e,p,o,o,o,o,t)}function Pa(e,t){var n;if("function"!=typeof t)throw new Pe(i);return e=ms(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var xa=qr((function(e,t,n){var r=1;if(n.length){var o=sn(n,ii(xa));r|=d}return Zo(e,r,t,n,o)})),Ca=qr((function(e,t,n){var r=3;if(n.length){var o=sn(n,ii(Ca));r|=d}return Zo(t,r,e,n,o)}));function Oa(e,t,n){var r,a,s,d,p,l,c=0,u=!1,m=!1,h=!0;if("function"!=typeof e)throw new Pe(i);function g(t){var n=r,i=a;return r=a=o,c=t,d=e.apply(i,n)}function f(e){var n=e-l;return l===o||n>=t||n<0||m&&e-c>=s}function y(){var e=Da();if(f(e))return v(e);p=xi(y,function(e){var n=t-(e-l);return m?yn(n,s-(e-c)):n}(e))}function v(e){return p=o,h&&r?g(e):(r=a=o,d)}function k(){var e=Da(),n=f(e);if(r=arguments,a=this,l=e,n){if(p===o)return function(e){return c=e,p=xi(y,t),u?g(e):d}(l);if(m)return To(p),p=xi(y,t),g(l)}return p===o&&(p=xi(y,t)),d}return t=gs(t)||0,Xa(n)&&(u=!!n.leading,s=(m="maxWait"in n)?fn(gs(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h),k.cancel=function(){p!==o&&To(p),c=0,r=l=a=p=o},k.flush=function(){return p===o?d:v(Da())},k}var Ba=qr((function(e,t){return dr(e,1,t)})),Ea=qr((function(e,t,n){return dr(e,gs(t)||0,n)}));function Ra(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Pe(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Ra.Cache||Gn),n}function Aa(e){if("function"!=typeof e)throw new Pe(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ra.Cache=Gn;var Na=vo((function(e,t){var n=(t=1==t.length&&$a(t[0])?Bt(t[0],Zt(ai())):Bt(gr(t,1),Zt(ai()))).length;return qr((function(r){for(var o=-1,i=yn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return St(e,this,r)}))})),Va=qr((function(e,t){var n=sn(t,ii(Va));return Zo(e,d,o,t,n)})),ja=qr((function(e,t){var n=sn(t,ii(ja));return Zo(e,64,o,t,n)})),Ma=ei((function(e,t){return Zo(e,256,o,o,o,t)}));function La(e,t){return e===t||e!=e&&t!=t}var Ua=zo(Ir),Fa=zo((function(e,t){return e>=t})),Wa=Cr(function(){return arguments}())?Cr:function(e){return es(e)&&Re.call(e,"callee")&&!He.call(e,"callee")},$a=r.isArray,za=yt?Zt(yt):function(e){return es(e)&&Sr(e)==B};function Ga(e){return null!=e&&Qa(e.length)&&!Ja(e)}function Ha(e){return es(e)&&Ga(e)}var qa=ft||gd,Ka=vt?Zt(vt):function(e){return es(e)&&Sr(e)==v};function Za(e){if(!es(e))return!1;var t=Sr(e);return t==k||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!rs(e)}function Ja(e){if(!Xa(e))return!1;var t=Sr(e);return t==T||t==b||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ya(e){return"number"==typeof e&&e==ms(e)}function Qa(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=c}function Xa(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function es(e){return null!=e&&"object"==typeof e}var ts=kt?Zt(kt):function(e){return es(e)&&ui(e)==w};function ns(e){return"number"==typeof e||es(e)&&Sr(e)==S}function rs(e){if(!es(e)||Sr(e)!=I)return!1;var t=ze(e);if(null===t)return!0;var n=Re.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ee.call(n)==je}var os=Tt?Zt(Tt):function(e){return es(e)&&Sr(e)==_},is=bt?Zt(bt):function(e){return es(e)&&ui(e)==P};function as(e){return"string"==typeof e||!$a(e)&&es(e)&&Sr(e)==x}function ss(e){return"symbol"==typeof e||es(e)&&Sr(e)==C}var ds=wt?Zt(wt):function(e){return es(e)&&Qa(e.length)&&!!ot[Sr(e)]},ps=zo(Nr),ls=zo((function(e,t){return e<=t}));function cs(e){if(!e)return[];if(Ga(e))return as(e)?cn(e):Po(e);if(Ze&&e[Ze])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ze]());var t=ui(e);return(t==w?on:t==P?dn:Ls)(e)}function us(e){return e?(e=gs(e))===l||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ms(e){var t=us(e),n=t%1;return t==t?n?t-n:t:0}function hs(e){return e?ir(ms(e),0,m):0}function gs(e){if("number"==typeof e)return e;if(ss(e))return u;if(Xa(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Xa(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Kt(e);var n=he.test(e);return n||fe.test(e)?dt(e.slice(2),n?2:8):me.test(e)?u:+e}function fs(e){return xo(e,Bs(e))}function ys(e){return null==e?"":ao(e)}var vs=Oo((function(e,t){if(bi(t)||Ga(t))xo(t,Os(t),e);else for(var n in t)Re.call(t,n)&&Xn(e,n,t[n])})),ks=Oo((function(e,t){xo(t,Bs(t),e)})),Ts=Oo((function(e,t,n,r){xo(t,Bs(t),e,r)})),bs=Oo((function(e,t,n,r){xo(t,Os(t),e,r)})),ws=ei(or),Ss=qr((function(e,t){e=Ie(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&yi(t[0],t[1],i)&&(r=1);++n<r;)for(var a=t[n],s=Bs(a),d=-1,p=s.length;++d<p;){var l=s[d],c=e[l];(c===o||La(c,Oe[l])&&!Re.call(e,l))&&(e[l]=a[l])}return e})),Is=qr((function(e){return e.push(o,Yo),St(Rs,o,e)}));function Ds(e,t,n){var r=null==e?o:br(e,t);return r===o?n:r}function _s(e,t){return null!=e&&mi(e,t,_r)}var Ps=Lo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ve.call(t)),e[t]=n}),Xs(nd)),xs=Lo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ve.call(t)),Re.call(e,t)?e[t].push(n):e[t]=[n]}),ai),Cs=qr(xr);function Os(e){return Ga(e)?Kn(e):Ar(e)}function Bs(e){return Ga(e)?Kn(e,!0):function(e){if(!Xa(e))return function(e){var t=[];if(null!=e)for(var n in Ie(e))t.push(n);return t}(e);var t=bi(e),n=[];for(var r in e)("constructor"!=r||!t&&Re.call(e,r))&&n.push(r);return n}(e)}var Es=Oo((function(e,t,n){Lr(e,t,n)})),Rs=Oo((function(e,t,n,r){Lr(e,t,n,r)})),As=ei((function(e,t){var n={};if(null==e)return n;var r=!1;t=Bt(t,(function(t){return t=yo(t,e),r||(r=t.length>1),t})),xo(e,ni(e),n),r&&(n=ar(n,7,Qo));for(var o=t.length;o--;)po(n,t[o]);return n})),Ns=ei((function(e,t){return null==e?{}:function(e,t){return Wr(e,t,(function(t,n){return _s(e,n)}))}(e,t)}));function Vs(e,t){if(null==e)return{};var n=Bt(ni(e),(function(e){return[e]}));return t=ai(t),Wr(e,n,(function(e,n){return t(e,n[0])}))}var js=Ko(Os),Ms=Ko(Bs);function Ls(e){return null==e?[]:Jt(e,Os(e))}var Us=Ao((function(e,t,n){return t=t.toLowerCase(),e+(n?Fs(t):t)}));function Fs(e){return Zs(ys(e).toLowerCase())}function Ws(e){return(e=ys(e))&&e.replace(ve,en).replace(Ye,"")}var $s=Ao((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),zs=Ao((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Gs=Ro("toLowerCase"),Hs=Ao((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),qs=Ao((function(e,t,n){return e+(n?" ":"")+Zs(t)})),Ks=Ao((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Zs=Ro("toUpperCase");function Js(e,t,n){return e=ys(e),(t=n?o:t)===o?function(e){return tt.test(e)}(e)?function(e){return e.match(Xe)||[]}(e):function(e){return e.match(de)||[]}(e):e.match(t)||[]}var Ys=qr((function(e,t){try{return St(e,o,t)}catch(e){return Za(e)?e:new be(e)}})),Qs=ei((function(e,t){return Dt(t,(function(t){t=Vi(t),rr(e,t,xa(e[t],e))})),e}));function Xs(e){return function(){return e}}var ed=jo(),td=jo(!0);function nd(e){return e}function rd(e){return Rr("function"==typeof e?e:ar(e,1))}var od=qr((function(e,t){return function(n){return xr(n,e,t)}})),id=qr((function(e,t){return function(n){return xr(e,n,t)}}));function ad(e,t,n){var r=Os(t),o=Tr(t,r);null!=n||Xa(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=Tr(t,Os(t)));var i=!(Xa(n)&&"chain"in n&&!n.chain),a=Ja(e);return Dt(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=Po(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Et([this.value()],arguments))})})),e}function sd(){}var dd=Fo(Bt),pd=Fo(Pt),ld=Fo(Nt);function cd(e){return vi(e)?$t(Vi(e)):function(e){return function(t){return br(t,e)}}(e)}var ud=$o(),md=$o(!0);function hd(){return[]}function gd(){return!1}var fd,yd=Uo((function(e,t){return e+t}),0),vd=Ho("ceil"),kd=Uo((function(e,t){return e/t}),1),Td=Ho("floor"),bd=Uo((function(e,t){return e*t}),1),wd=Ho("round"),Sd=Uo((function(e,t){return e-t}),0);return Mn.after=function(e,t){if("function"!=typeof t)throw new Pe(i);return e=ms(e),function(){if(--e<1)return t.apply(this,arguments)}},Mn.ary=_a,Mn.assign=vs,Mn.assignIn=ks,Mn.assignInWith=Ts,Mn.assignWith=bs,Mn.at=ws,Mn.before=Pa,Mn.bind=xa,Mn.bindAll=Qs,Mn.bindKey=Ca,Mn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return $a(e)?e:[e]},Mn.chain=ca,Mn.chunk=function(e,t,n){t=(n?yi(e,t,n):t===o)?1:fn(ms(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,d=r(ut(i/t));a<i;)d[s++]=eo(e,a,a+=t);return d},Mn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Mn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return Et($a(n)?Po(n):[n],gr(t,1))},Mn.cond=function(e){var t=null==e?0:e.length,n=ai();return e=t?Bt(e,(function(e){if("function"!=typeof e[1])throw new Pe(i);return[n(e[0]),e[1]]})):[],qr((function(n){for(var r=-1;++r<t;){var o=e[r];if(St(o[0],this,n))return St(o[1],this,n)}}))},Mn.conforms=function(e){return function(e){var t=Os(e);return function(n){return sr(n,e,t)}}(ar(e,1))},Mn.constant=Xs,Mn.countBy=ha,Mn.create=function(e,t){var n=Ln(e);return null==t?n:nr(n,t)},Mn.curry=function e(t,n,r){var i=Zo(t,8,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Mn.curryRight=function e(t,n,r){var i=Zo(t,16,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Mn.debounce=Oa,Mn.defaults=Ss,Mn.defaultsDeep=Is,Mn.defer=Ba,Mn.delay=Ea,Mn.difference=Li,Mn.differenceBy=Ui,Mn.differenceWith=Fi,Mn.drop=function(e,t,n){var r=null==e?0:e.length;return r?eo(e,(t=n||t===o?1:ms(t))<0?0:t,r):[]},Mn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?eo(e,0,(t=r-(t=n||t===o?1:ms(t)))<0?0:t):[]},Mn.dropRightWhile=function(e,t){return e&&e.length?co(e,ai(t,3),!0,!0):[]},Mn.dropWhile=function(e,t){return e&&e.length?co(e,ai(t,3),!0):[]},Mn.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&yi(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=ms(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:ms(r))<0&&(r+=i),r=n>r?0:hs(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Mn.filter=function(e,t){return($a(e)?xt:hr)(e,ai(t,3))},Mn.flatMap=function(e,t){return gr(wa(e,t),1)},Mn.flatMapDeep=function(e,t){return gr(wa(e,t),l)},Mn.flatMapDepth=function(e,t,n){return n=n===o?1:ms(n),gr(wa(e,t),n)},Mn.flatten=zi,Mn.flattenDeep=function(e){return null!=e&&e.length?gr(e,l):[]},Mn.flattenDepth=function(e,t){return null!=e&&e.length?gr(e,t=t===o?1:ms(t)):[]},Mn.flip=function(e){return Zo(e,512)},Mn.flow=ed,Mn.flowRight=td,Mn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Mn.functions=function(e){return null==e?[]:Tr(e,Os(e))},Mn.functionsIn=function(e){return null==e?[]:Tr(e,Bs(e))},Mn.groupBy=ka,Mn.initial=function(e){return null!=e&&e.length?eo(e,0,-1):[]},Mn.intersection=Hi,Mn.intersectionBy=qi,Mn.intersectionWith=Ki,Mn.invert=Ps,Mn.invertBy=xs,Mn.invokeMap=Ta,Mn.iteratee=rd,Mn.keyBy=ba,Mn.keys=Os,Mn.keysIn=Bs,Mn.map=wa,Mn.mapKeys=function(e,t){var n={};return t=ai(t,3),vr(e,(function(e,r,o){rr(n,t(e,r,o),e)})),n},Mn.mapValues=function(e,t){var n={};return t=ai(t,3),vr(e,(function(e,r,o){rr(n,r,t(e,r,o))})),n},Mn.matches=function(e){return jr(ar(e,1))},Mn.matchesProperty=function(e,t){return Mr(e,ar(t,1))},Mn.memoize=Ra,Mn.merge=Es,Mn.mergeWith=Rs,Mn.method=od,Mn.methodOf=id,Mn.mixin=ad,Mn.negate=Aa,Mn.nthArg=function(e){return e=ms(e),qr((function(t){return Ur(t,e)}))},Mn.omit=As,Mn.omitBy=function(e,t){return Vs(e,Aa(ai(t)))},Mn.once=function(e){return Pa(2,e)},Mn.orderBy=function(e,t,n,r){return null==e?[]:($a(t)||(t=null==t?[]:[t]),$a(n=r?o:n)||(n=null==n?[]:[n]),Fr(e,t,n))},Mn.over=dd,Mn.overArgs=Na,Mn.overEvery=pd,Mn.overSome=ld,Mn.partial=Va,Mn.partialRight=ja,Mn.partition=Sa,Mn.pick=Ns,Mn.pickBy=Vs,Mn.property=cd,Mn.propertyOf=function(e){return function(t){return null==e?o:br(e,t)}},Mn.pull=Ji,Mn.pullAll=Yi,Mn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?$r(e,t,ai(n,2)):e},Mn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?$r(e,t,o,n):e},Mn.pullAt=Qi,Mn.range=ud,Mn.rangeRight=md,Mn.rearg=Ma,Mn.reject=function(e,t){return($a(e)?xt:hr)(e,Aa(ai(t,3)))},Mn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=ai(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return zr(e,o),n},Mn.rest=function(e,t){if("function"!=typeof e)throw new Pe(i);return qr(e,t=t===o?t:ms(t))},Mn.reverse=Xi,Mn.sampleSize=function(e,t,n){return t=(n?yi(e,t,n):t===o)?1:ms(t),($a(e)?Jn:Zr)(e,t)},Mn.set=function(e,t,n){return null==e?e:Jr(e,t,n)},Mn.setWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:Jr(e,t,n,r)},Mn.shuffle=function(e){return($a(e)?Yn:Xr)(e)},Mn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&yi(e,t,n)?(t=0,n=r):(t=null==t?0:ms(t),n=n===o?r:ms(n)),eo(e,t,n)):[]},Mn.sortBy=Ia,Mn.sortedUniq=function(e){return e&&e.length?oo(e):[]},Mn.sortedUniqBy=function(e,t){return e&&e.length?oo(e,ai(t,2)):[]},Mn.split=function(e,t,n){return n&&"number"!=typeof n&&yi(e,t,n)&&(t=n=o),(n=n===o?m:n>>>0)?(e=ys(e))&&("string"==typeof t||null!=t&&!os(t))&&!(t=ao(t))&&rn(e)?ko(cn(e),0,n):e.split(t,n):[]},Mn.spread=function(e,t){if("function"!=typeof e)throw new Pe(i);return t=null==t?0:fn(ms(t),0),qr((function(n){var r=n[t],o=ko(n,0,t);return r&&Et(o,r),St(e,this,o)}))},Mn.tail=function(e){var t=null==e?0:e.length;return t?eo(e,1,t):[]},Mn.take=function(e,t,n){return e&&e.length?eo(e,0,(t=n||t===o?1:ms(t))<0?0:t):[]},Mn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?eo(e,(t=r-(t=n||t===o?1:ms(t)))<0?0:t,r):[]},Mn.takeRightWhile=function(e,t){return e&&e.length?co(e,ai(t,3),!1,!0):[]},Mn.takeWhile=function(e,t){return e&&e.length?co(e,ai(t,3)):[]},Mn.tap=function(e,t){return t(e),e},Mn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Pe(i);return Xa(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Oa(e,t,{leading:r,maxWait:t,trailing:o})},Mn.thru=ua,Mn.toArray=cs,Mn.toPairs=js,Mn.toPairsIn=Ms,Mn.toPath=function(e){return $a(e)?Bt(e,Vi):ss(e)?[e]:Po(Ni(ys(e)))},Mn.toPlainObject=fs,Mn.transform=function(e,t,n){var r=$a(e),o=r||qa(e)||ds(e);if(t=ai(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:Xa(e)&&Ja(i)?Ln(ze(e)):{}}return(o?Dt:vr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Mn.unary=function(e){return _a(e,1)},Mn.union=ea,Mn.unionBy=ta,Mn.unionWith=na,Mn.uniq=function(e){return e&&e.length?so(e):[]},Mn.uniqBy=function(e,t){return e&&e.length?so(e,ai(t,2)):[]},Mn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?so(e,o,t):[]},Mn.unset=function(e,t){return null==e||po(e,t)},Mn.unzip=ra,Mn.unzipWith=oa,Mn.update=function(e,t,n){return null==e?e:lo(e,t,fo(n))},Mn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:lo(e,t,fo(n),r)},Mn.values=Ls,Mn.valuesIn=function(e){return null==e?[]:Jt(e,Bs(e))},Mn.without=ia,Mn.words=Js,Mn.wrap=function(e,t){return Va(fo(t),e)},Mn.xor=aa,Mn.xorBy=sa,Mn.xorWith=da,Mn.zip=pa,Mn.zipObject=function(e,t){return ho(e||[],t||[],Xn)},Mn.zipObjectDeep=function(e,t){return ho(e||[],t||[],Jr)},Mn.zipWith=la,Mn.entries=js,Mn.entriesIn=Ms,Mn.extend=ks,Mn.extendWith=Ts,ad(Mn,Mn),Mn.add=yd,Mn.attempt=Ys,Mn.camelCase=Us,Mn.capitalize=Fs,Mn.ceil=vd,Mn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=gs(n))==n?n:0),t!==o&&(t=(t=gs(t))==t?t:0),ir(gs(e),t,n)},Mn.clone=function(e){return ar(e,4)},Mn.cloneDeep=function(e){return ar(e,5)},Mn.cloneDeepWith=function(e,t){return ar(e,5,t="function"==typeof t?t:o)},Mn.cloneWith=function(e,t){return ar(e,4,t="function"==typeof t?t:o)},Mn.conformsTo=function(e,t){return null==t||sr(e,t,Os(t))},Mn.deburr=Ws,Mn.defaultTo=function(e,t){return null==e||e!=e?t:e},Mn.divide=kd,Mn.endsWith=function(e,t,n){e=ys(e),t=ao(t);var r=e.length,i=n=n===o?r:ir(ms(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Mn.eq=La,Mn.escape=function(e){return(e=ys(e))&&K.test(e)?e.replace(H,tn):e},Mn.escapeRegExp=function(e){return(e=ys(e))&&ne.test(e)?e.replace(te,"\\$&"):e},Mn.every=function(e,t,n){var r=$a(e)?Pt:ur;return n&&yi(e,t,n)&&(t=o),r(e,ai(t,3))},Mn.find=ga,Mn.findIndex=Wi,Mn.findKey=function(e,t){return jt(e,ai(t,3),vr)},Mn.findLast=fa,Mn.findLastIndex=$i,Mn.findLastKey=function(e,t){return jt(e,ai(t,3),kr)},Mn.floor=Td,Mn.forEach=ya,Mn.forEachRight=va,Mn.forIn=function(e,t){return null==e?e:fr(e,ai(t,3),Bs)},Mn.forInRight=function(e,t){return null==e?e:yr(e,ai(t,3),Bs)},Mn.forOwn=function(e,t){return e&&vr(e,ai(t,3))},Mn.forOwnRight=function(e,t){return e&&kr(e,ai(t,3))},Mn.get=Ds,Mn.gt=Ua,Mn.gte=Fa,Mn.has=function(e,t){return null!=e&&mi(e,t,Dr)},Mn.hasIn=_s,Mn.head=Gi,Mn.identity=nd,Mn.includes=function(e,t,n,r){e=Ga(e)?e:Ls(e),n=n&&!r?ms(n):0;var o=e.length;return n<0&&(n=fn(o+n,0)),as(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Lt(e,t,n)>-1},Mn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ms(n);return o<0&&(o=fn(r+o,0)),Lt(e,t,o)},Mn.inRange=function(e,t,n){return t=us(t),n===o?(n=t,t=0):n=us(n),function(e,t,n){return e>=yn(t,n)&&e<fn(t,n)}(e=gs(e),t,n)},Mn.invoke=Cs,Mn.isArguments=Wa,Mn.isArray=$a,Mn.isArrayBuffer=za,Mn.isArrayLike=Ga,Mn.isArrayLikeObject=Ha,Mn.isBoolean=function(e){return!0===e||!1===e||es(e)&&Sr(e)==y},Mn.isBuffer=qa,Mn.isDate=Ka,Mn.isElement=function(e){return es(e)&&1===e.nodeType&&!rs(e)},Mn.isEmpty=function(e){if(null==e)return!0;if(Ga(e)&&($a(e)||"string"==typeof e||"function"==typeof e.splice||qa(e)||ds(e)||Wa(e)))return!e.length;var t=ui(e);if(t==w||t==P)return!e.size;if(bi(e))return!Ar(e).length;for(var n in e)if(Re.call(e,n))return!1;return!0},Mn.isEqual=function(e,t){return Or(e,t)},Mn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:o)?n(e,t):o;return r===o?Or(e,t,o,n):!!r},Mn.isError=Za,Mn.isFinite=function(e){return"number"==typeof e&&Vt(e)},Mn.isFunction=Ja,Mn.isInteger=Ya,Mn.isLength=Qa,Mn.isMap=ts,Mn.isMatch=function(e,t){return e===t||Br(e,t,di(t))},Mn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,Br(e,t,di(t),n)},Mn.isNaN=function(e){return ns(e)&&e!=+e},Mn.isNative=function(e){if(Ti(e))throw new be("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Er(e)},Mn.isNil=function(e){return null==e},Mn.isNull=function(e){return null===e},Mn.isNumber=ns,Mn.isObject=Xa,Mn.isObjectLike=es,Mn.isPlainObject=rs,Mn.isRegExp=os,Mn.isSafeInteger=function(e){return Ya(e)&&e>=-9007199254740991&&e<=c},Mn.isSet=is,Mn.isString=as,Mn.isSymbol=ss,Mn.isTypedArray=ds,Mn.isUndefined=function(e){return e===o},Mn.isWeakMap=function(e){return es(e)&&ui(e)==O},Mn.isWeakSet=function(e){return es(e)&&"[object WeakSet]"==Sr(e)},Mn.join=function(e,t){return null==e?"":zt.call(e,t)},Mn.kebabCase=$s,Mn.last=Zi,Mn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=ms(n))<0?fn(r+i,0):yn(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Mt(e,Ft,i,!0)},Mn.lowerCase=zs,Mn.lowerFirst=Gs,Mn.lt=ps,Mn.lte=ls,Mn.max=function(e){return e&&e.length?mr(e,nd,Ir):o},Mn.maxBy=function(e,t){return e&&e.length?mr(e,ai(t,2),Ir):o},Mn.mean=function(e){return Wt(e,nd)},Mn.meanBy=function(e,t){return Wt(e,ai(t,2))},Mn.min=function(e){return e&&e.length?mr(e,nd,Nr):o},Mn.minBy=function(e,t){return e&&e.length?mr(e,ai(t,2),Nr):o},Mn.stubArray=hd,Mn.stubFalse=gd,Mn.stubObject=function(){return{}},Mn.stubString=function(){return""},Mn.stubTrue=function(){return!0},Mn.multiply=bd,Mn.nth=function(e,t){return e&&e.length?Ur(e,ms(t)):o},Mn.noConflict=function(){return ct._===this&&(ct._=Me),this},Mn.noop=sd,Mn.now=Da,Mn.pad=function(e,t,n){e=ys(e);var r=(t=ms(t))?ln(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Wo(mt(o),n)+e+Wo(ut(o),n)},Mn.padEnd=function(e,t,n){e=ys(e);var r=(t=ms(t))?ln(e):0;return t&&r<t?e+Wo(t-r,n):e},Mn.padStart=function(e,t,n){e=ys(e);var r=(t=ms(t))?ln(e):0;return t&&r<t?Wo(t-r,n)+e:e},Mn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),kn(ys(e).replace(re,""),t||0)},Mn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&yi(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=us(e),t===o?(t=e,e=0):t=us(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=Tn();return yn(e+i*(t-e+st("1e-"+((i+"").length-1))),t)}return Gr(e,t)},Mn.reduce=function(e,t,n){var r=$a(e)?Rt:Gt,o=arguments.length<3;return r(e,ai(t,4),n,o,lr)},Mn.reduceRight=function(e,t,n){var r=$a(e)?At:Gt,o=arguments.length<3;return r(e,ai(t,4),n,o,cr)},Mn.repeat=function(e,t,n){return t=(n?yi(e,t,n):t===o)?1:ms(t),Hr(ys(e),t)},Mn.replace=function(){var e=arguments,t=ys(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Mn.result=function(e,t,n){var r=-1,i=(t=yo(t,e)).length;for(i||(i=1,e=o);++r<i;){var a=null==e?o:e[Vi(t[r])];a===o&&(r=i,a=n),e=Ja(a)?a.call(e):a}return e},Mn.round=wd,Mn.runInContext=e,Mn.sample=function(e){return($a(e)?Zn:Kr)(e)},Mn.size=function(e){if(null==e)return 0;if(Ga(e))return as(e)?ln(e):e.length;var t=ui(e);return t==w||t==P?e.size:Ar(e).length},Mn.snakeCase=Hs,Mn.some=function(e,t,n){var r=$a(e)?Nt:to;return n&&yi(e,t,n)&&(t=o),r(e,ai(t,3))},Mn.sortedIndex=function(e,t){return no(e,t)},Mn.sortedIndexBy=function(e,t,n){return ro(e,t,ai(n,2))},Mn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=no(e,t);if(r<n&&La(e[r],t))return r}return-1},Mn.sortedLastIndex=function(e,t){return no(e,t,!0)},Mn.sortedLastIndexBy=function(e,t,n){return ro(e,t,ai(n,2),!0)},Mn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=no(e,t,!0)-1;if(La(e[n],t))return n}return-1},Mn.startCase=qs,Mn.startsWith=function(e,t,n){return e=ys(e),n=null==n?0:ir(ms(n),0,e.length),t=ao(t),e.slice(n,n+t.length)==t},Mn.subtract=Sd,Mn.sum=function(e){return e&&e.length?Ht(e,nd):0},Mn.sumBy=function(e,t){return e&&e.length?Ht(e,ai(t,2)):0},Mn.template=function(e,t,n){var r=Mn.templateSettings;n&&yi(e,t,n)&&(t=o),e=ys(e),t=Ts({},t,r,Jo);var i,a,s=Ts({},t.imports,r.imports,Jo),d=Os(s),p=Jt(s,d),l=0,c=t.interpolate||ke,u="__p += '",m=De((t.escape||ke).source+"|"+c.source+"|"+(c===Y?ce:ke).source+"|"+(t.evaluate||ke).source+"|$","g"),h="//# sourceURL="+(Re.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rt+"]")+"\n";e.replace(m,(function(t,n,r,o,s,d){return r||(r=o),u+=e.slice(l,d).replace(Te,nn),n&&(i=!0,u+="' +\n__e("+n+") +\n'"),s&&(a=!0,u+="';\n"+s+";\n__p += '"),r&&(u+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=d+t.length,t})),u+="';\n";var g=Re.call(t,"variable")&&t.variable;if(g){if(pe.test(g))throw new be("Invalid `variable` option passed into `_.template`")}else u="with (obj) {\n"+u+"\n}\n";u=(a?u.replace(W,""):u).replace($,"$1").replace(z,"$1;"),u="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+u+"return __p\n}";var f=Ys((function(){return we(d,h+"return "+u).apply(o,p)}));if(f.source=u,Za(f))throw f;return f},Mn.times=function(e,t){if((e=ms(e))<1||e>c)return[];var n=m,r=yn(e,m);t=ai(t),e-=m;for(var o=qt(r,t);++n<e;)t(n);return o},Mn.toFinite=us,Mn.toInteger=ms,Mn.toLength=hs,Mn.toLower=function(e){return ys(e).toLowerCase()},Mn.toNumber=gs,Mn.toSafeInteger=function(e){return e?ir(ms(e),-9007199254740991,c):0===e?e:0},Mn.toString=ys,Mn.toUpper=function(e){return ys(e).toUpperCase()},Mn.trim=function(e,t,n){if((e=ys(e))&&(n||t===o))return Kt(e);if(!e||!(t=ao(t)))return e;var r=cn(e),i=cn(t);return ko(r,Qt(r,i),Xt(r,i)+1).join("")},Mn.trimEnd=function(e,t,n){if((e=ys(e))&&(n||t===o))return e.slice(0,un(e)+1);if(!e||!(t=ao(t)))return e;var r=cn(e);return ko(r,0,Xt(r,cn(t))+1).join("")},Mn.trimStart=function(e,t,n){if((e=ys(e))&&(n||t===o))return e.replace(re,"");if(!e||!(t=ao(t)))return e;var r=cn(e);return ko(r,Qt(r,cn(t))).join("")},Mn.truncate=function(e,t){var n=30,r="...";if(Xa(t)){var i="separator"in t?t.separator:i;n="length"in t?ms(t.length):n,r="omission"in t?ao(t.omission):r}var a=(e=ys(e)).length;if(rn(e)){var s=cn(e);a=s.length}if(n>=a)return e;var d=n-ln(r);if(d<1)return r;var p=s?ko(s,0,d).join(""):e.slice(0,d);if(i===o)return p+r;if(s&&(d+=p.length-d),os(i)){if(e.slice(d).search(i)){var l,c=p;for(i.global||(i=De(i.source,ys(ue.exec(i))+"g")),i.lastIndex=0;l=i.exec(c);)var u=l.index;p=p.slice(0,u===o?d:u)}}else if(e.indexOf(ao(i),d)!=d){var m=p.lastIndexOf(i);m>-1&&(p=p.slice(0,m))}return p+r},Mn.unescape=function(e){return(e=ys(e))&&q.test(e)?e.replace(G,mn):e},Mn.uniqueId=function(e){var t=++Ae;return ys(e)+t},Mn.upperCase=Ks,Mn.upperFirst=Zs,Mn.each=ya,Mn.eachRight=va,Mn.first=Gi,ad(Mn,(fd={},vr(Mn,(function(e,t){Re.call(Mn.prototype,t)||(fd[t]=e)})),fd),{chain:!1}),Mn.VERSION="4.17.21",Dt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Mn[e].placeholder=Mn})),Dt(["drop","take"],(function(e,t){Wn.prototype[e]=function(n){n=n===o?1:fn(ms(n),0);var r=this.__filtered__&&!t?new Wn(this):this.clone();return r.__filtered__?r.__takeCount__=yn(n,r.__takeCount__):r.__views__.push({size:yn(n,m),type:e+(r.__dir__<0?"Right":"")}),r},Wn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Dt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Wn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ai(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Dt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Wn.prototype[e]=function(){return this[n](1).value()[0]}})),Dt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Wn.prototype[e]=function(){return this.__filtered__?new Wn(this):this[n](1)}})),Wn.prototype.compact=function(){return this.filter(nd)},Wn.prototype.find=function(e){return this.filter(e).head()},Wn.prototype.findLast=function(e){return this.reverse().find(e)},Wn.prototype.invokeMap=qr((function(e,t){return"function"==typeof e?new Wn(this):this.map((function(n){return xr(n,e,t)}))})),Wn.prototype.reject=function(e){return this.filter(Aa(ai(e)))},Wn.prototype.slice=function(e,t){e=ms(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Wn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=ms(t))<0?n.dropRight(-t):n.take(t-e)),n)},Wn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Wn.prototype.toArray=function(){return this.take(m)},vr(Wn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Mn[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(Mn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,d=t instanceof Wn,p=s[0],l=d||$a(t),c=function(e){var t=i.apply(Mn,Et([e],s));return r&&u?t[0]:t};l&&n&&"function"==typeof p&&1!=p.length&&(d=l=!1);var u=this.__chain__,m=!!this.__actions__.length,h=a&&!u,g=d&&!m;if(!a&&l){t=g?t:new Wn(this);var f=e.apply(t,s);return f.__actions__.push({func:ua,args:[c],thisArg:o}),new Fn(f,u)}return h&&g?e.apply(this,s):(f=this.thru(c),h?r?f.value()[0]:f.value():f)})})),Dt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=xe[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Mn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply($a(o)?o:[],e)}return this[n]((function(n){return t.apply($a(n)?n:[],e)}))}})),vr(Wn.prototype,(function(e,t){var n=Mn[t];if(n){var r=n.name+"";Re.call(Cn,r)||(Cn[r]=[]),Cn[r].push({name:t,func:n})}})),Cn[Mo(o,2).name]=[{name:"wrapper",func:o}],Wn.prototype.clone=function(){var e=new Wn(this.__wrapped__);return e.__actions__=Po(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Po(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Po(this.__views__),e},Wn.prototype.reverse=function(){if(this.__filtered__){var e=new Wn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Wn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=$a(e),r=t<0,o=n?e.length:0,i=function(e,t,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=yn(t,e+a);break;case"takeRight":e=fn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,s=i.end,d=s-a,p=r?s:a-1,l=this.__iteratees__,c=l.length,u=0,m=yn(d,this.__takeCount__);if(!n||!r&&o==d&&m==d)return uo(e,this.__actions__);var h=[];e:for(;d--&&u<m;){for(var g=-1,f=e[p+=t];++g<c;){var y=l[g],v=y.iteratee,k=y.type,T=v(f);if(2==k)f=T;else if(!T){if(1==k)continue e;break e}}h[u++]=f}return h},Mn.prototype.at=ma,Mn.prototype.chain=function(){return ca(this)},Mn.prototype.commit=function(){return new Fn(this.value(),this.__chain__)},Mn.prototype.next=function(){this.__values__===o&&(this.__values__=cs(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Mn.prototype.plant=function(e){for(var t,n=this;n instanceof Un;){var r=Mi(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Mn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Wn){var t=e;return this.__actions__.length&&(t=new Wn(this)),(t=t.reverse()).__actions__.push({func:ua,args:[Xi],thisArg:o}),new Fn(t,this.__chain__)}return this.thru(Xi)},Mn.prototype.toJSON=Mn.prototype.valueOf=Mn.prototype.value=function(){return uo(this.__wrapped__,this.__actions__)},Mn.prototype.first=Mn.prototype.head,Ze&&(Mn.prototype[Ze]=function(){return this}),Mn}();ct._=hn,(r=function(){return hn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},6719:(e,t,n)=>{"use strict";var r=n(4876),o=n(330),i={TRANSITIONAL:0,NONTRANSITIONAL:1};function a(e){return e.split("\0").map((function(e){return e.normalize("NFC")})).join("\0")}function s(e){for(var t=0,n=o.length-1;t<=n;){var r=Math.floor((t+n)/2),i=o[r];if(i[0][0]<=e&&i[0][1]>=e)return i;i[0][0]>e?n=r-1:t=r+1}return null}var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function p(e){return e.replace(d,"_").length}var l=/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/;function c(e,t){"xn--"===e.substr(0,4)&&(e=r.toUnicode(e),i.NONTRANSITIONAL);var n=!1;(a(e)!==e||"-"===e[3]&&"-"===e[4]||"-"===e[0]||"-"===e[e.length-1]||-1!==e.indexOf(".")||0===e.search(l))&&(n=!0);for(var o=p(e),d=0;d<o;++d){var c=s(e.codePointAt(d));if(u===i.TRANSITIONAL&&"valid"!==c[1]||u===i.NONTRANSITIONAL&&"valid"!==c[1]&&"deviation"!==c[1]){n=!0;break}}return{label:e,error:n}}function u(e,t,n){var r=function(e,t,n){for(var r=!1,o="",a=p(e),d=0;d<a;++d){var l=e.codePointAt(d),c=s(l);switch(c[1]){case"disallowed":r=!0,o+=String.fromCodePoint(l);break;case"ignored":break;case"mapped":o+=String.fromCodePoint.apply(String,c[2]);break;case"deviation":n===i.TRANSITIONAL?o+=String.fromCodePoint.apply(String,c[2]):o+=String.fromCodePoint(l);break;case"valid":o+=String.fromCodePoint(l);break;case"disallowed_STD3_mapped":t?(r=!0,o+=String.fromCodePoint(l)):o+=String.fromCodePoint.apply(String,c[2]);break;case"disallowed_STD3_valid":t&&(r=!0),o+=String.fromCodePoint(l)}}return{string:o,error:r}}(e,t,n);r.string=a(r.string);for(var o=r.string.split("."),d=0;d<o.length;++d)try{var l=c(o[d]);o[d]=l.label,r.error=r.error||l.error}catch(e){r.error=!0}return{string:o.join("."),error:r.error}}e.exports.toASCII=function(e,t,n,o){var i=u(e,t,n),a=i.string.split(".");if(a=a.map((function(e){try{return r.toASCII(e)}catch(t){return i.error=!0,e}})),o){var s=a.slice(0,a.length-1).join(".").length;(s.length>253||0===s.length)&&(i.error=!0);for(var d=0;d<a.length;++d)if(a.length>63||0===a.length){i.error=!0;break}}return i.error?null:a.join(".")},e.exports.toUnicode=function(e,t){var n=u(e,t,i.NONTRANSITIONAL);return{domain:n.string,error:n.error}},e.exports.PROCESSING_OPTIONS=i},3490:e=>{"use strict";var t={};function n(e){return e<0?-1:1}function r(e,t){t.unsigned||--e;const r=t.unsigned?0:-Math.pow(2,e),o=Math.pow(2,e)-1,i=t.moduloBitLength?Math.pow(2,t.moduloBitLength):Math.pow(2,e),a=t.moduloBitLength?Math.pow(2,t.moduloBitLength-1):Math.pow(2,e-1);return function(e,s){s||(s={});let d=+e;if(s.enforceRange){if(!Number.isFinite(d))throw new TypeError("Argument is not a finite number");if(d=n(d)*Math.floor(Math.abs(d)),d<r||d>o)throw new TypeError("Argument is not in byte range");return d}if(!isNaN(d)&&s.clamp)return d=function(e){return e%1==.5&&0==(1&e)?Math.floor(e):Math.round(e)}(d),d<r&&(d=r),d>o&&(d=o),d;if(!Number.isFinite(d)||0===d)return 0;if(d=n(d)*Math.floor(Math.abs(d)),d%=i,!t.unsigned&&d>=a)return d-i;if(t.unsigned)if(d<0)d+=i;else if(-0===d)return 0;return d}}e.exports=t,t.void=function(){},t.boolean=function(e){return!!e},t.byte=r(8,{unsigned:!1}),t.octet=r(8,{unsigned:!0}),t.short=r(16,{unsigned:!1}),t["unsigned short"]=r(16,{unsigned:!0}),t.long=r(32,{unsigned:!1}),t["unsigned long"]=r(32,{unsigned:!0}),t["long long"]=r(32,{unsigned:!1,moduloBitLength:64}),t["unsigned long long"]=r(32,{unsigned:!0,moduloBitLength:64}),t.double=function(e){const t=+e;if(!Number.isFinite(t))throw new TypeError("Argument is not a finite floating-point value");return t},t["unrestricted double"]=function(e){const t=+e;if(isNaN(t))throw new TypeError("Argument is NaN");return t},t.float=t.double,t["unrestricted float"]=t["unrestricted double"],t.DOMString=function(e,t){return t||(t={}),t.treatNullAsEmptyString&&null===e?"":String(e)},t.ByteString=function(e,t){const n=String(e);let r;for(let e=0;void 0!==(r=n.codePointAt(e));++e)if(r>255)throw new TypeError("Argument is not a valid bytestring");return n},t.USVString=function(e){const t=String(e),n=t.length,r=[];for(let e=0;e<n;++e){const o=t.charCodeAt(e);if(o<55296||o>57343)r.push(String.fromCodePoint(o));else if(56320<=o&&o<=57343)r.push(String.fromCodePoint(65533));else if(e===n-1)r.push(String.fromCodePoint(65533));else{const n=t.charCodeAt(e+1);if(56320<=n&&n<=57343){const t=1023&o,i=1023&n;r.push(String.fromCodePoint(65536+1024*t+i)),++e}else r.push(String.fromCodePoint(65533))}}return r.join("")},t.Date=function(e,t){if(!(e instanceof Date))throw new TypeError("Argument is not a Date object");if(!isNaN(e))return e},t.RegExp=function(e,t){return e instanceof RegExp||(e=new RegExp(e)),e}},5505:(e,t,n)=>{"use strict";const r=n(9846);t.implementation=class{constructor(e){const t=e[0],n=e[1];let o=null;if(void 0!==n&&(o=r.basicURLParse(n),"failure"===o))throw new TypeError("Invalid base URL");const i=r.basicURLParse(t,{baseURL:o});if("failure"===i)throw new TypeError("Invalid URL");this._url=i}get href(){return r.serializeURL(this._url)}set href(e){const t=r.basicURLParse(e);if("failure"===t)throw new TypeError("Invalid URL");this._url=t}get origin(){return r.serializeURLOrigin(this._url)}get protocol(){return this._url.scheme+":"}set protocol(e){r.basicURLParse(e+":",{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(e){r.cannotHaveAUsernamePasswordPort(this._url)||r.setTheUsername(this._url,e)}get password(){return this._url.password}set password(e){r.cannotHaveAUsernamePasswordPort(this._url)||r.setThePassword(this._url,e)}get host(){const e=this._url;return null===e.host?"":null===e.port?r.serializeHost(e.host):r.serializeHost(e.host)+":"+r.serializeInteger(e.port)}set host(e){this._url.cannotBeABaseURL||r.basicURLParse(e,{url:this._url,stateOverride:"host"})}get hostname(){return null===this._url.host?"":r.serializeHost(this._url.host)}set hostname(e){this._url.cannotBeABaseURL||r.basicURLParse(e,{url:this._url,stateOverride:"hostname"})}get port(){return null===this._url.port?"":r.serializeInteger(this._url.port)}set port(e){r.cannotHaveAUsernamePasswordPort(this._url)||(""===e?this._url.port=null:r.basicURLParse(e,{url:this._url,stateOverride:"port"}))}get pathname(){return this._url.cannotBeABaseURL?this._url.path[0]:0===this._url.path.length?"":"/"+this._url.path.join("/")}set pathname(e){this._url.cannotBeABaseURL||(this._url.path=[],r.basicURLParse(e,{url:this._url,stateOverride:"path start"}))}get search(){return null===this._url.query||""===this._url.query?"":"?"+this._url.query}set search(e){const t=this._url;if(""===e)return void(t.query=null);const n="?"===e[0]?e.substring(1):e;t.query="",r.basicURLParse(n,{url:t,stateOverride:"query"})}get hash(){return null===this._url.fragment||""===this._url.fragment?"":"#"+this._url.fragment}set hash(e){if(""===e)return void(this._url.fragment=null);const t="#"===e[0]?e.substring(1):e;this._url.fragment="",r.basicURLParse(t,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}}},4374:(e,t,n)=>{"use strict";const r=n(3490),o=n(3146),i=n(5505),a=o.implSymbol;function s(t){if(!this||this[a]||!(this instanceof s))throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");if(arguments.length<1)throw new TypeError("Failed to construct 'URL': 1 argument required, but only "+arguments.length+" present.");const n=[];for(let e=0;e<arguments.length&&e<2;++e)n[e]=arguments[e];n[0]=r.USVString(n[0]),void 0!==n[1]&&(n[1]=r.USVString(n[1])),e.exports.setup(this,n)}s.prototype.toJSON=function(){if(!this||!e.exports.is(this))throw new TypeError("Illegal invocation");const t=[];for(let e=0;e<arguments.length&&e<0;++e)t[e]=arguments[e];return this[a].toJSON.apply(this[a],t)},Object.defineProperty(s.prototype,"href",{get(){return this[a].href},set(e){e=r.USVString(e),this[a].href=e},enumerable:!0,configurable:!0}),s.prototype.toString=function(){if(!this||!e.exports.is(this))throw new TypeError("Illegal invocation");return this.href},Object.defineProperty(s.prototype,"origin",{get(){return this[a].origin},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"protocol",{get(){return this[a].protocol},set(e){e=r.USVString(e),this[a].protocol=e},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"username",{get(){return this[a].username},set(e){e=r.USVString(e),this[a].username=e},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"password",{get(){return this[a].password},set(e){e=r.USVString(e),this[a].password=e},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"host",{get(){return this[a].host},set(e){e=r.USVString(e),this[a].host=e},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"hostname",{get(){return this[a].hostname},set(e){e=r.USVString(e),this[a].hostname=e},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"port",{get(){return this[a].port},set(e){e=r.USVString(e),this[a].port=e},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"pathname",{get(){return this[a].pathname},set(e){e=r.USVString(e),this[a].pathname=e},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"search",{get(){return this[a].search},set(e){e=r.USVString(e),this[a].search=e},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"hash",{get(){return this[a].hash},set(e){e=r.USVString(e),this[a].hash=e},enumerable:!0,configurable:!0}),e.exports={is:e=>!!e&&e[a]instanceof i.implementation,create(e,t){let n=Object.create(s.prototype);return this.setup(n,e,t),n},setup(e,t,n){n||(n={}),n.wrapper=e,e[a]=new i.implementation(t,n),e[a][o.wrapperSymbol]=e},interface:s,expose:{Window:{URL:s},Worker:{URL:s}}}},540:(e,t,n)=>{"use strict";t.URL=n(4374).interface,n(9846).serializeURL,n(9846).serializeURLOrigin,n(9846).basicURLParse,n(9846).setTheUsername,n(9846).setThePassword,n(9846).serializeHost,n(9846).serializeInteger,n(9846).parseURL},9846:(e,t,n)=>{"use strict";const r=n(4876),o=n(6719),i={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443},a=Symbol("failure");function s(e){return r.ucs2.decode(e).length}function d(e,t){const n=e[t];return isNaN(n)?void 0:String.fromCodePoint(n)}function p(e){return e>=48&&e<=57}function l(e){return e>=65&&e<=90||e>=97&&e<=122}function c(e){return p(e)||e>=65&&e<=70||e>=97&&e<=102}function u(e){return"."===e||"%2e"===e.toLowerCase()}function m(e){return 2===e.length&&l(e.codePointAt(0))&&(":"===e[1]||"|"===e[1])}function h(e){return void 0!==i[e]}function g(e){return h(e.scheme)}function f(e){let t=e.toString(16).toUpperCase();return 1===t.length&&(t="0"+t),"%"+t}function y(e){return e<=31||e>126}const v=new Set([32,34,35,60,62,63,96,123,125]);function k(e){return y(e)||v.has(e)}const T=new Set([47,58,59,61,64,91,92,93,94,124]);function b(e){return k(e)||T.has(e)}function w(e,t){const n=String.fromCodePoint(e);return t(e)?function(e){const t=new Buffer(e);let n="";for(let e=0;e<t.length;++e)n+=f(t[e]);return n}(n):n}function S(e){let t=10;return e.length>=2&&"0"===e.charAt(0)&&"x"===e.charAt(1).toLowerCase()?(e=e.substring(2),t=16):e.length>=2&&"0"===e.charAt(0)&&(e=e.substring(1),t=8),""===e?0:(10===t?/[^0-9]/:16===t?/[^0-9A-Fa-f]/:/[^0-7]/).test(e)?a:parseInt(e,t)}function I(e,t){if("["===e[0])return"]"!==e[e.length-1]?a:function(e){const t=[0,0,0,0,0,0,0,0];let n=0,o=null,i=0;if(58===(e=r.ucs2.decode(e))[i]){if(58!==e[i+1])return a;i+=2,++n,o=n}for(;i<e.length;){if(8===n)return a;if(58===e[i]){if(null!==o)return a;++i,++n,o=n;continue}let r=0,s=0;for(;s<4&&c(e[i]);)r=16*r+parseInt(d(e,i),16),++i,++s;if(46===e[i]){if(0===s)return a;if(i-=s,n>6)return a;let r=0;for(;void 0!==e[i];){let o=null;if(r>0){if(!(46===e[i]&&r<4))return a;++i}if(!p(e[i]))return a;for(;p(e[i]);){const t=parseInt(d(e,i));if(null===o)o=t;else{if(0===o)return a;o=10*o+t}if(o>255)return a;++i}t[n]=256*t[n]+o,++r,2!==r&&4!==r||++n}if(4!==r)return a;break}if(58===e[i]){if(++i,void 0===e[i])return a}else if(void 0!==e[i])return a;t[n]=r,++n}if(null!==o){let e=n-o;for(n=7;0!==n&&e>0;){const r=t[o+e-1];t[o+e-1]=t[n],t[n]=r,--n,--e}}else if(null===o&&8!==n)return a;return t}(e.substring(1,e.length-1));if(!t)return function(e){if(-1!==e.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/))return a;let t="";const n=r.ucs2.decode(e);for(let e=0;e<n.length;++e)t+=w(n[e],y);return t}(e);const n=function(e){const t=new Buffer(e),n=[];for(let e=0;e<t.length;++e)37!==t[e]?n.push(t[e]):37===t[e]&&c(t[e+1])&&c(t[e+2])?(n.push(parseInt(t.slice(e+1,e+3).toString(),16)),e+=2):n.push(t[e]);return new Buffer(n).toString()}(e),i=o.toASCII(n,!1,o.PROCESSING_OPTIONS.NONTRANSITIONAL,!1);if(null===i)return a;if(-1!==i.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/))return a;const s=function(e){const t=e.split(".");if(""===t[t.length-1]&&t.length>1&&t.pop(),t.length>4)return e;const n=[];for(const r of t){if(""===r)return e;const t=S(r);if(t===a)return e;n.push(t)}for(let e=0;e<n.length-1;++e)if(n[e]>255)return a;if(n[n.length-1]>=Math.pow(256,5-n.length))return a;let r=n.pop(),o=0;for(const e of n)r+=e*Math.pow(256,3-o),++o;return r}(i);return"number"==typeof s||s===a?s:i}function D(e){return"number"==typeof e?function(e){let t="",n=e;for(let e=1;e<=4;++e)t=String(n%256)+t,4!==e&&(t="."+t),n=Math.floor(n/256);return t}(e):e instanceof Array?"["+function(e){let t="";const n=function(e){let t=null,n=1,r=null,o=0;for(let i=0;i<e.length;++i)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),{idx:t,len:n}}(e),r=n.idx;let o=!1;for(let n=0;n<=7;++n)o&&0===e[n]||(o&&(o=!1),r!==n?(t+=e[n].toString(16),7!==n&&(t+=":")):(t+=0===n?"::":":",o=!0));return t}(e)+"]":e}function _(e){const t=e.path;var n;0!==t.length&&("file"===e.scheme&&1===t.length&&(n=t[0],/^[A-Za-z]:$/.test(n))||t.pop())}function P(e){return""!==e.username||""!==e.password}function x(e,t,n,o,i){if(this.pointer=0,this.input=e,this.base=t||null,this.encodingOverride=n||"utf-8",this.stateOverride=i,this.url=o,this.failure=!1,this.parseError=!1,!this.url){this.url={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,cannotBeABaseURL:!1};const e=function(e){return e.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,"")}(this.input);e!==this.input&&(this.parseError=!0),this.input=e}const s=function(e){return e.replace(/\u0009|\u000A|\u000D/g,"")}(this.input);for(s!==this.input&&(this.parseError=!0),this.input=s,this.state=i||"scheme start",this.buffer="",this.atFlag=!1,this.arrFlag=!1,this.passwordTokenSeenFlag=!1,this.input=r.ucs2.decode(this.input);this.pointer<=this.input.length;++this.pointer){const e=this.input[this.pointer],t=isNaN(e)?void 0:String.fromCodePoint(e),n=this["parse "+this.state](e,t);if(!n)break;if(n===a){this.failure=!0;break}}}x.prototype["parse scheme start"]=function(e,t){if(l(e))this.buffer+=t.toLowerCase(),this.state="scheme";else{if(this.stateOverride)return this.parseError=!0,a;this.state="no scheme",--this.pointer}return!0},x.prototype["parse scheme"]=function(e,t){if(function(e){return l(e)||p(e)}(e)||43===e||45===e||46===e)this.buffer+=t.toLowerCase();else if(58===e){if(this.stateOverride){if(g(this.url)&&!h(this.buffer))return!1;if(!g(this.url)&&h(this.buffer))return!1;if((P(this.url)||null!==this.url.port)&&"file"===this.buffer)return!1;if("file"===this.url.scheme&&(""===this.url.host||null===this.url.host))return!1}if(this.url.scheme=this.buffer,this.buffer="",this.stateOverride)return!1;"file"===this.url.scheme?(47===this.input[this.pointer+1]&&47===this.input[this.pointer+2]||(this.parseError=!0),this.state="file"):g(this.url)&&null!==this.base&&this.base.scheme===this.url.scheme?this.state="special relative or authority":g(this.url)?this.state="special authority slashes":47===this.input[this.pointer+1]?(this.state="path or authority",++this.pointer):(this.url.cannotBeABaseURL=!0,this.url.path.push(""),this.state="cannot-be-a-base-URL path")}else{if(this.stateOverride)return this.parseError=!0,a;this.buffer="",this.state="no scheme",this.pointer=-1}return!0},x.prototype["parse no scheme"]=function(e){return null===this.base||this.base.cannotBeABaseURL&&35!==e?a:(this.base.cannotBeABaseURL&&35===e?(this.url.scheme=this.base.scheme,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.url.cannotBeABaseURL=!0,this.state="fragment"):"file"===this.base.scheme?(this.state="file",--this.pointer):(this.state="relative",--this.pointer),!0)},x.prototype["parse special relative or authority"]=function(e){return 47===e&&47===this.input[this.pointer+1]?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="relative",--this.pointer),!0},x.prototype["parse path or authority"]=function(e){return 47===e?this.state="authority":(this.state="path",--this.pointer),!0},x.prototype["parse relative"]=function(e){return this.url.scheme=this.base.scheme,isNaN(e)?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query):47===e?this.state="relative slash":63===e?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):35===e?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):g(this.url)&&92===e?(this.parseError=!0,this.state="relative slash"):(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(0,this.base.path.length-1),this.state="path",--this.pointer),!0},x.prototype["parse relative slash"]=function(e){return!g(this.url)||47!==e&&92!==e?47===e?this.state="authority":(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.state="path",--this.pointer):(92===e&&(this.parseError=!0),this.state="special authority ignore slashes"),!0},x.prototype["parse special authority slashes"]=function(e){return 47===e&&47===this.input[this.pointer+1]?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="special authority ignore slashes",--this.pointer),!0},x.prototype["parse special authority ignore slashes"]=function(e){return 47!==e&&92!==e?(this.state="authority",--this.pointer):this.parseError=!0,!0},x.prototype["parse authority"]=function(e,t){if(64===e){this.parseError=!0,this.atFlag&&(this.buffer="%40"+this.buffer),this.atFlag=!0;const e=s(this.buffer);for(let t=0;t<e;++t){const e=this.buffer.codePointAt(t);if(58===e&&!this.passwordTokenSeenFlag){this.passwordTokenSeenFlag=!0;continue}const n=w(e,b);this.passwordTokenSeenFlag?this.url.password+=n:this.url.username+=n}this.buffer=""}else if(isNaN(e)||47===e||63===e||35===e||g(this.url)&&92===e){if(this.atFlag&&""===this.buffer)return this.parseError=!0,a;this.pointer-=s(this.buffer)+1,this.buffer="",this.state="host"}else this.buffer+=t;return!0},x.prototype["parse hostname"]=x.prototype["parse host"]=function(e,t){if(this.stateOverride&&"file"===this.url.scheme)--this.pointer,this.state="file host";else if(58!==e||this.arrFlag)if(isNaN(e)||47===e||63===e||35===e||g(this.url)&&92===e){if(--this.pointer,g(this.url)&&""===this.buffer)return this.parseError=!0,a;if(this.stateOverride&&""===this.buffer&&(P(this.url)||null!==this.url.port))return this.parseError=!0,!1;const e=I(this.buffer,g(this.url));if(e===a)return a;if(this.url.host=e,this.buffer="",this.state="path start",this.stateOverride)return!1}else 91===e?this.arrFlag=!0:93===e&&(this.arrFlag=!1),this.buffer+=t;else{if(""===this.buffer)return this.parseError=!0,a;const e=I(this.buffer,g(this.url));if(e===a)return a;if(this.url.host=e,this.buffer="",this.state="port","hostname"===this.stateOverride)return!1}return!0},x.prototype["parse port"]=function(e,t){if(p(e))this.buffer+=t;else{if(!(isNaN(e)||47===e||63===e||35===e||g(this.url)&&92===e||this.stateOverride))return this.parseError=!0,a;if(""!==this.buffer){const e=parseInt(this.buffer);if(e>Math.pow(2,16)-1)return this.parseError=!0,a;this.url.port=e===(n=this.url.scheme,i[n])?null:e,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}var n;return!0};const C=new Set([47,92,63,35]);x.prototype["parse file"]=function(e){var t,n;return this.url.scheme="file",47===e||92===e?(92===e&&(this.parseError=!0),this.state="file slash"):null!==this.base&&"file"===this.base.scheme?isNaN(e)?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query):63===e?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):35===e?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):(this.input.length-this.pointer-1==0||(t=e,n=this.input[this.pointer+1],!l(t)||58!==n&&124!==n)||this.input.length-this.pointer-1>=2&&!C.has(this.input[this.pointer+2])?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),_(this.url)):this.parseError=!0,this.state="path",--this.pointer):(this.state="path",--this.pointer),!0},x.prototype["parse file slash"]=function(e){return 47===e||92===e?(92===e&&(this.parseError=!0),this.state="file host"):(null!==this.base&&"file"===this.base.scheme&&(2===(t=this.base.path[0]).length&&l(t.codePointAt(0))&&":"===t[1]?this.url.path.push(this.base.path[0]):this.url.host=this.base.host),this.state="path",--this.pointer),!0;var t},x.prototype["parse file host"]=function(e,t){if(isNaN(e)||47===e||92===e||63===e||35===e)if(--this.pointer,!this.stateOverride&&m(this.buffer))this.parseError=!0,this.state="path";else if(""===this.buffer){if(this.url.host="",this.stateOverride)return!1;this.state="path start"}else{let e=I(this.buffer,g(this.url));if(e===a)return a;if("localhost"===e&&(e=""),this.url.host=e,this.stateOverride)return!1;this.buffer="",this.state="path start"}else this.buffer+=t;return!0},x.prototype["parse path start"]=function(e){return g(this.url)?(92===e&&(this.parseError=!0),this.state="path",47!==e&&92!==e&&--this.pointer):this.stateOverride||63!==e?this.stateOverride||35!==e?void 0!==e&&(this.state="path",47!==e&&--this.pointer):(this.url.fragment="",this.state="fragment"):(this.url.query="",this.state="query"),!0},x.prototype["parse path"]=function(e){if(isNaN(e)||47===e||g(this.url)&&92===e||!this.stateOverride&&(63===e||35===e)){if(g(this.url)&&92===e&&(this.parseError=!0),".."!==(t=(t=this.buffer).toLowerCase())&&"%2e."!==t&&".%2e"!==t&&"%2e%2e"!==t?!u(this.buffer)||47===e||g(this.url)&&92===e?u(this.buffer)||("file"===this.url.scheme&&0===this.url.path.length&&m(this.buffer)&&(""!==this.url.host&&null!==this.url.host&&(this.parseError=!0,this.url.host=""),this.buffer=this.buffer[0]+":"),this.url.path.push(this.buffer)):this.url.path.push(""):(_(this.url),47===e||g(this.url)&&92===e||this.url.path.push("")),this.buffer="","file"===this.url.scheme&&(void 0===e||63===e||35===e))for(;this.url.path.length>1&&""===this.url.path[0];)this.parseError=!0,this.url.path.shift();63===e&&(this.url.query="",this.state="query"),35===e&&(this.url.fragment="",this.state="fragment")}else 37!==e||c(this.input[this.pointer+1])&&c(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=w(e,k);var t;return!0},x.prototype["parse cannot-be-a-base-URL path"]=function(e){return 63===e?(this.url.query="",this.state="query"):35===e?(this.url.fragment="",this.state="fragment"):(isNaN(e)||37===e||(this.parseError=!0),37!==e||c(this.input[this.pointer+1])&&c(this.input[this.pointer+2])||(this.parseError=!0),isNaN(e)||(this.url.path[0]=this.url.path[0]+w(e,y))),!0},x.prototype["parse query"]=function(e,t){if(isNaN(e)||!this.stateOverride&&35===e){g(this.url)&&"ws"!==this.url.scheme&&"wss"!==this.url.scheme||(this.encodingOverride="utf-8");const t=new Buffer(this.buffer);for(let e=0;e<t.length;++e)t[e]<33||t[e]>126||34===t[e]||35===t[e]||60===t[e]||62===t[e]?this.url.query+=f(t[e]):this.url.query+=String.fromCodePoint(t[e]);this.buffer="",35===e&&(this.url.fragment="",this.state="fragment")}else 37!==e||c(this.input[this.pointer+1])&&c(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=t;return!0},x.prototype["parse fragment"]=function(e){return isNaN(e)||(0===e?this.parseError=!0:(37!==e||c(this.input[this.pointer+1])&&c(this.input[this.pointer+2])||(this.parseError=!0),this.url.fragment+=w(e,y))),!0},e.exports.serializeURL=function(e,t){let n=e.scheme+":";if(null!==e.host?(n+="//",""===e.username&&""===e.password||(n+=e.username,""!==e.password&&(n+=":"+e.password),n+="@"),n+=D(e.host),null!==e.port&&(n+=":"+e.port)):null===e.host&&"file"===e.scheme&&(n+="//"),e.cannotBeABaseURL)n+=e.path[0];else for(const t of e.path)n+="/"+t;return null!==e.query&&(n+="?"+e.query),t||null===e.fragment||(n+="#"+e.fragment),n},e.exports.serializeURLOrigin=function(t){switch(t.scheme){case"blob":try{return e.exports.serializeURLOrigin(e.exports.parseURL(t.path[0]))}catch(e){return"null"}case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return function(e){let t=e.scheme+"://";return t+=D(e.host),null!==e.port&&(t+=":"+e.port),t}({scheme:t.scheme,host:t.host,port:t.port});case"file":return"file://";default:return"null"}},e.exports.basicURLParse=function(e,t){void 0===t&&(t={});const n=new x(e,t.baseURL,t.encodingOverride,t.url,t.stateOverride);return n.failure?"failure":n.url},e.exports.setTheUsername=function(e,t){e.username="";const n=r.ucs2.decode(t);for(let t=0;t<n.length;++t)e.username+=w(n[t],b)},e.exports.setThePassword=function(e,t){e.password="";const n=r.ucs2.decode(t);for(let t=0;t<n.length;++t)e.password+=w(n[t],b)},e.exports.serializeHost=D,e.exports.cannotHaveAUsernamePasswordPort=function(e){return null===e.host||""===e.host||e.cannotBeABaseURL||"file"===e.scheme},e.exports.serializeInteger=function(e){return String(e)},e.exports.parseURL=function(t,n){return void 0===n&&(n={}),e.exports.basicURLParse(t,{baseURL:n.baseURL,encodingOverride:n.encodingOverride})}},3146:e=>{"use strict";e.exports.mixin=function(e,t){const n=Object.getOwnPropertyNames(t);for(let r=0;r<n.length;++r)Object.defineProperty(e,n[r],Object.getOwnPropertyDescriptor(t,n[r]))},e.exports.wrapperSymbol=Symbol("wrapper"),e.exports.implSymbol=Symbol("impl"),e.exports.wrapperForImpl=function(t){return t[e.exports.wrapperSymbol]},e.exports.implForWrapper=function(t){return t[e.exports.implSymbol]}},9903:(e,t,n)=>{var r=n(1644);e.exports=function(e){var t,n,o,i;if(t=/^((?:rgb|hs[lv]|cmyk|xyz|lab)a?)\s*\(([^\)]*)\)/.exec(e)){var a=t[1],s="cmyk"===(d=a.replace(/a$/,""))?4:3;n=r[d],o=t[2].replace(/^\s+|\s+$/g,"").split(/\s*,\s*/).map((function(e,t){return/%$/.test(e)&&t===s?parseFloat(e)/100:(/%$/.test(e),parseFloat(e))})),a===d&&o.push(1),i=void 0===o[s]?1:o[s],o=o.slice(0,s),n[d]=function(){return o}}else if(/^#[A-Fa-f0-9]+$/.test(e)){var d;s=(d=e.replace(/^#/,"")).length,n=r.rgb,o=(o=d.split(3===s?/(.)/:/(..)/)).filter(Boolean).map((function(e){return 3===s?parseInt(e+e,16):parseInt(e,16)})),i=1,n.rgb=function(){return o},o[0]||(o[0]=0),o[1]||(o[1]=0),o[2]||(o[2]=0)}else(n=r.keyword).keyword=function(){return e},o=e,i=1;var p={rgb:void 0,hsl:void 0,hsv:void 0,cmyk:void 0,keyword:void 0,hex:void 0};try{p.rgb=n.rgb(o)}catch(e){}try{p.hsl=n.hsl(o)}catch(e){}try{p.hsv=n.hsv(o)}catch(e){}try{p.cmyk=n.cmyk(o)}catch(e){}try{p.keyword=n.keyword(o)}catch(e){}return p.rgb&&(p.hex="#"+p.rgb.map((function(e){var t=e.toString(16);return 1===t.length?"0"+t:t})).join("")),p.rgb&&(p.rgba=p.rgb.concat(i)),p.hsl&&(p.hsla=p.hsl.concat(i)),p.hsv&&(p.hsva=p.hsv.concat(i)),p.cmyk&&(p.cmyka=p.cmyk.concat(i)),p}},5633:e=>{function t(e){var t,n,r=e[0]/255,o=e[1]/255,i=e[2]/255,a=Math.min(r,o,i),s=Math.max(r,o,i),d=s-a;return s==a?t=0:r==s?t=(o-i)/d:o==s?t=2+(i-r)/d:i==s&&(t=4+(r-o)/d),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+s)/2,[t,100*(s==a?0:n<=.5?d/(s+a):d/(2-s-a)),100*n]}function n(e){var t,n,r=e[0],o=e[1],i=e[2],a=Math.min(r,o,i),s=Math.max(r,o,i),d=s-a;return n=0==s?0:d/s*1e3/10,s==a?t=0:r==s?t=(o-i)/d:o==s?t=2+(i-r)/d:i==s&&(t=4+(r-o)/d),(t=Math.min(60*t,360))<0&&(t+=360),[t,n,s/255*1e3/10]}function o(e){var n=e[0],r=e[1],o=e[2];return[t(e)[0],1/255*Math.min(n,Math.min(r,o))*100,100*(o=1-1/255*Math.max(n,Math.max(r,o)))]}function i(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-o)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-o-t)/(1-t)||0),100*t]}function a(e){return S[JSON.stringify(e)]}function s(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]}function d(e){var t=s(e),n=t[0],r=t[1],o=t[2];return r/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]}function p(e){var t,n,r,o,i,a=e[0]/360,s=e[1]/100,d=e[2]/100;if(0==s)return[i=255*d,i,i];t=2*d-(n=d<.5?d*(1+s):d+s-d*s),o=[0,0,0];for(var p=0;p<3;p++)(r=a+1/3*-(p-1))<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[p]=255*i;return o}function l(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*i),d=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,d,a];case 1:return[s,r,a];case 2:return[a,r,d];case 3:return[a,s,r];case 4:return[d,a,r];case 5:return[r,a,s]}}function c(e){var t,n,o,i,a=e[0]/360,s=e[1]/100,d=e[2]/100,p=s+d;switch(p>1&&(s/=p,d/=p),o=6*a-(t=Math.floor(6*a)),0!=(1&t)&&(o=1-o),i=s+o*((n=1-d)-s),t){default:case 6:case 0:r=n,g=i,b=s;break;case 1:r=i,g=n,b=s;break;case 2:r=s,g=n,b=i;break;case 3:r=s,g=i,b=n;break;case 4:r=i,g=s,b=n;break;case 5:r=n,g=s,b=i}return[255*r,255*g,255*b]}function u(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]}function m(e){var t,n,r,o=e[0]/100,i=e[1]/100,a=e[2]/100;return n=-.9689*o+1.8758*i+.0415*a,r=.0557*o+-.204*i+1.057*a,t=(t=3.2406*o+-1.5372*i+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]}function h(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function f(e){var t,n,r,o,i=e[0],a=e[1],s=e[2];return i<=8?o=(n=100*i/903.3)/100*7.787+16/116:(n=100*Math.pow((i+16)/116,3),o=Math.pow(n/100,1/3)),[t=t/95.047<=.008856?t=95.047*(a/500+o-16/116)/7.787:95.047*Math.pow(a/500+o,3),n,r=r/108.883<=.008859?r=108.883*(o-s/200-16/116)/7.787:108.883*Math.pow(o-s/200,3)]}function y(e){var t,n=e[0],r=e[1],o=e[2];return(t=360*Math.atan2(o,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+o*o),t]}function v(e){return m(f(e))}function k(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]}function T(e){return w[e]}e.exports={rgb2hsl:t,rgb2hsv:n,rgb2hwb:o,rgb2cmyk:i,rgb2keyword:a,rgb2xyz:s,rgb2lab:d,rgb2lch:function(e){return y(d(e))},hsl2rgb:p,hsl2hsv:function(e){var t=e[0],n=e[1]/100,r=e[2]/100;return 0===r?[0,0,0]:[t,2*(n*=(r*=2)<=1?r:2-r)/(r+n)*100,(r+n)/2*100]},hsl2hwb:function(e){return o(p(e))},hsl2cmyk:function(e){return i(p(e))},hsl2keyword:function(e){return a(p(e))},hsv2rgb:l,hsv2hsl:function(e){var t,n,r=e[0],o=e[1]/100,i=e[2]/100;return t=o*i,[r,100*(t=(t/=(n=(2-o)*i)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(e){return o(l(e))},hsv2cmyk:function(e){return i(l(e))},hsv2keyword:function(e){return a(l(e))},hwb2rgb:c,hwb2hsl:function(e){return t(c(e))},hwb2hsv:function(e){return n(c(e))},hwb2cmyk:function(e){return i(c(e))},hwb2keyword:function(e){return a(c(e))},cmyk2rgb:u,cmyk2hsl:function(e){return t(u(e))},cmyk2hsv:function(e){return n(u(e))},cmyk2hwb:function(e){return o(u(e))},cmyk2keyword:function(e){return a(u(e))},keyword2rgb:T,keyword2hsl:function(e){return t(T(e))},keyword2hsv:function(e){return n(T(e))},keyword2hwb:function(e){return o(T(e))},keyword2cmyk:function(e){return i(T(e))},keyword2lab:function(e){return d(T(e))},keyword2xyz:function(e){return s(T(e))},xyz2rgb:m,xyz2lab:h,xyz2lch:function(e){return y(h(e))},lab2xyz:f,lab2rgb:v,lab2lch:y,lch2lab:k,lch2xyz:function(e){return f(k(e))},lch2rgb:function(e){return v(k(e))}};var w={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},S={};for(var I in w)S[JSON.stringify(w[I])]=I},1644:(e,t,n)=>{var r=n(5633),o=function(){return new p};for(var i in r){o[i+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(i);var a=/(\w+)2(\w+)/.exec(i),s=a[1],d=a[2];(o[s]=o[s]||{})[d]=o[i]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=r[e](t);if("string"==typeof n||void 0===n)return n;for(var o=0;o<n.length;o++)n[o]=Math.round(n[o]);return n}}(i)}var p=function(){this.convs={}};p.prototype.routeSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n))},p.prototype.setValues=function(e,t){return this.space=e,this.convs={},this.convs[e]=t,this},p.prototype.getValues=function(e){var t=this.convs[e];if(!t){var n=this.space,r=this.convs[n];t=o[n][e](r),this.convs[e]=t}return t},["rgb","hsl","hsv","cmyk","keyword"].forEach((function(e){p.prototype[e]=function(t){return this.routeSpace(e,arguments)}})),e.exports=o},2929:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6579),o=n(2661),i=["em","ex","ch","rem","vw","vh","vmin","vmax","px","mm","cm","in","pt","pc","Q","vm"],a=["deg","grad","turn","rad"],s=["s","ms"],d=["Hz","kHz"],p=["dpi","dpcm","dppm"],l=["fr"],c=i.map((e=>e.toLowerCase())),u=a.map((e=>e.toLowerCase())),m=s.map((e=>e.toLowerCase())),h=d.map((e=>e.toLowerCase())),g=p.map((e=>e.toLowerCase())),f=l.map((e=>e.toLowerCase()));function y(e,t,n,r){const{source:o}=t;return new e(n,r,o)}t.newPunctuator=function(e,t){if(","===e.value||")"===e.value)return y(o.Punctuator,e,e.value,t);throw new Error(`illegal argument error "${e.value}"`)},t.newOperator=function(e,t){return y(o.Operator,e,e.value,t)},t.newString=function(e,t){return y(o.StringNode,e,e.value,t)},t.newWordNode=function(e,t){return function(e,t){if("word"===e.type){const n=r(e.value);if(n){const r=function(e,t,n){const{source:r}=t;if(!e.unit)return new o.NumberValue(e.number,n,r);const y=e.unit.toLowerCase();function v(t,o){const i=new t(e.number,o,n,r);return o!==e.unit&&(i.raws.unit={raw:e.unit,value:o}),i}let k;return(k=c.indexOf(y))>=0?v(o.LengthValue,i[k]):(k=u.indexOf(y))>=0?v(o.AngleValue,a[k]):(k=m.indexOf(y))>=0?v(o.TimeValue,s[k]):(k=h.indexOf(y))>=0?v(o.FrequencyValue,d[k]):(k=g.indexOf(y))>=0?v(o.ResolutionValue,p[k]):(k=f.indexOf(y))>=0?v(o.FlexValue,l[k]):"%"===y?v(o.PercentageValue,"%"):null}(n,e,t);if(r)return r}}return y(o.Word,e,e.value,t)}(e,t)},t.newFunction=function(e,t,n){return new o.FunctionNode(e.value,t,{start:e.source.start,end:n.source.end})},t.newParentheses=function(e,t){return new o.Parentheses(t,{start:e.source.start,end:e.source.end})},t.newMathExpression=function(e,t,n){const r="string"==typeof t?y(o.Operator,{source:{start:{index:0},end:{index:0}}},t," "):t,{before:i}=e.raws;return e.raws.before="",new o.MathExpression(e,r,n,i,{start:e.source.start,operator:r.source,end:n.source.end})}},7307:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2132);t.Parser=r.Parser;var o=n(2806);t.Tokenizer=o.Tokenizer;var i=n(9765);t.Stringifier=i.Stringifier;var a=n(4076);t.getResolvedType=a.getResolvedType;var s=n(9771);t.reduceExpression=s.reduce;var d=n(2929);t.newMathExpression=d.newMathExpression},2132:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3646),o=n(2661),i=n(2929),a=n(9342),s=n(6389),d=/^([^-+0-9.]|-[^+0-9.])/u,p={"*":3,"/":3,"+":2,"-":2};function l(e){return e.source||{start:{index:0},end:{index:0}}}function c(e){return e&&"Punctuator"!==e.type&&"Operator"!==e.type?e:null}t.Parser=class{constructor(e,t){this.tokenizer=e,this.root=new o.Root({start:{index:0},end:{index:0}}),this.rescans=[],this.tokens=this.root.tokens,this.errors=this.root.errors}parse(){let e={container:this.root,fnName:"",post(){},eof(){}};for(;e;)e=this.processExpressions(e);const{tokens:t}=this;return t.length>0&&(l(this.root).end.index=t[t.length-1].source.end.index),this.errors.unshift(...this.tokenizer.errors),this.errors.sort(((e,t)=>e.index-t.index)),this.root}reportParseError(e,t=0){if(this.errors.find((n=>n.code===e&&n.index===t)))return;const n=r.ParseError.fromCode(e,t);this.errors.push(n)}processExpressions(e){let t;for(;t=this.scan();){const{token:n}=t;switch(n.type){case"word":if(d.test(n.value)){const r=this.scan();if(r){if(!r.raws&&"punctuator"===r.token.type&&"("===r.token.value)return this.processFunction(n,t.raws,r.token,e);this.back(r)}}e.container.push(i.newWordNode(n,t.raws));break;case"string":e.container.push(i.newString(n,t.raws));break;case"operator":this.checkAndMergeMathExpr(e,p[n.value]),e.container.push(i.newOperator(n,t.raws));break;case"punctuator":return this.checkAndMergeMathExpr(e),this.processPunctuator(n,t.raws,e)}}return this.postStack(e),e.eof(),null}checkAndMergeMathExpr(e,t){const{container:n}=e,{nodes:r}=n;if(r.length>=3){const o=r[r.length-2];if("Operator"===o.type&&p[o.value]&&(null==t||t<=p[o.value])){const t=this.mergeMathExpr(e);t&&n.push(t)}}}processPunctuator(e,t,n){const{container:r,parent:o}=n;if("("===e.value){const o=i.newParentheses(e,t);return r.push(o),this.createNestedStateContainer(o,n.fnName,n)}if(this.postStack(n),")"===e.value){if(o)return n.post(e,t),o;this.reportParseError("unexpected-parenthesis",e.source.start.index)}return r.push(i.newPunctuator(e,t)),n}processFunction(e,t,n,r){const o=i.newFunction(e,t,n);return r.container.push(o),this.createNestedStateContainer(o,o.name,r)}createNestedStateContainer(e,t,n){return{container:e,parent:n,fnName:t,post(t,n){n&&(e.raws.beforeClose=n),l(e).end=t.source.end},eof:()=>{e.unclosed=!0;const t=this.tokens[this.tokens.length-1],r=e.last;r&&(l(e).end=l(r).end),this.reportParseError("eof-in-bracket",t.source.end.index),n.eof()}}}mergeMathExpr(e){const{container:{nodes:t}}=e,n=t.pop(),r=t.pop(),o=t.pop()||null,d=()=>{o&&t.push(o),t.push(r,n)},p=t=>{a.isMathFunction(e.fnName)&&this.reportParseError("unexpected-calc-token",l(t).start.index)},u=c(n);if(s.isComma(r))return u||p(n),d(),null;if(!o)return p(c(r)?n:r),d(),null;const m=c(o);return m?"Operator"!==r.type?(p(r),d(),null):u?i.newMathExpression(m,r,u):(p(n),d(),null):(p(c(t[t.length-1])?r:o),d(),null)}postStack(e){const{container:t}=e,{nodes:n}=t;for(;n.length>1;){const n=this.mergeMathExpr(e);if(!n)return;t.push(n)}}scan(){const e=this.rescans.shift();if(e)return e;let t="",n=this.tokenizer.nextToken();for(;n;){if(this.tokens.push(n),"whitespace"!==n.type&&"comment"!==n.type&&"inline-comment"!==n.type)return{token:n,raws:t};t+=n.value,n=this.tokenizer.nextToken()}return t&&(this.root.raws.after=t),null}back(e){this.rescans.unshift(e)}}},9771:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9342),o=n(6389);function i(e){if("Number"===e.type||"Length"===e.type||"Angle"===e.type||"Time"===e.type||"Frequency"===e.type||"Resolution"===e.type||"Percentage"===e.type||"Flex"===e.type)return e;if("MathExpression"===e.type)return function(e){const t=i(e.left),n=i(e.right);if(!t||!n)return null;switch(e.operator){case"+":case"-":return function(e,t,n){if(e.type!==n.type)return null;const r="-"===t?(e,t)=>e-t:(e,t)=>e+t;return"Number"===e.type?{type:"Number",value:r(e.value,n.value)}:e.unit===n.unit?{type:e.type,value:r(e.value,n.value),unit:e.unit}:null}(t,e.operator,n);case"/":return function(e,t){return"Number"!==t.type?null:"Number"===e.type?{type:"Number",value:e.value/t.value}:{type:e.type,value:e.value/t.value,unit:e.unit}}(t,n);case"*":return function(e,t){return"Number"===e.type?"Number"===t.type?{type:"Number",value:e.value*t.value}:{type:t.type,value:e.value*t.value,unit:t.unit}:"Number"===t.type?{type:e.type,value:e.value*t.value,unit:e.unit}:null}(t,n)}return null}(e);if("Parentheses"===e.type||"Root"===e.type){if(1===e.nodes.length)return i(e.nodes[0])}else if("Function"===e.type&&"Function"===e.type&&r.isCalc(e.name))return function(e){const t=o.getFunctionArguments(e);return t&&1===t.length?i(t[0]):null}(e);return null}t.reduce=function(e){return i(e)}},4076:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9342),o=n(6389);function i(e){const t=a(e.left),n=a(e.right),{operator:r}=e;switch(r){case"+":case"-":return"Unknown"===t||"Unknown"===n?"Unknown":t===n?t:"Number"===t||"Number"===n?"invalid":"Percentage"===t?n:"Percentage"===n?t:"invalid";case"*":return"Unknown"===t||"Unknown"===n?"Unknown":"Number"===t?n:"Number"===n?t:"invalid";case"/":return"Unknown"===n?"Unknown":"Number"===n?t:"invalid"}return"Unknown"}function a(e){if("MathExpression"===e.type){const t=i(e);return"invalid"===t?"Unknown":t}return"Parentheses"===e.type?1===e.nodes.length?a(e.nodes[0]):"Unknown":"Function"===e.type?r.isCalc(e.name)?1===(t=e).nodes.length?s(t):"Unknown":r.isMin(e.name)||r.isMax(e.name)?s(e):r.isClamp(e.name)?function(e){return 5===e.nodes.length?s(e):"Unknown"}(e):"Unknown":function(e){const{type:t}=e;return"Number"===t||"Length"===t||"Angle"===t||"Time"===t||"Frequency"===t||"Resolution"===t||"Percentage"===t||"Flex"===t?t:"Unknown"}(e);var t}function s(e){const t=o.getFunctionArguments(e);if(!t)return"Unknown";const n=t.map(a);let r=null;for(const e of n)if(r&&"Percentage"!==r){if("Percentage"===e);else if(r!==e)return"Unknown"}else r=e;return r||"Unknown"}t.getResolvedType=i},9765:(e,t)=>{"use strict";function n(e,t){const n=e.raws[t];return n?n.raw:`${e[t]}`}function r(e,t){return e.raws[t]||""}function o(e,t){return`${r(e,"before")}${t}`}function i(e){return o(e,`${n(e,"value")}${n(e,"unit")}`)}Object.defineProperty(t,"__esModule",{value:!0}),t.Stringifier=class{constructor(e){this.options=Object.assign({autofix:!1},e||{})}stringify(e){return this[e.type](e)}Root(e){let t="";for(const n of e.nodes)t+=this.stringify(n);return t+=r(e,"after"),t}Function(e){let t=`${e.name}(`;for(const n of e.nodes)t+=this.stringify(n);return t+=r(e,"beforeClose"),!this.options.autofix&&e.unclosed||(t+=")"),o(e,t)}Parentheses(e){let t="(";for(const n of e.nodes)t+=this.stringify(n);return t+=r(e,"beforeClose"),!this.options.autofix&&e.unclosed||(t+=")"),o(e,t)}MathExpression(e){let t="",n=r(e,"between"),i="",a="";return this.options.autofix&&(n||(n=" "),e.right.raws.before||(i=" "),"MathExpression"===e.left.type&&("+"!==e.left.operator&&"-"!==e.left.operator||"*"!==e.operator&&"/"!==e.operator||(t+="(",n=`)${n}`)),"MathExpression"===e.right.type&&(("+"!==e.operator||"-"!==e.right.operator)&&("-"!==e.operator&&"*"!==e.operator||"+"!==e.right.operator&&"-"!==e.right.operator)&&"/"!==e.operator||(i+="(",a=`)${a}`))),o(e,`${t}${this.stringify(e.left)}${n}${e.operator}${i}${this.stringify(e.right)}${a}`)}Number(e){return o(e,n(e,"value"))}Punctuator(e){return o(e,e.value)}Word(e){return o(e,e.value)}String(e){return o(e,e.value)}Operator(e){return o(e,e.value)}Length(e){return i(e)}Angle(e){return i(e)}Time(e){return i(e)}Frequency(e){return i(e)}Resolution(e){return i(e)}Percentage(e){return i(e)}Flex(e){return i(e)}word(e){return e.value}punctuator(e){return e.value}operator(e){return e.value}whitespace(e){return e.value}comment(e){return e.value}string(e){return e.value}"inline-comment"(e){return e.value}}},2806:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3646),o=n(4587);function i(e){return e===o.LPAREN||e===o.RPAREN||e===o.COMMA}function a(e){return o.isDigit(e)||e===o.DOT}function s(e){return e===o.DQUOTE||e===o.SQUOTE}function d(e){return e===o.LPAREN?o.RPAREN:e===o.LBRACE?o.RBRACE:o.RBRACKET}t.Tokenizer=class{constructor(e,t){this.lastCode=o.NULL,this.rescan=!1,this.token=null,this.lastTokenType=null,this.errors=[],this.text=e,this.offset=-1,this.state="SCAN",this.nextTokenOffset=0,this.options=Object.assign({allowInlineCommnets:!0},t||{})}nextToken(){for(;null==this.token;){const e=this.scan();if(this.state=this[this.state](e)||"SCAN",e===o.EOF&&!this.rescan)break}const{token:e}=this;return this.token=null,e}scan(){return this.rescan?(this.rescan=!1,this.lastCode):this.next()}next(){return this.offset<this.text.length&&this.offset++,this.offset>=this.text.length?this.lastCode=o.EOF:this.lastCode=this.text.charCodeAt(this.offset)}back(){this.rescan=!0}reportParseError(e){const t=r.ParseError.fromCode(e,this.offset);this.errors.push(t)}getCode(e=0){return this.text.charCodeAt(this.nextTokenOffset+e)}commitToken(e,t=0){const n=this.nextTokenOffset,r=this.offset+t+1,o=this.text.slice(n,r);this.token={type:e,value:o,source:{start:{index:n},end:{index:r}}},this.nextTokenOffset=r,this.lastTokenType=e}SCAN(e){return o.isWhitespace(e)?"WHITESPACE":e===o.DQUOTE?"DQUOTE":e===o.SQUOTE?"SQUOTE":e===o.SLASH?"SLASH":e===o.MINUS?"MINUS":e===o.PLUS?"PLUS":e===o.STAR?(this.commitToken("operator"),"SCAN"):i(e)?(this.commitToken("punctuator"),"SCAN"):e===o.LBRACKET?"LBRACKET":e===o.LBRACE?"LBRACE":e===o.EOF?"SCAN":"WORD"}WORD(e){for(;!o.isWhitespace(e)&&!i(e)&&e!==o.PLUS&&e!==o.STAR&&e!==o.SLASH&&!s(e)&&e!==o.EOF;){if(e===o.MINUS){const e=this.getCode();if(a(e)||(e===o.MINUS||e===o.PLUS)&&a(this.getCode(1)))return this.commitToken("word",-1),"MINUS"}else e!==o.LBRACE&&e!==o.LBRACKET&&e!==o.LPAREN||this.skipBrakets(this.next(),d(e));e=this.next()}this.commitToken("word",-1),this.back()}LBRACKET(e){return this.skipBrakets(e,o.RBRACKET),"WORD"}LBRACE(e){return this.skipBrakets(e,o.RBRACE),"WORD"}WHITESPACE(e){for(;o.isWhitespace(e);)e=this.next();this.commitToken("whitespace",-1),this.back()}SLASH(e){return e===o.STAR?"COMMENT":e===o.SLASH&&this.options.allowInlineCommnets?"INLINE_COMMENT":(this.commitToken("operator",-1),void this.back())}COMMENT(e){for(;e!==o.EOF;){if(e===o.STAR&&(e=this.next())===o.SLASH)return void this.commitToken("comment");e=this.next()}this.commitToken("comment",-1),this.reportParseError("eof-in-comment")}INLINE_COMMENT(e){for(;e!==o.EOF;){if(e===o.LF||e===o.FF)return void this.commitToken("inline-comment");if(e===o.CR)return(e=this.next())===o.LF?void this.commitToken("inline-comment"):(this.commitToken("inline-comment",-1),this.back());e=this.next()}this.commitToken("inline-comment",-1)}MINUS(e){return"word"===this.lastTokenType||e===o.EOF||e!==o.MINUS&&!a(e)&&!o.isLetter(e)?(this.commitToken("operator",-1),void this.back()):"WORD"}PLUS(e){if("word"!==this.lastTokenType&&a(e))return"WORD";this.commitToken("operator",-1),this.back()}DQUOTE(e){this.skipString(e,o.DQUOTE)}SQUOTE(e){this.skipString(e,o.SQUOTE)}skipBrakets(e,t){const n=[];for(;e!==o.EOF;){if(t===e){const e=n.pop()||null;if(!e)return;t=e}else e!==o.LBRACE&&e!==o.LBRACKET&&e!==o.LPAREN||(t&&n.push(t),t=d(e));e=this.next()}this.reportParseError("eof-in-bracket")}skipString(e,t){for(;e!==o.EOF;){if(e===o.BACKSLASH)e=this.next();else if(e===t)return void this.commitToken("string");e=this.next()}this.commitToken("string",-1),this.reportParseError("eof-in-string")}}},9342:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=/^(-(webkit|mox)-)?calc/iu,r=/^(-(webkit|mox)-)?min/iu,o=/^(-(webkit|mox)-)?max/iu,i=/^(-(webkit|mox)-)?clamp/iu;function a(e){return n.test(e)}function s(e){return r.test(e)}function d(e){return o.test(e)}function p(e){return i.test(e)}t.isCalc=a,t.isMin=s,t.isMax=d,t.isClamp=p,t.isMathFunction=function(e){return a(e)||p(e)||s(e)||d(e)}},2661:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9765);let o=null;class i{constructor(){this.parent=null}toString(e){return"function"==typeof e?e(this):(e||o||(o=new r.Stringifier)).stringify(this)}walk(e,t){const n=this;let r;const o=[...n.nodes||[],n.left,n.right].filter((e=>Boolean(e))),i="string"==typeof e?t=>t.type===e:t=>e.test(t.type);for(const n of o){if(i(n)&&(r=t(n),!1===r))break;if(n.walk&&(r=n.walk(e,t),!1===r))break}return r}}class a extends i{push(...e){for(const t of e)"Root"===t.type?this.push(...t.nodes):(t.parent=this,this.nodes.push(t));return this}unshift(...e){for(const t of e.reverse())"Root"===t.type?this.unshift(...t.nodes):(t.parent=this,this.nodes.unshift(t));return this}append(...e){return this.push(...e)}prepend(...e){return this.unshift(...e)}insertBefore(e,t){if("Root"===t.type){const{nodes:n}=t;if(1===n.length)return this.insertBefore(e,n[0]);throw new Error("The given Root node is illegal.")}const n=this.nodes.indexOf(e);if(n<0)throw new Error("The given node could not be found.");return t.parent=this,this.nodes.splice(n,0,t),this}insertAfter(e,t){if("Root"===t.type){const{nodes:n}=t;if(1===n.length)return this.insertAfter(e,n[0]);throw new Error("The given Root node is illegal.")}const n=this.nodes.indexOf(e);if(n<0)throw new Error("The given node could not be found.");return t.parent=this,this.nodes.splice(n+1,0,t),this}removeAll(){for(const e of this.nodes)e.parent=null;return this.nodes=[],this}removeChild(e){const t=this.nodes.indexOf(e);return this.nodes[t].parent=null,this.nodes.splice(t,1),this}get first(){return this.nodes[0]||null}get last(){return this.nodes[this.nodes.length-1]||null}}t.NumberValue=class extends i{constructor(e,t,n){super();const r=parseFloat(e);this.type="Number",this.value=r,this.raws={before:t,value:{raw:e,value:r}},this.source=n}};class s extends i{constructor(e,t,n,r,o){super();const i=parseFloat(t);this.type=e,this.value=i,this.unit=n,this.raws={before:r,value:{raw:t,value:i}},this.source=o}}t.LengthValue=class extends s{constructor(e,t,n,r){super("Length",e,t,n,r)}},t.AngleValue=class extends s{constructor(e,t,n,r){super("Angle",e,t,n,r)}},t.TimeValue=class extends s{constructor(e,t,n,r){super("Time",e,t,n,r)}},t.FrequencyValue=class extends s{constructor(e,t,n,r){super("Frequency",e,t,n,r)}},t.ResolutionValue=class extends s{constructor(e,t,n,r){super("Resolution",e,t,n,r)}},t.PercentageValue=class extends s{constructor(e,t,n,r){super("Percentage",e,t,n,r)}},t.FlexValue=class extends s{constructor(e,t,n,r){super("Flex",e,t,n,r)}};class d extends i{constructor(e,t,n,r){super(),this.type=e,this.value=t,this.raws={before:n},this.source=r}}function p(e,t,n){const r=Symbol(`${t}`);Object.defineProperties(e,{[r]:{writable:!0,enumerable:!1},[t]:{get(){return this[r]},set(e){const t=this[r];this[r]=n(e,t)},enumerable:!0}})}t.Word=class extends d{constructor(e,t,n){super("Word",e,t,n)}},t.StringNode=class extends d{constructor(e,t,n){super("String",e,t,n)}},t.MathExpression=class extends i{constructor(e,t,n,r,o){super();const i=t.value,a=t.raws.before;this.type="MathExpression";const s=(e,t)=>{let n;if("Root"===e.type){const{nodes:t}=e;if(1!==t.length)throw new Error("The given Root node is illegal.");n=t[0]}else n=e;return n.parent=this,t&&(t.parent=null),n};p(this,"left",s),this.left=e,this.operator=i,p(this,"right",s),this.right=n,this.raws={before:r,between:a},this.source=o}},t.FunctionNode=class extends a{constructor(e,t,n){super(),this.type="Function",this.name=e,this.nodes=[],this.raws={before:t},this.source=n}},t.Parentheses=class extends a{constructor(e,t){super(),this.type="Parentheses",this.nodes=[],this.raws={before:e},this.source=t}},t.Punctuator=class extends d{constructor(e,t,n){super("Punctuator",e,t,n)}},t.Root=class extends a{constructor(e){super(),this.type="Root",this.nodes=[],this.tokens=[],this.errors=[],this.raws={after:""},this.source=e}},t.Operator=class extends d{constructor(e,t,n){super("Operator",e,t,n)}}},4587:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EOF=-1,t.NULL=0,t.TAB=9,t.CR=13,t.LF=10,t.FF=12,t.SPACE=32,t.DQUOTE=34,t.SQUOTE=39,t.LPAREN=40,t.RPAREN=41,t.STAR=42,t.PLUS=43,t.COMMA=44,t.MINUS=45,t.DOT=46,t.SLASH=47,t.LBRACKET=91,t.BACKSLASH=92,t.RBRACKET=93,t.LBRACE=123,t.RBRACE=125,t.isWhitespace=function(e){return e===t.TAB||e===t.LF||e===t.FF||e===t.CR||e===t.SPACE},t.isDigit=function(e){return e>=48&&e<=57},t.isLetter=function(e){return e>=97&&e<=122||e>=65&&e<=90}},6389:(e,t)=>{"use strict";function n(e){return"Punctuator"===e.type&&","===e.value}Object.defineProperty(t,"__esModule",{value:!0}),t.isComma=n,t.getFunctionArguments=function(e){const{nodes:t}=e,r=t[0];if(!r||n(r))return null;const o=[r],i=t.length;for(let e=1;e<i;e++){if(!n(t[e++]))return null;const r=t[e];if(!r||n(r))return null;o.push(r)}return o}},1367:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3646);t.AST=r;const o=n(7307);function i(e,t){const n=new o.Tokenizer(e,t);return new o.Parser(n,t).parse()}function a(e,t){return new o.Stringifier(t).stringify(e)}t.Parser=o.Parser,t.Tokenizer=o.Tokenizer,t.Stringifier=o.Stringifier,t.getResolvedType=o.getResolvedType,t.reduceExpression=o.reduceExpression,t.mathExpr=o.newMathExpression,t.parse=i,t.stringify=a,t.default={parse:i,stringify:a,getResolvedType:o.getResolvedType,reduceExpression:o.reduceExpression,mathExpr:o.newMathExpression,Parser:o.Parser,Tokenizer:o.Tokenizer,Stringifier:o.Stringifier,AST:r}},1315:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends SyntaxError{static fromCode(e,t){return new n(r[e],e,t)}constructor(e,t,n){super(e),this.code=t,this.index=n}}t.ParseError=n;const r={"eof-in-string":"Unclosed string","eof-in-comment":"Unclosed comment","eof-in-bracket":"Unclosed bracket","unexpected-parenthesis":"Unexpected token","unexpected-calc-token":"Unexpected token"}},3646:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(1315))},6579:e=>{var t="-".charCodeAt(0),n="+".charCodeAt(0),r=".".charCodeAt(0),o="e".charCodeAt(0),i="E".charCodeAt(0);e.exports=function(e){for(var a,s=0,d=e.length,p=!1,l=-1,c=!1;s<d;){if((a=e.charCodeAt(s))>=48&&a<=57)c=!0;else if(a===o||a===i){if(l>-1)break;l=s}else if(a===r){if(p)break;p=!0}else{if(a!==n&&a!==t)break;if(0!==s)break}s+=1}return l+1===s&&s--,!!c&&{number:e.slice(0,s),unit:e.slice(s)}}},9471:(e,t,n)=>{var r;!function(){"use strict";var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function i(e){return function(e,t){var n,r,a,s,d,p,l,c,u,m=1,h=e.length,g="";for(r=0;r<h;r++)if("string"==typeof e[r])g+=e[r];else if("object"==typeof e[r]){if((s=e[r]).keys)for(n=t[m],a=0;a<s.keys.length;a++){if(null==n)throw new Error(i('[sprintf] Cannot access property "%s" of undefined value "%s"',s.keys[a],s.keys[a-1]));n=n[s.keys[a]]}else n=s.param_no?t[s.param_no]:t[m++];if(o.not_type.test(s.type)&&o.not_primitive.test(s.type)&&n instanceof Function&&(n=n()),o.numeric_arg.test(s.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(i("[sprintf] expecting number but found %T",n));switch(o.number.test(s.type)&&(c=n>=0),s.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,s.width?parseInt(s.width):0);break;case"e":n=s.precision?parseFloat(n).toExponential(s.precision):parseFloat(n).toExponential();break;case"f":n=s.precision?parseFloat(n).toFixed(s.precision):parseFloat(n);break;case"g":n=s.precision?String(Number(n.toPrecision(s.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=s.precision?n.substring(0,s.precision):n;break;case"t":n=String(!!n),n=s.precision?n.substring(0,s.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=s.precision?n.substring(0,s.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=s.precision?n.substring(0,s.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}o.json.test(s.type)?g+=n:(!o.number.test(s.type)||c&&!s.sign?u="":(u=c?"+":"-",n=n.toString().replace(o.sign,"")),p=s.pad_char?"0"===s.pad_char?"0":s.pad_char.charAt(1):" ",l=s.width-(u+n).length,d=s.width&&l>0?p.repeat(l):"",g+=s.align?u+n+d:"0"===p?u+d+n:d+u+n)}return g}(function(e){if(s[e])return s[e];for(var t,n=e,r=[],i=0;n;){if(null!==(t=o.text.exec(n)))r.push(t[0]);else if(null!==(t=o.modulo.exec(n)))r.push("%");else{if(null===(t=o.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){i|=1;var a=[],d=t[2],p=[];if(null===(p=o.key.exec(d)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(p[1]);""!==(d=d.substring(p[0].length));)if(null!==(p=o.key_access.exec(d)))a.push(p[1]);else{if(null===(p=o.index_access.exec(d)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(p[1])}t[2]=a}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return s[e]=r}(e),arguments)}function a(e,t){return i.apply(null,[e].concat(t||[]))}var s=Object.create(null);t.sprintf=i,t.vsprintf=a,"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=a,void 0===(r=function(){return{sprintf:i,vsprintf:a}}.call(t,n,t,e))||(e.exports=r))}()},9679:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Supernova=void 0;const r=n(2261),o=n(4855),i=n(9634),a=n(5346),s=n(3172),d=n(5508),p=n(2442),l=n(348),c=n(3511),u=n(6074),m=n(1270),h=n(9544),g=n(7519),f=n(9811),y=n(5814),v=n(6814),k=n(3033),T=n(9050),b=n(9919),w=n(9656),S=n(7322);t.Supernova=class{constructor(e,t){var n,I,D;this.requestHook=null!==(n=t.requestHook)&&void 0!==n?n:null,this.apiKey=e,this.apiUrl=null!==(I=null==t?void 0:t.apiUrl)&&void 0!==I?I:b.Configuration.apiUrlForDefaultEnvironment(),this.apiVersion=b.Configuration.apiVersionForDefaultEnvironment(),this.dataCore=new S.DataCore(new w.DataBridge({apiUrl:this.apiUrl,apiVersion:this.apiVersion,accessToken:this.apiKey,bypassEnvFetch:null!==(D=t.bypassEnvFetch)&&void 0!==D&&D,target:null,requestHook:this.requestHook,proxyUrl:null==t?void 0:t.proxyUrl})),this.workspaces=new T.AreaWorkspaces(this.dataCore),this.designSystems=new p.AreaDesignSystems(this.dataCore),this.versions=new k.AreaVersions(this.dataCore),this.brands=new i.AreaBrands(this.dataCore),this.me=new u.AreaMe(this.dataCore),this.tokens=new y.AreaTokens(this.dataCore),this.components=new s.AreaComponents(this.dataCore),this.assets=new r.AreaAssets(this.dataCore),this.resources=new g.AreaResources(this.dataCore),this.documentation=new l.AreaDocumentation(this.dataCore),this.automation=new o.AreaAutomation(this.dataCore),this.users=new v.AreaUsers(this.dataCore),this.integrations=new c.AreaIntegrations(this.dataCore),this.dataSources=new d.AreaDataSources(this.dataCore),this.bulkOperations=new a.AreaBulkOperations(this.dataCore),this.storage=new f.AreaStorage(this.dataCore),this.network=new h.AreaNetwork(this.dataCore),this.multiplayer=new m.AreaMultiplayer(this.dataCore)}}},2261:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AreaAssets=void 0,t.AreaAssets=class{constructor(e){this.dataCore=e}async getAssets(e){return this.dataCore.assets(e.designSystemId,e.versionId)}async getAssetGroups(e){return this.dataCore.assetGroups(e.designSystemId,e.versionId)}async getRenderedAssets(e,t,n,r,o){const i=[{format:r,scale:o,prefix:"",suffix:""}];return this.dataCore.renderedAssets(e.designSystemId,e.versionId,t,n,i)}async getRenderedFigmaFrames(e,t){return this.dataCore.renderedFigmaFrames(e.designSystemId,e.versionId,t)}async dataThroughCorsProxy(e){return this.dataCore.dataThroughCorsProxy(e)}}},4855:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AreaAutomation=void 0,t.AreaAutomation=class{constructor(e){this.dataCore=e}async getPipelines(e,t){return this.dataCore.pipelines(e,t)}async getGithubConnections(){return this.dataCore.githubConnections()}async getGithubAccounts(e){return this.dataCore.githubAccounts(e)}async getGithubRepositories(e,t){return this.dataCore.githubRepositories(e,t)}async getGithubBranches(e,t,n){return this.dataCore.githubBranches(e,t,n)}async getGitlabConnections(){return this.dataCore.gitlabConnections()}async getGitlabGroups(e){return this.dataCore.gitlabGroups(e)}async getGitlabRepositories(e,t){return this.dataCore.gitlabRepositories(e,t)}async getGitlabBranches(e,t){return this.dataCore.gitlabBranches(e,t)}async getAzureConnections(){return this.dataCore.azureConnections()}async getAzureOrganizations(e){return this.dataCore.azureOrganizations(e)}async getAzureProjects(e,t){return this.dataCore.azureProjects(e,t)}async getAzureRepositories(e,t,n){return this.dataCore.azureRepositories(e,t,n)}async getAzureBranches(e,t,n,r){return this.dataCore.azureBranches(e,t,n,r)}async getBitbucketConnections(){return this.dataCore.bitbucketConnections()}async getBitbucketWorkspaces(e){return this.dataCore.bitbucketWorkspaces(e)}async getBitbucketProjects(e,t){return this.dataCore.bitbucketProjects(e,t)}async getBitbucketRepositories(e,t,n){return this.dataCore.bitbucketRepositories(e,t,n)}async getBitbucketBranches(e,t,n,r){return this.dataCore.bitbucketBranches(e,t,n,r)}async getExportBuilds(e,t){return this.dataCore.exportBuilds(e,t)}async getExportBuildLogs(e,t){return this.dataCore.buildLogs(e,t)}async getExporters(e,t){return this.dataCore.exporters(e,t)}async updateExporter(e,t,n){return this.dataCore.updateExporter(e,t,n)}async updateExporterConfigurationPropertyValue(e,t,n,r){await this.dataCore.updateExporterConfigurationPropertyValue(e,t,n,r)}async deleteExporterConfigurationPropertyValue(e,t,n){await this.dataCore.deleteExporterConfigurationPropertyValue(e,t,n)}async deleteExporter(e,t){return this.dataCore.deleteExporter(e,t)}async pullLatestExporter(e,t){return this.dataCore.pullLatestExporter(e,t)}async getExporterConfiguration(e,t,n){return this.dataCore.exporterConfigurationProperties(t,e,n)}async getExporterBlockVariants(e,t){return this.dataCore.documentationExporterCustomVariants(e,t)}async getImportJobs(e){return this.dataCore.getImportJobs(e.designSystemId,e.versionId)}async getImportJob(e,t){return this.dataCore.getImportJob(e.designSystemId,e.versionId,t)}async scheduleImportJobForFigmaSources(e,t,n=!1){return this.dataCore.scheduleImportJobForFigmaSources(e.designSystemId,e.versionId,t,n)}async createPipeline(e,t){return this.dataCore.createPipeline(e,t)}async updatePipeline(e,t){return this.dataCore.updatePipeline(e,t)}async runPipeline(e,t,n){return this.dataCore.runPipeline(e,t,n)}async createExporter(e,t){return this.dataCore.createExporter(e,t)}async deletePipeline(e,t){return this.dataCore.deletePipeline(e,t)}}},9634:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AreaBrands=void 0,t.AreaBrands=class{constructor(e){this.dataCore=e}async getBrands(e){return this.dataCore.getBrands(e.designSystemId,e.versionId)}async getBrand(e){return this.dataCore.getBrand(e.designSystemId,e.versionId,e.brandId)}async createBrand(e,t){return this.dataCore.createBrand(e.designSystemId,e.versionId,t)}async editBrand(e,t){await this.dataCore.editBrand(e.designSystemId,e.versionId,e.brandId,t)}async deleteBrand(e){await this.dataCore.deleteBrand(e.designSystemId,e.versionId,e.brandId)}}},5346:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AreaBulkOperations=void 0,t.AreaBulkOperations=class{constructor(e){this.dataCore=e}async importTokens(e,t,n,r,o,i){return this.dataCore.importTokens(e,t,n,r,o,i)}async updateTokenData(e,t){return this.dataCore.bulkUpdateTokenData(e.designSystemId,e.versionId,t)}async updateComponentData(e,t){return this.dataCore.bulkUpdateComponentData(e.designSystemId,e.versionId,t)}}},3172:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AreaComponents=void 0;const r=n(7187),o=n(7038),i=n(4379);t.AreaComponents=class{constructor(e){this.dataCore=e}async getComponents(e,t){return this.dataCore.components(e.designSystemId,e.versionId,t)}async getComponentGroups(e){throw i.SupernovaError.fromMessage("getComponentGroups should not be used right now. Components form a flat list and root group can be safely ignored.")}async getDesignComponents(e,t){return this.dataCore.designComponents(e.designSystemId,e.versionId,t)}async getDesignComponentGroups(e,t){return this.dataCore.designComponentGroups(e.designSystemId,e.versionId,t)}async getComponentProperties(e){return this.dataCore.elementPropertyDefinitions(e.designSystemId,e.versionId,r.ElementPropertyTargetElementType.component)}async getComponentPropertyValues(e){return this.dataCore.elementPropertyValues(e.designSystemId,e.versionId)}async getComponentDataViews(e){return this.dataCore.elementViews(e.designSystemId,e.versionId,r.ElementPropertyTargetElementType.component)}async createComponent(e,t){return this.dataCore.createComponent(e.designSystemId,e.versionId,t)}createLocalComponent(e,t){return o.ComponentUtils.createDefaultComponent(e,t)}async createComponentGroup(e,t){return this.dataCore.createComponentGroup(e.designSystemId,e.versionId,t)}createLocalComponentGroup(e,t){return o.ComponentUtils.createDefaultComponentGroup(e,t)}async updateComponent(e,t){return this.dataCore.updateComponent(e.designSystemId,e.versionId,t)}async updateComponentGroup(e,t){return this.dataCore.updateComponentGroup(e.designSystemId,e.versionId,t)}async updateComponentPropertyValue(e,t,n,r){return this.dataCore.updateComponentPropertyValue(e.designSystemId,e.versionId,t,n,r)}async deleteComponentPropertyValue(e,t){return this.dataCore.deleteComponentPropertyValue(e.designSystemId,e.versionId,t)}async createComponentProperty(e,t){return this.dataCore.createComponentProperty(e.designSystemId,e.versionId,t)}async updateComponentProperty(e,t,n){return this.dataCore.updateComponentProperty(e.designSystemId,e.versionId,t,n)}async deleteComponentProperty(e,t){return this.dataCore.deleteComponentProperty(e.designSystemId,e.versionId,t)}async updateResizeComponentColumn(e,t,n,r){return this.dataCore.updateResizeComponentColumn(e.designSystemId,e.versionId,t,n,r)}async updateReorderComponentColumn(e,t,n,r){return this.dataCore.updateReorderComponentColumn(e.designSystemId,e.versionId,t,n,r)}async deleteComponent(e,t){return this.dataCore.deleteComponent(e.designSystemId,e.versionId,t)}async ungroupComponentGroup(e,t){return this.dataCore.ungroupComponentGroup(e.designSystemId,e.versionId,t)}async deleteComponentGroup(e,t,n,r){return this.dataCore.deleteComponentGroup(e.designSystemId,e.versionId,t,n,r)}}},5508:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AreaDataSources=void 0,t.AreaDataSources=class{constructor(e){this.dataCore=e}async getDataSourceById(e,t){return this.dataCore.designSystemSource(e.designSystemId,t)}async getDataSources(e){return this.dataCore.designSystemSources(e.designSystemId)}async getFigmaNodeStructures(e){return this.dataCore.getFigmaNodeStructures(e.designSystemId,e.versionId)}async getFigmaNodeStructureDetail(e){return this.dataCore.getFigmaNodeStructureDetail(e.designSystemId,e.versionId,e.figmaStructureId)}async linkFigmaSource(e,t,n){return this.dataCore.linkFigmaSource(e.designSystemId,e.brandId,t,n)}async updateFigmaSource(e,t,n){return this.dataCore.updateFigmaSource(e.designSystemId,t,n)}async updateFigmaSourceClaimOwnership(e,t){return this.dataCore.updateFigmaSourceClaimOwnership(e.designSystemId,t)}async deleteFigmaSource(e,t){return this.dataCore.deleteFigmaSource(e.designSystemId,t)}}},2442:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AreaDesignSystems=void 0,t.AreaDesignSystems=class{constructor(e){this.dataCore=e}async designSystems(e){return this.dataCore.designSystems(e)}async designSystemsByUserId(e){return this.dataCore.designSystemsByUserId(e)}async designSystem(e){return this.dataCore.designSystem(e)}async designSystemCustomDomain(e){return this.dataCore.designSystemCustomDomain(e)}async createDesignSystem(e,t,n){return this.dataCore.createDesignSystem(e,t,n)}async getBlockDefinitions(e,t){return this.dataCore.getBlockDefinitions(e,t)}async getUrlPreview(e,t,n){return this.dataCore.getUrlPreview(e,t,n)}async updateDesignSystemMetadata(e,t,n){return this.dataCore.updateDesignSystemMetadata(e,t,n)}async updateDesignSystemIsMultibrand(e,t){return this.dataCore.updateDesignSystemIsMultibrand(e,t)}async updateDesignSystemSwitcher(e,t){return this.dataCore.updateDesignSystemSwitcher(e,t)}async updateDesignSystemDocExporterId(e,t){return this.dataCore.updateDesignSystemDocExporterId(e,t)}async updateDesignSystemDocumentationSlug(e,t){return this.dataCore.updateDesignSystemDocumentationSlug(e,t)}async updateDesignSystemCustomDomain(e,t){return this.dataCore.updateCustomDomain(e,t)}async deleteDesignSystem(e){return this.dataCore.deleteDesignSystem(e)}async deleteDesignSystemCustomDomain(e){return this.dataCore.deleteCustomDomain(e)}async startSslGenerationForCustomDomain(e){return this.dataCore.startSslGenerationForCustomDomain(e)}}},348:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AreaDocumentation=void 0;const r=n(4843),o=n(3539),i=n(5883),a=n(7862),s=n(9887),d=n(4020),p=n(3634),l=n(1311),c=n(424),u=n(9320),m=n(8622),h=n(1299),g=n(1436),f=n(6272),y=n(4738),v=n(1555),k=n(8134),T=n(9195),b=n(9867),w=n(8952),S=n(1318),I=n(1880),D=n(2980),_=n(2039),P=n(307),x=n(15),C=n(2858),O=n(1427),B=n(7021),E=n(9031),R=n(5542),A=n(1241),N=n(9883);t.AreaDocumentation=class{constructor(e){this.dataCore=e}async getDocumentation(e){return this.dataCore.documentation(e.workspaceId,e.designSystemId,e.versionId)}async getDocumentationStructure(e){return this.dataCore.getDocumentationStructure(e.designSystemId,e.versionId)}async getDocumentationUrl(e){return this.dataCore.documentationDomain(e.designSystemId,e.versionId)}async isPublishing(e,t){const n=(await this.dataCore.documentationBuilds(e.workspaceId,e.versionId,t,void 0,void 0,1))[0];return n&&n.status===N.ExportBuildStatus.InProgress?{status:A.DocsPublishStatus.inProgress,job:n}:{status:A.DocsPublishStatus.idle,job:null}}async getDocumentationBuild(e,t){return this.dataCore.documentationBuild(e,t)}async getDocumentationBuilds(e,t,n,r,o,i=1){return this.dataCore.documentationBuilds(e,t,n,r,o,i)}async updateDocumentationStructure(e,t){await this.dataCore.updateDocumentationStructure(e.designSystemId,e.versionId,t)}async createDocumentationPage(e,t){return this.dataCore.createDocumentationPage(e.designSystemId,e.versionId,t)}async createDocumentationGroup(e,t){return this.dataCore.createDocumentationGroup(e.designSystemId,e.versionId,t)}async createDocumentationTab(e,t){return this.dataCore.createDocumentationTab(e.designSystemId,e.versionId,t)}async updateDocumentationGroup(e,t){return this.dataCore.updateDocumentationGroup(e.designSystemId,e.versionId,t)}async moveDocumentationPage(e,t){return this.dataCore.moveDocumentationPage(e.designSystemId,e.versionId,t)}async moveDocumentationGroup(e,t){return this.dataCore.moveDocumentationGroup(e.designSystemId,e.versionId,t)}async deleteDocumentationGroup(e,t){return this.dataCore.deleteDocumentationGroup(e.designSystemId,e.versionId,t)}async deleteDocumentationGroupAndTree(e,t){return this.dataCore.deleteDocumentationGroupAndTree(e.designSystemId,e.versionId,t)}async deleteDocumentationPage(e,t){return this.dataCore.deleteDocumentationPage(e.designSystemId,e.versionId,{id:t})}async deleteDocumentationTabGroup(e,t){return this.dataCore.deleteDocumentationTabGroup(e.designSystemId,e.versionId,{id:t})}async updateDocumentationPageOrTab(e,t){return this.dataCore.updateDocumentationPageOrTab(e.designSystemId,e.versionId,t)}async duplicateDocumentationPageOrTab(e,t){return this.dataCore.duplicateDocumentationPageOrTab(e.designSystemId,e.versionId,t)}async duplicateDocumentationGroupOrTabbedPage(e,t){await this.dataCore.duplicateDocumentationGroupOrTabbedPage(e.designSystemId,e.versionId,t)}async ungroupDocumentationGroup(e,t){return this.dataCore.ungroupDocumentationGroup(e.designSystemId,e.versionId,t)}async getDocumentationStructureFromRoot(e){throw new Error("Not implemented")}async getDocumentationFromRoot(e){throw new Error("Not implemented")}async getDocumentationPageRoomId(e,t){return this.dataCore.getDocumentationPageRoomId(e.designSystemId,e.versionId,t)}async getDocumentationVersionRoomId(e){return this.dataCore.getDocumentationVersionRoomId(e.designSystemId,e.versionId)}async publish(e,t,n=!1){if(n)return this.dataCore.documentationPublish(e.workspaceId,e.designSystemId,e.versionId,t);const r=await this.isPublishing(e,t);return r.status===A.DocsPublishStatus.idle?this.dataCore.documentationPublish(e.workspaceId,e.designSystemId,e.versionId,t):r.job}getDocumentationMockedStructure(){return[]}getDocumentationMockedPageContent(e){return[]}getDocumentationMockedEditorBlockDefinitions(){return[I.RichText,x.Title1,C.Title2,O.Title3,B.Title4,E.Title5,w.OrderedList,R.UnorderedList,h.Divider,o.Blockquote,i.Callout,T.Image,D.ShortcutLinks,g.EmbedFigma,_.Storybook,y.EmbedYoutube,f.EmbedLottie,v.Embed,b.Markdown,P.Table,m.DesignTokens,p.ColorRamps,d.AccessibilityGrid,s.Code,a.CodeReact,r.Assets,k.FigmaFrames,S.ReleaseNotes,c.ComponentChecklist,l.ComponentChecklistAll,u.ComponentHealth]}}},3511:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AreaIntegrations=void 0;const r=n(7747);t.AreaIntegrations=class{constructor(e){this.dataCore=e}async getAuthenticationTokens(){return this.dataCore.getAuthenticationTokens()}async getFigmaOAuthURL(){return this.dataCore.getOAuthURL("figma")}async getGitHubOAuthURL(){return this.dataCore.getOAuthURL("github")}async getGitLabOAuthURL(){return this.dataCore.getOAuthURL("gitlab")}async getBitbucketOAuthURL(){return this.dataCore.getOAuthURL("bitbucket")}async getAzureOAuthURL(){return this.dataCore.getOAuthURL("azure")}async createAuthenticationToken(e,t){return this.dataCore.createAuthenticationToken(e,t)}async createGitHubPersonalAccessTokenConnection(e){const t=Object.assign({customUrl:"https://github.com"},e);return this.dataCore.createPersonalAccessTokenConnection(r.ConnectionProviders.github,t)}async createGitLabPersonalAccessTokenConnection(e){const t=Object.assign({customUrl:"https://gitlab.com"},e);return this.dataCore.createPersonalAccessTokenConnection(r.ConnectionProviders.gitlab,t)}async createBitbucketPersonalAccessTokenConnection(e){return this.dataCore.createPersonalAccessTokenConnection(r.ConnectionProviders.bitbucket,e)}async createAzurePersonalAccessTokenConnection(e){const t=Object.assign({customUrl:"https://azure.microsoft.com"},e);return this.dataCore.createPersonalAccessTokenConnection(r.ConnectionProviders.azure,t)}async deleteAuthenticationToken(e){return this.dataCore.deleteAuthenticationToken(e)}async deleteFigmaOAuthIntegration(e){return this.dataCore.deleteOAuthIntegration(e,"figma")}async deleteGitHubOAuthIntegration(e){return this.dataCore.deleteOAuthIntegration(e,"github")}async deleteGitLabOAuthIntegration(e){return this.dataCore.deleteOAuthIntegration(e,"gitlab")}async deleteBitbucketOAuthIntegration(e){return this.dataCore.deleteOAuthIntegration(e,"bitbucket")}async deleteAzureOAuthIntegration(e){return this.dataCore.deleteOAuthIntegration(e,"azure")}}},6074:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AreaMe=void 0,t.AreaMe=class{constructor(e){this.dataCore=e}async me(){return this.dataCore.currentUser()}async logout(){return this.dataCore.logoutCurrentUser()}async updateProfile(e,t){return this.dataCore.updateUserProfile(e,t)}async updateAvatar(e,t){return this.dataCore.updateUserAvatar(e,t)}async deleteMe(e){return this.dataCore.deleteUser(e)}async canDeleteMe(e){return this.dataCore.canDeleteUser(e)}async deleteAvatar(e){return this.dataCore.deleteUserAvatar(e)}}},1270:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AreaMultiplayer=void 0,t.AreaMultiplayer=class{constructor(e){this.dataCore=e}async getMultiplayerToken(e){return this.dataCore.multiplayerToken(e)}}},9544:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AreaNetwork=void 0,t.AreaNetwork=class{constructor(e){this.dataCore=e}async fetch(e,t){return this.dataCore.fetch(e,t)}}},7519:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AreaResources=void 0;const r=n(6445);t.AreaResources=class{constructor(e){this.dataCore=e}async getAssetResources(e){return this.dataCore.assetResources(e.designSystemId,e.versionId)}async getFontResources(e){return this.dataCore.fontResources(e.designSystemId,e.versionId)}async getFigmaFrames(e){return this.dataCore.figmaFrames(e.designSystemId,e.versionId)}getFigmaFrameHostedUrl(e,t){const n=`figma-nodes/${t}/image-url`;return this.dataCore.getBridgeInternal().getVersionEndpoint(e.designSystemId,e.versionId,n)}getImageRefHostedUrl(e,t){var n;if(t)return t.type===r.DocsImageRefType.figmaNode&&t.figmaNode?this.getFigmaFrameHostedUrl(e,t.figmaNode.frameReferenceId):t.type===r.DocsImageRefType.resource&&(null===(n=t.resource)||void 0===n?void 0:n.url)?t.resource.url:void 0}async uploadAssetResource(e,t){return this.dataCore.uploadAssetResource(e.designSystemId,e.versionId,t)}async uploadFontResource(e,t){return this.dataCore.uploadFontResource(e.designSystemId,e.versionId,t)}async uploadFontResources(e,t){return this.dataCore.uploadFontResources(e.designSystemId,e.versionId,t)}async deleteResource(e,t){return this.dataCore.deleteResource(e.designSystemId,e.versionId,t)}async deleteResources(e,t){return this.dataCore.deleteResources(e.designSystemId,e.versionId,t)}}},9811:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AreaStorage=void 0,t.AreaStorage=class{constructor(e){this.dataCore=e}async readKeyValueStorageData(e,t){var n,r;const o=await this.dataCore.readKeyValueStorageData(e,t);if(o&&o[t])try{return null!==(n=JSON.parse(o[t]))&&void 0!==n?n:null}catch(e){return null!==(r=o[t])&&void 0!==r?r:null}return null}async setKeyValueStorageData(e,t,n){const r="string"==typeof n?n:JSON.stringify(n,null,0);await this.dataCore.setKeyValueStorageData(e,t,r)}async unsetKeyValueStorageData(e,t){await this.dataCore.setKeyValueStorageData(e,t,null)}}},5277:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AreaTokenValues=void 0;const r=n(9976);t.AreaTokenValues=class{tokenThemeByUpdatingOverride(e,t){return r.TokenUtils.tokenThemeByUpdatingOverride(e,t)}tokenThemeByRemovingOverride(e,t){return r.TokenUtils.tokenThemeByRemovingOverride(e,t)}colorTokenByUpdatingColor(e,t){return r.TokenUtils.colorTokenByUpdatingColor(e,t)}colorTokenByUpdatingOpacity(e,t){return r.TokenUtils.colorTokenByUpdatingOpacity(e,t)}blurTokenByUpdatingType(e,t){return r.TokenUtils.blurTokenByUpdatingType(e,t)}blurTokenByUpdatingRadius(e,t){return r.TokenUtils.blurTokenByUpdatingRadius(e,t)}typographyTokenByUpdatingFontFamily(e,t){return r.TokenUtils.typographyTokenByUpdatingFontFamily(e,t)}typographyTokenByUpdatingFontWeight(e,t){return r.TokenUtils.typographyTokenByUpdatingFontWeight(e,t)}typographyTokenByUpdatingFontSize(e,t){return r.TokenUtils.typographyTokenByUpdatingFontSize(e,t)}typographyTokenByUpdatingLetterSpacing(e,t){return r.TokenUtils.typographyTokenByUpdatingLetterSpacing(e,t)}typographyTokenByUpdatingLineHeight(e,t){return r.TokenUtils.typographyTokenByUpdatingLineHeight(e,t)}typographyTokenByUpdatingParagraphSpacing(e,t){return r.TokenUtils.typographyTokenByUpdatingParagraphSpacing(e,t)}typographyTokenByUpdatingParagraphIndent(e,t){return r.TokenUtils.typographyTokenByUpdatingParagraphIndent(e,t)}typographyTokenByUpdatingTextDecoration(e,t){return r.TokenUtils.typographyTokenByUpdatingTextDecoration(e,t)}typographyTokenByUpdatingTextCase(e,t){return r.TokenUtils.typographyTokenByUpdatingTextCase(e,t)}borderTokenByUpdatingColor(e,t){return r.TokenUtils.borderTokenByUpdatingColor(e,t)}borderTokenByUpdatingOpacity(e,t){return r.TokenUtils.borderTokenByUpdatingOpacity(e,t)}borderTokenByUpdatingWidth(e,t){return r.TokenUtils.borderTokenByUpdatingWidth(e,t)}borderTokenByUpdatingPosition(e,t){return r.TokenUtils.borderTokenByUpdatingPosition(e,t)}borderTokenByUpdatingStyle(e,t){return r.TokenUtils.borderTokenByUpdatingStyle(e,t)}dimensionTokenByUpdatingValue(e,t){return r.TokenUtils.dimensionTokenByUpdatingValue(e,t)}sizeTokenByUpdatingValue(e,t){return r.TokenUtils.sizeTokenByUpdatingValue(e,t)}spaceTokenByUpdatingValue(e,t){return r.TokenUtils.spaceTokenByUpdatingValue(e,t)}opacityTokenByUpdatingValue(e,t){return r.TokenUtils.opacityTokenByUpdatingValue(e,t)}fontSizeTokenByUpdatingValue(e,t){return r.TokenUtils.fontSizeTokenByUpdatingValue(e,t)}lineHeightTokenByUpdatingValue(e,t){return r.TokenUtils.lineHeightTokenByUpdatingValue(e,t)}letterSpacingTokenByUpdatingValue(e,t){return r.TokenUtils.letterSpacingTokenByUpdatingValue(e,t)}paragraphSpacingTokenByUpdatingValue(e,t){return r.TokenUtils.paragraphSpacingTokenByUpdatingValue(e,t)}borderWidthTokenByUpdatingValue(e,t){return r.TokenUtils.borderWidthTokenByUpdatingValue(e,t)}radiusTokenByUpdatingValue(e,t){return r.TokenUtils.radiusTokenByUpdatingValue(e,t)}durationTokenByUpdatingValue(e,t){return r.TokenUtils.durationTokenByUpdatingValue(e,t)}zIndexTokenByUpdatingValue(e,t){return r.TokenUtils.zIndexTokenByUpdatingValue(e,t)}stringTokenByUpdatingValue(e,t){return r.TokenUtils.stringTokenByUpdatingValue(e,t)}productCopyTokenByUpdatingValue(e,t){return r.TokenUtils.productCopyTokenByUpdatingValue(e,t)}fontFamilyTokenByUpdatingValue(e,t){return r.TokenUtils.fontFamilyTokenByUpdatingValue(e,t)}fontWeightTokenByUpdatingValue(e,t){return r.TokenUtils.fontWeightTokenByUpdatingValue(e,t)}textCaseTokenByUpdatingValue(e,t){return r.TokenUtils.textCaseTokenByUpdatingValue(e,t)}textDecorationTokenByUpdatingValue(e,t){return r.TokenUtils.textDecorationTokenByUpdatingValue(e,t)}visibilityTokenByUpdatingValue(e,t){return r.TokenUtils.visibilityTokenByUpdatingValue(e,t)}shadowTokenByAddingLayer(e){return r.TokenUtils.shadowTokenByAddingLayer(e)}shadowTokenByRemovingLayer(e,t){return r.TokenUtils.shadowTokenByRemovingLayer(e,t)}shadowTokenByUpdatingColor(e,t,n){return r.TokenUtils.shadowTokenByUpdatingColor(e,t,n)}shadowTokenByUpdatingOpacity(e,t,n){return r.TokenUtils.shadowTokenByUpdatingOpacity(e,t,n)}shadowTokenByUpdatingX(e,t,n){return r.TokenUtils.shadowTokenByUpdatingX(e,t,n)}shadowTokenByUpdatingY(e,t,n){return r.TokenUtils.shadowTokenByUpdatingY(e,t,n)}shadowTokenByUpdatingRadius(e,t,n){return r.TokenUtils.shadowTokenByUpdatingRadius(e,t,n)}shadowTokenByUpdatingSpread(e,t,n){return r.TokenUtils.shadowTokenByUpdatingSpread(e,t,n)}shadowTokenByUpdatingType(e,t,n){return r.TokenUtils.shadowTokenByUpdatingType(e,t,n)}gradientTokenByUpdatingTo(e,t,n){return r.TokenUtils.gradientTokenByUpdatingTo(e,t,n)}gradientTokenByUpdatingFrom(e,t,n){return r.TokenUtils.gradientTokenByUpdatingFrom(e,t,n)}gradientTokenByUpdatingType(e,t,n){return r.TokenUtils.gradientTokenByUpdatingType(e,t,n)}gradientTokenByUpdatingAspectRatio(e,t,n){return r.TokenUtils.gradientTokenByUpdatingAspectRatio(e,t,n)}gradientTokenByUpdatingStops(e,t,n){return r.TokenUtils.gradientTokenByUpdatingStops(e,t,n)}tokenByReferencing(e,t){return r.TokenUtils.tokenByReferencing(e,t)}multilayerTokenByReferencing(e,t,n){return r.TokenUtils.multilayerTokenByReferencing(e,t,n)}tokenByDisconnectingReference(e){return r.TokenUtils.tokenByDisconnectingReference(e)}multilayerTokenByDisconnectingReference(e,t){return r.TokenUtils.multilayerTokenByDisconnectingReference(e,t)}isReferencedToken(e){return r.TokenUtils.isReferencedToken(e)}isReferencedMultilayerTokenLayer(e,t){return r.TokenUtils.isReferencedMultilayerTokenLayer(e,t)}isTokenImported(e){return r.TokenUtils.isTokenImported(e)}}},5814:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AreaTokens=void 0;const r=n(3655),o=n(7187),i=n(3788),a=n(616),s=n(9976),d=n(5277);t.AreaTokens=class{constructor(e){this.values=new d.AreaTokenValues,this.dataCore=e}async getTokens(e,t){return this.dataCore.tokens(e.designSystemId,e.versionId,t)}async getTokenUsage(e,t){return this.dataCore.getTokenUsage(e.designSystemId,e.versionId,t)}async getTokenGroups(e,t){return this.dataCore.tokenGroups(e.designSystemId,e.versionId,t)}async getTokenThemes(e){return this.dataCore.themes(e.designSystemId,e.versionId)}async getTokenProperties(e){return this.dataCore.elementPropertyDefinitions(e.designSystemId,e.versionId,o.ElementPropertyTargetElementType.token)}async getTokenPropertyValues(e){return this.dataCore.elementPropertyValues(e.designSystemId,e.versionId)}async getTokenDataViews(e){return this.dataCore.elementViews(e.designSystemId,e.versionId,o.ElementPropertyTargetElementType.token)}async createToken(e,t,n){return this.dataCore.createToken(e.designSystemId,e.versionId,t,n)}createLocalToken(e,t,n,r){return s.TokenUtils.createDefaultToken(e,t,n,r)}createLocalThemeOverride(e,t){const n=a.ThemeUtilities.replicateTokenWithValue(t);return n.propertyValues={},n.themeId=e.id,n.origin=null,n}async createTokenGroup(e,t,n){return this.dataCore.createTokenGroup(e.designSystemId,e.versionId,t,n)}createLocalTokenGroup(e,t,n){return s.TokenUtils.createDefaultTokenGroup(e,t,n)}async updateToken(e,t){return this.dataCore.updateToken(e.designSystemId,e.versionId,t)}async updateTokenGroup(e,t){return this.dataCore.updateTokenGroup(e.designSystemId,e.versionId,t)}async updateTokenPropertyValue(e,t,n,r){return this.dataCore.updateTokenPropertyValue(e.designSystemId,e.versionId,t,n,r)}async deleteTokenPropertyValue(e,t){return this.dataCore.deleteTokenPropertyValue(e.designSystemId,e.versionId,t)}async createTokenProperty(e,t){return this.dataCore.createTokenProperty(e.designSystemId,e.versionId,t)}async updateTokenProperty(e,t,n){return this.dataCore.updateTokenProperty(e.designSystemId,e.versionId,t,n)}async deleteTokenProperty(e,t){return this.dataCore.deleteTokenProperty(e.designSystemId,e.versionId,t)}async updateResizeTokenColumn(e,t,n,r){return this.dataCore.updateResizeTokenColumn(e.designSystemId,e.versionId,t,n,r)}async updateReorderTokenColumn(e,t,n,r){return this.dataCore.updateReorderTokenColumn(e.designSystemId,e.versionId,t,n,r)}createLocalTokenTheme(e,t){return s.TokenUtils.createDefaultTokenTheme(e,t)}async createTokenTheme(e,t){return this.dataCore.createTokenTheme(e.designSystemId,e.versionId,t)}async updateTokenTheme(e,t){return this.dataCore.updateTokenTheme(e.designSystemId,e.versionId,t)}async deleteToken(e,t){return this.dataCore.deleteToken(e.designSystemId,e.versionId,t)}async ungroupTokenGroup(e,t){return this.dataCore.ungroupTokenGroup(e.designSystemId,e.versionId,t)}async deleteTokenGroup(e,t,n,r){return this.dataCore.deleteTokenGroup(e.designSystemId,e.versionId,t,n,r)}async deleteTokenTheme(e,t){return this.dataCore.deleteTokenTheme(e.designSystemId,e.versionId,t)}async writeTokens(e,t,n,r,o){return this.dataCore.writeTokenData(e.designSystemId,e.versionId,t,n,r,o)}async writeTheme(e,t){return this.dataCore.writeTokenThemeData(e.designSystemId,e.versionId,t)}async computeTokensByApplyingThemes(e,t){var n,r;const o={};for(const e of t){const t=new Map;for(const n of e.overriddenTokens)t.set(n.id,n);o[e.id]=t}const i=t.reverse(),a=[];for(const t of e){let e=null;for(const s of i)if(e=null!==(r=null===(n=o[s.id])||void 0===n?void 0:n.get(t.id))&&void 0!==r?r:null,e){a.push(e);break}e||a.push(t)}return a}async computeGroupTrees(e){const t=e.filter((e=>e.isRoot)),n=new Map;for(const e of t){const t=n.get(e.tokenType);t?(t.push(e),n.set(e.tokenType,t)):n.set(e.tokenType,[e])}return n}async getMockedTokens(e){const t=[];return i.ALL_TOKEN_TYPES.forEach((n=>{const r=this.createLocalToken(n,e.versionId,e.brandId,[]);r.id=`mocked-token-${n}`,t.push(r)})),t}async getMockedTokenGroups(e){const t=[];return i.ALL_TOKEN_TYPES.forEach((n=>{const r=this.createLocalTokenGroup(n,e.versionId,e.brandId);r.id=`mocked-group-${n}`,r.childrenIds=[`mocked-token-${n}`],r.isRoot=!0,t.push(r)})),t}async getMockedTokenDataViews(e){return[new r.ElementDataView({id:"mocked-token-data-view",persistentId:"mocked-token-data-view-persistent-id",isDefault:!0,targetElementType:o.ElementPropertyTargetElementType.token,columns:[],meta:{name:"Mocked token data view",description:""}})]}}},6814:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AreaUsers=void 0,t.AreaUsers=class{constructor(e){this.dataCore=e}}},3033:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AreaVersions=void 0;const r=n(4379);t.AreaVersions=class{constructor(e){this.dataCore=e}async getActiveVersion(e){const t=await this.dataCore.versions(e);for(const e of t)if(!e.isReadonly)return e;throw r.SupernovaError.fromMessage(`Unable to retrieve active version for design system id ${e} - no version is currently active in selected design system`)}async createVersion(e,t){return this.dataCore.createVersion(e,t)}async editVersion(e,t,n){await this.dataCore.editVersion(e,t,n)}async deleteVersion(e,t){await this.dataCore.deleteVersion(e,t)}async getVersions(e){return this.dataCore.versions(e)}async getVersion(e){return this.dataCore.version(e.designSystemId,e.versionId)}async getTokenStudioData(e){return this.dataCore.getTokenStudioData(e.designSystemId,e.versionId)}async writeTokenStudioData(e,t){return this.dataCore.writeTokenStudioData(e.designSystemId,e.versionId,t)}}},9050:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AreaWorkspaces=void 0,t.AreaWorkspaces=class{constructor(e){this.dataCore=e}async workspace(e){return this.dataCore.workspace(e)}async workspaces(e){return(await this.dataCore.memberships(e)).map((e=>e.workspace))}async memberships(e){return await this.dataCore.memberships(e)}async userMemberships(e){return await this.dataCore.userMemberships(e)}async workspaceProductFeatures(e){return this.dataCore.workspaceProductFeatures(e)}async acls(){return this.dataCore.acls()}async validateIsWorkspaceHandleAvailable(e){return this.dataCore.validateIsWorkspaceHandleAvailable(e)}async workspaceOnboarding(e){return this.dataCore.workspaceOnboarding(e)}async workspaceIPWhitelistSettings(e){return this.dataCore.workspaceIPWhitelistSettings(e)}async workspaceNPMRegistrySettings(e){return this.dataCore.workspaceNPMRegistrySettings(e)}async workspaceNPMRegistryAccessToken(e){return this.dataCore.workspaceNPMRegistryAccessToken(e)}async workspaceSSOSettings(e){return this.dataCore.workspaceSSOSettings(e)}async workspaceInvitations(e){return this.dataCore.workspaceInvitations(e)}async workspaceInvoices(e){return this.dataCore.workspaceInvoices(e)}async workspaceSubscription(e){return this.dataCore.workspaceSubscription(e)}async workspaceAvailableProducts(e){return this.dataCore.workspaceAvailableProducts(e)}async createWorkspace(e,t){return this.dataCore.createWorkspace(e,t)}async updateWorkspaceProfile(e,t){return this.dataCore.updateWorkspaceProfile(e,t)}async testIpWhitelistSettings(e,t){return this.dataCore.testIpWhitelistSettings(e,t)}async updateWorkspaceOnboarding(e,t){return this.dataCore.updateWorkspaceOnboarding(e,t)}async updateWorkspaceAvatar(e,t){return this.dataCore.updateWorkspaceAvatar(e,t)}async updateWorkspaceSSOSettings(e,t){return this.dataCore.updateWorkspaceSSOSettings(e,t)}async updateWorkspaceIPWhitelistSettings(e,t){return this.dataCore.updateWorkspaceIPWhitelistSettings(e,t)}async updateWorkspaceNPMRegistrySettings(e,t){return this.dataCore.updateWorkspaceNPMRegistrySettings(e,t)}async updateWorkspaceOwnership(e,t){return this.dataCore.updateWorkspaceOwnership(e,t)}async updateWorkspaceMemberRole(e,t,n){return this.dataCore.updateWorkspaceMemberRole(e,t,n)}async updateWorkspaceInvitationRole(e,t,n){return this.dataCore.updateWorkspaceInvitationRole(e,t,n)}async addWorkspaceInvitations(e,t){return this.dataCore.addWorkspaceInvitations(e,t)}async createCheckoutSession(e,t,n,r,o){return this.dataCore.createCheckoutSession(e,t,n,r,o)}async createPortalSession(e,t,n,r){return this.dataCore.createPortalSession(e,t,n,r)}async resendWorkspaceInvitation(e,t){return this.dataCore.resendWorkspaceInvitation(e,t)}async restoreWorkspaceSubscription(e){return this.dataCore.restoreWorkspaceSubscription(e)}async deleteWorkspace(e){return this.dataCore.deleteWorkspace(e)}async deleteWorkspaceAvatar(e){return this.dataCore.deleteWorkspaceAvatar(e)}async deleteWorkspaceNPMRegistrySettings(e){return this.dataCore.deleteWorkspaceNPMRegistrySettings(e)}async deleteWorkspaceMember(e,t){return this.dataCore.deleteWorkspaceMember(e,t)}async deleteWorkspaceInvitation(e,t){return this.dataCore.deleteWorkspaceInvitation(e,t)}}},9919:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Configuration=void 0,t.Configuration=class{static apiUrlForDefaultEnvironment(){return"https://api.supernova.io/api/v2"}static apiVersionForDefaultEnvironment(){return"0.2"}}},9656:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DataBridge=void 0;const o=n(4379),i=n(3688),a=r(n(8719));t.DataBridge=class{constructor(e){var t,n;this.bypassEnvFetch=!1,this.authToken=e.accessToken,this.apiUrl=e.apiUrl,this.apiVersion=e.apiVersion,this.target=e.target,this.bypassEnvFetch=e.bypassEnvFetch,this.proxyAgent=e.proxyUrl?new i.HttpsProxyAgent(e.proxyUrl):void 0,this.requestHook=e.requestHook,this.debugRequestObserver=null!==(t=e.debugRequestObserver)&&void 0!==t?t:null,this.debugResponseObserver=null!==(n=e.debugResponseObserver)&&void 0!==n?n:null}async delete(e){return this.request(e,void 0,"DELETE")}async get(e){return this.request(e,void 0,"GET")}async getAsData(e){return this.request(e,void 0,"GET",!0)}async put(e,t){return this.request(e,t,"PUT")}async post(e,t){return this.request(e,t,"POST")}async upload(e,t,n="PUT"){const r=await this.buildRequestConfig(n,void 0);return new Promise(((n,o)=>{try{const i=Object.assign({},r.headers);delete i["Content-Type"],(this.bypassEnvFetch?a.default:fetch)(e,{method:r.method,headers:i,body:t,agent:this.proxyAgent}).then((async t=>this.handleResponse(t,e))).then((e=>{n(e)})).catch((e=>{o(e)}))}catch(e){o(e)}}))}async request(e,t,n,r=!1){const o=await this.buildRequestConfig(n,"application/json");return new Promise(((n,i)=>{try{(this.bypassEnvFetch?a.default:fetch)(e,{method:o.method,headers:o.headers,body:t?JSON.stringify(t):null,agent:this.proxyAgent}).then((async t=>this.handleResponse(t,e,r))).then((e=>{n(e)})).catch((e=>{i(e)}))}catch(e){i(e)}}))}async handleResponse(e,t,n=!1){if(!e.ok){const n=await e.json();if(n)throw o.SupernovaError.fromNetworkResponse(n,e.status,t);throw o.SupernovaError.fromNoNetworkResponse(t)}return n?e.arrayBuffer():e.json()}async buildRequestConfig(e,t){const n={method:e,headers:Object.assign(Object.assign({},t&&{"Content-Type":t}),{Authorization:void 0})};let r=!1;if(this.requestHook){const e=await this.requestHook(n);e&&e.skipDefaultAuth&&(r=!0)}if(!r){const e=this.authToken;n.headers.Authorization=`Bearer ${e}`}return n}getBaseEndpoint(e){return e?`${this.apiUrl}/${e}`:`${this.apiUrl}`}getPublicEndpoint(e){return`${this.apiUrl}/public/${e}`}getAclEndpoint(e){return e?`${this.getPublicEndpoint("acl")}/${e}`:`${this.getPublicEndpoint("acl")}`}getUserEndpoint(e,t){return t?`${this.apiUrl}/users/${e}/${t}`:`${this.apiUrl}/users/${e}`}getWorkspaceEndpoint(e,t){return t?`${this.apiUrl}/workspaces/${e}/${t}`:`${this.apiUrl}/workspaces/${e}`}getDesignSystemEndpoint(e,t){return t?`${this.apiUrl}/design-systems/${e}/${t}`:`${this.apiUrl}/design-systems/${e}`}getVersionEndpoint(e,t,n){return n?`${this.getDesignSystemEndpoint(e,`versions/${t}/${n}`)}`:`${this.getDesignSystemEndpoint(e,`versions/${t}`)}`}}},7322:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DataCore=void 0;const o=n(6445),i=n(5375),a=n(2742),s=n(9975),d=n(476),p=n(451),l=n(9043),c=n(8208),u=n(3655),m=n(7187),h=n(4873),g=n(3110),f=n(9701),y=n(3410),v=n(6939),k=n(7601),T=n(7227),b=n(3778),w=n(9475),S=n(2178),I=n(2888),D=n(6940),_=n(1423),P=n(4832),x=n(2479),C=n(8272),O=n(3144),B=n(2983),E=n(8069),R=n(9883),A=n(5593),N=n(653),V=n(273),j=n(420),M=n(1395),L=n(4441),U=n(8528),F=n(1793),W=n(7228),$=n(2336),z=n(9058),G=n(8771),H=n(9853),q=n(7579),K=n(835),Z=n(9035),J=n(6907),Y=n(5772),Q=n(1062),X=n(7975),ee=n(1322),te=n(4217),ne=n(8908),re=n(6795),oe=n(5530),ie=n(1954),ae=n(1337),se=n(3273),de=n(389),pe=n(3086),le=r(n(8719)),ce=n(3903);t.DataCore=class{constructor(e){this.bridge=e,this.read=new se.DataCoreReadRequests(e),this.write=new pe.DataCoreWriteRequests(e),this.render=new de.DataCoreRenderRequests(e)}getBridgeInternal(){return this.bridge}async fetch(e,t){return(0,le.default)(e,t)}async dataThroughCorsProxy(e){return this.read.getDataThroughCorsProxy(e)}async multiplayerToken(e){return await this.read.getRemoteMultiplayerToken(e)}async currentUser(){const e=await this.read.getRemoteCurrentUser();return new W.User(e)}async user(e){const t=await this.read.getRemoteUser(e);return new W.User(t)}async memberships(e){return(await this.read.getRemoteMemberships(e)).map((e=>new V.Membership(e)))}async userMemberships(e){return(await this.read.getRemoteUserMemberships(e)).map((e=>new $.UserMembership(e)))}async acls(){const e=await this.read.getRemoteAcls();return new i.Acl(e)}async deleteUser(e){return this.write.deleteRemoteUser(e)}async canDeleteUser(e){return this.write.canDeleteRemoteUser(e)}async logoutCurrentUser(){return this.write.logoutRemoteCurrentUser()}async updateUserProfile(e,t){return this.write.updateRemoteUserProfile(t,e)}async updateUserAvatar(e,t){return this.write.updateRemoteUserAvatar(e,t)}async deleteUserAvatar(e){return this.write.deleteRemoteUserAvatar(e)}async elementPropertyDefinitions(e,t,n){const r=await Promise.all([this.read.getRemoteElementPropertyDefinitions(e,t),this.elementViews(e,t,n)]),o=r[0],i=r[1];let a=o.map((e=>new m.ElementProperty(e)));const s=(0,ee.sureOf)(i.filter((e=>e.isDefault))[0]),d=new Map;for(const e of s.columns)e.propertyDefinitionId&&d.set(e.propertyDefinitionId,s.columns.indexOf(e));return a=(0,ee.sortUsingMap)(a,d,(e=>e.id)).filter((e=>e.targetElementType===n)),a}async elementPropertyValues(e,t){return(await this.read.getRemoteElementPropertyValues(e,t)).map((e=>new h.ElementPropertyValue(e)))}async elementViews(e,t,n){return(await this.read.getRemoteElementDataViewDefinitions(e,t)).map((e=>new u.ElementDataView(e))).filter((e=>e.targetElementType===n))}async tokens(e,t,n){const r=await Promise.all([this.read.getRemoteTokens(e,t,n),this.tokenGroups(e,t),this.elementPropertyDefinitions(e,t,m.ElementPropertyTargetElementType.token),this.elementPropertyValues(e,t),this.elementViews(e,t,m.ElementPropertyTargetElementType.token),this.designSystemSources(e)]),o=r[0],i=r[1],a=r[2],s=r[3],d=r[4],p=r[5];return new ae.TokenResolver(e,t).resolveTokenData(o,i,a,d,s,p)}async getTokenUsage(e,t,n){const r=await this.read.getRemoteTokenUsage(e,t,n);return{tokens:r.tokens.map((e=>e.persistentId)),components:r.components.map((e=>e.persistentId)),documentationPages:r.documentationPages.map((e=>e.persistentId))}}async createToken(e,t,n,r){const o=n.toWriteObject();o.groupPersistentId=r;const i=await this.write.createRemoteToken(e,t,o);return{id:i.persistentId,idInVersion:i.id}}async updateToken(e,t,n){const r=n.toWriteObject();await this.write.updateRemoteToken(e,t,r)}async createTokenGroup(e,t,n,r){const o=n.toWriteObject();o.parentId=r;const i=await this.write.createRemoteTokenGroup(e,t,o);return{id:i.persistentId,idInVersion:i.id}}async updateTokenGroup(e,t,n){const r=n.toWriteObject();await this.write.updateRemoteTokenGroup(e,t,r)}async tokenGroups(e,t,n){const r=await this.read.getRemoteTokenGroups(e,t,n);return(new ie.TokenGroupResolver).resolveGroupData(r)}async createTokenTheme(e,t,n){const r=n.toWriteObject(),o=await this.write.createRemoteTokenTheme(e,t,r);return{id:o.persistentId,idInVersion:o.id}}async themes(e,t){const n=await Promise.all([this.read.getRemoteTokenThemes(e,t),this.tokens(e,t),this.tokenGroups(e,t),this.designSystemSources(e)]),r=n[0],o=n[1],i=n[2],a=n[3],s=new Array;for(const n of r){const r=new ae.TokenResolver(e,t).resolveThemeData(n,o,i,a);s.push(r)}return s}async updateTokenTheme(e,t,n){const r=n.toWriteObject();await this.write.updateRemoteTokenTheme(e,t,r)}async createThemeOverrideForToken(e,t,n,r){return this.write.createThemeOverrideForToken(e,t,n,r)}async updateThemeOverrideForToken(e,t,n,r,o){return this.write.updateThemeOverrideForToken(e,t,n,r,o)}async deleteThemeOverrideForToken(e,t,n,r){return this.write.deleteThemeOverrideForToken(e,t,n,r)}async writeTokenData(e,t,n,r,o,i){return this.write.writeTokenData(e,t,n.map((e=>e.toWriteObject())),r.map((e=>e.toWriteObject())),o,i)}async writeTokenThemeData(e,t,n){const r=n.toWriteObject();return this.write.writeTokenThemeData(e,t,r)}async deleteToken(e,t,n){return this.write.deleteRemoteToken(e,t,n)}async ungroupTokenGroup(e,t,n){return this.write.ungroupRemoteTokenGroup(e,t,n)}async deleteTokenGroup(e,t,n,r,o){const i=this.itemsToDeleteFromGroup(n,r,o);return this.writeTokenData(e,t,[],[],i.itemsToDelete,i.groupsToDelete)}flattenedChildren(e,t,n){const r=[],o=[],i=t.filter((t=>e.childrenIds.includes(t.id))),a=n.filter((t=>e.childrenIds.includes(t.id)));r.push(...i),o.push(...a);for(const e of a){const i=this.flattenedChildren(e,t,n);r.push(...i.items),o.push(...i.groups)}return{items:r,groups:o}}itemsToDeleteFromGroup(e,t,n){const r=this.flattenedChildren(e,t,n);return{itemsToDelete:[...r.items],groupsToDelete:[e,...r.groups]}}async updateTokenPropertyValue(e,t,n,r,o){return this.write.updateTokenPropertyValue(e,t,n,r.id,o.id)}async deleteTokenPropertyValue(e,t,n){return this.write.deleteTokenPropertyValue(e,t,n)}async createTokenProperty(e,t,n){const r={meta:{name:n.name,description:n.description},type:n.type,targetElementType:m.ElementPropertyTargetElementType.token,codeName:n.codeName,columnWidth:n.columnWidth,linkElementType:n.linkElementType,options:n.options,persistentId:(0,ce.v4)()},o=await this.write.createTokenProperty(e,t,r);return{id:o.persistentId,idInVersion:o.id}}async createDocumentationPage(e,t,n){const r=(0,ce.v4)();return await this.write.createRemoteDocumentationPage(e,t,Object.assign(Object.assign({},n),{persistentId:r})),r}async createDocumentationGroup(e,t,n){const r=(0,ce.v4)();return await this.write.createRemoteDocumentationGroup(e,t,Object.assign(Object.assign({},n),{persistentId:r})),r}async createDocumentationTab(e,t,n){const r=(0,ce.v4)();return await this.write.createRemoteDocumentationTab(e,t,Object.assign(Object.assign({},n),{persistentId:r})),r}async ungroupDocumentationGroup(e,t,n){await this.write.deleteRemoteDocumentationGroup(e,t,n)}async updateDocumentationGroup(e,t,n){return this.write.updateRemoteDocumentationGroup(e,t,n)}async updateDocumentationPageOrTab(e,t,n){return this.write.updateRemoteDocumentationPage(e,t,n)}async moveDocumentationPage(e,t,n){return this.write.moveRemoteDocumentationPage(e,t,n)}async moveDocumentationGroup(e,t,n){return this.write.moveRemoteDocumentationGroup(e,t,n)}async duplicateDocumentationPageOrTab(e,t,n){const r=(0,ce.v4)();return await this.write.duplicateRemoteDocumentationPage(e,t,Object.assign(Object.assign({},n),{persistentId:r})),r}async duplicateDocumentationGroupOrTabbedPage(e,t,n){const r=(0,ce.v4)();return await this.write.duplicateRemoteDocumentationGroup(e,t,Object.assign(Object.assign({},n),{persistentId:r})),r}async deleteDocumentationPage(e,t,n){await this.write.deleteRemoteDocumentationPage(e,t,n)}async deleteDocumentationTabGroup(e,t,n){await this.write.deleteRemoteDocumentationTabGroup(e,t,n)}async deleteDocumentationGroup(e,t,n){await this.write.deleteRemoteDocumentationGroup(e,t,n)}async deleteDocumentationGroupAndTree(e,t,n){await this.write.deleteRemoteDocumentationGroup(e,t,{id:n,deleteSubtree:!0})}async updateTokenProperty(e,t,n,r){const o={meta:{name:r.name,description:r.description},codeName:r.codeName,options:r.options};return this.write.updateTokenProperty(e,t,n,o)}async deleteTokenProperty(e,t,n){return this.write.deleteTokenProperty(e,t,n)}async updateReorderTokenColumn(e,t,n,r,o){return this.write.updateReorderTokenColumn(e,t,n.id,r.id,o)}async updateResizeTokenColumn(e,t,n,r,o){var i,a,s;return this.write.updateResizeTokenColumn(e,t,n.id,r.type,r.id,null!==(i=r.themeId)&&void 0!==i?i:void 0,null!==(a=r.basePropertyType)&&void 0!==a?a:void 0,null!==(s=r.propertyDefinitionId)&&void 0!==s?s:void 0,o)}async deleteTokenTheme(e,t,n){return this.write.deleteRemoteTokenTheme(e,t,n)}async components(e,t,n){const r=await Promise.all([this.read.getRemoteComponents(e,t,n),this.elementPropertyDefinitions(e,t,m.ElementPropertyTargetElementType.component),this.elementPropertyValues(e,t),this.elementViews(e,t,m.ElementPropertyTargetElementType.component)]),o=r[0],i=r[1],a=r[2],s=r[3];return(new re.ComponentResolver).resolveComponentData(o,i,a,s)}async componentGroups(e,t){const n=await Promise.all([this.read.getRemoteComponentGroups(e,t),this.components(e,t)]),r=n[0],o=n[1];return new ne.ComponentGroupResolver(o).resolveGroupData(r)}async designComponents(e,t,n){const r=await Promise.all([this.read.getRemoteDesignComponents(e,t,n),this.designSystemSources(e)]),o=r[0],i=r[1];return o.map((e=>new c.DesignComponent(e,i)))}async designComponentGroups(e,t,n){const r=await this.read.getRemoteDesignComponentGroups(e,t,n);return(new oe.DesignComponentGroupResolver).resolveGroupData(r)}async createComponent(e,t,n){const r=n.toWriteObject(),o=await this.write.createRemoteComponent(e,t,r);return{id:o.persistentId,idInVersion:o.id}}async updateComponent(e,t,n){const r=n.toWriteUpdateObject();await this.write.updateRemoteComponent(e,t,r)}async createComponentGroup(e,t,n){const r=n.toWriteObject(),o=await this.write.createRemoteComponentGroup(e,t,r);return{id:o.persistentId,idInVersion:o.id}}async updateComponentGroup(e,t,n){const r=n.toWriteObject();await this.write.updateRemoteComponentGroup(e,t,r)}async updateComponentPropertyValue(e,t,n,r,o){return this.write.updateComponentPropertyValue(e,t,n,r.id,o.id)}async deleteComponentPropertyValue(e,t,n){return this.write.deleteComponentPropertyValue(e,t,n)}async createComponentProperty(e,t,n){const r={meta:{name:n.name,description:n.description},type:n.type,targetElementType:m.ElementPropertyTargetElementType.component,codeName:n.codeName,columnWidth:n.columnWidth,linkElementType:n.linkElementType,options:n.options,persistentId:(0,ce.v4)()},o=await this.write.createComponentProperty(e,t,r);return{id:o.persistentId,idInVersion:o.id}}async updateComponentProperty(e,t,n,r){const o={meta:{name:r.name,description:r.description},codeName:r.codeName,options:r.options};return this.write.updateComponentProperty(e,t,n,o)}async deleteComponentProperty(e,t,n){return this.write.deleteComponentProperty(e,t,n)}async updateReorderComponentColumn(e,t,n,r,o){return this.write.updateReorderComponentColumn(e,t,n.id,r.id,o)}async updateResizeComponentColumn(e,t,n,r,o){var i,a,s;return this.write.updateResizeComponentColumn(e,t,n.id,r.type,r.id,null!==(i=r.themeId)&&void 0!==i?i:void 0,null!==(a=r.basePropertyType)&&void 0!==a?a:void 0,null!==(s=r.propertyDefinitionId)&&void 0!==s?s:void 0,o)}async deleteComponent(e,t,n){return this.write.deleteRemoteComponent(e,t,n)}async ungroupComponentGroup(e,t,n){return this.write.ungroupRemoteComponentGroup(e,t,n)}async deleteComponentGroup(e,t,n,r,o){const i=this.itemsToDeleteFromGroup(n,r,o);return this.writeComponentData(e,t,[],[],i.itemsToDelete,i.groupsToDelete)}async writeComponentData(e,t,n,r,o,i){return this.write.writeComponentData(e,t,n.map((e=>e.toWriteObject())),r.map((e=>e.toWriteObject())),o,i)}async assets(e,t){const n=await Promise.all([this.read.getRemoteAssets(e,t),this.designSystemSources(e)]),r=n[0],o=n[1],i=new Map;for(const e of r)e.exportProperties.isAsset&&i.set(e.meta.name.toLowerCase(),0);const s=[];for(const e of r){const t=e.meta.name.toLowerCase();e.exportProperties.isAsset&&(s.push(new a.Asset(e,i.get(t),o)),i.set(t,i.get(t)+1))}return s}async assetGroups(e,t){const n=await Promise.all([this.read.getRemoteAssetGroups(e,t),this.assets(e,t)]),r=n[0],o=n[1];return new te.AssetGroupResolver(o).resolveGroupData(r)}async renderedAssets(e,t,n,r,o){return this.render.renderAssetsForConfiguration(e,t,o,n,r)}async renderedFigmaFrames(e,t,n){return await this.write.renderFigmaFrames(e,t,n)}async figmaFrames(e,t){return this.read.getRemoteFigmaFrames(e,t)}async documentation(e,t,n){const r=await Promise.all([this.read.getRemoteDocumentationStructure(t,n),this.workspaceNPMRegistrySettings(e)]),o=r[0],i=r[1];return new l.DocumentationLegacy(o,i)}async getDocumentationStructure(e,t){return this.read.getRemoteRealDocumentationStructure(e,t)}async updateDocumentationStructure(e,t,n){await this.write.updateRemoteDocumentationStructure(e,t,n)}async getDocumentationPageRoomId(e,t,n){return this.read.getRemoteDocumentationPageRoomId(e,t,n)}async getDocumentationVersionRoomId(e,t){return this.read.getRemoteDocumentationVersionRoomId(e,t)}async documentationDomain(e,t){return await this.read.getRemoteDocumentationUrl(e,t)}async documentationPublish(e,t,n,r){const o=await this.write.publishDocumentation(e,t,n,r);return new R.ExportBuild(o)}async assetResources(e,t){return(await this.read.getRemoteAssetResources(e,t)).map((e=>new j.ResourceAsset(e)))}async fontResources(e,t){return(await this.read.getRemoteFontResources(e,t)).map((e=>new o.ResourceFont(e)))}async uploadAssetResource(e,t,n){const r=await this.write.uploadAssetResource(e,t,n);return new j.ResourceAsset(r)}async uploadFontResource(e,t,n){const r=await this.write.uploadFontResource(e,t,n);return r?new o.ResourceFont(r):null}async uploadFontResources(e,t,n){return(await this.write.uploadFontResources(e,t,n)).map((e=>new o.ResourceFont(e)))}async deleteResource(e,t,n){return this.write.deleteResource(e,t,n)}async deleteResources(e,t,n){return this.write.deleteResources(e,t,n)}async pipelines(e,t){return(await this.read.getRemotePipelines(e,t)).map((e=>new B.Pipeline(e)))}async githubConnections(){return(await this.read.getRemoteGithubConnections()).map((e=>new D.CodegenConnection(e)))}async githubAccounts(e){return(await this.read.getRemoteGithubAccounts(e)).map((e=>new g.CodegenAccount(e)))}async githubRepositories(e,t){return(await this.read.getRemoteGithubRepositories(e,t)).map((e=>new C.CodegenRepository(e)))}async githubBranches(e,t,n){return(await this.read.getRemoteGithubBranches(e,t,n)).map((e=>new I.CodegenBranch(e)))}async gitlabConnections(){return(await this.read.getRemoteGitlabConnections()).map((e=>new D.CodegenConnection(e)))}async gitlabGroups(e){return(await this.read.getRemoteGitlabGroups(e)).map((e=>new P.CodegenGitlabGroup(e)))}async gitlabRepositories(e,t){return(await this.read.getRemoteGitlabRepositories(e,t)).map((e=>new x.CodegenGitlabRepository(e)))}async gitlabBranches(e,t){return(await this.read.getRemoteGitlabBranches(e,t)).map((e=>new _.CodegenGitlabBranch(e)))}async azureConnections(){return(await this.read.getRemoteAzureConnections()).map((e=>new D.CodegenConnection(e)))}async azureOrganizations(e){return(await this.read.getRemoteAzureOrganizations(e)).map((e=>new y.CodegenAzureOrganization(e)))}async azureProjects(e,t){return(await this.read.getRemoteAzureProjects(e,t)).map((e=>new v.CodegenAzureProject(e)))}async azureRepositories(e,t,n){return(await this.read.getRemoteAzureRepositories(e,t,n)).map((e=>new k.CodegenAzureRepository(e)))}async azureBranches(e,t,n,r){return(await this.read.getRemoteAzureBranches(e,t,n,r)).map((e=>new f.CodegenAzureBranch(e)))}async bitbucketConnections(){return(await this.read.getRemoteBitbucketConnections()).map((e=>new D.CodegenConnection(e)))}async bitbucketWorkspaces(e){return(await this.read.getRemoteBitbucketWorkspaces(e)).map((e=>new S.CodegenBitbucketWorkspace(e)))}async bitbucketProjects(e,t){return(await this.read.getRemoteBitbucketProjects(e,t)).map((e=>new b.CodegenBitbucketProject(e)))}async bitbucketRepositories(e,t,n){return(await this.read.getRemoteBitbucketRepositories(e,t,n)).map((e=>new w.CodegenBitbucketRepository(e)))}async bitbucketBranches(e,t,n,r){return(await this.read.getRemoteBitbucketBranches(e,t,n,r)).map((e=>new T.CodegenBitbucketBranch(e)))}async createPipeline(e,t){const n=await this.write.createRemotePipeline(e,t);return new B.Pipeline(n)}async updatePipeline(e,t){const n=await this.write.updateRemotePipeline(e,t);return new B.Pipeline(n)}async runPipeline(e,t,n){const r=await this.write.runRemotePipeline(e,t,n);return new B.Pipeline(r)}async deletePipeline(e,t){await this.write.deleteRemotePipeline(e,t)}async documentationExporterCustomBlocks(e,t){return(await this.read.getRemoteExporterCustomBlocks(e,t)).map((e=>new E.ExporterCustomBlock(e)))}async documentationExporterCustomVariants(e,t){return(await this.exporter(e,t)).contributes.blockVariants}async exporterConfigurationProperties(e,t,n){const r=await Promise.all([this.exporterConfigurationPropertyValues(e,n),this.exporter(t,e)]),o=r[0],i=r[1];for(const e of i.contributes.configuration)for(const t of o)e.key===t.key&&e.updateValue(t.value);return i.contributes.configuration}async exporterConfigurationPropertyValues(e,t){return await this.read.getRemoteExporterConfigurationUserSpecifiedValues(t,e)}async exporter(e,t){const n=await this.read.getRemoteExporter(e,t);return new O.Exporter(n)}async exporters(e,t){return(await this.read.getRemoteExporters(e,t)).map((e=>new O.Exporter(e)))}async createExporter(e,t){const n=await this.write.createRemoteExporter(e,t);return new O.Exporter(n)}async updateExporter(e,t,n){const r=await this.write.updateRemoteExporter(e,t,n);return new O.Exporter(r)}async updateExporterConfigurationPropertyValue(e,t,n,r){await this.write.updateRemoteExporterConfigurationPropertyValue(e,t,n,r)}async deleteExporterConfigurationPropertyValue(e,t,n){await this.write.deleteRemoteExporterConfigurationPropertyValue(e,t,n)}async deleteExporter(e,t){await this.write.deleteRemoteExporter(e,t)}async pullLatestExporter(e,t){const n=await this.write.updateRemoteExporter(e,t,{});return new O.Exporter(n)}async exportBuilds(e,t){return(await this.read.getRemoteBuilds(e,t)).map((e=>new R.ExportBuild(e)))}async documentationBuild(e,t){const n=await this.read.getRemoteBuild(e,t);return new R.ExportBuild(n)}async documentationBuilds(e,t,n,r,o,i=1){return(await this.read.getRemoteBuilds(e,t,n,i,0,void 0,void 0,["documentation"],o,r)).map((e=>new R.ExportBuild(e)))}async buildLogs(e,t){return(await this.read.getRemoteBuildLogs(e,t)).map((e=>new A.ExportBuildResultLog(e)))}async workspaceProductFeatures(e){const t=await this.read.getRemoteWorkspaceProductFeatures(e);return new Y.SubscriptionProductFeatures(t)}async workspace(e){const t=await this.read.getRemoteWorkspaceDetail(e);return new z.Workspace(t)}async createWorkspace(e,t){const n=await this.write.createRemoteWorkspace(e,t);return new z.Workspace(n)}async createVersion(e,t){const n=await this.write.createRemoteVersion(e,t);return new p.DesignSystemVersion(n)}async editVersion(e,t,n){await this.write.updateRemoteVersion(e,t,n)}async deleteVersion(e,t){await this.write.deleteRemoteVersion(e,t)}async createBrand(e,t,n){const r=await this.write.createRemoteBrand(e,t,n);return new s.Brand(r)}async editBrand(e,t,n,r){await this.write.updateRemoteBrand(e,t,n,r)}async deleteBrand(e,t,n){await this.write.deleteRemoteBrand(e,t,n)}async deleteCustomDomain(e){await this.write.deleteRemoteCustomDomain(e)}async updateCustomDomain(e,t){const n=await this.write.updateRemoteCustomDomain(e,t);return new M.CustomDomain(n)}async startSslGenerationForCustomDomain(e){await this.write.startSslGenerationForCustomDomain(e)}async validateIsWorkspaceHandleAvailable(e){return this.read.getRemoteIsWorkspaceHandleAvailable(e)}async workspaceOnboarding(e){const t=await this.read.getRemoteWorkspaceOnboarding(e);return new Z.WorkspaceOnboarding(t)}async workspaceIPWhitelistSettings(e){const t=await this.read.getRemoteWorkspaceIPWhitelistSettings(e);return t?new G.WorkspaceIPWhitelistSettings(t):null}async workspaceNPMRegistrySettings(e){const t=await this.read.getRemoteWorkspaceNPMRegistrySettings(e);return t?new K.WorkspaceNPMRegistrySettings(t):null}async workspaceNPMRegistryAccessToken(e){return await this.read.getRemoteWorkspaceNPMRegistryAccessToken(e)}async workspaceSSOSettings(e){const t=await this.read.getRemoteWorkspaceSSOSettings(e);return t?new Q.WorkspaceSSOSettings(t):null}async workspaceInvitations(e){return(await this.read.getRemoteWorkspaceInvitations(e)).map((e=>new H.WorkspaceInvitation(e)))}async workspaceInvoices(e){return(await this.read.getRemoteWorkspaceInvoices(e)).map((e=>new q.WorkspaceInvoice(e)))}async workspaceSubscription(e){const t=await this.read.getRemoteWorkspaceSubscription(e);return new X.WorkspaceSubscription(t)}async workspaceAvailableProducts(e){return(await this.read.getRemoteWorkspaceAvailableProducts(e)).map((e=>new J.WorkspaceProduct(e)))}async updateWorkspaceProfile(e,t){return this.write.updateRemoteWorkspaceProfile(e,t)}async testIpWhitelistSettings(e,t){return this.write.testIpWhitelistSettings(e,t)}async updateWorkspaceOnboarding(e,t){return this.write.updateRemoteWorkspaceOnboarding(e,t)}async updateWorkspaceAvatar(e,t){return this.write.updateRemoteWorkspaceAvatar(e,t)}async updateWorkspaceSSOSettings(e,t){return this.write.updateRemoteWorkspaceSSOSettings(e,t)}async updateWorkspaceIPWhitelistSettings(e,t){return this.write.updateRemoteWorkspaceIPWhitelistSettings(e,t)}async updateWorkspaceNPMRegistrySettings(e,t){return this.write.updateRemoteWorkspaceNPMRegistrySettings(e,t)}async updateWorkspaceOwnership(e,t){return this.write.updateRemoteWorkspaceOwnership(e,t)}async updateWorkspaceMemberRole(e,t,n){return this.write.updateRemoteWorkspaceMemberRole(e,t,n)}async updateWorkspaceInvitationRole(e,t,n){return this.write.updateRemoteWorkspaceInvitationRole(e,t,n)}async addWorkspaceInvitations(e,t){return this.write.addRemoteWorkspaceInvitations(e,t)}async deleteWorkspace(e){return this.write.deleteRemoteWorkspace(e)}async deleteWorkspaceAvatar(e){return this.write.deleteRemoteWorkspaceAvatar(e)}async deleteWorkspaceNPMRegistrySettings(e){return this.write.deleteRemoteWorkspaceNPMRegistrySettings(e)}async deleteWorkspaceMember(e,t){return this.write.deleteRemoteWorkspaceMember(e,t)}async deleteWorkspaceInvitation(e,t){return this.write.deleteRemoteWorkspaceInvitation(e,t)}async createCheckoutSession(e,t,n,r,o){return this.write.createRemoteCheckoutSession(e,t,n,r,o)}async createPortalSession(e,t,n,r){return this.write.createRemotePortalSession(e,t,n,r)}async resendWorkspaceInvitation(e,t){return this.write.resendRemoteWorkspaceInvitation(e,t)}async restoreWorkspaceSubscription(e){return this.write.restoreRemoteWorkspaceSubscription(e)}async designSystem(e){const t=await this.read.getRemoteDesignSystem(e);return new d.DesignSystem(t)}async designSystems(e){return(await this.read.getRemoteDesignSystems(e)).map((e=>new d.DesignSystem(e)))}async designSystemsByUserId(e){return await this.read.getRemoteDesignSystemsByUserId(e)}async createDesignSystem(e,t,n){const r=await this.write.createRemoteDesignSystem(e,t,n);return new d.DesignSystem(r)}async getBlockDefinitions(e,t){return(await this.read.getBlockDefinitions(e,t)).map((e=>new o.DocsBlockDefinition(e)))}async getUrlPreview(e,t,n){return this.read.getUrlPreview(e,t,n)}async updateDesignSystemMetadata(e,t,n){await this.write.updateRemoteDesignSystemMetadata(e,t,n)}async updateDesignSystemIsMultibrand(e,t){await this.write.updateRemoteDesignSystemIsMultibrand(e,t)}async updateDesignSystemSwitcher(e,t){await this.write.updateRemoteDesignSystemSwitcher(e,t)}async updateDesignSystemDocExporterId(e,t){await this.write.updateRemoteDesignSystemDocExporterId(e,t)}async updateDesignSystemDocumentationSlug(e,t){await this.write.updateRemoteDesignSystemDocumentationSlug(e,t)}async deleteDesignSystem(e){await this.write.deleteDesignSystem(e)}async designSystemCustomDomain(e){const t=await this.read.getRemoteCustomDomain(e);return new M.CustomDomain(t)}async designSystemSource(e,t){const n=await this.read.getRemoteSource(e,t);return new F.Source(n)}async designSystemSources(e){return(await this.read.getRemoteSources(e)).map((e=>new F.Source(e)))}async getFigmaNodeStructures(e,t){return(await this.read.getFigmaNodeStructures(e,t)).map((e=>new L.FigmaStructure(e)))}async getFigmaNodeStructureDetail(e,t,n){const r=await this.read.getFigmaNodeStructureDetail(e,t,n);return new U.FigmaStructureDetail(r)}async deleteFigmaSource(e,t){return this.write.deleteRemoteSource(e,t)}async linkFigmaSource(e,t,n,r){const o={figmaFileUrl:n,autoImportMode:r.autoImport,brandId:t,scope:r.scopes};r.themeId&&(o.themeId=r.themeId);const i=await this.write.linkFigmaSource(e,o);return new F.Source(i)}async updateFigmaSource(e,t,n){const r={};n.scopes&&(r.scope=n.scopes),n.hasOwnProperty("autoImport")&&(r.autoImportMode=n.autoImport),n.hasOwnProperty("themeId")&&(r.themeId=n.themeId);const o=await this.write.updateFigmaSource(e,t,r);return new F.Source(o)}async updateFigmaSourceClaimOwnership(e,t){const n=await this.write.updateFigmaSourceClaimOwnership(e,t);return new F.Source(n)}async versions(e){return(await this.read.getVersions(e)).map((e=>new p.DesignSystemVersion(e)))}async version(e,t){const n=await this.read.getVersion(e,t);return new p.DesignSystemVersion(n)}async getBrands(e,t){return(await this.read.getBrands(e,t)).map((e=>new s.Brand(e)))}async getBrand(e,t,n){const r=await this.read.getBrand(e,t,n);return new s.Brand(r)}getAuthenticationTokens(){return this.read.getAuthenticationTokens()}deleteAuthenticationToken(e){return this.write.deleteAuthenticationToken(e)}createAuthenticationToken(e,t){return this.write.createAuthenticationToken(e,t)}getOAuthURL(e){return this.read.getOAuthURL(e)}deleteOAuthIntegration(e,t){return this.write.deleteOAuthIntegration(e,t)}createPersonalAccessTokenConnection(e,t){return this.write.createPersonalAccessTokenConnection(e,t)}async bulkUpdateTokenData(e,t,n){let r=Promise.resolve();if("create"===n.tokenMode){const r=await this.createToken(e,t,n.token,n.tokenParent.id);n.token.id=r.id,n.token.idInVersion=r.idInVersion}else"update"===n.tokenMode&&(r=r.then((()=>this.updateToken(e,t,n.token))).then((()=>this.updateTokenGroup(e,t,n.tokenParent))));const o=new Array;n.propertyValuesToCreateOrUpdate&&n.propertyValuesToCreateOrUpdate.forEach((r=>{o.push((()=>this.updateTokenPropertyValue(e,t,r.value,n.token,r.property)))})),n.propertyValuesToDelete&&n.propertyValuesToDelete.forEach((n=>{o.push((()=>this.deleteTokenPropertyValue(e,t,n)))})),n.themeValuesToCreate&&n.themeValuesToCreate.forEach((n=>{o.push((()=>this.createThemeOverrideForToken(e,t,n.themeId,n.themeOverrideTransferObject)))})),n.themeValuesToUpdate&&n.themeValuesToUpdate.forEach((r=>{o.push((()=>this.updateThemeOverrideForToken(e,t,n.token.id,r.themeId,r.themeOverrideTransferObject)))})),n.themeValuesToDelete&&n.themeValuesToDelete.forEach((r=>{o.push((()=>this.deleteThemeOverrideForToken(e,t,n.token.id,r)))})),await r,await Promise.all(o.map((e=>e())))}async bulkUpdateComponentData(e,t,n){let r=Promise.resolve();if("create"===n.componentMode){const r=await this.createComponent(e,t,n.component);n.component.id=r.id,n.component.idInVersion=r.idInVersion}else"update"===n.componentMode&&(r=r.then((()=>this.updateComponent(e,t,n.component))));const o=new Array;n.propertyValuesToCreateOrUpdate&&n.propertyValuesToCreateOrUpdate.forEach((r=>{o.push(this.updateComponentPropertyValue(e,t,r.value,n.component,r.property))})),n.propertyValuesToDelete&&n.propertyValuesToDelete.forEach((n=>{o.push(this.deleteTokenPropertyValue(e,t,n))})),await r,await Promise.all(o)}async importTokens(e,t,n,r,o,i){const a=await this.write.importTokens(e,t,n,r,o,"Upload",i);return new N.ImportJob(a)}async getImportJob(e,t,n){const r=await this.read.getImportJob(e,t,n);return new N.ImportJob(r)}async getImportJobs(e,t){return(await this.read.getImportJobs(e,t)).map((e=>new N.ImportJob(e)))}async scheduleImportJobForFigmaSources(e,t,n,r){const o=await this.write.scheduleImportJobForFigmaSources(e,t,n,r);return new N.ImportJob(o)}async getTokenStudioData(e,t){return this.read.getTokenStudioData(e,t)}async writeTokenStudioData(e,t,n){return this.write.writeTokenStudioJSONData(e,t,n)}async readKeyValueStorageData(e,t){return await this.read.getKeyValueStorageData(e,[t])}async setKeyValueStorageData(e,t,n){const r="string"==typeof n?n:JSON.stringify(n,null,0);await this.write.setKeyValueStorageData(e,{metadata:{[t]:r}})}async unsetKeyValueStorageData(e,t){await this.write.setKeyValueStorageData(e,{metadata:{[t]:null}})}}},3273:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataCoreReadRequests=void 0;const r=n(1530);t.DataCoreReadRequests=class{constructor(e){this.bridge=e}async getDataThroughCorsProxy(e){const t=this.bridge.getBaseEndpoint(`assets/cors-proxy?url=${e}`);return await this.bridge.getAsData(t)}async getRemoteMultiplayerToken(e){const t=this.bridge.getBaseEndpoint("liveblocks/auth");return(await this.bridge.post(t,{room:e})).result}async getRemoteCurrentUser(){const e=this.bridge.getBaseEndpoint("users/me");return(await this.bridge.get(e)).result.user}async getRemoteUser(e){const t=this.bridge.getUserEndpoint(e,null);return(await this.bridge.get(t)).result.user}async getRemoteMemberships(e){const t=this.bridge.getUserEndpoint(e,"workspaces");return(await this.bridge.get(t)).result.membership}async getRemoteAcls(){const e=this.bridge.getAclEndpoint();return(await this.bridge.get(e)).result}async getRemoteWorkspaceProductFeatures(e){const t=this.bridge.getWorkspaceEndpoint(e,"product-features");return(await this.bridge.get(t)).result.productFeatures}async getRemoteWorkspaceDetail(e){const t=this.bridge.getWorkspaceEndpoint(e,null);return(await this.bridge.get(t)).result}async getRemoteIsWorkspaceHandleAvailable(e){const t=this.bridge.getBaseEndpoint("workspaces/validate-handle");return"OK"===(await this.bridge.post(t,{handle:e})).result.status}async getRemoteUserMemberships(e){const t=this.bridge.getWorkspaceEndpoint(e,"members");return(await this.bridge.get(t)).result.members}async getRemoteWorkspaceOnboarding(e){const t=this.bridge.getWorkspaceEndpoint(e,"onboarding");return(await this.bridge.get(t)).result.onboardingState}async getRemoteWorkspaceIPWhitelistSettings(e){const t=this.bridge.getWorkspaceEndpoint(e,"ip-whitelist");return(await this.bridge.get(t)).result.ipWhitelist}async getRemoteWorkspaceNPMRegistrySettings(e){const t=this.bridge.getWorkspaceEndpoint(e,"npm-registry");return(await this.bridge.get(t)).result.npmRegistrySettings}async getRemoteWorkspaceNPMRegistryAccessToken(e){const t=this.bridge.getWorkspaceEndpoint(e,"npm-registry/access-token");return(await this.bridge.get(t)).result}async getRemoteWorkspaceSSOSettings(e){const t=this.bridge.getWorkspaceEndpoint(e,"sso");return(await this.bridge.get(t)).result.ssoSettings}async getRemoteWorkspaceInvitations(e){const t=this.bridge.getWorkspaceEndpoint(e,"invitations");return(await this.bridge.get(t)).result.invitations}async getRemoteWorkspaceInvoices(e){const t=this.bridge.getWorkspaceEndpoint(e,"subscription/invoices");return(await this.bridge.get(t)).result.invoices}async getRemoteWorkspaceSubscription(e){const t=this.bridge.getWorkspaceEndpoint(e,"subscription");return(await this.bridge.get(t)).result.subscription}async getRemoteWorkspaceAvailableProducts(e){const t=this.bridge.getWorkspaceEndpoint(e,"available-plans");return(await this.bridge.get(t)).result.availablePlans}async getRemoteDesignSystem(e){const t=this.bridge.getDesignSystemEndpoint(e,null);return(await this.bridge.get(t)).result.designSystem}async getRemoteDesignSystems(e){const t=this.bridge.getWorkspaceEndpoint(e,"design-systems");return(await this.bridge.get(t)).result.designSystems}async getRemoteDesignSystemsByUserId(e){const t=this.bridge.getUserEndpoint(e,"design-systems");return(await this.bridge.get(t)).result}async getRemoteCustomDomain(e){const t=this.bridge.getDesignSystemEndpoint(e,"custom-domain");return(await this.bridge.get(t)).result.customDomain}async getRemoteSource(e,t){const n=this.bridge.getDesignSystemEndpoint(e,`sources/${t}`);return(await this.bridge.get(n)).result.source}async getRemoteSources(e){const t=this.bridge.getDesignSystemEndpoint(e,"sources");return(await this.bridge.get(t)).result.sources}async getFigmaNodeStructures(e,t){return(await this.bridge.get(this.bridge.getVersionEndpoint(e,t,"figma-frames/node-structures"))).result.structures}async getFigmaNodeStructureDetail(e,t,n){return(await this.bridge.get(this.bridge.getVersionEndpoint(e,t,`figma-frames/node-structures/${n}`))).result.structure}async getRemoteDocumentationUrl(e,t){var n;const r=this.bridge.getVersionEndpoint(e,t,"documentation/url");return null!==(n=(await this.bridge.get(r)).result.url)&&void 0!==n?n:null}async getRemoteDocumentationStructure(e,t){const n=this.bridge.getVersionEndpoint(e,t,"documentation");return(await this.bridge.get(n)).result.documentation}async getRemoteRealDocumentationStructure(e,t){const n=this.bridge.getVersionEndpoint(e,t,"documentation/structure");return(await this.bridge.get(n)).result.items}async getRemoteDocumentationPageRoomId(e,t,n){var r,o;const i=this.bridge.getVersionEndpoint(e,t,`documentation/pages/${n}/room`),a=await this.bridge.get(i);return null===(o=null===(r=null==a?void 0:a.result)||void 0===r?void 0:r.room)||void 0===o?void 0:o.id}async getRemoteDocumentationVersionRoomId(e,t){var n,r;const o=this.bridge.getVersionEndpoint(e,t,"room"),i=await this.bridge.get(o);return null===(r=null===(n=null==i?void 0:i.result)||void 0===n?void 0:n.room)||void 0===r?void 0:r.id}async getRemoteExporterCustomBlocks(e,t){const n=this.bridge.getVersionEndpoint(e,t,"documentation/custom-blocks");return(await this.bridge.get(n)).result.customBlocks}async getRemoteExporterConfigurationUserSpecifiedValues(e,t){const n=this.bridge.getDesignSystemEndpoint(e,`exporter-properties/${t}`);return(await this.bridge.get(n)).result.items}async getBlockDefinitions(e,t){const n=this.bridge.getDesignSystemEndpoint(e,`versions/${t}/documentation/block-definitions`),o=await this.bridge.get(n);return r.DTOGetBlockDefinitionsOutput.parse(o.result).definitions}async getUrlPreview(e,t,n){const r=this.bridge.getDesignSystemEndpoint(e,`versions/${t}/documentation/link-preview`);return(await this.bridge.post(r,n)).result}async getRemoteExporter(e,t){const n=this.bridge.getBaseEndpoint(`codegen/workspaces/${e}/exporters/${t}`);return(await this.bridge.get(n)).result.exporter}async getRemoteExporters(e,t){const n=this.bridge.getBaseEndpoint(`codegen/workspaces/${e}/exporters`),r=new URL(n);t&&t.installedOnly&&r.searchParams.append("installedOnly","true"),r.searchParams.append("limit","200");const o=r.toString();return(await this.bridge.get(o)).result.exporters}async getRemoteAssetResources(e,t){const n=this.bridge.getVersionEndpoint(e,t,"assets?type=image");return(await this.bridge.get(n)).result.assets}async getRemoteFontResources(e,t){const n=this.bridge.getVersionEndpoint(e,t,"assets?type=font");return(await this.bridge.get(n)).result.assets}async getRemoteTokens(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,"tokens"),o=new URL(r);n&&n.brandId&&o.searchParams.append("brandId",n.brandId);const i=o.toString();return(await this.bridge.get(i)).result.tokens}async getRemoteTokenGroups(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,"token-groups"),o=new URL(r);n&&n.brandId&&o.searchParams.append("brandId",n.brandId);const i=o.toString();return(await this.bridge.get(i)).result.groups}async getRemoteTokenThemes(e,t){const n=this.bridge.getVersionEndpoint(e,t,"themes");return(await this.bridge.get(n)).result.themes}async getRemoteTokenUsage(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,`tokens/${n}/used-by`);return(await this.bridge.get(r)).result}async getRemoteComponents(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,"design-system-components"),o=new URL(r);n&&n.brandId&&o.searchParams.append("brandId",n.brandId);const i=o.toString();return(await this.bridge.get(i)).result.designSystemComponents}async getRemoteComponentGroups(e,t){const n=this.bridge.getVersionEndpoint(e,t,"design-system-component-groups");return(await this.bridge.get(n)).result.groups}async getRemoteDesignComponents(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,"components"),o=new URL(r);n&&n.brandId&&o.searchParams.append("brandId",n.brandId);const i=o.toString();return(await this.bridge.get(i)).result.components}async getRemoteDesignComponentGroups(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,"component-groups"),o=new URL(r);n&&n.brandId&&o.searchParams.append("brandId",n.brandId);const i=o.toString();return(await this.bridge.get(i)).result.groups}async getRemoteAssets(e,t){const n=this.bridge.getVersionEndpoint(e,t,"components");return(await this.bridge.get(n)).result.components}async getRemoteAssetGroups(e,t){const n=this.bridge.getVersionEndpoint(e,t,"component-groups");return(await this.bridge.get(n)).result.groups}async getRemoteElementPropertyDefinitions(e,t){const n=this.bridge.getVersionEndpoint(e,t,"element-properties/definitions");return(await this.bridge.get(n)).result.definitions}async getRemoteElementDataViewDefinitions(e,t){const n=this.bridge.getVersionEndpoint(e,t,"element-data-views");return(await this.bridge.get(n)).result.elementDataViews}async getRemoteElementPropertyValues(e,t){const n=this.bridge.getVersionEndpoint(e,t,"element-properties/values");return(await this.bridge.get(n)).result.values}async getRemoteFigmaFrames(e,t){const n=this.bridge.getVersionEndpoint(e,t,"elements?types=FigmaNode");return(await this.bridge.get(n)).result.figmaNodes}async getRemotePipelines(e,t){const n=this.bridge.getBaseEndpoint(`codegen/workspaces/${e}/schedules?latestJobsLimit=1`),r=new URL(n);t&&r.searchParams.append("designSystemId",t);const o=r.toString();return(await this.bridge.get(o)).result.schedules}async getRemoteGithubConnections(){const e=this.bridge.getBaseEndpoint("codegen/github/connections");return(await this.bridge.get(e)).result.connections}async getRemoteGithubAccounts(e){const t=this.bridge.getBaseEndpoint(`codegen/github/connections/${e}/accounts`);return(await this.bridge.get(t)).result.accounts}async getRemoteGithubRepositories(e,t){const n=this.bridge.getBaseEndpoint(`codegen/github/connections/${e}/accounts/${t}/repositories`);return(await this.bridge.get(n)).result.repositories}async getRemoteGithubBranches(e,t,n){const r=this.bridge.getBaseEndpoint(`codegen/github/connections/${e}/accounts/${t}/repositories/${n}/branches`);return(await this.bridge.get(r)).result.branches}async getRemoteGitlabConnections(){const e=this.bridge.getBaseEndpoint("codegen/gitlab/connections");return(await this.bridge.get(e)).result.connections}async getRemoteGitlabGroups(e){const t=this.bridge.getBaseEndpoint(`codegen/gitlab/connections/${e}/groups`);return(await this.bridge.get(t)).result.groups}async getRemoteGitlabRepositories(e,t){const n=this.bridge.getBaseEndpoint(`codegen/gitlab/connections/${e}/groups/${t}/repositories`);return(await this.bridge.get(n)).result.repositories}async getRemoteGitlabBranches(e,t){const n=this.bridge.getBaseEndpoint(`codegen/gitlab/connections/${e}/repository/${t}/branches`);return(await this.bridge.get(n)).result.branches}async getRemoteAzureConnections(){const e=this.bridge.getBaseEndpoint("codegen/azure/connections");return(await this.bridge.get(e)).result.connections}async getRemoteAzureOrganizations(e){const t=this.bridge.getBaseEndpoint(`codegen/azure/connections/${e}/organizations`);return(await this.bridge.get(t)).result.organizations}async getRemoteAzureProjects(e,t){const n=this.bridge.getBaseEndpoint(`codegen/azure/connections/${e}/organizations/${t}/projects`);return(await this.bridge.get(n)).result.projects}async getRemoteAzureRepositories(e,t,n){const r=this.bridge.getBaseEndpoint(`codegen/azure/connections/${e}/organizations/${t}/projects/${n}/repositories`);return(await this.bridge.get(r)).result.repositories}async getRemoteAzureBranches(e,t,n,r){const o=this.bridge.getBaseEndpoint(`codegen/azure/connections/${e}/organizations/${t}/projects/${n}/repositories/${r}/branches`);return(await this.bridge.get(o)).result.branches}async getRemoteBitbucketConnections(){const e=this.bridge.getBaseEndpoint("codegen/bitbucket/connections");return(await this.bridge.get(e)).result.connections}async getRemoteBitbucketWorkspaces(e){const t=this.bridge.getBaseEndpoint(`codegen/bitbucket/connections/${e}/workspaces`);return(await this.bridge.get(t)).result.workspaces}async getRemoteBitbucketProjects(e,t){const n=this.bridge.getBaseEndpoint(`codegen/bitbucket/connections/${e}/workspaces/${t}/projects`);return(await this.bridge.get(n)).result.projects}async getRemoteBitbucketRepositories(e,t,n){const r=this.bridge.getBaseEndpoint(`codegen/bitbucket/connections/${e}/workspaces/${t}/repositories`);return(await this.bridge.get(r)).result.repositories}async getRemoteBitbucketBranches(e,t,n,r){const o=this.bridge.getBaseEndpoint(`codegen/bitbucket/connections/${e}/workspaces/${t}/projects/${n}/repositories/${r}/branches`);return(await this.bridge.get(o)).result.branches}async getRemoteBuild(e,t){const n=this.bridge.getBaseEndpoint(`codegen/workspaces/${e}/jobs/${t}`);return(await this.bridge.get(n)).result.job}async getRemoteBuilds(e,t,n,r,o,i,a,s,d,p){const l=this.bridge.getBaseEndpoint(`codegen/workspaces/${e}/jobs`),c=new URL(l);r&&c.searchParams.append("limit",r.toString()),o&&c.searchParams.append("offset",o.toString()),i&&c.searchParams.append("scheduleId",i),a&&c.searchParams.append("exporterId",a),t&&c.searchParams.append("designSystemVersionId",t),n&&c.searchParams.append("docsEnvironment",n),s&&s.forEach((e=>{c.searchParams.append("destinations[]",e)})),d&&c.searchParams.append("createdByUserId",d),p&&c.searchParams.append("status",p);const u=c.toString();return(await this.bridge.get(u)).result.jobs}async getRemoteBuildLogs(e,t){const n=this.bridge.getBaseEndpoint(`codegen/workspaces/${e}/jobs/${t}/logs`);return(await this.bridge.get(n)).result.logs}async getBrands(e,t){const n=this.bridge.getVersionEndpoint(e,t,"brands");return(await this.bridge.get(n)).result.brands}async getBrand(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,`brands/${n}`);return(await this.bridge.get(r)).result.brand}async getAuthenticationTokens(){const e=this.bridge.getBaseEndpoint("auth/tokens");return(await this.bridge.get(e)).result.tokens}async getOAuthURL(e){const t=this.bridge.getBaseEndpoint(`auth/${e}/oauth-request`);return(await this.bridge.get(t)).result.url}async getVersion(e,t){const n=this.bridge.getVersionEndpoint(e,t,null);return(await this.bridge.get(n)).result.designSystemVersion}async getVersions(e){const t=this.bridge.getDesignSystemEndpoint(e,"versions");return(await this.bridge.get(t)).result.designSystemVersions}async getImportJobs(e,t){const n=this.bridge.getVersionEndpoint(e,t,"import-jobs"),r=new URL(n);r.searchParams.append("operation","Import");const o=r.toString();return(await this.bridge.get(o)).result.jobs}async getImportJob(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,`import-jobs/${n}`);return(await this.bridge.get(r)).result.job}async getKeyValueStorageData(e,t){const n=`design-systems/${e}/metadata?keys=${t.map((e=>encodeURIComponent(e))).join(",")}`,r=this.bridge.getBaseEndpoint(n);return(await this.bridge.get(r)).result.metadata}async getTokenStudioData(e,t){const n=this.bridge.getVersionEndpoint(e,t,"bff/token-studio");return(await this.bridge.get(n)).result}}},389:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataCoreRenderRequests=void 0;const r=n(7873);t.DataCoreRenderRequests=class{constructor(e){this.bridge=e}async renderAssetsForConfiguration(e,t,n,o,i){const a={settings:n,persistentIds:o.map((e=>e.id))},s=this.bridge.getVersionEndpoint(e,t,"components/assets/download-list"),d=(await this.bridge.post(s,a)).result.items,p=new Map;for(const e of d)p.set(e.assetId,e);if(Array.from(p.entries()).length!==o.length)throw new Error("Number of rendered assets doesn't align with number of requested assets");const l=new Map;for(const e of o)l.set(e.id,e);const c=[],u=new Map;for(const e of o){const t=p.get(e.id);let n;for(const t of i)if(t.assetIds.includes(e.id)){n=t;break}const o=this.assetPath(e,n,i);if(u.get(o)||u.set(o,0),!n)throw new Error("Each asset must be assigned to some group");const a=new r.RenderedAsset(t,e,n,u.get(o));u.set(o,u.get(o)+1),c.push(a)}return c}assetPath(e,t,n){const r=[e.name];let o=t;for(;o;){r.push(o.name);const e=o.parentGroupId;if(!e)break;o=n.find((t=>t.persistentId===e))}return r.reverse().join("/")}}},3086:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataCoreWriteRequests=void 0;const r=n(3903);t.DataCoreWriteRequests=class{constructor(e){this.bridge=e}async deleteRemoteUser(e){const t=this.bridge.getUserEndpoint(e,null);return this.bridge.delete(t)}async canDeleteRemoteUser(e){const t=this.bridge.getUserEndpoint(e,"check-deletable");return this.bridge.post(t,{}),!0}async updateRemoteUserProfile(e,t){const n=this.bridge.getUserEndpoint(t,"profile");return this.bridge.put(n,e)}async updateRemoteUserAvatar(e,t){const n=this.bridge.getUserEndpoint(e,"avatar"),r=new FormData;return r.append("avatar",t),this.bridge.upload(n,r)}async deleteRemoteUserAvatar(e){const t=this.bridge.getUserEndpoint(e,"avatar");return this.bridge.delete(t)}async logoutRemoteCurrentUser(){const e=this.bridge.getBaseEndpoint("users/me/logout");return this.bridge.post(e,null)}async createRemoteWorkspace(e,t){const n=this.bridge.getBaseEndpoint("workspaces");return(await this.bridge.post(n,{name:e,handle:t,product:"free",priceId:"yearly"})).result.workspace}async createRemoteVersion(e,t){var n,r;const o=this.bridge.getDesignSystemEndpoint(e,"head/commit");return(await this.bridge.post(o,{meta:{name:null!==(n=t.name)&&void 0!==n?n:"",description:null!==(r=t.description)&&void 0!==r?r:""},version:t.version,changelog:""})).result.designSystemVersion}async updateRemoteVersion(e,t,n){var r,o;const i=this.bridge.getVersionEndpoint(e,t,null);return this.bridge.put(i,{meta:{name:null!==(r=n.name)&&void 0!==r?r:"",description:null!==(o=n.description)&&void 0!==o?o:""},version:n.version,changelog:""})}async deleteRemoteVersion(e,t){const n=this.bridge.getVersionEndpoint(e,t,null);return this.bridge.delete(n)}async createRemoteBrand(e,t,n){var o,i;const a=this.bridge.getVersionEndpoint(e,t,"brands");return(await this.bridge.post(a,{meta:{name:null!==(o=n.name)&&void 0!==o?o:"",description:null!==(i=n.description)&&void 0!==i?i:""},persistentId:(0,r.v4)()})).result.brand}async updateRemoteBrand(e,t,n,r){const o=this.bridge.getVersionEndpoint(e,t,`brands/${n}`);return this.bridge.put(o,r.toRemote())}async deleteRemoteBrand(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,`brands/${n}`);return this.bridge.delete(r)}async updateRemoteCustomDomain(e,t){const n=this.bridge.getDesignSystemEndpoint(e,"custom-domain");return(await this.bridge.put(n,{customerDomain:t})).result.customDomain}async deleteRemoteCustomDomain(e){const t=this.bridge.getDesignSystemEndpoint(e,"custom-domain");return this.bridge.delete(t)}async startSslGenerationForCustomDomain(e){const t=this.bridge.getDesignSystemEndpoint(e,"custom-domain/ssl");return this.bridge.post(t,{})}async updateRemoteWorkspaceProfile(e,t){const n=this.bridge.getWorkspaceEndpoint(e,"profile");return this.bridge.put(n,t)}async testIpWhitelistSettings(e,t){const n=this.bridge.getWorkspaceEndpoint(e,"ip-whitelist-test");return(await this.bridge.post(n,t)).result}async updateRemoteWorkspaceAvatar(e,t){const n=this.bridge.getWorkspaceEndpoint(e,"avatar"),r=new FormData;return r.append("avatar",t),this.bridge.upload(n,r)}async updateRemoteWorkspaceOnboarding(e,t){const n=this.bridge.getWorkspaceEndpoint(e,"onboarding");return this.bridge.put(n,t)}async updateRemoteWorkspaceSSOSettings(e,t){const n=this.bridge.getWorkspaceEndpoint(e,"sso");return this.bridge.put(n,t)}async updateRemoteWorkspaceIPWhitelistSettings(e,t){const n=this.bridge.getWorkspaceEndpoint(e,"ip-whitelist");return this.bridge.put(n,t)}async updateRemoteWorkspaceNPMRegistrySettings(e,t){const n=this.bridge.getWorkspaceEndpoint(e,"npm-registry");return this.bridge.put(n,t)}async updateRemoteWorkspaceOwnership(e,t){const n=this.bridge.getWorkspaceEndpoint(e,"ownership");return this.bridge.put(n,{newOwnerId:t})}async updateRemoteWorkspaceMemberRole(e,t,n){const r=this.bridge.getWorkspaceEndpoint(e,"members/role");return this.bridge.put(r,{members:[{userId:t,role:n}]})}async updateRemoteWorkspaceInvitationRole(e,t,n){const r=this.bridge.getWorkspaceEndpoint(e,`invitations/${t}/role`);return this.bridge.put(r,{role:n})}async addRemoteWorkspaceInvitations(e,t){const n=this.bridge.getWorkspaceEndpoint(e,"members");return this.bridge.post(n,{invites:t})}async deleteRemoteWorkspace(e){const t=this.bridge.getWorkspaceEndpoint(e,null);return this.bridge.delete(t)}async deleteRemoteWorkspaceAvatar(e){const t=this.bridge.getWorkspaceEndpoint(e,"avatar");return this.bridge.delete(t)}async deleteRemoteWorkspaceNPMRegistrySettings(e){const t=this.bridge.getWorkspaceEndpoint(e,"npm-registry");return this.bridge.delete(t)}async deleteRemoteWorkspaceMember(e,t){const n=this.bridge.getWorkspaceEndpoint(e,`members/${t}`);return this.bridge.delete(n)}async deleteRemoteWorkspaceInvitation(e,t){const n=this.bridge.getWorkspaceEndpoint(e,`invitations/${t}`);return this.bridge.delete(n)}async createRemoteCheckoutSession(e,t,n,r,o){const i=this.bridge.getWorkspaceEndpoint(e,"subscription/checkout-session");return(await this.bridge.post(i,{priceId:t,successUrl:n,cancelUrl:r,quantity:o})).result.url}async createRemotePortalSession(e,t,n,r){const o=this.bridge.getWorkspaceEndpoint(e,"subscription/portal-session");return(await this.bridge.post(o,Object.assign(Object.assign({returnUrl:t},n&&{update:n}),{cancel:r}))).result.url}async resendRemoteWorkspaceInvitation(e,t){const n=this.bridge.getWorkspaceEndpoint(e,`invitations/${t}/resend`);return this.bridge.post(n,{invitationId:t})}async restoreRemoteWorkspaceSubscription(e){const t=this.bridge.getWorkspaceEndpoint(e,"subscription/restore");return this.bridge.post(t,{})}async createRemoteDesignSystem(e,t,n){const r=this.bridge.getBaseEndpoint("design-systems");return(await this.bridge.post(r,{meta:{name:t,description:null!=n?n:""},workspaceId:e})).result.designSystem}async updateRemoteDesignSystemMetadata(e,t,n){const r=this.bridge.getDesignSystemEndpoint(e,void 0);await this.bridge.put(r,{meta:{name:t,description:null!=n?n:""}})}async updateRemoteDesignSystemIsMultibrand(e,t){var n;const r=this.bridge.getDesignSystemEndpoint(e.id,void 0);await this.bridge.put(r,{isMultibrand:t,meta:{name:e.name,description:null!==(n=e.description)&&void 0!==n?n:""}})}async updateRemoteDesignSystemSwitcher(e,t){const n=this.bridge.getDesignSystemEndpoint(e.id,null);await this.bridge.put(n,{meta:{name:e.name,description:e.description},designSystemSwitcher:t})}async updateRemoteDesignSystemDocExporterId(e,t){const n=this.bridge.getDesignSystemEndpoint(e.id,void 0);await this.bridge.put(n,{meta:{name:e.name,description:e.description},docExporterId:t})}async updateRemoteDocumentationStructure(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,"documentation");await this.bridge.put(r,n)}async updateRemoteDesignSystemDocumentationSlug(e,t){const n=this.bridge.getDesignSystemEndpoint(e.id,void 0);await this.bridge.put(n,{meta:{name:e.name,description:e.description},docUserSlug:t})}async deleteDesignSystem(e){const t=this.bridge.getDesignSystemEndpoint(e,null);return this.bridge.delete(t)}async elementAction(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,"elements-action");return this.bridge.post(r,n)}async createRemoteDocumentationPage(e,t,n){return this.elementAction(e,t,{type:"DocumentationPageCreate",input:n})}async createRemoteDocumentationGroup(e,t,n){return this.elementAction(e,t,{type:"DocumentationGroupCreate",input:n})}async createRemoteDocumentationTab(e,t,n){return this.elementAction(e,t,{type:"DocumentationTabCreate",input:n})}async updateRemoteDocumentationPage(e,t,n){return this.elementAction(e,t,{type:"DocumentationPageUpdate",input:n})}async updateRemoteDocumentationGroup(e,t,n){return this.elementAction(e,t,{type:"DocumentationGroupUpdate",input:n})}async moveRemoteDocumentationPage(e,t,n){return this.elementAction(e,t,{type:"DocumentationPageMove",input:n})}async moveRemoteDocumentationGroup(e,t,n){return this.elementAction(e,t,{type:"DocumentationGroupMove",input:n})}async duplicateRemoteDocumentationPage(e,t,n){return this.elementAction(e,t,{type:"DocumentationPageDuplicate",input:n})}async duplicateRemoteDocumentationGroup(e,t,n){return this.elementAction(e,t,{type:"DocumentationGroupDuplicate",input:n})}async deleteRemoteDocumentationPage(e,t,n){return this.elementAction(e,t,{type:"DocumentationPageDelete",input:n})}async deleteRemoteDocumentationTabGroup(e,t,n){return this.elementAction(e,t,{type:"DocumentationTabGroupDelete",input:n})}async deleteRemoteDocumentationGroup(e,t,n){return this.elementAction(e,t,{type:"DocumentationGroupDelete",input:n})}async publishDocumentation(e,t,n,r){const o=this.bridge.getBaseEndpoint(`codegen/workspaces/${e}/jobs/documentation`),i={designSystemId:t,designSystemVersionId:n,environment:r};return(await this.bridge.post(o,i)).result.job}async renderFigmaFrames(e,t,n){return(await this.elementAction(e,t,{type:"FigmaNodeRender",input:n})).result.figmaNodes}async createRemoteToken(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,"tokens");return(await this.bridge.post(r,n)).result.token}async updateRemoteToken(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,`tokens/${n.id}`);return this.bridge.put(r,n)}async createRemoteTokenGroup(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,"token-groups");return(await this.bridge.post(r,n)).result.group}async updateRemoteTokenGroup(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,`token-groups/${n.id}`);return this.bridge.put(r,n)}async deleteRemoteToken(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,`tokens/${n}`);return this.bridge.delete(r)}async ungroupRemoteTokenGroup(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,`token-groups/${n}`);return this.bridge.delete(r)}async createRemoteTokenTheme(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,"themes");return(await this.bridge.post(r,n)).result.theme}async updateRemoteTokenTheme(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,`themes/${n.id}`);return this.bridge.put(r,n)}async deleteRemoteTokenTheme(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,`themes/${n}`);return this.bridge.delete(r)}async createThemeOverrideForToken(e,t,n,r){const o=this.bridge.getVersionEndpoint(e,t,`themes/${n}/overrides`);return this.bridge.post(o,r)}async updateThemeOverrideForToken(e,t,n,r,o){const i=this.bridge.getVersionEndpoint(e,t,`themes/${r}/overrides/${n}`);return this.bridge.put(i,o)}async deleteThemeOverrideForToken(e,t,n,r){const o=this.bridge.getVersionEndpoint(e,t,`themes/${r}/overrides/${n}`);return this.bridge.delete(o)}async writeTokenData(e,t,n,r,o,i){const a=this.bridge.getVersionEndpoint(e,t,"bff/import"),s={tokens:n,tokenGroups:r,bulkDelete:{tokenIds:o.map((e=>e.idInVersion)),tokenGroupIds:i.map((e=>e.idInVersion))}};return this.bridge.post(a,s)}async writeTokenThemeData(e,t,n){const r=n,o=this.bridge.getVersionEndpoint(e,t,`themes/${n.id}`);await this.bridge.put(o,r)}async updateTokenPropertyValue(e,t,n,r,o){const i={value:n,definitionId:o,targetElementId:r},a=this.bridge.getVersionEndpoint(e,t,"element-properties/values");await this.bridge.post(a,i)}async deleteTokenPropertyValue(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,`element-properties/values/${n}`);await this.bridge.delete(r)}async createTokenProperty(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,"element-properties/definitions");return(await this.bridge.post(r,n)).result.definition}async updateTokenProperty(e,t,n,r){const o=this.bridge.getVersionEndpoint(e,t,`element-properties/definitions/${n}`);return this.bridge.put(o,r)}async deleteTokenProperty(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,`element-properties/definitions/${n}`);await this.bridge.delete(r)}async updateReorderTokenColumn(e,t,n,r,o){const i={newIndex:o},a=this.bridge.getVersionEndpoint(e,t,`element-data-views/${n}/columns/${r}/reorder`);await this.bridge.put(a,i)}async updateResizeTokenColumn(e,t,n,r,o,i,a,s,d){const p={type:r,width:d,themeId:i,basePropertyType:a,propertyDefinitionId:s},l=this.bridge.getVersionEndpoint(e,t,`element-data-views/${n}/columns/${o}`);await this.bridge.put(l,p)}async uploadAssetResource(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,"assets/image?scope=Documentation"),o=new FormData;return o.append("asset",n),(await this.bridge.upload(r,o,"POST")).result.asset}async uploadFontResource(e,t,n){var r,o;const i=this.bridge.getVersionEndpoint(e,t,"assets/font?scope=DesignSystem"),a=new FormData;a.append("asset",n);const s=await this.bridge.upload(i,a,"POST");return(null===(o=null===(r=null==s?void 0:s.result)||void 0===r?void 0:r.assets)||void 0===o?void 0:o[0])?s.result.assets[0]:null}async uploadFontResources(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,"assets/font?scope=DesignSystem"),o=new FormData;for(let e=0;e<n.length;e++){const t=n.item(e);t&&o.append("asset",t)}return(await this.bridge.upload(r,o,"POST")).result.assets}async deleteResource(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,`assets/${n}`);return this.bridge.delete(r)}async deleteResources(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,"assets/batch-delete");return this.bridge.post(r,{ids:n})}async createRemoteComponent(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,"design-system-components");return(await this.bridge.post(r,n)).result.designSystemComponent}async updateRemoteComponent(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,`design-system-components/${n.id}`);return this.bridge.put(r,n)}async createRemoteComponentGroup(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,"design-system-component-groups");return(await this.bridge.post(r,n)).result.group}async updateRemoteComponentGroup(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,`design-system-component-groups/${n.id}`);return this.bridge.put(r,n)}async deleteRemoteComponent(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,`design-system-components/${n}`);return this.bridge.delete(r)}async ungroupRemoteComponentGroup(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,`design-system-component-groups/${n}`);return this.bridge.delete(r)}async writeComponentData(e,t,n,r,o,i){const a=this.bridge.getVersionEndpoint(e,t,"bff/import"),s={components:n,componentGroups:r,bulkDelete:{componentIds:o.map((e=>e.idInVersion)),componentGroupIds:i.map((e=>e.idInVersion))}};return this.bridge.post(a,s)}async updateComponentPropertyValue(e,t,n,r,o){const i={value:n,definitionId:o,targetElementId:r},a=this.bridge.getVersionEndpoint(e,t,"element-properties/values");await this.bridge.post(a,i)}async deleteComponentPropertyValue(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,`element-properties/values/${n}`);await this.bridge.delete(r)}async createComponentProperty(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,"element-properties/definitions");return(await this.bridge.post(r,n)).result.definition}async updateComponentProperty(e,t,n,r){const o=this.bridge.getVersionEndpoint(e,t,`element-properties/definitions/${n}`);return this.bridge.put(o,r)}async deleteComponentProperty(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,`element-properties/definitions/${n}`);await this.bridge.delete(r)}async updateReorderComponentColumn(e,t,n,r,o){const i={newIndex:o},a=this.bridge.getVersionEndpoint(e,t,`element-data-views/${n}/columns/${r}/reorder`);await this.bridge.put(a,i)}async updateResizeComponentColumn(e,t,n,r,o,i,a,s,d){const p={type:r,width:d,themeId:i,basePropertyType:a,propertyDefinitionId:s},l=this.bridge.getVersionEndpoint(e,t,`element-data-views/${n}/columns/${o}`);await this.bridge.put(l,p)}async deleteOAuthIntegration(e,t){const n=this.bridge.getBaseEndpoint(`users/${e}/integration/${t}`);await this.bridge.delete(n)}async createAuthenticationToken(e,t){const n=this.bridge.getBaseEndpoint("auth/tokens");return(await this.bridge.post(n,{name:e,scope:t})).result.token}async deleteAuthenticationToken(e){const t=this.bridge.getBaseEndpoint(`auth/tokens/${e}`);return(await this.bridge.delete(t)).result}async createPersonalAccessTokenConnection(e,t){const n=this.bridge.getBaseEndpoint(`codegen/${e}/connections`);return(await this.bridge.post(n,t)).result.connection}async createRemotePipeline(e,t){const n=this.bridge.getBaseEndpoint(`codegen/workspaces/${e}/schedules`);return(await this.bridge.post(n,t)).result.schedule}async updateRemotePipeline(e,t){const n=this.bridge.getBaseEndpoint(`codegen/workspaces/${e}/schedules/${t.id}`);return this.bridge.put(n,t)}async runRemotePipeline(e,t,n){const r=this.bridge.getBaseEndpoint(`codegen/workspaces/${e}/schedules/${n}/trigger`);return this.bridge.post(r,{designSystemVersionId:t})}async deleteRemotePipeline(e,t){const n=this.bridge.getBaseEndpoint(`codegen/workspaces/${e}/schedules/${t}`);return this.bridge.delete(n)}async createRemoteExporter(e,t){const n=this.bridge.getBaseEndpoint(`codegen/workspaces/${e}/exporters`);return(await this.bridge.post(n,t)).result.exporter}async updateRemoteExporter(e,t,n){const r=this.bridge.getBaseEndpoint(`codegen/workspaces/${e}/exporters/${t}`);return this.bridge.put(r,n)}async deleteRemoteExporter(e,t){const n=this.bridge.getBaseEndpoint(`codegen/workspaces/${e}/exporters/${t}`);return this.bridge.delete(n)}async updateRemoteExporterConfigurationPropertyValue(e,t,n,r){const o=this.bridge.getDesignSystemEndpoint(e,`exporter-properties/${t}/${n}`);return this.bridge.put(o,{value:r})}async deleteRemoteExporterConfigurationPropertyValue(e,t,n){const r=this.bridge.getDesignSystemEndpoint(e,`exporter-properties/${t}/${n}`);return this.bridge.delete(r)}async scheduleImportJobForFigmaSources(e,t,n,r){const o=this.bridge.getVersionEndpoint(e,t,"cloud-import"),i={sourceIds:n,dryRun:r};return(await this.bridge.post(o,i)).result.job}async deleteRemoteSource(e,t){const n=this.bridge.getDesignSystemEndpoint(e,`sources/${t}`);return this.bridge.delete(n)}async linkFigmaSource(e,t){const n=this.bridge.getDesignSystemEndpoint(e,"sources");return(await this.bridge.post(n,t)).result.source}async updateFigmaSource(e,t,n){const r=this.bridge.getDesignSystemEndpoint(e,`sources/${t}`);return(await this.bridge.put(r,n)).result.source}async updateFigmaSourceClaimOwnership(e,t){const n=this.bridge.getDesignSystemEndpoint(e,`sources/${t}/ownership`);return(await this.bridge.put(n,{})).result.source}async writeTokenStudioJSONData(e,t,n){const r=this.bridge.getVersionEndpoint(e,t,"bff/token-studio");return this.bridge.post(r,n)}async importTokens(e,t,n,r,o,i,a){const s=this.bridge.getDesignSystemEndpoint(e,"bff/import"),d={brandPersistentId:t,sourceName:r,remoteId:n,remoteSourceType:o,type:i,payload:a};return(await this.bridge.post(s,d)).result.job}async setKeyValueStorageData(e,t){const n=this.bridge.getBaseEndpoint(`design-systems/${e}/metadata`);await this.bridge.put(n,t)}}},4379:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SupernovaError=void 0;class n extends Error{constructor(e,t,n,r,o,i,a){super(e),this.code=t,this.status=n,this.formErrors=r,this.requestId=o,this.serverTime=i,this.url=a}static fromNetworkResponse(e,t,r){var o,i,a;return new n(e.message,e.errorCode||e.reason||e.label||null,e.code||t,null!==(o=e.formErrors)&&void 0!==o?o:null,null!==(i=e.requestId)&&void 0!==i?i:null,null!==(a=e.serverTime)&&void 0!==a?a:null,r)}static fromNoNetworkResponse(e){return new n("No network or internet unreachable","NO_NETWORK",12163,null,(new Date).toISOString(),null,e)}static fromCode(e){return new n(e,e,null,null,null,null,null)}static fromMessage(e){return new n(e,null,null,null,null,null,null)}isFieldErrored(e){return void 0!==this.formErrors.find((t=>t.key===e))}errorForField(e){var t;return null!==(t=this.formErrors.find((t=>t.key===e)))&&void 0!==t?t:null}toString(){var e,t,n,r,o,i;return`\n Error thrown: ${this.message}\n\n Code: ${null!==(e=this.code)&&void 0!==e?e:"-"}\n\n Status: ${null!==(t=this.status)&&void 0!==t?t:"-"}\n\n Fields: ${JSON.stringify(this.formErrors,null,2)}\n\n Request ID: ${null!==(n=this.requestId)&&void 0!==n?n:"-"}\n\n Server time: ${null!==(r=this.serverTime)&&void 0!==r?r:"-"}\n\n Network URL: ${null!==(o=this.url)&&void 0!==o?o:"-"}\n\n Stack: ${null!==(i=this.stack)&&void 0!==i?i:"-"}\n `}toHumanReadable(){return`${this.message}${this.requestId?` (request ${this.requestId})`:""}`}}t.SupernovaError=n},4217:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AssetGroupResolver=void 0;const r=n(8546);t.AssetGroupResolver=class{constructor(e){this.assets=e}resolveGroupData(e){const t=new Map,n=new Map,o=this.assets.map((e=>e.id)),i=new Map;this.assets.forEach((e=>{var t;(null===(t=e.origin)||void 0===t?void 0:t.sourceId)&&i.set(e.id,e.origin.sourceId)}));const a=new Map;this.assets.forEach((e=>{var t;(null===(t=e.origin)||void 0===t?void 0:t.fileName)&&a.set(e.id,e.origin.fileName)}));for(const o of e){const e=new r.AssetGroup(o);t.set(o.persistentId,o),n.set(o.persistentId,e)}for(const t of e){const e=new Array,r=n.get(t.persistentId);for(const i of t.childrenIds){const t=n.get(i);t?r.addChild(t.persistentId):o.includes(i)&&e.push(i)}r.assetIds=e}const s=Array.from(n.values());this.recomputePaths(s),this.recomputeParents(s);const d=this.reorderGroupsByRoots(s);return this.markAssetGroups(d),this.assignSourceDataToGroups(s,i,a),d.filter((e=>e.isAssetGroup))}markAssetGroups(e){for(const t of e)t.assetIds.length>0&&(t.isAssetGroup=!0,t.parentGroupId&&this.markAssetAncestors(t.parentGroupId,e))}markAssetAncestors(e,t){const n=t.find((t=>t.persistentId===e));n&&(n.isAssetGroup=!0,n.parentGroupId&&this.markAssetAncestors(n.parentGroupId,t))}assignSourceDataToGroups(e,t,n){for(const r of e){for(const e of r.assetIds){const o=t.get(e),i=n.get(e);if(o&&i){r.sourceId=o,r.sourceName=i;break}}r.parentGroupId&&r.sourceId&&r.sourceName&&this.propagateSourceDataToAncestors(r.parentGroupId,r.sourceId,r.sourceName,e)}}propagateSourceDataToAncestors(e,t,n,r){const o=r.find((t=>t.persistentId===e));o&&(o.sourceId=t,o.sourceName=n,o.parentGroupId&&this.propagateSourceDataToAncestors(o.parentGroupId,t,n,r))}recomputePaths(e){for(const t of e)t.isRoot&&this.recomputePathsFromRoot(t,[],e);for(const t of e)t.path.shift()}recomputePathsFromRoot(e,t,n){const r=t.concat(e.name);for(const t of e.subgroupIds){const e=n.find((e=>e.persistentId===t));e.path=r.concat(),this.recomputePathsFromRoot(e,r,n)}}reorderGroupsByRoots(e){let t=new Array;const n=e.filter((e=>e.isRoot));for(const r of n)t=t.concat(this.traverseSortGroup(r,e));return t}traverseSortGroup(e,t){let n=new Array;n.push(e);const r=e.subgroupIds.sort(((t,n)=>e.childrenIds.indexOf(t)-e.childrenIds.indexOf(n)));for(const e of r){const r=t.find((t=>t.persistentId===e));n=n.concat(this.traverseSortGroup(r,t))}return n}recomputeParents(e){for(const t of e)t.isRoot&&(this.recomputeParentsFromRoot(t,e),t.parentGroupId=null)}recomputeParentsFromRoot(e,t){for(const n of e.subgroupIds){const r=t.find((e=>e.persistentId===n));r.setParentGroupId(e.persistentId),this.recomputeParentsFromRoot(r,t)}}}},8908:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentGroupResolver=void 0;const r=n(615);t.ComponentGroupResolver=class{constructor(e){this.components=e}resolveGroupData(e){const t=new Map,n=new Map,o=this.components.map((e=>e.id));for(const o of e){const e=new r.ComponentGroup(o);t.set(o.persistentId,o),n.set(o.persistentId,e)}for(const t of e){const e=new Array,r=n.get(t.persistentId);for(const i of t.childrenIds){const t=n.get(i);t?r.addChild(t.id):o.includes(i)&&e.push(i)}r.componentIds=e}const i=Array.from(n.values());return this.recomputePaths(i),this.recomputeParents(i),this.reorderGroupsByRoots(i)}recomputePaths(e){for(const t of e)t.isRoot&&this.recomputePathsFromRoot(t,[],e);for(const t of e)t.path.shift()}recomputePathsFromRoot(e,t,n){const r=t.concat(e.name);for(const t of e.subgroupIds){const e=n.find((e=>e.id===t));e.path=r.concat(),this.recomputePathsFromRoot(e,r,n)}}reorderGroupsByRoots(e){let t=new Array;const n=e.filter((e=>e.isRoot));for(const r of n)t=t.concat(this.traverseSortGroup(r,e));return t}traverseSortGroup(e,t){let n=new Array;n.push(e);const r=e.subgroupIds.sort(((t,n)=>e.childrenIds.indexOf(t)-e.childrenIds.indexOf(n)));for(const e of r){const r=t.find((t=>t.id===e));n=n.concat(this.traverseSortGroup(r,t))}return n}recomputeParents(e){for(const t of e)t.isRoot&&(this.recomputeParentsFromRoot(t,e),t.parentGroupId=null)}recomputeParentsFromRoot(e,t){for(const n of e.subgroupIds){const r=t.find((e=>e.id===n));r.setParentGroupId(e.id),this.recomputeParentsFromRoot(r,t)}}}},6795:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentResolver=void 0;const r=n(6602),o=n(1322);t.ComponentResolver=class{resolveComponentData(e,t,n,i){const a=(0,o.sureOf)(i.filter((e=>e.isDefault))[0]),s=new Map;for(const e of a.columns)e.propertyDefinitionId&&s.set(e.propertyDefinitionId,a.columns.indexOf(e));const d=(0,o.sortUsingMap)(t,s,(e=>e.id));return e.map((e=>new r.Component(e,d,n)))}}},5530:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DesignComponentGroupResolver=void 0;const r=n(7813);t.DesignComponentGroupResolver=class{resolveGroupData(e){const t=new Map,n=new Map;for(const o of e){const e=new r.DesignComponentGroup(o);t.set(o.persistentId,o),n.set(o.persistentId,e)}for(const t of e){const e=new Array,r=n.get(t.persistentId);for(const o of t.childrenIds){const t=n.get(o);t?r.addChild(t.id):e.push(o)}r.componentIds=e}const o=Array.from(n.values());return this.recomputePaths(o),this.recomputeParents(o),this.reorderGroupsByRoots(o)}recomputePaths(e){for(const t of e)t.isRoot&&this.recomputePathsFromRoot(t,[],e);for(const t of e)t.path.shift()}recomputePathsFromRoot(e,t,n){const r=t.concat(e.name);for(const t of e.subgroupIds){const e=n.find((e=>e.id===t));e.path=r.concat(),this.recomputePathsFromRoot(e,r,n)}}reorderGroupsByRoots(e){let t=new Array;const n=e.filter((e=>e.isRoot));for(const r of n)t=t.concat(this.traverseSortGroup(r,e));return t}traverseSortGroup(e,t){let n=new Array;n.push(e);const r=e.subgroupIds.sort(((t,n)=>e.childrenIds.indexOf(t)-e.childrenIds.indexOf(n)));for(const e of r){const r=t.find((t=>t.id===e));n=n.concat(this.traverseSortGroup(r,t))}return n}recomputeParents(e){for(const t of e)t.isRoot&&(this.recomputeParentsFromRoot(t,e),t.parentGroupId=null)}recomputeParentsFromRoot(e,t){for(const n of e.subgroupIds){const r=t.find((e=>e.id===n));r.setParentGroupId(e.id),this.recomputeParentsFromRoot(r,t)}}}},739:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsEntityMultiplayerItemResolver=void 0;const r=n(6445);t.DocsEntityMultiplayerItemResolver=class{constructor(){this.hashedItems=new Map,this.resolvedItems=new Map}resolveMultiplayerItems(e,t){let n;for(const t of e)t.type=r.DocsEntityType.page;for(const e of t)e.type=r.DocsEntityType.group;for(const e of t)this.hashedItems.set(e.persistentId,e),(e.isRoot||"Documentation Root"===e.title)&&(n=e);if(!n)throw new Error("Incosistent model detected, missing root group");for(const t of e)this.hashedItems.set(t.persistentId,t);const o=new r.DocsEntityMultiplayerGroup(n);return this.resolveItemsForGroup(o),Array.from(this.resolvedItems.values())}resolveItemsForGroup(e){this.resolvedItems.set(e.id,e);for(const t of e.childrenIds){const n=this.hashedItems.get(t);if(!n)throw new Error(`Inconsistent group / page model detected in one of the documentation items, missing ${t}`);if(n.type===r.DocsEntityType.group){const t=new r.DocsEntityMultiplayerGroup(n);t.parent=e,t.type=r.DocsEntityType.group,e.children.push(t),this.resolveItemsForGroup(t)}else{const t=n.persistentId,o=this.hashedItems.get(t),i=new r.DocsEntityMultiplayerPage(o);i.parentId=e.persistentId,i.parent=e,i.type=r.DocsEntityType.page,e.children.push(i),this.resolvedItems.set(i.id,i)}}}}},1954:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenGroupResolver=void 0;const r=n(7381);t.TokenGroupResolver=class{resolveGroupData(e){const t=new Map,n=new Map;for(const o of e){const e=new r.TokenGroup(o);t.set(o.persistentId,o),n.set(o.persistentId,e)}for(const t of e){const e=new Array,r=n.get(t.persistentId);for(const o of t.childrenIds){const t=n.get(o);t?r.addChild(t.id):e.push(o)}r.tokenIds=e}const o=Array.from(n.values());return this.recomputePaths(o),this.recomputeParents(o),this.reorderGroupsByRoots(o)}recomputePaths(e){for(const t of e)t.isRoot&&this.recomputePathsFromRoot(t,[],e);for(const t of e)t.path.shift()}recomputePathsFromRoot(e,t,n){const r=t.concat(e.name);for(const t of e.subgroupIds){const e=n.find((e=>e.id===t));e.path=r.concat(),this.recomputePathsFromRoot(e,r,n)}}reorderGroupsByRoots(e){let t=new Array;const n=e.filter((e=>e.isRoot));for(const r of n)t=t.concat(this.traverseSortGroup(r,e));return t}traverseSortGroup(e,t){let n=new Array;n.push(e);const r=e.subgroupIds.sort(((t,n)=>e.childrenIds.indexOf(t)-e.childrenIds.indexOf(n)));for(const e of r){const r=t.find((t=>t.id===e));n=n.concat(this.traverseSortGroup(r,t))}return n}recomputeParents(e){for(const t of e)t.isRoot&&(this.recomputeParentsFromRoot(t,e),t.parentGroupId=null)}recomputeParentsFromRoot(e,t){for(const n of e.subgroupIds){const r=t.find((e=>e.id===n));r.setParentGroupId(e.id),this.recomputeParentsFromRoot(r,t)}}}},1337:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenResolver=void 0;const r=n(3788),o=n(616),i=n(861),a=n(8529),s=n(3380),d=n(2155),p=n(7046),l=n(6458),c=n(5590),u=n(2249),m=n(5443),h=n(477),g=n(465),f=n(8358),y=n(1322),v=n(7098);t.TokenResolver=class{constructor(e,t){this.hashedTokens=new Map,this.resolvedTokens=new Map,this.hashedOverrides=new Map,this.hashedReconstructedOverrides=new Map,this.resolvedOverrides=new Map,this.designSystemId=e,this.versionId=t}resolveTokenData(e,t,n,o,i,a){const s=(0,y.sureOf)(o.filter((e=>e.isDefault))[0]),d=new Map;for(const e of s.columns)e.propertyDefinitionId&&d.set(e.propertyDefinitionId,s.columns.indexOf(e));const p=(0,y.sortUsingMap)(n,d,(e=>e.id));e.forEach((e=>{this.hashedTokens.set(e.persistentId,e)}));for(const t of e)if(!t.data.aliasTo&&(0,r.tokenTypeIsPure)(t.type)){const e=this.constructValueToken(t,p,i);this.resolvedTokens.set(e.id,e)}for(const t of e)if(t.data.aliasTo&&(0,r.tokenTypeIsPure)(t.type)&&!this.resolvedTokens.get(t.persistentId)){const e=this.constructReferencedToken(t,p,i);this.resolvedTokens.set(e.id,e)}for(const t of e)if(!t.data.aliasTo&&t.type===r.TokenType.color){const e=this.constructValueToken(t,p,i);this.resolvedTokens.set(e.id,e)}for(const t of e)if(t.data.aliasTo&&t.type===r.TokenType.color){const e=this.constructReferencedToken(t,p,i);this.resolvedTokens.set(e.id,e)}for(const t of e)if(!t.data.aliasTo&&!(0,r.tokenTypeIsPure)(t.type)&&t.type!==r.TokenType.color){const e=this.constructValueToken(t,p,i);this.resolvedTokens.set(e.id,e)}for(const t of e)if(t.data.aliasTo&&!this.resolvedTokens.get(t.persistentId)){const e=this.constructReferencedToken(t,p,i);this.resolvedTokens.set(e.id,e)}for(const e of t)for(const t of e.childrenIds){const n=this.resolvedTokens.get(t);n&&(n.parentGroupId=e.id)}const l=Array.from(this.resolvedTokens.values());this.fixMultilayerShadowTokens(l.filter((e=>e.tokenType===r.TokenType.shadow)),t),this.fixMultilayerGradientTokens(l.filter((e=>e.tokenType===r.TokenType.gradient)),t),this.fixMultilayerBlurTokens(l.filter((e=>e.tokenType===r.TokenType.blur)),t);for(const e of l.filter((e=>{var t;return(null===(t=e.origin)||void 0===t?void 0:t.sourceId)&&!e.origin.sourceType}))){const t=a.find((t=>t.id===e.origin.sourceId));t&&(e.origin.sourceType=t.type)}return l}constructStringValueForReplica(e,t,n){switch(e){case r.TokenType.string:case r.TokenType.productCopy:case r.TokenType.fontFamily:case r.TokenType.fontWeight:t.value=this.constructTextLikeTokenValue(n.data.value);break;default:throw new v.UnreachableCaseError(e)}}constructOptionValueForReplica(e,t,n){switch(e){case r.TokenType.textCase:case r.TokenType.textDecoration:case r.TokenType.visibility:t.value=this.constructOptionLikeTokenValue(n.data.value);break;default:throw new v.UnreachableCaseError(e)}}constructDimensionValueForReplica(e,t,n){switch(e){case r.TokenType.dimension:case r.TokenType.size:case r.TokenType.space:case r.TokenType.opacity:case r.TokenType.fontSize:case r.TokenType.lineHeight:case r.TokenType.letterSpacing:case r.TokenType.paragraphSpacing:case r.TokenType.borderWidth:case r.TokenType.radius:case r.TokenType.duration:case r.TokenType.zIndex:t.value=this.constructDimensionValue(n.data.value,e);break;default:throw new v.UnreachableCaseError(e)}}constructPureValueForReplica(e,t,n){switch(e){case r.TokenType.dimension:case r.TokenType.size:case r.TokenType.space:case r.TokenType.opacity:case r.TokenType.fontSize:case r.TokenType.lineHeight:case r.TokenType.letterSpacing:case r.TokenType.paragraphSpacing:case r.TokenType.borderWidth:case r.TokenType.radius:case r.TokenType.duration:case r.TokenType.zIndex:this.constructDimensionValueForReplica(e,t,n);break;case r.TokenType.string:case r.TokenType.productCopy:case r.TokenType.fontFamily:case r.TokenType.fontWeight:this.constructStringValueForReplica(e,t,n);break;case r.TokenType.textCase:case r.TokenType.textDecoration:case r.TokenType.visibility:this.constructOptionValueForReplica(e,t,n);break;default:throw new v.UnreachableCaseError(e)}}resolveThemeData(e,t,n,o){const a=e.id;for(const e of t)this.resolvedTokens.set(e.id,e);const s=[];for(const t of e.overrides)this.resolvedTokens.get(t.tokenPersistentId)&&s.push(t);for(const e of s)this.hashedOverrides.set(e.tokenPersistentId,e);for(const t of s){const n=this.resolvedTokens.get(t.tokenPersistentId),{origin:r}=t;if(!n)throw new Error(`Unable to resolve token ${t.tokenPersistentId} for theme ${e.id} as base token was not found`);const o=this.makeThemedValuelessTokenReplica(n,a,r);this.hashedReconstructedOverrides.set(o.id,o)}for(const e of s)if(!e.data.aliasTo&&(0,r.tokenTypeIsPure)(e.type)){if(!e.data.value)throw new Error(`Override must always have alias or value, but ${e.tokenPersistentId} provided neither (1: raw)`);const t=this.hashedReconstructedOverrides.get(e.tokenPersistentId);this.constructPureValueForReplica(e.type,t,e),this.resolvedOverrides.set(t.id,t)}for(const e of s)if(e.data.aliasTo&&(0,r.tokenTypeIsPure)(e.type)&&!this.resolvedOverrides.get(e.tokenPersistentId)&&!this.resolvedOverrides.get(e.tokenPersistentId)){const t=this.constructReferencedThemedToken(e,a);this.resolvedOverrides.set(t.id,t)}for(const e of s)if(!e.data.aliasTo&&e.type===r.TokenType.color){const t=this.constructThemedValueToken(e,a);this.resolvedOverrides.set(t.id,t)}for(const e of s)if(e.data.aliasTo&&e.type===r.TokenType.color&&!this.resolvedOverrides.get(e.tokenPersistentId)&&!this.resolvedOverrides.get(e.tokenPersistentId)){const t=this.constructReferencedThemedToken(e,a);this.resolvedOverrides.set(t.id,t)}for(const e of s)if(!e.data.aliasTo&&!(0,r.tokenTypeIsPure)(e.type)&&e.type!==r.TokenType.color){const t=this.constructThemedValueToken(e,a);this.resolvedOverrides.set(t.id,t)}for(const e of s)if(e.data.aliasTo&&!this.resolvedOverrides.get(e.tokenPersistentId)){const t=this.constructReferencedThemedToken(e,a);this.resolvedOverrides.set(t.id,t)}for(const e of n)for(const t of e.childrenIds){const n=this.resolvedOverrides.get(t);n&&(n.parentGroupId=e.id)}for(const e of s.filter((e=>{var t;return(null===(t=e.origin)||void 0===t?void 0:t.sourceId)&&!e.origin.sourceType}))){const t=o.find((t=>{var n;return t.id===(null===(n=e.origin)||void 0===n?void 0:n.sourceId)}));t&&e.origin&&(e.origin.sourceType=t.type)}const d=new i.TokenTheme(e,this.versionId),p=Array.from(this.resolvedOverrides.values());return this.fixMultilayerShadowTokens(p.filter((e=>e.tokenType===r.TokenType.shadow)),n),this.fixMultilayerGradientTokens(p.filter((e=>e.tokenType===r.TokenType.gradient)),n),this.fixMultilayerBlurTokens(p.filter((e=>e.tokenType===r.TokenType.blur)),n),d.overriddenTokens=p,d}makeThemedValuelessTokenReplica(e,t,n){const r=o.ThemeUtilities.replicateTokenAsThemePrefabWithoutValue(e,t,n,this.versionId);return r.themeId=t,r}fixMultilayerShadowTokens(e,t){for(const n of e)0===n.shadowLayers.length&&(n.shadowLayers=this.findAssociatedTokens(n,e,t))}fixMultilayerGradientTokens(e,t){for(const n of e)n.gradientLayers=this.findAssociatedTokens(n,e,t)}fixMultilayerBlurTokens(e,t){for(const n of e)n.blurLayers=this.findAssociatedTokens(n,e,t)}findAssociatedTokens(e,t,n){var r;if(!(null===(r=e.origin)||void 0===r?void 0:r.id)||!e.parentGroupId)return[e];const o=this.actualOriginTokenId(e.origin.id),i=t.filter((e=>{var t;return this.actualOriginTokenId(null===(t=e.origin)||void 0===t?void 0:t.id)===o})),a=new Array;let s=0;const d=n.find((t=>t.id===e.parentGroupId));for(const e of d.tokenIds)for(const t of i)t.id===e&&(a.push(t),t.isVirtual=0!==s,s+=1);return a}actualOriginTokenId(e){return e&&e.length>0?e.split(",")[0]:null}constructReferencedToken(e,t,n,r=new Set){const o=e.data.aliasTo;let i;if(this.resolvedTokens.get(o))i=this.resolvedTokens.get(o);else{if(!this.hashedTokens.get(o))throw new Error("Data integrity problem detected, can't start creating reference for themed tokens when resolving base values");i=r.has(e.persistentId)?this.resolvedTokens.get(o):this.constructReferencedToken(this.hashedTokens.get(o),t,n,r.add(e.persistentId))}const a=this.constructResolvedToken(e,i,t,n);return this.resolvedTokens.set(a.id,a),a}constructReferencedThemedToken(e,t,n=new Set){const r=e.data.aliasTo;let o;if(this.resolvedOverrides.get(r))o=this.resolvedOverrides.get(r);else if(this.hashedOverrides.get(r))o=n.has(e.tokenPersistentId)?this.resolvedTokens.get(r):this.constructReferencedThemedToken(this.hashedOverrides.get(r),t,n.add(e.tokenPersistentId));else{if(!this.resolvedTokens.get(r))throw new Error("Data integrity problem detected, can't start creating reference for base tokens when resolving themes");o=this.resolvedTokens.get(r)}const i=this.constructResolvedThemedToken(e,o,t);return this.resolvedOverrides.set(i.id,i),i}constructResolvedThemedToken(e,t,n){if(!e.data.aliasTo)throw Error(`Incorrectly creating reference themed token ${e.tokenPersistentId} from pure value token`);const r=this.resolvedTokens.get(e.tokenPersistentId),i=o.ThemeUtilities.replicateTokenAsThemePrefabWithoutValue(r,n,e.origin,this.versionId);if(i.value=t.value,Array.isArray(i.value)){i.value=i.value.map((e=>Object.assign({},e)));for(const e of i.value)e.referencedTokenId=t.id}else i.value=Object.assign({},i.value),i.value.referencedTokenId=t.id;return i}constructResolvedToken(e,t,n,o){if(!e.data.aliasTo)throw Error("Incorrectly creating reference token from value token");const{type:i}=e;switch(i){case r.TokenType.color:{const r=t;return new d.ColorToken(this.versionId,e,Object.assign({},r.value),r,n,o)}case r.TokenType.border:{const r=t;return new s.BorderToken(this.versionId,e,Object.assign({},r.value),r,n,o)}case r.TokenType.gradient:{const r=t;return new l.GradientToken(this.versionId,e,r.value,r,n,o)}case r.TokenType.dimension:case r.TokenType.size:case r.TokenType.space:case r.TokenType.opacity:case r.TokenType.fontSize:case r.TokenType.lineHeight:case r.TokenType.letterSpacing:case r.TokenType.paragraphSpacing:case r.TokenType.borderWidth:case r.TokenType.radius:case r.TokenType.duration:case r.TokenType.zIndex:return this.constructResolvedDimensionToken(e,n,o,i,t);case r.TokenType.shadow:{const r=t;return new c.ShadowToken(this.versionId,e,r.value,r,n,o)}case r.TokenType.string:case r.TokenType.productCopy:case r.TokenType.fontFamily:case r.TokenType.fontWeight:return this.constructResolvedStringToken(e,n,o,i,t);case r.TokenType.textCase:case r.TokenType.textDecoration:case r.TokenType.visibility:return this.constructResolvedOptionToken(e,n,o,i,t);case r.TokenType.typography:{const r=t;return new g.TypographyToken(this.versionId,e,Object.assign({},r.value),r,n,o)}case r.TokenType.blur:{const r=t;return new a.BlurToken(this.versionId,e,Object.assign({},r.value),r,n,o)}default:throw new v.UnreachableCaseError(i)}}constructValueToken(e,t,n){if(e.data.aliasTo)throw Error("Incorrectly creating value token from referenced token");const{type:o}=e;switch(o){case r.TokenType.color:return this.constructColorToken(e,t,n);case r.TokenType.border:return this.constructBorderToken(e,t,n);case r.TokenType.gradient:return this.constructGradientToken(e,t,n);case r.TokenType.dimension:case r.TokenType.size:case r.TokenType.space:case r.TokenType.opacity:case r.TokenType.fontSize:case r.TokenType.lineHeight:case r.TokenType.letterSpacing:case r.TokenType.paragraphSpacing:case r.TokenType.borderWidth:case r.TokenType.radius:case r.TokenType.duration:case r.TokenType.zIndex:return this.constructDimensionToken(e,t,n,o);case r.TokenType.shadow:return this.constructShadowToken(e,t,n);case r.TokenType.string:case r.TokenType.productCopy:case r.TokenType.fontFamily:case r.TokenType.fontWeight:return this.constructStringToken(e,t,n,o);case r.TokenType.typography:return this.constructTypographyToken(e,t,n);case r.TokenType.blur:return this.constructBlurToken(e,t,n);case r.TokenType.textCase:case r.TokenType.textDecoration:case r.TokenType.visibility:return this.constructOptionToken(e,t,n,o);default:throw new v.UnreachableCaseError(o)}}constructThemedValueToken(e,t){if(e.data.aliasTo)throw Error("Incorrectly creating themed value token from referenced token");const n=this.resolvedTokens.get(e.tokenPersistentId),i=o.ThemeUtilities.replicateTokenAsThemePrefabWithoutValue(n,t,e.origin,this.versionId),{type:a}=e;switch(a){case r.TokenType.color:i.value=this.constructColorValue(e.data.value);break;case r.TokenType.dimension:case r.TokenType.size:case r.TokenType.space:case r.TokenType.opacity:case r.TokenType.fontSize:case r.TokenType.lineHeight:case r.TokenType.letterSpacing:case r.TokenType.paragraphSpacing:case r.TokenType.borderWidth:case r.TokenType.radius:case r.TokenType.duration:case r.TokenType.zIndex:this.constructDimensionValueForReplica(a,i,e);break;case r.TokenType.string:case r.TokenType.productCopy:case r.TokenType.fontFamily:case r.TokenType.fontWeight:this.constructStringValueForReplica(a,i,e);break;case r.TokenType.textCase:case r.TokenType.textDecoration:case r.TokenType.visibility:this.constructOptionValueForReplica(a,i,e);break;case r.TokenType.blur:i.value=this.constructBlurTokenValue(e.data.value);break;case r.TokenType.border:i.value=this.constructBorderTokenValue(e.data.value);break;case r.TokenType.gradient:i.value=this.constructGradientTokenValues(e.data.value);break;case r.TokenType.shadow:i.value=this.constructShadowTokenValues(e.data.value);break;case r.TokenType.typography:i.value=this.constructTypographyTokenValue(e.data.value);break;default:throw new v.UnreachableCaseError(a)}return i}constructColorToken(e,t,n){const r=this.constructColorValue(e.data.value);return new d.ColorToken(this.versionId,e,r,null,t,n)}constructColorValue(e){if("string"==typeof e.color){const t=e.color.substr(1);return{color:{r:parseInt(t.slice(0,2),16),g:parseInt(t.slice(2,4),16),b:parseInt(t.slice(4,6),16),referencedTokenId:null},opacity:this.resolveReferencedDimensionTokenValue(e.opacity,r.TokenType.opacity),referencedTokenId:null}}const t=this.resolveReferencedColorTokenValue(e.color),n=this.resolveReferencedDimensionTokenValue(e.opacity,r.TokenType.opacity);return{color:{r:t.color.r,g:t.color.g,b:t.color.b,referencedTokenId:t.referencedTokenId},opacity:n,referencedTokenId:null}}constructResolvedStringToken(e,t,n,o,i){switch(o){case r.TokenType.string:{const r=i;return new u.StringToken(this.versionId,e,Object.assign({},r.value),r,t,n)}case r.TokenType.productCopy:{const r=i;return new u.ProductCopyToken(this.versionId,e,Object.assign({},r.value),r,t,n)}case r.TokenType.fontFamily:{const r=i;return new u.FontFamilyToken(this.versionId,e,Object.assign({},r.value),r,t,n)}case r.TokenType.fontWeight:{const r=i;return new u.FontWeightToken(this.versionId,e,Object.assign({},r.value),r,t,n)}default:throw new v.UnreachableCaseError(o)}}constructStringToken(e,t,n,o){const i=this.constructTextLikeTokenValue(e.data.value);switch(o){case r.TokenType.string:return new u.StringToken(this.versionId,e,i,null,t,n);case r.TokenType.productCopy:return new u.ProductCopyToken(this.versionId,e,i,null,t,n);case r.TokenType.fontFamily:return new u.FontFamilyToken(this.versionId,e,i,null,t,n);case r.TokenType.fontWeight:return new u.FontWeightToken(this.versionId,e,i,null,t,n);default:throw new v.UnreachableCaseError(o)}}constructResolvedOptionToken(e,t,n,o,i){switch(o){case r.TokenType.textCase:{const r=i;return new m.TextCaseToken(this.versionId,e,Object.assign({},r.value),r,t,n)}case r.TokenType.textDecoration:{const r=i;return new h.TextDecorationToken(this.versionId,e,Object.assign({},r.value),r,t,n)}case r.TokenType.visibility:{const r=i;return new f.VisibilityToken(this.versionId,e,Object.assign({},r.value),r,t,n)}default:throw new v.UnreachableCaseError(o)}}constructOptionToken(e,t,n,o){const i=this.constructOptionLikeTokenValue(e.data.value);switch(o){case r.TokenType.textCase:return new m.TextCaseToken(this.versionId,e,i,null,t,n);case r.TokenType.textDecoration:return new h.TextDecorationToken(this.versionId,e,i,null,t,n);case r.TokenType.visibility:return new f.VisibilityToken(this.versionId,e,i,null,t,n);default:throw new v.UnreachableCaseError(o)}}constructTextLikeTokenValue(e){return{text:e,referencedTokenId:null}}constructOptionLikeTokenValue(e){return{value:e,referencedTokenId:null}}constructResolvedDimensionToken(e,t,n,o,i){switch(o){case r.TokenType.dimension:{const r=i;return new p.DimensionToken(this.versionId,e,Object.assign({},r.value),r,t,n)}case r.TokenType.size:{const r=i;return new p.SizeToken(this.versionId,e,Object.assign({},r.value),r,t,n)}case r.TokenType.space:{const r=i;return new p.SpaceToken(this.versionId,e,Object.assign({},r.value),r,t,n)}case r.TokenType.opacity:{const r=i;return new p.OpacityToken(this.versionId,e,Object.assign({},r.value),r,t,n)}case r.TokenType.fontSize:{const r=i;return new p.FontSizeToken(this.versionId,e,Object.assign({},r.value),r,t,n)}case r.TokenType.lineHeight:{const r=i;return new p.LineHeightToken(this.versionId,e,Object.assign({},r.value),r,t,n)}case r.TokenType.letterSpacing:{const r=i;return new p.LetterSpacingToken(this.versionId,e,Object.assign({},r.value),r,t,n)}case r.TokenType.paragraphSpacing:{const r=i;return new p.ParagraphSpacingToken(this.versionId,e,Object.assign({},r.value),r,t,n)}case r.TokenType.borderWidth:{const r=i;return new p.BorderWidthToken(this.versionId,e,Object.assign({},r.value),r,t,n)}case r.TokenType.radius:{const r=i;return new p.RadiusToken(this.versionId,e,Object.assign({},r.value),r,t,n)}case r.TokenType.duration:{const r=i;return new p.DurationToken(this.versionId,e,Object.assign({},r.value),r,t,n)}case r.TokenType.zIndex:{const r=i;return new p.ZIndexToken(this.versionId,e,Object.assign({},r.value),r,t,n)}default:throw new v.UnreachableCaseError(o)}}constructDimensionToken(e,t,n,o){switch(o){case r.TokenType.dimension:{const r=this.constructDimensionValue(e.data.value,o);return new p.DimensionToken(this.versionId,e,r,null,t,n)}case r.TokenType.size:{const r=this.constructDimensionValue(e.data.value,o);return new p.SizeToken(this.versionId,e,r,null,t,n)}case r.TokenType.space:{const r=this.constructDimensionValue(e.data.value,o);return new p.SpaceToken(this.versionId,e,r,null,t,n)}case r.TokenType.opacity:{const r=this.constructDimensionValue(e.data.value,o);return new p.OpacityToken(this.versionId,e,r,null,t,n)}case r.TokenType.fontSize:{const r=this.constructDimensionValue(e.data.value,o);return new p.FontSizeToken(this.versionId,e,r,null,t,n)}case r.TokenType.lineHeight:{const r=this.constructDimensionValue(e.data.value,o);return new p.LineHeightToken(this.versionId,e,r,null,t,n)}case r.TokenType.letterSpacing:{const r=this.constructDimensionValue(e.data.value,o);return new p.LetterSpacingToken(this.versionId,e,r,null,t,n)}case r.TokenType.paragraphSpacing:{const r=this.constructDimensionValue(e.data.value,o);return new p.ParagraphSpacingToken(this.versionId,e,r,null,t,n)}case r.TokenType.borderWidth:{const r=this.constructDimensionValue(e.data.value,o);return new p.BorderWidthToken(this.versionId,e,r,null,t,n)}case r.TokenType.radius:{const r=this.constructDimensionValue(e.data.value,o);return new p.RadiusToken(this.versionId,e,r,null,t,n)}case r.TokenType.duration:{const r=this.constructDimensionValue(e.data.value,o);return new p.DurationToken(this.versionId,e,r,null,t,n)}case r.TokenType.zIndex:{const r=this.constructDimensionValue(e.data.value,o);return new p.ZIndexToken(this.versionId,e,r,null,t,n)}default:throw new v.UnreachableCaseError(o)}}constructDimensionValue(e,t){return{unit:e.unit,measure:e.measure,referencedTokenId:null}}constructGradientToken(e,t,n){const r=this.constructGradientTokenValues(e.data.value);return new l.GradientToken(this.versionId,e,r,null,t,n)}constructGradientTokenValues(e){if(!Array.isArray(e))return[this.constructGradientTokenValue(e)];const t=[];for(const n of e){const e=this.resolveReferencedGradientTokenValue(n),r=Array.isArray(e)?e:[e];t.push(...r)}return t}constructGradientTokenValue(e){return{to:e.to,from:e.from,type:e.type,aspectRatio:e.aspectRatio,stops:this.constructGradientStops(e.stops),referencedTokenId:null}}constructGradientStops(e){return e.map((e=>({position:e.position,color:this.resolveReferencedColorTokenValue(e.color),referencedTokenId:null})))}constructShadowToken(e,t,n){const r=this.constructShadowTokenValues(e.data.value);return new c.ShadowToken(this.versionId,e,r,null,t,n)}constructShadowTokenValues(e){if(!Array.isArray(e))return[this.constructShadowTokenValue(e)];const t=[];for(const n of e){const e=this.resolveReferencedShadowTokenValue(n),r=Array.isArray(e)?e:[e];t.push(...r)}return t}constructShadowTokenValue(e){return{color:this.resolveReferencedColorTokenValue(e.color),x:e.x,y:e.y,radius:e.radius,spread:e.spread,opacity:e.opacity?this.resolveReferencedDimensionTokenValue(e.opacity,r.TokenType.opacity):void 0,type:e.type,referencedTokenId:null}}constructBorderToken(e,t,n){const r=this.constructBorderTokenValue(e.data.value);return new s.BorderToken(this.versionId,e,r,null,t,n)}constructBorderTokenValue(e){return{color:this.resolveReferencedColorTokenValue(e.color),width:this.resolveReferencedDimensionTokenValue(e.width,r.TokenType.borderWidth),position:e.position,style:e.style,referencedTokenId:null}}constructTypographyToken(e,t,n){const r=this.constructTypographyTokenValue(e.data.value);return new g.TypographyToken(this.versionId,e,r,null,t,n)}constructTypographyTokenValue(e){return{fontFamily:this.resolveReferencedStringTokenValue(e.fontFamily),fontWeight:this.resolveReferencedStringTokenValue(e.fontWeight),fontSize:this.resolveReferencedDimensionTokenValue(e.fontSize,r.TokenType.fontSize),textDecoration:this.resolveReferencedOptionTokenValue(e.textDecoration),textCase:this.resolveReferencedOptionTokenValue(e.textCase),letterSpacing:this.resolveReferencedDimensionTokenValue(e.letterSpacing,r.TokenType.letterSpacing),lineHeight:e.lineHeight?this.resolveReferencedDimensionTokenValue(e.lineHeight,r.TokenType.lineHeight):null,paragraphIndent:this.resolveReferencedDimensionTokenValue(e.paragraphIndent,r.TokenType.paragraphSpacing),paragraphSpacing:this.resolveReferencedDimensionTokenValue(e.paragraphSpacing,r.TokenType.paragraphSpacing),referencedTokenId:null}}constructBlurToken(e,t,n){const r=this.constructBlurTokenValue(e.data.value);return new a.BlurToken(this.versionId,e,r,null,t,n)}constructBlurTokenValue(e){return{type:e.type,radius:this.resolveReferencedDimensionTokenValue(e.radius,r.TokenType.dimension),referencedTokenId:null}}resolveReferencedColorTokenValue(e){var t;if(e.aliasTo){const n=null!==(t=this.resolvedOverrides.get(e.aliasTo))&&void 0!==t?t:this.resolvedTokens.get(e.aliasTo);return Object.assign(Object.assign({},n.value),{referencedTokenId:n.id})}return this.constructColorValue(e.value)}resolveReferencedBorderWidthTokenValue(e){var t;if(e.aliasTo){const n=null!==(t=this.resolvedOverrides.get(e.aliasTo))&&void 0!==t?t:this.resolvedTokens.get(e.aliasTo);return Object.assign(Object.assign({},n.value),{referencedTokenId:n.id})}return this.constructDimensionValue(e.value,r.TokenType.borderWidth)}resolveReferencedDimensionTokenValue(e,t){var n;if(e.aliasTo){const t=null!==(n=this.resolvedOverrides.get(e.aliasTo))&&void 0!==n?n:this.resolvedTokens.get(e.aliasTo);return Object.assign(Object.assign({},t.value),{referencedTokenId:t.id})}return this.constructDimensionValue(e.value,t)}resolveReferencedStringTokenValue(e){var t;if(e.aliasTo){const n=null!==(t=this.resolvedOverrides.get(e.aliasTo))&&void 0!==t?t:this.resolvedTokens.get(e.aliasTo);return Object.assign(Object.assign({},n.value),{referencedTokenId:n.id})}return this.constructTextLikeTokenValue(e.value)}resolveReferencedGradientTokenValue(e){var t;if(e.aliasTo){const n=null!==(t=this.resolvedOverrides.get(e.aliasTo))&&void 0!==t?t:this.resolvedTokens.get(e.aliasTo);return Object.assign(Object.assign({},n.value),{referencedTokenId:n.id})}return this.constructGradientTokenValues(e.value)}resolveReferencedShadowTokenValue(e){var t;if(e.aliasTo){const n=null!==(t=this.resolvedOverrides.get(e.aliasTo))&&void 0!==t?t:this.resolvedTokens.get(e.aliasTo);return n.value.map((e=>Object.assign(Object.assign({},e),{referencedTokenId:n.id})))}return this.constructShadowTokenValues(e.value)}resolveReferencedOptionTokenValue(e){var t;if(e.aliasTo){const n=null!==(t=this.resolvedOverrides.get(e.aliasTo))&&void 0!==t?t:this.resolvedTokens.get(e.aliasTo);return Object.assign(Object.assign({},n.value),{referencedTokenId:n.id})}return{value:e.value,referencedTokenId:null}}}},6445:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElementDataView=t.ElementPropertyOption=t.ElementPropertyType=t.ElementPropertyTargetElementType=t.ElementPropertyLinkElementType=t.ElementProperty=t.Component=t.RenderedAsset=t.Asset=t.ExporterConfigurationPropertyType=t.ExporterConfigurationPropertyInputType=t.ExporterConfigurationProperty=t.ExporterCustomBlockVariant=t.ExporterCustomBlockPropertyInputType=t.ExporterCustomBlockPropertyType=t.ExporterCustomBlockProperty=t.ExporterCustomBlockMode=t.ExporterCustomBlock=t.Pipeline=t.Exporter=t.Membership=t.DesignSystemVersion=t.DesignSystem=t.Brand=t.SubscriptionProductFeatures=t.Acl=t.UserMembership=t.UserProfile=t.User=t.WorkspaceProduct=t.WorkspaceInvoice=t.WorkspaceInvitation=t.WorkspaceNPMRegistrySettings=t.WorkspaceSSOSettings=t.WorkspaceIPWhitelistSettings=t.WorkspaceSubscription=t.WorkspaceOnboarding=t.WorkspaceProfile=t.Workspace=t.Supernova=t.ALL_TOKEN_TYPES=t.ALL_BORDER_STYLES=t.ALL_BORDER_POSITIONS=t.OPTION_TOKEN_TYPES=t.STRING_TOKEN_TYPES=t.DIMENSION_TOKEN_TYPES=t.TokenUtils=t.TokenUtilPreviewSegmentGenerator=t.ElementPropertyValue=t.ThemeUtilities=void 0,t.DocumentationLegacyPageBlockAsset=t.DocumentationLegacy=t.DocsBlockItem=t.DocsBlock=t.DocsLinkRefType=t.DocsImageRefType=t.DocsBlockStorybookPropertyDefinition=t.DocsBlockColorPropertyDefinition=t.DocsBlockDividerPropertyDefinition=t.DocsBlockTokenTypePropertyDefinition=t.DocsBlockTokenPropertyPropertyDefinition=t.DocsBlockTokenPropertyDefinition=t.DocsBlockUrlPropertyDefinition=t.DocsBlockTextPropertyDefinition=t.DocsBlockTablePropertyDefinition=t.DocsBlockSingleSelectPropertyDefinition=t.DocsBlockMultiRichTextPropertyDefinition=t.DocsBlockRichTextPropertyDefinition=t.DocsBlockNumberPropertyDefinition=t.DocsBlockMultiSelectPropertyDefinition=t.DocsBlockMarkdownPropertyDefinition=t.DocsBlockImagePropertyDefinition=t.DocsBlockEmbedUrlPropertyDefinition=t.DocsBlockComponentPropertyPropertyDefinition=t.DocsBlockComponentPropertyDefinition=t.DocsBlockCodeSandboxPropertyDefinition=t.DocsBlockCodePropertyDefinition=t.DocsBlockBooleanPropertyDefinition=t.DocsBlockFigmaNodePropertyDefinition=t.DocsBlockAssetPropertyPropertyDefinition=t.DocsBlockAssetPropertyDefinition=t.DocsBlockPropertyDefinition=t.DocsEntityMultiplayerPage=t.DocsEntityPage=t.DocsEntityMultiplayerGroup=t.DocsEntityGroup=t.DocsEntityConfiguration=t.DocsEntity=t.DocsEntityMultiplayerItemResolver=t.DocsBlockMode=t.DocsBlockVariant=t.DocsBlockOnboarding=t.DocsBlockLayout=t.DocsBlockItemDefinition=t.DocsBlockDefinition=t.DocsBlockBehavior=t.DesignComponent=t.ElementDataViewColumnType=t.ElementDataViewColumnBasePropertyType=t.ElementDataViewColumn=void 0,t.AssetScale=t.AssetFormat=t.Alignment=t.TokenGroup=t.DesignComponentGroup=t.AssetGroup=t.RichTextSpanAttribute=t.RichTextSpan=t.DocumentationLegacyRichText=t.DocumentationLegacyPageAsset=t.DocumentationLegacyPageBlock=t.DocumentationLegacyPage=t.DocumentationLegacyItem=t.DocumentationLegacyGroup=t.DocumentationLegacyConfiguration=t.DocumentationLegacyItemConfiguration=t.DocumentationLegacyItemHeader=t.DocumentationLegacyPageBlockTableColumn=t.DocumentationLegacyPageBlockTableRow=t.DocumentationLegacyPageBlockTableCell=t.DocumentationLegacyPageBlockTable=t.DocumentationLegacyPageBlockTabItem=t.DocumentationLegacyPageBlockTab=t.DocumentationLegacyPageBlockColumnItem=t.DocumentationLegacyPageBlockColumn=t.DocumentationLegacyPageUnorderedList=t.DocumentationLegacyPageBlockTokenList=t.DocumentationLegacyPageBlockTokenGroup=t.DocumentationLegacyPageBlockToken=t.DocumentationLegacyPageBlockText=t.DocumentationLegacyPageBlockShortcuts=t.DocumentationLegacyPageBlockShortcutType=t.DocumentationLegacyPageBlockShortcut=t.DocumentationLegacyPageBlockRenderCode=t.DocumentationLegacyPageBlockQuote=t.DocumentationLegacyPageOrderedList=t.DocumentationLegacyPageBlockImage=t.DocumentationLegacyPageBlockHeading=t.DocumentationLegacyPageBlockFrames=t.DocumentationLegacyPageBlockFrame=t.DocumentationLegacyPageBlockEmbedYoutube=t.DocumentationLegacyPageBlockEmbedStorybook=t.DocumentationLegacyPageBlockEmbedLink=t.DocumentationLegacyPageBlockEmbedGeneric=t.DocumentationLegacyPageBlockEmbedFigma=t.DocumentationLegacyPageBlockDivider=t.DocumentationLegacyPageBlockCustom=t.DocumentationLegacyPageBlockCode=t.DocumentationLegacyPageBlockCallout=t.DocumentationLegacyPageBlockAssets=void 0,t.ImportWarningType=t.WorkspaceNPMRegistryType=t.WorkspaceNPMRegistryAuthType=t.WorkspaceSubscriptionStatus=t.WorkspaceSubscriptionProductCode=t.WorkspaceSubscriptionPlanInterval=t.VisibilityType=t.UserRole=t.Unit=t.TokenType=t.TextDecoration=t.TextCase=t.ShadowType=t.RichTextSpanAttributeType=t.GradientType=t.FrameLayout=t.FrameAlignment=t.DocumentationEnvironment=t.DocsPublishStatus=t.DocsBlockImagePropertyWidth=t.SourceType=t.DocsSectionType=t.DocsEntityType=t.DocsEntityGroupBehavior=t.DocsBlockTextPropertyColor=t.DocsBlockTextPropertyStyle=t.DocsBlockRichTextPropertyStyle=t.DocsBlockOptionRenderingStyle=t.DocsBlockItemVariantLayoutWidth=t.DocsBlockItemVariantLayoutType=t.DocsBlockItemPropertyType=t.DocsBlockItemPropertyTextStyle=t.DocsBlockItemPropertyRichTextStyle=t.DocsBlockItemPropertyOptionRenderingStyle=t.DocsBlockItemEntityType=t.DocsBlockImagePropertyAspectRatio=t.DocsBlockBehaviorSelectionType=t.DocsBlockContainerSize=t.DocsBlockBehaviorDataType=t.DocumentationLegacyPageBlockThemeType=t.DocumentationLegacyPageBlockType=t.DocumentationLegacyPageAssetType=t.DocumentationLegacyItemType=t.DocumentationLegacyHeadingType=t.DocumentationLegacyGroupBehavior=t.DocumentationLegacyCalloutType=t.BorderStyle=t.BorderPosition=t.BlurType=t.AssetScaleType=void 0,t.SupernovaToolsDesignTokensPlugin=t.DTPluginToSupernovaMapType=t.JSONBuilderNamingOption=t.TokenJSONBuilder=t.TokenUtilPreviewGenerator=t.TokenThemeOverride=t.TokenTheme=t.Token=t.VisibilityToken=t.TextDecorationToken=t.TextCaseToken=t.FontWeightToken=t.FontFamilyToken=t.ProductCopyToken=t.StringToken=t.TypographyToken=t.ShadowToken=t.ZIndexToken=t.DurationToken=t.RadiusToken=t.BorderWidthToken=t.ParagraphSpacingToken=t.LetterSpacingToken=t.LineHeightToken=t.FontSizeToken=t.OpacityToken=t.SpaceToken=t.SizeToken=t.DimensionToken=t.GradientToken=t.ColorToken=t.BorderToken=t.BlurToken=t.ResourceFont=t.ResourceAsset=t.ExportBuildResultLog=t.ExportBuildStatus=t.ExportBuild=t.FrameType=t.FigmaFrame=t.FigmaStructureDetail=t.FigmaStructure=t.CustomDomain=t.TokenOrigin=t.Size=t.Source=t.DesignComponentOrigin=t.ConnectionProviders=t.CustomDomainState=t.CustomDomainErrorCode=void 0,t.docsImageRefToUrl=t.PulsarExecutor=t.OutputFileType=t.SupernovaError=t.UnreachableCaseError=t.TokenTransform=t.MarkdownTransformType=t.MarkdownTransform=t.DocSearchResultDataType=t.DocSearch=void 0;var r=n(616);Object.defineProperty(t,"ThemeUtilities",{enumerable:!0,get:function(){return r.ThemeUtilities}});var o=n(4873);Object.defineProperty(t,"ElementPropertyValue",{enumerable:!0,get:function(){return o.ElementPropertyValue}});var i=n(7376);Object.defineProperty(t,"TokenUtilPreviewSegmentGenerator",{enumerable:!0,get:function(){return i.TokenUtilPreviewSegmentGenerator}});var a=n(9976);Object.defineProperty(t,"TokenUtils",{enumerable:!0,get:function(){return a.TokenUtils}});var s=n(3788);Object.defineProperty(t,"DIMENSION_TOKEN_TYPES",{enumerable:!0,get:function(){return s.DIMENSION_TOKEN_TYPES}}),Object.defineProperty(t,"STRING_TOKEN_TYPES",{enumerable:!0,get:function(){return s.STRING_TOKEN_TYPES}}),Object.defineProperty(t,"OPTION_TOKEN_TYPES",{enumerable:!0,get:function(){return s.OPTION_TOKEN_TYPES}});var d=n(1160);Object.defineProperty(t,"ALL_BORDER_POSITIONS",{enumerable:!0,get:function(){return d.ALL_BORDER_POSITIONS}});var p=n(4546);Object.defineProperty(t,"ALL_BORDER_STYLES",{enumerable:!0,get:function(){return p.ALL_BORDER_STYLES}});var l=n(3788);Object.defineProperty(t,"ALL_TOKEN_TYPES",{enumerable:!0,get:function(){return l.ALL_TOKEN_TYPES}});var c=n(9679);Object.defineProperty(t,"Supernova",{enumerable:!0,get:function(){return c.Supernova}});var u=n(9058);Object.defineProperty(t,"Workspace",{enumerable:!0,get:function(){return u.Workspace}});var m=n(6421);Object.defineProperty(t,"WorkspaceProfile",{enumerable:!0,get:function(){return m.WorkspaceProfile}});var h=n(9035);Object.defineProperty(t,"WorkspaceOnboarding",{enumerable:!0,get:function(){return h.WorkspaceOnboarding}});var g=n(7975);Object.defineProperty(t,"WorkspaceSubscription",{enumerable:!0,get:function(){return g.WorkspaceSubscription}});var f=n(8771);Object.defineProperty(t,"WorkspaceIPWhitelistSettings",{enumerable:!0,get:function(){return f.WorkspaceIPWhitelistSettings}});var y=n(1062);Object.defineProperty(t,"WorkspaceSSOSettings",{enumerable:!0,get:function(){return y.WorkspaceSSOSettings}});var v=n(835);Object.defineProperty(t,"WorkspaceNPMRegistrySettings",{enumerable:!0,get:function(){return v.WorkspaceNPMRegistrySettings}});var k=n(9853);Object.defineProperty(t,"WorkspaceInvitation",{enumerable:!0,get:function(){return k.WorkspaceInvitation}});var T=n(7579);Object.defineProperty(t,"WorkspaceInvoice",{enumerable:!0,get:function(){return T.WorkspaceInvoice}});var b=n(6907);Object.defineProperty(t,"WorkspaceProduct",{enumerable:!0,get:function(){return b.WorkspaceProduct}});var w=n(7228);Object.defineProperty(t,"User",{enumerable:!0,get:function(){return w.User}});var S=n(2455);Object.defineProperty(t,"UserProfile",{enumerable:!0,get:function(){return S.UserProfile}});var I=n(2336);Object.defineProperty(t,"UserMembership",{enumerable:!0,get:function(){return I.UserMembership}});var D=n(5375);Object.defineProperty(t,"Acl",{enumerable:!0,get:function(){return D.Acl}});var _=n(5772);Object.defineProperty(t,"SubscriptionProductFeatures",{enumerable:!0,get:function(){return _.SubscriptionProductFeatures}});var P=n(9975);Object.defineProperty(t,"Brand",{enumerable:!0,get:function(){return P.Brand}});var x=n(476);Object.defineProperty(t,"DesignSystem",{enumerable:!0,get:function(){return x.DesignSystem}});var C=n(451);Object.defineProperty(t,"DesignSystemVersion",{enumerable:!0,get:function(){return C.DesignSystemVersion}});var O=n(273);Object.defineProperty(t,"Membership",{enumerable:!0,get:function(){return O.Membership}});var B=n(3144);Object.defineProperty(t,"Exporter",{enumerable:!0,get:function(){return B.Exporter}});var E=n(2983);Object.defineProperty(t,"Pipeline",{enumerable:!0,get:function(){return E.Pipeline}});var R=n(8069);Object.defineProperty(t,"ExporterCustomBlock",{enumerable:!0,get:function(){return R.ExporterCustomBlock}}),Object.defineProperty(t,"ExporterCustomBlockMode",{enumerable:!0,get:function(){return R.ExporterCustomBlockMode}});var A=n(9948);Object.defineProperty(t,"ExporterCustomBlockProperty",{enumerable:!0,get:function(){return A.ExporterCustomBlockProperty}}),Object.defineProperty(t,"ExporterCustomBlockPropertyType",{enumerable:!0,get:function(){return A.ExporterCustomBlockPropertyType}}),Object.defineProperty(t,"ExporterCustomBlockPropertyInputType",{enumerable:!0,get:function(){return A.ExporterCustomBlockPropertyInputType}});var N=n(5244);Object.defineProperty(t,"ExporterCustomBlockVariant",{enumerable:!0,get:function(){return N.ExporterCustomBlockVariant}});var V=n(2459);Object.defineProperty(t,"ExporterConfigurationProperty",{enumerable:!0,get:function(){return V.ExporterConfigurationProperty}}),Object.defineProperty(t,"ExporterConfigurationPropertyInputType",{enumerable:!0,get:function(){return V.ExporterConfigurationPropertyInputType}}),Object.defineProperty(t,"ExporterConfigurationPropertyType",{enumerable:!0,get:function(){return V.ExporterConfigurationPropertyType}});var j=n(2742);Object.defineProperty(t,"Asset",{enumerable:!0,get:function(){return j.Asset}});var M=n(7873);Object.defineProperty(t,"RenderedAsset",{enumerable:!0,get:function(){return M.RenderedAsset}});var L=n(6602);Object.defineProperty(t,"Component",{enumerable:!0,get:function(){return L.Component}});var U=n(7187);Object.defineProperty(t,"ElementProperty",{enumerable:!0,get:function(){return U.ElementProperty}}),Object.defineProperty(t,"ElementPropertyLinkElementType",{enumerable:!0,get:function(){return U.ElementPropertyLinkElementType}}),Object.defineProperty(t,"ElementPropertyTargetElementType",{enumerable:!0,get:function(){return U.ElementPropertyTargetElementType}}),Object.defineProperty(t,"ElementPropertyType",{enumerable:!0,get:function(){return U.ElementPropertyType}});var F=n(7446);Object.defineProperty(t,"ElementPropertyOption",{enumerable:!0,get:function(){return F.ElementPropertyOption}});var W=n(3655);Object.defineProperty(t,"ElementDataView",{enumerable:!0,get:function(){return W.ElementDataView}});var $=n(5765);Object.defineProperty(t,"ElementDataViewColumn",{enumerable:!0,get:function(){return $.ElementDataViewColumn}}),Object.defineProperty(t,"ElementDataViewColumnBasePropertyType",{enumerable:!0,get:function(){return $.ElementDataViewColumnBasePropertyType}}),Object.defineProperty(t,"ElementDataViewColumnType",{enumerable:!0,get:function(){return $.ElementDataViewColumnType}});var z=n(8208);Object.defineProperty(t,"DesignComponent",{enumerable:!0,get:function(){return z.DesignComponent}});var G=n(1821);Object.defineProperty(t,"DocsBlockBehavior",{enumerable:!0,get:function(){return G.DocsBlockBehavior}});var H=n(6130);Object.defineProperty(t,"DocsBlockDefinition",{enumerable:!0,get:function(){return H.DocsBlockDefinition}});var q=n(1189);Object.defineProperty(t,"DocsBlockItemDefinition",{enumerable:!0,get:function(){return q.DocsBlockItemDefinition}});var K=n(7557);Object.defineProperty(t,"DocsBlockLayout",{enumerable:!0,get:function(){return K.DocsBlockLayout}});var Z=n(1038);Object.defineProperty(t,"DocsBlockOnboarding",{enumerable:!0,get:function(){return Z.DocsBlockOnboarding}});var J=n(9794);Object.defineProperty(t,"DocsBlockVariant",{enumerable:!0,get:function(){return J.DocsBlockVariant}});var Y=n(605);Object.defineProperty(t,"DocsBlockMode",{enumerable:!0,get:function(){return Y.DocsBlockMode}});var Q=n(739);Object.defineProperty(t,"DocsEntityMultiplayerItemResolver",{enumerable:!0,get:function(){return Q.DocsEntityMultiplayerItemResolver}});var X=n(9496);Object.defineProperty(t,"DocsEntity",{enumerable:!0,get:function(){return X.DocsEntity}});var ee=n(7156);Object.defineProperty(t,"DocsEntityConfiguration",{enumerable:!0,get:function(){return ee.DocsEntityConfiguration}});var te=n(9737);Object.defineProperty(t,"DocsEntityGroup",{enumerable:!0,get:function(){return te.DocsEntityGroup}}),Object.defineProperty(t,"DocsEntityMultiplayerGroup",{enumerable:!0,get:function(){return te.DocsEntityMultiplayerGroup}});var ne=n(3003);Object.defineProperty(t,"DocsEntityPage",{enumerable:!0,get:function(){return ne.DocsEntityPage}}),Object.defineProperty(t,"DocsEntityMultiplayerPage",{enumerable:!0,get:function(){return ne.DocsEntityMultiplayerPage}});var re=n(4810);Object.defineProperty(t,"DocsBlockPropertyDefinition",{enumerable:!0,get:function(){return re.DocsBlockPropertyDefinition}});var oe=n(46);Object.defineProperty(t,"DocsBlockAssetPropertyDefinition",{enumerable:!0,get:function(){return oe.DocsBlockAssetPropertyDefinition}});var ie=n(2223);Object.defineProperty(t,"DocsBlockAssetPropertyPropertyDefinition",{enumerable:!0,get:function(){return ie.DocsBlockAssetPropertyPropertyDefinition}});var ae=n(9446);Object.defineProperty(t,"DocsBlockFigmaNodePropertyDefinition",{enumerable:!0,get:function(){return ae.DocsBlockFigmaNodePropertyDefinition}});var se=n(2514);Object.defineProperty(t,"DocsBlockBooleanPropertyDefinition",{enumerable:!0,get:function(){return se.DocsBlockBooleanPropertyDefinition}});var de=n(8795);Object.defineProperty(t,"DocsBlockCodePropertyDefinition",{enumerable:!0,get:function(){return de.DocsBlockCodePropertyDefinition}});var pe=n(9778);Object.defineProperty(t,"DocsBlockCodeSandboxPropertyDefinition",{enumerable:!0,get:function(){return pe.DocsBlockCodeSandboxPropertyDefinition}});var le=n(7241);Object.defineProperty(t,"DocsBlockComponentPropertyDefinition",{enumerable:!0,get:function(){return le.DocsBlockComponentPropertyDefinition}});var ce=n(2776);Object.defineProperty(t,"DocsBlockComponentPropertyPropertyDefinition",{enumerable:!0,get:function(){return ce.DocsBlockComponentPropertyPropertyDefinition}});var ue=n(5156);Object.defineProperty(t,"DocsBlockEmbedUrlPropertyDefinition",{enumerable:!0,get:function(){return ue.DocsBlockEmbedUrlPropertyDefinition}});var me=n(8267);Object.defineProperty(t,"DocsBlockImagePropertyDefinition",{enumerable:!0,get:function(){return me.DocsBlockImagePropertyDefinition}});var he=n(4803);Object.defineProperty(t,"DocsBlockMarkdownPropertyDefinition",{enumerable:!0,get:function(){return he.DocsBlockMarkdownPropertyDefinition}});var ge=n(9543);Object.defineProperty(t,"DocsBlockMultiSelectPropertyDefinition",{enumerable:!0,get:function(){return ge.DocsBlockMultiSelectPropertyDefinition}});var fe=n(195);Object.defineProperty(t,"DocsBlockNumberPropertyDefinition",{enumerable:!0,get:function(){return fe.DocsBlockNumberPropertyDefinition}});var ye=n(5587);Object.defineProperty(t,"DocsBlockRichTextPropertyDefinition",{enumerable:!0,get:function(){return ye.DocsBlockRichTextPropertyDefinition}});var ve=n(1542);Object.defineProperty(t,"DocsBlockMultiRichTextPropertyDefinition",{enumerable:!0,get:function(){return ve.DocsBlockMultiRichTextPropertyDefinition}});var ke=n(4717);Object.defineProperty(t,"DocsBlockSingleSelectPropertyDefinition",{enumerable:!0,get:function(){return ke.DocsBlockSingleSelectPropertyDefinition}});var Te=n(4230);Object.defineProperty(t,"DocsBlockTablePropertyDefinition",{enumerable:!0,get:function(){return Te.DocsBlockTablePropertyDefinition}});var be=n(7593);Object.defineProperty(t,"DocsBlockTextPropertyDefinition",{enumerable:!0,get:function(){return be.DocsBlockTextPropertyDefinition}});var we=n(8159);Object.defineProperty(t,"DocsBlockUrlPropertyDefinition",{enumerable:!0,get:function(){return we.DocsBlockUrlPropertyDefinition}});var Se=n(4579);Object.defineProperty(t,"DocsBlockTokenPropertyDefinition",{enumerable:!0,get:function(){return Se.DocsBlockTokenPropertyDefinition}});var Ie=n(1942);Object.defineProperty(t,"DocsBlockTokenPropertyPropertyDefinition",{enumerable:!0,get:function(){return Ie.DocsBlockTokenPropertyPropertyDefinition}});var De=n(4619);Object.defineProperty(t,"DocsBlockTokenTypePropertyDefinition",{enumerable:!0,get:function(){return De.DocsBlockTokenTypePropertyDefinition}});var _e=n(6275);Object.defineProperty(t,"DocsBlockDividerPropertyDefinition",{enumerable:!0,get:function(){return _e.DocsBlockDividerPropertyDefinition}});var Pe=n(9237);Object.defineProperty(t,"DocsBlockColorPropertyDefinition",{enumerable:!0,get:function(){return Pe.DocsBlockColorPropertyDefinition}});var xe=n(1938);Object.defineProperty(t,"DocsBlockStorybookPropertyDefinition",{enumerable:!0,get:function(){return xe.DocsBlockStorybookPropertyDefinition}});var Ce=n(9932);Object.defineProperty(t,"DocsImageRefType",{enumerable:!0,get:function(){return Ce.DocsImageRefType}});var Oe=n(5673);Object.defineProperty(t,"DocsLinkRefType",{enumerable:!0,get:function(){return Oe.DocsLinkRefType}});var Be=n(8781);Object.defineProperty(t,"DocsBlock",{enumerable:!0,get:function(){return Be.DocsBlock}});var Ee=n(1754);Object.defineProperty(t,"DocsBlockItem",{enumerable:!0,get:function(){return Ee.DocsBlockItem}});var Re=n(9043);Object.defineProperty(t,"DocumentationLegacy",{enumerable:!0,get:function(){return Re.DocumentationLegacy}});var Ae=n(1963);Object.defineProperty(t,"DocumentationLegacyPageBlockAsset",{enumerable:!0,get:function(){return Ae.DocumentationLegacyPageBlockAsset}});var Ne=n(8042);Object.defineProperty(t,"DocumentationLegacyPageBlockAssets",{enumerable:!0,get:function(){return Ne.DocumentationLegacyPageBlockAssets}});var Ve=n(4023);Object.defineProperty(t,"DocumentationLegacyPageBlockCallout",{enumerable:!0,get:function(){return Ve.DocumentationLegacyPageBlockCallout}});var je=n(2402);Object.defineProperty(t,"DocumentationLegacyPageBlockCode",{enumerable:!0,get:function(){return je.DocumentationLegacyPageBlockCode}});var Me=n(3220);Object.defineProperty(t,"DocumentationLegacyPageBlockCustom",{enumerable:!0,get:function(){return Me.DocumentationLegacyPageBlockCustom}});var Le=n(9322);Object.defineProperty(t,"DocumentationLegacyPageBlockDivider",{enumerable:!0,get:function(){return Le.DocumentationLegacyPageBlockDivider}});var Ue=n(6948);Object.defineProperty(t,"DocumentationLegacyPageBlockEmbedFigma",{enumerable:!0,get:function(){return Ue.DocumentationLegacyPageBlockEmbedFigma}});var Fe=n(3973);Object.defineProperty(t,"DocumentationLegacyPageBlockEmbedGeneric",{enumerable:!0,get:function(){return Fe.DocumentationLegacyPageBlockEmbedGeneric}});var We=n(118);Object.defineProperty(t,"DocumentationLegacyPageBlockEmbedLink",{enumerable:!0,get:function(){return We.DocumentationLegacyPageBlockEmbedLink}});var $e=n(764);Object.defineProperty(t,"DocumentationLegacyPageBlockEmbedStorybook",{enumerable:!0,get:function(){return $e.DocumentationLegacyPageBlockEmbedStorybook}});var ze=n(2601);Object.defineProperty(t,"DocumentationLegacyPageBlockEmbedYoutube",{enumerable:!0,get:function(){return ze.DocumentationLegacyPageBlockEmbedYoutube}});var Ge=n(430);Object.defineProperty(t,"DocumentationLegacyPageBlockFrame",{enumerable:!0,get:function(){return Ge.DocumentationLegacyPageBlockFrame}});var He=n(189);Object.defineProperty(t,"DocumentationLegacyPageBlockFrames",{enumerable:!0,get:function(){return He.DocumentationLegacyPageBlockFrames}});var qe=n(377);Object.defineProperty(t,"DocumentationLegacyPageBlockHeading",{enumerable:!0,get:function(){return qe.DocumentationLegacyPageBlockHeading}});var Ke=n(802);Object.defineProperty(t,"DocumentationLegacyPageBlockImage",{enumerable:!0,get:function(){return Ke.DocumentationLegacyPageBlockImage}});var Ze=n(1358);Object.defineProperty(t,"DocumentationLegacyPageOrderedList",{enumerable:!0,get:function(){return Ze.DocumentationLegacyPageOrderedList}});var Je=n(9075);Object.defineProperty(t,"DocumentationLegacyPageBlockQuote",{enumerable:!0,get:function(){return Je.DocumentationLegacyPageBlockQuote}});var Ye=n(2446);Object.defineProperty(t,"DocumentationLegacyPageBlockRenderCode",{enumerable:!0,get:function(){return Ye.DocumentationLegacyPageBlockRenderCode}});var Qe=n(2657);Object.defineProperty(t,"DocumentationLegacyPageBlockShortcut",{enumerable:!0,get:function(){return Qe.DocumentationLegacyPageBlockShortcut}}),Object.defineProperty(t,"DocumentationLegacyPageBlockShortcutType",{enumerable:!0,get:function(){return Qe.DocumentationLegacyPageBlockShortcutType}});var Xe=n(32);Object.defineProperty(t,"DocumentationLegacyPageBlockShortcuts",{enumerable:!0,get:function(){return Xe.DocumentationLegacyPageBlockShortcuts}});var et=n(2668);Object.defineProperty(t,"DocumentationLegacyPageBlockText",{enumerable:!0,get:function(){return et.DocumentationLegacyPageBlockText}});var tt=n(4650);Object.defineProperty(t,"DocumentationLegacyPageBlockToken",{enumerable:!0,get:function(){return tt.DocumentationLegacyPageBlockToken}});var nt=n(1747);Object.defineProperty(t,"DocumentationLegacyPageBlockTokenGroup",{enumerable:!0,get:function(){return nt.DocumentationLegacyPageBlockTokenGroup}});var rt=n(5938);Object.defineProperty(t,"DocumentationLegacyPageBlockTokenList",{enumerable:!0,get:function(){return rt.DocumentationLegacyPageBlockTokenList}});var ot=n(5051);Object.defineProperty(t,"DocumentationLegacyPageUnorderedList",{enumerable:!0,get:function(){return ot.DocumentationLegacyPageUnorderedList}});var it=n(557);Object.defineProperty(t,"DocumentationLegacyPageBlockColumn",{enumerable:!0,get:function(){return it.DocumentationLegacyPageBlockColumn}});var at=n(4941);Object.defineProperty(t,"DocumentationLegacyPageBlockColumnItem",{enumerable:!0,get:function(){return at.DocumentationLegacyPageBlockColumnItem}});var st=n(6796);Object.defineProperty(t,"DocumentationLegacyPageBlockTab",{enumerable:!0,get:function(){return st.DocumentationLegacyPageBlockTab}});var dt=n(7599);Object.defineProperty(t,"DocumentationLegacyPageBlockTabItem",{enumerable:!0,get:function(){return dt.DocumentationLegacyPageBlockTabItem}});var pt=n(7555);Object.defineProperty(t,"DocumentationLegacyPageBlockTable",{enumerable:!0,get:function(){return pt.DocumentationLegacyPageBlockTable}});var lt=n(1443);Object.defineProperty(t,"DocumentationLegacyPageBlockTableCell",{enumerable:!0,get:function(){return lt.DocumentationLegacyPageBlockTableCell}});var ct=n(9535);Object.defineProperty(t,"DocumentationLegacyPageBlockTableRow",{enumerable:!0,get:function(){return ct.DocumentationLegacyPageBlockTableRow}});var ut=n(8009);Object.defineProperty(t,"DocumentationLegacyPageBlockTableColumn",{enumerable:!0,get:function(){return ut.DocumentationLegacyPageBlockTableColumn}});var mt=n(8561);Object.defineProperty(t,"DocumentationLegacyItemHeader",{enumerable:!0,get:function(){return mt.DocumentationLegacyItemHeader}});var ht=n(8032);Object.defineProperty(t,"DocumentationLegacyItemConfiguration",{enumerable:!0,get:function(){return ht.DocumentationLegacyItemConfiguration}});var gt=n(7080);Object.defineProperty(t,"DocumentationLegacyConfiguration",{enumerable:!0,get:function(){return gt.DocumentationLegacyConfiguration}});var ft=n(3909);Object.defineProperty(t,"DocumentationLegacyGroup",{enumerable:!0,get:function(){return ft.DocumentationLegacyGroup}});var yt=n(5127);Object.defineProperty(t,"DocumentationLegacyItem",{enumerable:!0,get:function(){return yt.DocumentationLegacyItem}});var vt=n(3447);Object.defineProperty(t,"DocumentationLegacyPage",{enumerable:!0,get:function(){return vt.DocumentationLegacyPage}});var kt=n(690);Object.defineProperty(t,"DocumentationLegacyPageBlock",{enumerable:!0,get:function(){return kt.DocumentationLegacyPageBlock}});var Tt=n(851);Object.defineProperty(t,"DocumentationLegacyPageAsset",{enumerable:!0,get:function(){return Tt.DocumentationLegacyPageAsset}});var bt=n(9929);Object.defineProperty(t,"DocumentationLegacyRichText",{enumerable:!0,get:function(){return bt.DocumentationLegacyRichText}});var wt=n(4825);Object.defineProperty(t,"RichTextSpan",{enumerable:!0,get:function(){return wt.RichTextSpan}});var St=n(9974);Object.defineProperty(t,"RichTextSpanAttribute",{enumerable:!0,get:function(){return St.RichTextSpanAttribute}});var It=n(8546);Object.defineProperty(t,"AssetGroup",{enumerable:!0,get:function(){return It.AssetGroup}});var Dt=n(7813);Object.defineProperty(t,"DesignComponentGroup",{enumerable:!0,get:function(){return Dt.DesignComponentGroup}});var _t=n(7381);Object.defineProperty(t,"TokenGroup",{enumerable:!0,get:function(){return _t.TokenGroup}});var Pt=n(7476);Object.defineProperty(t,"Alignment",{enumerable:!0,get:function(){return Pt.Alignment}});var xt=n(8738);Object.defineProperty(t,"AssetFormat",{enumerable:!0,get:function(){return xt.AssetFormat}});var Ct=n(915);Object.defineProperty(t,"AssetScale",{enumerable:!0,get:function(){return Ct.AssetScale}});var Ot=n(899);Object.defineProperty(t,"AssetScaleType",{enumerable:!0,get:function(){return Ot.AssetScaleType}});var Bt=n(6192);Object.defineProperty(t,"BlurType",{enumerable:!0,get:function(){return Bt.BlurType}});var Et=n(1160);Object.defineProperty(t,"BorderPosition",{enumerable:!0,get:function(){return Et.BorderPosition}});var Rt=n(4546);Object.defineProperty(t,"BorderStyle",{enumerable:!0,get:function(){return Rt.BorderStyle}});var At=n(5102);Object.defineProperty(t,"DocumentationLegacyCalloutType",{enumerable:!0,get:function(){return At.DocumentationLegacyCalloutType}});var Nt=n(2123);Object.defineProperty(t,"DocumentationLegacyGroupBehavior",{enumerable:!0,get:function(){return Nt.DocumentationLegacyGroupBehavior}});var Vt=n(9896);Object.defineProperty(t,"DocumentationLegacyHeadingType",{enumerable:!0,get:function(){return Vt.DocumentationLegacyHeadingType}});var jt=n(7379);Object.defineProperty(t,"DocumentationLegacyItemType",{enumerable:!0,get:function(){return jt.DocumentationLegacyItemType}});var Mt=n(3804);Object.defineProperty(t,"DocumentationLegacyPageAssetType",{enumerable:!0,get:function(){return Mt.DocumentationLegacyPageAssetType}});var Lt=n(1846);Object.defineProperty(t,"DocumentationLegacyPageBlockType",{enumerable:!0,get:function(){return Lt.DocumentationLegacyPageBlockType}});var Ut=n(1601);Object.defineProperty(t,"DocumentationLegacyPageBlockThemeType",{enumerable:!0,get:function(){return Ut.DocumentationLegacyPageBlockThemeType}});var Ft=n(5651);Object.defineProperty(t,"DocsBlockBehaviorDataType",{enumerable:!0,get:function(){return Ft.DocsBlockBehaviorDataType}});var Wt=n(3367);Object.defineProperty(t,"DocsBlockContainerSize",{enumerable:!0,get:function(){return Wt.DocsBlockContainerSize}});var $t=n(3733);Object.defineProperty(t,"DocsBlockBehaviorSelectionType",{enumerable:!0,get:function(){return $t.DocsBlockBehaviorSelectionType}});var zt=n(8890);Object.defineProperty(t,"DocsBlockImagePropertyAspectRatio",{enumerable:!0,get:function(){return zt.DocsBlockImagePropertyAspectRatio}});var Gt=n(9377);Object.defineProperty(t,"DocsBlockItemEntityType",{enumerable:!0,get:function(){return Gt.DocsBlockItemEntityType}});var Ht=n(8264);Object.defineProperty(t,"DocsBlockItemPropertyOptionRenderingStyle",{enumerable:!0,get:function(){return Ht.DocsBlockItemPropertyOptionRenderingStyle}});var qt=n(8061);Object.defineProperty(t,"DocsBlockItemPropertyRichTextStyle",{enumerable:!0,get:function(){return qt.DocsBlockItemPropertyRichTextStyle}});var Kt=n(7479);Object.defineProperty(t,"DocsBlockItemPropertyTextStyle",{enumerable:!0,get:function(){return Kt.DocsBlockItemPropertyTextStyle}});var Zt=n(6839);Object.defineProperty(t,"DocsBlockItemPropertyType",{enumerable:!0,get:function(){return Zt.DocsBlockItemPropertyType}});var Jt=n(8095);Object.defineProperty(t,"DocsBlockItemVariantLayoutType",{enumerable:!0,get:function(){return Jt.DocsBlockItemVariantLayoutType}});var Yt=n(7291);Object.defineProperty(t,"DocsBlockItemVariantLayoutWidth",{enumerable:!0,get:function(){return Yt.DocsBlockItemVariantLayoutWidth}});var Qt=n(5963);Object.defineProperty(t,"DocsBlockOptionRenderingStyle",{enumerable:!0,get:function(){return Qt.DocsBlockOptionRenderingStyle}});var Xt=n(6644);Object.defineProperty(t,"DocsBlockRichTextPropertyStyle",{enumerable:!0,get:function(){return Xt.DocsBlockRichTextPropertyStyle}});var en=n(306);Object.defineProperty(t,"DocsBlockTextPropertyStyle",{enumerable:!0,get:function(){return en.DocsBlockTextPropertyStyle}});var tn=n(2544);Object.defineProperty(t,"DocsBlockTextPropertyColor",{enumerable:!0,get:function(){return tn.DocsBlockTextPropertyColor}});var nn=n(4068);Object.defineProperty(t,"DocsEntityGroupBehavior",{enumerable:!0,get:function(){return nn.DocsEntityGroupBehavior}});var rn=n(1233);Object.defineProperty(t,"DocsEntityType",{enumerable:!0,get:function(){return rn.DocsEntityType}});var on=n(7971);Object.defineProperty(t,"DocsSectionType",{enumerable:!0,get:function(){return on.DocsSectionType}});var an=n(4652);Object.defineProperty(t,"SourceType",{enumerable:!0,get:function(){return an.SourceType}});var sn=n(3917);Object.defineProperty(t,"DocsBlockImagePropertyWidth",{enumerable:!0,get:function(){return sn.DocsBlockImagePropertyWidth}});var dn=n(1241);Object.defineProperty(t,"DocsPublishStatus",{enumerable:!0,get:function(){return dn.DocsPublishStatus}});var pn=n(702);Object.defineProperty(t,"DocumentationEnvironment",{enumerable:!0,get:function(){return pn.DocumentationEnvironment}});var ln=n(1255);Object.defineProperty(t,"FrameAlignment",{enumerable:!0,get:function(){return ln.FrameAlignment}});var cn=n(3718);Object.defineProperty(t,"FrameLayout",{enumerable:!0,get:function(){return cn.FrameLayout}});var un=n(1);Object.defineProperty(t,"GradientType",{enumerable:!0,get:function(){return un.GradientType}});var mn=n(2674);Object.defineProperty(t,"RichTextSpanAttributeType",{enumerable:!0,get:function(){return mn.RichTextSpanAttributeType}});var hn=n(9125);Object.defineProperty(t,"ShadowType",{enumerable:!0,get:function(){return hn.ShadowType}});var gn=n(922);Object.defineProperty(t,"TextCase",{enumerable:!0,get:function(){return gn.TextCase}});var fn=n(7040);Object.defineProperty(t,"TextDecoration",{enumerable:!0,get:function(){return fn.TextDecoration}});var yn=n(3788);Object.defineProperty(t,"TokenType",{enumerable:!0,get:function(){return yn.TokenType}});var vn=n(8607);Object.defineProperty(t,"Unit",{enumerable:!0,get:function(){return vn.Unit}});var kn=n(9478);Object.defineProperty(t,"UserRole",{enumerable:!0,get:function(){return kn.UserRole}});var Tn=n(6141);Object.defineProperty(t,"VisibilityType",{enumerable:!0,get:function(){return Tn.VisibilityType}});var bn=n(5503);Object.defineProperty(t,"WorkspaceSubscriptionPlanInterval",{enumerable:!0,get:function(){return bn.WorkspaceSubscriptionPlanInterval}});var wn=n(4290);Object.defineProperty(t,"WorkspaceSubscriptionProductCode",{enumerable:!0,get:function(){return wn.WorkspaceSubscriptionProductCode}});var Sn=n(3607);Object.defineProperty(t,"WorkspaceSubscriptionStatus",{enumerable:!0,get:function(){return Sn.WorkspaceSubscriptionStatus}});var In=n(6298);Object.defineProperty(t,"WorkspaceNPMRegistryAuthType",{enumerable:!0,get:function(){return In.WorkspaceNPMRegistryAuthType}});var Dn=n(7968);Object.defineProperty(t,"WorkspaceNPMRegistryType",{enumerable:!0,get:function(){return Dn.WorkspaceNPMRegistryType}});var _n=n(5661);Object.defineProperty(t,"ImportWarningType",{enumerable:!0,get:function(){return _n.ImportWarningType}});var Pn=n(5695);Object.defineProperty(t,"CustomDomainErrorCode",{enumerable:!0,get:function(){return Pn.CustomDomainErrorCode}});var xn=n(7737);Object.defineProperty(t,"CustomDomainState",{enumerable:!0,get:function(){return xn.CustomDomainState}});var Cn=n(7747);Object.defineProperty(t,"ConnectionProviders",{enumerable:!0,get:function(){return Cn.ConnectionProviders}});var On=n(2853);Object.defineProperty(t,"DesignComponentOrigin",{enumerable:!0,get:function(){return On.DesignComponentOrigin}});var Bn=n(1793);Object.defineProperty(t,"Source",{enumerable:!0,get:function(){return Bn.Source}});var En=n(3989);Object.defineProperty(t,"Size",{enumerable:!0,get:function(){return En.Size}});var Rn=n(9981);Object.defineProperty(t,"TokenOrigin",{enumerable:!0,get:function(){return Rn.TokenOrigin}});var An=n(1395);Object.defineProperty(t,"CustomDomain",{enumerable:!0,get:function(){return An.CustomDomain}});var Nn=n(4441);Object.defineProperty(t,"FigmaStructure",{enumerable:!0,get:function(){return Nn.FigmaStructure}});var Vn=n(8528);Object.defineProperty(t,"FigmaStructureDetail",{enumerable:!0,get:function(){return Vn.FigmaStructureDetail}});var jn=n(857);Object.defineProperty(t,"FigmaFrame",{enumerable:!0,get:function(){return jn.FigmaFrame}}),Object.defineProperty(t,"FrameType",{enumerable:!0,get:function(){return jn.FrameType}});var Mn=n(9883);Object.defineProperty(t,"ExportBuild",{enumerable:!0,get:function(){return Mn.ExportBuild}});var Ln=n(9883);Object.defineProperty(t,"ExportBuildStatus",{enumerable:!0,get:function(){return Ln.ExportBuildStatus}});var Un=n(5593);Object.defineProperty(t,"ExportBuildResultLog",{enumerable:!0,get:function(){return Un.ExportBuildResultLog}});var Fn=n(420);Object.defineProperty(t,"ResourceAsset",{enumerable:!0,get:function(){return Fn.ResourceAsset}});var Wn=n(9371);Object.defineProperty(t,"ResourceFont",{enumerable:!0,get:function(){return Wn.ResourceFont}});var $n=n(8529);Object.defineProperty(t,"BlurToken",{enumerable:!0,get:function(){return $n.BlurToken}});var zn=n(3380);Object.defineProperty(t,"BorderToken",{enumerable:!0,get:function(){return zn.BorderToken}});var Gn=n(2155);Object.defineProperty(t,"ColorToken",{enumerable:!0,get:function(){return Gn.ColorToken}});var Hn=n(6458);Object.defineProperty(t,"GradientToken",{enumerable:!0,get:function(){return Hn.GradientToken}});var qn=n(7046);Object.defineProperty(t,"DimensionToken",{enumerable:!0,get:function(){return qn.DimensionToken}}),Object.defineProperty(t,"SizeToken",{enumerable:!0,get:function(){return qn.SizeToken}}),Object.defineProperty(t,"SpaceToken",{enumerable:!0,get:function(){return qn.SpaceToken}}),Object.defineProperty(t,"OpacityToken",{enumerable:!0,get:function(){return qn.OpacityToken}}),Object.defineProperty(t,"FontSizeToken",{enumerable:!0,get:function(){return qn.FontSizeToken}}),Object.defineProperty(t,"LineHeightToken",{enumerable:!0,get:function(){return qn.LineHeightToken}}),Object.defineProperty(t,"LetterSpacingToken",{enumerable:!0,get:function(){return qn.LetterSpacingToken}}),Object.defineProperty(t,"ParagraphSpacingToken",{enumerable:!0,get:function(){return qn.ParagraphSpacingToken}}),Object.defineProperty(t,"BorderWidthToken",{enumerable:!0,get:function(){return qn.BorderWidthToken}}),Object.defineProperty(t,"RadiusToken",{enumerable:!0,get:function(){return qn.RadiusToken}}),Object.defineProperty(t,"DurationToken",{enumerable:!0,get:function(){return qn.DurationToken}}),Object.defineProperty(t,"ZIndexToken",{enumerable:!0,get:function(){return qn.ZIndexToken}});var Kn=n(5590);Object.defineProperty(t,"ShadowToken",{enumerable:!0,get:function(){return Kn.ShadowToken}});var Zn=n(465);Object.defineProperty(t,"TypographyToken",{enumerable:!0,get:function(){return Zn.TypographyToken}});var Jn=n(2249);Object.defineProperty(t,"StringToken",{enumerable:!0,get:function(){return Jn.StringToken}}),Object.defineProperty(t,"ProductCopyToken",{enumerable:!0,get:function(){return Jn.ProductCopyToken}}),Object.defineProperty(t,"FontFamilyToken",{enumerable:!0,get:function(){return Jn.FontFamilyToken}}),Object.defineProperty(t,"FontWeightToken",{enumerable:!0,get:function(){return Jn.FontWeightToken}});var Yn=n(5443);Object.defineProperty(t,"TextCaseToken",{enumerable:!0,get:function(){return Yn.TextCaseToken}});var Qn=n(477);Object.defineProperty(t,"TextDecorationToken",{enumerable:!0,get:function(){return Qn.TextDecorationToken}});var Xn=n(8358);Object.defineProperty(t,"VisibilityToken",{enumerable:!0,get:function(){return Xn.VisibilityToken}});var er=n(494);Object.defineProperty(t,"Token",{enumerable:!0,get:function(){return er.Token}});var tr=n(861);Object.defineProperty(t,"TokenTheme",{enumerable:!0,get:function(){return tr.TokenTheme}});var nr=n(8677);Object.defineProperty(t,"TokenThemeOverride",{enumerable:!0,get:function(){return nr.TokenThemeOverride}});var rr=n(8673);Object.defineProperty(t,"TokenUtilPreviewGenerator",{enumerable:!0,get:function(){return rr.TokenUtilPreviewGenerator}});var or=n(8479);Object.defineProperty(t,"TokenJSONBuilder",{enumerable:!0,get:function(){return or.TokenJSONBuilder}}),Object.defineProperty(t,"JSONBuilderNamingOption",{enumerable:!0,get:function(){return or.JSONBuilderNamingOption}});var ir=n(2492);Object.defineProperty(t,"DTPluginToSupernovaMapType",{enumerable:!0,get:function(){return ir.DTPluginToSupernovaMapType}});var ar=n(4984);Object.defineProperty(t,"SupernovaToolsDesignTokensPlugin",{enumerable:!0,get:function(){return ar.SupernovaToolsDesignTokensPlugin}});var sr=n(6169);Object.defineProperty(t,"DocSearch",{enumerable:!0,get:function(){return sr.DocSearch}}),Object.defineProperty(t,"DocSearchResultDataType",{enumerable:!0,get:function(){return sr.DocSearchResultDataType}});var dr=n(9517);Object.defineProperty(t,"MarkdownTransform",{enumerable:!0,get:function(){return dr.MarkdownTransform}}),Object.defineProperty(t,"MarkdownTransformType",{enumerable:!0,get:function(){return dr.MarkdownTransformType}});var pr=n(4917);Object.defineProperty(t,"TokenTransform",{enumerable:!0,get:function(){return pr.TokenTransform}});var lr=n(7098);Object.defineProperty(t,"UnreachableCaseError",{enumerable:!0,get:function(){return lr.UnreachableCaseError}});var cr=n(4379);Object.defineProperty(t,"SupernovaError",{enumerable:!0,get:function(){return cr.SupernovaError}});var ur=n(2802);Object.defineProperty(t,"OutputFileType",{enumerable:!0,get:function(){return ur.OutputFileType}}),Object.defineProperty(t,"PulsarExecutor",{enumerable:!0,get:function(){return ur.PulsarExecutor}});var mr=n(9932);Object.defineProperty(t,"docsImageRefToUrl",{enumerable:!0,get:function(){return mr.docsImageRefToUrl}})},5375:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Acl=void 0,t.Acl=class{constructor(e){this.workspaces=e.workspaces.roles,this.designSystems=e.dsm.designSystems.roles,this.designSystemVersions=e.dsm.designSystemVersions.roles,this.designSystemSources=e.dsm.designSystemSources.roles,this.tokens=e.dsm.tokens.roles}getExtendedGrants(e,t){let n=[...t.grants];if(t.extends&&t.extends.length>0){const r=e.find((e=>e.role===t.extends[0]));r&&(n=[...n,...this.getExtendedGrants(e,r)])}return[...new Set(n)]}findClosestRoleWithGrant(e,t,n){if(this.getExtendedGrants(e,t).includes(n))return t.role;const r=e.findIndex((e=>e.role===t.role)),o=e[r+1];return o?this.findClosestRoleWithGrant(e,o,n):null}hasPermission(e,t,n){const r=this[e],o=r.find((e=>e.role===n));if(!o)return{hasPermission:!1,reason:`Role ${n} does not exist in ${e}`};if(this.getExtendedGrants(r,o).includes(t))return{hasPermission:!0};const i=this.findClosestRoleWithGrant(r,o,t);return{hasPermission:!1,reason:`Role ${n} does not have access to ${e} with permission ${t}`,closestRoleWithPermission:i}}}},2742:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Asset=void 0;const r=n(2853);t.Asset=class{constructor(e,t,n){var o,i,a;this.id=e.persistentId,this.brandId=e.brandId,this.thumbnailUrl=null!==(o=e.thumbnailUrl)&&void 0!==o?o:null,this.svgUrl=null!==(i=e.svgUrl)&&void 0!==i?i:null,this.thumbnailUrl=null!==(a=e.thumbnailUrl)&&void 0!==a?a:null,this.previouslyDuplicatedNames=t,this.name=e.meta.name,this.description=e.meta.description,this.componentId=e.id,this.origin=e.originComponent?new r.DesignComponentOrigin(e.originComponent,n):null,this.createdAt=e.createdAt?new Date(e.createdAt):null,this.updatedAt=e.updatedAt?new Date(e.updatedAt):null}}},7873:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RenderedAsset=void 0,t.RenderedAsset=class{constructor(e,t,n,r){this.assetId=e.assetId,this.fileName=e.fileName,this.sourceUrl=e.sourceUrl,this.originalName=e.originalName,this.asset=t,this.group=n,this.scale=e.settings.scale,this.format=e.settings.format,this.previouslyDuplicatedNames=r}}},9975:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Brand=void 0;class n{constructor(e){this.idInVersion=e.id,this.id=e.persistentId,this.designSystemVersionId=e.designSystemVersionId,this.name=e.meta.name,this.description=e.meta.description}toRemote(){return{id:this.idInVersion,persistentId:this.id,designSystemVersionId:this.designSystemVersionId,meta:{name:this.name,description:this.description}}}toTransport(){return{idInVersion:this.idInVersion,id:this.id,designSystemVersionId:this.designSystemVersionId,name:this.name,description:this.description}}static fromTransport(e){return new n({id:e.idInVersion,persistentId:e.id,designSystemVersionId:e.designSystemVersionId,meta:{name:e.name,description:e.description}})}}t.Brand=n},476:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DesignSystem=void 0;class n{constructor(e){var t,n;this.id=e.id,this.workspaceId=e.workspaceId,this.name=e.meta.name,this.description=e.meta.description,this.isMultiBrand=e.isMultibrand,this.isPublic=e.isPublic,this.documentationExporterId=e.docExporterId,this.documentationSlug=e.docSlug,this.documentationUserSlug=null!==(t=e.docUserSlug)&&void 0!==t?t:null,this.designSystemSwitcher=null!==(n=e.designSystemSwitcher)&&void 0!==n?n:{isEnabled:!1,designSystemIds:[]}}toRemote(){return{id:this.id,meta:{name:this.name,description:this.description},workspaceId:this.workspaceId,isPublic:this.isPublic,isMultibrand:this.isMultiBrand,docSlug:this.documentationSlug,docUserSlug:this.documentationUserSlug,docExporterId:this.documentationExporterId,designSystemSwitcher:this.designSystemSwitcher}}toTransport(){return{id:this.id,name:this.name,description:this.description,isPublic:this.isPublic,isMultiBrand:this.isMultiBrand,documentationSlug:this.documentationSlug,documentationUserSlug:this.documentationUserSlug,documentationExporterId:this.documentationExporterId,designSystemSwitcher:this.designSystemSwitcher,workspaceId:this.workspaceId}}static fromTransport(e){return new n({id:e.id,meta:{name:e.name,description:e.description},workspaceId:e.workspaceId,isPublic:e.isPublic,isMultibrand:e.isMultiBrand,docSlug:e.documentationSlug,docUserSlug:e.documentationUserSlug,docExporterId:e.documentationExporterId,designSystemSwitcher:e.designSystemSwitcher})}}t.DesignSystem=n},451:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DesignSystemVersion=void 0;class n{constructor(e){var t;this.id=e.id,this.designSystemId=e.designSystemId,this.name=e.meta.name,this.description=e.meta.description,this.version=e.version,this.changeLog=(null===(t=e.changeLog)||void 0===t?void 0:t.length)>0?e.changeLog:null,this.isReadonly=e.isReadonly,this.createdAt=new Date(e.createdAt)}toRemote(){var e,t;return{id:this.id,version:null!==(e=this.version)&&void 0!==e?e:null,designSystemId:this.designSystemId,isReadonly:this.isReadonly,meta:{name:this.name,description:this.description},createdAt:this.createdAt.toISOString(),changeLog:null!==(t=this.changeLog)&&void 0!==t?t:null}}toTransport(){var e,t;return{id:this.id,version:null!==(e=this.version)&&void 0!==e?e:null,designSystemId:this.designSystemId,isReadonly:this.isReadonly,name:this.name,description:this.description,createdAt:this.createdAt.toISOString(),changeLog:null!==(t=this.changeLog)&&void 0!==t?t:null}}static fromTransport(e){var t,r;return new n({id:e.id,designSystemId:e.designSystemId,isReadonly:e.isReadonly,meta:{name:e.name,description:e.description},version:null!==(t=e.version)&&void 0!==t?t:null,createdAt:e.createdAt,changeLog:null!==(r=e.changeLog)&&void 0!==r?r:null})}}t.DesignSystemVersion=n},9043:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacy=void 0;const r=n(7080);t.DocumentationLegacy=class{constructor(e,t){this.settings=new r.DocumentationLegacyConfiguration(e.settings,t)}}},6602:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0,t.Component=class{constructor(e,t,n){this.idInVersion=e.id,this.id=e.persistentId,this.brandId=e.brandId,this.name=e.meta.name,this.description=e.meta.description,this.properties=t,this.propertyValues={};for(const e of n)if(e.targetElementId===this.id)for(const n of t)n.id===e.definitionId&&(this.propertyValues[n.codeName]=e.value);this.createdAt=e.createdAt?new Date(e.createdAt):null,this.updatedAt=e.updatedAt?new Date(e.updatedAt):null}toWriteObject(){var e;return{id:this.idInVersion,persistentId:this.id,brandId:this.brandId,meta:{name:this.name,description:null!==(e=this.description)&&void 0!==e?e:""}}}toWriteUpdateObject(){const e=this.toWriteObject();return delete e.brandId,e}}},8208:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DesignComponent=void 0;const r=n(2853);t.DesignComponent=class{constructor(e,t){var n,o;this.id=e.persistentId,this.brandId=e.brandId,this.thumbnailUrl=null!==(n=e.thumbnailUrl)&&void 0!==n?n:null,this.svgUrl=null!==(o=e.svgUrl)&&void 0!==o?o:null,this.name=e.meta.name,this.description=e.meta.description,this.origin=new r.DesignComponentOrigin(e.originComponent,t),this.createdAt=e.createdAt?new Date(e.createdAt):null,this.updatedAt=e.updatedAt?new Date(e.updatedAt):null}}},1821:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockBehavior=void 0;const r=n(1322);t.DocsBlockBehavior=class{constructor(e){var t,n,o;this.dataType=(0,r.castEnum)(e.dataType),this.items=e.items?{numberOfItems:null!==(t=e.items.numberOfItems)&&void 0!==t?t:0,allowLinks:null!==(n=e.items.allowLinks)&&void 0!==n&&n}:null,this.entities=e.entities?{selectionType:(0,r.castEnum)(e.entities.selectionType),maxSelected:null!==(o=e.entities.maxSelected)&&void 0!==o?o:0}:null}}},6130:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockDefinition=void 0;const r=n(1322),o=n(605),i=n(5651),a=n(1821),s=n(1189),d=n(1038);t.DocsBlockDefinition=class{constructor(e){var t,n,o,i,p,l,c,u,m,h,g,f;this.id=e.id,this.name=e.name,this.description=e.description,this.category=(0,r.castEnum)(e.category),this.icon=null!==(t=e.icon)&&void 0!==t?t:null,this.documentationLink=null!==(n=e.documentationLink)&&void 0!==n?n:null,this.searchKeywords=null!==(o=e.searchKeywords)&&void 0!==o?o:[],this.item=new s.DocsBlockItemDefinition(e.item),this.behavior=new a.DocsBlockBehavior(e.behavior),this.editorOptions={onboarding:(null===(i=e.editorOptions)||void 0===i?void 0:i.onboarding)?new d.DocsBlockOnboarding(e.editorOptions.onboarding):null},this.appearance={isBordered:null===(l=null===(p=e.appearance)||void 0===p?void 0:p.isBordered)||void 0===l||l,hasBackground:null!==(u=null===(c=e.appearance)||void 0===c?void 0:c.hasBackground)&&void 0!==u&&u,isEditorPresentationDifferent:null!==(h=null===(m=e.appearance)||void 0===m?void 0:m.isEditorPresentationDifferent)&&void 0!==h&&h,showBlockHeaderInEditor:null!==(f=null===(g=e.appearance)||void 0===g?void 0:g.showBlockHeaderInEditor)&&void 0!==f&&f}}get blockMode(){var e;return this.behavior.dataType===i.DocsBlockBehaviorDataType.item?1===(null===(e=this.behavior.items)||void 0===e?void 0:e.numberOfItems)?o.DocsBlockMode.singleItem:o.DocsBlockMode.multipleItems:o.DocsBlockMode.data}toRemote(){return this}}},1189:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemDefinition=void 0;const r=n(4810),o=n(9794);t.DocsBlockItemDefinition=class{constructor(e){var t,n,i,a;this.properties=e.properties.map((e=>new r.DocsBlockPropertyDefinition(e))),this.appearance={isBordered:null===(n=null===(t=e.appearance)||void 0===t?void 0:t.isBordered)||void 0===n||n,hasBackground:null!==(a=null===(i=e.appearance)||void 0===i?void 0:i.hasBackground)&&void 0!==a&&a},this.variants=e.variants.map((e=>new o.DocsBlockVariant(e))),this.defaultVariantKey=e.defaultVariantKey}}},7557:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockLayout=void 0;const r=n(1322),o=n(8110),i=n(3230),a=n(3099);class s{constructor(e){var t,n,d;this.type=(0,r.castEnum)(e.type),this.children=e.children.map((e=>"string"==typeof e?e:new s(e))),this.type=(0,r.castEnum)(e.type),this.columnAlign=null!==(t=(0,r.castOptionalEnum)(e.columnAlign))&&void 0!==t?t:o.DocsBlockItemVariantLayoutAlign.start,this.columnResizing=null!==(n=(0,r.castOptionalEnum)(e.columnResizing))&&void 0!==n?n:i.DocsBlockItemVariantLayoutColumnResizing.fill,this.gap=null!==(d=(0,r.castOptionalEnum)(e.gap))&&void 0!==d?d:a.DocsBlockItemVariantLayoutGap.medium}}t.DocsBlockLayout=s},1038:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockOnboarding=void 0,t.DocsBlockOnboarding=class{constructor(e){var t;this.helpText=e.helpText,this.documentationLink=null!==(t=e.documentationLink)&&void 0!==t?t:null}}},9794:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockVariant=void 0;const r=n(7557);t.DocsBlockVariant=class{constructor(e){var t,n,o,i,a,s,d,p,l,c,u,m,h;this.id=e.id,this.name=e.name,this.image=null!==(t=e.image)&&void 0!==t?t:null,this.description=null!==(n=e.description)&&void 0!==n?n:null,this.documentationLink=null!==(o=e.documentationLink)&&void 0!==o?o:null,this.layout=new r.DocsBlockLayout(e.layout),this.maxColumns=null!==(i=e.maxColumns)&&void 0!==i?i:1,this.defaultColumns=null!==(a=e.defaultColumns)&&void 0!==a?a:1,this.appearance={isBordered:null!==(d=null===(s=e.appearance)||void 0===s?void 0:s.isBordered)&&void 0!==d?d:void 0,hasBackground:null!==(l=null===(p=e.appearance)||void 0===p?void 0:p.hasBackground)&&void 0!==l?l:void 0,isEditorPresentationDifferent:null!==(u=null===(c=e.appearance)||void 0===c?void 0:c.isEditorPresentationDifferent)&&void 0!==u?u:void 0,showBlockHeaderInEditor:null!==(h=null===(m=e.appearance)||void 0===m?void 0:m.showBlockHeaderInEditor)&&void 0!==h?h:void 0}}}},4843:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Assets=void 0;const r=n(3737),o=n(5651),i=n(3733),a=n(8409),s=new r.DocsBlockBuilder,d={assets:s.assetProperty({id:"assets",name:"Assets",options:{}})},p=[s.variantUsingDefaultLayout({id:"default",name:"Simple grid",description:"A simple grid of assets. Both the title and description are displayed below the preview.",image:"https://cdn-assets.supernova.io/blocks/variants/assets-simple-grid.svg",properties:[d.assets],maxColumns:8}),s.variantUsingDefaultLayout({id:"square-grid",name:"Square grid",description:"Bordered square grid tailored for displaying icon assets. Only the title is displayed.",image:"https://cdn-assets.supernova.io/blocks/variants/assets-square-grid.svg",properties:[d.assets],appearance:{isEditorPresentationDifferent:!0},maxColumns:8}),s.variantUsingDefaultLayout({id:"borderless-grid",name:"Borderless grid",description:"Borderless grid, perfect for displaying assets of the same height. Only the title is visible.",image:"https://cdn-assets.supernova.io/blocks/variants/assets-borderless-grid.svg",properties:[d.assets],appearance:{isEditorPresentationDifferent:!0},maxColumns:8})],l=s.multiVariantItem({properties:[d.assets],variants:p}),c=s.dataBlock({id:"io.supernova.block.assets",name:"Assets",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/assets.svg",category:a.DocsBlockCategory.asset,description:"Display icons or illustrations",searchKeywords:["icons","illustrations","grid","svg","logos"],dataType:o.DocsBlockBehaviorDataType.asset,selectionType:i.DocsBlockBehaviorSelectionType.entityAndGroup,item:l,onboarding:s.onboarding({helpText:"Display a grid of icons or illustrations.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/media-and-assets/asset/general-xa6EgXb2"})});t.Assets=c},3539:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Blockquote=void 0;const r=n(3737),o=n(8409),i=n(6644),a=new r.DocsBlockBuilder,s={text:a.richTextProperty({id:"text",name:"Text",options:{placeholder:"Write a quote...",richTextStyle:i.DocsBlockRichTextPropertyStyle.quote}})},d=a.defaultVariantUsingDefaultLayout({properties:[s.text]}),p=a.singleVariantItem({properties:[s.text],variant:d}),l=a.singleItemBlock({id:"io.supernova.block.blockquote",name:"Quote",icon:"https://cdn-assets.supernova.io/blocks/icons/blockquote.svg",category:o.DocsBlockCategory.text,description:"Display a quotation",item:p,searchKeywords:["cite","blockquote"],onboarding:a.onboarding({helpText:"Use a blockquote to set off a quotation or cited content from the main text.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/text/blockquote-zYWAsb6X"})});t.Blockquote=l},5883:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Callout=void 0;const r=n(3737),o=n(8409),i=n(6644),a=new r.DocsBlockBuilder,s={text:a.richTextProperty({id:"text",name:"Text",options:{placeholder:"Highlight some information...",richTextStyle:i.DocsBlockRichTextPropertyStyle.callout}})},d=a.defaultVariantUsingDefaultLayout({properties:[s.text]}),p=a.singleVariantItem({properties:[s.text],variant:d}),l=a.singleItemBlock({id:"io.supernova.block.callout",name:"Callout",icon:"https://cdn-assets.supernova.io/blocks/icons/v3/callout.svg",description:"Highlight a section of text",category:o.DocsBlockCategory.text,item:p,searchKeywords:["banner","alert","note","tip","warning"],onboarding:a.onboarding({helpText:"Use to highlight a section of text.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/text/callout-ZPlZObD1"})});t.Callout=l},7862:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeReact=void 0;const r=n(3737),o=n(8409),i=new r.DocsBlockBuilder,a={code:i.codeSandboxProperty({id:"code",name:"Code",options:{renderLayoutAs:"PreviewOnTop"},variants:{codeTop:{renderLayoutAs:"PreviewOnBottom"},codeLeft:{renderLayoutAs:"PreviewOnRight"},codeRight:{renderLayoutAs:"PreviewOnLeft"}}})},s=[i.variantUsingDefaultLayout({id:"codeBottom",name:"Full width, code bottom",description:"Full-width block of code, with a preview on top.",image:"https://cdn-assets.supernova.io/blocks/variants/react-code-bottom.svg",properties:[a.code]}),i.variantUsingDefaultLayout({id:"codeTop",name:"Full width, code top",description:"Full-width block of code, with a preview on bottom.",image:"https://cdn-assets.supernova.io/blocks/variants/react-code-top.svg",properties:[a.code]}),i.variantUsingDefaultLayout({id:"codeLeft",name:"Side by side, code left",description:"Side-by-side preview and code, with code on the left.",image:"https://cdn-assets.supernova.io/blocks/variants/react-code-left.svg",properties:[a.code]}),i.variantUsingDefaultLayout({id:"codeRight",name:"Side by side, code right",description:"Side-by-side preview and code, with code on the right.",image:"https://cdn-assets.supernova.io/blocks/variants/react-code-right.svg",properties:[a.code]})],d=i.multiVariantItem({properties:[a.code],variants:s}),p=i.singleItemBlock({id:"io.supernova.block.code-react",name:"React code",icon:"https://cdn-assets.supernova.io/blocks/icons/v3/code-react.svg",category:o.DocsBlockCategory.code,description:"Render a code snippet",item:d,searchKeywords:["code","react","snippet","storybook","editor","example","sandbox"],appearance:{isBordered:!1},onboarding:i.onboarding({helpText:"Display rendered code example",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/code/render-react-code-vxufnkFm"})});t.CodeReact=p},9887:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Code=void 0;const r=n(3737),o=n(8409),i=new r.DocsBlockBuilder,a={code:i.codeProperty({id:"code",name:"Code",options:{}})},s=i.defaultVariantUsingDefaultLayout({properties:[a.code]}),d=i.singleVariantItem({properties:[a.code],variant:s}),p=i.singleItemBlock({id:"io.supernova.block.code",name:"Code",icon:"https://cdn-assets.supernova.io/blocks/icons/code.svg",category:o.DocsBlockCategory.code,description:"Code description",item:d,searchKeywords:["code"],appearance:{isBordered:!1},onboarding:i.onboarding({helpText:"Code descriptor."})});t.Code=p},4020:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccessibilityGrid=void 0;const r=n(3737),o=n(5651),i=n(3733),a=n(8409),s=n(3788),d=new r.DocsBlockBuilder,p="Visualize accessibility of your colors by automatically calculating their color contrast ratio.",l={tokens:d.tokenProperty({id:"tokens",name:"Tokens",options:{allowedTypes:[s.TokenType.color],allowPropertySelection:!1,allowThemeSelection:!1}})},c=d.defaultVariantUsingDefaultLayout({properties:[l.tokens],description:p,image:"https://cdn-assets.supernova.io/blocks/variants/contrast-grid-large.svg",appearance:{isEditorPresentationDifferent:!0}}),u=d.singleVariantItem({properties:[l.tokens],variant:c}),m=d.dataBlock({id:"io.supernova.block.color-accessibility-grid",name:"Accessibility color grid",icon:"https://cdn-assets.supernova.io/blocks/icons/v3/token-accessibility-grid.svg",category:a.DocsBlockCategory.token,description:"Visualize accessibility of your color tokens",searchKeywords:["tokens","color","accessibility","grid","contrast"],dataType:o.DocsBlockBehaviorDataType.token,selectionType:i.DocsBlockBehaviorSelectionType.entityAndGroup,item:u,onboarding:d.onboarding({helpText:p,documentationLink:"https://learn.supernova.io"})});t.AccessibilityGrid=m},3634:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorRamps=void 0;const r=n(3737),o=n(5651),i=n(3733),a=n(8409),s=n(3788),d=new r.DocsBlockBuilder,p={tokens:d.tokenProperty({id:"tokens",name:"Tokens",options:{allowedTypes:[s.TokenType.color],allowPropertySelection:!1,allowThemeSelection:!0}})},l=d.defaultVariantUsingDefaultLayout({properties:[p.tokens],image:"https://cdn-assets.supernova.io/blocks/variants/tokens-color-stack.svg",appearance:{isEditorPresentationDifferent:!0},maxColumns:2}),c=d.singleVariantItem({properties:[p.tokens],variant:l}),u=d.dataBlock({id:"io.supernova.block.token-color-ramps",name:"Color ramps",icon:"https://cdn-assets.supernova.io/blocks/icons/color-ramp.svg",category:a.DocsBlockCategory.token,description:"The best way to display colors",searchKeywords:["tokens","ramp","shades","palette","spectrum","stack","range","swatch"],dataType:o.DocsBlockBehaviorDataType.token,selectionType:i.DocsBlockBehaviorSelectionType.entityAndGroup,item:c,onboarding:d.onboarding({helpText:"The best way to display colors",documentationLink:"https://learn.supernova.io"})});t.ColorRamps=u},1311:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentChecklistAll=void 0;const r=n(3737),o=n(5651),i=n(3733),a=n(8409),s=new r.DocsBlockBuilder,d={components:s.componentProperty({id:"components",name:"Components",options:{renderLayoutAs:"Table"}}),showLastUpdatedColumn:s.booleanProperty({id:"showLastUpdatedColumn",name:"Show last updated column",options:{defaultValue:!0}})},p=s.defaultVariantUsingDefaultLayout({properties:[d.components,d.showLastUpdatedColumn],image:"https://cdn-assets.supernova.io/blocks/variants/component-overview-table.svg",appearance:{isEditorPresentationDifferent:!0}}),l=s.singleVariantItem({properties:[d.components,d.showLastUpdatedColumn],variant:p}),c=s.dataBlock({id:"io.supernova.block.component-checklist-all",name:"Component overview table",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/component-checklist-all.svg",category:a.DocsBlockCategory.component,description:"Show an overview of all components",searchKeywords:["components","health","overview","status"],dataType:o.DocsBlockBehaviorDataType.component,selectionType:i.DocsBlockBehaviorSelectionType.group,maxSelection:1,item:l,onboarding:s.onboarding({helpText:"Show an overview of all your components",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/component/component-overview-table-W8eOtJ5t"})});t.ComponentChecklistAll=c},424:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentChecklist=void 0;const r=n(3737),o=n(5651),i=n(3733),a=n(8409),s=new r.DocsBlockBuilder,d={components:s.componentProperty({id:"components",name:"Components",options:{renderLayoutAs:"List"}}),showDescription:s.booleanProperty({id:"showDescription",name:"Show description",options:{defaultValue:!0}}),title:s.textProperty({id:"title",name:"Title",options:{defaultValue:"Component checklist"}})},p=s.defaultVariantUsingDefaultLayout({properties:[d.components,d.showDescription],image:"https://cdn-assets.supernova.io/blocks/variants/component-checklist.svg",appearance:{isEditorPresentationDifferent:!0}}),l=s.singleVariantItem({properties:[d.components,d.title,d.showDescription],variant:p}),c=s.dataBlock({id:"io.supernova.block.component-checklist",name:"Component checklist",icon:"https://cdn-assets.supernova.io/blocks/icons/component-checklist.svg",category:a.DocsBlockCategory.component,description:"Highlight specific component properties",searchKeywords:["components","health","properties","overview","status"],dataType:o.DocsBlockBehaviorDataType.component,selectionType:i.DocsBlockBehaviorSelectionType.entity,maxSelection:1,item:l,onboarding:s.onboarding({helpText:"Highlight specific component properties",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/component/component-checklist-NXepPIpZ"})});t.ComponentChecklist=c},9320:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentHealth=void 0;const r=n(3737),o=n(5651),i=n(3733),a=n(8409),s=new r.DocsBlockBuilder,d={components:s.componentProperty({id:"components",name:"Components",options:{renderLayoutAs:"List"}})},p=s.defaultVariantUsingDefaultLayout({properties:[d.components],image:"https://cdn-assets.supernova.io/blocks/variants/component-health.svg",appearance:{isEditorPresentationDifferent:!0}}),l=s.singleVariantItem({properties:[d.components],variant:p}),c=s.dataBlock({id:"io.supernova.block.component-health",name:"Component health",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/component-health.svg",category:a.DocsBlockCategory.component,description:"Show component health and other attributes",searchKeywords:["components","health","properties","overview","status"],dataType:o.DocsBlockBehaviorDataType.component,selectionType:i.DocsBlockBehaviorSelectionType.entity,maxSelection:1,item:l,onboarding:s.onboarding({helpText:"Show component health and additional attributes",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/component/component-health-sezSxEED"})});t.ComponentHealth=c},8622:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DesignTokens=void 0;const r=n(3737),o=n(5651),i=n(3733),a=n(8409),s=new r.DocsBlockBuilder,d={tokens:s.tokenProperty({id:"tokens",name:"Tokens",options:{renderLayoutAs:"List",defaultTheme:"none",defaultValuePreview:"Split"},variants:{grid:{renderLayoutAs:"Grid"}}})},p=[s.variantUsingDefaultLayout({id:"table",name:"Table",image:"https://cdn-assets.supernova.io/blocks/variants/tokens-table.svg",properties:[d.tokens]}),s.variantUsingDefaultLayout({id:"grid",name:"Grid",image:"https://cdn-assets.supernova.io/blocks/variants/tokens-grid.svg",properties:[d.tokens],maxColumns:4})],l=s.multiVariantItem({properties:[d.tokens],variants:p}),c=s.dataBlock({id:"io.supernova.block.design-tokens",name:"Design tokens",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/design-tokens.svg",category:a.DocsBlockCategory.token,description:"A list of design tokens",searchKeywords:["tokens","color","typography","spacing","grid","material","theme","token list","token group"],dataType:o.DocsBlockBehaviorDataType.token,selectionType:i.DocsBlockBehaviorSelectionType.entityAndGroup,item:l,onboarding:s.onboarding({helpText:"Show a group of design tokens. Automatically display all subgroups too.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/token/tokens/general-84NRgxGl#section-token-group-09"})});t.DesignTokens=c},1299:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Divider=void 0;const r=n(3737),o=n(8409),i=new r.DocsBlockBuilder,a={divider:i.dividerProperty({id:"divider",name:"Divider",options:{}})},s=i.defaultVariantUsingDefaultLayout({properties:[a.divider]}),d=i.singleVariantItem({properties:[a.divider],variant:s}),p=i.singleItemBlock({id:"io.supernova.block.divider",name:"Divider",icon:"https://cdn-assets.supernova.io/blocks/icons/divider.svg",category:o.DocsBlockCategory.layout,description:"A section divider",item:d,searchKeywords:["hr","line","rule","separator"],onboarding:i.onboarding({helpText:"A thematic break or horizontal rule, often used to separate content or define a change in topic.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/text/divider-tLuxooLH"})});t.Divider=p},1436:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmbedFigma=void 0;const r=n(3737),o=n(8409),i=new r.DocsBlockBuilder,a={embedUrl:i.embedUrlProperty({id:"embed",name:"Figma URL",options:{allowCaption:!1,allowResize:!0,defaultHeight:400,urlValidationRegex:"^(https?://)?(www.)?(figma.com)/.+$"}})},s=i.defaultVariantUsingDefaultLayout({properties:[a.embedUrl]}),d=i.singleVariantItem({properties:[a.embedUrl],variant:s}),p=i.singleItemBlock({id:"io.supernova.block.embed-figma",name:"Figma embed",icon:"https://cdn-assets.supernova.io/blocks/icons/embed-figma.svg",category:o.DocsBlockCategory.media,description:"Embed a Figma canvas or prototype",item:d,searchKeywords:["embed","figma","design","prototype","canvas"],onboarding:i.onboarding({helpText:"Embed a Figma canvas or prototype to your documentation.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/figma/embed-figma-GPNJsT8A"})});t.EmbedFigma=p},6272:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmbedLottie=void 0;const r=n(3737),o=n(8409),i=new r.DocsBlockBuilder,a="Embed a Lottie animation to your documentation.",s={url:i.urlProperty({id:"url",name:"Lottie URL",description:"Add URL to your Lottie animation file. We support .json and .lottie file extensions.",options:{urlValidationRegex:"^(http|https)://.*.(json|lottie)$"}}),height:i.numericProperty({id:"height",name:"Height",options:{defaultValue:270}}),width:i.numericProperty({id:"width",name:"Width",options:{defaultValue:400}}),autoplay:i.booleanProperty({id:"autoplay",name:"Autoplay",options:{defaultValue:!0}}),playerControls:i.booleanProperty({id:"playerControls",name:"Show player controls",options:{defaultValue:!0}}),loop:i.booleanProperty({id:"loop",name:"Loop",options:{defaultValue:!0}})},d=i.defaultVariantUsingDefaultLayout({properties:[s.url,s.height,s.width,s.autoplay,s.loop,s.playerControls],image:"https://cdn-assets.supernova.io/blocks/variants/lottie-player.svg",description:a}),p=i.singleVariantItem({properties:[s.url,s.height,s.width,s.autoplay,s.loop,s.playerControls],variant:d}),l=i.singleItemBlock({id:"io.supernova.block.embed-lottie",name:"Lottie animation",icon:"https://cdn-assets.supernova.io/blocks/icons/lottie.svg",category:o.DocsBlockCategory.media,description:"Preview a Lottie animation",item:p,searchKeywords:["embed","lottie","animation","rive","json"],appearance:{isEditorPresentationDifferent:!0,showBlockHeaderInEditor:!0},onboarding:i.onboarding({helpText:a,documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/media-and-assets/lottie-preview-7CqFdGv9"})});t.EmbedLottie=l},4738:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmbedYoutube=void 0;const r=n(3737),o=n(8409),i=new r.DocsBlockBuilder,a={embedUrl:i.embedUrlProperty({id:"embed",name:"Youtube URL",options:{allowCaption:!1,allowResize:!1,defaultHeight:400,urlValidationRegex:"^(https?://)?(www.)?(youtube.com|youtu.?be)/.+$"}})},s=i.defaultVariantUsingDefaultLayout({properties:[a.embedUrl]}),d=i.singleVariantItem({properties:[a.embedUrl],variant:s}),p=i.singleItemBlock({id:"io.supernova.block.embed-youtube",name:"YouTube",icon:"https://cdn-assets.supernova.io/blocks/icons/embed-youtube.svg",category:o.DocsBlockCategory.media,description:"Embed a Youtube video",item:d,searchKeywords:["embed","video","player","upload"],onboarding:i.onboarding({helpText:"Embed a YouTube video to your documentation.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/media-and-assets/youtube-Gh8VUrSF"})});t.EmbedYoutube=p},1555:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Embed=void 0;const r=n(3737),o=n(8409),i=new r.DocsBlockBuilder,a={embedUrl:i.embedUrlProperty({id:"embedUrl",name:"Embed URL",options:{allowCaption:!0,allowResize:!0,defaultHeight:400,urlValidationRegex:"^(https?://)?(www.)?.+$"}})},s=i.defaultVariantUsingDefaultLayout({properties:[a.embedUrl]}),d=i.singleVariantItem({properties:[a.embedUrl],variant:s}),p=i.singleItemBlock({id:"io.supernova.block.embed",name:"Embed",icon:"https://cdn-assets.supernova.io/blocks/icons/embed.svg",category:o.DocsBlockCategory.media,description:"Embed a generic URL",item:d,searchKeywords:["embed","url","iframe","site","import"],onboarding:i.onboarding({helpText:"Embed any page to your documentation as an iframe.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/media-and-assets/embed/public-url-2ZeRQ332"})});t.Embed=p},8134:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FigmaFrames=void 0;const r=n(3737),o=n(5651),i=n(3733),a=n(8409),s=new r.DocsBlockBuilder,d={figmaNodes:s.figmaNodeProperty({id:"figmaNodes",name:"Figma Frames",options:{}})},p=[s.variantUsingDefaultLayout({id:"bordered",name:"Bordered",description:"Tiles with background and border, great for larger sets of frames.",image:"https://cdn-assets.supernova.io/blocks/variants/figma-nodes-boxed.svg",properties:[d.figmaNodes],maxColumns:8}),s.variantUsingDefaultLayout({id:"plain",name:"Plain",description:"Frame as it is in Figma with no extra formatting, great for single images.",image:"https://cdn-assets.supernova.io/blocks/variants/figma-nodes-plain.svg",properties:[d.figmaNodes],maxColumns:8})],l=s.multiVariantItem({properties:[d.figmaNodes],variants:p}),c=s.dataBlock({id:"io.supernova.block.figma-frames",name:"Figma images",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/figma-frames.svg",category:a.DocsBlockCategory.figma,description:"Generate images from Figma layers",searchKeywords:["figma","frames","image","layer"],dataType:o.DocsBlockBehaviorDataType.figmaNode,selectionType:i.DocsBlockBehaviorSelectionType.entity,item:l,onboarding:s.onboarding({helpText:"Generate images from Figma layers",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/figma/figma-frames/general-f3IYC5dg"})});t.FigmaFrames=c},9195:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Image=void 0;const r=n(3737),o=n(8409),i=new r.DocsBlockBuilder,a={image:i.imageProperty({id:"image",name:"Image",options:{allowCaption:!0}})},s=i.defaultVariantUsingDefaultLayout({properties:[a.image]}),d=i.singleVariantItem({properties:[a.image],variant:s}),p=i.singleItemBlock({id:"io.supernova.block.image",name:"Image",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/image.svg",category:o.DocsBlockCategory.media,description:"Display an image or Figma image",item:d,appearance:{isBordered:!1},searchKeywords:["image","figma","frame","picture","photo"],onboarding:i.onboarding({helpText:"Use to display an image or Figma image.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/media-and-assets/image-Ue8VdT8B"})});t.Image=p},9867:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Markdown=void 0;const r=n(3737),o=n(8409),i=new r.DocsBlockBuilder,a={markdownUrl:i.markdownProperty({id:"markdownUrl",name:"Markdown URL",options:{urlValidationRegex:"^(https?://)?(www\\.)?.+\\.md(\\?.*)?$"}})},s=(i.defaultVariantUsingDefaultLayout({properties:[a.markdownUrl]}),[i.variantUsingDefaultLayout({id:"plain",name:"Plain",image:"https://cdn-assets.supernova.io/blocks/variants/markdown-plain.svg",properties:[a.markdownUrl]}),i.variantUsingDefaultLayout({id:"bordered",name:"Bordered",image:"https://cdn-assets.supernova.io/blocks/variants/markdown-bordered.svg",properties:[a.markdownUrl]}),i.variantUsingDefaultLayout({id:"boxed",name:"Boxed",image:"https://cdn-assets.supernova.io/blocks/variants/markdown-boxed.svg",properties:[a.markdownUrl]})]),d=i.multiVariantItem({properties:[a.markdownUrl],variants:s}),p=i.singleItemBlock({id:"io.supernova.block.markdown",name:"Markdown",icon:"https://cdn-assets.supernova.io/blocks/icons/markdown.svg",category:o.DocsBlockCategory.other,description:"Render Markdown URL",item:d,searchKeywords:["md","embed","api","props","mdx"],appearance:{isEditorPresentationDifferent:!0},onboarding:i.onboarding({helpText:"Render any markdown file directly inside of your documentation.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/code/markdown/general-B8wQVOem"})});t.Markdown=p},8952:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OrderedList=void 0;const r=n(3737),o=n(8409),i=n(9763),a=new r.DocsBlockBuilder,s={text:a.multiRichTextProperty({id:"text",name:"Text",options:{multiRichTextStyle:i.DocsBlockMultiRichTextPropertyStyle.ol}})},d=a.defaultVariantUsingDefaultLayout({properties:[s.text]}),p=a.singleVariantItem({properties:[s.text],variant:d}),l=a.singleItemBlock({id:"io.supernova.block.ordered-list",name:"Ordered list",icon:"https://cdn-assets.supernova.io/blocks/icons/list-ordered.svg",category:o.DocsBlockCategory.text,description:"A list with numbers",item:p,searchKeywords:["ol"],onboarding:a.onboarding({helpText:"Display a sequence of numbers or letters to indicate order.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/text/list-UC5iPZLK"})});t.OrderedList=l},1318:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReleaseNotes=void 0;const r=n(3737),o=n(8409),i=new r.DocsBlockBuilder,a="Show formatted release notes from all previously released versions.",s=i.defaultVariantUsingDefaultLayout({properties:[],image:"https://cdn-assets.supernova.io/blocks/variants/release-notes-2.svg",description:a}),d=i.singleVariantItem({properties:[],variant:s}),p=i.singleItemBlock({id:"io.supernova.block.release-notes",name:"Release notes",icon:"https://cdn-assets.supernova.io/blocks/icons/release-notes.svg",category:o.DocsBlockCategory.other,description:"Show version release notes",item:d,searchKeywords:["version","changelog","history"],appearance:{isEditorPresentationDifferent:!0,showBlockHeaderInEditor:!0},onboarding:i.onboarding({helpText:a,documentationLink:void 0})});t.ReleaseNotes=p},1880:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RichText=void 0;const r=n(3737),o=n(8409),i=n(6644),a=new r.DocsBlockBuilder,s={text:a.richTextProperty({id:"text",name:"Text",options:{richTextStyle:i.DocsBlockRichTextPropertyStyle.default}})},d=a.defaultVariantUsingDefaultLayout({properties:[s.text],appearance:{isEditorPresentationDifferent:!1}}),p=a.singleVariantItem({properties:[s.text],variant:d}),l=a.singleItemBlock({id:"io.supernova.block.rich-text",name:"Text",icon:"https://cdn-assets.supernova.io/blocks/icons/v3/text.svg",category:o.DocsBlockCategory.text,description:"Plain text",item:p,searchKeywords:["paragraph","rich text"],onboarding:a.onboarding({helpText:"Use rich text block to write text and add additional formatting to it.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/text/text-HxZ9ssJR"})});t.RichText=l},2980:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ShortcutLinks=void 0;const r=n(3737),o=n(8409),i=n(8890),a=n(3917),s=n(3230),d=n(3099),p=n(2544),l=n(306),c=new r.DocsBlockBuilder,u={image:c.imageProperty({id:"block.links.property.image",name:"Image",options:{aspectRatio:i.DocsBlockImagePropertyAspectRatio.landscape,allowCaption:!1},variants:{iconOnTop:{width:a.DocsBlockImagePropertyWidth.icon,aspectRatio:i.DocsBlockImagePropertyAspectRatio.square},imageOnLeft:{width:a.DocsBlockImagePropertyWidth.medium},iconOnLeft:{width:a.DocsBlockImagePropertyWidth.icon,aspectRatio:i.DocsBlockImagePropertyAspectRatio.square}}}),title:c.textProperty({id:"block.links.property.title",name:"Title",options:{textStyle:l.DocsBlockTextPropertyStyle.title5,placeholder:"Add title"}}),description:c.textProperty({id:"block.links.property.description",name:"Short description",options:{textStyle:l.DocsBlockTextPropertyStyle.default,color:p.DocsBlockTextPropertyColor.neutralFaded,placeholder:"Add description"}})},m=[c.variantUsingDefaultLayout({id:"imageOnTop",name:"Image on top",image:"https://cdn-assets.supernova.io/blocks/variants/shortcuts-image-on-top.svg",properties:[u.image,u.title,u.description],maxColumns:4}),c.variantUsingCustomLayout({id:"imageOnLeft",name:"Image on left",image:"https://cdn-assets.supernova.io/blocks/variants/shortcuts-leading-image.svg",layout:c.rowLayout([c.columnLayout([u.image],{resizing:s.DocsBlockItemVariantLayoutColumnResizing.hug}),c.columnLayout([u.title,u.description],{gap:d.DocsBlockItemVariantLayoutGap.small})]),maxColumns:1}),c.variantUsingDefaultLayout({id:"iconOnTop",name:"Icon on top",image:"https://cdn-assets.supernova.io/blocks/variants/shortcuts-icon-on-top.svg",properties:[u.image,u.title,u.description],maxColumns:4}),c.variantUsingCustomLayout({id:"iconOnLeft",name:"Icon on left",image:"https://cdn-assets.supernova.io/blocks/variants/shortcuts-leading-icon.svg",layout:c.rowLayout([c.columnLayout([u.image],{resizing:s.DocsBlockItemVariantLayoutColumnResizing.hug}),c.columnLayout([u.title,u.description],{gap:d.DocsBlockItemVariantLayoutGap.small})]),maxColumns:2})],h=c.multiVariantItem({properties:[u.image,u.title,u.description],variants:m}),g=c.multiItemBlock({id:"io.supernova.block.shortcut-links",name:"Shortcut links",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/shortcuts.svg",description:"Link to a page or external URL",item:h,linkable:!0,searchKeywords:["url","page","card"],category:o.DocsBlockCategory.media,onboarding:c.onboarding({helpText:"Use link block to create single or multiple links to places in or out of your documentation.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/links/shortcuts/general-jVfNifo4"})});t.ShortcutLinks=g},2039:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Storybook=void 0;const r=n(3737),o=n(8409),i=new r.DocsBlockBuilder,a={storybookUrl:i.storybookProperty({id:"embed",name:"Storybook URL",options:{allowCaption:!0,allowResize:!0,defaultHeight:400}})},s=i.defaultVariantUsingDefaultLayout({properties:[a.storybookUrl]}),d=i.singleVariantItem({properties:[a.storybookUrl],variant:s}),p=i.singleItemBlock({id:"io.supernova.block.storybook",name:"Storybook",icon:"https://cdn-assets.supernova.io/blocks/icons/storybook.svg",category:o.DocsBlockCategory.media,description:"Embed Storybook canvas",item:d,searchKeywords:["storybook","story","stories","example","preview","code","react"],onboarding:i.onboarding({helpText:"Embed a Storybook story to your documentation.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/code/storybook-1EGPhwBl"})});t.Storybook=p},307:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Table=void 0;const r=n(3737),o=n(8409),i=new r.DocsBlockBuilder,a={table:i.tableProperty({id:"table",name:"Table",options:{}})},s=i.defaultVariantUsingDefaultLayout({properties:[a.table]}),d=i.singleVariantItem({properties:[a.table],variant:s}),p=i.singleItemBlock({id:"io.supernova.block.table",name:"Table",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/table.svg",category:o.DocsBlockCategory.layout,description:"Display a simple table",item:d,searchKeywords:["grid","data","spreadsheet","api"],onboarding:i.onboarding({helpText:"Use for displaying data in a tabular format.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/layout/table-R8KGnxej"})});t.Table=p},15:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Title1=void 0;const r=n(3737),o=n(8409),i=n(6644),a=new r.DocsBlockBuilder,s={text:a.richTextProperty({id:"text",name:"Text",options:{placeholder:"Heading 1",richTextStyle:i.DocsBlockRichTextPropertyStyle.title1}})},d=a.defaultVariantUsingDefaultLayout({properties:[s.text]}),p=a.singleVariantItem({properties:[s.text],variant:d}),l=a.singleItemBlock({id:"io.supernova.block.title1",name:"Heading 1",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/title-1.svg",category:o.DocsBlockCategory.text,description:"Main sections within the page",item:p,searchKeywords:["title","h1"],onboarding:a.onboarding({helpText:"Use for main sections within the page, introducing broad topics or themes.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/text/heading-MUKlJ7dY"})});t.Title1=l},2858:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Title2=void 0;const r=n(3737),o=n(8409),i=n(6644),a=new r.DocsBlockBuilder,s={text:a.richTextProperty({id:"text",name:"Text",options:{placeholder:"Heading 2",richTextStyle:i.DocsBlockRichTextPropertyStyle.title2}})},d=a.defaultVariantUsingDefaultLayout({properties:[s.text]}),p=a.singleVariantItem({properties:[s.text],variant:d}),l=a.singleItemBlock({id:"io.supernova.block.title2",name:"Heading 2",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/title-2.svg",category:o.DocsBlockCategory.text,description:"Section subheadings",item:p,searchKeywords:["title","h2"],onboarding:a.onboarding({helpText:"Use for subheadings, indicating major subsections under the main sections.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/text/heading-MUKlJ7dY"})});t.Title2=l},1427:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Title3=void 0;const r=n(3737),o=n(8409),i=n(6644),a=new r.DocsBlockBuilder,s={text:a.richTextProperty({id:"text",name:"Text",options:{placeholder:"Heading 3",richTextStyle:i.DocsBlockRichTextPropertyStyle.title3}})},d=a.defaultVariantUsingDefaultLayout({properties:[s.text]}),p=a.singleVariantItem({properties:[s.text],variant:d}),l=a.singleItemBlock({id:"io.supernova.block.title3",name:"Heading 3",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/title-3.svg",category:o.DocsBlockCategory.text,description:"Further subsections",item:p,searchKeywords:["title","h3"],onboarding:a.onboarding({helpText:"Use for further subsections, detailing specific topics within the major subsections.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/text/heading-MUKlJ7dY"})});t.Title3=l},7021:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Title4=void 0;const r=n(3737),o=n(8409),i=n(6644),a=new r.DocsBlockBuilder,s={text:a.richTextProperty({id:"text",name:"Text",options:{placeholder:"Heading 4",richTextStyle:i.DocsBlockRichTextPropertyStyle.title4}})},d=a.defaultVariantUsingDefaultLayout({properties:[s.text]}),p=a.singleVariantItem({properties:[s.text],variant:d}),l=a.singleItemBlock({id:"io.supernova.block.title4",name:"Heading 4",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/title-4.svg",category:o.DocsBlockCategory.text,description:"Details in subsections",item:p,searchKeywords:["title","h4"],onboarding:a.onboarding({helpText:"Use for sub-divisions, elaborating on details within the subsections.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/text/heading-MUKlJ7dY"})});t.Title4=l},9031:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Title5=void 0;const r=n(3737),o=n(8409),i=n(6644),a=new r.DocsBlockBuilder,s={text:a.richTextProperty({id:"text",name:"Text",options:{placeholder:"Heading 5",richTextStyle:i.DocsBlockRichTextPropertyStyle.title5}})},d=a.defaultVariantUsingDefaultLayout({properties:[s.text]}),p=a.singleVariantItem({properties:[s.text],variant:d}),l=a.singleItemBlock({id:"io.supernova.block.title5",name:"Heading 5",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/title-5.svg",category:o.DocsBlockCategory.text,description:"Nuanced details or sub-points",item:p,searchKeywords:["title","h5"],onboarding:a.onboarding({helpText:"Use for nuanced details or specific sub-points within sub-divisions.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/text/heading-MUKlJ7dY"})});t.Title5=l},5542:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnorderedList=void 0;const r=n(3737),o=n(8409),i=n(9763),a=new r.DocsBlockBuilder,s={text:a.multiRichTextProperty({id:"text",name:"Text",options:{multiRichTextStyle:i.DocsBlockMultiRichTextPropertyStyle.ul}})},d=a.defaultVariantUsingDefaultLayout({properties:[s.text]}),p=a.singleVariantItem({properties:[s.text],variant:d}),l=a.singleItemBlock({id:"io.supernova.block.unordered-list",name:"Bullet list",icon:"https://cdn-assets.supernova.io/blocks/icons/list-unordered.svg",category:o.DocsBlockCategory.text,description:"A list with bullet points",item:p,searchKeywords:["ul","bullet points"],onboarding:a.onboarding({helpText:"A list of items displayed with bullet points without a specific sequence.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/text/list-UC5iPZLK"})});t.UnorderedList=l},46:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockAssetPropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockAssetPropertyDefinition=o},2223:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockAssetPropertyPropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockAssetPropertyPropertyDefinition=o},2514:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockBooleanPropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockBooleanPropertyDefinition=o},8795:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockCodePropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockCodePropertyDefinition=o},9778:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockCodeSandboxPropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockCodeSandboxPropertyDefinition=o},9237:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockColorPropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockColorPropertyDefinition=o},7241:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockComponentPropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockComponentPropertyDefinition=o},2776:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockComponentPropertyPropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockComponentPropertyPropertyDefinition=o},6275:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockDividerPropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockDividerPropertyDefinition=o},5156:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockEmbedUrlPropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockEmbedUrlPropertyDefinition=o},9446:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockFigmaNodePropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockFigmaNodePropertyDefinition=o},8267:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockImagePropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockImagePropertyDefinition=o},4803:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockMarkdownPropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockMarkdownPropertyDefinition=o},1542:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockMultiRichTextPropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockMultiRichTextPropertyDefinition=o},9543:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockMultiSelectPropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockMultiSelectPropertyDefinition=o},195:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockNumberPropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockNumberPropertyDefinition=o},4810:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockPropertyDefinition=void 0;const r=n(1322);t.DocsBlockPropertyDefinition=class{constructor(e){var t,n,o;this.id=e.id,this.name=e.name,this.type=(0,r.castEnum)(e.type),this.description=null!==(t=e.description)&&void 0!==t?t:null,this.options=null!==(n=e.options)&&void 0!==n?n:null,this.variantOptions=null!==(o=e.variantOptions)&&void 0!==o?o:null}defaultData(){return{value:void 0}}}},5587:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockRichTextPropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockRichTextPropertyDefinition=o},4717:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockSingleSelectPropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockSingleSelectPropertyDefinition=o},1938:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockStorybookPropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockStorybookPropertyDefinition=o},4230:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockTablePropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockTablePropertyDefinition=o},7593:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockTextPropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockTextPropertyDefinition=o},4579:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockTokenPropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockTokenPropertyDefinition=o},1942:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockTokenPropertyPropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockTokenPropertyPropertyDefinition=o},4619:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockTokenTypePropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockTokenTypePropertyDefinition=o},8159:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockUrlPropertyDefinition=void 0;const r=n(4810);class o extends r.DocsBlockPropertyDefinition{}t.DocsBlockUrlPropertyDefinition=o},9932:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.docsImageRefToUrl=t.DocsImageRefType=void 0,function(e){e.resource="Resource",e.figmaNode="FigmaNode"}(n=t.DocsImageRefType||(t.DocsImageRefType={})),t.docsImageRefToUrl=function(e,t,r){var o;if(e)switch(e.type){case n.resource:return null===(o=e.resource)||void 0===o?void 0:o.url;case n.figmaNode:if(!e.figmaNode||!e.figmaNode.sourceId||!e.figmaNode.frameReferenceId)return;return t.resources.getFigmaFrameHostedUrl({designSystemId:r.dsId,versionId:r.versionId},e.figmaNode.frameReferenceId);default:return}}},5673:(e,t)=>{"use strict";var n;function r(e){switch(e.type){case n.documentationItem:return`@page:${e.documentationItemId}`;case n.pageHeading:return`@page:${e.documentationItemId}#${e.pageHeadingId}`;case n.url:return e.url;default:return}}Object.defineProperty(t,"__esModule",{value:!0}),t.linkAttributeToDocsLink=t.docsLinkToLinkAttributes=t.docsLinkToUrl=t.DocsLinkRefType=void 0,function(e){e.documentationItem="DocumentationItem",e.pageHeading="PageHeading",e.url="Url"}(n=t.DocsLinkRefType||(t.DocsLinkRefType={})),t.docsLinkToUrl=r,t.docsLinkToLinkAttributes=function(e){const t=r(e);if(t)return{href:t,target:e.openInNewTab?"_blank":"_self"}},t.linkAttributeToDocsLink=function(e,t){if(!e)return;const r="_blank"===t;if(e.startsWith("@page:")){if(e.includes("#")){const[t,o]=e.replace("@page:","").split("#");return{type:n.pageHeading,documentationItemId:t,pageHeadingId:o,openInNewTab:r}}return{type:n.documentationItem,documentationItemId:e.replace("@page:",""),openInNewTab:r}}return{type:n.url,url:e,openInNewTab:r}}},8781:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlock=void 0;const r=n(1322),o=n(1754);t.DocsBlock=class{constructor(e){var t,n,r,i,a,s;this.id=e.id,this.packageId=e.data.packageId,this.variantId=null!==(t=e.data.variantId)&&void 0!==t?t:null,this.indentLevel=e.data.indentLevel,this.appearance={numberOfColumns:null!==(r=null===(n=e.data.appearance)||void 0===n?void 0:n.numberOfColumns)&&void 0!==r?r:1,itemBackgroundColor:null!==(a=null===(i=e.data.appearance)||void 0===i?void 0:i.itemBackgroundColor)&&void 0!==a?a:null},this.data=(null!==(s=e.data.items)&&void 0!==s?s:[]).map((e=>new o.DocsBlockItem(e)))}allPropertyDataForSingleItem(){var e,t;return null!==(t=null===(e=this.data[0])||void 0===e?void 0:e.props)&&void 0!==t?t:null}allPropertyDataForItemAtIndex(e){var t,n;return null!==(n=null===(t=this.data[e])||void 0===t?void 0:t.props)&&void 0!==n?n:null}propertyDataForSingleItem(e){var t,n;return null!==(n=null===(t=this.data[0])||void 0===t?void 0:t.props[e])&&void 0!==n?n:null}propertyDataForItemAtIndex(e,t){var n,r;return null!==(r=null===(n=this.data[e])||void 0===n?void 0:n.props[t])&&void 0!==r?r:null}linkForSingleItem(){var e,t;return null!==(t=null===(e=this.data[0])||void 0===e?void 0:e.linksTo)&&void 0!==t?t:null}linkForItemAtIndex(e){var t,n;return null!==(n=null===(t=this.data[e])||void 0===t?void 0:t.linksTo)&&void 0!==n?n:null}updatePropertyDataForItemAtIndex(e,t,n){this.data[e]&&((0,r.sureOf)(this.data[e]).props[t]=n)}updatePropertyDataForSingleItem(e,t){this.data[0]&&(this.data[0].props[e]=t)}updateLinkForItemAtIndex(e,t){this.data[e]&&((0,r.sureOf)(this.data[e]).linksTo=t)}updateLinkForSingleItem(e){this.data[0]&&((0,r.sureOf)(this.data[0]).linksTo=e)}toRemote(){var e,t,n,r,o;const i={id:this.id,type:"Block",data:{packageId:this.packageId,indentLevel:this.indentLevel,items:null!==(e=this.data)&&void 0!==e?e:[],appearance:{numberOfColumns:null!==(n=null===(t=this.appearance)||void 0===t?void 0:t.numberOfColumns)&&void 0!==n?n:1,itemBackgroundColor:null!==(o=null===(r=this.appearance)||void 0===r?void 0:r.itemBackgroundColor)&&void 0!==o?o:void 0}}};return this.variantId&&(i.data.variantId=this.variantId),i}}},1754:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItem=void 0;const r=n(1322);t.DocsBlockItem=class{constructor(e){this.id=e.id,this.props=e.props,this.linksTo=e.linksTo?Object.assign(Object.assign({},e.linksTo),{type:(0,r.castEnum)(e.linksTo.type)}):void 0}toRemote(){const e={id:this.id,props:this.props};return this.linksTo&&(e.linksTo=this.linksTo),e}}},9496:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsEntity=void 0;const r=n(7156);t.DocsEntity=class{constructor(e){var t,n;this.id=e.id,this.persistentId=e.persistentId,this.type=e.type,this.configuration=new r.DocsEntityConfiguration(e.configuration,e.title),this.slug=e.slug,this.userSlug=null!==(t=e.userSlug)&&void 0!==t?t:null,this.title=e.title,this.relativeUrl=null!==(n=e.path)&&void 0!==n?n:null,this.createdAt=e.createdAt?new Date(e.createdAt):null,this.updatedAt=e.updatedAt?new Date(e.updatedAt):null}}},7156:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsEntityConfiguration=void 0;const r=n(5749);class o{constructor(e,t){this.header=new r.DocsEntityHeader(e.header),this.showSidebar=e.showSidebar,this.title=t}toRemote(){return{showSidebar:this.showSidebar,header:this.header.toRemote()}}static default(){return new o({showSidebar:!0,header:{description:"",alignment:"Left",backgroundImageScaleType:"AspectFill",showBackgroundOverlay:!1,showCoverText:!1,minHeight:null}},"")}}t.DocsEntityConfiguration=o},9737:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsEntityMultiplayerGroup=t.DocsEntityGroup=void 0;const r=n(1233),o=n(9496);class i extends o.DocsEntity{constructor(e){super(e),this.isRoot=e.isRoot,this.childrenIds=e.childrenIds,this.groupBehavior=e.groupBehavior,this.relativeFirstPageUrl=null,this.deployedFirstPageUrl=null,this.parentId=null,this.children=[]}internalOverridePaths(e,t){this.relativeFirstPageUrl=e,this.deployedFirstPageUrl=t}relativeDocsPageUrl(){return this.relativeFirstPageUrl}deployedDocsPageUrl(){return this.deployedFirstPageUrl}}t.DocsEntityGroup=i,t.DocsEntityMultiplayerGroup=class{get subgroups(){return this.children.filter((e=>e.type===r.DocsEntityType.group))}get pages(){return this.children.filter((e=>e.type===r.DocsEntityType.page))}constructor(e){this.id=e.id,this.persistentId=e.persistentId,this.type=r.DocsEntityType.group,this.title=e.title,this.groupBehavior=e.groupBehavior,this.childrenIds=e.childrenIds,this.isRoot=e.isRoot,this.parent=null,this.parentId=null,this.children=[]}}},5749:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsEntityHeader=void 0;const r=n(899),o=n(9932);t.DocsEntityHeader=class{constructor(e){var t,n,i,a;this.description=e.description,this.alignment=e.alignment,this.foregroundColor=null!==(t=e.foregroundColor)&&void 0!==t?t:null,this.backgroundColor=null!==(n=e.backgroundColor)&&void 0!==n?n:null,this.showBackgroundOverlay=e.showBackgroundOverlay,this.showCoverText=e.showCoverText,this.minHeight=null!==(i=e.minHeight)&&void 0!==i?i:null,this.backgroundImageScale=null!==(a=e.backgroundImageScaleType)&&void 0!==a?a:r.AssetScaleType.aspectFill,e.backgroundImageAsset?"Resource"===e.backgroundImageAsset.type&&e.backgroundImageAsset.resource?this.backgroundImage={type:o.DocsImageRefType.resource,resource:{resourceId:e.backgroundImageAsset.resource.resourceId,url:e.backgroundImageAsset.resource.url}}:"FigmaNode"===e.backgroundImageAsset.type&&e.backgroundImageAsset.figmaNode?this.backgroundImage={type:o.DocsImageRefType.figmaNode,figmaNode:{frameReferenceId:e.backgroundImageAsset.figmaNode.frameReferenceId,sourceId:e.backgroundImageAsset.figmaNode.sourceId}}:this.backgroundImage=null:this.backgroundImage=null}toRemote(){const e={description:this.description,alignment:this.alignment,showBackgroundOverlay:this.showBackgroundOverlay,showCoverText:this.showCoverText,minHeight:this.minHeight,foregroundColor:this.foregroundColor,backgroundColor:this.backgroundColor,backgroundImageAsset:null,backgroundImageScaleType:this.backgroundImageScale};return this.backgroundImage&&(this.backgroundImage.type===o.DocsImageRefType.resource&&this.backgroundImage.resource?e.backgroundImageAsset={type:"Resource",resource:{resourceId:this.backgroundImage.resource.resourceId,url:this.backgroundImage.resource.url}}:this.backgroundImage.type===o.DocsImageRefType.figmaNode&&this.backgroundImage.figmaNode&&(e.backgroundImageAsset={type:"FigmaNode",figmaNode:{frameReferenceId:this.backgroundImage.figmaNode.frameReferenceId,sourceId:this.backgroundImage.figmaNode.sourceId}})),e}}},3003:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsEntityMultiplayerPage=t.DocsEntityPage=void 0;const r=n(1233),o=n(9496);class i extends o.DocsEntity{constructor(e){super(e),this.deployedUrl=null,this.relativeUrl=null,this.editorUrl=null,this.childrenIds=e.childrenIds}internalOverridePaths(e,t,n){this.editorUrl=t,this.deployedUrl=e,this.relativeUrl=n}editorPageUrl(){return this.editorUrl}deployedPageUrl(){return this.deployedUrl}relativePageUrl(){return this.relativeUrl}}t.DocsEntityPage=i,t.DocsEntityMultiplayerPage=class{constructor(e){var t;this.id=e.id,this.persistentId=e.persistentId,this.type=r.DocsEntityType.page,this.title=e.title,this.relativeUrl=null!==(t=e.path)&&void 0!==t?t:null,this.createdAt=e.createdAt?new Date(e.createdAt):null,this.parentId=null,this.parent=null}}},7080:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyConfiguration=void 0,t.DocumentationLegacyConfiguration=class{constructor(e,t){var n,r;this.tabbedNavigation=e.tabbed,this.storybookError=null!==(n=e.storybookEmbedErrorMessage)&&void 0!==n?n:null,this.packageJson=null!==(r=e.renderCodePackageJson)&&void 0!==r?r:null,this.isPublic=e.isPublic,this.host=e.host,this.selectedBrandId=e.selectedBrandId,this.serveDefaultVersionOnly=e.serveDefaultVersionOnly,this.npmRegistry=null!=t?t:null}toConfigurationModelWriteObject(){return{tabbed:this.tabbedNavigation,storybookEmbedErrorMessage:this.storybookError,renderCodePackageJson:this.packageJson,isPublic:this.isPublic,serveDefaultVersionOnly:this.serveDefaultVersionOnly,selectedBrandId:this.selectedBrandId,host:this.host}}}},3909:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyGroup=void 0;const r=n(7379),o=n(5127);class i extends o.DocumentationLegacyItem{get subgroups(){return this.children.filter((e=>e.type===r.DocumentationLegacyItemType.group))}get pages(){return this.children.filter((e=>e.type===r.DocumentationLegacyItemType.page))}constructor(e){super(e),this.type=r.DocumentationLegacyItemType.group,this.isRoot=e.isRoot,this.childrenIds=e.childrenIds,this.children=new Array,this.groupBehavior=e.groupBehavior,this.relativeFirstPageUrl=null,this.deployedFirstPageUrl=null}addChild(e){this.children.push(e)}addChildren(e){this.children=this.children.concat(e)}setParent(e){this.parent=null!=e?e:null}internalOverridePaths(e,t){this.relativeFirstPageUrl=e,this.deployedFirstPageUrl=t}relativeDocsPageUrl(){return this.relativeFirstPageUrl}deployedDocsPageUrl(){return this.deployedFirstPageUrl}}t.DocumentationLegacyGroup=i},5127:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyItem=void 0;const r=n(8032);t.DocumentationLegacyItem=class{constructor(e){var t;this.id=e.id,this.persistentId=e.persistentId,this.type=e.type,this.configuration=new r.DocumentationLegacyItemConfiguration(e.configuration),this.slug=e.slug,this.userSlug=null!==(t=e.userSlug)&&void 0!==t?t:null,this.title=e.title,this.createdAt=e.createdAt?new Date(e.createdAt):null,this.updatedAt=e.updatedAt?new Date(e.updatedAt):null}}},3447:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPage=void 0;const r=n(7379),o=n(8532),i=n(5127);class a extends i.DocumentationLegacyItem{constructor(e,t,n){super(e),this.type=r.DocumentationLegacyItemType.page,e.blocks&&(this.blocks=e.blocks.map((e=>o.DocumentationLegacyBlockBuilder.fromGenericModel(e,t,n)))),this.deployedUrl=null,this.relativeUrl=e.path,this.editorUrl=null}internalOverridePaths(e,t){this.editorUrl=t,this.deployedUrl=e}setParent(e){this.parent=e}editorPageUrl(){return this.editorUrl}deployedPageUrl(){return this.deployedUrl}relativePageUrl(){return this.relativeUrl}}t.DocumentationLegacyPage=a},851:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageAsset=void 0;const r=n(430);t.DocumentationLegacyPageAsset=class{constructor(e){var t,n,o,i;this.id=e.id,this.persistentId=null!==(t=e.persistentId)&&void 0!==t?t:null,this.sourceId=null!==(n=e.sourceId)&&void 0!==n?n:null,this.sourceFrameId=null!==(o=e.sourceFrameId)&&void 0!==o?o:null,this.url=null!==(i=e.url)&&void 0!==i?i:null,this.type=e.type,this.frame=e.figmaFrame?new r.DocumentationLegacyPageBlockFrame(e.figmaFrame,null):null}}},690:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlock=void 0,t.DocumentationLegacyPageBlock=class{constructor(e,t){var n,r;this.id=e.persistentId,this.children=t,this.type=e.type,this.beginsTypeChain=!0,this.endsTypeChain=!0,this.theme=e.theme?e.theme:null,this.variantKey=null!==(n=e.variantKey)&&void 0!==n?n:null,this.blacklistedElementProperties=null!==(r=e.blacklistedElementProperties)&&void 0!==r?r:null,e.userMetadata?this.userMetadata=JSON.parse(e.userMetadata):this.userMetadata=null}}},9929:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyRichText=void 0;const r=n(4825);t.DocumentationLegacyRichText=class{constructor(e){this.spans=e.spans.map((e=>new r.RichTextSpan(e)))}asPlainText(){return this.spans.map((e=>e.text)).join("")}}},4825:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RichTextSpan=void 0;const r=n(9974);t.RichTextSpan=class{constructor(e){this.text=e.text,this.attributes=e.attributes.map((e=>new r.RichTextSpanAttribute(e)))}}},9974:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RichTextSpanAttribute=void 0,t.RichTextSpanAttribute=class{constructor(e){var t,n;this.type=e.type,this.link=null!==(t=e.link)&&void 0!==t?t:null,e.hasOwnProperty("openInNewWindow")?this.openInNewWindow=e.openInNewWindow:this.openInNewWindow=!1,this.documentationItemId=null!==(n=e.documentationItemId)&&void 0!==n?n:null}}},1963:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockAsset=void 0,t.DocumentationLegacyPageBlockAsset=class{constructor(e,t){var n,r,o,i;this.assetId=e.componentAssetId,this.title=(null===(n=e.title)||void 0===n?void 0:n.length)>0?e.title:null,this.description=(null===(r=e.description)||void 0===r?void 0:r.length)>0?e.description:null,this.backgroundColor=null!==(i=null!==(o=e.backgroundColor)&&void 0!==o?o:t)&&void 0!==i?i:null}}},8042:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockAssets=void 0;const r=n(1255),o=n(3718),i=n(690),a=n(1963);class s extends i.DocumentationLegacyPageBlock{constructor(e,t){var n,i,s,d,p,l;super(e,t);const c=null!==(i=null===(n=e.figmaFrameProperties)||void 0===n?void 0:n.color)&&void 0!==i?i:null;this.properties={backgroundColor:c,alignment:null!==(d=null===(s=e.figmaFrameProperties)||void 0===s?void 0:s.alignment)&&void 0!==d?d:r.FrameAlignment.center,layout:null!==(l=null===(p=e.figmaFrameProperties)||void 0===p?void 0:p.layout)&&void 0!==l?l:o.FrameLayout.c4},this.assets=e.componentAssets.map((e=>new a.DocumentationLegacyPageBlockAsset(e,c)))}}t.DocumentationLegacyPageBlockAssets=s},4023:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockCallout=void 0;const r=n(2668);class o extends r.DocumentationLegacyPageBlockText{constructor(e,t){super(e,t),this.calloutType=e.calloutType}}t.DocumentationLegacyPageBlockCallout=o},2402:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockCode=void 0;const r=n(2668);class o extends r.DocumentationLegacyPageBlockText{constructor(e,t){var n,r;super(e,t),this.codeLanguage=null!==(n=e.codeLanguage)&&void 0!==n?n:null,this.caption=null!==(r=e.caption)&&void 0!==r?r:null}}t.DocumentationLegacyPageBlockCode=o},557:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockColumn=void 0;const r=n(690);class o extends r.DocumentationLegacyPageBlock{}t.DocumentationLegacyPageBlockColumn=o},4941:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockColumnItem=void 0;const r=n(690);class o extends r.DocumentationLegacyPageBlock{constructor(e,t){super(e,t),this.width=e.width}}t.DocumentationLegacyPageBlockColumnItem=o},3220:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockCustom=void 0;const r=n(690);class o extends r.DocumentationLegacyPageBlock{constructor(e,t,n){var r,o,i,a,s,d;super(e,t),this.key=e.customBlockKey,this.block=null;for(const t of n)t.key===e.customBlockKey&&(this.block=t);if(!this.block)return void(this.properties={});const p={};for(const e of this.block.properties)p[e.key]=e.default;for(const t of e.customBlockProperties)p[t.key]=t.value,((null===(r=t.value)||void 0===r?void 0:r.asset)||null===(null===(o=t.value)||void 0===o?void 0:o.asset))&&(t.value.assetId=null!==(a=null===(i=t.value.asset)||void 0===i?void 0:i.id)&&void 0!==a?a:null,t.value.assetUrl=null!==(d=null===(s=t.value.asset)||void 0===s?void 0:s.url)&&void 0!==d?d:null);this.properties=p}}t.DocumentationLegacyPageBlockCustom=o},9322:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockDivider=void 0;const r=n(690);class o extends r.DocumentationLegacyPageBlock{}t.DocumentationLegacyPageBlockDivider=o},6948:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockEmbedFigma=void 0;const r=n(3973);class o extends r.DocumentationLegacyPageBlockEmbedGeneric{}t.DocumentationLegacyPageBlockEmbedFigma=o},3973:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockEmbedGeneric=void 0;const r=n(3989),o=n(690);class i extends o.DocumentationLegacyPageBlock{constructor(e,t){var n,o,i;super(e,t),this.url=null!==(n=e.url)&&void 0!==n?n:null,this.size=new r.Size(null!==(o=e.size)&&void 0!==o?o:null),this.caption=null!==(i=e.caption)&&void 0!==i?i:null}}t.DocumentationLegacyPageBlockEmbedGeneric=i},118:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockEmbedLink=void 0;const r=n(3973);class o extends r.DocumentationLegacyPageBlockEmbedGeneric{constructor(e,t){var n,r,o,i,a,s;super(e,t),this.title=null!==(r=null===(n=e.urlPreview)||void 0===n?void 0:n.title)&&void 0!==r?r:null,this.description=null!==(i=null===(o=e.urlPreview)||void 0===o?void 0:o.description)&&void 0!==i?i:null,this.thumbnailUrl=null!==(s=null===(a=e.urlPreview)||void 0===a?void 0:a.thumbnailUrl)&&void 0!==s?s:null}}t.DocumentationLegacyPageBlockEmbedLink=o},764:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockEmbedStorybook=void 0;const r=n(3973);class o extends r.DocumentationLegacyPageBlockEmbedGeneric{}t.DocumentationLegacyPageBlockEmbedStorybook=o},2601:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockEmbedYoutube=void 0;const r=n(3973);class o extends r.DocumentationLegacyPageBlockEmbedGeneric{}t.DocumentationLegacyPageBlockEmbedYoutube=o},430:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockFrame=void 0;const r=n(8281);t.DocumentationLegacyPageBlockFrame=class{constructor(e,t){var n,o,i,a,s;this.title=e.title.length>0?e.title:null!==(n=e.origin.title)&&void 0!==n?n:null,this.description=e.description.length>0?e.description:null,this.previewUrl=e.origin.previewUrl,this.backgroundColor=null!==(i=null!==(o=e.backgroundColor)&&void 0!==o?o:t)&&void 0!==i?i:null,this.persistentId=null!==(s=null!==(a=e.persistentId)&&void 0!==a?a:e.persistentId)&&void 0!==s?s:null,this.origin=e.origin?new r.FrameOrigin(e.origin,e.sourceId,e.sourceFrameId):null}}},189:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockFrames=void 0;const r=n(1255),o=n(3718),i=n(690),a=n(430);class s extends i.DocumentationLegacyPageBlock{constructor(e,t){var n,i,s,d,p,l;super(e,t);const c=null!==(i=null===(n=e.figmaFrameProperties)||void 0===n?void 0:n.color)&&void 0!==i?i:null;this.properties={backgroundColor:c,showTitles:e.figmaFrameProperties.showTitles,alignment:null!==(d=null===(s=e.figmaFrameProperties)||void 0===s?void 0:s.alignment)&&void 0!==d?d:r.FrameAlignment.center,layout:null!==(l=null===(p=e.figmaFrameProperties)||void 0===p?void 0:p.layout)&&void 0!==l?l:o.FrameLayout.c4},this.frames=e.figmaFrames.map((e=>new a.DocumentationLegacyPageBlockFrame(e,c)))}}t.DocumentationLegacyPageBlockFrames=s},377:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockHeading=void 0;const r=n(2668);class o extends r.DocumentationLegacyPageBlockText{constructor(e,t){super(e,t),this.headingType=e.headingType}}t.DocumentationLegacyPageBlockHeading=o},802:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockImage=void 0;const r=n(851),o=n(690);class i extends o.DocumentationLegacyPageBlock{constructor(e,t){var n,o,i,a,s;super(e,t),this.url=null!==(i=null!==(n=e.assetUrl)&&void 0!==n?n:null===(o=e.asset)||void 0===o?void 0:o.url)&&void 0!==i?i:null,this.asset=(null===(a=e.asset)||void 0===a?void 0:a.id)?new r.DocumentationLegacyPageAsset(e.asset):null,this.caption=null!==(s=e.caption)&&void 0!==s?s:null,this.alignment=e.alignment}}t.DocumentationLegacyPageBlockImage=i},1358:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageOrderedList=void 0;const r=n(2668);class o extends r.DocumentationLegacyPageBlockText{}t.DocumentationLegacyPageOrderedList=o},9075:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockQuote=void 0;const r=n(2668);class o extends r.DocumentationLegacyPageBlockText{}t.DocumentationLegacyPageBlockQuote=o},2446:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockRenderCode=void 0;const r=n(7476),o=n(690),i=n(1638);var a,s;!function(e){e.start="start",e.center="center",e.end="end"}(a||(a={})),function(e){e.react="react"}(s||(s={}));class d extends o.DocumentationLegacyPageBlock{constructor(e,t,n){var r,o,i,a;super(e,t),this.alignment=e.alignment,this.backgroundColor=null!==(o=null===(r=e.backgroundColor)||void 0===r?void 0:r.value)&&void 0!==o?o:null,this.showCode=e.renderCodeProperties.showCode,this.height=null!==(a=null===(i=e.size)||void 0===i?void 0:i.height)&&void 0!==a?a:null,this.code=e.text.spans.map((e=>e.text)).join(""),this.packageJSON=n.packageJson,this.sandboxData=this.encodeSandboxData(n),this.sandboxType=s.react}encodeSandboxData(e){var t,n;let o;o=this.alignment===r.Alignment.center?a.center:a.start;const i={type:s.react,code:this.code,packageJSON:e.packageJson,visual:{forcedHeight:this.height,horizontalAlignment:o,verticalAlignment:a.center,backgroundHex:null!==(t=this.backgroundColor)&&void 0!==t?t:null},registry:null!==(n=e.npmRegistry)&&void 0!==n?n:null};return this.btoaUnicode(JSON.stringify(i))}btoaUnicode(e){return(0,i.btoa)(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))}atobUnicode(e){return decodeURIComponent(Array.prototype.map.call(atob(e),(function(e){return`%${`00${e.charCodeAt(0).toString(16)}`.slice(-2)}`})).join(""))}}t.DocumentationLegacyPageBlockRenderCode=d},2657:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockShortcut=t.DocumentationLegacyPageBlockShortcutType=void 0,function(e){e.external="External",e.internal="Internal"}(n=t.DocumentationLegacyPageBlockShortcutType||(t.DocumentationLegacyPageBlockShortcutType={})),t.DocumentationLegacyPageBlockShortcut=class{constructor(e){var t;e.url?this.type=n.external:this.type=n.internal,this.title=this.shortcutTitleFromModel(e,this.type),this.description=this.shortcutDescriptionFromModel(e,this.type),this.previewUrl=this.shortcutPreviewUrlFromModel(e),this.type===n.internal&&(null===(t=e.documentationItemPreview)||void 0===t?void 0:t.valid)&&e.documentationItemId?this.internalId=e.documentationItemId:(this.internalId=null,this.type===n.external&&e.url?this.externalUrl=e.url:this.externalUrl=null)}shortcutTitleFromModel(e,t){var r,o,i,a,s;let d=null;return e.title&&e.title.trim().length>0?d=e.title:t===n.internal?d=null!==(o=null===(r=e.documentationItemPreview)||void 0===r?void 0:r.title)&&void 0!==o?o:null:t===n.external&&(d=null!==(s=null!==(a=null===(i=e.urlPreview)||void 0===i?void 0:i.title)&&void 0!==a?a:e.url)&&void 0!==s?s:null),d&&0!==d.trim().length?d:null}shortcutDescriptionFromModel(e,t){var r;let o=null;return e.description&&e.description.trim().length>0?o=e.description:t===n.external&&(o=null===(r=e.urlPreview)||void 0===r?void 0:r.description),o&&0!==o.trim().length?o:null}shortcutPreviewUrlFromModel(e){var t,n,r,o,i;return null!==(i=null!==(r=null!==(t=e.assetUrl)&&void 0!==t?t:null===(n=e.asset)||void 0===n?void 0:n.url)&&void 0!==r?r:null===(o=e.urlPreview)||void 0===o?void 0:o.thumbnailUrl)&&void 0!==i?i:null}}},32:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockShortcuts=void 0;const r=n(690),o=n(2657);class i extends r.DocumentationLegacyPageBlock{constructor(e,t){super(e,t),this.shortcuts=e.shortcuts.map((e=>new o.DocumentationLegacyPageBlockShortcut(e)))}}t.DocumentationLegacyPageBlockShortcuts=i},6796:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockTab=void 0;const r=n(690);class o extends r.DocumentationLegacyPageBlock{}t.DocumentationLegacyPageBlockTab=o},7599:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockTabItem=void 0;const r=n(690);class o extends r.DocumentationLegacyPageBlock{constructor(e,t){super(e,t),this.caption=e.caption}}t.DocumentationLegacyPageBlockTabItem=o},7555:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockTable=void 0;const r=n(690),o=n(8009);class i extends r.DocumentationLegacyPageBlock{constructor(e,t){super(e,t),this.tableProperties={showBorders:e.tableProperties.showBorders,showHeaderRow:e.tableProperties.showHeaderRow,showHeaderColumn:e.tableProperties.showHeaderColumn,columns:e.tableProperties.columns.map((e=>new o.DocumentationLegacyPageBlockTableColumn(e)))};const n=new Map;let r=0;for(const e of this.tableProperties.columns)n.set(e.id,r),r+=1;for(const e of this.children){const t=e;t.children=t.children.sort(((e,t)=>n.get(e.columnId)-n.get(t.columnId)))}}}t.DocumentationLegacyPageBlockTable=i},1443:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockTableCell=void 0;const r=n(690);class o extends r.DocumentationLegacyPageBlock{constructor(e,t){super(e,t),this.columnId=e.columnId,this.alignment=e.alignment}}t.DocumentationLegacyPageBlockTableCell=o},8009:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockTableColumn=void 0,t.DocumentationLegacyPageBlockTableColumn=class{constructor(e){this.id=e.id,this.width=e.width}}},9535:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockTableRow=void 0;const r=n(690);class o extends r.DocumentationLegacyPageBlock{}t.DocumentationLegacyPageBlockTableRow=o},2668:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockText=void 0;const r=n(690),o=n(9929);class i extends r.DocumentationLegacyPageBlock{constructor(e,t){super(e,t),this.text=new o.DocumentationLegacyRichText(e.text)}asPlainText(){return this.text.asPlainText()}}t.DocumentationLegacyPageBlockText=i},4650:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockToken=void 0;const r=n(690);class o extends r.DocumentationLegacyPageBlock{constructor(e,t){super(e,t),this.tokenId=e.designObjectId}}t.DocumentationLegacyPageBlockToken=o},1747:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockTokenGroup=void 0;const r=n(690);class o extends r.DocumentationLegacyPageBlock{constructor(e,t){super(e,t),this.groupId=e.designObjectId,this.showNestedGroups=e.showNestedGroups}}t.DocumentationLegacyPageBlockTokenGroup=o},5938:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockTokenList=void 0;const r=n(690);class o extends r.DocumentationLegacyPageBlock{constructor(e,t){super(e,t),this.tokenIds=e.designObjectIds}}t.DocumentationLegacyPageBlockTokenList=o},5051:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageUnorderedList=void 0;const r=n(2668);class o extends r.DocumentationLegacyPageBlockText{}t.DocumentationLegacyPageUnorderedList=o},8532:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyBlockBuilder=void 0;const r=n(1846),o=n(8042),i=n(4023),a=n(2402),s=n(557),d=n(4941),p=n(3220),l=n(9322),c=n(6948),u=n(3973),m=n(118),h=n(764),g=n(2601),f=n(189),y=n(377),v=n(802),k=n(1358),T=n(9075),b=n(2446),w=n(32),S=n(6796),I=n(7599),D=n(7555),_=n(1443),P=n(9535),x=n(2668),C=n(4650),O=n(1747),B=n(5938),E=n(5051);class R{static fromGenericModel(e,t,n){var A;const N=null===(A=e.children)||void 0===A?void 0:A.map((e=>R.fromGenericModel(e,t,n))).filter((e=>void 0!==e));switch(e.type){case r.DocumentationLegacyPageBlockType.text:return new x.DocumentationLegacyPageBlockText(e,N);case r.DocumentationLegacyPageBlockType.heading:return new y.DocumentationLegacyPageBlockHeading(e,N);case r.DocumentationLegacyPageBlockType.code:return new a.DocumentationLegacyPageBlockCode(e,N);case r.DocumentationLegacyPageBlockType.unorderedList:return new E.DocumentationLegacyPageUnorderedList(e,N);case r.DocumentationLegacyPageBlockType.orderedList:return new k.DocumentationLegacyPageOrderedList(e,N);case r.DocumentationLegacyPageBlockType.quote:return new T.DocumentationLegacyPageBlockQuote(e,N);case r.DocumentationLegacyPageBlockType.callout:return new i.DocumentationLegacyPageBlockCallout(e,N);case r.DocumentationLegacyPageBlockType.divider:return new l.DocumentationLegacyPageBlockDivider(e,N);case r.DocumentationLegacyPageBlockType.image:return new v.DocumentationLegacyPageBlockImage(e,N);case r.DocumentationLegacyPageBlockType.link:return new m.DocumentationLegacyPageBlockEmbedLink(e,N);case r.DocumentationLegacyPageBlockType.token:return new C.DocumentationLegacyPageBlockToken(e,N);case r.DocumentationLegacyPageBlockType.tokenGroup:return new O.DocumentationLegacyPageBlockTokenGroup(e,N);case r.DocumentationLegacyPageBlockType.tokenList:return new B.DocumentationLegacyPageBlockTokenList(e,N);case r.DocumentationLegacyPageBlockType.shortcuts:return new w.DocumentationLegacyPageBlockShortcuts(e,N);case r.DocumentationLegacyPageBlockType.figmaEmbed:return new c.DocumentationLegacyPageBlockEmbedFigma(e,N);case r.DocumentationLegacyPageBlockType.youtubeEmbed:return new g.DocumentationLegacyPageBlockEmbedYoutube(e,N);case r.DocumentationLegacyPageBlockType.storybookEmbed:return new h.DocumentationLegacyPageBlockEmbedStorybook(e,N);case r.DocumentationLegacyPageBlockType.genericEmbed:return new u.DocumentationLegacyPageBlockEmbedGeneric(e,N);case r.DocumentationLegacyPageBlockType.figmaFrames:return new f.DocumentationLegacyPageBlockFrames(e,N);case r.DocumentationLegacyPageBlockType.componentAssets:return new o.DocumentationLegacyPageBlockAssets(e,N);case r.DocumentationLegacyPageBlockType.custom:return new p.DocumentationLegacyPageBlockCustom(e,N,t);case r.DocumentationLegacyPageBlockType.renderCode:return new b.DocumentationLegacyPageBlockRenderCode(e,N,n);case r.DocumentationLegacyPageBlockType.column:return new s.DocumentationLegacyPageBlockColumn(e,N);case r.DocumentationLegacyPageBlockType.columnItem:return new d.DocumentationLegacyPageBlockColumnItem(e,N);case r.DocumentationLegacyPageBlockType.tabs:return new S.DocumentationLegacyPageBlockTab(e,N);case r.DocumentationLegacyPageBlockType.tabItem:return new I.DocumentationLegacyPageBlockTabItem(e,N);case r.DocumentationLegacyPageBlockType.table:return new D.DocumentationLegacyPageBlockTable(e,N);case r.DocumentationLegacyPageBlockType.tableCell:return new _.DocumentationLegacyPageBlockTableCell(e,N);case r.DocumentationLegacyPageBlockType.tableRow:return new P.DocumentationLegacyPageBlockTableRow(e,N);default:throw new Error(`Unsupported native documentation block type ${e.type}, please add core definition of the block`)}}}t.DocumentationLegacyBlockBuilder=R},8032:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyItemConfiguration=void 0;const r=n(8561);t.DocumentationLegacyItemConfiguration=class{constructor(e){this.header=new r.DocumentationLegacyItemHeader(e.header),this.showSidebar=e.showSidebar}toWriteModel(){return{header:this.header.toWriteModel(),showSidebar:this.showSidebar}}}},8561:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyItemHeader=void 0;const r=n(3804);t.DocumentationLegacyItemHeader=class{constructor(e){var t,n,r,o,i,a,s,d,p,l,c,u,m,h,g,f,y,v,k,T;this.backgroundImageAssetUrl=null!==(r=null!==(t=e.backgroundImageAssetUrl)&&void 0!==t?t:null===(n=e.backgroundImageAsset)||void 0===n?void 0:n.url)&&void 0!==r?r:null,this.backgroundImageAssetId=null!==(a=null!==(o=e.backgroundImageAssetId)&&void 0!==o?o:null===(i=e.backgroundImageAsset)||void 0===i?void 0:i.id)&&void 0!==a?a:null,this.backgroundImageAssetType=null!==(d=null===(s=e.backgroundImageAsset)||void 0===s?void 0:s.type)&&void 0!==d?d:null,this.backgroundImageAssetType&&(null===(p=e.backgroundImageAsset)||void 0===p?void 0:p.figmaFrame)&&(this.backgroundImageSourceId=null!==(u=null===(c=null===(l=e.backgroundImageAsset)||void 0===l?void 0:l.figmaFrame)||void 0===c?void 0:c.sourceId)&&void 0!==u?u:null,this.backgroundImagePersistentId=null!==(g=null===(h=null===(m=e.backgroundImageAsset)||void 0===m?void 0:m.figmaFrame)||void 0===h?void 0:h.persistentId)&&void 0!==g?g:null,this.backgroundImageSourceFrameId=null!==(v=null===(y=null===(f=e.backgroundImageAsset)||void 0===f?void 0:f.figmaFrame)||void 0===y?void 0:y.sourceFrameId)&&void 0!==v?v:null),this.backgroundImageScaleType=e.backgroundImageScaleType,this.description=e.description,this.alignment=e.alignment,this.foregroundColor=null!==(k=e.foregroundColor)&&void 0!==k?k:null,this.backgroundColor=null!==(T=e.backgroundColor)&&void 0!==T?T:null,this.showBackgroundOverlay=e.showBackgroundOverlay,this.showCoverText=e.showCoverText,this.minHeight=e.minHeight}toWriteModel(){let e={description:this.description,alignment:this.alignment,foregroundColor:this.foregroundColor,backgroundColor:this.backgroundColor,backgroundImageAsset:this.backgroundImageAssetId?{id:this.backgroundImageAssetId,url:this.backgroundImageAssetUrl,type:this.backgroundImageAssetType}:void 0,backgroundImageScaleType:this.backgroundImageScaleType,showBackgroundOverlay:this.showBackgroundOverlay,showCoverText:this.showCoverText,minHeight:this.minHeight};return this.backgroundImageAssetType===r.DocumentationLegacyPageAssetType.figmaFrame&&e.backgroundImageAsset&&(e=Object.assign(Object.assign({},e),{backgroundImageAsset:Object.assign(Object.assign({},e.backgroundImageAsset),{figmaFrame:{id:this.backgroundImageAssetId,sourceId:this.backgroundImageSourceId,persistentId:this.backgroundImagePersistentId,sourceFrameId:this.backgroundImageSourceFrameId}})})),e}}},3655:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElementDataView=void 0;const r=n(5765);t.ElementDataView=class{constructor(e){var t;this.id=e.id,this.persistentId=e.persistentId,this.name=e.meta.name,this.description=null!==(t=e.meta.description)&&void 0!==t?t:null,this.targetElementType=e.targetElementType,this.isDefault=e.isDefault,this.columns=e.columns.map((e=>new r.ElementDataViewColumn(e)))}}},5765:(e,t)=>{"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.ElementDataViewColumn=t.ElementDataViewColumnBasePropertyType=t.ElementDataViewColumnType=void 0,(r=t.ElementDataViewColumnType||(t.ElementDataViewColumnType={})).baseProperty="BaseProperty",r.propertyDefinition="PropertyDefinition",r.theme="Theme",(n=t.ElementDataViewColumnBasePropertyType||(t.ElementDataViewColumnBasePropertyType={})).name="Name",n.description="Description",n.value="Value",n.updatedAt="UpdatedAt",t.ElementDataViewColumn=class{constructor(e){var t,n,r;this.id=e.id,this.persistentId=e.persistentId,this.type=e.type,this.basePropertyType=null!==(t=e.basePropertyType)&&void 0!==t?t:null,this.propertyDefinitionId=null!==(n=e.propertyDefinitionId)&&void 0!==n?n:null,this.themeId=null!==(r=e.themeId)&&void 0!==r?r:null,this.width=e.width}}},7187:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElementProperty=t.ElementPropertyLinkElementType=t.ElementPropertyTargetElementType=t.ElementPropertyType=void 0;const r=n(7446);var o,i,a;(a=t.ElementPropertyType||(t.ElementPropertyType={})).text="Text",a.number="Number",a.boolean="Boolean",a.select="Select",a.generic="Generic",a.link="Link",a.url="URL",(i=t.ElementPropertyTargetElementType||(t.ElementPropertyTargetElementType={})).token="Token",i.component="Component",i.documentationPage="DocumentationPage",(o=t.ElementPropertyLinkElementType||(t.ElementPropertyLinkElementType={})).documentationItem="DocumentationPage",o.figmaComponent="FigmaComponent",t.ElementProperty=class{constructor(e){var t,n;this.idInVersion=e.id,this.id=e.persistentId,this.designSystemVersionId=e.designSystemVersionId,this.name=e.meta.name,this.codeName=e.codeName,this.description=null!==(t=e.meta.description)&&void 0!==t?t:null,this.propertyType=e.type,this.targetElementType=e.targetElementType,this.linkElementType=null!==(n=e.linkElementType)&&void 0!==n?n:null,this.options=e.options?e.options.map((e=>new r.ElementPropertyOption(e))):[]}toUpdateObject(){var e,t;return{name:this.name,description:null!==(e=this.description)&&void 0!==e?e:"",codeName:this.codeName,options:(null!==(t=this.options)&&void 0!==t?t:[]).map((e=>e.toUpdateObject()))}}}},7446:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElementPropertyOption=void 0;const r=n(2155),o=n(6739),i={blue:"#EDF5FF",cyan:"#D5FBFE",fuchsia:"#FCF0FF",green:"#EBFEF6",grey:"#EDEFF3","light-grey":"#F6F7F9",orange:"#FFF2E1",pink:"#FDF0F7",purple:"#F5F2FD",red:"#FEF1F2",teal:"#DFFDF6",yellow:"#FEF9C3",custom:null};class a{constructor(e){var t;this.id=e.id,this.name=e.name;const n=null===(t=e.backgroundColor)||void 0===t?void 0:t.value;this.backgroundColor=n?a.toHex8(n):null}static toHex6(e){const t=(0,o.parseToRgba)(e);return(0,o.toHex)(`rgba(${t[0]}, ${t[1]}, ${t[2]}, 1)`).toUpperCase()}static toHex8(e){const t=(0,o.parseToRgba)(e);return(0,o.toHex)(`rgba(${t[0]}, ${t[1]}, ${t[2]}, ${t[3]})`).toUpperCase()}toUpdateObject(){var e;return{id:this.id,name:this.name,backgroundColor:{value:null!==(e=r.ColorToken.colorStringToNormalizedServerValue(this.backgroundColor,!1))&&void 0!==e?e:r.ColorToken.normalizedDefaultServerValue()}}}asBadgeColor(){var e;return this.backgroundColor&&null!==(e=Object.keys(i).find((e=>i[e]===this.backgroundColor)))&&void 0!==e?e:"custom"}setBackgroundColor(e){const t=i[e];this.backgroundColor=t||a.toHex8(e)}}t.ElementPropertyOption=a},4873:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElementPropertyValue=void 0,t.ElementPropertyValue=class{constructor(e){this.id=e.id,this.designSystemVersionId=e.designSystemVersionId,e.hasOwnProperty("value")?this.value=e.value:this.value=null,this.definitionId=e.definitionId,this.targetElementId=e.targetElementId}}},7476:(e,t)=>{"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.TextAlignment=t.Alignment=void 0,(r=t.Alignment||(t.Alignment={})).left="Left",r.center="Center",r.stretch="Stretch",(n=t.TextAlignment||(t.TextAlignment={})).left="Left",n.center="Center",n.right="Right"},8738:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.AssetFormat=void 0,(n=t.AssetFormat||(t.AssetFormat={})).png="png",n.pdf="pdf",n.svg="svg"},915:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.AssetScale=void 0,(n=t.AssetScale||(t.AssetScale={})).x1="x1",n.x2="x2",n.x3="x3",n.x4="x4"},899:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.AssetScaleType=void 0,(n=t.AssetScaleType||(t.AssetScaleType={})).aspectFill="AspectFill",n.aspectFit="AspectFit"},6192:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.BlurType=void 0,(n=t.BlurType||(t.BlurType={})).layer="Layer",n.background="Background"},1160:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ALL_BORDER_POSITIONS=t.BorderPosition=void 0,function(e){e.inside="Inside",e.center="Center",e.outside="Outside"}(n=t.BorderPosition||(t.BorderPosition={})),t.ALL_BORDER_POSITIONS=[n.inside,n.center,n.outside]},4546:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ALL_BORDER_STYLES=t.BorderStyle=void 0,function(e){e.dashed="Dashed",e.dotted="Dotted",e.solid="Solid",e.groove="Groove"}(n=t.BorderStyle||(t.BorderStyle={})),t.ALL_BORDER_STYLES=[n.dashed,n.dotted,n.solid,n.groove]},5661:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ImportWarningType=void 0,(n=t.ImportWarningType||(t.ImportWarningType={})).UnsupportedFill="UnsupportedFill",n.UnsupportedStroke="UnsupportedStroke",n.UnsupportedEffect="UnsupportedEffect",n.StyleNotApplied="StyleNotApplied",n.NoPublishedStyles="NoPublishedStyles",n.NoPublishedComponents="NoPublishedComponents",n.NoPublishedAssets="NoPublishedAssets",n.NoVersionFound="NoVersionFound",n.ComponentHasNoThumbnail="ComponentHasNoThumbnail",n.DuplicateImportedStyleId="DuplicateImportedStyleId",n.DuplicateImportedStylePath="DuplicateImportedStylePath",n.NoPublishedElements="NoPublishedElements"},7747:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionProviders=void 0,(n=t.ConnectionProviders||(t.ConnectionProviders={})).github="github",n.gitlab="gitlab",n.bitbucket="bitbucket",n.azure="azure"},5695:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CustomDomainErrorCode=void 0,(n=t.CustomDomainErrorCode||(t.CustomDomainErrorCode={})).generalError="GeneralError",n.dnsNotConfigured="DNSNotConfigured",n.maintenance="Maintenance"},7737:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CustomDomainState=void 0,(n=t.CustomDomainState||(t.CustomDomainState={})).initial="Initial",n.domainSetupInProgress="DomainSetupInProgress",n.domainSetupFailed="DomainSetupFailed",n.domainSetupsSucces="DomainSetupSuccess",n.sslSetupInProgress="SSLSetupInProgress",n.sslSetupFailed="SSLSetupFailed",n.sslSetupSuccess="SSLSetupSuccess"},605:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockMode=void 0,(n=t.DocsBlockMode||(t.DocsBlockMode={}))[n.singleItem=0]="singleItem",n[n.multipleItems=1]="multipleItems",n[n.data=2]="data"},5651:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockBehaviorDataType=void 0,(n=t.DocsBlockBehaviorDataType||(t.DocsBlockBehaviorDataType={})).item="Item",n.token="Token",n.asset="Asset",n.component="Component",n.figmaNode="FigmaNode"},3733:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockBehaviorSelectionType=void 0,(n=t.DocsBlockBehaviorSelectionType||(t.DocsBlockBehaviorSelectionType={})).entity="Entity",n.group="Group",n.entityAndGroup="EntityAndGroup"},8409:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockCategory=void 0,(n=t.DocsBlockCategory||(t.DocsBlockCategory={})).text="Text",n.layout="Layout",n.media="Media",n.embed="Embed",n.figma="Figma",n.code="Code",n.guidelines="Guidelines",n.token="Tokens",n.component="Components",n.asset="Assets",n.data="Data",n.other="Other"},3367:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockContainerSize=void 0,(n=t.DocsBlockContainerSize||(t.DocsBlockContainerSize={})).centered="Centered",n.naturalHeight="NaturalHeight"},8890:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockImagePropertyAspectRatio=void 0,(n=t.DocsBlockImagePropertyAspectRatio||(t.DocsBlockImagePropertyAspectRatio={})).auto="Auto",n.square="Square",n.landscape="Landscape",n.portrait="Portrait",n.wide="Wide"},3917:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockImagePropertyWidth=void 0,(n=t.DocsBlockImagePropertyWidth||(t.DocsBlockImagePropertyWidth={})).full="Full",n.icon="Icon",n.small="Small",n.medium="Medium",n.large="Large",n.poster="Poster"},9377:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemEntityType=void 0,(n=t.DocsBlockItemEntityType||(t.DocsBlockItemEntityType={})).token="Token",n.tokenGroup="TokenGroup",n.asset="Asset",n.assetGroup="AssetGroup",n.component="Component",n.componentGroup="ComponentGroup"},8264:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemPropertyOptionRenderingStyle=void 0,(n=t.DocsBlockItemPropertyOptionRenderingStyle||(t.DocsBlockItemPropertyOptionRenderingStyle={})).segmentedControl="SegmentedControl",n.toggleButton="ToggleButton",n.select="Select",n.checkbox="Checkbox"},8061:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemPropertyRichTextStyle=void 0,(n=t.DocsBlockItemPropertyRichTextStyle||(t.DocsBlockItemPropertyRichTextStyle={})).title1="Title1",n.title2="Title2",n.title3="Title3",n.title4="Title4",n.title5="Title5",n.quote="Quote",n.callout="Callout",n.ol="OL",n.ul="UL"},7479:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemPropertyTextStyle=void 0,(n=t.DocsBlockItemPropertyTextStyle||(t.DocsBlockItemPropertyTextStyle={})).small="Small",n.regular="Regular",n.bold="Bold"},6839:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemPropertyType=void 0,(n=t.DocsBlockItemPropertyType||(t.DocsBlockItemPropertyType={})).richText="RichText",n.multiRichText="MultiRichText",n.text="Text",n.boolean="Boolean",n.number="Number",n.singleSelect="SingleSelect",n.multiSelect="MultiSelect",n.image="Image",n.token="Token",n.tokenType="TokenType",n.tokenProperty="TokenProperty",n.component="Component",n.componentProperty="ComponentProperty",n.asset="Asset",n.assetProperty="AssetProperty",n.embedURL="EmbedURL",n.url="URL",n.markdown="Markdown",n.code="Code",n.codeSandbox="CodeSandbox",n.table="Table",n.divider="Divider",n.storybook="Storybook",n.color="Color",n.figmaNode="FigmaNode"},8110:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemVariantLayoutAlign=void 0,(n=t.DocsBlockItemVariantLayoutAlign||(t.DocsBlockItemVariantLayoutAlign={})).start="Start",n.center="Center",n.end="End"},3230:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemVariantLayoutColumnResizing=void 0,(n=t.DocsBlockItemVariantLayoutColumnResizing||(t.DocsBlockItemVariantLayoutColumnResizing={})).fill="Fill",n.hug="Hug"},3099:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemVariantLayoutGap=void 0,(n=t.DocsBlockItemVariantLayoutGap||(t.DocsBlockItemVariantLayoutGap={})).small="Small",n.medium="Medium",n.large="Large",n.none="None"},8095:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemVariantLayoutType=void 0,(n=t.DocsBlockItemVariantLayoutType||(t.DocsBlockItemVariantLayoutType={})).column="Column",n.row="Row"},7291:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemVariantLayoutWidth=void 0,(n=t.DocsBlockItemVariantLayoutWidth||(t.DocsBlockItemVariantLayoutWidth={})).c1="1",n.c2="2",n.c3="3",n.c4="4",n.c5="5",n.c6="6",n.c7="7",n.c8="8",n.c9="9",n.c10="10",n.c11="11",n.c12="12"},9763:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockMultiRichTextPropertyStyle=void 0,(n=t.DocsBlockMultiRichTextPropertyStyle||(t.DocsBlockMultiRichTextPropertyStyle={})).ol="OL",n.ul="UL",n.default="Default"},5963:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockOptionRenderingStyle=void 0,(n=t.DocsBlockOptionRenderingStyle||(t.DocsBlockOptionRenderingStyle={})).segmentedControl="SegmentedControl",n.toggleButton="ToggleButton",n.select="Select",n.checkbox="Checkbox"},6644:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockRichTextPropertyStyle=void 0,(n=t.DocsBlockRichTextPropertyStyle||(t.DocsBlockRichTextPropertyStyle={})).title1="Title1",n.title2="Title2",n.title3="Title3",n.title4="Title4",n.title5="Title5",n.quote="Quote",n.callout="Callout",n.default="Default"},2544:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockTextPropertyColor=void 0,(n=t.DocsBlockTextPropertyColor||(t.DocsBlockTextPropertyColor={})).neutral="Neutral",n.neutralFaded="NeutralFaded"},306:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockTextPropertyStyle=void 0,(n=t.DocsBlockTextPropertyStyle||(t.DocsBlockTextPropertyStyle={})).title1="Title1",n.title2="Title2",n.title3="Title3",n.title4="Title4",n.title5="Title5",n.default="Default",n.defaultBold="DefaultBold",n.defaultSemibold="DefaultSemibold",n.small="Small",n.smallBold="SmallBold",n.smallSemibold="SmallSemibold",n.custom="Custom"},4068:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsEntityGroupBehavior=void 0,(n=t.DocsEntityGroupBehavior||(t.DocsEntityGroupBehavior={})).group="Group",n.tabs="Tabs"},1233:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsEntityType=void 0,(n=t.DocsEntityType||(t.DocsEntityType={})).group="Group",n.page="Page"},1241:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsPublishStatus=void 0,(n=t.DocsPublishStatus||(t.DocsPublishStatus={}))[n.idle=0]="idle",n[n.inProgress=1]="inProgress"},7971:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsSectionType=void 0,(n=t.DocsSectionType||(t.DocsSectionType={})).plain="Plain",n.tabs="Tabs"},702:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationEnvironment=void 0,(n=t.DocumentationEnvironment||(t.DocumentationEnvironment={})).live="Live",n.preview="Preview"},5102:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyCalloutType=void 0,(n=t.DocumentationLegacyCalloutType||(t.DocumentationLegacyCalloutType={})).info="Info",n.success="Success",n.warning="Warning",n.error="Error"},2123:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyGroupBehavior=void 0,(n=t.DocumentationLegacyGroupBehavior||(t.DocumentationLegacyGroupBehavior={})).group="Group",n.tabs="Tabs"},9896:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyHeadingType=void 0,(n=t.DocumentationLegacyHeadingType||(t.DocumentationLegacyHeadingType={}))[n.h1=1]="h1",n[n.h2=2]="h2",n[n.h3=3]="h3"},7379:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyItemType=void 0,(n=t.DocumentationLegacyItemType||(t.DocumentationLegacyItemType={})).group="Group",n.page="Page"},3804:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageAssetType=void 0,(n=t.DocumentationLegacyPageAssetType||(t.DocumentationLegacyPageAssetType={})).image="image",n.figmaFrame="figmaFrame"},1601:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockThemeType=void 0,(n=t.DocumentationLegacyPageBlockThemeType||(t.DocumentationLegacyPageBlockThemeType={})).override="Override",n.comparison="Comparison"},1846:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockType=void 0,(n=t.DocumentationLegacyPageBlockType||(t.DocumentationLegacyPageBlockType={})).text="Text",n.heading="Heading",n.code="Code",n.unorderedList="UnorderedList",n.orderedList="OrderedList",n.quote="Quote",n.callout="Callout",n.divider="Divider",n.image="Image",n.token="Token",n.tokenList="TokenList",n.tokenGroup="TokenGroup",n.shortcuts="Shortcuts",n.link="Link",n.figmaEmbed="FigmaEmbed",n.youtubeEmbed="YoutubeEmbed",n.storybookEmbed="StorybookEmbed",n.genericEmbed="Embed",n.figmaFrames="FigmaFrames",n.custom="Custom",n.renderCode="RenderCode",n.componentAssets="ComponentAssets",n.column="Column",n.columnItem="ColumnItem",n.tabs="Tabs",n.tabItem="TabItem",n.table="Table",n.tableCell="TableCell",n.tableRow="TableRow"},1255:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.FrameAlignment=void 0,(n=t.FrameAlignment||(t.FrameAlignment={})).frameHeight="FrameHeight",n.center="Center"},3718:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.FrameLayout=void 0,(n=t.FrameLayout||(t.FrameLayout={})).c8="C8",n.c7="C7",n.c6="C6",n.c5="C5",n.c4="C4",n.c3="C3",n.c2="C2",n.c1="C1",n.c175="C1_75"},1:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.GradientType=void 0,(n=t.GradientType||(t.GradientType={})).linear="Linear",n.radial="Radial",n.angular="Angular"},2674:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.RichTextSpanAttributeType=void 0,(n=t.RichTextSpanAttributeType||(t.RichTextSpanAttributeType={})).bold="Bold",n.italic="Italic",n.link="Link",n.strikethrough="Strikethrough",n.code="Code"},9125:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ShadowType=void 0,(n=t.ShadowType||(t.ShadowType={})).drop="Drop",n.inner="Inner"},4652:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.SourceType=void 0,(n=t.SourceType||(t.SourceType={})).figma="Figma",n.tokenStudio="TokenStudio",n.figmaVariablesPlugin="FigmaVariablesPlugin"},922:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TextCase=void 0,(n=t.TextCase||(t.TextCase={})).original="Original",n.upper="Upper",n.lower="Lower",n.camel="Camel",n.smallCaps="SmallCaps"},7040:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TextDecoration=void 0,(n=t.TextDecoration||(t.TextDecoration={})).original="None",n.underline="Underline",n.strikethrough="Strikethrough"},3788:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DT_TOKEN_TYPES=t.tokenTypeIsReferencable=t.REFERENCABLE_TOKEN_TYPES=t.REPLACABLE_TOKEN_TYPES=t.tokenTypeIsNonPure=t.tokenTypeIsPure=t.PURE_TOKEN_TYPES=t.ALL_TOKEN_TYPES=t.MS_DIMENSION_TOKEN_TYPES=t.RAW_DIMENSION_TOKEN_TYPES=t.DIMENSION_TOKEN_TYPES=t.OPTION_TOKEN_TYPES=t.STRING_TOKEN_TYPES=t.TokenType=void 0,function(e){e.color="Color",e.typography="Typography",e.shadow="Shadow",e.border="Border",e.gradient="Gradient",e.blur="Blur",e.radius="BorderRadius",e.borderWidth="BorderWidth",e.duration="Duration",e.fontSize="FontSize",e.dimension="Dimension",e.letterSpacing="LetterSpacing",e.lineHeight="LineHeight",e.opacity="Opacity",e.paragraphSpacing="ParagraphSpacing",e.size="Size",e.space="Space",e.zIndex="ZIndex",e.textDecoration="TextDecoration",e.textCase="TextCase",e.visibility="Visibility",e.fontFamily="FontFamily",e.fontWeight="FontWeight",e.string="String",e.productCopy="ProductCopy"}(n=t.TokenType||(t.TokenType={})),t.STRING_TOKEN_TYPES=[n.string,n.productCopy,n.fontFamily,n.fontWeight],t.OPTION_TOKEN_TYPES=[n.textCase,n.textDecoration,n.visibility],t.DIMENSION_TOKEN_TYPES=[n.dimension,n.size,n.space,n.opacity,n.fontSize,n.lineHeight,n.letterSpacing,n.paragraphSpacing,n.borderWidth,n.radius,n.duration,n.zIndex],t.RAW_DIMENSION_TOKEN_TYPES=[n.opacity,n.zIndex],t.MS_DIMENSION_TOKEN_TYPES=[n.duration],t.ALL_TOKEN_TYPES=[...t.DIMENSION_TOKEN_TYPES,...t.STRING_TOKEN_TYPES,...t.OPTION_TOKEN_TYPES,n.color,n.gradient,n.border,n.radius,n.shadow,n.typography,n.blur],t.PURE_TOKEN_TYPES=[...t.DIMENSION_TOKEN_TYPES,...t.STRING_TOKEN_TYPES,...t.OPTION_TOKEN_TYPES],t.tokenTypeIsPure=e=>t.PURE_TOKEN_TYPES.includes(e),t.tokenTypeIsNonPure=e=>!(0,t.tokenTypeIsPure)(e),t.REPLACABLE_TOKEN_TYPES=[n.color,...t.DIMENSION_TOKEN_TYPES,...t.STRING_TOKEN_TYPES,...t.OPTION_TOKEN_TYPES],t.REFERENCABLE_TOKEN_TYPES=[n.color,...t.DIMENSION_TOKEN_TYPES,n.fontFamily,n.fontWeight,n.textCase,n.textDecoration],t.tokenTypeIsReferencable=e=>t.REFERENCABLE_TOKEN_TYPES.includes(e),t.DT_TOKEN_TYPES=[n.color,n.shadow,n.gradient,n.typography,n.border,...t.DIMENSION_TOKEN_TYPES,n.fontFamily,n.fontWeight,...t.OPTION_TOKEN_TYPES]},8607:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.MS_UNITS=t.PX_UNITS=t.RAW_UNITS=t.LINE_HEIGHT_UNITS=t.SIZE_UNITS=t.Unit=void 0,function(e){e.pixels="Pixels",e.percent="Percent",e.rem="Rem",e.ms="Ms",e.raw="Raw"}(n=t.Unit||(t.Unit={})),t.SIZE_UNITS=[n.pixels,n.percent,n.rem],t.LINE_HEIGHT_UNITS=[n.pixels,n.percent,n.rem,n.raw],t.RAW_UNITS=[n.raw],t.PX_UNITS=[n.pixels],t.MS_UNITS=[n.ms]},9478:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.UserRole=void 0,(n=t.UserRole||(t.UserRole={})).owner="Owner",n.admin="Admin",n.creator="Creator",n.billing="Billing",n.viewer="Viewer"},6141:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.VisibilityType=void 0,(n=t.VisibilityType||(t.VisibilityType={})).visible="Visible",n.hidden="Hidden"},6298:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceNPMRegistryAuthType=void 0,(n=t.WorkspaceNPMRegistryAuthType||(t.WorkspaceNPMRegistryAuthType={})).basic="Basic",n.bearer="Bearer"},7968:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceNPMRegistryType=void 0,(n=t.WorkspaceNPMRegistryType||(t.WorkspaceNPMRegistryType={})).npmJS="NPMJS",n.gitHub="GitHub",n.azureDevOps="AzureDevOps",n.artifactory="Artifactory",n.custom="Custom"},5503:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceSubscriptionPlanInterval=void 0,(n=t.WorkspaceSubscriptionPlanInterval||(t.WorkspaceSubscriptionPlanInterval={})).yearly="yearly",n.monthly="monthly"},4290:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceSubscriptionProductCode=void 0,(n=t.WorkspaceSubscriptionProductCode||(t.WorkspaceSubscriptionProductCode={})).free="free",n.team="team",n.teamTest="team_test",n.company="company",n.enterprise="enterprise"},3607:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceSubscriptionStatus=void 0,(n=t.WorkspaceSubscriptionStatus||(t.WorkspaceSubscriptionStatus={})).active="active",n.gracePeriod="gracePeriod",n.cancelled="cancelled",n.suspended="suspended"},3110:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodegenAccount=void 0,t.CodegenAccount=class{constructor(e){this.id=e.id,this.accountType=e.accountType,this.handle=e.handle,this.installationUrl=e.installationUrl,this.description=e.description}}},9701:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodegenAzureBranch=void 0,t.CodegenAzureBranch=class{constructor(e){this.name=e.name,this.lastCommitId=e.lastCommitId,this.repositoryId=e.repositoryId}}},3410:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodegenAzureOrganization=void 0,t.CodegenAzureOrganization=class{constructor(e){this.id=e.id,this.name=e.name,this.uri=e.uri}}},6939:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodegenAzureProject=void 0,t.CodegenAzureProject=class{constructor(e){this.id=e.id,this.name=e.name,this.organizationId=e.organizationId}}},7601:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodegenAzureRepository=void 0,t.CodegenAzureRepository=class{constructor(e){this.id=e.id,this.name=e.name,this.projectId=e.projectId,this.forked=e.forked,this.defaultBranch=e.defaultBranch,this.required=e.required,this.url=e.url}}},7227:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodegenBitbucketBranch=void 0,t.CodegenBitbucketBranch=class{constructor(e){this.name=e.name,this.lastCommitId=e.lastCommitId,this.repoSlug=e.repoSlug}}},3778:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodegenBitbucketProject=void 0,t.CodegenBitbucketProject=class{constructor(e){this.key=e.key,this.name=e.name}}},9475:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodegenBitbucketRepository=void 0,t.CodegenBitbucketRepository=class{constructor(e){this.slug=e.slug,this.name=e.name,this.projectKey=e.projectKey,this.url=e.url}}},2178:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodegenBitbucketWorkspace=void 0,t.CodegenBitbucketWorkspace=class{constructor(e){this.slug=e.slug,this.name=e.name}}},2888:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodegenBranch=void 0,t.CodegenBranch=class{constructor(e){this.repository=e.repository,this.name=e.name,this.lastCommitId=e.lastCommitId,this.protected=e.protected}}},6940:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodegenConnection=void 0,t.CodegenConnection=class{constructor(e){this.id=e.id,this.ownerId=e.ownerId,this.customUrl=e.customUrl,this.name=e.name,this.authType=e.authType,this.service=e.service}}},1423:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodegenGitlabBranch=void 0,t.CodegenGitlabBranch=class{constructor(e){this.name=e.name,this.lastCommitId=e.lastCommitId,this.repositoryId=e.repositoryId}}},4832:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodegenGitlabGroup=void 0,t.CodegenGitlabGroup=class{constructor(e){this.id=e.id,this.name=e.name}}},2479:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodegenGitlabRepository=void 0,t.CodegenGitlabRepository=class{constructor(e){this.id=e.id,this.name=e.name,this.defaultBranch=e.defaultBranch,this.url=e.url,this.cloneUrl=e.cloneUrl}}},8272:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodegenRepository=void 0,t.CodegenRepository=class{constructor(e){this.id=e.id,this.owner=e.owner,this.name=e.name,this.fullName=e.fullName,this.url=e.url,this.description=e.description,this.archived=e.archived,this.disabled=e.disabled,this.forked=e.forked,this.private=e.private,this.defaultBranch=e.defaultBranch}}},3144:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Exporter=void 0;const r=n(8069),o=n(5244),i=n(2459);t.Exporter=class{constructor(e){var t,n,a,s,d,p,l,c,u;this.id=e.id,this.packageId=e.packageId,this.isPrivate=e.isPrivate,this.isDefaultDocumentationExporter=e.isDefaultDocumentationExporter,this.usesBrands=e.usesBrands,this.usesThemes=e.usesThemes,this.name=e.name,this.description=null!==(t=e.description)&&void 0!==t?t:null,this.version=e.version,this.author=null!==(n=e.author)&&void 0!==n?n:null,this.organization=null!==(a=e.organization)&&void 0!==a?a:null,this.homepage=null!==(s=e.homepage)&&void 0!==s?s:null,this.readme=null!==(d=e.readme)&&void 0!==d?d:null,this.iconURL=null!==(p=e.iconURL)&&void 0!==p?p:null,this.tags=null!==(l=e.tags)&&void 0!==l?l:[],this.exporterType=e.exporterType,this.gitProvider=e.gitProvider,this.gitUrl=e.gitUrl,this.gitBranch=null!==(c=e.gitBranch)&&void 0!==c?c:null,this.gitDirectory=null!==(u=e.gitDirectory)&&void 0!==u?u:null;const m=new Array;if(e.blockVariants)for(const[t,n]of Object.entries(e.blockVariants))for(const e of n){const n=new o.ExporterCustomBlockVariant(e,t);m.push(n)}this.contributes={blockVariants:m,blocks:e.customBlocks?e.customBlocks.map((e=>new r.ExporterCustomBlock(e))):[],configuration:e.configurationProperties?e.configurationProperties.map((e=>new i.ExporterConfigurationProperty(e,null))):[]}}}},2983:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Pipeline=void 0;const r=n(9883);t.Pipeline=class{constructor(e){var t,n;this.id=e.id,this.workspaceId=e.workspaceId,this.designSystem=e.designSystem,this.name=e.name,this.isEnabled=e.isEnabled,this.eventType=e.eventType,this.exporterId=e.exporterId,this.destinations=e.destinations,this.brandId=e.brandId,this.themeId=e.themeId,this.latestJobs=null!==(n=null===(t=e.latestJobs)||void 0===t?void 0:t.map((e=>new r.ExportBuild(e))))&&void 0!==n?n:[]}get isBuildOnly(){return null===this.destinations.azure&&null===this.destinations.bitbucket&&null===this.destinations.gitlab&&null===this.destinations.github}get gitProviderType(){return this.destinations.github?"github":this.destinations.bitbucket?"bitbucket":this.destinations.gitlab?"gitlab":this.destinations.azure?"azure":null}get toRemoteModel(){return{id:this.id,workspaceId:this.workspaceId,designSystem:this.designSystem,name:this.name,isEnabled:this.isEnabled,eventType:this.eventType,exporterId:this.exporterId,destinations:this.destinations,brandId:this.brandId,themeId:this.themeId,latestJobs:null}}get isRunning(){return this.latestJobs.some((e=>e.status===r.ExportBuildStatus.InProgress))}}},8069:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExporterCustomBlock=t.ExporterCustomBlockMode=void 0;const r=n(9948);(t.ExporterCustomBlockMode||(t.ExporterCustomBlockMode={})).block="block",t.ExporterCustomBlock=class{constructor(e){var t;this.key=e.key,this.title=e.title,this.description=e.description,this.category=e.category,this.iconUrl=null!==(t=e.iconURL)&&void 0!==t?t:null,this.mode=e.mode,this.properties=e.properties.map((e=>new r.ExporterCustomBlockProperty(e)))}}},9948:(e,t)=>{"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.ExporterCustomBlockProperty=t.ExporterCustomBlockPropertyInputType=t.ExporterCustomBlockPropertyType=void 0,(r=t.ExporterCustomBlockPropertyType||(t.ExporterCustomBlockPropertyType={})).string="string",r.number="number",r.boolean="boolean",r.enum="enum",r.image="image",r.color="color",r.typography="typography",function(e){e.plain="plain",e.code="code"}(n=t.ExporterCustomBlockPropertyInputType||(t.ExporterCustomBlockPropertyInputType={})),t.ExporterCustomBlockProperty=class{constructor(e){var t,r,o;this.label=e.label,this.key=e.key,this.type=e.type,this.inputType=null!==(t=e.inputType)&&void 0!==t?t:n.plain,this.isMultiline=e.isMultiline,this.default=null!==(r=e.default)&&void 0!==r?r:null,this.values=null!==(o=e.values)&&void 0!==o?o:[]}}},5244:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExporterCustomBlockVariant=void 0,t.ExporterCustomBlockVariant=class{constructor(e,t){this.blockKey=t,this.variantKey=e.key,this.name=e.name,this.isDefault=!!e.hasOwnProperty("isDefault")&&e.isDefault}}},2459:(e,t)=>{"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.ExporterConfigurationProperty=t.ExporterConfigurationPropertyInputType=t.ExporterConfigurationPropertyType=void 0,(r=t.ExporterConfigurationPropertyType||(t.ExporterConfigurationPropertyType={})).string="string",r.number="number",r.boolean="boolean",r.enum="enum",r.image="image",r.color="color",r.typography="typography",function(e){e.plain="plain",e.code="code"}(n=t.ExporterConfigurationPropertyInputType||(t.ExporterConfigurationPropertyInputType={})),t.ExporterConfigurationProperty=class{constructor(e,t){var r,o,i;this.label=e.label,this.category=e.category,this.description=e.description,this.key=e.key,this.type=e.type,this.inputType=null!==(r=e.inputType)&&void 0!==r?r:n.plain,this.isMultiline=e.isMultiline,this.default=null!==(o=e.default)&&void 0!==o?o:null,this.values=null!==(i=e.values)&&void 0!==i?i:[],this.value=t}updateValue(e){this.value=e}}},9883:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ExportBuild=t.ExportBuildStatus=t.ExportBuildCreatedBy=void 0,t.ExportBuildCreatedBy=class{constructor(e){this.userId=e.userId,this.userName=e.userName}},(n=t.ExportBuildStatus||(t.ExportBuildStatus={})).InProgress="InProgress",n.Success="Success",n.Failed="Failed",n.Timeout="Timeout",t.ExportBuild=class{constructor(e){var t,n,r,o,i,a,s;this.index=null!==(t=e.index)&&void 0!==t?t:null,this.id=e.id,this.createdAt=new Date(e.createdAt),this.finishedAt=e.finishedAt?new Date(e.finishedAt):null,this.designSystem=e.designSystem,this.designSystemVersion=e.designSystemVersion,this.result=null!==(n=e.result)&&void 0!==n?n:null,this.status=e.status,this.estimatedExecutionTime=null!==(r=e.estimatedExecutionTime)&&void 0!==r?r:null,this.createdBy=null!==(o=e.createdBy)&&void 0!==o?o:null,this.destinations=e.destinations,this.scheduleId=null!==(i=e.scheduleId)&&void 0!==i?i:null,this.exporterId=e.exporterId,this.brandId=null!==(a=e.brandId)&&void 0!==a?a:null,this.themeId=null!==(s=e.themeId)&&void 0!==s?s:null}get downloadCodeUrl(){var e,t,n;const r=null===(t=null===(e=this.result)||void 0===e?void 0:e.s3)||void 0===t?void 0:t.urls;return(null!==(n=null==r?void 0:r.length)&&void 0!==n?n:0)>0?r[0]:null}get pullRequestUrl(){var e,t,n,r,o,i,a,s,d,p,l;return null!==(d=null!==(i=null!==(n=null===(t=null===(e=this.result)||void 0===e?void 0:e.azure)||void 0===t?void 0:t.pullRequestUrl)&&void 0!==n?n:null===(o=null===(r=this.result)||void 0===r?void 0:r.bitbucket)||void 0===o?void 0:o.pullRequestUrl)&&void 0!==i?i:null===(s=null===(a=this.result)||void 0===a?void 0:a.github)||void 0===s?void 0:s.pullRequestUrl)&&void 0!==d?d:null===(l=null===(p=this.result)||void 0===p?void 0:p.gitlab)||void 0===l?void 0:l.pullRequestUrl}get documentationUrl(){var e,t;return(null===(t=null===(e=this.result)||void 0===e?void 0:e.documentation)||void 0===t?void 0:t.url)||null}}},5593:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ExportBuildResult=t.ExportBuildResultLog=t.ExportBuildResultLogType=t.ExportBuildDocumentationResult=t.ExportBuildPullRequestResult=t.S3ExportBuildResult=void 0,t.S3ExportBuildResult=class{constructor(e){this.urls=e.urls,this.url=e.url}},t.ExportBuildPullRequestResult=class{constructor(e){this.pullRequestUrl=e.pullRequestUrl}},t.ExportBuildDocumentationResult=class{constructor(e){this.url=e.url}},(n=t.ExportBuildResultLogType||(t.ExportBuildResultLogType={})).success="success",n.info="info",n.warning="warning",n.user="user",n.error="error",t.ExportBuildResultLog=class{constructor(e){this.time=new Date(e.time),this.type=e.type,this.message=e.message}},t.ExportBuildResult=class{constructor(e){var t,n,r,o,i,a,s;this.logs=e.logs,this.s3=null!==(t=e.s3)&&void 0!==t?t:null,this.azure=null!==(n=e.azure)&&void 0!==n?n:null,this.bitbucket=null!==(r=e.bitbucket)&&void 0!==r?r:null,this.github=null!==(o=e.github)&&void 0!==o?o:null,this.gitlab=null!==(i=e.gitlab)&&void 0!==i?i:null,this.documentation=null!==(a=e.documentation)&&void 0!==a?a:null,this.error=null!==(s=e.error)&&void 0!==s?s:null}}},8546:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AssetGroup=void 0,t.AssetGroup=class{constructor(e){this.id=e.id,this.persistentId=e.persistentId,this.brandId=e.brandId,this.name=e.meta.name,this.description=e.meta.description,this.isRoot=e.isRoot,this.childrenIds=e.childrenIds,this.path=new Array,this.assetIds=new Array,this.subgroupIds=new Array,this.parentGroupId=null,this.createdAt=e.createdAt?new Date(e.createdAt):null,this.updatedAt=e.updatedAt?new Date(e.updatedAt):null,this.isAssetGroup=!1,this.sourceId=null,this.sourceName=null}addChild(e){this.subgroupIds.push(e)}addChildren(e){this.subgroupIds=this.subgroupIds.concat(e)}setPath(e){this.path=e}setParentGroupId(e){this.parentGroupId=null!=e?e:null}}},615:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentGroup=void 0;class n{constructor(e){this.id=e.persistentId,this.idInVersion=e.id,this.brandId=e.brandId,this.designSystemVersionId=e.designSystemVersionId,this.name=e.meta.name,this.description=e.meta.description,this.isRoot=e.isRoot,this.childrenIds=e.childrenIds,this.path=new Array,this.componentIds=new Array,this.subgroupIds=new Array,this.parentGroupId=null,this.sortOrder=-1,this.createdAt=e.createdAt?new Date(e.createdAt):null,this.updatedAt=e.updatedAt?new Date(e.updatedAt):null}addChild(e){this.subgroupIds.push(e)}addChildren(e){this.subgroupIds=this.subgroupIds.concat(e)}setPath(e){this.path=e}setParentGroupId(e){this.parentGroupId=null!=e?e:null}setSortOrder(e){this.sortOrder=e}toWriteObject(){return{id:this.idInVersion,brandId:this.brandId,designSystemVersionId:this.designSystemVersionId,persistentId:this.id,isRoot:this.isRoot,meta:{name:this.name,description:this.description},childrenIds:this.childrenIds}}toMutatedObject(e){const t=new n({id:this.idInVersion,brandId:this.brandId,designSystemVersionId:this.designSystemVersionId,persistentId:this.id,isRoot:this.isRoot,meta:{name:this.name,description:this.description},childrenIds:e});return t.parentGroupId=this.parentGroupId,t.sortOrder=this.sortOrder,t}}t.ComponentGroup=n},7813:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DesignComponentGroup=void 0,t.DesignComponentGroup=class{constructor(e){this.id=e.persistentId,this.brandId=e.brandId,this.name=e.meta.name,this.description=e.meta.description,this.isRoot=e.isRoot,this.childrenIds=e.childrenIds,this.path=new Array,this.componentIds=new Array,this.subgroupIds=new Array,this.parentGroupId=null,this.createdAt=e.createdAt?new Date(e.createdAt):null,this.updatedAt=e.updatedAt?new Date(e.updatedAt):null}addChild(e){this.subgroupIds.push(e)}addChildren(e){this.subgroupIds=this.subgroupIds.concat(e)}setPath(e){this.path=e}setParentGroupId(e){this.parentGroupId=null!=e?e:null}}},7381:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenGroup=void 0;class n{constructor(e){this.id=e.persistentId,this.idInVersion=e.id,this.brandId=e.brandId,this.designSystemVersionId=e.designSystemVersionId,this.name=e.meta.name,this.description=e.meta.description||"",this.isRoot=e.isRoot,this.tokenType=e.tokenType,this.childrenIds=e.childrenIds,this.path=new Array,this.tokenIds=new Array,this.subgroupIds=new Array,this.parentGroupId=null,this.sortOrder=-1,this.createdAt=e.createdAt?new Date(e.createdAt):null,this.updatedAt=e.updatedAt?new Date(e.updatedAt):null}addChild(e){this.subgroupIds.push(e)}addChildren(e){this.subgroupIds=this.subgroupIds.concat(e)}setPath(e){this.path=e}setParentGroupId(e){this.parentGroupId=null!=e?e:null}setSortOrder(e){this.sortOrder=e}toWriteObject(){return{id:this.idInVersion,brandId:this.brandId,tokenType:this.tokenType,designSystemVersionId:this.designSystemVersionId,persistentId:this.id,isRoot:this.isRoot,meta:{name:this.name,description:this.description},childrenIds:this.childrenIds}}toMutatedObject(e){const t=new n({id:this.idInVersion,brandId:this.brandId,tokenType:this.tokenType,designSystemVersionId:this.designSystemVersionId,persistentId:this.id,isRoot:this.isRoot,meta:{name:this.name,description:this.description},childrenIds:e});return t.parentGroupId=this.parentGroupId,t.sortOrder=this.sortOrder,t}}t.TokenGroup=n},653:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImportJob=void 0,t.ImportJob=class{constructor(e){var t;this.id=e.id,this.designSystemId=e.designSystemId,this.designSystemVersionId=e.designSystemVersionId,this.createdAt=e.createdAt?new Date(e.createdAt):null,this.state=e.state,this.operation=e.operation,this.stateChangedAt=e.stateChangedAt?new Date(e.stateChangedAt):null,this.error=null!==(t=e.error)&&void 0!==t?t:null,this.sourceIds=e.sourceIds}}},273:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Membership=void 0;const r=n(9058);t.Membership=class{constructor(e){this.workspace=new r.Workspace(e.workspace),this.role=e.role,this.effectiveRole=e.effectiveRole}}},4418:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Resource=t.ResourceType=void 0,function(e){e.asset="Asset",e.font="Font"}(n=t.ResourceType||(t.ResourceType={})),t.Resource=class{constructor(e){var t;this.id=e.persistentId,this.idInVersion=e.id,this.url=e.url,this.originalName=null!==(t=e.originalName)&&void 0!==t?t:null,this.scope=e.scope,this.type=n.asset}}},420:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResourceAsset=void 0;const r=n(4418);class o extends r.Resource{constructor(e){super(e),this.type=r.ResourceType.asset,this.type=r.ResourceType.asset}}t.ResourceAsset=o},9371:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResourceFont=void 0;const r=n(4418);class o extends r.Resource{constructor(e){var t,n,o,i,a,s,d,p;super(e),this.type=r.ResourceType.font,this.fontProperties=null,this.type=r.ResourceType.asset;const l=null===(t=e.fontProperties)||void 0===t?void 0:t.at(0);l&&(this.fontProperties={family:null!==(n=l.family)&&void 0!==n?n:null,subfamily:null!==(o=l.subfamily)&&void 0!==o?o:null,weight:null!==(i=l.weight)&&void 0!==i?i:null,isItalic:null!==(a=l.isItalic)&&void 0!==a?a:null,isOutlined:null!==(s=l.isOutlined)&&void 0!==s?s:null,isStrikeout:null!==(d=l.isStrikeout)&&void 0!==d?d:null,isUnderscore:null!==(p=l.isUnderscore)&&void 0!==p?p:null})}}t.ResourceFont=o},1395:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomDomain=void 0,t.CustomDomain=class{constructor(e){var t,n;this.id=e.id,this.designSystemId=e.designSystemId,this.supernovaDomain=e.supernovaDomain,this.customerDomain=null!==(t=e.customerDomain)&&void 0!==t?t:null,this.state=e.state,this.error=e.error,this.errorCode=null!==(n=e.errorCode)&&void 0!==n?n:null}}},2853:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DesignComponentOrigin=void 0;const r=n(4652);t.DesignComponentOrigin=class{constructor(e,t){var n,r,o,i,a,s,d,p,l;if(this.sourceId=null!==(n=e.sourceId)&&void 0!==n?n:null,this.id=null!==(r=e.id)&&void 0!==r?r:null,this.nodeId=null!==(o=e.nodeId)&&void 0!==o?o:null,this.name=null!==(i=e.name)&&void 0!==i?i:null,this.fileId=null,this.fileName=null,e.sourceId){const n=t.filter((t=>t.id===e.sourceId))[0];n&&(this.sourceType=n.type,this.fileId=null!==(s=null===(a=n.cloud)||void 0===a?void 0:a.fileId)&&void 0!==s?s:null,this.fileName=null!==(d=n.fileName)&&void 0!==d?d:null)}this.width=null!==(p=e.width)&&void 0!==p?p:null,this.height=null!==(l=e.height)&&void 0!==l?l:null}get remoteDesignComponentUrl(){var e;if(this.sourceType===r.SourceType.figma&&this.fileId&&this.nodeId)return`https://www.figma.com/file/${this.fileId}/${null!==(e=this.fileName)&&void 0!==e?e:"unknown"}?node-id=${this.nodeId}`}}},857:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.FigmaFrame=t.FrameType=void 0,(n=t.FrameType||(t.FrameType={})).DOCUMENT="DOCUMENT",n.CANVAS="CANVAS",n.COMPONENT_SET="COMPONENT_SET",n.COMPONENT_VARIANT="COMPONENT_VARIANT",n.COMPONENT="COMPONENT",n.SECTION="SECTION",n.FRAME="FRAME";class r{constructor(e){this.id=e.id,this.name=e.name,this.type=e.type,this.children=e.children.map((e=>new r(e)))}}t.FigmaFrame=r},4441:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FigmaStructure=void 0,t.FigmaStructure=class{constructor(e){this.assetsInFile=e.assetsInFile,this.designSystemVersionId=e.designSystemVersionId,this.id=e.id,this.origin=e.origin}}},8528:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FigmaStructureDetail=void 0;const r=n(857);t.FigmaStructureDetail=class{constructor(e){this.assetsInFile=e.assetsInFile,this.designSystemVersionId=e.designSystemVersionId,this.id=e.id,this.origin=e.origin,this.rootNode=new r.FigmaFrame(e.rootNode)}}},8281:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FrameOrigin=void 0,t.FrameOrigin=class{constructor(e,t,n){var r,o,i,a,s,d,p,l,c;this.sourceFileName=null!==(r=e.sourceFileName)&&void 0!==r?r:null,this.sourceFrameId=n,this.sourceId=t,this.title=null!==(o=e.title)&&void 0!==o?o:null,this.previewUrl=null!==(i=e.previewUrl)&&void 0!==i?i:null,this.referenceId=null!==(a=e.referenceId)&&void 0!==a?a:null,this.valid=null!==(s=e.valid)&&void 0!==s?s:null,this.assetId=null!==(d=e.assetId)&&void 0!==d?d:null,this.assetScale=null!==(p=e.assetScale)&&void 0!==p?p:null,this.width=null!==(l=e.width)&&void 0!==l?l:null,this.height=null!==(c=e.height)&&void 0!==c?c:null}}},6788:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Logger=void 0,t.Logger=class{constructor(){this.logs=[]}log(e){this.logs.push(e),console.log(e)}}},3989:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Size=void 0,t.Size=class{constructor(e){var t,n;this.width=null!==(t=null==e?void 0:e.width)&&void 0!==t?t:null,this.height=null!==(n=null==e?void 0:e.height)&&void 0!==n?n:null}}},1793:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Source=void 0;const r=n(4652);var o;function i(e){switch(e){case r.SourceType.figma:return o.figma;case r.SourceType.tokenStudio:return o.tokenStudio;case r.SourceType.figmaVariablesPlugin:return o.figmaVariablesPlugin;default:return o.figma}}!function(e){e.figma="Figma",e.tokenStudio="TokenStudio",e.figmaVariablesPlugin="FigmaVariablesPlugin",e.upload="Upload"}(o||(o={})),t.Source=class{get lastImportedAt(){var e,t,n;return(null===(e=this.cloud)||void 0===e?void 0:e.lastImportedAt)?this.cloud.lastImportedAt:(null===(t=this.tokenStudio)||void 0===t?void 0:t.lastImportedAt)?this.tokenStudio.lastImportedAt:(null===(n=this.figmaVariablesPlugin)||void 0===n?void 0:n.lastImportedAt)?this.figmaVariablesPlugin.lastImportedAt:null}get hasError(){var e;const t=null===(e=this.cloud)||void 0===e?void 0:e.lastImportResult;return!t||t.isFailed||!this.isCloudAvailable}get hasWarning(){var e,t;const n=null===(e=this.cloud)||void 0===e?void 0:e.lastImportResult;return!!n&&!!(null===(t=n.warnings)||void 0===t?void 0:t.length)}get isCloudAvailable(){return!!this.cloud&&"Active"===this.cloud.state}get isTokensStudioAvailable(){return!!this.tokenStudio}get tokensStudioHasError(){var e;const t=null===(e=this.tokenStudio)||void 0===e?void 0:e.lastImportedResults;return!t||t.some((e=>e.isFailed))}constructor(e){var t,n,i,a,s,d,p,l,c,u,m,h,g,f,y,v,k,T,b,w,S,I,D,_,P;this.type=function(e){switch(e){case o.figma:return r.SourceType.figma;case o.tokenStudio:return r.SourceType.tokenStudio;case o.figmaVariablesPlugin:case o.upload:return r.SourceType.figmaVariablesPlugin;default:return r.SourceType.figma}}(e.type),this.id=e.id,this.fileName=null!==(t=e.fileName)&&void 0!==t?t:null,this.brandId=null!==(n=e.brandId)&&void 0!==n?n:null,this.fileName=null!==(i=e.fileName)&&void 0!==i?i:null,e.cloud?this.cloud={fileId:null!==(s=null===(a=e.cloud)||void 0===a?void 0:a.fileId)&&void 0!==s?s:void 0,autoImportMode:null!==(p=null===(d=e.cloud)||void 0===d?void 0:d.autoImportMode)&&void 0!==p?p:null,fileThumbnailUrl:null!==(c=null===(l=e.cloud)||void 0===l?void 0:l.fileThumbnailUrl)&&void 0!==c?c:null,ownerId:null!==(m=null===(u=e.cloud)||void 0===u?void 0:u.ownerId)&&void 0!==m?m:null,ownerUserName:null!==(g=null===(h=e.cloud)||void 0===h?void 0:h.ownerUserName)&&void 0!==g?g:null,state:null!==(y=null===(f=e.cloud)||void 0===f?void 0:f.state)&&void 0!==y?y:null,stats:null!==(k=null===(v=e.cloud)||void 0===v?void 0:v.stats)&&void 0!==k?k:null,lastUpdatesCheckedAt:(null===(T=e.cloud)||void 0===T?void 0:T.lastUpdatesCheckedAt)?new Date(e.cloud.lastUpdatesCheckedAt):null,lastImportedAt:(null===(b=e.cloud)||void 0===b?void 0:b.lastImportedAt)?new Date(e.cloud.lastImportedAt):null,lastImportedVersion:(null===(w=e.cloud)||void 0===w?void 0:w.lastImportedVersion)?{id:e.cloud.lastImportedVersion.id,created_at:e.cloud.lastImportedVersion.created_at,label:null!==(S=e.cloud.lastImportedVersion.label)&&void 0!==S?S:null,description:e.cloud.lastImportedVersion.description}:null,lastImportResult:(null===(I=e.cloud)||void 0===I?void 0:I.lastImportResult)?{sourceId:e.cloud.lastImportResult.sourceId,brandId:e.cloud.lastImportResult.brandId,tokensCreated:e.cloud.lastImportResult.tokensCreated,tokensUpdated:e.cloud.lastImportResult.tokensUpdated,tokensDeleted:e.cloud.lastImportResult.tokensDeleted,componentsCreated:e.cloud.lastImportResult.componentsCreated,componentsUpdated:e.cloud.lastImportResult.componentsUpdated,componentsDeleted:e.cloud.lastImportResult.componentsDeleted,componentAssetsCreated:e.cloud.lastImportResult.componentAssetsCreated,componentAssetsUpdated:e.cloud.lastImportResult.componentAssetsUpdated,componentAssetsDeleted:e.cloud.lastImportResult.componentAssetsDeleted,isFailed:e.cloud.lastImportResult.isFailed,versionId:e.cloud.lastImportResult.versionId,fileSize:null!==(D=e.cloud.lastImportResult.fileSize)&&void 0!==D?D:null,warnings:null!==(_=e.cloud.lastImportResult.warnings)&&void 0!==_?_:[],isFramesFailed:e.cloud.lastImportResult.isFailed,assetsInFile:e.cloud.lastImportResult.assetsInFile?{frames:e.cloud.lastImportResult.assetsInFile.frames,components:e.cloud.lastImportResult.assetsInFile.components}:null,invalidReferencesCount:null!==(P=e.cloud.lastImportResult.invalidReferencesCount)&&void 0!==P?P:null}:null}:this.cloud=null,e.tokenStudio&&(this.tokenStudio={connectionName:e.tokenStudio.connectionName,lastImportedAt:e.tokenStudio.lastImportedAt?new Date(e.tokenStudio.lastImportedAt):void 0,settings:e.tokenStudio.settings,lastImportedResults:e.tokenStudio.lastImportedResults}),e.figmaVariablesPlugin&&(this.figmaVariablesPlugin={fileId:e.figmaVariablesPlugin.fileId,lastImportedAt:e.figmaVariablesPlugin.lastImportedAt?new Date(e.figmaVariablesPlugin.lastImportedAt):void 0,lastImportMetadata:e.figmaVariablesPlugin.lastImportMetadata}),this.scope=e.scope}toRemote(){var e,t;return{type:i(this.type),id:this.id,fileName:null!==(e=this.fileName)&&void 0!==e?e:void 0,brandId:null!==(t=this.brandId)&&void 0!==t?t:void 0,cloud:this.cloud?{fileId:this.cloud.fileId,autoImportMode:this.cloud.autoImportMode,fileThumbnailUrl:this.cloud.fileThumbnailUrl,lastUpdatesCheckedAt:this.cloud.lastUpdatesCheckedAt?this.cloud.lastUpdatesCheckedAt.toISOString():void 0,lastImportedAt:this.cloud.lastImportedAt?this.cloud.lastImportedAt.toISOString():void 0,lastImportedVersion:this.cloud.lastImportedVersion,lastImportResult:this.cloud.lastImportResult,ownerId:this.cloud.ownerId,ownerUserName:this.cloud.ownerUserName,state:this.cloud.state,stats:this.cloud.stats}:void 0,scope:this.scope}}toTransport(){return{type:this.type,id:this.id,fileName:this.fileName,cloud:this.cloud?{fileId:this.cloud.fileId,autoImportMode:this.cloud.autoImportMode,fileThumbnailUrl:this.cloud.fileThumbnailUrl,lastUpdatesCheckedAt:this.cloud.lastUpdatesCheckedAt?this.cloud.lastUpdatesCheckedAt.toISOString():void 0,lastImportedAt:this.cloud.lastImportedAt?this.cloud.lastImportedAt.toISOString():void 0,lastImportedVersion:this.cloud.lastImportedVersion,lastImportResult:this.cloud.lastImportResult,ownerId:this.cloud.ownerId,ownerUserName:this.cloud.ownerUserName,state:this.cloud.state,stats:this.cloud.stats}:null,brandId:this.brandId,scope:this.scope}}static fromTransport(e){return{type:i(e.type),id:e.id,fileName:e.fileName,brandId:e.brandId,scope:e.scope,cloud:Object.assign(Object.assign({},e.cloud),{lastUpdatesCheckedAt:e.cloud.lastUpdatesCheckedAt,lastImportedAt:e.cloud.lastImportedAt})}}}},9981:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenOrigin=void 0,t.TokenOrigin=class{constructor(e){var t,n,r,o,i,a;this.id=null!==(t=e.id)&&void 0!==t?t:null,this.name=null!==(n=e.name)&&void 0!==n?n:null,this.sourceId=null!==(r=e.sourceId)&&void 0!==r?r:null,this.sourceType=null!==(o=e.sourceType)&&void 0!==o?o:null,this.referenceOriginId=null!==(i=e.referenceOriginId)&&void 0!==i?i:null,this.referencePersistentId=null!==(a=e.referencePersistentId)&&void 0!==a?a:null}}},616:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeUtilities=void 0;const r=n(7098),o=n(3788),i=n(8529),a=n(3380),s=n(2155),d=n(7046),p=n(6458),l=n(5590),c=n(2249),u=n(5443),m=n(477),h=n(465),g=n(8358),f=n(5250);t.ThemeUtilities=class{static replicateTokenAsThemePrefabWithoutValue(e,t,n,f){let y;switch(e.tokenType){case o.TokenType.blur:y=new i.BlurToken(f,{},null,null,[],[]);break;case o.TokenType.border:y=new a.BorderToken(f,{},null,null,[],[]);break;case o.TokenType.color:y=new s.ColorToken(f,{},null,null,[],[]);break;case o.TokenType.gradient:y=new p.GradientToken(f,{},[],null,[],[]);break;case o.TokenType.dimension:y=new d.DimensionToken(f,{},null,null,[],[]);break;case o.TokenType.size:y=new d.SizeToken(f,{},null,null,[],[]);break;case o.TokenType.space:y=new d.SpaceToken(f,{},null,null,[],[]);break;case o.TokenType.opacity:y=new d.OpacityToken(f,{},null,null,[],[]);break;case o.TokenType.fontSize:y=new d.FontSizeToken(f,{},null,null,[],[]);break;case o.TokenType.lineHeight:y=new d.LineHeightToken(f,{},null,null,[],[]);break;case o.TokenType.letterSpacing:y=new d.LetterSpacingToken(f,{},null,null,[],[]);break;case o.TokenType.paragraphSpacing:y=new d.ParagraphSpacingToken(f,{},null,null,[],[]);break;case o.TokenType.borderWidth:y=new d.BorderWidthToken(f,{},null,null,[],[]);break;case o.TokenType.radius:y=new d.RadiusToken(f,{},null,null,[],[]);break;case o.TokenType.duration:y=new d.DurationToken(f,{},null,null,[],[]);break;case o.TokenType.zIndex:y=new d.ZIndexToken(f,{},null,null,[],[]);break;case o.TokenType.shadow:y=new l.ShadowToken(f,{},[],null,[],[]);break;case o.TokenType.string:y=new c.StringToken(f,{},null,null,[],[]);break;case o.TokenType.productCopy:y=new c.ProductCopyToken(f,{},null,null,[],[]);break;case o.TokenType.fontFamily:y=new c.FontFamilyToken(f,{},null,null,[],[]);break;case o.TokenType.fontWeight:y=new c.FontWeightToken(f,{},null,null,[],[]);break;case o.TokenType.typography:y=new h.TypographyToken(f,{},null,null,[],[]);break;case o.TokenType.textCase:y=new u.TextCaseToken(f,{},null,null,[],[]);break;case o.TokenType.textDecoration:y=new m.TextDecorationToken(f,{},null,null,[],[]);break;case o.TokenType.visibility:y=new g.VisibilityToken(f,{},null,null,[],[]);break;default:throw new r.UnreachableCaseError(e.tokenType,"Unsupported type:")}return y.id=e.id,y.idInVersion=e.idInVersion,y.brandId=e.brandId,y.themeId=t,y.designSystemVersionId=e.designSystemVersionId,y.name=e.name,y.description=e.description,y.tokenType=e.tokenType,y.origin=null!=n?n:null,y.parentGroupId=e.parentGroupId,y.sortOrder=e.sortOrder,y.properties=e.properties,y.propertyValues=e.propertyValues,y.createdAt=e.createdAt,y.updatedAt=e.updatedAt,y}static replicateTokenWithoutValue(e){let t;switch(e.tokenType){case o.TokenType.blur:t=new i.BlurToken("",{},null,null,[],[]);break;case o.TokenType.border:t=new a.BorderToken("",{},null,null,[],[]);break;case o.TokenType.color:t=new s.ColorToken("",{},null,null,[],[]);break;case o.TokenType.gradient:t=new p.GradientToken("",{},[],null,[],[]);break;case o.TokenType.dimension:t=new d.DimensionToken("",{},null,null,[],[]);break;case o.TokenType.size:t=new d.SizeToken("",{},null,null,[],[]);break;case o.TokenType.space:t=new d.SpaceToken("",{},null,null,[],[]);break;case o.TokenType.opacity:t=new d.OpacityToken("",{},null,null,[],[]);break;case o.TokenType.fontSize:t=new d.FontSizeToken("",{},null,null,[],[]);break;case o.TokenType.lineHeight:t=new d.LineHeightToken("",{},null,null,[],[]);break;case o.TokenType.letterSpacing:t=new d.LetterSpacingToken("",{},null,null,[],[]);break;case o.TokenType.paragraphSpacing:t=new d.ParagraphSpacingToken("",{},null,null,[],[]);break;case o.TokenType.borderWidth:t=new d.BorderWidthToken("",{},null,null,[],[]);break;case o.TokenType.radius:t=new d.RadiusToken("",{},null,null,[],[]);break;case o.TokenType.duration:t=new d.DurationToken("",{},null,null,[],[]);break;case o.TokenType.zIndex:t=new d.ZIndexToken("",{},null,null,[],[]);break;case o.TokenType.shadow:t=new l.ShadowToken("",{},[],null,[],[]);break;case o.TokenType.string:t=new c.StringToken("",{},null,null,[],[]);break;case o.TokenType.productCopy:t=new c.ProductCopyToken("",{},null,null,[],[]);break;case o.TokenType.fontFamily:t=new c.FontFamilyToken("",{},null,null,[],[]);break;case o.TokenType.fontWeight:t=new c.FontWeightToken("",{},null,null,[],[]);break;case o.TokenType.typography:t=new h.TypographyToken("",{},null,null,[],[]);break;case o.TokenType.textCase:t=new u.TextCaseToken("",{},null,null,[],[]);break;case o.TokenType.textDecoration:t=new m.TextDecorationToken("",{},null,null,[],[]);break;case o.TokenType.visibility:t=new g.VisibilityToken("",{},null,null,[],[]);break;default:throw new r.UnreachableCaseError(e.tokenType,"Unsupported type:")}return t.id=e.id,t.idInVersion=e.idInVersion,t.brandId=e.brandId,t.themeId=e.themeId,t.designSystemVersionId=e.designSystemVersionId,t.name=e.name,t.description=e.description,t.tokenType=e.tokenType,t.origin=e.origin,t.parentGroupId=e.parentGroupId,t.sortOrder=e.sortOrder,t.properties=e.properties,t.propertyValues=e.propertyValues,t.createdAt=e.createdAt,t.updatedAt=e.updatedAt,t}static replicateTokenWithValue(e){const t=this.replicateTokenWithoutValue(e);return t.value=(0,f.cloneDeep)(e.value),t}}},861:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenTheme=void 0;const r=n(7098),o=n(3788),i=n(8529),a=n(3380),s=n(2155),d=n(7046),p=n(6458),l=n(5590),c=n(2249),u=n(5443),m=n(477),h=n(465),g=n(8358);t.TokenTheme=class{constructor(e,t){this.id=e.persistentId,this.idInVersion=e.id,this.brandId=e.brandId,this.designSystemVersionId=t,this.name=e.meta.name,this.description=e.meta.description,this.codeName=e.codeName,this.createdAt=e.createdAt?new Date(e.createdAt):null,this.updatedAt=e.updatedAt?new Date(e.updatedAt):null,this.overriddenTokens=[]}addOverride(e){this.overriddenTokens.push(e)}addOverrides(e){this.overriddenTokens=this.overriddenTokens.concat(e)}toWriteObject(){var e;return{id:this.idInVersion,brandId:this.brandId,designSystemVersionId:this.designSystemVersionId,persistentId:this.id,meta:{name:this.name,description:null!==(e=this.description)&&void 0!==e?e:""},createdAt:this.createdAt?this.createdAt.toISOString():void 0,updatedAt:this.updatedAt?this.updatedAt.toISOString():void 0,codeName:this.codeName,overrides:this.tokensToOverrides()}}tokensToOverrides(){return this.overriddenTokens.map((e=>this.toWriteOverrideObject(e)))}toWriteOverrideObject(e){var t,n,r;const o={data:this.valueToWriteObject(e.value,e.tokenType,e),tokenPersistentId:e.id,type:e.tokenType,origin:e.origin?{id:null!==(t=e.origin.id)&&void 0!==t?t:void 0,name:null!==(n=e.origin.name)&&void 0!==n?n:void 0,sourceId:null!==(r=e.origin.sourceId)&&void 0!==r?r:void 0}:void 0,createdAt:e.createdAt?e.createdAt.toISOString():void 0,updatedAt:e.updatedAt?e.updatedAt.toISOString():void 0};if(!o.data.aliasTo&&!o.data.value)throw new Error("Token doesn't have value or alias to");return o}valueToWriteObject(e,t,n){switch(t){case o.TokenType.blur:return i.BlurToken.valueToWriteObject(e);case o.TokenType.border:return a.BorderToken.valueToWriteObject(e);case o.TokenType.color:return s.ColorToken.valueToWriteObject(e);case o.TokenType.gradient:return p.GradientToken.valueToWriteObject(e);case o.TokenType.dimension:return d.DimensionToken.valueToWriteObject(e);case o.TokenType.size:return d.SizeToken.valueToWriteObject(e);case o.TokenType.space:return d.SpaceToken.valueToWriteObject(e);case o.TokenType.opacity:return d.OpacityToken.valueToWriteObject(e);case o.TokenType.fontSize:return d.FontSizeToken.valueToWriteObject(e);case o.TokenType.lineHeight:return d.LineHeightToken.valueToWriteObject(e);case o.TokenType.letterSpacing:return d.LetterSpacingToken.valueToWriteObject(e);case o.TokenType.paragraphSpacing:return d.ParagraphSpacingToken.valueToWriteObject(e);case o.TokenType.borderWidth:return d.BorderWidthToken.valueToWriteObject(e);case o.TokenType.radius:return d.RadiusToken.valueToWriteObject(e);case o.TokenType.duration:return d.DurationToken.valueToWriteObject(e);case o.TokenType.zIndex:return d.ZIndexToken.valueToWriteObject(e);case o.TokenType.shadow:return l.ShadowToken.valueToWriteObject(e);case o.TokenType.string:return c.StringToken.valueToWriteObject(e);case o.TokenType.productCopy:return c.ProductCopyToken.valueToWriteObject(e);case o.TokenType.fontFamily:return c.FontFamilyToken.valueToWriteObject(e);case o.TokenType.fontWeight:return c.FontWeightToken.valueToWriteObject(e);case o.TokenType.typography:return h.TypographyToken.valueToWriteObject(e);case o.TokenType.textCase:return u.TextCaseToken.valueToWriteObject(e);case o.TokenType.textDecoration:return m.TextDecorationToken.valueToWriteObject(e);case o.TokenType.visibility:return g.VisibilityToken.valueToWriteObject(e);default:throw new r.UnreachableCaseError(t)}}}},8677:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenThemeOverride=void 0;const r=n(7098),o=n(3788),i=n(9981),a=n(8529),s=n(3380),d=n(2155),p=n(7046),l=n(6458),c=n(5590),u=n(2249),m=n(5443),h=n(477),g=n(465),f=n(8358);t.TokenThemeOverride=class{constructor(e,t){this.value=t,this.tokenId=e.tokenPersistentId,this.type=e.type,this.origin=e.origin?new i.TokenOrigin(e.origin):null,this.createdAt=e.createdAt?new Date(e.createdAt):null,this.updatedAt=e.updatedAt?new Date(e.updatedAt):null}toWriteObject(){var e,t,n;return{data:this.valueToWriteObject(this.value,this.type),tokenPersistentId:this.tokenId,type:this.type,origin:this.origin?{id:null!==(e=this.origin.id)&&void 0!==e?e:void 0,name:null!==(t=this.origin.name)&&void 0!==t?t:void 0,sourceId:null!==(n=this.origin.sourceId)&&void 0!==n?n:void 0}:void 0,createdAt:this.createdAt?this.createdAt.toISOString():void 0,updatedAt:this.updatedAt?this.updatedAt.toISOString():void 0}}valueToWriteObject(e,t){switch(t){case o.TokenType.blur:return a.BlurToken.valueToWriteObject(e);case o.TokenType.border:return s.BorderToken.valueToWriteObject(e);case o.TokenType.color:return d.ColorToken.valueToWriteObject(e);case o.TokenType.gradient:return l.GradientToken.valueToWriteObject(e);case o.TokenType.dimension:return p.DimensionToken.valueToWriteObject(e);case o.TokenType.size:return p.SizeToken.valueToWriteObject(e);case o.TokenType.space:return p.SpaceToken.valueToWriteObject(e);case o.TokenType.opacity:return p.OpacityToken.valueToWriteObject(e);case o.TokenType.fontSize:return p.FontSizeToken.valueToWriteObject(e);case o.TokenType.lineHeight:return p.LineHeightToken.valueToWriteObject(e);case o.TokenType.letterSpacing:return p.LetterSpacingToken.valueToWriteObject(e);case o.TokenType.paragraphSpacing:return p.ParagraphSpacingToken.valueToWriteObject(e);case o.TokenType.borderWidth:return p.BorderWidthToken.valueToWriteObject(e);case o.TokenType.radius:return p.RadiusToken.valueToWriteObject(e);case o.TokenType.duration:return p.DurationToken.valueToWriteObject(e);case o.TokenType.zIndex:return p.ZIndexToken.valueToWriteObject(e);case o.TokenType.shadow:return c.ShadowToken.valueToWriteObject(e);case o.TokenType.string:return u.StringToken.valueToWriteObject(e);case o.TokenType.productCopy:return u.ProductCopyToken.valueToWriteObject(e);case o.TokenType.fontFamily:return u.FontFamilyToken.valueToWriteObject(e);case o.TokenType.fontWeight:return u.FontWeightToken.valueToWriteObject(e);case o.TokenType.typography:return g.TypographyToken.valueToWriteObject(e);case o.TokenType.textCase:return m.TextCaseToken.valueToWriteObject(e);case o.TokenType.textDecoration:return h.TextDecorationToken.valueToWriteObject(e);case o.TokenType.visibility:return f.VisibilityToken.valueToWriteObject(e);default:throw new r.UnreachableCaseError(t)}}}},8529:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlurToken=void 0;const r=n(4379),o=n(3788),i=n(7046),a=n(494),s=n(3903);class d extends a.Token{constructor(e,t,n,r,i,a){super(t,e,i,a),this.tokenType=o.TokenType.blur,this.value=n,this.blurLayers=new Array,this.isVirtual=!1,r&&(this.value.referencedTokenId=r.id)}static create(e,t,n,i,a,p,l,c,u){const m={id:void 0,persistentId:(0,s.v4)(),brandId:t,designSystemVersionId:e,type:o.TokenType.blur,meta:{name:n,description:i},data:{},customPropertyOverrides:[]};if(null!=a){const t=this.blurValueFromDefinition(a,l);return new d(e,m,t,void 0,c,u)}if(p){const t={type:p.value.type,radius:p.value.radius,referencedTokenId:p.id};return new d(e,m,t,void 0,c,u)}throw r.SupernovaError.fromMessage("Border Token must be created using value or alias, but none was provided")}static blurValueFromDefinition(e,t){if(!e.hasOwnProperty("radius")||!e.hasOwnProperty("type"))throw r.SupernovaError.fromMessage(`Border definition is missing one of required properties (color, width), was ${JSON.stringify(e)}`);const n={};return n.radius=i.DimensionToken.dimensionValueFromDefinitionOrReference(e.width,t,o.TokenType.borderWidth),n.type=e.type,n}toWriteObject(){const e=this.toBaseWriteObject();return e.data=d.valueToWriteObject(this.value),e}static valueToWriteObject(e){var t;const n=e.referencedTokenId?void 0:{radius:{aliasTo:void 0,value:{measure:e.radius.measure,unit:e.radius.unit}},type:e.type};return{aliasTo:null!==(t=e.referencedTokenId)&&void 0!==t?t:void 0,value:n}}}t.BlurToken=d},3380:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BorderToken=void 0;const r=n(4379),o=n(1160),i=n(4546),a=n(3788),s=n(2155),d=n(7046),p=n(494),l=n(3903);class c extends p.Token{constructor(e,t,n,r,o,i){super(t,e,o,i),this.tokenType=a.TokenType.border,this.value=n,r&&(this.value.referencedTokenId=r.id)}static create(e,t,n,o,i,s,d,p,u){const m={id:void 0,persistentId:(0,l.v4)(),brandId:t,designSystemVersionId:e,type:a.TokenType.border,meta:{name:n,description:o},data:{},customPropertyOverrides:[]};if(null!=i){const t=this.borderValueFromDefinition(i,d);return new c(e,m,t,void 0,p,u)}if(s){const t={color:s.value.color,width:s.value.width,position:s.value.position,style:s.value.style,referencedTokenId:s.id};return new c(e,m,t,void 0,p,u)}throw r.SupernovaError.fromMessage("Border Token must be created using value or alias, but none was provided")}static borderValueFromDefinition(e,t){let n=e;if(n instanceof Array&&(n=n.length>0?n[0]:{color:"rgba(0,0,0,0)",position:"outside",style:"solid",width:0,type:"border"}),!e.hasOwnProperty("color")||!e.hasOwnProperty("width"))throw r.SupernovaError.fromMessage(`Border definition is missing one of required properties (color, width), was ${JSON.stringify(e)}`);const o={};if(o.color=s.ColorToken.colorValueFromDefinitionOrReference(e.color,t),o.position=this.toBorderPosition(e.position),o.style=this.toBorderStyle(e.style),o.width=d.DimensionToken.dimensionValueFromDefinitionOrReference(e.width,t,a.TokenType.borderWidth),void 0===o.color)throw new Error(`Unable to resolve value 'color' for border token definition \n${JSON.stringify(e,null,2)}\n Did you possibly use incorrect reference?`);if(void 0===o.position)throw new Error(`Unable to resolve value 'position' for border token definition \n${JSON.stringify(e,null,2)}\n Did you possibly use incorrect reference?`);if(void 0===o.width)throw new Error(`Unable to resolve value 'width' for border token definition \n${JSON.stringify(e,null,2)}\n Did you possibly use incorrect reference?`);return o}static toBorderStyle(e){var t;return null!==(t=i.ALL_BORDER_STYLES.find((t=>t.toLowerCase()===(null==e?void 0:e.toLowerCase()))))&&void 0!==t?t:i.BorderStyle.solid}static toBorderPosition(e){var t;return null!==(t=o.ALL_BORDER_POSITIONS.find((t=>t.toLowerCase()===(null==e?void 0:e.toLowerCase()))))&&void 0!==t?t:o.BorderPosition.outside}toWriteObject(){const e=this.toBaseWriteObject();return e.data=c.valueToWriteObject(this.value),e}static valueToWriteObject(e){var t,n,r,o;const i=e.referencedTokenId?void 0:{color:{aliasTo:null!==(t=e.color.referencedTokenId)&&void 0!==t?t:void 0,value:e.color.referencedTokenId?null:{color:s.ColorToken.colorValueToHex8(e.color),opacity:{aliasTo:null!==(n=e.color.opacity.referencedTokenId)&&void 0!==n?n:void 0,value:e.color.opacity.referencedTokenId?null:{measure:e.color.opacity.measure,unit:e.color.opacity.unit}}}},width:{aliasTo:null!==(r=e.width.referencedTokenId)&&void 0!==r?r:void 0,value:e.width.referencedTokenId?null:{measure:e.width.measure,unit:e.width.unit}},position:e.position,style:e.style};return{aliasTo:null!==(o=e.referencedTokenId)&&void 0!==o?o:void 0,value:i}}}t.BorderToken=c},2155:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ColorToken=void 0;const o=n(4379),i=n(3788),a=n(8607),s=n(7046),d=n(494),p=n(6739),l=r(n(9903)),c=n(3903),u=n(4385);class m extends d.Token{constructor(e,t,n,r,o,a){super(t,e,o,a),this.tokenType=i.TokenType.color,this.value=n,r&&(this.value.referencedTokenId=r.id)}static create(e,t,n,r,a,s,d,p){const l={id:void 0,persistentId:(0,c.v4)(),brandId:t,designSystemVersionId:e,type:i.TokenType.color,meta:{name:n,description:r},data:{},customPropertyOverrides:[]};if(null!=a){const t=this.colorValueFromDefinition(a);return new m(e,l,t,void 0,d,p)}if(s){const t={color:{r:s.value.color.r,g:s.value.color.g,b:s.value.color.b,referencedTokenId:s.value.color.referencedTokenId},opacity:s.value.opacity,referencedTokenId:s.id};return new m(e,l,t,void 0,d,p)}throw o.SupernovaError.fromMessage("Unable to create color token, no value or alias provided")}static colorValueFromDefinition(e){const t=this.normalizeColor(e),n=(0,l.default)(t);if(!n||!n.rgba)return console.log(`Unable to parse provided color value '${e}'. Hex, RGB, HSL, HSV or CMYK are supported. Fix the error to import the color value properly.`),{color:{r:255,b:255,g:255,referencedTokenId:void 0},opacity:{unit:a.Unit.raw,measure:1,referencedTokenId:void 0},referencedTokenId:void 0};const r=1===n.rgba[3]&&4===n.rgba.length?255:n.rgba[3],o=Math.round((r-0)/255*100)/100;const d=s.OpacityToken.dimensionValueFromDefinition(o,i.TokenType.opacity);return{color:{r:n.rgba[0],g:n.rgba[1],b:n.rgba[2],referencedTokenId:null},referencedTokenId:null,opacity:d}}static normalizeColor(e){try{if("string"!=typeof e)return e;const t=/#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})/g,n=/(hsla?\(.*?\))/g,r=/(rgba?\(.*?\))/g;let o=e;try{const e=Array.from(u(o,r),(e=>e[0])),i=Array.from(u(o,n),(e=>e[0]));i.length>0&&i.forEach((e=>{o=o.replace(e,(0,p.toHex)(e))})),e.length>0&&e.forEach((e=>{var n,r;const i=e,a=e.replace(/rgba?\(/g,"").replace(")",""),s=a.match(t);let d,l,c,u="1";s?([d,l,c]=(0,p.parseToRgba)(s[0]),u=null!==(r=null===(n=a.split(",").pop())||void 0===n?void 0:n.trim())&&void 0!==r?r:"0"):[d,l,c,u="1"]=a.split(",").map((e=>e.trim()));const m=this.normalizeOpacity(u);o=o.split(i).join((0,p.toHex)(`rgba(${d}, ${l}, ${c}, ${m})`))}))}catch(t){throw new Error(`Unable to parse provided color '${e}'. Supported formats are: \nrgb(r <number>, g <number>, b <number>)\nrgba(r <number>, g <number>, b <number>, a <number | percentage>\nhsl(h <number>, s <percentage>, l <percentage>>\nhsla(h <number>, s <percentage>, l <percentage>, a <number | percentage>\nred | blue | black ...)`)}return o}catch(e){throw e}}static normalizeOpacity(e){const t=e.match(/(\d+%)/);return t?Number(t[0].slice(0,-1))/100:Number(e)}static normalizedHex(e){return e?e.startsWith("#")?e.toLowerCase():`#${e}`.toLowerCase():null}static colorValueFromDefinitionOrReference(e,t){if(t.valueHasReference(e)){if(!t.isBalancedReference(e))throw new Error(`Invalid reference syntax in token value: ${e}`);if(t.valueIsPureReference(e)){const n=t.lookupReferencedToken(e);if(!n)return;return{referencedTokenId:n.id,color:{r:n.value.color.r,g:n.value.color.g,b:n.value.color.b,referencedTokenId:n.value.color.referencedTokenId},opacity:n.value.opacity}}const n=t.lookupAllReferencedTokens(e);if(!n)return;const r=t.replaceAllReferencedTokens(e,n);return this.colorValueFromDefinition(r)}return this.colorValueFromDefinition(e)}toHex6(){return m.colorValueToHex6(this.value)}toHex8(){return m.colorValueToHex8(this.value)}static hexToColorValue(e){const t=m.normalizedHex(e);if(!t)throw o.SupernovaError.fromMessage(`Unable to parse provided color '${e}'. Supported formats are: \nrgb(r <number>, g <number>, b <number>)\nrgba(r <number>, g <number>, b <number>, a <number | percentage>\nhsl(h <number>, s <percentage>, l <percentage>>\nhsla(h <number>, s <percentage>, l <percentage>, a <number | percentage>\nred | blue | black ...)`);const n=(0,p.parseToRgba)(t),r=s.OpacityToken.dimensionValueFromDefinition(n[3],i.TokenType.opacity);return{color:{r:n[0],g:n[1],b:n[2],referencedTokenId:null},opacity:r,referencedTokenId:null}}static colorValueToHex6(e){return`#${[e.color.r,e.color.g,e.color.b].map((e=>{const t=e.toString(16);return 1===t.length?`0${t}`:t})).join("").toLowerCase()}`}static colorValueToHex8(e){return`#${[e.color.r,e.color.g,e.color.b,Math.round(255*e.opacity.measure)].map((e=>{const t=e.toString(16);return 1===t.length?`0${t}`:t})).join("").toLowerCase()}`}static colorStringToNormalizedServerValue(e,t=!1){if(!e)return null;const n=(0,p.parseToRgba)(e),r=(0,p.toHex)(`rgba(${n[0]}, ${n[1]}, ${n[2]}, ${t?"1":n[3]})`).toLowerCase();return 7===r.length?`${r}ff`:r}static normalizedDefaultServerValue(){return"#000000ff"}updateWithRawValue(e){this.value=Object.assign(Object.assign({},e),{referencedTokenId:null})}updateWithReferencedValue(e){this.value={referencedTokenId:e.id,color:{r:e.value.color.r,g:e.value.color.g,b:e.value.color.b,referencedTokenId:e.value.referencedTokenId},opacity:e.value.opacity}}toWriteObject(){const e=this.toBaseWriteObject();return e.data=m.valueToWriteObject(this.value),e}static valueToWriteObject(e){var t,n;return{aliasTo:null!==(t=e.referencedTokenId)&&void 0!==t?t:void 0,value:e.referencedTokenId?null:{color:e.color.referencedTokenId?{aliasTo:e.color.referencedTokenId}:m.colorValueToHex8(e),opacity:{aliasTo:null!==(n=e.opacity.referencedTokenId)&&void 0!==n?n:void 0,value:e.opacity.referencedTokenId?null:{measure:e.opacity.measure,unit:e.opacity.unit}}}}}}t.ColorToken=m},7046:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveDimension=t.ZIndexToken=t.DurationToken=t.RadiusToken=t.BorderWidthToken=t.ParagraphSpacingToken=t.LetterSpacingToken=t.LineHeightToken=t.FontSizeToken=t.OpacityToken=t.SpaceToken=t.SizeToken=t.DimensionToken=t.DimensionCategoryToken=void 0;const r=n(4379),o=n(729),i=n(7098),a=n(3788),s=n(8607),d=n(494),p=n(3903);class l extends d.Token{constructor(e,t,n,r,o,i){super(t,e,o,i),this.value=n,r&&(this.value.referencedTokenId=r.id)}static create(e,t,n,o,i,a,d,c,u){var m;const h={id:void 0,persistentId:(0,p.v4)(),brandId:n,designSystemVersionId:t,type:e,meta:{name:o,description:i},data:{},customPropertyOverrides:[]};if(null!=a)return new this(t,h,l.dimensionValueFromDefinition(a,e),void 0,c,u);if(d){if(d.tokenType===e)return new this(t,h,{unit:s.Unit.pixels,measure:0,referencedTokenId:d.id},void 0,c,u);console.log(`Inlining alias ${d.id}: ${d.tokenType} into ${o}:${e}`);const n=new this(t,h,{unit:l.getCompatibleUnit(d.value.unit,e),measure:l.getCompatibleMeasure(d.value.unit,e,d.value.measure),referencedTokenId:null},void 0,c,u);return n.origin=Object.assign(Object.assign({},null!==(m=n.origin)&&void 0!==m?m:{id:null,name:null,sourceId:null}),{referencePersistentId:d.id}),n}throw r.SupernovaError.fromMessage("Dimension Token must be created using value or alias, but none was provided")}static getCompatibleUnit(e,t){switch(t){case a.TokenType.dimension:return e;case a.TokenType.size:case a.TokenType.space:case a.TokenType.fontSize:case a.TokenType.letterSpacing:case a.TokenType.paragraphSpacing:case a.TokenType.radius:return s.SIZE_UNITS.includes(e)?e:s.Unit.pixels;case a.TokenType.lineHeight:return s.LINE_HEIGHT_UNITS.includes(e)?e:s.Unit.raw;case a.TokenType.opacity:return s.Unit.raw;case a.TokenType.borderWidth:return s.Unit.pixels;case a.TokenType.duration:return s.Unit.ms;case a.TokenType.zIndex:return s.Unit.raw;default:throw new i.UnreachableCaseError(t)}}static getCompatibleMeasure(e,t,n){return t===a.TokenType.opacity&&e===s.Unit.percent?n/100:n}static getDefaultUnit(e,t){return a.RAW_DIMENSION_TOKEN_TYPES.includes(e)?s.Unit.raw:a.MS_DIMENSION_TOKEN_TYPES.includes(e)?s.Unit.ms:e===a.TokenType.lineHeight&&void 0!==t&&t<=10||e===a.TokenType.dimension&&void 0!==t?s.Unit.raw:s.Unit.pixels}static dimensionValueFromDefinition(e,t=a.TokenType.dimension){if("number"==typeof e)return{measure:e,unit:this.getDefaultUnit(t),referencedTokenId:null};const n=this.parseDimension(e,t);return{measure:n.measure,unit:n.unit,referencedTokenId:null}}static parseDimension(e,t){if("string"!=typeof e)return{measure:1,unit:this.getDefaultUnit(t)};const n=o.DTExpressionParser.reduceExpressionsToBaseForm(e);if("number"==typeof n)return{measure:Number.isNaN(n)||null==n?0:n,unit:this.getDefaultUnit(t,n)};let r=n.replace(" ",""),i=this.getDefaultUnit(t);n.endsWith("px")||n.endsWith("pt")?(r=r.substring(0,r.length-2),i=s.Unit.pixels):n.endsWith("%")?(r=r.substring(0,r.length-1),i=s.Unit.percent):n.endsWith("em")?(r=r.substring(0,r.length-2),i=s.Unit.rem):n.endsWith("ms")&&(r=r.substring(0,r.length-2),i=s.Unit.ms);let d=parseFloat(r);const p=!Number.isNaN(Number(n));return[a.TokenType.opacity,a.TokenType.zIndex].includes(t)?(i===s.Unit.percent&&t===a.TokenType.opacity&&(d/=100),i=s.Unit.raw):[a.TokenType.borderWidth].includes(t)?i=s.Unit.pixels:t===a.TokenType.duration?i=s.Unit.ms:[a.TokenType.size,a.TokenType.space,a.TokenType.fontSize,a.TokenType.paragraphSpacing,a.TokenType.letterSpacing,a.TokenType.radius].includes(t)&&!s.SIZE_UNITS.includes(i)?i=s.Unit.pixels:(t===a.TokenType.dimension&&p||t===a.TokenType.lineHeight&&(!s.LINE_HEIGHT_UNITS.includes(i)||p&&d<=10))&&(i=s.Unit.raw),{measure:Number.isNaN(d)||null==d?0:d,unit:i}}static dimensionValueFromDefinitionOrReference(e,t,n=a.TokenType.dimension){if(t.valueHasReference(e)){if(!t.isBalancedReference(e))throw new Error(`Invalid reference syntax in token value: ${e}`);if(t.valueIsPureReference(e)){const r=t.lookupReferencedToken(e);if(!r)return;return n===r.tokenType?{referencedTokenId:r.id,measure:r.value.measure,unit:r.value.unit}:(console.log(`Inlining reference ${r.id}: ${r.tokenType} into ${e}:${n}`),{unit:l.getCompatibleUnit(r.value.unit,n),measure:l.getCompatibleMeasure(r.value.unit,n,r.value.measure),referencedTokenId:null})}const r=t.lookupAllReferencedTokens(e);if(!r)return;const o=t.replaceAllReferencedTokens(e,r);return this.dimensionValueFromDefinition(o,n)}return this.dimensionValueFromDefinition(e,n)}toString(){return c.valueToString(this.value)}static valueToString(e,t={maxNumberOfDecimals:2,clipTrailingZeroes:!0}){return`${this.numberToString(e.measure,t)}${this.unitToString(e.unit)}`}static numberToString(e,t={maxNumberOfDecimals:2,clipTrailingZeroes:!0}){let n=e.toString();if(void 0!==(null==t?void 0:t.maxNumberOfDecimals)){const r=10**t.maxNumberOfDecimals;n=(Math.round(e*r)/r).toFixed(t.maxNumberOfDecimals)}return(null==t?void 0:t.clipTrailingZeroes)&&(n=parseFloat(n).toString()),`${n}`}static unitToString(e){switch(e){case s.Unit.pixels:return"px";case s.Unit.percent:return"%";case s.Unit.rem:return"rem";case s.Unit.ms:return"ms";case s.Unit.raw:return"";default:throw new Error(`Unknown unit: ${e}`)}}toWriteObject(){const e=this.toBaseWriteObject();return e.data=l.valueToWriteObject(this.value),e}static valueToWriteObject(e){var t;const n=e.referencedTokenId?void 0:{measure:Number.isNaN(e.measure)||void 0===e.measure||null===e.measure?0:e.measure,unit:e.unit};return{aliasTo:null!==(t=e.referencedTokenId)&&void 0!==t?t:void 0,value:n}}static valueToInternalWriteObject(e){return e?{unit:e.unit,measure:e.measure,referencedTokenId:void 0}:null}}t.DimensionCategoryToken=l;class c extends l{constructor(){super(...arguments),this.tokenType=a.TokenType.dimension}}t.DimensionToken=c;class u extends l{constructor(){super(...arguments),this.tokenType=a.TokenType.size}}t.SizeToken=u;class m extends l{constructor(){super(...arguments),this.tokenType=a.TokenType.space}}t.SpaceToken=m;class h extends l{constructor(){super(...arguments),this.tokenType=a.TokenType.opacity}}t.OpacityToken=h;class g extends l{constructor(){super(...arguments),this.tokenType=a.TokenType.fontSize}}t.FontSizeToken=g;class f extends l{constructor(){super(...arguments),this.tokenType=a.TokenType.lineHeight}}t.LineHeightToken=f;class y extends l{constructor(){super(...arguments),this.tokenType=a.TokenType.letterSpacing}}t.LetterSpacingToken=y;class v extends l{constructor(){super(...arguments),this.tokenType=a.TokenType.paragraphSpacing}}t.ParagraphSpacingToken=v;class k extends l{constructor(){super(...arguments),this.tokenType=a.TokenType.borderWidth}}t.BorderWidthToken=k;class T extends l{constructor(){super(...arguments),this.tokenType=a.TokenType.radius}}t.RadiusToken=T;class b extends l{constructor(){super(...arguments),this.tokenType=a.TokenType.duration}}t.DurationToken=b;class w extends l{constructor(){super(...arguments),this.tokenType=a.TokenType.zIndex}}t.ZIndexToken=w,t.resolveDimension=e=>{switch(e){case a.TokenType.dimension:return c;case a.TokenType.size:return u;case a.TokenType.space:return m;case a.TokenType.opacity:return h;case a.TokenType.fontSize:return g;case a.TokenType.lineHeight:return f;case a.TokenType.letterSpacing:return y;case a.TokenType.paragraphSpacing:return v;case a.TokenType.borderWidth:return k;case a.TokenType.radius:return T;case a.TokenType.duration:return b;case a.TokenType.zIndex:return w;default:throw new i.UnreachableCaseError(e)}}},6458:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GradientToken=void 0;const r=n(4379),o=n(1322),i=n(6961),a=n(1),s=n(3788),d=n(2155),p=n(494),l=n(3903);class c extends p.Token{constructor(e,t,n,r,o,i){super(t,e,o,i),this.tokenType=s.TokenType.gradient,this.value=n.map((e=>Object.assign({},e))),this.gradientLayers=new Array,this.isVirtual=!1,r&&(this.value=this.value.map((e=>Object.assign(Object.assign({},e),{referencedTokenId:r.id}))))}static create(e,t,n,o,i,a,d,p,u){const m={id:void 0,persistentId:(0,l.v4)(),brandId:t,designSystemVersionId:e,type:s.TokenType.gradient,meta:{name:n,description:o},data:{},customPropertyOverrides:[]};if(null!=i){const t=this.gradientValueFromDefinition(i,d);return new c(e,m,t,void 0,p,u)}if(a){const t=[];for(const e of a.value){const n={to:{x:e.to.x,y:e.to.y},from:{x:e.from.x,y:e.from.y},type:e.type,aspectRatio:e.aspectRatio,stops:e.stops,referencedTokenId:a.id};t.push(n)}return new c(e,m,t,void 0,p,u)}throw r.SupernovaError.fromMessage("Gradient Token must be created using value or alias, but none was provided")}static gradientValueFromDefinition(e,t){return e instanceof Array?e.map((e=>this.gradientSingleValueFromDefinition(e,t))):[this.gradientSingleValueFromDefinition(e,t)]}static gradientSingleValueFromDefinition(e,t){var n,r,s;let p=e.trim();p=i.StringUtils.replaceAll(p,"( ","("),p=i.StringUtils.replaceAll(p,", ",","),p=i.StringUtils.replaceAll(p," ,",","),p=p.substring(p.indexOf("(")+1,p.lastIndexOf(")")).replace(/, (?=[^()]*\))/g,",");const l=p.split(","),c=l[0];(2===l.length||l.length>2&&c&&(c.includes("#")||c.includes("rgb")||c.includes("hsl")||c.includes("hwb")||c.includes("lab")||c.includes("lch")||c.includes("%")||c.includes("{")))&&(p=`180deg,${p}`);const[u,...m]=i.StringUtils.splitIgnoringQuotedBracketedContent(p,","),h=-(parseFloat((null!=u?u:"180deg").split("deg").join(""))+90)*(Math.PI/180),g=e=>Math.round(1e4*e)/1e4,f={x:g(.5+.5*Math.cos(h)),y:g(.5-.5*Math.sin(h))},y={x:g(.5-.5*Math.cos(h)),y:g(.5+.5*Math.sin(h))},v=[];for(const e of m){const[t,...n]=e.split(" ");if(0!==n.length)for(const e of n)v.push([t,e]);else v.push([t,null])}const k=v[0],T=v[v.length-1];k&&null===k[1]&&(k[1]="0%"),T&&null===T[1]&&(T[1]="100%");for(let e=0;e<v.length;e+=1){const t=(0,o.sureOf)(v[e]),[i,a]=t;if(a)continue;const d=Number.parseFloat((0,o.sureOf)(null===(n=v[e-1])||void 0===n?void 0:n[1]));let p=Number.parseFloat((0,o.sureOf)(null===(r=v[v.length-1])||void 0===r?void 0:r[1])),l=1;for(;e+l<v.length;){const t=null===(s=v[e+l])||void 0===s?void 0:s[1];if(t){p=Number.parseFloat(t);break}l+=1}const c=(d+(p-d)/(l+1)).toFixed(4).replace(/0+$/,"");t[1]=`${c}%`}const b=v.map((([e,n])=>({color:d.ColorToken.colorValueFromDefinitionOrReference(null!=e?e:"red",t),position:parseFloat(null!=n?n:"100")/100})));return{from:f,to:y,type:a.GradientType.linear,aspectRatio:1,stops:b,referencedTokenId:null}}static gradientValueFromDefinitionOrReference(e,t){if(t.valueHasReference(e)){if(!t.isBalancedReference(e))throw new Error(`Invalid reference syntax in token value: ${e}`);if(t.valueIsPureReference(e)){const n=t.lookupReferencedToken(e);if(!n)return;const r=[];for(const e of n.value){const t={to:{x:e.to.x,y:e.to.y},from:{x:e.from.x,y:e.from.y},type:e.type,aspectRatio:e.aspectRatio,stops:e.stops,referencedTokenId:n.id};r.push(t)}return r}const n=t.lookupAllReferencedTokens(e);if(!n)return;const r=t.replaceAllReferencedTokens(e,n);return this.gradientValueFromDefinition(r,t)}return this.gradientValueFromDefinition(e,t)}toWriteObject(){const e=this.toBaseWriteObject();return e.data=c.valueToWriteObject(this.value),e}static valueToWriteObject(e){var t,n;const r=e.map((e=>this.singleValueToWriteObject(e))),o=e.every((t=>{var n;return!!t.referencedTokenId&&t.referencedTokenId===(null===(n=e[0])||void 0===n?void 0:n.referencedTokenId)})),i=o&&null!==(n=null===(t=e[0])||void 0===t?void 0:t.referencedTokenId)&&void 0!==n?n:void 0;return{aliasTo:i,value:i?void 0:r}}static singleValueToWriteObject(e){var t;const n=e.referencedTokenId?void 0:{to:{x:e.to.x,y:e.to.y},from:{x:e.from.x,y:e.from.y},type:e.type,aspectRatio:e.aspectRatio,stops:e.stops.map((e=>({position:e.position,color:{aliasTo:e.color.referencedTokenId?e.color.referencedTokenId:void 0,value:e.color.referencedTokenId?null:{color:d.ColorToken.colorValueToHex8(e.color),opacity:{value:{measure:e.color.opacity.measure,unit:e.color.opacity.unit}}}}})))};return{aliasTo:null!==(t=e.referencedTokenId)&&void 0!==t?t:void 0,value:n}}}t.GradientToken=c},5590:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ShadowToken=void 0;const r=n(4379),o=n(9125),i=n(3788),a=n(2155),s=n(7046),d=n(494),p=n(3903);class l extends d.Token{constructor(e,t,n,r,o,a){super(t,e,o,a),this.tokenType=i.TokenType.shadow,this.value=n.map((e=>Object.assign({},e))),this.shadowLayers=new Array,this.isVirtual=!1,r&&(this.value=this.value.map((e=>Object.assign(Object.assign({},e),{referencedTokenId:r.id}))))}static create(e,t,n,o,a,s,d,c,u){const m={id:void 0,persistentId:(0,p.v4)(),brandId:t,designSystemVersionId:e,type:i.TokenType.shadow,meta:{name:n,description:o},data:{},customPropertyOverrides:[]};if(null!=a){const t=this.shadowValueFromDefinition(a,d);return new l(e,m,t,void 0,c,u)}if(s){const t=[];for(const e of s.value){const n={color:e.color,x:e.x,y:e.y,spread:e.spread,radius:e.radius,opacity:e.opacity,type:e.type,referencedTokenId:s.id};t.push(n)}return new l(e,m,t,void 0,c,u)}throw r.SupernovaError.fromMessage("Shadow Token must be created using value or alias, but none was provided")}static shadowValueFromDefinition(e,t){return e instanceof Array?e.map((e=>this.shadowSingleValueFromDefinition(e,t))):[this.shadowSingleValueFromDefinition(e,t)]}static shadowTokenColorAndOpacityToHex8(e){var t,n;return`#${[e.color.color.r,e.color.color.g,e.color.color.b,Math.round(255*(null!==(n=null===(t=e.opacity)||void 0===t?void 0:t.measure)&&void 0!==n?n:e.color.opacity.measure))].map((e=>{const t=e.toString(16);return 1===t.length?`0${t}`:t})).join("").toLowerCase()}`}static shadowSingleValueFromDefinition(e,t){let n=e;if(n instanceof Array&&(n=n.length>0?n[0]:{x:0,y:0,blur:0,spread:0,color:"rgba(0,0,0,0)",type:"dropShadow"}),!(n.hasOwnProperty("x")&&n.hasOwnProperty("y")&&n.hasOwnProperty("blur")&&n.hasOwnProperty("spread")&&n.hasOwnProperty("color")&&n.hasOwnProperty("type")))throw r.SupernovaError.fromMessage(`Box Shadow definition is missing one of required properties (x, y, blur, spread, color, type), was ${JSON.stringify(e)}`);const d={};if(d.x=s.DimensionToken.dimensionValueFromDefinitionOrReference(e.x,t,i.TokenType.dimension).measure,d.y=s.DimensionToken.dimensionValueFromDefinitionOrReference(e.y,t,i.TokenType.dimension).measure,d.radius=s.DimensionToken.dimensionValueFromDefinitionOrReference(e.blur,t,i.TokenType.radius).measure,d.spread=s.DimensionToken.dimensionValueFromDefinitionOrReference(e.spread,t,i.TokenType.radius).measure,d.color=a.ColorToken.colorValueFromDefinitionOrReference(n.color,t),d.opacity=void 0,d.type="innerShadow"===n.type?o.ShadowType.inner:o.ShadowType.drop,void 0===d.x)throw new Error(`Unable to resolve value 'x' for shadow token definition \n${JSON.stringify(e,null,2)}\n Did you possibly use incorrect reference?`);if(void 0===d.y)throw new Error(`Unable to resolve value 'y' for shadow token definition \n${JSON.stringify(e,null,2)}\n Did you possibly use incorrect reference?`);if(void 0===d.radius)throw new Error(`Unable to resolve value 'radius' for shadow token definition \n${JSON.stringify(e,null,2)}\n Did you possibly use incorrect reference?`);if(void 0===d.spread)throw new Error(`Unable to resolve value 'spread' for shadow token definition \n${JSON.stringify(e,null,2)}\n Did you possibly use incorrect reference?`);if(void 0===d.color)throw new Error(`Unable to resolve value 'color' for shadow token definition \n${JSON.stringify(e,null,2)}\n Did you possibly use incorrect reference?`);if(void 0===d.type)throw new Error(`Unable to resolve value 'type' for shadow token definition \n${JSON.stringify(e,null,2)}\n Did you possibly use incorrect reference?`);return d}toWriteObject(){const e=this.toBaseWriteObject();return e.data=l.valueToWriteObject(this.value),e}static valueToWriteObject(e){var t,n;const r=e.map((e=>this.singleValueToWriteObject(e))),o=e.every((t=>{var n;return!!t.referencedTokenId&&t.referencedTokenId===(null===(n=e[0])||void 0===n?void 0:n.referencedTokenId)})),i=o&&null!==(n=null===(t=e[0])||void 0===t?void 0:t.referencedTokenId)&&void 0!==n?n:void 0;return{aliasTo:i,value:i?void 0:r}}static singleValueToWriteObject(e){var t,n,r;const o=e.referencedTokenId?void 0:{color:{aliasTo:null!==(t=e.color.referencedTokenId)&&void 0!==t?t:void 0,value:e.color.referencedTokenId?null:{color:a.ColorToken.colorValueToHex8(e.color),opacity:{value:{measure:e.color.opacity.measure,unit:e.color.opacity.unit}}}},x:e.x,y:e.y,spread:e.spread,radius:e.radius,opacity:e.opacity?{aliasTo:null!==(n=e.opacity.referencedTokenId)&&void 0!==n?n:void 0,value:e.opacity.referencedTokenId?null:{measure:e.opacity.measure,unit:e.opacity.unit}}:null,type:e.type};return{aliasTo:null!==(r=e.referencedTokenId)&&void 0!==r?r:void 0,value:o}}}t.ShadowToken=l},2249:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveString=t.FontWeightToken=t.FontFamilyToken=t.ProductCopyToken=t.StringToken=t.StringCategoryToken=void 0;const r=n(4379),o=n(7098),i=n(3788),a=n(494),s=n(3903);class d extends a.Token{constructor(e,t,n,r,o,i){super(t,e,o,i),this.value=n,r&&(this.value.referencedTokenId=r.id)}static create(e,t,n,o,i,a,d,p,l){var c;const u={id:void 0,persistentId:(0,s.v4)(),brandId:n,designSystemVersionId:t,type:e,meta:{name:o,description:i},data:{},customPropertyOverrides:[]};if(null!=a)return new this(t,u,{text:a.toString(),referencedTokenId:null},void 0,p,l);if(d)return new this(t,u,{text:null===(c=d.value)||void 0===c?void 0:c.text,referencedTokenId:d.id},void 0,p,l);throw r.SupernovaError.fromMessage("String Token must be created using value or alias, but none was provided")}static stringValueFromDefinitionOrReference(e,t,n){if(t.valueHasReference(e)){if(!t.isBalancedReference(e))throw new Error(`Invalid reference syntax in token value: ${e}`);if(t.valueIsPureReference(e)){const n=t.lookupReferencedToken(e);if(!n)return;return{referencedTokenId:n.id,text:n.value.text}}const r=t.lookupAllReferencedTokens(e);if(!r)return;const o=t.replaceAllReferencedTokens(e,r);return this.stringValueFromDefinition(o,n)}return this.stringValueFromDefinition(e,n)}static stringValueFromDefinition(e,t){return{text:e||"",referencedTokenId:null}}toWriteObject(){const e=this.toBaseWriteObject();return e.data=d.valueToWriteObject(this.value),e}static valueToWriteObject(e){var t;const n=e.referencedTokenId?void 0:e.text;return{aliasTo:null!==(t=e.referencedTokenId)&&void 0!==t?t:void 0,value:n}}}t.StringCategoryToken=d;class p extends d{constructor(){super(...arguments),this.tokenType=i.TokenType.string}}t.StringToken=p;class l extends d{constructor(){super(...arguments),this.tokenType=i.TokenType.productCopy}}t.ProductCopyToken=l;class c extends d{constructor(){super(...arguments),this.tokenType=i.TokenType.fontFamily}}t.FontFamilyToken=c;class u extends d{constructor(){super(...arguments),this.tokenType=i.TokenType.fontWeight}}t.FontWeightToken=u,t.resolveString=e=>{switch(e){case i.TokenType.string:return p;case i.TokenType.productCopy:return l;case i.TokenType.fontFamily:return c;case i.TokenType.fontWeight:return u;default:throw new o.UnreachableCaseError(e)}}},5443:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextCaseToken=void 0;const r=n(4379),o=n(922),i=n(3788),a=n(494),s=n(3903);class d extends a.Token{constructor(e,t,n,r,o,a){super(t,e,o,a),this.tokenType=i.TokenType.textCase,this.value=n,r&&(this.value.referencedTokenId=r.id)}static create(e,t,n,o,a,d,p,l){var c,u;const m={id:void 0,persistentId:(0,s.v4)(),brandId:t,designSystemVersionId:e,type:i.TokenType.textCase,meta:{name:n,description:o},data:{},customPropertyOverrides:[]};if(null!=a)return new this(e,m,this.textCaseFromDefinition(a),void 0,p,l);if(d)return new this(e,m,{value:null===(c=d.value)||void 0===c?void 0:c.value,options:null===(u=d.value)||void 0===u?void 0:u.options,referencedTokenId:d.id},void 0,p,l);throw r.SupernovaError.fromMessage("Text Case Token must be created using value or alias, but none was provided")}static textCaseFromDefinition(e){let t=o.TextCase.original;if(e&&"string"==typeof e){const n=e.toLowerCase().trim();t="camel"===n||"camelcase"===n||"capitalize"===n?o.TextCase.camel:"lower"===n||"lowercase"===n?o.TextCase.lower:"upper"===n||"uppercase"===n?o.TextCase.upper:"smallcaps"===n||"small_caps"===n||"small_caps_forced"===n?o.TextCase.smallCaps:o.TextCase.original}else t=o.TextCase.original;return{value:t,referencedTokenId:null}}toWriteObject(){const e=this.toBaseWriteObject();return e.data=d.valueToWriteObject(this.value),e}static valueToWriteObject(e){var t;const n=e.referencedTokenId?void 0:e.value;return{aliasTo:null!==(t=e.referencedTokenId)&&void 0!==t?t:void 0,value:n}}}t.TextCaseToken=d},477:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextDecorationToken=void 0;const r=n(4379),o=n(7098),i=n(7040),a=n(3788),s=n(5443),d=n(494),p=n(3903);class l extends d.Token{constructor(e,t,n,r,o,i){super(t,e,o,i),this.tokenType=a.TokenType.textDecoration,this.value=n,r&&(this.value.referencedTokenId=r.id)}static create(e,t,n,o,i,s,d,l){var c,u;const m={id:void 0,persistentId:(0,p.v4)(),brandId:t,designSystemVersionId:e,type:a.TokenType.textDecoration,meta:{name:n,description:o},data:{},customPropertyOverrides:[]};if(null!=i)return new this(e,m,this.textDecorationFromDefinition(i),void 0,d,l);if(s)return new this(e,m,{value:null===(c=s.value)||void 0===c?void 0:c.value,options:null===(u=s.value)||void 0===u?void 0:u.options,referencedTokenId:s.id},void 0,d,l);throw r.SupernovaError.fromMessage("Text Decoration Token must be created using value or alias, but none was provided")}static textDecorationFromDefinition(e){let t=i.TextDecoration.original;return t=e&&"string"==typeof e?"underline"===e?i.TextDecoration.underline:"strikethrough"===e||"line-through"===e?i.TextDecoration.strikethrough:i.TextDecoration.original:i.TextDecoration.original,{value:t,referencedTokenId:null}}static optionValueFromDefinitionOrReference(e,t,n){if(t.valueHasReference(e)){if(!t.isBalancedReference(e))throw new Error(`Invalid reference syntax in token value: ${e}`);if(t.valueIsPureReference(e)){const n=t.lookupReferencedToken(e);if(!n)return;return{value:n.value.value,options:n.value.options,referencedTokenId:n.id}}const r=t.lookupAllReferencedTokens(e);if(!r)return;const o=t.replaceAllReferencedTokens(e,r);return this.optionValueFromDefinition(o,n)}return this.optionValueFromDefinition(e,n)}static optionValueFromDefinition(e,t){switch(t){case a.TokenType.textDecoration:return l.textDecorationFromDefinition(e);case a.TokenType.textCase:return s.TextCaseToken.textCaseFromDefinition(e);case a.TokenType.visibility:return{value:e||"",referencedTokenId:null};default:throw new o.UnreachableCaseError(t)}}toWriteObject(){const e=this.toBaseWriteObject();return e.data=l.valueToWriteObject(this.value),e}static valueToWriteObject(e){var t;const n=e.referencedTokenId?void 0:e.value;return{aliasTo:null!==(t=e.referencedTokenId)&&void 0!==t?t:void 0,value:n}}}t.TextDecorationToken=l},494:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Token=void 0;const r=n(9981);t.Token=class{constructor(e,t,n,o,i=!1){if(!i){this.id=e.persistentId,this.idInVersion=e.id,this.brandId=e.brandId,this.themeId=null,this.designSystemVersionId=t,e.meta&&(this.name=e.meta.name,this.description=e.meta.description),this.tokenType=e.type,this.origin=e.originStyle?new r.TokenOrigin(e.originStyle):null,this.parentGroupId=null,this.createdAt=e.createdAt?new Date(e.createdAt):null,this.updatedAt=e.updatedAt?new Date(e.updatedAt):null,this.sortOrder=-1,this.properties=n,this.propertyValues={};for(const e of o)if(e.targetElementId===this.id)for(const t of n)t.id===e.definitionId&&(this.propertyValues[t.codeName]=e.value)}}setParentGroupId(e){this.parentGroupId=null!=e?e:null}setSortOrder(e){this.sortOrder=e}toBaseWriteObject(){var e,t,n,r,o,i;return{id:this.idInVersion,brandId:this.brandId,designSystemVersionId:this.designSystemVersionId,persistentId:this.id,type:this.tokenType,meta:{name:this.name,description:null!==(e=this.description)&&void 0!==e?e:""},originStyle:this.origin?{id:null!==(t=this.origin.id)&&void 0!==t?t:void 0,name:null!==(n=this.origin.name)&&void 0!==n?n:void 0,sourceId:null!==(r=this.origin.sourceId)&&void 0!==r?r:void 0,referenceOriginId:null!==(o=this.origin.referenceOriginId)&&void 0!==o?o:void 0,referencePersistentId:null!==(i=this.origin.referencePersistentId)&&void 0!==i?i:void 0}:void 0,customPropertyOverrides:[],data:void 0}}toWriteObject(){throw Error("Unable to write generic token")}}},2537:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenComparator=void 0;const r=n(7098),o=n(3788);class i{static isEqualTokenValue(e,t){if(e.tokenType!==t.tokenType)return!1;switch(e.tokenType){case o.TokenType.blur:return i.isEqualBlurTokenValue(e.value,t.value);case o.TokenType.border:return i.isEqualBorderTokenValue(e.value,t.value);case o.TokenType.color:return i.isEqualColorTokenValue(e.value,t.value);case o.TokenType.gradient:return i.isEqualGradientsTokenValue(e.value,t.value);case o.TokenType.dimension:case o.TokenType.size:case o.TokenType.space:case o.TokenType.opacity:case o.TokenType.fontSize:case o.TokenType.lineHeight:case o.TokenType.letterSpacing:case o.TokenType.paragraphSpacing:case o.TokenType.borderWidth:case o.TokenType.radius:case o.TokenType.duration:case o.TokenType.zIndex:return i.isEqualDimensionTokenValue(e.value,t.value);case o.TokenType.shadow:return i.isEqualShadowsTokenValue(e.value,t.value);case o.TokenType.string:case o.TokenType.productCopy:case o.TokenType.fontFamily:case o.TokenType.fontWeight:return i.isEqualStringTokenValue(e.value,t.value);case o.TokenType.textCase:case o.TokenType.textDecoration:case o.TokenType.visibility:return i.isEqualOptionTokenValue(e.value,t.value);case o.TokenType.typography:return i.isEqualTypographyTokenValue(e.value,t.value);default:throw new r.UnreachableCaseError(e.tokenType,"Unsupported token type for compasion:")}}static referencesSameToken(e,t){return e.referencedTokenId&&t.referencedTokenId&&e.referencedTokenId===t.referencedTokenId}static anyIsReference(e,t){return void 0!==e.referencedTokenId&&null!==e.referencedTokenId||void 0!==t.referencedTokenId&&null!==t.referencedTokenId}static isUndefinedValue(e,t){return!e&&!t}static isEqualBlurTokenValue(e,t){return!(!this.isUndefinedValue(e,t)&&!this.referencesSameToken(e,t))||e.type===t.type&&this.isEqualDimensionTokenValue(e.radius,t.radius)}static isEqualBorderTokenValue(e,t){return!(!this.isUndefinedValue(e,t)&&!this.referencesSameToken(e,t))||this.isEqualColorTokenValue(e.color,t.color)&&this.isEqualDimensionTokenValue(e.width,t.width)&&e.position===t.position}static isEqualColorTokenValue(e,t){return e.color.r===t.color.r&&e.color.g===t.color.g&&e.color.b===t.color.b&&e.opacity.measure===t.opacity.measure}static isEqualGradientsTokenValue(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n+=1)if(!this.isEqualGradientTokenValue(e[n],t[n]))return!1;return!0}static isEqualGradientTokenValue(e,t){return!(!this.isUndefinedValue(e,t)&&!this.referencesSameToken(e,t))||e.aspectRatio===t.aspectRatio&&e.from.x===t.from.x&&e.from.y===t.from.y&&e.to.x===t.to.x&&e.to.y===t.to.y&&e.type===t.type&&this.isEqualGradientStops(e.stops,t.stops)}static isEqualGradientStops(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n+=1){const r=e[n],o=t[n];if(!this.isEqualColorTokenValue(r.color,o.color)||r.position!==o.position)return!1}return!0}static isEqualDimensionTokenValue(e,t){return!!this.isUndefinedValue(e,t)||!(!e||!t)&&e.measure===t.measure&&e.unit===t.unit}static isEqualShadowsTokenValue(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n+=1)if(!this.isEqualShadowTokenValue(e[n],t[n]))return!1;return!0}static isEqualShadowTokenValue(e,t){return!(!this.isUndefinedValue(e,t)&&!this.referencesSameToken(e,t))||this.isEqualColorTokenValue(e.color,t.color)&&e.radius===t.radius&&e.spread===t.spread&&e.x===t.x&&e.y===t.y&&e.type===t.type&&this.isEqualDimensionTokenValue(e.opacity,t.opacity)}static isEqualStringTokenValue(e,t){return!!this.isUndefinedValue(e,t)||e.text===t.text}static isEqualOptionTokenValue(e,t){return!!this.isUndefinedValue(e,t)||e.value===t.value}static isEqualTypographyTokenValue(e,t){return!(!this.isUndefinedValue(e,t)&&!this.referencesSameToken(e,t))||this.isEqualStringTokenValue(e.fontFamily,t.fontFamily)&&this.isEqualStringTokenValue(e.fontWeight,t.fontWeight)&&this.isEqualDimensionTokenValue(e.fontSize,t.fontSize)&&this.isEqualDimensionTokenValue(e.letterSpacing,t.letterSpacing)&&this.isEqualDimensionTokenValue(e.lineHeight,t.lineHeight)&&this.isEqualDimensionTokenValue(e.paragraphIndent,t.paragraphIndent)&&this.isEqualDimensionTokenValue(e.paragraphSpacing,t.paragraphSpacing)&&e.textCase.value===t.textCase.value&&e.textDecoration.value===t.textDecoration.value}}t.TokenComparator=i},3437:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.replaceOriginReferencePersistentIdByIds=t.replaceReferencedTokenByIds=t.replaceReferencedToken=t.replaceReferencedTokenIds=t.checkSingleReferencedTokenById=t.getSingleReferencedTokenId=t.getReferencedTokens=void 0;const r=n(6458),o=n(5590);t.getReferencedTokens=(e,t)=>e instanceof o.ShadowToken||e instanceof r.GradientToken?e.value.map((e=>t.get(e.referencedTokenId))):e.value.referencedTokenId?[t.get(e.value.referencedTokenId)]:[],t.getSingleReferencedTokenId=(e,n)=>{const r=(0,t.getReferencedTokens)(e,n);if(1===r.length&&r[0])return r[0].id},t.checkSingleReferencedTokenById=(e,n,r)=>n&&(0,t.getSingleReferencedTokenId)(e,r)===n,t.replaceReferencedTokenIds=(e,n,r,o)=>{for(const i of(0,t.getReferencedTokens)(e,o))i&&i.id===n&&(i.id=r)},t.replaceReferencedToken=(e,n,r)=>{(0,t.replaceReferencedTokenByIds)(e,n.id,r.id),(0,t.replaceOriginReferencePersistentIdByIds)(e,n.id,r.id)},t.replaceReferencedTokenByIds=(e,t,n)=>{const r=null==e?void 0:e.value;if(r)if(Array.isArray(r))for(const e of r)(null==e?void 0:e.referencedTokenId)===t&&(e.referencedTokenId=n);else(null==r?void 0:r.referencedTokenId)===t&&(r.referencedTokenId=n)},t.replaceOriginReferencePersistentIdByIds=(e,t,n)=>{const r=null==e?void 0:e.origin;(null==r?void 0:r.referencePersistentId)&&r.referencePersistentId&&!Array.isArray(r.referencePersistentId)&&r.referencePersistentId===t&&(r.referencePersistentId=n)}},465:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TypographyToken=void 0;const r=n(4379),o=n(3788),i=n(8607),a=n(7046),s=n(2249),d=n(477),p=n(494),l=n(3903);class c extends p.Token{constructor(e,t,n,r,i,a){super(t,e,i,a),this.tokenType=o.TokenType.typography,this.value=n,r&&(this.value.referencedTokenId=r.id)}static create(e,t,n,i,a,s,d,p,u){const m={id:void 0,persistentId:(0,l.v4)(),brandId:t,designSystemVersionId:e,type:o.TokenType.typography,meta:{name:n,description:i},data:{},customPropertyOverrides:[]};if(null!=a){const t=this.typographyValueFromDefinition(a,d);return new c(e,m,t,void 0,p,u)}if(s){const t={fontFamily:s.value.fontFamily,fontWeight:s.value.fontWeight,fontSize:s.value.fontSize,letterSpacing:s.value.letterSpacing,lineHeight:s.value.lineHeight,paragraphIndent:s.value.paragraphIndent,paragraphSpacing:s.value.paragraphSpacing,textDecoration:s.value.textDecoration,textCase:s.value.textCase,referencedTokenId:s.id};return new c(e,m,t,void 0,p,u)}throw r.SupernovaError.fromMessage("Typography Token must be created using value or alias, but none was provided")}static typographyValueFromDefinition(e,t){const n={};return n.fontFamily=e.fontFamily?s.StringToken.stringValueFromDefinitionOrReference(e.fontFamily,t,o.TokenType.fontFamily):s.StringToken.stringValueFromDefinition("Roboto",o.TokenType.fontFamily),n.fontWeight=e.fontWeight?s.StringToken.stringValueFromDefinitionOrReference(e.fontWeight,t,o.TokenType.fontWeight):s.StringToken.stringValueFromDefinition("Regular",o.TokenType.fontWeight),n.fontSize=e.fontSize?a.DimensionToken.dimensionValueFromDefinitionOrReference(e.fontSize,t,o.TokenType.fontSize):a.DimensionToken.dimensionValueFromDefinition("12px",o.TokenType.fontSize),n.letterSpacing=e.letterSpacing?a.DimensionToken.dimensionValueFromDefinitionOrReference(e.letterSpacing,t,o.TokenType.letterSpacing):a.DimensionToken.dimensionValueFromDefinition("0",o.TokenType.letterSpacing),n.lineHeight=e.lineHeight?a.DimensionToken.dimensionValueFromDefinitionOrReference(e.lineHeight,t,o.TokenType.lineHeight):null,n.paragraphIndent=e.paragraphIndent?a.DimensionToken.dimensionValueFromDefinitionOrReference(e.paragraphIndent,t,o.TokenType.paragraphSpacing):a.DimensionToken.dimensionValueFromDefinition("0",o.TokenType.paragraphSpacing),n.paragraphSpacing=e.paragraphSpacing?a.DimensionToken.dimensionValueFromDefinitionOrReference(e.paragraphSpacing,t,o.TokenType.paragraphSpacing):a.DimensionToken.dimensionValueFromDefinition("0",o.TokenType.paragraphSpacing),n.paragraphIndent.referencedTokenId=null,n.referencedTokenId=void 0,n.textDecoration=d.TextDecorationToken.optionValueFromDefinitionOrReference(e.textDecoration,t,o.TokenType.textDecoration),n.textCase=d.TextDecorationToken.optionValueFromDefinitionOrReference(e.textCase,t,o.TokenType.textCase),n}toWriteObject(){const e=this.toBaseWriteObject();return e.data=c.valueToWriteObject(this.value),e}static valueToWriteObject(e){var t,n,r,o,a,s,d,p,l,c;const u=e.referencedTokenId?void 0:{fontFamily:{aliasTo:null!==(t=e.fontFamily.referencedTokenId)&&void 0!==t?t:void 0,value:e.fontFamily.referencedTokenId?null:e.fontFamily.text},fontWeight:{aliasTo:null!==(n=e.fontWeight.referencedTokenId)&&void 0!==n?n:void 0,value:e.fontWeight.referencedTokenId?null:e.fontWeight.text},fontSize:{aliasTo:null!==(r=e.fontSize.referencedTokenId)&&void 0!==r?r:void 0,value:e.fontSize.referencedTokenId?null:(e=>{const{unit:t,measure:n}=e;let r=n;return t===i.Unit.rem&&n<=0?r=.01:t!==i.Unit.rem&&n<1&&(r=1),{measure:r,unit:t}})(e.fontSize)},letterSpacing:{aliasTo:null!==(o=e.letterSpacing.referencedTokenId)&&void 0!==o?o:void 0,value:e.letterSpacing.referencedTokenId?null:{measure:e.letterSpacing.measure,unit:e.letterSpacing.unit}},paragraphIndent:{aliasTo:null!==(a=e.paragraphIndent.referencedTokenId)&&void 0!==a?a:void 0,value:e.paragraphIndent.referencedTokenId?null:{measure:e.paragraphIndent.measure,unit:e.paragraphIndent.unit}},paragraphSpacing:{aliasTo:null!==(s=e.paragraphSpacing.referencedTokenId)&&void 0!==s?s:void 0,value:e.paragraphSpacing.referencedTokenId?null:{measure:e.paragraphSpacing.measure,unit:e.paragraphSpacing.unit}},lineHeight:e.lineHeight?{aliasTo:null!==(d=e.lineHeight.referencedTokenId)&&void 0!==d?d:void 0,value:e.lineHeight.referencedTokenId?null:{measure:e.lineHeight.measure,unit:e.lineHeight.unit}}:null,textCase:{aliasTo:null!==(p=e.textCase.referencedTokenId)&&void 0!==p?p:void 0,value:e.textCase.referencedTokenId?null:e.textCase.value},textDecoration:{aliasTo:null!==(l=e.textDecoration.referencedTokenId)&&void 0!==l?l:void 0,value:e.textDecoration.referencedTokenId?null:e.textDecoration.value}};return{aliasTo:null!==(c=e.referencedTokenId)&&void 0!==c?c:void 0,value:u}}}t.TypographyToken=c},8358:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VisibilityToken=void 0;const r=n(4379),o=n(3788),i=n(494),a=n(3903);class s extends i.Token{constructor(e,t,n,r,i,a){super(t,e,i,a),this.tokenType=o.TokenType.visibility,this.value=n,r&&(this.value.referencedTokenId=r.id)}static create(e,t,n,i,s,d,p,l){var c,u;const m={id:void 0,persistentId:(0,a.v4)(),brandId:t,designSystemVersionId:e,type:o.TokenType.visibility,meta:{name:n,description:i},data:{},customPropertyOverrides:[]};if(null!=s)return new this(e,m,{value:s,referencedTokenId:null},void 0,p,l);if(d)return new this(e,m,{value:null===(c=d.value)||void 0===c?void 0:c.value,options:null===(u=d.value)||void 0===u?void 0:u.options,referencedTokenId:d.id},void 0,p,l);throw r.SupernovaError.fromMessage("Visibility Token must be created using value or alias, but none was provided")}toWriteObject(){const e=this.toBaseWriteObject();return e.data=s.valueToWriteObject(this.value),e}static valueToWriteObject(e){var t;const n=e.referencedTokenId?void 0:e.value;return{aliasTo:null!==(t=e.referencedTokenId)&&void 0!==t?t:void 0,value:n}}}t.VisibilityToken=s},7228:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.User=void 0;const r=n(2455);class o{constructor(e){var t;this.id=e.id,this.email=e.email,this.profile=new r.UserProfile(e.profile),this.createdAt=e.createdAt?new Date(e.createdAt):null,this.linkedIntegrations=null!==(t=e.linkedIntegrations)&&void 0!==t?t:null}toRemote(){return{id:this.id,email:this.email,profile:this.profile.toRemote(),createdAt:this.createdAt?this.createdAt.toISOString():"",linkedIntegrations:this.linkedIntegrations}}toTransport(){return{id:this.id,email:this.email,profile:this.profile.toTransport(),createdAt:this.createdAt?this.createdAt.toISOString():"",linkedIntegrations:this.linkedIntegrations}}static fromTransport(e){return new o(e)}get displayName(){return this.profile.name||this.email}}t.User=o},2336:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserMembership=void 0;const r=n(7228);t.UserMembership=class{constructor(e){this.user=new r.User(e.user),this.role=e.role,this.effectiveRole=e.effectiveRole}toRemote(){return{user:this.user.toRemote(),role:this.role,effectiveRole:this.effectiveRole}}}},2455:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserProfile=void 0;class n{constructor(e){var t,n,r,o,i,a,s,d,p,l,c;this.name=null!==(t=e.name)&&void 0!==t?t:"",this.nickname=null!==(n=e.nickname)&&void 0!==n?n:null,this.avatar=null!==(r=e.avatar)&&void 0!==r?r:null,this.onboarding=e.onboarding?{companyName:null!==(o=e.onboarding.companyName)&&void 0!==o?o:null,numberOfPeopleInOrg:null!==(i=e.onboarding.numberOfPeopleInOrg)&&void 0!==i?i:null,numberOfPeopleInDesignTeam:null!==(a=e.onboarding.numberOfPeopleInDesignTeam)&&void 0!==a?a:null,department:null!==(s=e.onboarding.department)&&void 0!==s?s:null,jobTitle:null!==(d=e.onboarding.jobTitle)&&void 0!==d?d:null,phase:null!==(p=e.onboarding.phase)&&void 0!==p?p:null,jobLevel:null!==(l=e.onboarding.jobLevel)&&void 0!==l?l:null}:null,this.isOnboardingFinished="finished"===(null===(c=e.onboarding)||void 0===c?void 0:c.phase)}toProfileUpdateObject(){var e,t;return{name:null!==(e=this.name)&&void 0!==e?e:void 0,nickname:null!==(t=this.nickname)&&void 0!==t?t:void 0}}toOnboardingUpdateObject(){var e,t,n,r,o,i,a;const{onboarding:s}=this;return{companyName:null!==(e=s.companyName)&&void 0!==e?e:void 0,numberOfPeopleInOrg:null!==(t=s.numberOfPeopleInOrg)&&void 0!==t?t:void 0,numberOfPeopleInDesignTeam:null!==(n=s.numberOfPeopleInDesignTeam)&&void 0!==n?n:void 0,department:null!==(r=s.department)&&void 0!==r?r:void 0,jobTitle:null!==(o=s.jobTitle)&&void 0!==o?o:void 0,phase:null!==(i=s.phase)&&void 0!==i?i:void 0,jobLevel:null!==(a=s.jobLevel)&&void 0!==a?a:void 0}}toRemote(){var e;return{name:this.name,nickname:this.nickname,avatar:this.avatar,onboarding:null!==(e={companyName:this.onboarding.companyName,numberOfPeopleInOrg:this.onboarding.numberOfPeopleInOrg,numberOfPeopleInDesignTeam:this.onboarding.numberOfPeopleInDesignTeam,department:this.onboarding.department,jobTitle:this.onboarding.jobTitle,phase:this.onboarding.phase,jobLevel:this.onboarding.jobLevel})&&void 0!==e?e:null}}toTransport(){return this.toRemote()}static fromTransport(e){return new n(e)}}t.UserProfile=n},9058:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Workspace=void 0;const r=n(6421);class o{constructor(e){this.id=e.id,this.profile=new r.WorkspaceProfile(e.profile)}toRemote(){return{id:this.id,profile:this.profile.toRemote()}}toTransport(){return{id:this.id,profile:this.profile.toTransport()}}static fromTransport(e){return new o(e)}}t.Workspace=o},8771:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceIPWhitelistSettings=void 0;class n{constructor(e){this.isEnabledForCloud=e.isEnabledForCloud,this.isEnabledForDocs=e.isEnabledForDocs,this.entries=e.entries.map((e=>({isEnabled:e.isEnabled,name:e.name,range:e.range})))}static initial(){return new n({isEnabledForCloud:!1,isEnabledForDocs:!1,entries:[]})}toUpdateObject(){return{isEnabledForCloud:this.isEnabledForCloud,isEnabledForDocs:this.isEnabledForDocs,entries:this.entries}}toRemote(){return{isEnabledForCloud:this.isEnabledForCloud,isEnabledForDocs:this.isEnabledForDocs,entries:this.entries}}toTransport(){return this.toRemote()}static fromTransport(e){return new n(e)}}t.WorkspaceIPWhitelistSettings=n},9853:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceInvitation=void 0;class n{constructor(e){this.id=e.id,this.email=e.email,this.createdAt=new Date(e.createdAt),this.resentAt=e.resentAt?new Date(e.resentAt):null,this.role=e.role,this.workspaceId=e.workspaceId,this.invitedBy=e.invitedBy}toRemote(){var e;return{id:this.id,email:this.email,createdAt:this.createdAt.toISOString(),resentAt:null===(e=this.resentAt)||void 0===e?void 0:e.toISOString(),role:this.role,workspaceId:this.workspaceId,invitedBy:this.invitedBy}}toTransport(){return this.toRemote()}static fromTransport(e){return new n(e)}}t.WorkspaceInvitation=n},7579:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceInvoice=void 0;class n{constructor(e){this.id=e.id,this.number=e.number,this.amount_due=e.amount_due,this.date=new Date(e.date),this.hostedUrl=e.hostedUrl,e.card?this.card={last4:e.card.last4||null,expiryMonth:e.card.expiryMonth||null,expiryYear:e.card.expiryYear||null,brand:e.card.brand||null}:this.card=null}toRemote(){return{id:this.id,number:this.number,amount_due:this.amount_due,date:this.date.toISOString(),hostedUrl:this.hostedUrl,card:this.card}}toTransport(){return this.toRemote()}static fromTransport(e){return new n(e)}}t.WorkspaceInvoice=n},835:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceNPMRegistrySettings=void 0;const r=n(6298),o=n(7968);class i{constructor(e){var t,n,r,o,i;this.registryType=e.registryType,this.authType=e.authType,this.enabledScopes=e.enabledScopes,this.registryUrl=e.registryUrl,this.proxyUrl=e.proxyUrl,this.username=null!==(t=e.username)&&void 0!==t?t:null,this.customRegistryUrl=null!==(n=e.customRegistryUrl)&&void 0!==n?n:null,this.bypassProxy=null!==(r=e.bypassProxy)&&void 0!==r?r:null,this.accessToken=null!==(o=e.accessToken)&&void 0!==o?o:null,this.password=null!==(i=e.password)&&void 0!==i?i:null}static initial(){return new i({registryType:o.WorkspaceNPMRegistryType.npmJS,authType:r.WorkspaceNPMRegistryAuthType.basic,enabledScopes:[],registryUrl:"",proxyUrl:""})}toUpdateObject(){var e,t,n,r,o;return{registryType:this.registryType,authType:this.authType,enabledScopes:this.enabledScopes,username:null!==(e=this.username)&&void 0!==e?e:void 0,customRegistryUrl:null!==(t=this.customRegistryUrl)&&void 0!==t?t:void 0,bypassProxy:null!==(n=this.bypassProxy)&&void 0!==n?n:void 0,accessToken:null!==(r=this.accessToken)&&void 0!==r?r:void 0,password:null!==(o=this.password)&&void 0!==o?o:void 0}}toRemote(){var e,t,n,r,o;return{registryType:this.registryType,authType:this.authType,username:null!==(e=this.username)&&void 0!==e?e:void 0,customRegistryUrl:null!==(t=this.customRegistryUrl)&&void 0!==t?t:void 0,enabledScopes:this.enabledScopes,bypassProxy:null!==(n=this.bypassProxy)&&void 0!==n?n:void 0,accessToken:null!==(r=this.accessToken)&&void 0!==r?r:void 0,password:null!==(o=this.password)&&void 0!==o?o:void 0,registryUrl:this.registryUrl,proxyUrl:this.proxyUrl}}toTransport(){return this.toRemote()}static fromTransport(e){return new i(e)}}t.WorkspaceNPMRegistrySettings=i},9035:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceOnboarding=void 0;class n{constructor(e){var t;this.supernovaTokenCreated=e.supernovaTokenCreated,this.codeExported=e.codeExported,this.hookCreated=e.hookCreated,this.documentationPublished=e.documentationPublished,this.assetsExported=e.assetsExported,this.componentCreated=e.componentCreated,this.designSystemSourceCreated=null!==(t=e.designSystemSourceCreated)&&void 0!==t&&t}static initial(){return new n({supernovaTokenCreated:!1,codeExported:!1,hookCreated:!1,documentationPublished:!1,assetsExported:!1,componentCreated:!1,designSystemSourceCreated:!1})}toUpdateObject(){return{supernovaTokenCreated:this.supernovaTokenCreated,codeExported:this.codeExported,hookCreated:this.hookCreated,documentationPublished:this.documentationPublished,assetsExported:this.assetsExported,componentCreated:this.componentCreated,designSystemSourceCreated:this.designSystemSourceCreated}}toRemote(){return{supernovaTokenCreated:this.supernovaTokenCreated,codeExported:this.codeExported,hookCreated:this.hookCreated,documentationPublished:this.documentationPublished,assetsExported:this.assetsExported,componentCreated:this.componentCreated,designSystemSourceCreated:this.designSystemSourceCreated}}toTransport(){return this.toRemote()}static fromTransport(e){return new n(e)}}t.WorkspaceOnboarding=n},6907:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceProduct=void 0;const r=n(3418);class o{constructor(e){this.code=e.code,this.allowedInviteRoles=e.allowedInviteRoles,this.prices=e.prices.map((e=>new r.WorkspaceProductPrice(e)))}toRemote(){return{code:this.code,allowedInviteRoles:this.allowedInviteRoles,prices:this.prices.map((e=>e.toRemote()))}}toTransport(){return this.toRemote()}static fromTransport(e){return new o(e)}}t.WorkspaceProduct=o},5772:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SubscriptionProductFeatures=void 0,t.SubscriptionProductFeatures=class{constructor(e){this.free=e.free,this.team=e.team,this.company=e.company,this.enterprise=e.enterprise}}},3418:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceProductPrice=void 0;class n{constructor(e){this.stripePriceId=e.stripePriceId,this.stripeProductId=e.stripeProductId,this.stripeProductDescription=e.stripeProductDescription,this.stripeProductFeatures=e.stripeProductFeatures,this.stripeProductAdditionalFeatures=e.stripeProductAdditionalFeatures,this.active=e.active,this.amount=e.amount,this.interval=e.interval,this.isPricePerCreator=e.isPricePerCreator,this.legacyVersion=e.legacyVersion||null}toRemote(){return{stripePriceId:this.stripePriceId,stripeProductId:this.stripeProductId,stripeProductDescription:this.stripeProductDescription,stripeProductFeatures:this.stripeProductFeatures,stripeProductAdditionalFeatures:this.stripeProductAdditionalFeatures,active:this.active,amount:this.amount,interval:this.interval,isPricePerCreator:this.isPricePerCreator,legacyVersion:this.legacyVersion}}toTransport(){return this.toRemote()}static fromTransport(e){return new n(e)}}t.WorkspaceProductPrice=n},6421:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceProfile=void 0;class n{constructor(e){var t,n,r,o,i,a,s,d,p,l,c,u,m,h;this.name=e.name,this.handle=e.handle,this.color=e.color,this.avatar=null!==(t=e.avatar)&&void 0!==t?t:null,this.billingDetails=e.billingDetails?{firstName:null!==(n=e.billingDetails.firstName)&&void 0!==n?n:null,lastName:null!==(r=e.billingDetails.lastName)&&void 0!==r?r:null,address:e.billingDetails.address?{postal:null!==(o=e.billingDetails.address.postal)&&void 0!==o?o:null,street1:null!==(i=e.billingDetails.address.street1)&&void 0!==i?i:null,street2:null!==(a=e.billingDetails.address.street2)&&void 0!==a?a:null,city:null!==(s=e.billingDetails.address.city)&&void 0!==s?s:null,country:null!==(d=e.billingDetails.address.country)&&void 0!==d?d:null,state:null!==(p=e.billingDetails.address.state)&&void 0!==p?p:null}:null,email:null!==(l=e.billingDetails.email)&&void 0!==l?l:null,companyName:null!==(c=e.billingDetails.companyName)&&void 0!==c?c:null,companyId:null!==(u=e.billingDetails.companyId)&&void 0!==u?u:null,notes:null!==(m=e.billingDetails.notes)&&void 0!==m?m:null,vat:null!==(h=e.billingDetails.vat)&&void 0!==h?h:null}:null}toProfileUpdateObject(){return{name:this.name,handle:this.handle,color:this.color}}toRemote(){var e,t,n,r,o,i,a,s,d,p,l,c,u,m,h,g,f,y,v,k,T,b,w,S,I,D,_,P,x;return{name:this.name,handle:this.handle,color:this.color,avatar:null!==(e=this.avatar)&&void 0!==e?e:void 0,billingDetails:null!==(x={firstName:null!==(n=null===(t=this.billingDetails)||void 0===t?void 0:t.firstName)&&void 0!==n?n:void 0,lastName:null!==(o=null===(r=this.billingDetails)||void 0===r?void 0:r.lastName)&&void 0!==o?o:void 0,address:(null===(i=this.billingDetails)||void 0===i?void 0:i.address)?{postal:null!==(s=null===(a=this.billingDetails)||void 0===a?void 0:a.address.postal)&&void 0!==s?s:void 0,street1:null!==(p=null===(d=this.billingDetails)||void 0===d?void 0:d.address.street1)&&void 0!==p?p:void 0,street2:null!==(c=null===(l=this.billingDetails)||void 0===l?void 0:l.address.street2)&&void 0!==c?c:void 0,city:null!==(m=null===(u=this.billingDetails)||void 0===u?void 0:u.address.city)&&void 0!==m?m:void 0,country:null!==(g=null===(h=this.billingDetails)||void 0===h?void 0:h.address.country)&&void 0!==g?g:void 0,state:null!==(y=null===(f=this.billingDetails)||void 0===f?void 0:f.address.state)&&void 0!==y?y:void 0}:void 0,email:null!==(k=null===(v=this.billingDetails)||void 0===v?void 0:v.email)&&void 0!==k?k:void 0,companyName:null!==(b=null===(T=this.billingDetails)||void 0===T?void 0:T.companyName)&&void 0!==b?b:void 0,companyId:null!==(S=null===(w=this.billingDetails)||void 0===w?void 0:w.companyId)&&void 0!==S?S:void 0,notes:null!==(D=null===(I=this.billingDetails)||void 0===I?void 0:I.notes)&&void 0!==D?D:void 0,vat:null!==(P=null===(_=this.billingDetails)||void 0===_?void 0:_.vat)&&void 0!==P?P:void 0})&&void 0!==x?x:void 0}}toTransport(){return this.toRemote()}static fromTransport(e){return new n(e)}}t.WorkspaceProfile=n},1062:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceSSOSettings=void 0;class n{constructor(e){this.providerId=e.providerId,this.defaultAutoInviteValue=e.defaultAutoInviteValue,this.autoInviteDomains=e.autoInviteDomains,this.areInvitesDisabled=e.areInvitesDisabled}toUpdateObject(){return{providerId:this.providerId,defaultAutoInviteValue:this.defaultAutoInviteValue,autoInviteDomains:this.autoInviteDomains,areInvitesDisabled:this.areInvitesDisabled}}toRemote(){return{providerId:this.providerId,defaultAutoInviteValue:this.defaultAutoInviteValue,autoInviteDomains:this.autoInviteDomains,areInvitesDisabled:this.areInvitesDisabled}}toTransport(){return this.toRemote()}static fromTransport(e){return new n(e)}}t.WorkspaceSSOSettings=n},7975:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceSubscription=void 0;class n{constructor(e){var t,n,r,o;this.status=e.status,this.seatLimit=e.seatLimit,this.seats=e.seats,this.product=e.product,this.planInterval=e.planInterval,this.planPriceId=e.planPriceId,this.currentPeriodStart=e.currentPeriodStart?new Date(e.currentPeriodStart):null,this.currentPeriodEnd=e.currentPeriodEnd?new Date(e.currentPeriodEnd):null,this.stripeCustomerId=null!==(t=e.stripeCustomerId)&&void 0!==t?t:null,this.stripeSubscriptionId=null!==(n=e.stripeSubscriptionId)&&void 0!==n?n:null,this.card=e.card?{last4:e.card.last4,expiryMonth:e.card.expiryMonth,expiryYear:e.card.expiryYear,brand:null!==(r=e.card.brand)&&void 0!==r?r:null}:null,this.amount=e.amount,this.stripeProductDescription=e.stripeProductDescription,this.subscriptionStatusUpdatedAt=e.subscriptionStatusUpdatedAt?new Date(e.subscriptionStatusUpdatedAt):null,this.legacyVersion=null!==(o=e.legacyVersion)&&void 0!==o?o:null,this.isPricePerCreator=e.isPricePerCreator,this.stripeProductFeatures=e.stripeProductFeatures,this.stripeProductAdditionalFeatures=e.stripeProductAdditionalFeatures,this.featuresSummary=e.featuresSummary}toRemote(){var e,t;return{status:this.status,seatLimit:this.seatLimit,seats:this.seats,product:this.product,planInterval:this.planInterval,planPriceId:this.planPriceId,stripeCustomerId:null!==(e=this.stripeCustomerId)&&void 0!==e?e:void 0,stripeSubscriptionId:null!==(t=this.stripeSubscriptionId)&&void 0!==t?t:void 0,card:this.card,currentPeriodStart:this.currentPeriodStart?this.currentPeriodStart.toISOString():void 0,currentPeriodEnd:this.currentPeriodEnd?this.currentPeriodEnd.toISOString():void 0,amount:this.amount,stripeProductDescription:this.stripeProductDescription,subscriptionStatusUpdatedAt:this.subscriptionStatusUpdatedAt.toISOString(),legacyVersion:this.legacyVersion,isPricePerCreator:this.isPricePerCreator,stripeProductFeatures:this.stripeProductFeatures,stripeProductAdditionalFeatures:this.stripeProductAdditionalFeatures,featuresSummary:this.featuresSummary}}toTransport(){return this.toRemote()}static fromTransport(e){return new n(e)}}t.WorkspaceSubscription=n},2802:(e,t)=>{"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.PulsarExecutor=t.OutputFileType=void 0,(r=t.OutputFileType||(t.OutputFileType={})).copyRemoteUrl="copyRemoteUrl",r.text="text",r.binary="binary",(n=t.PulsarExecutor||(t.PulsarExecutor={})).supernova="supernova",n.local="local"},4984:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SupernovaToolsDesignTokensPlugin=void 0;const o=n(4652),i=n(7381),a=n(6788),s=n(1322),d=n(1599),p=n(2925),l=n(4936),c=n(8457),u=n(2114),m=n(8067),h=n(6562),g=r(n(5250));t.SupernovaToolsDesignTokensPlugin=class{constructor(e,t,n,r=new a.Logger){this.sortMultiplier=100,this.designSystemId=e,this.versionId=t,this.instance=n,this.logger=r}async synchronizeTokensFromData(e,t,n){const{logs:r}=await this.synchronizeTokensFromDataWithResults(e,t,n);return{result:!0,logs:r}}async synchronizeTokensFromDataWithResults(e,t,n){const r=[],o=await this.instance.brands.getBrands({designSystemId:this.designSystemId,versionId:this.versionId}),i=await this.instance.tokens.getTokenThemes({designSystemId:this.designSystemId,versionId:this.versionId}),a=await this.instance.dataSources.getDataSources({designSystemId:this.designSystemId,versionId:this.versionId}),s=new l.DTJSONParser(this.logger).processPluginDataRepresentation(e);this.processTokenNodes(s,t,o,n.verbose);for(const e of t){if(e.bindToTheme)continue;const t=o.find((t=>t.id===e.bindToBrand||e.bindToBrand.toLowerCase().trim()===t.name.toLowerCase().trim()));if(!t)throw new Error(`Unknown brand ${e.bindToBrand}\n provided in binding.\n\nAvailable brands in this design system: [${o.map((e=>`${e.name} (id: ${e.id})`))}]`);this.setTokensOrigin(e,t,a);const i=await this.mergeWithRemoteSource(e.processedNodes,t,!n.dryRun,n.verbose,n.preciseCopy);r.push({map:g.default.pick(e,["bindToBrand","bindToTheme","pluginSets","pluginTheme","type"]),tokensCreated:i.diff.toCreate.map((e=>e.token.id)),tokensUpdated:i.diff.toUpdate.map((e=>e.token.id)),tokensDeleted:i.diff.toDelete.map((e=>e.token.id))}),n.verbose&&this.logger.log(`✅ (task done) Synchronized base tokens for brand ${t.name}`)}for(const e of t){if(!e.bindToTheme)continue;const t=o.find((t=>t.id===e.bindToBrand||e.bindToBrand.toLowerCase().trim()===t.name.toLowerCase().trim()));if(!t)throw new Error(`Unknown brand ${e.bindToBrand}\n provided in binding.\n\nAvailable brands in this design system: [${o.map((e=>`${e.name} (id: ${e.id})`))}]`);const s=i.filter((n=>n.brandId===t.id&&(n.id===e.bindToTheme||e.bindToTheme.toLowerCase().trim()===n.name.toLowerCase().trim()||e.bindToTheme.toLowerCase().trim()===n.codeName.toLowerCase().trim())));if(s.length>1)throw new Error(`Ambiguous theme ${e.bindToTheme}\n provided in binding.\n\nPlease, use unique name in mapping or rename theme name or code in Supernova.\n\nAvailable themes in this design system: ${o.map((e=>`Brand: ${e.name} (id: ${e.id})\n${i.filter((t=>t.brandId===e.id)).map((e=>` Theme: ${e.name} (id: ${e.id})`))}`))}`);const d=s[0];if(!d)throw new Error(`Unknown theme ${e.bindToTheme}\n provided in binding.\n\nAvailable themes in this design system: ${o.map((e=>`Brand: ${e.name} (id: ${e.id})\n${i.filter((t=>t.brandId===e.id)).map((e=>` Theme: ${e.name} (id: ${e.id})`))}`))}`);this.setTokensOrigin(e,t,a);const p=await this.mergeThemeWithRemoteSource(e.processedNodes,t,d,!n.dryRun,n.verbose,n.preciseCopy);r.push({map:g.default.pick(e,["bindToBrand","bindToTheme","pluginSets","pluginTheme","type"]),tokensCreated:[],tokensUpdated:p.tokens.map((e=>e.id)),tokensDeleted:[]}),n.verbose&&this.logger.log(`✅ (task done) Synchronized themed tokens for brand ${t.name}, theme ${d.name}`)}if(n.preciseCopy){const e=t.filter((e=>!!e.bindToTheme)).map((e=>({brand:e.bindToBrand,theme:e.bindToTheme.toLowerCase().trim()}))).map((e=>e.theme)),r=i.filter((t=>!(e.includes(t.id.toLowerCase().trim())||e.includes(t.name.toLowerCase().trim()))));for(const e of r){const r=o.find((t=>t.id===e.brandId));t.find((e=>e.bindToBrand===r.id||e.bindToBrand.toLowerCase().trim()===r.name.toLowerCase().trim()))?(await this.mergeThemeWithRemoteSource([],r,e,!n.dryRun,n.verbose,n.preciseCopy),n.verbose&&this.logger.log(`✅ (task done) Removed themes' overrides for brand ${r.name}, theme ${e.name}`)):n.verbose&&this.logger.log(`✅ (task done) Skip remove themes' overrides for brand ${r.name}, theme ${e.name}`)}}return{results:r,logs:this.logger.logs}}processTokenNodes(e,t,n,r){const o=new c.DTMapResolver;for(const n of t)if(!o.mappedNodePools(n,e.themes,e.sets).nodes)throw new Error("Resolved map doesn't contain resulting nodes");let i=0;for(const e of t){i+=1;const o=n.find((t=>t.id===e.bindToBrand||e.bindToBrand.toLowerCase().trim()===t.name.toLowerCase().trim()));if(!o)throw new Error(`Unknown brand ${e.bindToBrand}\n provided in binding. Available brands in this design system: \n\n ${n.map((e=>`${e.name} (id: ${e.id})`))}`);const a=new d.DTJSONConverter(this.versionId,t),s=new p.DTJSONGroupBuilder(this.versionId,t),l=a.convertNodesToTokens(e.nodes,o),c=s.constructAllDefinableGroupsTrees(l,o);e.processedNodes=l,e.processedGroups=c,r&&(this.logger.log(`\n----- Processing mapping entry #${i}:`),this.logger.log(`Processed nodes: ${l.length}`),this.logger.log(`Processed groups: ${c.length}`))}return t}setTokensOrigin(e,t,n){var r,i,a;const s=null===(r=n.find((e=>e.type===o.SourceType.tokenStudio&&e.brandId===t.id)))||void 0===r?void 0:r.id;if(!s)return e;for(const t of e.processedNodes)t.token.origin=Object.assign(Object.assign({name:[...t.path.slice(1),t.token.name].join("/"),sourceId:s,id:t.key},(null===(i=t.token.origin)||void 0===i?void 0:i.referenceOriginId)?{referenceOriginId:t.token.origin.referenceOriginId}:{}),(null===(a=t.token.origin)||void 0===a?void 0:a.referencePersistentId)?{referencePersistentId:t.token.origin.referencePersistentId}:{});return e}createPureTokenTree(e,t){const n=new Array,r=new Array;this.correctSortOrder(r,n);const o=[...r,...n],a=new m.DTTokenGroupTreeMerger,s=(new h.DTTokenMerger).makeTokensDiff(r,e,n),d=a.makeGroupsDiff(s,o),p=[];for(const e of d.toCreate)e.element instanceof i.TokenGroup&&(e.element.childrenIds=e.childrenIds,p.push(e.element));for(const e of d.toUpdate)e.element instanceof i.TokenGroup&&(e.element.childrenIds=e.childrenIds,p.push(e.element));const l=e.map((e=>e.token)),c=p;return t&&(this.logger.log("\n----- Token tree constructed: "),this.logger.log(`Token groups updated: ${c.length}`),this.logger.log(`Tokens created: ${s.toCreate.length}`),this.logger.log("\n")),{tokens:l,groups:c}}async mergeWithRemoteSource(e,t,n,r,o){const a=await this.instance.tokens.getTokens({designSystemId:this.designSystemId,versionId:this.versionId}),s=(await this.instance.tokens.getTokenGroups({designSystemId:this.designSystemId,versionId:this.versionId})).filter((e=>e.brandId===t.idInVersion||e.brandId===t.id)),d=a.filter((e=>e.brandId===t.idInVersion||e.brandId===t.id));this.correctSortOrder(d,s);const p=[...d,...s],l=new m.DTTokenGroupTreeMerger,c=(new h.DTTokenMerger).makeTokensDiff(d,e,s),u=l.makeGroupsDiff(c,p),g=[];for(const e of u.toCreate)e.element instanceof i.TokenGroup&&(e.element.childrenIds=e.childrenIds,g.push(e.element));for(const e of u.toUpdate)e.element instanceof i.TokenGroup&&(e.element.childrenIds=e.childrenIds,g.push(e.element));const f=e.map((e=>e.token)),y=g;return n&&await this.instance.tokens.writeTokens({designSystemId:this.designSystemId,versionId:this.versionId},c.toCreateOrUpdate.map((e=>e.token)),y,o?c.toDelete.map((e=>e.token)):[],[]),r&&(this.logger.log("\n----- Base values synchronized: "),this.logger.log(`Token groups updated: ${y.length}`),this.logger.log(`Tokens created: ${c.toCreate.length}`),this.logger.log(`Tokens updated: ${c.toUpdate.length}`),this.logger.log(`Tokens deleted: ${o?c.toDelete.length:"Deletion disabled because preciseCopy: false"}`),n||this.logger.log("Data were not written to workspace because dryRun was enabled"),this.logger.log("\n")),{tokens:f,groups:y,diff:c}}async mergeThemeWithRemoteSource(e,t,n,r,o,i=!1){const a=await this.instance.tokens.getTokens({designSystemId:this.designSystemId,versionId:this.versionId}),s=await this.instance.tokens.getTokenGroups({designSystemId:this.designSystemId,versionId:this.versionId}),d=a.filter((e=>e.brandId===t.id||e.brandId===t.id)),p=n,l=new u.DTThemeMerger(this.versionId).makeTheme(d,s,p,e,i);return r&&await this.instance.tokens.writeTheme({designSystemId:this.designSystemId,versionId:this.versionId},l),o&&(this.logger.log("----- Theme values synchronized:"),this.logger.log(`Created or updated overrides: ${l.overriddenTokens.length}`),r||this.logger.log("Data were not written to workspace because dryRun was enabled")),{theme:n,tokens:l.overriddenTokens}}correctSortOrder(e,t){const n=new Map,r=new Map;e.forEach((e=>n.set(e.id,e))),t.forEach((e=>r.set(e.id,e))),t.filter((e=>e.isRoot)).forEach((e=>this.correctSortOrderFromTypeRoot(e,n,r)))}correctSortOrderFromTypeRoot(e,t,n){var r;const o=this.flattenedIdsFromRoot(e,t,n);for(let e=0;e<o.length;e+=1){const i=(0,s.sureOf)(o[e]);(0,s.sureOf)(null!==(r=t.get(i))&&void 0!==r?r:n.get(i)).sortOrder=e*this.sortMultiplier}}flattenedIdsFromRoot(e,t,n){let r=[e.id];const o=e.childrenIds;for(const i of o){r.push(i);const o=n.get(i);if(o)r=r.concat(this.flattenedIdsFromRoot(o,t,n));else{if(!t.get(i))throw new Error(`Unable to find token or group ${i} of type ${e.tokenType}`);r.push(i)}}return r}}},1599:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DTJSONConverter=void 0;const r=n(3788),o=n(3380),i=n(2155),a=n(7046),s=n(6458),d=n(5590),p=n(2249),l=n(5443),c=n(477),u=n(465),m=n(8358),h=n(7098),g=n(6562),f=n(5157);t.DTJSONConverter=class{constructor(e,t){this.versionId=e,this.mapping=t,this.referenceResolver=new f.DTTokenReferenceResolver}convertNodesToTokens(e,t){this.convertNodesToTokensForSupportedNodeTypes(["sizing","borderWidth","spacing","opacity","fontSizes","paragraphSpacing","lineHeights","letterSpacing","other","dimension"],e,t),this.convertNodesToTokensForSupportedNodeTypes(["fontFamilies","fontWeights"],e,t),this.convertNodesToTokensForSupportedNodeTypes(["textCase","textDecoration"],e,t),this.convertNodesToTokensForSupportedNodeTypes(["color","gradient"],e,t),this.convertNodesToTokensForSupportedNodeTypes(["borderRadius"],e,t),this.convertNodesToTokensForSupportedNodeTypes(["boxShadow"],e,t),this.convertNodesToTokensForSupportedNodeTypes(["typography"],e,t),this.convertNodesToTokensForSupportedNodeTypes(["border"],e,t);const n=this.referenceResolver.unmappedValues();return this.restoreInitialTokenOrder(e,n),this.remapRootNodeKeys(n),n}restoreInitialTokenOrder(e,t){const n=new Set,r=new Map(e.reduce(((e,t,r)=>{const o=r+1;e.push([[...t.path,t.name].join("/"),o]);const i=t.path.join("/");return n.has(i)||(n.add(i),e.push([[...t.path].join("/"),o])),e}),[])),o=e=>{const t=[...e.path,e.token.name].join("/");return r.get(t)||r.get(e.path.join("/"))||Number.MAX_SAFE_INTEGER};t.sort(((e,t)=>o(e)-o(t)))}remapRootNodeKey(e,t,n,o){let i=Array.from(e),a=i.splice(0,1)[0];const s=t;switch(s){case r.TokenType.color:a="Color";break;case r.TokenType.gradient:a="Gradient";break;case r.TokenType.radius:a="Radius";break;case r.TokenType.space:case r.TokenType.opacity:case r.TokenType.fontSize:case r.TokenType.lineHeight:case r.TokenType.letterSpacing:case r.TokenType.paragraphSpacing:case r.TokenType.borderWidth:case r.TokenType.duration:case r.TokenType.zIndex:case r.TokenType.size:case r.TokenType.dimension:a="Measure";break;case r.TokenType.shadow:a="Shadow";break;case r.TokenType.typography:a="Typography";break;case r.TokenType.fontFamily:case r.TokenType.fontWeight:a="Generic";break;case r.TokenType.border:a="Border";break;case r.TokenType.textCase:case r.TokenType.textDecoration:case r.TokenType.visibility:a="Options";break;default:throw new h.UnreachableCaseError(s,`Unsupported type ${a} in remapping of nodes`)}let d;switch(n){case"borderRadius":d="Border Radius";break;case"borderWidth":d="Border Width";break;case"sizing":d="Sizing";break;case"fontSizes":d="Font Size";break;case"paragraphSpacing":d="Paragraph Spacing";break;case"lineHeights":d="Line Height";break;case"letterSpacing":d="Letter Spacing";break;case"spacing":d="Spacing";break;case"opacity":d="Opacity";break;case"dimension":d="Dimension";break;case"fontFamilies":d="Font Family";break;case"fontWeights":d="Font Weight"}return i=d?[a,d,...i]:[a,...i],{path:i,key:g.DTTokenMerger.buildKey(i,o)}}remapRootNodeKeys(e){for(const t of e){const{path:e,key:n}=this.remapRootNodeKey(t.path,t.token.tokenType,t.originalType,t.token.name);t.path=e,t.key=n}return e}convertNodesToTokensForSupportedNodeTypes(e,t,n){const r=t.filter((t=>e.includes(t.type)));let o=new Array,i=-1;for(const e of r)if(i+=1,this.referenceResolver.valueHasReference(e.value))o.push([e,i]);else{const t=this.convertAtomicNode(e,n);this.referenceResolver.addAtomicToken(t,i)}let a=0;for(;0!==o.length;){const e=new Array;for(const[t,r]of o){const o=this.convertReferencedNode(t,n);o?this.referenceResolver.addAtomicToken(o,r):e.push([t,r])}if(0===e.length)break;if(o=e,a+=1,a>100)throw new Error(`Engine was not able to solve references for the following tokens in a reasonable time: \n\n${o.map((([e,t])=>g.DTTokenMerger.buildKey(e.path,e.name))).join("\n")}\n\nThis can be caused by few things:\n\n- Not including all token sets you wanted to reference in the mapping file\n- Reference pointing to the token that doesn't exist\nCircular reference where two tokens reference each other\nUsing (other) token for defining strings, instead of numbers (current limitation)\n\nIf you are sure this is not the case, please report the bug on our Discord (https://community.supernova.io) and we'll help you solve it :)`)}}convertAtomicNode(e,t){const n=this.convertDTTypeToSupernovaType(e.type);switch(n){case r.TokenType.dimension:case r.TokenType.size:case r.TokenType.space:case r.TokenType.opacity:case r.TokenType.fontSize:case r.TokenType.lineHeight:case r.TokenType.letterSpacing:case r.TokenType.paragraphSpacing:case r.TokenType.borderWidth:case r.TokenType.radius:case r.TokenType.duration:case r.TokenType.zIndex:return this.convertDimensionAtomicNode(e,t,n);case r.TokenType.color:return this.convertColorAtomicNode(e,t);case r.TokenType.shadow:return this.convertShadowAtomicNode(e,t);case r.TokenType.gradient:return this.convertGradientAtomicNode(e,t);case r.TokenType.border:return this.convertBorderAtomicNode(e,t);case r.TokenType.typography:return this.convertTypographyAtomicNode(e,t);case r.TokenType.textCase:return this.convertTextCaseAtomicNode(e,t);case r.TokenType.textDecoration:return this.convertTextDecorationAtomicNode(e,t);case r.TokenType.visibility:return this.convertVisibilityAtomicNode(e,t);case r.TokenType.fontFamily:case r.TokenType.fontWeight:return this.convertStringAtomicNode(e,t,n);default:throw new h.UnreachableCaseError(n,"Unsupported sn token type:")}}convertColorAtomicNode(e,t){return{token:i.ColorToken.create(this.versionId,t.id,e.name,e.description,e.value,void 0,[],[]),originalType:e.type,path:e.path,key:g.DTTokenMerger.buildKey(e.path,e.name)}}convertDimensionAtomicNode(e,t,n){return{token:(0,a.resolveDimension)(n).create(n,this.versionId,t.id,e.name,e.description,e.value,void 0,[],[]),originalType:e.type,path:e.path,key:g.DTTokenMerger.buildKey(e.path,e.name)}}convertStringAtomicNode(e,t,n){return{token:(0,p.resolveString)(n).create(n,this.versionId,t.id,e.name,e.description,e.value,void 0,[],[]),originalType:e.type,path:e.path,key:g.DTTokenMerger.buildKey(e.path,e.name)}}convertTextCaseAtomicNode(e,t){return{token:l.TextCaseToken.create(this.versionId,t.id,e.name,e.description,e.value,void 0,[],[]),originalType:e.type,path:e.path,key:g.DTTokenMerger.buildKey(e.path,e.name)}}convertTextDecorationAtomicNode(e,t){return{token:c.TextDecorationToken.create(this.versionId,t.id,e.name,e.description,e.value,void 0,[],[]),originalType:e.type,path:e.path,key:g.DTTokenMerger.buildKey(e.path,e.name)}}convertVisibilityAtomicNode(e,t){return{token:m.VisibilityToken.create(this.versionId,t.id,e.name,e.description,e.value,void 0,[],[]),originalType:e.type,path:e.path,key:g.DTTokenMerger.buildKey(e.path,e.name)}}convertShadowAtomicNode(e,t){return{token:d.ShadowToken.create(this.versionId,t.id,e.name,e.description,e.value,void 0,this.referenceResolver,[],[]),originalType:e.type,path:e.path,key:g.DTTokenMerger.buildKey(e.path,e.name)}}convertBorderAtomicNode(e,t){return{token:o.BorderToken.create(this.versionId,t.id,e.name,e.description,e.value,void 0,this.referenceResolver,[],[]),originalType:e.type,path:e.path,key:g.DTTokenMerger.buildKey(e.path,e.name)}}convertGradientAtomicNode(e,t){return{token:s.GradientToken.create(this.versionId,t.id,e.name,e.description,e.value,void 0,this.referenceResolver,[],[]),originalType:e.type,path:e.path,key:g.DTTokenMerger.buildKey(e.path,e.name)}}convertTypographyAtomicNode(e,t){return{token:u.TypographyToken.create(this.versionId,t.id,e.name,e.description,e.value,void 0,this.referenceResolver,[],[]),originalType:e.type,path:e.path,key:g.DTTokenMerger.buildKey(e.path,e.name)}}convertReferencedNode(e,t){if(!this.referenceResolver.isBalancedReference(e.value))throw new Error(`Invalid reference syntax in token value: ${e.value}`);return this.referenceResolver.valueIsPureReference(e.value)?this.convertPureReferencedNode(e,t):this.convertComplexReferenceNode(e,t)}convertPureReferencedNode(e,t){var n,f;const y=e.value,v=this.referenceResolver.lookupReferencedToken(y);if(v){let k;"color"===e.type&&v.tokenType===r.TokenType.gradient&&(e.type="gradient");const T=this.convertDTTypeToSupernovaType(e.type);switch(T){case r.TokenType.color:k=i.ColorToken.create(this.versionId,t.id,e.name,e.description,void 0,v,[],[]);break;case r.TokenType.dimension:case r.TokenType.size:case r.TokenType.space:case r.TokenType.opacity:case r.TokenType.fontSize:case r.TokenType.lineHeight:case r.TokenType.letterSpacing:case r.TokenType.paragraphSpacing:case r.TokenType.borderWidth:case r.TokenType.radius:case r.TokenType.duration:case r.TokenType.zIndex:if(k=(0,a.resolveDimension)(T).create(T,this.versionId,t.id,e.name,e.description,void 0,v,[],[]),v&&(null===(n=k.origin)||void 0===n?void 0:n.referencePersistentId)){const t=this.referenceResolver.lookupReferencedNode(y),{key:n}=this.remapRootNodeKey(t.path,v.tokenType,t.originalType,v.name);console.log(`Inlining reference origin id ${y}: ${n}: ${null===(f=k.origin)||void 0===f?void 0:f.referencePersistentId} into ${k.id}:${e.name}:${e.type}`),k.origin.referenceOriginId=n}break;case r.TokenType.shadow:k=d.ShadowToken.create(this.versionId,t.id,e.name,e.description,void 0,v,this.referenceResolver,[],[]);break;case r.TokenType.border:k=o.BorderToken.create(this.versionId,t.id,e.name,e.description,void 0,v,this.referenceResolver,[],[]);break;case r.TokenType.gradient:k=s.GradientToken.create(this.versionId,t.id,e.name,e.description,void 0,v,this.referenceResolver,[],[]);break;case r.TokenType.typography:k=u.TypographyToken.create(this.versionId,t.id,e.name,e.description,void 0,v,this.referenceResolver,[],[]);break;case r.TokenType.fontWeight:case r.TokenType.fontFamily:k=(0,p.resolveString)(T).create(T,this.versionId,t.id,e.name,e.description,void 0,v,[],[]);break;case r.TokenType.textCase:k=l.TextCaseToken.create(this.versionId,t.id,e.name,e.description,void 0,v,[],[]);break;case r.TokenType.textDecoration:k=c.TextDecorationToken.create(this.versionId,t.id,e.name,e.description,void 0,v,[],[]);break;case r.TokenType.visibility:k=m.VisibilityToken.create(this.versionId,t.id,e.name,e.description,void 0,v,[],[]);break;default:throw new h.UnreachableCaseError(T,"Unsupported token type:")}return{token:k,path:e.path,originalType:e.type,key:g.DTTokenMerger.buildKey(e.path,e.name)}}}convertComplexReferenceNode(e,t){const n=e.value,r=this.referenceResolver.lookupAllReferencedTokens(n);if(!r)return;const o=this.referenceResolver.replaceAllReferencedTokens(n,r),i={rootKey:e.rootKey,name:e.name,path:e.path,type:e.type,value:o,description:e.description};return this.convertAtomicNode(i,t)}convertDTTypeToSupernovaType(e){const t=e;switch(t){case"color":return r.TokenType.color;case"borderRadius":return r.TokenType.radius;case"boxShadow":return r.TokenType.shadow;case"gradient":return r.TokenType.gradient;case"typography":return r.TokenType.typography;case"border":return r.TokenType.border;case"sizing":return r.TokenType.size;case"spacing":return r.TokenType.space;case"borderWidth":return r.TokenType.borderWidth;case"opacity":return r.TokenType.opacity;case"fontSizes":return r.TokenType.fontSize;case"paragraphSpacing":return r.TokenType.paragraphSpacing;case"letterSpacing":return r.TokenType.letterSpacing;case"lineHeights":return r.TokenType.lineHeight;case"other":case"dimension":return r.TokenType.dimension;case"fontFamilies":return r.TokenType.fontFamily;case"fontWeights":return r.TokenType.fontWeight;case"textCase":return r.TokenType.textCase;case"textDecoration":return r.TokenType.textDecoration;default:throw new h.UnreachableCaseError(t,"Unsupported DT token type:")}}}},2925:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DTJSONGroupBuilder=void 0;const r=n(3788),o=n(7381),i=n(3903);t.DTJSONGroupBuilder=class{constructor(e,t){this.versionId=e,this.mapping=t}constructAllDefinableGroupsTrees(e,t){const n=[{snType:r.TokenType.color,dtType:"color",snRootName:"Color",dtRootName:"color"}];let o=[];for(const r of n)o=o.concat(this.constructGroupTree(e,r,t));return o}constructGroupTree(e,t,n){const r=e.filter((e=>e.token.tokenType===t.snType)),o=this.createGroup(n.id,this.versionId,t.snRootName,t.snType,!0),i=new Map;i.set("",o);for(const e of r){const t=e.path.join(".");this.constructGroupChain(this.versionId,n,i,e.path);let r=i.get(t);r=r.toMutatedObject(r.childrenIds.concat(e.token.id)),i.set(t,r)}return Array.from(i.values())}constructGroupChain(e,t,n,a){if(0===a.length)return;let s="",d=n.get(s);const p=[];for(const l of a){p.push(l);const a=p.join(".");if(n.get(a));else{const p=new o.TokenGroup({brandId:t.id,tokenType:r.TokenType.color,designSystemVersionId:e,persistentId:(0,i.v4)(),isRoot:!1,id:void 0,meta:{name:l,description:""},childrenIds:[]});d=d.toMutatedObject(d.childrenIds.concat(p.id)),n.set(s,d),d=p,n.set(a,p),s=a}}}createGroup(e,t,n,r,a){return new o.TokenGroup({brandId:e,tokenType:r,designSystemVersionId:t,persistentId:(0,i.v4)(),isRoot:a,id:void 0,meta:{name:n,description:""},childrenIds:[]})}}},7560:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DTParsedThemeSetPriority=void 0,(n=t.DTParsedThemeSetPriority||(t.DTParsedThemeSetPriority={})).source="source",n.enabled="enabled",n.disabled="disabled"},4936:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DTJSONParser=t.DTParsedThemeSetPriority=void 0,function(e){e.source="source",e.enabled="enabled",e.disabled="disabled"}(n=t.DTParsedThemeSetPriority||(t.DTParsedThemeSetPriority={})),t.DTJSONParser=class{constructor(e){this.themeBuffer=new Array,this.logger=e}processPluginDataRepresentation(e){const t=this.processSets(e),r=this.parseNode([],e,t),o=this.processThemes(e,t),i=Array.from(t.values());return this.logger.log("----- Loaded token data:"),this.logger.log(`Nodes: ${r.length}`),this.logger.log(`Sets: ${i.length}, ${i.map((e=>`\n | ${e.name}: ${e.contains.length} nodes`))}`),this.logger.log(`Themes: ${o.length}, ${o.map((e=>`\n | ${e.name}: ${e.selectedTokenSets.filter((e=>e.priority!==n.disabled)).length} sets`))}`),{nodes:r,sets:Array.from(t.values()),themes:o}}processThemes(e,t){const n=new Array;let r=[];const o=e.$metadata;if(o){const e=o.tokenSetOrder;e&&(r=e)}const i=e.$themes;if(i)for(const e of i){const{name:o}=e,{id:i}=e,{selectedTokenSets:a}=e;if(!o||!i||!a)throw new Error("Incorrect theme data structure, missing one of required attributes [name, id, selectedTokenSets]");const s=new Array;for(const[e,n]of Object.entries(a)){const r=e,o={priority:n,set:t.get(r)};s.push({name:r,pair:o})}r.length&&s.sort(((e,t)=>r.indexOf(e.name)-r.indexOf(t.name)));const d={selectedTokenSets:s.map((e=>e.pair)),name:o,id:i};n.push(d)}return n}processSets(e){const t=new Map;for(const[n]of Object.entries(e))if(!n.startsWith("$")){const e={contains:[],name:n,id:n};t.set(n,e)}return t}parseNode(e,t,n){var r,o,i;let a=[];for(const[s,d]of Object.entries(t)){if("object"!=typeof d)throw new Error("Unable to parse, unsupported structure in token node leaf");if(d.hasOwnProperty("value")&&d.hasOwnProperty("type")||d.hasOwnProperty("$value")&&d.hasOwnProperty("$type")){const t=e[0];if(!t)throw new Error("Node references unknown root key");let p={rootKey:t,name:s,path:e,type:null!==(r=d.type)&&void 0!==r?r:d.$type,value:null!==(o=d.value)&&void 0!==o?o:d.$value,description:null!==(i=d.description)&&void 0!==i?i:null};const l=n.get(p.rootKey);if(!l)throw new Error("Node references unknown set");p=this.modifyEntityForParse(p),l.contains.push(p),a.push(p)}else s.startsWith("$")||(a=a.concat(this.parseNode(e.concat(s),d,n)))}return a}modifyEntityForParse(e){if("color"===e.type&&(e.value.includes("linear-gradient")?(e.type="gradient",e.value=e.value.replace("linear-gradient","")):e.value.includes("radial-gradient")&&(e.type="gradient",e.value=e.value.replace("radial-gradient",""))),"opacity"===e.type)try{e.value;const t=parseFloat(e.value);!Number.isNaN(Number(e.value))&&(t>=0||t<=1)&&(e.value=100*t+"%")}catch(e){}return e}}},2492:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DTPluginToSupernovaMapType=void 0,(n=t.DTPluginToSupernovaMapType||(t.DTPluginToSupernovaMapType={})).theme="theme",n.set="set"},8457:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DTMapResolver=void 0;const r=n(7560),o=n(6562),i=n(5250);t.DTMapResolver=class{mappedNodePools(e,t,n){const o=new Map;for(const e of n)o.set(e.id,e);const a=new Array;if(e.pluginSets&&e.pluginTheme||!e.pluginSets&&!e.pluginTheme)throw new Error("Either token theme or token set should be defined in the mapping");if(e.pluginSets)for(const t of e.pluginSets){const e=o.get(t);if(!e)throw new Error(`Mapping references token set '${t}' that wasn't defined in the sourced data`);a.push(e)}else if(e.pluginTheme){const s="string"==typeof e.pluginTheme?[e.pluginTheme]:e.pluginTheme,d=t.filter((e=>s.includes(e.id)||s.includes(e.name))),p=(0,i.flatMap)(d.map((e=>e.selectedTokenSets)));if(!d||0===d.length)throw new Error(`Incorrect plugin theme ${e.pluginTheme}\n referenced by the mapping.\n\nAvailable plugin themes are: [${t.map((e=>e.name))}\n ]\nYou can also use any of loaded sets: [${n.map((e=>e.name))}]`);for(const e of p)if([r.DTParsedThemeSetPriority.source,r.DTParsedThemeSetPriority.enabled].includes(e.priority)){const r=o.get(e.set.id);if(!r)throw new Error(`Incorrect plugin set ${e.set.id}\n referenced by the mapping.\n\nAvailable plugin sets are: [${n.map((e=>e.name))}\n ]\nYou can also use any of loaded themes: [${t.map((e=>e.name))}]`);a.push(r)}}const s=this.computeUniqueNodesFromSets(a);return e.nodes=s,e}computeUniqueNodesFromSets(e){const t=new Map;for(const n of e)for(const e of n.contains){const n=o.DTTokenMerger.buildKey(e.path,e.name);t.set(n,e)}return Array.from(t.values())}}},2114:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DTThemeMerger=void 0;const r=n(861),o=n(2537),i=n(3437),a=n(9976),s=n(5250);t.DTThemeMerger=class{constructor(e){this.versionId=e}makeTheme(e,t,n,s,d=!1){const p=new Map;for(const e of n.overriddenTokens){const n=a.TokenUtils.buildPath(e,t),r=a.TokenUtils.buildKey(n,e.name);p.set(r,e)}const l=new Map;for(const e of s){const t=a.TokenUtils.buildKey(e.path,e.token.name);l.set(t,e)}const c=new Map(l),u=new Map,m=new r.TokenTheme({persistentId:n.id,id:n.idInVersion,brandId:n.brandId,meta:{name:n.name,description:n.description},createdAt:n.createdAt?n.createdAt.toISOString():void 0,updatedAt:n.updatedAt?n.updatedAt.toISOString():void 0,codeName:n.codeName,overrides:[],designSystemVersionId:n.designSystemVersionId},this.versionId);for(const n of e){const e={token:n,path:a.TokenUtils.buildPath(n,t)},r=a.TokenUtils.getKeysByKeyOrFallbackKeys(e),i=a.TokenUtils.getTokenByKeyOrFallbackKeys(e,l),h=a.TokenUtils.getTokenByKeyOrFallbackKeys(e,p);for(const e of r)c.delete(e);if(i){i.token.id!==n.id&&(u.set(i.token.id,n.id),a.TokenUtils.replaceIdAcrossAllPossibleReferences(i,n.id,s));const e=!o.TokenComparator.isEqualTokenValue(n,i.token),t=h&&!o.TokenComparator.isEqualTokenValue(h,i.token);e?(i.token.id=n.id,m.overriddenTokens.push(i.token)):t||h&&m.overriddenTokens.push(h)}else h&&!d&&m.overriddenTokens.push(h)}for(const[e,t]of u){const n=[...m.overriddenTokens,...[...c.values()].map((e=>e.token))];for(const r of n)(0,i.replaceReferencedTokenByIds)(r,e,t),(0,i.replaceOriginReferencePersistentIdByIds)(r,e,t),a.TokenUtils.replaceIdForComplexTokens(r,e,t)}return this.inlineTokens(m,c),m}inlineTokens(e,t){const n=[...t.values()],r=e.overriddenTokens.filter((e=>!Array.isArray(e.value))),o=e.overriddenTokens.filter((e=>Array.isArray(e.value))),i=[...(0,s.flatMap)(r,(e=>{var t;return[null===(t=e.value)||void 0===t?void 0:t.referencedTokenId,...a.TokenUtils.getRefIdsFromComplexTokens(e)]})).filter(Boolean),...(0,s.flatMap)(o,(e=>{var t;return[...null===(t=e.value)||void 0===t?void 0:t.map((e=>null==e?void 0:e.referencedTokenId)),...a.TokenUtils.getRefIdsFromComplexTokens(e)]})).filter(Boolean)],d=n.filter((e=>i.includes(e.token.id)));for(const t of d)for(const n of e.overriddenTokens){const e=n;e&&(Array.isArray(e.value)||e.value.referencedTokenId===t.token.id&&(e.value=Object.assign({},t.token.value)),a.TokenUtils.inlineValueIntoComplexTokens(e,t.token.id,Object.assign({},t.token.value)))}}}},8067:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DTTokenGroupTreeMerger=void 0;const r=n(1322),o=n(991),i=n(2667);t.DTTokenGroupTreeMerger=class{makeGroupsDiff(e,t){var n,a;const s=(0,o.buildBrandedElementRoots)(t),d=new Map;for(const t of e.toCreateOrUpdate){const e=t.path.map((e=>e.trim()));e.shift();let p=d.get(t.token.brandId);p||(p=new Map,d.set(t.token.brandId,p));let l=p.get(t.token.tokenType);if(!l){const e=null===(a=null===(n=s.get(t.token.brandId))||void 0===n?void 0:n.get(t.token.tokenType))||void 0===a?void 0:a.element;l=new o.GroupTree((0,r.sureOf)(e)),p.set(t.token.tokenType,l)}l.getOrCreateGroup(e).children.push(new i.GroupTreeNode(t.token,l))}const p=[],l=[],c=(e,t)=>{var n;if(e.isGroup){let r=!1;for(const o of e.children){const e=(null!==(n=null==t?void 0:t.children)&&void 0!==n?n:[]).find((e=>e.name===o.name&&e.isGroup===o.isGroup));r=c(o,e)||r}const o=e.children.map((e=>e.element.id));if(!t)return l.push({element:e.element,childrenIds:o}),!0;{e.element.id=t.element.id,e.element.idInVersion=t.element.idInVersion;const n=t.children.map((e=>e.element.id));if(JSON.stringify(o)!==JSON.stringify(n)||r)return p.push({element:e.element,childrenIds:o}),!0}}return!1};for(const[e,t]of d.entries())for(const n of t.keys())c(t.get(n),s.get(e).get(n));return{toCreate:l,toUpdate:p,toDelete:[]}}}},6562:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DTTokenMerger=void 0;const r=n(3788),o=n(3437),i=n(9976),a=n(3903);t.DTTokenMerger=class{static buildKey(e,t){return i.TokenUtils.buildKey(e,t)}buildNodeMap(e){const t=new Map;for(const n of e)t.set(n.key,n);return t}convertBaseTokensToProcessedNode(e,t){return e.map((e=>{const n=i.TokenUtils.buildPath(e,t);return{token:e,key:i.TokenUtils.buildKey(n,e.name),originalType:void 0,path:n}}))}makeTokensDiff(e,t,n){const s=[],d=[],p=[],l=[],c=this.convertBaseTokensToProcessedNode(e,n),u=this.buildNodeMap(c),m=this.buildNodeMap(t),h=[],g=new Map;for(const e of t){const t=i.TokenUtils.getTokenByKeyOrFallbackKeys(e,u);if(t)g.set(e.token.id,t.token.id),e.token.id=t.token.id,e.token.idInVersion=t.token.idInVersion,s.push(e),h.push(t.token.idInVersion);else{const t=(0,a.v4)();g.set(e.token.id,t),e.token.id=t,d.push(e)}l.push(e)}for(const[e,t]of g)for(const n of l)(0,o.replaceReferencedTokenByIds)(n.token,e,t),(0,o.replaceOriginReferencePersistentIdByIds)(n.token,e,t),i.TokenUtils.replaceIdForComplexTokens(n.token,e,t);const f=this.buildNodeMap([...m.values()].filter((e=>!h.includes(e.token.idInVersion))));for(const e of c)h.includes(e.token.idInVersion)||i.TokenUtils.getTokenByKeyOrBackwardKey(e,f)||(p.push(e),e.token.origin&&(e.token.origin=null,s.push(e),l.push(e)));return p.sort(((e,t)=>{e.token.value,e.token.value;const n=r.ALL_TOKEN_TYPES.indexOf(e.token.tokenType);return r.ALL_TOKEN_TYPES.indexOf(t.token.tokenType)-n})),p.sort(((e,t)=>{const n=e.token.value,o=e.token.value,i=r.ALL_TOKEN_TYPES.indexOf(e.token.tokenType),a=r.ALL_TOKEN_TYPES.indexOf(t.token.tokenType)-i,s=(null==n?void 0:n.referencedTokenId)===t.token.id,d=(null==o?void 0:o.referencedTokenId)===e.token.id;return 0!==a?a:s?-1:d?1:0})),{toUpdate:s,toCreate:d,toDelete:p,toCreateOrUpdate:l}}}},5157:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DTTokenReferenceResolver=void 0;const r=n(3788),o=n(8607),i=n(3437),a=n(7098);t.DTTokenReferenceResolver=class{constructor(){this.mappedTokens=new Map,this.nodes=new Map}replaceRefs(e,t){for(const[n,[r,o]]of this.mappedTokens)(0,i.replaceReferencedToken)(r,e,t);for(const[n,r]of this.nodes)(0,i.replaceReferencedToken)(r.token,e,t)}addAtomicToken(e,t){var n;const r=this.tokenReferenceKey(e.path,e.token.name),[o,i]=null!==(n=this.mappedTokens.get(r))&&void 0!==n?n:[];o&&Number.isInteger(t)&&i>t||(o&&this.replaceRefs(o,e.token),this.mappedTokens.set(r,[e.token,t]),this.nodes.set(r,e))}addAtomicTokens(e){for(const t of e)this.addAtomicToken(t,Number.NaN)}unmappedValues(){return[...this.nodes.values()]}tokensOfType(e){return[...this.mappedTokens.values()].filter((([t,n])=>t.tokenType===e)).map((([e,t])=>e))}lookupReferencedToken(e){var t;let n=e.trim();return n.includes("$")&&(n=`{${n.substring(1)}}`),null===(t=this.mappedTokens.get(n))||void 0===t?void 0:t[0]}lookupReferencedNode(e){let t=e.trim();return t.includes("$")&&(t=`{${t.substring(1)}}`),this.nodes.get(t)}lookupAllReferencedTokens(e){var t,n;const r=e.trim(),o=[...this.findBracketStrings(r),...this.findDollarStrings(r)],i=[];for(const e of o){const r=`{${e.value}}`;if(!(null===(t=this.mappedTokens.get(r))||void 0===t?void 0:t[0]))return;i.push({token:null===(n=this.mappedTokens.get(r))||void 0===n?void 0:n[0],key:e.value,location:e.index,dollarTypeReference:e.dollarTypeReference})}return i}replaceAllReferencedTokens(e,t){const n=t.sort(((e,t)=>t.location-e.location));let o=e.trim();for(const e of n){if(!(0,r.tokenTypeIsReferencable)(e.token.tokenType))throw new Error(`Invalid reference ${o} in computed token. Only dimensions, colors, generic/text, fontFamily/fontWeight, textCase/textDecoration tokens can be used as partial reference (fe. rgba({value}, 10%), however was ${e.token.tokenType}`);o=this.replaceToken(o,e.token,e.key,e.location,e.dollarTypeReference)}return o}replaceToken(e,t,n,r,o){const i=o?`$${n}`:`{${n}}`,a=this.replacableValue(t);return this.replaceAt(e,i,a,r,o)}replaceAt(e,t,n,r,o){return e.substring(0,r)+n+e.substring(r+t.length)}replacableValue(e){const t=e.tokenType;switch(t){case r.TokenType.color:{const t=e;return`#${[t.value.color.r,t.value.color.g,t.value.color.b,Math.round(255*t.value.opacity.measure)].map((e=>{const t=e.toString(16);return 1===t.length?`0${t}`:t})).join("")}`}case r.TokenType.dimension:case r.TokenType.size:case r.TokenType.space:case r.TokenType.opacity:case r.TokenType.fontSize:case r.TokenType.lineHeight:case r.TokenType.letterSpacing:case r.TokenType.paragraphSpacing:case r.TokenType.borderWidth:case r.TokenType.radius:case r.TokenType.duration:case r.TokenType.zIndex:return e.value.unit===o.Unit.percent?`${e.value.measure.toString()}%`:e.value.measure.toString();case r.TokenType.fontWeight:case r.TokenType.fontFamily:case r.TokenType.productCopy:case r.TokenType.string:return e.value.text;case r.TokenType.textCase:case r.TokenType.textDecoration:case r.TokenType.visibility:return e.value.value;default:throw new a.UnreachableCaseError(t,"Invalid replacable value. Only dimensions, colors or generic/text tokens can provide value for complex tokens / inline replaces")}}isBalancedReference(e){return this.hasSameNumberOfCharacters(e,"{","}")}valueHasReference(e){return"string"==typeof e&&(e.includes("{")||e.includes("}")||e.includes("$"))}valueIsPureReference(e){if("string"!=typeof e)return!1;const t=e.trim();return t.startsWith("{")&&t.endsWith("}")&&1===this.countCharacter(t,"{")&&1===this.countCharacter(t,"}")||this.isDollarIdentifier(t)}hasSameNumberOfCharacters(e,t,n){let r=0,o=0;for(const i of e)i===t?r+=1:i===n&&(o+=1);return r===o}countCharacter(e,t){let n=0;for(const r of e)r===t&&(n+=1);return n}tokenReferenceKey(e,t){const n=Array.from(e);return n.splice(0,1),`{${[...n,t].join(".")}}`}findBracketStrings(e){const t=[];let n=0;for(;n<e.length;){const r=e.indexOf("{",n);if(-1===r)break;const o=e.indexOf("}",r);if(-1===o)break;const i=e.substring(r+1,o);t.push({index:r,value:i,dollarTypeReference:!1}),n=o+1}return t}findDollarStrings(e){const t=[];let n;const r=/\$([a-zA-Z0-9\.\-\_]+)/g;for(;null!==(n=r.exec(e));)n[1]&&t.push({index:n.index,value:n[1],dollarTypeReference:!0});return t}isDollarIdentifier(e){return/^\$([a-zA-Z0-9\.\-\_]+)$/.test(e)}}},729:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DTExpressionParser=void 0;const o=n(5521),i=r(n(1367)),a=new o.Parser;t.DTExpressionParser=class{static reduceExpressionsToBaseForm(e){try{const t=i.default.parse(e),n=i.default.reduceExpression(t);let r=e,o="";n&&"Number"!==n.type&&(r=e.replace(new RegExp(n.unit,"ig"),""),o=n.unit);const s=a.evaluate(r);return o?`${s}${o}`:Number.parseFloat(s.toFixed(3))}catch(t){return e}}}},991:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildBrandedElementRoots=t.GroupTree=void 0;const r=n(3788),o=n(7381),i=n(2667),a=n(3390);class s extends i.GroupTreeNode{constructor(e){super(e,null),this.childType=e.tokenType,this.tree=this}static populate(e,t,n){if(!e)return null;const r=new s(e);return r.populate(n),r}}t.GroupTree=s,t.buildBrandedElementRoots=function(e){const t=new Map,{childrenMap:n}=(0,a.buildParentChildrenMap)(e),i=e.filter((e=>e instanceof o.TokenGroup&&e.isRoot)),d=new Set(i.map((e=>e.brandId)));for(const o of d){const a=new Map;t.set(o,a);for(const t of r.ALL_TOKEN_TYPES){const r=i.find((e=>e.brandId===o&&e.tokenType===t)),d=s.populate(r,e,n);d&&a.set(t,d)}}return t}},2667:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GroupTreeNode=void 0;const o=n(7381),i=n(1322),a=r(n(5250)),s=n(3903),{sortBy:d}=a.default;class p{get isGroup(){return this.element instanceof o.TokenGroup}get name(){return this.element.name}constructor(e,t){this.element=e,this.tree=t,this.isGroup&&(this.children=[])}applyDefaultSorting(){this.children=d(this.children,(e=>e.isGroup?1:0))}addChildInternal(e,t=-1){-1===t?this.children.push(e):this.children.splice(t,0,e),this.applyDefaultSorting()}populate(e){var t;const{tree:n,element:r}=this,i=null!==(t=e.get(r.id))&&void 0!==t?t:[];for(const t of i){const r=new p(t,n);this.children.push(r),t instanceof o.TokenGroup&&r.populate(e)}}createGroupChild(e){return this.addChildGroup(new o.TokenGroup({brandId:this.tree.element.brandId,tokenType:this.tree.element.tokenType,designSystemVersionId:this.tree.element.designSystemVersionId,persistentId:(0,s.v4)(),isRoot:!1,id:void 0,meta:{name:e,description:""},childrenIds:[]}))}addChildGroup(e){const{tree:t}=this;if(e instanceof o.TokenGroup==0)throw new Error(`Can't add ${e.id} as group, is ${e}`);const n=new p(e,t);return this.addChildInternal(n),n}getOrCreateGroup(e){if(0===e.length)return this;const[t,...n]=e;let r=this.children.find((e=>e.isGroup&&e.element.name===t));return r||(r=this.createGroupChild((0,i.sureOf)(t))),r.getOrCreateGroup(n)}forEach(e,t=!0){this.forEachInternal(e,[],t)}forEachInternal(e,t,n){n||e(this,t);const r=t.concat([this]);for(const t of this.children)t.isGroup&&t.forEachInternal(e,r,n);n&&e(this,t)}}t.GroupTreeNode=p},3390:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildParentChildrenMap=t.MAX_SORT_ORDER=void 0;const r=n(7381);t.MAX_SORT_ORDER=1e8;const o=t.MAX_SORT_ORDER+1,i=(e,t)=>{var n,r;return(null!==(n=e.sortOrder)&&void 0!==n?n:o)-(null!==(r=t.sortOrder)&&void 0!==r?r:o)};t.buildParentChildrenMap=function(e){const t=new Map,n=e=>{if(!(e instanceof r.TokenGroup&&e.isRoot)){const n=e.parentGroupId,r=t.get(n);r?r.push(e):t.set(n,[e])}};for(const t of e)n(t);const o=new Map;for(const[e,n]of t)n.sort(i),o.set(e,n);for(const t of e)if(t instanceof r.TokenGroup){const e=t.id;o.has(e)||o.set(e,[])}return{childrenMap:o}}},3737:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockBuilder=void 0;const r=n(6130),o=n(1189),i=n(7557),a=n(1038),s=n(9794),d=n(46),p=n(2223),l=n(2514),c=n(8795),u=n(9778),m=n(7241),h=n(2776),g=n(6275),f=n(5156),y=n(9446),v=n(8267),k=n(4803),T=n(9543),b=n(195),w=n(5587),S=n(4717),I=n(1938),D=n(4230),_=n(7593),P=n(4579),x=n(1942),C=n(4619),O=n(8159),B=n(5651),E=n(6839),R=n(8095);t.DocsBlockBuilder=class{columnLayout(e,t){const n=e.map((e=>e.hasOwnProperty("id")?e.id:e));return new i.DocsBlockLayout({type:R.DocsBlockItemVariantLayoutType.column,columnResizing:null==t?void 0:t.resizing,columnAlign:null==t?void 0:t.align,gap:null==t?void 0:t.gap,children:n})}rowLayout(e,t){const n=e.map((e=>e.hasOwnProperty("id")?e.id:e));return{type:R.DocsBlockItemVariantLayoutType.row,gap:null==t?void 0:t.gap,children:n}}variantUsingCustomLayout(e){var t,n;return new s.DocsBlockVariant({id:e.id,name:e.name,image:e.image,layout:e.layout,description:null!==(t=e.description)&&void 0!==t?t:void 0,maxColumns:null!==(n=e.maxColumns)&&void 0!==n?n:1})}variantUsingDefaultLayout(e){var t,n,r,o,i,a,d,p,l,c;return new s.DocsBlockVariant({id:e.id,name:e.name,image:e.image,layout:this.columnLayout(e.properties),description:null!==(t=e.description)&&void 0!==t?t:void 0,maxColumns:null!==(n=e.maxColumns)&&void 0!==n?n:1,appearance:{isBordered:null!==(o=null===(r=e.appearance)||void 0===r?void 0:r.isBordered)&&void 0!==o?o:void 0,hasBackground:null!==(a=null===(i=e.appearance)||void 0===i?void 0:i.hasBackground)&&void 0!==a?a:void 0,isEditorPresentationDifferent:null!==(p=null===(d=e.appearance)||void 0===d?void 0:d.isEditorPresentationDifferent)&&void 0!==p?p:void 0,showBlockHeaderInEditor:null!==(c=null===(l=e.appearance)||void 0===l?void 0:l.showBlockHeaderInEditor)&&void 0!==c?c:void 0}})}defaultVariantUsingDefaultLayout(e){var t,n,r,o,i,a,d,p,l,c,u;return new s.DocsBlockVariant({id:"default",name:"Default",image:null!==(t=e.image)&&void 0!==t?t:void 0,description:null!==(n=e.description)&&void 0!==n?n:void 0,layout:this.columnLayout(e.properties),maxColumns:null!==(r=e.maxColumns)&&void 0!==r?r:1,appearance:{isBordered:null!==(i=null===(o=e.appearance)||void 0===o?void 0:o.isBordered)&&void 0!==i?i:void 0,hasBackground:null!==(d=null===(a=e.appearance)||void 0===a?void 0:a.hasBackground)&&void 0!==d?d:void 0,isEditorPresentationDifferent:null!==(l=null===(p=e.appearance)||void 0===p?void 0:p.isEditorPresentationDifferent)&&void 0!==l?l:void 0,showBlockHeaderInEditor:null!==(u=null===(c=e.appearance)||void 0===c?void 0:c.showBlockHeaderInEditor)&&void 0!==u?u:void 0}})}singleVariantItem(e){var t,n;const r=new o.DocsBlockItemDefinition({properties:[],appearance:{isBordered:null===(t=e.appearance)||void 0===t?void 0:t.isBordered,hasBackground:null===(n=e.appearance)||void 0===n?void 0:n.hasBackground},variants:[e.variant],defaultVariantKey:e.variant.id});return r.properties=e.properties,r}multiVariantItem(e){var t,n,r,i;const a=new o.DocsBlockItemDefinition({properties:[],appearance:{isBordered:null===(n=null===(t=e.appearance)||void 0===t?void 0:t.isBordered)||void 0===n||n,hasBackground:null!==(i=null===(r=e.appearance)||void 0===r?void 0:r.hasBackground)&&void 0!==i&&i},variants:e.variants,defaultVariantKey:e.variants[0].id});return a.properties=e.properties,a}singleItemBlock(e){var t,n,o,i,a,s,d,p,l;return new r.DocsBlockDefinition({id:e.id,name:e.name,description:e.description,category:e.category,icon:e.icon,item:e.item,searchKeywords:e.searchKeywords,behavior:{dataType:B.DocsBlockBehaviorDataType.item,items:{numberOfItems:1,allowLinks:null!==(t=e.linkable)&&void 0!==t&&t}},appearance:{isBordered:null===(o=null===(n=e.appearance)||void 0===n?void 0:n.isBordered)||void 0===o||o,hasBackground:null!==(a=null===(i=e.appearance)||void 0===i?void 0:i.hasBackground)&&void 0!==a&&a,isEditorPresentationDifferent:null!==(d=null===(s=e.appearance)||void 0===s?void 0:s.isEditorPresentationDifferent)&&void 0!==d&&d,showBlockHeaderInEditor:null!==(l=null===(p=e.appearance)||void 0===p?void 0:p.showBlockHeaderInEditor)&&void 0!==l&&l},editorOptions:{onboarding:e.onboarding}})}multiItemBlock(e){var t,n,o,i,a,s,d,p,l,c;return new r.DocsBlockDefinition({id:e.id,name:e.name,description:e.description,category:e.category,icon:e.icon,item:e.item,searchKeywords:e.searchKeywords,behavior:{dataType:B.DocsBlockBehaviorDataType.item,items:{numberOfItems:null!==(t=e.maxItems)&&void 0!==t?t:-1,allowLinks:null!==(n=e.linkable)&&void 0!==n&&n}},appearance:{isBordered:null===(i=null===(o=e.appearance)||void 0===o?void 0:o.isBordered)||void 0===i||i,hasBackground:null!==(s=null===(a=e.appearance)||void 0===a?void 0:a.hasBackground)&&void 0!==s&&s,isEditorPresentationDifferent:null!==(p=null===(d=e.appearance)||void 0===d?void 0:d.isEditorPresentationDifferent)&&void 0!==p&&p,showBlockHeaderInEditor:null!==(c=null===(l=e.appearance)||void 0===l?void 0:l.showBlockHeaderInEditor)&&void 0!==c&&c},editorOptions:{onboarding:e.onboarding}})}dataBlock(e){var t,n,o,i,a,s,d,p,l;return new r.DocsBlockDefinition({id:e.id,name:e.name,category:e.category,icon:e.icon,description:e.description,item:e.item,searchKeywords:e.searchKeywords,behavior:{dataType:e.dataType,entities:{selectionType:e.selectionType,maxSelected:null!==(t=e.maxSelection)&&void 0!==t?t:0}},appearance:{isBordered:null===(o=null===(n=e.appearance)||void 0===n?void 0:n.isBordered)||void 0===o||o,hasBackground:null!==(a=null===(i=e.appearance)||void 0===i?void 0:i.hasBackground)&&void 0!==a&&a,isEditorPresentationDifferent:null!==(d=null===(s=e.appearance)||void 0===s?void 0:s.isEditorPresentationDifferent)&&void 0!==d&&d,showBlockHeaderInEditor:null!==(l=null===(p=e.appearance)||void 0===p?void 0:p.showBlockHeaderInEditor)&&void 0!==l&&l},editorOptions:{onboarding:e.onboarding}})}onboarding(e){return new a.DocsBlockOnboarding({helpText:e.helpText,documentationLink:e.documentationLink})}textProperty(e){return new _.DocsBlockTextPropertyDefinition({type:E.DocsBlockItemPropertyType.text,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}richTextProperty(e){return new w.DocsBlockRichTextPropertyDefinition({type:E.DocsBlockItemPropertyType.richText,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}multiRichTextProperty(e){return new w.DocsBlockRichTextPropertyDefinition({type:E.DocsBlockItemPropertyType.richText,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}booleanProperty(e){return new l.DocsBlockBooleanPropertyDefinition({type:E.DocsBlockItemPropertyType.boolean,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}numericProperty(e){return new b.DocsBlockNumberPropertyDefinition({type:E.DocsBlockItemPropertyType.number,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}singleSelectProperty(e){return new S.DocsBlockSingleSelectPropertyDefinition({type:E.DocsBlockItemPropertyType.singleSelect,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}multiSelectProperty(e){return new T.DocsBlockMultiSelectPropertyDefinition({type:E.DocsBlockItemPropertyType.multiSelect,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}imageProperty(e){return new v.DocsBlockImagePropertyDefinition({type:E.DocsBlockItemPropertyType.image,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}tokenProperty(e){return new P.DocsBlockTokenPropertyDefinition({type:E.DocsBlockItemPropertyType.token,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}tokenTypeProperty(e){return new C.DocsBlockTokenTypePropertyDefinition({type:E.DocsBlockItemPropertyType.tokenType,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}tokenPropertyProperty(e){return new x.DocsBlockTokenPropertyPropertyDefinition({type:E.DocsBlockItemPropertyType.tokenProperty,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}componentProperty(e){return new m.DocsBlockComponentPropertyDefinition({type:E.DocsBlockItemPropertyType.component,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}componentPropertyProperty(e){return new h.DocsBlockComponentPropertyPropertyDefinition({type:E.DocsBlockItemPropertyType.componentProperty,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}assetProperty(e){return new d.DocsBlockAssetPropertyDefinition({type:E.DocsBlockItemPropertyType.asset,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}figmaNodeProperty(e){return new y.DocsBlockFigmaNodePropertyDefinition({type:E.DocsBlockItemPropertyType.figmaNode,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}assetPropertyProperty(e){return new p.DocsBlockAssetPropertyPropertyDefinition({type:E.DocsBlockItemPropertyType.assetProperty,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}embedUrlProperty(e){return new f.DocsBlockEmbedUrlPropertyDefinition({type:E.DocsBlockItemPropertyType.embedURL,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}markdownProperty(e){return new k.DocsBlockMarkdownPropertyDefinition({type:E.DocsBlockItemPropertyType.markdown,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}urlProperty(e){return new O.DocsBlockUrlPropertyDefinition({type:E.DocsBlockItemPropertyType.url,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}storybookProperty(e){return new I.DocsBlockStorybookPropertyDefinition({type:E.DocsBlockItemPropertyType.storybook,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}codeProperty(e){return new c.DocsBlockCodePropertyDefinition({type:E.DocsBlockItemPropertyType.code,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}codeSandboxProperty(e){return new u.DocsBlockCodeSandboxPropertyDefinition({type:E.DocsBlockItemPropertyType.codeSandbox,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}tableProperty(e){return new D.DocsBlockTablePropertyDefinition({type:E.DocsBlockItemPropertyType.table,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}dividerProperty(e){return new g.DocsBlockDividerPropertyDefinition({type:E.DocsBlockItemPropertyType.divider,id:e.id,name:e.name,description:e.description,options:e.options,variantOptions:e.variants})}}},8479:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TokenJSONBuilder=t.JSONBuilderNamingOption=void 0;const o=n(1322),i=n(9976),a=n(578),s=n(7111),d=r(n(5250));var p,l;!function(e){e.original="original",e.camelcase="camelcase",e.snakecase="snakecase",e.kebabcase="kebabcase"}(p=t.JSONBuilderNamingOption||(t.JSONBuilderNamingOption={})),function(e){e[e.styleDictionary=0]="styleDictionary",e[e.figmaTokens=1]="figmaTokens"}(l||(l={}));class c{constructor(e,t,n){this.instance=e,this.designSystemId=t,this.versionId=n}async styleDictionaryRepresentation(e){this.tokenTransformer=new s.TokenJSONElementStyleDictionaryTransformer;let t=await this.instance.tokens.getTokens({designSystemId:this.designSystemId,versionId:this.versionId});const n=await this.instance.tokens.getTokenGroups({designSystemId:this.designSystemId,versionId:this.versionId});return e.brandId&&(t=t.filter((t=>t.brandId===e.brandId))),this.buildTokenStructure(t,n,Object.assign(Object.assign({},e),{consumerMode:l.figmaTokens}))}async figmaTokensRepresentation(e){if(!e)throw new Error("Multi file mode of write is not yet supported by the tooling");this.tokenTransformer=new a.TokenJSONElementFigmaTokensTransformer;let t=await this.instance.tokens.getTokens({designSystemId:this.designSystemId,versionId:this.versionId});const n=await this.instance.tokens.getTokenGroups({designSystemId:this.designSystemId,versionId:this.versionId}),r=await this.instance.brands.getBrands({designSystemId:this.designSystemId,versionId:this.versionId}),i={naming:p.original,includeComments:!1,includeBrandId:!1,brandId:(0,o.sureOf)(r[0]).id,includeType:!0,includeRootTypeNodes:!1,type:null,multifile:!1,consumerMode:l.figmaTokens};return i.brandId&&(t=t.filter((e=>e.brandId===i.brandId))),this.buildTokenStructure(t,n,i)}buildTokenStructure(e,t,n){if(!n.type){let r={};for(const o of t)if(o.isRoot){const i=this.generateStyleDictionaryTree(o,e,t,n);r=d.default.merge(r,i)}return r}for(const r of t)if(r.isRoot&&r.tokenType===n.type)return this.generateStyleDictionaryTree(r,e,t,n);return{}}generateStyleDictionaryTree(e,t,n,r){const o=i.TokenUtils.tokensToReferenceMap(t),a=this.representTree(e,t,n,{},r);for(const i of c.tokensOfGroup(e,t))a[this.tokenTransformer.safeTokenName(i,r.naming)]=this.tokenTransformer.representToken(i,o,n,r);return r.includeRootTypeNodes?{[`${this.tokenTransformer.typeLabel(e.tokenType)}`]:a}:a}representTree(e,t,n,r,o){const a=r,s=i.TokenUtils.tokensToReferenceMap(t);for(const r of e.subgroupIds){const e={},i=n.find((e=>e.id===r));a[this.tokenTransformer.safeGroupName(i)]=this.representTree(i,t,n,e,o);for(const e of c.tokensOfGroup(i,t))a[this.tokenTransformer.safeTokenName(e,o.naming)]=this.tokenTransformer.representToken(e,s,n,o)}return a}static tokensOfGroup(e,t){return t.filter((t=>-1!==e.tokenIds.indexOf(t.id)))}static referenceGroupChain(e,t){let n=e;const r=[e];for(;n.parentGroupId;){const e=n.parentGroupId,o=t.find((t=>t.id===e));r.push(o),n=o}return r.reverse()}}t.TokenJSONBuilder=c},578:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenJSONElementFigmaTokensTransformer=void 0;const r=n(6445),o=n(3788),i=n(1322),a=n(7098),s=n(5288);class d extends s.TokenJSONElementTransformer{representColorTokenValue(e,t,n,o){let i;return e.referencedTokenId?(i=this.referenceWrapper(this.referenceName(e.referencedTokenId,t,n,o)),i):r.ColorToken.colorValueToHex8(e)}representDimensionTokenValue(e,t,n,r){let o;return o=e.referencedTokenId?this.referenceWrapper(this.referenceName(e.referencedTokenId,t,n,r)):`${e.measure}px`,o}representStringTokenValue(e,t,n,r){let o;return o=e.referencedTokenId?this.referenceWrapper(this.referenceName(e.referencedTokenId,t,n,r)):e.text,o}representOptionTokenValue(e,t,n,r){let o;return o=e.referencedTokenId?this.referenceWrapper(this.referenceName(e.referencedTokenId,t,n,r)):e.value,o}representTypographyTokenValue(e,t,n,r){let o;return o=e.referencedTokenId?this.referenceWrapper(this.referenceName(e.referencedTokenId,t,n,r)):{fontSize:{type:"measure",value:this.representDimensionTokenValue(e.fontSize,t,n,r)},textDecoration:e.textDecoration,textCase:e.textCase,letterSpacing:{type:"measure",value:this.representDimensionTokenValue(e.letterSpacing,t,n,r)},paragraphIndent:{type:"measure",value:this.representDimensionTokenValue(e.paragraphIndent,t,n,r)},paragraphSpacing:{type:"measure",value:this.representDimensionTokenValue(e.paragraphSpacing,t,n,r)},lineHeight:e.lineHeight?{type:"measure",value:this.representDimensionTokenValue(e.lineHeight,t,n,r)}:void 0},o}representBorderTokenValue(e,t,n,r){let o;return o=e.referencedTokenId?this.referenceWrapper(this.referenceName(e.referencedTokenId,t,n,r)):{color:{type:"color",value:this.representColorTokenValue(e.color,t,n,r)},width:{type:"measure",value:this.representDimensionTokenValue(e.width,t,n,r)},position:{type:"string",value:e.position}},o}representShadowTokenValue(e,t,n,r){let o;const a=(0,i.sureOf)(e[0]);return o=a.referencedTokenId?this.referenceWrapper(this.referenceName(a.referencedTokenId,t,n,r)):{color:{type:"color",value:this.representColorTokenValue(a.color,t,n,r)},x:{type:"measure",value:a.x},y:{type:"measure",value:a.y},radius:{type:"measure",value:a.radius},spread:{type:"measure",value:a.spread},opacity:{type:"size",value:a.opacity}},o}representGradientTokenValue(e,t,n,r){let o;const a=(0,i.sureOf)(e[0]);if(a.referencedTokenId)o=this.referenceWrapper(this.referenceName(a.referencedTokenId,t,n,r));else{o={to:{type:"point",value:{x:{type:"size",value:a.to.x},y:{type:"size",value:a.to.y}}},from:{type:"point",value:{x:{type:"size",value:a.from.x},y:{type:"size",value:a.from.y}}},type:{type:"string",value:a.type},aspectRatio:{type:"size",value:a.aspectRatio},stops:{}};let e=0;for(const i of a.stops){const a={type:"gradientStop",position:{type:"size",value:i.position},color:{type:"color",value:this.representColorTokenValue(i.color,t,n,r)}};o.stops[`${e}`]=a,e+=1}}return o}tokenWrapper(e,t,n,r){const o={value:t,type:void 0,brandId:void 0,description:void 0};return n.includeType&&(o.type=this.typeLabelConsideringAbstractGroups(e,r)),n.includeBrandId&&(o.brandId=e.brandId),n.includeComments&&(o.description=e.description.length>0?e.description:void 0),o}typeLabelConsideringAbstractGroups(e,t){const n=t.find((t=>t.id===e.parentGroupId)),r=this.referenceGroupChain(n,t);switch(e.tokenType){case o.TokenType.color:return"color";case o.TokenType.size:return"sizing";case o.TokenType.space:return"spacing";case o.TokenType.opacity:return"opacity";case o.TokenType.fontSize:return"fontSize";case o.TokenType.lineHeight:return"lineHeight";case o.TokenType.letterSpacing:return"letterSpacing";case o.TokenType.paragraphSpacing:return"paragraphSpacing";case o.TokenType.borderWidth:return"borderWidth";case o.TokenType.radius:return"borderRadius";case o.TokenType.duration:case o.TokenType.zIndex:return;case o.TokenType.dimension:if(r.length>=2){const e=(0,i.sureOf)(r[1]);switch(e.name){case"Sizing":return"sizing";case"Font Size":return"fontSize";case"Border Radius":return"borderRadius";case"Border Width":return"borderWidth";case"Paragraph Spacing":return"paragraphSpacing";case"Line Height":return"lineHeight";case"Letter Spacing":return"letterSpacing";case"Spacing":return"spacing";case"Opacity":return"opacity";case"Dimension":return"dimension";default:return e.name}}return"sizing";case o.TokenType.border:return"border";case o.TokenType.gradient:return"gradient";case o.TokenType.shadow:return"shadow";case o.TokenType.string:case o.TokenType.productCopy:case o.TokenType.fontFamily:case o.TokenType.fontWeight:return"text";case o.TokenType.textCase:return"textCase";case o.TokenType.textDecoration:return"textDecoration";case o.TokenType.visibility:return"visibility";case o.TokenType.typography:return"typography";case o.TokenType.blur:return;default:throw new a.UnreachableCaseError(e.tokenType)}}referenceWrapper(e){return`{${e}}`}safeGroupName(e){return e.name}referenceName(e,t,n,r){var i;const a=t.get(e);if(!a)throw new Error(`JS: Unable to find token with id: ${e}`);const s=n.find((e=>a.parentGroupId===e.id));if(!s)throw new Error(`JS: Unable to find group with id: ${e}`);const d=this.safeTokenName(a,r.naming),p=this.referenceGroupChain(s,n).map((e=>this.safeGroupName(e)));r.includeRootTypeNodes||p.splice(0,1);let l=!1;switch(a.tokenType){case o.TokenType.dimension:case o.TokenType.space:case o.TokenType.size:case o.TokenType.opacity:case o.TokenType.fontSize:case o.TokenType.lineHeight:case o.TokenType.letterSpacing:case o.TokenType.paragraphSpacing:case o.TokenType.borderWidth:case o.TokenType.radius:case o.TokenType.duration:case o.TokenType.zIndex:["Border Radius","Border Width","Sizing","Font Size","Paragraph Spacing","Line Height","Letter Spacing","Spacing","Opacity","Dimension"].includes(null!==(i=p[0])&&void 0!==i?i:"")&&(l=!0)}return l&&p.splice(0,1),[...p,d].join(".")}groupIsAbstract(e,t){const n=e.parentGroupId,r=t.find((e=>e.id===n));return!(!r||!r.isRoot)&&!(e.tokenType!==o.TokenType.dimension||!["Border Radius","Border Width","Sizing","Font Size","Paragraph Spacing","Line Height","Letter Spacing","Spacing","Opacity"].includes(e.name))}}t.TokenJSONElementFigmaTokensTransformer=d},7111:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenJSONElementStyleDictionaryTransformer=void 0;const r=n(2155),o=n(1322),i=n(5288);class a extends i.TokenJSONElementTransformer{representColorTokenValue(e,t,n,o){let i;return i=e.referencedTokenId?this.referenceWrapper(this.referenceName(e.referencedTokenId,t,n,o)):r.ColorToken.colorValueToHex8(e),i}representDimensionTokenValue(e,t,n,r){let o;return o=e.referencedTokenId?this.referenceWrapper(this.referenceName(e.referencedTokenId,t,n,r)):{measure:{type:"size",value:e.measure},unit:{type:"string",value:e.unit.toLowerCase()}},o}representStringTokenValue(e,t,n,r){let o;return o=e.referencedTokenId?this.referenceWrapper(this.referenceName(e.referencedTokenId,t,n,r)):e.text,o}representOptionTokenValue(e,t,n,r){let o;return o=e.referencedTokenId?this.referenceWrapper(this.referenceName(e.referencedTokenId,t,n,r)):e.value,o}representTypographyTokenValue(e,t,n,r){let o;return o=e.referencedTokenId?this.referenceWrapper(this.referenceName(e.referencedTokenId,t,n,r)):{fontSize:{type:"measure",value:this.representDimensionTokenValue(e.fontSize,t,n,r)},textDecoration:e.textDecoration,textCase:e.textCase,letterSpacing:{type:"measure",value:this.representDimensionTokenValue(e.letterSpacing,t,n,r)},paragraphIndent:{type:"measure",value:this.representDimensionTokenValue(e.paragraphIndent,t,n,r)},paragraphSpacing:{type:"measure",value:this.representDimensionTokenValue(e.paragraphSpacing,t,n,r)},lineHeight:e.lineHeight?{type:"measure",value:this.representDimensionTokenValue(e.lineHeight,t,n,r)}:void 0},o}representBorderTokenValue(e,t,n,r){let o;return o=e.referencedTokenId?this.referenceWrapper(this.referenceName(e.referencedTokenId,t,n,r)):{color:{type:"color",value:this.representColorTokenValue(e.color,t,n,r)},width:{type:"measure",value:this.representDimensionTokenValue(e.width,t,n,r)},position:{type:"string",value:e.position}},o}representShadowTokenValue(e,t,n,r){let i;const a=(0,o.sureOf)(e[0]);return i=a.referencedTokenId?this.referenceWrapper(this.referenceName(a.referencedTokenId,t,n,r)):{color:{type:"color",value:this.representColorTokenValue(a.color,t,n,r)},x:{type:"measure",value:a.x},y:{type:"measure",value:a.y},radius:{type:"measure",value:a.radius},spread:{type:"measure",value:a.spread},opacity:{type:"size",value:a.opacity}},i}representGradientTokenValue(e,t,n,r){let i;const a=(0,o.sureOf)(e[0]);if(a.referencedTokenId)i=this.referenceWrapper(this.referenceName(a.referencedTokenId,t,n,r));else{i={to:{type:"point",value:{x:{type:"size",value:a.to.x},y:{type:"size",value:a.to.y}}},from:{type:"point",value:{x:{type:"size",value:a.from.x},y:{type:"size",value:a.from.y}}},type:{type:"string",value:a.type},aspectRatio:{type:"size",value:a.aspectRatio},stops:{}};let e=0;for(const o of a.stops){const a={type:"gradientStop",position:{type:"size",value:o.position},color:{type:"color",value:this.representColorTokenValue(o.color,t,n,r)}};i.stops[`${e}`]=a,e+=1}}return i}referenceWrapper(e){return`{${e}.value}`}groupIsAbstract(e){return!1}}t.TokenJSONElementStyleDictionaryTransformer=a},5288:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenJSONElementTransformer=void 0;const r=n(3788),o=n(7098),i=n(8479);t.TokenJSONElementTransformer=class{representToken(e,t,n,i){switch(e.tokenType){case r.TokenType.color:return this.representColorToken(e,t,n,i);case r.TokenType.border:return this.representBorderToken(e,t,n,i);case r.TokenType.gradient:return this.representGradientToken(e,t,n,i);case r.TokenType.dimension:case r.TokenType.size:case r.TokenType.space:case r.TokenType.opacity:case r.TokenType.fontSize:case r.TokenType.lineHeight:case r.TokenType.letterSpacing:case r.TokenType.paragraphSpacing:case r.TokenType.borderWidth:case r.TokenType.radius:case r.TokenType.duration:case r.TokenType.zIndex:return this.representDimensionToken(e,t,n,i);case r.TokenType.shadow:return this.representShadowToken(e,t,n,i);case r.TokenType.string:case r.TokenType.productCopy:case r.TokenType.fontFamily:case r.TokenType.fontWeight:return this.representStringToken(e,t,n,i);case r.TokenType.textCase:case r.TokenType.textDecoration:case r.TokenType.visibility:return this.representOptionToken(e,t,n,i);case r.TokenType.typography:return this.representTypographyToken(e,t,n,i);case r.TokenType.blur:return;default:throw new o.UnreachableCaseError(e.tokenType)}}representColorToken(e,t,n,r){const o=this.representColorTokenValue(e.value,t,n,r);return this.tokenWrapper(e,o,r,n)}representBorderToken(e,t,n,r){const o=this.representBorderTokenValue(e.value,t,n,r);return this.tokenWrapper(e,o,r,n)}representGradientToken(e,t,n,r){const o=this.representGradientTokenValue(e.value,t,n,r);return this.tokenWrapper(e,o,r,n)}representDimensionToken(e,t,n,r){const o=this.representDimensionTokenValue(e.value,t,n,r);return this.tokenWrapper(e,o,r,n)}representShadowToken(e,t,n,r){const o=this.representShadowTokenValue(e.value,t,n,r);return this.tokenWrapper(e,o,r,n)}representStringToken(e,t,n,r){const o=this.representStringTokenValue(e.value,t,n,r);return this.tokenWrapper(e,o,r,n)}representOptionToken(e,t,n,r){const o=this.representOptionTokenValue(e.value,t,n,r);return this.tokenWrapper(e,o,r,n)}representTypographyToken(e,t,n,r){const o=this.representTypographyTokenValue(e.value,t,n,r);return this.tokenWrapper(e,o,r,n)}representColorTokenValue(e,t,n,r){throw new Error("Not implemented")}representDimensionTokenValue(e,t,n,r){throw new Error("Not implemented")}representStringTokenValue(e,t,n,r){throw new Error("Not implemented")}representOptionTokenValue(e,t,n,r){throw new Error("Not implemented")}representTypographyTokenValue(e,t,n,r){throw new Error("Not implemented")}representBorderTokenValue(e,t,n,r){throw new Error("Not implemented")}representShadowTokenValue(e,t,n,r){throw new Error("Not implemented")}representGradientTokenValue(e,t,n,r){throw new Error("Not implemented")}referenceWrapper(e,t){throw new Error("Not implemented")}tokenWrapper(e,t,n,r){const o={value:t,type:void 0,brandId:void 0,comment:void 0};return n.includeType&&(o.type=this.typeLabel(e.tokenType)),n.includeBrandId&&(o.brandId=e.brandId),n.includeComments&&(o.comment=e.description.length>0?e.description:void 0),o}referenceName(e,t,n,r){const o=t.get(e);if(!o)throw new Error(`JS: Unable to find token with id: ${e}`);const i=n.find((e=>o.parentGroupId===e.id));if(!i)throw new Error(`JS: Unable to find group with id: ${e}`);const a=this.safeTokenName(o,r.naming),s=this.referenceGroupChain(i,n).map((e=>this.safeGroupName(e)));return r.includeRootTypeNodes||s.splice(0,1),[...s,a].join(".")}safeTokenName(e,t){const{name:n}=e;return this.processedName(n,t)}safeGroupName(e){return e.name.replace(/\W+/g,"-").toLowerCase()}processedName(e,t){switch(t){case i.JSONBuilderNamingOption.camelcase:return e.replace(/(?:^\w|[A-Z]|\b\w)/g,(function(e,t){return 0===t?e.toLowerCase():e.toUpperCase()})).replace(/\s+/g,"");case i.JSONBuilderNamingOption.kebabcase:return e.replace(/\W+/g,"-").toLowerCase();case i.JSONBuilderNamingOption.original:return e;case i.JSONBuilderNamingOption.snakecase:return e.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g).map((e=>e.toLowerCase())).join("_");default:throw new Error(`Unknown naming option: ${t}`)}}typeLabel(e){switch(e){case r.TokenType.border:return"border";case r.TokenType.color:return"color";case r.TokenType.gradient:return"gradient";case r.TokenType.dimension:case r.TokenType.size:case r.TokenType.space:case r.TokenType.opacity:case r.TokenType.fontSize:case r.TokenType.lineHeight:case r.TokenType.letterSpacing:case r.TokenType.paragraphSpacing:case r.TokenType.borderWidth:case r.TokenType.radius:case r.TokenType.duration:case r.TokenType.zIndex:return"measure";case r.TokenType.shadow:return"shadow";case r.TokenType.string:case r.TokenType.productCopy:case r.TokenType.fontFamily:case r.TokenType.fontWeight:return"text";case r.TokenType.textCase:return"textCase";case r.TokenType.textDecoration:return"textDecoration";case r.TokenType.visibility:return"visibility";case r.TokenType.typography:return"typography";case r.TokenType.blur:return;default:throw new o.UnreachableCaseError(e)}}referenceGroupChain(e,t){let n=e;const r=[e];for(;n.parentGroupId;){const e=n.parentGroupId,o=t.find((t=>t.id===e));r.push(o),n=o}return r.reverse()}}},9517:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MarkdownTransform=t.MarkdownTransformType=void 0;const r=n(1846),o=n(1308);var i;!function(e){e.commonmark="commonmark",e.github="github"}(i=t.MarkdownTransformType||(t.MarkdownTransformType={})),t.MarkdownTransform=class{constructor(e,t,n,r,a){this.flattenedBlocksOfPage=e=>{let{blocks:t}=e;for(const n of e.blocks)t=t.concat(this.flattenedBlocksOfBlock(n));return t},this.flattenedBlocksOfBlock=e=>{if(this.isContainer(e.type))return[];let t=e.children;for(const n of e.children)t=t.concat(this.flattenedBlocksOfBlock(n));return t},this.conversionType=e,e===i.github&&console.log("Note: GitHub mode of markdown is currently in development and is not yet fully supported"),this.blockTransformer=new o.MarkdownTransformBlock(e,t,n,r,a)}async convertPageToMarkdown(e){const t=this.flattenedBlocksOfPage(e),n=[];for(const r of t){const t=await this.blockTransformer.convertBlockToMarkdown(r,e);t&&n.push(t)}return`# ${e.title}\n\n${e.configuration.header.description?`${e.configuration.header.description}\n\n`:""}---\n\n${n.join("\n\n")}`}isContainer(e){return e===r.DocumentationLegacyPageBlockType.table||e===r.DocumentationLegacyPageBlockType.tableCell||e===r.DocumentationLegacyPageBlockType.tableRow||e===r.DocumentationLegacyPageBlockType.column||e===r.DocumentationLegacyPageBlockType.columnItem||e===r.DocumentationLegacyPageBlockType.tabs||e===r.DocumentationLegacyPageBlockType.tabItem}}},1308:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MarkdownTransformBlock=void 0;const r=n(4941),o=n(7599),i=n(9535),a=n(5102),s=n(9896),d=n(1846),p=n(9517),l=n(545);t.MarkdownTransformBlock=class{constructor(e,t,n,r,o){this.newlineSeparator=" \n",this.transformType=e,this.instance=t,this.designSystemId=n,this.versionId=o,this.workspaceId=r,e===p.MarkdownTransformType.github&&console.log("Note: GitHub mode of markdown is currently in development and is not yet fully supported"),this.utilTransformer=new l.MarkdownTransformUtil}async convertBlockToMarkdown(e,t){switch(e.type){case d.DocumentationLegacyPageBlockType.callout:return this.convertCalloutBlock(e);case d.DocumentationLegacyPageBlockType.code:return this.convertCodeBlock(e);case d.DocumentationLegacyPageBlockType.componentAssets:return this.convertComponentAssetBlock(e);case d.DocumentationLegacyPageBlockType.custom:return this.convertCustomBlock();case d.DocumentationLegacyPageBlockType.divider:return this.convertDividerBlock();case d.DocumentationLegacyPageBlockType.figmaEmbed:return this.convertFigmaEmbedBlock(e);case d.DocumentationLegacyPageBlockType.figmaFrames:return this.convertFigmaFramesBlock(e);case d.DocumentationLegacyPageBlockType.genericEmbed:return this.convertGenericEmbedBlock(e);case d.DocumentationLegacyPageBlockType.heading:return this.convertHeadingBlock(e);case d.DocumentationLegacyPageBlockType.image:return this.convertImageBlock(e);case d.DocumentationLegacyPageBlockType.link:return this.convertLinkBlock(e);case d.DocumentationLegacyPageBlockType.orderedList:return this.convertOrderedListBlock(e);case d.DocumentationLegacyPageBlockType.quote:return this.convertQuoteBlock(e);case d.DocumentationLegacyPageBlockType.renderCode:return this.convertLiveCodeBlock(e);case d.DocumentationLegacyPageBlockType.shortcuts:return this.convertShortcutsBlock(e,t);case d.DocumentationLegacyPageBlockType.storybookEmbed:return this.convertStorybookEmbedBlock(e);case d.DocumentationLegacyPageBlockType.text:return this.convertTextBlock(e);case d.DocumentationLegacyPageBlockType.token:return this.convertTokenBlock(e);case d.DocumentationLegacyPageBlockType.tokenGroup:return this.convertTokenGroupBlock(e);case d.DocumentationLegacyPageBlockType.tokenList:return this.convertTokenListBlock(e);case d.DocumentationLegacyPageBlockType.unorderedList:return this.convertUnorderedListBlock(e);case d.DocumentationLegacyPageBlockType.youtubeEmbed:return this.convertYoutubeEmbedBlock(e);case d.DocumentationLegacyPageBlockType.column:return this.convertColumnBlock(e,t);case d.DocumentationLegacyPageBlockType.table:return this.convertTableBlock(e,t);case d.DocumentationLegacyPageBlockType.tabs:return this.convertTabsBlock(e,t);case d.DocumentationLegacyPageBlockType.tabItem:return this.convertTabItemBlock(e,t);case d.DocumentationLegacyPageBlockType.columnItem:return this.convertColumnItemBlock(e,t);case d.DocumentationLegacyPageBlockType.tableCell:return this.convertTableCellBlock(e,t);case d.DocumentationLegacyPageBlockType.tableRow:return this.convertTableRowBlock();default:throw new Error("Unknown block type")}}convertHeadingBlock(e){const t=e,n=this.utilTransformer.convertTextBlockToMarkdown(t);switch(t.headingType){case s.DocumentationLegacyHeadingType.h1:return`# ${n}`;case s.DocumentationLegacyHeadingType.h2:return`## ${n}`;case s.DocumentationLegacyHeadingType.h3:return`### ${n}`;default:throw new Error("Unknown heading type")}}convertCalloutBlock(e){const t=this.utilTransformer.convertTextBlockToMarkdown(e);let n;switch(e.calloutType){case a.DocumentationLegacyCalloutType.info:n="Some extra info:";break;case a.DocumentationLegacyCalloutType.warning:n="Be warned:";break;case a.DocumentationLegacyCalloutType.success:n="Yay:";break;case a.DocumentationLegacyCalloutType.error:n="Please note:";break;default:throw new Error("Unknown callout type")}return`> ${n}${this.newlineSeparator}> ${t}`}convertQuoteBlock(e){return`> ${this.utilTransformer.convertTextBlockToMarkdown(e)}`}convertDividerBlock(){return"---"}convertImageBlock(e){return e.url?``:null}convertOrderedListBlock(e){return`1. ${this.utilTransformer.convertTextBlockToMarkdown(e)}`}convertUnorderedListBlock(e){return`- ${this.utilTransformer.convertTextBlockToMarkdown(e)}`}convertLiveCodeBlock(e){return`\`\`\`javascript${this.newlineSeparator}${e.code}${this.newlineSeparator}\`\`\``}convertCodeBlock(e){return`\`\`\`${e.codeLanguage?e.codeLanguage.toLowerCase():""}${this.newlineSeparator}${e.text.asPlainText()}${this.newlineSeparator}\`\`\``}convertTextBlock(e){return this.utilTransformer.convertTextBlockToMarkdown(e)}convertGenericEmbedBlock(e){return this.convertURLBlock(e,"Open link")}convertStorybookEmbedBlock(e){return this.convertURLBlock(e,"Open Storybook Canvas")}convertLinkBlock(e){return this.convertURLBlock(e,"Open link")}convertYoutubeEmbedBlock(e){return this.convertURLBlock(e,"Open Youtube Video")}convertFigmaEmbedBlock(e){return this.convertURLBlock(e,"Open Figma Prototype / File")}async convertTokenBlock(e){if(!e.tokenId)return null;let t=await this.instance.tokens.getTokens({designSystemId:this.designSystemId,versionId:this.versionId});t=t.filter((t=>t.id===e.tokenId||t.idInVersion===e.tokenId));const n=t[0];return 0!==t.length&&n?`${this.newlineSeparator}${this.utilTransformer.convertTokenToMarkdown(n)}${this.newlineSeparator}`:null}async convertTokenListBlock(e){if(!e.tokenIds)return null;let t=await this.instance.tokens.getTokens({designSystemId:this.designSystemId,versionId:this.versionId});return t=t.filter((t=>e.tokenIds.includes(t.id)||e.tokenIds.includes(t.idInVersion))),0===t.length?null:`${this.newlineSeparator}${t.map((e=>this.utilTransformer.convertTokenToMarkdown(e))).join(this.newlineSeparator)}${this.newlineSeparator}`}async convertTokenGroupBlock(e){if(!e.groupId)return null;const t=await this.instance.tokens.getTokens({designSystemId:this.designSystemId,versionId:this.versionId});let n=await this.instance.tokens.getTokenGroups({designSystemId:this.designSystemId,versionId:this.versionId});n=n.filter((t=>t.id===e.groupId||t.idInVersion===e.groupId));const r=n[0];if(1!==n.length||!r)return null;let o=[r];e.showNestedGroups&&(o=this.flattenedGroupsFromRoot(r,n));const i=[];for(const e of o){const n=t.filter((t=>e.tokenIds.includes(t.id)||e.tokenIds.includes(t.idInVersion)));if(n.length>0){const t=`${this.newlineSeparator}**Token Group ${[...e.path,e.name].join(" / ")}**: ${this.newlineSeparator}${n.map((e=>this.utilTransformer.convertTokenToMarkdown(e))).join(this.newlineSeparator)}${this.newlineSeparator}`;i.push(t)}}return i.join(this.newlineSeparator)}flattenedGroupsFromRoot(e,t){let n=[e];for(const r of e.subgroupIds){const e=t.find((e=>e.id===r));n.push(e),n=n.concat(this.flattenedGroupsFromRoot(e,t))}return n}async convertComponentAssetBlock(e){const t=await this.instance.assets.getAssets({designSystemId:this.designSystemId,versionId:this.versionId}),n=[];for(const r of e.assets){const e=t.filter((e=>e.id===r.assetId))[0];e&&e.thumbnailUrl&&n.push(`${this.newlineSeparator}${r.title?r.title:e.name}${r.description?`, ${r.description}${this.newlineSeparator}`:""}`)}return this.newlineSeparator+n.join(this.newlineSeparator)+this.newlineSeparator}convertFigmaFramesBlock(e){var t;const n=[];for(const r of e.frames)r.previewUrl&&n.push(`${this.newlineSeparator}${r.title?r.title:""}${r.description?`, ${r.description}${this.newlineSeparator}`:""}`);return this.newlineSeparator+n.join(this.newlineSeparator)+this.newlineSeparator}async convertShortcutsBlock(e,t){return""}relativePathToPage(e,t){let{parent:n}=t,r=0;for(;n;)r+=1,n=n.parent;const o=1===r?"./":"../".repeat(r-1);let i=e.relativePageUrl();return i.endsWith("html")&&(i=`${i.substring(0,i.length-4)}md`),o+i}async convertTableBlock(e,t){if(0===e.children.length)return null;const n=e.children[0],r=[],o=[];let a=1;for(const e of n.children)r.push(`Column ${a}`),o.push("---"),a+=1;const s=[`| ${r.join(" | ")} |`,`| ${o.join(" | ")} |`];for(const n of e.children)if(n instanceof i.DocumentationLegacyPageBlockTableRow){const e=`| ${(await Promise.all(n.children.map((e=>this.convertBlockToMarkdown(e,t))))).join(" | ")} |`;s.push(e)}return this.newlineSeparator+s.join(this.newlineSeparator)+this.newlineSeparator}convertTableRowBlock(){return null}async convertTableCellBlock(e,t){return(await Promise.all(e.children.map((e=>this.convertBlockToMarkdown(e,t))))).join("<br>")}async convertTabsBlock(e,t){if(0===e.children.length)return null;const n=[];for(const r of e.children)if(r instanceof o.DocumentationLegacyPageBlockTabItem){const e=await this.convertTabItemBlock(r,t);n.push(e)}return n.join(this.newlineSeparator)+this.newlineSeparator}async convertTabItemBlock(e,t){const n=await Promise.all(e.children.map((e=>this.convertBlockToMarkdown(e,t))));return`${this.newlineSeparator}**${e.caption}**${this.newlineSeparator}${n.join(this.newlineSeparator)}`}async convertColumnBlock(e,t){if(0===e.children.length)return null;const n=[];for(const o of e.children)if(o instanceof r.DocumentationLegacyPageBlockColumnItem){const e=await this.convertColumnItemBlock(o,t);n.push(e)}return n.join(this.newlineSeparator)+this.newlineSeparator}async convertColumnItemBlock(e,t){const n=await Promise.all(e.children.map((e=>this.convertBlockToMarkdown(e,t))));return this.newlineSeparator+n.join(this.newlineSeparator)}convertCustomBlock(){return null}convertURLBlock(e,t){if(e.url){const n=e.caption?`^ ${e.caption}${this.newlineSeparator}`:"";return`${this.newlineSeparator}[${t}](${e.url})${this.newlineSeparator}${n}`}return null}}},545:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MarkdownTransformUtil=void 0;const r=n(2674),o=n(4917);t.MarkdownTransformUtil=class{constructor(){this.tokenTransformer=new o.TokenTransform}convertTextBlockToMarkdown(e){return this.convertRichTextToMarkdown(e.text)}convertRichTextToMarkdown(e){var t;let n="";for(const o of e.spans)if(o.text.length>0){let e=o.text;for(const n of o.attributes)switch(n.type){case r.RichTextSpanAttributeType.link:e=`[${e}](${null!==(t=n.link)&&void 0!==t?t:""})`;break;case r.RichTextSpanAttributeType.bold:e=`*${e}*`;break;case r.RichTextSpanAttributeType.code:e=`\`${e}\``;break;case r.RichTextSpanAttributeType.italic:e=`_${e}**_`;break;case r.RichTextSpanAttributeType.strikethrough:e=`~~${e}~~`;break;default:throw new Error("Unknown attribute type")}n+=e}return n}convertTokenToMarkdown(e){return`${e.name}: ${this.tokenTransformer.tokenToCSS(e)}`}}},6169:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DocSearch=t.DocSearchResultDataType=void 0;const o=n(2668),i=n(2123),a=n(1846),s=r(n(1961));var d;!function(e){e.contentBlock="contentBlock",e.sectionHeader="sectionHeader",e.pageTitle="pageTitle"}(d=t.DocSearchResultDataType||(t.DocSearchResultDataType={})),t.DocSearch=class{constructor(e){this.updateSearchIndex=e=>{let t=0;const n=[];for(const r of e){let e=r.title;r.parent&&r.parent.groupBehavior===i.DocumentationLegacyGroupBehavior.tabs&&(e=`${r.parent.title}/${e}`);const s=this.flattenedBlocksOfPage(r);for(const i of s)i instanceof o.DocumentationLegacyPageBlockText&&(n.push({id:t,text:i.text.spans.map((e=>e.text)).join(""),type:i.type===a.DocumentationLegacyPageBlockType.heading?d.sectionHeader:d.contentBlock,blockId:i.id,pageId:r.id,pageName:e}),t+=1);n.push({id:t,text:r.title,type:d.pageTitle,blockId:void 0,pageId:r.id,pageName:e}),t+=1}return this.searchEngine=this.reconstructSearchIndex(n,this.searchConfiguration),n},this.search=e=>this.searchEngine.search(e),this.reconstructSearchIndex=(e,t)=>new s.default(e,t),this.flattenedBlocksOfPage=e=>{let{blocks:t}=e;for(const n of e.blocks)t=t.concat(this.flattenedBlocksOfBlock(n));return t},this.flattenedBlocksOfBlock=e=>{let t=e.children;for(const n of e.children)t=t.concat(this.flattenedBlocksOfBlock(n));return t},this.searchConfiguration=e,this.searchEngine=this.reconstructSearchIndex([],e)}static defaultPreciseConfiguration(){return{shouldSort:!0,threshold:.1,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,ignoreLocation:!0,keys:["text"]}}static defaultFuzzyConfiguration(){return{shouldSort:!0,threshold:.2,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,ignoreLocation:!0,keys:["text"]}}}},8673:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenUtilPreviewGenerator=void 0;const r=n(8562),o=n(9336),i=n(7376),a=n(5192),s=new r.TokenUtilPreviewMetadataGenerator,d=new a.TokenUtilPreviewStyleGenerator,p=new o.TokenUtilPreviewReferenceInfoGenerator;t.TokenUtilPreviewGenerator=class{static tokenPreviewSegments(e,t){return i.TokenUtilPreviewSegmentGenerator.resolvedSegmentsForToken(e,t)}static tokenPreviewMetadata(e,t){return s.resolvedMetadataForToken(e,t)}static tokenPreviewStyle(e,t){return d.resolvedStyleForToken(e,t)}static tokenPreviewType(e){return s.tokenTypeToPreviewType(e.tokenType)}static tokenReferenceInfoForSingleLayerToken(e,t){return p.resolvedInfoForSingleLayerToken(e,t)}static tokenReferenceInfoForMultiLayerToken(e,t,n){return p.resolvedInfoForMultiLayerToken(e,t,n)}}},8562:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenUtilPreviewMetadataGenerator=void 0;const r=n(6192),o=n(1),i=n(9125),a=n(922),s=n(7040),d=n(3788),p=n(6141),l=n(7046),c=n(9976),u=n(4917);t.TokenUtilPreviewMetadataGenerator=class{resolvedMetadataForToken(e,t){var n,o;let{value:a}=e;e.tokenType!==d.TokenType.gradient&&e.tokenType!==d.TokenType.shadow||(a=e.value[0]);const s=a;let p=null;switch(e.tokenType){case d.TokenType.shadow:{const e=s;p={x:e.x,y:e.y,type:e.type===i.ShadowType.drop?"drop":"inner"};break}case d.TokenType.typography:{const e=s;p={fontSize:{value:e.fontSize.measure,unit:l.DimensionToken.unitToString(e.fontSize.unit)}};break}case d.TokenType.fontSize:{const e=s;p={fontSize:{value:e.measure,unit:l.DimensionToken.unitToString(e.unit)}};break}case d.TokenType.blur:p={type:s.type===r.BlurType.background?"background":"layer"};break;case d.TokenType.dimension:case d.TokenType.size:case d.TokenType.space:case d.TokenType.opacity:case d.TokenType.lineHeight:case d.TokenType.letterSpacing:case d.TokenType.paragraphSpacing:case d.TokenType.borderWidth:case d.TokenType.radius:case d.TokenType.duration:case d.TokenType.zIndex:{const e=s;p={value:e.measure,unit:l.DimensionToken.unitToString(e.unit)};break}}return{displayValue:this.displayValue(e),tokenType:this.tokenTypeToPreviewType(e.tokenType),referencedTo:null!==(o=null===(n=c.TokenUtils.lookupReference(s.referencedTokenId,t))||void 0===n?void 0:n.name)&&void 0!==o?o:void 0,meta:p}}displayValue(e){switch(e.tokenType){case d.TokenType.color:return e.toHex8().toUpperCase();case d.TokenType.blur:{const t=e;return l.DimensionToken.valueToString(t.value.radius,{})}case d.TokenType.shadow:{const t=e;return(new u.TokenTransform).shadowsTokenToCSS(t.value)}case d.TokenType.gradient:{const t=e.value[0];if(t)switch(t.type){case o.GradientType.linear:return"linear";case o.GradientType.angular:return"angular";case o.GradientType.radial:return"radial";default:throw new Error("Unknown gradient type")}return"linear"}case d.TokenType.fontFamily:case d.TokenType.fontWeight:return e.value.text;case d.TokenType.fontSize:{const t=e;return l.DimensionToken.valueToString(t.value)}case d.TokenType.lineHeight:{const t=e;return l.DimensionToken.valueToString(t.value)}case d.TokenType.letterSpacing:{const t=e;return l.DimensionToken.valueToString(t.value)}case d.TokenType.paragraphSpacing:{const t=e;return l.DimensionToken.valueToString(t.value)}case d.TokenType.opacity:return`${e.value.measure}`;case d.TokenType.border:{const t=e;return(new u.TokenTransform).borderTokenToCSS(t.value)}case d.TokenType.radius:{const t=e;return l.DimensionToken.valueToString(t.value)}case d.TokenType.borderWidth:{const t=e;return l.DimensionToken.valueToString(t.value)}case d.TokenType.duration:{const t=e;return l.DimensionToken.valueToString(t.value)}case d.TokenType.zIndex:return`${e.value.measure}`;case d.TokenType.textCase:switch(e.value.value){case a.TextCase.camel:return"capitalize";case a.TextCase.lower:return"lowercase";case a.TextCase.original:return"none";case a.TextCase.smallCaps:return"SmallCaps";case a.TextCase.upper:return"uppercase";default:throw new Error("Unknown text case")}case d.TokenType.textDecoration:switch(e.value.value){case s.TextDecoration.original:return"none";case s.TextDecoration.underline:return"underline";case s.TextDecoration.strikethrough:return"strikethrough";default:throw new Error("Unknown text decoration")}case d.TokenType.visibility:return e.value.value===p.VisibilityType.visible?"true":"false";case d.TokenType.productCopy:case d.TokenType.string:return e.value.text;case d.TokenType.dimension:{const t=e;return l.DimensionToken.valueToString(t.value)}case d.TokenType.size:{const t=e;return l.DimensionToken.valueToString(t.value)}case d.TokenType.space:{const t=e;return l.DimensionToken.valueToString(t.value)}case d.TokenType.typography:{const t=e;return(new u.TokenTransform).typographyTokenToCSS(t.value)}default:throw new Error("Unknown token type")}}tokenTypeToPreviewType(e){switch(e){case d.TokenType.color:return"color";case d.TokenType.typography:return"typography";case d.TokenType.radius:return"radius";case d.TokenType.dimension:return"dimension";case d.TokenType.size:return"size";case d.TokenType.space:return"space";case d.TokenType.opacity:return"opacity";case d.TokenType.fontSize:return"fontSize";case d.TokenType.lineHeight:return"lineHeight";case d.TokenType.letterSpacing:return"letterSpacing";case d.TokenType.paragraphSpacing:return"paragraphSpacing";case d.TokenType.borderWidth:return"borderWidth";case d.TokenType.duration:return"duration";case d.TokenType.zIndex:return"zIndex";case d.TokenType.shadow:return"shadow";case d.TokenType.border:return"border";case d.TokenType.gradient:return"gradient";case d.TokenType.string:return"string";case d.TokenType.productCopy:return"copy";case d.TokenType.fontFamily:return"fontFamily";case d.TokenType.fontWeight:return"fontWeight";case d.TokenType.textCase:return"textCase";case d.TokenType.textDecoration:return"textDecoration";case d.TokenType.visibility:return"visibility";case d.TokenType.blur:return"blur";default:throw new Error("Unknown token type")}}}},9336:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenUtilPreviewReferenceInfoGenerator=void 0;const r=n(6445),o=n(4546),i=n(7040),a=n(3788),s=n(6141),d=n(2155),p=n(7046),l=n(1322),c=n(9976);t.TokenUtilPreviewReferenceInfoGenerator=class{resolvedInfoForSingleLayerToken(e,t){var n,i,l,u,m,h,g,f,y,v,k,T,b,w,S,I,D,_,P,x,C,O,B,E,R,A,N,V,j,M,L,U,F,W,$,z,G,H,q,K,Z,J,Y,Q,X,ee,te,ne,re,oe,ie,ae,se,de,pe,le,ce,ue,me;switch(e.tokenType){case a.TokenType.color:{const r=e,o=c.TokenUtils.lookupReference(null===(n=r.value)||void 0===n?void 0:n.referencedTokenId,t);return{alwaysShown:[{key:[this.label("Color")],value:[{value:d.ColorToken.colorValueToHex6(r.value).toUpperCase(),prefersReferenceName:!0,referencedName:null!==(i=null==o?void 0:o.name)&&void 0!==i?i:void 0}]},{key:[this.label("Opacity")],value:[{value:`${Math.round(100*r.value.opacity.measure)}%`,prefersReferenceName:!1,referencedName:null!==(l=null==o?void 0:o.name)&&void 0!==l?l:void 0}]}],optionallyShown:[]}}case a.TokenType.blur:{const n=e,o=c.TokenUtils.lookupReference(null===(u=n.value)||void 0===u?void 0:u.referencedTokenId,t),i=n.value.type===r.BlurType.background?"Background blur":"Layer blur";return{alwaysShown:[{key:[this.label("Type")],value:[{value:i,prefersReferenceName:!1,referencedName:void 0}]},{key:[this.label("Radius")],value:[{value:p.DimensionToken.valueToString(n.value.radius),prefersReferenceName:!1,referencedName:null!==(m=null==o?void 0:o.name)&&void 0!==m?m:void 0}]}],optionallyShown:[]}}case a.TokenType.fontFamily:case a.TokenType.fontWeight:case a.TokenType.productCopy:case a.TokenType.string:{const n=e,r=c.TokenUtils.lookupReference(null===(h=n.value)||void 0===h?void 0:h.referencedTokenId,t);let o="";switch(n.tokenType){case a.TokenType.fontFamily:o="Font family";break;case a.TokenType.fontWeight:o="Font weight";break;case a.TokenType.string:o="String";break;case a.TokenType.productCopy:o="Product copy";break;default:throw new Error(`Unexpected token type ${n.tokenType}`)}return{alwaysShown:[{key:[this.label(o)],value:[{value:n.value.text,prefersReferenceName:!1,referencedName:null!==(g=null==r?void 0:r.name)&&void 0!==g?g:void 0}]}],optionallyShown:[]}}case a.TokenType.textCase:{const n=e,r=c.TokenUtils.getTextCaseTokenValue(n.value.value),o=c.TokenUtils.lookupReference(null===(f=n.value)||void 0===f?void 0:f.referencedTokenId,t);return{alwaysShown:[{key:[this.label("Text case")],value:[{value:r,prefersReferenceName:!1,referencedName:null!==(y=null==o?void 0:o.name)&&void 0!==y?y:void 0}]}],optionallyShown:[]}}case a.TokenType.textDecoration:{const n=e,r=this.textDecorationToString(n.value.value),o=c.TokenUtils.lookupReference(null===(v=n.value)||void 0===v?void 0:v.referencedTokenId,t);return{alwaysShown:[{key:[this.label("Text decoration")],value:[{value:r,prefersReferenceName:!1,referencedName:null!==(k=null==o?void 0:o.name)&&void 0!==k?k:void 0}]}],optionallyShown:[]}}case a.TokenType.visibility:{const n=e;let r="";switch(n.value.value){case s.VisibilityType.visible:r="Visible";break;case s.VisibilityType.hidden:r="Hidden";break;default:throw new Error("Unknown visibility option")}const o=c.TokenUtils.lookupReference(null===(T=n.value)||void 0===T?void 0:T.referencedTokenId,t);return{alwaysShown:[{key:[this.label("Visibility")],value:[{value:r,prefersReferenceName:!1,referencedName:null!==(b=null==o?void 0:o.name)&&void 0!==b?b:void 0}]}],optionallyShown:[]}}case a.TokenType.dimension:case a.TokenType.size:case a.TokenType.space:case a.TokenType.opacity:case a.TokenType.duration:case a.TokenType.fontSize:case a.TokenType.lineHeight:case a.TokenType.letterSpacing:case a.TokenType.paragraphSpacing:case a.TokenType.borderWidth:case a.TokenType.zIndex:case a.TokenType.radius:{const n=e,r=c.TokenUtils.lookupReference(null===(w=n.value)||void 0===w?void 0:w.referencedTokenId,t);let o="";switch(n.tokenType){case a.TokenType.dimension:o="Dimension";break;case a.TokenType.size:o="Size";break;case a.TokenType.space:o="Space";break;case a.TokenType.opacity:o="Opacity";break;case a.TokenType.duration:o="Duration";break;case a.TokenType.fontSize:o="Font size";break;case a.TokenType.lineHeight:o="Line height";break;case a.TokenType.letterSpacing:o="Letter spacing";break;case a.TokenType.paragraphSpacing:o="Paragraph spacing";break;case a.TokenType.borderWidth:o="Border width";break;case a.TokenType.zIndex:o="Z-index";break;case a.TokenType.radius:o="Radius";break;default:throw new Error(`Unexpected token type ${n.tokenType}`)}return{alwaysShown:[{key:[this.label(o)],value:[{value:p.DimensionToken.valueToString(n.value),prefersReferenceName:!1,referencedName:null!==(S=null==r?void 0:r.name)&&void 0!==S?S:void 0}]}],optionallyShown:[]}}case a.TokenType.border:{const n=e;let i="",a="";switch(n.value.style){case o.BorderStyle.dashed:i="Dashed";break;case o.BorderStyle.dotted:i="Dotted";break;case o.BorderStyle.solid:i="Solid";break;case o.BorderStyle.groove:i="Groove"}switch(n.value.position){case r.BorderPosition.center:a="Center";break;case r.BorderPosition.inside:a="Inside";break;case r.BorderPosition.outside:a="Outside"}return{alwaysShown:[{key:[this.label("Border width")],value:[{value:p.DimensionToken.valueToString(n.value.width),prefersReferenceName:!1,referencedName:null!==(P=null===(_=c.TokenUtils.lookupReference(null===(D=null===(I=n.value)||void 0===I?void 0:I.width)||void 0===D?void 0:D.referencedTokenId,t))||void 0===_?void 0:_.name)&&void 0!==P?P:void 0}]},{key:[this.label("Color")],value:[{value:d.ColorToken.colorValueToHex8(n.value.color).toUpperCase(),prefersReferenceName:!0,referencedName:null!==(B=null===(O=c.TokenUtils.lookupReference(null===(C=null===(x=n.value)||void 0===x?void 0:x.color)||void 0===C?void 0:C.referencedTokenId,t))||void 0===O?void 0:O.name)&&void 0!==B?B:void 0}]},{key:[this.label("Style")],value:[{value:i,prefersReferenceName:!1,referencedName:void 0}]},{key:[this.label("Position")],value:[{value:a,prefersReferenceName:!1,referencedName:void 0}]}],optionallyShown:[]}}case a.TokenType.typography:{const n=e;return{alwaysShown:[{key:[this.label("Font family")],value:[{value:n.value.fontFamily.text,prefersReferenceName:!1,referencedName:null!==(N=null===(A=c.TokenUtils.lookupReference(null===(R=null===(E=n.value)||void 0===E?void 0:E.fontSize)||void 0===R?void 0:R.referencedTokenId,t))||void 0===A?void 0:A.name)&&void 0!==N?N:void 0}]},{key:[this.label("Font weight")],value:[{value:n.value.fontWeight.text,prefersReferenceName:!1,referencedName:null!==(L=null===(M=c.TokenUtils.lookupReference(null===(j=null===(V=n.value)||void 0===V?void 0:V.fontSize)||void 0===j?void 0:j.referencedTokenId,t))||void 0===M?void 0:M.name)&&void 0!==L?L:void 0}]},{key:[this.label("Font size")],value:[{value:p.DimensionToken.valueToString(n.value.fontSize),prefersReferenceName:!1,referencedName:null!==($=null===(W=c.TokenUtils.lookupReference(null===(F=null===(U=n.value)||void 0===U?void 0:U.fontSize)||void 0===F?void 0:F.referencedTokenId,t))||void 0===W?void 0:W.name)&&void 0!==$?$:void 0}]},{key:[this.label("Line height")],value:[{value:n.value.lineHeight?p.DimensionToken.valueToString(n.value.lineHeight):"Default",prefersReferenceName:!1,referencedName:null!==(q=null===(H=c.TokenUtils.lookupReference(null===(G=null===(z=n.value)||void 0===z?void 0:z.lineHeight)||void 0===G?void 0:G.referencedTokenId,t))||void 0===H?void 0:H.name)&&void 0!==q?q:void 0}]}],optionallyShown:[{key:[this.label("Text case")],value:[{value:n.value.textCase?c.TokenUtils.getTextCaseTokenValue(n.value.textCase.value):"Original",prefersReferenceName:!1,referencedName:null!==(Y=null===(J=c.TokenUtils.lookupReference(null===(Z=null===(K=n.value)||void 0===K?void 0:K.textCase)||void 0===Z?void 0:Z.referencedTokenId,t))||void 0===J?void 0:J.name)&&void 0!==Y?Y:void 0}]},{key:[this.label("Text decoration")],value:[{value:n.value.textCase?this.textDecorationToString(n.value.textDecoration.value):"Original",prefersReferenceName:!1,referencedName:null!==(te=null===(ee=c.TokenUtils.lookupReference(null===(X=null===(Q=n.value)||void 0===Q?void 0:Q.textDecoration)||void 0===X?void 0:X.referencedTokenId,t))||void 0===ee?void 0:ee.name)&&void 0!==te?te:void 0}]},{key:[this.label("Letter spacing")],value:[{value:n.value.letterSpacing?p.DimensionToken.valueToString(n.value.letterSpacing):"Default",prefersReferenceName:!1,referencedName:null!==(ie=null===(oe=c.TokenUtils.lookupReference(null===(re=null===(ne=n.value)||void 0===ne?void 0:ne.letterSpacing)||void 0===re?void 0:re.referencedTokenId,t))||void 0===oe?void 0:oe.name)&&void 0!==ie?ie:void 0}]},{key:[this.label("Paragraph spacing")],value:[{value:n.value.paragraphSpacing?p.DimensionToken.valueToString(n.value.paragraphSpacing):"Default",prefersReferenceName:!1,referencedName:null!==(pe=null===(de=c.TokenUtils.lookupReference(null===(se=null===(ae=n.value)||void 0===ae?void 0:ae.paragraphSpacing)||void 0===se?void 0:se.referencedTokenId,t))||void 0===de?void 0:de.name)&&void 0!==pe?pe:void 0}]},{key:[this.label("Paragraph indent")],value:[{value:n.value.paragraphIndent?p.DimensionToken.valueToString(n.value.paragraphIndent):"Default",prefersReferenceName:!1,referencedName:null!==(me=null===(ue=c.TokenUtils.lookupReference(null===(ce=null===(le=n.value)||void 0===le?void 0:le.paragraphIndent)||void 0===ce?void 0:ce.referencedTokenId,t))||void 0===ue?void 0:ue.name)&&void 0!==me?me:void 0}]}]}}default:return{alwaysShown:[],optionallyShown:[]}}}resolvedInfoForMultiLayerToken(e,t,n){var o,i,s,p,u,m,h;switch(e.tokenType){case a.TokenType.shadow:{const a=(0,l.sureOf)(e.value[t]);let g="";switch(a.type){case r.ShadowType.drop:g="Drop shadow";break;case r.ShadowType.inner:g="Inner shadow";break;default:throw new Error(`Unexpected shadow type ${a.type}`)}return{alwaysShown:[{key:[this.label("Type")],value:[{value:g,prefersReferenceName:!0,referencedName:void 0}]},{key:[this.label("X, Y")],value:[{value:`${Math.round(a.x)}px, ${Math.round(a.y)}px`,prefersReferenceName:!1,referencedName:void 0}]},{key:[this.label("Blur")],value:[{value:`${Math.round(a.radius)}px`,prefersReferenceName:!1,referencedName:void 0}]},{key:[this.label("Spread")],value:[{value:`${Math.round(a.spread)}px`,prefersReferenceName:!1,referencedName:void 0}]},{key:[this.label("Color")],value:[{value:d.ColorToken.colorValueToHex6(a.color).toUpperCase(),prefersReferenceName:!0,referencedName:null!==(i=null===(o=c.TokenUtils.lookupReference(a.color.referencedTokenId,n))||void 0===o?void 0:o.name)&&void 0!==i?i:void 0}]},{key:[this.label("Opacity")],value:[{value:`${Math.round(100*(null!==(p=null===(s=null==a?void 0:a.opacity)||void 0===s?void 0:s.measure)&&void 0!==p?p:a.color.opacity.measure))}%`,prefersReferenceName:!1,referencedName:null!==(h=null===(m=c.TokenUtils.lookupReference(null===(u=null==a?void 0:a.opacity)||void 0===u?void 0:u.referencedTokenId,n))||void 0===m?void 0:m.name)&&void 0!==h?h:void 0}]}],optionallyShown:[]}}case a.TokenType.gradient:{const n=(0,l.sureOf)(e.value[t]),o=(new r.TokenTransform).gradientTokenToCSS(n);return{alwaysShown:[{key:[this.label(o)],value:[],fullWidth:!0}],optionallyShown:[]}}default:return{alwaysShown:[],optionallyShown:[]}}}label(e){return{value:e,prefersReferenceName:!1,referencedName:void 0}}textDecorationToString(e){switch(e){case i.TextDecoration.original:return"Original";case i.TextDecoration.strikethrough:return"Strikethrough";case i.TextDecoration.underline:return"Underline";default:throw new Error("Unknown text decoration")}}}},7376:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenUtilPreviewSegmentGenerator=void 0;const r=n(6445),o=n(4546),i=n(922),a=n(7040),s=n(3788),d=n(6141),p=n(2155),l=n(7046),c=n(9976),u=(e,t)=>e&&e<1?t.concat(` / ${Math.round(100*e)}%`):t;class m{static resolvedSegmentsForToken(e,t){var n,h,g,f,y,v,k,T,b,w,S,I,D,_,P,x,C,O,B,E,R,A,N,V,j,M,L,U,F,W,$,z,G,H,q,K,Z,J,Y,Q,X,ee,te,ne,re,oe,ie,ae,se,de,pe,le,ce,ue,me,he,ge,fe,ye,ve,ke,Te,be,we,Se,Ie,De,_e,Pe,xe,Ce,Oe,Be,Ee,Re,Ae;switch(e.tokenType){case s.TokenType.color:{const r=e,o=c.TokenUtils.lookupReference(null===(n=r.value)||void 0===n?void 0:n.referencedTokenId,t);let i=[{value:p.ColorToken.colorValueToHex6(r.value).toUpperCase(),prefersReferenceName:!0,referencedName:null!==(h=null==o?void 0:o.name)&&void 0!==h?h:void 0}];return 1!==r.value.opacity.measure&&(i=i.concat(["separator",{value:`${Math.round(100*r.value.opacity.measure)}%`,prefersReferenceName:!1,referencedName:null!==(g=null==o?void 0:o.name)&&void 0!==g?g:void 0}])),i}case s.TokenType.blur:{const n=e,r=c.TokenUtils.lookupReference(null===(f=n.value)||void 0===f?void 0:f.referencedTokenId,t);return r?[{value:`${n.value.type.toLowerCase()} ${l.DimensionToken.valueToString(n.value.radius)}`,prefersReferenceName:!0,referencedName:null!==(y=null==r?void 0:r.name)&&void 0!==y?y:void 0}]:[{value:null===(v=n.value)||void 0===v?void 0:v.type.toLowerCase(),prefersReferenceName:!1,referencedName:void 0},{value:l.DimensionToken.valueToString(n.value.radius),prefersReferenceName:!1,referencedName:null!==(k=null==r?void 0:r.name)&&void 0!==k?k:void 0}]}case s.TokenType.shadow:{const n=e;return 1===n.value.length&&n.value[0]?m.shadowValuesToSegments(n.value[0],t):[{value:n.value.length>0?`${n.value.length} shadow layers`:"No shadow layers",prefersReferenceName:!1,referencedName:void 0}]}case s.TokenType.gradient:{const t=e,n=t.value[0];let o="";if(n)switch(n.type){case r.GradientType.linear:o="linear";break;case r.GradientType.angular:o="angular";break;case r.GradientType.radial:o="radial";break;default:throw new Error("Unknown gradient type")}return[{value:t.value.length>1?`${t.value.length} gradient layers`:o,prefersReferenceName:!1,referencedName:void 0}]}case s.TokenType.fontFamily:{const n=e,r=c.TokenUtils.lookupReference(null===(T=n.value)||void 0===T?void 0:T.referencedTokenId,t);return[{value:n.value.text,prefersReferenceName:!1,referencedName:null!==(b=null==r?void 0:r.name)&&void 0!==b?b:void 0}]}case s.TokenType.fontWeight:{const n=e,r=c.TokenUtils.lookupReference(null===(w=n.value)||void 0===w?void 0:w.referencedTokenId,t);return[{value:n.value.text,prefersReferenceName:!1,referencedName:null!==(S=null==r?void 0:r.name)&&void 0!==S?S:void 0}]}case s.TokenType.fontSize:{const n=e,r=c.TokenUtils.lookupReference(null===(I=n.value)||void 0===I?void 0:I.referencedTokenId,t);return[{value:l.DimensionToken.valueToString(n.value),prefersReferenceName:!1,referencedName:null!==(D=null==r?void 0:r.name)&&void 0!==D?D:void 0}]}case s.TokenType.lineHeight:{const n=e,r=c.TokenUtils.lookupReference(null===(_=n.value)||void 0===_?void 0:_.referencedTokenId,t);return[{value:l.DimensionToken.valueToString(n.value),prefersReferenceName:!1,referencedName:null!==(P=null==r?void 0:r.name)&&void 0!==P?P:void 0}]}case s.TokenType.letterSpacing:{const n=e,r=c.TokenUtils.lookupReference(null===(x=n.value)||void 0===x?void 0:x.referencedTokenId,t);return[{value:l.DimensionToken.valueToString(n.value),prefersReferenceName:!1,referencedName:null!==(C=null==r?void 0:r.name)&&void 0!==C?C:void 0}]}case s.TokenType.paragraphSpacing:{const n=e,r=c.TokenUtils.lookupReference(null===(O=n.value)||void 0===O?void 0:O.referencedTokenId,t);return[{value:l.DimensionToken.valueToString(n.value),prefersReferenceName:!1,referencedName:null!==(B=null==r?void 0:r.name)&&void 0!==B?B:void 0}]}case s.TokenType.opacity:{const n=e,r=c.TokenUtils.lookupReference(null===(E=n.value)||void 0===E?void 0:E.referencedTokenId,t);return[{value:`${Math.round(100*n.value.measure)}%`,prefersReferenceName:!1,referencedName:null!==(R=null==r?void 0:r.name)&&void 0!==R?R:void 0}]}case s.TokenType.border:{const n=e;let r="";switch(n.value.style){case o.BorderStyle.dashed:r="dashed";break;case o.BorderStyle.dotted:r="dotted";break;case o.BorderStyle.solid:r="solid";break;case o.BorderStyle.groove:r="groove"}const i=c.TokenUtils.lookupReference(null===(A=n.value)||void 0===A?void 0:A.referencedTokenId,t);let a=[{value:l.DimensionToken.valueToString(n.value.width),prefersReferenceName:!1,referencedName:null!==(M=null===(j=c.TokenUtils.lookupReference(null===(V=null===(N=n.value)||void 0===N?void 0:N.width)||void 0===V?void 0:V.referencedTokenId,t))||void 0===j?void 0:j.name)&&void 0!==M?M:void 0},{value:r,prefersReferenceName:!1,referencedName:void 0},{value:p.ColorToken.colorValueToHex6(n.value.color).toUpperCase(),prefersReferenceName:!0,referencedName:null!==(W=null===(F=c.TokenUtils.lookupReference(null===(U=null===(L=n.value)||void 0===L?void 0:L.color)||void 0===U?void 0:U.referencedTokenId,t))||void 0===F?void 0:F.name)&&void 0!==W?W:void 0}];return i?(a=[{value:u(n.value.color.opacity.measure,`${l.DimensionToken.valueToString(null===($=n.value)||void 0===$?void 0:$.width)} ${r} ${p.ColorToken.colorValueToHex6(n.value.color).toUpperCase()}`),prefersReferenceName:!0,referencedName:null!==(z=null==i?void 0:i.name)&&void 0!==z?z:void 0}],a):(n.value.color.opacity.measure<1&&(a=a.concat(["separator",{value:`${Math.round(100*n.value.color.opacity.measure)}%`,prefersReferenceName:!1,referencedName:null!==(H=null===(G=c.TokenUtils.lookupReference(n.value.color.opacity.referencedTokenId,t))||void 0===G?void 0:G.name)&&void 0!==H?H:void 0}])),a)}case s.TokenType.radius:{const n=e,r=c.TokenUtils.lookupReference(null===(q=n.value)||void 0===q?void 0:q.referencedTokenId,t);return[{value:l.DimensionToken.valueToString(n.value),prefersReferenceName:!1,referencedName:null!==(K=null==r?void 0:r.name)&&void 0!==K?K:void 0}]}case s.TokenType.borderWidth:{const n=e,r=c.TokenUtils.lookupReference(null===(Z=n.value)||void 0===Z?void 0:Z.referencedTokenId,t);return[{value:l.DimensionToken.valueToString(n.value),prefersReferenceName:!1,referencedName:null!==(J=null==r?void 0:r.name)&&void 0!==J?J:void 0}]}case s.TokenType.duration:{const n=e,r=c.TokenUtils.lookupReference(null===(Y=n.value)||void 0===Y?void 0:Y.referencedTokenId,t);return[{value:l.DimensionToken.valueToString(n.value),prefersReferenceName:!1,referencedName:null!==(Q=null==r?void 0:r.name)&&void 0!==Q?Q:void 0}]}case s.TokenType.zIndex:{const n=e,r=c.TokenUtils.lookupReference(null===(X=n.value)||void 0===X?void 0:X.referencedTokenId,t);return[{value:l.DimensionToken.valueToString(n.value),prefersReferenceName:!1,referencedName:null!==(ee=null==r?void 0:r.name)&&void 0!==ee?ee:void 0}]}case s.TokenType.textCase:{const n=e;let r="";switch(n.value.value){case i.TextCase.upper:r="Uppercase";break;case i.TextCase.lower:r="Lowercase";break;case i.TextCase.camel:r="Capitalize";break;case i.TextCase.smallCaps:r="Small caps";break;case i.TextCase.original:r="Original";break;default:throw new Error("Unknown text case")}const o=c.TokenUtils.lookupReference(null===(te=n.value)||void 0===te?void 0:te.referencedTokenId,t);return[{value:r,prefersReferenceName:!1,referencedName:null!==(ne=null==o?void 0:o.name)&&void 0!==ne?ne:void 0}]}case s.TokenType.textDecoration:{const n=e;let r="";switch(n.value.value){case a.TextDecoration.original:r="Original";break;case a.TextDecoration.strikethrough:r="Strikethrough";break;case a.TextDecoration.underline:r="Underline";break;default:throw new Error("Unknown text decoration option")}const o=c.TokenUtils.lookupReference(null===(re=n.value)||void 0===re?void 0:re.referencedTokenId,t);return[{value:r,prefersReferenceName:!1,referencedName:null!==(oe=null==o?void 0:o.name)&&void 0!==oe?oe:void 0}]}case s.TokenType.visibility:{const n=e;let r="";switch(n.value.value){case d.VisibilityType.visible:r="Visible";break;case d.VisibilityType.hidden:r="Hidden";break;default:throw new Error("Unknown visibility option")}const o=c.TokenUtils.lookupReference(null===(ie=n.value)||void 0===ie?void 0:ie.referencedTokenId,t);return[{value:r,prefersReferenceName:!1,referencedName:null!==(ae=null==o?void 0:o.name)&&void 0!==ae?ae:void 0}]}case s.TokenType.productCopy:{const n=e,r=c.TokenUtils.lookupReference(null===(se=n.value)||void 0===se?void 0:se.referencedTokenId,t);return[{value:n.value.text,prefersReferenceName:!1,referencedName:null!==(de=null==r?void 0:r.name)&&void 0!==de?de:void 0}]}case s.TokenType.string:{const n=e,r=c.TokenUtils.lookupReference(null===(pe=n.value)||void 0===pe?void 0:pe.referencedTokenId,t);return[{value:n.value.text,prefersReferenceName:!1,referencedName:null!==(le=null==r?void 0:r.name)&&void 0!==le?le:void 0}]}case s.TokenType.dimension:{const n=e,r=c.TokenUtils.lookupReference(null===(ce=n.value)||void 0===ce?void 0:ce.referencedTokenId,t);return[{value:l.DimensionToken.valueToString(n.value),prefersReferenceName:!1,referencedName:null!==(ue=null==r?void 0:r.name)&&void 0!==ue?ue:void 0}]}case s.TokenType.size:{const n=e,r=c.TokenUtils.lookupReference(null===(me=n.value)||void 0===me?void 0:me.referencedTokenId,t);return[{value:l.DimensionToken.valueToString(n.value),prefersReferenceName:!1,referencedName:null!==(he=null==r?void 0:r.name)&&void 0!==he?he:void 0}]}case s.TokenType.space:{const n=e,r=c.TokenUtils.lookupReference(null===(ge=n.value)||void 0===ge?void 0:ge.referencedTokenId,t);return[{value:l.DimensionToken.valueToString(n.value),prefersReferenceName:!1,referencedName:null!==(fe=null==r?void 0:r.name)&&void 0!==fe?fe:void 0}]}case s.TokenType.typography:{const n=e;let r=[];const o=c.TokenUtils.lookupReference(null===(ye=n.value)||void 0===ye?void 0:ye.referencedTokenId,t);return o?[{value:`${l.DimensionToken.valueToString(n.value.fontSize)} / ${l.DimensionToken.valueToString(n.value.lineHeight)} ${n.value.fontFamily.text} ${n.value.fontWeight.text}`,prefersReferenceName:!0,referencedName:null!==(ve=null==o?void 0:o.name)&&void 0!==ve?ve:void 0}]:(n.value.lineHeight&&(r=["separator",{value:l.DimensionToken.valueToString(n.value.lineHeight),prefersReferenceName:!1,referencedName:null!==(we=null===(be=c.TokenUtils.lookupReference(null===(Te=null===(ke=n.value)||void 0===ke?void 0:ke.lineHeight)||void 0===Te?void 0:Te.referencedTokenId,t))||void 0===be?void 0:be.name)&&void 0!==we?we:void 0}]),[{value:l.DimensionToken.valueToString(n.value.fontSize),prefersReferenceName:!1,referencedName:null!==(_e=null===(De=c.TokenUtils.lookupReference(null===(Ie=null===(Se=n.value)||void 0===Se?void 0:Se.fontSize)||void 0===Ie?void 0:Ie.referencedTokenId,t))||void 0===De?void 0:De.name)&&void 0!==_e?_e:void 0},...r,{value:n.value.fontFamily.text,prefersReferenceName:!1,referencedName:null!==(Oe=null===(Ce=c.TokenUtils.lookupReference(null===(xe=null===(Pe=n.value)||void 0===Pe?void 0:Pe.fontFamily)||void 0===xe?void 0:xe.referencedTokenId,t))||void 0===Ce?void 0:Ce.name)&&void 0!==Oe?Oe:void 0},{value:n.value.fontWeight.text,prefersReferenceName:!1,referencedName:null!==(Ae=null===(Re=c.TokenUtils.lookupReference(null===(Ee=null===(Be=n.value)||void 0===Be?void 0:Be.fontWeight)||void 0===Ee?void 0:Ee.referencedTokenId,t))||void 0===Re?void 0:Re.name)&&void 0!==Ae?Ae:void 0}])}default:throw new Error("Unknown token type")}}static shadowValuesToSegments(e,t){var n,r,o,i,a,s,d,m;if(!e)return[];const h=c.TokenUtils.lookupReference(e.referencedTokenId,t),g=(e,t)=>0===e?"0":`${l.DimensionToken.numberToString(e)}${t}`;if(h)return[{value:(()=>{var t,n,r;const o=`${g(e.x,"px")} ${g(e.y,"px")} ${g(e.radius,"px")} ${g(e.spread,"px")} ${p.ColorToken.colorValueToHex6(e.color).toUpperCase()}`;return u(null!==(n=null===(t=null==e?void 0:e.opacity)||void 0===t?void 0:t.measure)&&void 0!==n?n:null===(r=null==e?void 0:e.color)||void 0===r?void 0:r.opacity.measure,o)})(),prefersReferenceName:!0,referencedName:null!==(n=null==h?void 0:h.name)&&void 0!==n?n:void 0}];let f=[{value:g(e.x,"px"),prefersReferenceName:!1,referencedName:void 0},{value:g(e.y,"px"),prefersReferenceName:!1,referencedName:void 0},{value:g(e.radius,"px"),prefersReferenceName:!1,referencedName:void 0},{value:g(e.spread,"px"),prefersReferenceName:!1,referencedName:void 0},{value:p.ColorToken.colorValueToHex6(e.color).toUpperCase(),prefersReferenceName:!1,referencedName:null!==(o=null===(r=c.TokenUtils.lookupReference(e.color.referencedTokenId,t))||void 0===r?void 0:r.name)&&void 0!==o?o:void 0}];return(e.opacity&&e.opacity.measure<1||e.color.opacity.measure<1)&&(f=f.concat(["separator",{value:`${Math.round(100*(null!==(a=null===(i=e.opacity)||void 0===i?void 0:i.measure)&&void 0!==a?a:e.color.opacity.measure))}%`,prefersReferenceName:!1,referencedName:null!==(m=null===(d=c.TokenUtils.lookupReference(null===(s=e.opacity)||void 0===s?void 0:s.referencedTokenId,t))||void 0===d?void 0:d.name)&&void 0!==m?m:void 0}])),f}}t.TokenUtilPreviewSegmentGenerator=m},5192:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenUtilPreviewStyleGenerator=void 0;const r=n(4546),o=n(3788),i=n(2155),a=n(7046),s=n(4917);t.TokenUtilPreviewStyleGenerator=class{resolvedStyleForToken(e,t){var n,d,p,l;switch(e.tokenType){case o.TokenType.color:{const t=e;return{background:i.ColorToken.colorValueToHex8(t.value).toUpperCase()}}case o.TokenType.blur:return;case o.TokenType.shadow:{const t=e;return{boxShadow:(new s.TokenTransform).shadowsTokenToCSS(t.value)}}case o.TokenType.gradient:{const t=e,n=new s.TokenTransform,r=t.value[0];return r?{background:n.gradientTokenToCSS(r)}:void 0}case o.TokenType.fontFamily:{const r=e;return{fontFamily:null!==(n=null==t?void 0:t.fontFamily)&&void 0!==n?n:r.value.text}}case o.TokenType.fontWeight:{const n=e;return{fontWeight:null!==(d=null==t?void 0:t.fontWeight)&&void 0!==d?d:n.value.text}}case o.TokenType.fontSize:{const t=e;return{fontSize:`${a.DimensionToken.valueToString(t.value)})}`}}case o.TokenType.lineHeight:{const t=e;return{lineHeight:`${a.DimensionToken.valueToString(t.value)})}`}}case o.TokenType.letterSpacing:{const t=e;return{letterSpacing:`${a.DimensionToken.valueToString(t.value)})}`}}case o.TokenType.paragraphSpacing:{const t=e;return{letterSpacing:`${a.DimensionToken.valueToString(t.value)})}`}}case o.TokenType.opacity:return{opacity:`${e.value.measure}`};case o.TokenType.border:{const t=e;let n="solid";const o=a.DimensionToken.unitToString(t.value.width.unit);switch(t.value.style){case r.BorderStyle.dashed:n="dashed";break;case r.BorderStyle.dotted:n="dotted"}return{borderWidth:`${t.value.width.measure}${o}`,borderColor:i.ColorToken.colorValueToHex8(t.value.color).toUpperCase(),borderStyle:n}}case o.TokenType.radius:{const t=e,n=a.DimensionToken.unitToString(t.value.unit);return{borderRadius:`${t.value.measure}${n}`}}case o.TokenType.borderWidth:{const t=e,n=a.DimensionToken.unitToString(t.value.unit);return{borderWidth:`${t.value.measure}${n}`}}case o.TokenType.duration:case o.TokenType.zIndex:case o.TokenType.textCase:case o.TokenType.textDecoration:case o.TokenType.visibility:case o.TokenType.productCopy:case o.TokenType.string:return;case o.TokenType.dimension:{const t=e;return{width:`${a.DimensionToken.valueToString(t.value)}`}}case o.TokenType.size:{const t=e;return{width:`${a.DimensionToken.valueToString(t.value)}`}}case o.TokenType.space:{const t=e;return{width:`${a.DimensionToken.valueToString(t.value)}`}}case o.TokenType.typography:{const n=e;return{fontSize:a.DimensionToken.valueToString(n.value.fontSize),lineHeight:n.value.lineHeight?a.DimensionToken.valueToString(n.value.lineHeight):void 0,fontWeight:null!==(p=null==t?void 0:t.fontWeight)&&void 0!==p?p:n.value.fontWeight.text,fontFamily:null!==(l=null==t?void 0:t.fontFamily)&&void 0!==l?l:n.value.fontFamily.text}}default:throw new Error("Unknown token type")}}}},4917:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TokenTransform=void 0;const o=n(4379),i=n(3788),a=n(8607),s=n(2155),d=n(5590),p=n(7098),l=r(n(5888));function c(e){return Math.round(10*e)/10}t.TokenTransform=class{tokenToCSS(e){switch(e.tokenType){case i.TokenType.color:return this.colorTokenToCSS(e.value);case i.TokenType.border:return this.borderTokenToCSS(e.value);case i.TokenType.gradient:return this.gradientsTokenToCSS(e.value);case i.TokenType.dimension:case i.TokenType.size:case i.TokenType.space:case i.TokenType.opacity:case i.TokenType.fontSize:case i.TokenType.lineHeight:case i.TokenType.letterSpacing:case i.TokenType.paragraphSpacing:case i.TokenType.borderWidth:case i.TokenType.radius:case i.TokenType.duration:case i.TokenType.zIndex:return this.dimensionTokenToCSS(e.value);case i.TokenType.shadow:return this.shadowsTokenToCSS(e.value);case i.TokenType.fontWeight:case i.TokenType.fontFamily:case i.TokenType.productCopy:case i.TokenType.string:return this.stringTokenToCSS(e.value);case i.TokenType.textCase:case i.TokenType.textDecoration:case i.TokenType.visibility:return this.optionTokenToCSS(e.value);case i.TokenType.blur:return this.blurTokenToCSS(e.value);case i.TokenType.typography:return this.typographyTokenToCSS(e.value);default:throw new p.UnreachableCaseError(e.tokenType,"Unsupported token type for transformation to CSS:")}}tokenToCSSVariableDeclaration(e,t){return`--${t}: ${this.tokenToCSS(e)}`}colorTokenToCSS(e,t){return(0,l.default)(s.ColorToken.colorValueToHex8(e)).toRgbString()}borderTokenToCSS(e){return`${this.dimensionTokenToCSS(e.width)} solid ${this.colorTokenToCSS(e.color)}, ${e.position.toLowerCase()}`}shadowTokenColorAndOpacityToCSS(e){return(0,l.default)(d.ShadowToken.shadowTokenColorAndOpacityToHex8(e)).toRgbString()}shadowsTokenToCSS(e){return e.map((e=>this.shadowTokenToCSS(e))).join(", ")}shadowTokenToCSS(e){return`${this.shadowTokenColorAndOpacityToCSS(e)} ${"Inner"===e.type?"inset ":""}${e.x}px ${e.y}px ${e.radius}px ${e.spread}px`}typographyTokenToCSS(e){const t=`${e.fontFamily.text} ${e.fontWeight.text}`,n=this.dimensionTokenToCSS(e.fontSize);let r="",o="";return"None"!==e.textDecoration.value&&(r=`, ${e.textDecoration.value.toLowerCase()}`),"Original"!==e.textCase.value&&(o=`, ${e.textCase.value.toLowerCase()}`),`${t} ${n}${r}${o}`}blurTokenToCSS(e){return`blur(${this.dimensionTokenToCSS(e.radius)})`}dimensionTokenToCSS(e){return`${e.measure}${this.unitToCSS(e.unit)}`}unitToCSS(e){switch(e){case a.Unit.rem:return"rem";case a.Unit.percent:return"%";case a.Unit.pixels:return"px";case a.Unit.raw:return"";case a.Unit.ms:return"ms";default:throw o.SupernovaError.fromMessage(`Unsupported unit: ${e}`)}}gradientsTokenToCSS(e){return e.map(this.gradientTokenToCSS).join(" ")}gradientTokenToCSS(e){let t="";const n=c(e.to.x)-c(e.from.x),r=c(e.to.y)-c(e.from.y),o=Math.atan2(r,n)*(180/Math.PI);switch(e.type){case"Linear":t=`linear-gradient(${n>=0&&r>0||n>0&&r<=0||n<=0&&r<0?90+o:o-270}deg, `;break;case"Radial":t="radial-gradient(circle, ";break;case"Angular":t="conic-gradient(";break;default:throw new Error("Unsupported gradient type")}return`${t}${e.stops.map((e=>`${this.colorTokenToCSS(e.color)} ${100*e.position}%`)).join(", ")})`}stringTokenToCSS(e){return`"${e.text}"`}optionTokenToCSS(e){return`"${e.value}"`}colorTokenToHEXorHEXA(e){const t=(0,l.default)(e.toHex8());return 1===e.value.opacity.measure?t.toHexString():t.toHex8String()}colorTokenToRGBA(e){return(0,l.default)(e.toHex8()).toRgbString()}colorTokenToPercenageRGBA(e){return(0,l.default)(e.toHex8()).toPercentageRgbString()}colorTokenToHSLA(e){return(0,l.default)(e.toHex8()).toHslString()}colorTokenToHSVA(e){return(0,l.default)(e.toHex8()).toHsvString()}}},1322:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sortUsingMap=t.sureOf=t.castOptionalEnum=t.castEnum=void 0,t.castEnum=function(e){return e},t.castOptionalEnum=function(e){return e},t.sureOf=function(e){if(null==e)throw new Error("sureOf(): value not present");return e},t.sortUsingMap=function(e,t,n){return e.sort(((e,r)=>{var o,i;return(null!==(o=t.get(n(e)))&&void 0!==o?o:-1)-(null!==(i=t.get(n(r)))&&void 0!==i?i:-1)}))}},7038:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentUtils=void 0;const r=n(6602),o=n(615),i=n(3903);t.ComponentUtils=class{static componentsToReferenceMap(e){const t=new Map;return e.forEach((e=>{t.set(e.id,e)})),t}static componentGroupsToReferenceMap(e){const t=new Map;return e.forEach((e=>{t.set(e.id,e)})),t}static createDefaultComponentGroup(e,t,n){return new o.ComponentGroup({id:void 0,persistentId:(0,i.v4)(),brandId:t,designSystemVersionId:e,isRoot:!1,meta:{name:null!=n?n:"Group",description:""},childrenIds:[],createdAt:(new Date).toISOString()})}static createDefaultComponent(e,t,n){return new r.Component({id:void 0,persistentId:(0,i.v4)(),brandId:t,meta:{name:null!=n?n:"Group",description:""}},[],[])}}},6961:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StringUtils=void 0,t.StringUtils=class{static trimmed(e){return e.trim()}static withoutDoubleQuotes(e){return e.replace(/(^"|"$)/g,"")}static withoutQuotes(e){return e.replace(/(^'|'$)/g,"")}static substringUntilDelimiter(e,t){let n="";for(const r of e){if(r===t)return n;n+=r}return null}static isSurroundedWithDoubleQuotes(e){return e.startsWith('"')&&e.endsWith('"')}static argumentStringBetweenBrackets(e,t){let n=e;return n.startsWith(t)?(n=n.substr(t.length),n.startsWith("(")&&n.endsWith(")")?(n=n.substr(1,n.length-2),n):null):null}static argumentStringBetweenBracketsFirstOccurance(e,t){let n=e;if(!n.startsWith(t))return null;if(n=n.substr(t.length),!n.startsWith("("))return null;n=n.substr(1);let r="",o=null,i=null,a=1;for(const e of n){if("\\"!==i&&(o===e?o=null:null!==o||"'"!==e&&'"'!==e||(o=e)),null===o&&"("===e)a+=1;else if(null===o&&")"===e&&(a>0&&(a-=1),0===a))return r;i=e,r+=e}return null}static withoutQuotesSingleOccurance(e){let t=e;return(t.startsWith('"')||t.startsWith("'"))&&(t=t.substr(1)),(t.endsWith('"')||t.endsWith("'"))&&(t=t.substr(0,t.length-1)),t}static withoutDoubleQuotesSingleOccurance(e){let t=e;return t.startsWith('"')&&(t=t.substr(1)),t.endsWith('"')&&(t=t.substr(0,t.length-1)),t=t.replace(/\\"/g,'"'),t}static withoutRoundBrackets(e){return e.replace("^[(]+|[)]+$","")}static fullRange(e){return{location:0,length:e.length}}static spaces(e){return" ".repeat(e)}static splitIgnoringQuotedContent(e,t){if('"'===t||"'"===t)return[e];let n=[],r="",o=null,i=null,a=null;for(const[s,d]of e.split("").entries())d===t?null===o?(n.push(r),r="",a=null):r+=d:(r+=d,"\\"!==i&&(o===d?(o=null,a=s):null!==o||"'"!==d&&'"'!==d||(o=d))),i=d;if(r.length>0)if(null!==o)if(a){const o=e.substr(a,e.length-a),i=o.split(t);if(i.length>0){let e=i[0];e=`${r.substring(0,r.length-o.length)}${e}`,i.splice(0,1,e)}n=n.concat(i)}else n=n.concat(r.split(t));else n.push(r);return n}static withoutSpacesInsideRoundBrackets(e){let t=0,n=!1,r=null,o="";for(const i of e){switch(i){case"(":n||(t+=1);break;case")":n||(t-=1);break;case'"':r&&"\\"===r||(n=!n)}" "===i?(0===t||n)&&(o+=i):o+=i,r=i}return o}static splitIgnoringQuotedBracketedContent(e,t){if('"'===t||"'"===t||"("===t||")"===t||"["===t||"]"===t||"{"===t||"}"===t)return[e];let n=[],r="",o=null,i=null,a=null,s=0,d=0,p=0;for(const[l,c]of e.split("").entries())c===t?null===o&&0===d&&0===s&&0===p?(n.push(r),r="",a=null):r+=c:(r+=c,"\\"!==i&&(o===c?(o=null,a=l):null!==o||"'"!==c&&'"'!==c||(o=c)),null===o&&"("===c?s+=1:null===o&&")"===c?s>0&&(s-=1):null===o&&"["===c?d+=1:null===o&&"]"===c?d>0&&(d-=1):null===o&&"{"===c?p+=1:null===o&&"}"===c&&p>0&&(p-=1)),i=c;if(r.length>0)if(null!==o)if(a){const o=e.substr(a,e.length-a),i=o.split(t);if(i.length>0){let e=i[0];e=`${r.substring(0,r.length-o.length)}${e}`,i.splice(0,1,e)}n=n.concat(i)}else n=n.concat(r.split(t));else n.push(r);return n}static isLowercaseLetters(e){return/^[a-z]+$/.test(e)}static isLowercaseLettersCanIncludeDot(e){return/^[a-z.]+$/.test(e)}static isLetters(e){return/^[a-zA-Z]+$/.test(e)}static isLettersCanIncludeDot(e){return/^[a-zA-Z.]+$/.test(e)}static isFirstCharacterLetterLowercase(e){return 0!==e.length&&!!e[0]&&e[0].toLowerCase()===e[0]}static isOnlySpaces(e){return/^[ ]+$/.test(e)}static isOnlySpacesOrLineBreaks(e){return/^\s*$/.test(e)}static isStructuralArrayDefinition(e){const t=e.trim();return!(!t.startsWith("[")||!t.endsWith("]")||-1!==e.indexOf(":"))}static parsedArrayFromDefinition(e){let t=e;return this.isStructuralArrayDefinition(e)?(t=t.trim().substr(1,t.length-2),this.splitIgnoringQuotedBracketedContent(t,",")):null}static isStructuralDictionaryDefinition(e){const t=e.trim();return!(!t.startsWith("[")||!t.endsWith("]")||-1===e.indexOf(":"))}static parsedDictionaryFromDefinition(e){let t=e;if(!this.isStructuralDictionaryDefinition(e))return null;if(t=t.trim(),t.substr(1,t.length-2),":"===t)return new Map;const n=this.splitIgnoringQuotedBracketedContent(t,","),r=new Map;for(const e of n){const t=this.splitIgnoringQuotedContent(e,":");if(2!==t.length||!t[0]||!t[1])return null;r.set(t[0],t[1])}return r}static replaceAll(e,t,n){return e.replace(new RegExp(this.escapeRegExp(t),"g"),n)}static escapeRegExp(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}}},9976:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenUtils=void 0;const r=n(6445),o=n(3788),i=n(616),a=n(8529),s=n(3380),d=n(2155),p=n(7046),l=n(6458),c=n(5590),u=n(2249),m=n(5443),h=n(477),g=n(3437),f=n(465),y=n(8358),v=n(5157),k=n(1322),T=n(5250),b=n(3903);class w{static tokensToReferenceMap(e){const t=new Map;return e.forEach((e=>{t.set(e.id,e)})),t}static tokenGroupsToReferenceMap(e){const t=new Map;return e.forEach((e=>{t.set(e.id,e)})),t}static lookupReference(e,t){if(!e)return;const n=t.get(e);return void 0!==n?n:void 0}static createDefaultTokenGroup(e,t,n,o){return new r.TokenGroup({persistentId:(0,b.v4)(),brandId:n,tokenType:e,designSystemVersionId:t,isRoot:!1,meta:{name:null!=o?o:"Group",description:""},childrenIds:[],createdAt:(new Date).toISOString()})}static createDefaultTokenTheme(e,t){return new r.TokenTheme({persistentId:(0,b.v4)(),brandId:t,designSystemVersionId:e,meta:{name:"Dark",description:""},codeName:"dark",overrides:[],createdAt:(new Date).toISOString(),updatedAt:(new Date).toISOString()},e)}static createDefaultToken(e,t,n,i){switch(e){case o.TokenType.color:return this.createDefaultColorToken(t,n,i);case o.TokenType.typography:return this.createDefaultTypographyToken(t,n,i);case o.TokenType.dimension:return this.createDefaultDimensionToken(t,n,i);case o.TokenType.size:return this.createDefaultSizeToken(t,n,i);case o.TokenType.space:return this.createDefaultSpaceToken(t,n,i);case o.TokenType.opacity:return this.createDefaultOpacityToken(t,n,i);case o.TokenType.fontSize:return this.createDefaultFontSizeToken(t,n,i);case o.TokenType.lineHeight:return this.createDefaultLineHeightToken(t,n,i);case o.TokenType.letterSpacing:return this.createDefaultLetterSpacingToken(t,n,i);case o.TokenType.paragraphSpacing:return this.createDefaultParagraphSpacingToken(t,n,i);case o.TokenType.borderWidth:return this.createDefaultBorderWidthToken(t,n,i);case o.TokenType.radius:return this.createDefaultRadiusToken(t,n,i);case o.TokenType.duration:return this.createDefaultDurationToken(t,n,i);case o.TokenType.zIndex:return this.createDefaultZIndexToken(t,n,i);case o.TokenType.shadow:return this.createDefaultShadowToken(t,n,i);case o.TokenType.border:return this.createDefaultBorderToken(t,n,i);case o.TokenType.gradient:return this.createDefaultGradientToken(t,n,i);case o.TokenType.string:return this.createDefaultStringToken(t,n,i);case o.TokenType.productCopy:return this.createDefaultProductCopyToken(t,n,i);case o.TokenType.fontFamily:return this.createDefaultFontFamilyToken(t,n,i);case o.TokenType.fontWeight:return this.createDefaultFontWeightToken(t,n,i);case o.TokenType.textCase:return this.createDefaultTextCaseToken(t,n,i);case o.TokenType.textDecoration:return this.createDefaultTextDecorationToken(t,n,i);case o.TokenType.visibility:return this.createDefaultVisibilityToken(t,n,i);case o.TokenType.blur:return this.createDefaultBlurToken(t,n,i);default:throw new r.UnreachableCaseError(e)}}static createDefaultColorToken(e,t,n){return d.ColorToken.create(e,t,"Token","","#FFFFFF",void 0,n,[])}static createDefaultTypographyToken(e,t,n){return f.TypographyToken.create(e,t,"Token","",{fontFamily:"Inter",fontWeight:"Regular",fontSize:14,lineHeight:20,letterSpacing:0,paragraphIndent:0,paragraphSpacing:0},void 0,new v.DTTokenReferenceResolver,n,[])}static createDefaultGradientToken(e,t,n){return l.GradientToken.create(e,t,"Token","","linear-gradient(0deg, #e66465 0%, #9198e5 100%)",void 0,new v.DTTokenReferenceResolver,n,[])}static createDefaultDimensionToken(e,t,n){return p.DimensionToken.create(o.TokenType.dimension,e,t,"Token","","0",void 0,n,[])}static createDefaultSizeToken(e,t,n){return p.SizeToken.create(o.TokenType.size,e,t,"Token","",0,void 0,n,[])}static createDefaultSpaceToken(e,t,n){return p.SpaceToken.create(o.TokenType.space,e,t,"Token","","0",void 0,n,[])}static createDefaultOpacityToken(e,t,n){return p.OpacityToken.create(o.TokenType.opacity,e,t,"Token","",1,void 0,n,[])}static createDefaultLineHeightToken(e,t,n){return p.LineHeightToken.create(o.TokenType.lineHeight,e,t,"Token","",1,void 0,n,[])}static createDefaultLetterSpacingToken(e,t,n){return p.LetterSpacingToken.create(o.TokenType.letterSpacing,e,t,"Token","",0,void 0,n,[])}static createDefaultParagraphSpacingToken(e,t,n){return p.ParagraphSpacingToken.create(o.TokenType.paragraphSpacing,e,t,"Token","",0,void 0,n,[])}static createDefaultBorderWidthToken(e,t,n){return p.BorderWidthToken.create(o.TokenType.borderWidth,e,t,"Token","",1,void 0,n,[])}static createDefaultRadiusToken(e,t,n){return p.RadiusToken.create(o.TokenType.radius,e,t,"Token","",0,void 0,n,[])}static createDefaultFontSizeToken(e,t,n){return p.FontSizeToken.create(o.TokenType.fontSize,e,t,"Token","",14,void 0,n,[])}static createDefaultFontFamilyToken(e,t,n){return u.FontFamilyToken.create(o.TokenType.fontFamily,e,t,"Token","","Inter",void 0,n,[])}static createDefaultFontWeightToken(e,t,n){return u.FontWeightToken.create(o.TokenType.fontWeight,e,t,"Token","","Regular",void 0,n,[])}static createDefaultDurationToken(e,t,n){return p.DurationToken.create(o.TokenType.duration,e,t,"Token","",200,void 0,n,[])}static createDefaultZIndexToken(e,t,n){return p.ZIndexToken.create(o.TokenType.zIndex,e,t,"Token","",1,void 0,n,[])}static createDefaultTextCaseToken(e,t,n){return m.TextCaseToken.create(e,t,"Token","","Original",void 0,n,[])}static createDefaultTextDecorationToken(e,t,n){return h.TextDecorationToken.create(e,t,"Token","","None",void 0,n,[])}static createDefaultVisibilityToken(e,t,n){const o=r.VisibilityType.visible;return y.VisibilityToken.create(e,t,"Token","",o,void 0,n,[])}static createDefaultBlurToken(e,t,n){return a.BlurToken.create(e,t,"Token","",{radius:10,type:"Background"},void 0,new v.DTTokenReferenceResolver,n,[])}static createDefaultStringToken(e,t,n){return u.StringToken.create(o.TokenType.string,e,t,"Token","","",void 0,n,[])}static createDefaultProductCopyToken(e,t,n){return u.ProductCopyToken.create(o.TokenType.productCopy,e,t,"Token","","",void 0,n,[])}static createDefaultShadowToken(e,t,n){return c.ShadowToken.create(e,t,"Token","",{x:0,y:4,blur:4,spread:0,color:"#000000",opacity:.25,type:"dropShadow"},void 0,new v.DTTokenReferenceResolver,n,[])}static createDefaultBorderToken(e,t,n){return s.BorderToken.create(e,t,"Token","",{color:"#000000",position:"outside",style:"solid",width:1},void 0,new v.DTTokenReferenceResolver,n,[])}static replaceIdAcrossAllPossibleReferences(e,t,n){const r=e.token.id;e.token.id=t,this.replaceIdAcrossAllPossibleReferencesWithTokens(r,t,n.map((e=>e.token)))}static replaceIdAcrossAllPossibleReferencesWithTokens(e,t,n){const r=w.tokensToReferenceMap(n);for(const o of n){const n=o;(0,g.replaceReferencedTokenIds)(n,e,t,r),w.replaceIdForComplexTokens(n,e,t)}}static replaceIdForComplexTokens(e,t,n){var r,o,i,d,p,u,m,h,g,y,v,k,T,b,w,S,I,D,_,P,x,C,O,B,E,R,A,N;if(e instanceof f.TypographyToken)(null===(r=e.value.fontWeight)||void 0===r?void 0:r.referencedTokenId)&&(null===(o=e.value.fontWeight)||void 0===o?void 0:o.referencedTokenId)===t&&(e.value.fontWeight.referencedTokenId=n),(null===(i=e.value.fontFamily)||void 0===i?void 0:i.referencedTokenId)&&(null===(d=e.value.fontFamily)||void 0===d?void 0:d.referencedTokenId)===t&&(e.value.fontFamily.referencedTokenId=n),(null===(p=e.value.fontSize)||void 0===p?void 0:p.referencedTokenId)&&(null===(u=e.value.fontSize)||void 0===u?void 0:u.referencedTokenId)===t&&(e.value.fontSize.referencedTokenId=n),(null===(m=e.value.letterSpacing)||void 0===m?void 0:m.referencedTokenId)&&(null===(h=e.value.letterSpacing)||void 0===h?void 0:h.referencedTokenId)===t&&(e.value.letterSpacing.referencedTokenId=n),(null===(g=e.value.lineHeight)||void 0===g?void 0:g.referencedTokenId)&&(null===(y=e.value.lineHeight)||void 0===y?void 0:y.referencedTokenId)===t&&(e.value.lineHeight.referencedTokenId=n),(null===(v=e.value.paragraphIndent)||void 0===v?void 0:v.referencedTokenId)&&(null===(k=e.value.paragraphIndent)||void 0===k?void 0:k.referencedTokenId)===t&&(e.value.paragraphIndent.referencedTokenId=n),(null===(T=e.value.paragraphSpacing)||void 0===T?void 0:T.referencedTokenId)&&(null===(b=e.value.paragraphSpacing)||void 0===b?void 0:b.referencedTokenId)===t&&(e.value.paragraphSpacing.referencedTokenId=n),(null===(w=e.value.textCase)||void 0===w?void 0:w.referencedTokenId)&&(null===(S=e.value.textCase)||void 0===S?void 0:S.referencedTokenId)===t&&(e.value.textCase.referencedTokenId=n),(null===(I=e.value.textDecoration)||void 0===I?void 0:I.referencedTokenId)&&(null===(D=e.value.textDecoration)||void 0===D?void 0:D.referencedTokenId)===t&&(e.value.textDecoration.referencedTokenId=n);else if(e instanceof c.ShadowToken)for(const r of e.value)(null===(_=r.color)||void 0===_?void 0:_.referencedTokenId)&&(null===(P=r.color)||void 0===P?void 0:P.referencedTokenId)===t&&(r.color.referencedTokenId=n);else if(e instanceof s.BorderToken)(null===(x=e.value.color)||void 0===x?void 0:x.referencedTokenId)&&(null===(C=e.value.color)||void 0===C?void 0:C.referencedTokenId)===t&&(e.value.color.referencedTokenId=n),(null===(O=e.value.width)||void 0===O?void 0:O.referencedTokenId)&&(null===(B=e.value.width)||void 0===B?void 0:B.referencedTokenId)===t&&(e.value.width.referencedTokenId=n);else if(e instanceof l.GradientToken)for(const r of e.value)for(const e of r.stops)(null===(E=e.color)||void 0===E?void 0:E.referencedTokenId)&&(null===(R=e.color)||void 0===R?void 0:R.referencedTokenId)===t&&(e.color.referencedTokenId=n);else e instanceof a.BlurToken&&(null===(A=e.value.radius)||void 0===A?void 0:A.referencedTokenId)&&(null===(N=e.value.radius)||void 0===N?void 0:N.referencedTokenId)===t&&(e.value.radius.referencedTokenId=n)}static tokenThemeByUpdatingOverride(e,t){const n=e.overriddenTokens.filter((e=>e.id!==t.id));return n.push(t),e.overriddenTokens=n,e}static tokenThemeByRemovingOverride(e,t){const n=e.overriddenTokens.filter((e=>e.id!==t&&e.idInVersion!==t));return e.overriddenTokens=n,e}static colorTokenByUpdatingColor(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return t instanceof d.ColorToken?n.value={opacity:n.value.opacity,color:{r:t.value.color.r,g:t.value.color.g,b:t.value.color.b,referencedTokenId:t.value.color.referencedTokenId},referencedTokenId:t.id}:n.value={opacity:n.value.opacity,color:{r:t.r,g:t.g,b:t.b,referencedTokenId:t.referencedTokenId},referencedTokenId:null},n}static colorTokenByUpdatingOpacity(e,t){w.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return t instanceof p.OpacityToken?n.value.opacity={measure:t.value.measure,unit:t.value.unit,referencedTokenId:t.id}:n.value.opacity={measure:t,unit:r.Unit.raw,referencedTokenId:null},n}static blurTokenByUpdatingType(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value.type=t,n}static blurTokenByUpdatingRadius(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value.radius=this.rawOrReferencedDimensionValue(t),n}static typographyTokenByUpdatingFontFamily(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return t instanceof u.FontFamilyToken?n.value.fontFamily={text:t.value.text,referencedTokenId:t.id}:n.value.fontFamily={text:t.text,referencedTokenId:null},n}static typographyTokenByUpdatingFontWeight(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return t instanceof u.FontWeightToken?n.value.fontWeight={text:t.value.text,referencedTokenId:t.id}:n.value.fontWeight={text:t.text,referencedTokenId:null},n}static typographyTokenByUpdatingFontSize(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value.fontSize=this.rawOrReferencedDimensionValue(t),n}static typographyTokenByUpdatingLetterSpacing(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value.letterSpacing=this.rawOrReferencedDimensionValue(t),n}static typographyTokenByUpdatingLineHeight(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value.lineHeight=this.rawOrReferencedDimensionValue(t),n}static typographyTokenByUpdatingParagraphSpacing(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value.paragraphSpacing=this.rawOrReferencedDimensionValue(t),n}static typographyTokenByUpdatingParagraphIndent(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value.paragraphIndent=this.rawOrReferencedDimensionValue(t),n}static typographyTokenByUpdatingTextCase(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return t instanceof m.TextCaseToken?n.value.textCase={value:t.value.value,options:t.value.options,referencedTokenId:t.id}:n.value.textCase={value:t.value,options:t.options,referencedTokenId:null},n}static typographyTokenByUpdatingTextDecoration(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return t instanceof h.TextDecorationToken?n.value.textDecoration={value:t.value.value,options:t.value.options,referencedTokenId:t.id}:n.value.textDecoration={value:t.value,options:t.options,referencedTokenId:null},n}static borderTokenByUpdatingColor(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return t instanceof d.ColorToken?n.value.color={opacity:n.value.color.opacity,color:{r:t.value.color.r,g:t.value.color.g,b:t.value.color.b,referencedTokenId:t.value.color.referencedTokenId},referencedTokenId:t.id}:n.value.color={opacity:n.value.color.opacity,color:{r:t.r,g:t.g,b:t.b,referencedTokenId:t.referencedTokenId},referencedTokenId:null},n}static borderTokenByUpdatingOpacity(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return t instanceof p.OpacityToken?n.value.color.opacity={measure:t.value.measure,unit:t.value.unit,referencedTokenId:t.id}:n.value.color.opacity={measure:t,unit:r.Unit.raw,referencedTokenId:null},n}static borderTokenByUpdatingWidth(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value.width=this.rawOrReferencedDimensionValue(t),n}static borderTokenByUpdatingPosition(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value.position=t,n}static borderTokenByUpdatingStyle(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value.style=t,n}static dimensionTokenByUpdatingValue(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value=this.rawOrReferencedDimensionValue(t),n}static sizeTokenByUpdatingValue(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value=this.rawOrReferencedDimensionValue(t),n}static spaceTokenByUpdatingValue(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value=this.rawOrReferencedDimensionValue(t),n}static opacityTokenByUpdatingValue(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value=this.rawOrReferencedDimensionValue(t),n}static fontSizeTokenByUpdatingValue(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value=this.rawOrReferencedDimensionValue(t),n}static lineHeightTokenByUpdatingValue(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value=this.rawOrReferencedDimensionValue(t),n}static letterSpacingTokenByUpdatingValue(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value=this.rawOrReferencedDimensionValue(t),n}static paragraphSpacingTokenByUpdatingValue(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value=this.rawOrReferencedDimensionValue(t),n}static borderWidthTokenByUpdatingValue(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value=this.rawOrReferencedDimensionValue(t),n}static radiusTokenByUpdatingValue(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value=this.rawOrReferencedDimensionValue(t),n}static durationTokenByUpdatingValue(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value=this.rawOrReferencedDimensionValue(t),n}static zIndexTokenByUpdatingValue(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value=this.rawOrReferencedDimensionValue(t),n}static stringTokenByUpdatingValue(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value=this.rawOrReferencedStringValue(t),n}static productCopyTokenByUpdatingValue(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value=this.rawOrReferencedStringValue(t),n}static fontFamilyTokenByUpdatingValue(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value=this.rawOrReferencedStringValue(t),n}static fontWeightTokenByUpdatingValue(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value=this.rawOrReferencedStringValue(t),n}static textCaseTokenByUpdatingValue(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value={value:t.value,options:t.options,referencedTokenId:null},n}static textDecorationTokenByUpdatingValue(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value={value:t.value,options:t.options,referencedTokenId:null},n}static visibilityTokenByUpdatingValue(e,t){this.checkNotReference(e);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value={value:t.value,options:t.options,referencedTokenId:null},n}static shadowTokenByAddingLayer(e){const t=i.ThemeUtilities.replicateTokenWithValue(e),n={color:{color:{r:0,g:0,b:0,referencedTokenId:null},opacity:{measure:1,unit:r.Unit.raw,referencedTokenId:null},referencedTokenId:null},opacity:{measure:1,unit:r.Unit.raw,referencedTokenId:null},radius:0,spread:0,type:r.ShadowType.drop,x:0,y:4,referencedTokenId:null};return t.value.push(n),t}static shadowTokenByRemovingLayer(e,t){this.validateLayerAccess(e,t);const n=i.ThemeUtilities.replicateTokenWithValue(e);return n.value=n.value.splice(t,1),n}static shadowTokenByUpdatingColor(e,t,n){this.validateLayerAccess(e,t);const r=i.ThemeUtilities.replicateTokenWithValue(e),o=(0,k.sureOf)(r.value[t]);return n instanceof d.ColorToken?o.color={opacity:o.color.opacity,color:{r:n.value.color.r,g:n.value.color.g,b:n.value.color.b,referencedTokenId:n.value.color.referencedTokenId},referencedTokenId:n.id}:o.color={opacity:o.color.opacity,color:{r:n.r,g:n.g,b:n.b,referencedTokenId:n.referencedTokenId},referencedTokenId:null},r}static shadowTokenByUpdatingOpacity(e,t,n){this.validateLayerAccess(e,t);const o=i.ThemeUtilities.replicateTokenWithValue(e),a=(0,k.sureOf)(o.value[t]);return n instanceof p.OpacityToken?a.opacity={measure:n.value.measure,unit:n.value.unit,referencedTokenId:n.id}:a.opacity={measure:n,unit:r.Unit.raw,referencedTokenId:null},o}static shadowTokenByUpdatingX(e,t,n){this.validateLayerAccess(e,t);const r=i.ThemeUtilities.replicateTokenWithValue(e);return(0,k.sureOf)(r.value[t]).x=n,r}static shadowTokenByUpdatingY(e,t,n){this.validateLayerAccess(e,t);const r=i.ThemeUtilities.replicateTokenWithValue(e);return(0,k.sureOf)(r.value[t]).y=n,r}static shadowTokenByUpdatingRadius(e,t,n){this.validateLayerAccess(e,t);const r=i.ThemeUtilities.replicateTokenWithValue(e);return(0,k.sureOf)(r.value[t]).radius=n,r}static shadowTokenByUpdatingSpread(e,t,n){this.validateLayerAccess(e,t);const r=i.ThemeUtilities.replicateTokenWithValue(e);return(0,k.sureOf)(r.value[t]).spread=n,r}static shadowTokenByUpdatingType(e,t,n){this.validateLayerAccess(e,t);const r=i.ThemeUtilities.replicateTokenWithValue(e);return(0,k.sureOf)(r.value[t]).type=n,r}static gradientTokenByUpdatingTo(e,t,n){this.validateLayerAccess(e,t);const r=i.ThemeUtilities.replicateTokenWithValue(e);return(0,k.sureOf)(r.value[t]).to=n,r}static gradientTokenByUpdatingFrom(e,t,n){this.validateLayerAccess(e,t);const r=i.ThemeUtilities.replicateTokenWithValue(e);return(0,k.sureOf)(r.value[t]).from=n,r}static gradientTokenByUpdatingType(e,t,n){this.validateLayerAccess(e,t);const r=i.ThemeUtilities.replicateTokenWithValue(e);return(0,k.sureOf)(r.value[t]).type=n,r}static gradientTokenByUpdatingAspectRatio(e,t,n){this.validateLayerAccess(e,t);const r=i.ThemeUtilities.replicateTokenWithValue(e);return(0,k.sureOf)(r.value[t]).aspectRatio=n,r}static gradientTokenByUpdatingStops(e,t,n){w.validateLayerAccess(e,t);const r=i.ThemeUtilities.replicateTokenWithValue(e),o=(0,k.sureOf)(r.value[t]),a=new Array;for(const e of n)if(e.color instanceof d.ColorToken){const t={position:e.position,color:{opacity:e.color.value.opacity,color:{r:e.color.value.color.r,g:e.color.value.color.g,b:e.color.value.color.b,referencedTokenId:e.color.value.color.referencedTokenId},referencedTokenId:e.color.id}};a.push(t)}else{const t={position:e.position,color:{opacity:e.color.opacity,color:{r:e.color.color.r,g:e.color.color.g,b:e.color.color.b,referencedTokenId:e.color.color.referencedTokenId},referencedTokenId:null}};a.push(t)}return o.stops=a,r}static tokenByReferencing(e,t){const n=i.ThemeUtilities.replicateTokenWithoutValue(e);if(e.id===t.id)throw r.SupernovaError.fromMessage("Can't create reference where token would reference itself");if(e.tokenType!==t.tokenType)throw r.SupernovaError.fromMessage("Can't reference token of different type");return n.value=Object.assign(Object.assign({},(0,T.cloneDeep)(t.value)),{referencedTokenId:t.id}),n}static multilayerTokenByReferencing(e,t,n){const o=i.ThemeUtilities.replicateTokenWithValue(e);if(e.id===n.id)throw r.SupernovaError.fromMessage("Can't create reference where token would reference itself");if(e.tokenType!==n.tokenType)throw r.SupernovaError.fromMessage("Can't reference token of different type");return o.value[t]=Object.assign(Object.assign({},(0,T.cloneDeep)((0,k.sureOf)(n.value[t]))),{referencedTokenId:n.id}),o}static tokenByDisconnectingReference(e,t={}){const n=i.ThemeUtilities.replicateTokenWithoutValue(e);if(!e.value.referencedTokenId&&!t.supressErrorOnNoReference)throw r.SupernovaError.fromMessage("Can't create raw token from a token that isn't previously a reference");return n.value=Object.assign(Object.assign({},(0,T.cloneDeep)(e.value)),{referencedTokenId:null}),n}static multilayerTokenByDisconnectingReference(e,t){const n=i.ThemeUtilities.replicateTokenWithoutValue(e);if(!e.value.referencedTokenId)throw r.SupernovaError.fromMessage("Can't create raw token from a token that isn't previously a reference");return n}static isReferencedToken(e){return null!==e.value.referencedTokenId&&void 0!==e.value.referencedTokenId}static isReferencedMultilayerTokenLayer(e,t){this.validateLayerAccess(e,t);const n=(0,k.sureOf)(e.value[t]);return null!==n.referencedTokenId&&void 0!==n.referencedTokenId}static isTokenImported(e){var t,n;return null!==(null===(t=e.origin)||void 0===t?void 0:t.sourceId)&&void 0!==(null===(n=e.origin)||void 0===n?void 0:n.sourceId)}static checkNotReference(e){if(e.value.referencedTokenId)throw r.SupernovaError.fromMessage("Performing value-replated operation on referenced token is not allowed")}static rawOrReferencedDimensionValue(e){return e instanceof p.DimensionCategoryToken?{measure:e.value.measure,unit:e.value.unit,referencedTokenId:e.id}:{measure:e.measure,unit:e.unit,referencedTokenId:null}}static rawOrReferencedStringValue(e){return e instanceof u.StringCategoryToken?{text:e.value.text,referencedTokenId:e.id}:{text:e.text,referencedTokenId:null}}static validateLayerAccess(e,t){let n;if(n=e instanceof c.ShadowToken?e.shadowLayers:e.gradientLayers,t<0||t>=n.length)throw r.SupernovaError.fromMessage(`Can't access layer at index ${t} for ${e.id}, layer outside of allowed bounds`)}static inlineValueIntoComplexTokens(e,t,n){var r,i,a,s,d,p,l,c,u,m,h,g,f,y,v,k,T,b,w,S,I,D,_,P,x,C,O,B;switch(e.tokenType){case o.TokenType.blur:{const o=e;(null===(i=null===(r=null==o?void 0:o.value)||void 0===r?void 0:r.radius)||void 0===i?void 0:i.referencedTokenId)===t&&(o.value.radius=n);break}case o.TokenType.border:{const r=e;(null===(s=null===(a=null==r?void 0:r.value)||void 0===a?void 0:a.color)||void 0===s?void 0:s.referencedTokenId)===t&&(r.value.color=n),(null===(p=null===(d=null==r?void 0:r.value)||void 0===d?void 0:d.width)||void 0===p?void 0:p.referencedTokenId)===t&&(r.value.width=n);break}case o.TokenType.gradient:for(const r of null==e?void 0:e.value){const e=null!==(l=null==r?void 0:r.stops)&&void 0!==l?l:[];for(const r of e)(null===(c=null==r?void 0:r.color)||void 0===c?void 0:c.referencedTokenId)===t&&(r.color=n)}break;case o.TokenType.shadow:{const r=e;for(const e of r.value)(null===(u=null==e?void 0:e.opacity)||void 0===u?void 0:u.referencedTokenId)===t&&(e.opacity=n),(null===(m=null==e?void 0:e.color)||void 0===m?void 0:m.referencedTokenId)===t&&(e.color=n);break}case o.TokenType.typography:{const r=e;(null===(g=null===(h=null==r?void 0:r.value)||void 0===h?void 0:h.fontSize)||void 0===g?void 0:g.referencedTokenId)===t&&(r.value.fontSize=n),(null===(y=null===(f=null==r?void 0:r.value)||void 0===f?void 0:f.letterSpacing)||void 0===y?void 0:y.referencedTokenId)===t&&(r.value.letterSpacing=n),(null===(k=null===(v=null==r?void 0:r.value)||void 0===v?void 0:v.lineHeight)||void 0===k?void 0:k.referencedTokenId)===t&&(r.value.lineHeight=n),(null===(b=null===(T=null==r?void 0:r.value)||void 0===T?void 0:T.paragraphIndent)||void 0===b?void 0:b.referencedTokenId)===t&&(r.value.paragraphIndent=n),(null===(S=null===(w=null==r?void 0:r.value)||void 0===w?void 0:w.paragraphSpacing)||void 0===S?void 0:S.referencedTokenId)===t&&(r.value.paragraphSpacing=n),(null===(D=null===(I=null==r?void 0:r.value)||void 0===I?void 0:I.fontFamily)||void 0===D?void 0:D.referencedTokenId)===t&&(r.value.fontFamily=n),(null===(P=null===(_=null==r?void 0:r.value)||void 0===_?void 0:_.fontWeight)||void 0===P?void 0:P.referencedTokenId)===t&&(r.value.fontWeight=n),(null===(C=null===(x=null==r?void 0:r.value)||void 0===x?void 0:x.textCase)||void 0===C?void 0:C.referencedTokenId)===t&&(r.value.textCase=n),(null===(B=null===(O=null==r?void 0:r.value)||void 0===O?void 0:O.textDecoration)||void 0===B?void 0:B.referencedTokenId)===t&&(r.value.textDecoration=n);break}}}static getRefIdsFromComplexTokens(e){var t,n,r,i;switch(e.tokenType){case o.TokenType.blur:return[null===(n=null===(t=e.value)||void 0===t?void 0:t.radius)||void 0===n?void 0:n.referencedTokenId];case o.TokenType.border:{const t=null==e?void 0:e.value;return[null==t?void 0:t.color,null==t?void 0:t.width].map((e=>null==e?void 0:e.referencedTokenId)).filter(Boolean)}case o.TokenType.gradient:{const t=(0,T.flatMap)(null!==(r=null==e?void 0:e.value)&&void 0!==r?r:[],(e=>{var t;return null!==(t=null==e?void 0:e.stops)&&void 0!==t?t:[]}));return t.map((e=>{var t;return null===(t=null==e?void 0:e.color)||void 0===t?void 0:t.referencedTokenId})).filter(Boolean)}case o.TokenType.shadow:return(0,T.flatMap)(null!==(i=null==e?void 0:e.value)&&void 0!==i?i:[],(e=>[null==e?void 0:e.opacity,null==e?void 0:e.color])).map((e=>null==e?void 0:e.referencedTokenId)).filter(Boolean);case o.TokenType.typography:{const t=null==e?void 0:e.value;return[null==t?void 0:t.fontSize,null==t?void 0:t.letterSpacing,null==t?void 0:t.lineHeight,null==t?void 0:t.paragraphIndent,null==t?void 0:t.paragraphSpacing,null==t?void 0:t.fontFamily,null==t?void 0:t.fontWeight,null==t?void 0:t.textCase,null==t?void 0:t.textDecoration].map((e=>null==e?void 0:e.referencedTokenId)).filter(Boolean)}default:return[]}}static buildKey(e,t){return[...e,t].join("/").toLowerCase().replaceAll(" ","-").replaceAll("(","").replaceAll(")","")}static buildPath(e,t){if(!e.parentGroupId)throw new Error("Keys can only be built for tokens that have parents");let n=t.find((t=>t.id===e.parentGroupId)),r=[];for(;n;){r=[n.name,...r];const e=n.parentGroupId;n=e?t.find((t=>t.id===e)):void 0}return r}static buildFallbackKey(e){return this.buildKey(e.path,e.token.name).replace(/^measure\//,`${this.mapTypeToPrefix(e.token.tokenType)}/`).replace(/^generic\//,`${this.mapTypeToPrefix(e.token.tokenType)}/`).replace(/^radius\//,`${this.mapTypeToPrefix(e.token.tokenType)}/`)}static buildFallbackKeyBack(e){return this.buildKey(e.path,e.token.name).replace(/^(dimension|font-size|font-sizing|line-height|letter-spacing|paragraph-spacing|spacing|space|opacity|size|sizing|border-width)\//,"measure/").replace(/^(font-family|font-weight)\//,"generic/").replace(/^(border-radius)\//,"radius/")}static buildFallbackKey2(e){return this.buildKey(e.path,e.token.name).replace(/^measure\//,`${this.mapTypeToPrefix2(e.token.tokenType)}/`).replace(/^generic\//,`${this.mapTypeToPrefix(e.token.tokenType)}/`).replace(/^radius\//,`${this.mapTypeToPrefix(e.token.tokenType)}/`)}static getTokenByKeyOrFallbackKeys(e,t){var n;const r=w.getKeysByKeyOrFallbackKeys(e);return t.get(null!==(n=r.find((e=>!!t.get(e))))&&void 0!==n?n:"")}static getKeysByKeyOrFallbackKeys(e){return[...new Set([w.buildKey(e.path,e.token.name),w.buildFallbackKey(e),w.buildFallbackKey2(e),w.buildFallbackKeyBack(e)])]}static getTokenByKeyOrBackwardKey(e,t){var n;const r=w.buildKey(e.path,e.token.name),o=w.buildFallbackKeyBack(e);return null!==(n=t.get(r))&&void 0!==n?n:t.get(o)}static getTextCaseTokenValue(e){switch(e){case r.TextCase.upper:return"Uppercase";case r.TextCase.lower:return"Lowercase";case r.TextCase.camel:return"Capitalize";case r.TextCase.smallCaps:return"Small caps";case r.TextCase.original:return"Original";default:throw new Error("Unknown text case")}}}w.mapTypeToPrefix=e=>{switch(e){case o.TokenType.size:return"sizing";case o.TokenType.fontSize:return"font-sizing";case o.TokenType.lineHeight:return"line-height";case o.TokenType.letterSpacing:return"letter-spacing";case o.TokenType.paragraphSpacing:return"paragraph-spacing";case o.TokenType.borderWidth:return"border-width";case o.TokenType.space:return"spacing";case o.TokenType.radius:return"border-radius";case o.TokenType.fontFamily:return"font-family";case o.TokenType.fontWeight:return"font-weight";case o.TokenType.textCase:return"text-case";case o.TokenType.textDecoration:return"text-decoration";case o.TokenType.visibility:return"visibility";default:return e.toLowerCase().replaceAll(" ","-")}},w.mapTypeToPrefixBack=e=>{switch(e){case o.TokenType.size:return"sizing";case o.TokenType.fontSize:return"font-sizing";case o.TokenType.lineHeight:return"line-height";case o.TokenType.letterSpacing:return"letter-spacing";case o.TokenType.paragraphSpacing:return"paragraph-spacing";case o.TokenType.borderWidth:return"border-width";case o.TokenType.space:return"spacing";case o.TokenType.radius:return"radius";case o.TokenType.fontFamily:return"font-family";case o.TokenType.fontWeight:return"font-weight";default:return e.toLowerCase().replaceAll(" ","-")}},w.mapTypeToPrefix2=e=>{switch(e){case o.TokenType.fontSize:return"font-size";case o.TokenType.space:return"space";default:return e.toLowerCase().replaceAll(" ","-")}},t.TokenUtils=w},7098:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnreachableCaseError=void 0;class n extends Error{constructor(e,t="Unreachable case:"){super(`${t} ${JSON.stringify(e)}`)}}t.UnreachableCaseError=n},3688:e=>{"use strict";e.exports=require("https-proxy-agent")},4385:e=>{"use strict";e.exports=require("string.prototype.matchall")},3903:e=>{"use strict";e.exports=require("uuid")},4876:e=>{"use strict";e.exports=require("punycode")},5888:function(e){e.exports=function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}var t=/^\s+/,n=/\s+$/;function r(o,i){if(i=i||{},(o=o||"")instanceof r)return o;if(!(this instanceof r))return new r(o,i);var a=function(r){var o={r:0,g:0,b:0},i=1,a=null,s=null,d=null,p=!1,l=!1;return"string"==typeof r&&(r=function(e){e=e.replace(t,"").replace(n,"").toLowerCase();var r,o=!1;if(T[e])e=T[e],o=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(r=R.rgb.exec(e))?{r:r[1],g:r[2],b:r[3]}:(r=R.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=R.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=R.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=R.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=R.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=R.hex8.exec(e))?{r:D(r[1]),g:D(r[2]),b:D(r[3]),a:C(r[4]),format:o?"name":"hex8"}:(r=R.hex6.exec(e))?{r:D(r[1]),g:D(r[2]),b:D(r[3]),format:o?"name":"hex"}:(r=R.hex4.exec(e))?{r:D(r[1]+""+r[1]),g:D(r[2]+""+r[2]),b:D(r[3]+""+r[3]),a:C(r[4]+""+r[4]),format:o?"name":"hex8"}:!!(r=R.hex3.exec(e))&&{r:D(r[1]+""+r[1]),g:D(r[2]+""+r[2]),b:D(r[3]+""+r[3]),format:o?"name":"hex"}}(r)),"object"==e(r)&&(A(r.r)&&A(r.g)&&A(r.b)?(o=function(e,t,n){return{r:255*S(e,255),g:255*S(t,255),b:255*S(n,255)}}(r.r,r.g,r.b),p=!0,l="%"===String(r.r).substr(-1)?"prgb":"rgb"):A(r.h)&&A(r.s)&&A(r.v)?(a=P(r.s),s=P(r.v),o=function(e,t,n){e=6*S(e,360),t=S(t,100),n=S(n,100);var r=Math.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),s=n*(1-(1-o)*t),d=r%6;return{r:255*[n,a,i,i,s,n][d],g:255*[s,n,n,a,i,i][d],b:255*[i,i,s,n,n,a][d]}}(r.h,a,s),p=!0,l="hsv"):A(r.h)&&A(r.s)&&A(r.l)&&(a=P(r.s),d=P(r.l),o=function(e,t,n){var r,o,i;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=S(e,360),t=S(t,100),n=S(n,100),0===t)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,d=2*n-s;r=a(d,s,e+1/3),o=a(d,s,e),i=a(d,s,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(r.h,a,d),p=!0,l="hsl"),r.hasOwnProperty("a")&&(i=r.a)),i=w(i),{ok:p,format:r.format||l,r:Math.min(255,Math.max(o.r,0)),g:Math.min(255,Math.max(o.g,0)),b:Math.min(255,Math.max(o.b,0)),a:i}}(o);this._originalInput=o,this._r=a.r,this._g=a.g,this._b=a.b,this._a=a.a,this._roundA=Math.round(100*this._a)/100,this._format=i.format||a.format,this._gradientType=i.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=a.ok}function o(e,t,n){e=S(e,255),t=S(t,255),n=S(n,255);var r,o,i=Math.max(e,t,n),a=Math.min(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var d=i-a;switch(o=s>.5?d/(2-i-a):d/(i+a),i){case e:r=(t-n)/d+(t<n?6:0);break;case t:r=(n-e)/d+2;break;case n:r=(e-t)/d+4}r/=6}return{h:r,s:o,l:s}}function i(e,t,n){e=S(e,255),t=S(t,255),n=S(n,255);var r,o,i=Math.max(e,t,n),a=Math.min(e,t,n),s=i,d=i-a;if(o=0===i?0:d/i,i==a)r=0;else{switch(i){case e:r=(t-n)/d+(t<n?6:0);break;case t:r=(n-e)/d+2;break;case n:r=(e-t)/d+4}r/=6}return{h:r,s:o,v:s}}function a(e,t,n,r){var o=[_(Math.round(e).toString(16)),_(Math.round(t).toString(16)),_(Math.round(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function s(e,t,n,r){return[_(x(r)),_(Math.round(e).toString(16)),_(Math.round(t).toString(16)),_(Math.round(n).toString(16))].join("")}function d(e,t){t=0===t?0:t||10;var n=r(e).toHsl();return n.s-=t/100,n.s=I(n.s),r(n)}function p(e,t){t=0===t?0:t||10;var n=r(e).toHsl();return n.s+=t/100,n.s=I(n.s),r(n)}function l(e){return r(e).desaturate(100)}function c(e,t){t=0===t?0:t||10;var n=r(e).toHsl();return n.l+=t/100,n.l=I(n.l),r(n)}function u(e,t){t=0===t?0:t||10;var n=r(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),r(n)}function m(e,t){t=0===t?0:t||10;var n=r(e).toHsl();return n.l-=t/100,n.l=I(n.l),r(n)}function h(e,t){var n=r(e).toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,r(n)}function g(e){var t=r(e).toHsl();return t.h=(t.h+180)%360,r(t)}function f(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=r(e).toHsl(),o=[r(e)],i=360/t,a=1;a<t;a++)o.push(r({h:(n.h+a*i)%360,s:n.s,l:n.l}));return o}function y(e){var t=r(e).toHsl(),n=t.h;return[r(e),r({h:(n+72)%360,s:t.s,l:t.l}),r({h:(n+216)%360,s:t.s,l:t.l})]}function v(e,t,n){t=t||6,n=n||30;var o=r(e).toHsl(),i=360/n,a=[r(e)];for(o.h=(o.h-(i*t>>1)+720)%360;--t;)o.h=(o.h+i)%360,a.push(r(o));return a}function k(e,t){t=t||6;for(var n=r(e).toHsv(),o=n.h,i=n.s,a=n.v,s=[],d=1/t;t--;)s.push(r({h:o,s:i,v:a})),a=(a+d)%1;return s}r.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=w(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=i(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=i(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=o(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=o(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return a(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[_(Math.round(e).toString(16)),_(Math.round(t).toString(16)),_(Math.round(n).toString(16)),_(x(r))];return o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*S(this._r,255))+"%",g:Math.round(100*S(this._g,255))+"%",b:Math.round(100*S(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*S(this._r,255))+"%, "+Math.round(100*S(this._g,255))+"%, "+Math.round(100*S(this._b,255))+"%)":"rgba("+Math.round(100*S(this._r,255))+"%, "+Math.round(100*S(this._g,255))+"%, "+Math.round(100*S(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(b[a(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+s(this._r,this._g,this._b,this._a),n=t,o=this._gradientType?"GradientType = 1, ":"";if(e){var i=r(e);n="#"+s(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return r(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(c,arguments)},brighten:function(){return this._applyModification(u,arguments)},darken:function(){return this._applyModification(m,arguments)},desaturate:function(){return this._applyModification(d,arguments)},saturate:function(){return this._applyModification(p,arguments)},greyscale:function(){return this._applyModification(l,arguments)},spin:function(){return this._applyModification(h,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(v,arguments)},complement:function(){return this._applyCombination(g,arguments)},monochromatic:function(){return this._applyCombination(k,arguments)},splitcomplement:function(){return this._applyCombination(y,arguments)},triad:function(){return this._applyCombination(f,[3])},tetrad:function(){return this._applyCombination(f,[4])}},r.fromRatio=function(t,n){if("object"==e(t)){var o={};for(var i in t)t.hasOwnProperty(i)&&(o[i]="a"===i?t[i]:P(t[i]));t=o}return r(t,n)},r.equals=function(e,t){return!(!e||!t)&&r(e).toRgbString()==r(t).toRgbString()},r.random=function(){return r.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},r.mix=function(e,t,n){n=0===n?0:n||50;var o=r(e).toRgb(),i=r(t).toRgb(),a=n/100;return r({r:(i.r-o.r)*a+o.r,g:(i.g-o.g)*a+o.g,b:(i.b-o.b)*a+o.b,a:(i.a-o.a)*a+o.a})},r.readability=function(e,t){var n=r(e),o=r(t);return(Math.max(n.getLuminance(),o.getLuminance())+.05)/(Math.min(n.getLuminance(),o.getLuminance())+.05)},r.isReadable=function(e,t,n){var o,i,a,s,d,p=r.readability(e,t);switch(i=!1,(a=n,"AA"!==(s=((a=a||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==s&&(s="AA"),"small"!==(d=(a.size||"small").toLowerCase())&&"large"!==d&&(d="small"),o={level:s,size:d}).level+o.size){case"AAsmall":case"AAAlarge":i=p>=4.5;break;case"AAlarge":i=p>=3;break;case"AAAsmall":i=p>=7}return i},r.mostReadable=function(e,t,n){var o,i,a,s,d=null,p=0;i=(n=n||{}).includeFallbackColors,a=n.level,s=n.size;for(var l=0;l<t.length;l++)(o=r.readability(e,t[l]))>p&&(p=o,d=r(t[l]));return r.isReadable(e,d,{level:a,size:s})||!i?d:(n.includeFallbackColors=!1,r.mostReadable(e,["#fff","#000"],n))};var T=r.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},b=r.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(T);function w(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function S(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function I(e){return Math.min(1,Math.max(0,e))}function D(e){return parseInt(e,16)}function _(e){return 1==e.length?"0"+e:""+e}function P(e){return e<=1&&(e=100*e+"%"),e}function x(e){return Math.round(255*parseFloat(e)).toString(16)}function C(e){return D(e)/255}var O,B,E,R=(B="[\\s|\\(]+("+(O="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+O+")[,|\\s]+("+O+")\\s*\\)?",E="[\\s|\\(]+("+O+")[,|\\s]+("+O+")[,|\\s]+("+O+")[,|\\s]+("+O+")\\s*\\)?",{CSS_UNIT:new RegExp(O),rgb:new RegExp("rgb"+B),rgba:new RegExp("rgba"+E),hsl:new RegExp("hsl"+B),hsla:new RegExp("hsla"+E),hsv:new RegExp("hsv"+B),hsva:new RegExp("hsva"+E),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function A(e){return!!R.CSS_UNIT.exec(e)}return r}()},1530:(e,t,n)=>{"use strict";var r,o;n.r(t),n.d(t,{BlockDefinitionUtils:()=>Bf,BlockParsingUtils:()=>Of,DTOBrand:()=>Rh,DTOBrandGetResponse:()=>Ah,DTOBrandsListResponse:()=>Nh,DTOCreateDocumentationGroupInput:()=>Yh,DTOCreateDocumentationPageInputV2:()=>Pg,DTOCreateDocumentationTabInput:()=>tg,DTODeleteDocumentationGroupInput:()=>rg,DTODeleteDocumentationPageInputV2:()=>Bg,DTODeleteDocumentationTabGroupInput:()=>ng,DTODesignSystem:()=>Vh,DTODesignSystemVersion:()=>jh,DTODesignSystemVersionGetResponse:()=>Lh,DTODesignSystemVersionsListResponse:()=>Mh,DTODocumentationGroupCreateActionInputV2:()=>ug,DTODocumentationGroupCreateActionOutputV2:()=>ig,DTODocumentationGroupDeleteActionInputV2:()=>yg,DTODocumentationGroupDeleteActionOutputV2:()=>lg,DTODocumentationGroupDuplicateActionInputV2:()=>fg,DTODocumentationGroupDuplicateActionOutputV2:()=>pg,DTODocumentationGroupMoveActionInputV2:()=>gg,DTODocumentationGroupMoveActionOutputV2:()=>dg,DTODocumentationGroupStructureV1:()=>wg,DTODocumentationGroupStructureV2:()=>Zh,DTODocumentationGroupUpdateActionInputV2:()=>hg,DTODocumentationGroupUpdateActionOutputV2:()=>sg,DTODocumentationGroupV1:()=>Sg,DTODocumentationGroupV2:()=>Jh,DTODocumentationHierarchyV2:()=>_g,DTODocumentationItemConfigurationV1:()=>bg,DTODocumentationLinkPreviewRequest:()=>Kh,DTODocumentationLinkPreviewResponse:()=>qh,DTODocumentationPageCreateActionInputV2:()=>Mg,DTODocumentationPageCreateActionOutputV2:()=>Rg,DTODocumentationPageDeleteActionInputV2:()=>Wg,DTODocumentationPageDeleteActionOutputV2:()=>jg,DTODocumentationPageDuplicateActionInputV2:()=>Fg,DTODocumentationPageDuplicateActionOutputV2:()=>Vg,DTODocumentationPageMoveActionInputV2:()=>Ug,DTODocumentationPageMoveActionOutputV2:()=>Ng,DTODocumentationPageRoomHeaderData:()=>wf,DTODocumentationPageRoomHeaderDataUpdate:()=>Sf,DTODocumentationPageStructureV2:()=>Ig,DTODocumentationPageUpdateActionInputV2:()=>Lg,DTODocumentationPageUpdateActionOutputV2:()=>Ag,DTODocumentationPageV2:()=>Dg,DTODocumentationTabCreateActionInputV2:()=>mg,DTODocumentationTabCreateActionOutputV2:()=>ag,DTODocumentationTabGroupDeleteActionInputV2:()=>vg,DTODocumentationTabGroupDeleteActionOutputV2:()=>cg,DTODuplicateDocumentationGroupInput:()=>eg,DTODuplicateDocumentationPageInputV2:()=>Og,DTOElementActionInput:()=>ef,DTOElementActionOutput:()=>Xg,DTOElementPropertyDefinition:()=>Zg,DTOElementPropertyDefinitionsGetResponse:()=>Jg,DTOElementPropertyValue:()=>Yg,DTOElementPropertyValuesGetResponse:()=>Qg,DTOElementView:()=>Gh,DTOElementViewBasePropertyColumn:()=>Fh,DTOElementViewColumn:()=>zh,DTOElementViewColumnSharedAttributes:()=>Uh,DTOElementViewPropertyDefinitionColumn:()=>Wh,DTOElementViewThemeColumn:()=>$h,DTOElementViewsListResponse:()=>Hh,DTOElementsGetOutput:()=>rf,DTOElementsGetQuerySchema:()=>nf,DTOElementsGetTypeFilter:()=>tf,DTOFigmaNode:()=>Gg,DTOFigmaNodeData:()=>zg,DTOFigmaNodeRenderActionInput:()=>Kg,DTOFigmaNodeRenderActionOutput:()=>qg,DTOFigmaNodeRenderInput:()=>Hg,DTOGetBlockDefinitionsOutput:()=>lf,DTOLiveblocksAuthRequest:()=>cf,DTOMoveDocumentationGroupInput:()=>Xh,DTOMoveDocumentationPageInputV2:()=>Cg,DTONpmRegistryConfig:()=>of,DTOUpdateDocumentationGroupInput:()=>Qh,DTOUpdateDocumentationPageInputV2:()=>xg,DTOUserWorkspaceMembership:()=>df,DTOUserWorkspaceMembershipsResponse:()=>pf,DTOWorkspace:()=>af,DTOWorkspaceRole:()=>sf,DocumentationHierarchySettings:()=>ff,DocumentationPageEditorModel:()=>xf,DocumentationPageV1DTO:()=>$g,ListTreeBuilder:()=>Ef,NpmRegistryInput:()=>hf,PageBlockEditorModel:()=>_f,PageSectionEditorModel:()=>Pf,WorkspaceConfigurationPayload:()=>gf,blockToProsemirrorNode:()=>Nf,buildDocPagePublishPaths:()=>kh,calculateElementParentChain:()=>Th,designSystemBrandToDto:()=>La,designSystemVersionToDto:()=>Va,documentationElementsToHierarchyDto:()=>Ih,documentationHierarchyToYjs:()=>yf,documentationItemConfigurationToDTOV1:()=>_h,documentationPagesToDTOV1:()=>Eh,documentationPagesToDTOV2:()=>wh,documentationPagesToStructureDTOV2:()=>bh,dtoDefaultItemConfigurationV1:()=>Dh,elementGroupsToDocumentationGroupDTOV1:()=>Ch,elementGroupsToDocumentationGroupDTOV2:()=>fh,elementGroupsToDocumentationGroupStructureDTOV1:()=>xh,elementGroupsToDocumentationGroupStructureDTOV2:()=>gh,elementPropertyDefinitionToDto:()=>ja,elementPropertyValueToDto:()=>Ma,elementViewToDto:()=>Ua,getMockPageBlockDefinitions:()=>ey,itemConfigurationToYjs:()=>If,pageToProsemirrorDoc:()=>Af,pageToYXmlFragment:()=>Rf,pmSchema:()=>Cf,prosemirrorDocToPage:()=>oy,prosemirrorNodeToSection:()=>ay,prosemirrorNodesToBlocks:()=>sy,serializeAsCustomBlock:()=>Qf,shallowProsemirrorNodeToBlock:()=>iy,validateSsoPayload:()=>mf,yDocToPage:()=>ny,yXmlFragmentToPage:()=>ry,yjsToDocumentationHierarchy:()=>vf,yjsToItemConfiguration:()=>Df}),function(e){e.assertEqual=e=>e,e.assertIs=function(e){},e.assertNever=function(e){throw new Error},e.arrayToEnum=e=>{const t={};for(const n of e)t[n]=n;return t},e.getValidEnumValues=t=>{const n=e.objectKeys(t).filter((e=>"number"!=typeof t[t[e]])),r={};for(const e of n)r[e]=t[e];return e.objectValues(r)},e.objectValues=t=>e.objectKeys(t).map((function(e){return t[e]})),e.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{const t=[];for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e.find=(e,t)=>{for(const n of e)if(t(n))return n},e.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,e.joinValues=function(e,t=" | "){return e.map((e=>"string"==typeof e?`'${e}'`:e)).join(t)},e.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t}(r||(r={})),function(e){e.mergeShapes=(e,t)=>({...e,...t})}(o||(o={}));const i=r.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),a=e=>{switch(typeof e){case"undefined":return i.undefined;case"string":return i.string;case"number":return isNaN(e)?i.nan:i.number;case"boolean":return i.boolean;case"function":return i.function;case"bigint":return i.bigint;case"symbol":return i.symbol;case"object":return Array.isArray(e)?i.array:null===e?i.null:e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch?i.promise:"undefined"!=typeof Map&&e instanceof Map?i.map:"undefined"!=typeof Set&&e instanceof Set?i.set:"undefined"!=typeof Date&&e instanceof Date?i.date:i.object;default:return i.unknown}},s=r.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class d extends Error{constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){const t=e||function(e){return e.message},n={_errors:[]},r=e=>{for(const o of e.issues)if("invalid_union"===o.code)o.unionErrors.map(r);else if("invalid_return_type"===o.code)r(o.returnTypeError);else if("invalid_arguments"===o.code)r(o.argumentsError);else if(0===o.path.length)n._errors.push(t(o));else{let e=n,r=0;for(;r<o.path.length;){const n=o.path[r];r===o.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(o))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(this),n}toString(){return this.message}get message(){return JSON.stringify(this.issues,r.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=(e=>e.message)){const t={},n=[];for(const r of this.issues)r.path.length>0?(t[r.path[0]]=t[r.path[0]]||[],t[r.path[0]].push(e(r))):n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}d.create=e=>new d(e);const p=(e,t)=>{let n;switch(e.code){case s.invalid_type:n=e.received===i.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case s.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,r.jsonStringifyReplacer)}`;break;case s.unrecognized_keys:n=`Unrecognized key(s) in object: ${r.joinValues(e.keys,", ")}`;break;case s.invalid_union:n="Invalid input";break;case s.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${r.joinValues(e.options)}`;break;case s.invalid_enum_value:n=`Invalid enum value. Expected ${r.joinValues(e.options)}, received '${e.received}'`;break;case s.invalid_arguments:n="Invalid function arguments";break;case s.invalid_return_type:n="Invalid function return type";break;case s.invalid_date:n="Invalid date";break;case s.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:r.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case s.too_small:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case s.too_big:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case s.custom:n="Invalid input";break;case s.invalid_intersection_types:n="Intersection results could not be merged";break;case s.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case s.not_finite:n="Number must be finite";break;default:n=t.defaultError,r.assertNever(e)}return{message:n}};let l=p;function c(){return l}const u=e=>{const{data:t,path:n,errorMaps:r,issueData:o}=e,i=[...n,...o.path||[]],a={...o,path:i};let s="";const d=r.filter((e=>!!e)).slice().reverse();for(const e of d)s=e(a,{data:t,defaultError:s}).message;return{...o,path:i,message:o.message||s}};function m(e,t){const n=u({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,c(),p].filter((e=>!!e))});e.common.issues.push(n)}class h{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){const n=[];for(const r of t){if("aborted"===r.status)return g;"dirty"===r.status&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){const n=[];for(const e of t)n.push({key:await e.key,value:await e.value});return h.mergeObjectSync(e,n)}static mergeObjectSync(e,t){const n={};for(const r of t){const{key:t,value:o}=r;if("aborted"===t.status)return g;if("aborted"===o.status)return g;"dirty"===t.status&&e.dirty(),"dirty"===o.status&&e.dirty(),"__proto__"===t.value||void 0===o.value&&!r.alwaysSet||(n[t.value]=o.value)}return{status:e.value,value:n}}}const g=Object.freeze({status:"aborted"}),f=e=>({status:"dirty",value:e}),y=e=>({status:"valid",value:e}),v=e=>"aborted"===e.status,k=e=>"dirty"===e.status,T=e=>"valid"===e.status,b=e=>"undefined"!=typeof Promise&&e instanceof Promise;var w;!function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:null==e?void 0:e.message}(w||(w={}));class S{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const I=(e,t)=>{if(T(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const t=new d(e.common.issues);return this._error=t,this._error}}};function D(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:o}=e;if(t&&(n||r))throw new Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:o}:{errorMap:(e,t)=>"invalid_type"!==e.code?{message:t.defaultError}:void 0===t.data?{message:null!=r?r:t.defaultError}:{message:null!=n?n:t.defaultError},description:o}}class _{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return a(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:a(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new h,ctx:{common:e.parent.common,data:e.data,parsedType:a(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if(b(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){var n;const r={common:{issues:[],async:null!==(n=null==t?void 0:t.async)&&void 0!==n&&n,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:a(e)},o=this._parseSync({data:e,path:r.path,parent:r});return I(r,o)}async parseAsync(e,t){const n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){const n={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:a(e)},r=this._parse({data:e,path:n.path,parent:n}),o=await(b(r)?r:Promise.resolve(r));return I(n,o)}refine(e,t){const n=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement(((t,r)=>{const o=e(t),i=()=>r.addIssue({code:s.custom,...n(t)});return"undefined"!=typeof Promise&&o instanceof Promise?o.then((e=>!!e||(i(),!1))):!!o||(i(),!1)}))}refinement(e,t){return this._refinement(((n,r)=>!!e(n)||(r.addIssue("function"==typeof t?t(n,r):t),!1)))}_refinement(e){return new he({schema:this,typeName:_e.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return ge.create(this,this._def)}nullable(){return fe.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Z.create(this,this._def)}promise(){return me.create(this,this._def)}or(e){return Q.create([this,e],this._def)}and(e){return ne.create(this,e,this._def)}transform(e){return new he({...D(this._def),schema:this,typeName:_e.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t="function"==typeof e?e:()=>e;return new ye({...D(this._def),innerType:this,defaultValue:t,typeName:_e.ZodDefault})}brand(){return new be({typeName:_e.ZodBranded,type:this,...D(this._def)})}catch(e){const t="function"==typeof e?e:()=>e;return new ve({...D(this._def),innerType:this,catchValue:t,typeName:_e.ZodCatch})}describe(e){return new(0,this.constructor)({...this._def,description:e})}pipe(e){return we.create(this,e)}readonly(){return Se.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const P=/^c[^\s-]{8,}$/i,x=/^[a-z][a-z0-9]*$/,C=/^[0-9A-HJKMNP-TV-Z]{26}$/,O=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,B=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;let E;const R=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,A=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,N=e=>e.precision?e.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`):0===e.precision?e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");class V extends _{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==i.string){const t=this._getOrReturnCtx(e);return m(t,{code:s.invalid_type,expected:i.string,received:t.parsedType}),g}const t=new h;let n;for(const i of this._def.checks)if("min"===i.kind)e.data.length<i.value&&(n=this._getOrReturnCtx(e,n),m(n,{code:s.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),t.dirty());else if("max"===i.kind)e.data.length>i.value&&(n=this._getOrReturnCtx(e,n),m(n,{code:s.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),t.dirty());else if("length"===i.kind){const r=e.data.length>i.value,o=e.data.length<i.value;(r||o)&&(n=this._getOrReturnCtx(e,n),r?m(n,{code:s.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):o&&m(n,{code:s.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),t.dirty())}else if("email"===i.kind)B.test(e.data)||(n=this._getOrReturnCtx(e,n),m(n,{validation:"email",code:s.invalid_string,message:i.message}),t.dirty());else if("emoji"===i.kind)E||(E=new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),E.test(e.data)||(n=this._getOrReturnCtx(e,n),m(n,{validation:"emoji",code:s.invalid_string,message:i.message}),t.dirty());else if("uuid"===i.kind)O.test(e.data)||(n=this._getOrReturnCtx(e,n),m(n,{validation:"uuid",code:s.invalid_string,message:i.message}),t.dirty());else if("cuid"===i.kind)P.test(e.data)||(n=this._getOrReturnCtx(e,n),m(n,{validation:"cuid",code:s.invalid_string,message:i.message}),t.dirty());else if("cuid2"===i.kind)x.test(e.data)||(n=this._getOrReturnCtx(e,n),m(n,{validation:"cuid2",code:s.invalid_string,message:i.message}),t.dirty());else if("ulid"===i.kind)C.test(e.data)||(n=this._getOrReturnCtx(e,n),m(n,{validation:"ulid",code:s.invalid_string,message:i.message}),t.dirty());else if("url"===i.kind)try{new URL(e.data)}catch(r){n=this._getOrReturnCtx(e,n),m(n,{validation:"url",code:s.invalid_string,message:i.message}),t.dirty()}else"regex"===i.kind?(i.regex.lastIndex=0,i.regex.test(e.data)||(n=this._getOrReturnCtx(e,n),m(n,{validation:"regex",code:s.invalid_string,message:i.message}),t.dirty())):"trim"===i.kind?e.data=e.data.trim():"includes"===i.kind?e.data.includes(i.value,i.position)||(n=this._getOrReturnCtx(e,n),m(n,{code:s.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),t.dirty()):"toLowerCase"===i.kind?e.data=e.data.toLowerCase():"toUpperCase"===i.kind?e.data=e.data.toUpperCase():"startsWith"===i.kind?e.data.startsWith(i.value)||(n=this._getOrReturnCtx(e,n),m(n,{code:s.invalid_string,validation:{startsWith:i.value},message:i.message}),t.dirty()):"endsWith"===i.kind?e.data.endsWith(i.value)||(n=this._getOrReturnCtx(e,n),m(n,{code:s.invalid_string,validation:{endsWith:i.value},message:i.message}),t.dirty()):"datetime"===i.kind?N(i).test(e.data)||(n=this._getOrReturnCtx(e,n),m(n,{code:s.invalid_string,validation:"datetime",message:i.message}),t.dirty()):"ip"===i.kind?(o=e.data,("v4"!==(a=i.version)&&a||!R.test(o))&&("v6"!==a&&a||!A.test(o))&&(n=this._getOrReturnCtx(e,n),m(n,{validation:"ip",code:s.invalid_string,message:i.message}),t.dirty())):r.assertNever(i);var o,a;return{status:t.value,value:e.data}}_regex(e,t,n){return this.refinement((t=>e.test(t)),{validation:t,code:s.invalid_string,...w.errToObj(n)})}_addCheck(e){return new V({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...w.errToObj(e)})}url(e){return this._addCheck({kind:"url",...w.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...w.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...w.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...w.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...w.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...w.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...w.errToObj(e)})}datetime(e){var t;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!==(t=null==e?void 0:e.offset)&&void 0!==t&&t,...w.errToObj(null==e?void 0:e.message)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...w.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...w.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...w.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...w.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...w.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...w.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...w.errToObj(t)})}nonempty(e){return this.min(1,w.errToObj(e))}trim(){return new V({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new V({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new V({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find((e=>"datetime"===e.kind))}get isEmail(){return!!this._def.checks.find((e=>"email"===e.kind))}get isURL(){return!!this._def.checks.find((e=>"url"===e.kind))}get isEmoji(){return!!this._def.checks.find((e=>"emoji"===e.kind))}get isUUID(){return!!this._def.checks.find((e=>"uuid"===e.kind))}get isCUID(){return!!this._def.checks.find((e=>"cuid"===e.kind))}get isCUID2(){return!!this._def.checks.find((e=>"cuid2"===e.kind))}get isULID(){return!!this._def.checks.find((e=>"ulid"===e.kind))}get isIP(){return!!this._def.checks.find((e=>"ip"===e.kind))}get minLength(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}function j(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,o=n>r?n:r;return parseInt(e.toFixed(o).replace(".",""))%parseInt(t.toFixed(o).replace(".",""))/Math.pow(10,o)}V.create=e=>{var t;return new V({checks:[],typeName:_e.ZodString,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...D(e)})};class M extends _{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==i.number){const t=this._getOrReturnCtx(e);return m(t,{code:s.invalid_type,expected:i.number,received:t.parsedType}),g}let t;const n=new h;for(const o of this._def.checks)"int"===o.kind?r.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),m(t,{code:s.invalid_type,expected:"integer",received:"float",message:o.message}),n.dirty()):"min"===o.kind?(o.inclusive?e.data<o.value:e.data<=o.value)&&(t=this._getOrReturnCtx(e,t),m(t,{code:s.too_small,minimum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),n.dirty()):"max"===o.kind?(o.inclusive?e.data>o.value:e.data>=o.value)&&(t=this._getOrReturnCtx(e,t),m(t,{code:s.too_big,maximum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),n.dirty()):"multipleOf"===o.kind?0!==j(e.data,o.value)&&(t=this._getOrReturnCtx(e,t),m(t,{code:s.not_multiple_of,multipleOf:o.value,message:o.message}),n.dirty()):"finite"===o.kind?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),m(t,{code:s.not_finite,message:o.message}),n.dirty()):r.assertNever(o);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,w.toString(t))}gt(e,t){return this.setLimit("min",e,!1,w.toString(t))}lte(e,t){return this.setLimit("max",e,!0,w.toString(t))}lt(e,t){return this.setLimit("max",e,!1,w.toString(t))}setLimit(e,t,n,r){return new M({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:w.toString(r)}]})}_addCheck(e){return new M({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:w.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:w.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:w.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:w.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:w.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:w.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:w.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:w.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:w.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find((e=>"int"===e.kind||"multipleOf"===e.kind&&r.isInteger(e.value)))}get isFinite(){let e=null,t=null;for(const n of this._def.checks){if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0;"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.value<e)&&(e=n.value)}return Number.isFinite(t)&&Number.isFinite(e)}}M.create=e=>new M({checks:[],typeName:_e.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...D(e)});class L extends _{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==i.bigint){const t=this._getOrReturnCtx(e);return m(t,{code:s.invalid_type,expected:i.bigint,received:t.parsedType}),g}let t;const n=new h;for(const o of this._def.checks)"min"===o.kind?(o.inclusive?e.data<o.value:e.data<=o.value)&&(t=this._getOrReturnCtx(e,t),m(t,{code:s.too_small,type:"bigint",minimum:o.value,inclusive:o.inclusive,message:o.message}),n.dirty()):"max"===o.kind?(o.inclusive?e.data>o.value:e.data>=o.value)&&(t=this._getOrReturnCtx(e,t),m(t,{code:s.too_big,type:"bigint",maximum:o.value,inclusive:o.inclusive,message:o.message}),n.dirty()):"multipleOf"===o.kind?e.data%o.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),m(t,{code:s.not_multiple_of,multipleOf:o.value,message:o.message}),n.dirty()):r.assertNever(o);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,w.toString(t))}gt(e,t){return this.setLimit("min",e,!1,w.toString(t))}lte(e,t){return this.setLimit("max",e,!0,w.toString(t))}lt(e,t){return this.setLimit("max",e,!1,w.toString(t))}setLimit(e,t,n,r){return new L({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:w.toString(r)}]})}_addCheck(e){return new L({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:w.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:w.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:w.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:w.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:w.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}L.create=e=>{var t;return new L({checks:[],typeName:_e.ZodBigInt,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...D(e)})};class U extends _{_parse(e){if(this._def.coerce&&(e.data=Boolean(e.data)),this._getType(e)!==i.boolean){const t=this._getOrReturnCtx(e);return m(t,{code:s.invalid_type,expected:i.boolean,received:t.parsedType}),g}return y(e.data)}}U.create=e=>new U({typeName:_e.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...D(e)});class F extends _{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==i.date){const t=this._getOrReturnCtx(e);return m(t,{code:s.invalid_type,expected:i.date,received:t.parsedType}),g}if(isNaN(e.data.getTime()))return m(this._getOrReturnCtx(e),{code:s.invalid_date}),g;const t=new h;let n;for(const o of this._def.checks)"min"===o.kind?e.data.getTime()<o.value&&(n=this._getOrReturnCtx(e,n),m(n,{code:s.too_small,message:o.message,inclusive:!0,exact:!1,minimum:o.value,type:"date"}),t.dirty()):"max"===o.kind?e.data.getTime()>o.value&&(n=this._getOrReturnCtx(e,n),m(n,{code:s.too_big,message:o.message,inclusive:!0,exact:!1,maximum:o.value,type:"date"}),t.dirty()):r.assertNever(o);return{status:t.value,value:new Date(e.data.getTime())}}_addCheck(e){return new F({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:w.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:w.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}F.create=e=>new F({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:_e.ZodDate,...D(e)});class W extends _{_parse(e){if(this._getType(e)!==i.symbol){const t=this._getOrReturnCtx(e);return m(t,{code:s.invalid_type,expected:i.symbol,received:t.parsedType}),g}return y(e.data)}}W.create=e=>new W({typeName:_e.ZodSymbol,...D(e)});class $ extends _{_parse(e){if(this._getType(e)!==i.undefined){const t=this._getOrReturnCtx(e);return m(t,{code:s.invalid_type,expected:i.undefined,received:t.parsedType}),g}return y(e.data)}}$.create=e=>new $({typeName:_e.ZodUndefined,...D(e)});class z extends _{_parse(e){if(this._getType(e)!==i.null){const t=this._getOrReturnCtx(e);return m(t,{code:s.invalid_type,expected:i.null,received:t.parsedType}),g}return y(e.data)}}z.create=e=>new z({typeName:_e.ZodNull,...D(e)});class G extends _{constructor(){super(...arguments),this._any=!0}_parse(e){return y(e.data)}}G.create=e=>new G({typeName:_e.ZodAny,...D(e)});class H extends _{constructor(){super(...arguments),this._unknown=!0}_parse(e){return y(e.data)}}H.create=e=>new H({typeName:_e.ZodUnknown,...D(e)});class q extends _{_parse(e){const t=this._getOrReturnCtx(e);return m(t,{code:s.invalid_type,expected:i.never,received:t.parsedType}),g}}q.create=e=>new q({typeName:_e.ZodNever,...D(e)});class K extends _{_parse(e){if(this._getType(e)!==i.undefined){const t=this._getOrReturnCtx(e);return m(t,{code:s.invalid_type,expected:i.void,received:t.parsedType}),g}return y(e.data)}}K.create=e=>new K({typeName:_e.ZodVoid,...D(e)});class Z extends _{_parse(e){const{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==i.array)return m(t,{code:s.invalid_type,expected:i.array,received:t.parsedType}),g;if(null!==r.exactLength){const e=t.data.length>r.exactLength.value,o=t.data.length<r.exactLength.value;(e||o)&&(m(t,{code:e?s.too_big:s.too_small,minimum:o?r.exactLength.value:void 0,maximum:e?r.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:r.exactLength.message}),n.dirty())}if(null!==r.minLength&&t.data.length<r.minLength.value&&(m(t,{code:s.too_small,minimum:r.minLength.value,type:"array",inclusive:!0,exact:!1,message:r.minLength.message}),n.dirty()),null!==r.maxLength&&t.data.length>r.maxLength.value&&(m(t,{code:s.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map(((e,n)=>r.type._parseAsync(new S(t,e,t.path,n))))).then((e=>h.mergeArray(n,e)));const o=[...t.data].map(((e,n)=>r.type._parseSync(new S(t,e,t.path,n))));return h.mergeArray(n,o)}get element(){return this._def.type}min(e,t){return new Z({...this._def,minLength:{value:e,message:w.toString(t)}})}max(e,t){return new Z({...this._def,maxLength:{value:e,message:w.toString(t)}})}length(e,t){return new Z({...this._def,exactLength:{value:e,message:w.toString(t)}})}nonempty(e){return this.min(1,e)}}function J(e){if(e instanceof Y){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=ge.create(J(r))}return new Y({...e._def,shape:()=>t})}return e instanceof Z?new Z({...e._def,type:J(e.element)}):e instanceof ge?ge.create(J(e.unwrap())):e instanceof fe?fe.create(J(e.unwrap())):e instanceof re?re.create(e.items.map((e=>J(e)))):e}Z.create=(e,t)=>new Z({type:e,minLength:null,maxLength:null,exactLength:null,typeName:_e.ZodArray,...D(t)});class Y extends _{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;const e=this._def.shape(),t=r.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==i.object){const t=this._getOrReturnCtx(e);return m(t,{code:s.invalid_type,expected:i.object,received:t.parsedType}),g}const{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:o}=this._getCached(),a=[];if(!(this._def.catchall instanceof q&&"strip"===this._def.unknownKeys))for(const e in n.data)o.includes(e)||a.push(e);const d=[];for(const e of o){const t=r[e],o=n.data[e];d.push({key:{status:"valid",value:e},value:t._parse(new S(n,o,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof q){const e=this._def.unknownKeys;if("passthrough"===e)for(const e of a)d.push({key:{status:"valid",value:e},value:{status:"valid",value:n.data[e]}});else if("strict"===e)a.length>0&&(m(n,{code:s.unrecognized_keys,keys:a}),t.dirty());else if("strip"!==e)throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const e=this._def.catchall;for(const t of a){const r=n.data[t];d.push({key:{status:"valid",value:t},value:e._parse(new S(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then((async()=>{const e=[];for(const t of d){const n=await t.key;e.push({key:n,value:await t.value,alwaysSet:t.alwaysSet})}return e})).then((e=>h.mergeObjectSync(t,e))):h.mergeObjectSync(t,d)}get shape(){return this._def.shape()}strict(e){return w.errToObj,new Y({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,n)=>{var r,o,i,a;const s=null!==(i=null===(o=(r=this._def).errorMap)||void 0===o?void 0:o.call(r,t,n).message)&&void 0!==i?i:n.defaultError;return"unrecognized_keys"===t.code?{message:null!==(a=w.errToObj(e).message)&&void 0!==a?a:s}:{message:s}}}:{}})}strip(){return new Y({...this._def,unknownKeys:"strip"})}passthrough(){return new Y({...this._def,unknownKeys:"passthrough"})}extend(e){return new Y({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new Y({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:_e.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new Y({...this._def,catchall:e})}pick(e){const t={};return r.objectKeys(e).forEach((n=>{e[n]&&this.shape[n]&&(t[n]=this.shape[n])})),new Y({...this._def,shape:()=>t})}omit(e){const t={};return r.objectKeys(this.shape).forEach((n=>{e[n]||(t[n]=this.shape[n])})),new Y({...this._def,shape:()=>t})}deepPartial(){return J(this)}partial(e){const t={};return r.objectKeys(this.shape).forEach((n=>{const r=this.shape[n];e&&!e[n]?t[n]=r:t[n]=r.optional()})),new Y({...this._def,shape:()=>t})}required(e){const t={};return r.objectKeys(this.shape).forEach((n=>{if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n];for(;e instanceof ge;)e=e._def.innerType;t[n]=e}})),new Y({...this._def,shape:()=>t})}keyof(){return le(r.objectKeys(this.shape))}}Y.create=(e,t)=>new Y({shape:()=>e,unknownKeys:"strip",catchall:q.create(),typeName:_e.ZodObject,...D(t)}),Y.strictCreate=(e,t)=>new Y({shape:()=>e,unknownKeys:"strict",catchall:q.create(),typeName:_e.ZodObject,...D(t)}),Y.lazycreate=(e,t)=>new Y({shape:e,unknownKeys:"strip",catchall:q.create(),typeName:_e.ZodObject,...D(t)});class Q extends _{_parse(e){const{ctx:t}=this._processInputParams(e),n=this._def.options;if(t.common.async)return Promise.all(n.map((async e=>{const n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}}))).then((function(e){for(const t of e)if("valid"===t.result.status)return t.result;for(const n of e)if("dirty"===n.result.status)return t.common.issues.push(...n.ctx.common.issues),n.result;const n=e.map((e=>new d(e.ctx.common.issues)));return m(t,{code:s.invalid_union,unionErrors:n}),g}));{let e;const r=[];for(const o of n){const n={...t,common:{...t.common,issues:[]},parent:null},i=o._parseSync({data:t.data,path:t.path,parent:n});if("valid"===i.status)return i;"dirty"!==i.status||e||(e={result:i,ctx:n}),n.common.issues.length&&r.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;const o=r.map((e=>new d(e)));return m(t,{code:s.invalid_union,unionErrors:o}),g}}get options(){return this._def.options}}Q.create=(e,t)=>new Q({options:e,typeName:_e.ZodUnion,...D(t)});const X=e=>e instanceof de?X(e.schema):e instanceof he?X(e.innerType()):e instanceof pe?[e.value]:e instanceof ce?e.options:e instanceof ue?Object.keys(e.enum):e instanceof ye?X(e._def.innerType):e instanceof $?[void 0]:e instanceof z?[null]:null;class ee extends _{_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==i.object)return m(t,{code:s.invalid_type,expected:i.object,received:t.parsedType}),g;const n=this.discriminator,r=t.data[n],o=this.optionsMap.get(r);return o?t.common.async?o._parseAsync({data:t.data,path:t.path,parent:t}):o._parseSync({data:t.data,path:t.path,parent:t}):(m(t,{code:s.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),g)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){const r=new Map;for(const n of t){const t=X(n.shape[e]);if(!t)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const o of t){if(r.has(o))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(o)}`);r.set(o,n)}}return new ee({typeName:_e.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:r,...D(n)})}}function te(e,t){const n=a(e),o=a(t);if(e===t)return{valid:!0,data:e};if(n===i.object&&o===i.object){const n=r.objectKeys(t),o=r.objectKeys(e).filter((e=>-1!==n.indexOf(e))),i={...e,...t};for(const n of o){const r=te(e[n],t[n]);if(!r.valid)return{valid:!1};i[n]=r.data}return{valid:!0,data:i}}if(n===i.array&&o===i.array){if(e.length!==t.length)return{valid:!1};const n=[];for(let r=0;r<e.length;r++){const o=te(e[r],t[r]);if(!o.valid)return{valid:!1};n.push(o.data)}return{valid:!0,data:n}}return n===i.date&&o===i.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class ne extends _{_parse(e){const{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if(v(e)||v(r))return g;const o=te(e.value,r.value);return o.valid?((k(e)||k(r))&&t.dirty(),{status:t.value,value:o.data}):(m(n,{code:s.invalid_intersection_types}),g)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then((([e,t])=>r(e,t))):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}ne.create=(e,t,n)=>new ne({left:e,right:t,typeName:_e.ZodIntersection,...D(n)});class re extends _{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==i.array)return m(n,{code:s.invalid_type,expected:i.array,received:n.parsedType}),g;if(n.data.length<this._def.items.length)return m(n,{code:s.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),g;!this._def.rest&&n.data.length>this._def.items.length&&(m(n,{code:s.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const r=[...n.data].map(((e,t)=>{const r=this._def.items[t]||this._def.rest;return r?r._parse(new S(n,e,n.path,t)):null})).filter((e=>!!e));return n.common.async?Promise.all(r).then((e=>h.mergeArray(t,e))):h.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new re({...this._def,rest:e})}}re.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new re({items:e,typeName:_e.ZodTuple,rest:null,...D(t)})};class oe extends _{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==i.object)return m(n,{code:s.invalid_type,expected:i.object,received:n.parsedType}),g;const r=[],o=this._def.keyType,a=this._def.valueType;for(const e in n.data)r.push({key:o._parse(new S(n,e,n.path,e)),value:a._parse(new S(n,n.data[e],n.path,e))});return n.common.async?h.mergeObjectAsync(t,r):h.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(e,t,n){return new oe(t instanceof _?{keyType:e,valueType:t,typeName:_e.ZodRecord,...D(n)}:{keyType:V.create(),valueType:e,typeName:_e.ZodRecord,...D(t)})}}class ie extends _{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==i.map)return m(n,{code:s.invalid_type,expected:i.map,received:n.parsedType}),g;const r=this._def.keyType,o=this._def.valueType,a=[...n.data.entries()].map((([e,t],i)=>({key:r._parse(new S(n,e,n.path,[i,"key"])),value:o._parse(new S(n,t,n.path,[i,"value"]))})));if(n.common.async){const e=new Map;return Promise.resolve().then((async()=>{for(const n of a){const r=await n.key,o=await n.value;if("aborted"===r.status||"aborted"===o.status)return g;"dirty"!==r.status&&"dirty"!==o.status||t.dirty(),e.set(r.value,o.value)}return{status:t.value,value:e}}))}{const e=new Map;for(const n of a){const r=n.key,o=n.value;if("aborted"===r.status||"aborted"===o.status)return g;"dirty"!==r.status&&"dirty"!==o.status||t.dirty(),e.set(r.value,o.value)}return{status:t.value,value:e}}}}ie.create=(e,t,n)=>new ie({valueType:t,keyType:e,typeName:_e.ZodMap,...D(n)});class ae extends _{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==i.set)return m(n,{code:s.invalid_type,expected:i.set,received:n.parsedType}),g;const r=this._def;null!==r.minSize&&n.data.size<r.minSize.value&&(m(n,{code:s.too_small,minimum:r.minSize.value,type:"set",inclusive:!0,exact:!1,message:r.minSize.message}),t.dirty()),null!==r.maxSize&&n.data.size>r.maxSize.value&&(m(n,{code:s.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());const o=this._def.valueType;function a(e){const n=new Set;for(const r of e){if("aborted"===r.status)return g;"dirty"===r.status&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}const d=[...n.data.values()].map(((e,t)=>o._parse(new S(n,e,n.path,t))));return n.common.async?Promise.all(d).then((e=>a(e))):a(d)}min(e,t){return new ae({...this._def,minSize:{value:e,message:w.toString(t)}})}max(e,t){return new ae({...this._def,maxSize:{value:e,message:w.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}ae.create=(e,t)=>new ae({valueType:e,minSize:null,maxSize:null,typeName:_e.ZodSet,...D(t)});class se extends _{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==i.function)return m(t,{code:s.invalid_type,expected:i.function,received:t.parsedType}),g;function n(e,n){return u({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,c(),p].filter((e=>!!e)),issueData:{code:s.invalid_arguments,argumentsError:n}})}function r(e,n){return u({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,c(),p].filter((e=>!!e)),issueData:{code:s.invalid_return_type,returnTypeError:n}})}const o={errorMap:t.common.contextualErrorMap},a=t.data;if(this._def.returns instanceof me){const e=this;return y((async function(...t){const i=new d([]),s=await e._def.args.parseAsync(t,o).catch((e=>{throw i.addIssue(n(t,e)),i})),p=await Reflect.apply(a,this,s);return await e._def.returns._def.type.parseAsync(p,o).catch((e=>{throw i.addIssue(r(p,e)),i}))}))}{const e=this;return y((function(...t){const i=e._def.args.safeParse(t,o);if(!i.success)throw new d([n(t,i.error)]);const s=Reflect.apply(a,this,i.data),p=e._def.returns.safeParse(s,o);if(!p.success)throw new d([r(s,p.error)]);return p.data}))}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new se({...this._def,args:re.create(e).rest(H.create())})}returns(e){return new se({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new se({args:e||re.create([]).rest(H.create()),returns:t||H.create(),typeName:_e.ZodFunction,...D(n)})}}class de extends _{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}de.create=(e,t)=>new de({getter:e,typeName:_e.ZodLazy,...D(t)});class pe extends _{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return m(t,{received:t.data,code:s.invalid_literal,expected:this._def.value}),g}return{status:"valid",value:e.data}}get value(){return this._def.value}}function le(e,t){return new ce({values:e,typeName:_e.ZodEnum,...D(t)})}pe.create=(e,t)=>new pe({value:e,typeName:_e.ZodLiteral,...D(t)});class ce extends _{_parse(e){if("string"!=typeof e.data){const t=this._getOrReturnCtx(e),n=this._def.values;return m(t,{expected:r.joinValues(n),received:t.parsedType,code:s.invalid_type}),g}if(-1===this._def.values.indexOf(e.data)){const t=this._getOrReturnCtx(e),n=this._def.values;return m(t,{received:t.data,code:s.invalid_enum_value,options:n}),g}return y(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values)e[t]=t;return e}get Values(){const e={};for(const t of this._def.values)e[t]=t;return e}get Enum(){const e={};for(const t of this._def.values)e[t]=t;return e}extract(e){return ce.create(e)}exclude(e){return ce.create(this.options.filter((t=>!e.includes(t))))}}ce.create=le;class ue extends _{_parse(e){const t=r.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==i.string&&n.parsedType!==i.number){const e=r.objectValues(t);return m(n,{expected:r.joinValues(e),received:n.parsedType,code:s.invalid_type}),g}if(-1===t.indexOf(e.data)){const e=r.objectValues(t);return m(n,{received:n.data,code:s.invalid_enum_value,options:e}),g}return y(e.data)}get enum(){return this._def.values}}ue.create=(e,t)=>new ue({values:e,typeName:_e.ZodNativeEnum,...D(t)});class me extends _{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==i.promise&&!1===t.common.async)return m(t,{code:s.invalid_type,expected:i.promise,received:t.parsedType}),g;const n=t.parsedType===i.promise?t.data:Promise.resolve(t.data);return y(n.then((e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap}))))}}me.create=(e,t)=>new me({type:e,typeName:_e.ZodPromise,...D(t)});class he extends _{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===_e.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:n}=this._processInputParams(e),o=this._def.effect||null,i={addIssue:e=>{m(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===o.type){const e=o.transform(n.data,i);return n.common.issues.length?{status:"dirty",value:n.data}:n.common.async?Promise.resolve(e).then((e=>this._def.schema._parseAsync({data:e,path:n.path,parent:n}))):this._def.schema._parseSync({data:e,path:n.path,parent:n})}if("refinement"===o.type){const e=e=>{const t=o.refinement(e,i);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1===n.common.async){const r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===r.status?g:("dirty"===r.status&&t.dirty(),e(r.value),{status:t.value,value:r.value})}return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then((n=>"aborted"===n.status?g:("dirty"===n.status&&t.dirty(),e(n.value).then((()=>({status:t.value,value:n.value}))))))}if("transform"===o.type){if(!1===n.common.async){const e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!T(e))return e;const r=o.transform(e.value,i);if(r instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:r}}return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then((e=>T(e)?Promise.resolve(o.transform(e.value,i)).then((e=>({status:t.value,value:e}))):e))}r.assertNever(o)}}he.create=(e,t,n)=>new he({schema:e,typeName:_e.ZodEffects,effect:t,...D(n)}),he.createWithPreprocess=(e,t,n)=>new he({schema:t,effect:{type:"preprocess",transform:e},typeName:_e.ZodEffects,...D(n)});class ge extends _{_parse(e){return this._getType(e)===i.undefined?y(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ge.create=(e,t)=>new ge({innerType:e,typeName:_e.ZodOptional,...D(t)});class fe extends _{_parse(e){return this._getType(e)===i.null?y(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}fe.create=(e,t)=>new fe({innerType:e,typeName:_e.ZodNullable,...D(t)});class ye extends _{_parse(e){const{ctx:t}=this._processInputParams(e);let n=t.data;return t.parsedType===i.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}ye.create=(e,t)=>new ye({innerType:e,typeName:_e.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...D(t)});class ve extends _{_parse(e){const{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return b(r)?r.then((e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new d(n.common.issues)},input:n.data})}))):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new d(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}ve.create=(e,t)=>new ve({innerType:e,typeName:_e.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...D(t)});class ke extends _{_parse(e){if(this._getType(e)!==i.nan){const t=this._getOrReturnCtx(e);return m(t,{code:s.invalid_type,expected:i.nan,received:t.parsedType}),g}return{status:"valid",value:e.data}}}ke.create=e=>new ke({typeName:_e.ZodNaN,...D(e)});const Te=Symbol("zod_brand");class be extends _{_parse(e){const{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}class we extends _{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{const e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?g:"dirty"===e.status?(t.dirty(),f(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{const e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?g:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(e,t){return new we({in:e,out:t,typeName:_e.ZodPipeline})}}class Se extends _{_parse(e){const t=this._def.innerType._parse(e);return T(t)&&(t.value=Object.freeze(t.value)),t}}Se.create=(e,t)=>new Se({innerType:e,typeName:_e.ZodReadonly,...D(t)});const Ie=(e,t={},n)=>e?G.create().superRefine(((r,o)=>{var i,a;if(!e(r)){const e="function"==typeof t?t(r):"string"==typeof t?{message:t}:t,s=null===(a=null!==(i=e.fatal)&&void 0!==i?i:n)||void 0===a||a,d="string"==typeof e?{message:e}:e;o.addIssue({code:"custom",...d,fatal:s})}})):G.create(),De={object:Y.lazycreate};var _e;!function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"}(_e||(_e={}));const Pe=V.create,xe=M.create,Ce=ke.create,Oe=L.create,Be=U.create,Ee=F.create,Re=W.create,Ae=$.create,Ne=z.create,Ve=G.create,je=H.create,Me=q.create,Le=K.create,Ue=Z.create,Fe=Y.create,We=Y.strictCreate,$e=Q.create,ze=ee.create,Ge=ne.create,He=re.create,qe=oe.create,Ke=ie.create,Ze=ae.create,Je=se.create,Ye=de.create,Qe=pe.create,Xe=ce.create,et=ue.create,tt=me.create,nt=he.create,rt=ge.create,ot=fe.create,it=he.createWithPreprocess,at=we.create,st={string:e=>V.create({...e,coerce:!0}),number:e=>M.create({...e,coerce:!0}),boolean:e=>U.create({...e,coerce:!0}),bigint:e=>L.create({...e,coerce:!0}),date:e=>F.create({...e,coerce:!0})},dt=g;var pt=Object.freeze({__proto__:null,defaultErrorMap:p,setErrorMap:function(e){l=e},getErrorMap:c,makeIssue:u,EMPTY_PATH:[],addIssueToContext:m,ParseStatus:h,INVALID:g,DIRTY:f,OK:y,isAborted:v,isDirty:k,isValid:T,isAsync:b,get util(){return r},get objectUtil(){return o},ZodParsedType:i,getParsedType:a,ZodType:_,ZodString:V,ZodNumber:M,ZodBigInt:L,ZodBoolean:U,ZodDate:F,ZodSymbol:W,ZodUndefined:$,ZodNull:z,ZodAny:G,ZodUnknown:H,ZodNever:q,ZodVoid:K,ZodArray:Z,ZodObject:Y,ZodUnion:Q,ZodDiscriminatedUnion:ee,ZodIntersection:ne,ZodTuple:re,ZodRecord:oe,ZodMap:ie,ZodSet:ae,ZodFunction:se,ZodLazy:de,ZodLiteral:pe,ZodEnum:ce,ZodNativeEnum:ue,ZodPromise:me,ZodEffects:he,ZodTransformer:he,ZodOptional:ge,ZodNullable:fe,ZodDefault:ye,ZodCatch:ve,ZodNaN:ke,BRAND:Te,ZodBranded:be,ZodPipeline:we,ZodReadonly:Se,custom:Ie,Schema:_,ZodSchema:_,late:De,get ZodFirstPartyTypeKind(){return _e},coerce:st,any:Ve,array:Ue,bigint:Oe,boolean:Be,date:Ee,discriminatedUnion:ze,effect:nt,enum:Xe,function:Je,instanceof:(e,t={message:`Input not instance of ${e.name}`})=>Ie((t=>t instanceof e),t),intersection:Ge,lazy:Ye,literal:Qe,map:Ke,nan:Ce,nativeEnum:et,never:Me,null:Ne,nullable:ot,number:xe,object:Fe,oboolean:()=>Be().optional(),onumber:()=>xe().optional(),optional:rt,ostring:()=>Pe().optional(),pipeline:at,preprocess:it,promise:tt,record:qe,set:Ze,strictObject:We,string:Pe,symbol:Re,transformer:nt,tuple:He,undefined:Ae,union:$e,unknown:je,void:Le,NEVER:dt,ZodIssueCode:s,quotelessJson:e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),ZodError:d}),lt=n(5528),ct=n(277);function ut(e){this.content=e}ut.prototype={constructor:ut,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return-1==t?void 0:this.content[t+1]},update:function(e,t,n){var r=n&&n!=e?this.remove(n):this,o=r.find(e),i=r.content.slice();return-1==o?i.push(n||e,t):(i[o+1]=t,n&&(i[o]=n)),new ut(i)},remove:function(e){var t=this.find(e);if(-1==t)return this;var n=this.content.slice();return n.splice(t,2),new ut(n)},addToStart:function(e,t){return new ut([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var n=this.remove(e).content.slice();return n.push(e,t),new ut(n)},addBefore:function(e,t,n){var r=this.remove(t),o=r.content.slice(),i=r.find(e);return o.splice(-1==i?o.length:i,0,t,n),new ut(o)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return(e=ut.from(e)).size?new ut(e.content.concat(this.subtract(e).content)):this},append:function(e){return(e=ut.from(e)).size?new ut(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=ut.from(e);for(var n=0;n<e.content.length;n+=2)t=t.remove(e.content[n]);return t},toObject:function(){var e={};return this.forEach((function(t,n){e[t]=n})),e},get size(){return this.content.length>>1}},ut.from=function(e){if(e instanceof ut)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new ut(t)};const mt=ut;function ht(e,t,n){for(let r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;let o=e.child(r),i=t.child(r);if(o!=i){if(!o.sameMarkup(i))return n;if(o.isText&&o.text!=i.text){for(let e=0;o.text[e]==i.text[e];e++)n++;return n}if(o.content.size||i.content.size){let e=ht(o.content,i.content,n+1);if(null!=e)return e}n+=o.nodeSize}else n+=o.nodeSize}}function gt(e,t,n,r){for(let o=e.childCount,i=t.childCount;;){if(0==o||0==i)return o==i?null:{a:n,b:r};let a=e.child(--o),s=t.child(--i),d=a.nodeSize;if(a!=s){if(!a.sameMarkup(s))return{a:n,b:r};if(a.isText&&a.text!=s.text){let e=0,t=Math.min(a.text.length,s.text.length);for(;e<t&&a.text[a.text.length-e-1]==s.text[s.text.length-e-1];)e++,n--,r--;return{a:n,b:r}}if(a.content.size||s.content.size){let e=gt(a.content,s.content,n-1,r-1);if(e)return e}n-=d,r-=d}else n-=d,r-=d}}class ft{constructor(e,t){if(this.content=e,this.size=t||0,null==t)for(let t=0;t<e.length;t++)this.size+=e[t].nodeSize}nodesBetween(e,t,n,r=0,o){for(let i=0,a=0;a<t;i++){let s=this.content[i],d=a+s.nodeSize;if(d>e&&!1!==n(s,r+a,o||null,i)&&s.content.size){let o=a+1;s.nodesBetween(Math.max(0,e-o),Math.min(s.content.size,t-o),n,r+o)}a=d}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,n,r){let o="",i=!0;return this.nodesBetween(e,t,((a,s)=>{let d=a.isText?a.text.slice(Math.max(e,s)-s,t-s):a.isLeaf?r?"function"==typeof r?r(a):r:a.type.spec.leafText?a.type.spec.leafText(a):"":"";a.isBlock&&(a.isLeaf&&d||a.isTextblock)&&n&&(i?i=!1:o+=n),o+=d}),0),o}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,n=e.firstChild,r=this.content.slice(),o=0;for(t.isText&&t.sameMarkup(n)&&(r[r.length-1]=t.withText(t.text+n.text),o=1);o<e.content.length;o++)r.push(e.content[o]);return new ft(r,this.size+e.size)}cut(e,t=this.size){if(0==e&&t==this.size)return this;let n=[],r=0;if(t>e)for(let o=0,i=0;i<t;o++){let a=this.content[o],s=i+a.nodeSize;s>e&&((i<e||s>t)&&(a=a.isText?a.cut(Math.max(0,e-i),Math.min(a.text.length,t-i)):a.cut(Math.max(0,e-i-1),Math.min(a.content.size,t-i-1))),n.push(a),r+=a.nodeSize),i=s}return new ft(n,r)}cutByIndex(e,t){return e==t?ft.empty:0==e&&t==this.content.length?this:new ft(this.content.slice(e,t))}replaceChild(e,t){let n=this.content[e];if(n==t)return this;let r=this.content.slice(),o=this.size+t.nodeSize-n.nodeSize;return r[e]=t,new ft(r,o)}addToStart(e){return new ft([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new ft(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let t=this.content[e];if(!t)throw new RangeError("Index "+e+" out of range for "+this);return t}maybeChild(e){return this.content[e]||null}forEach(e){for(let t=0,n=0;t<this.content.length;t++){let r=this.content[t];e(r,n,t),n+=r.nodeSize}}findDiffStart(e,t=0){return ht(this,e,t)}findDiffEnd(e,t=this.size,n=e.size){return gt(this,e,t,n)}findIndex(e,t=-1){if(0==e)return vt(0,e);if(e==this.size)return vt(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let n=0,r=0;;n++){let o=r+this.child(n).nodeSize;if(o>=e)return o==e||t>0?vt(n+1,o):vt(n,r);r=o}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map((e=>e.toJSON())):null}static fromJSON(e,t){if(!t)return ft.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new ft(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return ft.empty;let t,n=0;for(let r=0;r<e.length;r++){let o=e[r];n+=o.nodeSize,r&&o.isText&&e[r-1].sameMarkup(o)?(t||(t=e.slice(0,r)),t[t.length-1]=o.withText(t[t.length-1].text+o.text)):t&&t.push(o)}return new ft(t||e,n)}static from(e){if(!e)return ft.empty;if(e instanceof ft)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new ft([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}ft.empty=new ft([],0);const yt={index:0,offset:0};function vt(e,t){return yt.index=e,yt.offset=t,yt}function kt(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;let n=Array.isArray(e);if(Array.isArray(t)!=n)return!1;if(n){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!kt(e[n],t[n]))return!1}else{for(let n in e)if(!(n in t)||!kt(e[n],t[n]))return!1;for(let n in t)if(!(n in e))return!1}return!0}class Tt{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,n=!1;for(let r=0;r<e.length;r++){let o=e[r];if(this.eq(o))return e;if(this.type.excludes(o.type))t||(t=e.slice(0,r));else{if(o.type.excludes(this.type))return e;!n&&o.type.rank>this.type.rank&&(t||(t=e.slice(0,r)),t.push(this),n=!0),t&&t.push(o)}}return t||(t=e.slice()),n||t.push(this),t}removeFromSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}isInSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}eq(e){return this==e||this.type==e.type&&kt(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Mark.fromJSON");let n=e.marks[t.type];if(!n)throw new RangeError(`There is no mark type ${t.type} in this schema`);return n.create(t.attrs)}static sameSet(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].eq(t[n]))return!1;return!0}static setFrom(e){if(!e||Array.isArray(e)&&0==e.length)return Tt.none;if(e instanceof Tt)return[e];let t=e.slice();return t.sort(((e,t)=>e.type.rank-t.type.rank)),t}}Tt.none=[];class bt extends Error{}class wt{constructor(e,t,n){this.content=e,this.openStart=t,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,t){let n=It(this.content,e+this.openStart,t);return n&&new wt(n,this.openStart,this.openEnd)}removeBetween(e,t){return new wt(St(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,t){if(!t)return wt.empty;let n=t.openStart||0,r=t.openEnd||0;if("number"!=typeof n||"number"!=typeof r)throw new RangeError("Invalid input for Slice.fromJSON");return new wt(ft.fromJSON(e,t.content),n,r)}static maxOpen(e,t=!0){let n=0,r=0;for(let r=e.firstChild;r&&!r.isLeaf&&(t||!r.type.spec.isolating);r=r.firstChild)n++;for(let n=e.lastChild;n&&!n.isLeaf&&(t||!n.type.spec.isolating);n=n.lastChild)r++;return new wt(e,n,r)}}function St(e,t,n){let{index:r,offset:o}=e.findIndex(t),i=e.maybeChild(r),{index:a,offset:s}=e.findIndex(n);if(o==t||i.isText){if(s!=n&&!e.child(a).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(r!=a)throw new RangeError("Removing non-flat range");return e.replaceChild(r,i.copy(St(i.content,t-o-1,n-o-1)))}function It(e,t,n,r){let{index:o,offset:i}=e.findIndex(t),a=e.maybeChild(o);if(i==t||a.isText)return r&&!r.canReplace(o,o,n)?null:e.cut(0,t).append(n).append(e.cut(t));let s=It(a.content,t-i-1,n);return s&&e.replaceChild(o,a.copy(s))}function Dt(e,t,n){if(n.openStart>e.depth)throw new bt("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new bt("Inconsistent open depths");return _t(e,t,n,0)}function _t(e,t,n,r){let o=e.index(r),i=e.node(r);if(o==t.index(r)&&r<e.depth-n.openStart){let a=_t(e,t,n,r+1);return i.copy(i.content.replaceChild(o,a))}if(n.content.size){if(n.openStart||n.openEnd||e.depth!=r||t.depth!=r){let{start:o,end:a}=function(e,t){let n=t.depth-e.openStart,r=t.node(n).copy(e.content);for(let e=n-1;e>=0;e--)r=t.node(e).copy(ft.from(r));return{start:r.resolveNoCache(e.openStart+n),end:r.resolveNoCache(r.content.size-e.openEnd-n)}}(n,e);return Bt(i,Et(e,o,a,t,r))}{let r=e.parent,o=r.content;return Bt(r,o.cut(0,e.parentOffset).append(n.content).append(o.cut(t.parentOffset)))}}return Bt(i,Rt(e,t,r))}function Pt(e,t){if(!t.type.compatibleContent(e.type))throw new bt("Cannot join "+t.type.name+" onto "+e.type.name)}function xt(e,t,n){let r=e.node(n);return Pt(r,t.node(n)),r}function Ct(e,t){let n=t.length-1;n>=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function Ot(e,t,n,r){let o=(t||e).node(n),i=0,a=t?t.index(n):o.childCount;e&&(i=e.index(n),e.depth>n?i++:e.textOffset&&(Ct(e.nodeAfter,r),i++));for(let e=i;e<a;e++)Ct(o.child(e),r);t&&t.depth==n&&t.textOffset&&Ct(t.nodeBefore,r)}function Bt(e,t){return e.type.checkContent(t),e.copy(t)}function Et(e,t,n,r,o){let i=e.depth>o&&xt(e,t,o+1),a=r.depth>o&&xt(n,r,o+1),s=[];return Ot(null,e,o,s),i&&a&&t.index(o)==n.index(o)?(Pt(i,a),Ct(Bt(i,Et(e,t,n,r,o+1)),s)):(i&&Ct(Bt(i,Rt(e,t,o+1)),s),Ot(t,n,o,s),a&&Ct(Bt(a,Rt(n,r,o+1)),s)),Ot(r,null,o,s),new ft(s)}function Rt(e,t,n){let r=[];return Ot(null,e,n,r),e.depth>n&&Ct(Bt(xt(e,t,n+1),Rt(e,t,n+1)),r),Ot(t,null,n,r),new ft(r)}wt.empty=new wt(ft.empty,0,0);class At{constructor(e,t,n){this.pos=e,this.path=t,this.parentOffset=n,this.depth=t.length/3-1}resolveDepth(e){return null==e?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[3*this.resolveDepth(e)]}index(e){return this.path[3*this.resolveDepth(e)+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e!=this.depth||this.textOffset?1:0)}start(e){return 0==(e=this.resolveDepth(e))?0:this.path[3*e-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]}after(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]+this.path[3*e].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let n=this.pos-this.path[this.path.length-1],r=e.child(t);return n?e.child(t).cut(n):r}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):0==e?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let n=this.path[3*t],r=0==t?0:this.path[3*t-1]+1;for(let t=0;t<e;t++)r+=n.child(t).nodeSize;return r}marks(){let e=this.parent,t=this.index();if(0==e.content.size)return Tt.none;if(this.textOffset)return e.child(t).marks;let n=e.maybeChild(t-1),r=e.maybeChild(t);if(!n){let e=n;n=r,r=e}let o=n.marks;for(var i=0;i<o.length;i++)!1!==o[i].type.spec.inclusive||r&&o[i].isInSet(r.marks)||(o=o[i--].removeFromSet(o));return o}marksAcross(e){let t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;let n=t.marks,r=e.parent.maybeChild(e.index());for(var o=0;o<n.length;o++)!1!==n[o].type.spec.inclusive||r&&n[o].isInSet(r.marks)||(n=n[o--].removeFromSet(n));return n}sharedDepth(e){for(let t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos<this.pos)return e.blockRange(this);for(let n=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);n>=0;n--)if(e.pos<=this.end(n)&&(!t||t(this.node(n))))return new Mt(this,e,n);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e="";for(let t=1;t<=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset}static resolve(e,t){if(!(t>=0&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");let n=[],r=0,o=t;for(let t=e;;){let{index:e,offset:i}=t.content.findIndex(o),a=o-i;if(n.push(t,e,r+i),!a)break;if(t=t.child(e),t.isText)break;o=a-1,r+=i+1}return new At(t,n,o)}static resolveCached(e,t){for(let n=0;n<Nt.length;n++){let r=Nt[n];if(r.pos==t&&r.doc==e)return r}let n=Nt[Vt]=At.resolve(e,t);return Vt=(Vt+1)%jt,n}}let Nt=[],Vt=0,jt=12;class Mt{constructor(e,t,n){this.$from=e,this.$to=t,this.depth=n}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const Lt=Object.create(null);class Ut{constructor(e,t,n,r=Tt.none){this.type=e,this.attrs=t,this.marks=r,this.content=n||ft.empty}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,t,n,r=0){this.content.nodesBetween(e,t,n,r,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,t,n,r){return this.content.textBetween(e,t,n,r)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,t,n){return this.type==e&&kt(this.attrs,t||e.defaultAttrs||Lt)&&Tt.sameSet(this.marks,n||Tt.none)}copy(e=null){return e==this.content?this:new Ut(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new Ut(this.type,this.attrs,this.content,e)}cut(e,t=this.content.size){return 0==e&&t==this.content.size?this:this.copy(this.content.cut(e,t))}slice(e,t=this.content.size,n=!1){if(e==t)return wt.empty;let r=this.resolve(e),o=this.resolve(t),i=n?0:r.sharedDepth(t),a=r.start(i),s=r.node(i).content.cut(r.pos-a,o.pos-a);return new wt(s,r.depth-i,o.depth-i)}replace(e,t,n){return Dt(this.resolve(e),this.resolve(t),n)}nodeAt(e){for(let t=this;;){let{index:n,offset:r}=t.content.findIndex(e);if(t=t.maybeChild(n),!t)return null;if(r==e||t.isText)return t;e-=r+1}}childAfter(e){let{index:t,offset:n}=this.content.findIndex(e);return{node:this.content.maybeChild(t),index:t,offset:n}}childBefore(e){if(0==e)return{node:null,index:0,offset:0};let{index:t,offset:n}=this.content.findIndex(e);if(n<e)return{node:this.content.child(t),index:t,offset:n};let r=this.content.child(t-1);return{node:r,index:t-1,offset:n-r.nodeSize}}resolve(e){return At.resolveCached(this,e)}resolveNoCache(e){return At.resolve(this,e)}rangeHasMark(e,t,n){let r=!1;return t>e&&this.nodesBetween(e,t,(e=>(n.isInSet(e.marks)&&(r=!0),!r))),r}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),Wt(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t}canReplace(e,t,n=ft.empty,r=0,o=n.childCount){let i=this.contentMatchAt(e).matchFragment(n,r,o),a=i&&i.matchFragment(this.content,t);if(!a||!a.validEnd)return!1;for(let e=r;e<o;e++)if(!this.type.allowsMarks(n.child(e).marks))return!1;return!0}canReplaceWith(e,t,n,r){if(r&&!this.type.allowsMarks(r))return!1;let o=this.contentMatchAt(e).matchType(n),i=o&&o.matchFragment(this.content,t);return!!i&&i.validEnd}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content);let e=Tt.none;for(let t=0;t<this.marks.length;t++)e=this.marks[t].addToSet(e);if(!Tt.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map((e=>e.type.name))}`);this.content.forEach((e=>e.check()))}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map((e=>e.toJSON()))),e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");let n=null;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");n=t.marks.map(e.markFromJSON)}if("text"==t.type){if("string"!=typeof t.text)throw new RangeError("Invalid text node in JSON");return e.text(t.text,n)}let r=ft.fromJSON(e,t.content);return e.nodeType(t.type).create(t.attrs,r,n)}}Ut.prototype.text=void 0;class Ft extends Ut{constructor(e,t,n,r){if(super(e,t,null,r),!n)throw new RangeError("Empty text nodes are not allowed");this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):Wt(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new Ft(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new Ft(this.type,this.attrs,e,this.marks)}cut(e=0,t=this.text.length){return 0==e&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function Wt(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}class $t{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let n=new zt(e,t);if(null==n.next)return $t.empty;let r=Gt(n);n.next&&n.err("Unexpected trailing text");let o=function(e){let t=Object.create(null);return function n(r){let o=[];r.forEach((t=>{e[t].forEach((({term:t,to:n})=>{if(!t)return;let r;for(let e=0;e<o.length;e++)o[e][0]==t&&(r=o[e][1]);Yt(e,n).forEach((e=>{r||o.push([t,r=[]]),-1==r.indexOf(e)&&r.push(e)}))}))}));let i=t[r.join(",")]=new $t(r.indexOf(e.length-1)>-1);for(let e=0;e<o.length;e++){let r=o[e][1].sort(Jt);i.next.push({type:o[e][0],next:t[r.join(",")]||n(r)})}return i}(Yt(e,0))}(function(e){let t=[[]];return o(function e(t,i){if("choice"==t.type)return t.exprs.reduce(((t,n)=>t.concat(e(n,i))),[]);if("seq"!=t.type){if("star"==t.type){let a=n();return r(i,a),o(e(t.expr,a),a),[r(a)]}if("plus"==t.type){let a=n();return o(e(t.expr,i),a),o(e(t.expr,a),a),[r(a)]}if("opt"==t.type)return[r(i)].concat(e(t.expr,i));if("range"==t.type){let a=i;for(let r=0;r<t.min;r++){let r=n();o(e(t.expr,a),r),a=r}if(-1==t.max)o(e(t.expr,a),a);else for(let i=t.min;i<t.max;i++){let i=n();r(a,i),o(e(t.expr,a),i),a=i}return[r(a)]}if("name"==t.type)return[r(i,void 0,t.value)];throw new Error("Unknown expr type")}for(let r=0;;r++){let a=e(t.exprs[r],i);if(r==t.exprs.length-1)return a;o(a,i=n())}}(e,0),n()),t;function n(){return t.push([])-1}function r(e,n,r){let o={term:r,to:n};return t[e].push(o),o}function o(e,t){e.forEach((e=>e.to=t))}}(r));return function(e,t){for(let n=0,r=[e];n<r.length;n++){let e=r[n],o=!e.validEnd,i=[];for(let t=0;t<e.next.length;t++){let{type:n,next:a}=e.next[t];i.push(n.name),!o||n.isText||n.hasRequiredAttrs()||(o=!1),-1==r.indexOf(a)&&r.push(a)}o&&t.err("Only non-generatable nodes ("+i.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}(o,n),o}matchType(e){for(let t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}matchFragment(e,t=0,n=e.childCount){let r=this;for(let o=t;r&&o<n;o++)r=r.matchType(e.child(o).type);return r}get inlineContent(){return 0!=this.next.length&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:t}=this.next[e];if(!t.isText&&!t.hasRequiredAttrs())return t}return null}compatible(e){for(let t=0;t<this.next.length;t++)for(let n=0;n<e.next.length;n++)if(this.next[t].type==e.next[n].type)return!0;return!1}fillBefore(e,t=!1,n=0){let r=[this];return function o(i,a){let s=i.matchFragment(e,n);if(s&&(!t||s.validEnd))return ft.from(a.map((e=>e.createAndFill())));for(let e=0;e<i.next.length;e++){let{type:t,next:n}=i.next[e];if(!t.isText&&!t.hasRequiredAttrs()&&-1==r.indexOf(n)){r.push(n);let e=o(n,a.concat(t));if(e)return e}}return null}(this,[])}findWrapping(e){for(let t=0;t<this.wrapCache.length;t+=2)if(this.wrapCache[t]==e)return this.wrapCache[t+1];let t=this.computeWrapping(e);return this.wrapCache.push(e,t),t}computeWrapping(e){let t=Object.create(null),n=[{match:this,type:null,via:null}];for(;n.length;){let r=n.shift(),o=r.match;if(o.matchType(e)){let e=[];for(let t=r;t.type;t=t.via)e.push(t.type);return e.reverse()}for(let e=0;e<o.next.length;e++){let{type:i,next:a}=o.next[e];i.isLeaf||i.hasRequiredAttrs()||i.name in t||r.type&&!a.validEnd||(n.push({match:i.contentMatch,type:i,via:r}),t[i.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];return function t(n){e.push(n);for(let r=0;r<n.next.length;r++)-1==e.indexOf(n.next[r].next)&&t(n.next[r].next)}(this),e.map(((t,n)=>{let r=n+(t.validEnd?"*":" ")+" ";for(let n=0;n<t.next.length;n++)r+=(n?", ":"")+t.next[n].type.name+"->"+e.indexOf(t.next[n].next);return r})).join("\n")}}$t.empty=new $t(!0);class zt{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function Gt(e){let t=[];do{t.push(Ht(e))}while(e.eat("|"));return 1==t.length?t[0]:{type:"choice",exprs:t}}function Ht(e){let t=[];do{t.push(qt(e))}while(e.next&&")"!=e.next&&"|"!=e.next);return 1==t.length?t[0]:{type:"seq",exprs:t}}function qt(e){let t=function(e){if(e.eat("(")){let t=Gt(e);return e.eat(")")||e.err("Missing closing paren"),t}if(!/\W/.test(e.next)){let t=function(e,t){let n=e.nodeTypes,r=n[t];if(r)return[r];let o=[];for(let e in n){let r=n[e];r.groups.indexOf(t)>-1&&o.push(r)}return 0==o.length&&e.err("No node type or group '"+t+"' found"),o}(e,e.next).map((t=>(null==e.inline?e.inline=t.isInline:e.inline!=t.isInline&&e.err("Mixing inline and block content"),{type:"name",value:t})));return e.pos++,1==t.length?t[0]:{type:"choice",exprs:t}}e.err("Unexpected token '"+e.next+"'")}(e);for(;;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else{if(!e.eat("{"))break;t=Zt(e,t)}return t}function Kt(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function Zt(e,t){let n=Kt(e),r=n;return e.eat(",")&&(r="}"!=e.next?Kt(e):-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:t}}function Jt(e,t){return t-e}function Yt(e,t){let n=[];return function t(r){let o=e[r];if(1==o.length&&!o[0].term)return t(o[0].to);n.push(r);for(let e=0;e<o.length;e++){let{term:r,to:i}=o[e];r||-1!=n.indexOf(i)||t(i)}}(t),n.sort(Jt)}function Qt(e){let t=Object.create(null);for(let n in e){let r=e[n];if(!r.hasDefault)return null;t[n]=r.default}return t}function Xt(e,t){let n=Object.create(null);for(let r in e){let o=t&&t[r];if(void 0===o){let t=e[r];if(!t.hasDefault)throw new RangeError("No value supplied for attribute "+r);o=t.default}n[r]=o}return n}function en(e){let t=Object.create(null);if(e)for(let n in e)t[n]=new nn(e[n]);return t}class tn{constructor(e,t,n){this.name=e,this.schema=t,this.spec=n,this.markSet=null,this.groups=n.group?n.group.split(" "):[],this.attrs=en(n.attrs),this.defaultAttrs=Qt(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(n.inline||"text"==e),this.isText="text"==e}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==$t.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:Xt(this.attrs,e)}create(e=null,t,n){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new Ut(this,this.computeAttrs(e),ft.from(t),Tt.setFrom(n))}createChecked(e=null,t,n){return t=ft.from(t),this.checkContent(t),new Ut(this,this.computeAttrs(e),t,Tt.setFrom(n))}createAndFill(e=null,t,n){if(e=this.computeAttrs(e),(t=ft.from(t)).size){let e=this.contentMatch.fillBefore(t);if(!e)return null;t=e.append(t)}let r=this.contentMatch.matchFragment(t),o=r&&r.fillBefore(ft.empty,!0);return o?new Ut(this,e,t.append(o),Tt.setFrom(n)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(let t=0;t<e.childCount;t++)if(!this.allowsMarks(e.child(t).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw new RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}allowsMarkType(e){return null==this.markSet||this.markSet.indexOf(e)>-1}allowsMarks(e){if(null==this.markSet)return!0;for(let t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}allowedMarks(e){if(null==this.markSet)return e;let t;for(let n=0;n<e.length;n++)this.allowsMarkType(e[n].type)?t&&t.push(e[n]):t||(t=e.slice(0,n));return t?t.length?t:Tt.none:e}static compile(e,t){let n=Object.create(null);e.forEach(((e,r)=>n[e]=new tn(e,t,r)));let r=t.spec.topNode||"doc";if(!n[r])throw new RangeError("Schema is missing its top node type ('"+r+"')");if(!n.text)throw new RangeError("Every schema needs a 'text' type");for(let e in n.text.attrs)throw new RangeError("The text node type should not have attributes");return n}}class nn{constructor(e){this.hasDefault=Object.prototype.hasOwnProperty.call(e,"default"),this.default=e.default}get isRequired(){return!this.hasDefault}}class rn{constructor(e,t,n,r){this.name=e,this.rank=t,this.schema=n,this.spec=r,this.attrs=en(r.attrs),this.excluded=null;let o=Qt(this.attrs);this.instance=o?new Tt(this,o):null}create(e=null){return!e&&this.instance?this.instance:new Tt(this,Xt(this.attrs,e))}static compile(e,t){let n=Object.create(null),r=0;return e.forEach(((e,o)=>n[e]=new rn(e,r++,t,o))),n}removeFromSet(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}isInSet(e){for(let t=0;t<e.length;t++)if(e[t].type==this)return e[t]}excludes(e){return this.excluded.indexOf(e)>-1}}function on(e,t){let n=[];for(let r=0;r<t.length;r++){let o=t[r],i=e.marks[o],a=i;if(i)n.push(i);else for(let t in e.marks){let r=e.marks[t];("_"==o||r.spec.group&&r.spec.group.split(" ").indexOf(o)>-1)&&n.push(a=r)}if(!a)throw new SyntaxError("Unknown mark type: '"+t[r]+"'")}return n}const an=Math.floor,sn=(Math.ceil,Math.abs),dn=(Math.imul,Math.round,Math.log10,Math.log2,Math.log,Math.sqrt,(e,t)=>e<t?e:t),pn=(e,t)=>e>t?e:t,ln=(Number.isNaN,Math.pow,Math.sign,e=>0!==e?e<0:1/e<0),cn=Object.assign,un=Object.keys,mn=e=>un(e).length,hn=/[\uD800-\uDBFF]/,gn=/[\uDC00-\uDFFF]/,fn=Math.pow(2,16);function yn(e){return 65535&e}class vn{constructor(e,t,n){this.pos=e,this.delInfo=t,this.recover=n}get deleted(){return(8&this.delInfo)>0}get deletedBefore(){return(5&this.delInfo)>0}get deletedAfter(){return(6&this.delInfo)>0}get deletedAcross(){return(4&this.delInfo)>0}}class kn{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&&kn.empty)return kn.empty}recover(e){let t=0,n=yn(e);if(!this.inverted)for(let e=0;e<n;e++)t+=this.ranges[3*e+2]-this.ranges[3*e+1];return this.ranges[3*n]+t+function(e){return(e-(65535&e))/fn}(e)}mapResult(e,t=1){return this._map(e,t,!1)}map(e,t=1){return this._map(e,t,!0)}_map(e,t,n){let r=0,o=this.inverted?2:1,i=this.inverted?1:2;for(let a=0;a<this.ranges.length;a+=3){let s=this.ranges[a]-(this.inverted?r:0);if(s>e)break;let d=this.ranges[a+o],p=this.ranges[a+i],l=s+d;if(e<=l){let o=s+r+((d?e==s?-1:e==l?1:t:t)<0?0:p);if(n)return o;let i=e==s?2:e==l?1:4;return(t<0?e!=s:e!=l)&&(i|=8),new vn(o,i,e==(t<0?s:l)?null:a/3+(e-s)*fn)}r+=p-d}return n?e+r:new vn(e+r,0,null)}touches(e,t){let n=0,r=yn(t),o=this.inverted?2:1,i=this.inverted?1:2;for(let t=0;t<this.ranges.length;t+=3){let a=this.ranges[t]-(this.inverted?n:0);if(a>e)break;let s=this.ranges[t+o];if(e<=a+s&&t==3*r)return!0;n+=this.ranges[t+i]-s}return!1}forEach(e){let t=this.inverted?2:1,n=this.inverted?1:2;for(let r=0,o=0;r<this.ranges.length;r+=3){let i=this.ranges[r],a=i-(this.inverted?o:0),s=i+(this.inverted?0:o),d=this.ranges[r+t],p=this.ranges[r+n];e(a,a+d,s,s+p),o+=p-d}}invert(){return new kn(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return 0==e?kn.empty:new kn(e<0?[0,-e,0]:[0,0,e])}}kn.empty=new kn([]);const Tn=Object.create(null);class bn{getMap(){return kn.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw new RangeError("Invalid input for Step.fromJSON");let n=Tn[t.stepType];if(!n)throw new RangeError(`No step type ${t.stepType} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in Tn)throw new RangeError("Duplicate use of step JSON ID "+e);return Tn[e]=t,t.prototype.jsonID=e,t}}class wn{constructor(e,t){this.doc=e,this.failed=t}static ok(e){return new wn(e,null)}static fail(e){return new wn(null,e)}static fromReplace(e,t,n,r){try{return wn.ok(e.replace(t,n,r))}catch(e){if(e instanceof bt)return wn.fail(e.message);throw e}}}function Sn(e,t,n){let r=[];for(let o=0;o<e.childCount;o++){let i=e.child(o);i.content.size&&(i=i.copy(Sn(i.content,t,i))),i.isInline&&(i=t(i,n,o)),r.push(i)}return ft.fromArray(r)}class In extends bn{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=e.resolve(this.from),r=n.node(n.sharedDepth(this.to)),o=new wt(Sn(t.content,((e,t)=>e.isAtom&&t.type.allowsMarkType(this.mark.type)?e.mark(this.mark.addToSet(e.marks)):e),r),t.openStart,t.openEnd);return wn.fromReplace(e,this.from,this.to,o)}invert(){return new Dn(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deleted&&n.deleted||t.pos>=n.pos?null:new In(t.pos,n.pos,this.mark)}merge(e){return e instanceof In&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new In(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new In(t.from,t.to,e.markFromJSON(t.mark))}}bn.jsonID("addMark",In);class Dn extends bn{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=new wt(Sn(t.content,(e=>e.mark(this.mark.removeFromSet(e.marks))),e),t.openStart,t.openEnd);return wn.fromReplace(e,this.from,this.to,n)}invert(){return new In(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deleted&&n.deleted||t.pos>=n.pos?null:new Dn(t.pos,n.pos,this.mark)}merge(e){return e instanceof Dn&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Dn(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new Dn(t.from,t.to,e.markFromJSON(t.mark))}}bn.jsonID("removeMark",Dn);class _n extends bn{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return wn.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return wn.fromReplace(e,this.pos,this.pos+1,new wt(ft.from(n),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);if(t){let e=this.mark.addToSet(t.marks);if(e.length==t.marks.length){for(let n=0;n<t.marks.length;n++)if(!t.marks[n].isInSet(e))return new _n(this.pos,t.marks[n]);return new _n(this.pos,this.mark)}}return new Pn(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new _n(t.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new _n(t.pos,e.markFromJSON(t.mark))}}bn.jsonID("addNodeMark",_n);class Pn extends bn{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return wn.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return wn.fromReplace(e,this.pos,this.pos+1,new wt(ft.from(n),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);return t&&this.mark.isInSet(t.marks)?new _n(this.pos,this.mark):this}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new Pn(t.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new Pn(t.pos,e.markFromJSON(t.mark))}}bn.jsonID("removeNodeMark",Pn);class xn extends bn{constructor(e,t,n,r=!1){super(),this.from=e,this.to=t,this.slice=n,this.structure=r}apply(e){return this.structure&&On(e,this.from,this.to)?wn.fail("Structure replace would overwrite content"):wn.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new kn([this.from,this.to-this.from,this.slice.size])}invert(e){return new xn(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deletedAcross&&n.deletedAcross?null:new xn(t.pos,Math.max(t.pos,n.pos),this.slice)}merge(e){if(!(e instanceof xn)||e.structure||this.structure)return null;if(this.from+this.slice.size!=e.from||this.slice.openEnd||e.slice.openStart){if(e.to!=this.from||this.slice.openStart||e.slice.openEnd)return null;{let t=this.slice.size+e.slice.size==0?wt.empty:new wt(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new xn(e.from,this.to,t,this.structure)}}{let t=this.slice.size+e.slice.size==0?wt.empty:new wt(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new xn(this.from,this.to+(e.to-e.from),t,this.structure)}}toJSON(){let e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new xn(t.from,t.to,wt.fromJSON(e,t.slice),!!t.structure)}}bn.jsonID("replace",xn);class Cn extends bn{constructor(e,t,n,r,o,i,a=!1){super(),this.from=e,this.to=t,this.gapFrom=n,this.gapTo=r,this.slice=o,this.insert=i,this.structure=a}apply(e){if(this.structure&&(On(e,this.from,this.gapFrom)||On(e,this.gapTo,this.to)))return wn.fail("Structure gap-replace would overwrite content");let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return wn.fail("Gap is not a flat range");let n=this.slice.insertAt(this.insert,t.content);return n?wn.fromReplace(e,this.from,this.to,n):wn.fail("Content does not fit in gap")}getMap(){return new kn([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let t=this.gapTo-this.gapFrom;return new Cn(this.from,this.from+this.slice.size+t,this.from+this.insert,this.from+this.insert+t,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1),r=e.map(this.gapFrom,-1),o=e.map(this.gapTo,1);return t.deletedAcross&&n.deletedAcross||r<t.pos||o>n.pos?null:new Cn(t.pos,n.pos,r,o,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to||"number"!=typeof t.gapFrom||"number"!=typeof t.gapTo||"number"!=typeof t.insert)throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new Cn(t.from,t.to,t.gapFrom,t.gapTo,wt.fromJSON(e,t.slice),t.insert,!!t.structure)}}function On(e,t,n){let r=e.resolve(t),o=n-t,i=r.depth;for(;o>0&&i>0&&r.indexAfter(i)==r.node(i).childCount;)i--,o--;if(o>0){let e=r.node(i).maybeChild(r.indexAfter(i));for(;o>0;){if(!e||e.isLeaf)return!0;e=e.firstChild,o--}}return!1}bn.jsonID("replaceAround",Cn);class Bn extends bn{constructor(e,t,n){super(),this.pos=e,this.attr=t,this.value=n}apply(e){let t=e.nodeAt(this.pos);if(!t)return wn.fail("No node at attribute step's position");let n=Object.create(null);for(let e in t.attrs)n[e]=t.attrs[e];n[this.attr]=this.value;let r=t.type.create(n,null,t.marks);return wn.fromReplace(e,this.pos,this.pos+1,new wt(ft.from(r),0,t.isLeaf?0:1))}getMap(){return kn.empty}invert(e){return new Bn(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new Bn(t.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,t){if("number"!=typeof t.pos||"string"!=typeof t.attr)throw new RangeError("Invalid input for AttrStep.fromJSON");return new Bn(t.pos,t.attr,t.value)}}bn.jsonID("attr",Bn);class En extends bn{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let n in e.attrs)t[n]=e.attrs[n];t[this.attr]=this.value;let n=e.type.create(t,e.content,e.marks);return wn.ok(n)}getMap(){return kn.empty}invert(e){return new En(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,t){if("string"!=typeof t.attr)throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new En(t.attr,t.value)}}bn.jsonID("docAttr",En);let Rn=class extends Error{};Rn=function e(t){let n=Error.call(this,t);return n.__proto__=e.prototype,n},(Rn.prototype=Object.create(Error.prototype)).constructor=Rn,Rn.prototype.name="TransformError";const An=Object.create(null);class Nn{constructor(e,t,n){this.$anchor=e,this.$head=t,this.ranges=n||[new Vn(e.min(t),e.max(t))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,t=wt.empty){let n=t.content.lastChild,r=null;for(let e=0;e<t.openEnd;e++)r=n,n=n.lastChild;let o=e.steps.length,i=this.ranges;for(let a=0;a<i.length;a++){let{$from:s,$to:d}=i[a],p=e.mapping.slice(o);e.replaceRange(p.map(s.pos),p.map(d.pos),a?wt.empty:t),0==a&&Hn(e,o,(n?n.isInline:r&&r.isTextblock)?-1:1)}}replaceWith(e,t){let n=e.steps.length,r=this.ranges;for(let o=0;o<r.length;o++){let{$from:i,$to:a}=r[o],s=e.mapping.slice(n),d=s.map(i.pos),p=s.map(a.pos);o?e.deleteRange(d,p):(e.replaceRangeWith(d,p,t),Hn(e,n,t.isInline?-1:1))}}static findFrom(e,t,n=!1){let r=e.parent.inlineContent?new Ln(e):Gn(e.node(0),e.parent,e.pos,e.index(),t,n);if(r)return r;for(let r=e.depth-1;r>=0;r--){let o=t<0?Gn(e.node(0),e.node(r),e.before(r+1),e.index(r),t,n):Gn(e.node(0),e.node(r),e.after(r+1),e.index(r)+1,t,n);if(o)return o}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new $n(e.node(0))}static atStart(e){return Gn(e,e,0,0,1)||new $n(e)}static atEnd(e){return Gn(e,e,e.content.size,e.childCount,-1)||new $n(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let n=An[t.type];if(!n)throw new RangeError(`No selection type ${t.type} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in An)throw new RangeError("Duplicate use of selection JSON ID "+e);return An[e]=t,t.prototype.jsonID=e,t}getBookmark(){return Ln.between(this.$anchor,this.$head).getBookmark()}}Nn.prototype.visible=!0;class Vn{constructor(e,t){this.$from=e,this.$to=t}}let jn=!1;function Mn(e){jn||e.parent.inlineContent||(jn=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}class Ln extends Nn{constructor(e,t=e){Mn(e),Mn(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,t){let n=e.resolve(t.map(this.head));if(!n.parent.inlineContent)return Nn.near(n);let r=e.resolve(t.map(this.anchor));return new Ln(r.parent.inlineContent?r:n,n)}replace(e,t=wt.empty){if(super.replace(e,t),t==wt.empty){let t=this.$from.marksAcross(this.$to);t&&e.ensureMarks(t)}}eq(e){return e instanceof Ln&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new Un(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,t){if("number"!=typeof t.anchor||"number"!=typeof t.head)throw new RangeError("Invalid input for TextSelection.fromJSON");return new Ln(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,n=t){let r=e.resolve(t);return new this(r,n==t?r:e.resolve(n))}static between(e,t,n){let r=e.pos-t.pos;if(n&&!r||(n=r>=0?1:-1),!t.parent.inlineContent){let e=Nn.findFrom(t,n,!0)||Nn.findFrom(t,-n,!0);if(!e)return Nn.near(t,n);t=e.$head}return e.parent.inlineContent||(0==r||(e=(Nn.findFrom(e,-n,!0)||Nn.findFrom(e,n,!0)).$anchor).pos<t.pos!=r<0)&&(e=t),new Ln(e,t)}}Nn.jsonID("text",Ln);class Un{constructor(e,t){this.anchor=e,this.head=t}map(e){return new Un(e.map(this.anchor),e.map(this.head))}resolve(e){return Ln.between(e.resolve(this.anchor),e.resolve(this.head))}}class Fn extends Nn{constructor(e){let t=e.nodeAfter,n=e.node(0).resolve(e.pos+t.nodeSize);super(e,n),this.node=t}map(e,t){let{deleted:n,pos:r}=t.mapResult(this.anchor),o=e.resolve(r);return n?Nn.near(o):new Fn(o)}content(){return new wt(ft.from(this.node),0,0)}eq(e){return e instanceof Fn&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new Wn(this.anchor)}static fromJSON(e,t){if("number"!=typeof t.anchor)throw new RangeError("Invalid input for NodeSelection.fromJSON");return new Fn(e.resolve(t.anchor))}static create(e,t){return new Fn(e.resolve(t))}static isSelectable(e){return!e.isText&&!1!==e.type.spec.selectable}}Fn.prototype.visible=!1,Nn.jsonID("node",Fn);class Wn{constructor(e){this.anchor=e}map(e){let{deleted:t,pos:n}=e.mapResult(this.anchor);return t?new Un(n,n):new Wn(n)}resolve(e){let t=e.resolve(this.anchor),n=t.nodeAfter;return n&&Fn.isSelectable(n)?new Fn(t):Nn.near(t)}}class $n extends Nn{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=wt.empty){if(t==wt.empty){e.delete(0,e.doc.content.size);let t=Nn.atStart(e.doc);t.eq(e.selection)||e.setSelection(t)}else super.replace(e,t)}toJSON(){return{type:"all"}}static fromJSON(e){return new $n(e)}map(e){return new $n(e)}eq(e){return e instanceof $n}getBookmark(){return zn}}Nn.jsonID("all",$n);const zn={map(){return this},resolve:e=>new $n(e)};function Gn(e,t,n,r,o,i=!1){if(t.inlineContent)return Ln.create(e,n);for(let a=r-(o>0?0:1);o>0?a<t.childCount:a>=0;a+=o){let r=t.child(a);if(r.isAtom){if(!i&&Fn.isSelectable(r))return Fn.create(e,n-(o<0?r.nodeSize:0))}else{let t=Gn(e,r,n+o,o<0?r.childCount:0,o,i);if(t)return t}n+=r.nodeSize*o}return null}function Hn(e,t,n){let r=e.steps.length-1;if(r<t)return;let o,i=e.steps[r];(i instanceof xn||i instanceof Cn)&&(e.mapping.maps[r].forEach(((e,t,n,r)=>{null==o&&(o=r)})),e.setSelection(Nn.near(e.doc.resolve(o),n)))}function qn(e,t){return t&&e?e.bind(t):e}class Kn{constructor(e,t,n){this.name=e,this.init=qn(t.init,n),this.apply=qn(t.apply,n)}}new Kn("doc",{init:e=>e.doc||e.schema.topNodeType.createAndFill(),apply:e=>e.doc}),new Kn("selection",{init:(e,t)=>e.selection||Nn.atStart(t.doc),apply:e=>e.selection}),new Kn("storedMarks",{init:e=>e.storedMarks||null,apply:(e,t,n,r)=>r.selection.$cursor?e.storedMarks:null}),new Kn("scrollToSelection",{init:()=>0,apply:(e,t)=>e.scrolledIntoView?t+1:t});const Zn=Object.create(null);class Jn{constructor(e="key"){this.key=function(e){return e in Zn?e+"$"+ ++Zn[e]:(Zn[e]=0,e+"$")}(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const Yn=new Jn("y-sync"),Qn=(new Jn("y-undo"),new Jn("yjs-cursor"),()=>new Map),Xn=e=>{const t=Qn();return e.forEach(((e,n)=>{t.set(n,e)})),t},er=(e,t,n)=>{let r=e.get(t);return void 0===r&&e.set(t,r=n()),r},tr=()=>new Set,nr=e=>e[e.length-1],rr=Array.from,or=Array.isArray;class ir{constructor(){this._observers=Qn()}on(e,t){er(this._observers,e,tr).add(t)}once(e,t){const n=(...r)=>{this.off(e,n),t(...r)};this.on(e,n)}off(e,t){const n=this._observers.get(e);void 0!==n&&(n.delete(t),0===n.size&&this._observers.delete(e))}emit(e,t){return rr((this._observers.get(e)||Qn()).values()).forEach((e=>e(...t)))}destroy(){this._observers=Qn()}}const ar=128,sr=127,dr=(Number.MAX_SAFE_INTEGER,Number.MIN_SAFE_INTEGER,Number.isInteger||(e=>"number"==typeof e&&isFinite(e)&&an(e)===e)),pr=(Number.isNaN,Number.parseInt,String.fromCharCode),lr=(String.fromCodePoint,pr(65535),/^\s*/g),cr=/([A-Z])/g,ur=(e,t)=>(e=>e.replace(lr,""))(e.replace(cr,(e=>`${t}${(e=>e.toLowerCase())(e)}`))),mr="undefined"!=typeof TextEncoder?new TextEncoder:null,hr=mr?e=>mr.encode(e):e=>{const t=unescape(encodeURIComponent(e)),n=t.length,r=new Uint8Array(n);for(let e=0;e<n;e++)r[e]=t.codePointAt(e);return r};let gr="undefined"==typeof TextDecoder?null:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0});gr&&1===gr.decode(new Uint8Array).length&&(gr=null);class fr{constructor(){this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]}}const yr=()=>new fr,vr=e=>{const t=new Uint8Array((e=>{let t=e.cpos;for(let n=0;n<e.bufs.length;n++)t+=e.bufs[n].length;return t})(e));let n=0;for(let r=0;r<e.bufs.length;r++){const o=e.bufs[r];t.set(o,n),n+=o.length}return t.set(new Uint8Array(e.cbuf.buffer,0,e.cpos),n),t},kr=(e,t)=>{const n=e.cbuf.length;e.cpos===n&&(e.bufs.push(e.cbuf),e.cbuf=new Uint8Array(2*n),e.cpos=0),e.cbuf[e.cpos++]=t},Tr=kr,br=(e,t)=>{for(;t>sr;)kr(e,ar|sr&t),t=an(t/128);kr(e,sr&t)},wr=(e,t)=>{const n=ln(t);for(n&&(t=-t),kr(e,(t>63?ar:0)|(n?64:0)|63&t),t=an(t/64);t>0;)kr(e,(t>sr?ar:0)|sr&t),t=an(t/128)},Sr=new Uint8Array(3e4),Ir=Sr.length/3,Dr=mr&&mr.encodeInto?(e,t)=>{if(t.length<Ir){const n=mr.encodeInto(t,Sr).written||0;br(e,n);for(let t=0;t<n;t++)kr(e,Sr[t])}else Pr(e,hr(t))}:(e,t)=>{const n=unescape(encodeURIComponent(t)),r=n.length;br(e,r);for(let t=0;t<r;t++)kr(e,n.codePointAt(t))},_r=(e,t)=>{const n=e.cbuf.length,r=e.cpos,o=dn(n-r,t.length),i=t.length-o;e.cbuf.set(t.subarray(0,o),r),e.cpos+=o,i>0&&(e.bufs.push(e.cbuf),e.cbuf=new Uint8Array(pn(2*n,i)),e.cbuf.set(t.subarray(o)),e.cpos=i)},Pr=(e,t)=>{br(e,t.byteLength),_r(e,t)},xr=(e,t)=>{((e,t)=>{const n=e.cbuf.length;n-e.cpos<t&&(e.bufs.push(new Uint8Array(e.cbuf.buffer,0,e.cpos)),e.cbuf=new Uint8Array(2*pn(n,t)),e.cpos=0)})(e,t);const n=new DataView(e.cbuf.buffer,e.cpos,t);return e.cpos+=t,n},Cr=new DataView(new ArrayBuffer(4)),Or=(e,t)=>{switch(typeof t){case"string":kr(e,119),Dr(e,t);break;case"number":dr(t)&&sn(t)<=2147483647?(kr(e,125),wr(e,t)):(n=t,Cr.setFloat32(0,n),Cr.getFloat32(0)===n?(kr(e,124),((e,t)=>{xr(e,4).setFloat32(0,t,!1)})(e,t)):(kr(e,123),((e,t)=>{xr(e,8).setFloat64(0,t,!1)})(e,t)));break;case"bigint":kr(e,122),((e,t)=>{xr(e,8).setBigInt64(0,t,!1)})(e,t);break;case"object":if(null===t)kr(e,126);else if(or(t)){kr(e,117),br(e,t.length);for(let n=0;n<t.length;n++)Or(e,t[n])}else if(t instanceof Uint8Array)kr(e,116),Pr(e,t);else{kr(e,118);const n=Object.keys(t);br(e,n.length);for(let r=0;r<n.length;r++){const o=n[r];Dr(e,o),Or(e,t[o])}}break;case"boolean":kr(e,t?120:121);break;default:kr(e,127)}var n};class Br extends fr{constructor(e){super(),this.w=e,this.s=null,this.count=0}write(e){this.s===e?this.count++:(this.count>0&&br(this,this.count-1),this.count=1,this.w(this,e),this.s=e)}}const Er=e=>{e.count>0&&(wr(e.encoder,1===e.count?e.s:-e.s),e.count>1&&br(e.encoder,e.count-2))};class Rr{constructor(){this.encoder=new fr,this.s=0,this.count=0}write(e){this.s===e?this.count++:(Er(this),this.count=1,this.s=e)}toUint8Array(){return Er(this),vr(this.encoder)}}const Ar=e=>{if(e.count>0){const t=2*e.diff+(1===e.count?0:1);wr(e.encoder,t),e.count>1&&br(e.encoder,e.count-2)}};class Nr{constructor(){this.encoder=new fr,this.s=0,this.count=0,this.diff=0}write(e){this.diff===e-this.s?(this.s=e,this.count++):(Ar(this),this.count=1,this.diff=e-this.s,this.s=e)}toUint8Array(){return Ar(this),vr(this.encoder)}}class Vr{constructor(){this.sarr=[],this.s="",this.lensE=new Rr}write(e){this.s+=e,this.s.length>19&&(this.sarr.push(this.s),this.s=""),this.lensE.write(e.length)}toUint8Array(){const e=new fr;return this.sarr.push(this.s),this.s="",Dr(e,this.sarr.join("")),_r(e,this.lensE.toUint8Array()),vr(e)}}const jr=e=>new Error(e),Mr=()=>{throw jr("Method unimplemented")},Lr=()=>{throw jr("Unexpected case")};jr("Unexpected end of array"),jr("Integer out of Range");const Ur=require("node:crypto"),Fr=(Ur.webcrypto.subtle,Ur.webcrypto.getRandomValues.bind(Ur.webcrypto)),Wr=(Math.random,()=>Fr(new Uint32Array(1))[0]),$r=[1e7]+-1e3+-4e3+-8e3+-1e11,zr=()=>$r.replace(/[018]/g,(e=>(e^Wr()&15>>e/4).toString(16))),Gr=e=>new Promise(e),Hr=(Promise.all.bind(Promise),(e,t,n=0)=>{try{for(;n<e.length;n++)e[n](...t)}finally{n<e.length&&Hr(e,t,n+1)}});let qr=new class{constructor(){this.map=new Map}setItem(e,t){this.map.set(e,t)}getItem(e){return this.map.get(e)}},Kr=!0;try{"undefined"!=typeof localStorage&&localStorage&&(qr=localStorage,Kr=!1)}catch(e){}const Zr=qr,Jr="undefined"!=typeof process&&process.release&&/node|io\.js/.test(process.release.name)&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0);let Yr;"undefined"!=typeof navigator&&/Mac/.test(navigator.platform);const Qr=[],Xr=e=>(()=>{if(void 0===Yr)if(Jr){Yr=Qn();const e=process.argv;let t=null;for(let n=0;n<e.length;n++){const r=e[n];"-"===r[0]?(null!==t&&Yr.set(t,""),t=r):null!==t?(Yr.set(t,r),t=null):Qr.push(r)}null!==t&&Yr.set(t,"")}else"object"==typeof location?(Yr=Qn(),(location.search||"?").slice(1).split("&").forEach((e=>{if(0!==e.length){const[t,n]=e.split("=");Yr.set(`--${ur(t,"-")}`,n),Yr.set(`-${ur(t,"-")}`,n)}}))):Yr=Qn();return Yr})().has(e),eo=e=>{return void 0===(t=Jr?process.env[e.toUpperCase().replaceAll("-","_")]:Zr.getItem(e))?null:t;var t};Xr("--"+"production")||eo("production");const to=Jr&&(no=process.env.FORCE_COLOR,["true","1","2"].includes(no));var no;const ro=!Xr("no-colors")&&(!Jr||process.stdout.isTTY||to)&&(!Jr||Xr("color")||to||null!==eo("COLORTERM")||(eo("TERM")||"").includes("color")),oo=Symbol,io=Date.now,ao=oo(),so=oo(),po=oo(),lo=oo(),co=oo(),uo=oo(),mo=oo(),ho=oo(),go=oo();io();const fo={[ao]:"[1m",[so]:"[2m",[po]:"[34m",[co]:"[32m",[lo]:"[37m",[uo]:"[31m",[mo]:"[35m",[ho]:"[38;5;208m",[go]:"[0m"},yo=ro?e=>{const t=[],n=[];let r=0;for(;r<e.length;r++){const n=e[r],o=fo[n];if(void 0!==o)t.push(o);else{if(n.constructor!==String&&n.constructor!==Number)break;t.push(n)}}for(r>0&&(t.push("[0m"),n.push(t.join("")));r<e.length;r++){const t=e[r];t instanceof Symbol||n.push(t)}return n}:e=>{const t=[],n=[];let r=0;for(;r<e.length;r++){const o=e[r];o.constructor===String||o.constructor===Number?t.push(o):o.constructor===Object&&n.push(JSON.stringify(o))}return n},vo=e=>({[Symbol.iterator](){return this},next:e}),ko=(e,t)=>vo((()=>{const{done:n,value:r}=e.next();return{done:n,value:n?void 0:t(r)}}));class To{constructor(e,t){this.clock=e,this.len=t}}class bo{constructor(){this.clients=new Map}}const wo=(e,t,n)=>t.clients.forEach(((t,r)=>{const o=e.doc.store.clients.get(r);for(let r=0;r<t.length;r++){const i=t[r];ei(e,o,i.clock,i.len,n)}})),So=(e,t)=>{const n=e.clients.get(t.client);return void 0!==n&&null!==((e,t)=>{let n=0,r=e.length-1;for(;n<=r;){const o=an((n+r)/2),i=e[o],a=i.clock;if(a<=t){if(t<a+i.len)return o;n=o+1}else r=o-1}return null})(n,t.clock)},Io=e=>{e.clients.forEach((e=>{let t,n;for(e.sort(((e,t)=>e.clock-t.clock)),t=1,n=1;t<e.length;t++){const r=e[n-1],o=e[t];r.clock+r.len>=o.clock?r.len=pn(r.len,o.clock+o.len-r.clock):(n<t&&(e[n]=o),n++)}e.length=n}))},Do=(e,t,n,r)=>{er(e.clients,t,(()=>[])).push(new To(n,r))},_o=Wr;class Po extends ir{constructor({guid:e=zr(),collectionid:t=null,gc:n=!0,gcFilter:r=(()=>!0),meta:o=null,autoLoad:i=!1,shouldLoad:a=!0}={}){super(),this.gc=n,this.gcFilter=r,this.clientID=_o(),this.guid=e,this.collectionid=t,this.share=new Map,this.store=new Go,this._transaction=null,this._transactionCleanups=[],this.subdocs=new Set,this._item=null,this.shouldLoad=a,this.autoLoad=i,this.meta=o,this.isLoaded=!1,this.isSynced=!1,this.whenLoaded=Gr((e=>{this.on("load",(()=>{this.isLoaded=!0,e(this)}))}));const s=()=>Gr((e=>{const t=n=>{void 0!==n&&!0!==n||(this.off("sync",t),e())};this.on("sync",t)}));this.on("sync",(e=>{!1===e&&this.isSynced&&(this.whenSynced=s()),this.isSynced=void 0===e||!0===e,this.isSynced&&!this.isLoaded&&this.emit("load",[])})),this.whenSynced=s()}load(){const e=this._item;null===e||this.shouldLoad||ai(e.parent.doc,(e=>{e.subdocsLoaded.add(this)}),null,!0),this.shouldLoad=!0}getSubdocs(){return this.subdocs}getSubdocGuids(){return new Set(rr(this.subdocs).map((e=>e.guid)))}transact(e,t=null){return ai(this,e,t)}get(e,t=fi){const n=er(this.share,e,(()=>{const e=new t;return e._integrate(this,null),e})),r=n.constructor;if(t!==fi&&r!==t){if(r===fi){const r=new t;r._map=n._map,n._map.forEach((e=>{for(;null!==e;e=e.left)e.parent=r})),r._start=n._start;for(let e=r._start;null!==e;e=e.right)e.parent=r;return r._length=n._length,this.share.set(e,r),r._integrate(this,null),r}throw new Error(`Type with the name ${e} has already been defined with a different constructor`)}return n}getArray(e=""){return this.get(e,Ai)}getText(e=""){return this.get(e,Qi)}getMap(e=""){return this.get(e,Vi)}getXmlFragment(e=""){return this.get(e,ea)}toJSON(){const e={};return this.share.forEach(((t,n)=>{e[n]=t.toJSON()})),e}destroy(){rr(this.subdocs).forEach((e=>e.destroy()));const e=this._item;if(null!==e){this._item=null;const t=e.content;t.doc=new Po({guid:this.guid,...t.opts,shouldLoad:!1}),t.doc._item=e,ai(e.parent.doc,(n=>{const r=t.doc;e.deleted||n.subdocsAdded.add(r),n.subdocsRemoved.add(this)}),null,!0)}this.emit("destroyed",[!0]),this.emit("destroy",[this]),super.destroy()}on(e,t){super.on(e,t)}off(e,t){super.off(e,t)}}class xo{constructor(){this.restEncoder=yr()}toUint8Array(){return vr(this.restEncoder)}resetDsCurVal(){}writeDsClock(e){br(this.restEncoder,e)}writeDsLen(e){br(this.restEncoder,e)}}class Co extends xo{writeLeftID(e){br(this.restEncoder,e.client),br(this.restEncoder,e.clock)}writeRightID(e){br(this.restEncoder,e.client),br(this.restEncoder,e.clock)}writeClient(e){br(this.restEncoder,e)}writeInfo(e){Tr(this.restEncoder,e)}writeString(e){Dr(this.restEncoder,e)}writeParentInfo(e){br(this.restEncoder,e?1:0)}writeTypeRef(e){br(this.restEncoder,e)}writeLen(e){br(this.restEncoder,e)}writeAny(e){Or(this.restEncoder,e)}writeBuf(e){Pr(this.restEncoder,e)}writeJSON(e){Dr(this.restEncoder,JSON.stringify(e))}writeKey(e){Dr(this.restEncoder,e)}}class Oo{constructor(){this.restEncoder=yr(),this.dsCurrVal=0}toUint8Array(){return vr(this.restEncoder)}resetDsCurVal(){this.dsCurrVal=0}writeDsClock(e){const t=e-this.dsCurrVal;this.dsCurrVal=e,br(this.restEncoder,t)}writeDsLen(e){0===e&&Lr(),br(this.restEncoder,e-1),this.dsCurrVal+=e}}class Bo extends Oo{constructor(){super(),this.keyMap=new Map,this.keyClock=0,this.keyClockEncoder=new Nr,this.clientEncoder=new Rr,this.leftClockEncoder=new Nr,this.rightClockEncoder=new Nr,this.infoEncoder=new Br(Tr),this.stringEncoder=new Vr,this.parentInfoEncoder=new Br(Tr),this.typeRefEncoder=new Rr,this.lenEncoder=new Rr}toUint8Array(){const e=yr();return br(e,0),Pr(e,this.keyClockEncoder.toUint8Array()),Pr(e,this.clientEncoder.toUint8Array()),Pr(e,this.leftClockEncoder.toUint8Array()),Pr(e,this.rightClockEncoder.toUint8Array()),Pr(e,vr(this.infoEncoder)),Pr(e,this.stringEncoder.toUint8Array()),Pr(e,vr(this.parentInfoEncoder)),Pr(e,this.typeRefEncoder.toUint8Array()),Pr(e,this.lenEncoder.toUint8Array()),_r(e,vr(this.restEncoder)),vr(e)}writeLeftID(e){this.clientEncoder.write(e.client),this.leftClockEncoder.write(e.clock)}writeRightID(e){this.clientEncoder.write(e.client),this.rightClockEncoder.write(e.clock)}writeClient(e){this.clientEncoder.write(e)}writeInfo(e){this.infoEncoder.write(e)}writeString(e){this.stringEncoder.write(e)}writeParentInfo(e){this.parentInfoEncoder.write(e?1:0)}writeTypeRef(e){this.typeRefEncoder.write(e)}writeLen(e){this.lenEncoder.write(e)}writeAny(e){Or(this.restEncoder,e)}writeBuf(e){Pr(this.restEncoder,e)}writeJSON(e){Or(this.restEncoder,e)}writeKey(e){const t=this.keyMap.get(e);void 0===t?(this.keyClockEncoder.write(this.keyClock++),this.stringEncoder.write(e)):this.keyClockEncoder.write(t)}}class Eo{constructor(){this.l=[]}}const Ro=()=>new Eo,Ao=(e,t)=>e.l.push(t),No=(e,t)=>{const n=e.l,r=n.length;e.l=n.filter((e=>t!==e)),r===e.l.length&&console.error("[yjs] Tried to remove event handler that doesn't exist.")},Vo=(e,t,n)=>Hr(e.l,[t,n]);class jo{constructor(e,t){this.client=e,this.clock=t}}const Mo=(e,t)=>e===t||null!==e&&null!==t&&e.client===t.client&&e.clock===t.clock,Lo=(e,t)=>new jo(e,t);class Uo{constructor(e,t){this.ds=e,this.sv=t}}const Fo=($o=new bo,zo=new Map,new Uo($o,zo),(e,t)=>void 0===t?!e.deleted:t.sv.has(e.id.client)&&(t.sv.get(e.id.client)||0)>e.id.clock&&!So(t.ds,e.id)),Wo=(e,t)=>{const n=er(e.meta,Wo,tr),r=e.doc.store;n.has(t)||(t.sv.forEach(((t,n)=>{t<qo(r,n)&&Qo(e,Lo(n,t))})),wo(e,t.ds,(e=>{})),n.add(t))};var $o,zo;class Go{constructor(){this.clients=new Map,this.pendingStructs=null,this.pendingDs=null}}const Ho=e=>{const t=new Map;return e.clients.forEach(((e,n)=>{const r=e[e.length-1];t.set(n,r.id.clock+r.length)})),t},qo=(e,t)=>{const n=e.clients.get(t);if(void 0===n)return 0;const r=n[n.length-1];return r.id.clock+r.length},Ko=(e,t)=>{let n=e.clients.get(t.id.client);if(void 0===n)n=[],e.clients.set(t.id.client,n);else{const e=n[n.length-1];if(e.id.clock+e.length!==t.id.clock)throw Lr()}n.push(t)},Zo=(e,t)=>{let n=0,r=e.length-1,o=e[r],i=o.id.clock;if(i===t)return r;let a=an(t/(i+o.length-1)*r);for(;n<=r;){if(o=e[a],i=o.id.clock,i<=t){if(t<i+o.length)return a;n=a+1}else r=a-1;a=an((n+r)/2)}throw Lr()},Jo=(e,t)=>{const n=e.clients.get(t.client);return n[Zo(n,t.clock)]},Yo=(e,t,n)=>{const r=Zo(t,n),o=t[r];return o.id.clock<n&&o instanceof ba?(t.splice(r+1,0,Ta(e,o,n-o.id.clock)),r+1):r},Qo=(e,t)=>{const n=e.doc.store.clients.get(t.client);return n[Yo(e,n,t.clock)]},Xo=(e,t,n)=>{const r=t.clients.get(n.client),o=Zo(r,n.clock),i=r[o];return n.clock!==i.id.clock+i.length-1&&i.constructor!==ia&&r.splice(o+1,0,Ta(e,i,n.clock-i.id.clock+1)),i},ei=(e,t,n,r,o)=>{if(0===r)return;const i=n+r;let a,s=Yo(e,t,n);do{a=t[s++],i<a.id.clock+a.length&&Yo(e,t,i),o(a)}while(s<t.length&&t[s].id.clock<i)};class ti{constructor(e,t,n){this.doc=e,this.deleteSet=new bo,this.beforeState=Ho(e.store),this.afterState=new Map,this.changed=new Map,this.changedParentTypes=new Map,this._mergeStructs=[],this.origin=t,this.meta=new Map,this.local=n,this.subdocsAdded=new Set,this.subdocsRemoved=new Set,this.subdocsLoaded=new Set,this._needFormattingCleanup=!1}}const ni=(e,t)=>!(0===t.deleteSet.clients.size&&!((e,n)=>{for(const[n,i]of e)if(r=i,o=n,t.beforeState.get(o)!==r)return!0;var r,o;return!1})(t.afterState)||(Io(t.deleteSet),((e,t)=>{((e,t,n)=>{const r=new Map;n.forEach(((e,n)=>{qo(t,n)>e&&r.set(n,e)})),Ho(t).forEach(((e,t)=>{n.has(t)||r.set(t,0)})),br(e.restEncoder,r.size),rr(r.entries()).sort(((e,t)=>t[0]-e[0])).forEach((([n,r])=>{((e,t,n,r)=>{r=pn(r,t[0].id.clock);const o=Zo(t,r);br(e.restEncoder,t.length-o),e.writeClient(n),br(e.restEncoder,r);const i=t[o];i.write(e,r-i.id.clock);for(let n=o+1;n<t.length;n++)t[n].write(e,0)})(e,t.clients.get(n),n,r)}))})(e,t.doc.store,t.beforeState)})(e,t),((e,t)=>{br(e.restEncoder,t.clients.size),rr(t.clients.entries()).sort(((e,t)=>t[0]-e[0])).forEach((([t,n])=>{e.resetDsCurVal(),br(e.restEncoder,t);const r=n.length;br(e.restEncoder,r);for(let t=0;t<r;t++){const r=n[t];e.writeDsClock(r.clock),e.writeDsLen(r.len)}}))})(e,t.deleteSet),0)),ri=(e,t,n)=>{const r=t._item;(null===r||r.id.clock<(e.beforeState.get(r.id.client)||0)&&!r.deleted)&&er(e.changed,t,tr).add(n)},oi=(e,t)=>{let n=e[t],r=e[t-1],o=t;for(;o>0&&r.deleted===n.deleted&&r.constructor===n.constructor&&r.mergeWith(n);n=r,r=e[--o-1])n instanceof ba&&null!==n.parentSub&&n.parent._map.get(n.parentSub)===n&&n.parent._map.set(n.parentSub,r);const i=t-o;return i&&e.splice(t+1-i,i),i},ii=(e,t)=>{if(t<e.length){const n=e[t],r=n.doc,o=r.store,i=n.deleteSet,a=n._mergeStructs;try{Io(i),n.afterState=Ho(n.doc.store),r.emit("beforeObserverCalls",[n,r]);const e=[];n.changed.forEach(((t,r)=>e.push((()=>{null!==r._item&&r._item.deleted||r._callObserver(n,t)})))),e.push((()=>{n.changedParentTypes.forEach(((e,t)=>{t._dEH.l.length>0&&(null===t._item||!t._item.deleted)&&((e=e.filter((e=>null===e.target._item||!e.target._item.deleted))).forEach((e=>{e.currentTarget=t,e._path=null})),e.sort(((e,t)=>e.path.length-t.path.length)),Vo(t._dEH,e,n))}))})),e.push((()=>r.emit("afterTransaction",[n,r]))),Hr(e,[]),n._needFormattingCleanup&&Zi(n)}finally{r.gc&&((e,t,n)=>{for(const[r,o]of e.clients.entries()){const e=t.clients.get(r);for(let r=o.length-1;r>=0;r--){const i=o[r],a=i.clock+i.len;for(let r=Zo(e,i.clock),o=e[r];r<e.length&&o.id.clock<a;o=e[++r]){const o=e[r];if(i.clock+i.len<=o.id.clock)break;o instanceof ba&&o.deleted&&!o.keep&&n(o)&&o.gc(t,!1)}}}})(i,o,r.gcFilter),((e,t)=>{e.clients.forEach(((e,n)=>{const r=t.clients.get(n);for(let t=e.length-1;t>=0;t--){const n=e[t];for(let e=dn(r.length-1,1+Zo(r,n.clock+n.len-1)),t=r[e];e>0&&t.id.clock>=n.clock;t=r[e])e-=1+oi(r,e)}}))})(i,o),n.afterState.forEach(((e,t)=>{const r=n.beforeState.get(t)||0;if(r!==e){const e=o.clients.get(t),n=pn(Zo(e,r),1);for(let t=e.length-1;t>=n;)t-=1+oi(e,t)}}));for(let e=a.length-1;e>=0;e--){const{client:t,clock:n}=a[e].id,r=o.clients.get(t),i=Zo(r,n);i+1<r.length&&oi(r,i+1)>1||i>0&&oi(r,i)}if(n.local||n.afterState.get(r.clientID)===n.beforeState.get(r.clientID)||(((...e)=>{console.log(...yo(e))})(ho,ao,"[yjs] ",so,uo,"Changed the client-id because another client seems to be using it."),r.clientID=_o()),r.emit("afterTransactionCleanup",[n,r]),r._observers.has("update")){const e=new Co;ni(e,n)&&r.emit("update",[e.toUint8Array(),n.origin,r,n])}if(r._observers.has("updateV2")){const e=new Bo;ni(e,n)&&r.emit("updateV2",[e.toUint8Array(),n.origin,r,n])}const{subdocsAdded:s,subdocsLoaded:d,subdocsRemoved:p}=n;(s.size>0||p.size>0||d.size>0)&&(s.forEach((e=>{e.clientID=r.clientID,null==e.collectionid&&(e.collectionid=r.collectionid),r.subdocs.add(e)})),p.forEach((e=>r.subdocs.delete(e))),r.emit("subdocs",[{loaded:d,added:s,removed:p},r,n]),p.forEach((e=>e.destroy()))),e.length<=t+1?(r._transactionCleanups=[],r.emit("afterAllTransactions",[r,e])):ii(e,t+1)}}},ai=(e,t,n=null,r=!0)=>{const o=e._transactionCleanups;let i=!1,a=null;null===e._transaction&&(i=!0,e._transaction=new ti(e,n,r),o.push(e._transaction),1===o.length&&e.emit("beforeAllTransactions",[e]),e.emit("beforeTransaction",[e._transaction,e]));try{a=t(e._transaction)}finally{if(i){const t=e._transaction===o[0];e._transaction=null,t&&ii(o,0)}}return a},si="You must not compute changes after the event-handler fired.";class di{constructor(e,t){this.target=e,this.currentTarget=e,this.transaction=t,this._changes=null,this._keys=null,this._delta=null,this._path=null}get path(){return this._path||(this._path=pi(this.currentTarget,this.target))}deletes(e){return So(this.transaction.deleteSet,e.id)}get keys(){if(null===this._keys){if(0===this.transaction.doc._transactionCleanups.length)throw jr(si);const e=new Map,t=this.target;this.transaction.changed.get(t).forEach((n=>{if(null!==n){const r=t._map.get(n);let o,i;if(this.adds(r)){let e=r.left;for(;null!==e&&this.adds(e);)e=e.left;if(this.deletes(r)){if(null===e||!this.deletes(e))return;o="delete",i=nr(e.content.getContent())}else null!==e&&this.deletes(e)?(o="update",i=nr(e.content.getContent())):(o="add",i=void 0)}else{if(!this.deletes(r))return;o="delete",i=nr(r.content.getContent())}e.set(n,{action:o,oldValue:i})}})),this._keys=e}return this._keys}get delta(){return this.changes.delta}adds(e){return e.id.clock>=(this.transaction.beforeState.get(e.id.client)||0)}get changes(){let e=this._changes;if(null===e){if(0===this.transaction.doc._transactionCleanups.length)throw jr(si);const t=this.target,n=tr(),r=tr(),o=[];if(e={added:n,deleted:r,delta:o,keys:this.keys},this.transaction.changed.get(t).has(null)){let e=null;const i=()=>{e&&o.push(e)};for(let o=t._start;null!==o;o=o.right)o.deleted?this.deletes(o)&&!this.adds(o)&&(null!==e&&void 0!==e.delete||(i(),e={delete:0}),e.delete+=o.length,r.add(o)):this.adds(o)?(null!==e&&void 0!==e.insert||(i(),e={insert:[]}),e.insert=e.insert.concat(o.content.getContent()),n.add(o)):(null!==e&&void 0!==e.retain||(i(),e={retain:0}),e.retain+=o.length);null!==e&&void 0===e.retain&&i()}this._changes=e}return e}}const pi=(e,t)=>{const n=[];for(;null!==t._item&&t!==e;){if(null!==t._item.parentSub)n.unshift(t._item.parentSub);else{let e=0,r=t._item.parent._start;for(;r!==t._item&&null!==r;)r.deleted||e++,r=r.right;n.unshift(e)}t=t._item.parent}return n};let li=0;class ci{constructor(e,t){e.marker=!0,this.p=e,this.index=t,this.timestamp=li++}}const ui=(e,t,n)=>{e.p.marker=!1,e.p=t,t.marker=!0,e.index=n,e.timestamp=li++},mi=(e,t)=>{if(null===e._start||0===t||null===e._searchMarker)return null;const n=0===e._searchMarker.length?null:e._searchMarker.reduce(((e,n)=>sn(t-e.index)<sn(t-n.index)?e:n));let r=e._start,o=0;for(null!==n&&(r=n.p,o=n.index,(e=>{e.timestamp=li++})(n));null!==r.right&&o<t;){if(!r.deleted&&r.countable){if(t<o+r.length)break;o+=r.length}r=r.right}for(;null!==r.left&&o>t;)r=r.left,!r.deleted&&r.countable&&(o-=r.length);for(;null!==r.left&&r.left.id.client===r.id.client&&r.left.id.clock+r.left.length===r.id.clock;)r=r.left,!r.deleted&&r.countable&&(o-=r.length);return null!==n&&sn(n.index-o)<r.parent.length/80?(ui(n,r,o),n):((e,t,n)=>{if(e.length>=80){const r=e.reduce(((e,t)=>e.timestamp<t.timestamp?e:t));return ui(r,t,n),r}{const r=new ci(t,n);return e.push(r),r}})(e._searchMarker,r,o)},hi=(e,t,n)=>{for(let r=e.length-1;r>=0;r--){const o=e[r];if(n>0){let t=o.p;for(t.marker=!1;t&&(t.deleted||!t.countable);)t=t.left,t&&!t.deleted&&t.countable&&(o.index-=t.length);if(null===t||!0===t.marker){e.splice(r,1);continue}o.p=t,t.marker=!0}(t<o.index||n>0&&t===o.index)&&(o.index=pn(t,o.index+n))}},gi=(e,t,n)=>{const r=e,o=t.changedParentTypes;for(;er(o,e,(()=>[])).push(n),null!==e._item;)e=e._item.parent;Vo(r._eH,n,t)};class fi{constructor(){this._item=null,this._map=new Map,this._start=null,this.doc=null,this._length=0,this._eH=Ro(),this._dEH=Ro(),this._searchMarker=null}get parent(){return this._item?this._item.parent:null}_integrate(e,t){this.doc=e,this._item=t}_copy(){throw Mr()}clone(){throw Mr()}_write(e){}get _first(){let e=this._start;for(;null!==e&&e.deleted;)e=e.right;return e}_callObserver(e,t){!e.local&&this._searchMarker&&(this._searchMarker.length=0)}observe(e){Ao(this._eH,e)}observeDeep(e){Ao(this._dEH,e)}unobserve(e){No(this._eH,e)}unobserveDeep(e){No(this._dEH,e)}toJSON(){}}const yi=(e,t,n)=>{t<0&&(t=e._length+t),n<0&&(n=e._length+n);let r=n-t;const o=[];let i=e._start;for(;null!==i&&r>0;){if(i.countable&&!i.deleted){const e=i.content.getContent();if(e.length<=t)t-=e.length;else{for(let n=t;n<e.length&&r>0;n++)o.push(e[n]),r--;t=0}}i=i.right}return o},vi=e=>{const t=[];let n=e._start;for(;null!==n;){if(n.countable&&!n.deleted){const e=n.content.getContent();for(let n=0;n<e.length;n++)t.push(e[n])}n=n.right}return t},ki=(e,t)=>{let n=0,r=e._start;for(;null!==r;){if(r.countable&&!r.deleted){const o=r.content.getContent();for(let r=0;r<o.length;r++)t(o[r],n++,e)}r=r.right}},Ti=(e,t)=>{const n=[];return ki(e,((r,o)=>{n.push(t(r,o,e))})),n},bi=e=>{let t=e._start,n=null,r=0;return{[Symbol.iterator](){return this},next:()=>{if(null===n){for(;null!==t&&t.deleted;)t=t.right;if(null===t)return{done:!0,value:void 0};n=t.content.getContent(),r=0,t=t.right}const e=n[r++];return n.length<=r&&(n=null),{done:!1,value:e}}}},wi=(e,t)=>{const n=mi(e,t);let r=e._start;for(null!==n&&(r=n.p,t-=n.index);null!==r;r=r.right)if(!r.deleted&&r.countable){if(t<r.length)return r.content.getContent()[t];t-=r.length}},Si=(e,t,n,r)=>{let o=n;const i=e.doc,a=i.clientID,s=i.store,d=null===n?t._start:n.right;let p=[];const l=()=>{p.length>0&&(o=new ba(Lo(a,qo(s,a)),o,o&&o.lastId,d,d&&d.id,t,null,new ca(p)),o.integrate(e,0),p=[])};r.forEach((n=>{if(null===n)p.push(n);else switch(n.constructor){case Number:case Object:case Boolean:case Array:case String:p.push(n);break;default:switch(l(),n.constructor){case Uint8Array:case ArrayBuffer:o=new ba(Lo(a,qo(s,a)),o,o&&o.lastId,d,d&&d.id,t,null,new aa(new Uint8Array(n))),o.integrate(e,0);break;case Po:o=new ba(Lo(a,qo(s,a)),o,o&&o.lastId,d,d&&d.id,t,null,new da(n)),o.integrate(e,0);break;default:if(!(n instanceof fi))throw new Error("Unexpected content type in insert operation");o=new ba(Lo(a,qo(s,a)),o,o&&o.lastId,d,d&&d.id,t,null,new ka(n)),o.integrate(e,0)}}})),l()},Ii=()=>jr("Length exceeded!"),Di=(e,t,n,r)=>{if(n>t._length)throw Ii();if(0===n)return t._searchMarker&&hi(t._searchMarker,n,r.length),Si(e,t,null,r);const o=n,i=mi(t,n);let a=t._start;for(null!==i&&(a=i.p,0==(n-=i.index)&&(a=a.prev,n+=a&&a.countable&&!a.deleted?a.length:0));null!==a;a=a.right)if(!a.deleted&&a.countable){if(n<=a.length){n<a.length&&Qo(e,Lo(a.id.client,a.id.clock+n));break}n-=a.length}return t._searchMarker&&hi(t._searchMarker,o,r.length),Si(e,t,a,r)},_i=(e,t,n,r)=>{if(0===r)return;const o=n,i=r,a=mi(t,n);let s=t._start;for(null!==a&&(s=a.p,n-=a.index);null!==s&&n>0;s=s.right)!s.deleted&&s.countable&&(n<s.length&&Qo(e,Lo(s.id.client,s.id.clock+n)),n-=s.length);for(;r>0&&null!==s;)s.deleted||(r<s.length&&Qo(e,Lo(s.id.client,s.id.clock+r)),s.delete(e),r-=s.length),s=s.right;if(r>0)throw Ii();t._searchMarker&&hi(t._searchMarker,o,-i+r)},Pi=(e,t,n)=>{const r=t._map.get(n);void 0!==r&&r.delete(e)},xi=(e,t,n,r)=>{const o=t._map.get(n)||null,i=e.doc,a=i.clientID;let s;if(null==r)s=new ca([r]);else switch(r.constructor){case Number:case Object:case Boolean:case Array:case String:s=new ca([r]);break;case Uint8Array:s=new aa(r);break;case Po:s=new da(r);break;default:if(!(r instanceof fi))throw new Error("Unexpected content type");s=new ka(r)}new ba(Lo(a,qo(i.store,a)),o,o&&o.lastId,null,null,t,n,s).integrate(e,0)},Ci=(e,t)=>{const n=e._map.get(t);return void 0===n||n.deleted?void 0:n.content.getContent()[n.length-1]},Oi=e=>{const t={};return e._map.forEach(((e,n)=>{e.deleted||(t[n]=e.content.getContent()[e.length-1])})),t},Bi=(e,t)=>{const n=e._map.get(t);return void 0!==n&&!n.deleted},Ei=e=>{return t=e.entries(),n=e=>!e[1].deleted,vo((()=>{let e;do{e=t.next()}while(!e.done&&!n(e.value));return e}));var t,n};class Ri extends di{constructor(e,t){super(e,t),this._transaction=t}}class Ai extends fi{constructor(){super(),this._prelimContent=[],this._searchMarker=[]}static from(e){const t=new Ai;return t.push(e),t}_integrate(e,t){super._integrate(e,t),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new Ai}clone(){const e=new Ai;return e.insert(0,this.toArray().map((e=>e instanceof fi?e.clone():e))),e}get length(){return null===this._prelimContent?this._length:this._prelimContent.length}_callObserver(e,t){super._callObserver(e,t),gi(this,e,new Ri(this,e))}insert(e,t){null!==this.doc?ai(this.doc,(n=>{Di(n,this,e,t)})):this._prelimContent.splice(e,0,...t)}push(e){null!==this.doc?ai(this.doc,(t=>{((e,t,n)=>{let r=(t._searchMarker||[]).reduce(((e,t)=>t.index>e.index?t:e),{index:0,p:t._start}).p;if(r)for(;r.right;)r=r.right;Si(e,t,r,n)})(t,this,e)})):this._prelimContent.push(...e)}unshift(e){this.insert(0,e)}delete(e,t=1){null!==this.doc?ai(this.doc,(n=>{_i(n,this,e,t)})):this._prelimContent.splice(e,t)}get(e){return wi(this,e)}toArray(){return vi(this)}slice(e=0,t=this.length){return yi(this,e,t)}toJSON(){return this.map((e=>e instanceof fi?e.toJSON():e))}map(e){return Ti(this,e)}forEach(e){ki(this,e)}[Symbol.iterator](){return bi(this)}_write(e){e.writeTypeRef(ma)}}class Ni extends di{constructor(e,t,n){super(e,t),this.keysChanged=n}}class Vi extends fi{constructor(e){super(),this._prelimContent=null,this._prelimContent=void 0===e?new Map:new Map(e)}_integrate(e,t){super._integrate(e,t),this._prelimContent.forEach(((e,t)=>{this.set(t,e)})),this._prelimContent=null}_copy(){return new Vi}clone(){const e=new Vi;return this.forEach(((t,n)=>{e.set(n,t instanceof fi?t.clone():t)})),e}_callObserver(e,t){gi(this,e,new Ni(this,e,t))}toJSON(){const e={};return this._map.forEach(((t,n)=>{if(!t.deleted){const r=t.content.getContent()[t.length-1];e[n]=r instanceof fi?r.toJSON():r}})),e}get size(){return[...Ei(this._map)].length}keys(){return ko(Ei(this._map),(e=>e[0]))}values(){return ko(Ei(this._map),(e=>e[1].content.getContent()[e[1].length-1]))}entries(){return ko(Ei(this._map),(e=>[e[0],e[1].content.getContent()[e[1].length-1]]))}forEach(e){this._map.forEach(((t,n)=>{t.deleted||e(t.content.getContent()[t.length-1],n,this)}))}[Symbol.iterator](){return this.entries()}delete(e){null!==this.doc?ai(this.doc,(t=>{Pi(t,this,e)})):this._prelimContent.delete(e)}set(e,t){return null!==this.doc?ai(this.doc,(n=>{xi(n,this,e,t)})):this._prelimContent.set(e,t),t}get(e){return Ci(this,e)}has(e){return Bi(this,e)}clear(){null!==this.doc?ai(this.doc,(e=>{this.forEach((function(t,n,r){Pi(e,r,n)}))})):this._prelimContent.clear()}_write(e){e.writeTypeRef(ha)}}const ji=(e,t)=>e===t||"object"==typeof e&&"object"==typeof t&&e&&t&&((e,t)=>e===t||mn(e)===mn(t)&&((e,t)=>{for(const n in e)if(!t(e[n],n))return!1;return!0})(e,((e,n)=>(void 0!==e||((e,t)=>Object.prototype.hasOwnProperty.call(e,t))(t,n))&&t[n]===e)))(e,t);class Mi{constructor(e,t,n,r){this.left=e,this.right=t,this.index=n,this.currentAttributes=r}forward(){null===this.right&&Lr(),this.right.content.constructor===la?this.right.deleted||Wi(this.currentAttributes,this.right.content):this.right.deleted||(this.index+=this.right.length),this.left=this.right,this.right=this.right.right}}const Li=(e,t,n)=>{for(;null!==t.right&&n>0;)t.right.content.constructor===la?t.right.deleted||Wi(t.currentAttributes,t.right.content):t.right.deleted||(n<t.right.length&&Qo(e,Lo(t.right.id.client,t.right.id.clock+n)),t.index+=t.right.length,n-=t.right.length),t.left=t.right,t.right=t.right.right;return t},Ui=(e,t,n)=>{const r=new Map,o=mi(t,n);if(o){const t=new Mi(o.p.left,o.p,o.index,r);return Li(e,t,n-o.index)}{const o=new Mi(null,t._start,0,r);return Li(e,o,n)}},Fi=(e,t,n,r)=>{for(;null!==n.right&&(!0===n.right.deleted||n.right.content.constructor===la&&ji(r.get(n.right.content.key),n.right.content.value));)n.right.deleted||r.delete(n.right.content.key),n.forward();const o=e.doc,i=o.clientID;r.forEach(((r,a)=>{const s=n.left,d=n.right,p=new ba(Lo(i,qo(o.store,i)),s,s&&s.lastId,d,d&&d.id,t,null,new la(a,r));p.integrate(e,0),n.right=p,n.forward()}))},Wi=(e,t)=>{const{key:n,value:r}=t;null===r?e.delete(n):e.set(n,r)},$i=(e,t)=>{for(;null!==e.right&&(e.right.deleted||e.right.content.constructor===la&&ji(t[e.right.content.key]||null,e.right.content.value));)e.forward()},zi=(e,t,n,r)=>{const o=e.doc,i=o.clientID,a=new Map;for(const s in r){const d=r[s],p=n.currentAttributes.get(s)||null;if(!ji(p,d)){a.set(s,p);const{left:r,right:l}=n;n.right=new ba(Lo(i,qo(o.store,i)),r,r&&r.lastId,l,l&&l.id,t,null,new la(s,d)),n.right.integrate(e,0),n.forward()}}return a},Gi=(e,t,n,r,o)=>{n.currentAttributes.forEach(((e,t)=>{void 0===o[t]&&(o[t]=null)}));const i=e.doc,a=i.clientID;$i(n,o);const s=zi(e,t,n,o),d=r.constructor===String?new ua(r):r instanceof fi?new ka(r):new pa(r);let{left:p,right:l,index:c}=n;t._searchMarker&&hi(t._searchMarker,n.index,d.getLength()),l=new ba(Lo(a,qo(i.store,a)),p,p&&p.lastId,l,l&&l.id,t,null,d),l.integrate(e,0),n.right=l,n.index=c,n.forward(),Fi(e,t,n,s)},Hi=(e,t,n,r,o)=>{const i=e.doc,a=i.clientID;$i(n,o);const s=zi(e,t,n,o);e:for(;null!==n.right&&(r>0||s.size>0&&(n.right.deleted||n.right.content.constructor===la));){if(!n.right.deleted)switch(n.right.content.constructor){case la:{const{key:t,value:i}=n.right.content,a=o[t];if(void 0!==a){if(ji(a,i))s.delete(t);else{if(0===r)break e;s.set(t,i)}n.right.delete(e)}else n.currentAttributes.set(t,i);break}default:r<n.right.length&&Qo(e,Lo(n.right.id.client,n.right.id.clock+r)),r-=n.right.length}n.forward()}if(r>0){let o="";for(;r>0;r--)o+="\n";n.right=new ba(Lo(a,qo(i.store,a)),n.left,n.left&&n.left.lastId,n.right,n.right&&n.right.id,t,null,new ua(o)),n.right.integrate(e,0),n.forward()}Fi(e,t,n,s)},qi=(e,t,n,r,o)=>{let i=t;const a=Qn();for(;i&&(!i.countable||i.deleted);){if(!i.deleted&&i.content.constructor===la){const e=i.content;a.set(e.key,e)}i=i.right}let s=0,d=!1;for(;t!==i;){if(n===t&&(d=!0),!t.deleted){const n=t.content;switch(n.constructor){case la:{const{key:i,value:p}=n,l=r.get(i)||null;a.get(i)===n&&l!==p||(t.delete(e),s++,d||(o.get(i)||null)!==p||l===p||(null===l?o.delete(i):o.set(i,l))),d||t.deleted||Wi(o,n);break}}}t=t.right}return s},Ki=e=>{let t=0;return ai(e.doc,(n=>{let r=e._start,o=e._start,i=Qn();const a=Xn(i);for(;o;)!1===o.deleted&&(o.content.constructor===la?Wi(a,o.content):(t+=qi(n,r,o,i,a),i=Xn(a),r=o)),o=o.right})),t},Zi=e=>{const t=new Set,n=e.doc;for(const[r,o]of e.afterState.entries()){const i=e.beforeState.get(r)||0;o!==i&&ei(e,n.store.clients.get(r),i,o,(e=>{e.deleted||e.content.constructor!==la||e.constructor===ia||t.add(e.parent)}))}ai(n,(n=>{wo(e,e.deleteSet,(e=>{if(e instanceof ia||!e.parent._hasFormatting||t.has(e.parent))return;const r=e.parent;e.content.constructor===la?t.add(r):((e,t)=>{for(;t&&t.right&&(t.right.deleted||!t.right.countable);)t=t.right;const n=new Set;for(;t&&(t.deleted||!t.countable);){if(!t.deleted&&t.content.constructor===la){const r=t.content.key;n.has(r)?t.delete(e):n.add(r)}t=t.left}})(n,e)}));for(const e of t)Ki(e)}))},Ji=(e,t,n)=>{const r=n,o=Xn(t.currentAttributes),i=t.right;for(;n>0&&null!==t.right;){if(!1===t.right.deleted)switch(t.right.content.constructor){case ka:case pa:case ua:n<t.right.length&&Qo(e,Lo(t.right.id.client,t.right.id.clock+n)),n-=t.right.length,t.right.delete(e)}t.forward()}i&&qi(e,i,t.right,o,t.currentAttributes);const a=(t.left||t.right).parent;return a._searchMarker&&hi(a._searchMarker,t.index,-r+n),t};class Yi extends di{constructor(e,t,n){super(e,t),this.childListChanged=!1,this.keysChanged=new Set,n.forEach((e=>{null===e?this.childListChanged=!0:this.keysChanged.add(e)}))}get changes(){if(null===this._changes){const e={keys:this.keys,delta:this.delta,added:new Set,deleted:new Set};this._changes=e}return this._changes}get delta(){if(null===this._delta){const e=this.target.doc,t=[];ai(e,(e=>{const n=new Map,r=new Map;let o=this.target._start,i=null;const a={};let s="",d=0,p=0;const l=()=>{if(null!==i){let e=null;switch(i){case"delete":p>0&&(e={delete:p}),p=0;break;case"insert":("object"==typeof s||s.length>0)&&(e={insert:s},n.size>0&&(e.attributes={},n.forEach(((t,n)=>{null!==t&&(e.attributes[n]=t)})))),s="";break;case"retain":d>0&&(e={retain:d},(e=>{for(const t in e)return!1;return!0})(a)||(e.attributes=cn({},a))),d=0}e&&t.push(e),i=null}};for(;null!==o;){switch(o.content.constructor){case ka:case pa:this.adds(o)?this.deletes(o)||(l(),i="insert",s=o.content.getContent()[0],l()):this.deletes(o)?("delete"!==i&&(l(),i="delete"),p+=1):o.deleted||("retain"!==i&&(l(),i="retain"),d+=1);break;case ua:this.adds(o)?this.deletes(o)||("insert"!==i&&(l(),i="insert"),s+=o.content.str):this.deletes(o)?("delete"!==i&&(l(),i="delete"),p+=o.length):o.deleted||("retain"!==i&&(l(),i="retain"),d+=o.length);break;case la:{const{key:t,value:s}=o.content;if(this.adds(o)){if(!this.deletes(o)){const d=n.get(t)||null;ji(d,s)?null!==s&&o.delete(e):("retain"===i&&l(),ji(s,r.get(t)||null)?delete a[t]:a[t]=s)}}else if(this.deletes(o)){r.set(t,s);const e=n.get(t)||null;ji(e,s)||("retain"===i&&l(),a[t]=e)}else if(!o.deleted){r.set(t,s);const n=a[t];void 0!==n&&(ji(n,s)?null!==n&&o.delete(e):("retain"===i&&l(),null===s?delete a[t]:a[t]=s))}o.deleted||("insert"===i&&l(),Wi(n,o.content));break}}o=o.right}for(l();t.length>0;){const e=t[t.length-1];if(void 0===e.retain||void 0!==e.attributes)break;t.pop()}})),this._delta=t}return this._delta}}class Qi extends fi{constructor(e){super(),this._pending=void 0!==e?[()=>this.insert(0,e)]:[],this._searchMarker=[],this._hasFormatting=!1}get length(){return this._length}_integrate(e,t){super._integrate(e,t);try{this._pending.forEach((e=>e()))}catch(e){console.error(e)}this._pending=null}_copy(){return new Qi}clone(){const e=new Qi;return e.applyDelta(this.toDelta()),e}_callObserver(e,t){super._callObserver(e,t);const n=new Yi(this,e,t);gi(this,e,n),!e.local&&this._hasFormatting&&(e._needFormattingCleanup=!0)}toString(){let e="",t=this._start;for(;null!==t;)!t.deleted&&t.countable&&t.content.constructor===ua&&(e+=t.content.str),t=t.right;return e}toJSON(){return this.toString()}applyDelta(e,{sanitize:t=!0}={}){null!==this.doc?ai(this.doc,(n=>{const r=new Mi(null,this._start,0,new Map);for(let o=0;o<e.length;o++){const i=e[o];if(void 0!==i.insert){const a=t||"string"!=typeof i.insert||o!==e.length-1||null!==r.right||"\n"!==i.insert.slice(-1)?i.insert:i.insert.slice(0,-1);("string"!=typeof a||a.length>0)&&Gi(n,this,r,a,i.attributes||{})}else void 0!==i.retain?Hi(n,this,r,i.retain,i.attributes||{}):void 0!==i.delete&&Ji(n,r,i.delete)}})):this._pending.push((()=>this.applyDelta(e)))}toDelta(e,t,n){const r=[],o=new Map,i=this.doc;let a="",s=this._start;function d(){if(a.length>0){const e={};let t=!1;o.forEach(((n,r)=>{t=!0,e[r]=n}));const n={insert:a};t&&(n.attributes=e),r.push(n),a=""}}const p=()=>{for(;null!==s;){if(Fo(s,e)||void 0!==t&&Fo(s,t))switch(s.content.constructor){case ua:{const r=o.get("ychange");void 0===e||Fo(s,e)?void 0===t||Fo(s,t)?void 0!==r&&(d(),o.delete("ychange")):void 0!==r&&r.user===s.id.client&&"added"===r.type||(d(),o.set("ychange",n?n("added",s.id):{type:"added"})):void 0!==r&&r.user===s.id.client&&"removed"===r.type||(d(),o.set("ychange",n?n("removed",s.id):{type:"removed"})),a+=s.content.str;break}case ka:case pa:{d();const e={insert:s.content.getContent()[0]};if(o.size>0){const t={};e.attributes=t,o.forEach(((e,n)=>{t[n]=e}))}r.push(e);break}case la:Fo(s,e)&&(d(),Wi(o,s.content))}s=s.right}d()};return e||t?ai(i,(n=>{e&&Wo(n,e),t&&Wo(n,t),p()}),"cleanup"):p(),r}insert(e,t,n){if(t.length<=0)return;const r=this.doc;null!==r?ai(r,(r=>{const o=Ui(r,this,e);n||(n={},o.currentAttributes.forEach(((e,t)=>{n[t]=e}))),Gi(r,this,o,t,n)})):this._pending.push((()=>this.insert(e,t,n)))}insertEmbed(e,t,n={}){const r=this.doc;null!==r?ai(r,(r=>{const o=Ui(r,this,e);Gi(r,this,o,t,n)})):this._pending.push((()=>this.insertEmbed(e,t,n)))}delete(e,t){if(0===t)return;const n=this.doc;null!==n?ai(n,(n=>{Ji(n,Ui(n,this,e),t)})):this._pending.push((()=>this.delete(e,t)))}format(e,t,n){if(0===t)return;const r=this.doc;null!==r?ai(r,(r=>{const o=Ui(r,this,e);null!==o.right&&Hi(r,this,o,t,n)})):this._pending.push((()=>this.format(e,t,n)))}removeAttribute(e){null!==this.doc?ai(this.doc,(t=>{Pi(t,this,e)})):this._pending.push((()=>this.removeAttribute(e)))}setAttribute(e,t){null!==this.doc?ai(this.doc,(n=>{xi(n,this,e,t)})):this._pending.push((()=>this.setAttribute(e,t)))}getAttribute(e){return Ci(this,e)}getAttributes(){return Oi(this)}_write(e){e.writeTypeRef(ga)}}class Xi{constructor(e,t=(()=>!0)){this._filter=t,this._root=e,this._currentNode=e._start,this._firstCall=!0}[Symbol.iterator](){return this}next(){let e=this._currentNode,t=e&&e.content&&e.content.type;if(null!==e&&(!this._firstCall||e.deleted||!this._filter(t)))do{if(t=e.content.type,e.deleted||t.constructor!==ta&&t.constructor!==ea||null===t._start)for(;null!==e;){if(null!==e.right){e=e.right;break}e=e.parent===this._root?null:e.parent._item}else e=t._start}while(null!==e&&(e.deleted||!this._filter(e.content.type)));return this._firstCall=!1,null===e?{value:void 0,done:!0}:(this._currentNode=e,{value:e.content.type,done:!1})}}class ea extends fi{constructor(){super(),this._prelimContent=[]}get firstChild(){const e=this._first;return e?e.content.getContent()[0]:null}_integrate(e,t){super._integrate(e,t),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new ea}clone(){const e=new ea;return e.insert(0,this.toArray().map((e=>e instanceof fi?e.clone():e))),e}get length(){return null===this._prelimContent?this._length:this._prelimContent.length}createTreeWalker(e){return new Xi(this,e)}querySelector(e){e=e.toUpperCase();const t=new Xi(this,(t=>t.nodeName&&t.nodeName.toUpperCase()===e)).next();return t.done?null:t.value}querySelectorAll(e){return e=e.toUpperCase(),rr(new Xi(this,(t=>t.nodeName&&t.nodeName.toUpperCase()===e)))}_callObserver(e,t){gi(this,e,new na(this,t,e))}toString(){return Ti(this,(e=>e.toString())).join("")}toJSON(){return this.toString()}toDOM(e=document,t={},n){const r=e.createDocumentFragment();return void 0!==n&&n._createAssociation(r,this),ki(this,(o=>{r.insertBefore(o.toDOM(e,t,n),null)})),r}insert(e,t){null!==this.doc?ai(this.doc,(n=>{Di(n,this,e,t)})):this._prelimContent.splice(e,0,...t)}insertAfter(e,t){if(null!==this.doc)ai(this.doc,(n=>{const r=e&&e instanceof fi?e._item:e;Si(n,this,r,t)}));else{const n=this._prelimContent,r=null===e?0:n.findIndex((t=>t===e))+1;if(0===r&&null!==e)throw jr("Reference item not found");n.splice(r,0,...t)}}delete(e,t=1){null!==this.doc?ai(this.doc,(n=>{_i(n,this,e,t)})):this._prelimContent.splice(e,t)}toArray(){return vi(this)}push(e){this.insert(this.length,e)}unshift(e){this.insert(0,e)}get(e){return wi(this,e)}slice(e=0,t=this.length){return yi(this,e,t)}forEach(e){ki(this,e)}_write(e){e.writeTypeRef(ya)}}class ta extends ea{constructor(e="UNDEFINED"){super(),this.nodeName=e,this._prelimAttrs=new Map}get nextSibling(){const e=this._item?this._item.next:null;return e?e.content.type:null}get prevSibling(){const e=this._item?this._item.prev:null;return e?e.content.type:null}_integrate(e,t){super._integrate(e,t),this._prelimAttrs.forEach(((e,t)=>{this.setAttribute(t,e)})),this._prelimAttrs=null}_copy(){return new ta(this.nodeName)}clone(){const e=new ta(this.nodeName);return((e,t)=>{for(const n in e)t(e[n],n)})(this.getAttributes(),((t,n)=>{"string"==typeof t&&e.setAttribute(n,t)})),e.insert(0,this.toArray().map((e=>e instanceof fi?e.clone():e))),e}toString(){const e=this.getAttributes(),t=[],n=[];for(const t in e)n.push(t);n.sort();const r=n.length;for(let o=0;o<r;o++){const r=n[o];t.push(r+'="'+e[r]+'"')}const o=this.nodeName.toLocaleLowerCase();return`<${o}${t.length>0?" "+t.join(" "):""}>${super.toString()}</${o}>`}removeAttribute(e){null!==this.doc?ai(this.doc,(t=>{Pi(t,this,e)})):this._prelimAttrs.delete(e)}setAttribute(e,t){null!==this.doc?ai(this.doc,(n=>{xi(n,this,e,t)})):this._prelimAttrs.set(e,t)}getAttribute(e){return Ci(this,e)}hasAttribute(e){return Bi(this,e)}getAttributes(e){return e?((e,t)=>{const n={};return this._map.forEach(((e,r)=>{let o=e;for(;null!==o&&(!t.sv.has(o.id.client)||o.id.clock>=(t.sv.get(o.id.client)||0));)o=o.left;null!==o&&Fo(o,t)&&(n[r]=o.content.getContent()[o.length-1])})),n})(0,e):Oi(this)}toDOM(e=document,t={},n){const r=e.createElement(this.nodeName),o=this.getAttributes();for(const e in o){const t=o[e];"string"==typeof t&&r.setAttribute(e,t)}return ki(this,(o=>{r.appendChild(o.toDOM(e,t,n))})),void 0!==n&&n._createAssociation(r,this),r}_write(e){e.writeTypeRef(fa),e.writeKey(this.nodeName)}}class na extends di{constructor(e,t,n){super(e,n),this.childListChanged=!1,this.attributesChanged=new Set,t.forEach((e=>{null===e?this.childListChanged=!0:this.attributesChanged.add(e)}))}}class ra extends Qi{get nextSibling(){const e=this._item?this._item.next:null;return e?e.content.type:null}get prevSibling(){const e=this._item?this._item.prev:null;return e?e.content.type:null}_copy(){return new ra}clone(){const e=new ra;return e.applyDelta(this.toDelta()),e}toDOM(e=document,t,n){const r=e.createTextNode(this.toString());return void 0!==n&&n._createAssociation(r,this),r}toString(){return this.toDelta().map((e=>{const t=[];for(const n in e.attributes){const r=[];for(const t in e.attributes[n])r.push({key:t,value:e.attributes[n][t]});r.sort(((e,t)=>e.key<t.key?-1:1)),t.push({nodeName:n,attrs:r})}t.sort(((e,t)=>e.nodeName<t.nodeName?-1:1));let n="";for(let e=0;e<t.length;e++){const r=t[e];n+=`<${r.nodeName}`;for(let e=0;e<r.attrs.length;e++){const t=r.attrs[e];n+=` ${t.key}="${t.value}"`}n+=">"}n+=e.insert;for(let e=t.length-1;e>=0;e--)n+=`</${t[e].nodeName}>`;return n})).join("")}toJSON(){return this.toString()}_write(e){e.writeTypeRef(va)}}class oa{constructor(e,t){this.id=e,this.length=t}get deleted(){throw Mr()}mergeWith(e){return!1}write(e,t,n){throw Mr()}integrate(e,t){throw Mr()}}class ia extends oa{get deleted(){return!0}delete(){}mergeWith(e){return this.constructor===e.constructor&&(this.length+=e.length,!0)}integrate(e,t){t>0&&(this.id.clock+=t,this.length-=t),Ko(e.doc.store,this)}write(e,t){e.writeInfo(0),e.writeLen(this.length-t)}getMissing(e,t){return null}}class aa{constructor(e){this.content=e}getLength(){return 1}getContent(){return[this.content]}isCountable(){return!0}copy(){return new aa(this.content)}splice(e){throw Mr()}mergeWith(e){return!1}integrate(e,t){}delete(e){}gc(e){}write(e,t){e.writeBuf(this.content)}getRef(){return 3}}class sa{constructor(e){this.len=e}getLength(){return this.len}getContent(){return[]}isCountable(){return!1}copy(){return new sa(this.len)}splice(e){const t=new sa(this.len-e);return this.len=e,t}mergeWith(e){return this.len+=e.len,!0}integrate(e,t){Do(e.deleteSet,t.id.client,t.id.clock,this.len),t.markDeleted()}delete(e){}gc(e){}write(e,t){e.writeLen(this.len-t)}getRef(){return 1}}class da{constructor(e){e._item&&console.error("This document was already integrated as a sub-document. You should create a second instance instead with the same guid."),this.doc=e;const t={};this.opts=t,e.gc||(t.gc=!1),e.autoLoad&&(t.autoLoad=!0),null!==e.meta&&(t.meta=e.meta)}getLength(){return 1}getContent(){return[this.doc]}isCountable(){return!0}copy(){return new da((e=this.doc.guid,t=this.opts,new Po({guid:e,...t,shouldLoad:t.shouldLoad||t.autoLoad||!1})));var e,t}splice(e){throw Mr()}mergeWith(e){return!1}integrate(e,t){this.doc._item=t,e.subdocsAdded.add(this.doc),this.doc.shouldLoad&&e.subdocsLoaded.add(this.doc)}delete(e){e.subdocsAdded.has(this.doc)?e.subdocsAdded.delete(this.doc):e.subdocsRemoved.add(this.doc)}gc(e){}write(e,t){e.writeString(this.doc.guid),e.writeAny(this.opts)}getRef(){return 9}}class pa{constructor(e){this.embed=e}getLength(){return 1}getContent(){return[this.embed]}isCountable(){return!0}copy(){return new pa(this.embed)}splice(e){throw Mr()}mergeWith(e){return!1}integrate(e,t){}delete(e){}gc(e){}write(e,t){e.writeJSON(this.embed)}getRef(){return 5}}class la{constructor(e,t){this.key=e,this.value=t}getLength(){return 1}getContent(){return[]}isCountable(){return!1}copy(){return new la(this.key,this.value)}splice(e){throw Mr()}mergeWith(e){return!1}integrate(e,t){const n=t.parent;n._searchMarker=null,n._hasFormatting=!0}delete(e){}gc(e){}write(e,t){e.writeKey(this.key),e.writeJSON(this.value)}getRef(){return 6}}class ca{constructor(e){this.arr=e}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new ca(this.arr)}splice(e){const t=new ca(this.arr.slice(e));return this.arr=this.arr.slice(0,e),t}mergeWith(e){return this.arr=this.arr.concat(e.arr),!0}integrate(e,t){}delete(e){}gc(e){}write(e,t){const n=this.arr.length;e.writeLen(n-t);for(let r=t;r<n;r++){const t=this.arr[r];e.writeAny(t)}}getRef(){return 8}}class ua{constructor(e){this.str=e}getLength(){return this.str.length}getContent(){return this.str.split("")}isCountable(){return!0}copy(){return new ua(this.str)}splice(e){const t=new ua(this.str.slice(e));this.str=this.str.slice(0,e);const n=this.str.charCodeAt(e-1);return n>=55296&&n<=56319&&(this.str=this.str.slice(0,e-1)+"�",t.str="�"+t.str.slice(1)),t}mergeWith(e){return this.str+=e.str,!0}integrate(e,t){}delete(e){}gc(e){}write(e,t){e.writeString(0===t?this.str:this.str.slice(t))}getRef(){return 4}}const ma=0,ha=1,ga=2,fa=3,ya=4,va=6;class ka{constructor(e){this.type=e}getLength(){return 1}getContent(){return[this.type]}isCountable(){return!0}copy(){return new ka(this.type._copy())}splice(e){throw Mr()}mergeWith(e){return!1}integrate(e,t){this.type._integrate(e.doc,t)}delete(e){let t=this.type._start;for(;null!==t;)t.deleted?t.id.clock<(e.beforeState.get(t.id.client)||0)&&e._mergeStructs.push(t):t.delete(e),t=t.right;this.type._map.forEach((t=>{t.deleted?t.id.clock<(e.beforeState.get(t.id.client)||0)&&e._mergeStructs.push(t):t.delete(e)})),e.changed.delete(this.type)}gc(e){let t=this.type._start;for(;null!==t;)t.gc(e,!0),t=t.right;this.type._start=null,this.type._map.forEach((t=>{for(;null!==t;)t.gc(e,!0),t=t.left})),this.type._map=new Map}write(e,t){this.type._write(e)}getRef(){return 7}}const Ta=(e,t,n)=>{const{client:r,clock:o}=t.id,i=new ba(Lo(r,o+n),t,Lo(r,o+n-1),t.right,t.rightOrigin,t.parent,t.parentSub,t.content.splice(n));return t.deleted&&i.markDeleted(),t.keep&&(i.keep=!0),null!==t.redone&&(i.redone=Lo(t.redone.client,t.redone.clock+n)),t.right=i,null!==i.right&&(i.right.left=i),e._mergeStructs.push(i),null!==i.parentSub&&null===i.right&&i.parent._map.set(i.parentSub,i),t.length=n,i};class ba extends oa{constructor(e,t,n,r,o,i,a,s){super(e,s.getLength()),this.origin=n,this.left=t,this.right=r,this.rightOrigin=o,this.parent=i,this.parentSub=a,this.redone=null,this.content=s,this.info=this.content.isCountable()?2:0}set marker(e){(8&this.info)>0!==e&&(this.info^=8)}get marker(){return(8&this.info)>0}get keep(){return(1&this.info)>0}set keep(e){this.keep!==e&&(this.info^=1)}get countable(){return(2&this.info)>0}get deleted(){return(4&this.info)>0}set deleted(e){this.deleted!==e&&(this.info^=4)}markDeleted(){this.info|=4}getMissing(e,t){if(this.origin&&this.origin.client!==this.id.client&&this.origin.clock>=qo(t,this.origin.client))return this.origin.client;if(this.rightOrigin&&this.rightOrigin.client!==this.id.client&&this.rightOrigin.clock>=qo(t,this.rightOrigin.client))return this.rightOrigin.client;if(this.parent&&this.parent.constructor===jo&&this.id.client!==this.parent.client&&this.parent.clock>=qo(t,this.parent.client))return this.parent.client;if(this.origin&&(this.left=Xo(e,t,this.origin),this.origin=this.left.lastId),this.rightOrigin&&(this.right=Qo(e,this.rightOrigin),this.rightOrigin=this.right.id),this.left&&this.left.constructor===ia||this.right&&this.right.constructor===ia)this.parent=null;else if(this.parent){if(this.parent.constructor===jo){const e=Jo(t,this.parent);e.constructor===ia?this.parent=null:this.parent=e.content.type}}else this.left&&this.left.constructor===ba&&(this.parent=this.left.parent,this.parentSub=this.left.parentSub),this.right&&this.right.constructor===ba&&(this.parent=this.right.parent,this.parentSub=this.right.parentSub);return null}integrate(e,t){if(t>0&&(this.id.clock+=t,this.left=Xo(e,e.doc.store,Lo(this.id.client,this.id.clock-1)),this.origin=this.left.lastId,this.content=this.content.splice(t),this.length-=t),this.parent){if(!this.left&&(!this.right||null!==this.right.left)||this.left&&this.left.right!==this.right){let t,n=this.left;if(null!==n)t=n.right;else if(null!==this.parentSub)for(t=this.parent._map.get(this.parentSub)||null;null!==t&&null!==t.left;)t=t.left;else t=this.parent._start;const r=new Set,o=new Set;for(;null!==t&&t!==this.right;){if(o.add(t),r.add(t),Mo(this.origin,t.origin)){if(t.id.client<this.id.client)n=t,r.clear();else if(Mo(this.rightOrigin,t.rightOrigin))break}else{if(null===t.origin||!o.has(Jo(e.doc.store,t.origin)))break;r.has(Jo(e.doc.store,t.origin))||(n=t,r.clear())}t=t.right}this.left=n}if(null!==this.left){const e=this.left.right;this.right=e,this.left.right=this}else{let e;if(null!==this.parentSub)for(e=this.parent._map.get(this.parentSub)||null;null!==e&&null!==e.left;)e=e.left;else e=this.parent._start,this.parent._start=this;this.right=e}null!==this.right?this.right.left=this:null!==this.parentSub&&(this.parent._map.set(this.parentSub,this),null!==this.left&&this.left.delete(e)),null===this.parentSub&&this.countable&&!this.deleted&&(this.parent._length+=this.length),Ko(e.doc.store,this),this.content.integrate(e,this),ri(e,this.parent,this.parentSub),(null!==this.parent._item&&this.parent._item.deleted||null!==this.parentSub&&null!==this.right)&&this.delete(e)}else new ia(this.id,this.length).integrate(e,0)}get next(){let e=this.right;for(;null!==e&&e.deleted;)e=e.right;return e}get prev(){let e=this.left;for(;null!==e&&e.deleted;)e=e.left;return e}get lastId(){return 1===this.length?this.id:Lo(this.id.client,this.id.clock+this.length-1)}mergeWith(e){if(this.constructor===e.constructor&&Mo(e.origin,this.lastId)&&this.right===e&&Mo(this.rightOrigin,e.rightOrigin)&&this.id.client===e.id.client&&this.id.clock+this.length===e.id.clock&&this.deleted===e.deleted&&null===this.redone&&null===e.redone&&this.content.constructor===e.content.constructor&&this.content.mergeWith(e.content)){const t=this.parent._searchMarker;return t&&t.forEach((t=>{t.p===e&&(t.p=this,!this.deleted&&this.countable&&(t.index-=this.length))})),e.keep&&(this.keep=!0),this.right=e.right,null!==this.right&&(this.right.left=this),this.length+=e.length,!0}return!1}delete(e){if(!this.deleted){const t=this.parent;this.countable&&null===this.parentSub&&(t._length-=this.length),this.markDeleted(),Do(e.deleteSet,this.id.client,this.id.clock,this.length),ri(e,t,this.parentSub),this.content.delete(e)}}gc(e,t){if(!this.deleted)throw Lr();this.content.gc(e),t?((e,t,n)=>{const r=e.clients.get(t.id.client);r[Zo(r,t.id.clock)]=n})(e,this,new ia(this.id,this.length)):this.content=new sa(this.length)}write(e,t){const n=t>0?Lo(this.id.client,this.id.clock+t-1):this.origin,r=this.rightOrigin,o=this.parentSub,i=31&this.content.getRef()|(null===n?0:ar)|(null===r?0:64)|(null===o?0:32);if(e.writeInfo(i),null!==n&&e.writeLeftID(n),null!==r&&e.writeRightID(r),null===n&&null===r){const t=this.parent;if(void 0!==t._item){const n=t._item;if(null===n){const n=(e=>{for(const[t,n]of e.doc.share.entries())if(n===e)return t;throw Lr()})(t);e.writeParentInfo(!0),e.writeString(n)}else e.writeParentInfo(!1),e.writeLeftID(n.id)}else t.constructor===String?(e.writeParentInfo(!0),e.writeString(t)):t.constructor===jo?(e.writeParentInfo(!1),e.writeLeftID(t)):Lr();null!==o&&e.writeString(o)}this.content.write(e,t)}}const wa="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},Sa="__ $YJS$ __";!0===wa[Sa]&&console.error("Yjs was already imported. This breaks constructor checks and will lead to issues! - https://github.com/yjs/yjs/issues/438"),wa[Sa]=!0;const Ia=(e,t)=>e instanceof Array?((e,t)=>{const n=new ra,r=e.map((e=>({insert:e.text,attributes:Ra(e.marks)})));return n.applyDelta(r),t.set(n,e),n})(e,t):((e,t)=>{const n=new ta(e.type.name);for(const t in e.attrs){const r=e.attrs[t];null!==r&&"ychange"!==t&&n.setAttribute(t,r)}return n.insert(0,Pa(e).map((e=>Ia(e,t)))),t.set(n,e),n})(e,t),Da=e=>"object"==typeof e&&null!==e,_a=(e,t)=>{const n=Object.keys(e).filter((t=>null!==e[t]));let r=n.length===Object.keys(t).filter((e=>null!==t[e])).length;for(let o=0;o<n.length&&r;o++){const i=n[o],a=e[i],s=t[i];r="ychange"===i||a===s||Da(a)&&Da(s)&&_a(a,s)}return r},Pa=e=>{const t=e.content.content,n=[];for(let e=0;e<t.length;e++){const r=t[e];if(r.isText){const r=[];for(let n=t[e];e<t.length&&n.isText;n=t[++e])r.push(n);e--,n.push(r)}else n.push(r)}return n},xa=(e,t)=>{const n=e.toDelta();return n.length===t.length&&n.every(((e,n)=>e.insert===t[n].text&&un(e.attributes||{}).length===t[n].marks.length&&t[n].marks.every((t=>_a(e.attributes[t.type.name]||{},t.attrs)))))},Ca=(e,t)=>{if(e instanceof ta&&!(t instanceof Array)&&Na(e,t)){const n=Pa(t);return e._length===n.length&&_a(e.getAttributes(),t.attrs)&&e.toArray().every(((e,t)=>Ca(e,n[t])))}return e instanceof ra&&t instanceof Array&&xa(e,t)},Oa=(e,t)=>e===t||e instanceof Array&&t instanceof Array&&e.length===t.length&&e.every(((e,n)=>t[n]===e)),Ba=(e,t,n)=>{const r=e.toArray(),o=Pa(t),i=o.length,a=r.length,s=dn(a,i);let d=0,p=0,l=!1;for(;d<s;d++){const e=r[d],t=o[d];if(Oa(n.get(e),t))l=!0;else if(!Ca(e,t))break}for(;d+p<s;p++){const e=r[a-p-1],t=o[i-p-1];if(Oa(n.get(e),t))l=!0;else if(!Ca(e,t))break}return{equalityFactor:d+p,foundMappedChild:l}},Ea=(e,t,n)=>{n.set(e,t);const{nAttrs:r,str:o}=(e=>{let t="",n=e._start;const r={};for(;null!==n;)n.deleted||(n.countable&&n.content instanceof ua?t+=n.content.str:n.content instanceof la&&(r[n.content.key]=null)),n=n.right;return{str:t,nAttrs:r}})(e),i=t.map((e=>({insert:e.text,attributes:Object.assign({},r,Ra(e.marks))}))),{insert:a,remove:s,index:d}=((e,t)=>{let n=0,r=0;for(;n<e.length&&n<t.length&&e[n]===t[n];)n++;for(n>0&&hn.test(e[n-1])&&n--;r+n<e.length&&r+n<t.length&&e[e.length-r-1]===t[t.length-r-1];)r++;return r>0&&gn.test(e[e.length-r])&&r--,{index:n,remove:e.length-n-r,insert:t.slice(n,t.length-r)}})(o,i.map((e=>e.insert)).join(""));e.delete(d,s),e.insert(d,a),e.applyDelta(i.map((e=>({retain:e.insert.length,attributes:e.attributes}))))},Ra=e=>{const t={};return e.forEach((e=>{"ychange"!==e.type.name&&(t[e.type.name]=e.attrs)})),t},Aa=(e,t,n,r)=>{if(t instanceof ta&&t.nodeName!==n.type.name)throw new Error("node name mismatch!");if(r.set(t,n),t instanceof ta){const e=t.getAttributes(),r=n.attrs;for(const n in r)null!==r[n]?e[n]!==r[n]&&"ychange"!==n&&t.setAttribute(n,r[n]):t.removeAttribute(n);for(const n in e)void 0===r[n]&&t.removeAttribute(n)}const o=Pa(n),i=o.length,a=t.toArray(),s=a.length,d=dn(i,s);let p=0,l=0;for(;p<d;p++){const e=a[p],t=o[p];if(!Oa(r.get(e),t)){if(!Ca(e,t))break;r.set(e,t)}}for(;l+p+1<d;l++){const e=a[s-l-1],t=o[i-l-1];if(!Oa(r.get(e),t)){if(!Ca(e,t))break;r.set(e,t)}}e.transact((()=>{for(;s-p-l>0&&i-p-l>0;){const n=a[p],d=o[p],c=a[s-l-1],u=o[i-l-1];if(n instanceof ra&&d instanceof Array)xa(n,d)||Ea(n,d,r),p+=1;else{let o=n instanceof ta&&Na(n,d),i=c instanceof ta&&Na(c,u);if(o&&i){const e=Ba(n,d,r),t=Ba(c,u,r);e.foundMappedChild&&!t.foundMappedChild?i=!1:!e.foundMappedChild&&t.foundMappedChild||e.equalityFactor<t.equalityFactor?o=!1:i=!1}o?(Aa(e,n,d,r),p+=1):i?(Aa(e,c,u,r),l+=1):(r.delete(t.get(p)),t.delete(p,1),t.insert(p,[Ia(d,r)]),p+=1)}}const n=s-p-l;if(1===s&&0===i&&a[0]instanceof ra?(r.delete(a[0]),a[0].delete(0,a[0].length)):n>0&&(t.slice(p,p+n).forEach((e=>r.delete(e))),t.delete(p,n)),p+l<i){const e=[];for(let t=p;t<i-l;t++)e.push(Ia(o[t],r));t.insert(p,e)}}),Yn)},Na=(e,t)=>!(t instanceof Array)&&e.nodeName===t.type.name;function Va(e){return{id:e.id,designSystemId:e.designSystemId,createdAt:e.createdAt,meta:{name:e.name,description:e.comment},version:e.version,changeLog:e.changeLog,isReadonly:e.isReadonly}}function ja(e){return{id:e.id,designSystemVersionId:e.designSystemVersionId,meta:{name:e.name,description:e.description},persistentId:e.persistentId,type:e.type,targetElementType:e.targetElementType,codeName:e.codeName,options:e.options,linkElementType:e.linkElementType}}function Ma(e){let t,n;return e.stringValue?t=e.stringValue:e.numberValue?t=e.numberValue:"boolean"==typeof e.booleanValue?t=e.booleanValue:e.referenceValue?(t=e.referenceValue,n=e.referenceValuePreview):t=void 0,{id:e.id,designSystemVersionId:e.designSystemVersionId,definitionId:e.definitionPersistentId,targetElementId:e.targetElementPersistentId,value:t,valuePreview:n}}function La(e){return{id:e.id,designSystemVersionId:e.designSystemVersionId,persistentId:e.persistentId,meta:{name:e.name,description:e.description}}}function Ua(e,t){return t.sort(((e,t)=>e.sortPosition-t.sortPosition)),{id:e.id,persistentId:e.persistentId,targetElementType:e.targetElementType,isDefault:e.isDefault,meta:{name:e.name,description:e.description},columns:t}}pt.object({id:pt.string(),codeChallenge:pt.string(),readKey:pt.string(),writeKey:pt.string(),readKeyConsumed:pt.boolean(),writeKeyConsumed:pt.boolean(),oAuthCode:pt.string().optional(),createdAt:pt.coerce.date()});var Fa=pt.object({cardId:pt.string().nullish(),last4:pt.string().length(4).nullish(),expiryMonth:pt.string().nullish(),expiryYear:pt.string().nullish(),brand:pt.string().nullish(),name:pt.string().nullish()});function Wa(e){return e.nullish().transform((e=>e??void 0))}pt.object({priceId:pt.string(),successUrl:pt.string().url(),cancelUrl:pt.string().url(),quantity:pt.number().int().min(1).optional()}),pt.object({id:pt.string(),url:pt.string().nullish()}),pt.object({id:pt.string()});var $a=pt.object({street1:Wa(pt.string()),street2:Wa(pt.string()),city:Wa(pt.string()),postal:Wa(pt.string()),country:Wa(pt.string()),state:Wa(pt.string())}),za=pt.object({address:Wa($a),email:Wa(pt.string()),companyName:Wa(pt.string()),companyId:Wa(pt.string()),notes:Wa(pt.string()),vat:Wa(pt.string()),poNumber:Wa(pt.string())}),Ga=pt.object({max:pt.number(),errorMessage:pt.string(),errorReason:pt.string()}),Ha=pt.object({enabled:pt.boolean(),errorMessage:pt.string(),errorReason:pt.string()}),qa=Ga.extend({noImportJobsErrorMessage:pt.string(),noImportJobsErrorReason:pt.string()}),Ka=pt.object({designSystems:Ga,designSystemSources:qa,designSystemVersions:Ga,themes:Ga,brands:Ga,codegenSchedules:Ga,publicDocumentation:Ha,customDocumentationUrl:Ha,customDocumentationViewButton:Ha,designSystemSourceAutoImport:Ha,designSystemSlug:Ha,ipWhitelisting:Ha,npmRegistry:Ha,sso:Ha,workspacePaidSeats:Ga,workspaceViewers:Ga,customDocumentationExporter:Ha}),Za=(pt.object({id:pt.string(),number:pt.string(),amount_due:pt.number(),date:pt.coerce.date(),hostedUrl:pt.string().url(),card:Fa.nullish()}),pt.object({start:pt.coerce.date(),end:pt.coerce.date()})),Ja=(pt.object({amount:pt.number(),period:Za,proration:pt.boolean(),description:pt.string(),type:pt.string()}),pt.object({amount_off:pt.number(),percent_off:pt.number(),name:pt.string()}),pt.object({priceId:pt.string(),numberOfSeats:pt.number().int()})),Ya=(pt.object({returnUrl:pt.string().url(),update:Ja.optional(),cancel:pt.boolean().optional()}),pt.object({id:pt.string(),url:pt.string().nullish()}),pt.enum(["daily","monthly","weekly","yearly"])),Qa=(pt.object({stripePriceId:pt.string(),stripeProductId:pt.string(),stripeProductName:pt.string().optional(),stripeProductDescription:pt.string().optional(),active:pt.boolean(),amount:pt.number(),interval:Ya,isPricePerCreator:pt.boolean().optional(),isTrial:pt.boolean().optional(),isHidden:pt.boolean().optional(),minimumSeats:pt.number().optional(),legacyVersion:pt.string().optional(),featuresSet:pt.string().optional(),stripeProductFeatures:pt.array(pt.string()).optional(),stripeProductAdditionalFeatures:pt.array(pt.string()).optional()}),pt.enum(["free","team","company","enterprise"])),Xa=(Qa.enum,pt.enum(["trialing","active","past_due","canceled","unpaid","incomplete_expired","incomplete","unknown"])),es=pt.enum(["active","suspended","gracePeriod","cancelled","downgraded_to_free"]),ts=pt.enum(["Auto","Invoice"]),ns=(Xa.enum,es.enum,ts.enum,pt.object({stripeSubscriptionId:pt.string().nullish(),stripeCustomerId:pt.string().nullish(),status:es.optional(),subscriptionStatus:Xa.optional(),internalStatus:es.optional(),product:Qa,featuresSummary:Ka.optional(),stripeProductDescription:pt.string().optional(),stripeProductFeatures:pt.array(pt.string()).optional(),stripeProductAdditionalFeatures:pt.array(pt.string()).optional(),stripeSubscriptionMainItemId:pt.string().optional(),planPriceId:pt.string(),planInterval:Ya,isPricePerCreator:pt.boolean().optional(),legacyVersion:pt.string().optional(),seats:pt.number(),seatLimit:pt.number(),currentPeriodStart:pt.string().optional(),currentPeriodEnd:pt.string().optional(),subscriptionStatusUpdatedAt:pt.string().optional(),cancelAt:pt.string().nullish(),card:Fa.optional(),amount:pt.number().nullish(),isTrial:pt.boolean().optional(),billingType:ts.optional(),daysUntilDue:pt.number().optional()})),rs=(pt.object({path:pt.string(),id:pt.string(),designSystemId:pt.string(),expiresAt:pt.number()}),pt.object({id:pt.string(),designSystemVersionId:pt.string(),assetId:pt.string(),persistentId:pt.string()}),pt.object({}),pt.enum(["Image","Font"])),os=pt.enum(["DocumentationFrame","ComponentThumbnail","DesignSystem","Documentation"]),is=pt.object({family:pt.string(),subfamily:pt.string()}),as=pt.union([pt.object({fontProperties:pt.array(is)}),pt.object({width:pt.number(),height:pt.number()})]),ss=pt.object({originKey:pt.string()}),ds=pt.enum(["Pending","Uploaded","Processed"]),ps=(pt.object({id:pt.string(),designSystemId:pt.string().nullish(),type:rs,originalFileName:pt.string().nullish(),filePath:pt.string(),scope:os,properties:as.nullish(),state:ds.optional(),origin:ss.optional(),originKey:pt.string().optional()}),pt.enum(["Figma","TokenStudio","FigmaVariablesPlugin"])),ls=pt.enum(["TokenStudio","FigmaVariablesPlugin","Custom"]),cs=pt.enum(["Active","MissingIntegration","MissingFileAccess","MissingFileOwner"]),us=(pt.enum(["Never","Hourly"]),pt.object({tokens:Ts(),components:Ts(),assets:Ts(),frames:Ts()}),pt.object({lastUpdatedAt:pt.coerce.date()})),ms=pt.object({id:pt.string(),label:pt.string().optional(),description:pt.string().optional(),createdAt:pt.coerce.date()}),hs=pt.object({assets:pt.boolean(),components:pt.boolean(),documentationFrames:pt.boolean(),tokens:pt.boolean(),themePersistentId:pt.string().optional()}),gs=pt.object({fileData:us.optional(),importedPublishedVersion:ms.optional()}),fs=pt.object({type:pt.literal(ps.Enum.Figma),fileId:pt.string(),ownerId:pt.string(),ownerName:pt.string(),scope:hs,state:cs,requiresSync:pt.boolean().optional().transform((e=>e??!1)),lastImportMetadata:gs.optional(),downloadChunkSize:pt.number().optional(),figmaRenderChunkSize:pt.number().optional(),maxFileDepth:pt.number().optional()}),ys=pt.object({type:pt.literal(ps.Enum.TokenStudio)}),vs=pt.record(pt.any()),ks=pt.object({type:pt.literal(ps.Enum.FigmaVariablesPlugin),remoteId:pt.string(),remoteSourceType:ls,lastImportMetadata:vs.optional()});function Ts(){return pt.number().nullish().transform((e=>e??0))}pt.discriminatedUnion("type",[fs,ks,ys]),pt.object({id:pt.string(),createdAt:pt.coerce.date(),label:pt.string().nullish(),description:pt.string().nullish()});var bs=pt.object({id:pt.string(),createdAt:pt.coerce.date(),updatedAt:pt.coerce.date()}),ws=pt.object({name:pt.string(),description:pt.string().optional()}),Ss=pt.enum(["PendingInput","Queued","InProgress","Failed","Success"]),Is=(pt.enum(["Check","Import"]),bs.extend({designSystemId:pt.string(),designSystemVersionId:pt.string(),sourceIds:pt.array(pt.string()),state:Ss,createdByUserId:pt.string().optional(),importContextId:pt.string(),error:pt.string().optional(),sourceType:ps,importContextCleanedUp:pt.boolean()}),pt.object({aliasTo:pt.string().optional().nullable().transform((e=>e??void 0))}));function Ds(e){return Is.extend({value:e.optional().nullable().transform((e=>e??void 0))})}var _s=pt.enum(["Pixels","Percent","Rem","Ms","Raw","Points"]),Ps=Ds(pt.object({unit:_s,measure:pt.number()})),xs=pt.enum(["Layer","Background"]),Cs=Ds(pt.object({type:xs,radius:Ps})),Os=pt.enum(["Pixels","Rem","Percent"]),Bs=Ds(pt.object({unit:Os,measure:pt.number()})),Es=pt.enum(["Pixels"]),Rs=Ds(pt.object({unit:Es,measure:pt.number()})),As=Ds(pt.object({unit:pt.enum(["Raw","Pixels"]),measure:pt.number()})),Ns=Ds(pt.object({opacity:As,color:pt.string().or(Is)})),Vs=pt.enum(["Inside","Center","Outside"]),js=pt.enum(["Dashed","Dotted","Solid","Groove"]),Ms=Ds(pt.object({color:Ns,width:Rs,position:Vs,style:js.optional()})),Ls=(pt.object({value:pt.object({thumbnailImage:pt.object({value:pt.object({url:pt.string(),assetId:pt.string()})}),svg:pt.object({value:pt.object({url:pt.string(),assetId:pt.string()})}).optional()})}),pt.enum(["Color","Border","Gradient","Shadow","Dimension","Duration","Size","Space","Opacity","FontSize","LineHeight","LetterSpacing","ParagraphSpacing","BorderWidth","BorderRadius","Duration","ZIndex","Image","String","ProductCopy","FontFamily","FontWeight","TextDecoration","TextCase","Visibility","Typography","Blur","Font"])),Us=(Ls.options.filter((e=>"Font"!==e)),Ls.or(pt.enum(["Component","Theme","Documentation","DocumentationPage","DesignSystemComponent","ElementGroup","FigmaNodeStructure","FigmaNodeReference","PageBlock"]))),Fs=(pt.enum(["Token","Component","DesignSystemComponent","DocumentationPage","Theme","PageBlock"]),pt.object({isAsset:pt.boolean().nullish().transform((e=>e??!1)),codeName:pt.string().nullish()})),Ws=(pt.object({id:pt.string(),persistentId:pt.string(),designSystemVersionId:pt.string(),type:Us,brandPersistentId:pt.string().optional(),parentPersistentId:pt.string().optional(),shortPersistentId:pt.string().optional(),childType:Us.optional(),sortOrder:pt.number(),origin:pt.record(pt.any()).optional()}).extend({meta:ws,slug:pt.string().optional(),userSlug:pt.string().optional(),createdAt:pt.coerce.date(),updatedAt:pt.coerce.date(),exportProperties:Fs.optional(),data:pt.record(pt.any()),origin:pt.record(pt.any()).optional()}),Ls.or(pt.enum(["Component","DesignSystemComponent","DocumentationPage"])),pt.enum(["Text","Number","Boolean","Select","Generic","Link","URL"])),$s=pt.enum(["Token","Component","DocumentationPage"]),zs=pt.enum(["FigmaComponent","DocumentationPage"]),Gs=pt.object({value:pt.string()}),Hs=pt.object({id:pt.string(),name:pt.string(),backgroundColor:Gs.optional()}),qs=(pt.object({id:pt.string(),designSystemVersionId:pt.string(),persistentId:pt.string(),name:pt.string(),codeName:pt.string(),description:pt.string(),type:Ws,targetElementType:$s,options:pt.array(Hs).optional(),linkElementType:zs.optional()}),Ws.enum,pt.object({id:pt.string(),designSystemVersionId:pt.string(),targetElementPersistentId:pt.string(),definitionPersistentId:pt.string(),stringValue:pt.string().nullish(),numberValue:pt.number().nullish(),booleanValue:pt.boolean().nullish(),referenceValue:pt.string().nullish(),referenceValuePreview:pt.string().optional()}),pt.object({x:pt.number(),y:pt.number()})),Ks=pt.object({width:pt.number().nullish().transform((e=>e??-1)),height:pt.number().nullish().transform((e=>e??-1))}),Zs=Ks.optional().transform((e=>{var t;if(e&&(-1!==(t=e).height||-1!==t.width))return e})),Js=pt.enum(["Info","Primary","Success","Warning","Error"]),Ys=pt.enum(["Text","Heading","Code","UnorderedList","OrderedList","Quote","Callout","Divider","Image","Embed","Link","Shortcuts","FigmaEmbed","YoutubeEmbed","StorybookEmbed","Token","TokenGroup","TokenList","Component","ComponentGroup","Theme","ComponentSandbox","Custom","FigmaFrames","ComponentAssets","RenderCode","Tabs","TabItem","Table","TableRow","TableCell"]),Qs=pt.enum(["Angular","Bash","C","Cpp","Csharp","CSS","Dart","Handlebars","HTML","Java","Javascript","JSON","ReactJSX","ReactTSX","Kotlin","Lua","Markdown","ObjectiveC","PHP","Plain","Python","Ruby","Rust","Sass","SCSS","Svetle","Swift","Twig","Typescript","Vue","XML","YAML"]),Xs=pt.enum(["Left","Center","Stretch","Right"]),ed=pt.enum(["Override","Comparison"]),td=pt.enum(["image","figmaFrame"]),nd=pt.enum(["Center","FrameHeight"]),rd=pt.enum(["C8","C7","C6","C5","C4","C3","C2","C1","C1_75"]),od=pt.object({themeIds:pt.array(pt.string()),type:ed}),id=pt.object({title:Wa(pt.string()),description:Wa(pt.string()),thumbnailUrl:Wa(pt.string())}),ad=pt.object({sourceFileName:Wa(pt.string()),title:Wa(pt.string()),previewUrl:Wa(pt.string()),valid:Wa(pt.boolean()),referenceId:Wa(pt.string()),assetId:Wa(pt.string()),assetScale:Wa(pt.number()),width:Wa(pt.number()),height:Wa(pt.number())}),sd=pt.object({persistentId:pt.string(),sourceId:pt.string(),sourceFrameId:pt.string(),title:Wa(pt.string()),description:Wa(pt.string()),backgroundColor:Wa(Gs),origin:Wa(ad)}),dd=pt.object({type:td,id:Wa(pt.string()),url:Wa(pt.string()),figmaFrame:Wa(sd)}),pd=pt.object({title:Wa(pt.string()),valid:Wa(pt.boolean())}),ld=pt.object({persistentId:pt.string(),title:Wa(pt.string()),description:Wa(pt.string()),asset:Wa(dd),documentationItemId:Wa(pt.string()),url:Wa(pt.string()),urlPreview:Wa(id),documentationItemPreview:Wa(pd)}),cd=(pt.object({asset:Wa(dd),assetId:Wa(pt.string()),assetUrl:Wa(pt.string())}),pt.object({key:pt.string(),value:pt.any()})),ud=pt.object({color:Wa(pt.object({value:pt.string()})),alignment:nd,layout:rd,backgroundColor:Wa(Gs),showTitles:pt.boolean()}),md=pt.object({showCode:pt.boolean()}),hd=pt.object({persistentId:pt.string(),componentAssetId:pt.string(),title:Wa(pt.string()),description:Wa(pt.string()),backgroundColor:Wa(Gs)}),gd=pt.object({id:pt.string(),width:Ps}),fd=pt.object({showBorders:pt.boolean(),showHeaderRow:pt.boolean(),showHeaderColumn:pt.boolean(),columns:pt.array(gd)}),yd=pt.enum(["Bold","Italic","Link","Strikethrough","Code"]),vd=pt.object({type:yd,link:Wa(pt.string()),documentationItemId:Wa(pt.string()),openInNewWindow:Wa(pt.boolean())}),kd=pt.object({text:pt.string(),attributes:pt.array(vd)}),Td=pt.object({spans:pt.array(kd)}),bd=pt.object({persistentId:pt.string(),type:Ys,designObjectId:Wa(pt.string()),designObjectIds:Wa(pt.array(pt.string())),tokenType:Wa(Ls.or(pt.literal("Font"))),showNestedGroups:Wa(pt.boolean()),brandId:Wa(pt.string()),text:Wa(Td),caption:Wa(pt.string()),headingType:Wa(pt.number().min(1).max(3)),codeLanguage:Wa(Qs),calloutType:Wa(Js),urlInput:Wa(pt.string()),url:Wa(pt.string()),urlPreview:Wa(id),asset:Wa(dd),alignment:Wa(Xs),shortcuts:Wa(pt.array(ld)),customBlockKey:Wa(pt.string()),customBlockProperties:Wa(pt.array(cd)),variantKey:Wa(pt.string()),figmaFrameProperties:Wa(ud),figmaFrames:Wa(pt.array(sd)),size:Wa(Ks),backgroundColor:Wa(Gs),renderCodeProperties:Wa(md),componentAssets:Wa(pt.array(hd)),tableProperties:Wa(fd),columnId:Wa(pt.string()),theme:Wa(od),blacklistedElementProperties:Wa(pt.array(pt.string())),userMetadata:Wa(pt.string())}),wd=bd.extend({children:pt.lazy((()=>wd.array().nullish().transform((e=>e??[]))))}),Sd=pt.enum(["DocumentationItem","PageHeading","Url"]),Id=pt.enum(["Resource","FigmaNode"]),Dd=pt.enum(["Left","Center","Stretch"]),_d=pt.enum(["Left","Center","Right"]),Pd=pt.enum(["Centered","NaturalHeight"]),xd=pt.enum(["Split","Override"]),Cd=pt.object({resourceId:pt.string(),url:pt.string()}),Od=pt.object({sourceId:pt.string(),frameReferenceId:pt.string()}),Bd=pt.object({type:Id,resource:Cd.optional(),figmaNode:Od.optional()}),Ed=pt.object({value:pt.string(),referencedTokenId:pt.string().optional()}),Rd=pt.object({title:pt.string().optional(),description:pt.string().optional(),backgroundColor:Ed.optional()}),Ad=pt.object({title:pt.string().optional(),description:pt.string().optional(),backgroundColor:Ed.optional()}),Nd=pt.object({itemBackgroundColor:Ed.optional(),numberOfColumns:pt.number().optional()}),Vd=pt.object({value:pt.any()}).and(pt.record(pt.any())),jd=pt.object({type:Sd,documentationItemId:pt.string().optional(),pageHeadingId:pt.string().optional(),url:pt.string().optional(),openInNewTab:pt.boolean().optional()}),Md=pt.object({id:pt.string(),linksTo:jd.optional(),props:pt.record(Vd)}),Ld=pt.object({packageId:pt.string(),variantId:pt.string().optional(),indentLevel:pt.number(),appearance:Nd.optional(),items:pt.array(Md)}),Ud=pt.object({selectedPropertyIds:pt.array(pt.string()).optional(),showSearch:pt.boolean().optional(),previewContainerSize:Pd.optional(),backgroundColor:Ed.optional(),value:pt.array(pt.object({entityId:pt.string(),entityType:pt.enum(["Asset","AssetGroup"]),entityMeta:Rd.optional()})).default([])}),Fd=pt.object({value:pt.array(pt.string()).default([])}),Wd=pt.object({value:pt.boolean()}),$d=pt.object({format:Qs.optional(),caption:pt.string().optional(),value:pt.string()}),zd=pt.object({showCode:pt.boolean().optional(),showControls:pt.boolean().optional(),backgroundColor:pt.string().optional(),alignPreview:pt.enum(["Left","Center"]).optional(),previewHeight:pt.number().optional(),value:pt.string()}),Gd=pt.record(pt.any()),Hd=pt.object({selectedPropertyIds:pt.array(pt.string()).optional(),value:pt.array(pt.object({entityId:pt.string(),entityType:pt.enum(["Component","ComponentGroup"])})).default([])}),qd=pt.object({value:pt.string()}),Kd=pt.object({}),Zd=pt.object({value:pt.string().optional(),caption:pt.string().optional(),height:pt.number().optional(),openGraph:pt.object({title:pt.string().optional(),description:pt.string().optional(),imageUrl:pt.string().optional()}).optional()}),Jd=pt.object({showSearch:pt.boolean().optional(),previewContainerSize:Pd.optional(),backgroundColor:Ed.optional(),showFrameDetails:pt.boolean().optional(),value:pt.array(pt.object({entityId:pt.string(),entityMeta:Ad.optional()})).default([])}),Yd=pt.object({alt:pt.string().optional(),caption:pt.string().optional(),alignment:Dd.optional(),value:Bd.optional()}),Qd=pt.object({value:pt.string()}),Xd=pt.object({value:Td.array()}),ep=pt.object({value:pt.array(pt.string()).default([])}),tp=pt.object({value:pt.number()}),np=pt.object({value:Td,calloutType:Js.optional()}),rp=pt.object({value:pt.string()}),op=pt.object({caption:pt.string().optional(),height:pt.number().optional(),embedUrl:pt.string().optional(),value:pt.string().optional()}),ip=pt.object({value:pt.string()}),ap=pt.object({selectedPropertyIds:pt.array(pt.string()).optional(),selectedThemeIds:pt.array(pt.string()).optional(),themeDisplayMode:xd.optional(),value:pt.array(pt.object({entityId:pt.string(),entityType:pt.enum(["Token","TokenGroup"]),entityMeta:pt.object({showNestedGroups:pt.boolean().optional()}).optional()})).default([])}),sp=pt.object({selectedPropertyIds:pt.array(pt.string()).optional(),selectedThemeIds:pt.array(pt.string()).optional(),value:pt.array(pt.string()).default([])}),dp=pt.object({value:pt.array(Ls).default([])}),pp=pt.object({value:pt.string()}),lp=pt.object({type:pt.literal("RichText"),id:pt.string(),value:np.shape.value}),cp=(pt.object({type:pt.literal("MultiRichText"),value:Xd.shape.value}),pt.object({type:pt.literal("Image"),id:pt.string(),caption:Yd.shape.caption,value:Yd.shape.value})),up=pt.discriminatedUnion("type",[lp,cp]),mp=pt.object({id:pt.string(),nodes:pt.array(up),columnWidth:pt.number().optional(),alignment:_d}),hp=pt.object({cells:pt.array(mp)}),gp=pt.object({highlightHeaderColumn:pt.boolean().optional(),highlightHeaderRow:pt.boolean().optional(),showBorder:pt.boolean().optional(),value:pt.array(hp).default([])}),fp=pt.enum(["Left","Center"]),yp=pt.enum(["AspectFill","AspectFit"]),vp=fp.enum,kp=yp.enum,Tp=pt.object({description:pt.string(),alignment:fp,foregroundColor:Ns.nullish(),backgroundColor:Ns.nullish(),backgroundImageAsset:dd.nullish(),backgroundImageScaleType:yp,showBackgroundOverlay:pt.boolean(),showCoverText:pt.boolean(),minHeight:pt.number().nullish()}),bp=(vp.Left,kp.AspectFill,pt.object({showSidebar:pt.boolean(),header:Tp})),wp=pt.object({blocks:pt.array(wd),configuration:Wa(bp)}),Sp=pt.object({description:pt.string(),alignment:fp,foregroundColor:Ed.nullish(),backgroundColor:Ed.nullish(),backgroundImageAsset:Bd.nullish(),backgroundImageScaleType:yp,showBackgroundOverlay:pt.boolean(),showCoverText:pt.boolean(),minHeight:pt.number().nullish()}),Ip={alignment:vp.Left,backgroundImageScaleType:kp.AspectFill,description:"",showBackgroundOverlay:!1,showCoverText:!0},Dp=pt.object({showSidebar:pt.boolean(),header:Sp}),_p=pt.object({configuration:Wa(Dp)}),Pp=pt.object({id:pt.string(),sourceId:pt.string(),name:pt.string()}),xp=pt.object({id:pt.string(),persistentId:pt.string(),meta:ws,designSystemVersionId:pt.string(),createdAt:pt.coerce.date(),updatedAt:pt.coerce.date()}),Cp=(xp.extend({origin:Pp}),pt.object({parentPersistentId:pt.string().optional(),sortOrder:pt.number()})),Op=(xp.extend(Cp.shape),Cp.extend({parentPersistentId:pt.string()})),Bp=pt.object({brandPersistentId:pt.string()}),Ep=pt.object({slug:pt.string().optional(),userSlug:pt.string().optional()}),Rp=(xp.extend(Op.shape).extend({data:Ld}),pt.object({id:pt.string(),type:pt.literal("Block"),data:Ld})),Ap=pt.enum(["Tabs"]),Np=pt.object({id:pt.string(),blocks:pt.array(Rp)}),Vp=pt.object({id:pt.string(),title:pt.string(),columns:pt.array(Np)}),jp=pt.object({top:pt.number().optional(),bottom:pt.number().optional(),left:pt.number().optional(),right:pt.number().optional()}),Mp=pt.object({expandToEdges:pt.boolean(),contentExpandToEdges:pt.boolean(),backgroundColor:Ed.optional(),foregroundColor:Ed.optional(),padding:jp.optional()}),Lp=pt.object({id:pt.string(),type:pt.literal("Section"),variantId:pt.string().optional(),sectionType:Ap,appearance:Mp,items:pt.array(Vp)}),Up=pt.enum(["Ms"]),Fp=Ds(pt.object({unit:Up,measure:pt.number()})),Wp=pt.enum(["DOCUMENT","CANVAS","FRAME","COMPONENT","COMPONENT_SET"]),$p=pt.object({id:pt.string(),name:pt.string(),type:Wp,size:Zs,parentComponentSetId:pt.string().optional()}),zp=$p.extend({children:pt.lazy((()=>zp.array()))}),Gp=pt.object({frames:pt.number().nullable().optional().transform((e=>e??0)),components:pt.number().nullable().optional().transform((e=>e??0)),componentSets:pt.number().nullable().optional().transform((e=>e??0))}),Hp=(pt.object({value:pt.object({structure:zp,assetsInFile:Gp})}),pt.object({structureElementId:pt.string(),nodeId:pt.string(),fileId:pt.string().optional(),valid:pt.boolean(),assetId:pt.string().optional(),assetScale:pt.number().optional(),assetWidth:pt.number().optional(),assetHeight:pt.number().optional(),assetUrl:pt.string().optional(),assetOriginKey:pt.string().optional()})),qp=(pt.object({value:Hp}),Ds(pt.string())),Kp=pt.enum(["Pixels","Rem","Percent"]),Zp=Ds(pt.object({unit:Kp,measure:pt.number()})),Jp=Ds(pt.string()),Yp=pt.enum(["Linear","Radial","Angular"]),Qp=pt.object({position:pt.number(),color:Ns}),Xp=Ds(pt.object({from:qs,to:qs,type:Yp,aspectRatio:Wa(pt.number()),stops:pt.array(Qp).min(2)})),el=Ds(pt.array(Xp)),tl=pt.enum(["Group","Tabs"]),nl=pt.object({behavior:Wa(tl.optional()),configuration:Wa(bp)}),rl=pt.object({behavior:Wa(tl.optional()),configuration:Wa(Dp)}),ol=pt.enum(["Pixels","Rem","Percent"]),il=Ds(pt.object({unit:ol,measure:pt.number()})),al=pt.enum(["Pixels","Rem","Percent","Raw"]),sl=Ds(pt.object({unit:al,measure:pt.number()})),dl=pt.enum(["Pixels","Rem","Percent"]),pl=Ds(pt.object({unit:dl,measure:pt.number()})),ll=pt.enum(["Pixels","Rem","Percent"]),cl=Ds(pt.object({unit:ll,measure:pt.number()})),ul=Ds(pt.string()),ml="x-sn-reserved-",hl=(pt.string().refine((e=>!e.startsWith(ml)),{message:`ID value can't start with ${ml}`}),pt.enum(["Drop","Inner"])),gl=Ds(pt.object({color:Ns,x:pt.number(),y:pt.number(),radius:pt.number(),spread:pt.number(),opacity:As.optional(),type:hl})),fl=Ds(pt.array(gl)),yl=pt.enum(["Pixels","Rem","Percent"]),vl=Ds(pt.object({unit:yl,measure:pt.number()})),kl=pt.enum(["Pixels","Rem","Percent"]),Tl=Ds(pt.object({unit:kl,measure:pt.number()})),bl=Ds(pt.string()),wl=Ds(pt.enum(["Original","Upper","Lower","Camel","SmallCaps"])),Sl=Ds(pt.enum(["None","Underline","Strikethrough"])),Il=Ds(pt.object({fontSize:Zp,fontFamily:qp,fontWeight:Jp,textDecoration:Sl,textCase:wl,letterSpacing:il.optional(),lineHeight:sl.optional(),paragraphIndent:pl.optional(),paragraphSpacing:cl.optional()})),Dl=Ds(pt.enum(["Hidden","Visible"])),_l=pt.enum(["Raw"]),Pl=Ds(pt.object({unit:_l,measure:pt.number()})),xl=pt.object({nodeId:pt.string().optional(),width:pt.number().optional(),height:pt.number().optional()}),Cl=pt.object({assetId:pt.string(),assetPath:pt.string()}),Ol=Pp.extend(xl.shape),Bl=(xp.extend(Op.shape).extend(Bp.shape).extend({origin:Ol.optional(),thumbnail:Cl,svg:Cl.optional(),isAsset:pt.boolean()}),xp.extend(Cp.shape).extend(Ep.shape).extend(Bp.partial().shape).extend({shortPersistentId:pt.string().optional(),childType:Us,data:rl.optional()})),El=(Bl.extend(Bp.shape),xp.extend(Op.shape).extend(Ep.shape).extend({shortPersistentId:pt.string(),data:wp})),Rl=(Bl.omit({data:!0}).extend({data:nl.optional()}),xp.extend(Op.shape).extend(Ep.shape).extend({shortPersistentId:pt.string(),data:_p.extend({oldBlocks:pt.array(wd).optional()})})),Al=pt.object({sourceId:pt.string(),fileId:pt.string().optional()}),Nl=pt.object({rootNode:zp,assetsInFile:Gp}),Vl=xp.extend({origin:Al,data:Nl}),jl=pt.object({sourceId:pt.string()}),Ml=(xp.extend({data:Hp,origin:jl}),pt.object({referenceOriginId:pt.string().optional(),referencePersistentId:pt.string().optional()})),Ll=Pp.extend(Ml.shape),Ul=xp.extend(Op.shape).extend(Bp.shape).extend({origin:Ll.optional()}),Fl=Ul.omit({id:!0,createdAt:!0,updatedAt:!0}),Wl=(Ul.omit({id:!0,createdAt:!0,updatedAt:!0,persistentId:!0,brandPersistentId:!0,designSystemVersionId:!0}),pt.object({type:pt.literal("Blur"),data:Cs})),$l=pt.object({type:pt.literal("Color"),data:Ns}),zl=pt.object({type:pt.literal("Gradient"),data:el}),Gl=pt.object({type:pt.literal("Opacity"),data:As}),Hl=pt.object({type:pt.literal("Shadow"),data:fl}),ql=pt.object({type:pt.literal("Typography"),data:Il}),Kl=pt.object({type:pt.literal("String"),data:bl}),Zl=pt.object({type:pt.literal("Dimension"),data:Ps}),Jl=pt.object({type:pt.literal("FontSize"),data:Zp}),Yl=pt.object({type:pt.literal("FontFamily"),data:qp}),Ql=pt.object({type:pt.literal("FontWeight"),data:Jp}),Xl=pt.object({type:pt.literal("LetterSpacing"),data:il}),ec=pt.object({type:pt.literal("LineHeight"),data:sl}),tc=pt.object({type:pt.literal("ParagraphSpacing"),data:cl}),nc=pt.object({type:pt.literal("TextCase"),data:wl}),rc=pt.object({type:pt.literal("TextDecoration"),data:Sl}),oc=pt.object({type:pt.literal("BorderRadius"),data:Bs}),ic=pt.object({type:pt.literal("BorderWidth"),data:Rs}),ac=pt.object({type:pt.literal("Border"),data:Ms}),sc=pt.object({type:pt.literal("ProductCopy"),data:ul}),dc=pt.object({type:pt.literal("Size"),data:vl}),pc=pt.object({type:pt.literal("Space"),data:Tl}),lc=pt.object({type:pt.literal("Visibility"),data:Dl}),cc=pt.object({type:pt.literal("ZIndex"),data:Pl}),uc=pt.object({type:pt.literal("Duration"),data:Fp}),mc=pt.object({type:pt.literal("Font"),data:pt.record(pt.any())}),hc=pt.discriminatedUnion("type",[Wl,oc,ic,ac,$l,Zl,uc,Jl,Yl,Ql,zl,Xl,ec,Gl,tc,sc,Hl,dc,pc,Kl,nc,rc,ql,lc,cc,mc]),gc=(hc.and(Ul),hc.and(Fl),Ml),fc=Ll,yc=hc.and(pt.object({tokenPersistentId:pt.string(),origin:fc.optional().nullable().transform((e=>e??void 0))})),vc=(pt.object({value:pt.object({overrides:pt.array(yc)})}),pt.object({}),pt.object({id:pt.string(),name:pt.string()})),kc=pt.object({sourceId:pt.string(),sourceObjects:pt.array(vc)}),Tc=pt.object({sources:pt.array(kc)}),bc=(xp.extend(Bp.shape).extend({origin:Tc.optional(),overrides:pt.array(yc)}),pt.object({styles:pt.boolean(),components:pt.boolean(),currentVersion:pt.literal("__latest__").nullable(),publishedVersion:pt.string().nullable(),downloadChunkSize:pt.number().optional(),maxFileDepth:pt.number().optional()})),wc=pt.object({accessToken:pt.string()}),Sc=(pt.object({importJobId:pt.string(),importContextId:pt.string(),designSystemId:pt.string().optional()}),pt.object({sourceId:pt.string(),figmaRemote:fs})),Ic=pt.object({designSystemId:pt.string(),fileAccessByFileId:pt.record(wc),importedSourceDataBySourceId:pt.record(Sc)}).extend({sourcesWithMissingAccess:pt.array(pt.string()).default([]),shadowOpacityOptional:pt.boolean().default(!1)}),Dc=Sc.extend({importMetadata:gs}),_c=(Ic.extend({fileDownloadScopesByFileId:pt.record(bc),changedImportedSourceDataBySourceId:pt.record(Dc)}),pt.enum(["Url","FigmaRender"])),Pc=pt.object({scope:os}),xc=Pc.extend({type:pt.literal(_c.enum.Url),url:pt.string(),originKey:pt.string(),extension:pt.string()}),Cc=pt.enum(["Svg","Png"]),Oc=Pc.extend({type:pt.literal(_c.enum.FigmaRender),fileId:pt.string(),fileVersionId:pt.string().optional(),nodeId:pt.string(),originKey:pt.string()}),Bc=Oc.extend({format:pt.literal(Cc.enum.Png),scale:pt.number()}),Ec=Oc.extend({format:pt.literal(Cc.enum.Svg)}),Rc=pt.discriminatedUnion("format",[Bc,Ec]),Ac=pt.union([xc,Rc]),Nc=pt.object({id:pt.string(),meta:ws,origin:Pp,brandPersistentId:pt.string(),sortOrder:pt.number()}),Vc=Nc.omit({brandPersistentId:!0,origin:!0,sortOrder:!0}).extend({originId:pt.string(),originMetadata:pt.record(pt.any())}),jc=pt.object({thumbnail:Ac}),Mc=Nc.extend(jc.shape).extend({isAsset:pt.boolean(),svg:Ec.optional(),origin:Ol}),Lc=Vc.extend(jc.shape).extend({originMetadata:xl}),Uc=Vc.extend(jc.shape).extend({svg:Ec,originMetadata:xl}),Fc=hc.and(pt.object({id:pt.string(),meta:ws})),Wc=Fc.and(pt.object({origin:fc})),$c=Fc.and(pt.object({originId:pt.string(),originMetadata:gc})),zc=pt.object({meta:ws,brandPersistentId:pt.string(),originSource:kc,overrides:pt.array(Wc),sortOrder:pt.number()}),Gc=pt.object({meta:ws,originObjects:pt.array(vc),overrides:pt.array($c)}),Hc=pt.object({themePersistentId:pt.string(),overrides:pt.array(Wc)}),qc=pt.object({themePersistentId:pt.string(),overrides:pt.array($c)}),Kc=pt.object({collection:pt.string().optional()}),Zc=Nc.extend(Kc.shape).extend({origin:Ll}),Jc=Vc.extend(Kc.shape).extend({originMetadata:Ml}),Yc=hc.and(Zc),Qc=hc.and(Jc),Xc=$p.extend({image:Bc}).extend({children:pt.lazy((()=>Xc.array()))}),eu=pt.object({data:pt.object({rootNode:Xc,assetsInFile:Gp})}),tu=Nc.extend(eu.shape).extend({origin:Al}),nu=Vc.extend(eu.shape).extend({fileVersionId:pt.string()}),ru=pt.object({id:pt.string(),fileName:pt.string().optional(),thumbnailUrl:pt.string().optional()}),ou=(pt.object({source:ru,tokens:pt.array(Qc).default([]),components:pt.array(Lc).default([]),assets:pt.array(Uc).default([]),themeUpdates:pt.array(qc).default([]),themes:pt.array(Gc).default([]),figmaFileStructure:nu.optional()}),pt.object({sources:pt.array(ru),tokens:pt.array(Yc).default([]),components:pt.array(Mc).default([]),themeUpdates:pt.array(Hc).default([]),themes:pt.array(zc).default([]),figmaFileStructures:pt.array(tu)}),pt.enum(["NoVersionFound","UnsupportedFill","UnsupportedStroke","UnsupportedEffect","NoPublishedElements","NoPublishedStyles","NoPublishedComponents","NoPublishedAssets","StyleNotApplied","ComponentHasNoThumbnail","DuplicateImportedStyleId","DuplicateImportedStylePath"])),iu=pt.object({warningType:ou,componentId:pt.string().optional(),componentName:pt.string().optional(),styleId:pt.string().optional(),styleName:pt.string().optional(),unsupportedStyleValueType:pt.string().optional()}),au=pt.object({frames:cu(),components:cu(),componentSets:cu()}),su=Ls.or(pt.enum(["Measure","Radius","GenericToken","Font","Text"])),du=pt.record(su,pt.number()),pu=pt.object({tokensCreated:cu(),tokensUpdated:cu(),tokensDeleted:cu(),tokensCreatedPerType:du.nullish().transform((e=>e??{})),tokensUpdatedPerType:du.nullish().transform((e=>e??{})),tokensDeletedPerType:du.nullish().transform((e=>e??{}))}),lu=pt.object({componentsCreated:cu(),componentsUpdated:cu(),componentsDeleted:cu(),componentAssetsCreated:cu(),componentAssetsUpdated:cu(),componentAssetsDeleted:cu()});function cu(){return pt.number().nullish().transform((e=>e??0))}pt.object({assetsInFile:Wa(au.optional()),invalidReferencesCount:Wa(pt.number().optional())}),pt.object({sourceId:Wa(pt.string()),brandId:Wa(pt.string()),versionId:Wa(pt.string()),error:Wa(pt.any()),isFailed:pt.boolean(),warnings:pt.array(iu).nullish().transform((e=>e??[])),...pu.shape,...lu.shape,...au.shape});var uu=pt.object({isBordered:pt.boolean().optional(),hasBackground:pt.boolean().optional(),isEditorPresentationDifferent:pt.boolean().optional(),showBlockHeaderInEditor:pt.boolean().optional()}),mu=pt.enum(["Column","Row"]),hu=pt.enum(["Small","Medium","Large","None"]),gu=pt.enum(["Start","Center","End"]),fu=pt.enum(["Fill","Hug"]),yu=pt.object({type:mu,gap:hu.optional(),columnAlign:gu.optional(),columnResizing:fu.optional()}).extend({children:pt.lazy((()=>pt.array(yu.or(pt.string()))))}),vu=pt.object({id:pt.string(),name:pt.string(),image:pt.string().optional(),description:pt.string().optional(),documentationLink:pt.string().optional(),layout:yu,maxColumns:pt.number().optional(),defaultColumns:pt.number().optional(),appearance:uu.optional()}),ku=pt.enum(["RichText","MultiRichText","Text","Boolean","Number","SingleSelect","MultiSelect","Image","Token","TokenType","TokenProperty","Component","ComponentProperty","Asset","AssetProperty","FigmaNode","EmbedURL","URL","Markdown","Code","CodeSandbox","Table","Divider","Storybook","Color"]),Tu=pt.enum(["Title1","Title2","Title3","Title4","Title5","Quote","Callout","Default"]),bu=pt.enum(["OL","UL","Default"]),wu=pt.enum(["Title1","Title2","Title3","Title4","Title5","Default","DefaultBold","DefaultSemibold","Small","SmallBold","SmallSemibold","Custom"]),Su=pt.enum(["Neutral","NeutralFaded"]),Iu=pt.enum(["SegmentedControl","ToggleButton","Checkbox"]),Du=pt.enum(["SegmentedControl","ToggleButton","Select","Checkbox"]),_u=(pt.enum(["SegmentedControl","Select","Checkbox"]),pt.enum(["Auto","Square","Landscape","Portrait","Wide"])),Pu=pt.enum(["Full","Icon","Small","Medium","Large","Poster"]),xu=pt.object({value:pt.string(),name:pt.string(),icon:pt.string().optional()}),Cu=pt.record(pt.any()),Ou=pt.object({richTextStyle:Tu.optional()}),Bu=pt.object({multiRichTextStyle:bu.optional()}),Eu=(pt.object({placeholder:pt.string().optional(),defaultValue:pt.string().optional(),textStyle:wu.optional(),color:Su.optional()}),pt.object({singleSelectStyle:Du.optional(),defaultChoice:pt.string(),choices:pt.array(xu)}),pt.object({width:Pu.optional(),aspectRatio:_u.optional(),allowCaption:pt.boolean().optional(),recommendation:pt.string().optional()}),pt.object({defaultvalue:pt.boolean().optional(),booleanStyle:Iu.optional()}),pt.object({defaultValue:pt.number(),min:pt.number().optional(),max:pt.number().optional(),step:pt.number().optional(),placeholder:pt.string().optional()}),pt.object({renderLayoutAs:pt.enum(["List","Table"]).optional(),allowPropertySelection:pt.boolean().optional()}),pt.object({id:pt.string(),name:pt.string(),type:ku,description:pt.string().optional(),options:Cu.optional(),variantOptions:pt.record(Cu).optional()})),Ru=pt.object({properties:pt.array(Eu),appearance:uu.optional(),variants:pt.array(vu),defaultVariantKey:pt.string()}),Au=pt.enum(["Text","Layout","Media","Embed","Figma","Code","Guidelines","Tokens","Components","Assets","Data","Other"]),Nu=pt.enum(["Item","Token","Asset","Component","FigmaNode"]),Vu=pt.enum(["Entity","Group","EntityAndGroup"]),ju=pt.object({dataType:Nu,items:pt.object({numberOfItems:pt.number(),allowLinks:pt.boolean()}).optional(),entities:pt.object({selectionType:Vu,maxSelected:pt.number()}).optional()}),Mu=pt.object({helpText:pt.string(),documentationLink:pt.string().optional()}),Lu=pt.object({id:pt.string(),name:pt.string(),description:pt.string(),category:Au,icon:pt.string().optional(),documentationLink:pt.string().optional(),searchKeywords:pt.array(pt.string()).optional(),item:Ru,behavior:ju,editorOptions:pt.object({onboarding:Mu.optional()}),appearance:uu.optional()}),Uu=(pt.object({type:pt.literal("ElementGroup"),childType:pt.literal("DocumentationPage"),id:pt.string(),persistentId:pt.string(),shortPersistentId:pt.string(),designSystemVersionId:pt.string(),parentPersistentId:pt.string().nullish(),sortOrder:pt.number(),title:pt.string(),slug:pt.string(),userSlug:pt.string().nullish(),createdAt:pt.coerce.date(),updatedAt:pt.coerce.date()}),pt.object({title:pt.string().optional(),description:pt.string().optional(),thumbnail:Bd.optional()})),Fu=(pt.object({id:pt.string(),designSystemVersionId:pt.string(),createdAt:pt.coerce.date(),updatedAt:pt.coerce.date(),documentationPageId:pt.string(),documentationPageName:pt.string(),storagePath:pt.string()}),pt.discriminatedUnion("type",[Rp,Lp])),Wu=pt.object({items:pt.array(Fu)}),$u=(pt.object({id:pt.string(),designSystemVersionId:pt.string(),createdAt:pt.coerce.date(),updatedAt:pt.coerce.date(),documentationPageId:pt.string(),data:Wu,isDirty:pt.boolean()}),pt.object({type:pt.literal("DocumentationPage"),id:pt.string(),persistentId:pt.string(),shortPersistentId:pt.string(),designSystemVersionId:pt.string(),parentPersistentId:pt.string().nullish(),sortOrder:pt.number(),title:pt.string(),slug:pt.string(),userSlug:pt.string().nullish(),createdAt:pt.coerce.date(),updatedAt:pt.coerce.date()}),bs.extend({designSystemVersionId:pt.string(),liveblocksId:pt.string()}),pt.object({routingVersion:pt.string()})),zu=(pt.object({pages:pt.array(Rl),groups:pt.array(Bl),internalSettings:$u}),pt.object({pages:pt.array(Rl),groups:pt.array(Bl),deletedPageIds:pt.array(pt.string()),deletedGroupIds:pt.array(pt.string())}),bs.extend({designSystemVersionId:pt.string(),documentationPageId:pt.string(),liveblocksId:pt.string(),isDirty:pt.boolean()}),pt.object({pageItems:pt.array(Rp.or(Lp)),itemConfiguration:Dp}),pt.object({page:Rl,pageParent:Bl}).extend({pageItems:pt.array(Rp.or(Lp)),blockDefinitions:pt.array(Lu)}),(e=>(e.DocumentationPage="documentation-page",e.DesignSystemVersion="design-system-version",e))(zu||{})),Gu=(pt.nativeEnum(zu).enum,pt.enum(["Name","Description","Value","UpdatedAt"])),Hu=(pt.union([pt.literal("BaseProperty"),pt.literal("PropertyDefinition"),pt.literal("Theme")]),pt.object({id:pt.string(),persistentId:pt.string(),elementDataViewId:pt.string(),sortPosition:pt.number(),width:pt.number()})),qu=Hu.extend({type:pt.literal("BaseProperty"),basePropertyType:Gu}),Ku=Hu.extend({type:pt.literal("PropertyDefinition"),propertyDefinitionId:pt.string()}),Zu=Hu.extend({type:pt.literal("Theme"),themeId:pt.string()}),Ju=(pt.discriminatedUnion("type",[qu,Ku,Zu]),pt.object({id:pt.string(),persistentId:pt.string(),designSystemVersionId:pt.string(),name:pt.string(),description:pt.string(),targetElementType:$s,isDefault:pt.boolean()}),pt.object({id:pt.string(),designSystemVersionId:pt.string(),persistentId:pt.string(),name:pt.string(),description:pt.string()}),pt.enum(["Basic","Bearer","None","Custom"])),Yu=pt.enum(["NPMJS","GitHub","AzureDevOps","Artifactory","Custom"]),Qu=pt.object({authType:pt.literal(Ju.Enum.Basic),username:pt.string(),password:pt.string()}),Xu=pt.object({authType:pt.literal(Ju.Enum.Bearer),accessToken:pt.string()}),em=pt.object({authType:pt.literal(Ju.Enum.None)}),tm=pt.object({authType:pt.literal(Ju.Enum.Custom),authHeaderName:pt.string(),authHeaderValue:pt.string()}),nm=pt.discriminatedUnion("authType",[Qu,Xu,em,tm]),rm=pt.object({registryType:Yu,enabledScopes:pt.array(pt.string()),customRegistryUrl:pt.string().optional(),bypassProxy:pt.boolean().default(!1),npmProxyRegistryConfigId:pt.string().optional(),npmProxyVersion:pt.number().optional()}).and(nm),om=pt.object({providerId:pt.string(),defaultAutoInviteValue:pt.boolean(),autoInviteDomains:pt.record(pt.string(),pt.boolean()),skipDocsSupernovaLogin:pt.boolean(),areInvitesDisabled:pt.boolean(),isTestMode:pt.boolean(),emailDomains:pt.array(pt.string()),metadataXml:pt.string().nullish()}),im=pt.enum(["Owner","Admin","Creator","Viewer","Billing","Guest"]),am=im.enum,sm=pt.object({email:pt.string().email().trim().transform((e=>e.toLowerCase())),role:im}),dm=pt.array(sm).max(100),pm=pt.object({isEnabled:pt.boolean(),name:pt.string(),range:pt.string().refine((e=>lt.isValidAddress(e)),{message:"Invalid IP CIDR"})}),lm=pt.object({isEnabledForCloud:pt.boolean(),isEnabledForDocs:pt.boolean(),entries:pt.array(pm)}),cm=pt.object({name:pt.string(),handle:pt.string(),color:pt.string(),avatar:Wa(pt.string()),billingDetails:Wa(za)}),um=pt.object({id:pt.string(),profile:cm,subscription:ns,ipWhitelist:Wa(lm),sso:Wa(om),npmRegistrySettings:Wa(rm),designSystems:pt.array(hm).nullish()}),mm=(pt.object({workspace:um,designSystems:pt.array(hm)}),pt.object({workspaceId:pt.string(),product:Qa,ipWhitelist:Wa(lm),publicDesignSystem:pt.boolean().optional()}),pt.object({name:pt.string().min(2).max(64).trim(),product:Qa,priceId:pt.string(),billingEmail:pt.string().email().optional(),handle:pt.string().regex(/^[a-z0-9][a-z0-9-]*[a-z0-9]$/).min(2).max(64).refine((e=>e?.length>0)).optional(),invites:dm.optional(),promoCode:pt.string().optional(),status:es.optional(),planInterval:Ya.optional(),seats:pt.number().optional(),seatLimit:pt.number().optional(),card:Fa.optional(),sso:om.optional(),npmRegistrySettings:rm.optional(),ipWhitelist:lm.optional()}),pt.object({id:pt.string(),email:pt.string().email(),createdAt:pt.coerce.date(),resentAt:pt.coerce.date().nullish(),role:pt.nativeEnum(am),workspaceId:pt.string(),invitedBy:pt.string()}),pt.object({id:pt.string(),userId:pt.string(),workspaceId:pt.string(),workspaceRole:pt.nativeEnum(am)}),pt.object({members:pt.array(pt.object({userId:pt.string(),role:pt.nativeEnum(am)}))}),pt.object({isEnabled:pt.boolean(),designSystemIds:pt.array(pt.string())})),hm=pt.object({id:pt.string(),workspaceId:pt.string(),name:pt.string(),description:pt.string(),docExporterId:Wa(pt.string()),docSlug:pt.string(),docUserSlug:Wa(pt.string()),docSlugDeprecated:pt.string(),isPublic:pt.boolean(),isMultibrand:pt.boolean(),docViewUrl:Wa(pt.string()),basePrefixes:pt.array(pt.string()),designSystemSwitcher:Wa(mm),createdAt:pt.coerce.date(),updatedAt:pt.coerce.date()}),gm=(pt.object({designSystem:hm,workspace:um}),pt.object({name:pt.string().min(2).max(64).trim(),description:pt.string().min(2).max(64).trim()})),fm=(pt.object({meta:gm,workspaceId:pt.string(),isPublic:pt.boolean().optional(),basePrefixes:pt.array(pt.string()).optional(),docUserSlug:pt.string().nullish().optional(),source:pt.array(pt.string()).optional()}),pt.object({name:pt.string().min(2).max(64).trim().optional(),description:pt.string().min(2).max(64).trim().optional()})),ym=(pt.object({meta:fm.optional(),workspaceId:pt.string().optional(),isPublic:pt.boolean().optional(),basePrefixes:pt.array(pt.string()).optional(),docUserSlug:pt.string().nullish().optional(),source:pt.array(pt.string()).optional(),name:pt.string().min(2).max(64).trim().optional(),description:pt.string().min(2).max(64).trim().optional(),docExporterId:pt.string().optional()}),pt.enum(["Live","Preview"])),vm=pt.record(pt.string()),km=pt.enum(["1","2"]),Tm=(pt.object({id:pt.string(),designSystemVersionId:pt.string(),createdAt:pt.coerce.date(),updatedAt:pt.coerce.date(),lastPublishedAt:pt.coerce.date(),isDefault:pt.boolean(),isPublic:pt.boolean(),environment:ym,checksums:vm,storagePath:pt.string(),wasMigrated:pt.boolean(),routingVersion:km,usesLocalizations:pt.boolean(),wasPublishedWithLocalizations:pt.boolean()}),pt.object({id:pt.string(),version:pt.string(),createdAt:pt.date(),designSystemId:pt.string(),name:pt.string(),comment:pt.string(),isReadonly:pt.boolean(),changeLog:pt.string(),parentId:pt.string().optional()}),pt.enum(["s3","webhookUrl","github","documentation","azure","gitlab"])),bm=pt.enum(["InProgress","Success","Failed","Timeout"]),wm=pt.enum(["success","info","warning","error","user"]),Sm=pt.object({id:pt.string().optional(),time:pt.coerce.date(),type:wm,message:pt.string()}),Im=pt.object({pullRequestUrl:pt.string()}),Dm=pt.object({bucket:pt.string(),urlPrefix:pt.string().optional(),path:pt.string(),files:pt.array(pt.string())}),_m=pt.object({url:pt.string()}),Pm=pt.object({error:pt.string().optional(),logs:pt.array(Sm).optional(),s3:Dm.optional(),github:Im.optional(),azure:Im.optional(),gitlab:Im.optional(),bitbucket:Im.optional(),sndocs:_m.optional()}),xm=pt.object({environment:ym}),Cm=pt.object({}),Om=pt.object({connectionId:pt.string(),url:pt.string(),branch:pt.string(),relativePath:pt.string(),userId:pt.coerce.string()}),Bm=pt.object({connectionId:pt.string(),organizationId:pt.string(),projectId:pt.string(),repositoryId:pt.string(),branch:pt.string(),relativePath:pt.string(),userId:pt.coerce.string(),url:pt.string()}),Em=pt.object({connectionId:pt.string(),projectId:pt.string(),branch:pt.string(),relativePath:pt.string(),userId:pt.coerce.string(),url:pt.string()}),Rm=/^[-a-zA-Z0-9~]*$/,Am=pt.object({connectionId:pt.string(),workspaceSlug:pt.string().max(64).regex(Rm),projectKey:pt.string().max(64).regex(Rm),repoSlug:pt.string().max(64).regex(Rm),branch:pt.string(),relativePath:pt.string(),userId:pt.coerce.string(),url:pt.string()}),Nm=(pt.object({id:pt.coerce.string(),createdAt:pt.coerce.date(),finishedAt:pt.coerce.date().optional(),designSystemId:pt.coerce.string(),designSystemVersionId:pt.coerce.string(),workspaceId:pt.coerce.string(),scheduleId:pt.coerce.string().nullish(),exporterId:pt.coerce.string(),brandId:pt.coerce.string().optional(),themeId:pt.coerce.string().optional(),estimatedExecutionTime:pt.number().optional(),status:bm,result:Pm.optional(),createdByUserId:pt.string().optional(),webhookUrl:pt.string().optional(),destinationSnDocs:xm.optional(),destinationS3:Cm.optional(),destinationGithub:Om.optional(),destinationAzure:Bm.optional(),destinationGitlab:Em.optional(),destinationBitbucket:Am.optional()}).pick({exporterId:!0,designSystemVersionId:!0,destinations:!0,createdByUserId:!0,status:!0,scheduleId:!0,designSystemId:!0,themeId:!0,brandId:!0}).extend({destinations:pt.array(Tm),docsEnvironment:ym}).partial(),pt.enum(["Owner","OwnerArchived","User"])),Vm=(pt.object({id:pt.string(),workspaceId:pt.string(),exporterId:pt.string(),role:Nm}),(e=>(e.Azure="azure",e.Github="github",e.Gitlab="gitlab",e.Bitbucket="bitbucket",e))(Vm||{})),jm=pt.nativeEnum(Vm),Mm=pt.enum(["string","number","boolean","image","enum","color","typography","component","componentProperties","tokenProperties","tokenType"]),Lm=pt.object({label:pt.string(),key:pt.string(),description:pt.string().nullish(),type:Mm,values:pt.array(pt.string()).nullish(),default:pt.union([pt.string(),pt.boolean(),pt.number()]).nullish(),inputType:pt.enum(["code","plain"]).optional(),isMultiline:pt.boolean().nullish()}),Um=Lm.extend({category:pt.string()}),Fm=pt.object({key:pt.string(),name:pt.string(),isDefault:Wa(pt.boolean()),description:Wa(pt.string()),thumbnailURL:Wa(pt.string())}),Wm=pt.object({title:Wa(pt.string()),key:pt.string(),category:Wa(pt.string()),description:Wa(pt.string()),iconURL:Wa(pt.string()),mode:Wa(pt.enum(["array","block"])),properties:Wa(pt.array(Lm)).transform((e=>e??[]))}),$m=pt.enum(["code","documentation"]),zm=pt.enum(["git","upload"]),Gm=pt.string().regex(/^[0-9a-zA-Z]+(\s[0-9a-zA-Z]+)*$/),Hm=pt.object({description:pt.string(),version:pt.string(),routingVersion:Wa(pt.string()),author:Wa(pt.string()),organization:Wa(pt.string()),homepage:Wa(pt.string()),readme:Wa(pt.string()),tags:Wa(pt.array(Gm)).default([]),packageId:Wa(pt.string().max(255)),iconURL:Wa(pt.string()),configurationProperties:Wa(pt.array(Um)).default([]),customBlocks:Wa(pt.array(Wm)).default([]),blockVariants:Wa(pt.record(pt.string(),pt.array(Fm))).default({}),usesBrands:Wa(pt.boolean()).default(!1),usesThemes:Wa(pt.boolean()).default(!1),source:zm,gitProvider:Wa(jm),gitUrl:Wa(pt.string()),gitBranch:Wa(pt.string()),gitDirectory:Wa(pt.string())}),qm=(pt.object({id:pt.string(),createdAt:pt.coerce.date(),name:pt.string(),isPrivate:pt.boolean(),details:Hm,exporterType:Wa($m).default("code"),storagePath:Wa(pt.string()).default("")}),pt.object({id:pt.string(),designSystemId:pt.string(),state:pt.string(),supernovaDomain:pt.string(),customerDomain:pt.string().nullish(),error:pt.string().nullish(),errorCode:pt.string().nullish()}),pt.union([pt.literal("OAuth2"),pt.literal("PAT")])),Km=(pt.union([pt.literal("figma"),pt.literal("github"),pt.literal("azure"),pt.literal("gitlab"),pt.literal("bitbucket")]),pt.object({id:pt.string(),handle:pt.string().optional(),avatarUrl:pt.string().optional(),email:pt.string().optional(),authType:qm.optional(),customUrl:pt.string().optional()})),Zm=pt.object({figma:Km.optional(),github:Km.array().optional(),azure:Km.array().optional(),gitlab:Km.array().optional(),bitbucket:Km.array().optional()}),Jm=(pt.object({id:pt.string(),userId:pt.string()}),pt.enum(["Design","Engineering","Brand","Other"])),Ym=pt.enum(["Executive","Manager","IndividualContributor","Other"]),Qm=pt.object({companyName:pt.string().optional(),numberOfPeopleInOrg:pt.string().optional(),numberOfPeopleInDesignTeam:pt.string().optional(),department:Jm.optional(),jobTitle:pt.string().optional(),phase:pt.string().optional(),jobLevel:Ym.optional()}),Xm=pt.object({name:pt.string(),avatar:pt.string().optional(),nickname:pt.string().optional(),onboarding:Qm.optional()}),eh=pt.object({id:pt.string(),email:pt.string(),emailVerified:pt.boolean(),createdAt:pt.coerce.date(),trialExpiresAt:pt.coerce.date().optional(),profile:Xm,linkedIntegrations:Zm.optional(),loggedOutAt:pt.coerce.date().optional(),isProtected:pt.boolean()}),th=pt.object({access:pt.string(),expiresAt:pt.number()}),nh=pt.object({returnToUrl:pt.string().optional(),npmProxyToken:th.optional()}),rh=pt.object({id:pt.string(),expiresAt:pt.coerce.date(),userId:pt.string().nullable(),data:nh}),oh=(pt.object({access:pt.string(),refresh:pt.string()}),pt.object({session:rh,user:eh.nullable()}),pt.enum(["FigmaImporterV2","ShadowOpacityOptional"])),ih=(pt.record(oh,pt.boolean()),pt.object({id:pt.string(),feature:oh,createdAt:pt.coerce.date(),enabled:pt.boolean(),designSystemId:pt.string().optional()}),(e=>(e.Figma="figma",e.Azure="azure",e.Github="github",e.Gitlab="gitlab",e.Bitbucket="bitbucket",e))(ih||{})),ah=pt.nativeEnum(ih),sh=(ah.enum,pt.object({id:pt.string(),provider:ah,userId:pt.string(),state:pt.string(),createdAt:pt.coerce.date()}),pt.object({id:pt.string(),provider:ah,scope:pt.string(),userId:pt.string(),accessToken:pt.string(),refreshToken:pt.string(),expiresAt:pt.coerce.date(),externalUserId:pt.string().nullish()}),pt.record(pt.any())),dh=sh.and(pt.object({tarball:pt.string()})),ph=sh.and(pt.object({dist:dh})),lh=(sh.and(pt.object({_id:pt.string(),name:pt.string(),"dist-tags":pt.record(pt.string(),pt.string()),versions:pt.record(ph)})),pt.object({npmProxyRegistryConfigId:pt.string()}),pt.object({id:pt.string(),userId:pt.string(),name:pt.string(),token:pt.string(),createdAt:pt.coerce.date(),hidden:pt.boolean(),workspaceId:pt.string().optional(),workspaceRole:im.optional(),expireAt:pt.coerce.date().optional(),scope:pt.string().optional()}),class e extends Error{constructor(e,t){super(`${e}: ${t}`),this.type=e}static wrongFormat(t){return new e("WrongFormat",t)}static accessDenied(t){return new e("AccessDenied",t)}static tooMuchWork(t){return new e("TooMuchWork",t)}static notFound(t){return new e("ResourceNotFound",t)}static timeout(t){return new e("Timeout",t)}static conflict(t){return new e("Conflict",t)}static notImplemented(t){return new e("NotImplemented",t)}static wrongActionOrder(t){return new e("WrongActionOrder",t)}static invalidOperation(t){return new e("InvalidOperation",t)}static shouldNotHappen(t){return new e("UnexpectedError",t)}static ipRestricted(t){return new e("IPRestricted",t)}static planRestricted(t){return new e("PlanRestricted",t)}static missingWorkspacePermission(t){return new e("MissingWorkspacePermission",t)}static missingExporterPermission(t){return new e("MissingExporterPermission",t)}static missingIntegration(t){return new e("AccessDenied",t)}static noAccess(t){return new e("NoAccess",t)}static badRequest(t){return new e("BadRequest",t)}});function ch(e,t){const n=new Map;for(const r of e)n.set(t(r),r);return n}function uh(e,t){const n=new Map;for(const r of e){const e=t(r),o=n.get(e);o?o.push(r):n.set(e,[r])}return n}var mh=pt.object({from:pt.string(),to:pt.string(),authorizationHeaderKvsId:pt.string().optional(),timeout:pt.number().optional()});function hh(e,t){const n=ct(e??"",t);return n?.length>0?n:"item"}function gh(e,t){const n=vh(t,e);return e.map((e=>yh(e,n)))}function fh(e,t){const n=vh(t,e);return e.map((e=>({...yh(e,n),configuration:e.data?.configuration??{showSidebar:!0,header:Ip}})))}function yh(e,t){const n=t.get(e.persistentId)??[];if(!e.shortPersistentId)throw new Error(`Short persistent id is required for docs groups, group id: ${e.id}`);return{id:e.id,designSystemVersionId:e.designSystemVersionId,persistentId:e.persistentId,slug:e.slug,userSlug:e.userSlug,createdAt:e.createdAt,updatedAt:e.updatedAt,title:e.meta.name,childrenIds:n,isRoot:!e.parentPersistentId,groupBehavior:e.data?.behavior??"Group",shortPersistentId:e.shortPersistentId,type:"Group"}}function vh(e,t){const n=uh([...e,...t],(e=>e.parentPersistentId)),r=new Map;for(const[e,t]of n)e&&(t.sort(((e,t)=>e.sortOrder-t.sortOrder)),r.set(e,t.map((e=>e.persistentId))));return r}function kh(e,t,n){const r=ch(e,(e=>e.persistentId)),o=new Map;for(const e of t){const t=Th(e.parentPersistentId,r);let i=`${e.userSlug||e.slug}.html`,a=`${hh(e.meta.name)}-${e.shortPersistentId}`;for(const e of t)e.parentPersistentId&&(i=`${e.userSlug||e.slug}/${i}`,a=`${hh(e.meta.name)}/${a}`);i=`/${i}`,a=`/${a}`,"2"===n?o.set(e.persistentId,a):o.set(e.persistentId,i)}return o}function Th(e,t){const n=[];let r=e;for(;r;){const e=t.get(r);e&&n.push(e),r=e?.parentPersistentId}return n}function bh(e,t,n){const r=kh(t,e,n);return e.map((e=>Sh(e,r)))}function wh(e,t,n){const r=kh(t,e,n);return e.map((e=>({...Sh(e,r),configuration:e.data.configuration??{showSidebar:!0,header:Ip}})))}function Sh(e,t){let n=t.get(e.persistentId);if(!n)throw new Error(`Path for page ${e.id} was not calculated`);return n.startsWith("/")&&(n=n.substring(1)),{id:e.id,designSystemVersionId:e.designSystemVersionId,persistentId:e.persistentId,shortPersistentId:e.shortPersistentId,title:e.meta.name,slug:e.slug,userSlug:e.userSlug,createdAt:e.createdAt,updatedAt:e.updatedAt,path:n,type:"Page"}}function Ih(e,t,n){return{pages:bh(e,t,n),groups:gh(t,e)}}pt.object({type:pt.literal("Single"),instruction:mh}).or(pt.object({type:pt.literal("Multiple"),loadingChunkSize:pt.number().optional(),instructions:pt.array(mh)})).or(pt.object({type:pt.literal("S3"),location:pt.string()})),new Set(["workspaces","workspace","api0","api1","api2","custom","x-sn-reserved","0","about","access","account","accounts","activate","activities","activity","ad","add","address","adm","admin","administration","administrator","ads","adult","advertising","affiliate","affiliates","ajax","all","alpha","analysis","analytics","android","anon","anonymous","api","app","apps","archive","archives","article","asct","asset","assets","atom","auth","authentication","avatar","backup","balancer-manager","banner","banners","beta","billing","bin","blog","blogs","board","book","bookmark","bot","bots","bug","business","cache","cadastro","calendar","call","campaign","cancel","captcha","career","careers","cart","categories","category","cgi","cgi-bin","changelog","chat","check","checking","checkout","client","cliente","clients","code","codereview","comercial","comment","comments","communities","community","company","compare","compras","config","configuration","connect","contact","contact-us","contact_us","contactus","contest","contribute","corp","create","css","dashboard","data","db","default","delete","demo","design","designer","destroy","dev","devel","developer","developers","diagram","diary","dict","dictionary","die","dir","direct_messages","directory","dist","doc","docs","documentation","domain","download","downloads","ecommerce","edit","editor","edu","education","email","employment","empty","end","enterprise","entries","entry","error","errors","eval","event","exit","explore","facebook","faq","favorite","favorites","feature","features","feed","feedback","feeds","file","files","first","flash","fleet","fleets","flog","follow","followers","following","forgot","form","forum","forums","founder","free","friend","friends","ftp","gadget","gadgets","game","games","get","ghost","gift","gifts","gist","github","graph","group","groups","guest","guests","help","home","homepage","host","hosting","hostmaster","hostname","howto","hpg","html","http","httpd","https","i","iamges","icon","icons","id","idea","ideas","image","images","imap","img","index","indice","info","information","inquiry","instagram","intranet","invitations","invite","ipad","iphone","irc","is","issue","issues","it","item","items","java","javascript","job","jobs","join","js","json","jump","knowledgebase","language","languages","last","ldap-status","legal","license","link","links","linux","list","lists","log","log-in","log-out","log_in","log_out","login","logout","logs","m","mac","mail","mail1","mail2","mail3","mail4","mail5","mailer","mailing","maintenance","manager","manual","map","maps","marketing","master","me","media","member","members","message","messages","messenger","microblog","microblogs","mine","mis","mob","mobile","movie","movies","mp3","msg","msn","music","musicas","mx","my","mysql","name","named","nan","navi","navigation","net","network","new","news","newsletter","nick","nickname","notes","noticias","notification","notifications","notify","ns","ns1","ns10","ns2","ns3","ns4","ns5","ns6","ns7","ns8","ns9","null","oauth","oauth_clients","offer","offers","official","old","online","openid","operator","order","orders","organization","organizations","overview","owner","owners","page","pager","pages","panel","password","payment","perl","phone","photo","photoalbum","photos","php","phpmyadmin","phppgadmin","phpredisadmin","pic","pics","ping","plan","plans","plugin","plugins","policy","pop","pop3","popular","portal","post","postfix","postmaster","posts","pr","premium","press","price","pricing","privacy","privacy-policy","privacy_policy","privacypolicy","private","product","products","profile","project","projects","promo","pub","public","purpose","put","python","query","random","ranking","read","readme","recent","recruit","recruitment","register","registration","release","remove","replies","report","reports","repositories","repository","req","request","requests","reset","roc","root","rss","ruby","rule","sag","sale","sales","sample","samples","save","school","script","scripts","search","secure","security","self","send","server","server-info","server-status","service","services","session","sessions","setting","settings","setup","share","shop","show","sign-in","sign-up","sign_in","sign_up","signin","signout","signup","site","sitemap","sites","smartphone","smtp","soporte","source","spec","special","sql","src","ssh","ssl","ssladmin","ssladministrator","sslwebmaster","staff","stage","staging","start","stat","state","static","stats","status","store","stores","stories","style","styleguide","stylesheet","stylesheets","subdomain","subscribe","subscriptions","suporte","support","svn","swf","sys","sysadmin","sysadministrator","system","tablet","tablets","tag","talk","task","tasks","team","teams","tech","telnet","term","terms","terms-of-service","terms_of_service","termsofservice","test","test1","test2","test3","teste","testing","tests","theme","themes","thread","threads","tmp","todo","tool","tools","top","topic","topics","tos","tour","translations","trends","tutorial","tux","tv","twitter","undef","unfollow","unsubscribe","update","upload","uploads","url","usage","user","username","users","usuario","vendas","ver","version","video","videos","visitor","watch","weather","web","webhook","webhooks","webmail","webmaster","website","websites","welcome","widget","widgets","wiki","win","windows","word","work","works","workshop","ww","wws","www","www1","www2","www3","www4","www5","www6","www7","wwws","wwww","xfn","xml","xmpp","xpg","xxx","yaml","year","yml","you","yourdomain","yourname","yoursite","yourusername","latest","live","preview","learn","supernova","super-nova"]);var Dh={showSidebar:!0,header:{alignment:vp.Left,backgroundImageScaleType:kp.AspectFill,description:"",showBackgroundOverlay:!1,showCoverText:!0}};function _h(e){const{header:t,showSidebar:n}=e,{backgroundColor:r,foregroundColor:o,...i}=t;return{showSidebar:n,header:{...i,backgroundColor:Ph(r??void 0),foregroundColor:Ph(o??void 0)}}}function Ph(e){if(e){if(e.aliasTo)return{aliasTo:e.aliasTo};if(e.value)return"string"==typeof e.value?{value:e.value}:"string"==typeof e.value.color?{value:e.value.color}:void 0}}function xh(e,t){const n=Bh(t,e);return e.map((e=>Oh(e,n)))}function Ch(e,t){const n=Bh(t,e);return e.map((e=>({...Oh(e,n),configuration:e.data?.configuration?_h(e.data.configuration):Dh})))}function Oh(e,t){const n=t.get(e.persistentId)??[];if(!e.shortPersistentId)throw new Error(`Short persistent id is required for docs groups, group id: ${e.id}`);return{id:e.id,designSystemVersionId:e.designSystemVersionId,persistentId:e.persistentId,slug:e.slug,userSlug:e.userSlug,createdAt:e.createdAt,updatedAt:e.updatedAt,title:e.meta.name,childrenIds:n,isRoot:!e.parentPersistentId,groupBehavior:e.data?.behavior??"Group",shortPersistentId:e.shortPersistentId,type:"Group"}}function Bh(e,t){const n=uh([...e,...t],(e=>e.parentPersistentId)),r=new Map;for(const[e,t]of n)e&&(t.sort(((e,t)=>e.sortOrder-t.sortOrder)),r.set(e,t.map((e=>e.persistentId))));return r}function Eh(e,t,n){const r=kh(t,e,n);return e.map((e=>{let t=r.get(e.persistentId);if(!t)throw lh.conflict(`Path for page ${e.id} was not calculated`);return t.startsWith("/")&&(t=t.substring(1)),{id:e.id,designSystemVersionId:e.designSystemVersionId,persistentId:e.persistentId,shortPersistentId:e.shortPersistentId,title:e.meta.name,blocks:e.data.blocks,slug:e.slug,userSlug:e.userSlug,configuration:e.data.configuration?_h(e.data.configuration):Dh,createdAt:e.createdAt,updatedAt:e.updatedAt,path:t}}))}var Rh=pt.object({id:pt.string(),designSystemVersionId:pt.string(),persistentId:pt.string(),meta:ws}),Ah=pt.object({brand:Rh}),Nh=pt.object({brands:pt.array(Rh)}),Vh=hm.omit({name:!0,description:!0}).extend({meta:ws}),jh=pt.object({id:pt.string(),createdAt:pt.date(),meta:ws,version:pt.string(),isReadonly:pt.boolean(),changeLog:pt.string(),designSystemId:pt.string()}),Mh=pt.object({designSystemVersions:pt.array(jh)}),Lh=pt.object({designSystemVersion:jh}),Uh=pt.object({id:pt.string(),persistentId:pt.string(),width:pt.number()}),Fh=Uh.extend({type:pt.literal("BaseProperty"),basePropertyType:Gu}),Wh=Uh.extend({type:pt.literal("PropertyDefinition"),propertyDefinitionId:pt.string()}),$h=Uh.extend({type:pt.literal("Theme"),themeId:pt.string()}),zh=pt.discriminatedUnion("type",[Fh,Wh,$h]),Gh=pt.object({meta:ws,persistentId:pt.string(),targetElementType:$s,id:pt.string(),isDefault:pt.boolean(),columns:pt.array(zh)}),Hh=pt.object({elementDataViews:pt.array(Gh)}),qh=pt.object({linkPreview:Uu}),Kh=pt.object({url:pt.string().optional(),documentationItemPersistentId:pt.string().optional()}),Zh=Bl.omit({sortOrder:!0,parentPersistentId:!0,brandPersistentId:!0,meta:!0,childType:!0,data:!0,shortPersistentId:!0}).extend({title:pt.string(),isRoot:pt.boolean(),childrenIds:pt.array(pt.string()),groupBehavior:tl,shortPersistentId:pt.string(),type:pt.literal("Group")}),Jh=Zh.extend({configuration:Dp}),Yh=pt.object({persistentId:pt.string().uuid(),title:pt.string(),configuration:Dp.optional(),afterPersistentId:pt.string().uuid().optional(),parentPersistentId:pt.string().uuid()}),Qh=pt.object({id:pt.string(),title:pt.string().optional(),configuration:Dp.optional()}),Xh=pt.object({id:pt.string(),parentPersistentId:pt.string().uuid(),afterPersistentId:pt.string().uuid().optional()}),eg=pt.object({id:pt.string(),persistentId:pt.string().uuid(),afterPersistentId:pt.string().uuid().optional(),parentPersistentId:pt.string().uuid()}),tg=pt.object({persistentId:pt.string().uuid(),fromItemPersistentId:pt.string(),tabName:pt.string()}),ng=pt.object({id:pt.string()}),rg=pt.object({id:pt.string(),deleteSubtree:pt.boolean().default(!1)}),og=pt.object({success:pt.literal(!0)}),ig=pt.object({type:pt.literal("DocumentationGroupCreate"),output:og}),ag=pt.object({type:pt.literal("DocumentationTabCreate"),output:og}),sg=pt.object({type:pt.literal("DocumentationGroupUpdate"),output:og}),dg=pt.object({type:pt.literal("DocumentationGroupMove"),output:og}),pg=pt.object({type:pt.literal("DocumentationGroupDuplicate"),output:og}),lg=pt.object({type:pt.literal("DocumentationGroupDelete"),output:og}),cg=pt.object({type:pt.literal("DocumentationTabGroupDelete"),output:og}),ug=pt.object({type:pt.literal("DocumentationGroupCreate"),input:Yh}),mg=pt.object({type:pt.literal("DocumentationTabCreate"),input:tg}),hg=pt.object({type:pt.literal("DocumentationGroupUpdate"),input:Qh}),gg=pt.object({type:pt.literal("DocumentationGroupMove"),input:Xh}),fg=pt.object({type:pt.literal("DocumentationGroupDuplicate"),input:eg}),yg=pt.object({type:pt.literal("DocumentationGroupDelete"),input:rg}),vg=pt.object({type:pt.literal("DocumentationTabGroupDelete"),input:ng}),kg=pt.object({aliasTo:pt.string().optional(),value:pt.string().optional()}),Tg=Tp.omit({foregroundColor:!0,backgroundColor:!0}).extend({foregroundColor:kg.optional(),backgroundColor:kg.optional()}),bg=pt.object({showSidebar:pt.boolean(),header:Tg}),wg=Bl.omit({sortOrder:!0,parentPersistentId:!0,brandPersistentId:!0,meta:!0,childType:!0,data:!0,shortPersistentId:!0}).extend({title:pt.string(),isRoot:pt.boolean(),childrenIds:pt.array(pt.string()),groupBehavior:tl,shortPersistentId:pt.string(),type:pt.literal("Group")}),Sg=wg.extend({configuration:bg}),Ig=Rl.omit({data:!0,meta:!0,parentPersistentId:!0,sortOrder:!0}).extend({title:pt.string(),path:pt.string(),type:pt.literal("Page")}),Dg=Ig.extend({configuration:Dp}),_g=pt.object({pages:pt.array(Ig),groups:pt.array(Zh)}),Pg=pt.object({persistentId:pt.string().uuid(),title:pt.string(),configuration:Dp.optional(),parentPersistentId:pt.string().uuid(),afterPersistentId:pt.string().uuid().optional()}),xg=pt.object({id:pt.string(),title:pt.string().optional(),configuration:Dp.optional()}),Cg=pt.object({id:pt.string(),parentPersistentId:pt.string().uuid(),afterPersistentId:pt.string().uuid().optional()}),Og=pt.object({id:pt.string(),persistentId:pt.string().uuid(),parentPersistentId:pt.string().uuid(),afterPersistentId:pt.string().uuid().optional()}),Bg=pt.object({id:pt.string()}),Eg=pt.object({success:pt.literal(!0)}),Rg=pt.object({type:pt.literal("DocumentationPageCreate"),output:Eg}),Ag=pt.object({type:pt.literal("DocumentationPageUpdate"),output:Eg}),Ng=pt.object({type:pt.literal("DocumentationPageMove"),output:Eg}),Vg=pt.object({type:pt.literal("DocumentationPageDuplicate"),output:Eg}),jg=pt.object({type:pt.literal("DocumentationPageDelete"),output:Eg}),Mg=pt.object({type:pt.literal("DocumentationPageCreate"),input:Pg}),Lg=pt.object({type:pt.literal("DocumentationPageUpdate"),input:xg}),Ug=pt.object({type:pt.literal("DocumentationPageMove"),input:Cg}),Fg=pt.object({type:pt.literal("DocumentationPageDuplicate"),input:Og}),Wg=pt.object({type:pt.literal("DocumentationPageDelete"),input:Bg}),$g=El.omit({data:!0,meta:!0,parentPersistentId:!0,sortOrder:!0}).extend({configuration:bg,blocks:pt.array(wd),title:pt.string(),path:pt.string()}),zg=pt.object({figmaNodeId:pt.string(),isValid:pt.boolean(),assetId:pt.string(),assetUrl:pt.string(),assetScale:pt.number(),assetWidth:pt.number().optional(),assetHeight:pt.number().optional()}),Gg=Vl.omit({data:!0}).extend({data:zg}),Hg=pt.object({sourceId:pt.string(),figmaFileNodeId:pt.string()}),qg=pt.object({type:pt.literal("FigmaNodeRender"),figmaNodes:pt.array(Gg)}),Kg=pt.object({type:pt.literal("FigmaNodeRender"),input:Hg.array()}),Zg=pt.object({id:pt.string(),designSystemVersionId:pt.string(),meta:ws,persistentId:pt.string(),type:Ws,targetElementType:$s,codeName:pt.string(),options:pt.array(Hs).optional(),linkElementType:zs.optional()}),Jg=pt.object({definitions:pt.array(Zg)}),Yg=pt.object({id:pt.string(),designSystemVersionId:pt.string(),definitionId:pt.string(),targetElementId:pt.string(),value:pt.union([pt.string(),pt.number(),pt.boolean()]).optional(),valuePreview:pt.string().optional()}),Qg=pt.object({values:pt.array(Yg)}),Xg=pt.discriminatedUnion("type",[Rg,Ag,Ng,Vg,jg,ig,ag,sg,dg,pg,lg,cg,qg]),ef=pt.discriminatedUnion("type",[Mg,Lg,Ug,Fg,Wg,ug,mg,hg,gg,fg,yg,vg,Kg]),tf=pt.enum(["FigmaNode"]),nf=pt.object({types:pt.string().transform((e=>e.split(",").map((e=>tf.parse(e)))))}),rf=pt.object({figmaNodes:pt.array(Gg).optional()}),of=pt.object({registryType:Yu,registryUrl:pt.string(),customRegistryUrl:pt.string().optional(),proxyUrl:pt.string(),authType:Ju,accessToken:pt.literal("redacted").optional(),username:pt.string().optional(),password:pt.literal("redacted").optional(),enabledScopes:pt.array(pt.string()),bypassProxy:pt.boolean()}),af=pt.object({id:pt.string(),profile:cm,subscription:ns,npmRegistry:of.optional()}),sf=pt.enum(["Owner","Admin","Creator","Viewer","Billing"]),df=pt.object({workspace:af,role:sf,effectiveRole:sf}),pf=pt.object({membership:pt.array(df)}),lf=pt.object({definitions:pt.array(Lu)}),cf=pt.object({room:pt.string()}),uf=["providerId","metadataXml","emailDomains"];function mf(e){const t=[];let n=!0;if(!e)return n=!0,{valid:n,keys:[]};for(const r of Object.keys(e))uf.includes(r)&&(t.push(r),n=!1);return{valid:n,keys:t}}var hf=pt.object({enabledScopes:pt.array(pt.string()),customRegistryUrl:pt.string().optional(),bypassProxy:pt.boolean().optional(),npmProxyRegistryConfigId:pt.string().optional(),npmProxyVersion:pt.number().optional(),registryType:pt.string(),authType:pt.string(),authHeaderName:pt.string(),authHeaderValue:pt.string(),accessToken:pt.string(),username:pt.string(),password:pt.string()}),gf=pt.object({ipWhitelist:lm.partial().optional(),sso:om.partial().optional(),npmRegistrySettings:hf.partial().optional(),profile:cm.partial().optional()}),ff=pt.object({routingVersion:pt.string()});function yf(e,t){return e.transact((e=>{const n=kf(e.doc);t.pageIdsToDelete.forEach((e=>{n.delete(e)})),t.pages.forEach((e=>{const t={...e,data:{}};n.set(e.id,JSON.parse(JSON.stringify(t)))}));const r=Tf(e.doc);t.groupIdsToDelete.forEach((e=>{r.delete(e)})),t.groups.forEach((e=>{const t={...e,data:{behavior:e.data?.behavior}};r.set(e.id,JSON.parse(JSON.stringify(t)))})),t.internalSettings&&function(e,t){bf(e).set("routingVersion",t.routingVersion)}(e.doc,t.internalSettings)})),e}function vf(e){const t=kf(e),n=Tf(e),r=[];t.forEach((e=>{r.push(Rl.parse(e))}));const o=[];n.forEach((e=>{o.push(Bl.parse(e))}));const i=function(e){const t={routingVersion:bf(e).get("routingVersion")},n=ff.safeParse(t);return n.success?n.data:{routingVersion:"2"}}(e);return Ih(r,o,i.routingVersion??"2")}function kf(e){return e.getMap("documentationPages")}function Tf(e){return e.getMap("documentationGroups")}function bf(e){return e.getMap("documentationInternalSettings")}var wf=pt.object({title:pt.string(),configuration:Dp}),Sf=pt.object({title:pt.string().optional(),configuration:Dp.omit({header:!0}).extend({header:Sp.partial()}).optional()});function If(e,t){e.transact((e=>{const{title:n,configuration:r}=t,o=r?.header;if(void 0!==n&&e.doc.getMap("itemTitle").set("title",n),o){const t=e.doc.getMap("itemHeader");void 0!==o.description&&t.set("description",o.description),void 0!==o.alignment&&t.set("alignment",o.alignment),void 0!==o.foregroundColor&&t.set("foregroundColor",o.foregroundColor),void 0!==o.backgroundColor&&t.set("backgroundColor",o.backgroundColor),void 0!==o.backgroundImageAsset&&t.set("backgroundImageAsset",o.backgroundImageAsset),void 0!==o.backgroundImageScaleType&&t.set("backgroundImageScaleType",o.backgroundImageScaleType),void 0!==o.showBackgroundOverlay&&t.set("showBackgroundOverlay",o.showBackgroundOverlay),void 0!==o.showCoverText&&t.set("showCoverText",o.showCoverText),void 0!==o.minHeight&&t.set("minHeight",o.minHeight)}void 0!==r?.showSidebar&&e.doc.getMap("itemConfiguration").set("showSidebar",r.showSidebar)}))}function Df(e){const t=e.getMap("itemTitle").get("title"),n=e.getMap("itemHeader"),r={description:n.get("description"),alignment:n.get("alignment"),foregroundColor:n.get("foregroundColor"),backgroundColor:n.get("backgroundColor"),backgroundImageAsset:n.get("backgroundImageAsset"),backgroundImageScaleType:n.get("backgroundImageScaleType"),showBackgroundOverlay:n.get("showBackgroundOverlay"),showCoverText:n.get("showCoverText"),minHeight:n.get("minHeight")},o={showSidebar:e.getMap("itemConfiguration").get("showSidebar"),header:r};return{title:pt.string().parse(t),configuration:Dp.parse(o)}}var _f=Rp,Pf=Lp,xf=pt.object({blocks:pt.array(_f.or(Pf))}),Cf=new class{constructor(e){this.cached=Object.create(null);let t=this.spec={};for(let n in e)t[n]=e[n];t.nodes=mt.from(e.nodes),t.marks=mt.from(e.marks||{}),this.nodes=tn.compile(this.spec.nodes,this),this.marks=rn.compile(this.spec.marks,this);let n=Object.create(null);for(let e in this.nodes){if(e in this.marks)throw new RangeError(e+" can not be both a node and a mark");let t=this.nodes[e],r=t.spec.content||"",o=t.spec.marks;t.contentMatch=n[r]||(n[r]=$t.parse(r,this.nodes)),t.inlineContent=t.contentMatch.inlineContent,t.markSet="_"==o?null:o?on(this,o.split(" ")):""!=o&&t.inlineContent?null:[]}for(let e in this.marks){let t=this.marks[e],n=t.spec.excludes;t.excluded=null==n?[t]:""==n?[]:on(this,n.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,t=null,n,r){if("string"==typeof e)e=this.nodeType(e);else{if(!(e instanceof tn))throw new RangeError("Invalid node type: "+e);if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}return e.createChecked(t,n,r)}text(e,t){let n=this.nodes.text;return new Ft(n,n.defaultAttrs,e,Tt.setFrom(t))}mark(e,t){return"string"==typeof e&&(e=this.marks[e]),e.create(t)}nodeFromJSON(e){return Ut.fromJSON(this,e)}markFromJSON(e){return Tt.fromJSON(this,e)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}({nodes:{paragraph:{content:"inline*",group:"block",attrs:{id:{default:null},definitionId:{default:"io.supernova.block.rich-text"},variantId:{default:"default"}},parseDOM:[{tag:"p"}]},reactComponent:{group:"block",atom:!0,draggable:!0,attrs:{count:{default:0}},parseDOM:[{tag:"react-component"}]},tableRow:{tableRole:"row",content:"(tableCell | tableHeader)*",parseDOM:[{tag:"tr"}]},table:{tableRole:"table",content:"tableRow+",group:"defaultTable",isolating:!0,parseDOM:[{tag:"table"}]},tableCell:{tableRole:"cell",content:"block+",isolating:!0,attrs:{id:{default:null},textAlign:{default:"left"},colspan:{default:1},rowspan:{default:1},colwidth:{default:null}},parseDOM:[{tag:"td"}]},tableHeader:{tableRole:"header_cell",content:"block+",isolating:!0,attrs:{id:{default:null},textAlign:{default:"left"},colspan:{default:1},rowspan:{default:1},colwidth:{default:null}},parseDOM:[{tag:"th"}]},tableContainer:{content:"table",group:"block",atom:!0,draggable:!1,defining:!0,attrs:{id:{default:null},definitionId:{default:"io.supernova.block.table"},variantId:{default:"default"},hasBorder:{default:!0}},parseDOM:[{tag:"tableContainer"}]},hardBreak:{group:"inline",inline:!0,selectable:!1,parseDOM:[{tag:"br"}]},text:{group:"inline"},heading:{content:"inline*",group:"block",defining:!0,attrs:{id:{default:null},level:{default:1},definitionId:{default:null},variantId:{default:null}},parseDOM:[{tag:"h1",attrs:{level:1,definitionId:"io.supernova.block.title1",variantId:"default"}},{tag:"h2",attrs:{level:2,definitionId:"io.supernova.block.title2",variantId:"default"}},{tag:"h3",attrs:{level:3,definitionId:"io.supernova.block.title3",variantId:"default"}},{tag:"h4",attrs:{level:4,definitionId:"io.supernova.block.title4",variantId:"default"}},{tag:"h5",attrs:{level:5,definitionId:"io.supernova.block.title5",variantId:"default"}}]},listItem:{content:"paragraph list{0,1}",defining:!0,attrs:{id:{default:null}},parseDOM:[{tag:"li"}]},orderedList:{content:"listItem+",group:"block list",attrs:{id:{default:null},definitionId:{default:"io.supernova.block.ordered-list"},variantId:{default:"default"},start:{default:1}},parseDOM:[{tag:"ol"}]},bulletList:{content:"listItem+",group:"block list",attrs:{id:{default:null},definitionId:{default:"io.supernova.block.unordered-list"},variantId:{default:"default"}},parseDOM:[{tag:"ul"}]},horizontalRule:{group:"block",attrs:{id:{default:null},definitionId:{default:"io.supernova.block.divider"},variantId:{default:"default"}},parseDOM:[{tag:"div.node-horizontalRule"},{tag:"hr"}]},blockquote:{content:"inline*",group:"block",draggable:!0,defining:!0,attrs:{id:{default:null},definitionId:{default:"io.supernova.block.blockquote"},variantId:{default:"default"}},parseDOM:[{tag:"blockquote"}]},plainSection:{content:"sectionItem",group:"section",atom:!0,draggable:!1,isolating:!0,attrs:{id:{default:null}},parseDOM:[{tag:"section",attrs:{"data-section-type":"plain"}}]},tabsSection:{content:"sectionItem+",group:"section",atom:!0,draggable:!1,isolating:!0,attrs:{id:{default:null},variantId:{default:null}},parseDOM:[{tag:"div"}]},sectionItem:{content:"sectionItemColumn{1, 3}",group:"sectionItem",atom:!0,selectable:!1,draggable:!1,isolating:!0,attrs:{id:{default:null},title:{default:""}},parseDOM:[{tag:"section-item"}]},sectionItemColumn:{content:"block+",group:"sectionItemColumn",atom:!0,selectable:!1,draggable:!1,isolating:!0,attrs:{id:{default:null}},parseDOM:[{tag:"section-item-column"}]},doc:{content:"(block|section)+"},callout:{content:"inline*",group:"block",draggable:!0,defining:!0,attrs:{id:{default:null},definitionId:{default:"io.supernova.block.callout"},variantId:{default:"default"},type:{default:"neutral"}},parseDOM:[{tag:"callout"}]},blockNode:{group:"block",atom:!0,draggable:!0,attrs:{id:{default:null},definitionId:{default:null},variantId:{default:null},appearance:{default:"{}"},columns:{default:1},items:{default:"[]"}},parseDOM:[{tag:"block-node"}]},embed:{group:"block",draggable:!0,defining:!0,attrs:{id:{default:null},definitionId:{default:null},variantId:{default:null},type:{default:"youtube"},url:{default:null},height:{default:null}}},image:{group:"block",atom:!0,draggable:!0,attrs:{id:{default:null},definitionId:{default:null},variantId:{default:null},appearance:{default:"{}"},columns:{default:1},items:{default:"[]"}},parseDOM:[{tag:"block-node"}]}},marks:{link:{name:"link",rank:0,spec:{inclusive:!0,attrs:{href:{default:null},target:{default:"_blank"},rel:{default:"noopener noreferrer nofollow"},class:{default:null},itemId:{default:null}},parseDOM:[{tag:'a[href]:not([href *= "javascript:" i])'}]},attrs:{href:{hasDefault:!0,default:null},target:{hasDefault:!0,default:"_blank"},rel:{hasDefault:!0,default:"noopener noreferrer nofollow"},class:{hasDefault:!0,default:null},itemId:{hasDefault:!0,default:null}},instance:{type:"link",attrs:{href:null,target:"_blank",rel:"noopener noreferrer nofollow",class:null,itemId:null}}},bold:{name:"bold",rank:1,spec:{parseDOM:[{tag:"strong"},{tag:"b"},{style:"font-weight"}]},attrs:{},instance:{type:"bold"}},code:{name:"code",rank:2,spec:{excludes:"_",code:!0,parseDOM:[{tag:"code"}]},attrs:{},instance:{type:"code"}},italic:{name:"italic",rank:3,spec:{parseDOM:[{tag:"em"},{tag:"i"},{style:"font-style=italic"}]},attrs:{},instance:{type:"italic"}},strike:{name:"strike",rank:4,spec:{parseDOM:[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1}]},attrs:{},instance:{type:"strike"}}}}),Of={singleBlockItem(e){if(!e.data.items.length)throw new Error(`Block ${e.id} has no items`);if(e.data.items.length>1)throw new Error(`Block ${e.id} has more than 1 item`);return e.data.items[0]},richTextPropertyValue(e,t){const n=this.objectPropertyValue(e,t);return np.parse(n)},multiRichTextPropertyValue(e,t){const n=this.objectPropertyValue(e,t);return Xd.parse(n)},tablePropertyValue(e,t){const n=this.objectPropertyValue(e,t);return gp.parse(n)},embedPropertyValue(e,t){const n=this.objectPropertyValue(e,t);return Zd.parse(n)},objectPropertyValue(e,t){const n=this.propertyValueOrThrow(e,t);if("object"!=typeof n)throw new Error(`Value for property ${t} is expected to be an object, but instead is ${typeof n}`);return n},propertyValueOrThrow(e,t){const n=e.props[t];if(!n)throw new Error(`Property ${t} is not defined on block item`);return n}},Bf={firstRichTextProperty(e){const t=e.item.properties.find((e=>"RichText"===e.type));if(t)return t},firstMultiRichTextProperty(e){const t=e.item.properties.find((e=>"MultiRichText"===e.type));if(t)return t},firstTableProperty(e){const t=e.item.properties.find((e=>"Table"===e.type));if(t)return t},firstEmbedProperty(e){const t=e.item.properties.find((e=>"EmbedURL"===e.type));if(t)return t},richTextProperty(e,t){return this.property(e,t,"RichText")},property(e,t,n){const r=e.item.properties.find((e=>e.id===t));if(!r)throw new Error(`Definition ${e.id} doesn't contain property ${t}`);if(n&&r.type!==n)throw new Error(`Property ${t} of definition ${e.id} expected to be ${n} but was ${r.type}`);return r}},Ef=class{addWithProperty(e,t){const n=Bu.optional().parse(t.options);return this.add(e,t.id,n?.multiRichTextStyle||"OL")}add(e,t,n){const r=this.createList(e,t,n);if(!this.rootNode)return void(this.rootNode=r);if(e.data.indentLevel<=0){if(this.rootNode.listType===r.listType)return void this.rootNode.children.push(...r.leadingChildren);{const e=this.flush();return this.rootNode=r,e}}const o=this.getParentOfDepth(e.data.indentLevel),i=o.children[o.children.length-1];"List"!==i?.type?o.children.push(r):i.children.push(...r.leadingChildren)}flush(){const e=this.rootNode;return this.rootNode=void 0,e}getParentOfDepth(e){if(!this.rootNode||e<=0)throw new Error("Invalid state");let t=this.rootNode,n=e-1;for(;n>0;){if(0===t.children.length)return t;const e=t.children[t.children.length-1];if("List"!==e.type)return t;t=e,n--}return t}createList(e,t,n){const r=Of.singleBlockItem(e),o=Of.multiRichTextPropertyValue(r,t).value.map((e=>({type:"ListItem",text:e})));return o.length||o.push({type:"ListItem",text:{spans:[]}}),{type:"List",listType:"OL"===n?"Ordered":"Unordered",leadingChildren:o,block:e,children:[]}}};function Rf(e,t,n){const r=Af(e,t);return o=Cf,i=r,a=n,function(e,t){const n=t||new ea,r=n.doc?n.doc:{transact:e=>e(void 0)};return Aa(r,n,e,new Map),n}(Ut.fromJSON(o,i),a);var o,i,a}function Af(e,t){const n=ch(t,(e=>e.id)),r=[];let o=[];return e.blocks.forEach((e=>{"Block"===e.type?o.push(e):"Section"===e.type&&(o.length&&(r.push(...Vf(o,n)),o=[]),r.push(function(e,t){return{type:"tabsSection",attrs:{id:e.id,...e.variantId&&{variantId:e.variantId}},content:e.items.map((e=>function(e,t){return{type:"sectionItem",attrs:{id:e.id,title:e.title},content:e.columns.map((e=>function(e,t){const n=Vf(e.blocks,t);return n.length||n.push({type:"paragraph",attrs:{id:"id",definitionId:"io.supernova.block.rich-text"}}),{type:"sectionItemColumn",attrs:{id:e.id},content:n}}(e,t)))}}(e,t)))}}(e,n)))})),o.length&&r.push(...Vf(o,n)),{type:"doc",content:r}}function Nf(e,t){return Vf([e],new Map([[t.id,t]]))[0]??null}function Vf(e,t){const n=[],r=new Ef;e.forEach((e=>{const o=t.get(e.data.packageId);if(!o)return void console.warn(`Could not find definition for ${e.id} (${e.data.packageId})`);const i=Bf.firstMultiRichTextProperty(o);if(i){const t=r.addWithProperty(e,i);t&&n.push(jf(t))}else{const t=r.flush();t&&n.push(jf(t));const i=function(e,t){const n=Bf.firstRichTextProperty(t);if(n)return function(e){const{block:t,definition:n,property:r}=e,o=Of.singleBlockItem(t),i=Of.richTextPropertyValue(o,r.id),a={...e,richTextPropertyValue:i},s=Ou.optional().parse(r.options);switch(s?.richTextStyle??"Default"){case"Callout":return function(e){const t=e.richTextPropertyValue.calloutType??"Info";return{type:"callout",attrs:{...zf(e.block),type:Hf(t)},...qf(e.richTextPropertyValue.value)}}(a);case"Default":return function(e){return{type:"paragraph",attrs:zf(e.block),...qf(e.richTextPropertyValue.value)}}(a);case"Quote":return function(e){return{type:"blockquote",attrs:zf(e.block),...qf(e.richTextPropertyValue.value)}}(a);case"Title1":case"Title2":case"Title3":case"Title4":case"Title5":return function(e){return{type:"heading",attrs:{...zf(e.block),level:Gf(e.property)},...qf(e.richTextPropertyValue.value)}}(a)}}({block:e,definition:t,property:n});const r=Bf.firstTableProperty(t);return r?function(e){const{block:t,definition:n,property:r}=e,o=Of.singleBlockItem(t),i=Of.tablePropertyValue(o,r.id);return{type:"tableContainer",attrs:{...zf(e.block),hasBorder:i.showBorder??!0},content:[{type:"table",content:Uf(i)}]}}({block:e,definition:t,property:r}):"io.supernova.block.divider"===e.data.packageId?{type:"horizontalRule",attrs:zf(e)}:Qf(e,t)}(e,o);i&&n.push(i)}}));const o=r.flush();return o&&n.push(jf(o)),n}function jf(e){switch(e.listType){case"Ordered":return{type:"orderedList",attrs:{...zf((t=e).block),start:"1"},content:Mf(t)};case"Unordered":return function(e){return{type:"bulletList",attrs:{...zf(e.block)},content:Mf(e)}}(e)}var t}function Mf(e){const t=e.leadingChildren.map((e=>Lf(e.text)));for(const n of e.children)if("ListItem"===n.type)t.push(Lf(n.text));else{if("List"!==n.type)throw lh.shouldNotHappen(`Unknown list node type: ${n}`);{const e=t[t.length-1];if(!e)throw lh.shouldNotHappen("List node without previous node");if(!e.content)throw lh.shouldNotHappen("List item node has no content");const r=jf(n);e.content.push(r)}}return t}function Lf(e){return{type:"listItem",content:[{type:"paragraph",attrs:{definitionId:"io.supernova.block.rich-text",variantId:"default"},content:Kf(e)}]}}function Uf(e){return(e.value.length?e.value:[{cells:[]}]).map(((t,n)=>{const r=0===n&&!0===e.highlightHeaderRow;return{type:"tableRow",content:(t.cells.length?t.cells:[{id:"",alignment:"Left",nodes:[]}]).map(((t,n)=>{const o=0===n&&!0===e.highlightHeaderColumn;return{type:r||o?"tableHeader":"tableCell",attrs:{...t.id&&{id:t.id},textAlign:Ff(t.alignment),colspan:1,rowspan:1,...t.columnWidth&&{colwidth:[t.columnWidth]}},content:Wf(t)}}))}}))}function Ff(e){switch(e){case"Left":default:return"left";case"Center":return"center";case"Right":return"right"}}function Wf(e){const t=e.nodes.map($f);return t.length?t:[{type:"paragraph"}]}function $f(e){switch(e.type){case"RichText":return{type:"paragraph",attrs:{id:e.id,definitionId:"io.supernova.block.rich-text"},...qf(e.value)};case"Image":return{type:"image",attrs:{id:e.id,definitionId:"io.supernova.block.image",items:JSON.stringify([{id:e.id,props:{image:{value:e.value}}}])}}}}function zf(e){return{id:e.id,definitionId:e.data.packageId,...e.data.variantId&&{variantId:e.data.variantId}}}function Gf(e){const t=e.options?.richTextStyle;if(t)switch(t){case"Title1":return 1;case"Title2":return 2;case"Title3":return 3;case"Title4":return 4;case"Title5":return 5;case"Callout":case"Default":case"Quote":return}}function Hf(e){switch(e){case"Error":return"critical";case"Info":return"neutral";case"Success":return"positive";case"Warning":return"warning";case"Primary":return"primary"}}function qf(e){const t=Kf(e);return t.length?{content:t}:{}}function Kf(e){return e.spans.map(Zf).flat()}function Zf(e){const t="hardBreak",n=e.attributes.map(Jf),r=e.text.split("\n"),o=[{type:"text",text:r[0],...n.length&&{marks:n}}];for(let e=1;e<r.length;e++)o.push({type:t},{type:"text",text:r[e],...n.length&&{marks:n}});return o.filter((e=>e.type===t||!!e.text))}function Jf(e){switch(e.type){case"Bold":return{type:"bold",attrs:{}};case"Italic":return{type:"italic",attrs:{}};case"Strikethrough":return{type:"strike",attrs:{}};case"Code":return{type:"code",attrs:{}};case"Link":return e.link?Yf(e.link,e.openInNewWindow??!1):e.documentationItemId?Yf(`@page:${e.documentationItemId}`,e.openInNewWindow??!1):Yf("about:blank",e.openInNewWindow??!1)}}function Yf(e,t){return{type:"link",attrs:{href:e,target:t?"_blank":"_self",rel:"noopener noreferrer nofollow",class:"tiptap-link"}}}function Qf(e,t){const n=e.data.items.map((e=>({id:e.id,props:e.props,linksTo:e.linksTo}))),r=e.data.appearance?.numberOfColumns;return{type:Xf(e),attrs:{id:e.id,definitionId:e.data.packageId,...e.data.variantId&&{variantId:e.data.variantId},items:JSON.stringify(n),...e.data.appearance&&{appearance:JSON.stringify(e.data.appearance)},...r&&{columns:r}}}}function Xf(e,t){return"io.supernova.block.image"===e.data.packageId?"image":"blockNode"}function ey(){return ty.map((e=>({...e,item:{...e.item,variants:[...e.item.variants]}})))}var ty=[{id:"io.supernova.block.rich-text",name:"Text",description:"Plain text",category:"Text",icon:"https://cdn-assets.supernova.io/blocks/icons/v3/text.svg",searchKeywords:["paragraph","rich text"],item:{properties:[{id:"text",name:"Text",type:"RichText",options:{richTextStyle:"Default"}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",layout:{type:"Column",children:["text"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{isEditorPresentationDifferent:!1}}],defaultVariantKey:"default"},behavior:{dataType:"Item",items:{numberOfItems:1,allowLinks:!1}},editorOptions:{onboarding:{helpText:"Use rich text block to write text and add additional formatting to it.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/text/text-HxZ9ssJR"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.title1",name:"Heading 1",description:"Main sections within the page",category:"Text",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/title-1.svg",searchKeywords:["title","h1"],item:{properties:[{id:"text",name:"Text",type:"RichText",options:{placeholder:"Heading 1",richTextStyle:"Title1"}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",layout:{type:"Column",children:["text"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}}],defaultVariantKey:"default"},behavior:{dataType:"Item",items:{numberOfItems:1,allowLinks:!1}},editorOptions:{onboarding:{helpText:"Use for main sections within the page, introducing broad topics or themes.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/text/heading-MUKlJ7dY"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.title2",name:"Heading 2",description:"Section subheadings",category:"Text",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/title-2.svg",searchKeywords:["title","h2"],item:{properties:[{id:"text",name:"Text",type:"RichText",options:{placeholder:"Heading 2",richTextStyle:"Title2"}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",layout:{type:"Column",children:["text"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}}],defaultVariantKey:"default"},behavior:{dataType:"Item",items:{numberOfItems:1,allowLinks:!1}},editorOptions:{onboarding:{helpText:"Use for subheadings, indicating major subsections under the main sections.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/text/heading-MUKlJ7dY"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.title3",name:"Heading 3",description:"Further subsections",category:"Text",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/title-3.svg",searchKeywords:["title","h3"],item:{properties:[{id:"text",name:"Text",type:"RichText",options:{placeholder:"Heading 3",richTextStyle:"Title3"}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",layout:{type:"Column",children:["text"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}}],defaultVariantKey:"default"},behavior:{dataType:"Item",items:{numberOfItems:1,allowLinks:!1}},editorOptions:{onboarding:{helpText:"Use for further subsections, detailing specific topics within the major subsections.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/text/heading-MUKlJ7dY"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.title4",name:"Heading 4",description:"Details in subsections",category:"Text",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/title-4.svg",searchKeywords:["title","h4"],item:{properties:[{id:"text",name:"Text",type:"RichText",options:{placeholder:"Heading 4",richTextStyle:"Title4"}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",layout:{type:"Column",children:["text"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}}],defaultVariantKey:"default"},behavior:{dataType:"Item",items:{numberOfItems:1,allowLinks:!1}},editorOptions:{onboarding:{helpText:"Use for sub-divisions, elaborating on details within the subsections.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/text/heading-MUKlJ7dY"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.title5",name:"Heading 5",description:"Nuanced details or sub-points",category:"Text",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/title-5.svg",searchKeywords:["title","h5"],item:{properties:[{id:"text",name:"Text",type:"RichText",options:{placeholder:"Heading 5",richTextStyle:"Title5"}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",layout:{type:"Column",children:["text"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}}],defaultVariantKey:"default"},behavior:{dataType:"Item",items:{numberOfItems:1,allowLinks:!1}},editorOptions:{onboarding:{helpText:"Use for nuanced details or specific sub-points within sub-divisions.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/text/heading-MUKlJ7dY"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.ordered-list",name:"Ordered list",description:"A list with numbers",category:"Text",icon:"https://cdn-assets.supernova.io/blocks/icons/list-ordered.svg",searchKeywords:["ol"],item:{properties:[{id:"text",name:"Text",type:"MultiRichText",options:{multiRichTextStyle:"OL"}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",layout:{type:"Column",children:["text"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}}],defaultVariantKey:"default"},behavior:{dataType:"Item",items:{numberOfItems:1,allowLinks:!1}},editorOptions:{onboarding:{helpText:"Display a sequence of numbers or letters to indicate order.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/text/list-UC5iPZLK"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.unordered-list",name:"Bullet list",description:"A list with bullet points",category:"Text",icon:"https://cdn-assets.supernova.io/blocks/icons/list-unordered.svg",searchKeywords:["ul","bullet points"],item:{properties:[{id:"text",name:"Text",type:"MultiRichText",options:{multiRichTextStyle:"UL"}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",layout:{type:"Column",children:["text"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}}],defaultVariantKey:"default"},behavior:{dataType:"Item",items:{numberOfItems:1,allowLinks:!1}},editorOptions:{onboarding:{helpText:"A list of items displayed with bullet points without a specific sequence.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/text/list-UC5iPZLK"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.divider",name:"Divider",description:"A section divider",category:"Layout",icon:"https://cdn-assets.supernova.io/blocks/icons/divider.svg",searchKeywords:["hr","line","rule","separator"],item:{properties:[{id:"divider",name:"Divider",type:"Divider",options:{}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",layout:{type:"Column",children:["divider"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}}],defaultVariantKey:"default"},behavior:{dataType:"Item",items:{numberOfItems:1,allowLinks:!1}},editorOptions:{onboarding:{helpText:"A thematic break or horizontal rule, often used to separate content or define a change in topic.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/text/divider-tLuxooLH"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.blockquote",name:"Quote",description:"Display a quotation",category:"Text",icon:"https://cdn-assets.supernova.io/blocks/icons/blockquote.svg",searchKeywords:["cite","blockquote"],item:{properties:[{id:"text",name:"Text",type:"RichText",options:{placeholder:"Write a quote...",richTextStyle:"Quote"}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",layout:{type:"Column",children:["text"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}}],defaultVariantKey:"default"},behavior:{dataType:"Item",items:{numberOfItems:1,allowLinks:!1}},editorOptions:{onboarding:{helpText:"Use a blockquote to set off a quotation or cited content from the main text.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/text/blockquote-zYWAsb6X"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.callout",name:"Callout",description:"Highlight a section of text",category:"Text",icon:"https://cdn-assets.supernova.io/blocks/icons/v3/callout.svg",searchKeywords:["banner","alert","note","tip","warning"],item:{properties:[{id:"text",name:"Text",type:"RichText",options:{placeholder:"Highlight some information...",richTextStyle:"Callout"}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",layout:{type:"Column",children:["text"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}}],defaultVariantKey:"default"},behavior:{dataType:"Item",items:{numberOfItems:1,allowLinks:!1}},editorOptions:{onboarding:{helpText:"Use to highlight a section of text.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/text/callout-ZPlZObD1"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.image",name:"Image",description:"Display an image or Figma image",category:"Media",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/image.svg",searchKeywords:["image","figma","frame","picture","photo"],item:{properties:[{id:"image",name:"Image",type:"Image",options:{allowCaption:!0}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",layout:{type:"Column",children:["image"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}}],defaultVariantKey:"default"},behavior:{dataType:"Item",items:{numberOfItems:1,allowLinks:!1}},editorOptions:{onboarding:{helpText:"Use to display an image or Figma image.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/media-and-assets/image-Ue8VdT8B"}},appearance:{isBordered:!1,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.shortcut-links",name:"Shortcut links",description:"Link to a page or external URL",category:"Media",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/shortcuts.svg",searchKeywords:["url","page","card"],item:{properties:[{id:"block.links.property.image",name:"Image",type:"Image",options:{aspectRatio:"Landscape",allowCaption:!1},variantOptions:{iconOnTop:{width:"Icon",aspectRatio:"Square"},imageOnLeft:{width:"Medium"},iconOnLeft:{width:"Icon",aspectRatio:"Square"}}},{id:"block.links.property.title",name:"Title",type:"Text",options:{textStyle:"Title5",placeholder:"Add title"}},{id:"block.links.property.description",name:"Short description",type:"Text",options:{textStyle:"Default",color:"NeutralFaded",placeholder:"Add description"}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"imageOnTop",name:"Image on top",image:"https://cdn-assets.supernova.io/blocks/variants/shortcuts-image-on-top.svg",layout:{type:"Column",children:["block.links.property.image","block.links.property.title","block.links.property.description"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:4,defaultColumns:1,appearance:{}},{id:"imageOnLeft",name:"Image on left",image:"https://cdn-assets.supernova.io/blocks/variants/shortcuts-leading-image.svg",layout:{type:"Row",children:[{type:"Column",children:["block.links.property.image"],columnAlign:"Start",columnResizing:"Hug",gap:"Medium"},{type:"Column",children:["block.links.property.title","block.links.property.description"],columnAlign:"Start",columnResizing:"Fill",gap:"Small"}],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}},{id:"iconOnTop",name:"Icon on top",image:"https://cdn-assets.supernova.io/blocks/variants/shortcuts-icon-on-top.svg",layout:{type:"Column",children:["block.links.property.image","block.links.property.title","block.links.property.description"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:4,defaultColumns:1,appearance:{}},{id:"iconOnLeft",name:"Icon on left",image:"https://cdn-assets.supernova.io/blocks/variants/shortcuts-leading-icon.svg",layout:{type:"Row",children:[{type:"Column",children:["block.links.property.image"],columnAlign:"Start",columnResizing:"Hug",gap:"Medium"},{type:"Column",children:["block.links.property.title","block.links.property.description"],columnAlign:"Start",columnResizing:"Fill",gap:"Small"}],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:2,defaultColumns:1,appearance:{}}],defaultVariantKey:"imageOnTop"},behavior:{dataType:"Item",items:{numberOfItems:-1,allowLinks:!0}},editorOptions:{onboarding:{helpText:"Use link block to create single or multiple links to places in or out of your documentation.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/links/shortcuts/general-jVfNifo4"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.embed-figma",name:"Figma embed",description:"Embed a Figma canvas or prototype",category:"Media",icon:"https://cdn-assets.supernova.io/blocks/icons/embed-figma.svg",searchKeywords:["embed","figma","design","prototype","canvas"],item:{properties:[{id:"embed",name:"Figma URL",type:"EmbedURL",options:{allowCaption:!1,allowResize:!0,defaultHeight:400,urlValidationRegex:"^(https?://)?(www.)?(figma.com)/.+$"}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",layout:{type:"Column",children:["embed"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}}],defaultVariantKey:"default"},behavior:{dataType:"Item",items:{numberOfItems:1,allowLinks:!1}},editorOptions:{onboarding:{helpText:"Embed a Figma canvas or prototype to your documentation.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/figma/embed-figma-GPNJsT8A"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.storybook",name:"Storybook",description:"Embed Storybook canvas",category:"Media",icon:"https://cdn-assets.supernova.io/blocks/icons/storybook.svg",searchKeywords:["storybook","story","stories","example","preview","code","react"],item:{properties:[{id:"embed",name:"Storybook URL",type:"Storybook",options:{allowCaption:!0,allowResize:!0,defaultHeight:400}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",layout:{type:"Column",children:["embed"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}}],defaultVariantKey:"default"},behavior:{dataType:"Item",items:{numberOfItems:1,allowLinks:!1}},editorOptions:{onboarding:{helpText:"Embed a Storybook story to your documentation.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/code/storybook-1EGPhwBl"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.embed-youtube",name:"YouTube",description:"Embed a Youtube video",category:"Media",icon:"https://cdn-assets.supernova.io/blocks/icons/embed-youtube.svg",searchKeywords:["embed","video","player","upload"],item:{properties:[{id:"embed",name:"Youtube URL",type:"EmbedURL",options:{allowCaption:!1,allowResize:!1,defaultHeight:400,urlValidationRegex:"^(https?://)?(www.)?(youtube.com|youtu.?be)/.+$"}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",layout:{type:"Column",children:["embed"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}}],defaultVariantKey:"default"},behavior:{dataType:"Item",items:{numberOfItems:1,allowLinks:!1}},editorOptions:{onboarding:{helpText:"Embed a YouTube video to your documentation.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/media-and-assets/youtube-Gh8VUrSF"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.embed-lottie",name:"Lottie animation",description:"Preview a Lottie animation",category:"Media",icon:"https://cdn-assets.supernova.io/blocks/icons/lottie.svg",searchKeywords:["embed","lottie","animation","rive","json"],item:{properties:[{id:"url",name:"Lottie URL",type:"URL",description:"Add URL to your Lottie animation file. We support .json and .lottie file extensions.",options:{urlValidationRegex:"^(http|https)://.*.(json|lottie)$"}},{id:"height",name:"Height",type:"Number",options:{defaultValue:270}},{id:"width",name:"Width",type:"Number",options:{defaultValue:400}},{id:"autoplay",name:"Autoplay",type:"Boolean",options:{defaultValue:!0}},{id:"loop",name:"Loop",type:"Boolean",options:{defaultValue:!0}},{id:"playerControls",name:"Show player controls",type:"Boolean",options:{defaultValue:!0}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",image:"https://cdn-assets.supernova.io/blocks/variants/lottie-player.svg",description:"Embed a Lottie animation to your documentation.",layout:{type:"Column",children:["url","height","width","autoplay","loop","playerControls"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}}],defaultVariantKey:"default"},behavior:{dataType:"Item",items:{numberOfItems:1,allowLinks:!1}},editorOptions:{onboarding:{helpText:"Embed a Lottie animation to your documentation.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/media-and-assets/lottie-preview-7CqFdGv9"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!0,showBlockHeaderInEditor:!0}},{id:"io.supernova.block.embed",name:"Embed",description:"Embed a generic URL",category:"Media",icon:"https://cdn-assets.supernova.io/blocks/icons/embed.svg",searchKeywords:["embed","url","iframe","site","import"],item:{properties:[{id:"embedUrl",name:"Embed URL",type:"EmbedURL",options:{allowCaption:!0,allowResize:!0,defaultHeight:400,urlValidationRegex:"^(https?://)?(www.)?.+$"}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",layout:{type:"Column",children:["embedUrl"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}}],defaultVariantKey:"default"},behavior:{dataType:"Item",items:{numberOfItems:1,allowLinks:!1}},editorOptions:{onboarding:{helpText:"Embed any page to your documentation as an iframe.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/media-and-assets/embed/public-url-2ZeRQ332"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.markdown",name:"Markdown",description:"Render Markdown URL",category:"Other",icon:"https://cdn-assets.supernova.io/blocks/icons/markdown.svg",searchKeywords:["md","embed","api","props","mdx"],item:{properties:[{id:"markdownUrl",name:"Markdown URL",type:"Markdown",options:{urlValidationRegex:"^(https?://)?(www\\.)?.+\\.md(\\?.*)?$"}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"plain",name:"Plain",image:"https://cdn-assets.supernova.io/blocks/variants/markdown-plain.svg",layout:{type:"Column",children:["markdownUrl"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}},{id:"bordered",name:"Bordered",image:"https://cdn-assets.supernova.io/blocks/variants/markdown-bordered.svg",layout:{type:"Column",children:["markdownUrl"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}},{id:"boxed",name:"Boxed",image:"https://cdn-assets.supernova.io/blocks/variants/markdown-boxed.svg",layout:{type:"Column",children:["markdownUrl"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}}],defaultVariantKey:"plain"},behavior:{dataType:"Item",items:{numberOfItems:1,allowLinks:!1}},editorOptions:{onboarding:{helpText:"Render any markdown file directly inside of your documentation.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/code/markdown/general-B8wQVOem"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!0,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.table",name:"Table",description:"Display a simple table",category:"Layout",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/table.svg",searchKeywords:["grid","data","spreadsheet","api"],item:{properties:[{id:"table",name:"Table",type:"Table",options:{}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",layout:{type:"Column",children:["table"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}}],defaultVariantKey:"default"},behavior:{dataType:"Item",items:{numberOfItems:1,allowLinks:!1}},editorOptions:{onboarding:{helpText:"Use for displaying data in a tabular format.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/layout/table-R8KGnxej"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.design-tokens",name:"Design tokens",description:"A list of design tokens",category:"Tokens",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/design-tokens.svg",searchKeywords:["tokens","color","typography","spacing","grid","material","theme","token list","token group"],item:{properties:[{id:"tokens",name:"Tokens",type:"Token",options:{renderLayoutAs:"List",defaultTheme:"none",defaultValuePreview:"Split"},variantOptions:{grid:{renderLayoutAs:"Grid"}}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"table",name:"Table",image:"https://cdn-assets.supernova.io/blocks/variants/tokens-table.svg",layout:{type:"Column",children:["tokens"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}},{id:"grid",name:"Grid",image:"https://cdn-assets.supernova.io/blocks/variants/tokens-grid.svg",layout:{type:"Column",children:["tokens"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:4,defaultColumns:1,appearance:{}}],defaultVariantKey:"table"},behavior:{dataType:"Token",entities:{selectionType:"EntityAndGroup",maxSelected:0}},editorOptions:{onboarding:{helpText:"Show a group of design tokens. Automatically display all subgroups too.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/token/tokens/general-84NRgxGl#section-token-group-09"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.token-color-ramps",name:"Color ramps",description:"The best way to display colors",category:"Tokens",icon:"https://cdn-assets.supernova.io/blocks/icons/color-ramp.svg",searchKeywords:["tokens","ramp","shades","palette","spectrum","stack","range","swatch"],item:{properties:[{id:"tokens",name:"Tokens",type:"Token",options:{allowedTypes:["Color"],allowPropertySelection:!1,allowThemeSelection:!0}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",image:"https://cdn-assets.supernova.io/blocks/variants/tokens-color-stack.svg",layout:{type:"Column",children:["tokens"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:2,defaultColumns:1,appearance:{isEditorPresentationDifferent:!0}}],defaultVariantKey:"default"},behavior:{dataType:"Token",entities:{selectionType:"EntityAndGroup",maxSelected:0}},editorOptions:{onboarding:{helpText:"The best way to display colors",documentationLink:"https://learn.supernova.io"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.color-accessibility-grid",name:"Accessibility color grid",description:"Visualize accessibility of your color tokens",category:"Tokens",icon:"https://cdn-assets.supernova.io/blocks/icons/v3/token-accessibility-grid.svg",searchKeywords:["tokens","color","accessibility","grid","contrast"],item:{properties:[{id:"tokens",name:"Tokens",type:"Token",options:{allowedTypes:["Color"],allowPropertySelection:!1,allowThemeSelection:!1}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",image:"https://cdn-assets.supernova.io/blocks/variants/contrast-grid-large.svg",description:"Visualize accessibility of your colors by automatically calculating their color contrast ratio.",layout:{type:"Column",children:["tokens"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{isEditorPresentationDifferent:!0}}],defaultVariantKey:"default"},behavior:{dataType:"Token",entities:{selectionType:"EntityAndGroup",maxSelected:0}},editorOptions:{onboarding:{helpText:"Visualize accessibility of your colors by automatically calculating their color contrast ratio.",documentationLink:"https://learn.supernova.io"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.code",name:"Code",description:"Code description",category:"Code",icon:"https://cdn-assets.supernova.io/blocks/icons/code.svg",searchKeywords:["code"],item:{properties:[{id:"code",name:"Code",type:"Code",options:{}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",layout:{type:"Column",children:["code"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}}],defaultVariantKey:"default"},behavior:{dataType:"Item",items:{numberOfItems:1,allowLinks:!1}},editorOptions:{onboarding:{helpText:"Code descriptor."}},appearance:{isBordered:!1,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.code-react",name:"React code",description:"Render a code snippet",category:"Code",icon:"https://cdn-assets.supernova.io/blocks/icons/v3/code-react.svg",searchKeywords:["code","react","snippet","storybook","editor","example","sandbox"],item:{properties:[{id:"code",name:"Code",type:"CodeSandbox",options:{renderLayoutAs:"PreviewOnTop"},variantOptions:{codeTop:{renderLayoutAs:"PreviewOnBottom"},codeLeft:{renderLayoutAs:"PreviewOnRight"},codeRight:{renderLayoutAs:"PreviewOnLeft"}}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"codeBottom",name:"Full width, code bottom",image:"https://cdn-assets.supernova.io/blocks/variants/react-code-bottom.svg",description:"Full-width block of code, with a preview on top.",layout:{type:"Column",children:["code"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}},{id:"codeTop",name:"Full width, code top",image:"https://cdn-assets.supernova.io/blocks/variants/react-code-top.svg",description:"Full-width block of code, with a preview on bottom.",layout:{type:"Column",children:["code"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}},{id:"codeLeft",name:"Side by side, code left",image:"https://cdn-assets.supernova.io/blocks/variants/react-code-left.svg",description:"Side-by-side preview and code, with code on the left.",layout:{type:"Column",children:["code"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}},{id:"codeRight",name:"Side by side, code right",image:"https://cdn-assets.supernova.io/blocks/variants/react-code-right.svg",description:"Side-by-side preview and code, with code on the right.",layout:{type:"Column",children:["code"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}}],defaultVariantKey:"codeBottom"},behavior:{dataType:"Item",items:{numberOfItems:1,allowLinks:!1}},editorOptions:{onboarding:{helpText:"Display rendered code example",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/code/render-react-code-vxufnkFm"}},appearance:{isBordered:!1,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.assets",name:"Assets",description:"Display icons or illustrations",category:"Assets",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/assets.svg",searchKeywords:["icons","illustrations","grid","svg","logos"],item:{properties:[{id:"assets",name:"Assets",type:"Asset",options:{}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Simple grid",image:"https://cdn-assets.supernova.io/blocks/variants/assets-simple-grid.svg",description:"A simple grid of assets. Both the title and description are displayed below the preview.",layout:{type:"Column",children:["assets"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:8,defaultColumns:1,appearance:{}},{id:"square-grid",name:"Square grid",image:"https://cdn-assets.supernova.io/blocks/variants/assets-square-grid.svg",description:"Bordered square grid tailored for displaying icon assets. Only the title is displayed.",layout:{type:"Column",children:["assets"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:8,defaultColumns:1,appearance:{isEditorPresentationDifferent:!0}},{id:"borderless-grid",name:"Borderless grid",image:"https://cdn-assets.supernova.io/blocks/variants/assets-borderless-grid.svg",description:"Borderless grid, perfect for displaying assets of the same height. Only the title is visible.",layout:{type:"Column",children:["assets"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:8,defaultColumns:1,appearance:{isEditorPresentationDifferent:!0}}],defaultVariantKey:"default"},behavior:{dataType:"Asset",entities:{selectionType:"EntityAndGroup",maxSelected:0}},editorOptions:{onboarding:{helpText:"Display a grid of icons or illustrations.",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/media-and-assets/asset/general-xa6EgXb2"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.figma-frames",name:"Figma images",description:"Generate images from Figma layers",category:"Figma",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/figma-frames.svg",searchKeywords:["figma","frames","image","layer"],item:{properties:[{id:"figmaNodes",name:"Figma Frames",type:"FigmaNode",options:{}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"bordered",name:"Bordered",image:"https://cdn-assets.supernova.io/blocks/variants/figma-nodes-boxed.svg",description:"Tiles with background and border, great for larger sets of frames.",layout:{type:"Column",children:["figmaNodes"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:8,defaultColumns:1,appearance:{}},{id:"plain",name:"Plain",image:"https://cdn-assets.supernova.io/blocks/variants/figma-nodes-plain.svg",description:"Frame as it is in Figma with no extra formatting, great for single images.",layout:{type:"Column",children:["figmaNodes"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:8,defaultColumns:1,appearance:{}}],defaultVariantKey:"bordered"},behavior:{dataType:"FigmaNode",entities:{selectionType:"Entity",maxSelected:0}},editorOptions:{onboarding:{helpText:"Generate images from Figma layers",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/figma/figma-frames/general-f3IYC5dg"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.release-notes",name:"Release notes",description:"Show version release notes",category:"Other",icon:"https://cdn-assets.supernova.io/blocks/icons/release-notes.svg",searchKeywords:["version","changelog","history"],item:{properties:[],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",image:"https://cdn-assets.supernova.io/blocks/variants/release-notes-2.svg",description:"Show formatted release notes from all previously released versions.",layout:{type:"Column",children:[],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{}}],defaultVariantKey:"default"},behavior:{dataType:"Item",items:{numberOfItems:1,allowLinks:!1}},editorOptions:{onboarding:{helpText:"Show formatted release notes from all previously released versions."}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!0,showBlockHeaderInEditor:!0}},{id:"io.supernova.block.component-checklist",name:"Component checklist",description:"Highlight specific component properties",category:"Components",icon:"https://cdn-assets.supernova.io/blocks/icons/component-checklist.svg",searchKeywords:["components","health","properties","overview","status"],item:{properties:[{id:"components",name:"Components",type:"Component",options:{renderLayoutAs:"List"}},{id:"title",name:"Title",type:"Text",options:{defaultValue:"Component checklist"}},{id:"showDescription",name:"Show description",type:"Boolean",options:{defaultValue:!0}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",image:"https://cdn-assets.supernova.io/blocks/variants/component-checklist.svg",layout:{type:"Column",children:["components","showDescription"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{isEditorPresentationDifferent:!0}}],defaultVariantKey:"default"},behavior:{dataType:"Component",entities:{selectionType:"Entity",maxSelected:1}},editorOptions:{onboarding:{helpText:"Highlight specific component properties",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/component/component-checklist-NXepPIpZ"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.component-checklist-all",name:"Component overview table",description:"Show an overview of all components",category:"Components",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/component-checklist-all.svg",searchKeywords:["components","health","overview","status"],item:{properties:[{id:"components",name:"Components",type:"Component",options:{renderLayoutAs:"Table"}},{id:"showLastUpdatedColumn",name:"Show last updated column",type:"Boolean",options:{defaultValue:!0}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",image:"https://cdn-assets.supernova.io/blocks/variants/component-overview-table.svg",layout:{type:"Column",children:["components","showLastUpdatedColumn"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{isEditorPresentationDifferent:!0}}],defaultVariantKey:"default"},behavior:{dataType:"Component",entities:{selectionType:"Group",maxSelected:1}},editorOptions:{onboarding:{helpText:"Show an overview of all your components",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/component/component-overview-table-W8eOtJ5t"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}},{id:"io.supernova.block.component-health",name:"Component health",description:"Show component health and other attributes",category:"Components",icon:"https://cdn-assets.supernova.io/blocks/icons/v2/component-health.svg",searchKeywords:["components","health","properties","overview","status"],item:{properties:[{id:"components",name:"Components",type:"Component",options:{renderLayoutAs:"List"}}],appearance:{isBordered:!0,hasBackground:!1},variants:[{id:"default",name:"Default",image:"https://cdn-assets.supernova.io/blocks/variants/component-health.svg",layout:{type:"Column",children:["components"],columnAlign:"Start",columnResizing:"Fill",gap:"Medium"},maxColumns:1,defaultColumns:1,appearance:{isEditorPresentationDifferent:!0}}],defaultVariantKey:"default"},behavior:{dataType:"Component",entities:{selectionType:"Entity",maxSelected:1}},editorOptions:{onboarding:{helpText:"Show component health and additional attributes",documentationLink:"https://learn.supernova.io/latest/documentation/types-of-blocks/component/component-health-sezSxEED"}},appearance:{isBordered:!0,hasBackground:!1,isEditorPresentationDifferent:!1,showBlockHeaderInEditor:!1}}];function ny(e,t){return ry(e.getXmlFragment("default"),t)}function ry(e,t){return oy({type:"doc",content:e.toArray().map((function e(t){let n;if(t.nodeName){n={type:t.nodeName};const r=t.getAttributes();Object.keys(r).length&&(n.attrs=r);const o=t.toArray();o.length&&(n.content=o.map(e).flat())}else n=t.toDelta().map((e=>{const t={type:"text",text:e.insert};return e.attributes&&(t.marks=Object.keys(e.attributes).map((t=>{const n=e.attributes[t],r={type:t};return Object.keys(n)&&(r.attrs=n),r}))),t}));return n}))},t)}function oy(e,t){const n=Iy(t,(e=>e.id));return{blocks:dy(e.content??[],n)}}function iy(e,t){return cy(e,t,new Map([[t.id,t]]),0)[0]??null}function ay(e,t){return function(e,t){const n=Ty(e);return n?{id:n,type:"Section",variantId:by(e),sectionType:"Tabs",appearance:{contentExpandToEdges:!0,expandToEdges:!0},items:(e.content??[]).filter((e=>"sectionItem"===e.type)).map((e=>function(e,t){const n=Ty(e);return n?{id:n,title:wy(e,"title",pt.string())??"",columns:(e.content??[]).filter((e=>"sectionItemColumn"===e.type)).map((e=>function(e,t){const n=Ty(e);return n?{id:n,blocks:py(e.content??[],t,0)}:null}(e,t))).filter(Sy)}:null}(e,t))).filter(Sy)}:null}(e,Iy(t,(e=>e.id)))}function sy(e,t){return py(e,Iy(t,(e=>e.id)),0)}function dy(e,t){const n=[];for(const r of e)if("tabsSection"===r.type){const e=ay(r,Array.from(t.values()));e&&n.push(e)}else n.push(...ly(r,t,0));return n}function py(e,t,n){return e.flatMap((e=>ly(e,t,n)))}function ly(e,t,n){const r=wy(e,"definitionId",pt.string());if(!r)return console.warn(`definitionId on ${e.type} is required to be interpreted as a block, skipping node`),[];const o=t.get(r);return o?cy(e,o,t,n):(console.warn(`Block definitionId "${r}" (prosemirror node ${e.type}) is not among available definitions`),console.warn(e),[])}function cy(e,t,n,r){const o=Bf.firstMultiRichTextProperty(t);if(o)return function(e,t,n,r,o){const i=Ty(e);if(!i)return[];const a=by(e),s=[],d=[];e.content?.forEach((e=>{"listItem"===e.type&&e.content?.forEach((e=>{d.push(e)}))}));let p=[];function l(){if(!p.length)return;const e=s.length?`-${s.length}`:"";s.push({id:i+e,type:"Block",data:{packageId:t.id,indentLevel:o,...a&&{variantId:a},items:[{id:i+e,props:{[n.id]:{value:p.map((e=>uy(e.content??[])))}}}]}}),p=[]}return d.forEach((e=>{"paragraph"!==e.type?(l(),s.push(...ly(e,r,o+1))):p.push(e)})),l(),s}(e,t,o,n,r);const i=function(e,t){const n=Bf.firstRichTextProperty(t);if(n)return function(e,t,n){const r=Ty(e);if(!r)return null;const o=by(e),i=function(e){if(e)switch(e){case"critical":return"Error";case"neutral":return"Info";case"positive":return"Success";case"warning":return"Warning";case"primary":return"Primary"}}(wy(e,"type",pt.string().optional()));return{id:r,type:"Block",...o&&{variantId:o},data:{packageId:t.id,indentLevel:0,items:[{id:r,props:{[n.id]:{value:uy(e.content??[]),...i&&{calloutType:i}}}}]}}}(e,t,n);return Bf.firstTableProperty(t)?function(e,t,n){const r=Ty(e);if(!r)return null;const o=by(e),i=!1!==wy(e,"hasBorder",pt.boolean().optional()),a=e.content?.find((e=>"table"===e.type));if(!a)return vy(r,o,0);const s=a.content?.filter((e=>"tableRow"===e.type&&!!e.content?.length))??[];if(!s.length)return vy(r,o,0);const d=s[0].content?.filter((e=>"tableHeader"===e.type)).length??0,p=s.filter((e=>"tableHeader"===e.content?.[0]?.type)).length,l={showBorder:i,highlightHeaderRow:s[0].content?.length===d,highlightHeaderColumn:s.length===p,value:[]};return l.value=s.map((e=>({cells:(e.content??[]).map(gy).filter(Sy)}))),{id:r,type:"Block",data:{packageId:"io.supernova.block.table",indentLevel:0,variantId:"default",...o&&{variantId:o},items:[{id:r,props:{table:l}}]}}}(e):"io.supernova.block.divider"===t.id?function(e,t){const n=Ty(e);if(!n)return null;const r=by(e);return{id:n,type:"Block",data:{packageId:t.id,indentLevel:0,...r&&{variantId:r},items:[{id:n,props:{}}]}}}(e,t):function(e,t){const n=Ty(e);if(!n)return null;const r=by(e),o=function(e){let t={};const n=wy(e,"appearance",pt.string().optional());if(n){const e=Nd.safeParse(JSON.parse(n));e.success&&(t=e.data)}const r=wy(e,"columns",pt.number().optional());r&&(t.numberOfColumns=r);const o=wy(e,"backgroundColor",pt.string().optional());if(o){const e=Ed.safeParse(JSON.parse(o));e.success&&(t.itemBackgroundColor=e.data)}return Object.keys(t).length?t:void 0}(e),i=function(e,t){const n=wy(e,"items",pt.string());if(!n)return null;const r=JSON.parse(n);return Array.isArray(r)?r.map((e=>function(e,t){const n=Md.safeParse(e);if(!n.success)return null;const r={};for(const e of t.item.properties){const t=n.data.props[e.id];if(!t)continue;const o=ky(e.type).safeParse(t);o.success?r[e.id]=o.data:console.log(o.error.toString())}return{id:n.data.id,...n.data.linksTo&&{linksTo:n.data.linksTo},props:r}}(e,t))).filter(Sy):(console.error("Block `items` property must be a json array"),null)}(e,t);return i?{id:n,type:"Block",data:{packageId:t.id,indentLevel:0,...r&&{variantId:r},...o&&{appearance:o},items:i}}:null}(e,t)}(e,t);return i?[i]:[]}function uy(e){return{spans:e.map(my).filter(Sy)}}function my(e){if("text"!==e.type||!e.text)return null;const t=e.marks??[];return{text:e.text,attributes:t.map(hy).filter(Sy)}}function hy(e){switch(e.type){case"bold":return{type:"Bold"};case"italic":return{type:"Italic"};case"strike":return{type:"Strikethrough"};case"code":return{type:"Code"};case"link":return function(e){const t=wy(e,"href",pt.string().optional());if(!t)return null;const n="_blank"===wy(e,"target",pt.string().optional());return t.startsWith("@")?{type:"Link",openInNewWindow:n,documentationItemId:t.split(":")[1]}:{type:"Link",openInNewWindow:n,link:t}}(e)}return null}function gy(e){const t=Ty(e);if(!t)return null;const n=wy(e,"textAlign",pt.string().optional());let r;const o=wy(e,"colwidth",pt.array(pt.number()).optional());o&&(r=o[0]);const i=(e.content??[]).map(yy).filter(Sy);return{id:t,alignment:fy(n),...r&&{columnWidth:r},nodes:i.length?i:[{type:"RichText",id:"",value:{spans:[]}}]}}function fy(e){if(!e)return"Left";switch(e){case"left":default:return"Left";case"center":return"Center";case"right":return"Right"}}function yy(e){const t=Ty(e);if(!t)return null;switch(e.type){case"paragraph":return{type:"RichText",id:t,value:uy(e.content??[])};case"image":const n=wy(e,"items",pt.string());if(!n)return null;const r=Md.array().safeParse(JSON.parse(n));if(!r.success)return null;const o=r.data[0]?.props.image;if(!o)return null;const i=Yd.safeParse(o);return i.success?{type:"Image",id:t,value:i.data.value}:null;default:return null}}function vy(e,t,n){const r={showBorder:!0,highlightHeaderColumn:!1,highlightHeaderRow:!1,value:[]};for(let e=0;e<2;e++){r.value.push({cells:[]});for(let t=0;t<3;t++)r.value[e].cells.push({id:"",alignment:"Left",nodes:[{type:"RichText",id:"",value:{spans:[]}}]})}return{id:e,type:"Block",data:{packageId:"io.supernova.block.table",indentLevel:n??0,variantId:t,items:[{id:e,props:{table:r}}]}}}function ky(e){switch(e){case"RichText":return np;case"MultiRichText":return Xd;case"Text":return ip;case"Boolean":return Wd;case"Number":return tp;case"SingleSelect":return rp;case"MultiSelect":return ep;case"Image":return Yd;case"Token":return ap;case"TokenType":return dp;case"TokenProperty":return sp;case"Component":return Hd;case"ComponentProperty":return qd;case"Asset":return Ud;case"AssetProperty":return Fd;case"FigmaNode":return Jd;case"EmbedURL":return Zd;case"URL":return pp;case"Markdown":return Qd;case"Code":return $d;case"CodeSandbox":return zd;case"Table":return gp;case"Divider":return Kd;case"Storybook":return op;case"Color":return Gd}}function Ty(e){const t=wy(e,"id",pt.string());return t||console.warn(`Prosemirror attribute "id" on ${e.type} is required`),t}function by(e){return wy(e,"variantId",Wa(pt.string()))}function wy(e,t,n){const r=n.safeParse(e.attrs?.[t]);return r.success?r.data:(console.warn(`Prosemirror attribute ${t} on ${e.type} is invalid`),void console.warn(r.error.flatten()))}function Sy(e){return null!==e}function Iy(e,t){const n=new Map;for(const r of e)n.set(t(r),r);return n}},5521:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Expression:()=>O,Parser:()=>We,default:()=>Ge});var r="INUMBER",o="IOP1",i="IOP2",a="IOP3",s="IVAR",d="IVARNAME",p="IFUNCALL",l="IFUNDEF",c="IEXPR",u="IEXPREVAL",m="IMEMBER",h="IENDSTATEMENT",g="IARRAY";function f(e,t){this.type=e,this.value=null!=t?t:0}function y(e){return new f(o,e)}function v(e){return new f(i,e)}function k(e){return new f(a,e)}function T(e,t,n,p,l){for(var u,h,y,v,k=[],b=[],w=0;w<e.length;w++){var S=e[w],I=S.type;if(I===r||I===d)Array.isArray(S.value)?k.push.apply(k,T(S.value.map((function(e){return new f(r,e)})).concat(new f(g,S.value.length)),t,n,p,l)):k.push(S);else if(I===s&&l.hasOwnProperty(S.value))S=new f(r,l[S.value]),k.push(S);else if(I===i&&k.length>1)h=k.pop(),u=k.pop(),v=n[S.value],S=new f(r,v(u.value,h.value)),k.push(S);else if(I===a&&k.length>2)y=k.pop(),h=k.pop(),u=k.pop(),"?"===S.value?k.push(u.value?h.value:y.value):(v=p[S.value],S=new f(r,v(u.value,h.value,y.value)),k.push(S));else if(I===o&&k.length>0)u=k.pop(),v=t[S.value],S=new f(r,v(u.value)),k.push(S);else if(I===c){for(;k.length>0;)b.push(k.shift());b.push(new f(c,T(S.value,t,n,p,l)))}else if(I===m&&k.length>0)u=k.pop(),k.push(new f(r,u.value[S.value]));else{for(;k.length>0;)b.push(k.shift());b.push(S)}}for(;k.length>0;)b.push(k.shift());return b}function b(e,t,n){for(var r=[],d=0;d<e.length;d++){var p=e[d],l=p.type;if(l===s&&p.value===t)for(var u=0;u<n.tokens.length;u++){var m,h=n.tokens[u];m=h.type===o?y(h.value):h.type===i?v(h.value):h.type===a?k(h.value):new f(h.type,h.value),r.push(m)}else l===c?r.push(new f(c,b(p.value,t,n))):r.push(p)}return r}function w(e,t,n){var f,y,v,k,T,b,_=[];if(I(e))return D(e,n);for(var P=e.length,x=0;x<P;x++){var C=e[x],O=C.type;if(O===r||O===d)_.push(C.value);else if(O===i)y=_.pop(),f=_.pop(),"and"===C.value?_.push(!!f&&!!w(y,t,n)):"or"===C.value?_.push(!!f||!!w(y,t,n)):"="===C.value?(k=t.binaryOps[C.value],_.push(k(f,w(y,t,n),n))):(k=t.binaryOps[C.value],_.push(k(D(f,n),D(y,n))));else if(O===a)v=_.pop(),y=_.pop(),f=_.pop(),"?"===C.value?_.push(w(f?y:v,t,n)):(k=t.ternaryOps[C.value],_.push(k(D(f,n),D(y,n),D(v,n))));else if(O===s)if(C.value in t.functions)_.push(t.functions[C.value]);else if(C.value in t.unaryOps&&t.parser.isOperatorEnabled(C.value))_.push(t.unaryOps[C.value]);else{var B=n[C.value];if(void 0===B)throw new Error("undefined variable: "+C.value);_.push(B)}else if(O===o)f=_.pop(),k=t.unaryOps[C.value],_.push(k(D(f,n)));else if(O===p){for(b=C.value,T=[];b-- >0;)T.unshift(D(_.pop(),n));if(!(k=_.pop()).apply||!k.call)throw new Error(k+" is not a function");_.push(k.apply(void 0,T))}else if(O===l)_.push(function(){for(var e=_.pop(),r=[],o=C.value;o-- >0;)r.unshift(_.pop());var i=_.pop(),a=function(){for(var o=Object.assign({},n),i=0,a=r.length;i<a;i++)o[r[i]]=arguments[i];return w(e,t,o)};return Object.defineProperty(a,"name",{value:i,writable:!1}),n[i]=a,a}());else if(O===c)_.push(S(C,t));else if(O===u)_.push(C);else if(O===m)f=_.pop(),_.push(f[C.value]);else if(O===h)_.pop();else{if(O!==g)throw new Error("invalid Expression");for(b=C.value,T=[];b-- >0;)T.unshift(_.pop());_.push(T)}}if(_.length>1)throw new Error("invalid Expression (parity)");return 0===_[0]?0:D(_[0],n)}function S(e,t,n){return I(e)?e:{type:u,value:function(n){return w(e.value,t,n)}}}function I(e){return e&&e.type===u}function D(e,t){return I(e)?e.value(t):e}function _(e,t){for(var n,u,f,y,v,k,T=[],b=0;b<e.length;b++){var w=e[b],S=w.type;if(S===r)"number"==typeof w.value&&w.value<0?T.push("("+w.value+")"):Array.isArray(w.value)?T.push("["+w.value.map(P).join(", ")+"]"):T.push(P(w.value));else if(S===i)u=T.pop(),n=T.pop(),y=w.value,t?"^"===y?T.push("Math.pow("+n+", "+u+")"):"and"===y?T.push("(!!"+n+" && !!"+u+")"):"or"===y?T.push("(!!"+n+" || !!"+u+")"):"||"===y?T.push("(function(a,b){ return Array.isArray(a) && Array.isArray(b) ? a.concat(b) : String(a) + String(b); }(("+n+"),("+u+")))"):"=="===y?T.push("("+n+" === "+u+")"):"!="===y?T.push("("+n+" !== "+u+")"):"["===y?T.push(n+"[("+u+") | 0]"):T.push("("+n+" "+y+" "+u+")"):"["===y?T.push(n+"["+u+"]"):T.push("("+n+" "+y+" "+u+")");else if(S===a){if(f=T.pop(),u=T.pop(),n=T.pop(),"?"!==(y=w.value))throw new Error("invalid Expression");T.push("("+n+" ? "+u+" : "+f+")")}else if(S===s||S===d)T.push(w.value);else if(S===o)n=T.pop(),"-"===(y=w.value)||"+"===y?T.push("("+y+n+")"):t?"not"===y?T.push("(!"+n+")"):"!"===y?T.push("fac("+n+")"):T.push(y+"("+n+")"):"!"===y?T.push("("+n+"!)"):T.push("("+y+" "+n+")");else if(S===p){for(k=w.value,v=[];k-- >0;)v.unshift(T.pop());y=T.pop(),T.push(y+"("+v.join(", ")+")")}else if(S===l){for(u=T.pop(),k=w.value,v=[];k-- >0;)v.unshift(T.pop());n=T.pop(),t?T.push("("+n+" = function("+v.join(", ")+") { return "+u+" })"):T.push("("+n+"("+v.join(", ")+") = "+u+")")}else if(S===m)n=T.pop(),T.push(n+"."+w.value);else if(S===g){for(k=w.value,v=[];k-- >0;)v.unshift(T.pop());T.push("["+v.join(", ")+"]")}else if(S===c)T.push("("+_(w.value,t)+")");else if(S!==h)throw new Error("invalid Expression")}return T.length>1&&(T=t?[T.join(",")]:[T.join(";")]),String(T[0])}function P(e){return"string"==typeof e?JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029"):e}function x(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1}function C(e,t,n){for(var r=!!(n=n||{}).withMembers,o=null,i=0;i<e.length;i++){var a=e[i];a.type===s||a.type===d?r||x(t,a.value)?null!==o?(x(t,o)||t.push(o),o=a.value):o=a.value:t.push(a.value):a.type===m&&r&&null!==o?o+="."+a.value:a.type===c?C(a.value,t,n):null!==o&&(x(t,o)||t.push(o),o=null)}null===o||x(t,o)||t.push(o)}function O(e,t){this.tokens=e,this.parser=t,this.unaryOps=t.unaryOps,this.binaryOps=t.binaryOps,this.ternaryOps=t.ternaryOps,this.functions=t.functions}f.prototype.toString=function(){switch(this.type){case r:case o:case i:case a:case s:case d:case h:return this.value;case p:return"CALL "+this.value;case l:return"DEF "+this.value;case g:return"ARRAY "+this.value;case m:return"."+this.value;default:return"Invalid Instruction"}},O.prototype.simplify=function(e){return e=e||{},new O(T(this.tokens,this.unaryOps,this.binaryOps,this.ternaryOps,e),this.parser)},O.prototype.substitute=function(e,t){return t instanceof O||(t=this.parser.parse(String(t))),new O(b(this.tokens,e,t),this.parser)},O.prototype.evaluate=function(e){return e=e||{},w(this.tokens,this,e)},O.prototype.toString=function(){return _(this.tokens,!1)},O.prototype.symbols=function(e){e=e||{};var t=[];return C(this.tokens,t,e),t},O.prototype.variables=function(e){e=e||{};var t=[];C(this.tokens,t,e);var n=this.functions;return t.filter((function(e){return!(e in n)}))},O.prototype.toJSFunction=function(e,t){var n=this,r=new Function(e,"with(this.functions) with (this.ternaryOps) with (this.binaryOps) with (this.unaryOps) { return "+_(this.simplify(t).tokens,!0)+"; }");return function(){return r.apply(n,arguments)}};var B="TEOF",E="TOP",R="TNUMBER",A="TSTRING",N="TPAREN",V="TBRACKET",j="TCOMMA",M="TNAME",L="TSEMICOLON";function U(e,t,n){this.type=e,this.value=t,this.index=n}function F(e,t){this.pos=0,this.current=null,this.unaryOps=e.unaryOps,this.binaryOps=e.binaryOps,this.ternaryOps=e.ternaryOps,this.consts=e.consts,this.expression=t,this.savedPosition=0,this.savedCurrent=null,this.options=e.options,this.parser=e}U.prototype.toString=function(){return this.type+": "+this.value},F.prototype.newToken=function(e,t,n){return new U(e,t,null!=n?n:this.pos)},F.prototype.save=function(){this.savedPosition=this.pos,this.savedCurrent=this.current},F.prototype.restore=function(){this.pos=this.savedPosition,this.current=this.savedCurrent},F.prototype.next=function(){return this.pos>=this.expression.length?this.newToken(B,"EOF"):this.isWhitespace()||this.isComment()?this.next():this.isRadixInteger()||this.isNumber()||this.isOperator()||this.isString()||this.isParen()||this.isBracket()||this.isComma()||this.isSemicolon()||this.isNamedOp()||this.isConst()||this.isName()?this.current:void this.parseError('Unknown character "'+this.expression.charAt(this.pos)+'"')},F.prototype.isString=function(){var e=!1,t=this.pos,n=this.expression.charAt(t);if("'"===n||'"'===n)for(var r=this.expression.indexOf(n,t+1);r>=0&&this.pos<this.expression.length;){if(this.pos=r+1,"\\"!==this.expression.charAt(r-1)){var o=this.expression.substring(t+1,r);this.current=this.newToken(A,this.unescape(o),t),e=!0;break}r=this.expression.indexOf(n,r+1)}return e},F.prototype.isParen=function(){var e=this.expression.charAt(this.pos);return("("===e||")"===e)&&(this.current=this.newToken(N,e),this.pos++,!0)},F.prototype.isBracket=function(){var e=this.expression.charAt(this.pos);return!("["!==e&&"]"!==e||!this.isOperatorEnabled("[")||(this.current=this.newToken(V,e),this.pos++,0))},F.prototype.isComma=function(){return","===this.expression.charAt(this.pos)&&(this.current=this.newToken(j,","),this.pos++,!0)},F.prototype.isSemicolon=function(){return";"===this.expression.charAt(this.pos)&&(this.current=this.newToken(L,";"),this.pos++,!0)},F.prototype.isConst=function(){for(var e=this.pos,t=e;t<this.expression.length;t++){var n=this.expression.charAt(t);if(n.toUpperCase()===n.toLowerCase()&&(t===this.pos||"_"!==n&&"."!==n&&(n<"0"||n>"9")))break}if(t>e){var r=this.expression.substring(e,t);if(r in this.consts)return this.current=this.newToken(R,this.consts[r]),this.pos+=r.length,!0}return!1},F.prototype.isNamedOp=function(){for(var e=this.pos,t=e;t<this.expression.length;t++){var n=this.expression.charAt(t);if(n.toUpperCase()===n.toLowerCase()&&(t===this.pos||"_"!==n&&(n<"0"||n>"9")))break}if(t>e){var r=this.expression.substring(e,t);if(this.isOperatorEnabled(r)&&(r in this.binaryOps||r in this.unaryOps||r in this.ternaryOps))return this.current=this.newToken(E,r),this.pos+=r.length,!0}return!1},F.prototype.isName=function(){for(var e=this.pos,t=e,n=!1;t<this.expression.length;t++){var r=this.expression.charAt(t);if(r.toUpperCase()===r.toLowerCase()){if(t===this.pos&&("$"===r||"_"===r)){"_"===r&&(n=!0);continue}if(t===this.pos||!n||"_"!==r&&(r<"0"||r>"9"))break}else n=!0}if(n){var o=this.expression.substring(e,t);return this.current=this.newToken(M,o),this.pos+=o.length,!0}return!1},F.prototype.isWhitespace=function(){for(var e=!1,t=this.expression.charAt(this.pos);!(" "!==t&&"\t"!==t&&"\n"!==t&&"\r"!==t||(e=!0,this.pos++,this.pos>=this.expression.length));)t=this.expression.charAt(this.pos);return e};var W=/^[0-9a-f]{4}$/i;function $(e,t,n){this.parser=e,this.tokens=t,this.current=null,this.nextToken=null,this.next(),this.savedCurrent=null,this.savedNextToken=null,this.allowMemberAccess=!1!==n.allowMemberAccess}F.prototype.unescape=function(e){var t=e.indexOf("\\");if(t<0)return e;for(var n=e.substring(0,t);t>=0;){var r=e.charAt(++t);switch(r){case"'":n+="'";break;case'"':n+='"';break;case"\\":n+="\\";break;case"/":n+="/";break;case"b":n+="\b";break;case"f":n+="\f";break;case"n":n+="\n";break;case"r":n+="\r";break;case"t":n+="\t";break;case"u":var o=e.substring(t+1,t+5);W.test(o)||this.parseError("Illegal escape sequence: \\u"+o),n+=String.fromCharCode(parseInt(o,16)),t+=4;break;default:throw this.parseError('Illegal escape sequence: "\\'+r+'"')}++t;var i=e.indexOf("\\",t);n+=e.substring(t,i<0?e.length:i),t=i}return n},F.prototype.isComment=function(){return"/"===this.expression.charAt(this.pos)&&"*"===this.expression.charAt(this.pos+1)&&(this.pos=this.expression.indexOf("*/",this.pos)+2,1===this.pos&&(this.pos=this.expression.length),!0)},F.prototype.isRadixInteger=function(){var e,t,n=this.pos;if(n>=this.expression.length-2||"0"!==this.expression.charAt(n))return!1;if(++n,"x"===this.expression.charAt(n))e=16,t=/^[0-9a-f]$/i,++n;else{if("b"!==this.expression.charAt(n))return!1;e=2,t=/^[01]$/i,++n}for(var r=!1,o=n;n<this.expression.length;){var i=this.expression.charAt(n);if(!t.test(i))break;n++,r=!0}return r&&(this.current=this.newToken(R,parseInt(this.expression.substring(o,n),e)),this.pos=n),r},F.prototype.isNumber=function(){for(var e,t=!1,n=this.pos,r=n,o=n,i=!1,a=!1;n<this.expression.length&&((e=this.expression.charAt(n))>="0"&&e<="9"||!i&&"."===e);)"."===e?i=!0:a=!0,n++,t=a;if(t&&(o=n),"e"===e||"E"===e){n++;for(var s=!0,d=!1;n<this.expression.length;){if(e=this.expression.charAt(n),!s||"+"!==e&&"-"!==e){if(!(e>="0"&&e<="9"))break;d=!0,s=!1}else s=!1;n++}d||(n=o)}return t?(this.current=this.newToken(R,parseFloat(this.expression.substring(r,n))),this.pos=n):this.pos=o,t},F.prototype.isOperator=function(){var e=this.pos,t=this.expression.charAt(this.pos);if("+"===t||"-"===t||"*"===t||"/"===t||"%"===t||"^"===t||"?"===t||":"===t||"."===t)this.current=this.newToken(E,t);else if("∙"===t||"•"===t)this.current=this.newToken(E,"*");else if(">"===t)"="===this.expression.charAt(this.pos+1)?(this.current=this.newToken(E,">="),this.pos++):this.current=this.newToken(E,">");else if("<"===t)"="===this.expression.charAt(this.pos+1)?(this.current=this.newToken(E,"<="),this.pos++):this.current=this.newToken(E,"<");else if("|"===t){if("|"!==this.expression.charAt(this.pos+1))return!1;this.current=this.newToken(E,"||"),this.pos++}else if("="===t)"="===this.expression.charAt(this.pos+1)?(this.current=this.newToken(E,"=="),this.pos++):this.current=this.newToken(E,t);else{if("!"!==t)return!1;"="===this.expression.charAt(this.pos+1)?(this.current=this.newToken(E,"!="),this.pos++):this.current=this.newToken(E,t)}return this.pos++,!!this.isOperatorEnabled(this.current.value)||(this.pos=e,!1)},F.prototype.isOperatorEnabled=function(e){return this.parser.isOperatorEnabled(e)},F.prototype.getCoordinates=function(){var e,t=0,n=-1;do{t++,e=this.pos-n,n=this.expression.indexOf("\n",n+1)}while(n>=0&&n<this.pos);return{line:t,column:e}},F.prototype.parseError=function(e){var t=this.getCoordinates();throw new Error("parse error ["+t.line+":"+t.column+"]: "+e)},$.prototype.next=function(){return this.current=this.nextToken,this.nextToken=this.tokens.next()},$.prototype.tokenMatches=function(e,t){return void 0===t||(Array.isArray(t)?x(t,e.value):"function"==typeof t?t(e):e.value===t)},$.prototype.save=function(){this.savedCurrent=this.current,this.savedNextToken=this.nextToken,this.tokens.save()},$.prototype.restore=function(){this.tokens.restore(),this.current=this.savedCurrent,this.nextToken=this.savedNextToken},$.prototype.accept=function(e,t){return!(this.nextToken.type!==e||!this.tokenMatches(this.nextToken,t)||(this.next(),0))},$.prototype.expect=function(e,t){if(!this.accept(e,t)){var n=this.tokens.getCoordinates();throw new Error("parse error ["+n.line+":"+n.column+"]: Expected "+(t||e))}},$.prototype.parseAtom=function(e){var t=this.tokens.unaryOps;if(this.accept(M)||this.accept(E,(function(e){return e.value in t})))e.push(new f(s,this.current.value));else if(this.accept(R))e.push(new f(r,this.current.value));else if(this.accept(A))e.push(new f(r,this.current.value));else if(this.accept(N,"("))this.parseExpression(e),this.expect(N,")");else{if(!this.accept(V,"["))throw new Error("unexpected "+this.nextToken);if(this.accept(V,"]"))e.push(new f(g,0));else{var n=this.parseArrayList(e);e.push(new f(g,n))}}},$.prototype.parseExpression=function(e){var t=[];this.parseUntilEndStatement(e,t)||(this.parseVariableAssignmentExpression(t),this.parseUntilEndStatement(e,t)||this.pushExpression(e,t))},$.prototype.pushExpression=function(e,t){for(var n=0,r=t.length;n<r;n++)e.push(t[n])},$.prototype.parseUntilEndStatement=function(e,t){return!!this.accept(L)&&(!this.nextToken||this.nextToken.type===B||this.nextToken.type===N&&")"===this.nextToken.value||t.push(new f(h)),this.nextToken.type!==B&&this.parseExpression(t),e.push(new f(c,t)),!0)},$.prototype.parseArrayList=function(e){for(var t=0;!this.accept(V,"]");)for(this.parseExpression(e),++t;this.accept(j);)this.parseExpression(e),++t;return t},$.prototype.parseVariableAssignmentExpression=function(e){for(this.parseConditionalExpression(e);this.accept(E,"=");){var t=e.pop(),n=[],r=e.length-1;if(t.type!==p){if(t.type!==s&&t.type!==m)throw new Error("expected variable for assignment");this.parseVariableAssignmentExpression(n),e.push(new f(d,t.value)),e.push(new f(c,n)),e.push(v("="))}else{if(!this.tokens.isOperatorEnabled("()="))throw new Error("function definition is not permitted");for(var o=0,i=t.value+1;o<i;o++){var a=r-o;e[a].type===s&&(e[a]=new f(d,e[a].value))}this.parseVariableAssignmentExpression(n),e.push(new f(c,n)),e.push(new f(l,t.value))}}},$.prototype.parseConditionalExpression=function(e){for(this.parseOrExpression(e);this.accept(E,"?");){var t=[],n=[];this.parseConditionalExpression(t),this.expect(E,":"),this.parseConditionalExpression(n),e.push(new f(c,t)),e.push(new f(c,n)),e.push(k("?"))}},$.prototype.parseOrExpression=function(e){for(this.parseAndExpression(e);this.accept(E,"or");){var t=[];this.parseAndExpression(t),e.push(new f(c,t)),e.push(v("or"))}},$.prototype.parseAndExpression=function(e){for(this.parseComparison(e);this.accept(E,"and");){var t=[];this.parseComparison(t),e.push(new f(c,t)),e.push(v("and"))}};var z=["==","!=","<","<=",">=",">","in"];$.prototype.parseComparison=function(e){for(this.parseAddSub(e);this.accept(E,z);){var t=this.current;this.parseAddSub(e),e.push(v(t.value))}};var G=["+","-","||"];$.prototype.parseAddSub=function(e){for(this.parseTerm(e);this.accept(E,G);){var t=this.current;this.parseTerm(e),e.push(v(t.value))}};var H=["*","/","%"];function q(e,t){return Number(e)+Number(t)}function K(e,t){return e-t}function Z(e,t){return e*t}function J(e,t){return e/t}function Y(e,t){return e%t}function Q(e,t){return Array.isArray(e)&&Array.isArray(t)?e.concat(t):""+e+t}function X(e,t){return e===t}function ee(e,t){return e!==t}function te(e,t){return e>t}function ne(e,t){return e<t}function re(e,t){return e>=t}function oe(e,t){return e<=t}function ie(e,t){return Boolean(e&&t)}function ae(e,t){return Boolean(e||t)}function se(e,t){return x(t,e)}function de(e){return(Math.exp(e)-Math.exp(-e))/2}function pe(e){return(Math.exp(e)+Math.exp(-e))/2}function le(e){return e===1/0?1:e===-1/0?-1:(Math.exp(e)-Math.exp(-e))/(Math.exp(e)+Math.exp(-e))}function ce(e){return e===-1/0?e:Math.log(e+Math.sqrt(e*e+1))}function ue(e){return Math.log(e+Math.sqrt(e*e-1))}function me(e){return Math.log((1+e)/(1-e))/2}function he(e){return Math.log(e)*Math.LOG10E}function ge(e){return-e}function fe(e){return!e}function ye(e){return e<0?Math.ceil(e):Math.floor(e)}function ve(e){return Math.random()*(e||1)}function ke(e){return we(e+1)}$.prototype.parseTerm=function(e){for(this.parseFactor(e);this.accept(E,H);){var t=this.current;this.parseFactor(e),e.push(v(t.value))}},$.prototype.parseFactor=function(e){var t=this.tokens.unaryOps;if(this.save(),this.accept(E,(function(e){return e.value in t}))){if("-"!==this.current.value&&"+"!==this.current.value){if(this.nextToken.type===N&&"("===this.nextToken.value)return this.restore(),void this.parseExponential(e);if(this.nextToken.type===L||this.nextToken.type===j||this.nextToken.type===B||this.nextToken.type===N&&")"===this.nextToken.value)return this.restore(),void this.parseAtom(e)}var n=this.current;this.parseFactor(e),e.push(y(n.value))}else this.parseExponential(e)},$.prototype.parseExponential=function(e){for(this.parsePostfixExpression(e);this.accept(E,"^");)this.parseFactor(e),e.push(v("^"))},$.prototype.parsePostfixExpression=function(e){for(this.parseFunctionCall(e);this.accept(E,"!");)e.push(y("!"))},$.prototype.parseFunctionCall=function(e){var t=this.tokens.unaryOps;if(this.accept(E,(function(e){return e.value in t}))){var n=this.current;this.parseAtom(e),e.push(y(n.value))}else for(this.parseMemberExpression(e);this.accept(N,"(");)if(this.accept(N,")"))e.push(new f(p,0));else{var r=this.parseArgumentList(e);e.push(new f(p,r))}},$.prototype.parseArgumentList=function(e){for(var t=0;!this.accept(N,")");)for(this.parseExpression(e),++t;this.accept(j);)this.parseExpression(e),++t;return t},$.prototype.parseMemberExpression=function(e){for(this.parseAtom(e);this.accept(E,".")||this.accept(V,"[");){var t=this.current;if("."===t.value){if(!this.allowMemberAccess)throw new Error('unexpected ".", member access is not permitted');this.expect(M),e.push(new f(m,this.current.value))}else{if("["!==t.value)throw new Error("unexpected symbol: "+t.value);if(!this.tokens.isOperatorEnabled("["))throw new Error('unexpected "[]", arrays are disabled');this.parseExpression(e),this.expect(V,"]"),e.push(v("["))}}};var Te=4.7421875,be=[.9999999999999971,57.15623566586292,-59.59796035547549,14.136097974741746,-.4919138160976202,3399464998481189e-20,4652362892704858e-20,-9837447530487956e-20,.0001580887032249125,-.00021026444172410488,.00021743961811521265,-.0001643181065367639,8441822398385275e-20,-26190838401581408e-21,36899182659531625e-22];function we(e){var t,n;if(function(e){return isFinite(e)&&e===Math.round(e)}(e)){if(e<=0)return isFinite(e)?1/0:NaN;if(e>171)return 1/0;for(var r=e-2,o=e-1;r>1;)o*=r,r--;return 0===o&&(o=1),o}if(e<.5)return Math.PI/(Math.sin(Math.PI*e)*we(1-e));if(e>=171.35)return 1/0;if(e>85){var i=e*e,a=i*e,s=a*e,d=s*e;return Math.sqrt(2*Math.PI/e)*Math.pow(e/Math.E,e)*(1+1/(12*e)+1/(288*i)-139/(51840*a)-571/(2488320*s)+163879/(209018880*d)+5246819/(75246796800*d*e))}--e,n=be[0];for(var p=1;p<be.length;++p)n+=be[p]/(e+p);return t=e+Te+.5,Math.sqrt(2*Math.PI)*Math.pow(t,e+.5)*Math.exp(-t)*n}function Se(e){return Array.isArray(e)?e.length:String(e).length}function Ie(){for(var e=0,t=0,n=0;n<arguments.length;n++){var r,o=Math.abs(arguments[n]);t<o?(e=e*(r=t/o)*r+1,t=o):e+=o>0?(r=o/t)*r:o}return t===1/0?1/0:t*Math.sqrt(e)}function De(e,t,n){return e?t:n}function _e(e,t){return void 0===t||0==+t?Math.round(e):(e=+e,t=-+t,isNaN(e)||"number"!=typeof t||t%1!=0?NaN:(e=e.toString().split("e"),+((e=(e=Math.round(+(e[0]+"e"+(e[1]?+e[1]-t:-t)))).toString().split("e"))[0]+"e"+(e[1]?+e[1]+t:t))))}function Pe(e,t,n){return n&&(n[e]=t),t}function xe(e,t){return e[0|t]}function Ce(e){return 1===arguments.length&&Array.isArray(e)?Math.max.apply(Math,e):Math.max.apply(Math,arguments)}function Oe(e){return 1===arguments.length&&Array.isArray(e)?Math.min.apply(Math,e):Math.min.apply(Math,arguments)}function Be(e,t){if("function"!=typeof e)throw new Error("First argument to map is not a function");if(!Array.isArray(t))throw new Error("Second argument to map is not an array");return t.map((function(t,n){return e(t,n)}))}function Ee(e,t,n){if("function"!=typeof e)throw new Error("First argument to fold is not a function");if(!Array.isArray(n))throw new Error("Second argument to fold is not an array");return n.reduce((function(t,n,r){return e(t,n,r)}),t)}function Re(e,t){if("function"!=typeof e)throw new Error("First argument to filter is not a function");if(!Array.isArray(t))throw new Error("Second argument to filter is not an array");return t.filter((function(t,n){return e(t,n)}))}function Ae(e,t){if(!Array.isArray(t)&&"string"!=typeof t)throw new Error("Second argument to indexOf is not a string or array");return t.indexOf(e)}function Ne(e,t){if(!Array.isArray(t))throw new Error("Second argument to join is not an array");return t.join(e)}function Ve(e){return(e>0)-(e<0)||+e}var je=1/3;function Me(e){return e<0?-Math.pow(-e,je):Math.pow(e,je)}function Le(e){return Math.exp(e)-1}function Ue(e){return Math.log(1+e)}function Fe(e){return Math.log(e)/Math.LN2}function We(e){this.options=e||{},this.unaryOps={sin:Math.sin,cos:Math.cos,tan:Math.tan,asin:Math.asin,acos:Math.acos,atan:Math.atan,sinh:Math.sinh||de,cosh:Math.cosh||pe,tanh:Math.tanh||le,asinh:Math.asinh||ce,acosh:Math.acosh||ue,atanh:Math.atanh||me,sqrt:Math.sqrt,cbrt:Math.cbrt||Me,log:Math.log,log2:Math.log2||Fe,ln:Math.log,lg:Math.log10||he,log10:Math.log10||he,expm1:Math.expm1||Le,log1p:Math.log1p||Ue,abs:Math.abs,ceil:Math.ceil,floor:Math.floor,round:Math.round,trunc:Math.trunc||ye,"-":ge,"+":Number,exp:Math.exp,not:fe,length:Se,"!":ke,sign:Math.sign||Ve},this.binaryOps={"+":q,"-":K,"*":Z,"/":J,"%":Y,"^":Math.pow,"||":Q,"==":X,"!=":ee,">":te,"<":ne,">=":re,"<=":oe,and:ie,or:ae,in:se,"=":Pe,"[":xe},this.ternaryOps={"?":De},this.functions={random:ve,fac:ke,min:Oe,max:Ce,hypot:Math.hypot||Ie,pyt:Math.hypot||Ie,pow:Math.pow,atan2:Math.atan2,if:De,gamma:we,roundTo:_e,map:Be,fold:Ee,filter:Re,indexOf:Ae,join:Ne},this.consts={E:Math.E,PI:Math.PI,true:!0,false:!1}}We.prototype.parse=function(e){var t=[],n=new $(this,new F(this,e),{allowMemberAccess:this.options.allowMemberAccess});return n.parseExpression(t),n.expect(B,"EOF"),new O(t,this)},We.prototype.evaluate=function(e,t){return this.parse(e).evaluate(t)};var $e=new We;We.parse=function(e){return $e.parse(e)},We.evaluate=function(e,t){return $e.parse(e).evaluate(t)};var ze={"+":"add","-":"subtract","*":"multiply","/":"divide","%":"remainder","^":"power","!":"factorial","<":"comparison",">":"comparison","<=":"comparison",">=":"comparison","==":"comparison","!=":"comparison","||":"concatenate",and:"logical",or:"logical",not:"logical","?":"conditional",":":"conditional","=":"assignment","[":"array","()=":"fndef"};We.prototype.isOperatorEnabled=function(e){var t=function(e){return ze.hasOwnProperty(e)?ze[e]:e}(e),n=this.options.operators||{};return!(t in n)||!!n[t]};const Ge={Parser:We,Expression:O}},8719:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AbortError:()=>q,FetchError:()=>m,Headers:()=>O,Request:()=>H,Response:()=>M,default:()=>Q});const r=require("stream"),o=require("http"),i=require("url");var a=n(540);const s=require("https"),d=require("zlib"),p=r.Readable,l=Symbol("buffer"),c=Symbol("type");class u{constructor(){this[c]="";const e=arguments[0],t=arguments[1],n=[];let r=0;if(e){const t=e,o=Number(t.length);for(let e=0;e<o;e++){const o=t[e];let i;i=o instanceof Buffer?o:ArrayBuffer.isView(o)?Buffer.from(o.buffer,o.byteOffset,o.byteLength):o instanceof ArrayBuffer?Buffer.from(o):o instanceof u?o[l]:Buffer.from("string"==typeof o?o:String(o)),r+=i.length,n.push(i)}}this[l]=Buffer.concat(n);let o=t&&void 0!==t.type&&String(t.type).toLowerCase();o&&!/[^\u0020-\u007E]/.test(o)&&(this[c]=o)}get size(){return this[l].length}get type(){return this[c]}text(){return Promise.resolve(this[l].toString())}arrayBuffer(){const e=this[l],t=e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength);return Promise.resolve(t)}stream(){const e=new p;return e._read=function(){},e.push(this[l]),e.push(null),e}toString(){return"[object Blob]"}slice(){const e=this.size,t=arguments[0],n=arguments[1];let r,o;r=void 0===t?0:t<0?Math.max(e+t,0):Math.min(t,e),o=void 0===n?e:n<0?Math.max(e+n,0):Math.min(n,e);const i=Math.max(o-r,0),a=this[l].slice(r,r+i),s=new u([],{type:arguments[2]});return s[l]=a,s}}function m(e,t,n){Error.call(this,e),this.message=e,this.type=t,n&&(this.code=this.errno=n.code),Error.captureStackTrace(this,this.constructor)}let h;Object.defineProperties(u.prototype,{size:{enumerable:!0},type:{enumerable:!0},slice:{enumerable:!0}}),Object.defineProperty(u.prototype,Symbol.toStringTag,{value:"Blob",writable:!1,enumerable:!1,configurable:!0}),m.prototype=Object.create(Error.prototype),m.prototype.constructor=m,m.prototype.name="FetchError";try{h=require("encoding").convert}catch(e){}const g=Symbol("Body internals"),f=r.PassThrough;function y(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.size;let i=void 0===o?0:o;var a=n.timeout;let s=void 0===a?0:a;null==e?e=null:k(e)?e=Buffer.from(e.toString()):T(e)||Buffer.isBuffer(e)||("[object ArrayBuffer]"===Object.prototype.toString.call(e)?e=Buffer.from(e):ArrayBuffer.isView(e)?e=Buffer.from(e.buffer,e.byteOffset,e.byteLength):e instanceof r||(e=Buffer.from(String(e)))),this[g]={body:e,disturbed:!1,error:null},this.size=i,this.timeout=s,e instanceof r&&e.on("error",(function(e){const n="AbortError"===e.name?e:new m(`Invalid response body while trying to fetch ${t.url}: ${e.message}`,"system",e);t[g].error=n}))}function v(){var e=this;if(this[g].disturbed)return y.Promise.reject(new TypeError(`body used already for: ${this.url}`));if(this[g].disturbed=!0,this[g].error)return y.Promise.reject(this[g].error);let t=this.body;if(null===t)return y.Promise.resolve(Buffer.alloc(0));if(T(t)&&(t=t.stream()),Buffer.isBuffer(t))return y.Promise.resolve(t);if(!(t instanceof r))return y.Promise.resolve(Buffer.alloc(0));let n=[],o=0,i=!1;return new y.Promise((function(r,a){let s;e.timeout&&(s=setTimeout((function(){i=!0,a(new m(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))}),e.timeout)),t.on("error",(function(t){"AbortError"===t.name?(i=!0,a(t)):a(new m(`Invalid response body while trying to fetch ${e.url}: ${t.message}`,"system",t))})),t.on("data",(function(t){if(!i&&null!==t){if(e.size&&o+t.length>e.size)return i=!0,void a(new m(`content size at ${e.url} over limit: ${e.size}`,"max-size"));o+=t.length,n.push(t)}})),t.on("end",(function(){if(!i){clearTimeout(s);try{r(Buffer.concat(n,o))}catch(t){a(new m(`Could not create Buffer from response body for ${e.url}: ${t.message}`,"system",t))}}}))}))}function k(e){return"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&("URLSearchParams"===e.constructor.name||"[object URLSearchParams]"===Object.prototype.toString.call(e)||"function"==typeof e.sort)}function T(e){return"object"==typeof e&&"function"==typeof e.arrayBuffer&&"string"==typeof e.type&&"function"==typeof e.stream&&"function"==typeof e.constructor&&"string"==typeof e.constructor.name&&/^(Blob|File)$/.test(e.constructor.name)&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function b(e){let t,n,o=e.body;if(e.bodyUsed)throw new Error("cannot clone body after it is used");return o instanceof r&&"function"!=typeof o.getBoundary&&(t=new f,n=new f,o.pipe(t),o.pipe(n),e[g].body=t,o=n),o}function w(e){return null===e?null:"string"==typeof e?"text/plain;charset=UTF-8":k(e)?"application/x-www-form-urlencoded;charset=UTF-8":T(e)?e.type||null:Buffer.isBuffer(e)||"[object ArrayBuffer]"===Object.prototype.toString.call(e)||ArrayBuffer.isView(e)?null:"function"==typeof e.getBoundary?`multipart/form-data;boundary=${e.getBoundary()}`:e instanceof r?null:"text/plain;charset=UTF-8"}function S(e){const t=e.body;return null===t?0:T(t)?t.size:Buffer.isBuffer(t)?t.length:t&&"function"==typeof t.getLengthSync&&(t._lengthRetrievers&&0==t._lengthRetrievers.length||t.hasKnownLength&&t.hasKnownLength())?t.getLengthSync():null}y.prototype={get body(){return this[g].body},get bodyUsed(){return this[g].disturbed},arrayBuffer(){return v.call(this).then((function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}))},blob(){let e=this.headers&&this.headers.get("content-type")||"";return v.call(this).then((function(t){return Object.assign(new u([],{type:e.toLowerCase()}),{[l]:t})}))},json(){var e=this;return v.call(this).then((function(t){try{return JSON.parse(t.toString())}catch(t){return y.Promise.reject(new m(`invalid json response body at ${e.url} reason: ${t.message}`,"invalid-json"))}}))},text(){return v.call(this).then((function(e){return e.toString()}))},buffer(){return v.call(this)},textConverted(){var e=this;return v.call(this).then((function(t){return function(e,t){if("function"!=typeof h)throw new Error("The package `encoding` must be installed to use the textConverted() function");const n=t.get("content-type");let r,o,i="utf-8";return n&&(r=/charset=([^;]*)/i.exec(n)),o=e.slice(0,1024).toString(),!r&&o&&(r=/<meta.+?charset=(['"])(.+?)\1/i.exec(o)),!r&&o&&(r=/<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(o),r||(r=/<meta[\s]+?content=(['"])(.+?)\1[\s]+?http-equiv=(['"])content-type\3/i.exec(o),r&&r.pop()),r&&(r=/charset=(.*)/i.exec(r.pop()))),!r&&o&&(r=/<\?xml.+?encoding=(['"])(.+?)\1/i.exec(o)),r&&(i=r.pop(),"gb2312"!==i&&"gbk"!==i||(i="gb18030")),h(e,"UTF-8",i).toString()}(t,e.headers)}))}},Object.defineProperties(y.prototype,{body:{enumerable:!0},bodyUsed:{enumerable:!0},arrayBuffer:{enumerable:!0},blob:{enumerable:!0},json:{enumerable:!0},text:{enumerable:!0}}),y.mixIn=function(e){for(const t of Object.getOwnPropertyNames(y.prototype))if(!(t in e)){const n=Object.getOwnPropertyDescriptor(y.prototype,t);Object.defineProperty(e,t,n)}},y.Promise=global.Promise;const I=/[^\^_`a-zA-Z\-0-9!#$%&'*+.|~]/,D=/[^\t\x20-\x7e\x80-\xff]/;function _(e){if(e=`${e}`,I.test(e)||""===e)throw new TypeError(`${e} is not a legal HTTP header name`)}function P(e){if(e=`${e}`,D.test(e))throw new TypeError(`${e} is not a legal HTTP header value`)}function x(e,t){t=t.toLowerCase();for(const n in e)if(n.toLowerCase()===t)return n}const C=Symbol("map");class O{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(this[C]=Object.create(null),e instanceof O){const t=e.raw(),n=Object.keys(t);for(const e of n)for(const n of t[e])this.append(e,n)}else if(null==e);else{if("object"!=typeof e)throw new TypeError("Provided initializer must be an object");{const t=e[Symbol.iterator];if(null!=t){if("function"!=typeof t)throw new TypeError("Header pairs must be iterable");const n=[];for(const t of e){if("object"!=typeof t||"function"!=typeof t[Symbol.iterator])throw new TypeError("Each header pair must be iterable");n.push(Array.from(t))}for(const e of n){if(2!==e.length)throw new TypeError("Each header pair must be a name/value tuple");this.append(e[0],e[1])}}else for(const t of Object.keys(e)){const n=e[t];this.append(t,n)}}}}get(e){_(e=`${e}`);const t=x(this[C],e);return void 0===t?null:this[C][t].join(", ")}forEach(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=B(this),r=0;for(;r<n.length;){var o=n[r];const i=o[0],a=o[1];e.call(t,a,i,this),n=B(this),r++}}set(e,t){t=`${t}`,_(e=`${e}`),P(t);const n=x(this[C],e);this[C][void 0!==n?n:e]=[t]}append(e,t){t=`${t}`,_(e=`${e}`),P(t);const n=x(this[C],e);void 0!==n?this[C][n].push(t):this[C][e]=[t]}has(e){return _(e=`${e}`),void 0!==x(this[C],e)}delete(e){_(e=`${e}`);const t=x(this[C],e);void 0!==t&&delete this[C][t]}raw(){return this[C]}keys(){return R(this,"key")}values(){return R(this,"value")}[Symbol.iterator](){return R(this,"key+value")}}function B(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"key+value";return Object.keys(e[C]).sort().map("key"===t?function(e){return e.toLowerCase()}:"value"===t?function(t){return e[C][t].join(", ")}:function(t){return[t.toLowerCase(),e[C][t].join(", ")]})}O.prototype.entries=O.prototype[Symbol.iterator],Object.defineProperty(O.prototype,Symbol.toStringTag,{value:"Headers",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(O.prototype,{get:{enumerable:!0},forEach:{enumerable:!0},set:{enumerable:!0},append:{enumerable:!0},has:{enumerable:!0},delete:{enumerable:!0},keys:{enumerable:!0},values:{enumerable:!0},entries:{enumerable:!0}});const E=Symbol("internal");function R(e,t){const n=Object.create(A);return n[E]={target:e,kind:t,index:0},n}const A=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==A)throw new TypeError("Value of `this` is not a HeadersIterator");var e=this[E];const t=e.target,n=e.kind,r=e.index,o=B(t,n);return r>=o.length?{value:void 0,done:!0}:(this[E].index=r+1,{value:o[r],done:!1})}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));function N(e){const t=Object.assign({__proto__:null},e[C]),n=x(e[C],"Host");return void 0!==n&&(t[n]=t[n][0]),t}Object.defineProperty(A,Symbol.toStringTag,{value:"HeadersIterator",writable:!1,enumerable:!1,configurable:!0});const V=Symbol("Response internals"),j=o.STATUS_CODES;class M{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};y.call(this,e,t);const n=t.status||200,r=new O(t.headers);if(null!=e&&!r.has("Content-Type")){const t=w(e);t&&r.append("Content-Type",t)}this[V]={url:t.url,status:n,statusText:t.statusText||j[n],headers:r,counter:t.counter}}get url(){return this[V].url||""}get status(){return this[V].status}get ok(){return this[V].status>=200&&this[V].status<300}get redirected(){return this[V].counter>0}get statusText(){return this[V].statusText}get headers(){return this[V].headers}clone(){return new M(b(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}y.mixIn(M.prototype),Object.defineProperties(M.prototype,{url:{enumerable:!0},status:{enumerable:!0},ok:{enumerable:!0},redirected:{enumerable:!0},statusText:{enumerable:!0},headers:{enumerable:!0},clone:{enumerable:!0}}),Object.defineProperty(M.prototype,Symbol.toStringTag,{value:"Response",writable:!1,enumerable:!1,configurable:!0});const L=Symbol("Request internals"),U=i.URL||a.URL,F=i.parse,W=i.format;function $(e){return/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(e)&&(e=new U(e).toString()),F(e)}const z="destroy"in r.Readable.prototype;function G(e){return"object"==typeof e&&"object"==typeof e[L]}class H{constructor(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};G(e)?t=$(e.url):(t=e&&e.href?$(e.href):$(`${e}`),e={});let r=n.method||e.method||"GET";if(r=r.toUpperCase(),(null!=n.body||G(e)&&null!==e.body)&&("GET"===r||"HEAD"===r))throw new TypeError("Request with GET/HEAD method cannot have body");let o=null!=n.body?n.body:G(e)&&null!==e.body?b(e):null;y.call(this,o,{timeout:n.timeout||e.timeout||0,size:n.size||e.size||0});const i=new O(n.headers||e.headers||{});if(null!=o&&!i.has("Content-Type")){const e=w(o);e&&i.append("Content-Type",e)}let a=G(e)?e.signal:null;if("signal"in n&&(a=n.signal),null!=a&&!function(e){const t=e&&"object"==typeof e&&Object.getPrototypeOf(e);return!(!t||"AbortSignal"!==t.constructor.name)}(a))throw new TypeError("Expected signal to be an instanceof AbortSignal");this[L]={method:r,redirect:n.redirect||e.redirect||"follow",headers:i,parsedURL:t,signal:a},this.follow=void 0!==n.follow?n.follow:void 0!==e.follow?e.follow:20,this.compress=void 0!==n.compress?n.compress:void 0===e.compress||e.compress,this.counter=n.counter||e.counter||0,this.agent=n.agent||e.agent}get method(){return this[L].method}get url(){return W(this[L].parsedURL)}get headers(){return this[L].headers}get redirect(){return this[L].redirect}get signal(){return this[L].signal}clone(){return new H(this)}}function q(e){Error.call(this,e),this.type="aborted",this.message=e,Error.captureStackTrace(this,this.constructor)}y.mixIn(H.prototype),Object.defineProperty(H.prototype,Symbol.toStringTag,{value:"Request",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(H.prototype,{method:{enumerable:!0},url:{enumerable:!0},headers:{enumerable:!0},redirect:{enumerable:!0},clone:{enumerable:!0},signal:{enumerable:!0}}),q.prototype=Object.create(Error.prototype),q.prototype.constructor=q,q.prototype.name="AbortError";const K=i.URL||a.URL,Z=r.PassThrough;function J(e,t){if(!J.Promise)throw new Error("native promise missing, set fetch.Promise to your favorite alternative");return y.Promise=J.Promise,new J.Promise((function(n,i){const a=new H(e,t),p=function(e){const t=e[L].parsedURL,n=new O(e[L].headers);if(n.has("Accept")||n.set("Accept","*/*"),!t.protocol||!t.hostname)throw new TypeError("Only absolute URLs are supported");if(!/^https?:$/.test(t.protocol))throw new TypeError("Only HTTP(S) protocols are supported");if(e.signal&&e.body instanceof r.Readable&&!z)throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8");let o=null;if(null==e.body&&/^(POST|PUT)$/i.test(e.method)&&(o="0"),null!=e.body){const t=S(e);"number"==typeof t&&(o=String(t))}o&&n.set("Content-Length",o),n.has("User-Agent")||n.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"),e.compress&&!n.has("Accept-Encoding")&&n.set("Accept-Encoding","gzip,deflate");let i=e.agent;return"function"==typeof i&&(i=i(t)),Object.assign({},t,{method:e.method,headers:N(n),agent:i})}(a),l=("https:"===p.protocol?s:o).request,c=a.signal;let u=null;const h=function(){let e=new q("The user aborted a request.");i(e),a.body&&a.body instanceof r.Readable&&Y(a.body,e),u&&u.body&&u.body.emit("error",e)};if(c&&c.aborted)return void h();const g=function(){h(),v()},f=l(p);let y;function v(){f.abort(),c&&c.removeEventListener("abort",g),clearTimeout(y)}c&&c.addEventListener("abort",g),a.timeout&&f.once("socket",(function(e){y=setTimeout((function(){i(new m(`network timeout at: ${a.url}`,"request-timeout")),v()}),a.timeout)})),f.on("error",(function(e){i(new m(`request to ${a.url} failed, reason: ${e.message}`,"system",e)),u&&u.body&&Y(u.body,e),v()})),function(e,t){let n;e.on("socket",(function(e){n=e})),e.on("response",(function(e){const r=e.headers;"chunked"!==r["transfer-encoding"]||r["content-length"]||e.once("close",(function(e){if(n&&n.listenerCount("data")>0&&!e){const e=new Error("Premature close");e.code="ERR_STREAM_PREMATURE_CLOSE",t(e)}}))}))}(f,(function(e){c&&c.aborted||u&&u.body&&Y(u.body,e)})),parseInt(process.version.substring(1))<14&&f.on("socket",(function(e){e.addListener("close",(function(t){const n=e.listenerCount("data")>0;if(u&&n&&!t&&(!c||!c.aborted)){const e=new Error("Premature close");e.code="ERR_STREAM_PREMATURE_CLOSE",u.body.emit("error",e)}}))})),f.on("response",(function(e){clearTimeout(y);const t=function(e){const t=new O;for(const n of Object.keys(e))if(!I.test(n))if(Array.isArray(e[n]))for(const r of e[n])D.test(r)||(void 0===t[C][n]?t[C][n]=[r]:t[C][n].push(r));else D.test(e[n])||(t[C][n]=[e[n]]);return t}(e.headers);if(J.isRedirect(e.statusCode)){const o=t.get("Location");let s=null;try{s=null===o?null:new K(o,a.url).toString()}catch(e){if("manual"!==a.redirect)return i(new m(`uri requested responds with an invalid redirect URL: ${o}`,"invalid-redirect")),void v()}switch(a.redirect){case"error":return i(new m(`uri requested responds with a redirect, redirect mode is set to error: ${a.url}`,"no-redirect")),void v();case"manual":if(null!==s)try{t.set("Location",s)}catch(e){i(e)}break;case"follow":if(null===s)break;if(a.counter>=a.follow)return i(new m(`maximum redirect reached at: ${a.url}`,"max-redirect")),void v();const o={headers:new O(a.headers),follow:a.follow,counter:a.counter+1,agent:a.agent,compress:a.compress,method:a.method,body:a.body,signal:a.signal,timeout:a.timeout,size:a.size};if(!function(e,t){const n=new K(t).hostname,r=new K(e).hostname;return n===r||"."===n[n.length-r.length-1]&&n.endsWith(r)}(a.url,s)||(r=a.url,new K(s).protocol!==new K(r).protocol))for(const e of["authorization","www-authenticate","cookie","cookie2"])o.headers.delete(e);return 303!==e.statusCode&&a.body&&null===S(a)?(i(new m("Cannot follow redirect with body being a readable stream","unsupported-redirect")),void v()):(303!==e.statusCode&&(301!==e.statusCode&&302!==e.statusCode||"POST"!==a.method)||(o.method="GET",o.body=void 0,o.headers.delete("content-length")),n(J(new H(s,o))),void v())}}var r;e.once("end",(function(){c&&c.removeEventListener("abort",g)}));let o=e.pipe(new Z);const s={url:a.url,status:e.statusCode,statusText:e.statusMessage,headers:t,size:a.size,timeout:a.timeout,counter:a.counter},p=t.get("Content-Encoding");if(!a.compress||"HEAD"===a.method||null===p||204===e.statusCode||304===e.statusCode)return u=new M(o,s),void n(u);const l={flush:d.Z_SYNC_FLUSH,finishFlush:d.Z_SYNC_FLUSH};if("gzip"==p||"x-gzip"==p)return o=o.pipe(d.createGunzip(l)),u=new M(o,s),void n(u);if("deflate"==p||"x-deflate"==p){const t=e.pipe(new Z);return t.once("data",(function(e){o=8==(15&e[0])?o.pipe(d.createInflate()):o.pipe(d.createInflateRaw()),u=new M(o,s),n(u)})),void t.on("end",(function(){u||(u=new M(o,s),n(u))}))}if("br"==p&&"function"==typeof d.createBrotliDecompress)return o=o.pipe(d.createBrotliDecompress()),u=new M(o,s),void n(u);u=new M(o,s),n(u)})),function(e,t){const n=t.body;null===n?e.end():T(n)?n.stream().pipe(e):Buffer.isBuffer(n)?(e.write(n),e.end()):n.pipe(e)}(f,a)}))}function Y(e,t){e.destroy?e.destroy(t):(e.emit("error",t),e.end())}J.isRedirect=function(e){return 301===e||302===e||303===e||307===e||308===e},J.Promise=global.Promise;const Q=J},330:e=>{"use strict";e.exports=JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"],[[47,47],"disallowed_STD3_valid"],[[48,57],"valid"],[[58,64],"disallowed_STD3_valid"],[[65,65],"mapped",[97]],[[66,66],"mapped",[98]],[[67,67],"mapped",[99]],[[68,68],"mapped",[100]],[[69,69],"mapped",[101]],[[70,70],"mapped",[102]],[[71,71],"mapped",[103]],[[72,72],"mapped",[104]],[[73,73],"mapped",[105]],[[74,74],"mapped",[106]],[[75,75],"mapped",[107]],[[76,76],"mapped",[108]],[[77,77],"mapped",[109]],[[78,78],"mapped",[110]],[[79,79],"mapped",[111]],[[80,80],"mapped",[112]],[[81,81],"mapped",[113]],[[82,82],"mapped",[114]],[[83,83],"mapped",[115]],[[84,84],"mapped",[116]],[[85,85],"mapped",[117]],[[86,86],"mapped",[118]],[[87,87],"mapped",[119]],[[88,88],"mapped",[120]],[[89,89],"mapped",[121]],[[90,90],"mapped",[122]],[[91,96],"disallowed_STD3_valid"],[[97,122],"valid"],[[123,127],"disallowed_STD3_valid"],[[128,159],"disallowed"],[[160,160],"disallowed_STD3_mapped",[32]],[[161,167],"valid",[],"NV8"],[[168,168],"disallowed_STD3_mapped",[32,776]],[[169,169],"valid",[],"NV8"],[[170,170],"mapped",[97]],[[171,172],"valid",[],"NV8"],[[173,173],"ignored"],[[174,174],"valid",[],"NV8"],[[175,175],"disallowed_STD3_mapped",[32,772]],[[176,177],"valid",[],"NV8"],[[178,178],"mapped",[50]],[[179,179],"mapped",[51]],[[180,180],"disallowed_STD3_mapped",[32,769]],[[181,181],"mapped",[956]],[[182,182],"valid",[],"NV8"],[[183,183],"valid"],[[184,184],"disallowed_STD3_mapped",[32,807]],[[185,185],"mapped",[49]],[[186,186],"mapped",[111]],[[187,187],"valid",[],"NV8"],[[188,188],"mapped",[49,8260,52]],[[189,189],"mapped",[49,8260,50]],[[190,190],"mapped",[51,8260,52]],[[191,191],"valid",[],"NV8"],[[192,192],"mapped",[224]],[[193,193],"mapped",[225]],[[194,194],"mapped",[226]],[[195,195],"mapped",[227]],[[196,196],"mapped",[228]],[[197,197],"mapped",[229]],[[198,198],"mapped",[230]],[[199,199],"mapped",[231]],[[200,200],"mapped",[232]],[[201,201],"mapped",[233]],[[202,202],"mapped",[234]],[[203,203],"mapped",[235]],[[204,204],"mapped",[236]],[[205,205],"mapped",[237]],[[206,206],"mapped",[238]],[[207,207],"mapped",[239]],[[208,208],"mapped",[240]],[[209,209],"mapped",[241]],[[210,210],"mapped",[242]],[[211,211],"mapped",[243]],[[212,212],"mapped",[244]],[[213,213],"mapped",[245]],[[214,214],"mapped",[246]],[[215,215],"valid",[],"NV8"],[[216,216],"mapped",[248]],[[217,217],"mapped",[249]],[[218,218],"mapped",[250]],[[219,219],"mapped",[251]],[[220,220],"mapped",[252]],[[221,221],"mapped",[253]],[[222,222],"mapped",[254]],[[223,223],"deviation",[115,115]],[[224,246],"valid"],[[247,247],"valid",[],"NV8"],[[248,255],"valid"],[[256,256],"mapped",[257]],[[257,257],"valid"],[[258,258],"mapped",[259]],[[259,259],"valid"],[[260,260],"mapped",[261]],[[261,261],"valid"],[[262,262],"mapped",[263]],[[263,263],"valid"],[[264,264],"mapped",[265]],[[265,265],"valid"],[[266,266],"mapped",[267]],[[267,267],"valid"],[[268,268],"mapped",[269]],[[269,269],"valid"],[[270,270],"mapped",[271]],[[271,271],"valid"],[[272,272],"mapped",[273]],[[273,273],"valid"],[[274,274],"mapped",[275]],[[275,275],"valid"],[[276,276],"mapped",[277]],[[277,277],"valid"],[[278,278],"mapped",[279]],[[279,279],"valid"],[[280,280],"mapped",[281]],[[281,281],"valid"],[[282,282],"mapped",[283]],[[283,283],"valid"],[[284,284],"mapped",[285]],[[285,285],"valid"],[[286,286],"mapped",[287]],[[287,287],"valid"],[[288,288],"mapped",[289]],[[289,289],"valid"],[[290,290],"mapped",[291]],[[291,291],"valid"],[[292,292],"mapped",[293]],[[293,293],"valid"],[[294,294],"mapped",[295]],[[295,295],"valid"],[[296,296],"mapped",[297]],[[297,297],"valid"],[[298,298],"mapped",[299]],[[299,299],"valid"],[[300,300],"mapped",[301]],[[301,301],"valid"],[[302,302],"mapped",[303]],[[303,303],"valid"],[[304,304],"mapped",[105,775]],[[305,305],"valid"],[[306,307],"mapped",[105,106]],[[308,308],"mapped",[309]],[[309,309],"valid"],[[310,310],"mapped",[311]],[[311,312],"valid"],[[313,313],"mapped",[314]],[[314,314],"valid"],[[315,315],"mapped",[316]],[[316,316],"valid"],[[317,317],"mapped",[318]],[[318,318],"valid"],[[319,320],"mapped",[108,183]],[[321,321],"mapped",[322]],[[322,322],"valid"],[[323,323],"mapped",[324]],[[324,324],"valid"],[[325,325],"mapped",[326]],[[326,326],"valid"],[[327,327],"mapped",[328]],[[328,328],"valid"],[[329,329],"mapped",[700,110]],[[330,330],"mapped",[331]],[[331,331],"valid"],[[332,332],"mapped",[333]],[[333,333],"valid"],[[334,334],"mapped",[335]],[[335,335],"valid"],[[336,336],"mapped",[337]],[[337,337],"valid"],[[338,338],"mapped",[339]],[[339,339],"valid"],[[340,340],"mapped",[341]],[[341,341],"valid"],[[342,342],"mapped",[343]],[[343,343],"valid"],[[344,344],"mapped",[345]],[[345,345],"valid"],[[346,346],"mapped",[347]],[[347,347],"valid"],[[348,348],"mapped",[349]],[[349,349],"valid"],[[350,350],"mapped",[351]],[[351,351],"valid"],[[352,352],"mapped",[353]],[[353,353],"valid"],[[354,354],"mapped",[355]],[[355,355],"valid"],[[356,356],"mapped",[357]],[[357,357],"valid"],[[358,358],"mapped",[359]],[[359,359],"valid"],[[360,360],"mapped",[361]],[[361,361],"valid"],[[362,362],"mapped",[363]],[[363,363],"valid"],[[364,364],"mapped",[365]],[[365,365],"valid"],[[366,366],"mapped",[367]],[[367,367],"valid"],[[368,368],"mapped",[369]],[[369,369],"valid"],[[370,370],"mapped",[371]],[[371,371],"valid"],[[372,372],"mapped",[373]],[[373,373],"valid"],[[374,374],"mapped",[375]],[[375,375],"valid"],[[376,376],"mapped",[255]],[[377,377],"mapped",[378]],[[378,378],"valid"],[[379,379],"mapped",[380]],[[380,380],"valid"],[[381,381],"mapped",[382]],[[382,382],"valid"],[[383,383],"mapped",[115]],[[384,384],"valid"],[[385,385],"mapped",[595]],[[386,386],"mapped",[387]],[[387,387],"valid"],[[388,388],"mapped",[389]],[[389,389],"valid"],[[390,390],"mapped",[596]],[[391,391],"mapped",[392]],[[392,392],"valid"],[[393,393],"mapped",[598]],[[394,394],"mapped",[599]],[[395,395],"mapped",[396]],[[396,397],"valid"],[[398,398],"mapped",[477]],[[399,399],"mapped",[601]],[[400,400],"mapped",[603]],[[401,401],"mapped",[402]],[[402,402],"valid"],[[403,403],"mapped",[608]],[[404,404],"mapped",[611]],[[405,405],"valid"],[[406,406],"mapped",[617]],[[407,407],"mapped",[616]],[[408,408],"mapped",[409]],[[409,411],"valid"],[[412,412],"mapped",[623]],[[413,413],"mapped",[626]],[[414,414],"valid"],[[415,415],"mapped",[629]],[[416,416],"mapped",[417]],[[417,417],"valid"],[[418,418],"mapped",[419]],[[419,419],"valid"],[[420,420],"mapped",[421]],[[421,421],"valid"],[[422,422],"mapped",[640]],[[423,423],"mapped",[424]],[[424,424],"valid"],[[425,425],"mapped",[643]],[[426,427],"valid"],[[428,428],"mapped",[429]],[[429,429],"valid"],[[430,430],"mapped",[648]],[[431,431],"mapped",[432]],[[432,432],"valid"],[[433,433],"mapped",[650]],[[434,434],"mapped",[651]],[[435,435],"mapped",[436]],[[436,436],"valid"],[[437,437],"mapped",[438]],[[438,438],"valid"],[[439,439],"mapped",[658]],[[440,440],"mapped",[441]],[[441,443],"valid"],[[444,444],"mapped",[445]],[[445,451],"valid"],[[452,454],"mapped",[100,382]],[[455,457],"mapped",[108,106]],[[458,460],"mapped",[110,106]],[[461,461],"mapped",[462]],[[462,462],"valid"],[[463,463],"mapped",[464]],[[464,464],"valid"],[[465,465],"mapped",[466]],[[466,466],"valid"],[[467,467],"mapped",[468]],[[468,468],"valid"],[[469,469],"mapped",[470]],[[470,470],"valid"],[[471,471],"mapped",[472]],[[472,472],"valid"],[[473,473],"mapped",[474]],[[474,474],"valid"],[[475,475],"mapped",[476]],[[476,477],"valid"],[[478,478],"mapped",[479]],[[479,479],"valid"],[[480,480],"mapped",[481]],[[481,481],"valid"],[[482,482],"mapped",[483]],[[483,483],"valid"],[[484,484],"mapped",[485]],[[485,485],"valid"],[[486,486],"mapped",[487]],[[487,487],"valid"],[[488,488],"mapped",[489]],[[489,489],"valid"],[[490,490],"mapped",[491]],[[491,491],"valid"],[[492,492],"mapped",[493]],[[493,493],"valid"],[[494,494],"mapped",[495]],[[495,496],"valid"],[[497,499],"mapped",[100,122]],[[500,500],"mapped",[501]],[[501,501],"valid"],[[502,502],"mapped",[405]],[[503,503],"mapped",[447]],[[504,504],"mapped",[505]],[[505,505],"valid"],[[506,506],"mapped",[507]],[[507,507],"valid"],[[508,508],"mapped",[509]],[[509,509],"valid"],[[510,510],"mapped",[511]],[[511,511],"valid"],[[512,512],"mapped",[513]],[[513,513],"valid"],[[514,514],"mapped",[515]],[[515,515],"valid"],[[516,516],"mapped",[517]],[[517,517],"valid"],[[518,518],"mapped",[519]],[[519,519],"valid"],[[520,520],"mapped",[521]],[[521,521],"valid"],[[522,522],"mapped",[523]],[[523,523],"valid"],[[524,524],"mapped",[525]],[[525,525],"valid"],[[526,526],"mapped",[527]],[[527,527],"valid"],[[528,528],"mapped",[529]],[[529,529],"valid"],[[530,530],"mapped",[531]],[[531,531],"valid"],[[532,532],"mapped",[533]],[[533,533],"valid"],[[534,534],"mapped",[535]],[[535,535],"valid"],[[536,536],"mapped",[537]],[[537,537],"valid"],[[538,538],"mapped",[539]],[[539,539],"valid"],[[540,540],"mapped",[541]],[[541,541],"valid"],[[542,542],"mapped",[543]],[[543,543],"valid"],[[544,544],"mapped",[414]],[[545,545],"valid"],[[546,546],"mapped",[547]],[[547,547],"valid"],[[548,548],"mapped",[549]],[[549,549],"valid"],[[550,550],"mapped",[551]],[[551,551],"valid"],[[552,552],"mapped",[553]],[[553,553],"valid"],[[554,554],"mapped",[555]],[[555,555],"valid"],[[556,556],"mapped",[557]],[[557,557],"valid"],[[558,558],"mapped",[559]],[[559,559],"valid"],[[560,560],"mapped",[561]],[[561,561],"valid"],[[562,562],"mapped",[563]],[[563,563],"valid"],[[564,566],"valid"],[[567,569],"valid"],[[570,570],"mapped",[11365]],[[571,571],"mapped",[572]],[[572,572],"valid"],[[573,573],"mapped",[410]],[[574,574],"mapped",[11366]],[[575,576],"valid"],[[577,577],"mapped",[578]],[[578,578],"valid"],[[579,579],"mapped",[384]],[[580,580],"mapped",[649]],[[581,581],"mapped",[652]],[[582,582],"mapped",[583]],[[583,583],"valid"],[[584,584],"mapped",[585]],[[585,585],"valid"],[[586,586],"mapped",[587]],[[587,587],"valid"],[[588,588],"mapped",[589]],[[589,589],"valid"],[[590,590],"mapped",[591]],[[591,591],"valid"],[[592,680],"valid"],[[681,685],"valid"],[[686,687],"valid"],[[688,688],"mapped",[104]],[[689,689],"mapped",[614]],[[690,690],"mapped",[106]],[[691,691],"mapped",[114]],[[692,692],"mapped",[633]],[[693,693],"mapped",[635]],[[694,694],"mapped",[641]],[[695,695],"mapped",[119]],[[696,696],"mapped",[121]],[[697,705],"valid"],[[706,709],"valid",[],"NV8"],[[710,721],"valid"],[[722,727],"valid",[],"NV8"],[[728,728],"disallowed_STD3_mapped",[32,774]],[[729,729],"disallowed_STD3_mapped",[32,775]],[[730,730],"disallowed_STD3_mapped",[32,778]],[[731,731],"disallowed_STD3_mapped",[32,808]],[[732,732],"disallowed_STD3_mapped",[32,771]],[[733,733],"disallowed_STD3_mapped",[32,779]],[[734,734],"valid",[],"NV8"],[[735,735],"valid",[],"NV8"],[[736,736],"mapped",[611]],[[737,737],"mapped",[108]],[[738,738],"mapped",[115]],[[739,739],"mapped",[120]],[[740,740],"mapped",[661]],[[741,745],"valid",[],"NV8"],[[746,747],"valid",[],"NV8"],[[748,748],"valid"],[[749,749],"valid",[],"NV8"],[[750,750],"valid"],[[751,767],"valid",[],"NV8"],[[768,831],"valid"],[[832,832],"mapped",[768]],[[833,833],"mapped",[769]],[[834,834],"valid"],[[835,835],"mapped",[787]],[[836,836],"mapped",[776,769]],[[837,837],"mapped",[953]],[[838,846],"valid"],[[847,847],"ignored"],[[848,855],"valid"],[[856,860],"valid"],[[861,863],"valid"],[[864,865],"valid"],[[866,866],"valid"],[[867,879],"valid"],[[880,880],"mapped",[881]],[[881,881],"valid"],[[882,882],"mapped",[883]],[[883,883],"valid"],[[884,884],"mapped",[697]],[[885,885],"valid"],[[886,886],"mapped",[887]],[[887,887],"valid"],[[888,889],"disallowed"],[[890,890],"disallowed_STD3_mapped",[32,953]],[[891,893],"valid"],[[894,894],"disallowed_STD3_mapped",[59]],[[895,895],"mapped",[1011]],[[896,899],"disallowed"],[[900,900],"disallowed_STD3_mapped",[32,769]],[[901,901],"disallowed_STD3_mapped",[32,776,769]],[[902,902],"mapped",[940]],[[903,903],"mapped",[183]],[[904,904],"mapped",[941]],[[905,905],"mapped",[942]],[[906,906],"mapped",[943]],[[907,907],"disallowed"],[[908,908],"mapped",[972]],[[909,909],"disallowed"],[[910,910],"mapped",[973]],[[911,911],"mapped",[974]],[[912,912],"valid"],[[913,913],"mapped",[945]],[[914,914],"mapped",[946]],[[915,915],"mapped",[947]],[[916,916],"mapped",[948]],[[917,917],"mapped",[949]],[[918,918],"mapped",[950]],[[919,919],"mapped",[951]],[[920,920],"mapped",[952]],[[921,921],"mapped",[953]],[[922,922],"mapped",[954]],[[923,923],"mapped",[955]],[[924,924],"mapped",[956]],[[925,925],"mapped",[957]],[[926,926],"mapped",[958]],[[927,927],"mapped",[959]],[[928,928],"mapped",[960]],[[929,929],"mapped",[961]],[[930,930],"disallowed"],[[931,931],"mapped",[963]],[[932,932],"mapped",[964]],[[933,933],"mapped",[965]],[[934,934],"mapped",[966]],[[935,935],"mapped",[967]],[[936,936],"mapped",[968]],[[937,937],"mapped",[969]],[[938,938],"mapped",[970]],[[939,939],"mapped",[971]],[[940,961],"valid"],[[962,962],"deviation",[963]],[[963,974],"valid"],[[975,975],"mapped",[983]],[[976,976],"mapped",[946]],[[977,977],"mapped",[952]],[[978,978],"mapped",[965]],[[979,979],"mapped",[973]],[[980,980],"mapped",[971]],[[981,981],"mapped",[966]],[[982,982],"mapped",[960]],[[983,983],"valid"],[[984,984],"mapped",[985]],[[985,985],"valid"],[[986,986],"mapped",[987]],[[987,987],"valid"],[[988,988],"mapped",[989]],[[989,989],"valid"],[[990,990],"mapped",[991]],[[991,991],"valid"],[[992,992],"mapped",[993]],[[993,993],"valid"],[[994,994],"mapped",[995]],[[995,995],"valid"],[[996,996],"mapped",[997]],[[997,997],"valid"],[[998,998],"mapped",[999]],[[999,999],"valid"],[[1000,1000],"mapped",[1001]],[[1001,1001],"valid"],[[1002,1002],"mapped",[1003]],[[1003,1003],"valid"],[[1004,1004],"mapped",[1005]],[[1005,1005],"valid"],[[1006,1006],"mapped",[1007]],[[1007,1007],"valid"],[[1008,1008],"mapped",[954]],[[1009,1009],"mapped",[961]],[[1010,1010],"mapped",[963]],[[1011,1011],"valid"],[[1012,1012],"mapped",[952]],[[1013,1013],"mapped",[949]],[[1014,1014],"valid",[],"NV8"],[[1015,1015],"mapped",[1016]],[[1016,1016],"valid"],[[1017,1017],"mapped",[963]],[[1018,1018],"mapped",[1019]],[[1019,1019],"valid"],[[1020,1020],"valid"],[[1021,1021],"mapped",[891]],[[1022,1022],"mapped",[892]],[[1023,1023],"mapped",[893]],[[1024,1024],"mapped",[1104]],[[1025,1025],"mapped",[1105]],[[1026,1026],"mapped",[1106]],[[1027,1027],"mapped",[1107]],[[1028,1028],"mapped",[1108]],[[1029,1029],"mapped",[1109]],[[1030,1030],"mapped",[1110]],[[1031,1031],"mapped",[1111]],[[1032,1032],"mapped",[1112]],[[1033,1033],"mapped",[1113]],[[1034,1034],"mapped",[1114]],[[1035,1035],"mapped",[1115]],[[1036,1036],"mapped",[1116]],[[1037,1037],"mapped",[1117]],[[1038,1038],"mapped",[1118]],[[1039,1039],"mapped",[1119]],[[1040,1040],"mapped",[1072]],[[1041,1041],"mapped",[1073]],[[1042,1042],"mapped",[1074]],[[1043,1043],"mapped",[1075]],[[1044,1044],"mapped",[1076]],[[1045,1045],"mapped",[1077]],[[1046,1046],"mapped",[1078]],[[1047,1047],"mapped",[1079]],[[1048,1048],"mapped",[1080]],[[1049,1049],"mapped",[1081]],[[1050,1050],"mapped",[1082]],[[1051,1051],"mapped",[1083]],[[1052,1052],"mapped",[1084]],[[1053,1053],"mapped",[1085]],[[1054,1054],"mapped",[1086]],[[1055,1055],"mapped",[1087]],[[1056,1056],"mapped",[1088]],[[1057,1057],"mapped",[1089]],[[1058,1058],"mapped",[1090]],[[1059,1059],"mapped",[1091]],[[1060,1060],"mapped",[1092]],[[1061,1061],"mapped",[1093]],[[1062,1062],"mapped",[1094]],[[1063,1063],"mapped",[1095]],[[1064,1064],"mapped",[1096]],[[1065,1065],"mapped",[1097]],[[1066,1066],"mapped",[1098]],[[1067,1067],"mapped",[1099]],[[1068,1068],"mapped",[1100]],[[1069,1069],"mapped",[1101]],[[1070,1070],"mapped",[1102]],[[1071,1071],"mapped",[1103]],[[1072,1103],"valid"],[[1104,1104],"valid"],[[1105,1116],"valid"],[[1117,1117],"valid"],[[1118,1119],"valid"],[[1120,1120],"mapped",[1121]],[[1121,1121],"valid"],[[1122,1122],"mapped",[1123]],[[1123,1123],"valid"],[[1124,1124],"mapped",[1125]],[[1125,1125],"valid"],[[1126,1126],"mapped",[1127]],[[1127,1127],"valid"],[[1128,1128],"mapped",[1129]],[[1129,1129],"valid"],[[1130,1130],"mapped",[1131]],[[1131,1131],"valid"],[[1132,1132],"mapped",[1133]],[[1133,1133],"valid"],[[1134,1134],"mapped",[1135]],[[1135,1135],"valid"],[[1136,1136],"mapped",[1137]],[[1137,1137],"valid"],[[1138,1138],"mapped",[1139]],[[1139,1139],"valid"],[[1140,1140],"mapped",[1141]],[[1141,1141],"valid"],[[1142,1142],"mapped",[1143]],[[1143,1143],"valid"],[[1144,1144],"mapped",[1145]],[[1145,1145],"valid"],[[1146,1146],"mapped",[1147]],[[1147,1147],"valid"],[[1148,1148],"mapped",[1149]],[[1149,1149],"valid"],[[1150,1150],"mapped",[1151]],[[1151,1151],"valid"],[[1152,1152],"mapped",[1153]],[[1153,1153],"valid"],[[1154,1154],"valid",[],"NV8"],[[1155,1158],"valid"],[[1159,1159],"valid"],[[1160,1161],"valid",[],"NV8"],[[1162,1162],"mapped",[1163]],[[1163,1163],"valid"],[[1164,1164],"mapped",[1165]],[[1165,1165],"valid"],[[1166,1166],"mapped",[1167]],[[1167,1167],"valid"],[[1168,1168],"mapped",[1169]],[[1169,1169],"valid"],[[1170,1170],"mapped",[1171]],[[1171,1171],"valid"],[[1172,1172],"mapped",[1173]],[[1173,1173],"valid"],[[1174,1174],"mapped",[1175]],[[1175,1175],"valid"],[[1176,1176],"mapped",[1177]],[[1177,1177],"valid"],[[1178,1178],"mapped",[1179]],[[1179,1179],"valid"],[[1180,1180],"mapped",[1181]],[[1181,1181],"valid"],[[1182,1182],"mapped",[1183]],[[1183,1183],"valid"],[[1184,1184],"mapped",[1185]],[[1185,1185],"valid"],[[1186,1186],"mapped",[1187]],[[1187,1187],"valid"],[[1188,1188],"mapped",[1189]],[[1189,1189],"valid"],[[1190,1190],"mapped",[1191]],[[1191,1191],"valid"],[[1192,1192],"mapped",[1193]],[[1193,1193],"valid"],[[1194,1194],"mapped",[1195]],[[1195,1195],"valid"],[[1196,1196],"mapped",[1197]],[[1197,1197],"valid"],[[1198,1198],"mapped",[1199]],[[1199,1199],"valid"],[[1200,1200],"mapped",[1201]],[[1201,1201],"valid"],[[1202,1202],"mapped",[1203]],[[1203,1203],"valid"],[[1204,1204],"mapped",[1205]],[[1205,1205],"valid"],[[1206,1206],"mapped",[1207]],[[1207,1207],"valid"],[[1208,1208],"mapped",[1209]],[[1209,1209],"valid"],[[1210,1210],"mapped",[1211]],[[1211,1211],"valid"],[[1212,1212],"mapped",[1213]],[[1213,1213],"valid"],[[1214,1214],"mapped",[1215]],[[1215,1215],"valid"],[[1216,1216],"disallowed"],[[1217,1217],"mapped",[1218]],[[1218,1218],"valid"],[[1219,1219],"mapped",[1220]],[[1220,1220],"valid"],[[1221,1221],"mapped",[1222]],[[1222,1222],"valid"],[[1223,1223],"mapped",[1224]],[[1224,1224],"valid"],[[1225,1225],"mapped",[1226]],[[1226,1226],"valid"],[[1227,1227],"mapped",[1228]],[[1228,1228],"valid"],[[1229,1229],"mapped",[1230]],[[1230,1230],"valid"],[[1231,1231],"valid"],[[1232,1232],"mapped",[1233]],[[1233,1233],"valid"],[[1234,1234],"mapped",[1235]],[[1235,1235],"valid"],[[1236,1236],"mapped",[1237]],[[1237,1237],"valid"],[[1238,1238],"mapped",[1239]],[[1239,1239],"valid"],[[1240,1240],"mapped",[1241]],[[1241,1241],"valid"],[[1242,1242],"mapped",[1243]],[[1243,1243],"valid"],[[1244,1244],"mapped",[1245]],[[1245,1245],"valid"],[[1246,1246],"mapped",[1247]],[[1247,1247],"valid"],[[1248,1248],"mapped",[1249]],[[1249,1249],"valid"],[[1250,1250],"mapped",[1251]],[[1251,1251],"valid"],[[1252,1252],"mapped",[1253]],[[1253,1253],"valid"],[[1254,1254],"mapped",[1255]],[[1255,1255],"valid"],[[1256,1256],"mapped",[1257]],[[1257,1257],"valid"],[[1258,1258],"mapped",[1259]],[[1259,1259],"valid"],[[1260,1260],"mapped",[1261]],[[1261,1261],"valid"],[[1262,1262],"mapped",[1263]],[[1263,1263],"valid"],[[1264,1264],"mapped",[1265]],[[1265,1265],"valid"],[[1266,1266],"mapped",[1267]],[[1267,1267],"valid"],[[1268,1268],"mapped",[1269]],[[1269,1269],"valid"],[[1270,1270],"mapped",[1271]],[[1271,1271],"valid"],[[1272,1272],"mapped",[1273]],[[1273,1273],"valid"],[[1274,1274],"mapped",[1275]],[[1275,1275],"valid"],[[1276,1276],"mapped",[1277]],[[1277,1277],"valid"],[[1278,1278],"mapped",[1279]],[[1279,1279],"valid"],[[1280,1280],"mapped",[1281]],[[1281,1281],"valid"],[[1282,1282],"mapped",[1283]],[[1283,1283],"valid"],[[1284,1284],"mapped",[1285]],[[1285,1285],"valid"],[[1286,1286],"mapped",[1287]],[[1287,1287],"valid"],[[1288,1288],"mapped",[1289]],[[1289,1289],"valid"],[[1290,1290],"mapped",[1291]],[[1291,1291],"valid"],[[1292,1292],"mapped",[1293]],[[1293,1293],"valid"],[[1294,1294],"mapped",[1295]],[[1295,1295],"valid"],[[1296,1296],"mapped",[1297]],[[1297,1297],"valid"],[[1298,1298],"mapped",[1299]],[[1299,1299],"valid"],[[1300,1300],"mapped",[1301]],[[1301,1301],"valid"],[[1302,1302],"mapped",[1303]],[[1303,1303],"valid"],[[1304,1304],"mapped",[1305]],[[1305,1305],"valid"],[[1306,1306],"mapped",[1307]],[[1307,1307],"valid"],[[1308,1308],"mapped",[1309]],[[1309,1309],"valid"],[[1310,1310],"mapped",[1311]],[[1311,1311],"valid"],[[1312,1312],"mapped",[1313]],[[1313,1313],"valid"],[[1314,1314],"mapped",[1315]],[[1315,1315],"valid"],[[1316,1316],"mapped",[1317]],[[1317,1317],"valid"],[[1318,1318],"mapped",[1319]],[[1319,1319],"valid"],[[1320,1320],"mapped",[1321]],[[1321,1321],"valid"],[[1322,1322],"mapped",[1323]],[[1323,1323],"valid"],[[1324,1324],"mapped",[1325]],[[1325,1325],"valid"],[[1326,1326],"mapped",[1327]],[[1327,1327],"valid"],[[1328,1328],"disallowed"],[[1329,1329],"mapped",[1377]],[[1330,1330],"mapped",[1378]],[[1331,1331],"mapped",[1379]],[[1332,1332],"mapped",[1380]],[[1333,1333],"mapped",[1381]],[[1334,1334],"mapped",[1382]],[[1335,1335],"mapped",[1383]],[[1336,1336],"mapped",[1384]],[[1337,1337],"mapped",[1385]],[[1338,1338],"mapped",[1386]],[[1339,1339],"mapped",[1387]],[[1340,1340],"mapped",[1388]],[[1341,1341],"mapped",[1389]],[[1342,1342],"mapped",[1390]],[[1343,1343],"mapped",[1391]],[[1344,1344],"mapped",[1392]],[[1345,1345],"mapped",[1393]],[[1346,1346],"mapped",[1394]],[[1347,1347],"mapped",[1395]],[[1348,1348],"mapped",[1396]],[[1349,1349],"mapped",[1397]],[[1350,1350],"mapped",[1398]],[[1351,1351],"mapped",[1399]],[[1352,1352],"mapped",[1400]],[[1353,1353],"mapped",[1401]],[[1354,1354],"mapped",[1402]],[[1355,1355],"mapped",[1403]],[[1356,1356],"mapped",[1404]],[[1357,1357],"mapped",[1405]],[[1358,1358],"mapped",[1406]],[[1359,1359],"mapped",[1407]],[[1360,1360],"mapped",[1408]],[[1361,1361],"mapped",[1409]],[[1362,1362],"mapped",[1410]],[[1363,1363],"mapped",[1411]],[[1364,1364],"mapped",[1412]],[[1365,1365],"mapped",[1413]],[[1366,1366],"mapped",[1414]],[[1367,1368],"disallowed"],[[1369,1369],"valid"],[[1370,1375],"valid",[],"NV8"],[[1376,1376],"disallowed"],[[1377,1414],"valid"],[[1415,1415],"mapped",[1381,1410]],[[1416,1416],"disallowed"],[[1417,1417],"valid",[],"NV8"],[[1418,1418],"valid",[],"NV8"],[[1419,1420],"disallowed"],[[1421,1422],"valid",[],"NV8"],[[1423,1423],"valid",[],"NV8"],[[1424,1424],"disallowed"],[[1425,1441],"valid"],[[1442,1442],"valid"],[[1443,1455],"valid"],[[1456,1465],"valid"],[[1466,1466],"valid"],[[1467,1469],"valid"],[[1470,1470],"valid",[],"NV8"],[[1471,1471],"valid"],[[1472,1472],"valid",[],"NV8"],[[1473,1474],"valid"],[[1475,1475],"valid",[],"NV8"],[[1476,1476],"valid"],[[1477,1477],"valid"],[[1478,1478],"valid",[],"NV8"],[[1479,1479],"valid"],[[1480,1487],"disallowed"],[[1488,1514],"valid"],[[1515,1519],"disallowed"],[[1520,1524],"valid"],[[1525,1535],"disallowed"],[[1536,1539],"disallowed"],[[1540,1540],"disallowed"],[[1541,1541],"disallowed"],[[1542,1546],"valid",[],"NV8"],[[1547,1547],"valid",[],"NV8"],[[1548,1548],"valid",[],"NV8"],[[1549,1551],"valid",[],"NV8"],[[1552,1557],"valid"],[[1558,1562],"valid"],[[1563,1563],"valid",[],"NV8"],[[1564,1564],"disallowed"],[[1565,1565],"disallowed"],[[1566,1566],"valid",[],"NV8"],[[1567,1567],"valid",[],"NV8"],[[1568,1568],"valid"],[[1569,1594],"valid"],[[1595,1599],"valid"],[[1600,1600],"valid",[],"NV8"],[[1601,1618],"valid"],[[1619,1621],"valid"],[[1622,1624],"valid"],[[1625,1630],"valid"],[[1631,1631],"valid"],[[1632,1641],"valid"],[[1642,1645],"valid",[],"NV8"],[[1646,1647],"valid"],[[1648,1652],"valid"],[[1653,1653],"mapped",[1575,1652]],[[1654,1654],"mapped",[1608,1652]],[[1655,1655],"mapped",[1735,1652]],[[1656,1656],"mapped",[1610,1652]],[[1657,1719],"valid"],[[1720,1721],"valid"],[[1722,1726],"valid"],[[1727,1727],"valid"],[[1728,1742],"valid"],[[1743,1743],"valid"],[[1744,1747],"valid"],[[1748,1748],"valid",[],"NV8"],[[1749,1756],"valid"],[[1757,1757],"disallowed"],[[1758,1758],"valid",[],"NV8"],[[1759,1768],"valid"],[[1769,1769],"valid",[],"NV8"],[[1770,1773],"valid"],[[1774,1775],"valid"],[[1776,1785],"valid"],[[1786,1790],"valid"],[[1791,1791],"valid"],[[1792,1805],"valid",[],"NV8"],[[1806,1806],"disallowed"],[[1807,1807],"disallowed"],[[1808,1836],"valid"],[[1837,1839],"valid"],[[1840,1866],"valid"],[[1867,1868],"disallowed"],[[1869,1871],"valid"],[[1872,1901],"valid"],[[1902,1919],"valid"],[[1920,1968],"valid"],[[1969,1969],"valid"],[[1970,1983],"disallowed"],[[1984,2037],"valid"],[[2038,2042],"valid",[],"NV8"],[[2043,2047],"disallowed"],[[2048,2093],"valid"],[[2094,2095],"disallowed"],[[2096,2110],"valid",[],"NV8"],[[2111,2111],"disallowed"],[[2112,2139],"valid"],[[2140,2141],"disallowed"],[[2142,2142],"valid",[],"NV8"],[[2143,2207],"disallowed"],[[2208,2208],"valid"],[[2209,2209],"valid"],[[2210,2220],"valid"],[[2221,2226],"valid"],[[2227,2228],"valid"],[[2229,2274],"disallowed"],[[2275,2275],"valid"],[[2276,2302],"valid"],[[2303,2303],"valid"],[[2304,2304],"valid"],[[2305,2307],"valid"],[[2308,2308],"valid"],[[2309,2361],"valid"],[[2362,2363],"valid"],[[2364,2381],"valid"],[[2382,2382],"valid"],[[2383,2383],"valid"],[[2384,2388],"valid"],[[2389,2389],"valid"],[[2390,2391],"valid"],[[2392,2392],"mapped",[2325,2364]],[[2393,2393],"mapped",[2326,2364]],[[2394,2394],"mapped",[2327,2364]],[[2395,2395],"mapped",[2332,2364]],[[2396,2396],"mapped",[2337,2364]],[[2397,2397],"mapped",[2338,2364]],[[2398,2398],"mapped",[2347,2364]],[[2399,2399],"mapped",[2351,2364]],[[2400,2403],"valid"],[[2404,2405],"valid",[],"NV8"],[[2406,2415],"valid"],[[2416,2416],"valid",[],"NV8"],[[2417,2418],"valid"],[[2419,2423],"valid"],[[2424,2424],"valid"],[[2425,2426],"valid"],[[2427,2428],"valid"],[[2429,2429],"valid"],[[2430,2431],"valid"],[[2432,2432],"valid"],[[2433,2435],"valid"],[[2436,2436],"disallowed"],[[2437,2444],"valid"],[[2445,2446],"disallowed"],[[2447,2448],"valid"],[[2449,2450],"disallowed"],[[2451,2472],"valid"],[[2473,2473],"disallowed"],[[2474,2480],"valid"],[[2481,2481],"disallowed"],[[2482,2482],"valid"],[[2483,2485],"disallowed"],[[2486,2489],"valid"],[[2490,2491],"disallowed"],[[2492,2492],"valid"],[[2493,2493],"valid"],[[2494,2500],"valid"],[[2501,2502],"disallowed"],[[2503,2504],"valid"],[[2505,2506],"disallowed"],[[2507,2509],"valid"],[[2510,2510],"valid"],[[2511,2518],"disallowed"],[[2519,2519],"valid"],[[2520,2523],"disallowed"],[[2524,2524],"mapped",[2465,2492]],[[2525,2525],"mapped",[2466,2492]],[[2526,2526],"disallowed"],[[2527,2527],"mapped",[2479,2492]],[[2528,2531],"valid"],[[2532,2533],"disallowed"],[[2534,2545],"valid"],[[2546,2554],"valid",[],"NV8"],[[2555,2555],"valid",[],"NV8"],[[2556,2560],"disallowed"],[[2561,2561],"valid"],[[2562,2562],"valid"],[[2563,2563],"valid"],[[2564,2564],"disallowed"],[[2565,2570],"valid"],[[2571,2574],"disallowed"],[[2575,2576],"valid"],[[2577,2578],"disallowed"],[[2579,2600],"valid"],[[2601,2601],"disallowed"],[[2602,2608],"valid"],[[2609,2609],"disallowed"],[[2610,2610],"valid"],[[2611,2611],"mapped",[2610,2620]],[[2612,2612],"disallowed"],[[2613,2613],"valid"],[[2614,2614],"mapped",[2616,2620]],[[2615,2615],"disallowed"],[[2616,2617],"valid"],[[2618,2619],"disallowed"],[[2620,2620],"valid"],[[2621,2621],"disallowed"],[[2622,2626],"valid"],[[2627,2630],"disallowed"],[[2631,2632],"valid"],[[2633,2634],"disallowed"],[[2635,2637],"valid"],[[2638,2640],"disallowed"],[[2641,2641],"valid"],[[2642,2648],"disallowed"],[[2649,2649],"mapped",[2582,2620]],[[2650,2650],"mapped",[2583,2620]],[[2651,2651],"mapped",[2588,2620]],[[2652,2652],"valid"],[[2653,2653],"disallowed"],[[2654,2654],"mapped",[2603,2620]],[[2655,2661],"disallowed"],[[2662,2676],"valid"],[[2677,2677],"valid"],[[2678,2688],"disallowed"],[[2689,2691],"valid"],[[2692,2692],"disallowed"],[[2693,2699],"valid"],[[2700,2700],"valid"],[[2701,2701],"valid"],[[2702,2702],"disallowed"],[[2703,2705],"valid"],[[2706,2706],"disallowed"],[[2707,2728],"valid"],[[2729,2729],"disallowed"],[[2730,2736],"valid"],[[2737,2737],"disallowed"],[[2738,2739],"valid"],[[2740,2740],"disallowed"],[[2741,2745],"valid"],[[2746,2747],"disallowed"],[[2748,2757],"valid"],[[2758,2758],"disallowed"],[[2759,2761],"valid"],[[2762,2762],"disallowed"],[[2763,2765],"valid"],[[2766,2767],"disallowed"],[[2768,2768],"valid"],[[2769,2783],"disallowed"],[[2784,2784],"valid"],[[2785,2787],"valid"],[[2788,2789],"disallowed"],[[2790,2799],"valid"],[[2800,2800],"valid",[],"NV8"],[[2801,2801],"valid",[],"NV8"],[[2802,2808],"disallowed"],[[2809,2809],"valid"],[[2810,2816],"disallowed"],[[2817,2819],"valid"],[[2820,2820],"disallowed"],[[2821,2828],"valid"],[[2829,2830],"disallowed"],[[2831,2832],"valid"],[[2833,2834],"disallowed"],[[2835,2856],"valid"],[[2857,2857],"disallowed"],[[2858,2864],"valid"],[[2865,2865],"disallowed"],[[2866,2867],"valid"],[[2868,2868],"disallowed"],[[2869,2869],"valid"],[[2870,2873],"valid"],[[2874,2875],"disallowed"],[[2876,2883],"valid"],[[2884,2884],"valid"],[[2885,2886],"disallowed"],[[2887,2888],"valid"],[[2889,2890],"disallowed"],[[2891,2893],"valid"],[[2894,2901],"disallowed"],[[2902,2903],"valid"],[[2904,2907],"disallowed"],[[2908,2908],"mapped",[2849,2876]],[[2909,2909],"mapped",[2850,2876]],[[2910,2910],"disallowed"],[[2911,2913],"valid"],[[2914,2915],"valid"],[[2916,2917],"disallowed"],[[2918,2927],"valid"],[[2928,2928],"valid",[],"NV8"],[[2929,2929],"valid"],[[2930,2935],"valid",[],"NV8"],[[2936,2945],"disallowed"],[[2946,2947],"valid"],[[2948,2948],"disallowed"],[[2949,2954],"valid"],[[2955,2957],"disallowed"],[[2958,2960],"valid"],[[2961,2961],"disallowed"],[[2962,2965],"valid"],[[2966,2968],"disallowed"],[[2969,2970],"valid"],[[2971,2971],"disallowed"],[[2972,2972],"valid"],[[2973,2973],"disallowed"],[[2974,2975],"valid"],[[2976,2978],"disallowed"],[[2979,2980],"valid"],[[2981,2983],"disallowed"],[[2984,2986],"valid"],[[2987,2989],"disallowed"],[[2990,2997],"valid"],[[2998,2998],"valid"],[[2999,3001],"valid"],[[3002,3005],"disallowed"],[[3006,3010],"valid"],[[3011,3013],"disallowed"],[[3014,3016],"valid"],[[3017,3017],"disallowed"],[[3018,3021],"valid"],[[3022,3023],"disallowed"],[[3024,3024],"valid"],[[3025,3030],"disallowed"],[[3031,3031],"valid"],[[3032,3045],"disallowed"],[[3046,3046],"valid"],[[3047,3055],"valid"],[[3056,3058],"valid",[],"NV8"],[[3059,3066],"valid",[],"NV8"],[[3067,3071],"disallowed"],[[3072,3072],"valid"],[[3073,3075],"valid"],[[3076,3076],"disallowed"],[[3077,3084],"valid"],[[3085,3085],"disallowed"],[[3086,3088],"valid"],[[3089,3089],"disallowed"],[[3090,3112],"valid"],[[3113,3113],"disallowed"],[[3114,3123],"valid"],[[3124,3124],"valid"],[[3125,3129],"valid"],[[3130,3132],"disallowed"],[[3133,3133],"valid"],[[3134,3140],"valid"],[[3141,3141],"disallowed"],[[3142,3144],"valid"],[[3145,3145],"disallowed"],[[3146,3149],"valid"],[[3150,3156],"disallowed"],[[3157,3158],"valid"],[[3159,3159],"disallowed"],[[3160,3161],"valid"],[[3162,3162],"valid"],[[3163,3167],"disallowed"],[[3168,3169],"valid"],[[3170,3171],"valid"],[[3172,3173],"disallowed"],[[3174,3183],"valid"],[[3184,3191],"disallowed"],[[3192,3199],"valid",[],"NV8"],[[3200,3200],"disallowed"],[[3201,3201],"valid"],[[3202,3203],"valid"],[[3204,3204],"disallowed"],[[3205,3212],"valid"],[[3213,3213],"disallowed"],[[3214,3216],"valid"],[[3217,3217],"disallowed"],[[3218,3240],"valid"],[[3241,3241],"disallowed"],[[3242,3251],"valid"],[[3252,3252],"disallowed"],[[3253,3257],"valid"],[[3258,3259],"disallowed"],[[3260,3261],"valid"],[[3262,3268],"valid"],[[3269,3269],"disallowed"],[[3270,3272],"valid"],[[3273,3273],"disallowed"],[[3274,3277],"valid"],[[3278,3284],"disallowed"],[[3285,3286],"valid"],[[3287,3293],"disallowed"],[[3294,3294],"valid"],[[3295,3295],"disallowed"],[[3296,3297],"valid"],[[3298,3299],"valid"],[[3300,3301],"disallowed"],[[3302,3311],"valid"],[[3312,3312],"disallowed"],[[3313,3314],"valid"],[[3315,3328],"disallowed"],[[3329,3329],"valid"],[[3330,3331],"valid"],[[3332,3332],"disallowed"],[[3333,3340],"valid"],[[3341,3341],"disallowed"],[[3342,3344],"valid"],[[3345,3345],"disallowed"],[[3346,3368],"valid"],[[3369,3369],"valid"],[[3370,3385],"valid"],[[3386,3386],"valid"],[[3387,3388],"disallowed"],[[3389,3389],"valid"],[[3390,3395],"valid"],[[3396,3396],"valid"],[[3397,3397],"disallowed"],[[3398,3400],"valid"],[[3401,3401],"disallowed"],[[3402,3405],"valid"],[[3406,3406],"valid"],[[3407,3414],"disallowed"],[[3415,3415],"valid"],[[3416,3422],"disallowed"],[[3423,3423],"valid"],[[3424,3425],"valid"],[[3426,3427],"valid"],[[3428,3429],"disallowed"],[[3430,3439],"valid"],[[3440,3445],"valid",[],"NV8"],[[3446,3448],"disallowed"],[[3449,3449],"valid",[],"NV8"],[[3450,3455],"valid"],[[3456,3457],"disallowed"],[[3458,3459],"valid"],[[3460,3460],"disallowed"],[[3461,3478],"valid"],[[3479,3481],"disallowed"],[[3482,3505],"valid"],[[3506,3506],"disallowed"],[[3507,3515],"valid"],[[3516,3516],"disallowed"],[[3517,3517],"valid"],[[3518,3519],"disallowed"],[[3520,3526],"valid"],[[3527,3529],"disallowed"],[[3530,3530],"valid"],[[3531,3534],"disallowed"],[[3535,3540],"valid"],[[3541,3541],"disallowed"],[[3542,3542],"valid"],[[3543,3543],"disallowed"],[[3544,3551],"valid"],[[3552,3557],"disallowed"],[[3558,3567],"valid"],[[3568,3569],"disallowed"],[[3570,3571],"valid"],[[3572,3572],"valid",[],"NV8"],[[3573,3584],"disallowed"],[[3585,3634],"valid"],[[3635,3635],"mapped",[3661,3634]],[[3636,3642],"valid"],[[3643,3646],"disallowed"],[[3647,3647],"valid",[],"NV8"],[[3648,3662],"valid"],[[3663,3663],"valid",[],"NV8"],[[3664,3673],"valid"],[[3674,3675],"valid",[],"NV8"],[[3676,3712],"disallowed"],[[3713,3714],"valid"],[[3715,3715],"disallowed"],[[3716,3716],"valid"],[[3717,3718],"disallowed"],[[3719,3720],"valid"],[[3721,3721],"disallowed"],[[3722,3722],"valid"],[[3723,3724],"disallowed"],[[3725,3725],"valid"],[[3726,3731],"disallowed"],[[3732,3735],"valid"],[[3736,3736],"disallowed"],[[3737,3743],"valid"],[[3744,3744],"disallowed"],[[3745,3747],"valid"],[[3748,3748],"disallowed"],[[3749,3749],"valid"],[[3750,3750],"disallowed"],[[3751,3751],"valid"],[[3752,3753],"disallowed"],[[3754,3755],"valid"],[[3756,3756],"disallowed"],[[3757,3762],"valid"],[[3763,3763],"mapped",[3789,3762]],[[3764,3769],"valid"],[[3770,3770],"disallowed"],[[3771,3773],"valid"],[[3774,3775],"disallowed"],[[3776,3780],"valid"],[[3781,3781],"disallowed"],[[3782,3782],"valid"],[[3783,3783],"disallowed"],[[3784,3789],"valid"],[[3790,3791],"disallowed"],[[3792,3801],"valid"],[[3802,3803],"disallowed"],[[3804,3804],"mapped",[3755,3737]],[[3805,3805],"mapped",[3755,3745]],[[3806,3807],"valid"],[[3808,3839],"disallowed"],[[3840,3840],"valid"],[[3841,3850],"valid",[],"NV8"],[[3851,3851],"valid"],[[3852,3852],"mapped",[3851]],[[3853,3863],"valid",[],"NV8"],[[3864,3865],"valid"],[[3866,3871],"valid",[],"NV8"],[[3872,3881],"valid"],[[3882,3892],"valid",[],"NV8"],[[3893,3893],"valid"],[[3894,3894],"valid",[],"NV8"],[[3895,3895],"valid"],[[3896,3896],"valid",[],"NV8"],[[3897,3897],"valid"],[[3898,3901],"valid",[],"NV8"],[[3902,3906],"valid"],[[3907,3907],"mapped",[3906,4023]],[[3908,3911],"valid"],[[3912,3912],"disallowed"],[[3913,3916],"valid"],[[3917,3917],"mapped",[3916,4023]],[[3918,3921],"valid"],[[3922,3922],"mapped",[3921,4023]],[[3923,3926],"valid"],[[3927,3927],"mapped",[3926,4023]],[[3928,3931],"valid"],[[3932,3932],"mapped",[3931,4023]],[[3933,3944],"valid"],[[3945,3945],"mapped",[3904,4021]],[[3946,3946],"valid"],[[3947,3948],"valid"],[[3949,3952],"disallowed"],[[3953,3954],"valid"],[[3955,3955],"mapped",[3953,3954]],[[3956,3956],"valid"],[[3957,3957],"mapped",[3953,3956]],[[3958,3958],"mapped",[4018,3968]],[[3959,3959],"mapped",[4018,3953,3968]],[[3960,3960],"mapped",[4019,3968]],[[3961,3961],"mapped",[4019,3953,3968]],[[3962,3968],"valid"],[[3969,3969],"mapped",[3953,3968]],[[3970,3972],"valid"],[[3973,3973],"valid",[],"NV8"],[[3974,3979],"valid"],[[3980,3983],"valid"],[[3984,3986],"valid"],[[3987,3987],"mapped",[3986,4023]],[[3988,3989],"valid"],[[3990,3990],"valid"],[[3991,3991],"valid"],[[3992,3992],"disallowed"],[[3993,3996],"valid"],[[3997,3997],"mapped",[3996,4023]],[[3998,4001],"valid"],[[4002,4002],"mapped",[4001,4023]],[[4003,4006],"valid"],[[4007,4007],"mapped",[4006,4023]],[[4008,4011],"valid"],[[4012,4012],"mapped",[4011,4023]],[[4013,4013],"valid"],[[4014,4016],"valid"],[[4017,4023],"valid"],[[4024,4024],"valid"],[[4025,4025],"mapped",[3984,4021]],[[4026,4028],"valid"],[[4029,4029],"disallowed"],[[4030,4037],"valid",[],"NV8"],[[4038,4038],"valid"],[[4039,4044],"valid",[],"NV8"],[[4045,4045],"disallowed"],[[4046,4046],"valid",[],"NV8"],[[4047,4047],"valid",[],"NV8"],[[4048,4049],"valid",[],"NV8"],[[4050,4052],"valid",[],"NV8"],[[4053,4056],"valid",[],"NV8"],[[4057,4058],"valid",[],"NV8"],[[4059,4095],"disallowed"],[[4096,4129],"valid"],[[4130,4130],"valid"],[[4131,4135],"valid"],[[4136,4136],"valid"],[[4137,4138],"valid"],[[4139,4139],"valid"],[[4140,4146],"valid"],[[4147,4149],"valid"],[[4150,4153],"valid"],[[4154,4159],"valid"],[[4160,4169],"valid"],[[4170,4175],"valid",[],"NV8"],[[4176,4185],"valid"],[[4186,4249],"valid"],[[4250,4253],"valid"],[[4254,4255],"valid",[],"NV8"],[[4256,4293],"disallowed"],[[4294,4294],"disallowed"],[[4295,4295],"mapped",[11559]],[[4296,4300],"disallowed"],[[4301,4301],"mapped",[11565]],[[4302,4303],"disallowed"],[[4304,4342],"valid"],[[4343,4344],"valid"],[[4345,4346],"valid"],[[4347,4347],"valid",[],"NV8"],[[4348,4348],"mapped",[4316]],[[4349,4351],"valid"],[[4352,4441],"valid",[],"NV8"],[[4442,4446],"valid",[],"NV8"],[[4447,4448],"disallowed"],[[4449,4514],"valid",[],"NV8"],[[4515,4519],"valid",[],"NV8"],[[4520,4601],"valid",[],"NV8"],[[4602,4607],"valid",[],"NV8"],[[4608,4614],"valid"],[[4615,4615],"valid"],[[4616,4678],"valid"],[[4679,4679],"valid"],[[4680,4680],"valid"],[[4681,4681],"disallowed"],[[4682,4685],"valid"],[[4686,4687],"disallowed"],[[4688,4694],"valid"],[[4695,4695],"disallowed"],[[4696,4696],"valid"],[[4697,4697],"disallowed"],[[4698,4701],"valid"],[[4702,4703],"disallowed"],[[4704,4742],"valid"],[[4743,4743],"valid"],[[4744,4744],"valid"],[[4745,4745],"disallowed"],[[4746,4749],"valid"],[[4750,4751],"disallowed"],[[4752,4782],"valid"],[[4783,4783],"valid"],[[4784,4784],"valid"],[[4785,4785],"disallowed"],[[4786,4789],"valid"],[[4790,4791],"disallowed"],[[4792,4798],"valid"],[[4799,4799],"disallowed"],[[4800,4800],"valid"],[[4801,4801],"disallowed"],[[4802,4805],"valid"],[[4806,4807],"disallowed"],[[4808,4814],"valid"],[[4815,4815],"valid"],[[4816,4822],"valid"],[[4823,4823],"disallowed"],[[4824,4846],"valid"],[[4847,4847],"valid"],[[4848,4878],"valid"],[[4879,4879],"valid"],[[4880,4880],"valid"],[[4881,4881],"disallowed"],[[4882,4885],"valid"],[[4886,4887],"disallowed"],[[4888,4894],"valid"],[[4895,4895],"valid"],[[4896,4934],"valid"],[[4935,4935],"valid"],[[4936,4954],"valid"],[[4955,4956],"disallowed"],[[4957,4958],"valid"],[[4959,4959],"valid"],[[4960,4960],"valid",[],"NV8"],[[4961,4988],"valid",[],"NV8"],[[4989,4991],"disallowed"],[[4992,5007],"valid"],[[5008,5017],"valid",[],"NV8"],[[5018,5023],"disallowed"],[[5024,5108],"valid"],[[5109,5109],"valid"],[[5110,5111],"disallowed"],[[5112,5112],"mapped",[5104]],[[5113,5113],"mapped",[5105]],[[5114,5114],"mapped",[5106]],[[5115,5115],"mapped",[5107]],[[5116,5116],"mapped",[5108]],[[5117,5117],"mapped",[5109]],[[5118,5119],"disallowed"],[[5120,5120],"valid",[],"NV8"],[[5121,5740],"valid"],[[5741,5742],"valid",[],"NV8"],[[5743,5750],"valid"],[[5751,5759],"valid"],[[5760,5760],"disallowed"],[[5761,5786],"valid"],[[5787,5788],"valid",[],"NV8"],[[5789,5791],"disallowed"],[[5792,5866],"valid"],[[5867,5872],"valid",[],"NV8"],[[5873,5880],"valid"],[[5881,5887],"disallowed"],[[5888,5900],"valid"],[[5901,5901],"disallowed"],[[5902,5908],"valid"],[[5909,5919],"disallowed"],[[5920,5940],"valid"],[[5941,5942],"valid",[],"NV8"],[[5943,5951],"disallowed"],[[5952,5971],"valid"],[[5972,5983],"disallowed"],[[5984,5996],"valid"],[[5997,5997],"disallowed"],[[5998,6000],"valid"],[[6001,6001],"disallowed"],[[6002,6003],"valid"],[[6004,6015],"disallowed"],[[6016,6067],"valid"],[[6068,6069],"disallowed"],[[6070,6099],"valid"],[[6100,6102],"valid",[],"NV8"],[[6103,6103],"valid"],[[6104,6107],"valid",[],"NV8"],[[6108,6108],"valid"],[[6109,6109],"valid"],[[6110,6111],"disallowed"],[[6112,6121],"valid"],[[6122,6127],"disallowed"],[[6128,6137],"valid",[],"NV8"],[[6138,6143],"disallowed"],[[6144,6149],"valid",[],"NV8"],[[6150,6150],"disallowed"],[[6151,6154],"valid",[],"NV8"],[[6155,6157],"ignored"],[[6158,6158],"disallowed"],[[6159,6159],"disallowed"],[[6160,6169],"valid"],[[6170,6175],"disallowed"],[[6176,6263],"valid"],[[6264,6271],"disallowed"],[[6272,6313],"valid"],[[6314,6314],"valid"],[[6315,6319],"disallowed"],[[6320,6389],"valid"],[[6390,6399],"disallowed"],[[6400,6428],"valid"],[[6429,6430],"valid"],[[6431,6431],"disallowed"],[[6432,6443],"valid"],[[6444,6447],"disallowed"],[[6448,6459],"valid"],[[6460,6463],"disallowed"],[[6464,6464],"valid",[],"NV8"],[[6465,6467],"disallowed"],[[6468,6469],"valid",[],"NV8"],[[6470,6509],"valid"],[[6510,6511],"disallowed"],[[6512,6516],"valid"],[[6517,6527],"disallowed"],[[6528,6569],"valid"],[[6570,6571],"valid"],[[6572,6575],"disallowed"],[[6576,6601],"valid"],[[6602,6607],"disallowed"],[[6608,6617],"valid"],[[6618,6618],"valid",[],"XV8"],[[6619,6621],"disallowed"],[[6622,6623],"valid",[],"NV8"],[[6624,6655],"valid",[],"NV8"],[[6656,6683],"valid"],[[6684,6685],"disallowed"],[[6686,6687],"valid",[],"NV8"],[[6688,6750],"valid"],[[6751,6751],"disallowed"],[[6752,6780],"valid"],[[6781,6782],"disallowed"],[[6783,6793],"valid"],[[6794,6799],"disallowed"],[[6800,6809],"valid"],[[6810,6815],"disallowed"],[[6816,6822],"valid",[],"NV8"],[[6823,6823],"valid"],[[6824,6829],"valid",[],"NV8"],[[6830,6831],"disallowed"],[[6832,6845],"valid"],[[6846,6846],"valid",[],"NV8"],[[6847,6911],"disallowed"],[[6912,6987],"valid"],[[6988,6991],"disallowed"],[[6992,7001],"valid"],[[7002,7018],"valid",[],"NV8"],[[7019,7027],"valid"],[[7028,7036],"valid",[],"NV8"],[[7037,7039],"disallowed"],[[7040,7082],"valid"],[[7083,7085],"valid"],[[7086,7097],"valid"],[[7098,7103],"valid"],[[7104,7155],"valid"],[[7156,7163],"disallowed"],[[7164,7167],"valid",[],"NV8"],[[7168,7223],"valid"],[[7224,7226],"disallowed"],[[7227,7231],"valid",[],"NV8"],[[7232,7241],"valid"],[[7242,7244],"disallowed"],[[7245,7293],"valid"],[[7294,7295],"valid",[],"NV8"],[[7296,7359],"disallowed"],[[7360,7367],"valid",[],"NV8"],[[7368,7375],"disallowed"],[[7376,7378],"valid"],[[7379,7379],"valid",[],"NV8"],[[7380,7410],"valid"],[[7411,7414],"valid"],[[7415,7415],"disallowed"],[[7416,7417],"valid"],[[7418,7423],"disallowed"],[[7424,7467],"valid"],[[7468,7468],"mapped",[97]],[[7469,7469],"mapped",[230]],[[7470,7470],"mapped",[98]],[[7471,7471],"valid"],[[7472,7472],"mapped",[100]],[[7473,7473],"mapped",[101]],[[7474,7474],"mapped",[477]],[[7475,7475],"mapped",[103]],[[7476,7476],"mapped",[104]],[[7477,7477],"mapped",[105]],[[7478,7478],"mapped",[106]],[[7479,7479],"mapped",[107]],[[7480,7480],"mapped",[108]],[[7481,7481],"mapped",[109]],[[7482,7482],"mapped",[110]],[[7483,7483],"valid"],[[7484,7484],"mapped",[111]],[[7485,7485],"mapped",[547]],[[7486,7486],"mapped",[112]],[[7487,7487],"mapped",[114]],[[7488,7488],"mapped",[116]],[[7489,7489],"mapped",[117]],[[7490,7490],"mapped",[119]],[[7491,7491],"mapped",[97]],[[7492,7492],"mapped",[592]],[[7493,7493],"mapped",[593]],[[7494,7494],"mapped",[7426]],[[7495,7495],"mapped",[98]],[[7496,7496],"mapped",[100]],[[7497,7497],"mapped",[101]],[[7498,7498],"mapped",[601]],[[7499,7499],"mapped",[603]],[[7500,7500],"mapped",[604]],[[7501,7501],"mapped",[103]],[[7502,7502],"valid"],[[7503,7503],"mapped",[107]],[[7504,7504],"mapped",[109]],[[7505,7505],"mapped",[331]],[[7506,7506],"mapped",[111]],[[7507,7507],"mapped",[596]],[[7508,7508],"mapped",[7446]],[[7509,7509],"mapped",[7447]],[[7510,7510],"mapped",[112]],[[7511,7511],"mapped",[116]],[[7512,7512],"mapped",[117]],[[7513,7513],"mapped",[7453]],[[7514,7514],"mapped",[623]],[[7515,7515],"mapped",[118]],[[7516,7516],"mapped",[7461]],[[7517,7517],"mapped",[946]],[[7518,7518],"mapped",[947]],[[7519,7519],"mapped",[948]],[[7520,7520],"mapped",[966]],[[7521,7521],"mapped",[967]],[[7522,7522],"mapped",[105]],[[7523,7523],"mapped",[114]],[[7524,7524],"mapped",[117]],[[7525,7525],"mapped",[118]],[[7526,7526],"mapped",[946]],[[7527,7527],"mapped",[947]],[[7528,7528],"mapped",[961]],[[7529,7529],"mapped",[966]],[[7530,7530],"mapped",[967]],[[7531,7531],"valid"],[[7532,7543],"valid"],[[7544,7544],"mapped",[1085]],[[7545,7578],"valid"],[[7579,7579],"mapped",[594]],[[7580,7580],"mapped",[99]],[[7581,7581],"mapped",[597]],[[7582,7582],"mapped",[240]],[[7583,7583],"mapped",[604]],[[7584,7584],"mapped",[102]],[[7585,7585],"mapped",[607]],[[7586,7586],"mapped",[609]],[[7587,7587],"mapped",[613]],[[7588,7588],"mapped",[616]],[[7589,7589],"mapped",[617]],[[7590,7590],"mapped",[618]],[[7591,7591],"mapped",[7547]],[[7592,7592],"mapped",[669]],[[7593,7593],"mapped",[621]],[[7594,7594],"mapped",[7557]],[[7595,7595],"mapped",[671]],[[7596,7596],"mapped",[625]],[[7597,7597],"mapped",[624]],[[7598,7598],"mapped",[626]],[[7599,7599],"mapped",[627]],[[7600,7600],"mapped",[628]],[[7601,7601],"mapped",[629]],[[7602,7602],"mapped",[632]],[[7603,7603],"mapped",[642]],[[7604,7604],"mapped",[643]],[[7605,7605],"mapped",[427]],[[7606,7606],"mapped",[649]],[[7607,7607],"mapped",[650]],[[7608,7608],"mapped",[7452]],[[7609,7609],"mapped",[651]],[[7610,7610],"mapped",[652]],[[7611,7611],"mapped",[122]],[[7612,7612],"mapped",[656]],[[7613,7613],"mapped",[657]],[[7614,7614],"mapped",[658]],[[7615,7615],"mapped",[952]],[[7616,7619],"valid"],[[7620,7626],"valid"],[[7627,7654],"valid"],[[7655,7669],"valid"],[[7670,7675],"disallowed"],[[7676,7676],"valid"],[[7677,7677],"valid"],[[7678,7679],"valid"],[[7680,7680],"mapped",[7681]],[[7681,7681],"valid"],[[7682,7682],"mapped",[7683]],[[7683,7683],"valid"],[[7684,7684],"mapped",[7685]],[[7685,7685],"valid"],[[7686,7686],"mapped",[7687]],[[7687,7687],"valid"],[[7688,7688],"mapped",[7689]],[[7689,7689],"valid"],[[7690,7690],"mapped",[7691]],[[7691,7691],"valid"],[[7692,7692],"mapped",[7693]],[[7693,7693],"valid"],[[7694,7694],"mapped",[7695]],[[7695,7695],"valid"],[[7696,7696],"mapped",[7697]],[[7697,7697],"valid"],[[7698,7698],"mapped",[7699]],[[7699,7699],"valid"],[[7700,7700],"mapped",[7701]],[[7701,7701],"valid"],[[7702,7702],"mapped",[7703]],[[7703,7703],"valid"],[[7704,7704],"mapped",[7705]],[[7705,7705],"valid"],[[7706,7706],"mapped",[7707]],[[7707,7707],"valid"],[[7708,7708],"mapped",[7709]],[[7709,7709],"valid"],[[7710,7710],"mapped",[7711]],[[7711,7711],"valid"],[[7712,7712],"mapped",[7713]],[[7713,7713],"valid"],[[7714,7714],"mapped",[7715]],[[7715,7715],"valid"],[[7716,7716],"mapped",[7717]],[[7717,7717],"valid"],[[7718,7718],"mapped",[7719]],[[7719,7719],"valid"],[[7720,7720],"mapped",[7721]],[[7721,7721],"valid"],[[7722,7722],"mapped",[7723]],[[7723,7723],"valid"],[[7724,7724],"mapped",[7725]],[[7725,7725],"valid"],[[7726,7726],"mapped",[7727]],[[7727,7727],"valid"],[[7728,7728],"mapped",[7729]],[[7729,7729],"valid"],[[7730,7730],"mapped",[7731]],[[7731,7731],"valid"],[[7732,7732],"mapped",[7733]],[[7733,7733],"valid"],[[7734,7734],"mapped",[7735]],[[7735,7735],"valid"],[[7736,7736],"mapped",[7737]],[[7737,7737],"valid"],[[7738,7738],"mapped",[7739]],[[7739,7739],"valid"],[[7740,7740],"mapped",[7741]],[[7741,7741],"valid"],[[7742,7742],"mapped",[7743]],[[7743,7743],"valid"],[[7744,7744],"mapped",[7745]],[[7745,7745],"valid"],[[7746,7746],"mapped",[7747]],[[7747,7747],"valid"],[[7748,7748],"mapped",[7749]],[[7749,7749],"valid"],[[7750,7750],"mapped",[7751]],[[7751,7751],"valid"],[[7752,7752],"mapped",[7753]],[[7753,7753],"valid"],[[7754,7754],"mapped",[7755]],[[7755,7755],"valid"],[[7756,7756],"mapped",[7757]],[[7757,7757],"valid"],[[7758,7758],"mapped",[7759]],[[7759,7759],"valid"],[[7760,7760],"mapped",[7761]],[[7761,7761],"valid"],[[7762,7762],"mapped",[7763]],[[7763,7763],"valid"],[[7764,7764],"mapped",[7765]],[[7765,7765],"valid"],[[7766,7766],"mapped",[7767]],[[7767,7767],"valid"],[[7768,7768],"mapped",[7769]],[[7769,7769],"valid"],[[7770,7770],"mapped",[7771]],[[7771,7771],"valid"],[[7772,7772],"mapped",[7773]],[[7773,7773],"valid"],[[7774,7774],"mapped",[7775]],[[7775,7775],"valid"],[[7776,7776],"mapped",[7777]],[[7777,7777],"valid"],[[7778,7778],"mapped",[7779]],[[7779,7779],"valid"],[[7780,7780],"mapped",[7781]],[[7781,7781],"valid"],[[7782,7782],"mapped",[7783]],[[7783,7783],"valid"],[[7784,7784],"mapped",[7785]],[[7785,7785],"valid"],[[7786,7786],"mapped",[7787]],[[7787,7787],"valid"],[[7788,7788],"mapped",[7789]],[[7789,7789],"valid"],[[7790,7790],"mapped",[7791]],[[7791,7791],"valid"],[[7792,7792],"mapped",[7793]],[[7793,7793],"valid"],[[7794,7794],"mapped",[7795]],[[7795,7795],"valid"],[[7796,7796],"mapped",[7797]],[[7797,7797],"valid"],[[7798,7798],"mapped",[7799]],[[7799,7799],"valid"],[[7800,7800],"mapped",[7801]],[[7801,7801],"valid"],[[7802,7802],"mapped",[7803]],[[7803,7803],"valid"],[[7804,7804],"mapped",[7805]],[[7805,7805],"valid"],[[7806,7806],"mapped",[7807]],[[7807,7807],"valid"],[[7808,7808],"mapped",[7809]],[[7809,7809],"valid"],[[7810,7810],"mapped",[7811]],[[7811,7811],"valid"],[[7812,7812],"mapped",[7813]],[[7813,7813],"valid"],[[7814,7814],"mapped",[7815]],[[7815,7815],"valid"],[[7816,7816],"mapped",[7817]],[[7817,7817],"valid"],[[7818,7818],"mapped",[7819]],[[7819,7819],"valid"],[[7820,7820],"mapped",[7821]],[[7821,7821],"valid"],[[7822,7822],"mapped",[7823]],[[7823,7823],"valid"],[[7824,7824],"mapped",[7825]],[[7825,7825],"valid"],[[7826,7826],"mapped",[7827]],[[7827,7827],"valid"],[[7828,7828],"mapped",[7829]],[[7829,7833],"valid"],[[7834,7834],"mapped",[97,702]],[[7835,7835],"mapped",[7777]],[[7836,7837],"valid"],[[7838,7838],"mapped",[115,115]],[[7839,7839],"valid"],[[7840,7840],"mapped",[7841]],[[7841,7841],"valid"],[[7842,7842],"mapped",[7843]],[[7843,7843],"valid"],[[7844,7844],"mapped",[7845]],[[7845,7845],"valid"],[[7846,7846],"mapped",[7847]],[[7847,7847],"valid"],[[7848,7848],"mapped",[7849]],[[7849,7849],"valid"],[[7850,7850],"mapped",[7851]],[[7851,7851],"valid"],[[7852,7852],"mapped",[7853]],[[7853,7853],"valid"],[[7854,7854],"mapped",[7855]],[[7855,7855],"valid"],[[7856,7856],"mapped",[7857]],[[7857,7857],"valid"],[[7858,7858],"mapped",[7859]],[[7859,7859],"valid"],[[7860,7860],"mapped",[7861]],[[7861,7861],"valid"],[[7862,7862],"mapped",[7863]],[[7863,7863],"valid"],[[7864,7864],"mapped",[7865]],[[7865,7865],"valid"],[[7866,7866],"mapped",[7867]],[[7867,7867],"valid"],[[7868,7868],"mapped",[7869]],[[7869,7869],"valid"],[[7870,7870],"mapped",[7871]],[[7871,7871],"valid"],[[7872,7872],"mapped",[7873]],[[7873,7873],"valid"],[[7874,7874],"mapped",[7875]],[[7875,7875],"valid"],[[7876,7876],"mapped",[7877]],[[7877,7877],"valid"],[[7878,7878],"mapped",[7879]],[[7879,7879],"valid"],[[7880,7880],"mapped",[7881]],[[7881,7881],"valid"],[[7882,7882],"mapped",[7883]],[[7883,7883],"valid"],[[7884,7884],"mapped",[7885]],[[7885,7885],"valid"],[[7886,7886],"mapped",[7887]],[[7887,7887],"valid"],[[7888,7888],"mapped",[7889]],[[7889,7889],"valid"],[[7890,7890],"mapped",[7891]],[[7891,7891],"valid"],[[7892,7892],"mapped",[7893]],[[7893,7893],"valid"],[[7894,7894],"mapped",[7895]],[[7895,7895],"valid"],[[7896,7896],"mapped",[7897]],[[7897,7897],"valid"],[[7898,7898],"mapped",[7899]],[[7899,7899],"valid"],[[7900,7900],"mapped",[7901]],[[7901,7901],"valid"],[[7902,7902],"mapped",[7903]],[[7903,7903],"valid"],[[7904,7904],"mapped",[7905]],[[7905,7905],"valid"],[[7906,7906],"mapped",[7907]],[[7907,7907],"valid"],[[7908,7908],"mapped",[7909]],[[7909,7909],"valid"],[[7910,7910],"mapped",[7911]],[[7911,7911],"valid"],[[7912,7912],"mapped",[7913]],[[7913,7913],"valid"],[[7914,7914],"mapped",[7915]],[[7915,7915],"valid"],[[7916,7916],"mapped",[7917]],[[7917,7917],"valid"],[[7918,7918],"mapped",[7919]],[[7919,7919],"valid"],[[7920,7920],"mapped",[7921]],[[7921,7921],"valid"],[[7922,7922],"mapped",[7923]],[[7923,7923],"valid"],[[7924,7924],"mapped",[7925]],[[7925,7925],"valid"],[[7926,7926],"mapped",[7927]],[[7927,7927],"valid"],[[7928,7928],"mapped",[7929]],[[7929,7929],"valid"],[[7930,7930],"mapped",[7931]],[[7931,7931],"valid"],[[7932,7932],"mapped",[7933]],[[7933,7933],"valid"],[[7934,7934],"mapped",[7935]],[[7935,7935],"valid"],[[7936,7943],"valid"],[[7944,7944],"mapped",[7936]],[[7945,7945],"mapped",[7937]],[[7946,7946],"mapped",[7938]],[[7947,7947],"mapped",[7939]],[[7948,7948],"mapped",[7940]],[[7949,7949],"mapped",[7941]],[[7950,7950],"mapped",[7942]],[[7951,7951],"mapped",[7943]],[[7952,7957],"valid"],[[7958,7959],"disallowed"],[[7960,7960],"mapped",[7952]],[[7961,7961],"mapped",[7953]],[[7962,7962],"mapped",[7954]],[[7963,7963],"mapped",[7955]],[[7964,7964],"mapped",[7956]],[[7965,7965],"mapped",[7957]],[[7966,7967],"disallowed"],[[7968,7975],"valid"],[[7976,7976],"mapped",[7968]],[[7977,7977],"mapped",[7969]],[[7978,7978],"mapped",[7970]],[[7979,7979],"mapped",[7971]],[[7980,7980],"mapped",[7972]],[[7981,7981],"mapped",[7973]],[[7982,7982],"mapped",[7974]],[[7983,7983],"mapped",[7975]],[[7984,7991],"valid"],[[7992,7992],"mapped",[7984]],[[7993,7993],"mapped",[7985]],[[7994,7994],"mapped",[7986]],[[7995,7995],"mapped",[7987]],[[7996,7996],"mapped",[7988]],[[7997,7997],"mapped",[7989]],[[7998,7998],"mapped",[7990]],[[7999,7999],"mapped",[7991]],[[8000,8005],"valid"],[[8006,8007],"disallowed"],[[8008,8008],"mapped",[8000]],[[8009,8009],"mapped",[8001]],[[8010,8010],"mapped",[8002]],[[8011,8011],"mapped",[8003]],[[8012,8012],"mapped",[8004]],[[8013,8013],"mapped",[8005]],[[8014,8015],"disallowed"],[[8016,8023],"valid"],[[8024,8024],"disallowed"],[[8025,8025],"mapped",[8017]],[[8026,8026],"disallowed"],[[8027,8027],"mapped",[8019]],[[8028,8028],"disallowed"],[[8029,8029],"mapped",[8021]],[[8030,8030],"disallowed"],[[8031,8031],"mapped",[8023]],[[8032,8039],"valid"],[[8040,8040],"mapped",[8032]],[[8041,8041],"mapped",[8033]],[[8042,8042],"mapped",[8034]],[[8043,8043],"mapped",[8035]],[[8044,8044],"mapped",[8036]],[[8045,8045],"mapped",[8037]],[[8046,8046],"mapped",[8038]],[[8047,8047],"mapped",[8039]],[[8048,8048],"valid"],[[8049,8049],"mapped",[940]],[[8050,8050],"valid"],[[8051,8051],"mapped",[941]],[[8052,8052],"valid"],[[8053,8053],"mapped",[942]],[[8054,8054],"valid"],[[8055,8055],"mapped",[943]],[[8056,8056],"valid"],[[8057,8057],"mapped",[972]],[[8058,8058],"valid"],[[8059,8059],"mapped",[973]],[[8060,8060],"valid"],[[8061,8061],"mapped",[974]],[[8062,8063],"disallowed"],[[8064,8064],"mapped",[7936,953]],[[8065,8065],"mapped",[7937,953]],[[8066,8066],"mapped",[7938,953]],[[8067,8067],"mapped",[7939,953]],[[8068,8068],"mapped",[7940,953]],[[8069,8069],"mapped",[7941,953]],[[8070,8070],"mapped",[7942,953]],[[8071,8071],"mapped",[7943,953]],[[8072,8072],"mapped",[7936,953]],[[8073,8073],"mapped",[7937,953]],[[8074,8074],"mapped",[7938,953]],[[8075,8075],"mapped",[7939,953]],[[8076,8076],"mapped",[7940,953]],[[8077,8077],"mapped",[7941,953]],[[8078,8078],"mapped",[7942,953]],[[8079,8079],"mapped",[7943,953]],[[8080,8080],"mapped",[7968,953]],[[8081,8081],"mapped",[7969,953]],[[8082,8082],"mapped",[7970,953]],[[8083,8083],"mapped",[7971,953]],[[8084,8084],"mapped",[7972,953]],[[8085,8085],"mapped",[7973,953]],[[8086,8086],"mapped",[7974,953]],[[8087,8087],"mapped",[7975,953]],[[8088,8088],"mapped",[7968,953]],[[8089,8089],"mapped",[7969,953]],[[8090,8090],"mapped",[7970,953]],[[8091,8091],"mapped",[7971,953]],[[8092,8092],"mapped",[7972,953]],[[8093,8093],"mapped",[7973,953]],[[8094,8094],"mapped",[7974,953]],[[8095,8095],"mapped",[7975,953]],[[8096,8096],"mapped",[8032,953]],[[8097,8097],"mapped",[8033,953]],[[8098,8098],"mapped",[8034,953]],[[8099,8099],"mapped",[8035,953]],[[8100,8100],"mapped",[8036,953]],[[8101,8101],"mapped",[8037,953]],[[8102,8102],"mapped",[8038,953]],[[8103,8103],"mapped",[8039,953]],[[8104,8104],"mapped",[8032,953]],[[8105,8105],"mapped",[8033,953]],[[8106,8106],"mapped",[8034,953]],[[8107,8107],"mapped",[8035,953]],[[8108,8108],"mapped",[8036,953]],[[8109,8109],"mapped",[8037,953]],[[8110,8110],"mapped",[8038,953]],[[8111,8111],"mapped",[8039,953]],[[8112,8113],"valid"],[[8114,8114],"mapped",[8048,953]],[[8115,8115],"mapped",[945,953]],[[8116,8116],"mapped",[940,953]],[[8117,8117],"disallowed"],[[8118,8118],"valid"],[[8119,8119],"mapped",[8118,953]],[[8120,8120],"mapped",[8112]],[[8121,8121],"mapped",[8113]],[[8122,8122],"mapped",[8048]],[[8123,8123],"mapped",[940]],[[8124,8124],"mapped",[945,953]],[[8125,8125],"disallowed_STD3_mapped",[32,787]],[[8126,8126],"mapped",[953]],[[8127,8127],"disallowed_STD3_mapped",[32,787]],[[8128,8128],"disallowed_STD3_mapped",[32,834]],[[8129,8129],"disallowed_STD3_mapped",[32,776,834]],[[8130,8130],"mapped",[8052,953]],[[8131,8131],"mapped",[951,953]],[[8132,8132],"mapped",[942,953]],[[8133,8133],"disallowed"],[[8134,8134],"valid"],[[8135,8135],"mapped",[8134,953]],[[8136,8136],"mapped",[8050]],[[8137,8137],"mapped",[941]],[[8138,8138],"mapped",[8052]],[[8139,8139],"mapped",[942]],[[8140,8140],"mapped",[951,953]],[[8141,8141],"disallowed_STD3_mapped",[32,787,768]],[[8142,8142],"disallowed_STD3_mapped",[32,787,769]],[[8143,8143],"disallowed_STD3_mapped",[32,787,834]],[[8144,8146],"valid"],[[8147,8147],"mapped",[912]],[[8148,8149],"disallowed"],[[8150,8151],"valid"],[[8152,8152],"mapped",[8144]],[[8153,8153],"mapped",[8145]],[[8154,8154],"mapped",[8054]],[[8155,8155],"mapped",[943]],[[8156,8156],"disallowed"],[[8157,8157],"disallowed_STD3_mapped",[32,788,768]],[[8158,8158],"disallowed_STD3_mapped",[32,788,769]],[[8159,8159],"disallowed_STD3_mapped",[32,788,834]],[[8160,8162],"valid"],[[8163,8163],"mapped",[944]],[[8164,8167],"valid"],[[8168,8168],"mapped",[8160]],[[8169,8169],"mapped",[8161]],[[8170,8170],"mapped",[8058]],[[8171,8171],"mapped",[973]],[[8172,8172],"mapped",[8165]],[[8173,8173],"disallowed_STD3_mapped",[32,776,768]],[[8174,8174],"disallowed_STD3_mapped",[32,776,769]],[[8175,8175],"disallowed_STD3_mapped",[96]],[[8176,8177],"disallowed"],[[8178,8178],"mapped",[8060,953]],[[8179,8179],"mapped",[969,953]],[[8180,8180],"mapped",[974,953]],[[8181,8181],"disallowed"],[[8182,8182],"valid"],[[8183,8183],"mapped",[8182,953]],[[8184,8184],"mapped",[8056]],[[8185,8185],"mapped",[972]],[[8186,8186],"mapped",[8060]],[[8187,8187],"mapped",[974]],[[8188,8188],"mapped",[969,953]],[[8189,8189],"disallowed_STD3_mapped",[32,769]],[[8190,8190],"disallowed_STD3_mapped",[32,788]],[[8191,8191],"disallowed"],[[8192,8202],"disallowed_STD3_mapped",[32]],[[8203,8203],"ignored"],[[8204,8205],"deviation",[]],[[8206,8207],"disallowed"],[[8208,8208],"valid",[],"NV8"],[[8209,8209],"mapped",[8208]],[[8210,8214],"valid",[],"NV8"],[[8215,8215],"disallowed_STD3_mapped",[32,819]],[[8216,8227],"valid",[],"NV8"],[[8228,8230],"disallowed"],[[8231,8231],"valid",[],"NV8"],[[8232,8238],"disallowed"],[[8239,8239],"disallowed_STD3_mapped",[32]],[[8240,8242],"valid",[],"NV8"],[[8243,8243],"mapped",[8242,8242]],[[8244,8244],"mapped",[8242,8242,8242]],[[8245,8245],"valid",[],"NV8"],[[8246,8246],"mapped",[8245,8245]],[[8247,8247],"mapped",[8245,8245,8245]],[[8248,8251],"valid",[],"NV8"],[[8252,8252],"disallowed_STD3_mapped",[33,33]],[[8253,8253],"valid",[],"NV8"],[[8254,8254],"disallowed_STD3_mapped",[32,773]],[[8255,8262],"valid",[],"NV8"],[[8263,8263],"disallowed_STD3_mapped",[63,63]],[[8264,8264],"disallowed_STD3_mapped",[63,33]],[[8265,8265],"disallowed_STD3_mapped",[33,63]],[[8266,8269],"valid",[],"NV8"],[[8270,8274],"valid",[],"NV8"],[[8275,8276],"valid",[],"NV8"],[[8277,8278],"valid",[],"NV8"],[[8279,8279],"mapped",[8242,8242,8242,8242]],[[8280,8286],"valid",[],"NV8"],[[8287,8287],"disallowed_STD3_mapped",[32]],[[8288,8288],"ignored"],[[8289,8291],"disallowed"],[[8292,8292],"ignored"],[[8293,8293],"disallowed"],[[8294,8297],"disallowed"],[[8298,8303],"disallowed"],[[8304,8304],"mapped",[48]],[[8305,8305],"mapped",[105]],[[8306,8307],"disallowed"],[[8308,8308],"mapped",[52]],[[8309,8309],"mapped",[53]],[[8310,8310],"mapped",[54]],[[8311,8311],"mapped",[55]],[[8312,8312],"mapped",[56]],[[8313,8313],"mapped",[57]],[[8314,8314],"disallowed_STD3_mapped",[43]],[[8315,8315],"mapped",[8722]],[[8316,8316],"disallowed_STD3_mapped",[61]],[[8317,8317],"disallowed_STD3_mapped",[40]],[[8318,8318],"disallowed_STD3_mapped",[41]],[[8319,8319],"mapped",[110]],[[8320,8320],"mapped",[48]],[[8321,8321],"mapped",[49]],[[8322,8322],"mapped",[50]],[[8323,8323],"mapped",[51]],[[8324,8324],"mapped",[52]],[[8325,8325],"mapped",[53]],[[8326,8326],"mapped",[54]],[[8327,8327],"mapped",[55]],[[8328,8328],"mapped",[56]],[[8329,8329],"mapped",[57]],[[8330,8330],"disallowed_STD3_mapped",[43]],[[8331,8331],"mapped",[8722]],[[8332,8332],"disallowed_STD3_mapped",[61]],[[8333,8333],"disallowed_STD3_mapped",[40]],[[8334,8334],"disallowed_STD3_mapped",[41]],[[8335,8335],"disallowed"],[[8336,8336],"mapped",[97]],[[8337,8337],"mapped",[101]],[[8338,8338],"mapped",[111]],[[8339,8339],"mapped",[120]],[[8340,8340],"mapped",[601]],[[8341,8341],"mapped",[104]],[[8342,8342],"mapped",[107]],[[8343,8343],"mapped",[108]],[[8344,8344],"mapped",[109]],[[8345,8345],"mapped",[110]],[[8346,8346],"mapped",[112]],[[8347,8347],"mapped",[115]],[[8348,8348],"mapped",[116]],[[8349,8351],"disallowed"],[[8352,8359],"valid",[],"NV8"],[[8360,8360],"mapped",[114,115]],[[8361,8362],"valid",[],"NV8"],[[8363,8363],"valid",[],"NV8"],[[8364,8364],"valid",[],"NV8"],[[8365,8367],"valid",[],"NV8"],[[8368,8369],"valid",[],"NV8"],[[8370,8373],"valid",[],"NV8"],[[8374,8376],"valid",[],"NV8"],[[8377,8377],"valid",[],"NV8"],[[8378,8378],"valid",[],"NV8"],[[8379,8381],"valid",[],"NV8"],[[8382,8382],"valid",[],"NV8"],[[8383,8399],"disallowed"],[[8400,8417],"valid",[],"NV8"],[[8418,8419],"valid",[],"NV8"],[[8420,8426],"valid",[],"NV8"],[[8427,8427],"valid",[],"NV8"],[[8428,8431],"valid",[],"NV8"],[[8432,8432],"valid",[],"NV8"],[[8433,8447],"disallowed"],[[8448,8448],"disallowed_STD3_mapped",[97,47,99]],[[8449,8449],"disallowed_STD3_mapped",[97,47,115]],[[8450,8450],"mapped",[99]],[[8451,8451],"mapped",[176,99]],[[8452,8452],"valid",[],"NV8"],[[8453,8453],"disallowed_STD3_mapped",[99,47,111]],[[8454,8454],"disallowed_STD3_mapped",[99,47,117]],[[8455,8455],"mapped",[603]],[[8456,8456],"valid",[],"NV8"],[[8457,8457],"mapped",[176,102]],[[8458,8458],"mapped",[103]],[[8459,8462],"mapped",[104]],[[8463,8463],"mapped",[295]],[[8464,8465],"mapped",[105]],[[8466,8467],"mapped",[108]],[[8468,8468],"valid",[],"NV8"],[[8469,8469],"mapped",[110]],[[8470,8470],"mapped",[110,111]],[[8471,8472],"valid",[],"NV8"],[[8473,8473],"mapped",[112]],[[8474,8474],"mapped",[113]],[[8475,8477],"mapped",[114]],[[8478,8479],"valid",[],"NV8"],[[8480,8480],"mapped",[115,109]],[[8481,8481],"mapped",[116,101,108]],[[8482,8482],"mapped",[116,109]],[[8483,8483],"valid",[],"NV8"],[[8484,8484],"mapped",[122]],[[8485,8485],"valid",[],"NV8"],[[8486,8486],"mapped",[969]],[[8487,8487],"valid",[],"NV8"],[[8488,8488],"mapped",[122]],[[8489,8489],"valid",[],"NV8"],[[8490,8490],"mapped",[107]],[[8491,8491],"mapped",[229]],[[8492,8492],"mapped",[98]],[[8493,8493],"mapped",[99]],[[8494,8494],"valid",[],"NV8"],[[8495,8496],"mapped",[101]],[[8497,8497],"mapped",[102]],[[8498,8498],"disallowed"],[[8499,8499],"mapped",[109]],[[8500,8500],"mapped",[111]],[[8501,8501],"mapped",[1488]],[[8502,8502],"mapped",[1489]],[[8503,8503],"mapped",[1490]],[[8504,8504],"mapped",[1491]],[[8505,8505],"mapped",[105]],[[8506,8506],"valid",[],"NV8"],[[8507,8507],"mapped",[102,97,120]],[[8508,8508],"mapped",[960]],[[8509,8510],"mapped",[947]],[[8511,8511],"mapped",[960]],[[8512,8512],"mapped",[8721]],[[8513,8516],"valid",[],"NV8"],[[8517,8518],"mapped",[100]],[[8519,8519],"mapped",[101]],[[8520,8520],"mapped",[105]],[[8521,8521],"mapped",[106]],[[8522,8523],"valid",[],"NV8"],[[8524,8524],"valid",[],"NV8"],[[8525,8525],"valid",[],"NV8"],[[8526,8526],"valid"],[[8527,8527],"valid",[],"NV8"],[[8528,8528],"mapped",[49,8260,55]],[[8529,8529],"mapped",[49,8260,57]],[[8530,8530],"mapped",[49,8260,49,48]],[[8531,8531],"mapped",[49,8260,51]],[[8532,8532],"mapped",[50,8260,51]],[[8533,8533],"mapped",[49,8260,53]],[[8534,8534],"mapped",[50,8260,53]],[[8535,8535],"mapped",[51,8260,53]],[[8536,8536],"mapped",[52,8260,53]],[[8537,8537],"mapped",[49,8260,54]],[[8538,8538],"mapped",[53,8260,54]],[[8539,8539],"mapped",[49,8260,56]],[[8540,8540],"mapped",[51,8260,56]],[[8541,8541],"mapped",[53,8260,56]],[[8542,8542],"mapped",[55,8260,56]],[[8543,8543],"mapped",[49,8260]],[[8544,8544],"mapped",[105]],[[8545,8545],"mapped",[105,105]],[[8546,8546],"mapped",[105,105,105]],[[8547,8547],"mapped",[105,118]],[[8548,8548],"mapped",[118]],[[8549,8549],"mapped",[118,105]],[[8550,8550],"mapped",[118,105,105]],[[8551,8551],"mapped",[118,105,105,105]],[[8552,8552],"mapped",[105,120]],[[8553,8553],"mapped",[120]],[[8554,8554],"mapped",[120,105]],[[8555,8555],"mapped",[120,105,105]],[[8556,8556],"mapped",[108]],[[8557,8557],"mapped",[99]],[[8558,8558],"mapped",[100]],[[8559,8559],"mapped",[109]],[[8560,8560],"mapped",[105]],[[8561,8561],"mapped",[105,105]],[[8562,8562],"mapped",[105,105,105]],[[8563,8563],"mapped",[105,118]],[[8564,8564],"mapped",[118]],[[8565,8565],"mapped",[118,105]],[[8566,8566],"mapped",[118,105,105]],[[8567,8567],"mapped",[118,105,105,105]],[[8568,8568],"mapped",[105,120]],[[8569,8569],"mapped",[120]],[[8570,8570],"mapped",[120,105]],[[8571,8571],"mapped",[120,105,105]],[[8572,8572],"mapped",[108]],[[8573,8573],"mapped",[99]],[[8574,8574],"mapped",[100]],[[8575,8575],"mapped",[109]],[[8576,8578],"valid",[],"NV8"],[[8579,8579],"disallowed"],[[8580,8580],"valid"],[[8581,8584],"valid",[],"NV8"],[[8585,8585],"mapped",[48,8260,51]],[[8586,8587],"valid",[],"NV8"],[[8588,8591],"disallowed"],[[8592,8682],"valid",[],"NV8"],[[8683,8691],"valid",[],"NV8"],[[8692,8703],"valid",[],"NV8"],[[8704,8747],"valid",[],"NV8"],[[8748,8748],"mapped",[8747,8747]],[[8749,8749],"mapped",[8747,8747,8747]],[[8750,8750],"valid",[],"NV8"],[[8751,8751],"mapped",[8750,8750]],[[8752,8752],"mapped",[8750,8750,8750]],[[8753,8799],"valid",[],"NV8"],[[8800,8800],"disallowed_STD3_valid"],[[8801,8813],"valid",[],"NV8"],[[8814,8815],"disallowed_STD3_valid"],[[8816,8945],"valid",[],"NV8"],[[8946,8959],"valid",[],"NV8"],[[8960,8960],"valid",[],"NV8"],[[8961,8961],"valid",[],"NV8"],[[8962,9000],"valid",[],"NV8"],[[9001,9001],"mapped",[12296]],[[9002,9002],"mapped",[12297]],[[9003,9082],"valid",[],"NV8"],[[9083,9083],"valid",[],"NV8"],[[9084,9084],"valid",[],"NV8"],[[9085,9114],"valid",[],"NV8"],[[9115,9166],"valid",[],"NV8"],[[9167,9168],"valid",[],"NV8"],[[9169,9179],"valid",[],"NV8"],[[9180,9191],"valid",[],"NV8"],[[9192,9192],"valid",[],"NV8"],[[9193,9203],"valid",[],"NV8"],[[9204,9210],"valid",[],"NV8"],[[9211,9215],"disallowed"],[[9216,9252],"valid",[],"NV8"],[[9253,9254],"valid",[],"NV8"],[[9255,9279],"disallowed"],[[9280,9290],"valid",[],"NV8"],[[9291,9311],"disallowed"],[[9312,9312],"mapped",[49]],[[9313,9313],"mapped",[50]],[[9314,9314],"mapped",[51]],[[9315,9315],"mapped",[52]],[[9316,9316],"mapped",[53]],[[9317,9317],"mapped",[54]],[[9318,9318],"mapped",[55]],[[9319,9319],"mapped",[56]],[[9320,9320],"mapped",[57]],[[9321,9321],"mapped",[49,48]],[[9322,9322],"mapped",[49,49]],[[9323,9323],"mapped",[49,50]],[[9324,9324],"mapped",[49,51]],[[9325,9325],"mapped",[49,52]],[[9326,9326],"mapped",[49,53]],[[9327,9327],"mapped",[49,54]],[[9328,9328],"mapped",[49,55]],[[9329,9329],"mapped",[49,56]],[[9330,9330],"mapped",[49,57]],[[9331,9331],"mapped",[50,48]],[[9332,9332],"disallowed_STD3_mapped",[40,49,41]],[[9333,9333],"disallowed_STD3_mapped",[40,50,41]],[[9334,9334],"disallowed_STD3_mapped",[40,51,41]],[[9335,9335],"disallowed_STD3_mapped",[40,52,41]],[[9336,9336],"disallowed_STD3_mapped",[40,53,41]],[[9337,9337],"disallowed_STD3_mapped",[40,54,41]],[[9338,9338],"disallowed_STD3_mapped",[40,55,41]],[[9339,9339],"disallowed_STD3_mapped",[40,56,41]],[[9340,9340],"disallowed_STD3_mapped",[40,57,41]],[[9341,9341],"disallowed_STD3_mapped",[40,49,48,41]],[[9342,9342],"disallowed_STD3_mapped",[40,49,49,41]],[[9343,9343],"disallowed_STD3_mapped",[40,49,50,41]],[[9344,9344],"disallowed_STD3_mapped",[40,49,51,41]],[[9345,9345],"disallowed_STD3_mapped",[40,49,52,41]],[[9346,9346],"disallowed_STD3_mapped",[40,49,53,41]],[[9347,9347],"disallowed_STD3_mapped",[40,49,54,41]],[[9348,9348],"disallowed_STD3_mapped",[40,49,55,41]],[[9349,9349],"disallowed_STD3_mapped",[40,49,56,41]],[[9350,9350],"disallowed_STD3_mapped",[40,49,57,41]],[[9351,9351],"disallowed_STD3_mapped",[40,50,48,41]],[[9352,9371],"disallowed"],[[9372,9372],"disallowed_STD3_mapped",[40,97,41]],[[9373,9373],"disallowed_STD3_mapped",[40,98,41]],[[9374,9374],"disallowed_STD3_mapped",[40,99,41]],[[9375,9375],"disallowed_STD3_mapped",[40,100,41]],[[9376,9376],"disallowed_STD3_mapped",[40,101,41]],[[9377,9377],"disallowed_STD3_mapped",[40,102,41]],[[9378,9378],"disallowed_STD3_mapped",[40,103,41]],[[9379,9379],"disallowed_STD3_mapped",[40,104,41]],[[9380,9380],"disallowed_STD3_mapped",[40,105,41]],[[9381,9381],"disallowed_STD3_mapped",[40,106,41]],[[9382,9382],"disallowed_STD3_mapped",[40,107,41]],[[9383,9383],"disallowed_STD3_mapped",[40,108,41]],[[9384,9384],"disallowed_STD3_mapped",[40,109,41]],[[9385,9385],"disallowed_STD3_mapped",[40,110,41]],[[9386,9386],"disallowed_STD3_mapped",[40,111,41]],[[9387,9387],"disallowed_STD3_mapped",[40,112,41]],[[9388,9388],"disallowed_STD3_mapped",[40,113,41]],[[9389,9389],"disallowed_STD3_mapped",[40,114,41]],[[9390,9390],"disallowed_STD3_mapped",[40,115,41]],[[9391,9391],"disallowed_STD3_mapped",[40,116,41]],[[9392,9392],"disallowed_STD3_mapped",[40,117,41]],[[9393,9393],"disallowed_STD3_mapped",[40,118,41]],[[9394,9394],"disallowed_STD3_mapped",[40,119,41]],[[9395,9395],"disallowed_STD3_mapped",[40,120,41]],[[9396,9396],"disallowed_STD3_mapped",[40,121,41]],[[9397,9397],"disallowed_STD3_mapped",[40,122,41]],[[9398,9398],"mapped",[97]],[[9399,9399],"mapped",[98]],[[9400,9400],"mapped",[99]],[[9401,9401],"mapped",[100]],[[9402,9402],"mapped",[101]],[[9403,9403],"mapped",[102]],[[9404,9404],"mapped",[103]],[[9405,9405],"mapped",[104]],[[9406,9406],"mapped",[105]],[[9407,9407],"mapped",[106]],[[9408,9408],"mapped",[107]],[[9409,9409],"mapped",[108]],[[9410,9410],"mapped",[109]],[[9411,9411],"mapped",[110]],[[9412,9412],"mapped",[111]],[[9413,9413],"mapped",[112]],[[9414,9414],"mapped",[113]],[[9415,9415],"mapped",[114]],[[9416,9416],"mapped",[115]],[[9417,9417],"mapped",[116]],[[9418,9418],"mapped",[117]],[[9419,9419],"mapped",[118]],[[9420,9420],"mapped",[119]],[[9421,9421],"mapped",[120]],[[9422,9422],"mapped",[121]],[[9423,9423],"mapped",[122]],[[9424,9424],"mapped",[97]],[[9425,9425],"mapped",[98]],[[9426,9426],"mapped",[99]],[[9427,9427],"mapped",[100]],[[9428,9428],"mapped",[101]],[[9429,9429],"mapped",[102]],[[9430,9430],"mapped",[103]],[[9431,9431],"mapped",[104]],[[9432,9432],"mapped",[105]],[[9433,9433],"mapped",[106]],[[9434,9434],"mapped",[107]],[[9435,9435],"mapped",[108]],[[9436,9436],"mapped",[109]],[[9437,9437],"mapped",[110]],[[9438,9438],"mapped",[111]],[[9439,9439],"mapped",[112]],[[9440,9440],"mapped",[113]],[[9441,9441],"mapped",[114]],[[9442,9442],"mapped",[115]],[[9443,9443],"mapped",[116]],[[9444,9444],"mapped",[117]],[[9445,9445],"mapped",[118]],[[9446,9446],"mapped",[119]],[[9447,9447],"mapped",[120]],[[9448,9448],"mapped",[121]],[[9449,9449],"mapped",[122]],[[9450,9450],"mapped",[48]],[[9451,9470],"valid",[],"NV8"],[[9471,9471],"valid",[],"NV8"],[[9472,9621],"valid",[],"NV8"],[[9622,9631],"valid",[],"NV8"],[[9632,9711],"valid",[],"NV8"],[[9712,9719],"valid",[],"NV8"],[[9720,9727],"valid",[],"NV8"],[[9728,9747],"valid",[],"NV8"],[[9748,9749],"valid",[],"NV8"],[[9750,9751],"valid",[],"NV8"],[[9752,9752],"valid",[],"NV8"],[[9753,9753],"valid",[],"NV8"],[[9754,9839],"valid",[],"NV8"],[[9840,9841],"valid",[],"NV8"],[[9842,9853],"valid",[],"NV8"],[[9854,9855],"valid",[],"NV8"],[[9856,9865],"valid",[],"NV8"],[[9866,9873],"valid",[],"NV8"],[[9874,9884],"valid",[],"NV8"],[[9885,9885],"valid",[],"NV8"],[[9886,9887],"valid",[],"NV8"],[[9888,9889],"valid",[],"NV8"],[[9890,9905],"valid",[],"NV8"],[[9906,9906],"valid",[],"NV8"],[[9907,9916],"valid",[],"NV8"],[[9917,9919],"valid",[],"NV8"],[[9920,9923],"valid",[],"NV8"],[[9924,9933],"valid",[],"NV8"],[[9934,9934],"valid",[],"NV8"],[[9935,9953],"valid",[],"NV8"],[[9954,9954],"valid",[],"NV8"],[[9955,9955],"valid",[],"NV8"],[[9956,9959],"valid",[],"NV8"],[[9960,9983],"valid",[],"NV8"],[[9984,9984],"valid",[],"NV8"],[[9985,9988],"valid",[],"NV8"],[[9989,9989],"valid",[],"NV8"],[[9990,9993],"valid",[],"NV8"],[[9994,9995],"valid",[],"NV8"],[[9996,10023],"valid",[],"NV8"],[[10024,10024],"valid",[],"NV8"],[[10025,10059],"valid",[],"NV8"],[[10060,10060],"valid",[],"NV8"],[[10061,10061],"valid",[],"NV8"],[[10062,10062],"valid",[],"NV8"],[[10063,10066],"valid",[],"NV8"],[[10067,10069],"valid",[],"NV8"],[[10070,10070],"valid",[],"NV8"],[[10071,10071],"valid",[],"NV8"],[[10072,10078],"valid",[],"NV8"],[[10079,10080],"valid",[],"NV8"],[[10081,10087],"valid",[],"NV8"],[[10088,10101],"valid",[],"NV8"],[[10102,10132],"valid",[],"NV8"],[[10133,10135],"valid",[],"NV8"],[[10136,10159],"valid",[],"NV8"],[[10160,10160],"valid",[],"NV8"],[[10161,10174],"valid",[],"NV8"],[[10175,10175],"valid",[],"NV8"],[[10176,10182],"valid",[],"NV8"],[[10183,10186],"valid",[],"NV8"],[[10187,10187],"valid",[],"NV8"],[[10188,10188],"valid",[],"NV8"],[[10189,10189],"valid",[],"NV8"],[[10190,10191],"valid",[],"NV8"],[[10192,10219],"valid",[],"NV8"],[[10220,10223],"valid",[],"NV8"],[[10224,10239],"valid",[],"NV8"],[[10240,10495],"valid",[],"NV8"],[[10496,10763],"valid",[],"NV8"],[[10764,10764],"mapped",[8747,8747,8747,8747]],[[10765,10867],"valid",[],"NV8"],[[10868,10868],"disallowed_STD3_mapped",[58,58,61]],[[10869,10869],"disallowed_STD3_mapped",[61,61]],[[10870,10870],"disallowed_STD3_mapped",[61,61,61]],[[10871,10971],"valid",[],"NV8"],[[10972,10972],"mapped",[10973,824]],[[10973,11007],"valid",[],"NV8"],[[11008,11021],"valid",[],"NV8"],[[11022,11027],"valid",[],"NV8"],[[11028,11034],"valid",[],"NV8"],[[11035,11039],"valid",[],"NV8"],[[11040,11043],"valid",[],"NV8"],[[11044,11084],"valid",[],"NV8"],[[11085,11087],"valid",[],"NV8"],[[11088,11092],"valid",[],"NV8"],[[11093,11097],"valid",[],"NV8"],[[11098,11123],"valid",[],"NV8"],[[11124,11125],"disallowed"],[[11126,11157],"valid",[],"NV8"],[[11158,11159],"disallowed"],[[11160,11193],"valid",[],"NV8"],[[11194,11196],"disallowed"],[[11197,11208],"valid",[],"NV8"],[[11209,11209],"disallowed"],[[11210,11217],"valid",[],"NV8"],[[11218,11243],"disallowed"],[[11244,11247],"valid",[],"NV8"],[[11248,11263],"disallowed"],[[11264,11264],"mapped",[11312]],[[11265,11265],"mapped",[11313]],[[11266,11266],"mapped",[11314]],[[11267,11267],"mapped",[11315]],[[11268,11268],"mapped",[11316]],[[11269,11269],"mapped",[11317]],[[11270,11270],"mapped",[11318]],[[11271,11271],"mapped",[11319]],[[11272,11272],"mapped",[11320]],[[11273,11273],"mapped",[11321]],[[11274,11274],"mapped",[11322]],[[11275,11275],"mapped",[11323]],[[11276,11276],"mapped",[11324]],[[11277,11277],"mapped",[11325]],[[11278,11278],"mapped",[11326]],[[11279,11279],"mapped",[11327]],[[11280,11280],"mapped",[11328]],[[11281,11281],"mapped",[11329]],[[11282,11282],"mapped",[11330]],[[11283,11283],"mapped",[11331]],[[11284,11284],"mapped",[11332]],[[11285,11285],"mapped",[11333]],[[11286,11286],"mapped",[11334]],[[11287,11287],"mapped",[11335]],[[11288,11288],"mapped",[11336]],[[11289,11289],"mapped",[11337]],[[11290,11290],"mapped",[11338]],[[11291,11291],"mapped",[11339]],[[11292,11292],"mapped",[11340]],[[11293,11293],"mapped",[11341]],[[11294,11294],"mapped",[11342]],[[11295,11295],"mapped",[11343]],[[11296,11296],"mapped",[11344]],[[11297,11297],"mapped",[11345]],[[11298,11298],"mapped",[11346]],[[11299,11299],"mapped",[11347]],[[11300,11300],"mapped",[11348]],[[11301,11301],"mapped",[11349]],[[11302,11302],"mapped",[11350]],[[11303,11303],"mapped",[11351]],[[11304,11304],"mapped",[11352]],[[11305,11305],"mapped",[11353]],[[11306,11306],"mapped",[11354]],[[11307,11307],"mapped",[11355]],[[11308,11308],"mapped",[11356]],[[11309,11309],"mapped",[11357]],[[11310,11310],"mapped",[11358]],[[11311,11311],"disallowed"],[[11312,11358],"valid"],[[11359,11359],"disallowed"],[[11360,11360],"mapped",[11361]],[[11361,11361],"valid"],[[11362,11362],"mapped",[619]],[[11363,11363],"mapped",[7549]],[[11364,11364],"mapped",[637]],[[11365,11366],"valid"],[[11367,11367],"mapped",[11368]],[[11368,11368],"valid"],[[11369,11369],"mapped",[11370]],[[11370,11370],"valid"],[[11371,11371],"mapped",[11372]],[[11372,11372],"valid"],[[11373,11373],"mapped",[593]],[[11374,11374],"mapped",[625]],[[11375,11375],"mapped",[592]],[[11376,11376],"mapped",[594]],[[11377,11377],"valid"],[[11378,11378],"mapped",[11379]],[[11379,11379],"valid"],[[11380,11380],"valid"],[[11381,11381],"mapped",[11382]],[[11382,11383],"valid"],[[11384,11387],"valid"],[[11388,11388],"mapped",[106]],[[11389,11389],"mapped",[118]],[[11390,11390],"mapped",[575]],[[11391,11391],"mapped",[576]],[[11392,11392],"mapped",[11393]],[[11393,11393],"valid"],[[11394,11394],"mapped",[11395]],[[11395,11395],"valid"],[[11396,11396],"mapped",[11397]],[[11397,11397],"valid"],[[11398,11398],"mapped",[11399]],[[11399,11399],"valid"],[[11400,11400],"mapped",[11401]],[[11401,11401],"valid"],[[11402,11402],"mapped",[11403]],[[11403,11403],"valid"],[[11404,11404],"mapped",[11405]],[[11405,11405],"valid"],[[11406,11406],"mapped",[11407]],[[11407,11407],"valid"],[[11408,11408],"mapped",[11409]],[[11409,11409],"valid"],[[11410,11410],"mapped",[11411]],[[11411,11411],"valid"],[[11412,11412],"mapped",[11413]],[[11413,11413],"valid"],[[11414,11414],"mapped",[11415]],[[11415,11415],"valid"],[[11416,11416],"mapped",[11417]],[[11417,11417],"valid"],[[11418,11418],"mapped",[11419]],[[11419,11419],"valid"],[[11420,11420],"mapped",[11421]],[[11421,11421],"valid"],[[11422,11422],"mapped",[11423]],[[11423,11423],"valid"],[[11424,11424],"mapped",[11425]],[[11425,11425],"valid"],[[11426,11426],"mapped",[11427]],[[11427,11427],"valid"],[[11428,11428],"mapped",[11429]],[[11429,11429],"valid"],[[11430,11430],"mapped",[11431]],[[11431,11431],"valid"],[[11432,11432],"mapped",[11433]],[[11433,11433],"valid"],[[11434,11434],"mapped",[11435]],[[11435,11435],"valid"],[[11436,11436],"mapped",[11437]],[[11437,11437],"valid"],[[11438,11438],"mapped",[11439]],[[11439,11439],"valid"],[[11440,11440],"mapped",[11441]],[[11441,11441],"valid"],[[11442,11442],"mapped",[11443]],[[11443,11443],"valid"],[[11444,11444],"mapped",[11445]],[[11445,11445],"valid"],[[11446,11446],"mapped",[11447]],[[11447,11447],"valid"],[[11448,11448],"mapped",[11449]],[[11449,11449],"valid"],[[11450,11450],"mapped",[11451]],[[11451,11451],"valid"],[[11452,11452],"mapped",[11453]],[[11453,11453],"valid"],[[11454,11454],"mapped",[11455]],[[11455,11455],"valid"],[[11456,11456],"mapped",[11457]],[[11457,11457],"valid"],[[11458,11458],"mapped",[11459]],[[11459,11459],"valid"],[[11460,11460],"mapped",[11461]],[[11461,11461],"valid"],[[11462,11462],"mapped",[11463]],[[11463,11463],"valid"],[[11464,11464],"mapped",[11465]],[[11465,11465],"valid"],[[11466,11466],"mapped",[11467]],[[11467,11467],"valid"],[[11468,11468],"mapped",[11469]],[[11469,11469],"valid"],[[11470,11470],"mapped",[11471]],[[11471,11471],"valid"],[[11472,11472],"mapped",[11473]],[[11473,11473],"valid"],[[11474,11474],"mapped",[11475]],[[11475,11475],"valid"],[[11476,11476],"mapped",[11477]],[[11477,11477],"valid"],[[11478,11478],"mapped",[11479]],[[11479,11479],"valid"],[[11480,11480],"mapped",[11481]],[[11481,11481],"valid"],[[11482,11482],"mapped",[11483]],[[11483,11483],"valid"],[[11484,11484],"mapped",[11485]],[[11485,11485],"valid"],[[11486,11486],"mapped",[11487]],[[11487,11487],"valid"],[[11488,11488],"mapped",[11489]],[[11489,11489],"valid"],[[11490,11490],"mapped",[11491]],[[11491,11492],"valid"],[[11493,11498],"valid",[],"NV8"],[[11499,11499],"mapped",[11500]],[[11500,11500],"valid"],[[11501,11501],"mapped",[11502]],[[11502,11505],"valid"],[[11506,11506],"mapped",[11507]],[[11507,11507],"valid"],[[11508,11512],"disallowed"],[[11513,11519],"valid",[],"NV8"],[[11520,11557],"valid"],[[11558,11558],"disallowed"],[[11559,11559],"valid"],[[11560,11564],"disallowed"],[[11565,11565],"valid"],[[11566,11567],"disallowed"],[[11568,11621],"valid"],[[11622,11623],"valid"],[[11624,11630],"disallowed"],[[11631,11631],"mapped",[11617]],[[11632,11632],"valid",[],"NV8"],[[11633,11646],"disallowed"],[[11647,11647],"valid"],[[11648,11670],"valid"],[[11671,11679],"disallowed"],[[11680,11686],"valid"],[[11687,11687],"disallowed"],[[11688,11694],"valid"],[[11695,11695],"disallowed"],[[11696,11702],"valid"],[[11703,11703],"disallowed"],[[11704,11710],"valid"],[[11711,11711],"disallowed"],[[11712,11718],"valid"],[[11719,11719],"disallowed"],[[11720,11726],"valid"],[[11727,11727],"disallowed"],[[11728,11734],"valid"],[[11735,11735],"disallowed"],[[11736,11742],"valid"],[[11743,11743],"disallowed"],[[11744,11775],"valid"],[[11776,11799],"valid",[],"NV8"],[[11800,11803],"valid",[],"NV8"],[[11804,11805],"valid",[],"NV8"],[[11806,11822],"valid",[],"NV8"],[[11823,11823],"valid"],[[11824,11824],"valid",[],"NV8"],[[11825,11825],"valid",[],"NV8"],[[11826,11835],"valid",[],"NV8"],[[11836,11842],"valid",[],"NV8"],[[11843,11903],"disallowed"],[[11904,11929],"valid",[],"NV8"],[[11930,11930],"disallowed"],[[11931,11934],"valid",[],"NV8"],[[11935,11935],"mapped",[27597]],[[11936,12018],"valid",[],"NV8"],[[12019,12019],"mapped",[40863]],[[12020,12031],"disallowed"],[[12032,12032],"mapped",[19968]],[[12033,12033],"mapped",[20008]],[[12034,12034],"mapped",[20022]],[[12035,12035],"mapped",[20031]],[[12036,12036],"mapped",[20057]],[[12037,12037],"mapped",[20101]],[[12038,12038],"mapped",[20108]],[[12039,12039],"mapped",[20128]],[[12040,12040],"mapped",[20154]],[[12041,12041],"mapped",[20799]],[[12042,12042],"mapped",[20837]],[[12043,12043],"mapped",[20843]],[[12044,12044],"mapped",[20866]],[[12045,12045],"mapped",[20886]],[[12046,12046],"mapped",[20907]],[[12047,12047],"mapped",[20960]],[[12048,12048],"mapped",[20981]],[[12049,12049],"mapped",[20992]],[[12050,12050],"mapped",[21147]],[[12051,12051],"mapped",[21241]],[[12052,12052],"mapped",[21269]],[[12053,12053],"mapped",[21274]],[[12054,12054],"mapped",[21304]],[[12055,12055],"mapped",[21313]],[[12056,12056],"mapped",[21340]],[[12057,12057],"mapped",[21353]],[[12058,12058],"mapped",[21378]],[[12059,12059],"mapped",[21430]],[[12060,12060],"mapped",[21448]],[[12061,12061],"mapped",[21475]],[[12062,12062],"mapped",[22231]],[[12063,12063],"mapped",[22303]],[[12064,12064],"mapped",[22763]],[[12065,12065],"mapped",[22786]],[[12066,12066],"mapped",[22794]],[[12067,12067],"mapped",[22805]],[[12068,12068],"mapped",[22823]],[[12069,12069],"mapped",[22899]],[[12070,12070],"mapped",[23376]],[[12071,12071],"mapped",[23424]],[[12072,12072],"mapped",[23544]],[[12073,12073],"mapped",[23567]],[[12074,12074],"mapped",[23586]],[[12075,12075],"mapped",[23608]],[[12076,12076],"mapped",[23662]],[[12077,12077],"mapped",[23665]],[[12078,12078],"mapped",[24027]],[[12079,12079],"mapped",[24037]],[[12080,12080],"mapped",[24049]],[[12081,12081],"mapped",[24062]],[[12082,12082],"mapped",[24178]],[[12083,12083],"mapped",[24186]],[[12084,12084],"mapped",[24191]],[[12085,12085],"mapped",[24308]],[[12086,12086],"mapped",[24318]],[[12087,12087],"mapped",[24331]],[[12088,12088],"mapped",[24339]],[[12089,12089],"mapped",[24400]],[[12090,12090],"mapped",[24417]],[[12091,12091],"mapped",[24435]],[[12092,12092],"mapped",[24515]],[[12093,12093],"mapped",[25096]],[[12094,12094],"mapped",[25142]],[[12095,12095],"mapped",[25163]],[[12096,12096],"mapped",[25903]],[[12097,12097],"mapped",[25908]],[[12098,12098],"mapped",[25991]],[[12099,12099],"mapped",[26007]],[[12100,12100],"mapped",[26020]],[[12101,12101],"mapped",[26041]],[[12102,12102],"mapped",[26080]],[[12103,12103],"mapped",[26085]],[[12104,12104],"mapped",[26352]],[[12105,12105],"mapped",[26376]],[[12106,12106],"mapped",[26408]],[[12107,12107],"mapped",[27424]],[[12108,12108],"mapped",[27490]],[[12109,12109],"mapped",[27513]],[[12110,12110],"mapped",[27571]],[[12111,12111],"mapped",[27595]],[[12112,12112],"mapped",[27604]],[[12113,12113],"mapped",[27611]],[[12114,12114],"mapped",[27663]],[[12115,12115],"mapped",[27668]],[[12116,12116],"mapped",[27700]],[[12117,12117],"mapped",[28779]],[[12118,12118],"mapped",[29226]],[[12119,12119],"mapped",[29238]],[[12120,12120],"mapped",[29243]],[[12121,12121],"mapped",[29247]],[[12122,12122],"mapped",[29255]],[[12123,12123],"mapped",[29273]],[[12124,12124],"mapped",[29275]],[[12125,12125],"mapped",[29356]],[[12126,12126],"mapped",[29572]],[[12127,12127],"mapped",[29577]],[[12128,12128],"mapped",[29916]],[[12129,12129],"mapped",[29926]],[[12130,12130],"mapped",[29976]],[[12131,12131],"mapped",[29983]],[[12132,12132],"mapped",[29992]],[[12133,12133],"mapped",[30000]],[[12134,12134],"mapped",[30091]],[[12135,12135],"mapped",[30098]],[[12136,12136],"mapped",[30326]],[[12137,12137],"mapped",[30333]],[[12138,12138],"mapped",[30382]],[[12139,12139],"mapped",[30399]],[[12140,12140],"mapped",[30446]],[[12141,12141],"mapped",[30683]],[[12142,12142],"mapped",[30690]],[[12143,12143],"mapped",[30707]],[[12144,12144],"mapped",[31034]],[[12145,12145],"mapped",[31160]],[[12146,12146],"mapped",[31166]],[[12147,12147],"mapped",[31348]],[[12148,12148],"mapped",[31435]],[[12149,12149],"mapped",[31481]],[[12150,12150],"mapped",[31859]],[[12151,12151],"mapped",[31992]],[[12152,12152],"mapped",[32566]],[[12153,12153],"mapped",[32593]],[[12154,12154],"mapped",[32650]],[[12155,12155],"mapped",[32701]],[[12156,12156],"mapped",[32769]],[[12157,12157],"mapped",[32780]],[[12158,12158],"mapped",[32786]],[[12159,12159],"mapped",[32819]],[[12160,12160],"mapped",[32895]],[[12161,12161],"mapped",[32905]],[[12162,12162],"mapped",[33251]],[[12163,12163],"mapped",[33258]],[[12164,12164],"mapped",[33267]],[[12165,12165],"mapped",[33276]],[[12166,12166],"mapped",[33292]],[[12167,12167],"mapped",[33307]],[[12168,12168],"mapped",[33311]],[[12169,12169],"mapped",[33390]],[[12170,12170],"mapped",[33394]],[[12171,12171],"mapped",[33400]],[[12172,12172],"mapped",[34381]],[[12173,12173],"mapped",[34411]],[[12174,12174],"mapped",[34880]],[[12175,12175],"mapped",[34892]],[[12176,12176],"mapped",[34915]],[[12177,12177],"mapped",[35198]],[[12178,12178],"mapped",[35211]],[[12179,12179],"mapped",[35282]],[[12180,12180],"mapped",[35328]],[[12181,12181],"mapped",[35895]],[[12182,12182],"mapped",[35910]],[[12183,12183],"mapped",[35925]],[[12184,12184],"mapped",[35960]],[[12185,12185],"mapped",[35997]],[[12186,12186],"mapped",[36196]],[[12187,12187],"mapped",[36208]],[[12188,12188],"mapped",[36275]],[[12189,12189],"mapped",[36523]],[[12190,12190],"mapped",[36554]],[[12191,12191],"mapped",[36763]],[[12192,12192],"mapped",[36784]],[[12193,12193],"mapped",[36789]],[[12194,12194],"mapped",[37009]],[[12195,12195],"mapped",[37193]],[[12196,12196],"mapped",[37318]],[[12197,12197],"mapped",[37324]],[[12198,12198],"mapped",[37329]],[[12199,12199],"mapped",[38263]],[[12200,12200],"mapped",[38272]],[[12201,12201],"mapped",[38428]],[[12202,12202],"mapped",[38582]],[[12203,12203],"mapped",[38585]],[[12204,12204],"mapped",[38632]],[[12205,12205],"mapped",[38737]],[[12206,12206],"mapped",[38750]],[[12207,12207],"mapped",[38754]],[[12208,12208],"mapped",[38761]],[[12209,12209],"mapped",[38859]],[[12210,12210],"mapped",[38893]],[[12211,12211],"mapped",[38899]],[[12212,12212],"mapped",[38913]],[[12213,12213],"mapped",[39080]],[[12214,12214],"mapped",[39131]],[[12215,12215],"mapped",[39135]],[[12216,12216],"mapped",[39318]],[[12217,12217],"mapped",[39321]],[[12218,12218],"mapped",[39340]],[[12219,12219],"mapped",[39592]],[[12220,12220],"mapped",[39640]],[[12221,12221],"mapped",[39647]],[[12222,12222],"mapped",[39717]],[[12223,12223],"mapped",[39727]],[[12224,12224],"mapped",[39730]],[[12225,12225],"mapped",[39740]],[[12226,12226],"mapped",[39770]],[[12227,12227],"mapped",[40165]],[[12228,12228],"mapped",[40565]],[[12229,12229],"mapped",[40575]],[[12230,12230],"mapped",[40613]],[[12231,12231],"mapped",[40635]],[[12232,12232],"mapped",[40643]],[[12233,12233],"mapped",[40653]],[[12234,12234],"mapped",[40657]],[[12235,12235],"mapped",[40697]],[[12236,12236],"mapped",[40701]],[[12237,12237],"mapped",[40718]],[[12238,12238],"mapped",[40723]],[[12239,12239],"mapped",[40736]],[[12240,12240],"mapped",[40763]],[[12241,12241],"mapped",[40778]],[[12242,12242],"mapped",[40786]],[[12243,12243],"mapped",[40845]],[[12244,12244],"mapped",[40860]],[[12245,12245],"mapped",[40864]],[[12246,12271],"disallowed"],[[12272,12283],"disallowed"],[[12284,12287],"disallowed"],[[12288,12288],"disallowed_STD3_mapped",[32]],[[12289,12289],"valid",[],"NV8"],[[12290,12290],"mapped",[46]],[[12291,12292],"valid",[],"NV8"],[[12293,12295],"valid"],[[12296,12329],"valid",[],"NV8"],[[12330,12333],"valid"],[[12334,12341],"valid",[],"NV8"],[[12342,12342],"mapped",[12306]],[[12343,12343],"valid",[],"NV8"],[[12344,12344],"mapped",[21313]],[[12345,12345],"mapped",[21316]],[[12346,12346],"mapped",[21317]],[[12347,12347],"valid",[],"NV8"],[[12348,12348],"valid"],[[12349,12349],"valid",[],"NV8"],[[12350,12350],"valid",[],"NV8"],[[12351,12351],"valid",[],"NV8"],[[12352,12352],"disallowed"],[[12353,12436],"valid"],[[12437,12438],"valid"],[[12439,12440],"disallowed"],[[12441,12442],"valid"],[[12443,12443],"disallowed_STD3_mapped",[32,12441]],[[12444,12444],"disallowed_STD3_mapped",[32,12442]],[[12445,12446],"valid"],[[12447,12447],"mapped",[12424,12426]],[[12448,12448],"valid",[],"NV8"],[[12449,12542],"valid"],[[12543,12543],"mapped",[12467,12488]],[[12544,12548],"disallowed"],[[12549,12588],"valid"],[[12589,12589],"valid"],[[12590,12592],"disallowed"],[[12593,12593],"mapped",[4352]],[[12594,12594],"mapped",[4353]],[[12595,12595],"mapped",[4522]],[[12596,12596],"mapped",[4354]],[[12597,12597],"mapped",[4524]],[[12598,12598],"mapped",[4525]],[[12599,12599],"mapped",[4355]],[[12600,12600],"mapped",[4356]],[[12601,12601],"mapped",[4357]],[[12602,12602],"mapped",[4528]],[[12603,12603],"mapped",[4529]],[[12604,12604],"mapped",[4530]],[[12605,12605],"mapped",[4531]],[[12606,12606],"mapped",[4532]],[[12607,12607],"mapped",[4533]],[[12608,12608],"mapped",[4378]],[[12609,12609],"mapped",[4358]],[[12610,12610],"mapped",[4359]],[[12611,12611],"mapped",[4360]],[[12612,12612],"mapped",[4385]],[[12613,12613],"mapped",[4361]],[[12614,12614],"mapped",[4362]],[[12615,12615],"mapped",[4363]],[[12616,12616],"mapped",[4364]],[[12617,12617],"mapped",[4365]],[[12618,12618],"mapped",[4366]],[[12619,12619],"mapped",[4367]],[[12620,12620],"mapped",[4368]],[[12621,12621],"mapped",[4369]],[[12622,12622],"mapped",[4370]],[[12623,12623],"mapped",[4449]],[[12624,12624],"mapped",[4450]],[[12625,12625],"mapped",[4451]],[[12626,12626],"mapped",[4452]],[[12627,12627],"mapped",[4453]],[[12628,12628],"mapped",[4454]],[[12629,12629],"mapped",[4455]],[[12630,12630],"mapped",[4456]],[[12631,12631],"mapped",[4457]],[[12632,12632],"mapped",[4458]],[[12633,12633],"mapped",[4459]],[[12634,12634],"mapped",[4460]],[[12635,12635],"mapped",[4461]],[[12636,12636],"mapped",[4462]],[[12637,12637],"mapped",[4463]],[[12638,12638],"mapped",[4464]],[[12639,12639],"mapped",[4465]],[[12640,12640],"mapped",[4466]],[[12641,12641],"mapped",[4467]],[[12642,12642],"mapped",[4468]],[[12643,12643],"mapped",[4469]],[[12644,12644],"disallowed"],[[12645,12645],"mapped",[4372]],[[12646,12646],"mapped",[4373]],[[12647,12647],"mapped",[4551]],[[12648,12648],"mapped",[4552]],[[12649,12649],"mapped",[4556]],[[12650,12650],"mapped",[4558]],[[12651,12651],"mapped",[4563]],[[12652,12652],"mapped",[4567]],[[12653,12653],"mapped",[4569]],[[12654,12654],"mapped",[4380]],[[12655,12655],"mapped",[4573]],[[12656,12656],"mapped",[4575]],[[12657,12657],"mapped",[4381]],[[12658,12658],"mapped",[4382]],[[12659,12659],"mapped",[4384]],[[12660,12660],"mapped",[4386]],[[12661,12661],"mapped",[4387]],[[12662,12662],"mapped",[4391]],[[12663,12663],"mapped",[4393]],[[12664,12664],"mapped",[4395]],[[12665,12665],"mapped",[4396]],[[12666,12666],"mapped",[4397]],[[12667,12667],"mapped",[4398]],[[12668,12668],"mapped",[4399]],[[12669,12669],"mapped",[4402]],[[12670,12670],"mapped",[4406]],[[12671,12671],"mapped",[4416]],[[12672,12672],"mapped",[4423]],[[12673,12673],"mapped",[4428]],[[12674,12674],"mapped",[4593]],[[12675,12675],"mapped",[4594]],[[12676,12676],"mapped",[4439]],[[12677,12677],"mapped",[4440]],[[12678,12678],"mapped",[4441]],[[12679,12679],"mapped",[4484]],[[12680,12680],"mapped",[4485]],[[12681,12681],"mapped",[4488]],[[12682,12682],"mapped",[4497]],[[12683,12683],"mapped",[4498]],[[12684,12684],"mapped",[4500]],[[12685,12685],"mapped",[4510]],[[12686,12686],"mapped",[4513]],[[12687,12687],"disallowed"],[[12688,12689],"valid",[],"NV8"],[[12690,12690],"mapped",[19968]],[[12691,12691],"mapped",[20108]],[[12692,12692],"mapped",[19977]],[[12693,12693],"mapped",[22235]],[[12694,12694],"mapped",[19978]],[[12695,12695],"mapped",[20013]],[[12696,12696],"mapped",[19979]],[[12697,12697],"mapped",[30002]],[[12698,12698],"mapped",[20057]],[[12699,12699],"mapped",[19993]],[[12700,12700],"mapped",[19969]],[[12701,12701],"mapped",[22825]],[[12702,12702],"mapped",[22320]],[[12703,12703],"mapped",[20154]],[[12704,12727],"valid"],[[12728,12730],"valid"],[[12731,12735],"disallowed"],[[12736,12751],"valid",[],"NV8"],[[12752,12771],"valid",[],"NV8"],[[12772,12783],"disallowed"],[[12784,12799],"valid"],[[12800,12800],"disallowed_STD3_mapped",[40,4352,41]],[[12801,12801],"disallowed_STD3_mapped",[40,4354,41]],[[12802,12802],"disallowed_STD3_mapped",[40,4355,41]],[[12803,12803],"disallowed_STD3_mapped",[40,4357,41]],[[12804,12804],"disallowed_STD3_mapped",[40,4358,41]],[[12805,12805],"disallowed_STD3_mapped",[40,4359,41]],[[12806,12806],"disallowed_STD3_mapped",[40,4361,41]],[[12807,12807],"disallowed_STD3_mapped",[40,4363,41]],[[12808,12808],"disallowed_STD3_mapped",[40,4364,41]],[[12809,12809],"disallowed_STD3_mapped",[40,4366,41]],[[12810,12810],"disallowed_STD3_mapped",[40,4367,41]],[[12811,12811],"disallowed_STD3_mapped",[40,4368,41]],[[12812,12812],"disallowed_STD3_mapped",[40,4369,41]],[[12813,12813],"disallowed_STD3_mapped",[40,4370,41]],[[12814,12814],"disallowed_STD3_mapped",[40,44032,41]],[[12815,12815],"disallowed_STD3_mapped",[40,45208,41]],[[12816,12816],"disallowed_STD3_mapped",[40,45796,41]],[[12817,12817],"disallowed_STD3_mapped",[40,46972,41]],[[12818,12818],"disallowed_STD3_mapped",[40,47560,41]],[[12819,12819],"disallowed_STD3_mapped",[40,48148,41]],[[12820,12820],"disallowed_STD3_mapped",[40,49324,41]],[[12821,12821],"disallowed_STD3_mapped",[40,50500,41]],[[12822,12822],"disallowed_STD3_mapped",[40,51088,41]],[[12823,12823],"disallowed_STD3_mapped",[40,52264,41]],[[12824,12824],"disallowed_STD3_mapped",[40,52852,41]],[[12825,12825],"disallowed_STD3_mapped",[40,53440,41]],[[12826,12826],"disallowed_STD3_mapped",[40,54028,41]],[[12827,12827],"disallowed_STD3_mapped",[40,54616,41]],[[12828,12828],"disallowed_STD3_mapped",[40,51452,41]],[[12829,12829],"disallowed_STD3_mapped",[40,50724,51204,41]],[[12830,12830],"disallowed_STD3_mapped",[40,50724,54980,41]],[[12831,12831],"disallowed"],[[12832,12832],"disallowed_STD3_mapped",[40,19968,41]],[[12833,12833],"disallowed_STD3_mapped",[40,20108,41]],[[12834,12834],"disallowed_STD3_mapped",[40,19977,41]],[[12835,12835],"disallowed_STD3_mapped",[40,22235,41]],[[12836,12836],"disallowed_STD3_mapped",[40,20116,41]],[[12837,12837],"disallowed_STD3_mapped",[40,20845,41]],[[12838,12838],"disallowed_STD3_mapped",[40,19971,41]],[[12839,12839],"disallowed_STD3_mapped",[40,20843,41]],[[12840,12840],"disallowed_STD3_mapped",[40,20061,41]],[[12841,12841],"disallowed_STD3_mapped",[40,21313,41]],[[12842,12842],"disallowed_STD3_mapped",[40,26376,41]],[[12843,12843],"disallowed_STD3_mapped",[40,28779,41]],[[12844,12844],"disallowed_STD3_mapped",[40,27700,41]],[[12845,12845],"disallowed_STD3_mapped",[40,26408,41]],[[12846,12846],"disallowed_STD3_mapped",[40,37329,41]],[[12847,12847],"disallowed_STD3_mapped",[40,22303,41]],[[12848,12848],"disallowed_STD3_mapped",[40,26085,41]],[[12849,12849],"disallowed_STD3_mapped",[40,26666,41]],[[12850,12850],"disallowed_STD3_mapped",[40,26377,41]],[[12851,12851],"disallowed_STD3_mapped",[40,31038,41]],[[12852,12852],"disallowed_STD3_mapped",[40,21517,41]],[[12853,12853],"disallowed_STD3_mapped",[40,29305,41]],[[12854,12854],"disallowed_STD3_mapped",[40,36001,41]],[[12855,12855],"disallowed_STD3_mapped",[40,31069,41]],[[12856,12856],"disallowed_STD3_mapped",[40,21172,41]],[[12857,12857],"disallowed_STD3_mapped",[40,20195,41]],[[12858,12858],"disallowed_STD3_mapped",[40,21628,41]],[[12859,12859],"disallowed_STD3_mapped",[40,23398,41]],[[12860,12860],"disallowed_STD3_mapped",[40,30435,41]],[[12861,12861],"disallowed_STD3_mapped",[40,20225,41]],[[12862,12862],"disallowed_STD3_mapped",[40,36039,41]],[[12863,12863],"disallowed_STD3_mapped",[40,21332,41]],[[12864,12864],"disallowed_STD3_mapped",[40,31085,41]],[[12865,12865],"disallowed_STD3_mapped",[40,20241,41]],[[12866,12866],"disallowed_STD3_mapped",[40,33258,41]],[[12867,12867],"disallowed_STD3_mapped",[40,33267,41]],[[12868,12868],"mapped",[21839]],[[12869,12869],"mapped",[24188]],[[12870,12870],"mapped",[25991]],[[12871,12871],"mapped",[31631]],[[12872,12879],"valid",[],"NV8"],[[12880,12880],"mapped",[112,116,101]],[[12881,12881],"mapped",[50,49]],[[12882,12882],"mapped",[50,50]],[[12883,12883],"mapped",[50,51]],[[12884,12884],"mapped",[50,52]],[[12885,12885],"mapped",[50,53]],[[12886,12886],"mapped",[50,54]],[[12887,12887],"mapped",[50,55]],[[12888,12888],"mapped",[50,56]],[[12889,12889],"mapped",[50,57]],[[12890,12890],"mapped",[51,48]],[[12891,12891],"mapped",[51,49]],[[12892,12892],"mapped",[51,50]],[[12893,12893],"mapped",[51,51]],[[12894,12894],"mapped",[51,52]],[[12895,12895],"mapped",[51,53]],[[12896,12896],"mapped",[4352]],[[12897,12897],"mapped",[4354]],[[12898,12898],"mapped",[4355]],[[12899,12899],"mapped",[4357]],[[12900,12900],"mapped",[4358]],[[12901,12901],"mapped",[4359]],[[12902,12902],"mapped",[4361]],[[12903,12903],"mapped",[4363]],[[12904,12904],"mapped",[4364]],[[12905,12905],"mapped",[4366]],[[12906,12906],"mapped",[4367]],[[12907,12907],"mapped",[4368]],[[12908,12908],"mapped",[4369]],[[12909,12909],"mapped",[4370]],[[12910,12910],"mapped",[44032]],[[12911,12911],"mapped",[45208]],[[12912,12912],"mapped",[45796]],[[12913,12913],"mapped",[46972]],[[12914,12914],"mapped",[47560]],[[12915,12915],"mapped",[48148]],[[12916,12916],"mapped",[49324]],[[12917,12917],"mapped",[50500]],[[12918,12918],"mapped",[51088]],[[12919,12919],"mapped",[52264]],[[12920,12920],"mapped",[52852]],[[12921,12921],"mapped",[53440]],[[12922,12922],"mapped",[54028]],[[12923,12923],"mapped",[54616]],[[12924,12924],"mapped",[52280,44256]],[[12925,12925],"mapped",[51452,51032]],[[12926,12926],"mapped",[50864]],[[12927,12927],"valid",[],"NV8"],[[12928,12928],"mapped",[19968]],[[12929,12929],"mapped",[20108]],[[12930,12930],"mapped",[19977]],[[12931,12931],"mapped",[22235]],[[12932,12932],"mapped",[20116]],[[12933,12933],"mapped",[20845]],[[12934,12934],"mapped",[19971]],[[12935,12935],"mapped",[20843]],[[12936,12936],"mapped",[20061]],[[12937,12937],"mapped",[21313]],[[12938,12938],"mapped",[26376]],[[12939,12939],"mapped",[28779]],[[12940,12940],"mapped",[27700]],[[12941,12941],"mapped",[26408]],[[12942,12942],"mapped",[37329]],[[12943,12943],"mapped",[22303]],[[12944,12944],"mapped",[26085]],[[12945,12945],"mapped",[26666]],[[12946,12946],"mapped",[26377]],[[12947,12947],"mapped",[31038]],[[12948,12948],"mapped",[21517]],[[12949,12949],"mapped",[29305]],[[12950,12950],"mapped",[36001]],[[12951,12951],"mapped",[31069]],[[12952,12952],"mapped",[21172]],[[12953,12953],"mapped",[31192]],[[12954,12954],"mapped",[30007]],[[12955,12955],"mapped",[22899]],[[12956,12956],"mapped",[36969]],[[12957,12957],"mapped",[20778]],[[12958,12958],"mapped",[21360]],[[12959,12959],"mapped",[27880]],[[12960,12960],"mapped",[38917]],[[12961,12961],"mapped",[20241]],[[12962,12962],"mapped",[20889]],[[12963,12963],"mapped",[27491]],[[12964,12964],"mapped",[19978]],[[12965,12965],"mapped",[20013]],[[12966,12966],"mapped",[19979]],[[12967,12967],"mapped",[24038]],[[12968,12968],"mapped",[21491]],[[12969,12969],"mapped",[21307]],[[12970,12970],"mapped",[23447]],[[12971,12971],"mapped",[23398]],[[12972,12972],"mapped",[30435]],[[12973,12973],"mapped",[20225]],[[12974,12974],"mapped",[36039]],[[12975,12975],"mapped",[21332]],[[12976,12976],"mapped",[22812]],[[12977,12977],"mapped",[51,54]],[[12978,12978],"mapped",[51,55]],[[12979,12979],"mapped",[51,56]],[[12980,12980],"mapped",[51,57]],[[12981,12981],"mapped",[52,48]],[[12982,12982],"mapped",[52,49]],[[12983,12983],"mapped",[52,50]],[[12984,12984],"mapped",[52,51]],[[12985,12985],"mapped",[52,52]],[[12986,12986],"mapped",[52,53]],[[12987,12987],"mapped",[52,54]],[[12988,12988],"mapped",[52,55]],[[12989,12989],"mapped",[52,56]],[[12990,12990],"mapped",[52,57]],[[12991,12991],"mapped",[53,48]],[[12992,12992],"mapped",[49,26376]],[[12993,12993],"mapped",[50,26376]],[[12994,12994],"mapped",[51,26376]],[[12995,12995],"mapped",[52,26376]],[[12996,12996],"mapped",[53,26376]],[[12997,12997],"mapped",[54,26376]],[[12998,12998],"mapped",[55,26376]],[[12999,12999],"mapped",[56,26376]],[[13000,13000],"mapped",[57,26376]],[[13001,13001],"mapped",[49,48,26376]],[[13002,13002],"mapped",[49,49,26376]],[[13003,13003],"mapped",[49,50,26376]],[[13004,13004],"mapped",[104,103]],[[13005,13005],"mapped",[101,114,103]],[[13006,13006],"mapped",[101,118]],[[13007,13007],"mapped",[108,116,100]],[[13008,13008],"mapped",[12450]],[[13009,13009],"mapped",[12452]],[[13010,13010],"mapped",[12454]],[[13011,13011],"mapped",[12456]],[[13012,13012],"mapped",[12458]],[[13013,13013],"mapped",[12459]],[[13014,13014],"mapped",[12461]],[[13015,13015],"mapped",[12463]],[[13016,13016],"mapped",[12465]],[[13017,13017],"mapped",[12467]],[[13018,13018],"mapped",[12469]],[[13019,13019],"mapped",[12471]],[[13020,13020],"mapped",[12473]],[[13021,13021],"mapped",[12475]],[[13022,13022],"mapped",[12477]],[[13023,13023],"mapped",[12479]],[[13024,13024],"mapped",[12481]],[[13025,13025],"mapped",[12484]],[[13026,13026],"mapped",[12486]],[[13027,13027],"mapped",[12488]],[[13028,13028],"mapped",[12490]],[[13029,13029],"mapped",[12491]],[[13030,13030],"mapped",[12492]],[[13031,13031],"mapped",[12493]],[[13032,13032],"mapped",[12494]],[[13033,13033],"mapped",[12495]],[[13034,13034],"mapped",[12498]],[[13035,13035],"mapped",[12501]],[[13036,13036],"mapped",[12504]],[[13037,13037],"mapped",[12507]],[[13038,13038],"mapped",[12510]],[[13039,13039],"mapped",[12511]],[[13040,13040],"mapped",[12512]],[[13041,13041],"mapped",[12513]],[[13042,13042],"mapped",[12514]],[[13043,13043],"mapped",[12516]],[[13044,13044],"mapped",[12518]],[[13045,13045],"mapped",[12520]],[[13046,13046],"mapped",[12521]],[[13047,13047],"mapped",[12522]],[[13048,13048],"mapped",[12523]],[[13049,13049],"mapped",[12524]],[[13050,13050],"mapped",[12525]],[[13051,13051],"mapped",[12527]],[[13052,13052],"mapped",[12528]],[[13053,13053],"mapped",[12529]],[[13054,13054],"mapped",[12530]],[[13055,13055],"disallowed"],[[13056,13056],"mapped",[12450,12497,12540,12488]],[[13057,13057],"mapped",[12450,12523,12501,12449]],[[13058,13058],"mapped",[12450,12531,12506,12450]],[[13059,13059],"mapped",[12450,12540,12523]],[[13060,13060],"mapped",[12452,12491,12531,12464]],[[13061,13061],"mapped",[12452,12531,12481]],[[13062,13062],"mapped",[12454,12457,12531]],[[13063,13063],"mapped",[12456,12473,12463,12540,12489]],[[13064,13064],"mapped",[12456,12540,12459,12540]],[[13065,13065],"mapped",[12458,12531,12473]],[[13066,13066],"mapped",[12458,12540,12512]],[[13067,13067],"mapped",[12459,12452,12522]],[[13068,13068],"mapped",[12459,12521,12483,12488]],[[13069,13069],"mapped",[12459,12525,12522,12540]],[[13070,13070],"mapped",[12460,12525,12531]],[[13071,13071],"mapped",[12460,12531,12510]],[[13072,13072],"mapped",[12462,12460]],[[13073,13073],"mapped",[12462,12491,12540]],[[13074,13074],"mapped",[12461,12517,12522,12540]],[[13075,13075],"mapped",[12462,12523,12480,12540]],[[13076,13076],"mapped",[12461,12525]],[[13077,13077],"mapped",[12461,12525,12464,12521,12512]],[[13078,13078],"mapped",[12461,12525,12513,12540,12488,12523]],[[13079,13079],"mapped",[12461,12525,12527,12483,12488]],[[13080,13080],"mapped",[12464,12521,12512]],[[13081,13081],"mapped",[12464,12521,12512,12488,12531]],[[13082,13082],"mapped",[12463,12523,12476,12452,12525]],[[13083,13083],"mapped",[12463,12525,12540,12493]],[[13084,13084],"mapped",[12465,12540,12473]],[[13085,13085],"mapped",[12467,12523,12490]],[[13086,13086],"mapped",[12467,12540,12509]],[[13087,13087],"mapped",[12469,12452,12463,12523]],[[13088,13088],"mapped",[12469,12531,12481,12540,12512]],[[13089,13089],"mapped",[12471,12522,12531,12464]],[[13090,13090],"mapped",[12475,12531,12481]],[[13091,13091],"mapped",[12475,12531,12488]],[[13092,13092],"mapped",[12480,12540,12473]],[[13093,13093],"mapped",[12487,12471]],[[13094,13094],"mapped",[12489,12523]],[[13095,13095],"mapped",[12488,12531]],[[13096,13096],"mapped",[12490,12494]],[[13097,13097],"mapped",[12494,12483,12488]],[[13098,13098],"mapped",[12495,12452,12484]],[[13099,13099],"mapped",[12497,12540,12475,12531,12488]],[[13100,13100],"mapped",[12497,12540,12484]],[[13101,13101],"mapped",[12496,12540,12524,12523]],[[13102,13102],"mapped",[12500,12450,12473,12488,12523]],[[13103,13103],"mapped",[12500,12463,12523]],[[13104,13104],"mapped",[12500,12467]],[[13105,13105],"mapped",[12499,12523]],[[13106,13106],"mapped",[12501,12449,12521,12483,12489]],[[13107,13107],"mapped",[12501,12451,12540,12488]],[[13108,13108],"mapped",[12502,12483,12471,12455,12523]],[[13109,13109],"mapped",[12501,12521,12531]],[[13110,13110],"mapped",[12504,12463,12479,12540,12523]],[[13111,13111],"mapped",[12506,12477]],[[13112,13112],"mapped",[12506,12491,12498]],[[13113,13113],"mapped",[12504,12523,12484]],[[13114,13114],"mapped",[12506,12531,12473]],[[13115,13115],"mapped",[12506,12540,12472]],[[13116,13116],"mapped",[12505,12540,12479]],[[13117,13117],"mapped",[12509,12452,12531,12488]],[[13118,13118],"mapped",[12508,12523,12488]],[[13119,13119],"mapped",[12507,12531]],[[13120,13120],"mapped",[12509,12531,12489]],[[13121,13121],"mapped",[12507,12540,12523]],[[13122,13122],"mapped",[12507,12540,12531]],[[13123,13123],"mapped",[12510,12452,12463,12525]],[[13124,13124],"mapped",[12510,12452,12523]],[[13125,13125],"mapped",[12510,12483,12495]],[[13126,13126],"mapped",[12510,12523,12463]],[[13127,13127],"mapped",[12510,12531,12471,12519,12531]],[[13128,13128],"mapped",[12511,12463,12525,12531]],[[13129,13129],"mapped",[12511,12522]],[[13130,13130],"mapped",[12511,12522,12496,12540,12523]],[[13131,13131],"mapped",[12513,12460]],[[13132,13132],"mapped",[12513,12460,12488,12531]],[[13133,13133],"mapped",[12513,12540,12488,12523]],[[13134,13134],"mapped",[12516,12540,12489]],[[13135,13135],"mapped",[12516,12540,12523]],[[13136,13136],"mapped",[12518,12450,12531]],[[13137,13137],"mapped",[12522,12483,12488,12523]],[[13138,13138],"mapped",[12522,12521]],[[13139,13139],"mapped",[12523,12500,12540]],[[13140,13140],"mapped",[12523,12540,12502,12523]],[[13141,13141],"mapped",[12524,12512]],[[13142,13142],"mapped",[12524,12531,12488,12466,12531]],[[13143,13143],"mapped",[12527,12483,12488]],[[13144,13144],"mapped",[48,28857]],[[13145,13145],"mapped",[49,28857]],[[13146,13146],"mapped",[50,28857]],[[13147,13147],"mapped",[51,28857]],[[13148,13148],"mapped",[52,28857]],[[13149,13149],"mapped",[53,28857]],[[13150,13150],"mapped",[54,28857]],[[13151,13151],"mapped",[55,28857]],[[13152,13152],"mapped",[56,28857]],[[13153,13153],"mapped",[57,28857]],[[13154,13154],"mapped",[49,48,28857]],[[13155,13155],"mapped",[49,49,28857]],[[13156,13156],"mapped",[49,50,28857]],[[13157,13157],"mapped",[49,51,28857]],[[13158,13158],"mapped",[49,52,28857]],[[13159,13159],"mapped",[49,53,28857]],[[13160,13160],"mapped",[49,54,28857]],[[13161,13161],"mapped",[49,55,28857]],[[13162,13162],"mapped",[49,56,28857]],[[13163,13163],"mapped",[49,57,28857]],[[13164,13164],"mapped",[50,48,28857]],[[13165,13165],"mapped",[50,49,28857]],[[13166,13166],"mapped",[50,50,28857]],[[13167,13167],"mapped",[50,51,28857]],[[13168,13168],"mapped",[50,52,28857]],[[13169,13169],"mapped",[104,112,97]],[[13170,13170],"mapped",[100,97]],[[13171,13171],"mapped",[97,117]],[[13172,13172],"mapped",[98,97,114]],[[13173,13173],"mapped",[111,118]],[[13174,13174],"mapped",[112,99]],[[13175,13175],"mapped",[100,109]],[[13176,13176],"mapped",[100,109,50]],[[13177,13177],"mapped",[100,109,51]],[[13178,13178],"mapped",[105,117]],[[13179,13179],"mapped",[24179,25104]],[[13180,13180],"mapped",[26157,21644]],[[13181,13181],"mapped",[22823,27491]],[[13182,13182],"mapped",[26126,27835]],[[13183,13183],"mapped",[26666,24335,20250,31038]],[[13184,13184],"mapped",[112,97]],[[13185,13185],"mapped",[110,97]],[[13186,13186],"mapped",[956,97]],[[13187,13187],"mapped",[109,97]],[[13188,13188],"mapped",[107,97]],[[13189,13189],"mapped",[107,98]],[[13190,13190],"mapped",[109,98]],[[13191,13191],"mapped",[103,98]],[[13192,13192],"mapped",[99,97,108]],[[13193,13193],"mapped",[107,99,97,108]],[[13194,13194],"mapped",[112,102]],[[13195,13195],"mapped",[110,102]],[[13196,13196],"mapped",[956,102]],[[13197,13197],"mapped",[956,103]],[[13198,13198],"mapped",[109,103]],[[13199,13199],"mapped",[107,103]],[[13200,13200],"mapped",[104,122]],[[13201,13201],"mapped",[107,104,122]],[[13202,13202],"mapped",[109,104,122]],[[13203,13203],"mapped",[103,104,122]],[[13204,13204],"mapped",[116,104,122]],[[13205,13205],"mapped",[956,108]],[[13206,13206],"mapped",[109,108]],[[13207,13207],"mapped",[100,108]],[[13208,13208],"mapped",[107,108]],[[13209,13209],"mapped",[102,109]],[[13210,13210],"mapped",[110,109]],[[13211,13211],"mapped",[956,109]],[[13212,13212],"mapped",[109,109]],[[13213,13213],"mapped",[99,109]],[[13214,13214],"mapped",[107,109]],[[13215,13215],"mapped",[109,109,50]],[[13216,13216],"mapped",[99,109,50]],[[13217,13217],"mapped",[109,50]],[[13218,13218],"mapped",[107,109,50]],[[13219,13219],"mapped",[109,109,51]],[[13220,13220],"mapped",[99,109,51]],[[13221,13221],"mapped",[109,51]],[[13222,13222],"mapped",[107,109,51]],[[13223,13223],"mapped",[109,8725,115]],[[13224,13224],"mapped",[109,8725,115,50]],[[13225,13225],"mapped",[112,97]],[[13226,13226],"mapped",[107,112,97]],[[13227,13227],"mapped",[109,112,97]],[[13228,13228],"mapped",[103,112,97]],[[13229,13229],"mapped",[114,97,100]],[[13230,13230],"mapped",[114,97,100,8725,115]],[[13231,13231],"mapped",[114,97,100,8725,115,50]],[[13232,13232],"mapped",[112,115]],[[13233,13233],"mapped",[110,115]],[[13234,13234],"mapped",[956,115]],[[13235,13235],"mapped",[109,115]],[[13236,13236],"mapped",[112,118]],[[13237,13237],"mapped",[110,118]],[[13238,13238],"mapped",[956,118]],[[13239,13239],"mapped",[109,118]],[[13240,13240],"mapped",[107,118]],[[13241,13241],"mapped",[109,118]],[[13242,13242],"mapped",[112,119]],[[13243,13243],"mapped",[110,119]],[[13244,13244],"mapped",[956,119]],[[13245,13245],"mapped",[109,119]],[[13246,13246],"mapped",[107,119]],[[13247,13247],"mapped",[109,119]],[[13248,13248],"mapped",[107,969]],[[13249,13249],"mapped",[109,969]],[[13250,13250],"disallowed"],[[13251,13251],"mapped",[98,113]],[[13252,13252],"mapped",[99,99]],[[13253,13253],"mapped",[99,100]],[[13254,13254],"mapped",[99,8725,107,103]],[[13255,13255],"disallowed"],[[13256,13256],"mapped",[100,98]],[[13257,13257],"mapped",[103,121]],[[13258,13258],"mapped",[104,97]],[[13259,13259],"mapped",[104,112]],[[13260,13260],"mapped",[105,110]],[[13261,13261],"mapped",[107,107]],[[13262,13262],"mapped",[107,109]],[[13263,13263],"mapped",[107,116]],[[13264,13264],"mapped",[108,109]],[[13265,13265],"mapped",[108,110]],[[13266,13266],"mapped",[108,111,103]],[[13267,13267],"mapped",[108,120]],[[13268,13268],"mapped",[109,98]],[[13269,13269],"mapped",[109,105,108]],[[13270,13270],"mapped",[109,111,108]],[[13271,13271],"mapped",[112,104]],[[13272,13272],"disallowed"],[[13273,13273],"mapped",[112,112,109]],[[13274,13274],"mapped",[112,114]],[[13275,13275],"mapped",[115,114]],[[13276,13276],"mapped",[115,118]],[[13277,13277],"mapped",[119,98]],[[13278,13278],"mapped",[118,8725,109]],[[13279,13279],"mapped",[97,8725,109]],[[13280,13280],"mapped",[49,26085]],[[13281,13281],"mapped",[50,26085]],[[13282,13282],"mapped",[51,26085]],[[13283,13283],"mapped",[52,26085]],[[13284,13284],"mapped",[53,26085]],[[13285,13285],"mapped",[54,26085]],[[13286,13286],"mapped",[55,26085]],[[13287,13287],"mapped",[56,26085]],[[13288,13288],"mapped",[57,26085]],[[13289,13289],"mapped",[49,48,26085]],[[13290,13290],"mapped",[49,49,26085]],[[13291,13291],"mapped",[49,50,26085]],[[13292,13292],"mapped",[49,51,26085]],[[13293,13293],"mapped",[49,52,26085]],[[13294,13294],"mapped",[49,53,26085]],[[13295,13295],"mapped",[49,54,26085]],[[13296,13296],"mapped",[49,55,26085]],[[13297,13297],"mapped",[49,56,26085]],[[13298,13298],"mapped",[49,57,26085]],[[13299,13299],"mapped",[50,48,26085]],[[13300,13300],"mapped",[50,49,26085]],[[13301,13301],"mapped",[50,50,26085]],[[13302,13302],"mapped",[50,51,26085]],[[13303,13303],"mapped",[50,52,26085]],[[13304,13304],"mapped",[50,53,26085]],[[13305,13305],"mapped",[50,54,26085]],[[13306,13306],"mapped",[50,55,26085]],[[13307,13307],"mapped",[50,56,26085]],[[13308,13308],"mapped",[50,57,26085]],[[13309,13309],"mapped",[51,48,26085]],[[13310,13310],"mapped",[51,49,26085]],[[13311,13311],"mapped",[103,97,108]],[[13312,19893],"valid"],[[19894,19903],"disallowed"],[[19904,19967],"valid",[],"NV8"],[[19968,40869],"valid"],[[40870,40891],"valid"],[[40892,40899],"valid"],[[40900,40907],"valid"],[[40908,40908],"valid"],[[40909,40917],"valid"],[[40918,40959],"disallowed"],[[40960,42124],"valid"],[[42125,42127],"disallowed"],[[42128,42145],"valid",[],"NV8"],[[42146,42147],"valid",[],"NV8"],[[42148,42163],"valid",[],"NV8"],[[42164,42164],"valid",[],"NV8"],[[42165,42176],"valid",[],"NV8"],[[42177,42177],"valid",[],"NV8"],[[42178,42180],"valid",[],"NV8"],[[42181,42181],"valid",[],"NV8"],[[42182,42182],"valid",[],"NV8"],[[42183,42191],"disallowed"],[[42192,42237],"valid"],[[42238,42239],"valid",[],"NV8"],[[42240,42508],"valid"],[[42509,42511],"valid",[],"NV8"],[[42512,42539],"valid"],[[42540,42559],"disallowed"],[[42560,42560],"mapped",[42561]],[[42561,42561],"valid"],[[42562,42562],"mapped",[42563]],[[42563,42563],"valid"],[[42564,42564],"mapped",[42565]],[[42565,42565],"valid"],[[42566,42566],"mapped",[42567]],[[42567,42567],"valid"],[[42568,42568],"mapped",[42569]],[[42569,42569],"valid"],[[42570,42570],"mapped",[42571]],[[42571,42571],"valid"],[[42572,42572],"mapped",[42573]],[[42573,42573],"valid"],[[42574,42574],"mapped",[42575]],[[42575,42575],"valid"],[[42576,42576],"mapped",[42577]],[[42577,42577],"valid"],[[42578,42578],"mapped",[42579]],[[42579,42579],"valid"],[[42580,42580],"mapped",[42581]],[[42581,42581],"valid"],[[42582,42582],"mapped",[42583]],[[42583,42583],"valid"],[[42584,42584],"mapped",[42585]],[[42585,42585],"valid"],[[42586,42586],"mapped",[42587]],[[42587,42587],"valid"],[[42588,42588],"mapped",[42589]],[[42589,42589],"valid"],[[42590,42590],"mapped",[42591]],[[42591,42591],"valid"],[[42592,42592],"mapped",[42593]],[[42593,42593],"valid"],[[42594,42594],"mapped",[42595]],[[42595,42595],"valid"],[[42596,42596],"mapped",[42597]],[[42597,42597],"valid"],[[42598,42598],"mapped",[42599]],[[42599,42599],"valid"],[[42600,42600],"mapped",[42601]],[[42601,42601],"valid"],[[42602,42602],"mapped",[42603]],[[42603,42603],"valid"],[[42604,42604],"mapped",[42605]],[[42605,42607],"valid"],[[42608,42611],"valid",[],"NV8"],[[42612,42619],"valid"],[[42620,42621],"valid"],[[42622,42622],"valid",[],"NV8"],[[42623,42623],"valid"],[[42624,42624],"mapped",[42625]],[[42625,42625],"valid"],[[42626,42626],"mapped",[42627]],[[42627,42627],"valid"],[[42628,42628],"mapped",[42629]],[[42629,42629],"valid"],[[42630,42630],"mapped",[42631]],[[42631,42631],"valid"],[[42632,42632],"mapped",[42633]],[[42633,42633],"valid"],[[42634,42634],"mapped",[42635]],[[42635,42635],"valid"],[[42636,42636],"mapped",[42637]],[[42637,42637],"valid"],[[42638,42638],"mapped",[42639]],[[42639,42639],"valid"],[[42640,42640],"mapped",[42641]],[[42641,42641],"valid"],[[42642,42642],"mapped",[42643]],[[42643,42643],"valid"],[[42644,42644],"mapped",[42645]],[[42645,42645],"valid"],[[42646,42646],"mapped",[42647]],[[42647,42647],"valid"],[[42648,42648],"mapped",[42649]],[[42649,42649],"valid"],[[42650,42650],"mapped",[42651]],[[42651,42651],"valid"],[[42652,42652],"mapped",[1098]],[[42653,42653],"mapped",[1100]],[[42654,42654],"valid"],[[42655,42655],"valid"],[[42656,42725],"valid"],[[42726,42735],"valid",[],"NV8"],[[42736,42737],"valid"],[[42738,42743],"valid",[],"NV8"],[[42744,42751],"disallowed"],[[42752,42774],"valid",[],"NV8"],[[42775,42778],"valid"],[[42779,42783],"valid"],[[42784,42785],"valid",[],"NV8"],[[42786,42786],"mapped",[42787]],[[42787,42787],"valid"],[[42788,42788],"mapped",[42789]],[[42789,42789],"valid"],[[42790,42790],"mapped",[42791]],[[42791,42791],"valid"],[[42792,42792],"mapped",[42793]],[[42793,42793],"valid"],[[42794,42794],"mapped",[42795]],[[42795,42795],"valid"],[[42796,42796],"mapped",[42797]],[[42797,42797],"valid"],[[42798,42798],"mapped",[42799]],[[42799,42801],"valid"],[[42802,42802],"mapped",[42803]],[[42803,42803],"valid"],[[42804,42804],"mapped",[42805]],[[42805,42805],"valid"],[[42806,42806],"mapped",[42807]],[[42807,42807],"valid"],[[42808,42808],"mapped",[42809]],[[42809,42809],"valid"],[[42810,42810],"mapped",[42811]],[[42811,42811],"valid"],[[42812,42812],"mapped",[42813]],[[42813,42813],"valid"],[[42814,42814],"mapped",[42815]],[[42815,42815],"valid"],[[42816,42816],"mapped",[42817]],[[42817,42817],"valid"],[[42818,42818],"mapped",[42819]],[[42819,42819],"valid"],[[42820,42820],"mapped",[42821]],[[42821,42821],"valid"],[[42822,42822],"mapped",[42823]],[[42823,42823],"valid"],[[42824,42824],"mapped",[42825]],[[42825,42825],"valid"],[[42826,42826],"mapped",[42827]],[[42827,42827],"valid"],[[42828,42828],"mapped",[42829]],[[42829,42829],"valid"],[[42830,42830],"mapped",[42831]],[[42831,42831],"valid"],[[42832,42832],"mapped",[42833]],[[42833,42833],"valid"],[[42834,42834],"mapped",[42835]],[[42835,42835],"valid"],[[42836,42836],"mapped",[42837]],[[42837,42837],"valid"],[[42838,42838],"mapped",[42839]],[[42839,42839],"valid"],[[42840,42840],"mapped",[42841]],[[42841,42841],"valid"],[[42842,42842],"mapped",[42843]],[[42843,42843],"valid"],[[42844,42844],"mapped",[42845]],[[42845,42845],"valid"],[[42846,42846],"mapped",[42847]],[[42847,42847],"valid"],[[42848,42848],"mapped",[42849]],[[42849,42849],"valid"],[[42850,42850],"mapped",[42851]],[[42851,42851],"valid"],[[42852,42852],"mapped",[42853]],[[42853,42853],"valid"],[[42854,42854],"mapped",[42855]],[[42855,42855],"valid"],[[42856,42856],"mapped",[42857]],[[42857,42857],"valid"],[[42858,42858],"mapped",[42859]],[[42859,42859],"valid"],[[42860,42860],"mapped",[42861]],[[42861,42861],"valid"],[[42862,42862],"mapped",[42863]],[[42863,42863],"valid"],[[42864,42864],"mapped",[42863]],[[42865,42872],"valid"],[[42873,42873],"mapped",[42874]],[[42874,42874],"valid"],[[42875,42875],"mapped",[42876]],[[42876,42876],"valid"],[[42877,42877],"mapped",[7545]],[[42878,42878],"mapped",[42879]],[[42879,42879],"valid"],[[42880,42880],"mapped",[42881]],[[42881,42881],"valid"],[[42882,42882],"mapped",[42883]],[[42883,42883],"valid"],[[42884,42884],"mapped",[42885]],[[42885,42885],"valid"],[[42886,42886],"mapped",[42887]],[[42887,42888],"valid"],[[42889,42890],"valid",[],"NV8"],[[42891,42891],"mapped",[42892]],[[42892,42892],"valid"],[[42893,42893],"mapped",[613]],[[42894,42894],"valid"],[[42895,42895],"valid"],[[42896,42896],"mapped",[42897]],[[42897,42897],"valid"],[[42898,42898],"mapped",[42899]],[[42899,42899],"valid"],[[42900,42901],"valid"],[[42902,42902],"mapped",[42903]],[[42903,42903],"valid"],[[42904,42904],"mapped",[42905]],[[42905,42905],"valid"],[[42906,42906],"mapped",[42907]],[[42907,42907],"valid"],[[42908,42908],"mapped",[42909]],[[42909,42909],"valid"],[[42910,42910],"mapped",[42911]],[[42911,42911],"valid"],[[42912,42912],"mapped",[42913]],[[42913,42913],"valid"],[[42914,42914],"mapped",[42915]],[[42915,42915],"valid"],[[42916,42916],"mapped",[42917]],[[42917,42917],"valid"],[[42918,42918],"mapped",[42919]],[[42919,42919],"valid"],[[42920,42920],"mapped",[42921]],[[42921,42921],"valid"],[[42922,42922],"mapped",[614]],[[42923,42923],"mapped",[604]],[[42924,42924],"mapped",[609]],[[42925,42925],"mapped",[620]],[[42926,42927],"disallowed"],[[42928,42928],"mapped",[670]],[[42929,42929],"mapped",[647]],[[42930,42930],"mapped",[669]],[[42931,42931],"mapped",[43859]],[[42932,42932],"mapped",[42933]],[[42933,42933],"valid"],[[42934,42934],"mapped",[42935]],[[42935,42935],"valid"],[[42936,42998],"disallowed"],[[42999,42999],"valid"],[[43000,43000],"mapped",[295]],[[43001,43001],"mapped",[339]],[[43002,43002],"valid"],[[43003,43007],"valid"],[[43008,43047],"valid"],[[43048,43051],"valid",[],"NV8"],[[43052,43055],"disallowed"],[[43056,43065],"valid",[],"NV8"],[[43066,43071],"disallowed"],[[43072,43123],"valid"],[[43124,43127],"valid",[],"NV8"],[[43128,43135],"disallowed"],[[43136,43204],"valid"],[[43205,43213],"disallowed"],[[43214,43215],"valid",[],"NV8"],[[43216,43225],"valid"],[[43226,43231],"disallowed"],[[43232,43255],"valid"],[[43256,43258],"valid",[],"NV8"],[[43259,43259],"valid"],[[43260,43260],"valid",[],"NV8"],[[43261,43261],"valid"],[[43262,43263],"disallowed"],[[43264,43309],"valid"],[[43310,43311],"valid",[],"NV8"],[[43312,43347],"valid"],[[43348,43358],"disallowed"],[[43359,43359],"valid",[],"NV8"],[[43360,43388],"valid",[],"NV8"],[[43389,43391],"disallowed"],[[43392,43456],"valid"],[[43457,43469],"valid",[],"NV8"],[[43470,43470],"disallowed"],[[43471,43481],"valid"],[[43482,43485],"disallowed"],[[43486,43487],"valid",[],"NV8"],[[43488,43518],"valid"],[[43519,43519],"disallowed"],[[43520,43574],"valid"],[[43575,43583],"disallowed"],[[43584,43597],"valid"],[[43598,43599],"disallowed"],[[43600,43609],"valid"],[[43610,43611],"disallowed"],[[43612,43615],"valid",[],"NV8"],[[43616,43638],"valid"],[[43639,43641],"valid",[],"NV8"],[[43642,43643],"valid"],[[43644,43647],"valid"],[[43648,43714],"valid"],[[43715,43738],"disallowed"],[[43739,43741],"valid"],[[43742,43743],"valid",[],"NV8"],[[43744,43759],"valid"],[[43760,43761],"valid",[],"NV8"],[[43762,43766],"valid"],[[43767,43776],"disallowed"],[[43777,43782],"valid"],[[43783,43784],"disallowed"],[[43785,43790],"valid"],[[43791,43792],"disallowed"],[[43793,43798],"valid"],[[43799,43807],"disallowed"],[[43808,43814],"valid"],[[43815,43815],"disallowed"],[[43816,43822],"valid"],[[43823,43823],"disallowed"],[[43824,43866],"valid"],[[43867,43867],"valid",[],"NV8"],[[43868,43868],"mapped",[42791]],[[43869,43869],"mapped",[43831]],[[43870,43870],"mapped",[619]],[[43871,43871],"mapped",[43858]],[[43872,43875],"valid"],[[43876,43877],"valid"],[[43878,43887],"disallowed"],[[43888,43888],"mapped",[5024]],[[43889,43889],"mapped",[5025]],[[43890,43890],"mapped",[5026]],[[43891,43891],"mapped",[5027]],[[43892,43892],"mapped",[5028]],[[43893,43893],"mapped",[5029]],[[43894,43894],"mapped",[5030]],[[43895,43895],"mapped",[5031]],[[43896,43896],"mapped",[5032]],[[43897,43897],"mapped",[5033]],[[43898,43898],"mapped",[5034]],[[43899,43899],"mapped",[5035]],[[43900,43900],"mapped",[5036]],[[43901,43901],"mapped",[5037]],[[43902,43902],"mapped",[5038]],[[43903,43903],"mapped",[5039]],[[43904,43904],"mapped",[5040]],[[43905,43905],"mapped",[5041]],[[43906,43906],"mapped",[5042]],[[43907,43907],"mapped",[5043]],[[43908,43908],"mapped",[5044]],[[43909,43909],"mapped",[5045]],[[43910,43910],"mapped",[5046]],[[43911,43911],"mapped",[5047]],[[43912,43912],"mapped",[5048]],[[43913,43913],"mapped",[5049]],[[43914,43914],"mapped",[5050]],[[43915,43915],"mapped",[5051]],[[43916,43916],"mapped",[5052]],[[43917,43917],"mapped",[5053]],[[43918,43918],"mapped",[5054]],[[43919,43919],"mapped",[5055]],[[43920,43920],"mapped",[5056]],[[43921,43921],"mapped",[5057]],[[43922,43922],"mapped",[5058]],[[43923,43923],"mapped",[5059]],[[43924,43924],"mapped",[5060]],[[43925,43925],"mapped",[5061]],[[43926,43926],"mapped",[5062]],[[43927,43927],"mapped",[5063]],[[43928,43928],"mapped",[5064]],[[43929,43929],"mapped",[5065]],[[43930,43930],"mapped",[5066]],[[43931,43931],"mapped",[5067]],[[43932,43932],"mapped",[5068]],[[43933,43933],"mapped",[5069]],[[43934,43934],"mapped",[5070]],[[43935,43935],"mapped",[5071]],[[43936,43936],"mapped",[5072]],[[43937,43937],"mapped",[5073]],[[43938,43938],"mapped",[5074]],[[43939,43939],"mapped",[5075]],[[43940,43940],"mapped",[5076]],[[43941,43941],"mapped",[5077]],[[43942,43942],"mapped",[5078]],[[43943,43943],"mapped",[5079]],[[43944,43944],"mapped",[5080]],[[43945,43945],"mapped",[5081]],[[43946,43946],"mapped",[5082]],[[43947,43947],"mapped",[5083]],[[43948,43948],"mapped",[5084]],[[43949,43949],"mapped",[5085]],[[43950,43950],"mapped",[5086]],[[43951,43951],"mapped",[5087]],[[43952,43952],"mapped",[5088]],[[43953,43953],"mapped",[5089]],[[43954,43954],"mapped",[5090]],[[43955,43955],"mapped",[5091]],[[43956,43956],"mapped",[5092]],[[43957,43957],"mapped",[5093]],[[43958,43958],"mapped",[5094]],[[43959,43959],"mapped",[5095]],[[43960,43960],"mapped",[5096]],[[43961,43961],"mapped",[5097]],[[43962,43962],"mapped",[5098]],[[43963,43963],"mapped",[5099]],[[43964,43964],"mapped",[5100]],[[43965,43965],"mapped",[5101]],[[43966,43966],"mapped",[5102]],[[43967,43967],"mapped",[5103]],[[43968,44010],"valid"],[[44011,44011],"valid",[],"NV8"],[[44012,44013],"valid"],[[44014,44015],"disallowed"],[[44016,44025],"valid"],[[44026,44031],"disallowed"],[[44032,55203],"valid"],[[55204,55215],"disallowed"],[[55216,55238],"valid",[],"NV8"],[[55239,55242],"disallowed"],[[55243,55291],"valid",[],"NV8"],[[55292,55295],"disallowed"],[[55296,57343],"disallowed"],[[57344,63743],"disallowed"],[[63744,63744],"mapped",[35912]],[[63745,63745],"mapped",[26356]],[[63746,63746],"mapped",[36554]],[[63747,63747],"mapped",[36040]],[[63748,63748],"mapped",[28369]],[[63749,63749],"mapped",[20018]],[[63750,63750],"mapped",[21477]],[[63751,63752],"mapped",[40860]],[[63753,63753],"mapped",[22865]],[[63754,63754],"mapped",[37329]],[[63755,63755],"mapped",[21895]],[[63756,63756],"mapped",[22856]],[[63757,63757],"mapped",[25078]],[[63758,63758],"mapped",[30313]],[[63759,63759],"mapped",[32645]],[[63760,63760],"mapped",[34367]],[[63761,63761],"mapped",[34746]],[[63762,63762],"mapped",[35064]],[[63763,63763],"mapped",[37007]],[[63764,63764],"mapped",[27138]],[[63765,63765],"mapped",[27931]],[[63766,63766],"mapped",[28889]],[[63767,63767],"mapped",[29662]],[[63768,63768],"mapped",[33853]],[[63769,63769],"mapped",[37226]],[[63770,63770],"mapped",[39409]],[[63771,63771],"mapped",[20098]],[[63772,63772],"mapped",[21365]],[[63773,63773],"mapped",[27396]],[[63774,63774],"mapped",[29211]],[[63775,63775],"mapped",[34349]],[[63776,63776],"mapped",[40478]],[[63777,63777],"mapped",[23888]],[[63778,63778],"mapped",[28651]],[[63779,63779],"mapped",[34253]],[[63780,63780],"mapped",[35172]],[[63781,63781],"mapped",[25289]],[[63782,63782],"mapped",[33240]],[[63783,63783],"mapped",[34847]],[[63784,63784],"mapped",[24266]],[[63785,63785],"mapped",[26391]],[[63786,63786],"mapped",[28010]],[[63787,63787],"mapped",[29436]],[[63788,63788],"mapped",[37070]],[[63789,63789],"mapped",[20358]],[[63790,63790],"mapped",[20919]],[[63791,63791],"mapped",[21214]],[[63792,63792],"mapped",[25796]],[[63793,63793],"mapped",[27347]],[[63794,63794],"mapped",[29200]],[[63795,63795],"mapped",[30439]],[[63796,63796],"mapped",[32769]],[[63797,63797],"mapped",[34310]],[[63798,63798],"mapped",[34396]],[[63799,63799],"mapped",[36335]],[[63800,63800],"mapped",[38706]],[[63801,63801],"mapped",[39791]],[[63802,63802],"mapped",[40442]],[[63803,63803],"mapped",[30860]],[[63804,63804],"mapped",[31103]],[[63805,63805],"mapped",[32160]],[[63806,63806],"mapped",[33737]],[[63807,63807],"mapped",[37636]],[[63808,63808],"mapped",[40575]],[[63809,63809],"mapped",[35542]],[[63810,63810],"mapped",[22751]],[[63811,63811],"mapped",[24324]],[[63812,63812],"mapped",[31840]],[[63813,63813],"mapped",[32894]],[[63814,63814],"mapped",[29282]],[[63815,63815],"mapped",[30922]],[[63816,63816],"mapped",[36034]],[[63817,63817],"mapped",[38647]],[[63818,63818],"mapped",[22744]],[[63819,63819],"mapped",[23650]],[[63820,63820],"mapped",[27155]],[[63821,63821],"mapped",[28122]],[[63822,63822],"mapped",[28431]],[[63823,63823],"mapped",[32047]],[[63824,63824],"mapped",[32311]],[[63825,63825],"mapped",[38475]],[[63826,63826],"mapped",[21202]],[[63827,63827],"mapped",[32907]],[[63828,63828],"mapped",[20956]],[[63829,63829],"mapped",[20940]],[[63830,63830],"mapped",[31260]],[[63831,63831],"mapped",[32190]],[[63832,63832],"mapped",[33777]],[[63833,63833],"mapped",[38517]],[[63834,63834],"mapped",[35712]],[[63835,63835],"mapped",[25295]],[[63836,63836],"mapped",[27138]],[[63837,63837],"mapped",[35582]],[[63838,63838],"mapped",[20025]],[[63839,63839],"mapped",[23527]],[[63840,63840],"mapped",[24594]],[[63841,63841],"mapped",[29575]],[[63842,63842],"mapped",[30064]],[[63843,63843],"mapped",[21271]],[[63844,63844],"mapped",[30971]],[[63845,63845],"mapped",[20415]],[[63846,63846],"mapped",[24489]],[[63847,63847],"mapped",[19981]],[[63848,63848],"mapped",[27852]],[[63849,63849],"mapped",[25976]],[[63850,63850],"mapped",[32034]],[[63851,63851],"mapped",[21443]],[[63852,63852],"mapped",[22622]],[[63853,63853],"mapped",[30465]],[[63854,63854],"mapped",[33865]],[[63855,63855],"mapped",[35498]],[[63856,63856],"mapped",[27578]],[[63857,63857],"mapped",[36784]],[[63858,63858],"mapped",[27784]],[[63859,63859],"mapped",[25342]],[[63860,63860],"mapped",[33509]],[[63861,63861],"mapped",[25504]],[[63862,63862],"mapped",[30053]],[[63863,63863],"mapped",[20142]],[[63864,63864],"mapped",[20841]],[[63865,63865],"mapped",[20937]],[[63866,63866],"mapped",[26753]],[[63867,63867],"mapped",[31975]],[[63868,63868],"mapped",[33391]],[[63869,63869],"mapped",[35538]],[[63870,63870],"mapped",[37327]],[[63871,63871],"mapped",[21237]],[[63872,63872],"mapped",[21570]],[[63873,63873],"mapped",[22899]],[[63874,63874],"mapped",[24300]],[[63875,63875],"mapped",[26053]],[[63876,63876],"mapped",[28670]],[[63877,63877],"mapped",[31018]],[[63878,63878],"mapped",[38317]],[[63879,63879],"mapped",[39530]],[[63880,63880],"mapped",[40599]],[[63881,63881],"mapped",[40654]],[[63882,63882],"mapped",[21147]],[[63883,63883],"mapped",[26310]],[[63884,63884],"mapped",[27511]],[[63885,63885],"mapped",[36706]],[[63886,63886],"mapped",[24180]],[[63887,63887],"mapped",[24976]],[[63888,63888],"mapped",[25088]],[[63889,63889],"mapped",[25754]],[[63890,63890],"mapped",[28451]],[[63891,63891],"mapped",[29001]],[[63892,63892],"mapped",[29833]],[[63893,63893],"mapped",[31178]],[[63894,63894],"mapped",[32244]],[[63895,63895],"mapped",[32879]],[[63896,63896],"mapped",[36646]],[[63897,63897],"mapped",[34030]],[[63898,63898],"mapped",[36899]],[[63899,63899],"mapped",[37706]],[[63900,63900],"mapped",[21015]],[[63901,63901],"mapped",[21155]],[[63902,63902],"mapped",[21693]],[[63903,63903],"mapped",[28872]],[[63904,63904],"mapped",[35010]],[[63905,63905],"mapped",[35498]],[[63906,63906],"mapped",[24265]],[[63907,63907],"mapped",[24565]],[[63908,63908],"mapped",[25467]],[[63909,63909],"mapped",[27566]],[[63910,63910],"mapped",[31806]],[[63911,63911],"mapped",[29557]],[[63912,63912],"mapped",[20196]],[[63913,63913],"mapped",[22265]],[[63914,63914],"mapped",[23527]],[[63915,63915],"mapped",[23994]],[[63916,63916],"mapped",[24604]],[[63917,63917],"mapped",[29618]],[[63918,63918],"mapped",[29801]],[[63919,63919],"mapped",[32666]],[[63920,63920],"mapped",[32838]],[[63921,63921],"mapped",[37428]],[[63922,63922],"mapped",[38646]],[[63923,63923],"mapped",[38728]],[[63924,63924],"mapped",[38936]],[[63925,63925],"mapped",[20363]],[[63926,63926],"mapped",[31150]],[[63927,63927],"mapped",[37300]],[[63928,63928],"mapped",[38584]],[[63929,63929],"mapped",[24801]],[[63930,63930],"mapped",[20102]],[[63931,63931],"mapped",[20698]],[[63932,63932],"mapped",[23534]],[[63933,63933],"mapped",[23615]],[[63934,63934],"mapped",[26009]],[[63935,63935],"mapped",[27138]],[[63936,63936],"mapped",[29134]],[[63937,63937],"mapped",[30274]],[[63938,63938],"mapped",[34044]],[[63939,63939],"mapped",[36988]],[[63940,63940],"mapped",[40845]],[[63941,63941],"mapped",[26248]],[[63942,63942],"mapped",[38446]],[[63943,63943],"mapped",[21129]],[[63944,63944],"mapped",[26491]],[[63945,63945],"mapped",[26611]],[[63946,63946],"mapped",[27969]],[[63947,63947],"mapped",[28316]],[[63948,63948],"mapped",[29705]],[[63949,63949],"mapped",[30041]],[[63950,63950],"mapped",[30827]],[[63951,63951],"mapped",[32016]],[[63952,63952],"mapped",[39006]],[[63953,63953],"mapped",[20845]],[[63954,63954],"mapped",[25134]],[[63955,63955],"mapped",[38520]],[[63956,63956],"mapped",[20523]],[[63957,63957],"mapped",[23833]],[[63958,63958],"mapped",[28138]],[[63959,63959],"mapped",[36650]],[[63960,63960],"mapped",[24459]],[[63961,63961],"mapped",[24900]],[[63962,63962],"mapped",[26647]],[[63963,63963],"mapped",[29575]],[[63964,63964],"mapped",[38534]],[[63965,63965],"mapped",[21033]],[[63966,63966],"mapped",[21519]],[[63967,63967],"mapped",[23653]],[[63968,63968],"mapped",[26131]],[[63969,63969],"mapped",[26446]],[[63970,63970],"mapped",[26792]],[[63971,63971],"mapped",[27877]],[[63972,63972],"mapped",[29702]],[[63973,63973],"mapped",[30178]],[[63974,63974],"mapped",[32633]],[[63975,63975],"mapped",[35023]],[[63976,63976],"mapped",[35041]],[[63977,63977],"mapped",[37324]],[[63978,63978],"mapped",[38626]],[[63979,63979],"mapped",[21311]],[[63980,63980],"mapped",[28346]],[[63981,63981],"mapped",[21533]],[[63982,63982],"mapped",[29136]],[[63983,63983],"mapped",[29848]],[[63984,63984],"mapped",[34298]],[[63985,63985],"mapped",[38563]],[[63986,63986],"mapped",[40023]],[[63987,63987],"mapped",[40607]],[[63988,63988],"mapped",[26519]],[[63989,63989],"mapped",[28107]],[[63990,63990],"mapped",[33256]],[[63991,63991],"mapped",[31435]],[[63992,63992],"mapped",[31520]],[[63993,63993],"mapped",[31890]],[[63994,63994],"mapped",[29376]],[[63995,63995],"mapped",[28825]],[[63996,63996],"mapped",[35672]],[[63997,63997],"mapped",[20160]],[[63998,63998],"mapped",[33590]],[[63999,63999],"mapped",[21050]],[[64000,64000],"mapped",[20999]],[[64001,64001],"mapped",[24230]],[[64002,64002],"mapped",[25299]],[[64003,64003],"mapped",[31958]],[[64004,64004],"mapped",[23429]],[[64005,64005],"mapped",[27934]],[[64006,64006],"mapped",[26292]],[[64007,64007],"mapped",[36667]],[[64008,64008],"mapped",[34892]],[[64009,64009],"mapped",[38477]],[[64010,64010],"mapped",[35211]],[[64011,64011],"mapped",[24275]],[[64012,64012],"mapped",[20800]],[[64013,64013],"mapped",[21952]],[[64014,64015],"valid"],[[64016,64016],"mapped",[22618]],[[64017,64017],"valid"],[[64018,64018],"mapped",[26228]],[[64019,64020],"valid"],[[64021,64021],"mapped",[20958]],[[64022,64022],"mapped",[29482]],[[64023,64023],"mapped",[30410]],[[64024,64024],"mapped",[31036]],[[64025,64025],"mapped",[31070]],[[64026,64026],"mapped",[31077]],[[64027,64027],"mapped",[31119]],[[64028,64028],"mapped",[38742]],[[64029,64029],"mapped",[31934]],[[64030,64030],"mapped",[32701]],[[64031,64031],"valid"],[[64032,64032],"mapped",[34322]],[[64033,64033],"valid"],[[64034,64034],"mapped",[35576]],[[64035,64036],"valid"],[[64037,64037],"mapped",[36920]],[[64038,64038],"mapped",[37117]],[[64039,64041],"valid"],[[64042,64042],"mapped",[39151]],[[64043,64043],"mapped",[39164]],[[64044,64044],"mapped",[39208]],[[64045,64045],"mapped",[40372]],[[64046,64046],"mapped",[37086]],[[64047,64047],"mapped",[38583]],[[64048,64048],"mapped",[20398]],[[64049,64049],"mapped",[20711]],[[64050,64050],"mapped",[20813]],[[64051,64051],"mapped",[21193]],[[64052,64052],"mapped",[21220]],[[64053,64053],"mapped",[21329]],[[64054,64054],"mapped",[21917]],[[64055,64055],"mapped",[22022]],[[64056,64056],"mapped",[22120]],[[64057,64057],"mapped",[22592]],[[64058,64058],"mapped",[22696]],[[64059,64059],"mapped",[23652]],[[64060,64060],"mapped",[23662]],[[64061,64061],"mapped",[24724]],[[64062,64062],"mapped",[24936]],[[64063,64063],"mapped",[24974]],[[64064,64064],"mapped",[25074]],[[64065,64065],"mapped",[25935]],[[64066,64066],"mapped",[26082]],[[64067,64067],"mapped",[26257]],[[64068,64068],"mapped",[26757]],[[64069,64069],"mapped",[28023]],[[64070,64070],"mapped",[28186]],[[64071,64071],"mapped",[28450]],[[64072,64072],"mapped",[29038]],[[64073,64073],"mapped",[29227]],[[64074,64074],"mapped",[29730]],[[64075,64075],"mapped",[30865]],[[64076,64076],"mapped",[31038]],[[64077,64077],"mapped",[31049]],[[64078,64078],"mapped",[31048]],[[64079,64079],"mapped",[31056]],[[64080,64080],"mapped",[31062]],[[64081,64081],"mapped",[31069]],[[64082,64082],"mapped",[31117]],[[64083,64083],"mapped",[31118]],[[64084,64084],"mapped",[31296]],[[64085,64085],"mapped",[31361]],[[64086,64086],"mapped",[31680]],[[64087,64087],"mapped",[32244]],[[64088,64088],"mapped",[32265]],[[64089,64089],"mapped",[32321]],[[64090,64090],"mapped",[32626]],[[64091,64091],"mapped",[32773]],[[64092,64092],"mapped",[33261]],[[64093,64094],"mapped",[33401]],[[64095,64095],"mapped",[33879]],[[64096,64096],"mapped",[35088]],[[64097,64097],"mapped",[35222]],[[64098,64098],"mapped",[35585]],[[64099,64099],"mapped",[35641]],[[64100,64100],"mapped",[36051]],[[64101,64101],"mapped",[36104]],[[64102,64102],"mapped",[36790]],[[64103,64103],"mapped",[36920]],[[64104,64104],"mapped",[38627]],[[64105,64105],"mapped",[38911]],[[64106,64106],"mapped",[38971]],[[64107,64107],"mapped",[24693]],[[64108,64108],"mapped",[148206]],[[64109,64109],"mapped",[33304]],[[64110,64111],"disallowed"],[[64112,64112],"mapped",[20006]],[[64113,64113],"mapped",[20917]],[[64114,64114],"mapped",[20840]],[[64115,64115],"mapped",[20352]],[[64116,64116],"mapped",[20805]],[[64117,64117],"mapped",[20864]],[[64118,64118],"mapped",[21191]],[[64119,64119],"mapped",[21242]],[[64120,64120],"mapped",[21917]],[[64121,64121],"mapped",[21845]],[[64122,64122],"mapped",[21913]],[[64123,64123],"mapped",[21986]],[[64124,64124],"mapped",[22618]],[[64125,64125],"mapped",[22707]],[[64126,64126],"mapped",[22852]],[[64127,64127],"mapped",[22868]],[[64128,64128],"mapped",[23138]],[[64129,64129],"mapped",[23336]],[[64130,64130],"mapped",[24274]],[[64131,64131],"mapped",[24281]],[[64132,64132],"mapped",[24425]],[[64133,64133],"mapped",[24493]],[[64134,64134],"mapped",[24792]],[[64135,64135],"mapped",[24910]],[[64136,64136],"mapped",[24840]],[[64137,64137],"mapped",[24974]],[[64138,64138],"mapped",[24928]],[[64139,64139],"mapped",[25074]],[[64140,64140],"mapped",[25140]],[[64141,64141],"mapped",[25540]],[[64142,64142],"mapped",[25628]],[[64143,64143],"mapped",[25682]],[[64144,64144],"mapped",[25942]],[[64145,64145],"mapped",[26228]],[[64146,64146],"mapped",[26391]],[[64147,64147],"mapped",[26395]],[[64148,64148],"mapped",[26454]],[[64149,64149],"mapped",[27513]],[[64150,64150],"mapped",[27578]],[[64151,64151],"mapped",[27969]],[[64152,64152],"mapped",[28379]],[[64153,64153],"mapped",[28363]],[[64154,64154],"mapped",[28450]],[[64155,64155],"mapped",[28702]],[[64156,64156],"mapped",[29038]],[[64157,64157],"mapped",[30631]],[[64158,64158],"mapped",[29237]],[[64159,64159],"mapped",[29359]],[[64160,64160],"mapped",[29482]],[[64161,64161],"mapped",[29809]],[[64162,64162],"mapped",[29958]],[[64163,64163],"mapped",[30011]],[[64164,64164],"mapped",[30237]],[[64165,64165],"mapped",[30239]],[[64166,64166],"mapped",[30410]],[[64167,64167],"mapped",[30427]],[[64168,64168],"mapped",[30452]],[[64169,64169],"mapped",[30538]],[[64170,64170],"mapped",[30528]],[[64171,64171],"mapped",[30924]],[[64172,64172],"mapped",[31409]],[[64173,64173],"mapped",[31680]],[[64174,64174],"mapped",[31867]],[[64175,64175],"mapped",[32091]],[[64176,64176],"mapped",[32244]],[[64177,64177],"mapped",[32574]],[[64178,64178],"mapped",[32773]],[[64179,64179],"mapped",[33618]],[[64180,64180],"mapped",[33775]],[[64181,64181],"mapped",[34681]],[[64182,64182],"mapped",[35137]],[[64183,64183],"mapped",[35206]],[[64184,64184],"mapped",[35222]],[[64185,64185],"mapped",[35519]],[[64186,64186],"mapped",[35576]],[[64187,64187],"mapped",[35531]],[[64188,64188],"mapped",[35585]],[[64189,64189],"mapped",[35582]],[[64190,64190],"mapped",[35565]],[[64191,64191],"mapped",[35641]],[[64192,64192],"mapped",[35722]],[[64193,64193],"mapped",[36104]],[[64194,64194],"mapped",[36664]],[[64195,64195],"mapped",[36978]],[[64196,64196],"mapped",[37273]],[[64197,64197],"mapped",[37494]],[[64198,64198],"mapped",[38524]],[[64199,64199],"mapped",[38627]],[[64200,64200],"mapped",[38742]],[[64201,64201],"mapped",[38875]],[[64202,64202],"mapped",[38911]],[[64203,64203],"mapped",[38923]],[[64204,64204],"mapped",[38971]],[[64205,64205],"mapped",[39698]],[[64206,64206],"mapped",[40860]],[[64207,64207],"mapped",[141386]],[[64208,64208],"mapped",[141380]],[[64209,64209],"mapped",[144341]],[[64210,64210],"mapped",[15261]],[[64211,64211],"mapped",[16408]],[[64212,64212],"mapped",[16441]],[[64213,64213],"mapped",[152137]],[[64214,64214],"mapped",[154832]],[[64215,64215],"mapped",[163539]],[[64216,64216],"mapped",[40771]],[[64217,64217],"mapped",[40846]],[[64218,64255],"disallowed"],[[64256,64256],"mapped",[102,102]],[[64257,64257],"mapped",[102,105]],[[64258,64258],"mapped",[102,108]],[[64259,64259],"mapped",[102,102,105]],[[64260,64260],"mapped",[102,102,108]],[[64261,64262],"mapped",[115,116]],[[64263,64274],"disallowed"],[[64275,64275],"mapped",[1396,1398]],[[64276,64276],"mapped",[1396,1381]],[[64277,64277],"mapped",[1396,1387]],[[64278,64278],"mapped",[1406,1398]],[[64279,64279],"mapped",[1396,1389]],[[64280,64284],"disallowed"],[[64285,64285],"mapped",[1497,1460]],[[64286,64286],"valid"],[[64287,64287],"mapped",[1522,1463]],[[64288,64288],"mapped",[1506]],[[64289,64289],"mapped",[1488]],[[64290,64290],"mapped",[1491]],[[64291,64291],"mapped",[1492]],[[64292,64292],"mapped",[1499]],[[64293,64293],"mapped",[1500]],[[64294,64294],"mapped",[1501]],[[64295,64295],"mapped",[1512]],[[64296,64296],"mapped",[1514]],[[64297,64297],"disallowed_STD3_mapped",[43]],[[64298,64298],"mapped",[1513,1473]],[[64299,64299],"mapped",[1513,1474]],[[64300,64300],"mapped",[1513,1468,1473]],[[64301,64301],"mapped",[1513,1468,1474]],[[64302,64302],"mapped",[1488,1463]],[[64303,64303],"mapped",[1488,1464]],[[64304,64304],"mapped",[1488,1468]],[[64305,64305],"mapped",[1489,1468]],[[64306,64306],"mapped",[1490,1468]],[[64307,64307],"mapped",[1491,1468]],[[64308,64308],"mapped",[1492,1468]],[[64309,64309],"mapped",[1493,1468]],[[64310,64310],"mapped",[1494,1468]],[[64311,64311],"disallowed"],[[64312,64312],"mapped",[1496,1468]],[[64313,64313],"mapped",[1497,1468]],[[64314,64314],"mapped",[1498,1468]],[[64315,64315],"mapped",[1499,1468]],[[64316,64316],"mapped",[1500,1468]],[[64317,64317],"disallowed"],[[64318,64318],"mapped",[1502,1468]],[[64319,64319],"disallowed"],[[64320,64320],"mapped",[1504,1468]],[[64321,64321],"mapped",[1505,1468]],[[64322,64322],"disallowed"],[[64323,64323],"mapped",[1507,1468]],[[64324,64324],"mapped",[1508,1468]],[[64325,64325],"disallowed"],[[64326,64326],"mapped",[1510,1468]],[[64327,64327],"mapped",[1511,1468]],[[64328,64328],"mapped",[1512,1468]],[[64329,64329],"mapped",[1513,1468]],[[64330,64330],"mapped",[1514,1468]],[[64331,64331],"mapped",[1493,1465]],[[64332,64332],"mapped",[1489,1471]],[[64333,64333],"mapped",[1499,1471]],[[64334,64334],"mapped",[1508,1471]],[[64335,64335],"mapped",[1488,1500]],[[64336,64337],"mapped",[1649]],[[64338,64341],"mapped",[1659]],[[64342,64345],"mapped",[1662]],[[64346,64349],"mapped",[1664]],[[64350,64353],"mapped",[1658]],[[64354,64357],"mapped",[1663]],[[64358,64361],"mapped",[1657]],[[64362,64365],"mapped",[1700]],[[64366,64369],"mapped",[1702]],[[64370,64373],"mapped",[1668]],[[64374,64377],"mapped",[1667]],[[64378,64381],"mapped",[1670]],[[64382,64385],"mapped",[1671]],[[64386,64387],"mapped",[1677]],[[64388,64389],"mapped",[1676]],[[64390,64391],"mapped",[1678]],[[64392,64393],"mapped",[1672]],[[64394,64395],"mapped",[1688]],[[64396,64397],"mapped",[1681]],[[64398,64401],"mapped",[1705]],[[64402,64405],"mapped",[1711]],[[64406,64409],"mapped",[1715]],[[64410,64413],"mapped",[1713]],[[64414,64415],"mapped",[1722]],[[64416,64419],"mapped",[1723]],[[64420,64421],"mapped",[1728]],[[64422,64425],"mapped",[1729]],[[64426,64429],"mapped",[1726]],[[64430,64431],"mapped",[1746]],[[64432,64433],"mapped",[1747]],[[64434,64449],"valid",[],"NV8"],[[64450,64466],"disallowed"],[[64467,64470],"mapped",[1709]],[[64471,64472],"mapped",[1735]],[[64473,64474],"mapped",[1734]],[[64475,64476],"mapped",[1736]],[[64477,64477],"mapped",[1735,1652]],[[64478,64479],"mapped",[1739]],[[64480,64481],"mapped",[1733]],[[64482,64483],"mapped",[1737]],[[64484,64487],"mapped",[1744]],[[64488,64489],"mapped",[1609]],[[64490,64491],"mapped",[1574,1575]],[[64492,64493],"mapped",[1574,1749]],[[64494,64495],"mapped",[1574,1608]],[[64496,64497],"mapped",[1574,1735]],[[64498,64499],"mapped",[1574,1734]],[[64500,64501],"mapped",[1574,1736]],[[64502,64504],"mapped",[1574,1744]],[[64505,64507],"mapped",[1574,1609]],[[64508,64511],"mapped",[1740]],[[64512,64512],"mapped",[1574,1580]],[[64513,64513],"mapped",[1574,1581]],[[64514,64514],"mapped",[1574,1605]],[[64515,64515],"mapped",[1574,1609]],[[64516,64516],"mapped",[1574,1610]],[[64517,64517],"mapped",[1576,1580]],[[64518,64518],"mapped",[1576,1581]],[[64519,64519],"mapped",[1576,1582]],[[64520,64520],"mapped",[1576,1605]],[[64521,64521],"mapped",[1576,1609]],[[64522,64522],"mapped",[1576,1610]],[[64523,64523],"mapped",[1578,1580]],[[64524,64524],"mapped",[1578,1581]],[[64525,64525],"mapped",[1578,1582]],[[64526,64526],"mapped",[1578,1605]],[[64527,64527],"mapped",[1578,1609]],[[64528,64528],"mapped",[1578,1610]],[[64529,64529],"mapped",[1579,1580]],[[64530,64530],"mapped",[1579,1605]],[[64531,64531],"mapped",[1579,1609]],[[64532,64532],"mapped",[1579,1610]],[[64533,64533],"mapped",[1580,1581]],[[64534,64534],"mapped",[1580,1605]],[[64535,64535],"mapped",[1581,1580]],[[64536,64536],"mapped",[1581,1605]],[[64537,64537],"mapped",[1582,1580]],[[64538,64538],"mapped",[1582,1581]],[[64539,64539],"mapped",[1582,1605]],[[64540,64540],"mapped",[1587,1580]],[[64541,64541],"mapped",[1587,1581]],[[64542,64542],"mapped",[1587,1582]],[[64543,64543],"mapped",[1587,1605]],[[64544,64544],"mapped",[1589,1581]],[[64545,64545],"mapped",[1589,1605]],[[64546,64546],"mapped",[1590,1580]],[[64547,64547],"mapped",[1590,1581]],[[64548,64548],"mapped",[1590,1582]],[[64549,64549],"mapped",[1590,1605]],[[64550,64550],"mapped",[1591,1581]],[[64551,64551],"mapped",[1591,1605]],[[64552,64552],"mapped",[1592,1605]],[[64553,64553],"mapped",[1593,1580]],[[64554,64554],"mapped",[1593,1605]],[[64555,64555],"mapped",[1594,1580]],[[64556,64556],"mapped",[1594,1605]],[[64557,64557],"mapped",[1601,1580]],[[64558,64558],"mapped",[1601,1581]],[[64559,64559],"mapped",[1601,1582]],[[64560,64560],"mapped",[1601,1605]],[[64561,64561],"mapped",[1601,1609]],[[64562,64562],"mapped",[1601,1610]],[[64563,64563],"mapped",[1602,1581]],[[64564,64564],"mapped",[1602,1605]],[[64565,64565],"mapped",[1602,1609]],[[64566,64566],"mapped",[1602,1610]],[[64567,64567],"mapped",[1603,1575]],[[64568,64568],"mapped",[1603,1580]],[[64569,64569],"mapped",[1603,1581]],[[64570,64570],"mapped",[1603,1582]],[[64571,64571],"mapped",[1603,1604]],[[64572,64572],"mapped",[1603,1605]],[[64573,64573],"mapped",[1603,1609]],[[64574,64574],"mapped",[1603,1610]],[[64575,64575],"mapped",[1604,1580]],[[64576,64576],"mapped",[1604,1581]],[[64577,64577],"mapped",[1604,1582]],[[64578,64578],"mapped",[1604,1605]],[[64579,64579],"mapped",[1604,1609]],[[64580,64580],"mapped",[1604,1610]],[[64581,64581],"mapped",[1605,1580]],[[64582,64582],"mapped",[1605,1581]],[[64583,64583],"mapped",[1605,1582]],[[64584,64584],"mapped",[1605,1605]],[[64585,64585],"mapped",[1605,1609]],[[64586,64586],"mapped",[1605,1610]],[[64587,64587],"mapped",[1606,1580]],[[64588,64588],"mapped",[1606,1581]],[[64589,64589],"mapped",[1606,1582]],[[64590,64590],"mapped",[1606,1605]],[[64591,64591],"mapped",[1606,1609]],[[64592,64592],"mapped",[1606,1610]],[[64593,64593],"mapped",[1607,1580]],[[64594,64594],"mapped",[1607,1605]],[[64595,64595],"mapped",[1607,1609]],[[64596,64596],"mapped",[1607,1610]],[[64597,64597],"mapped",[1610,1580]],[[64598,64598],"mapped",[1610,1581]],[[64599,64599],"mapped",[1610,1582]],[[64600,64600],"mapped",[1610,1605]],[[64601,64601],"mapped",[1610,1609]],[[64602,64602],"mapped",[1610,1610]],[[64603,64603],"mapped",[1584,1648]],[[64604,64604],"mapped",[1585,1648]],[[64605,64605],"mapped",[1609,1648]],[[64606,64606],"disallowed_STD3_mapped",[32,1612,1617]],[[64607,64607],"disallowed_STD3_mapped",[32,1613,1617]],[[64608,64608],"disallowed_STD3_mapped",[32,1614,1617]],[[64609,64609],"disallowed_STD3_mapped",[32,1615,1617]],[[64610,64610],"disallowed_STD3_mapped",[32,1616,1617]],[[64611,64611],"disallowed_STD3_mapped",[32,1617,1648]],[[64612,64612],"mapped",[1574,1585]],[[64613,64613],"mapped",[1574,1586]],[[64614,64614],"mapped",[1574,1605]],[[64615,64615],"mapped",[1574,1606]],[[64616,64616],"mapped",[1574,1609]],[[64617,64617],"mapped",[1574,1610]],[[64618,64618],"mapped",[1576,1585]],[[64619,64619],"mapped",[1576,1586]],[[64620,64620],"mapped",[1576,1605]],[[64621,64621],"mapped",[1576,1606]],[[64622,64622],"mapped",[1576,1609]],[[64623,64623],"mapped",[1576,1610]],[[64624,64624],"mapped",[1578,1585]],[[64625,64625],"mapped",[1578,1586]],[[64626,64626],"mapped",[1578,1605]],[[64627,64627],"mapped",[1578,1606]],[[64628,64628],"mapped",[1578,1609]],[[64629,64629],"mapped",[1578,1610]],[[64630,64630],"mapped",[1579,1585]],[[64631,64631],"mapped",[1579,1586]],[[64632,64632],"mapped",[1579,1605]],[[64633,64633],"mapped",[1579,1606]],[[64634,64634],"mapped",[1579,1609]],[[64635,64635],"mapped",[1579,1610]],[[64636,64636],"mapped",[1601,1609]],[[64637,64637],"mapped",[1601,1610]],[[64638,64638],"mapped",[1602,1609]],[[64639,64639],"mapped",[1602,1610]],[[64640,64640],"mapped",[1603,1575]],[[64641,64641],"mapped",[1603,1604]],[[64642,64642],"mapped",[1603,1605]],[[64643,64643],"mapped",[1603,1609]],[[64644,64644],"mapped",[1603,1610]],[[64645,64645],"mapped",[1604,1605]],[[64646,64646],"mapped",[1604,1609]],[[64647,64647],"mapped",[1604,1610]],[[64648,64648],"mapped",[1605,1575]],[[64649,64649],"mapped",[1605,1605]],[[64650,64650],"mapped",[1606,1585]],[[64651,64651],"mapped",[1606,1586]],[[64652,64652],"mapped",[1606,1605]],[[64653,64653],"mapped",[1606,1606]],[[64654,64654],"mapped",[1606,1609]],[[64655,64655],"mapped",[1606,1610]],[[64656,64656],"mapped",[1609,1648]],[[64657,64657],"mapped",[1610,1585]],[[64658,64658],"mapped",[1610,1586]],[[64659,64659],"mapped",[1610,1605]],[[64660,64660],"mapped",[1610,1606]],[[64661,64661],"mapped",[1610,1609]],[[64662,64662],"mapped",[1610,1610]],[[64663,64663],"mapped",[1574,1580]],[[64664,64664],"mapped",[1574,1581]],[[64665,64665],"mapped",[1574,1582]],[[64666,64666],"mapped",[1574,1605]],[[64667,64667],"mapped",[1574,1607]],[[64668,64668],"mapped",[1576,1580]],[[64669,64669],"mapped",[1576,1581]],[[64670,64670],"mapped",[1576,1582]],[[64671,64671],"mapped",[1576,1605]],[[64672,64672],"mapped",[1576,1607]],[[64673,64673],"mapped",[1578,1580]],[[64674,64674],"mapped",[1578,1581]],[[64675,64675],"mapped",[1578,1582]],[[64676,64676],"mapped",[1578,1605]],[[64677,64677],"mapped",[1578,1607]],[[64678,64678],"mapped",[1579,1605]],[[64679,64679],"mapped",[1580,1581]],[[64680,64680],"mapped",[1580,1605]],[[64681,64681],"mapped",[1581,1580]],[[64682,64682],"mapped",[1581,1605]],[[64683,64683],"mapped",[1582,1580]],[[64684,64684],"mapped",[1582,1605]],[[64685,64685],"mapped",[1587,1580]],[[64686,64686],"mapped",[1587,1581]],[[64687,64687],"mapped",[1587,1582]],[[64688,64688],"mapped",[1587,1605]],[[64689,64689],"mapped",[1589,1581]],[[64690,64690],"mapped",[1589,1582]],[[64691,64691],"mapped",[1589,1605]],[[64692,64692],"mapped",[1590,1580]],[[64693,64693],"mapped",[1590,1581]],[[64694,64694],"mapped",[1590,1582]],[[64695,64695],"mapped",[1590,1605]],[[64696,64696],"mapped",[1591,1581]],[[64697,64697],"mapped",[1592,1605]],[[64698,64698],"mapped",[1593,1580]],[[64699,64699],"mapped",[1593,1605]],[[64700,64700],"mapped",[1594,1580]],[[64701,64701],"mapped",[1594,1605]],[[64702,64702],"mapped",[1601,1580]],[[64703,64703],"mapped",[1601,1581]],[[64704,64704],"mapped",[1601,1582]],[[64705,64705],"mapped",[1601,1605]],[[64706,64706],"mapped",[1602,1581]],[[64707,64707],"mapped",[1602,1605]],[[64708,64708],"mapped",[1603,1580]],[[64709,64709],"mapped",[1603,1581]],[[64710,64710],"mapped",[1603,1582]],[[64711,64711],"mapped",[1603,1604]],[[64712,64712],"mapped",[1603,1605]],[[64713,64713],"mapped",[1604,1580]],[[64714,64714],"mapped",[1604,1581]],[[64715,64715],"mapped",[1604,1582]],[[64716,64716],"mapped",[1604,1605]],[[64717,64717],"mapped",[1604,1607]],[[64718,64718],"mapped",[1605,1580]],[[64719,64719],"mapped",[1605,1581]],[[64720,64720],"mapped",[1605,1582]],[[64721,64721],"mapped",[1605,1605]],[[64722,64722],"mapped",[1606,1580]],[[64723,64723],"mapped",[1606,1581]],[[64724,64724],"mapped",[1606,1582]],[[64725,64725],"mapped",[1606,1605]],[[64726,64726],"mapped",[1606,1607]],[[64727,64727],"mapped",[1607,1580]],[[64728,64728],"mapped",[1607,1605]],[[64729,64729],"mapped",[1607,1648]],[[64730,64730],"mapped",[1610,1580]],[[64731,64731],"mapped",[1610,1581]],[[64732,64732],"mapped",[1610,1582]],[[64733,64733],"mapped",[1610,1605]],[[64734,64734],"mapped",[1610,1607]],[[64735,64735],"mapped",[1574,1605]],[[64736,64736],"mapped",[1574,1607]],[[64737,64737],"mapped",[1576,1605]],[[64738,64738],"mapped",[1576,1607]],[[64739,64739],"mapped",[1578,1605]],[[64740,64740],"mapped",[1578,1607]],[[64741,64741],"mapped",[1579,1605]],[[64742,64742],"mapped",[1579,1607]],[[64743,64743],"mapped",[1587,1605]],[[64744,64744],"mapped",[1587,1607]],[[64745,64745],"mapped",[1588,1605]],[[64746,64746],"mapped",[1588,1607]],[[64747,64747],"mapped",[1603,1604]],[[64748,64748],"mapped",[1603,1605]],[[64749,64749],"mapped",[1604,1605]],[[64750,64750],"mapped",[1606,1605]],[[64751,64751],"mapped",[1606,1607]],[[64752,64752],"mapped",[1610,1605]],[[64753,64753],"mapped",[1610,1607]],[[64754,64754],"mapped",[1600,1614,1617]],[[64755,64755],"mapped",[1600,1615,1617]],[[64756,64756],"mapped",[1600,1616,1617]],[[64757,64757],"mapped",[1591,1609]],[[64758,64758],"mapped",[1591,1610]],[[64759,64759],"mapped",[1593,1609]],[[64760,64760],"mapped",[1593,1610]],[[64761,64761],"mapped",[1594,1609]],[[64762,64762],"mapped",[1594,1610]],[[64763,64763],"mapped",[1587,1609]],[[64764,64764],"mapped",[1587,1610]],[[64765,64765],"mapped",[1588,1609]],[[64766,64766],"mapped",[1588,1610]],[[64767,64767],"mapped",[1581,1609]],[[64768,64768],"mapped",[1581,1610]],[[64769,64769],"mapped",[1580,1609]],[[64770,64770],"mapped",[1580,1610]],[[64771,64771],"mapped",[1582,1609]],[[64772,64772],"mapped",[1582,1610]],[[64773,64773],"mapped",[1589,1609]],[[64774,64774],"mapped",[1589,1610]],[[64775,64775],"mapped",[1590,1609]],[[64776,64776],"mapped",[1590,1610]],[[64777,64777],"mapped",[1588,1580]],[[64778,64778],"mapped",[1588,1581]],[[64779,64779],"mapped",[1588,1582]],[[64780,64780],"mapped",[1588,1605]],[[64781,64781],"mapped",[1588,1585]],[[64782,64782],"mapped",[1587,1585]],[[64783,64783],"mapped",[1589,1585]],[[64784,64784],"mapped",[1590,1585]],[[64785,64785],"mapped",[1591,1609]],[[64786,64786],"mapped",[1591,1610]],[[64787,64787],"mapped",[1593,1609]],[[64788,64788],"mapped",[1593,1610]],[[64789,64789],"mapped",[1594,1609]],[[64790,64790],"mapped",[1594,1610]],[[64791,64791],"mapped",[1587,1609]],[[64792,64792],"mapped",[1587,1610]],[[64793,64793],"mapped",[1588,1609]],[[64794,64794],"mapped",[1588,1610]],[[64795,64795],"mapped",[1581,1609]],[[64796,64796],"mapped",[1581,1610]],[[64797,64797],"mapped",[1580,1609]],[[64798,64798],"mapped",[1580,1610]],[[64799,64799],"mapped",[1582,1609]],[[64800,64800],"mapped",[1582,1610]],[[64801,64801],"mapped",[1589,1609]],[[64802,64802],"mapped",[1589,1610]],[[64803,64803],"mapped",[1590,1609]],[[64804,64804],"mapped",[1590,1610]],[[64805,64805],"mapped",[1588,1580]],[[64806,64806],"mapped",[1588,1581]],[[64807,64807],"mapped",[1588,1582]],[[64808,64808],"mapped",[1588,1605]],[[64809,64809],"mapped",[1588,1585]],[[64810,64810],"mapped",[1587,1585]],[[64811,64811],"mapped",[1589,1585]],[[64812,64812],"mapped",[1590,1585]],[[64813,64813],"mapped",[1588,1580]],[[64814,64814],"mapped",[1588,1581]],[[64815,64815],"mapped",[1588,1582]],[[64816,64816],"mapped",[1588,1605]],[[64817,64817],"mapped",[1587,1607]],[[64818,64818],"mapped",[1588,1607]],[[64819,64819],"mapped",[1591,1605]],[[64820,64820],"mapped",[1587,1580]],[[64821,64821],"mapped",[1587,1581]],[[64822,64822],"mapped",[1587,1582]],[[64823,64823],"mapped",[1588,1580]],[[64824,64824],"mapped",[1588,1581]],[[64825,64825],"mapped",[1588,1582]],[[64826,64826],"mapped",[1591,1605]],[[64827,64827],"mapped",[1592,1605]],[[64828,64829],"mapped",[1575,1611]],[[64830,64831],"valid",[],"NV8"],[[64832,64847],"disallowed"],[[64848,64848],"mapped",[1578,1580,1605]],[[64849,64850],"mapped",[1578,1581,1580]],[[64851,64851],"mapped",[1578,1581,1605]],[[64852,64852],"mapped",[1578,1582,1605]],[[64853,64853],"mapped",[1578,1605,1580]],[[64854,64854],"mapped",[1578,1605,1581]],[[64855,64855],"mapped",[1578,1605,1582]],[[64856,64857],"mapped",[1580,1605,1581]],[[64858,64858],"mapped",[1581,1605,1610]],[[64859,64859],"mapped",[1581,1605,1609]],[[64860,64860],"mapped",[1587,1581,1580]],[[64861,64861],"mapped",[1587,1580,1581]],[[64862,64862],"mapped",[1587,1580,1609]],[[64863,64864],"mapped",[1587,1605,1581]],[[64865,64865],"mapped",[1587,1605,1580]],[[64866,64867],"mapped",[1587,1605,1605]],[[64868,64869],"mapped",[1589,1581,1581]],[[64870,64870],"mapped",[1589,1605,1605]],[[64871,64872],"mapped",[1588,1581,1605]],[[64873,64873],"mapped",[1588,1580,1610]],[[64874,64875],"mapped",[1588,1605,1582]],[[64876,64877],"mapped",[1588,1605,1605]],[[64878,64878],"mapped",[1590,1581,1609]],[[64879,64880],"mapped",[1590,1582,1605]],[[64881,64882],"mapped",[1591,1605,1581]],[[64883,64883],"mapped",[1591,1605,1605]],[[64884,64884],"mapped",[1591,1605,1610]],[[64885,64885],"mapped",[1593,1580,1605]],[[64886,64887],"mapped",[1593,1605,1605]],[[64888,64888],"mapped",[1593,1605,1609]],[[64889,64889],"mapped",[1594,1605,1605]],[[64890,64890],"mapped",[1594,1605,1610]],[[64891,64891],"mapped",[1594,1605,1609]],[[64892,64893],"mapped",[1601,1582,1605]],[[64894,64894],"mapped",[1602,1605,1581]],[[64895,64895],"mapped",[1602,1605,1605]],[[64896,64896],"mapped",[1604,1581,1605]],[[64897,64897],"mapped",[1604,1581,1610]],[[64898,64898],"mapped",[1604,1581,1609]],[[64899,64900],"mapped",[1604,1580,1580]],[[64901,64902],"mapped",[1604,1582,1605]],[[64903,64904],"mapped",[1604,1605,1581]],[[64905,64905],"mapped",[1605,1581,1580]],[[64906,64906],"mapped",[1605,1581,1605]],[[64907,64907],"mapped",[1605,1581,1610]],[[64908,64908],"mapped",[1605,1580,1581]],[[64909,64909],"mapped",[1605,1580,1605]],[[64910,64910],"mapped",[1605,1582,1580]],[[64911,64911],"mapped",[1605,1582,1605]],[[64912,64913],"disallowed"],[[64914,64914],"mapped",[1605,1580,1582]],[[64915,64915],"mapped",[1607,1605,1580]],[[64916,64916],"mapped",[1607,1605,1605]],[[64917,64917],"mapped",[1606,1581,1605]],[[64918,64918],"mapped",[1606,1581,1609]],[[64919,64920],"mapped",[1606,1580,1605]],[[64921,64921],"mapped",[1606,1580,1609]],[[64922,64922],"mapped",[1606,1605,1610]],[[64923,64923],"mapped",[1606,1605,1609]],[[64924,64925],"mapped",[1610,1605,1605]],[[64926,64926],"mapped",[1576,1582,1610]],[[64927,64927],"mapped",[1578,1580,1610]],[[64928,64928],"mapped",[1578,1580,1609]],[[64929,64929],"mapped",[1578,1582,1610]],[[64930,64930],"mapped",[1578,1582,1609]],[[64931,64931],"mapped",[1578,1605,1610]],[[64932,64932],"mapped",[1578,1605,1609]],[[64933,64933],"mapped",[1580,1605,1610]],[[64934,64934],"mapped",[1580,1581,1609]],[[64935,64935],"mapped",[1580,1605,1609]],[[64936,64936],"mapped",[1587,1582,1609]],[[64937,64937],"mapped",[1589,1581,1610]],[[64938,64938],"mapped",[1588,1581,1610]],[[64939,64939],"mapped",[1590,1581,1610]],[[64940,64940],"mapped",[1604,1580,1610]],[[64941,64941],"mapped",[1604,1605,1610]],[[64942,64942],"mapped",[1610,1581,1610]],[[64943,64943],"mapped",[1610,1580,1610]],[[64944,64944],"mapped",[1610,1605,1610]],[[64945,64945],"mapped",[1605,1605,1610]],[[64946,64946],"mapped",[1602,1605,1610]],[[64947,64947],"mapped",[1606,1581,1610]],[[64948,64948],"mapped",[1602,1605,1581]],[[64949,64949],"mapped",[1604,1581,1605]],[[64950,64950],"mapped",[1593,1605,1610]],[[64951,64951],"mapped",[1603,1605,1610]],[[64952,64952],"mapped",[1606,1580,1581]],[[64953,64953],"mapped",[1605,1582,1610]],[[64954,64954],"mapped",[1604,1580,1605]],[[64955,64955],"mapped",[1603,1605,1605]],[[64956,64956],"mapped",[1604,1580,1605]],[[64957,64957],"mapped",[1606,1580,1581]],[[64958,64958],"mapped",[1580,1581,1610]],[[64959,64959],"mapped",[1581,1580,1610]],[[64960,64960],"mapped",[1605,1580,1610]],[[64961,64961],"mapped",[1601,1605,1610]],[[64962,64962],"mapped",[1576,1581,1610]],[[64963,64963],"mapped",[1603,1605,1605]],[[64964,64964],"mapped",[1593,1580,1605]],[[64965,64965],"mapped",[1589,1605,1605]],[[64966,64966],"mapped",[1587,1582,1610]],[[64967,64967],"mapped",[1606,1580,1610]],[[64968,64975],"disallowed"],[[64976,65007],"disallowed"],[[65008,65008],"mapped",[1589,1604,1746]],[[65009,65009],"mapped",[1602,1604,1746]],[[65010,65010],"mapped",[1575,1604,1604,1607]],[[65011,65011],"mapped",[1575,1603,1576,1585]],[[65012,65012],"mapped",[1605,1581,1605,1583]],[[65013,65013],"mapped",[1589,1604,1593,1605]],[[65014,65014],"mapped",[1585,1587,1608,1604]],[[65015,65015],"mapped",[1593,1604,1610,1607]],[[65016,65016],"mapped",[1608,1587,1604,1605]],[[65017,65017],"mapped",[1589,1604,1609]],[[65018,65018],"disallowed_STD3_mapped",[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605]],[[65019,65019],"disallowed_STD3_mapped",[1580,1604,32,1580,1604,1575,1604,1607]],[[65020,65020],"mapped",[1585,1740,1575,1604]],[[65021,65021],"valid",[],"NV8"],[[65022,65023],"disallowed"],[[65024,65039],"ignored"],[[65040,65040],"disallowed_STD3_mapped",[44]],[[65041,65041],"mapped",[12289]],[[65042,65042],"disallowed"],[[65043,65043],"disallowed_STD3_mapped",[58]],[[65044,65044],"disallowed_STD3_mapped",[59]],[[65045,65045],"disallowed_STD3_mapped",[33]],[[65046,65046],"disallowed_STD3_mapped",[63]],[[65047,65047],"mapped",[12310]],[[65048,65048],"mapped",[12311]],[[65049,65049],"disallowed"],[[65050,65055],"disallowed"],[[65056,65059],"valid"],[[65060,65062],"valid"],[[65063,65069],"valid"],[[65070,65071],"valid"],[[65072,65072],"disallowed"],[[65073,65073],"mapped",[8212]],[[65074,65074],"mapped",[8211]],[[65075,65076],"disallowed_STD3_mapped",[95]],[[65077,65077],"disallowed_STD3_mapped",[40]],[[65078,65078],"disallowed_STD3_mapped",[41]],[[65079,65079],"disallowed_STD3_mapped",[123]],[[65080,65080],"disallowed_STD3_mapped",[125]],[[65081,65081],"mapped",[12308]],[[65082,65082],"mapped",[12309]],[[65083,65083],"mapped",[12304]],[[65084,65084],"mapped",[12305]],[[65085,65085],"mapped",[12298]],[[65086,65086],"mapped",[12299]],[[65087,65087],"mapped",[12296]],[[65088,65088],"mapped",[12297]],[[65089,65089],"mapped",[12300]],[[65090,65090],"mapped",[12301]],[[65091,65091],"mapped",[12302]],[[65092,65092],"mapped",[12303]],[[65093,65094],"valid",[],"NV8"],[[65095,65095],"disallowed_STD3_mapped",[91]],[[65096,65096],"disallowed_STD3_mapped",[93]],[[65097,65100],"disallowed_STD3_mapped",[32,773]],[[65101,65103],"disallowed_STD3_mapped",[95]],[[65104,65104],"disallowed_STD3_mapped",[44]],[[65105,65105],"mapped",[12289]],[[65106,65106],"disallowed"],[[65107,65107],"disallowed"],[[65108,65108],"disallowed_STD3_mapped",[59]],[[65109,65109],"disallowed_STD3_mapped",[58]],[[65110,65110],"disallowed_STD3_mapped",[63]],[[65111,65111],"disallowed_STD3_mapped",[33]],[[65112,65112],"mapped",[8212]],[[65113,65113],"disallowed_STD3_mapped",[40]],[[65114,65114],"disallowed_STD3_mapped",[41]],[[65115,65115],"disallowed_STD3_mapped",[123]],[[65116,65116],"disallowed_STD3_mapped",[125]],[[65117,65117],"mapped",[12308]],[[65118,65118],"mapped",[12309]],[[65119,65119],"disallowed_STD3_mapped",[35]],[[65120,65120],"disallowed_STD3_mapped",[38]],[[65121,65121],"disallowed_STD3_mapped",[42]],[[65122,65122],"disallowed_STD3_mapped",[43]],[[65123,65123],"mapped",[45]],[[65124,65124],"disallowed_STD3_mapped",[60]],[[65125,65125],"disallowed_STD3_mapped",[62]],[[65126,65126],"disallowed_STD3_mapped",[61]],[[65127,65127],"disallowed"],[[65128,65128],"disallowed_STD3_mapped",[92]],[[65129,65129],"disallowed_STD3_mapped",[36]],[[65130,65130],"disallowed_STD3_mapped",[37]],[[65131,65131],"disallowed_STD3_mapped",[64]],[[65132,65135],"disallowed"],[[65136,65136],"disallowed_STD3_mapped",[32,1611]],[[65137,65137],"mapped",[1600,1611]],[[65138,65138],"disallowed_STD3_mapped",[32,1612]],[[65139,65139],"valid"],[[65140,65140],"disallowed_STD3_mapped",[32,1613]],[[65141,65141],"disallowed"],[[65142,65142],"disallowed_STD3_mapped",[32,1614]],[[65143,65143],"mapped",[1600,1614]],[[65144,65144],"disallowed_STD3_mapped",[32,1615]],[[65145,65145],"mapped",[1600,1615]],[[65146,65146],"disallowed_STD3_mapped",[32,1616]],[[65147,65147],"mapped",[1600,1616]],[[65148,65148],"disallowed_STD3_mapped",[32,1617]],[[65149,65149],"mapped",[1600,1617]],[[65150,65150],"disallowed_STD3_mapped",[32,1618]],[[65151,65151],"mapped",[1600,1618]],[[65152,65152],"mapped",[1569]],[[65153,65154],"mapped",[1570]],[[65155,65156],"mapped",[1571]],[[65157,65158],"mapped",[1572]],[[65159,65160],"mapped",[1573]],[[65161,65164],"mapped",[1574]],[[65165,65166],"mapped",[1575]],[[65167,65170],"mapped",[1576]],[[65171,65172],"mapped",[1577]],[[65173,65176],"mapped",[1578]],[[65177,65180],"mapped",[1579]],[[65181,65184],"mapped",[1580]],[[65185,65188],"mapped",[1581]],[[65189,65192],"mapped",[1582]],[[65193,65194],"mapped",[1583]],[[65195,65196],"mapped",[1584]],[[65197,65198],"mapped",[1585]],[[65199,65200],"mapped",[1586]],[[65201,65204],"mapped",[1587]],[[65205,65208],"mapped",[1588]],[[65209,65212],"mapped",[1589]],[[65213,65216],"mapped",[1590]],[[65217,65220],"mapped",[1591]],[[65221,65224],"mapped",[1592]],[[65225,65228],"mapped",[1593]],[[65229,65232],"mapped",[1594]],[[65233,65236],"mapped",[1601]],[[65237,65240],"mapped",[1602]],[[65241,65244],"mapped",[1603]],[[65245,65248],"mapped",[1604]],[[65249,65252],"mapped",[1605]],[[65253,65256],"mapped",[1606]],[[65257,65260],"mapped",[1607]],[[65261,65262],"mapped",[1608]],[[65263,65264],"mapped",[1609]],[[65265,65268],"mapped",[1610]],[[65269,65270],"mapped",[1604,1570]],[[65271,65272],"mapped",[1604,1571]],[[65273,65274],"mapped",[1604,1573]],[[65275,65276],"mapped",[1604,1575]],[[65277,65278],"disallowed"],[[65279,65279],"ignored"],[[65280,65280],"disallowed"],[[65281,65281],"disallowed_STD3_mapped",[33]],[[65282,65282],"disallowed_STD3_mapped",[34]],[[65283,65283],"disallowed_STD3_mapped",[35]],[[65284,65284],"disallowed_STD3_mapped",[36]],[[65285,65285],"disallowed_STD3_mapped",[37]],[[65286,65286],"disallowed_STD3_mapped",[38]],[[65287,65287],"disallowed_STD3_mapped",[39]],[[65288,65288],"disallowed_STD3_mapped",[40]],[[65289,65289],"disallowed_STD3_mapped",[41]],[[65290,65290],"disallowed_STD3_mapped",[42]],[[65291,65291],"disallowed_STD3_mapped",[43]],[[65292,65292],"disallowed_STD3_mapped",[44]],[[65293,65293],"mapped",[45]],[[65294,65294],"mapped",[46]],[[65295,65295],"disallowed_STD3_mapped",[47]],[[65296,65296],"mapped",[48]],[[65297,65297],"mapped",[49]],[[65298,65298],"mapped",[50]],[[65299,65299],"mapped",[51]],[[65300,65300],"mapped",[52]],[[65301,65301],"mapped",[53]],[[65302,65302],"mapped",[54]],[[65303,65303],"mapped",[55]],[[65304,65304],"mapped",[56]],[[65305,65305],"mapped",[57]],[[65306,65306],"disallowed_STD3_mapped",[58]],[[65307,65307],"disallowed_STD3_mapped",[59]],[[65308,65308],"disallowed_STD3_mapped",[60]],[[65309,65309],"disallowed_STD3_mapped",[61]],[[65310,65310],"disallowed_STD3_mapped",[62]],[[65311,65311],"disallowed_STD3_mapped",[63]],[[65312,65312],"disallowed_STD3_mapped",[64]],[[65313,65313],"mapped",[97]],[[65314,65314],"mapped",[98]],[[65315,65315],"mapped",[99]],[[65316,65316],"mapped",[100]],[[65317,65317],"mapped",[101]],[[65318,65318],"mapped",[102]],[[65319,65319],"mapped",[103]],[[65320,65320],"mapped",[104]],[[65321,65321],"mapped",[105]],[[65322,65322],"mapped",[106]],[[65323,65323],"mapped",[107]],[[65324,65324],"mapped",[108]],[[65325,65325],"mapped",[109]],[[65326,65326],"mapped",[110]],[[65327,65327],"mapped",[111]],[[65328,65328],"mapped",[112]],[[65329,65329],"mapped",[113]],[[65330,65330],"mapped",[114]],[[65331,65331],"mapped",[115]],[[65332,65332],"mapped",[116]],[[65333,65333],"mapped",[117]],[[65334,65334],"mapped",[118]],[[65335,65335],"mapped",[119]],[[65336,65336],"mapped",[120]],[[65337,65337],"mapped",[121]],[[65338,65338],"mapped",[122]],[[65339,65339],"disallowed_STD3_mapped",[91]],[[65340,65340],"disallowed_STD3_mapped",[92]],[[65341,65341],"disallowed_STD3_mapped",[93]],[[65342,65342],"disallowed_STD3_mapped",[94]],[[65343,65343],"disallowed_STD3_mapped",[95]],[[65344,65344],"disallowed_STD3_mapped",[96]],[[65345,65345],"mapped",[97]],[[65346,65346],"mapped",[98]],[[65347,65347],"mapped",[99]],[[65348,65348],"mapped",[100]],[[65349,65349],"mapped",[101]],[[65350,65350],"mapped",[102]],[[65351,65351],"mapped",[103]],[[65352,65352],"mapped",[104]],[[65353,65353],"mapped",[105]],[[65354,65354],"mapped",[106]],[[65355,65355],"mapped",[107]],[[65356,65356],"mapped",[108]],[[65357,65357],"mapped",[109]],[[65358,65358],"mapped",[110]],[[65359,65359],"mapped",[111]],[[65360,65360],"mapped",[112]],[[65361,65361],"mapped",[113]],[[65362,65362],"mapped",[114]],[[65363,65363],"mapped",[115]],[[65364,65364],"mapped",[116]],[[65365,65365],"mapped",[117]],[[65366,65366],"mapped",[118]],[[65367,65367],"mapped",[119]],[[65368,65368],"mapped",[120]],[[65369,65369],"mapped",[121]],[[65370,65370],"mapped",[122]],[[65371,65371],"disallowed_STD3_mapped",[123]],[[65372,65372],"disallowed_STD3_mapped",[124]],[[65373,65373],"disallowed_STD3_mapped",[125]],[[65374,65374],"disallowed_STD3_mapped",[126]],[[65375,65375],"mapped",[10629]],[[65376,65376],"mapped",[10630]],[[65377,65377],"mapped",[46]],[[65378,65378],"mapped",[12300]],[[65379,65379],"mapped",[12301]],[[65380,65380],"mapped",[12289]],[[65381,65381],"mapped",[12539]],[[65382,65382],"mapped",[12530]],[[65383,65383],"mapped",[12449]],[[65384,65384],"mapped",[12451]],[[65385,65385],"mapped",[12453]],[[65386,65386],"mapped",[12455]],[[65387,65387],"mapped",[12457]],[[65388,65388],"mapped",[12515]],[[65389,65389],"mapped",[12517]],[[65390,65390],"mapped",[12519]],[[65391,65391],"mapped",[12483]],[[65392,65392],"mapped",[12540]],[[65393,65393],"mapped",[12450]],[[65394,65394],"mapped",[12452]],[[65395,65395],"mapped",[12454]],[[65396,65396],"mapped",[12456]],[[65397,65397],"mapped",[12458]],[[65398,65398],"mapped",[12459]],[[65399,65399],"mapped",[12461]],[[65400,65400],"mapped",[12463]],[[65401,65401],"mapped",[12465]],[[65402,65402],"mapped",[12467]],[[65403,65403],"mapped",[12469]],[[65404,65404],"mapped",[12471]],[[65405,65405],"mapped",[12473]],[[65406,65406],"mapped",[12475]],[[65407,65407],"mapped",[12477]],[[65408,65408],"mapped",[12479]],[[65409,65409],"mapped",[12481]],[[65410,65410],"mapped",[12484]],[[65411,65411],"mapped",[12486]],[[65412,65412],"mapped",[12488]],[[65413,65413],"mapped",[12490]],[[65414,65414],"mapped",[12491]],[[65415,65415],"mapped",[12492]],[[65416,65416],"mapped",[12493]],[[65417,65417],"mapped",[12494]],[[65418,65418],"mapped",[12495]],[[65419,65419],"mapped",[12498]],[[65420,65420],"mapped",[12501]],[[65421,65421],"mapped",[12504]],[[65422,65422],"mapped",[12507]],[[65423,65423],"mapped",[12510]],[[65424,65424],"mapped",[12511]],[[65425,65425],"mapped",[12512]],[[65426,65426],"mapped",[12513]],[[65427,65427],"mapped",[12514]],[[65428,65428],"mapped",[12516]],[[65429,65429],"mapped",[12518]],[[65430,65430],"mapped",[12520]],[[65431,65431],"mapped",[12521]],[[65432,65432],"mapped",[12522]],[[65433,65433],"mapped",[12523]],[[65434,65434],"mapped",[12524]],[[65435,65435],"mapped",[12525]],[[65436,65436],"mapped",[12527]],[[65437,65437],"mapped",[12531]],[[65438,65438],"mapped",[12441]],[[65439,65439],"mapped",[12442]],[[65440,65440],"disallowed"],[[65441,65441],"mapped",[4352]],[[65442,65442],"mapped",[4353]],[[65443,65443],"mapped",[4522]],[[65444,65444],"mapped",[4354]],[[65445,65445],"mapped",[4524]],[[65446,65446],"mapped",[4525]],[[65447,65447],"mapped",[4355]],[[65448,65448],"mapped",[4356]],[[65449,65449],"mapped",[4357]],[[65450,65450],"mapped",[4528]],[[65451,65451],"mapped",[4529]],[[65452,65452],"mapped",[4530]],[[65453,65453],"mapped",[4531]],[[65454,65454],"mapped",[4532]],[[65455,65455],"mapped",[4533]],[[65456,65456],"mapped",[4378]],[[65457,65457],"mapped",[4358]],[[65458,65458],"mapped",[4359]],[[65459,65459],"mapped",[4360]],[[65460,65460],"mapped",[4385]],[[65461,65461],"mapped",[4361]],[[65462,65462],"mapped",[4362]],[[65463,65463],"mapped",[4363]],[[65464,65464],"mapped",[4364]],[[65465,65465],"mapped",[4365]],[[65466,65466],"mapped",[4366]],[[65467,65467],"mapped",[4367]],[[65468,65468],"mapped",[4368]],[[65469,65469],"mapped",[4369]],[[65470,65470],"mapped",[4370]],[[65471,65473],"disallowed"],[[65474,65474],"mapped",[4449]],[[65475,65475],"mapped",[4450]],[[65476,65476],"mapped",[4451]],[[65477,65477],"mapped",[4452]],[[65478,65478],"mapped",[4453]],[[65479,65479],"mapped",[4454]],[[65480,65481],"disallowed"],[[65482,65482],"mapped",[4455]],[[65483,65483],"mapped",[4456]],[[65484,65484],"mapped",[4457]],[[65485,65485],"mapped",[4458]],[[65486,65486],"mapped",[4459]],[[65487,65487],"mapped",[4460]],[[65488,65489],"disallowed"],[[65490,65490],"mapped",[4461]],[[65491,65491],"mapped",[4462]],[[65492,65492],"mapped",[4463]],[[65493,65493],"mapped",[4464]],[[65494,65494],"mapped",[4465]],[[65495,65495],"mapped",[4466]],[[65496,65497],"disallowed"],[[65498,65498],"mapped",[4467]],[[65499,65499],"mapped",[4468]],[[65500,65500],"mapped",[4469]],[[65501,65503],"disallowed"],[[65504,65504],"mapped",[162]],[[65505,65505],"mapped",[163]],[[65506,65506],"mapped",[172]],[[65507,65507],"disallowed_STD3_mapped",[32,772]],[[65508,65508],"mapped",[166]],[[65509,65509],"mapped",[165]],[[65510,65510],"mapped",[8361]],[[65511,65511],"disallowed"],[[65512,65512],"mapped",[9474]],[[65513,65513],"mapped",[8592]],[[65514,65514],"mapped",[8593]],[[65515,65515],"mapped",[8594]],[[65516,65516],"mapped",[8595]],[[65517,65517],"mapped",[9632]],[[65518,65518],"mapped",[9675]],[[65519,65528],"disallowed"],[[65529,65531],"disallowed"],[[65532,65532],"disallowed"],[[65533,65533],"disallowed"],[[65534,65535],"disallowed"],[[65536,65547],"valid"],[[65548,65548],"disallowed"],[[65549,65574],"valid"],[[65575,65575],"disallowed"],[[65576,65594],"valid"],[[65595,65595],"disallowed"],[[65596,65597],"valid"],[[65598,65598],"disallowed"],[[65599,65613],"valid"],[[65614,65615],"disallowed"],[[65616,65629],"valid"],[[65630,65663],"disallowed"],[[65664,65786],"valid"],[[65787,65791],"disallowed"],[[65792,65794],"valid",[],"NV8"],[[65795,65798],"disallowed"],[[65799,65843],"valid",[],"NV8"],[[65844,65846],"disallowed"],[[65847,65855],"valid",[],"NV8"],[[65856,65930],"valid",[],"NV8"],[[65931,65932],"valid",[],"NV8"],[[65933,65935],"disallowed"],[[65936,65947],"valid",[],"NV8"],[[65948,65951],"disallowed"],[[65952,65952],"valid",[],"NV8"],[[65953,65999],"disallowed"],[[66000,66044],"valid",[],"NV8"],[[66045,66045],"valid"],[[66046,66175],"disallowed"],[[66176,66204],"valid"],[[66205,66207],"disallowed"],[[66208,66256],"valid"],[[66257,66271],"disallowed"],[[66272,66272],"valid"],[[66273,66299],"valid",[],"NV8"],[[66300,66303],"disallowed"],[[66304,66334],"valid"],[[66335,66335],"valid"],[[66336,66339],"valid",[],"NV8"],[[66340,66351],"disallowed"],[[66352,66368],"valid"],[[66369,66369],"valid",[],"NV8"],[[66370,66377],"valid"],[[66378,66378],"valid",[],"NV8"],[[66379,66383],"disallowed"],[[66384,66426],"valid"],[[66427,66431],"disallowed"],[[66432,66461],"valid"],[[66462,66462],"disallowed"],[[66463,66463],"valid",[],"NV8"],[[66464,66499],"valid"],[[66500,66503],"disallowed"],[[66504,66511],"valid"],[[66512,66517],"valid",[],"NV8"],[[66518,66559],"disallowed"],[[66560,66560],"mapped",[66600]],[[66561,66561],"mapped",[66601]],[[66562,66562],"mapped",[66602]],[[66563,66563],"mapped",[66603]],[[66564,66564],"mapped",[66604]],[[66565,66565],"mapped",[66605]],[[66566,66566],"mapped",[66606]],[[66567,66567],"mapped",[66607]],[[66568,66568],"mapped",[66608]],[[66569,66569],"mapped",[66609]],[[66570,66570],"mapped",[66610]],[[66571,66571],"mapped",[66611]],[[66572,66572],"mapped",[66612]],[[66573,66573],"mapped",[66613]],[[66574,66574],"mapped",[66614]],[[66575,66575],"mapped",[66615]],[[66576,66576],"mapped",[66616]],[[66577,66577],"mapped",[66617]],[[66578,66578],"mapped",[66618]],[[66579,66579],"mapped",[66619]],[[66580,66580],"mapped",[66620]],[[66581,66581],"mapped",[66621]],[[66582,66582],"mapped",[66622]],[[66583,66583],"mapped",[66623]],[[66584,66584],"mapped",[66624]],[[66585,66585],"mapped",[66625]],[[66586,66586],"mapped",[66626]],[[66587,66587],"mapped",[66627]],[[66588,66588],"mapped",[66628]],[[66589,66589],"mapped",[66629]],[[66590,66590],"mapped",[66630]],[[66591,66591],"mapped",[66631]],[[66592,66592],"mapped",[66632]],[[66593,66593],"mapped",[66633]],[[66594,66594],"mapped",[66634]],[[66595,66595],"mapped",[66635]],[[66596,66596],"mapped",[66636]],[[66597,66597],"mapped",[66637]],[[66598,66598],"mapped",[66638]],[[66599,66599],"mapped",[66639]],[[66600,66637],"valid"],[[66638,66717],"valid"],[[66718,66719],"disallowed"],[[66720,66729],"valid"],[[66730,66815],"disallowed"],[[66816,66855],"valid"],[[66856,66863],"disallowed"],[[66864,66915],"valid"],[[66916,66926],"disallowed"],[[66927,66927],"valid",[],"NV8"],[[66928,67071],"disallowed"],[[67072,67382],"valid"],[[67383,67391],"disallowed"],[[67392,67413],"valid"],[[67414,67423],"disallowed"],[[67424,67431],"valid"],[[67432,67583],"disallowed"],[[67584,67589],"valid"],[[67590,67591],"disallowed"],[[67592,67592],"valid"],[[67593,67593],"disallowed"],[[67594,67637],"valid"],[[67638,67638],"disallowed"],[[67639,67640],"valid"],[[67641,67643],"disallowed"],[[67644,67644],"valid"],[[67645,67646],"disallowed"],[[67647,67647],"valid"],[[67648,67669],"valid"],[[67670,67670],"disallowed"],[[67671,67679],"valid",[],"NV8"],[[67680,67702],"valid"],[[67703,67711],"valid",[],"NV8"],[[67712,67742],"valid"],[[67743,67750],"disallowed"],[[67751,67759],"valid",[],"NV8"],[[67760,67807],"disallowed"],[[67808,67826],"valid"],[[67827,67827],"disallowed"],[[67828,67829],"valid"],[[67830,67834],"disallowed"],[[67835,67839],"valid",[],"NV8"],[[67840,67861],"valid"],[[67862,67865],"valid",[],"NV8"],[[67866,67867],"valid",[],"NV8"],[[67868,67870],"disallowed"],[[67871,67871],"valid",[],"NV8"],[[67872,67897],"valid"],[[67898,67902],"disallowed"],[[67903,67903],"valid",[],"NV8"],[[67904,67967],"disallowed"],[[67968,68023],"valid"],[[68024,68027],"disallowed"],[[68028,68029],"valid",[],"NV8"],[[68030,68031],"valid"],[[68032,68047],"valid",[],"NV8"],[[68048,68049],"disallowed"],[[68050,68095],"valid",[],"NV8"],[[68096,68099],"valid"],[[68100,68100],"disallowed"],[[68101,68102],"valid"],[[68103,68107],"disallowed"],[[68108,68115],"valid"],[[68116,68116],"disallowed"],[[68117,68119],"valid"],[[68120,68120],"disallowed"],[[68121,68147],"valid"],[[68148,68151],"disallowed"],[[68152,68154],"valid"],[[68155,68158],"disallowed"],[[68159,68159],"valid"],[[68160,68167],"valid",[],"NV8"],[[68168,68175],"disallowed"],[[68176,68184],"valid",[],"NV8"],[[68185,68191],"disallowed"],[[68192,68220],"valid"],[[68221,68223],"valid",[],"NV8"],[[68224,68252],"valid"],[[68253,68255],"valid",[],"NV8"],[[68256,68287],"disallowed"],[[68288,68295],"valid"],[[68296,68296],"valid",[],"NV8"],[[68297,68326],"valid"],[[68327,68330],"disallowed"],[[68331,68342],"valid",[],"NV8"],[[68343,68351],"disallowed"],[[68352,68405],"valid"],[[68406,68408],"disallowed"],[[68409,68415],"valid",[],"NV8"],[[68416,68437],"valid"],[[68438,68439],"disallowed"],[[68440,68447],"valid",[],"NV8"],[[68448,68466],"valid"],[[68467,68471],"disallowed"],[[68472,68479],"valid",[],"NV8"],[[68480,68497],"valid"],[[68498,68504],"disallowed"],[[68505,68508],"valid",[],"NV8"],[[68509,68520],"disallowed"],[[68521,68527],"valid",[],"NV8"],[[68528,68607],"disallowed"],[[68608,68680],"valid"],[[68681,68735],"disallowed"],[[68736,68736],"mapped",[68800]],[[68737,68737],"mapped",[68801]],[[68738,68738],"mapped",[68802]],[[68739,68739],"mapped",[68803]],[[68740,68740],"mapped",[68804]],[[68741,68741],"mapped",[68805]],[[68742,68742],"mapped",[68806]],[[68743,68743],"mapped",[68807]],[[68744,68744],"mapped",[68808]],[[68745,68745],"mapped",[68809]],[[68746,68746],"mapped",[68810]],[[68747,68747],"mapped",[68811]],[[68748,68748],"mapped",[68812]],[[68749,68749],"mapped",[68813]],[[68750,68750],"mapped",[68814]],[[68751,68751],"mapped",[68815]],[[68752,68752],"mapped",[68816]],[[68753,68753],"mapped",[68817]],[[68754,68754],"mapped",[68818]],[[68755,68755],"mapped",[68819]],[[68756,68756],"mapped",[68820]],[[68757,68757],"mapped",[68821]],[[68758,68758],"mapped",[68822]],[[68759,68759],"mapped",[68823]],[[68760,68760],"mapped",[68824]],[[68761,68761],"mapped",[68825]],[[68762,68762],"mapped",[68826]],[[68763,68763],"mapped",[68827]],[[68764,68764],"mapped",[68828]],[[68765,68765],"mapped",[68829]],[[68766,68766],"mapped",[68830]],[[68767,68767],"mapped",[68831]],[[68768,68768],"mapped",[68832]],[[68769,68769],"mapped",[68833]],[[68770,68770],"mapped",[68834]],[[68771,68771],"mapped",[68835]],[[68772,68772],"mapped",[68836]],[[68773,68773],"mapped",[68837]],[[68774,68774],"mapped",[68838]],[[68775,68775],"mapped",[68839]],[[68776,68776],"mapped",[68840]],[[68777,68777],"mapped",[68841]],[[68778,68778],"mapped",[68842]],[[68779,68779],"mapped",[68843]],[[68780,68780],"mapped",[68844]],[[68781,68781],"mapped",[68845]],[[68782,68782],"mapped",[68846]],[[68783,68783],"mapped",[68847]],[[68784,68784],"mapped",[68848]],[[68785,68785],"mapped",[68849]],[[68786,68786],"mapped",[68850]],[[68787,68799],"disallowed"],[[68800,68850],"valid"],[[68851,68857],"disallowed"],[[68858,68863],"valid",[],"NV8"],[[68864,69215],"disallowed"],[[69216,69246],"valid",[],"NV8"],[[69247,69631],"disallowed"],[[69632,69702],"valid"],[[69703,69709],"valid",[],"NV8"],[[69710,69713],"disallowed"],[[69714,69733],"valid",[],"NV8"],[[69734,69743],"valid"],[[69744,69758],"disallowed"],[[69759,69759],"valid"],[[69760,69818],"valid"],[[69819,69820],"valid",[],"NV8"],[[69821,69821],"disallowed"],[[69822,69825],"valid",[],"NV8"],[[69826,69839],"disallowed"],[[69840,69864],"valid"],[[69865,69871],"disallowed"],[[69872,69881],"valid"],[[69882,69887],"disallowed"],[[69888,69940],"valid"],[[69941,69941],"disallowed"],[[69942,69951],"valid"],[[69952,69955],"valid",[],"NV8"],[[69956,69967],"disallowed"],[[69968,70003],"valid"],[[70004,70005],"valid",[],"NV8"],[[70006,70006],"valid"],[[70007,70015],"disallowed"],[[70016,70084],"valid"],[[70085,70088],"valid",[],"NV8"],[[70089,70089],"valid",[],"NV8"],[[70090,70092],"valid"],[[70093,70093],"valid",[],"NV8"],[[70094,70095],"disallowed"],[[70096,70105],"valid"],[[70106,70106],"valid"],[[70107,70107],"valid",[],"NV8"],[[70108,70108],"valid"],[[70109,70111],"valid",[],"NV8"],[[70112,70112],"disallowed"],[[70113,70132],"valid",[],"NV8"],[[70133,70143],"disallowed"],[[70144,70161],"valid"],[[70162,70162],"disallowed"],[[70163,70199],"valid"],[[70200,70205],"valid",[],"NV8"],[[70206,70271],"disallowed"],[[70272,70278],"valid"],[[70279,70279],"disallowed"],[[70280,70280],"valid"],[[70281,70281],"disallowed"],[[70282,70285],"valid"],[[70286,70286],"disallowed"],[[70287,70301],"valid"],[[70302,70302],"disallowed"],[[70303,70312],"valid"],[[70313,70313],"valid",[],"NV8"],[[70314,70319],"disallowed"],[[70320,70378],"valid"],[[70379,70383],"disallowed"],[[70384,70393],"valid"],[[70394,70399],"disallowed"],[[70400,70400],"valid"],[[70401,70403],"valid"],[[70404,70404],"disallowed"],[[70405,70412],"valid"],[[70413,70414],"disallowed"],[[70415,70416],"valid"],[[70417,70418],"disallowed"],[[70419,70440],"valid"],[[70441,70441],"disallowed"],[[70442,70448],"valid"],[[70449,70449],"disallowed"],[[70450,70451],"valid"],[[70452,70452],"disallowed"],[[70453,70457],"valid"],[[70458,70459],"disallowed"],[[70460,70468],"valid"],[[70469,70470],"disallowed"],[[70471,70472],"valid"],[[70473,70474],"disallowed"],[[70475,70477],"valid"],[[70478,70479],"disallowed"],[[70480,70480],"valid"],[[70481,70486],"disallowed"],[[70487,70487],"valid"],[[70488,70492],"disallowed"],[[70493,70499],"valid"],[[70500,70501],"disallowed"],[[70502,70508],"valid"],[[70509,70511],"disallowed"],[[70512,70516],"valid"],[[70517,70783],"disallowed"],[[70784,70853],"valid"],[[70854,70854],"valid",[],"NV8"],[[70855,70855],"valid"],[[70856,70863],"disallowed"],[[70864,70873],"valid"],[[70874,71039],"disallowed"],[[71040,71093],"valid"],[[71094,71095],"disallowed"],[[71096,71104],"valid"],[[71105,71113],"valid",[],"NV8"],[[71114,71127],"valid",[],"NV8"],[[71128,71133],"valid"],[[71134,71167],"disallowed"],[[71168,71232],"valid"],[[71233,71235],"valid",[],"NV8"],[[71236,71236],"valid"],[[71237,71247],"disallowed"],[[71248,71257],"valid"],[[71258,71295],"disallowed"],[[71296,71351],"valid"],[[71352,71359],"disallowed"],[[71360,71369],"valid"],[[71370,71423],"disallowed"],[[71424,71449],"valid"],[[71450,71452],"disallowed"],[[71453,71467],"valid"],[[71468,71471],"disallowed"],[[71472,71481],"valid"],[[71482,71487],"valid",[],"NV8"],[[71488,71839],"disallowed"],[[71840,71840],"mapped",[71872]],[[71841,71841],"mapped",[71873]],[[71842,71842],"mapped",[71874]],[[71843,71843],"mapped",[71875]],[[71844,71844],"mapped",[71876]],[[71845,71845],"mapped",[71877]],[[71846,71846],"mapped",[71878]],[[71847,71847],"mapped",[71879]],[[71848,71848],"mapped",[71880]],[[71849,71849],"mapped",[71881]],[[71850,71850],"mapped",[71882]],[[71851,71851],"mapped",[71883]],[[71852,71852],"mapped",[71884]],[[71853,71853],"mapped",[71885]],[[71854,71854],"mapped",[71886]],[[71855,71855],"mapped",[71887]],[[71856,71856],"mapped",[71888]],[[71857,71857],"mapped",[71889]],[[71858,71858],"mapped",[71890]],[[71859,71859],"mapped",[71891]],[[71860,71860],"mapped",[71892]],[[71861,71861],"mapped",[71893]],[[71862,71862],"mapped",[71894]],[[71863,71863],"mapped",[71895]],[[71864,71864],"mapped",[71896]],[[71865,71865],"mapped",[71897]],[[71866,71866],"mapped",[71898]],[[71867,71867],"mapped",[71899]],[[71868,71868],"mapped",[71900]],[[71869,71869],"mapped",[71901]],[[71870,71870],"mapped",[71902]],[[71871,71871],"mapped",[71903]],[[71872,71913],"valid"],[[71914,71922],"valid",[],"NV8"],[[71923,71934],"disallowed"],[[71935,71935],"valid"],[[71936,72383],"disallowed"],[[72384,72440],"valid"],[[72441,73727],"disallowed"],[[73728,74606],"valid"],[[74607,74648],"valid"],[[74649,74649],"valid"],[[74650,74751],"disallowed"],[[74752,74850],"valid",[],"NV8"],[[74851,74862],"valid",[],"NV8"],[[74863,74863],"disallowed"],[[74864,74867],"valid",[],"NV8"],[[74868,74868],"valid",[],"NV8"],[[74869,74879],"disallowed"],[[74880,75075],"valid"],[[75076,77823],"disallowed"],[[77824,78894],"valid"],[[78895,82943],"disallowed"],[[82944,83526],"valid"],[[83527,92159],"disallowed"],[[92160,92728],"valid"],[[92729,92735],"disallowed"],[[92736,92766],"valid"],[[92767,92767],"disallowed"],[[92768,92777],"valid"],[[92778,92781],"disallowed"],[[92782,92783],"valid",[],"NV8"],[[92784,92879],"disallowed"],[[92880,92909],"valid"],[[92910,92911],"disallowed"],[[92912,92916],"valid"],[[92917,92917],"valid",[],"NV8"],[[92918,92927],"disallowed"],[[92928,92982],"valid"],[[92983,92991],"valid",[],"NV8"],[[92992,92995],"valid"],[[92996,92997],"valid",[],"NV8"],[[92998,93007],"disallowed"],[[93008,93017],"valid"],[[93018,93018],"disallowed"],[[93019,93025],"valid",[],"NV8"],[[93026,93026],"disallowed"],[[93027,93047],"valid"],[[93048,93052],"disallowed"],[[93053,93071],"valid"],[[93072,93951],"disallowed"],[[93952,94020],"valid"],[[94021,94031],"disallowed"],[[94032,94078],"valid"],[[94079,94094],"disallowed"],[[94095,94111],"valid"],[[94112,110591],"disallowed"],[[110592,110593],"valid"],[[110594,113663],"disallowed"],[[113664,113770],"valid"],[[113771,113775],"disallowed"],[[113776,113788],"valid"],[[113789,113791],"disallowed"],[[113792,113800],"valid"],[[113801,113807],"disallowed"],[[113808,113817],"valid"],[[113818,113819],"disallowed"],[[113820,113820],"valid",[],"NV8"],[[113821,113822],"valid"],[[113823,113823],"valid",[],"NV8"],[[113824,113827],"ignored"],[[113828,118783],"disallowed"],[[118784,119029],"valid",[],"NV8"],[[119030,119039],"disallowed"],[[119040,119078],"valid",[],"NV8"],[[119079,119080],"disallowed"],[[119081,119081],"valid",[],"NV8"],[[119082,119133],"valid",[],"NV8"],[[119134,119134],"mapped",[119127,119141]],[[119135,119135],"mapped",[119128,119141]],[[119136,119136],"mapped",[119128,119141,119150]],[[119137,119137],"mapped",[119128,119141,119151]],[[119138,119138],"mapped",[119128,119141,119152]],[[119139,119139],"mapped",[119128,119141,119153]],[[119140,119140],"mapped",[119128,119141,119154]],[[119141,119154],"valid",[],"NV8"],[[119155,119162],"disallowed"],[[119163,119226],"valid",[],"NV8"],[[119227,119227],"mapped",[119225,119141]],[[119228,119228],"mapped",[119226,119141]],[[119229,119229],"mapped",[119225,119141,119150]],[[119230,119230],"mapped",[119226,119141,119150]],[[119231,119231],"mapped",[119225,119141,119151]],[[119232,119232],"mapped",[119226,119141,119151]],[[119233,119261],"valid",[],"NV8"],[[119262,119272],"valid",[],"NV8"],[[119273,119295],"disallowed"],[[119296,119365],"valid",[],"NV8"],[[119366,119551],"disallowed"],[[119552,119638],"valid",[],"NV8"],[[119639,119647],"disallowed"],[[119648,119665],"valid",[],"NV8"],[[119666,119807],"disallowed"],[[119808,119808],"mapped",[97]],[[119809,119809],"mapped",[98]],[[119810,119810],"mapped",[99]],[[119811,119811],"mapped",[100]],[[119812,119812],"mapped",[101]],[[119813,119813],"mapped",[102]],[[119814,119814],"mapped",[103]],[[119815,119815],"mapped",[104]],[[119816,119816],"mapped",[105]],[[119817,119817],"mapped",[106]],[[119818,119818],"mapped",[107]],[[119819,119819],"mapped",[108]],[[119820,119820],"mapped",[109]],[[119821,119821],"mapped",[110]],[[119822,119822],"mapped",[111]],[[119823,119823],"mapped",[112]],[[119824,119824],"mapped",[113]],[[119825,119825],"mapped",[114]],[[119826,119826],"mapped",[115]],[[119827,119827],"mapped",[116]],[[119828,119828],"mapped",[117]],[[119829,119829],"mapped",[118]],[[119830,119830],"mapped",[119]],[[119831,119831],"mapped",[120]],[[119832,119832],"mapped",[121]],[[119833,119833],"mapped",[122]],[[119834,119834],"mapped",[97]],[[119835,119835],"mapped",[98]],[[119836,119836],"mapped",[99]],[[119837,119837],"mapped",[100]],[[119838,119838],"mapped",[101]],[[119839,119839],"mapped",[102]],[[119840,119840],"mapped",[103]],[[119841,119841],"mapped",[104]],[[119842,119842],"mapped",[105]],[[119843,119843],"mapped",[106]],[[119844,119844],"mapped",[107]],[[119845,119845],"mapped",[108]],[[119846,119846],"mapped",[109]],[[119847,119847],"mapped",[110]],[[119848,119848],"mapped",[111]],[[119849,119849],"mapped",[112]],[[119850,119850],"mapped",[113]],[[119851,119851],"mapped",[114]],[[119852,119852],"mapped",[115]],[[119853,119853],"mapped",[116]],[[119854,119854],"mapped",[117]],[[119855,119855],"mapped",[118]],[[119856,119856],"mapped",[119]],[[119857,119857],"mapped",[120]],[[119858,119858],"mapped",[121]],[[119859,119859],"mapped",[122]],[[119860,119860],"mapped",[97]],[[119861,119861],"mapped",[98]],[[119862,119862],"mapped",[99]],[[119863,119863],"mapped",[100]],[[119864,119864],"mapped",[101]],[[119865,119865],"mapped",[102]],[[119866,119866],"mapped",[103]],[[119867,119867],"mapped",[104]],[[119868,119868],"mapped",[105]],[[119869,119869],"mapped",[106]],[[119870,119870],"mapped",[107]],[[119871,119871],"mapped",[108]],[[119872,119872],"mapped",[109]],[[119873,119873],"mapped",[110]],[[119874,119874],"mapped",[111]],[[119875,119875],"mapped",[112]],[[119876,119876],"mapped",[113]],[[119877,119877],"mapped",[114]],[[119878,119878],"mapped",[115]],[[119879,119879],"mapped",[116]],[[119880,119880],"mapped",[117]],[[119881,119881],"mapped",[118]],[[119882,119882],"mapped",[119]],[[119883,119883],"mapped",[120]],[[119884,119884],"mapped",[121]],[[119885,119885],"mapped",[122]],[[119886,119886],"mapped",[97]],[[119887,119887],"mapped",[98]],[[119888,119888],"mapped",[99]],[[119889,119889],"mapped",[100]],[[119890,119890],"mapped",[101]],[[119891,119891],"mapped",[102]],[[119892,119892],"mapped",[103]],[[119893,119893],"disallowed"],[[119894,119894],"mapped",[105]],[[119895,119895],"mapped",[106]],[[119896,119896],"mapped",[107]],[[119897,119897],"mapped",[108]],[[119898,119898],"mapped",[109]],[[119899,119899],"mapped",[110]],[[119900,119900],"mapped",[111]],[[119901,119901],"mapped",[112]],[[119902,119902],"mapped",[113]],[[119903,119903],"mapped",[114]],[[119904,119904],"mapped",[115]],[[119905,119905],"mapped",[116]],[[119906,119906],"mapped",[117]],[[119907,119907],"mapped",[118]],[[119908,119908],"mapped",[119]],[[119909,119909],"mapped",[120]],[[119910,119910],"mapped",[121]],[[119911,119911],"mapped",[122]],[[119912,119912],"mapped",[97]],[[119913,119913],"mapped",[98]],[[119914,119914],"mapped",[99]],[[119915,119915],"mapped",[100]],[[119916,119916],"mapped",[101]],[[119917,119917],"mapped",[102]],[[119918,119918],"mapped",[103]],[[119919,119919],"mapped",[104]],[[119920,119920],"mapped",[105]],[[119921,119921],"mapped",[106]],[[119922,119922],"mapped",[107]],[[119923,119923],"mapped",[108]],[[119924,119924],"mapped",[109]],[[119925,119925],"mapped",[110]],[[119926,119926],"mapped",[111]],[[119927,119927],"mapped",[112]],[[119928,119928],"mapped",[113]],[[119929,119929],"mapped",[114]],[[119930,119930],"mapped",[115]],[[119931,119931],"mapped",[116]],[[119932,119932],"mapped",[117]],[[119933,119933],"mapped",[118]],[[119934,119934],"mapped",[119]],[[119935,119935],"mapped",[120]],[[119936,119936],"mapped",[121]],[[119937,119937],"mapped",[122]],[[119938,119938],"mapped",[97]],[[119939,119939],"mapped",[98]],[[119940,119940],"mapped",[99]],[[119941,119941],"mapped",[100]],[[119942,119942],"mapped",[101]],[[119943,119943],"mapped",[102]],[[119944,119944],"mapped",[103]],[[119945,119945],"mapped",[104]],[[119946,119946],"mapped",[105]],[[119947,119947],"mapped",[106]],[[119948,119948],"mapped",[107]],[[119949,119949],"mapped",[108]],[[119950,119950],"mapped",[109]],[[119951,119951],"mapped",[110]],[[119952,119952],"mapped",[111]],[[119953,119953],"mapped",[112]],[[119954,119954],"mapped",[113]],[[119955,119955],"mapped",[114]],[[119956,119956],"mapped",[115]],[[119957,119957],"mapped",[116]],[[119958,119958],"mapped",[117]],[[119959,119959],"mapped",[118]],[[119960,119960],"mapped",[119]],[[119961,119961],"mapped",[120]],[[119962,119962],"mapped",[121]],[[119963,119963],"mapped",[122]],[[119964,119964],"mapped",[97]],[[119965,119965],"disallowed"],[[119966,119966],"mapped",[99]],[[119967,119967],"mapped",[100]],[[119968,119969],"disallowed"],[[119970,119970],"mapped",[103]],[[119971,119972],"disallowed"],[[119973,119973],"mapped",[106]],[[119974,119974],"mapped",[107]],[[119975,119976],"disallowed"],[[119977,119977],"mapped",[110]],[[119978,119978],"mapped",[111]],[[119979,119979],"mapped",[112]],[[119980,119980],"mapped",[113]],[[119981,119981],"disallowed"],[[119982,119982],"mapped",[115]],[[119983,119983],"mapped",[116]],[[119984,119984],"mapped",[117]],[[119985,119985],"mapped",[118]],[[119986,119986],"mapped",[119]],[[119987,119987],"mapped",[120]],[[119988,119988],"mapped",[121]],[[119989,119989],"mapped",[122]],[[119990,119990],"mapped",[97]],[[119991,119991],"mapped",[98]],[[119992,119992],"mapped",[99]],[[119993,119993],"mapped",[100]],[[119994,119994],"disallowed"],[[119995,119995],"mapped",[102]],[[119996,119996],"disallowed"],[[119997,119997],"mapped",[104]],[[119998,119998],"mapped",[105]],[[119999,119999],"mapped",[106]],[[120000,120000],"mapped",[107]],[[120001,120001],"mapped",[108]],[[120002,120002],"mapped",[109]],[[120003,120003],"mapped",[110]],[[120004,120004],"disallowed"],[[120005,120005],"mapped",[112]],[[120006,120006],"mapped",[113]],[[120007,120007],"mapped",[114]],[[120008,120008],"mapped",[115]],[[120009,120009],"mapped",[116]],[[120010,120010],"mapped",[117]],[[120011,120011],"mapped",[118]],[[120012,120012],"mapped",[119]],[[120013,120013],"mapped",[120]],[[120014,120014],"mapped",[121]],[[120015,120015],"mapped",[122]],[[120016,120016],"mapped",[97]],[[120017,120017],"mapped",[98]],[[120018,120018],"mapped",[99]],[[120019,120019],"mapped",[100]],[[120020,120020],"mapped",[101]],[[120021,120021],"mapped",[102]],[[120022,120022],"mapped",[103]],[[120023,120023],"mapped",[104]],[[120024,120024],"mapped",[105]],[[120025,120025],"mapped",[106]],[[120026,120026],"mapped",[107]],[[120027,120027],"mapped",[108]],[[120028,120028],"mapped",[109]],[[120029,120029],"mapped",[110]],[[120030,120030],"mapped",[111]],[[120031,120031],"mapped",[112]],[[120032,120032],"mapped",[113]],[[120033,120033],"mapped",[114]],[[120034,120034],"mapped",[115]],[[120035,120035],"mapped",[116]],[[120036,120036],"mapped",[117]],[[120037,120037],"mapped",[118]],[[120038,120038],"mapped",[119]],[[120039,120039],"mapped",[120]],[[120040,120040],"mapped",[121]],[[120041,120041],"mapped",[122]],[[120042,120042],"mapped",[97]],[[120043,120043],"mapped",[98]],[[120044,120044],"mapped",[99]],[[120045,120045],"mapped",[100]],[[120046,120046],"mapped",[101]],[[120047,120047],"mapped",[102]],[[120048,120048],"mapped",[103]],[[120049,120049],"mapped",[104]],[[120050,120050],"mapped",[105]],[[120051,120051],"mapped",[106]],[[120052,120052],"mapped",[107]],[[120053,120053],"mapped",[108]],[[120054,120054],"mapped",[109]],[[120055,120055],"mapped",[110]],[[120056,120056],"mapped",[111]],[[120057,120057],"mapped",[112]],[[120058,120058],"mapped",[113]],[[120059,120059],"mapped",[114]],[[120060,120060],"mapped",[115]],[[120061,120061],"mapped",[116]],[[120062,120062],"mapped",[117]],[[120063,120063],"mapped",[118]],[[120064,120064],"mapped",[119]],[[120065,120065],"mapped",[120]],[[120066,120066],"mapped",[121]],[[120067,120067],"mapped",[122]],[[120068,120068],"mapped",[97]],[[120069,120069],"mapped",[98]],[[120070,120070],"disallowed"],[[120071,120071],"mapped",[100]],[[120072,120072],"mapped",[101]],[[120073,120073],"mapped",[102]],[[120074,120074],"mapped",[103]],[[120075,120076],"disallowed"],[[120077,120077],"mapped",[106]],[[120078,120078],"mapped",[107]],[[120079,120079],"mapped",[108]],[[120080,120080],"mapped",[109]],[[120081,120081],"mapped",[110]],[[120082,120082],"mapped",[111]],[[120083,120083],"mapped",[112]],[[120084,120084],"mapped",[113]],[[120085,120085],"disallowed"],[[120086,120086],"mapped",[115]],[[120087,120087],"mapped",[116]],[[120088,120088],"mapped",[117]],[[120089,120089],"mapped",[118]],[[120090,120090],"mapped",[119]],[[120091,120091],"mapped",[120]],[[120092,120092],"mapped",[121]],[[120093,120093],"disallowed"],[[120094,120094],"mapped",[97]],[[120095,120095],"mapped",[98]],[[120096,120096],"mapped",[99]],[[120097,120097],"mapped",[100]],[[120098,120098],"mapped",[101]],[[120099,120099],"mapped",[102]],[[120100,120100],"mapped",[103]],[[120101,120101],"mapped",[104]],[[120102,120102],"mapped",[105]],[[120103,120103],"mapped",[106]],[[120104,120104],"mapped",[107]],[[120105,120105],"mapped",[108]],[[120106,120106],"mapped",[109]],[[120107,120107],"mapped",[110]],[[120108,120108],"mapped",[111]],[[120109,120109],"mapped",[112]],[[120110,120110],"mapped",[113]],[[120111,120111],"mapped",[114]],[[120112,120112],"mapped",[115]],[[120113,120113],"mapped",[116]],[[120114,120114],"mapped",[117]],[[120115,120115],"mapped",[118]],[[120116,120116],"mapped",[119]],[[120117,120117],"mapped",[120]],[[120118,120118],"mapped",[121]],[[120119,120119],"mapped",[122]],[[120120,120120],"mapped",[97]],[[120121,120121],"mapped",[98]],[[120122,120122],"disallowed"],[[120123,120123],"mapped",[100]],[[120124,120124],"mapped",[101]],[[120125,120125],"mapped",[102]],[[120126,120126],"mapped",[103]],[[120127,120127],"disallowed"],[[120128,120128],"mapped",[105]],[[120129,120129],"mapped",[106]],[[120130,120130],"mapped",[107]],[[120131,120131],"mapped",[108]],[[120132,120132],"mapped",[109]],[[120133,120133],"disallowed"],[[120134,120134],"mapped",[111]],[[120135,120137],"disallowed"],[[120138,120138],"mapped",[115]],[[120139,120139],"mapped",[116]],[[120140,120140],"mapped",[117]],[[120141,120141],"mapped",[118]],[[120142,120142],"mapped",[119]],[[120143,120143],"mapped",[120]],[[120144,120144],"mapped",[121]],[[120145,120145],"disallowed"],[[120146,120146],"mapped",[97]],[[120147,120147],"mapped",[98]],[[120148,120148],"mapped",[99]],[[120149,120149],"mapped",[100]],[[120150,120150],"mapped",[101]],[[120151,120151],"mapped",[102]],[[120152,120152],"mapped",[103]],[[120153,120153],"mapped",[104]],[[120154,120154],"mapped",[105]],[[120155,120155],"mapped",[106]],[[120156,120156],"mapped",[107]],[[120157,120157],"mapped",[108]],[[120158,120158],"mapped",[109]],[[120159,120159],"mapped",[110]],[[120160,120160],"mapped",[111]],[[120161,120161],"mapped",[112]],[[120162,120162],"mapped",[113]],[[120163,120163],"mapped",[114]],[[120164,120164],"mapped",[115]],[[120165,120165],"mapped",[116]],[[120166,120166],"mapped",[117]],[[120167,120167],"mapped",[118]],[[120168,120168],"mapped",[119]],[[120169,120169],"mapped",[120]],[[120170,120170],"mapped",[121]],[[120171,120171],"mapped",[122]],[[120172,120172],"mapped",[97]],[[120173,120173],"mapped",[98]],[[120174,120174],"mapped",[99]],[[120175,120175],"mapped",[100]],[[120176,120176],"mapped",[101]],[[120177,120177],"mapped",[102]],[[120178,120178],"mapped",[103]],[[120179,120179],"mapped",[104]],[[120180,120180],"mapped",[105]],[[120181,120181],"mapped",[106]],[[120182,120182],"mapped",[107]],[[120183,120183],"mapped",[108]],[[120184,120184],"mapped",[109]],[[120185,120185],"mapped",[110]],[[120186,120186],"mapped",[111]],[[120187,120187],"mapped",[112]],[[120188,120188],"mapped",[113]],[[120189,120189],"mapped",[114]],[[120190,120190],"mapped",[115]],[[120191,120191],"mapped",[116]],[[120192,120192],"mapped",[117]],[[120193,120193],"mapped",[118]],[[120194,120194],"mapped",[119]],[[120195,120195],"mapped",[120]],[[120196,120196],"mapped",[121]],[[120197,120197],"mapped",[122]],[[120198,120198],"mapped",[97]],[[120199,120199],"mapped",[98]],[[120200,120200],"mapped",[99]],[[120201,120201],"mapped",[100]],[[120202,120202],"mapped",[101]],[[120203,120203],"mapped",[102]],[[120204,120204],"mapped",[103]],[[120205,120205],"mapped",[104]],[[120206,120206],"mapped",[105]],[[120207,120207],"mapped",[106]],[[120208,120208],"mapped",[107]],[[120209,120209],"mapped",[108]],[[120210,120210],"mapped",[109]],[[120211,120211],"mapped",[110]],[[120212,120212],"mapped",[111]],[[120213,120213],"mapped",[112]],[[120214,120214],"mapped",[113]],[[120215,120215],"mapped",[114]],[[120216,120216],"mapped",[115]],[[120217,120217],"mapped",[116]],[[120218,120218],"mapped",[117]],[[120219,120219],"mapped",[118]],[[120220,120220],"mapped",[119]],[[120221,120221],"mapped",[120]],[[120222,120222],"mapped",[121]],[[120223,120223],"mapped",[122]],[[120224,120224],"mapped",[97]],[[120225,120225],"mapped",[98]],[[120226,120226],"mapped",[99]],[[120227,120227],"mapped",[100]],[[120228,120228],"mapped",[101]],[[120229,120229],"mapped",[102]],[[120230,120230],"mapped",[103]],[[120231,120231],"mapped",[104]],[[120232,120232],"mapped",[105]],[[120233,120233],"mapped",[106]],[[120234,120234],"mapped",[107]],[[120235,120235],"mapped",[108]],[[120236,120236],"mapped",[109]],[[120237,120237],"mapped",[110]],[[120238,120238],"mapped",[111]],[[120239,120239],"mapped",[112]],[[120240,120240],"mapped",[113]],[[120241,120241],"mapped",[114]],[[120242,120242],"mapped",[115]],[[120243,120243],"mapped",[116]],[[120244,120244],"mapped",[117]],[[120245,120245],"mapped",[118]],[[120246,120246],"mapped",[119]],[[120247,120247],"mapped",[120]],[[120248,120248],"mapped",[121]],[[120249,120249],"mapped",[122]],[[120250,120250],"mapped",[97]],[[120251,120251],"mapped",[98]],[[120252,120252],"mapped",[99]],[[120253,120253],"mapped",[100]],[[120254,120254],"mapped",[101]],[[120255,120255],"mapped",[102]],[[120256,120256],"mapped",[103]],[[120257,120257],"mapped",[104]],[[120258,120258],"mapped",[105]],[[120259,120259],"mapped",[106]],[[120260,120260],"mapped",[107]],[[120261,120261],"mapped",[108]],[[120262,120262],"mapped",[109]],[[120263,120263],"mapped",[110]],[[120264,120264],"mapped",[111]],[[120265,120265],"mapped",[112]],[[120266,120266],"mapped",[113]],[[120267,120267],"mapped",[114]],[[120268,120268],"mapped",[115]],[[120269,120269],"mapped",[116]],[[120270,120270],"mapped",[117]],[[120271,120271],"mapped",[118]],[[120272,120272],"mapped",[119]],[[120273,120273],"mapped",[120]],[[120274,120274],"mapped",[121]],[[120275,120275],"mapped",[122]],[[120276,120276],"mapped",[97]],[[120277,120277],"mapped",[98]],[[120278,120278],"mapped",[99]],[[120279,120279],"mapped",[100]],[[120280,120280],"mapped",[101]],[[120281,120281],"mapped",[102]],[[120282,120282],"mapped",[103]],[[120283,120283],"mapped",[104]],[[120284,120284],"mapped",[105]],[[120285,120285],"mapped",[106]],[[120286,120286],"mapped",[107]],[[120287,120287],"mapped",[108]],[[120288,120288],"mapped",[109]],[[120289,120289],"mapped",[110]],[[120290,120290],"mapped",[111]],[[120291,120291],"mapped",[112]],[[120292,120292],"mapped",[113]],[[120293,120293],"mapped",[114]],[[120294,120294],"mapped",[115]],[[120295,120295],"mapped",[116]],[[120296,120296],"mapped",[117]],[[120297,120297],"mapped",[118]],[[120298,120298],"mapped",[119]],[[120299,120299],"mapped",[120]],[[120300,120300],"mapped",[121]],[[120301,120301],"mapped",[122]],[[120302,120302],"mapped",[97]],[[120303,120303],"mapped",[98]],[[120304,120304],"mapped",[99]],[[120305,120305],"mapped",[100]],[[120306,120306],"mapped",[101]],[[120307,120307],"mapped",[102]],[[120308,120308],"mapped",[103]],[[120309,120309],"mapped",[104]],[[120310,120310],"mapped",[105]],[[120311,120311],"mapped",[106]],[[120312,120312],"mapped",[107]],[[120313,120313],"mapped",[108]],[[120314,120314],"mapped",[109]],[[120315,120315],"mapped",[110]],[[120316,120316],"mapped",[111]],[[120317,120317],"mapped",[112]],[[120318,120318],"mapped",[113]],[[120319,120319],"mapped",[114]],[[120320,120320],"mapped",[115]],[[120321,120321],"mapped",[116]],[[120322,120322],"mapped",[117]],[[120323,120323],"mapped",[118]],[[120324,120324],"mapped",[119]],[[120325,120325],"mapped",[120]],[[120326,120326],"mapped",[121]],[[120327,120327],"mapped",[122]],[[120328,120328],"mapped",[97]],[[120329,120329],"mapped",[98]],[[120330,120330],"mapped",[99]],[[120331,120331],"mapped",[100]],[[120332,120332],"mapped",[101]],[[120333,120333],"mapped",[102]],[[120334,120334],"mapped",[103]],[[120335,120335],"mapped",[104]],[[120336,120336],"mapped",[105]],[[120337,120337],"mapped",[106]],[[120338,120338],"mapped",[107]],[[120339,120339],"mapped",[108]],[[120340,120340],"mapped",[109]],[[120341,120341],"mapped",[110]],[[120342,120342],"mapped",[111]],[[120343,120343],"mapped",[112]],[[120344,120344],"mapped",[113]],[[120345,120345],"mapped",[114]],[[120346,120346],"mapped",[115]],[[120347,120347],"mapped",[116]],[[120348,120348],"mapped",[117]],[[120349,120349],"mapped",[118]],[[120350,120350],"mapped",[119]],[[120351,120351],"mapped",[120]],[[120352,120352],"mapped",[121]],[[120353,120353],"mapped",[122]],[[120354,120354],"mapped",[97]],[[120355,120355],"mapped",[98]],[[120356,120356],"mapped",[99]],[[120357,120357],"mapped",[100]],[[120358,120358],"mapped",[101]],[[120359,120359],"mapped",[102]],[[120360,120360],"mapped",[103]],[[120361,120361],"mapped",[104]],[[120362,120362],"mapped",[105]],[[120363,120363],"mapped",[106]],[[120364,120364],"mapped",[107]],[[120365,120365],"mapped",[108]],[[120366,120366],"mapped",[109]],[[120367,120367],"mapped",[110]],[[120368,120368],"mapped",[111]],[[120369,120369],"mapped",[112]],[[120370,120370],"mapped",[113]],[[120371,120371],"mapped",[114]],[[120372,120372],"mapped",[115]],[[120373,120373],"mapped",[116]],[[120374,120374],"mapped",[117]],[[120375,120375],"mapped",[118]],[[120376,120376],"mapped",[119]],[[120377,120377],"mapped",[120]],[[120378,120378],"mapped",[121]],[[120379,120379],"mapped",[122]],[[120380,120380],"mapped",[97]],[[120381,120381],"mapped",[98]],[[120382,120382],"mapped",[99]],[[120383,120383],"mapped",[100]],[[120384,120384],"mapped",[101]],[[120385,120385],"mapped",[102]],[[120386,120386],"mapped",[103]],[[120387,120387],"mapped",[104]],[[120388,120388],"mapped",[105]],[[120389,120389],"mapped",[106]],[[120390,120390],"mapped",[107]],[[120391,120391],"mapped",[108]],[[120392,120392],"mapped",[109]],[[120393,120393],"mapped",[110]],[[120394,120394],"mapped",[111]],[[120395,120395],"mapped",[112]],[[120396,120396],"mapped",[113]],[[120397,120397],"mapped",[114]],[[120398,120398],"mapped",[115]],[[120399,120399],"mapped",[116]],[[120400,120400],"mapped",[117]],[[120401,120401],"mapped",[118]],[[120402,120402],"mapped",[119]],[[120403,120403],"mapped",[120]],[[120404,120404],"mapped",[121]],[[120405,120405],"mapped",[122]],[[120406,120406],"mapped",[97]],[[120407,120407],"mapped",[98]],[[120408,120408],"mapped",[99]],[[120409,120409],"mapped",[100]],[[120410,120410],"mapped",[101]],[[120411,120411],"mapped",[102]],[[120412,120412],"mapped",[103]],[[120413,120413],"mapped",[104]],[[120414,120414],"mapped",[105]],[[120415,120415],"mapped",[106]],[[120416,120416],"mapped",[107]],[[120417,120417],"mapped",[108]],[[120418,120418],"mapped",[109]],[[120419,120419],"mapped",[110]],[[120420,120420],"mapped",[111]],[[120421,120421],"mapped",[112]],[[120422,120422],"mapped",[113]],[[120423,120423],"mapped",[114]],[[120424,120424],"mapped",[115]],[[120425,120425],"mapped",[116]],[[120426,120426],"mapped",[117]],[[120427,120427],"mapped",[118]],[[120428,120428],"mapped",[119]],[[120429,120429],"mapped",[120]],[[120430,120430],"mapped",[121]],[[120431,120431],"mapped",[122]],[[120432,120432],"mapped",[97]],[[120433,120433],"mapped",[98]],[[120434,120434],"mapped",[99]],[[120435,120435],"mapped",[100]],[[120436,120436],"mapped",[101]],[[120437,120437],"mapped",[102]],[[120438,120438],"mapped",[103]],[[120439,120439],"mapped",[104]],[[120440,120440],"mapped",[105]],[[120441,120441],"mapped",[106]],[[120442,120442],"mapped",[107]],[[120443,120443],"mapped",[108]],[[120444,120444],"mapped",[109]],[[120445,120445],"mapped",[110]],[[120446,120446],"mapped",[111]],[[120447,120447],"mapped",[112]],[[120448,120448],"mapped",[113]],[[120449,120449],"mapped",[114]],[[120450,120450],"mapped",[115]],[[120451,120451],"mapped",[116]],[[120452,120452],"mapped",[117]],[[120453,120453],"mapped",[118]],[[120454,120454],"mapped",[119]],[[120455,120455],"mapped",[120]],[[120456,120456],"mapped",[121]],[[120457,120457],"mapped",[122]],[[120458,120458],"mapped",[97]],[[120459,120459],"mapped",[98]],[[120460,120460],"mapped",[99]],[[120461,120461],"mapped",[100]],[[120462,120462],"mapped",[101]],[[120463,120463],"mapped",[102]],[[120464,120464],"mapped",[103]],[[120465,120465],"mapped",[104]],[[120466,120466],"mapped",[105]],[[120467,120467],"mapped",[106]],[[120468,120468],"mapped",[107]],[[120469,120469],"mapped",[108]],[[120470,120470],"mapped",[109]],[[120471,120471],"mapped",[110]],[[120472,120472],"mapped",[111]],[[120473,120473],"mapped",[112]],[[120474,120474],"mapped",[113]],[[120475,120475],"mapped",[114]],[[120476,120476],"mapped",[115]],[[120477,120477],"mapped",[116]],[[120478,120478],"mapped",[117]],[[120479,120479],"mapped",[118]],[[120480,120480],"mapped",[119]],[[120481,120481],"mapped",[120]],[[120482,120482],"mapped",[121]],[[120483,120483],"mapped",[122]],[[120484,120484],"mapped",[305]],[[120485,120485],"mapped",[567]],[[120486,120487],"disallowed"],[[120488,120488],"mapped",[945]],[[120489,120489],"mapped",[946]],[[120490,120490],"mapped",[947]],[[120491,120491],"mapped",[948]],[[120492,120492],"mapped",[949]],[[120493,120493],"mapped",[950]],[[120494,120494],"mapped",[951]],[[120495,120495],"mapped",[952]],[[120496,120496],"mapped",[953]],[[120497,120497],"mapped",[954]],[[120498,120498],"mapped",[955]],[[120499,120499],"mapped",[956]],[[120500,120500],"mapped",[957]],[[120501,120501],"mapped",[958]],[[120502,120502],"mapped",[959]],[[120503,120503],"mapped",[960]],[[120504,120504],"mapped",[961]],[[120505,120505],"mapped",[952]],[[120506,120506],"mapped",[963]],[[120507,120507],"mapped",[964]],[[120508,120508],"mapped",[965]],[[120509,120509],"mapped",[966]],[[120510,120510],"mapped",[967]],[[120511,120511],"mapped",[968]],[[120512,120512],"mapped",[969]],[[120513,120513],"mapped",[8711]],[[120514,120514],"mapped",[945]],[[120515,120515],"mapped",[946]],[[120516,120516],"mapped",[947]],[[120517,120517],"mapped",[948]],[[120518,120518],"mapped",[949]],[[120519,120519],"mapped",[950]],[[120520,120520],"mapped",[951]],[[120521,120521],"mapped",[952]],[[120522,120522],"mapped",[953]],[[120523,120523],"mapped",[954]],[[120524,120524],"mapped",[955]],[[120525,120525],"mapped",[956]],[[120526,120526],"mapped",[957]],[[120527,120527],"mapped",[958]],[[120528,120528],"mapped",[959]],[[120529,120529],"mapped",[960]],[[120530,120530],"mapped",[961]],[[120531,120532],"mapped",[963]],[[120533,120533],"mapped",[964]],[[120534,120534],"mapped",[965]],[[120535,120535],"mapped",[966]],[[120536,120536],"mapped",[967]],[[120537,120537],"mapped",[968]],[[120538,120538],"mapped",[969]],[[120539,120539],"mapped",[8706]],[[120540,120540],"mapped",[949]],[[120541,120541],"mapped",[952]],[[120542,120542],"mapped",[954]],[[120543,120543],"mapped",[966]],[[120544,120544],"mapped",[961]],[[120545,120545],"mapped",[960]],[[120546,120546],"mapped",[945]],[[120547,120547],"mapped",[946]],[[120548,120548],"mapped",[947]],[[120549,120549],"mapped",[948]],[[120550,120550],"mapped",[949]],[[120551,120551],"mapped",[950]],[[120552,120552],"mapped",[951]],[[120553,120553],"mapped",[952]],[[120554,120554],"mapped",[953]],[[120555,120555],"mapped",[954]],[[120556,120556],"mapped",[955]],[[120557,120557],"mapped",[956]],[[120558,120558],"mapped",[957]],[[120559,120559],"mapped",[958]],[[120560,120560],"mapped",[959]],[[120561,120561],"mapped",[960]],[[120562,120562],"mapped",[961]],[[120563,120563],"mapped",[952]],[[120564,120564],"mapped",[963]],[[120565,120565],"mapped",[964]],[[120566,120566],"mapped",[965]],[[120567,120567],"mapped",[966]],[[120568,120568],"mapped",[967]],[[120569,120569],"mapped",[968]],[[120570,120570],"mapped",[969]],[[120571,120571],"mapped",[8711]],[[120572,120572],"mapped",[945]],[[120573,120573],"mapped",[946]],[[120574,120574],"mapped",[947]],[[120575,120575],"mapped",[948]],[[120576,120576],"mapped",[949]],[[120577,120577],"mapped",[950]],[[120578,120578],"mapped",[951]],[[120579,120579],"mapped",[952]],[[120580,120580],"mapped",[953]],[[120581,120581],"mapped",[954]],[[120582,120582],"mapped",[955]],[[120583,120583],"mapped",[956]],[[120584,120584],"mapped",[957]],[[120585,120585],"mapped",[958]],[[120586,120586],"mapped",[959]],[[120587,120587],"mapped",[960]],[[120588,120588],"mapped",[961]],[[120589,120590],"mapped",[963]],[[120591,120591],"mapped",[964]],[[120592,120592],"mapped",[965]],[[120593,120593],"mapped",[966]],[[120594,120594],"mapped",[967]],[[120595,120595],"mapped",[968]],[[120596,120596],"mapped",[969]],[[120597,120597],"mapped",[8706]],[[120598,120598],"mapped",[949]],[[120599,120599],"mapped",[952]],[[120600,120600],"mapped",[954]],[[120601,120601],"mapped",[966]],[[120602,120602],"mapped",[961]],[[120603,120603],"mapped",[960]],[[120604,120604],"mapped",[945]],[[120605,120605],"mapped",[946]],[[120606,120606],"mapped",[947]],[[120607,120607],"mapped",[948]],[[120608,120608],"mapped",[949]],[[120609,120609],"mapped",[950]],[[120610,120610],"mapped",[951]],[[120611,120611],"mapped",[952]],[[120612,120612],"mapped",[953]],[[120613,120613],"mapped",[954]],[[120614,120614],"mapped",[955]],[[120615,120615],"mapped",[956]],[[120616,120616],"mapped",[957]],[[120617,120617],"mapped",[958]],[[120618,120618],"mapped",[959]],[[120619,120619],"mapped",[960]],[[120620,120620],"mapped",[961]],[[120621,120621],"mapped",[952]],[[120622,120622],"mapped",[963]],[[120623,120623],"mapped",[964]],[[120624,120624],"mapped",[965]],[[120625,120625],"mapped",[966]],[[120626,120626],"mapped",[967]],[[120627,120627],"mapped",[968]],[[120628,120628],"mapped",[969]],[[120629,120629],"mapped",[8711]],[[120630,120630],"mapped",[945]],[[120631,120631],"mapped",[946]],[[120632,120632],"mapped",[947]],[[120633,120633],"mapped",[948]],[[120634,120634],"mapped",[949]],[[120635,120635],"mapped",[950]],[[120636,120636],"mapped",[951]],[[120637,120637],"mapped",[952]],[[120638,120638],"mapped",[953]],[[120639,120639],"mapped",[954]],[[120640,120640],"mapped",[955]],[[120641,120641],"mapped",[956]],[[120642,120642],"mapped",[957]],[[120643,120643],"mapped",[958]],[[120644,120644],"mapped",[959]],[[120645,120645],"mapped",[960]],[[120646,120646],"mapped",[961]],[[120647,120648],"mapped",[963]],[[120649,120649],"mapped",[964]],[[120650,120650],"mapped",[965]],[[120651,120651],"mapped",[966]],[[120652,120652],"mapped",[967]],[[120653,120653],"mapped",[968]],[[120654,120654],"mapped",[969]],[[120655,120655],"mapped",[8706]],[[120656,120656],"mapped",[949]],[[120657,120657],"mapped",[952]],[[120658,120658],"mapped",[954]],[[120659,120659],"mapped",[966]],[[120660,120660],"mapped",[961]],[[120661,120661],"mapped",[960]],[[120662,120662],"mapped",[945]],[[120663,120663],"mapped",[946]],[[120664,120664],"mapped",[947]],[[120665,120665],"mapped",[948]],[[120666,120666],"mapped",[949]],[[120667,120667],"mapped",[950]],[[120668,120668],"mapped",[951]],[[120669,120669],"mapped",[952]],[[120670,120670],"mapped",[953]],[[120671,120671],"mapped",[954]],[[120672,120672],"mapped",[955]],[[120673,120673],"mapped",[956]],[[120674,120674],"mapped",[957]],[[120675,120675],"mapped",[958]],[[120676,120676],"mapped",[959]],[[120677,120677],"mapped",[960]],[[120678,120678],"mapped",[961]],[[120679,120679],"mapped",[952]],[[120680,120680],"mapped",[963]],[[120681,120681],"mapped",[964]],[[120682,120682],"mapped",[965]],[[120683,120683],"mapped",[966]],[[120684,120684],"mapped",[967]],[[120685,120685],"mapped",[968]],[[120686,120686],"mapped",[969]],[[120687,120687],"mapped",[8711]],[[120688,120688],"mapped",[945]],[[120689,120689],"mapped",[946]],[[120690,120690],"mapped",[947]],[[120691,120691],"mapped",[948]],[[120692,120692],"mapped",[949]],[[120693,120693],"mapped",[950]],[[120694,120694],"mapped",[951]],[[120695,120695],"mapped",[952]],[[120696,120696],"mapped",[953]],[[120697,120697],"mapped",[954]],[[120698,120698],"mapped",[955]],[[120699,120699],"mapped",[956]],[[120700,120700],"mapped",[957]],[[120701,120701],"mapped",[958]],[[120702,120702],"mapped",[959]],[[120703,120703],"mapped",[960]],[[120704,120704],"mapped",[961]],[[120705,120706],"mapped",[963]],[[120707,120707],"mapped",[964]],[[120708,120708],"mapped",[965]],[[120709,120709],"mapped",[966]],[[120710,120710],"mapped",[967]],[[120711,120711],"mapped",[968]],[[120712,120712],"mapped",[969]],[[120713,120713],"mapped",[8706]],[[120714,120714],"mapped",[949]],[[120715,120715],"mapped",[952]],[[120716,120716],"mapped",[954]],[[120717,120717],"mapped",[966]],[[120718,120718],"mapped",[961]],[[120719,120719],"mapped",[960]],[[120720,120720],"mapped",[945]],[[120721,120721],"mapped",[946]],[[120722,120722],"mapped",[947]],[[120723,120723],"mapped",[948]],[[120724,120724],"mapped",[949]],[[120725,120725],"mapped",[950]],[[120726,120726],"mapped",[951]],[[120727,120727],"mapped",[952]],[[120728,120728],"mapped",[953]],[[120729,120729],"mapped",[954]],[[120730,120730],"mapped",[955]],[[120731,120731],"mapped",[956]],[[120732,120732],"mapped",[957]],[[120733,120733],"mapped",[958]],[[120734,120734],"mapped",[959]],[[120735,120735],"mapped",[960]],[[120736,120736],"mapped",[961]],[[120737,120737],"mapped",[952]],[[120738,120738],"mapped",[963]],[[120739,120739],"mapped",[964]],[[120740,120740],"mapped",[965]],[[120741,120741],"mapped",[966]],[[120742,120742],"mapped",[967]],[[120743,120743],"mapped",[968]],[[120744,120744],"mapped",[969]],[[120745,120745],"mapped",[8711]],[[120746,120746],"mapped",[945]],[[120747,120747],"mapped",[946]],[[120748,120748],"mapped",[947]],[[120749,120749],"mapped",[948]],[[120750,120750],"mapped",[949]],[[120751,120751],"mapped",[950]],[[120752,120752],"mapped",[951]],[[120753,120753],"mapped",[952]],[[120754,120754],"mapped",[953]],[[120755,120755],"mapped",[954]],[[120756,120756],"mapped",[955]],[[120757,120757],"mapped",[956]],[[120758,120758],"mapped",[957]],[[120759,120759],"mapped",[958]],[[120760,120760],"mapped",[959]],[[120761,120761],"mapped",[960]],[[120762,120762],"mapped",[961]],[[120763,120764],"mapped",[963]],[[120765,120765],"mapped",[964]],[[120766,120766],"mapped",[965]],[[120767,120767],"mapped",[966]],[[120768,120768],"mapped",[967]],[[120769,120769],"mapped",[968]],[[120770,120770],"mapped",[969]],[[120771,120771],"mapped",[8706]],[[120772,120772],"mapped",[949]],[[120773,120773],"mapped",[952]],[[120774,120774],"mapped",[954]],[[120775,120775],"mapped",[966]],[[120776,120776],"mapped",[961]],[[120777,120777],"mapped",[960]],[[120778,120779],"mapped",[989]],[[120780,120781],"disallowed"],[[120782,120782],"mapped",[48]],[[120783,120783],"mapped",[49]],[[120784,120784],"mapped",[50]],[[120785,120785],"mapped",[51]],[[120786,120786],"mapped",[52]],[[120787,120787],"mapped",[53]],[[120788,120788],"mapped",[54]],[[120789,120789],"mapped",[55]],[[120790,120790],"mapped",[56]],[[120791,120791],"mapped",[57]],[[120792,120792],"mapped",[48]],[[120793,120793],"mapped",[49]],[[120794,120794],"mapped",[50]],[[120795,120795],"mapped",[51]],[[120796,120796],"mapped",[52]],[[120797,120797],"mapped",[53]],[[120798,120798],"mapped",[54]],[[120799,120799],"mapped",[55]],[[120800,120800],"mapped",[56]],[[120801,120801],"mapped",[57]],[[120802,120802],"mapped",[48]],[[120803,120803],"mapped",[49]],[[120804,120804],"mapped",[50]],[[120805,120805],"mapped",[51]],[[120806,120806],"mapped",[52]],[[120807,120807],"mapped",[53]],[[120808,120808],"mapped",[54]],[[120809,120809],"mapped",[55]],[[120810,120810],"mapped",[56]],[[120811,120811],"mapped",[57]],[[120812,120812],"mapped",[48]],[[120813,120813],"mapped",[49]],[[120814,120814],"mapped",[50]],[[120815,120815],"mapped",[51]],[[120816,120816],"mapped",[52]],[[120817,120817],"mapped",[53]],[[120818,120818],"mapped",[54]],[[120819,120819],"mapped",[55]],[[120820,120820],"mapped",[56]],[[120821,120821],"mapped",[57]],[[120822,120822],"mapped",[48]],[[120823,120823],"mapped",[49]],[[120824,120824],"mapped",[50]],[[120825,120825],"mapped",[51]],[[120826,120826],"mapped",[52]],[[120827,120827],"mapped",[53]],[[120828,120828],"mapped",[54]],[[120829,120829],"mapped",[55]],[[120830,120830],"mapped",[56]],[[120831,120831],"mapped",[57]],[[120832,121343],"valid",[],"NV8"],[[121344,121398],"valid"],[[121399,121402],"valid",[],"NV8"],[[121403,121452],"valid"],[[121453,121460],"valid",[],"NV8"],[[121461,121461],"valid"],[[121462,121475],"valid",[],"NV8"],[[121476,121476],"valid"],[[121477,121483],"valid",[],"NV8"],[[121484,121498],"disallowed"],[[121499,121503],"valid"],[[121504,121504],"disallowed"],[[121505,121519],"valid"],[[121520,124927],"disallowed"],[[124928,125124],"valid"],[[125125,125126],"disallowed"],[[125127,125135],"valid",[],"NV8"],[[125136,125142],"valid"],[[125143,126463],"disallowed"],[[126464,126464],"mapped",[1575]],[[126465,126465],"mapped",[1576]],[[126466,126466],"mapped",[1580]],[[126467,126467],"mapped",[1583]],[[126468,126468],"disallowed"],[[126469,126469],"mapped",[1608]],[[126470,126470],"mapped",[1586]],[[126471,126471],"mapped",[1581]],[[126472,126472],"mapped",[1591]],[[126473,126473],"mapped",[1610]],[[126474,126474],"mapped",[1603]],[[126475,126475],"mapped",[1604]],[[126476,126476],"mapped",[1605]],[[126477,126477],"mapped",[1606]],[[126478,126478],"mapped",[1587]],[[126479,126479],"mapped",[1593]],[[126480,126480],"mapped",[1601]],[[126481,126481],"mapped",[1589]],[[126482,126482],"mapped",[1602]],[[126483,126483],"mapped",[1585]],[[126484,126484],"mapped",[1588]],[[126485,126485],"mapped",[1578]],[[126486,126486],"mapped",[1579]],[[126487,126487],"mapped",[1582]],[[126488,126488],"mapped",[1584]],[[126489,126489],"mapped",[1590]],[[126490,126490],"mapped",[1592]],[[126491,126491],"mapped",[1594]],[[126492,126492],"mapped",[1646]],[[126493,126493],"mapped",[1722]],[[126494,126494],"mapped",[1697]],[[126495,126495],"mapped",[1647]],[[126496,126496],"disallowed"],[[126497,126497],"mapped",[1576]],[[126498,126498],"mapped",[1580]],[[126499,126499],"disallowed"],[[126500,126500],"mapped",[1607]],[[126501,126502],"disallowed"],[[126503,126503],"mapped",[1581]],[[126504,126504],"disallowed"],[[126505,126505],"mapped",[1610]],[[126506,126506],"mapped",[1603]],[[126507,126507],"mapped",[1604]],[[126508,126508],"mapped",[1605]],[[126509,126509],"mapped",[1606]],[[126510,126510],"mapped",[1587]],[[126511,126511],"mapped",[1593]],[[126512,126512],"mapped",[1601]],[[126513,126513],"mapped",[1589]],[[126514,126514],"mapped",[1602]],[[126515,126515],"disallowed"],[[126516,126516],"mapped",[1588]],[[126517,126517],"mapped",[1578]],[[126518,126518],"mapped",[1579]],[[126519,126519],"mapped",[1582]],[[126520,126520],"disallowed"],[[126521,126521],"mapped",[1590]],[[126522,126522],"disallowed"],[[126523,126523],"mapped",[1594]],[[126524,126529],"disallowed"],[[126530,126530],"mapped",[1580]],[[126531,126534],"disallowed"],[[126535,126535],"mapped",[1581]],[[126536,126536],"disallowed"],[[126537,126537],"mapped",[1610]],[[126538,126538],"disallowed"],[[126539,126539],"mapped",[1604]],[[126540,126540],"disallowed"],[[126541,126541],"mapped",[1606]],[[126542,126542],"mapped",[1587]],[[126543,126543],"mapped",[1593]],[[126544,126544],"disallowed"],[[126545,126545],"mapped",[1589]],[[126546,126546],"mapped",[1602]],[[126547,126547],"disallowed"],[[126548,126548],"mapped",[1588]],[[126549,126550],"disallowed"],[[126551,126551],"mapped",[1582]],[[126552,126552],"disallowed"],[[126553,126553],"mapped",[1590]],[[126554,126554],"disallowed"],[[126555,126555],"mapped",[1594]],[[126556,126556],"disallowed"],[[126557,126557],"mapped",[1722]],[[126558,126558],"disallowed"],[[126559,126559],"mapped",[1647]],[[126560,126560],"disallowed"],[[126561,126561],"mapped",[1576]],[[126562,126562],"mapped",[1580]],[[126563,126563],"disallowed"],[[126564,126564],"mapped",[1607]],[[126565,126566],"disallowed"],[[126567,126567],"mapped",[1581]],[[126568,126568],"mapped",[1591]],[[126569,126569],"mapped",[1610]],[[126570,126570],"mapped",[1603]],[[126571,126571],"disallowed"],[[126572,126572],"mapped",[1605]],[[126573,126573],"mapped",[1606]],[[126574,126574],"mapped",[1587]],[[126575,126575],"mapped",[1593]],[[126576,126576],"mapped",[1601]],[[126577,126577],"mapped",[1589]],[[126578,126578],"mapped",[1602]],[[126579,126579],"disallowed"],[[126580,126580],"mapped",[1588]],[[126581,126581],"mapped",[1578]],[[126582,126582],"mapped",[1579]],[[126583,126583],"mapped",[1582]],[[126584,126584],"disallowed"],[[126585,126585],"mapped",[1590]],[[126586,126586],"mapped",[1592]],[[126587,126587],"mapped",[1594]],[[126588,126588],"mapped",[1646]],[[126589,126589],"disallowed"],[[126590,126590],"mapped",[1697]],[[126591,126591],"disallowed"],[[126592,126592],"mapped",[1575]],[[126593,126593],"mapped",[1576]],[[126594,126594],"mapped",[1580]],[[126595,126595],"mapped",[1583]],[[126596,126596],"mapped",[1607]],[[126597,126597],"mapped",[1608]],[[126598,126598],"mapped",[1586]],[[126599,126599],"mapped",[1581]],[[126600,126600],"mapped",[1591]],[[126601,126601],"mapped",[1610]],[[126602,126602],"disallowed"],[[126603,126603],"mapped",[1604]],[[126604,126604],"mapped",[1605]],[[126605,126605],"mapped",[1606]],[[126606,126606],"mapped",[1587]],[[126607,126607],"mapped",[1593]],[[126608,126608],"mapped",[1601]],[[126609,126609],"mapped",[1589]],[[126610,126610],"mapped",[1602]],[[126611,126611],"mapped",[1585]],[[126612,126612],"mapped",[1588]],[[126613,126613],"mapped",[1578]],[[126614,126614],"mapped",[1579]],[[126615,126615],"mapped",[1582]],[[126616,126616],"mapped",[1584]],[[126617,126617],"mapped",[1590]],[[126618,126618],"mapped",[1592]],[[126619,126619],"mapped",[1594]],[[126620,126624],"disallowed"],[[126625,126625],"mapped",[1576]],[[126626,126626],"mapped",[1580]],[[126627,126627],"mapped",[1583]],[[126628,126628],"disallowed"],[[126629,126629],"mapped",[1608]],[[126630,126630],"mapped",[1586]],[[126631,126631],"mapped",[1581]],[[126632,126632],"mapped",[1591]],[[126633,126633],"mapped",[1610]],[[126634,126634],"disallowed"],[[126635,126635],"mapped",[1604]],[[126636,126636],"mapped",[1605]],[[126637,126637],"mapped",[1606]],[[126638,126638],"mapped",[1587]],[[126639,126639],"mapped",[1593]],[[126640,126640],"mapped",[1601]],[[126641,126641],"mapped",[1589]],[[126642,126642],"mapped",[1602]],[[126643,126643],"mapped",[1585]],[[126644,126644],"mapped",[1588]],[[126645,126645],"mapped",[1578]],[[126646,126646],"mapped",[1579]],[[126647,126647],"mapped",[1582]],[[126648,126648],"mapped",[1584]],[[126649,126649],"mapped",[1590]],[[126650,126650],"mapped",[1592]],[[126651,126651],"mapped",[1594]],[[126652,126703],"disallowed"],[[126704,126705],"valid",[],"NV8"],[[126706,126975],"disallowed"],[[126976,127019],"valid",[],"NV8"],[[127020,127023],"disallowed"],[[127024,127123],"valid",[],"NV8"],[[127124,127135],"disallowed"],[[127136,127150],"valid",[],"NV8"],[[127151,127152],"disallowed"],[[127153,127166],"valid",[],"NV8"],[[127167,127167],"valid",[],"NV8"],[[127168,127168],"disallowed"],[[127169,127183],"valid",[],"NV8"],[[127184,127184],"disallowed"],[[127185,127199],"valid",[],"NV8"],[[127200,127221],"valid",[],"NV8"],[[127222,127231],"disallowed"],[[127232,127232],"disallowed"],[[127233,127233],"disallowed_STD3_mapped",[48,44]],[[127234,127234],"disallowed_STD3_mapped",[49,44]],[[127235,127235],"disallowed_STD3_mapped",[50,44]],[[127236,127236],"disallowed_STD3_mapped",[51,44]],[[127237,127237],"disallowed_STD3_mapped",[52,44]],[[127238,127238],"disallowed_STD3_mapped",[53,44]],[[127239,127239],"disallowed_STD3_mapped",[54,44]],[[127240,127240],"disallowed_STD3_mapped",[55,44]],[[127241,127241],"disallowed_STD3_mapped",[56,44]],[[127242,127242],"disallowed_STD3_mapped",[57,44]],[[127243,127244],"valid",[],"NV8"],[[127245,127247],"disallowed"],[[127248,127248],"disallowed_STD3_mapped",[40,97,41]],[[127249,127249],"disallowed_STD3_mapped",[40,98,41]],[[127250,127250],"disallowed_STD3_mapped",[40,99,41]],[[127251,127251],"disallowed_STD3_mapped",[40,100,41]],[[127252,127252],"disallowed_STD3_mapped",[40,101,41]],[[127253,127253],"disallowed_STD3_mapped",[40,102,41]],[[127254,127254],"disallowed_STD3_mapped",[40,103,41]],[[127255,127255],"disallowed_STD3_mapped",[40,104,41]],[[127256,127256],"disallowed_STD3_mapped",[40,105,41]],[[127257,127257],"disallowed_STD3_mapped",[40,106,41]],[[127258,127258],"disallowed_STD3_mapped",[40,107,41]],[[127259,127259],"disallowed_STD3_mapped",[40,108,41]],[[127260,127260],"disallowed_STD3_mapped",[40,109,41]],[[127261,127261],"disallowed_STD3_mapped",[40,110,41]],[[127262,127262],"disallowed_STD3_mapped",[40,111,41]],[[127263,127263],"disallowed_STD3_mapped",[40,112,41]],[[127264,127264],"disallowed_STD3_mapped",[40,113,41]],[[127265,127265],"disallowed_STD3_mapped",[40,114,41]],[[127266,127266],"disallowed_STD3_mapped",[40,115,41]],[[127267,127267],"disallowed_STD3_mapped",[40,116,41]],[[127268,127268],"disallowed_STD3_mapped",[40,117,41]],[[127269,127269],"disallowed_STD3_mapped",[40,118,41]],[[127270,127270],"disallowed_STD3_mapped",[40,119,41]],[[127271,127271],"disallowed_STD3_mapped",[40,120,41]],[[127272,127272],"disallowed_STD3_mapped",[40,121,41]],[[127273,127273],"disallowed_STD3_mapped",[40,122,41]],[[127274,127274],"mapped",[12308,115,12309]],[[127275,127275],"mapped",[99]],[[127276,127276],"mapped",[114]],[[127277,127277],"mapped",[99,100]],[[127278,127278],"mapped",[119,122]],[[127279,127279],"disallowed"],[[127280,127280],"mapped",[97]],[[127281,127281],"mapped",[98]],[[127282,127282],"mapped",[99]],[[127283,127283],"mapped",[100]],[[127284,127284],"mapped",[101]],[[127285,127285],"mapped",[102]],[[127286,127286],"mapped",[103]],[[127287,127287],"mapped",[104]],[[127288,127288],"mapped",[105]],[[127289,127289],"mapped",[106]],[[127290,127290],"mapped",[107]],[[127291,127291],"mapped",[108]],[[127292,127292],"mapped",[109]],[[127293,127293],"mapped",[110]],[[127294,127294],"mapped",[111]],[[127295,127295],"mapped",[112]],[[127296,127296],"mapped",[113]],[[127297,127297],"mapped",[114]],[[127298,127298],"mapped",[115]],[[127299,127299],"mapped",[116]],[[127300,127300],"mapped",[117]],[[127301,127301],"mapped",[118]],[[127302,127302],"mapped",[119]],[[127303,127303],"mapped",[120]],[[127304,127304],"mapped",[121]],[[127305,127305],"mapped",[122]],[[127306,127306],"mapped",[104,118]],[[127307,127307],"mapped",[109,118]],[[127308,127308],"mapped",[115,100]],[[127309,127309],"mapped",[115,115]],[[127310,127310],"mapped",[112,112,118]],[[127311,127311],"mapped",[119,99]],[[127312,127318],"valid",[],"NV8"],[[127319,127319],"valid",[],"NV8"],[[127320,127326],"valid",[],"NV8"],[[127327,127327],"valid",[],"NV8"],[[127328,127337],"valid",[],"NV8"],[[127338,127338],"mapped",[109,99]],[[127339,127339],"mapped",[109,100]],[[127340,127343],"disallowed"],[[127344,127352],"valid",[],"NV8"],[[127353,127353],"valid",[],"NV8"],[[127354,127354],"valid",[],"NV8"],[[127355,127356],"valid",[],"NV8"],[[127357,127358],"valid",[],"NV8"],[[127359,127359],"valid",[],"NV8"],[[127360,127369],"valid",[],"NV8"],[[127370,127373],"valid",[],"NV8"],[[127374,127375],"valid",[],"NV8"],[[127376,127376],"mapped",[100,106]],[[127377,127386],"valid",[],"NV8"],[[127387,127461],"disallowed"],[[127462,127487],"valid",[],"NV8"],[[127488,127488],"mapped",[12411,12363]],[[127489,127489],"mapped",[12467,12467]],[[127490,127490],"mapped",[12469]],[[127491,127503],"disallowed"],[[127504,127504],"mapped",[25163]],[[127505,127505],"mapped",[23383]],[[127506,127506],"mapped",[21452]],[[127507,127507],"mapped",[12487]],[[127508,127508],"mapped",[20108]],[[127509,127509],"mapped",[22810]],[[127510,127510],"mapped",[35299]],[[127511,127511],"mapped",[22825]],[[127512,127512],"mapped",[20132]],[[127513,127513],"mapped",[26144]],[[127514,127514],"mapped",[28961]],[[127515,127515],"mapped",[26009]],[[127516,127516],"mapped",[21069]],[[127517,127517],"mapped",[24460]],[[127518,127518],"mapped",[20877]],[[127519,127519],"mapped",[26032]],[[127520,127520],"mapped",[21021]],[[127521,127521],"mapped",[32066]],[[127522,127522],"mapped",[29983]],[[127523,127523],"mapped",[36009]],[[127524,127524],"mapped",[22768]],[[127525,127525],"mapped",[21561]],[[127526,127526],"mapped",[28436]],[[127527,127527],"mapped",[25237]],[[127528,127528],"mapped",[25429]],[[127529,127529],"mapped",[19968]],[[127530,127530],"mapped",[19977]],[[127531,127531],"mapped",[36938]],[[127532,127532],"mapped",[24038]],[[127533,127533],"mapped",[20013]],[[127534,127534],"mapped",[21491]],[[127535,127535],"mapped",[25351]],[[127536,127536],"mapped",[36208]],[[127537,127537],"mapped",[25171]],[[127538,127538],"mapped",[31105]],[[127539,127539],"mapped",[31354]],[[127540,127540],"mapped",[21512]],[[127541,127541],"mapped",[28288]],[[127542,127542],"mapped",[26377]],[[127543,127543],"mapped",[26376]],[[127544,127544],"mapped",[30003]],[[127545,127545],"mapped",[21106]],[[127546,127546],"mapped",[21942]],[[127547,127551],"disallowed"],[[127552,127552],"mapped",[12308,26412,12309]],[[127553,127553],"mapped",[12308,19977,12309]],[[127554,127554],"mapped",[12308,20108,12309]],[[127555,127555],"mapped",[12308,23433,12309]],[[127556,127556],"mapped",[12308,28857,12309]],[[127557,127557],"mapped",[12308,25171,12309]],[[127558,127558],"mapped",[12308,30423,12309]],[[127559,127559],"mapped",[12308,21213,12309]],[[127560,127560],"mapped",[12308,25943,12309]],[[127561,127567],"disallowed"],[[127568,127568],"mapped",[24471]],[[127569,127569],"mapped",[21487]],[[127570,127743],"disallowed"],[[127744,127776],"valid",[],"NV8"],[[127777,127788],"valid",[],"NV8"],[[127789,127791],"valid",[],"NV8"],[[127792,127797],"valid",[],"NV8"],[[127798,127798],"valid",[],"NV8"],[[127799,127868],"valid",[],"NV8"],[[127869,127869],"valid",[],"NV8"],[[127870,127871],"valid",[],"NV8"],[[127872,127891],"valid",[],"NV8"],[[127892,127903],"valid",[],"NV8"],[[127904,127940],"valid",[],"NV8"],[[127941,127941],"valid",[],"NV8"],[[127942,127946],"valid",[],"NV8"],[[127947,127950],"valid",[],"NV8"],[[127951,127955],"valid",[],"NV8"],[[127956,127967],"valid",[],"NV8"],[[127968,127984],"valid",[],"NV8"],[[127985,127991],"valid",[],"NV8"],[[127992,127999],"valid",[],"NV8"],[[128000,128062],"valid",[],"NV8"],[[128063,128063],"valid",[],"NV8"],[[128064,128064],"valid",[],"NV8"],[[128065,128065],"valid",[],"NV8"],[[128066,128247],"valid",[],"NV8"],[[128248,128248],"valid",[],"NV8"],[[128249,128252],"valid",[],"NV8"],[[128253,128254],"valid",[],"NV8"],[[128255,128255],"valid",[],"NV8"],[[128256,128317],"valid",[],"NV8"],[[128318,128319],"valid",[],"NV8"],[[128320,128323],"valid",[],"NV8"],[[128324,128330],"valid",[],"NV8"],[[128331,128335],"valid",[],"NV8"],[[128336,128359],"valid",[],"NV8"],[[128360,128377],"valid",[],"NV8"],[[128378,128378],"disallowed"],[[128379,128419],"valid",[],"NV8"],[[128420,128420],"disallowed"],[[128421,128506],"valid",[],"NV8"],[[128507,128511],"valid",[],"NV8"],[[128512,128512],"valid",[],"NV8"],[[128513,128528],"valid",[],"NV8"],[[128529,128529],"valid",[],"NV8"],[[128530,128532],"valid",[],"NV8"],[[128533,128533],"valid",[],"NV8"],[[128534,128534],"valid",[],"NV8"],[[128535,128535],"valid",[],"NV8"],[[128536,128536],"valid",[],"NV8"],[[128537,128537],"valid",[],"NV8"],[[128538,128538],"valid",[],"NV8"],[[128539,128539],"valid",[],"NV8"],[[128540,128542],"valid",[],"NV8"],[[128543,128543],"valid",[],"NV8"],[[128544,128549],"valid",[],"NV8"],[[128550,128551],"valid",[],"NV8"],[[128552,128555],"valid",[],"NV8"],[[128556,128556],"valid",[],"NV8"],[[128557,128557],"valid",[],"NV8"],[[128558,128559],"valid",[],"NV8"],[[128560,128563],"valid",[],"NV8"],[[128564,128564],"valid",[],"NV8"],[[128565,128576],"valid",[],"NV8"],[[128577,128578],"valid",[],"NV8"],[[128579,128580],"valid",[],"NV8"],[[128581,128591],"valid",[],"NV8"],[[128592,128639],"valid",[],"NV8"],[[128640,128709],"valid",[],"NV8"],[[128710,128719],"valid",[],"NV8"],[[128720,128720],"valid",[],"NV8"],[[128721,128735],"disallowed"],[[128736,128748],"valid",[],"NV8"],[[128749,128751],"disallowed"],[[128752,128755],"valid",[],"NV8"],[[128756,128767],"disallowed"],[[128768,128883],"valid",[],"NV8"],[[128884,128895],"disallowed"],[[128896,128980],"valid",[],"NV8"],[[128981,129023],"disallowed"],[[129024,129035],"valid",[],"NV8"],[[129036,129039],"disallowed"],[[129040,129095],"valid",[],"NV8"],[[129096,129103],"disallowed"],[[129104,129113],"valid",[],"NV8"],[[129114,129119],"disallowed"],[[129120,129159],"valid",[],"NV8"],[[129160,129167],"disallowed"],[[129168,129197],"valid",[],"NV8"],[[129198,129295],"disallowed"],[[129296,129304],"valid",[],"NV8"],[[129305,129407],"disallowed"],[[129408,129412],"valid",[],"NV8"],[[129413,129471],"disallowed"],[[129472,129472],"valid",[],"NV8"],[[129473,131069],"disallowed"],[[131070,131071],"disallowed"],[[131072,173782],"valid"],[[173783,173823],"disallowed"],[[173824,177972],"valid"],[[177973,177983],"disallowed"],[[177984,178205],"valid"],[[178206,178207],"disallowed"],[[178208,183969],"valid"],[[183970,194559],"disallowed"],[[194560,194560],"mapped",[20029]],[[194561,194561],"mapped",[20024]],[[194562,194562],"mapped",[20033]],[[194563,194563],"mapped",[131362]],[[194564,194564],"mapped",[20320]],[[194565,194565],"mapped",[20398]],[[194566,194566],"mapped",[20411]],[[194567,194567],"mapped",[20482]],[[194568,194568],"mapped",[20602]],[[194569,194569],"mapped",[20633]],[[194570,194570],"mapped",[20711]],[[194571,194571],"mapped",[20687]],[[194572,194572],"mapped",[13470]],[[194573,194573],"mapped",[132666]],[[194574,194574],"mapped",[20813]],[[194575,194575],"mapped",[20820]],[[194576,194576],"mapped",[20836]],[[194577,194577],"mapped",[20855]],[[194578,194578],"mapped",[132380]],[[194579,194579],"mapped",[13497]],[[194580,194580],"mapped",[20839]],[[194581,194581],"mapped",[20877]],[[194582,194582],"mapped",[132427]],[[194583,194583],"mapped",[20887]],[[194584,194584],"mapped",[20900]],[[194585,194585],"mapped",[20172]],[[194586,194586],"mapped",[20908]],[[194587,194587],"mapped",[20917]],[[194588,194588],"mapped",[168415]],[[194589,194589],"mapped",[20981]],[[194590,194590],"mapped",[20995]],[[194591,194591],"mapped",[13535]],[[194592,194592],"mapped",[21051]],[[194593,194593],"mapped",[21062]],[[194594,194594],"mapped",[21106]],[[194595,194595],"mapped",[21111]],[[194596,194596],"mapped",[13589]],[[194597,194597],"mapped",[21191]],[[194598,194598],"mapped",[21193]],[[194599,194599],"mapped",[21220]],[[194600,194600],"mapped",[21242]],[[194601,194601],"mapped",[21253]],[[194602,194602],"mapped",[21254]],[[194603,194603],"mapped",[21271]],[[194604,194604],"mapped",[21321]],[[194605,194605],"mapped",[21329]],[[194606,194606],"mapped",[21338]],[[194607,194607],"mapped",[21363]],[[194608,194608],"mapped",[21373]],[[194609,194611],"mapped",[21375]],[[194612,194612],"mapped",[133676]],[[194613,194613],"mapped",[28784]],[[194614,194614],"mapped",[21450]],[[194615,194615],"mapped",[21471]],[[194616,194616],"mapped",[133987]],[[194617,194617],"mapped",[21483]],[[194618,194618],"mapped",[21489]],[[194619,194619],"mapped",[21510]],[[194620,194620],"mapped",[21662]],[[194621,194621],"mapped",[21560]],[[194622,194622],"mapped",[21576]],[[194623,194623],"mapped",[21608]],[[194624,194624],"mapped",[21666]],[[194625,194625],"mapped",[21750]],[[194626,194626],"mapped",[21776]],[[194627,194627],"mapped",[21843]],[[194628,194628],"mapped",[21859]],[[194629,194630],"mapped",[21892]],[[194631,194631],"mapped",[21913]],[[194632,194632],"mapped",[21931]],[[194633,194633],"mapped",[21939]],[[194634,194634],"mapped",[21954]],[[194635,194635],"mapped",[22294]],[[194636,194636],"mapped",[22022]],[[194637,194637],"mapped",[22295]],[[194638,194638],"mapped",[22097]],[[194639,194639],"mapped",[22132]],[[194640,194640],"mapped",[20999]],[[194641,194641],"mapped",[22766]],[[194642,194642],"mapped",[22478]],[[194643,194643],"mapped",[22516]],[[194644,194644],"mapped",[22541]],[[194645,194645],"mapped",[22411]],[[194646,194646],"mapped",[22578]],[[194647,194647],"mapped",[22577]],[[194648,194648],"mapped",[22700]],[[194649,194649],"mapped",[136420]],[[194650,194650],"mapped",[22770]],[[194651,194651],"mapped",[22775]],[[194652,194652],"mapped",[22790]],[[194653,194653],"mapped",[22810]],[[194654,194654],"mapped",[22818]],[[194655,194655],"mapped",[22882]],[[194656,194656],"mapped",[136872]],[[194657,194657],"mapped",[136938]],[[194658,194658],"mapped",[23020]],[[194659,194659],"mapped",[23067]],[[194660,194660],"mapped",[23079]],[[194661,194661],"mapped",[23000]],[[194662,194662],"mapped",[23142]],[[194663,194663],"mapped",[14062]],[[194664,194664],"disallowed"],[[194665,194665],"mapped",[23304]],[[194666,194667],"mapped",[23358]],[[194668,194668],"mapped",[137672]],[[194669,194669],"mapped",[23491]],[[194670,194670],"mapped",[23512]],[[194671,194671],"mapped",[23527]],[[194672,194672],"mapped",[23539]],[[194673,194673],"mapped",[138008]],[[194674,194674],"mapped",[23551]],[[194675,194675],"mapped",[23558]],[[194676,194676],"disallowed"],[[194677,194677],"mapped",[23586]],[[194678,194678],"mapped",[14209]],[[194679,194679],"mapped",[23648]],[[194680,194680],"mapped",[23662]],[[194681,194681],"mapped",[23744]],[[194682,194682],"mapped",[23693]],[[194683,194683],"mapped",[138724]],[[194684,194684],"mapped",[23875]],[[194685,194685],"mapped",[138726]],[[194686,194686],"mapped",[23918]],[[194687,194687],"mapped",[23915]],[[194688,194688],"mapped",[23932]],[[194689,194689],"mapped",[24033]],[[194690,194690],"mapped",[24034]],[[194691,194691],"mapped",[14383]],[[194692,194692],"mapped",[24061]],[[194693,194693],"mapped",[24104]],[[194694,194694],"mapped",[24125]],[[194695,194695],"mapped",[24169]],[[194696,194696],"mapped",[14434]],[[194697,194697],"mapped",[139651]],[[194698,194698],"mapped",[14460]],[[194699,194699],"mapped",[24240]],[[194700,194700],"mapped",[24243]],[[194701,194701],"mapped",[24246]],[[194702,194702],"mapped",[24266]],[[194703,194703],"mapped",[172946]],[[194704,194704],"mapped",[24318]],[[194705,194706],"mapped",[140081]],[[194707,194707],"mapped",[33281]],[[194708,194709],"mapped",[24354]],[[194710,194710],"mapped",[14535]],[[194711,194711],"mapped",[144056]],[[194712,194712],"mapped",[156122]],[[194713,194713],"mapped",[24418]],[[194714,194714],"mapped",[24427]],[[194715,194715],"mapped",[14563]],[[194716,194716],"mapped",[24474]],[[194717,194717],"mapped",[24525]],[[194718,194718],"mapped",[24535]],[[194719,194719],"mapped",[24569]],[[194720,194720],"mapped",[24705]],[[194721,194721],"mapped",[14650]],[[194722,194722],"mapped",[14620]],[[194723,194723],"mapped",[24724]],[[194724,194724],"mapped",[141012]],[[194725,194725],"mapped",[24775]],[[194726,194726],"mapped",[24904]],[[194727,194727],"mapped",[24908]],[[194728,194728],"mapped",[24910]],[[194729,194729],"mapped",[24908]],[[194730,194730],"mapped",[24954]],[[194731,194731],"mapped",[24974]],[[194732,194732],"mapped",[25010]],[[194733,194733],"mapped",[24996]],[[194734,194734],"mapped",[25007]],[[194735,194735],"mapped",[25054]],[[194736,194736],"mapped",[25074]],[[194737,194737],"mapped",[25078]],[[194738,194738],"mapped",[25104]],[[194739,194739],"mapped",[25115]],[[194740,194740],"mapped",[25181]],[[194741,194741],"mapped",[25265]],[[194742,194742],"mapped",[25300]],[[194743,194743],"mapped",[25424]],[[194744,194744],"mapped",[142092]],[[194745,194745],"mapped",[25405]],[[194746,194746],"mapped",[25340]],[[194747,194747],"mapped",[25448]],[[194748,194748],"mapped",[25475]],[[194749,194749],"mapped",[25572]],[[194750,194750],"mapped",[142321]],[[194751,194751],"mapped",[25634]],[[194752,194752],"mapped",[25541]],[[194753,194753],"mapped",[25513]],[[194754,194754],"mapped",[14894]],[[194755,194755],"mapped",[25705]],[[194756,194756],"mapped",[25726]],[[194757,194757],"mapped",[25757]],[[194758,194758],"mapped",[25719]],[[194759,194759],"mapped",[14956]],[[194760,194760],"mapped",[25935]],[[194761,194761],"mapped",[25964]],[[194762,194762],"mapped",[143370]],[[194763,194763],"mapped",[26083]],[[194764,194764],"mapped",[26360]],[[194765,194765],"mapped",[26185]],[[194766,194766],"mapped",[15129]],[[194767,194767],"mapped",[26257]],[[194768,194768],"mapped",[15112]],[[194769,194769],"mapped",[15076]],[[194770,194770],"mapped",[20882]],[[194771,194771],"mapped",[20885]],[[194772,194772],"mapped",[26368]],[[194773,194773],"mapped",[26268]],[[194774,194774],"mapped",[32941]],[[194775,194775],"mapped",[17369]],[[194776,194776],"mapped",[26391]],[[194777,194777],"mapped",[26395]],[[194778,194778],"mapped",[26401]],[[194779,194779],"mapped",[26462]],[[194780,194780],"mapped",[26451]],[[194781,194781],"mapped",[144323]],[[194782,194782],"mapped",[15177]],[[194783,194783],"mapped",[26618]],[[194784,194784],"mapped",[26501]],[[194785,194785],"mapped",[26706]],[[194786,194786],"mapped",[26757]],[[194787,194787],"mapped",[144493]],[[194788,194788],"mapped",[26766]],[[194789,194789],"mapped",[26655]],[[194790,194790],"mapped",[26900]],[[194791,194791],"mapped",[15261]],[[194792,194792],"mapped",[26946]],[[194793,194793],"mapped",[27043]],[[194794,194794],"mapped",[27114]],[[194795,194795],"mapped",[27304]],[[194796,194796],"mapped",[145059]],[[194797,194797],"mapped",[27355]],[[194798,194798],"mapped",[15384]],[[194799,194799],"mapped",[27425]],[[194800,194800],"mapped",[145575]],[[194801,194801],"mapped",[27476]],[[194802,194802],"mapped",[15438]],[[194803,194803],"mapped",[27506]],[[194804,194804],"mapped",[27551]],[[194805,194805],"mapped",[27578]],[[194806,194806],"mapped",[27579]],[[194807,194807],"mapped",[146061]],[[194808,194808],"mapped",[138507]],[[194809,194809],"mapped",[146170]],[[194810,194810],"mapped",[27726]],[[194811,194811],"mapped",[146620]],[[194812,194812],"mapped",[27839]],[[194813,194813],"mapped",[27853]],[[194814,194814],"mapped",[27751]],[[194815,194815],"mapped",[27926]],[[194816,194816],"mapped",[27966]],[[194817,194817],"mapped",[28023]],[[194818,194818],"mapped",[27969]],[[194819,194819],"mapped",[28009]],[[194820,194820],"mapped",[28024]],[[194821,194821],"mapped",[28037]],[[194822,194822],"mapped",[146718]],[[194823,194823],"mapped",[27956]],[[194824,194824],"mapped",[28207]],[[194825,194825],"mapped",[28270]],[[194826,194826],"mapped",[15667]],[[194827,194827],"mapped",[28363]],[[194828,194828],"mapped",[28359]],[[194829,194829],"mapped",[147153]],[[194830,194830],"mapped",[28153]],[[194831,194831],"mapped",[28526]],[[194832,194832],"mapped",[147294]],[[194833,194833],"mapped",[147342]],[[194834,194834],"mapped",[28614]],[[194835,194835],"mapped",[28729]],[[194836,194836],"mapped",[28702]],[[194837,194837],"mapped",[28699]],[[194838,194838],"mapped",[15766]],[[194839,194839],"mapped",[28746]],[[194840,194840],"mapped",[28797]],[[194841,194841],"mapped",[28791]],[[194842,194842],"mapped",[28845]],[[194843,194843],"mapped",[132389]],[[194844,194844],"mapped",[28997]],[[194845,194845],"mapped",[148067]],[[194846,194846],"mapped",[29084]],[[194847,194847],"disallowed"],[[194848,194848],"mapped",[29224]],[[194849,194849],"mapped",[29237]],[[194850,194850],"mapped",[29264]],[[194851,194851],"mapped",[149000]],[[194852,194852],"mapped",[29312]],[[194853,194853],"mapped",[29333]],[[194854,194854],"mapped",[149301]],[[194855,194855],"mapped",[149524]],[[194856,194856],"mapped",[29562]],[[194857,194857],"mapped",[29579]],[[194858,194858],"mapped",[16044]],[[194859,194859],"mapped",[29605]],[[194860,194861],"mapped",[16056]],[[194862,194862],"mapped",[29767]],[[194863,194863],"mapped",[29788]],[[194864,194864],"mapped",[29809]],[[194865,194865],"mapped",[29829]],[[194866,194866],"mapped",[29898]],[[194867,194867],"mapped",[16155]],[[194868,194868],"mapped",[29988]],[[194869,194869],"mapped",[150582]],[[194870,194870],"mapped",[30014]],[[194871,194871],"mapped",[150674]],[[194872,194872],"mapped",[30064]],[[194873,194873],"mapped",[139679]],[[194874,194874],"mapped",[30224]],[[194875,194875],"mapped",[151457]],[[194876,194876],"mapped",[151480]],[[194877,194877],"mapped",[151620]],[[194878,194878],"mapped",[16380]],[[194879,194879],"mapped",[16392]],[[194880,194880],"mapped",[30452]],[[194881,194881],"mapped",[151795]],[[194882,194882],"mapped",[151794]],[[194883,194883],"mapped",[151833]],[[194884,194884],"mapped",[151859]],[[194885,194885],"mapped",[30494]],[[194886,194887],"mapped",[30495]],[[194888,194888],"mapped",[30538]],[[194889,194889],"mapped",[16441]],[[194890,194890],"mapped",[30603]],[[194891,194891],"mapped",[16454]],[[194892,194892],"mapped",[16534]],[[194893,194893],"mapped",[152605]],[[194894,194894],"mapped",[30798]],[[194895,194895],"mapped",[30860]],[[194896,194896],"mapped",[30924]],[[194897,194897],"mapped",[16611]],[[194898,194898],"mapped",[153126]],[[194899,194899],"mapped",[31062]],[[194900,194900],"mapped",[153242]],[[194901,194901],"mapped",[153285]],[[194902,194902],"mapped",[31119]],[[194903,194903],"mapped",[31211]],[[194904,194904],"mapped",[16687]],[[194905,194905],"mapped",[31296]],[[194906,194906],"mapped",[31306]],[[194907,194907],"mapped",[31311]],[[194908,194908],"mapped",[153980]],[[194909,194910],"mapped",[154279]],[[194911,194911],"disallowed"],[[194912,194912],"mapped",[16898]],[[194913,194913],"mapped",[154539]],[[194914,194914],"mapped",[31686]],[[194915,194915],"mapped",[31689]],[[194916,194916],"mapped",[16935]],[[194917,194917],"mapped",[154752]],[[194918,194918],"mapped",[31954]],[[194919,194919],"mapped",[17056]],[[194920,194920],"mapped",[31976]],[[194921,194921],"mapped",[31971]],[[194922,194922],"mapped",[32000]],[[194923,194923],"mapped",[155526]],[[194924,194924],"mapped",[32099]],[[194925,194925],"mapped",[17153]],[[194926,194926],"mapped",[32199]],[[194927,194927],"mapped",[32258]],[[194928,194928],"mapped",[32325]],[[194929,194929],"mapped",[17204]],[[194930,194930],"mapped",[156200]],[[194931,194931],"mapped",[156231]],[[194932,194932],"mapped",[17241]],[[194933,194933],"mapped",[156377]],[[194934,194934],"mapped",[32634]],[[194935,194935],"mapped",[156478]],[[194936,194936],"mapped",[32661]],[[194937,194937],"mapped",[32762]],[[194938,194938],"mapped",[32773]],[[194939,194939],"mapped",[156890]],[[194940,194940],"mapped",[156963]],[[194941,194941],"mapped",[32864]],[[194942,194942],"mapped",[157096]],[[194943,194943],"mapped",[32880]],[[194944,194944],"mapped",[144223]],[[194945,194945],"mapped",[17365]],[[194946,194946],"mapped",[32946]],[[194947,194947],"mapped",[33027]],[[194948,194948],"mapped",[17419]],[[194949,194949],"mapped",[33086]],[[194950,194950],"mapped",[23221]],[[194951,194951],"mapped",[157607]],[[194952,194952],"mapped",[157621]],[[194953,194953],"mapped",[144275]],[[194954,194954],"mapped",[144284]],[[194955,194955],"mapped",[33281]],[[194956,194956],"mapped",[33284]],[[194957,194957],"mapped",[36766]],[[194958,194958],"mapped",[17515]],[[194959,194959],"mapped",[33425]],[[194960,194960],"mapped",[33419]],[[194961,194961],"mapped",[33437]],[[194962,194962],"mapped",[21171]],[[194963,194963],"mapped",[33457]],[[194964,194964],"mapped",[33459]],[[194965,194965],"mapped",[33469]],[[194966,194966],"mapped",[33510]],[[194967,194967],"mapped",[158524]],[[194968,194968],"mapped",[33509]],[[194969,194969],"mapped",[33565]],[[194970,194970],"mapped",[33635]],[[194971,194971],"mapped",[33709]],[[194972,194972],"mapped",[33571]],[[194973,194973],"mapped",[33725]],[[194974,194974],"mapped",[33767]],[[194975,194975],"mapped",[33879]],[[194976,194976],"mapped",[33619]],[[194977,194977],"mapped",[33738]],[[194978,194978],"mapped",[33740]],[[194979,194979],"mapped",[33756]],[[194980,194980],"mapped",[158774]],[[194981,194981],"mapped",[159083]],[[194982,194982],"mapped",[158933]],[[194983,194983],"mapped",[17707]],[[194984,194984],"mapped",[34033]],[[194985,194985],"mapped",[34035]],[[194986,194986],"mapped",[34070]],[[194987,194987],"mapped",[160714]],[[194988,194988],"mapped",[34148]],[[194989,194989],"mapped",[159532]],[[194990,194990],"mapped",[17757]],[[194991,194991],"mapped",[17761]],[[194992,194992],"mapped",[159665]],[[194993,194993],"mapped",[159954]],[[194994,194994],"mapped",[17771]],[[194995,194995],"mapped",[34384]],[[194996,194996],"mapped",[34396]],[[194997,194997],"mapped",[34407]],[[194998,194998],"mapped",[34409]],[[194999,194999],"mapped",[34473]],[[195000,195000],"mapped",[34440]],[[195001,195001],"mapped",[34574]],[[195002,195002],"mapped",[34530]],[[195003,195003],"mapped",[34681]],[[195004,195004],"mapped",[34600]],[[195005,195005],"mapped",[34667]],[[195006,195006],"mapped",[34694]],[[195007,195007],"disallowed"],[[195008,195008],"mapped",[34785]],[[195009,195009],"mapped",[34817]],[[195010,195010],"mapped",[17913]],[[195011,195011],"mapped",[34912]],[[195012,195012],"mapped",[34915]],[[195013,195013],"mapped",[161383]],[[195014,195014],"mapped",[35031]],[[195015,195015],"mapped",[35038]],[[195016,195016],"mapped",[17973]],[[195017,195017],"mapped",[35066]],[[195018,195018],"mapped",[13499]],[[195019,195019],"mapped",[161966]],[[195020,195020],"mapped",[162150]],[[195021,195021],"mapped",[18110]],[[195022,195022],"mapped",[18119]],[[195023,195023],"mapped",[35488]],[[195024,195024],"mapped",[35565]],[[195025,195025],"mapped",[35722]],[[195026,195026],"mapped",[35925]],[[195027,195027],"mapped",[162984]],[[195028,195028],"mapped",[36011]],[[195029,195029],"mapped",[36033]],[[195030,195030],"mapped",[36123]],[[195031,195031],"mapped",[36215]],[[195032,195032],"mapped",[163631]],[[195033,195033],"mapped",[133124]],[[195034,195034],"mapped",[36299]],[[195035,195035],"mapped",[36284]],[[195036,195036],"mapped",[36336]],[[195037,195037],"mapped",[133342]],[[195038,195038],"mapped",[36564]],[[195039,195039],"mapped",[36664]],[[195040,195040],"mapped",[165330]],[[195041,195041],"mapped",[165357]],[[195042,195042],"mapped",[37012]],[[195043,195043],"mapped",[37105]],[[195044,195044],"mapped",[37137]],[[195045,195045],"mapped",[165678]],[[195046,195046],"mapped",[37147]],[[195047,195047],"mapped",[37432]],[[195048,195048],"mapped",[37591]],[[195049,195049],"mapped",[37592]],[[195050,195050],"mapped",[37500]],[[195051,195051],"mapped",[37881]],[[195052,195052],"mapped",[37909]],[[195053,195053],"mapped",[166906]],[[195054,195054],"mapped",[38283]],[[195055,195055],"mapped",[18837]],[[195056,195056],"mapped",[38327]],[[195057,195057],"mapped",[167287]],[[195058,195058],"mapped",[18918]],[[195059,195059],"mapped",[38595]],[[195060,195060],"mapped",[23986]],[[195061,195061],"mapped",[38691]],[[195062,195062],"mapped",[168261]],[[195063,195063],"mapped",[168474]],[[195064,195064],"mapped",[19054]],[[195065,195065],"mapped",[19062]],[[195066,195066],"mapped",[38880]],[[195067,195067],"mapped",[168970]],[[195068,195068],"mapped",[19122]],[[195069,195069],"mapped",[169110]],[[195070,195071],"mapped",[38923]],[[195072,195072],"mapped",[38953]],[[195073,195073],"mapped",[169398]],[[195074,195074],"mapped",[39138]],[[195075,195075],"mapped",[19251]],[[195076,195076],"mapped",[39209]],[[195077,195077],"mapped",[39335]],[[195078,195078],"mapped",[39362]],[[195079,195079],"mapped",[39422]],[[195080,195080],"mapped",[19406]],[[195081,195081],"mapped",[170800]],[[195082,195082],"mapped",[39698]],[[195083,195083],"mapped",[40000]],[[195084,195084],"mapped",[40189]],[[195085,195085],"mapped",[19662]],[[195086,195086],"mapped",[19693]],[[195087,195087],"mapped",[40295]],[[195088,195088],"mapped",[172238]],[[195089,195089],"mapped",[19704]],[[195090,195090],"mapped",[172293]],[[195091,195091],"mapped",[172558]],[[195092,195092],"mapped",[172689]],[[195093,195093],"mapped",[40635]],[[195094,195094],"mapped",[19798]],[[195095,195095],"mapped",[40697]],[[195096,195096],"mapped",[40702]],[[195097,195097],"mapped",[40709]],[[195098,195098],"mapped",[40719]],[[195099,195099],"mapped",[40726]],[[195100,195100],"mapped",[40763]],[[195101,195101],"mapped",[173568]],[[195102,196605],"disallowed"],[[196606,196607],"disallowed"],[[196608,262141],"disallowed"],[[262142,262143],"disallowed"],[[262144,327677],"disallowed"],[[327678,327679],"disallowed"],[[327680,393213],"disallowed"],[[393214,393215],"disallowed"],[[393216,458749],"disallowed"],[[458750,458751],"disallowed"],[[458752,524285],"disallowed"],[[524286,524287],"disallowed"],[[524288,589821],"disallowed"],[[589822,589823],"disallowed"],[[589824,655357],"disallowed"],[[655358,655359],"disallowed"],[[655360,720893],"disallowed"],[[720894,720895],"disallowed"],[[720896,786429],"disallowed"],[[786430,786431],"disallowed"],[[786432,851965],"disallowed"],[[851966,851967],"disallowed"],[[851968,917501],"disallowed"],[[917502,917503],"disallowed"],[[917504,917504],"disallowed"],[[917505,917505],"disallowed"],[[917506,917535],"disallowed"],[[917536,917631],"disallowed"],[[917632,917759],"disallowed"],[[917760,917999],"ignored"],[[918000,983037],"disallowed"],[[983038,983039],"disallowed"],[[983040,1048573],"disallowed"],[[1048574,1048575],"disallowed"],[[1048576,1114109],"disallowed"],[[1114110,1114111],"disallowed"]]')}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var o=n(6445),i=exports;for(var a in o)i[a]=o[a];o.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})})();
|
|
3
|
+
//# sourceMappingURL=supernova-sdk-typescript.js.map
|