@esri/solutions-components 0.7.16 → 0.7.17
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +88 -0
- package/dist/assets/t9n/crowdsource-manager/resources_en.json +1 -1
- package/dist/assets/t9n/solution-item-sharing/resources_en.json +1 -1
- package/dist/cjs/ExpandToggle-f83d93f8.js +118 -0
- package/dist/cjs/FloatingArrow-7e1624ea.js +50 -0
- package/dist/cjs/Heading-fe70b3e6.js +25 -0
- package/dist/cjs/app-globals-b3f43c6b.js +69 -0
- package/dist/cjs/ar-5f98cd4b.js +104 -0
- package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +27 -25
- package/dist/cjs/bg-a55b554b.js +82 -0
- package/dist/cjs/bs-00e4d31b.js +51 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +18 -22
- package/dist/cjs/ca-cdd10d29.js +71 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +8 -8
- package/dist/cjs/calcite-accordion.cjs.entry.js +6 -4
- package/dist/cjs/calcite-action-bar_3.cjs.entry.js +52 -42
- package/dist/cjs/calcite-action-group_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +19 -18
- package/dist/cjs/calcite-action_2.cjs.entry.js +22 -18
- package/dist/cjs/calcite-alert_3.cjs.entry.js +40 -32
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block-section.cjs.entry.js +11 -10
- package/dist/cjs/calcite-block_2.cjs.entry.js +18 -17
- package/dist/cjs/calcite-button.cjs.entry.js +31 -26
- package/dist/cjs/calcite-card.cjs.entry.js +9 -9
- package/dist/cjs/calcite-checkbox.cjs.entry.js +13 -12
- package/dist/cjs/calcite-chip-group.cjs.entry.js +27 -22
- package/dist/cjs/calcite-chip.cjs.entry.js +20 -17
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +14 -13
- package/dist/cjs/calcite-color-picker.cjs.entry.js +26 -26
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +70 -57
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +21 -26
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter_2.cjs.entry.js +17 -16
- package/dist/cjs/calcite-flow-item.cjs.entry.js +14 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +8 -6
- package/dist/cjs/calcite-graph_2.cjs.entry.js +21 -18
- package/dist/cjs/calcite-handle.cjs.entry.js +15 -13
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +26 -20
- package/dist/cjs/calcite-input-date-picker_3.cjs.entry.js +43 -37
- package/dist/cjs/calcite-input-number.cjs.entry.js +35 -26
- package/dist/cjs/calcite-input-text.cjs.entry.js +23 -19
- package/dist/cjs/calcite-input-time-picker-4f7e55b6.js +1849 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +19 -19
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +20 -18
- package/dist/cjs/calcite-input_2.cjs.entry.js +39 -29
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-menu-item.cjs.entry.js +9 -9
- package/dist/cjs/calcite-menu.cjs.entry.js +11 -11
- package/dist/cjs/calcite-meter.cjs.entry.js +13 -11
- package/dist/cjs/calcite-modal.cjs.entry.js +22 -19
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +3 -3
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation.cjs.entry.js +7 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +13 -13
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +23 -18
- package/dist/cjs/calcite-pagination.cjs.entry.js +15 -13
- package/dist/cjs/calcite-panel.cjs.entry.js +22 -19
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +10 -9
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +16 -15
- package/dist/cjs/calcite-pick-list.cjs.entry.js +13 -13
- package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +11 -7
- package/dist/cjs/calcite-radio-button.cjs.entry.js +12 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +16 -15
- package/dist/cjs/calcite-scrim.cjs.entry.js +14 -11
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +18 -15
- package/dist/cjs/calcite-sheet.cjs.entry.js +12 -10
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +7 -7
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +92 -71
- package/dist/cjs/calcite-shell.cjs.entry.js +12 -9
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +12 -10
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +17 -15
- package/dist/cjs/calcite-stepper.cjs.entry.js +18 -14
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +21 -19
- package/dist/cjs/calcite-table-row.cjs.entry.js +17 -16
- package/dist/cjs/calcite-table.cjs.entry.js +55 -45
- package/dist/cjs/calcite-text-area.cjs.entry.js +22 -19
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tile-select.cjs.entry.js +7 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-time-picker.cjs.entry.js +19 -17
- package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +15 -12
- package/dist/cjs/calcite-tip.cjs.entry.js +12 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +21 -18
- package/dist/cjs/card-manager_3.cjs.entry.js +55 -38
- package/dist/cjs/common-4cd3537b.js +38 -0
- package/dist/cjs/conditionalSlot-63e11cba.js +63 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +10 -8
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
- package/dist/cjs/cs-d08a7e91.js +147 -0
- package/dist/cjs/da-2fb40e38.js +66 -0
- package/dist/cjs/date-a0b274b2.js +261 -0
- package/dist/cjs/de-at-8cb4fc8d.js +90 -0
- package/dist/cjs/de-ch-98281a16.js +90 -0
- package/dist/cjs/de-f88ab56a.js +91 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/dom-e111eaa6.js +1087 -0
- package/dist/cjs/downloadUtils-8f50633d.js +3124 -0
- package/dist/cjs/el-42222f37.js +66 -0
- package/dist/cjs/en-au-ce99afe4.js +66 -0
- package/dist/cjs/en-ca-44a0c79e.js +65 -0
- package/dist/cjs/en-gb-9bd18cc2.js +69 -0
- package/dist/cjs/es-a630678a.js +66 -0
- package/dist/cjs/es-mx-cb026d16.js +65 -0
- package/dist/cjs/et-9801d7bf.js +92 -0
- package/dist/cjs/feature-comments.cjs.entry.js +1 -1
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/fi-99bb68b2.js +115 -0
- package/dist/cjs/filter-8f1bbfe6.js +765 -0
- package/dist/cjs/floating-ui-290f99dd.js +1906 -0
- package/dist/cjs/focusTrapComponent-3add574e.js +1028 -0
- package/dist/cjs/form-0291a707.js +260 -0
- package/dist/cjs/fr-047990d9.js +68 -0
- package/dist/cjs/fr-ch-eefff196.js +66 -0
- package/dist/cjs/globalAttributes-c973ec3a.js +77 -0
- package/dist/cjs/he-3f50b1de.js +105 -0
- package/dist/cjs/helpers-a0719076.js +903 -0
- package/dist/cjs/hi-8fad23c8.js +65 -0
- package/dist/cjs/hr-85523ea5.js +80 -0
- package/dist/cjs/hu-133d6509.js +88 -0
- package/dist/cjs/id-cf31387c.js +66 -0
- package/dist/cjs/index-22bb61da.js +201 -0
- package/dist/cjs/index-b8a649fc.js +2530 -0
- package/dist/cjs/index.es-140aa937.js +10811 -0
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-export.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-header.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-splash.cjs.entry.js +6 -6
- package/dist/cjs/interactive-8aff886e.js +147 -0
- package/dist/cjs/it-87a2a88e.js +66 -0
- package/dist/cjs/it-ch-6197d836.js +66 -0
- package/dist/cjs/ja-1be83730.js +72 -0
- package/dist/cjs/ko-ea4b0148.js +72 -0
- package/dist/cjs/label-bcad2894.js +186 -0
- package/dist/cjs/languageSwitcher-7de41e17.js +58 -0
- package/dist/cjs/languageUtil-a3b464f8.js +69 -0
- package/dist/cjs/layout-manager.cjs.entry.js +3 -3
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loadModules-46d14e81.js +30 -0
- package/dist/cjs/loadModules-51c30ab9.js +23 -0
- package/dist/cjs/loadable-07a214c7.js +94 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/locale-6a627639.js +584 -0
- package/dist/cjs/locale-9b9d0e94.js +82 -0
- package/dist/cjs/locale-9db09b63.js +122 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/lt-4acaf0a6.js +97 -0
- package/dist/cjs/lv-251e08f1.js +66 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +62 -52
- package/dist/cjs/mapViewUtils-569e9644.js +467 -0
- package/dist/cjs/mk-8b1ae7dd.js +66 -0
- package/dist/cjs/nb-fa98c484.js +67 -0
- package/dist/cjs/nl-e71e8890.js +67 -0
- package/dist/cjs/openCloseComponent-8c9a1749.js +92 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/pl-8527f540.js +114 -0
- package/dist/cjs/pt-a1c7a6ea.js +67 -0
- package/dist/cjs/pt-br-c5319e0c.js +65 -0
- package/dist/cjs/public-notification.cjs.entry.js +32 -25
- package/dist/cjs/publicNotificationStore-3a17c2f4.js +47 -0
- package/dist/cjs/purify-f8c3e427.js +1712 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/restHelpersGet-e0737480.js +972 -0
- package/dist/cjs/ro-df6f795a.js +66 -0
- package/dist/cjs/ru-7516a3ba.js +126 -0
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/shared-list-render-25bedff5.js +364 -0
- package/dist/cjs/sk-9d31fa10.js +148 -0
- package/dist/cjs/sl-abecca0d.js +168 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +43 -17
- package/dist/cjs/solution-contents_3.cjs.entry.js +12 -11
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solution-resource-abec7452.js +141 -0
- package/dist/cjs/solution-store-ab6c980f.js +1344 -0
- package/dist/cjs/solutions-components.cjs.js +4 -4
- package/dist/cjs/spatial-ref.cjs.entry.js +8 -7
- package/dist/cjs/sr-334c5c73.js +101 -0
- package/dist/cjs/store-manager.cjs.entry.js +1 -1
- package/dist/cjs/sv-832dd153.js +71 -0
- package/dist/cjs/t9n-0556abcb.js +100 -0
- package/dist/cjs/th-cca86754.js +65 -0
- package/dist/cjs/throttle-aeeb1b4d.js +75 -0
- package/dist/cjs/time-06aad495.js +289 -0
- package/dist/cjs/tr-fcef3dae.js +66 -0
- package/dist/cjs/uk-69eceeec.js +104 -0
- package/dist/cjs/utils-35b31785.js +120 -0
- package/dist/cjs/utils-3df24da4.js +62 -0
- package/dist/cjs/utils-6587cc34.js +64 -0
- package/dist/cjs/vi-6afa69a0.js +70 -0
- package/dist/cjs/zh-cn-0513bc09.js +94 -0
- package/dist/cjs/zh-hk-73971e1d.js +71 -0
- package/dist/cjs/zh-tw-af0db947.js +92 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +2 -1
- package/dist/collection/components/buffer-tools/buffer-tools.js +2 -1
- package/dist/collection/components/card-manager/card-manager.js +3 -2
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +7 -5
- package/dist/collection/components/edit-card/edit-card.js +14 -10
- package/dist/collection/components/floor-filter/floor-filter.js +2 -1
- package/dist/collection/components/info-card/info-card.js +8 -5
- package/dist/collection/components/json-editor/assets/monaco-editor/package.json +63 -63
- package/dist/collection/components/json-editor/json-editor.js +21 -14
- package/dist/collection/components/layer-table/layer-table.js +36 -22
- package/dist/collection/components/map-card/map-card.js +7 -5
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +7 -12
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +8 -6
- package/dist/collection/components/map-picker/map-picker.js +6 -4
- package/dist/collection/components/map-search/map-search.js +8 -12
- package/dist/collection/components/map-select-tools/map-select-tools.js +36 -32
- package/dist/collection/components/map-tools/map-tools.js +5 -3
- package/dist/collection/components/pdf-download/pdf-download.js +2 -1
- package/dist/collection/components/public-notification/public-notification.js +21 -14
- package/dist/collection/components/refine-selection/refine-selection.js +13 -8
- package/dist/collection/components/solution-configuration/solution-configuration.js +1 -1
- package/dist/collection/components/solution-contents/solution-contents.js +3 -2
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +2 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +2 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +2 -1
- package/dist/collection/components/store-manager/store-manager.js +1 -1
- package/dist/collection/utils/common.js +2 -1
- package/dist/collection/utils/downloadUtils.js +15 -13
- package/dist/collection/utils/locale.js +3 -2
- package/dist/collection/utils/mapViewUtils.js +2 -5
- package/dist/collection/utils/publicNotificationStore.js +1 -1
- package/dist/collection/utils/queryUtils.js +3 -2
- package/dist/collection/utils/solution-store.js +1 -3
- package/dist/collection/utils/test/downloadUtils.spec.js +2 -1
- package/dist/collection/utils/test/solution-store.spec.js +2 -5
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-bar.js +11 -8
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +8 -8
- package/dist/components/action-pad.js +5 -4
- package/dist/components/action.js +10 -6
- package/dist/components/alert.js +3 -2
- package/dist/components/arcgis-login.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/basemap-gallery2.js +3 -2
- package/dist/components/block.js +1 -1
- package/dist/components/buffer-tools2.js +3 -2
- package/dist/components/button.js +17 -12
- package/dist/components/calcite-accordion-item.js +2 -2
- package/dist/components/calcite-accordion.js +5 -3
- package/dist/components/calcite-block-section.js +3 -2
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-chip-group.js +20 -15
- package/dist/components/calcite-color-picker.js +11 -11
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-flow-item.js +3 -2
- package/dist/components/calcite-flow.js +6 -4
- package/dist/components/calcite-inline-editable.js +14 -8
- package/dist/components/calcite-input-time-picker.js +5 -3
- package/dist/components/calcite-input-time-zone.js +5 -3
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-meter.js +5 -3
- package/dist/components/calcite-navigation-logo.js +2 -2
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +3 -2
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-pick-list-group.js +3 -2
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-radio-button-group.js +9 -5
- package/dist/components/calcite-radio-button.js +2 -2
- package/dist/components/calcite-rating.js +3 -2
- package/dist/components/calcite-sheet.js +5 -3
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-sortable-list.js +5 -3
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +7 -5
- package/dist/components/calcite-stepper.js +11 -7
- package/dist/components/calcite-table-row.js +10 -9
- package/dist/components/calcite-table.js +46 -36
- package/dist/components/calcite-text-area.js +7 -4
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +3 -2
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +7 -4
- package/dist/components/calcite-tip.js +3 -2
- package/dist/components/card-manager2.js +4 -3
- package/dist/components/checkbox.js +3 -2
- package/dist/components/chip.js +8 -5
- package/dist/components/color-picker-hex-input.js +5 -4
- package/dist/components/color-picker-swatch.js +4 -4
- package/dist/components/combobox-item.js +2 -2
- package/dist/components/combobox.js +22 -16
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/crowdsource-manager.js +8 -6
- package/dist/components/crowdsource-reporter.js +1 -1
- package/dist/components/date-picker-day.js +2 -6
- package/dist/components/date-picker-month-header.js +4 -7
- package/dist/components/date-picker-month.js +6 -4
- package/dist/components/date-picker.js +3 -2
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/downloadUtils.js +51 -23
- package/dist/components/dropdown-group.js +5 -3
- package/dist/components/dropdown-item.js +4 -3
- package/dist/components/dropdown.js +9 -7
- package/dist/components/edit-card2.js +15 -11
- package/dist/components/feature-comments.js +1 -1
- package/dist/components/feature-form-flow-item.js +1 -1
- package/dist/components/features-flow-item.js +1 -1
- package/dist/components/filter2.js +4 -3
- package/dist/components/floating-ui.js +3 -15
- package/dist/components/floor-filter2.js +3 -2
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +5 -3
- package/dist/components/handle.js +5 -3
- package/dist/components/icon.js +3 -2
- package/dist/components/index.es.js +112 -161
- package/dist/components/index.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/info-card2.js +9 -6
- package/dist/components/input-date-picker.js +19 -13
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +22 -13
- package/dist/components/input-text.js +10 -6
- package/dist/components/input.js +26 -16
- package/dist/components/instant-apps-ckeditor-wrapper2.js +1 -1
- package/dist/components/instant-apps-control-panel.js +1 -1
- package/dist/components/instant-apps-export.js +1 -1
- package/dist/components/instant-apps-filter-list2.js +1 -1
- package/dist/components/instant-apps-header2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-classic2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-count2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +1 -1
- package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-layer-element2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-legend-element2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-relationship2.js +1 -1
- package/dist/components/instant-apps-interactive-legend.js +1 -1
- package/dist/components/instant-apps-keyboard-shortcuts.js +1 -1
- package/dist/components/instant-apps-landing-page.js +1 -1
- package/dist/components/instant-apps-language-switcher.js +1 -1
- package/dist/components/instant-apps-language-translator-item2.js +1 -1
- package/dist/components/instant-apps-language-translator-search2.js +1 -1
- package/dist/components/instant-apps-language-translator2.js +1 -1
- package/dist/components/instant-apps-measurement-tool2.js +1 -1
- package/dist/components/instant-apps-measurement.js +1 -1
- package/dist/components/instant-apps-popover.js +1 -1
- package/dist/components/instant-apps-popovers.js +1 -1
- package/dist/components/instant-apps-scoreboard.js +1 -1
- package/dist/components/instant-apps-social-share2.js +1 -1
- package/dist/components/instant-apps-splash.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/json-editor2.js +22 -15
- package/dist/components/label2.js +1 -1
- package/dist/components/layer-table2.js +37 -23
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/list-flow-item.js +1 -1
- package/dist/components/list-item.js +5 -5
- package/dist/components/list.js +20 -13
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +2 -2
- package/dist/components/locale.js +4 -3
- package/dist/components/location-flow-item.js +1 -1
- package/dist/components/map-card2.js +8 -6
- package/dist/components/map-draw-tools2.js +8 -13
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +9 -7
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +7 -5
- package/dist/components/map-search2.js +9 -13
- package/dist/components/map-select-tools2.js +37 -33
- package/dist/components/map-tools2.js +6 -4
- package/dist/components/mapViewUtils.js +2 -5
- package/dist/components/menu.js +2 -2
- package/dist/components/modal.js +10 -7
- package/dist/components/notice.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/option.js +5 -3
- package/dist/components/pagination.js +6 -4
- package/dist/components/panel.js +9 -6
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +3 -2
- package/dist/components/pick-list-item.js +3 -2
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/public-notification.js +22 -15
- package/dist/components/publicNotificationStore.js +1 -1
- package/dist/components/purify.js +17 -31
- package/dist/components/queryUtils.js +3 -2
- package/dist/components/refine-results-flow-item.js +1 -1
- package/dist/components/refine-selection2.js +14 -9
- package/dist/components/restHelpersGet.js +382 -344
- package/dist/components/scrim.js +7 -4
- package/dist/components/segmented-control-item.js +1 -1
- package/dist/components/segmented-control.js +8 -5
- package/dist/components/select.js +9 -6
- package/dist/components/share-item.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/shell-panel.js +11 -8
- package/dist/components/shell.js +7 -4
- package/dist/components/slider.js +4 -3
- package/dist/components/solution-configuration.js +28 -2
- package/dist/components/solution-contents2.js +4 -3
- package/dist/components/solution-item-details2.js +3 -2
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +1 -1
- package/dist/components/solution-resource.js +107 -107
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-store.js +510 -496
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +3 -2
- package/dist/components/spatial-ref2.js +3 -2
- package/dist/components/stack.js +1 -1
- package/dist/components/store-manager.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +14 -10
- package/dist/components/tab-title.js +9 -7
- package/dist/components/tab.js +3 -2
- package/dist/components/table-cell.js +4 -3
- package/dist/components/table-header.js +7 -6
- package/dist/components/tabs.js +3 -2
- package/dist/components/tile.js +2 -2
- package/dist/components/time-picker.js +8 -6
- package/dist/components/tooltip.js +1 -1
- package/dist/components/tree-item.js +7 -5
- package/dist/components/tree.js +7 -6
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/value-list-item.js +3 -2
- package/dist/components/value-list.js +3 -3
- package/dist/esm/ExpandToggle-540998b5.js +110 -0
- package/dist/esm/FloatingArrow-245804f3.js +48 -0
- package/dist/esm/Heading-c45d3f45.js +22 -0
- package/dist/esm/app-globals-e4f88f7e.js +67 -0
- package/dist/esm/ar-35006b74.js +102 -0
- package/dist/esm/arcgis-login.entry.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +27 -25
- package/dist/esm/bg-c289978f.js +80 -0
- package/dist/esm/bs-6f9fb44a.js +49 -0
- package/dist/esm/buffer-tools_3.entry.js +18 -22
- package/dist/esm/ca-7962c8b7.js +69 -0
- package/dist/esm/calcite-accordion-item.entry.js +8 -8
- package/dist/esm/calcite-accordion.entry.js +6 -4
- package/dist/esm/calcite-action-bar_3.entry.js +52 -42
- package/dist/esm/calcite-action-group_2.entry.js +20 -20
- package/dist/esm/calcite-action-pad_2.entry.js +19 -18
- package/dist/esm/calcite-action_2.entry.js +22 -18
- package/dist/esm/calcite-alert_3.entry.js +40 -32
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block-section.entry.js +11 -10
- package/dist/esm/calcite-block_2.entry.js +18 -17
- package/dist/esm/calcite-button.entry.js +31 -26
- package/dist/esm/calcite-card.entry.js +9 -9
- package/dist/esm/calcite-checkbox.entry.js +13 -12
- package/dist/esm/calcite-chip-group.entry.js +27 -22
- package/dist/esm/calcite-chip.entry.js +20 -17
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +14 -13
- package/dist/esm/calcite-color-picker.entry.js +26 -26
- package/dist/esm/calcite-combobox-item-group.entry.js +5 -5
- package/dist/esm/calcite-combobox_6.entry.js +70 -57
- package/dist/esm/calcite-date-picker-day_3.entry.js +21 -26
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter_2.entry.js +17 -16
- package/dist/esm/calcite-flow-item.entry.js +14 -13
- package/dist/esm/calcite-flow.entry.js +8 -6
- package/dist/esm/calcite-graph_2.entry.js +21 -18
- package/dist/esm/calcite-handle.entry.js +15 -13
- package/dist/esm/calcite-icon.entry.js +7 -6
- package/dist/esm/calcite-inline-editable.entry.js +26 -20
- package/dist/esm/calcite-input-date-picker_3.entry.js +43 -37
- package/dist/esm/calcite-input-number.entry.js +35 -26
- package/dist/esm/calcite-input-text.entry.js +23 -19
- package/dist/esm/calcite-input-time-picker-63439178.js +1846 -0
- package/dist/esm/calcite-input-time-picker.entry.js +19 -19
- package/dist/esm/calcite-input-time-zone.entry.js +20 -18
- package/dist/esm/calcite-input_2.entry.js +39 -29
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list-item-group.entry.js +4 -4
- package/dist/esm/calcite-menu-item.entry.js +9 -9
- package/dist/esm/calcite-menu.entry.js +11 -11
- package/dist/esm/calcite-meter.entry.js +13 -11
- package/dist/esm/calcite-modal.entry.js +22 -19
- package/dist/esm/calcite-navigation-logo.entry.js +3 -3
- package/dist/esm/calcite-navigation-user.entry.js +2 -2
- package/dist/esm/calcite-navigation.entry.js +7 -6
- package/dist/esm/calcite-notice.entry.js +13 -13
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +23 -18
- package/dist/esm/calcite-pagination.entry.js +15 -13
- package/dist/esm/calcite-panel.entry.js +22 -19
- package/dist/esm/calcite-pick-list-group.entry.js +10 -9
- package/dist/esm/calcite-pick-list-item.entry.js +16 -15
- package/dist/esm/calcite-pick-list.entry.js +13 -13
- package/dist/esm/calcite-popover.entry.js +16 -16
- package/dist/esm/calcite-radio-button-group.entry.js +11 -7
- package/dist/esm/calcite-radio-button.entry.js +12 -12
- package/dist/esm/calcite-rating.entry.js +16 -15
- package/dist/esm/calcite-scrim.entry.js +14 -11
- package/dist/esm/calcite-segmented-control_2.entry.js +18 -15
- package/dist/esm/calcite-sheet.entry.js +12 -10
- package/dist/esm/calcite-shell-center-row.entry.js +7 -7
- package/dist/esm/calcite-shell-panel_14.entry.js +92 -71
- package/dist/esm/calcite-shell.entry.js +12 -9
- package/dist/esm/calcite-sortable-list.entry.js +12 -10
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +17 -15
- package/dist/esm/calcite-stepper.entry.js +18 -14
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-table-cell_2.entry.js +21 -19
- package/dist/esm/calcite-table-row.entry.js +17 -16
- package/dist/esm/calcite-table.entry.js +55 -45
- package/dist/esm/calcite-text-area.entry.js +22 -19
- package/dist/esm/calcite-tile-select-group.entry.js +3 -3
- package/dist/esm/calcite-tile-select.entry.js +7 -6
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-time-picker.entry.js +19 -17
- package/dist/esm/calcite-tip-group.entry.js +1 -1
- package/dist/esm/calcite-tip-manager.entry.js +15 -12
- package/dist/esm/calcite-tip.entry.js +12 -11
- package/dist/esm/calcite-tooltip.entry.js +8 -8
- package/dist/esm/calcite-tree_2.entry.js +21 -18
- package/dist/esm/card-manager_3.entry.js +55 -38
- package/dist/esm/common-2cf42ac2.js +36 -0
- package/dist/esm/conditionalSlot-1149b5cb.js +60 -0
- package/dist/esm/crowdsource-manager.entry.js +10 -8
- package/dist/esm/crowdsource-reporter.entry.js +1 -1
- package/dist/esm/cs-6d13069b.js +145 -0
- package/dist/esm/da-14097e6c.js +64 -0
- package/dist/esm/date-1743b515.js +245 -0
- package/dist/esm/de-at-b733db65.js +88 -0
- package/dist/esm/de-ch-5ad0cb74.js +88 -0
- package/dist/esm/de-dff2571b.js +89 -0
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/dom-492b1b24.js +1056 -0
- package/dist/esm/downloadUtils-9dee8bc0.js +3118 -0
- package/dist/esm/el-688e05ba.js +64 -0
- package/dist/esm/en-au-357e70d8.js +64 -0
- package/dist/esm/en-ca-1e0b6b47.js +63 -0
- package/dist/esm/en-gb-861a17f2.js +67 -0
- package/dist/esm/es-291ab4bd.js +64 -0
- package/dist/esm/es-mx-0a7283a7.js +63 -0
- package/dist/esm/et-addd2617.js +90 -0
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/fi-469884d5.js +113 -0
- package/dist/esm/filter-8b806ae6.js +763 -0
- package/dist/esm/floating-ui-03eb4c82.js +1898 -0
- package/dist/esm/focusTrapComponent-2e7de651.js +1023 -0
- package/dist/esm/form-9bccaf85.js +252 -0
- package/dist/esm/fr-ch-115d3fda.js +64 -0
- package/dist/esm/fr-f5cb34ca.js +66 -0
- package/dist/esm/globalAttributes-03c9e433.js +74 -0
- package/dist/esm/he-6e5f5c56.js +103 -0
- package/dist/esm/helpers-078591d2.js +877 -0
- package/dist/esm/hi-503240c2.js +63 -0
- package/dist/esm/hr-cc08d6fc.js +78 -0
- package/dist/esm/hu-69ac240d.js +86 -0
- package/dist/esm/id-99547746.js +64 -0
- package/dist/esm/index-7183ce4a.js +2496 -0
- package/dist/esm/index-857df22e.js +199 -0
- package/dist/esm/index.es-54e86c8e.js +10725 -0
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +7 -7
- package/dist/esm/instant-apps-control-panel.entry.js +3 -3
- package/dist/esm/instant-apps-export.entry.js +6 -6
- package/dist/esm/instant-apps-header.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend.entry.js +7 -7
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +5 -5
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +8 -8
- package/dist/esm/instant-apps-language-translator.entry.js +8 -8
- package/dist/esm/instant-apps-measurement.entry.js +5 -5
- package/dist/esm/instant-apps-popover.entry.js +5 -5
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +6 -6
- package/dist/esm/instant-apps-splash.entry.js +6 -6
- package/dist/esm/interactive-20bb1dc4.js +143 -0
- package/dist/esm/it-ch-a83801f6.js +64 -0
- package/dist/esm/it-dbb6ea7d.js +64 -0
- package/dist/esm/ja-79dbb02f.js +70 -0
- package/dist/esm/ko-31ebe067.js +70 -0
- package/dist/esm/label-14301f4d.js +179 -0
- package/dist/esm/languageSwitcher-62232826.js +55 -0
- package/dist/esm/languageUtil-8b54477c.js +66 -0
- package/dist/esm/layout-manager.entry.js +3 -3
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loadModules-b677d6d7.js +21 -0
- package/dist/esm/loadModules-cea493da.js +28 -0
- package/dist/esm/loadable-c3685e51.js +89 -0
- package/dist/esm/loader.js +4 -4
- package/dist/esm/locale-834c52c6.js +119 -0
- package/dist/esm/locale-89b49505.js +77 -0
- package/dist/esm/locale-8cfa3086.js +571 -0
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/lt-94d3f4b8.js +95 -0
- package/dist/esm/lv-d770ed0d.js +64 -0
- package/dist/esm/map-select-tools_3.entry.js +62 -52
- package/dist/esm/mapViewUtils-066602d5.js +450 -0
- package/dist/esm/mk-1046d60a.js +64 -0
- package/dist/esm/nb-dad0b4b9.js +65 -0
- package/dist/esm/nl-a968c4b7.js +65 -0
- package/dist/esm/openCloseComponent-982c6b9e.js +90 -0
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/pl-a0037bd3.js +112 -0
- package/dist/esm/pt-br-44c11565.js +63 -0
- package/dist/esm/pt-e3d9370c.js +65 -0
- package/dist/esm/public-notification.entry.js +32 -25
- package/dist/esm/publicNotificationStore-9362d7ae.js +45 -0
- package/dist/esm/purify-c99d2ace.js +1710 -0
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/restHelpersGet-af032ab2.js +959 -0
- package/dist/esm/ro-290e025d.js +64 -0
- package/dist/esm/ru-38ff91f1.js +124 -0
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/shared-list-render-89e4bcff.js +342 -0
- package/dist/esm/sk-9622a24b.js +146 -0
- package/dist/esm/sl-6bc83a24.js +166 -0
- package/dist/esm/solution-configuration.entry.js +34 -8
- package/dist/esm/solution-contents_3.entry.js +12 -11
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solution-resource-7b8d302d.js +138 -0
- package/dist/esm/solution-store-b08696f7.js +1342 -0
- package/dist/esm/solutions-components.js +5 -5
- package/dist/esm/spatial-ref.entry.js +8 -7
- package/dist/esm/sr-35e575d8.js +99 -0
- package/dist/esm/store-manager.entry.js +1 -1
- package/dist/esm/sv-d80fa359.js +69 -0
- package/dist/esm/t9n-3c5e55ab.js +95 -0
- package/dist/esm/th-23e71d40.js +63 -0
- package/dist/esm/throttle-9ab70933.js +73 -0
- package/dist/esm/time-d956a7c8.js +274 -0
- package/dist/esm/tr-961fd2f3.js +64 -0
- package/dist/esm/uk-4e8a425a.js +102 -0
- package/dist/esm/utils-56206ec2.js +61 -0
- package/dist/esm/utils-8287806a.js +51 -0
- package/dist/esm/utils-b1bd777e.js +111 -0
- package/dist/esm/vi-ad983882.js +68 -0
- package/dist/esm/zh-cn-5b6fd039.js +92 -0
- package/dist/esm/zh-hk-7439b11d.js +69 -0
- package/dist/esm/zh-tw-cf384663.js +90 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +77 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +264 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +338 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +105 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +113 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +73 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +113 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +421 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +81 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +298 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +145 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +804 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +183 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +167 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +385 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +74 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +244 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +66 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +74 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +425 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +211 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +101 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +72 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +290 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +95 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +189 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +136 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +84 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +282 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +72 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +136 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +98 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +89 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +51 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +99 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +73 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +89 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +630 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +267 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +109 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +484 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +397 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +99 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +67 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +134 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +148 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +122 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +244 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +88 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +298 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +50 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +281 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +183 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +529 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +142 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +137 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +112 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +289 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +36 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +36 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +138 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +227 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +92 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +83 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +179 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +194 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +110 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +164 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +58 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +178 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +76 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +95 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +172 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +218 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +267 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +184 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +124 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +360 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +388 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +68 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +184 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +118 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +147 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +458 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +189 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +75 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +122 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +349 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +143 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +133 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +130 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +74 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +102 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +288 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +171 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +156 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +64 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +144 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +151 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +47 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +194 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +120 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +41 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +318 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +105 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +121 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-control-panel/instant-apps-control-panel.css +3 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export/instant-apps-export.css +81 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-filter-list/instant-apps-filter-list.css +104 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +165 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-classic/instant-apps-interactive-legend-classic.css +124 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-count/instant-apps-interactive-legend-count.css +18 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element/instant-apps-interactive-legend-group-legend-element.css +10 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element-caption/instant-apps-interactive-legend-group-legend-element-caption.css +65 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element/instant-apps-interactive-legend-layer-element.css +17 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element-caption/instant-apps-interactive-legend-layer-element-caption.css +66 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element/instant-apps-interactive-legend-legend-element.css +10 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element-caption/instant-apps-interactive-legend-legend-element-caption.css +51 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-relationship/instant-apps-interactive-legend-relationship.css +15 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend.css +12 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-keyboard-shortcuts/instant-apps-keyboard-shortcuts.css +33 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +222 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-switcher/instant-apps-language-switcher.css +13 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-ckeditor-wrapper/instant-apps-ckeditor-wrapper.css +3 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-item/instant-apps-language-translator-item.css +83 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-search/instant-apps-language-translator-search.css +34 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator.css +86 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement-tool/instant-apps-measurement-tool.css +6 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement.css +6 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popover/instant-apps-popover.css +58 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popovers/instant-apps-popovers.css +3 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-scoreboard/instant-apps-scoreboard.css +200 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-social-share/instant-apps-social-share.css +273 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-splash/instant-apps-splash.css +10 -0
- package/dist/solutions-components/assets/monaco-editor/package.json +63 -63
- package/dist/solutions-components/p-00f9774c.js +6 -0
- package/dist/solutions-components/p-0200864c.entry.js +11 -0
- package/dist/solutions-components/p-0250dec5.js +6 -0
- package/dist/solutions-components/p-026b1345.js +16 -0
- package/dist/solutions-components/p-02714171.entry.js +11 -0
- package/dist/solutions-components/p-034d43fb.js +6 -0
- package/dist/solutions-components/p-0511c98c.js +11 -0
- package/dist/solutions-components/p-0637dbc2.entry.js +6 -0
- package/dist/solutions-components/p-07b31dc9.js +6 -0
- package/dist/solutions-components/p-080249de.js +6 -0
- package/dist/solutions-components/p-0a0d0d3a.entry.js +6 -0
- package/dist/solutions-components/p-0b47b407.js +6 -0
- package/dist/solutions-components/p-0c97de08.js +12 -0
- package/dist/solutions-components/p-0d97c2c5.entry.js +17 -0
- package/dist/solutions-components/p-0e723ffc.js +6 -0
- package/dist/solutions-components/p-105bf4aa.entry.js +6 -0
- package/dist/solutions-components/p-11b59592.entry.js +16 -0
- package/dist/solutions-components/p-121a5dac.entry.js +11 -0
- package/dist/solutions-components/p-133de052.entry.js +11 -0
- package/dist/solutions-components/p-13bfc206.entry.js +29 -0
- package/dist/solutions-components/p-14097810.entry.js +6 -0
- package/dist/solutions-components/p-14a48b14.js +6 -0
- package/dist/solutions-components/p-166d5bcc.entry.js +6 -0
- package/dist/solutions-components/p-1711c535.entry.js +6 -0
- package/dist/solutions-components/p-17183100.js +6 -0
- package/dist/solutions-components/p-1b9fb070.entry.js +6 -0
- package/dist/solutions-components/p-1bdd64a0.js +489 -0
- package/dist/solutions-components/p-1be63b50.js +11 -0
- package/dist/solutions-components/p-1c720ed5.entry.js +6 -0
- package/dist/solutions-components/p-1cb4c542.entry.js +17 -0
- package/dist/solutions-components/p-1f88a556.entry.js +6 -0
- package/dist/solutions-components/p-1fc220c7.js +11 -0
- package/dist/solutions-components/p-21c2d29c.entry.js +6 -0
- package/dist/solutions-components/p-21ccd955.entry.js +6 -0
- package/dist/solutions-components/p-220ec0d1.js +66 -0
- package/dist/solutions-components/p-225c4ca4.js +6 -0
- package/dist/solutions-components/p-23662977.entry.js +11 -0
- package/dist/solutions-components/p-259f6f81.js +11 -0
- package/dist/solutions-components/p-25dd768d.js +11 -0
- package/dist/solutions-components/p-29602eff.entry.js +11 -0
- package/dist/solutions-components/p-2d1b8cfa.js +11 -0
- package/dist/solutions-components/p-2e1f7c0e.entry.js +11 -0
- package/dist/solutions-components/p-3022da2d.js +6 -0
- package/dist/solutions-components/p-324d71f4.entry.js +11 -0
- package/dist/solutions-components/p-337acb3c.js +11 -0
- package/dist/solutions-components/p-33f07da5.entry.js +6 -0
- package/dist/solutions-components/p-34cacf32.js +6 -0
- package/dist/solutions-components/p-355249fc.js +6 -0
- package/dist/solutions-components/p-36eb8399.js +145 -0
- package/dist/solutions-components/p-3bf0115f.entry.js +6 -0
- package/dist/solutions-components/p-3c5d3b4a.js +6 -0
- package/dist/solutions-components/p-3d17ee9f.entry.js +6 -0
- package/dist/solutions-components/p-3ea18af7.entry.js +6 -0
- package/dist/solutions-components/p-40235cb7.entry.js +11 -0
- package/dist/solutions-components/p-414240b2.js +22 -0
- package/dist/solutions-components/p-41f7bc94.entry.js +11 -0
- package/dist/solutions-components/p-43546966.entry.js +6 -0
- package/dist/solutions-components/p-43e67b3c.entry.js +11 -0
- package/dist/solutions-components/p-4613e205.js +6 -0
- package/dist/solutions-components/p-4647c429.js +6 -0
- package/dist/solutions-components/p-48828002.entry.js +16 -0
- package/dist/solutions-components/p-48ff9cea.js +21 -0
- package/dist/solutions-components/p-4da72ee8.entry.js +11 -0
- package/dist/solutions-components/p-4ee789e1.entry.js +21 -0
- package/dist/solutions-components/p-4f71a1a0.js +6 -0
- package/dist/solutions-components/p-50764143.entry.js +17 -0
- package/dist/solutions-components/p-50ea26de.entry.js +11 -0
- package/dist/solutions-components/p-52ad6ff9.entry.js +6 -0
- package/dist/solutions-components/p-531d91d6.js +36 -0
- package/dist/solutions-components/p-532b7378.entry.js +11 -0
- package/dist/solutions-components/p-5752785e.entry.js +11 -0
- package/dist/solutions-components/p-58054bc2.js +6 -0
- package/dist/solutions-components/p-5953ebe8.entry.js +36 -0
- package/dist/solutions-components/p-5a885617.entry.js +6 -0
- package/dist/solutions-components/p-5c3fd315.entry.js +11 -0
- package/dist/solutions-components/p-5d2ccc75.entry.js +11 -0
- package/dist/solutions-components/p-5e530f8c.js +6 -0
- package/dist/solutions-components/p-5e9b05c0.entry.js +11 -0
- package/dist/solutions-components/p-5fd1eb64.js +11 -0
- package/dist/solutions-components/p-60d212df.entry.js +6 -0
- package/dist/solutions-components/p-61a523a6.entry.js +6 -0
- package/dist/solutions-components/p-6268020e.entry.js +6 -0
- package/dist/solutions-components/p-627c19b5.entry.js +6 -0
- package/dist/solutions-components/p-62e92138.js +6 -0
- package/dist/solutions-components/p-634835fe.js +6 -0
- package/dist/solutions-components/p-6437fee1.entry.js +11 -0
- package/dist/solutions-components/p-653af7e0.js +11 -0
- package/dist/solutions-components/p-663a433a.entry.js +11 -0
- package/dist/solutions-components/p-6656c53e.entry.js +6 -0
- package/dist/solutions-components/p-6665fa1f.js +6 -0
- package/dist/solutions-components/p-683cded6.entry.js +6 -0
- package/dist/solutions-components/p-68434a63.js +6 -0
- package/dist/solutions-components/p-6a4b1e48.entry.js +11 -0
- package/dist/solutions-components/p-6b943f52.js +21 -0
- package/dist/solutions-components/p-6c3cdd09.entry.js +6 -0
- package/dist/solutions-components/p-6e406a7b.js +6 -0
- package/dist/solutions-components/p-708294ca.entry.js +11 -0
- package/dist/solutions-components/p-722ae773.js +11 -0
- package/dist/solutions-components/p-7440c114.entry.js +11 -0
- package/dist/solutions-components/p-75f7bfe3.entry.js +6 -0
- package/dist/solutions-components/p-75fbe76c.js +6 -0
- package/dist/solutions-components/p-76d60881.entry.js +6 -0
- package/dist/solutions-components/p-78780f63.js +7 -0
- package/dist/solutions-components/p-789f606f.entry.js +6 -0
- package/dist/solutions-components/p-799c3f19.js +6 -0
- package/dist/solutions-components/p-79ba73cb.js +11 -0
- package/dist/solutions-components/p-79f95735.entry.js +11 -0
- package/dist/solutions-components/p-7a06dcdf.js +6 -0
- package/dist/solutions-components/p-7c5191ff.entry.js +6 -0
- package/dist/solutions-components/p-7e82a730.js +6 -0
- package/dist/solutions-components/p-8118146c.entry.js +11 -0
- package/dist/solutions-components/p-825c045a.entry.js +6 -0
- package/dist/solutions-components/p-82b4ab94.js +6 -0
- package/dist/solutions-components/p-83225907.js +6 -0
- package/dist/solutions-components/p-85a89f1d.entry.js +11 -0
- package/dist/solutions-components/p-8684a905.js +21 -0
- package/dist/solutions-components/p-8772a573.js +6 -0
- package/dist/solutions-components/p-8934e858.entry.js +11 -0
- package/dist/solutions-components/p-897037f0.entry.js +6 -0
- package/dist/solutions-components/p-8b5b4662.js +6 -0
- package/dist/solutions-components/p-8c7fc78f.entry.js +11 -0
- package/dist/solutions-components/p-8f8fe5d0.entry.js +6 -0
- package/dist/solutions-components/p-92ea9e81.js +6 -0
- package/dist/solutions-components/p-941ab8c0.js +6 -0
- package/dist/solutions-components/p-96974e5f.js +6 -0
- package/dist/solutions-components/p-98013072.entry.js +11 -0
- package/dist/solutions-components/p-980cd015.entry.js +11 -0
- package/dist/solutions-components/p-98fe7b5d.entry.js +6 -0
- package/dist/solutions-components/p-99ca7674.entry.js +6 -0
- package/dist/solutions-components/p-9bcbc1cc.js +21 -0
- package/dist/solutions-components/p-9e3b8632.entry.js +11 -0
- package/dist/solutions-components/p-a0b8cecf.entry.js +6 -0
- package/dist/solutions-components/p-a0be72b6.entry.js +11 -0
- package/dist/solutions-components/p-a11fca14.js +6 -0
- package/dist/solutions-components/p-a32b61ee.entry.js +6 -0
- package/dist/solutions-components/p-a3a64af2.entry.js +11 -0
- package/dist/solutions-components/p-a4755ea8.entry.js +6 -0
- package/dist/solutions-components/p-a4772574.js +6 -0
- package/dist/solutions-components/p-a4aef40c.entry.js +17 -0
- package/dist/solutions-components/p-a8a0187d.js +6 -0
- package/dist/solutions-components/p-a9c30842.entry.js +11 -0
- package/dist/solutions-components/p-a9f21aaf.entry.js +6 -0
- package/dist/solutions-components/p-a9fc934d.js +6 -0
- package/dist/solutions-components/p-aa3092cf.js +6 -0
- package/dist/solutions-components/p-ac6a3e13.js +6 -0
- package/dist/solutions-components/p-ada368a5.entry.js +6 -0
- package/dist/solutions-components/p-b170916e.js +11 -0
- package/dist/solutions-components/p-b21a9b47.js +11 -0
- package/dist/solutions-components/p-b42bde59.entry.js +11 -0
- package/dist/solutions-components/p-b6efec9a.entry.js +6 -0
- package/dist/solutions-components/p-b78a1c21.js +6 -0
- package/dist/solutions-components/p-b82179c0.js +6 -0
- package/dist/solutions-components/p-baf82bab.entry.js +6 -0
- package/dist/solutions-components/p-bf23173c.js +6 -0
- package/dist/solutions-components/p-bf9e18d4.js +8 -0
- package/dist/solutions-components/p-c147117f.entry.js +17 -0
- package/dist/solutions-components/p-c21f578f.js +6 -0
- package/dist/solutions-components/p-c252997f.entry.js +17 -0
- package/dist/solutions-components/p-c2b20b85.entry.js +11 -0
- package/dist/solutions-components/p-c504529e.entry.js +6 -0
- package/dist/solutions-components/p-c5cb8804.js +6 -0
- package/dist/solutions-components/p-c8cf222b.entry.js +6 -0
- package/dist/solutions-components/p-c99843aa.entry.js +6 -0
- package/dist/solutions-components/p-ca33fa09.entry.js +11 -0
- package/dist/solutions-components/p-ca97465b.js +17 -0
- package/dist/solutions-components/p-cbe7a79a.entry.js +6 -0
- package/dist/solutions-components/p-cc774829.entry.js +6 -0
- package/dist/solutions-components/p-ced4e208.entry.js +6 -0
- package/dist/solutions-components/p-cfb83693.js +6 -0
- package/dist/solutions-components/p-cfccae7c.js +11 -0
- package/dist/solutions-components/p-d1ca57f3.entry.js +11 -0
- package/dist/solutions-components/p-d6208a47.js +6 -0
- package/dist/solutions-components/p-d78f13cb.entry.js +6 -0
- package/dist/solutions-components/p-d89fff3a.js +49 -0
- package/dist/solutions-components/p-d8b3d156.entry.js +12 -0
- package/dist/solutions-components/p-d9d213d4.entry.js +6 -0
- package/dist/solutions-components/p-db1f5bd5.entry.js +6 -0
- package/dist/solutions-components/p-db3ca38d.entry.js +17 -0
- package/dist/solutions-components/p-db436a77.entry.js +11 -0
- package/dist/solutions-components/p-db44593d.js +16 -0
- package/dist/solutions-components/p-dd071507.js +6 -0
- package/dist/solutions-components/p-dd37c504.js +6 -0
- package/dist/solutions-components/p-dd48cc25.entry.js +6 -0
- package/dist/solutions-components/p-dfdb8411.js +61 -0
- package/dist/solutions-components/p-e01f576a.entry.js +6 -0
- package/dist/solutions-components/p-e0276e26.entry.js +11 -0
- package/dist/solutions-components/p-e31754c8.js +6 -0
- package/dist/solutions-components/p-e377cfb3.entry.js +6 -0
- package/dist/solutions-components/p-e7951fcb.js +6 -0
- package/dist/solutions-components/p-e8011829.entry.js +47 -0
- package/dist/solutions-components/p-e83b1772.entry.js +11 -0
- package/dist/solutions-components/p-e89c5860.entry.js +6 -0
- package/dist/solutions-components/p-eb9b003a.entry.js +11 -0
- package/dist/solutions-components/p-ebbeec9f.entry.js +11 -0
- package/dist/solutions-components/p-ec8f042e.entry.js +6 -0
- package/dist/solutions-components/p-ecdd587c.entry.js +17 -0
- package/dist/solutions-components/p-ede84883.js +16 -0
- package/dist/solutions-components/p-efce2e85.js +6 -0
- package/dist/solutions-components/p-f10944e6.js +11 -0
- package/dist/solutions-components/p-f3626331.entry.js +11 -0
- package/dist/solutions-components/p-f3d277c2.entry.js +11 -0
- package/dist/solutions-components/p-f3dfb34f.entry.js +12 -0
- package/dist/solutions-components/p-f3f09834.js +6 -0
- package/dist/solutions-components/p-f4e91113.js +6 -0
- package/dist/solutions-components/p-f84848b0.entry.js +22 -0
- package/dist/solutions-components/p-f8f18a94.entry.js +12 -0
- package/dist/solutions-components/p-f9e3a93d.js +11 -0
- package/dist/solutions-components/p-f9eb2f2d.js +17 -0
- package/dist/solutions-components/p-f9ff6c29.entry.js +6 -0
- package/dist/solutions-components/p-fa6ef970.js +6 -0
- package/dist/solutions-components/p-fc8338c6.entry.js +6 -0
- package/dist/solutions-components/p-fe68d502.js +6 -0
- package/dist/solutions-components/p-ffee4847.entry.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components_commit.txt +5 -6
- package/dist/types/monaco.d.ts +8191 -0
- package/dist/types/preact.d.ts +180 -180
- package/package.json +111 -109
- package/dist/assets/t9n/add-record-modal/index.d.ts +0 -10
- package/dist/assets/t9n/arcgis-login/index.d.ts +0 -1
- package/dist/assets/t9n/buffer-tools/index.d.ts +0 -6
- package/dist/assets/t9n/card-manager/index.d.ts +0 -6
- package/dist/assets/t9n/comment-card/index.d.ts +0 -4
- package/dist/assets/t9n/crowdsource-manager/index.d.ts +0 -8
- package/dist/assets/t9n/crowdsource-reporter/index.d.ts +0 -1
- package/dist/assets/t9n/edit-card/index.d.ts +0 -3
- package/dist/assets/t9n/feature-comments/index.d.ts +0 -1
- package/dist/assets/t9n/feature-form-flow-item/index.d.ts +0 -1
- package/dist/assets/t9n/info-card/index.d.ts +0 -9
- package/dist/assets/t9n/instant-apps-export/index.d.ts +0 -12
- package/dist/assets/t9n/instant-apps-filter-list/index.d.ts +0 -16
- package/dist/assets/t9n/instant-apps-interactive-legend/index.d.ts +0 -17
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/index.d.ts +0 -38
- package/dist/assets/t9n/instant-apps-language-translator/index.d.ts +0 -65
- package/dist/assets/t9n/instant-apps-measurement/index.d.ts +0 -7
- package/dist/assets/t9n/instant-apps-popover/index.d.ts +0 -7
- package/dist/assets/t9n/instant-apps-scoreboard/index.d.ts +0 -7
- package/dist/assets/t9n/instant-apps-social-share/index.d.ts +0 -36
- package/dist/assets/t9n/instant-apps-splash/index.d.ts +0 -3
- package/dist/assets/t9n/json-editor/index.d.ts +0 -8
- package/dist/assets/t9n/layer-table/index.d.ts +0 -28
- package/dist/assets/t9n/layout-manager/index.d.ts +0 -7
- package/dist/assets/t9n/list-flow-item/index.d.ts +0 -1
- package/dist/assets/t9n/location-flow-item/index.d.ts +0 -1
- package/dist/assets/t9n/map-card/index.d.ts +0 -3
- package/dist/assets/t9n/map-draw-tools/index.d.ts +0 -5
- package/dist/assets/t9n/map-layer-picker/index.d.ts +0 -5
- package/dist/assets/t9n/map-picker/index.d.ts +0 -3
- package/dist/assets/t9n/map-search/index.d.ts +0 -3
- package/dist/assets/t9n/map-select-tools/index.d.ts +0 -16
- package/dist/assets/t9n/map-tools/index.d.ts +0 -10
- package/dist/assets/t9n/media-card/index.d.ts +0 -5
- package/dist/assets/t9n/pdf-download/index.d.ts +0 -3
- package/dist/assets/t9n/public-notification/index.d.ts +0 -42
- package/dist/assets/t9n/refine-selection/index.d.ts +0 -9
- package/dist/assets/t9n/share-item/index.d.ts +0 -1
- package/dist/assets/t9n/solution-configuration/index.d.ts +0 -15
- package/dist/assets/t9n/solution-item/index.d.ts +0 -8
- package/dist/assets/t9n/solution-item-details/index.d.ts +0 -8
- package/dist/assets/t9n/solution-item-sharing/index.d.ts +0 -3
- package/dist/assets/t9n/solution-organization-variables/index.d.ts +0 -3
- package/dist/assets/t9n/solution-resource-item/index.d.ts +0 -8
- package/dist/assets/t9n/solution-spatial-ref/index.d.ts +0 -6
- package/dist/assets/t9n/solution-template-data/index.d.ts +0 -5
- package/dist/assets/t9n/solution-variables/index.d.ts +0 -3
- package/dist/assets/t9n/spatial-ref/index.d.ts +0 -3
- package/dist/assets/t9n/store-manager/index.d.ts +0 -1
- package/dist/cjs/ExpandToggle-817ccf38.js +0 -118
- package/dist/cjs/FloatingArrow-9bcb9e39.js +0 -50
- package/dist/cjs/Heading-f0383b92.js +0 -25
- package/dist/cjs/app-globals-127cde88.js +0 -69
- package/dist/cjs/ar-1faa7d7d.js +0 -104
- package/dist/cjs/bg-4d9cf392.js +0 -82
- package/dist/cjs/bs-87311f13.js +0 -51
- package/dist/cjs/ca-c533185f.js +0 -71
- package/dist/cjs/calcite-input-time-picker-fc18d09a.js +0 -1847
- package/dist/cjs/common-7f2082e5.js +0 -38
- package/dist/cjs/conditionalSlot-0be6171f.js +0 -63
- package/dist/cjs/cs-5a59562e.js +0 -147
- package/dist/cjs/da-b30dd248.js +0 -66
- package/dist/cjs/date-36e46ea6.js +0 -261
- package/dist/cjs/de-77484baa.js +0 -91
- package/dist/cjs/de-at-8c79eb0f.js +0 -90
- package/dist/cjs/de-ch-3efd6700.js +0 -90
- package/dist/cjs/dom-3532b4e4.js +0 -1087
- package/dist/cjs/downloadUtils-aedb5bf6.js +0 -3095
- package/dist/cjs/el-6fbc3bc9.js +0 -66
- package/dist/cjs/en-au-743018fb.js +0 -66
- package/dist/cjs/en-ca-3f139cfb.js +0 -65
- package/dist/cjs/en-gb-6271968e.js +0 -69
- package/dist/cjs/es-0b70ae1c.js +0 -66
- package/dist/cjs/es-mx-69ac7c88.js +0 -65
- package/dist/cjs/et-59db03c6.js +0 -92
- package/dist/cjs/fi-6792c787.js +0 -115
- package/dist/cjs/filter-02931d81.js +0 -765
- package/dist/cjs/floating-ui-68d9cf85.js +0 -1918
- package/dist/cjs/focusTrapComponent-37ecfdab.js +0 -1028
- package/dist/cjs/form-b7bc281a.js +0 -260
- package/dist/cjs/fr-95775e8e.js +0 -68
- package/dist/cjs/fr-ch-07b1a3b0.js +0 -66
- package/dist/cjs/globalAttributes-8943d3a3.js +0 -77
- package/dist/cjs/he-40b642ab.js +0 -105
- package/dist/cjs/helpers-b54d3082.js +0 -903
- package/dist/cjs/hi-45503aee.js +0 -65
- package/dist/cjs/hr-2e14d177.js +0 -80
- package/dist/cjs/hu-33594a1a.js +0 -88
- package/dist/cjs/id-e8e8832c.js +0 -66
- package/dist/cjs/index-1dd06c65.js +0 -201
- package/dist/cjs/index-2ed5545a.js +0 -2532
- package/dist/cjs/index.es-f2719df9.js +0 -10852
- package/dist/cjs/interactive-101013d4.js +0 -147
- package/dist/cjs/it-6a19cd26.js +0 -66
- package/dist/cjs/it-ch-d57bf7c3.js +0 -66
- package/dist/cjs/ja-bf600e3d.js +0 -72
- package/dist/cjs/ko-df515d73.js +0 -72
- package/dist/cjs/label-fff46771.js +0 -186
- package/dist/cjs/languageSwitcher-3d3b39dd.js +0 -58
- package/dist/cjs/languageUtil-1e8c411a.js +0 -69
- package/dist/cjs/loadModules-4c86a3ad.js +0 -30
- package/dist/cjs/loadModules-946c1946.js +0 -23
- package/dist/cjs/loadable-ddfda3cb.js +0 -94
- package/dist/cjs/locale-21097ba6.js +0 -82
- package/dist/cjs/locale-b38efacf.js +0 -121
- package/dist/cjs/locale-eb5416f2.js +0 -584
- package/dist/cjs/lt-7a431e7e.js +0 -97
- package/dist/cjs/lv-21feaab4.js +0 -66
- package/dist/cjs/mapViewUtils-3eb6e609.js +0 -469
- package/dist/cjs/mk-d9314e40.js +0 -66
- package/dist/cjs/nb-3002ae87.js +0 -67
- package/dist/cjs/nl-c33a7b29.js +0 -67
- package/dist/cjs/openCloseComponent-6500785c.js +0 -92
- package/dist/cjs/pl-e2f641d8.js +0 -114
- package/dist/cjs/pt-bbbf4991.js +0 -67
- package/dist/cjs/pt-br-590240d8.js +0 -65
- package/dist/cjs/publicNotificationStore-20c11ad3.js +0 -47
- package/dist/cjs/purify-b928c67e.js +0 -1726
- package/dist/cjs/restHelpersGet-20db55a9.js +0 -934
- package/dist/cjs/ro-b50a3568.js +0 -66
- package/dist/cjs/ru-048dc256.js +0 -126
- package/dist/cjs/shared-list-render-cf397ca1.js +0 -364
- package/dist/cjs/sk-8f42e1d7.js +0 -148
- package/dist/cjs/sl-fcb7ca4a.js +0 -168
- package/dist/cjs/solution-resource-93d2edb1.js +0 -141
- package/dist/cjs/solution-store-18a2d74e.js +0 -1330
- package/dist/cjs/sr-adcb5f2c.js +0 -101
- package/dist/cjs/sv-291ad8d8.js +0 -71
- package/dist/cjs/t9n-0700950f.js +0 -100
- package/dist/cjs/th-1f8ae352.js +0 -65
- package/dist/cjs/throttle-4ed3a729.js +0 -75
- package/dist/cjs/time-c558fdba.js +0 -289
- package/dist/cjs/tr-e8bee7f8.js +0 -66
- package/dist/cjs/uk-bac40231.js +0 -104
- package/dist/cjs/utils-3f9f041f.js +0 -120
- package/dist/cjs/utils-9a5c4f89.js +0 -62
- package/dist/cjs/utils-a6c6f23d.js +0 -64
- package/dist/cjs/vi-21081da3.js +0 -70
- package/dist/cjs/zh-cn-c19380cc.js +0 -94
- package/dist/cjs/zh-hk-4dc0c98c.js +0 -71
- package/dist/cjs/zh-tw-02c2a621.js +0 -92
- package/dist/collection/utils/__b302600c5c884ab280e2ff6dc2e1fc78.json +0 -387
- package/dist/esm/ExpandToggle-b9006424.js +0 -110
- package/dist/esm/FloatingArrow-bb212ed0.js +0 -48
- package/dist/esm/Heading-c0ce7e4b.js +0 -22
- package/dist/esm/app-globals-6bdf3cae.js +0 -67
- package/dist/esm/ar-e817c594.js +0 -102
- package/dist/esm/bg-c538d7e4.js +0 -80
- package/dist/esm/bs-213b43f7.js +0 -49
- package/dist/esm/ca-769b2dcf.js +0 -69
- package/dist/esm/calcite-input-time-picker-3b625c9b.js +0 -1844
- package/dist/esm/common-e1460239.js +0 -36
- package/dist/esm/conditionalSlot-c2cdc3cc.js +0 -60
- package/dist/esm/cs-e7ba2567.js +0 -145
- package/dist/esm/da-60dd17c2.js +0 -64
- package/dist/esm/date-26df2cd9.js +0 -245
- package/dist/esm/de-at-5cba014b.js +0 -88
- package/dist/esm/de-ch-7091dedd.js +0 -88
- package/dist/esm/de-de2769c4.js +0 -89
- package/dist/esm/dom-eb5bed1c.js +0 -1056
- package/dist/esm/downloadUtils-14e503d3.js +0 -3090
- package/dist/esm/el-8d04fc83.js +0 -64
- package/dist/esm/en-au-f90d0076.js +0 -64
- package/dist/esm/en-ca-e7dff189.js +0 -63
- package/dist/esm/en-gb-de33a68b.js +0 -67
- package/dist/esm/es-f3c33183.js +0 -64
- package/dist/esm/es-mx-24cabff0.js +0 -63
- package/dist/esm/et-ce3bc99d.js +0 -90
- package/dist/esm/fi-e86b38f9.js +0 -113
- package/dist/esm/filter-38af63e6.js +0 -763
- package/dist/esm/floating-ui-21971993.js +0 -1910
- package/dist/esm/focusTrapComponent-0023638f.js +0 -1023
- package/dist/esm/form-97a3e830.js +0 -252
- package/dist/esm/fr-ch-c87556da.js +0 -64
- package/dist/esm/fr-deebbddc.js +0 -66
- package/dist/esm/globalAttributes-9314dfb3.js +0 -74
- package/dist/esm/he-a6418f1e.js +0 -103
- package/dist/esm/helpers-bf5ecfd6.js +0 -877
- package/dist/esm/hi-4fe025e6.js +0 -63
- package/dist/esm/hr-dbe4130c.js +0 -78
- package/dist/esm/hu-33bae3ab.js +0 -86
- package/dist/esm/id-c6f1843e.js +0 -64
- package/dist/esm/index-6b2dd90f.js +0 -2498
- package/dist/esm/index-aa6b7033.js +0 -199
- package/dist/esm/index.es-14036977.js +0 -10766
- package/dist/esm/interactive-754da4cd.js +0 -143
- package/dist/esm/it-80b1d6c8.js +0 -64
- package/dist/esm/it-ch-8e297e22.js +0 -64
- package/dist/esm/ja-78050c74.js +0 -70
- package/dist/esm/ko-4d44c869.js +0 -70
- package/dist/esm/label-afc422fb.js +0 -179
- package/dist/esm/languageSwitcher-d1766a22.js +0 -55
- package/dist/esm/languageUtil-7ca08515.js +0 -66
- package/dist/esm/loadModules-7bf27f90.js +0 -21
- package/dist/esm/loadModules-fdecaaec.js +0 -28
- package/dist/esm/loadable-9da00331.js +0 -89
- package/dist/esm/locale-1f3572e4.js +0 -77
- package/dist/esm/locale-5d32d5f4.js +0 -118
- package/dist/esm/locale-5e5469ac.js +0 -571
- package/dist/esm/lt-a67abd12.js +0 -95
- package/dist/esm/lv-a86a1a8e.js +0 -64
- package/dist/esm/mapViewUtils-b21ca0ac.js +0 -452
- package/dist/esm/mk-7741130f.js +0 -64
- package/dist/esm/nb-ebb2d499.js +0 -65
- package/dist/esm/nl-3de88217.js +0 -65
- package/dist/esm/openCloseComponent-697374e0.js +0 -90
- package/dist/esm/pl-eac0bd2f.js +0 -112
- package/dist/esm/pt-81a10022.js +0 -65
- package/dist/esm/pt-br-fd5c5c15.js +0 -63
- package/dist/esm/publicNotificationStore-dcb46bde.js +0 -45
- package/dist/esm/purify-24af905b.js +0 -1724
- package/dist/esm/restHelpersGet-57a51bca.js +0 -921
- package/dist/esm/ro-84f1494e.js +0 -64
- package/dist/esm/ru-4207d5ce.js +0 -124
- package/dist/esm/shared-list-render-9822f373.js +0 -342
- package/dist/esm/sk-cee3b9cc.js +0 -146
- package/dist/esm/sl-c4c248af.js +0 -166
- package/dist/esm/solution-resource-342904db.js +0 -138
- package/dist/esm/solution-store-294ba149.js +0 -1328
- package/dist/esm/sr-755dc8e6.js +0 -99
- package/dist/esm/sv-de83ad1a.js +0 -69
- package/dist/esm/t9n-0c5d99c4.js +0 -95
- package/dist/esm/th-353ccceb.js +0 -63
- package/dist/esm/throttle-9530dcf0.js +0 -73
- package/dist/esm/time-b88e70c8.js +0 -274
- package/dist/esm/tr-ac2382ba.js +0 -64
- package/dist/esm/uk-69e01d81.js +0 -102
- package/dist/esm/utils-4dc99bbb.js +0 -61
- package/dist/esm/utils-8ec2a8d5.js +0 -111
- package/dist/esm/utils-c5b069a6.js +0 -51
- package/dist/esm/vi-a2c9fb81.js +0 -68
- package/dist/esm/zh-cn-e0771769.js +0 -92
- package/dist/esm/zh-hk-f125cc0c.js +0 -69
- package/dist/esm/zh-tw-48a85069.js +0 -90
- package/dist/solutions-components/p-011767da.entry.js +0 -6
- package/dist/solutions-components/p-019bf7ce.entry.js +0 -6
- package/dist/solutions-components/p-0283dd2e.js +0 -6
- package/dist/solutions-components/p-028bb9a5.entry.js +0 -11
- package/dist/solutions-components/p-035652d2.entry.js +0 -11
- package/dist/solutions-components/p-04026f1f.js +0 -8
- package/dist/solutions-components/p-0452cb66.entry.js +0 -6
- package/dist/solutions-components/p-049ce6f8.entry.js +0 -16
- package/dist/solutions-components/p-04af5bc4.entry.js +0 -6
- package/dist/solutions-components/p-0512396e.entry.js +0 -11
- package/dist/solutions-components/p-05de45f5.entry.js +0 -6
- package/dist/solutions-components/p-067c5df3.js +0 -6
- package/dist/solutions-components/p-083faade.entry.js +0 -6
- package/dist/solutions-components/p-08988be0.js +0 -6
- package/dist/solutions-components/p-09075cfa.js +0 -6
- package/dist/solutions-components/p-09ada2ae.entry.js +0 -11
- package/dist/solutions-components/p-0a6ee349.js +0 -36
- package/dist/solutions-components/p-0bf6feff.entry.js +0 -6
- package/dist/solutions-components/p-0ce3bfc6.js +0 -11
- package/dist/solutions-components/p-0d76fdc5.entry.js +0 -6
- package/dist/solutions-components/p-0ea70808.js +0 -6
- package/dist/solutions-components/p-10882fb6.js +0 -6
- package/dist/solutions-components/p-1170ba45.entry.js +0 -11
- package/dist/solutions-components/p-1272c7ff.js +0 -6
- package/dist/solutions-components/p-135afb56.entry.js +0 -11
- package/dist/solutions-components/p-14c0367b.js +0 -6
- package/dist/solutions-components/p-1535c276.js +0 -6
- package/dist/solutions-components/p-158f331a.entry.js +0 -6
- package/dist/solutions-components/p-164259d0.entry.js +0 -12
- package/dist/solutions-components/p-1b29d7b1.entry.js +0 -11
- package/dist/solutions-components/p-1d0b8fdc.entry.js +0 -6
- package/dist/solutions-components/p-1edcc028.js +0 -21
- package/dist/solutions-components/p-1fbffc2a.js +0 -6
- package/dist/solutions-components/p-20f93e39.entry.js +0 -11
- package/dist/solutions-components/p-20fdc9b7.entry.js +0 -6
- package/dist/solutions-components/p-2395c425.js +0 -11
- package/dist/solutions-components/p-23d633cf.js +0 -11
- package/dist/solutions-components/p-23dd9d46.entry.js +0 -17
- package/dist/solutions-components/p-244a369a.entry.js +0 -6
- package/dist/solutions-components/p-27c7ec35.entry.js +0 -6
- package/dist/solutions-components/p-28c4dbc7.js +0 -11
- package/dist/solutions-components/p-2952c223.entry.js +0 -11
- package/dist/solutions-components/p-2c86746d.entry.js +0 -6
- package/dist/solutions-components/p-2d14147b.js +0 -6
- package/dist/solutions-components/p-2ee1209d.entry.js +0 -11
- package/dist/solutions-components/p-2f17251a.entry.js +0 -11
- package/dist/solutions-components/p-2f623c6c.entry.js +0 -11
- package/dist/solutions-components/p-3259f627.entry.js +0 -6
- package/dist/solutions-components/p-3318dd6e.entry.js +0 -6
- package/dist/solutions-components/p-3421d548.js +0 -6
- package/dist/solutions-components/p-395ff202.entry.js +0 -11
- package/dist/solutions-components/p-3c262f56.js +0 -11
- package/dist/solutions-components/p-3cc7e0bf.js +0 -6
- package/dist/solutions-components/p-3dcb3ec6.entry.js +0 -11
- package/dist/solutions-components/p-414c0db9.entry.js +0 -6
- package/dist/solutions-components/p-43a69f44.entry.js +0 -6
- package/dist/solutions-components/p-463c7edd.entry.js +0 -6
- package/dist/solutions-components/p-47d5adbf.entry.js +0 -6
- package/dist/solutions-components/p-4b407bca.entry.js +0 -11
- package/dist/solutions-components/p-4d3c4339.entry.js +0 -6
- package/dist/solutions-components/p-4dd6252a.js +0 -6
- package/dist/solutions-components/p-4ffb1666.js +0 -6
- package/dist/solutions-components/p-51f70c0f.js +0 -50
- package/dist/solutions-components/p-52167ca3.entry.js +0 -22
- package/dist/solutions-components/p-54e785c5.js +0 -11
- package/dist/solutions-components/p-561197ae.entry.js +0 -11
- package/dist/solutions-components/p-564cd4d8.entry.js +0 -6
- package/dist/solutions-components/p-57a1815c.entry.js +0 -11
- package/dist/solutions-components/p-58fd70b1.js +0 -6
- package/dist/solutions-components/p-59ee209a.js +0 -61
- package/dist/solutions-components/p-5ccd28a3.js +0 -474
- package/dist/solutions-components/p-5fb865d4.entry.js +0 -6
- package/dist/solutions-components/p-6024576c.entry.js +0 -11
- package/dist/solutions-components/p-607c89c8.js +0 -6
- package/dist/solutions-components/p-609c9d7e.js +0 -6
- package/dist/solutions-components/p-62259927.entry.js +0 -6
- package/dist/solutions-components/p-6244081f.js +0 -130
- package/dist/solutions-components/p-62d0f796.entry.js +0 -11
- package/dist/solutions-components/p-630b79b8.js +0 -6
- package/dist/solutions-components/p-647c4bdb.js +0 -22
- package/dist/solutions-components/p-65c0f748.entry.js +0 -11
- package/dist/solutions-components/p-65ef22d3.entry.js +0 -11
- package/dist/solutions-components/p-67165117.entry.js +0 -6
- package/dist/solutions-components/p-68567e31.entry.js +0 -6
- package/dist/solutions-components/p-6a5bbbe6.js +0 -21
- package/dist/solutions-components/p-6a727977.entry.js +0 -11
- package/dist/solutions-components/p-6b14cc7e.entry.js +0 -6
- package/dist/solutions-components/p-6c224b36.js +0 -6
- package/dist/solutions-components/p-6c932889.js +0 -11
- package/dist/solutions-components/p-6e1fc9fd.js +0 -21
- package/dist/solutions-components/p-6ebb8b36.js +0 -6
- package/dist/solutions-components/p-6f9cff0d.entry.js +0 -6
- package/dist/solutions-components/p-6ff33c47.js +0 -6
- package/dist/solutions-components/p-71b620cf.js +0 -6
- package/dist/solutions-components/p-729dde18.js +0 -21
- package/dist/solutions-components/p-761c16ed.entry.js +0 -6
- package/dist/solutions-components/p-768ad236.js +0 -6
- package/dist/solutions-components/p-790ee30b.entry.js +0 -17
- package/dist/solutions-components/p-792be6b2.entry.js +0 -11
- package/dist/solutions-components/p-7b9dda44.entry.js +0 -6
- package/dist/solutions-components/p-7f9bd076.entry.js +0 -6
- package/dist/solutions-components/p-81920123.entry.js +0 -6
- package/dist/solutions-components/p-82fdf707.entry.js +0 -11
- package/dist/solutions-components/p-830e72b4.js +0 -6
- package/dist/solutions-components/p-8527bf4b.entry.js +0 -6
- package/dist/solutions-components/p-861a83eb.entry.js +0 -11
- package/dist/solutions-components/p-868263d3.js +0 -6
- package/dist/solutions-components/p-874624ea.js +0 -6
- package/dist/solutions-components/p-882e74a1.js +0 -6
- package/dist/solutions-components/p-88cbaf7f.entry.js +0 -17
- package/dist/solutions-components/p-89365894.js +0 -6
- package/dist/solutions-components/p-8ba9eba7.entry.js +0 -11
- package/dist/solutions-components/p-8c4467ee.entry.js +0 -11
- package/dist/solutions-components/p-8dc37394.entry.js +0 -6
- package/dist/solutions-components/p-8e43aba3.entry.js +0 -6
- package/dist/solutions-components/p-8fdbb6f2.js +0 -12
- package/dist/solutions-components/p-90620197.entry.js +0 -6
- package/dist/solutions-components/p-910e4993.js +0 -6
- package/dist/solutions-components/p-92b12ad0.js +0 -6
- package/dist/solutions-components/p-92b563f9.js +0 -6
- package/dist/solutions-components/p-94ba42ec.js +0 -6
- package/dist/solutions-components/p-94df1842.js +0 -6
- package/dist/solutions-components/p-953fda45.entry.js +0 -6
- package/dist/solutions-components/p-9604fada.entry.js +0 -12
- package/dist/solutions-components/p-97ab28b4.entry.js +0 -21
- package/dist/solutions-components/p-97b13b3f.entry.js +0 -11
- package/dist/solutions-components/p-9907889f.js +0 -16
- package/dist/solutions-components/p-9a11a86b.entry.js +0 -11
- package/dist/solutions-components/p-9b46426a.js +0 -17
- package/dist/solutions-components/p-9ca4870b.js +0 -6
- package/dist/solutions-components/p-9ff8cf72.js +0 -6
- package/dist/solutions-components/p-a28057e8.entry.js +0 -6
- package/dist/solutions-components/p-a49efba1.js +0 -17
- package/dist/solutions-components/p-a5190904.entry.js +0 -6
- package/dist/solutions-components/p-a56b22c8.js +0 -6
- package/dist/solutions-components/p-a663c1ab.entry.js +0 -11
- package/dist/solutions-components/p-a7402cd7.js +0 -11
- package/dist/solutions-components/p-a79a92bc.js +0 -6
- package/dist/solutions-components/p-a7eb2d6c.js +0 -16
- package/dist/solutions-components/p-a8669ed9.js +0 -6
- package/dist/solutions-components/p-a8c24d3a.js +0 -16
- package/dist/solutions-components/p-a9ac285a.entry.js +0 -16
- package/dist/solutions-components/p-aacb905c.js +0 -11
- package/dist/solutions-components/p-abc63396.entry.js +0 -11
- package/dist/solutions-components/p-ac9ddc01.entry.js +0 -6
- package/dist/solutions-components/p-acc83f1a.entry.js +0 -11
- package/dist/solutions-components/p-ad243418.entry.js +0 -6
- package/dist/solutions-components/p-af42225b.entry.js +0 -47
- package/dist/solutions-components/p-af71a53f.entry.js +0 -17
- package/dist/solutions-components/p-afea124e.entry.js +0 -11
- package/dist/solutions-components/p-b00ce8db.entry.js +0 -11
- package/dist/solutions-components/p-b1e8596e.js +0 -11
- package/dist/solutions-components/p-b1e970f5.entry.js +0 -11
- package/dist/solutions-components/p-b23de6b9.entry.js +0 -6
- package/dist/solutions-components/p-b2b179ab.entry.js +0 -17
- package/dist/solutions-components/p-b3665ad1.js +0 -6
- package/dist/solutions-components/p-b5427580.js +0 -6
- package/dist/solutions-components/p-b5aba3e5.js +0 -6
- package/dist/solutions-components/p-b63e932f.entry.js +0 -6
- package/dist/solutions-components/p-b9345656.js +0 -6
- package/dist/solutions-components/p-b9d4587a.entry.js +0 -6
- package/dist/solutions-components/p-bb675f49.js +0 -11
- package/dist/solutions-components/p-bb68d649.js +0 -6
- package/dist/solutions-components/p-bbbbd3a7.entry.js +0 -11
- package/dist/solutions-components/p-bd416950.js +0 -6
- package/dist/solutions-components/p-c2865313.js +0 -6
- package/dist/solutions-components/p-c4ba432f.entry.js +0 -6
- package/dist/solutions-components/p-c4de6793.entry.js +0 -6
- package/dist/solutions-components/p-c664ada9.entry.js +0 -6
- package/dist/solutions-components/p-c82d391f.js +0 -6
- package/dist/solutions-components/p-c8ddae0d.entry.js +0 -11
- package/dist/solutions-components/p-c91f487a.entry.js +0 -6
- package/dist/solutions-components/p-c9af7cb8.js +0 -6
- package/dist/solutions-components/p-ca4061c3.js +0 -49
- package/dist/solutions-components/p-ca6ddf46.js +0 -6
- package/dist/solutions-components/p-cdac1223.entry.js +0 -11
- package/dist/solutions-components/p-cec7da74.entry.js +0 -11
- package/dist/solutions-components/p-d0bb6ca3.entry.js +0 -17
- package/dist/solutions-components/p-d22cacef.js +0 -6
- package/dist/solutions-components/p-d395caef.js +0 -11
- package/dist/solutions-components/p-d3a96b97.js +0 -6
- package/dist/solutions-components/p-d4a4ba7e.js +0 -11
- package/dist/solutions-components/p-d82c7328.entry.js +0 -6
- package/dist/solutions-components/p-d85d8528.entry.js +0 -6
- package/dist/solutions-components/p-d8f0d787.entry.js +0 -6
- package/dist/solutions-components/p-da61bede.entry.js +0 -11
- package/dist/solutions-components/p-db4e9400.entry.js +0 -6
- package/dist/solutions-components/p-dca25d3e.js +0 -11
- package/dist/solutions-components/p-dd11873e.entry.js +0 -12
- package/dist/solutions-components/p-deda072b.entry.js +0 -11
- package/dist/solutions-components/p-dfcf30cc.js +0 -7
- package/dist/solutions-components/p-e05880a7.entry.js +0 -6
- package/dist/solutions-components/p-e085289d.entry.js +0 -17
- package/dist/solutions-components/p-e3c5210a.entry.js +0 -21
- package/dist/solutions-components/p-e42db291.js +0 -6
- package/dist/solutions-components/p-e6579db5.js +0 -6
- package/dist/solutions-components/p-e9a7b4c8.entry.js +0 -6
- package/dist/solutions-components/p-eae915c0.entry.js +0 -11
- package/dist/solutions-components/p-ebf5b224.js +0 -6
- package/dist/solutions-components/p-ecfaf4d7.js +0 -11
- package/dist/solutions-components/p-ed116111.js +0 -11
- package/dist/solutions-components/p-ede08016.js +0 -6
- package/dist/solutions-components/p-ee0118e4.js +0 -6
- package/dist/solutions-components/p-ee5c18c2.js +0 -6
- package/dist/solutions-components/p-f1e9b756.entry.js +0 -6
- package/dist/solutions-components/p-f4772dcf.entry.js +0 -17
- package/dist/solutions-components/p-f4aecd64.entry.js +0 -11
- package/dist/solutions-components/p-f7d67177.entry.js +0 -6
- package/dist/solutions-components/p-fa4473b3.entry.js +0 -11
- package/dist/solutions-components/p-fac18708.entry.js +0 -6
- package/dist/solutions-components/p-fc384a88.entry.js +0 -29
- package/dist/solutions-components/p-fdff775f.entry.js +0 -11
- package/dist/solutions-components/p-fe949c1d.entry.js +0 -11
- package/dist/solutions-components/utils/__b302600c5c884ab280e2ff6dc2e1fc78.json +0 -387
- package/dist/types/assets/t9n/add-record-modal/index.d.ts +0 -10
- package/dist/types/assets/t9n/arcgis-login/index.d.ts +0 -1
- package/dist/types/assets/t9n/buffer-tools/index.d.ts +0 -6
- package/dist/types/assets/t9n/card-manager/index.d.ts +0 -6
- package/dist/types/assets/t9n/comment-card/index.d.ts +0 -4
- package/dist/types/assets/t9n/crowdsource-manager/index.d.ts +0 -8
- package/dist/types/assets/t9n/crowdsource-reporter/index.d.ts +0 -1
- package/dist/types/assets/t9n/edit-card/index.d.ts +0 -3
- package/dist/types/assets/t9n/feature-comments/index.d.ts +0 -1
- package/dist/types/assets/t9n/feature-form-flow-item/index.d.ts +0 -1
- package/dist/types/assets/t9n/info-card/index.d.ts +0 -9
- package/dist/types/assets/t9n/instant-apps-export/index.d.ts +0 -12
- package/dist/types/assets/t9n/instant-apps-filter-list/index.d.ts +0 -16
- package/dist/types/assets/t9n/instant-apps-interactive-legend/index.d.ts +0 -17
- package/dist/types/assets/t9n/instant-apps-keyboard-shortcuts/index.d.ts +0 -38
- package/dist/types/assets/t9n/instant-apps-language-translator/index.d.ts +0 -65
- package/dist/types/assets/t9n/instant-apps-measurement/index.d.ts +0 -7
- package/dist/types/assets/t9n/instant-apps-popover/index.d.ts +0 -7
- package/dist/types/assets/t9n/instant-apps-scoreboard/index.d.ts +0 -7
- package/dist/types/assets/t9n/instant-apps-social-share/index.d.ts +0 -36
- package/dist/types/assets/t9n/instant-apps-splash/index.d.ts +0 -3
- package/dist/types/assets/t9n/json-editor/index.d.ts +0 -8
- package/dist/types/assets/t9n/layer-table/index.d.ts +0 -28
- package/dist/types/assets/t9n/layout-manager/index.d.ts +0 -7
- package/dist/types/assets/t9n/list-flow-item/index.d.ts +0 -1
- package/dist/types/assets/t9n/location-flow-item/index.d.ts +0 -1
- package/dist/types/assets/t9n/map-card/index.d.ts +0 -3
- package/dist/types/assets/t9n/map-draw-tools/index.d.ts +0 -5
- package/dist/types/assets/t9n/map-layer-picker/index.d.ts +0 -5
- package/dist/types/assets/t9n/map-picker/index.d.ts +0 -3
- package/dist/types/assets/t9n/map-search/index.d.ts +0 -3
- package/dist/types/assets/t9n/map-select-tools/index.d.ts +0 -16
- package/dist/types/assets/t9n/map-tools/index.d.ts +0 -10
- package/dist/types/assets/t9n/media-card/index.d.ts +0 -5
- package/dist/types/assets/t9n/pdf-download/index.d.ts +0 -3
- package/dist/types/assets/t9n/public-notification/index.d.ts +0 -42
- package/dist/types/assets/t9n/refine-selection/index.d.ts +0 -9
- package/dist/types/assets/t9n/share-item/index.d.ts +0 -1
- package/dist/types/assets/t9n/solution-configuration/index.d.ts +0 -15
- package/dist/types/assets/t9n/solution-item/index.d.ts +0 -8
- package/dist/types/assets/t9n/solution-item-details/index.d.ts +0 -8
- package/dist/types/assets/t9n/solution-item-sharing/index.d.ts +0 -3
- package/dist/types/assets/t9n/solution-organization-variables/index.d.ts +0 -3
- package/dist/types/assets/t9n/solution-resource-item/index.d.ts +0 -8
- package/dist/types/assets/t9n/solution-spatial-ref/index.d.ts +0 -6
- package/dist/types/assets/t9n/solution-template-data/index.d.ts +0 -5
- package/dist/types/assets/t9n/solution-variables/index.d.ts +0 -3
- package/dist/types/assets/t9n/spatial-ref/index.d.ts +0 -3
- package/dist/types/assets/t9n/store-manager/index.d.ts +0 -1
- /package/dist/cjs/{array-e1557681.js → array-1d19377b.js} +0 -0
- /package/dist/cjs/{breakpoints-101f3498.js → breakpoints-fcd0f2a0.js} +0 -0
- /package/dist/cjs/{browser-16e4bcaa.js → browser-9a43b900.js} +0 -0
- /package/dist/cjs/{component-9ae7f98c.js → component-c270a500.js} +0 -0
- /package/dist/cjs/{debounce-dc29e0d7.js → debounce-30afab47.js} +0 -0
- /package/dist/cjs/{esri-loader-f9cc896e.js → esri-loader-a91c0ec1.js} +0 -0
- /package/dist/cjs/{guid-915a25a4.js → guid-1a466ca6.js} +0 -0
- /package/dist/cjs/{html2canvas-f6c29bf8.js → html2canvas-34208bbf.js} +0 -0
- /package/dist/cjs/{index-ef33dd68.js → index-4c1b0d3c.js} +0 -0
- /package/dist/cjs/{index-2ade4bf3.js → index-c0ee2715.js} +0 -0
- /package/dist/cjs/{index-2c4c660f.js → index-f64944ad.js} +0 -0
- /package/dist/cjs/{key-3057c9ae.js → key-b8c05387.js} +0 -0
- /package/dist/cjs/{math-8083815d.js → math-6c9027e3.js} +0 -0
- /package/dist/cjs/{mode-eea7083b.js → mode-d6c12b38.js} +0 -0
- /package/dist/cjs/{observers-0dc2268b.js → observers-281a8c99.js} +0 -0
- /package/dist/cjs/{resources-0cdf5268.js → resources-0986c5c2.js} +0 -0
- /package/dist/cjs/{resources-97624e80.js → resources-222ad22c.js} +0 -0
- /package/dist/cjs/{resources-dab03f25.js → resources-228f9286.js} +0 -0
- /package/dist/cjs/{resources-40bb3b0f.js → resources-55ba2752.js} +0 -0
- /package/dist/cjs/{resources-eeb0b476.js → resources-6c60363a.js} +0 -0
- /package/dist/cjs/{resources-08594e64.js → resources-8e3763a4.js} +0 -0
- /package/dist/cjs/{resources-e6b1ec37.js → resources-9400a252.js} +0 -0
- /package/dist/cjs/{resources-989454ca.js → resources-a825d7ae.js} +0 -0
- /package/dist/cjs/{resources-ca92098e.js → resources-d2d7b7c7.js} +0 -0
- /package/dist/cjs/{resources-346657b2.js → resources-f3e0e822.js} +0 -0
- /package/dist/cjs/{sortableComponent-2df4ffc7.js → sortableComponent-188f3290.js} +0 -0
- /package/dist/cjs/{utils-d185873c.js → utils-234879c7.js} +0 -0
- /package/dist/cjs/{utils-ce788266.js → utils-c735a41d.js} +0 -0
- /package/dist/esm/{array-ee46de18.js → array-51c31356.js} +0 -0
- /package/dist/esm/{breakpoints-88967029.js → breakpoints-f0f1417d.js} +0 -0
- /package/dist/esm/{browser-d9c15d82.js → browser-b4c16201.js} +0 -0
- /package/dist/esm/{component-57d75546.js → component-98bae46b.js} +0 -0
- /package/dist/esm/{debounce-3a2354cd.js → debounce-229b1a22.js} +0 -0
- /package/dist/esm/{esri-loader-bf16520d.js → esri-loader-eda07632.js} +0 -0
- /package/dist/esm/{guid-3cc28ba2.js → guid-36c6c6a5.js} +0 -0
- /package/dist/esm/{html2canvas-2fee68d8.js → html2canvas-a0a4df55.js} +0 -0
- /package/dist/esm/{index-4efda611.js → index-5110a27a.js} +0 -0
- /package/dist/esm/{index-37abc70f.js → index-a1e91462.js} +0 -0
- /package/dist/esm/{index-eb5a4509.js → index-d8ff08ed.js} +0 -0
- /package/dist/esm/{key-adae9343.js → key-af303047.js} +0 -0
- /package/dist/esm/{math-a7230f76.js → math-cdaf4dc0.js} +0 -0
- /package/dist/esm/{mode-328b4c11.js → mode-66911cb5.js} +0 -0
- /package/dist/esm/{observers-0e786b1c.js → observers-8ce200f2.js} +0 -0
- /package/dist/esm/{resources-29d4d05f.js → resources-13098091.js} +0 -0
- /package/dist/esm/{resources-500077b3.js → resources-1a8d4d77.js} +0 -0
- /package/dist/esm/{resources-4bf2674a.js → resources-221791b0.js} +0 -0
- /package/dist/esm/{resources-65472b8b.js → resources-242fdf8d.js} +0 -0
- /package/dist/esm/{resources-44be2909.js → resources-4bcfc016.js} +0 -0
- /package/dist/esm/{resources-011302b8.js → resources-649a0f91.js} +0 -0
- /package/dist/esm/{resources-3ce376de.js → resources-6772a50d.js} +0 -0
- /package/dist/esm/{resources-529ffb0b.js → resources-6e00e0d1.js} +0 -0
- /package/dist/esm/{resources-b7b6b68c.js → resources-a0420cda.js} +0 -0
- /package/dist/esm/{resources-cfbc37a8.js → resources-cdc36705.js} +0 -0
- /package/dist/esm/{sortableComponent-50cfe8da.js → sortableComponent-65956286.js} +0 -0
- /package/dist/esm/{utils-809d6ba5.js → utils-86d242a6.js} +0 -0
- /package/dist/esm/{utils-619bc2ee.js → utils-abdd879e.js} +0 -0
- /package/dist/solutions-components/{p-31b622cd.js → p-0c07ad8a.js} +0 -0
- /package/dist/solutions-components/{p-52445921.js → p-1e2ffee3.js} +0 -0
- /package/dist/solutions-components/{p-16b08122.js → p-29d68474.js} +0 -0
- /package/dist/solutions-components/{p-748597df.js → p-32b6b6c9.js} +0 -0
- /package/dist/solutions-components/{p-f44d9211.js → p-35c58364.js} +0 -0
- /package/dist/solutions-components/{p-0953177a.js → p-3cce003d.js} +0 -0
- /package/dist/solutions-components/{p-950cebf2.js → p-3f279568.js} +0 -0
- /package/dist/solutions-components/{p-f6b96918.js → p-428554b4.js} +0 -0
- /package/dist/solutions-components/{p-a95649f7.js → p-475ad635.js} +0 -0
- /package/dist/solutions-components/{p-6f89a806.js → p-568822d4.js} +0 -0
- /package/dist/solutions-components/{p-2b56ecd9.js → p-5b566d55.js} +0 -0
- /package/dist/solutions-components/{p-b9c4c123.js → p-74062e42.js} +0 -0
- /package/dist/solutions-components/{p-974f5f01.js → p-775ad144.js} +0 -0
- /package/dist/solutions-components/{p-c5af6380.js → p-77b43a94.js} +0 -0
- /package/dist/solutions-components/{p-d68612ec.js → p-7f333e23.js} +0 -0
- /package/dist/solutions-components/{p-64e988e7.js → p-993e8bd0.js} +0 -0
- /package/dist/solutions-components/{p-aa6b47d1.js → p-a230b270.js} +0 -0
- /package/dist/solutions-components/{p-f67a0324.js → p-a82f35c9.js} +0 -0
- /package/dist/solutions-components/{p-f2fda308.js → p-abea8ef5.js} +0 -0
- /package/dist/solutions-components/{p-9fb768a8.js → p-b3ebaa79.js} +0 -0
- /package/dist/solutions-components/{p-a442727d.js → p-c92fff33.js} +0 -0
- /package/dist/solutions-components/{p-dac67a09.js → p-c96eb2db.js} +0 -0
- /package/dist/solutions-components/{p-f5e66598.js → p-c9fc3253.js} +0 -0
- /package/dist/solutions-components/{p-fec9937a.js → p-d32e6900.js} +0 -0
- /package/dist/solutions-components/{p-16ec7030.js → p-d918ec36.js} +0 -0
- /package/dist/solutions-components/{p-252a1f8a.js → p-dbacb910.js} +0 -0
- /package/dist/solutions-components/{p-1f74004b.js → p-ea83d12d.js} +0 -0
- /package/dist/solutions-components/{p-cbfdcfaf.js → p-fcefdfff.js} +0 -0
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as i,c as t,h as e,H as n,g as a}from"./p-dfcf30cc.js";import{v as s,a as o,f as c}from"./p-9b46426a.js";import{d as l,a as h,c as r,u as d}from"./p-647c4bdb.js";import{s as p,a as m,c as x}from"./p-dca25d3e.js";import{c as b}from"./p-2b56ecd9.js";import{o as v}from"./p-d395caef.js";import{C as g}from"./p-16b08122.js";import"./p-cbfdcfaf.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v2.0.0
|
11
|
-
*/const w=class{constructor(e){i(this,e),this.calciteSheetBeforeClose=t(this,"calciteSheetBeforeClose",6),this.calciteSheetClose=t(this,"calciteSheetClose",6),this.calciteSheetBeforeOpen=t(this,"calciteSheetBeforeOpen",6),this.calciteSheetOpen=t(this,"calciteSheetOpen",6),this.openTransitionProp="opacity",this.ignoreOpenChange=!1,this.mutationObserver=b("mutation",(()=>this.handleMutationObserver())),this.setTransitionEl=i=>{this.transitionEl=i,this.contentId=s(i)},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteSheetOpen",this.openEnd)},this.handleOutsideClose=()=>{this.outsideCloseDisabled||(this.open=!1)},this.closeSheet=async()=>{if(this.beforeClose)try{await this.beforeClose(this.el)}catch(i){return void requestAnimationFrame((()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1}))}this.opened=!1,this.removeOverflowHiddenClass()},this.beforeClose=void 0,this.displayMode="overlay",this.escapeDisabled=!1,this.heightScale="m",this.focusTrapDisabled=!1,this.label=void 0,this.open=!1,this.opened=!1,this.outsideCloseDisabled=!1,this.position="inline-start",this.slottedInShell=void 0,this.widthScale="m"}handleFocusTrapDisabled(i){this.open&&(i?l(this):h(this))}toggleSheet(i){this.ignoreOpenChange||(i?this.openSheet():this.closeSheet())}handleOpenedChange(){v(this)}async componentWillLoad(){p(this),this.open&&requestAnimationFrame((()=>this.openSheet()))}componentDidLoad(){m(this)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),r(this)}disconnectedCallback(){this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),l(this),this.slottedInShell=!1}render(){const i=o(this.el);return e(n,{"aria-describedby":this.contentId,"aria-label":this.label,"aria-modal":"true",role:"dialog"},e("div",{class:{container:!0,"container--open":this.opened,"container--slotted-in-shell":this.slottedInShell,[g.rtl]:"rtl"===i}},e("calcite-scrim",{class:"scrim",onClick:this.handleOutsideClose}),e("div",{class:{content:!0},ref:this.setTransitionEl},e("slot",null))))}handleEscape(i){!this.open||this.escapeDisabled||"Escape"!==i.key||i.defaultPrevented||(this.open=!1,i.preventDefault())}async setFocus(){await x(this),c(this.el)}async updateFocusTrapElements(){d(this)}onBeforeOpen(){this.calciteSheetBeforeOpen.emit()}onOpen(){this.calciteSheetOpen.emit(),h(this)}onBeforeClose(){this.calciteSheetBeforeClose.emit()}onClose(){this.calciteSheetClose.emit(),l(this)}openSheet(){this.el.addEventListener("calciteSheetOpen",this.openEnd),this.opened=!0,this.slottedInShell||(this.initialOverflowCSS=document.documentElement.style.overflow,document.documentElement.style.setProperty("overflow","hidden"))}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",this.initialOverflowCSS)}handleMutationObserver(){this.updateFocusTrapElements()}get el(){return a(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],open:["toggleSheet"],opened:["handleOpenedChange"]}}};w.style=":host{position:absolute;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;visibility:hidden !important;--calcite-sheet-scrim-background-internal:rgba(0, 0, 0, 0.85);--calcite-scrim-shadow-block-start-internal:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-block-end-internal:0 -4px 8px -1px rgba(0, 0, 0, 0.08), 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-inline-start-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08), 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-inline-end-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08), -2px 0 4px -1px rgba(0, 0, 0, 0.04)}.calcite--rtl{--calcite-scrim-shadow-inline-start-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08), -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-inline-end-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08), 2px 0 4px -1px rgba(0, 0, 0, 0.04)}.container{visibility:hidden;position:fixed;z-index:var(--calcite-z-index-overlay);display:flex;overflow-y:hidden;color:var(--calcite-color-text-2);opacity:0;transition:visibility 0ms linear var(--calcite-internal-animation-timing-medium), opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([position=inline-start]) .container{justify-content:flex-start;inset-block:0;inset-inline:0 auto;--calcite-sheet-hidden-position-internal:translate3d(-1rem, 0, 0)}:host([position=inline-end]) .container{justify-content:flex-end;inset-block:0;inset-inline:auto 0;--calcite-sheet-hidden-position-internal:translate3d(1rem, 0, 0)}:host([position=block-start]) .container{align-items:flex-start;inset-block:0 auto;inset-inline:0;--calcite-sheet-hidden-position-internal:translate3d(0, -1rem, 0)}:host([position=block-end]) .container{align-items:flex-end;inset-block:auto 0;inset-inline:0;--calcite-sheet-hidden-position-internal:translate3d(0, 1rem, 0)}:host([display-mode=float]) .content{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([display-mode=overlay][position=inline-start]) .container{box-shadow:var(--calcite-scrim-shadow-inline-start-internal)}:host([display-mode=overlay][position=inline-end]) .container{box-shadow:var(--calcite-scrim-shadow-inline-end-internal)}:host([display-mode=overlay][position=block-start]) .container{box-shadow:var(--calcite-scrim-shadow-block-start-internal)}:host([display-mode=overlay][position=block-end]) .container{box-shadow:var(--calcite-scrim-shadow-block-end-internal)}:host([position^=inline]) .container,:host([position^=inline]) .content{inline-size:var(--calcite-sheet-width-internal);max-inline-size:var(--calcite-sheet-max-width-internal);min-inline-size:var(--calcite-sheet-min-width-internal)}:host([position^=block]) .container,:host([position^=block]) .content{block-size:var(--calcite-sheet-height-internal);max-block-size:var(--calcite-sheet-max-height-internal);min-block-size:var(--calcite-sheet-min-height-internal)}:host([display-mode=float][position^=inline]) .container{block-size:calc(100% - 1.5rem);max-block-size:calc(100% - 1.5rem);min-block-size:calc(100% - 1.5rem)}:host([display-mode=float][position^=block]) .container{inline-size:calc(100% - 1.5rem);max-inline-size:calc(100% - 1.5rem);min-inline-size:calc(100% - 1.5rem)}:host([position^=inline][width-scale=s]){--calcite-sheet-width-internal:var(--calcite-sheet-width, 15vw);--calcite-sheet-max-width-internal:var(--calcite-sheet-max-width, 360px);--calcite-sheet-min-width-internal:var(--calcite-sheet-min-width, 260px)}:host([position^=inline][width-scale=m]){--calcite-sheet-width-internal:var(--calcite-sheet-width, 25vw);--calcite-sheet-max-width-internal:var(--calcite-sheet-max-width, 420px);--calcite-sheet-min-width-internal:var(--calcite-sheet-min-width, 300px)}:host([position^=inline][width-scale=l]){--calcite-sheet-width-internal:var(--calcite-sheet-width, 45vw);--calcite-sheet-max-width-internal:var(--calcite-sheet-max-width, 680px);--calcite-sheet-min-width-internal:var(--calcite-sheet-min-width, 340px)}:host([position^=block][height-scale=s]){--calcite-sheet-min-height-internal:var(--calcite-sheet-min-height, 160px);--calcite-sheet-height-internal:var(--calcite-sheet-height, 30vh);--calcite-sheet-max-height-internal:var(--calcite-sheet-max-height, 30vh)}:host([position^=block][height-scale=m]){--calcite-sheet-min-height-internal:var(--calcite-sheet-min-height, 200px);--calcite-sheet-height-internal:var(--calcite-sheet-height, 45vh);--calcite-sheet-max-height-internal:var(--calcite-sheet-max-height, 50vh)}:host([position^=block][height-scale=l]){--calcite-sheet-min-height-internal:var(--calcite-sheet-min-height, 240px);--calcite-sheet-height-internal:var(--calcite-sheet-height, 60vh);--calcite-sheet-max-height-internal:var(--calcite-sheet-max-height, 70vh)}.scrim{--calcite-scrim-background:var(--calcite-sheet-scrim-background, var(--calcite-sheet-scrim-background-internal));position:fixed;inset:0px;display:flex;overflow-y:hidden}:host([opened]){visibility:visible !important}.content{position:relative;z-index:var(--calcite-z-index-modal);box-sizing:border-box;display:block;max-inline-size:100%;overflow-y:hidden;padding:0px;background-color:var(--calcite-color-foreground-1);max-block-size:100%;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-medium), opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88);transform:var(--calcite-sheet-hidden-position-internal)}.container--open .content{transform:translate3d(0, 0, 0)}:host([display-mode=float]) .content,:host([display-mode=float]) .container{border-radius:0.25rem}:host([display-mode=float]) .container{padding:0.75rem}.container--open{visibility:visible;opacity:1;transition-delay:0ms}.container--open .content{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}:host([position=inline-start]) .content,:host([position=inline-end]) .content{block-size:100%}:host([position=block-start]) .content,:host([position=block-end]) .content{inline-size:100%}:host([position]) .container--slotted-in-shell{pointer-events:auto;position:absolute;inline-size:100%;max-inline-size:100%;min-inline-size:100%;block-size:100%;max-block-size:100%;min-block-size:100%}:host([position]) .container--slotted-in-shell calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_sheet}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as i,f as e,h as t,g as s}from"./p-dfcf30cc.js";import{l as n}from"./p-e6579db5.js";import{g as r}from"./p-d22cacef.js";import{g as a}from"./p-b5427580.js";import"./p-16ec7030.js";import"./p-e1a4994d.js";import"./p-3421d548.js";import"./p-08988be0.js";const o={base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component",iconLayerList:"esri-icon-layer-list"},c=class{constructor(e){i(this,e),this.handles=void 0,this.reactiveUtils=void 0,this.legendvm=void 0,this.widget=void 0,this.view=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.messages=void 0}async componentWillLoad(){new MutationObserver((()=>{e(this.el)})).observe(this.el,{attributes:!0}),await this.initializeModules()}async componentDidLoad(){r(this)}async initializeModules(){const[i,e,t,s]=await n(["esri/core/Handles","esri/core/reactiveUtils","esri/widgets/Widget","esri/widgets/Legend"]);this.handles=new i,this.reactiveUtils=e,this.widget=new t;const r=new s;return await e.whenOnce((()=>null==r?void 0:r.messages)),this.messages=Object.assign(Object.assign({},this.messages),r.messages),Promise.resolve()}async init(){if(this.reactiveUtils&&this.view&&this.handles)try{const{on:i}=this.reactiveUtils,[e]=await n(["esri/widgets/Legend/LegendViewModel"]),t=new e({view:this.view});this.legendvm=t,this.handles.add([i((()=>{var i;return null===(i=this.legendvm)||void 0===i?void 0:i.activeLayerInfos}),"change",(()=>{var i;return this._refreshActiveLayerInfos(null===(i=null==this?void 0:this.legendvm)||void 0===i?void 0:i.activeLayerInfos,this.reactiveUtils)}))])}catch(i){console.error('Failed at "init": ',i)}}render(){var i;const{base:e,component:s,widget:n,widgetPanel:r}=o;return t("div",{key:"interactive-legend",class:null===(i=this.widget)||void 0===i?void 0:i.classes(e,s,n,r)},t("instant-apps-interactive-legend-classic",{key:"interactive-legend-classic",ref:i=>this.ref=i,class:a(this.el),legendvm:this.legendvm,"zoom-to":this.zoomTo,filterMode:this.filterMode,"feature-count":this.featureCount,messages:this.messages}))}_refreshActiveLayerInfos(i,e){i&&(this.handles.removeAll(),i.forEach((i=>this._renderOnActiveLayerInfoChange(i,e))))}_renderOnActiveLayerInfoChange(i,e){var t;const{on:s}=this.reactiveUtils,n=s((()=>i.children),"change",(()=>i.children.forEach((i=>this._renderOnActiveLayerInfoChange(i,e)))));this.handles.add(n,`children_${null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.uid}`),i.children.forEach((i=>{var t,s;this._renderOnActiveLayerInfoChange(i,e),(null===(t=null==i?void 0:i.children)||void 0===t?void 0:t.length)>0&&(null===(s=null==i?void 0:i.children)||void 0===s||s.forEach((i=>this._renderOnActiveLayerInfoChange(i,e))))}))}get el(){return s(this)}static get watchers(){return{handles:["init"],reactiveUtils:["init"],view:["init"]}}};c.style=".sc-instant-apps-interactive-legend-h{display:block;height:100%}.sc-instant-apps-interactive-legend-h .esri-legend.sc-instant-apps-interactive-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}.sc-instant-apps-interactive-legend-h .esri-legend.esri-component.esri-widget.esri-widget--panel.sc-instant-apps-interactive-legend{margin:0}";export{c as instant_apps_interactive_legend}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,h as s,g as e}from"./p-dfcf30cc.js";import{n as a}from"./p-52445921.js";import{i as o,c as h,d as n}from"./p-9907889f.js";import{u as r,c,s as l,d as u}from"./p-ed116111.js";import{a as d,p,i as m,b,g as f,c as v,d as k,e as w,h as g,j as x,m as S}from"./p-6c932889.js";import{g as y}from"./p-31b622cd.js";import{c as D,s as $,a as I}from"./p-dca25d3e.js";import{d as z,g as A}from"./p-a95649f7.js";import"./p-9b46426a.js";import"./p-cbfdcfaf.js";import"./p-16b08122.js";import"./p-2b56ecd9.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v2.0.0
|
11
|
-
*/const M={button:"button",buttonBottomLeft:"button--bottom-left",buttonBottomRight:"button--bottom-right",buttonFractionalSecondDown:"button--fractionalSecond-down",buttonFractionalSecondUp:"button--fractionalSecond-up",buttonHourDown:"button--hour-down",buttonHourUp:"button--hour-up",buttonMeridiemDown:"button--meridiem-down",buttonMeridiemUp:"button--meridiem-up",buttonMinuteDown:"button--minute-down",buttonMinuteUp:"button--minute-up",buttonSecondDown:"button--second-down",buttonSecondUp:"button--second-up",buttonTopLeft:"button--top-left",buttonTopRight:"button--top-right",column:"column",delimiter:"delimiter",fractionalSecond:"fractionalSecond",hour:"hour",input:"input",inputFocus:"inputFocus",meridiem:"meridiem",minute:"minute",second:"second",showMeridiem:"show-meridiem",showSecond:"show-second","scale-s":"scale-s","scale-m":"scale-m","scale-l":"scale-l",timePicker:"time-picker",meridiemStart:"meridiem--start"},C=class{constructor(s){t(this,s),this.calciteInternalTimePickerBlur=i(this,"calciteInternalTimePickerBlur",6),this.calciteInternalTimePickerChange=i(this,"calciteInternalTimePickerChange",6),this.calciteInternalTimePickerFocus=i(this,"calciteInternalTimePickerFocus",6),this.pointerActivated=!1,this.decrementHour=()=>{const t=this.hour?"00"===this.hour?23:parseInt(this.hour)-1:0;this.setValuePart("hour",t)},this.decrementMeridiem=()=>{this.setValuePart("meridiem","PM"===this.meridiem?"AM":"PM")},this.decrementMinuteOrSecond=t=>{let i;if(o(this[t])){const s=parseInt(this[t]);i=0===s?59:s-1}else i=59;this.setValuePart(t,i)},this.decrementMinute=()=>{this.decrementMinuteOrSecond("minute")},this.decrementSecond=()=>{this.decrementMinuteOrSecond("second")},this.focusHandler=t=>{this.pointerActivated||(this.activeEl=t.currentTarget)},this.fractionalSecondKeyDownHandler=t=>{const{key:i}=t;if(a.includes(i)){const t=z(this.step),s=parseInt(this.fractionalSecond),e=s.toString().length;let a;e>=t?a=i.padStart(t,"0"):e<t&&(a=`${s}${i}`.padStart(t,"0")),this.setValuePart("fractionalSecond",parseFloat(`0.${a}`))}else switch(i){case"Backspace":case"Delete":this.setValuePart("fractionalSecond",null);break;case"ArrowDown":t.preventDefault(),this.nudgeFractionalSecond("down");break;case"ArrowUp":t.preventDefault(),this.nudgeFractionalSecond("up");break;case" ":t.preventDefault()}},this.fractionalSecondDownClickHandler=()=>{this.activeEl=this.fractionalSecondEl,this.fractionalSecondEl.focus(),this.nudgeFractionalSecond("down")},this.fractionalSecondUpClickHandler=()=>{this.activeEl=this.fractionalSecondEl,this.fractionalSecondEl.focus(),this.nudgeFractionalSecond("up")},this.hourDownClickHandler=()=>{this.activeEl=this.hourEl,this.hourEl.focus(),this.decrementHour()},this.hourKeyDownHandler=t=>{const{key:i}=t;if(a.includes(i)){const t=parseInt(i);let s;if(o(this.hour))switch(this.hourCycle){case"12":s="01"===this.hour&&t>=0&&t<=2?`1${t}`:t;break;case"24":s="01"===this.hour?`1${t}`:"02"===this.hour&&t>=0&&t<=3?`2${t}`:t}else s=t;this.setValuePart("hour",s)}else switch(i){case"Backspace":case"Delete":this.setValuePart("hour",null);break;case"ArrowDown":t.preventDefault(),this.decrementHour();break;case"ArrowUp":t.preventDefault(),this.incrementHour();break;case" ":t.preventDefault()}},this.hourUpClickHandler=()=>{this.activeEl=this.hourEl,this.hourEl.focus(),this.incrementHour()},this.incrementMeridiem=()=>{this.setValuePart("meridiem","AM"===this.meridiem?"PM":"AM")},this.incrementHour=()=>{const t=o(this.hour)?"23"===this.hour?0:parseInt(this.hour)+1:1;this.setValuePart("hour",t)},this.incrementMinuteOrSecond=t=>{const i=o(this[t])?"59"===this[t]?0:parseInt(this[t])+1:0;this.setValuePart(t,i)},this.incrementMinute=()=>{this.incrementMinuteOrSecond("minute")},this.incrementSecond=()=>{this.incrementMinuteOrSecond("second")},this.inputClickHandler=t=>{this.activeEl=t.target},this.meridiemUpClickHandler=()=>{this.activeEl=this.meridiemEl,this.meridiemEl.focus(),this.incrementMeridiem()},this.meridiemKeyDownHandler=t=>{switch(t.key){case"a":this.setValuePart("meridiem","AM");break;case"p":this.setValuePart("meridiem","PM");break;case"Backspace":case"Delete":this.setValuePart("meridiem",null);break;case"ArrowUp":t.preventDefault(),this.incrementMeridiem();break;case"ArrowDown":t.preventDefault(),this.decrementMeridiem();break;case" ":t.preventDefault()}},this.meridiemDownClickHandler=()=>{this.activeEl=this.meridiemEl,this.meridiemEl.focus(),this.decrementMeridiem()},this.minuteDownClickHandler=()=>{this.activeEl=this.minuteEl,this.minuteEl.focus(),this.decrementMinute()},this.minuteUpClickHandler=()=>{this.activeEl=this.minuteEl,this.minuteEl.focus(),this.incrementMinute()},this.minuteKeyDownHandler=t=>{const{key:i}=t;if(a.includes(i)){const t=parseInt(i);let s;if(o(this.minute)&&this.minute.startsWith("0")){const i=parseInt(this.minute);s=i>S?t:`${i}${t}`}else s=t;this.setValuePart("minute",s)}else switch(i){case"Backspace":case"Delete":this.setValuePart("minute",null);break;case"ArrowDown":t.preventDefault(),this.decrementMinute();break;case"ArrowUp":t.preventDefault(),this.incrementMinute();break;case" ":t.preventDefault()}},this.nudgeFractionalSecond=t=>{const i=A(this.step),s=z(this.step),e=parseInt(this.fractionalSecond),a=parseFloat(`0.${this.fractionalSecond}`);let o,h,n,r;"up"===t&&(o=isNaN(e)?0:a+i,h=parseFloat(o.toFixed(s)),n=A(h),r=h<1&&z(n)>0?d(n,s):"".padStart(s,"0")),"down"===t&&(o=isNaN(e)||0===e?1-i:a-i,h=parseFloat(o.toFixed(s)),n=A(h),r=h<1&&z(n)>0&&1===Math.sign(n)?d(n,s):"".padStart(s,"0")),this.setValuePart("fractionalSecond",r)},this.sanitizeValue=t=>{const{hour:i,minute:s,second:e,fractionalSecond:a}=p(t);return a?`${i}:${s}:${e}.${this.sanitizeFractionalSecond(a)}`:m(t)&&t},this.sanitizeFractionalSecond=t=>t&&z(this.step)!==t.length?parseFloat(`0.${t}`).toFixed(z(this.step)).replace("0.",""):t,this.secondKeyDownHandler=t=>{const{key:i}=t;if(a.includes(i)){const t=parseInt(i);let s;if(o(this.second)&&this.second.startsWith("0")){const i=parseInt(this.second);s=i>S?t:`${i}${t}`}else s=t;this.setValuePart("second",s)}else switch(i){case"Backspace":case"Delete":this.setValuePart("second",null);break;case"ArrowDown":t.preventDefault(),this.decrementSecond();break;case"ArrowUp":t.preventDefault(),this.incrementSecond();break;case" ":t.preventDefault()}},this.secondDownClickHandler=()=>{this.activeEl=this.secondEl,this.secondEl.focus(),this.decrementSecond()},this.secondUpClickHandler=()=>{this.activeEl=this.secondEl,this.secondEl.focus(),this.incrementSecond()},this.setHourEl=t=>this.hourEl=t,this.setMeridiemEl=t=>this.meridiemEl=t,this.setMinuteEl=t=>this.minuteEl=t,this.setSecondEl=t=>this.secondEl=t,this.setFractionalSecondEl=t=>this.fractionalSecondEl=t,this.setValue=t=>{if(m(t)){const{hour:i,minute:s,second:e,fractionalSecond:a}=p(t),{effectiveLocale:o,numberingSystem:h}=this,{localizedHour:n,localizedHourSuffix:r,localizedMinute:c,localizedMinuteSuffix:l,localizedSecond:u,localizedDecimalSeparator:d,localizedFractionalSecond:m,localizedSecondSuffix:k,localizedMeridiem:w}=b({value:t,locale:o,numberingSystem:h});if(this.hour=i,this.minute=s,this.second=e,this.fractionalSecond=this.sanitizeFractionalSecond(a),this.localizedHour=n,this.localizedHourSuffix=r,this.localizedMinute=c,this.localizedMinuteSuffix=l,this.localizedSecond=u,this.localizedDecimalSeparator=d,this.localizedFractionalSecond=m,this.localizedSecondSuffix=k,w){this.localizedMeridiem=w,this.meridiem=f(this.hour);const i=v({value:t,locale:o,numberingSystem:h});this.meridiemOrder=this.getMeridiemOrder(i)}}else this.hour=null,this.fractionalSecond=null,this.localizedHour=null,this.localizedHourSuffix=k("hour",this.effectiveLocale,this.numberingSystem),this.localizedMeridiem=null,this.localizedMinute=null,this.localizedMinuteSuffix=k("minute",this.effectiveLocale,this.numberingSystem),this.localizedSecond=null,this.localizedDecimalSeparator=w(this.effectiveLocale,this.numberingSystem),this.localizedFractionalSecond=null,this.localizedSecondSuffix=k("second",this.effectiveLocale,this.numberingSystem),this.meridiem=null,this.minute=null,this.second=null,this.value=null},this.setValuePart=(t,i)=>{const{effectiveLocale:s,numberingSystem:e}=this;if("meridiem"===t){if(this.meridiem=i,o(this.hour)){const t=parseInt(this.hour);switch(i){case"AM":t>=12&&(this.hour=d(t-12));break;case"PM":t<12&&(this.hour=d(t+12))}this.localizedHour=g({value:this.hour,part:"hour",locale:s,numberingSystem:e})}}else if("fractionalSecond"===t){const t=z(this.step);this.fractionalSecond="number"==typeof i?0===i?"".padStart(t,"0"):d(i,t):i,this.localizedFractionalSecond=g({value:this.fractionalSecond,part:"fractionalSecond",locale:s,numberingSystem:e})}else this[t]="number"==typeof i?d(i):i,this[`localized${a=t,a.charAt(0).toUpperCase()+a.slice(1)}`]=g({value:this[t],part:t,locale:s,numberingSystem:e});var a;let h,n=!1;this.hour&&this.minute?(h=`${this.hour}:${this.minute}`,this.showSecond&&(h=`${h}:${this.second??"00"}`,this.showFractionalSecond&&this.fractionalSecond&&(h=`${h}.${this.fractionalSecond}`))):h=null,this.value!==h&&(n=!0),this.value=h,this.localizedMeridiem=this.value?b({value:this.value,locale:s,numberingSystem:e})?.localizedMeridiem||null:g({value:this.meridiem,part:"meridiem",locale:s,numberingSystem:e}),n&&this.calciteInternalTimePickerChange.emit()},this.scale="m",this.step=60,this.numberingSystem=void 0,this.value=null,this.messages=void 0,this.messageOverrides=void 0,this.activeEl=void 0,this.effectiveLocale="",this.fractionalSecond=void 0,this.hour=void 0,this.hourCycle=void 0,this.localizedDecimalSeparator=".",this.localizedHour=void 0,this.localizedHourSuffix=void 0,this.localizedMeridiem=void 0,this.localizedFractionalSecond=void 0,this.localizedMinute=void 0,this.localizedMinuteSuffix=void 0,this.localizedSecond=void 0,this.localizedSecondSuffix=void 0,this.meridiem=void 0,this.minute=void 0,this.second=void 0,this.showFractionalSecond=void 0,this.showSecond=void 0,this.defaultMessages=void 0}stepChange(){this.toggleSecond()}valueWatcher(t){this.setValue(t)}onMessagesChange(){}effectiveLocaleWatcher(){this.updateLocale()}blurHandler(){this.activeEl=void 0,this.pointerActivated=!1,this.calciteInternalTimePickerBlur.emit()}hostFocusHandler(){this.calciteInternalTimePickerFocus.emit()}keyDownHandler(t){this.pointerActivated=!1;const{defaultPrevented:i,key:s}=t;if(!i)switch(this.activeEl){case this.hourEl:"ArrowRight"===s&&(this.focusPart("minute"),t.preventDefault());break;case this.minuteEl:switch(s){case"ArrowLeft":this.focusPart("hour"),t.preventDefault();break;case"ArrowRight":60!==this.step?(this.focusPart("second"),t.preventDefault()):"12"===this.hourCycle&&(this.focusPart("meridiem"),t.preventDefault())}break;case this.secondEl:switch(s){case"ArrowLeft":this.focusPart("minute"),t.preventDefault();break;case"ArrowRight":this.showFractionalSecond?this.focusPart("fractionalSecond"):"12"===this.hourCycle&&(this.focusPart("meridiem"),t.preventDefault())}break;case this.fractionalSecondEl:switch(s){case"ArrowLeft":this.focusPart("second"),t.preventDefault();break;case"ArrowRight":"12"===this.hourCycle&&(this.focusPart("meridiem"),t.preventDefault())}break;case this.meridiemEl:"ArrowLeft"===s&&(this.showFractionalSecond?this.focusPart("fractionalSecond"):60!==this.step?(this.focusPart("second"),t.preventDefault()):(this.focusPart("minute"),t.preventDefault()))}}pointerDownHandler(){this.pointerActivated=!0}async setFocus(){await D(this),this.el?.focus()}async focusPart(t){await D(this),this[`${t||"hour"}El`]?.focus()}toggleSecond(){this.showSecond=this.step<60,this.showFractionalSecond=z(this.step)>0}getMeridiemOrder(t){const i=this.effectiveLocale;return t&&"ar"!==i&&"he"!==i?t.findIndex((t=>t.value===this.localizedMeridiem)):0}updateLocale(){r(this,this.effectiveLocale),this.hourCycle=x(this.effectiveLocale,this.numberingSystem),this.localizedDecimalSeparator=w(this.effectiveLocale,this.numberingSystem),this.setValue(this.sanitizeValue(this.value))}connectedCallback(){h(this),this.updateLocale(),c(this),this.toggleSecond(),this.meridiemOrder=this.getMeridiemOrder(v({value:"0:00:00",locale:this.effectiveLocale,numberingSystem:this.numberingSystem}))}async componentWillLoad(){$(this),await l(this)}componentDidLoad(){I(this)}disconnectedCallback(){n(this),u(this)}render(){const t=o(this.hour),i=y(this.scale),e=o(this.minute),a=o(this.second),h=o(this.fractionalSecond),n="12"===this.hourCycle;return s("div",{class:{[M.timePicker]:!0,[M.showMeridiem]:n,[M.showSecond]:this.showSecond,[M[`scale-${this.scale}`]]:!0},dir:"ltr"},s("div",{class:M.column,role:"group"},s("span",{"aria-label":this.messages.hourUp,class:{[M.button]:!0,[M.buttonHourUp]:!0,[M.buttonTopLeft]:!0},onClick:this.hourUpClickHandler,role:"button"},s("calcite-icon",{icon:"chevron-up",scale:i})),s("span",{"aria-label":this.messages.hour,"aria-valuemax":"23","aria-valuemin":"1","aria-valuenow":t&&parseInt(this.hour)||"0","aria-valuetext":this.hour,class:{[M.input]:!0,[M.hour]:!0,[M.inputFocus]:this.activeEl&&this.activeEl===this.hourEl},onClick:this.inputClickHandler,onFocus:this.focusHandler,onKeyDown:this.hourKeyDownHandler,role:"spinbutton",tabIndex:0,ref:this.setHourEl},this.localizedHour||"--"),s("span",{"aria-label":this.messages.hourDown,class:{[M.button]:!0,[M.buttonHourDown]:!0,[M.buttonBottomLeft]:!0},onClick:this.hourDownClickHandler,role:"button"},s("calcite-icon",{icon:"chevron-down",scale:i}))),s("span",{class:M.delimiter},this.localizedHourSuffix),s("div",{class:M.column,role:"group"},s("span",{"aria-label":this.messages.minuteUp,class:{[M.button]:!0,[M.buttonMinuteUp]:!0},onClick:this.minuteUpClickHandler,role:"button"},s("calcite-icon",{icon:"chevron-up",scale:i})),s("span",{"aria-label":this.messages.minute,"aria-valuemax":"12","aria-valuemin":"1","aria-valuenow":e&&parseInt(this.minute)||"0","aria-valuetext":this.minute,class:{[M.input]:!0,[M.minute]:!0,[M.inputFocus]:this.activeEl&&this.activeEl===this.minuteEl},onClick:this.inputClickHandler,onFocus:this.focusHandler,onKeyDown:this.minuteKeyDownHandler,role:"spinbutton",tabIndex:0,ref:this.setMinuteEl},this.localizedMinute||"--"),s("span",{"aria-label":this.messages.minuteDown,class:{[M.button]:!0,[M.buttonMinuteDown]:!0},onClick:this.minuteDownClickHandler,role:"button"},s("calcite-icon",{icon:"chevron-down",scale:i}))),this.showSecond&&s("span",{class:M.delimiter},this.localizedMinuteSuffix),this.showSecond&&s("div",{class:M.column,role:"group"},s("span",{"aria-label":this.messages.secondUp,class:{[M.button]:!0,[M.buttonSecondUp]:!0},onClick:this.secondUpClickHandler,role:"button"},s("calcite-icon",{icon:"chevron-up",scale:i})),s("span",{"aria-label":this.messages.second,"aria-valuemax":"59","aria-valuemin":"0","aria-valuenow":a&&parseInt(this.second)||"0","aria-valuetext":this.second,class:{[M.input]:!0,[M.second]:!0,[M.inputFocus]:this.activeEl&&this.activeEl===this.secondEl},onClick:this.inputClickHandler,onFocus:this.focusHandler,onKeyDown:this.secondKeyDownHandler,role:"spinbutton",tabIndex:0,ref:this.setSecondEl},this.localizedSecond||"--"),s("span",{"aria-label":this.messages.secondDown,class:{[M.button]:!0,[M.buttonSecondDown]:!0},onClick:this.secondDownClickHandler,role:"button"},s("calcite-icon",{icon:"chevron-down",scale:i}))),this.showFractionalSecond&&s("span",{class:M.delimiter},this.localizedDecimalSeparator),this.showFractionalSecond&&s("div",{class:M.column,role:"group"},s("span",{"aria-label":this.messages.fractionalSecondUp,class:{[M.button]:!0,[M.buttonFractionalSecondUp]:!0},onClick:this.fractionalSecondUpClickHandler,role:"button"},s("calcite-icon",{icon:"chevron-up",scale:i})),s("span",{"aria-label":this.messages.fractionalSecond,"aria-valuemax":"999","aria-valuemin":"1","aria-valuenow":h&&parseInt(this.fractionalSecond)||"0","aria-valuetext":this.localizedFractionalSecond,class:{[M.input]:!0,[M.fractionalSecond]:!0,[M.inputFocus]:this.activeEl&&this.activeEl===this.fractionalSecondEl},onClick:this.inputClickHandler,onFocus:this.focusHandler,onKeyDown:this.fractionalSecondKeyDownHandler,role:"spinbutton",tabIndex:0,ref:this.setFractionalSecondEl},this.localizedFractionalSecond||"--"),s("span",{"aria-label":this.messages.fractionalSecondDown,class:{[M.button]:!0,[M.buttonFractionalSecondDown]:!0},onClick:this.fractionalSecondDownClickHandler,role:"button"},s("calcite-icon",{icon:"chevron-down",scale:i}))),this.localizedSecondSuffix&&s("span",{class:M.delimiter},this.localizedSecondSuffix),n&&s("div",{class:{[M.column]:!0,[M.meridiemStart]:0===this.meridiemOrder},role:"group"},s("span",{"aria-label":this.messages.meridiemUp,class:{[M.button]:!0,[M.buttonMeridiemUp]:!0,[M.buttonTopRight]:!0},onClick:this.meridiemUpClickHandler,role:"button"},s("calcite-icon",{icon:"chevron-up",scale:i})),s("span",{"aria-label":this.messages.meridiem,"aria-valuemax":"2","aria-valuemin":"1","aria-valuenow":"PM"===this.meridiem?"2":"1","aria-valuetext":this.meridiem,class:{[M.input]:!0,[M.meridiem]:!0,[M.inputFocus]:this.activeEl&&this.activeEl===this.meridiemEl},onClick:this.inputClickHandler,onFocus:this.focusHandler,onKeyDown:this.meridiemKeyDownHandler,role:"spinbutton",tabIndex:0,ref:this.setMeridiemEl},this.localizedMeridiem||"--"),s("span",{"aria-label":this.messages.meridiemDown,class:{[M.button]:!0,[M.buttonMeridiemDown]:!0,[M.buttonBottomRight]:!0},onClick:this.meridiemDownClickHandler,role:"button"},s("calcite-icon",{icon:"chevron-down",scale:i}))))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{step:["stepChange"],value:["valueWatcher"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleWatcher"]}}};C.style=":host{display:inline-block}.time-picker{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;background-color:var(--calcite-color-foreground-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius)}.time-picker .column{display:flex;flex-direction:column}.time-picker .meridiem--start{order:-1}.time-picker .button{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-color-foreground-1)}.time-picker .button:hover,.time-picker .button:focus{background-color:var(--calcite-color-foreground-2);outline:2px solid transparent;outline-offset:2px;z-index:var(--calcite-z-index-header);outline-offset:0}.time-picker .button:active{background-color:var(--calcite-color-foreground-3)}.time-picker .button.top-left{border-start-start-radius:var(--calcite-border-radius)}.time-picker .button.bottom-left{border-end-start-radius:var(--calcite-border-radius)}.time-picker .button.top-right{border-start-end-radius:var(--calcite-border-radius)}.time-picker .button.bottom-right{border-end-end-radius:var(--calcite-border-radius)}.time-picker .button calcite-icon{color:var(--calcite-color-text-3)}.time-picker .input{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-color-foreground-1);font-weight:var(--calcite-font-weight-medium)}.time-picker .input:hover{box-shadow:inset 0 0 0 2px var(--calcite-color-foreground-2);z-index:var(--calcite-z-index-header)}.time-picker .input:focus,.time-picker .input:hover:focus{outline:2px solid transparent;outline-offset:2px;outline-offset:0}.time-picker .input.inputFocus,.time-picker .input:hover.inputFocus{box-shadow:inset 0 0 0 2px var(--calcite-color-brand);z-index:var(--calcite-z-index-header)}.time-picker.scale-s{font-size:var(--calcite-font-size--1)}.time-picker.scale-s .button,.time-picker.scale-s .input{padding-inline:0.75rem;padding-block:0.25rem}.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child{padding-inline-end:0.75rem}.time-picker.scale-m{font-size:var(--calcite-font-size-0)}.time-picker.scale-m .button,.time-picker.scale-m .input{padding-inline:1rem;padding-block:0.5rem}.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child{padding-inline-end:1rem}.time-picker.scale-l{font-size:var(--calcite-font-size-1)}.time-picker.scale-l .button,.time-picker.scale-l .input{padding-inline:1.25rem;padding-block:0.75rem}.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child{padding-inline-end:1.25rem}:host([hidden]){display:none}[hidden]{display:none}";export{C as calcite_time_picker}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{d as _}from"./p-b1e8596e.js";import"./p-dfcf30cc.js";import"./p-28c4dbc7.js";import"./p-9b46426a.js";import"./p-cbfdcfaf.js";import"./p-16b08122.js";import"./p-8fdbb6f2.js";import"./p-a442727d.js";import"./p-52445921.js";import"./p-ecfaf4d7.js";import"./p-31b622cd.js";import"./p-dca25d3e.js";import"./p-9907889f.js";import"./p-2b56ecd9.js";import"./p-647c4bdb.js";import"./p-6c932889.js";import"./p-a95649f7.js";import"./p-ed116111.js";import"./p-d395caef.js";var r="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),t="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),m="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),p="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),o=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function s(_,r,t){var m,p;return"m"===t?r?"минута":"минуту":_+" "+(m=+_,p={mm:r?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[t].split("_"),m%10==1&&m%100!=11?p[0]:m%10>=2&&m%10<=4&&(m%100<10||m%100>=20)?p[1]:p[2])}var e=function(_,m){return o.test(m)?r[_.month()]:t[_.month()]};e.s=t,e.f=r;var i=function(_,r){return o.test(r)?m[_.month()]:p[_.month()]};i.s=p,i.f=m;var d={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:e,monthsShort:i,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:s,mm:s,h:"час",hh:s,d:"день",dd:s,M:"месяц",MM:s,y:"год",yy:s},ordinal:function(_){return _},meridiem:function(_){return _<4?"ночи":_<12?"утра":_<17?"дня":"вечера"}};_.locale(d,null,!0);export default d;
|
@@ -1,61 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{a as t,c as r,g as e}from"./p-e1a4994d.js";var i,n,s=function(t){return t&&t.Math===Math&&t},a=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof t&&t)||s("object"==typeof t&&t)||function(){return this}()||Function("return this")(),o=function(t){try{return!!t()}catch(t){return!0}},h=!o((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),u=!o((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),c=Function.prototype.call,f=u?c.bind(c):function(){return c.apply(c,arguments)},l={}.propertyIsEnumerable,v=Object.getOwnPropertyDescriptor,d=v&&!l.call({1:2},1)?function(t){var r=v(this,t);return!!r&&r.enumerable}:l,p={f:d},y=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},g=Function.prototype,m=g.call,b=u&&g.bind.bind(m,m),w=u?b:function(t){return function(){return m.apply(t,arguments)}},x=w({}.toString),M=w("".slice),k=function(t){return M(x(t),8,-1)},S=Object,N=w("".split),P=o((function(){return!S("z").propertyIsEnumerable(0)}))?function(t){return"String"===k(t)?N(t,""):S(t)}:S,O=function(t){return null==t},j=TypeError,E=function(t){if(O(t))throw new j("Can't call method on "+t);return t},C=function(t){return P(E(t))},T="object"==typeof document&&document.all,A={all:T,IS_HTMLDDA:void 0===T&&void 0!==T},R=A.all,B=A.IS_HTMLDDA?function(t){return"function"==typeof t||t===R}:function(t){return"function"==typeof t},$=A.all,L=A.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:B(t)||t===$}:function(t){return"object"==typeof t?null!==t:B(t)},I=function(t,r){return arguments.length<2?B(e=a[t])?e:void 0:a[t]&&a[t][r];var e},D=w({}.isPrototypeOf),F="undefined"!=typeof navigator&&String(navigator.userAgent)||"",z=a.process,_=a.Deno,Y=z&&z.versions||_&&_.version,X=Y&&Y.v8;X&&(n=(i=X.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!n&&F&&(!(i=F.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=F.match(/Chrome\/(\d+)/))&&(n=+i[1]);var q=n,G=a.String,U=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!G(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&q&&q<41})),V=U&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,H=Object,W=V?function(t){return"symbol"==typeof t}:function(t){var r=I("Symbol");return B(r)&&D(r.prototype,H(t))},Q=String,Z=function(t){try{return Q(t)}catch(t){return"Object"}},K=TypeError,J=function(t){if(B(t))return t;throw new K(Z(t)+" is not a function")},tt=function(t,r){var e=t[r];return O(e)?void 0:J(e)},rt=TypeError,et=Object.defineProperty,it=function(t,r){try{et(a,t,{value:r,configurable:!0,writable:!0})}catch(e){a[t]=r}return r},nt="__core-js_shared__",st=a[nt]||it(nt,{}),at=r((function(t){(t.exports=function(t,r){return st[t]||(st[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.34.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE",source:"https://github.com/zloirock/core-js"})})),ot=Object,ht=function(t){return ot(E(t))},ut=w({}.hasOwnProperty),ct=Object.hasOwn||function(t,r){return ut(ht(t),r)},ft=0,lt=Math.random(),vt=w(1..toString),dt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+vt(++ft+lt,36)},pt=a.Symbol,yt=at("wks"),gt=V?pt.for||pt:pt&&pt.withoutSetter||dt,mt=function(t){return ct(yt,t)||(yt[t]=U&&ct(pt,t)?pt[t]:gt("Symbol."+t)),yt[t]},bt=TypeError,wt=mt("toPrimitive"),xt=function(t){var r=function(t,r){if(!L(t)||W(t))return t;var e,i=tt(t,wt);if(i){if(void 0===r&&(r="default"),e=f(i,t,r),!L(e)||W(e))return e;throw new bt("Can't convert object to primitive value")}return void 0===r&&(r="number"),function(t,r){var e,i;if("string"===r&&B(e=t.toString)&&!L(i=f(e,t)))return i;if(B(e=t.valueOf)&&!L(i=f(e,t)))return i;if("string"!==r&&B(e=t.toString)&&!L(i=f(e,t)))return i;throw new rt("Can't convert object to primitive value")}(t,r)}(t,"string");return W(r)?r:r+""},Mt=a.document,kt=L(Mt)&&L(Mt.createElement),St=function(t){return kt?Mt.createElement(t):{}},Nt=!h&&!o((function(){return 7!==Object.defineProperty(St("div"),"a",{get:function(){return 7}}).a})),Pt=Object.getOwnPropertyDescriptor,Ot=h?Pt:function(t,r){if(t=C(t),r=xt(r),Nt)try{return Pt(t,r)}catch(t){}if(ct(t,r))return y(!f(p.f,t,r),t[r])},jt={f:Ot},Et=h&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ct=String,Tt=TypeError,At=function(t){if(L(t))return t;throw new Tt(Ct(t)+" is not an object")},Rt=TypeError,Bt=Object.defineProperty,$t=Object.getOwnPropertyDescriptor,Lt="enumerable",It="configurable",Dt="writable",Ft=h?Et?function(t,r,e){if(At(t),r=xt(r),At(e),"function"==typeof t&&"prototype"===r&&"value"in e&&Dt in e&&!e[Dt]){var i=$t(t,r);i&&i[Dt]&&(t[r]=e.value,e={configurable:It in e?e[It]:i[It],enumerable:Lt in e?e[Lt]:i[Lt],writable:!1})}return Bt(t,r,e)}:Bt:function(t,r,e){if(At(t),r=xt(r),At(e),Nt)try{return Bt(t,r,e)}catch(t){}if("get"in e||"set"in e)throw new Rt("Accessors not supported");return"value"in e&&(t[r]=e.value),t},zt={f:Ft},_t=h?function(t,r,e){return zt.f(t,r,y(1,e))}:function(t,r,e){return t[r]=e,t},Yt=Function.prototype,Xt=h&&Object.getOwnPropertyDescriptor,qt=ct(Yt,"name"),Gt={EXISTS:qt,PROPER:qt&&"something"===function(){}.name,CONFIGURABLE:qt&&(!h||h&&Xt(Yt,"name").configurable)},Ut=w(Function.toString);B(st.inspectSource)||(st.inspectSource=function(t){return Ut(t)});var Vt,Ht,Wt,Qt=st.inspectSource,Zt=a.WeakMap,Kt=B(Zt)&&/native code/.test(String(Zt)),Jt=at("keys"),tr=function(t){return Jt[t]||(Jt[t]=dt(t))},rr={},er="Object already initialized",ir=a.TypeError;if(Kt||st.state){var nr=st.state||(st.state=new(0,a.WeakMap));nr.get=nr.get,nr.has=nr.has,nr.set=nr.set,Vt=function(t,r){if(nr.has(t))throw new ir(er);return r.facade=t,nr.set(t,r),r},Ht=function(t){return nr.get(t)||{}},Wt=function(t){return nr.has(t)}}else{var sr=tr("state");rr[sr]=!0,Vt=function(t,r){if(ct(t,sr))throw new ir(er);return r.facade=t,_t(t,sr,r),r},Ht=function(t){return ct(t,sr)?t[sr]:{}},Wt=function(t){return ct(t,sr)}}var ar={set:Vt,get:Ht,has:Wt,enforce:function(t){return Wt(t)?Ht(t):Vt(t,{})},getterFor:function(t){return function(r){var e;if(!L(r)||(e=Ht(r)).type!==t)throw new ir("Incompatible receiver, "+t+" required");return e}}},or=r((function(t){var r=Gt.CONFIGURABLE,e=ar.enforce,i=ar.get,n=String,s=Object.defineProperty,a=w("".slice),u=w("".replace),c=w([].join),f=h&&!o((function(){return 8!==s((function(){}),"length",{value:8}).length})),l=String(String).split("String"),v=t.exports=function(t,i,o){"Symbol("===a(n(i),0,7)&&(i="["+u(n(i),/^Symbol\(([^)]*)\)/,"$1")+"]"),o&&o.getter&&(i="get "+i),o&&o.setter&&(i="set "+i),(!ct(t,"name")||r&&t.name!==i)&&(h?s(t,"name",{value:i,configurable:!0}):t.name=i),f&&o&&ct(o,"arity")&&t.length!==o.arity&&s(t,"length",{value:o.arity});try{o&&ct(o,"constructor")&&o.constructor?h&&s(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var v=e(t);return ct(v,"source")||(v.source=c(l,"string"==typeof i?i:"")),t};Function.prototype.toString=v((function(){return B(this)&&i(this).source||Qt(this)}),"toString")})),hr=function(t,r,e,i){i||(i={});var n=i.enumerable,s=void 0!==i.name?i.name:r;if(B(e)&&or(e,s,i),i.global)n?t[r]=e:it(r,e);else{try{i.unsafe?t[r]&&(n=!0):delete t[r]}catch(t){}n?t[r]=e:zt.f(t,r,{value:e,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return t},ur=Math.ceil,cr=Math.floor,fr=Math.trunc||function(t){var r=+t;return(r>0?cr:ur)(r)},lr=function(t){var r=+t;return r!=r||0===r?0:fr(r)},vr=Math.max,dr=Math.min,pr=function(t,r){var e=lr(t);return e<0?vr(e+r,0):dr(e,r)},yr=Math.min,gr=function(t){return t>0?yr(lr(t),9007199254740991):0},mr=function(t){return gr(t.length)},br=function(t){return function(r,e,i){var n,s=C(r),a=mr(s),o=pr(i,a);if(t&&e!=e){for(;a>o;)if((n=s[o++])!=n)return!0}else for(;a>o;o++)if((t||o in s)&&s[o]===e)return t||o||0;return!t&&-1}},wr={includes:br(!0),indexOf:br(!1)},xr=wr.indexOf,Mr=w([].push),kr=function(t,r){var e,i=C(t),n=0,s=[];for(e in i)!ct(rr,e)&&ct(i,e)&&Mr(s,e);for(;r.length>n;)ct(i,e=r[n++])&&(~xr(s,e)||Mr(s,e));return s},Sr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Nr=Sr.concat("length","prototype"),Pr=Object.getOwnPropertyNames||function(t){return kr(t,Nr)},Or={f:Pr},jr={f:Object.getOwnPropertySymbols},Er=w([].concat),Cr=I("Reflect","ownKeys")||function(t){var r=Or.f(At(t)),e=jr.f;return e?Er(r,e(t)):r},Tr=function(t,r,e){for(var i=Cr(r),n=zt.f,s=jt.f,a=0;a<i.length;a++){var o=i[a];ct(t,o)||e&&ct(e,o)||n(t,o,s(r,o))}},Ar=/#|\.prototype\./,Rr=function(t,r){var e=$r[Br(t)];return e===Ir||e!==Lr&&(B(r)?o(r):!!r)},Br=Rr.normalize=function(t){return String(t).replace(Ar,".").toLowerCase()},$r=Rr.data={},Lr=Rr.NATIVE="N",Ir=Rr.POLYFILL="P",Dr=Rr,Fr=jt.f,zr=function(t,r){var e,i,n,s,o,h=t.target,u=t.global,c=t.stat;if(e=u?a:c?a[h]||it(h,{}):(a[h]||{}).prototype)for(i in r){if(s=r[i],n=t.dontCallGetSet?(o=Fr(e,i))&&o.value:e[i],!Dr(u?i:h+(c?".":"#")+i,t.forced)&&void 0!==n){if(typeof s==typeof n)continue;Tr(s,n)}(t.sham||n&&n.sham)&&_t(s,"sham",!0),hr(e,i,s,t)}},_r="process"===k(a.process),Yr=String,Xr=TypeError,qr=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=function(t){try{return w(J(Object.getOwnPropertyDescriptor(t,"__proto__").set))}catch(t){}}(Object.prototype))(e,[]),r=e instanceof Array}catch(t){}return function(e,i){return At(e),function(t){if("object"==typeof t||B(t))return t;throw new Xr("Can't set "+Yr(t)+" as a prototype")}(i),r?t(e,i):e.__proto__=i,e}}():void 0),Gr=zt.f,Ur=mt("toStringTag"),Vr=function(t,r,e){t&&!e&&(t=t.prototype),t&&!ct(t,Ur)&&Gr(t,Ur,{configurable:!0,value:r})},Hr=mt("species"),Wr=TypeError,Qr={};Qr[mt("toStringTag")]="z";var Zr="[object z]"===String(Qr),Kr=mt("toStringTag"),Jr=Object,te="Arguments"===k(function(){return arguments}()),re=Zr?k:function(t){var r,e,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=Jr(t),Kr))?e:te?k(r):"Object"===(i=k(r))&&B(r.callee)?"Arguments":i},ee=function(){},ie=[],ne=I("Reflect","construct"),se=/^\s*(?:class|function)\b/,ae=w(se.exec),oe=!se.test(ee),he=function(t){if(!B(t))return!1;try{return ne(ee,ie,t),!0}catch(t){return!1}},ue=function(t){if(!B(t))return!1;switch(re(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return oe||!!ae(se,Qt(t))}catch(t){return!0}};ue.sham=!0;var ce,fe,le,ve,de=!ne||o((function(){var t;return he(he.call)||!he(Object)||!he((function(){t=!0}))||t}))?ue:he,pe=TypeError,ye=mt("species"),ge=function(t,r){var e,i=At(t).constructor;return void 0===i||O(e=At(i)[ye])?r:function(t){if(de(t))return t;throw new pe(Z(t)+" is not a constructor")}(e)},me=Function.prototype,be=me.apply,we=me.call,xe="object"==typeof Reflect&&Reflect.apply||(u?we.bind(be):function(){return we.apply(be,arguments)}),Me=function(t){if("Function"===k(t))return w(t)},ke=Me(Me.bind),Se=function(t,r){return J(t),void 0===r?t:u?ke(t,r):function(){return t.apply(r,arguments)}},Ne=I("document","documentElement"),Pe=w([].slice),Oe=TypeError,je=/(?:ipad|iphone|ipod).*applewebkit/i.test(F),Ee=a.setImmediate,Ce=a.clearImmediate,Te=a.process,Ae=a.Dispatch,Re=a.Function,Be=a.MessageChannel,$e=a.String,Le=0,Ie={},De="onreadystatechange";o((function(){ce=a.location}));var Fe=function(t){if(ct(Ie,t)){var r=Ie[t];delete Ie[t],r()}},ze=function(t){return function(){Fe(t)}},_e=function(t){Fe(t.data)},Ye=function(t){a.postMessage($e(t),ce.protocol+"//"+ce.host)};Ee&&Ce||(Ee=function(t){!function(t){if(t<1)throw new Oe("Not enough arguments")}(arguments.length);var r=B(t)?t:Re(t),e=Pe(arguments,1);return Ie[++Le]=function(){xe(r,void 0,e)},fe(Le),Le},Ce=function(t){delete Ie[t]},_r?fe=function(t){Te.nextTick(ze(t))}:Ae&&Ae.now?fe=function(t){Ae.now(ze(t))}:Be&&!je?(ve=(le=new Be).port2,le.port1.onmessage=_e,fe=Se(ve.postMessage,ve)):a.addEventListener&&B(a.postMessage)&&!a.importScripts&&ce&&"file:"!==ce.protocol&&!o(Ye)?(fe=Ye,a.addEventListener("message",_e,!1)):fe=De in St("script")?function(t){Ne.appendChild(St("script"))[De]=function(){Ne.removeChild(this),Fe(t)}}:function(t){setTimeout(ze(t),0)});var Xe={set:Ee,clear:Ce},qe=function(){this.head=null,this.tail=null};qe.prototype={add:function(t){var r={item:t,next:null},e=this.tail;e?e.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Ge,Ue,Ve,He,We,Qe=qe,Ze=/ipad|iphone|ipod/i.test(F)&&"undefined"!=typeof Pebble,Ke=/web0s(?!.*chrome)/i.test(F),Je=Xe.set,ti=a.MutationObserver||a.WebKitMutationObserver,ri=a.document,ei=a.process,ii=a.Promise,ni=(0,jt.f)(a,"queueMicrotask"),si=ni&&ni.value;if(!si){var ai=new Qe,oi=function(){var t,r;for(_r&&(t=ei.domain)&&t.exit();r=ai.get();)try{r()}catch(t){throw ai.head&&Ge(),t}t&&t.enter()};je||_r||Ke||!ti||!ri?!Ze&&ii&&ii.resolve?((He=ii.resolve(void 0)).constructor=ii,We=Se(He.then,He),Ge=function(){We(oi)}):_r?Ge=function(){ei.nextTick(oi)}:(Je=Se(Je,a),Ge=function(){Je(oi)}):(Ue=!0,Ve=ri.createTextNode(""),new ti(oi).observe(Ve,{characterData:!0}),Ge=function(){Ve.data=Ue=!Ue}),si=function(t){ai.head||Ge(),ai.add(t)}}var hi,ui,ci,fi,li,vi,di,pi=si,yi=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},gi=a.Promise,mi="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,bi=!mi&&!_r&&"object"==typeof window&&"object"==typeof document,wi=mt("species"),xi=!1,Mi=B(a.PromiseRejectionEvent),ki=Dr("Promise",(function(){var t=Qt(gi),r=t!==String(gi);if(!r&&66===q)return!0;if(!q||q<51||!/native code/.test(t)){var e=new gi((function(t){t(1)})),i=function(t){t((function(){}),(function(){}))};if((e.constructor={})[wi]=i,!(xi=e.then((function(){}))instanceof i))return!0}return!r&&(bi||mi)&&!Mi})),Si={CONSTRUCTOR:ki,REJECTION_EVENT:Mi,SUBCLASSING:xi},Ni=TypeError,Pi=function(t){var r,e;this.promise=new t((function(t,i){if(void 0!==r||void 0!==e)throw new Ni("Bad Promise constructor");r=t,e=i})),this.resolve=J(r),this.reject=J(e)},Oi={f:function(t){return new Pi(t)}},ji=Xe.set,Ei="Promise",Ci=Si.CONSTRUCTOR,Ti=Si.REJECTION_EVENT,Ai=Si.SUBCLASSING,Ri=ar.getterFor(Ei),Bi=ar.set,$i=gi&&gi.prototype,Li=gi,Ii=$i,Di=a.TypeError,Fi=a.document,zi=a.process,_i=Oi.f,Yi=_i,Xi=!!(Fi&&Fi.createEvent&&a.dispatchEvent),qi="unhandledrejection",Gi=function(t){var r;return!(!L(t)||!B(r=t.then))&&r},Ui=function(t,r){var e,i,n,s=r.value,a=1===r.state,o=a?t.ok:t.fail,h=t.resolve,u=t.reject,c=t.domain;try{o?(a||(2===r.rejection&&Zi(r),r.rejection=1),!0===o?e=s:(c&&c.enter(),e=o(s),c&&(c.exit(),n=!0)),e===t.promise?u(new Di("Promise-chain cycle")):(i=Gi(e))?f(i,e,h,u):h(e)):u(s)}catch(t){c&&!n&&c.exit(),u(t)}},Vi=function(t,r){t.notified||(t.notified=!0,pi((function(){for(var e,i=t.reactions;e=i.get();)Ui(e,t);t.notified=!1,r&&!t.rejection&&Wi(t)})))},Hi=function(t,r,e){var i,n;Xi?((i=Fi.createEvent("Event")).promise=r,i.reason=e,i.initEvent(t,!1,!0),a.dispatchEvent(i)):i={promise:r,reason:e},!Ti&&(n=a["on"+t])?n(i):t===qi&&function(t,r){try{1===arguments.length?console.error(t):console.error(t,r)}catch(t){}}("Unhandled promise rejection",e)},Wi=function(t){f(ji,a,(function(){var r,e=t.facade,i=t.value;if(Qi(t)&&(r=yi((function(){_r?zi.emit("unhandledRejection",i,e):Hi(qi,e,i)})),t.rejection=_r||Qi(t)?2:1,r.error))throw r.value}))},Qi=function(t){return 1!==t.rejection&&!t.parent},Zi=function(t){f(ji,a,(function(){var r=t.facade;_r?zi.emit("rejectionHandled",r):Hi("rejectionhandled",r,t.value)}))},Ki=function(t,r,e){return function(i){t(r,i,e)}},Ji=function(t,r,e){t.done||(t.done=!0,e&&(t=e),t.value=r,t.state=2,Vi(t,!0))},tn=function(t,r,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===r)throw new Di("Promise can't be resolved itself");var i=Gi(r);i?pi((function(){var e={done:!1};try{f(i,r,Ki(tn,e,t),Ki(Ji,e,t))}catch(r){Ji(e,r,t)}})):(t.value=r,t.state=1,Vi(t,!1))}catch(r){Ji({done:!1},r,t)}}};if(Ci&&(Li=function(t){!function(t){if(D(Ii,t))return t;throw new Wr("Incorrect invocation")}(this),J(t),f(hi,this);var r=Ri(this);try{t(Ki(tn,r),Ki(Ji,r))}catch(t){Ji(r,t)}},(hi=function(){Bi(this,{type:Ei,done:!1,notified:!1,parent:!1,reactions:new Qe,rejection:!1,state:0,value:void 0})}).prototype=hr(Ii=Li.prototype,"then",(function(t,r){var e=Ri(this),i=_i(ge(this,Li));return e.parent=!0,i.ok=!B(t)||t,i.fail=B(r)&&r,i.domain=_r?zi.domain:void 0,0===e.state?e.reactions.add(i):pi((function(){Ui(i,e)})),i.promise})),ui=function(){var t=new hi,r=Ri(t);this.promise=t,this.resolve=Ki(tn,r),this.reject=Ki(Ji,r)},Oi.f=_i=function(t){return t===Li||void 0===t?new ui(t):Yi(t)},B(gi)&&$i!==Object.prototype)){ci=$i.then,Ai||hr($i,"then",(function(t,r){var e=this;return new Li((function(t,r){f(ci,e,t,r)})).then(t,r)}),{unsafe:!0});try{delete $i.constructor}catch(t){}qr&&qr($i,Ii)}zr({global:!0,constructor:!0,wrap:!0,forced:Ci},{Promise:Li}),Vr(Li,Ei,!1),di=I(Ei),h&&di&&!di[Hr]&&(fi=di,li=Hr,(vi={configurable:!0,get:function(){return this}}).get&&or(vi.get,li,{getter:!0}),vi.set&&or(vi.set,li,{setter:!0}),zt.f(fi,li,vi));var rn={},en=mt("iterator"),nn=Array.prototype,sn=mt("iterator"),an=function(t){if(!O(t))return tt(t,sn)||tt(t,"@@iterator")||rn[re(t)]},on=TypeError,hn=function(t,r,e){var i,n;At(t);try{if(!(i=tt(t,"return"))){if("throw"===r)throw e;return e}i=f(i,t)}catch(t){n=!0,i=t}if("throw"===r)throw e;if(n)throw i;return At(i),e},un=TypeError,cn=function(t,r){this.stopped=t,this.result=r},fn=cn.prototype,ln=function(t,r,e){var i,n,s,a,o,h,u,c,l=!(!e||!e.AS_ENTRIES),v=!(!e||!e.IS_RECORD),d=!(!e||!e.IS_ITERATOR),p=!(!e||!e.INTERRUPTED),y=Se(r,e&&e.that),g=function(t){return i&&hn(i,"normal",t),new cn(!0,t)},m=function(t){return l?(At(t),p?y(t[0],t[1],g):y(t[0],t[1])):p?y(t,g):y(t)};if(v)i=t.iterator;else if(d)i=t;else{if(!(n=an(t)))throw new un(Z(t)+" is not iterable");if(void 0!==(c=n)&&(rn.Array===c||nn[en]===c)){for(s=0,a=mr(t);a>s;s++)if((o=m(t[s]))&&D(fn,o))return o;return new cn(!1)}i=function(t,r){var e=arguments.length<2?an(t):r;if(J(e))return At(f(e,t));throw new on(Z(t)+" is not iterable")}(t,n)}for(h=v?t.next:i.next;!(u=f(h,i)).done;){try{o=m(u.value)}catch(t){hn(i,"throw",t)}if("object"==typeof o&&o&&D(fn,o))return o}return new cn(!1)},vn=mt("iterator"),dn=!1;try{var pn=0,yn={next:function(){return{done:!!pn++}},return:function(){dn=!0}};yn[vn]=function(){return this},Array.from(yn,(function(){throw 2}))}catch(t){}var gn=Si.CONSTRUCTOR||!function(){try{if(!dn)return!1}catch(t){return!1}var t=!1;try{var r={};r[vn]=function(){return{next:function(){return{done:t=!0}}}},gi.all(r).then(void 0,(function(){}))}catch(t){}return t}();zr({target:"Promise",stat:!0,forced:gn},{all:function(t){var r=this,e=Oi.f(r),i=e.resolve,n=e.reject,s=yi((function(){var e=J(r.resolve),s=[],a=0,o=1;ln(t,(function(t){var h=a++,u=!1;o++,f(e,r,t).then((function(t){u||(u=!0,s[h]=t,--o||i(s))}),n)})),--o||i(s)}));return s.error&&n(s.value),e.promise}});var mn=gi&&gi.prototype;if(zr({target:"Promise",proto:!0,forced:Si.CONSTRUCTOR,real:!0},{catch:function(t){return this.then(void 0,t)}}),B(gi)){var bn=I("Promise").prototype.catch;mn.catch!==bn&&hr(mn,"catch",bn,{unsafe:!0})}zr({target:"Promise",stat:!0,forced:gn},{race:function(t){var r=this,e=Oi.f(r),i=e.reject,n=yi((function(){var n=J(r.resolve);ln(t,(function(t){f(n,r,t).then(e.resolve,i)}))}));return n.error&&i(n.value),e.promise}}),zr({target:"Promise",stat:!0,forced:Si.CONSTRUCTOR},{reject:function(t){var r=Oi.f(this);return f(r.reject,void 0,t),r.promise}}),zr({target:"Promise",stat:!0,forced:Si.CONSTRUCTOR},{resolve:function(t){return function(t,r){if(At(t),L(r)&&r.constructor===t)return r;var e=Oi.f(t);return(0,e.resolve)(r),e.promise}(this,t)}});const wn=e(r((function(t){function r(t,r,e,i,n,s,a){try{var o=t[s](a),h=o.value}catch(t){return void e(t)}o.done?r(h):Promise.resolve(h).then(i,n)}t.exports=function(t){return function(){var e=this,i=arguments;return new Promise((function(n,s){var a=t.apply(e,i);function o(t){r(a,n,s,o,h,"next",t)}function h(t){r(a,n,s,o,h,"throw",t)}o(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports})));var xn,Mn=String,kn=function(t){if("Symbol"===re(t))throw new TypeError("Cannot convert a Symbol value to a string");return Mn(t)},Sn=function(){var t=At(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},Nn=a.RegExp,Pn=o((function(){var t=Nn("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),On=Pn||o((function(){return!Nn("a","y").sticky})),jn={BROKEN_CARET:Pn||o((function(){var t=Nn("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:On,UNSUPPORTED_Y:Pn},En=Object.keys||function(t){return kr(t,Sr)},Cn=h&&!Et?Object.defineProperties:function(t,r){At(t);for(var e,i=C(r),n=En(r),s=n.length,a=0;s>a;)zt.f(t,e=n[a++],i[e]);return t},Tn={f:Cn},An="prototype",Rn="script",Bn=tr("IE_PROTO"),$n=function(){},Ln=function(t){return"<"+Rn+">"+t+"</"+Rn+">"},In=function(t){t.write(Ln("")),t.close();var r=t.parentWindow.Object;return t=null,r},Dn=function(){try{xn=new ActiveXObject("htmlfile")}catch(t){}var t,r,e;Dn="undefined"!=typeof document?document.domain&&xn?In(xn):(r=St("iframe"),e="java"+Rn+":",r.style.display="none",Ne.appendChild(r),r.src=String(e),(t=r.contentWindow.document).open(),t.write(Ln("document.F=Object")),t.close(),t.F):In(xn);for(var i=Sr.length;i--;)delete Dn[An][Sr[i]];return Dn()};rr[Bn]=!0;var Fn,zn,_n=Object.create||function(t,r){var e;return null!==t?($n[An]=At(t),e=new $n,$n[An]=null,e[Bn]=t):e=Dn(),void 0===r?e:Tn.f(e,r)},Yn=a.RegExp,Xn=o((function(){var t=Yn(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})),qn=a.RegExp,Gn=o((function(){var t=qn("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Un=ar.get,Vn=at("native-string-replace",String.prototype.replace),Hn=RegExp.prototype.exec,Wn=Hn,Qn=w("".charAt),Zn=w("".indexOf),Kn=w("".replace),Jn=w("".slice),ts=(zn=/b*/g,f(Hn,Fn=/a/,"a"),f(Hn,zn,"a"),0!==Fn.lastIndex||0!==zn.lastIndex),rs=jn.BROKEN_CARET,es=void 0!==/()??/.exec("")[1];(ts||es||rs||Xn||Gn)&&(Wn=function(t){var r,e,i,n,s,a,o,h=this,u=Un(h),c=kn(t),l=u.raw;if(l)return l.lastIndex=h.lastIndex,r=f(Wn,l,c),h.lastIndex=l.lastIndex,r;var v=u.groups,d=rs&&h.sticky,p=f(Sn,h),y=h.source,g=0,m=c;if(d&&(p=Kn(p,"y",""),-1===Zn(p,"g")&&(p+="g"),m=Jn(c,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==Qn(c,h.lastIndex-1))&&(y="(?: "+y+")",m=" "+m,g++),e=new RegExp("^(?:"+y+")",p)),es&&(e=new RegExp("^"+y+"$(?!\\s)",p)),ts&&(i=h.lastIndex),n=f(Hn,d?e:h,m),d?n?(n.input=Jn(n.input,g),n[0]=Jn(n[0],g),n.index=h.lastIndex,h.lastIndex+=n[0].length):h.lastIndex=0:ts&&n&&(h.lastIndex=h.global?n.index+n[0].length:i),es&&n&&n.length>1&&f(Vn,n[0],e,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(n[s]=void 0)})),n&&v)for(n.groups=a=_n(null),s=0;s<v.length;s++)a[(o=v[s])[0]]=n[o[1]];return n});var is=Wn;zr({target:"RegExp",proto:!0,forced:/./.exec!==is},{exec:is});var ns=mt("species"),ss=RegExp.prototype,as=function(t,r,e,i){var n=mt(t),s=!o((function(){var r={};return r[n]=function(){return 7},7!==""[t](r)})),a=s&&!o((function(){var r=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[ns]=function(){return e},e.flags="",e[n]=/./[n]),e.exec=function(){return r=!0,null},e[n](""),!r}));if(!s||!a||e){var h=Me(/./[n]),u=r(n,""[t],(function(t,r,e,i,n){var a=Me(t),o=r.exec;return o===is||o===ss.exec?s&&!n?{done:!0,value:h(r,e,i)}:{done:!0,value:a(e,r,i)}:{done:!1}}));hr(String.prototype,t,u[0]),hr(ss,n,u[1])}i&&_t(ss[n],"sham",!0)},os=w("".charAt),hs=w("".charCodeAt),us=w("".slice),cs=function(t){return function(r,e){var i,n,s=kn(E(r)),a=lr(e),o=s.length;return a<0||a>=o?t?"":void 0:(i=hs(s,a))<55296||i>56319||a+1===o||(n=hs(s,a+1))<56320||n>57343?t?os(s,a):i:t?us(s,a,a+2):n-56320+(i-55296<<10)+65536}},fs=(cs(!1),cs(!0)),ls=function(t,r,e){return r+(e?fs(t,r).length:1)},vs=TypeError,ds=function(t,r){var e=t.exec;if(B(e)){var i=f(e,t,r);return null!==i&&At(i),i}if("RegExp"===k(t))return f(is,t,r);throw new vs("RegExp#exec called on incompatible receiver")};as("match",(function(t,r,e){return[function(r){var e=E(this),i=O(r)?void 0:tt(r,t);return i?f(i,r,e):new RegExp(r)[t](kn(e))},function(t){var i=At(this),n=kn(t),s=e(r,i,n);if(s.done)return s.value;if(!i.global)return ds(i,n);var a=i.unicode;i.lastIndex=0;for(var o,h=[],u=0;null!==(o=ds(i,n));){var c=kn(o[0]);h[u]=c,""===c&&(i.lastIndex=ls(n,gr(i.lastIndex),a)),u++}return 0===u?null:h}]}));var ps=Math.floor,ys=w("".charAt),gs=w("".replace),ms=w("".slice),bs=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ws=/\$([$&'`]|\d{1,2})/g,xs=function(t,r,e,i,n,s){var a=e+t.length,o=i.length,h=ws;return void 0!==n&&(n=ht(n),h=bs),gs(s,h,(function(s,h){var u;switch(ys(h,0)){case"$":return"$";case"&":return t;case"`":return ms(r,0,e);case"'":return ms(r,a);case"<":u=n[ms(h,1,-1)];break;default:var c=+h;if(0===c)return s;if(c>o){var f=ps(c/10);return 0===f?s:f<=o?void 0===i[f-1]?ys(h,1):i[f-1]+ys(h,1):s}u=i[c-1]}return void 0===u?"":u}))},Ms=mt("replace"),ks=Math.max,Ss=Math.min,Ns=w([].concat),Ps=w([].push),Os=w("".indexOf),js=w("".slice),Es="$0"==="a".replace(/./,"$0"),Cs=!!/./[Ms]&&""===/./[Ms]("a","$0");as("replace",(function(t,r,e){var i=Cs?"$":"$0";return[function(t,e){var i=E(this),n=O(t)?void 0:tt(t,Ms);return n?f(n,t,i,e):f(r,kn(i),t,e)},function(t,n){var s=At(this),a=kn(t);if("string"==typeof n&&-1===Os(n,i)&&-1===Os(n,"$<")){var o=e(r,s,a,n);if(o.done)return o.value}var h=B(n);h||(n=kn(n));var u,c=s.global;c&&(u=s.unicode,s.lastIndex=0);for(var f,l=[];null!==(f=ds(s,a))&&(Ps(l,f),c);)""===kn(f[0])&&(s.lastIndex=ls(a,gr(s.lastIndex),u));for(var v,d="",p=0,y=0;y<l.length;y++){for(var g,m=kn((f=l[y])[0]),b=ks(Ss(lr(f.index),a.length),0),w=[],x=1;x<f.length;x++)Ps(w,void 0===(v=f[x])?v:String(v));var M=f.groups;if(h){var k=Ns([m],w,b,a);void 0!==M&&Ps(k,M),g=kn(xe(n,void 0,k))}else g=xs(m,a,b,w,M,n);b>=p&&(d+=js(a,p,b)+g,p=b+m.length)}return d+js(a,p)}]}),!!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!Es||Cs);var Ts=mt("match"),As=function(t){var r;return L(t)&&(void 0!==(r=t[Ts])?!!r:"RegExp"===k(t))},Rs=TypeError,Bs=function(t){if(As(t))throw new Rs("The method doesn't accept regular expressions");return t},$s=mt("match"),Ls=function(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[$s]=!1,"/./"[t](r)}catch(t){}}return!1},Is=jt.f,Ds=Me("".startsWith),Fs=Me("".slice),zs=Math.min,_s=Ls("startsWith"),Ys=!_s&&!!function(){var t=Is(String.prototype,"startsWith");return t&&!t.writable}();zr({target:"String",proto:!0,forced:!Ys&&!_s},{startsWith:function(t){var r=kn(E(this));Bs(t);var e=gr(zs(arguments.length>1?arguments[1]:void 0,r.length)),i=kn(t);return Ds?Ds(r,i,e):Fs(r,e,e+i.length)===i}});var Xs=zt.f,qs=mt("unscopables"),Gs=Array.prototype;void 0===Gs[qs]&&Xs(Gs,qs,{configurable:!0,value:_n(null)});var Us,Vs,Hs,Ws=function(t){Gs[qs][t]=!0},Qs=!o((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Zs=tr("IE_PROTO"),Ks=Object,Js=Ks.prototype,ta=Qs?Ks.getPrototypeOf:function(t){var r=ht(t);if(ct(r,Zs))return r[Zs];var e=r.constructor;return B(e)&&r instanceof e?e.prototype:r instanceof Ks?Js:null},ra=mt("iterator"),ea=!1;[].keys&&("next"in(Hs=[].keys())?(Vs=ta(ta(Hs)))!==Object.prototype&&(Us=Vs):ea=!0);var ia=!L(Us)||o((function(){var t={};return Us[ra].call(t)!==t}));ia&&(Us={}),B(Us[ra])||hr(Us,ra,(function(){return this}));var na={IteratorPrototype:Us,BUGGY_SAFARI_ITERATORS:ea},sa=na.IteratorPrototype,aa=function(){return this},oa=Gt.PROPER,ha=Gt.CONFIGURABLE,ua=na.IteratorPrototype,ca=na.BUGGY_SAFARI_ITERATORS,fa=mt("iterator"),la="keys",va="values",da="entries",pa=function(){return this},ya=function(t,r){return{value:t,done:r}},ga=zt.f,ma="Array Iterator",ba=ar.set,wa=ar.getterFor(ma),xa=function(t,r,e,i,n){!function(t,r,e){var i=r+" Iterator";t.prototype=_n(sa,{next:y(1,e)}),Vr(t,i,!1),rn[i]=aa}(e,r,(function(){var t=wa(this),r=t.target,e=t.index++;if(!r||e>=r.length)return t.target=void 0,ya(void 0,!0);switch(t.kind){case"keys":return ya(e,!1);case"values":return ya(r[e],!1)}return ya([e,r[e]],!1)}));var s,a,o,h=function(t){if(t===n&&d)return d;if(!ca&&t&&t in l)return l[t];switch(t){case la:case va:case da:return function(){return new e(this,t)}}return function(){return new e(this)}},u=r+" Iterator",c=!1,l=t.prototype,v=l[fa]||l["@@iterator"]||n&&l[n],d=!ca&&v||h(n),p=l.entries||v;if(p&&(s=ta(p.call(new t)))!==Object.prototype&&s.next&&(ta(s)!==ua&&(qr?qr(s,ua):B(s[fa])||hr(s,fa,pa)),Vr(s,u,!0)),oa&&v&&v.name!==va&&(ha?_t(l,"name",va):(c=!0,d=function(){return f(v,this)})),n)if(void(a={values:h(va),keys:h(la),entries:h(da)}))for(o in a)(ca||c||!(o in l))&&hr(l,o,a[o]);else zr({target:r,proto:!0,forced:ca||c},a);return l[fa]!==d&&hr(l,fa,d,{name:n}),rn[r]=d,a}(Array,"Array",(function(t,r){ba(this,{type:ma,target:C(t),index:0,kind:r})}),0,"values"),Ma=rn.Arguments=rn.Array;if(Ws("keys"),Ws("values"),Ws("entries"),h&&"values"!==Ma.name)try{ga(Ma,"name",{value:"values"})}catch(t){}var ka={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Sa=St("span").classList,Na=Sa&&Sa.constructor&&Sa.constructor.prototype,Pa=Na===Object.prototype?void 0:Na,Oa=mt("iterator"),ja=xa.values,Ea=function(t,r){if(t){if(t[Oa]!==ja)try{_t(t,Oa,ja)}catch(r){t[Oa]=ja}if(Vr(t,r,!0),ka[r])for(var e in xa)if(t[e]!==xa[e])try{_t(t,e,xa[e])}catch(r){t[e]=xa[e]}}};for(var Ca in ka)Ea(a[Ca]&&a[Ca].prototype,Ca);Ea(Pa,"DOMTokenList");var Ta=r((function(t){function r(e){return t.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports})),Aa=r((function(t){var r=Ta.default;t.exports=function(t,e){if("object"!=r(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports})),Ra=r((function(t){var r=Ta.default;t.exports=function(t){var e=Aa(t,"string");return"symbol"==r(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports}));const Ba=e(r((function(t){t.exports=function(t,r,e){return(r=Ra(r))in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t},t.exports.__esModule=!0,t.exports.default=t.exports})));var $a=TypeError,La=function(t){return function(r,e,i,n){var s=ht(r),a=P(s),o=mr(s);J(e);var h=t?o-1:0,u=t?-1:1;if(i<2)for(;;){if(h in a){n=a[h],h+=u;break}if(h+=u,t?h<0:o<=h)throw new $a("Reduce of empty array with no initial value")}for(;t?h>=0:o>h;h+=u)h in a&&(n=e(n,a[h],h,s));return n}},Ia=function(t,r){var e=[][t];return!!e&&o((function(){e.call(null,r||function(){return 1},1)}))},Da=[La(!1),La(!0)][0],Fa=!_r&&q>79&&q<83||!Ia("reduce");zr({target:"Array",proto:!0,forced:Fa},{reduce:function(t){var r=arguments.length;return Da(this,t,r,r>1?arguments[1]:void 0)}});var za=jt.f,_a=Me("".endsWith),Ya=Me("".slice),Xa=Math.min,qa=Ls("endsWith"),Ga=!qa&&!!function(){var t=za(String.prototype,"endsWith");return t&&!t.writable}();zr({target:"String",proto:!0,forced:!Ga&&!qa},{endsWith:function(t){var r=kn(E(this));Bs(t);var e=arguments.length>1?arguments[1]:void 0,i=r.length,n=void 0===e?i:Xa(gr(e),i),s=kn(t);return _a?_a(r,s,n):Ya(r,n-s.length,n)===s}});var Ua=Array,Va=Math.max,Ha=function(t,r,e){for(var i,n,s,a=mr(t),o=pr(r,a),h=pr(void 0===e?a:e,a),u=Ua(Va(h-o,0)),c=0;o<h;o++,c++)i=u,n=t[o],void 0,(s=xt(c))in i?zt.f(i,s,y(0,n)):i[s]=n;return u.length=c,u},Wa=jn.UNSUPPORTED_Y,Qa=4294967295,Za=Math.min,Ka=[].push,Ja=w(/./.exec),to=w(Ka),ro=w("".slice);as("split",(function(t,r,e){var i;return i="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,e){var i=kn(E(this)),n=void 0===e?Qa:e>>>0;if(0===n)return[];if(void 0===t)return[i];if(!As(t))return f(r,i,t,n);for(var s,a,o,h=[],u=0,c=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(s=f(is,c,i))&&!((a=c.lastIndex)>u&&(to(h,ro(i,u,s.index)),s.length>1&&s.index<i.length&&xe(Ka,h,Ha(s,1)),o=s[0].length,u=a,h.length>=n));)c.lastIndex===s.index&&c.lastIndex++;return u===i.length?!o&&Ja(c,"")||to(h,""):to(h,ro(i,u)),h.length>n?Ha(h,0,n):h}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:f(r,this,t,e)}:r,[function(r,e){var n=E(this),s=O(r)?void 0:tt(r,t);return s?f(s,r,n,e):f(i,kn(n),r,e)},function(t,n){var s=At(this),a=kn(t),o=e(i,s,a,n,i!==r);if(o.done)return o.value;var h=ge(s,RegExp),u=s.unicode,c=new h(Wa?"^(?:"+s.source+")":s,(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(Wa?"g":"y")),f=void 0===n?Qa:n>>>0;if(0===f)return[];if(0===a.length)return null===ds(c,a)?[a]:[];for(var l=0,v=0,d=[];v<a.length;){c.lastIndex=Wa?0:v;var p,y=ds(c,Wa?ro(a,v):a);if(null===y||(p=Za(gr(c.lastIndex+(Wa?v:0)),a.length))===l)v=ls(a,v,u);else{if(to(d,ro(a,l,v)),d.length===f)return d;for(var g=1;g<=y.length-1;g++)if(to(d,y[g]),d.length===f)return d;v=l=p}}return to(d,ro(a,l)),d}]}),!!o((function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"b"!==e[1]})),Wa);for(var eo=r((function(r){(function(){var t,e,i,n,s,a;"undefined"!=typeof performance&&null!==performance&&performance.now?r.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(r.exports=function(){return(t()-s)/1e6},e=process.hrtime,n=(t=function(){var t;return 1e9*(t=e())[0]+t[1]})(),a=1e9*process.uptime(),s=n-a):Date.now?(r.exports=function(){return Date.now()-i},i=Date.now()):(r.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(t)})),io="undefined"==typeof window?t:window,no=["moz","webkit"],so="AnimationFrame",ao=io["request"+so],oo=io["cancel"+so]||io["cancelRequest"+so],ho=0;!ao&&ho<no.length;ho++)ao=io[no[ho]+"Request"+so],oo=io[no[ho]+"Cancel"+so]||io[no[ho]+"CancelRequest"+so];if(!ao||!oo){var uo=0,co=0,fo=[];ao=function(t){if(0===fo.length){var r=eo(),e=Math.max(0,16.666666666666668-(r-uo));uo=e+r,setTimeout((function(){var t=fo.slice(0);fo.length=0;for(var r=0;r<t.length;r++)if(!t[r].cancelled)try{t[r].callback(uo)}catch(t){setTimeout((function(){throw t}),0)}}),Math.round(e))}return fo.push({handle:++co,callback:t,cancelled:!1}),co},oo=function(t){for(var r=0;r<fo.length;r++)fo[r].handle===t&&(fo[r].cancelled=!0)}}var lo=function(t){return ao.call(io,t)};lo.cancel=function(){oo.apply(io,arguments)},lo.polyfill=function(t){t||(t=io),t.requestAnimationFrame=ao,t.cancelAnimationFrame=oo};var vo,po="\t\n\v\f\r \u2028\u2029\ufeff",yo=w("".replace),go=RegExp("^["+po+"]+"),mo=RegExp("(^|[^"+po+"])["+po+"]+$"),bo=function(t){return function(r){var e=kn(E(r));return 1&t&&(e=yo(e,go,"")),2&t&&(e=yo(e,mo,"$1")),e}},wo={start:bo(1),end:bo(2),trim:bo(3)},xo=Gt.PROPER,Mo=wo.trim;zr({target:"String",proto:!0,forced:(vo="trim",o((function(){return!!po[vo]()||"
"!=="
"[vo]()||xo&&po[vo].name!==vo})))},{trim:function(){return Mo(this)}});var ko=function(t){this.ok=!1,this.alpha=1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t=(t=t.replace(/ /g,"")).toLowerCase();var r={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};t=r[t]||t;for(var e=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3]),parseFloat(t[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],i=0;i<e.length;i++){var n=e[i].process,s=e[i].re.exec(t);if(s){var a=n(s);this.r=a[0],this.g=a[1],this.b=a[2],a.length>3&&(this.alpha=a[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var t=this.r.toString(16),r=this.g.toString(16),e=this.b.toString(16);return 1==t.length&&(t="0"+t),1==r.length&&(r="0"+r),1==e.length&&(e="0"+e),"#"+t+r+e},this.getHelpXML=function(){for(var t=new Array,i=0;i<e.length;i++)for(var n=e[i].example,s=0;s<n.length;s++)t[t.length]=n[s];for(var a in r)t[t.length]=a;var o=document.createElement("ul");for(o.setAttribute("id","rgbcolor-examples"),i=0;i<t.length;i++)try{var h=document.createElement("li"),u=new RGBColor(t[i]),c=document.createElement("div");c.style.cssText="margin: 3px; border: 1px solid black; background:"+u.toHex()+"; color:"+u.toHex(),c.appendChild(document.createTextNode("test"));var f=document.createTextNode(" "+t[i]+" -> "+u.toRGB()+" -> "+u.toHex());h.appendChild(c),h.appendChild(f),o.appendChild(h)}catch(t){}return o}},So=wr.indexOf,No=Me([].indexOf),Po=!!No&&1/No([1],1,-0)<0,Oo=Po||!Ia("indexOf");zr({target:"Array",proto:!0,forced:Oo},{indexOf:function(t){var r=arguments.length>1?arguments[1]:void 0;return Po?No(this,t,r)||0:So(this,t,r)}});var jo=w("".indexOf);zr({target:"String",proto:!0,forced:!Ls("includes")},{includes:function(t){return!!~jo(kn(E(this)),kn(Bs(t)),arguments.length>1?arguments[1]:void 0)}});var Eo=Array.isArray||function(t){return"Array"===k(t)},Co=w([].reverse),To=[1,2];zr({target:"Array",proto:!0,forced:String(To)===String(To.reverse())},{reverse:function(){return Eo(this)&&(this.length=this.length),Co(this)}});
|
7
|
-
/*! *****************************************************************************
|
8
|
-
Copyright (c) Microsoft Corporation.
|
9
|
-
|
10
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
11
|
-
purpose with or without fee is hereby granted.
|
12
|
-
|
13
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
14
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
15
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
16
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
17
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
18
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
19
|
-
PERFORMANCE OF THIS SOFTWARE.
|
20
|
-
***************************************************************************** */
|
21
|
-
var Ao=function(t,r){return(Ao=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])})(t,r)};function Ro(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function e(){this.constructor=t}Ao(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}function Bo(t,r){var e=t[0],i=t[1];return[e*Math.cos(r)-i*Math.sin(r),e*Math.sin(r)+i*Math.cos(r)]}function $o(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var e=0;e<t.length;e++)if("number"!=typeof t[e])throw new Error("assertNumbers arguments["+e+"] is not a number. "+typeof t[e]+" == typeof "+t[e]);return!0}var Lo=Math.PI;function Io(t,r,e){t.lArcFlag=0===t.lArcFlag?0:1,t.sweepFlag=0===t.sweepFlag?0:1;var i=t.rX,n=t.rY,s=t.x,a=t.y;i=Math.abs(t.rX),n=Math.abs(t.rY);var o=Bo([(r-s)/2,(e-a)/2],-t.xRot/180*Lo),h=o[0],u=o[1],c=Math.pow(h,2)/Math.pow(i,2)+Math.pow(u,2)/Math.pow(n,2);1<c&&(i*=Math.sqrt(c),n*=Math.sqrt(c)),t.rX=i,t.rY=n;var f=Math.pow(i,2)*Math.pow(u,2)+Math.pow(n,2)*Math.pow(h,2),l=(t.lArcFlag!==t.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(i,2)*Math.pow(n,2)-f)/f)),v=i*u/n*l,d=-n*h/i*l,p=Bo([v,d],t.xRot/180*Lo);t.cX=p[0]+(r+s)/2,t.cY=p[1]+(e+a)/2,t.phi1=Math.atan2((u-d)/n,(h-v)/i),t.phi2=Math.atan2((-u-d)/n,(-h-v)/i),0===t.sweepFlag&&t.phi2>t.phi1&&(t.phi2-=2*Lo),1===t.sweepFlag&&t.phi2<t.phi1&&(t.phi2+=2*Lo),t.phi1*=180/Lo,t.phi2*=180/Lo}function Do(t,r,e){$o(t,r,e);var i=t*t+r*r-e*e;if(0>i)return[];if(0===i)return[[t*e/(t*t+r*r),r*e/(t*t+r*r)]];var n=Math.sqrt(i);return[[(t*e+r*n)/(t*t+r*r),(r*e-t*n)/(t*t+r*r)],[(t*e-r*n)/(t*t+r*r),(r*e+t*n)/(t*t+r*r)]]}var Fo,zo=Math.PI/180;function _o(t,r,e){return(1-e)*t+e*r}function Yo(t,r,e,i){return t+Math.cos(i/180*Lo)*r+Math.sin(i/180*Lo)*e}function Xo(t,r,e,i){var n=1e-6,s=r-t,a=e-r,o=3*s+3*(i-e)-6*a,h=6*(a-s),u=3*s;return Math.abs(o)<n?[-u/h]:function(t,r,e){void 0===e&&(e=1e-6);var i=t*t/4-r;if(i<-e)return[];if(i<=e)return[-t/2];var n=Math.sqrt(i);return[-t/2-n,-t/2+n]}(h/o,u/o,n)}function qo(t,r,e,i,n){var s=1-n;return t*(s*s*s)+r*(3*s*s*n)+e*(3*s*n*n)+i*(n*n*n)}!function(t){function r(){return n((function(t,r,e){return t.relative&&(void 0!==t.x1&&(t.x1+=r),void 0!==t.y1&&(t.y1+=e),void 0!==t.x2&&(t.x2+=r),void 0!==t.y2&&(t.y2+=e),void 0!==t.x&&(t.x+=r),void 0!==t.y&&(t.y+=e),t.relative=!1),t}))}function e(){var t=NaN,r=NaN,e=NaN,i=NaN;return n((function(n,s,a){return n.type&Qo.SMOOTH_CURVE_TO&&(n.type=Qo.CURVE_TO,t=isNaN(t)?s:t,r=isNaN(r)?a:r,n.x1=n.relative?s-t:2*s-t,n.y1=n.relative?a-r:2*a-r),n.type&Qo.CURVE_TO?(t=n.relative?s+n.x2:n.x2,r=n.relative?a+n.y2:n.y2):(t=NaN,r=NaN),n.type&Qo.SMOOTH_QUAD_TO&&(n.type=Qo.QUAD_TO,e=isNaN(e)?s:e,i=isNaN(i)?a:i,n.x1=n.relative?s-e:2*s-e,n.y1=n.relative?a-i:2*a-i),n.type&Qo.QUAD_TO?(e=n.relative?s+n.x1:n.x1,i=n.relative?a+n.y1:n.y1):(e=NaN,i=NaN),n}))}function i(){var t=NaN,r=NaN;return n((function(e,i,n){if(e.type&Qo.SMOOTH_QUAD_TO&&(e.type=Qo.QUAD_TO,t=isNaN(t)?i:t,r=isNaN(r)?n:r,e.x1=e.relative?i-t:2*i-t,e.y1=e.relative?n-r:2*n-r),e.type&Qo.QUAD_TO){t=e.relative?i+e.x1:e.x1,r=e.relative?n+e.y1:e.y1;var s=e.x1,a=e.y1;e.type=Qo.CURVE_TO,e.x1=((e.relative?0:i)+2*s)/3,e.y1=((e.relative?0:n)+2*a)/3,e.x2=(e.x+2*s)/3,e.y2=(e.y+2*a)/3}else t=NaN,r=NaN;return e}))}function n(t){var r=0,e=0,i=NaN,n=NaN;return function(s){if(isNaN(i)&&!(s.type&Qo.MOVE_TO))throw new Error("path must start with moveto");var a=t(s,r,e,i,n);return s.type&Qo.CLOSE_PATH&&(r=i,e=n),void 0!==s.x&&(r=s.relative?r+s.x:s.x),void 0!==s.y&&(e=s.relative?e+s.y:s.y),s.type&Qo.MOVE_TO&&(i=r,n=e),a}}function s(t,r,e,i,s,a){return $o(t,r,e,i,s,a),n((function(n,o,h,u){var c=n.x1,f=n.x2,l=n.relative&&!isNaN(u),v=void 0!==n.x?n.x:l?0:o,d=void 0!==n.y?n.y:l?0:h;function p(t){return t*t}n.type&Qo.HORIZ_LINE_TO&&0!==r&&(n.type=Qo.LINE_TO,n.y=n.relative?0:h),n.type&Qo.VERT_LINE_TO&&0!==e&&(n.type=Qo.LINE_TO,n.x=n.relative?0:o),void 0!==n.x&&(n.x=n.x*t+d*e+(l?0:s)),void 0!==n.y&&(n.y=v*r+n.y*i+(l?0:a)),void 0!==n.x1&&(n.x1=n.x1*t+n.y1*e+(l?0:s)),void 0!==n.y1&&(n.y1=c*r+n.y1*i+(l?0:a)),void 0!==n.x2&&(n.x2=n.x2*t+n.y2*e+(l?0:s)),void 0!==n.y2&&(n.y2=f*r+n.y2*i+(l?0:a));var y=t*i-r*e;if(void 0!==n.xRot&&(1!==t||0!==r||0!==e||1!==i))if(0===y)delete n.rX,delete n.rY,delete n.xRot,delete n.lArcFlag,delete n.sweepFlag,n.type=Qo.LINE_TO;else{var g=n.xRot*Math.PI/180,m=Math.sin(g),b=Math.cos(g),w=1/p(n.rX),x=1/p(n.rY),M=p(b)*w+p(m)*x,k=2*m*b*(w-x),S=p(m)*w+p(b)*x,N=M*i*i-k*r*i+S*r*r,P=k*(t*i+r*e)-2*(M*e*i+S*t*r),O=M*e*e-k*t*e+S*t*t,j=(Math.atan2(P,N-O)+Math.PI)%Math.PI/2,E=Math.sin(j),C=Math.cos(j);n.rX=Math.abs(y)/Math.sqrt(N*p(C)+P*E*C+O*p(E)),n.rY=Math.abs(y)/Math.sqrt(N*p(E)-P*E*C+O*p(C)),n.xRot=180*j/Math.PI}return void 0!==n.sweepFlag&&0>y&&(n.sweepFlag=+!n.sweepFlag),n}))}t.ROUND=function(t){function r(r){return Math.round(r*t)/t}return void 0===t&&(t=1e13),$o(t),function(t){return void 0!==t.x1&&(t.x1=r(t.x1)),void 0!==t.y1&&(t.y1=r(t.y1)),void 0!==t.x2&&(t.x2=r(t.x2)),void 0!==t.y2&&(t.y2=r(t.y2)),void 0!==t.x&&(t.x=r(t.x)),void 0!==t.y&&(t.y=r(t.y)),void 0!==t.rX&&(t.rX=r(t.rX)),void 0!==t.rY&&(t.rY=r(t.rY)),t}},t.TO_ABS=r,t.TO_REL=function(){return n((function(t,r,e){return t.relative||(void 0!==t.x1&&(t.x1-=r),void 0!==t.y1&&(t.y1-=e),void 0!==t.x2&&(t.x2-=r),void 0!==t.y2&&(t.y2-=e),void 0!==t.x&&(t.x-=r),void 0!==t.y&&(t.y-=e),t.relative=!0),t}))},t.NORMALIZE_HVZ=function(t,r,e){return void 0===t&&(t=!0),void 0===r&&(r=!0),void 0===e&&(e=!0),n((function(i,n,s,a,o){if(isNaN(a)&&!(i.type&Qo.MOVE_TO))throw new Error("path must start with moveto");return r&&i.type&Qo.HORIZ_LINE_TO&&(i.type=Qo.LINE_TO,i.y=i.relative?0:s),e&&i.type&Qo.VERT_LINE_TO&&(i.type=Qo.LINE_TO,i.x=i.relative?0:n),t&&i.type&Qo.CLOSE_PATH&&(i.type=Qo.LINE_TO,i.x=i.relative?a-n:a,i.y=i.relative?o-s:o),i.type&Qo.ARC&&(0===i.rX||0===i.rY)&&(i.type=Qo.LINE_TO,delete i.rX,delete i.rY,delete i.xRot,delete i.lArcFlag,delete i.sweepFlag),i}))},t.NORMALIZE_ST=e,t.QT_TO_C=i,t.INFO=n,t.SANITIZE=function(t){void 0===t&&(t=0),$o(t);var r=NaN,e=NaN,i=NaN,s=NaN;return n((function(n,a,o,h,u){var c=Math.abs,f=!1,l=0,v=0;if(n.type&Qo.SMOOTH_CURVE_TO&&(l=isNaN(r)?0:a-r,v=isNaN(e)?0:o-e),n.type&(Qo.CURVE_TO|Qo.SMOOTH_CURVE_TO)?(r=n.relative?a+n.x2:n.x2,e=n.relative?o+n.y2:n.y2):(r=NaN,e=NaN),n.type&Qo.SMOOTH_QUAD_TO?(i=isNaN(i)?a:2*a-i,s=isNaN(s)?o:2*o-s):n.type&Qo.QUAD_TO?(i=n.relative?a+n.x1:n.x1,s=n.relative?o+n.y1:n.y2):(i=NaN,s=NaN),n.type&Qo.LINE_COMMANDS||n.type&Qo.ARC&&(0===n.rX||0===n.rY||!n.lArcFlag)||n.type&Qo.CURVE_TO||n.type&Qo.SMOOTH_CURVE_TO||n.type&Qo.QUAD_TO||n.type&Qo.SMOOTH_QUAD_TO){var d=void 0===n.x?0:n.relative?n.x:n.x-a,p=void 0===n.y?0:n.relative?n.y:n.y-o;l=isNaN(i)?void 0===n.x1?l:n.relative?n.x:n.x1-a:i-a,v=isNaN(s)?void 0===n.y1?v:n.relative?n.y:n.y1-o:s-o;var y=void 0===n.x2?0:n.relative?n.x:n.x2-a,g=void 0===n.y2?0:n.relative?n.y:n.y2-o;c(d)<=t&&c(p)<=t&&c(l)<=t&&c(v)<=t&&c(y)<=t&&c(g)<=t&&(f=!0)}return n.type&Qo.CLOSE_PATH&&c(a-h)<=t&&c(o-u)<=t&&(f=!0),f?[]:n}))},t.MATRIX=s,t.ROTATE=function(t,r,e){void 0===r&&(r=0),void 0===e&&(e=0),$o(t,r,e);var i=Math.sin(t),n=Math.cos(t);return s(n,i,-i,n,r-r*n+e*i,e-r*i-e*n)},t.TRANSLATE=function(t,r){return void 0===r&&(r=0),$o(t,r),s(1,0,0,1,t,r)},t.SCALE=function(t,r){return void 0===r&&(r=t),$o(t,r),s(t,0,0,r,0,0)},t.SKEW_X=function(t){return $o(t),s(1,0,Math.atan(t),1,0,0)},t.SKEW_Y=function(t){return $o(t),s(1,Math.atan(t),0,1,0,0)},t.X_AXIS_SYMMETRY=function(t){return void 0===t&&(t=0),$o(t),s(-1,0,0,1,t,0)},t.Y_AXIS_SYMMETRY=function(t){return void 0===t&&(t=0),$o(t),s(1,0,0,-1,0,t)},t.A_TO_C=function(){return n((function(t,r,e){return Qo.ARC===t.type?function(t,r,e){var i,n,s,a;t.cX||Io(t,r,e);for(var o=Math.min(t.phi1,t.phi2),h=Math.max(t.phi1,t.phi2)-o,u=Math.ceil(h/90),c=new Array(u),f=r,l=e,v=0;v<u;v++){var d=_o(t.phi1,t.phi2,v/u),p=_o(t.phi1,t.phi2,(v+1)/u),y=4/3*Math.tan((p-d)*zo/4),g=[Math.cos(d*zo)-y*Math.sin(d*zo),Math.sin(d*zo)+y*Math.cos(d*zo)],m=g[0],b=g[1],w=[Math.cos(p*zo),Math.sin(p*zo)],x=w[0],M=w[1],k=[x+y*Math.sin(p*zo),M-y*Math.cos(p*zo)],S=k[0],N=k[1];c[v]={relative:t.relative,type:Qo.CURVE_TO};var P=function(r,e){var i=Bo([r*t.rX,e*t.rY],t.xRot);return[t.cX+i[0],t.cY+i[1]]};i=P(m,b),c[v].x1=i[0],c[v].y1=i[1],n=P(S,N),c[v].x2=n[0],c[v].y2=n[1],s=P(x,M),c[v].x=s[0],c[v].y=s[1],t.relative&&(c[v].x1-=f,c[v].y1-=l,c[v].x2-=f,c[v].y2-=l,c[v].x-=f,c[v].y-=l),f=(a=[c[v].x,c[v].y])[0],l=a[1]}return c}(t,t.relative?0:r,t.relative?0:e):t}))},t.ANNOTATE_ARCS=function(){return n((function(t,r,e){return t.relative&&(r=0,e=0),Qo.ARC===t.type&&Io(t,r,e),t}))},t.CLONE=function(){return function(t){var r={};for(var e in t)r[e]=t[e];return r}},t.CALCULATE_BOUNDS=function(){var t=r(),s=i(),a=e(),o=n((function(r,e,i){var n=a(s(t(function(t){var r={};for(var e in t)r[e]=t[e];return r}(r))));function h(t){t>o.maxX&&(o.maxX=t),t<o.minX&&(o.minX=t)}function u(t){t>o.maxY&&(o.maxY=t),t<o.minY&&(o.minY=t)}if(n.type&Qo.DRAWING_COMMANDS&&(h(e),u(i)),n.type&Qo.HORIZ_LINE_TO&&h(n.x),n.type&Qo.VERT_LINE_TO&&u(n.y),n.type&Qo.LINE_TO&&(h(n.x),u(n.y)),n.type&Qo.CURVE_TO){h(n.x),u(n.y);for(var c=0,f=Xo(e,n.x1,n.x2,n.x);c<f.length;c++)0<(O=f[c])&&1>O&&h(qo(e,n.x1,n.x2,n.x,O));for(var l=0,v=Xo(i,n.y1,n.y2,n.y);l<v.length;l++)0<(O=v[l])&&1>O&&u(qo(i,n.y1,n.y2,n.y,O))}if(n.type&Qo.ARC){h(n.x),u(n.y),Io(n,e,i);for(var d=n.xRot/180*Math.PI,p=Math.cos(d)*n.rX,y=Math.sin(d)*n.rX,g=-Math.sin(d)*n.rY,m=Math.cos(d)*n.rY,b=n.phi1<n.phi2?[n.phi1,n.phi2]:-180>n.phi2?[n.phi2+360,n.phi1+360]:[n.phi2,n.phi1],w=b[0],x=b[1],M=function(t){var r=180*Math.atan2(t[1],t[0])/Math.PI;return r<w?r+360:r},k=0,S=Do(g,-p,0).map(M);k<S.length;k++)(O=S[k])>w&&O<x&&h(Yo(n.cX,p,g,O));for(var N=0,P=Do(m,-y,0).map(M);N<P.length;N++){var O;(O=P[N])>w&&O<x&&u(Yo(n.cY,y,m,O))}}return r}));return o.minX=1/0,o.maxX=-1/0,o.minY=1/0,o.maxY=-1/0,o}}(Fo||(Fo={}));var Go,Uo=function(){function t(){}return t.prototype.round=function(t){return this.transform(Fo.ROUND(t))},t.prototype.toAbs=function(){return this.transform(Fo.TO_ABS())},t.prototype.toRel=function(){return this.transform(Fo.TO_REL())},t.prototype.normalizeHVZ=function(t,r,e){return this.transform(Fo.NORMALIZE_HVZ(t,r,e))},t.prototype.normalizeST=function(){return this.transform(Fo.NORMALIZE_ST())},t.prototype.qtToC=function(){return this.transform(Fo.QT_TO_C())},t.prototype.aToC=function(){return this.transform(Fo.A_TO_C())},t.prototype.sanitize=function(t){return this.transform(Fo.SANITIZE(t))},t.prototype.translate=function(t,r){return this.transform(Fo.TRANSLATE(t,r))},t.prototype.scale=function(t,r){return this.transform(Fo.SCALE(t,r))},t.prototype.rotate=function(t,r,e){return this.transform(Fo.ROTATE(t,r,e))},t.prototype.matrix=function(t,r,e,i,n,s){return this.transform(Fo.MATRIX(t,r,e,i,n,s))},t.prototype.skewX=function(t){return this.transform(Fo.SKEW_X(t))},t.prototype.skewY=function(t){return this.transform(Fo.SKEW_Y(t))},t.prototype.xSymmetry=function(t){return this.transform(Fo.X_AXIS_SYMMETRY(t))},t.prototype.ySymmetry=function(t){return this.transform(Fo.Y_AXIS_SYMMETRY(t))},t.prototype.annotateArcs=function(){return this.transform(Fo.ANNOTATE_ARCS())},t}(),Vo=function(t){return" "===t||"\t"===t||"\r"===t||"\n"===t},Ho=function(t){return"0".charCodeAt(0)<=t.charCodeAt(0)&&t.charCodeAt(0)<="9".charCodeAt(0)},Wo=function(t){function r(){var r=t.call(this)||this;return r.curNumber="",r.curCommandType=-1,r.curCommandRelative=!1,r.canParseCommandOrComma=!0,r.curNumberHasExp=!1,r.curNumberHasExpDigits=!1,r.curNumberHasDecimal=!1,r.curArgs=[],r}return Ro(r,t),r.prototype.finish=function(t){if(void 0===t&&(t=[]),this.parse(" ",t),0!==this.curArgs.length||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return t},r.prototype.parse=function(t,r){var e=this;void 0===r&&(r=[]);for(var i=function(t){r.push(t),e.curArgs.length=0,e.canParseCommandOrComma=!0},n=0;n<t.length;n++){var s=t[n],a=!(this.curCommandType!==Qo.ARC||3!==this.curArgs.length&&4!==this.curArgs.length||1!==this.curNumber.length||"0"!==this.curNumber&&"1"!==this.curNumber),o=Ho(s)&&("0"===this.curNumber&&"0"===s||a);if(!Ho(s)||o)if("e"!==s&&"E"!==s)if("-"!==s&&"+"!==s||!this.curNumberHasExp||this.curNumberHasExpDigits)if("."!==s||this.curNumberHasExp||this.curNumberHasDecimal||a){if(this.curNumber&&-1!==this.curCommandType){var h=Number(this.curNumber);if(isNaN(h))throw new SyntaxError("Invalid number ending at "+n);if(this.curCommandType===Qo.ARC)if(0===this.curArgs.length||1===this.curArgs.length){if(0>h)throw new SyntaxError('Expected positive number, got "'+h+'" at index "'+n+'"')}else if((3===this.curArgs.length||4===this.curArgs.length)&&"0"!==this.curNumber&&"1"!==this.curNumber)throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+n+'"');this.curArgs.push(h),this.curArgs.length===Zo[this.curCommandType]&&(Qo.HORIZ_LINE_TO===this.curCommandType?i({type:Qo.HORIZ_LINE_TO,relative:this.curCommandRelative,x:h}):Qo.VERT_LINE_TO===this.curCommandType?i({type:Qo.VERT_LINE_TO,relative:this.curCommandRelative,y:h}):this.curCommandType===Qo.MOVE_TO||this.curCommandType===Qo.LINE_TO||this.curCommandType===Qo.SMOOTH_QUAD_TO?(i({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),Qo.MOVE_TO===this.curCommandType&&(this.curCommandType=Qo.LINE_TO)):this.curCommandType===Qo.CURVE_TO?i({type:Qo.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===Qo.SMOOTH_CURVE_TO?i({type:Qo.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===Qo.QUAD_TO?i({type:Qo.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===Qo.ARC&&i({type:Qo.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!Vo(s))if(","===s&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if("+"!==s&&"-"!==s&&"."!==s)if(o)this.curNumber=s,this.curNumberHasDecimal=!1;else{if(0!==this.curArgs.length)throw new SyntaxError("Unterminated command at index "+n+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+s+'" at index '+n+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,"z"!==s&&"Z"!==s)if("h"===s||"H"===s)this.curCommandType=Qo.HORIZ_LINE_TO,this.curCommandRelative="h"===s;else if("v"===s||"V"===s)this.curCommandType=Qo.VERT_LINE_TO,this.curCommandRelative="v"===s;else if("m"===s||"M"===s)this.curCommandType=Qo.MOVE_TO,this.curCommandRelative="m"===s;else if("l"===s||"L"===s)this.curCommandType=Qo.LINE_TO,this.curCommandRelative="l"===s;else if("c"===s||"C"===s)this.curCommandType=Qo.CURVE_TO,this.curCommandRelative="c"===s;else if("s"===s||"S"===s)this.curCommandType=Qo.SMOOTH_CURVE_TO,this.curCommandRelative="s"===s;else if("q"===s||"Q"===s)this.curCommandType=Qo.QUAD_TO,this.curCommandRelative="q"===s;else if("t"===s||"T"===s)this.curCommandType=Qo.SMOOTH_QUAD_TO,this.curCommandRelative="t"===s;else{if("a"!==s&&"A"!==s)throw new SyntaxError('Unexpected character "'+s+'" at index '+n+".");this.curCommandType=Qo.ARC,this.curCommandRelative="a"===s}else r.push({type:Qo.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=s,this.curNumberHasDecimal="."===s}else this.curNumber+=s,this.curNumberHasDecimal=!0;else this.curNumber+=s;else this.curNumber+=s,this.curNumberHasExp=!0;else this.curNumber+=s,this.curNumberHasExpDigits=this.curNumberHasExp}return r},r.prototype.transform=function(t){return Object.create(this,{parse:{value:function(r,e){void 0===e&&(e=[]);for(var i=0,n=Object.getPrototypeOf(this).parse.call(this,r);i<n.length;i++){var s=t(n[i]);Array.isArray(s)?e.push.apply(e,s):e.push(s)}return e}}})},r}(Uo),Qo=function(t){function r(e){var i=t.call(this)||this;return i.commands="string"==typeof e?r.parse(e):e,i}return Ro(r,t),r.prototype.encode=function(){return r.encode(this.commands)},r.prototype.getBounds=function(){var t=Fo.CALCULATE_BOUNDS();return this.transform(t),t},r.prototype.transform=function(t){for(var r=[],e=0,i=this.commands;e<i.length;e++){var n=t(i[e]);Array.isArray(n)?r.push.apply(r,n):r.push(n)}return this.commands=r,this},r.encode=function(t){return function(t){var r="";Array.isArray(t)||(t=[t]);for(var e=0;e<t.length;e++){var i=t[e];if(i.type===Qo.CLOSE_PATH)r+="z";else if(i.type===Qo.HORIZ_LINE_TO)r+=(i.relative?"h":"H")+i.x;else if(i.type===Qo.VERT_LINE_TO)r+=(i.relative?"v":"V")+i.y;else if(i.type===Qo.MOVE_TO)r+=(i.relative?"m":"M")+i.x+" "+i.y;else if(i.type===Qo.LINE_TO)r+=(i.relative?"l":"L")+i.x+" "+i.y;else if(i.type===Qo.CURVE_TO)r+=(i.relative?"c":"C")+i.x1+" "+i.y1+" "+i.x2+" "+i.y2+" "+i.x+" "+i.y;else if(i.type===Qo.SMOOTH_CURVE_TO)r+=(i.relative?"s":"S")+i.x2+" "+i.y2+" "+i.x+" "+i.y;else if(i.type===Qo.QUAD_TO)r+=(i.relative?"q":"Q")+i.x1+" "+i.y1+" "+i.x+" "+i.y;else if(i.type===Qo.SMOOTH_QUAD_TO)r+=(i.relative?"t":"T")+i.x+" "+i.y;else{if(i.type!==Qo.ARC)throw new Error('Unexpected command type "'+i.type+'" at index '+e+".");r+=(i.relative?"a":"A")+i.rX+" "+i.rY+" "+i.xRot+" "+ +i.lArcFlag+" "+ +i.sweepFlag+" "+i.x+" "+i.y}}return r}(t)},r.parse=function(t){var r=new Wo,e=[];return r.parse(t,e),r.finish(e),e},r.CLOSE_PATH=1,r.MOVE_TO=2,r.HORIZ_LINE_TO=4,r.VERT_LINE_TO=8,r.LINE_TO=16,r.CURVE_TO=32,r.SMOOTH_CURVE_TO=64,r.QUAD_TO=128,r.SMOOTH_QUAD_TO=256,r.ARC=512,r.LINE_COMMANDS=r.LINE_TO|r.HORIZ_LINE_TO|r.VERT_LINE_TO,r.DRAWING_COMMANDS=r.HORIZ_LINE_TO|r.VERT_LINE_TO|r.LINE_TO|r.CURVE_TO|r.SMOOTH_CURVE_TO|r.QUAD_TO|r.SMOOTH_QUAD_TO|r.ARC,r}(Uo),Zo=((Go={})[Qo.MOVE_TO]=2,Go[Qo.LINE_TO]=2,Go[Qo.HORIZ_LINE_TO]=1,Go[Qo.VERT_LINE_TO]=1,Go[Qo.CLOSE_PATH]=0,Go[Qo.QUAD_TO]=4,Go[Qo.SMOOTH_QUAD_TO]=2,Go[Qo.CURVE_TO]=6,Go[Qo.SMOOTH_CURVE_TO]=4,Go[Qo.ARC]=7,Go),Ko=RegExp.prototype,Jo=Gt.PROPER,th="toString",rh=RegExp.prototype[th];function eh(t){return eh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},eh(t)}(o((function(){return"/a/b"!==rh.call({source:"a",flags:"b"})}))||Jo&&rh.name!==th)&&hr(RegExp.prototype,th,(function(){var t=At(this),r=kn(t.source),e=kn(function(t){var r=t.flags;return void 0!==r||"flags"in Ko||ct(t,"flags")||!D(Ko,t)?r:f(Sn,t)}(t));return"/"+r+"/"+e}),{unsafe:!0});
|
22
|
-
/**
|
23
|
-
* StackBlur - a fast almost Gaussian Blur For Canvas
|
24
|
-
*
|
25
|
-
* In case you find this class useful - especially in commercial projects -
|
26
|
-
* I am not totally unhappy for a small donation to my PayPal account
|
27
|
-
* mario@quasimondo.de
|
28
|
-
*
|
29
|
-
* Or support me on flattr:
|
30
|
-
* {@link https://flattr.com/thing/72791/StackBlur-a-fast-almost-Gaussian-Blur-Effect-for-CanvasJavascript}.
|
31
|
-
*
|
32
|
-
* @module StackBlur
|
33
|
-
* @author Mario Klingemann
|
34
|
-
* Contact: mario@quasimondo.com
|
35
|
-
* Website: {@link http://www.quasimondo.com/StackBlurForCanvas/StackBlurDemo.html}
|
36
|
-
* Twitter: @quasimondo
|
37
|
-
*
|
38
|
-
* @copyright (c) 2010 Mario Klingemann
|
39
|
-
*
|
40
|
-
* Permission is hereby granted, free of charge, to any person
|
41
|
-
* obtaining a copy of this software and associated documentation
|
42
|
-
* files (the "Software"), to deal in the Software without
|
43
|
-
* restriction, including without limitation the rights to use,
|
44
|
-
* copy, modify, merge, publish, distribute, sublicense, and/or sell
|
45
|
-
* copies of the Software, and to permit persons to whom the
|
46
|
-
* Software is furnished to do so, subject to the following
|
47
|
-
* conditions:
|
48
|
-
*
|
49
|
-
* The above copyright notice and this permission notice shall be
|
50
|
-
* included in all copies or substantial portions of the Software.
|
51
|
-
*
|
52
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
53
|
-
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
54
|
-
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
55
|
-
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
56
|
-
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
57
|
-
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
58
|
-
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
59
|
-
* OTHER DEALINGS IN THE SOFTWARE.
|
60
|
-
*/
|
61
|
-
var ih=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],nh=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function sh(t,r,e,i,n,s){if(!(isNaN(s)||s<1)){s|=0;var a=function(t,r,e,i,n){if("string"==typeof t&&(t=document.getElementById(t)),!t||"object"!==eh(t)||!("getContext"in t))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var s=t.getContext("2d");try{return s.getImageData(r,e,i,n)}catch(t){throw new Error("unable to access image data: "+t)}}(t,r,e,i,n);a=function(t,r,e,i,n,s){for(var a,o=t.data,h=2*s+1,u=i-1,c=n-1,f=s+1,l=f*(f+1)/2,v=new ah,d=v,p=1;p<h;p++)d=d.next=new ah,p===f&&(a=d);d.next=v;for(var y=null,g=null,m=0,b=0,w=ih[s],x=nh[s],M=0;M<n;M++){d=v;for(var k=o[b],S=o[b+1],N=o[b+2],P=o[b+3],O=0;O<f;O++)d.r=k,d.g=S,d.b=N,d.a=P,d=d.next;for(var j=0,E=0,C=0,T=0,A=f*k,R=f*S,B=f*N,$=f*P,L=l*k,I=l*S,D=l*N,F=l*P,z=1;z<f;z++){var _=b+((u<z?u:z)<<2),Y=o[_],X=o[_+1],q=o[_+2],G=o[_+3],U=f-z;L+=(d.r=Y)*U,I+=(d.g=X)*U,D+=(d.b=q)*U,F+=(d.a=G)*U,j+=Y,E+=X,C+=q,T+=G,d=d.next}y=v,g=a;for(var V=0;V<i;V++){var H=F*w>>x;if(o[b+3]=H,0!==H){var W=255/H;o[b]=(L*w>>x)*W,o[b+1]=(I*w>>x)*W,o[b+2]=(D*w>>x)*W}else o[b]=o[b+1]=o[b+2]=0;L-=A,I-=R,D-=B,F-=$,A-=y.r,R-=y.g,B-=y.b,$-=y.a;var Q=V+s+1;L+=j+=y.r=o[Q=m+(Q<u?Q:u)<<2],I+=E+=y.g=o[Q+1],D+=C+=y.b=o[Q+2],F+=T+=y.a=o[Q+3],y=y.next;var Z=g.r,K=g.g,J=g.b,tt=g.a;A+=Z,R+=K,B+=J,$+=tt,j-=Z,E-=K,C-=J,T-=tt,g=g.next,b+=4}m+=i}for(var rt=0;rt<i;rt++){var et=o[b=rt<<2],it=o[b+1],nt=o[b+2],st=o[b+3],at=f*et,ot=f*it,ht=f*nt,ut=f*st,ct=l*et,ft=l*it,lt=l*nt,vt=l*st;d=v;for(var dt=0;dt<f;dt++)d.r=et,d.g=it,d.b=nt,d.a=st,d=d.next;for(var pt=i,yt=0,gt=0,mt=0,bt=0,wt=1;wt<=s;wt++){var xt=f-wt;ct+=(d.r=et=o[b=pt+rt<<2])*xt,ft+=(d.g=it=o[b+1])*xt,lt+=(d.b=nt=o[b+2])*xt,vt+=(d.a=st=o[b+3])*xt,bt+=et,yt+=it,gt+=nt,mt+=st,d=d.next,wt<c&&(pt+=i)}b=rt,y=v,g=a;for(var Mt=0;Mt<n;Mt++){var kt=b<<2;o[kt+3]=st=vt*w>>x,st>0?(o[kt]=(ct*w>>x)*(st=255/st),o[kt+1]=(ft*w>>x)*st,o[kt+2]=(lt*w>>x)*st):o[kt]=o[kt+1]=o[kt+2]=0,ct-=at,ft-=ot,lt-=ht,vt-=ut,at-=y.r,ot-=y.g,ht-=y.b,ut-=y.a,kt=rt+((kt=Mt+f)<c?kt:c)*i<<2,ct+=bt+=y.r=o[kt],ft+=yt+=y.g=o[kt+1],lt+=gt+=y.b=o[kt+2],vt+=mt+=y.a=o[kt+3],y=y.next,at+=et=g.r,ot+=it=g.g,ht+=nt=g.b,ut+=st=g.a,bt-=et,yt-=it,gt-=nt,mt-=st,g=g.next,b+=i}}return t}(a,0,0,i,n,s),t.getContext("2d").putImageData(a,r,e)}}var ah=function t(){!function(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,t),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null},oh=Object.freeze({__proto__:null,offscreen:function(){var{DOMParser:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:t,createCanvas:(t,r)=>new OffscreenCanvas(t,r),createImage:t=>wn((function*(){var r=yield fetch(t),e=yield r.blob();return yield createImageBitmap(e)}))()};return"undefined"==typeof DOMParser&&void 0!==t||Reflect.deleteProperty(r,"DOMParser"),r},node:function(t){var{DOMParser:r,canvas:e,fetch:i}=t;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:r,fetch:i,createCanvas:e.createCanvas,createImage:e.loadImage}}});function hh(t){return t.replace(/(?!\u3000)\s+/gm," ")}function uh(t){return t.replace(/^[\n \t]+/,"")}function ch(t){return t.replace(/[\n \t]+$/,"")}function fh(t){return((t||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[]).map(parseFloat)}var lh=/^[A-Z-]+$/;function vh(t){return lh.test(t)?t.toLowerCase():t}function dh(t){var r=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(t)||[];return r[2]||r[3]||r[4]}function ph(t){if(!t.startsWith("rgb"))return t;var r=3;return t.replace(/\d+(\.\d+)?/g,((t,e)=>r--&&e?String(Math.round(parseFloat(t))):t))}var yh=/(\[[^\]]+\])/g,gh=/(#[^\s+>~.[:]+)/g,mh=/(\.[^\s+>~.[:]+)/g,bh=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,wh=/(:[\w-]+\([^)]*\))/gi,xh=/(:[^\s+>~.[:]+)/g,Mh=/([^\s+>~.[:]+)/g;function kh(t,r){var e=r.exec(t);return e?[t.replace(r," "),e.length]:[t,0]}function Sh(t){var r=[0,0,0],e=t.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),i=0;return[e,i]=kh(e,yh),r[1]+=i,[e,i]=kh(e,gh),r[0]+=i,[e,i]=kh(e,mh),r[1]+=i,[e,i]=kh(e,bh),r[2]+=i,[e,i]=kh(e,wh),r[1]+=i,[e,i]=kh(e,xh),r[1]+=i,e=e.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[e,i]=kh(e,Mh),r[2]+=i,r.join("")}var Nh=1e-8;function Ph(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2))}function Oh(t,r){return(t[0]*r[0]+t[1]*r[1])/(Ph(t)*Ph(r))}function jh(t,r){return(t[0]*r[1]<t[1]*r[0]?-1:1)*Math.acos(Oh(t,r))}function Eh(t){return t*t*t}function Ch(t){return 3*t*t*(1-t)}function Th(t){return 3*t*(1-t)*(1-t)}function Ah(t){return(1-t)*(1-t)*(1-t)}function Rh(t){return t*t}function Bh(t){return 2*t*(1-t)}function $h(t){return(1-t)*(1-t)}class Lh{constructor(t,r,e){this.document=t,this.name=r,this.value=e,this.isNormalizedColor=!1}static empty(t){return new Lh(t,"EMPTY","")}split(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",{document:r,name:e}=this;return hh(this.getString()).trim().split(t).map((t=>new Lh(r,e,t)))}hasValue(t){var{value:r}=this;return null!==r&&""!==r&&(t||0!==r)&&void 0!==r}isString(t){var{value:r}=this,e="string"==typeof r;return e&&t?t.test(r):e}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;var t=this.getString();switch(!0){case t.endsWith("px"):case/^[0-9]+$/.test(t):return!0;default:return!1}}setValue(t){return this.value=t,this}getValue(t){return void 0===t||this.hasValue()?this.value:t}getNumber(t){if(!this.hasValue())return void 0===t?0:parseFloat(t);var{value:r}=this,e=parseFloat(r);return this.isString(/%$/)&&(e/=100),e}getString(t){return void 0===t||this.hasValue()?void 0===this.value?"":String(this.value):String(t)}getColor(t){var r=this.getString(t);return this.isNormalizedColor||(this.isNormalizedColor=!0,r=ph(r),this.value=r),r}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.hasValue())return 0;var[e,i]="boolean"==typeof t?[void 0,t]:[t],{viewPort:n}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(n.computeSize("x"),n.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(n.computeSize("x"),n.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*n.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*n.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return 15*this.getNumber();case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case this.isString(/%$/)&&i:return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*n.computeSize(e);default:var s=this.getNumber();return r&&s<1?s*n.computeSize(e):s}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():1e3*this.getNumber():0}getRadians(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}getDefinition(){var t=this.getString(),r=/#([^)'"]+)/.exec(t);return r&&(r=r[1]),r||(r=t),this.document.definitions[r]}getFillStyleDefinition(t,r){var e=this.getDefinition();if(!e)return null;if("function"==typeof e.createGradient)return e.createGradient(this.document.ctx,t,r);if("function"==typeof e.createPattern){if(e.getHrefAttribute().hasValue()){var i=e.getAttribute("patternTransform");e=e.getHrefAttribute().getDefinition(),i.hasValue()&&e.getAttribute("patternTransform",!0).setValue(i.value)}return e.createPattern(this.document.ctx,t,r)}return null}getTextBaseline(){return this.hasValue()?Lh.textBaselineMapping[this.getString()]:null}addOpacity(t){for(var r=this.getColor(),e=r.length,i=0,n=0;n<e&&(","===r[n]&&i++,3!==i);n++);if(t.hasValue()&&this.isString()&&3!==i){var s=new ko(r);s.ok&&(s.alpha=t.getNumber(),r=s.toRGBA())}return new Lh(this.document,this.name,r)}}Lh.textBaselineMapping={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};class Ih{constructor(){this.viewPorts=[]}clear(){this.viewPorts=[]}setCurrent(t,r){this.viewPorts.push({width:t,height:r})}removeCurrent(){this.viewPorts.pop()}getCurrent(){var{viewPorts:t}=this;return t[t.length-1]}get width(){return this.getCurrent().width}get height(){return this.getCurrent().height}computeSize(t){return"number"==typeof t?t:"x"===t?this.width:"y"===t?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}}class Dh{constructor(t,r){this.x=t,this.y=r}static parse(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,[e=r,i=r]=fh(t);return new Dh(e,i)}static parseScale(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,[e=r,i=e]=fh(t);return new Dh(e,i)}static parsePath(t){for(var r=fh(t),e=r.length,i=[],n=0;n<e;n+=2)i.push(new Dh(r[n],r[n+1]));return i}angleTo(t){return Math.atan2(t.y-this.y,t.x-this.x)}applyTransform(t){var{x:r,y:e}=this,i=r*t[1]+e*t[3]+t[5];this.x=r*t[0]+e*t[2]+t[4],this.y=i}}class Fh{constructor(t){this.screen=t,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}isWorking(){return this.working}start(){if(!this.working){var{screen:t,onClick:r,onMouseMove:e}=this,i=t.ctx.canvas;i.onclick=r,i.onmousemove=e,this.working=!0}}stop(){if(this.working){var t=this.screen.ctx.canvas;this.working=!1,t.onclick=null,t.onmousemove=null}}hasEvents(){return this.working&&this.events.length>0}runEvents(){if(this.working){var{screen:t,events:r,eventElements:e}=this,{style:i}=t.ctx.canvas;i&&(i.cursor=""),r.forEach(((t,r)=>{for(var{run:i}=t,n=e[r];n;)i(n),n=n.parent})),this.events=[],this.eventElements=[]}}checkPath(t,r){if(this.working&&r){var{events:e,eventElements:i}=this;e.forEach(((e,n)=>{var{x:s,y:a}=e;!i[n]&&r.isPointInPath&&r.isPointInPath(s,a)&&(i[n]=t)}))}}checkBoundingBox(t,r){if(this.working&&r){var{events:e,eventElements:i}=this;e.forEach(((e,n)=>{var{x:s,y:a}=e;!i[n]&&r.isPointInBox(s,a)&&(i[n]=t)}))}}mapXY(t,r){for(var{window:e,ctx:i}=this.screen,n=new Dh(t,r),s=i.canvas;s;)n.x-=s.offsetLeft,n.y-=s.offsetTop,s=s.offsetParent;return e.scrollX&&(n.x+=e.scrollX),e.scrollY&&(n.y+=e.scrollY),n}onClick(t){var{x:r,y:e}=this.mapXY(t.clientX,t.clientY);this.events.push({type:"onclick",x:r,y:e,run(t){t.onClick&&t.onClick()}})}onMouseMove(t){var{x:r,y:e}=this.mapXY(t.clientX,t.clientY);this.events.push({type:"onmousemove",x:r,y:e,run(t){t.onMouseMove&&t.onMouseMove()}})}}var zh="undefined"!=typeof window?window:null,_h="undefined"!=typeof fetch?fetch.bind(void 0):null;class Yh{constructor(t){var{fetch:r=_h,window:e=zh}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.ctx=t,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new Ih,this.mouse=new Fh(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=e,this.fetch=r}wait(t){this.waits.push(t)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;var t=this.waits.every((t=>t()));return t&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=t,t}setDefaults(t){t.strokeStyle="rgba(0,0,0,0)",t.lineCap="butt",t.lineJoin="miter",t.miterLimit=4}setViewBox(t){var{document:r,ctx:e,aspectRatio:i,width:n,desiredWidth:s,height:a,desiredHeight:o,minX:h=0,minY:u=0,refX:c,refY:f,clip:l=!1,clipX:v=0,clipY:d=0}=t,p=hh(i).replace(/^defer\s/,""),[y,g]=p.split(" "),m=y||"xMidYMid",b=g||"meet",w=n/s,x=a/o,M=Math.min(w,x),k=Math.max(w,x),S=s,N=o;"meet"===b&&(S*=M,N*=M),"slice"===b&&(S*=k,N*=k);var P=new Lh(r,"refX",c),O=new Lh(r,"refY",f),j=P.hasValue()&&O.hasValue();if(j&&e.translate(-M*P.getPixels("x"),-M*O.getPixels("y")),l){var E=M*v,C=M*d;e.beginPath(),e.moveTo(E,C),e.lineTo(n,C),e.lineTo(n,a),e.lineTo(E,a),e.closePath(),e.clip()}if(!j){var T="meet"===b&&M===x,A="slice"===b&&k===x,R="meet"===b&&M===w,B="slice"===b&&k===w;m.startsWith("xMid")&&(T||A)&&e.translate(n/2-S/2,0),m.endsWith("YMid")&&(R||B)&&e.translate(0,a/2-N/2),m.startsWith("xMax")&&(T||A)&&e.translate(n-S,0),m.endsWith("YMax")&&(R||B)&&e.translate(0,a-N)}switch(!0){case"none"===m:e.scale(w,x);break;case"meet"===b:e.scale(M,M);break;case"slice"===b:e.scale(k,k)}e.translate(-h,-u)}start(t){var{enableRedraw:r=!1,ignoreMouse:e=!1,ignoreAnimation:i=!1,ignoreDimensions:n=!1,ignoreClear:s=!1,forceRedraw:a,scaleWidth:o,scaleHeight:h,offsetX:u,offsetY:c}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{FRAMERATE:f,mouse:l}=this,v=1e3/f;if(this.frameDuration=v,this.readyPromise=new Promise((t=>{this.resolveReady=t})),this.isReady()&&this.render(t,n,s,o,h,u,c),r){var d=Date.now(),p=d,y=0,g=()=>{d=Date.now(),(y=d-p)>=v&&(p=d-y%v,this.shouldUpdate(i,a)&&(this.render(t,n,s,o,h,u,c),l.runEvents())),this.intervalId=lo(g)};e||l.start(),this.intervalId=lo(g)}}stop(){this.intervalId&&(lo.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(t,r){if(!t){var{frameDuration:e}=this;if(this.animations.reduce(((t,r)=>r.update(e)||t),!1))return!0}return!("function"!=typeof r||!r())||!(this.isReadyLock||!this.isReady())||!!this.mouse.hasEvents()}render(t,r,e,i,n,s,a){var{CLIENT_WIDTH:o,CLIENT_HEIGHT:h,viewPort:u,ctx:c,isFirstRender:f}=this,l=c.canvas;u.clear(),l.width&&l.height?u.setCurrent(l.width,l.height):u.setCurrent(o,h);var v=t.getStyle("width"),d=t.getStyle("height");!r&&(f||"number"!=typeof i&&"number"!=typeof n)&&(v.hasValue()&&(l.width=v.getPixels("x"),l.style&&(l.style.width="".concat(l.width,"px"))),d.hasValue()&&(l.height=d.getPixels("y"),l.style&&(l.style.height="".concat(l.height,"px"))));var p=l.clientWidth||l.width,y=l.clientHeight||l.height;if(r&&v.hasValue()&&d.hasValue()&&(p=v.getPixels("x"),y=d.getPixels("y")),u.setCurrent(p,y),"number"==typeof s&&t.getAttribute("x",!0).setValue(s),"number"==typeof a&&t.getAttribute("y",!0).setValue(a),"number"==typeof i||"number"==typeof n){var g=fh(t.getAttribute("viewBox").getString()),m=0,b=0;if("number"==typeof i){var w=t.getStyle("width");w.hasValue()?m=w.getPixels("x")/i:isNaN(g[2])||(m=g[2]/i)}if("number"==typeof n){var x=t.getStyle("height");x.hasValue()?b=x.getPixels("y")/n:isNaN(g[3])||(b=g[3]/n)}m||(m=b),b||(b=m),t.getAttribute("width",!0).setValue(i),t.getAttribute("height",!0).setValue(n);var M=t.getStyle("transform",!0,!0);M.setValue("".concat(M.getString()," scale(").concat(1/m,", ").concat(1/b,")"))}e||c.clearRect(0,0,p,y),t.render(c),f&&(this.isFirstRender=!1)}}Yh.defaultWindow=zh,Yh.defaultFetch=_h;var{defaultFetch:Xh}=Yh,qh="undefined"!=typeof DOMParser?DOMParser:null;class Gh{constructor(){var{fetch:t=Xh,DOMParser:r=qh}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.fetch=t,this.DOMParser=r}parse(t){var r=this;return wn((function*(){return t.startsWith("<")?r.parseFromString(t):r.load(t)}))()}parseFromString(t){var r=new this.DOMParser;try{return this.checkDocument(r.parseFromString(t,"image/svg+xml"))}catch(e){return this.checkDocument(r.parseFromString(t,"text/xml"))}}checkDocument(t){var r=t.getElementsByTagName("parsererror")[0];if(r)throw new Error(r.textContent);return t}load(t){var r=this;return wn((function*(){var e=yield r.fetch(t),i=yield e.text();return r.parseFromString(i)}))()}}class Uh{constructor(t,r){this.type="translate",this.point=null,this.point=Dh.parse(r)}apply(t){var{x:r,y:e}=this.point;t.translate(r||0,e||0)}unapply(t){var{x:r,y:e}=this.point;t.translate(-1*r||0,-1*e||0)}applyToPoint(t){var{x:r,y:e}=this.point;t.applyTransform([1,0,0,1,r||0,e||0])}}class Vh{constructor(t,r,e){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var i=fh(r);this.angle=new Lh(t,"angle",i[0]),this.originX=e[0],this.originY=e[1],this.cx=i[1]||0,this.cy=i[2]||0}apply(t){var{cx:r,cy:e,originX:i,originY:n,angle:s}=this,a=r+i.getPixels("x"),o=e+n.getPixels("y");t.translate(a,o),t.rotate(s.getRadians()),t.translate(-a,-o)}unapply(t){var{cx:r,cy:e,originX:i,originY:n,angle:s}=this,a=r+i.getPixels("x"),o=e+n.getPixels("y");t.translate(a,o),t.rotate(-1*s.getRadians()),t.translate(-a,-o)}applyToPoint(t){var{cx:r,cy:e,angle:i}=this,n=i.getRadians();t.applyTransform([1,0,0,1,r||0,e||0]),t.applyTransform([Math.cos(n),Math.sin(n),-Math.sin(n),Math.cos(n),0,0]),t.applyTransform([1,0,0,1,-r||0,-e||0])}}class Hh{constructor(t,r,e){this.type="scale",this.scale=null,this.originX=null,this.originY=null;var i=Dh.parseScale(r);0!==i.x&&0!==i.y||(i.x=Nh,i.y=Nh),this.scale=i,this.originX=e[0],this.originY=e[1]}apply(t){var{scale:{x:r,y:e},originX:i,originY:n}=this,s=i.getPixels("x"),a=n.getPixels("y");t.translate(s,a),t.scale(r,e||r),t.translate(-s,-a)}unapply(t){var{scale:{x:r,y:e},originX:i,originY:n}=this,s=i.getPixels("x"),a=n.getPixels("y");t.translate(s,a),t.scale(1/r,1/e||r),t.translate(-s,-a)}applyToPoint(t){var{x:r,y:e}=this.scale;t.applyTransform([r||0,0,0,e||0,0,0])}}class Wh{constructor(t,r,e){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=fh(r),this.originX=e[0],this.originY=e[1]}apply(t){var{originX:r,originY:e,matrix:i}=this,n=r.getPixels("x"),s=e.getPixels("y");t.translate(n,s),t.transform(i[0],i[1],i[2],i[3],i[4],i[5]),t.translate(-n,-s)}unapply(t){var{originX:r,originY:e,matrix:i}=this,n=i[0],s=i[2],a=i[4],o=i[1],h=i[3],u=i[5],c=1/(n*(1*h-0*u)-s*(1*o-0*u)+a*(0*o-0*h)),f=r.getPixels("x"),l=e.getPixels("y");t.translate(f,l),t.transform(c*(1*h-0*u),c*(0*u-1*o),c*(0*a-1*s),c*(1*n-0*a),c*(s*u-a*h),c*(a*o-n*u)),t.translate(-f,-l)}applyToPoint(t){t.applyTransform(this.matrix)}}class Qh extends Wh{constructor(t,r,e){super(t,r,e),this.type="skew",this.angle=null,this.angle=new Lh(t,"angle",r)}}class Zh extends Qh{constructor(t,r,e){super(t,r,e),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}}class Kh extends Qh{constructor(t,r,e){super(t,r,e),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}}class Jh{constructor(t,r,e){this.document=t,this.transforms=[];var i=function(t){return hh(t).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}(r);i.forEach((t=>{if("none"!==t){var[r,i]=function(t){var[r,e]=t.split("(");return[r.trim(),e.trim().replace(")","")]}(t),n=Jh.transformTypes[r];void 0!==n&&this.transforms.push(new n(this.document,i,e))}}))}static fromElement(t,r){var e=r.getStyle("transform",!1,!0),[i,n=i]=r.getStyle("transform-origin",!1,!0).split(),s=[i,n];return e.hasValue()?new Jh(t,e.getString(),s):null}apply(t){for(var{transforms:r}=this,e=r.length,i=0;i<e;i++)r[i].apply(t)}unapply(t){for(var{transforms:r}=this,e=r.length-1;e>=0;e--)r[e].unapply(t)}applyToPoint(t){for(var{transforms:r}=this,e=r.length,i=0;i<e;i++)r[i].applyToPoint(t)}}Jh.transformTypes={translate:Uh,rotate:Vh,scale:Hh,matrix:Wh,skewX:Zh,skewY:Kh};class tu{constructor(t,r){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.document=t,this.node=r,this.captureTextNodes=e,this.attributes={},this.styles={},this.stylesSpecificity={},this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],r&&1===r.nodeType){if(Array.from(r.attributes).forEach((r=>{var e=vh(r.nodeName);this.attributes[e]=new Lh(t,e,r.value)})),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var i=this.getAttribute("style").getString().split(";").map((t=>t.trim()));i.forEach((r=>{if(r){var[e,i]=r.split(":").map((t=>t.trim()));this.styles[e]=new Lh(t,e,i)}}))}var{definitions:n}=t,s=this.getAttribute("id");s.hasValue()&&(n[s.getString()]||(n[s.getString()]=this)),Array.from(r.childNodes).forEach((r=>{if(1===r.nodeType)this.addChild(r);else if(e&&(3===r.nodeType||4===r.nodeType)){var i=t.createTextNode(r);i.getText().length>0&&this.addChild(i)}}))}}getAttribute(t){var r=this.attributes[t];if(!r&&arguments.length>1&&void 0!==arguments[1]&&arguments[1]){var e=new Lh(this.document,t,"");return this.attributes[t]=e,e}return r||Lh.empty(this.document)}getHrefAttribute(){for(var t in this.attributes)if("href"===t||t.endsWith(":href"))return this.attributes[t];return Lh.empty(this.document)}getStyle(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.styles[t];if(i)return i;var n=this.getAttribute(t);if(null!=n&&n.hasValue())return this.styles[t]=n,n;if(!e){var{parent:s}=this;if(s){var a=s.getStyle(t);if(null!=a&&a.hasValue())return a}}if(r){var o=new Lh(this.document,t,"");return this.styles[t]=o,o}return i||Lh.empty(this.document)}render(t){if("none"!==this.getStyle("display").getString()&&"hidden"!==this.getStyle("visibility").getString()){if(t.save(),this.getStyle("mask").hasValue()){var r=this.getStyle("mask").getDefinition();r&&(this.applyEffects(t),r.apply(t,this))}else if("none"!==this.getStyle("filter").getValue("none")){var e=this.getStyle("filter").getDefinition();e&&(this.applyEffects(t),e.apply(t,this))}else this.setContext(t),this.renderChildren(t),this.clearContext(t);t.restore()}}setContext(t){}applyEffects(t){var r=Jh.fromElement(this.document,this);r&&r.apply(t);var e=this.getStyle("clip-path",!1,!0);if(e.hasValue()){var i=e.getDefinition();i&&i.apply(t)}}clearContext(t){}renderChildren(t){this.children.forEach((r=>{r.render(t)}))}addChild(t){var r=t instanceof tu?t:this.document.createElement(t);r.parent=this,tu.ignoreChildTypes.includes(r.type)||this.children.push(r)}matchesSelector(t){var r,{node:e}=this;if("function"==typeof e.matches)return e.matches(t);var i=null===(r=e.getAttribute)||void 0===r?void 0:r.call(e,"class");return!(!i||""===i)&&i.split(" ").some((r=>".".concat(r)===t))}addStylesFromStyleDefinition(){var{styles:t,stylesSpecificity:r}=this.document;for(var e in t)if(!e.startsWith("@")&&this.matchesSelector(e)){var i=t[e],n=r[e];if(i)for(var s in i){var a=this.stylesSpecificity[s];void 0===a&&(a="000"),n>=a&&(this.styles[s]=i[s],this.stylesSpecificity[s]=n)}}}removeStyles(t,r){var e=r.reduce(((r,e)=>{var i=t.getStyle(e);if(!i.hasValue())return r;var n=i.getString();return i.setValue(""),[...r,[e,n]]}),[]);return e}restoreStyles(t,r){r.forEach((r=>{var[e,i]=r;t.getStyle(e,!0).setValue(i)}))}isFirstChild(){var t;return 0===(null===(t=this.parent)||void 0===t?void 0:t.children.indexOf(this))}}tu.ignoreChildTypes=["title"];class ru extends tu{constructor(t,r,e){super(t,r,e)}}function eu(t){var r=t.trim();return/^('|")/.test(r)?r:'"'.concat(r,'"')}function iu(t){if(!t)return"";var r=t.trim().toLowerCase();switch(r){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return r;default:return/^oblique\s+(-|)\d+deg$/.test(r)?r:""}}function nu(t){if(!t)return"";var r=t.trim().toLowerCase();switch(r){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return r;default:return/^[\d.]+$/.test(r)?r:""}}class su{constructor(t,r,e,i,n,s){var a=s?"string"==typeof s?su.parse(s):s:{};this.fontFamily=n||a.fontFamily,this.fontSize=i||a.fontSize,this.fontStyle=t||a.fontStyle,this.fontWeight=e||a.fontWeight,this.fontVariant=r||a.fontVariant}static parse(){var t=arguments.length>1?arguments[1]:void 0,r="",e="",i="",n="",s="",a=hh(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim().split(" "),o={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return a.forEach((t=>{switch(!0){case!o.fontStyle&&su.styles.includes(t):"inherit"!==t&&(r=t),o.fontStyle=!0;break;case!o.fontVariant&&su.variants.includes(t):"inherit"!==t&&(e=t),o.fontStyle=!0,o.fontVariant=!0;break;case!o.fontWeight&&su.weights.includes(t):"inherit"!==t&&(i=t),o.fontStyle=!0,o.fontVariant=!0,o.fontWeight=!0;break;case!o.fontSize:"inherit"!==t&&([n]=t.split("/")),o.fontStyle=!0,o.fontVariant=!0,o.fontWeight=!0,o.fontSize=!0;break;default:"inherit"!==t&&(s+=t)}})),new su(r,e,i,n,s,t)}toString(){return[iu(this.fontStyle),this.fontVariant,nu(this.fontWeight),this.fontSize,(t=this.fontFamily,"undefined"==typeof process?t:t.trim().split(",").map(eu).join(","))].join(" ").trim();var t}}su.styles="normal|italic|oblique|inherit",su.variants="normal|small-caps|inherit",su.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";class au{constructor(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.NaN,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.NaN,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.NaN,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Number.NaN;this.x1=t,this.y1=r,this.x2=e,this.y2=i,this.addPoint(t,r),this.addPoint(e,i)}get x(){return this.x1}get y(){return this.y1}get width(){return this.x2-this.x1}get height(){return this.y2-this.y1}addPoint(t,r){void 0!==t&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=t,this.x2=t),t<this.x1&&(this.x1=t),t>this.x2&&(this.x2=t)),void 0!==r&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=r,this.y2=r),r<this.y1&&(this.y1=r),r>this.y2&&(this.y2=r))}addX(t){this.addPoint(t,null)}addY(t){this.addPoint(null,t)}addBoundingBox(t){if(t){var{x1:r,y1:e,x2:i,y2:n}=t;this.addPoint(r,e),this.addPoint(i,n)}}sumCubic(t,r,e,i,n){return Math.pow(1-t,3)*r+3*Math.pow(1-t,2)*t*e+3*(1-t)*Math.pow(t,2)*i+Math.pow(t,3)*n}bezierCurveAdd(t,r,e,i,n){var s=6*r-12*e+6*i,a=-3*r+9*e-9*i+3*n,o=3*e-3*r;if(0!==a){var h=Math.pow(s,2)-4*o*a;if(!(h<0)){var u=(-s+Math.sqrt(h))/(2*a);0<u&&u<1&&(t?this.addX(this.sumCubic(u,r,e,i,n)):this.addY(this.sumCubic(u,r,e,i,n)));var c=(-s-Math.sqrt(h))/(2*a);0<c&&c<1&&(t?this.addX(this.sumCubic(c,r,e,i,n)):this.addY(this.sumCubic(c,r,e,i,n)))}}else{if(0===s)return;var f=-o/s;0<f&&f<1&&(t?this.addX(this.sumCubic(f,r,e,i,n)):this.addY(this.sumCubic(f,r,e,i,n)))}}addBezierCurve(t,r,e,i,n,s,a,o){this.addPoint(t,r),this.addPoint(a,o),this.bezierCurveAdd(!0,t,e,n,a),this.bezierCurveAdd(!1,r,i,s,o)}addQuadraticCurve(t,r,e,i,n,s){var a=t+2/3*(e-t),o=r+2/3*(i-r);this.addBezierCurve(t,r,a,a+1/3*(n-t),o,o+1/3*(s-r),n,s)}isPointInBox(t,r){var{x1:e,y1:i,x2:n,y2:s}=this;return e<=t&&t<=n&&i<=r&&r<=s}}class ou extends Qo{constructor(t){super(t.replace(/([+\-.])\s+/gm,"$1").replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g,"")),this.control=null,this.start=null,this.current=null,this.command=null,this.commands=this.commands,this.i=-1,this.previousCommand=null,this.points=[],this.angles=[]}reset(){this.i=-1,this.command=null,this.previousCommand=null,this.start=new Dh(0,0),this.control=new Dh(0,0),this.current=new Dh(0,0),this.points=[],this.angles=[]}isEnd(){var{i:t,commands:r}=this;return t>=r.length-1}next(){var t=this.commands[++this.i];return this.previousCommand=this.command,this.command=t,t}getPoint(){var t=new Dh(this.command[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"x"],this.command[arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y"]);return this.makeAbsolute(t)}getAsControlPoint(t,r){var e=this.getPoint(t,r);return this.control=e,e}getAsCurrentPoint(t,r){var e=this.getPoint(t,r);return this.current=e,e}getReflectedControlPoint(){var t=this.previousCommand.type;if(t!==Qo.CURVE_TO&&t!==Qo.SMOOTH_CURVE_TO&&t!==Qo.QUAD_TO&&t!==Qo.SMOOTH_QUAD_TO)return this.current;var{current:{x:r,y:e},control:{x:i,y:n}}=this;return new Dh(2*r-i,2*e-n)}makeAbsolute(t){if(this.command.relative){var{x:r,y:e}=this.current;t.x+=r,t.y+=e}return t}addMarker(t,r,e){var{points:i,angles:n}=this;e&&n.length>0&&!n[n.length-1]&&(n[n.length-1]=i[i.length-1].angleTo(e)),this.addMarkerAngle(t,r?r.angleTo(t):null)}addMarkerAngle(t,r){this.points.push(t),this.angles.push(r)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var{angles:t}=this,r=t.length,e=0;e<r;e++)if(!t[e])for(var i=e+1;i<r;i++)if(t[i]){t[e]=t[i];break}return t}}class hu extends tu{constructor(){super(...arguments),this.modifiedEmSizeStack=!1}calculateOpacity(){for(var t=1,r=this;r;){var e=r.getStyle("opacity",!1,!0);e.hasValue(!0)&&(t*=e.getNumber()),r=r.parent}return t}setContext(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!r){var e=this.getStyle("fill"),i=this.getStyle("fill-opacity"),n=this.getStyle("stroke"),s=this.getStyle("stroke-opacity");if(e.isUrlDefinition()){var a=e.getFillStyleDefinition(this,i);a&&(t.fillStyle=a)}else if(e.hasValue()){"currentColor"===e.getString()&&e.setValue(this.getStyle("color").getColor());var o=e.getColor();"inherit"!==o&&(t.fillStyle="none"===o?"rgba(0,0,0,0)":o)}if(i.hasValue()){var h=new Lh(this.document,"fill",t.fillStyle).addOpacity(i).getColor();t.fillStyle=h}if(n.isUrlDefinition()){var u=n.getFillStyleDefinition(this,s);u&&(t.strokeStyle=u)}else if(n.hasValue()){"currentColor"===n.getString()&&n.setValue(this.getStyle("color").getColor());var c=n.getString();"inherit"!==c&&(t.strokeStyle="none"===c?"rgba(0,0,0,0)":c)}if(s.hasValue()){var f=new Lh(this.document,"stroke",t.strokeStyle).addOpacity(s).getString();t.strokeStyle=f}var l=this.getStyle("stroke-width");if(l.hasValue()){var v=l.getPixels();t.lineWidth=v||Nh}var d=this.getStyle("stroke-linecap"),p=this.getStyle("stroke-linejoin"),y=this.getStyle("stroke-miterlimit"),g=this.getStyle("stroke-dasharray"),m=this.getStyle("stroke-dashoffset");if(d.hasValue()&&(t.lineCap=d.getString()),p.hasValue()&&(t.lineJoin=p.getString()),y.hasValue()&&(t.miterLimit=y.getNumber()),g.hasValue()&&"none"!==g.getString()){var b=fh(g.getString());void 0!==t.setLineDash?t.setLineDash(b):void 0!==t.webkitLineDash?t.webkitLineDash=b:void 0===t.mozDash||1===b.length&&0===b[0]||(t.mozDash=b);var w=m.getPixels();void 0!==t.lineDashOffset?t.lineDashOffset=w:void 0!==t.webkitLineDashOffset?t.webkitLineDashOffset=w:void 0!==t.mozDashOffset&&(t.mozDashOffset=w)}}if(this.modifiedEmSizeStack=!1,void 0!==t.font){var x=this.getStyle("font"),M=this.getStyle("font-style"),k=this.getStyle("font-variant"),S=this.getStyle("font-weight"),N=this.getStyle("font-size"),P=this.getStyle("font-family"),O=new su(M.getString(),k.getString(),S.getString(),N.hasValue()?"".concat(N.getPixels(!0),"px"):"",P.getString(),su.parse(x.getString(),t.font));M.setValue(O.fontStyle),k.setValue(O.fontVariant),S.setValue(O.fontWeight),N.setValue(O.fontSize),P.setValue(O.fontFamily),t.font=O.toString(),N.isPixels()&&(this.document.emSize=N.getPixels(),this.modifiedEmSizeStack=!0)}r||(this.applyEffects(t),t.globalAlpha=this.calculateOpacity())}clearContext(t){super.clearContext(t),this.modifiedEmSizeStack&&this.document.popEmSize()}}class uu extends hu{constructor(t,r,e){super(t,r,e),this.type="path",this.pathParser=null,this.pathParser=new ou(this.getAttribute("d").getString())}path(t){var{pathParser:r}=this,e=new au;for(r.reset(),t&&t.beginPath();!r.isEnd();)switch(r.next().type){case ou.MOVE_TO:this.pathM(t,e);break;case ou.LINE_TO:this.pathL(t,e);break;case ou.HORIZ_LINE_TO:this.pathH(t,e);break;case ou.VERT_LINE_TO:this.pathV(t,e);break;case ou.CURVE_TO:this.pathC(t,e);break;case ou.SMOOTH_CURVE_TO:this.pathS(t,e);break;case ou.QUAD_TO:this.pathQ(t,e);break;case ou.SMOOTH_QUAD_TO:this.pathT(t,e);break;case ou.ARC:this.pathA(t,e);break;case ou.CLOSE_PATH:this.pathZ(t,e)}return e}getBoundingBox(t){return this.path()}getMarkers(){var{pathParser:t}=this,r=t.getMarkerPoints(),e=t.getMarkerAngles(),i=r.map(((t,r)=>[t,e[r]]));return i}renderChildren(t){this.path(t),this.document.screen.mouse.checkPath(this,t);var r=this.getStyle("fill-rule");""!==t.fillStyle&&("inherit"!==r.getString("inherit")?t.fill(r.getString()):t.fill()),""!==t.strokeStyle&&("non-scaling-stroke"===this.getAttribute("vector-effect").getString()?(t.save(),t.setTransform(1,0,0,1,0,0),t.stroke(),t.restore()):t.stroke());var e=this.getMarkers();if(e){var i=e.length-1,n=this.getStyle("marker-start"),s=this.getStyle("marker-mid"),a=this.getStyle("marker-end");if(n.isUrlDefinition()){var o=n.getDefinition(),[h,u]=e[0];o.render(t,h,u)}if(s.isUrlDefinition())for(var c=s.getDefinition(),f=1;f<i;f++){var[l,v]=e[f];c.render(t,l,v)}if(a.isUrlDefinition()){var d=a.getDefinition(),[p,y]=e[i];d.render(t,p,y)}}}static pathM(t){var r=t.getAsCurrentPoint();return t.start=t.current,{point:r}}pathM(t,r){var{pathParser:e}=this,{point:i}=uu.pathM(e),{x:n,y:s}=i;e.addMarker(i),r.addPoint(n,s),t&&t.moveTo(n,s)}static pathL(t){var{current:r}=t;return{current:r,point:t.getAsCurrentPoint()}}pathL(t,r){var{pathParser:e}=this,{current:i,point:n}=uu.pathL(e),{x:s,y:a}=n;e.addMarker(n,i),r.addPoint(s,a),t&&t.lineTo(s,a)}static pathH(t){var{current:r,command:e}=t,i=new Dh((e.relative?r.x:0)+e.x,r.y);return t.current=i,{current:r,point:i}}pathH(t,r){var{pathParser:e}=this,{current:i,point:n}=uu.pathH(e),{x:s,y:a}=n;e.addMarker(n,i),r.addPoint(s,a),t&&t.lineTo(s,a)}static pathV(t){var{current:r,command:e}=t,i=new Dh(r.x,(e.relative?r.y:0)+e.y);return t.current=i,{current:r,point:i}}pathV(t,r){var{pathParser:e}=this,{current:i,point:n}=uu.pathV(e),{x:s,y:a}=n;e.addMarker(n,i),r.addPoint(s,a),t&&t.lineTo(s,a)}static pathC(t){var{current:r}=t;return{current:r,point:t.getPoint("x1","y1"),controlPoint:t.getAsControlPoint("x2","y2"),currentPoint:t.getAsCurrentPoint()}}pathC(t,r){var{pathParser:e}=this,{current:i,point:n,controlPoint:s,currentPoint:a}=uu.pathC(e);e.addMarker(a,s,n),r.addBezierCurve(i.x,i.y,n.x,n.y,s.x,s.y,a.x,a.y),t&&t.bezierCurveTo(n.x,n.y,s.x,s.y,a.x,a.y)}static pathS(t){var{current:r}=t;return{current:r,point:t.getReflectedControlPoint(),controlPoint:t.getAsControlPoint("x2","y2"),currentPoint:t.getAsCurrentPoint()}}pathS(t,r){var{pathParser:e}=this,{current:i,point:n,controlPoint:s,currentPoint:a}=uu.pathS(e);e.addMarker(a,s,n),r.addBezierCurve(i.x,i.y,n.x,n.y,s.x,s.y,a.x,a.y),t&&t.bezierCurveTo(n.x,n.y,s.x,s.y,a.x,a.y)}static pathQ(t){var{current:r}=t;return{current:r,controlPoint:t.getAsControlPoint("x1","y1"),currentPoint:t.getAsCurrentPoint()}}pathQ(t,r){var{pathParser:e}=this,{current:i,controlPoint:n,currentPoint:s}=uu.pathQ(e);e.addMarker(s,n,n),r.addQuadraticCurve(i.x,i.y,n.x,n.y,s.x,s.y),t&&t.quadraticCurveTo(n.x,n.y,s.x,s.y)}static pathT(t){var{current:r}=t,e=t.getReflectedControlPoint();return t.control=e,{current:r,controlPoint:e,currentPoint:t.getAsCurrentPoint()}}pathT(t,r){var{pathParser:e}=this,{current:i,controlPoint:n,currentPoint:s}=uu.pathT(e);e.addMarker(s,n,n),r.addQuadraticCurve(i.x,i.y,n.x,n.y,s.x,s.y),t&&t.quadraticCurveTo(n.x,n.y,s.x,s.y)}static pathA(t){var{current:r,command:e}=t,{rX:i,rY:n,xRot:s,lArcFlag:a,sweepFlag:o}=e,h=s*(Math.PI/180),u=t.getAsCurrentPoint(),c=new Dh(Math.cos(h)*(r.x-u.x)/2+Math.sin(h)*(r.y-u.y)/2,-Math.sin(h)*(r.x-u.x)/2+Math.cos(h)*(r.y-u.y)/2),f=Math.pow(c.x,2)/Math.pow(i,2)+Math.pow(c.y,2)/Math.pow(n,2);f>1&&(i*=Math.sqrt(f),n*=Math.sqrt(f));var l=(a===o?-1:1)*Math.sqrt((Math.pow(i,2)*Math.pow(n,2)-Math.pow(i,2)*Math.pow(c.y,2)-Math.pow(n,2)*Math.pow(c.x,2))/(Math.pow(i,2)*Math.pow(c.y,2)+Math.pow(n,2)*Math.pow(c.x,2)));isNaN(l)&&(l=0);var v=new Dh(l*i*c.y/n,l*-n*c.x/i),d=new Dh((r.x+u.x)/2+Math.cos(h)*v.x-Math.sin(h)*v.y,(r.y+u.y)/2+Math.sin(h)*v.x+Math.cos(h)*v.y),p=jh([1,0],[(c.x-v.x)/i,(c.y-v.y)/n]),y=[(c.x-v.x)/i,(c.y-v.y)/n],g=[(-c.x-v.x)/i,(-c.y-v.y)/n],m=jh(y,g);return Oh(y,g)<=-1&&(m=Math.PI),Oh(y,g)>=1&&(m=0),{currentPoint:u,rX:i,rY:n,sweepFlag:o,xAxisRotation:h,centp:d,a1:p,ad:m}}pathA(t,r){var{pathParser:e}=this,{currentPoint:i,rX:n,rY:s,sweepFlag:a,xAxisRotation:o,centp:h,a1:u,ad:c}=uu.pathA(e),f=1-a?1:-1,l=u+f*(c/2),v=new Dh(h.x+n*Math.cos(l),h.y+s*Math.sin(l));if(e.addMarkerAngle(v,l-f*Math.PI/2),e.addMarkerAngle(i,l-f*Math.PI),r.addPoint(i.x,i.y),t&&!isNaN(u)&&!isNaN(c)){var d=n>s?n:s,p=n>s?1:n/s,y=n>s?s/n:1;t.translate(h.x,h.y),t.rotate(o),t.scale(p,y),t.arc(0,0,d,u,u+c,Boolean(1-a)),t.scale(1/p,1/y),t.rotate(-o),t.translate(-h.x,-h.y)}}static pathZ(t){t.current=t.start}pathZ(t,r){uu.pathZ(this.pathParser),t&&r.x1!==r.x2&&r.y1!==r.y2&&t.closePath()}}class cu extends uu{constructor(t,r,e){super(t,r,e),this.type="glyph",this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber(),this.unicode=this.getAttribute("unicode").getString(),this.arabicForm=this.getAttribute("arabic-form").getString()}}class fu extends hu{constructor(t,r,e){super(t,r,new.target===fu||e),this.type="text",this.x=0,this.y=0,this.measureCache=-1}setContext(t){super.setContext(t,arguments.length>1&&void 0!==arguments[1]&&arguments[1]);var r=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();r&&(t.textBaseline=r)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(t){if("text"!==this.type)return this.getTElementBoundingBox(t);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t);var r=null;return this.children.forEach(((e,i)=>{var n=this.getChildBoundingBox(t,this,this,i);r?r.addBoundingBox(n):r=n})),r}getFontSize(){var{document:t,parent:r}=this,e=su.parse(t.ctx.font).fontSize;return r.getStyle("font-size").getNumber(e)}getTElementBoundingBox(t){var r=this.getFontSize();return new au(this.x,this.y-r,this.x+this.measureText(t),this.y)}getGlyph(t,r,e){var i=r[e],n=null;if(t.isArabic){var s=r.length,a=r[e-1],o=r[e+1],h="isolated";if((0===e||" "===a)&&e<s-1&&" "!==o&&(h="terminal"),e>0&&" "!==a&&e<s-1&&" "!==o&&(h="medial"),e>0&&" "!==a&&(e===s-1||" "===o)&&(h="initial"),void 0!==t.glyphs[i]){var u=t.glyphs[i];n=u instanceof cu?u:u[h]}}else n=t.glyphs[i];return n||(n=t.missingGlyph),n}getText(){return""}getTextFromNode(t){var r=t||this.node,e=Array.from(r.parentNode.childNodes),i=e.indexOf(r),n=e.length-1,s=hh(r.textContent||"");return 0===i&&(s=uh(s)),i===n&&(s=ch(s)),s}renderChildren(t){if("text"===this.type){this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t),this.children.forEach(((r,e)=>{this.renderChild(t,this,this,e)}));var{mouse:r}=this.document.screen;r.isWorking()&&r.checkBoundingBox(this,this.getBoundingBox(t))}else this.renderTElementChildren(t)}renderTElementChildren(t){var{document:r,parent:e}=this,i=this.getText(),n=e.getStyle("font-family").getDefinition();if(n)for(var{unitsPerEm:s}=n.fontFace,a=su.parse(r.ctx.font),o=e.getStyle("font-size").getNumber(a.fontSize),h=e.getStyle("font-style").getString(a.fontStyle),u=o/s,c=n.isRTL?i.split("").reverse().join(""):i,f=fh(e.getAttribute("dx").getString()),l=c.length,v=0;v<l;v++){var d=this.getGlyph(n,c,v);t.translate(this.x,this.y),t.scale(u,-u);var p=t.lineWidth;t.lineWidth=t.lineWidth*s/o,"italic"===h&&t.transform(1,0,.4,1,0,0),d.render(t),"italic"===h&&t.transform(1,0,-.4,1,0,0),t.lineWidth=p,t.scale(1/u,-1/u),t.translate(-this.x,-this.y),this.x+=o*(d.horizAdvX||n.horizAdvX)/s,void 0===f[v]||isNaN(f[v])||(this.x+=f[v])}else{var{x:y,y:g}=this;t.fillStyle&&t.fillText(i,y,g),t.strokeStyle&&t.strokeText(i,y,g)}}applyAnchoring(){if(!(this.textChunkStart>=this.leafTexts.length)){var t,r=this.leafTexts[this.textChunkStart],e=r.getStyle("text-anchor").getString("start");t="start"===e?r.x-this.minX:"end"===e?r.x-this.maxX:r.x-(this.minX+this.maxX)/2;for(var i=this.textChunkStart;i<this.leafTexts.length;i++)this.leafTexts[i].x+=t;this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.textChunkStart=this.leafTexts.length}}adjustChildCoordinatesRecursive(t){this.children.forEach(((r,e)=>{this.adjustChildCoordinatesRecursiveCore(t,this,this,e)})),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(t,r,e,i){var n=e.children[i];n.children.length>0?n.children.forEach(((e,i)=>{r.adjustChildCoordinatesRecursiveCore(t,r,n,i)})):this.adjustChildCoordinates(t,r,e,i)}adjustChildCoordinates(t,r,e,i){var n=e.children[i];if("function"!=typeof n.measureText)return n;t.save(),n.setContext(t,!0);var s=n.getAttribute("x"),a=n.getAttribute("y"),o=n.getAttribute("dx"),h=n.getAttribute("dy"),u=n.getStyle("font-family").getDefinition(),c=Boolean(u)&&u.isRTL;0===i&&(s.hasValue()||s.setValue(n.getInheritedAttribute("x")),a.hasValue()||a.setValue(n.getInheritedAttribute("y")),o.hasValue()||o.setValue(n.getInheritedAttribute("dx")),h.hasValue()||h.setValue(n.getInheritedAttribute("dy")));var f=n.measureText(t);return c&&(r.x-=f),s.hasValue()?(r.applyAnchoring(),n.x=s.getPixels("x"),o.hasValue()&&(n.x+=o.getPixels("x"))):(o.hasValue()&&(r.x+=o.getPixels("x")),n.x=r.x),r.x=n.x,c||(r.x+=f),a.hasValue()?(n.y=a.getPixels("y"),h.hasValue()&&(n.y+=h.getPixels("y"))):(h.hasValue()&&(r.y+=h.getPixels("y")),n.y=r.y),r.y=n.y,r.leafTexts.push(n),r.minX=Math.min(r.minX,n.x,n.x+f),r.maxX=Math.max(r.maxX,n.x,n.x+f),n.clearContext(t),t.restore(),n}getChildBoundingBox(t,r,e,i){var n=e.children[i];if("function"!=typeof n.getBoundingBox)return null;var s=n.getBoundingBox(t);return s?(n.children.forEach(((e,i)=>{var a=r.getChildBoundingBox(t,r,n,i);s.addBoundingBox(a)})),s):null}renderChild(t,r,e,i){var n=e.children[i];n.render(t),n.children.forEach(((e,i)=>{r.renderChild(t,r,n,i)}))}measureText(t){var{measureCache:r}=this;if(~r)return r;var e=this.getText(),i=this.measureTargetText(t,e);return this.measureCache=i,i}measureTargetText(t,r){if(!r.length)return 0;var{parent:e}=this,i=e.getStyle("font-family").getDefinition();if(i){for(var n=this.getFontSize(),s=i.isRTL?r.split("").reverse().join(""):r,a=fh(e.getAttribute("dx").getString()),o=s.length,h=0,u=0;u<o;u++)h+=(this.getGlyph(i,s,u).horizAdvX||i.horizAdvX)*n/i.fontFace.unitsPerEm,void 0===a[u]||isNaN(a[u])||(h+=a[u]);return h}if(!t.measureText)return 10*r.length;t.save(),this.setContext(t,!0);var{width:c}=t.measureText(r);return this.clearContext(t),t.restore(),c}getInheritedAttribute(t){for(var r=this;r instanceof fu&&r.isFirstChild();){var e=r.parent.getAttribute(t);if(e.hasValue(!0))return e.getValue("0");r=r.parent}return null}}class lu extends fu{constructor(t,r,e){super(t,r,new.target===lu||e),this.type="tspan",this.text=this.children.length>0?"":this.getTextFromNode()}getText(){return this.text}}class vu extends lu{constructor(){super(...arguments),this.type="textNode"}}class du extends hu{constructor(){super(...arguments),this.type="svg",this.root=!1}setContext(t){var r,{document:e}=this,{screen:i,window:n}=e,s=t.canvas;if(i.setDefaults(t),s.style&&void 0!==t.font&&n&&void 0!==n.getComputedStyle){t.font=n.getComputedStyle(s).getPropertyValue("font");var a=new Lh(e,"fontSize",su.parse(t.font).fontSize);a.hasValue()&&(e.rootEmSize=a.getPixels("y"),e.emSize=e.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var{width:o,height:h}=i.viewPort;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var u=this.getAttribute("refX"),c=this.getAttribute("refY"),f=this.getAttribute("viewBox"),l=f.hasValue()?fh(f.getString()):null,v=!this.root&&"visible"!==this.getStyle("overflow").getValue("hidden"),d=0,p=0,y=0,g=0;l&&(d=l[0],p=l[1]),this.root||(o=this.getStyle("width").getPixels("x"),h=this.getStyle("height").getPixels("y"),"marker"===this.type&&(y=d,g=p,d=0,p=0)),i.viewPort.setCurrent(o,h),!this.node||this.parent&&"foreignObject"!==(null===(r=this.node.parentNode)||void 0===r?void 0:r.nodeName)||!this.getStyle("transform",!1,!0).hasValue()||this.getStyle("transform-origin",!1,!0).hasValue()||this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(t),t.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),l&&(o=l[2],h=l[3]),e.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:i.viewPort.width,desiredWidth:o,height:i.viewPort.height,desiredHeight:h,minX:d,minY:p,refX:u.getValue(),refY:c.getValue(),clip:v,clipX:y,clipY:g}),l&&(i.viewPort.removeCurrent(),i.viewPort.setCurrent(o,h))}clearContext(t){super.clearContext(t),this.document.screen.viewPort.removeCurrent()}resize(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.getAttribute("width",!0),n=this.getAttribute("height",!0),s=this.getAttribute("viewBox"),a=this.getAttribute("style"),o=i.getNumber(0),h=n.getNumber(0);if(e)if("string"==typeof e)this.getAttribute("preserveAspectRatio",!0).setValue(e);else{var u=this.getAttribute("preserveAspectRatio");u.hasValue()&&u.setValue(u.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(i.setValue(t),n.setValue(r),s.hasValue()||s.setValue("0 0 ".concat(o||t," ").concat(h||r)),a.hasValue()){var c=this.getStyle("width"),f=this.getStyle("height");c.hasValue()&&c.setValue("".concat(t,"px")),f.hasValue()&&f.setValue("".concat(r,"px"))}}}class pu extends uu{constructor(){super(...arguments),this.type="rect"}path(t){var r=this.getAttribute("x").getPixels("x"),e=this.getAttribute("y").getPixels("y"),i=this.getStyle("width",!1,!0).getPixels("x"),n=this.getStyle("height",!1,!0).getPixels("y"),s=this.getAttribute("rx"),a=this.getAttribute("ry"),o=s.getPixels("x"),h=a.getPixels("y");if(s.hasValue()&&!a.hasValue()&&(h=o),a.hasValue()&&!s.hasValue()&&(o=h),o=Math.min(o,i/2),h=Math.min(h,n/2),t){var u=(Math.sqrt(2)-1)/3*4;t.beginPath(),n>0&&i>0&&(t.moveTo(r+o,e),t.lineTo(r+i-o,e),t.bezierCurveTo(r+i-o+u*o,e,r+i,e+h-u*h,r+i,e+h),t.lineTo(r+i,e+n-h),t.bezierCurveTo(r+i,e+n-h+u*h,r+i-o+u*o,e+n,r+i-o,e+n),t.lineTo(r+o,e+n),t.bezierCurveTo(r+o-u*o,e+n,r,e+n-h+u*h,r,e+n-h),t.lineTo(r,e+h),t.bezierCurveTo(r,e+h-u*h,r+o-u*o,e,r+o,e),t.closePath())}return new au(r,e,r+i,e+n)}getMarkers(){return null}}class yu extends uu{constructor(){super(...arguments),this.type="circle"}path(t){var r=this.getAttribute("cx").getPixels("x"),e=this.getAttribute("cy").getPixels("y"),i=this.getAttribute("r").getPixels();return t&&i>0&&(t.beginPath(),t.arc(r,e,i,0,2*Math.PI,!1),t.closePath()),new au(r-i,e-i,r+i,e+i)}getMarkers(){return null}}class gu extends uu{constructor(){super(...arguments),this.type="ellipse"}path(t){var r=(Math.sqrt(2)-1)/3*4,e=this.getAttribute("rx").getPixels("x"),i=this.getAttribute("ry").getPixels("y"),n=this.getAttribute("cx").getPixels("x"),s=this.getAttribute("cy").getPixels("y");return t&&e>0&&i>0&&(t.beginPath(),t.moveTo(n+e,s),t.bezierCurveTo(n+e,s+r*i,n+r*e,s+i,n,s+i),t.bezierCurveTo(n-r*e,s+i,n-e,s+r*i,n-e,s),t.bezierCurveTo(n-e,s-r*i,n-r*e,s-i,n,s-i),t.bezierCurveTo(n+r*e,s-i,n+e,s-r*i,n+e,s),t.closePath()),new au(n-e,s-i,n+e,s+i)}getMarkers(){return null}}class mu extends uu{constructor(){super(...arguments),this.type="line"}getPoints(){return[new Dh(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new Dh(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(t){var[{x:r,y:e},{x:i,y:n}]=this.getPoints();return t&&(t.beginPath(),t.moveTo(r,e),t.lineTo(i,n)),new au(r,e,i,n)}getMarkers(){var[t,r]=this.getPoints(),e=t.angleTo(r);return[[t,e],[r,e]]}}class bu extends uu{constructor(t,r,e){super(t,r,e),this.type="polyline",this.points=[],this.points=Dh.parsePath(this.getAttribute("points").getString())}path(t){var{points:r}=this,[{x:e,y:i}]=r,n=new au(e,i);return t&&(t.beginPath(),t.moveTo(e,i)),r.forEach((r=>{var{x:e,y:i}=r;n.addPoint(e,i),t&&t.lineTo(e,i)})),n}getMarkers(){var{points:t}=this,r=t.length-1,e=[];return t.forEach(((i,n)=>{n!==r&&e.push([i,i.angleTo(t[n+1])])})),e.length>0&&e.push([t[t.length-1],e[e.length-1][1]]),e}}class wu extends bu{constructor(){super(...arguments),this.type="polygon"}path(t){var r=super.path(t),[{x:e,y:i}]=this.points;return t&&(t.lineTo(e,i),t.closePath()),r}}class xu extends tu{constructor(){super(...arguments),this.type="pattern"}createPattern(t,r,e){var i=this.getStyle("width").getPixels("x",!0),n=this.getStyle("height").getPixels("y",!0),s=new du(this.document,null);s.attributes.viewBox=new Lh(this.document,"viewBox",this.getAttribute("viewBox").getValue()),s.attributes.width=new Lh(this.document,"width","".concat(i,"px")),s.attributes.height=new Lh(this.document,"height","".concat(n,"px")),s.attributes.transform=new Lh(this.document,"transform",this.getAttribute("patternTransform").getValue()),s.children=this.children;var a=this.document.createCanvas(i,n),o=a.getContext("2d"),h=this.getAttribute("x"),u=this.getAttribute("y");h.hasValue()&&u.hasValue()&&o.translate(h.getPixels("x",!0),u.getPixels("y",!0)),e.hasValue()?this.styles["fill-opacity"]=e:Reflect.deleteProperty(this.styles,"fill-opacity");for(var c=-1;c<=1;c++)for(var f=-1;f<=1;f++)o.save(),s.attributes.x=new Lh(this.document,"x",c*a.width),s.attributes.y=new Lh(this.document,"y",f*a.height),s.render(o),o.restore();return t.createPattern(a,"repeat")}}class Mu extends tu{constructor(){super(...arguments),this.type="marker"}render(t,r,e){if(r){var{x:i,y:n}=r,s=this.getAttribute("orient").getString("auto"),a=this.getAttribute("markerUnits").getString("strokeWidth");t.translate(i,n),"auto"===s&&t.rotate(e),"strokeWidth"===a&&t.scale(t.lineWidth,t.lineWidth),t.save();var o=new du(this.document,null);o.type=this.type,o.attributes.viewBox=new Lh(this.document,"viewBox",this.getAttribute("viewBox").getValue()),o.attributes.refX=new Lh(this.document,"refX",this.getAttribute("refX").getValue()),o.attributes.refY=new Lh(this.document,"refY",this.getAttribute("refY").getValue()),o.attributes.width=new Lh(this.document,"width",this.getAttribute("markerWidth").getValue()),o.attributes.height=new Lh(this.document,"height",this.getAttribute("markerHeight").getValue()),o.attributes.overflow=new Lh(this.document,"overflow",this.getAttribute("overflow").getValue()),o.attributes.fill=new Lh(this.document,"fill",this.getAttribute("fill").getColor("black")),o.attributes.stroke=new Lh(this.document,"stroke",this.getAttribute("stroke").getValue("none")),o.children=this.children,o.render(t),t.restore(),"strokeWidth"===a&&t.scale(1/t.lineWidth,1/t.lineWidth),"auto"===s&&t.rotate(-e),t.translate(-i,-n)}}}class ku extends tu{constructor(){super(...arguments),this.type="defs"}render(){}}class Su extends hu{constructor(){super(...arguments),this.type="g"}getBoundingBox(t){var r=new au;return this.children.forEach((e=>{r.addBoundingBox(e.getBoundingBox(t))})),r}}class Nu extends tu{constructor(t,r,e){super(t,r,e),this.attributesToInherit=["gradientUnits"],this.stops=[];var{stops:i,children:n}=this;n.forEach((t=>{"stop"===t.type&&i.push(t)}))}getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(t,r,e){var i=this;this.getHrefAttribute().hasValue()&&(i=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(i));var{stops:n}=i,s=this.getGradient(t,r);if(!s)return this.addParentOpacity(e,n[n.length-1].color);if(n.forEach((t=>{s.addColorStop(t.offset,this.addParentOpacity(e,t.color))})),this.getAttribute("gradientTransform").hasValue()){var{document:a}=this,{MAX_VIRTUAL_PIXELS:o,viewPort:h}=a.screen,[u]=h.viewPorts,c=new pu(a,null);c.attributes.x=new Lh(a,"x",-o/3),c.attributes.y=new Lh(a,"y",-o/3),c.attributes.width=new Lh(a,"width",o),c.attributes.height=new Lh(a,"height",o);var f=new Su(a,null);f.attributes.transform=new Lh(a,"transform",this.getAttribute("gradientTransform").getValue()),f.children=[c];var l=new du(a,null);l.attributes.x=new Lh(a,"x",0),l.attributes.y=new Lh(a,"y",0),l.attributes.width=new Lh(a,"width",u.width),l.attributes.height=new Lh(a,"height",u.height),l.children=[f];var v=a.createCanvas(u.width,u.height),d=v.getContext("2d");return d.fillStyle=s,l.render(d),d.createPattern(v,"no-repeat")}return s}inheritStopContainer(t){this.attributesToInherit.forEach((r=>{!this.getAttribute(r).hasValue()&&t.getAttribute(r).hasValue()&&this.getAttribute(r,!0).setValue(t.getAttribute(r).getValue())}))}addParentOpacity(t,r){return t.hasValue()?new Lh(this.document,"color",r).addOpacity(t).getColor():r}}class Pu extends Nu{constructor(t,r,e){super(t,r,e),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(t,r){var e="objectBoundingBox"===this.getGradientUnits(),i=e?r.getBoundingBox(t):null;if(e&&!i)return null;this.getAttribute("x1").hasValue()||this.getAttribute("y1").hasValue()||this.getAttribute("x2").hasValue()||this.getAttribute("y2").hasValue()||(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var n=e?i.x+i.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),s=e?i.y+i.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),a=e?i.x+i.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),o=e?i.y+i.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return n===a&&s===o?null:t.createLinearGradient(n,s,a,o)}}class Ou extends Nu{constructor(t,r,e){super(t,r,e),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(t,r){var e="objectBoundingBox"===this.getGradientUnits(),i=r.getBoundingBox(t);if(e&&!i)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var n=e?i.x+i.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),s=e?i.y+i.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),a=n,o=s;this.getAttribute("fx").hasValue()&&(a=e?i.x+i.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(o=e?i.y+i.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var h=e?(i.width+i.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),u=this.getAttribute("fr").getPixels();return t.createRadialGradient(a,o,u,n,s,h)}}class ju extends tu{constructor(t,r,e){super(t,r,e),this.type="stop";var i=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),n=this.getStyle("stop-opacity"),s=this.getStyle("stop-color",!0);""===s.getString()&&s.setValue("#000"),n.hasValue()&&(s=s.addOpacity(n)),this.offset=i,this.color=s.getColor()}}class Eu extends tu{constructor(t,r,e){super(t,r,e),this.type="animate",this.duration=0,this.initialValue=null,this.initialUnits="",this.removed=!1,this.frozen=!1,t.screen.animations.push(this),this.begin=this.getAttribute("begin").getMilliseconds(),this.maxDuration=this.begin+this.getAttribute("dur").getMilliseconds(),this.from=this.getAttribute("from"),this.to=this.getAttribute("to"),this.values=new Lh(t,"values",null);var i=this.getAttribute("values");i.hasValue()&&this.values.setValue(i.getString().split(";"))}getProperty(){var t=this.getAttribute("attributeType").getString(),r=this.getAttribute("attributeName").getString();return"CSS"===t?this.parent.getStyle(r,!0):this.parent.getAttribute(r,!0)}calcValue(){var{initialUnits:t}=this,{progress:r,from:e,to:i}=this.getProgress(),n=e.getNumber()+(i.getNumber()-e.getNumber())*r;return"%"===t&&(n*=100),"".concat(n).concat(t)}update(t){var{parent:r}=this,e=this.getProperty();if(this.initialValue||(this.initialValue=e.getString(),this.initialUnits=e.getUnits()),this.duration>this.maxDuration){var i=this.getAttribute("fill").getString("remove");if("indefinite"===this.getAttribute("repeatCount").getString()||"indefinite"===this.getAttribute("repeatDur").getString())this.duration=0;else if("freeze"!==i||this.frozen){if("remove"===i&&!this.removed)return this.removed=!0,e.setValue(r.animationFrozen?r.animationFrozenValue:this.initialValue),!0}else this.frozen=!0,r.animationFrozen=!0,r.animationFrozenValue=e.getString();return!1}this.duration+=t;var n=!1;if(this.begin<this.duration){var s=this.calcValue(),a=this.getAttribute("type");if(a.hasValue()){var o=a.getString();s="".concat(o,"(").concat(s,")")}e.setValue(s),n=!0}return n}getProgress(){var{document:t,values:r}=this,e={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(r.hasValue()){var i=e.progress*(r.getValue().length-1),n=Math.floor(i),s=Math.ceil(i);e.from=new Lh(t,"from",parseFloat(r.getValue()[n])),e.to=new Lh(t,"to",parseFloat(r.getValue()[s])),e.progress=(i-n)/(s-n)}else e.from=this.from,e.to=this.to;return e}}class Cu extends Eu{constructor(){super(...arguments),this.type="animateColor"}calcValue(){var{progress:t,from:r,to:e}=this.getProgress(),i=new ko(r.getColor()),n=new ko(e.getColor());if(i.ok&&n.ok){var s=i.g+(n.g-i.g)*t,a=i.b+(n.b-i.b)*t;return"rgb(".concat(Math.floor(i.r+(n.r-i.r)*t),", ").concat(Math.floor(s),", ").concat(Math.floor(a),")")}return this.getAttribute("from").getColor()}}class Tu extends Eu{constructor(){super(...arguments),this.type="animateTransform"}calcValue(){var{progress:t,from:r,to:e}=this.getProgress(),i=fh(r.getString()),n=fh(e.getString()),s=i.map(((r,e)=>r+(n[e]-r)*t)).join(" ");return s}}class Au extends tu{constructor(t,r,e){super(t,r,e),this.type="font",this.glyphs={},this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();var{definitions:i}=t,{children:n}=this;for(var s of n)switch(s.type){case"font-face":this.fontFace=s;var a=s.getStyle("font-family");a.hasValue()&&(i[a.getString()]=this);break;case"missing-glyph":this.missingGlyph=s;break;case"glyph":var o=s;o.arabicForm?(this.isRTL=!0,this.isArabic=!0,void 0===this.glyphs[o.unicode]&&(this.glyphs[o.unicode]={}),this.glyphs[o.unicode][o.arabicForm]=o):this.glyphs[o.unicode]=o}}render(){}}class Ru extends tu{constructor(t,r,e){super(t,r,e),this.type="font-face",this.ascent=this.getAttribute("ascent").getNumber(),this.descent=this.getAttribute("descent").getNumber(),this.unitsPerEm=this.getAttribute("units-per-em").getNumber()}}class Bu extends uu{constructor(){super(...arguments),this.type="missing-glyph",this.horizAdvX=0}}class $u extends fu{constructor(){super(...arguments),this.type="tref"}getText(){var t=this.getHrefAttribute().getDefinition();if(t){var r=t.children[0];if(r)return r.getText()}return""}}class Lu extends fu{constructor(t,r,e){super(t,r,e),this.type="a";var{childNodes:i}=r,n=i[0],s=i.length>0&&Array.from(i).every((t=>3===t.nodeType));this.hasText=s,this.text=s?this.getTextFromNode(n):""}getText(){return this.text}renderChildren(t){if(this.hasText){super.renderChildren(t);var{document:r,x:e,y:i}=this,{mouse:n}=r.screen,s=new Lh(r,"fontSize",su.parse(r.ctx.font).fontSize);n.isWorking()&&n.checkBoundingBox(this,new au(e,i-s.getPixels("y"),e+this.measureText(t),i))}else if(this.children.length>0){var a=new Su(this.document,null);a.children=this.children,a.parent=this,a.render(t)}}onClick(){var{window:t}=this.document;t&&t.open(this.getHrefAttribute().getString())}onMouseMove(){this.document.ctx.canvas.style.cursor="pointer"}}function Iu(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,i)}return e}function Du(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?Iu(Object(e),!0).forEach((function(r){Ba(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Iu(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}class Fu extends fu{constructor(t,r,e){super(t,r,e),this.type="textPath",this.textWidth=0,this.textHeight=0,this.pathLength=-1,this.glyphInfo=null,this.letterSpacingCache=[],this.measuresCache=new Map([["",0]]);var i=this.getHrefAttribute().getDefinition();this.text=this.getTextFromNode(),this.dataArray=this.parsePathData(i)}getText(){return this.text}path(t){var{dataArray:r}=this;t&&t.beginPath(),r.forEach((r=>{var{type:e,points:i}=r;switch(e){case ou.LINE_TO:t&&t.lineTo(i[0],i[1]);break;case ou.MOVE_TO:t&&t.moveTo(i[0],i[1]);break;case ou.CURVE_TO:t&&t.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5]);break;case ou.QUAD_TO:t&&t.quadraticCurveTo(i[0],i[1],i[2],i[3]);break;case ou.ARC:var[n,s,a,o,h,u,c,f]=i,l=a>o?a:o,v=a>o?1:a/o,d=a>o?o/a:1;t&&(t.translate(n,s),t.rotate(c),t.scale(v,d),t.arc(0,0,l,h,h+u,Boolean(1-f)),t.scale(1/v,1/d),t.rotate(-c),t.translate(-n,-s));break;case ou.CLOSE_PATH:t&&t.closePath()}}))}renderChildren(t){this.setTextData(t),t.save();var r=this.parent.getStyle("text-decoration").getString(),e=this.getFontSize(),{glyphInfo:i}=this,n=t.fillStyle;"underline"===r&&t.beginPath(),i.forEach(((i,n)=>{var{p0:s,p1:a,rotation:o,text:h}=i;t.save(),t.translate(s.x,s.y),t.rotate(o),t.fillStyle&&t.fillText(h,0,0),t.strokeStyle&&t.strokeText(h,0,0),t.restore(),"underline"===r&&(0===n&&t.moveTo(s.x,s.y+e/8),t.lineTo(a.x,a.y+e/5))})),"underline"===r&&(t.lineWidth=e/20,t.strokeStyle=n,t.stroke(),t.closePath()),t.restore()}getLetterSpacingAt(){return this.letterSpacingCache[arguments.length>0&&void 0!==arguments[0]?arguments[0]:0]||0}findSegmentToFitChar(t,r,e,i,n,s,a,o,h){var u=s,c=this.measureText(t,o);" "===o&&"justify"===r&&e<i&&(c+=(i-e)/n),h>-1&&(u+=this.getLetterSpacingAt(h));var f=this.textHeight/20,l=this.getEquidistantPointOnPath(u,f,0),v=this.getEquidistantPointOnPath(u+c,f,0),d={p0:l,p1:v},p=l&&v?Math.atan2(v.y-l.y,v.x-l.x):0;if(a){var y=Math.cos(Math.PI/2+p)*a,g=Math.cos(-p)*a;d.p0=Du(Du({},l),{},{x:l.x+y,y:l.y+g}),d.p1=Du(Du({},v),{},{x:v.x+y,y:v.y+g})}return{offset:u+=c,segment:d,rotation:p}}measureText(t,r){var{measuresCache:e}=this,i=r||this.getText();if(e.has(i))return e.get(i);var n=this.measureTargetText(t,i);return e.set(i,n),n}setTextData(t){if(!this.glyphInfo){var r=this.getText(),e=r.split(""),i=r.split(" ").length-1,n=this.parent.getAttribute("dx").split().map((t=>t.getPixels("x"))),s=this.parent.getAttribute("dy").getPixels("y"),a=this.parent.getStyle("text-anchor").getString("start"),o=this.getStyle("letter-spacing"),h=this.parent.getStyle("letter-spacing"),u=0;o.hasValue()&&"inherit"!==o.getValue()?o.hasValue()&&"initial"!==o.getValue()&&"unset"!==o.getValue()&&(u=o.getPixels()):u=h.getPixels();var c=[],f=r.length;this.letterSpacingCache=c;for(var l=0;l<f;l++)c.push(void 0!==n[l]?n[l]:u);var v=c.reduce(((t,r,e)=>0===e?0:t+r||0),0),d=this.measureText(t),p=Math.max(d+v,0);this.textWidth=d,this.textHeight=this.getFontSize(),this.glyphInfo=[];var y=this.getPathLength(),g=this.getStyle("startOffset").getNumber(0)*y,m=0;"middle"!==a&&"center"!==a||(m=-p/2),"end"!==a&&"right"!==a||(m=-p),m+=g,e.forEach(((r,n)=>{var{offset:o,segment:h,rotation:u}=this.findSegmentToFitChar(t,a,p,y,i,m,s,r,n);m=o,h.p0&&h.p1&&this.glyphInfo.push({text:e[n],p0:h.p0,p1:h.p1,rotation:u})}))}}parsePathData(t){if(this.pathLength=-1,!t)return[];var r=[],{pathParser:e}=t;for(e.reset();!e.isEnd();){var{current:i}=e,n=i?i.x:0,s=i?i.y:0,a=e.next(),o=a.type,h=[];switch(a.type){case ou.MOVE_TO:this.pathM(e,h);break;case ou.LINE_TO:o=this.pathL(e,h);break;case ou.HORIZ_LINE_TO:o=this.pathH(e,h);break;case ou.VERT_LINE_TO:o=this.pathV(e,h);break;case ou.CURVE_TO:this.pathC(e,h);break;case ou.SMOOTH_CURVE_TO:o=this.pathS(e,h);break;case ou.QUAD_TO:this.pathQ(e,h);break;case ou.SMOOTH_QUAD_TO:o=this.pathT(e,h);break;case ou.ARC:h=this.pathA(e);break;case ou.CLOSE_PATH:uu.pathZ(e)}r.push(a.type!==ou.CLOSE_PATH?{type:o,points:h,start:{x:n,y:s},pathLength:this.calcLength(n,s,o,h)}:{type:ou.CLOSE_PATH,points:[],pathLength:0})}return r}pathM(t,r){var{x:e,y:i}=uu.pathM(t).point;r.push(e,i)}pathL(t,r){var{x:e,y:i}=uu.pathL(t).point;return r.push(e,i),ou.LINE_TO}pathH(t,r){var{x:e,y:i}=uu.pathH(t).point;return r.push(e,i),ou.LINE_TO}pathV(t,r){var{x:e,y:i}=uu.pathV(t).point;return r.push(e,i),ou.LINE_TO}pathC(t,r){var{point:e,controlPoint:i,currentPoint:n}=uu.pathC(t);r.push(e.x,e.y,i.x,i.y,n.x,n.y)}pathS(t,r){var{point:e,controlPoint:i,currentPoint:n}=uu.pathS(t);return r.push(e.x,e.y,i.x,i.y,n.x,n.y),ou.CURVE_TO}pathQ(t,r){var{controlPoint:e,currentPoint:i}=uu.pathQ(t);r.push(e.x,e.y,i.x,i.y)}pathT(t,r){var{controlPoint:e,currentPoint:i}=uu.pathT(t);return r.push(e.x,e.y,i.x,i.y),ou.QUAD_TO}pathA(t){var{rX:r,rY:e,sweepFlag:i,xAxisRotation:n,centp:s,a1:a,ad:o}=uu.pathA(t);return 0===i&&o>0&&(o-=2*Math.PI),1===i&&o<0&&(o+=2*Math.PI),[s.x,s.y,r,e,a,o,n,i]}calcLength(t,r,e,i){var n=0,s=null,a=null,o=0;switch(e){case ou.LINE_TO:return this.getLineLength(t,r,i[0],i[1]);case ou.CURVE_TO:for(n=0,s=this.getPointOnCubicBezier(0,t,r,i[0],i[1],i[2],i[3],i[4],i[5]),o=.01;o<=1;o+=.01)a=this.getPointOnCubicBezier(o,t,r,i[0],i[1],i[2],i[3],i[4],i[5]),n+=this.getLineLength(s.x,s.y,a.x,a.y),s=a;return n;case ou.QUAD_TO:for(n=0,s=this.getPointOnQuadraticBezier(0,t,r,i[0],i[1],i[2],i[3]),o=.01;o<=1;o+=.01)a=this.getPointOnQuadraticBezier(o,t,r,i[0],i[1],i[2],i[3]),n+=this.getLineLength(s.x,s.y,a.x,a.y),s=a;return n;case ou.ARC:n=0;var h=i[4],u=i[5],c=i[4]+u,f=Math.PI/180;if(Math.abs(h-c)<f&&(f=Math.abs(h-c)),s=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],h,0),u<0)for(o=h-f;o>c;o-=f)a=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],o,0),n+=this.getLineLength(s.x,s.y,a.x,a.y),s=a;else for(o=h+f;o<c;o+=f)a=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],o,0),n+=this.getLineLength(s.x,s.y,a.x,a.y),s=a;return a=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],c,0),n+this.getLineLength(s.x,s.y,a.x,a.y)}return 0}getPointOnLine(t,r,e,i,n){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:r,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:e,o=(n-e)/(i-r+Nh),h=Math.sqrt(t*t/(1+o*o));i<r&&(h*=-1);var u=o*h,c=null;if(i===r)c={x:s,y:a+u};else if((a-e)/(s-r+Nh)===o)c={x:s+h,y:a+u};else{var f,l,v=this.getLineLength(r,e,i,n);if(v<Nh)return null;var d=(s-r)*(i-r)+(a-e)*(n-e),p=this.getLineLength(s,a,f=r+(d/=v*v)*(i-r),l=e+d*(n-e)),y=Math.sqrt(t*t-p*p);h=Math.sqrt(y*y/(1+o*o)),i<r&&(h*=-1),c={x:f+h,y:l+(u=o*h)}}return c}getPointOnPath(t){var r=this.getPathLength(),e=0,i=null;if(t<-5e-5||t-5e-5>r)return null;var{dataArray:n}=this;for(var s of n){if(!s||!(s.pathLength<5e-5||e+s.pathLength+5e-5<t)){var a=t-e,o=0;switch(s.type){case ou.LINE_TO:i=this.getPointOnLine(a,s.start.x,s.start.y,s.points[0],s.points[1],s.start.x,s.start.y);break;case ou.ARC:var h=s.points[5],u=s.points[4]+h;if(o=s.points[4]+a/s.pathLength*h,h<0&&o<u||h>=0&&o>u)break;i=this.getPointOnEllipticalArc(s.points[0],s.points[1],s.points[2],s.points[3],o,s.points[6]);break;case ou.CURVE_TO:(o=a/s.pathLength)>1&&(o=1),i=this.getPointOnCubicBezier(o,s.start.x,s.start.y,s.points[0],s.points[1],s.points[2],s.points[3],s.points[4],s.points[5]);break;case ou.QUAD_TO:(o=a/s.pathLength)>1&&(o=1),i=this.getPointOnQuadraticBezier(o,s.start.x,s.start.y,s.points[0],s.points[1],s.points[2],s.points[3])}if(i)return i;break}e+=s.pathLength}return null}getLineLength(t,r,e,i){return Math.sqrt((e-t)*(e-t)+(i-r)*(i-r))}getPathLength(){return-1===this.pathLength&&(this.pathLength=this.dataArray.reduce(((t,r)=>r.pathLength>0?t+r.pathLength:t),0)),this.pathLength}getPointOnCubicBezier(t,r,e,i,n,s,a,o,h){return{x:o*Eh(t)+s*Ch(t)+i*Th(t)+r*Ah(t),y:h*Eh(t)+a*Ch(t)+n*Th(t)+e*Ah(t)}}getPointOnQuadraticBezier(t,r,e,i,n,s,a){return{x:s*Rh(t)+i*Bh(t)+r*$h(t),y:a*Rh(t)+n*Bh(t)+e*$h(t)}}getPointOnEllipticalArc(t,r,e,i,n,s){var a=Math.cos(s),o=Math.sin(s),h=e*Math.cos(n),u=i*Math.sin(n);return{x:t+(h*a-u*o),y:r+(h*o+u*a)}}buildEquidistantCache(t,r){var e=this.getPathLength(),i=r||.25,n=t||e/100;if(!this.equidistantCache||this.equidistantCache.step!==n||this.equidistantCache.precision!==i){this.equidistantCache={step:n,precision:i,points:[]};for(var s=0,a=0;a<=e;a+=i){var o=this.getPointOnPath(a),h=this.getPointOnPath(a+i);o&&h&&(s+=this.getLineLength(o.x,o.y,h.x,h.y))>=n&&(this.equidistantCache.points.push({x:o.x,y:o.y,distance:a}),s-=n)}}}getEquidistantPointOnPath(t,r,e){if(this.buildEquidistantCache(r,e),t<0||t-this.getPathLength()>5e-5)return null;var i=Math.round(t/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[i]||null}}var zu=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;class _u extends hu{constructor(t,r,e){super(t,r,e),this.type="image",this.loaded=!1;var i=this.getHrefAttribute().getString();if(i){var n=i.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(i);t.images.push(this),n?this.loadSvg(i):this.loadImage(i),this.isSvg=n}}loadImage(t){var r=this;return wn((function*(){try{var e=yield r.document.createImage(t);r.image=e}catch(r){console.error('Error while loading image "'.concat(t,'":'),r)}r.loaded=!0}))()}loadSvg(t){var r=this;return wn((function*(){var e=zu.exec(t);if(e){var i=e[5];r.image="base64"===e[4]?atob(i):decodeURIComponent(i)}else try{var n=yield r.document.fetch(t),s=yield n.text();r.image=s}catch(r){console.error('Error while loading image "'.concat(t,'":'),r)}r.loaded=!0}))()}renderChildren(t){var{document:r,image:e,loaded:i}=this,n=this.getAttribute("x").getPixels("x"),s=this.getAttribute("y").getPixels("y"),a=this.getStyle("width").getPixels("x"),o=this.getStyle("height").getPixels("y");if(i&&e&&a&&o){if(t.save(),t.translate(n,s),this.isSvg){var h=r.canvg.forkString(t,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:a,scaleHeight:o});h.document.documentElement.parent=this,h.render()}else{var u=this.image;r.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:a,desiredWidth:u.width,height:o,desiredHeight:u.height}),this.loaded&&(void 0===u.complete||u.complete)&&t.drawImage(u,0,0)}t.restore()}}getBoundingBox(){var t=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),e=this.getStyle("width").getPixels("x"),i=this.getStyle("height").getPixels("y");return new au(t,r,t+e,r+i)}}class Yu extends hu{constructor(){super(...arguments),this.type="symbol"}render(t){}}class Xu{constructor(t){this.document=t,this.loaded=!1,t.fonts.push(this)}load(t,r){var e=this;return wn((function*(){try{var{document:i}=e,n=(yield i.canvg.parser.load(r)).getElementsByTagName("font");Array.from(n).forEach((r=>{var e=i.createElement(r);i.definitions[t]=e}))}catch(t){console.error('Error while loading font "'.concat(r,'":'),t)}e.loaded=!0}))()}}class qu extends tu{constructor(t,r,e){super(t,r,e),this.type="style";var i=hh(Array.from(r.childNodes).map((t=>t.textContent)).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,""));i.split("}").forEach((r=>{var e=r.trim();if(e){var i=e.split("{"),n=i[0].split(","),s=i[1].split(";");n.forEach((r=>{var e=r.trim();if(e){var i=t.styles[e]||{};if(s.forEach((r=>{var e=r.indexOf(":"),n=r.substr(0,e).trim(),s=r.substr(e+1,r.length-e).trim();n&&s&&(i[n]=new Lh(t,n,s))})),t.styles[e]=i,t.stylesSpecificity[e]=Sh(e),"@font-face"===e){var n=i["font-family"].getString().replace(/"|'/g,"");i.src.getString().split(",").forEach((r=>{if(r.indexOf('format("svg")')>0){var e=dh(r);e&&new Xu(t).load(n,e)}}))}}}))}}))}}qu.parseExternalUrl=dh;class Gu extends hu{constructor(){super(...arguments),this.type="use"}setContext(t){super.setContext(t);var r=this.getAttribute("x"),e=this.getAttribute("y");r.hasValue()&&t.translate(r.getPixels("x"),0),e.hasValue()&&t.translate(0,e.getPixels("y"))}path(t){var{element:r}=this;r&&r.path(t)}renderChildren(t){var{document:r,element:e}=this;if(e){var i=e;if("symbol"===e.type&&((i=new du(r,null)).attributes.viewBox=new Lh(r,"viewBox",e.getAttribute("viewBox").getString()),i.attributes.preserveAspectRatio=new Lh(r,"preserveAspectRatio",e.getAttribute("preserveAspectRatio").getString()),i.attributes.overflow=new Lh(r,"overflow",e.getAttribute("overflow").getString()),i.children=e.children,e.styles.opacity=new Lh(r,"opacity",this.calculateOpacity())),"svg"===i.type){var n=this.getStyle("width",!1,!0),s=this.getStyle("height",!1,!0);n.hasValue()&&(i.attributes.width=new Lh(r,"width",n.getString())),s.hasValue()&&(i.attributes.height=new Lh(r,"height",s.getString()))}var a=i.parent;i.parent=this,i.render(t),i.parent=a}}getBoundingBox(t){var{element:r}=this;return r?r.getBoundingBox(t):null}elementTransform(){var{document:t,element:r}=this;return Jh.fromElement(t,r)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}function Uu(t,r,e,i,n,s){return t[e*i*4+4*r+s]}function Vu(t,r,e,i,n,s,a){t[e*i*4+4*r+s]=a}function Hu(t,r,e){return t[r]*e}function Wu(t,r,e,i){return r+Math.cos(t)*e+Math.sin(t)*i}class Qu extends tu{constructor(t,r,e){super(t,r,e),this.type="feColorMatrix";var i=fh(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":var n=i[0];i=[.213+.787*n,.715-.715*n,.072-.072*n,0,0,.213-.213*n,.715+.285*n,.072-.072*n,0,0,.213-.213*n,.715-.715*n,.072+.928*n,0,0,0,0,0,1,0,0,0,0,0,1];break;case"hueRotate":var s=i[0]*Math.PI/180;i=[Wu(s,.213,.787,-.213),Wu(s,.715,-.715,-.715),Wu(s,.072,-.072,.928),0,0,Wu(s,.213,-.213,.143),Wu(s,.715,.285,.14),Wu(s,.072,-.072,-.283),0,0,Wu(s,.213,-.213,-.787),Wu(s,.715,-.715,.715),Wu(s,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case"luminanceToAlpha":i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1]}this.matrix=i,this.includeOpacity=this.getAttribute("includeOpacity").hasValue()}apply(t,r,e,i,n){for(var{includeOpacity:s,matrix:a}=this,o=t.getImageData(0,0,i,n),h=0;h<n;h++)for(var u=0;u<i;u++){var c=Uu(o.data,u,h,i,0,0),f=Uu(o.data,u,h,i,0,1),l=Uu(o.data,u,h,i,0,2),v=Uu(o.data,u,h,i,0,3),d=Hu(a,0,c)+Hu(a,1,f)+Hu(a,2,l)+Hu(a,3,v)+Hu(a,4,1),p=Hu(a,5,c)+Hu(a,6,f)+Hu(a,7,l)+Hu(a,8,v)+Hu(a,9,1),y=Hu(a,10,c)+Hu(a,11,f)+Hu(a,12,l)+Hu(a,13,v)+Hu(a,14,1),g=Hu(a,15,c)+Hu(a,16,f)+Hu(a,17,l)+Hu(a,18,v)+Hu(a,19,1);s&&(d=0,p=0,y=0,g*=v/255),Vu(o.data,u,h,i,0,0,d),Vu(o.data,u,h,i,0,1,p),Vu(o.data,u,h,i,0,2,y),Vu(o.data,u,h,i,0,3,g)}t.clearRect(0,0,i,n),t.putImageData(o,0,0)}}class Zu extends tu{constructor(){super(...arguments),this.type="mask"}apply(t,r){var{document:e}=this,i=this.getAttribute("x").getPixels("x"),n=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),a=this.getStyle("height").getPixels("y");if(!s&&!a){var o=new au;this.children.forEach((r=>{o.addBoundingBox(r.getBoundingBox(t))})),i=Math.floor(o.x1),n=Math.floor(o.y1),s=Math.floor(o.width),a=Math.floor(o.height)}var h=this.removeStyles(r,Zu.ignoreStyles),u=e.createCanvas(i+s,n+a),c=u.getContext("2d");e.screen.setDefaults(c),this.renderChildren(c),new Qu(e,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(c,0,0,i+s,n+a);var f=e.createCanvas(i+s,n+a),l=f.getContext("2d");e.screen.setDefaults(l),r.render(l),l.globalCompositeOperation="destination-in",l.fillStyle=c.createPattern(u,"no-repeat"),l.fillRect(0,0,i+s,n+a),t.fillStyle=l.createPattern(f,"no-repeat"),t.fillRect(0,0,i+s,n+a),this.restoreStyles(r,h)}render(t){}}Zu.ignoreStyles=["mask","transform","clip-path"];var Ku=()=>{};class Ju extends tu{constructor(){super(...arguments),this.type="clipPath"}apply(t){var{document:r}=this,e=Reflect.getPrototypeOf(t),{beginPath:i,closePath:n}=t;e&&(e.beginPath=Ku,e.closePath=Ku),Reflect.apply(i,t,[]),this.children.forEach((i=>{if(void 0!==i.path){var s=void 0!==i.elementTransform?i.elementTransform():null;s||(s=Jh.fromElement(r,i)),s&&s.apply(t),i.path(t),e&&(e.closePath=n),s&&s.unapply(t)}})),Reflect.apply(n,t,[]),t.clip(),e&&(e.beginPath=i,e.closePath=n)}render(t){}}class tc extends tu{constructor(){super(...arguments),this.type="filter"}apply(t,r){var{document:e,children:i}=this,n=r.getBoundingBox(t);if(n){var s=0,a=0;i.forEach((t=>{var r=t.extraFilterDistance||0;s=Math.max(s,r),a=Math.max(a,r)}));var o=Math.floor(n.width),h=Math.floor(n.height),u=o+2*s,c=h+2*a;if(!(u<1||c<1)){var f=Math.floor(n.x),l=Math.floor(n.y),v=this.removeStyles(r,tc.ignoreStyles),d=e.createCanvas(u,c),p=d.getContext("2d");e.screen.setDefaults(p),p.translate(-f+s,-l+a),r.render(p),i.forEach((t=>{"function"==typeof t.apply&&t.apply(p,0,0,u,c)})),t.drawImage(d,0,0,u,c,f-s,l-a,u,c),this.restoreStyles(r,v)}}}render(t){}}tc.ignoreStyles=["filter","transform","clip-path"];class rc extends tu{constructor(t,r,e){super(t,r,e),this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(t,r,e,i,n){}}class ec extends tu{constructor(){super(...arguments),this.type="feMorphology"}apply(t,r,e,i,n){}}class ic extends tu{constructor(){super(...arguments),this.type="feComposite"}apply(t,r,e,i,n){}}class nc extends tu{constructor(t,r,e){super(t,r,e),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(t,r,e,i,n){var{document:s,blurRadius:a}=this,o=s.window?s.window.document.body:null,h=t.canvas;h.id=s.getUniqueId(),o&&(h.style.display="none",o.appendChild(h)),sh(h,r,e,i,n,a),o&&o.removeChild(h)}}class sc extends tu{constructor(){super(...arguments),this.type="title"}}class ac extends tu{constructor(){super(...arguments),this.type="desc"}}var oc={svg:du,rect:pu,circle:yu,ellipse:gu,line:mu,polyline:bu,polygon:wu,path:uu,pattern:xu,marker:Mu,defs:ku,linearGradient:Pu,radialGradient:Ou,stop:ju,animate:Eu,animateColor:Cu,animateTransform:Tu,font:Au,"font-face":Ru,"missing-glyph":Bu,glyph:cu,text:fu,tspan:lu,tref:$u,a:Lu,textPath:Fu,image:_u,g:Su,symbol:Yu,style:qu,use:Gu,mask:Zu,clipPath:Ju,filter:tc,feDropShadow:rc,feMorphology:ec,feComposite:ic,feColorMatrix:Qu,feGaussianBlur:nc,title:sc,desc:ac};function hc(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,i)}return e}function uc(){return uc=wn((function*(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=document.createElement("img");return r&&(e.crossOrigin="Anonymous"),new Promise(((r,i)=>{e.onload=()=>{r(e)},e.onerror=(t,r,e,n,s)=>{i(s)},e.src=t}))})),uc.apply(this,arguments)}class cc{constructor(t){var{rootEmSize:r=12,emSize:e=12,createCanvas:i=cc.createCanvas,createImage:n=cc.createImage,anonymousCrossOrigin:s}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.canvg=t,this.definitions={},this.styles={},this.stylesSpecificity={},this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=t.screen,this.rootEmSize=r,this.emSize=e,this.createCanvas=i,this.createImage=this.bindCreateImage(n,s),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}bindCreateImage(t,r){return"boolean"==typeof r?(e,i)=>t(e,"boolean"==typeof i?i:r):t}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){var{emSizeStack:t}=this;return t[t.length-1]}set emSize(t){var{emSizeStack:r}=this;r.push(t)}popEmSize(){var{emSizeStack:t}=this;t.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every((t=>t.loaded))}isFontsLoaded(){return this.fonts.every((t=>t.loaded))}createDocumentElement(t){var r=this.createElement(t.documentElement);return r.root=!0,r.addStylesFromStyleDefinition(),this.documentElement=r,r}createElement(t){var r=t.nodeName.replace(/^[^:]+:/,""),e=cc.elementTypes[r];return void 0!==e?new e(this,t):new ru(this,t)}createTextNode(t){return new vu(this,t)}setViewBox(t){this.screen.setViewBox(function(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?hc(Object(e),!0).forEach((function(r){Ba(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):hc(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}({document:this},t))}}function fc(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,i)}return e}function lc(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?fc(Object(e),!0).forEach((function(r){Ba(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):fc(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}cc.createCanvas=function(t,r){var e=document.createElement("canvas");return e.width=t,e.height=r,e},cc.createImage=function(t){return uc.apply(this,arguments)},cc.elementTypes=oc;class vc{constructor(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.parser=new Gh(e),this.screen=new Yh(t,e),this.options=e;var i=new cc(this,e),n=i.createDocumentElement(r);this.document=i,this.documentElement=n}static from(t,r){var e=arguments;return wn((function*(){var i=e.length>2&&void 0!==e[2]?e[2]:{},n=new Gh(i),s=yield n.parse(r);return new vc(t,s,i)}))()}static fromString(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=new Gh(e).parseFromString(r);return new vc(t,i,e)}fork(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return vc.from(t,r,lc(lc({},this.options),e))}forkString(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return vc.fromString(t,r,lc(lc({},this.options),e))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var t=arguments,r=this;return wn((function*(){r.start(lc({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},t.length>0&&void 0!==t[0]?t[0]:{})),yield r.ready(),r.stop()}))()}start(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{documentElement:r,screen:e,options:i}=this;e.start(r,lc(lc({enableRedraw:!0},i),t))}stop(){this.screen.stop()}resize(t){this.documentElement.resize(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,arguments.length>2&&void 0!==arguments[2]&&arguments[2])}}export default vc;export{Lu as AElement,Cu as AnimateColorElement,Eu as AnimateElement,Tu as AnimateTransformElement,au as BoundingBox,Eh as CB1,Ch as CB2,Th as CB3,Ah as CB4,vc as Canvg,yu as CircleElement,Ju as ClipPathElement,ku as DefsElement,ac as DescElement,cc as Document,tu as Element,gu as EllipseElement,Qu as FeColorMatrixElement,ic as FeCompositeElement,rc as FeDropShadowElement,nc as FeGaussianBlurElement,ec as FeMorphologyElement,tc as FilterElement,su as Font,Au as FontElement,Ru as FontFaceElement,Su as GElement,cu as GlyphElement,Nu as GradientElement,_u as ImageElement,mu as LineElement,Pu as LinearGradientElement,Mu as MarkerElement,Zu as MaskElement,Wh as Matrix,Bu as MissingGlyphElement,Fh as Mouse,Nh as PSEUDO_ZERO,Gh as Parser,uu as PathElement,ou as PathParser,xu as PatternElement,Dh as Point,wu as PolygonElement,bu as PolylineElement,Lh as Property,Rh as QB1,Bh as QB2,$h as QB3,Ou as RadialGradientElement,pu as RectElement,hu as RenderedElement,Vh as Rotate,du as SVGElement,Xu as SVGFontLoader,Hh as Scale,Yh as Screen,Qh as Skew,Zh as SkewX,Kh as SkewY,ju as StopElement,qu as StyleElement,Yu as SymbolElement,$u as TRefElement,lu as TSpanElement,fu as TextElement,Fu as TextPathElement,sc as TitleElement,Jh as Transform,Uh as Translate,ru as UnknownElement,Gu as UseElement,Ih as ViewPort,hh as compressSpaces,Sh as getSelectorSpecificity,vh as normalizeAttributeName,ph as normalizeColor,dh as parseExternalUrl,oh as presets,fh as toNumbers,uh as trimLeft,ch as trimRight,Ph as vectorMagnitude,jh as vectorsAngle,Oh as vectorsRatio}
|