@esri/solutions-components 0.10.48 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ExpandToggle-44886935.js +115 -0
- package/dist/cjs/FloatingArrow-d7ea2b0f.js +48 -0
- package/dist/cjs/Heading-ee0aa171.js +25 -0
- package/dist/cjs/IdentityManager-d84c82f1.js +2047 -0
- package/dist/cjs/Validation-9515ef0c.js +20 -0
- package/dist/cjs/app-globals-03a6ab9b.js +67 -0
- package/dist/cjs/ar-180cd9b0.js +106 -0
- package/dist/cjs/asyncToGenerator-c7fc3ee4.js +92 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +37 -12
- package/dist/cjs/bg-fd095c86.js +84 -0
- package/dist/cjs/browser-717f77af.js +35 -0
- package/dist/cjs/bs-11fa6f0d.js +53 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +6 -6
- package/dist/cjs/ca-0685b1cc.js +73 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-action-bar.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-alert_2.cjs.entry.js +500 -0
- package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block-section.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_5.cjs.entry.js +17 -17
- package/dist/cjs/calcite-button-de2c2e75.js +282 -0
- package/dist/cjs/calcite-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-carousel_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/calcite-chip-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-chip_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-color-picker.cjs.entry.js +7 -7
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +66 -20
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-dialog-a5c288bb.js +5876 -0
- package/dist/cjs/calcite-dialog.cjs.entry.js +9 -9
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-fab.cjs.entry.js +4 -4
- package/dist/cjs/calcite-filter_5.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow-item_5.cjs.entry.js +1752 -0
- package/dist/cjs/calcite-flow_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-graph_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-icon_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-945ec162.js +1001 -0
- package/dist/cjs/calcite-input-number.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-time-picker-3aeef2d4.js +1870 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-label-e7b67a86.js +111 -0
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +4 -4
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-menu-item.cjs.entry.js +6 -6
- package/dist/cjs/calcite-menu.cjs.entry.js +6 -6
- package/dist/cjs/calcite-meter.cjs.entry.js +6 -6
- package/dist/cjs/calcite-modal_4.cjs.entry.js +972 -0
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +3 -3
- package/dist/cjs/calcite-navigation.cjs.entry.js +3 -3
- package/dist/cjs/calcite-notice-a48cc9e7.js +261 -0
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
- package/dist/cjs/calcite-scrim.cjs.entry.js +5 -5
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-sheet.cjs.entry.js +7 -7
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +6 -6
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +24 -24
- package/dist/cjs/calcite-shell.cjs.entry.js +4 -4
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +4 -4
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +7 -7
- package/dist/cjs/calcite-stepper.cjs.entry.js +5 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +5 -5
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-table-row.cjs.entry.js +2 -2
- package/dist/cjs/calcite-table.cjs.entry.js +6 -6
- package/dist/cjs/calcite-text-area.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
- package/dist/cjs/calcite-time-picker.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tooltip.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +5 -5
- package/dist/cjs/card-manager_3.cjs.entry.js +194 -51
- package/dist/cjs/common-10d11a29.js +37 -0
- package/dist/cjs/component-69260f95.js +1073 -0
- package/dist/cjs/conditionalSlot-130cce71.js +54 -0
- package/dist/cjs/config-c999f8fc.js +40 -0
- package/dist/cjs/consent-manager.cjs.entry.js +7914 -45
- package/dist/cjs/crowdsource-manager.cjs.entry.js +6 -6
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -3
- package/dist/cjs/cs-70e8ba01.js +149 -0
- package/dist/cjs/da-e8eb9ff4.js +69 -0
- package/dist/cjs/date-40a80298.js +264 -0
- package/dist/cjs/de-4b8310d2.js +93 -0
- package/dist/cjs/de-at-dc8ed8c3.js +92 -0
- package/dist/cjs/de-ch-c5971940.js +92 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +2 -2
- package/dist/cjs/downloadUtils-b6490537.js +3223 -0
- package/dist/cjs/el-a70d9f12.js +68 -0
- package/dist/cjs/en-au-88ddb80f.js +68 -0
- package/dist/cjs/en-ca-5a29b95b.js +67 -0
- package/dist/cjs/en-gb-3c763a84.js +71 -0
- package/dist/cjs/es-e83e8ff5.js +68 -0
- package/dist/cjs/es-mx-2ea879ef.js +67 -0
- package/dist/cjs/et-7b00c80d.js +94 -0
- package/dist/cjs/feature-list.cjs.entry.js +12 -10
- package/dist/cjs/fi-92ca007b.js +117 -0
- package/dist/cjs/floating-ui-7fa9e006.js +2413 -0
- package/dist/cjs/focusTrapComponent-a7cfa6da.js +1013 -0
- package/dist/cjs/form-dd5380da.js +370 -0
- package/dist/cjs/form-f2a43327.js +381 -0
- package/dist/cjs/fr-a1f5dfd4.js +70 -0
- package/dist/cjs/fr-ch-8a4a9d67.js +68 -0
- package/dist/cjs/he-38b2b883.js +107 -0
- package/dist/cjs/helpers-47465fc2.js +940 -0
- package/dist/cjs/hi-a517b1a8.js +67 -0
- package/dist/cjs/hr-c1e34de1.js +82 -0
- package/dist/cjs/hu-e46e8ae7.js +90 -0
- package/dist/cjs/icon-f45e7fbb.js +979 -0
- package/dist/cjs/id-bfc376d8.js +68 -0
- package/dist/cjs/index-1ab17699.js +201 -0
- package/dist/cjs/index-3bae5121.js +1789 -0
- package/dist/cjs/index-5d8d6ae2.js +2157 -0
- package/dist/cjs/index.es-5fc7bebc.js +11221 -0
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-create.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-export.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-header.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +16 -20
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +13 -13
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-popover.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-splash.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -59
- package/dist/cjs/interactive-b59e6294.js +86 -0
- package/dist/cjs/interactive-e1c3ccf2.js +85 -0
- package/dist/cjs/it-6d8c8360.js +68 -0
- package/dist/cjs/it-ch-2b05812c.js +68 -0
- package/dist/cjs/ja-eb46f963.js +74 -0
- package/dist/cjs/ko-dbe28d19.js +74 -0
- package/dist/cjs/label-7f519bd9.js +186 -0
- package/dist/cjs/languageSwitcher-bca9ab2c.js +52 -0
- package/dist/cjs/loadable-19ab5827.js +98 -0
- package/dist/cjs/loader-97bb6b45.js +176 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-3a817e03.js +1488 -0
- package/dist/cjs/locale-80aff4b9.js +605 -0
- package/dist/cjs/locale-a79da367.js +160 -0
- package/dist/cjs/logger-780b61e8.js +61 -0
- package/dist/cjs/lt-651bfa9c.js +99 -0
- package/dist/cjs/lv-f6fe37a3.js +68 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +15 -13
- package/dist/cjs/mk-1f0ffdf6.js +68 -0
- package/dist/cjs/nb-8b7b39ed.js +69 -0
- package/dist/cjs/nl-27515721.js +69 -0
- package/dist/cjs/observers-902ebe13.js +58 -0
- package/dist/cjs/openCloseComponent-039ee139.js +65 -0
- package/dist/cjs/openCloseComponent-e8e50700.js +66 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
- package/dist/cjs/pl-d2098514.js +116 -0
- package/dist/cjs/popupUtils-72d48968.js +121 -0
- package/dist/cjs/pt-a3304010.js +69 -0
- package/dist/cjs/pt-br-09d60ba8.js +67 -0
- package/dist/cjs/public-notification.cjs.entry.js +12 -10
- package/dist/cjs/publicNotificationStore-04b6837d.js +47 -0
- package/dist/cjs/request-19fdbaaa.js +21 -0
- package/dist/cjs/restHelpersGet-e4639890.js +507 -0
- package/dist/cjs/ro-2ea54b1c.js +68 -0
- package/dist/cjs/ru-f94ee202.js +128 -0
- package/dist/cjs/shared-list-render-fb08b2af.js +361 -0
- package/dist/cjs/sk-3cdf67d8.js +150 -0
- package/dist/cjs/sl-075daf42.js +170 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +53 -53
- package/dist/cjs/solution-contents_3.cjs.entry.js +11 -11
- package/dist/cjs/solution-item-accordion.cjs.entry.js +3 -3
- package/dist/cjs/solution-item-icon.cjs.entry.js +2 -2
- package/dist/cjs/solution-resource-d0a2f7fe.js +1845 -0
- package/dist/cjs/solution-store-4e602251.js +1105 -0
- package/dist/cjs/solutions-components.cjs.js +6 -6
- package/dist/cjs/spatial-ref.cjs.entry.js +5 -6
- package/dist/cjs/sr-2f08967b.js +103 -0
- package/dist/cjs/store-manager.cjs.entry.js +7 -7
- package/dist/cjs/sv-65f0e21c.js +73 -0
- package/dist/cjs/t9n-0195f685.js +108 -0
- package/dist/cjs/templates-1e84847a.js +407 -0
- package/dist/cjs/th-db63e592.js +67 -0
- package/dist/cjs/time-caa0abbe.js +301 -0
- package/dist/cjs/tr-b6401cac.js +68 -0
- package/dist/cjs/typeof-2a7e2dec.js +28 -0
- package/dist/cjs/uk-d00c351d.js +106 -0
- package/dist/cjs/update-243ea407.js +783 -0
- package/dist/cjs/utils-7eb34f90.js +153 -0
- package/dist/cjs/utils-d2bcba4f.js +79 -0
- package/dist/cjs/vi-efe4ad72.js +72 -0
- package/dist/cjs/zh-cn-63f07390.js +96 -0
- package/dist/cjs/zh-hk-84a86ab9.js +94 -0
- package/dist/cjs/zh-tw-894f1adf.js +94 -0
- package/dist/collection/assets/t9n/consent-manager/resources.json +3 -10
- package/dist/collection/assets/t9n/consent-manager/resources_en.json +3 -10
- package/dist/collection/collection-manifest.json +2 -4
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +1 -1
- package/dist/collection/components/buffer-tools/buffer-tools.js +1 -1
- package/dist/collection/components/card-manager/card-manager.js +1 -1
- package/dist/collection/components/consent-manager/consent-manager.js +113 -37
- package/dist/collection/components/create-feature/create-feature.js +2 -2
- package/dist/collection/components/create-related-feature/create-related-feature.js +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +4 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +3 -3
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
- package/dist/collection/components/delete-button/delete-button.js +2 -2
- package/dist/collection/components/delete-dialog/delete-dialog.js +1 -1
- package/dist/collection/components/edit-card/edit-card.js +26 -2
- package/dist/collection/components/feature-details/feature-details.js +6 -6
- package/dist/collection/components/feature-list/feature-list.js +3 -3
- package/dist/collection/components/floor-filter/floor-filter.js +1 -1
- package/dist/collection/components/info-card/info-card.js +2 -2
- package/dist/collection/components/json-editor/json-editor.js +1 -1
- package/dist/collection/components/layer-table/layer-table.js +224 -47
- package/dist/collection/components/map-card/map-card.js +2 -2
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +121 -5
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +53 -4
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +3 -3
- package/dist/collection/components/map-tools/map-tools.js +2 -2
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/components/public-notification/public-notification.js +2 -2
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
- package/dist/collection/demos/consent-manager.html +56 -0
- package/dist/collection/utils/interfaces.ts +14 -0
- package/dist/components/IdentityManager.js +339 -0
- package/dist/components/asyncToGenerator.js +88 -0
- package/dist/components/basemap-gallery2.js +1 -1
- package/dist/components/buffer-tools2.js +1 -1
- package/dist/components/calcite-button2.js +273 -0
- package/dist/components/calcite-dialog.js +1 -663
- package/dist/components/calcite-dialog2.js +5867 -0
- package/dist/components/calcite-input2.js +992 -0
- package/dist/components/calcite-label2.js +100 -0
- package/dist/components/calcite-notice2.js +251 -0
- package/dist/components/card-manager2.js +10 -10
- package/dist/components/common.js +0 -1
- package/dist/components/component2.js +1048 -0
- package/dist/components/consent-manager.js +8053 -203
- package/dist/components/create-feature2.js +2 -2
- package/dist/components/create-related-feature2.js +1 -1
- package/dist/components/crowdsource-manager.js +37 -37
- package/dist/components/crowdsource-reporter.js +28 -28
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/delete-button2.js +29 -11
- package/dist/components/delete-dialog2.js +33 -9
- package/dist/components/dialog.js +670 -0
- package/dist/components/downloadUtils.js +10 -26
- package/dist/components/edit-card2.js +7 -2
- package/dist/components/feature-details2.js +23 -23
- package/dist/components/feature-list2.js +3 -3
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/form2.js +362 -0
- package/dist/components/icon2.js +960 -0
- package/dist/components/index.es.js +25 -104
- package/dist/components/index2.js +6 -5
- package/dist/components/info-card2.js +9 -9
- package/dist/components/instant-apps-language-switcher.js +6 -10
- package/dist/components/instant-apps-language-translator2.js +2 -809
- package/dist/components/instant-apps-time-filter.js +3 -57
- package/dist/components/interactive2.js +83 -0
- package/dist/components/json-editor2.js +1 -1
- package/dist/components/label3.js +179 -0
- package/dist/components/layer-table2.js +212 -69
- package/dist/components/loader2.js +173 -0
- package/dist/components/locale3.js +1311 -3
- package/dist/components/map-card2.js +2 -2
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +53 -5
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +28 -3
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +3 -3
- package/dist/components/map-tools2.js +2 -2
- package/dist/components/openCloseComponent2.js +64 -0
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/public-notification.js +2 -2
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/request.js +14 -0
- package/dist/components/restHelpersGet.js +74 -557
- package/dist/components/solution-configuration.js +27 -28
- package/dist/components/solution-contents2.js +1 -1
- package/dist/components/solution-item-accordion.js +1 -1
- package/dist/components/solution-item-details2.js +1 -1
- 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 -2
- package/dist/components/solution-resource.js +1701 -1
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-store.js +36 -285
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/spatial-ref.js +1 -1
- package/dist/components/templates.js +0 -1
- package/dist/components/typeof.js +25 -0
- package/dist/components/update.js +773 -0
- package/dist/esm/ExpandToggle-324f556e.js +108 -0
- package/dist/esm/FloatingArrow-cd37b366.js +46 -0
- package/dist/esm/Heading-b6b7a8a6.js +22 -0
- package/dist/esm/IdentityManager-6880e890.js +2012 -0
- package/dist/esm/Validation-b62abebe.js +18 -0
- package/dist/esm/app-globals-b6ef4076.js +65 -0
- package/dist/esm/ar-aa347a04.js +104 -0
- package/dist/esm/asyncToGenerator-96b2368d.js +88 -0
- package/dist/esm/basemap-gallery_7.entry.js +37 -12
- package/dist/esm/bg-b56e89f6.js +82 -0
- package/dist/esm/browser-e42b9848.js +32 -0
- package/dist/esm/bs-62486009.js +51 -0
- package/dist/esm/buffer-tools_3.entry.js +7 -7
- package/dist/esm/ca-db6a81f3.js +71 -0
- package/dist/esm/calcite-accordion_2.entry.js +6 -6
- package/dist/esm/calcite-action-bar.entry.js +9 -9
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu_2.entry.js +10 -10
- package/dist/esm/calcite-action-pad_2.entry.js +9 -9
- package/dist/esm/calcite-action_2.entry.js +14 -14
- package/dist/esm/calcite-alert_2.entry.js +495 -0
- package/dist/esm/calcite-avatar.entry.js +2 -2
- package/dist/esm/calcite-block-section.entry.js +7 -7
- package/dist/esm/calcite-block_5.entry.js +19 -19
- package/dist/esm/calcite-button-e86d99b3.js +279 -0
- package/dist/esm/calcite-button.entry.js +10 -10
- package/dist/esm/calcite-card-group.entry.js +5 -5
- package/dist/esm/calcite-card.entry.js +8 -8
- package/dist/esm/calcite-carousel_2.entry.js +8 -8
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip-group.entry.js +5 -5
- package/dist/esm/calcite-chip_2.entry.js +10 -10
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +4 -4
- package/dist/esm/calcite-color-picker.entry.js +8 -8
- package/dist/esm/calcite-combobox-item-group.entry.js +4 -4
- package/dist/esm/calcite-combobox_3.entry.js +68 -22
- package/dist/esm/calcite-date-picker-day_3.entry.js +9 -9
- package/dist/esm/calcite-dialog-f5f9cfea.js +5873 -0
- package/dist/esm/calcite-dialog.entry.js +10 -10
- package/dist/esm/calcite-dropdown_2.entry.js +8 -8
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter_5.entry.js +8 -8
- package/dist/esm/calcite-flow-item_5.entry.js +1744 -0
- package/dist/esm/calcite-flow_4.entry.js +12 -12
- package/dist/esm/calcite-graph_2.entry.js +9 -9
- package/dist/esm/calcite-icon_2.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +9 -9
- package/dist/esm/calcite-input-1f12bce0.js +998 -0
- package/dist/esm/calcite-input-number.entry.js +11 -11
- package/dist/esm/calcite-input-text.entry.js +11 -11
- package/dist/esm/calcite-input-time-picker-07db9ed7.js +1867 -0
- package/dist/esm/calcite-input-time-picker.entry.js +15 -15
- package/dist/esm/calcite-input-time-zone.entry.js +10 -10
- package/dist/esm/calcite-input_2.entry.js +11 -11
- package/dist/esm/calcite-label-d80f6f1c.js +108 -0
- package/dist/esm/calcite-label.entry.js +3 -3
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list-item-group.entry.js +2 -2
- package/dist/esm/calcite-menu-item.entry.js +7 -7
- package/dist/esm/calcite-menu.entry.js +7 -7
- package/dist/esm/calcite-meter.entry.js +7 -7
- package/dist/esm/calcite-modal_4.entry.js +965 -0
- package/dist/esm/calcite-navigation-logo.entry.js +4 -4
- package/dist/esm/calcite-navigation-user.entry.js +3 -3
- package/dist/esm/calcite-navigation.entry.js +4 -4
- package/dist/esm/calcite-notice-acc12411.js +258 -0
- package/dist/esm/calcite-notice.entry.js +9 -9
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +9 -9
- package/dist/esm/calcite-pagination.entry.js +7 -7
- package/dist/esm/calcite-pick-list-group.entry.js +8 -8
- package/dist/esm/calcite-pick-list-item.entry.js +11 -11
- package/dist/esm/calcite-pick-list.entry.js +9 -9
- package/dist/esm/calcite-radio-button-group.entry.js +6 -6
- package/dist/esm/calcite-radio-button.entry.js +7 -7
- package/dist/esm/calcite-rating.entry.js +10 -10
- package/dist/esm/calcite-scrim.entry.js +6 -6
- package/dist/esm/calcite-segmented-control_2.entry.js +8 -8
- package/dist/esm/calcite-sheet.entry.js +8 -8
- package/dist/esm/calcite-shell-center-row.entry.js +7 -7
- package/dist/esm/calcite-shell-panel_14.entry.js +25 -25
- package/dist/esm/calcite-shell.entry.js +5 -5
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +8 -8
- package/dist/esm/calcite-stepper.entry.js +6 -6
- package/dist/esm/calcite-switch.entry.js +7 -7
- package/dist/esm/calcite-table-cell_2.entry.js +8 -8
- package/dist/esm/calcite-table-row.entry.js +3 -3
- package/dist/esm/calcite-table.entry.js +7 -7
- package/dist/esm/calcite-text-area.entry.js +11 -11
- package/dist/esm/calcite-tile-group.entry.js +5 -5
- package/dist/esm/calcite-tile-select-group.entry.js +4 -4
- package/dist/esm/calcite-tile-select.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +5 -5
- package/dist/esm/calcite-time-picker.entry.js +8 -8
- package/dist/esm/calcite-tip-group.entry.js +3 -3
- package/dist/esm/calcite-tip-manager.entry.js +9 -9
- package/dist/esm/calcite-tip.entry.js +10 -10
- package/dist/esm/calcite-tooltip.entry.js +6 -6
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/card-manager_3.entry.js +194 -51
- package/dist/esm/common-c8dc0e85.js +35 -0
- package/dist/esm/component-85f22c99.js +1048 -0
- package/dist/esm/conditionalSlot-2e16b206.js +51 -0
- package/dist/esm/config-e6645458.js +36 -0
- package/dist/esm/consent-manager.entry.js +7910 -41
- package/dist/esm/crowdsource-manager.entry.js +6 -6
- package/dist/esm/crowdsource-reporter.entry.js +3 -3
- package/dist/esm/cs-250e21c6.js +147 -0
- package/dist/esm/da-bab8eb4e.js +67 -0
- package/dist/esm/date-272939fd.js +248 -0
- package/dist/esm/de-808a43dc.js +91 -0
- package/dist/esm/de-at-9c396c81.js +90 -0
- package/dist/esm/de-ch-415303cf.js +90 -0
- package/dist/esm/deduct-calculator.entry.js +2 -2
- package/dist/esm/dom-66c5cd46.js +1165 -0
- package/dist/esm/downloadUtils-8ba094d7.js +3217 -0
- package/dist/esm/el-3d1eaeb8.js +66 -0
- package/dist/esm/en-au-e6b00a93.js +66 -0
- package/dist/esm/en-ca-29b94ea2.js +65 -0
- package/dist/esm/en-gb-09267176.js +69 -0
- package/dist/esm/es-95fef748.js +66 -0
- package/dist/esm/es-mx-9b70cfc9.js +65 -0
- package/dist/esm/et-08cbe214.js +92 -0
- package/dist/esm/feature-list.entry.js +12 -10
- package/dist/esm/fi-e850e58b.js +115 -0
- package/dist/esm/floating-ui-1a431a21.js +2404 -0
- package/dist/esm/focusTrapComponent-e80b8863.js +1008 -0
- package/dist/esm/form-1528db83.js +362 -0
- package/dist/esm/form-99398da6.js +372 -0
- package/dist/esm/fr-c71b6844.js +68 -0
- package/dist/esm/fr-ch-7ac7a7eb.js +66 -0
- package/dist/esm/he-311cb5ba.js +105 -0
- package/dist/esm/helpers-f52a734a.js +913 -0
- package/dist/esm/hi-c41f0938.js +65 -0
- package/dist/esm/hr-f42cc721.js +80 -0
- package/dist/esm/hu-d1d33b21.js +88 -0
- package/dist/esm/icon-18c0eb17.js +959 -0
- package/dist/esm/id-1867967d.js +66 -0
- package/dist/esm/index-38bde943.js +199 -0
- package/dist/esm/index-d233c7a2.js +1753 -0
- package/dist/esm/index-d88c3eb6.js +2155 -0
- package/dist/esm/index.es-d286eecc.js +11134 -0
- package/dist/esm/instant-apps-app-guide.entry.js +2 -2
- package/dist/esm/instant-apps-control-panel.entry.js +1 -1
- package/dist/esm/instant-apps-create.entry.js +2 -2
- package/dist/esm/instant-apps-export-views.entry.js +2 -2
- package/dist/esm/instant-apps-export.entry.js +2 -2
- package/dist/esm/instant-apps-header.entry.js +2 -2
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend.entry.js +4 -4
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +2 -2
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +9 -13
- package/dist/esm/instant-apps-language-translator.entry.js +5 -5
- package/dist/esm/instant-apps-measurement.entry.js +2 -2
- package/dist/esm/instant-apps-popover.entry.js +2 -2
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +2 -2
- package/dist/esm/instant-apps-sign-in.entry.js +2 -2
- package/dist/esm/instant-apps-splash.entry.js +3 -3
- package/dist/esm/instant-apps-time-filter.entry.js +3 -57
- package/dist/esm/interactive-5139f8d7.js +83 -0
- package/dist/esm/interactive-cad37709.js +82 -0
- package/dist/esm/it-6a7495d8.js +66 -0
- package/dist/esm/it-ch-89fa3c82.js +66 -0
- package/dist/esm/ja-f87a1f44.js +72 -0
- package/dist/esm/ko-0f4c7a11.js +72 -0
- package/dist/esm/label-56002f24.js +179 -0
- package/dist/esm/label-7f52ca53.js +179 -0
- package/dist/esm/languageSwitcher-d0ca5d6f.js +49 -0
- package/dist/esm/loadable-dc3f24a8.js +93 -0
- package/dist/esm/loader-bae2aa52.js +173 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-586d9375.js +155 -0
- package/dist/esm/locale-911eca09.js +591 -0
- package/dist/esm/locale-be7fd298.js +1423 -0
- package/dist/esm/logger-ff14b12f.js +59 -0
- package/dist/esm/lt-a4b14416.js +97 -0
- package/dist/esm/lv-3901862d.js +66 -0
- package/dist/esm/map-select-tools_3.entry.js +15 -13
- package/dist/esm/mk-886d280d.js +66 -0
- package/dist/esm/nb-b667a0e1.js +67 -0
- package/dist/esm/nl-d357a092.js +67 -0
- package/dist/esm/observers-ab3d6528.js +56 -0
- package/dist/esm/openCloseComponent-0e1e6768.js +64 -0
- package/dist/esm/openCloseComponent-c3f79463.js +63 -0
- package/dist/esm/pci-calculator.entry.js +2 -2
- package/dist/esm/pl-75d54069.js +114 -0
- package/dist/esm/popupUtils-ddb1f6fa.js +119 -0
- package/dist/esm/pt-32bd5da2.js +67 -0
- package/dist/esm/pt-br-6f32314d.js +65 -0
- package/dist/esm/public-notification.entry.js +12 -10
- package/dist/esm/publicNotificationStore-8b54bf6f.js +45 -0
- package/dist/esm/request-2dbb152a.js +19 -0
- package/dist/esm/restHelpersGet-a7fda344.js +493 -0
- package/dist/esm/ro-d238055e.js +66 -0
- package/dist/esm/ru-ef7165ff.js +126 -0
- package/dist/esm/shared-list-render-5f202c55.js +339 -0
- package/dist/esm/sk-959dbca1.js +148 -0
- package/dist/esm/sl-96436015.js +168 -0
- package/dist/esm/solution-configuration.entry.js +34 -34
- package/dist/esm/solution-contents_3.entry.js +11 -11
- package/dist/esm/solution-item-accordion.entry.js +3 -3
- package/dist/esm/solution-item-icon.entry.js +2 -2
- package/dist/esm/solution-resource-30a29505.js +1842 -0
- package/dist/esm/solution-store-f252cb74.js +1103 -0
- package/dist/esm/solutions-components.js +7 -7
- package/dist/esm/spatial-ref.entry.js +5 -6
- package/dist/esm/sr-73033c89.js +101 -0
- package/dist/esm/store-manager.entry.js +7 -7
- package/dist/esm/sv-b1153aa8.js +71 -0
- package/dist/esm/t9n-1698878e.js +103 -0
- package/dist/esm/templates-60f33938.js +401 -0
- package/dist/esm/th-e1a074e2.js +65 -0
- package/dist/esm/time-bca5f70b.js +286 -0
- package/dist/esm/tr-1350f529.js +66 -0
- package/dist/esm/typeof-ef2a007d.js +25 -0
- package/dist/esm/uk-18ded66c.js +104 -0
- package/dist/esm/update-ad0b88fa.js +773 -0
- package/dist/esm/utils-0da093e1.js +142 -0
- package/dist/esm/utils-30c4c8ca.js +66 -0
- package/dist/esm/vi-cee99413.js +70 -0
- package/dist/esm/zh-cn-6e204128.js +94 -0
- package/dist/esm/zh-hk-ffb02673.js +92 -0
- package/dist/esm/zh-tw-0f52dd8c.js +92 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources.json +3 -10
- package/dist/solutions-components/assets/t9n/consent-manager/resources_en.json +3 -10
- package/dist/solutions-components/demos/consent-manager.html +56 -0
- package/dist/solutions-components/p-0094924f.entry.js +6 -0
- package/dist/solutions-components/p-00ea0ccc.entry.js +11 -0
- package/dist/solutions-components/p-018d1f95.entry.js +6 -0
- package/dist/solutions-components/p-025af0b3.entry.js +21 -0
- package/dist/solutions-components/p-0549a65c.js +6 -0
- package/dist/solutions-components/p-058d0542.js +17 -0
- package/dist/solutions-components/p-0668e30d.js +34 -0
- package/dist/solutions-components/p-066fc169.js +6 -0
- package/dist/solutions-components/p-067e36b2.entry.js +6 -0
- package/dist/solutions-components/p-0681b29b.entry.js +11 -0
- package/dist/solutions-components/p-0691d1af.entry.js +22 -0
- package/dist/solutions-components/p-088a5dca.js +67 -0
- package/dist/solutions-components/p-097b80df.js +6 -0
- package/dist/solutions-components/p-0a0902c4.entry.js +6 -0
- package/dist/solutions-components/p-0a71f549.entry.js +29 -0
- package/dist/solutions-components/p-0ac9cc4a.entry.js +21 -0
- package/dist/solutions-components/p-0b1fb6ae.js +36 -0
- package/dist/solutions-components/p-0d82ed7b.entry.js +11 -0
- package/dist/solutions-components/p-0e307601.entry.js +11 -0
- package/dist/solutions-components/p-0ece17fc.entry.js +6 -0
- package/dist/solutions-components/p-0f58bb3a.entry.js +11 -0
- package/dist/solutions-components/p-0f9f7528.entry.js +11 -0
- package/dist/solutions-components/p-135b2aba.js +16 -0
- package/dist/solutions-components/p-13bdb2c0.js +6 -0
- package/dist/solutions-components/p-14519a8a.entry.js +11 -0
- package/dist/solutions-components/p-1482f3cf.js +20 -0
- package/dist/solutions-components/p-1492bb6d.js +6 -0
- package/dist/solutions-components/p-1664573a.entry.js +6 -0
- package/dist/solutions-components/p-1900f9b1.js +11 -0
- package/dist/solutions-components/p-1984f2c7.entry.js +17 -0
- package/dist/solutions-components/p-1c1842b0.entry.js +6 -0
- package/dist/solutions-components/p-1f9d927b.entry.js +6 -0
- package/dist/solutions-components/p-1fb3756b.js +6 -0
- package/dist/solutions-components/p-208b5cc4.entry.js +6 -0
- package/dist/solutions-components/p-20cda8ef.entry.js +6 -0
- package/dist/solutions-components/p-2130a063.entry.js +17 -0
- package/dist/solutions-components/p-21f90019.js +21 -0
- package/dist/solutions-components/p-230f7315.entry.js +6 -0
- package/dist/solutions-components/p-24b42859.entry.js +47 -0
- package/dist/solutions-components/p-26f9f9c8.js +11 -0
- package/dist/solutions-components/p-270ca219.entry.js +6 -0
- package/dist/solutions-components/p-27a91364.entry.js +17 -0
- package/dist/solutions-components/p-28498868.entry.js +11 -0
- package/dist/solutions-components/p-2a5a5bfd.entry.js +11 -0
- package/dist/solutions-components/p-2ac553f6.js +6 -0
- package/dist/solutions-components/p-2b1e6acb.entry.js +6 -0
- package/dist/solutions-components/p-2bc98cb0.js +30 -0
- package/dist/solutions-components/p-2d96fdb9.js +6 -0
- package/dist/solutions-components/p-2dd8e49c.js +11 -0
- package/dist/solutions-components/p-30a16b7e.entry.js +11 -0
- package/dist/solutions-components/p-3212300b.entry.js +6 -0
- package/dist/solutions-components/p-35245316.entry.js +6 -0
- package/dist/solutions-components/p-3643a87a.entry.js +6 -0
- package/dist/solutions-components/p-3708cbdc.entry.js +6 -0
- package/dist/solutions-components/p-3828e77b.js +11 -0
- package/dist/solutions-components/p-38e0f88b.js +17 -0
- package/dist/solutions-components/p-3b3bfba5.entry.js +6 -0
- package/dist/solutions-components/p-3ba80c7c.js +6 -0
- package/dist/solutions-components/p-3d1f0434.js +21 -0
- package/dist/solutions-components/p-3ffc4738.js +6 -0
- package/dist/solutions-components/p-409401ce.js +11 -0
- package/dist/solutions-components/p-419df1ac.js +11 -0
- package/dist/solutions-components/p-46159285.js +6 -0
- package/dist/solutions-components/p-49a67314.entry.js +6 -0
- package/dist/solutions-components/p-4cbdea35.js +129 -0
- package/dist/solutions-components/p-4dfc2fc4.js +11 -0
- package/dist/solutions-components/p-4f236b5d.js +43 -0
- package/dist/solutions-components/p-4f50385f.js +16 -0
- package/dist/solutions-components/p-4fe489cf.js +6 -0
- package/dist/solutions-components/p-50239e15.entry.js +6 -0
- package/dist/solutions-components/p-531f66c7.entry.js +6 -0
- package/dist/solutions-components/p-570754a4.js +6 -0
- package/dist/solutions-components/p-570b13d9.js +67 -0
- package/dist/solutions-components/p-58d53a46.entry.js +6 -0
- package/dist/solutions-components/p-59970898.js +6 -0
- package/dist/solutions-components/p-59d02697.entry.js +11 -0
- package/dist/solutions-components/p-5b2ae6c4.js +6 -0
- package/dist/solutions-components/p-5b9783e6.entry.js +23 -0
- package/dist/solutions-components/p-5c5cbe3c.js +6 -0
- package/dist/solutions-components/p-5c692ed6.entry.js +11 -0
- package/dist/solutions-components/p-5cfa35f8.js +6 -0
- package/dist/solutions-components/p-5d581b7e.entry.js +6 -0
- package/dist/solutions-components/p-5df09fe4.js +31 -0
- package/dist/solutions-components/p-5ee359f1.entry.js +11 -0
- package/dist/solutions-components/p-5f099cd2.js +6 -0
- package/dist/solutions-components/p-60123545.js +6 -0
- package/dist/solutions-components/p-6148468f.js +11 -0
- package/dist/solutions-components/p-617d2160.js +6 -0
- package/dist/solutions-components/p-619a1ad0.js +6 -0
- package/dist/solutions-components/p-61d2582e.entry.js +6 -0
- package/dist/solutions-components/p-662cf7fa.entry.js +11 -0
- package/dist/solutions-components/p-6708060e.js +11 -0
- package/dist/solutions-components/p-676a2d60.entry.js +6 -0
- package/dist/solutions-components/p-68b5ec37.js +11 -0
- package/dist/solutions-components/p-68cf5134.entry.js +12 -0
- package/dist/solutions-components/p-694cfe4c.js +6 -0
- package/dist/solutions-components/p-6bcde3c4.js +6 -0
- package/dist/solutions-components/p-6c73f067.js +16 -0
- package/dist/solutions-components/p-6d56f75e.js +11 -0
- package/dist/solutions-components/p-6db88e16.entry.js +11 -0
- package/dist/solutions-components/p-6f93ec3e.entry.js +6 -0
- package/dist/solutions-components/p-7053b20e.entry.js +6 -0
- package/dist/solutions-components/p-741151d4.js +6 -0
- package/dist/solutions-components/p-749fe711.js +6 -0
- package/dist/solutions-components/p-7518e92a.js +6 -0
- package/dist/solutions-components/p-7802efa1.entry.js +11 -0
- package/dist/solutions-components/p-782c71a7.js +6 -0
- package/dist/solutions-components/p-78aa10b0.js +6 -0
- package/dist/solutions-components/p-7a8edc01.entry.js +11 -0
- package/dist/solutions-components/p-7a9e773b.js +6 -0
- package/dist/solutions-components/p-7aa5b402.entry.js +11 -0
- package/dist/solutions-components/p-7aafba66.js +11 -0
- package/dist/solutions-components/p-7d619b04.entry.js +11 -0
- package/dist/solutions-components/p-7dc37540.js +11 -0
- package/dist/solutions-components/p-7e3a6a0b.entry.js +11 -0
- package/dist/solutions-components/p-7fd55161.entry.js +6 -0
- package/dist/solutions-components/p-80168ff4.entry.js +11 -0
- package/dist/solutions-components/p-823684a3.js +6 -0
- package/dist/solutions-components/p-825ef4a7.js +6 -0
- package/dist/solutions-components/p-82d93164.js +11 -0
- package/dist/solutions-components/p-82f661c7.entry.js +11 -0
- package/dist/solutions-components/p-8378852e.js +6 -0
- package/dist/solutions-components/p-85bb5908.js +11 -0
- package/dist/solutions-components/p-866a2fad.js +11 -0
- package/dist/solutions-components/p-8744fe2a.entry.js +6 -0
- package/dist/solutions-components/p-8850bd21.js +21 -0
- package/dist/solutions-components/p-896a5fce.entry.js +11 -0
- package/dist/solutions-components/p-8df5939f.js +6 -0
- package/dist/solutions-components/p-8ec56f08.entry.js +11 -0
- package/dist/solutions-components/p-8ff2cba2.entry.js +11 -0
- package/dist/solutions-components/p-8ff4b2aa.js +488 -0
- package/dist/solutions-components/p-926e65eb.js +6 -0
- package/dist/solutions-components/p-94ad391c.js +40 -0
- package/dist/solutions-components/p-958c68c2.js +61 -0
- package/dist/solutions-components/p-95fcb607.js +6 -0
- package/dist/solutions-components/p-97df5300.js +27 -0
- package/dist/solutions-components/p-98079396.js +21 -0
- package/dist/solutions-components/p-98b1c057.entry.js +6 -0
- package/dist/solutions-components/p-9d4f62ca.js +6 -0
- package/dist/solutions-components/p-9d733373.entry.js +17 -0
- package/dist/solutions-components/p-9d9df87f.entry.js +6 -0
- package/dist/solutions-components/p-9e5d59aa.entry.js +11 -0
- package/dist/solutions-components/p-9f89901b.entry.js +6 -0
- package/dist/solutions-components/p-9fa8da35.entry.js +11 -0
- package/dist/solutions-components/p-a28502ac.entry.js +6 -0
- package/dist/solutions-components/p-a5df8093.entry.js +11 -0
- package/dist/solutions-components/p-a757bf75.js +16 -0
- package/dist/solutions-components/p-a7eded8f.entry.js +11 -0
- package/dist/solutions-components/p-a91fc014.entry.js +6 -0
- package/dist/solutions-components/p-aa6656f0.js +6 -0
- package/dist/solutions-components/p-abe60b81.entry.js +6 -0
- package/dist/solutions-components/p-ad66b010.entry.js +11 -0
- package/dist/solutions-components/p-adb57e25.entry.js +6 -0
- package/dist/solutions-components/p-add122e7.js +6 -0
- package/dist/solutions-components/p-ae357552.entry.js +11 -0
- package/dist/solutions-components/p-af4f2d4a.js +11 -0
- package/dist/solutions-components/p-b0d0022c.entry.js +11 -0
- package/dist/solutions-components/p-b14d2423.entry.js +11 -0
- package/dist/solutions-components/p-b1546c15.js +17 -0
- package/dist/solutions-components/p-b1c45ef8.entry.js +6 -0
- package/dist/solutions-components/p-b1f3c713.js +6 -0
- package/dist/solutions-components/p-b22046db.js +11 -0
- package/dist/solutions-components/p-b290affa.js +17 -0
- package/dist/solutions-components/p-b3b70f6b.entry.js +12 -0
- package/dist/solutions-components/p-b4a94ffe.entry.js +6 -0
- package/dist/solutions-components/p-b62871c3.entry.js +11 -0
- package/dist/solutions-components/p-b6a36bfe.js +6 -0
- package/dist/solutions-components/p-b915029b.js +6 -0
- package/dist/solutions-components/p-b98e9479.js +11 -0
- package/dist/solutions-components/p-b9bc3e7b.entry.js +17 -0
- package/dist/solutions-components/p-ba539e5a.entry.js +11 -0
- package/dist/solutions-components/p-bad614c0.entry.js +11 -0
- package/dist/solutions-components/p-bb158785.entry.js +11 -0
- package/dist/solutions-components/p-bc281e3b.js +6 -0
- package/dist/solutions-components/p-bc2b747e.js +6 -0
- package/dist/solutions-components/p-be78bc15.entry.js +6 -0
- package/dist/solutions-components/p-bf154e41.js +6 -0
- package/dist/solutions-components/p-c0f30138.entry.js +11 -0
- package/dist/solutions-components/p-c109e720.js +6 -0
- package/dist/solutions-components/p-c115215d.entry.js +6 -0
- package/dist/solutions-components/p-c433cc38.js +6 -0
- package/dist/solutions-components/p-c43fdf49.entry.js +16 -0
- package/dist/solutions-components/p-c5e0e5ef.js +6 -0
- package/dist/solutions-components/p-c766823c.entry.js +11 -0
- package/dist/solutions-components/p-c8a2c326.entry.js +29 -0
- package/dist/solutions-components/p-c8b26c56.js +6 -0
- package/dist/solutions-components/p-c900e9e8.entry.js +17 -0
- package/dist/solutions-components/p-c9dae6fb.entry.js +6 -0
- package/dist/solutions-components/p-cbf0769a.entry.js +11 -0
- package/dist/solutions-components/p-cc7d784e.entry.js +6 -0
- package/dist/solutions-components/p-ce8a69ef.entry.js +11 -0
- package/dist/solutions-components/p-cea51591.js +16 -0
- package/dist/solutions-components/p-d0b1d33f.js +6 -0
- package/dist/solutions-components/p-d0b36f2e.entry.js +6 -0
- package/dist/solutions-components/p-d2a6e970.js +6 -0
- package/dist/solutions-components/p-d2dc7d65.entry.js +11 -0
- package/dist/solutions-components/p-d60dc1f1.entry.js +11 -0
- package/dist/solutions-components/p-d654b676.entry.js +11 -0
- package/dist/solutions-components/p-d65f8b73.js +6 -0
- package/dist/solutions-components/p-d82ee2f9.entry.js +6 -0
- package/dist/solutions-components/p-d96fe526.entry.js +22 -0
- package/dist/solutions-components/p-da0cb140.entry.js +11 -0
- package/dist/solutions-components/p-da36faca.entry.js +6 -0
- package/dist/solutions-components/p-daf6a012.entry.js +6 -0
- package/dist/solutions-components/p-dba4704c.js +11 -0
- package/dist/solutions-components/p-dd16d94e.js +6 -0
- package/dist/solutions-components/p-dd689226.js +11 -0
- package/dist/solutions-components/p-dd6a34c6.entry.js +17 -0
- package/dist/solutions-components/p-df4bfe45.js +6 -0
- package/dist/solutions-components/p-dfe18931.js +6 -0
- package/dist/solutions-components/p-e2570a80.js +11 -0
- package/dist/solutions-components/p-ea9e0a79.js +6 -0
- package/dist/solutions-components/p-eb88fddc.js +6 -0
- package/dist/solutions-components/p-ed4fb4a1.entry.js +6 -0
- package/dist/solutions-components/p-ef0c43dc.js +6 -0
- package/dist/solutions-components/p-f05bbd82.entry.js +11 -0
- package/dist/solutions-components/p-f0ceb675.entry.js +11 -0
- package/dist/solutions-components/p-f1f356f0.js +7 -0
- package/dist/solutions-components/p-f46f7da7.entry.js +12 -0
- package/dist/solutions-components/p-f6e3d19a.entry.js +11 -0
- package/dist/solutions-components/p-f6e81cf8.js +22 -0
- package/dist/solutions-components/p-f7085e9e.entry.js +17 -0
- package/dist/solutions-components/p-f8ea8e73.js +6 -0
- package/dist/solutions-components/p-fb6ca6dd.entry.js +11 -0
- package/dist/solutions-components/p-fdaf1290.entry.js +11 -0
- package/dist/solutions-components/p-fe719f16.entry.js +6 -0
- package/dist/solutions-components/p-feebdac9.entry.js +17 -0
- package/dist/solutions-components/p-ff15447c.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/interfaces.ts +14 -0
- package/dist/types/components/consent-manager/consent-manager.d.ts +23 -20
- package/dist/types/components/delete-button/delete-button.d.ts +1 -1
- package/dist/types/components/edit-card/edit-card.d.ts +4 -0
- package/dist/types/components/layer-table/layer-table.d.ts +55 -7
- package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +18 -2
- package/dist/types/components/map-picker/map-picker.d.ts +10 -2
- package/dist/types/components.d.ts +67 -34
- package/dist/types/preact.d.ts +6 -7
- package/dist/types/stencil-public-runtime.d.ts +6 -0
- package/dist/types/utils/interfaces.d.ts +12 -0
- package/package.json +13 -13
- package/dist/cjs/ExpandToggle-c5e409ce.js +0 -115
- package/dist/cjs/FloatingArrow-c2b50d47.js +0 -48
- package/dist/cjs/Heading-3e2d46fd.js +0 -25
- package/dist/cjs/Validation-c065b988.js +0 -20
- package/dist/cjs/app-globals-09eb9eb5.js +0 -67
- package/dist/cjs/ar-0afb390b.js +0 -106
- package/dist/cjs/arcgis-login.cjs.entry.js +0 -61
- package/dist/cjs/bg-b1be4ef3.js +0 -84
- package/dist/cjs/browser-0bedacf5.js +0 -35
- package/dist/cjs/bs-a314390f.js +0 -53
- package/dist/cjs/ca-b8e89e47.js +0 -73
- package/dist/cjs/calcite-alert_6.cjs.entry.js +0 -2105
- package/dist/cjs/calcite-input-time-picker-42ed419f.js +0 -1870
- package/dist/cjs/calcite-modal.cjs.entry.js +0 -393
- package/dist/cjs/common-eee0c33f.js +0 -38
- package/dist/cjs/conditionalSlot-003e6975.js +0 -54
- package/dist/cjs/config-2282fdac.js +0 -40
- package/dist/cjs/constants-bed33322.js +0 -860
- package/dist/cjs/cs-f14626e8.js +0 -149
- package/dist/cjs/da-2fce32d4.js +0 -69
- package/dist/cjs/date-e763caec.js +0 -264
- package/dist/cjs/de-2c1fce6f.js +0 -93
- package/dist/cjs/de-at-94de293d.js +0 -92
- package/dist/cjs/de-ch-d42f4faf.js +0 -92
- package/dist/cjs/delete-dialog.cjs.entry.js +0 -131
- package/dist/cjs/downloadUtils-76bc7e30.js +0 -3240
- package/dist/cjs/el-8092eeb9.js +0 -68
- package/dist/cjs/en-au-9bc4467f.js +0 -68
- package/dist/cjs/en-ca-d9140239.js +0 -67
- package/dist/cjs/en-gb-f5e2af8e.js +0 -71
- package/dist/cjs/es-4b6327d7.js +0 -68
- package/dist/cjs/es-mx-f729412a.js +0 -67
- package/dist/cjs/et-ec115eb3.js +0 -94
- package/dist/cjs/fi-95701850.js +0 -117
- package/dist/cjs/floating-ui-a8693586.js +0 -2413
- package/dist/cjs/focusTrapComponent-48fdd3f6.js +0 -1013
- package/dist/cjs/form-a36bd0e5.js +0 -381
- package/dist/cjs/fr-ch-a231f229.js +0 -68
- package/dist/cjs/fr-e22a2684.js +0 -70
- package/dist/cjs/he-d0070eb9.js +0 -107
- package/dist/cjs/helpers-0493759d.js +0 -940
- package/dist/cjs/hi-04615e27.js +0 -67
- package/dist/cjs/hr-27fefb6d.js +0 -82
- package/dist/cjs/hu-63da9819.js +0 -90
- package/dist/cjs/id-d4fe65cd.js +0 -68
- package/dist/cjs/index-2b13a4d5.js +0 -201
- package/dist/cjs/index-4b68e4b4.js +0 -1770
- package/dist/cjs/index-f052f656.js +0 -2156
- package/dist/cjs/index.es-8336efed.js +0 -11307
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +0 -590
- package/dist/cjs/interactive-7ccdd728.js +0 -85
- package/dist/cjs/it-418a53bf.js +0 -68
- package/dist/cjs/it-ch-7f4632ab.js +0 -68
- package/dist/cjs/ja-6c5d5c7d.js +0 -74
- package/dist/cjs/ko-e4154b91.js +0 -74
- package/dist/cjs/loadable-f3fe73a2.js +0 -98
- package/dist/cjs/locale-339b55f0.js +0 -160
- package/dist/cjs/locale-4b820602.js +0 -120
- package/dist/cjs/locale-7eb2f603.js +0 -605
- package/dist/cjs/logger-912d7f26.js +0 -61
- package/dist/cjs/lt-d6dae6fd.js +0 -99
- package/dist/cjs/lv-bcf9724a.js +0 -68
- package/dist/cjs/mk-171505d2.js +0 -68
- package/dist/cjs/nb-0dcee19c.js +0 -69
- package/dist/cjs/nl-dace5864.js +0 -69
- package/dist/cjs/observers-affd684f.js +0 -58
- package/dist/cjs/openCloseComponent-044883e4.js +0 -65
- package/dist/cjs/pl-7755a609.js +0 -116
- package/dist/cjs/popupUtils-bc762034.js +0 -121
- package/dist/cjs/pt-3121cc39.js +0 -69
- package/dist/cjs/pt-br-67b16e3a.js +0 -67
- package/dist/cjs/publicNotificationStore-570204c1.js +0 -47
- package/dist/cjs/restHelpersGet-5c2245a3.js +0 -991
- package/dist/cjs/ro-7f726306.js +0 -68
- package/dist/cjs/ru-fc11963d.js +0 -128
- package/dist/cjs/share-item.cjs.entry.js +0 -61
- package/dist/cjs/shared-list-render-3d6ec3ca.js +0 -361
- package/dist/cjs/sk-e85b9c15.js +0 -150
- package/dist/cjs/sl-9eb375c2.js +0 -170
- package/dist/cjs/solution-resource-40e70253.js +0 -145
- package/dist/cjs/solution-store-4de89072.js +0 -1354
- package/dist/cjs/sr-1d2513be.js +0 -103
- package/dist/cjs/sv-f7693c9f.js +0 -73
- package/dist/cjs/t9n-64df74f3.js +0 -108
- package/dist/cjs/templates-0b7f886f.js +0 -408
- package/dist/cjs/th-0d2328bb.js +0 -67
- package/dist/cjs/time-513586eb.js +0 -301
- package/dist/cjs/tr-2c074411.js +0 -68
- package/dist/cjs/uk-5e16db67.js +0 -106
- package/dist/cjs/utils-3f10ea6b.js +0 -153
- package/dist/cjs/utils-d0049d76.js +0 -79
- package/dist/cjs/vi-2a4d8334.js +0 -72
- package/dist/cjs/zh-cn-126bcbc0.js +0 -96
- package/dist/cjs/zh-hk-aeeba861.js +0 -94
- package/dist/cjs/zh-tw-0cfb6e20.js +0 -94
- package/dist/collection/components/arcgis-login/arcgis-login.css +0 -19
- package/dist/collection/components/arcgis-login/arcgis-login.js +0 -80
- package/dist/collection/components/share-item/share-item.css +0 -19
- package/dist/collection/components/share-item/share-item.js +0 -80
- package/dist/components/arcgis-login.d.ts +0 -11
- package/dist/components/arcgis-login.js +0 -76
- package/dist/components/share-item.d.ts +0 -11
- package/dist/components/share-item.js +0 -76
- package/dist/esm/ExpandToggle-d2cde0b5.js +0 -108
- package/dist/esm/FloatingArrow-1ba04e83.js +0 -46
- package/dist/esm/Heading-82d9e017.js +0 -22
- package/dist/esm/Validation-594a63f5.js +0 -18
- package/dist/esm/app-globals-177bd1cd.js +0 -65
- package/dist/esm/ar-a85b5d05.js +0 -104
- package/dist/esm/arcgis-login.entry.js +0 -57
- package/dist/esm/bg-def28c6d.js +0 -82
- package/dist/esm/browser-e3f463e1.js +0 -32
- package/dist/esm/bs-86bb2bcb.js +0 -51
- package/dist/esm/ca-823e6ba8.js +0 -71
- package/dist/esm/calcite-alert_6.entry.js +0 -2096
- package/dist/esm/calcite-input-time-picker-c45e1964.js +0 -1867
- package/dist/esm/calcite-modal.entry.js +0 -389
- package/dist/esm/common-c3bbba83.js +0 -36
- package/dist/esm/conditionalSlot-720a3c33.js +0 -51
- package/dist/esm/config-3af0e436.js +0 -36
- package/dist/esm/constants-637a40f5.js +0 -856
- package/dist/esm/cs-87414fd8.js +0 -147
- package/dist/esm/da-f7060594.js +0 -67
- package/dist/esm/date-8f6c3f50.js +0 -248
- package/dist/esm/de-18aa2195.js +0 -91
- package/dist/esm/de-at-00f0ce55.js +0 -90
- package/dist/esm/de-ch-2bf886c0.js +0 -90
- package/dist/esm/delete-dialog.entry.js +0 -127
- package/dist/esm/dom-6f6759df.js +0 -1165
- package/dist/esm/downloadUtils-bc7a4ba1.js +0 -3233
- package/dist/esm/el-0c5df4ce.js +0 -66
- package/dist/esm/en-au-947d067e.js +0 -66
- package/dist/esm/en-ca-d80eb647.js +0 -65
- package/dist/esm/en-gb-78272f13.js +0 -69
- package/dist/esm/es-6b8b399b.js +0 -66
- package/dist/esm/es-mx-4f12df51.js +0 -65
- package/dist/esm/et-11aeba76.js +0 -92
- package/dist/esm/fi-c44d11d6.js +0 -115
- package/dist/esm/floating-ui-d21020a0.js +0 -2404
- package/dist/esm/focusTrapComponent-1ddc67c5.js +0 -1008
- package/dist/esm/form-e9b1ad9a.js +0 -372
- package/dist/esm/fr-cac28d20.js +0 -68
- package/dist/esm/fr-ch-a324bd02.js +0 -66
- package/dist/esm/he-eab95e66.js +0 -105
- package/dist/esm/helpers-91ca0f44.js +0 -913
- package/dist/esm/hi-cefe2a7e.js +0 -65
- package/dist/esm/hr-f863024d.js +0 -80
- package/dist/esm/hu-2921d1d5.js +0 -88
- package/dist/esm/id-4e25c1e7.js +0 -66
- package/dist/esm/index-39bc2e6d.js +0 -199
- package/dist/esm/index-904bc599.js +0 -1736
- package/dist/esm/index-e14fade9.js +0 -2154
- package/dist/esm/index.es-0d189a34.js +0 -11220
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +0 -584
- package/dist/esm/interactive-949b348f.js +0 -82
- package/dist/esm/it-1f2ce2fc.js +0 -66
- package/dist/esm/it-ch-fa4f6a28.js +0 -66
- package/dist/esm/ja-dd6ac9b5.js +0 -72
- package/dist/esm/ko-3c269b4f.js +0 -72
- package/dist/esm/label-1ef4763d.js +0 -179
- package/dist/esm/loadable-421e634e.js +0 -93
- package/dist/esm/locale-0d06fca0.js +0 -155
- package/dist/esm/locale-77038bee.js +0 -115
- package/dist/esm/locale-a75d14ff.js +0 -591
- package/dist/esm/logger-5c7a2fec.js +0 -59
- package/dist/esm/lt-8f5fd3eb.js +0 -97
- package/dist/esm/lv-d1afc7ed.js +0 -66
- package/dist/esm/mk-794650fc.js +0 -66
- package/dist/esm/nb-800989aa.js +0 -67
- package/dist/esm/nl-634b9b85.js +0 -67
- package/dist/esm/observers-2d4fa9e3.js +0 -56
- package/dist/esm/openCloseComponent-4621d4ae.js +0 -63
- package/dist/esm/pl-45fb968c.js +0 -114
- package/dist/esm/popupUtils-03dc398a.js +0 -119
- package/dist/esm/pt-bd7887a6.js +0 -67
- package/dist/esm/pt-br-d9181dce.js +0 -65
- package/dist/esm/publicNotificationStore-8f6b0f93.js +0 -45
- package/dist/esm/restHelpersGet-48113381.js +0 -976
- package/dist/esm/ro-31fe0dcc.js +0 -66
- package/dist/esm/ru-e73bc075.js +0 -126
- package/dist/esm/share-item.entry.js +0 -57
- package/dist/esm/shared-list-render-83bb7274.js +0 -339
- package/dist/esm/sk-e7e24146.js +0 -148
- package/dist/esm/sl-ad96d047.js +0 -168
- package/dist/esm/solution-resource-f5809979.js +0 -142
- package/dist/esm/solution-store-ff13861b.js +0 -1352
- package/dist/esm/sr-785166a3.js +0 -101
- package/dist/esm/sv-9f422817.js +0 -71
- package/dist/esm/t9n-23649a4a.js +0 -103
- package/dist/esm/templates-0b442208.js +0 -402
- package/dist/esm/th-7e8b3dad.js +0 -65
- package/dist/esm/time-5ca488ba.js +0 -286
- package/dist/esm/tr-1b1dd6db.js +0 -66
- package/dist/esm/uk-13d0afbf.js +0 -104
- package/dist/esm/utils-0a78d3c9.js +0 -142
- package/dist/esm/utils-a564ca55.js +0 -66
- package/dist/esm/vi-82ec876c.js +0 -70
- package/dist/esm/zh-cn-c4181895.js +0 -94
- package/dist/esm/zh-hk-752cc263.js +0 -92
- package/dist/esm/zh-tw-e653ba6c.js +0 -92
- package/dist/solutions-components/p-053effee.entry.js +0 -6
- package/dist/solutions-components/p-05ae2b11.entry.js +0 -6
- package/dist/solutions-components/p-087c3740.entry.js +0 -6
- package/dist/solutions-components/p-08c18450.js +0 -11
- package/dist/solutions-components/p-09543b4e.js +0 -6
- package/dist/solutions-components/p-09d34b2b.entry.js +0 -11
- package/dist/solutions-components/p-0af967af.js +0 -6
- package/dist/solutions-components/p-0f8241d2.entry.js +0 -6
- package/dist/solutions-components/p-10a158fd.entry.js +0 -11
- package/dist/solutions-components/p-115af8e4.entry.js +0 -11
- package/dist/solutions-components/p-11c2426d.entry.js +0 -20
- package/dist/solutions-components/p-1336a071.entry.js +0 -6
- package/dist/solutions-components/p-1588fad8.entry.js +0 -6
- package/dist/solutions-components/p-177b4cbc.js +0 -16
- package/dist/solutions-components/p-184b270d.entry.js +0 -11
- package/dist/solutions-components/p-191f30e1.entry.js +0 -11
- package/dist/solutions-components/p-19e89591.entry.js +0 -12
- package/dist/solutions-components/p-1afc5947.entry.js +0 -11
- package/dist/solutions-components/p-1b1ff60a.entry.js +0 -6
- package/dist/solutions-components/p-1e8af7ed.js +0 -6
- package/dist/solutions-components/p-1f65aed7.js +0 -6
- package/dist/solutions-components/p-1fafdc23.entry.js +0 -11
- package/dist/solutions-components/p-20ed3f7f.entry.js +0 -11
- package/dist/solutions-components/p-2105e658.entry.js +0 -6
- package/dist/solutions-components/p-25f30972.entry.js +0 -11
- package/dist/solutions-components/p-26ba0cc7.js +0 -17
- package/dist/solutions-components/p-2714a658.entry.js +0 -6
- package/dist/solutions-components/p-2714ede8.entry.js +0 -16
- package/dist/solutions-components/p-274aa753.entry.js +0 -6
- package/dist/solutions-components/p-294cd25c.js +0 -6
- package/dist/solutions-components/p-2b9f9f7d.js +0 -16
- package/dist/solutions-components/p-2d9072d8.entry.js +0 -11
- package/dist/solutions-components/p-2e0aea4e.entry.js +0 -11
- package/dist/solutions-components/p-2e42f34c.js +0 -6
- package/dist/solutions-components/p-2f1ef41d.entry.js +0 -6
- package/dist/solutions-components/p-2f784608.entry.js +0 -6
- package/dist/solutions-components/p-351c7cbf.entry.js +0 -6
- package/dist/solutions-components/p-368902f1.entry.js +0 -6
- package/dist/solutions-components/p-39e21b70.js +0 -6
- package/dist/solutions-components/p-3aee989b.js +0 -11
- package/dist/solutions-components/p-3af39767.entry.js +0 -6
- package/dist/solutions-components/p-3ba388b6.entry.js +0 -17
- package/dist/solutions-components/p-3d999f0f.entry.js +0 -6
- package/dist/solutions-components/p-3e44cfab.entry.js +0 -6
- package/dist/solutions-components/p-3e87c19c.js +0 -6
- package/dist/solutions-components/p-3f9ec755.js +0 -6
- package/dist/solutions-components/p-3fe6c230.entry.js +0 -6
- package/dist/solutions-components/p-41503b16.entry.js +0 -6
- package/dist/solutions-components/p-4416d650.entry.js +0 -17
- package/dist/solutions-components/p-443be7fe.js +0 -6
- package/dist/solutions-components/p-44dc3dec.entry.js +0 -6
- package/dist/solutions-components/p-4695cfab.js +0 -6
- package/dist/solutions-components/p-499489c5.entry.js +0 -6
- package/dist/solutions-components/p-49df6eb3.entry.js +0 -11
- package/dist/solutions-components/p-4a665563.js +0 -6
- package/dist/solutions-components/p-4b15f4a4.entry.js +0 -11
- package/dist/solutions-components/p-4b47caf1.entry.js +0 -11
- package/dist/solutions-components/p-4d6e359e.entry.js +0 -11
- package/dist/solutions-components/p-4e3a18b1.js +0 -6
- package/dist/solutions-components/p-4e6eb06e.js +0 -7
- package/dist/solutions-components/p-4ff35ed4.js +0 -6
- package/dist/solutions-components/p-5104cc98.js +0 -6
- package/dist/solutions-components/p-51c6e6fe.js +0 -21
- package/dist/solutions-components/p-545a48dc.entry.js +0 -11
- package/dist/solutions-components/p-55bbfdbc.entry.js +0 -6
- package/dist/solutions-components/p-5804e6e1.entry.js +0 -22
- package/dist/solutions-components/p-58cff07f.entry.js +0 -11
- package/dist/solutions-components/p-592ab45c.js +0 -6
- package/dist/solutions-components/p-592f2000.entry.js +0 -6
- package/dist/solutions-components/p-5b5b78c0.js +0 -6
- package/dist/solutions-components/p-5e71e72a.js +0 -21
- package/dist/solutions-components/p-614a66c4.entry.js +0 -11
- package/dist/solutions-components/p-6166d8b4.js +0 -16
- package/dist/solutions-components/p-61cc2efe.js +0 -6
- package/dist/solutions-components/p-62c10928.entry.js +0 -6
- package/dist/solutions-components/p-63d334b2.entry.js +0 -6
- package/dist/solutions-components/p-677db47a.js +0 -6
- package/dist/solutions-components/p-68375137.js +0 -6
- package/dist/solutions-components/p-6a3f2249.entry.js +0 -6
- package/dist/solutions-components/p-6acd19c5.entry.js +0 -12
- package/dist/solutions-components/p-6b5b52c1.entry.js +0 -21
- package/dist/solutions-components/p-6cad2a22.js +0 -6
- package/dist/solutions-components/p-6f606cdb.js +0 -61
- package/dist/solutions-components/p-7059fc40.js +0 -6
- package/dist/solutions-components/p-70eba636.entry.js +0 -6
- package/dist/solutions-components/p-71f31d39.js +0 -6
- package/dist/solutions-components/p-74720d2b.js +0 -6
- package/dist/solutions-components/p-7530a02f.js +0 -30
- package/dist/solutions-components/p-764ff506.entry.js +0 -11
- package/dist/solutions-components/p-76a1236d.entry.js +0 -6
- package/dist/solutions-components/p-770a5a64.js +0 -11
- package/dist/solutions-components/p-77865541.entry.js +0 -11
- package/dist/solutions-components/p-78b6d3fe.entry.js +0 -6
- package/dist/solutions-components/p-78df7603.entry.js +0 -11
- package/dist/solutions-components/p-78e09c03.js +0 -6
- package/dist/solutions-components/p-7a7951bd.entry.js +0 -11
- package/dist/solutions-components/p-7bcfe068.entry.js +0 -6
- package/dist/solutions-components/p-7cc8e95a.js +0 -11
- package/dist/solutions-components/p-7d5d1b0a.js +0 -11
- package/dist/solutions-components/p-7eee9aa8.js +0 -11
- package/dist/solutions-components/p-7f68e6a4.js +0 -11
- package/dist/solutions-components/p-7fb51464.entry.js +0 -17
- package/dist/solutions-components/p-80ff858b.js +0 -6
- package/dist/solutions-components/p-8304ce4b.js +0 -17
- package/dist/solutions-components/p-85c068fd.js +0 -6
- package/dist/solutions-components/p-85c3237c.js +0 -11
- package/dist/solutions-components/p-860099d5.js +0 -6
- package/dist/solutions-components/p-86a5caf8.js +0 -6
- package/dist/solutions-components/p-86db882f.js +0 -6
- package/dist/solutions-components/p-872986ce.entry.js +0 -11
- package/dist/solutions-components/p-8a2ccb1e.js +0 -6
- package/dist/solutions-components/p-8cb9ecf6.js +0 -6
- package/dist/solutions-components/p-8d811472.js +0 -6
- package/dist/solutions-components/p-8dc9d5b6.entry.js +0 -6
- package/dist/solutions-components/p-8f8c7045.entry.js +0 -6
- package/dist/solutions-components/p-8ff43000.entry.js +0 -11
- package/dist/solutions-components/p-91a83986.entry.js +0 -47
- package/dist/solutions-components/p-928f0b5e.entry.js +0 -6
- package/dist/solutions-components/p-93d03bf0.js +0 -11
- package/dist/solutions-components/p-94e51621.entry.js +0 -6
- package/dist/solutions-components/p-977c099e.js +0 -11
- package/dist/solutions-components/p-9bb44f57.js +0 -65
- package/dist/solutions-components/p-9c25ee2c.entry.js +0 -6
- package/dist/solutions-components/p-9c5d5171.js +0 -11
- package/dist/solutions-components/p-9ce8e34f.js +0 -11
- package/dist/solutions-components/p-9d86dd68.js +0 -6
- package/dist/solutions-components/p-9d9e0e74.entry.js +0 -6
- package/dist/solutions-components/p-9e8d7c1d.entry.js +0 -17
- package/dist/solutions-components/p-9e996faa.js +0 -6
- package/dist/solutions-components/p-a1473254.entry.js +0 -11
- package/dist/solutions-components/p-a1ed15b8.entry.js +0 -11
- package/dist/solutions-components/p-a329f05c.entry.js +0 -6
- package/dist/solutions-components/p-a52fa87b.entry.js +0 -11
- package/dist/solutions-components/p-a5f6a4b9.entry.js +0 -23
- package/dist/solutions-components/p-a6790373.entry.js +0 -11
- package/dist/solutions-components/p-a693aa25.entry.js +0 -17
- package/dist/solutions-components/p-a7d249d9.js +0 -6
- package/dist/solutions-components/p-a7d4b1a4.js +0 -6
- package/dist/solutions-components/p-ac9c4111.entry.js +0 -12
- package/dist/solutions-components/p-acc4d847.entry.js +0 -11
- package/dist/solutions-components/p-adabe68e.entry.js +0 -6
- package/dist/solutions-components/p-ae5ea416.entry.js +0 -6
- package/dist/solutions-components/p-b138a65e.js +0 -11
- package/dist/solutions-components/p-b49e1a78.js +0 -6
- package/dist/solutions-components/p-b5a5da41.entry.js +0 -17
- package/dist/solutions-components/p-b6d50640.entry.js +0 -6
- package/dist/solutions-components/p-b8d1b57a.entry.js +0 -6
- package/dist/solutions-components/p-b90978d2.js +0 -6
- package/dist/solutions-components/p-b95968fa.entry.js +0 -6
- package/dist/solutions-components/p-bab47a85.entry.js +0 -29
- package/dist/solutions-components/p-bd35725f.js +0 -6
- package/dist/solutions-components/p-be6cd650.entry.js +0 -11
- package/dist/solutions-components/p-c0ceb17a.js +0 -6
- package/dist/solutions-components/p-c2ceb29c.js +0 -6
- package/dist/solutions-components/p-c350eacb.js +0 -143
- package/dist/solutions-components/p-c399f2b8.entry.js +0 -6
- package/dist/solutions-components/p-c604728b.js +0 -6
- package/dist/solutions-components/p-c63451e1.entry.js +0 -11
- package/dist/solutions-components/p-c7f86f73.entry.js +0 -6
- package/dist/solutions-components/p-c8e22575.entry.js +0 -22
- package/dist/solutions-components/p-c9422007.js +0 -6
- package/dist/solutions-components/p-c9715704.entry.js +0 -11
- package/dist/solutions-components/p-cb8d90d1.js +0 -11
- package/dist/solutions-components/p-cc6f6e41.entry.js +0 -17
- package/dist/solutions-components/p-cd482a33.js +0 -21
- package/dist/solutions-components/p-cdc63710.entry.js +0 -11
- package/dist/solutions-components/p-ce7b0b1a.entry.js +0 -11
- package/dist/solutions-components/p-cf2947f6.entry.js +0 -11
- package/dist/solutions-components/p-d02fb95c.entry.js +0 -17
- package/dist/solutions-components/p-d031cf50.entry.js +0 -11
- package/dist/solutions-components/p-d0d020a5.js +0 -37
- package/dist/solutions-components/p-d0ebd10d.js +0 -6
- package/dist/solutions-components/p-d154b5a1.entry.js +0 -11
- package/dist/solutions-components/p-d1b2484b.entry.js +0 -17
- package/dist/solutions-components/p-d2c2a105.entry.js +0 -11
- package/dist/solutions-components/p-d2f8d8a8.entry.js +0 -6
- package/dist/solutions-components/p-d37a68f7.entry.js +0 -6
- package/dist/solutions-components/p-d390df76.entry.js +0 -11
- package/dist/solutions-components/p-d3e1cc81.js +0 -6
- package/dist/solutions-components/p-d851b11e.js +0 -6
- package/dist/solutions-components/p-d9d25da8.entry.js +0 -11
- package/dist/solutions-components/p-d9e9fe80.js +0 -16
- package/dist/solutions-components/p-d9f3778e.js +0 -6
- package/dist/solutions-components/p-daae2ae7.js +0 -6
- package/dist/solutions-components/p-db7d5db8.entry.js +0 -6
- package/dist/solutions-components/p-dc9d4be3.js +0 -6
- package/dist/solutions-components/p-ddb37cba.entry.js +0 -11
- package/dist/solutions-components/p-df062602.entry.js +0 -11
- package/dist/solutions-components/p-e29e57db.entry.js +0 -6
- package/dist/solutions-components/p-e2fd2e29.js +0 -6
- package/dist/solutions-components/p-e3111b70.js +0 -6
- package/dist/solutions-components/p-e37e117f.js +0 -11
- package/dist/solutions-components/p-e4be63b6.entry.js +0 -11
- package/dist/solutions-components/p-e4e7add2.js +0 -11
- package/dist/solutions-components/p-e625aa69.entry.js +0 -6
- package/dist/solutions-components/p-e93a531c.entry.js +0 -11
- package/dist/solutions-components/p-e9a0d2f3.entry.js +0 -6
- package/dist/solutions-components/p-e9d3365f.js +0 -22
- package/dist/solutions-components/p-e9fcc194.entry.js +0 -6
- package/dist/solutions-components/p-ee487e75.entry.js +0 -11
- package/dist/solutions-components/p-ef773a13.js +0 -11
- package/dist/solutions-components/p-f09744aa.entry.js +0 -6
- package/dist/solutions-components/p-f3119757.entry.js +0 -11
- package/dist/solutions-components/p-f4aadb3b.js +0 -36
- package/dist/solutions-components/p-f5789e08.entry.js +0 -29
- package/dist/solutions-components/p-f57978f3.entry.js +0 -6
- package/dist/solutions-components/p-f6cc1cf8.entry.js +0 -17
- package/dist/solutions-components/p-f845da58.js +0 -6
- package/dist/solutions-components/p-fbf63d14.entry.js +0 -6
- package/dist/solutions-components/p-fc7c88c8.js +0 -6
- package/dist/solutions-components/p-fd019d15.js +0 -11
- package/dist/solutions-components/p-fd40d066.js +0 -6
- package/dist/solutions-components/p-febf9f75.entry.js +0 -11
- package/dist/solutions-components/p-ff9e28d1.js +0 -488
- package/dist/types/components/arcgis-login/arcgis-login.d.ts +0 -19
- package/dist/types/components/share-item/share-item.d.ts +0 -19
@@ -1,37 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{c as t,a as r}from"./p-d4056c1c.js";import"./p-7530a02f.js";
|
7
|
-
/** @license
|
8
|
-
* Copyright 2018 Esri
|
9
|
-
*
|
10
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
* you may not use this file except in compliance with the License.
|
12
|
-
* You may obtain a copy of the License at
|
13
|
-
*
|
14
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
*
|
16
|
-
* Unless required by applicable law or agreed to in writing, software
|
17
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
* See the License for the specific language governing permissions and
|
20
|
-
* limitations under the License.
|
21
|
-
*/
|
22
|
-
const i=1;var n,e,s;!function(t){t[t.Data=0]="Data",t[t.Info=1]="Info",t[t.Metadata=2]="Metadata",t[t.Resource=3]="Resource",t[t.Thumbnail=4]="Thumbnail"}(n||(n={})),function(t){t[t.Data=0]="Data",t[t.Info=1]="Info",t[t.Metadata=2]="Metadata",t[t.Resource=3]="Resource",t[t.Thumbnail=4]="Thumbnail"}(e||(e={})),function(t){t[t.Started=0]="Started",t[t.Created=1]="Created",t[t.Cancelled=2]="Cancelled",t[t.Finished=3]="Finished",t[t.Ignored=4]="Ignored",t[t.Failed=5]="Failed",t[t.Unknown=6]="Unknown"}(s||(s={}));const o={exports:{}}.exports=function t(i,n,e){function s(f,a){if(!n[f]){if(!i[f]){var u="function"==typeof r&&r;if(!a&&u)return u(f,!0);if(o)return o(f,!0);var h=new Error("Cannot find module '"+f+"'");throw h.code="MODULE_NOT_FOUND",h}var c=n[f]={exports:{}};i[f][0].call(c.exports,(function(t){return s(i[f][1][t]||t)}),c,c.exports,t,i,n,e)}return n[f].exports}for(var o="function"==typeof r&&r,f=0;f<e.length;f++)s(e[f]);return s}({1:[function(t,r,i){var n=t("./utils"),e=t("./support"),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(t){for(var r,i,e,o,f,a,u=[],h=0,c=t.length,l=c,d="string"!==n.getTypeOf(t);h<t.length;)l=c-h,e=d?(r=t[h++],i=h<c?t[h++]:0,h<c?t[h++]:0):(r=t.charCodeAt(h++),i=h<c?t.charCodeAt(h++):0,h<c?t.charCodeAt(h++):0),o=(3&r)<<4|i>>4,f=1<l?(15&i)<<2|e>>6:64,a=2<l?63&e:64,u.push(s.charAt(r>>2)+s.charAt(o)+s.charAt(f)+s.charAt(a));return u.join("")},i.decode=function(t){var r,i,n,o,f,a,u=0,h=0,c="data:";if(t.substr(0,5)===c)throw new Error("Invalid base64 input, it looks like a data url.");var l,d=3*(t=t.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(t.charAt(t.length-1)===s.charAt(64)&&d--,t.charAt(t.length-2)===s.charAt(64)&&d--,d%1!=0)throw new Error("Invalid base64 input, bad content length.");for(l=e.uint8array?new Uint8Array(0|d):new Array(0|d);u<t.length;)r=s.indexOf(t.charAt(u++))<<2|(o=s.indexOf(t.charAt(u++)))>>4,i=(15&o)<<4|(f=s.indexOf(t.charAt(u++)))>>2,n=(3&f)<<6|(a=s.indexOf(t.charAt(u++))),l[h++]=r,64!==f&&(l[h++]=i),64!==a&&(l[h++]=n);return l}},{"./support":30,"./utils":32}],2:[function(t,r){var i=t("./external"),n=t("./stream/DataWorker"),e=t("./stream/Crc32Probe"),s=t("./stream/DataLengthProbe");function o(t,r,i,n,e){this.compressedSize=t,this.uncompressedSize=r,this.crc32=i,this.compression=n,this.compressedContent=e}o.prototype={getContentWorker:function(){var t=new n(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new s("data_length")),r=this;return t.on("end",(function(){if(this.streamInfo.data_length!==r.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),t},getCompressedWorker:function(){return new n(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},o.createWorkerFrom=function(t,r,i){return t.pipe(new e).pipe(new s("uncompressedSize")).pipe(r.compressWorker(i)).pipe(new s("compressedSize")).withStreamInfo("compression",r)},r.exports=o},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,r,i){var n=t("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},i.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,r){var i=t("./utils"),n=function(){for(var t,r=[],i=0;i<256;i++){t=i;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;r[i]=t}return r}();r.exports=function(t,r){return void 0!==t&&t.length?"string"!==i.getTypeOf(t)?function(t,r,i){var e=n,s=0+i;t^=-1;for(var o=0;o<s;o++)t=t>>>8^e[255&(t^r[o])];return~t}(0|r,t,t.length):function(t,r,i){var e=n,s=0+i;t^=-1;for(var o=0;o<s;o++)t=t>>>8^e[255&(t^r.charCodeAt(o))];return~t}(0|r,t,t.length):0}},{"./utils":32}],5:[function(t,r,i){i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(t,r){var i;i="undefined"!=typeof Promise?Promise:t("lie"),r.exports={Promise:i}},{lie:37}],7:[function(t,r,i){var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,e=t("pako"),s=t("./utils"),o=t("./stream/GenericWorker"),f=n?"uint8array":"array";function a(t,r){o.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=r,this.meta={}}i.magic="\b\0",s.inherits(a,o),a.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(s.transformTo(f,t.data),!1)},a.prototype.flush=function(){o.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},a.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},a.prototype._createPako=function(){this._pako=new e[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(r){t.push({data:r,meta:t.meta})}},i.compressWorker=function(t){return new a("Deflate",t)},i.uncompressWorker=function(){return new a("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,r){function i(t,r){var i,n="";for(i=0;i<r;i++)n+=String.fromCharCode(255&t),t>>>=8;return n}function n(t,r,n,s,u,h){var c,l,d=t.file,v=t.compression,p=h!==o.utf8encode,w=e.transformTo("string",h(d.name)),b=e.transformTo("string",o.utf8encode(d.name)),m=d.comment,y=e.transformTo("string",h(m)),k=e.transformTo("string",o.utf8encode(m)),g=b.length!==d.name.length,A=k.length!==m.length,E="",S="",z="",U=d.dir,j=d.date,O={crc32:0,compressedSize:0,uncompressedSize:0};r&&!n||(O.crc32=t.crc32,O.compressedSize=t.compressedSize,O.uncompressedSize=t.uncompressedSize);var R=0;r&&(R|=8),p||!g&&!A||(R|=2048);var B=0,C=0;U&&(B|=16),"UNIX"===u?(C=798,B|=function(t,r){var i=t;return t||(i=r?16893:33204),(65535&i)<<16}(d.unixPermissions,U)):(C=20,B|=function(t){return 63&(t||0)}(d.dosPermissions)),c=j.getUTCHours(),c<<=6,c|=j.getUTCMinutes(),c<<=5,c|=j.getUTCSeconds()/2,l=j.getUTCFullYear()-1980,l<<=4,l|=j.getUTCMonth()+1,l<<=5,l|=j.getUTCDate(),g&&(S=i(1,1)+i(f(w),4)+b,E+="up"+i(S.length,2)+S),A&&(z=i(1,1)+i(f(y),4)+k,E+="uc"+i(z.length,2)+z);var F="";return F+="\n\0",F+=i(R,2),F+=v.magic,F+=i(c,2),F+=i(l,2),F+=i(O.crc32,4),F+=i(O.compressedSize,4),F+=i(O.uncompressedSize,4),F+=i(w.length,2),F+=i(E.length,2),{fileRecord:a.LOCAL_FILE_HEADER+F+w+E,dirRecord:a.CENTRAL_FILE_HEADER+i(C,2)+F+i(y.length,2)+"\0\0\0\0"+i(B,4)+i(s,4)+w+E+y}}var e=t("../utils"),s=t("../stream/GenericWorker"),o=t("../utf8"),f=t("../crc32"),a=t("../signature");function u(t,r,i,n){s.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=r,this.zipPlatform=i,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}e.inherits(u,s),u.prototype.push=function(t){var r=t.meta.percent||0,i=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,s.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:i?(r+100*(i-n-1))/i:100}}))},u.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var r=this.streamFiles&&!t.file.dir;if(r){var i=n(t,r,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:i.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(t){this.accumulate=!1;var r=this.streamFiles&&!t.file.dir,e=n(t,r,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(e.dirRecord),r)this.push({data:function(t){return a.DATA_DESCRIPTOR+i(t.crc32,4)+i(t.compressedSize,4)+i(t.uncompressedSize,4)}(t),meta:{percent:100}});else for(this.push({data:e.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var t=this.bytesWritten,r=0;r<this.dirRecords.length;r++)this.push({data:this.dirRecords[r],meta:{percent:100}});var n=function(t,r,n,s,o){var f=e.transformTo("string",o(s));return a.CENTRAL_DIRECTORY_END+"\0\0\0\0"+i(t,2)+i(t,2)+i(r,4)+i(n,4)+i(f.length,2)+f}(this.dirRecords.length,this.bytesWritten-t,t,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(t){this._sources.push(t);var r=this;return t.on("data",(function(t){r.processChunk(t)})),t.on("end",(function(){r.closedSource(r.previous.streamInfo),r._sources.length?r.prepareNextSource():r.end()})),t.on("error",(function(t){r.error(t)})),this},u.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(t){var r=this._sources;if(!s.prototype.error.call(this,t))return!1;for(var i=0;i<r.length;i++)try{r[i].error(t)}catch(t){}return!0},u.prototype.lock=function(){s.prototype.lock.call(this);for(var t=this._sources,r=0;r<t.length;r++)t[r].lock()},r.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,r,i){var n=t("../compressions"),e=t("./ZipFileWorker");i.generateWorker=function(t,r,i){var s=new e(r.streamFiles,i,r.platform,r.encodeFileName),o=0;try{t.forEach((function(t,i){o++;var e=function(t,r){var i=t||r,e=n[i];if(!e)throw new Error(i+" is not a valid compression method !");return e}(i.options.compression,r.compression),f=i.dir,a=i.date;i._compressWorker(e,i.options.compressionOptions||r.compressionOptions||{}).withStreamInfo("file",{name:t,dir:f,date:a,comment:i.comment||"",unixPermissions:i.unixPermissions,dosPermissions:i.dosPermissions}).pipe(s)})),s.entriesCount=o}catch(t){s.error(t)}return s}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(t,r){function i(){if(!(this instanceof i))return new i;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var t=new i;for(var r in this)"function"!=typeof this[r]&&(t[r]=this[r]);return t}}(i.prototype=t("./object")).loadAsync=t("./load"),i.support=t("./support"),i.defaults=t("./defaults"),i.version="3.10.1",i.loadAsync=function(t,r){return(new i).loadAsync(t,r)},i.external=t("./external"),r.exports=i},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,r){var i=t("./utils"),n=t("./external"),e=t("./utf8"),s=t("./zipEntries"),o=t("./stream/Crc32Probe"),f=t("./nodejsUtils");function a(t){return new n.Promise((function(r,i){var n=t.decompressed.getContentWorker().pipe(new o);n.on("error",(function(t){i(t)})).on("end",(function(){n.streamInfo.crc32!==t.decompressed.crc32?i(new Error("Corrupted zip : CRC32 mismatch")):r()})).resume()}))}r.exports=function(t,r){var o=this;return r=i.extend(r||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:e.utf8decode}),f.isNode&&f.isStream(t)?n.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):i.prepareContent("the loaded zip file",t,!0,r.optimizedBinaryString,r.base64).then((function(t){var i=new s(r);return i.load(t),i})).then((function(t){var i=[n.Promise.resolve(t)],e=t.files;if(r.checkCRC32)for(var s=0;s<e.length;s++)i.push(a(e[s]));return n.Promise.all(i)})).then((function(t){for(var n=t.shift(),e=n.files,s=0;s<e.length;s++){var f=e[s],a=f.fileNameStr,u=i.resolve(f.fileNameStr);o.file(u,f.decompressed,{binary:!0,optimizedBinaryString:!0,date:f.date,dir:f.dir,comment:f.fileCommentStr.length?f.fileCommentStr:null,unixPermissions:f.unixPermissions,dosPermissions:f.dosPermissions,createFolders:r.createFolders}),f.dir||(o.file(u).unsafeOriginalName=a)}return n.zipComment.length&&(o.comment=n.zipComment),o}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(t,r){var i=t("../utils"),n=t("../stream/GenericWorker");function e(t,r){n.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(r)}i.inherits(e,n),e.prototype._bindStream=function(t){var r=this;(this._stream=t).pause(),t.on("data",(function(t){r.push({data:t,meta:{percent:0}})})).on("error",(function(t){r.isPaused?this.generatedError=t:r.error(t)})).on("end",(function(){r.isPaused?r._upstreamEnded=!0:r.end()}))},e.prototype.pause=function(){return!!n.prototype.pause.call(this)&&(this._stream.pause(),!0)},e.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},r.exports=e},{"../stream/GenericWorker":28,"../utils":32}],13:[function(t,r){var i=t("readable-stream").Readable;function n(t,r,n){i.call(this,r),this._helper=t;var e=this;t.on("data",(function(t,r){e.push(t)||e._helper.pause(),n&&n(r)})).on("error",(function(t){e.emit("error",t)})).on("end",(function(){e.push(null)}))}t("../utils").inherits(n,i),n.prototype._read=function(){this._helper.resume()},r.exports=n},{"../utils":32,"readable-stream":16}],14:[function(t,r){r.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(t,r){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(t,r);if("number"==typeof t)throw new Error('The "data" argument must not be a number');return new Buffer(t,r)},allocBuffer:function(t){if(Buffer.alloc)return Buffer.alloc(t);var r=new Buffer(t);return r.fill(0),r},isBuffer:function(t){return Buffer.isBuffer(t)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}}},{}],15:[function(t,r){function i(t,r,i){var n,o=e.getTypeOf(r),h=e.extend(i||{},f);h.date=h.date||new Date,null!==h.compression&&(h.compression=h.compression.toUpperCase()),"string"==typeof h.unixPermissions&&(h.unixPermissions=parseInt(h.unixPermissions,8)),h.unixPermissions&&16384&h.unixPermissions&&(h.dir=!0),h.dosPermissions&&16&h.dosPermissions&&(h.dir=!0),h.dir&&(t=v(t)),h.createFolders&&(n=d(t))&&p.call(this,n,!0),i&&void 0!==i.binary||(h.binary=!("string"===o&&!1===h.binary&&!1===h.base64)),(r instanceof a&&0===r.uncompressedSize||h.dir||!r||0===r.length)&&(h.base64=!1,h.binary=!0,r="",h.compression="STORE",o="string");var w;w=r instanceof a||r instanceof s?r:c.isNode&&c.isStream(r)?new l(t,r):e.prepareContent(t,r,h.binary,h.optimizedBinaryString,h.base64);var b=new u(t,w,h);this.files[t]=b}var n=t("./utf8"),e=t("./utils"),s=t("./stream/GenericWorker"),o=t("./stream/StreamHelper"),f=t("./defaults"),a=t("./compressedObject"),u=t("./zipObject"),h=t("./generate"),c=t("./nodejsUtils"),l=t("./nodejs/NodejsStreamInputAdapter"),d=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var r=t.lastIndexOf("/");return 0<r?t.substring(0,r):""},v=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},p=function(t,r){return r=void 0!==r?r:f.createFolders,t=v(t),this.files[t]||i.call(this,t,null,{dir:!0,createFolders:r}),this.files[t]};function w(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var b={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var r,i,n;for(r in this.files)n=this.files[r],(i=r.slice(this.root.length,r.length))&&r.slice(0,this.root.length)===this.root&&t(i,n)},filter:function(t){var r=[];return this.forEach((function(i,n){t(i,n)&&r.push(n)})),r},file:function(t,r,n){if(1!==arguments.length)return i.call(this,t=this.root+t,r,n),this;if(w(t)){var e=t;return this.filter((function(t,r){return!r.dir&&e.test(t)}))}var s=this.files[this.root+t];return s&&!s.dir?s:null},folder:function(t){if(!t)return this;if(w(t))return this.filter((function(r,i){return i.dir&&t.test(r)}));var r=p.call(this,this.root+t),i=this.clone();return i.root=r.name,i},remove:function(t){var r=this.files[t=this.root+t];if(r||("/"!==t.slice(-1)&&(t+="/"),r=this.files[t]),r&&!r.dir)delete this.files[t];else for(var i=this.filter((function(r,i){return i.name.slice(0,t.length)===t})),n=0;n<i.length;n++)delete this.files[i[n].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(t){var r,i={};try{if((i=e.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:n.utf8encode})).type=i.type.toLowerCase(),i.compression=i.compression.toUpperCase(),"binarystring"===i.type&&(i.type="string"),!i.type)throw new Error("No output type specified.");e.checkSupport(i.type),"darwin"!==i.platform&&"freebsd"!==i.platform&&"linux"!==i.platform&&"sunos"!==i.platform||(i.platform="UNIX"),"win32"===i.platform&&(i.platform="DOS"),r=h.generateWorker(this,i,i.comment||this.comment||"")}catch(t){(r=new s("error")).error(t)}return new o(r,i.type||"string",i.mimeType)},generateAsync:function(t,r){return this.generateInternalStream(t).accumulate(r)},generateNodeStream:function(t,r){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(r)}};r.exports=b},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(t,r){r.exports=t("stream")},{stream:void 0}],17:[function(t,r){var i=t("./DataReader");function n(t){i.call(this,t);for(var r=0;r<this.data.length;r++)t[r]=255&t[r]}t("../utils").inherits(n,i),n.prototype.byteAt=function(t){return this.data[this.zero+t]},n.prototype.lastIndexOfSignature=function(t){for(var r=t.charCodeAt(0),i=t.charCodeAt(1),n=t.charCodeAt(2),e=t.charCodeAt(3),s=this.length-4;0<=s;--s)if(this.data[s]===r&&this.data[s+1]===i&&this.data[s+2]===n&&this.data[s+3]===e)return s-this.zero;return-1},n.prototype.readAndCheckSignature=function(t){var r=t.charCodeAt(0),i=t.charCodeAt(1),n=t.charCodeAt(2),e=t.charCodeAt(3),s=this.readData(4);return r===s[0]&&i===s[1]&&n===s[2]&&e===s[3]},n.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var r=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,r},r.exports=n},{"../utils":32,"./DataReader":18}],18:[function(t,r){var i=t("../utils");function n(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}n.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(){},readInt:function(t){var r,i=0;for(this.checkOffset(t),r=this.index+t-1;r>=this.index;r--)i=(i<<8)+this.byteAt(r);return this.index+=t,i},readString:function(t){return i.transformTo("string",this.readData(t))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},r.exports=n},{"../utils":32}],19:[function(t,r){var i=t("./Uint8ArrayReader");function n(t){i.call(this,t)}t("../utils").inherits(n,i),n.prototype.readData=function(t){this.checkOffset(t);var r=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,r},r.exports=n},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,r){var i=t("./DataReader");function n(t){i.call(this,t)}t("../utils").inherits(n,i),n.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},n.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},n.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},n.prototype.readData=function(t){this.checkOffset(t);var r=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,r},r.exports=n},{"../utils":32,"./DataReader":18}],21:[function(t,r){var i=t("./ArrayReader");function n(t){i.call(this,t)}t("../utils").inherits(n,i),n.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var r=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,r},r.exports=n},{"../utils":32,"./ArrayReader":17}],22:[function(t,r){var i=t("../utils"),n=t("../support"),e=t("./ArrayReader"),s=t("./StringReader"),o=t("./NodeBufferReader"),f=t("./Uint8ArrayReader");r.exports=function(t){var r=i.getTypeOf(t);return i.checkSupport(r),"string"!==r||n.uint8array?"nodebuffer"===r?new o(t):n.uint8array?new f(i.transformTo("uint8array",t)):new e(i.transformTo("array",t)):new s(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,r,i){i.LOCAL_FILE_HEADER="PK",i.CENTRAL_FILE_HEADER="PK",i.CENTRAL_DIRECTORY_END="PK",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",i.ZIP64_CENTRAL_DIRECTORY_END="PK",i.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,r){var i=t("./GenericWorker"),n=t("../utils");function e(t){i.call(this,"ConvertWorker to "+t),this.destType=t}n.inherits(e,i),e.prototype.processChunk=function(t){this.push({data:n.transformTo(this.destType,t.data),meta:t.meta})},r.exports=e},{"../utils":32,"./GenericWorker":28}],25:[function(t,r){var i=t("./GenericWorker"),n=t("../crc32");function e(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(e,i),e.prototype.processChunk=function(t){this.streamInfo.crc32=n(t.data,this.streamInfo.crc32||0),this.push(t)},r.exports=e},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,r){var i=t("../utils"),n=t("./GenericWorker");function e(t){n.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}i.inherits(e,n),e.prototype.processChunk=function(t){t&&(this.streamInfo[this.propName]=(this.streamInfo[this.propName]||0)+t.data.length),n.prototype.processChunk.call(this,t)},r.exports=e},{"../utils":32,"./GenericWorker":28}],27:[function(t,r){var i=t("../utils"),n=t("./GenericWorker");function e(t){n.call(this,"DataWorker");var r=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(t){r.dataIsReady=!0,r.data=t,r.max=t&&t.length||0,r.type=i.getTypeOf(t),r.isPaused||r._tickAndRepeat()}),(function(t){r.error(t)}))}i.inherits(e,n),e.prototype.cleanUp=function(){n.prototype.cleanUp.call(this),this.data=null},e.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},e.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},e.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,r=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,r);break;case"uint8array":t=this.data.subarray(this.index,r);break;case"array":case"nodebuffer":t=this.data.slice(this.index,r)}return this.index=r,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=e},{"../utils":32,"./GenericWorker":28}],28:[function(t,r){function i(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,r){return this._listeners[t].push(r),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,r){if(this._listeners[t])for(var i=0;i<this._listeners[t].length;i++)this._listeners[t][i].call(this,r)},pipe:function(t){return t.registerPrevious(this)},registerPrevious:function(t){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=t.streamInfo,this.mergeStreamInfo(),this.previous=t;var r=this;return t.on("data",(function(t){r.processChunk(t)})),t.on("end",(function(){r.end()})),t.on("error",(function(t){r.error(t)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var t=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),t=!0),this.previous&&this.previous.resume(),!t},flush:function(){},processChunk:function(t){this.push(t)},withStreamInfo:function(t,r){return this.extraStreamInfo[t]=r,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var t in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,t)&&(this.streamInfo[t]=this.extraStreamInfo[t])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var t="Worker "+this.name;return this.previous?this.previous+" -> "+t:t}},r.exports=i},{}],29:[function(t,r){var i=t("../utils"),n=t("./ConvertWorker"),e=t("./GenericWorker"),s=t("../base64"),o=t("../support"),f=t("../external"),a=null;if(o.nodestream)try{a=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function u(t,r,s){var o=r;switch(r){case"blob":case"arraybuffer":o="uint8array";break;case"base64":o="string"}try{this._internalType=o,this._outputType=r,this._mimeType=s,i.checkSupport(o),this._worker=t.pipe(new n(o)),t.lock()}catch(t){this._worker=new e("error"),this._worker.error(t)}}u.prototype={accumulate:function(t){return function(t,r){return new f.Promise((function(n,e){var o=[],f=t._internalType,a=t._outputType,u=t._mimeType;t.on("data",(function(t,i){o.push(t),r&&r(i)})).on("error",(function(t){o=[],e(t)})).on("end",(function(){try{var t=function(t,r,n){switch(t){case"blob":return i.newBlob(i.transformTo("arraybuffer",r),n);case"base64":return s.encode(r);default:return i.transformTo(t,r)}}(a,function(t,r){var i,n=0,e=null,s=0;for(i=0;i<r.length;i++)s+=r[i].length;switch(t){case"string":return r.join("");case"array":return Array.prototype.concat.apply([],r);case"uint8array":for(e=new Uint8Array(s),i=0;i<r.length;i++)e.set(r[i],n),n+=r[i].length;return e;case"nodebuffer":return Buffer.concat(r);default:throw new Error("concat : unsupported type '"+t+"'")}}(f,o),u);n(t)}catch(t){e(t)}o=[]})).resume()}))}(this,t)},on:function(t,r){var n=this;return this._worker.on(t,"data"===t?function(t){r.call(n,t.data,t.meta)}:function(){i.delay(r,arguments,n)}),this},resume:function(){return i.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(i.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new a(this,{objectMode:"nodebuffer"!==this._outputType},t)}},r.exports=u},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,r,i){if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,i.nodebuffer="undefined"!=typeof Buffer,i.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)i.blob=!1;else{var n=new ArrayBuffer(0);try{i.blob=0===new Blob([n],{type:"application/zip"}).size}catch(t){try{var e=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);e.append(n),i.blob=0===e.getBlob("application/zip").size}catch(t){i.blob=!1}}}try{i.nodestream=!!t("readable-stream").Readable}catch(t){i.nodestream=!1}},{"readable-stream":16}],31:[function(t,r,i){for(var n=t("./utils"),e=t("./support"),s=t("./nodejsUtils"),o=t("./stream/GenericWorker"),f=new Array(256),a=0;a<256;a++)f[a]=252<=a?6:248<=a?5:240<=a?4:224<=a?3:192<=a?2:1;function u(){o.call(this,"utf-8 decode"),this.leftOver=null}function h(){o.call(this,"utf-8 encode")}f[254]=f[254]=1,i.utf8encode=function(t){return e.nodebuffer?s.newBufferFrom(t,"utf-8"):function(t){var r,i,n,s,o,f=t.length,a=0;for(s=0;s<f;s++)55296==(64512&(i=t.charCodeAt(s)))&&s+1<f&&56320==(64512&(n=t.charCodeAt(s+1)))&&(i=65536+(i-55296<<10)+(n-56320),s++),a+=i<128?1:i<2048?2:i<65536?3:4;for(r=e.uint8array?new Uint8Array(a):new Array(a),s=o=0;o<a;s++)55296==(64512&(i=t.charCodeAt(s)))&&s+1<f&&56320==(64512&(n=t.charCodeAt(s+1)))&&(i=65536+(i-55296<<10)+(n-56320),s++),i<128?r[o++]=i:(i<2048?r[o++]=192|i>>>6:(i<65536?r[o++]=224|i>>>12:(r[o++]=240|i>>>18,r[o++]=128|i>>>12&63),r[o++]=128|i>>>6&63),r[o++]=128|63&i);return r}(t)},i.utf8decode=function(t){return e.nodebuffer?n.transformTo("nodebuffer",t).toString("utf-8"):function(t){var r,i,e,s,o=t.length,a=new Array(2*o);for(r=i=0;r<o;)if((e=t[r++])<128)a[i++]=e;else if(4<(s=f[e]))a[i++]=65533,r+=s-1;else{for(e&=2===s?31:3===s?15:7;1<s&&r<o;)e=e<<6|63&t[r++],s--;1<s?a[i++]=65533:e<65536?a[i++]=e:(a[i++]=55296|(e-=65536)>>10&1023,a[i++]=56320|1023&e)}return a.length!==i&&(a.subarray?a=a.subarray(0,i):a.length=i),n.applyFromCharCode(a)}(t=n.transformTo(e.uint8array?"uint8array":"array",t))},n.inherits(u,o),u.prototype.processChunk=function(t){var r=n.transformTo(e.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(e.uint8array){var s=r;(r=new Uint8Array(s.length+this.leftOver.length)).set(this.leftOver,0),r.set(s,this.leftOver.length)}else r=this.leftOver.concat(r);this.leftOver=null}var o=function(t,r){var i;for((r=r||t.length)>t.length&&(r=t.length),i=r-1;0<=i&&128==(192&t[i]);)i--;return i<0||0===i?r:i+f[t[i]]>r?i:r}(r),a=r;o!==r.length&&(e.uint8array?(a=r.subarray(0,o),this.leftOver=r.subarray(o,r.length)):(a=r.slice(0,o),this.leftOver=r.slice(o,r.length))),this.push({data:i.utf8decode(a),meta:t.meta})},u.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=u,n.inherits(h,o),h.prototype.processChunk=function(t){this.push({data:i.utf8encode(t.data),meta:t.meta})},i.Utf8EncodeWorker=h},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,r,i){var n=t("./support"),e=t("./base64"),s=t("./nodejsUtils"),o=t("./external");function f(t){return t}function a(t,r){for(var i=0;i<t.length;++i)r[i]=255&t.charCodeAt(i);return r}t("setimmediate"),i.newBlob=function(t,r){i.checkSupport("blob");try{return new Blob([t],{type:r})}catch(i){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(t),n.getBlob(r)}catch(t){throw new Error("Bug : can't construct the Blob.")}}};var u={stringifyByChunk:function(t,r,i){var n=[],e=0,s=t.length;if(s<=i)return String.fromCharCode.apply(null,t);for(;e<s;)n.push(String.fromCharCode.apply(null,"array"===r||"nodebuffer"===r?t.slice(e,Math.min(e+i,s)):t.subarray(e,Math.min(e+i,s)))),e+=i;return n.join("")},stringifyByChar:function(t){for(var r="",i=0;i<t.length;i++)r+=String.fromCharCode(t[i]);return r},applyCanBeUsed:{uint8array:function(){try{return n.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return n.nodebuffer&&1===String.fromCharCode.apply(null,s.allocBuffer(1)).length}catch(t){return!1}}()}};function h(t){var r=65536,n=i.getTypeOf(t),e=!0;if("uint8array"===n?e=u.applyCanBeUsed.uint8array:"nodebuffer"===n&&(e=u.applyCanBeUsed.nodebuffer),e)for(;1<r;)try{return u.stringifyByChunk(t,n,r)}catch(t){r=Math.floor(r/2)}return u.stringifyByChar(t)}function c(t,r){for(var i=0;i<t.length;i++)r[i]=t[i];return r}i.applyFromCharCode=h;var l={};l.string={string:f,array:function(t){return a(t,new Array(t.length))},arraybuffer:function(t){return l.string.uint8array(t).buffer},uint8array:function(t){return a(t,new Uint8Array(t.length))},nodebuffer:function(t){return a(t,s.allocBuffer(t.length))}},l.array={string:h,array:f,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return s.newBufferFrom(t)}},l.arraybuffer={string:function(t){return h(new Uint8Array(t))},array:function(t){return c(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:f,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return s.newBufferFrom(new Uint8Array(t))}},l.uint8array={string:h,array:function(t){return c(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:f,nodebuffer:function(t){return s.newBufferFrom(t)}},l.nodebuffer={string:h,array:function(t){return c(t,new Array(t.length))},arraybuffer:function(t){return l.nodebuffer.uint8array(t).buffer},uint8array:function(t){return c(t,new Uint8Array(t.length))},nodebuffer:f},i.transformTo=function(t,r){if(r=r||"",!t)return r;i.checkSupport(t);var n=i.getTypeOf(r);return l[n][t](r)},i.resolve=function(t){for(var r=t.split("/"),i=[],n=0;n<r.length;n++){var e=r[n];"."===e||""===e&&0!==n&&n!==r.length-1||(".."===e?i.pop():i.push(e))}return i.join("/")},i.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":n.nodebuffer&&s.isBuffer(t)?"nodebuffer":n.uint8array&&t instanceof Uint8Array?"uint8array":n.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(t){if(!n[t.toLowerCase()])throw new Error(t+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(t){var r,i,n="";for(i=0;i<(t||"").length;i++)n+="\\x"+((r=t.charCodeAt(i))<16?"0":"")+r.toString(16).toUpperCase();return n},i.delay=function(t,r,i){setImmediate((function(){t.apply(i||null,r||[])}))},i.inherits=function(t,r){function i(){}i.prototype=r.prototype,t.prototype=new i},i.extend=function(){var t,r,i={};for(t=0;t<arguments.length;t++)for(r in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],r)&&void 0===i[r]&&(i[r]=arguments[t][r]);return i},i.prepareContent=function(t,r,s,f,u){return o.Promise.resolve(r).then((function(t){return n.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"undefined"!=typeof FileReader?new o.Promise((function(r,i){var n=new FileReader;n.onload=function(t){r(t.target.result)},n.onerror=function(t){i(t.target.error)},n.readAsArrayBuffer(t)})):t})).then((function(r){var h=i.getTypeOf(r);return h?("arraybuffer"===h?r=i.transformTo("uint8array",r):"string"===h&&(u?r=e.decode(r):s&&!0!==f&&(r=function(t){return a(t,n.uint8array?new Uint8Array(t.length):new Array(t.length))}(r))),r):o.Promise.reject(new Error("Can't read the data of '"+t+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(t,r){var i=t("./reader/readerFor"),n=t("./utils"),e=t("./signature"),s=t("./zipEntry"),o=t("./support");function f(t){this.files=[],this.loadOptions=t}f.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var r=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+n.pretty(r)+", expected "+n.pretty(t)+")")}},isSignature:function(t,r){var i=this.reader.index;this.reader.setIndex(t);var n=this.reader.readString(4)===r;return this.reader.setIndex(i),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var t=this.reader.readData(this.zipCommentLength),r=n.transformTo(o.uint8array?"uint8array":"array",t);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var t,r,i,n=this.zip64EndOfCentralSize-44;0<n;)t=this.reader.readInt(2),r=this.reader.readInt(4),i=this.reader.readData(r),this.zip64ExtensibleData[t]={id:t,length:r,value:i}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,r;for(t=0;t<this.files.length;t++)this.reader.setIndex((r=this.files[t]).localHeaderOffset),this.checkSignature(e.LOCAL_FILE_HEADER),r.readLocalPart(this.reader),r.handleUTF8(),r.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(e.CENTRAL_FILE_HEADER);)(t=new s({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(e.CENTRAL_DIRECTORY_END);if(t<0)throw this.isSignature(0,e.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(t);var r=t;if(this.checkSignature(e.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===n.MAX_VALUE_16BITS||this.diskWithCentralDirStart===n.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===n.MAX_VALUE_16BITS||this.centralDirRecords===n.MAX_VALUE_16BITS||this.centralDirSize===n.MAX_VALUE_32BITS||this.centralDirOffset===n.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(e.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(t),this.checkSignature(e.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,e.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(e.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(e.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var i=this.centralDirOffset+this.centralDirSize;this.zip64&&(i+=20,i+=12+this.zip64EndOfCentralSize);var s=r-i;if(0<s)this.isSignature(r,e.CENTRAL_FILE_HEADER)||(this.reader.zero=s);else if(s<0)throw new Error("Corrupted zip: missing "+Math.abs(s)+" bytes.")},prepareReader:function(t){this.reader=i(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},r.exports=f},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(t,r){var i=t("./reader/readerFor"),n=t("./utils"),e=t("./compressedObject"),s=t("./crc32"),o=t("./utf8"),f=t("./compressions"),a=t("./support");function u(t,r){this.options=t,this.loadOptions=r}u.prototype={isEncrypted:function(){return!(1&~this.bitFlag)},useUTF8:function(){return!(2048&~this.bitFlag)},readLocalPart:function(t){var r,i;if(t.skip(22),this.fileNameLength=t.readInt(2),i=t.readInt(2),this.fileName=t.readData(this.fileNameLength),t.skip(i),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(r=function(t){for(var r in f)if(Object.prototype.hasOwnProperty.call(f,r)&&f[r].magic===t)return f[r];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+n.pretty(this.compressionMethod)+" unknown (inner file : "+n.transformTo("string",this.fileName)+")");this.decompressed=new e(this.compressedSize,this.uncompressedSize,this.crc32,r,t.readData(this.compressedSize))},readCentralPart:function(t){this.versionMadeBy=t.readInt(2),t.skip(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4);var r=t.readInt(2);if(this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");t.skip(r),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var t=i(this.extraFields[1].value);this.uncompressedSize===n.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===n.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===n.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===n.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(t){var r,i,n,e=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4<e;)r=t.readInt(2),i=t.readInt(2),n=t.readData(i),this.extraFields[r]={id:r,length:i,value:n};t.setIndex(e)},handleUTF8:function(){var t=a.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=o.utf8decode(this.fileName),this.fileCommentStr=o.utf8decode(this.fileComment);else{var r=this.findExtraFieldUnicodePath();if(null!==r)this.fileNameStr=r;else{var i=n.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(i)}var e=this.findExtraFieldUnicodeComment();if(null!==e)this.fileCommentStr=e;else{var s=n.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(s)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var r=i(t.value);return 1!==r.readInt(1)||s(this.fileName)!==r.readInt(4)?null:o.utf8decode(r.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var r=i(t.value);return 1!==r.readInt(1)||s(this.fileComment)!==r.readInt(4)?null:o.utf8decode(r.readData(t.length-5))}return null}},r.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,r){function i(t,r,i){this.name=t,this.dir=i.dir,this.date=i.date,this.comment=i.comment,this.unixPermissions=i.unixPermissions,this.dosPermissions=i.dosPermissions,this._data=r,this._dataBinary=i.binary,this.options={compression:i.compression,compressionOptions:i.compressionOptions}}var n=t("./stream/StreamHelper"),e=t("./stream/DataWorker"),s=t("./utf8"),o=t("./compressedObject"),f=t("./stream/GenericWorker");i.prototype={internalStream:function(t){var r=null,i="string";try{if(!t)throw new Error("No output type specified.");var e="string"===(i=t.toLowerCase())||"text"===i;"binarystring"!==i&&"text"!==i||(i="string"),r=this._decompressWorker();var o=!this._dataBinary;o&&!e&&(r=r.pipe(new s.Utf8EncodeWorker)),!o&&e&&(r=r.pipe(new s.Utf8DecodeWorker))}catch(t){(r=new f("error")).error(t)}return new n(r,i,"")},async:function(t,r){return this.internalStream(t).accumulate(r)},nodeStream:function(t,r){return this.internalStream(t||"nodebuffer").toNodejsStream(r)},_compressWorker:function(t,r){if(this._data instanceof o&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var i=this._decompressWorker();return this._dataBinary||(i=i.pipe(new s.Utf8EncodeWorker)),o.createWorkerFrom(i,t,r)},_decompressWorker:function(){return this._data instanceof o?this._data.getContentWorker():this._data instanceof f?this._data:new e(this._data)}};for(var a=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},h=0;h<a.length;h++)i.prototype[a[h]]=u;r.exports=i},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(r,i){(function(t){var r,n,e=t.MutationObserver||t.WebKitMutationObserver;if(e){var s=0,o=new e(h),f=t.document.createTextNode("");o.observe(f,{characterData:!0}),r=function(){f.data=s=++s%2}}else if(t.setImmediate||void 0===t.MessageChannel)r="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var r=t.document.createElement("script");r.onreadystatechange=function(){h(),r.onreadystatechange=null,r.parentNode.removeChild(r),r=null},t.document.documentElement.appendChild(r)}:function(){setTimeout(h,0)};else{var a=new t.MessageChannel;a.port1.onmessage=h,r=function(){a.port2.postMessage(0)}}var u=[];function h(){var t,r;n=!0;for(var i=u.length;i;){for(r=u,u=[],t=-1;++t<i;)r[t]();i=u.length}n=!1}i.exports=function(t){1!==u.push(t)||n||r()}}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(t,r){var i=t("immediate");function n(){}var e={},s=["REJECTED"],o=["FULFILLED"],f=["PENDING"];function a(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=f,this.queue=[],this.outcome=void 0,t!==n&&l(this,t)}function u(t,r,i){this.promise=t,"function"==typeof r&&(this.onFulfilled=r,this.callFulfilled=this.otherCallFulfilled),"function"==typeof i&&(this.onRejected=i,this.callRejected=this.otherCallRejected)}function h(t,r,n){i((function(){var i;try{i=r(n)}catch(i){return e.reject(t,i)}i===t?e.reject(t,new TypeError("Cannot resolve promise with itself")):e.resolve(t,i)}))}function c(t){var r=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof r)return function(){r.apply(t,arguments)}}function l(t,r){var i=!1;function n(r){i||(i=!0,e.reject(t,r))}function s(r){i||(i=!0,e.resolve(t,r))}var o=d((function(){r(s,n)}));"error"===o.status&&n(o.value)}function d(t,r){var i={};try{i.value=t(r),i.status="success"}catch(t){i.status="error",i.value=t}return i}(r.exports=a).prototype.finally=function(t){if("function"!=typeof t)return this;var r=this.constructor;return this.then((function(i){return r.resolve(t()).then((function(){return i}))}),(function(i){return r.resolve(t()).then((function(){throw i}))}))},a.prototype.catch=function(t){return this.then(null,t)},a.prototype.then=function(t,r){if("function"!=typeof t&&this.state===o||"function"!=typeof r&&this.state===s)return this;var i=new this.constructor(n);return this.state!==f?h(i,this.state===o?t:r,this.outcome):this.queue.push(new u(i,t,r)),i},u.prototype.callFulfilled=function(t){e.resolve(this.promise,t)},u.prototype.otherCallFulfilled=function(t){h(this.promise,this.onFulfilled,t)},u.prototype.callRejected=function(t){e.reject(this.promise,t)},u.prototype.otherCallRejected=function(t){h(this.promise,this.onRejected,t)},e.resolve=function(t,r){var i=d(c,r);if("error"===i.status)return e.reject(t,i.value);var n=i.value;if(n)l(t,n);else{t.state=o,t.outcome=r;for(var s=-1,f=t.queue.length;++s<f;)t.queue[s].callFulfilled(r)}return t},e.reject=function(t,r){t.state=s,t.outcome=r;for(var i=-1,n=t.queue.length;++i<n;)t.queue[i].callRejected(r);return t},a.resolve=function(t){return t instanceof this?t:e.resolve(new this(n),t)},a.reject=function(t){var r=new this(n);return e.reject(r,t)},a.all=function(t){var r=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var i=t.length,s=!1;if(!i)return this.resolve([]);for(var o=new Array(i),f=0,a=-1,u=new this(n);++a<i;)h(t[a],a);return u;function h(t,n){r.resolve(t).then((function(t){o[n]=t,++f!==i||s||(s=!0,e.resolve(u,o))}),(function(t){s||(s=!0,e.reject(u,t))}))}},a.race=function(t){if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var r=t.length,i=!1;if(!r)return this.resolve([]);for(var s=-1,o=new this(n);++s<r;)this.resolve(t[s]).then((function(t){i||(i=!0,e.resolve(o,t))}),(function(t){i||(i=!0,e.reject(o,t))}));return o}},{immediate:36}],38:[function(t,r){var i={};(0,t("./lib/utils/common").assign)(i,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),r.exports=i},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(t,r,i){var n=t("./zlib/deflate"),e=t("./utils/common"),s=t("./utils/strings"),o=t("./zlib/messages"),f=t("./zlib/zstream"),a=Object.prototype.toString,u=0,h=-1,c=0,l=8;function d(t){if(!(this instanceof d))return new d(t);this.options=e.assign({level:h,method:l,chunkSize:16384,windowBits:15,memLevel:8,strategy:c,to:""},t||{});var r=this.options;r.raw&&0<r.windowBits?r.windowBits=-r.windowBits:r.gzip&&0<r.windowBits&&r.windowBits<16&&(r.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new f,this.strm.avail_out=0;var i=n.deflateInit2(this.strm,r.level,r.method,r.windowBits,r.memLevel,r.strategy);if(i!==u)throw new Error(o[i]);if(r.header&&n.deflateSetHeader(this.strm,r.header),r.dictionary){var v;if(v="string"==typeof r.dictionary?s.string2buf(r.dictionary):"[object ArrayBuffer]"===a.call(r.dictionary)?new Uint8Array(r.dictionary):r.dictionary,(i=n.deflateSetDictionary(this.strm,v))!==u)throw new Error(o[i]);this._dict_set=!0}}function v(t,r){var i=new d(r);if(i.push(t,!0),i.err)throw i.msg||o[i.err];return i.result}d.prototype.push=function(t,r){var i,o,f=this.strm,h=this.options.chunkSize;if(this.ended)return!1;o=r===~~r?r:!0===r?4:0,f.input="string"==typeof t?s.string2buf(t):"[object ArrayBuffer]"===a.call(t)?new Uint8Array(t):t,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new e.Buf8(h),f.next_out=0,f.avail_out=h),1!==(i=n.deflate(f,o))&&i!==u)return this.onEnd(i),!(this.ended=!0);0!==f.avail_out&&(0!==f.avail_in||4!==o&&2!==o)||this.onData("string"===this.options.to?s.buf2binstring(e.shrinkBuf(f.output,f.next_out)):e.shrinkBuf(f.output,f.next_out))}while((0<f.avail_in||0===f.avail_out)&&1!==i);return 4===o?(i=n.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===u):2!==o||(this.onEnd(u),!(f.avail_out=0))},d.prototype.onData=function(t){this.chunks.push(t)},d.prototype.onEnd=function(t){t===u&&(this.result="string"===this.options.to?this.chunks.join(""):e.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},i.Deflate=d,i.deflate=v,i.deflateRaw=function(t,r){return(r=r||{}).raw=!0,v(t,r)},i.gzip=function(t,r){return(r=r||{}).gzip=!0,v(t,r)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(t,r,i){var n=t("./zlib/inflate"),e=t("./utils/common"),s=t("./utils/strings"),o=t("./zlib/constants"),f=t("./zlib/messages"),a=t("./zlib/zstream"),u=t("./zlib/gzheader"),h=Object.prototype.toString;function c(t){if(!(this instanceof c))return new c(t);this.options=e.assign({chunkSize:16384,windowBits:0,to:""},t||{});var r=this.options;r.raw&&0<=r.windowBits&&r.windowBits<16&&(r.windowBits=-r.windowBits,0===r.windowBits&&(r.windowBits=-15)),!(0<=r.windowBits&&r.windowBits<16)||t&&t.windowBits||(r.windowBits+=32),15<r.windowBits&&r.windowBits<48&&!(15&r.windowBits)&&(r.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var i=n.inflateInit2(this.strm,r.windowBits);if(i!==o.Z_OK)throw new Error(f[i]);this.header=new u,n.inflateGetHeader(this.strm,this.header)}function l(t,r){var i=new c(r);if(i.push(t,!0),i.err)throw i.msg||f[i.err];return i.result}c.prototype.push=function(t,r){var i,f,a,u,c,l,d=this.strm,v=this.options.chunkSize,p=this.options.dictionary,w=!1;if(this.ended)return!1;f=r===~~r?r:!0===r?o.Z_FINISH:o.Z_NO_FLUSH,d.input="string"==typeof t?s.binstring2buf(t):"[object ArrayBuffer]"===h.call(t)?new Uint8Array(t):t,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new e.Buf8(v),d.next_out=0,d.avail_out=v),(i=n.inflate(d,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&p&&(l="string"==typeof p?s.string2buf(p):"[object ArrayBuffer]"===h.call(p)?new Uint8Array(p):p,i=n.inflateSetDictionary(this.strm,l)),i===o.Z_BUF_ERROR&&!0===w&&(i=o.Z_OK,w=!1),i!==o.Z_STREAM_END&&i!==o.Z_OK)return this.onEnd(i),!(this.ended=!0);d.next_out&&(0!==d.avail_out&&i!==o.Z_STREAM_END&&(0!==d.avail_in||f!==o.Z_FINISH&&f!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(a=s.utf8border(d.output,d.next_out),u=d.next_out-a,c=s.buf2string(d.output,a),d.next_out=u,d.avail_out=v-u,u&&e.arraySet(d.output,d.output,a,u,0),this.onData(c)):this.onData(e.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(w=!0)}while((0<d.avail_in||0===d.avail_out)&&i!==o.Z_STREAM_END);return i===o.Z_STREAM_END&&(f=o.Z_FINISH),f===o.Z_FINISH?(i=n.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===o.Z_OK):f!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),!(d.avail_out=0))},c.prototype.onData=function(t){this.chunks.push(t)},c.prototype.onEnd=function(t){t===o.Z_OK&&(this.result="string"===this.options.to?this.chunks.join(""):e.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},i.Inflate=c,i.inflate=l,i.inflateRaw=function(t,r){return(r=r||{}).raw=!0,l(t,r)},i.ungzip=l},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(t,r,i){var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;i.assign=function(t){for(var r=Array.prototype.slice.call(arguments,1);r.length;){var i=r.shift();if(i){if("object"!=typeof i)throw new TypeError(i+"must be non-object");for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])}}return t},i.shrinkBuf=function(t,r){return t.length===r?t:t.subarray?t.subarray(0,r):(t.length=r,t)};var e={arraySet:function(t,r,i,n,e){if(r.subarray&&t.subarray)t.set(r.subarray(i,i+n),e);else for(var s=0;s<n;s++)t[e+s]=r[i+s]},flattenChunks:function(t){var r,i,n,e,s,o;for(r=n=0,i=t.length;r<i;r++)n+=t[r].length;for(o=new Uint8Array(n),r=e=0,i=t.length;r<i;r++)o.set(s=t[r],e),e+=s.length;return o}},s={arraySet:function(t,r,i,n,e){for(var s=0;s<n;s++)t[e+s]=r[i+s]},flattenChunks:function(t){return[].concat.apply([],t)}};i.setTyped=function(t){t?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,e)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,s))},i.setTyped(n)},{}],42:[function(t,r,i){var n=t("./common"),e=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch(t){e=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){s=!1}for(var o=new n.Buf8(256),f=0;f<256;f++)o[f]=252<=f?6:248<=f?5:240<=f?4:224<=f?3:192<=f?2:1;function a(t,r){if(r<65537&&(t.subarray&&s||!t.subarray&&e))return String.fromCharCode.apply(null,n.shrinkBuf(t,r));for(var i="",o=0;o<r;o++)i+=String.fromCharCode(t[o]);return i}o[254]=o[254]=1,i.string2buf=function(t){var r,i,e,s,o,f=t.length,a=0;for(s=0;s<f;s++)55296==(64512&(i=t.charCodeAt(s)))&&s+1<f&&56320==(64512&(e=t.charCodeAt(s+1)))&&(i=65536+(i-55296<<10)+(e-56320),s++),a+=i<128?1:i<2048?2:i<65536?3:4;for(r=new n.Buf8(a),s=o=0;o<a;s++)55296==(64512&(i=t.charCodeAt(s)))&&s+1<f&&56320==(64512&(e=t.charCodeAt(s+1)))&&(i=65536+(i-55296<<10)+(e-56320),s++),i<128?r[o++]=i:(i<2048?r[o++]=192|i>>>6:(i<65536?r[o++]=224|i>>>12:(r[o++]=240|i>>>18,r[o++]=128|i>>>12&63),r[o++]=128|i>>>6&63),r[o++]=128|63&i);return r},i.buf2binstring=function(t){return a(t,t.length)},i.binstring2buf=function(t){for(var r=new n.Buf8(t.length),i=0,e=r.length;i<e;i++)r[i]=t.charCodeAt(i);return r},i.buf2string=function(t,r){var i,n,e,s,f=r||t.length,u=new Array(2*f);for(i=n=0;i<f;)if((e=t[i++])<128)u[n++]=e;else if(4<(s=o[e]))u[n++]=65533,i+=s-1;else{for(e&=2===s?31:3===s?15:7;1<s&&i<f;)e=e<<6|63&t[i++],s--;1<s?u[n++]=65533:e<65536?u[n++]=e:(u[n++]=55296|(e-=65536)>>10&1023,u[n++]=56320|1023&e)}return a(u,n)},i.utf8border=function(t,r){var i;for((r=r||t.length)>t.length&&(r=t.length),i=r-1;0<=i&&128==(192&t[i]);)i--;return i<0||0===i?r:i+o[t[i]]>r?i:r}},{"./common":41}],43:[function(t,r){r.exports=function(t,r,i,n){for(var e=65535&t,s=t>>>16&65535,o=0;0!==i;){for(i-=o=2e3<i?2e3:i;s=s+(e=e+r[n++]|0)|0,--o;);e%=65521,s%=65521}return e|s<<16}},{}],44:[function(t,r){r.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(t,r){var i=function(){for(var t,r=[],i=0;i<256;i++){t=i;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;r[i]=t}return r}();r.exports=function(t,r,n,e){var s=i,o=e+n;t^=-1;for(var f=e;f<o;f++)t=t>>>8^s[255&(t^r[f])];return~t}},{}],46:[function(t,r,i){var n,e=t("../utils/common"),s=t("./trees"),o=t("./adler32"),f=t("./crc32"),a=t("./messages"),u=0,h=0,c=-2,l=2,d=8,v=286,p=30,w=19,b=2*v+1,m=15,y=3,k=258,g=k+y+1,A=42,E=113;function S(t,r){return t.msg=a[r],r}function z(t){return(t<<1)-(4<t?9:0)}function U(t){for(var r=t.length;0<=--r;)t[r]=0}function j(t){var r=t.state,i=r.pending;i>t.avail_out&&(i=t.avail_out),0!==i&&(e.arraySet(t.output,r.pending_buf,r.pending_out,i,t.next_out),t.next_out+=i,r.pending_out+=i,t.total_out+=i,t.avail_out-=i,r.pending-=i,0===r.pending&&(r.pending_out=0))}function O(t,r){s._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,r),t.block_start=t.strstart,j(t.strm)}function R(t,r){t.pending_buf[t.pending++]=r}function B(t,r){t.pending_buf[t.pending++]=r>>>8&255,t.pending_buf[t.pending++]=255&r}function C(t,r){var i,n,e=t.max_chain_length,s=t.strstart,o=t.prev_length,f=t.nice_match,a=t.strstart>t.w_size-g?t.strstart-(t.w_size-g):0,u=t.window,h=t.w_mask,c=t.prev,l=t.strstart+k,d=u[s+o-1],v=u[s+o];t.prev_length>=t.good_match&&(e>>=2),f>t.lookahead&&(f=t.lookahead);do{if(u[(i=r)+o]===v&&u[i+o-1]===d&&u[i]===u[s]&&u[++i]===u[s+1]){s+=2,i++;do{}while(u[++s]===u[++i]&&u[++s]===u[++i]&&u[++s]===u[++i]&&u[++s]===u[++i]&&u[++s]===u[++i]&&u[++s]===u[++i]&&u[++s]===u[++i]&&u[++s]===u[++i]&&s<l);if(n=k-(l-s),s=l-k,o<n){if(t.match_start=r,f<=(o=n))break;d=u[s+o-1],v=u[s+o]}}}while((r=c[r&h])>a&&0!=--e);return o<=t.lookahead?o:t.lookahead}function F(t){var r,i,n,s,a,u,h,c,l,d,v=t.w_size;do{if(s=t.window_size-t.lookahead-t.strstart,t.strstart>=v+(v-g)){for(e.arraySet(t.window,t.window,v,v,0),t.match_start-=v,t.strstart-=v,t.block_start-=v,r=i=t.hash_size;n=t.head[--r],t.head[r]=v<=n?n-v:0,--i;);for(r=i=v;n=t.prev[--r],t.prev[r]=v<=n?n-v:0,--i;);s+=v}if(0===t.strm.avail_in)break;if(h=t.window,c=t.strstart+t.lookahead,d=void 0,(l=s)<(d=(u=t.strm).avail_in)&&(d=l),i=0===d?0:(u.avail_in-=d,e.arraySet(h,u.input,u.next_in,d,c),1===u.state.wrap?u.adler=o(u.adler,h,d,c):2===u.state.wrap&&(u.adler=f(u.adler,h,d,c)),u.next_in+=d,u.total_in+=d,d),t.lookahead+=i,t.lookahead+t.insert>=y)for(t.ins_h=t.window[a=t.strstart-t.insert],t.ins_h=(t.ins_h<<t.hash_shift^t.window[a+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[a+y-1])&t.hash_mask,t.prev[a&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=a,a++,t.insert--,!(t.lookahead+t.insert<y)););}while(t.lookahead<g&&0!==t.strm.avail_in)}function _(t,r){for(var i,n;;){if(t.lookahead<g){if(F(t),t.lookahead<g&&r===u)return 1;if(0===t.lookahead)break}if(i=0,t.lookahead>=y&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+y-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==i&&t.strstart-i<=t.w_size-g&&(t.match_length=C(t,i)),t.match_length>=y)if(n=s._tr_tally(t,t.strstart-t.match_start,t.match_length-y),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=y){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+y-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,0!=--t.match_length;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else n=s._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(O(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<y-1?t.strstart:y-1,4===r?(O(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(O(t,!1),0===t.strm.avail_out)?1:2}function W(t,r){for(var i,n,e;;){if(t.lookahead<g){if(F(t),t.lookahead<g&&r===u)return 1;if(0===t.lookahead)break}if(i=0,t.lookahead>=y&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+y-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=y-1,0!==i&&t.prev_length<t.max_lazy_match&&t.strstart-i<=t.w_size-g&&(t.match_length=C(t,i),t.match_length<=5&&(1===t.strategy||t.match_length===y&&4096<t.strstart-t.match_start)&&(t.match_length=y-1)),t.prev_length>=y&&t.match_length<=t.prev_length){for(e=t.strstart+t.lookahead-y,n=s._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-y),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=e&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+y-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!=--t.prev_length;);if(t.match_available=0,t.match_length=y-1,t.strstart++,n&&(O(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=s._tr_tally(t,0,t.window[t.strstart-1]))&&O(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=s._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<y-1?t.strstart:y-1,4===r?(O(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(O(t,!1),0===t.strm.avail_out)?1:2}function T(t,r,i,n,e){this.good_length=t,this.max_lazy=r,this.nice_length=i,this.max_chain=n,this.func=e}function Z(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=d,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new e.Buf16(2*b),this.dyn_dtree=new e.Buf16(2*(2*p+1)),this.bl_tree=new e.Buf16(2*(2*w+1)),U(this.dyn_ltree),U(this.dyn_dtree),U(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new e.Buf16(m+1),this.heap=new e.Buf16(2*v+1),U(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new e.Buf16(2*v+1),U(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function D(t){var r;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=l,(r=t.state).pending=0,r.pending_out=0,r.wrap<0&&(r.wrap=-r.wrap),r.status=r.wrap?A:E,t.adler=2===r.wrap?0:1,r.last_flush=u,s._tr_init(r),h):S(t,c)}function I(t){var r=D(t);return r===h&&function(t){t.window_size=2*t.w_size,U(t.head),t.max_lazy_match=n[t.level].max_lazy,t.good_match=n[t.level].good_length,t.nice_match=n[t.level].nice_length,t.max_chain_length=n[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=y-1,t.match_available=0,t.ins_h=0}(t.state),r}function N(t,r,i,n,s,o){if(!t)return c;var f=1;if(-1===r&&(r=6),n<0?(f=0,n=-n):15<n&&(f=2,n-=16),s<1||9<s||i!==d||n<8||15<n||r<0||9<r||o<0||4<o)return S(t,c);8===n&&(n=9);var a=new Z;return(t.state=a).strm=t,a.wrap=f,a.gzhead=null,a.w_bits=n,a.w_size=1<<a.w_bits,a.w_mask=a.w_size-1,a.hash_bits=s+7,a.hash_size=1<<a.hash_bits,a.hash_mask=a.hash_size-1,a.hash_shift=~~((a.hash_bits+y-1)/y),a.window=new e.Buf8(2*a.w_size),a.head=new e.Buf16(a.hash_size),a.prev=new e.Buf16(a.w_size),a.lit_bufsize=1<<s+6,a.pending_buf_size=4*a.lit_bufsize,a.pending_buf=new e.Buf8(a.pending_buf_size),a.d_buf=1*a.lit_bufsize,a.l_buf=3*a.lit_bufsize,a.level=r,a.strategy=o,a.method=i,I(t)}n=[new T(0,0,0,0,(function(t,r){var i=65535;for(i>t.pending_buf_size-5&&(i=t.pending_buf_size-5);;){if(t.lookahead<=1){if(F(t),0===t.lookahead&&r===u)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+i;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,O(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-g&&(O(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===r?(O(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&O(t,!1),1)})),new T(4,4,8,4,_),new T(4,5,16,8,_),new T(4,6,32,32,_),new T(4,4,16,16,W),new T(8,16,32,32,W),new T(8,16,128,128,W),new T(8,32,128,256,W),new T(32,128,258,1024,W),new T(32,258,258,4096,W)],i.deflateInit=function(t,r){return N(t,r,d,15,8,0)},i.deflateInit2=N,i.deflateReset=I,i.deflateResetKeep=D,i.deflateSetHeader=function(t,r){return t&&t.state?2!==t.state.wrap?c:(t.state.gzhead=r,h):c},i.deflate=function(t,r){var i,e,o,a;if(!t||!t.state||5<r||r<0)return t?S(t,c):c;if(e=t.state,!t.output||!t.input&&0!==t.avail_in||666===e.status&&4!==r)return S(t,0===t.avail_out?-5:c);if(e.strm=t,i=e.last_flush,e.last_flush=r,e.status===A)if(2===e.wrap)t.adler=0,R(e,31),R(e,139),R(e,8),e.gzhead?(R(e,(e.gzhead.text?1:0)+(e.gzhead.hcrc?2:0)+(e.gzhead.extra?4:0)+(e.gzhead.name?8:0)+(e.gzhead.comment?16:0)),R(e,255&e.gzhead.time),R(e,e.gzhead.time>>8&255),R(e,e.gzhead.time>>16&255),R(e,e.gzhead.time>>24&255),R(e,9===e.level?2:2<=e.strategy||e.level<2?4:0),R(e,255&e.gzhead.os),e.gzhead.extra&&e.gzhead.extra.length&&(R(e,255&e.gzhead.extra.length),R(e,e.gzhead.extra.length>>8&255)),e.gzhead.hcrc&&(t.adler=f(t.adler,e.pending_buf,e.pending,0)),e.gzindex=0,e.status=69):(R(e,0),R(e,0),R(e,0),R(e,0),R(e,0),R(e,9===e.level?2:2<=e.strategy||e.level<2?4:0),R(e,3),e.status=E);else{var l=d+(e.w_bits-8<<4)<<8;l|=(2<=e.strategy||e.level<2?0:e.level<6?1:6===e.level?2:3)<<6,0!==e.strstart&&(l|=32),l+=31-l%31,e.status=E,B(e,l),0!==e.strstart&&(B(e,t.adler>>>16),B(e,65535&t.adler)),t.adler=1}if(69===e.status)if(e.gzhead.extra){for(o=e.pending;e.gzindex<(65535&e.gzhead.extra.length)&&(e.pending!==e.pending_buf_size||(e.gzhead.hcrc&&e.pending>o&&(t.adler=f(t.adler,e.pending_buf,e.pending-o,o)),j(t),o=e.pending,e.pending!==e.pending_buf_size));)R(e,255&e.gzhead.extra[e.gzindex]),e.gzindex++;e.gzhead.hcrc&&e.pending>o&&(t.adler=f(t.adler,e.pending_buf,e.pending-o,o)),e.gzindex===e.gzhead.extra.length&&(e.gzindex=0,e.status=73)}else e.status=73;if(73===e.status)if(e.gzhead.name){o=e.pending;do{if(e.pending===e.pending_buf_size&&(e.gzhead.hcrc&&e.pending>o&&(t.adler=f(t.adler,e.pending_buf,e.pending-o,o)),j(t),o=e.pending,e.pending===e.pending_buf_size)){a=1;break}a=e.gzindex<e.gzhead.name.length?255&e.gzhead.name.charCodeAt(e.gzindex++):0,R(e,a)}while(0!==a);e.gzhead.hcrc&&e.pending>o&&(t.adler=f(t.adler,e.pending_buf,e.pending-o,o)),0===a&&(e.gzindex=0,e.status=91)}else e.status=91;if(91===e.status)if(e.gzhead.comment){o=e.pending;do{if(e.pending===e.pending_buf_size&&(e.gzhead.hcrc&&e.pending>o&&(t.adler=f(t.adler,e.pending_buf,e.pending-o,o)),j(t),o=e.pending,e.pending===e.pending_buf_size)){a=1;break}a=e.gzindex<e.gzhead.comment.length?255&e.gzhead.comment.charCodeAt(e.gzindex++):0,R(e,a)}while(0!==a);e.gzhead.hcrc&&e.pending>o&&(t.adler=f(t.adler,e.pending_buf,e.pending-o,o)),0===a&&(e.status=103)}else e.status=103;if(103===e.status&&(e.gzhead.hcrc?(e.pending+2>e.pending_buf_size&&j(t),e.pending+2<=e.pending_buf_size&&(R(e,255&t.adler),R(e,t.adler>>8&255),t.adler=0,e.status=E)):e.status=E),0!==e.pending){if(j(t),0===t.avail_out)return e.last_flush=-1,h}else if(0===t.avail_in&&z(r)<=z(i)&&4!==r)return S(t,-5);if(666===e.status&&0!==t.avail_in)return S(t,-5);if(0!==t.avail_in||0!==e.lookahead||r!==u&&666!==e.status){var v=2===e.strategy?function(t,r){for(var i;;){if(0===t.lookahead&&(F(t),0===t.lookahead)){if(r===u)return 1;break}if(t.match_length=0,i=s._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,i&&(O(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===r?(O(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(O(t,!1),0===t.strm.avail_out)?1:2}(e,r):3===e.strategy?function(t,r){for(var i,n,e,o,f=t.window;;){if(t.lookahead<=k){if(F(t),t.lookahead<=k&&r===u)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=y&&0<t.strstart&&(n=f[e=t.strstart-1])===f[++e]&&n===f[++e]&&n===f[++e]){o=t.strstart+k;do{}while(n===f[++e]&&n===f[++e]&&n===f[++e]&&n===f[++e]&&n===f[++e]&&n===f[++e]&&n===f[++e]&&n===f[++e]&&e<o);t.match_length=k-(o-e),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=y?(i=s._tr_tally(t,1,t.match_length-y),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(i=s._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),i&&(O(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===r?(O(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(O(t,!1),0===t.strm.avail_out)?1:2}(e,r):n[e.level].func(e,r);if(3!==v&&4!==v||(e.status=666),1===v||3===v)return 0===t.avail_out&&(e.last_flush=-1),h;if(2===v&&(1===r?s._tr_align(e):5!==r&&(s._tr_stored_block(e,0,0,!1),3===r&&(U(e.head),0===e.lookahead&&(e.strstart=0,e.block_start=0,e.insert=0))),j(t),0===t.avail_out))return e.last_flush=-1,h}return 4!==r?h:e.wrap<=0?1:(2===e.wrap?(R(e,255&t.adler),R(e,t.adler>>8&255),R(e,t.adler>>16&255),R(e,t.adler>>24&255),R(e,255&t.total_in),R(e,t.total_in>>8&255),R(e,t.total_in>>16&255),R(e,t.total_in>>24&255)):(B(e,t.adler>>>16),B(e,65535&t.adler)),j(t),0<e.wrap&&(e.wrap=-e.wrap),0!==e.pending?h:1)},i.deflateEnd=function(t){var r;return t&&t.state?(r=t.state.status)!==A&&69!==r&&73!==r&&91!==r&&103!==r&&r!==E&&666!==r?S(t,c):(t.state=null,r===E?S(t,-3):h):c},i.deflateSetDictionary=function(t,r){var i,n,s,f,a,u,l,d,v=r.length;if(!t||!t.state)return c;if(2===(f=(i=t.state).wrap)||1===f&&i.status!==A||i.lookahead)return c;for(1===f&&(t.adler=o(t.adler,r,v,0)),i.wrap=0,v>=i.w_size&&(0===f&&(U(i.head),i.strstart=0,i.block_start=0,i.insert=0),d=new e.Buf8(i.w_size),e.arraySet(d,r,v-i.w_size,i.w_size,0),r=d,v=i.w_size),a=t.avail_in,u=t.next_in,l=t.input,t.avail_in=v,t.next_in=0,t.input=r,F(i);i.lookahead>=y;){for(n=i.strstart,s=i.lookahead-(y-1);i.ins_h=(i.ins_h<<i.hash_shift^i.window[n+y-1])&i.hash_mask,i.prev[n&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=n,n++,--s;);i.strstart=n,i.lookahead=y-1,F(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=y-1,i.match_available=0,t.next_in=u,t.input=l,t.avail_in=a,i.wrap=f,h},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(t,r){r.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(t,r){r.exports=function(t,r){var i,n,e,s,o,f,a,u,h,c,l,d,v,p,w,b,m,y,k,g,A,E,S,z,U;z=t.input,e=(n=t.next_in)+(t.avail_in-5),U=t.output,o=(s=t.next_out)-(r-t.avail_out),f=s+(t.avail_out-257),a=(i=t.state).dmax,u=i.wsize,h=i.whave,c=i.wnext,l=i.window,d=i.hold,v=i.bits,p=i.lencode,w=i.distcode,b=(1<<i.lenbits)-1,m=(1<<i.distbits)-1;t:do{v<15&&(d+=z[n++]<<v,d+=z[n++]<<(v+=8),v+=8),y=p[d&b];r:for(;;){if(d>>>=k=y>>>24,v-=k,0==(k=y>>>16&255))U[s++]=65535&y;else{if(!(16&k)){if(!(64&k)){y=p[(65535&y)+(d&(1<<k)-1)];continue r}if(32&k){i.mode=12;break t}t.msg="invalid literal/length code",i.mode=30;break t}g=65535&y,(k&=15)&&(v<k&&(d+=z[n++]<<v,v+=8),g+=d&(1<<k)-1,d>>>=k,v-=k),v<15&&(d+=z[n++]<<v,d+=z[n++]<<(v+=8),v+=8),y=w[d&m];i:for(;;){if(d>>>=k=y>>>24,v-=k,!(16&(k=y>>>16&255))){if(!(64&k)){y=w[(65535&y)+(d&(1<<k)-1)];continue i}t.msg="invalid distance code",i.mode=30;break t}if(A=65535&y,v<(k&=15)&&(d+=z[n++]<<v,(v+=8)<k&&(d+=z[n++]<<v,v+=8)),a<(A+=d&(1<<k)-1)){t.msg="invalid distance too far back",i.mode=30;break t}if(d>>>=k,v-=k,(k=s-o)<A){if(h<(k=A-k)&&i.sane){t.msg="invalid distance too far back",i.mode=30;break t}if(S=l,(E=0)===c){if(E+=u-k,k<g){for(g-=k;U[s++]=l[E++],--k;);E=s-A,S=U}}else if(c<k){if(E+=u+c-k,(k-=c)<g){for(g-=k;U[s++]=l[E++],--k;);if(E=0,c<g){for(g-=k=c;U[s++]=l[E++],--k;);E=s-A,S=U}}}else if(E+=c-k,k<g){for(g-=k;U[s++]=l[E++],--k;);E=s-A,S=U}for(;2<g;)U[s++]=S[E++],U[s++]=S[E++],U[s++]=S[E++],g-=3;g&&(U[s++]=S[E++],1<g&&(U[s++]=S[E++]))}else{for(E=s-A;U[s++]=U[E++],U[s++]=U[E++],U[s++]=U[E++],2<(g-=3););g&&(U[s++]=U[E++],1<g&&(U[s++]=U[E++]))}break}}break}}while(n<e&&s<f);n-=g=v>>3,d&=(1<<(v-=g<<3))-1,t.next_in=n,t.next_out=s,t.avail_in=n<e?e-n+5:5-(n-e),t.avail_out=s<f?f-s+257:257-(s-f),i.hold=d,i.bits=v}},{}],49:[function(t,r,i){var n=t("../utils/common"),e=t("./adler32"),s=t("./crc32"),o=t("./inffast"),f=t("./inftrees"),a=0,u=-2,h=1,c=852,l=592;function d(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function v(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function p(t){var r;return t&&t.state?(t.total_in=t.total_out=(r=t.state).total=0,t.msg="",r.wrap&&(t.adler=1&r.wrap),r.mode=h,r.last=0,r.havedict=0,r.dmax=32768,r.head=null,r.hold=0,r.bits=0,r.lencode=r.lendyn=new n.Buf32(c),r.distcode=r.distdyn=new n.Buf32(l),r.sane=1,r.back=-1,a):u}function w(t){var r;return t&&t.state?((r=t.state).wsize=0,r.whave=0,r.wnext=0,p(t)):u}function b(t,r){var i,n;return t&&t.state?(n=t.state,r<0?(i=0,r=-r):(i=1+(r>>4),r<48&&(r&=15)),r&&(r<8||15<r)?u:(null!==n.window&&n.wbits!==r&&(n.window=null),n.wrap=i,n.wbits=r,w(t))):u}function m(t,r){var i,n;return t?(n=new v,(t.state=n).window=null,(i=b(t,r))!==a&&(t.state=null),i):u}var y,k,g=!0;function A(t){if(g){var r;for(y=new n.Buf32(512),k=new n.Buf32(32),r=0;r<144;)t.lens[r++]=8;for(;r<256;)t.lens[r++]=9;for(;r<280;)t.lens[r++]=7;for(;r<288;)t.lens[r++]=8;for(f(1,t.lens,0,288,y,0,t.work,{bits:9}),r=0;r<32;)t.lens[r++]=5;f(2,t.lens,0,32,k,0,t.work,{bits:5}),g=!1}t.lencode=y,t.lenbits=9,t.distcode=k,t.distbits=5}function E(t,r,i,e){var s,o=t.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new n.Buf8(o.wsize)),e>=o.wsize?(n.arraySet(o.window,r,i-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(e<(s=o.wsize-o.wnext)&&(s=e),n.arraySet(o.window,r,i-e,s,o.wnext),(e-=s)?(n.arraySet(o.window,r,i-e,e,0),o.wnext=e,o.whave=o.wsize):(o.wnext+=s,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=s))),0}i.inflateReset=w,i.inflateReset2=b,i.inflateResetKeep=p,i.inflateInit=function(t){return m(t,15)},i.inflateInit2=m,i.inflate=function(t,r){var i,c,l,v,p,w,b,m,y,k,g,S,z,U,j,O,R,B,C,F,_,W,T,Z,D=0,I=new n.Buf8(4),N=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return u;12===(i=t.state).mode&&(i.mode=13),p=t.next_out,l=t.output,v=t.next_in,c=t.input,m=i.hold,y=i.bits,k=w=t.avail_in,g=b=t.avail_out,W=a;t:for(;;)switch(i.mode){case h:if(0===i.wrap){i.mode=13;break}for(;y<16;){if(0===w)break t;w--,m+=c[v++]<<y,y+=8}if(2&i.wrap&&35615===m){I[i.check=0]=255&m,I[1]=m>>>8&255,i.check=s(i.check,I,2,0),y=m=0,i.mode=2;break}if(i.flags=0,i.head&&(i.head.done=!1),!(1&i.wrap)||(((255&m)<<8)+(m>>8))%31){t.msg="incorrect header check",i.mode=30;break}if(8!=(15&m)){t.msg="unknown compression method",i.mode=30;break}if(y-=4,_=8+(15&(m>>>=4)),0===i.wbits)i.wbits=_;else if(_>i.wbits){t.msg="invalid window size",i.mode=30;break}i.dmax=1<<_,t.adler=i.check=1,i.mode=512&m?10:12,y=m=0;break;case 2:for(;y<16;){if(0===w)break t;w--,m+=c[v++]<<y,y+=8}if(i.flags=m,8!=(255&i.flags)){t.msg="unknown compression method",i.mode=30;break}if(57344&i.flags){t.msg="unknown header flags set",i.mode=30;break}i.head&&(i.head.text=m>>8&1),512&i.flags&&(I[0]=255&m,I[1]=m>>>8&255,i.check=s(i.check,I,2,0)),y=m=0,i.mode=3;case 3:for(;y<32;){if(0===w)break t;w--,m+=c[v++]<<y,y+=8}i.head&&(i.head.time=m),512&i.flags&&(I[0]=255&m,I[1]=m>>>8&255,I[2]=m>>>16&255,I[3]=m>>>24&255,i.check=s(i.check,I,4,0)),y=m=0,i.mode=4;case 4:for(;y<16;){if(0===w)break t;w--,m+=c[v++]<<y,y+=8}i.head&&(i.head.xflags=255&m,i.head.os=m>>8),512&i.flags&&(I[0]=255&m,I[1]=m>>>8&255,i.check=s(i.check,I,2,0)),y=m=0,i.mode=5;case 5:if(1024&i.flags){for(;y<16;){if(0===w)break t;w--,m+=c[v++]<<y,y+=8}i.length=m,i.head&&(i.head.extra_len=m),512&i.flags&&(I[0]=255&m,I[1]=m>>>8&255,i.check=s(i.check,I,2,0)),y=m=0}else i.head&&(i.head.extra=null);i.mode=6;case 6:if(1024&i.flags&&(w<(S=i.length)&&(S=w),S&&(i.head&&(_=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Array(i.head.extra_len)),n.arraySet(i.head.extra,c,v,S,_)),512&i.flags&&(i.check=s(i.check,c,S,v)),w-=S,v+=S,i.length-=S),i.length))break t;i.length=0,i.mode=7;case 7:if(2048&i.flags){if(0===w)break t;for(S=0;_=c[v+S++],i.head&&_&&i.length<65536&&(i.head.name+=String.fromCharCode(_)),_&&S<w;);if(512&i.flags&&(i.check=s(i.check,c,S,v)),w-=S,v+=S,_)break t}else i.head&&(i.head.name=null);i.length=0,i.mode=8;case 8:if(4096&i.flags){if(0===w)break t;for(S=0;_=c[v+S++],i.head&&_&&i.length<65536&&(i.head.comment+=String.fromCharCode(_)),_&&S<w;);if(512&i.flags&&(i.check=s(i.check,c,S,v)),w-=S,v+=S,_)break t}else i.head&&(i.head.comment=null);i.mode=9;case 9:if(512&i.flags){for(;y<16;){if(0===w)break t;w--,m+=c[v++]<<y,y+=8}if(m!==(65535&i.check)){t.msg="header crc mismatch",i.mode=30;break}y=m=0}i.head&&(i.head.hcrc=i.flags>>9&1,i.head.done=!0),t.adler=i.check=0,i.mode=12;break;case 10:for(;y<32;){if(0===w)break t;w--,m+=c[v++]<<y,y+=8}t.adler=i.check=d(m),y=m=0,i.mode=11;case 11:if(0===i.havedict)return t.next_out=p,t.avail_out=b,t.next_in=v,t.avail_in=w,i.hold=m,i.bits=y,2;t.adler=i.check=1,i.mode=12;case 12:if(5===r||6===r)break t;case 13:if(i.last){m>>>=7&y,y-=7&y,i.mode=27;break}for(;y<3;){if(0===w)break t;w--,m+=c[v++]<<y,y+=8}switch(i.last=1&m,y-=1,3&(m>>>=1)){case 0:i.mode=14;break;case 1:if(A(i),i.mode=20,6!==r)break;m>>>=2,y-=2;break t;case 2:i.mode=17;break;case 3:t.msg="invalid block type",i.mode=30}m>>>=2,y-=2;break;case 14:for(m>>>=7&y,y-=7&y;y<32;){if(0===w)break t;w--,m+=c[v++]<<y,y+=8}if((65535&m)!=(m>>>16^65535)){t.msg="invalid stored block lengths",i.mode=30;break}if(i.length=65535&m,y=m=0,i.mode=15,6===r)break t;case 15:i.mode=16;case 16:if(S=i.length){if(w<S&&(S=w),b<S&&(S=b),0===S)break t;n.arraySet(l,c,v,S,p),w-=S,v+=S,b-=S,p+=S,i.length-=S;break}i.mode=12;break;case 17:for(;y<14;){if(0===w)break t;w--,m+=c[v++]<<y,y+=8}if(i.nlen=257+(31&m),y-=5,i.ndist=1+(31&(m>>>=5)),y-=5,i.ncode=4+(15&(m>>>=5)),m>>>=4,y-=4,286<i.nlen||30<i.ndist){t.msg="too many length or distance symbols",i.mode=30;break}i.have=0,i.mode=18;case 18:for(;i.have<i.ncode;){for(;y<3;){if(0===w)break t;w--,m+=c[v++]<<y,y+=8}i.lens[N[i.have++]]=7&m,m>>>=3,y-=3}for(;i.have<19;)i.lens[N[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,W=f(0,i.lens,0,19,i.lencode,0,i.work,T={bits:i.lenbits}),i.lenbits=T.bits,W){t.msg="invalid code lengths set",i.mode=30;break}i.have=0,i.mode=19;case 19:for(;i.have<i.nlen+i.ndist;){for(;O=(D=i.lencode[m&(1<<i.lenbits)-1])>>>16&255,R=65535&D,!((j=D>>>24)<=y);){if(0===w)break t;w--,m+=c[v++]<<y,y+=8}if(R<16)m>>>=j,y-=j,i.lens[i.have++]=R;else{if(16===R){for(Z=j+2;y<Z;){if(0===w)break t;w--,m+=c[v++]<<y,y+=8}if(m>>>=j,y-=j,0===i.have){t.msg="invalid bit length repeat",i.mode=30;break}_=i.lens[i.have-1],S=3+(3&m),m>>>=2,y-=2}else if(17===R){for(Z=j+3;y<Z;){if(0===w)break t;w--,m+=c[v++]<<y,y+=8}y-=j,_=0,S=3+(7&(m>>>=j)),m>>>=3,y-=3}else{for(Z=j+7;y<Z;){if(0===w)break t;w--,m+=c[v++]<<y,y+=8}y-=j,_=0,S=11+(127&(m>>>=j)),m>>>=7,y-=7}if(i.have+S>i.nlen+i.ndist){t.msg="invalid bit length repeat",i.mode=30;break}for(;S--;)i.lens[i.have++]=_}}if(30===i.mode)break;if(0===i.lens[256]){t.msg="invalid code -- missing end-of-block",i.mode=30;break}if(i.lenbits=9,W=f(1,i.lens,0,i.nlen,i.lencode,0,i.work,T={bits:i.lenbits}),i.lenbits=T.bits,W){t.msg="invalid literal/lengths set",i.mode=30;break}if(i.distbits=6,i.distcode=i.distdyn,W=f(2,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,T={bits:i.distbits}),i.distbits=T.bits,W){t.msg="invalid distances set",i.mode=30;break}if(i.mode=20,6===r)break t;case 20:i.mode=21;case 21:if(6<=w&&258<=b){t.next_out=p,t.avail_out=b,t.next_in=v,t.avail_in=w,i.hold=m,i.bits=y,o(t,g),p=t.next_out,l=t.output,b=t.avail_out,v=t.next_in,c=t.input,w=t.avail_in,m=i.hold,y=i.bits,12===i.mode&&(i.back=-1);break}for(i.back=0;O=(D=i.lencode[m&(1<<i.lenbits)-1])>>>16&255,R=65535&D,!((j=D>>>24)<=y);){if(0===w)break t;w--,m+=c[v++]<<y,y+=8}if(O&&!(240&O)){for(B=j,C=O,F=R;O=(D=i.lencode[F+((m&(1<<B+C)-1)>>B)])>>>16&255,R=65535&D,!(B+(j=D>>>24)<=y);){if(0===w)break t;w--,m+=c[v++]<<y,y+=8}m>>>=B,y-=B,i.back+=B}if(m>>>=j,y-=j,i.back+=j,i.length=R,0===O){i.mode=26;break}if(32&O){i.back=-1,i.mode=12;break}if(64&O){t.msg="invalid literal/length code",i.mode=30;break}i.extra=15&O,i.mode=22;case 22:if(i.extra){for(Z=i.extra;y<Z;){if(0===w)break t;w--,m+=c[v++]<<y,y+=8}i.length+=m&(1<<i.extra)-1,m>>>=i.extra,y-=i.extra,i.back+=i.extra}i.was=i.length,i.mode=23;case 23:for(;O=(D=i.distcode[m&(1<<i.distbits)-1])>>>16&255,R=65535&D,!((j=D>>>24)<=y);){if(0===w)break t;w--,m+=c[v++]<<y,y+=8}if(!(240&O)){for(B=j,C=O,F=R;O=(D=i.distcode[F+((m&(1<<B+C)-1)>>B)])>>>16&255,R=65535&D,!(B+(j=D>>>24)<=y);){if(0===w)break t;w--,m+=c[v++]<<y,y+=8}m>>>=B,y-=B,i.back+=B}if(m>>>=j,y-=j,i.back+=j,64&O){t.msg="invalid distance code",i.mode=30;break}i.offset=R,i.extra=15&O,i.mode=24;case 24:if(i.extra){for(Z=i.extra;y<Z;){if(0===w)break t;w--,m+=c[v++]<<y,y+=8}i.offset+=m&(1<<i.extra)-1,m>>>=i.extra,y-=i.extra,i.back+=i.extra}if(i.offset>i.dmax){t.msg="invalid distance too far back",i.mode=30;break}i.mode=25;case 25:if(0===b)break t;if(i.offset>(S=g-b)){if((S=i.offset-S)>i.whave&&i.sane){t.msg="invalid distance too far back",i.mode=30;break}z=S>i.wnext?i.wsize-(S-=i.wnext):i.wnext-S,S>i.length&&(S=i.length),U=i.window}else U=l,z=p-i.offset,S=i.length;for(b<S&&(S=b),b-=S,i.length-=S;l[p++]=U[z++],--S;);0===i.length&&(i.mode=21);break;case 26:if(0===b)break t;l[p++]=i.length,b--,i.mode=21;break;case 27:if(i.wrap){for(;y<32;){if(0===w)break t;w--,m|=c[v++]<<y,y+=8}if(t.total_out+=g-=b,i.total+=g,g&&(t.adler=i.check=i.flags?s(i.check,l,g,p-g):e(i.check,l,g,p-g)),g=b,(i.flags?m:d(m))!==i.check){t.msg="incorrect data check",i.mode=30;break}y=m=0}i.mode=28;case 28:if(i.wrap&&i.flags){for(;y<32;){if(0===w)break t;w--,m+=c[v++]<<y,y+=8}if(m!==(4294967295&i.total)){t.msg="incorrect length check",i.mode=30;break}y=m=0}i.mode=29;case 29:W=1;break t;case 30:W=-3;break t;case 31:return-4;default:return u}return t.next_out=p,t.avail_out=b,t.next_in=v,t.avail_in=w,i.hold=m,i.bits=y,(i.wsize||g!==t.avail_out&&i.mode<30&&(i.mode<27||4!==r))&&E(t,t.output,t.next_out,g-t.avail_out)?(i.mode=31,-4):(g-=t.avail_out,t.total_in+=k-=t.avail_in,t.total_out+=g,i.total+=g,i.wrap&&g&&(t.adler=i.check=i.flags?s(i.check,l,g,t.next_out-g):e(i.check,l,g,t.next_out-g)),t.data_type=i.bits+(i.last?64:0)+(12===i.mode?128:0)+(20===i.mode||15===i.mode?256:0),(0==k&&0===g||4===r)&&W===a&&(W=-5),W)},i.inflateEnd=function(t){if(!t||!t.state)return u;var r=t.state;return r.window&&(r.window=null),t.state=null,a},i.inflateGetHeader=function(t,r){var i;return t&&t.state&&2&(i=t.state).wrap?((i.head=r).done=!1,a):u},i.inflateSetDictionary=function(t,r){var i,n=r.length;return t&&t.state?0!==(i=t.state).wrap&&11!==i.mode?u:11===i.mode&&e(1,r,n,0)!==i.check?-3:E(t,r,n,n)?(i.mode=31,-4):(i.havedict=1,a):u},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(t,r){var i=t("../utils/common"),n=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],e=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],s=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],o=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];r.exports=function(t,r,f,a,u,h,c,l){var d,v,p,w,b,m,y,k,g,A=l.bits,E=0,S=0,z=0,U=0,j=0,O=0,R=0,B=0,C=0,F=0,_=null,W=0,T=new i.Buf16(16),Z=new i.Buf16(16),D=null,I=0;for(E=0;E<=15;E++)T[E]=0;for(S=0;S<a;S++)T[r[f+S]]++;for(j=A,U=15;1<=U&&0===T[U];U--);if(U<j&&(j=U),0===U)return u[h++]=20971520,u[h++]=20971520,l.bits=1,0;for(z=1;z<U&&0===T[z];z++);for(j<z&&(j=z),E=B=1;E<=15;E++)if(B<<=1,(B-=T[E])<0)return-1;if(0<B&&(0===t||1!==U))return-1;for(Z[1]=0,E=1;E<15;E++)Z[E+1]=Z[E]+T[E];for(S=0;S<a;S++)0!==r[f+S]&&(c[Z[r[f+S]]++]=S);if(m=0===t?(_=D=c,19):1===t?(_=n,W-=257,D=e,I-=257,256):(_=s,D=o,-1),E=z,b=h,R=S=F=0,p=-1,w=(C=1<<(O=j))-1,1===t&&852<C||2===t&&592<C)return 1;for(;;){for(y=E-R,g=c[S]<m?(k=0,c[S]):c[S]>m?(k=D[I+c[S]],_[W+c[S]]):(k=96,0),d=1<<E-R,z=v=1<<O;u[b+(F>>R)+(v-=d)]=y<<24|k<<16|g,0!==v;);for(d=1<<E-1;F&d;)d>>=1;if(0!==d?(F&=d-1,F+=d):F=0,S++,0==--T[E]){if(E===U)break;E=r[f+c[S]]}if(j<E&&(F&w)!==p){for(0===R&&(R=j),b+=z,B=1<<(O=E-R);O+R<U&&!((B-=T[O+R])<=0);)O++,B<<=1;if(C+=1<<O,1===t&&852<C||2===t&&592<C)return 1;u[p=F&w]=j<<24|O<<16|b-h}}return 0!==F&&(u[b+F]=E-R<<24|64<<16),l.bits=j,0}},{"../utils/common":41}],51:[function(t,r){r.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(t,r,i){var n=t("../utils/common");function e(t){for(var r=t.length;0<=--r;)t[r]=0}var s=256,o=286,f=30,a=15,u=16,h=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],c=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],l=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],d=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],v=new Array(576);e(v);var p=new Array(60);e(p);var w=new Array(512);e(w);var b=new Array(256);e(b);var m=new Array(29);e(m);var y,k,g,A=new Array(f);function E(t,r,i,n,e){this.static_tree=t,this.extra_bits=r,this.extra_base=i,this.elems=n,this.max_length=e,this.has_stree=t&&t.length}function S(t,r){this.dyn_tree=t,this.max_code=0,this.stat_desc=r}function z(t){return t<256?w[t]:w[256+(t>>>7)]}function U(t,r){t.pending_buf[t.pending++]=255&r,t.pending_buf[t.pending++]=r>>>8&255}function j(t,r,i){t.bi_valid>u-i?(t.bi_buf|=r<<t.bi_valid&65535,U(t,t.bi_buf),t.bi_buf=r>>u-t.bi_valid,t.bi_valid+=i-u):(t.bi_buf|=r<<t.bi_valid&65535,t.bi_valid+=i)}function O(t,r,i){j(t,i[2*r],i[2*r+1])}function R(t,r){for(var i=0;i|=1&t,t>>>=1,i<<=1,0<--r;);return i>>>1}function B(t,r,i){var n,e,s=new Array(a+1),o=0;for(n=1;n<=a;n++)s[n]=o=o+i[n-1]<<1;for(e=0;e<=r;e++){var f=t[2*e+1];0!==f&&(t[2*e]=R(s[f]++,f))}}function C(t){var r;for(r=0;r<o;r++)t.dyn_ltree[2*r]=0;for(r=0;r<f;r++)t.dyn_dtree[2*r]=0;for(r=0;r<19;r++)t.bl_tree[2*r]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function F(t){8<t.bi_valid?U(t,t.bi_buf):0<t.bi_valid&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function _(t,r,i,n){var e=2*r,s=2*i;return t[e]<t[s]||t[e]===t[s]&&n[r]<=n[i]}function W(t,r,i){for(var n=t.heap[i],e=i<<1;e<=t.heap_len&&(e<t.heap_len&&_(r,t.heap[e+1],t.heap[e],t.depth)&&e++,!_(r,n,t.heap[e],t.depth));)t.heap[i]=t.heap[e],i=e,e<<=1;t.heap[i]=n}function T(t,r,i){var n,e,o,f,a=0;if(0!==t.last_lit)for(;n=t.pending_buf[t.d_buf+2*a]<<8|t.pending_buf[t.d_buf+2*a+1],e=t.pending_buf[t.l_buf+a],a++,0===n?O(t,e,r):(O(t,(o=b[e])+s+1,r),0!==(f=h[o])&&j(t,e-=m[o],f),O(t,o=z(--n),i),0!==(f=c[o])&&j(t,n-=A[o],f)),a<t.last_lit;);O(t,256,r)}function Z(t,r){var i,n,e,s=r.dyn_tree,o=r.stat_desc.static_tree,f=r.stat_desc.has_stree,u=r.stat_desc.elems,h=-1;for(t.heap_len=0,t.heap_max=573,i=0;i<u;i++)0!==s[2*i]?(t.heap[++t.heap_len]=h=i,t.depth[i]=0):s[2*i+1]=0;for(;t.heap_len<2;)s[2*(e=t.heap[++t.heap_len]=h<2?++h:0)]=1,t.depth[e]=0,t.opt_len--,f&&(t.static_len-=o[2*e+1]);for(r.max_code=h,i=t.heap_len>>1;1<=i;i--)W(t,s,i);for(e=u;i=t.heap[1],t.heap[1]=t.heap[t.heap_len--],W(t,s,1),n=t.heap[1],t.heap[--t.heap_max]=i,t.heap[--t.heap_max]=n,s[2*e]=s[2*i]+s[2*n],t.depth[e]=(t.depth[i]>=t.depth[n]?t.depth[i]:t.depth[n])+1,s[2*i+1]=s[2*n+1]=e,t.heap[1]=e++,W(t,s,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,r){var i,n,e,s,o,f,u=r.dyn_tree,h=r.max_code,c=r.stat_desc.static_tree,l=r.stat_desc.has_stree,d=r.stat_desc.extra_bits,v=r.stat_desc.extra_base,p=r.stat_desc.max_length,w=0;for(s=0;s<=a;s++)t.bl_count[s]=0;for(u[2*t.heap[t.heap_max]+1]=0,i=t.heap_max+1;i<573;i++)p<(s=u[2*u[2*(n=t.heap[i])+1]+1]+1)&&(s=p,w++),u[2*n+1]=s,h<n||(t.bl_count[s]++,o=0,v<=n&&(o=d[n-v]),t.opt_len+=(f=u[2*n])*(s+o),l&&(t.static_len+=f*(c[2*n+1]+o)));if(0!==w){do{for(s=p-1;0===t.bl_count[s];)s--;t.bl_count[s]--,t.bl_count[s+1]+=2,t.bl_count[p]--,w-=2}while(0<w);for(s=p;0!==s;s--)for(n=t.bl_count[s];0!==n;)h<(e=t.heap[--i])||(u[2*e+1]!==s&&(t.opt_len+=(s-u[2*e+1])*u[2*e],u[2*e+1]=s),n--)}}(t,r),B(s,h,t.bl_count)}function D(t,r,i){var n,e,s=-1,o=r[1],f=0,a=7,u=4;for(0===o&&(a=138,u=3),r[2*(i+1)+1]=65535,n=0;n<=i;n++)e=o,o=r[2*(n+1)+1],++f<a&&e===o||(f<u?t.bl_tree[2*e]+=f:0!==e?(e!==s&&t.bl_tree[2*e]++,t.bl_tree[32]++):f<=10?t.bl_tree[34]++:t.bl_tree[36]++,s=e,u=(f=0)===o?(a=138,3):e===o?(a=6,3):(a=7,4))}function I(t,r,i){var n,e,s=-1,o=r[1],f=0,a=7,u=4;for(0===o&&(a=138,u=3),n=0;n<=i;n++)if(e=o,o=r[2*(n+1)+1],!(++f<a&&e===o)){if(f<u)for(;O(t,e,t.bl_tree),0!=--f;);else 0!==e?(e!==s&&(O(t,e,t.bl_tree),f--),O(t,16,t.bl_tree),j(t,f-3,2)):f<=10?(O(t,17,t.bl_tree),j(t,f-3,3)):(O(t,18,t.bl_tree),j(t,f-11,7));s=e,u=(f=0)===o?(a=138,3):e===o?(a=6,3):(a=7,4)}}e(A);var N=!1;function P(t,r,i,e){j(t,0+(e?1:0),3),function(t,r,i){F(t),U(t,i),U(t,~i),n.arraySet(t.pending_buf,t.window,r,i,t.pending),t.pending+=i}(t,r,i)}i._tr_init=function(t){N||(function(){var t,r,i,n,e,s=new Array(a+1);for(n=i=0;n<28;n++)for(m[n]=i,t=0;t<1<<h[n];t++)b[i++]=n;for(b[i-1]=n,n=e=0;n<16;n++)for(A[n]=e,t=0;t<1<<c[n];t++)w[e++]=n;for(e>>=7;n<f;n++)for(A[n]=e<<7,t=0;t<1<<c[n]-7;t++)w[256+e++]=n;for(r=0;r<=a;r++)s[r]=0;for(t=0;t<=143;)v[2*t+1]=8,t++,s[8]++;for(;t<=255;)v[2*t+1]=9,t++,s[9]++;for(;t<=279;)v[2*t+1]=7,t++,s[7]++;for(;t<=287;)v[2*t+1]=8,t++,s[8]++;for(B(v,287,s),t=0;t<f;t++)p[2*t+1]=5,p[2*t]=R(t,5);y=new E(v,h,257,o,a),k=new E(p,c,0,f,a),g=new E(new Array(0),l,0,19,7)}(),N=!0),t.l_desc=new S(t.dyn_ltree,y),t.d_desc=new S(t.dyn_dtree,k),t.bl_desc=new S(t.bl_tree,g),t.bi_buf=0,t.bi_valid=0,C(t)},i._tr_stored_block=P,i._tr_flush_block=function(t,r,i,n){var e,o,f=0;0<t.level?(2===t.strm.data_type&&(t.strm.data_type=function(t){var r,i=4093624447;for(r=0;r<=31;r++,i>>>=1)if(1&i&&0!==t.dyn_ltree[2*r])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(r=32;r<s;r++)if(0!==t.dyn_ltree[2*r])return 1;return 0}(t)),Z(t,t.l_desc),Z(t,t.d_desc),f=function(t){var r;for(D(t,t.dyn_ltree,t.l_desc.max_code),D(t,t.dyn_dtree,t.d_desc.max_code),Z(t,t.bl_desc),r=18;3<=r&&0===t.bl_tree[2*d[r]+1];r--);return t.opt_len+=3*(r+1)+5+5+4,r}(t),(o=t.static_len+3+7>>>3)<=(e=t.opt_len+3+7>>>3)&&(e=o)):e=o=i+5,i+4<=e&&-1!==r?P(t,r,i,n):4===t.strategy||o===e?(j(t,2+(n?1:0),3),T(t,v,p)):(j(t,4+(n?1:0),3),function(t,r,i,n){var e;for(j(t,r-257,5),j(t,i-1,5),j(t,n-4,4),e=0;e<n;e++)j(t,t.bl_tree[2*d[e]+1],3);I(t,t.dyn_ltree,r-1),I(t,t.dyn_dtree,i-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,f+1),T(t,t.dyn_ltree,t.dyn_dtree)),C(t),n&&F(t)},i._tr_tally=function(t,r,i){return t.pending_buf[t.d_buf+2*t.last_lit]=r>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&r,t.pending_buf[t.l_buf+t.last_lit]=255&i,t.last_lit++,0===r?t.dyn_ltree[2*i]++:(t.matches++,r--,t.dyn_ltree[2*(b[i]+s+1)]++,t.dyn_dtree[2*z(r)]++),t.last_lit===t.lit_bufsize-1},i._tr_align=function(t){j(t,2,3),O(t,256,v),function(t){16===t.bi_valid?(U(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},{"../utils/common":41}],53:[function(t,r){r.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(){(function(t){!function(t,r){if(!t.setImmediate){var i,n,e,s,o=1,f={},a=!1,u=t.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(t);h=h&&h.setTimeout?h:t,i="[object process]"==={}.toString.call(t.process)?function(t){process.nextTick((function(){l(t)}))}:function(){if(t.postMessage&&!t.importScripts){var r=!0,i=t.onmessage;return t.onmessage=function(){r=!1},t.postMessage("","*"),t.onmessage=i,r}}()?(s="setImmediate$"+Math.random()+"$",t.addEventListener?t.addEventListener("message",d,!1):t.attachEvent("onmessage",d),function(r){t.postMessage(s+r,"*")}):t.MessageChannel?((e=new MessageChannel).port1.onmessage=function(t){l(t.data)},function(t){e.port2.postMessage(t)}):u&&"onreadystatechange"in u.createElement("script")?(n=u.documentElement,function(t){var r=u.createElement("script");r.onreadystatechange=function(){l(t),r.onreadystatechange=null,n.removeChild(r),r=null},n.appendChild(r)}):function(t){setTimeout(l,0,t)},h.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var r=new Array(arguments.length-1),n=0;n<r.length;n++)r[n]=arguments[n+1];return f[o]={callback:t,args:r},i(o),o++},h.clearImmediate=c}function c(t){delete f[t]}function l(t){if(a)setTimeout(l,0,t);else{var i=f[t];if(i){a=!0;try{!function(t){var i=t.callback,n=t.args;switch(n.length){case 0:i();break;case 1:i(n[0]);break;case 2:i(n[0],n[1]);break;case 3:i(n[0],n[1],n[2]);break;default:i.apply(r,n)}}(i)}finally{c(t),a=!1}}}}function d(r){r.source===t&&"string"==typeof r.data&&0===r.data.indexOf(s)&&l(+r.data.slice(s.length))}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10);
|
23
|
-
/** @license
|
24
|
-
* Copyright 2018 Esri
|
25
|
-
*
|
26
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
27
|
-
* you may not use this file except in compliance with the License.
|
28
|
-
* You may obtain a copy of the License at
|
29
|
-
*
|
30
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
31
|
-
*
|
32
|
-
* Unless required by applicable law or agreed to in writing, software
|
33
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
34
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
35
|
-
* See the License for the specific language governing permissions and
|
36
|
-
* limitations under the License.
|
37
|
-
*/var f,a;!function(t){t[t.NotYetVisited=0]="NotYetVisited",t[t.InProgress=1]="InProgress",t[t.Finished=2]="Finished"}(f||(f={})),function(t){t[t.thumbnail=0]="thumbnail",t[t.metadata=1]="metadata",t[t.resource=2]="resource",t[t.data=3]="data",t[t.fakezip=4]="fakezip",t[t.info=5]="info"}(a||(a={}));export{n as E,o as J,i as S}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{d as e}from"./p-80ff858b.js";import"./p-4e6eb06e.js";import"./p-9c5d5171.js";import"./p-26ba0cc7.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-770a5a64.js";import"./p-ec51378a.js";import"./p-9ce8e34f.js";import"./p-ae019e19.js";import"./p-7f68e6a4.js";import"./p-08c18450.js";import"./p-177b4cbc.js";import"./p-85c3237c.js";import"./p-d9e9fe80.js";import"./p-7eee9aa8.js";import"./p-fd019d15.js";import"./p-bd7be7a7.js";import"./p-cb8d90d1.js";import"./p-e37e117f.js";import"./p-a71250ea.js";var m={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};e.locale(m,null,!0);export{m as default}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,h as e,g as a}from"./p-4e6eb06e.js";import{u as n,I as o}from"./p-770a5a64.js";import{c as r,s as l,a as s}from"./p-7f68e6a4.js";import"./p-08c18450.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.13.2
|
11
|
-
*/const c=class{constructor(e){t(this,e),this.calciteSplitButtonPrimaryClick=i(this,"calciteSplitButtonPrimaryClick",6),this.calciteSplitButtonSecondaryClick=i(this,"calciteSplitButtonSecondaryClick",6),this.calciteSplitButtonPrimaryClickHandler=()=>this.calciteSplitButtonPrimaryClick.emit(),this.calciteSplitButtonSecondaryClickHandler=()=>this.calciteSplitButtonSecondaryClick.emit(),this.appearance="solid",this.kind="brand",this.disabled=!1,this.active=!1,this.dropdownIconType="chevron",this.dropdownLabel=void 0,this.flipPlacements=void 0,this.loading=!1,this.overlayPositioning="absolute",this.placement="bottom-end",this.primaryIconEnd=void 0,this.primaryIconFlipRtl=void 0,this.primaryIconStart=void 0,this.primaryLabel=void 0,this.primaryText=void 0,this.scale="m",this.width="auto"}handleDisabledChange(t){t||(this.active=!1)}activeHandler(){this.disabled&&(this.active=!1)}async setFocus(){await r(this),this.el.focus()}componentWillLoad(){l(this)}componentDidLoad(){s(this)}componentDidRender(){n(this)}render(){return e(o,{key:"dacdf1583d8cb4551cb4882b8508c558d782b4d4",disabled:this.disabled},e("div",{key:"a61c78ee84cd89d78a7d2c9479917838ed410c16",class:"container"},e("calcite-button",{key:"f70e6b5aa7457c7d51093be9a0033c28134b7a1f",appearance:this.appearance,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,kind:this.kind,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",type:"button",width:"auto"===this.width?"auto":"full"},this.primaryText),e("div",{key:"6a666aff420b7aee2d413ac298a8cf7c743b63fe",class:"divider-container"},e("div",{key:"34e4ea2b452fb53d5503d0cc03b8d8644e08f8a3",class:"divider"})),e("calcite-dropdown",{key:"44dfd708df7c0e961259ffca36e181306043e64f",disabled:this.disabled,flipPlacements:this.flipPlacements,onClick:this.calciteSplitButtonSecondaryClickHandler,open:this.active,overlayPositioning:this.overlayPositioning,placement:this.placement,scale:this.scale,"width-scale":this.scale},e("calcite-button",{key:"4f746ce80d07518b03ae4602bd2417f369aacba3",appearance:this.appearance,disabled:this.disabled,"icon-start":this.dropdownIcon,kind:this.kind,label:this.dropdownLabel,scale:this.scale,slot:"trigger",splitChild:"secondary",type:"button"}),e("slot",{key:"80aa3fefc8d08c1a6e222a88f2e873cbcc209f1a"}))))}get dropdownIcon(){return"chevron"===this.dropdownIconType?"chevronDown":"caret"===this.dropdownIconType?"caretDown":"ellipsis"===this.dropdownIconType?"ellipsis":"handle-vertical"}static get delegatesFocus(){return!0}get el(){return a(this)}static get watchers(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}}};c.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([kind=brand]){--calcite-internal-split-button-background:var(--calcite-color-brand);--calcite-internal-split-button-divider:var(--calcite-color-foreground-1)}:host([kind=danger]){--calcite-internal-split-button-background:var(--calcite-color-status-danger);--calcite-internal-split-button-divider:var(--calcite-color-foreground-1)}:host([kind=neutral]){--calcite-internal-split-button-background:var(--calcite-color-foreground-3);--calcite-internal-split-button-divider:var(--calcite-color-text-1)}:host([kind=inverse]){--calcite-internal-split-button-background:var(--calcite-color-inverse);--calcite-internal-split-button-divider:var(--calcite-color-foreground-1)}:host([appearance=transparent]){--calcite-internal-split-button-background:transparent}:host([appearance=transparent]):host([kind=brand]){--calcite-internal-split-button-divider:var(--calcite-color-brand)}:host([appearance=transparent]):host([kind=danger]){--calcite-internal-split-button-divider:var(--calcite-color-status-danger)}:host([appearance=transparent]):host([kind=neutral]){--calcite-internal-split-button-divider:var(--calcite-color-text-1)}:host([appearance=transparent]):host([kind=inverse]){--calcite-internal-split-button-divider:var(--calcite-color-foreground-1)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline]):host([kind=danger]),:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline]):host([kind=inverse]){--calcite-internal-split-button-background:transparent}:host([appearance=outline-fill]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-internal-split-button-background:var(--calcite-color-background)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-internal-split-button-divider:var(--calcite-color-brand)}:host([appearance=outline]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=danger]){--calcite-internal-split-button-divider:var(--calcite-color-status-danger)}:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=neutral]){--calcite-internal-split-button-divider:var(--calcite-color-border-1)}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-internal-split-button-divider:var(--calcite-color-inverse)}.container{display:flex;align-items:stretch}.container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}.divider-container{display:flex;inline-size:1px;align-items:stretch;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-internal-split-button-background)}.divider{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]) .divider-container,:host([appearance=outline]) .divider-container{border-block:1px solid var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]):hover .divider-container,:host([appearance=outline]):hover .divider-container{background-color:var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]:hover) .divider-container,:host([appearance=outline]:hover) .divider-container{background-color:var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]:focus-within):host([kind=brand]),:host([appearance=outline]:focus-within):host([kind=brand]){--calcite-internal-split-button-divider:var(--calcite-color-brand-press)}:host([appearance=outline-fill]:focus-within):host([kind=danger]),:host([appearance=outline]:focus-within):host([kind=danger]){--calcite-internal-split-button-divider:var(--calcite-color-status-danger-press)}:host([appearance=outline-fill]:focus-within) .divider-container,:host([appearance=outline]:focus-within) .divider-container{background-color:var(--calcite-internal-split-button-divider)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]):host([appearance=outline-fill]) .divider-container{background-color:var(--calcite-color-background)}:host([disabled]):host([appearance=outline]) .divider-container{background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";export{c as calcite_split_button}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as e,h as t,g as r}from"./p-4e6eb06e.js";import{x as i}from"./p-26ba0cc7.js";import{w as a,s}from"./p-13fd4eeb.js";import"./p-eed08718.js";import"./p-51ab623a.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.13.2
|
11
|
-
*/const o=class{constructor(t){e(this,t),this.scale="m",this.thumbnail=void 0,this.fullName=void 0,this.username=void 0,this.userId=void 0,this.label=void 0,this.thumbnailFailedToLoad=!1}render(){return this.determineContent()}determineContent(){if(this.thumbnail&&!this.thumbnailFailedToLoad)return t("img",{alt:this.label||"",class:"thumbnail",onError:()=>this.thumbnailFailedToLoad=!0,src:this.thumbnail});const e=this.generateInitials(),r=this.generateFillColor();return t("span",{"aria-label":this.label||this.fullName,class:"background",role:"figure",style:{backgroundColor:r}},e?t("span",{"aria-hidden":"true",class:"initials"},e):t("calcite-icon",{class:"icon",icon:"user",scale:this.scale}))}generateFillColor(){const{userId:e,username:t,fullName:r,el:o}=this,n=i(o),c=e&&`#${e.substr(e.length-6)}`,l=t||r||"",h=c&&s(c)?c:
|
12
|
-
/*!
|
13
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
15
|
-
* v2.13.2
|
16
|
-
*/
|
17
|
-
function(e){e=function(e){const t=Math.floor(e.length/2),r=e.split("").reverse().join("");return r.substring(t)+r.slice(0,t)}(e);let t=0;for(let r=0;r<e.length;r++)t=e.charCodeAt(r)+((t<<5)-t);let r="#";for(let e=0;e<3;e++)r+=("00"+(t>>8*e&255).toString(16)).substr(-2);return r}(l);return(e||l)&&s(h)?`var(--calcite-avatar-background-color, hsl(${function(e){return function(e){let{r:t,g:r,b:i}=e;t/=255,r/=255,i/=255;const a=Math.max(t,r,i),s=Math.min(t,r,i),o=a-s;if(a===s)return 0;let n=(a+s)/2;switch(a){case t:n=(r-i)/o+(r<i?6:0);break;case r:n=(i-t)/o+2;break;case i:n=(t-r)/o+4}return Math.round(60*n)}(a(e))}(h)}, 60%, ${"dark"===n?20:90}%))`:"var(--calcite-avatar-background-color, var(--calcite-color-foreground-2))"}generateInitials(){const{fullName:e,username:t}=this;return e?e.trim().split(" ").map((e=>e.substring(0,1))).join(""):!!t&&t.substring(0,2)}get el(){return r(this)}};o.style=":host{display:inline-block;overflow:hidden;border-radius:var(--calcite-avatar-corner-radius, 50%);color:var(--calcite-avatar-color, var(--calcite-color-text-2))}:host([scale=s]){block-size:1.5rem;inline-size:1.5rem;font-size:var(--calcite-font-size--3)}:host([scale=m]){block-size:2rem;inline-size:2rem;font-size:var(--calcite-font-size--2)}:host([scale=l]){block-size:2.75rem;inline-size:2.75rem;font-size:var(--calcite-font-size-0)}.icon{display:flex}.background{display:flex;block-size:100%;inline-size:100%;align-items:center;justify-content:center;border-radius:var(--calcite-avatar-corner-radius, 50%)}.initials{font-weight:var(--calcite-font-weight-bold);text-transform:uppercase}.thumbnail{block-size:100%;inline-size:100%;border-radius:var(--calcite-avatar-corner-radius, 50%)}:host([hidden]){display:none}[hidden]{display:none}";export{o as calcite_avatar}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,h as e,H as o,g as s}from"./p-4e6eb06e.js";import{c as a,d as n}from"./p-7cc8e95a.js";import{e as c,s as h,f as l}from"./p-26ba0cc7.js";import{a as r,s as d,c as p}from"./p-7f68e6a4.js";import{c as u,d as g}from"./p-177b4cbc.js";import{c as b}from"./p-85c3237c.js";import{u as f,c as m,s as x,d as v}from"./p-cb8d90d1.js";import{t as y,q as w,g as j,o as z,E as H,a as C}from"./p-3aee989b.js";import{D}from"./p-51ab623a.js";import{d as L}from"./p-c8d3207e.js";import"./p-eed08718.js";import"./p-08c18450.js";import"./p-ec51378a.js";import"./p-ee3c41d6.js";import"./p-70e78995.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.13.2
|
11
|
-
*/const A=class{constructor(e){t(this,e),this.calciteActionBarToggle=i(this,"calciteActionBarToggle",6),this.mutationObserver=b("mutation",(()=>{const{el:t,expanded:i}=this;y({el:t,expanded:i}),this.overflowActions()})),this.resizeObserver=b("resize",(t=>this.resizeHandlerEntries(t))),this.actionMenuOpenHandler=t=>{if(t.target.menuOpen){const i=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{i.includes(t)||(t.menuOpen=!1)}))}},this.resizeHandlerEntries=t=>{t.forEach(this.resizeHandler)},this.resizeHandler=t=>{const{width:i,height:e}=t.contentRect;this.resize({width:i,height:e})},this.resize=L((({width:t,height:i})=>{const{el:e,expanded:o,expandDisabled:s,layout:a,overflowActionsDisabled:n}=this;if(n||"vertical"===a&&!i||"horizontal"===a&&!t)return;const c=w(e),h=s?c.length:c.length+1,l=Array.from(e.querySelectorAll("calcite-action-group"));this.setGroupLayout(l);const r=this.hasActionsEnd||this.hasBottomActions||!s?l.length+1:l.length,{actionHeight:d,actionWidth:p}=j(c),u=C({layout:a,actionCount:h,actionHeight:d,actionWidth:p,height:i,width:t,groupCount:r});z({actionGroups:l,expanded:o,overflowCount:u})}),D.resize),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.handleDefaultSlotChange=t=>{const i=c(t).filter((t=>t.matches("calcite-action-group")));this.setGroupLayout(i)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=h(t)},this.handleBottomActionsSlotChange=t=>{this.hasBottomActions=h(t)},this.handleTooltipSlotChange=t=>{const i=c(t).filter((t=>t?.matches("calcite-tooltip")));this.expandTooltip=i[0]},this.actionsEndGroupLabel=void 0,this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.overflowActionsDisabled=!1,this.overlayPositioning="absolute",this.position=void 0,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.hasActionsEnd=!1,this.hasBottomActions=!1,this.expandTooltip=void 0,this.defaultMessages=void 0}expandHandler(){this.overflowActions()}expandedHandler(){const{el:t,expanded:i}=this;y({el:t,expanded:i}),this.overflowActions()}layoutHandler(){this.updateGroups()}overflowDisabledHandler(t){t?this.resizeObserver?.disconnect():(this.resizeObserver?.observe(this.el),this.overflowActions())}onMessagesChange(){}effectiveLocaleChange(){f(this,this.effectiveLocale)}componentDidLoad(){const{el:t,expanded:i}=this;r(this),y({el:t,expanded:i}),this.overflowActions()}connectedCallback(){const{el:t,expanded:i}=this;u(this),m(this),y({el:t,expanded:i}),this.mutationObserver?.observe(t,{childList:!0,subtree:!0}),this.overflowActionsDisabled||this.resizeObserver?.observe(t),this.overflowActions(),a(this)}async componentWillLoad(){d(this),await x(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),n(this),g(this),v(this)}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(){await p(this),l(this.el)}updateGroups(){this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")))}setGroupLayout(t){t.forEach((t=>t.layout=this.layout))}renderBottomActionGroup(){const{expanded:t,expandDisabled:i,el:o,position:s,toggleExpand:a,scale:n,layout:c,messages:h,actionsEndGroupLabel:l,overlayPositioning:r}=this,d=i?null:e(H,{collapseLabel:h.collapseLabel,collapseText:h.collapse,el:o,expandLabel:h.expandLabel,expandText:h.expand,expanded:t,position:s,scale:n,toggle:a,tooltip:this.expandTooltip});return e("calcite-action-group",{class:"action-group--end",hidden:this.expandDisabled&&!(this.hasActionsEnd||this.hasBottomActions),label:l,layout:c,overlayPositioning:r,scale:n},e("slot",{name:"actions-end",onSlotchange:this.handleActionsEndSlotChange}),e("slot",{name:"bottom-actions",onSlotchange:this.handleBottomActionsSlotChange}),e("slot",{name:"expand-tooltip",onSlotchange:this.handleTooltipSlotChange}),d)}render(){return e(o,{key:"ff6e365531a0ed2032864bb0777910c3932e9c6b",onCalciteActionMenuOpen:this.actionMenuOpenHandler},e("slot",{key:"f12b2f455752a62ee32b65224bed385940135a49",onSlotchange:this.handleDefaultSlotChange}),this.renderBottomActionGroup())}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],layout:["layoutHandler"],overflowActionsDisabled:["overflowDisabledHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};A.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{pointer-events:auto;display:inline-flex;align-self:stretch;gap:var(--calcite-action-bar-items-space, 0)}:host([layout=vertical]){flex-direction:column}:host([layout=vertical]):host([overflow-actions-disabled]){overflow-y:auto}:host([layout=vertical]):host([expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width, auto)}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm)}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]):host([overflow-actions-disabled]){overflow-x:auto}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=horizontal]) ::slotted(calcite-action-group:not(:last-of-type)){border-inline-end-width:var(--calcite-border-width-sm)}.action-group--end{justify-content:flex-end}:host([hidden]){display:none}[hidden]{display:none}";export{A as calcite_action_bar}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,g as s,h as e,H as h}from"./p-4e6eb06e.js";import{g as a,l as o}from"./p-f4aadb3b.js";import{g as l,q as n,e as c,f as r,i as d,j as p,c as b}from"./p-d572627c.js";import{d as f}from"./p-ff9e28d1.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-7530a02f.js";import"./p-d0d020a5.js";import"./p-9bb44f57.js";const u=class{constructor(s){t(this,s),this.createWorkFlowStarted=i(this,"createWorkFlowStarted",7),this.backFromCreateWorkFlow=i(this,"backFromCreateWorkFlow",7),this.featureOrRecordSubmitted=i(this,"featureOrRecordSubmitted",7),this.customInfoText=void 0,this.enableEditGeometry=!1,this.isMobile=void 0,this.layer=void 0,this.locale=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this.selectedFeaturesIds=void 0,this.enableCreateFeatures=!0,this.selectingFeatureFromMap=void 0,this._cardLoading=!1,this._graphics=void 0,this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._translations=void 0}get el(){return s(this)}_isFeatureCreated=!1;_createFeature;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}createWorkFlowStarted;backFromCreateWorkFlow;featureOrRecordSubmitted;async featureSelectionChange(t){this._showCreateFeatureComponent&&!this._isFeatureCreated&&this._backFromCreateFeature();const i=t.detail;this._graphics=await this._getFeaturesByIds(i)}async layerSelectionChange(t){this._showCreateFeatureComponent&&this._backFromCreateFeature();const i=t.detail[0];this.layer=await l(this.mapView,i)}async componentWillLoad(){await this._getTranslations(),this.selectedFeaturesIds?.length>0&&(this._graphics=await this._getFeaturesByIds(this.selectedFeaturesIds))}render(){const t=this._graphics?.length>0?"":"display-none",i=0===this._graphics?.length&&this._showCreateFeatureComponent?"":"display-none",s=this._graphics?.length>0||this._showCreateFeatureComponent?"display-none":"",a=this.layer?.isTable,o=a?this._translations.createRecord:this._translations.createFeature,l=this.customInfoText?this.customInfoText:this.selectingFeatureFromMap?this._translations.selectFeaturesFromMapToStart:this._translations.selectFeaturesToStart,n=this.enableCreateFeatures&&this.layer?.capabilities?.operations?.supportsAdd;return e(h,{key:"1dc448368b85b83ccc2f76f59cff83559d1d1285"},e("div",{key:"7c058f7a4ca2db84f0ad35efba90a1485e5c7989",class:"overflow-auto height-full"},e("calcite-shell",{key:"1388666d3d11efee37efc1524011594237cccc35",class:"position-relative "+t},e("div",{key:"3f93c4de344e49eec16e447bc1ca44cb280f84cc",class:"position-static z-index-500"},e("info-card",{key:"c5b8cafef2595b8ae85725d583caebf9754ce1fb",enableEditGeometry:this.enableEditGeometry,graphics:this._graphics,isLoading:this._cardLoading,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView}))),e("calcite-shell",{key:"bfa2f41e657f390335545f46ab744d4d980c3926",class:"position-relative "+s},e("calcite-flow-item",{key:"bf19ce4b69b52c5652629f38859e03a0a99f8374"},e("calcite-panel",{key:"1ea46998a73ad636ad2a956e72181a0570edd5d0"},e("div",{key:"d853f429c30daa5abcfe6576b7242fa48251ae53",class:"padding-1"},e("calcite-notice",{key:"dffa52ec3fa7a22494b6dadd7b1c6d512e25c192",icon:this.selectingFeatureFromMap?"map":"table",iconFlipRtl:!0,open:!0},e("div",{key:"728b56c9281dfe09d1604882635a53803c5f4253",slot:"message"},l))),!this.isMobile&&n&&e("calcite-button",{key:"260042d84c529d5508630bca7bdb39db1c2408cb",disabled:!this.layer,onClick:()=>this._createFeatureBtnClicked(),slot:"footer",width:"full"},a?this._translations.createRecord:this._translations.createFeature)))),e("calcite-shell",{key:"c30cbc2dc6e70319440bf9ed7c3d7f7ede38c3a1",class:"position-relative "+i},e("calcite-flow-item",{key:"901c5a407a8418c34ee72c4dd4b16443c3766819"},e("calcite-panel",{key:"a6faf502cd08060a42582cbd95d7354b1e192a43",heading:o},e("calcite-action",{key:"23e9c295f7476f935055c30227774e173315194d",class:"back-button hydrated",icon:"chevron-left",onClick:this._backFromCreateFeature.bind(this),scale:"s",slot:"header-actions-start",text:""}),this.getEditorComponent(),this._showSubmitBtn&&e("calcite-button",{key:"3ee5c310e5fad8aa5d6abd8ae1347c46d3ada1be",appearance:"solid",class:"footer-top-button footer-button",onClick:()=>{this._createFeature.submit()},slot:"footer",width:"full"},this._translations.create))))))}getEditorComponent(){return e("div",null,this._showCreateFeatureComponent&&e("create-feature",{customizeSubmit:!0,locale:this.locale,mapView:this.mapView,onDrawComplete:()=>{this._showSubmitBtn=!0},onEditingAttachment:t=>{this._showSubmitBtn=!t.detail},onProgressStatus:()=>{setTimeout((()=>{this._isFeatureCreated=!1}),2e3)},onSuccess:this._featureCreated.bind(this),ref:t=>this._createFeature=t,selectedLayerId:this.layer?.id,showGuidingMsgWhileDrawing:!1}))}async _getFeaturesByIds(t){return(t.length>0?await n(t,this.layer,[],!0,this.mapView.spatialReference):[]).sort(((i,s)=>t.indexOf(i.getObjectId())-t.indexOf(s.getObjectId())))}_createFeatureBtnClicked(){this._showCreateFeatureComponent=!0,this.createWorkFlowStarted.emit()}async _backFromCreateFeature(){this._createFeature&&(this._showCreateFeatureComponent=!1,this.backFromCreateWorkFlow.emit()),this._showSubmitBtn=!1}_featureCreated(){this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._isFeatureCreated=!0,this.featureOrRecordSubmitted.emit(),setTimeout((()=>{this._showCreateFeatureComponent=!0}),50)}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};u.style=":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.height-full{height:100%}.position-static{position:static !important}.z-index-500{z-index:500 !important}card-manager{display:block}";const m=class{constructor(s){t(this,s),this.featureSelectionChange=i(this,"featureSelectionChange",7),this.toggleFilter=i(this,"toggleFilter",7),this.showDelete=i(this,"showDelete",7),this.appLayout=void 0,this.defaultGlobalId=void 0,this.defaultLayerId=void 0,this.defaultOid=void 0,this.enableAutoRefresh=void 0,this.enableColumnReorder=!0,this.enableCSV=void 0,this.enableInlineEdit=void 0,this.enableShare=void 0,this.isMobile=void 0,this.locale=void 0,this.mapHidden=void 0,this.mapInfo=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.selectedIds=[],this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.showNewestFirst=void 0,this.zoomAndScrollToSelected=void 0,this.zoomToScale=void 0,this.createFilterModal=!0,this._allIds=[],this._controlsThatFit=void 0,this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._filterOpen=!1,this._layer=void 0,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=void 0,this._translations=void 0,this._fullTextSearchInfo=void 0,this._searchPlaceHolder="",this._size=0}get el(){return s(this)}FeatureTable;TableTemplate;_columnsInfo;_ctrlIsPressed=!1;_currentId;_editEnabled;_defaultFilterHonored=!1;_defaultGlobalIdHonored=!1;_defaultOidHonored=!1;_defaultVisibleToolSizeInfos;_definitionExpression;_deleteEnabled;_filterList;_floorExpression;_floorField;_floorFacility;_floorLevel;_floorSite;_layerExpressions;_loaded=!1;_mapClickHandle;_observerSet=!1;_previousCurrentId;reactiveUtils;_refreshHandle;_resizeObserver;_selectAllElement;_selectionFromMap=!1;_shareNode;_shiftIsPressed=!1;_showHideDropdown;_skipOnChange=!1;_moreDropdown;_table;_tableNode;_timeout;_toolbar;_toolbarSizeInfos;_searchExpression;_tempSelectedIds;appLayoutWatchHandler(){this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}enableCSVWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}enableShareWatchHandler(){this._toolbar&&this._updateToolbar()}_controlsThatFitWatchHandler(){const t=this._controlsThatFit?this._controlsThatFit.reduce(((t,i)=>(t.push(i.id),t)),[]):[];this._toolInfos=this._toolInfos?.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}mapHiddenWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}isMobileWatchHandler(){this._toolInfos||this.isMobile||this._initToolInfos()}async mapInfoWatchHandler(){this._resetColumnTemplates(),this.createFilterModal&&this._initLayerExpressions(),this._initToolInfos(),this._updateToolbar(),await this._sortTable()}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression=void 0,this._searchExpression=void 0,this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",(t=>{this._mapClicked(t)})))}async _layerWatchHandler(){this._fetchingData=!0,await(this._layer?.when((async()=>{this._definitionExpression=this._layer.definitionExpression,this._floorField=this._layer.floorInfo?.floorField,this._updateFloorDefinitionExpression(),await this._resetTable(),this.createFilterModal&&this._initLayerExpressions(),this._updateShareUrl(),this._fetchingData=!1})))}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0]))}async filterReset(){await this._handleFilterListReset()}async filterUpdate(t){await this._handleFilterUpdate(t)}async closeFilter(){await this._closeFilter()}async refresh(){this._table&&await this._refresh()}featureSelectionChange;toggleFilter;showDelete;async selectionChanged(t){const i=t.detail.selectedFeature[0],s=i.getObjectId(),e=this._table;if(e.rowHighlightIds.length&&e.rowHighlightIds.removeAll(),e.rowHighlightIds.add(s),this.zoomAndScrollToSelected){const t=this._table.viewModel.getObjectIdIndex(s);this._table.scrollToIndex(t);const e=i.layer;let h;this.mapView.allLayerViews.toArray().some((t=>{if(t.layer.title===e.title&&"feature"===t.layer.type)return h=t,!0})),h&&await c([s],h,this.mapView,!0,void 0,this.zoomToScale)}}async layerSelectionChange(t){await this._layerSelectionChanged(t)}async editsComplete(t){const i=t.detail;"delete"!==i&&"add"!==i||(this._allIds=await r(this._layer)),await this._refresh()}async facilityChanged(t){this._floorFacility=t.detail,this._updateFloorDefinitionExpression()}async levelChanged(t){this._floorLevel=t.detail,this._updateFloorDefinitionExpression()}async siteChanged(t){this._floorSite=t.detail,this._updateFloorDefinitionExpression()}noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}clearSelection(){this._clearSelection()}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._onResize())))}render(){const t=this._fetchingData?"display-none":"",i=this._fetchingData?"":"display-none",s=this._size.toString(),a=this.selectedIds.length.toString(),o=this.isMobile?"height-full":"height-full-adjusted",l=this._canShowFullTextSearch();return this._validateActiveActions(),e(h,{key:"ade26bd309af37b5b9f9bdc355f1cf6c575fa89a"},e("calcite-shell",{key:"95668ae72cde1a3600e17a0d138ba8b810a4c525"},this._getTableControlRow("header"),e("div",{key:"488eabfc4666c0d81aacbac523e7ba20288a4701",class:`width-full ${o}`},e("calcite-panel",{key:"75d01c41afbb872f57472adc76045431163c0cab",class:"height-full width-full"},l&&e("div",{key:"b6062ca6e5702fc835777a6fe6ecec7a66926bc0",class:"search-container"},e("calcite-input",{key:"eade11ccb0d7b6d5aed838dbb6b2eaec4286d8c6",class:"search",clearable:!0,icon:"search",onCalciteInputChange:t=>{this._searchTextChanged(t)},placeholder:this._searchPlaceHolder,title:this._searchPlaceHolder,type:"search"})),e("calcite-loader",{key:"889c97b23074f5be4b045199cf48632720d6c598",class:i,label:this._translations.fetchingData,scale:"l"}),e("div",{key:"4ac0bfdaf07c38ff57008bade29b4b90b11f437d",class:t,ref:this.onTableNodeCreate}))),this.isMobile?void 0:e("div",{class:"bottom-left text-color height-19"},this._translations.recordsSelected.replace("{{total}}",s).replace("{{selected}}",a))),this.createFilterModal&&this._filterModal())}_deleteDialog;async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0)}componentDidRender(){document.onclick=t=>this._handleDocumentClick(t),document.onkeydown=t=>this._handleKeyDown(t),document.onkeyup=t=>this._handleKeyUp(t),this._updateToolbar()}async _initModules(){const[t,i,s]=await o(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate"]);this.FeatureTable=t,this.reactiveUtils=i,this.TableTemplate=s}async _searchTextChanged(t){this._fullTextSearchInfo.forEach((i=>{i.searchTerm=t.target.value})),this._searchFullText()}async _searchFullText(){let t=[],i=!1;this._showOnlySelected?(t=this._tempSelectedIds,i=!0):(this._clearSelection(),this._tempSelectedIds=[]),this._searchExpression&&this._clearSearchDefinitionExpression();let s=[];if(this._fullTextSearchInfo.length&&this._fullTextSearchInfo[0].searchTerm){const e=this._layer.createQuery();e.fullText=this._fullTextSearchInfo,s=await this._layer.queryObjectIds(e),i&&t?.length&&(s=s.filter((i=>t.includes(i)))),await this._updateSearchDefinitionExpression(s?.length?s:[-1])}i&&s?.length&&(this._showOnlySelected=!0,this._table.highlightIds.addMany(s.reverse())),await new Promise((t=>setTimeout(t,800))),await this._updateAllIds()}_clearSearchDefinitionExpression(){const t=this._layer.definitionExpression;this._searchExpression&&t?.indexOf(this._searchExpression)>-1&&(this._layer.definitionExpression=t?.indexOf(" AND ("+this._searchExpression)>-1?t.replace(` AND (${this._searchExpression})`,""):t.replace(this._searchExpression,"")),this._searchExpression=void 0}async _updateSearchDefinitionExpression(t){const i=this._layer.definitionExpression;if(t?.length){const s=`objectId in(${t})`;this._layer.definitionExpression=i?.indexOf(this._searchExpression)>-1?i.replace(this._searchExpression,s):i?`${i} AND (${s})`:s,this._searchExpression=s}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return((this._layer?.capabilities)?.query)?.supportsFullTextSearch&&this._layer.indexes.items.filter((t=>"FullText"==t.indexType)).length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],((this._layer?.capabilities)?.query)?.supportsFullTextSearch){const t=this._layer.indexes?.filter((t=>"FullText"==t.indexType));if(t?.length){const i=[];t.forEach((t=>{i.push(...t.fields.split(","))}));const s=[];i.forEach((t=>{const i=this._layer.getField(t.trim());s.push(i.alias)})),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{fields}}",s.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_onResize(){this._updateToolbar()}_getTableControlRow(t){const i=this._canShowFullTextSearch()?"border-bottom":"";return e("div",{class:`display-flex height-51-px ${i}`,ref:t=>this._toolbar=t,slot:t},this._getActionBar(),this.isMobile?void 0:this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile?this._getShare("share"):void 0)}_getActionBar(){const t=this.isMobile?"width-full":"",i=this.isMobile?"border-top":"";return e("calcite-action-bar",{class:t,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},e("div",{class:`border-end ${t} ${i}`,id:"solutions-map-layer-picker-container"},e("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",scale:"l",selectedIds:this._layer?[this._layer?.id]:[],showSingleLayerAsLabel:!0,showTables:!0,type:"dropdown"})),this.isMobile?void 0:this._getActions())}_getActions(){const t=this._getActionItems();return t?.reduce(((t,i)=>(i&&!i.isOverflow&&t.push(i.isDanger?this._getDangerAction(i.icon,i.label,i.func,i.disabled):i.isSublist?e("calcite-dropdown",{closeOnSelectDisabled:!0,id:this._getId(i.icon),onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._showHideDropdown=t},this._getAction(i.active,this._showHideOpen?"chevron-down":i.icon,i.indicator,i.label,i.func,i.disabled,i.loading,"trigger"),this._showHideOpen?this._getFieldlist():void 0):this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),t)),[])}_getFieldlist(){return this._columnsInfo?e("calcite-dropdown-group",{"selection-mode":"multiple"},Object.keys(this._columnsInfo).map((t=>{const i=this._columnsInfo[t];return e("calcite-dropdown-item",{id:`layer-table-${t.toLowerCase().replaceAll(" ","")}`,label:t,onClick:t=>{const i=t.target;this._columnsInfo[i.label]=i.selected,i.selected?this._table.showColumn(i.label):this._table.hideColumn(i.label)},selected:i},t)}))):void 0}_validateEnabledActions(){const t=this._featuresSelected(),i=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate,s=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach((e=>{e&&s.indexOf(e.icon)>-1&&(e.disabled="pencil"===e.icon?!i:!t)}))}_validateActiveActions(){const t=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach((i=>{i&&t.indexOf(i.icon)>-1&&("filter"===i.icon&&(i.indicator=this._filterActive),"list-check-all"===i.icon&&(i.active=this._selectAllActive),"selected-items-filter"===i.icon&&(i.active=this._showOnlySelected))}))}_initToolInfos(){const t=this._featuresSelected(),i=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate&&!1,s=this._featuresEmpty(),e=this._hasFilterExpressions();this._translations&&(this._toolInfos=[this.mapHidden?void 0:{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1},e?{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.createFilterModal?this._toggleFilter():this.toggleFilter.emit(),disabled:!1,isOverflow:!1}:void 0,i?{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!i,isOverflow:!1}:void 0,this._deleteEnabled?{active:void 0,icon:"trash",indicator:void 0,label:this._translations.delete,func:()=>this._showDelete(),disabled:!t,isDanger:!0,isOverflow:!1}:void 0,{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this._clearSelection(),disabled:!t,isOverflow:!1},{active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!t,isOverflow:!1},{active:!1,icon:"list-check-all",indicator:!1,func:()=>this._selectAll(),label:this._translations.selectAll,disabled:s,isOverflow:!1},{active:!1,icon:"compare",indicator:!1,func:()=>this._switchSelected(),label:this._translations.switchSelected,disabled:s,isOverflow:!1},{active:!1,icon:"refresh",indicator:!1,func:()=>this._refresh(),label:this._translations.refresh,disabled:!1,isOverflow:!1},this.enableCSV?{active:!1,icon:"export",indicator:!1,func:()=>{this._exportToCSV()},label:this._translations.exportCSV,loading:this._csvExporting,disabled:s,isOverflow:!1}:void 0,{active:!1,icon:this._showHideOpen?"chevron-down":"chevron-right",indicator:!1,func:()=>this._toggleShowHide(),label:this._translations.showHideColumns,disabled:!1,isOverflow:!1,isSublist:!0}],this._defaultVisibleToolSizeInfos=void 0)}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){const t=`${this._floorField} = '${this._floorLevel}'`,i=this._layer.definitionExpression;this._layer.definitionExpression=i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):i?`${i} AND (${t})`:t,this._floorExpression=t}}_featuresSelected(){return this.selectedIds.length>0}_featuresEmpty(){return 0===this._allIds.length}_hasFilterExpressions(){let t;return this.mapInfo?.filterConfig?.layerExpressions&&this._layer?.id&&(t=this.mapInfo.filterConfig.layerExpressions.filter((t=>t.id===this._layer.id))),t?.length>0}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const s=["solutions-more","solutions-map-layer-picker-container","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,h)=>(s.indexOf(h.id)<0&&(i>t?i-=h.width:e.push(h)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let h=!1;const a=[...this._defaultVisibleToolSizeInfos].reduce(((a,o)=>(!h&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),a.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(h=!0),a)),[]);this._setControlsThatFit(a,s)}}),250))}_setControlsThatFit(t,i){let s=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);const e=document.getElementById("solutions-action-bar");e?.childNodes?.forEach((t=>{i.indexOf(t.id)<0&&!s&&(s=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),s&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,s)=>{0===s?i.childNodes.forEach((i=>{this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0)})):i.referenceElement||(this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0))})),t&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionItems(){return this._toolInfos?.filter((t=>t&&!t.isOverflow))}_getDropdown(t){const i=this._getDropdownItems();return i.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this._layer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},e("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},e("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),e("calcite-dropdown-group",{"selection-mode":"none"},i.map((t=>e("calcite-dropdown-group",{class:`${t.disabled?"disabled":""} ${"trash"===t.icon?"delete-red":""}`,selectionMode:"none"},e("calcite-dropdown-item",{disabled:t.loading,iconStart:t.isSublist&&this._showHideOpen?"chevron-down":t.loading?"":t.icon,id:`layer-table-${t.icon}`,onClick:t.func},t.loading?e("div",{class:"display-flex"},e("calcite-loader",{inline:!0,label:t.label,scale:"m"}),t.label):t.label))))),this._showHideOpen?this._getFieldlist():void 0):void 0}_getDropdownItems(){return this._toolInfos?.filter((t=>t&&t.isOverflow))}_getAction(t,i,s,h,a,o,l,n){const c=void 0===this._layer||o;return e("div",{class:"display-flex",id:this._getId(i),slot:n},e("calcite-action",{active:t,appearance:"solid",disabled:c,icon:i,id:`layer-table-${i}`,indicator:s,label:h,loading:l,onClick:a,text:h,textEnabled:!0}),this._getToolTip("bottom",i,h))}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(t){return e("div",{class:"share-action",id:this._getId(t)},e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",t,this._translations.share))}_updateShareUrl(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this.mapInfo?.id?i.searchParams.set("webmap",this.mapInfo.id):i.searchParams.delete("webmap"),this._layer?.id?i.searchParams.set("layer",this._layer.id):i.searchParams.delete("layer"),this.selectedIds?.length>0?i.searchParams.set("oid",this.selectedIds.join(",")):i.searchParams.delete("oid"),i.searchParams.set("applayout",this.appLayout),this._shareNode.shareUrl=i.href}_getToolTip(t,i,s){return document.getElementById(i)?e("calcite-tooltip",{placement:t,"reference-element":i},e("span",null,s)):void 0}_getId(t){return`solutions-action-${t}`}_getDangerAction(t,i,s,h){const a=void 0===this._layer||h;return e("div",{class:"display-flex",id:this._getId(t)},e("calcite-action",{appearance:"solid",compact:!0,disabled:a,id:t,onClick:s,text:""},e("calcite-button",{appearance:"transparent",iconStart:t,kind:"danger"},i)),this._getToolTip("bottom",t,i))}_getIds(){return this._table?.highlightIds?.toArray()}onTableNodeCreate=t=>{this._tableNode=t};async _getTable(t,i){this._layer&&(await this._layer.when((()=>{this._table=new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!0,multiSortEnabled:!1,visibleElements:{columnDescriptions:!1,header:!1,menu:!1},tableTemplate:{columnTemplates:i},container:t})})),await this._table.when((()=>{this._table.highlightIds.on("change",(t=>{this._handleOnChange(t)}));const t=this.reactiveUtils.watch((()=>this._table.size),(t=>{this._size=t}));this._table.viewModel.addHandles(t)})))}async _handleOnChange(t){const i=[...this._table.highlightIds.toArray()];if(this._skipOnChange)this._skipOnChange=!1;else{if(!this._ctrlIsPressed&&!this._shiftIsPressed||this._selectionFromMap&&this._shiftIsPressed)if(this.selectedIds.length>0){this._skipOnChange=!0;const s=this.selectedIds.length>1&&1===t.removed.length?t.removed:i.filter((t=>this.selectedIds.indexOf(t)<0));this._tempSelectedIds=s.length?[...s]:[...this.selectedIds],this._clearSelection(),this.selectedIds=[...s],s.length>0?this._table.highlightIds.add(s[0]):this._skipOnChange=!1}else this.selectedIds=i.reverse(),this._tempSelectedIds=[...this.selectedIds];else if(this._ctrlIsPressed)this.selectedIds=i.reverse(),this._tempSelectedIds=[...this.selectedIds];else if(this._shiftIsPressed&&i?.length>0)if(this._skipOnChange=!0,this._previousCurrentId=this._currentId,this._currentId=[...i].reverse()[0],1===i.length)this._skipOnChange=!1;else if(this._previousCurrentId!==this._currentId){const t=this._table.activeSortOrders.reduce(((t,i)=>(t.push(`${i.fieldName} ${i.direction}`),t)),[]),s=await d(0,this._layer,[],t);let e=!1;const h=this._table.viewModel.getObjectIdIndex(this._previousCurrentId),a=this._table.viewModel.getObjectIdIndex(this._currentId);this._skipOnChange=(h<a?h:a)+1!==(a>h?a:h);const o=s.reduce(((t,i)=>{const s=i;return s===this._currentId||s===this._previousCurrentId?(e=!e,t.indexOf(s)<0&&t.push(s)):e&&t.indexOf(s)<0&&t.push(s),t}),[]),l=h<a?o.reverse():o;this.selectedIds=[...new Set([...l,...this.selectedIds])],this._tempSelectedIds=[...this.selectedIds],this._table.highlightIds.addMany(this.selectedIds.filter((t=>i.indexOf(t)<0)))}this._finishOnChange()}this._currentId=[...this._table.highlightIds.toArray()].reverse()[0],this._selectionFromMap=!1}_finishOnChange(){this._showOnlySelected&&(this._featuresSelected()?this._table.filterBySelection():this._toggleShowSelected()),this.featureSelectionChange.emit(this.selectedIds)}_resetColumnTemplates(){const t=this._getColumnTemplates(this._layer?.id,this._layer?.fields),i=t?.some(((t,i)=>JSON.stringify(this._table?.tableTemplate.columnTemplates[i])!==JSON.stringify(t)));if(this._table&&t&&(i||!this._columnsInfo)){this._table.tableTemplate=new this.TableTemplate({columnTemplates:t});const i=t.map((t=>t.fieldName));this._initColumnsInfo(i)}}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await r(this._layer),this._table)this._table.view=this.mapView,this._table.layer=this._layer;else{const t=this._getColumnTemplates(this._layer.id,this._layer?.fields);await this._getTable(this._tableNode,t)}await this._initLayerRefresh(),this._checkEditEnabled(),this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,await this._table.when(),setTimeout((()=>{this._loaded||(console.log(`table.state: ${this._table.state}`),this.finishLoading())}),1e3),await this.reactiveUtils.once((()=>"loaded"===this._table.state)).then((async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table.highlightIds.removeAll(),this._table.clearSelectionFilter(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),this._initToolInfos(),this._updateToolbar()}catch(t){console.log(t)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._refreshHandle=this._layer.on("refresh",(t=>{t.dataChanged&&(this._skipOnChange=!0,this._updateAllIds())}))}async _updateAllIds(){this._allIds=await r(this._layer),this.selectedIds=this.selectedIds.filter((t=>this._allIds.indexOf(t)>-1)),await this._refresh()}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=void 0,this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId?.length>0&&this._table){const t=await p(this.defaultGlobalId,this._layer),i=t?.length>0?t.map((t=>t.getObjectId())):void 0;i&&await this._selectDefaultFeature(i),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=void 0,this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(t){const i=this._table?.columns.reduce(((i,s)=>((!t||t?.indexOf(s.name)>-1)&&(i[s.name]=!s.hidden),i)),{}),s=this._table?.columns.map((t=>t.name));(t?t.filter((t=>s.indexOf(t)<0)):[]).forEach((t=>{i[t]=!0})),this._columnsInfo=t?t.reduce(((t,s)=>(t[s]=i[s],t)),{}):i}async _selectDefaultFeature(t){t.length>0&&this._table.highlightIds.addMany(t)}_checkEditEnabled(){this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._deleteEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsDelete}async _sortTable(){let t,i=this._layer?.objectIdField,s="desc";this.mapInfo?.layerOptions?.layers?.length>0&&this._layer?.id&&(t=this.mapInfo.layerOptions.layers.filter((t=>t.id===this._layer.id)),t&&t.length>0&&(t=t[0],t.sortField&&t.fields?.includes(t.sortField)&&(i=t.sortField),s=t?.sortOrder?t.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when((()=>{this._table.sortColumn(i,s)})))}_forceShowHide(){this._showHideDropdown&&(this._showHideDropdown.open=this._showHideOpen),this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_closeShowHide(){this._showHideOpen=!1}_handleDocumentClick(t){const i=t.target?.id;i.startsWith("layer-table-")?this._moreDropdown.open=!0:this._showHideOpen&&Object.keys(this._columnsInfo).indexOf(i)<0&&"chevron-right"!==i&&(this._closeShowHide(),this._moreDropdown&&(this._moreDropdown.open=!1),this._showHideDropdown&&(this._showHideDropdown.open=!1))}_handleKeyDown(t){this._ctrlIsPressed=t.ctrlKey,this._shiftIsPressed=t.shiftKey}_handleKeyUp(t){this._ctrlIsPressed=t.ctrlKey,this._shiftIsPressed=t.shiftKey}_filterModal(){return e("calcite-modal",{"aria-labelledby":"modal-title",class:"modal",kind:"brand",onCalciteModalClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},e("div",{class:"display-flex align-center",id:"modal-title",slot:"header"},this._translations?.filter?.replace("{{title}}",this._layer?.title)),e("div",{slot:"content"},e("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:async()=>this._closeFilter(),comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:()=>{this._handleFilterListReset()},onFilterUpdate:()=>{this._handleFilterUpdate(this._filterList.filterCount>0)},ref:t=>this._filterList=t,view:this.mapView,zoomBtn:!1})))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(t){const i=this._layer.definitionExpression;if(this._floorExpression){const t=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=i&&this._floorField&&i.indexOf(`${this._floorField} = '`)>-1?i.replace(t,this._floorExpression):i?`${i} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=t,this._updateShareUrl(),await this._searchFullText()}async _closeFilter(){this._filterOpen&&(this._allIds=await r(this._layer),this._filterOpen=!1)}async _mapClicked(t){const i={include:this._layer},s=await this.mapView.hitTest(t.screenPoint,i);s.results.length>0?(s.results.forEach((t=>{const i=t.graphic.getObjectId();this._table.highlightIds.indexOf(i)<0&&(this._selectionFromMap=!0,this._table.highlightIds.add(i))})),this._showOnlySelected&&this._table.filterBySelection()):this._clearSelection()}_selectAll(){const t=this._allIds;this._table.highlightIds.removeAll(),this._skipOnChange=!0,this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange(),this._selectAllActive=!0}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._showOnlySelected?this._table.filterBySelection():this._table.clearSelectionFilter()}_clearSelection(){this.selectedIds=[],this._table?.highlightIds.removeAll(),this._table?.rowHighlightIds.removeAll(),this._finishOnChange()}_toggleFilter(){this._filterOpen=!this._filterOpen}_initLayerExpressions(){const t=this.mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=t?t.filter((t=>t.id===this._layer?.id)):[],this._filterList.layerExpressions=this._layerExpressions,this._filterActive=this._layerExpressions.filter((t=>t.expressions.filter((t=>t.active)).length>0)).length>0}_switchSelected(){const t=[...this.selectedIds];this._table.highlightIds.removeAll();const i=this._allIds.reduce(((i,s)=>(t.indexOf(s)<0&&i.push(s),i)),[]).sort(((t,i)=>t-i));this._skipOnChange=!0,this._table.highlightIds.addMany(i),this.selectedIds=i,this._finishOnChange()}async _exportToCSV(){const t={},i=this._table.highlightIds.toArray();t[this._layer.id]={selectionSetNames:[this._layer.title],ids:i,layer:this._layer};const s=this._table.columns.toArray().reduce(((t,i)=>(i.hidden||t.push(i.name.toLocaleLowerCase()),t)),[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,await f(null,t,!1,!1,!0,s,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}_updateToolInfoLoading(t,i){this._toolInfos.some((s=>{if(s?.icon===t)return s.loading=i,!0}))}async _refresh(){await this._table.refresh(),this._allIds=await r(this._layer),this.featureSelectionChange.emit(this.selectedIds)}async _zoom(){if(this._layer){const t=await b(this.mapView,this._layer.id);await c(this.selectedIds,t,this.mapView,!0,void 0,this.zoomToScale)}}async _layerSelectionChanged(t){const i=t.detail[0];if(i!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0;const t=await l(this.mapView,i);t&&await t.when((()=>{this._layer=t,this._getFullTextSearchInfo()}))}this._fetchingData=!1}_getColumnTemplates(t,i){let s;this.mapInfo?.layerOptions?.layers.some((i=>{if(i.id===t)return s=i,!0}));const e=s?.fields&&s?.fieldOrder?s.fieldOrder.filter((t=>s.fields.indexOf(t)>-1)):void 0;let h;return i&&(h=s&&s?.fields?i.reduce(((t,i)=>{if(s.fields.indexOf(i.name)>-1){const s={type:"field",fieldName:i.name,label:i.alias,menuConfig:this._getMenuConfig(i.name)};t.push(s)}return t}),[]).sort(this._sortFields.bind(this,s?.fieldOrder)):i.map((t=>({type:"field",fieldName:t.name,label:t.alias,menuConfig:this._getMenuConfig(t.name)})))),e?h?.sort(this._sortFields.bind(this,e)):h}_sortFields(t,i,s){return t?.indexOf(i.fieldName)-t.indexOf(s.fieldName)}_getMenuConfig(t){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(t)}}]}}_handleHideClick(t){this._columnsInfo[t]=!1,this._table.hideColumn(t),this._table.tableTemplate.columnTemplates.forEach((i=>{i.fieldName===t&&(i.visible=!1)}))}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],defaultOid:["defaultOidWatchHandler"],defaultGlobalId:["defaultGlobalIdWatchHandler"],enableCSV:["enableCSVWatchHandler"],enableInlineEdit:["enableInlineEditWatchHandler"],enableShare:["enableShareWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"],locale:["localeWatchHandler"],mapHidden:["mapHiddenWatchHandler"],isMobile:["isMobileWatchHandler"],mapInfo:["mapInfoWatchHandler"],mapView:["mapViewWatchHandler"],_layer:["_layerWatchHandler"],selectedIds:["selectedIdsWatchHandler"]}}};function v(t){return function(t){return-1!==t?.indexOf("http://")}(t)?t.replace(/^http:\/\//,"https://"):t}m.style=':host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir="rtl"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0}html[dir="rtl"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1) !important}.search{--calcite-color-border-input:var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color:var(--calcite-color-status-danger);--calcite-color-text-1:var(--calcite-color-status-danger);--calcite-color-text-3:var(--calcite-color-status-danger)}';const w=class{constructor(s){t(this,s),this.mapChanged=i(this,"mapChanged",7),this.beforeMapChanged=i(this,"beforeMapChanged",7),this.toggleFilter=i(this,"toggleFilter",7),this.clearSelection=i(this,"clearSelection",7),this.appLayout=void 0,this.appProxies=void 0,this.defaultWebmapId="",this.defaultLayerId=void 0,this.enableHome=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableShare=!1,this.enableSingleExpand=!0,this.enableSearch=void 0,this.enableBasemap=void 0,this.basemapConfig=void 0,this.hidden=void 0,this.homeZoomIndex=3,this.homeZoomPosition="top-left",this.homeZoomToolsSize="m",this.locale=void 0,this.mapInfos=[],this.mapWidgetsIndex=0,this.mapWidgetsPosition="top-right",this.mapWidgetsSize="m",this.mapView=void 0,this.stackTools=!0,this.theme=void 0,this.toolOrder=void 0,this.isMapLayout=void 0,this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.selectedFeaturesIds=void 0,this.selectedLayer=void 0,this.zoomToScale=void 0,this.onlyShowUpdatableLayers=void 0,this.isMobile=void 0,this.mapInfo=void 0,this._translations=void 0,this._searchConfiguration=void 0,this._webMapInfo=void 0,this._showHideOpen=!1,this._toolInfos=void 0,this._controlsThatFit=void 0}get el(){return s(this)}esriConfig;Home;MapView;WebMap;_defaultWebmapHonored=!1;_homeWidget;_loadedId="";_mapDiv;_mapPicker;_mapTools;_moreDropdown;_mapListExpanded=!1;_filterActive=!1;_definitionExpression;_mapLayerPicker;_resizeObserver;_shareNode;_showHideDropdown;_toolbar;_timeout;_toolbarSizeInfos;_defaultVisibleToolSizeInfos;_observerSet=!1;appLayoutWatchHandler(){this._updateShareUrl()}enableHomeWatchHandler(){this._initHome()}enableShareWatchHandler(){this._toolbar&&this._updateToolbar()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){this.mapView&&this._updateShareUrl()}async selectedLayerWatchHandler(){await(this.selectedLayer?.when((async()=>{this._definitionExpression=this.selectedLayer.definitionExpression})))}async selectedFeaturesIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions()}_controlsThatFitWatchHandler(){const t=this._controlsThatFit?this._controlsThatFit.reduce(((t,i)=>(t.push(i.id),t)),[]):[];this._toolInfos=this._toolInfos?.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}async resetFilter(){this._filterActive=!1,this._updateShareUrl()}async updateFilterState(t){this._filterActive=t,this._updateShareUrl()}async updateLayer(){this._mapLayerPicker.updateLayer()}mapChanged;beforeMapChanged;toggleFilter;clearSelection;async mapInfoChange(t){await this._loadMap(t.detail)}noLayersFound(){this.selectedLayer=void 0,this.selectedFeaturesIds=[]}layerSelectionChange(){setTimeout((()=>{this._initToolInfos()}),50)}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._updateToolbar())))}render(){const t=this.isMapLayout?"display-flex height-49-px":"",i=this.hidden?"visibility-hidden-1":"",s="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light",a=this.mapInfos?.length>1||this.isMapLayout?"map-height":"height-full",o=this.isMapLayout?"":"display-none";return this._validateActiveActions(),e(h,{key:"5861d407b8529c6834d5d05450693d1fff2b71ee"},e("div",{key:"01e028e8a00fc66d5eaa8eb7f85b58d579c3e7ff",class:`${t} width-full`,ref:t=>this._toolbar=t},this._getActionBar(),!this.isMobile&&this.isMapLayout&&this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile&&this.isMapLayout?this._getShare("share"):void 0),e("calcite-progress",{key:"6a0b7a2a734f3631b8c8a712acaf60a9e95c6c16",class:o,value:0}),e("div",{key:"74cebf9c194bfc5b72be3b397821f586a5923fa4",class:`${a} ${i}`,ref:t=>this._mapDiv=t}),e("map-tools",{key:"6c87207eecaacf61c594f1036af38c0548ea1767",basemapConfig:this.basemapConfig,class:`box-shadow ${s}`,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableSingleExpand:this.enableSingleExpand,homeZoomToolsSize:this.homeZoomToolsSize,locale:this.locale,mapView:this.mapView,mapWidgetsSize:this.mapWidgetsSize,position:this.mapWidgetsPosition,ref:t=>this._mapTools=t,searchConfiguration:this._searchConfiguration,stackTools:this.stackTools,toolOrder:this.toolOrder}))}async componentDidRender(){this.isMapLayout&&this._updateToolbar(),document.onclick=t=>this._handleDocumentClick(t)}async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0),this._updateShareUrl()}async _initModules(){const[t,i,s,e]=await o(["esri/WebMap","esri/views/MapView","esri/widgets/Home","esri/config"]);this.WebMap=t,this.MapView=i,this.Home=s,this.esriConfig=e}async _loadMap(t){const i=!this._defaultWebmapHonored&&this.defaultWebmapId,s=this.mapInfos?.filter((t=>t.id===this.defaultWebmapId)),e=JSON.stringify(t)!==JSON.stringify(this._webMapInfo);this._webMapInfo=i&&s?s[0]:!t?.id&&this.mapInfos.length>0?this.mapInfos[0]:t;const h=this._webMapInfo.id,a=i&&t?.id===this.defaultWebmapId;if(this._loadedId!==h&&!i||a){const t=new this.WebMap({portalItem:{id:h}});this.appProxies&&(await t.load(),await(o=t,l=this.esriConfig,n=this.appProxies,n&&n.forEach((t=>{o.allLayers.forEach((i=>{i&&i.url===t.sourceUrl&&(i.url=v(t.proxyUrl),i.portalItem&&i.portalItem.when((()=>{i.portalItem.url=v(t.proxyUrl)})),l.request?.interceptors?.push({urls:t.sourceUrl,before:i=>{i.url&&i.url===t.sourceUrl&&(i.url=v(t.proxyUrl))}}))}))})),o)),this.mapView=new this.MapView({container:this._mapDiv,map:t,resizeAlign:"center"}),this._loadedId=h,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),await this.mapView.when((()=>{this._initHome(),this.mapView.ui.add(this._mapTools,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=!!a||this._defaultWebmapHonored,this.mapChanged.emit({id:h,mapView:this.mapView})}))}else i?(this._defaultWebmapHonored=!0,this._mapPicker.setMapByID(h)):e&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:h,mapView:this.mapView}));var o,l,n;this._updateShareUrl()}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const s=["solutions-more","solutions-map-layer-picker-container","map-picker","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,h)=>(s.indexOf(h.id)<0&&(i>t?i-=h.width:e.push(h)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let h=!1;const a=[...this._defaultVisibleToolSizeInfos].reduce(((a,o)=>(!h&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),a.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(h=!0),a)),[]);this._setControlsThatFit(a,s)}}),250))}_setControlsThatFit(t,i){let s=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);const e=document.getElementById("solutions-action-bar");e?.childNodes?.forEach((t=>{i.indexOf(t.id)<0&&!s&&(s=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),s&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,s)=>{0===s?i.childNodes.forEach((i=>{this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0)})):i.referenceElement||(this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0))})),t&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionBar(){const t=this.mapInfos?.length>1?"":"display-none",i=this.isMapLayout?"display-flex":"display-block",s=this.isMobile?"border-top":"",h=this.isMapLayout?"":"display-none";return e("calcite-action-bar",{class:i,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},e("map-picker",{class:t,isMapLayout:this.isMapLayout,locale:this.locale,mapInfos:this.mapInfos,ref:t=>this._mapPicker=t}),e("div",{class:`mapView-header display-flex ${h}`},e("div",{class:`border-end ${i} ${s}`,id:"solutions-map-layer-picker-container"},this.mapView&&e("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",ref:t=>this._mapLayerPicker=t,scale:"l",selectedIds:this.selectedLayer?[this.selectedLayer.id]:[],showSingleLayerAsLabel:!0,showTables:!0,showTablesDisabled:!0,type:"dropdown"}))),!this.isMobile&&this.isMapLayout?this._getActions():void 0)}_getDropdown(t){const i=this._getDropdownItems();return i.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this.selectedLayer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},e("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},e("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),e("calcite-dropdown-group",{"selection-mode":"none"},i.map((t=>e("calcite-dropdown-group",{class:t.disabled?"disabled":"",selectionMode:"none"},e("calcite-dropdown-item",{disabled:t.loading,iconStart:t.icon,id:"solutions-subset-list",onClick:t.func},t.loading?e("div",{class:"display-flex"},e("calcite-loader",{inline:!0,label:t.label,scale:"m"}),t.label):t.label)))))):void 0}_getShare(t){return e("div",{class:"share-action",id:this._getId(t)},e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,popoverButtonIconScale:"s",ref:t=>{this._shareNode=t,this._updateShareUrl()},scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",t,this._translations.share))}_updateShareUrl(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this._loadedId?i.searchParams.set("webmap",this._loadedId):i.searchParams.delete("webmap"),this.selectedLayer?.id?i.searchParams.set("layer",this.selectedLayer.id):i.searchParams.delete("layer"),this.selectedFeaturesIds?.length>0?i.searchParams.set("oid",this.selectedFeaturesIds.join(",")):i.searchParams.delete("oid"),i.searchParams.set("applayout",this.appLayout),this._shareNode.shareUrl=i.href}_closeShowHide(){this._showHideOpen=!1}_getDropdownItems(){return this._toolInfos?.filter((t=>t&&t.isOverflow))}_initToolInfos(){const t=this.selectedFeaturesIds?.length>0,i=this._hasFilterExpressions(),s=this.selectedFeaturesIds?.length>1&&!1;this._translations&&(this._toolInfos=[{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1},i?{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this._toggleFilter(),disabled:!1,isOverflow:!1}:void 0,s?{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!s,isOverflow:!1}:void 0,{active:!1,icon:"refresh",indicator:!1,label:this._translations.refresh,func:()=>this.selectedLayer.refresh(),disabled:!1,isOverflow:!1},{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this.clearSelection.emit(),disabled:!t,isOverflow:!1}],this._defaultVisibleToolSizeInfos=void 0)}_validateActiveActions(){const t=["filter"];this._toolInfos?.forEach((i=>{i&&t.indexOf(i.icon)>-1&&"filter"===i.icon&&(i.indicator=this._filterActive)}))}_validateEnabledActions(){const t=this.selectedFeaturesIds?.length>0,i=this.selectedFeaturesIds?.length>1&&this.selectedLayer?.capabilities?.operations?.supportsUpdate,s=["zoom-to-object","pencil","erase"];this._toolInfos?.forEach((e=>{e&&s.indexOf(e.icon)>-1&&(e.disabled="pencil"===e.icon?!i:!t)}))}_initHome(){if(this.enableHome){this._homeWidget=new this.Home({view:this.mapView}),this.mapView.ui.add(this._homeWidget,{position:this.homeZoomPosition,index:this.homeZoomIndex});const t="s"===this.homeZoomToolsSize?"32px":"m"===this.homeZoomToolsSize?"40px":"48px";this._homeWidget.domNode.style.height=t,this._homeWidget.domNode.style.width=t}else this._homeWidget&&this.mapView.ui.remove(this._homeWidget)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_forceShowHide(){this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_handleDocumentClick(t){const i=t.target?.id;"solutions-subset-list"===i?this._moreDropdown.open=!0:this._showHideOpen&&"solutions-subset-list"!==i&&"solutions-more"!==i&&"chevron-down"!==i&&this._moreDropdown&&(this._showHideOpen=!1,this._moreDropdown.open=!1),"MAP-PICKER"===t.target.tagName&&(this._mapListExpanded=!this._mapListExpanded,this._mapPicker.toggle(this._mapListExpanded)),"MAP-PICKER"!==t.target.tagName&&(this._mapListExpanded=!1,this._mapPicker.close())}async _zoom(){if(this.selectedLayer){const t=await b(this.mapView,this.selectedLayer.id);await c(this.selectedFeaturesIds,t,this.mapView,!0,void 0,this.zoomToScale)}}async _toggleFilter(){this.toggleFilter.emit()}_hasFilterExpressions(){let t;return this.mapInfo?.filterConfig?.layerExpressions&&this.selectedLayer?.id&&(t=this.mapInfo.filterConfig.layerExpressions.filter((t=>t.id===this.selectedLayer.id))),t?.length>0}_getActions(){const t=this._getActionItems();return t?.reduce(((t,i)=>(i&&!i.isOverflow&&t.push(this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),t)),[])}_getToolTip(t,i,s){return document.getElementById(i)?e("calcite-tooltip",{placement:t,"reference-element":"map-"+i},e("span",null,s)):void 0}_getActionItems(){return this._toolInfos?.filter((t=>t&&!t.isOverflow))}_getAction(t,i,s,h,a,o,l,n){const c=void 0===this.selectedLayer||o;return e("div",{class:"display-flex",id:this._getId(i),slot:n},e("calcite-action",{active:t,appearance:"solid",disabled:c,icon:i,id:"map-"+i,indicator:s,label:h,loading:l,onClick:a,text:h,textEnabled:!0}),this._getToolTip("bottom",i,h))}_getId(t){return`solutions-action-${t}`}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],enableHome:["enableHomeWatchHandler"],enableShare:["enableShareWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],selectedLayer:["selectedLayerWatchHandler"],selectedFeaturesIds:["selectedFeaturesIdsWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"]}}};w.style=":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.height-49-px{height:49px}.box-shadow{box-shadow:none !important}.visibility-hidden-1{visibility:hidden;height:1px;}.display-none{display:none}.display-block{display:block}";export{u as card_manager,m as layer_table,w as map_card}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as i,h as n,g as t,H as s}from"./p-4e6eb06e.js";import{l as a}from"./p-d001e961.js";import{g as o}from"./p-5104cc98.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const e="instant-apps-sign-in__entry-button",r=class{constructor(n){i(this,n),this.type="navigation",this.portal=void 0,this.oauthappid=void 0,this.openInPopup=void 0,this.landingPage=void 0,this.isSignedIn=void 0,this.user=void 0,this.titleText=void 0,this.subtitleText=void 0,this.descriptionText=void 0,this.showIndicator=!0,this.closeLandingPage=void 0,this.signInDropdownItems=void 0,this.ready=!1,this.messages=void 0}async watchPortal(){await this.initSignIn()}async watchOauthappid(){await this.initSignIn()}async componentWillLoad(){o(this),await this.initSignIn()}render(){const i=this.ready?this.renderContent():null;return n(s,{key:"c8ef9d8b827f4d7f137cb051209a77450d6ab48c"},i)}renderContent(){return"landingPage"===this.type?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return n("div",{class:"instant-apps-sign-in__container"},this.isSignedIn?this.renderSignInDropdown():this.renderSignInButton())}renderSignInDropdown(){var i,t,s,a,o,e,r,l,c,p,d,h,g,u,v,_;const m=this.showIndicator?"instant-apps-sign-in__indicator":"";return n("calcite-dropdown",{placement:"bottom-end",scale:"navigation"===this.type?"m":"s"},"navigation"===this.type?n("calcite-navigation-user",{class:m,slot:"trigger",thumbnail:null===(i=this.user)||void 0===i?void 0:i.thumbnailUrl,"full-name":null===(t=this.user)||void 0===t?void 0:t.fullName,username:null===(s=this.user)||void 0===s?void 0:s.username,"user-id":null!==(o=null===(a=this.user)||void 0===a?void 0:a.id)&&void 0!==o?o:null===(r=null===(e=this.user)||void 0===e?void 0:e.sourceJSON)||void 0===r?void 0:r.id,textDisabled:!0}):n("button",{slot:"trigger"},n("calcite-avatar",{class:m,thumbnail:null===(l=this.user)||void 0===l?void 0:l.thumbnailUrl,"full-name":null===(c=this.user)||void 0===c?void 0:c.fullName,username:null===(p=this.user)||void 0===p?void 0:p.username,"user-id":null!==(h=null===(d=this.user)||void 0===d?void 0:d.id)&&void 0!==h?h:null===(u=null===(g=this.user)||void 0===g?void 0:g.sourceJSON)||void 0===u?void 0:u.id})),n("slot",{name:"sign-in-dropdown-top"}),n("calcite-dropdown-group",{"selection-mode":"none"},null===(v=this.signInDropdownItems)||void 0===v?void 0:v.map((i=>n("calcite-dropdown-item",{onClick:i.onClick},i.label))),n("calcite-dropdown-item",{onClick:this.signOut.bind(this)},null===(_=this.messages)||void 0===_?void 0:_.signOut)))}renderSignInButton(){var i;const t="navigation"===this.type?"transparent":"solid";return n("calcite-button",{class:"navigation"===this.type?"instant-apps-sign-in__sign-in-btn":"",onClick:this.signIn.bind(this),scale:"s","icon-start":"sign-in",appearance:t},null===(i=this.messages)||void 0===i?void 0:i.signIn)}renderLandingPageSignIn(){var i,t;return n("div",{class:"instant-apps-sign-in__entry-button-container"},n("calcite-button",{class:e,scale:"l",onClick:this.landingPageSignIn.bind(this)},null===(i=this.messages)||void 0===i?void 0:i.signIn),n("calcite-button",{class:e,scale:"l",appearance:"outline-fill",onClick:this.guestOnClick.bind(this)},null===(t=this.messages)||void 0===t?void 0:t.continueAsGuest))}async initSignIn(){if(null==this.portal||null==this.oauthappid)return;const[i,n,t]=await a(["esri/identity/OAuthInfo","esri/identity/IdentityManager","esri/core/reactiveUtils"]);this.idManager=n,this.info=new i({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await t.whenOnce((()=>this.portal.user)),this.user=this.portal.user)}async signIn(){this.setSignInLocalStorage(),await this.idManager.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){var i;null===(i=this.portal.credential)||void 0===i||i.destroy(),this.idManager.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;const n=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${n}`}async landingPageSignIn(){await this.signIn(),null!=this.closeLandingPage&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():null!=this.closeLandingPage&&this.closeLandingPage()}async checkSignInStatus(){try{const i=await this.idManager.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=i,!0}catch(i){return this.portal.credential=null,!1}}setSignInLocalStorage(){const i=new Date;localStorage.setItem("signing-in",i.getTime().toString()),setTimeout((()=>{localStorage.removeItem("signing-in")}),2e3)}get el(){return t(this)}static get watchers(){return{portal:["watchPortal"],oauthappid:["watchOauthappid"]}}};r.style=':host{--instant-apps-sign-in-indicator-color:#007ac2;display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center}:host .instant-apps-sign-in__container calcite-dropdown,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;inset-block-end:-0.275rem;inset-inline-end:-0.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-dropdown[scale=m] calcite-dropdown-group{min-width:140px}:host .instant-apps-sign-in__container calcite-dropdown[scale=s] calcite-dropdown-group{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(0.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}';export{r as instant_apps_sign_in}
|