@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
@@ -0,0 +1,1710 @@
|
|
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 { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-d5f9d613.js';
|
7
|
+
|
8
|
+
var purify = createCommonjsModule(function (module, exports) {
|
9
|
+
/*! @license DOMPurify 2.4.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.3/LICENSE */
|
10
|
+
|
11
|
+
(function (global, factory) {
|
12
|
+
module.exports = factory() ;
|
13
|
+
})(commonjsGlobal, (function () {
|
14
|
+
function _typeof(obj) {
|
15
|
+
"@babel/helpers - typeof";
|
16
|
+
|
17
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
18
|
+
return typeof obj;
|
19
|
+
} : function (obj) {
|
20
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
21
|
+
}, _typeof(obj);
|
22
|
+
}
|
23
|
+
|
24
|
+
function _setPrototypeOf(o, p) {
|
25
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
26
|
+
o.__proto__ = p;
|
27
|
+
return o;
|
28
|
+
};
|
29
|
+
|
30
|
+
return _setPrototypeOf(o, p);
|
31
|
+
}
|
32
|
+
|
33
|
+
function _isNativeReflectConstruct() {
|
34
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
35
|
+
if (Reflect.construct.sham) return false;
|
36
|
+
if (typeof Proxy === "function") return true;
|
37
|
+
|
38
|
+
try {
|
39
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
40
|
+
return true;
|
41
|
+
} catch (e) {
|
42
|
+
return false;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
function _construct(Parent, args, Class) {
|
47
|
+
if (_isNativeReflectConstruct()) {
|
48
|
+
_construct = Reflect.construct;
|
49
|
+
} else {
|
50
|
+
_construct = function _construct(Parent, args, Class) {
|
51
|
+
var a = [null];
|
52
|
+
a.push.apply(a, args);
|
53
|
+
var Constructor = Function.bind.apply(Parent, a);
|
54
|
+
var instance = new Constructor();
|
55
|
+
if (Class) _setPrototypeOf(instance, Class.prototype);
|
56
|
+
return instance;
|
57
|
+
};
|
58
|
+
}
|
59
|
+
|
60
|
+
return _construct.apply(null, arguments);
|
61
|
+
}
|
62
|
+
|
63
|
+
function _toConsumableArray(arr) {
|
64
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
65
|
+
}
|
66
|
+
|
67
|
+
function _arrayWithoutHoles(arr) {
|
68
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
69
|
+
}
|
70
|
+
|
71
|
+
function _iterableToArray(iter) {
|
72
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
73
|
+
}
|
74
|
+
|
75
|
+
function _unsupportedIterableToArray(o, minLen) {
|
76
|
+
if (!o) return;
|
77
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
78
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
79
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
80
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
81
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
82
|
+
}
|
83
|
+
|
84
|
+
function _arrayLikeToArray(arr, len) {
|
85
|
+
if (len == null || len > arr.length) len = arr.length;
|
86
|
+
|
87
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
88
|
+
|
89
|
+
return arr2;
|
90
|
+
}
|
91
|
+
|
92
|
+
function _nonIterableSpread() {
|
93
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
94
|
+
}
|
95
|
+
|
96
|
+
var hasOwnProperty = Object.hasOwnProperty,
|
97
|
+
setPrototypeOf = Object.setPrototypeOf,
|
98
|
+
isFrozen = Object.isFrozen,
|
99
|
+
getPrototypeOf = Object.getPrototypeOf,
|
100
|
+
getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
101
|
+
var freeze = Object.freeze,
|
102
|
+
seal = Object.seal,
|
103
|
+
create = Object.create; // eslint-disable-line import/no-mutable-exports
|
104
|
+
|
105
|
+
var _ref = typeof Reflect !== 'undefined' && Reflect,
|
106
|
+
apply = _ref.apply,
|
107
|
+
construct = _ref.construct;
|
108
|
+
|
109
|
+
if (!apply) {
|
110
|
+
apply = function apply(fun, thisValue, args) {
|
111
|
+
return fun.apply(thisValue, args);
|
112
|
+
};
|
113
|
+
}
|
114
|
+
|
115
|
+
if (!freeze) {
|
116
|
+
freeze = function freeze(x) {
|
117
|
+
return x;
|
118
|
+
};
|
119
|
+
}
|
120
|
+
|
121
|
+
if (!seal) {
|
122
|
+
seal = function seal(x) {
|
123
|
+
return x;
|
124
|
+
};
|
125
|
+
}
|
126
|
+
|
127
|
+
if (!construct) {
|
128
|
+
construct = function construct(Func, args) {
|
129
|
+
return _construct(Func, _toConsumableArray(args));
|
130
|
+
};
|
131
|
+
}
|
132
|
+
|
133
|
+
var arrayForEach = unapply(Array.prototype.forEach);
|
134
|
+
var arrayPop = unapply(Array.prototype.pop);
|
135
|
+
var arrayPush = unapply(Array.prototype.push);
|
136
|
+
var stringToLowerCase = unapply(String.prototype.toLowerCase);
|
137
|
+
var stringToString = unapply(String.prototype.toString);
|
138
|
+
var stringMatch = unapply(String.prototype.match);
|
139
|
+
var stringReplace = unapply(String.prototype.replace);
|
140
|
+
var stringIndexOf = unapply(String.prototype.indexOf);
|
141
|
+
var stringTrim = unapply(String.prototype.trim);
|
142
|
+
var regExpTest = unapply(RegExp.prototype.test);
|
143
|
+
var typeErrorCreate = unconstruct(TypeError);
|
144
|
+
function unapply(func) {
|
145
|
+
return function (thisArg) {
|
146
|
+
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
147
|
+
args[_key - 1] = arguments[_key];
|
148
|
+
}
|
149
|
+
|
150
|
+
return apply(func, thisArg, args);
|
151
|
+
};
|
152
|
+
}
|
153
|
+
function unconstruct(func) {
|
154
|
+
return function () {
|
155
|
+
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
156
|
+
args[_key2] = arguments[_key2];
|
157
|
+
}
|
158
|
+
|
159
|
+
return construct(func, args);
|
160
|
+
};
|
161
|
+
}
|
162
|
+
/* Add properties to a lookup table */
|
163
|
+
|
164
|
+
function addToSet(set, array, transformCaseFunc) {
|
165
|
+
transformCaseFunc = transformCaseFunc ? transformCaseFunc : stringToLowerCase;
|
166
|
+
|
167
|
+
if (setPrototypeOf) {
|
168
|
+
// Make 'in' and truthy checks like Boolean(set.constructor)
|
169
|
+
// independent of any properties defined on Object.prototype.
|
170
|
+
// Prevent prototype setters from intercepting set as a this value.
|
171
|
+
setPrototypeOf(set, null);
|
172
|
+
}
|
173
|
+
|
174
|
+
var l = array.length;
|
175
|
+
|
176
|
+
while (l--) {
|
177
|
+
var element = array[l];
|
178
|
+
|
179
|
+
if (typeof element === 'string') {
|
180
|
+
var lcElement = transformCaseFunc(element);
|
181
|
+
|
182
|
+
if (lcElement !== element) {
|
183
|
+
// Config presets (e.g. tags.js, attrs.js) are immutable.
|
184
|
+
if (!isFrozen(array)) {
|
185
|
+
array[l] = lcElement;
|
186
|
+
}
|
187
|
+
|
188
|
+
element = lcElement;
|
189
|
+
}
|
190
|
+
}
|
191
|
+
|
192
|
+
set[element] = true;
|
193
|
+
}
|
194
|
+
|
195
|
+
return set;
|
196
|
+
}
|
197
|
+
/* Shallow clone an object */
|
198
|
+
|
199
|
+
function clone(object) {
|
200
|
+
var newObject = create(null);
|
201
|
+
var property;
|
202
|
+
|
203
|
+
for (property in object) {
|
204
|
+
if (apply(hasOwnProperty, object, [property]) === true) {
|
205
|
+
newObject[property] = object[property];
|
206
|
+
}
|
207
|
+
}
|
208
|
+
|
209
|
+
return newObject;
|
210
|
+
}
|
211
|
+
/* IE10 doesn't support __lookupGetter__ so lets'
|
212
|
+
* simulate it. It also automatically checks
|
213
|
+
* if the prop is function or getter and behaves
|
214
|
+
* accordingly. */
|
215
|
+
|
216
|
+
function lookupGetter(object, prop) {
|
217
|
+
while (object !== null) {
|
218
|
+
var desc = getOwnPropertyDescriptor(object, prop);
|
219
|
+
|
220
|
+
if (desc) {
|
221
|
+
if (desc.get) {
|
222
|
+
return unapply(desc.get);
|
223
|
+
}
|
224
|
+
|
225
|
+
if (typeof desc.value === 'function') {
|
226
|
+
return unapply(desc.value);
|
227
|
+
}
|
228
|
+
}
|
229
|
+
|
230
|
+
object = getPrototypeOf(object);
|
231
|
+
}
|
232
|
+
|
233
|
+
function fallbackValue(element) {
|
234
|
+
console.warn('fallback value for', element);
|
235
|
+
return null;
|
236
|
+
}
|
237
|
+
|
238
|
+
return fallbackValue;
|
239
|
+
}
|
240
|
+
|
241
|
+
var html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'section', 'select', 'shadow', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']); // SVG
|
242
|
+
|
243
|
+
var svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);
|
244
|
+
var svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']); // List of SVG elements that are disallowed by default.
|
245
|
+
// We still need to know them so that we can do namespace
|
246
|
+
// checks properly in case one wants to add them to
|
247
|
+
// allow-list.
|
248
|
+
|
249
|
+
var svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'fedropshadow', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'foreignobject', 'hatch', 'hatchpath', 'mesh', 'meshgradient', 'meshpatch', 'meshrow', 'missing-glyph', 'script', 'set', 'solidcolor', 'unknown', 'use']);
|
250
|
+
var mathMl$1 = freeze(['math', 'menclose', 'merror', 'mfenced', 'mfrac', 'mglyph', 'mi', 'mlabeledtr', 'mmultiscripts', 'mn', 'mo', 'mover', 'mpadded', 'mphantom', 'mroot', 'mrow', 'ms', 'mspace', 'msqrt', 'mstyle', 'msub', 'msup', 'msubsup', 'mtable', 'mtd', 'mtext', 'mtr', 'munder', 'munderover']); // Similarly to SVG, we want to know all MathML elements,
|
251
|
+
// even those that we disallow by default.
|
252
|
+
|
253
|
+
var mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);
|
254
|
+
var text = freeze(['#text']);
|
255
|
+
|
256
|
+
var html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'pattern', 'placeholder', 'playsinline', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'xmlns', 'slot']);
|
257
|
+
var svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);
|
258
|
+
var mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnsalign', 'columnlines', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lspace', 'lquote', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);
|
259
|
+
var xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);
|
260
|
+
|
261
|
+
var MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode
|
262
|
+
|
263
|
+
var ERB_EXPR = seal(/<%[\w\W]*|[\w\W]*%>/gm);
|
264
|
+
var TMPLIT_EXPR = seal(/\${[\w\W]*}/gm);
|
265
|
+
var DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]/); // eslint-disable-line no-useless-escape
|
266
|
+
|
267
|
+
var ARIA_ATTR = seal(/^aria-[\-\w]+$/); // eslint-disable-line no-useless-escape
|
268
|
+
|
269
|
+
var IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i // eslint-disable-line no-useless-escape
|
270
|
+
);
|
271
|
+
var IS_SCRIPT_OR_DATA = seal(/^(?:\w+script|data):/i);
|
272
|
+
var ATTR_WHITESPACE = seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g // eslint-disable-line no-control-regex
|
273
|
+
);
|
274
|
+
var DOCTYPE_NAME = seal(/^html$/i);
|
275
|
+
|
276
|
+
var getGlobal = function getGlobal() {
|
277
|
+
return typeof window === 'undefined' ? null : window;
|
278
|
+
};
|
279
|
+
/**
|
280
|
+
* Creates a no-op policy for internal use only.
|
281
|
+
* Don't export this function outside this module!
|
282
|
+
* @param {?TrustedTypePolicyFactory} trustedTypes The policy factory.
|
283
|
+
* @param {Document} document The document object (to determine policy name suffix)
|
284
|
+
* @return {?TrustedTypePolicy} The policy created (or null, if Trusted Types
|
285
|
+
* are not supported).
|
286
|
+
*/
|
287
|
+
|
288
|
+
|
289
|
+
var _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, document) {
|
290
|
+
if (_typeof(trustedTypes) !== 'object' || typeof trustedTypes.createPolicy !== 'function') {
|
291
|
+
return null;
|
292
|
+
} // Allow the callers to control the unique policy name
|
293
|
+
// by adding a data-tt-policy-suffix to the script element with the DOMPurify.
|
294
|
+
// Policy creation with duplicate names throws in Trusted Types.
|
295
|
+
|
296
|
+
|
297
|
+
var suffix = null;
|
298
|
+
var ATTR_NAME = 'data-tt-policy-suffix';
|
299
|
+
|
300
|
+
if (document.currentScript && document.currentScript.hasAttribute(ATTR_NAME)) {
|
301
|
+
suffix = document.currentScript.getAttribute(ATTR_NAME);
|
302
|
+
}
|
303
|
+
|
304
|
+
var policyName = 'dompurify' + (suffix ? '#' + suffix : '');
|
305
|
+
|
306
|
+
try {
|
307
|
+
return trustedTypes.createPolicy(policyName, {
|
308
|
+
createHTML: function createHTML(html) {
|
309
|
+
return html;
|
310
|
+
},
|
311
|
+
createScriptURL: function createScriptURL(scriptUrl) {
|
312
|
+
return scriptUrl;
|
313
|
+
}
|
314
|
+
});
|
315
|
+
} catch (_) {
|
316
|
+
// Policy creation failed (most likely another DOMPurify script has
|
317
|
+
// already run). Skip creating the policy, as this will only cause errors
|
318
|
+
// if TT are enforced.
|
319
|
+
console.warn('TrustedTypes policy ' + policyName + ' could not be created.');
|
320
|
+
return null;
|
321
|
+
}
|
322
|
+
};
|
323
|
+
|
324
|
+
function createDOMPurify() {
|
325
|
+
var window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
|
326
|
+
|
327
|
+
var DOMPurify = function DOMPurify(root) {
|
328
|
+
return createDOMPurify(root);
|
329
|
+
};
|
330
|
+
/**
|
331
|
+
* Version label, exposed for easier checks
|
332
|
+
* if DOMPurify is up to date or not
|
333
|
+
*/
|
334
|
+
|
335
|
+
|
336
|
+
DOMPurify.version = '2.4.3';
|
337
|
+
/**
|
338
|
+
* Array of elements that DOMPurify removed during sanitation.
|
339
|
+
* Empty if nothing was removed.
|
340
|
+
*/
|
341
|
+
|
342
|
+
DOMPurify.removed = [];
|
343
|
+
|
344
|
+
if (!window || !window.document || window.document.nodeType !== 9) {
|
345
|
+
// Not running in a browser, provide a factory function
|
346
|
+
// so that you can pass your own Window
|
347
|
+
DOMPurify.isSupported = false;
|
348
|
+
return DOMPurify;
|
349
|
+
}
|
350
|
+
|
351
|
+
var originalDocument = window.document;
|
352
|
+
var document = window.document;
|
353
|
+
var DocumentFragment = window.DocumentFragment,
|
354
|
+
HTMLTemplateElement = window.HTMLTemplateElement,
|
355
|
+
Node = window.Node,
|
356
|
+
Element = window.Element,
|
357
|
+
NodeFilter = window.NodeFilter,
|
358
|
+
_window$NamedNodeMap = window.NamedNodeMap,
|
359
|
+
NamedNodeMap = _window$NamedNodeMap === void 0 ? window.NamedNodeMap || window.MozNamedAttrMap : _window$NamedNodeMap,
|
360
|
+
HTMLFormElement = window.HTMLFormElement,
|
361
|
+
DOMParser = window.DOMParser,
|
362
|
+
trustedTypes = window.trustedTypes;
|
363
|
+
var ElementPrototype = Element.prototype;
|
364
|
+
var cloneNode = lookupGetter(ElementPrototype, 'cloneNode');
|
365
|
+
var getNextSibling = lookupGetter(ElementPrototype, 'nextSibling');
|
366
|
+
var getChildNodes = lookupGetter(ElementPrototype, 'childNodes');
|
367
|
+
var getParentNode = lookupGetter(ElementPrototype, 'parentNode'); // As per issue #47, the web-components registry is inherited by a
|
368
|
+
// new document created via createHTMLDocument. As per the spec
|
369
|
+
// (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)
|
370
|
+
// a new empty registry is used when creating a template contents owner
|
371
|
+
// document, so we use that as our parent document to ensure nothing
|
372
|
+
// is inherited.
|
373
|
+
|
374
|
+
if (typeof HTMLTemplateElement === 'function') {
|
375
|
+
var template = document.createElement('template');
|
376
|
+
|
377
|
+
if (template.content && template.content.ownerDocument) {
|
378
|
+
document = template.content.ownerDocument;
|
379
|
+
}
|
380
|
+
}
|
381
|
+
|
382
|
+
var trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, originalDocument);
|
383
|
+
|
384
|
+
var emptyHTML = trustedTypesPolicy ? trustedTypesPolicy.createHTML('') : '';
|
385
|
+
var _document = document,
|
386
|
+
implementation = _document.implementation,
|
387
|
+
createNodeIterator = _document.createNodeIterator,
|
388
|
+
createDocumentFragment = _document.createDocumentFragment,
|
389
|
+
getElementsByTagName = _document.getElementsByTagName;
|
390
|
+
var importNode = originalDocument.importNode;
|
391
|
+
var documentMode = {};
|
392
|
+
|
393
|
+
try {
|
394
|
+
documentMode = clone(document).documentMode ? document.documentMode : {};
|
395
|
+
} catch (_) {}
|
396
|
+
|
397
|
+
var hooks = {};
|
398
|
+
/**
|
399
|
+
* Expose whether this browser supports running the full DOMPurify.
|
400
|
+
*/
|
401
|
+
|
402
|
+
DOMPurify.isSupported = typeof getParentNode === 'function' && implementation && typeof implementation.createHTMLDocument !== 'undefined' && documentMode !== 9;
|
403
|
+
var MUSTACHE_EXPR$1 = MUSTACHE_EXPR,
|
404
|
+
ERB_EXPR$1 = ERB_EXPR,
|
405
|
+
TMPLIT_EXPR$1 = TMPLIT_EXPR,
|
406
|
+
DATA_ATTR$1 = DATA_ATTR,
|
407
|
+
ARIA_ATTR$1 = ARIA_ATTR,
|
408
|
+
IS_SCRIPT_OR_DATA$1 = IS_SCRIPT_OR_DATA,
|
409
|
+
ATTR_WHITESPACE$1 = ATTR_WHITESPACE;
|
410
|
+
var IS_ALLOWED_URI$1 = IS_ALLOWED_URI;
|
411
|
+
/**
|
412
|
+
* We consider the elements and attributes below to be safe. Ideally
|
413
|
+
* don't add any new ones but feel free to remove unwanted ones.
|
414
|
+
*/
|
415
|
+
|
416
|
+
/* allowed element names */
|
417
|
+
|
418
|
+
var ALLOWED_TAGS = null;
|
419
|
+
var DEFAULT_ALLOWED_TAGS = addToSet({}, [].concat(_toConsumableArray(html$1), _toConsumableArray(svg$1), _toConsumableArray(svgFilters), _toConsumableArray(mathMl$1), _toConsumableArray(text)));
|
420
|
+
/* Allowed attribute names */
|
421
|
+
|
422
|
+
var ALLOWED_ATTR = null;
|
423
|
+
var DEFAULT_ALLOWED_ATTR = addToSet({}, [].concat(_toConsumableArray(html), _toConsumableArray(svg), _toConsumableArray(mathMl), _toConsumableArray(xml)));
|
424
|
+
/*
|
425
|
+
* Configure how DOMPUrify should handle custom elements and their attributes as well as customized built-in elements.
|
426
|
+
* @property {RegExp|Function|null} tagNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any custom elements)
|
427
|
+
* @property {RegExp|Function|null} attributeNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any attributes not on the allow list)
|
428
|
+
* @property {boolean} allowCustomizedBuiltInElements allow custom elements derived from built-ins if they pass CUSTOM_ELEMENT_HANDLING.tagNameCheck. Default: `false`.
|
429
|
+
*/
|
430
|
+
|
431
|
+
var CUSTOM_ELEMENT_HANDLING = Object.seal(Object.create(null, {
|
432
|
+
tagNameCheck: {
|
433
|
+
writable: true,
|
434
|
+
configurable: false,
|
435
|
+
enumerable: true,
|
436
|
+
value: null
|
437
|
+
},
|
438
|
+
attributeNameCheck: {
|
439
|
+
writable: true,
|
440
|
+
configurable: false,
|
441
|
+
enumerable: true,
|
442
|
+
value: null
|
443
|
+
},
|
444
|
+
allowCustomizedBuiltInElements: {
|
445
|
+
writable: true,
|
446
|
+
configurable: false,
|
447
|
+
enumerable: true,
|
448
|
+
value: false
|
449
|
+
}
|
450
|
+
}));
|
451
|
+
/* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */
|
452
|
+
|
453
|
+
var FORBID_TAGS = null;
|
454
|
+
/* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */
|
455
|
+
|
456
|
+
var FORBID_ATTR = null;
|
457
|
+
/* Decide if ARIA attributes are okay */
|
458
|
+
|
459
|
+
var ALLOW_ARIA_ATTR = true;
|
460
|
+
/* Decide if custom data attributes are okay */
|
461
|
+
|
462
|
+
var ALLOW_DATA_ATTR = true;
|
463
|
+
/* Decide if unknown protocols are okay */
|
464
|
+
|
465
|
+
var ALLOW_UNKNOWN_PROTOCOLS = false;
|
466
|
+
/* Output should be safe for common template engines.
|
467
|
+
* This means, DOMPurify removes data attributes, mustaches and ERB
|
468
|
+
*/
|
469
|
+
|
470
|
+
var SAFE_FOR_TEMPLATES = false;
|
471
|
+
/* Decide if document with <html>... should be returned */
|
472
|
+
|
473
|
+
var WHOLE_DOCUMENT = false;
|
474
|
+
/* Track whether config is already set on this instance of DOMPurify. */
|
475
|
+
|
476
|
+
var SET_CONFIG = false;
|
477
|
+
/* Decide if all elements (e.g. style, script) must be children of
|
478
|
+
* document.body. By default, browsers might move them to document.head */
|
479
|
+
|
480
|
+
var FORCE_BODY = false;
|
481
|
+
/* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html
|
482
|
+
* string (or a TrustedHTML object if Trusted Types are supported).
|
483
|
+
* If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead
|
484
|
+
*/
|
485
|
+
|
486
|
+
var RETURN_DOM = false;
|
487
|
+
/* Decide if a DOM `DocumentFragment` should be returned, instead of a html
|
488
|
+
* string (or a TrustedHTML object if Trusted Types are supported) */
|
489
|
+
|
490
|
+
var RETURN_DOM_FRAGMENT = false;
|
491
|
+
/* Try to return a Trusted Type object instead of a string, return a string in
|
492
|
+
* case Trusted Types are not supported */
|
493
|
+
|
494
|
+
var RETURN_TRUSTED_TYPE = false;
|
495
|
+
/* Output should be free from DOM clobbering attacks?
|
496
|
+
* This sanitizes markups named with colliding, clobberable built-in DOM APIs.
|
497
|
+
*/
|
498
|
+
|
499
|
+
var SANITIZE_DOM = true;
|
500
|
+
/* Achieve full DOM Clobbering protection by isolating the namespace of named
|
501
|
+
* properties and JS variables, mitigating attacks that abuse the HTML/DOM spec rules.
|
502
|
+
*
|
503
|
+
* HTML/DOM spec rules that enable DOM Clobbering:
|
504
|
+
* - Named Access on Window (§7.3.3)
|
505
|
+
* - DOM Tree Accessors (§3.1.5)
|
506
|
+
* - Form Element Parent-Child Relations (§4.10.3)
|
507
|
+
* - Iframe srcdoc / Nested WindowProxies (§4.8.5)
|
508
|
+
* - HTMLCollection (§4.2.10.2)
|
509
|
+
*
|
510
|
+
* Namespace isolation is implemented by prefixing `id` and `name` attributes
|
511
|
+
* with a constant string, i.e., `user-content-`
|
512
|
+
*/
|
513
|
+
|
514
|
+
var SANITIZE_NAMED_PROPS = false;
|
515
|
+
var SANITIZE_NAMED_PROPS_PREFIX = 'user-content-';
|
516
|
+
/* Keep element content when removing element? */
|
517
|
+
|
518
|
+
var KEEP_CONTENT = true;
|
519
|
+
/* If a `Node` is passed to sanitize(), then performs sanitization in-place instead
|
520
|
+
* of importing it into a new Document and returning a sanitized copy */
|
521
|
+
|
522
|
+
var IN_PLACE = false;
|
523
|
+
/* Allow usage of profiles like html, svg and mathMl */
|
524
|
+
|
525
|
+
var USE_PROFILES = {};
|
526
|
+
/* Tags to ignore content of when KEEP_CONTENT is true */
|
527
|
+
|
528
|
+
var FORBID_CONTENTS = null;
|
529
|
+
var DEFAULT_FORBID_CONTENTS = addToSet({}, ['annotation-xml', 'audio', 'colgroup', 'desc', 'foreignobject', 'head', 'iframe', 'math', 'mi', 'mn', 'mo', 'ms', 'mtext', 'noembed', 'noframes', 'noscript', 'plaintext', 'script', 'style', 'svg', 'template', 'thead', 'title', 'video', 'xmp']);
|
530
|
+
/* Tags that are safe for data: URIs */
|
531
|
+
|
532
|
+
var DATA_URI_TAGS = null;
|
533
|
+
var DEFAULT_DATA_URI_TAGS = addToSet({}, ['audio', 'video', 'img', 'source', 'image', 'track']);
|
534
|
+
/* Attributes safe for values like "javascript:" */
|
535
|
+
|
536
|
+
var URI_SAFE_ATTRIBUTES = null;
|
537
|
+
var DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, ['alt', 'class', 'for', 'id', 'label', 'name', 'pattern', 'placeholder', 'role', 'summary', 'title', 'value', 'style', 'xmlns']);
|
538
|
+
var MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';
|
539
|
+
var SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
|
540
|
+
var HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';
|
541
|
+
/* Document namespace */
|
542
|
+
|
543
|
+
var NAMESPACE = HTML_NAMESPACE;
|
544
|
+
var IS_EMPTY_INPUT = false;
|
545
|
+
/* Allowed XHTML+XML namespaces */
|
546
|
+
|
547
|
+
var ALLOWED_NAMESPACES = null;
|
548
|
+
var DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [MATHML_NAMESPACE, SVG_NAMESPACE, HTML_NAMESPACE], stringToString);
|
549
|
+
/* Parsing of strict XHTML documents */
|
550
|
+
|
551
|
+
var PARSER_MEDIA_TYPE;
|
552
|
+
var SUPPORTED_PARSER_MEDIA_TYPES = ['application/xhtml+xml', 'text/html'];
|
553
|
+
var DEFAULT_PARSER_MEDIA_TYPE = 'text/html';
|
554
|
+
var transformCaseFunc;
|
555
|
+
/* Keep a reference to config to pass to hooks */
|
556
|
+
|
557
|
+
var CONFIG = null;
|
558
|
+
/* Ideally, do not touch anything below this line */
|
559
|
+
|
560
|
+
/* ______________________________________________ */
|
561
|
+
|
562
|
+
var formElement = document.createElement('form');
|
563
|
+
|
564
|
+
var isRegexOrFunction = function isRegexOrFunction(testValue) {
|
565
|
+
return testValue instanceof RegExp || testValue instanceof Function;
|
566
|
+
};
|
567
|
+
/**
|
568
|
+
* _parseConfig
|
569
|
+
*
|
570
|
+
* @param {Object} cfg optional config literal
|
571
|
+
*/
|
572
|
+
// eslint-disable-next-line complexity
|
573
|
+
|
574
|
+
|
575
|
+
var _parseConfig = function _parseConfig(cfg) {
|
576
|
+
if (CONFIG && CONFIG === cfg) {
|
577
|
+
return;
|
578
|
+
}
|
579
|
+
/* Shield configuration object from tampering */
|
580
|
+
|
581
|
+
|
582
|
+
if (!cfg || _typeof(cfg) !== 'object') {
|
583
|
+
cfg = {};
|
584
|
+
}
|
585
|
+
/* Shield configuration object from prototype pollution */
|
586
|
+
|
587
|
+
|
588
|
+
cfg = clone(cfg);
|
589
|
+
PARSER_MEDIA_TYPE = // eslint-disable-next-line unicorn/prefer-includes
|
590
|
+
SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? PARSER_MEDIA_TYPE = DEFAULT_PARSER_MEDIA_TYPE : PARSER_MEDIA_TYPE = cfg.PARSER_MEDIA_TYPE; // HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.
|
591
|
+
|
592
|
+
transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? stringToString : stringToLowerCase;
|
593
|
+
/* Set configuration parameters */
|
594
|
+
|
595
|
+
ALLOWED_TAGS = 'ALLOWED_TAGS' in cfg ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;
|
596
|
+
ALLOWED_ATTR = 'ALLOWED_ATTR' in cfg ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;
|
597
|
+
ALLOWED_NAMESPACES = 'ALLOWED_NAMESPACES' in cfg ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;
|
598
|
+
URI_SAFE_ATTRIBUTES = 'ADD_URI_SAFE_ATTR' in cfg ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES), // eslint-disable-line indent
|
599
|
+
cfg.ADD_URI_SAFE_ATTR, // eslint-disable-line indent
|
600
|
+
transformCaseFunc // eslint-disable-line indent
|
601
|
+
) // eslint-disable-line indent
|
602
|
+
: DEFAULT_URI_SAFE_ATTRIBUTES;
|
603
|
+
DATA_URI_TAGS = 'ADD_DATA_URI_TAGS' in cfg ? addToSet(clone(DEFAULT_DATA_URI_TAGS), // eslint-disable-line indent
|
604
|
+
cfg.ADD_DATA_URI_TAGS, // eslint-disable-line indent
|
605
|
+
transformCaseFunc // eslint-disable-line indent
|
606
|
+
) // eslint-disable-line indent
|
607
|
+
: DEFAULT_DATA_URI_TAGS;
|
608
|
+
FORBID_CONTENTS = 'FORBID_CONTENTS' in cfg ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;
|
609
|
+
FORBID_TAGS = 'FORBID_TAGS' in cfg ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : {};
|
610
|
+
FORBID_ATTR = 'FORBID_ATTR' in cfg ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : {};
|
611
|
+
USE_PROFILES = 'USE_PROFILES' in cfg ? cfg.USE_PROFILES : false;
|
612
|
+
ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true
|
613
|
+
|
614
|
+
ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true
|
615
|
+
|
616
|
+
ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false
|
617
|
+
|
618
|
+
SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false; // Default false
|
619
|
+
|
620
|
+
WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false; // Default false
|
621
|
+
|
622
|
+
RETURN_DOM = cfg.RETURN_DOM || false; // Default false
|
623
|
+
|
624
|
+
RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false; // Default false
|
625
|
+
|
626
|
+
RETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false; // Default false
|
627
|
+
|
628
|
+
FORCE_BODY = cfg.FORCE_BODY || false; // Default false
|
629
|
+
|
630
|
+
SANITIZE_DOM = cfg.SANITIZE_DOM !== false; // Default true
|
631
|
+
|
632
|
+
SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false; // Default false
|
633
|
+
|
634
|
+
KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true
|
635
|
+
|
636
|
+
IN_PLACE = cfg.IN_PLACE || false; // Default false
|
637
|
+
|
638
|
+
IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI$1;
|
639
|
+
NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;
|
640
|
+
|
641
|
+
if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {
|
642
|
+
CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;
|
643
|
+
}
|
644
|
+
|
645
|
+
if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)) {
|
646
|
+
CUSTOM_ELEMENT_HANDLING.attributeNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck;
|
647
|
+
}
|
648
|
+
|
649
|
+
if (cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements === 'boolean') {
|
650
|
+
CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements;
|
651
|
+
}
|
652
|
+
|
653
|
+
if (SAFE_FOR_TEMPLATES) {
|
654
|
+
ALLOW_DATA_ATTR = false;
|
655
|
+
}
|
656
|
+
|
657
|
+
if (RETURN_DOM_FRAGMENT) {
|
658
|
+
RETURN_DOM = true;
|
659
|
+
}
|
660
|
+
/* Parse profile info */
|
661
|
+
|
662
|
+
|
663
|
+
if (USE_PROFILES) {
|
664
|
+
ALLOWED_TAGS = addToSet({}, _toConsumableArray(text));
|
665
|
+
ALLOWED_ATTR = [];
|
666
|
+
|
667
|
+
if (USE_PROFILES.html === true) {
|
668
|
+
addToSet(ALLOWED_TAGS, html$1);
|
669
|
+
addToSet(ALLOWED_ATTR, html);
|
670
|
+
}
|
671
|
+
|
672
|
+
if (USE_PROFILES.svg === true) {
|
673
|
+
addToSet(ALLOWED_TAGS, svg$1);
|
674
|
+
addToSet(ALLOWED_ATTR, svg);
|
675
|
+
addToSet(ALLOWED_ATTR, xml);
|
676
|
+
}
|
677
|
+
|
678
|
+
if (USE_PROFILES.svgFilters === true) {
|
679
|
+
addToSet(ALLOWED_TAGS, svgFilters);
|
680
|
+
addToSet(ALLOWED_ATTR, svg);
|
681
|
+
addToSet(ALLOWED_ATTR, xml);
|
682
|
+
}
|
683
|
+
|
684
|
+
if (USE_PROFILES.mathMl === true) {
|
685
|
+
addToSet(ALLOWED_TAGS, mathMl$1);
|
686
|
+
addToSet(ALLOWED_ATTR, mathMl);
|
687
|
+
addToSet(ALLOWED_ATTR, xml);
|
688
|
+
}
|
689
|
+
}
|
690
|
+
/* Merge configuration parameters */
|
691
|
+
|
692
|
+
|
693
|
+
if (cfg.ADD_TAGS) {
|
694
|
+
if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
|
695
|
+
ALLOWED_TAGS = clone(ALLOWED_TAGS);
|
696
|
+
}
|
697
|
+
|
698
|
+
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
|
699
|
+
}
|
700
|
+
|
701
|
+
if (cfg.ADD_ATTR) {
|
702
|
+
if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
|
703
|
+
ALLOWED_ATTR = clone(ALLOWED_ATTR);
|
704
|
+
}
|
705
|
+
|
706
|
+
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
|
707
|
+
}
|
708
|
+
|
709
|
+
if (cfg.ADD_URI_SAFE_ATTR) {
|
710
|
+
addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);
|
711
|
+
}
|
712
|
+
|
713
|
+
if (cfg.FORBID_CONTENTS) {
|
714
|
+
if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {
|
715
|
+
FORBID_CONTENTS = clone(FORBID_CONTENTS);
|
716
|
+
}
|
717
|
+
|
718
|
+
addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);
|
719
|
+
}
|
720
|
+
/* Add #text in case KEEP_CONTENT is set to true */
|
721
|
+
|
722
|
+
|
723
|
+
if (KEEP_CONTENT) {
|
724
|
+
ALLOWED_TAGS['#text'] = true;
|
725
|
+
}
|
726
|
+
/* Add html, head and body to ALLOWED_TAGS in case WHOLE_DOCUMENT is true */
|
727
|
+
|
728
|
+
|
729
|
+
if (WHOLE_DOCUMENT) {
|
730
|
+
addToSet(ALLOWED_TAGS, ['html', 'head', 'body']);
|
731
|
+
}
|
732
|
+
/* Add tbody to ALLOWED_TAGS in case tables are permitted, see #286, #365 */
|
733
|
+
|
734
|
+
|
735
|
+
if (ALLOWED_TAGS.table) {
|
736
|
+
addToSet(ALLOWED_TAGS, ['tbody']);
|
737
|
+
delete FORBID_TAGS.tbody;
|
738
|
+
} // Prevent further manipulation of configuration.
|
739
|
+
// Not available in IE8, Safari 5, etc.
|
740
|
+
|
741
|
+
|
742
|
+
if (freeze) {
|
743
|
+
freeze(cfg);
|
744
|
+
}
|
745
|
+
|
746
|
+
CONFIG = cfg;
|
747
|
+
};
|
748
|
+
|
749
|
+
var MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']);
|
750
|
+
var HTML_INTEGRATION_POINTS = addToSet({}, ['foreignobject', 'desc', 'title', 'annotation-xml']); // Certain elements are allowed in both SVG and HTML
|
751
|
+
// namespace. We need to specify them explicitly
|
752
|
+
// so that they don't get erroneously deleted from
|
753
|
+
// HTML namespace.
|
754
|
+
|
755
|
+
var COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, ['title', 'style', 'font', 'a', 'script']);
|
756
|
+
/* Keep track of all possible SVG and MathML tags
|
757
|
+
* so that we can perform the namespace checks
|
758
|
+
* correctly. */
|
759
|
+
|
760
|
+
var ALL_SVG_TAGS = addToSet({}, svg$1);
|
761
|
+
addToSet(ALL_SVG_TAGS, svgFilters);
|
762
|
+
addToSet(ALL_SVG_TAGS, svgDisallowed);
|
763
|
+
var ALL_MATHML_TAGS = addToSet({}, mathMl$1);
|
764
|
+
addToSet(ALL_MATHML_TAGS, mathMlDisallowed);
|
765
|
+
/**
|
766
|
+
*
|
767
|
+
*
|
768
|
+
* @param {Element} element a DOM element whose namespace is being checked
|
769
|
+
* @returns {boolean} Return false if the element has a
|
770
|
+
* namespace that a spec-compliant parser would never
|
771
|
+
* return. Return true otherwise.
|
772
|
+
*/
|
773
|
+
|
774
|
+
var _checkValidNamespace = function _checkValidNamespace(element) {
|
775
|
+
var parent = getParentNode(element); // In JSDOM, if we're inside shadow DOM, then parentNode
|
776
|
+
// can be null. We just simulate parent in this case.
|
777
|
+
|
778
|
+
if (!parent || !parent.tagName) {
|
779
|
+
parent = {
|
780
|
+
namespaceURI: NAMESPACE,
|
781
|
+
tagName: 'template'
|
782
|
+
};
|
783
|
+
}
|
784
|
+
|
785
|
+
var tagName = stringToLowerCase(element.tagName);
|
786
|
+
var parentTagName = stringToLowerCase(parent.tagName);
|
787
|
+
|
788
|
+
if (!ALLOWED_NAMESPACES[element.namespaceURI]) {
|
789
|
+
return false;
|
790
|
+
}
|
791
|
+
|
792
|
+
if (element.namespaceURI === SVG_NAMESPACE) {
|
793
|
+
// The only way to switch from HTML namespace to SVG
|
794
|
+
// is via <svg>. If it happens via any other tag, then
|
795
|
+
// it should be killed.
|
796
|
+
if (parent.namespaceURI === HTML_NAMESPACE) {
|
797
|
+
return tagName === 'svg';
|
798
|
+
} // The only way to switch from MathML to SVG is via`
|
799
|
+
// svg if parent is either <annotation-xml> or MathML
|
800
|
+
// text integration points.
|
801
|
+
|
802
|
+
|
803
|
+
if (parent.namespaceURI === MATHML_NAMESPACE) {
|
804
|
+
return tagName === 'svg' && (parentTagName === 'annotation-xml' || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);
|
805
|
+
} // We only allow elements that are defined in SVG
|
806
|
+
// spec. All others are disallowed in SVG namespace.
|
807
|
+
|
808
|
+
|
809
|
+
return Boolean(ALL_SVG_TAGS[tagName]);
|
810
|
+
}
|
811
|
+
|
812
|
+
if (element.namespaceURI === MATHML_NAMESPACE) {
|
813
|
+
// The only way to switch from HTML namespace to MathML
|
814
|
+
// is via <math>. If it happens via any other tag, then
|
815
|
+
// it should be killed.
|
816
|
+
if (parent.namespaceURI === HTML_NAMESPACE) {
|
817
|
+
return tagName === 'math';
|
818
|
+
} // The only way to switch from SVG to MathML is via
|
819
|
+
// <math> and HTML integration points
|
820
|
+
|
821
|
+
|
822
|
+
if (parent.namespaceURI === SVG_NAMESPACE) {
|
823
|
+
return tagName === 'math' && HTML_INTEGRATION_POINTS[parentTagName];
|
824
|
+
} // We only allow elements that are defined in MathML
|
825
|
+
// spec. All others are disallowed in MathML namespace.
|
826
|
+
|
827
|
+
|
828
|
+
return Boolean(ALL_MATHML_TAGS[tagName]);
|
829
|
+
}
|
830
|
+
|
831
|
+
if (element.namespaceURI === HTML_NAMESPACE) {
|
832
|
+
// The only way to switch from SVG to HTML is via
|
833
|
+
// HTML integration points, and from MathML to HTML
|
834
|
+
// is via MathML text integration points
|
835
|
+
if (parent.namespaceURI === SVG_NAMESPACE && !HTML_INTEGRATION_POINTS[parentTagName]) {
|
836
|
+
return false;
|
837
|
+
}
|
838
|
+
|
839
|
+
if (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) {
|
840
|
+
return false;
|
841
|
+
} // We disallow tags that are specific for MathML
|
842
|
+
// or SVG and should never appear in HTML namespace
|
843
|
+
|
844
|
+
|
845
|
+
return !ALL_MATHML_TAGS[tagName] && (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName]);
|
846
|
+
} // For XHTML and XML documents that support custom namespaces
|
847
|
+
|
848
|
+
|
849
|
+
if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && ALLOWED_NAMESPACES[element.namespaceURI]) {
|
850
|
+
return true;
|
851
|
+
} // The code should never reach this place (this means
|
852
|
+
// that the element somehow got namespace that is not
|
853
|
+
// HTML, SVG, MathML or allowed via ALLOWED_NAMESPACES).
|
854
|
+
// Return false just in case.
|
855
|
+
|
856
|
+
|
857
|
+
return false;
|
858
|
+
};
|
859
|
+
/**
|
860
|
+
* _forceRemove
|
861
|
+
*
|
862
|
+
* @param {Node} node a DOM node
|
863
|
+
*/
|
864
|
+
|
865
|
+
|
866
|
+
var _forceRemove = function _forceRemove(node) {
|
867
|
+
arrayPush(DOMPurify.removed, {
|
868
|
+
element: node
|
869
|
+
});
|
870
|
+
|
871
|
+
try {
|
872
|
+
// eslint-disable-next-line unicorn/prefer-dom-node-remove
|
873
|
+
node.parentNode.removeChild(node);
|
874
|
+
} catch (_) {
|
875
|
+
try {
|
876
|
+
node.outerHTML = emptyHTML;
|
877
|
+
} catch (_) {
|
878
|
+
node.remove();
|
879
|
+
}
|
880
|
+
}
|
881
|
+
};
|
882
|
+
/**
|
883
|
+
* _removeAttribute
|
884
|
+
*
|
885
|
+
* @param {String} name an Attribute name
|
886
|
+
* @param {Node} node a DOM node
|
887
|
+
*/
|
888
|
+
|
889
|
+
|
890
|
+
var _removeAttribute = function _removeAttribute(name, node) {
|
891
|
+
try {
|
892
|
+
arrayPush(DOMPurify.removed, {
|
893
|
+
attribute: node.getAttributeNode(name),
|
894
|
+
from: node
|
895
|
+
});
|
896
|
+
} catch (_) {
|
897
|
+
arrayPush(DOMPurify.removed, {
|
898
|
+
attribute: null,
|
899
|
+
from: node
|
900
|
+
});
|
901
|
+
}
|
902
|
+
|
903
|
+
node.removeAttribute(name); // We void attribute values for unremovable "is"" attributes
|
904
|
+
|
905
|
+
if (name === 'is' && !ALLOWED_ATTR[name]) {
|
906
|
+
if (RETURN_DOM || RETURN_DOM_FRAGMENT) {
|
907
|
+
try {
|
908
|
+
_forceRemove(node);
|
909
|
+
} catch (_) {}
|
910
|
+
} else {
|
911
|
+
try {
|
912
|
+
node.setAttribute(name, '');
|
913
|
+
} catch (_) {}
|
914
|
+
}
|
915
|
+
}
|
916
|
+
};
|
917
|
+
/**
|
918
|
+
* _initDocument
|
919
|
+
*
|
920
|
+
* @param {String} dirty a string of dirty markup
|
921
|
+
* @return {Document} a DOM, filled with the dirty markup
|
922
|
+
*/
|
923
|
+
|
924
|
+
|
925
|
+
var _initDocument = function _initDocument(dirty) {
|
926
|
+
/* Create a HTML document */
|
927
|
+
var doc;
|
928
|
+
var leadingWhitespace;
|
929
|
+
|
930
|
+
if (FORCE_BODY) {
|
931
|
+
dirty = '<remove></remove>' + dirty;
|
932
|
+
} else {
|
933
|
+
/* If FORCE_BODY isn't used, leading whitespace needs to be preserved manually */
|
934
|
+
var matches = stringMatch(dirty, /^[\r\n\t ]+/);
|
935
|
+
leadingWhitespace = matches && matches[0];
|
936
|
+
}
|
937
|
+
|
938
|
+
if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && NAMESPACE === HTML_NAMESPACE) {
|
939
|
+
// Root of XHTML doc must contain xmlns declaration (see https://www.w3.org/TR/xhtml1/normative.html#strict)
|
940
|
+
dirty = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + dirty + '</body></html>';
|
941
|
+
}
|
942
|
+
|
943
|
+
var dirtyPayload = trustedTypesPolicy ? trustedTypesPolicy.createHTML(dirty) : dirty;
|
944
|
+
/*
|
945
|
+
* Use the DOMParser API by default, fallback later if needs be
|
946
|
+
* DOMParser not work for svg when has multiple root element.
|
947
|
+
*/
|
948
|
+
|
949
|
+
if (NAMESPACE === HTML_NAMESPACE) {
|
950
|
+
try {
|
951
|
+
doc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);
|
952
|
+
} catch (_) {}
|
953
|
+
}
|
954
|
+
/* Use createHTMLDocument in case DOMParser is not available */
|
955
|
+
|
956
|
+
|
957
|
+
if (!doc || !doc.documentElement) {
|
958
|
+
doc = implementation.createDocument(NAMESPACE, 'template', null);
|
959
|
+
|
960
|
+
try {
|
961
|
+
doc.documentElement.innerHTML = IS_EMPTY_INPUT ? emptyHTML : dirtyPayload;
|
962
|
+
} catch (_) {// Syntax error if dirtyPayload is invalid xml
|
963
|
+
}
|
964
|
+
}
|
965
|
+
|
966
|
+
var body = doc.body || doc.documentElement;
|
967
|
+
|
968
|
+
if (dirty && leadingWhitespace) {
|
969
|
+
body.insertBefore(document.createTextNode(leadingWhitespace), body.childNodes[0] || null);
|
970
|
+
}
|
971
|
+
/* Work on whole document or just its body */
|
972
|
+
|
973
|
+
|
974
|
+
if (NAMESPACE === HTML_NAMESPACE) {
|
975
|
+
return getElementsByTagName.call(doc, WHOLE_DOCUMENT ? 'html' : 'body')[0];
|
976
|
+
}
|
977
|
+
|
978
|
+
return WHOLE_DOCUMENT ? doc.documentElement : body;
|
979
|
+
};
|
980
|
+
/**
|
981
|
+
* _createIterator
|
982
|
+
*
|
983
|
+
* @param {Document} root document/fragment to create iterator for
|
984
|
+
* @return {Iterator} iterator instance
|
985
|
+
*/
|
986
|
+
|
987
|
+
|
988
|
+
var _createIterator = function _createIterator(root) {
|
989
|
+
return createNodeIterator.call(root.ownerDocument || root, root, // eslint-disable-next-line no-bitwise
|
990
|
+
NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT, null, false);
|
991
|
+
};
|
992
|
+
/**
|
993
|
+
* _isClobbered
|
994
|
+
*
|
995
|
+
* @param {Node} elm element to check for clobbering attacks
|
996
|
+
* @return {Boolean} true if clobbered, false if safe
|
997
|
+
*/
|
998
|
+
|
999
|
+
|
1000
|
+
var _isClobbered = function _isClobbered(elm) {
|
1001
|
+
return elm instanceof HTMLFormElement && (typeof elm.nodeName !== 'string' || typeof elm.textContent !== 'string' || typeof elm.removeChild !== 'function' || !(elm.attributes instanceof NamedNodeMap) || typeof elm.removeAttribute !== 'function' || typeof elm.setAttribute !== 'function' || typeof elm.namespaceURI !== 'string' || typeof elm.insertBefore !== 'function' || typeof elm.hasChildNodes !== 'function');
|
1002
|
+
};
|
1003
|
+
/**
|
1004
|
+
* _isNode
|
1005
|
+
*
|
1006
|
+
* @param {Node} obj object to check whether it's a DOM node
|
1007
|
+
* @return {Boolean} true is object is a DOM node
|
1008
|
+
*/
|
1009
|
+
|
1010
|
+
|
1011
|
+
var _isNode = function _isNode(object) {
|
1012
|
+
return _typeof(Node) === 'object' ? object instanceof Node : object && _typeof(object) === 'object' && typeof object.nodeType === 'number' && typeof object.nodeName === 'string';
|
1013
|
+
};
|
1014
|
+
/**
|
1015
|
+
* _executeHook
|
1016
|
+
* Execute user configurable hooks
|
1017
|
+
*
|
1018
|
+
* @param {String} entryPoint Name of the hook's entry point
|
1019
|
+
* @param {Node} currentNode node to work on with the hook
|
1020
|
+
* @param {Object} data additional hook parameters
|
1021
|
+
*/
|
1022
|
+
|
1023
|
+
|
1024
|
+
var _executeHook = function _executeHook(entryPoint, currentNode, data) {
|
1025
|
+
if (!hooks[entryPoint]) {
|
1026
|
+
return;
|
1027
|
+
}
|
1028
|
+
|
1029
|
+
arrayForEach(hooks[entryPoint], function (hook) {
|
1030
|
+
hook.call(DOMPurify, currentNode, data, CONFIG);
|
1031
|
+
});
|
1032
|
+
};
|
1033
|
+
/**
|
1034
|
+
* _sanitizeElements
|
1035
|
+
*
|
1036
|
+
* @protect nodeName
|
1037
|
+
* @protect textContent
|
1038
|
+
* @protect removeChild
|
1039
|
+
*
|
1040
|
+
* @param {Node} currentNode to check for permission to exist
|
1041
|
+
* @return {Boolean} true if node was killed, false if left alive
|
1042
|
+
*/
|
1043
|
+
|
1044
|
+
|
1045
|
+
var _sanitizeElements = function _sanitizeElements(currentNode) {
|
1046
|
+
var content;
|
1047
|
+
/* Execute a hook if present */
|
1048
|
+
|
1049
|
+
_executeHook('beforeSanitizeElements', currentNode, null);
|
1050
|
+
/* Check if element is clobbered or can clobber */
|
1051
|
+
|
1052
|
+
|
1053
|
+
if (_isClobbered(currentNode)) {
|
1054
|
+
_forceRemove(currentNode);
|
1055
|
+
|
1056
|
+
return true;
|
1057
|
+
}
|
1058
|
+
/* Check if tagname contains Unicode */
|
1059
|
+
|
1060
|
+
|
1061
|
+
if (regExpTest(/[\u0080-\uFFFF]/, currentNode.nodeName)) {
|
1062
|
+
_forceRemove(currentNode);
|
1063
|
+
|
1064
|
+
return true;
|
1065
|
+
}
|
1066
|
+
/* Now let's check the element's type and name */
|
1067
|
+
|
1068
|
+
|
1069
|
+
var tagName = transformCaseFunc(currentNode.nodeName);
|
1070
|
+
/* Execute a hook if present */
|
1071
|
+
|
1072
|
+
_executeHook('uponSanitizeElement', currentNode, {
|
1073
|
+
tagName: tagName,
|
1074
|
+
allowedTags: ALLOWED_TAGS
|
1075
|
+
});
|
1076
|
+
/* Detect mXSS attempts abusing namespace confusion */
|
1077
|
+
|
1078
|
+
|
1079
|
+
if (currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && (!_isNode(currentNode.content) || !_isNode(currentNode.content.firstElementChild)) && regExpTest(/<[/\w]/g, currentNode.innerHTML) && regExpTest(/<[/\w]/g, currentNode.textContent)) {
|
1080
|
+
_forceRemove(currentNode);
|
1081
|
+
|
1082
|
+
return true;
|
1083
|
+
}
|
1084
|
+
/* Mitigate a problem with templates inside select */
|
1085
|
+
|
1086
|
+
|
1087
|
+
if (tagName === 'select' && regExpTest(/<template/i, currentNode.innerHTML)) {
|
1088
|
+
_forceRemove(currentNode);
|
1089
|
+
|
1090
|
+
return true;
|
1091
|
+
}
|
1092
|
+
/* Remove element if anything forbids its presence */
|
1093
|
+
|
1094
|
+
|
1095
|
+
if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
|
1096
|
+
/* Check if we have a custom element to handle */
|
1097
|
+
if (!FORBID_TAGS[tagName] && _basicCustomElementTest(tagName)) {
|
1098
|
+
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) return false;
|
1099
|
+
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(tagName)) return false;
|
1100
|
+
}
|
1101
|
+
/* Keep content except for bad-listed elements */
|
1102
|
+
|
1103
|
+
|
1104
|
+
if (KEEP_CONTENT && !FORBID_CONTENTS[tagName]) {
|
1105
|
+
var parentNode = getParentNode(currentNode) || currentNode.parentNode;
|
1106
|
+
var childNodes = getChildNodes(currentNode) || currentNode.childNodes;
|
1107
|
+
|
1108
|
+
if (childNodes && parentNode) {
|
1109
|
+
var childCount = childNodes.length;
|
1110
|
+
|
1111
|
+
for (var i = childCount - 1; i >= 0; --i) {
|
1112
|
+
parentNode.insertBefore(cloneNode(childNodes[i], true), getNextSibling(currentNode));
|
1113
|
+
}
|
1114
|
+
}
|
1115
|
+
}
|
1116
|
+
|
1117
|
+
_forceRemove(currentNode);
|
1118
|
+
|
1119
|
+
return true;
|
1120
|
+
}
|
1121
|
+
/* Check whether element has a valid namespace */
|
1122
|
+
|
1123
|
+
|
1124
|
+
if (currentNode instanceof Element && !_checkValidNamespace(currentNode)) {
|
1125
|
+
_forceRemove(currentNode);
|
1126
|
+
|
1127
|
+
return true;
|
1128
|
+
}
|
1129
|
+
|
1130
|
+
if ((tagName === 'noscript' || tagName === 'noembed') && regExpTest(/<\/no(script|embed)/i, currentNode.innerHTML)) {
|
1131
|
+
_forceRemove(currentNode);
|
1132
|
+
|
1133
|
+
return true;
|
1134
|
+
}
|
1135
|
+
/* Sanitize element content to be template-safe */
|
1136
|
+
|
1137
|
+
|
1138
|
+
if (SAFE_FOR_TEMPLATES && currentNode.nodeType === 3) {
|
1139
|
+
/* Get the element's text content */
|
1140
|
+
content = currentNode.textContent;
|
1141
|
+
content = stringReplace(content, MUSTACHE_EXPR$1, ' ');
|
1142
|
+
content = stringReplace(content, ERB_EXPR$1, ' ');
|
1143
|
+
content = stringReplace(content, TMPLIT_EXPR$1, ' ');
|
1144
|
+
|
1145
|
+
if (currentNode.textContent !== content) {
|
1146
|
+
arrayPush(DOMPurify.removed, {
|
1147
|
+
element: currentNode.cloneNode()
|
1148
|
+
});
|
1149
|
+
currentNode.textContent = content;
|
1150
|
+
}
|
1151
|
+
}
|
1152
|
+
/* Execute a hook if present */
|
1153
|
+
|
1154
|
+
|
1155
|
+
_executeHook('afterSanitizeElements', currentNode, null);
|
1156
|
+
|
1157
|
+
return false;
|
1158
|
+
};
|
1159
|
+
/**
|
1160
|
+
* _isValidAttribute
|
1161
|
+
*
|
1162
|
+
* @param {string} lcTag Lowercase tag name of containing element.
|
1163
|
+
* @param {string} lcName Lowercase attribute name.
|
1164
|
+
* @param {string} value Attribute value.
|
1165
|
+
* @return {Boolean} Returns true if `value` is valid, otherwise false.
|
1166
|
+
*/
|
1167
|
+
// eslint-disable-next-line complexity
|
1168
|
+
|
1169
|
+
|
1170
|
+
var _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {
|
1171
|
+
/* Make sure attribute cannot clobber */
|
1172
|
+
if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {
|
1173
|
+
return false;
|
1174
|
+
}
|
1175
|
+
/* Allow valid data-* attributes: At least one character after "-"
|
1176
|
+
(https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)
|
1177
|
+
XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)
|
1178
|
+
We don't need to check the value; it's always URI safe. */
|
1179
|
+
|
1180
|
+
|
1181
|
+
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR$1, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR$1, lcName)) ; else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
|
1182
|
+
if ( // First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
1183
|
+
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
1184
|
+
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
1185
|
+
_basicCustomElementTest(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
1186
|
+
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
1187
|
+
lcName === 'is' && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))) ; else {
|
1188
|
+
return false;
|
1189
|
+
}
|
1190
|
+
/* Check value is safe. First, is attr inert? If so, is safe */
|
1191
|
+
|
1192
|
+
} else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE$1, ''))) ; else if ((lcName === 'src' || lcName === 'xlink:href' || lcName === 'href') && lcTag !== 'script' && stringIndexOf(value, 'data:') === 0 && DATA_URI_TAGS[lcTag]) ; else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA$1, stringReplace(value, ATTR_WHITESPACE$1, ''))) ; else if (!value) ; else {
|
1193
|
+
return false;
|
1194
|
+
}
|
1195
|
+
|
1196
|
+
return true;
|
1197
|
+
};
|
1198
|
+
/**
|
1199
|
+
* _basicCustomElementCheck
|
1200
|
+
* checks if at least one dash is included in tagName, and it's not the first char
|
1201
|
+
* for more sophisticated checking see https://github.com/sindresorhus/validate-element-name
|
1202
|
+
* @param {string} tagName name of the tag of the node to sanitize
|
1203
|
+
*/
|
1204
|
+
|
1205
|
+
|
1206
|
+
var _basicCustomElementTest = function _basicCustomElementTest(tagName) {
|
1207
|
+
return tagName.indexOf('-') > 0;
|
1208
|
+
};
|
1209
|
+
/**
|
1210
|
+
* _sanitizeAttributes
|
1211
|
+
*
|
1212
|
+
* @protect attributes
|
1213
|
+
* @protect nodeName
|
1214
|
+
* @protect removeAttribute
|
1215
|
+
* @protect setAttribute
|
1216
|
+
*
|
1217
|
+
* @param {Node} currentNode to sanitize
|
1218
|
+
*/
|
1219
|
+
|
1220
|
+
|
1221
|
+
var _sanitizeAttributes = function _sanitizeAttributes(currentNode) {
|
1222
|
+
var attr;
|
1223
|
+
var value;
|
1224
|
+
var lcName;
|
1225
|
+
var l;
|
1226
|
+
/* Execute a hook if present */
|
1227
|
+
|
1228
|
+
_executeHook('beforeSanitizeAttributes', currentNode, null);
|
1229
|
+
|
1230
|
+
var attributes = currentNode.attributes;
|
1231
|
+
/* Check if we have attributes; if not we might have a text node */
|
1232
|
+
|
1233
|
+
if (!attributes) {
|
1234
|
+
return;
|
1235
|
+
}
|
1236
|
+
|
1237
|
+
var hookEvent = {
|
1238
|
+
attrName: '',
|
1239
|
+
attrValue: '',
|
1240
|
+
keepAttr: true,
|
1241
|
+
allowedAttributes: ALLOWED_ATTR
|
1242
|
+
};
|
1243
|
+
l = attributes.length;
|
1244
|
+
/* Go backwards over all attributes; safely remove bad ones */
|
1245
|
+
|
1246
|
+
while (l--) {
|
1247
|
+
attr = attributes[l];
|
1248
|
+
var _attr = attr,
|
1249
|
+
name = _attr.name,
|
1250
|
+
namespaceURI = _attr.namespaceURI;
|
1251
|
+
value = name === 'value' ? attr.value : stringTrim(attr.value);
|
1252
|
+
lcName = transformCaseFunc(name);
|
1253
|
+
/* Execute a hook if present */
|
1254
|
+
|
1255
|
+
hookEvent.attrName = lcName;
|
1256
|
+
hookEvent.attrValue = value;
|
1257
|
+
hookEvent.keepAttr = true;
|
1258
|
+
hookEvent.forceKeepAttr = undefined; // Allows developers to see this is a property they can set
|
1259
|
+
|
1260
|
+
_executeHook('uponSanitizeAttribute', currentNode, hookEvent);
|
1261
|
+
|
1262
|
+
value = hookEvent.attrValue;
|
1263
|
+
/* Did the hooks approve of the attribute? */
|
1264
|
+
|
1265
|
+
if (hookEvent.forceKeepAttr) {
|
1266
|
+
continue;
|
1267
|
+
}
|
1268
|
+
/* Remove attribute */
|
1269
|
+
|
1270
|
+
|
1271
|
+
_removeAttribute(name, currentNode);
|
1272
|
+
/* Did the hooks approve of the attribute? */
|
1273
|
+
|
1274
|
+
|
1275
|
+
if (!hookEvent.keepAttr) {
|
1276
|
+
continue;
|
1277
|
+
}
|
1278
|
+
/* Work around a security issue in jQuery 3.0 */
|
1279
|
+
|
1280
|
+
|
1281
|
+
if (regExpTest(/\/>/i, value)) {
|
1282
|
+
_removeAttribute(name, currentNode);
|
1283
|
+
|
1284
|
+
continue;
|
1285
|
+
}
|
1286
|
+
/* Sanitize attribute content to be template-safe */
|
1287
|
+
|
1288
|
+
|
1289
|
+
if (SAFE_FOR_TEMPLATES) {
|
1290
|
+
value = stringReplace(value, MUSTACHE_EXPR$1, ' ');
|
1291
|
+
value = stringReplace(value, ERB_EXPR$1, ' ');
|
1292
|
+
value = stringReplace(value, TMPLIT_EXPR$1, ' ');
|
1293
|
+
}
|
1294
|
+
/* Is `value` valid for this attribute? */
|
1295
|
+
|
1296
|
+
|
1297
|
+
var lcTag = transformCaseFunc(currentNode.nodeName);
|
1298
|
+
|
1299
|
+
if (!_isValidAttribute(lcTag, lcName, value)) {
|
1300
|
+
continue;
|
1301
|
+
}
|
1302
|
+
/* Full DOM Clobbering protection via namespace isolation,
|
1303
|
+
* Prefix id and name attributes with `user-content-`
|
1304
|
+
*/
|
1305
|
+
|
1306
|
+
|
1307
|
+
if (SANITIZE_NAMED_PROPS && (lcName === 'id' || lcName === 'name')) {
|
1308
|
+
// Remove the attribute with this value
|
1309
|
+
_removeAttribute(name, currentNode); // Prefix the value and later re-create the attribute with the sanitized value
|
1310
|
+
|
1311
|
+
|
1312
|
+
value = SANITIZE_NAMED_PROPS_PREFIX + value;
|
1313
|
+
}
|
1314
|
+
/* Handle attributes that require Trusted Types */
|
1315
|
+
|
1316
|
+
|
1317
|
+
if (trustedTypesPolicy && _typeof(trustedTypes) === 'object' && typeof trustedTypes.getAttributeType === 'function') {
|
1318
|
+
if (namespaceURI) ; else {
|
1319
|
+
switch (trustedTypes.getAttributeType(lcTag, lcName)) {
|
1320
|
+
case 'TrustedHTML':
|
1321
|
+
value = trustedTypesPolicy.createHTML(value);
|
1322
|
+
break;
|
1323
|
+
|
1324
|
+
case 'TrustedScriptURL':
|
1325
|
+
value = trustedTypesPolicy.createScriptURL(value);
|
1326
|
+
break;
|
1327
|
+
}
|
1328
|
+
}
|
1329
|
+
}
|
1330
|
+
/* Handle invalid data-* attribute set by try-catching it */
|
1331
|
+
|
1332
|
+
|
1333
|
+
try {
|
1334
|
+
if (namespaceURI) {
|
1335
|
+
currentNode.setAttributeNS(namespaceURI, name, value);
|
1336
|
+
} else {
|
1337
|
+
/* Fallback to setAttribute() for browser-unrecognized namespaces e.g. "x-schema". */
|
1338
|
+
currentNode.setAttribute(name, value);
|
1339
|
+
}
|
1340
|
+
|
1341
|
+
arrayPop(DOMPurify.removed);
|
1342
|
+
} catch (_) {}
|
1343
|
+
}
|
1344
|
+
/* Execute a hook if present */
|
1345
|
+
|
1346
|
+
|
1347
|
+
_executeHook('afterSanitizeAttributes', currentNode, null);
|
1348
|
+
};
|
1349
|
+
/**
|
1350
|
+
* _sanitizeShadowDOM
|
1351
|
+
*
|
1352
|
+
* @param {DocumentFragment} fragment to iterate over recursively
|
1353
|
+
*/
|
1354
|
+
|
1355
|
+
|
1356
|
+
var _sanitizeShadowDOM = function _sanitizeShadowDOM(fragment) {
|
1357
|
+
var shadowNode;
|
1358
|
+
|
1359
|
+
var shadowIterator = _createIterator(fragment);
|
1360
|
+
/* Execute a hook if present */
|
1361
|
+
|
1362
|
+
|
1363
|
+
_executeHook('beforeSanitizeShadowDOM', fragment, null);
|
1364
|
+
|
1365
|
+
while (shadowNode = shadowIterator.nextNode()) {
|
1366
|
+
/* Execute a hook if present */
|
1367
|
+
_executeHook('uponSanitizeShadowNode', shadowNode, null);
|
1368
|
+
/* Sanitize tags and elements */
|
1369
|
+
|
1370
|
+
|
1371
|
+
if (_sanitizeElements(shadowNode)) {
|
1372
|
+
continue;
|
1373
|
+
}
|
1374
|
+
/* Deep shadow DOM detected */
|
1375
|
+
|
1376
|
+
|
1377
|
+
if (shadowNode.content instanceof DocumentFragment) {
|
1378
|
+
_sanitizeShadowDOM(shadowNode.content);
|
1379
|
+
}
|
1380
|
+
/* Check attributes, sanitize if necessary */
|
1381
|
+
|
1382
|
+
|
1383
|
+
_sanitizeAttributes(shadowNode);
|
1384
|
+
}
|
1385
|
+
/* Execute a hook if present */
|
1386
|
+
|
1387
|
+
|
1388
|
+
_executeHook('afterSanitizeShadowDOM', fragment, null);
|
1389
|
+
};
|
1390
|
+
/**
|
1391
|
+
* Sanitize
|
1392
|
+
* Public method providing core sanitation functionality
|
1393
|
+
*
|
1394
|
+
* @param {String|Node} dirty string or DOM node
|
1395
|
+
* @param {Object} configuration object
|
1396
|
+
*/
|
1397
|
+
// eslint-disable-next-line complexity
|
1398
|
+
|
1399
|
+
|
1400
|
+
DOMPurify.sanitize = function (dirty) {
|
1401
|
+
var cfg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
1402
|
+
var body;
|
1403
|
+
var importedNode;
|
1404
|
+
var currentNode;
|
1405
|
+
var oldNode;
|
1406
|
+
var returnNode;
|
1407
|
+
/* Make sure we have a string to sanitize.
|
1408
|
+
DO NOT return early, as this will return the wrong type if
|
1409
|
+
the user has requested a DOM object rather than a string */
|
1410
|
+
|
1411
|
+
IS_EMPTY_INPUT = !dirty;
|
1412
|
+
|
1413
|
+
if (IS_EMPTY_INPUT) {
|
1414
|
+
dirty = '<!-->';
|
1415
|
+
}
|
1416
|
+
/* Stringify, in case dirty is an object */
|
1417
|
+
|
1418
|
+
|
1419
|
+
if (typeof dirty !== 'string' && !_isNode(dirty)) {
|
1420
|
+
// eslint-disable-next-line no-negated-condition
|
1421
|
+
if (typeof dirty.toString !== 'function') {
|
1422
|
+
throw typeErrorCreate('toString is not a function');
|
1423
|
+
} else {
|
1424
|
+
dirty = dirty.toString();
|
1425
|
+
|
1426
|
+
if (typeof dirty !== 'string') {
|
1427
|
+
throw typeErrorCreate('dirty is not a string, aborting');
|
1428
|
+
}
|
1429
|
+
}
|
1430
|
+
}
|
1431
|
+
/* Check we can run. Otherwise fall back or ignore */
|
1432
|
+
|
1433
|
+
|
1434
|
+
if (!DOMPurify.isSupported) {
|
1435
|
+
if (_typeof(window.toStaticHTML) === 'object' || typeof window.toStaticHTML === 'function') {
|
1436
|
+
if (typeof dirty === 'string') {
|
1437
|
+
return window.toStaticHTML(dirty);
|
1438
|
+
}
|
1439
|
+
|
1440
|
+
if (_isNode(dirty)) {
|
1441
|
+
return window.toStaticHTML(dirty.outerHTML);
|
1442
|
+
}
|
1443
|
+
}
|
1444
|
+
|
1445
|
+
return dirty;
|
1446
|
+
}
|
1447
|
+
/* Assign config vars */
|
1448
|
+
|
1449
|
+
|
1450
|
+
if (!SET_CONFIG) {
|
1451
|
+
_parseConfig(cfg);
|
1452
|
+
}
|
1453
|
+
/* Clean up removed elements */
|
1454
|
+
|
1455
|
+
|
1456
|
+
DOMPurify.removed = [];
|
1457
|
+
/* Check if dirty is correctly typed for IN_PLACE */
|
1458
|
+
|
1459
|
+
if (typeof dirty === 'string') {
|
1460
|
+
IN_PLACE = false;
|
1461
|
+
}
|
1462
|
+
|
1463
|
+
if (IN_PLACE) {
|
1464
|
+
/* Do some early pre-sanitization to avoid unsafe root nodes */
|
1465
|
+
if (dirty.nodeName) {
|
1466
|
+
var tagName = transformCaseFunc(dirty.nodeName);
|
1467
|
+
|
1468
|
+
if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
|
1469
|
+
throw typeErrorCreate('root node is forbidden and cannot be sanitized in-place');
|
1470
|
+
}
|
1471
|
+
}
|
1472
|
+
} else if (dirty instanceof Node) {
|
1473
|
+
/* If dirty is a DOM element, append to an empty document to avoid
|
1474
|
+
elements being stripped by the parser */
|
1475
|
+
body = _initDocument('<!---->');
|
1476
|
+
importedNode = body.ownerDocument.importNode(dirty, true);
|
1477
|
+
|
1478
|
+
if (importedNode.nodeType === 1 && importedNode.nodeName === 'BODY') {
|
1479
|
+
/* Node is already a body, use as is */
|
1480
|
+
body = importedNode;
|
1481
|
+
} else if (importedNode.nodeName === 'HTML') {
|
1482
|
+
body = importedNode;
|
1483
|
+
} else {
|
1484
|
+
// eslint-disable-next-line unicorn/prefer-dom-node-append
|
1485
|
+
body.appendChild(importedNode);
|
1486
|
+
}
|
1487
|
+
} else {
|
1488
|
+
/* Exit directly if we have nothing to do */
|
1489
|
+
if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT && // eslint-disable-next-line unicorn/prefer-includes
|
1490
|
+
dirty.indexOf('<') === -1) {
|
1491
|
+
return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(dirty) : dirty;
|
1492
|
+
}
|
1493
|
+
/* Initialize the document to work on */
|
1494
|
+
|
1495
|
+
|
1496
|
+
body = _initDocument(dirty);
|
1497
|
+
/* Check we have a DOM node from the data */
|
1498
|
+
|
1499
|
+
if (!body) {
|
1500
|
+
return RETURN_DOM ? null : RETURN_TRUSTED_TYPE ? emptyHTML : '';
|
1501
|
+
}
|
1502
|
+
}
|
1503
|
+
/* Remove first element node (ours) if FORCE_BODY is set */
|
1504
|
+
|
1505
|
+
|
1506
|
+
if (body && FORCE_BODY) {
|
1507
|
+
_forceRemove(body.firstChild);
|
1508
|
+
}
|
1509
|
+
/* Get node iterator */
|
1510
|
+
|
1511
|
+
|
1512
|
+
var nodeIterator = _createIterator(IN_PLACE ? dirty : body);
|
1513
|
+
/* Now start iterating over the created document */
|
1514
|
+
|
1515
|
+
|
1516
|
+
while (currentNode = nodeIterator.nextNode()) {
|
1517
|
+
/* Fix IE's strange behavior with manipulated textNodes #89 */
|
1518
|
+
if (currentNode.nodeType === 3 && currentNode === oldNode) {
|
1519
|
+
continue;
|
1520
|
+
}
|
1521
|
+
/* Sanitize tags and elements */
|
1522
|
+
|
1523
|
+
|
1524
|
+
if (_sanitizeElements(currentNode)) {
|
1525
|
+
continue;
|
1526
|
+
}
|
1527
|
+
/* Shadow DOM detected, sanitize it */
|
1528
|
+
|
1529
|
+
|
1530
|
+
if (currentNode.content instanceof DocumentFragment) {
|
1531
|
+
_sanitizeShadowDOM(currentNode.content);
|
1532
|
+
}
|
1533
|
+
/* Check attributes, sanitize if necessary */
|
1534
|
+
|
1535
|
+
|
1536
|
+
_sanitizeAttributes(currentNode);
|
1537
|
+
|
1538
|
+
oldNode = currentNode;
|
1539
|
+
}
|
1540
|
+
|
1541
|
+
oldNode = null;
|
1542
|
+
/* If we sanitized `dirty` in-place, return it. */
|
1543
|
+
|
1544
|
+
if (IN_PLACE) {
|
1545
|
+
return dirty;
|
1546
|
+
}
|
1547
|
+
/* Return sanitized string or DOM */
|
1548
|
+
|
1549
|
+
|
1550
|
+
if (RETURN_DOM) {
|
1551
|
+
if (RETURN_DOM_FRAGMENT) {
|
1552
|
+
returnNode = createDocumentFragment.call(body.ownerDocument);
|
1553
|
+
|
1554
|
+
while (body.firstChild) {
|
1555
|
+
// eslint-disable-next-line unicorn/prefer-dom-node-append
|
1556
|
+
returnNode.appendChild(body.firstChild);
|
1557
|
+
}
|
1558
|
+
} else {
|
1559
|
+
returnNode = body;
|
1560
|
+
}
|
1561
|
+
|
1562
|
+
if (ALLOWED_ATTR.shadowroot) {
|
1563
|
+
/*
|
1564
|
+
AdoptNode() is not used because internal state is not reset
|
1565
|
+
(e.g. the past names map of a HTMLFormElement), this is safe
|
1566
|
+
in theory but we would rather not risk another attack vector.
|
1567
|
+
The state that is cloned by importNode() is explicitly defined
|
1568
|
+
by the specs.
|
1569
|
+
*/
|
1570
|
+
returnNode = importNode.call(originalDocument, returnNode, true);
|
1571
|
+
}
|
1572
|
+
|
1573
|
+
return returnNode;
|
1574
|
+
}
|
1575
|
+
|
1576
|
+
var serializedHTML = WHOLE_DOCUMENT ? body.outerHTML : body.innerHTML;
|
1577
|
+
/* Serialize doctype if allowed */
|
1578
|
+
|
1579
|
+
if (WHOLE_DOCUMENT && ALLOWED_TAGS['!doctype'] && body.ownerDocument && body.ownerDocument.doctype && body.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, body.ownerDocument.doctype.name)) {
|
1580
|
+
serializedHTML = '<!DOCTYPE ' + body.ownerDocument.doctype.name + '>\n' + serializedHTML;
|
1581
|
+
}
|
1582
|
+
/* Sanitize final string template-safe */
|
1583
|
+
|
1584
|
+
|
1585
|
+
if (SAFE_FOR_TEMPLATES) {
|
1586
|
+
serializedHTML = stringReplace(serializedHTML, MUSTACHE_EXPR$1, ' ');
|
1587
|
+
serializedHTML = stringReplace(serializedHTML, ERB_EXPR$1, ' ');
|
1588
|
+
serializedHTML = stringReplace(serializedHTML, TMPLIT_EXPR$1, ' ');
|
1589
|
+
}
|
1590
|
+
|
1591
|
+
return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(serializedHTML) : serializedHTML;
|
1592
|
+
};
|
1593
|
+
/**
|
1594
|
+
* Public method to set the configuration once
|
1595
|
+
* setConfig
|
1596
|
+
*
|
1597
|
+
* @param {Object} cfg configuration object
|
1598
|
+
*/
|
1599
|
+
|
1600
|
+
|
1601
|
+
DOMPurify.setConfig = function (cfg) {
|
1602
|
+
_parseConfig(cfg);
|
1603
|
+
|
1604
|
+
SET_CONFIG = true;
|
1605
|
+
};
|
1606
|
+
/**
|
1607
|
+
* Public method to remove the configuration
|
1608
|
+
* clearConfig
|
1609
|
+
*
|
1610
|
+
*/
|
1611
|
+
|
1612
|
+
|
1613
|
+
DOMPurify.clearConfig = function () {
|
1614
|
+
CONFIG = null;
|
1615
|
+
SET_CONFIG = false;
|
1616
|
+
};
|
1617
|
+
/**
|
1618
|
+
* Public method to check if an attribute value is valid.
|
1619
|
+
* Uses last set config, if any. Otherwise, uses config defaults.
|
1620
|
+
* isValidAttribute
|
1621
|
+
*
|
1622
|
+
* @param {string} tag Tag name of containing element.
|
1623
|
+
* @param {string} attr Attribute name.
|
1624
|
+
* @param {string} value Attribute value.
|
1625
|
+
* @return {Boolean} Returns true if `value` is valid. Otherwise, returns false.
|
1626
|
+
*/
|
1627
|
+
|
1628
|
+
|
1629
|
+
DOMPurify.isValidAttribute = function (tag, attr, value) {
|
1630
|
+
/* Initialize shared config vars if necessary. */
|
1631
|
+
if (!CONFIG) {
|
1632
|
+
_parseConfig({});
|
1633
|
+
}
|
1634
|
+
|
1635
|
+
var lcTag = transformCaseFunc(tag);
|
1636
|
+
var lcName = transformCaseFunc(attr);
|
1637
|
+
return _isValidAttribute(lcTag, lcName, value);
|
1638
|
+
};
|
1639
|
+
/**
|
1640
|
+
* AddHook
|
1641
|
+
* Public method to add DOMPurify hooks
|
1642
|
+
*
|
1643
|
+
* @param {String} entryPoint entry point for the hook to add
|
1644
|
+
* @param {Function} hookFunction function to execute
|
1645
|
+
*/
|
1646
|
+
|
1647
|
+
|
1648
|
+
DOMPurify.addHook = function (entryPoint, hookFunction) {
|
1649
|
+
if (typeof hookFunction !== 'function') {
|
1650
|
+
return;
|
1651
|
+
}
|
1652
|
+
|
1653
|
+
hooks[entryPoint] = hooks[entryPoint] || [];
|
1654
|
+
arrayPush(hooks[entryPoint], hookFunction);
|
1655
|
+
};
|
1656
|
+
/**
|
1657
|
+
* RemoveHook
|
1658
|
+
* Public method to remove a DOMPurify hook at a given entryPoint
|
1659
|
+
* (pops it from the stack of hooks if more are present)
|
1660
|
+
*
|
1661
|
+
* @param {String} entryPoint entry point for the hook to remove
|
1662
|
+
* @return {Function} removed(popped) hook
|
1663
|
+
*/
|
1664
|
+
|
1665
|
+
|
1666
|
+
DOMPurify.removeHook = function (entryPoint) {
|
1667
|
+
if (hooks[entryPoint]) {
|
1668
|
+
return arrayPop(hooks[entryPoint]);
|
1669
|
+
}
|
1670
|
+
};
|
1671
|
+
/**
|
1672
|
+
* RemoveHooks
|
1673
|
+
* Public method to remove all DOMPurify hooks at a given entryPoint
|
1674
|
+
*
|
1675
|
+
* @param {String} entryPoint entry point for the hooks to remove
|
1676
|
+
*/
|
1677
|
+
|
1678
|
+
|
1679
|
+
DOMPurify.removeHooks = function (entryPoint) {
|
1680
|
+
if (hooks[entryPoint]) {
|
1681
|
+
hooks[entryPoint] = [];
|
1682
|
+
}
|
1683
|
+
};
|
1684
|
+
/**
|
1685
|
+
* RemoveAllHooks
|
1686
|
+
* Public method to remove all DOMPurify hooks
|
1687
|
+
*
|
1688
|
+
*/
|
1689
|
+
|
1690
|
+
|
1691
|
+
DOMPurify.removeAllHooks = function () {
|
1692
|
+
hooks = {};
|
1693
|
+
};
|
1694
|
+
|
1695
|
+
return DOMPurify;
|
1696
|
+
}
|
1697
|
+
|
1698
|
+
var purify = createDOMPurify();
|
1699
|
+
|
1700
|
+
return purify;
|
1701
|
+
|
1702
|
+
}));
|
1703
|
+
//# sourceMappingURL=purify.js.map
|
1704
|
+
});
|
1705
|
+
|
1706
|
+
const purify$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.assign(/*#__PURE__*/Object.create(null), purify, {
|
1707
|
+
'default': purify
|
1708
|
+
}));
|
1709
|
+
|
1710
|
+
export { purify$1 as p };
|