@esri/solutions-components 0.11.16 → 0.11.17
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-ccb3278b.js → asyncToGenerator-c7fc3ee4.js} +1 -1
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +3 -3
- package/dist/cjs/buffer-tools_2.cjs.entry.js +5 -5
- package/dist/cjs/card-manager_3.cjs.entry.js +19 -11
- package/dist/cjs/consent-manager.cjs.entry.js +5 -5
- package/dist/cjs/create-feature_4.cjs.entry.js +7 -7
- package/dist/cjs/create-related-feature_3.cjs.entry.js +4 -4
- package/dist/cjs/crowdsource-manager.cjs.entry.js +16 -10
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +5 -5
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/delete-dialog.cjs.entry.js +3 -3
- package/dist/cjs/{downloadUtils-9de366bc.js → downloadUtils-88ec0e88.js} +5 -5
- package/dist/cjs/{effects-78c31457.js → effects-3607d1ba.js} +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +7 -7
- package/dist/cjs/{helpers-67a2c953.js → helpers-a65cb83a.js} +3 -3
- package/dist/cjs/{index-b936ec03.js → index-2c21082d.js} +24 -17
- package/dist/cjs/{index-b2821254.js → index-90ef3c01.js} +1 -1
- package/dist/cjs/{index.es-0441a948.js → index.es-3c2404c3.js} +2 -2
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-create.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-export.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-header.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-splash.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +7 -7
- package/dist/cjs/json-editor_7.cjs.entry.js +5 -5
- package/dist/cjs/{languageSwitcher-e2118cc6.js → languageSwitcher-19a22439.js} +1 -1
- package/dist/cjs/{languageUtil-f22ce913.js → languageUtil-a3e1eafd.js} +1 -1
- package/dist/cjs/{loadModules-accd5295.js → loadModules-e9d8977c.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{locale-e2a974ae.js → locale-0a273172.js} +3 -3
- package/dist/cjs/{locale-8017d061.js → locale-c09e93fb.js} +2 -2
- package/dist/cjs/map-layer-picker.cjs.entry.js +6 -6
- package/dist/cjs/map-select-tools_3.cjs.entry.js +8 -8
- package/dist/cjs/{mapViewUtils-18c46b84.js → mapViewUtils-319df9ec.js} +1 -1
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/{popupUtils-3b069427.js → popupUtils-ca1127aa.js} +2 -2
- package/dist/cjs/public-notification.cjs.entry.js +8 -8
- package/dist/cjs/{publicNotificationStore-76755c44.js → publicNotificationStore-ee00411f.js} +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +5 -5
- package/dist/cjs/solution-contents_3.cjs.entry.js +5 -5
- package/dist/cjs/solution-item-accordion.cjs.entry.js +6 -5
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/{solution-store-a2a8422d.js → solution-store-6208ce28.js} +1 -1
- package/dist/cjs/solutions-components.cjs.js +2 -2
- package/dist/cjs/spatial-ref.cjs.entry.js +3 -3
- package/dist/cjs/store-manager.cjs.entry.js +3 -3
- package/dist/cjs/{utils-0f287cfa.js → utils-30344ce0.js} +2 -2
- package/dist/collection/assets/t9n/consent-manager/resources_ar.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_bg.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_bs.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_ca.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_cs.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_da.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_de.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_el.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_es.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_et.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_fi.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_fr.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_he.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_hr.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_hu.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_id.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_it.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_ja.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_ko.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_lt.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_lv.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_nb.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_nl.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_pl.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_pt-BR.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_pt-PT.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_ro.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_ru.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_sk.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_sl.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_sr.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_sv.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_th.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_tr.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_uk.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_vi.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_zh-CN.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_zh-HK.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_zh-TW.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_pt-BR.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources.json +3 -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_en.json +3 -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_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/edit-card/resources_fr.json +1 -1
- package/dist/collection/assets/t9n/feature-list/resources_ar.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_bg.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_bs.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ca.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_cs.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_da.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_de.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_el.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_es.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_et.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_fi.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_fr.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_he.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_hr.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_hu.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_id.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_it.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ja.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ko.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_lt.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_lv.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_nb.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_nl.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_pl.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_pt-BR.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_pt-PT.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ro.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ru.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_sk.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_sl.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_sr.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_sv.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_th.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_tr.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_uk.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_vi.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_zh-CN.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_zh-HK.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_zh-TW.json +3 -1
- package/dist/collection/assets/t9n/info-card/resources_et.json +1 -1
- package/dist/collection/assets/t9n/info-card/resources_ko.json +1 -1
- package/dist/collection/assets/t9n/info-card/resources_pt-PT.json +1 -1
- package/dist/collection/assets/t9n/info-card/resources_ru.json +1 -1
- package/dist/collection/assets/t9n/info-card/resources_sk.json +1 -1
- package/dist/collection/assets/t9n/info-card/resources_vi.json +1 -1
- package/dist/collection/assets/t9n/info-card/resources_zh-CN.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_ar.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_bg.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_bs.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_ca.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_cs.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_da.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_de.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_el.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_es.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_et.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_fi.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_fr.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_he.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_hr.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_hu.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_id.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_it.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_ja.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_ko.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_lt.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_lv.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_nb.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_nl.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_pl.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_pt-BR.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_pt-PT.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_ro.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_ru.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_sk.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_sl.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_sr.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_sv.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_th.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_tr.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_uk.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_vi.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_zh-CN.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_zh-HK.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_zh-TW.json +1 -1
- package/dist/collection/assets/t9n/map-select-tools/resources_zh-HK.json +1 -1
- package/dist/collection/assets/t9n/map-select-tools/resources_zh-TW.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ar.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_bg.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_bs.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ca.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_cs.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_da.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_de.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_el.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_es.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_et.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_fi.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_fr.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_he.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_hr.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_hu.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_id.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_it.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ja.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ko.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_lt.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_lv.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_nb.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_nl.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_pl.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_pt-BR.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_pt-PT.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ro.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ru.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_sk.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_sl.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_sr.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_sv.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_th.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_tr.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_uk.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_vi.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-CN.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-HK.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-TW.json +3 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +12 -6
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
- package/dist/collection/components/layer-table/layer-table.js +13 -5
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +8 -3
- package/dist/collection/demos/crowdsource-manager.html +1 -0
- package/dist/collection/utils/mapViewUtils.js +1 -1
- package/dist/collection/utils/mapViewUtils.ts +1 -1
- package/dist/components/crowdsource-manager.js +12 -6
- package/dist/components/crowdsource-reporter.js +1 -1
- package/dist/components/layer-table2.js +13 -5
- package/dist/components/mapViewUtils.js +1 -1
- package/dist/components/solution-item-accordion.js +3 -2
- package/dist/esm/{asyncToGenerator-48cd21fe.js → asyncToGenerator-96b2368d.js} +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +3 -3
- package/dist/esm/buffer-tools_2.entry.js +5 -5
- package/dist/esm/card-manager_3.entry.js +19 -11
- package/dist/esm/consent-manager.entry.js +5 -5
- package/dist/esm/create-feature_4.entry.js +7 -7
- package/dist/esm/create-related-feature_3.entry.js +4 -4
- package/dist/esm/crowdsource-manager.entry.js +16 -10
- package/dist/esm/crowdsource-reporter.entry.js +5 -5
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/delete-dialog.entry.js +3 -3
- package/dist/esm/{downloadUtils-992b4e25.js → downloadUtils-22a8f2d8.js} +5 -5
- package/dist/esm/{effects-45daffc6.js → effects-38bc1195.js} +1 -1
- package/dist/esm/feature-list.entry.js +7 -7
- package/dist/esm/{helpers-38ea1ae1.js → helpers-77bdd30e.js} +3 -3
- package/dist/esm/{index-000c7a7c.js → index-3702583a.js} +24 -17
- package/dist/esm/{index-f7533fcc.js → index-6de7c296.js} +1 -1
- package/dist/esm/{index.es-c379ea10.js → index.es-87662946.js} +2 -2
- package/dist/esm/instant-apps-app-guide.entry.js +5 -5
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +7 -7
- package/dist/esm/instant-apps-control-panel.entry.js +3 -3
- package/dist/esm/instant-apps-create.entry.js +5 -5
- package/dist/esm/instant-apps-export-views.entry.js +5 -5
- package/dist/esm/instant-apps-export.entry.js +5 -5
- package/dist/esm/instant-apps-filter-list_2.entry.js +5 -5
- package/dist/esm/instant-apps-header.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +6 -6
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +6 -6
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +6 -6
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +6 -6
- package/dist/esm/instant-apps-interactive-legend.entry.js +8 -8
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +5 -5
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +8 -8
- package/dist/esm/instant-apps-language-translator.entry.js +8 -8
- package/dist/esm/instant-apps-measurement-tool.entry.js +3 -3
- package/dist/esm/instant-apps-measurement.entry.js +5 -5
- package/dist/esm/instant-apps-popover.entry.js +5 -5
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +5 -5
- package/dist/esm/instant-apps-sign-in.entry.js +5 -5
- package/dist/esm/instant-apps-splash.entry.js +5 -5
- package/dist/esm/instant-apps-time-filter.entry.js +7 -7
- package/dist/esm/json-editor_7.entry.js +5 -5
- package/dist/esm/{languageSwitcher-446c6fe7.js → languageSwitcher-49bad3f4.js} +1 -1
- package/dist/esm/{languageUtil-a3e6adf6.js → languageUtil-2b6e191a.js} +1 -1
- package/dist/esm/{loadModules-736e0284.js → loadModules-947ccfd4.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{locale-8a3e6795.js → locale-aa656a2c.js} +2 -2
- package/dist/esm/{locale-5b76949e.js → locale-b0016f8e.js} +3 -3
- package/dist/esm/map-layer-picker.entry.js +6 -6
- package/dist/esm/map-select-tools_3.entry.js +8 -8
- package/dist/esm/{mapViewUtils-f54edae3.js → mapViewUtils-a854e298.js} +1 -1
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/{popupUtils-12e61a9a.js → popupUtils-1314cb13.js} +2 -2
- package/dist/esm/public-notification.entry.js +8 -8
- package/dist/esm/{publicNotificationStore-e5306ea6.js → publicNotificationStore-70219049.js} +1 -1
- package/dist/esm/solution-configuration.entry.js +5 -5
- package/dist/esm/solution-contents_3.entry.js +5 -5
- package/dist/esm/solution-item-accordion.entry.js +6 -5
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/{solution-store-26e3d8c6.js → solution-store-2493275a.js} +1 -1
- package/dist/esm/solutions-components.js +3 -3
- package/dist/esm/spatial-ref.entry.js +3 -3
- package/dist/esm/store-manager.entry.js +3 -3
- package/dist/esm/{utils-793f7261.js → utils-68015f9d.js} +2 -2
- package/dist/solutions-components/assets/t9n/consent-manager/resources_ar.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_bg.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_bs.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_ca.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_cs.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_da.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_de.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_el.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_es.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_et.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_fi.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_fr.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_he.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_hr.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_hu.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_id.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_it.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_ja.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_ko.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_lt.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_lv.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_nb.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_nl.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_pl.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_pt-BR.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_pt-PT.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_ro.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_ru.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_sk.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_sl.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_sr.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_sv.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_th.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_tr.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_uk.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_vi.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_zh-CN.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_zh-HK.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_zh-TW.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_pt-BR.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources.json +3 -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_en.json +3 -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_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/edit-card/resources_fr.json +1 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ar.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_bg.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_bs.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ca.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_cs.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_da.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_de.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_el.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_es.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_et.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_fi.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_fr.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_he.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_hr.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_hu.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_id.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_it.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ja.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ko.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_lt.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_lv.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_nb.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_nl.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_pl.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_pt-BR.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_pt-PT.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ro.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ru.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_sk.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_sl.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_sr.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_sv.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_th.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_tr.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_uk.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_vi.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_zh-CN.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_zh-HK.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_zh-TW.json +3 -1
- package/dist/solutions-components/assets/t9n/info-card/resources_et.json +1 -1
- package/dist/solutions-components/assets/t9n/info-card/resources_ko.json +1 -1
- package/dist/solutions-components/assets/t9n/info-card/resources_pt-PT.json +1 -1
- package/dist/solutions-components/assets/t9n/info-card/resources_ru.json +1 -1
- package/dist/solutions-components/assets/t9n/info-card/resources_sk.json +1 -1
- package/dist/solutions-components/assets/t9n/info-card/resources_vi.json +1 -1
- package/dist/solutions-components/assets/t9n/info-card/resources_zh-CN.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ar.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_bg.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_bs.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ca.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_cs.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_da.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_de.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_el.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_es.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_et.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_fi.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_fr.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_he.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_hr.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_hu.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_id.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_it.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ja.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ko.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_lt.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_lv.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_nb.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_nl.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_pl.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_pt-BR.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_pt-PT.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ro.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ru.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sk.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sl.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sr.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sv.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_th.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_tr.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_uk.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_vi.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_zh-CN.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_zh-HK.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_zh-TW.json +1 -1
- package/dist/solutions-components/assets/t9n/map-select-tools/resources_zh-HK.json +1 -1
- package/dist/solutions-components/assets/t9n/map-select-tools/resources_zh-TW.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ar.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_bg.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_bs.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ca.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_cs.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_da.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_de.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_el.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_es.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_et.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_fi.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_fr.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_he.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_hr.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_hu.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_id.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_it.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ja.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ko.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_lt.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_lv.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_nb.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_nl.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pl.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pt-BR.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pt-PT.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ro.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ru.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sk.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sl.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sr.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sv.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_th.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_tr.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_uk.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_vi.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-CN.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-HK.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-TW.json +3 -0
- package/dist/solutions-components/demos/crowdsource-manager.html +1 -0
- package/dist/solutions-components/{p-282a3090.entry.js → p-032d4411.entry.js} +1 -1
- package/dist/solutions-components/{p-a4bd7b09.js → p-08ad0b7a.js} +1 -1
- package/dist/solutions-components/{p-1e364924.js → p-173d5fce.js} +1 -1
- package/dist/solutions-components/{p-3e25c5b0.js → p-174fa218.js} +1 -1
- package/dist/solutions-components/{p-0d311ebf.entry.js → p-1890b884.entry.js} +1 -1
- package/dist/solutions-components/p-1b0588d2.js +7 -0
- package/dist/solutions-components/{p-ae7bcbff.entry.js → p-1ddd7128.entry.js} +1 -1
- package/dist/solutions-components/{p-ff3d2df3.entry.js → p-1dffcc22.entry.js} +1 -1
- package/dist/solutions-components/{p-ff0b00d7.entry.js → p-1fe3577a.entry.js} +1 -1
- package/dist/solutions-components/{p-182a4844.entry.js → p-265f5dc4.entry.js} +1 -1
- package/dist/solutions-components/{p-056d4371.entry.js → p-2b556610.entry.js} +1 -1
- package/dist/solutions-components/{p-d600ca73.entry.js → p-2c8360b4.entry.js} +1 -1
- package/dist/solutions-components/{p-b2a6916d.entry.js → p-2dcf8f00.entry.js} +1 -1
- package/dist/solutions-components/{p-0d879c77.entry.js → p-300ff31e.entry.js} +1 -1
- package/dist/solutions-components/{p-9e92da5e.entry.js → p-335a630e.entry.js} +1 -1
- package/dist/solutions-components/{p-91bb7fdc.js → p-3c3aecdd.js} +1 -1
- package/dist/solutions-components/{p-ea6440fd.js → p-3d20e307.js} +1 -1
- package/dist/solutions-components/{p-75fabd1c.entry.js → p-43d9bb7d.entry.js} +1 -1
- package/dist/solutions-components/{p-b8dde3e5.entry.js → p-4426901e.entry.js} +1 -1
- package/dist/solutions-components/{p-bf007c87.js → p-48942eb8.js} +2 -2
- package/dist/solutions-components/{p-79083691.entry.js → p-4bdd4009.entry.js} +1 -1
- package/dist/solutions-components/{p-b66a3619.entry.js → p-4ebc471b.entry.js} +1 -1
- package/dist/solutions-components/{p-20085e58.js → p-4f514c6d.js} +2 -2
- package/dist/solutions-components/{p-8af77823.entry.js → p-579628d9.entry.js} +1 -1
- package/dist/solutions-components/{p-3ab93412.entry.js → p-5ea1e18b.entry.js} +1 -1
- package/dist/solutions-components/{p-ec7c3f5c.entry.js → p-68d49e1a.entry.js} +1 -1
- package/dist/solutions-components/{p-5474d6f0.entry.js → p-699a9557.entry.js} +1 -1
- package/dist/solutions-components/{p-5c05f28a.entry.js → p-6d62a4fa.entry.js} +1 -1
- package/dist/solutions-components/{p-a1d1dc83.entry.js → p-6da8fe2d.entry.js} +1 -1
- package/dist/solutions-components/{p-f3ee7398.entry.js → p-70036eb6.entry.js} +1 -1
- package/dist/solutions-components/{p-c25ebd5a.entry.js → p-70e8be5c.entry.js} +1 -1
- package/dist/solutions-components/{p-e508cfaf.entry.js → p-7f6cbe61.entry.js} +1 -1
- package/dist/solutions-components/{p-0bb54295.entry.js → p-8107be38.entry.js} +1 -1
- package/dist/solutions-components/{p-a7d18a21.entry.js → p-81ae30bd.entry.js} +1 -1
- package/dist/solutions-components/p-87919d6d.entry.js +6 -0
- package/dist/solutions-components/{p-78051ff1.js → p-89fbc318.js} +1 -1
- package/dist/solutions-components/{p-1309ac58.js → p-8b218ba7.js} +1 -1
- package/dist/solutions-components/{p-20bd829d.entry.js → p-8ea0a36a.entry.js} +1 -1
- package/dist/solutions-components/{p-3ea987a7.js → p-8f7957a2.js} +1 -1
- package/dist/solutions-components/{p-d572627c.js → p-952da957.js} +1 -1
- package/dist/solutions-components/{p-60bdf635.entry.js → p-959cb673.entry.js} +1 -1
- package/dist/solutions-components/{p-e8fa98f5.entry.js → p-9d953313.entry.js} +1 -1
- package/dist/solutions-components/{p-442b2dfb.entry.js → p-a003600b.entry.js} +1 -1
- package/dist/solutions-components/{p-af2c8aa9.js → p-ac122d9e.js} +1 -1
- package/dist/solutions-components/{p-65df6acd.entry.js → p-acd2699e.entry.js} +1 -1
- package/dist/solutions-components/p-afc3ac6d.entry.js +6 -0
- package/dist/solutions-components/p-b37be371.entry.js +6 -0
- package/dist/solutions-components/{p-74b3e39c.entry.js → p-b40b5be5.entry.js} +1 -1
- package/dist/solutions-components/{p-d995adc3.entry.js → p-b560498c.entry.js} +1 -1
- package/dist/solutions-components/{p-fe9c9f03.entry.js → p-bc2548ba.entry.js} +1 -1
- package/dist/solutions-components/{p-5b3ee71d.entry.js → p-bf2598f8.entry.js} +1 -1
- package/dist/solutions-components/{p-ad03f5cf.entry.js → p-ce8377c6.entry.js} +1 -1
- package/dist/solutions-components/{p-62a0aa8e.js → p-d65f8b73.js} +1 -1
- package/dist/solutions-components/{p-6d1ee086.js → p-dc188d13.js} +1 -1
- package/dist/solutions-components/{p-fa639501.js → p-e23b4193.js} +1 -1
- package/dist/solutions-components/{p-1fb25c0c.entry.js → p-e81e2d83.entry.js} +1 -1
- package/dist/solutions-components/{p-c44cbee6.entry.js → p-e85da876.entry.js} +1 -1
- package/dist/solutions-components/{p-ed8f7591.entry.js → p-ea64b72e.entry.js} +1 -1
- package/dist/solutions-components/{p-ffa545ee.entry.js → p-eb97b5ad.entry.js} +1 -1
- package/dist/solutions-components/{p-a23de3b0.js → p-ee2cbba0.js} +1 -1
- package/dist/solutions-components/{p-097bac90.entry.js → p-ee863ffb.entry.js} +1 -1
- package/dist/solutions-components/{p-c421d92d.entry.js → p-f07a02e2.entry.js} +1 -1
- package/dist/solutions-components/{p-c5f701bd.entry.js → p-fa09caf3.entry.js} +1 -1
- package/dist/solutions-components/{p-2010e62e.entry.js → p-ff5db601.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/mapViewUtils.ts +1 -1
- package/dist/solutions-components_commit.txt +8 -5
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +6 -0
- package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +1 -1
- package/dist/types/components.d.ts +1 -1
- package/package.json +17 -17
- package/dist/solutions-components/p-433b34a3.entry.js +0 -6
- package/dist/solutions-components/p-44105d86.entry.js +0 -6
- package/dist/solutions-components/p-8c40bdec.js +0 -7
- package/dist/solutions-components/p-a5618671.entry.js +0 -6
- /package/dist/cjs/{esri-loader-a56cbcbe.js → esri-loader-08dc41bd.js} +0 -0
- /package/dist/cjs/{typeof-920a4426.js → typeof-2a7e2dec.js} +0 -0
- /package/dist/esm/{esri-loader-781d738a.js → esri-loader-c6842c6b.js} +0 -0
- /package/dist/esm/{typeof-2511410e.js → typeof-ef2a007d.js} +0 -0
- /package/dist/solutions-components/{p-6a68306c.js → p-0a24ad5f.js} +0 -0
- /package/dist/solutions-components/{p-af7e43e0.js → p-4fe489cf.js} +0 -0
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as t,c as e,g as i,h as s,H as a,F as h}from"./p-8c40bdec.js";import{l,g as o}from"./p-a23de3b0.js";import{g as n,a as c,b as r,c as d,h as u,d as p,q as m}from"./p-d572627c.js";import"./p-6a68306c.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";const f=class{constructor(i){t(this,i),this.togglePanel=e(this,"togglePanel",7)}get el(){return i(this)}center;commentButtonText;commentSubmittedMessage;defaultWebmap="";description;enableAnonymousAccess;enableAnonymousComments;enableComments;enableHome=!0;enableLogin;enableNewReports;enableSearch=!0;enableZoom=!0;isMobile;layerExpressions=[];layerId;level;locale;loginTitle;mapInfos=[];mapView;objectId;reportButtonText;reportingOptions;reportsHeader;reportSubmittedMessage;searchConfiguration;showComments;showUserImageInCommentsList=!1;showFeatureSymbol=!1;showMyReportsOnly=!1;theme="light";zoomToScale;floorLevel;showFullCommentTitle=!0;_featureCreationFailedErrorMsg;_filterActive=!1;_flowItems=[];_hasValidLayers=!1;_mapInfo;_reportSubmitted=!1;_selectedLayerName;_showSubmitCancelButton=!1;_showLoadingIndicator=!1;_sidePanelCollapsed=!1;_translations;_updatedProgressBarStatus=25;_updatedSorting;_updatedSortOption="sortNewest";_commentSubmitted=!1;_addingCommentFailed=!1;_createFeature;_currentFeatureId;_defaultCenter;_defaultLevel;_editableLayerIds;_featureDetails;_featureList;_currentFeature;_selectedRelatedFeature;_relatedTable;_filterList;_highlightHandle;_layerList;_createRelatedFeature;_layers;_mapChange;_mapClickHandle;reactiveUtils;FeatureFilter;_selectedFeature;_selectedFeatureIndex;_selectedLayerId;_shareNode;_urlParamsLoaded;_validLayers;_nonVisibleValidLayers;_selectedLayer;_layerItemsHash;_showFullPanel;_floorExpression;_formElements=[];_prevSelectedLayerId;_currentLayerExpressions;_initDefExpressions;_t9nLayerExpressions;async isMobileWatchHandler(){this.updatePanelState(!1,this._showFullPanel)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{this.setInitExpressions(),await this.setMapView()}))}async floorLevelWatchHandler(){if(this._editableLayerIds)for(const t of this._editableLayerIds){const e=await n(this.mapView,t);e.floorInfo?.floorField&&this._updateFloorDefinitionExpression(e)}"layer-list"===this._flowItems[this._flowItems.length-1]&&this._layerList&&await this._layerList.refresh(),this._featureList&&this._featureList.refresh(),this._createFeature&&this._createFeature.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),setTimeout((()=>{"layer-list"===this._flowItems[this._flowItems.length-1]&&this._layerList&&this._layerList.refresh(),this._featureList&&this._featureList.refresh()}),50))}async layerExpressionsWatchHandler(){this.resetFilterList(),await this.handleSelectedLayersFilter(),await(this._featureList?.refresh())}async showFeatureSymbolWatchHandler(){await(this._featureList?.refresh())}async updateLayerExpressionsT9n(t){if(this._t9nLayerExpressions=t||this.layerExpressions,null!=this._filterList)await this._filterList.handleUpdatingT9nData(this._t9nLayerExpressions);else if(null!=this._currentLayerExpressions){const t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t}return Promise.resolve()}togglePanel;async componentWillLoad(){this._urlParamsLoaded=!1,await this._initModules(),await this._getTranslations(),await(this.mapView?.when((async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].visible)):[],this.setInitExpressions(),await this.setMapView()})))}componentWillRender(){this._flowItems.includes("filter-panel")&&this._filterList?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions})}render(){const t="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return s(a,{key:"03d613fe8f275852672fb546ceb4449fb82580c0"},this._reportSubmitted&&s("calcite-alert",{key:"969a66978549d6993b1e4fce87bbd2387858cdf8","auto-close":!0,class:t+" report-submitted-msg",icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._reportSubmitted=!1},open:!0,placement:"top"},s("div",{key:"60ae42443e09a97d97a46bba07b1ea010b382348",slot:"message"},this.reportSubmittedMessage?this.reportSubmittedMessage:this._translations.submitMsg)),this._featureCreationFailedErrorMsg&&s("calcite-alert",{key:"bf6c346cf976a4b84da3553230239665c712e2b6","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._featureCreationFailedErrorMsg=""},open:!0,placement:"top"},s("div",{key:"1f9560e18d802a15bcb3e8ea9f05837a4a6fb8aa",slot:"title"},this._translations.error),s("div",{key:"1f5ef09cbf94996eeb5783211ed1542a5cf53e93",slot:"message"},this._featureCreationFailedErrorMsg)),this._commentSubmitted&&s("calcite-alert",{key:"15538e8faabbec476d7586dcc4152b422404c23f","auto-close":!0,class:"report-submitted "+t,icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._commentSubmitted=!1},open:!0,placement:"top"},s("div",{key:"925a9a243a79dfb66554a9a51f24396ca2b71c98",slot:"message"},this.commentSubmittedMessage||this._translations.commentSubmittedMsg)),this._addingCommentFailed&&s("calcite-alert",{key:"62c63d3b1c51bdc7879e815e2b2f4d3c4d039c4c","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._addingCommentFailed=!1},open:!0,placement:"top"},s("div",{key:"971f07331a8689b859f2cedc96ba3589a3ad3e16",slot:"title"},this._translations.error),s("div",{key:"1627f1ab5c4a4aceb7bdb70471aed6b8ca6d67b8",slot:"message"},this._translations.addingCommentFailedMsg)),s("div",{key:"b3257ba523357b4444ce7da7d13a86f6b71185d9"},s("calcite-shell",{key:"35fc5a814528bb0acc22919839719bb4349e9ae4","content-behind":!0},this._getReporter())))}async _initModules(){const[t,e]=await l(["esri/core/reactiveUtils","esri/layers/support/FeatureFilter"]);this.reactiveUtils=t,this.FeatureFilter=e}async setSelectedLayer(t,e){this._selectedLayerId=t,this._selectedLayer=await n(this.mapView,t),this._selectedLayerName=e,this._validLayers.forEach((e=>{this._nonVisibleValidLayers.find((t=>t.id===e.id))||e.set("visible",!t||e.id===t)}))}_getLayersConfig(t){return this.reportingOptions&&this.reportingOptions[t]?this.reportingOptions[t]:null}_getReporter(){const t=[];return this._flowItems.forEach((e=>{switch(e){case"layer-list":t.push(this.getLayerListFlowItem());break;case"feature-list":t.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":t.push(this.getFilterPanel());break;case"feature-details":t.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":t.push(this.getChooseCategoryFlowItem());break;case"feature-create":t.push(this.getFeatureCreateFlowItem());break;case"comment-details":t.push(this.getCommentDetailsFlowItem());break;case"add-comment":t.push(this.getAddCommentFlowItem())}})),s("calcite-panel",{class:"width-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},this.mapView?s("calcite-flow",null,t?.length>0&&t):s("calcite-loader",{label:"",scale:"m"}))}async sortOptionClick(t,e,i){this._updatedSorting={field:t,order:e},this._updatedSortOption=i}_toggleSort(){const t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return s("calcite-popover",{autoClose:!0,label:"",offsetDistance:0,placement:this.isMobile?"leading-start":"bottom-start",pointerDisabled:!0,referenceElement:"sort-popover"},s("calcite-list",{label:"","selection-mode":"single"},s("calcite-list-item",{label:this._translations.sortNewest,onCalciteListItemSelect:()=>{this.sortOptionClick(this._selectedLayer.objectIdField,"desc","sortNewest")},selected:"sortNewest"===this._updatedSortOption,value:"sortNewest"}),s("calcite-list-item",{label:this._translations.sortOldest,onCalciteListItemSelect:()=>{this.sortOptionClick(this._selectedLayer.objectIdField,"asc","sortOldest")},selected:"sortOldest"===this._updatedSortOption,value:"sortOldest"}),t&&s(h,null,s("calcite-list-item",{label:this._translations.sortHighestVoted,onCalciteListItemSelect:()=>{this.sortOptionClick(this.reportingOptions[this._selectedLayerId].likeField,"desc","sortHighestVoted")},selected:"sortHighestVoted"===this._updatedSortOption,value:"sortHighestVoted"}),s("calcite-list-item",{label:this._translations.sortLowestVoted,onCalciteListItemSelect:()=>{this.sortOptionClick(this.reportingOptions[this._selectedLayerId].likeField,"asc","sortLowestVoted")},selected:"sortLowestVoted"===this._updatedSortOption,value:"sortLowestVoted"}))))}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(t){this._showLoadingIndicator=!0,this._filterActive=t,await this._featureList.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportsHeader,selected:"layer-list"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),this._hasValidLayers&&this.enableNewReports&&s("calcite-button",{appearance:"solid",onClick:this.navigateToChooseCategory.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),s("calcite-panel",{"full-height":!0,"full-width":!0},s("layer-list",{applyLayerViewFilter:this.showMyReportsOnly,class:"height-full",layers:this._editableLayerIds?.length>0?this._editableLayerIds:this._layers,locale:this.locale,mapView:this.mapView,onLayerSelect:this.displayFeaturesList.bind(this),onLayersListLoaded:this.layerListLoaded.bind(this),ref:t=>this._layerList=t,showFeatureCount:!0,showNextIcon:!0})))}getChooseCategoryFlowItem(){const t=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd)):[];return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"reporting-layer-list"===this._flowItems[this._flowItems.length-1]},s("calcite-panel",{"full-height":!0,"full-width":!0},s("div",{class:"progress-bar"},s("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),s("calcite-notice",{class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},s("div",{slot:"message"},this._translations.chooseCategoryMsg)),s("layer-list",{class:"height-full",layers:t,locale:this.locale,mapView:this.mapView,onLayerSelect:this.navigateToCreateFeature.bind(this),showFeatureCount:!1,showNextIcon:!1})))}getFeatureCreateFlowItem(){return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,onCalciteFlowItemBack:this.backFromCreateFeaturePanel.bind(this),selected:"feature-create"===this._flowItems[this._flowItems.length-1]},this._showSubmitCancelButton&&s("div",{class:"width-full",slot:"footer"},s("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onCreateFeatureSubmitButtonClick.bind(this),width:"full"},this._translations.submit),s("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateFeaturePanel.bind(this),width:"full"},this._translations.cancel)),s("calcite-panel",{"full-height":!0,"full-width":!0},s("div",{class:"progress-bar"},s("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),s("create-feature",{customizeSubmit:!0,enableSearch:!0,floorLevel:this.floorLevel,formElements:this._formElements.find((t=>t.id===this._selectedLayerId)),isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onDrawComplete:this.onFormReady.bind(this),onEditingAttachment:this.showSubmitCancelButton.bind(this),onFail:this.createFeatureFailed.bind(this),onModeChanged:this.backFromCreateFeaturePanel.bind(this),onProgressStatus:this.updatedProgressStatus.bind(this),onSuccess:this.onReportSubmitted.bind(this),ref:t=>this._createFeature=t,searchConfiguration:this.searchConfiguration,selectedLayerId:this._selectedLayerId})))}updatedProgressStatus(t){this._updatedProgressBarStatus=t.detail}onFormReady(){this._showSubmitCancelButton=!0}showSubmitCancelButton(t){this._showSubmitCancelButton=!t.detail}onCreateFeatureSubmitButtonClick(){this._createFeature&&this._createFeature.submit()}backFromCreateFeaturePanel(){this._createFeature&&this.updateNonVisibleLayersOnMap(!1),this.backFromSelectedPanel()}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature&&this._createRelatedFeature.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(t){console.error(t.detail),this._featureCreationFailedErrorMsg=t.detail.message}async onReportSubmitted(){this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(t){console.error(t.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromSelectedPanel(),this._showLoadingIndicator=!0,await this._featureDetails.refresh(this._currentFeature),setTimeout((()=>{this._showLoadingIndicator=!1}),300)}async navigateToHomePage(){await this.setSelectedFeatures([]),this._layerList&&await this._layerList.refresh(),1===this._editableLayerIds.length?(await this._featureList.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(t){t.detail.layerId&&t.detail.layerName&&await this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(t){this._nonVisibleValidLayers.find((t=>t.id===this._selectedLayerId))&&this._selectedLayer.set("visible",t)}async layerListLoaded(t){const e=t.detail,i=await c(this.mapView),s=[];this._validLayers=[],this._nonVisibleValidLayers=[],i.forEach((t=>{e.includes(t.id)&&(this._validLayers.push(t),t.visible||this._nonVisibleValidLayers.push(t),this._getLayersConfig(t.id)?.reporting&&this._layerItemsHash[t.id]&&this._layerItemsHash[t.id].supportsAdd&&s.push(t.id))})),this.handleMapClick(),this._hasValidLayers=s.length>0,this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}async displayFeaturesList(t){this._updatedSorting={field:"",order:"desc"},this._updatedSortOption="sortNewest",await this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId}async backFromFilterPanel(){null!=this._filterList&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions()),await this._featureList.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=25;const t=[...this._flowItems];"comment-details"!==t[t.length-1]&&"add-comment"!==t[t.length-1]&&this.clearHighlights(),"reporting-layer-list"!==t[t.length-1]&&("feature-create"!==t[t.length-1]||"feature-list"!==t[0]&&"feature-list"!==t[t.length-2])||this.updatePanelState(this._sidePanelCollapsed,!1),t.pop(),1!==t.length||"layer-list"!==t[0]?this._flowItems=[...t]:this.navigateToHomePage()}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(t,e){this._sidePanelCollapsed=t,this._showFullPanel=e,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(t){this._showLoadingIndicator=!0,await this.setSelectedFeatures([t.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){const t=this._currentFeature.layer,e=await r(this.mapView);t.relationships.some((i=>{const s=e.filter((e=>t.url===e.url&&e.layerId===i.relatedTableId));if(s&&s.length>0)return this._relatedTable=s[0],!0}))}async updatingFeatureDetails(t){this._showLoadingIndicator=t}async selectionChanged(t){this.updatingFeatureDetails(!0),await this.setCurrentFeature(t.detail.selectedFeature[0]),this.highlightOnMap(t.detail.selectedFeature[0]),this._selectedFeatureIndex=t.detail.selectedFeatureIndex,await this._featureDetails.refresh(t.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(t){this._selectedRelatedFeature=[t.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(t,e){const i=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash[this._selectedLayerId].supportsAdd,a=this._currentLayerExpressions?.length>0;return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:e,loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"feature-list"===this._flowItems[this._flowItems.length-1]},this._toggleSort(),s("calcite-action",{icon:"sort-ascending-arrow",id:"sort-popover",slot:"header-actions-end",text:this._translations.sort,title:this._translations.sort}),a&&s("calcite-action",{icon:"filter",indicator:this._filterActive,onClick:()=>{this._flowItems=[...this._flowItems,"filter-panel"]},slot:"header-actions-end",text:this._translations.filter,title:this._translations.filter}),this.isMobile&&this.getActionToExpandCollapsePanel(),this.enableNewReports&&i&&s("calcite-button",{appearance:"solid",onClick:this.navigateToCreateFeature.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),s("calcite-panel",{"full-height":!0},s("feature-list",{applyLayerViewFilter:this.showMyReportsOnly,class:"height-full",highlightOnHover:!0,locale:this.locale,mapView:this.mapView,noFeaturesFoundMsg:this._translations.featureErrorMsg,onFeatureSelect:this.onFeatureSelectFromList.bind(this),pageSize:30,ref:t=>this._featureList=t,reportingOptions:this.reportingOptions,selectedLayerId:t,showFeatureSymbol:this.showFeatureSymbol,sortingInfo:this._updatedSorting})))}getFilterPanel(){return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._translations?.filterLayerTitle?.replace("{{title}}",this._selectedLayerName),loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromFilterPanel.bind(this),selected:"filter-panel"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),s("div",{class:"width-full",slot:"footer"},s("div",{class:"width-full",slot:"footer"},s("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",disabled:!this._filterActive,onClick:this.resetFilterList.bind(this),width:"full"},this._translations.resetFilter),s("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromFilterPanel.bind(this),width:"full"},this._translations.close))),s("calcite-panel",{"full-height":!0},s("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtnOnClick:()=>{},comboboxOverlayPositioning:"fixed",layerExpressions:this._currentLayerExpressions,onFilterListReset:()=>this._handleFilterListReset(),onFilterUpdate:()=>this._handleFilterUpdate(this._filterList.filterCount>0),ref:t=>this._filterList=t,resetBtn:!1,resetFiltersOnDisconnect:!1,view:this.mapView,zoomBtn:!1})))}getFeatureDetailsFlowItem(){const t=this._getLayersConfig(this._selectedLayerId)?.comment&&this._selectedLayer.relationships.length>0&&this._relatedTable;return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"feature-details"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),s("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"share-node",embed:!1,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,removePopoverOffset:!0,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",slot:"header-actions-end",socialMedia:!0,view:this.mapView}),this._selectedFeature.length>1&&this.getFeaturesPagination(),s("calcite-panel",null,s("feature-details",{class:"full-height",graphics:this._selectedFeature,layerItemsHash:this._layerItemsHash,locale:this.locale,mapView:this.mapView,onAddComment:this.showAddCommentsPanel.bind(this),onCommentSelect:this.onCommentSelectFromList.bind(this),onFeatureSelectionChange:this.selectionChanged.bind(this),onLikeOrDislikeClicked:()=>{this._featureList.refresh(!0)},onLoadingStatus:t=>{this.updatingFeatureDetails(t.detail)},ref:t=>this._featureDetails=t,reportingOptions:this.reportingOptions,showFullCommentTitle:this.showFullCommentTitle,showUserImageInCommentsList:this.showUserImageInCommentsList}),t&&s("calcite-button",{appearance:"solid",onClick:this.showAddCommentsPanel.bind(this),slot:"footer",width:"full"},this.commentButtonText||this._translations.comment)))}getFeaturesPagination(){return s("div",{class:"feature-pagination"},s("div",null,s("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-left",id:"solutions-back",onClick:()=>{this._featureDetails.back()},scale:"s",width:"full"}),s("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-back"},s("span",null,this._translations.back))),s("calcite-button",{appearance:"transparent",onClick:()=>{this._featureDetails.toggleListView()},scale:"s"},s("span",{class:"pagination-count"},this._getCount())),s("div",null,s("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-right",id:"solutions-next",onClick:()=>{this._featureDetails.next()},scale:"s",width:"full"}),s("calcite-tooltip",{placement:"top","reference-element":"solutions-next"},s("span",null,this._translations.next))))}getCommentDetailsFlowItem(){return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._relatedTable.title,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"comment-details"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),s("calcite-panel",{"full-height":!0},s("info-card",{allowEditing:!1,graphics:this._selectedRelatedFeature,highlightEnabled:!1,isLoading:!1,isMobile:!1,locale:this.locale,mapView:this.mapView,paginationEnabled:!1})))}getAddCommentFlowItem(){return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._relatedTable.title,onCalciteFlowItemBack:this.backFromCreateRelatedFeaturePanel.bind(this),selected:"add-comment"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),s("div",{class:"width-full",slot:"footer"},this._showSubmitCancelButton&&s("div",{class:"width-full",slot:"footer"},s("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onCreateRelatedFeatureSubmitButtonClick.bind(this),width:"full"},this._translations.submit),s("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateRelatedFeaturePanel.bind(this),width:"full"},this._translations.cancel))),s("calcite-panel",null,s("create-related-feature",{customizeSubmit:!0,locale:this.locale,mapView:this.mapView,onFail:this.addCommentFailed.bind(this),onFormReady:this.onFormReady.bind(this),onIsActionPending:this.showSubmitCancelButton.bind(this),onSuccess:this.onCommentSubmitted.bind(this),ref:t=>this._createRelatedFeature=t,selectedFeature:this._currentFeature,table:this._relatedTable})))}async setSelectedFeatures(t){this._selectedFeature=t,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:null)}async setCurrentFeature(t){if(this._currentFeature=t,t&&t.layer){const e=t.layer;this.setSelectedLayer(e.id,e.title),this._currentFeatureId=t.attributes[e.objectIdField],this._getLayersConfig(e.id)?.comment&&e.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(t){if(this.clearHighlights(),t&&t.geometry&&t.layer){const e=await d(this.mapView,t.layer.id);e.highlightOptions=null,this._highlightHandle=await u([t.getObjectId()],e,this.mapView,!0,this.zoomToScale)}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return s("calcite-action",{icon:this._sidePanelCollapsed?"chevrons-up":"chevrons-down",onClick:this.toggleSidePanel.bind(this),slot:"header-actions-end",text:this._sidePanelCollapsed?this._translations.expand:this._translations.collapse})}async setMapView(){await this.getLayersToShowInList(),await this._updateFeatures(),1===this._editableLayerIds?.length?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0)}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",this.onMapClick.bind(this))}async onMapClick(t){this.mapView.popupEnabled=!1;const e=await this.mapView.hitTest(t);if(e.results.length>0){const t=[];e.results.forEach((function(e){"graphic"===e.type&&t.push(e.graphic)}));const i=t.filter((t=>this._validLayers.includes(t.layer))),s=t.filter((t=>!this._validLayers.includes(t.layer)&&t?.layer?.popupEnabled&&t?.layer?.id));if(i.length>0&&(await this.setSelectedFeatures(i),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(t[0])):this._flowItems=[...this._flowItems,"feature-details"]),s.length>0){this.mapView.popupEnabled=!0;const t={features:s,updateLocationEnabled:!0};await this.mapView.openPopup(t)}}}_getCount(){const t=(this._selectedFeatureIndex+1).toString(),e=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",e)}async _getTranslations(){const t=await o(this.el);this._translations=t[0]}_updateFloorDefinitionExpression(t){const e=`${t.floorInfo.floorField} = '${this.floorLevel}'`,i=t.definitionExpression;t.definitionExpression=i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,e):e,this._floorExpression=e}_getFormElements(){const t=this._selectedLayer,e=t?.floorInfo?.floorField;if(e&&this.floorLevel&&t?.formTemplate){const e=this._formElements.find((e=>e.id===t.id));0!==this._formElements.length&&e||this._formElements.push({id:t.id,orgElements:t.formTemplate.elements,orgExpressionInfos:t.formTemplate.expressionInfos})}}reduceToConfiguredLayers(t,e){return Object.keys(t).reduce(((i,s)=>{const a=this.reportingOptions?this._getLayersConfig(s)?.visible:t[s].supportsAdd;return!e.includes(s)&&a&&i.push(s),i}),[])}async _updateFeatures(){for(const t of this._editableLayerIds){const e=await d(this.mapView,t);await this._showMyFeaturesOnly(e);const i=e.layer?.floorInfo?.floorField;i&&this.floorLevel&&this._updateFloorDefinitionExpression(e.layer)}}async _showMyFeaturesOnly(t){const e=this.mapView.map.portalItem.portal?.credential?.userId;if(e){const i=t.layer.editFieldsInfo?.creatorField.toLowerCase();t.filter=this.showMyReportsOnly&&i?new this.FeatureFilter({where:i+"='"+e+"'"}):null}}async getLayersToShowInList(){const t=await p(this.mapView,!0),e=await c(this.mapView),i=[];e.forEach((e=>{"feature"===e?.type&&e?.editingEnabled&&e?.capabilities?.operations?.supportsAdd&&(t[e.id].supportsAdd=!0),e?.editingEnabled||i.push(e.id)})),this._editableLayerIds=this.reduceToConfiguredLayers(t,i),this._layerItemsHash=t}async renderFeaturesList(){this._flowItems=["feature-list"];const t={detail:this._editableLayerIds};await this.layerListLoaded(t),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0].title),this.handleSelectedLayersFilter()}_updateShareURL(){const t=this._shareNode?.shareUrl;if(!t)return;const e=new URL(t);this._selectedLayerId?e.searchParams.set("layerid",this._selectedLayerId):e.searchParams.delete("layerid"),this._selectedFeature?.length?e.searchParams.set("oid",this._currentFeatureId):e.searchParams.delete("oid"),this._shareNode.shareUrl=e.href}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){const t=await n(this.mapView,this.layerId);if(t){const e=await m([Number(this.objectId)],t,[],!0,this.mapView.spatialReference);e.length&&(await this.setSelectedFeatures(e),this._flowItems=this._flowItems.length&&"feature-details"!==this._flowItems[this._flowItems.length-1]?[...this._flowItems,"feature-details"]:[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){const t=this.layerExpressions?structuredClone(this.layerExpressions.filter((t=>t.id===this._selectedLayerId))):[];null!=this._t9nLayerExpressions&&this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){const t=await n(this.mapView,this._prevSelectedLayerId);t&&(t.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}resetFilterList(){this._filterList?.forceReset(),null!=this._selectedLayer&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(null==this._selectedLayer)return;const t=[];if(this._currentLayerExpressions?.length>0){const e=this._currentLayerExpressions[0];for(const i of e.expressions){const{active:e,definitionExpression:s}=i;e&&s&&t.push(`(${s})`)}this._filterActive=t.length>0,this.updateFilterLayerDefExpression(t,e.operator)}}updateFilterLayerDefExpression(t,e){const i=this._initDefExpressions[this._selectedLayerId],s=t?.length>0&&null!=i?`(${t.join(e)}) AND (${i})`:t.length>0?t.join(e):i;this._selectedLayer.definitionExpression=s}setInitExpressions(){if(this._initDefExpressions={},null==this.mapView)return;const t=this.mapView.map;t.allLayers.concat(t.allTables).forEach((t=>{"feature"===t.type&&(this._initDefExpressions[t.id]=t.definitionExpression)}))}handleLayerExpressionsT9n(t,e){t?.forEach((t=>{const i=e?.find((e=>e.id===t.id));null!=i&&(t.title=i.title,t.expressions?.forEach((t=>{const e=i.expressions?.find((e=>e.id===t.id));null!=e&&(t.name=e.name)})))}))}static get watchers(){return{isMobile:["isMobileWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],floorLevel:["floorLevelWatchHandler"],showMyReportsOnly:["showMyReportsOnlyWatchHandler"],layerExpressions:["layerExpressionsWatchHandler"],showFeatureSymbol:["showFeatureSymbolWatchHandler"]}}};f.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100% !important}.width-0{width:0}.height-full{height:100% !important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1) !important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}";export{f as crowdsource_reporter}
|
6
|
+
import{r as t,c as e,g as i,h as s,H as a,F as h}from"./p-1b0588d2.js";import{l,g as o}from"./p-ee2cbba0.js";import{g as n,a as r,b as c,c as d,h as u,d as p,q as m}from"./p-952da957.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";const f=class{constructor(i){t(this,i),this.togglePanel=e(this,"togglePanel",7)}get el(){return i(this)}center;commentButtonText;commentSubmittedMessage;defaultWebmap="";description;enableAnonymousAccess;enableAnonymousComments;enableComments;enableHome=!0;enableLogin;enableNewReports;enableSearch=!0;enableZoom=!0;isMobile;layerExpressions=[];layerId;level;locale;loginTitle;mapInfos=[];mapView;objectId;reportButtonText;reportingOptions;reportsHeader;reportSubmittedMessage;searchConfiguration;showComments;showUserImageInCommentsList=!1;showFeatureSymbol=!1;showMyReportsOnly=!1;theme="light";zoomToScale;floorLevel;showFullCommentTitle=!0;_featureCreationFailedErrorMsg;_filterActive=!1;_flowItems=[];_hasValidLayers=!1;_mapInfo;_reportSubmitted=!1;_selectedLayerName;_showSubmitCancelButton=!1;_showLoadingIndicator=!1;_sidePanelCollapsed=!1;_translations;_updatedProgressBarStatus=25;_updatedSorting;_updatedSortOption="sortNewest";_commentSubmitted=!1;_addingCommentFailed=!1;_createFeature;_currentFeatureId;_defaultCenter;_defaultLevel;_editableLayerIds;_featureDetails;_featureList;_currentFeature;_selectedRelatedFeature;_relatedTable;_filterList;_highlightHandle;_layerList;_createRelatedFeature;_layers;_mapChange;_mapClickHandle;reactiveUtils;FeatureFilter;_selectedFeature;_selectedFeatureIndex;_selectedLayerId;_shareNode;_urlParamsLoaded;_validLayers;_nonVisibleValidLayers;_selectedLayer;_layerItemsHash;_showFullPanel;_floorExpression;_formElements=[];_prevSelectedLayerId;_currentLayerExpressions;_initDefExpressions;_t9nLayerExpressions;async isMobileWatchHandler(){this.updatePanelState(!1,this._showFullPanel)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{this.setInitExpressions(),await this.setMapView()}))}async floorLevelWatchHandler(){if(this._editableLayerIds)for(const t of this._editableLayerIds){const e=await n(this.mapView,t);e.floorInfo?.floorField&&this._updateFloorDefinitionExpression(e)}"layer-list"===this._flowItems[this._flowItems.length-1]&&this._layerList&&await this._layerList.refresh(),this._featureList&&this._featureList.refresh(),this._createFeature&&this._createFeature.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),setTimeout((()=>{"layer-list"===this._flowItems[this._flowItems.length-1]&&this._layerList&&this._layerList.refresh(),this._featureList&&this._featureList.refresh()}),50))}async layerExpressionsWatchHandler(){this.resetFilterList(),await this.handleSelectedLayersFilter(),await(this._featureList?.refresh())}async showFeatureSymbolWatchHandler(){await(this._featureList?.refresh())}async updateLayerExpressionsT9n(t){if(this._t9nLayerExpressions=t||this.layerExpressions,null!=this._filterList)await this._filterList.handleUpdatingT9nData(this._t9nLayerExpressions);else if(null!=this._currentLayerExpressions){const t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t}return Promise.resolve()}togglePanel;async componentWillLoad(){this._urlParamsLoaded=!1,await this._initModules(),await this._getTranslations(),await(this.mapView?.when((async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].visible)):[],this.setInitExpressions(),await this.setMapView()})))}componentWillRender(){this._flowItems.includes("filter-panel")&&this._filterList?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions})}render(){const t="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return s(a,{key:"03d613fe8f275852672fb546ceb4449fb82580c0"},this._reportSubmitted&&s("calcite-alert",{key:"969a66978549d6993b1e4fce87bbd2387858cdf8","auto-close":!0,class:t+" report-submitted-msg",icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._reportSubmitted=!1},open:!0,placement:"top"},s("div",{key:"60ae42443e09a97d97a46bba07b1ea010b382348",slot:"message"},this.reportSubmittedMessage?this.reportSubmittedMessage:this._translations.submitMsg)),this._featureCreationFailedErrorMsg&&s("calcite-alert",{key:"bf6c346cf976a4b84da3553230239665c712e2b6","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._featureCreationFailedErrorMsg=""},open:!0,placement:"top"},s("div",{key:"1f9560e18d802a15bcb3e8ea9f05837a4a6fb8aa",slot:"title"},this._translations.error),s("div",{key:"1f5ef09cbf94996eeb5783211ed1542a5cf53e93",slot:"message"},this._featureCreationFailedErrorMsg)),this._commentSubmitted&&s("calcite-alert",{key:"15538e8faabbec476d7586dcc4152b422404c23f","auto-close":!0,class:"report-submitted "+t,icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._commentSubmitted=!1},open:!0,placement:"top"},s("div",{key:"925a9a243a79dfb66554a9a51f24396ca2b71c98",slot:"message"},this.commentSubmittedMessage||this._translations.commentSubmittedMsg)),this._addingCommentFailed&&s("calcite-alert",{key:"62c63d3b1c51bdc7879e815e2b2f4d3c4d039c4c","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._addingCommentFailed=!1},open:!0,placement:"top"},s("div",{key:"971f07331a8689b859f2cedc96ba3589a3ad3e16",slot:"title"},this._translations.error),s("div",{key:"1627f1ab5c4a4aceb7bdb70471aed6b8ca6d67b8",slot:"message"},this._translations.addingCommentFailedMsg)),s("div",{key:"b3257ba523357b4444ce7da7d13a86f6b71185d9"},s("calcite-shell",{key:"35fc5a814528bb0acc22919839719bb4349e9ae4","content-behind":!0},this._getReporter())))}async _initModules(){const[t,e]=await l(["esri/core/reactiveUtils","esri/layers/support/FeatureFilter"]);this.reactiveUtils=t,this.FeatureFilter=e}async setSelectedLayer(t,e){this._selectedLayerId=t,this._selectedLayer=await n(this.mapView,t),this._selectedLayerName=e,this._validLayers.forEach((e=>{this._nonVisibleValidLayers.find((t=>t.id===e.id))||e.set("visible",!t||e.id===t)}))}_getLayersConfig(t){return this.reportingOptions&&this.reportingOptions[t]?this.reportingOptions[t]:null}_getReporter(){const t=[];return this._flowItems.forEach((e=>{switch(e){case"layer-list":t.push(this.getLayerListFlowItem());break;case"feature-list":t.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":t.push(this.getFilterPanel());break;case"feature-details":t.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":t.push(this.getChooseCategoryFlowItem());break;case"feature-create":t.push(this.getFeatureCreateFlowItem());break;case"comment-details":t.push(this.getCommentDetailsFlowItem());break;case"add-comment":t.push(this.getAddCommentFlowItem())}})),s("calcite-panel",{class:"width-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},this.mapView?s("calcite-flow",null,t?.length>0&&t):s("calcite-loader",{label:"",scale:"m"}))}async sortOptionClick(t,e,i){this._updatedSorting={field:t,order:e},this._updatedSortOption=i}_toggleSort(){const t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return s("calcite-popover",{autoClose:!0,label:"",offsetDistance:0,placement:this.isMobile?"leading-start":"bottom-start",pointerDisabled:!0,referenceElement:"sort-popover"},s("calcite-list",{label:"","selection-mode":"single"},s("calcite-list-item",{label:this._translations.sortNewest,onCalciteListItemSelect:()=>{this.sortOptionClick(this._selectedLayer.objectIdField,"desc","sortNewest")},selected:"sortNewest"===this._updatedSortOption,value:"sortNewest"}),s("calcite-list-item",{label:this._translations.sortOldest,onCalciteListItemSelect:()=>{this.sortOptionClick(this._selectedLayer.objectIdField,"asc","sortOldest")},selected:"sortOldest"===this._updatedSortOption,value:"sortOldest"}),t&&s(h,null,s("calcite-list-item",{label:this._translations.sortHighestVoted,onCalciteListItemSelect:()=>{this.sortOptionClick(this.reportingOptions[this._selectedLayerId].likeField,"desc","sortHighestVoted")},selected:"sortHighestVoted"===this._updatedSortOption,value:"sortHighestVoted"}),s("calcite-list-item",{label:this._translations.sortLowestVoted,onCalciteListItemSelect:()=>{this.sortOptionClick(this.reportingOptions[this._selectedLayerId].likeField,"asc","sortLowestVoted")},selected:"sortLowestVoted"===this._updatedSortOption,value:"sortLowestVoted"}))))}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(t){this._showLoadingIndicator=!0,this._filterActive=t,await this._featureList.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportsHeader,selected:"layer-list"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),this._hasValidLayers&&this.enableNewReports&&s("calcite-button",{appearance:"solid",onClick:this.navigateToChooseCategory.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),s("calcite-panel",{"full-height":!0,"full-width":!0},s("layer-list",{applyLayerViewFilter:this.showMyReportsOnly,class:"height-full",layers:this._editableLayerIds?.length>0?this._editableLayerIds:this._layers,locale:this.locale,mapView:this.mapView,onLayerSelect:this.displayFeaturesList.bind(this),onLayersListLoaded:this.layerListLoaded.bind(this),ref:t=>this._layerList=t,showFeatureCount:!0,showNextIcon:!0})))}getChooseCategoryFlowItem(){const t=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd)):[];return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"reporting-layer-list"===this._flowItems[this._flowItems.length-1]},s("calcite-panel",{"full-height":!0,"full-width":!0},s("div",{class:"progress-bar"},s("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),s("calcite-notice",{class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},s("div",{slot:"message"},this._translations.chooseCategoryMsg)),s("layer-list",{class:"height-full",layers:t,locale:this.locale,mapView:this.mapView,onLayerSelect:this.navigateToCreateFeature.bind(this),showFeatureCount:!1,showNextIcon:!1})))}getFeatureCreateFlowItem(){return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,onCalciteFlowItemBack:this.backFromCreateFeaturePanel.bind(this),selected:"feature-create"===this._flowItems[this._flowItems.length-1]},this._showSubmitCancelButton&&s("div",{class:"width-full",slot:"footer"},s("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onCreateFeatureSubmitButtonClick.bind(this),width:"full"},this._translations.submit),s("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateFeaturePanel.bind(this),width:"full"},this._translations.cancel)),s("calcite-panel",{"full-height":!0,"full-width":!0},s("div",{class:"progress-bar"},s("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),s("create-feature",{customizeSubmit:!0,enableSearch:!0,floorLevel:this.floorLevel,formElements:this._formElements.find((t=>t.id===this._selectedLayerId)),isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onDrawComplete:this.onFormReady.bind(this),onEditingAttachment:this.showSubmitCancelButton.bind(this),onFail:this.createFeatureFailed.bind(this),onModeChanged:this.backFromCreateFeaturePanel.bind(this),onProgressStatus:this.updatedProgressStatus.bind(this),onSuccess:this.onReportSubmitted.bind(this),ref:t=>this._createFeature=t,searchConfiguration:this.searchConfiguration,selectedLayerId:this._selectedLayerId})))}updatedProgressStatus(t){this._updatedProgressBarStatus=t.detail}onFormReady(){this._showSubmitCancelButton=!0}showSubmitCancelButton(t){this._showSubmitCancelButton=!t.detail}onCreateFeatureSubmitButtonClick(){this._createFeature&&this._createFeature.submit()}backFromCreateFeaturePanel(){this._createFeature&&this.updateNonVisibleLayersOnMap(!1),this.backFromSelectedPanel()}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature&&this._createRelatedFeature.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(t){console.error(t.detail),this._featureCreationFailedErrorMsg=t.detail.message}async onReportSubmitted(){this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(t){console.error(t.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromSelectedPanel(),this._showLoadingIndicator=!0,await this._featureDetails.refresh(this._currentFeature),setTimeout((()=>{this._showLoadingIndicator=!1}),300)}async navigateToHomePage(){await this.setSelectedFeatures([]),this._layerList&&await this._layerList.refresh(),1===this._editableLayerIds.length?(await this._featureList.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(t){t.detail.layerId&&t.detail.layerName&&await this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(t){this._nonVisibleValidLayers.find((t=>t.id===this._selectedLayerId))&&this._selectedLayer.set("visible",t)}async layerListLoaded(t){const e=t.detail,i=await r(this.mapView),s=[];this._validLayers=[],this._nonVisibleValidLayers=[],i.forEach((t=>{e.includes(t.id)&&(this._validLayers.push(t),t.visible||this._nonVisibleValidLayers.push(t),this._getLayersConfig(t.id)?.reporting&&this._layerItemsHash[t.id]&&this._layerItemsHash[t.id].supportsAdd&&s.push(t.id))})),this.handleMapClick(),this._hasValidLayers=s.length>0,this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}async displayFeaturesList(t){this._updatedSorting={field:"",order:"desc"},this._updatedSortOption="sortNewest",await this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId}async backFromFilterPanel(){null!=this._filterList&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions()),await this._featureList.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=25;const t=[...this._flowItems];"comment-details"!==t[t.length-1]&&"add-comment"!==t[t.length-1]&&this.clearHighlights(),"reporting-layer-list"!==t[t.length-1]&&("feature-create"!==t[t.length-1]||"feature-list"!==t[0]&&"feature-list"!==t[t.length-2])||this.updatePanelState(this._sidePanelCollapsed,!1),t.pop(),1!==t.length||"layer-list"!==t[0]?this._flowItems=[...t]:this.navigateToHomePage()}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(t,e){this._sidePanelCollapsed=t,this._showFullPanel=e,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(t){this._showLoadingIndicator=!0,await this.setSelectedFeatures([t.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){const t=this._currentFeature.layer,e=await c(this.mapView);t.relationships.some((i=>{const s=e.filter((e=>t.url===e.url&&e.layerId===i.relatedTableId));if(s&&s.length>0)return this._relatedTable=s[0],!0}))}async updatingFeatureDetails(t){this._showLoadingIndicator=t}async selectionChanged(t){this.updatingFeatureDetails(!0),await this.setCurrentFeature(t.detail.selectedFeature[0]),this.highlightOnMap(t.detail.selectedFeature[0]),this._selectedFeatureIndex=t.detail.selectedFeatureIndex,await this._featureDetails.refresh(t.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(t){this._selectedRelatedFeature=[t.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(t,e){const i=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash[this._selectedLayerId].supportsAdd,a=this._currentLayerExpressions?.length>0;return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:e,loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"feature-list"===this._flowItems[this._flowItems.length-1]},this._toggleSort(),s("calcite-action",{icon:"sort-ascending-arrow",id:"sort-popover",slot:"header-actions-end",text:this._translations.sort,title:this._translations.sort}),a&&s("calcite-action",{icon:"filter",indicator:this._filterActive,onClick:()=>{this._flowItems=[...this._flowItems,"filter-panel"]},slot:"header-actions-end",text:this._translations.filter,title:this._translations.filter}),this.isMobile&&this.getActionToExpandCollapsePanel(),this.enableNewReports&&i&&s("calcite-button",{appearance:"solid",onClick:this.navigateToCreateFeature.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),s("calcite-panel",{"full-height":!0},s("feature-list",{applyLayerViewFilter:this.showMyReportsOnly,class:"height-full",highlightOnHover:!0,locale:this.locale,mapView:this.mapView,noFeaturesFoundMsg:this._translations.featureErrorMsg,onFeatureSelect:this.onFeatureSelectFromList.bind(this),pageSize:30,ref:t=>this._featureList=t,reportingOptions:this.reportingOptions,selectedLayerId:t,showFeatureSymbol:this.showFeatureSymbol,sortingInfo:this._updatedSorting})))}getFilterPanel(){return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._translations?.filterLayerTitle?.replace("{{title}}",this._selectedLayerName),loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromFilterPanel.bind(this),selected:"filter-panel"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),s("div",{class:"width-full",slot:"footer"},s("div",{class:"width-full",slot:"footer"},s("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",disabled:!this._filterActive,onClick:this.resetFilterList.bind(this),width:"full"},this._translations.resetFilter),s("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromFilterPanel.bind(this),width:"full"},this._translations.close))),s("calcite-panel",{"full-height":!0},s("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtnOnClick:()=>{},comboboxOverlayPositioning:"fixed",layerExpressions:this._currentLayerExpressions,onFilterListReset:()=>{this._handleFilterListReset()},onFilterUpdate:()=>{this._handleFilterUpdate(this._filterList.filterCount>0)},ref:t=>this._filterList=t,resetBtn:!1,resetFiltersOnDisconnect:!1,view:this.mapView,zoomBtn:!1})))}getFeatureDetailsFlowItem(){const t=this._getLayersConfig(this._selectedLayerId)?.comment&&this._selectedLayer.relationships.length>0&&this._relatedTable;return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"feature-details"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),s("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"share-node",embed:!1,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,removePopoverOffset:!0,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",slot:"header-actions-end",socialMedia:!0,view:this.mapView}),this._selectedFeature.length>1&&this.getFeaturesPagination(),s("calcite-panel",null,s("feature-details",{class:"full-height",graphics:this._selectedFeature,layerItemsHash:this._layerItemsHash,locale:this.locale,mapView:this.mapView,onAddComment:this.showAddCommentsPanel.bind(this),onCommentSelect:this.onCommentSelectFromList.bind(this),onFeatureSelectionChange:this.selectionChanged.bind(this),onLikeOrDislikeClicked:()=>{this._featureList.refresh(!0)},onLoadingStatus:t=>{this.updatingFeatureDetails(t.detail)},ref:t=>this._featureDetails=t,reportingOptions:this.reportingOptions,showFullCommentTitle:this.showFullCommentTitle,showUserImageInCommentsList:this.showUserImageInCommentsList}),t&&s("calcite-button",{appearance:"solid",onClick:this.showAddCommentsPanel.bind(this),slot:"footer",width:"full"},this.commentButtonText||this._translations.comment)))}getFeaturesPagination(){return s("div",{class:"feature-pagination"},s("div",null,s("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-left",id:"solutions-back",onClick:()=>{this._featureDetails.back()},scale:"s",width:"full"}),s("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-back"},s("span",null,this._translations.back))),s("calcite-button",{appearance:"transparent",onClick:()=>{this._featureDetails.toggleListView()},scale:"s"},s("span",{class:"pagination-count"},this._getCount())),s("div",null,s("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-right",id:"solutions-next",onClick:()=>{this._featureDetails.next()},scale:"s",width:"full"}),s("calcite-tooltip",{placement:"top","reference-element":"solutions-next"},s("span",null,this._translations.next))))}getCommentDetailsFlowItem(){return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._relatedTable.title,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"comment-details"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),s("calcite-panel",{"full-height":!0},s("info-card",{allowEditing:!1,graphics:this._selectedRelatedFeature,highlightEnabled:!1,isLoading:!1,isMobile:!1,locale:this.locale,mapView:this.mapView,paginationEnabled:!1})))}getAddCommentFlowItem(){return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._relatedTable.title,onCalciteFlowItemBack:this.backFromCreateRelatedFeaturePanel.bind(this),selected:"add-comment"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),s("div",{class:"width-full",slot:"footer"},this._showSubmitCancelButton&&s("div",{class:"width-full",slot:"footer"},s("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onCreateRelatedFeatureSubmitButtonClick.bind(this),width:"full"},this._translations.submit),s("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateRelatedFeaturePanel.bind(this),width:"full"},this._translations.cancel))),s("calcite-panel",null,s("create-related-feature",{customizeSubmit:!0,locale:this.locale,mapView:this.mapView,onFail:this.addCommentFailed.bind(this),onFormReady:this.onFormReady.bind(this),onIsActionPending:this.showSubmitCancelButton.bind(this),onSuccess:this.onCommentSubmitted.bind(this),ref:t=>this._createRelatedFeature=t,selectedFeature:this._currentFeature,table:this._relatedTable})))}async setSelectedFeatures(t){this._selectedFeature=t,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:null)}async setCurrentFeature(t){if(this._currentFeature=t,t&&t.layer){const e=t.layer;this.setSelectedLayer(e.id,e.title),this._currentFeatureId=t.attributes[e.objectIdField],this._getLayersConfig(e.id)?.comment&&e.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(t){if(this.clearHighlights(),t&&t.geometry&&t.layer){const e=await d(this.mapView,t.layer.id);e.highlightOptions=null,this._highlightHandle=await u([t.getObjectId()],e,this.mapView,!0,this.zoomToScale)}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return s("calcite-action",{icon:this._sidePanelCollapsed?"chevrons-up":"chevrons-down",onClick:this.toggleSidePanel.bind(this),slot:"header-actions-end",text:this._sidePanelCollapsed?this._translations.expand:this._translations.collapse})}async setMapView(){await this.getLayersToShowInList(),await this._updateFeatures(),1===this._editableLayerIds?.length?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0)}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",this.onMapClick.bind(this))}async onMapClick(t){this.mapView.popupEnabled=!1;const e=await this.mapView.hitTest(t);if(e.results.length>0){const t=[];e.results.forEach((function(e){"graphic"===e.type&&t.push(e.graphic)}));const i=t.filter((t=>this._validLayers.includes(t.layer))),s=t.filter((t=>!this._validLayers.includes(t.layer)&&t?.layer?.popupEnabled&&t?.layer?.id));if(i.length>0&&(await this.setSelectedFeatures(i),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(t[0])):this._flowItems=[...this._flowItems,"feature-details"]),s.length>0){this.mapView.popupEnabled=!0;const t={features:s,updateLocationEnabled:!0};await this.mapView.openPopup(t)}}}_getCount(){const t=(this._selectedFeatureIndex+1).toString(),e=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",e)}async _getTranslations(){const t=await o(this.el);this._translations=t[0]}_updateFloorDefinitionExpression(t){const e=`${t.floorInfo.floorField} = '${this.floorLevel}'`,i=t.definitionExpression;t.definitionExpression=i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,e):e,this._floorExpression=e}_getFormElements(){const t=this._selectedLayer,e=t?.floorInfo?.floorField;if(e&&this.floorLevel&&t?.formTemplate){const e=this._formElements.find((e=>e.id===t.id));0!==this._formElements.length&&e||this._formElements.push({id:t.id,orgElements:t.formTemplate.elements,orgExpressionInfos:t.formTemplate.expressionInfos})}}reduceToConfiguredLayers(t,e){return Object.keys(t).reduce(((i,s)=>{const a=this.reportingOptions?this._getLayersConfig(s)?.visible:t[s].supportsAdd;return!e.includes(s)&&a&&i.push(s),i}),[])}async _updateFeatures(){for(const t of this._editableLayerIds){const e=await d(this.mapView,t);await this._showMyFeaturesOnly(e);const i=e.layer?.floorInfo?.floorField;i&&this.floorLevel&&this._updateFloorDefinitionExpression(e.layer)}}async _showMyFeaturesOnly(t){const e=this.mapView.map.portalItem.portal?.credential?.userId;if(e){const i=t.layer.editFieldsInfo?.creatorField.toLowerCase();t.filter=this.showMyReportsOnly&&i?new this.FeatureFilter({where:i+"='"+e+"'"}):null}}async getLayersToShowInList(){const t=await p(this.mapView,!0),e=await r(this.mapView),i=[];e.forEach((e=>{"feature"===e?.type&&e?.editingEnabled&&e?.capabilities?.operations?.supportsAdd&&(t[e.id].supportsAdd=!0),e?.editingEnabled||i.push(e.id)})),this._editableLayerIds=this.reduceToConfiguredLayers(t,i),this._layerItemsHash=t}async renderFeaturesList(){this._flowItems=["feature-list"];const t={detail:this._editableLayerIds};await this.layerListLoaded(t),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0].title),this.handleSelectedLayersFilter()}_updateShareURL(){const t=this._shareNode?.shareUrl;if(!t)return;const e=new URL(t);this._selectedLayerId?e.searchParams.set("layerid",this._selectedLayerId):e.searchParams.delete("layerid"),this._selectedFeature?.length?e.searchParams.set("oid",this._currentFeatureId):e.searchParams.delete("oid"),this._shareNode.shareUrl=e.href}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){const t=await n(this.mapView,this.layerId);if(t){const e=await m([Number(this.objectId)],t,[],!0,this.mapView.spatialReference);e.length&&(await this.setSelectedFeatures(e),this._flowItems=this._flowItems.length&&"feature-details"!==this._flowItems[this._flowItems.length-1]?[...this._flowItems,"feature-details"]:[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){const t=this.layerExpressions?structuredClone(this.layerExpressions.filter((t=>t.id===this._selectedLayerId))):[];null!=this._t9nLayerExpressions&&this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){const t=await n(this.mapView,this._prevSelectedLayerId);t&&(t.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}resetFilterList(){this._filterList?.forceReset(),null!=this._selectedLayer&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(null==this._selectedLayer)return;const t=[];if(this._currentLayerExpressions?.length>0){const e=this._currentLayerExpressions[0];for(const i of e.expressions){const{active:e,definitionExpression:s}=i;e&&s&&t.push(`(${s})`)}this._filterActive=t.length>0,this.updateFilterLayerDefExpression(t,e.operator)}}updateFilterLayerDefExpression(t,e){const i=this._initDefExpressions[this._selectedLayerId],s=t?.length>0&&null!=i?`(${t.join(e)}) AND (${i})`:t.length>0?t.join(e):i;this._selectedLayer.definitionExpression=s}setInitExpressions(){if(this._initDefExpressions={},null==this.mapView)return;const t=this.mapView.map;t.allLayers.concat(t.allTables).forEach((t=>{"feature"===t.type&&(this._initDefExpressions[t.id]=t.definitionExpression)}))}handleLayerExpressionsT9n(t,e){t?.forEach((t=>{const i=e?.find((e=>e.id===t.id));null!=i&&(t.title=i.title,t.expressions?.forEach((t=>{const e=i.expressions?.find((e=>e.id===t.id));null!=e&&(t.name=e.name)})))}))}static get watchers(){return{isMobile:["isMobileWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],floorLevel:["floorLevelWatchHandler"],showMyReportsOnly:["showMyReportsOnlyWatchHandler"],layerExpressions:["layerExpressionsWatchHandler"],showFeatureSymbol:["showFeatureSymbolWatchHandler"]}}};f.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100% !important}.width-0{width:0}.height-full{height:100% !important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1) !important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}";export{f as crowdsource_reporter}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as t,c as i,g as e,h as s,H as o,F as a}from"./p-8c40bdec.js";import{g as l}from"./p-a23de3b0.js";import{E as h}from"./p-80cb7c73.js";import{g as n}from"./p-d572627c.js";import"./p-6a68306c.js";import"./p-d4056c1c.js";const r=class{constructor(e){t(this,e),this.showIntroductionWindow=i(this,"showIntroductionWindow",7),this.showCoverPage=i(this,"showCoverPage",7)}get el(){return e(this)}appLayout;appProxies;basemapConfig;coverPageEnabled;customInfoText;defaultAppLayout;defaultCenter="";defaultGlobalId="";defaultLayer="";defaultLevel="";defaultOid="";defaultWebmap="";honorMapFieldSettings=!1;introductionWindowEnabled=!1;enableAutoRefresh=!1;enableBasemap=!0;enableColumnReorder=!0;enableCSV=!0;enableFloorFilter=!0;enableFullscreen=!0;enableHome=!0;enableLegend=!0;enableSearch=!0;enableShare=!1;enableZoom=!0;locale;mapInfos=[];onlyShowUpdatableLayers=!0;popupHeaderColor;popupHeaderHoverColor;popupHeaderHoverTextColor;popupHeaderTextColor;searchConfiguration;shareIncludeEmbed;shareIncludeSocial;showNewestFirst=!0;theme="light";zoomAndScrollToSelected=!1;zoomToScale;_deleteDialogOpen=!1;_enableCreateFeatures=!0;_hideFooter=!1;_hideTable=!1;_isMobile=!1;_isPortraitMobile=!1;_translations;_layer;_layoutMode=h.GRID;_mapInfo;_mapView;_panelOpen=!0;_numSelected=0;_filterOpen=!1;_showInformationHeader=!0;_layerIds;_isLoading=!0;_defaultAppLayoutHonored=!1;_defaultCenterHonored=!1;_defaultLevelHonored=!1;_deleteIds;_layerTable;_mapChange;_resizeObserver;_shouldSetMapView=!1;_layerExpressions;_filterList;_mapCard;_isMapViewOnLoad=!1;appLayoutWatchHandler(t,i){t!==i&&(this._setActiveLayout(t),"mapView"===this.appLayout&&this._layer?.isTable&&this._mapCard.updateLayer(),this._isMapViewOnLoad&&(this._layerTable.refresh(),this._isMapViewOnLoad=!1))}enableZoomWatchHandler(){this._initMapZoom()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}showIntroductionWindow;showCoverPage;async featureSelectionChange(t){this._numSelected=t.detail?.length}async popupClosed(){this._isPortraitMobile&&this.showHideMapPopupAndTable(!1)}async layoutChanged(t){this._layoutMode=t.detail}async mapChanged(t){this._mapChange=t.detail,await this._mapChange.mapView.when((async()=>{await this._setMapView()}))}async layerSelectionChange(t){const i=t.detail[0],e=await n(this._mapView,i);e&&await e.when((()=>{0===this._layerIds.length&&"mapView"===this.appLayout&&e.isTable&&(this.appLayout="splitView"),this._layer=e,this._initLayerExpressions(),this._isLoading=!1}))}async showDelete(t){this._deleteIds=t.detail.ids,this._deleteDialogOpen=!0}async idsFound(t){this._layerIds=t.detail.layerIds}async componentWillLoad(){await this._getTranslations(),this._resizeObserver=new ResizeObserver((()=>this._onResize()))}render(){return s(o,{key:"24b7324257b94560153db83dd6b29730bef8f38f"},s("calcite-shell",{key:"c7a445ffdf9fa59c7bd1aff125a77e811f6ce736",class:"position-relative"},s("calcite-panel",{key:"81598a858cfbdfcb6346bc3efa6eb55699d2c5ff",class:"width-full height-full "+(this.popupHeaderColor&&"#FFFFFF"!==this.popupHeaderColor?"border-width-0":""),loading:this._isLoading},this._getBody(this._layoutMode,this._panelOpen,this._hideTable)),this._getFooter()),this._filterModal(),this._deleteModal())}async componentDidRender(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._mapChange&&await this._setMapView())}async componentDidLoad(){this._resizeObserver.observe(this.el),!this._defaultAppLayoutHonored&&this.defaultAppLayout?(this._defaultAppLayoutHonored=!0,this.appLayout=this.defaultAppLayout):this.appLayout||(this.appLayout="splitView"),this._isMapViewOnLoad="mapView"===this.appLayout,this._setActiveLayout(this.appLayout)}_getFooter(){const t=this._numSelected>0,i=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete;return this._isPortraitMobile&&t&&!this._hideFooter?s("div",{class:"width-100",slot:"footer"},s("div",{class:"display-flex padding-1-2"},s("calcite-button",{appearance:"solid",id:"solutions-show",onClick:()=>this.showHideMapPopupAndTable(!0),width:"full"},this._translations.view.replace("{{n}}",this._numSelected.toString())),i?s("delete-button",{class:"padding-inline-start-1 width-full",id:"solutions-delete",ids:this._layerTable.selectedIds,layer:this._layer,locale:this.locale}):void 0)):void 0}_setActiveLayout(t){"splitView"!==t||this._panelOpen||this._toggleLayout(),"mapView"===t?this._showMapInFullView():this._showMapInCardView()}_getDividerIcon(t,i){let e="";switch(t){case h.HORIZONTAL:e=i?"chevrons-up":"chevrons-down";break;case h.VERTICAL:case h.GRID:e=i?"chevrons-left":"chevrons-right"}return e}_getMapSizeClass(t,i,e){let s="";switch(t){case h.HORIZONTAL:s=(i&&!e?"height-1-2 display-grid":i&&e?"height-full":"height-0")+" width-full position-relative";break;case h.GRID:s="height-full position-relative "+(i?"width-1-3":"width-0");break;case h.VERTICAL:s="height-full position-relative "+(i?"width-1-2":"width-0")}return s}_getTableSizeClass(t,i){let e="";switch(t){case h.HORIZONTAL:e=(i?"height-1-2":"height-full")+" width-full display-flex flex-column";break;case h.GRID:e=(i?"width-2-3":"width-full")+" height-full display-flex";break;case h.VERTICAL:e=(i?"width-1-2":"width-full")+" height-full display-flex"}return e}_getBody(t,i,e){const o="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return s("calcite-panel",{class:"width-full height-full position-absolute"},s("div",{class:"width-full height-full overflow-hidden "+(t===h.HORIZONTAL?"":"display-flex")},this._getMapAndCard(t,i,e),this._getTable(t,i,e)),this.coverPageEnabled&&s("div",{class:"floating-container",onClick:this.coverPageButtonClick.bind(this)},s("calcite-button",{appearance:"solid",class:`floating-button ${o}`,"icon-start":"content-minimal",kind:"neutral",label:"",round:!0,scale:"l","split-child":"primary",width:"auto"})),this.introductionWindowEnabled&&s("div",{class:"floating-container",onClick:this.infoButtonClick.bind(this)},s("calcite-button",{appearance:"solid",class:`floating-button ${o}`,"icon-start":"information-letter",kind:"neutral",label:"",round:!0,scale:"l","split-child":"primary",width:"auto"})))}infoButtonClick(){this.showIntroductionWindow.emit()}coverPageButtonClick(){this.showCoverPage.emit()}_getMapAndCard(t,i,e){const o=this._getMapSizeClass(t,i,e);return s("div",{class:`${o} overflow-hidden z-index-1 ${!this._isPortraitMobile&&this._isMobile?"border-right":""}`},this._getMapNode(i),this._getPopupExpandNode())}_getMapNode(t){const i="mapView"===this.appLayout,e="tableView"===this.appLayout;return s("div",{class:(i||e?"position-absolute-0":this._layoutMode!==h.HORIZONTAL||this._isPortraitMobile&&!t?"adjusted-height-50":"")+" overflow-hidden",id:"card-mapView"},s("map-card",{appLayout:this.appLayout,appProxies:this.appProxies,basemapConfig:this.basemapConfig,class:"width-full",defaultLayerId:this.defaultWebmap&&this.defaultLayer?this.defaultLayer:"",defaultWebmapId:this.defaultWebmap,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableShare:this.enableShare,enableSingleExpand:!0,hidden:!this._isPortraitMobile&&e,homeZoomIndex:3,homeZoomPosition:"top-left",homeZoomToolsSize:"s",isMapLayout:i,isMobile:this._isMobile,locale:this.locale,mapInfo:this._mapInfo,mapInfos:this.mapInfos?.filter((t=>!1!==t.visible)),mapWidgetsIndex:0,mapWidgetsPosition:"top-right",mapWidgetsSize:"m",onToggleFilter:this._toggleFilter.bind(this),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,ref:t=>this._mapCard=t,selectedFeaturesIds:this._layerTable?.selectedIds,selectedLayer:this._layer,shareIncludeEmbed:this.shareIncludeEmbed,shareIncludeSocial:this.shareIncludeSocial,stackTools:!0,theme:this.theme,toolOrder:["legend","search","fullscreen","basemap","floorfilter"],zoomToScale:this.zoomToScale}))}_getPopupExpandNode(){const t=this._isPortraitMobile&&this._showInformationHeader?"display-none height-0":"";return s("div",{class:`${this.popupHeaderColor?"":this._isPortraitMobile?"calcite-mode-light":"calcite-mode-dark"} ${this._isMobile?"height-full":"height-full position-relative"} ${this._isPortraitMobile&&this._hideTable?"position-absolute-0 width-full height-full":this._isPortraitMobile?"display-none height-0":""} ${this.mapInfos?.length>1&&"tableView"===this.appLayout?"position-relative top-51":""} position-sticky`,style:{"--calcite-color-foreground-1":this.popupHeaderColor,"--calcite-color-foreground-2":this.popupHeaderHoverColor,"--calcite-color-text-3":this.popupHeaderTextColor,"--calcite-color-text-2":this.popupHeaderTextColor}},s("calcite-panel",null,!this._isPortraitMobile&&this._showInformationHeader||this._numSelected>0&&!this._isPortraitMobile?s("div",{class:`display-flex align-items-center ${t}`,slot:"header-content"},s("calcite-icon",{icon:"information",scale:"s"}),s("div",{class:"padding-inline-start-75"},this._translations.information)):s("div",null),this._getCardNode()))}_getCardNode(){const t="mapView"===this.appLayout,i="tableView"===this.appLayout;return s("div",{class:"width-50 height-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},s("card-manager",{class:(i&&this.mapInfos?.length>1?"adjusted-height-100-51":t||i?"height-full":this._numSelected>0&&!this._isMobile?"height-50":this._showInformationHeader?this._isPortraitMobile?"height-full":"height-50":"adjusted-height-50_25")+" width-full",customInfoText:this.customInfoText,enableCreateFeatures:this._enableCreateFeatures&&!this._isMobile,enableEditGeometry:this?._mapInfo?.enableEditGeometry,isMobile:this._isPortraitMobile,layer:this._layer,locale:this.locale,mapView:this?._mapView,onBackFromCreateWorkFlow:()=>{this._showInformationHeader=!0},onCreateWorkFlowStarted:()=>{this.appLayout=this._layer.isTable?"tableView":"mapView",this._showInformationHeader=!1},onFeatureOrRecordSubmitted:()=>{this._layerTable.refresh()},selectedFeaturesIds:this._layerTable?.selectedIds,selectingFeatureFromMap:"mapView"===this.appLayout,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))}_getTable(t,i,e){const o="mapView"===this.appLayout,a="tableView"===this.appLayout,l=e&&this._isPortraitMobile?"visibility-hidden":o?"display-none":"",n=o?"height-full width-full z-index-0":"display-none",r=this._getTableSizeClass(t,i),d=t===h.HORIZONTAL?"horizontal":"vertical",c=t===h.HORIZONTAL?"header":"panel-start",p=this.defaultWebmap&&this.defaultLayer,u=this.defaultGlobalId?this.defaultGlobalId?.indexOf(",")>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0,g=this.defaultOid?this.defaultOid?.indexOf(",")>-1?this.defaultOid.split(",").map((t=>parseInt(t,10))):[parseInt(this.defaultOid,10)]:void 0;return s("calcite-shell",{class:`${r} border-bottom`},this._isMobile?void 0:s("calcite-action-bar",{class:"border-sides",expandDisabled:!0,layout:d,slot:c},this.getActions(t,i)),s("div",{class:`width-full height-full position-relative z-index-0 ${l}`},s("layer-table",{appLayout:this.appLayout,createFilterModal:!1,defaultGlobalId:p?u:void 0,defaultLayerId:p?this.defaultLayer:"",defaultOid:p&&!u?g:void 0,enableAutoRefresh:this.enableAutoRefresh,enableCSV:this.enableCSV,enableColumnReorder:this.enableColumnReorder,enableInlineEdit:this?._mapInfo?.enableInlineEdit,enableShare:this.enableShare,honorMapFieldSettings:this.honorMapFieldSettings,isMobile:this._isPortraitMobile,locale:this.locale,mapHidden:a,mapInfo:this._mapInfo,mapView:this?._mapView,onToggleFilter:this._toggleFilter.bind(this),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,ref:t=>this._layerTable=t,shareIncludeEmbed:this.shareIncludeEmbed,shareIncludeSocial:this.shareIncludeSocial,showNewestFirst:this.showNewestFirst,zoomAndScrollToSelected:this.zoomAndScrollToSelected,zoomToScale:this.zoomToScale})),s("div",{class:n,id:"full-map-view"}))}getActions(t,i){const e=this._getDividerIcon(t,i),o=i?this._translations.close:this._translations.open,l="toggle-layout";return s(a,null,s("calcite-action",{active:"splitView"===this.appLayout,class:"toggle-node",icon:"browser",id:"browser-action",onClick:()=>{this.appLayout="splitView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"browser-action"},s("span",null,this._translations.splitView)),s("calcite-action",{active:"tableView"===this.appLayout,class:"toggle-node",icon:"dock-left",id:"dock-left-action",onClick:()=>{this.appLayout="tableView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"dock-left-action"},s("span",null,this._translations.tableView)),s("calcite-action",{active:"mapView"===this.appLayout,class:"toggle-node",disabled:0===this._layerIds?.length,icon:"browser-map",id:"browser-map-action",onClick:()=>{this.appLayout="mapView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"browser-map-action"},s("span",null,this._translations.mapView)),s("calcite-action",{class:"toggle-node",icon:e,id:l,onClick:()=>this._toggleLayout(),slot:"actions-end",text:""}),s("calcite-tooltip",{placement:"bottom","reference-element":l},s("span",null,o)))}_deleteModal(){return s("delete-dialog",{id:"deleteDialogId",ids:this._deleteIds,layer:this._layer,locale:this.locale,onDeleteDialogClose:()=>this._deleteDialogOpen=!1,open:this._deleteDialogOpen})}_filterModal(){return s("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"},s("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:async()=>this._closeFilter(),comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:()=>{this._handleFilterListReset(),this._mapCard.resetFilter()},onFilterUpdate:async()=>{const t=this._filterList.filterCount>0;await(this._layerTable?.filterUpdate(t)),await this._mapCard.updateFilterState(t)},ref:t=>this._filterList=t,view:this._mapView,zoomBtn:!1}))}_initLayerExpressions(){const t=this._mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=t?t.filter((t=>t.id===this._layer?.id)):[],this._filterList.layerExpressions=this._layerExpressions,this._layerExpressions.filter((t=>t.expressions.filter((t=>t.active)).length>0))}_toggleFilter(){this._filterOpen=!this._filterOpen}_handleFilterListReset(){this._layerTable.filterReset()}async _closeFilter(){this._filterOpen&&(this._filterOpen=!1,this._layerTable.closeFilter())}_onResize(){const t=this.el.offsetWidth<1024,i=!this._isMobile&&t;this._isMobile=t,i&&(this._panelOpen=!0),this._isMobile?(this.showHideMapPopupAndTable(!this._isMobile),this._isPortraitMobile=!!window.matchMedia("(orientation: portrait)").matches,this.appLayout="splitView"):this._isPortraitMobile=!1,this._layoutMode=this._isPortraitMobile?h.HORIZONTAL:h.GRID}_toggleLayout(){this._panelOpen=!this._panelOpen}_showMapInCardView(){if("mapView"!==this.appLayout){const t=document.getElementById("full-map-view")?.childNodes[0],i=document.getElementById("card-mapView");t&&i.appendChild(t)}}_showMapInFullView(){const t=document.getElementById("card-mapView")?.childNodes[0],i=document.getElementById("full-map-view");t&&i.appendChild(t)}showHideMapPopupAndTable(t){this._hideTable=t,this._hideFooter=t}_getMapInfo(t){let i;return this.mapInfos.some((e=>{if(e.id===t)return i=e,!0})),{...i}}async _setMapView(){this._mapInfo=this._getMapInfo(this._mapChange.id),this._enableCreateFeatures=this._mapInfo.enableCreateFeatures,this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView.popupEnabled=!1;const t=!this.defaultCenter||this._defaultCenterHonored?void 0:this.defaultCenter?.split(";").map((t=>parseFloat(t))),i=!this.defaultLevel||this._defaultLevelHonored?void 0:parseInt(this.defaultLevel,10);t&&i&&(await this._mapView.goTo({center:t,zoom:i}),this._defaultCenterHonored=!0,this._defaultLevelHonored=!0)}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView.ui.remove("zoom")}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],enableZoom:["enableZoomWatchHandler"],locale:["localeWatchHandler"]}}};r.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none !important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}.position-absolute-0{position:absolute;top:0px;bottom:0px;left:0px;right:0px}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0px}.floating-container .floating-button{box-shadow:0 10px 25px rgb(92 93 94 / 60%);transform:translatey(5px);transition:all 0.3s}.z-index-0{z-index:0 !important}.z-index-1{z-index:1 !important}.filter-content-space{--calcite-dialog-content-space:0px}";export{r as crowdsource_manager}
|
6
|
+
import{r as t,c as i,g as e,h as s,H as o,F as a}from"./p-1b0588d2.js";import{g as l}from"./p-ee2cbba0.js";import{E as h}from"./p-80cb7c73.js";import{g as n}from"./p-952da957.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const r=class{constructor(e){t(this,e),this.showIntroductionWindow=i(this,"showIntroductionWindow",7),this.showCoverPage=i(this,"showCoverPage",7)}get el(){return e(this)}appLayout;appProxies;basemapConfig;coverPageEnabled;customInfoText;defaultAppLayout;defaultCenter="";defaultGlobalId="";defaultLayer="";defaultLevel="";defaultOid="";defaultWebmap="";honorMapFieldSettings=!1;introductionWindowEnabled=!1;enableAutoRefresh=!1;enableBasemap=!0;enableColumnReorder=!0;enableCSV=!0;enableFloorFilter=!0;enableFullscreen=!0;enableHome=!0;enableLegend=!0;enableSearch=!0;enableShare=!1;enableZoom=!0;locale;mapInfos=[];onlyShowUpdatableLayers=!0;popupHeaderColor;popupHeaderHoverColor;popupHeaderHoverTextColor;popupHeaderTextColor;searchConfiguration;shareIncludeEmbed;shareIncludeSocial;showNewestFirst=!0;theme="light";zoomAndScrollToSelected=!1;zoomToScale;_deleteDialogOpen=!1;_enableCreateFeatures=!0;_hideFooter=!1;_hideTable=!1;_isMobile=!1;_isPortraitMobile=!1;_translations;_layer;_layoutMode=h.GRID;_mapInfo;_mapView;_panelOpen=!0;_numSelected=0;_filterOpen=!1;_showInformationHeader=!0;_layerIds;_isLoading=!0;_defaultAppLayoutHonored=!1;_defaultCenterHonored=!1;_defaultLevelHonored=!1;_deleteIds;_layerTable;_mapChange;_resizeObserver;_shouldSetMapView=!1;_layerExpressions;_filterList;_mapCard;_isMapViewOnLoad=!1;appLayoutWatchHandler(t,i){t!==i&&(this._setActiveLayout(t),"mapView"===this.appLayout&&this._layer?.isTable&&this._mapCard.updateLayer(),this._isMapViewOnLoad&&(this._layerTable.refresh(),this._isMapViewOnLoad=!1))}enableZoomWatchHandler(){this._initMapZoom()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}showIntroductionWindow;showCoverPage;async featureSelectionChange(t){this._numSelected=t.detail?.length}async popupClosed(){this._isPortraitMobile&&this.showHideMapPopupAndTable(!1)}async layoutChanged(t){this._layoutMode=t.detail}async mapChanged(t){this._mapChange=t.detail,await this._mapChange.mapView.when((async()=>{await this._setMapView()}))}async layerSelectionChange(t){const i=t.detail[0],e=await n(this._mapView,i);e&&await e.when((()=>{0===this._layerIds.length&&"mapView"===this.appLayout&&e.isTable&&(this.appLayout="splitView"),this._layer=e,this._initLayerExpressions(),this._isLoading=!1}))}async showDelete(t){this._deleteIds=t.detail.ids,this._deleteDialogOpen=!0}async idsFound(t){this._layerIds=t.detail.layerIds}async componentWillLoad(){await this._getTranslations(),this._resizeObserver=new ResizeObserver((()=>this._onResize()))}render(){return s(o,{key:"24b7324257b94560153db83dd6b29730bef8f38f"},s("calcite-shell",{key:"c7a445ffdf9fa59c7bd1aff125a77e811f6ce736",class:"position-relative"},s("calcite-panel",{key:"81598a858cfbdfcb6346bc3efa6eb55699d2c5ff",class:"width-full height-full "+(this.popupHeaderColor&&"#FFFFFF"!==this.popupHeaderColor?"border-width-0":""),loading:this._isLoading},this._getBody(this._layoutMode,this._panelOpen,this._hideTable)),this._getFooter()),this._filterModal(),this._deleteModal())}async componentDidRender(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._mapChange&&await this._setMapView())}async componentDidLoad(){this._resizeObserver.observe(this.el),!this._defaultAppLayoutHonored&&this.defaultAppLayout?(this._defaultAppLayoutHonored=!0,this.appLayout=this.defaultAppLayout):this.appLayout||(this.appLayout="splitView"),this._isMapViewOnLoad="mapView"===this.appLayout,this._setActiveLayout(this.appLayout)}_getFooter(){const t=this._numSelected>0,i=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete;return this._isPortraitMobile&&t&&!this._hideFooter?s("div",{class:"width-100",slot:"footer"},s("div",{class:"display-flex padding-1-2"},s("calcite-button",{appearance:"solid",id:"solutions-show",onClick:()=>this.showHideMapPopupAndTable(!0),width:"full"},this._translations.view.replace("{{n}}",this._numSelected.toString())),i?s("delete-button",{class:"padding-inline-start-1 width-full",id:"solutions-delete",ids:this._layerTable.selectedIds,layer:this._layer,locale:this.locale}):void 0)):void 0}_setActiveLayout(t){"splitView"!==t||this._panelOpen||this._toggleLayout(),"mapView"===t?this._showMapInFullView():this._showMapInCardView()}_getDividerIcon(t,i){let e="";switch(t){case h.HORIZONTAL:e=i?"chevrons-up":"chevrons-down";break;case h.VERTICAL:case h.GRID:e=i?"chevrons-left":"chevrons-right"}return e}_getMapSizeClass(t,i,e){let s="";switch(t){case h.HORIZONTAL:s=(i&&!e?"height-1-2 display-grid":i&&e?"height-full":"height-0")+" width-full position-relative";break;case h.GRID:s="height-full position-relative "+(i?"width-1-3":"width-0");break;case h.VERTICAL:s="height-full position-relative "+(i?"width-1-2":"width-0")}return s}_getTableSizeClass(t,i){let e="";switch(t){case h.HORIZONTAL:e=(i?"height-1-2":"height-full")+" width-full display-flex flex-column";break;case h.GRID:e=(i?"width-2-3":"width-full")+" height-full display-flex";break;case h.VERTICAL:e=(i?"width-1-2":"width-full")+" height-full display-flex"}return e}_getBody(t,i,e){const o="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return s("calcite-panel",{class:"width-full height-full position-absolute"},s("div",{class:"width-full height-full overflow-hidden "+(t===h.HORIZONTAL?"":"display-flex")},this._getMapAndCard(t,i,e),this._getTable(t,i,e)),this.coverPageEnabled&&s("div",{class:"floating-container",onClick:this.coverPageButtonClick.bind(this)},s("calcite-button",{appearance:"solid",class:`floating-button ${o}`,"icon-start":"content-minimal",kind:"neutral",label:"",round:!0,scale:"l","split-child":"primary",width:"auto"})),this.introductionWindowEnabled&&s("div",{class:"floating-container",onClick:this.infoButtonClick.bind(this)},s("calcite-button",{appearance:"solid",class:`floating-button ${o}`,"icon-start":"information-letter",kind:"neutral",label:"",round:!0,scale:"l","split-child":"primary",width:"auto"})))}infoButtonClick(){this.showIntroductionWindow.emit()}coverPageButtonClick(){this.showCoverPage.emit()}_getMapAndCard(t,i,e){const o=this._getMapSizeClass(t,i,e);return s("div",{class:`${o} overflow-hidden z-index-1 ${!this._isPortraitMobile&&this._isMobile?"border-right":""}`},this._getMapNode(i),this._getPopupExpandNode())}_getMapNode(t){const i="mapView"===this.appLayout,e="tableView"===this.appLayout;return s("div",{class:(i||e?"position-absolute-0":this._layoutMode!==h.HORIZONTAL||this._isPortraitMobile&&!t?"adjusted-height-50":"")+" overflow-hidden",id:"card-mapView"},s("map-card",{appLayout:this.appLayout,appProxies:this.appProxies,basemapConfig:this.basemapConfig,class:"width-full",defaultLayerId:this.defaultWebmap&&this.defaultLayer?this.defaultLayer:"",defaultWebmapId:this.defaultWebmap,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableShare:this.enableShare,enableSingleExpand:!0,hidden:!this._isPortraitMobile&&e,homeZoomIndex:3,homeZoomPosition:"top-left",homeZoomToolsSize:"s",isMapLayout:i,isMobile:this._isMobile,locale:this.locale,mapInfo:this._mapInfo,mapInfos:this.mapInfos?.filter((t=>!1!==t.visible)),mapWidgetsIndex:0,mapWidgetsPosition:"top-right",mapWidgetsSize:"m",onToggleFilter:this._toggleFilter.bind(this),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,ref:t=>this._mapCard=t,selectedFeaturesIds:this._layerTable?.selectedIds,selectedLayer:this._layer,shareIncludeEmbed:this.shareIncludeEmbed,shareIncludeSocial:this.shareIncludeSocial,stackTools:!0,theme:this.theme,toolOrder:["legend","search","fullscreen","basemap","floorfilter"],zoomToScale:this.zoomToScale}))}_getPopupExpandNode(){const t=this._isPortraitMobile&&this._showInformationHeader?"display-none height-0":"";return s("div",{class:`${this.popupHeaderColor?"":this._isPortraitMobile?"calcite-mode-light":"calcite-mode-dark"} ${this._isMobile?"height-full":"height-full position-relative"} ${this._isPortraitMobile&&this._hideTable?"position-absolute-0 width-full height-full":this._isPortraitMobile?"display-none height-0":""} ${this.mapInfos?.length>1&&"tableView"===this.appLayout?"position-relative top-51":""} position-sticky`,style:{"--calcite-color-foreground-1":this.popupHeaderColor,"--calcite-color-foreground-2":this.popupHeaderHoverColor,"--calcite-color-text-3":this.popupHeaderTextColor,"--calcite-color-text-2":this.popupHeaderTextColor}},s("calcite-panel",null,!this._isPortraitMobile&&this._showInformationHeader||this._numSelected>0&&!this._isPortraitMobile?s("div",{class:`display-flex align-items-center ${t}`,slot:"header-content"},s("calcite-icon",{icon:"information",scale:"s"}),s("div",{class:"padding-inline-start-75"},this._translations.information)):s("div",null),this._getCardNode()))}_getCardNode(){const t="mapView"===this.appLayout,i="tableView"===this.appLayout;return s("div",{class:"width-50 height-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},s("card-manager",{class:(i&&this.mapInfos?.length>1?"adjusted-height-100-51":t||i?"height-full":this._numSelected>0&&!this._isMobile?"height-50":this._showInformationHeader?this._isPortraitMobile?"height-full":"height-50":"adjusted-height-50_25")+" width-full",customInfoText:this.customInfoText,enableCreateFeatures:this._enableCreateFeatures&&!this._isMobile,enableEditGeometry:this?._mapInfo?.enableEditGeometry,isMobile:this._isPortraitMobile,layer:this._layer,locale:this.locale,mapView:this?._mapView,onBackFromCreateWorkFlow:()=>{this._showInformationHeader=!0},onCreateWorkFlowStarted:()=>{this.appLayout=this._layer.isTable?"tableView":"mapView",this._showInformationHeader=!1},onFeatureOrRecordSubmitted:()=>{this._layerTable.refresh()},selectedFeaturesIds:this._layerTable?.selectedIds,selectingFeatureFromMap:"mapView"===this.appLayout,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))}_getTable(t,i,e){const o="mapView"===this.appLayout,a="tableView"===this.appLayout,l=e&&this._isPortraitMobile?"visibility-hidden":o?"display-none":"",n=o?"height-full width-full z-index-0":"display-none",r=this._getTableSizeClass(t,i),d=t===h.HORIZONTAL?"horizontal":"vertical",c=t===h.HORIZONTAL?"header":"panel-start",p=this.defaultWebmap&&this.defaultLayer,u=this.defaultGlobalId?this.defaultGlobalId?.indexOf(",")>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0,g=this.defaultOid?this.defaultOid?.indexOf(",")>-1?this.defaultOid.split(",").map((t=>parseInt(t,10))):[parseInt(this.defaultOid,10)]:void 0;return s("calcite-shell",{class:`${r} border-bottom`},this._isMobile?void 0:s("calcite-action-bar",{class:"border-sides",expandDisabled:!0,layout:d,slot:c},this.getActions(t,i)),s("div",{class:`width-full height-full position-relative z-index-0 ${l}`},s("layer-table",{appLayout:this.appLayout,createFilterModal:!1,defaultGlobalId:p?u:void 0,defaultLayerId:p?this.defaultLayer:"",defaultOid:p&&!u?g:void 0,enableAutoRefresh:this.enableAutoRefresh,enableCSV:this.enableCSV,enableColumnReorder:this.enableColumnReorder,enableInlineEdit:this?._mapInfo?.enableInlineEdit,enableShare:this.enableShare,honorMapFieldSettings:this.honorMapFieldSettings,isMobile:this._isPortraitMobile,locale:this.locale,mapHidden:a,mapInfo:this._mapInfo,mapView:this?._mapView,onToggleFilter:this._toggleFilter.bind(this),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,ref:t=>this._layerTable=t,shareIncludeEmbed:this.shareIncludeEmbed,shareIncludeSocial:this.shareIncludeSocial,showNewestFirst:this.showNewestFirst,zoomAndScrollToSelected:this.zoomAndScrollToSelected,zoomToScale:this.zoomToScale})),s("div",{class:n,id:"full-map-view"}))}getActions(t,i){const e=this._getDividerIcon(t,i),o=i?this._translations.close:this._translations.open,l="toggle-layout";return s(a,null,s("calcite-action",{active:"splitView"===this.appLayout,class:"toggle-node",icon:"browser",id:"browser-action",onClick:()=>{this.appLayout="splitView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"browser-action"},s("span",null,this._translations.splitView)),s("calcite-action",{active:"tableView"===this.appLayout,class:"toggle-node",icon:"dock-left",id:"dock-left-action",onClick:()=>{this.appLayout="tableView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"dock-left-action"},s("span",null,this._translations.tableView)),s("calcite-action",{active:"mapView"===this.appLayout,class:"toggle-node",disabled:0===this._layerIds?.length,icon:"browser-map",id:"browser-map-action",onClick:()=>{this.appLayout="mapView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"browser-map-action"},s("span",null,this._translations.mapView)),s("calcite-action",{class:"toggle-node",icon:e,id:l,onClick:()=>this._toggleLayout(),slot:"actions-end",text:""}),s("calcite-tooltip",{placement:"bottom","reference-element":l},s("span",null,o)))}_deleteModal(){return s("delete-dialog",{id:"deleteDialogId",ids:this._deleteIds,layer:this._layer,locale:this.locale,onDeleteDialogClose:()=>this._deleteDialogOpen=!1,open:this._deleteDialogOpen})}_filterModal(){return s("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"},s("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:()=>{this._closeFilter()},comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:()=>{this._handleFilterListReset(),this._mapCard.resetFilter()},onFilterUpdate:()=>{this._updateFilter()},ref:t=>this._filterList=t,view:this._mapView,zoomBtn:!1}))}_initLayerExpressions(){const t=this._mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=t?t.filter((t=>t.id===this._layer?.id)):[],this._filterList.layerExpressions=this._layerExpressions,this._layerExpressions.filter((t=>t.expressions.filter((t=>t.active)).length>0))}_toggleFilter(){this._filterOpen=!this._filterOpen}_handleFilterListReset(){this._layerTable.filterReset()}async _closeFilter(){this._filterOpen&&(this._filterOpen=!1,this._layerTable.closeFilter())}async _updateFilter(){const t=this._filterList.filterCount>0;await(this._layerTable?.filterUpdate(t)),await this._mapCard.updateFilterState(t)}_onResize(){const t=this.el.offsetWidth<1024,i=!this._isMobile&&t;this._isMobile=t,i&&(this._panelOpen=!0),this._isMobile?(this.showHideMapPopupAndTable(!this._isMobile),this._isPortraitMobile=!!window.matchMedia("(orientation: portrait)").matches,this.appLayout="splitView"):this._isPortraitMobile=!1,this._layoutMode=this._isPortraitMobile?h.HORIZONTAL:h.GRID}_toggleLayout(){this._panelOpen=!this._panelOpen}_showMapInCardView(){if("mapView"!==this.appLayout){const t=document.getElementById("full-map-view")?.childNodes[0],i=document.getElementById("card-mapView");t&&i.appendChild(t)}}_showMapInFullView(){const t=document.getElementById("card-mapView")?.childNodes[0],i=document.getElementById("full-map-view");t&&i.appendChild(t)}showHideMapPopupAndTable(t){this._hideTable=t,this._hideFooter=t}_getMapInfo(t){let i;return this.mapInfos.some((e=>{if(e.id===t)return i=e,!0})),{...i}}async _setMapView(){this._mapInfo=this._getMapInfo(this._mapChange.id),this._enableCreateFeatures=this._mapInfo.enableCreateFeatures,this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView.popupEnabled=!1;const t=!this.defaultCenter||this._defaultCenterHonored?void 0:this.defaultCenter?.split(";").map((t=>parseFloat(t))),i=!this.defaultLevel||this._defaultLevelHonored?void 0:parseInt(this.defaultLevel,10);t&&i&&(await this._mapView.goTo({center:t,zoom:i}),this._defaultCenterHonored=!0,this._defaultLevelHonored=!0)}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView.ui.remove("zoom")}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],enableZoom:["enableZoomWatchHandler"],locale:["localeWatchHandler"]}}};r.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none !important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}.position-absolute-0{position:absolute;top:0px;bottom:0px;left:0px;right:0px}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0px}.floating-container .floating-button{box-shadow:0 10px 25px rgb(92 93 94 / 60%);transform:translatey(5px);transition:all 0.3s}.z-index-0{z-index:0 !important}.z-index-1{z-index:1 !important}.filter-content-space{--calcite-dialog-content-space:0px}";export{r as crowdsource_manager}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{g as r}from"./p-d4056c1c.js";import{_ as t}from"./p-
|
6
|
+
import{g as r}from"./p-d4056c1c.js";import{_ as t}from"./p-4fe489cf.js";var n,o,e={exports:{}},i={exports:{}},u={exports:{}};o=t.exports.default,(n=u).exports=function(r,t){if("object"!=o(r)||!r)return r;var n=r[Symbol.toPrimitive];if(void 0!==n){var e=n.call(r,t||"default");if("object"!=o(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(r)},n.exports.__esModule=!0,n.exports.default=n.exports,function(r){var n=t.exports.default,o=u.exports;r.exports=function(r){var t=o(r,"string");return"symbol"==n(t)?t:t+""},r.exports.__esModule=!0,r.exports.default=r.exports}(i),function(r){var t=i.exports;r.exports=function(r,n,o){return(n=t(n))in r?Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[n]=o,r},r.exports.__esModule=!0,r.exports.default=r.exports}(e);const a=r(e.exports);var c={exports:{}};!function(r){function t(r,t,n,o,e,i,u){try{var a=r[i](u),c=a.value}catch(r){return void n(r)}a.done?t(c):Promise.resolve(c).then(o,e)}r.exports=function(r){return function(){var n=this,o=arguments;return new Promise((function(e,i){var u=r.apply(n,o);function a(r){t(u,e,i,a,c,"next",r)}function c(r){t(u,e,i,a,c,"throw",r)}a(void 0)}))}},r.exports.__esModule=!0,r.exports.default=r.exports}(c);const f=r(c.exports);export{f as _,a,e as d}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{c as t}from"./p-d4056c1c.js";import{_ as r,a as e}from"./p-62a0aa8e.js";import"./p-af7e43e0.js";var i=function(t){return t&&t.Math===Math&&t},n=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof t&&t)||i("object"==typeof t&&t)||function(){return this}()||Function("return this")(),s={},a=function(t){try{return!!t()}catch(t){return!0}},o=!a((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),h=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),u=Function.prototype.call,c=h?u.bind(u):function(){return u.apply(u,arguments)},f={},l={}.propertyIsEnumerable,v=Object.getOwnPropertyDescriptor,d=v&&!l.call({1:2},1);f.f=d?function(t){var r=v(this,t);return!!r&&r.enumerable}:l;var p,y,g=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},m=h,b=Function.prototype,w=b.call,x=m&&b.bind.bind(w,w),M=m?x:function(t){return function(){return w.apply(t,arguments)}},k=M,N=k({}.toString),S=k("".slice),O=function(t){return S(N(t),8,-1)},P=a,j=O,E=Object,C=M("".split),T=P((function(){return!E("z").propertyIsEnumerable(0)}))?function(t){return"String"===j(t)?C(t,""):E(t)}:E,A=function(t){return null==t},R=A,B=TypeError,$=function(t){if(R(t))throw new B("Can't call method on "+t);return t},D=T,L=$,F=function(t){return D(L(t))},I="object"==typeof document&&document.all,z=void 0===I&&void 0!==I?function(t){return"function"==typeof t||t===I}:function(t){return"function"==typeof t},_=z,Y=function(t){return"object"==typeof t?null!==t:_(t)},X=n,U=z,q=function(t,r){return arguments.length<2?U(e=X[t])?e:void 0:X[t]&&X[t][r];var e},G=M({}.isPrototypeOf),V=n.navigator,H=V&&V.userAgent,W=H?String(H):"",Q=W,Z=n.process,K=n.Deno,J=Z&&Z.versions||K&&K.version,tt=J&&J.v8;tt&&(y=(p=tt.split("."))[0]>0&&p[0]<4?1:+(p[0]+p[1])),!y&&Q&&(!(p=Q.match(/Edge\/(\d+)/))||p[1]>=74)&&(p=Q.match(/Chrome\/(\d+)/))&&(y=+p[1]);var rt=y,et=rt,it=n.String,nt=!!Object.getOwnPropertySymbols&&!a((function(){var t=Symbol("symbol detection");return!it(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&et&&et<41})),st=nt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,at=q,ot=z,ht=G,ut=Object,ct=st?function(t){return"symbol"==typeof t}:function(t){var r=at("Symbol");return ot(r)&&ht(r.prototype,ut(t))},ft=String,lt=function(t){try{return ft(t)}catch(t){return"Object"}},vt=z,dt=lt,pt=TypeError,yt=function(t){if(vt(t))return t;throw new pt(dt(t)+" is not a function")},gt=yt,mt=A,bt=function(t,r){var e=t[r];return mt(e)?void 0:gt(e)},wt=c,xt=z,Mt=Y,kt=TypeError,Nt={exports:{}},St=n,Ot=Object.defineProperty,Pt=function(t,r){try{Ot(St,t,{value:r,configurable:!0,writable:!0})}catch(e){St[t]=r}return r},jt="__core-js_shared__",Et=Nt.exports=n[jt]||Pt(jt,{});(Et.versions||(Et.versions=[])).push({version:"3.40.0",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.40.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Ct=Nt.exports,Tt=function(t,r){return Ct[t]||(Ct[t]=r||{})},At=$,Rt=Object,Bt=function(t){return Rt(At(t))},$t=Bt,Dt=M({}.hasOwnProperty),Lt=Object.hasOwn||function(t,r){return Dt($t(t),r)},Ft=M,It=0,zt=Math.random(),_t=Ft(1..toString),Yt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+_t(++It+zt,36)},Xt=Lt,Ut=Yt,qt=nt,Gt=st,Vt=n.Symbol,Ht=Tt("wks"),Wt=Gt?Vt.for||Vt:Vt&&Vt.withoutSetter||Ut,Qt=function(t){return Xt(Ht,t)||(Ht[t]=qt&&Xt(Vt,t)?Vt[t]:Wt("Symbol."+t)),Ht[t]},Zt=c,Kt=Y,Jt=ct,tr=bt,rr=TypeError,er=Qt("toPrimitive"),ir=function(t,r){if(!Kt(t)||Jt(t))return t;var e,i=tr(t,er);if(i){if(void 0===r&&(r="default"),e=Zt(i,t,r),!Kt(e)||Jt(e))return e;throw new rr("Can't convert object to primitive value")}return void 0===r&&(r="number"),function(t,r){var e,i;if("string"===r&&xt(e=t.toString)&&!Mt(i=wt(e,t)))return i;if(xt(e=t.valueOf)&&!Mt(i=wt(e,t)))return i;if("string"!==r&&xt(e=t.toString)&&!Mt(i=wt(e,t)))return i;throw new kt("Can't convert object to primitive value")}(t,r)},nr=ct,sr=function(t){var r=ir(t,"string");return nr(r)?r:r+""},ar=Y,or=n.document,hr=ar(or)&&ar(or.createElement),ur=function(t){return hr?or.createElement(t):{}},cr=ur,fr=!o&&!a((function(){return 7!==Object.defineProperty(cr("div"),"a",{get:function(){return 7}}).a})),lr=c,vr=f,dr=g,pr=F,yr=sr,gr=Lt,mr=fr,br=Object.getOwnPropertyDescriptor;s.f=o?br:function(t,r){if(t=pr(t),r=yr(r),mr)try{return br(t,r)}catch(t){}if(gr(t,r))return dr(!lr(vr.f,t,r),t[r])};var wr={},xr=o&&a((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Mr=Y,kr=String,Nr=TypeError,Sr=function(t){if(Mr(t))return t;throw new Nr(kr(t)+" is not an object")},Or=fr,Pr=Sr,jr=sr,Er=TypeError,Cr=Object.defineProperty,Tr=Object.getOwnPropertyDescriptor,Ar="enumerable",Rr="configurable",Br="writable";wr.f=o?xr?function(t,r,e){if(Pr(t),r=jr(r),Pr(e),"function"==typeof t&&"prototype"===r&&"value"in e&&Br in e&&!e[Br]){var i=Tr(t,r);i&&i[Br]&&(t[r]=e.value,e={configurable:Rr in e?e[Rr]:i[Rr],enumerable:Ar in e?e[Ar]:i[Ar],writable:!1})}return Cr(t,r,e)}:Cr:function(t,r,e){if(Pr(t),r=jr(r),Pr(e),Or)try{return Cr(t,r,e)}catch(t){}if("get"in e||"set"in e)throw new Er("Accessors not supported");return"value"in e&&(t[r]=e.value),t};var $r=wr,Dr=g,Lr=o?function(t,r,e){return $r.f(t,r,Dr(1,e))}:function(t,r,e){return t[r]=e,t},Fr={exports:{}},Ir=o,zr=Function.prototype,_r=Ir&&Object.getOwnPropertyDescriptor,Yr=Lt(zr,"name"),Xr={EXISTS:Yr,PROPER:Yr&&"something"===function(){}.name,CONFIGURABLE:Yr&&(!Ir||Ir&&_r(zr,"name").configurable)},Ur=z,qr=Nt.exports,Gr=M(Function.toString);Ur(qr.inspectSource)||(qr.inspectSource=function(t){return Gr(t)});var Vr,Hr,Wr,Qr=qr.inspectSource,Zr=n.WeakMap,Kr=z(Zr)&&/native code/.test(String(Zr)),Jr=Yt,te=Tt("keys"),re=function(t){return te[t]||(te[t]=Jr(t))},ee={},ie=Y,ne=Lr,se=Lt,ae=Nt.exports,oe=re,he=ee,ue="Object already initialized",ce=n.TypeError;if(Kr||ae.state){var fe=ae.state||(ae.state=new(0,n.WeakMap));fe.get=fe.get,fe.has=fe.has,fe.set=fe.set,Vr=function(t,r){if(fe.has(t))throw new ce(ue);return r.facade=t,fe.set(t,r),r},Hr=function(t){return fe.get(t)||{}},Wr=function(t){return fe.has(t)}}else{var le=oe("state");he[le]=!0,Vr=function(t,r){if(se(t,le))throw new ce(ue);return r.facade=t,ne(t,le,r),r},Hr=function(t){return se(t,le)?t[le]:{}},Wr=function(t){return se(t,le)}}var ve={set:Vr,get:Hr,has:Wr,enforce:function(t){return Wr(t)?Hr(t):Vr(t,{})},getterFor:function(t){return function(r){var e;if(!ie(r)||(e=Hr(r)).type!==t)throw new ce("Incompatible receiver, "+t+" required");return e}}},de=M,pe=a,ye=z,ge=Lt,me=o,be=Xr.CONFIGURABLE,we=Qr,xe=ve.enforce,Me=ve.get,ke=String,Ne=Object.defineProperty,Se=de("".slice),Oe=de("".replace),Pe=de([].join),je=me&&!pe((function(){return 8!==Ne((function(){}),"length",{value:8}).length})),Ee=String(String).split("String"),Ce=Fr.exports=function(t,r,e){"Symbol("===Se(ke(r),0,7)&&(r="["+Oe(ke(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!ge(t,"name")||be&&t.name!==r)&&(me?Ne(t,"name",{value:r,configurable:!0}):t.name=r),je&&e&&ge(e,"arity")&&t.length!==e.arity&&Ne(t,"length",{value:e.arity});try{e&&ge(e,"constructor")&&e.constructor?me&&Ne(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var i=xe(t);return ge(i,"source")||(i.source=Pe(Ee,"string"==typeof r?r:"")),t};Function.prototype.toString=Ce((function(){return ye(this)&&Me(this).source||we(this)}),"toString");var Te=z,Ae=wr,Re=Fr.exports,Be=Pt,$e=function(t,r,e,i){i||(i={});var n=i.enumerable,s=void 0!==i.name?i.name:r;if(Te(e)&&Re(e,s,i),i.global)n?t[r]=e:Be(r,e);else{try{i.unsafe?t[r]&&(n=!0):delete t[r]}catch(t){}n?t[r]=e:Ae.f(t,r,{value:e,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return t},De={},Le=Math.ceil,Fe=Math.floor,Ie=Math.trunc||function(t){var r=+t;return(r>0?Fe:Le)(r)},ze=Ie,_e=function(t){var r=+t;return r!=r||0===r?0:ze(r)},Ye=_e,Xe=Math.max,Ue=Math.min,qe=_e,Ge=Math.min,Ve=function(t){var r=qe(t);return r>0?Ge(r,9007199254740991):0},He=Ve,We=function(t){return He(t.length)},Qe=F,Ze=We,Ke=function(t){return function(r,e,i){var n=Qe(r),s=Ze(n);if(0===s)return!t&&-1;var a,o=function(t,r){var e=Ye(t);return e<0?Xe(e+r,0):Ue(e,r)}(i,s);if(t&&e!=e){for(;s>o;)if((a=n[o++])!=a)return!0}else for(;s>o;o++)if((t||o in n)&&n[o]===e)return t||o||0;return!t&&-1}},Je={includes:Ke(!0),indexOf:Ke(!1)},ti=Lt,ri=F,ei=Je.indexOf,ii=ee,ni=M([].push),si=function(t,r){var e,i=ri(t),n=0,s=[];for(e in i)!ti(ii,e)&&ti(i,e)&&ni(s,e);for(;r.length>n;)ti(i,e=r[n++])&&(~ei(s,e)||ni(s,e));return s},ai=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],oi=si,hi=ai.concat("length","prototype");De.f=Object.getOwnPropertyNames||function(t){return oi(t,hi)};var ui={};ui.f=Object.getOwnPropertySymbols;var ci=q,fi=De,li=ui,vi=Sr,di=M([].concat),pi=ci("Reflect","ownKeys")||function(t){var r=fi.f(vi(t)),e=li.f;return e?di(r,e(t)):r},yi=Lt,gi=pi,mi=s,bi=wr,wi=a,xi=z,Mi=/#|\.prototype\./,ki=function(t,r){var e=Si[Ni(t)];return e===Pi||e!==Oi&&(xi(r)?wi(r):!!r)},Ni=ki.normalize=function(t){return String(t).replace(Mi,".").toLowerCase()},Si=ki.data={},Oi=ki.NATIVE="N",Pi=ki.POLYFILL="P",ji=ki,Ei=n,Ci=s.f,Ti=Lr,Ai=$e,Ri=Pt,Bi=function(t,r,e){for(var i=gi(r),n=bi.f,s=mi.f,a=0;a<i.length;a++){var o=i[a];yi(t,o)||e&&yi(e,o)||n(t,o,s(r,o))}},$i=ji,Di=function(t,r){var e,i,n,s,a,o=t.target,h=t.global,u=t.stat;if(e=h?Ei:u?Ei[o]||Ri(o,{}):Ei[o]&&Ei[o].prototype)for(i in r){if(s=r[i],n=t.dontCallGetSet?(a=Ci(e,i))&&a.value:e[i],!$i(h?i:o+(u?".":"#")+i,t.forced)&&void 0!==n){if(typeof s==typeof n)continue;Bi(s,n)}(t.sham||n&&n.sham)&&Ti(s,"sham",!0),Ai(e,i,s,t)}},Li=n,Fi=W,Ii=O,zi=function(t){return Fi.slice(0,t.length)===t},_i=zi("Bun/")?"BUN":zi("Cloudflare-Workers")?"CLOUDFLARE":zi("Deno/")?"DENO":zi("Node.js/")?"NODE":Li.Bun&&"string"==typeof Bun.version?"BUN":Li.Deno&&"object"==typeof Deno.version?"DENO":"process"===Ii(Li.process)?"NODE":Li.window&&Li.document?"BROWSER":"REST",Yi="NODE"===_i,Xi=M,Ui=yt,qi=Y,Gi=String,Vi=TypeError,Hi=Y,Wi=$,Qi=function(t){if(function(t){return qi(t)||null===t}(t))return t;throw new Vi("Can't set "+Gi(t)+" as a prototype")},Zi=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=function(t,r,e){try{return Xi(Ui(Object.getOwnPropertyDescriptor(t,r)[e]))}catch(t){}}(Object.prototype,"__proto__","set"))(e,[]),r=e instanceof Array}catch(t){}return function(e,i){return Wi(e),Qi(i),Hi(e)?(r?t(e,i):e.__proto__=i,e):e}}():void 0),Ki=wr.f,Ji=Lt,tn=Qt("toStringTag"),rn=function(t,r,e){t&&!e&&(t=t.prototype),t&&!Ji(t,tn)&&Ki(t,tn,{configurable:!0,value:r})},en=Fr.exports,nn=wr,sn=q,an=o,on=Qt("species"),hn=G,un=TypeError,cn={};cn[Qt("toStringTag")]="z";var fn="[object z]"===String(cn),ln=z,vn=O,dn=Qt("toStringTag"),pn=Object,yn="Arguments"===vn(function(){return arguments}()),gn=fn?vn:function(t){var r,e,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=pn(t),dn))?e:yn?vn(r):"Object"===(i=vn(r))&&ln(r.callee)?"Arguments":i},mn=M,bn=a,wn=z,xn=gn,Mn=Qr,kn=function(){},Nn=q("Reflect","construct"),Sn=/^\s*(?:class|function)\b/,On=mn(Sn.exec),Pn=!Sn.test(kn),jn=function(t){if(!wn(t))return!1;try{return Nn(kn,[],t),!0}catch(t){return!1}},En=function(t){if(!wn(t))return!1;switch(xn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Pn||!!On(Sn,Mn(t))}catch(t){return!0}};En.sham=!0;var Cn,Tn,An,Rn,Bn=!Nn||bn((function(){var t;return jn(jn.call)||!jn(Object)||!jn((function(){t=!0}))||t}))?En:jn,$n=Bn,Dn=lt,Ln=TypeError,Fn=Sr,In=A,zn=Qt("species"),_n=function(t,r){var e,i=Fn(t).constructor;return void 0===i||In(e=Fn(i)[zn])?r:function(t){if($n(t))return t;throw new Ln(Dn(t)+" is not a constructor")}(e)},Yn=Function.prototype,Xn=Yn.apply,Un=Yn.call,qn="object"==typeof Reflect&&Reflect.apply||(h?Un.bind(Xn):function(){return Un.apply(Xn,arguments)}),Gn=O,Vn=M,Hn=function(t){if("Function"===Gn(t))return Vn(t)},Wn=yt,Qn=h,Zn=Hn(Hn.bind),Kn=function(t,r){return Wn(t),void 0===r?t:Qn?Zn(t,r):function(){return t.apply(r,arguments)}},Jn=q("document","documentElement"),ts=M([].slice),rs=TypeError,es=/(?:ipad|iphone|ipod).*applewebkit/i.test(W),is=n,ns=qn,ss=Kn,as=z,os=Lt,hs=a,us=Jn,cs=ts,fs=ur,ls=es,vs=Yi,ds=is.setImmediate,ps=is.clearImmediate,ys=is.process,gs=is.Dispatch,ms=is.Function,bs=is.MessageChannel,ws=is.String,xs=0,Ms={},ks="onreadystatechange";hs((function(){Cn=is.location}));var Ns=function(t){if(os(Ms,t)){var r=Ms[t];delete Ms[t],r()}},Ss=function(t){return function(){Ns(t)}},Os=function(t){Ns(t.data)},Ps=function(t){is.postMessage(ws(t),Cn.protocol+"//"+Cn.host)};ds&&ps||(ds=function(t){!function(t,r){if(t<r)throw new rs("Not enough arguments")}(arguments.length,1);var r=as(t)?t:ms(t),e=cs(arguments,1);return Ms[++xs]=function(){ns(r,void 0,e)},Tn(xs),xs},ps=function(t){delete Ms[t]},vs?Tn=function(t){ys.nextTick(Ss(t))}:gs&&gs.now?Tn=function(t){gs.now(Ss(t))}:bs&&!ls?(Rn=(An=new bs).port2,An.port1.onmessage=Os,Tn=ss(Rn.postMessage,Rn)):is.addEventListener&&as(is.postMessage)&&!is.importScripts&&Cn&&"file:"!==Cn.protocol&&!hs(Ps)?(Tn=Ps,is.addEventListener("message",Os,!1)):Tn=ks in fs("script")?function(t){us.appendChild(fs("script"))[ks]=function(){us.removeChild(this),Ns(t)}}:function(t){setTimeout(Ss(t),0)});var js={set:ds,clear:ps},Es=n,Cs=o,Ts=Object.getOwnPropertyDescriptor,As=function(){this.head=null,this.tail=null};As.prototype={add:function(t){var r={item:t,next:null},e=this.tail;e?e.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Rs,Bs,$s,Ds,Ls,Fs=As,Is=/ipad|iphone|ipod/i.test(W)&&"undefined"!=typeof Pebble,zs=/web0s(?!.*chrome)/i.test(W),_s=n,Ys=Kn,Xs=js.set,Us=Fs,qs=es,Gs=Is,Vs=zs,Hs=Yi,Ws=_s.MutationObserver||_s.WebKitMutationObserver,Qs=_s.document,Zs=_s.process,Ks=_s.Promise,Js=function(t){if(!Cs)return Es[t];var r=Ts(Es,t);return r&&r.value}("queueMicrotask");if(!Js){var ta=new Us,ra=function(){var t,r;for(Hs&&(t=Zs.domain)&&t.exit();r=ta.get();)try{r()}catch(t){throw ta.head&&Rs(),t}t&&t.enter()};qs||Hs||Vs||!Ws||!Qs?!Gs&&Ks&&Ks.resolve?((Ds=Ks.resolve(void 0)).constructor=Ks,Ls=Ys(Ds.then,Ds),Rs=function(){Ls(ra)}):Hs?Rs=function(){Zs.nextTick(ra)}:(Xs=Ys(Xs,_s),Rs=function(){Xs(ra)}):(Bs=!0,$s=Qs.createTextNode(""),new Ws(ra).observe($s,{characterData:!0}),Rs=function(){$s.data=Bs=!Bs}),Js=function(t){ta.head||Rs(),ta.add(t)}}var ea=Js,ia=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},na=n.Promise,sa=n,aa=na,oa=z,ha=ji,ua=Qr,ca=_i,fa=rt,la=Qt("species"),va=!1,da=oa(sa.PromiseRejectionEvent),pa=ha("Promise",(function(){var t=ua(aa),r=t!==String(aa);if(!r&&66===fa)return!0;if(!fa||fa<51||!/native code/.test(t)){var e=new aa((function(t){t(1)})),i=function(t){t((function(){}),(function(){}))};if((e.constructor={})[la]=i,!(va=e.then((function(){}))instanceof i))return!0}return!(r||"BROWSER"!==ca&&"DENO"!==ca||da)})),ya={CONSTRUCTOR:pa,REJECTION_EVENT:da,SUBCLASSING:va},ga={},ma=yt,ba=TypeError,wa=function(t){var r,e;this.promise=new t((function(t,i){if(void 0!==r||void 0!==e)throw new ba("Bad Promise constructor");r=t,e=i})),this.resolve=ma(r),this.reject=ma(e)};ga.f=function(t){return new wa(t)};var xa,Ma,ka,Na,Sa=Di,Oa=Yi,Pa=n,ja=c,Ea=$e,Ca=Zi,Ta=rn,Aa=yt,Ra=z,Ba=Y,$a=_n,Da=js.set,La=ea,Fa=ia,Ia=Fs,za=ve,_a=na,Ya=ga,Xa="Promise",Ua=ya.CONSTRUCTOR,qa=ya.REJECTION_EVENT,Ga=ya.SUBCLASSING,Va=za.getterFor(Xa),Ha=za.set,Wa=_a&&_a.prototype,Qa=_a,Za=Wa,Ka=Pa.TypeError,Ja=Pa.document,to=Pa.process,ro=Ya.f,eo=ro,io=!!(Ja&&Ja.createEvent&&Pa.dispatchEvent),no="unhandledrejection",so=function(t){var r;return!(!Ba(t)||!Ra(r=t.then))&&r},ao=function(t,r){var e,i,n,s=r.value,a=1===r.state,o=a?t.ok:t.fail,h=t.resolve,u=t.reject,c=t.domain;try{o?(a||(2===r.rejection&&fo(r),r.rejection=1),!0===o?e=s:(c&&c.enter(),e=o(s),c&&(c.exit(),n=!0)),e===t.promise?u(new Ka("Promise-chain cycle")):(i=so(e))?ja(i,e,h,u):h(e)):u(s)}catch(t){c&&!n&&c.exit(),u(t)}},oo=function(t,r){t.notified||(t.notified=!0,La((function(){for(var e,i=t.reactions;e=i.get();)ao(e,t);t.notified=!1,r&&!t.rejection&&uo(t)})))},ho=function(t,r,e){var i,n;io?((i=Ja.createEvent("Event")).promise=r,i.reason=e,i.initEvent(t,!1,!0),Pa.dispatchEvent(i)):i={promise:r,reason:e},!qa&&(n=Pa["on"+t])?n(i):t===no&&function(t,r){try{1===arguments.length?console.error(t):console.error(t,r)}catch(t){}}("Unhandled promise rejection",e)},uo=function(t){ja(Da,Pa,(function(){var r,e=t.facade,i=t.value;if(co(t)&&(r=Fa((function(){Oa?to.emit("unhandledRejection",i,e):ho(no,e,i)})),t.rejection=Oa||co(t)?2:1,r.error))throw r.value}))},co=function(t){return 1!==t.rejection&&!t.parent},fo=function(t){ja(Da,Pa,(function(){var r=t.facade;Oa?to.emit("rejectionHandled",r):ho("rejectionhandled",r,t.value)}))},lo=function(t,r,e){return function(i){t(r,i,e)}},vo=function(t,r,e){t.done||(t.done=!0,e&&(t=e),t.value=r,t.state=2,oo(t,!0))},po=function(t,r,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===r)throw new Ka("Promise can't be resolved itself");var i=so(r);i?La((function(){var e={done:!1};try{ja(i,r,lo(po,e,t),lo(vo,e,t))}catch(r){vo(e,r,t)}})):(t.value=r,t.state=1,oo(t,!1))}catch(r){vo({done:!1},r,t)}}};if(Ua&&(Qa=function(t){(function(t,r){if(hn(r,t))return t;throw new un("Incorrect invocation")})(this,Za),Aa(t),ja(xa,this);var r=Va(this);try{t(lo(po,r),lo(vo,r))}catch(t){vo(r,t)}},(xa=function(){Ha(this,{type:Xa,done:!1,notified:!1,parent:!1,reactions:new Ia,rejection:!1,state:0,value:null})}).prototype=Ea(Za=Qa.prototype,"then",(function(t,r){var e=Va(this),i=ro($a(this,Qa));return e.parent=!0,i.ok=!Ra(t)||t,i.fail=Ra(r)&&r,i.domain=Oa?to.domain:void 0,0===e.state?e.reactions.add(i):La((function(){ao(i,e)})),i.promise})),Ma=function(){var t=new xa,r=Va(t);this.promise=t,this.resolve=lo(po,r),this.reject=lo(vo,r)},Ya.f=ro=function(t){return t===Qa||void 0===t?new Ma(t):eo(t)},Ra(_a)&&Wa!==Object.prototype)){ka=Wa.then,Ga||Ea(Wa,"then",(function(t,r){var e=this;return new Qa((function(t,r){ja(ka,e,t,r)})).then(t,r)}),{unsafe:!0});try{delete Wa.constructor}catch(t){}Ca&&Ca(Wa,Za)}Sa({global:!0,constructor:!0,wrap:!0,forced:Ua},{Promise:Qa}),Ta(Qa,Xa,!1),Na=sn(Xa),an&&Na&&!Na[on]&&function(t,r,e){e.get&&en(e.get,r,{getter:!0}),e.set&&en(e.set,r,{setter:!0}),nn.f(t,r,e)}(Na,on,{configurable:!0,get:function(){return this}});var yo={},go=yo,mo=Qt("iterator"),bo=Array.prototype,wo=gn,xo=bt,Mo=A,ko=yo,No=Qt("iterator"),So=function(t){if(!Mo(t))return xo(t,No)||xo(t,"@@iterator")||ko[wo(t)]},Oo=c,Po=yt,jo=Sr,Eo=lt,Co=So,To=TypeError,Ao=c,Ro=Sr,Bo=bt,$o=Kn,Do=c,Lo=Sr,Fo=lt,Io=We,zo=G,_o=So,Yo=function(t,r,e){var i,n;Ro(t);try{if(!(i=Bo(t,"return"))){if("throw"===r)throw e;return e}i=Ao(i,t)}catch(t){n=!0,i=t}if("throw"===r)throw e;if(n)throw i;return Ro(i),e},Xo=TypeError,Uo=function(t,r){this.stopped=t,this.result=r},qo=Uo.prototype,Go=function(t,r,e){var i,n,s,a,o,h,u,c,f=!(!e||!e.AS_ENTRIES),l=!(!e||!e.IS_RECORD),v=!(!e||!e.IS_ITERATOR),d=!(!e||!e.INTERRUPTED),p=$o(r,e&&e.that),y=function(t){return i&&Yo(i,"normal",t),new Uo(!0,t)},g=function(t){return f?(Lo(t),d?p(t[0],t[1],y):p(t[0],t[1])):d?p(t,y):p(t)};if(l)i=t.iterator;else if(v)i=t;else{if(!(n=_o(t)))throw new Xo(Fo(t)+" is not iterable");if(void 0!==(c=n)&&(go.Array===c||bo[mo]===c)){for(s=0,a=Io(t);a>s;s++)if((o=g(t[s]))&&zo(qo,o))return o;return new Uo(!1)}i=function(t,r){var e=arguments.length<2?Co(t):r;if(Po(e))return jo(Oo(e,t));throw new To(Eo(t)+" is not iterable")}(t,n)}for(h=l?t.next:i.next;!(u=Do(h,i)).done;){try{o=g(u.value)}catch(t){Yo(i,"throw",t)}if("object"==typeof o&&o&&zo(qo,o))return o}return new Uo(!1)},Vo=Qt("iterator"),Ho=!1;try{var Wo=0,Qo={next:function(){return{done:!!Wo++}},return:function(){Ho=!0}};Qo[Vo]=function(){return this},Array.from(Qo,(function(){throw 2}))}catch(t){}var Zo=na,Ko=ya.CONSTRUCTOR||!function(t,r){try{if(!r&&!Ho)return!1}catch(t){return!1}var e=!1;try{var i={};i[Vo]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}((function(t){Zo.all(t).then(void 0,(function(){}))})),Jo=c,th=yt,rh=ga,eh=ia,ih=Go;Di({target:"Promise",stat:!0,forced:Ko},{all:function(t){var r=this,e=rh.f(r),i=e.resolve,n=e.reject,s=eh((function(){var e=th(r.resolve),s=[],a=0,o=1;ih(t,(function(t){var h=a++,u=!1;o++,Jo(e,r,t).then((function(t){u||(u=!0,s[h]=t,--o||i(s))}),n)})),--o||i(s)}));return s.error&&n(s.value),e.promise}});var nh=na,sh=q,ah=z,oh=$e,hh=nh&&nh.prototype;if(Di({target:"Promise",proto:!0,forced:ya.CONSTRUCTOR,real:!0},{catch:function(t){return this.then(void 0,t)}}),ah(nh)){var uh=sh("Promise").prototype.catch;hh.catch!==uh&&oh(hh,"catch",uh,{unsafe:!0})}var ch=c,fh=yt,lh=ga,vh=ia,dh=Go;Di({target:"Promise",stat:!0,forced:Ko},{race:function(t){var r=this,e=lh.f(r),i=e.reject,n=vh((function(){var n=fh(r.resolve);dh(t,(function(t){ch(n,r,t).then(e.resolve,i)}))}));return n.error&&i(n.value),e.promise}});var ph=ga;Di({target:"Promise",stat:!0,forced:ya.CONSTRUCTOR},{reject:function(t){var r=ph.f(this);return(0,r.reject)(t),r.promise}});var yh=Sr,gh=Y,mh=ga;Di({target:"Promise",stat:!0,forced:ya.CONSTRUCTOR},{resolve:function(t){return function(t,r){if(yh(t),gh(r)&&r.constructor===t)return r;var e=mh.f(t);return(0,e.resolve)(r),e.promise}(this,t)}});var bh=gn,wh=String,xh=function(t){if("Symbol"===bh(t))throw new TypeError("Cannot convert a Symbol value to a string");return wh(t)},Mh=Sr,kh=function(){var t=Mh(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},Nh=a,Sh=n.RegExp,Oh=Nh((function(){var t=Sh("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),Ph=Oh||Nh((function(){return!Sh("a","y").sticky})),jh={BROKEN_CARET:Oh||Nh((function(){var t=Sh("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:Ph,UNSUPPORTED_Y:Oh},Eh={},Ch=si,Th=ai,Ah=Object.keys||function(t){return Ch(t,Th)},Rh=wr,Bh=Sr,$h=F,Dh=Ah;Eh.f=o&&!xr?Object.defineProperties:function(t,r){Bh(t);for(var e,i=$h(r),n=Dh(r),s=n.length,a=0;s>a;)Rh.f(t,e=n[a++],i[e]);return t};var Lh,Fh=Sr,Ih=Eh,zh=ai,_h=ee,Yh=Jn,Xh=ur,Uh="prototype",qh="script",Gh=re("IE_PROTO"),Vh=function(){},Hh=function(t){return"<"+qh+">"+t+"</"+qh+">"},Wh=function(t){t.write(Hh("")),t.close();var r=t.parentWindow.Object;return t=null,r},Qh=function(){try{Lh=new ActiveXObject("htmlfile")}catch(t){}var t,r,e;Qh="undefined"!=typeof document?document.domain&&Lh?Wh(Lh):(r=Xh("iframe"),e="java"+qh+":",r.style.display="none",Yh.appendChild(r),r.src=String(e),(t=r.contentWindow.document).open(),t.write(Hh("document.F=Object")),t.close(),t.F):Wh(Lh);for(var i=zh.length;i--;)delete Qh[Uh][zh[i]];return Qh()};_h[Gh]=!0;var Zh,Kh,Jh=Object.create||function(t,r){var e;return null!==t?(Vh[Uh]=Fh(t),e=new Vh,Vh[Uh]=null,e[Gh]=t):e=Qh(),void 0===r?e:Ih.f(e,r)},tu=n.RegExp,ru=a((function(){var t=tu(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})),eu=n.RegExp,iu=a((function(){var t=eu("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),nu=c,su=M,au=xh,ou=kh,hu=jh,uu=Jh,cu=ve.get,fu=ru,lu=iu,vu=Tt("native-string-replace",String.prototype.replace),du=RegExp.prototype.exec,pu=du,yu=su("".charAt),gu=su("".indexOf),mu=su("".replace),bu=su("".slice),wu=(Kh=/b*/g,nu(du,Zh=/a/,"a"),nu(du,Kh,"a"),0!==Zh.lastIndex||0!==Kh.lastIndex),xu=hu.BROKEN_CARET,Mu=void 0!==/()??/.exec("")[1];(wu||Mu||xu||fu||lu)&&(pu=function(t){var r,e,i,n,s,a,o,h=this,u=cu(h),c=au(t),f=u.raw;if(f)return f.lastIndex=h.lastIndex,r=nu(pu,f,c),h.lastIndex=f.lastIndex,r;var l=u.groups,v=xu&&h.sticky,d=nu(ou,h),p=h.source,y=0,g=c;if(v&&(d=mu(d,"y",""),-1===gu(d,"g")&&(d+="g"),g=bu(c,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==yu(c,h.lastIndex-1))&&(p="(?: "+p+")",g=" "+g,y++),e=new RegExp("^(?:"+p+")",d)),Mu&&(e=new RegExp("^"+p+"$(?!\\s)",d)),wu&&(i=h.lastIndex),n=nu(du,v?e:h,g),v?n?(n.input=bu(n.input,y),n[0]=bu(n[0],y),n.index=h.lastIndex,h.lastIndex+=n[0].length):h.lastIndex=0:wu&&n&&(h.lastIndex=h.global?n.index+n[0].length:i),Mu&&n&&n.length>1&&nu(vu,n[0],e,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(n[s]=void 0)})),n&&l)for(n.groups=a=uu(null),s=0;s<l.length;s++)a[(o=l[s])[0]]=n[o[1]];return n});var ku=pu;Di({target:"RegExp",proto:!0,forced:/./.exec!==ku},{exec:ku});var Nu=c,Su=$e,Ou=ku,Pu=a,ju=Qt,Eu=Lr,Cu=ju("species"),Tu=RegExp.prototype,Au=function(t,r,e,i){var n=ju(t),s=!Pu((function(){var r={};return r[n]=function(){return 7},7!==""[t](r)})),a=s&&!Pu((function(){var r=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[Cu]=function(){return e},e.flags="",e[n]=/./[n]),e.exec=function(){return r=!0,null},e[n](""),!r}));if(!s||!a||e){var o=/./[n],h=r(n,""[t],(function(t,r,e,i,n){var a=r.exec;return a===Ou||a===Tu.exec?s&&!n?{done:!0,value:Nu(o,r,e,i)}:{done:!0,value:Nu(t,e,r,i)}:{done:!1}}));Su(String.prototype,t,h[0]),Su(Tu,n,h[1])}i&&Eu(Tu[n],"sham",!0)},Ru=M,Bu=_e,$u=xh,Du=$,Lu=Ru("".charAt),Fu=Ru("".charCodeAt),Iu=Ru("".slice),zu=function(t){return function(r,e){var i,n,s=$u(Du(r)),a=Bu(e),o=s.length;return a<0||a>=o?t?"":void 0:(i=Fu(s,a))<55296||i>56319||a+1===o||(n=Fu(s,a+1))<56320||n>57343?t?Lu(s,a):i:t?Iu(s,a,a+2):n-56320+(i-55296<<10)+65536}},_u=(zu(!1),zu(!0)),Yu=function(t,r,e){return r+(e?_u(t,r).length:1)},Xu=c,Uu=Sr,qu=z,Gu=O,Vu=ku,Hu=TypeError,Wu=function(t,r){var e=t.exec;if(qu(e)){var i=Xu(e,t,r);return null!==i&&Uu(i),i}if("RegExp"===Gu(t))return Xu(Vu,t,r);throw new Hu("RegExp#exec called on incompatible receiver")},Qu=c,Zu=Sr,Ku=A,Ju=Ve,tc=xh,rc=$,ec=bt,ic=Yu,nc=Wu;Au("match",(function(t,r,e){return[function(r){var e=rc(this),i=Ku(r)?void 0:ec(r,t);return i?Qu(i,r,e):new RegExp(r)[t](tc(e))},function(t){var i=Zu(this),n=tc(t),s=e(r,i,n);if(s.done)return s.value;if(!i.global)return nc(i,n);var a=i.unicode;i.lastIndex=0;for(var o,h=[],u=0;null!==(o=nc(i,n));){var c=tc(o[0]);h[u]=c,""===c&&(i.lastIndex=ic(n,Ju(i.lastIndex),a)),u++}return 0===u?null:h}]}));var sc=M,ac=Bt,oc=Math.floor,hc=sc("".charAt),uc=sc("".replace),cc=sc("".slice),fc=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,lc=/\$([$&'`]|\d{1,2})/g,vc=qn,dc=c,pc=M,yc=Au,gc=a,mc=Sr,bc=z,wc=A,xc=_e,Mc=Ve,kc=xh,Nc=$,Sc=Yu,Oc=bt,Pc=function(t,r,e,i,n,s){var a=e+t.length,o=i.length,h=lc;return void 0!==n&&(n=ac(n),h=fc),uc(s,h,(function(s,h){var u;switch(hc(h,0)){case"$":return"$";case"&":return t;case"`":return cc(r,0,e);case"'":return cc(r,a);case"<":u=n[cc(h,1,-1)];break;default:var c=+h;if(0===c)return s;if(c>o){var f=oc(c/10);return 0===f?s:f<=o?void 0===i[f-1]?hc(h,1):i[f-1]+hc(h,1):s}u=i[c-1]}return void 0===u?"":u}))},jc=Wu,Ec=Qt("replace"),Cc=Math.max,Tc=Math.min,Ac=pc([].concat),Rc=pc([].push),Bc=pc("".indexOf),$c=pc("".slice),Dc="$0"==="a".replace(/./,"$0"),Lc=!!/./[Ec]&&""===/./[Ec]("a","$0");yc("replace",(function(t,r,e){var i=Lc?"$":"$0";return[function(t,e){var i=Nc(this),n=wc(t)?void 0:Oc(t,Ec);return n?dc(n,t,i,e):dc(r,kc(i),t,e)},function(t,n){var s=mc(this),a=kc(t);if("string"==typeof n&&-1===Bc(n,i)&&-1===Bc(n,"$<")){var o=e(r,s,a,n);if(o.done)return o.value}var h=bc(n);h||(n=kc(n));var u,c=s.global;c&&(u=s.unicode,s.lastIndex=0);for(var f,l=[];null!==(f=jc(s,a))&&(Rc(l,f),c);)""===kc(f[0])&&(s.lastIndex=Sc(a,Mc(s.lastIndex),u));for(var v,d="",p=0,y=0;y<l.length;y++){for(var g,m=kc((f=l[y])[0]),b=Cc(Tc(xc(f.index),a.length),0),w=[],x=1;x<f.length;x++)Rc(w,void 0===(v=f[x])?v:String(v));var M=f.groups;if(h){var k=Ac([m],w,b,a);void 0!==M&&Rc(k,M),g=kc(vc(n,void 0,k))}else g=Pc(m,a,b,w,M,n);b>=p&&(d+=$c(a,p,b)+g,p=b+m.length)}return d+$c(a,p)}]}),!!gc((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!Dc||Lc);var Fc,Ic=Y,zc=O,_c=Qt("match"),Yc=TypeError,Xc=function(t){if(function(t){var r;return Ic(t)&&(void 0!==(r=t[_c])?!!r:"RegExp"===zc(t))}(t))throw new Yc("The method doesn't accept regular expressions");return t},Uc=Qt("match"),qc=function(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[Uc]=!1,"/./"[t](r)}catch(t){}}return!1},Gc=Di,Vc=s.f,Hc=Ve,Wc=xh,Qc=Xc,Zc=$,Kc=qc,Jc=Hn("".slice),tf=Math.min,rf=Kc("startsWith");Gc({target:"String",proto:!0,forced:!(!rf&&(Fc=Vc(String.prototype,"startsWith"),Fc&&!Fc.writable)||rf)},{startsWith:function(t){var r=Wc(Zc(this));Qc(t);var e=Hc(tf(arguments.length>1?arguments[1]:void 0,r.length)),i=Wc(t);return Jc(r,e,e+i.length)===i}});var ef=Jh,nf=wr.f,sf=Qt("unscopables"),af=Array.prototype;void 0===af[sf]&&nf(af,sf,{configurable:!0,value:ef(null)});var of,hf,uf,cf=!a((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ff=Lt,lf=z,vf=Bt,df=cf,pf=re("IE_PROTO"),yf=Object,gf=yf.prototype,mf=df?yf.getPrototypeOf:function(t){var r=vf(t);if(ff(r,pf))return r[pf];var e=r.constructor;return lf(e)&&r instanceof e?e.prototype:r instanceof yf?gf:null},bf=a,wf=z,xf=Y,Mf=mf,kf=$e,Nf=Qt("iterator"),Sf=!1;[].keys&&("next"in(uf=[].keys())?(hf=Mf(Mf(uf)))!==Object.prototype&&(of=hf):Sf=!0);var Of=!xf(of)||bf((function(){var t={};return of[Nf].call(t)!==t}));Of&&(of={}),wf(of[Nf])||kf(of,Nf,(function(){return this}));var Pf={IteratorPrototype:of,BUGGY_SAFARI_ITERATORS:Sf},jf=Pf.IteratorPrototype,Ef=Jh,Cf=g,Tf=rn,Af=yo,Rf=function(){return this},Bf=Di,$f=c,Df=z,Lf=mf,Ff=Zi,If=rn,zf=Lr,_f=$e,Yf=yo,Xf=Xr.PROPER,Uf=Xr.CONFIGURABLE,qf=Pf.IteratorPrototype,Gf=Pf.BUGGY_SAFARI_ITERATORS,Vf=Qt("iterator"),Hf="keys",Wf="values",Qf="entries",Zf=function(){return this},Kf=F,Jf=function(t){af[sf][t]=!0},tl=yo,rl=wr.f,el=function(t,r){return{value:t,done:r}},il=o,nl="Array Iterator",sl=ve.set,al=ve.getterFor(nl),ol=function(t,r,e,i,n,s,a){!function(t,r,e,i){var n=r+" Iterator";t.prototype=Ef(jf,{next:Cf(+!i,e)}),Tf(t,n,!1),Af[n]=Rf}(e,r,i);var o,h,u,c=function(t){if(t===n&&p)return p;if(!Gf&&t&&t in v)return v[t];switch(t){case Hf:case Wf:case Qf:return function(){return new e(this,t)}}return function(){return new e(this)}},f=r+" Iterator",l=!1,v=t.prototype,d=v[Vf]||v["@@iterator"]||n&&v[n],p=!Gf&&d||c(n),y="Array"===r&&v.entries||d;if(y&&(o=Lf(y.call(new t)))!==Object.prototype&&o.next&&(Lf(o)!==qf&&(Ff?Ff(o,qf):Df(o[Vf])||_f(o,Vf,Zf)),If(o,f,!0)),Xf&&n===Wf&&d&&d.name!==Wf&&(Uf?zf(v,"name",Wf):(l=!0,p=function(){return $f(d,this)})),n)if(h={values:c(Wf),keys:s?p:c(Hf),entries:c(Qf)},a)for(u in h)(Gf||l||!(u in v))&&_f(v,u,h[u]);else Bf({target:r,proto:!0,forced:Gf||l},h);return v[Vf]!==p&&_f(v,Vf,p,{name:n}),Yf[r]=p,h}(Array,"Array",(function(t,r){sl(this,{type:nl,target:Kf(t),index:0,kind:r})}),(function(){var t=al(this),r=t.target,e=t.index++;if(!r||e>=r.length)return t.target=null,el(void 0,!0);switch(t.kind){case"keys":return el(e,!1);case"values":return el(r[e],!1)}return el([e,r[e]],!1)}),"values"),hl=tl.Arguments=tl.Array;if(Jf("keys"),Jf("values"),Jf("entries"),il&&"values"!==hl.name)try{rl(hl,"name",{value:"values"})}catch(t){}var ul=ur("span").classList,cl=ul&&ul.constructor&&ul.constructor.prototype,fl=n,ll={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},vl=cl===Object.prototype?void 0:cl,dl=ol,pl=Lr,yl=rn,gl=Qt("iterator"),ml=dl.values,bl=function(t,r){if(t){if(t[gl]!==ml)try{pl(t,gl,ml)}catch(r){t[gl]=ml}if(yl(t,r,!0),ll[r])for(var e in dl)if(t[e]!==dl[e])try{pl(t,e,dl[e])}catch(r){t[e]=dl[e]}}};for(var wl in ll)bl(fl[wl]&&fl[wl].prototype,wl);bl(vl,"DOMTokenList");var xl=yt,Ml=Bt,kl=T,Nl=We,Sl=TypeError,Ol="Reduce of empty array with no initial value",Pl=function(t){return function(r,e,i,n){var s=Ml(r),a=kl(s),o=Nl(s);if(xl(e),0===o&&i<2)throw new Sl(Ol);var h=t?o-1:0,u=t?-1:1;if(i<2)for(;;){if(h in a){n=a[h],h+=u;break}if(h+=u,t?h<0:o<=h)throw new Sl(Ol)}for(;t?h>=0:o>h;h+=u)h in a&&(n=e(n,a[h],h,s));return n}},jl={left:Pl(!1),right:Pl(!0)},El=a,Cl=function(t,r){var e=[][t];return!!e&&El((function(){e.call(null,r||function(){return 1},1)}))},Tl=jl.left;Di({target:"Array",proto:!0,forced:!Yi&&rt>79&&rt<83||!Cl("reduce")},{reduce:function(t){var r=arguments.length;return Tl(this,t,r,r>1?arguments[1]:void 0)}});var Al=Di,Rl=s.f,Bl=Ve,$l=xh,Dl=Xc,Ll=$,Fl=qc,Il=Hn("".slice),zl=Math.min,_l=Fl("endsWith"),Yl=!_l&&!!function(){var t=Rl(String.prototype,"endsWith");return t&&!t.writable}();Al({target:"String",proto:!0,forced:!Yl&&!_l},{endsWith:function(t){var r=$l(Ll(this));Dl(t);var e=arguments.length>1?arguments[1]:void 0,i=r.length,n=void 0===e?i:zl(Bl(e),i),s=$l(t);return Il(r,n-s.length,n)===s}});var Xl=c,Ul=M,ql=Au,Gl=Sr,Vl=A,Hl=$,Wl=_n,Ql=Yu,Zl=Ve,Kl=xh,Jl=bt,tv=Wu,rv=a,ev=jh.UNSUPPORTED_Y,iv=Math.min,nv=Ul([].push),sv=Ul("".slice),av=!rv((function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"b"!==e[1]})),ov="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;ql("split",(function(t,r,e){var i="0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:Xl(r,this,t,e)}:r;return[function(r,e){var n=Hl(this),s=Vl(r)?void 0:Jl(r,t);return s?Xl(s,r,n,e):Xl(i,Kl(n),r,e)},function(t,n){var s=Gl(this),a=Kl(t);if(!ov){var o=e(i,s,a,n,i!==r);if(o.done)return o.value}var h=Wl(s,RegExp),u=s.unicode,c=new h(ev?"^(?:"+s.source+")":s,(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(ev?"g":"y")),f=void 0===n?4294967295:n>>>0;if(0===f)return[];if(0===a.length)return null===tv(c,a)?[a]:[];for(var l=0,v=0,d=[];v<a.length;){c.lastIndex=ev?0:v;var p,y=tv(c,ev?sv(a,v):a);if(null===y||(p=iv(Zl(c.lastIndex+(ev?v:0)),a.length))===l)v=Ql(a,v,u);else{if(nv(d,sv(a,l,v)),d.length===f)return d;for(var g=1;g<=y.length-1;g++)if(nv(d,y[g]),d.length===f)return d;v=l=p}}return nv(d,sv(a,l)),d}]}),ov||!av,ev);var hv={exports:{}},uv={exports:{}};(function(){var t,r,e,i,n,s;"undefined"!=typeof performance&&null!==performance&&performance.now?uv.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(uv.exports=function(){return(t()-n)/1e6},r=process.hrtime,i=(t=function(){var t;return 1e9*(t=r())[0]+t[1]})(),s=1e9*process.uptime(),n=i-s):Date.now?(uv.exports=function(){return Date.now()-e},e=Date.now()):(uv.exports=function(){return(new Date).getTime()-e},e=(new Date).getTime())}).call(t);for(var cv=uv.exports,fv="undefined"==typeof window?t:window,lv=["moz","webkit"],vv="AnimationFrame",dv=fv["request"+vv],pv=fv["cancel"+vv]||fv["cancelRequest"+vv],yv=0;!dv&&yv<lv.length;yv++)dv=fv[lv[yv]+"Request"+vv],pv=fv[lv[yv]+"Cancel"+vv]||fv[lv[yv]+"CancelRequest"+vv];if(!dv||!pv){var gv=0,mv=0,bv=[],wv=1e3/60;dv=function(t){if(0===bv.length){var r=cv(),e=Math.max(0,wv-(r-gv));gv=e+r,setTimeout((function(){var t=bv.slice(0);bv.length=0;for(var r=0;r<t.length;r++)if(!t[r].cancelled)try{t[r].callback(gv)}catch(t){setTimeout((function(){throw t}),0)}}),Math.round(e))}return bv.push({handle:++mv,callback:t,cancelled:!1}),mv},pv=function(t){for(var r=0;r<bv.length;r++)bv[r].handle===t&&(bv[r].cancelled=!0)}}hv.exports=function(t){return dv.call(fv,t)},hv.exports.cancel=function(){pv.apply(fv,arguments)},hv.exports.polyfill=function(t){t||(t=fv),t.requestAnimationFrame=dv,t.cancelAnimationFrame=pv};const xv=hv.exports;var Mv,kv="\t\n\v\f\r \u2028\u2029\ufeff",Nv=$,Sv=xh,Ov=kv,Pv=M("".replace),jv=RegExp("^["+Ov+"]+"),Ev=RegExp("(^|[^"+Ov+"])["+Ov+"]+$"),Cv=function(t){return function(r){var e=Sv(Nv(r));return 1&t&&(e=Pv(e,jv,"")),2&t&&(e=Pv(e,Ev,"$1")),e}},Tv={start:Cv(1),end:Cv(2),trim:Cv(3)},Av=Xr.PROPER,Rv=kv,Bv=Tv.trim;Di({target:"String",proto:!0,forced:(Mv="trim",a((function(){return!!Rv[Mv]()||"
"!=="
"[Mv]()||Av&&Rv[Mv].name!==Mv})))},{trim:function(){return Bv(this)}});var $v=function(t){this.ok=!1,this.alpha=1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t=(t=t.replace(/ /g,"")).toLowerCase();var r={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};t=r[t]||t;for(var e=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3]),parseFloat(t[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],i=0;i<e.length;i++){var n=e[i].process,s=e[i].re.exec(t);if(s){var a=n(s);this.r=a[0],this.g=a[1],this.b=a[2],a.length>3&&(this.alpha=a[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var t=this.r.toString(16),r=this.g.toString(16),e=this.b.toString(16);return 1==t.length&&(t="0"+t),1==r.length&&(r="0"+r),1==e.length&&(e="0"+e),"#"+t+r+e},this.getHelpXML=function(){for(var t=new Array,i=0;i<e.length;i++)for(var n=e[i].example,s=0;s<n.length;s++)t[t.length]=n[s];for(var a in r)t[t.length]=a;var o=document.createElement("ul");for(o.setAttribute("id","rgbcolor-examples"),i=0;i<t.length;i++)try{var h=document.createElement("li"),u=new RGBColor(t[i]),c=document.createElement("div");c.style.cssText="margin: 3px; border: 1px solid black; background:"+u.toHex()+"; color:"+u.toHex(),c.appendChild(document.createTextNode("test"));var f=document.createTextNode(" "+t[i]+" -> "+u.toRGB()+" -> "+u.toHex());h.appendChild(c),h.appendChild(f),o.appendChild(h)}catch(t){}return o}},Dv=Di,Lv=Je.indexOf,Fv=Cl,Iv=Hn([].indexOf),zv=!!Iv&&1/Iv([1],1,-0)<0;Dv({target:"Array",proto:!0,forced:zv||!Fv("indexOf")},{indexOf:function(t){var r=arguments.length>1?arguments[1]:void 0;return zv?Iv(this,t,r)||0:Lv(this,t,r)}});var _v=Di,Yv=Xc,Xv=$,Uv=xh,qv=qc,Gv=M("".indexOf);_v({target:"String",proto:!0,forced:!qv("includes")},{includes:function(t){return!!~Gv(Uv(Xv(this)),Uv(Yv(t)),arguments.length>1?arguments[1]:void 0)}});var Vv=O,Hv=Di,Wv=Array.isArray||function(t){return"Array"===Vv(t)},Qv=M([].reverse),Zv=[1,2];Hv({target:"Array",proto:!0,forced:String(Zv)===String(Zv.reverse())},{reverse:function(){return Wv(this)&&(this.length=this.length),Qv(this)}});
|
6
|
+
import{c as t}from"./p-d4056c1c.js";import{_ as r,a as e}from"./p-d65f8b73.js";import"./p-4fe489cf.js";var i=function(t){return t&&t.Math===Math&&t},n=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof t&&t)||i("object"==typeof t&&t)||function(){return this}()||Function("return this")(),s={},a=function(t){try{return!!t()}catch(t){return!0}},o=!a((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),h=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),u=Function.prototype.call,c=h?u.bind(u):function(){return u.apply(u,arguments)},f={},l={}.propertyIsEnumerable,v=Object.getOwnPropertyDescriptor,d=v&&!l.call({1:2},1);f.f=d?function(t){var r=v(this,t);return!!r&&r.enumerable}:l;var p,y,g=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},m=h,b=Function.prototype,w=b.call,x=m&&b.bind.bind(w,w),M=m?x:function(t){return function(){return w.apply(t,arguments)}},k=M,N=k({}.toString),S=k("".slice),O=function(t){return S(N(t),8,-1)},P=a,j=O,E=Object,C=M("".split),T=P((function(){return!E("z").propertyIsEnumerable(0)}))?function(t){return"String"===j(t)?C(t,""):E(t)}:E,A=function(t){return null==t},R=A,B=TypeError,$=function(t){if(R(t))throw new B("Can't call method on "+t);return t},D=T,L=$,F=function(t){return D(L(t))},I="object"==typeof document&&document.all,z=void 0===I&&void 0!==I?function(t){return"function"==typeof t||t===I}:function(t){return"function"==typeof t},_=z,Y=function(t){return"object"==typeof t?null!==t:_(t)},X=n,U=z,q=function(t,r){return arguments.length<2?U(e=X[t])?e:void 0:X[t]&&X[t][r];var e},G=M({}.isPrototypeOf),V=n.navigator,H=V&&V.userAgent,W=H?String(H):"",Q=W,Z=n.process,K=n.Deno,J=Z&&Z.versions||K&&K.version,tt=J&&J.v8;tt&&(y=(p=tt.split("."))[0]>0&&p[0]<4?1:+(p[0]+p[1])),!y&&Q&&(!(p=Q.match(/Edge\/(\d+)/))||p[1]>=74)&&(p=Q.match(/Chrome\/(\d+)/))&&(y=+p[1]);var rt=y,et=rt,it=n.String,nt=!!Object.getOwnPropertySymbols&&!a((function(){var t=Symbol("symbol detection");return!it(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&et&&et<41})),st=nt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,at=q,ot=z,ht=G,ut=Object,ct=st?function(t){return"symbol"==typeof t}:function(t){var r=at("Symbol");return ot(r)&&ht(r.prototype,ut(t))},ft=String,lt=function(t){try{return ft(t)}catch(t){return"Object"}},vt=z,dt=lt,pt=TypeError,yt=function(t){if(vt(t))return t;throw new pt(dt(t)+" is not a function")},gt=yt,mt=A,bt=function(t,r){var e=t[r];return mt(e)?void 0:gt(e)},wt=c,xt=z,Mt=Y,kt=TypeError,Nt={exports:{}},St=n,Ot=Object.defineProperty,Pt=function(t,r){try{Ot(St,t,{value:r,configurable:!0,writable:!0})}catch(e){St[t]=r}return r},jt="__core-js_shared__",Et=Nt.exports=n[jt]||Pt(jt,{});(Et.versions||(Et.versions=[])).push({version:"3.40.0",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.40.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Ct=Nt.exports,Tt=function(t,r){return Ct[t]||(Ct[t]=r||{})},At=$,Rt=Object,Bt=function(t){return Rt(At(t))},$t=Bt,Dt=M({}.hasOwnProperty),Lt=Object.hasOwn||function(t,r){return Dt($t(t),r)},Ft=M,It=0,zt=Math.random(),_t=Ft(1..toString),Yt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+_t(++It+zt,36)},Xt=Lt,Ut=Yt,qt=nt,Gt=st,Vt=n.Symbol,Ht=Tt("wks"),Wt=Gt?Vt.for||Vt:Vt&&Vt.withoutSetter||Ut,Qt=function(t){return Xt(Ht,t)||(Ht[t]=qt&&Xt(Vt,t)?Vt[t]:Wt("Symbol."+t)),Ht[t]},Zt=c,Kt=Y,Jt=ct,tr=bt,rr=TypeError,er=Qt("toPrimitive"),ir=function(t,r){if(!Kt(t)||Jt(t))return t;var e,i=tr(t,er);if(i){if(void 0===r&&(r="default"),e=Zt(i,t,r),!Kt(e)||Jt(e))return e;throw new rr("Can't convert object to primitive value")}return void 0===r&&(r="number"),function(t,r){var e,i;if("string"===r&&xt(e=t.toString)&&!Mt(i=wt(e,t)))return i;if(xt(e=t.valueOf)&&!Mt(i=wt(e,t)))return i;if("string"!==r&&xt(e=t.toString)&&!Mt(i=wt(e,t)))return i;throw new kt("Can't convert object to primitive value")}(t,r)},nr=ct,sr=function(t){var r=ir(t,"string");return nr(r)?r:r+""},ar=Y,or=n.document,hr=ar(or)&&ar(or.createElement),ur=function(t){return hr?or.createElement(t):{}},cr=ur,fr=!o&&!a((function(){return 7!==Object.defineProperty(cr("div"),"a",{get:function(){return 7}}).a})),lr=c,vr=f,dr=g,pr=F,yr=sr,gr=Lt,mr=fr,br=Object.getOwnPropertyDescriptor;s.f=o?br:function(t,r){if(t=pr(t),r=yr(r),mr)try{return br(t,r)}catch(t){}if(gr(t,r))return dr(!lr(vr.f,t,r),t[r])};var wr={},xr=o&&a((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Mr=Y,kr=String,Nr=TypeError,Sr=function(t){if(Mr(t))return t;throw new Nr(kr(t)+" is not an object")},Or=fr,Pr=Sr,jr=sr,Er=TypeError,Cr=Object.defineProperty,Tr=Object.getOwnPropertyDescriptor,Ar="enumerable",Rr="configurable",Br="writable";wr.f=o?xr?function(t,r,e){if(Pr(t),r=jr(r),Pr(e),"function"==typeof t&&"prototype"===r&&"value"in e&&Br in e&&!e[Br]){var i=Tr(t,r);i&&i[Br]&&(t[r]=e.value,e={configurable:Rr in e?e[Rr]:i[Rr],enumerable:Ar in e?e[Ar]:i[Ar],writable:!1})}return Cr(t,r,e)}:Cr:function(t,r,e){if(Pr(t),r=jr(r),Pr(e),Or)try{return Cr(t,r,e)}catch(t){}if("get"in e||"set"in e)throw new Er("Accessors not supported");return"value"in e&&(t[r]=e.value),t};var $r=wr,Dr=g,Lr=o?function(t,r,e){return $r.f(t,r,Dr(1,e))}:function(t,r,e){return t[r]=e,t},Fr={exports:{}},Ir=o,zr=Function.prototype,_r=Ir&&Object.getOwnPropertyDescriptor,Yr=Lt(zr,"name"),Xr={EXISTS:Yr,PROPER:Yr&&"something"===function(){}.name,CONFIGURABLE:Yr&&(!Ir||Ir&&_r(zr,"name").configurable)},Ur=z,qr=Nt.exports,Gr=M(Function.toString);Ur(qr.inspectSource)||(qr.inspectSource=function(t){return Gr(t)});var Vr,Hr,Wr,Qr=qr.inspectSource,Zr=n.WeakMap,Kr=z(Zr)&&/native code/.test(String(Zr)),Jr=Yt,te=Tt("keys"),re=function(t){return te[t]||(te[t]=Jr(t))},ee={},ie=Y,ne=Lr,se=Lt,ae=Nt.exports,oe=re,he=ee,ue="Object already initialized",ce=n.TypeError;if(Kr||ae.state){var fe=ae.state||(ae.state=new(0,n.WeakMap));fe.get=fe.get,fe.has=fe.has,fe.set=fe.set,Vr=function(t,r){if(fe.has(t))throw new ce(ue);return r.facade=t,fe.set(t,r),r},Hr=function(t){return fe.get(t)||{}},Wr=function(t){return fe.has(t)}}else{var le=oe("state");he[le]=!0,Vr=function(t,r){if(se(t,le))throw new ce(ue);return r.facade=t,ne(t,le,r),r},Hr=function(t){return se(t,le)?t[le]:{}},Wr=function(t){return se(t,le)}}var ve={set:Vr,get:Hr,has:Wr,enforce:function(t){return Wr(t)?Hr(t):Vr(t,{})},getterFor:function(t){return function(r){var e;if(!ie(r)||(e=Hr(r)).type!==t)throw new ce("Incompatible receiver, "+t+" required");return e}}},de=M,pe=a,ye=z,ge=Lt,me=o,be=Xr.CONFIGURABLE,we=Qr,xe=ve.enforce,Me=ve.get,ke=String,Ne=Object.defineProperty,Se=de("".slice),Oe=de("".replace),Pe=de([].join),je=me&&!pe((function(){return 8!==Ne((function(){}),"length",{value:8}).length})),Ee=String(String).split("String"),Ce=Fr.exports=function(t,r,e){"Symbol("===Se(ke(r),0,7)&&(r="["+Oe(ke(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!ge(t,"name")||be&&t.name!==r)&&(me?Ne(t,"name",{value:r,configurable:!0}):t.name=r),je&&e&&ge(e,"arity")&&t.length!==e.arity&&Ne(t,"length",{value:e.arity});try{e&&ge(e,"constructor")&&e.constructor?me&&Ne(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var i=xe(t);return ge(i,"source")||(i.source=Pe(Ee,"string"==typeof r?r:"")),t};Function.prototype.toString=Ce((function(){return ye(this)&&Me(this).source||we(this)}),"toString");var Te=z,Ae=wr,Re=Fr.exports,Be=Pt,$e=function(t,r,e,i){i||(i={});var n=i.enumerable,s=void 0!==i.name?i.name:r;if(Te(e)&&Re(e,s,i),i.global)n?t[r]=e:Be(r,e);else{try{i.unsafe?t[r]&&(n=!0):delete t[r]}catch(t){}n?t[r]=e:Ae.f(t,r,{value:e,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return t},De={},Le=Math.ceil,Fe=Math.floor,Ie=Math.trunc||function(t){var r=+t;return(r>0?Fe:Le)(r)},ze=Ie,_e=function(t){var r=+t;return r!=r||0===r?0:ze(r)},Ye=_e,Xe=Math.max,Ue=Math.min,qe=_e,Ge=Math.min,Ve=function(t){var r=qe(t);return r>0?Ge(r,9007199254740991):0},He=Ve,We=function(t){return He(t.length)},Qe=F,Ze=We,Ke=function(t){return function(r,e,i){var n=Qe(r),s=Ze(n);if(0===s)return!t&&-1;var a,o=function(t,r){var e=Ye(t);return e<0?Xe(e+r,0):Ue(e,r)}(i,s);if(t&&e!=e){for(;s>o;)if((a=n[o++])!=a)return!0}else for(;s>o;o++)if((t||o in n)&&n[o]===e)return t||o||0;return!t&&-1}},Je={includes:Ke(!0),indexOf:Ke(!1)},ti=Lt,ri=F,ei=Je.indexOf,ii=ee,ni=M([].push),si=function(t,r){var e,i=ri(t),n=0,s=[];for(e in i)!ti(ii,e)&&ti(i,e)&&ni(s,e);for(;r.length>n;)ti(i,e=r[n++])&&(~ei(s,e)||ni(s,e));return s},ai=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],oi=si,hi=ai.concat("length","prototype");De.f=Object.getOwnPropertyNames||function(t){return oi(t,hi)};var ui={};ui.f=Object.getOwnPropertySymbols;var ci=q,fi=De,li=ui,vi=Sr,di=M([].concat),pi=ci("Reflect","ownKeys")||function(t){var r=fi.f(vi(t)),e=li.f;return e?di(r,e(t)):r},yi=Lt,gi=pi,mi=s,bi=wr,wi=a,xi=z,Mi=/#|\.prototype\./,ki=function(t,r){var e=Si[Ni(t)];return e===Pi||e!==Oi&&(xi(r)?wi(r):!!r)},Ni=ki.normalize=function(t){return String(t).replace(Mi,".").toLowerCase()},Si=ki.data={},Oi=ki.NATIVE="N",Pi=ki.POLYFILL="P",ji=ki,Ei=n,Ci=s.f,Ti=Lr,Ai=$e,Ri=Pt,Bi=function(t,r,e){for(var i=gi(r),n=bi.f,s=mi.f,a=0;a<i.length;a++){var o=i[a];yi(t,o)||e&&yi(e,o)||n(t,o,s(r,o))}},$i=ji,Di=function(t,r){var e,i,n,s,a,o=t.target,h=t.global,u=t.stat;if(e=h?Ei:u?Ei[o]||Ri(o,{}):Ei[o]&&Ei[o].prototype)for(i in r){if(s=r[i],n=t.dontCallGetSet?(a=Ci(e,i))&&a.value:e[i],!$i(h?i:o+(u?".":"#")+i,t.forced)&&void 0!==n){if(typeof s==typeof n)continue;Bi(s,n)}(t.sham||n&&n.sham)&&Ti(s,"sham",!0),Ai(e,i,s,t)}},Li=n,Fi=W,Ii=O,zi=function(t){return Fi.slice(0,t.length)===t},_i=zi("Bun/")?"BUN":zi("Cloudflare-Workers")?"CLOUDFLARE":zi("Deno/")?"DENO":zi("Node.js/")?"NODE":Li.Bun&&"string"==typeof Bun.version?"BUN":Li.Deno&&"object"==typeof Deno.version?"DENO":"process"===Ii(Li.process)?"NODE":Li.window&&Li.document?"BROWSER":"REST",Yi="NODE"===_i,Xi=M,Ui=yt,qi=Y,Gi=String,Vi=TypeError,Hi=Y,Wi=$,Qi=function(t){if(function(t){return qi(t)||null===t}(t))return t;throw new Vi("Can't set "+Gi(t)+" as a prototype")},Zi=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=function(t,r,e){try{return Xi(Ui(Object.getOwnPropertyDescriptor(t,r)[e]))}catch(t){}}(Object.prototype,"__proto__","set"))(e,[]),r=e instanceof Array}catch(t){}return function(e,i){return Wi(e),Qi(i),Hi(e)?(r?t(e,i):e.__proto__=i,e):e}}():void 0),Ki=wr.f,Ji=Lt,tn=Qt("toStringTag"),rn=function(t,r,e){t&&!e&&(t=t.prototype),t&&!Ji(t,tn)&&Ki(t,tn,{configurable:!0,value:r})},en=Fr.exports,nn=wr,sn=q,an=o,on=Qt("species"),hn=G,un=TypeError,cn={};cn[Qt("toStringTag")]="z";var fn="[object z]"===String(cn),ln=z,vn=O,dn=Qt("toStringTag"),pn=Object,yn="Arguments"===vn(function(){return arguments}()),gn=fn?vn:function(t){var r,e,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=pn(t),dn))?e:yn?vn(r):"Object"===(i=vn(r))&&ln(r.callee)?"Arguments":i},mn=M,bn=a,wn=z,xn=gn,Mn=Qr,kn=function(){},Nn=q("Reflect","construct"),Sn=/^\s*(?:class|function)\b/,On=mn(Sn.exec),Pn=!Sn.test(kn),jn=function(t){if(!wn(t))return!1;try{return Nn(kn,[],t),!0}catch(t){return!1}},En=function(t){if(!wn(t))return!1;switch(xn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Pn||!!On(Sn,Mn(t))}catch(t){return!0}};En.sham=!0;var Cn,Tn,An,Rn,Bn=!Nn||bn((function(){var t;return jn(jn.call)||!jn(Object)||!jn((function(){t=!0}))||t}))?En:jn,$n=Bn,Dn=lt,Ln=TypeError,Fn=Sr,In=A,zn=Qt("species"),_n=function(t,r){var e,i=Fn(t).constructor;return void 0===i||In(e=Fn(i)[zn])?r:function(t){if($n(t))return t;throw new Ln(Dn(t)+" is not a constructor")}(e)},Yn=Function.prototype,Xn=Yn.apply,Un=Yn.call,qn="object"==typeof Reflect&&Reflect.apply||(h?Un.bind(Xn):function(){return Un.apply(Xn,arguments)}),Gn=O,Vn=M,Hn=function(t){if("Function"===Gn(t))return Vn(t)},Wn=yt,Qn=h,Zn=Hn(Hn.bind),Kn=function(t,r){return Wn(t),void 0===r?t:Qn?Zn(t,r):function(){return t.apply(r,arguments)}},Jn=q("document","documentElement"),ts=M([].slice),rs=TypeError,es=/(?:ipad|iphone|ipod).*applewebkit/i.test(W),is=n,ns=qn,ss=Kn,as=z,os=Lt,hs=a,us=Jn,cs=ts,fs=ur,ls=es,vs=Yi,ds=is.setImmediate,ps=is.clearImmediate,ys=is.process,gs=is.Dispatch,ms=is.Function,bs=is.MessageChannel,ws=is.String,xs=0,Ms={},ks="onreadystatechange";hs((function(){Cn=is.location}));var Ns=function(t){if(os(Ms,t)){var r=Ms[t];delete Ms[t],r()}},Ss=function(t){return function(){Ns(t)}},Os=function(t){Ns(t.data)},Ps=function(t){is.postMessage(ws(t),Cn.protocol+"//"+Cn.host)};ds&&ps||(ds=function(t){!function(t,r){if(t<r)throw new rs("Not enough arguments")}(arguments.length,1);var r=as(t)?t:ms(t),e=cs(arguments,1);return Ms[++xs]=function(){ns(r,void 0,e)},Tn(xs),xs},ps=function(t){delete Ms[t]},vs?Tn=function(t){ys.nextTick(Ss(t))}:gs&&gs.now?Tn=function(t){gs.now(Ss(t))}:bs&&!ls?(Rn=(An=new bs).port2,An.port1.onmessage=Os,Tn=ss(Rn.postMessage,Rn)):is.addEventListener&&as(is.postMessage)&&!is.importScripts&&Cn&&"file:"!==Cn.protocol&&!hs(Ps)?(Tn=Ps,is.addEventListener("message",Os,!1)):Tn=ks in fs("script")?function(t){us.appendChild(fs("script"))[ks]=function(){us.removeChild(this),Ns(t)}}:function(t){setTimeout(Ss(t),0)});var js={set:ds,clear:ps},Es=n,Cs=o,Ts=Object.getOwnPropertyDescriptor,As=function(){this.head=null,this.tail=null};As.prototype={add:function(t){var r={item:t,next:null},e=this.tail;e?e.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Rs,Bs,$s,Ds,Ls,Fs=As,Is=/ipad|iphone|ipod/i.test(W)&&"undefined"!=typeof Pebble,zs=/web0s(?!.*chrome)/i.test(W),_s=n,Ys=Kn,Xs=js.set,Us=Fs,qs=es,Gs=Is,Vs=zs,Hs=Yi,Ws=_s.MutationObserver||_s.WebKitMutationObserver,Qs=_s.document,Zs=_s.process,Ks=_s.Promise,Js=function(t){if(!Cs)return Es[t];var r=Ts(Es,t);return r&&r.value}("queueMicrotask");if(!Js){var ta=new Us,ra=function(){var t,r;for(Hs&&(t=Zs.domain)&&t.exit();r=ta.get();)try{r()}catch(t){throw ta.head&&Rs(),t}t&&t.enter()};qs||Hs||Vs||!Ws||!Qs?!Gs&&Ks&&Ks.resolve?((Ds=Ks.resolve(void 0)).constructor=Ks,Ls=Ys(Ds.then,Ds),Rs=function(){Ls(ra)}):Hs?Rs=function(){Zs.nextTick(ra)}:(Xs=Ys(Xs,_s),Rs=function(){Xs(ra)}):(Bs=!0,$s=Qs.createTextNode(""),new Ws(ra).observe($s,{characterData:!0}),Rs=function(){$s.data=Bs=!Bs}),Js=function(t){ta.head||Rs(),ta.add(t)}}var ea=Js,ia=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},na=n.Promise,sa=n,aa=na,oa=z,ha=ji,ua=Qr,ca=_i,fa=rt,la=Qt("species"),va=!1,da=oa(sa.PromiseRejectionEvent),pa=ha("Promise",(function(){var t=ua(aa),r=t!==String(aa);if(!r&&66===fa)return!0;if(!fa||fa<51||!/native code/.test(t)){var e=new aa((function(t){t(1)})),i=function(t){t((function(){}),(function(){}))};if((e.constructor={})[la]=i,!(va=e.then((function(){}))instanceof i))return!0}return!(r||"BROWSER"!==ca&&"DENO"!==ca||da)})),ya={CONSTRUCTOR:pa,REJECTION_EVENT:da,SUBCLASSING:va},ga={},ma=yt,ba=TypeError,wa=function(t){var r,e;this.promise=new t((function(t,i){if(void 0!==r||void 0!==e)throw new ba("Bad Promise constructor");r=t,e=i})),this.resolve=ma(r),this.reject=ma(e)};ga.f=function(t){return new wa(t)};var xa,Ma,ka,Na,Sa=Di,Oa=Yi,Pa=n,ja=c,Ea=$e,Ca=Zi,Ta=rn,Aa=yt,Ra=z,Ba=Y,$a=_n,Da=js.set,La=ea,Fa=ia,Ia=Fs,za=ve,_a=na,Ya=ga,Xa="Promise",Ua=ya.CONSTRUCTOR,qa=ya.REJECTION_EVENT,Ga=ya.SUBCLASSING,Va=za.getterFor(Xa),Ha=za.set,Wa=_a&&_a.prototype,Qa=_a,Za=Wa,Ka=Pa.TypeError,Ja=Pa.document,to=Pa.process,ro=Ya.f,eo=ro,io=!!(Ja&&Ja.createEvent&&Pa.dispatchEvent),no="unhandledrejection",so=function(t){var r;return!(!Ba(t)||!Ra(r=t.then))&&r},ao=function(t,r){var e,i,n,s=r.value,a=1===r.state,o=a?t.ok:t.fail,h=t.resolve,u=t.reject,c=t.domain;try{o?(a||(2===r.rejection&&fo(r),r.rejection=1),!0===o?e=s:(c&&c.enter(),e=o(s),c&&(c.exit(),n=!0)),e===t.promise?u(new Ka("Promise-chain cycle")):(i=so(e))?ja(i,e,h,u):h(e)):u(s)}catch(t){c&&!n&&c.exit(),u(t)}},oo=function(t,r){t.notified||(t.notified=!0,La((function(){for(var e,i=t.reactions;e=i.get();)ao(e,t);t.notified=!1,r&&!t.rejection&&uo(t)})))},ho=function(t,r,e){var i,n;io?((i=Ja.createEvent("Event")).promise=r,i.reason=e,i.initEvent(t,!1,!0),Pa.dispatchEvent(i)):i={promise:r,reason:e},!qa&&(n=Pa["on"+t])?n(i):t===no&&function(t,r){try{1===arguments.length?console.error(t):console.error(t,r)}catch(t){}}("Unhandled promise rejection",e)},uo=function(t){ja(Da,Pa,(function(){var r,e=t.facade,i=t.value;if(co(t)&&(r=Fa((function(){Oa?to.emit("unhandledRejection",i,e):ho(no,e,i)})),t.rejection=Oa||co(t)?2:1,r.error))throw r.value}))},co=function(t){return 1!==t.rejection&&!t.parent},fo=function(t){ja(Da,Pa,(function(){var r=t.facade;Oa?to.emit("rejectionHandled",r):ho("rejectionhandled",r,t.value)}))},lo=function(t,r,e){return function(i){t(r,i,e)}},vo=function(t,r,e){t.done||(t.done=!0,e&&(t=e),t.value=r,t.state=2,oo(t,!0))},po=function(t,r,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===r)throw new Ka("Promise can't be resolved itself");var i=so(r);i?La((function(){var e={done:!1};try{ja(i,r,lo(po,e,t),lo(vo,e,t))}catch(r){vo(e,r,t)}})):(t.value=r,t.state=1,oo(t,!1))}catch(r){vo({done:!1},r,t)}}};if(Ua&&(Qa=function(t){(function(t,r){if(hn(r,t))return t;throw new un("Incorrect invocation")})(this,Za),Aa(t),ja(xa,this);var r=Va(this);try{t(lo(po,r),lo(vo,r))}catch(t){vo(r,t)}},(xa=function(){Ha(this,{type:Xa,done:!1,notified:!1,parent:!1,reactions:new Ia,rejection:!1,state:0,value:null})}).prototype=Ea(Za=Qa.prototype,"then",(function(t,r){var e=Va(this),i=ro($a(this,Qa));return e.parent=!0,i.ok=!Ra(t)||t,i.fail=Ra(r)&&r,i.domain=Oa?to.domain:void 0,0===e.state?e.reactions.add(i):La((function(){ao(i,e)})),i.promise})),Ma=function(){var t=new xa,r=Va(t);this.promise=t,this.resolve=lo(po,r),this.reject=lo(vo,r)},Ya.f=ro=function(t){return t===Qa||void 0===t?new Ma(t):eo(t)},Ra(_a)&&Wa!==Object.prototype)){ka=Wa.then,Ga||Ea(Wa,"then",(function(t,r){var e=this;return new Qa((function(t,r){ja(ka,e,t,r)})).then(t,r)}),{unsafe:!0});try{delete Wa.constructor}catch(t){}Ca&&Ca(Wa,Za)}Sa({global:!0,constructor:!0,wrap:!0,forced:Ua},{Promise:Qa}),Ta(Qa,Xa,!1),Na=sn(Xa),an&&Na&&!Na[on]&&function(t,r,e){e.get&&en(e.get,r,{getter:!0}),e.set&&en(e.set,r,{setter:!0}),nn.f(t,r,e)}(Na,on,{configurable:!0,get:function(){return this}});var yo={},go=yo,mo=Qt("iterator"),bo=Array.prototype,wo=gn,xo=bt,Mo=A,ko=yo,No=Qt("iterator"),So=function(t){if(!Mo(t))return xo(t,No)||xo(t,"@@iterator")||ko[wo(t)]},Oo=c,Po=yt,jo=Sr,Eo=lt,Co=So,To=TypeError,Ao=c,Ro=Sr,Bo=bt,$o=Kn,Do=c,Lo=Sr,Fo=lt,Io=We,zo=G,_o=So,Yo=function(t,r,e){var i,n;Ro(t);try{if(!(i=Bo(t,"return"))){if("throw"===r)throw e;return e}i=Ao(i,t)}catch(t){n=!0,i=t}if("throw"===r)throw e;if(n)throw i;return Ro(i),e},Xo=TypeError,Uo=function(t,r){this.stopped=t,this.result=r},qo=Uo.prototype,Go=function(t,r,e){var i,n,s,a,o,h,u,c,f=!(!e||!e.AS_ENTRIES),l=!(!e||!e.IS_RECORD),v=!(!e||!e.IS_ITERATOR),d=!(!e||!e.INTERRUPTED),p=$o(r,e&&e.that),y=function(t){return i&&Yo(i,"normal",t),new Uo(!0,t)},g=function(t){return f?(Lo(t),d?p(t[0],t[1],y):p(t[0],t[1])):d?p(t,y):p(t)};if(l)i=t.iterator;else if(v)i=t;else{if(!(n=_o(t)))throw new Xo(Fo(t)+" is not iterable");if(void 0!==(c=n)&&(go.Array===c||bo[mo]===c)){for(s=0,a=Io(t);a>s;s++)if((o=g(t[s]))&&zo(qo,o))return o;return new Uo(!1)}i=function(t,r){var e=arguments.length<2?Co(t):r;if(Po(e))return jo(Oo(e,t));throw new To(Eo(t)+" is not iterable")}(t,n)}for(h=l?t.next:i.next;!(u=Do(h,i)).done;){try{o=g(u.value)}catch(t){Yo(i,"throw",t)}if("object"==typeof o&&o&&zo(qo,o))return o}return new Uo(!1)},Vo=Qt("iterator"),Ho=!1;try{var Wo=0,Qo={next:function(){return{done:!!Wo++}},return:function(){Ho=!0}};Qo[Vo]=function(){return this},Array.from(Qo,(function(){throw 2}))}catch(t){}var Zo=na,Ko=ya.CONSTRUCTOR||!function(t,r){try{if(!r&&!Ho)return!1}catch(t){return!1}var e=!1;try{var i={};i[Vo]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}((function(t){Zo.all(t).then(void 0,(function(){}))})),Jo=c,th=yt,rh=ga,eh=ia,ih=Go;Di({target:"Promise",stat:!0,forced:Ko},{all:function(t){var r=this,e=rh.f(r),i=e.resolve,n=e.reject,s=eh((function(){var e=th(r.resolve),s=[],a=0,o=1;ih(t,(function(t){var h=a++,u=!1;o++,Jo(e,r,t).then((function(t){u||(u=!0,s[h]=t,--o||i(s))}),n)})),--o||i(s)}));return s.error&&n(s.value),e.promise}});var nh=na,sh=q,ah=z,oh=$e,hh=nh&&nh.prototype;if(Di({target:"Promise",proto:!0,forced:ya.CONSTRUCTOR,real:!0},{catch:function(t){return this.then(void 0,t)}}),ah(nh)){var uh=sh("Promise").prototype.catch;hh.catch!==uh&&oh(hh,"catch",uh,{unsafe:!0})}var ch=c,fh=yt,lh=ga,vh=ia,dh=Go;Di({target:"Promise",stat:!0,forced:Ko},{race:function(t){var r=this,e=lh.f(r),i=e.reject,n=vh((function(){var n=fh(r.resolve);dh(t,(function(t){ch(n,r,t).then(e.resolve,i)}))}));return n.error&&i(n.value),e.promise}});var ph=ga;Di({target:"Promise",stat:!0,forced:ya.CONSTRUCTOR},{reject:function(t){var r=ph.f(this);return(0,r.reject)(t),r.promise}});var yh=Sr,gh=Y,mh=ga;Di({target:"Promise",stat:!0,forced:ya.CONSTRUCTOR},{resolve:function(t){return function(t,r){if(yh(t),gh(r)&&r.constructor===t)return r;var e=mh.f(t);return(0,e.resolve)(r),e.promise}(this,t)}});var bh=gn,wh=String,xh=function(t){if("Symbol"===bh(t))throw new TypeError("Cannot convert a Symbol value to a string");return wh(t)},Mh=Sr,kh=function(){var t=Mh(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},Nh=a,Sh=n.RegExp,Oh=Nh((function(){var t=Sh("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),Ph=Oh||Nh((function(){return!Sh("a","y").sticky})),jh={BROKEN_CARET:Oh||Nh((function(){var t=Sh("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:Ph,UNSUPPORTED_Y:Oh},Eh={},Ch=si,Th=ai,Ah=Object.keys||function(t){return Ch(t,Th)},Rh=wr,Bh=Sr,$h=F,Dh=Ah;Eh.f=o&&!xr?Object.defineProperties:function(t,r){Bh(t);for(var e,i=$h(r),n=Dh(r),s=n.length,a=0;s>a;)Rh.f(t,e=n[a++],i[e]);return t};var Lh,Fh=Sr,Ih=Eh,zh=ai,_h=ee,Yh=Jn,Xh=ur,Uh="prototype",qh="script",Gh=re("IE_PROTO"),Vh=function(){},Hh=function(t){return"<"+qh+">"+t+"</"+qh+">"},Wh=function(t){t.write(Hh("")),t.close();var r=t.parentWindow.Object;return t=null,r},Qh=function(){try{Lh=new ActiveXObject("htmlfile")}catch(t){}var t,r,e;Qh="undefined"!=typeof document?document.domain&&Lh?Wh(Lh):(r=Xh("iframe"),e="java"+qh+":",r.style.display="none",Yh.appendChild(r),r.src=String(e),(t=r.contentWindow.document).open(),t.write(Hh("document.F=Object")),t.close(),t.F):Wh(Lh);for(var i=zh.length;i--;)delete Qh[Uh][zh[i]];return Qh()};_h[Gh]=!0;var Zh,Kh,Jh=Object.create||function(t,r){var e;return null!==t?(Vh[Uh]=Fh(t),e=new Vh,Vh[Uh]=null,e[Gh]=t):e=Qh(),void 0===r?e:Ih.f(e,r)},tu=n.RegExp,ru=a((function(){var t=tu(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})),eu=n.RegExp,iu=a((function(){var t=eu("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),nu=c,su=M,au=xh,ou=kh,hu=jh,uu=Jh,cu=ve.get,fu=ru,lu=iu,vu=Tt("native-string-replace",String.prototype.replace),du=RegExp.prototype.exec,pu=du,yu=su("".charAt),gu=su("".indexOf),mu=su("".replace),bu=su("".slice),wu=(Kh=/b*/g,nu(du,Zh=/a/,"a"),nu(du,Kh,"a"),0!==Zh.lastIndex||0!==Kh.lastIndex),xu=hu.BROKEN_CARET,Mu=void 0!==/()??/.exec("")[1];(wu||Mu||xu||fu||lu)&&(pu=function(t){var r,e,i,n,s,a,o,h=this,u=cu(h),c=au(t),f=u.raw;if(f)return f.lastIndex=h.lastIndex,r=nu(pu,f,c),h.lastIndex=f.lastIndex,r;var l=u.groups,v=xu&&h.sticky,d=nu(ou,h),p=h.source,y=0,g=c;if(v&&(d=mu(d,"y",""),-1===gu(d,"g")&&(d+="g"),g=bu(c,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==yu(c,h.lastIndex-1))&&(p="(?: "+p+")",g=" "+g,y++),e=new RegExp("^(?:"+p+")",d)),Mu&&(e=new RegExp("^"+p+"$(?!\\s)",d)),wu&&(i=h.lastIndex),n=nu(du,v?e:h,g),v?n?(n.input=bu(n.input,y),n[0]=bu(n[0],y),n.index=h.lastIndex,h.lastIndex+=n[0].length):h.lastIndex=0:wu&&n&&(h.lastIndex=h.global?n.index+n[0].length:i),Mu&&n&&n.length>1&&nu(vu,n[0],e,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(n[s]=void 0)})),n&&l)for(n.groups=a=uu(null),s=0;s<l.length;s++)a[(o=l[s])[0]]=n[o[1]];return n});var ku=pu;Di({target:"RegExp",proto:!0,forced:/./.exec!==ku},{exec:ku});var Nu=c,Su=$e,Ou=ku,Pu=a,ju=Qt,Eu=Lr,Cu=ju("species"),Tu=RegExp.prototype,Au=function(t,r,e,i){var n=ju(t),s=!Pu((function(){var r={};return r[n]=function(){return 7},7!==""[t](r)})),a=s&&!Pu((function(){var r=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[Cu]=function(){return e},e.flags="",e[n]=/./[n]),e.exec=function(){return r=!0,null},e[n](""),!r}));if(!s||!a||e){var o=/./[n],h=r(n,""[t],(function(t,r,e,i,n){var a=r.exec;return a===Ou||a===Tu.exec?s&&!n?{done:!0,value:Nu(o,r,e,i)}:{done:!0,value:Nu(t,e,r,i)}:{done:!1}}));Su(String.prototype,t,h[0]),Su(Tu,n,h[1])}i&&Eu(Tu[n],"sham",!0)},Ru=M,Bu=_e,$u=xh,Du=$,Lu=Ru("".charAt),Fu=Ru("".charCodeAt),Iu=Ru("".slice),zu=function(t){return function(r,e){var i,n,s=$u(Du(r)),a=Bu(e),o=s.length;return a<0||a>=o?t?"":void 0:(i=Fu(s,a))<55296||i>56319||a+1===o||(n=Fu(s,a+1))<56320||n>57343?t?Lu(s,a):i:t?Iu(s,a,a+2):n-56320+(i-55296<<10)+65536}},_u=(zu(!1),zu(!0)),Yu=function(t,r,e){return r+(e?_u(t,r).length:1)},Xu=c,Uu=Sr,qu=z,Gu=O,Vu=ku,Hu=TypeError,Wu=function(t,r){var e=t.exec;if(qu(e)){var i=Xu(e,t,r);return null!==i&&Uu(i),i}if("RegExp"===Gu(t))return Xu(Vu,t,r);throw new Hu("RegExp#exec called on incompatible receiver")},Qu=c,Zu=Sr,Ku=A,Ju=Ve,tc=xh,rc=$,ec=bt,ic=Yu,nc=Wu;Au("match",(function(t,r,e){return[function(r){var e=rc(this),i=Ku(r)?void 0:ec(r,t);return i?Qu(i,r,e):new RegExp(r)[t](tc(e))},function(t){var i=Zu(this),n=tc(t),s=e(r,i,n);if(s.done)return s.value;if(!i.global)return nc(i,n);var a=i.unicode;i.lastIndex=0;for(var o,h=[],u=0;null!==(o=nc(i,n));){var c=tc(o[0]);h[u]=c,""===c&&(i.lastIndex=ic(n,Ju(i.lastIndex),a)),u++}return 0===u?null:h}]}));var sc=M,ac=Bt,oc=Math.floor,hc=sc("".charAt),uc=sc("".replace),cc=sc("".slice),fc=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,lc=/\$([$&'`]|\d{1,2})/g,vc=qn,dc=c,pc=M,yc=Au,gc=a,mc=Sr,bc=z,wc=A,xc=_e,Mc=Ve,kc=xh,Nc=$,Sc=Yu,Oc=bt,Pc=function(t,r,e,i,n,s){var a=e+t.length,o=i.length,h=lc;return void 0!==n&&(n=ac(n),h=fc),uc(s,h,(function(s,h){var u;switch(hc(h,0)){case"$":return"$";case"&":return t;case"`":return cc(r,0,e);case"'":return cc(r,a);case"<":u=n[cc(h,1,-1)];break;default:var c=+h;if(0===c)return s;if(c>o){var f=oc(c/10);return 0===f?s:f<=o?void 0===i[f-1]?hc(h,1):i[f-1]+hc(h,1):s}u=i[c-1]}return void 0===u?"":u}))},jc=Wu,Ec=Qt("replace"),Cc=Math.max,Tc=Math.min,Ac=pc([].concat),Rc=pc([].push),Bc=pc("".indexOf),$c=pc("".slice),Dc="$0"==="a".replace(/./,"$0"),Lc=!!/./[Ec]&&""===/./[Ec]("a","$0");yc("replace",(function(t,r,e){var i=Lc?"$":"$0";return[function(t,e){var i=Nc(this),n=wc(t)?void 0:Oc(t,Ec);return n?dc(n,t,i,e):dc(r,kc(i),t,e)},function(t,n){var s=mc(this),a=kc(t);if("string"==typeof n&&-1===Bc(n,i)&&-1===Bc(n,"$<")){var o=e(r,s,a,n);if(o.done)return o.value}var h=bc(n);h||(n=kc(n));var u,c=s.global;c&&(u=s.unicode,s.lastIndex=0);for(var f,l=[];null!==(f=jc(s,a))&&(Rc(l,f),c);)""===kc(f[0])&&(s.lastIndex=Sc(a,Mc(s.lastIndex),u));for(var v,d="",p=0,y=0;y<l.length;y++){for(var g,m=kc((f=l[y])[0]),b=Cc(Tc(xc(f.index),a.length),0),w=[],x=1;x<f.length;x++)Rc(w,void 0===(v=f[x])?v:String(v));var M=f.groups;if(h){var k=Ac([m],w,b,a);void 0!==M&&Rc(k,M),g=kc(vc(n,void 0,k))}else g=Pc(m,a,b,w,M,n);b>=p&&(d+=$c(a,p,b)+g,p=b+m.length)}return d+$c(a,p)}]}),!!gc((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!Dc||Lc);var Fc,Ic=Y,zc=O,_c=Qt("match"),Yc=TypeError,Xc=function(t){if(function(t){var r;return Ic(t)&&(void 0!==(r=t[_c])?!!r:"RegExp"===zc(t))}(t))throw new Yc("The method doesn't accept regular expressions");return t},Uc=Qt("match"),qc=function(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[Uc]=!1,"/./"[t](r)}catch(t){}}return!1},Gc=Di,Vc=s.f,Hc=Ve,Wc=xh,Qc=Xc,Zc=$,Kc=qc,Jc=Hn("".slice),tf=Math.min,rf=Kc("startsWith");Gc({target:"String",proto:!0,forced:!(!rf&&(Fc=Vc(String.prototype,"startsWith"),Fc&&!Fc.writable)||rf)},{startsWith:function(t){var r=Wc(Zc(this));Qc(t);var e=Hc(tf(arguments.length>1?arguments[1]:void 0,r.length)),i=Wc(t);return Jc(r,e,e+i.length)===i}});var ef=Jh,nf=wr.f,sf=Qt("unscopables"),af=Array.prototype;void 0===af[sf]&&nf(af,sf,{configurable:!0,value:ef(null)});var of,hf,uf,cf=!a((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ff=Lt,lf=z,vf=Bt,df=cf,pf=re("IE_PROTO"),yf=Object,gf=yf.prototype,mf=df?yf.getPrototypeOf:function(t){var r=vf(t);if(ff(r,pf))return r[pf];var e=r.constructor;return lf(e)&&r instanceof e?e.prototype:r instanceof yf?gf:null},bf=a,wf=z,xf=Y,Mf=mf,kf=$e,Nf=Qt("iterator"),Sf=!1;[].keys&&("next"in(uf=[].keys())?(hf=Mf(Mf(uf)))!==Object.prototype&&(of=hf):Sf=!0);var Of=!xf(of)||bf((function(){var t={};return of[Nf].call(t)!==t}));Of&&(of={}),wf(of[Nf])||kf(of,Nf,(function(){return this}));var Pf={IteratorPrototype:of,BUGGY_SAFARI_ITERATORS:Sf},jf=Pf.IteratorPrototype,Ef=Jh,Cf=g,Tf=rn,Af=yo,Rf=function(){return this},Bf=Di,$f=c,Df=z,Lf=mf,Ff=Zi,If=rn,zf=Lr,_f=$e,Yf=yo,Xf=Xr.PROPER,Uf=Xr.CONFIGURABLE,qf=Pf.IteratorPrototype,Gf=Pf.BUGGY_SAFARI_ITERATORS,Vf=Qt("iterator"),Hf="keys",Wf="values",Qf="entries",Zf=function(){return this},Kf=F,Jf=function(t){af[sf][t]=!0},tl=yo,rl=wr.f,el=function(t,r){return{value:t,done:r}},il=o,nl="Array Iterator",sl=ve.set,al=ve.getterFor(nl),ol=function(t,r,e,i,n,s,a){!function(t,r,e,i){var n=r+" Iterator";t.prototype=Ef(jf,{next:Cf(+!i,e)}),Tf(t,n,!1),Af[n]=Rf}(e,r,i);var o,h,u,c=function(t){if(t===n&&p)return p;if(!Gf&&t&&t in v)return v[t];switch(t){case Hf:case Wf:case Qf:return function(){return new e(this,t)}}return function(){return new e(this)}},f=r+" Iterator",l=!1,v=t.prototype,d=v[Vf]||v["@@iterator"]||n&&v[n],p=!Gf&&d||c(n),y="Array"===r&&v.entries||d;if(y&&(o=Lf(y.call(new t)))!==Object.prototype&&o.next&&(Lf(o)!==qf&&(Ff?Ff(o,qf):Df(o[Vf])||_f(o,Vf,Zf)),If(o,f,!0)),Xf&&n===Wf&&d&&d.name!==Wf&&(Uf?zf(v,"name",Wf):(l=!0,p=function(){return $f(d,this)})),n)if(h={values:c(Wf),keys:s?p:c(Hf),entries:c(Qf)},a)for(u in h)(Gf||l||!(u in v))&&_f(v,u,h[u]);else Bf({target:r,proto:!0,forced:Gf||l},h);return v[Vf]!==p&&_f(v,Vf,p,{name:n}),Yf[r]=p,h}(Array,"Array",(function(t,r){sl(this,{type:nl,target:Kf(t),index:0,kind:r})}),(function(){var t=al(this),r=t.target,e=t.index++;if(!r||e>=r.length)return t.target=null,el(void 0,!0);switch(t.kind){case"keys":return el(e,!1);case"values":return el(r[e],!1)}return el([e,r[e]],!1)}),"values"),hl=tl.Arguments=tl.Array;if(Jf("keys"),Jf("values"),Jf("entries"),il&&"values"!==hl.name)try{rl(hl,"name",{value:"values"})}catch(t){}var ul=ur("span").classList,cl=ul&&ul.constructor&&ul.constructor.prototype,fl=n,ll={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},vl=cl===Object.prototype?void 0:cl,dl=ol,pl=Lr,yl=rn,gl=Qt("iterator"),ml=dl.values,bl=function(t,r){if(t){if(t[gl]!==ml)try{pl(t,gl,ml)}catch(r){t[gl]=ml}if(yl(t,r,!0),ll[r])for(var e in dl)if(t[e]!==dl[e])try{pl(t,e,dl[e])}catch(r){t[e]=dl[e]}}};for(var wl in ll)bl(fl[wl]&&fl[wl].prototype,wl);bl(vl,"DOMTokenList");var xl=yt,Ml=Bt,kl=T,Nl=We,Sl=TypeError,Ol="Reduce of empty array with no initial value",Pl=function(t){return function(r,e,i,n){var s=Ml(r),a=kl(s),o=Nl(s);if(xl(e),0===o&&i<2)throw new Sl(Ol);var h=t?o-1:0,u=t?-1:1;if(i<2)for(;;){if(h in a){n=a[h],h+=u;break}if(h+=u,t?h<0:o<=h)throw new Sl(Ol)}for(;t?h>=0:o>h;h+=u)h in a&&(n=e(n,a[h],h,s));return n}},jl={left:Pl(!1),right:Pl(!0)},El=a,Cl=function(t,r){var e=[][t];return!!e&&El((function(){e.call(null,r||function(){return 1},1)}))},Tl=jl.left;Di({target:"Array",proto:!0,forced:!Yi&&rt>79&&rt<83||!Cl("reduce")},{reduce:function(t){var r=arguments.length;return Tl(this,t,r,r>1?arguments[1]:void 0)}});var Al=Di,Rl=s.f,Bl=Ve,$l=xh,Dl=Xc,Ll=$,Fl=qc,Il=Hn("".slice),zl=Math.min,_l=Fl("endsWith"),Yl=!_l&&!!function(){var t=Rl(String.prototype,"endsWith");return t&&!t.writable}();Al({target:"String",proto:!0,forced:!Yl&&!_l},{endsWith:function(t){var r=$l(Ll(this));Dl(t);var e=arguments.length>1?arguments[1]:void 0,i=r.length,n=void 0===e?i:zl(Bl(e),i),s=$l(t);return Il(r,n-s.length,n)===s}});var Xl=c,Ul=M,ql=Au,Gl=Sr,Vl=A,Hl=$,Wl=_n,Ql=Yu,Zl=Ve,Kl=xh,Jl=bt,tv=Wu,rv=a,ev=jh.UNSUPPORTED_Y,iv=Math.min,nv=Ul([].push),sv=Ul("".slice),av=!rv((function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"b"!==e[1]})),ov="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;ql("split",(function(t,r,e){var i="0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:Xl(r,this,t,e)}:r;return[function(r,e){var n=Hl(this),s=Vl(r)?void 0:Jl(r,t);return s?Xl(s,r,n,e):Xl(i,Kl(n),r,e)},function(t,n){var s=Gl(this),a=Kl(t);if(!ov){var o=e(i,s,a,n,i!==r);if(o.done)return o.value}var h=Wl(s,RegExp),u=s.unicode,c=new h(ev?"^(?:"+s.source+")":s,(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(ev?"g":"y")),f=void 0===n?4294967295:n>>>0;if(0===f)return[];if(0===a.length)return null===tv(c,a)?[a]:[];for(var l=0,v=0,d=[];v<a.length;){c.lastIndex=ev?0:v;var p,y=tv(c,ev?sv(a,v):a);if(null===y||(p=iv(Zl(c.lastIndex+(ev?v:0)),a.length))===l)v=Ql(a,v,u);else{if(nv(d,sv(a,l,v)),d.length===f)return d;for(var g=1;g<=y.length-1;g++)if(nv(d,y[g]),d.length===f)return d;v=l=p}}return nv(d,sv(a,l)),d}]}),ov||!av,ev);var hv={exports:{}},uv={exports:{}};(function(){var t,r,e,i,n,s;"undefined"!=typeof performance&&null!==performance&&performance.now?uv.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(uv.exports=function(){return(t()-n)/1e6},r=process.hrtime,i=(t=function(){var t;return 1e9*(t=r())[0]+t[1]})(),s=1e9*process.uptime(),n=i-s):Date.now?(uv.exports=function(){return Date.now()-e},e=Date.now()):(uv.exports=function(){return(new Date).getTime()-e},e=(new Date).getTime())}).call(t);for(var cv=uv.exports,fv="undefined"==typeof window?t:window,lv=["moz","webkit"],vv="AnimationFrame",dv=fv["request"+vv],pv=fv["cancel"+vv]||fv["cancelRequest"+vv],yv=0;!dv&&yv<lv.length;yv++)dv=fv[lv[yv]+"Request"+vv],pv=fv[lv[yv]+"Cancel"+vv]||fv[lv[yv]+"CancelRequest"+vv];if(!dv||!pv){var gv=0,mv=0,bv=[],wv=1e3/60;dv=function(t){if(0===bv.length){var r=cv(),e=Math.max(0,wv-(r-gv));gv=e+r,setTimeout((function(){var t=bv.slice(0);bv.length=0;for(var r=0;r<t.length;r++)if(!t[r].cancelled)try{t[r].callback(gv)}catch(t){setTimeout((function(){throw t}),0)}}),Math.round(e))}return bv.push({handle:++mv,callback:t,cancelled:!1}),mv},pv=function(t){for(var r=0;r<bv.length;r++)bv[r].handle===t&&(bv[r].cancelled=!0)}}hv.exports=function(t){return dv.call(fv,t)},hv.exports.cancel=function(){pv.apply(fv,arguments)},hv.exports.polyfill=function(t){t||(t=fv),t.requestAnimationFrame=dv,t.cancelAnimationFrame=pv};const xv=hv.exports;var Mv,kv="\t\n\v\f\r \u2028\u2029\ufeff",Nv=$,Sv=xh,Ov=kv,Pv=M("".replace),jv=RegExp("^["+Ov+"]+"),Ev=RegExp("(^|[^"+Ov+"])["+Ov+"]+$"),Cv=function(t){return function(r){var e=Sv(Nv(r));return 1&t&&(e=Pv(e,jv,"")),2&t&&(e=Pv(e,Ev,"$1")),e}},Tv={start:Cv(1),end:Cv(2),trim:Cv(3)},Av=Xr.PROPER,Rv=kv,Bv=Tv.trim;Di({target:"String",proto:!0,forced:(Mv="trim",a((function(){return!!Rv[Mv]()||"
"!=="
"[Mv]()||Av&&Rv[Mv].name!==Mv})))},{trim:function(){return Bv(this)}});var $v=function(t){this.ok=!1,this.alpha=1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t=(t=t.replace(/ /g,"")).toLowerCase();var r={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};t=r[t]||t;for(var e=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3]),parseFloat(t[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],i=0;i<e.length;i++){var n=e[i].process,s=e[i].re.exec(t);if(s){var a=n(s);this.r=a[0],this.g=a[1],this.b=a[2],a.length>3&&(this.alpha=a[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var t=this.r.toString(16),r=this.g.toString(16),e=this.b.toString(16);return 1==t.length&&(t="0"+t),1==r.length&&(r="0"+r),1==e.length&&(e="0"+e),"#"+t+r+e},this.getHelpXML=function(){for(var t=new Array,i=0;i<e.length;i++)for(var n=e[i].example,s=0;s<n.length;s++)t[t.length]=n[s];for(var a in r)t[t.length]=a;var o=document.createElement("ul");for(o.setAttribute("id","rgbcolor-examples"),i=0;i<t.length;i++)try{var h=document.createElement("li"),u=new RGBColor(t[i]),c=document.createElement("div");c.style.cssText="margin: 3px; border: 1px solid black; background:"+u.toHex()+"; color:"+u.toHex(),c.appendChild(document.createTextNode("test"));var f=document.createTextNode(" "+t[i]+" -> "+u.toRGB()+" -> "+u.toHex());h.appendChild(c),h.appendChild(f),o.appendChild(h)}catch(t){}return o}},Dv=Di,Lv=Je.indexOf,Fv=Cl,Iv=Hn([].indexOf),zv=!!Iv&&1/Iv([1],1,-0)<0;Dv({target:"Array",proto:!0,forced:zv||!Fv("indexOf")},{indexOf:function(t){var r=arguments.length>1?arguments[1]:void 0;return zv?Iv(this,t,r)||0:Lv(this,t,r)}});var _v=Di,Yv=Xc,Xv=$,Uv=xh,qv=qc,Gv=M("".indexOf);_v({target:"String",proto:!0,forced:!qv("includes")},{includes:function(t){return!!~Gv(Uv(Xv(this)),Uv(Yv(t)),arguments.length>1?arguments[1]:void 0)}});var Vv=O,Hv=Di,Wv=Array.isArray||function(t){return"Array"===Vv(t)},Qv=M([].reverse),Zv=[1,2];Hv({target:"Array",proto:!0,forced:String(Zv)===String(Zv.reverse())},{reverse:function(){return Wv(this)&&(this.length=this.length),Qv(this)}});
|
7
7
|
/*! *****************************************************************************
|
8
8
|
Copyright (c) Microsoft Corporation.
|
9
9
|
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{d as e,f as t}from"./p-
|
6
|
+
import{d as e,f as t}from"./p-1b0588d2.js";const s=e=>!("isConnected"in e)||e.isConnected,n=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(s))})(...t)}),2e3)}})(),o=e=>"function"==typeof e?e():e,r=(s,r)=>{const c=((e,t=((e,t)=>e!==t))=>{const s=o(e);let n=new Map(Object.entries(null!=s?s:{}));const r={dispose:[],get:[],set:[],reset:[]},c=()=>{var t;n=new Map(Object.entries(null!==(t=o(e))&&void 0!==t?t:{})),r.reset.forEach((e=>e()))},u=e=>(r.get.forEach((t=>t(e))),n.get(e)),i=(e,s)=>{const o=n.get(e);t(s,o,e)&&(n.set(e,s),r.set.forEach((t=>t(e,s,o))))},p="undefined"==typeof Proxy?{}:new Proxy(s,{get:(e,t)=>u(t),ownKeys:()=>Array.from(n.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>n.has(t),set:(e,t,s)=>(i(t,s),!0)}),a=(e,t)=>(r[e].push(t),()=>{((e,t)=>{const s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)})(r[e],t)});return{state:p,get:u,set:i,on:a,onChange:(t,s)=>{const n=a("set",((e,n)=>{e===t&&s(n)})),r=a("reset",(()=>s(o(e)[t])));return()=>{n(),r()}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(a("set",t.set)),t.get&&e.push(a("get",t.get)),t.reset&&e.push(a("reset",t.reset)),t.dispose&&e.push(a("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{r.dispose.forEach((e=>e())),c()},reset:c,forceUpdate:e=>{const t=n.get(e);r.set.forEach((s=>s(e,t,t)))}}})(s,r);return c.use((()=>{if("function"!=typeof e)return{};const s=new Map;return{dispose:()=>s.clear(),get:t=>{const n=e();n&&((e,t,s)=>{const n=e.get(t);n?n.includes(s)||n.push(s):e.set(t,[s])})(s,t,n)},set:e=>{const o=s.get(e);o&&s.set(e,o.filter(t)),n(s)},reset:()=>{s.forEach((e=>e.forEach(t))),n(s)}}})()),c};export{r as c}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{g as t,r as e,h as i,H as n}from"./p-
|
6
|
+
import{g as t,r as e,h as i,H as n}from"./p-1b0588d2.js";import{g as r,a as s,b as o}from"./p-f6e81cf8.js";import{s as a}from"./p-8b218ba7.js";import"./p-4f236b5d.js";import{g as h}from"./p-ee2cbba0.js";import{r as c,N as u,c as l,e as f,A as d}from"./p-0668e30d.js";import"./p-80cb7c73.js";import"./p-570b13d9.js";import"./p-e23b4193.js";import"./p-d4056c1c.js";import"./p-0a24ad5f.js";
|
7
7
|
/*! *****************************************************************************
|
8
8
|
Copyright (c) Microsoft Corporation.
|
9
9
|
|