@janbox/storefront-builder 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/canvas/index.d.ts +6 -0
- package/dist/components/canvas-placeholder/index.d.ts +3 -0
- package/dist/components/composer/dataset.d.ts +32 -0
- package/dist/components/composer/index.d.ts +4 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/resolver/index.d.ts +5 -0
- package/dist/constants/index.d.ts +49 -0
- package/dist/countdown-timer.node-CTPWHLr7.js +4374 -0
- package/dist/editor/components/breakpoint-selection.d.ts +2 -0
- package/dist/editor/components/color-picker-popover.d.ts +10 -0
- package/dist/editor/components/color-preview.d.ts +6 -0
- package/dist/editor/components/css-size-input.d.ts +10 -0
- package/dist/editor/components/degree-picker.d.ts +1 -0
- package/dist/editor/components/frame-preview/index.d.ts +9 -0
- package/dist/editor/components/image-source-selection.d.ts +8 -0
- package/dist/editor/components/index.d.ts +11 -0
- package/dist/editor/components/text-inline-editor.d.ts +10 -0
- package/dist/editor/components/toolbar-container.d.ts +1 -0
- package/dist/editor/components/toolbar-field.d.ts +9 -0
- package/dist/editor/components/toolbar-group.d.ts +10 -0
- package/dist/editor/constants/index.d.ts +20 -0
- package/dist/editor/hooks/index.d.ts +22 -0
- package/dist/editor/hooks/use-editor-state.d.ts +5 -0
- package/dist/editor/index.d.ts +2 -0
- package/dist/editor/lib/events.d.ts +5 -0
- package/dist/editor/lib/header/index.d.ts +1 -0
- package/dist/editor/lib/index.d.ts +10 -0
- package/dist/editor/lib/node-renderer/index.d.ts +3 -0
- package/dist/editor/lib/node-renderer/node-actions.d.ts +1 -0
- package/dist/editor/lib/node-renderer/node-focused.d.ts +1 -0
- package/dist/editor/lib/node-renderer/node-renderer.d.ts +4 -0
- package/dist/editor/lib/register.d.ts +1 -0
- package/dist/editor/lib/sidebar/index.d.ts +5 -0
- package/dist/editor/lib/sidebar/insert-action.d.ts +30 -0
- package/dist/editor/lib/sidebar/layers-action.d.ts +4 -0
- package/dist/editor/toolbars/anchor-target/anchor-target.d.ts +7 -0
- package/dist/editor/toolbars/anchor-target/index.d.ts +1 -0
- package/dist/editor/toolbars/aspect-ratio/aspect-ratio.d.ts +17 -0
- package/dist/editor/toolbars/aspect-ratio/index.d.ts +1 -0
- package/dist/editor/toolbars/background/background-toolbar.d.ts +2 -0
- package/dist/editor/toolbars/background/bg-color-tab.d.ts +7 -0
- package/dist/editor/toolbars/background/bg-image-tab.d.ts +7 -0
- package/dist/editor/toolbars/background/dataset.d.ts +11 -0
- package/dist/editor/toolbars/background/index.d.ts +2 -0
- package/dist/editor/toolbars/background/types.d.ts +14 -0
- package/dist/editor/toolbars/border/border.d.ts +8 -0
- package/dist/editor/toolbars/border/index.d.ts +2 -0
- package/dist/editor/toolbars/border/types.d.ts +9 -0
- package/dist/editor/toolbars/border-radius/border-radius.d.ts +14 -0
- package/dist/editor/toolbars/border-radius/index.d.ts +1 -0
- package/dist/editor/toolbars/child-nodes/child-node.d.ts +7 -0
- package/dist/editor/toolbars/child-nodes/index.d.ts +6 -0
- package/dist/editor/toolbars/color/color.d.ts +12 -0
- package/dist/editor/toolbars/color/index.d.ts +1 -0
- package/dist/editor/toolbars/color-variant/color-variant.d.ts +5 -0
- package/dist/editor/toolbars/color-variant/index.d.ts +1 -0
- package/dist/editor/toolbars/column-gap/column-gap.d.ts +11 -0
- package/dist/editor/toolbars/column-gap/index.d.ts +1 -0
- package/dist/editor/toolbars/display/display.d.ts +13 -0
- package/dist/editor/toolbars/display/index.d.ts +1 -0
- package/dist/editor/toolbars/display-on/display-on.d.ts +5 -0
- package/dist/editor/toolbars/display-on/index.d.ts +1 -0
- package/dist/editor/toolbars/flex/flex.d.ts +13 -0
- package/dist/editor/toolbars/flex/index.d.ts +1 -0
- package/dist/editor/toolbars/flex-align-items/flex-align-items.d.ts +14 -0
- package/dist/editor/toolbars/flex-align-items/index.d.ts +1 -0
- package/dist/editor/toolbars/flex-wrap/flex-wrap.d.ts +12 -0
- package/dist/editor/toolbars/flex-wrap/index.d.ts +1 -0
- package/dist/editor/toolbars/font-size/font-size.d.ts +12 -0
- package/dist/editor/toolbars/font-size/index.d.ts +1 -0
- package/dist/editor/toolbars/font-weight/dataset.d.ts +5 -0
- package/dist/editor/toolbars/font-weight/font-weight.d.ts +9 -0
- package/dist/editor/toolbars/font-weight/index.d.ts +1 -0
- package/dist/editor/toolbars/grid-align-items/grid-align-items.d.ts +12 -0
- package/dist/editor/toolbars/grid-align-items/index.d.ts +1 -0
- package/dist/editor/toolbars/height/height.d.ts +22 -0
- package/dist/editor/toolbars/height/index.d.ts +1 -0
- package/dist/editor/toolbars/index.d.ts +38 -0
- package/dist/editor/toolbars/justify-content/index.d.ts +1 -0
- package/dist/editor/toolbars/justify-content/justify-content.d.ts +13 -0
- package/dist/editor/toolbars/justify-items/index.d.ts +1 -0
- package/dist/editor/toolbars/justify-items/justify-items.d.ts +12 -0
- package/dist/editor/toolbars/line-height/dataset.d.ts +8 -0
- package/dist/editor/toolbars/line-height/index.d.ts +1 -0
- package/dist/editor/toolbars/line-height/line-height.d.ts +12 -0
- package/dist/editor/toolbars/margin/index.d.ts +1 -0
- package/dist/editor/toolbars/margin/margin.d.ts +15 -0
- package/dist/editor/toolbars/min-width/index.d.ts +1 -0
- package/dist/editor/toolbars/min-width/min-width.d.ts +12 -0
- package/dist/editor/toolbars/number-field/index.d.ts +1 -0
- package/dist/editor/toolbars/number-field/number-field.d.ts +14 -0
- package/dist/editor/toolbars/number-field-mix-options/index.d.ts +1 -0
- package/dist/editor/toolbars/number-field-mix-options/number-field-mix-options.d.ts +13 -0
- package/dist/editor/toolbars/object-fit/dataset.d.ts +2 -0
- package/dist/editor/toolbars/object-fit/index.d.ts +1 -0
- package/dist/editor/toolbars/object-fit/object-fit.d.ts +11 -0
- package/dist/editor/toolbars/order/index.d.ts +1 -0
- package/dist/editor/toolbars/order/order.d.ts +12 -0
- package/dist/editor/toolbars/padding/index.d.ts +1 -0
- package/dist/editor/toolbars/padding/padding.d.ts +10 -0
- package/dist/editor/toolbars/row-gap/index.d.ts +1 -0
- package/dist/editor/toolbars/row-gap/row-gap.d.ts +10 -0
- package/dist/editor/toolbars/spacing/index.d.ts +2 -0
- package/dist/editor/toolbars/spacing/spacing.d.ts +2 -0
- package/dist/editor/toolbars/spacing/types.d.ts +15 -0
- package/dist/editor/toolbars/svg-source/index.d.ts +1 -0
- package/dist/editor/toolbars/svg-source/svg-source.d.ts +7 -0
- package/dist/editor/toolbars/svg-source/uploaded-source.d.ts +4 -0
- package/dist/editor/toolbars/tag-name/index.d.ts +1 -0
- package/dist/editor/toolbars/tag-name/tag-name.d.ts +8 -0
- package/dist/editor/toolbars/text-align/index.d.ts +1 -0
- package/dist/editor/toolbars/text-align/text-align.d.ts +8 -0
- package/dist/editor/toolbars/text-style/index.d.ts +1 -0
- package/dist/editor/toolbars/text-style/text-style.d.ts +14 -0
- package/dist/editor/toolbars/text-style-group/index.d.ts +1 -0
- package/dist/editor/toolbars/text-style-group/text-style-group.d.ts +17 -0
- package/dist/editor/toolbars/text-transform/index.d.ts +1 -0
- package/dist/editor/toolbars/text-transform/text-transform.d.ts +10 -0
- package/dist/editor/toolbars/text-variant/index.d.ts +1 -0
- package/dist/editor/toolbars/text-variant/text-variant.d.ts +15 -0
- package/dist/editor/toolbars/width/index.d.ts +1 -0
- package/dist/editor/toolbars/width/width.d.ts +20 -0
- package/dist/editor/types/index.d.ts +3 -0
- package/dist/editor/ui/button/button.d.ts +12 -0
- package/dist/editor/ui/button/index.d.ts +1 -0
- package/dist/editor/ui/button-group/button-group.d.ts +8 -0
- package/dist/editor/ui/button-group/index.d.ts +1 -0
- package/dist/editor/ui/collapse/collapse.d.ts +8 -0
- package/dist/editor/ui/collapse/index.d.ts +1 -0
- package/dist/editor/ui/color-picker/color-picker.d.ts +4 -0
- package/dist/editor/ui/color-picker/index.d.ts +1 -0
- package/dist/editor/ui/date-picker/date-picker.d.ts +21 -0
- package/dist/editor/ui/date-picker/index.d.ts +1 -0
- package/dist/editor/ui/dialog/dialog/dialog.d.ts +2 -0
- package/dist/editor/ui/dialog/dialog/helpers.d.ts +1 -0
- package/dist/editor/ui/dialog/dialog/index.d.ts +3 -0
- package/dist/editor/ui/dialog/dialog/types.d.ts +5 -0
- package/dist/editor/ui/dialog/dialog-body/dialog-body.d.ts +2 -0
- package/dist/editor/ui/dialog/dialog-body/index.d.ts +2 -0
- package/dist/editor/ui/dialog/dialog-body/types.d.ts +3 -0
- package/dist/editor/ui/dialog/dialog-close/dialog-close.d.ts +1 -0
- package/dist/editor/ui/dialog/dialog-close/index.d.ts +2 -0
- package/dist/editor/ui/dialog/dialog-close/types.d.ts +2 -0
- package/dist/editor/ui/dialog/dialog-footer/dialog-footer.d.ts +2 -0
- package/dist/editor/ui/dialog/dialog-footer/index.d.ts +2 -0
- package/dist/editor/ui/dialog/dialog-footer/types.d.ts +3 -0
- package/dist/editor/ui/dialog/dialog-header/dialog-header.d.ts +2 -0
- package/dist/editor/ui/dialog/dialog-header/index.d.ts +2 -0
- package/dist/editor/ui/dialog/dialog-header/types.d.ts +4 -0
- package/dist/editor/ui/dialog/index.d.ts +5 -0
- package/dist/editor/ui/dropzone/dropzone.d.ts +6 -0
- package/dist/editor/ui/dropzone/index.d.ts +1 -0
- package/dist/editor/ui/floating/index.d.ts +3 -0
- package/dist/editor/ui/floating/wb-floating/helpers.d.ts +4 -0
- package/dist/editor/ui/floating/wb-floating/index.d.ts +3 -0
- package/dist/editor/ui/floating/wb-floating/types.d.ts +16 -0
- package/dist/editor/ui/floating/wb-floating-close/index.d.ts +2 -0
- package/dist/editor/ui/floating/wb-floating-close/types.d.ts +7 -0
- package/dist/editor/ui/floating/wb-floating-close/wb-floating-close.d.ts +2 -0
- package/dist/editor/ui/floating/wb-floating-content/index.d.ts +2 -0
- package/dist/editor/ui/floating/wb-floating-content/types.d.ts +10 -0
- package/dist/editor/ui/floating/wb-floating-content/wb-floating-content.d.ts +2 -0
- package/dist/editor/ui/form-label/form-label.d.ts +6 -0
- package/dist/editor/ui/form-label/index.d.ts +1 -0
- package/dist/editor/ui/icon/icon.d.ts +6 -0
- package/dist/editor/ui/icon/index.d.ts +1 -0
- package/dist/editor/ui/icon-button/icon-button.d.ts +10 -0
- package/dist/editor/ui/icon-button/index.d.ts +1 -0
- package/dist/editor/ui/index.d.ts +25 -0
- package/dist/editor/ui/input/index.d.ts +1 -0
- package/dist/editor/ui/input/input.d.ts +22 -0
- package/dist/editor/ui/input-number/index.d.ts +1 -0
- package/dist/editor/ui/input-number/input-number.d.ts +11 -0
- package/dist/editor/ui/loading-overlay/index.d.ts +1 -0
- package/dist/editor/ui/loading-overlay/loading-overlay.d.ts +8 -0
- package/dist/editor/ui/menu/context.d.ts +5 -0
- package/dist/editor/ui/menu/index.d.ts +4 -0
- package/dist/editor/ui/menu/menu-core.d.ts +13 -0
- package/dist/editor/ui/menu/menu-item.d.ts +5 -0
- package/dist/editor/ui/menu/menu-list.d.ts +2 -0
- package/dist/editor/ui/menu/menu-trigger.d.ts +2 -0
- package/dist/editor/ui/menu/menu.d.ts +3 -0
- package/dist/editor/ui/popover/context.d.ts +5 -0
- package/dist/editor/ui/popover/index.d.ts +4 -0
- package/dist/editor/ui/popover/popover-close.d.ts +8 -0
- package/dist/editor/ui/popover/popover-content.d.ts +2 -0
- package/dist/editor/ui/popover/popover-core.d.ts +12 -0
- package/dist/editor/ui/popover/popover-trigger.d.ts +2 -0
- package/dist/editor/ui/popover/popover.d.ts +3 -0
- package/dist/editor/ui/radio-button/index.d.ts +1 -0
- package/dist/editor/ui/radio-button/radio-button.d.ts +6 -0
- package/dist/editor/ui/scroll-view/index.d.ts +1 -0
- package/dist/editor/ui/scroll-view/scroll-view.d.ts +4 -0
- package/dist/editor/ui/select/index.d.ts +1 -0
- package/dist/editor/ui/select/select.d.ts +31 -0
- package/dist/editor/ui/svg-loader/index.d.ts +5 -0
- package/dist/editor/ui/switch/index.d.ts +1 -0
- package/dist/editor/ui/switch/switch.d.ts +4 -0
- package/dist/editor/ui/tabs/context.d.ts +6 -0
- package/dist/editor/ui/tabs/index.d.ts +5 -0
- package/dist/editor/ui/tabs/tab-content.d.ts +2 -0
- package/dist/editor/ui/tabs/tab-list.d.ts +6 -0
- package/dist/editor/ui/tabs/tab-panel.d.ts +2 -0
- package/dist/editor/ui/tabs/tab.d.ts +8 -0
- package/dist/editor/ui/tabs/tabs.d.ts +8 -0
- package/dist/editor/ui/textarea/index.d.ts +1 -0
- package/dist/editor/ui/textarea/textarea.d.ts +3 -0
- package/dist/editor/ui/tooltip/index.d.ts +1 -0
- package/dist/editor/ui/tooltip/tooltip.d.ts +9 -0
- package/dist/editor/ui/virtualized-list/index.d.ts +14 -0
- package/dist/editor.js +867 -0
- package/dist/hooks/index.d.ts +4 -0
- package/dist/hooks/use-node-data-attributes.d.ts +1 -0
- package/dist/hooks/use-node-props.d.ts +16 -0
- package/dist/hooks/use-node.d.ts +2 -0
- package/dist/index-CY7cmOMU.js +5815 -0
- package/dist/index-Rgu55m54.js +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +15169 -0
- package/dist/lib/accordion/accordion.node/accordion.node.d.ts +3 -0
- package/dist/lib/accordion/accordion.node/index.d.ts +3 -0
- package/dist/lib/accordion/accordion.node/types.d.ts +2 -0
- package/dist/lib/accordion/index.d.ts +1 -0
- package/dist/lib/accordion-content/accordion-content.node/accordion-content.node.d.ts +3 -0
- package/dist/lib/accordion-content/accordion-content.node/index.d.ts +2 -0
- package/dist/lib/accordion-content/accordion-content.node/types.d.ts +2 -0
- package/dist/lib/accordion-content/index.d.ts +1 -0
- package/dist/lib/accordion-group/accordion-group.inspector/accordion-group.inspector.d.ts +1 -0
- package/dist/lib/accordion-group/accordion-group.inspector/accordion-items-field.d.ts +1 -0
- package/dist/lib/accordion-group/accordion-group.inspector/expand-icon-field.d.ts +2 -0
- package/dist/lib/accordion-group/accordion-group.inspector/index.d.ts +1 -0
- package/dist/lib/accordion-group/accordion-group.inspector/open-mode-field.d.ts +1 -0
- package/dist/lib/accordion-group/accordion-group.node/accordion-group.node.d.ts +3 -0
- package/dist/lib/accordion-group/accordion-group.node/index.d.ts +3 -0
- package/dist/lib/accordion-group/accordion-group.node/types.d.ts +2 -0
- package/dist/lib/accordion-group/index.d.ts +2 -0
- package/dist/lib/accordion-summary/accordion-summary.node/accordion-summary.node.d.ts +2 -0
- package/dist/lib/accordion-summary/accordion-summary.node/index.d.ts +2 -0
- package/dist/lib/accordion-summary/accordion-summary.node/types.d.ts +2 -0
- package/dist/lib/accordion-summary/index.d.ts +1 -0
- package/dist/lib/box/box.inspector/box.inspector.d.ts +1 -0
- package/dist/lib/box/box.inspector/index.d.ts +1 -0
- package/dist/lib/box/box.node/box.node.d.ts +2 -0
- package/dist/lib/box/box.node/index.d.ts +3 -0
- package/dist/lib/box/box.node/types.d.ts +2 -0
- package/dist/lib/box/index.d.ts +2 -0
- package/dist/lib/button/button.inspector/button.inspector.d.ts +6 -0
- package/dist/lib/button/button.inspector/index.d.ts +3 -0
- package/dist/lib/button/button.inspector/link-field.d.ts +4 -0
- package/dist/lib/button/button.inspector/size-field.d.ts +1 -0
- package/dist/lib/button/button.inspector/variant-field.d.ts +1 -0
- package/dist/lib/button/button.node/button.node.d.ts +2 -0
- package/dist/lib/button/button.node/index.d.ts +3 -0
- package/dist/lib/button/button.node/types.d.ts +2 -0
- package/dist/lib/button/index.d.ts +2 -0
- package/dist/lib/cell/cell.inspector/cell.inspector.d.ts +1 -0
- package/dist/lib/cell/cell.inspector/col-span-field.d.ts +1 -0
- package/dist/lib/cell/cell.inspector/index.d.ts +1 -0
- package/dist/lib/cell/cell.node/cell.node.d.ts +2 -0
- package/dist/lib/cell/cell.node/index.d.ts +3 -0
- package/dist/lib/cell/cell.node/types.d.ts +2 -0
- package/dist/lib/cell/index.d.ts +2 -0
- package/dist/lib/countdown-timer/countdown-timer.inspector/caption-style-fields.d.ts +2 -0
- package/dist/lib/countdown-timer/countdown-timer.inspector/countdown-timer.inspector.d.ts +1 -0
- package/dist/lib/countdown-timer/countdown-timer.inspector/index.d.ts +1 -0
- package/dist/lib/countdown-timer/countdown-timer.inspector/time-style-fields.d.ts +2 -0
- package/dist/lib/countdown-timer/countdown-timer.inspector/unit-item-style-fields.d.ts +2 -0
- package/dist/lib/countdown-timer/countdown-timer.inspector/units-field.d.ts +2 -0
- package/dist/lib/countdown-timer/countdown-timer.node/countdown-timer.node.d.ts +2 -0
- package/dist/lib/countdown-timer/countdown-timer.node/index.d.ts +2 -0
- package/dist/lib/countdown-timer/countdown-timer.node/types.d.ts +13 -0
- package/dist/lib/countdown-timer/index.d.ts +2 -0
- package/dist/lib/flex-item/flex-item.inspector/auto-grow-field.d.ts +2 -0
- package/dist/lib/flex-item/flex-item.inspector/auto-shrink-field.d.ts +2 -0
- package/dist/lib/flex-item/flex-item.inspector/flex-item.inspector.d.ts +1 -0
- package/dist/lib/flex-item/flex-item.inspector/index.d.ts +1 -0
- package/dist/lib/flex-item/flex-item.node/flex-item.node.d.ts +2 -0
- package/dist/lib/flex-item/flex-item.node/index.d.ts +3 -0
- package/dist/lib/flex-item/flex-item.node/types.d.ts +2 -0
- package/dist/lib/flex-item/index.d.ts +2 -0
- package/dist/lib/flexbox/flexbox.inspector/direction-field.d.ts +1 -0
- package/dist/lib/flexbox/flexbox.inspector/flexbox.inspector.d.ts +1 -0
- package/dist/lib/flexbox/flexbox.inspector/index.d.ts +1 -0
- package/dist/lib/flexbox/flexbox.node/flexbox.node.d.ts +2 -0
- package/dist/lib/flexbox/flexbox.node/index.d.ts +3 -0
- package/dist/lib/flexbox/flexbox.node/types.d.ts +2 -0
- package/dist/lib/flexbox/index.d.ts +2 -0
- package/dist/lib/grid/grid.inspector/grid.inspector.d.ts +1 -0
- package/dist/lib/grid/grid.inspector/index.d.ts +1 -0
- package/dist/lib/grid/grid.node/grid.node.d.ts +2 -0
- package/dist/lib/grid/grid.node/index.d.ts +3 -0
- package/dist/lib/grid/grid.node/types.d.ts +2 -0
- package/dist/lib/grid/index.d.ts +2 -0
- package/dist/lib/heading/heading/heading.d.ts +2 -0
- package/dist/lib/heading/heading/index.d.ts +2 -0
- package/dist/lib/heading/heading/types.d.ts +2 -0
- package/dist/lib/heading/heading.inspector/heading.inspector.d.ts +1 -0
- package/dist/lib/heading/heading.inspector/index.d.ts +1 -0
- package/dist/lib/heading/heading.node/heading.node.d.ts +2 -0
- package/dist/lib/heading/heading.node/index.d.ts +3 -0
- package/dist/lib/heading/heading.node/types.d.ts +2 -0
- package/dist/lib/heading/heading.renderer/heading.renderer.d.ts +2 -0
- package/dist/lib/heading/heading.renderer/index.d.ts +1 -0
- package/dist/lib/heading/index.d.ts +4 -0
- package/dist/lib/icon/icon.inspector/icon.inspector.d.ts +1 -0
- package/dist/lib/icon/icon.inspector/index.d.ts +1 -0
- package/dist/lib/icon/icon.node/icon.node.d.ts +2 -0
- package/dist/lib/icon/icon.node/index.d.ts +3 -0
- package/dist/lib/icon/icon.node/types.d.ts +2 -0
- package/dist/lib/icon/index.d.ts +2 -0
- package/dist/lib/image/image.inspector/alt-text-field.d.ts +1 -0
- package/dist/lib/image/image.inspector/image.inspector.d.ts +1 -0
- package/dist/lib/image/image.inspector/index.d.ts +1 -0
- package/dist/lib/image/image.inspector/preload-field.d.ts +1 -0
- package/dist/lib/image/image.inspector/proportion-field.d.ts +1 -0
- package/dist/lib/image/image.inspector/source-field.d.ts +1 -0
- package/dist/lib/image/image.node/image.node.d.ts +2 -0
- package/dist/lib/image/image.node/index.d.ts +3 -0
- package/dist/lib/image/image.node/types.d.ts +2 -0
- package/dist/lib/image/index.d.ts +2 -0
- package/dist/lib/index.d.ts +31 -0
- package/dist/lib/link/index.d.ts +2 -0
- package/dist/lib/link/link.inspector/destination-field.d.ts +1 -0
- package/dist/lib/link/link.inspector/index.d.ts +1 -0
- package/dist/lib/link/link.inspector/link.inspector.d.ts +1 -0
- package/dist/lib/link/link.inspector/rel-field.d.ts +1 -0
- package/dist/lib/link/link.node/index.d.ts +3 -0
- package/dist/lib/link/link.node/link.node.d.ts +2 -0
- package/dist/lib/link/link.node/types.d.ts +2 -0
- package/dist/lib/list-item/index.d.ts +1 -0
- package/dist/lib/list-item/list-item.node/index.d.ts +3 -0
- package/dist/lib/list-item/list-item.node/list-item.node.d.ts +2 -0
- package/dist/lib/list-item/list-item.node/types.d.ts +2 -0
- package/dist/lib/marquee/index.d.ts +2 -0
- package/dist/lib/marquee/marquee.inspector/index.d.ts +1 -0
- package/dist/lib/marquee/marquee.inspector/marquee.inspector.d.ts +1 -0
- package/dist/lib/marquee/marquee.inspector/play-state-field.d.ts +1 -0
- package/dist/lib/marquee/marquee.node/index.d.ts +3 -0
- package/dist/lib/marquee/marquee.node/marquee.node.d.ts +2 -0
- package/dist/lib/marquee/marquee.node/types.d.ts +2 -0
- package/dist/lib/marquee-item/index.d.ts +1 -0
- package/dist/lib/marquee-item/marquee-item.node/index.d.ts +1 -0
- package/dist/lib/marquee-item/marquee-item.node/marquee-item.node.d.ts +2 -0
- package/dist/lib/marquee-item/marquee-item.node/types.d.ts +2 -0
- package/dist/lib/paragraph/index.d.ts +3 -0
- package/dist/lib/paragraph/paragraph/paragraph.d.ts +2 -0
- package/dist/lib/paragraph/paragraph/types.d.ts +2 -0
- package/dist/lib/paragraph/paragraph.inspector/index.d.ts +1 -0
- package/dist/lib/paragraph/paragraph.inspector/paragraph.inspector.d.ts +1 -0
- package/dist/lib/paragraph/paragraph.node/index.d.ts +3 -0
- package/dist/lib/paragraph/paragraph.node/paragraph.node.d.ts +2 -0
- package/dist/lib/paragraph/paragraph.node/types.d.ts +2 -0
- package/dist/lib/paragraph/paragraph.renderer/index.d.ts +1 -0
- package/dist/lib/paragraph/paragraph.renderer/paragraph.renderer.d.ts +2 -0
- package/dist/lib/root/index.d.ts +1 -0
- package/dist/lib/root/root.node/index.d.ts +2 -0
- package/dist/lib/root/root.node/root.node.d.ts +2 -0
- package/dist/lib/root/root.node/types.d.ts +2 -0
- package/dist/lib/swiper/index.d.ts +2 -0
- package/dist/lib/swiper/swiper.inspector/autoplay-delay-field.d.ts +1 -0
- package/dist/lib/swiper/swiper.inspector/autoplay-loop-field.d.ts +1 -0
- package/dist/lib/swiper/swiper.inspector/index.d.ts +1 -0
- package/dist/lib/swiper/swiper.inspector/slides-per-view-field.d.ts +1 -0
- package/dist/lib/swiper/swiper.inspector/swiper.inspector.d.ts +1 -0
- package/dist/lib/swiper/swiper.node/index.d.ts +3 -0
- package/dist/lib/swiper/swiper.node/swiper.node.d.ts +2 -0
- package/dist/lib/swiper/swiper.node/types.d.ts +2 -0
- package/dist/lib/swiper-slide/index.d.ts +1 -0
- package/dist/lib/swiper-slide/swiper-slide.node/index.d.ts +2 -0
- package/dist/lib/swiper-slide/swiper-slide.node/swiper-slide.node.d.ts +2 -0
- package/dist/lib/swiper-slide/swiper-slide.node/types.d.ts +2 -0
- package/dist/lib/tab/index.d.ts +1 -0
- package/dist/lib/tab/tab.node/index.d.ts +3 -0
- package/dist/lib/tab/tab.node/tab.node.d.ts +2 -0
- package/dist/lib/tab/tab.node/types.d.ts +2 -0
- package/dist/lib/tab-content/index.d.ts +1 -0
- package/dist/lib/tab-content/tab-content.node/index.d.ts +1 -0
- package/dist/lib/tab-content/tab-content.node/tab-content.node.d.ts +2 -0
- package/dist/lib/tab-content/tab-content.node/types.d.ts +2 -0
- package/dist/lib/tab-list/index.d.ts +1 -0
- package/dist/lib/tab-list/tab-list.node/index.d.ts +2 -0
- package/dist/lib/tab-list/tab-list.node/tab-list.node.d.ts +2 -0
- package/dist/lib/tab-list/tab-list.node/types.d.ts +2 -0
- package/dist/lib/tab-panel/index.d.ts +1 -0
- package/dist/lib/tab-panel/tab-panel.node/index.d.ts +3 -0
- package/dist/lib/tab-panel/tab-panel.node/tab-panel.node.d.ts +2 -0
- package/dist/lib/tab-panel/tab-panel.node/types.d.ts +2 -0
- package/dist/lib/tabs/index.d.ts +2 -0
- package/dist/lib/tabs/tabs.inspector/child-tabs-field.d.ts +1 -0
- package/dist/lib/tabs/tabs.inspector/default-active-field.d.ts +1 -0
- package/dist/lib/tabs/tabs.inspector/index.d.ts +1 -0
- package/dist/lib/tabs/tabs.inspector/tabs.inspector.d.ts +1 -0
- package/dist/lib/tabs/tabs.node/index.d.ts +3 -0
- package/dist/lib/tabs/tabs.node/tabs.node.d.ts +3 -0
- package/dist/lib/tabs/tabs.node/types.d.ts +2 -0
- package/dist/lib/text/index.d.ts +1 -0
- package/dist/lib/text/text.inspector/index.d.ts +1 -0
- package/dist/lib/text/text.inspector/text.inspector.d.ts +6 -0
- package/dist/lib/unknown/index.d.ts +1 -0
- package/dist/lib/unknown/unknown.node/index.d.ts +1 -0
- package/dist/lib/unknown/unknown.node/unknown.node.d.ts +2 -0
- package/dist/lib/unordered-list/index.d.ts +2 -0
- package/dist/lib/unordered-list/unordered-list.inspector/index.d.ts +1 -0
- package/dist/lib/unordered-list/unordered-list.inspector/unordered-list.inspector.d.ts +1 -0
- package/dist/lib/unordered-list/unordered-list.node/index.d.ts +3 -0
- package/dist/lib/unordered-list/unordered-list.node/types.d.ts +2 -0
- package/dist/lib/unordered-list/unordered-list.node/unordered-list.node.d.ts +3 -0
- package/dist/lib/video/index.d.ts +2 -0
- package/dist/lib/video/video.inspector/index.d.ts +1 -0
- package/dist/lib/video/video.inspector/video.inspector.d.ts +1 -0
- package/dist/lib/video/video.node/index.d.ts +3 -0
- package/dist/lib/video/video.node/types.d.ts +2 -0
- package/dist/lib/video/video.node/video.node.d.ts +3 -0
- package/dist/minus-C82LyzQP.js +6 -0
- package/dist/style.css +1 -0
- package/dist/templates/elements/carousel/index.d.ts +2 -0
- package/dist/templates/elements/content-list/index.d.ts +2 -0
- package/dist/templates/elements/index.d.ts +7 -0
- package/dist/templates/elements/interactive/index.d.ts +2 -0
- package/dist/templates/elements/layout/index.d.ts +2 -0
- package/dist/templates/elements/media/index.d.ts +2 -0
- package/dist/templates/elements/text/index.d.ts +2 -0
- package/dist/templates/elements/utilities/index.d.ts +2 -0
- package/dist/templates/index.d.ts +2 -0
- package/dist/templates/sections/faqs/index.d.ts +2 -0
- package/dist/templates/sections/guarantee/index.d.ts +2 -0
- package/dist/templates/sections/hero/index.d.ts +2 -0
- package/dist/templates/sections/index.d.ts +3 -0
- package/dist/templates.js +22581 -0
- package/dist/tooltip-BKdjtgjO.js +63 -0
- package/dist/types/index.d.ts +30 -0
- package/dist/utils/common.d.ts +5 -0
- package/dist/utils/index.d.ts +19 -0
- package/dist/vite.config.d.ts +2 -0
- package/package.json +86 -0
|
@@ -0,0 +1,4374 @@
|
|
|
1
|
+
import { Grid as wr, Cell as Cr, Link as xr, Button as Or, Flexbox as Nr, FlexItem as Pr, Text as Je, Image as kr, MarqueeDataAttributes as Ir, Marquee as Mr, MarqueeItem as Dr, Tabs as Lr, TabList as Fr, Tab as jr, TabContent as qr, TabPanel as Hr, Swiper as Gr, SwiperSlide as Vr, Icon as $r, Accordion as Ur, AccordionSummary as Br, AccordionContent as zr, AccordionGroup as Yr, Video as Wr, Box as Xr, Primitive as bt, CountdownTimer as Zr } from "@janbox/storefront-ui";
|
|
2
|
+
import { useEditor as Jr, useNode as H } from "@craftjs/core";
|
|
3
|
+
import Et from "color";
|
|
4
|
+
import { parseInt as Kr, isString as _t, isNumber as Qr, get as en, isNil as se } from "lodash-es";
|
|
5
|
+
import { useMergeRefs as Q } from "@floating-ui/react";
|
|
6
|
+
import * as ie from "react";
|
|
7
|
+
import mt, { forwardRef as rr, useContext as tn, isValidElement as rn, useCallback as Tt, useMemo as nr, useId as nn, cloneElement as an } from "react";
|
|
8
|
+
import { clsx as on } from "clsx";
|
|
9
|
+
import { twMerge as sn } from "tailwind-merge";
|
|
10
|
+
function cn(e) {
|
|
11
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
12
|
+
}
|
|
13
|
+
var $e = { exports: {} }, xe = {};
|
|
14
|
+
var At;
|
|
15
|
+
function ln() {
|
|
16
|
+
if (At) return xe;
|
|
17
|
+
At = 1;
|
|
18
|
+
var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), t = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
19
|
+
function r(n, o, i) {
|
|
20
|
+
var p = null;
|
|
21
|
+
if (i !== void 0 && (p = "" + i), o.key !== void 0 && (p = "" + o.key), "key" in o) {
|
|
22
|
+
i = {};
|
|
23
|
+
for (var l in o)
|
|
24
|
+
l !== "key" && (i[l] = o[l]);
|
|
25
|
+
} else i = o;
|
|
26
|
+
return o = i.ref, {
|
|
27
|
+
$$typeof: e,
|
|
28
|
+
type: n,
|
|
29
|
+
key: p,
|
|
30
|
+
ref: o !== void 0 ? o : null,
|
|
31
|
+
props: i
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
return xe.Fragment = t, xe.jsx = r, xe.jsxs = r, xe;
|
|
35
|
+
}
|
|
36
|
+
var Oe = {};
|
|
37
|
+
var Rt;
|
|
38
|
+
function un() {
|
|
39
|
+
return Rt || (Rt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
40
|
+
function e(h) {
|
|
41
|
+
if (h == null) return null;
|
|
42
|
+
if (typeof h == "function")
|
|
43
|
+
return h.$$typeof === V ? null : h.displayName || h.name || null;
|
|
44
|
+
if (typeof h == "string") return h;
|
|
45
|
+
switch (h) {
|
|
46
|
+
case g:
|
|
47
|
+
return "Fragment";
|
|
48
|
+
case x:
|
|
49
|
+
return "Profiler";
|
|
50
|
+
case b:
|
|
51
|
+
return "StrictMode";
|
|
52
|
+
case u:
|
|
53
|
+
return "Suspense";
|
|
54
|
+
case d:
|
|
55
|
+
return "SuspenseList";
|
|
56
|
+
case M:
|
|
57
|
+
return "Activity";
|
|
58
|
+
}
|
|
59
|
+
if (typeof h == "object")
|
|
60
|
+
switch (typeof h.tag == "number" && console.error(
|
|
61
|
+
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
62
|
+
), h.$$typeof) {
|
|
63
|
+
case v:
|
|
64
|
+
return "Portal";
|
|
65
|
+
case C:
|
|
66
|
+
return h.displayName || "Context";
|
|
67
|
+
case S:
|
|
68
|
+
return (h._context.displayName || "Context") + ".Consumer";
|
|
69
|
+
case a:
|
|
70
|
+
var k = h.render;
|
|
71
|
+
return h = h.displayName, h || (h = k.displayName || k.name || "", h = h !== "" ? "ForwardRef(" + h + ")" : "ForwardRef"), h;
|
|
72
|
+
case A:
|
|
73
|
+
return k = h.displayName || null, k !== null ? k : e(h.type) || "Memo";
|
|
74
|
+
case R:
|
|
75
|
+
k = h._payload, h = h._init;
|
|
76
|
+
try {
|
|
77
|
+
return e(h(k));
|
|
78
|
+
} catch {
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
return null;
|
|
82
|
+
}
|
|
83
|
+
function t(h) {
|
|
84
|
+
return "" + h;
|
|
85
|
+
}
|
|
86
|
+
function r(h) {
|
|
87
|
+
try {
|
|
88
|
+
t(h);
|
|
89
|
+
var k = !1;
|
|
90
|
+
} catch {
|
|
91
|
+
k = !0;
|
|
92
|
+
}
|
|
93
|
+
if (k) {
|
|
94
|
+
k = console;
|
|
95
|
+
var $ = k.error, B = typeof Symbol == "function" && Symbol.toStringTag && h[Symbol.toStringTag] || h.constructor.name || "Object";
|
|
96
|
+
return $.call(
|
|
97
|
+
k,
|
|
98
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
99
|
+
B
|
|
100
|
+
), t(h);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
function n(h) {
|
|
104
|
+
if (h === g) return "<>";
|
|
105
|
+
if (typeof h == "object" && h !== null && h.$$typeof === R)
|
|
106
|
+
return "<...>";
|
|
107
|
+
try {
|
|
108
|
+
var k = e(h);
|
|
109
|
+
return k ? "<" + k + ">" : "<...>";
|
|
110
|
+
} catch {
|
|
111
|
+
return "<...>";
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
function o() {
|
|
115
|
+
var h = J.A;
|
|
116
|
+
return h === null ? null : h.getOwner();
|
|
117
|
+
}
|
|
118
|
+
function i() {
|
|
119
|
+
return Error("react-stack-top-frame");
|
|
120
|
+
}
|
|
121
|
+
function p(h) {
|
|
122
|
+
if (ce.call(h, "key")) {
|
|
123
|
+
var k = Object.getOwnPropertyDescriptor(h, "key").get;
|
|
124
|
+
if (k && k.isReactWarning) return !1;
|
|
125
|
+
}
|
|
126
|
+
return h.key !== void 0;
|
|
127
|
+
}
|
|
128
|
+
function l(h, k) {
|
|
129
|
+
function $() {
|
|
130
|
+
X || (X = !0, console.error(
|
|
131
|
+
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
132
|
+
k
|
|
133
|
+
));
|
|
134
|
+
}
|
|
135
|
+
$.isReactWarning = !0, Object.defineProperty(h, "key", {
|
|
136
|
+
get: $,
|
|
137
|
+
configurable: !0
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
function c() {
|
|
141
|
+
var h = e(this.type);
|
|
142
|
+
return he[h] || (he[h] = !0, console.error(
|
|
143
|
+
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
144
|
+
)), h = this.props.ref, h !== void 0 ? h : null;
|
|
145
|
+
}
|
|
146
|
+
function s(h, k, $, B, ve, we) {
|
|
147
|
+
var z = $.ref;
|
|
148
|
+
return h = {
|
|
149
|
+
$$typeof: E,
|
|
150
|
+
type: h,
|
|
151
|
+
key: k,
|
|
152
|
+
props: $,
|
|
153
|
+
_owner: B
|
|
154
|
+
}, (z !== void 0 ? z : null) !== null ? Object.defineProperty(h, "ref", {
|
|
155
|
+
enumerable: !1,
|
|
156
|
+
get: c
|
|
157
|
+
}) : Object.defineProperty(h, "ref", { enumerable: !1, value: null }), h._store = {}, Object.defineProperty(h._store, "validated", {
|
|
158
|
+
configurable: !1,
|
|
159
|
+
enumerable: !1,
|
|
160
|
+
writable: !0,
|
|
161
|
+
value: 0
|
|
162
|
+
}), Object.defineProperty(h, "_debugInfo", {
|
|
163
|
+
configurable: !1,
|
|
164
|
+
enumerable: !1,
|
|
165
|
+
writable: !0,
|
|
166
|
+
value: null
|
|
167
|
+
}), Object.defineProperty(h, "_debugStack", {
|
|
168
|
+
configurable: !1,
|
|
169
|
+
enumerable: !1,
|
|
170
|
+
writable: !0,
|
|
171
|
+
value: ve
|
|
172
|
+
}), Object.defineProperty(h, "_debugTask", {
|
|
173
|
+
configurable: !1,
|
|
174
|
+
enumerable: !1,
|
|
175
|
+
writable: !0,
|
|
176
|
+
value: we
|
|
177
|
+
}), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
|
|
178
|
+
}
|
|
179
|
+
function f(h, k, $, B, ve, we) {
|
|
180
|
+
var z = k.children;
|
|
181
|
+
if (z !== void 0)
|
|
182
|
+
if (B)
|
|
183
|
+
if (I(z)) {
|
|
184
|
+
for (B = 0; B < z.length; B++)
|
|
185
|
+
m(z[B]);
|
|
186
|
+
Object.freeze && Object.freeze(z);
|
|
187
|
+
} else
|
|
188
|
+
console.error(
|
|
189
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
190
|
+
);
|
|
191
|
+
else m(z);
|
|
192
|
+
if (ce.call(k, "key")) {
|
|
193
|
+
z = e(h);
|
|
194
|
+
var le = Object.keys(k).filter(function(at) {
|
|
195
|
+
return at !== "key";
|
|
196
|
+
});
|
|
197
|
+
B = 0 < le.length ? "{key: someKey, " + le.join(": ..., ") + ": ...}" : "{key: someKey}", Se[z + B] || (le = 0 < le.length ? "{" + le.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
198
|
+
`A props object containing a "key" prop is being spread into JSX:
|
|
199
|
+
let props = %s;
|
|
200
|
+
<%s {...props} />
|
|
201
|
+
React keys must be passed directly to JSX without using spread:
|
|
202
|
+
let props = %s;
|
|
203
|
+
<%s key={someKey} {...props} />`,
|
|
204
|
+
B,
|
|
205
|
+
z,
|
|
206
|
+
le,
|
|
207
|
+
z
|
|
208
|
+
), Se[z + B] = !0);
|
|
209
|
+
}
|
|
210
|
+
if (z = null, $ !== void 0 && (r($), z = "" + $), p(k) && (r(k.key), z = "" + k.key), "key" in k) {
|
|
211
|
+
$ = {};
|
|
212
|
+
for (var Ce in k)
|
|
213
|
+
Ce !== "key" && ($[Ce] = k[Ce]);
|
|
214
|
+
} else $ = k;
|
|
215
|
+
return z && l(
|
|
216
|
+
$,
|
|
217
|
+
typeof h == "function" ? h.displayName || h.name || "Unknown" : h
|
|
218
|
+
), s(
|
|
219
|
+
h,
|
|
220
|
+
z,
|
|
221
|
+
$,
|
|
222
|
+
o(),
|
|
223
|
+
ve,
|
|
224
|
+
we
|
|
225
|
+
);
|
|
226
|
+
}
|
|
227
|
+
function m(h) {
|
|
228
|
+
T(h) ? h._store && (h._store.validated = 1) : typeof h == "object" && h !== null && h.$$typeof === R && (h._payload.status === "fulfilled" ? T(h._payload.value) && h._payload.value._store && (h._payload.value._store.validated = 1) : h._store && (h._store.validated = 1));
|
|
229
|
+
}
|
|
230
|
+
function T(h) {
|
|
231
|
+
return typeof h == "object" && h !== null && h.$$typeof === E;
|
|
232
|
+
}
|
|
233
|
+
var _ = mt, E = /* @__PURE__ */ Symbol.for("react.transitional.element"), v = /* @__PURE__ */ Symbol.for("react.portal"), g = /* @__PURE__ */ Symbol.for("react.fragment"), b = /* @__PURE__ */ Symbol.for("react.strict_mode"), x = /* @__PURE__ */ Symbol.for("react.profiler"), S = /* @__PURE__ */ Symbol.for("react.consumer"), C = /* @__PURE__ */ Symbol.for("react.context"), a = /* @__PURE__ */ Symbol.for("react.forward_ref"), u = /* @__PURE__ */ Symbol.for("react.suspense"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"), A = /* @__PURE__ */ Symbol.for("react.memo"), R = /* @__PURE__ */ Symbol.for("react.lazy"), M = /* @__PURE__ */ Symbol.for("react.activity"), V = /* @__PURE__ */ Symbol.for("react.client.reference"), J = _.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ce = Object.prototype.hasOwnProperty, I = Array.isArray, O = console.createTask ? console.createTask : function() {
|
|
234
|
+
return null;
|
|
235
|
+
};
|
|
236
|
+
_ = {
|
|
237
|
+
react_stack_bottom_frame: function(h) {
|
|
238
|
+
return h();
|
|
239
|
+
}
|
|
240
|
+
};
|
|
241
|
+
var X, he = {}, Re = _.react_stack_bottom_frame.bind(
|
|
242
|
+
_,
|
|
243
|
+
i
|
|
244
|
+
)(), Ge = O(n(i)), Se = {};
|
|
245
|
+
Oe.Fragment = g, Oe.jsx = function(h, k, $) {
|
|
246
|
+
var B = 1e4 > J.recentlyCreatedOwnerStacks++;
|
|
247
|
+
return f(
|
|
248
|
+
h,
|
|
249
|
+
k,
|
|
250
|
+
$,
|
|
251
|
+
!1,
|
|
252
|
+
B ? Error("react-stack-top-frame") : Re,
|
|
253
|
+
B ? O(n(h)) : Ge
|
|
254
|
+
);
|
|
255
|
+
}, Oe.jsxs = function(h, k, $) {
|
|
256
|
+
var B = 1e4 > J.recentlyCreatedOwnerStacks++;
|
|
257
|
+
return f(
|
|
258
|
+
h,
|
|
259
|
+
k,
|
|
260
|
+
$,
|
|
261
|
+
!0,
|
|
262
|
+
B ? Error("react-stack-top-frame") : Re,
|
|
263
|
+
B ? O(n(h)) : Ge
|
|
264
|
+
);
|
|
265
|
+
};
|
|
266
|
+
})()), Oe;
|
|
267
|
+
}
|
|
268
|
+
var St;
|
|
269
|
+
function fn() {
|
|
270
|
+
return St || (St = 1, process.env.NODE_ENV === "production" ? $e.exports = ln() : $e.exports = un()), $e.exports;
|
|
271
|
+
}
|
|
272
|
+
var Le = fn();
|
|
273
|
+
function dn(e) {
|
|
274
|
+
if (e.sheet)
|
|
275
|
+
return e.sheet;
|
|
276
|
+
for (var t = 0; t < document.styleSheets.length; t++)
|
|
277
|
+
if (document.styleSheets[t].ownerNode === e)
|
|
278
|
+
return document.styleSheets[t];
|
|
279
|
+
}
|
|
280
|
+
function pn(e) {
|
|
281
|
+
var t = document.createElement("style");
|
|
282
|
+
return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
|
|
283
|
+
}
|
|
284
|
+
var mn = /* @__PURE__ */ (function() {
|
|
285
|
+
function e(r) {
|
|
286
|
+
var n = this;
|
|
287
|
+
this._insertTag = function(o) {
|
|
288
|
+
var i;
|
|
289
|
+
n.tags.length === 0 ? n.insertionPoint ? i = n.insertionPoint.nextSibling : n.prepend ? i = n.container.firstChild : i = n.before : i = n.tags[n.tags.length - 1].nextSibling, n.container.insertBefore(o, i), n.tags.push(o);
|
|
290
|
+
}, this.isSpeedy = r.speedy === void 0 ? !0 : r.speedy, this.tags = [], this.ctr = 0, this.nonce = r.nonce, this.key = r.key, this.container = r.container, this.prepend = r.prepend, this.insertionPoint = r.insertionPoint, this.before = null;
|
|
291
|
+
}
|
|
292
|
+
var t = e.prototype;
|
|
293
|
+
return t.hydrate = function(n) {
|
|
294
|
+
n.forEach(this._insertTag);
|
|
295
|
+
}, t.insert = function(n) {
|
|
296
|
+
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(pn(this));
|
|
297
|
+
var o = this.tags[this.tags.length - 1];
|
|
298
|
+
if (this.isSpeedy) {
|
|
299
|
+
var i = dn(o);
|
|
300
|
+
try {
|
|
301
|
+
i.insertRule(n, i.cssRules.length);
|
|
302
|
+
} catch {
|
|
303
|
+
}
|
|
304
|
+
} else
|
|
305
|
+
o.appendChild(document.createTextNode(n));
|
|
306
|
+
this.ctr++;
|
|
307
|
+
}, t.flush = function() {
|
|
308
|
+
this.tags.forEach(function(n) {
|
|
309
|
+
var o;
|
|
310
|
+
return (o = n.parentNode) == null ? void 0 : o.removeChild(n);
|
|
311
|
+
}), this.tags = [], this.ctr = 0;
|
|
312
|
+
}, e;
|
|
313
|
+
})(), Z = "-ms-", Ke = "-moz-", L = "-webkit-", ar = "comm", ht = "rule", vt = "decl", hn = "@import", or = "@keyframes", vn = "@layer", gn = Math.abs, et = String.fromCharCode, yn = Object.assign;
|
|
314
|
+
function bn(e, t) {
|
|
315
|
+
return W(e, 0) ^ 45 ? (((t << 2 ^ W(e, 0)) << 2 ^ W(e, 1)) << 2 ^ W(e, 2)) << 2 ^ W(e, 3) : 0;
|
|
316
|
+
}
|
|
317
|
+
function ir(e) {
|
|
318
|
+
return e.trim();
|
|
319
|
+
}
|
|
320
|
+
function En(e, t) {
|
|
321
|
+
return (e = t.exec(e)) ? e[0] : e;
|
|
322
|
+
}
|
|
323
|
+
function F(e, t, r) {
|
|
324
|
+
return e.replace(t, r);
|
|
325
|
+
}
|
|
326
|
+
function ft(e, t) {
|
|
327
|
+
return e.indexOf(t);
|
|
328
|
+
}
|
|
329
|
+
function W(e, t) {
|
|
330
|
+
return e.charCodeAt(t) | 0;
|
|
331
|
+
}
|
|
332
|
+
function Fe(e, t, r) {
|
|
333
|
+
return e.slice(t, r);
|
|
334
|
+
}
|
|
335
|
+
function ne(e) {
|
|
336
|
+
return e.length;
|
|
337
|
+
}
|
|
338
|
+
function gt(e) {
|
|
339
|
+
return e.length;
|
|
340
|
+
}
|
|
341
|
+
function Ue(e, t) {
|
|
342
|
+
return t.push(e), e;
|
|
343
|
+
}
|
|
344
|
+
function _n(e, t) {
|
|
345
|
+
return e.map(t).join("");
|
|
346
|
+
}
|
|
347
|
+
var tt = 1, _e = 1, sr = 0, ee = 0, Y = 0, Te = "";
|
|
348
|
+
function rt(e, t, r, n, o, i, p) {
|
|
349
|
+
return { value: e, root: t, parent: r, type: n, props: o, children: i, line: tt, column: _e, length: p, return: "" };
|
|
350
|
+
}
|
|
351
|
+
function Ne(e, t) {
|
|
352
|
+
return yn(rt("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
353
|
+
}
|
|
354
|
+
function Tn() {
|
|
355
|
+
return Y;
|
|
356
|
+
}
|
|
357
|
+
function An() {
|
|
358
|
+
return Y = ee > 0 ? W(Te, --ee) : 0, _e--, Y === 10 && (_e = 1, tt--), Y;
|
|
359
|
+
}
|
|
360
|
+
function te() {
|
|
361
|
+
return Y = ee < sr ? W(Te, ee++) : 0, _e++, Y === 10 && (_e = 1, tt++), Y;
|
|
362
|
+
}
|
|
363
|
+
function oe() {
|
|
364
|
+
return W(Te, ee);
|
|
365
|
+
}
|
|
366
|
+
function We() {
|
|
367
|
+
return ee;
|
|
368
|
+
}
|
|
369
|
+
function He(e, t) {
|
|
370
|
+
return Fe(Te, e, t);
|
|
371
|
+
}
|
|
372
|
+
function je(e) {
|
|
373
|
+
switch (e) {
|
|
374
|
+
// \0 \t \n \r \s whitespace token
|
|
375
|
+
case 0:
|
|
376
|
+
case 9:
|
|
377
|
+
case 10:
|
|
378
|
+
case 13:
|
|
379
|
+
case 32:
|
|
380
|
+
return 5;
|
|
381
|
+
// ! + , / > @ ~ isolate token
|
|
382
|
+
case 33:
|
|
383
|
+
case 43:
|
|
384
|
+
case 44:
|
|
385
|
+
case 47:
|
|
386
|
+
case 62:
|
|
387
|
+
case 64:
|
|
388
|
+
case 126:
|
|
389
|
+
// ; { } breakpoint token
|
|
390
|
+
case 59:
|
|
391
|
+
case 123:
|
|
392
|
+
case 125:
|
|
393
|
+
return 4;
|
|
394
|
+
// : accompanied token
|
|
395
|
+
case 58:
|
|
396
|
+
return 3;
|
|
397
|
+
// " ' ( [ opening delimit token
|
|
398
|
+
case 34:
|
|
399
|
+
case 39:
|
|
400
|
+
case 40:
|
|
401
|
+
case 91:
|
|
402
|
+
return 2;
|
|
403
|
+
// ) ] closing delimit token
|
|
404
|
+
case 41:
|
|
405
|
+
case 93:
|
|
406
|
+
return 1;
|
|
407
|
+
}
|
|
408
|
+
return 0;
|
|
409
|
+
}
|
|
410
|
+
function cr(e) {
|
|
411
|
+
return tt = _e = 1, sr = ne(Te = e), ee = 0, [];
|
|
412
|
+
}
|
|
413
|
+
function lr(e) {
|
|
414
|
+
return Te = "", e;
|
|
415
|
+
}
|
|
416
|
+
function Xe(e) {
|
|
417
|
+
return ir(He(ee - 1, dt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
418
|
+
}
|
|
419
|
+
function Rn(e) {
|
|
420
|
+
for (; (Y = oe()) && Y < 33; )
|
|
421
|
+
te();
|
|
422
|
+
return je(e) > 2 || je(Y) > 3 ? "" : " ";
|
|
423
|
+
}
|
|
424
|
+
function Sn(e, t) {
|
|
425
|
+
for (; --t && te() && !(Y < 48 || Y > 102 || Y > 57 && Y < 65 || Y > 70 && Y < 97); )
|
|
426
|
+
;
|
|
427
|
+
return He(e, We() + (t < 6 && oe() == 32 && te() == 32));
|
|
428
|
+
}
|
|
429
|
+
function dt(e) {
|
|
430
|
+
for (; te(); )
|
|
431
|
+
switch (Y) {
|
|
432
|
+
// ] ) " '
|
|
433
|
+
case e:
|
|
434
|
+
return ee;
|
|
435
|
+
// " '
|
|
436
|
+
case 34:
|
|
437
|
+
case 39:
|
|
438
|
+
e !== 34 && e !== 39 && dt(Y);
|
|
439
|
+
break;
|
|
440
|
+
// (
|
|
441
|
+
case 40:
|
|
442
|
+
e === 41 && dt(e);
|
|
443
|
+
break;
|
|
444
|
+
// \
|
|
445
|
+
case 92:
|
|
446
|
+
te();
|
|
447
|
+
break;
|
|
448
|
+
}
|
|
449
|
+
return ee;
|
|
450
|
+
}
|
|
451
|
+
function wn(e, t) {
|
|
452
|
+
for (; te() && e + Y !== 57; )
|
|
453
|
+
if (e + Y === 84 && oe() === 47)
|
|
454
|
+
break;
|
|
455
|
+
return "/*" + He(t, ee - 1) + "*" + et(e === 47 ? e : te());
|
|
456
|
+
}
|
|
457
|
+
function Cn(e) {
|
|
458
|
+
for (; !je(oe()); )
|
|
459
|
+
te();
|
|
460
|
+
return He(e, ee);
|
|
461
|
+
}
|
|
462
|
+
function xn(e) {
|
|
463
|
+
return lr(Ze("", null, null, null, [""], e = cr(e), 0, [0], e));
|
|
464
|
+
}
|
|
465
|
+
function Ze(e, t, r, n, o, i, p, l, c) {
|
|
466
|
+
for (var s = 0, f = 0, m = p, T = 0, _ = 0, E = 0, v = 1, g = 1, b = 1, x = 0, S = "", C = o, a = i, u = n, d = S; g; )
|
|
467
|
+
switch (E = x, x = te()) {
|
|
468
|
+
// (
|
|
469
|
+
case 40:
|
|
470
|
+
if (E != 108 && W(d, m - 1) == 58) {
|
|
471
|
+
ft(d += F(Xe(x), "&", "&\f"), "&\f") != -1 && (b = -1);
|
|
472
|
+
break;
|
|
473
|
+
}
|
|
474
|
+
// " ' [
|
|
475
|
+
case 34:
|
|
476
|
+
case 39:
|
|
477
|
+
case 91:
|
|
478
|
+
d += Xe(x);
|
|
479
|
+
break;
|
|
480
|
+
// \t \n \r \s
|
|
481
|
+
case 9:
|
|
482
|
+
case 10:
|
|
483
|
+
case 13:
|
|
484
|
+
case 32:
|
|
485
|
+
d += Rn(E);
|
|
486
|
+
break;
|
|
487
|
+
// \
|
|
488
|
+
case 92:
|
|
489
|
+
d += Sn(We() - 1, 7);
|
|
490
|
+
continue;
|
|
491
|
+
// /
|
|
492
|
+
case 47:
|
|
493
|
+
switch (oe()) {
|
|
494
|
+
case 42:
|
|
495
|
+
case 47:
|
|
496
|
+
Ue(On(wn(te(), We()), t, r), c);
|
|
497
|
+
break;
|
|
498
|
+
default:
|
|
499
|
+
d += "/";
|
|
500
|
+
}
|
|
501
|
+
break;
|
|
502
|
+
// {
|
|
503
|
+
case 123 * v:
|
|
504
|
+
l[s++] = ne(d) * b;
|
|
505
|
+
// } ; \0
|
|
506
|
+
case 125 * v:
|
|
507
|
+
case 59:
|
|
508
|
+
case 0:
|
|
509
|
+
switch (x) {
|
|
510
|
+
// \0 }
|
|
511
|
+
case 0:
|
|
512
|
+
case 125:
|
|
513
|
+
g = 0;
|
|
514
|
+
// ;
|
|
515
|
+
case 59 + f:
|
|
516
|
+
b == -1 && (d = F(d, /\f/g, "")), _ > 0 && ne(d) - m && Ue(_ > 32 ? Ct(d + ";", n, r, m - 1) : Ct(F(d, " ", "") + ";", n, r, m - 2), c);
|
|
517
|
+
break;
|
|
518
|
+
// @ ;
|
|
519
|
+
case 59:
|
|
520
|
+
d += ";";
|
|
521
|
+
// { rule/at-rule
|
|
522
|
+
default:
|
|
523
|
+
if (Ue(u = wt(d, t, r, s, f, o, l, S, C = [], a = [], m), i), x === 123)
|
|
524
|
+
if (f === 0)
|
|
525
|
+
Ze(d, t, u, u, C, i, m, l, a);
|
|
526
|
+
else
|
|
527
|
+
switch (T === 99 && W(d, 3) === 110 ? 100 : T) {
|
|
528
|
+
// d l m s
|
|
529
|
+
case 100:
|
|
530
|
+
case 108:
|
|
531
|
+
case 109:
|
|
532
|
+
case 115:
|
|
533
|
+
Ze(e, u, u, n && Ue(wt(e, u, u, 0, 0, o, l, S, o, C = [], m), a), o, a, m, l, n ? C : a);
|
|
534
|
+
break;
|
|
535
|
+
default:
|
|
536
|
+
Ze(d, u, u, u, [""], a, 0, l, a);
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
s = f = _ = 0, v = b = 1, S = d = "", m = p;
|
|
540
|
+
break;
|
|
541
|
+
// :
|
|
542
|
+
case 58:
|
|
543
|
+
m = 1 + ne(d), _ = E;
|
|
544
|
+
default:
|
|
545
|
+
if (v < 1) {
|
|
546
|
+
if (x == 123)
|
|
547
|
+
--v;
|
|
548
|
+
else if (x == 125 && v++ == 0 && An() == 125)
|
|
549
|
+
continue;
|
|
550
|
+
}
|
|
551
|
+
switch (d += et(x), x * v) {
|
|
552
|
+
// &
|
|
553
|
+
case 38:
|
|
554
|
+
b = f > 0 ? 1 : (d += "\f", -1);
|
|
555
|
+
break;
|
|
556
|
+
// ,
|
|
557
|
+
case 44:
|
|
558
|
+
l[s++] = (ne(d) - 1) * b, b = 1;
|
|
559
|
+
break;
|
|
560
|
+
// @
|
|
561
|
+
case 64:
|
|
562
|
+
oe() === 45 && (d += Xe(te())), T = oe(), f = m = ne(S = d += Cn(We())), x++;
|
|
563
|
+
break;
|
|
564
|
+
// -
|
|
565
|
+
case 45:
|
|
566
|
+
E === 45 && ne(d) == 2 && (v = 0);
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
return i;
|
|
570
|
+
}
|
|
571
|
+
function wt(e, t, r, n, o, i, p, l, c, s, f) {
|
|
572
|
+
for (var m = o - 1, T = o === 0 ? i : [""], _ = gt(T), E = 0, v = 0, g = 0; E < n; ++E)
|
|
573
|
+
for (var b = 0, x = Fe(e, m + 1, m = gn(v = p[E])), S = e; b < _; ++b)
|
|
574
|
+
(S = ir(v > 0 ? T[b] + " " + x : F(x, /&\f/g, T[b]))) && (c[g++] = S);
|
|
575
|
+
return rt(e, t, r, o === 0 ? ht : l, c, s, f);
|
|
576
|
+
}
|
|
577
|
+
function On(e, t, r) {
|
|
578
|
+
return rt(e, t, r, ar, et(Tn()), Fe(e, 2, -2), 0);
|
|
579
|
+
}
|
|
580
|
+
function Ct(e, t, r, n) {
|
|
581
|
+
return rt(e, t, r, vt, Fe(e, 0, n), Fe(e, n + 1, -1), n);
|
|
582
|
+
}
|
|
583
|
+
function Ee(e, t) {
|
|
584
|
+
for (var r = "", n = gt(e), o = 0; o < n; o++)
|
|
585
|
+
r += t(e[o], o, e, t) || "";
|
|
586
|
+
return r;
|
|
587
|
+
}
|
|
588
|
+
function Nn(e, t, r, n) {
|
|
589
|
+
switch (e.type) {
|
|
590
|
+
case vn:
|
|
591
|
+
if (e.children.length) break;
|
|
592
|
+
case hn:
|
|
593
|
+
case vt:
|
|
594
|
+
return e.return = e.return || e.value;
|
|
595
|
+
case ar:
|
|
596
|
+
return "";
|
|
597
|
+
case or:
|
|
598
|
+
return e.return = e.value + "{" + Ee(e.children, n) + "}";
|
|
599
|
+
case ht:
|
|
600
|
+
e.value = e.props.join(",");
|
|
601
|
+
}
|
|
602
|
+
return ne(r = Ee(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
|
|
603
|
+
}
|
|
604
|
+
function Pn(e) {
|
|
605
|
+
var t = gt(e);
|
|
606
|
+
return function(r, n, o, i) {
|
|
607
|
+
for (var p = "", l = 0; l < t; l++)
|
|
608
|
+
p += e[l](r, n, o, i) || "";
|
|
609
|
+
return p;
|
|
610
|
+
};
|
|
611
|
+
}
|
|
612
|
+
function kn(e) {
|
|
613
|
+
return function(t) {
|
|
614
|
+
t.root || (t = t.return) && e(t);
|
|
615
|
+
};
|
|
616
|
+
}
|
|
617
|
+
function In(e) {
|
|
618
|
+
var t = /* @__PURE__ */ Object.create(null);
|
|
619
|
+
return function(r) {
|
|
620
|
+
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
621
|
+
};
|
|
622
|
+
}
|
|
623
|
+
var Mn = function(t, r, n) {
|
|
624
|
+
for (var o = 0, i = 0; o = i, i = oe(), o === 38 && i === 12 && (r[n] = 1), !je(i); )
|
|
625
|
+
te();
|
|
626
|
+
return He(t, ee);
|
|
627
|
+
}, Dn = function(t, r) {
|
|
628
|
+
var n = -1, o = 44;
|
|
629
|
+
do
|
|
630
|
+
switch (je(o)) {
|
|
631
|
+
case 0:
|
|
632
|
+
o === 38 && oe() === 12 && (r[n] = 1), t[n] += Mn(ee - 1, r, n);
|
|
633
|
+
break;
|
|
634
|
+
case 2:
|
|
635
|
+
t[n] += Xe(o);
|
|
636
|
+
break;
|
|
637
|
+
case 4:
|
|
638
|
+
if (o === 44) {
|
|
639
|
+
t[++n] = oe() === 58 ? "&\f" : "", r[n] = t[n].length;
|
|
640
|
+
break;
|
|
641
|
+
}
|
|
642
|
+
// fallthrough
|
|
643
|
+
default:
|
|
644
|
+
t[n] += et(o);
|
|
645
|
+
}
|
|
646
|
+
while (o = te());
|
|
647
|
+
return t;
|
|
648
|
+
}, Ln = function(t, r) {
|
|
649
|
+
return lr(Dn(cr(t), r));
|
|
650
|
+
}, xt = /* @__PURE__ */ new WeakMap(), Fn = function(t) {
|
|
651
|
+
if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
|
|
652
|
+
// negative .length indicates that this rule has been already prefixed
|
|
653
|
+
t.length < 1)) {
|
|
654
|
+
for (var r = t.value, n = t.parent, o = t.column === n.column && t.line === n.line; n.type !== "rule"; )
|
|
655
|
+
if (n = n.parent, !n) return;
|
|
656
|
+
if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !xt.get(n)) && !o) {
|
|
657
|
+
xt.set(t, !0);
|
|
658
|
+
for (var i = [], p = Ln(r, i), l = n.props, c = 0, s = 0; c < p.length; c++)
|
|
659
|
+
for (var f = 0; f < l.length; f++, s++)
|
|
660
|
+
t.props[s] = i[c] ? p[c].replace(/&\f/g, l[f]) : l[f] + " " + p[c];
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
}, jn = function(t) {
|
|
664
|
+
if (t.type === "decl") {
|
|
665
|
+
var r = t.value;
|
|
666
|
+
// charcode for l
|
|
667
|
+
r.charCodeAt(0) === 108 && // charcode for b
|
|
668
|
+
r.charCodeAt(2) === 98 && (t.return = "", t.value = "");
|
|
669
|
+
}
|
|
670
|
+
};
|
|
671
|
+
function ur(e, t) {
|
|
672
|
+
switch (bn(e, t)) {
|
|
673
|
+
// color-adjust
|
|
674
|
+
case 5103:
|
|
675
|
+
return L + "print-" + e + e;
|
|
676
|
+
// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
|
|
677
|
+
case 5737:
|
|
678
|
+
case 4201:
|
|
679
|
+
case 3177:
|
|
680
|
+
case 3433:
|
|
681
|
+
case 1641:
|
|
682
|
+
case 4457:
|
|
683
|
+
case 2921:
|
|
684
|
+
// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
|
|
685
|
+
case 5572:
|
|
686
|
+
case 6356:
|
|
687
|
+
case 5844:
|
|
688
|
+
case 3191:
|
|
689
|
+
case 6645:
|
|
690
|
+
case 3005:
|
|
691
|
+
// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
|
|
692
|
+
case 6391:
|
|
693
|
+
case 5879:
|
|
694
|
+
case 5623:
|
|
695
|
+
case 6135:
|
|
696
|
+
case 4599:
|
|
697
|
+
case 4855:
|
|
698
|
+
// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
|
|
699
|
+
case 4215:
|
|
700
|
+
case 6389:
|
|
701
|
+
case 5109:
|
|
702
|
+
case 5365:
|
|
703
|
+
case 5621:
|
|
704
|
+
case 3829:
|
|
705
|
+
return L + e + e;
|
|
706
|
+
// appearance, user-select, transform, hyphens, text-size-adjust
|
|
707
|
+
case 5349:
|
|
708
|
+
case 4246:
|
|
709
|
+
case 4810:
|
|
710
|
+
case 6968:
|
|
711
|
+
case 2756:
|
|
712
|
+
return L + e + Ke + e + Z + e + e;
|
|
713
|
+
// flex, flex-direction
|
|
714
|
+
case 6828:
|
|
715
|
+
case 4268:
|
|
716
|
+
return L + e + Z + e + e;
|
|
717
|
+
// order
|
|
718
|
+
case 6165:
|
|
719
|
+
return L + e + Z + "flex-" + e + e;
|
|
720
|
+
// align-items
|
|
721
|
+
case 5187:
|
|
722
|
+
return L + e + F(e, /(\w+).+(:[^]+)/, L + "box-$1$2" + Z + "flex-$1$2") + e;
|
|
723
|
+
// align-self
|
|
724
|
+
case 5443:
|
|
725
|
+
return L + e + Z + "flex-item-" + F(e, /flex-|-self/, "") + e;
|
|
726
|
+
// align-content
|
|
727
|
+
case 4675:
|
|
728
|
+
return L + e + Z + "flex-line-pack" + F(e, /align-content|flex-|-self/, "") + e;
|
|
729
|
+
// flex-shrink
|
|
730
|
+
case 5548:
|
|
731
|
+
return L + e + Z + F(e, "shrink", "negative") + e;
|
|
732
|
+
// flex-basis
|
|
733
|
+
case 5292:
|
|
734
|
+
return L + e + Z + F(e, "basis", "preferred-size") + e;
|
|
735
|
+
// flex-grow
|
|
736
|
+
case 6060:
|
|
737
|
+
return L + "box-" + F(e, "-grow", "") + L + e + Z + F(e, "grow", "positive") + e;
|
|
738
|
+
// transition
|
|
739
|
+
case 4554:
|
|
740
|
+
return L + F(e, /([^-])(transform)/g, "$1" + L + "$2") + e;
|
|
741
|
+
// cursor
|
|
742
|
+
case 6187:
|
|
743
|
+
return F(F(F(e, /(zoom-|grab)/, L + "$1"), /(image-set)/, L + "$1"), e, "") + e;
|
|
744
|
+
// background, background-image
|
|
745
|
+
case 5495:
|
|
746
|
+
case 3959:
|
|
747
|
+
return F(e, /(image-set\([^]*)/, L + "$1$`$1");
|
|
748
|
+
// justify-content
|
|
749
|
+
case 4968:
|
|
750
|
+
return F(F(e, /(.+:)(flex-)?(.*)/, L + "box-pack:$3" + Z + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + L + e + e;
|
|
751
|
+
// (margin|padding)-inline-(start|end)
|
|
752
|
+
case 4095:
|
|
753
|
+
case 3583:
|
|
754
|
+
case 4068:
|
|
755
|
+
case 2532:
|
|
756
|
+
return F(e, /(.+)-inline(.+)/, L + "$1$2") + e;
|
|
757
|
+
// (min|max)?(width|height|inline-size|block-size)
|
|
758
|
+
case 8116:
|
|
759
|
+
case 7059:
|
|
760
|
+
case 5753:
|
|
761
|
+
case 5535:
|
|
762
|
+
case 5445:
|
|
763
|
+
case 5701:
|
|
764
|
+
case 4933:
|
|
765
|
+
case 4677:
|
|
766
|
+
case 5533:
|
|
767
|
+
case 5789:
|
|
768
|
+
case 5021:
|
|
769
|
+
case 4765:
|
|
770
|
+
if (ne(e) - 1 - t > 6) switch (W(e, t + 1)) {
|
|
771
|
+
// (m)ax-content, (m)in-content
|
|
772
|
+
case 109:
|
|
773
|
+
if (W(e, t + 4) !== 45) break;
|
|
774
|
+
// (f)ill-available, (f)it-content
|
|
775
|
+
case 102:
|
|
776
|
+
return F(e, /(.+:)(.+)-([^]+)/, "$1" + L + "$2-$3$1" + Ke + (W(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
777
|
+
// (s)tretch
|
|
778
|
+
case 115:
|
|
779
|
+
return ~ft(e, "stretch") ? ur(F(e, "stretch", "fill-available"), t) + e : e;
|
|
780
|
+
}
|
|
781
|
+
break;
|
|
782
|
+
// position: sticky
|
|
783
|
+
case 4949:
|
|
784
|
+
if (W(e, t + 1) !== 115) break;
|
|
785
|
+
// display: (flex|inline-flex)
|
|
786
|
+
case 6444:
|
|
787
|
+
switch (W(e, ne(e) - 3 - (~ft(e, "!important") && 10))) {
|
|
788
|
+
// stic(k)y
|
|
789
|
+
case 107:
|
|
790
|
+
return F(e, ":", ":" + L) + e;
|
|
791
|
+
// (inline-)?fl(e)x
|
|
792
|
+
case 101:
|
|
793
|
+
return F(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + L + (W(e, 14) === 45 ? "inline-" : "") + "box$3$1" + L + "$2$3$1" + Z + "$2box$3") + e;
|
|
794
|
+
}
|
|
795
|
+
break;
|
|
796
|
+
// writing-mode
|
|
797
|
+
case 5936:
|
|
798
|
+
switch (W(e, t + 11)) {
|
|
799
|
+
// vertical-l(r)
|
|
800
|
+
case 114:
|
|
801
|
+
return L + e + Z + F(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
802
|
+
// vertical-r(l)
|
|
803
|
+
case 108:
|
|
804
|
+
return L + e + Z + F(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
805
|
+
// horizontal(-)tb
|
|
806
|
+
case 45:
|
|
807
|
+
return L + e + Z + F(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
808
|
+
}
|
|
809
|
+
return L + e + Z + e + e;
|
|
810
|
+
}
|
|
811
|
+
return e;
|
|
812
|
+
}
|
|
813
|
+
var qn = function(t, r, n, o) {
|
|
814
|
+
if (t.length > -1 && !t.return) switch (t.type) {
|
|
815
|
+
case vt:
|
|
816
|
+
t.return = ur(t.value, t.length);
|
|
817
|
+
break;
|
|
818
|
+
case or:
|
|
819
|
+
return Ee([Ne(t, {
|
|
820
|
+
value: F(t.value, "@", "@" + L)
|
|
821
|
+
})], o);
|
|
822
|
+
case ht:
|
|
823
|
+
if (t.length) return _n(t.props, function(i) {
|
|
824
|
+
switch (En(i, /(::plac\w+|:read-\w+)/)) {
|
|
825
|
+
// :read-(only|write)
|
|
826
|
+
case ":read-only":
|
|
827
|
+
case ":read-write":
|
|
828
|
+
return Ee([Ne(t, {
|
|
829
|
+
props: [F(i, /:(read-\w+)/, ":" + Ke + "$1")]
|
|
830
|
+
})], o);
|
|
831
|
+
// :placeholder
|
|
832
|
+
case "::placeholder":
|
|
833
|
+
return Ee([Ne(t, {
|
|
834
|
+
props: [F(i, /:(plac\w+)/, ":" + L + "input-$1")]
|
|
835
|
+
}), Ne(t, {
|
|
836
|
+
props: [F(i, /:(plac\w+)/, ":" + Ke + "$1")]
|
|
837
|
+
}), Ne(t, {
|
|
838
|
+
props: [F(i, /:(plac\w+)/, Z + "input-$1")]
|
|
839
|
+
})], o);
|
|
840
|
+
}
|
|
841
|
+
return "";
|
|
842
|
+
});
|
|
843
|
+
}
|
|
844
|
+
}, Hn = [qn], Gn = function(t) {
|
|
845
|
+
var r = t.key;
|
|
846
|
+
if (r === "css") {
|
|
847
|
+
var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
848
|
+
Array.prototype.forEach.call(n, function(v) {
|
|
849
|
+
var g = v.getAttribute("data-emotion");
|
|
850
|
+
g.indexOf(" ") !== -1 && (document.head.appendChild(v), v.setAttribute("data-s", ""));
|
|
851
|
+
});
|
|
852
|
+
}
|
|
853
|
+
var o = t.stylisPlugins || Hn, i = {}, p, l = [];
|
|
854
|
+
p = t.container || document.head, Array.prototype.forEach.call(
|
|
855
|
+
// this means we will ignore elements which don't have a space in them which
|
|
856
|
+
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
857
|
+
document.querySelectorAll('style[data-emotion^="' + r + ' "]'),
|
|
858
|
+
function(v) {
|
|
859
|
+
for (var g = v.getAttribute("data-emotion").split(" "), b = 1; b < g.length; b++)
|
|
860
|
+
i[g[b]] = !0;
|
|
861
|
+
l.push(v);
|
|
862
|
+
}
|
|
863
|
+
);
|
|
864
|
+
var c, s = [Fn, jn];
|
|
865
|
+
{
|
|
866
|
+
var f, m = [Nn, kn(function(v) {
|
|
867
|
+
f.insert(v);
|
|
868
|
+
})], T = Pn(s.concat(o, m)), _ = function(g) {
|
|
869
|
+
return Ee(xn(g), T);
|
|
870
|
+
};
|
|
871
|
+
c = function(g, b, x, S) {
|
|
872
|
+
f = x, _(g ? g + "{" + b.styles + "}" : b.styles), S && (E.inserted[b.name] = !0);
|
|
873
|
+
};
|
|
874
|
+
}
|
|
875
|
+
var E = {
|
|
876
|
+
key: r,
|
|
877
|
+
sheet: new mn({
|
|
878
|
+
key: r,
|
|
879
|
+
container: p,
|
|
880
|
+
nonce: t.nonce,
|
|
881
|
+
speedy: t.speedy,
|
|
882
|
+
prepend: t.prepend,
|
|
883
|
+
insertionPoint: t.insertionPoint
|
|
884
|
+
}),
|
|
885
|
+
nonce: t.nonce,
|
|
886
|
+
inserted: i,
|
|
887
|
+
registered: {},
|
|
888
|
+
insert: c
|
|
889
|
+
};
|
|
890
|
+
return E.sheet.hydrate(l), E;
|
|
891
|
+
}, Be = { exports: {} }, j = {};
|
|
892
|
+
var Ot;
|
|
893
|
+
function Vn() {
|
|
894
|
+
if (Ot) return j;
|
|
895
|
+
Ot = 1;
|
|
896
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, p = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, l = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, c = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, s = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, f = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, m = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, T = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, _ = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, E = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, v = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, g = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, b = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, x = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
897
|
+
function S(a) {
|
|
898
|
+
if (typeof a == "object" && a !== null) {
|
|
899
|
+
var u = a.$$typeof;
|
|
900
|
+
switch (u) {
|
|
901
|
+
case t:
|
|
902
|
+
switch (a = a.type, a) {
|
|
903
|
+
case c:
|
|
904
|
+
case s:
|
|
905
|
+
case n:
|
|
906
|
+
case i:
|
|
907
|
+
case o:
|
|
908
|
+
case m:
|
|
909
|
+
return a;
|
|
910
|
+
default:
|
|
911
|
+
switch (a = a && a.$$typeof, a) {
|
|
912
|
+
case l:
|
|
913
|
+
case f:
|
|
914
|
+
case E:
|
|
915
|
+
case _:
|
|
916
|
+
case p:
|
|
917
|
+
return a;
|
|
918
|
+
default:
|
|
919
|
+
return u;
|
|
920
|
+
}
|
|
921
|
+
}
|
|
922
|
+
case r:
|
|
923
|
+
return u;
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
function C(a) {
|
|
928
|
+
return S(a) === s;
|
|
929
|
+
}
|
|
930
|
+
return j.AsyncMode = c, j.ConcurrentMode = s, j.ContextConsumer = l, j.ContextProvider = p, j.Element = t, j.ForwardRef = f, j.Fragment = n, j.Lazy = E, j.Memo = _, j.Portal = r, j.Profiler = i, j.StrictMode = o, j.Suspense = m, j.isAsyncMode = function(a) {
|
|
931
|
+
return C(a) || S(a) === c;
|
|
932
|
+
}, j.isConcurrentMode = C, j.isContextConsumer = function(a) {
|
|
933
|
+
return S(a) === l;
|
|
934
|
+
}, j.isContextProvider = function(a) {
|
|
935
|
+
return S(a) === p;
|
|
936
|
+
}, j.isElement = function(a) {
|
|
937
|
+
return typeof a == "object" && a !== null && a.$$typeof === t;
|
|
938
|
+
}, j.isForwardRef = function(a) {
|
|
939
|
+
return S(a) === f;
|
|
940
|
+
}, j.isFragment = function(a) {
|
|
941
|
+
return S(a) === n;
|
|
942
|
+
}, j.isLazy = function(a) {
|
|
943
|
+
return S(a) === E;
|
|
944
|
+
}, j.isMemo = function(a) {
|
|
945
|
+
return S(a) === _;
|
|
946
|
+
}, j.isPortal = function(a) {
|
|
947
|
+
return S(a) === r;
|
|
948
|
+
}, j.isProfiler = function(a) {
|
|
949
|
+
return S(a) === i;
|
|
950
|
+
}, j.isStrictMode = function(a) {
|
|
951
|
+
return S(a) === o;
|
|
952
|
+
}, j.isSuspense = function(a) {
|
|
953
|
+
return S(a) === m;
|
|
954
|
+
}, j.isValidElementType = function(a) {
|
|
955
|
+
return typeof a == "string" || typeof a == "function" || a === n || a === s || a === i || a === o || a === m || a === T || typeof a == "object" && a !== null && (a.$$typeof === E || a.$$typeof === _ || a.$$typeof === p || a.$$typeof === l || a.$$typeof === f || a.$$typeof === g || a.$$typeof === b || a.$$typeof === x || a.$$typeof === v);
|
|
956
|
+
}, j.typeOf = S, j;
|
|
957
|
+
}
|
|
958
|
+
var q = {};
|
|
959
|
+
var Nt;
|
|
960
|
+
function $n() {
|
|
961
|
+
return Nt || (Nt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
962
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, p = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, l = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, c = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, s = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, f = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, m = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, T = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, _ = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, E = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, v = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, g = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, b = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, x = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
963
|
+
function S(w) {
|
|
964
|
+
return typeof w == "string" || typeof w == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
965
|
+
w === n || w === s || w === i || w === o || w === m || w === T || typeof w == "object" && w !== null && (w.$$typeof === E || w.$$typeof === _ || w.$$typeof === p || w.$$typeof === l || w.$$typeof === f || w.$$typeof === g || w.$$typeof === b || w.$$typeof === x || w.$$typeof === v);
|
|
966
|
+
}
|
|
967
|
+
function C(w) {
|
|
968
|
+
if (typeof w == "object" && w !== null) {
|
|
969
|
+
var ot = w.$$typeof;
|
|
970
|
+
switch (ot) {
|
|
971
|
+
case t:
|
|
972
|
+
var Ve = w.type;
|
|
973
|
+
switch (Ve) {
|
|
974
|
+
case c:
|
|
975
|
+
case s:
|
|
976
|
+
case n:
|
|
977
|
+
case i:
|
|
978
|
+
case o:
|
|
979
|
+
case m:
|
|
980
|
+
return Ve;
|
|
981
|
+
default:
|
|
982
|
+
var yt = Ve && Ve.$$typeof;
|
|
983
|
+
switch (yt) {
|
|
984
|
+
case l:
|
|
985
|
+
case f:
|
|
986
|
+
case E:
|
|
987
|
+
case _:
|
|
988
|
+
case p:
|
|
989
|
+
return yt;
|
|
990
|
+
default:
|
|
991
|
+
return ot;
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
case r:
|
|
995
|
+
return ot;
|
|
996
|
+
}
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
var a = c, u = s, d = l, A = p, R = t, M = f, V = n, J = E, ce = _, I = r, O = i, X = o, he = m, Re = !1;
|
|
1000
|
+
function Ge(w) {
|
|
1001
|
+
return Re || (Re = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Se(w) || C(w) === c;
|
|
1002
|
+
}
|
|
1003
|
+
function Se(w) {
|
|
1004
|
+
return C(w) === s;
|
|
1005
|
+
}
|
|
1006
|
+
function h(w) {
|
|
1007
|
+
return C(w) === l;
|
|
1008
|
+
}
|
|
1009
|
+
function k(w) {
|
|
1010
|
+
return C(w) === p;
|
|
1011
|
+
}
|
|
1012
|
+
function $(w) {
|
|
1013
|
+
return typeof w == "object" && w !== null && w.$$typeof === t;
|
|
1014
|
+
}
|
|
1015
|
+
function B(w) {
|
|
1016
|
+
return C(w) === f;
|
|
1017
|
+
}
|
|
1018
|
+
function ve(w) {
|
|
1019
|
+
return C(w) === n;
|
|
1020
|
+
}
|
|
1021
|
+
function we(w) {
|
|
1022
|
+
return C(w) === E;
|
|
1023
|
+
}
|
|
1024
|
+
function z(w) {
|
|
1025
|
+
return C(w) === _;
|
|
1026
|
+
}
|
|
1027
|
+
function le(w) {
|
|
1028
|
+
return C(w) === r;
|
|
1029
|
+
}
|
|
1030
|
+
function Ce(w) {
|
|
1031
|
+
return C(w) === i;
|
|
1032
|
+
}
|
|
1033
|
+
function at(w) {
|
|
1034
|
+
return C(w) === o;
|
|
1035
|
+
}
|
|
1036
|
+
function Sr(w) {
|
|
1037
|
+
return C(w) === m;
|
|
1038
|
+
}
|
|
1039
|
+
q.AsyncMode = a, q.ConcurrentMode = u, q.ContextConsumer = d, q.ContextProvider = A, q.Element = R, q.ForwardRef = M, q.Fragment = V, q.Lazy = J, q.Memo = ce, q.Portal = I, q.Profiler = O, q.StrictMode = X, q.Suspense = he, q.isAsyncMode = Ge, q.isConcurrentMode = Se, q.isContextConsumer = h, q.isContextProvider = k, q.isElement = $, q.isForwardRef = B, q.isFragment = ve, q.isLazy = we, q.isMemo = z, q.isPortal = le, q.isProfiler = Ce, q.isStrictMode = at, q.isSuspense = Sr, q.isValidElementType = S, q.typeOf = C;
|
|
1040
|
+
})()), q;
|
|
1041
|
+
}
|
|
1042
|
+
var Pt;
|
|
1043
|
+
function Un() {
|
|
1044
|
+
return Pt || (Pt = 1, process.env.NODE_ENV === "production" ? Be.exports = Vn() : Be.exports = $n()), Be.exports;
|
|
1045
|
+
}
|
|
1046
|
+
var it, kt;
|
|
1047
|
+
function Bn() {
|
|
1048
|
+
if (kt) return it;
|
|
1049
|
+
kt = 1;
|
|
1050
|
+
var e = Un(), t = {
|
|
1051
|
+
childContextTypes: !0,
|
|
1052
|
+
contextType: !0,
|
|
1053
|
+
contextTypes: !0,
|
|
1054
|
+
defaultProps: !0,
|
|
1055
|
+
displayName: !0,
|
|
1056
|
+
getDefaultProps: !0,
|
|
1057
|
+
getDerivedStateFromError: !0,
|
|
1058
|
+
getDerivedStateFromProps: !0,
|
|
1059
|
+
mixins: !0,
|
|
1060
|
+
propTypes: !0,
|
|
1061
|
+
type: !0
|
|
1062
|
+
}, r = {
|
|
1063
|
+
name: !0,
|
|
1064
|
+
length: !0,
|
|
1065
|
+
prototype: !0,
|
|
1066
|
+
caller: !0,
|
|
1067
|
+
callee: !0,
|
|
1068
|
+
arguments: !0,
|
|
1069
|
+
arity: !0
|
|
1070
|
+
}, n = {
|
|
1071
|
+
$$typeof: !0,
|
|
1072
|
+
render: !0,
|
|
1073
|
+
defaultProps: !0,
|
|
1074
|
+
displayName: !0,
|
|
1075
|
+
propTypes: !0
|
|
1076
|
+
}, o = {
|
|
1077
|
+
$$typeof: !0,
|
|
1078
|
+
compare: !0,
|
|
1079
|
+
defaultProps: !0,
|
|
1080
|
+
displayName: !0,
|
|
1081
|
+
propTypes: !0,
|
|
1082
|
+
type: !0
|
|
1083
|
+
}, i = {};
|
|
1084
|
+
i[e.ForwardRef] = n, i[e.Memo] = o;
|
|
1085
|
+
function p(E) {
|
|
1086
|
+
return e.isMemo(E) ? o : i[E.$$typeof] || t;
|
|
1087
|
+
}
|
|
1088
|
+
var l = Object.defineProperty, c = Object.getOwnPropertyNames, s = Object.getOwnPropertySymbols, f = Object.getOwnPropertyDescriptor, m = Object.getPrototypeOf, T = Object.prototype;
|
|
1089
|
+
function _(E, v, g) {
|
|
1090
|
+
if (typeof v != "string") {
|
|
1091
|
+
if (T) {
|
|
1092
|
+
var b = m(v);
|
|
1093
|
+
b && b !== T && _(E, b, g);
|
|
1094
|
+
}
|
|
1095
|
+
var x = c(v);
|
|
1096
|
+
s && (x = x.concat(s(v)));
|
|
1097
|
+
for (var S = p(E), C = p(v), a = 0; a < x.length; ++a) {
|
|
1098
|
+
var u = x[a];
|
|
1099
|
+
if (!r[u] && !(g && g[u]) && !(C && C[u]) && !(S && S[u])) {
|
|
1100
|
+
var d = f(v, u);
|
|
1101
|
+
try {
|
|
1102
|
+
l(E, u, d);
|
|
1103
|
+
} catch {
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
return E;
|
|
1109
|
+
}
|
|
1110
|
+
return it = _, it;
|
|
1111
|
+
}
|
|
1112
|
+
Bn();
|
|
1113
|
+
var zn = !0;
|
|
1114
|
+
function Yn(e, t, r) {
|
|
1115
|
+
var n = "";
|
|
1116
|
+
return r.split(" ").forEach(function(o) {
|
|
1117
|
+
e[o] !== void 0 ? t.push(e[o] + ";") : o && (n += o + " ");
|
|
1118
|
+
}), n;
|
|
1119
|
+
}
|
|
1120
|
+
var fr = function(t, r, n) {
|
|
1121
|
+
var o = t.key + "-" + r.name;
|
|
1122
|
+
// we only need to add the styles to the registered cache if the
|
|
1123
|
+
// class name could be used further down
|
|
1124
|
+
// the tree but if it's a string tag, we know it won't
|
|
1125
|
+
// so we don't have to add it to registered cache.
|
|
1126
|
+
// this improves memory usage since we can avoid storing the whole style string
|
|
1127
|
+
(n === !1 || // we need to always store it if we're in compat mode and
|
|
1128
|
+
// in node since emotion-server relies on whether a style is in
|
|
1129
|
+
// the registered cache to know whether a style is global or not
|
|
1130
|
+
// also, note that this check will be dead code eliminated in the browser
|
|
1131
|
+
zn === !1) && t.registered[o] === void 0 && (t.registered[o] = r.styles);
|
|
1132
|
+
}, Wn = function(t, r, n) {
|
|
1133
|
+
fr(t, r, n);
|
|
1134
|
+
var o = t.key + "-" + r.name;
|
|
1135
|
+
if (t.inserted[r.name] === void 0) {
|
|
1136
|
+
var i = r;
|
|
1137
|
+
do
|
|
1138
|
+
t.insert(r === i ? "." + o : "", i, t.sheet, !0), i = i.next;
|
|
1139
|
+
while (i !== void 0);
|
|
1140
|
+
}
|
|
1141
|
+
};
|
|
1142
|
+
function Xn(e) {
|
|
1143
|
+
for (var t = 0, r, n = 0, o = e.length; o >= 4; ++n, o -= 4)
|
|
1144
|
+
r = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, r = /* Math.imul(k, m): */
|
|
1145
|
+
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
|
|
1146
|
+
r >>> 24, t = /* Math.imul(k, m): */
|
|
1147
|
+
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
|
|
1148
|
+
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
1149
|
+
switch (o) {
|
|
1150
|
+
case 3:
|
|
1151
|
+
t ^= (e.charCodeAt(n + 2) & 255) << 16;
|
|
1152
|
+
case 2:
|
|
1153
|
+
t ^= (e.charCodeAt(n + 1) & 255) << 8;
|
|
1154
|
+
case 1:
|
|
1155
|
+
t ^= e.charCodeAt(n) & 255, t = /* Math.imul(h, m): */
|
|
1156
|
+
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
1157
|
+
}
|
|
1158
|
+
return t ^= t >>> 13, t = /* Math.imul(h, m): */
|
|
1159
|
+
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
|
|
1160
|
+
}
|
|
1161
|
+
var Zn = {
|
|
1162
|
+
animationIterationCount: 1,
|
|
1163
|
+
aspectRatio: 1,
|
|
1164
|
+
borderImageOutset: 1,
|
|
1165
|
+
borderImageSlice: 1,
|
|
1166
|
+
borderImageWidth: 1,
|
|
1167
|
+
boxFlex: 1,
|
|
1168
|
+
boxFlexGroup: 1,
|
|
1169
|
+
boxOrdinalGroup: 1,
|
|
1170
|
+
columnCount: 1,
|
|
1171
|
+
columns: 1,
|
|
1172
|
+
flex: 1,
|
|
1173
|
+
flexGrow: 1,
|
|
1174
|
+
flexPositive: 1,
|
|
1175
|
+
flexShrink: 1,
|
|
1176
|
+
flexNegative: 1,
|
|
1177
|
+
flexOrder: 1,
|
|
1178
|
+
gridRow: 1,
|
|
1179
|
+
gridRowEnd: 1,
|
|
1180
|
+
gridRowSpan: 1,
|
|
1181
|
+
gridRowStart: 1,
|
|
1182
|
+
gridColumn: 1,
|
|
1183
|
+
gridColumnEnd: 1,
|
|
1184
|
+
gridColumnSpan: 1,
|
|
1185
|
+
gridColumnStart: 1,
|
|
1186
|
+
msGridRow: 1,
|
|
1187
|
+
msGridRowSpan: 1,
|
|
1188
|
+
msGridColumn: 1,
|
|
1189
|
+
msGridColumnSpan: 1,
|
|
1190
|
+
fontWeight: 1,
|
|
1191
|
+
lineHeight: 1,
|
|
1192
|
+
opacity: 1,
|
|
1193
|
+
order: 1,
|
|
1194
|
+
orphans: 1,
|
|
1195
|
+
scale: 1,
|
|
1196
|
+
tabSize: 1,
|
|
1197
|
+
widows: 1,
|
|
1198
|
+
zIndex: 1,
|
|
1199
|
+
zoom: 1,
|
|
1200
|
+
WebkitLineClamp: 1,
|
|
1201
|
+
// SVG-related properties
|
|
1202
|
+
fillOpacity: 1,
|
|
1203
|
+
floodOpacity: 1,
|
|
1204
|
+
stopOpacity: 1,
|
|
1205
|
+
strokeDasharray: 1,
|
|
1206
|
+
strokeDashoffset: 1,
|
|
1207
|
+
strokeMiterlimit: 1,
|
|
1208
|
+
strokeOpacity: 1,
|
|
1209
|
+
strokeWidth: 1
|
|
1210
|
+
}, Jn = /[A-Z]|^ms/g, Kn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, dr = function(t) {
|
|
1211
|
+
return t.charCodeAt(1) === 45;
|
|
1212
|
+
}, It = function(t) {
|
|
1213
|
+
return t != null && typeof t != "boolean";
|
|
1214
|
+
}, st = /* @__PURE__ */ In(function(e) {
|
|
1215
|
+
return dr(e) ? e : e.replace(Jn, "-$&").toLowerCase();
|
|
1216
|
+
}), Mt = function(t, r) {
|
|
1217
|
+
switch (t) {
|
|
1218
|
+
case "animation":
|
|
1219
|
+
case "animationName":
|
|
1220
|
+
if (typeof r == "string")
|
|
1221
|
+
return r.replace(Kn, function(n, o, i) {
|
|
1222
|
+
return ae = {
|
|
1223
|
+
name: o,
|
|
1224
|
+
styles: i,
|
|
1225
|
+
next: ae
|
|
1226
|
+
}, o;
|
|
1227
|
+
});
|
|
1228
|
+
}
|
|
1229
|
+
return Zn[t] !== 1 && !dr(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
|
|
1230
|
+
};
|
|
1231
|
+
function qe(e, t, r) {
|
|
1232
|
+
if (r == null)
|
|
1233
|
+
return "";
|
|
1234
|
+
var n = r;
|
|
1235
|
+
if (n.__emotion_styles !== void 0)
|
|
1236
|
+
return n;
|
|
1237
|
+
switch (typeof r) {
|
|
1238
|
+
case "boolean":
|
|
1239
|
+
return "";
|
|
1240
|
+
case "object": {
|
|
1241
|
+
var o = r;
|
|
1242
|
+
if (o.anim === 1)
|
|
1243
|
+
return ae = {
|
|
1244
|
+
name: o.name,
|
|
1245
|
+
styles: o.styles,
|
|
1246
|
+
next: ae
|
|
1247
|
+
}, o.name;
|
|
1248
|
+
var i = r;
|
|
1249
|
+
if (i.styles !== void 0) {
|
|
1250
|
+
var p = i.next;
|
|
1251
|
+
if (p !== void 0)
|
|
1252
|
+
for (; p !== void 0; )
|
|
1253
|
+
ae = {
|
|
1254
|
+
name: p.name,
|
|
1255
|
+
styles: p.styles,
|
|
1256
|
+
next: ae
|
|
1257
|
+
}, p = p.next;
|
|
1258
|
+
var l = i.styles + ";";
|
|
1259
|
+
return l;
|
|
1260
|
+
}
|
|
1261
|
+
return Qn(e, t, r);
|
|
1262
|
+
}
|
|
1263
|
+
case "function": {
|
|
1264
|
+
if (e !== void 0) {
|
|
1265
|
+
var c = ae, s = r(e);
|
|
1266
|
+
return ae = c, qe(e, t, s);
|
|
1267
|
+
}
|
|
1268
|
+
break;
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
var f = r;
|
|
1272
|
+
return f;
|
|
1273
|
+
}
|
|
1274
|
+
function Qn(e, t, r) {
|
|
1275
|
+
var n = "";
|
|
1276
|
+
if (Array.isArray(r))
|
|
1277
|
+
for (var o = 0; o < r.length; o++)
|
|
1278
|
+
n += qe(e, t, r[o]) + ";";
|
|
1279
|
+
else
|
|
1280
|
+
for (var i in r) {
|
|
1281
|
+
var p = r[i];
|
|
1282
|
+
if (typeof p != "object") {
|
|
1283
|
+
var l = p;
|
|
1284
|
+
It(l) && (n += st(i) + ":" + Mt(i, l) + ";");
|
|
1285
|
+
} else if (Array.isArray(p) && typeof p[0] == "string" && t == null)
|
|
1286
|
+
for (var c = 0; c < p.length; c++)
|
|
1287
|
+
It(p[c]) && (n += st(i) + ":" + Mt(i, p[c]) + ";");
|
|
1288
|
+
else {
|
|
1289
|
+
var s = qe(e, t, p);
|
|
1290
|
+
switch (i) {
|
|
1291
|
+
case "animation":
|
|
1292
|
+
case "animationName": {
|
|
1293
|
+
n += st(i) + ":" + s + ";";
|
|
1294
|
+
break;
|
|
1295
|
+
}
|
|
1296
|
+
default:
|
|
1297
|
+
n += i + "{" + s + "}";
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1300
|
+
}
|
|
1301
|
+
return n;
|
|
1302
|
+
}
|
|
1303
|
+
var Dt = /label:\s*([^\s;{]+)\s*(;|$)/g, ae;
|
|
1304
|
+
function ea(e, t, r) {
|
|
1305
|
+
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
1306
|
+
return e[0];
|
|
1307
|
+
var n = !0, o = "";
|
|
1308
|
+
ae = void 0;
|
|
1309
|
+
var i = e[0];
|
|
1310
|
+
if (i == null || i.raw === void 0)
|
|
1311
|
+
n = !1, o += qe(r, t, i);
|
|
1312
|
+
else {
|
|
1313
|
+
var p = i;
|
|
1314
|
+
o += p[0];
|
|
1315
|
+
}
|
|
1316
|
+
for (var l = 1; l < e.length; l++)
|
|
1317
|
+
if (o += qe(r, t, e[l]), n) {
|
|
1318
|
+
var c = i;
|
|
1319
|
+
o += c[l];
|
|
1320
|
+
}
|
|
1321
|
+
Dt.lastIndex = 0;
|
|
1322
|
+
for (var s = "", f; (f = Dt.exec(o)) !== null; )
|
|
1323
|
+
s += "-" + f[1];
|
|
1324
|
+
var m = Xn(o) + s;
|
|
1325
|
+
return {
|
|
1326
|
+
name: m,
|
|
1327
|
+
styles: o,
|
|
1328
|
+
next: ae
|
|
1329
|
+
};
|
|
1330
|
+
}
|
|
1331
|
+
var ta = function(t) {
|
|
1332
|
+
return t();
|
|
1333
|
+
}, ra = ie.useInsertionEffect ? ie.useInsertionEffect : !1, na = ra || ta, pr = /* @__PURE__ */ ie.createContext(
|
|
1334
|
+
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
1335
|
+
// because this module is primarily intended for the browser and node
|
|
1336
|
+
// but it's also required in react native and similar environments sometimes
|
|
1337
|
+
// and we could have a special build just for that
|
|
1338
|
+
// but this is much easier and the native packages
|
|
1339
|
+
// might use a different theme context in the future anyway
|
|
1340
|
+
typeof HTMLElement < "u" ? /* @__PURE__ */ Gn({
|
|
1341
|
+
key: "css"
|
|
1342
|
+
}) : null
|
|
1343
|
+
);
|
|
1344
|
+
pr.Provider;
|
|
1345
|
+
var aa = function(t) {
|
|
1346
|
+
return /* @__PURE__ */ rr(function(r, n) {
|
|
1347
|
+
var o = tn(pr);
|
|
1348
|
+
return t(r, o, n);
|
|
1349
|
+
});
|
|
1350
|
+
}, oa = /* @__PURE__ */ ie.createContext({}), nt = {}.hasOwnProperty, pt = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", mr = function(t, r) {
|
|
1351
|
+
var n = {};
|
|
1352
|
+
for (var o in r)
|
|
1353
|
+
nt.call(r, o) && (n[o] = r[o]);
|
|
1354
|
+
return n[pt] = t, n;
|
|
1355
|
+
}, ia = function(t) {
|
|
1356
|
+
var r = t.cache, n = t.serialized, o = t.isStringTag;
|
|
1357
|
+
return fr(r, n, o), na(function() {
|
|
1358
|
+
return Wn(r, n, o);
|
|
1359
|
+
}), null;
|
|
1360
|
+
}, sa = /* @__PURE__ */ aa(function(e, t, r) {
|
|
1361
|
+
var n = e.css;
|
|
1362
|
+
typeof n == "string" && t.registered[n] !== void 0 && (n = t.registered[n]);
|
|
1363
|
+
var o = e[pt], i = [n], p = "";
|
|
1364
|
+
typeof e.className == "string" ? p = Yn(t.registered, i, e.className) : e.className != null && (p = e.className + " ");
|
|
1365
|
+
var l = ea(i, void 0, ie.useContext(oa));
|
|
1366
|
+
p += t.key + "-" + l.name;
|
|
1367
|
+
var c = {};
|
|
1368
|
+
for (var s in e)
|
|
1369
|
+
nt.call(e, s) && s !== "css" && s !== pt && (c[s] = e[s]);
|
|
1370
|
+
return c.className = p, r && (c.ref = r), /* @__PURE__ */ ie.createElement(ie.Fragment, null, /* @__PURE__ */ ie.createElement(ia, {
|
|
1371
|
+
cache: t,
|
|
1372
|
+
serialized: l,
|
|
1373
|
+
isStringTag: typeof o == "string"
|
|
1374
|
+
}), /* @__PURE__ */ ie.createElement(o, c));
|
|
1375
|
+
}), hr = sa, Qe = Le.Fragment, N = function(t, r, n) {
|
|
1376
|
+
return nt.call(r, "css") ? Le.jsx(hr, mr(t, r), n) : Le.jsx(t, r, n);
|
|
1377
|
+
}, K = function(t, r, n) {
|
|
1378
|
+
return nt.call(r, "css") ? Le.jsxs(hr, mr(t, r), n) : Le.jsxs(t, r, n);
|
|
1379
|
+
}, D = /* @__PURE__ */ ((e) => (e.Root = "root", e.Unknown = "unknown", e.Box = "box", e.Paragraph = "paragraph", e.Heading = "heading", e.Image = "image", e.Button = "button", e.IconButton = "icon-button", e.Link = "link", e.Video = "video", e.Grid = "grid", e.Cell = "cell", e.Flexbox = "flexbox", e.FlexItem = "flex-item", e.UnorderedList = "unordered-list", e.ListItem = "list-item", e.Swiper = "swiper", e.SwiperSlide = "swiper-slide", e.Icon = "icon", e.Tabs = "tabs", e.TabList = "tab-list", e.Tab = "tab", e.TabContent = "tab-content", e.TabPanel = "tab-panel", e.Marquee = "marquee", e.MarqueeItem = "marquee-item", e.AccordionGroup = "accordion-group", e.Accordion = "accordion", e.AccordionSummary = "accordion-summary", e.AccordionContent = "accordion-content", e.CountdownTimer = "countdown-timer", e))(D || {}), fe = /* @__PURE__ */ ((e) => (e.DATA_NODE_ID = "data-node-id", e.DATA_NODE_EDITABLE = "data-node-editable", e.DATA_NODE_SELECTABLE = "data-node-selectable", e.DATA_NODE_NAME = "data-node-name", e.DATA_NODE_RESOLVED = "data-node-resolved", e.DATA_NODE_INDICATOR_ERROR = "data-node-indicator-error", e.DATA_NODE_INDICATOR_TARGET = "data-node-indicator-target", e.DATA_NODE_DROP_TARGET = "data-node-drop-target", e.DATA_NODE_DROP_TARGET_ERROR = "data-node-drop-target-error", e))(fe || {}), vr = /* @__PURE__ */ ((e) => (e.True = "true", e.False = "false", e))(vr || {}), Pe = {}, ge = {}, ze = {}, ue = {}, me = {}, ct = {}, Lt;
|
|
1380
|
+
function gr() {
|
|
1381
|
+
return Lt || (Lt = 1, (function(e) {
|
|
1382
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.Doctype = e.CDATA = e.Tag = e.Style = e.Script = e.Comment = e.Directive = e.Text = e.Root = e.isTag = e.ElementType = void 0;
|
|
1383
|
+
var t;
|
|
1384
|
+
(function(n) {
|
|
1385
|
+
n.Root = "root", n.Text = "text", n.Directive = "directive", n.Comment = "comment", n.Script = "script", n.Style = "style", n.Tag = "tag", n.CDATA = "cdata", n.Doctype = "doctype";
|
|
1386
|
+
})(t = e.ElementType || (e.ElementType = {}));
|
|
1387
|
+
function r(n) {
|
|
1388
|
+
return n.type === t.Tag || n.type === t.Script || n.type === t.Style;
|
|
1389
|
+
}
|
|
1390
|
+
e.isTag = r, e.Root = t.Root, e.Text = t.Text, e.Directive = t.Directive, e.Comment = t.Comment, e.Script = t.Script, e.Style = t.Style, e.Tag = t.Tag, e.CDATA = t.CDATA, e.Doctype = t.Doctype;
|
|
1391
|
+
})(ct)), ct;
|
|
1392
|
+
}
|
|
1393
|
+
var P = {}, Ft;
|
|
1394
|
+
function jt() {
|
|
1395
|
+
if (Ft) return P;
|
|
1396
|
+
Ft = 1;
|
|
1397
|
+
var e = P && P.__extends || /* @__PURE__ */ (function() {
|
|
1398
|
+
var a = function(u, d) {
|
|
1399
|
+
return a = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(A, R) {
|
|
1400
|
+
A.__proto__ = R;
|
|
1401
|
+
} || function(A, R) {
|
|
1402
|
+
for (var M in R) Object.prototype.hasOwnProperty.call(R, M) && (A[M] = R[M]);
|
|
1403
|
+
}, a(u, d);
|
|
1404
|
+
};
|
|
1405
|
+
return function(u, d) {
|
|
1406
|
+
if (typeof d != "function" && d !== null)
|
|
1407
|
+
throw new TypeError("Class extends value " + String(d) + " is not a constructor or null");
|
|
1408
|
+
a(u, d);
|
|
1409
|
+
function A() {
|
|
1410
|
+
this.constructor = u;
|
|
1411
|
+
}
|
|
1412
|
+
u.prototype = d === null ? Object.create(d) : (A.prototype = d.prototype, new A());
|
|
1413
|
+
};
|
|
1414
|
+
})(), t = P && P.__assign || function() {
|
|
1415
|
+
return t = Object.assign || function(a) {
|
|
1416
|
+
for (var u, d = 1, A = arguments.length; d < A; d++) {
|
|
1417
|
+
u = arguments[d];
|
|
1418
|
+
for (var R in u) Object.prototype.hasOwnProperty.call(u, R) && (a[R] = u[R]);
|
|
1419
|
+
}
|
|
1420
|
+
return a;
|
|
1421
|
+
}, t.apply(this, arguments);
|
|
1422
|
+
};
|
|
1423
|
+
Object.defineProperty(P, "__esModule", { value: !0 }), P.cloneNode = P.hasChildren = P.isDocument = P.isDirective = P.isComment = P.isText = P.isCDATA = P.isTag = P.Element = P.Document = P.CDATA = P.NodeWithChildren = P.ProcessingInstruction = P.Comment = P.Text = P.DataNode = P.Node = void 0;
|
|
1424
|
+
var r = /* @__PURE__ */ gr(), n = (
|
|
1425
|
+
/** @class */
|
|
1426
|
+
(function() {
|
|
1427
|
+
function a() {
|
|
1428
|
+
this.parent = null, this.prev = null, this.next = null, this.startIndex = null, this.endIndex = null;
|
|
1429
|
+
}
|
|
1430
|
+
return Object.defineProperty(a.prototype, "parentNode", {
|
|
1431
|
+
// Read-write aliases for properties
|
|
1432
|
+
/**
|
|
1433
|
+
* Same as {@link parent}.
|
|
1434
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
1435
|
+
*/
|
|
1436
|
+
get: function() {
|
|
1437
|
+
return this.parent;
|
|
1438
|
+
},
|
|
1439
|
+
set: function(u) {
|
|
1440
|
+
this.parent = u;
|
|
1441
|
+
},
|
|
1442
|
+
enumerable: !1,
|
|
1443
|
+
configurable: !0
|
|
1444
|
+
}), Object.defineProperty(a.prototype, "previousSibling", {
|
|
1445
|
+
/**
|
|
1446
|
+
* Same as {@link prev}.
|
|
1447
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
1448
|
+
*/
|
|
1449
|
+
get: function() {
|
|
1450
|
+
return this.prev;
|
|
1451
|
+
},
|
|
1452
|
+
set: function(u) {
|
|
1453
|
+
this.prev = u;
|
|
1454
|
+
},
|
|
1455
|
+
enumerable: !1,
|
|
1456
|
+
configurable: !0
|
|
1457
|
+
}), Object.defineProperty(a.prototype, "nextSibling", {
|
|
1458
|
+
/**
|
|
1459
|
+
* Same as {@link next}.
|
|
1460
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
1461
|
+
*/
|
|
1462
|
+
get: function() {
|
|
1463
|
+
return this.next;
|
|
1464
|
+
},
|
|
1465
|
+
set: function(u) {
|
|
1466
|
+
this.next = u;
|
|
1467
|
+
},
|
|
1468
|
+
enumerable: !1,
|
|
1469
|
+
configurable: !0
|
|
1470
|
+
}), a.prototype.cloneNode = function(u) {
|
|
1471
|
+
return u === void 0 && (u = !1), S(this, u);
|
|
1472
|
+
}, a;
|
|
1473
|
+
})()
|
|
1474
|
+
);
|
|
1475
|
+
P.Node = n;
|
|
1476
|
+
var o = (
|
|
1477
|
+
/** @class */
|
|
1478
|
+
(function(a) {
|
|
1479
|
+
e(u, a);
|
|
1480
|
+
function u(d) {
|
|
1481
|
+
var A = a.call(this) || this;
|
|
1482
|
+
return A.data = d, A;
|
|
1483
|
+
}
|
|
1484
|
+
return Object.defineProperty(u.prototype, "nodeValue", {
|
|
1485
|
+
/**
|
|
1486
|
+
* Same as {@link data}.
|
|
1487
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
1488
|
+
*/
|
|
1489
|
+
get: function() {
|
|
1490
|
+
return this.data;
|
|
1491
|
+
},
|
|
1492
|
+
set: function(d) {
|
|
1493
|
+
this.data = d;
|
|
1494
|
+
},
|
|
1495
|
+
enumerable: !1,
|
|
1496
|
+
configurable: !0
|
|
1497
|
+
}), u;
|
|
1498
|
+
})(n)
|
|
1499
|
+
);
|
|
1500
|
+
P.DataNode = o;
|
|
1501
|
+
var i = (
|
|
1502
|
+
/** @class */
|
|
1503
|
+
(function(a) {
|
|
1504
|
+
e(u, a);
|
|
1505
|
+
function u() {
|
|
1506
|
+
var d = a !== null && a.apply(this, arguments) || this;
|
|
1507
|
+
return d.type = r.ElementType.Text, d;
|
|
1508
|
+
}
|
|
1509
|
+
return Object.defineProperty(u.prototype, "nodeType", {
|
|
1510
|
+
get: function() {
|
|
1511
|
+
return 3;
|
|
1512
|
+
},
|
|
1513
|
+
enumerable: !1,
|
|
1514
|
+
configurable: !0
|
|
1515
|
+
}), u;
|
|
1516
|
+
})(o)
|
|
1517
|
+
);
|
|
1518
|
+
P.Text = i;
|
|
1519
|
+
var p = (
|
|
1520
|
+
/** @class */
|
|
1521
|
+
(function(a) {
|
|
1522
|
+
e(u, a);
|
|
1523
|
+
function u() {
|
|
1524
|
+
var d = a !== null && a.apply(this, arguments) || this;
|
|
1525
|
+
return d.type = r.ElementType.Comment, d;
|
|
1526
|
+
}
|
|
1527
|
+
return Object.defineProperty(u.prototype, "nodeType", {
|
|
1528
|
+
get: function() {
|
|
1529
|
+
return 8;
|
|
1530
|
+
},
|
|
1531
|
+
enumerable: !1,
|
|
1532
|
+
configurable: !0
|
|
1533
|
+
}), u;
|
|
1534
|
+
})(o)
|
|
1535
|
+
);
|
|
1536
|
+
P.Comment = p;
|
|
1537
|
+
var l = (
|
|
1538
|
+
/** @class */
|
|
1539
|
+
(function(a) {
|
|
1540
|
+
e(u, a);
|
|
1541
|
+
function u(d, A) {
|
|
1542
|
+
var R = a.call(this, A) || this;
|
|
1543
|
+
return R.name = d, R.type = r.ElementType.Directive, R;
|
|
1544
|
+
}
|
|
1545
|
+
return Object.defineProperty(u.prototype, "nodeType", {
|
|
1546
|
+
get: function() {
|
|
1547
|
+
return 1;
|
|
1548
|
+
},
|
|
1549
|
+
enumerable: !1,
|
|
1550
|
+
configurable: !0
|
|
1551
|
+
}), u;
|
|
1552
|
+
})(o)
|
|
1553
|
+
);
|
|
1554
|
+
P.ProcessingInstruction = l;
|
|
1555
|
+
var c = (
|
|
1556
|
+
/** @class */
|
|
1557
|
+
(function(a) {
|
|
1558
|
+
e(u, a);
|
|
1559
|
+
function u(d) {
|
|
1560
|
+
var A = a.call(this) || this;
|
|
1561
|
+
return A.children = d, A;
|
|
1562
|
+
}
|
|
1563
|
+
return Object.defineProperty(u.prototype, "firstChild", {
|
|
1564
|
+
// Aliases
|
|
1565
|
+
/** First child of the node. */
|
|
1566
|
+
get: function() {
|
|
1567
|
+
var d;
|
|
1568
|
+
return (d = this.children[0]) !== null && d !== void 0 ? d : null;
|
|
1569
|
+
},
|
|
1570
|
+
enumerable: !1,
|
|
1571
|
+
configurable: !0
|
|
1572
|
+
}), Object.defineProperty(u.prototype, "lastChild", {
|
|
1573
|
+
/** Last child of the node. */
|
|
1574
|
+
get: function() {
|
|
1575
|
+
return this.children.length > 0 ? this.children[this.children.length - 1] : null;
|
|
1576
|
+
},
|
|
1577
|
+
enumerable: !1,
|
|
1578
|
+
configurable: !0
|
|
1579
|
+
}), Object.defineProperty(u.prototype, "childNodes", {
|
|
1580
|
+
/**
|
|
1581
|
+
* Same as {@link children}.
|
|
1582
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
1583
|
+
*/
|
|
1584
|
+
get: function() {
|
|
1585
|
+
return this.children;
|
|
1586
|
+
},
|
|
1587
|
+
set: function(d) {
|
|
1588
|
+
this.children = d;
|
|
1589
|
+
},
|
|
1590
|
+
enumerable: !1,
|
|
1591
|
+
configurable: !0
|
|
1592
|
+
}), u;
|
|
1593
|
+
})(n)
|
|
1594
|
+
);
|
|
1595
|
+
P.NodeWithChildren = c;
|
|
1596
|
+
var s = (
|
|
1597
|
+
/** @class */
|
|
1598
|
+
(function(a) {
|
|
1599
|
+
e(u, a);
|
|
1600
|
+
function u() {
|
|
1601
|
+
var d = a !== null && a.apply(this, arguments) || this;
|
|
1602
|
+
return d.type = r.ElementType.CDATA, d;
|
|
1603
|
+
}
|
|
1604
|
+
return Object.defineProperty(u.prototype, "nodeType", {
|
|
1605
|
+
get: function() {
|
|
1606
|
+
return 4;
|
|
1607
|
+
},
|
|
1608
|
+
enumerable: !1,
|
|
1609
|
+
configurable: !0
|
|
1610
|
+
}), u;
|
|
1611
|
+
})(c)
|
|
1612
|
+
);
|
|
1613
|
+
P.CDATA = s;
|
|
1614
|
+
var f = (
|
|
1615
|
+
/** @class */
|
|
1616
|
+
(function(a) {
|
|
1617
|
+
e(u, a);
|
|
1618
|
+
function u() {
|
|
1619
|
+
var d = a !== null && a.apply(this, arguments) || this;
|
|
1620
|
+
return d.type = r.ElementType.Root, d;
|
|
1621
|
+
}
|
|
1622
|
+
return Object.defineProperty(u.prototype, "nodeType", {
|
|
1623
|
+
get: function() {
|
|
1624
|
+
return 9;
|
|
1625
|
+
},
|
|
1626
|
+
enumerable: !1,
|
|
1627
|
+
configurable: !0
|
|
1628
|
+
}), u;
|
|
1629
|
+
})(c)
|
|
1630
|
+
);
|
|
1631
|
+
P.Document = f;
|
|
1632
|
+
var m = (
|
|
1633
|
+
/** @class */
|
|
1634
|
+
(function(a) {
|
|
1635
|
+
e(u, a);
|
|
1636
|
+
function u(d, A, R, M) {
|
|
1637
|
+
R === void 0 && (R = []), M === void 0 && (M = d === "script" ? r.ElementType.Script : d === "style" ? r.ElementType.Style : r.ElementType.Tag);
|
|
1638
|
+
var V = a.call(this, R) || this;
|
|
1639
|
+
return V.name = d, V.attribs = A, V.type = M, V;
|
|
1640
|
+
}
|
|
1641
|
+
return Object.defineProperty(u.prototype, "nodeType", {
|
|
1642
|
+
get: function() {
|
|
1643
|
+
return 1;
|
|
1644
|
+
},
|
|
1645
|
+
enumerable: !1,
|
|
1646
|
+
configurable: !0
|
|
1647
|
+
}), Object.defineProperty(u.prototype, "tagName", {
|
|
1648
|
+
// DOM Level 1 aliases
|
|
1649
|
+
/**
|
|
1650
|
+
* Same as {@link name}.
|
|
1651
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
1652
|
+
*/
|
|
1653
|
+
get: function() {
|
|
1654
|
+
return this.name;
|
|
1655
|
+
},
|
|
1656
|
+
set: function(d) {
|
|
1657
|
+
this.name = d;
|
|
1658
|
+
},
|
|
1659
|
+
enumerable: !1,
|
|
1660
|
+
configurable: !0
|
|
1661
|
+
}), Object.defineProperty(u.prototype, "attributes", {
|
|
1662
|
+
get: function() {
|
|
1663
|
+
var d = this;
|
|
1664
|
+
return Object.keys(this.attribs).map(function(A) {
|
|
1665
|
+
var R, M;
|
|
1666
|
+
return {
|
|
1667
|
+
name: A,
|
|
1668
|
+
value: d.attribs[A],
|
|
1669
|
+
namespace: (R = d["x-attribsNamespace"]) === null || R === void 0 ? void 0 : R[A],
|
|
1670
|
+
prefix: (M = d["x-attribsPrefix"]) === null || M === void 0 ? void 0 : M[A]
|
|
1671
|
+
};
|
|
1672
|
+
});
|
|
1673
|
+
},
|
|
1674
|
+
enumerable: !1,
|
|
1675
|
+
configurable: !0
|
|
1676
|
+
}), u;
|
|
1677
|
+
})(c)
|
|
1678
|
+
);
|
|
1679
|
+
P.Element = m;
|
|
1680
|
+
function T(a) {
|
|
1681
|
+
return (0, r.isTag)(a);
|
|
1682
|
+
}
|
|
1683
|
+
P.isTag = T;
|
|
1684
|
+
function _(a) {
|
|
1685
|
+
return a.type === r.ElementType.CDATA;
|
|
1686
|
+
}
|
|
1687
|
+
P.isCDATA = _;
|
|
1688
|
+
function E(a) {
|
|
1689
|
+
return a.type === r.ElementType.Text;
|
|
1690
|
+
}
|
|
1691
|
+
P.isText = E;
|
|
1692
|
+
function v(a) {
|
|
1693
|
+
return a.type === r.ElementType.Comment;
|
|
1694
|
+
}
|
|
1695
|
+
P.isComment = v;
|
|
1696
|
+
function g(a) {
|
|
1697
|
+
return a.type === r.ElementType.Directive;
|
|
1698
|
+
}
|
|
1699
|
+
P.isDirective = g;
|
|
1700
|
+
function b(a) {
|
|
1701
|
+
return a.type === r.ElementType.Root;
|
|
1702
|
+
}
|
|
1703
|
+
P.isDocument = b;
|
|
1704
|
+
function x(a) {
|
|
1705
|
+
return Object.prototype.hasOwnProperty.call(a, "children");
|
|
1706
|
+
}
|
|
1707
|
+
P.hasChildren = x;
|
|
1708
|
+
function S(a, u) {
|
|
1709
|
+
u === void 0 && (u = !1);
|
|
1710
|
+
var d;
|
|
1711
|
+
if (E(a))
|
|
1712
|
+
d = new i(a.data);
|
|
1713
|
+
else if (v(a))
|
|
1714
|
+
d = new p(a.data);
|
|
1715
|
+
else if (T(a)) {
|
|
1716
|
+
var A = u ? C(a.children) : [], R = new m(a.name, t({}, a.attribs), A);
|
|
1717
|
+
A.forEach(function(ce) {
|
|
1718
|
+
return ce.parent = R;
|
|
1719
|
+
}), a.namespace != null && (R.namespace = a.namespace), a["x-attribsNamespace"] && (R["x-attribsNamespace"] = t({}, a["x-attribsNamespace"])), a["x-attribsPrefix"] && (R["x-attribsPrefix"] = t({}, a["x-attribsPrefix"])), d = R;
|
|
1720
|
+
} else if (_(a)) {
|
|
1721
|
+
var A = u ? C(a.children) : [], M = new s(A);
|
|
1722
|
+
A.forEach(function(I) {
|
|
1723
|
+
return I.parent = M;
|
|
1724
|
+
}), d = M;
|
|
1725
|
+
} else if (b(a)) {
|
|
1726
|
+
var A = u ? C(a.children) : [], V = new f(A);
|
|
1727
|
+
A.forEach(function(I) {
|
|
1728
|
+
return I.parent = V;
|
|
1729
|
+
}), a["x-mode"] && (V["x-mode"] = a["x-mode"]), d = V;
|
|
1730
|
+
} else if (g(a)) {
|
|
1731
|
+
var J = new l(a.name, a.data);
|
|
1732
|
+
a["x-name"] != null && (J["x-name"] = a["x-name"], J["x-publicId"] = a["x-publicId"], J["x-systemId"] = a["x-systemId"]), d = J;
|
|
1733
|
+
} else
|
|
1734
|
+
throw new Error("Not implemented yet: ".concat(a.type));
|
|
1735
|
+
return d.startIndex = a.startIndex, d.endIndex = a.endIndex, a.sourceCodeLocation != null && (d.sourceCodeLocation = a.sourceCodeLocation), d;
|
|
1736
|
+
}
|
|
1737
|
+
P.cloneNode = S;
|
|
1738
|
+
function C(a) {
|
|
1739
|
+
for (var u = a.map(function(A) {
|
|
1740
|
+
return S(A, !0);
|
|
1741
|
+
}), d = 1; d < u.length; d++)
|
|
1742
|
+
u[d].prev = u[d - 1], u[d - 1].next = u[d];
|
|
1743
|
+
return u;
|
|
1744
|
+
}
|
|
1745
|
+
return P;
|
|
1746
|
+
}
|
|
1747
|
+
var qt;
|
|
1748
|
+
function yr() {
|
|
1749
|
+
return qt || (qt = 1, (function(e) {
|
|
1750
|
+
var t = me && me.__createBinding || (Object.create ? (function(l, c, s, f) {
|
|
1751
|
+
f === void 0 && (f = s);
|
|
1752
|
+
var m = Object.getOwnPropertyDescriptor(c, s);
|
|
1753
|
+
(!m || ("get" in m ? !c.__esModule : m.writable || m.configurable)) && (m = { enumerable: !0, get: function() {
|
|
1754
|
+
return c[s];
|
|
1755
|
+
} }), Object.defineProperty(l, f, m);
|
|
1756
|
+
}) : (function(l, c, s, f) {
|
|
1757
|
+
f === void 0 && (f = s), l[f] = c[s];
|
|
1758
|
+
})), r = me && me.__exportStar || function(l, c) {
|
|
1759
|
+
for (var s in l) s !== "default" && !Object.prototype.hasOwnProperty.call(c, s) && t(c, l, s);
|
|
1760
|
+
};
|
|
1761
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.DomHandler = void 0;
|
|
1762
|
+
var n = /* @__PURE__ */ gr(), o = /* @__PURE__ */ jt();
|
|
1763
|
+
r(/* @__PURE__ */ jt(), e);
|
|
1764
|
+
var i = {
|
|
1765
|
+
withStartIndices: !1,
|
|
1766
|
+
withEndIndices: !1,
|
|
1767
|
+
xmlMode: !1
|
|
1768
|
+
}, p = (
|
|
1769
|
+
/** @class */
|
|
1770
|
+
(function() {
|
|
1771
|
+
function l(c, s, f) {
|
|
1772
|
+
this.dom = [], this.root = new o.Document(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null, typeof s == "function" && (f = s, s = i), typeof c == "object" && (s = c, c = void 0), this.callback = c ?? null, this.options = s ?? i, this.elementCB = f ?? null;
|
|
1773
|
+
}
|
|
1774
|
+
return l.prototype.onparserinit = function(c) {
|
|
1775
|
+
this.parser = c;
|
|
1776
|
+
}, l.prototype.onreset = function() {
|
|
1777
|
+
this.dom = [], this.root = new o.Document(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null;
|
|
1778
|
+
}, l.prototype.onend = function() {
|
|
1779
|
+
this.done || (this.done = !0, this.parser = null, this.handleCallback(null));
|
|
1780
|
+
}, l.prototype.onerror = function(c) {
|
|
1781
|
+
this.handleCallback(c);
|
|
1782
|
+
}, l.prototype.onclosetag = function() {
|
|
1783
|
+
this.lastNode = null;
|
|
1784
|
+
var c = this.tagStack.pop();
|
|
1785
|
+
this.options.withEndIndices && (c.endIndex = this.parser.endIndex), this.elementCB && this.elementCB(c);
|
|
1786
|
+
}, l.prototype.onopentag = function(c, s) {
|
|
1787
|
+
var f = this.options.xmlMode ? n.ElementType.Tag : void 0, m = new o.Element(c, s, void 0, f);
|
|
1788
|
+
this.addNode(m), this.tagStack.push(m);
|
|
1789
|
+
}, l.prototype.ontext = function(c) {
|
|
1790
|
+
var s = this.lastNode;
|
|
1791
|
+
if (s && s.type === n.ElementType.Text)
|
|
1792
|
+
s.data += c, this.options.withEndIndices && (s.endIndex = this.parser.endIndex);
|
|
1793
|
+
else {
|
|
1794
|
+
var f = new o.Text(c);
|
|
1795
|
+
this.addNode(f), this.lastNode = f;
|
|
1796
|
+
}
|
|
1797
|
+
}, l.prototype.oncomment = function(c) {
|
|
1798
|
+
if (this.lastNode && this.lastNode.type === n.ElementType.Comment) {
|
|
1799
|
+
this.lastNode.data += c;
|
|
1800
|
+
return;
|
|
1801
|
+
}
|
|
1802
|
+
var s = new o.Comment(c);
|
|
1803
|
+
this.addNode(s), this.lastNode = s;
|
|
1804
|
+
}, l.prototype.oncommentend = function() {
|
|
1805
|
+
this.lastNode = null;
|
|
1806
|
+
}, l.prototype.oncdatastart = function() {
|
|
1807
|
+
var c = new o.Text(""), s = new o.CDATA([c]);
|
|
1808
|
+
this.addNode(s), c.parent = s, this.lastNode = c;
|
|
1809
|
+
}, l.prototype.oncdataend = function() {
|
|
1810
|
+
this.lastNode = null;
|
|
1811
|
+
}, l.prototype.onprocessinginstruction = function(c, s) {
|
|
1812
|
+
var f = new o.ProcessingInstruction(c, s);
|
|
1813
|
+
this.addNode(f);
|
|
1814
|
+
}, l.prototype.handleCallback = function(c) {
|
|
1815
|
+
if (typeof this.callback == "function")
|
|
1816
|
+
this.callback(c, this.dom);
|
|
1817
|
+
else if (c)
|
|
1818
|
+
throw c;
|
|
1819
|
+
}, l.prototype.addNode = function(c) {
|
|
1820
|
+
var s = this.tagStack[this.tagStack.length - 1], f = s.children[s.children.length - 1];
|
|
1821
|
+
this.options.withStartIndices && (c.startIndex = this.parser.startIndex), this.options.withEndIndices && (c.endIndex = this.parser.endIndex), s.children.push(c), f && (c.prev = f, f.next = c), c.parent = s, this.lastNode = null;
|
|
1822
|
+
}, l;
|
|
1823
|
+
})()
|
|
1824
|
+
);
|
|
1825
|
+
e.DomHandler = p, e.default = p;
|
|
1826
|
+
})(me)), me;
|
|
1827
|
+
}
|
|
1828
|
+
var lt = {}, Ht;
|
|
1829
|
+
function ca() {
|
|
1830
|
+
return Ht || (Ht = 1, (function(e) {
|
|
1831
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.CARRIAGE_RETURN_PLACEHOLDER_REGEX = e.CARRIAGE_RETURN_PLACEHOLDER = e.CARRIAGE_RETURN_REGEX = e.CARRIAGE_RETURN = e.CASE_SENSITIVE_TAG_NAMES_MAP = e.CASE_SENSITIVE_TAG_NAMES = void 0, e.CASE_SENSITIVE_TAG_NAMES = [
|
|
1832
|
+
"animateMotion",
|
|
1833
|
+
"animateTransform",
|
|
1834
|
+
"clipPath",
|
|
1835
|
+
"feBlend",
|
|
1836
|
+
"feColorMatrix",
|
|
1837
|
+
"feComponentTransfer",
|
|
1838
|
+
"feComposite",
|
|
1839
|
+
"feConvolveMatrix",
|
|
1840
|
+
"feDiffuseLighting",
|
|
1841
|
+
"feDisplacementMap",
|
|
1842
|
+
"feDropShadow",
|
|
1843
|
+
"feFlood",
|
|
1844
|
+
"feFuncA",
|
|
1845
|
+
"feFuncB",
|
|
1846
|
+
"feFuncG",
|
|
1847
|
+
"feFuncR",
|
|
1848
|
+
"feGaussianBlur",
|
|
1849
|
+
"feImage",
|
|
1850
|
+
"feMerge",
|
|
1851
|
+
"feMergeNode",
|
|
1852
|
+
"feMorphology",
|
|
1853
|
+
"feOffset",
|
|
1854
|
+
"fePointLight",
|
|
1855
|
+
"feSpecularLighting",
|
|
1856
|
+
"feSpotLight",
|
|
1857
|
+
"feTile",
|
|
1858
|
+
"feTurbulence",
|
|
1859
|
+
"foreignObject",
|
|
1860
|
+
"linearGradient",
|
|
1861
|
+
"radialGradient",
|
|
1862
|
+
"textPath"
|
|
1863
|
+
], e.CASE_SENSITIVE_TAG_NAMES_MAP = e.CASE_SENSITIVE_TAG_NAMES.reduce(function(t, r) {
|
|
1864
|
+
return t[r.toLowerCase()] = r, t;
|
|
1865
|
+
}, {}), e.CARRIAGE_RETURN = "\r", e.CARRIAGE_RETURN_REGEX = new RegExp(e.CARRIAGE_RETURN, "g"), e.CARRIAGE_RETURN_PLACEHOLDER = "__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now().toString(), "__"), e.CARRIAGE_RETURN_PLACEHOLDER_REGEX = new RegExp(e.CARRIAGE_RETURN_PLACEHOLDER, "g");
|
|
1866
|
+
})(lt)), lt;
|
|
1867
|
+
}
|
|
1868
|
+
var Gt;
|
|
1869
|
+
function br() {
|
|
1870
|
+
if (Gt) return ue;
|
|
1871
|
+
Gt = 1, Object.defineProperty(ue, "__esModule", { value: !0 }), ue.formatAttributes = n, ue.hasOpenTag = i, ue.escapeSpecialCharacters = p, ue.revertEscapedCharacters = l, ue.formatDOM = c;
|
|
1872
|
+
var e = /* @__PURE__ */ yr(), t = ca();
|
|
1873
|
+
function r(s) {
|
|
1874
|
+
return t.CASE_SENSITIVE_TAG_NAMES_MAP[s];
|
|
1875
|
+
}
|
|
1876
|
+
function n(s) {
|
|
1877
|
+
for (var f = {}, m = 0, T = s.length; m < T; m++) {
|
|
1878
|
+
var _ = s[m];
|
|
1879
|
+
f[_.name] = _.value;
|
|
1880
|
+
}
|
|
1881
|
+
return f;
|
|
1882
|
+
}
|
|
1883
|
+
function o(s) {
|
|
1884
|
+
s = s.toLowerCase();
|
|
1885
|
+
var f = r(s);
|
|
1886
|
+
return f || s;
|
|
1887
|
+
}
|
|
1888
|
+
function i(s, f) {
|
|
1889
|
+
var m = "<" + f, T = s.toLowerCase().indexOf(m);
|
|
1890
|
+
if (T === -1)
|
|
1891
|
+
return !1;
|
|
1892
|
+
var _ = s[T + m.length];
|
|
1893
|
+
return _ === ">" || _ === " " || _ === " " || _ === `
|
|
1894
|
+
` || _ === "\r" || _ === "/";
|
|
1895
|
+
}
|
|
1896
|
+
function p(s) {
|
|
1897
|
+
return s.replace(t.CARRIAGE_RETURN_REGEX, t.CARRIAGE_RETURN_PLACEHOLDER);
|
|
1898
|
+
}
|
|
1899
|
+
function l(s) {
|
|
1900
|
+
return s.replace(t.CARRIAGE_RETURN_PLACEHOLDER_REGEX, t.CARRIAGE_RETURN);
|
|
1901
|
+
}
|
|
1902
|
+
function c(s, f, m) {
|
|
1903
|
+
var T, _, E, v;
|
|
1904
|
+
f === void 0 && (f = null);
|
|
1905
|
+
for (var g = [], b, x = 0, S = s.length; x < S; x++) {
|
|
1906
|
+
var C = s[x];
|
|
1907
|
+
switch (C.nodeType) {
|
|
1908
|
+
case 1: {
|
|
1909
|
+
var a = o(C.nodeName);
|
|
1910
|
+
b = new e.Element(a, n(C.attributes)), b.children = c(
|
|
1911
|
+
// template children are on content
|
|
1912
|
+
a === "template" ? C.content.childNodes : C.childNodes,
|
|
1913
|
+
b
|
|
1914
|
+
);
|
|
1915
|
+
break;
|
|
1916
|
+
}
|
|
1917
|
+
case 3:
|
|
1918
|
+
b = new e.Text(l((T = C.nodeValue) !== null && T !== void 0 ? T : ""));
|
|
1919
|
+
break;
|
|
1920
|
+
case 8:
|
|
1921
|
+
b = new e.Comment((_ = C.nodeValue) !== null && _ !== void 0 ? _ : "");
|
|
1922
|
+
break;
|
|
1923
|
+
default:
|
|
1924
|
+
continue;
|
|
1925
|
+
}
|
|
1926
|
+
var u = (E = g[x - 1]) !== null && E !== void 0 ? E : null;
|
|
1927
|
+
u && (u.next = b), b.parent = f, b.prev = u, b.next = null, g.push(b);
|
|
1928
|
+
}
|
|
1929
|
+
return m && (b = new e.ProcessingInstruction(m.substring(0, m.indexOf(" ")).toLowerCase(), m), b.next = (v = g[0]) !== null && v !== void 0 ? v : null, b.parent = f, g.unshift(b), g[1] && (g[1].prev = g[0])), g;
|
|
1930
|
+
}
|
|
1931
|
+
return ue;
|
|
1932
|
+
}
|
|
1933
|
+
var Vt;
|
|
1934
|
+
function la() {
|
|
1935
|
+
if (Vt) return ze;
|
|
1936
|
+
Vt = 1, Object.defineProperty(ze, "__esModule", { value: !0 }), ze.default = E;
|
|
1937
|
+
var e = br(), t = "html", r = "head", n = "body", o = /<([a-zA-Z]+[0-9]?)/, i = function(v, g) {
|
|
1938
|
+
throw new Error("This browser does not support `document.implementation.createHTMLDocument`");
|
|
1939
|
+
}, p = function(v, g) {
|
|
1940
|
+
throw new Error("This browser does not support `DOMParser.prototype.parseFromString`");
|
|
1941
|
+
}, l = typeof window == "object" && window.DOMParser;
|
|
1942
|
+
if (typeof l == "function") {
|
|
1943
|
+
var c = new l(), s = "text/html";
|
|
1944
|
+
p = function(v, g) {
|
|
1945
|
+
return g && (v = "<".concat(g, ">").concat(v, "</").concat(g, ">")), c.parseFromString(v, s);
|
|
1946
|
+
}, i = p;
|
|
1947
|
+
}
|
|
1948
|
+
if (typeof document == "object" && document.implementation) {
|
|
1949
|
+
var f = document.implementation.createHTMLDocument();
|
|
1950
|
+
i = function(v, g) {
|
|
1951
|
+
if (g) {
|
|
1952
|
+
var b = f.documentElement.querySelector(g);
|
|
1953
|
+
return b && (b.innerHTML = v), f;
|
|
1954
|
+
}
|
|
1955
|
+
return f.documentElement.innerHTML = v, f;
|
|
1956
|
+
};
|
|
1957
|
+
}
|
|
1958
|
+
var m = typeof document == "object" && document.createElement("template"), T;
|
|
1959
|
+
m && m.content && (T = function(v) {
|
|
1960
|
+
return m.innerHTML = v, m.content.childNodes;
|
|
1961
|
+
});
|
|
1962
|
+
var _ = (
|
|
1963
|
+
/* istanbul ignore next */
|
|
1964
|
+
function() {
|
|
1965
|
+
return document.createDocumentFragment().childNodes;
|
|
1966
|
+
}
|
|
1967
|
+
);
|
|
1968
|
+
function E(v) {
|
|
1969
|
+
var g, b, x, S, C, a;
|
|
1970
|
+
v = (0, e.escapeSpecialCharacters)(v);
|
|
1971
|
+
var u = o.exec(v), d = (g = u?.[1]) === null || g === void 0 ? void 0 : g.toLowerCase();
|
|
1972
|
+
switch (d) {
|
|
1973
|
+
case t: {
|
|
1974
|
+
var A = p(v);
|
|
1975
|
+
if (!(0, e.hasOpenTag)(v, r)) {
|
|
1976
|
+
var R = A.querySelector(r);
|
|
1977
|
+
(b = R?.parentNode) === null || b === void 0 || b.removeChild(R);
|
|
1978
|
+
}
|
|
1979
|
+
if (!(0, e.hasOpenTag)(v, n)) {
|
|
1980
|
+
var R = A.querySelector(n);
|
|
1981
|
+
(x = R?.parentNode) === null || x === void 0 || x.removeChild(R);
|
|
1982
|
+
}
|
|
1983
|
+
return A.querySelectorAll(t);
|
|
1984
|
+
}
|
|
1985
|
+
case r:
|
|
1986
|
+
case n: {
|
|
1987
|
+
var M = i(v).querySelectorAll(d);
|
|
1988
|
+
return (0, e.hasOpenTag)(v, n) && (0, e.hasOpenTag)(v, r) ? (C = (S = M[0].parentNode) === null || S === void 0 ? void 0 : S.childNodes) !== null && C !== void 0 ? C : _() : M;
|
|
1989
|
+
}
|
|
1990
|
+
// low-level tag or text
|
|
1991
|
+
default: {
|
|
1992
|
+
if (T)
|
|
1993
|
+
return T(v);
|
|
1994
|
+
var R = i(v, n).querySelector(n);
|
|
1995
|
+
return (a = R?.childNodes) !== null && a !== void 0 ? a : _();
|
|
1996
|
+
}
|
|
1997
|
+
}
|
|
1998
|
+
}
|
|
1999
|
+
return ze;
|
|
2000
|
+
}
|
|
2001
|
+
var $t;
|
|
2002
|
+
function ua() {
|
|
2003
|
+
if ($t) return ge;
|
|
2004
|
+
$t = 1;
|
|
2005
|
+
var e = ge && ge.__importDefault || function(i) {
|
|
2006
|
+
return i && i.__esModule ? i : { default: i };
|
|
2007
|
+
};
|
|
2008
|
+
Object.defineProperty(ge, "__esModule", { value: !0 }), ge.default = o;
|
|
2009
|
+
var t = e(la()), r = br(), n = /<(![a-zA-Z\s]+)>/;
|
|
2010
|
+
function o(i) {
|
|
2011
|
+
if (typeof i != "string")
|
|
2012
|
+
throw new TypeError("First argument must be a string");
|
|
2013
|
+
if (!i)
|
|
2014
|
+
return [];
|
|
2015
|
+
var p = n.exec(i), l = p ? p[1] : void 0;
|
|
2016
|
+
return (0, r.formatDOM)((0, t.default)(i), null, l);
|
|
2017
|
+
}
|
|
2018
|
+
return ge;
|
|
2019
|
+
}
|
|
2020
|
+
var Ye = {}, re = {}, ke = {}, Ut;
|
|
2021
|
+
function fa() {
|
|
2022
|
+
if (Ut) return ke;
|
|
2023
|
+
Ut = 1;
|
|
2024
|
+
var e = 0;
|
|
2025
|
+
ke.SAME = e;
|
|
2026
|
+
var t = 1;
|
|
2027
|
+
return ke.CAMELCASE = t, ke.possibleStandardNames = {
|
|
2028
|
+
accept: 0,
|
|
2029
|
+
acceptCharset: 1,
|
|
2030
|
+
"accept-charset": "acceptCharset",
|
|
2031
|
+
accessKey: 1,
|
|
2032
|
+
action: 0,
|
|
2033
|
+
allowFullScreen: 1,
|
|
2034
|
+
alt: 0,
|
|
2035
|
+
as: 0,
|
|
2036
|
+
async: 0,
|
|
2037
|
+
autoCapitalize: 1,
|
|
2038
|
+
autoComplete: 1,
|
|
2039
|
+
autoCorrect: 1,
|
|
2040
|
+
autoFocus: 1,
|
|
2041
|
+
autoPlay: 1,
|
|
2042
|
+
autoSave: 1,
|
|
2043
|
+
capture: 0,
|
|
2044
|
+
cellPadding: 1,
|
|
2045
|
+
cellSpacing: 1,
|
|
2046
|
+
challenge: 0,
|
|
2047
|
+
charSet: 1,
|
|
2048
|
+
checked: 0,
|
|
2049
|
+
children: 0,
|
|
2050
|
+
cite: 0,
|
|
2051
|
+
class: "className",
|
|
2052
|
+
classID: 1,
|
|
2053
|
+
className: 1,
|
|
2054
|
+
cols: 0,
|
|
2055
|
+
colSpan: 1,
|
|
2056
|
+
content: 0,
|
|
2057
|
+
contentEditable: 1,
|
|
2058
|
+
contextMenu: 1,
|
|
2059
|
+
controls: 0,
|
|
2060
|
+
controlsList: 1,
|
|
2061
|
+
coords: 0,
|
|
2062
|
+
crossOrigin: 1,
|
|
2063
|
+
dangerouslySetInnerHTML: 1,
|
|
2064
|
+
data: 0,
|
|
2065
|
+
dateTime: 1,
|
|
2066
|
+
default: 0,
|
|
2067
|
+
defaultChecked: 1,
|
|
2068
|
+
defaultValue: 1,
|
|
2069
|
+
defer: 0,
|
|
2070
|
+
dir: 0,
|
|
2071
|
+
disabled: 0,
|
|
2072
|
+
disablePictureInPicture: 1,
|
|
2073
|
+
disableRemotePlayback: 1,
|
|
2074
|
+
download: 0,
|
|
2075
|
+
draggable: 0,
|
|
2076
|
+
encType: 1,
|
|
2077
|
+
enterKeyHint: 1,
|
|
2078
|
+
for: "htmlFor",
|
|
2079
|
+
form: 0,
|
|
2080
|
+
formMethod: 1,
|
|
2081
|
+
formAction: 1,
|
|
2082
|
+
formEncType: 1,
|
|
2083
|
+
formNoValidate: 1,
|
|
2084
|
+
formTarget: 1,
|
|
2085
|
+
frameBorder: 1,
|
|
2086
|
+
headers: 0,
|
|
2087
|
+
height: 0,
|
|
2088
|
+
hidden: 0,
|
|
2089
|
+
high: 0,
|
|
2090
|
+
href: 0,
|
|
2091
|
+
hrefLang: 1,
|
|
2092
|
+
htmlFor: 1,
|
|
2093
|
+
httpEquiv: 1,
|
|
2094
|
+
"http-equiv": "httpEquiv",
|
|
2095
|
+
icon: 0,
|
|
2096
|
+
id: 0,
|
|
2097
|
+
innerHTML: 1,
|
|
2098
|
+
inputMode: 1,
|
|
2099
|
+
integrity: 0,
|
|
2100
|
+
is: 0,
|
|
2101
|
+
itemID: 1,
|
|
2102
|
+
itemProp: 1,
|
|
2103
|
+
itemRef: 1,
|
|
2104
|
+
itemScope: 1,
|
|
2105
|
+
itemType: 1,
|
|
2106
|
+
keyParams: 1,
|
|
2107
|
+
keyType: 1,
|
|
2108
|
+
kind: 0,
|
|
2109
|
+
label: 0,
|
|
2110
|
+
lang: 0,
|
|
2111
|
+
list: 0,
|
|
2112
|
+
loop: 0,
|
|
2113
|
+
low: 0,
|
|
2114
|
+
manifest: 0,
|
|
2115
|
+
marginWidth: 1,
|
|
2116
|
+
marginHeight: 1,
|
|
2117
|
+
max: 0,
|
|
2118
|
+
maxLength: 1,
|
|
2119
|
+
media: 0,
|
|
2120
|
+
mediaGroup: 1,
|
|
2121
|
+
method: 0,
|
|
2122
|
+
min: 0,
|
|
2123
|
+
minLength: 1,
|
|
2124
|
+
multiple: 0,
|
|
2125
|
+
muted: 0,
|
|
2126
|
+
name: 0,
|
|
2127
|
+
noModule: 1,
|
|
2128
|
+
nonce: 0,
|
|
2129
|
+
noValidate: 1,
|
|
2130
|
+
open: 0,
|
|
2131
|
+
optimum: 0,
|
|
2132
|
+
pattern: 0,
|
|
2133
|
+
placeholder: 0,
|
|
2134
|
+
playsInline: 1,
|
|
2135
|
+
poster: 0,
|
|
2136
|
+
preload: 0,
|
|
2137
|
+
profile: 0,
|
|
2138
|
+
radioGroup: 1,
|
|
2139
|
+
readOnly: 1,
|
|
2140
|
+
referrerPolicy: 1,
|
|
2141
|
+
rel: 0,
|
|
2142
|
+
required: 0,
|
|
2143
|
+
reversed: 0,
|
|
2144
|
+
role: 0,
|
|
2145
|
+
rows: 0,
|
|
2146
|
+
rowSpan: 1,
|
|
2147
|
+
sandbox: 0,
|
|
2148
|
+
scope: 0,
|
|
2149
|
+
scoped: 0,
|
|
2150
|
+
scrolling: 0,
|
|
2151
|
+
seamless: 0,
|
|
2152
|
+
selected: 0,
|
|
2153
|
+
shape: 0,
|
|
2154
|
+
size: 0,
|
|
2155
|
+
sizes: 0,
|
|
2156
|
+
span: 0,
|
|
2157
|
+
spellCheck: 1,
|
|
2158
|
+
src: 0,
|
|
2159
|
+
srcDoc: 1,
|
|
2160
|
+
srcLang: 1,
|
|
2161
|
+
srcSet: 1,
|
|
2162
|
+
start: 0,
|
|
2163
|
+
step: 0,
|
|
2164
|
+
style: 0,
|
|
2165
|
+
summary: 0,
|
|
2166
|
+
tabIndex: 1,
|
|
2167
|
+
target: 0,
|
|
2168
|
+
title: 0,
|
|
2169
|
+
type: 0,
|
|
2170
|
+
useMap: 1,
|
|
2171
|
+
value: 0,
|
|
2172
|
+
width: 0,
|
|
2173
|
+
wmode: 0,
|
|
2174
|
+
wrap: 0,
|
|
2175
|
+
about: 0,
|
|
2176
|
+
accentHeight: 1,
|
|
2177
|
+
"accent-height": "accentHeight",
|
|
2178
|
+
accumulate: 0,
|
|
2179
|
+
additive: 0,
|
|
2180
|
+
alignmentBaseline: 1,
|
|
2181
|
+
"alignment-baseline": "alignmentBaseline",
|
|
2182
|
+
allowReorder: 1,
|
|
2183
|
+
alphabetic: 0,
|
|
2184
|
+
amplitude: 0,
|
|
2185
|
+
arabicForm: 1,
|
|
2186
|
+
"arabic-form": "arabicForm",
|
|
2187
|
+
ascent: 0,
|
|
2188
|
+
attributeName: 1,
|
|
2189
|
+
attributeType: 1,
|
|
2190
|
+
autoReverse: 1,
|
|
2191
|
+
azimuth: 0,
|
|
2192
|
+
baseFrequency: 1,
|
|
2193
|
+
baselineShift: 1,
|
|
2194
|
+
"baseline-shift": "baselineShift",
|
|
2195
|
+
baseProfile: 1,
|
|
2196
|
+
bbox: 0,
|
|
2197
|
+
begin: 0,
|
|
2198
|
+
bias: 0,
|
|
2199
|
+
by: 0,
|
|
2200
|
+
calcMode: 1,
|
|
2201
|
+
capHeight: 1,
|
|
2202
|
+
"cap-height": "capHeight",
|
|
2203
|
+
clip: 0,
|
|
2204
|
+
clipPath: 1,
|
|
2205
|
+
"clip-path": "clipPath",
|
|
2206
|
+
clipPathUnits: 1,
|
|
2207
|
+
clipRule: 1,
|
|
2208
|
+
"clip-rule": "clipRule",
|
|
2209
|
+
color: 0,
|
|
2210
|
+
colorInterpolation: 1,
|
|
2211
|
+
"color-interpolation": "colorInterpolation",
|
|
2212
|
+
colorInterpolationFilters: 1,
|
|
2213
|
+
"color-interpolation-filters": "colorInterpolationFilters",
|
|
2214
|
+
colorProfile: 1,
|
|
2215
|
+
"color-profile": "colorProfile",
|
|
2216
|
+
colorRendering: 1,
|
|
2217
|
+
"color-rendering": "colorRendering",
|
|
2218
|
+
contentScriptType: 1,
|
|
2219
|
+
contentStyleType: 1,
|
|
2220
|
+
cursor: 0,
|
|
2221
|
+
cx: 0,
|
|
2222
|
+
cy: 0,
|
|
2223
|
+
d: 0,
|
|
2224
|
+
datatype: 0,
|
|
2225
|
+
decelerate: 0,
|
|
2226
|
+
descent: 0,
|
|
2227
|
+
diffuseConstant: 1,
|
|
2228
|
+
direction: 0,
|
|
2229
|
+
display: 0,
|
|
2230
|
+
divisor: 0,
|
|
2231
|
+
dominantBaseline: 1,
|
|
2232
|
+
"dominant-baseline": "dominantBaseline",
|
|
2233
|
+
dur: 0,
|
|
2234
|
+
dx: 0,
|
|
2235
|
+
dy: 0,
|
|
2236
|
+
edgeMode: 1,
|
|
2237
|
+
elevation: 0,
|
|
2238
|
+
enableBackground: 1,
|
|
2239
|
+
"enable-background": "enableBackground",
|
|
2240
|
+
end: 0,
|
|
2241
|
+
exponent: 0,
|
|
2242
|
+
externalResourcesRequired: 1,
|
|
2243
|
+
fill: 0,
|
|
2244
|
+
fillOpacity: 1,
|
|
2245
|
+
"fill-opacity": "fillOpacity",
|
|
2246
|
+
fillRule: 1,
|
|
2247
|
+
"fill-rule": "fillRule",
|
|
2248
|
+
filter: 0,
|
|
2249
|
+
filterRes: 1,
|
|
2250
|
+
filterUnits: 1,
|
|
2251
|
+
floodOpacity: 1,
|
|
2252
|
+
"flood-opacity": "floodOpacity",
|
|
2253
|
+
floodColor: 1,
|
|
2254
|
+
"flood-color": "floodColor",
|
|
2255
|
+
focusable: 0,
|
|
2256
|
+
fontFamily: 1,
|
|
2257
|
+
"font-family": "fontFamily",
|
|
2258
|
+
fontSize: 1,
|
|
2259
|
+
"font-size": "fontSize",
|
|
2260
|
+
fontSizeAdjust: 1,
|
|
2261
|
+
"font-size-adjust": "fontSizeAdjust",
|
|
2262
|
+
fontStretch: 1,
|
|
2263
|
+
"font-stretch": "fontStretch",
|
|
2264
|
+
fontStyle: 1,
|
|
2265
|
+
"font-style": "fontStyle",
|
|
2266
|
+
fontVariant: 1,
|
|
2267
|
+
"font-variant": "fontVariant",
|
|
2268
|
+
fontWeight: 1,
|
|
2269
|
+
"font-weight": "fontWeight",
|
|
2270
|
+
format: 0,
|
|
2271
|
+
from: 0,
|
|
2272
|
+
fx: 0,
|
|
2273
|
+
fy: 0,
|
|
2274
|
+
g1: 0,
|
|
2275
|
+
g2: 0,
|
|
2276
|
+
glyphName: 1,
|
|
2277
|
+
"glyph-name": "glyphName",
|
|
2278
|
+
glyphOrientationHorizontal: 1,
|
|
2279
|
+
"glyph-orientation-horizontal": "glyphOrientationHorizontal",
|
|
2280
|
+
glyphOrientationVertical: 1,
|
|
2281
|
+
"glyph-orientation-vertical": "glyphOrientationVertical",
|
|
2282
|
+
glyphRef: 1,
|
|
2283
|
+
gradientTransform: 1,
|
|
2284
|
+
gradientUnits: 1,
|
|
2285
|
+
hanging: 0,
|
|
2286
|
+
horizAdvX: 1,
|
|
2287
|
+
"horiz-adv-x": "horizAdvX",
|
|
2288
|
+
horizOriginX: 1,
|
|
2289
|
+
"horiz-origin-x": "horizOriginX",
|
|
2290
|
+
ideographic: 0,
|
|
2291
|
+
imageRendering: 1,
|
|
2292
|
+
"image-rendering": "imageRendering",
|
|
2293
|
+
in2: 0,
|
|
2294
|
+
in: 0,
|
|
2295
|
+
inlist: 0,
|
|
2296
|
+
intercept: 0,
|
|
2297
|
+
k1: 0,
|
|
2298
|
+
k2: 0,
|
|
2299
|
+
k3: 0,
|
|
2300
|
+
k4: 0,
|
|
2301
|
+
k: 0,
|
|
2302
|
+
kernelMatrix: 1,
|
|
2303
|
+
kernelUnitLength: 1,
|
|
2304
|
+
kerning: 0,
|
|
2305
|
+
keyPoints: 1,
|
|
2306
|
+
keySplines: 1,
|
|
2307
|
+
keyTimes: 1,
|
|
2308
|
+
lengthAdjust: 1,
|
|
2309
|
+
letterSpacing: 1,
|
|
2310
|
+
"letter-spacing": "letterSpacing",
|
|
2311
|
+
lightingColor: 1,
|
|
2312
|
+
"lighting-color": "lightingColor",
|
|
2313
|
+
limitingConeAngle: 1,
|
|
2314
|
+
local: 0,
|
|
2315
|
+
markerEnd: 1,
|
|
2316
|
+
"marker-end": "markerEnd",
|
|
2317
|
+
markerHeight: 1,
|
|
2318
|
+
markerMid: 1,
|
|
2319
|
+
"marker-mid": "markerMid",
|
|
2320
|
+
markerStart: 1,
|
|
2321
|
+
"marker-start": "markerStart",
|
|
2322
|
+
markerUnits: 1,
|
|
2323
|
+
markerWidth: 1,
|
|
2324
|
+
mask: 0,
|
|
2325
|
+
maskContentUnits: 1,
|
|
2326
|
+
maskUnits: 1,
|
|
2327
|
+
mathematical: 0,
|
|
2328
|
+
mode: 0,
|
|
2329
|
+
numOctaves: 1,
|
|
2330
|
+
offset: 0,
|
|
2331
|
+
opacity: 0,
|
|
2332
|
+
operator: 0,
|
|
2333
|
+
order: 0,
|
|
2334
|
+
orient: 0,
|
|
2335
|
+
orientation: 0,
|
|
2336
|
+
origin: 0,
|
|
2337
|
+
overflow: 0,
|
|
2338
|
+
overlinePosition: 1,
|
|
2339
|
+
"overline-position": "overlinePosition",
|
|
2340
|
+
overlineThickness: 1,
|
|
2341
|
+
"overline-thickness": "overlineThickness",
|
|
2342
|
+
paintOrder: 1,
|
|
2343
|
+
"paint-order": "paintOrder",
|
|
2344
|
+
panose1: 0,
|
|
2345
|
+
"panose-1": "panose1",
|
|
2346
|
+
pathLength: 1,
|
|
2347
|
+
patternContentUnits: 1,
|
|
2348
|
+
patternTransform: 1,
|
|
2349
|
+
patternUnits: 1,
|
|
2350
|
+
pointerEvents: 1,
|
|
2351
|
+
"pointer-events": "pointerEvents",
|
|
2352
|
+
points: 0,
|
|
2353
|
+
pointsAtX: 1,
|
|
2354
|
+
pointsAtY: 1,
|
|
2355
|
+
pointsAtZ: 1,
|
|
2356
|
+
prefix: 0,
|
|
2357
|
+
preserveAlpha: 1,
|
|
2358
|
+
preserveAspectRatio: 1,
|
|
2359
|
+
primitiveUnits: 1,
|
|
2360
|
+
property: 0,
|
|
2361
|
+
r: 0,
|
|
2362
|
+
radius: 0,
|
|
2363
|
+
refX: 1,
|
|
2364
|
+
refY: 1,
|
|
2365
|
+
renderingIntent: 1,
|
|
2366
|
+
"rendering-intent": "renderingIntent",
|
|
2367
|
+
repeatCount: 1,
|
|
2368
|
+
repeatDur: 1,
|
|
2369
|
+
requiredExtensions: 1,
|
|
2370
|
+
requiredFeatures: 1,
|
|
2371
|
+
resource: 0,
|
|
2372
|
+
restart: 0,
|
|
2373
|
+
result: 0,
|
|
2374
|
+
results: 0,
|
|
2375
|
+
rotate: 0,
|
|
2376
|
+
rx: 0,
|
|
2377
|
+
ry: 0,
|
|
2378
|
+
scale: 0,
|
|
2379
|
+
security: 0,
|
|
2380
|
+
seed: 0,
|
|
2381
|
+
shapeRendering: 1,
|
|
2382
|
+
"shape-rendering": "shapeRendering",
|
|
2383
|
+
slope: 0,
|
|
2384
|
+
spacing: 0,
|
|
2385
|
+
specularConstant: 1,
|
|
2386
|
+
specularExponent: 1,
|
|
2387
|
+
speed: 0,
|
|
2388
|
+
spreadMethod: 1,
|
|
2389
|
+
startOffset: 1,
|
|
2390
|
+
stdDeviation: 1,
|
|
2391
|
+
stemh: 0,
|
|
2392
|
+
stemv: 0,
|
|
2393
|
+
stitchTiles: 1,
|
|
2394
|
+
stopColor: 1,
|
|
2395
|
+
"stop-color": "stopColor",
|
|
2396
|
+
stopOpacity: 1,
|
|
2397
|
+
"stop-opacity": "stopOpacity",
|
|
2398
|
+
strikethroughPosition: 1,
|
|
2399
|
+
"strikethrough-position": "strikethroughPosition",
|
|
2400
|
+
strikethroughThickness: 1,
|
|
2401
|
+
"strikethrough-thickness": "strikethroughThickness",
|
|
2402
|
+
string: 0,
|
|
2403
|
+
stroke: 0,
|
|
2404
|
+
strokeDasharray: 1,
|
|
2405
|
+
"stroke-dasharray": "strokeDasharray",
|
|
2406
|
+
strokeDashoffset: 1,
|
|
2407
|
+
"stroke-dashoffset": "strokeDashoffset",
|
|
2408
|
+
strokeLinecap: 1,
|
|
2409
|
+
"stroke-linecap": "strokeLinecap",
|
|
2410
|
+
strokeLinejoin: 1,
|
|
2411
|
+
"stroke-linejoin": "strokeLinejoin",
|
|
2412
|
+
strokeMiterlimit: 1,
|
|
2413
|
+
"stroke-miterlimit": "strokeMiterlimit",
|
|
2414
|
+
strokeWidth: 1,
|
|
2415
|
+
"stroke-width": "strokeWidth",
|
|
2416
|
+
strokeOpacity: 1,
|
|
2417
|
+
"stroke-opacity": "strokeOpacity",
|
|
2418
|
+
suppressContentEditableWarning: 1,
|
|
2419
|
+
suppressHydrationWarning: 1,
|
|
2420
|
+
surfaceScale: 1,
|
|
2421
|
+
systemLanguage: 1,
|
|
2422
|
+
tableValues: 1,
|
|
2423
|
+
targetX: 1,
|
|
2424
|
+
targetY: 1,
|
|
2425
|
+
textAnchor: 1,
|
|
2426
|
+
"text-anchor": "textAnchor",
|
|
2427
|
+
textDecoration: 1,
|
|
2428
|
+
"text-decoration": "textDecoration",
|
|
2429
|
+
textLength: 1,
|
|
2430
|
+
textRendering: 1,
|
|
2431
|
+
"text-rendering": "textRendering",
|
|
2432
|
+
to: 0,
|
|
2433
|
+
transform: 0,
|
|
2434
|
+
typeof: 0,
|
|
2435
|
+
u1: 0,
|
|
2436
|
+
u2: 0,
|
|
2437
|
+
underlinePosition: 1,
|
|
2438
|
+
"underline-position": "underlinePosition",
|
|
2439
|
+
underlineThickness: 1,
|
|
2440
|
+
"underline-thickness": "underlineThickness",
|
|
2441
|
+
unicode: 0,
|
|
2442
|
+
unicodeBidi: 1,
|
|
2443
|
+
"unicode-bidi": "unicodeBidi",
|
|
2444
|
+
unicodeRange: 1,
|
|
2445
|
+
"unicode-range": "unicodeRange",
|
|
2446
|
+
unitsPerEm: 1,
|
|
2447
|
+
"units-per-em": "unitsPerEm",
|
|
2448
|
+
unselectable: 0,
|
|
2449
|
+
vAlphabetic: 1,
|
|
2450
|
+
"v-alphabetic": "vAlphabetic",
|
|
2451
|
+
values: 0,
|
|
2452
|
+
vectorEffect: 1,
|
|
2453
|
+
"vector-effect": "vectorEffect",
|
|
2454
|
+
version: 0,
|
|
2455
|
+
vertAdvY: 1,
|
|
2456
|
+
"vert-adv-y": "vertAdvY",
|
|
2457
|
+
vertOriginX: 1,
|
|
2458
|
+
"vert-origin-x": "vertOriginX",
|
|
2459
|
+
vertOriginY: 1,
|
|
2460
|
+
"vert-origin-y": "vertOriginY",
|
|
2461
|
+
vHanging: 1,
|
|
2462
|
+
"v-hanging": "vHanging",
|
|
2463
|
+
vIdeographic: 1,
|
|
2464
|
+
"v-ideographic": "vIdeographic",
|
|
2465
|
+
viewBox: 1,
|
|
2466
|
+
viewTarget: 1,
|
|
2467
|
+
visibility: 0,
|
|
2468
|
+
vMathematical: 1,
|
|
2469
|
+
"v-mathematical": "vMathematical",
|
|
2470
|
+
vocab: 0,
|
|
2471
|
+
widths: 0,
|
|
2472
|
+
wordSpacing: 1,
|
|
2473
|
+
"word-spacing": "wordSpacing",
|
|
2474
|
+
writingMode: 1,
|
|
2475
|
+
"writing-mode": "writingMode",
|
|
2476
|
+
x1: 0,
|
|
2477
|
+
x2: 0,
|
|
2478
|
+
x: 0,
|
|
2479
|
+
xChannelSelector: 1,
|
|
2480
|
+
xHeight: 1,
|
|
2481
|
+
"x-height": "xHeight",
|
|
2482
|
+
xlinkActuate: 1,
|
|
2483
|
+
"xlink:actuate": "xlinkActuate",
|
|
2484
|
+
xlinkArcrole: 1,
|
|
2485
|
+
"xlink:arcrole": "xlinkArcrole",
|
|
2486
|
+
xlinkHref: 1,
|
|
2487
|
+
"xlink:href": "xlinkHref",
|
|
2488
|
+
xlinkRole: 1,
|
|
2489
|
+
"xlink:role": "xlinkRole",
|
|
2490
|
+
xlinkShow: 1,
|
|
2491
|
+
"xlink:show": "xlinkShow",
|
|
2492
|
+
xlinkTitle: 1,
|
|
2493
|
+
"xlink:title": "xlinkTitle",
|
|
2494
|
+
xlinkType: 1,
|
|
2495
|
+
"xlink:type": "xlinkType",
|
|
2496
|
+
xmlBase: 1,
|
|
2497
|
+
"xml:base": "xmlBase",
|
|
2498
|
+
xmlLang: 1,
|
|
2499
|
+
"xml:lang": "xmlLang",
|
|
2500
|
+
xmlns: 0,
|
|
2501
|
+
"xml:space": "xmlSpace",
|
|
2502
|
+
xmlnsXlink: 1,
|
|
2503
|
+
"xmlns:xlink": "xmlnsXlink",
|
|
2504
|
+
xmlSpace: 1,
|
|
2505
|
+
y1: 0,
|
|
2506
|
+
y2: 0,
|
|
2507
|
+
y: 0,
|
|
2508
|
+
yChannelSelector: 1,
|
|
2509
|
+
z: 0,
|
|
2510
|
+
zoomAndPan: 1
|
|
2511
|
+
}, ke;
|
|
2512
|
+
}
|
|
2513
|
+
var Bt;
|
|
2514
|
+
function da() {
|
|
2515
|
+
if (Bt) return re;
|
|
2516
|
+
Bt = 1;
|
|
2517
|
+
const e = 0, t = 1, r = 2, n = 3, o = 4, i = 5, p = 6;
|
|
2518
|
+
function l(a) {
|
|
2519
|
+
return s.hasOwnProperty(a) ? s[a] : null;
|
|
2520
|
+
}
|
|
2521
|
+
function c(a, u, d, A, R, M, V) {
|
|
2522
|
+
this.acceptsBooleans = u === r || u === n || u === o, this.attributeName = A, this.attributeNamespace = R, this.mustUseProperty = d, this.propertyName = a, this.type = u, this.sanitizeURL = M, this.removeEmptyString = V;
|
|
2523
|
+
}
|
|
2524
|
+
const s = {};
|
|
2525
|
+
[
|
|
2526
|
+
"children",
|
|
2527
|
+
"dangerouslySetInnerHTML",
|
|
2528
|
+
// TODO: This prevents the assignment of defaultValue to regular
|
|
2529
|
+
// elements (not just inputs). Now that ReactDOMInput assigns to the
|
|
2530
|
+
// defaultValue property -- do we need this?
|
|
2531
|
+
"defaultValue",
|
|
2532
|
+
"defaultChecked",
|
|
2533
|
+
"innerHTML",
|
|
2534
|
+
"suppressContentEditableWarning",
|
|
2535
|
+
"suppressHydrationWarning",
|
|
2536
|
+
"style"
|
|
2537
|
+
].forEach((a) => {
|
|
2538
|
+
s[a] = new c(
|
|
2539
|
+
a,
|
|
2540
|
+
e,
|
|
2541
|
+
!1,
|
|
2542
|
+
// mustUseProperty
|
|
2543
|
+
a,
|
|
2544
|
+
// attributeName
|
|
2545
|
+
null,
|
|
2546
|
+
// attributeNamespace
|
|
2547
|
+
!1,
|
|
2548
|
+
// sanitizeURL
|
|
2549
|
+
!1
|
|
2550
|
+
// removeEmptyString
|
|
2551
|
+
);
|
|
2552
|
+
}), [
|
|
2553
|
+
["acceptCharset", "accept-charset"],
|
|
2554
|
+
["className", "class"],
|
|
2555
|
+
["htmlFor", "for"],
|
|
2556
|
+
["httpEquiv", "http-equiv"]
|
|
2557
|
+
].forEach(([a, u]) => {
|
|
2558
|
+
s[a] = new c(
|
|
2559
|
+
a,
|
|
2560
|
+
t,
|
|
2561
|
+
!1,
|
|
2562
|
+
// mustUseProperty
|
|
2563
|
+
u,
|
|
2564
|
+
// attributeName
|
|
2565
|
+
null,
|
|
2566
|
+
// attributeNamespace
|
|
2567
|
+
!1,
|
|
2568
|
+
// sanitizeURL
|
|
2569
|
+
!1
|
|
2570
|
+
// removeEmptyString
|
|
2571
|
+
);
|
|
2572
|
+
}), ["contentEditable", "draggable", "spellCheck", "value"].forEach((a) => {
|
|
2573
|
+
s[a] = new c(
|
|
2574
|
+
a,
|
|
2575
|
+
r,
|
|
2576
|
+
!1,
|
|
2577
|
+
// mustUseProperty
|
|
2578
|
+
a.toLowerCase(),
|
|
2579
|
+
// attributeName
|
|
2580
|
+
null,
|
|
2581
|
+
// attributeNamespace
|
|
2582
|
+
!1,
|
|
2583
|
+
// sanitizeURL
|
|
2584
|
+
!1
|
|
2585
|
+
// removeEmptyString
|
|
2586
|
+
);
|
|
2587
|
+
}), [
|
|
2588
|
+
"autoReverse",
|
|
2589
|
+
"externalResourcesRequired",
|
|
2590
|
+
"focusable",
|
|
2591
|
+
"preserveAlpha"
|
|
2592
|
+
].forEach((a) => {
|
|
2593
|
+
s[a] = new c(
|
|
2594
|
+
a,
|
|
2595
|
+
r,
|
|
2596
|
+
!1,
|
|
2597
|
+
// mustUseProperty
|
|
2598
|
+
a,
|
|
2599
|
+
// attributeName
|
|
2600
|
+
null,
|
|
2601
|
+
// attributeNamespace
|
|
2602
|
+
!1,
|
|
2603
|
+
// sanitizeURL
|
|
2604
|
+
!1
|
|
2605
|
+
// removeEmptyString
|
|
2606
|
+
);
|
|
2607
|
+
}), [
|
|
2608
|
+
"allowFullScreen",
|
|
2609
|
+
"async",
|
|
2610
|
+
// Note: there is a special case that prevents it from being written to the DOM
|
|
2611
|
+
// on the client side because the browsers are inconsistent. Instead we call focus().
|
|
2612
|
+
"autoFocus",
|
|
2613
|
+
"autoPlay",
|
|
2614
|
+
"controls",
|
|
2615
|
+
"default",
|
|
2616
|
+
"defer",
|
|
2617
|
+
"disabled",
|
|
2618
|
+
"disablePictureInPicture",
|
|
2619
|
+
"disableRemotePlayback",
|
|
2620
|
+
"formNoValidate",
|
|
2621
|
+
"hidden",
|
|
2622
|
+
"loop",
|
|
2623
|
+
"noModule",
|
|
2624
|
+
"noValidate",
|
|
2625
|
+
"open",
|
|
2626
|
+
"playsInline",
|
|
2627
|
+
"readOnly",
|
|
2628
|
+
"required",
|
|
2629
|
+
"reversed",
|
|
2630
|
+
"scoped",
|
|
2631
|
+
"seamless",
|
|
2632
|
+
// Microdata
|
|
2633
|
+
"itemScope"
|
|
2634
|
+
].forEach((a) => {
|
|
2635
|
+
s[a] = new c(
|
|
2636
|
+
a,
|
|
2637
|
+
n,
|
|
2638
|
+
!1,
|
|
2639
|
+
// mustUseProperty
|
|
2640
|
+
a.toLowerCase(),
|
|
2641
|
+
// attributeName
|
|
2642
|
+
null,
|
|
2643
|
+
// attributeNamespace
|
|
2644
|
+
!1,
|
|
2645
|
+
// sanitizeURL
|
|
2646
|
+
!1
|
|
2647
|
+
// removeEmptyString
|
|
2648
|
+
);
|
|
2649
|
+
}), [
|
|
2650
|
+
"checked",
|
|
2651
|
+
// Note: `option.selected` is not updated if `select.multiple` is
|
|
2652
|
+
// disabled with `removeAttribute`. We have special logic for handling this.
|
|
2653
|
+
"multiple",
|
|
2654
|
+
"muted",
|
|
2655
|
+
"selected"
|
|
2656
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
2657
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
2658
|
+
// instead in the assignment below.
|
|
2659
|
+
].forEach((a) => {
|
|
2660
|
+
s[a] = new c(
|
|
2661
|
+
a,
|
|
2662
|
+
n,
|
|
2663
|
+
!0,
|
|
2664
|
+
// mustUseProperty
|
|
2665
|
+
a,
|
|
2666
|
+
// attributeName
|
|
2667
|
+
null,
|
|
2668
|
+
// attributeNamespace
|
|
2669
|
+
!1,
|
|
2670
|
+
// sanitizeURL
|
|
2671
|
+
!1
|
|
2672
|
+
// removeEmptyString
|
|
2673
|
+
);
|
|
2674
|
+
}), [
|
|
2675
|
+
"capture",
|
|
2676
|
+
"download"
|
|
2677
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
2678
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
2679
|
+
// instead in the assignment below.
|
|
2680
|
+
].forEach((a) => {
|
|
2681
|
+
s[a] = new c(
|
|
2682
|
+
a,
|
|
2683
|
+
o,
|
|
2684
|
+
!1,
|
|
2685
|
+
// mustUseProperty
|
|
2686
|
+
a,
|
|
2687
|
+
// attributeName
|
|
2688
|
+
null,
|
|
2689
|
+
// attributeNamespace
|
|
2690
|
+
!1,
|
|
2691
|
+
// sanitizeURL
|
|
2692
|
+
!1
|
|
2693
|
+
// removeEmptyString
|
|
2694
|
+
);
|
|
2695
|
+
}), [
|
|
2696
|
+
"cols",
|
|
2697
|
+
"rows",
|
|
2698
|
+
"size",
|
|
2699
|
+
"span"
|
|
2700
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
2701
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
2702
|
+
// instead in the assignment below.
|
|
2703
|
+
].forEach((a) => {
|
|
2704
|
+
s[a] = new c(
|
|
2705
|
+
a,
|
|
2706
|
+
p,
|
|
2707
|
+
!1,
|
|
2708
|
+
// mustUseProperty
|
|
2709
|
+
a,
|
|
2710
|
+
// attributeName
|
|
2711
|
+
null,
|
|
2712
|
+
// attributeNamespace
|
|
2713
|
+
!1,
|
|
2714
|
+
// sanitizeURL
|
|
2715
|
+
!1
|
|
2716
|
+
// removeEmptyString
|
|
2717
|
+
);
|
|
2718
|
+
}), ["rowSpan", "start"].forEach((a) => {
|
|
2719
|
+
s[a] = new c(
|
|
2720
|
+
a,
|
|
2721
|
+
i,
|
|
2722
|
+
!1,
|
|
2723
|
+
// mustUseProperty
|
|
2724
|
+
a.toLowerCase(),
|
|
2725
|
+
// attributeName
|
|
2726
|
+
null,
|
|
2727
|
+
// attributeNamespace
|
|
2728
|
+
!1,
|
|
2729
|
+
// sanitizeURL
|
|
2730
|
+
!1
|
|
2731
|
+
// removeEmptyString
|
|
2732
|
+
);
|
|
2733
|
+
});
|
|
2734
|
+
const m = /[\-\:]([a-z])/g, T = (a) => a[1].toUpperCase();
|
|
2735
|
+
[
|
|
2736
|
+
"accent-height",
|
|
2737
|
+
"alignment-baseline",
|
|
2738
|
+
"arabic-form",
|
|
2739
|
+
"baseline-shift",
|
|
2740
|
+
"cap-height",
|
|
2741
|
+
"clip-path",
|
|
2742
|
+
"clip-rule",
|
|
2743
|
+
"color-interpolation",
|
|
2744
|
+
"color-interpolation-filters",
|
|
2745
|
+
"color-profile",
|
|
2746
|
+
"color-rendering",
|
|
2747
|
+
"dominant-baseline",
|
|
2748
|
+
"enable-background",
|
|
2749
|
+
"fill-opacity",
|
|
2750
|
+
"fill-rule",
|
|
2751
|
+
"flood-color",
|
|
2752
|
+
"flood-opacity",
|
|
2753
|
+
"font-family",
|
|
2754
|
+
"font-size",
|
|
2755
|
+
"font-size-adjust",
|
|
2756
|
+
"font-stretch",
|
|
2757
|
+
"font-style",
|
|
2758
|
+
"font-variant",
|
|
2759
|
+
"font-weight",
|
|
2760
|
+
"glyph-name",
|
|
2761
|
+
"glyph-orientation-horizontal",
|
|
2762
|
+
"glyph-orientation-vertical",
|
|
2763
|
+
"horiz-adv-x",
|
|
2764
|
+
"horiz-origin-x",
|
|
2765
|
+
"image-rendering",
|
|
2766
|
+
"letter-spacing",
|
|
2767
|
+
"lighting-color",
|
|
2768
|
+
"marker-end",
|
|
2769
|
+
"marker-mid",
|
|
2770
|
+
"marker-start",
|
|
2771
|
+
"overline-position",
|
|
2772
|
+
"overline-thickness",
|
|
2773
|
+
"paint-order",
|
|
2774
|
+
"panose-1",
|
|
2775
|
+
"pointer-events",
|
|
2776
|
+
"rendering-intent",
|
|
2777
|
+
"shape-rendering",
|
|
2778
|
+
"stop-color",
|
|
2779
|
+
"stop-opacity",
|
|
2780
|
+
"strikethrough-position",
|
|
2781
|
+
"strikethrough-thickness",
|
|
2782
|
+
"stroke-dasharray",
|
|
2783
|
+
"stroke-dashoffset",
|
|
2784
|
+
"stroke-linecap",
|
|
2785
|
+
"stroke-linejoin",
|
|
2786
|
+
"stroke-miterlimit",
|
|
2787
|
+
"stroke-opacity",
|
|
2788
|
+
"stroke-width",
|
|
2789
|
+
"text-anchor",
|
|
2790
|
+
"text-decoration",
|
|
2791
|
+
"text-rendering",
|
|
2792
|
+
"underline-position",
|
|
2793
|
+
"underline-thickness",
|
|
2794
|
+
"unicode-bidi",
|
|
2795
|
+
"unicode-range",
|
|
2796
|
+
"units-per-em",
|
|
2797
|
+
"v-alphabetic",
|
|
2798
|
+
"v-hanging",
|
|
2799
|
+
"v-ideographic",
|
|
2800
|
+
"v-mathematical",
|
|
2801
|
+
"vector-effect",
|
|
2802
|
+
"vert-adv-y",
|
|
2803
|
+
"vert-origin-x",
|
|
2804
|
+
"vert-origin-y",
|
|
2805
|
+
"word-spacing",
|
|
2806
|
+
"writing-mode",
|
|
2807
|
+
"xmlns:xlink",
|
|
2808
|
+
"x-height"
|
|
2809
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
2810
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
2811
|
+
// instead in the assignment below.
|
|
2812
|
+
].forEach((a) => {
|
|
2813
|
+
const u = a.replace(m, T);
|
|
2814
|
+
s[u] = new c(
|
|
2815
|
+
u,
|
|
2816
|
+
t,
|
|
2817
|
+
!1,
|
|
2818
|
+
// mustUseProperty
|
|
2819
|
+
a,
|
|
2820
|
+
null,
|
|
2821
|
+
// attributeNamespace
|
|
2822
|
+
!1,
|
|
2823
|
+
// sanitizeURL
|
|
2824
|
+
!1
|
|
2825
|
+
// removeEmptyString
|
|
2826
|
+
);
|
|
2827
|
+
}), [
|
|
2828
|
+
"xlink:actuate",
|
|
2829
|
+
"xlink:arcrole",
|
|
2830
|
+
"xlink:role",
|
|
2831
|
+
"xlink:show",
|
|
2832
|
+
"xlink:title",
|
|
2833
|
+
"xlink:type"
|
|
2834
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
2835
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
2836
|
+
// instead in the assignment below.
|
|
2837
|
+
].forEach((a) => {
|
|
2838
|
+
const u = a.replace(m, T);
|
|
2839
|
+
s[u] = new c(
|
|
2840
|
+
u,
|
|
2841
|
+
t,
|
|
2842
|
+
!1,
|
|
2843
|
+
// mustUseProperty
|
|
2844
|
+
a,
|
|
2845
|
+
"http://www.w3.org/1999/xlink",
|
|
2846
|
+
!1,
|
|
2847
|
+
// sanitizeURL
|
|
2848
|
+
!1
|
|
2849
|
+
// removeEmptyString
|
|
2850
|
+
);
|
|
2851
|
+
}), [
|
|
2852
|
+
"xml:base",
|
|
2853
|
+
"xml:lang",
|
|
2854
|
+
"xml:space"
|
|
2855
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
2856
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
2857
|
+
// instead in the assignment below.
|
|
2858
|
+
].forEach((a) => {
|
|
2859
|
+
const u = a.replace(m, T);
|
|
2860
|
+
s[u] = new c(
|
|
2861
|
+
u,
|
|
2862
|
+
t,
|
|
2863
|
+
!1,
|
|
2864
|
+
// mustUseProperty
|
|
2865
|
+
a,
|
|
2866
|
+
"http://www.w3.org/XML/1998/namespace",
|
|
2867
|
+
!1,
|
|
2868
|
+
// sanitizeURL
|
|
2869
|
+
!1
|
|
2870
|
+
// removeEmptyString
|
|
2871
|
+
);
|
|
2872
|
+
}), ["tabIndex", "crossOrigin"].forEach((a) => {
|
|
2873
|
+
s[a] = new c(
|
|
2874
|
+
a,
|
|
2875
|
+
t,
|
|
2876
|
+
!1,
|
|
2877
|
+
// mustUseProperty
|
|
2878
|
+
a.toLowerCase(),
|
|
2879
|
+
// attributeName
|
|
2880
|
+
null,
|
|
2881
|
+
// attributeNamespace
|
|
2882
|
+
!1,
|
|
2883
|
+
// sanitizeURL
|
|
2884
|
+
!1
|
|
2885
|
+
// removeEmptyString
|
|
2886
|
+
);
|
|
2887
|
+
});
|
|
2888
|
+
const _ = "xlinkHref";
|
|
2889
|
+
s[_] = new c(
|
|
2890
|
+
"xlinkHref",
|
|
2891
|
+
t,
|
|
2892
|
+
!1,
|
|
2893
|
+
// mustUseProperty
|
|
2894
|
+
"xlink:href",
|
|
2895
|
+
"http://www.w3.org/1999/xlink",
|
|
2896
|
+
!0,
|
|
2897
|
+
// sanitizeURL
|
|
2898
|
+
!1
|
|
2899
|
+
// removeEmptyString
|
|
2900
|
+
), ["src", "href", "action", "formAction"].forEach((a) => {
|
|
2901
|
+
s[a] = new c(
|
|
2902
|
+
a,
|
|
2903
|
+
t,
|
|
2904
|
+
!1,
|
|
2905
|
+
// mustUseProperty
|
|
2906
|
+
a.toLowerCase(),
|
|
2907
|
+
// attributeName
|
|
2908
|
+
null,
|
|
2909
|
+
// attributeNamespace
|
|
2910
|
+
!0,
|
|
2911
|
+
// sanitizeURL
|
|
2912
|
+
!0
|
|
2913
|
+
// removeEmptyString
|
|
2914
|
+
);
|
|
2915
|
+
});
|
|
2916
|
+
const {
|
|
2917
|
+
CAMELCASE: E,
|
|
2918
|
+
SAME: v,
|
|
2919
|
+
possibleStandardNames: g
|
|
2920
|
+
} = fa(), x = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD" + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", S = RegExp.prototype.test.bind(
|
|
2921
|
+
// eslint-disable-next-line no-misleading-character-class
|
|
2922
|
+
new RegExp("^(data|aria)-[" + x + "]*$")
|
|
2923
|
+
), C = Object.keys(
|
|
2924
|
+
g
|
|
2925
|
+
).reduce((a, u) => {
|
|
2926
|
+
const d = g[u];
|
|
2927
|
+
return d === v ? a[u] = u : d === E ? a[u.toLowerCase()] = u : a[u] = d, a;
|
|
2928
|
+
}, {});
|
|
2929
|
+
return re.BOOLEAN = n, re.BOOLEANISH_STRING = r, re.NUMERIC = i, re.OVERLOADED_BOOLEAN = o, re.POSITIVE_NUMERIC = p, re.RESERVED = e, re.STRING = t, re.getPropertyInfo = l, re.isCustomAttribute = S, re.possibleStandardNames = C, re;
|
|
2930
|
+
}
|
|
2931
|
+
var Ie = {}, ye = {}, ut, zt;
|
|
2932
|
+
function pa() {
|
|
2933
|
+
if (zt) return ut;
|
|
2934
|
+
zt = 1;
|
|
2935
|
+
var e = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, t = /\n/g, r = /^\s*/, n = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, o = /^:\s*/, i = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, p = /^[;\s]*/, l = /^\s+|\s+$/g, c = `
|
|
2936
|
+
`, s = "/", f = "*", m = "", T = "comment", _ = "declaration";
|
|
2937
|
+
function E(g, b) {
|
|
2938
|
+
if (typeof g != "string")
|
|
2939
|
+
throw new TypeError("First argument must be a string");
|
|
2940
|
+
if (!g) return [];
|
|
2941
|
+
b = b || {};
|
|
2942
|
+
var x = 1, S = 1;
|
|
2943
|
+
function C(I) {
|
|
2944
|
+
var O = I.match(t);
|
|
2945
|
+
O && (x += O.length);
|
|
2946
|
+
var X = I.lastIndexOf(c);
|
|
2947
|
+
S = ~X ? I.length - X : S + I.length;
|
|
2948
|
+
}
|
|
2949
|
+
function a() {
|
|
2950
|
+
var I = { line: x, column: S };
|
|
2951
|
+
return function(O) {
|
|
2952
|
+
return O.position = new u(I), R(), O;
|
|
2953
|
+
};
|
|
2954
|
+
}
|
|
2955
|
+
function u(I) {
|
|
2956
|
+
this.start = I, this.end = { line: x, column: S }, this.source = b.source;
|
|
2957
|
+
}
|
|
2958
|
+
u.prototype.content = g;
|
|
2959
|
+
function d(I) {
|
|
2960
|
+
var O = new Error(
|
|
2961
|
+
b.source + ":" + x + ":" + S + ": " + I
|
|
2962
|
+
);
|
|
2963
|
+
if (O.reason = I, O.filename = b.source, O.line = x, O.column = S, O.source = g, !b.silent) throw O;
|
|
2964
|
+
}
|
|
2965
|
+
function A(I) {
|
|
2966
|
+
var O = I.exec(g);
|
|
2967
|
+
if (O) {
|
|
2968
|
+
var X = O[0];
|
|
2969
|
+
return C(X), g = g.slice(X.length), O;
|
|
2970
|
+
}
|
|
2971
|
+
}
|
|
2972
|
+
function R() {
|
|
2973
|
+
A(r);
|
|
2974
|
+
}
|
|
2975
|
+
function M(I) {
|
|
2976
|
+
var O;
|
|
2977
|
+
for (I = I || []; O = V(); )
|
|
2978
|
+
O !== !1 && I.push(O);
|
|
2979
|
+
return I;
|
|
2980
|
+
}
|
|
2981
|
+
function V() {
|
|
2982
|
+
var I = a();
|
|
2983
|
+
if (!(s != g.charAt(0) || f != g.charAt(1))) {
|
|
2984
|
+
for (var O = 2; m != g.charAt(O) && (f != g.charAt(O) || s != g.charAt(O + 1)); )
|
|
2985
|
+
++O;
|
|
2986
|
+
if (O += 2, m === g.charAt(O - 1))
|
|
2987
|
+
return d("End of comment missing");
|
|
2988
|
+
var X = g.slice(2, O - 2);
|
|
2989
|
+
return S += 2, C(X), g = g.slice(O), S += 2, I({
|
|
2990
|
+
type: T,
|
|
2991
|
+
comment: X
|
|
2992
|
+
});
|
|
2993
|
+
}
|
|
2994
|
+
}
|
|
2995
|
+
function J() {
|
|
2996
|
+
var I = a(), O = A(n);
|
|
2997
|
+
if (O) {
|
|
2998
|
+
if (V(), !A(o)) return d("property missing ':'");
|
|
2999
|
+
var X = A(i), he = I({
|
|
3000
|
+
type: _,
|
|
3001
|
+
property: v(O[0].replace(e, m)),
|
|
3002
|
+
value: X ? v(X[0].replace(e, m)) : m
|
|
3003
|
+
});
|
|
3004
|
+
return A(p), he;
|
|
3005
|
+
}
|
|
3006
|
+
}
|
|
3007
|
+
function ce() {
|
|
3008
|
+
var I = [];
|
|
3009
|
+
M(I);
|
|
3010
|
+
for (var O; O = J(); )
|
|
3011
|
+
O !== !1 && (I.push(O), M(I));
|
|
3012
|
+
return I;
|
|
3013
|
+
}
|
|
3014
|
+
return R(), ce();
|
|
3015
|
+
}
|
|
3016
|
+
function v(g) {
|
|
3017
|
+
return g ? g.replace(l, m) : m;
|
|
3018
|
+
}
|
|
3019
|
+
return ut = E, ut;
|
|
3020
|
+
}
|
|
3021
|
+
var Yt;
|
|
3022
|
+
function ma() {
|
|
3023
|
+
if (Yt) return ye;
|
|
3024
|
+
Yt = 1;
|
|
3025
|
+
var e = ye && ye.__importDefault || function(n) {
|
|
3026
|
+
return n && n.__esModule ? n : { default: n };
|
|
3027
|
+
};
|
|
3028
|
+
Object.defineProperty(ye, "__esModule", { value: !0 }), ye.default = r;
|
|
3029
|
+
const t = e(pa());
|
|
3030
|
+
function r(n, o) {
|
|
3031
|
+
let i = null;
|
|
3032
|
+
if (!n || typeof n != "string")
|
|
3033
|
+
return i;
|
|
3034
|
+
const p = (0, t.default)(n), l = typeof o == "function";
|
|
3035
|
+
return p.forEach((c) => {
|
|
3036
|
+
if (c.type !== "declaration")
|
|
3037
|
+
return;
|
|
3038
|
+
const { property: s, value: f } = c;
|
|
3039
|
+
l ? o(s, f, c) : f && (i = i || {}, i[s] = f);
|
|
3040
|
+
}), i;
|
|
3041
|
+
}
|
|
3042
|
+
return ye;
|
|
3043
|
+
}
|
|
3044
|
+
var Me = {}, Wt;
|
|
3045
|
+
function ha() {
|
|
3046
|
+
if (Wt) return Me;
|
|
3047
|
+
Wt = 1, Object.defineProperty(Me, "__esModule", { value: !0 }), Me.camelCase = void 0;
|
|
3048
|
+
var e = /^--[a-zA-Z0-9_-]+$/, t = /-([a-z])/g, r = /^[^-]+$/, n = /^-(webkit|moz|ms|o|khtml)-/, o = /^-(ms)-/, i = function(s) {
|
|
3049
|
+
return !s || r.test(s) || e.test(s);
|
|
3050
|
+
}, p = function(s, f) {
|
|
3051
|
+
return f.toUpperCase();
|
|
3052
|
+
}, l = function(s, f) {
|
|
3053
|
+
return "".concat(f, "-");
|
|
3054
|
+
}, c = function(s, f) {
|
|
3055
|
+
return f === void 0 && (f = {}), i(s) ? s : (s = s.toLowerCase(), f.reactCompat ? s = s.replace(o, l) : s = s.replace(n, l), s.replace(t, p));
|
|
3056
|
+
};
|
|
3057
|
+
return Me.camelCase = c, Me;
|
|
3058
|
+
}
|
|
3059
|
+
var De, Xt;
|
|
3060
|
+
function va() {
|
|
3061
|
+
if (Xt) return De;
|
|
3062
|
+
Xt = 1;
|
|
3063
|
+
var e = De && De.__importDefault || function(o) {
|
|
3064
|
+
return o && o.__esModule ? o : { default: o };
|
|
3065
|
+
}, t = e(ma()), r = ha();
|
|
3066
|
+
function n(o, i) {
|
|
3067
|
+
var p = {};
|
|
3068
|
+
return !o || typeof o != "string" || (0, t.default)(o, function(l, c) {
|
|
3069
|
+
l && c && (p[(0, r.camelCase)(l, i)] = c);
|
|
3070
|
+
}), p;
|
|
3071
|
+
}
|
|
3072
|
+
return n.default = n, De = n, De;
|
|
3073
|
+
}
|
|
3074
|
+
var Zt;
|
|
3075
|
+
function Er() {
|
|
3076
|
+
return Zt || (Zt = 1, (function(e) {
|
|
3077
|
+
var t = Ie && Ie.__importDefault || function(f) {
|
|
3078
|
+
return f && f.__esModule ? f : { default: f };
|
|
3079
|
+
};
|
|
3080
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.returnFirstArg = e.canTextBeChildOfNode = e.ELEMENTS_WITH_NO_TEXT_CHILDREN = e.PRESERVE_CUSTOM_ATTRIBUTES = void 0, e.isCustomComponent = i, e.setStyleProp = l;
|
|
3081
|
+
var r = mt, n = t(va()), o = /* @__PURE__ */ new Set([
|
|
3082
|
+
"annotation-xml",
|
|
3083
|
+
"color-profile",
|
|
3084
|
+
"font-face",
|
|
3085
|
+
"font-face-src",
|
|
3086
|
+
"font-face-uri",
|
|
3087
|
+
"font-face-format",
|
|
3088
|
+
"font-face-name",
|
|
3089
|
+
"missing-glyph"
|
|
3090
|
+
]);
|
|
3091
|
+
function i(f, m) {
|
|
3092
|
+
return f.includes("-") ? !o.has(f) : !!(m && typeof m.is == "string");
|
|
3093
|
+
}
|
|
3094
|
+
var p = {
|
|
3095
|
+
reactCompat: !0
|
|
3096
|
+
};
|
|
3097
|
+
function l(f, m) {
|
|
3098
|
+
if (typeof f == "string") {
|
|
3099
|
+
if (!f.trim()) {
|
|
3100
|
+
m.style = {};
|
|
3101
|
+
return;
|
|
3102
|
+
}
|
|
3103
|
+
try {
|
|
3104
|
+
m.style = (0, n.default)(f, p);
|
|
3105
|
+
} catch {
|
|
3106
|
+
m.style = {};
|
|
3107
|
+
}
|
|
3108
|
+
}
|
|
3109
|
+
}
|
|
3110
|
+
e.PRESERVE_CUSTOM_ATTRIBUTES = Number(r.version.split(".")[0]) >= 16, e.ELEMENTS_WITH_NO_TEXT_CHILDREN = /* @__PURE__ */ new Set([
|
|
3111
|
+
"tr",
|
|
3112
|
+
"tbody",
|
|
3113
|
+
"thead",
|
|
3114
|
+
"tfoot",
|
|
3115
|
+
"colgroup",
|
|
3116
|
+
"table",
|
|
3117
|
+
"head",
|
|
3118
|
+
"html",
|
|
3119
|
+
"frameset"
|
|
3120
|
+
]);
|
|
3121
|
+
var c = function(f) {
|
|
3122
|
+
return !e.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(f.name);
|
|
3123
|
+
};
|
|
3124
|
+
e.canTextBeChildOfNode = c;
|
|
3125
|
+
var s = function(f) {
|
|
3126
|
+
return f;
|
|
3127
|
+
};
|
|
3128
|
+
e.returnFirstArg = s;
|
|
3129
|
+
})(Ie)), Ie;
|
|
3130
|
+
}
|
|
3131
|
+
var Jt;
|
|
3132
|
+
function _r() {
|
|
3133
|
+
if (Jt) return Ye;
|
|
3134
|
+
Jt = 1, Object.defineProperty(Ye, "__esModule", { value: !0 }), Ye.default = i;
|
|
3135
|
+
var e = da(), t = Er(), r = ["checked", "value"], n = ["input", "select", "textarea"], o = {
|
|
3136
|
+
reset: !0,
|
|
3137
|
+
submit: !0
|
|
3138
|
+
};
|
|
3139
|
+
function i(l, c) {
|
|
3140
|
+
l === void 0 && (l = {});
|
|
3141
|
+
var s = {}, f = !!(l.type && o[l.type]);
|
|
3142
|
+
for (var m in l) {
|
|
3143
|
+
var T = l[m];
|
|
3144
|
+
if ((0, e.isCustomAttribute)(m)) {
|
|
3145
|
+
s[m] = T;
|
|
3146
|
+
continue;
|
|
3147
|
+
}
|
|
3148
|
+
var _ = m.toLowerCase(), E = p(_);
|
|
3149
|
+
if (E) {
|
|
3150
|
+
var v = (0, e.getPropertyInfo)(E);
|
|
3151
|
+
switch (r.includes(E) && n.includes(c) && !f && (E = p("default" + _)), s[E] = T, v?.type) {
|
|
3152
|
+
case e.BOOLEAN:
|
|
3153
|
+
s[E] = !0;
|
|
3154
|
+
break;
|
|
3155
|
+
case e.OVERLOADED_BOOLEAN:
|
|
3156
|
+
T === "" && (s[E] = !0);
|
|
3157
|
+
break;
|
|
3158
|
+
}
|
|
3159
|
+
continue;
|
|
3160
|
+
}
|
|
3161
|
+
t.PRESERVE_CUSTOM_ATTRIBUTES && (s[m] = T);
|
|
3162
|
+
}
|
|
3163
|
+
return (0, t.setStyleProp)(l.style, s), s;
|
|
3164
|
+
}
|
|
3165
|
+
function p(l) {
|
|
3166
|
+
return e.possibleStandardNames[l];
|
|
3167
|
+
}
|
|
3168
|
+
return Ye;
|
|
3169
|
+
}
|
|
3170
|
+
var be = {}, Kt;
|
|
3171
|
+
function ga() {
|
|
3172
|
+
if (Kt) return be;
|
|
3173
|
+
Kt = 1;
|
|
3174
|
+
var e = be && be.__importDefault || function(l) {
|
|
3175
|
+
return l && l.__esModule ? l : { default: l };
|
|
3176
|
+
};
|
|
3177
|
+
Object.defineProperty(be, "__esModule", { value: !0 }), be.default = i;
|
|
3178
|
+
var t = mt, r = e(_r()), n = Er(), o = {
|
|
3179
|
+
cloneElement: t.cloneElement,
|
|
3180
|
+
createElement: t.createElement,
|
|
3181
|
+
isValidElement: t.isValidElement
|
|
3182
|
+
};
|
|
3183
|
+
function i(l, c) {
|
|
3184
|
+
var s, f, m, T, _;
|
|
3185
|
+
c === void 0 && (c = {});
|
|
3186
|
+
for (var E = [], v = typeof c.replace == "function", g = (s = c.transform) !== null && s !== void 0 ? s : n.returnFirstArg, b = (f = c.library) !== null && f !== void 0 ? f : o, x = b.cloneElement, S = b.createElement, C = b.isValidElement, a = l.length, u = 0; u < a; u++) {
|
|
3187
|
+
var d = l[u];
|
|
3188
|
+
if (v) {
|
|
3189
|
+
var A = (m = c.replace) === null || m === void 0 ? void 0 : m.call(c, d, u);
|
|
3190
|
+
if (C(A)) {
|
|
3191
|
+
a > 1 && (A = x(A, {
|
|
3192
|
+
key: (T = A.key) !== null && T !== void 0 ? T : u
|
|
3193
|
+
})), E.push(g(A, d, u));
|
|
3194
|
+
continue;
|
|
3195
|
+
}
|
|
3196
|
+
}
|
|
3197
|
+
if (d.type === "text") {
|
|
3198
|
+
var R = !d.data.trim().length;
|
|
3199
|
+
if (R && d.parent && !(0, n.canTextBeChildOfNode)(d.parent) || c.trim && R)
|
|
3200
|
+
continue;
|
|
3201
|
+
E.push(g(d.data, d, u));
|
|
3202
|
+
continue;
|
|
3203
|
+
}
|
|
3204
|
+
var M = d, V = {};
|
|
3205
|
+
p(M) ? ((0, n.setStyleProp)(M.attribs.style, M.attribs), V = M.attribs) : M.attribs && (V = (0, r.default)(M.attribs, M.name));
|
|
3206
|
+
var J = void 0;
|
|
3207
|
+
switch (d.type) {
|
|
3208
|
+
case "script":
|
|
3209
|
+
case "style":
|
|
3210
|
+
d.children[0] && (V.dangerouslySetInnerHTML = {
|
|
3211
|
+
__html: d.children[0].data
|
|
3212
|
+
});
|
|
3213
|
+
break;
|
|
3214
|
+
case "tag":
|
|
3215
|
+
d.name === "textarea" && d.children[0] ? V.defaultValue = d.children[0].data : !((_ = d.children) === null || _ === void 0) && _.length && (J = i(d.children, c));
|
|
3216
|
+
break;
|
|
3217
|
+
// skip all other cases (e.g., comment)
|
|
3218
|
+
default:
|
|
3219
|
+
continue;
|
|
3220
|
+
}
|
|
3221
|
+
a > 1 && (V.key = u), E.push(g(S(d.name, V, J), d, u));
|
|
3222
|
+
}
|
|
3223
|
+
return E.length === 1 ? E[0] : E;
|
|
3224
|
+
}
|
|
3225
|
+
function p(l) {
|
|
3226
|
+
return n.PRESERVE_CUSTOM_ATTRIBUTES && l.type === "tag" && (0, n.isCustomComponent)(l.name, l.attribs);
|
|
3227
|
+
}
|
|
3228
|
+
return be;
|
|
3229
|
+
}
|
|
3230
|
+
var Qt;
|
|
3231
|
+
function ya() {
|
|
3232
|
+
return Qt || (Qt = 1, (function(e) {
|
|
3233
|
+
var t = Pe && Pe.__importDefault || function(c) {
|
|
3234
|
+
return c && c.__esModule ? c : { default: c };
|
|
3235
|
+
};
|
|
3236
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.htmlToDOM = e.domToReact = e.attributesToProps = e.Text = e.ProcessingInstruction = e.Element = e.Comment = void 0, e.default = l;
|
|
3237
|
+
var r = t(ua());
|
|
3238
|
+
e.htmlToDOM = r.default;
|
|
3239
|
+
var n = t(_r());
|
|
3240
|
+
e.attributesToProps = n.default;
|
|
3241
|
+
var o = t(ga());
|
|
3242
|
+
e.domToReact = o.default;
|
|
3243
|
+
var i = /* @__PURE__ */ yr();
|
|
3244
|
+
Object.defineProperty(e, "Comment", { enumerable: !0, get: function() {
|
|
3245
|
+
return i.Comment;
|
|
3246
|
+
} }), Object.defineProperty(e, "Element", { enumerable: !0, get: function() {
|
|
3247
|
+
return i.Element;
|
|
3248
|
+
} }), Object.defineProperty(e, "ProcessingInstruction", { enumerable: !0, get: function() {
|
|
3249
|
+
return i.ProcessingInstruction;
|
|
3250
|
+
} }), Object.defineProperty(e, "Text", { enumerable: !0, get: function() {
|
|
3251
|
+
return i.Text;
|
|
3252
|
+
} });
|
|
3253
|
+
var p = { lowerCaseAttributeNames: !1 };
|
|
3254
|
+
function l(c, s) {
|
|
3255
|
+
var f;
|
|
3256
|
+
if (typeof c != "string")
|
|
3257
|
+
throw new TypeError("First argument must be a string");
|
|
3258
|
+
return c ? (0, o.default)((0, r.default)(c, (f = s?.htmlparser2) !== null && f !== void 0 ? f : p), s) : [];
|
|
3259
|
+
}
|
|
3260
|
+
})(Pe)), Pe;
|
|
3261
|
+
}
|
|
3262
|
+
var ba = ya();
|
|
3263
|
+
const er = /* @__PURE__ */ cn(ba), Ea = er.default || er, vo = (e, t = "int", r = ",") => {
|
|
3264
|
+
const o = (t === "int" ? Kr : parseFloat)((e ?? "").toString().trim().replaceAll(r, ""));
|
|
3265
|
+
return isNaN(o) ? void 0 : o;
|
|
3266
|
+
};
|
|
3267
|
+
function _a(e, t) {
|
|
3268
|
+
const r = (p) => `${p}-${t}`, o = Ea(e, {
|
|
3269
|
+
replace(p) {
|
|
3270
|
+
if (p.type === "tag" && "attribs" in p && p.attribs) {
|
|
3271
|
+
const l = p;
|
|
3272
|
+
l.attribs.id && (l.attribs.id = r(l.attribs.id));
|
|
3273
|
+
const c = [
|
|
3274
|
+
"fill",
|
|
3275
|
+
"stroke",
|
|
3276
|
+
"filter",
|
|
3277
|
+
"clip-path",
|
|
3278
|
+
"mask",
|
|
3279
|
+
"marker-start",
|
|
3280
|
+
"marker-mid",
|
|
3281
|
+
"marker-end",
|
|
3282
|
+
"style"
|
|
3283
|
+
];
|
|
3284
|
+
for (const s of c) {
|
|
3285
|
+
const f = l.attribs[s];
|
|
3286
|
+
if (f)
|
|
3287
|
+
if (s === "style") {
|
|
3288
|
+
const m = f?.match(/url\(#(.+?)\)/);
|
|
3289
|
+
m && (l.attribs[s] = f.replace(m[1], r(m[1])));
|
|
3290
|
+
} else {
|
|
3291
|
+
const m = f?.match(/^url\(#(.+?)\)$/);
|
|
3292
|
+
m && (l.attribs[s] = `url(#${r(m[1])})`);
|
|
3293
|
+
}
|
|
3294
|
+
}
|
|
3295
|
+
return l;
|
|
3296
|
+
}
|
|
3297
|
+
},
|
|
3298
|
+
trim: !0
|
|
3299
|
+
});
|
|
3300
|
+
return rn(o) && o.type === "svg" ? o : null;
|
|
3301
|
+
}
|
|
3302
|
+
const Ta = (...e) => sn(on(...e)), Tr = (e) => e.info ?? {}, Ar = (e) => e.data?.custom ?? {}, Aa = (e) => {
|
|
3303
|
+
const t = Ar(e);
|
|
3304
|
+
if (_t(t.displayName))
|
|
3305
|
+
return t.displayName;
|
|
3306
|
+
const r = Tr(e);
|
|
3307
|
+
return _t(r.displayName) ? r.displayName : r.displayName?.(e.data.props) ?? e.data.displayName;
|
|
3308
|
+
}, de = (e) => e.data.displayName, go = (e) => e.related ?? {}, Ra = (e) => Ar(e).selectable ?? Tr(e).selectable ?? !0, yo = (e, t) => {
|
|
3309
|
+
try {
|
|
3310
|
+
e.craft && (e.craft = {
|
|
3311
|
+
...e.craft,
|
|
3312
|
+
related: {
|
|
3313
|
+
...e.craft?.related,
|
|
3314
|
+
...t
|
|
3315
|
+
}
|
|
3316
|
+
});
|
|
3317
|
+
} catch (r) {
|
|
3318
|
+
console.error(`Error setting related for ${e.craft?.displayName}`, r);
|
|
3319
|
+
}
|
|
3320
|
+
}, bo = (e, t = "xs") => t === "xs" ? e : { [t]: e }, G = (e, t) => {
|
|
3321
|
+
const { resolved: r, ...n } = t;
|
|
3322
|
+
return e.craft = {
|
|
3323
|
+
displayName: r,
|
|
3324
|
+
...n,
|
|
3325
|
+
related: n.related ?? {}
|
|
3326
|
+
}, e;
|
|
3327
|
+
}, Ae = (e = () => ({})) => {
|
|
3328
|
+
const t = Jr(e), { query: r, actions: n } = t, o = Tt(
|
|
3329
|
+
(p, l, c) => {
|
|
3330
|
+
const s = r.node(p).get(), f = l ?? s.data.parent, m = f ? r.node(f).get() : null;
|
|
3331
|
+
if (!m)
|
|
3332
|
+
throw new Error("Parent node not found");
|
|
3333
|
+
const T = {
|
|
3334
|
+
data: {
|
|
3335
|
+
...s.data,
|
|
3336
|
+
nodes: [],
|
|
3337
|
+
linkedNodes: {}
|
|
3338
|
+
}
|
|
3339
|
+
}, _ = r.parseFreshNode(T).toNode();
|
|
3340
|
+
return n.add(_, m.id, c ?? m.data.nodes.length), s.data.nodes.forEach((E, v) => {
|
|
3341
|
+
o(E, _.id, v);
|
|
3342
|
+
}), r.node(_.id).get();
|
|
3343
|
+
},
|
|
3344
|
+
[n, r]
|
|
3345
|
+
), i = Tt(
|
|
3346
|
+
(p) => {
|
|
3347
|
+
const l = p.parentId ?? r.node(p.nodeId).get().data.parent;
|
|
3348
|
+
if (!l)
|
|
3349
|
+
throw new Error("Parent node not found");
|
|
3350
|
+
let c;
|
|
3351
|
+
if ("sourceIndex" in p) {
|
|
3352
|
+
const { sourceIndex: s, destinationIndex: f } = p;
|
|
3353
|
+
c = f > s ? f + 1 : f;
|
|
3354
|
+
} else
|
|
3355
|
+
c = p.moveIndex;
|
|
3356
|
+
n.move(p.nodeId, l, c);
|
|
3357
|
+
},
|
|
3358
|
+
[n, r]
|
|
3359
|
+
);
|
|
3360
|
+
return nr(() => ({
|
|
3361
|
+
...t,
|
|
3362
|
+
actions: {
|
|
3363
|
+
...t.actions,
|
|
3364
|
+
move: i,
|
|
3365
|
+
duplicate: o
|
|
3366
|
+
}
|
|
3367
|
+
}), [o, t, i]);
|
|
3368
|
+
}, U = (e = {}) => {
|
|
3369
|
+
const { enabled: t, indicator: r } = Ae((s) => ({
|
|
3370
|
+
enabled: s.options.enabled,
|
|
3371
|
+
indicator: s.indicator
|
|
3372
|
+
})), { id: n, selectable: o, displayName: i, resolvedId: p } = H((s) => ({
|
|
3373
|
+
selectable: Ra(s),
|
|
3374
|
+
displayName: Aa(s),
|
|
3375
|
+
resolvedId: de(s)
|
|
3376
|
+
}));
|
|
3377
|
+
if (!t) return {};
|
|
3378
|
+
const l = r?.placement?.parent?.id === n, c = l && !!r?.error;
|
|
3379
|
+
return {
|
|
3380
|
+
[fe.DATA_NODE_ID]: n,
|
|
3381
|
+
[fe.DATA_NODE_EDITABLE]: vr.True,
|
|
3382
|
+
[fe.DATA_NODE_SELECTABLE]: o.toString(),
|
|
3383
|
+
[fe.DATA_NODE_NAME]: i,
|
|
3384
|
+
[fe.DATA_NODE_RESOLVED]: p,
|
|
3385
|
+
[fe.DATA_NODE_DROP_TARGET]: l.toString(),
|
|
3386
|
+
[fe.DATA_NODE_DROP_TARGET_ERROR]: c.toString(),
|
|
3387
|
+
...e
|
|
3388
|
+
};
|
|
3389
|
+
}, Sa = (e) => {
|
|
3390
|
+
const { connectors: t } = H(), r = U();
|
|
3391
|
+
return /* @__PURE__ */ N(
|
|
3392
|
+
wr,
|
|
3393
|
+
{
|
|
3394
|
+
...e,
|
|
3395
|
+
ref: (n) => {
|
|
3396
|
+
n && t.connect(n);
|
|
3397
|
+
},
|
|
3398
|
+
...r
|
|
3399
|
+
}
|
|
3400
|
+
);
|
|
3401
|
+
};
|
|
3402
|
+
G(Sa, {
|
|
3403
|
+
resolved: D.Grid,
|
|
3404
|
+
isCanvas: !0,
|
|
3405
|
+
rules: {
|
|
3406
|
+
canMoveIn: (e) => e.every((t) => de(t) == D.Cell)
|
|
3407
|
+
},
|
|
3408
|
+
info: {
|
|
3409
|
+
displayName: "Grid"
|
|
3410
|
+
}
|
|
3411
|
+
});
|
|
3412
|
+
const wa = {
|
|
3413
|
+
xs: { minWidth: 0, padding: 16 },
|
|
3414
|
+
// mobile
|
|
3415
|
+
sm: { minWidth: 768, padding: 28 },
|
|
3416
|
+
// tablet
|
|
3417
|
+
md: { minWidth: 1280, padding: 40 },
|
|
3418
|
+
// desktop
|
|
3419
|
+
lg: { minWidth: 1680, padding: 40 }
|
|
3420
|
+
// large desktop
|
|
3421
|
+
}, tr = ["xs", "sm", "md", "lg"], Eo = (e) => tr.slice(0, tr.indexOf(e)).reverse(), Ca = (e) => `@media (min-width: ${Qr(e) ? e : wa[e].minWidth}px)`, y = (e, t = !0) => {
|
|
3422
|
+
const r = `--${Rr}-${e.replaceAll(".", "-")}`;
|
|
3423
|
+
return t ? `var(${r})` : r;
|
|
3424
|
+
}, Rr = "color", _o = {
|
|
3425
|
+
inherit: "inherit",
|
|
3426
|
+
current: "currentColor",
|
|
3427
|
+
transparent: "transparent",
|
|
3428
|
+
black: "#000000",
|
|
3429
|
+
white: "#FFFFFF",
|
|
3430
|
+
background: {
|
|
3431
|
+
subtle: y("background.subtle"),
|
|
3432
|
+
default: y("background.default"),
|
|
3433
|
+
emphasis: y("background.emphasis")
|
|
3434
|
+
},
|
|
3435
|
+
border: {
|
|
3436
|
+
default: y("border.default")
|
|
3437
|
+
},
|
|
3438
|
+
surface: {
|
|
3439
|
+
default: y("surface.default")
|
|
3440
|
+
},
|
|
3441
|
+
primary: {
|
|
3442
|
+
100: y("primary.100"),
|
|
3443
|
+
200: y("primary.200"),
|
|
3444
|
+
300: y("primary.300"),
|
|
3445
|
+
400: y("primary.400"),
|
|
3446
|
+
500: y("primary.500"),
|
|
3447
|
+
600: y("primary.600"),
|
|
3448
|
+
700: y("primary.700"),
|
|
3449
|
+
800: y("primary.800")
|
|
3450
|
+
// 900: getColorVar('primary.900'),
|
|
3451
|
+
},
|
|
3452
|
+
secondary: {
|
|
3453
|
+
100: y("secondary.100"),
|
|
3454
|
+
200: y("secondary.200"),
|
|
3455
|
+
300: y("secondary.300"),
|
|
3456
|
+
400: y("secondary.400"),
|
|
3457
|
+
500: y("secondary.500"),
|
|
3458
|
+
600: y("secondary.600"),
|
|
3459
|
+
700: y("secondary.700"),
|
|
3460
|
+
800: y("secondary.800")
|
|
3461
|
+
// 900: getColorVar('secondary.900'),
|
|
3462
|
+
},
|
|
3463
|
+
red: {
|
|
3464
|
+
100: y("red.100"),
|
|
3465
|
+
200: y("red.200"),
|
|
3466
|
+
300: y("red.300"),
|
|
3467
|
+
400: y("red.400"),
|
|
3468
|
+
500: y("red.500"),
|
|
3469
|
+
600: y("red.600"),
|
|
3470
|
+
700: y("red.700"),
|
|
3471
|
+
800: y("red.800")
|
|
3472
|
+
// 900: getColorVar('red.900'),
|
|
3473
|
+
},
|
|
3474
|
+
orange: {
|
|
3475
|
+
100: y("orange.100"),
|
|
3476
|
+
200: y("orange.200"),
|
|
3477
|
+
300: y("orange.300"),
|
|
3478
|
+
400: y("orange.400"),
|
|
3479
|
+
500: y("orange.500"),
|
|
3480
|
+
600: y("orange.600"),
|
|
3481
|
+
700: y("orange.700"),
|
|
3482
|
+
800: y("orange.800")
|
|
3483
|
+
// 900: getColorVar('orange.900'),
|
|
3484
|
+
},
|
|
3485
|
+
yellow: {
|
|
3486
|
+
100: y("yellow.100"),
|
|
3487
|
+
200: y("yellow.200"),
|
|
3488
|
+
300: y("yellow.300"),
|
|
3489
|
+
400: y("yellow.400"),
|
|
3490
|
+
500: y("yellow.500"),
|
|
3491
|
+
600: y("yellow.600"),
|
|
3492
|
+
700: y("yellow.700"),
|
|
3493
|
+
800: y("yellow.800")
|
|
3494
|
+
// 900: getColorVar('yellow.900'),
|
|
3495
|
+
},
|
|
3496
|
+
green: {
|
|
3497
|
+
100: y("green.100"),
|
|
3498
|
+
200: y("green.200"),
|
|
3499
|
+
300: y("green.300"),
|
|
3500
|
+
400: y("green.400"),
|
|
3501
|
+
500: y("green.500"),
|
|
3502
|
+
600: y("green.600"),
|
|
3503
|
+
700: y("green.700"),
|
|
3504
|
+
800: y("green.800")
|
|
3505
|
+
// 900: getColorVar('green.900'),
|
|
3506
|
+
},
|
|
3507
|
+
blue: {
|
|
3508
|
+
100: y("blue.100"),
|
|
3509
|
+
200: y("blue.200"),
|
|
3510
|
+
300: y("blue.300"),
|
|
3511
|
+
400: y("blue.400"),
|
|
3512
|
+
500: y("blue.500"),
|
|
3513
|
+
600: y("blue.600"),
|
|
3514
|
+
700: y("blue.700"),
|
|
3515
|
+
800: y("blue.800")
|
|
3516
|
+
// 900: getColorVar('blue.900'),
|
|
3517
|
+
},
|
|
3518
|
+
violet: {
|
|
3519
|
+
100: y("violet.100"),
|
|
3520
|
+
200: y("violet.200"),
|
|
3521
|
+
300: y("violet.300"),
|
|
3522
|
+
400: y("violet.400"),
|
|
3523
|
+
500: y("violet.500"),
|
|
3524
|
+
600: y("violet.600"),
|
|
3525
|
+
700: y("violet.700"),
|
|
3526
|
+
800: y("violet.800")
|
|
3527
|
+
// 900: getColorVar('violet.900'),
|
|
3528
|
+
},
|
|
3529
|
+
neutral: {
|
|
3530
|
+
100: y("neutral.100"),
|
|
3531
|
+
200: y("neutral.200"),
|
|
3532
|
+
300: y("neutral.300"),
|
|
3533
|
+
400: y("neutral.400"),
|
|
3534
|
+
500: y("neutral.500"),
|
|
3535
|
+
600: y("neutral.600"),
|
|
3536
|
+
700: y("neutral.700"),
|
|
3537
|
+
800: y("neutral.800")
|
|
3538
|
+
// 900: getColorVar('neutral.900'),
|
|
3539
|
+
}
|
|
3540
|
+
}, To = [
|
|
3541
|
+
{
|
|
3542
|
+
name: "Basic",
|
|
3543
|
+
colors: ["transparent", "black", "white"]
|
|
3544
|
+
},
|
|
3545
|
+
{
|
|
3546
|
+
name: "Background",
|
|
3547
|
+
colors: ["background.subtle", "background.default", "background.emphasis"]
|
|
3548
|
+
},
|
|
3549
|
+
{
|
|
3550
|
+
name: "Border",
|
|
3551
|
+
colors: ["border.default"]
|
|
3552
|
+
},
|
|
3553
|
+
{
|
|
3554
|
+
name: "Surface",
|
|
3555
|
+
colors: ["surface.default"]
|
|
3556
|
+
},
|
|
3557
|
+
{
|
|
3558
|
+
name: "Primary",
|
|
3559
|
+
colors: [
|
|
3560
|
+
"primary.100",
|
|
3561
|
+
"primary.200",
|
|
3562
|
+
"primary.300",
|
|
3563
|
+
"primary.400",
|
|
3564
|
+
"primary.500",
|
|
3565
|
+
"primary.600",
|
|
3566
|
+
"primary.700",
|
|
3567
|
+
"primary.800"
|
|
3568
|
+
// 'primary.900',
|
|
3569
|
+
]
|
|
3570
|
+
},
|
|
3571
|
+
{
|
|
3572
|
+
name: "Secondary",
|
|
3573
|
+
colors: [
|
|
3574
|
+
"secondary.100",
|
|
3575
|
+
"secondary.200",
|
|
3576
|
+
"secondary.300",
|
|
3577
|
+
"secondary.400",
|
|
3578
|
+
"secondary.500",
|
|
3579
|
+
"secondary.600",
|
|
3580
|
+
"secondary.700",
|
|
3581
|
+
"secondary.800"
|
|
3582
|
+
// 'secondary.900',
|
|
3583
|
+
]
|
|
3584
|
+
},
|
|
3585
|
+
{
|
|
3586
|
+
name: "Red",
|
|
3587
|
+
colors: [
|
|
3588
|
+
"red.100",
|
|
3589
|
+
"red.200",
|
|
3590
|
+
"red.300",
|
|
3591
|
+
"red.400",
|
|
3592
|
+
"red.500",
|
|
3593
|
+
"red.600",
|
|
3594
|
+
"red.700",
|
|
3595
|
+
"red.800"
|
|
3596
|
+
// 'red.900'
|
|
3597
|
+
]
|
|
3598
|
+
},
|
|
3599
|
+
{
|
|
3600
|
+
name: "Orange",
|
|
3601
|
+
colors: [
|
|
3602
|
+
"orange.100",
|
|
3603
|
+
"orange.200",
|
|
3604
|
+
"orange.300",
|
|
3605
|
+
"orange.400",
|
|
3606
|
+
"orange.500",
|
|
3607
|
+
"orange.600",
|
|
3608
|
+
"orange.700",
|
|
3609
|
+
"orange.800"
|
|
3610
|
+
// 'orange.900',
|
|
3611
|
+
]
|
|
3612
|
+
},
|
|
3613
|
+
{
|
|
3614
|
+
name: "Yellow",
|
|
3615
|
+
colors: [
|
|
3616
|
+
"yellow.100",
|
|
3617
|
+
"yellow.200",
|
|
3618
|
+
"yellow.300",
|
|
3619
|
+
"yellow.400",
|
|
3620
|
+
"yellow.500",
|
|
3621
|
+
"yellow.600",
|
|
3622
|
+
"yellow.700",
|
|
3623
|
+
"yellow.800"
|
|
3624
|
+
// 'yellow.900',
|
|
3625
|
+
]
|
|
3626
|
+
},
|
|
3627
|
+
{
|
|
3628
|
+
name: "Green",
|
|
3629
|
+
colors: [
|
|
3630
|
+
"green.100",
|
|
3631
|
+
"green.200",
|
|
3632
|
+
"green.300",
|
|
3633
|
+
"green.400",
|
|
3634
|
+
"green.500",
|
|
3635
|
+
"green.600",
|
|
3636
|
+
"green.700",
|
|
3637
|
+
"green.800"
|
|
3638
|
+
// 'green.900',
|
|
3639
|
+
]
|
|
3640
|
+
},
|
|
3641
|
+
{
|
|
3642
|
+
name: "Blue",
|
|
3643
|
+
colors: [
|
|
3644
|
+
"blue.100",
|
|
3645
|
+
"blue.200",
|
|
3646
|
+
"blue.300",
|
|
3647
|
+
"blue.400",
|
|
3648
|
+
"blue.500",
|
|
3649
|
+
"blue.600",
|
|
3650
|
+
"blue.700",
|
|
3651
|
+
"blue.800"
|
|
3652
|
+
// 'blue.900',
|
|
3653
|
+
]
|
|
3654
|
+
},
|
|
3655
|
+
{
|
|
3656
|
+
name: "Violet",
|
|
3657
|
+
colors: [
|
|
3658
|
+
"violet.100",
|
|
3659
|
+
"violet.200",
|
|
3660
|
+
"violet.300",
|
|
3661
|
+
"violet.400",
|
|
3662
|
+
"violet.500",
|
|
3663
|
+
"violet.600",
|
|
3664
|
+
"violet.700",
|
|
3665
|
+
"violet.800"
|
|
3666
|
+
// 'violet.900',
|
|
3667
|
+
]
|
|
3668
|
+
},
|
|
3669
|
+
{
|
|
3670
|
+
name: "Neutral",
|
|
3671
|
+
colors: [
|
|
3672
|
+
"neutral.100",
|
|
3673
|
+
"neutral.200",
|
|
3674
|
+
"neutral.300",
|
|
3675
|
+
"neutral.400",
|
|
3676
|
+
"neutral.500",
|
|
3677
|
+
"neutral.600",
|
|
3678
|
+
"neutral.700",
|
|
3679
|
+
"neutral.800"
|
|
3680
|
+
// 'neutral.900',
|
|
3681
|
+
]
|
|
3682
|
+
}
|
|
3683
|
+
], Ao = (e = "", t) => {
|
|
3684
|
+
var r, n;
|
|
3685
|
+
const o = /var\(--([\w-]+)\)/, i = (n = (r = e.match(o)) == null ? void 0 : r.at(1)) == null ? void 0 : n.replace(new RegExp(`${Rr}-`), "").replaceAll("-", ".");
|
|
3686
|
+
try {
|
|
3687
|
+
return i ? Et(String(en(t, i) ?? e)) : Et(e);
|
|
3688
|
+
} catch {
|
|
3689
|
+
return null;
|
|
3690
|
+
}
|
|
3691
|
+
}, xa = rr(({ source: e, ...t }, r) => {
|
|
3692
|
+
const n = nn(), o = nr(() => _a(e, n), [e, n]);
|
|
3693
|
+
return /* @__PURE__ */ N(Qe, { children: !!o && an(o, {
|
|
3694
|
+
...t,
|
|
3695
|
+
ref: r
|
|
3696
|
+
}) });
|
|
3697
|
+
}), Oa = `<svg width="24" height="24" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3698
|
+
<path d="M12.8002 7.5002H8.5002V3.2002C8.5002 2.9002 8.3002 2.7002 8.0002 2.7002C7.7002 2.7002 7.5002 2.9002 7.5002 3.2002V7.5002H3.2002C2.9002 7.5002 2.7002 7.7002 2.7002 8.0002C2.7002 8.3002 2.9002 8.5002 3.2002 8.5002H7.5002V12.8002C7.5002 13.1002 7.7002 13.3002 8.0002 13.3002C8.3002 13.3002 8.5002 13.1002 8.5002 12.8002V8.5002H12.8002C13.1002 8.5002 13.3002 8.3002 13.3002 8.0002C13.3002 7.7002 13.1002 7.5002 12.8002 7.5002Z" fill="currentColor"/>
|
|
3699
|
+
</svg>
|
|
3700
|
+
`, pe = ({ placeholder: e = "Drop here" }) => {
|
|
3701
|
+
const { enabled: t } = Ae((n) => ({
|
|
3702
|
+
enabled: n.options.enabled
|
|
3703
|
+
}));
|
|
3704
|
+
if (!t) return /* @__PURE__ */ N(Qe, {});
|
|
3705
|
+
const r = {
|
|
3706
|
+
"--drop-placeholder": `'${e}'`,
|
|
3707
|
+
[Ca("sm")]: {
|
|
3708
|
+
"--drop-placeholder": "'Drop element here'"
|
|
3709
|
+
},
|
|
3710
|
+
":before": {
|
|
3711
|
+
content: "var(--drop-placeholder)"
|
|
3712
|
+
}
|
|
3713
|
+
};
|
|
3714
|
+
return /* @__PURE__ */ N(
|
|
3715
|
+
"div",
|
|
3716
|
+
{
|
|
3717
|
+
className: Ta(
|
|
3718
|
+
"tw:grid tw:place-items-center tw:p-2 tw:relative tw:outline-1 tw:outline-dashed tw:outline-ic-ink-3s tw:-outline-offset-1 tw:min-h-full"
|
|
3719
|
+
),
|
|
3720
|
+
children: /* @__PURE__ */ K("div", { className: "tw:flex tw:flex-col tw:items-center", children: [
|
|
3721
|
+
/* @__PURE__ */ N(xa, { source: Oa, width: 16, height: 16 }),
|
|
3722
|
+
/* @__PURE__ */ N("p", { css: r, className: "tw:text-xs tw:text-center tw:mt-1" })
|
|
3723
|
+
] })
|
|
3724
|
+
}
|
|
3725
|
+
);
|
|
3726
|
+
}, Na = ({ children: e, ...t }) => {
|
|
3727
|
+
const { connectors: r } = H(), n = U(), o = Q([
|
|
3728
|
+
(i) => {
|
|
3729
|
+
i && r.connect(i);
|
|
3730
|
+
}
|
|
3731
|
+
]);
|
|
3732
|
+
return /* @__PURE__ */ K(Cr, { ...t, ...n, ref: o, children: [
|
|
3733
|
+
e,
|
|
3734
|
+
se(e) && /* @__PURE__ */ N(pe, {})
|
|
3735
|
+
] });
|
|
3736
|
+
};
|
|
3737
|
+
G(Na, {
|
|
3738
|
+
resolved: D.Cell,
|
|
3739
|
+
isCanvas: !0,
|
|
3740
|
+
info: {
|
|
3741
|
+
displayName: "Cell"
|
|
3742
|
+
}
|
|
3743
|
+
});
|
|
3744
|
+
const Pa = (e) => {
|
|
3745
|
+
const t = U(), { enabled: r } = Ae((i) => ({
|
|
3746
|
+
enabled: i.options.enabled
|
|
3747
|
+
})), { connectors: n } = H();
|
|
3748
|
+
return /* @__PURE__ */ N(
|
|
3749
|
+
xr,
|
|
3750
|
+
{
|
|
3751
|
+
...e,
|
|
3752
|
+
...t,
|
|
3753
|
+
css: r && {
|
|
3754
|
+
":empty": {
|
|
3755
|
+
":after": {
|
|
3756
|
+
display: "block",
|
|
3757
|
+
content: '"Drag or type something"',
|
|
3758
|
+
opacity: 0.5,
|
|
3759
|
+
paddingTop: 8,
|
|
3760
|
+
paddingBottom: 8,
|
|
3761
|
+
paddingLeft: 8,
|
|
3762
|
+
paddingRight: 8
|
|
3763
|
+
}
|
|
3764
|
+
}
|
|
3765
|
+
},
|
|
3766
|
+
onClick: (i) => {
|
|
3767
|
+
r && i.preventDefault(), e.onClick?.(i);
|
|
3768
|
+
},
|
|
3769
|
+
ref: (i) => {
|
|
3770
|
+
i && n.connect(i);
|
|
3771
|
+
}
|
|
3772
|
+
}
|
|
3773
|
+
);
|
|
3774
|
+
};
|
|
3775
|
+
G(Pa, {
|
|
3776
|
+
resolved: D.Link,
|
|
3777
|
+
isCanvas: !0,
|
|
3778
|
+
rules: {
|
|
3779
|
+
canMoveIn(e, t) {
|
|
3780
|
+
return se(t.data.props.dangerouslySetInnerHTML);
|
|
3781
|
+
}
|
|
3782
|
+
},
|
|
3783
|
+
info: {
|
|
3784
|
+
displayName: "Link"
|
|
3785
|
+
}
|
|
3786
|
+
});
|
|
3787
|
+
const ka = ({ anchor: e, ...t }) => {
|
|
3788
|
+
const r = U(), { enabled: n } = Ae((i) => ({
|
|
3789
|
+
enabled: i.options.enabled
|
|
3790
|
+
})), { connectors: o } = H();
|
|
3791
|
+
return /* @__PURE__ */ N(
|
|
3792
|
+
Or,
|
|
3793
|
+
{
|
|
3794
|
+
anchor: n ? void 0 : e,
|
|
3795
|
+
...t,
|
|
3796
|
+
...r,
|
|
3797
|
+
ref: (i) => {
|
|
3798
|
+
i && o.connect(i);
|
|
3799
|
+
}
|
|
3800
|
+
}
|
|
3801
|
+
);
|
|
3802
|
+
};
|
|
3803
|
+
G(ka, {
|
|
3804
|
+
resolved: D.Button,
|
|
3805
|
+
isCanvas: !1,
|
|
3806
|
+
info: {
|
|
3807
|
+
displayName: "Button"
|
|
3808
|
+
}
|
|
3809
|
+
});
|
|
3810
|
+
const Ia = (e) => {
|
|
3811
|
+
const { connectors: t } = H(), r = U(), n = Q([
|
|
3812
|
+
(o) => {
|
|
3813
|
+
o && t.connect(o);
|
|
3814
|
+
}
|
|
3815
|
+
]);
|
|
3816
|
+
return /* @__PURE__ */ N(Nr, { ...e, ...r, ref: n });
|
|
3817
|
+
}, Ma = "Flexbox";
|
|
3818
|
+
G(Ia, {
|
|
3819
|
+
resolved: D.Flexbox,
|
|
3820
|
+
isCanvas: !0,
|
|
3821
|
+
rules: {
|
|
3822
|
+
canMoveIn: (e) => e.every((t) => de(t) == D.FlexItem)
|
|
3823
|
+
},
|
|
3824
|
+
info: {
|
|
3825
|
+
displayName: Ma
|
|
3826
|
+
}
|
|
3827
|
+
});
|
|
3828
|
+
const Da = ({ children: e, ...t }) => {
|
|
3829
|
+
const { connectors: r } = H(), n = U(), o = Q([
|
|
3830
|
+
(i) => {
|
|
3831
|
+
i && r.connect(i);
|
|
3832
|
+
}
|
|
3833
|
+
]);
|
|
3834
|
+
return /* @__PURE__ */ K(Pr, { ...t, ...n, ref: o, children: [
|
|
3835
|
+
e,
|
|
3836
|
+
se(e) && /* @__PURE__ */ N(pe, {})
|
|
3837
|
+
] });
|
|
3838
|
+
};
|
|
3839
|
+
G(Da, {
|
|
3840
|
+
resolved: D.FlexItem,
|
|
3841
|
+
isCanvas: !0,
|
|
3842
|
+
info: {
|
|
3843
|
+
displayName: "Flex item"
|
|
3844
|
+
},
|
|
3845
|
+
rules: {
|
|
3846
|
+
canDrag: () => !1
|
|
3847
|
+
}
|
|
3848
|
+
});
|
|
3849
|
+
const La = (e) => /* @__PURE__ */ N(Je, { ...e, as: "div" }), Fa = (e) => {
|
|
3850
|
+
const { connectors: t } = H(), r = U(), n = Q([
|
|
3851
|
+
(o) => {
|
|
3852
|
+
o && t.connect(o);
|
|
3853
|
+
}
|
|
3854
|
+
]);
|
|
3855
|
+
return /* @__PURE__ */ N(La, { ...e, ref: n, ...r });
|
|
3856
|
+
};
|
|
3857
|
+
G(Fa, {
|
|
3858
|
+
resolved: D.Paragraph,
|
|
3859
|
+
isCanvas: !1,
|
|
3860
|
+
info: {
|
|
3861
|
+
displayName: "Paragraph"
|
|
3862
|
+
}
|
|
3863
|
+
});
|
|
3864
|
+
const ja = ({ ...e }) => /* @__PURE__ */ N(Je, { ...e }), qa = (e) => {
|
|
3865
|
+
const { connectors: t } = H(), r = U(), n = Q([
|
|
3866
|
+
(o) => {
|
|
3867
|
+
o && t.connect(o);
|
|
3868
|
+
}
|
|
3869
|
+
]);
|
|
3870
|
+
return /* @__PURE__ */ N(ja, { ...e, ref: n, ...r });
|
|
3871
|
+
};
|
|
3872
|
+
G(qa, {
|
|
3873
|
+
resolved: D.Heading,
|
|
3874
|
+
isCanvas: !1,
|
|
3875
|
+
info: {
|
|
3876
|
+
displayName: "Heading"
|
|
3877
|
+
}
|
|
3878
|
+
});
|
|
3879
|
+
const Ha = (e) => {
|
|
3880
|
+
const t = U(), { connectors: r } = H(), n = Q([
|
|
3881
|
+
(o) => {
|
|
3882
|
+
o && r.connect(o);
|
|
3883
|
+
}
|
|
3884
|
+
]);
|
|
3885
|
+
return /* @__PURE__ */ N(kr, { ...e, ...t, ref: n });
|
|
3886
|
+
};
|
|
3887
|
+
G(Ha, {
|
|
3888
|
+
resolved: D.Image,
|
|
3889
|
+
isCanvas: !1,
|
|
3890
|
+
info: {
|
|
3891
|
+
displayName: "Image"
|
|
3892
|
+
}
|
|
3893
|
+
});
|
|
3894
|
+
const Ga = (e) => {
|
|
3895
|
+
const { connectors: t } = H(), { enabled: r } = Ae((i) => ({
|
|
3896
|
+
enabled: i.options.enabled
|
|
3897
|
+
})), n = U(), o = Q([
|
|
3898
|
+
(i) => {
|
|
3899
|
+
i && t.connect(i);
|
|
3900
|
+
}
|
|
3901
|
+
]);
|
|
3902
|
+
return /* @__PURE__ */ N(
|
|
3903
|
+
Mr,
|
|
3904
|
+
{
|
|
3905
|
+
...e,
|
|
3906
|
+
...n,
|
|
3907
|
+
autoScrollOptions: r ? {
|
|
3908
|
+
...e.autoScrollOptions,
|
|
3909
|
+
playOnInit: !1
|
|
3910
|
+
} : e.autoScrollOptions,
|
|
3911
|
+
...r ? {
|
|
3912
|
+
[Ir.PlayState]: "off"
|
|
3913
|
+
} : {},
|
|
3914
|
+
ref: o
|
|
3915
|
+
}
|
|
3916
|
+
);
|
|
3917
|
+
};
|
|
3918
|
+
G(Ga, {
|
|
3919
|
+
resolved: D.Marquee,
|
|
3920
|
+
isCanvas: !0,
|
|
3921
|
+
rules: {
|
|
3922
|
+
canMoveIn: (e) => e.every((t) => de(t) == D.MarqueeItem)
|
|
3923
|
+
},
|
|
3924
|
+
info: {
|
|
3925
|
+
displayName: "Marquee"
|
|
3926
|
+
}
|
|
3927
|
+
});
|
|
3928
|
+
const Va = ({ children: e, ...t }) => {
|
|
3929
|
+
const { connectors: r } = H(), n = U(), o = Q([
|
|
3930
|
+
(i) => {
|
|
3931
|
+
i && r.connect(i);
|
|
3932
|
+
}
|
|
3933
|
+
]);
|
|
3934
|
+
return /* @__PURE__ */ K(Dr, { ...t, ...n, ref: o, children: [
|
|
3935
|
+
e,
|
|
3936
|
+
se(e) && /* @__PURE__ */ N(pe, {})
|
|
3937
|
+
] });
|
|
3938
|
+
};
|
|
3939
|
+
G(Va, {
|
|
3940
|
+
resolved: D.MarqueeItem,
|
|
3941
|
+
isCanvas: !0,
|
|
3942
|
+
info: {
|
|
3943
|
+
selectable: !1,
|
|
3944
|
+
displayName: "Marquee item"
|
|
3945
|
+
}
|
|
3946
|
+
});
|
|
3947
|
+
const $a = (e) => {
|
|
3948
|
+
const { connectors: t } = H(), r = Q([
|
|
3949
|
+
(n) => {
|
|
3950
|
+
n && t.connect(n);
|
|
3951
|
+
}
|
|
3952
|
+
]);
|
|
3953
|
+
return /* @__PURE__ */ N(Lr, { ...e, ref: r });
|
|
3954
|
+
};
|
|
3955
|
+
G($a, {
|
|
3956
|
+
resolved: D.Tabs,
|
|
3957
|
+
isCanvas: !1,
|
|
3958
|
+
info: {
|
|
3959
|
+
displayName: "Tabs"
|
|
3960
|
+
}
|
|
3961
|
+
});
|
|
3962
|
+
const Ua = (e) => {
|
|
3963
|
+
const { connectors: t } = H(), r = U(), n = Q([
|
|
3964
|
+
(o) => {
|
|
3965
|
+
o && t.connect(o);
|
|
3966
|
+
}
|
|
3967
|
+
]);
|
|
3968
|
+
return /* @__PURE__ */ N(Fr, { ...e, ...r, ref: n });
|
|
3969
|
+
};
|
|
3970
|
+
G(Ua, {
|
|
3971
|
+
resolved: D.TabList,
|
|
3972
|
+
isCanvas: !0,
|
|
3973
|
+
rules: {
|
|
3974
|
+
canMoveIn: (e) => e.every((t) => de(t) == D.Tab)
|
|
3975
|
+
},
|
|
3976
|
+
info: {
|
|
3977
|
+
selectable: !1,
|
|
3978
|
+
displayName: "Tab list"
|
|
3979
|
+
}
|
|
3980
|
+
});
|
|
3981
|
+
const Ba = (e) => {
|
|
3982
|
+
const t = U(), { connectors: r } = H(), n = Q([
|
|
3983
|
+
(o) => {
|
|
3984
|
+
o && r.connect(o);
|
|
3985
|
+
}
|
|
3986
|
+
]);
|
|
3987
|
+
return /* @__PURE__ */ N(jr, { ...e, ref: n, ...t });
|
|
3988
|
+
};
|
|
3989
|
+
G(Ba, {
|
|
3990
|
+
resolved: D.Tab,
|
|
3991
|
+
isCanvas: !1,
|
|
3992
|
+
info: {
|
|
3993
|
+
selectable: !1,
|
|
3994
|
+
displayName: "Tab"
|
|
3995
|
+
}
|
|
3996
|
+
});
|
|
3997
|
+
const za = (e) => {
|
|
3998
|
+
const { connectors: t } = H(), r = U(), n = Q([
|
|
3999
|
+
(o) => {
|
|
4000
|
+
o && t.connect(o);
|
|
4001
|
+
}
|
|
4002
|
+
]);
|
|
4003
|
+
return /* @__PURE__ */ N(qr, { ...e, ...r, ref: n });
|
|
4004
|
+
};
|
|
4005
|
+
G(za, {
|
|
4006
|
+
resolved: D.TabContent,
|
|
4007
|
+
isCanvas: !0,
|
|
4008
|
+
rules: {
|
|
4009
|
+
canMoveIn: (e) => e.every((t) => de(t) == D.TabPanel)
|
|
4010
|
+
},
|
|
4011
|
+
info: {
|
|
4012
|
+
selectable: !1,
|
|
4013
|
+
displayName: "Tab content"
|
|
4014
|
+
}
|
|
4015
|
+
});
|
|
4016
|
+
const Ya = ({ children: e, ...t }) => {
|
|
4017
|
+
const { connectors: r } = H(), n = U(), o = Q([
|
|
4018
|
+
(i) => {
|
|
4019
|
+
i && r.connect(i);
|
|
4020
|
+
}
|
|
4021
|
+
]);
|
|
4022
|
+
return /* @__PURE__ */ K(Hr, { ...t, ...n, ref: o, children: [
|
|
4023
|
+
e,
|
|
4024
|
+
se(e) && /* @__PURE__ */ N(pe, {})
|
|
4025
|
+
] });
|
|
4026
|
+
};
|
|
4027
|
+
G(Ya, {
|
|
4028
|
+
resolved: D.TabPanel,
|
|
4029
|
+
isCanvas: !0,
|
|
4030
|
+
info: {
|
|
4031
|
+
selectable: !1,
|
|
4032
|
+
displayName: "Tab panel"
|
|
4033
|
+
}
|
|
4034
|
+
});
|
|
4035
|
+
const Wa = (e) => {
|
|
4036
|
+
const { connectors: t } = H();
|
|
4037
|
+
return /* @__PURE__ */ N(
|
|
4038
|
+
Gr,
|
|
4039
|
+
{
|
|
4040
|
+
...e,
|
|
4041
|
+
ref: (r) => {
|
|
4042
|
+
r && t.connect(r);
|
|
4043
|
+
}
|
|
4044
|
+
}
|
|
4045
|
+
);
|
|
4046
|
+
}, Xa = "Carousel";
|
|
4047
|
+
G(Wa, {
|
|
4048
|
+
resolved: D.Swiper,
|
|
4049
|
+
isCanvas: !0,
|
|
4050
|
+
rules: {
|
|
4051
|
+
canMoveIn: (e) => e.every((t) => de(t) == D.SwiperSlide)
|
|
4052
|
+
},
|
|
4053
|
+
info: {
|
|
4054
|
+
displayName: Xa
|
|
4055
|
+
}
|
|
4056
|
+
});
|
|
4057
|
+
const Za = ({ children: e, ...t }) => {
|
|
4058
|
+
const r = U(), { connectors: n } = H(), o = Q([
|
|
4059
|
+
(i) => {
|
|
4060
|
+
i && n.connect(i);
|
|
4061
|
+
}
|
|
4062
|
+
]);
|
|
4063
|
+
return /* @__PURE__ */ K(Vr, { ...t, ...r, ref: o, children: [
|
|
4064
|
+
e,
|
|
4065
|
+
se(e) && /* @__PURE__ */ N(pe, {})
|
|
4066
|
+
] });
|
|
4067
|
+
};
|
|
4068
|
+
G(Za, {
|
|
4069
|
+
resolved: D.SwiperSlide,
|
|
4070
|
+
info: {
|
|
4071
|
+
selectable: !1,
|
|
4072
|
+
displayName: "Swiper Slide"
|
|
4073
|
+
}
|
|
4074
|
+
});
|
|
4075
|
+
const Ja = (e) => {
|
|
4076
|
+
const { connectors: t } = H(), r = U();
|
|
4077
|
+
return /* @__PURE__ */ N(
|
|
4078
|
+
$r,
|
|
4079
|
+
{
|
|
4080
|
+
...r,
|
|
4081
|
+
...e,
|
|
4082
|
+
ref: (n) => {
|
|
4083
|
+
n && t.connect(n);
|
|
4084
|
+
}
|
|
4085
|
+
}
|
|
4086
|
+
);
|
|
4087
|
+
};
|
|
4088
|
+
G(Ja, {
|
|
4089
|
+
resolved: D.Icon,
|
|
4090
|
+
isCanvas: !1,
|
|
4091
|
+
info: {
|
|
4092
|
+
displayName: "Icon"
|
|
4093
|
+
}
|
|
4094
|
+
});
|
|
4095
|
+
const Ka = (e) => {
|
|
4096
|
+
const { connectors: t } = H(), r = U(), n = Q([
|
|
4097
|
+
(o) => {
|
|
4098
|
+
o && t.connect(o);
|
|
4099
|
+
}
|
|
4100
|
+
]);
|
|
4101
|
+
return /* @__PURE__ */ N(Ur, { ...e, ...r, ref: n });
|
|
4102
|
+
};
|
|
4103
|
+
G(Ka, {
|
|
4104
|
+
resolved: D.Accordion,
|
|
4105
|
+
isCanvas: !1,
|
|
4106
|
+
info: {
|
|
4107
|
+
selectable: !1
|
|
4108
|
+
}
|
|
4109
|
+
});
|
|
4110
|
+
const Qa = ({ children: e, ...t }) => {
|
|
4111
|
+
const { connectors: r } = H(), n = U();
|
|
4112
|
+
return /* @__PURE__ */ K(
|
|
4113
|
+
Br,
|
|
4114
|
+
{
|
|
4115
|
+
...t,
|
|
4116
|
+
...n,
|
|
4117
|
+
ref: (o) => {
|
|
4118
|
+
o && r.connect(o);
|
|
4119
|
+
},
|
|
4120
|
+
children: [
|
|
4121
|
+
e,
|
|
4122
|
+
se(e) && /* @__PURE__ */ N(pe, { placeholder: eo })
|
|
4123
|
+
]
|
|
4124
|
+
}
|
|
4125
|
+
);
|
|
4126
|
+
}, eo = "Accordion summary";
|
|
4127
|
+
G(Qa, {
|
|
4128
|
+
resolved: D.AccordionSummary,
|
|
4129
|
+
isCanvas: !0,
|
|
4130
|
+
rules: {
|
|
4131
|
+
canMoveIn: () => !0,
|
|
4132
|
+
canMoveOut: () => !1
|
|
4133
|
+
},
|
|
4134
|
+
info: {
|
|
4135
|
+
selectable: !1
|
|
4136
|
+
}
|
|
4137
|
+
});
|
|
4138
|
+
const to = ({ children: e, ...t }) => {
|
|
4139
|
+
const { connectors: r } = H(), n = U();
|
|
4140
|
+
return /* @__PURE__ */ K(
|
|
4141
|
+
zr,
|
|
4142
|
+
{
|
|
4143
|
+
...t,
|
|
4144
|
+
...n,
|
|
4145
|
+
containerProps: {
|
|
4146
|
+
ref: (o) => {
|
|
4147
|
+
o && r.connect(o);
|
|
4148
|
+
}
|
|
4149
|
+
},
|
|
4150
|
+
children: [
|
|
4151
|
+
e,
|
|
4152
|
+
se(e) && /* @__PURE__ */ N(pe, { placeholder: ro })
|
|
4153
|
+
]
|
|
4154
|
+
}
|
|
4155
|
+
);
|
|
4156
|
+
}, ro = "Accordion Content";
|
|
4157
|
+
G(to, {
|
|
4158
|
+
resolved: D.AccordionContent,
|
|
4159
|
+
isCanvas: !0,
|
|
4160
|
+
rules: {
|
|
4161
|
+
canMoveIn: () => !0,
|
|
4162
|
+
canMoveOut: () => !1
|
|
4163
|
+
},
|
|
4164
|
+
info: {
|
|
4165
|
+
selectable: !1
|
|
4166
|
+
}
|
|
4167
|
+
});
|
|
4168
|
+
const no = (e) => {
|
|
4169
|
+
const { connectors: t } = H(), r = U();
|
|
4170
|
+
return /* @__PURE__ */ N(
|
|
4171
|
+
Yr,
|
|
4172
|
+
{
|
|
4173
|
+
...e,
|
|
4174
|
+
...r,
|
|
4175
|
+
ref: (n) => {
|
|
4176
|
+
n && t.connect(n);
|
|
4177
|
+
}
|
|
4178
|
+
}
|
|
4179
|
+
);
|
|
4180
|
+
};
|
|
4181
|
+
G(no, {
|
|
4182
|
+
resolved: D.AccordionGroup,
|
|
4183
|
+
isCanvas: !0,
|
|
4184
|
+
rules: {
|
|
4185
|
+
canMoveIn: (e) => e.every((t) => de(t) == D.Accordion)
|
|
4186
|
+
},
|
|
4187
|
+
info: {
|
|
4188
|
+
displayName: "Accordion"
|
|
4189
|
+
}
|
|
4190
|
+
});
|
|
4191
|
+
const ao = ({ ...e }) => {
|
|
4192
|
+
const t = U(), { connectors: r } = H();
|
|
4193
|
+
return /* @__PURE__ */ N(
|
|
4194
|
+
Wr,
|
|
4195
|
+
{
|
|
4196
|
+
...e,
|
|
4197
|
+
ref: (n) => {
|
|
4198
|
+
n && r.connect(n);
|
|
4199
|
+
},
|
|
4200
|
+
...t
|
|
4201
|
+
}
|
|
4202
|
+
);
|
|
4203
|
+
};
|
|
4204
|
+
G(ao, {
|
|
4205
|
+
resolved: D.Video,
|
|
4206
|
+
isCanvas: !1,
|
|
4207
|
+
info: {
|
|
4208
|
+
displayName: "Video"
|
|
4209
|
+
}
|
|
4210
|
+
});
|
|
4211
|
+
const oo = ({ children: e, ...t }) => {
|
|
4212
|
+
const r = U(), { connectors: n } = H();
|
|
4213
|
+
return /* @__PURE__ */ K(
|
|
4214
|
+
Xr,
|
|
4215
|
+
{
|
|
4216
|
+
...t,
|
|
4217
|
+
...r,
|
|
4218
|
+
ref: (o) => {
|
|
4219
|
+
o && n.connect(o);
|
|
4220
|
+
},
|
|
4221
|
+
children: [
|
|
4222
|
+
e,
|
|
4223
|
+
se(e) && /* @__PURE__ */ N(pe, {})
|
|
4224
|
+
]
|
|
4225
|
+
}
|
|
4226
|
+
);
|
|
4227
|
+
};
|
|
4228
|
+
G(oo, {
|
|
4229
|
+
resolved: D.Box,
|
|
4230
|
+
isCanvas: !0,
|
|
4231
|
+
rules: {
|
|
4232
|
+
canMoveIn: () => !0
|
|
4233
|
+
},
|
|
4234
|
+
info: {
|
|
4235
|
+
displayName: "Block"
|
|
4236
|
+
}
|
|
4237
|
+
});
|
|
4238
|
+
const io = ({
|
|
4239
|
+
unitItemProps: e,
|
|
4240
|
+
captionProps: t,
|
|
4241
|
+
timeProps: r,
|
|
4242
|
+
units: n,
|
|
4243
|
+
date: o,
|
|
4244
|
+
hideAfterExpired: i,
|
|
4245
|
+
...p
|
|
4246
|
+
}) => {
|
|
4247
|
+
const { enabled: l } = Ae((m) => ({
|
|
4248
|
+
enabled: m.options.enabled
|
|
4249
|
+
})), { connectors: c } = H(), f = Object.fromEntries(
|
|
4250
|
+
["years", "months", "weeks", "days", "hours", "minutes", "seconds"].map((m) => [m, n.every((T) => T.value !== m)])
|
|
4251
|
+
);
|
|
4252
|
+
return /* @__PURE__ */ N(Zr, { date: o, omit: f, children: (m) => /* @__PURE__ */ K(
|
|
4253
|
+
bt,
|
|
4254
|
+
{
|
|
4255
|
+
...p,
|
|
4256
|
+
ref: (T) => {
|
|
4257
|
+
T && c.connect(T);
|
|
4258
|
+
},
|
|
4259
|
+
sx: {
|
|
4260
|
+
display: "flex",
|
|
4261
|
+
maxWidth: "100%",
|
|
4262
|
+
":empty": {
|
|
4263
|
+
display: "none"
|
|
4264
|
+
},
|
|
4265
|
+
...p?.sx
|
|
4266
|
+
},
|
|
4267
|
+
children: [
|
|
4268
|
+
i && m.isFinished ? /* @__PURE__ */ N(Qe, { children: l && /* @__PURE__ */ K("div", { className: "tw:flex tw:flex-col tw:items-center tw:gap-1 tw:p-2 tw:bg-neutral-100", children: [
|
|
4269
|
+
/* @__PURE__ */ N("p", { children: "Countdown is run out of time" }),
|
|
4270
|
+
/* @__PURE__ */ N("p", { className: "tw:text-xs tw:text-neutral-500", children: "(this only visible in the editor)" })
|
|
4271
|
+
] }) }) : /* @__PURE__ */ K(Qe, { children: [
|
|
4272
|
+
n.map((T) => {
|
|
4273
|
+
const _ = m[T.value];
|
|
4274
|
+
return /* @__PURE__ */ K(
|
|
4275
|
+
bt,
|
|
4276
|
+
{
|
|
4277
|
+
className: "tw:flex tw:flex-col tw:items-center",
|
|
4278
|
+
...e,
|
|
4279
|
+
sx: {
|
|
4280
|
+
display: "flex",
|
|
4281
|
+
flexDirection: "column",
|
|
4282
|
+
alignItems: "center",
|
|
4283
|
+
...e?.sx
|
|
4284
|
+
},
|
|
4285
|
+
children: [
|
|
4286
|
+
/* @__PURE__ */ N(Je, { ...r, children: _.toString().padStart(2, "0") }),
|
|
4287
|
+
/* @__PURE__ */ N(Je, { ...t, children: T.caption })
|
|
4288
|
+
]
|
|
4289
|
+
},
|
|
4290
|
+
T.value
|
|
4291
|
+
);
|
|
4292
|
+
}),
|
|
4293
|
+
l && n.length === 0 && /* @__PURE__ */ K("div", { className: "tw:flex tw:flex-col tw:items-center tw:gap-1 tw:p-2 tw:bg-neutral-100 tw:w-full", children: [
|
|
4294
|
+
/* @__PURE__ */ N("p", { children: "No units selected" }),
|
|
4295
|
+
/* @__PURE__ */ N("p", { className: "tw:text-xs tw:text-neutral-500", children: "(this only visible in the editor)" })
|
|
4296
|
+
] })
|
|
4297
|
+
] }),
|
|
4298
|
+
l && n.length === 0 && /* @__PURE__ */ K("div", { className: "tw:flex tw:flex-col tw:items-center tw:gap-1 tw:p-2 tw:bg-neutral-100 tw:w-full", children: [
|
|
4299
|
+
/* @__PURE__ */ N("p", { children: "No units selected" }),
|
|
4300
|
+
/* @__PURE__ */ N("p", { className: "tw:text-xs tw:text-neutral-500", children: "(this only visible in the editor)" })
|
|
4301
|
+
] })
|
|
4302
|
+
]
|
|
4303
|
+
}
|
|
4304
|
+
) });
|
|
4305
|
+
};
|
|
4306
|
+
G(io, {
|
|
4307
|
+
resolved: D.CountdownTimer,
|
|
4308
|
+
isCanvas: !1,
|
|
4309
|
+
info: {
|
|
4310
|
+
displayName: "Countdown timer"
|
|
4311
|
+
}
|
|
4312
|
+
});
|
|
4313
|
+
export {
|
|
4314
|
+
G as $,
|
|
4315
|
+
no as A,
|
|
4316
|
+
vr as B,
|
|
4317
|
+
Na as C,
|
|
4318
|
+
za as D,
|
|
4319
|
+
io as E,
|
|
4320
|
+
Qe as F,
|
|
4321
|
+
Sa as G,
|
|
4322
|
+
qa as H,
|
|
4323
|
+
Ha as I,
|
|
4324
|
+
Ao as J,
|
|
4325
|
+
To as K,
|
|
4326
|
+
Pa as L,
|
|
4327
|
+
Va as M,
|
|
4328
|
+
fe as N,
|
|
4329
|
+
_o as O,
|
|
4330
|
+
Oa as P,
|
|
4331
|
+
vo as Q,
|
|
4332
|
+
bo as R,
|
|
4333
|
+
Za as S,
|
|
4334
|
+
Ba as T,
|
|
4335
|
+
U,
|
|
4336
|
+
ao as V,
|
|
4337
|
+
xa as W,
|
|
4338
|
+
La as X,
|
|
4339
|
+
ja as Y,
|
|
4340
|
+
D as Z,
|
|
4341
|
+
pe as _,
|
|
4342
|
+
N as a,
|
|
4343
|
+
Ar as a0,
|
|
4344
|
+
Tr as a1,
|
|
4345
|
+
_a as a2,
|
|
4346
|
+
yo as a3,
|
|
4347
|
+
Eo as a4,
|
|
4348
|
+
tr as a5,
|
|
4349
|
+
Le as b,
|
|
4350
|
+
Ta as c,
|
|
4351
|
+
Gn as d,
|
|
4352
|
+
go as e,
|
|
4353
|
+
de as f,
|
|
4354
|
+
y as g,
|
|
4355
|
+
wa as h,
|
|
4356
|
+
Aa as i,
|
|
4357
|
+
K as j,
|
|
4358
|
+
Ra as k,
|
|
4359
|
+
oo as l,
|
|
4360
|
+
Ia as m,
|
|
4361
|
+
Da as n,
|
|
4362
|
+
Ka as o,
|
|
4363
|
+
Qa as p,
|
|
4364
|
+
Fa as q,
|
|
4365
|
+
to as r,
|
|
4366
|
+
Wa as s,
|
|
4367
|
+
Ga as t,
|
|
4368
|
+
Ae as u,
|
|
4369
|
+
Ja as v,
|
|
4370
|
+
Ya as w,
|
|
4371
|
+
ka as x,
|
|
4372
|
+
$a as y,
|
|
4373
|
+
Ua as z
|
|
4374
|
+
};
|