@esri/solutions-components 0.11.19 → 0.11.21
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/asyncToGenerator-c7fc3ee4.js +92 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
- package/dist/cjs/buffer-tools_2.cjs.entry.js +4 -3
- package/dist/cjs/card-manager_3.cjs.entry.js +4 -4
- package/dist/cjs/consent-manager.cjs.entry.js +4 -4
- package/dist/cjs/create-feature_4.cjs.entry.js +51 -47
- package/dist/cjs/create-related-feature_3.cjs.entry.js +3 -2
- package/dist/cjs/crowdsource-manager.cjs.entry.js +4 -5
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +5 -4
- package/dist/cjs/delete-dialog.cjs.entry.js +2 -2
- package/dist/cjs/downloadUtils-fcae8eb1.js +3223 -0
- package/dist/cjs/effects-3607d1ba.js +83 -0
- package/dist/cjs/feature-list.cjs.entry.js +5 -5
- package/dist/cjs/helpers-8d452256.js +867 -0
- package/dist/cjs/index.es-3c2404c3.js +11195 -0
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-create.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-export.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-header.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-popover.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-splash.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -5
- package/dist/cjs/json-editor_7.cjs.entry.js +2 -2
- package/dist/cjs/languageSwitcher-19a22439.js +52 -0
- package/dist/cjs/languageUtil-a3e1eafd.js +69 -0
- package/dist/cjs/loadModules-e9d8977c.js +23 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/locale-1c60be9c.js +160 -0
- package/dist/cjs/locale-da41a06f.js +943 -0
- package/dist/cjs/map-layer-picker.cjs.entry.js +2 -2
- package/dist/cjs/map-select-tools_3.cjs.entry.js +4 -4
- package/dist/cjs/popupUtils-87b006a6.js +121 -0
- package/dist/cjs/public-notification.cjs.entry.js +4 -4
- package/dist/cjs/solution-configuration.cjs.entry.js +2 -2
- package/dist/cjs/solution-contents_3.cjs.entry.js +2 -2
- package/dist/cjs/solution-item-accordion.cjs.entry.js +2 -2
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
- package/dist/cjs/utils-3e512114.js +153 -0
- package/dist/collection/assets/t9n/buffer-tools/resources_no.json +6 -0
- package/dist/collection/assets/t9n/card-manager/resources_no.json +7 -0
- package/dist/collection/assets/t9n/comment-card/resources_no.json +4 -0
- package/dist/collection/assets/t9n/consent-manager/resources_no.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ar.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_bg.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_bs.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ca.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_cs.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_da.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_de.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_el.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_en.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_es.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_et.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_fi.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_fr.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_he.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_hr.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_hu.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_id.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_it.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ja.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ko.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_lt.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_lv.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_nb.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_nl.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_no.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_pl.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_pt-BR.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_pt-PT.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ro.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ru.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_sk.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_sl.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_sr.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_sv.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_th.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_tr.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_uk.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_vi.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_zh-CN.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_zh-HK.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_zh-TW.json +1 -1
- package/dist/collection/assets/t9n/create-related-feature/resources_no.json +3 -0
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ar.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_bg.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_bs.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ca.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_cs.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_da.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_de.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_el.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_es.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_et.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_fi.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_fr.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_he.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_hr.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_hu.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_id.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_it.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ja.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ko.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_lt.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_lv.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_nb.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_nl.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_no.json +15 -0
- package/dist/collection/assets/t9n/crowdsource-manager/resources_pl.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_pt-BR.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_pt-PT.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ro.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ru.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_sk.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_sl.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_sr.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_sv.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_th.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_tr.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_uk.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_vi.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-CN.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-HK.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-TW.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ar.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_bg.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_bs.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ca.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_cs.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_da.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_de.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_el.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_es.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_et.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_fi.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_fr.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_he.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_hr.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_hu.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_id.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_it.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ja.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ko.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_lt.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_lv.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_nb.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_nl.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_no.json +32 -0
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pl.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-BR.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-PT.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ro.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ru.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sk.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sl.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sr.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sv.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_th.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_tr.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_uk.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_vi.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-CN.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-HK.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-TW.json +2 -1
- package/dist/collection/assets/t9n/delete-button/resources_no.json +8 -0
- package/dist/collection/assets/t9n/edit-card/resources_no.json +3 -0
- package/dist/collection/assets/t9n/feature-list/resources_no.json +8 -0
- package/dist/collection/assets/t9n/info-card/resources_no.json +10 -0
- package/dist/collection/assets/t9n/layer-list/resources_no.json +4 -0
- package/dist/collection/assets/t9n/layer-table/resources_no.json +22 -0
- package/dist/collection/assets/t9n/map-card/resources_no.json +10 -0
- package/dist/collection/assets/t9n/map-draw-tools/resources_no.json +5 -0
- package/dist/collection/assets/t9n/map-layer-picker/resources_no.json +5 -0
- package/dist/collection/assets/t9n/map-picker/resources_no.json +3 -0
- package/dist/collection/assets/t9n/map-search/resources_no.json +3 -0
- package/dist/collection/assets/t9n/map-select-tools/resources_no.json +16 -0
- package/dist/collection/assets/t9n/map-tools/resources_no.json +10 -0
- package/dist/collection/assets/t9n/pdf-download/resources_no.json +3 -0
- package/dist/collection/assets/t9n/public-notification/resources_no.json +44 -0
- package/dist/collection/assets/t9n/refine-selection/resources_no.json +9 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ar.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_bg.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_bs.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ca.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_cs.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_da.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_de.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_el.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_es.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_et.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_fi.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_fr.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_he.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_hr.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_hu.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_id.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_it.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ja.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ko.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_lt.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_lv.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_nb.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_nl.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_no.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_pl.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_pt-BR.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_pt-PT.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ro.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ru.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_sk.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_sl.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_sr.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_sv.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_th.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_tr.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_uk.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_vi.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-CN.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-HK.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-TW.json +1 -1
- package/dist/collection/components/create-feature/create-feature.js +132 -111
- package/dist/collection/components/create-related-feature/create-related-feature.js +1 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +2 -3
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +22 -2
- package/dist/collection/components/edit-card/edit-card.js +1 -0
- package/dist/collection/components/info-card/info-card.js +3 -2
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +2 -1
- package/dist/collection/vendor/calcite-components/22LZVO5E.js +4 -0
- package/dist/collection/vendor/calcite-components/2A6QEASM.js +4 -0
- package/dist/collection/vendor/calcite-components/2BGT5TEK.js +4 -0
- package/dist/collection/vendor/calcite-components/2CPYXWOG.js +4 -0
- package/dist/collection/vendor/calcite-components/2GEBE6K3.js +4 -0
- package/dist/collection/vendor/calcite-components/2QA56E26.js +4 -0
- package/dist/collection/vendor/calcite-components/2YRZB4NM.js +4 -0
- package/dist/collection/vendor/calcite-components/36XHP2FJ.js +4 -0
- package/dist/collection/vendor/calcite-components/3COQK7PF.js +4 -0
- package/dist/collection/vendor/calcite-components/3DM4HAHW.js +4 -0
- package/dist/collection/vendor/calcite-components/3PTTJYHL.js +4 -0
- package/dist/collection/vendor/calcite-components/3QHDLMLZ.js +4 -0
- package/dist/collection/vendor/calcite-components/3QTJJQOU.js +4 -0
- package/dist/collection/vendor/calcite-components/42IFRZST.js +4 -0
- package/dist/collection/vendor/calcite-components/43WAE6RK.js +4 -0
- package/dist/collection/vendor/calcite-components/4657LRIL.js +4 -0
- package/dist/collection/vendor/calcite-components/4D34RBQ3.js +4 -0
- package/dist/collection/vendor/calcite-components/4EMDDOBJ.js +4 -0
- package/dist/collection/vendor/calcite-components/4IX3YHER.js +4 -0
- package/dist/collection/vendor/calcite-components/4JFCCMPV.js +4 -0
- package/dist/collection/vendor/calcite-components/4RVJ5ZT4.js +4 -0
- package/dist/collection/vendor/calcite-components/53I6TTJJ.js +4 -0
- package/dist/collection/vendor/calcite-components/54KMPSZ3.js +4 -0
- package/dist/collection/vendor/calcite-components/555IAPRW.js +4 -0
- package/dist/collection/vendor/calcite-components/5BBZL5AE.js +4 -0
- package/dist/collection/vendor/calcite-components/5G52FOTN.js +4 -0
- package/dist/collection/vendor/calcite-components/5GU33MPG.js +4 -0
- package/dist/collection/vendor/calcite-components/5SFTADR5.js +4 -0
- package/dist/collection/vendor/calcite-components/5WCCH3GL.js +4 -0
- package/dist/collection/vendor/calcite-components/662YEAMX.js +4 -0
- package/dist/collection/vendor/calcite-components/6FZUWDUT.js +4 -0
- package/dist/collection/vendor/calcite-components/6PFLQ26Z.js +4 -0
- package/dist/collection/vendor/calcite-components/6PJ43C67.js +4 -0
- package/dist/collection/vendor/calcite-components/6TRPZGJP.js +4 -0
- package/dist/collection/vendor/calcite-components/6TWWOPNX.js +4 -0
- package/dist/collection/vendor/calcite-components/727HQUFD.js +4 -0
- package/dist/collection/vendor/calcite-components/74RWJ4QY.js +4 -0
- package/dist/collection/vendor/calcite-components/7AMBDXFL.js +4 -0
- package/dist/collection/vendor/calcite-components/7BGF2YXV.js +5 -0
- package/dist/collection/vendor/calcite-components/7KCRDGKA.js +4 -0
- package/dist/collection/vendor/calcite-components/7LREBCFI.js +4 -0
- package/dist/collection/vendor/calcite-components/7MTWQHV5.js +4 -0
- package/dist/collection/vendor/calcite-components/7NELI6UD.js +4 -0
- package/dist/collection/vendor/calcite-components/7PXHM6EH.js +4 -0
- package/dist/collection/vendor/calcite-components/7R52MWAP.js +4 -0
- package/dist/collection/vendor/calcite-components/A4XKVBOI.js +4 -0
- package/dist/collection/vendor/calcite-components/A57QY65K.js +4 -0
- package/dist/collection/vendor/calcite-components/A6VQQWXZ.js +4 -0
- package/dist/collection/vendor/calcite-components/AIDMQYMU.js +4 -0
- package/dist/collection/vendor/calcite-components/ASXEEA2B.js +4 -0
- package/dist/collection/vendor/calcite-components/AWSMJMWQ.js +4 -0
- package/dist/collection/vendor/calcite-components/AZ54J6HD.js +4 -0
- package/dist/collection/vendor/calcite-components/B2ETPGYX.js +4 -0
- package/dist/collection/vendor/calcite-components/B2JBOZ4Z.js +4 -0
- package/dist/collection/vendor/calcite-components/B4FD6KD7.js +4 -0
- package/dist/collection/vendor/calcite-components/B7E6VYNK.js +4 -0
- package/dist/collection/vendor/calcite-components/BD6SDCR6.js +4 -0
- package/dist/collection/vendor/calcite-components/BFQ3IRQW.js +4 -0
- package/dist/collection/vendor/calcite-components/BW2NQ5TQ.js +4 -0
- package/dist/collection/vendor/calcite-components/BZOMVSAG.js +4 -0
- package/dist/collection/vendor/calcite-components/C3AZYUGU.js +4 -0
- package/dist/collection/vendor/calcite-components/CBX7R3DS.js +4 -0
- package/dist/collection/vendor/calcite-components/CCXXBM5B.js +4 -0
- package/dist/collection/vendor/calcite-components/CG5B4XKZ.js +4 -0
- package/dist/collection/vendor/calcite-components/CHGJHDWI.js +4 -0
- package/dist/collection/vendor/calcite-components/CNADH63F.js +4 -0
- package/dist/collection/vendor/calcite-components/CV3G4HMQ.js +4 -0
- package/dist/collection/vendor/calcite-components/CWSVXKFX.js +4 -0
- package/dist/collection/vendor/calcite-components/CY5O5AGQ.js +4 -0
- package/dist/collection/vendor/calcite-components/D23ZXMLS.js +4 -0
- package/dist/collection/vendor/calcite-components/D276FT6Z.js +4 -0
- package/dist/collection/vendor/calcite-components/DG2T33QN.js +4 -0
- package/dist/collection/vendor/calcite-components/DJQ34CXE.js +4 -0
- package/dist/collection/vendor/calcite-components/DJREGHLR.js +6 -0
- package/dist/collection/vendor/calcite-components/DMXUBDZW.js +4 -0
- package/dist/collection/vendor/calcite-components/DNQY4EKR.js +4 -0
- package/dist/collection/vendor/calcite-components/DPFVN4EN.js +4 -0
- package/dist/collection/vendor/calcite-components/DRXWIPMI.js +4 -0
- package/dist/collection/vendor/calcite-components/DRYFM2IO.js +4 -0
- package/dist/collection/vendor/calcite-components/DUL66KKH.js +4 -0
- package/dist/collection/vendor/calcite-components/DVC5KGLT.js +4 -0
- package/dist/collection/vendor/calcite-components/E6X3KIZL.js +4 -0
- package/dist/collection/vendor/calcite-components/EG6UCGFB.js +4 -0
- package/dist/collection/vendor/calcite-components/EHAHKKFL.js +4 -0
- package/dist/collection/vendor/calcite-components/EIMDRXSI.js +4 -0
- package/dist/collection/vendor/calcite-components/EM7TVLTF.js +4 -0
- package/dist/collection/vendor/calcite-components/EP7IEI22.js +4 -0
- package/dist/collection/vendor/calcite-components/EWJY2L2V.js +4 -0
- package/dist/collection/vendor/calcite-components/EYQQPU2W.js +4 -0
- package/dist/collection/vendor/calcite-components/FB7CD3CH.js +4 -0
- package/dist/collection/vendor/calcite-components/FDBZMO4P.js +4 -0
- package/dist/collection/vendor/calcite-components/FFPGVFSC.js +4 -0
- package/dist/collection/vendor/calcite-components/FGYULWTE.js +4 -0
- package/dist/collection/vendor/calcite-components/FMKUEBDG.js +4 -0
- package/dist/collection/vendor/calcite-components/FRM3YXTH.js +4 -0
- package/dist/collection/vendor/calcite-components/FW6R63UX.js +4 -0
- package/dist/collection/vendor/calcite-components/FXTXVVOM.js +4 -0
- package/dist/collection/vendor/calcite-components/FXXGJ3RT.js +4 -0
- package/dist/collection/vendor/calcite-components/FYHE5C5Q.js +4 -0
- package/dist/collection/vendor/calcite-components/G33CDSRC.js +4 -0
- package/dist/collection/vendor/calcite-components/G6XUWYVF.js +4 -0
- package/dist/collection/vendor/calcite-components/GCIH5FK5.js +4 -0
- package/dist/collection/vendor/calcite-components/GE5Y3RWM.js +4 -0
- package/dist/collection/vendor/calcite-components/GEZNDNDH.js +4 -0
- package/dist/collection/vendor/calcite-components/GNJWHQYO.js +4 -0
- package/dist/collection/vendor/calcite-components/GZ5TMSIR.js +4 -0
- package/dist/collection/vendor/calcite-components/GZJIMDTR.js +4 -0
- package/dist/collection/vendor/calcite-components/H23GHBD2.js +5 -0
- package/dist/collection/vendor/calcite-components/H2SIT2TB.js +4 -0
- package/dist/collection/vendor/calcite-components/HC7MYCXC.js +4 -0
- package/dist/collection/vendor/calcite-components/HD5QD64Q.js +4 -0
- package/dist/collection/vendor/calcite-components/HDELZP2B.js +4 -0
- package/dist/collection/vendor/calcite-components/HGDJL4SA.js +4 -0
- package/dist/collection/vendor/calcite-components/HHVWJ7MU.js +4 -0
- package/dist/collection/vendor/calcite-components/HJYTX5BK.js +4 -0
- package/dist/collection/vendor/calcite-components/HMFDWMJH.js +4 -0
- package/dist/collection/vendor/calcite-components/HXESYKZM.js +4 -0
- package/dist/collection/vendor/calcite-components/I4BAPULM.js +4 -0
- package/dist/collection/vendor/calcite-components/I6RIFD3V.js +5 -0
- package/dist/collection/vendor/calcite-components/IDZWSTZZ.js +4 -0
- package/dist/collection/vendor/calcite-components/IFAY5ZXB.js +4 -0
- package/dist/collection/vendor/calcite-components/IO5HOHW4.js +4 -0
- package/dist/collection/vendor/calcite-components/ISXEUIFH.js +4 -0
- package/dist/collection/vendor/calcite-components/IXUF77L2.js +4 -0
- package/dist/collection/vendor/calcite-components/J27B5CWI.js +4 -0
- package/dist/collection/vendor/calcite-components/JAKKKROM.js +4 -0
- package/dist/collection/vendor/calcite-components/JNDUGIK6.js +4 -0
- package/dist/collection/vendor/calcite-components/JNNP4QF3.js +4 -0
- package/dist/collection/vendor/calcite-components/JVSUOTAZ.js +4 -0
- package/dist/collection/vendor/calcite-components/JWEMBAET.js +4 -0
- package/dist/collection/vendor/calcite-components/JWKRGDRV.js +4 -0
- package/dist/collection/vendor/calcite-components/JZQ73NRM.js +4 -0
- package/dist/collection/vendor/calcite-components/K7OAUX24.js +4 -0
- package/dist/collection/vendor/calcite-components/KKM7CKQA.js +4 -0
- package/dist/collection/vendor/calcite-components/KMEUFDPK.js +4 -0
- package/dist/collection/vendor/calcite-components/KNH6FSL4.js +4 -0
- package/dist/collection/vendor/calcite-components/KPMQXN4M.js +4 -0
- package/dist/collection/vendor/calcite-components/KWU2E4JE.js +4 -0
- package/dist/collection/vendor/calcite-components/L4WAR5X4.js +4 -0
- package/dist/collection/vendor/calcite-components/LKJAWTVJ.js +4 -0
- package/dist/collection/vendor/calcite-components/LLS4XVIW.js +4 -0
- package/dist/collection/vendor/calcite-components/LNECFRUM.js +4 -0
- package/dist/collection/vendor/calcite-components/LYQ7FJT2.js +4 -0
- package/dist/collection/vendor/calcite-components/M2KTEEUG.js +4 -0
- package/dist/collection/vendor/calcite-components/M5OIZS7N.js +28 -0
- package/dist/collection/vendor/calcite-components/M64PHLHQ.js +4 -0
- package/dist/collection/vendor/calcite-components/MQ3MSMTP.js +4 -0
- package/dist/collection/vendor/calcite-components/MTNJMPLV.js +4 -0
- package/dist/collection/vendor/calcite-components/MXGPGCYC.js +4 -0
- package/dist/collection/vendor/calcite-components/MYNPH67G.js +4 -0
- package/dist/collection/vendor/calcite-components/N5OBZLJZ.js +4 -0
- package/dist/collection/vendor/calcite-components/NJYFPOKV.js +4 -0
- package/dist/collection/vendor/calcite-components/NJZE4A4X.js +4 -0
- package/dist/collection/vendor/calcite-components/NSHK3NTJ.js +4 -0
- package/dist/collection/vendor/calcite-components/NYER6YT7.js +4 -0
- package/dist/collection/vendor/calcite-components/NYZ4ODDA.js +4 -0
- package/dist/collection/vendor/calcite-components/O4AAP54K.js +4 -0
- package/dist/collection/vendor/calcite-components/OETUMACB.js +4 -0
- package/dist/collection/vendor/calcite-components/OFPYZZUF.js +4 -0
- package/dist/collection/vendor/calcite-components/OFXV3CF7.js +4 -0
- package/dist/collection/vendor/calcite-components/PAJGY3XV.js +4 -0
- package/dist/collection/vendor/calcite-components/PENB3O7H.js +4 -0
- package/dist/collection/vendor/calcite-components/PNCVHWAE.js +4 -0
- package/dist/collection/vendor/calcite-components/PYGWJ6OV.js +4 -0
- package/dist/collection/vendor/calcite-components/Q32GNFQO.js +22 -0
- package/dist/collection/vendor/calcite-components/Q6HTE6MQ.js +4 -0
- package/dist/collection/vendor/calcite-components/QAO6BQAD.js +4 -0
- package/dist/collection/vendor/calcite-components/QBMZKO4M.js +4 -0
- package/dist/collection/vendor/calcite-components/QCKKEDB2.js +4 -0
- package/dist/collection/vendor/calcite-components/QQEBBK2A.js +4 -0
- package/dist/collection/vendor/calcite-components/R4J2EZFU.js +4 -0
- package/dist/collection/vendor/calcite-components/R5EHQKMO.js +4 -0
- package/dist/collection/vendor/calcite-components/R7GOP347.js +4 -0
- package/dist/collection/vendor/calcite-components/RBMLFM2L.js +4 -0
- package/dist/collection/vendor/calcite-components/RBQ6BI6C.js +4 -0
- package/dist/collection/vendor/calcite-components/REF7SAQQ.js +4 -0
- package/dist/collection/vendor/calcite-components/REWMVFVL.js +4 -0
- package/dist/collection/vendor/calcite-components/RI3WTZXE.js +4 -0
- package/dist/collection/vendor/calcite-components/RL7IIXTZ.js +4 -0
- package/dist/collection/vendor/calcite-components/RM7LSSHL.js +4 -0
- package/dist/collection/vendor/calcite-components/RREZDRNN.js +4 -0
- package/dist/collection/vendor/calcite-components/SHERIRO4.js +4 -0
- package/dist/collection/vendor/calcite-components/SK7NKNHK.js +4 -0
- package/dist/collection/vendor/calcite-components/SODGHLU2.js +4 -0
- package/dist/collection/vendor/calcite-components/SP6U5EWI.js +4 -0
- package/dist/collection/vendor/calcite-components/SQKZ5EZF.js +4 -0
- package/dist/collection/vendor/calcite-components/SX4MCPF2.js +5 -0
- package/dist/collection/vendor/calcite-components/TIGHTLQD.js +4 -0
- package/dist/collection/vendor/calcite-components/TMKEB7G7.js +4 -0
- package/dist/collection/vendor/calcite-components/TURDT3VB.js +4 -0
- package/dist/collection/vendor/calcite-components/TX7QHHK5.js +4 -0
- package/dist/collection/vendor/calcite-components/TYMOPXYL.js +4 -0
- package/dist/collection/vendor/calcite-components/TZECTLA6.js +4 -0
- package/dist/collection/vendor/calcite-components/U3RO6UCM.js +4 -0
- package/dist/collection/vendor/calcite-components/U5FUMAFV.js +4 -0
- package/dist/collection/vendor/calcite-components/UM5EV3V4.js +4 -0
- package/dist/collection/vendor/calcite-components/UOX45Z7K.js +4 -0
- package/dist/collection/vendor/calcite-components/UXTWTW75.js +4 -0
- package/dist/collection/vendor/calcite-components/V5ZZKGAM.js +4 -0
- package/dist/collection/vendor/calcite-components/VTA2PRG5.js +4 -0
- package/dist/collection/vendor/calcite-components/VY37PIFG.js +4 -0
- package/dist/collection/vendor/calcite-components/W25AOEEB.js +4 -0
- package/dist/collection/vendor/calcite-components/W3TNJWVO.js +4 -0
- package/dist/collection/vendor/calcite-components/WQHOMJR2.js +4 -0
- package/dist/collection/vendor/calcite-components/WW65BUEL.js +4 -0
- package/dist/collection/vendor/calcite-components/WWZTCRUR.js +4 -0
- package/dist/collection/vendor/calcite-components/X6UMFXM3.js +4 -0
- package/dist/collection/vendor/calcite-components/XCTRH7IZ.js +4 -0
- package/dist/collection/vendor/calcite-components/XJTPF3VE.js +4 -0
- package/dist/collection/vendor/calcite-components/XNWWFGXG.js +4 -0
- package/dist/collection/vendor/calcite-components/YG6EDHOT.js +4 -0
- package/dist/collection/vendor/calcite-components/YHRT6LHF.js +4 -0
- package/dist/collection/vendor/calcite-components/YMNIMOT5.js +4 -0
- package/dist/collection/vendor/calcite-components/YQDDGBKI.js +4 -0
- package/dist/collection/vendor/calcite-components/YYWX5ACS.js +4 -0
- package/dist/collection/vendor/calcite-components/Z5J5AV2N.js +4 -0
- package/dist/collection/vendor/calcite-components/Z5POWLIV.js +4 -0
- package/dist/collection/vendor/calcite-components/ZCF5FXJ6.js +4 -0
- package/dist/collection/vendor/calcite-components/ZCPJODER.js +4 -0
- package/dist/collection/vendor/calcite-components/ZIIE4X52.js +4 -0
- package/dist/collection/vendor/calcite-components/ZQ4RAM3U.js +4 -0
- package/dist/collection/vendor/calcite-components/ZXDWFKG4.js +4 -0
- package/dist/collection/vendor/calcite-components/assets/icon/hammerCoin16.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/hammerCoin24.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/hammerCoin32.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/hammerLock16.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/hammerLock24.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/hammerLock32.json +1 -0
- package/dist/collection/vendor/calcite-components/calcite.esm.js +2 -2
- package/dist/components/create-feature2.js +50 -47
- package/dist/components/create-related-feature2.js +1 -0
- package/dist/components/crowdsource-manager.js +2 -3
- package/dist/components/crowdsource-reporter.js +4 -2
- package/dist/components/edit-card2.js +1 -0
- package/dist/components/info-card2.js +3 -2
- package/dist/components/map-draw-tools2.js +2 -1
- package/dist/esm/asyncToGenerator-96b2368d.js +88 -0
- package/dist/esm/basemap-gallery_7.entry.js +2 -2
- package/dist/esm/buffer-tools_2.entry.js +4 -3
- package/dist/esm/card-manager_3.entry.js +4 -4
- package/dist/esm/consent-manager.entry.js +4 -4
- package/dist/esm/create-feature_4.entry.js +51 -47
- package/dist/esm/create-related-feature_3.entry.js +3 -2
- package/dist/esm/crowdsource-manager.entry.js +4 -5
- package/dist/esm/crowdsource-reporter.entry.js +5 -4
- package/dist/esm/delete-dialog.entry.js +2 -2
- package/dist/esm/downloadUtils-078cd709.js +3217 -0
- package/dist/esm/effects-38bc1195.js +81 -0
- package/dist/esm/feature-list.entry.js +5 -5
- package/dist/esm/helpers-15d5cd56.js +841 -0
- package/dist/esm/index.es-87662946.js +11108 -0
- package/dist/esm/instant-apps-app-guide.entry.js +4 -4
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +5 -5
- package/dist/esm/instant-apps-control-panel.entry.js +2 -2
- package/dist/esm/instant-apps-create.entry.js +4 -4
- package/dist/esm/instant-apps-export-views.entry.js +4 -4
- package/dist/esm/instant-apps-export.entry.js +4 -4
- package/dist/esm/instant-apps-filter-list_2.entry.js +4 -4
- package/dist/esm/instant-apps-header.entry.js +2 -2
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +4 -4
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +4 -4
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +4 -4
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +4 -4
- package/dist/esm/instant-apps-interactive-legend.entry.js +6 -6
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +4 -4
- package/dist/esm/instant-apps-language-switcher.entry.js +6 -6
- package/dist/esm/instant-apps-language-translator.entry.js +6 -6
- package/dist/esm/instant-apps-measurement-tool.entry.js +2 -2
- package/dist/esm/instant-apps-measurement.entry.js +4 -4
- package/dist/esm/instant-apps-popover.entry.js +4 -4
- package/dist/esm/instant-apps-scoreboard.entry.js +4 -4
- package/dist/esm/instant-apps-sign-in.entry.js +4 -4
- package/dist/esm/instant-apps-splash.entry.js +4 -4
- package/dist/esm/instant-apps-time-filter.entry.js +5 -5
- package/dist/esm/json-editor_7.entry.js +2 -2
- package/dist/esm/languageSwitcher-49bad3f4.js +49 -0
- package/dist/esm/languageUtil-2b6e191a.js +66 -0
- package/dist/esm/loadModules-947ccfd4.js +21 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/locale-7874c756.js +155 -0
- package/dist/esm/locale-e02b0e14.js +938 -0
- package/dist/esm/map-layer-picker.entry.js +2 -2
- package/dist/esm/map-select-tools_3.entry.js +4 -4
- package/dist/esm/popupUtils-6a965512.js +119 -0
- package/dist/esm/public-notification.entry.js +4 -4
- package/dist/esm/solution-configuration.entry.js +2 -2
- package/dist/esm/solution-contents_3.entry.js +2 -2
- package/dist/esm/solution-item-accordion.entry.js +2 -2
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/spatial-ref.entry.js +2 -2
- package/dist/esm/utils-6fe5b5fa.js +142 -0
- package/dist/solutions-components/assets/t9n/buffer-tools/resources_no.json +6 -0
- package/dist/solutions-components/assets/t9n/card-manager/resources_no.json +7 -0
- package/dist/solutions-components/assets/t9n/comment-card/resources_no.json +4 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_no.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ar.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_bg.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_bs.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ca.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_cs.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_da.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_de.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_el.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_en.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_es.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_et.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_fi.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_fr.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_he.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_hr.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_hu.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_id.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_it.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ja.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ko.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_lt.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_lv.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_nb.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_nl.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_no.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_pl.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_pt-BR.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_pt-PT.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ro.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ru.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_sk.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_sl.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_sr.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_sv.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_th.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_tr.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_uk.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_vi.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_zh-CN.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_zh-HK.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_zh-TW.json +1 -1
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_no.json +3 -0
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ar.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_bg.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_bs.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ca.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_cs.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_da.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_de.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_el.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_es.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_et.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_fi.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_fr.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_he.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_hr.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_hu.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_id.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_it.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ja.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ko.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_lt.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_lv.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_nb.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_nl.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_no.json +15 -0
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pl.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pt-BR.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pt-PT.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ro.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ru.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sk.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sl.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sr.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sv.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_th.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_tr.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_uk.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_vi.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-CN.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-HK.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-TW.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ar.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bg.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bs.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ca.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_cs.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_da.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_de.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_el.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_es.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_et.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fi.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fr.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_he.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hr.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hu.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_id.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_it.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ja.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ko.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lt.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lv.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nb.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nl.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_no.json +32 -0
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pl.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-BR.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-PT.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ro.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ru.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sk.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sl.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sr.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sv.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_th.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_tr.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_uk.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_vi.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-CN.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-HK.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-TW.json +2 -1
- package/dist/solutions-components/assets/t9n/delete-button/resources_no.json +8 -0
- package/dist/solutions-components/assets/t9n/edit-card/resources_no.json +3 -0
- package/dist/solutions-components/assets/t9n/feature-list/resources_no.json +8 -0
- package/dist/solutions-components/assets/t9n/info-card/resources_no.json +10 -0
- package/dist/solutions-components/assets/t9n/layer-list/resources_no.json +4 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_no.json +22 -0
- package/dist/solutions-components/assets/t9n/map-card/resources_no.json +10 -0
- package/dist/solutions-components/assets/t9n/map-draw-tools/resources_no.json +5 -0
- package/dist/solutions-components/assets/t9n/map-layer-picker/resources_no.json +5 -0
- package/dist/solutions-components/assets/t9n/map-picker/resources_no.json +3 -0
- package/dist/solutions-components/assets/t9n/map-search/resources_no.json +3 -0
- package/dist/solutions-components/assets/t9n/map-select-tools/resources_no.json +16 -0
- package/dist/solutions-components/assets/t9n/map-tools/resources_no.json +10 -0
- package/dist/solutions-components/assets/t9n/pdf-download/resources_no.json +3 -0
- package/dist/solutions-components/assets/t9n/public-notification/resources_no.json +44 -0
- package/dist/solutions-components/assets/t9n/refine-selection/resources_no.json +9 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ar.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_bg.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_bs.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ca.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_cs.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_da.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_de.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_el.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_es.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_et.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_fi.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_fr.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_he.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_hr.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_hu.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_id.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_it.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ja.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ko.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_lt.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_lv.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_nb.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_nl.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_no.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pl.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pt-BR.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pt-PT.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ro.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ru.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sk.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sl.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sr.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sv.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_th.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_tr.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_uk.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_vi.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-CN.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-HK.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-TW.json +1 -1
- package/dist/solutions-components/p-00ec642f.entry.js +6 -0
- package/dist/solutions-components/p-02c4e6fc.entry.js +6 -0
- package/dist/solutions-components/p-0326f1f4.entry.js +21 -0
- package/dist/solutions-components/p-08ad0b7a.js +6 -0
- package/dist/solutions-components/p-174fa218.js +6 -0
- package/dist/solutions-components/p-1e1dfef6.js +6 -0
- package/dist/solutions-components/p-244316dd.entry.js +6 -0
- package/dist/solutions-components/p-2884ca49.js +6 -0
- package/dist/solutions-components/p-3ce5c7fd.entry.js +6 -0
- package/dist/solutions-components/p-404cbf48.js +36 -0
- package/dist/solutions-components/p-41a3b49a.entry.js +6 -0
- package/dist/solutions-components/p-443168f0.entry.js +6 -0
- package/dist/solutions-components/p-4ced7b11.entry.js +6 -0
- package/dist/solutions-components/p-4d5dd39e.entry.js +6 -0
- package/dist/solutions-components/p-4e7514a3.entry.js +6 -0
- package/dist/solutions-components/p-4f7fb338.entry.js +6 -0
- package/dist/solutions-components/p-5786b9da.entry.js +6 -0
- package/dist/solutions-components/p-5a202f3f.entry.js +6 -0
- package/dist/solutions-components/p-65105504.entry.js +6 -0
- package/dist/solutions-components/p-698656b8.entry.js +6 -0
- package/dist/solutions-components/p-72d04c7a.entry.js +11 -0
- package/dist/solutions-components/p-832707fd.entry.js +6 -0
- package/dist/solutions-components/p-837e0939.entry.js +21 -0
- package/dist/solutions-components/p-84bb6925.js +6 -0
- package/dist/solutions-components/p-8859b622.entry.js +6 -0
- package/dist/solutions-components/p-89fbc318.js +6 -0
- package/dist/solutions-components/p-8a010f9e.entry.js +6 -0
- package/dist/solutions-components/p-8dd677dd.entry.js +6 -0
- package/dist/solutions-components/p-9927342d.entry.js +6 -0
- package/dist/solutions-components/p-a277d08c.entry.js +6 -0
- package/dist/solutions-components/p-a5eaf7fe.entry.js +6 -0
- package/dist/solutions-components/p-a6e763aa.entry.js +6 -0
- package/dist/solutions-components/p-aad84d69.entry.js +6 -0
- package/dist/solutions-components/p-ac122d9e.js +6 -0
- package/dist/solutions-components/p-b394f504.entry.js +6 -0
- package/dist/solutions-components/p-ba4e219a.entry.js +6 -0
- package/dist/solutions-components/p-bf04c6f4.js +21 -0
- package/dist/solutions-components/p-c6c697e5.entry.js +6 -0
- package/dist/solutions-components/p-d324196d.entry.js +6 -0
- package/dist/solutions-components/p-d65f8b73.js +6 -0
- package/dist/solutions-components/p-db3391b9.js +488 -0
- package/dist/solutions-components/p-dc188d13.js +61 -0
- package/dist/solutions-components/p-de42e8b2.entry.js +6 -0
- package/dist/solutions-components/p-ea566af0.entry.js +6 -0
- package/dist/solutions-components/p-eb3c867f.entry.js +6 -0
- package/dist/solutions-components/p-ec867c21.entry.js +6 -0
- package/dist/solutions-components/p-ed1ecb5b.entry.js +6 -0
- package/dist/solutions-components/p-ee3bb943.entry.js +6 -0
- package/dist/solutions-components/p-f165921f.entry.js +6 -0
- package/dist/solutions-components/p-f75786a8.entry.js +6 -0
- package/dist/solutions-components/p-f956c598.entry.js +6 -0
- package/dist/solutions-components/p-fa663804.entry.js +6 -0
- package/dist/solutions-components/p-ff317687.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/vendor/calcite-components/22LZVO5E.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2A6QEASM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2BGT5TEK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2CPYXWOG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2GEBE6K3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2QA56E26.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2YRZB4NM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/36XHP2FJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3COQK7PF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3DM4HAHW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3PTTJYHL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3QHDLMLZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3QTJJQOU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/42IFRZST.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/43WAE6RK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4657LRIL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4D34RBQ3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4EMDDOBJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4IX3YHER.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4JFCCMPV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4RVJ5ZT4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/53I6TTJJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/54KMPSZ3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/555IAPRW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5BBZL5AE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5G52FOTN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5GU33MPG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5SFTADR5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5WCCH3GL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/662YEAMX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6FZUWDUT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6PFLQ26Z.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6PJ43C67.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6TRPZGJP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6TWWOPNX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/727HQUFD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/74RWJ4QY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7AMBDXFL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7BGF2YXV.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/7KCRDGKA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7LREBCFI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7MTWQHV5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7NELI6UD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7PXHM6EH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7R52MWAP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A4XKVBOI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A57QY65K.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A6VQQWXZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AIDMQYMU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ASXEEA2B.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AWSMJMWQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AZ54J6HD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B2ETPGYX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B2JBOZ4Z.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B4FD6KD7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B7E6VYNK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BD6SDCR6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BFQ3IRQW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BW2NQ5TQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BZOMVSAG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/C3AZYUGU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CBX7R3DS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CCXXBM5B.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CG5B4XKZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CHGJHDWI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CNADH63F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CV3G4HMQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CWSVXKFX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CY5O5AGQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/D23ZXMLS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/D276FT6Z.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DG2T33QN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DJQ34CXE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DJREGHLR.js +6 -0
- package/dist/solutions-components/vendor/calcite-components/DMXUBDZW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DNQY4EKR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DPFVN4EN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DRXWIPMI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DRYFM2IO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DUL66KKH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DVC5KGLT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E6X3KIZL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EG6UCGFB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EHAHKKFL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EIMDRXSI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EM7TVLTF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EP7IEI22.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EWJY2L2V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EYQQPU2W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FB7CD3CH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FDBZMO4P.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FFPGVFSC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FGYULWTE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FMKUEBDG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FRM3YXTH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FW6R63UX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FXTXVVOM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FXXGJ3RT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FYHE5C5Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G33CDSRC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G6XUWYVF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GCIH5FK5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GE5Y3RWM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GEZNDNDH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GNJWHQYO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GZ5TMSIR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GZJIMDTR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H23GHBD2.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/H2SIT2TB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HC7MYCXC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HD5QD64Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HDELZP2B.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HGDJL4SA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HHVWJ7MU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HJYTX5BK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HMFDWMJH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HXESYKZM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/I4BAPULM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/I6RIFD3V.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/IDZWSTZZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IFAY5ZXB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IO5HOHW4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ISXEUIFH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IXUF77L2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/J27B5CWI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JAKKKROM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JNDUGIK6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JNNP4QF3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JVSUOTAZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JWEMBAET.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JWKRGDRV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JZQ73NRM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/K7OAUX24.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KKM7CKQA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KMEUFDPK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KNH6FSL4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KPMQXN4M.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KWU2E4JE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/L4WAR5X4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LKJAWTVJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LLS4XVIW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LNECFRUM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LYQ7FJT2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/M2KTEEUG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/M5OIZS7N.js +28 -0
- package/dist/solutions-components/vendor/calcite-components/M64PHLHQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MQ3MSMTP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MTNJMPLV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MXGPGCYC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MYNPH67G.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N5OBZLJZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NJYFPOKV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NJZE4A4X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NSHK3NTJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NYER6YT7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NYZ4ODDA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/O4AAP54K.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OETUMACB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OFPYZZUF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OFXV3CF7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PAJGY3XV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PENB3O7H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PNCVHWAE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PYGWJ6OV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Q32GNFQO.js +22 -0
- package/dist/solutions-components/vendor/calcite-components/Q6HTE6MQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QAO6BQAD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QBMZKO4M.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QCKKEDB2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QQEBBK2A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/R4J2EZFU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/R5EHQKMO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/R7GOP347.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RBMLFM2L.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RBQ6BI6C.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/REF7SAQQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/REWMVFVL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RI3WTZXE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RL7IIXTZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RM7LSSHL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RREZDRNN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SHERIRO4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SK7NKNHK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SODGHLU2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SP6U5EWI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SQKZ5EZF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SX4MCPF2.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/TIGHTLQD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TMKEB7G7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TURDT3VB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TX7QHHK5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TYMOPXYL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TZECTLA6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/U3RO6UCM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/U5FUMAFV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UM5EV3V4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UOX45Z7K.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UXTWTW75.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/V5ZZKGAM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VTA2PRG5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VY37PIFG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/W25AOEEB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/W3TNJWVO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WQHOMJR2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WW65BUEL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WWZTCRUR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/X6UMFXM3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XCTRH7IZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XJTPF3VE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XNWWFGXG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YG6EDHOT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YHRT6LHF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YMNIMOT5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YQDDGBKI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YYWX5ACS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Z5J5AV2N.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Z5POWLIV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZCF5FXJ6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZCPJODER.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZIIE4X52.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZQ4RAM3U.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZXDWFKG4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerCoin16.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerCoin24.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerCoin32.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerLock16.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerLock24.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerLock32.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/calcite.esm.js +2 -2
- package/dist/solutions-components_commit.txt +6 -6
- package/dist/types/components/create-feature/create-feature.d.ts +54 -50
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +4 -0
- package/dist/types/components.d.ts +16 -0
- package/package.json +2 -2
- package/dist/cjs/asyncToGenerator-f169429a.js +0 -92
- package/dist/cjs/downloadUtils-b269c7a1.js +0 -3223
- package/dist/cjs/effects-2f75069e.js +0 -83
- package/dist/cjs/helpers-69e520bd.js +0 -867
- package/dist/cjs/index.es-644259ff.js +0 -11195
- package/dist/cjs/languageSwitcher-c8e62594.js +0 -52
- package/dist/cjs/languageUtil-bd49af69.js +0 -69
- package/dist/cjs/loadModules-3b29fa24.js +0 -23
- package/dist/cjs/locale-905e6063.js +0 -160
- package/dist/cjs/locale-c923d7b6.js +0 -943
- package/dist/cjs/popupUtils-5378e04a.js +0 -121
- package/dist/cjs/utils-3739960f.js +0 -153
- package/dist/collection/vendor/calcite-components/2BGOXXHV.js +0 -4
- package/dist/collection/vendor/calcite-components/2EBGD5ZQ.js +0 -4
- package/dist/collection/vendor/calcite-components/2HEEVITF.js +0 -4
- package/dist/collection/vendor/calcite-components/2QBRISAS.js +0 -4
- package/dist/collection/vendor/calcite-components/2SKIGCTJ.js +0 -4
- package/dist/collection/vendor/calcite-components/2ZPEMPPG.js +0 -4
- package/dist/collection/vendor/calcite-components/36DTW2EC.js +0 -4
- package/dist/collection/vendor/calcite-components/36E6CTNX.js +0 -4
- package/dist/collection/vendor/calcite-components/36HITQ3A.js +0 -4
- package/dist/collection/vendor/calcite-components/3FJPBCHI.js +0 -4
- package/dist/collection/vendor/calcite-components/3TINKPLC.js +0 -4
- package/dist/collection/vendor/calcite-components/3TXD2SW4.js +0 -4
- package/dist/collection/vendor/calcite-components/43C4CZJO.js +0 -4
- package/dist/collection/vendor/calcite-components/44DZGTF5.js +0 -4
- package/dist/collection/vendor/calcite-components/4IWRJJPT.js +0 -4
- package/dist/collection/vendor/calcite-components/4L6L5YMT.js +0 -4
- package/dist/collection/vendor/calcite-components/4NZHY4FQ.js +0 -4
- package/dist/collection/vendor/calcite-components/4OSJHPNQ.js +0 -4
- package/dist/collection/vendor/calcite-components/4ZNEZOAP.js +0 -4
- package/dist/collection/vendor/calcite-components/4ZTXEQT4.js +0 -4
- package/dist/collection/vendor/calcite-components/57U74PDQ.js +0 -4
- package/dist/collection/vendor/calcite-components/5BEKT6RT.js +0 -4
- package/dist/collection/vendor/calcite-components/5JAMHCQS.js +0 -6
- package/dist/collection/vendor/calcite-components/5UP5TQJN.js +0 -4
- package/dist/collection/vendor/calcite-components/5VK77MGP.js +0 -4
- package/dist/collection/vendor/calcite-components/5ZFIOILW.js +0 -4
- package/dist/collection/vendor/calcite-components/62G23PKY.js +0 -4
- package/dist/collection/vendor/calcite-components/6A464LBG.js +0 -4
- package/dist/collection/vendor/calcite-components/6KXUZBIZ.js +0 -4
- package/dist/collection/vendor/calcite-components/6OCJIDQZ.js +0 -4
- package/dist/collection/vendor/calcite-components/6PBZNCIY.js +0 -4
- package/dist/collection/vendor/calcite-components/6SREDGMN.js +0 -4
- package/dist/collection/vendor/calcite-components/73K4GSAV.js +0 -4
- package/dist/collection/vendor/calcite-components/757M5TSP.js +0 -5
- package/dist/collection/vendor/calcite-components/7F6EUEAO.js +0 -4
- package/dist/collection/vendor/calcite-components/7GOGBJPD.js +0 -4
- package/dist/collection/vendor/calcite-components/7PLD33LH.js +0 -4
- package/dist/collection/vendor/calcite-components/7TNMI44V.js +0 -4
- package/dist/collection/vendor/calcite-components/7VZFYJY5.js +0 -4
- package/dist/collection/vendor/calcite-components/7XZR3QPX.js +0 -4
- package/dist/collection/vendor/calcite-components/A3M4FM7N.js +0 -4
- package/dist/collection/vendor/calcite-components/A5WZ32T6.js +0 -4
- package/dist/collection/vendor/calcite-components/A6H6UTO7.js +0 -4
- package/dist/collection/vendor/calcite-components/AA6WUYLQ.js +0 -4
- package/dist/collection/vendor/calcite-components/ADRZSXZD.js +0 -4
- package/dist/collection/vendor/calcite-components/AKXBPGJ4.js +0 -4
- package/dist/collection/vendor/calcite-components/ALGCYGFE.js +0 -4
- package/dist/collection/vendor/calcite-components/B3YKMJGM.js +0 -4
- package/dist/collection/vendor/calcite-components/B6DZ4O5H.js +0 -4
- package/dist/collection/vendor/calcite-components/B747CT5Q.js +0 -5
- package/dist/collection/vendor/calcite-components/BAHKYVUM.js +0 -4
- package/dist/collection/vendor/calcite-components/BTHSKXWS.js +0 -4
- package/dist/collection/vendor/calcite-components/BWCV737I.js +0 -4
- package/dist/collection/vendor/calcite-components/BZV465ZG.js +0 -4
- package/dist/collection/vendor/calcite-components/C4A2PCZ4.js +0 -4
- package/dist/collection/vendor/calcite-components/C5MKAGNV.js +0 -4
- package/dist/collection/vendor/calcite-components/CK3TASCY.js +0 -4
- package/dist/collection/vendor/calcite-components/D2MINRBA.js +0 -4
- package/dist/collection/vendor/calcite-components/DDOM5RYZ.js +0 -4
- package/dist/collection/vendor/calcite-components/DJ4JGNMM.js +0 -4
- package/dist/collection/vendor/calcite-components/DL75ZJBG.js +0 -4
- package/dist/collection/vendor/calcite-components/DO4RITGJ.js +0 -4
- package/dist/collection/vendor/calcite-components/DSL2FNLA.js +0 -4
- package/dist/collection/vendor/calcite-components/DTEHSI7W.js +0 -4
- package/dist/collection/vendor/calcite-components/DUTPXINY.js +0 -4
- package/dist/collection/vendor/calcite-components/DY22I2GZ.js +0 -4
- package/dist/collection/vendor/calcite-components/DYN74HSB.js +0 -4
- package/dist/collection/vendor/calcite-components/E3CWAGXE.js +0 -4
- package/dist/collection/vendor/calcite-components/E3QBKOQQ.js +0 -4
- package/dist/collection/vendor/calcite-components/EBFZRB3A.js +0 -4
- package/dist/collection/vendor/calcite-components/ECGXAEDQ.js +0 -4
- package/dist/collection/vendor/calcite-components/EGC7NBN5.js +0 -4
- package/dist/collection/vendor/calcite-components/EILXZAAH.js +0 -4
- package/dist/collection/vendor/calcite-components/EISHHIYI.js +0 -4
- package/dist/collection/vendor/calcite-components/EN6Y5YN5.js +0 -4
- package/dist/collection/vendor/calcite-components/ERDL4UCD.js +0 -4
- package/dist/collection/vendor/calcite-components/EYPFBUR7.js +0 -4
- package/dist/collection/vendor/calcite-components/F6DYUGAJ.js +0 -4
- package/dist/collection/vendor/calcite-components/FAQ7B73H.js +0 -4
- package/dist/collection/vendor/calcite-components/FAULLEJY.js +0 -4
- package/dist/collection/vendor/calcite-components/FH7G4JPL.js +0 -28
- package/dist/collection/vendor/calcite-components/FHAH57CK.js +0 -4
- package/dist/collection/vendor/calcite-components/FHGZNYTT.js +0 -4
- package/dist/collection/vendor/calcite-components/FLXOWNYW.js +0 -4
- package/dist/collection/vendor/calcite-components/FVABUFOH.js +0 -4
- package/dist/collection/vendor/calcite-components/G2JF63JV.js +0 -4
- package/dist/collection/vendor/calcite-components/G63OZT6W.js +0 -4
- package/dist/collection/vendor/calcite-components/GESC7PRY.js +0 -4
- package/dist/collection/vendor/calcite-components/GIAH7CPN.js +0 -4
- package/dist/collection/vendor/calcite-components/GNZIY4A2.js +0 -4
- package/dist/collection/vendor/calcite-components/GPNKRGK6.js +0 -4
- package/dist/collection/vendor/calcite-components/GSUR5POR.js +0 -4
- package/dist/collection/vendor/calcite-components/GY22257T.js +0 -4
- package/dist/collection/vendor/calcite-components/H2PEX7CU.js +0 -4
- package/dist/collection/vendor/calcite-components/H2UMFA24.js +0 -4
- package/dist/collection/vendor/calcite-components/H7D6N2ZS.js +0 -4
- package/dist/collection/vendor/calcite-components/HALAA7KD.js +0 -4
- package/dist/collection/vendor/calcite-components/HHC7VSD3.js +0 -4
- package/dist/collection/vendor/calcite-components/HNGJKPNS.js +0 -4
- package/dist/collection/vendor/calcite-components/HQLH54Q4.js +0 -4
- package/dist/collection/vendor/calcite-components/HZLG5SUR.js +0 -4
- package/dist/collection/vendor/calcite-components/HZUKYZNP.js +0 -4
- package/dist/collection/vendor/calcite-components/IHBCPOXF.js +0 -4
- package/dist/collection/vendor/calcite-components/IIERNP6W.js +0 -4
- package/dist/collection/vendor/calcite-components/ILJVRQHM.js +0 -4
- package/dist/collection/vendor/calcite-components/IQTGVLQG.js +0 -4
- package/dist/collection/vendor/calcite-components/IRW4MFB4.js +0 -4
- package/dist/collection/vendor/calcite-components/J4KGM5S7.js +0 -5
- package/dist/collection/vendor/calcite-components/JCQBVDTR.js +0 -4
- package/dist/collection/vendor/calcite-components/JCZIZMKQ.js +0 -4
- package/dist/collection/vendor/calcite-components/JE5DGAJR.js +0 -4
- package/dist/collection/vendor/calcite-components/JL7OLH3T.js +0 -4
- package/dist/collection/vendor/calcite-components/JTWLPIB2.js +0 -4
- package/dist/collection/vendor/calcite-components/K53JENHF.js +0 -4
- package/dist/collection/vendor/calcite-components/K5ODBKLP.js +0 -4
- package/dist/collection/vendor/calcite-components/KC4IYMUL.js +0 -4
- package/dist/collection/vendor/calcite-components/KE7WVOAV.js +0 -4
- package/dist/collection/vendor/calcite-components/KGJ4OJVP.js +0 -4
- package/dist/collection/vendor/calcite-components/KI2CJ7JL.js +0 -4
- package/dist/collection/vendor/calcite-components/KNE7ABCR.js +0 -4
- package/dist/collection/vendor/calcite-components/KOFGYSC5.js +0 -4
- package/dist/collection/vendor/calcite-components/KOH6G4XV.js +0 -4
- package/dist/collection/vendor/calcite-components/KRO7CG2Q.js +0 -4
- package/dist/collection/vendor/calcite-components/KRZW2DWF.js +0 -4
- package/dist/collection/vendor/calcite-components/KSFXKRML.js +0 -4
- package/dist/collection/vendor/calcite-components/KTJZCONU.js +0 -4
- package/dist/collection/vendor/calcite-components/KXJRCIPX.js +0 -4
- package/dist/collection/vendor/calcite-components/L5DK3NJQ.js +0 -4
- package/dist/collection/vendor/calcite-components/LEAJPPH4.js +0 -4
- package/dist/collection/vendor/calcite-components/LKNGKUUT.js +0 -4
- package/dist/collection/vendor/calcite-components/LLYFYC3S.js +0 -4
- package/dist/collection/vendor/calcite-components/LLYVXFI4.js +0 -4
- package/dist/collection/vendor/calcite-components/LMPMNF4U.js +0 -4
- package/dist/collection/vendor/calcite-components/LNUDHR7T.js +0 -4
- package/dist/collection/vendor/calcite-components/LRXQU7WR.js +0 -4
- package/dist/collection/vendor/calcite-components/MDS5OEJ4.js +0 -4
- package/dist/collection/vendor/calcite-components/MEXPAXRW.js +0 -4
- package/dist/collection/vendor/calcite-components/MI3K57KT.js +0 -4
- package/dist/collection/vendor/calcite-components/MIOMFK6B.js +0 -4
- package/dist/collection/vendor/calcite-components/MJII73PP.js +0 -4
- package/dist/collection/vendor/calcite-components/MJIKLRLZ.js +0 -4
- package/dist/collection/vendor/calcite-components/MQSDYLGW.js +0 -4
- package/dist/collection/vendor/calcite-components/MWJLXQ5U.js +0 -4
- package/dist/collection/vendor/calcite-components/N2PDJVSE.js +0 -4
- package/dist/collection/vendor/calcite-components/NERFG233.js +0 -4
- package/dist/collection/vendor/calcite-components/NIUBMFXO.js +0 -4
- package/dist/collection/vendor/calcite-components/NK25FAZ6.js +0 -4
- package/dist/collection/vendor/calcite-components/NK4ED4IH.js +0 -5
- package/dist/collection/vendor/calcite-components/NOJTDKA6.js +0 -4
- package/dist/collection/vendor/calcite-components/NUY7EYNX.js +0 -4
- package/dist/collection/vendor/calcite-components/NWA7UYBI.js +0 -4
- package/dist/collection/vendor/calcite-components/NWNWCSUO.js +0 -4
- package/dist/collection/vendor/calcite-components/NYJ2KJKN.js +0 -4
- package/dist/collection/vendor/calcite-components/O6RKIBH2.js +0 -4
- package/dist/collection/vendor/calcite-components/OP2QHRHR.js +0 -4
- package/dist/collection/vendor/calcite-components/P5ZVYEQW.js +0 -4
- package/dist/collection/vendor/calcite-components/P6BFNJVU.js +0 -4
- package/dist/collection/vendor/calcite-components/P6VB45CQ.js +0 -4
- package/dist/collection/vendor/calcite-components/PNTWJB75.js +0 -4
- package/dist/collection/vendor/calcite-components/PTUZR2XV.js +0 -4
- package/dist/collection/vendor/calcite-components/QBNHVQWS.js +0 -4
- package/dist/collection/vendor/calcite-components/QD6WQCPN.js +0 -4
- package/dist/collection/vendor/calcite-components/QEBXFL3K.js +0 -4
- package/dist/collection/vendor/calcite-components/QNRLRRZZ.js +0 -4
- package/dist/collection/vendor/calcite-components/QTGKBVAW.js +0 -4
- package/dist/collection/vendor/calcite-components/QVLHSABE.js +0 -4
- package/dist/collection/vendor/calcite-components/RATZT6K7.js +0 -4
- package/dist/collection/vendor/calcite-components/RAWIO5CJ.js +0 -4
- package/dist/collection/vendor/calcite-components/RC4M4Q6U.js +0 -4
- package/dist/collection/vendor/calcite-components/ROTKUEC4.js +0 -4
- package/dist/collection/vendor/calcite-components/RRR3UCDP.js +0 -4
- package/dist/collection/vendor/calcite-components/RXJQR5VC.js +0 -4
- package/dist/collection/vendor/calcite-components/RYBJ6HQX.js +0 -4
- package/dist/collection/vendor/calcite-components/S2CHZ5WW.js +0 -4
- package/dist/collection/vendor/calcite-components/S5QILLXK.js +0 -4
- package/dist/collection/vendor/calcite-components/S5WUGWLI.js +0 -4
- package/dist/collection/vendor/calcite-components/SLILJOTA.js +0 -4
- package/dist/collection/vendor/calcite-components/SZIQPAWB.js +0 -4
- package/dist/collection/vendor/calcite-components/T2EFD7MK.js +0 -4
- package/dist/collection/vendor/calcite-components/TJ6U6Y2A.js +0 -4
- package/dist/collection/vendor/calcite-components/TRXE64SN.js +0 -4
- package/dist/collection/vendor/calcite-components/TVXUNVVJ.js +0 -4
- package/dist/collection/vendor/calcite-components/TZPOTIWO.js +0 -4
- package/dist/collection/vendor/calcite-components/UKOMGWYV.js +0 -4
- package/dist/collection/vendor/calcite-components/ULI2WHN6.js +0 -4
- package/dist/collection/vendor/calcite-components/UPO2OA2C.js +0 -4
- package/dist/collection/vendor/calcite-components/V7QQRUYR.js +0 -4
- package/dist/collection/vendor/calcite-components/VA6SEF3H.js +0 -4
- package/dist/collection/vendor/calcite-components/VCGYS6AC.js +0 -4
- package/dist/collection/vendor/calcite-components/VHIVTMYL.js +0 -22
- package/dist/collection/vendor/calcite-components/VIFJTMJE.js +0 -4
- package/dist/collection/vendor/calcite-components/VKUXTBMA.js +0 -4
- package/dist/collection/vendor/calcite-components/VYBRMYZA.js +0 -4
- package/dist/collection/vendor/calcite-components/VYSYUSUT.js +0 -4
- package/dist/collection/vendor/calcite-components/WHQERKO3.js +0 -4
- package/dist/collection/vendor/calcite-components/WLKZ6TCC.js +0 -4
- package/dist/collection/vendor/calcite-components/WRRV2226.js +0 -4
- package/dist/collection/vendor/calcite-components/X5OT5VWP.js +0 -4
- package/dist/collection/vendor/calcite-components/X7WD2RXW.js +0 -4
- package/dist/collection/vendor/calcite-components/XGGCYCLU.js +0 -4
- package/dist/collection/vendor/calcite-components/XJUGTTYP.js +0 -4
- package/dist/collection/vendor/calcite-components/XK6ESUWM.js +0 -4
- package/dist/collection/vendor/calcite-components/XODNGXTR.js +0 -4
- package/dist/collection/vendor/calcite-components/XP22SQKN.js +0 -4
- package/dist/collection/vendor/calcite-components/XUCLKKAR.js +0 -4
- package/dist/collection/vendor/calcite-components/XWO5T62V.js +0 -4
- package/dist/collection/vendor/calcite-components/XY7DR573.js +0 -4
- package/dist/collection/vendor/calcite-components/Y4WWNYQO.js +0 -4
- package/dist/collection/vendor/calcite-components/YF3UCGCR.js +0 -4
- package/dist/collection/vendor/calcite-components/YH3WSHXS.js +0 -4
- package/dist/collection/vendor/calcite-components/YOI4NTGG.js +0 -4
- package/dist/collection/vendor/calcite-components/YP2GEKXK.js +0 -4
- package/dist/collection/vendor/calcite-components/YQDF2N5J.js +0 -4
- package/dist/collection/vendor/calcite-components/YRCGG4BE.js +0 -4
- package/dist/collection/vendor/calcite-components/YTSHEMU3.js +0 -4
- package/dist/collection/vendor/calcite-components/YUQIXR5A.js +0 -4
- package/dist/collection/vendor/calcite-components/ZAY3SU5H.js +0 -4
- package/dist/collection/vendor/calcite-components/ZFGK5MNZ.js +0 -4
- package/dist/collection/vendor/calcite-components/ZITAONDY.js +0 -4
- package/dist/collection/vendor/calcite-components/ZLW5U3G6.js +0 -4
- package/dist/collection/vendor/calcite-components/ZNMXPSOQ.js +0 -4
- package/dist/collection/vendor/calcite-components/ZSLV2NNR.js +0 -4
- package/dist/esm/asyncToGenerator-e51717ed.js +0 -88
- package/dist/esm/downloadUtils-d04d4095.js +0 -3217
- package/dist/esm/effects-602e7b51.js +0 -81
- package/dist/esm/helpers-520f100c.js +0 -841
- package/dist/esm/index.es-ca80d0c5.js +0 -11108
- package/dist/esm/languageSwitcher-ccdf79d4.js +0 -49
- package/dist/esm/languageUtil-2bac3910.js +0 -66
- package/dist/esm/loadModules-1b0b108c.js +0 -21
- package/dist/esm/locale-15e42305.js +0 -155
- package/dist/esm/locale-29d08ded.js +0 -938
- package/dist/esm/popupUtils-b71abb01.js +0 -119
- package/dist/esm/utils-89be1743.js +0 -142
- package/dist/solutions-components/p-0132213f.entry.js +0 -21
- package/dist/solutions-components/p-039ab075.js +0 -61
- package/dist/solutions-components/p-04277d48.entry.js +0 -6
- package/dist/solutions-components/p-04546ef6.js +0 -6
- package/dist/solutions-components/p-0607044f.js +0 -6
- package/dist/solutions-components/p-099379e6.entry.js +0 -6
- package/dist/solutions-components/p-0b1c830a.entry.js +0 -6
- package/dist/solutions-components/p-0ea99464.entry.js +0 -6
- package/dist/solutions-components/p-1054e10a.entry.js +0 -6
- package/dist/solutions-components/p-1adc6874.entry.js +0 -6
- package/dist/solutions-components/p-258aa58e.js +0 -21
- package/dist/solutions-components/p-29baf8a2.entry.js +0 -6
- package/dist/solutions-components/p-2a1ed83a.entry.js +0 -6
- package/dist/solutions-components/p-2a7f23fc.entry.js +0 -6
- package/dist/solutions-components/p-2cb8c175.entry.js +0 -6
- package/dist/solutions-components/p-2d3b8412.entry.js +0 -6
- package/dist/solutions-components/p-2d8300ba.entry.js +0 -6
- package/dist/solutions-components/p-3423b5ef.js +0 -6
- package/dist/solutions-components/p-34338938.entry.js +0 -6
- package/dist/solutions-components/p-36e3b39c.js +0 -488
- package/dist/solutions-components/p-37cc79c6.entry.js +0 -6
- package/dist/solutions-components/p-3f8b1062.entry.js +0 -6
- package/dist/solutions-components/p-436b869c.entry.js +0 -6
- package/dist/solutions-components/p-438fdc33.js +0 -6
- package/dist/solutions-components/p-4454af38.entry.js +0 -6
- package/dist/solutions-components/p-532ed572.entry.js +0 -6
- package/dist/solutions-components/p-59a1c5a9.entry.js +0 -6
- package/dist/solutions-components/p-6ac03d17.entry.js +0 -6
- package/dist/solutions-components/p-6e879de9.entry.js +0 -6
- package/dist/solutions-components/p-7bf7d67b.js +0 -6
- package/dist/solutions-components/p-86b6f918.entry.js +0 -6
- package/dist/solutions-components/p-8db12ee9.entry.js +0 -21
- package/dist/solutions-components/p-8f973b3d.js +0 -6
- package/dist/solutions-components/p-97abbf8f.entry.js +0 -6
- package/dist/solutions-components/p-a397e773.js +0 -36
- package/dist/solutions-components/p-b6a6fdcf.entry.js +0 -11
- package/dist/solutions-components/p-b8f29a99.entry.js +0 -6
- package/dist/solutions-components/p-ba472e45.entry.js +0 -6
- package/dist/solutions-components/p-c3aac15b.entry.js +0 -6
- package/dist/solutions-components/p-cd38fc53.js +0 -6
- package/dist/solutions-components/p-d45b0400.entry.js +0 -6
- package/dist/solutions-components/p-d885880a.entry.js +0 -6
- package/dist/solutions-components/p-da1e4ff1.entry.js +0 -6
- package/dist/solutions-components/p-dbf2c455.entry.js +0 -6
- package/dist/solutions-components/p-dda0aa41.entry.js +0 -6
- package/dist/solutions-components/p-e79b69e6.entry.js +0 -6
- package/dist/solutions-components/p-edfcce2c.entry.js +0 -6
- package/dist/solutions-components/p-f292f56e.entry.js +0 -6
- package/dist/solutions-components/p-f36b4778.entry.js +0 -6
- package/dist/solutions-components/p-f457e8be.entry.js +0 -6
- package/dist/solutions-components/p-f93a9d92.js +0 -6
- package/dist/solutions-components/p-f99a78f1.entry.js +0 -6
- package/dist/solutions-components/p-fdf0d66f.entry.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/2BGOXXHV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2EBGD5ZQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2HEEVITF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2QBRISAS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2SKIGCTJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2ZPEMPPG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/36DTW2EC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/36E6CTNX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/36HITQ3A.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3FJPBCHI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3TINKPLC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3TXD2SW4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/43C4CZJO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/44DZGTF5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4IWRJJPT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4L6L5YMT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4NZHY4FQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4OSJHPNQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4ZNEZOAP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4ZTXEQT4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/57U74PDQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5BEKT6RT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5JAMHCQS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5UP5TQJN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5VK77MGP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5ZFIOILW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/62G23PKY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6A464LBG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6KXUZBIZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6OCJIDQZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6PBZNCIY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6SREDGMN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/73K4GSAV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/757M5TSP.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/7F6EUEAO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7GOGBJPD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7PLD33LH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7TNMI44V.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7VZFYJY5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7XZR3QPX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/A3M4FM7N.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/A5WZ32T6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/A6H6UTO7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AA6WUYLQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ADRZSXZD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AKXBPGJ4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ALGCYGFE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/B3YKMJGM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/B6DZ4O5H.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/B747CT5Q.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/BAHKYVUM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BTHSKXWS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BWCV737I.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BZV465ZG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/C4A2PCZ4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/C5MKAGNV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CK3TASCY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/D2MINRBA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DDOM5RYZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DJ4JGNMM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DL75ZJBG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DO4RITGJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DSL2FNLA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DTEHSI7W.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DUTPXINY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DY22I2GZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DYN74HSB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/E3CWAGXE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/E3QBKOQQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EBFZRB3A.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ECGXAEDQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EGC7NBN5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EILXZAAH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EISHHIYI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EN6Y5YN5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ERDL4UCD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EYPFBUR7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/F6DYUGAJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FAQ7B73H.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FAULLEJY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FH7G4JPL.js +0 -28
- package/dist/solutions-components/vendor/calcite-components/FHAH57CK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FHGZNYTT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FLXOWNYW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FVABUFOH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G2JF63JV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G63OZT6W.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GESC7PRY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GIAH7CPN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GNZIY4A2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GPNKRGK6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GSUR5POR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GY22257T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/H2PEX7CU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/H2UMFA24.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/H7D6N2ZS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HALAA7KD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HHC7VSD3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HNGJKPNS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HQLH54Q4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HZLG5SUR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HZUKYZNP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IHBCPOXF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IIERNP6W.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ILJVRQHM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IQTGVLQG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IRW4MFB4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/J4KGM5S7.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/JCQBVDTR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JCZIZMKQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JE5DGAJR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JL7OLH3T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JTWLPIB2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/K53JENHF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/K5ODBKLP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KC4IYMUL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KE7WVOAV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KGJ4OJVP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KI2CJ7JL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KNE7ABCR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KOFGYSC5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KOH6G4XV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KRO7CG2Q.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KRZW2DWF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KSFXKRML.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KTJZCONU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KXJRCIPX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/L5DK3NJQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LEAJPPH4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LKNGKUUT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LLYFYC3S.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LLYVXFI4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LMPMNF4U.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LNUDHR7T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LRXQU7WR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MDS5OEJ4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MEXPAXRW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MI3K57KT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MIOMFK6B.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MJII73PP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MJIKLRLZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MQSDYLGW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MWJLXQ5U.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/N2PDJVSE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NERFG233.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NIUBMFXO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NK25FAZ6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NK4ED4IH.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/NOJTDKA6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NUY7EYNX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NWA7UYBI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NWNWCSUO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NYJ2KJKN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/O6RKIBH2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OP2QHRHR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/P5ZVYEQW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/P6BFNJVU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/P6VB45CQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PNTWJB75.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PTUZR2XV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QBNHVQWS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QD6WQCPN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QEBXFL3K.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QNRLRRZZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QTGKBVAW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QVLHSABE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RATZT6K7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RAWIO5CJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RC4M4Q6U.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ROTKUEC4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RRR3UCDP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RXJQR5VC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RYBJ6HQX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/S2CHZ5WW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/S5QILLXK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/S5WUGWLI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SLILJOTA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SZIQPAWB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/T2EFD7MK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TJ6U6Y2A.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TRXE64SN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TVXUNVVJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TZPOTIWO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UKOMGWYV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ULI2WHN6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UPO2OA2C.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/V7QQRUYR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VA6SEF3H.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VCGYS6AC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VHIVTMYL.js +0 -22
- package/dist/solutions-components/vendor/calcite-components/VIFJTMJE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VKUXTBMA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VYBRMYZA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VYSYUSUT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WHQERKO3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WLKZ6TCC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WRRV2226.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/X5OT5VWP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/X7WD2RXW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XGGCYCLU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XJUGTTYP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XK6ESUWM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XODNGXTR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XP22SQKN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XUCLKKAR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XWO5T62V.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XY7DR573.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Y4WWNYQO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YF3UCGCR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YH3WSHXS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YOI4NTGG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YP2GEKXK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YQDF2N5J.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YRCGG4BE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YTSHEMU3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YUQIXR5A.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZAY3SU5H.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZFGK5MNZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZITAONDY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZLW5U3G6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZNMXPSOQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZSLV2NNR.js +0 -4
- /package/dist/cjs/{esri-loader-1e8cc247.js → esri-loader-08dc41bd.js} +0 -0
- /package/dist/cjs/{typeof-eba0a941.js → typeof-2a7e2dec.js} +0 -0
- /package/dist/esm/{esri-loader-d10d860d.js → esri-loader-c6842c6b.js} +0 -0
- /package/dist/esm/{typeof-a3e780e1.js → typeof-ef2a007d.js} +0 -0
- /package/dist/solutions-components/{p-3b3f77bc.js → p-0a24ad5f.js} +0 -0
- /package/dist/solutions-components/{p-19bce2cc.js → p-4fe489cf.js} +0 -0
@@ -0,0 +1,6 @@
|
|
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 a}from"./p-e996c38f.js";import{g as h,l as o}from"./p-404cbf48.js";import{g as l,q as n,e as c,f as r,c as d}from"./p-dcd2f00b.js";import{d as p}from"./p-db3391b9.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const f=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":"",h=this.layer?.isTable,o=h?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(a,{key:"5557aa4d80b859335e38db3f4255f4a61d00560f"},e("div",{key:"6756e3314fc3444a982010a3cfa702d77f05f316",class:"overflow-auto height-full"},e("calcite-shell",{key:"715eb7ed692a1d00347d44f20df370cf9a91ded5",class:"position-relative "+t},e("div",{key:"baf4e97c1884f477e4077a6dc8e59d98c77593a4",class:"position-static z-index-500"},e("info-card",{key:"0b9b30182fbc3482e9edf49b79f68aec8cf86adc",enableEditGeometry:this.enableEditGeometry,graphics:this._graphics,isLoading:this._cardLoading,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,showCloseBtn:!0}))),e("calcite-shell",{key:"94b646061956a78dec4f96d9d1d9dedc5ad6aee7",class:"position-relative "+s},e("calcite-panel",{key:"00b660d474234f8156f3d4c627626f5891754051"},e("div",{key:"adb0732ff59c4fdedb19367a32ad9e3e060ddb60",class:"padding-1"},e("calcite-notice",{key:"a2c88bd4a0827111b0d1f3056ae571b47e5b380b",icon:this.selectingFeatureFromMap?"map":"table",iconFlipRtl:!0,open:!0},e("div",{key:"bffc2630de3f0376b6ea5827c89f65dc605a5356",slot:"message"},l))),!this.isMobile&&n&&e("calcite-button",{key:"08bef5c20d6b60e17abcfc9fc19d7d1eb5d04b1c",disabled:!this.layer,onClick:()=>this._createFeatureBtnClicked(),slot:"footer",width:"full"},h?this._translations.createRecord:this._translations.createFeature))),e("calcite-shell",{key:"833a8de60b491008006034c1696fcb29f1bb6a08",class:"position-relative "+i},e("calcite-flow-item",{key:"dd2ae4509e4bec5a90f33484f8a28f422c0eeee4"},e("calcite-panel",{key:"8fa68650f1933a88cdaf1fee8391cf433b7b54e9",heading:o},e("calcite-action",{key:"2b205887ff8703e01ef356cae09ce5d15dbec7c6",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:"0977a3974583266f6d90e18c8fbbc3e18f803983",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 h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};f.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 b=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.honorMapFieldSettings=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,this._queryingData=!1}get el(){return s(this)}FeatureTable;TableTemplate;_columnsInfo;_currentId;_editEnabled;_defaultFilterHonored=!1;_defaultGlobalIdHonored=!1;_defaultOidHonored=!1;_defaultVisibleToolSizeInfos;_definitionExpression;_deleteEnabled;_editor;_filterList;_floorExpression;_floorField;_floorFacility;_floorLevel;_floorSite;_layerExpressions;_loaded=!1;_mapClickHandle;_observerSet=!1;_previousCurrentId;reactiveUtils;_refreshHandle;_resizeObserver;_selectAllElement;_selectionFromMap=!1;_shareNode;_showHideDropdown;_moreDropdown;_table;_tableNode;_timeout;_toolbar;_toolbarSizeInfos;_searchExpression;_skipEditCheck=!1;_filterByExtentHandle;_tempSelectedIds;_outOFExtentOids=[];_shouldUpdateTableOnExtentChange=!0;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 closeFilter(){await this._closeFilter()}async filterReset(){this._filterByExtentHandle&&(this._table.filterGeometry=void 0,this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0),await this._handleFilterListReset()}async filterUpdate(t,i){await this._handleFilterUpdate(t),i?(this._shouldUpdateTableOnExtentChange=!0,this._handleTableOnMapExtent()):!1===i&&(this._table.filterGeometry=void 0,this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0,await this._updateAllIds())}async validateTableUpdate(t){this._shouldUpdateTableOnExtentChange=t}async validateActiveEdits(){return this._validateActiveEdits([],this.selectedIds)}async refresh(){this._table&&await this._refresh()}featureSelectionChange;toggleFilter;showDelete;async beforeMapInfoChange(t){const i=t.detail.ref,s=t.detail.mapInfo;if(this._hasPendingEdits()){t.preventDefault();const e=await this._validateActiveEdits([],this.selectedIds);await i.setMapByID(e?s.id:t.detail.currentId,!e)}}async editorInitialized(t){this._shouldUpdateTableOnExtentChange=!1,this._editor=t.detail}async closeEdit(){this._shouldUpdateTableOnExtentChange=!0,this._filterByExtentHandle&&this._handleTableOnMapExtent()}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 a;this.mapView.allLayerViews.toArray().some((t=>{if(t.layer.title===e.title&&"feature"===t.layer.type)return a=t,!0})),a&&await c([s],a,this.mapView,!0,void 0,this.zoomToScale)}}async beforeLayerSelectionChange(t){if(this._hasPendingEdits()){t.preventDefault();const i=t.detail.ref,s=await this._validateActiveEdits([],this.selectedIds);return t.detail.selectedIds?await i.setLayerByIds(s?t.detail.newIds:t.detail.currentIds,!0):await i.setLayerById(s?t.detail.newId:t.detail.currentId,!0)}}async layerSelectionChange(t){await this._layerSelectionChanged(t)}async editsComplete(t){const i=t.detail;"delete"!==i&&"add"!==i||(this._allIds=await this.queryAllIds()),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()}async noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&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._queryingData?"":"display-none",h=this._size.toString(),o=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",n=this._canShowFullTextSearch();return this._validateActiveActions(),e(a,{key:"a0a998de3a1b29c311a9fdfa87f3bd836481ba5a"},e("div",{key:"aafaf9f925ed7321e1ca7f15fc7db369212dc1dc"},e("calcite-scrim",{key:"86459aed994823dbf1d774aad01e8207a7df5f4f",class:s,loading:this._queryingData}),e("calcite-shell",{key:"b29896a197cba444d2ac377779670394e29ecaf6"},this._getTableControlRow("header"),e("div",{key:"0456651ac46f399eb04253387d7aae76995f4683",class:`width-full ${l}`},e("calcite-panel",{key:"9ba484159832fea630bbb653bc2fc4e99e602674",class:"height-full width-full"},n&&e("div",{key:"bd4b72db51f44c2954e893e8ef7ec2a30efc4c45",class:"search-container"},e("calcite-input",{key:"8811ff1dd71408fda37a0d7d2403671df24b5b7b",class:"search",clearable:!0,icon:"search",onCalciteInputChange:t=>{this._searchTextChanged(t)},placeholder:this._searchPlaceHolder,title:this._searchPlaceHolder,type:"search"})),e("calcite-loader",{key:"44a419089cf1e207f52ce19015c2870ce956e261",class:i,label:this._translations.fetchingData,scale:"l"}),e("div",{key:"096f4fc7f5cc9500e7982bbfaceb2fcc4c82a1dd",class:t,ref:this.onTableNodeCreate}))),this.isMobile?void 0:e("div",{class:"bottom-left text-color height-19"},this._translations.recordsSelected.replace("{{total}}",h).replace("{{selected}}",o))),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),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;if(this._showOnlySelected)t=this._tempSelectedIds,i=!0;else{if(!await this._validateActiveEdits([],this.selectedIds))return;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){return e("div",{class:"display-flex height-51-px border-bottom",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&&this._table?.columns?.length>0?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.hideColumn(i.label):this._table.showColumn(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,i.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))}))}_initToolInfos(){const t=this._featuresSelected(),i=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate&&!1,s=this._featuresEmpty();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},{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.createFilterModal?this._toggleFilter():this.toggleFilter.emit(),disabled:!1,isOverflow:!1},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:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:s,isOverflow:!1},{active:!1,icon:"compare",indicator:!1,func:async()=>await 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","map-picker","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,a)=>(s.indexOf(a.id)<0&&(i>t?i-=a.width:e.push(a)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let a=!1;const h=[...this._defaultVisibleToolSizeInfos].reduce(((h,o)=>(!a&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),h.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(a=!0),h)),[]);this._setControlsThatFit(h,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,a,h,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:a,loading:l,onClick:h,text:a,textEnabled:!0}),this._getToolTip("bottom",i,a))}_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,a){const h=void 0===this._layer||a;return e("div",{class:"display-flex",id:this._getId(t)},e("calcite-action",{appearance:"solid",disabled:h,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?.map((t=>parseInt(t.toString(),10))).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,attachmentsEnabled:!0,visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:i},container:t})})),await this._table.when((()=>{const t=this._table.highlightIds.on("change",(t=>{this._handleOnChange(t)}));this._table.viewModel.addHandles(t);const i=this.reactiveUtils.watch((()=>this._table.size),(t=>{this._size=t}));this._table.viewModel.addHandles(i)})))}async _handleOnChange(t){if(!await this._validateActiveEdits([...t.added],[...t.removed]))return;const i=[...this._getIds()];this.selectedIds=i.reverse(),this._tempSelectedIds=[...this.selectedIds],this._finishOnChange(),this._selectionFromMap=!1}async _validateActiveEdits(t,i){let s=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let e=!1;try{await this._editor.cancelWorkflow({force:!1})}catch(t){e="workflow:cancel-denied"===t.name}e&&(s=!1,this._skipEditCheck=!0,t.length>0?this._table.highlightIds.removeMany(t):i.length>0&&this._table.highlightIds.addMany(i))}}else s=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=s,s}_hasPendingEdits(){const t=this._editor?.viewModel?.hasPendingEdits,i=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return t||i}_finishOnChange(){this._showOnlySelected&&(this._featuresSelected()?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected()),this.featureSelectionChange.emit(this.selectedIds)}_resetColumnTemplates(){const t=this._getColumnTemplates(this._layer?.id,this._layer?.fields);0===t?.length?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");const i=this._table?.tableTemplate?.columnTemplates,s=i&&t&&i.length!==t.length||t?.some(((t,s)=>JSON.stringify(i[s])!==JSON.stringify(t)));if(this._table&&t&&(s||!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 this.queryAllIds(),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||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.objectIds.removeAll(),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._updateAllIds()}))}async _updateAllIds(){this._allIds=await this.queryAllIds(),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 r(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))}_filterModal(){return alert("_filterModal how does this one get hit??"),e("calcite-dialog",{class:"filter-content-space",heading:this._translations?.filter?.replace("{{title}}",this._layer?.title),id:"solutions-filter-dialog",kind:"brand",modal:!0,onCalciteDialogClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},e("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:()=>{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()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=this.reactiveUtils.when((()=>this.mapView.stationary),(async()=>{if(this._shouldUpdateTableOnExtentChange){await new Promise((t=>setTimeout(t,800))),this._table.filterGeometry=this.mapView.extent;const t={geometry:this.mapView.extent},i=await this._layer.queryObjectIds(t),s=this.selectedIds.filter((t=>!i.includes(t))),e=this._outOFExtentOids.filter((t=>i.includes(t)));s.length>0&&(this._table.highlightIds.removeMany(s),this._outOFExtentOids=[...this._outOFExtentOids,...s]),e.length>0&&(this._table.highlightIds.addMany(e),this._outOFExtentOids=this._outOFExtentOids.filter((t=>!e.includes(t))))}this._allIds=await this.queryAllIds()}),{initial:!0}))}async _closeFilter(){this._filterOpen&&(this._allIds=await this.queryAllIds(),this._filterOpen=!1)}async queryAllIds(){const t=this._layer.createQuery();return t.geometry=this._filterByExtentHandle?this.mapView.extent:null,t.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(t)}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.filterBySelectionEnabled=!0)):await this.clearSelection()}async _selectAll(){const t=this._allIds,i=t.filter((t=>this.selectedIds.indexOf(t)<0));await this._validateActiveEdits(i,this.selectedIds)?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table.filterBySelectionEnabled=this._showOnlySelected}_clearSelection(){this.selectedIds=[],this._outOFExtentOids=[],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}async _switchSelected(){const t=[...this.selectedIds],i=this._allIds.reduce(((i,s)=>(t.indexOf(s)<0&&i.push(s),i)),[]).sort(((t,i)=>t-i));await this._validateActiveEdits(i,t)?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(i),this.selectedIds=i,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){const t={},i=this._getIds();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 p(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._validateActiveEdits([],this.selectedIds)&&(await(this._table?.refresh()),this._allIds=await this.queryAllIds(),this.featureSelectionChange.emit(this.selectedIds))}async _zoom(){if(this._layer){const t=await d(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._shouldUpdateTableOnExtentChange=!0,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=this._layer?.attributeTableTemplate?.elements;let a=[];e?.length>0&&this.honorMapFieldSettings&&(a=e.map((t=>t.fieldName)));const h=s?.fields&&s?.fieldOrder?s.fieldOrder.filter((t=>s.fields.indexOf(t)>-1)):a.length>0?a:void 0;let o;return i&&(o=i.reduce(((t,i)=>{const e={type:"field",fieldName:i.name,label:i.alias,menuConfig:this._getMenuConfig(i.name)};return s&&s?.fields?s.fields.indexOf(i.name)>-1&&t.push(e):a.length>0?a.indexOf(i.name)>-1&&t.push(e):t.push(e),t}),[])),h?o?.sort(this._sortFields.bind(this,h)):o}_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 h(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 u(t){return function(t){return-1!==t?.indexOf("http://")}(t)?t.replace(/^http:\/\//,"https://"):t}b.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 m=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",h=this.mapInfos?.length>1||this.isMapLayout?"map-height":"height-full",o=this.isMapLayout?"":"display-none";return this._validateActiveActions(),e(a,{key:"a47f4ac21db985fb91ff3f5378594f60405f312c"},e("div",{key:"fdf76fd829a8e88725b43f8174a0d95fbf7a3dd1",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:"b5b672726b4a4c812c386faad2077135a1e1231c",class:o,value:0}),e("div",{key:"f815ef4dba45b53c0ec4a49fe12e741b3331ce51",class:`${h} ${i}`,ref:t=>this._mapDiv=t}),e("map-tools",{key:"8e2ed31f49d349786caa4827a473a8e70e6ae611",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 a=this._webMapInfo.id,h=i&&t?.id===this.defaultWebmapId;if(this._loadedId!==a&&!i||h){const t=new this.WebMap({portalItem:{id:a}});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=u(t.proxyUrl),i.portalItem&&i.portalItem.when((()=>{i.portalItem.url=u(t.proxyUrl)})),l.request?.interceptors?.push({urls:t.sourceUrl,before:i=>{i.url&&i.url===t.sourceUrl&&(i.url=u(t.proxyUrl))}}))}))})),o)),this.mapView=new this.MapView({container:this._mapDiv,map:t,resizeAlign:"center"}),this._loadedId=a,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=!!h||this._defaultWebmapHonored,this.mapChanged.emit({id:a,mapView:this.mapView})}))}else i?(this._defaultWebmapHonored=!0,this._mapPicker.setMapByID(a)):e&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:a,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,a)=>(s.indexOf(a.id)<0&&(i>t?i-=a.width:e.push(a)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let a=!1;const h=[...this._defaultVisibleToolSizeInfos].reduce(((h,o)=>(!a&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),h.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(a=!0),h)),[]);this._setControlsThatFit(h,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":"",a=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,id:"map-picker",isMapLayout:this.isMapLayout,locale:this.locale,mapInfos:this.mapInfos,ref:t=>this._mapPicker=t}),e("div",{class:`mapView-header display-flex ${a}`,id:"solutions-map-layer-picker-container"},e("div",{class:`border-end ${i} ${s}`},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 d(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,a,h,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:a,loading:l,onClick:h,text:a,textEnabled:!0}),this._getToolTip("bottom",i,a))}_getId(t){return`solutions-action-${t}`}async _getTranslations(){const t=await h(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"]}}};m.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{f as card_manager,b as layer_table,m as map_card}
|
@@ -0,0 +1,6 @@
|
|
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,h as i,H as e,g as n}from"./p-e996c38f.js";import{c as l}from"./p-8717729a.js";import{l as o}from"./p-08ad0b7a.js";import{g as r}from"./p-89fbc318.js";import{g as a}from"./p-2884ca49.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const{state:d,onChange:s}=l({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),u="time-slider-watch",v=new class{constructor(){this.initializeModules()}async initializeModules(){try{const[t,i,e,n,l,r,a]=await o(["esri/core/Handles","esri/core/reactiveUtils","esri/widgets/TimeSlider","esri/time/TimeExtent","esri/time/TimeInterval","esri/layers/support/FeatureFilter","esri/layers/support/FeatureEffect"]);this.reactiveUtils=i,this.handles=new t,this.TimeSlider=e,this.TimeExtent=n,this.TimeInterval=l,this.FeatureFilter=r,this.FeatureEffect=a}catch(t){}}async init(t){var i,e,n;t&&(t.innerHTML=""),"playing"===(null===(e=null===(i=null==d?void 0:d.timeSlider)||void 0===i?void 0:i.viewModel)||void 0===e?void 0:e.state)&&d.timeSlider.stop();const{view:l,timeInfoConfigItems:o}=d;if(l)try{if(await l.when(),1===o.length&&"map"===(null===(n=o[0])||void 0===n?void 0:n.type))this.initTimeSlider(t,o[0]);else{const i=await this.getTimeLayerViews(l,o);d.timeInfoItems=this.generateTimeInfoItems(i,o),this.initTimeSlider(t)}return Promise.resolve()}catch(t){}finally{this.setupFilterModeWatcher()}}destroy(){var t,i;null===(t=this.handles)||void 0===t||t.removeAll(),this.handles=null,null===(i=d.timeSlider)||void 0===i||i.destroy()}async getTimeLayerViews(t,i){const{allLayers:e}=t.map,n=i.map((({id:t})=>{return i=t,e.find((({id:t})=>i===t));var i})).map((i=>t.whenLayerView(i)));return await Promise.all(n)}generateTimeInfoItems(t,i){return[...i].map((i=>{const e=t.find((({layer:t})=>t.id===i.id));return this.generateTimeInfoItem(e,i)}))}generateTimeInfoItem(t,{increments:i,rangeStart:e,rangeEnd:n,timeIntervalValue:l}){var o;const r=null==t?void 0:t.layer,a=null===(o=null==r?void 0:r.timeInfo)||void 0===o?void 0:o.fullTimeExtent;return{layerView:t,unit:i,timeIntervalValue:null!=l?l:1,rangeStart:new Date(e),rangeEnd:new Date(n),timeExtent:a,previousTimeExtent:null}}initTimeSlider(t,i){var e,n;const{TimeSlider:l}=this,o=t=>{d.timeSlider=new l(t),d.autoPlay&&d.timeSlider.play()};if(i)o(this.getTimeSliderConfig(t,i));else{const i=null===(e=null==d?void 0:d.timeInfoItems)||void 0===e?void 0:e[0];if(!i)return;d.selectedTimeInfoItem=i,o(this.getTimeSliderConfig(t))}"2d"===(null===(n=d.view)||void 0===n?void 0:n.type)&&this.initialize2DView()}setupFilterModeWatcher(){s("filterMode",(t=>d.timeInfoItems.forEach((i=>{var e,n,l;const o=i.layerView;this.applyTimeExtent(o,(null===(n=null===(e=null==o?void 0:o.featureEffect)||void 0===e?void 0:e.filter)||void 0===n?void 0:n.timeExtent)||(null===(l=o.filter)||void 0===l?void 0:l.timeExtent),t)}))))}getTimeSliderConfig(t,i){var e,n,l,o,r,a,s,u;const{TimeExtent:v,TimeInterval:c}=this,h=Object.assign({container:t,mode:"time-window",view:"3d"===(null===(e=d.view)||void 0===e?void 0:e.type)?d.view:null},d.timeSliderConfig);if(i){const t=null===(o=null===(l=null===(n=d.view)||void 0===n?void 0:n.map)||void 0===l?void 0:l.widgets)||void 0===o?void 0:o.timeSlider,i=Object.assign(Object.assign({},h),{fullTimeExtent:null==t?void 0:t.fullTimeExtent,timeExtent:null==t?void 0:t.currentTimeExtent});return(null===(r=null==t?void 0:t.stopInterval)||void 0===r?void 0:r.unit)&&(null===(a=null==t?void 0:t.stopInterval)||void 0===a?void 0:a.value)&&(i.stops={interval:new c({unit:null===(s=null==t?void 0:t.stopInterval)||void 0===s?void 0:s.unit,value:null===(u=null==t?void 0:t.stopInterval)||void 0===u?void 0:u.value})}),i}{const[{timeExtent:t,rangeStart:i,rangeEnd:e,unit:n,timeIntervalValue:l}]=d.timeInfoItems;return Object.assign(Object.assign({},h),{fullTimeExtent:t,timeExtent:new v({start:i,end:e}),stops:{interval:new c({unit:n,value:l})}})}}initialize2DView(){d.timeInfoItems.forEach((t=>this.applyTimeExtent(t.layerView,new this.TimeExtent({start:t.rangeStart,end:t.rangeEnd})))),this.setupTimeExtentWatcher()}applyTimeExtent(t,i,e){var n;"effect"===(null===(n=d.filterMode)||void 0===n?void 0:n.type)?this.applyFeatureEffect(t,i,e):this.applyFeatureFilter(t,i)}applyFeatureEffect(t,i,e){var n;t&&(t.filter&&t.set("filter",null),(null==t?void 0:t.featureEffect)&&(null===(n=null==t?void 0:t.featureEffect)||void 0===n?void 0:n.filter)&&!e?t.featureEffect.filter.timeExtent=i:this.handleUpdatedFeatureEffect(t,i))}async handleUpdatedFeatureEffect(t,i){var e,n,l,o;const{FeatureEffect:a}=this;t.featureEffect=new a({filter:{timeExtent:i},includedEffect:await r(null===(n=null===(e=d.filterMode)||void 0===e?void 0:e.effect)||void 0===n?void 0:n.includedEffect,t,"includedEffect"),excludedEffect:await r(null===(o=null===(l=d.filterMode)||void 0===l?void 0:l.effect)||void 0===o?void 0:o.excludedEffect,t,"excludedEffect")})}applyFeatureFilter(t,i){t.featureEffect&&t.set("featureEffect",null),t.filter?t.filter.timeExtent=i:t.filter=new this.FeatureFilter({timeExtent:i})}setupTimeExtentWatcher(){var t,i,e,n;(null===(t=this.handles)||void 0===t?void 0:t.has(u))&&(null===(i=this.handles)||void 0===i||i.remove(u)),null===(e=this.handles)||void 0===e||e.add(null===(n=null==d?void 0:d.timeSlider)||void 0===n?void 0:n.watch("timeExtent",(t=>{var i;return this.applyTimeExtent(null===(i=d.selectedTimeInfoItem)||void 0===i?void 0:i.layerView,t)})),u)}updateSelectedTimeInfoItem(t){d.timeSlider&&(d.selectedTimeInfoItem&&(d.selectedTimeInfoItem.previousTimeExtent=d.timeSlider.timeExtent),d.selectedTimeInfoItem=t,this.reconfigureTimeSlider(t),this.applyTimeExtent(t.layerView,d.timeSlider.timeExtent),this.setupTimeExtentWatcher())}reconfigureTimeSlider(t){d.timeSlider&&(d.timeSlider.fullTimeExtent=t.timeExtent,d.timeSlider.timeExtent=this.getTimeExtent(t),d.timeSlider.stops={interval:this.getTimeInterval(t)})}getTimeExtent({rangeStart:t,rangeEnd:i,previousTimeExtent:e}){const{TimeExtent:n}=this;return null!=e?e:new n({start:t,end:i})}getTimeInterval(t){var i,e,n,l,o;const{TimeInterval:r}=this;return new r({unit:null!==(i=t.unit)&&void 0!==i?i:null===(o=null===(l=null===(n=null===(e=t.layerView)||void 0===e?void 0:e.layer)||void 0===n?void 0:n.timeInfo)||void 0===l?void 0:l.interval)||void 0===o?void 0:o.unit,value:1})}getLabel(t){var i,e;return(null===(e=null===(i=null==t?void 0:t.layerView)||void 0===i?void 0:i.layer)||void 0===e?void 0:e.title)||""}},c=class{constructor(i){t(this,i),this.timeSliderRef=void 0,this.timeInfoConfigItems=[],this.filterMode=void 0,this.view=void 0,this.timeSliderConfig=void 0,this.autoPlay=!1}async updateTimeInfoConfigItems(){d.timeInfoConfigItems=this.timeInfoConfigItems,await v.init(this.timeSliderRef)}async updateFilterMode(){d.filterMode=this.filterMode}async updateTimeSliderConfig(){d.timeSliderConfig=this.timeSliderConfig,await v.init(this.timeSliderRef)}async updateAutoPlay(){d.autoPlay=this.autoPlay,d.timeSlider&&(d.autoPlay?d.timeSlider.play():d.timeSlider.stop())}async componentWillLoad(){try{d.view=this.view,d.timeInfoConfigItems=this.timeInfoConfigItems,d.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(d.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(d.filterMode=this.filterMode),await a(this)}catch(t){}}async componentDidLoad(){try{await v.init(this.timeSliderRef)}catch(t){}finally{d.loading=!1}}disconnectedcallback(){v.destroy()}render(){return i(e,{key:"70cc1da4bf2334962b6034fe79383ae016e5738e"},this._renderBase())}_renderBase(){return i("div",{class:"instant-apps-time-filter"+("2d"!==this.view.type?" instant-apps-time-filter--3d":"")},this._renderLoader(),"2d"===this.view.type&&this._renderTopEl(),i("div",{key:"time-slider",ref:t=>this.timeSliderRef=t}))}_renderLoader(){var t,e;return d.loading&&i("div",null,i("div",{class:"instant-apps-time-filter__background"}),i("div",{class:"instant-apps-time-filter__loading-container"},i("calcite-loader",{scale:"m",label:null===(t=this.messages)||void 0===t?void 0:t.loading,text:null===(e=this.messages)||void 0===e?void 0:e.loading})))}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){var t,e,n;const l=null===(n=null===(e=null===(t=d.selectedTimeInfoItem)||void 0===t?void 0:t.layerView)||void 0===e?void 0:e.layer)||void 0===n?void 0:n.title;return i("span",{class:"instant-apps-time-filter__layer-title"},l)}_renderDropdown(){return d.selectedTimeInfoItem&&i("calcite-dropdown",null,this._renderDropdownButton(),this._renderDropdownItems())}_renderDropdownButton(){return i("calcite-button",{slot:"trigger",appearance:"transparent",iconEnd:"chevron-down",width:"full",alignment:"space-between"},v.getLabel(d.selectedTimeInfoItem))}_renderDropdownItems(){return d.timeInfoItems.map((t=>this._renderDropdownItem(t)))}_renderDropdownItem(t){var e,n,l,o,r;const a=null===(l=null===(n=null===(e=d.selectedTimeInfoItem)||void 0===e?void 0:e.layerView)||void 0===n?void 0:n.layer)||void 0===l?void 0:l.id,s=null===(r=null===(o=null==t?void 0:t.layerView)||void 0===o?void 0:o.layer)||void 0===r?void 0:r.id;return i("calcite-dropdown-item",{onCalciteDropdownItemSelect:()=>v.updateSelectedTimeInfoItem(t),selected:a===s},v.getLabel(t))}get el(){return n(this)}static get watchers(){return{timeInfoConfigItems:["updateTimeInfoConfigItems"],filterMode:["updateFilterMode"],timeSliderConfig:["updateTimeSliderConfig"],autoPlay:["updateAutoPlay"]}}};c.style=".instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand:var(--calcite-ui-text-1);--calcite-ui-brand:var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}";export{c as instant_apps_time_filter}
|
@@ -0,0 +1,6 @@
|
|
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,c as t,g as i,h as a,H as s}from"./p-e996c38f.js";import{s as l}from"./p-da1e098c.js";import{g as c}from"./p-404cbf48.js";import{n}from"./p-8850bd21.js";import{C as r,g as o}from"./p-80cb7c73.js";import"./p-8717729a.js";import"./p-4f236b5d.js";import"./p-d4056c1c.js";import"./p-570b13d9.js";import"./p-0668e30d.js";import"./p-0a24ad5f.js";const h=class{constructor(i){e(this,i),this.solutionItemSelected=t(this,"solutionItemSelected",7),this.selectedItemId=void 0,this.templateHierarchy=[]}get el(){return i(this)}valueWatchHandler(e,t){e&&e!==t&&Array.isArray(e)&&e.length>0&&this._treeItemSelected(e[0].id)}componentWillLoad(){this.valueWatchHandler(this.templateHierarchy,[])}render(){return a(s,{key:"cf80f637e998eda76162eb1cf3fe94dfb2aeae3e"},a("calcite-tree",{key:"3bb27819fff1f63b28ed70c360fe8f7a63619d3c"},this.renderHierarchy(this.templateHierarchy)))}renderHierarchy(e){return e.map((e=>{const t=this.selectedItemId&&this.selectedItemId===e.id;return e.dependencies&&e.dependencies.length>0?a("calcite-tree-item",{onClick:t=>this._treeItemSelected(e.id,t),selected:t},a("solution-item-icon",{type:e.type,typeKeywords:e.typeKeywords}),a("span",{class:"icon-text",title:e.title},e.title),a("calcite-tree",{slot:"children"},this.renderHierarchy(e.dependencies))):a("calcite-tree-item",{onClick:t=>this._treeItemSelected(e.id,t),selected:t},a("solution-item-icon",{type:e.type,typeKeywords:e.typeKeywords}),a("span",{class:"icon-text",title:e.title},e.title))}))}solutionItemSelected;_treeItemSelected(e,t){const i=t?.target?.closest("calcite-tree-item");i&&(i.expanded=!i?.expanded),this.selectedItemId=e,this.solutionItemSelected.emit(e)}static get assetsDirs(){return["item-type-icons"]}static get watchers(){return{templateHierarchy:["valueWatchHandler"]}}};h.style=".icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";const d=class{constructor(t){e(this,t),this.authentication=void 0,this.itemId="",this.locale=void 0,this.solutionVariables="",this.organizationVariables="",this.itemType=void 0,this._translations=void 0}get el(){return i(this)}itemIdWatchHandler(){const e=l.getItemInfo(this.itemId);this.itemType=e.type}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async componentWillLoad(){return this._getTranslations()}render(){return a(s,{key:"8213c164dbfc2f9d897bcd2dbb732d1029e7bc9a"},a("div",{key:"252091fa803626400a22295d6a9d148d207c84e6",class:"configuration-container"},a("div",{key:"b30bcfd2bec082f8248584749e6d98a2c9331bdf",class:"configuration"},this._showGroupTabs("Group"===this.itemType),this._showItemTabs("Group"!==this.itemType))))}_showGroupTabs(e){return a("calcite-tabs",{class:"config-tabs",style:{display:e?"inherit":"none"}},a("calcite-tab-nav",{slot:"tab-nav"},a("calcite-tab-title",null,this._translations.groupDetailsTab),a("calcite-tab-title",null,this._translations.sharingTab)),a("calcite-tab",{class:"config-tab",id:"group-tab",selected:!0},a("solution-item-details",{"item-id":this.itemId,locale:this.locale})),a("calcite-tab",{class:"config-tab",id:"share-tab"},a("solution-item-sharing",{"group-id":this.itemId,locale:this.locale})))}_showItemTabs(e){return a("calcite-tabs",{class:"config-tabs",style:{display:e?"inherit":"none"}},a("calcite-tab-nav",{slot:"tab-nav"},a("calcite-tab-title",null,this._translations.itemDetailsTab),a("calcite-tab-title",null,this._translations.dataTab),a("calcite-tab-title",null,this._translations.propertiesTab),a("calcite-tab-title",null,this._translations.resourcesTab)),a("calcite-tab",{class:"config-tab",selected:!0},a("solution-item-details",{"item-id":this.itemId,locale:this.locale})),a("calcite-tab",{class:"config-tab",id:"data-tab"},a("solution-template-data",{instanceid:"data","item-id":this.itemId,locale:this.locale,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),a("calcite-tab",{class:"config-tab",id:"props-tab"},a("solution-template-data",{instanceid:"properties","item-id":this.itemId,locale:this.locale,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),a("calcite-tab",{class:"config-tab",id:"resources-tab"},a("solution-resource-item",{authentication:this.authentication,class:"solutions-resource-container","item-id":this.itemId,locale:this.locale})))}async _getTranslations(){const e=await c(this.el);this._translations=e[0]}static get watchers(){return{itemId:["itemIdWatchHandler"],locale:["localeWatchHandler"]}}};d.style=".configuration-container{position:relative;height:100%;width:100%}.configuration{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:flex;padding:0.5rem;border:1px #808080 solid}.config-tabs{width:100%}.config-tab{width:100%;overflow-y:auto;height:inherit}";const f="3857",b=class{constructor(i){e(this,i),this.featureServiceSpatialReferenceChange=t(this,"featureServiceSpatialReferenceChange",7),this.enableDefaultSpatialReferenceChange=t(this,"enableDefaultSpatialReferenceChange",7),this.enabledSpatialReferenceChange=t(this,"enabledSpatialReferenceChange",7),this.enabled=!1,this.enableDefault=!1,this.featureServices=[],this.locale=void 0,this._translations=void 0}get el(){return i(this)}enabledChanged(){this._handleSpatialRefParamChange()}enableDefaultChanged(){this._handleDefaultSpatialRefParamChange()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}componentWillLoad(){return this._updateUIFromStore(),this._getTranslations()}render(){return this._updateUIFromStore(),a(s,{key:"7f273e4ac344e1ee0caf40e7d1b7f939ecabda20"},a("label",{key:"06de012379cbfc355a9ace954b1dffffa9ce8c83",class:"switch-label"},a("calcite-switch",{key:"81660a69b2ac46824e2b929e13362f5ab9260c54",checked:this.enabled,class:"spatial-ref-switch",onCalciteSwitchChange:e=>this.enabled=e.target.checked,scale:"m"}),this._translations.enableSpatialReference),a("br",{key:"361d2d822ddad721842b806e4ee1e04ff313a19b"}),a("div",{key:"a211f2f6f55191a9ae9b4e94eae7a998b7bc8e35",class:"spatial-ref-component",id:"spatialRefDefn"},this._renderFeatureServicesList(this.featureServices)),a("label",{key:"9fc52be401af098888688636168b6742e92ce939",class:"switch-label spatial-ref-component"},a("calcite-switch",{key:"138644a57bd5c159e9f7f219f8956f0ed1af5bf1",checked:this.enableDefault,class:"spatial-ref-switch",disabled:!this.enabled,onCalciteSwitchChange:e=>this.enableDefault=e.target.checked,scale:"m"}),this._translations.enableDefaultSpatialReference))}featureServiceSpatialReferenceChange;enableDefaultSpatialReferenceChange;enabledSpatialReferenceChange;solutionStoreHasChanges(){this.featureServices=l.getStoreInfo("featureServices")}async _testAccess(e,t,i,a){switch(e){case"_parameterizeWkid":return Promise.resolve(this._parameterizeWkid(t));case"_unparameterizeWkid":return Promise.resolve(this._unparameterizeWkid(t))}return Promise.resolve(null)}_clearFeatureServiceDefaults(e){n(this.el.getElementsByClassName("spatial-ref-item-switch")).forEach((e=>e.checked=!1)),e.forEach((e=>this._updateEnabledServices({detail:{switched:!1}},e)))}_handleDefaultSpatialRefParamChange(){this._updateStore(),this.enableDefaultSpatialReferenceChange.emit({defaultWkid:this.enableDefault?f:""})}_handleSpatialRefParamChange(){this.enabled||(this.enableDefault=!1,this._clearFeatureServiceDefaults(this.featureServices)),this._updateStore(),this.enabledSpatialReferenceChange.emit({enabled:this.enabled})}_parameterizeWkid(e){return e?e.toString().startsWith(r)?e:`${r}${e}${o}`:e}_renderFeatureServicesList(e){const t=l.getStoreInfo("spatialReferenceInfo"),i=e.filter((e=>Object.keys(t.services).some((t=>t===e.id))));return i.length>0?a("div",null,a("label",{class:"spatial-ref-item-title"},this._translations.featureServicesHeading),a("ul",{class:"spatial-ref-services-list"},i.map((e=>a("li",{class:"spatial-ref-services-list-item"},a("label",{class:"switch-label"},a("calcite-switch",{checked:t.services[e.id],class:"spatial-ref-item-switch",disabled:!this.enabled,onCalciteSwitchChange:t=>this._updateEnabledServices(t,e),scale:"m"}),e.name)))))):null}_updateEnabledServices(e,t){const i=l.getStoreInfo("spatialReferenceInfo");i.services[t.id]=void 0!==e.detail?.switched?e.detail.switched:void 0===e.target?.checked||e.target.checked,l.setStoreInfo("spatialReferenceInfo",i),this._updateStore(),this.featureServiceSpatialReferenceChange.emit(t)}_unparameterizeWkid(e){return e&&e.toString().startsWith(r)?e.substring(r.length,e.length-o.length):e}_updateFeatureServices(e){e.enabled||Object.keys(e.services).forEach((t=>{e.services[t]=!1})),this.featureServices.forEach((t=>{t.enabled=e.services[t.id],t.wkid=t.enabled?this._parameterizeWkid(t.wkid):this._unparameterizeWkid(t.wkid)})),l.setStoreInfo("featureServices",this.featureServices)}_updateStore(){const e=l.getStoreInfo("spatialReferenceInfo");e.enabled=this.enabled,this.enabled&&this.enableDefault?e.default=f:e.hasOwnProperty("default")&&delete e.default,l.setStoreInfo("spatialReferenceInfo",e),this._updateFeatureServices(e)}_updateUIFromStore(){const e=l.getStoreInfo("spatialReferenceInfo");this.enabled=e.enabled,this.enableDefault=!!e.default,this.featureServices=l.getStoreInfo("featureServices")}async _getTranslations(){const e=await c(this.el);this._translations=e[0]}static get watchers(){return{enabled:["enabledChanged"],enableDefault:["enableDefaultChanged"],locale:["localeWatchHandler"]}}};b.style=".spatial-ref-switch{margin-inline-end:0.5rem}.spatial-ref-component{margin-top:0.625rem;margin-inline-start:2.5rem}#spatialRefDefn .sc-calcite-label-h label.sc-calcite-label{margin:0px;background-color:#CBC3E3}.spatial-ref-item-title{margin-bottom:0.5rem;font-size:0.875rem;line-height:1.25rem}.spatial-ref-item-switch{margin-inline-end:0.5rem}.switch-label{font-size:0.875rem;line-height:1.25rem}.spatial-ref-services-list{margin-block-start:0.5em;margin-block-end:0.5em;list-style-type:none;padding-inline-start:2em}.spatial-ref-services-list-item{margin-top:0.25rem}";export{h as solution_contents,d as solution_item,b as solution_spatial_ref}
|
@@ -0,0 +1,11 @@
|
|
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 n,g as e,h as r,H as i}from"./p-e996c38f.js";import{g as o}from"./p-404cbf48.js";import{g as u,c as a}from"./p-d4056c1c.js";import{d as c,_ as s,a as f}from"./p-d65f8b73.js";import{_ as l,t as d}from"./p-4fe489cf.js";import{r as h,_ as v,g as p,u as w}from"./p-0668e30d.js";import"./p-0a24ad5f.js";const m={storage:{},memory:!0,get(t){let n;try{n=window.localStorage&&window.localStorage.getItem(t)||this.storage[t]}catch(e){n=this.storage[t]}if(n)try{return JSON.parse(n)}catch(t){return}},set(t,n){const e=JSON.stringify(n);try{window.localStorage.setItem(t,e)}catch(e){this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),this.storage[t]=n}},delete(t){try{window.localStorage.removeItem(t)}catch(n){this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),delete this.storage[t]}}},b="esri-telemetry";class y extends Error{}const g=["esri.com","esriuk.com","esri.de","esri.ca","esrifrance.fr","esri.nl","esri-portugal.pt","esribulgaria.com","esri.fi","esri.kr","esrimalaysia.com.my","esri.es","esriaustralia.com.au","esri-southafrica.com","esri.cl","esrichina.com.cn","esri.co","esriturkey.com.tr","geodata.no","esriitalia.it","esri.pl"];class j{constructor(t){var n,e,r;this.trackers=[],this.options=t,this.debug=t.debug,this.suppressDisabledWarnings=t.suppressDisabledWarnings,this.disabled=function(t={}){const{disabled:n,portal:e}=t;return!(!n&&!1!==(null==e?void 0:e.eueiEnabled)&&(!e||function(t){return t.eueiEnabled&&t.user&&t.user.orgId===t.id}(e)||function(t){return t.user&&!t.user.orgId&&"US"===t.ipCntryCode}(e)||function(t){return!t.user&&"US"===t.ipCntryCode}(e)))}(t),this.logger=t.logger||console,this.disabled&&!this.suppressDisabledWarnings&&this.logger.info("Telemetry Disabled");const i=(null===(n=t.portal)||void 0===n?void 0:n.user)||t.user;i&&this.setUser(i,null===(r=null===(e=t.portal)||void 0===e?void 0:e.subscriptionInfo)||void 0===r?void 0:r.type),this.disabled||this.initializeTrackers()}initializeTrackers(){this.options.plugins&&this.trackers.push(...this.options.plugins),this.trackers.length||this.logger.error(new Error("No trackers configured"))}getScriptTags(){return this.trackers.map((t=>t.getScriptTags&&t.getScriptTags())).join("")}async init(){const t=this.trackers.map((t=>t.init()));await Promise.all(t)}setUser(t={},n="Public"){let e;if(this.user=t="string"==typeof t?{username:t}:t,this.user.accountType=n,t.email&&t.email.split){const n=t.email.split("@")[1];e=g.filter((t=>n===t)).length>0}(e||["In House","Demo and Marketing"].indexOf(n)>-1)&&(this.user.internalUser=!0)}logPageView(t,n={},e={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Page view was not logged because telemetry is disabled."),!1;const r=this.trackers.filter((({disabled:t,hasError:n})=>!t&&!n));if(!r.length)return this.logger.warn("Page view was not logged because no enabled telemetry-plugins are registered."),!1;const i=this.preProcess(n,e);this.debug&&this.logger.info("Tracking page view",JSON.stringify(i));const o=r.map((n=>n.logPageView(t,i)));return Promise.all(o).then(),!0}logEvent(t,n={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Event was not logged because telemetry is disabled."),!1;const e=this.trackers.filter((({disabled:t,hasError:n})=>!t&&!n));if(!e.length)return this.logger.warn("Event was not logged because no enabled telemetry-plugins are registered."),!1;const r=this.preProcess(t,n);this.debug&&this.logger.info("Tracking event",JSON.stringify(r));const i=e.map((t=>t.logEvent(r)));return Promise.all(i).then(),!0}logError(t={}){t=Object.assign({eventType:"error"},t),this.logEvent(t)}startWorkflow(t,n={}){const e={name:t,start:Date.now(),steps:[],workflowId:Math.floor(17592186044416*(1+Math.random())).toString(16)};this.saveWorkflow(e);const r=Object.assign({name:t,step:"start"},n);return this.logWorkflow(r),e}stepWorkflow(t,n,e={}){const r=Object.assign({name:t,step:n,details:"string"==typeof e?e:e.details},e);this.logWorkflow(r)}endWorkflow(t,n={}){const e=Object.assign({name:t,step:"finish"},n);this.logWorkflow(e)}cancelWorkflow(t,n={}){const e=Object.assign({name:t,step:"cancel"},n);this.logWorkflow(e)}getWorkflow(t){const n=m.get(`TELEMETRY-WORKFLOW:${t}`);if(n){if(Date.now()-n.start<18e5)return n;this.deleteWorkflow(n)}}saveWorkflow(t){m.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){m.delete(`TELEMETRY-WORKFLOW:${t.name}`)}logWorkflow(t={}){t=this.preProcess(t);let n=this.getWorkflow(t.name);n||(this.startWorkflow(t.name),n=this.getWorkflow(t.name)),n.steps.push(t.step),n.duration=(Date.now()-n.start)/1e3,["cancel","finish"].indexOf(t.step)>-1?this.deleteWorkflow(n):this.saveWorkflow(n);const e=Object.assign(t,{eventType:"workflow",category:t.name,action:t.step,label:t.details,duration:n.duration,workflowId:n.workflowId});this.logEvent(e)}preProcess(t={},n={}){let e={};return this.user&&(e={user:"unknown",org:"unknown",lastLogin:this.user.lastLogin,userSince:this.user.created,internalUser:this.user.internalUser||!1,accountType:this.user.accountType}),Object.entries(Object.assign(Object.assign({},t),e)).reduce((r=n.omitComplexData,i=this.logger,function(t,[n,e]){return function(t){return["string","number","boolean","undefined"].includes(typeof t)||t&&"string"==typeof t.valueOf()}(e)?t[n]=e:r||(i.warn(`You are trying to log a non-primitive value, ${n}:${JSON.stringify(e)}. This will get logged as [object Object]`),t[n]=e),t}),{});var r,i}disableTracker(t){var n;const e=this.trackers.find((({name:n})=>n===t));e&&!e.hasError&&(e.disabled=!0,null===(n=e.disable)||void 0===n||n.call(e))}enableTracker(t){var n;const e=this.trackers.find((({name:n})=>n===t));e&&!e.hasError&&(e.disabled=!1,null===(n=e.enable)||void 0===n||n.call(e))}}function O(t,n){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)n.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(e[r[i]]=t[r[i]])}return e}"function"==typeof SuppressedError&&SuppressedError;class S{constructor(t){var n;if(this.name="googleAnalytics",this.dimensions={},this.metrics={},"undefined"!=typeof window&&!(null===(n=null==t?void 0:t.measurementIds)||void 0===n?void 0:n.length))throw new Error("at least one measurementId needs to be provided in your configuration");Object.assign(this,t)}_getScripts(){return[{dataAttribute:"google-analytics",async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${this.measurementIds?this.measurementIds[0]:""}`}]}getScriptTags(){return this._getScripts().map((t=>{const n=[];return["src","id","dataAttribute","type"].forEach((e=>{let r=e;"dataAttribute"===e&&(r="data-esri-telemetry"),t[e]&&n.push(`${r}="${t[e]}"`)})),["async","defer"].forEach((e=>{t[e]&&n.push(`${e}`)})),`<script ${n.join(" ")}>${t.body?t.body:""}<\/script>`})).join("")}async init(){if("undefined"==typeof window)throw new y("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map((t=>{return n=t,new Promise(((t,e)=>{n.onload=t,n.onerror=e;const r=function(t){const{body:n,src:e,id:r,dataAttribute:i,section:o="body",type:u="text/javascript",async:a=!1,defer:c=!1,onload:s,onerror:f}=t;if("undefined"==typeof window)throw new y("Window is undefined: Cannot add script element.");if(function(t){const{id:n,dataAttribute:e}=t;return!!document.getElementById(n)||!!document.querySelector(`[data-${b}="${e}"]`)}(t))return void console.log(`script (${r||i}) is already present, skipping`);const l=function({id:t,dataAttribute:n,type:e,async:r,defer:i,body:o,src:u,onload:a,onerror:c}){const s=document.createElement("script");return t&&(s.id=t),n&&s.setAttribute(`data-${b}`,n),u&&(s.src=u),o&&(s.innerText=o),s.type=e,s.async=r,s.defer=i,a&&(s.onload=a),c&&(s.onerror=c),s}({id:r,dataAttribute:i,type:u,async:a,defer:c,body:n,src:e,onload:s,onerror:f});return"body"===o?document.body.appendChild(l):document.head.appendChild(l)}(n);r&&!n.body||t()}));var n}))),this.injectConfig()}logPageView(t,n={}){const e=this.buildCustomParams(n),r=Object.assign({page_title:t||window.location.pathname},e);return window.gtag("event","page_view",r),!0}logEvent(t){let{action:n}=t,e=O(t,["action"]);const r=n||"other",i=this.buildCustomParams(e);return window.gtag("event",r,i),!0}disable(){this.measurementIds&&this.measurementIds.forEach((t=>{window[`ga-disable-${t}`]=!0}))}enable(){this.measurementIds&&this.measurementIds.forEach((t=>{window[`ga-disable-${t}`]=void 0}))}injectConfig(){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date);const t={custom_map:this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),send_page_view:!1,anonymize_ip:!0};this.measurementIds.forEach((n=>{window.gtag("config",n,t)}))}buildCustomParams(t){let n,{category:e,label:r}=t;return n=this.verifyCustomDimensionAndMetrics(t),e&&(n=Object.assign(Object.assign({},n),{event_category:e})),r&&(n=Object.assign(Object.assign({},n),{event_label:r})),n}verifyCustomDimensionAndMetrics(t){const n=this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),e=Object.values(n);return Object.keys(t).filter((t=>e.includes(t))).reduce(((n,e)=>Object.assign(n,{[e]:t[e]})),{})}createDimensionsAndMetricsCustomMap(t={},n={}){const e=this.createMetricCustomMap(n),r=this.createDimensionCustomMap(t);return Object.assign(Object.assign({},e),r)}createMetricCustomMap(t={}){return Object.keys(t).map((function(n){return{key:`metric${t[n]}`,value:n}})).filter((t=>t)).reduce(((t,{key:n,value:e})=>(t[n]=e,t)),{})}createDimensionCustomMap(t={}){return Object.keys(t).map((function(n){return{key:`dimension${t[n]}`,value:n}})).filter((t=>t)).reduce(((t,{key:n,value:e})=>(t[n]=e,t)),{})}}const k="TELEMETRY_COGNITO_CREDENTIALS";function E({telemetryData:t,dimensionLookup:n={},excludeKeys:e=[]}){return Object.keys(t).filter((t=>!e.includes(t))).map((e=>n[e]?{key:I(n,e),value:t[e]}:{key:e,value:A(t,e)})).reduce(((t,{key:n,value:e})=>(t[n]=e,t)),{})}function A(t,n){return"json"===n?t[n]?JSON.stringify(t[n]):"null":void 0===t[n]?"null":t[n].toString()}function I(t,n){return`dimension${t[n]}`}const x=["size","duration","position","number","count"];function T(t,n={}){return Object.keys(t).filter((t=>n[t]||x.includes(t))).map((e=>n[e]?{key:N(n,e),value:t[e]}:{key:e,value:t[e]})).reduce(((t,{key:n,value:e})=>(t[n]=e,t)),{})}function N(t,n){return`metric${t[n]}`}var _={exports:function(t,n,e,r,i){for(n=n.split?n.split("."):n,r=0;r<n.length;r++)t=t?t[n[r]]:i;return t===i?e:t}};const P=_.exports;"undefined"==typeof process||process;var M="undefined"!=typeof document;function C(t,n){return n.charAt(0)[t]()+n.slice(1)}"undefined"!=typeof Deno&&Deno,M&&"nodejs"===window.name||"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var D=C.bind(null,"toUpperCase"),L=C.bind(null,"toLowerCase");function z(t,n){void 0===n&&(n=!0);var e=function(t){return W(t)?D("null"):"object"==typeof t?function(t){return U(t.constructor)?t.constructor.name:null}(t):Object.prototype.toString.call(t).slice(8,-1)}(t);return n?L(e):e}function $(t,n){return typeof n===t}var U=$.bind(null,"function"),R=$.bind(null,"string");function W(t){return null===t}function H(t,n){if("object"!=typeof n||W(n))return!1;if(n instanceof t)return!0;var e=z(new t(""));if(function(t){return t instanceof Error||R(t.message)&&t.constructor&&function(t){return"number"===z(t)&&!isNaN(t)}(t.constructor.stackTraceLimit)}(n))for(;n;){if(z(n)===e)return!0;n=Object.getPrototypeOf(n)}return!1}function q(t,n){var e=t instanceof Element||t instanceof HTMLDocument;return e&&n?function(t,n){return void 0===n&&(n=""),t&&t.nodeName===n.toUpperCase()}(t,n):e}function V(t){var n=[].slice.call(arguments,1);return function(){return t.apply(void 0,[].slice.call(arguments).concat(n))}}function F(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(t){return null}}function G(t,n,e){for(var r=n.length-1,i=0;i<r;++i){var o=n[i];if("__proto__"===o||"constructor"===o)break;o in t||(t[o]={}),t=t[o]}t[n[r]]=e}function J(){for(var t="",n=0,e=4294967295*Math.random()|0;n++<36;){var r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[n-1],i=15&e;t+="-"==r||"4"==r?r:("x"==r?i:3&i|8).toString(16),e=n%8==0?4294967295*Math.random()|0:e>>4}return t}$.bind(null,"undefined"),$.bind(null,"boolean"),$.bind(null,"symbol"),H.bind(null,TypeError),H.bind(null,SyntaxError),V(q,"form"),V(q,"button"),V(q,"input"),V(q,"select");var X="undefined",K="object";"undefined"==typeof process||process;var B="undefined"!=typeof document;function Y(t,n){return n.charAt(0)[t]()+n.slice(1)}"undefined"!=typeof Deno&&Deno,B&&"nodejs"===window.name||"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var Z=Y.bind(null,"toUpperCase"),Q=Y.bind(null,"toLowerCase");function tt(t,n){void 0===n&&(n=!0);var e=function(t){return it(t)?Z("null"):"object"==typeof t?function(t){return et(t.constructor)?t.constructor.name:null}(t):Object.prototype.toString.call(t).slice(8,-1)}(t);return n?Q(e):e}function nt(t,n){return typeof n===t}var et=nt.bind(null,"function"),rt=nt.bind(null,"string");function it(t){return null===t}function ot(t,n){if("object"!=typeof n||it(n))return!1;if(n instanceof t)return!0;var e=tt(new t(""));if(function(t){return t instanceof Error||rt(t.message)&&t.constructor&&function(t){return"number"===tt(t)&&!isNaN(t)}(t.constructor.stackTraceLimit)}(n))for(;n;){if(tt(n)===e)return!0;n=Object.getPrototypeOf(n)}return!1}function ut(t,n){var e=t instanceof Element||t instanceof HTMLDocument;return e&&n?function(t,n){return void 0===n&&(n=""),t&&t.nodeName===n.toUpperCase()}(t,n):e}function at(t){var n=[].slice.call(arguments,1);return function(){return t.apply(void 0,[].slice.call(arguments).concat(n))}}nt.bind(null,"undefined"),nt.bind(null,"boolean"),nt.bind(null,"symbol"),ot.bind(null,TypeError),ot.bind(null,SyntaxError),at(ut,"form"),at(ut,"button"),at(ut,"input"),at(ut,"select");var ct="global",st="__global__",ft=typeof self===K&&self.self===self&&self||typeof global===K&&global.global===global&&global||void 0;function lt(t){return ft[st][t]}function dt(t,n){return ft[st][t]=n}function ht(t){delete ft[st][t]}function vt(t,n,e){var r;try{if(wt(t)){var i=window[t];r=i[n].bind(i)}}catch(t){}return r||e}ft[st]||(ft[st]={});var pt={};function wt(t){if(typeof pt[t]!==X)return pt[t];try{var n=window[t];n.setItem(X,X),n.removeItem(X)}catch(n){return pt[t]=!1}return pt[t]=!0}"undefined"==typeof process||process;var mt="undefined"!=typeof window;function bt(t,n){return typeof n===t}"undefined"!=typeof Deno&&Deno,mt&&"nodejs"===window.name||"undefined"!=typeof navigator&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var yt=bt.bind(null,"function"),gt=bt.bind(null,"string");bt.bind(null,"undefined");var jt=bt.bind(null,"boolean");function Ot(t){if(!function(t){return t&&("object"==typeof t||null!==t)}(t))return!1;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(t)===n}function St(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function kt(t,n){if(t){if("string"==typeof t)return St(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?St(t,n):void 0}}function Et(t){return function(t){if(Array.isArray(t))return St(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||kt(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function At(t){return At="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},At(t)}function It(t,n,e,r,i,o,u){try{var a=t[o](u),c=a.value}catch(t){return void e(t)}a.done?n(c):Promise.resolve(c).then(r,i)}function xt(t){return function(){var n=this,e=arguments;return new Promise((function(r,i){var o=t.apply(n,e);function u(t){It(o,r,i,u,a,"next",t)}function a(t){It(o,r,i,u,a,"throw",t)}u(void 0)}))}}function Tt(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function Nt(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function _t(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Nt(Object(e),!0).forEach((function(n){Tt(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Nt(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var Pt={};!function(){var t=function(t){var n,e=Object.prototype,r=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function c(t,n,e){return Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{c({},"")}catch(t){c=function(t,n,e){return t[n]=e}}function s(t,n,e,r){var i=Object.create((n&&n.prototype instanceof w?n:w).prototype),o=new x(r||[]);return i._invoke=function(t,n,e){var r=l;return function(i,o){if(r===h)throw new Error("Generator is already running");if(r===v){if("throw"===i)throw o;return N()}for(e.method=i,e.arg=o;;){var u=e.delegate;if(u){var a=E(u,e);if(a){if(a===p)continue;return a}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(r===l)throw r=v,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);r=h;var c=f(t,n,e);if("normal"===c.type){if(r=e.done?v:d,c.arg===p)continue;return{value:c.arg,done:e.done}}"throw"===c.type&&(r=v,e.method="throw",e.arg=c.arg)}}}(t,e,o),i}function f(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l="suspendedStart",d="suspendedYield",h="executing",v="completed",p={};function w(){}function m(){}function b(){}var y={};c(y,o,(function(){return this}));var g=Object.getPrototypeOf,j=g&&g(g(T([])));j&&j!==e&&r.call(j,o)&&(y=j);var O=b.prototype=w.prototype=Object.create(y);function S(t){["next","throw","return"].forEach((function(n){c(t,n,(function(t){return this._invoke(n,t)}))}))}function k(t,n){function e(i,o,u,a){var c=f(t[i],t,o);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?n.resolve(l.__await).then((function(t){e("next",t,u,a)}),(function(t){e("throw",t,u,a)})):n.resolve(l).then((function(t){s.value=t,u(s)}),(function(t){return e("throw",t,u,a)}))}a(c.arg)}var i;this._invoke=function(t,r){function o(){return new n((function(n,i){e(t,r,n,i)}))}return i=i?i.then(o,o):o()}}function E(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,E(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var i=f(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,p;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,p):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function A(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function I(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,u=function e(){for(;++i<t.length;)if(r.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=n,e.done=!0,e};return u.next=u}}return{next:N}}function N(){return{value:n,done:!0}}return m.prototype=b,c(O,"constructor",b),c(b,"constructor",m),m.displayName=c(b,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===m||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,a,"GeneratorFunction")),t.prototype=Object.create(O),t},t.awrap=function(t){return{__await:t}},S(k.prototype),c(k.prototype,u,(function(){return this})),t.AsyncIterator=k,t.async=function(n,e,r,i,o){void 0===o&&(o=Promise);var u=new k(s(n,e,r,i),o);return t.isGeneratorFunction(e)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},S(O),c(O,a,"Generator"),c(O,o,(function(){return this})),c(O,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var n=[];for(var e in t)n.push(e);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(I),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(r,i){return a.type="throw",a.arg=t,e.next=r,i&&(e.method="next",e.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var u=this.tryEntries[o],a=u.completion;if("root"===u.tryLoc)return i("end");if(u.tryLoc<=this.prev){var c=r.call(u,"catchLoc"),s=r.call(u,"finallyLoc");if(c&&s){if(this.prev<u.catchLoc)return i(u.catchLoc,!0);if(this.prev<u.finallyLoc)return i(u.finallyLoc)}else if(c){if(this.prev<u.catchLoc)return i(u.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return i(u.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var u=o?o.completion:{};return u.type=t,u.arg=n,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(u)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),p},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),I(e),p}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var i=r.arg;I(e)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),p}},t}(Pt);try{regeneratorRuntime=t}catch(n){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}();var Mt=Pt,Ct="function",Dt="undefined",Lt="reducer",zt="@@redux/",$t=zt+"INIT",Ut=zt+Math.random().toString(36),Rt=function(){return("undefined"==typeof Symbol?"undefined":At(Symbol))===Ct&&Symbol.observable||"@@observable"}(),Wt=" != "+Ct;function Ht(t,n,e){if(At(n)===Ct&&At(e)===Dt&&(e=n,n=void 0),At(e)!==Dt){if(At(e)!==Ct)throw new Error("enhancer"+Wt);return e(Ht)(t,n)}if(At(t)!==Ct)throw new Error(Lt+Wt);var r=t,i=n,o=[],u=o,a=!1;function c(){u===o&&(u=o.slice())}function s(){return i}function f(t){if(At(t)!==Ct)throw new Error("Listener"+Wt);var n=!0;return c(),u.push(t),function(){if(n){n=!1,c();var e=u.indexOf(t);u.splice(e,1)}}}function l(t){if(!Ot(t))throw new Error("Act != obj");if(At(t.type)===Dt)throw new Error("ActType "+Dt);if(a)throw new Error("Dispatch in "+Lt);try{a=!0,i=r(i,t)}finally{a=!1}for(var n=o=u,e=0;e<n.length;e++)(0,n[e])();return t}return l({type:$t}),Tt({dispatch:l,subscribe:f,getState:s,replaceReducer:function(t){if(At(t)!==Ct)throw new Error("next "+Lt+Wt);r=t,l({type:$t})}},Rt,(function(){var t=f;return Tt({subscribe:function(n){if("object"!==At(n))throw new TypeError("Observer != obj");function e(){n.next&&n.next(s())}return e(),{unsubscribe:t(e)}}},Rt,(function(){return this}))}))}function qt(t,n){var e=n&&n.type;return"action "+(e&&e.toString()||"?")+Lt+" "+t+" returns "+Dt}function Vt(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return 0===n.length?function(t){return t}:1===n.length?n[0]:n.reduce((function(t,n){return function(){return t(n.apply(void 0,arguments))}}))}function Ft(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return function(t){return function(e,r,i){var o,u=t(e,r,i),a=u.dispatch,c={getState:u.getState,dispatch:function(t){return a(t)}};return o=n.map((function(t){return t(c)})),a=Vt.apply(void 0,Et(o))(u.dispatch),_t(_t({},u),{},{dispatch:a})}}}var Gt="__anon_id",Jt="__user_id",Xt="__user_traits",Kt="analytics",Bt="userId",Yt="anonymousId",Zt=["bootstrap","params","campaign","initializeStart","initialize","initializeEnd","ready","resetStart","reset","resetEnd","pageStart","page","pageEnd","pageAborted","trackStart","track","trackEnd","trackAborted","identifyStart","identify","identifyEnd","identifyAborted","userIdChanged","registerPlugins","enablePlugin","disablePlugin","online","offline","setItemStart","setItem","setItemEnd","setItemAborted","removeItemStart","removeItem","removeItemEnd","removeItemAborted"],Qt=["name","EVENTS","config","loaded"],tn=Zt.reduce((function(t,n){return t[n]=n,t}),{registerPluginType:function(t){return"registerPlugin:".concat(t)},pluginReadyType:function(t){return"ready:".concat(t)}}),nn=/^utm_/,en=/^an_prop_/,rn=/^an_trait_/;function on(t){var n=t.storage.setItem;return function(e){return function(r){return function(i){if(i.type===tn.bootstrap){var o=i.params,u=i.user,a=i.persistedUser,c=i.initialUser,s=a.userId===u.userId;a.anonymousId!==u.anonymousId&&n(Gt,u.anonymousId),s||n(Jt,u.userId),c.traits&&n(Xt,_t(_t({},s&&a.traits?a.traits:{}),c.traits));var f=Object.keys(i.params);if(f.length){var l=o.an_uid,d=o.an_event,h=f.reduce((function(t,n){if(n.match(nn)||n.match(/^(d|g)clid/)){var e=n.replace(nn,"");t.campaign["campaign"===e?"name":e]=o[n]}return n.match(en)&&(t.props[n.replace(en,"")]=o[n]),n.match(rn)&&(t.traits[n.replace(rn,"")]=o[n]),t}),{campaign:{},props:{},traits:{}});e.dispatch(_t(_t({type:tn.params,raw:o},h),l?{userId:l}:{})),l&&setTimeout((function(){return t.identify(l,h.traits)}),0),d&&setTimeout((function(){return t.track(d,h.props)}),0),Object.keys(h.campaign).length&&e.dispatch({type:tn.campaign,campaign:h.campaign})}}return r(i)}}}}function un(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.type===tn.setItemEnd){if(e.key===Gt)return _t(_t({},n),{anonymousId:e.value});if(e.key===Jt)return _t(_t({},n),{userId:e.value})}switch(e.type){case tn.identify:return Object.assign({},n,{userId:e.userId,traits:_t(_t({},n.traits),e.traits)});case tn.reset:return[Jt,Gt,Xt].forEach((function(n){t.removeItem(n)})),Object.assign({},n,{userId:null,anonymousId:null,traits:{}});default:return n}}}function an(t){return{userId:t.getItem(Jt),anonymousId:t.getItem(Gt),traits:t.getItem(Xt)}}var cn=function(t){return"__TEMP__"+t};function sn(t){var n=t.storage,e=n.setItem,r=n.removeItem,i=n.getItem;return function(t){return function(n){return function(o){var u=o.userId,a=o.traits,c=o.options;if(o.type===tn.reset&&([Jt,Xt,Gt].forEach((function(t){r(t)})),[Bt,Yt,"traits"].forEach((function(t){ht(cn(t))}))),o.type===tn.identify){i(Gt)||e(Gt,J());var s=i(Jt),f=i(Xt)||{};s&&s!==u&&t.dispatch({type:tn.userIdChanged,old:{userId:s,traits:f},new:{userId:u,traits:a},options:c}),u&&e(Jt,u),a&&e(Xt,_t(_t({},f),a))}return n(o)}}}}var fn={};function ln(t,n){fn[t]&&yt(fn[t])&&(fn[t](n),delete fn[t])}function dn(t,n,e){return new Promise((function(r,i){return n()?r(t):e<1?i(_t(_t({},t),{},{queue:!0})):new Promise((function(t){return setTimeout(t,10)})).then((function(){return dn(t,n,e-10).then(r,i)}))}))}function hn(t,n,e){var r=n(),i=t.getState(),o=i.plugins,u=i.queue,a=i.user;if(!i.context.offline&&u&&u.actions&&u.actions.length){var c=u.actions.reduce((function(t,n,e){return o[n.plugin].loaded?(t.process.push(n),t.processIndex.push(e)):(t.requeue.push(n),t.requeueIndex.push(e)),t}),{processIndex:[],process:[],requeue:[],requeueIndex:[]});if(c.processIndex&&c.processIndex.length){c.processIndex.forEach((function(n){var i=u.actions[n],c=i.plugin,s=i.payload.type,f=r[c][s];if(f&&yt(f)){var l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return[Bt,Yt].reduce((function(e,r){return t.hasOwnProperty(r)&&n[r]&&n[r]!==t[r]&&(e[r]=n[r]),e}),t)}(i.payload,a);f({payload:l,config:o[c].config,instance:e});var d="".concat(s,":").concat(c);t.dispatch(_t(_t({},l),{},{type:d,_:{called:d,from:"queueDrain"}}))}}));var s=u.actions.filter((function(t,n){return!~c.processIndex.indexOf(n)}));u.actions=s}}}function vn(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(t).filter((function(t){var r=e.plugins||{};return jt(r[t])?r[t]:!1!==r.all&&(!n[t]||!1!==n[t].enabled)})).map((function(n){return t[n]}))}var pn=/Start$/,wn=/^bootstrap/,mn=/^ready/;function bn(t,n,e,r,i){return yn.apply(this,arguments)}function yn(){return yn=xt(Mt.mark((function t(n,e,r,i,o){var u,a,c,s,f,l,d,h,v,p,w;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(u=yt(e)?e():e,c=(a=n.type).replace(pn,""),!n._||!n._.called){t.next=5;break}return t.abrupt("return",n);case 5:return s=r.getState(),f=vn(u,s.plugins,n.options),a===tn.initializeStart&&n.fromEnable&&(f=Object.keys(s.plugins).filter((function(t){var e=s.plugins[t];return n.plugins.includes(t)&&!e.initialized})).map((function(t){return u[t]}))),l=f.map((function(t){return t.name})),d=An(a,f),t.next=12,gn({action:n,data:{exact:d.before,namespaced:d.beforeNS},state:s,allPlugins:u,allMatches:d,instance:r,store:i,EVENTS:o});case 12:if(!xn(h=t.sent,l.length)){t.next=15;break}return t.abrupt("return",h);case 15:if(a!==c){t.next=19;break}v=h,t.next=22;break;case 19:return t.next=21,gn({action:_t(_t({},h),{},{type:c}),data:{exact:d.during,namespaced:d.duringNS},state:s,allPlugins:u,allMatches:d,instance:r,store:i,EVENTS:o});case 21:v=t.sent;case 22:if(!a.match(pn)){t.next=28;break}return p="".concat(c,"End"),t.next=26,gn({action:_t(_t({},v),{},{type:p}),data:{exact:d.after,namespaced:d.afterNS},state:s,allPlugins:u,allMatches:d,instance:r,store:i,EVENTS:o});case 26:(w=t.sent).meta&&w.meta.hasCallback&&ln(w.meta.rid,{payload:w});case 28:return t.abrupt("return",h);case 29:case"end":return t.stop()}}),t)}))),yn.apply(this,arguments)}function gn(t){return jn.apply(this,arguments)}function jn(){return jn=xt(Mt.mark((function t(n){var e,r,i,o,u,a,c,s,f,l,d,h,v,p,w,m,b,y;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.data,i=n.instance,u=n.allPlugins,a=n.allMatches,c=n.store,s=n.EVENTS,f=(o=n.state).plugins,l=o.context,h=(d=(r=n.action).type).match(pn),v=e.exact.map((function(t){return t.pluginName})),h&&(v=a.during.map((function(t){return t.pluginName}))),p=_n(i,v),w=e.exact.reduce((function(t,n){var e=n.pluginName,r=n.methodName,i=!1;return r.match(/^initialize/)||r.match(/^reset/)||(i=!f[e].loaded),l.offline&&r.match(/^(page|track|identify)/)&&(i=!0),t["".concat(e)]=i,t}),{}),t.next=10,e.exact.reduce(function(){var t=xt(Mt.mark((function t(n,o){var a,c;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=o.pluginName,t.next=3,n;case 3:if(c=t.sent,!e.namespaced||!e.namespaced[a]){t.next=11;break}return t.next=7,e.namespaced[a].reduce(function(){var t=xt(Mt.mark((function t(n,e){var r,o,c,s;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=function(t,n,e){return function(r,i){var o=e||n;return _t(_t({},t),{},{abort:{reason:r,plugins:i||[n],caller:d,from:o}})}},t.next=3,n;case 3:if(r=t.sent,e.method&&yt(e.method)){t.next=6;break}return t.abrupt("return",r);case 6:return Pn(e.methodName,e.pluginName),t.next=9,e.method({payload:r,instance:i,abort:o(r,a,e.pluginName),config:Sn(e.pluginName,f,u),plugins:f});case 9:return s=Ot(c=t.sent)?c:{},t.abrupt("return",Promise.resolve(_t(_t({},r),s)));case 12:case"end":return t.stop()}}),t)})));return function(n,e,r){return t.apply(this,arguments)}}(),Promise.resolve(r));case 7:c[a]=t.sent,t.next=12;break;case 11:c[a]=r;case 12:return t.abrupt("return",Promise.resolve(c));case 13:case"end":return t.stop()}}),t)})));return function(n,e,r){return t.apply(this,arguments)}}(),Promise.resolve({}));case 10:return m=t.sent,t.next=13,e.exact.reduce(function(){var t=xt(Mt.mark((function t(n,r,o){var a,s,l,v,b,y,g,j,O,S,k;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.exact.length===o+1,l=u[s=r.pluginName],t.next=5,n;case 5:if(v=t.sent,b=m[s]?m[s]:{},h&&(b=v),!In(b,s)){t.next=11;break}return On({data:b,method:d,instance:i,pluginName:s,store:c}),t.abrupt("return",Promise.resolve(v));case 11:if(!In(v,s)){t.next=14;break}return a&&On({data:v,method:d,instance:i,store:c}),t.abrupt("return",Promise.resolve(v));case 14:if(!w.hasOwnProperty(s)||!0!==w[s]){t.next=17;break}return c.dispatch({type:"queue",plugin:s,payload:b,_:{called:"queue",from:"queueMechanism"}}),t.abrupt("return",Promise.resolve(v));case 17:return y=p(m[s],u[s]),t.next=20,l[d]({abort:y.abort,payload:b,instance:i,config:Sn(s,f,u),plugins:f});case 20:return j=Ot(g=t.sent)?g:{},O=_t(_t({},v),j),In(S=m[s],s)?On({data:S,method:d,instance:i,pluginName:s,store:c}):((k="".concat(d,":").concat(s)).match(/:/g)||[]).length<2&&!d.match(wn)&&!d.match(mn)&&i.dispatch(_t(_t({},h?O:b),{},{type:k,_:{called:k,from:"submethod"}})),t.abrupt("return",Promise.resolve(O));case 26:case"end":return t.stop()}}),t)})));return function(n,e,r){return t.apply(this,arguments)}}(),Promise.resolve(r));case 13:if(b=t.sent,d.match(pn)||d.match(/^registerPlugin/)||d.match(mn)||d.match(wn)||d.match(/^params/)||d.match(/^userIdChanged/)){t.next=21;break}if(s.plugins.includes(d),!b._||b._.originalAction!==d){t.next=18;break}return t.abrupt("return",b);case 18:y=_t(_t({},b),{_:{originalAction:b.type,called:b.type,from:"engineEnd"}}),xn(b,e.exact.length)&&!d.match(/End$/)&&(y=_t(_t({},y),{type:b.type+"Aborted"})),c.dispatch(y);case 21:return t.abrupt("return",b);case 22:case"end":return t.stop()}}),t)}))),jn.apply(this,arguments)}function On(t){var n=t.pluginName,e=t.method+"Aborted"+(n?":"+n:"");t.store.dispatch(_t(_t({},t.data),{},{type:e,_:{called:e,from:"abort"}}))}function Sn(t,n,e){var r=n[t]||e[t];return r&&r.config?r.config:{}}function kn(t,n){return n.reduce((function(n,e){return e[t]?n.concat({methodName:t,pluginName:e.name,method:e[t]}):n}),[])}function En(t,n){var e=t.replace(pn,""),r=n?":".concat(n):"";return["".concat(t).concat(r),"".concat(e).concat(r),"".concat(e,"End").concat(r)]}function An(t,n){var e=En(t).map((function(t){return kn(t,n)}));return n.reduce((function(e,r){var i=r.name,o=function(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o=[],u=!0,a=!1;try{for(e=e.call(t);!(u=(r=e.next()).done)&&(o.push(r.value),!n||o.length!==n);u=!0);}catch(t){a=!0,i=t}finally{try{u||null==e.return||e.return()}finally{if(a)throw i}}return o}}(t,n)||kt(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(En(t,i).map((function(t){return kn(t,n)})),3),u=o[0],a=o[1],c=o[2];return u.length&&(e.beforeNS[i]=u),a.length&&(e.duringNS[i]=a),c.length&&(e.afterNS[i]=c),e}),{before:e[0],beforeNS:{},during:e[1],duringNS:{},after:e[2],afterNS:{}})}function In(t,n){var e=t.abort;return!!e&&(!0===e||Nn(e,n)||e&&Nn(e.plugins,n))}function xn(t,n){var e=t.abort;if(!e)return!1;if(!0===e||gt(e))return!0;var r=e.plugins;return Tn(e)&&e.length===n||Tn(r)&&r.length===n}function Tn(t){return Array.isArray(t)}function Nn(t,n){return!(!t||!Tn(t))&&t.includes(n)}function _n(t,n){return function(e,r,i){var o=r.config,u=r.name,a="".concat(u,".").concat(e.type);i&&(a=i.event);var c=e.type.match(pn)?function(t,n,e,r,i){return function(o,u){var a=r?r.name:t,c=u&&Tn(u)?u:e;if(r&&(!(c=u&&Tn(u)?u:[t]).includes(t)||1!==c.length))throw new Error("Method ".concat(n," can only abort ").concat(t," plugin. ").concat(JSON.stringify(c)," input valid"));return _t(_t({},i),{},{abort:{reason:o,plugins:c,caller:n,_:a}})}}(u,a,n,i,e):function(t,n){return function(){throw new Error(t.type+" action not cancellable. Remove abort in "+n)}}(e,a);return{payload:Cn(e),instance:t,config:o||{},abort:c}}}function Pn(t,n){var e=Mn(t);if(e&&e.name===n){var r=Mn(e.method),i=r?"or "+r.method:"";throw new Error([n+" plugin is calling method "+t,"Plugins cant call self","Use ".concat(e.method," ").concat(i," in ").concat(n," plugin insteadof ").concat(t)].join("\n"))}}function Mn(t){var n=t.match(/(.*):(.*)/);return!!n&&{method:n[1],name:n[2]}}function Cn(t){return Object.keys(t).reduce((function(n,e){return"type"===e||(n[e]=Ot(t[e])?Object.assign({},t[e]):t[e]),n}),{})}function Dn(t,n,e){var r={};return function(i){return function(o){return function(){var u=xt(Mt.mark((function u(a){var c,s,f,l,d,h,v,p,w,m;return Mt.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:if(c=a.type,s=a.plugins,f=a,!a.abort){u.next=4;break}return u.abrupt("return",o(a));case 4:if(c===tn.enablePlugin&&i.dispatch({type:tn.initializeStart,plugins:s,disabled:[],fromEnable:!0,meta:a.meta}),c===tn.disablePlugin&&setTimeout((function(){return ln(a.meta.rid,{payload:a})}),0),c===tn.initializeEnd&&(l=n(),d=Object.keys(l),h=d.filter((function(t){return s.includes(t)})).map((function(t){return l[t]})),v=[],p=[],w=a.disabled,m=h.map((function(t){var n=t.name;return dn(t,t.loaded,1e4).then((function(){return r[n]||(i.dispatch({type:tn.pluginReadyType(n),name:n,events:Object.keys(t).filter((function(t){return!Qt.includes(t)}))}),r[n]=!0),v=v.concat(n),t})).catch((function(t){if(t instanceof Error)throw new Error(t);return p=p.concat(t.name),t}))})),Promise.all(m).then((function(){var t={plugins:v,failed:p,disabled:w};setTimeout((function(){d.length===m.length+w.length&&i.dispatch(_t(_t({},{type:tn.ready}),t))}),0)}))),c===tn.bootstrap){u.next=13;break}return/^ready:([^:]*)$/.test(c)&&setTimeout((function(){return hn(i,n,t)}),0),u.next=11,bn(a,n,t,i,e);case 11:return u.abrupt("return",o(u.sent));case 13:return u.abrupt("return",o(f));case 14:case"end":return u.stop()}}),u)})));return function(t){return u.apply(this,arguments)}}()}}}function Ln(t){return function(){return function(n){return function(e){var r=e.type,i=e.key,o=e.value,u=e.options;if(r===tn.setItem||r===tn.removeItem){if(e.abort)return n(e);r===tn.setItem?t.setItem(i,o,u):t.removeItem(i,u)}return n(e)}}}}function zn(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function $n(t,n,e){return n&&zn(t.prototype,n),e&&zn(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}var Un=$n((function t(){var n=this;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),Tt(this,"before",[]),Tt(this,"after",[]),Tt(this,"addMiddleware",(function(t,e){n[e]=n[e].concat(t)})),Tt(this,"removeMiddleware",(function(t,e){var r=n[e].findIndex((function(n){return n===t}));-1!==r&&(n[e]=[].concat(Et(n[e].slice(0,r)),Et(n[e].slice(r+1))))})),Tt(this,"dynamicMiddlewares",(function(t){return function(e){return function(r){return function(i){var o={getState:e.getState,dispatch:function(t){return e.dispatch(t)}},u=n[t].map((function(t){return t(o)}));return Vt.apply(void 0,Et(u))(r)(i)}}}}))}));function Rn(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r={};if("initialize:aborted"===e.type)return n;if(/^registerPlugin:([^:]*)$/.test(e.type)){var i=Wn(e.type,"registerPlugin"),o=t()[i];if(!o||!i)return n;var u=e.enabled;return r[i]={enabled:u,initialized:!!u&&Boolean(!o.initialize),loaded:!!u&&Boolean(o.loaded()),config:o.config||{}},_t(_t({},n),r)}if(/^initialize:([^:]*)$/.test(e.type)){var a=Wn(e.type,tn.initialize),c=t()[a];return c&&a?(r[a]=_t(_t({},n[a]),{initialized:!0,loaded:Boolean(c.loaded())}),_t(_t({},n),r)):n}if(/^ready:([^:]*)$/.test(e.type))return r[e.name]=_t(_t({},n[e.name]),{loaded:!0}),_t(_t({},n),r);switch(e.type){case tn.disablePlugin:return _t(_t({},n),Hn(e.plugins,!1,n));case tn.enablePlugin:return _t(_t({},n),Hn(e.plugins,!0,n));default:return n}}}function Wn(t,n){return t.substring(n.length+1,t.length)}function Hn(t,n,e){return t.reduce((function(t,r){return t[r]=_t(_t({},e[r]),{enabled:n}),t}),e)}function qn(t){try{return JSON.parse(JSON.stringify(t))}catch(t){}return t}var Vn={last:{},history:[]};function Fn(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Vn,n=arguments.length>1?arguments[1]:void 0,e=n.options,r=n.meta;if(n.type===tn.track){var i=qn(_t(_t({event:n.event,properties:n.properties},Object.keys(e).length&&{options:e}),{},{meta:r}));return _t(_t({},t),{last:i,history:t.history.concat(i)})}return t}var Gn={actions:[]};function Jn(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Gn,n=arguments.length>1?arguments[1]:void 0,e=n.payload;switch(n.type){case"queue":var r;return r=e&&e.type&&e.type===tn.identify?[n].concat(t.actions):t.actions.concat(n),_t(_t({},t),{},{actions:r});case"dequeue":return[];default:return t}}var Xn=/#.*$/;function Kn(t){var n=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g.exec(t);return"/"+(n&&n[3]?n[3].split("?")[0].replace(Xn,""):"")}var Bn,Yn,Zn,Qn,te=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!mt)return t;var n=document,e=n.title,r=n.referrer,i=window,o=i.location,u=i.innerWidth,a=i.innerHeight,c=o.hash,s=o.search,f=function(t){var n=function(){if(mt)for(var t,n=document.getElementsByTagName("link"),e=0;t=n[e];e++)if("canonical"===t.getAttribute("rel"))return t.getAttribute("href")}();return n?n.match(/\?/)?n:n+t:window.location.href.replace(Xn,"")}(s),l={title:e,url:f,path:Kn(f),hash:c,search:s,width:u,height:a};return r&&""!==r&&(l.referrer=r),_t(_t({},l),t)},ne={last:{},history:[]};function ee(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ne,n=arguments.length>1?arguments[1]:void 0,e=n.options;if(n.type===tn.page){var r=qn(_t({properties:n.properties,meta:n.meta},Object.keys(e).length&&{options:e}));return _t(_t({},t),{last:r,history:t.history.concat(r)})}return t}Bn=function(){if(!mt)return!1;var t=navigator.appVersion;return~t.indexOf("Win")?"Windows":~t.indexOf("Mac")?"MacOS":~t.indexOf("X11")?"UNIX":~t.indexOf("Linux")?"Linux":"Unknown OS"}(),Yn=mt?document.referrer:null,Zn=function(){if(M){var t=navigator,n=t.languages;return t.userLanguage||(n&&n.length?n[0]:t.language)}}(),Qn=function(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(t){}}();var re={initialized:!1,sessionId:J(),app:null,version:null,debug:!1,offline:!!mt&&!navigator.onLine,os:{name:Bn},userAgent:mt?navigator.userAgent:"node",library:{name:Kt,version:"0.10.22"},timezone:Qn,locale:Zn,campaign:{},referrer:Yn};function ie(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re,n=arguments.length>1?arguments[1]:void 0,e=t.initialized,r=n.campaign;switch(n.type){case tn.campaign:return _t(_t({},t),{campaign:r});case tn.offline:return _t(_t({},t),{offline:!0});case tn.online:return _t(_t({},t),{offline:!1});default:return e?t:_t(_t(_t({},re),t),{initialized:!0})}}var oe=["plugins","reducers","storage"];function ue(t,n,e){if(mt){var r=window[(e?"add":"remove")+"EventListener"];t.split(" ").forEach((function(t){r(t,n)}))}}function ae(t){var n=ue.bind(null,"online offline",(function(){return Promise.resolve(!navigator.onLine).then(t)}));return n(!0),function(){return n(!1)}}function ce(){return dt(Kt,[]),function(t){return function(n,e,r){var i=t(n,e,r),o=i.dispatch;return Object.assign(i,{dispatch:function(t){return ft[st][Kt].push(t.action||t),o(t)}})}}}function se(){return function(){return Vt(Vt.apply(null,arguments),ce())}}function fe(t){return t?function(t){return"[object Array]"===Object.prototype.toString.call(t)}(t)?t:[t]:[]}function le(){var t,n,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,o=J();return r&&(fn[o]=(t=r,n=function(t){for(var n,e=t||Array.prototype.slice.call(arguments),r=0;r<e.length;r++)if(yt(e[r])){n=e[r];break}return n}(i),function(e){n&&n(e),t(e)})),_t(_t({},e),{},{rid:o,ts:(new Date).getTime()},r?{hasCallback:!0}:{})}function de(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.reducers||{},e=t.initialUser||{},r=(t.plugins||[]).reduce((function(t,n){if(yt(n))return t.middlewares=t.middlewares.concat(n),t;if(n.NAMESPACE&&(n.name=n.NAMESPACE),!n.name)throw new Error("https://lytics.dev/errors/1");var e=n.EVENTS?Object.keys(n.EVENTS).map((function(t){return n.EVENTS[t]})):[];t.pluginEnabled[n.name]=!(!1===n.enabled||n.config&&!1===n.config.enabled),delete n.enabled,n.methods&&(t.methods[n.name]=Object.keys(n.methods).reduce((function(t,e){var r;return t[e]=(r=n.methods[e],function(){for(var t=Array.prototype.slice.call(arguments),n=new Array(r.length),e=0;e<t.length;e++)n[e]=t[e];return n[n.length]=S,r.apply({instance:S},n)}),t}),{}),delete n.methods);var r=Object.keys(n).concat(e),i=new Set(t.events.concat(r));if(t.events=Array.from(i),t.pluginsArray=t.pluginsArray.concat(n),t.plugins[n.name])throw new Error(n.name+"AlreadyLoaded");return t.plugins[n.name]=n,t.plugins[n.name].loaded||(t.plugins[n.name].loaded=function(){return!0}),t}),{plugins:{},pluginEnabled:{},methods:{},pluginsArray:[],middlewares:[],events:[]}),i=t.storage?t.storage:{getItem:lt,setItem:dt,removeItem:ht},o=function(t){return function(n,e,r){return e.getState("user")[n]||(r&&Ot(r)&&r[n]?r[n]:an(t)[n]||lt(cn(n))||null)}}(i),u=r.plugins,a=r.events.filter((function(t){return!Qt.includes(t)})).sort(),c=new Set(a.concat(Zt).filter((function(t){return!Qt.includes(t)}))),s=Array.from(c).sort(),f=function(){return u},l=new Un,d=l.addMiddleware,h=l.removeMiddleware,v=l.dynamicMiddlewares,p=function(){throw new Error("Abort disabled inListener")},w=function(t){for(var n,e=Object.create(null),r=/([^&=]+)=?([^&]*)/g;n=r.exec(t);){var i=F(n[1]),o=F(n[2]);if(i)if("[]"===i.substring(i.length-2)){var u=e[i=i.substring(0,i.length-2)]||(e[i]=[]);e[i]=Array.isArray(u)?u:[],e[i].push(o)}else e[i]=""===o||o}for(var a in e){var c=a.split("[");c.length>1&&(G(e,c.map((function(t){return t.replace(/[?[\]\\ ]/g,"")})),e[a]),delete e[a])}return e}(function(t){if(t){var n=t.match(/\?(.*)/);return n&&n[1]?n[1].split("#")[0]:""}return M&&window.location.search.substring(1)}(void 0)),m=an(i),b=_t(_t(_t(_t({},m),e),w.an_uid?{userId:w.an_uid}:{}),w.an_aid?{anonymousId:w.an_aid}:{});b.anonymousId||(b.anonymousId=J());var y,g,j,O=_t({enable:function(t,n){return new Promise((function(e){D.dispatch({type:tn.enablePlugin,plugins:fe(t),_:{originalAction:tn.enablePlugin}},e,[n])}))},disable:function(t,n){return new Promise((function(e){D.dispatch({type:tn.disablePlugin,plugins:fe(t),_:{originalAction:tn.disablePlugin}},e,[n])}))}},r.methods),S={identify:(j=xt(Mt.mark((function t(n,e,r,i){var u,a,c,s,f;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return u=gt(n)?n:null,a=Ot(n)?n:e,c=r||{},s=S.user(),dt(cn(Bt),u),f=u||a.userId||o(Bt,S,a),t.abrupt("return",new Promise((function(t){D.dispatch(_t({type:tn.identifyStart,userId:f,traits:a||{},options:c,anonymousId:s.anonymousId},s.id&&s.id!==u&&{previousId:s.id}),t,[e,r,i])})));case 7:case"end":return t.stop()}}),t)}))),function(t,n,e,r){return j.apply(this,arguments)}),track:(g=xt(Mt.mark((function t(n,e,r,i){var u,a,c;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((u=Ot(n)?n.event:n)&>(u)){t.next=3;break}throw new Error("EventMissing");case 3:return a=Ot(n)?n:e||{},c=Ot(r)?r:{},t.abrupt("return",new Promise((function(t){D.dispatch({type:tn.trackStart,event:u,properties:a,options:c,userId:o(Bt,S,e),anonymousId:o(Yt,S,e)},t,[e,r,i])})));case 6:case"end":return t.stop()}}),t)}))),function(t,n,e,r){return g.apply(this,arguments)}),page:(y=xt(Mt.mark((function t(n,e,r){var i,u;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=Ot(n)?n:{},u=Ot(e)?e:{},t.abrupt("return",new Promise((function(t){D.dispatch({type:tn.pageStart,properties:te(i),options:u,userId:o(Bt,S,i),anonymousId:o(Yt,S,i)},t,[n,e,r])})));case 3:case"end":return t.stop()}}),t)}))),function(t,n,e){return y.apply(this,arguments)}),user:function(t){if(t===Bt||"id"===t)return o(Bt,S);if(t===Yt||"anonId"===t)return o(Yt,S);var n=S.getState("user");return t?P(n,t):n},reset:function(t){return new Promise((function(n){D.dispatch({type:tn.resetStart},n,t)}))},ready:function(t){return S.on(tn.ready,t)},on:function(t,n){if(!t||!yt(n))return!1;if(t===tn.bootstrap)throw new Error(".on disabled for "+t);var e=/Start$|Start:/;if("*"===t){var r=function(){return function(t){return function(r){return r.type.match(e)&&n({payload:r,instance:S,plugins:u}),t(r)}}},i=function(){return function(t){return function(r){return r.type.match(e)||n({payload:r,instance:S,plugins:u}),t(r)}}};return d(r,he),d(i,ve),function(){h(r,he),h(i,ve)}}var o=t.match(e)?he:ve,a=function(){return function(e){return function(r){return r.type===t&&n({payload:r,instance:S,plugins:u,abort:p}),e(r)}}};return d(a,o),function(){return h(a,o)}},once:function(t,n){if(!t||!yt(n))return!1;if(t===tn.bootstrap)throw new Error(".once disabled for "+t);var e=S.on(t,(function(t){n({payload:t.payload,instance:S,plugins:u,abort:p}),e()}));return e},getState:function(t){var n=D.getState();return t?P(n,t):Object.assign({},n)},dispatch:function(t){var n=gt(t)?{type:t}:t;if(Zt.includes(n.type))throw new Error("reserved action "+n.type);var e=t._||{},r=_t(_t({},n),{},{_:_t({originalAction:n.type},e)});D.dispatch(r)},enablePlugin:O.enable,disablePlugin:O.disable,plugins:O,storage:{getItem:i.getItem,setItem:function(t,n,e){D.dispatch({type:tn.setItemStart,key:t,value:n,options:e})},removeItem:function(t,n){D.dispatch({type:tn.removeItemStart,key:t,options:n})}},setAnonymousId:function(t,n){S.storage.setItem(Gt,t,n)},events:{all:s,core:Zt,plugins:a}},k=r.middlewares.concat([function(){return function(t){return function(n){return n.meta||(n.meta=le()),t(n)}}},v(he),Dn(S,f,{all:s,plugins:a}),Ln(i),on(S),sn(S),v(ve)]),E={context:ie,user:un(i),page:ee,track:Fn,plugins:Rn(f),queue:Jn},A=Vt,I=Vt;if(mt&&t.debug){var x=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;x&&(A=x({trace:!0,traceLimit:25})),I=function(){return 0===arguments.length?ce():Ot(At(arguments[0]))?se():se().apply(null,arguments)}}var T,N=function(t){return Object.keys(t).reduce((function(n,e){return oe.includes(e)||(n[e]=t[e]),n}),{})}(t),_=r.pluginsArray.reduce((function(t,n){var e=n.name,i=n.config,o=n.loaded,u=r.pluginEnabled[e];return t[e]={enabled:u,initialized:!!u&&Boolean(!n.initialize),loaded:Boolean(o()),config:i||{}},t}),{}),C={context:N,user:b,plugins:_},D=Ht(function(t){for(var n=Object.keys(t),e={},r=0;r<n.length;r++){var i=n[r];At(t[i])===Ct&&(e[i]=t[i])}var o,u=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(n){var e=t[n];if(At(e(void 0,{type:$t}))===Dt||At(e(void 0,{type:Ut}))===Dt)throw new Error(Lt+" "+n+" "+Dt)}))}(e)}catch(t){o=t}return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(o)throw o;for(var r=!1,i={},a=0;a<u.length;a++){var c=u[a],s=t[c],f=(0,e[c])(s,n);if(At(f)===Dt){var l=qt(c,n);throw new Error(l)}i[c]=f,r=r||f!==s}return r?i:t}}(_t(_t({},E),n)),C,I(A(Ft.apply(void 0,Et(k)))));D.dispatch=(T=D.dispatch,function(t,n,e){var r=le(t.meta,n,fe(e)),i=_t(_t({},t),{meta:r});return T.apply(null,[i])});var L=Object.keys(u);D.dispatch({type:tn.bootstrap,plugins:L,config:N,params:w,user:b,initialUser:e,persistedUser:m});var z=L.filter((function(t){return r.pluginEnabled[t]})),$=L.filter((function(t){return!r.pluginEnabled[t]}));return D.dispatch({type:tn.registerPlugins,plugins:L,enabled:r.pluginEnabled}),r.pluginsArray.map((function(t,n){var e=t.bootstrap,i=t.config,o=t.name;e&&yt(e)&&e({instance:S,config:i,payload:t}),D.dispatch({type:tn.registerPluginType(o),name:o,enabled:r.pluginEnabled[o],plugin:t}),r.pluginsArray.length===n+1&&D.dispatch({type:tn.initializeStart,plugins:z,disabled:$})})),ae((function(t){D.dispatch({type:t?tn.offline:tn.online})})),function(t,n,e){setInterval((function(){return hn(t,n,e)}),3e3)}(D,f,S),S}var he="before",ve="after",pe="cookie",we=ge(),me=je,be=je;function ye(t){return we?je(t,"",-1):ht(t)}function ge(){if(void 0!==we)return we;var t="cookiecookie";try{je(t,t),we=-1!==document.cookie.indexOf(t),ye(t)}catch(t){we=!1}return we}function je(t,n,e,r,i,o){if("undefined"!=typeof window){var u=arguments.length>1;return!1===we&&(u?dt(t,n):lt(t)),u?document.cookie=t+"="+encodeURIComponent(n)+(e?"; expires="+new Date(+new Date+1e3*e).toUTCString()+(r?"; path="+r:"")+(i?"; domain="+i:"")+(o?"; secure":""):""):decodeURIComponent((("; "+document.cookie).split("; "+t+"=")[1]||"").split(";")[0])}}var Oe="localStorage",Se=wt.bind(null,"localStorage"),ke=vt("localStorage","getItem",lt),Ee=vt("localStorage","setItem",dt),Ae=vt("localStorage","removeItem",ht),Ie="sessionStorage",xe=wt.bind(null,"sessionStorage");vt("sessionStorage","getItem",lt),vt("sessionStorage","setItem",dt),vt("sessionStorage","removeItem",ht);var Te="any",Ne="*";"undefined"==typeof process||process;var _e="undefined"!=typeof window;function Pe(t,n){return typeof n===t}"undefined"!=typeof Deno&&Deno,_e&&"nodejs"===window.name||"undefined"!=typeof navigator&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),Pe.bind(null,"function");var Me=Pe.bind(null,"string"),Ce=Pe.bind(null,"undefined");function De(t){var n=t;try{if("true"===(n=JSON.parse(t)))return!0;if("false"===n)return!1;if(function(t){if(!function(t){return t&&("object"==typeof t||null!==t)}(t))return!1;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(t)===n}(n))return n;parseFloat(n)===n&&(n=parseFloat(n))}catch(t){}if(null!==n&&""!==n)return n}Pe.bind(null,"boolean");var Le=Se(),ze=xe(),$e=ge();function Ue(t,n){if(t){var e=Re(n),r=!Ve(e),i=We(e)?De(localStorage.getItem(t)):void 0;if(r&&!Ce(i))return i;var o=He(e)?De(me(t)):void 0;if(r&&o)return o;var u=qe(e)?De(sessionStorage.getItem(t)):void 0;if(r&&u)return u;var a=lt(t);return r?a:{localStorage:i,sessionStorage:u,cookie:o,global:a}}}function Re(t){return t?Me(t)?t:t.storage:Te}function We(t){return Le&&Fe(t,Oe)}function He(t){return $e&&Fe(t,pe)}function qe(t){return ze&&Fe(t,Ie)}function Ve(t){return t===Ne||"all"===t}function Fe(t,n){return t===Te||t===n||Ve(t)}function Ge(t,n,e){return{location:t,current:n,previous:e}}var Je={setItem:function(t,n,e){if(t&&!Ce(n)){var r={},i=Re(e),o=JSON.stringify(n),u=!Ve(i);return We(i)&&(r[Oe]=Ge(Oe,n,De(localStorage.getItem(t))),localStorage.setItem(t,o),u)?r[Oe]:He(i)&&(r[pe]=Ge(pe,n,De(me(t))),be(t,o),u)?r[pe]:qe(i)&&(r[Ie]=Ge(Ie,n,De(sessionStorage.getItem(t))),sessionStorage.setItem(t,o),u)?r[Ie]:(r[ct]=Ge(ct,n,lt(t)),dt(t,n),u?r[ct]:r)}},getItem:Ue,removeItem:function(t,n){if(t){var e=Re(n),r=Ue(t,Ne),i={};return!Ce(r.localStorage)&&We(e)&&(localStorage.removeItem(t),i[Oe]=r.localStorage),!Ce(r.cookie)&&He(e)&&(ye(t),i[pe]=r.cookie),!Ce(r.sessionStorage)&&qe(e)&&(sessionStorage.removeItem(t),i[Ie]=r.sessionStorage),!Ce(r.global)&&Fe(e,ct)&&(ht(t),i[ct]=r.global),i}}};const Xe=Je;function Ke(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function Be(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Ye(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Be(Object(e),!0).forEach((function(n){Ke(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Be(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var Ze={exports:{}};!function(t){var n=c.exports;function e(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}t.exports=function(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?e(Object(i),!0).forEach((function(e){n(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}))}return t},t.exports.__esModule=!0,t.exports.default=t.exports}(Ze);const Qe=u(Ze.exports);var tr={exports:{}};!function(t){var n=l.exports.default;function e(){t.exports=e=function(){return i},t.exports.__esModule=!0,t.exports.default=t.exports;var r,i={},o=Object.prototype,u=o.hasOwnProperty,a=Object.defineProperty||function(t,n,e){t[n]=e.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",f=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function d(t,n,e){return Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{d({},"")}catch(r){d=function(t,n,e){return t[n]=e}}function h(t,n,e,r){var i=Object.create((n&&n.prototype instanceof g?n:g).prototype),o=new M(r||[]);return a(i,"_invoke",{value:T(t,e,o)}),i}function v(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}i.wrap=h;var p="suspendedStart",w="suspendedYield",m="executing",b="completed",y={};function g(){}function j(){}function O(){}var S={};d(S,s,(function(){return this}));var k=Object.getPrototypeOf,E=k&&k(k(C([])));E&&E!==o&&u.call(E,s)&&(S=E);var A=O.prototype=g.prototype=Object.create(S);function I(t){["next","throw","return"].forEach((function(n){d(t,n,(function(t){return this._invoke(n,t)}))}))}function x(t,e){function r(i,o,a,c){var s=v(t[i],t,o);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==n(l)&&u.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){return r("throw",t,a,c)}))}c(s.arg)}var i;a(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,i){r(t,n,e,i)}))}return i=i?i.then(o,o):o()}})}function T(t,n,e){var i=p;return function(o,u){if(i===m)throw Error("Generator is already running");if(i===b){if("throw"===o)throw u;return{value:r,done:!0}}for(e.method=o,e.arg=u;;){var a=e.delegate;if(a){var c=N(a,e);if(c){if(c===y)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(i===p)throw i=b,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);i=m;var s=v(t,n,e);if("normal"===s.type){if(i=e.done?b:w,s.arg===y)continue;return{value:s.arg,done:e.done}}"throw"===s.type&&(i=b,e.method="throw",e.arg=s.arg)}}}function N(t,n){var e=n.method,i=t.iterator[e];if(i===r)return n.delegate=null,"throw"===e&&t.iterator.return&&(n.method="return",n.arg=r,N(t,n),"throw"===n.method)||"return"!==e&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+e+"' method")),y;var o=v(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var u=o.arg;return u?u.done?(n[t.resultName]=u.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=r),n.delegate=null,y):u:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function _(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function P(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function C(t){if(t||""===t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(u.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=r,n.done=!0,n};return o.next=o}}throw new TypeError(n(t)+" is not iterable")}return j.prototype=O,a(A,"constructor",{value:O,configurable:!0}),a(O,"constructor",{value:j,configurable:!0}),j.displayName=d(O,l,"GeneratorFunction"),i.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===j||"GeneratorFunction"===(n.displayName||n.name))},i.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,O):(t.__proto__=O,d(t,l,"GeneratorFunction")),t.prototype=Object.create(A),t},i.awrap=function(t){return{__await:t}},I(x.prototype),d(x.prototype,f,(function(){return this})),i.AsyncIterator=x,i.async=function(t,n,e,r,o){void 0===o&&(o=Promise);var u=new x(h(t,n,e,r),o);return i.isGeneratorFunction(n)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},I(A),d(A,l,"Generator"),d(A,s,(function(){return this})),d(A,"toString",(function(){return"[object Generator]"})),i.keys=function(t){var n=Object(t),e=[];for(var r in n)e.push(r);return e.reverse(),function t(){for(;e.length;){var r=e.pop();if(r in n)return t.value=r,t.done=!1,t}return t.done=!0,t}},i.values=C,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(P),!t)for(var n in this)"t"===n.charAt(0)&&u.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function e(e,i){return a.type="throw",a.arg=t,n.next=e,i&&(n.method="next",n.arg=r),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var c=u.call(o,"catchLoc"),s=u.call(o,"finallyLoc");if(c&&s){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc<=this.prev&&u.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=n,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(o)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),y},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),P(e),y}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var i=r.arg;P(e)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:C(t),resultName:n,nextLoc:e},"next"===this.method&&(this.arg=r),y}},i}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(tr);var nr=tr.exports(),er=nr;try{regeneratorRuntime=nr}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=nr:Function("r","regeneratorRuntime = r")(nr)}var rr=function(){};wt.bind(null,"sessionStorage");var ir=vt("sessionStorage","getItem",lt),or=vt("sessionStorage","setItem",dt);vt("sessionStorage","removeItem",ht);var ur="__session",ar=["id","createdAt","created"];function cr(t){var n=t?new Date(t):new Date;return[n.toISOString(),n.getTime()]}function sr(){var t=cr(),n=t[0],e=t[1];return{id:J(),created:e,createdAt:n}}var fr={session:[ir,or],page:[lt,dt]};function lr(t,n){for(var e=fr[t],r=e[0],i=e[1],o=sr(),u=!1,a={},c=0;c<ar.length;c++){var s=ar[c],f="__"+t+"__session__"+s,l=r(f);u=n||!l,(n||!n&&!l)&&i(f,o[s]);var d=l&&!n?l:o[s],h="created"!==s?d:Number(d);a[s]=h}return dr(a,u)}function dr(t,n){var e=Date.now();return t.elapsed=e-t.created,t.expires&&(t.remaining=Math.max(t.expires-e,0),t.isExpired=0===t.remaining),t.isNew=n,t}function hr(t,n){void 0===t&&(t=30);var e=me(ur),r=e?JSON.parse(e):vr(t);return n?r:dr(r,!e)}function vr(t,n,e){void 0===t&&(t=30);var r=e?hr(t,!0):sr(),i=60*t,o=r.created;if(e){var u=cr(),a=u[0],c=u[1];r.modified=c,r.modifiedAt=a,o=c}var s=cr(o+1e3*i),f=s[0];return r.expires=s[1],r.expiresAt=f,r.duration=1e3*i,n&&(r=Object.assign(r,n)),be(ur,JSON.stringify(r),i),dr(r,!e)}var pr=lr.bind(null,"session"),wr=lr.bind(null,"session",!0),mr=lr.bind(null,"page"),br=lr.bind(null,"page",!0),yr="undefined"!=typeof window;function gr(t){return"boolean"==typeof t}var jr=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var n=Object.prototype.toString.call(t);return"[object RegExp]"===n||"[object Date]"===n||function(t){return t.$$typeof===Or}(t)}(t)},Or="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Sr(t,n){return!1!==n.clone&&n.isMergeableObject(t)?Ir(Array.isArray(t)?[]:{},t,n):t}function kr(t,n,e){return t.concat(n).map((function(t){return Sr(t,e)}))}function Er(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(n){return Object.propertyIsEnumerable.call(t,n)})):[]}(t))}function Ar(t,n){try{return n in t}catch(t){return!1}}function Ir(t,n,e){(e=e||{}).arrayMerge=e.arrayMerge||kr,e.isMergeableObject=e.isMergeableObject||jr,e.cloneUnlessOtherwiseSpecified=Sr;var r=Array.isArray(n);return r===Array.isArray(t)?r?e.arrayMerge(t,n,e):function(t,n,e){var r={};return e.isMergeableObject(t)&&Er(t).forEach((function(n){r[n]=Sr(t[n],e)})),Er(n).forEach((function(i){(function(t,n){return Ar(t,n)&&!(Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))})(t,i)||(r[i]=Ar(t,i)&&e.isMergeableObject(n[i])?function(t,n){if(!n.customMerge)return Ir;var e=n.customMerge(t);return"function"==typeof e?e:Ir}(i,e)(t[i],n[i],e):Sr(n[i],e))})),r}(t,n,e):Sr(n,e)}Ir.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,e){return Ir(t,e,n)}),{})};var xr=Ir,Tr={exports:{}};!function(t){
|
7
|
+
/**
|
8
|
+
* @license MIT <https://opensource.org/licenses/MIT>
|
9
|
+
* @copyright Michael Hart 2024
|
10
|
+
*/
|
11
|
+
const n=new TextEncoder,e={appstream2:"appstream",cloudhsmv2:"cloudhsm",email:"ses",marketplace:"aws-marketplace",mobile:"AWSMobileHubService",pinpoint:"mobiletargeting",queue:"sqs","git-codecommit":"codecommit","mturk-requester-sandbox":"mturk-requester","personalize-runtime":"personalize"},r=new Set(["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id","range","connection"]);class i{constructor({method:t,url:n,headers:i,body:o,accessKeyId:u,secretAccessKey:a,sessionToken:c,service:f,region:l,cache:d,datetime:h,signQuery:v,appendSessionToken:p,allHeaders:w,singleEncode:m}){if(null==n)throw new TypeError("url is a required option");if(null==u)throw new TypeError("accessKeyId is a required option");if(null==a)throw new TypeError("secretAccessKey is a required option");let b,y;this.method=t||(o?"POST":"GET"),this.url=new URL(n),this.headers=new Headers(i||{}),this.body=o,this.accessKeyId=u,this.secretAccessKey=a,this.sessionToken=c,f&&l||([b,y]=function(t,n){const{hostname:r,pathname:i}=t;if(r.endsWith(".on.aws")){const t=r.match(/^[^.]{1,63}\.lambda-url\.([^.]{1,63})\.on\.aws$/);return null!=t?["lambda",t[1]||""]:["",""]}if(r.endsWith(".r2.cloudflarestorage.com"))return["s3","auto"];if(r.endsWith(".backblazeb2.com")){const t=r.match(/^(?:[^.]{1,63}\.)?s3\.([^.]{1,63})\.backblazeb2\.com$/);return null!=t?["s3",t[1]||""]:["",""]}const o=r.replace("dualstack.","").match(/([^.]{1,63})\.(?:([^.]{0,63})\.)?amazonaws\.com(?:\.cn)?$/);let u=o&&o[1]||"",a=o&&o[2];if("us-gov"===a)a="us-gov-west-1";else if("s3"===a||"s3-accelerate"===a)a="us-east-1",u="s3";else if("iot"===u)u=r.startsWith("iot.")?"execute-api":r.startsWith("data.jobs.iot.")?"iot-jobs-data":"/mqtt"===i?"iotdevicegateway":"iotdata";else if("autoscaling"===u){const t=(n.get("X-Amz-Target")||"").split(".")[0];"AnyScaleFrontendService"===t?u="application-autoscaling":"AnyScaleScalingPlannerFrontendService"===t&&(u="autoscaling-plans")}else null==a&&u.startsWith("s3-")?(a=u.slice(3).replace(/^fips-|^external-1/,""),u="s3"):u.endsWith("-fips")?u=u.slice(0,-5):a&&/-\d$/.test(u)&&!/-\d$/.test(a)&&([u,a]=[a,u]);return[e[u]||u,a||""]}(this.url,this.headers)),this.service=f||b||"",this.region=l||y||"us-east-1",this.cache=d||new Map,this.datetime=h||(new Date).toISOString().replace(/[:-]|\.\d{3}/g,""),this.signQuery=v,this.appendSessionToken=p||"iotdevicegateway"===this.service,this.headers.delete("Host"),"s3"!==this.service||this.signQuery||this.headers.has("X-Amz-Content-Sha256")||this.headers.set("X-Amz-Content-Sha256","UNSIGNED-PAYLOAD");const g=this.signQuery?this.url.searchParams:this.headers;if(g.set("X-Amz-Date",this.datetime),this.sessionToken&&!this.appendSessionToken&&g.set("X-Amz-Security-Token",this.sessionToken),this.signableHeaders=["host",...this.headers.keys()].filter((t=>w||!r.has(t))).sort(),this.signedHeaders=this.signableHeaders.join(";"),this.canonicalHeaders=this.signableHeaders.map((t=>t+":"+("host"===t?this.url.host:(this.headers.get(t)||"").replace(/\s+/g," ")))).join("\n"),this.credentialString=[this.datetime.slice(0,8),this.region,this.service,"aws4_request"].join("/"),this.signQuery&&("s3"!==this.service||g.has("X-Amz-Expires")||g.set("X-Amz-Expires","86400"),g.set("X-Amz-Algorithm","AWS4-HMAC-SHA256"),g.set("X-Amz-Credential",this.accessKeyId+"/"+this.credentialString),g.set("X-Amz-SignedHeaders",this.signedHeaders)),"s3"===this.service)try{this.encodedPath=decodeURIComponent(this.url.pathname.replace(/\+/g," "))}catch(t){this.encodedPath=this.url.pathname}else this.encodedPath=this.url.pathname.replace(/\/+/g,"/");m||(this.encodedPath=encodeURIComponent(this.encodedPath).replace(/%2F/g,"/")),this.encodedPath=s(this.encodedPath);const j=new Set;this.encodedSearch=[...this.url.searchParams].filter((([t])=>{if(!t)return!1;if("s3"===this.service){if(j.has(t))return!1;j.add(t)}return!0})).map((t=>t.map((t=>s(encodeURIComponent(t)))))).sort((([t,n],[e,r])=>t<e?-1:t>e?1:n<r?-1:n>r?1:0)).map((t=>t.join("="))).join("&")}async sign(){return this.signQuery?(this.url.searchParams.set("X-Amz-Signature",await this.signature()),this.sessionToken&&this.appendSessionToken&&this.url.searchParams.set("X-Amz-Security-Token",this.sessionToken)):this.headers.set("Authorization",await this.authHeader()),{method:this.method,url:this.url,headers:this.headers,body:this.body}}async authHeader(){return["AWS4-HMAC-SHA256 Credential="+this.accessKeyId+"/"+this.credentialString,"SignedHeaders="+this.signedHeaders,"Signature="+await this.signature()].join(", ")}async signature(){const t=this.datetime.slice(0,8),n=[this.secretAccessKey,t,this.region,this.service].join();let e=this.cache.get(n);if(!e){const r=await o("AWS4"+this.secretAccessKey,t),i=await o(r,this.region),u=await o(i,this.service);e=await o(u,"aws4_request"),this.cache.set(n,e)}return c(await o(e,await this.stringToSign()))}async stringToSign(){return["AWS4-HMAC-SHA256",this.datetime,this.credentialString,c(await u(await this.canonicalString()))].join("\n")}async canonicalString(){return[this.method.toUpperCase(),this.encodedPath,this.encodedSearch,this.canonicalHeaders+"\n",this.signedHeaders,await this.hexBodyHash()].join("\n")}async hexBodyHash(){let t=this.headers.get("X-Amz-Content-Sha256")||("s3"===this.service&&this.signQuery?"UNSIGNED-PAYLOAD":null);if(null==t){if(this.body&&"string"!=typeof this.body&&!("byteLength"in this.body))throw new Error("body must be a string, ArrayBuffer or ArrayBufferView, unless you include the X-Amz-Content-Sha256 header");t=c(await u(this.body||""))}return t}}async function o(t,e){const r=await crypto.subtle.importKey("raw","string"==typeof t?n.encode(t):t,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]);return crypto.subtle.sign("HMAC",r,n.encode(e))}async function u(t){return crypto.subtle.digest("SHA-256","string"==typeof t?n.encode(t):t)}const a=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function c(t){const n=new Uint8Array(t);let e="";for(let t=0;t<n.length;t++){const r=n[t];e+=a[r>>>4&15],e+=a[15&r]}return e}function s(t){return t.replace(/[!'()*]/g,(t=>"%"+t.charCodeAt(0).toString(16).toUpperCase()))}t.AwsClient=class{constructor({accessKeyId:t,secretAccessKey:n,sessionToken:e,service:r,region:i,cache:o,retries:u,initRetryMs:a}){if(null==t)throw new TypeError("accessKeyId is a required option");if(null==n)throw new TypeError("secretAccessKey is a required option");this.accessKeyId=t,this.secretAccessKey=n,this.sessionToken=e,this.service=r,this.region=i,this.cache=o||new Map,this.retries=null!=u?u:10,this.initRetryMs=a||50}async sign(t,n){if(t instanceof Request){const{method:e,url:r,headers:i,body:o}=t;null==(n=Object.assign({method:e,url:r,headers:i},n)).body&&i.has("Content-Type")&&(n.body=null!=o&&i.has("X-Amz-Content-Sha256")?o:await t.clone().arrayBuffer()),t=r}const e=new i(Object.assign({url:t.toString()},n,this,n&&n.aws)),r=Object.assign({},n,await e.sign());delete r.aws;try{return new Request(r.url.toString(),r)}catch(t){if(t instanceof TypeError)return new Request(r.url.toString(),Object.assign({duplex:"half"},r));throw t}}async fetch(t,n){for(let e=0;e<=this.retries;e++){const r=fetch(await this.sign(t,n));if(e===this.retries)return r;const i=await r;if(i.status<500&&429!==i.status)return i;await new Promise((t=>setTimeout(t,Math.random()*this.initRetryMs*Math.pow(2,e))))}throw new Error("An unknown error occurred, ensure retries is not negative")}},t.AwsV4Signer=i,Object.defineProperty(t,"__esModule",{value:!0})}(Tr.exports);var Nr=function(){};"undefined"==typeof process||process;var _r="undefined"!=typeof document;function Pr(t,n){return n.charAt(0)[t]()+n.slice(1)}"undefined"!=typeof Deno&&Deno,_r&&"nodejs"===window.name||"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var Mr=Pr.bind(null,"toUpperCase"),Cr=Pr.bind(null,"toLowerCase");function Dr(t,n){void 0===n&&(n=!0);var e=function(t){return Ur(t)?Mr("null"):"object"==typeof t?function(t){return zr(t.constructor)?t.constructor.name:null}(t):Object.prototype.toString.call(t).slice(8,-1)}(t);return n?Cr(e):e}function Lr(t,n){return typeof n===t}var zr=Lr.bind(null,"function"),$r=Lr.bind(null,"string");function Ur(t){return null===t}function Rr(t,n){if("object"!=typeof n||Ur(n))return!1;if(n instanceof t)return!0;var e=Dr(new t(""));if(function(t){return t instanceof Error||$r(t.message)&&t.constructor&&function(t){return"number"===Dr(t)&&!isNaN(t)}(t.constructor.stackTraceLimit)}(n))for(;n;){if(Dr(n)===e)return!0;n=Object.getPrototypeOf(n)}return!1}function Wr(t,n){var e=t instanceof Element||t instanceof HTMLDocument;return e&&n?function(t,n){return void 0===n&&(n=""),t&&t.nodeName===n.toUpperCase()}(t,n):e}function Hr(t){var n=[].slice.call(arguments,1);return function(){return t.apply(void 0,[].slice.call(arguments).concat(n))}}Lr.bind(null,"undefined"),Lr.bind(null,"boolean"),Lr.bind(null,"symbol"),Rr.bind(null,TypeError),Rr.bind(null,SyntaxError),Hr(Wr,"form"),Hr(Wr,"button"),Hr(Wr,"input"),Hr(Wr,"select");var qr="EventListener";function Vr(t,n){if($r(t))return n?Vr(document.querySelectorAll(t)):(e=t).split(e.indexOf(",")>-1?",":" ").map((function(t){return t.trim()}));var e;if(NodeList.prototype.isPrototypeOf(t)){for(var r=[],i=t.length>>>0;i--;)r[i]=t[i];return r}var o=function(t){return t?function(t){return"array"===Dr(t)}(t)?t:[t]:[]}(t);return n?o.map((function(t){return $r(t)?Vr(t,!0):t})).flat():o}function Fr(t,n){var e;return function(){return t&&(e=t.apply(n||this,arguments),t=null),e}}var Gr=function(t,n,e,r){var i=e||Nr,o=r||!1;if(!_r)return i;var u=Vr(n),a=Vr(t,!0);if(!a.length)throw new Error("noElements");if(!u.length)throw new Error("noEvent");var c=[];return function t(n){n&&(c=[]);for(var e=n?"add"+qr:"remove"+qr,r=0;r<a.length;r++){var s=a[r];c[r]=n?o&&o.once?Fr(i):i:c[r]||i;for(var f=0;f<u.length;f++)s[e]?s["on"+u[f]]=n?c[r]:null:s[e](u[f],c[r],o)}return t.bind(null,!n)}("Event")};function Jr(t,n){return _r&&zr(window[t])?(e=window[t],r=n,void 0===(i=window)&&(i=null),zr(e)?function(){e.apply(i,arguments),r.apply(i,arguments)}:r):window[t]=n;var e,r,i}Jr.bind(null,"onerror"),Jr.bind(null,"onload");var Xr="undefined"==typeof window,Kr="hidden";var Br=["mousemove","mousedown","touchmove","touchstart","touchend","keydown"];function Yr(t,n){void 0===n&&(n={});var e=function(t,n){var e=this,r=!1;return function(i){r||(t.call(e,i),r=!0,setTimeout((function(){return r=!1}),n))}}(t,n.throttle||1e4),r=[];function i(){var t=function(t){if(Xr)return!1;var n=Xr||Kr in document?Kr:["webkit","moz","ms","o"].reduce((function(t,n){var e=n+"Hidden";return!t&&e in document?e:t}),null),e="".concat(n.replace(/[H|h]idden/,""),"visibilitychange"),r=function(){return t(Boolean(document[n]))},i=function(){return document.addEventListener(e,r)};return i(),function(){return document.removeEventListener(e,r),i}}((function(t){t||e({type:"tabVisible"})}));return r=[t].concat(Br.map((function(t){return Gr(document,t,e)}))).concat(Gr(window,"load",e)).concat(Gr(window,"scroll",e,{capture:!0,passive:!0})),o}function o(){r.map((function(t){return t()}))}return i(),function(){return o(),i}}function Zr(t,n){return n?0:Math.round((new Date-t)/1e3)}var Qr="object",ti="string",ni="name",ei="version",ri="",ii="function",oi="undefined",ui={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},ai=[[/microsoft (windows) (vista|xp)/i],[ni,ei],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[ni,[ei,si,ui]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[ni,"Windows"],[ei,si,ui]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[ei,/_/g,"."],[ni,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[ni,"MacOS"],[ei,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[ei,ni],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[ni,ei],[/\(bb(10);/i],[ei,[ni,"BlackBerry"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[ei,[ni,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[ei,[ni,"webOS"]],[/crkey\/([\d\.]+)/i],[ei,[ni,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[ni,"Chromium OS"],ei],[/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/(unix) ?([\w\.]*)/i],[ni,ei]];function ci(t,n){for(var e,r,i,o,u,a,c=0;c<n.length&&!u;){var s=n[c],f=n[c+1];for(e=r=0;e<s.length&&!u;)if(u=s[e++].exec(t))for(i=0;i<f.length;i++)a=u[++r],d(o=f[i])===Qr&&o.length>0?2==o.length?this[o[0]]=d(o[1])==ii?o[1].call(this,a):o[1]:3==o.length?this[o[0]]=d(o[1])!==ii||o[1].exec&&o[1].test?a?a.replace(o[1],o[2]):void 0:a?o[1].call(this,a,o[2]):void 0:4==o.length&&(this[o[0]]=a?o[3].call(this,a.replace(o[1],o[2])):void 0):this[o]=a||void 0;c+=2}}function si(t,n){for(var e in n)if(d(n[e])===Qr&&n[e].length>0){for(var r=0;r<n[e].length;r++)if(fi(n[e][r],t))return"?"===e?void 0:e}else if(fi(n[e],t))return"?"===e?void 0:e;return t}function fi(t,n){return d(t)===ti&&-1!==li(n).indexOf(li(t))}function li(t){return t.toLowerCase()}function di(t){var n=t||(("undefined"==typeof window?"undefined":d(window))!==oi&&window.navigator&&window.navigator.userAgent?window.navigator.userAgent:ri),e={};return e[ni]=void 0,e[ei]=void 0,ci.call(e,n,ai),e}var hi="Brave";function vi(){if("undefined"==typeof window)return{};if(!window.navigator)return{};var t,n,e,r,i,o=window.navigator,u=o.platform,a=o.product,c=o.vendor,s=function(t){var n=t.userAgent,e=/.+(Opera[\s[A-Z]*|OPR[\sA-Z]*)\/([0-9\.]+).*/i.exec(n);if(e)return{type:e[1],version:e[2]};var r=/.+(Trident|Edge)\/([0-9\.]+).*/i.exec(n);if(r)return{type:r[1],version:r[2]};var i=/(headlesschrome)(?:\/([\w\.]+)| )/i.exec(n);if(i)return{type:i[1],version:i[2]};var o=/.+(Chrome|Firefox|FxiOS)\/([0-9\.]+).*/i.exec(n);if(o)return{type:t.brave&&t.brave.isBrave?hi:o[1],version:o[2]};var u=/.+(Safari)\/([0-9\.]+).*/i.exec(n);if(u)return{type:u[1],version:u[2]};var a=/.+(AppleWebKit)\/([0-9\.]+).*/i.exec(n);if(a)return{type:a[1],version:a[2]};var c=/.*([A-Z]+)\/([0-9\.]+).*/i.exec(n)||["","NA","0.0.0"];return{type:c[1],version:c[2]}}(window.navigator),f=s.type,l=s.version,d=f===hi?f:(c||"").split(" ")[0];return{platform:u,os:di(),make:d||a,model:f,version:l,name:[f,l].join("/"),language:(n=window.navigator,e=n.language,r=n.browserLanguage,i=n.languages,(e||r||(i||["en_US"])[0]).toLowerCase().replace("-","_")),timezone:(t=/\(([A-Za-z\s].*)\)/.exec((new Date).toString()),t&&t[1]||"")}}function pi(t){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})[t]||t}function wi(t){return mi.apply(this,arguments)}function mi(){return mi=s(er.mark((function t(n){var e,r,i,o,u,a,c=arguments;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=c.length>1&&void 0!==c[1]&&c[1],r={},t.t0=er.keys(n);case 3:if((t.t1=t.t0()).done){t.next=13;break}return i=t.t1.value,o=Array.isArray(n[i])?n[i]:[n[i]],u=e?o:o[0],t.next=9,gi(u,Oi);case 9:Ei(a=t.sent)||(r[i]=a),t.next=3;break;case 13:return t.abrupt("return",r);case 14:case"end":return t.stop()}}),t)}))),mi.apply(this,arguments)}function bi(t){return yi.apply(this,arguments)}function yi(){return(yi=s(er.mark((function t(n){var e,r;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e={},t.t0=er.keys(n);case 2:if((t.t1=t.t0()).done){t.next=9;break}return r=t.t1.value,t.next=6,gi(n[r],Si);case 6:e[r]=t.sent,t.next=2;break;case 9:return t.abrupt("return",e);case 10:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function gi(t,n){return ji.apply(this,arguments)}function ji(){return(ji=s(er.mark((function t(n,e){return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof n){t.next=4;break}return t.next=3,n();case 3:n=t.sent;case 4:return t.abrupt("return",e(n));case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Oi(t){if(null!=t)return Array.isArray(t)?t.filter(ki).map((function(t){return t.toString()})):Ei(t)?t:t.toString()}function Si(t){return parseFloat(Number(Array.isArray(t)?t[0]:t))}function ki(t){return null!=t}function Ei(t){return null==t}var Ai="_session.start",Ii="_session.stop",xi="pageView";function Ti(t){return Ni.apply(this,arguments)}function Ni(){return Ni=s(er.mark((function t(n){var e,r,i,o,u,a,c,s,l,d,h,v,p,w,m,b,y,g,j,O,S,k,E,A,I,x,T,N,_,P=arguments;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=P.length>1&&void 0!==P[1]?P[1]:{},i=(r=P.length>2&&void 0!==P[2]?P[2]:{}).appTitle,o=r.appPackageName,u=r.appVersionCode,a=r.enrichEventAttributes,c=r.enrichEventMetrics,s=r.debug?console.log:function(){},l=pi(n,r.eventMapping),d=hr(),h=e.sessionId||d.id,v=e.sessionStart||d.createdAt,p=e.sessionStart?new Date(e.sessionStart).getTime():d.created,s("event sessionData ",JSON.stringify(d)),yr&&(w=mr(),m=pr(),s("event pageSessionInfo",JSON.stringify(w)),s("event tabSessionData ",JSON.stringify(m))),b=e.attributes||{},y=e.eventId||J(),g=e.time?new Date(e.time):new Date,j=g.toISOString(),O=g.getTime()-p,S=Qe({date:j,sessionId:h},yr?{pageSession:w.id}:{}),!a){t.next=23;break}return t.next=20,a();case 20:t.t0=t.sent,t.next=24;break;case 23:t.t0={};case 24:if(k=t.t0,E=Qe(Qe(Qe({},S),k),b),A=e.metrics||{},I={sessionTime:d.elapsed||O,hour:g.getHours(),day:g.getDay()+1,month:g.getMonth()+1,year:g.getFullYear()},!c){t.next=34;break}return t.next=31,c();case 31:t.t1=t.sent,t.next=35;break;case 34:t.t1={};case 35:return x=t.t1,T=Qe(Qe(Qe({},I),x),A),t.next=39,wi(E);case 39:return t.t2=t.sent,t.next=42,bi(T);case 42:return t.t3=t.sent,N={attributes:t.t2,metrics:t.t3},s("".concat(y,":").concat(l)),s("eventAttributes",N.attributes),s("eventMetrics",N.metrics),yr&&s("clientInfo",vi()),_=f({},y,Qe(Qe({EventType:l,Timestamp:j,AppPackageName:o,AppTitle:i},u?{AppVersionCode:u}:{}),{},{Attributes:N.attributes,Metrics:N.metrics,Session:{Id:h,StartTimestamp:v}})),n===Ii&&(_[y].Session.Duration=O,_[y].Session.StopTimestamp=j),t.abrupt("return",_);case 51:case"end":return t.stop()}}),t)}))),Ni.apply(this,arguments)}var _i="__endpoint";function Pi(t){return"".concat(_i,".").concat(t)}var Mi,Ci="__endpoint",Di=!1;function Li(){return zi.apply(this,arguments)}function zi(){return zi=s(er.mark((function t(){var n,e,r,i,o,u,a,c,s,f,l,d,h,v,p,w,m,b,y,g,j,O=arguments;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=O.length>0&&void 0!==O[0]?O[0]:{},r=(e=O.length>1&&void 0!==O[1]?O[1]:{}).getUserId,i=e.getEndpointId,o=e.endpointMigration,u=qi(e),a=u.sessionKey?u.sessionKey():"sessions",c=u.pageViewKey?u.pageViewKey():"pageViews",yr&&(l=vi(),s=mr(),f=s.id),d=hr(),t.next=10,i();case 10:if(h=t.sent,Di||(Di=!0,(v=ke(Ci))&&($i(h,v),Ae(Ci))),p=Ui(h),w=Wi(e),m=Ri(w,l),b={Attributes:{},Demographic:m,Location:{},Metrics:{}},yr&&(l.device&&l.device.vendor&&(b.Attributes.DeviceMake=[l.device.vendor]),l.device&&l.device.model&&(b.Attributes.DeviceModel=[l.device.model]),l.device&&l.device.type&&(b.Attributes.DeviceType=[l.device.type])),!(n=xr.all([p,b,n],{arrayMerge:Hi})).User||!n.User.UserId){t.next=23;break}return t.next=21,r();case 21:n.User.UserId!==(y=t.sent)&&(n.User.UserId=y);case 23:if(n.User&&n.User.UserId){t.next=28;break}return t.next=26,r();case 26:(g=t.sent)&&(n.User=n.User||{},n.User.UserId=g);case 28:if(!n.User||!n.User.UserAttributes){t.next=32;break}return t.next=31,wi(n.User.UserAttributes,!0);case 31:n.User.UserAttributes=t.sent;case 32:return t.next=34,wi(n.Attributes,!0);case 34:return n.Attributes=t.sent,t.next=37,bi(n.Metrics);case 37:if(n.Metrics=t.sent,n.Metrics[a]||(n.Metrics[a]=1),n.Metrics[c]||(n.Metrics[c]=1),o&&(n=o(h,n)),j=n.Attributes.lastSession){t.next=47;break}return n.Attributes.lastSessionDate=[d.createdAt],n.Attributes.lastSession=[d.id],f&&(n.Attributes.lastPageSession=[f]),t.abrupt("return",$i(h,n));case 47:return j&&j[0]!==d.id&&(n.Attributes.lastSessionDate=[d.createdAt],n.Attributes.lastSession=[d.id],n.Metrics[a]+=1),n.Attributes&&n.Attributes.lastPageSession&&Array.isArray(n.Attributes.lastPageSession)&&n.Attributes.lastPageSession.length>0&&n.Attributes.lastPageSession[0]!==f&&(n.Attributes.lastPageSession=[f],n.Metrics[c]+=1),t.abrupt("return",$i(h,n));case 50:case"end":return t.stop()}}),t)}))),zi.apply(this,arguments)}function $i(t,n){var e=Pi(t),r="string"==typeof n?n:JSON.stringify(n);return Ee(e,r),n}function Ui(t){try{return JSON.parse(ke(Pi(t)))||{}}catch(t){}return{}}function Ri(t,n){return yr?function(t,n){var e={AppVersion:t,Locale:n.language,Make:n.make,Model:n.model,ModelVersion:n.version,Platform:n.os.name||n.platform};return n.os&&n.os.version&&(e.PlatformVersion=n.os.version),e}(t,n):function(t){return{AppVersion:t,Make:"generic server",Platform:"Node.js",PlatformVersion:process.version}}(t)}function Wi(t){var n=t.appTitle||t.appPackageName||"",e=t.appVersionCode||"0.0.0";return n?"".concat(n,"@").concat(e):e}function Hi(t,n){return n}function qi(t){var n=t.getContext;return"function"==typeof n?n():n}var Vi=[429,500],Fi=[202],Gi=400;function Ji(t,n){return Xi.apply(this,arguments)}function Xi(){return Xi=s(er.mark((function t(n,e){var r,i,o,u,a,c,s,f,l,d,h,v,p,w,m,b,y;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.pinpointRegion,i=e.pinpointAppId,o=e.lambdaArn,u=e.lambdaRegion,a=e.credentials,c=e.getCredentials,s=e.debug,t.next=3,Ki(a,c);case 3:return f=t.sent,s&&console.log("pinpoint auth",f),l=r||u,d=!0===e.fips?"-fips":"",h="https://lambda.".concat(u||r,".amazonaws.com/2015-03-31/functions/").concat(o,"/invocations"),v="https://pinpoint".concat(d,".").concat(l,".amazonaws.com/v1/apps/").concat(i,"/events"),p=o?h:v,b={body:JSON.stringify(n)},w=new Tr.exports.AwsClient(f),t.next=16,w.fetch(p,b).then((function(t){return t.json()}));case 16:m=t.sent,t.next=24;break;case 19:return w=new Mi.PinpointClient({credentials:f,region:r}),y=new Mi.PutEventsCommand({ApplicationId:i,EventsRequest:n}),t.next=23,w.send(y);case 23:m=t.sent;case 24:return m&&m.Results&&Object.keys(m.Results).map((function(t){return m.Results[t]})).forEach((function(t){var n=t.EndpointItemResponse||{},e=t.EventsItemResponse||{};Object.keys(n).length&&(Fi.includes(n.StatusCode)||Vi.includes(n.StatusCode)||Yi(n,Endpoint));var r=Object.keys(e);r.length&&r.forEach((function(){}))})),t.abrupt("return",m);case 26:case"end":return t.stop()}}),t)}))),Xi.apply(this,arguments)}function Ki(t,n){return Bi.apply(this,arguments)}function Bi(){return(Bi=s(er.mark((function t(n,e){var r;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=n,Object.keys(r).length||!e){t.next=11;break}return t.prev=2,t.next=5,e();case 5:r=t.sent,t.next=11;break;case 8:throw t.prev=8,t.t0=t.catch(2),new Error(t.t0);case 11:return t.abrupt("return",{accessKeyId:r.accessKeyId||r.AccessKeyId,secretAccessKey:r.secretAccessKey||r.SecretKey,sessionToken:r.sessionToken||r.SessionToken,retries:5});case 13:case"end":return t.stop()}}),t,null,[[2,8]])})))).apply(this,arguments)}function Yi(t){var n=t.Message;if(t.StatusCode===Gi){if(n.startsWith("Missing ChannelType"))throw new Error("Missing ChannelType");if(n.startsWith("Exceeded maximum endpoint per user count"))throw new Error("Exceeded maximum endpoint per user count")}}var Zi=["PUSH","GCM","APNS","APNS_SANDBOX","APNS_VOIP","APNS_VOIP_SANDBOX","ADM","SMS","VOICE","EMAIL","BAIDU","CUSTOM"].reduce((function(t,n){return t[n]=n,t}),{}),Qi=vi(),to=Ai,no=Ii,eo=/.+\@.+\..+/;function ro(t){try{return JSON.parse(ke(Pi(t)))||{}}catch(t){}return{}}function io(t){return t.sort((function(t,n){var e=t.EventType,r=n.EventType;return e==to?-1:r==to||e==no?1:r==no?-1:void 0})).reduce((function(t,n){return Qe(Qe({},n),t)}),{})}function oo(t,n,e){return{BatchItem:f({},t,{Endpoint:n,Events:e})}}var uo=Ii;function ao(){return{}}function co(){throw new Error("Pinpoint not loaded")}function so(t){var n=t.config,e=t.instance;n&&n.disableAnonymousTraffic&&!e.user("userId")&&e.once("identifyStart",(function(t){t.plugins["aws-pinpoint"].loaded()||e.loadPlugin("aws-pinpoint")}))}var fo={disableAnonymousTraffic:!1,pinpointRegion:"us-east-1",eventMapping:{}},lo=function(){var t,n,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=!1;return{name:"aws-pinpoint",config:Qe(Qe({},fo),e),bootstrap:so,initialize:function(r){var i=r.config,o=r.instance,u=i.disableAnonymousTraffic,a=i.debug?console.log:function(){},c=o.getState(),f=c.user||{},l=f.userId,h=f.anonymousId,v=c.context||{},p=v.app,w=v.version,m=v.campaign,b=mr(),y=pr(),g=hr();if(a("initPageSession",b),a("initTabSession",y),a("initSessionData",g),g&&g.anonId&&g.anonId!==h){a("anonId different refresh session details"),br(),wr();var j=vr(30,{anonId:h,userId:l});a("newSessionForNewUser",j)}if(!l&&u)return!1;var O=Object.keys(m).reduce((function(t,n){return t["utm_".concat(n)]=m[n],t}),{}),S=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Qe({getContext:t.getContext||ao,credentials:t.credentials||{},getEndpointId:t.getEndpointId},t),e=n.debug?console.log:function(){},r=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.getEndpointId,e=t.debug;return function(){var r=s(er.mark((function r(){var i,o,u,a,c,s,f,l,h,v=arguments;return er.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i=v.length>0&&void 0!==v[0]?v[0]:[],o=v.length>1&&void 0!==v[1]?v[1]:{},r.next=4,n();case 4:if(u=r.sent){r.next=8;break}return console.error("No endpoint id. check getEndpointId()"),r.abrupt("return");case 8:if("object"===d(o)&&Object.keys(o).length){r.next=13;break}r.t0=ro(u),r.next=16;break;case 13:return r.next=15,Li(o,t);case 15:r.t0=r.sent;case 16:return c=(a=r.t0).ChannelType,a.Address&&eo.test(a.Address)&&(c=Zi.EMAIL),!c&&a.Address&&(c="android"===Qi.platform?c||Zi.GCM:c||Zi.APNS),e&&(console.log("Endpoint",a),console.log("CHANNEL_TYPE",c)),a.RequestId=J(),a.ChannelType=c,a.Address&&(a.OptOut=a.OptOut||"NONE"),s=io(i),f=oo(u,a,s),r.prev=26,r.next=29,Ji(f,t);case 29:l=r.sent,r.next=36;break;case 32:r.prev=32,r.t1=r.catch(26),console.log("Error calling AWS",r.t1),h=r.t1;case 36:return r.abrupt("return",{endpoint:a,response:l,error:h,events:i});case 37:case"end":return r.stop()}}),r,null,[[26,32]])})));return function(){return r.apply(this,arguments)}}()}(n),i=function(t,n){var e,r,i,o=(n=n||{}).initial||[],u=n.max||1/0,a=n.interval||1e4,c=n.onEmpty||rr,s=n.onPause||rr;function f(n){clearInterval(e);var r=o.splice(0,u);return r.length&&t(r,o),o.length?n?f():l():(i=!1,c(o))}function l(){i=!0,e=setInterval(f,a)}return o.length&&l(),{flush:function(t){f(t)},resume:f,push:function(t){return(r=o.push(t))>=u&&!n.throttle&&f(),i||l(),r},size:function(){return o.length},pause:function(t){t&&f(),clearInterval(e),i=!1,s(o)}}}(function(){var t=s(er.mark((function t(n){return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.forEach((function(t){return e("> Queue event",t)})),t.next=3,r(n,{});case 3:e("> Queue response",t.sent);case 5:case"end":return t.stop()}}),t)})));return function(n,e){return t.apply(this,arguments)}}(),{max:10,interval:t.flushInterval||3e3,throttle:!0}),o=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(){var e=s(er.mark((function e(r){var i,o,u,a,c=arguments;return er.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=c.length>2&&void 0!==c[2]?c[2]:{},u=c.length>3&&void 0!==c[3]&&c[3],gr(i=c.length>1&&void 0!==c[1]?c[1]:{})&&(u=i={}),gr(o)&&(u=o={}),e.next=7,Ti(r,i,n);case 7:if(a=e.sent,!Object.entries(o).length&&r!==xi){e.next=12;break}return e.next=11,Li(o,n);case 11:o=e.sent;case 12:if(t.push(a),!u){e.next=17;break}return e.abrupt("return",t.flush());case 17:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}(i,n);Li({},t);var u=function(t){if(!yr)return ao;var n=function(t){return function(){t(uo,!0)}}(t);return window.addEventListener("beforeunload",n),function(){return window.removeEventListener("beforeunload",n)}}(o);return{updateEndpoint:function(t){return r([],t)},recordEvent:o,disable:function(){u()}}}(Qe(Qe({},i),{},{appTitle:i.appTitle||p,appPackageName:i.appPackageName||p,appVersionCode:i.appVersionCode||w,eventMapping:i.eventMapping,getEndpointId:function(){return o.user("anonymousId")},getUserId:function(){return o.user("userId")},getContext:function(){return{sessionKey:i.sessionKey,pageViewKey:i.pageViewKey,initialSession:g}},enrichEventAttributes:function(){return Qe({anonId:o.user("anonymousId"),userId:o.user("userId"),hash:window.location.hash,path:window.location.pathname,referrer:document.referrer,search:window.location.search,title:document.title,host:window.location.hostname,url:window.location.origin+window.location.pathname},O)},enrichUserAttributes:i.enrichUserAttributes,enrichEventMetrics:function(){return{}}}));t=S.recordEvent,n=S.updateEndpoint,g&&g.isNew&&(a("Start brand new session because cookie not found"),t(Ai)),function(t){var n,e,r=t.onIdle,i=t.onWakeUp,o=t.onHeartbeat,u=t.timeout,a=void 0===u?1e4:u,c=t.throttle,s=void 0===c?2e3:c,f=!1,l=new Date;Yr((function(t){clearTimeout(n),o&&!f&&o(Zr(l),t),i&&f&&(f=!1,i(Zr(e),t),l=new Date),n=setTimeout((function(){f=!0,r&&(e=new Date,r(Zr(l),t))}),a)}),{throttle:s})}({timeout:18e5,throttle:2e4,onIdle:function(n){var r;a("Session idle. Active ".concat(n," seconds")),r=hr(),e.debug&&console.log("Stop session",r),t(Ii,!0)},onWakeUp:function(n){var r;a("Session wakeup. Idle ".concat(n," seconds")),r=vr(30),e.debug&&console.log("START SESSION",r),t(Ai)},onHeartbeat:function(t){a("ping session",new Date),a("total active time",t);var n=o.user();!function(t,n){void 0===t&&(t=30),vr(t||1,n,!0)}(30,{anonId:n.anonymousId,userId:n.userId})}})},page:function(){if(!t)return co();r&&br(),t(xi),r=!0},track:function(n){var e=n.payload,r=n.config;if(!t)return co();if(!r.disableAnonymousTraffic||e.userId){var i,o=(i=e.properties,Object.keys(i).reduce((function(t,n){var e=i[n];return"number"==typeof e&&(t.metrics[n]=e),"string"!=typeof e&&"boolean"!=typeof e||(t.attributes[n]=e),t}),{attributes:{},metrics:{}}));t(e.event,o)}},identify:function(t){var e=t.payload,r=e.userId,i=e.traits;if(!n)return co();var o={},u={};r&&(u.UserId=r),i&&Object.keys(i).length&&(u.UserAttributes=i),Object.keys(u).length&&(o.User=u),n(o,!0)},reset:function(t){var n=Pi(t.instance.user("anonymousId"));Ae(n)},loaded:function(){return!!t}}};function ho(t,n){var e=vo(t,n),r=v({httpMethod:"GET"},n);return h(e,r)}var vo=function(t,n){return("string"==typeof n?n:p(n))+"/content/items/"+t};class po{constructor(t){this.name="amazon";const{app:n={},fips:e,userPoolID:r}=t;this.analytics=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return de(Ye(Ye({},{storage:Xe}),t))}({app:n.name,version:n.version,plugins:[lo({fips:e,pinpointAppId:n.id,getCredentials:()=>function(t,n={}){const e=`https://cognito-identity${!0===n.fips?"-fips":""}.us-east-1.amazonaws.com/`;let r=m.get(k);if(r&&Date.now()/1e3<r.Expiration)return Promise.resolve(r);const i={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetId"},body:JSON.stringify({IdentityPoolId:t})};return fetch(e,i).then((t=>{if(!t.ok)throw new Error(t.statusText);return t.json()})).then((t=>{const{IdentityId:n}=t,r={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},body:JSON.stringify({IdentityId:n})};return fetch(e,r)})).then((t=>{if(!t.ok)throw new Error(t.statusText);return t.json()})).then((({Credentials:t})=>(m.set(k,t),t)))}(r,{fips:e})})]}),Object.assign(this,t)}init(){return Promise.resolve()}static async setAccessPermissions({id:t,authentication:n,username:e,accessChangeset:r}){return async function({id:t,authentication:n,username:e,accessChangeset:r}){const{properties:i={}}=await ho(t,{authentication:n}),o=i.telemetry,u=void 0===o?{}:o,{arcgis:{access:a={}}={}}=u,c=O(u,["arcgis"]),s=function(t,n,e){return e.reduce(((n,e)=>{const{action:r,targetProperty:i}=e;return"add"===r?n[i]={updatedAt:new Date,updatedBy:t}:"remove"===r&&delete n[i],n}),n)}(e,a,r);return w({item:{id:t,properties:Object.assign(Object.assign({},i),{telemetry:Object.assign(Object.assign({},c),{arcgis:{access:Object.assign({},s)}})})},authentication:n})}({id:t,authentication:n,username:e,accessChangeset:r})}static async getAccessPermissions({id:t,authentication:n}){return async function({id:t,authentication:n}){const{properties:{telemetry:{arcgis:{access:e={}}={}}={}}}=await ho(t,{authentication:n});return{access:e}}({id:t,authentication:n})}logPageView(t,n){const e=function({page:t,previousPage:n={},options:e={},dimensionLookup:r={},metricLookup:i={}}){const o=T(e,i),u=E({telemetryData:e,dimensionLookup:r,excludeKeys:["workflow",...Object.keys(o),...Object.keys(i)]}),{referrer:a,title:c}=document||{},{hostname:s,pathname:f}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:a,hostname:s,path:t||f,pageUrl:t||f,pageName:c,previousPageUrl:n.pageUrl,previousPageName:n.pageName},u),o)}({page:t,previousPage:this.previousPage,options:n,dimensionLookup:this.dimensions,metricLookup:this.metrics}),{pageUrl:r,pageName:i}=e;this.previousPage={pageUrl:r,pageName:i},this.analytics.track("pageView",e)}logEvent(t={}){const n=function({event:t={},dimensionLookup:n={},metricLookup:e={}}){var r,i;const{pathname:o,eventType:u="other"}=t,a=T(t,e),c=E({telemetryData:Object.assign({eventType:u},t),dimensionLookup:n,excludeKeys:["workflow","pathname",...Object.keys(a),...Object.keys(e)]}),s=Object.assign(Object.assign({name:u},c),a);return"undefined"!=typeof document&&document.referrer&&(s.referrer=document.referrer),"undefined"==typeof window||s.hostname||(s.hostname=null===(r=window.location)||void 0===r?void 0:r.hostname),s.path="undefined"!=typeof window&&window.location.pathname?null===(i=window.location)||void 0===i?void 0:i.pathname:o,s}({event:t,dimensionLookup:this.dimensions,metricLookup:this.metrics}),{name:e}=n;this.analytics.track(e,n)}}const wo=class{constructor(e){t(this,e),this.consentGranted=n(this,"consentGranted",7),this.amazonAppId=void 0,this.amazonAppName=void 0,this.amazonUserPoolID=void 0,this.amazonVersion=void 0,this.firstUseVar=void 0,this.locale=void 0,this.measurementIds=void 0,this.portal=void 0,this._open=void 0,this._translations=void 0}get el(){return e(this)}_loaded=!1;_telemetryInstance;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async getInstance(){return"true"===localStorage.getItem(this.firstUseVar)||this.portal.eueiEnabled?(await this._init(),this._telemetryInstance):void 0}consentGranted;async componentWillLoad(){await this._getTranslations(),this._open=null===localStorage.getItem(this.firstUseVar)}render(){return r(i,{key:"6b5a4571e972d6d79948cbf186119372456b5e1e"},r("calcite-alert",{key:"93eaac2efe214be10c0b5a0ff511404e74861bd0",kind:"brand",label:this._translations.trackingAlertLabel,onCalciteAlertClose:()=>this._alertClosed(),open:this._open},r("div",{key:"791bf8851d3f7fd5cec537afcd369071127701a4",slot:"message"},this._translations.message),r("calcite-button",{key:"a3708023545b76ab30fc085d6de8c853a986a5a6",alignment:"center",appearance:"solid",kind:"brand",onClick:()=>this._accept(),scale:"m",slot:"actions-end",style:{margin:"auto"},type:"button"},this._translations.accept)))}async componentDidLoad(){this.consentGranted.emit({granted:"true"===localStorage.getItem(this.firstUseVar)})}async _init(){if(!this._loaded){const t={plugins:[],portal:this.portal};if(this.measurementIds?.length>0){const n=new S({measurementIds:this.measurementIds});t.plugins.push(n)}if(this.amazonUserPoolID){const n=new po({userPoolID:this.amazonUserPoolID,app:{name:this.amazonAppName,id:this.amazonAppId,version:this.amazonVersion}});t.plugins.push(n)}this._telemetryInstance=new j(t),await this._telemetryInstance.init(),this._loaded=!0}}_alertClosed(){this._open=!1,"true"!==localStorage.getItem(this.firstUseVar)&&localStorage.setItem(this.firstUseVar,"false")}_accept(){localStorage.setItem(this.firstUseVar,"true"),this.consentGranted.emit({granted:!0}),this._open=!1}async _getTranslations(){const t=await o(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};wo.style=":host{display:block}.consent-panel{position:fixed;display:block;z-index:5000;bottom:0;left:0;width:100%;height:auto;text-align:center}.cookie-consent-popup-container{position:relative;display:block;bottom:0;left:0;width:100%;margin:0;padding-top:1rem;padding-bottom:1rem;transition:transform 0.5s ease-out 0s;background-color:rgba(51, 51, 51, 0.95);color:#fff}.button-container{position:static;margin-bottom:1rem;display:flex;justify-content:center;flex-wrap:wrap}.padding-end-1{padding-inline-end:1rem}.link-text{--calcite-ui-text-link:var(--calcite-color-text-inverse);--calcite-ui-brand:var(--calcite-color-text-inverse);--calcite-color-text-link:var(--calcite-color-text-inverse);--calcite-color-brand-underline:var(--calcite-color-text-inverse);--calcite-color-brand:var(--calcite-color-text-inverse)}";export{wo as consent_manager}
|
@@ -0,0 +1,6 @@
|
|
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,g as i,h as s,H as e,c as a}from"./p-e996c38f.js";import{l as h,g as n}from"./p-404cbf48.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const o=class{constructor(i){t(this,i),this.mapView=void 0,this.basemapConfig=void 0,this.basemapWidget=void 0}get el(){return i(this)}BasemapGallery;PortalBasemapsSource;_basemapElement;async basemapConfigWatchHandler(){if(this.basemapWidget?.source){const t=this.basemapWidget?.source;t.query=this.basemapConfig?.basemapGroupId?`id:${this.basemapConfig.basemapGroupId}`:null,await t.refresh()}}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initBaseMapGallery(this.mapView)}))}async componentWillLoad(){return this._initModules()}render(){return s(e,{key:"cc7e423a47742c0f5c3a5023b77157af09e56433"},s("div",{key:"9b41466e49c93e533f1d2a621707c5189c5092b3",ref:t=>{this._basemapElement=t}}))}async componentDidLoad(){this.mapView&&await this.mapViewWatchHandler()}async _initModules(){const[t,i]=await h(["esri/widgets/BasemapGallery","esri/widgets/BasemapGallery/support/PortalBasemapsSource"]);this.BasemapGallery=t,this.PortalBasemapsSource=i}async _initBaseMapGallery(t){if(this.BasemapGallery){this.basemapWidget&&this.basemapWidget.destroy();const i=new this.PortalBasemapsSource({query:this.basemapConfig?.basemapGroupId?`id:${this.basemapConfig.basemapGroupId}`:null,filterFunction:this.basemapConfig?t=>!this.basemapConfig.basemapIdsToFilter.includes(t.portalItem.id):()=>!0});await i.refresh(),this.basemapWidget=new this.BasemapGallery({container:this._basemapElement,view:t,source:i})}}static get watchers(){return{basemapConfig:["basemapConfigWatchHandler"],mapView:["mapViewWatchHandler"]}}};o.style=":host{display:block}";const c=class{constructor(i){t(this,i),this.facilityChanged=a(this,"facilityChanged",7),this.levelChanged=a(this,"levelChanged",7),this.siteChanged=a(this,"siteChanged",7),this.enabled=void 0,this.floorFilterWidget=void 0,this.mapView=void 0}get el(){return i(this)}FloorFilter;_floorFilterElement;reactiveUtils;_facilityHandle;_levelHandle;_siteHandle;async mapViewWatchHandler(){await this._initFloorFilter(this.mapView)}async enabledWatchHandler(){this.enabled?await this._initFloorFilter(this.mapView):this.enabled||this._destroyWidget()}facilityChanged;levelChanged;siteChanged;async componentWillLoad(){return this._initModules()}render(){return s(e,{key:"b2ba7504abbc8621f2ad4f561920f2125181350d"},s("div",{key:"1df2a06b4b99ba0ece38ca3d91b622ce9b692c4a",ref:t=>{this._floorFilterElement=t}}))}async componentDidLoad(){this.mapView&&!this.floorFilterWidget&&await this._initFloorFilter(this.mapView)}async _initModules(){const[t,i]=await h(["esri/widgets/FloorFilter","esri/core/reactiveUtils"]);this.FloorFilter=t,this.reactiveUtils=i}_destroyWidget(){this.floorFilterWidget&&(this.floorFilterWidget.destroy(),this.floorFilterWidget=void 0),this._floorFilterElement&&this._floorFilterElement.remove()}_initContainer(){this._destroyWidget(),this._floorFilterElement=document.createElement("div")}async _initFloorFilter(t){const i=t?.map;await i.when((()=>{t&&this.enabled&&this.FloorFilter&&i?.floorInfo&&(this._initContainer(),this.floorFilterWidget=new this.FloorFilter({container:this._floorFilterElement,view:t}),this._facilityHandle?.remove(),this._facilityHandle=this.reactiveUtils.watch((()=>this.floorFilterWidget.facility),(t=>{this.facilityChanged.emit(t)})),this._levelHandle?.remove(),this._levelHandle=this.reactiveUtils.watch((()=>this.floorFilterWidget.level),(t=>{this.levelChanged.emit(t)})),this._siteHandle?.remove(),this._siteHandle=this.reactiveUtils.watch((()=>this.floorFilterWidget.site),(t=>{this.siteChanged.emit(t)})))}))}static get watchers(){return{mapView:["mapViewWatchHandler"],enabled:["enabledWatchHandler"]}}};c.style=":host{display:block}";const r=class{constructor(i){t(this,i),this.fullscreenStateChange=a(this,"fullscreenStateChange",7),this.mapView=void 0,this.fullscreenWidget=void 0}Fullscreen;_fullscreenElement;_fullscreenStateChangeHandle;reactiveUtils;async mapViewWatchHandler(){await this.mapView.when((async()=>{await this._initFullscreenWidget()}))}fullscreenStateChange;async componentWillLoad(){await this._initModules()}render(){return s(e,{key:"50488298d31b85071bb8ec898781b8af52a800ae"},s("div",{key:"24b4c28cd69ce487c851412a839f6762ceaf02b1",class:"fullscreen-widget",ref:t=>{this._fullscreenElement=t}}))}async componentDidUpdate(){await this._initFullscreenWidget()}async componentDidLoad(){await this._initFullscreenWidget()}async _initModules(){const[t,i]=await h(["esri/widgets/Fullscreen","esri/core/reactiveUtils"]);this.Fullscreen=t,this.reactiveUtils=i}async _initFullscreenWidget(){this.mapView&&this._fullscreenElement&&!this.fullscreenWidget?(this.fullscreenWidget=new this.Fullscreen({view:this.mapView}),await this.fullscreenWidget.when((()=>{this._fullscreenStateChangeHandle&&this._fullscreenStateChangeHandle.remove(),this._fullscreenStateChangeHandle=this.reactiveUtils.watch((()=>this.fullscreenWidget.viewModel.state),(t=>this.fullscreenStateChange.emit(t)))}))):this.fullscreenWidget&&(this.fullscreenWidget.view=this.mapView)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};r.style=":host{display:block}";const l=class{constructor(i){t(this,i),this.mapView=void 0,this.legendWidget=void 0}get el(){return i(this)}Legend;_legendElement;async mapViewWatchHandler(){await this.mapView.when((()=>{this._initLegend(this.mapView)}))}async componentWillLoad(){return this._initModules()}render(){return s(e,{key:"60b355f71d25b3c683f6218941e342899006d839"},s("div",{key:"7686d302e16fd42cd26777d14c682dc0e951c058",ref:t=>{this._legendElement=t}}))}async componentDidLoad(){this.mapView&&await this.mapViewWatchHandler()}async _initModules(){const[t]=await h(["esri/widgets/Legend"]);this.Legend=t}_initLegend(t){t&&this.Legend&&(this.legendWidget?this.legendWidget.view=t:this.legendWidget=new this.Legend({container:this._legendElement,respectLayerDefinitionExpression:!0,view:t}))}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};l.style=":host{display:block}";const d=class{constructor(i){t(this,i),this.beforeMapInfoChange=a(this,"beforeMapInfoChange",7),this.mapInfoChange=a(this,"mapInfoChange",7),this.locale=void 0,this.mapInfos=[],this.isMapLayout=void 0,this._mapListExpanded=!1,this._translations=void 0,this._webMapInfo=void 0}get el(){return i(this)}_list;_loadedId="";_skipEditCheck=!1;_webMapInfoWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&(this._loadedId=t?.id,this.mapInfoChange.emit(t))}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapInfosWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._webMapSelected(t[0])}async setMapByID(t,i=!1){this._skipEditCheck=i;const s=this.mapInfos?.filter((i=>i.id===t));t&&s?.length>0&&this._webMapSelected(s[0]),this._skipEditCheck=!1}async close(){this._mapListExpanded&&(this._mapListExpanded=!1)}async toggle(t){this._mapListExpanded=t}beforeMapInfoChange;mapInfoChange;async componentWillLoad(){await this._getTranslations()}render(){return s(e,{key:"a16cef5d3d16de605f51ce77450365e8c7f5ba08"},this._getToolbar(),this._getMapNameList(this._mapListExpanded))}async componentDidLoad(){const t=this.mapInfos&&this.mapInfos.length>0?this.mapInfos[0]:void 0;t&&this._webMapSelected(t)}_getMapPicker(){const t="map-picker-expand-toggle";return s("div",{class:"width-full"},s("calcite-button",{alignment:"icon-end-space-between",appearance:"transparent",class:"width-full height-full",iconEnd:this._mapListExpanded?"chevron-up":"chevron-down",iconStart:"map",id:t,kind:"neutral",onClick:()=>this._chooseMap(),width:"full"},this._webMapInfo?.name),s("calcite-tooltip",{placement:"bottom","reference-element":t},s("span",null,this._translations.switchMap)))}_getToolbar(){return s("div",{class:"display-flex border-right"},s("calcite-action-bar",{class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:"header"},this._getMapPicker()))}_getMapNameList(t){return s("div",{class:t?"map-list border-bottom-1 adjusted-height "+(this.isMapLayout?"width-26":"width-full"):"display-none"},s("calcite-list",{id:"mapList",label:"",ref:t=>this._list=t,selectionAppearance:"border",selectionMode:"single"},this.mapInfos.map((t=>s("calcite-list-item",{label:t.name,onClick:()=>this._webMapSelected(t),selected:t.id===this._loadedId,value:t.id})))))}_webMapSelected(t){const i=this._loadedId;this._loadedId=t.id,this._skipEditCheck?this._webMapInfo=t:this.beforeMapInfoChange.emit({currentId:i,mapInfo:t,ref:this.el}).defaultPrevented||(this._webMapInfo=t),this._mapListExpanded=!1}_chooseMap(){this._mapListExpanded=!this._mapListExpanded}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{_webMapInfo:["_webMapInfoWatchHandler"],locale:["localeWatchHandler"],mapInfos:["mapInfosWatchHandler"]}}};d.style=":host{display:block;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100%}.width-26{width:26% !important}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.border-right{border-right:1px solid var(--calcite-color-border-3)}.action-bar-size{height:51px;width:100%}.map-list{position:absolute;display:flex;flex-direction:column;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-color-background);z-index:1000;width:100%;height:-moz-fit-content;height:fit-content}.display-none{display:none}.align-center{align-items:center}.adjusted-height{max-height:calc(100% - 52px);overflow-y:auto}";const p=class{constructor(i){t(this,i),this.mapView=void 0,this.popupEnabled=!1,this.resultGraphicEnabled=!1,this.searchConfiguration=void 0,this.searchTerm=void 0,this.searchWidget=void 0}FeatureLayer;Search;_searchElement;_searchResult;async watchSearchConfigurationHandler(){this._initSearchWidget()}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initSearchWidget()}))}async componentWillLoad(){await this._initModules()}async componentDidLoad(){return this._initSearchWidget()}render(){return s(e,{key:"fec180c41817a6388f5fdb3f14b72355cbbb1467"},s("div",{key:"72b3931995d7157572d54069e73fb6bd95eb6f44",class:"search-widget",ref:t=>{this._searchElement=t}}))}async _initModules(){const[t,i]=await h(["esri/widgets/Search","esri/layers/FeatureLayer"]);this.Search=t,this.FeatureLayer=i}_initSearchWidget(){if(this.mapView&&this._searchElement&&!this.searchWidget){let t={view:this.mapView,container:this._searchElement,searchTerm:this.searchTerm};this.searchConfiguration&&(t={...this._getSearchConfig(this.searchConfiguration,this.mapView)}),this.searchWidget=new this.Search(t),this.searchWidget.popupEnabled=this.popupEnabled,this.searchWidget.resultGraphicEnabled=this.resultGraphicEnabled}else this.searchWidget&&(this.searchWidget.view=this.mapView)}_getSearchConfig(t,i){const s=t.sources;return s?.length>0?(t.includeDefaultSources=!1,s.forEach((t=>{if(t.hasOwnProperty("layer")){const s=t,e=s.layer?.id,a=e?i.map.findLayerById(e):null,h=s?.layer?.url;a?s.layer=a:h&&(s.layer=new this.FeatureLayer(h))}})),s?.forEach((t=>{if(t.hasOwnProperty("locator")){const i=t;"ArcGIS World Geocoding Service"===i?.name&&(i.outFields=i.outFields||["Addr_type","Match_addr","StAddr","City"],i.singleLineFieldName="SingleLine"),i.url=i.url,delete i.url}}))):t={...t,includeDefaultSources:!0},t}static get watchers(){return{searchConfiguration:["watchSearchConfigurationHandler"],mapView:["mapViewWatchHandler"]}}};p.style=":host{display:block}.search-widget{width:100% !important;border:1px solid var(--calcite-color-border-input)}";const m=class{constructor(i){t(this,i),this.basemapConfig=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableSearch=void 0,this.enableBasemap=void 0,this.enableHome=void 0,this.enableSingleExpand=void 0,this.homeZoomToolsSize="m",this.layout="vertical",this.locale=void 0,this.mapView=void 0,this.mapWidgetsSize="m",this.position="top-right",this.searchConfiguration=void 0,this.stackTools=!0,this.toolOrder=void 0,this._hasFloorInfo=!1,this._translations=void 0,this._showTools=!0,this._showBasemapWidget=!1,this._showFloorFilter=!1,this._showFullscreen=!1,this._showLegendWidget=!1,this._showSearchWidget=!1}get el(){return i(this)}Expand;_basemapElement;_floorFilterElement;_fullscreenElement;_legendElement;_searchElement;_widgets=[];async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((()=>{this._hasFloorInfo=this.mapView?.map?.floorInfo}))}async _showBasemapWidgetWatchHandler(t){t?this.mapView.ui.add(this._basemapElement.basemapWidget,{position:this.position,index:1}):this.mapView.ui.remove(this._basemapElement.basemapWidget)}async _showFloorFilterWatchHandler(t){const i=this._floorFilterElement.floorFilterWidget;t?this.mapView.ui.add(i,{position:this.position,index:1}):this.mapView.ui.remove(i)}async _showFullscreenWatchHandler(t){const i=this._fullscreenElement.fullscreenWidget;t?"ready"===i.viewModel.state&&i.viewModel.enter():"active"===i.viewModel.state&&i.viewModel.exit()}async _showLegendWidgetWatchHandler(t){t?this.mapView.ui.add(this._legendElement.legendWidget,{position:this.position,index:1}):this.mapView.ui.remove(this._legendElement.legendWidget)}async _showSearchWidgetWatchHandler(t){t?this.mapView.ui.add(this._searchElement.searchWidget,{position:this.position,index:1}):this.mapView.ui.remove(this._searchElement.searchWidget)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){this._setZoomToolsSize();const t=this._showTools?"":"display-none",i=this._showSearchWidget?"":"display-none",a=this._showBasemapWidget?"":"display-none",h=this._showLegendWidget?"":"display-none",n=this._showFloorFilter?"":"display-none",o=this._showFullscreen?"":"display-none",c=this.enableSingleExpand?"margin-top-1-2":"",r=this.toolOrder?this.toolOrder:["legend","search","fullscreen","floorfilter"],l=this.stackTools?"box-shadow":"";return s(e,{key:"4630a876708781097e02cf1aa94a3f77e30c0fee"},s("div",{key:"28be602bad246ef82214f3724aaf5f8480473456",class:this.enableBasemap||this.enableFullscreen||this.enableLegend||this.enableSearch?"":"display-none"},this.enableSingleExpand?s("div",{class:"box-shadow"},this._getActionGroup(this._showTools?"chevrons-up":"chevrons-down",!1,this._showTools?this._translations.collapse:this._translations.expand,(()=>this._toggleTools()))):void 0,s("div",{key:"25694e233efe5b917f0a4b25cc4c707c0584cae4",class:`${c} ${l} ${t}`},this._getMapWidgets(r))),s("basemap-gallery",{key:"db1c9cd3e1851957f9be86d43dc94355f6894a26",basemapConfig:this.basemapConfig,class:a,mapView:this.mapView,ref:t=>{this._basemapElement=t}}),s("map-search",{key:"558c28360b5e295a886becff4a07c5ec3d22c570",class:i,mapView:this.mapView,ref:t=>{this._searchElement=t},resultGraphicEnabled:!0,searchConfiguration:this.searchConfiguration}),s("map-legend",{key:"8e9a8c3e0619773b10ed51543717c2c63d7caa7a",class:h,mapView:this.mapView,ref:t=>{this._legendElement=t}}),s("map-fullscreen",{key:"0fba4904ba25f4122e57dc77f3bc64f2bd59d7c1",class:o,mapView:this.mapView,onFullscreenStateChange:t=>this._fullscreenStateChange(t.detail),ref:t=>{this._fullscreenElement=t}}),s("floor-filter",{key:"696d3bc16a3464770e96a45af8224537550c90a2",class:n,enabled:this.enableFloorFilter,mapView:this.mapView,ref:t=>{this._floorFilterElement=t}}))}async _initModules(){const[t]=await h(["esri/widgets/Expand"]);this.Expand=t}_setZoomToolsSize(){const t=document.getElementsByClassName("esri-zoom")[0]?.children[0],i=document.getElementsByClassName("esri-zoom")[0]?.children[1];if(t&&i){const s="s"===this.homeZoomToolsSize?"32px":"m"===this.homeZoomToolsSize?"40px":"48px";t.style.width=s,t.style.height=s,i.style.width=s,i.style.height=s}}_getMapWidgets(t){const i=this._showFullscreen?"full-screen-exit":"full-screen",s=this._showFullscreen?this._translations.exitFullscreen:this._translations.enterFullscreen;return t.map((t=>{switch(t){case"legend":return this.enableLegend&&this.enableSingleExpand?this._getActionGroup("legend",!1,this._translations.legend,(()=>this._showLegend())):this.enableLegend?this._getWidget(t,this._legendElement?.legendWidget,!0):void 0;case"search":return this.enableSearch&&this.enableSingleExpand?this._getActionGroup("magnifying-glass",!1,this._translations.search,(()=>this._search())):this.enableSearch?this._getWidget(t,this._searchElement?.searchWidget,!0):void 0;case"fullscreen":return this.enableFullscreen&&this.enableSingleExpand?this._getActionGroup(i,!1,s,(()=>this._expand())):this.enableFullscreen?this._getWidget(t,this._fullscreenElement?.fullscreenWidget,!1):void 0;case"basemap":return this.enableBasemap&&this.enableSingleExpand?this._getActionGroup("basemap",!1,this._translations.basemap,(()=>this._toggleBasemapPicker())):this.enableBasemap?this._getWidget(t,this._basemapElement?.basemapWidget,!0):void 0;case"floorfilter":return this.enableFloorFilter&&this._hasFloorInfo&&this.enableSingleExpand?this._getActionGroup("urban-model",!1,this._translations.floorFilter,(()=>this._toggleFloorFilter())):this.enableFloorFilter&&this._hasFloorInfo?this._getWidget(t,this._floorFilterElement?.floorFilterWidget,!0):void 0}}))}_fullscreenStateChange(t){"ready"===t&&this._showFullscreen?this._showFullscreen=!1:"active"!==t||this._showFullscreen||(this._showFullscreen=!0)}_getActionGroup(t,i,e,a){return s("div",null,s("calcite-action",{alignment:"center",class:`${"s"===this.mapWidgetsSize?"square-32":"m"===this.mapWidgetsSize?"square-40":"square-48"} ${this.stackTools?"":"margin-bottom-1-2"} border-bottom ${this.stackTools?"":"box-shadow"}`,disabled:i,icon:t,id:t,onClick:a,scale:"s",text:""},s("calcite-icon",{icon:"cheveron-up",scale:"s",slot:"icon"})),s("calcite-tooltip",{label:"",placement:"trailing","reference-element":t},s("span",null,e)))}_getWidget(t,i,s){if(this._widgets.indexOf(t)<0&&this.mapView&&i){const e=this.toolOrder.indexOf(t),a=new this.Expand({view:this.mapView,content:i});this.mapView.ui.add(s?a:i,{position:this.position,index:e>-1?e+(this.enableHome?2:1):1}),this._widgets.push(t)}}_showLegend(){this._showLegendWidget=!this._showLegendWidget,this._showTools=!1}_search(){this._showSearchWidget=!this._showSearchWidget,this._showTools=!1}_toggleBasemapPicker(){this._showBasemapWidget=!this._showBasemapWidget,this._showTools=!1}_toggleFloorFilter(){this._showFloorFilter=!this._showFloorFilter,this._showTools=!1}_expand(){this._showFullscreen=!this._showFullscreen}_toggleTools(){this._showTools||(this._showBasemapWidget=!1,this._showSearchWidget=!1,this._showLegendWidget=!1,this._showFloorFilter=!1),this._showTools=!this._showTools}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],_showBasemapWidget:["_showBasemapWidgetWatchHandler"],_showFloorFilter:["_showFloorFilterWatchHandler"],_showFullscreen:["_showFullscreenWatchHandler"],_showLegendWidget:["_showLegendWidgetWatchHandler"],_showSearchWidget:["_showSearchWidgetWatchHandler"]}}};m.style=":host{display:block}.display-none{display:none}.margin-top-1-2{margin-top:0.5rem}.square-32{width:32px;height:32px}.square-40{width:40px;height:40px}.square-48{width:48px;height:48px}.width-40{width:40px}.square-40-41{width:40px;height:41px}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.box-shadow{box-shadow:0 1px 2px rgba(0, 0, 0, 0.3)}.margin-bottom-1-2{margin-bottom:0.5rem}";export{o as basemap_gallery,c as floor_filter,r as map_fullscreen,l as map_legend,d as map_picker,p as map_search,m as map_tools}
|