@arcgis/map-components 4.33.0-next.136 → 4.33.0-next.138
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/cdn/{2BWNKFZW.js → 2ICV3ZP6.js} +2 -2
- package/dist/cdn/{F5IQLE3G.js → 2RYHZPSQ.js} +2 -2
- package/dist/cdn/{IMWUONNH.js → 2TBOD7GJ.js} +2 -2
- package/dist/cdn/{U6NUSLXQ.js → 3F4Z4TXU.js} +2 -2
- package/dist/cdn/3HNXL7RL.js +4 -0
- package/dist/cdn/{WKVMC47S.js → 3MPFDWBN.js} +2 -2
- package/dist/cdn/{7AMN2VPJ.js → 3PXEJNET.js} +2 -2
- package/dist/cdn/{UCIYMFVJ.js → 3RYCWP6E.js} +2 -2
- package/dist/cdn/{BP57OBWN.js → 4KXQH47P.js} +2 -2
- package/dist/cdn/{LOBFBGWD.js → 4NU2LEDY.js} +2 -2
- package/dist/cdn/{AKYPLUTO.js → 54A6QQ5P.js} +2 -2
- package/dist/cdn/{URLKREBV.js → 5DLF2FRD.js} +2 -2
- package/dist/cdn/{AH2ZG75G.js → 5J7OJ4Z6.js} +2 -2
- package/dist/cdn/{XBHXC4AC.js → 5KYPK2BL.js} +2 -2
- package/dist/cdn/{PX235H7X.js → 5PFB6EGX.js} +2 -2
- package/dist/cdn/{CLSVAQ4G.js → 6Q5DEPLW.js} +2 -2
- package/dist/cdn/{JXRFEX3Q.js → 6VOXDT2D.js} +2 -2
- package/dist/cdn/{EYI6GI7E.js → 73CNLONW.js} +2 -2
- package/dist/cdn/{SQ7IRME2.js → 7C6JQ4XM.js} +2 -2
- package/dist/cdn/{VZVTX75Y.js → 7FFIVQF6.js} +2 -2
- package/dist/cdn/{JRGKAE6F.js → 7Q2OQGBB.js} +2 -2
- package/dist/cdn/{X2X6B3YN.js → A4ZNGLT2.js} +2 -2
- package/dist/cdn/{ET44LS3A.js → A575HHDP.js} +2 -2
- package/dist/cdn/A5AIKEDX.js +4 -0
- package/dist/cdn/{62NRGBON.js → AIYUDCDQ.js} +2 -2
- package/dist/cdn/AV6YUXI6.js +4 -0
- package/dist/cdn/BNCLTRYH.js +4 -0
- package/dist/cdn/{GBCKXZW6.js → BQYQ3LTP.js} +2 -2
- package/dist/cdn/{WIWG2LGN.js → BZ5KBRTH.js} +2 -2
- package/dist/cdn/{3G3LVX2U.js → C677Z3XS.js} +2 -2
- package/dist/cdn/C722QWYO.js +4 -0
- package/dist/cdn/{IPRFR6DT.js → CUDJHVRU.js} +2 -2
- package/dist/cdn/{5CTZNTHB.js → CV2IWESX.js} +2 -2
- package/dist/cdn/{JAN5HG3G.js → D7MSIIVJ.js} +2 -2
- package/dist/cdn/{ADGC7BZI.js → DJAPPGGB.js} +2 -2
- package/dist/cdn/{MUQ32RUE.js → EDORIH5N.js} +2 -2
- package/dist/cdn/EL4W5FAJ.js +4 -0
- package/dist/cdn/{X5H4BNWJ.js → FOVCH7VW.js} +2 -2
- package/dist/cdn/{VKJE37GQ.js → FY5ET4WM.js} +2 -2
- package/dist/cdn/{TRTMNVI6.js → G7FA2SZX.js} +2 -2
- package/dist/cdn/{DTVBVHKG.js → GDRUHH5B.js} +2 -2
- package/dist/cdn/{GOBTKC4E.js → GEVMX2UO.js} +2 -2
- package/dist/cdn/{WTYFC75N.js → GURMXFUT.js} +2 -2
- package/dist/cdn/{WNJVX6RI.js → GY5GZLXV.js} +2 -2
- package/dist/cdn/{6JC2Q2KY.js → HBVJIRGN.js} +2 -2
- package/dist/cdn/{57J7ZHCC.js → HCS23COA.js} +2 -2
- package/dist/cdn/{X3ZJJBIA.js → HMR3LZEC.js} +2 -2
- package/dist/cdn/{J3TOTWFC.js → HT7HVKXJ.js} +2 -2
- package/dist/cdn/{K2ITHZ7S.js → HUYGZMDR.js} +2 -2
- package/dist/cdn/HXOPYRM2.js +4 -0
- package/dist/cdn/{YMUJRFGB.js → IH32IEWT.js} +2 -2
- package/dist/cdn/{OQPILQIR.js → JGCDGP2X.js} +2 -2
- package/dist/cdn/JR37HKLZ.js +4 -0
- package/dist/cdn/{WQ3BAHLE.js → JYTTN5LU.js} +2 -2
- package/dist/cdn/{3XXP6T6D.js → KEI26URD.js} +1 -1
- package/dist/cdn/{Q6MBU3KQ.js → KM5OVC7O.js} +2 -2
- package/dist/cdn/{RRAN3GV5.js → L5J24G5M.js} +2 -2
- package/dist/cdn/L66H2ALJ.js +4 -0
- package/dist/cdn/{XDT45WCB.js → LIQITLFR.js} +2 -2
- package/dist/cdn/{JM6NPZAW.js → LNOMQKUY.js} +2 -2
- package/dist/cdn/{7D6VNKHP.js → LQEPXN57.js} +2 -2
- package/dist/cdn/{GURL6AVS.js → LT4K76AI.js} +2 -2
- package/dist/cdn/LUWRRPTC.js +4 -0
- package/dist/cdn/{BA4MEMIO.js → MEUUSKT3.js} +2 -2
- package/dist/cdn/{XKZ3QPCQ.js → MNSXEFSD.js} +2 -2
- package/dist/cdn/{HBIM6ODS.js → MUPWF5M2.js} +2 -2
- package/dist/cdn/N36AOA4W.js +4 -0
- package/dist/cdn/{4S3FYMV3.js → N4JEEG6U.js} +2 -2
- package/dist/cdn/{IGZF7C2L.js → NA7YRW3M.js} +2 -2
- package/dist/cdn/{47MNULJ4.js → NHSTTG5C.js} +1 -1
- package/dist/cdn/{VIIEZ6AL.js → NIB3ARH5.js} +2 -2
- package/dist/cdn/{3XNP3PSG.js → O7YEMKLH.js} +2 -2
- package/dist/cdn/{XGKSB2HZ.js → P2ORI2MU.js} +2 -2
- package/dist/cdn/{5ZIN5VIU.js → P4OU64OH.js} +2 -2
- package/dist/cdn/{MLGAD27T.js → PRZRGIJO.js} +2 -2
- package/dist/cdn/{MAJRJT3G.js → Q2G3EZNU.js} +2 -2
- package/dist/cdn/{CHXEQ2UW.js → Q3DX3LMR.js} +2 -2
- package/dist/cdn/{O374NYBD.js → QBPIXB5K.js} +2 -2
- package/dist/cdn/{EUDGCLCR.js → QINX3JDV.js} +2 -2
- package/dist/cdn/{U7BSTI4W.js → QXPX2NPW.js} +2 -2
- package/dist/cdn/{PCRMIW56.js → RN2REPX3.js} +2 -2
- package/dist/cdn/{PE52DDMH.js → RPQOQQSL.js} +2 -2
- package/dist/cdn/RSXOP3R5.js +6 -0
- package/dist/cdn/{NJEGSU4S.js → S7S6ARM2.js} +2 -2
- package/dist/cdn/{BLCGQIIG.js → SNF6PQDA.js} +2 -2
- package/dist/cdn/{FWH2SDOO.js → SPPQB6HJ.js} +2 -2
- package/dist/cdn/{7IV7MLK2.js → ST2CRGPM.js} +2 -2
- package/dist/cdn/{KVVOGNVV.js → SUEDRTNE.js} +2 -2
- package/dist/cdn/{34PJWM5S.js → SW63GGTX.js} +2 -2
- package/dist/cdn/{FC2AIUU4.js → T5JY4NUR.js} +1 -1
- package/dist/cdn/{2ELONJFJ.js → TBKYTCWV.js} +2 -2
- package/dist/cdn/{EXVPDO2O.js → TGOTZ7AI.js} +2 -2
- package/dist/cdn/{OSJ6OFRU.js → TLXRUB2I.js} +2 -2
- package/dist/cdn/{RP2AVIBP.js → TN3WLCHJ.js} +1 -1
- package/dist/cdn/{CPTQQPY2.js → U2DRGZMR.js} +2 -2
- package/dist/cdn/{7HU7RIXG.js → UERCPIN5.js} +2 -2
- package/dist/cdn/{6J2EHGJB.js → UFB7UU6E.js} +1 -1
- package/dist/cdn/{PF6QUHKZ.js → UHZ772ND.js} +2 -2
- package/dist/cdn/UT2TU4IE.js +4 -0
- package/dist/cdn/{YZGU7UEH.js → UTX6MR4S.js} +2 -2
- package/dist/cdn/{24WBASSH.js → V7RU2UNT.js} +2 -2
- package/dist/cdn/{25GIHOAR.js → VBIWNOWT.js} +2 -2
- package/dist/cdn/{YXE7BY2K.js → VCEXQIAL.js} +2 -2
- package/dist/cdn/{2OCYM3OK.js → VKAIYWB6.js} +2 -2
- package/dist/cdn/{6E5B576C.js → VUGWIA5S.js} +2 -2
- package/dist/cdn/{IHGISFTT.js → VXE3QTOJ.js} +2 -2
- package/dist/cdn/{FZW76KJQ.js → WTLPSGCB.js} +2 -2
- package/dist/cdn/{JU5LW5WD.js → XDDWEQM3.js} +2 -2
- package/dist/cdn/XGAGBN4O.js +4 -0
- package/dist/cdn/{NWKOHTGA.js → XJG23KZB.js} +2 -2
- package/dist/cdn/{YKYALGDF.js → XQWUSMGI.js} +2 -2
- package/dist/cdn/{I2HLEB6L.js → XTNP3TJF.js} +2 -2
- package/dist/cdn/{RDNLBAOK.js → YB6ZBOCX.js} +2 -2
- package/dist/cdn/{LEOKJPJQ.js → YCQPBKUP.js} +2 -2
- package/dist/cdn/{HHQII7OF.js → YXY5RVBB.js} +2 -2
- package/dist/cdn/{UZBOO73Z.js → ZBFPM6CM.js} +2 -2
- package/dist/cdn/{SYEDGBKA.js → ZD62VL5V.js} +2 -2
- package/dist/cdn/ZEX2ON7O.js +4 -0
- package/dist/cdn/{4XMFLJJI.js → ZO4WI4NO.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +66 -77
- package/dist/chunks/async-utils.js +2 -2
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +5 -5
- package/dist/chunks/measurementUtils.js +50 -0
- package/dist/chunks/runtime.js +8 -6
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +45 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +17 -56
- package/dist/components/arcgis-area-measurement-3d/customElement.js +155 -17
- package/dist/components/arcgis-area-measurement-3d/index.d.ts +3 -0
- package/dist/components/arcgis-area-measurement-3d/index.js +3 -0
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/css.d.ts +1 -0
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +13 -12
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +47 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +68 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +194 -0
- package/dist/components/arcgis-direct-line-measurement-3d/index.d.ts +4 -0
- package/dist/components/arcgis-direct-line-measurement-3d/index.js +4 -0
- package/dist/components/arcgis-directional-pad/customElement.d.ts +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +34 -33
- package/dist/components/arcgis-directional-pad/index.d.ts +1 -1
- package/dist/components/arcgis-directional-pad/index.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/LineOfSightViewModel.d.ts +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +4 -4
- package/dist/components/arcgis-line-of-sight/customElement.js +16 -16
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +16 -2
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +36 -28
- package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +3 -0
- package/dist/components/arcgis-link-chart-layout-switcher/index.js +3 -0
- package/dist/components/arcgis-locate/customElement.d.ts +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.d.ts +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.d.ts +20 -0
- package/dist/components/arcgis-measurement-content/customElement.js +59 -0
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.d.ts +1 -1
- package/dist/components/arcgis-search/customElement.js +37 -37
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +14 -8
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +3 -2
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.d.ts +4 -5
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +988 -242
- package/dist/docs/docs.json +854 -273
- package/dist/docs/vscode.html-custom-data.json +159 -15
- package/dist/docs/web-types.json +253 -79
- package/dist/index.d.ts +23 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +6 -4
- package/dist/support/AnalysisViewModel.d.ts +26 -39
- package/dist/support/maybe.d.ts +2 -2
- package/dist/support/measurementUtils.d.ts +19 -0
- package/dist/types/lumina.d.ts +11 -4
- package/dist/types/preact.d.ts +12 -4
- package/dist/types/react.d.ts +13 -4
- package/dist/types/stencil.d.ts +11 -4
- package/package.json +3 -4
- package/dist/cdn/2U3NM53O.js +0 -4
- package/dist/cdn/4OH6ZQSR.js +0 -6
- package/dist/cdn/5OJGMLTM.js +0 -4
- package/dist/cdn/EQLVXNT2.js +0 -4
- package/dist/cdn/ESYIRKJZ.js +0 -4
- package/dist/cdn/HAKRJX2P.js +0 -4
- package/dist/cdn/IBQZQ7NO.js +0 -4
- package/dist/cdn/KI5QKUMW.js +0 -4
- package/dist/cdn/MCMV52SD.js +0 -4
- package/dist/cdn/Q3IHR5JP.js +0 -4
- package/dist/cdn/SEORCENQ.js +0 -4
- package/dist/cdn/Y4BGHULQ.js +0 -4
- package/dist/cdn/YW35NM5X.js +0 -4
- package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +0 -98
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +0 -37
- /package/dist/components/{arcgis-directline-measurement-3d → arcgis-measurement-content}/index.d.ts +0 -0
- /package/dist/components/{arcgis-directline-measurement-3d → arcgis-measurement-content}/index.js +0 -0
package/dist/cdn/4OH6ZQSR.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.136 */
|
|
4
|
-
var Es=(...o)=>{let t=[];for(let s=0;s<o.length;s++){let n=o[s];if(typeof n=="string")t.push(n);else if(Array.isArray(n))t.push.apply(t,n);else if(typeof n=="object")for(let r in n)n[r]&&t.push(r)}let e=t.join(" ");return t.length=0,e},v=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},fe=(o,t)=>{let e=o;for(;e;){if(e===t)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1},me=(o,t,e)=>{let s=ye(t).subscribe;return s(n=>{n.some(i=>fe(o,i.target))&&e()})},dt={},ye=o=>{let t=o.join(","),e=dt[t];if(e!==void 0)return e;let s=new Set,n=new MutationObserver(i=>s.forEach(a=>a(i)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:o,subtree:!0});let r={subscribe:i=>(s.add(i),()=>{s.delete(i),s.size===0&&(n.disconnect(),dt[t]=void 0)})};return dt[t]=r,r},ge=(o,t)=>{let e=o;for(;e;){let s=e.closest?.(t);if(s)return s;let n=e.getRootNode?.();if(n===globalThis.document)return null;e=n.host}return null};var ve=(o,t,e)=>ge(o,`[${t}]`)?.getAttribute(t)??e;var be=o=>typeof o.setFocus=="function";var $s=async o=>{o!=null&&(be(o)?await o.setFocus():o.focus())};var u=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},I=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}},M=o=>{let t="";for(let e=0;e<o;e++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t},Cs=()=>[M(2),M(1),M(1),M(1),M(3)].join("-"),Ee="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),$e=new Set(Ee),G="en",Ce={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},Ae=async(o,t,e="")=>{let s=`${t}/${e}`,n=`${s}${o}.json`;return ut[n]??(ut[n]=Rt(o,s)),await ut[n]},ut={},Rt=async(o,t)=>{let e=`${t}${o}.json`;try{let s=await fetch(e);if(s.ok)return await s.json()}catch(s){return console.error(s),{}}return o===G?{}:await Rt(G,t)},_e=o=>{let t=ve(o,"lang",globalThis.navigator?.language||G);return{lang:t,t9nLocale:Dt(t)}},Dt=o=>{let[t,e]=o.split("-"),s=t.toLowerCase(),n=s;return e&&(n=`${s}-${e.toUpperCase()}`),n=Ce[n]??n,$e.has(n)?n:e?Dt(s):G},As=(o,t,e,s)=>{let n,r=()=>we(o,t(),s).then(i=>{(n?.lang!==i.lang||n.t9nLocale!==i.t9nLocale||n.t9nStrings!==i.t9nStrings)&&e(i),n=i}).catch(console.error);return queueMicrotask(r),me(o,["lang"],r)},we=async(o,t,e=o.localName.split("-").slice(1).join("-"))=>{let{lang:s,t9nLocale:n}=_e(o),r=`${t}/${e}/t9n`,a=e===null?{}:await Ae(n,r,"messages.");return{lang:s,t9nLocale:n,t9nStrings:a}};var J=o=>o.replace(xe,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),xe=/[A-Z]+(?![a-z])|[A-Z]/gu;var Ut=(o,t)=>{let e=t>Oe?Se:t/Te,s=0,n=setInterval(()=>{s+=e,s>=t&&(clearInterval(n),o())},e);return n},Oe=4e3,Se=2e3,Te=4;var _s=(o,t,e=!1)=>{if(!o||!t)return!1;let s=new URL(o),n=new URL(t);return!e&&s.protocol!==n.protocol||s.host==null||n.host==null?!1:s.host.toLowerCase()===n.host.toLowerCase()&&s.port===n.port};var Q=globalThis,Y=Q.ShadowRoot&&(Q.ShadyCSS===void 0||Q.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,pt=Symbol(),kt=new WeakMap,j=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==pt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Y&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=kt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&kt.set(e,t))}return t}toString(){return this.cssText}},Mt=o=>new j(typeof o=="string"?o:o+"",void 0,pt),Pe=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((s,n,r)=>s+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+o[r+1],o[0]);return new j(e,o,pt)},It=(o,t)=>{if(Y)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),n=Q.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=e.cssText,o.appendChild(s)}},ft=Y?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return Mt(e)})(o):o;var yt=globalThis,Z=yt.trustedTypes,jt=Z?Z.createPolicy("lit-html",{createHTML:o=>o}):void 0,gt="$lit$",E=`lit$${Math.random().toFixed(9).slice(2)}$`,vt="?"+E,Ne=`<${vt}>`,x=document,z=()=>x.createComment(""),H=o=>o===null||typeof o!="object"&&typeof o!="function",bt=Array.isArray,Wt=o=>bt(o)||typeof o?.[Symbol.iterator]=="function",mt=`[
|
|
5
|
-
\f\r]`,V=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,zt=/>/g,_=RegExp(`>|${mt}(?:([^\\s"'>=/]+)(${mt}*=${mt}*(?:[^
|
|
6
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ht=/'/g,qt=/"/g,Ft=/^(?:script|style|textarea|title)$/i,Et=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),Os=Et(1),Ss=Et(2),Ts=Et(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Bt=new WeakMap,w=x.createTreeWalker(x,129);function Kt(o,t){if(!bt(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return jt!==void 0?jt.createHTML(t):t}var Gt=(o,t)=>{let e=o.length-1,s=[],n,r=t===2?"<svg>":t===3?"<math>":"",i=V;for(let a=0;a<e;a++){let c=o[a],l,p,h=-1,m=0;for(;m<c.length&&(i.lastIndex=m,p=i.exec(c),p!==null);)m=i.lastIndex,i===V?p[1]==="!--"?i=Vt:p[1]!==void 0?i=zt:p[2]!==void 0?(Ft.test(p[2])&&(n=RegExp("</"+p[2],"g")),i=_):p[3]!==void 0&&(i=_):i===_?p[0]===">"?(i=n??V,h=-1):p[1]===void 0?h=-2:(h=i.lastIndex-p[2].length,l=p[1],i=p[3]===void 0?_:p[3]==='"'?qt:Ht):i===qt||i===Ht?i=_:i===Vt||i===zt?i=V:(i=_,n=void 0);let y=i===_&&o[a+1].startsWith("/>")?" ":"";r+=i===V?c+Ne:h>=0?(s.push(l),c.slice(0,h)+gt+c.slice(h)+E+y):c+E+(h===-2?a:y)}return[Kt(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},q=class o{constructor({strings:t,_$litType$:e},s){let n;this.parts=[];let r=0,i=0,a=t.length-1,c=this.parts,[l,p]=Gt(t,e);if(this.el=o.createElement(l,s),w.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=w.nextNode())!==null&&c.length<a;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(gt)){let m=p[i++],y=n.getAttribute(h).split(E),A=/([.?@])?(.*)/.exec(m);c.push({type:1,index:r,name:A[2],strings:y,ctor:A[1]==="."?tt:A[1]==="?"?et:A[1]==="@"?st:S}),n.removeAttribute(h)}else h.startsWith(E)&&(c.push({type:6,index:r}),n.removeAttribute(h));if(Ft.test(n.tagName)){let h=n.textContent.split(E),m=h.length-1;if(m>0){n.textContent=Z?Z.emptyScript:"";for(let y=0;y<m;y++)n.append(h[y],z()),w.nextNode(),c.push({type:2,index:++r});n.append(h[m],z())}}}else if(n.nodeType===8)if(n.data===vt)c.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf(E,h+1))!==-1;)c.push({type:7,index:r}),h+=E.length-1}r++}}static createElement(t,e){let s=x.createElement("template");return s.innerHTML=t,s}};function O(o,t,e=o,s){if(t===f)return t;let n=s!==void 0?e._$Co?.[s]:e._$Cl,r=H(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(o),n._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=n:e._$Cl=n),n!==void 0&&(t=O(o,n._$AS(o,t.values),n,s)),t}var X=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,n=(t?.creationScope??x).importNode(e,!0);w.currentNode=n;let r=w.nextNode(),i=0,a=0,c=s[0];for(;c!==void 0;){if(i===c.index){let l;c.type===2?l=new R(r,r.nextSibling,this,t):c.type===1?l=new c.ctor(r,c.name,c.strings,this,t):c.type===6&&(l=new ot(r,this,t)),this._$AV.push(l),c=s[++a]}i!==c?.index&&(r=w.nextNode(),i++)}return w.currentNode=x,n}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},R=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,n){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=O(this,t,e),H(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Wt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&H(this._$AH)?this._$AA.nextSibling.data=t:this.T(x.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,n=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=q.createElement(Kt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(e);else{let r=new X(n,this),i=r.u(this.options);r.p(e),this.T(i),this._$AH=r}}_$AC(t){let e=Bt.get(t.strings);return e===void 0&&Bt.set(t.strings,e=new q(t)),e}k(t){bt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,n=0;for(let r of t)n===e.length?e.push(s=new o(this.O(z()),this.O(z()),this,this.options)):s=e[n],s._$AI(r),n++;n<e.length&&(this._$AR(s&&s._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},S=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,n,r){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,n){let r=this.strings,i=!1;if(r===void 0)t=O(this,t,e,0),i=!H(t)||t!==this._$AH&&t!==f,i&&(this._$AH=t);else{let a=t,c,l;for(t=r[0],c=0;c<r.length-1;c++)l=O(this,a[s+c],e,c),l===f&&(l=this._$AH[c]),i||=!H(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+r[c+1]),this._$AH[c]=l}i&&!n&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tt=class extends S{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},et=class extends S{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},st=class extends S{constructor(t,e,s,n,r){super(t,e,s,n,r),this.type=5}_$AI(t,e=this){if((t=O(this,t,e,0)??d)===f)return;let s=this._$AH,n=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==d&&(s===d||n);n&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ot=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){O(this,t)}},Jt={M:gt,P:E,A:vt,C:1,L:Gt,R:X,D:Wt,V:O,I:R,H:S,N:et,U:st,B:tt,F:ot},Le=yt.litHtmlPolyfillSupport;Le?.(q,R),(yt.litHtmlVersions??=[]).push("3.3.0");var $t=(o,t,e)=>{let s=e?.renderBefore??t,n=s._$litPart$;if(n===void 0){let r=e?.renderBefore??null;s._$litPart$=n=new R(t.insertBefore(z(),r),r,void 0,e??{})}return n._$AI(o),n};var{is:Re,defineProperty:De,getOwnPropertyDescriptor:Ue,getOwnPropertyNames:ke,getOwnPropertySymbols:Me,getPrototypeOf:Ie}=Object,rt=globalThis,Qt=rt.trustedTypes,je=Qt?Qt.emptyScript:"",Ve=rt.reactiveElementPolyfillSupport,B=(o,t)=>o,nt={toAttribute(o,t){switch(t){case Boolean:o=o?je:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},W=(o,t)=>!Re(o,t),Yt={attribute:!0,type:String,converter:nt,reflect:!1,useDefault:!1,hasChanged:W};Symbol.metadata??=Symbol("metadata"),rt.litPropertyMetadata??=new WeakMap;var $=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Yt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(t,s,e);n!==void 0&&De(this.prototype,t,n)}}static getPropertyDescriptor(t,e,s){let{get:n,set:r}=Ue(this.prototype,t)??{get(){return this[e]},set(i){this[e]=i}};return{get:n,set(i){let a=n?.call(this);r?.call(this,i),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Yt}static _$Ei(){if(this.hasOwnProperty(B("elementProperties")))return;let t=Ie(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(B("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(B("properties"))){let e=this.properties,s=[...ke(e),...Me(e)];for(let n of s)this.createProperty(n,e[n])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,n]of e)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let n=this._$Eu(e,s);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let n of s)e.unshift(ft(n))}else t!==void 0&&e.push(ft(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return It(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,s);if(n!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:nt).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,e){let s=this.constructor,n=s._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let r=s.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:nt;this._$Em=n,this[n]=i.fromAttribute(e,r.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let n=this.constructor,r=this[t];if(s??=n.getPropertyOptions(t),!((s.hasChanged??W)(r,e)||s.useDefault&&s.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(n._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:n,wrapped:r},i){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??e??this[t]),r!==!0||i!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),n===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[n,r]of s){let{wrapped:i}=r,a=this[n];i!==!0||this._$AL.has(n)||a===void 0||this.C(n,void 0,r,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};$.elementStyles=[],$.shadowRootOptions={mode:"open"},$[B("elementProperties")]=new Map,$[B("finalized")]=new Map,Ve?.({ReactiveElement:$}),(rt.reactiveElementVersions??=[]).push("2.1.0");var Ct=globalThis,b=class extends ${constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=$t(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};b._$litElement$=!0,b.finalized=!0,Ct.litElementHydrateSupport?.({LitElement:b});var ze=Ct.litElementPolyfillSupport;ze?.({LitElement:b});(Ct.litElementVersions??=[]).push("4.2.0");var at=Symbol.for("controller"),He=o=>typeof o=="object"&&o!==null&&(at in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),Gs=o=>typeof o?.then=="function",Js=o=>o.M.length,F,D=o=>{F!==o&&(F=o,queueMicrotask(()=>F===o?F=void 0:0))},K=o=>F,T=[],qe=o=>{if(o===void 0){T=[];return}let t=T.indexOf(o);T=t===-1?[...T,o]:T.slice(0,t+1),queueMicrotask(()=>T=[])},Be=()=>T,U,Qs=o=>{U!==o&&(U=o,queueMicrotask(()=>U===o?U=void 0:0))},We=()=>{let o=U;return U=void 0,o},Fe=async(o,t)=>{let e=_t(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(n=>t(n,s))}return e.exports},Ke=async o=>{let t=_t(o);return await t.ready,t},_t=o=>{let e=K().manager.X(o);if(e!==void 0)return e;if(He(o))return o;let s=We();if(s!==void 0)return s},it=!1,Ys=o=>{it=!0;try{return o()}finally{it=!1}};var Ge=(o,t,e)=>{let s=Object.keys(o),n=s.length;k===void 0&&queueMicrotask(ct),k??=new Map;let r=k.get(o);return r===void 0&&(r={callbacks:[],keyCount:n},k.set(o,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(s)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let a=l=>u(t,null,l),c=i[n];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},k,ct=()=>{k?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),k=void 0},Je=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((n,r)=>u(t,void 0,e===r?n:void 0)),e},Qe=(o=[K(),...Be()],t,e)=>{let s=Array.isArray(o)?o:[o],n=s.length+1,r=i=>{n-=1,i!==void 0&&(n=Math.min(n,0)),n===0&&t(i)};s.forEach(i=>Ge(i,a=>r(a===void 0?void 0:{key:a,host:i,isReactive:!1}),e));for(let i of s)if("manager"in i&&i.manager.component===i){Je(i,a=>r(a===void 0?void 0:{key:a,host:i,isReactive:!0}),e);break}return e},Ye=(o="",t={},e=K())=>{let s={emit:n=>{o===""&&ct();let r=new CustomEvent(o,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(r),r}};return o===""&&Qe(void 0,n=>o=n.key,s),s},Ze=Ye.bind(null,""),te;te=at;var At=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#o=[],this.#n=[],this.#c=[],this.#l=[],this.#u=[],this.#h=[],this.#d=!1,this.P=new v,this.connectedCalled=!1,this.loadedCalled=!1,this[te]=!0,this.#a=[];let e=this,s=t??K(new.target.name);e.#r=s,e.ready=e.P.promise,e.#i=Xt(e),e.component=s,e.#r.addController(e),e.#r.manager===void 0||(qe(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#o;#n;#c;#l;#u;#h;#d;#r;catchUpLifecycle(){let{manager:t}=this.#r;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(console.error)}#i;get exports(){return this.#i}set exports(t){let e=this.#i;e!==t&&(this.#i=t,this.#a.forEach(u),this.connectedCalled&&this.O!==!1&&this.#r.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#i=e?Xt(t):t,this.#a.forEach(u)}#a;watchExports(t){let e=()=>t(this.#i);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return D(this.#r),Fe}get useRef(){return D(this.#r),Ke}get useRefSync(){return D(this.#r),_t}controllerRemoved(){this.#r.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#o.push(t)}onUpdate(t){this.#n.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#u.push(t),this.connectedCalled&&this.#r.el.isConnected&&this.#p(t)}triggerConnected(){let t=this;t.hostConnected&&u(t.hostConnected,t),t.#t.forEach(u),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&u(t.hostDisconnected,t),t.#e.forEach(u),t.#h.forEach(u),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await I(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(I)),this.P.resolve(this.#i)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&u(this.hostLoaded,this),this.#o.forEach(u),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&u(this.hostUpdate,this,t),this.#n.forEach(Zt,t)}triggerUpdated(t){this.hostUpdated&&u(this.hostUpdated,this,t),this.#c.forEach(Zt,t)}triggerDestroy(){this.hostDestroy&&u(this.hostDestroy,this),this.#l.forEach(u)}triggerLifecycle(){this.hostLifecycle&&this.#p(()=>this.hostLifecycle()),this.#u.forEach(this.#p,this)}#p(t){D(this.#r);let e=u(t);(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="function"?this.#h.push(n):typeof n=="object"&&typeof n.remove=="function"&&this.#h.push(n.remove)})}};function Zt(o){u(o,void 0,this)}var ee=At,Xt=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,n,r){if(!((n==="exports"||n==="_exports")&&n in s&&s[n]===e)&&(n in s||n in Promise.prototype||typeof n=="symbol"))return typeof s=="function"?s[n]:Reflect.get(s,n,r)}},e=new Proxy(o,t);return e};var se=";",lt=",",oe=":";var xt=o=>{let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(o),(e.I??e._postLoad).promise}return!1},Ot={};function St(){}var Xe=(o,t)=>function(s,n){if(!globalThis.customElements)return;let i=(n??s??{}).resourcesUrl;i&&o.setAssetPath(i);for(let[a,[c,l=""]]of Object.entries(t)){if(customElements.get(a))continue;let[p,h,m]=l.split(se),y=p?p?.split(lt).map(ts):void 0,A=y?.map(([L])=>L),N=class extends wt{static{this.observedAttributes=y?.map(([,L])=>L).filter(L=>L!=="")}static{this.C=A}static{this.E=h?h?.split(lt):void 0}static{this.D=m?.split(lt)}static{this.L=a}static{this.K=o}constructor(){!N.B&&(N.B=c(),N.F()),super()}};customElements.define(a,N)}},ht=Object.defineProperty,ts=o=>{let t=o.split(oe);return t.length===1?[t[0],J(t[0])]:t},es=globalThis.HTMLElement??St,wt=class extends es{constructor(){super(),this.#e={},this.#s=[],this.I=new v,this.H=new v,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(s=>{Object.hasOwn(t,s)&&(t.#e[s]=t[s],delete t[s])}),e.A?t.#o({a:e.A}):e.B.then(async s=>{await e.K.p,t.#o(await(s.default?.then(n=>typeof n=="function"?{a:n}:n)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])ht(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])ht(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])ht(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=xt(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#o(t){let e=this.constructor,s=e.L,n=this.#e,r=Object.values(t).find(h=>h.L===s),i=`${s}--lazy`,a=r;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);os(a),!e.A&&(e.A=r,customElements.define(i,r)),r.N=this;let l=document.createElement(i);r.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(n).forEach(ss,l);let p=this.isConnected;(p||this.G)&&(l.connectedCallback?.(),p||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function ss([o,t]){this[o]=t}var os=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(n,r){e.setAttribute.call(this.el,n,r)},t.removeAttribute=function(n){e.removeAttribute.call(this.el,n)},ht(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var g={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},P=o=>(...t)=>({_$litDirective$:o,values:t}),C=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var ie=P(class extends C{constructor(o){if(super(o),o.type!==g.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(t=>o[t]).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let n=!!t[s];n===this.st.has(s)||this.nt?.has(s)||(n?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var ae="important",rs=" !"+ae,ce=P(class extends C{constructor(o){if(super(o),o.type!==g.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let n=t[s];if(n!=null){this.ft.add(s);let r=typeof n=="string"&&n.endsWith(rs);s.includes("-")||r?e.setProperty(s,r?n.slice(0,-11):n,r?ae:""):e[s]=n}}return f}});var{I:is}=Jt;var he=o=>o.strings===void 0,le=()=>document.createComment(""),Jo=(o,t,e)=>{let s=o._$AA.parentNode,n=t===void 0?o._$AB:t._$AA;if(e===void 0){let r=s.insertBefore(le(),n),i=s.insertBefore(le(),n);e=new is(r,i,o,o.options)}else{let r=e._$AB.nextSibling,i=e._$AM,a=i!==o;if(a){let c;e._$AQ?.(o),e._$AM=o,e._$AP!==void 0&&(c=o._$AU)!==i._$AU&&e._$AP(c)}if(r!==n||a){let c=e._$AA;for(;c!==r;){let l=c.nextSibling;s.insertBefore(c,n),c=l}}}return e},Qo=(o,t,e=o)=>(o._$AI(t,e),o),as={},de=(o,t=as)=>o._$AH=t,Yo=o=>o._$AH,Zo=o=>{o._$AP?.(!1,!0);let t=o._$AA,e=o._$AB.nextSibling;for(;t!==e;){let s=t.nextSibling;t.remove(),t=s}};var cs=P(class extends C{constructor(o){if(super(o),o.type!==g.PROPERTY&&o.type!==g.ATTRIBUTE&&o.type!==g.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!he(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===g.PROPERTY){if(t===e[s])return f}else if(o.type===g.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===g.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return de(o),t}});var Pt=class extends ee{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=Nt in t&&typeof t.destroy=="function",b.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Nt} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),ct();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():u(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():u(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):u(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):u(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),D(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():u(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>void this.#e.destroy();this.#t=Ut(t,gs)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(n=>n(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},gs=1e3,Nt="autoDestroyDisabled",ue=class o extends b{constructor(){super(),this.M=[],this.manager=new Pt(this);let t=this,e=t.constructor,s=e.N,n=e.K.o,r=o.prototype.shouldUpdate;t.#o=s?.H??new v,t.I=s?.I??new v,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=St,t.shouldUpdate!==r&&(t.#e=t.shouldUpdate,t.shouldUpdate=r),n&&(t.#t=new Map,e.elementProperties.forEach((i,a)=>t.#t.set(a,n()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Ot;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,n=Array.isArray(e)?e[1]:void 0,r=n?.hasChanged??W,i={attribute:s&1&&typeof t=="string"?J(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...n,hasChanged(a,c){let l=r(a,c);return i.c=l,l}};super.createProperty(t,i)}static getPropertyDescriptor(t,e,s){let n=this.K,r=super.getPropertyDescriptor(t,e,s);return s.d=r,{...r,get(){return n.t?.(this.#t.get(t)),r.get?.call(this)},set(i){let a=this.manager;if(s.readOnly&&!it&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${i}"`);r.set.call(this,i??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&a?.S(t,i)}}}static{this.lumina=!0}#t;#e;#s;#o;#n;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.manager.A?.(()=>this.requestUpdate());this.#n=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#o.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#n.clear(),this.manager.B(this.#n,()=>super.update(t))}catch(e){throw this.#n.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#n?.destroy(),this.#n=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,r=t??(s===Ot?this.el:this.el.attachShadow(s));if(t)return b.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return r}async#l(){let t=this.el.G??xt(this.el);t&&await t;let e=[];for(let n of this.M)"triggerLoad"in n?e.push(n.triggerLoad()):e.push(I(n.hostLoad,n));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(n=>n.has(Nt)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let s=this.J.filter(n=>!n.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async n=>await n.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let n of this.M)"triggerLoaded"in n?n.triggerLoaded():u(n.hostLoaded,n);this.loaded?.(),this.#o.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#n?this.#c(t):super.update(t)}listen(t,e,s){let n=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,n,s),()=>this.el.removeEventListener(t,n,s)))}listenOn(t,e,s,n){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)))}async componentOnReady(){return await this.#o.promise,this}addController(t){this.M.push(t),!(at in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}},pe=o=>{let t,e=n=>{t=new URL(n,globalThis.location?.href||void 0).href},s={...o,getAssetPath(n){let r=new URL(n,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:e,customElement(n,r){r.K=s,r.L=n,customElements.get(n)||customElements.define(n,r)}};return e(o.defaultAssetPath),s};var _n=o=>typeof o=="object"&&o!=null?ie(o):o,wn=o=>typeof o=="object"&&o!=null?ce(o):o;var xn=d;var Lt=pe({defaultAssetPath:"https://jsdev.arcgis.com/next/map-components/",hydratedAttribute:"hydrated"}),{customElement:Nn,getAssetPath:Ln,setAssetPath:Rn}=Lt;Lt.t=void 0;Lt.o=void 0;export{Es as a,me as b,ve as c,$s as d,Cs as e,_e as f,As as g,_s as h,Pe as i,Os as j,Ss as k,Ts as l,f as m,d as n,$t as o,Gs as p,Js as q,D as r,K as s,qe as t,Be as u,Qs as v,Ys as w,Je as x,Qe as y,Ye as z,Ze as A,At as B,ee as C,Ot as D,Xe as E,g as F,P as G,C as H,he as I,Jo as J,Qo as K,de as L,Yo as M,Zo as N,ue as O,_n as P,wn as Q,xn as R,Lt as S,Nn as T,Ln as U};
|
package/dist/cdn/5OJGMLTM.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.136 */
|
|
4
|
-
import{a as E}from"./WIWG2LGN.js";import{C as v,s as u,x as f,y as m,z as y}from"./4OH6ZQSR.js";export default $arcgis.t(([{watch:x,on:w},{createObservable:C,createTrackingTarget:g,runTracked:b,trackAccess:k}])=>{var F=(r,e)=>n=>P(n,r),d=class extends v{constructor(e,n){super(e),this.Y=new Map,this.#o=C();let t=this;t.#e=n,t.Z(),e.manager.A=g,e.manager.B=b,t.setProvisionalExports($(e,new WeakRef(t),e.M.length-1,t.instance,t.Y),!1),f(e,s=>{if(s){let i=x(()=>e[s],o=>{if(o===t.instance)return;let c=t.instance;t.exports=o,t.instance=o,t.Y.forEach((l,a)=>e.requestUpdate(l,c[a])),t.#t&&c.destroy(),t.#t=!1},{sync:!0});t.onDestroy(i.remove)}},t.exports)}#t;#o;#e;get exports(){return k(this.#o),super.exports}set exports(e){super.exports=e,this.#o.notify()}Z(){let e=this;e.instance="prototype"in e.#e&&"declaredClass"in e.#e.prototype?new e.#e:e.#e(),e.#t=!0}hostConnected(){this.exports=this.instance}hostDestroy(){this.#t&&this.instance.destroy?.()}},P=E(d),$=(r,e,n,t,s)=>new Proxy(t,{get:(i,o)=>{let c=i[o];return typeof o=="symbol"||s.has(o)?c:m(r,l=>{if(l!==void 0){let a=l.key;s.set(o,a);let p=r.constructor.getPropertyOptions(a),h=o!==a&&a.toLowerCase().includes("disable");N(e,p,o,a,h),p.i===void 0&&A(p,n,o,h)}},c)},set(i,o,c){return(s.has(o)||c!==(t[o]??void 0))&&(t[o]=c),!0}}),N=(r,e,n,t,s,i)=>i=x(()=>{let o=r.deref();return o===void 0||o.component.manager.destroyed?i=i.remove():o.exports[n]},(o,c)=>{if(!i)return;r.deref().component?.requestUpdate(t,s?!c:c),e.c=!1},{sync:!0}),A=(r,e,n,t)=>{r.d.get=function(){let s=this.M[e]?.exports[n];return t?!s:s},r.d.set=function(s){this.M[e].exports[n]=t?!s:s}},R=r=>r.Y,Y=(r,e)=>{let n=e.manager.useRefSync(r);n?.hostDestroy(),n?.Z(),n?.hostConnected()},S=(r,e)=>{let t=u().manager;t.onLoaded(()=>t.onLifecycle(()=>w(r,e,s.emit)));let s=y();return s};return{a:F,b:d,c:$,d:R,e:Y,f:S}},"core/reactiveUtils","applications/Components/reactiveUtils")
|
package/dist/cdn/EQLVXNT2.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.136 */
|
|
4
|
-
import e from"./Y4BGHULQ.js";import d from"./YW35NM5X.js";import"./MUQ32RUE.js";import c from"./AH2ZG75G.js";import{a as $}from"./OQPILQIR.js";import{a as p}from"./47MNULJ4.js";import b from"./5OJGMLTM.js";import a from"./2BWNKFZW.js";import{e as _}from"./VKJE37GQ.js";import"./WIWG2LGN.js";import"./RP2AVIBP.js";import{A as m,D as f,O as v,P as t,T as w,i as y,j as l}from"./4OH6ZQSR.js";export default $arcgis.t(([A,{property:O,subclass:C},,,b,,x])=>{var k=y`@layer{arcgis-line-of-sight{display:block}.arcgis-line-of-sight__container{display:flex;position:relative;flex-flow:column;gap:var(--calcite-spacing-md);padding:var(--esri-widget-padding);overflow-y:auto}.arcgis-line-of-sight__error{color:var(--calcite-color-status-danger)}.arcgis-line-of-sight__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-line-of-sight__error,.arcgis-line-of-sight__hint{overflow:hidden;animation:arcgis-line-of-sight-fade-in .25s ease-in-out;p{margin:0;padding:0}}.arcgis-line-of-sight__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}@keyframes arcgis-line-of-sight-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}}`,r="arcgis-line-of-sight",n={base:r,actions:`${r}__actions`,container:`${r}__container`,error:`${r}__error`,hint:`${r}__hint`,hintText:`${r}__hint-text`,newAnalysisButton:`${r}__new-analysis-button`},D=Object.defineProperty,S=Object.getOwnPropertyDescriptor,M=(e,s,a,o)=>{for(var i=o>1?void 0:o?S(s,a):s,d=e.length-1,h;d>=0;d--)(h=e[d])&&(i=(o?h(s,a,i):h(i))||i);return o&&i&&D(s,a,i),i},c=class extends x{constructor(e){super(e),this.supportedViewType="3d",this.unsupportedErrorMessage="LineOfSightViewModel is only supported in 3D views."}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="active"?"creating":this.analysis.valid?"created":"ready"}constructAnalysis(){return new A}clearAnalysis(){this.analysis.observer=null,this.analysis.targets.removeAll()}async place(e){return await this.analysisView?.place(e)}};M([O({readOnly:!0})],c.prototype,"state",1);c=M([C("esri.components.LineOfSight.LineOfSightViewModel")],c);var N=b(c),u=class extends v{constructor(){super(...arguments),this.viewModel=N(this),this._messages=$(),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.icon="line-of-sight",this.position="bottom-left",this.arcgisPropertyChange=_()("analysis","state"),this.arcgisReady=m()}static{this.properties={analysis:32,autoDestroyDisabled:5,icon:3,label:1,messageOverrides:0,position:1,referenceElement:1,state:32,supported:32}}static{this.shadowRootOptions=f}static{this.styles=k}get analysis(){return this.viewModel.analysis}get state(){return this.viewModel.state}get supported(){return this.view==null||this.view.type==="3d"}async clear(){this.viewModel.clear()}async continue(){this.viewModel.start()}async destroy(){await this.manager.destroy()}async start(){this.viewModel.startNewAnalysis()}async stop(){this.viewModel.stop()}render(){return l`<div class=${t({[n.base]:!0,[p.widget]:!0,[p.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){if(!this.supported)return l`<div class=${t(n.error)}><p>${this._messages.unsupported}</p></div>`;let s=this.viewModel.state,a=s==="creating";return l`<div class=${t(n.container)}>${a?l`<div class=${t(n.hint)}><p class=${t(n.hintText)}>${this._messages.hint}</p></div>`:null}<div class=${t(n.actions)}>${s==="creating"?g({onClick:()=>{this.stop()},children:this._messages.done}):null}${s==="created"?g({onClick:()=>{this.continue()},children:this._messages.continueAnalysis}):null}${g({className:n.newAnalysisButton,onClick:()=>{this.start()},primary:!0,disabled:s==="disabled",children:this._messages.newAnalysis})}</div></div>`}};function g({className:e,onClick:s,primary:a,disabled:o,children:i}){return l`<calcite-button .appearance=${a?"solid":"outline-fill"} class=${t(e)} .disabled=${o} @click=${s}>${i}</calcite-button>`}w("arcgis-line-of-sight",u);return u},"analysis/LineOfSightAnalysis","core/accessorSupport/decorators",a,b,c,d,e)
|
package/dist/cdn/ESYIRKJZ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.136 */
|
|
4
|
-
import g from"./AH2ZG75G.js";import{a as p}from"./OQPILQIR.js";import{a as e}from"./47MNULJ4.js";import f from"./5OJGMLTM.js";import b from"./2BWNKFZW.js";import{e as m}from"./VKJE37GQ.js";import"./WIWG2LGN.js";import"./RP2AVIBP.js";import{A as l,D as n,O as h,P as a,T as d,a as c,i as s,j as o}from"./4OH6ZQSR.js";export default $arcgis.t(([b,,{f:g},u])=>{var v=s`@layer{arcgis-link-chart-layout-switcher{display:block}}`,k={basicLayoutCategory:["basic-grid"],organicLayoutCategory:["organic-standard","organic-community","geographic-organic-standard"],treeLayoutCategory:["tree-left-to-right","radial-root-centric"],hierarchicalLayoutCategory:["hierarchical-bottom-to-top"],chronologicalLayoutCategory:["chronological-mono-timeline","chronological-multi-timeline"]},L={"organic-standard":"force-directed-link-chart-layout","organic-community":"community-link-chart-layout","basic-grid":"simple-link-chart-layout","hierarchical-bottom-to-top":"hierarchical-link-chart-layout","radial-root-centric":"radial-tree-link-chart-layout","tree-left-to-right":"smart-tree-link-chart-layout","geographic-organic-standard":"geographic-link-chart-layout","chronological-mono-timeline":"clock-forward","chronological-multi-timeline":"clock-forward"},$={"organic-standard":"forceDirected","organic-community":"community","basic-grid":"simple","hierarchical-bottom-to-top":"hierarchical","radial-root-centric":"radialTree","tree-left-to-right":"smartTree","geographic-organic-standard":"geographic","chronological-mono-timeline":"chronologicalSingle","chronological-multi-timeline":"chronologicalMultiple"},C={base:"esri-link-chart-layout-switcher"},M=u(b),r=class extends h{constructor(){super(...arguments),this.messages=p(),this.viewModel=M(this),this.autoDestroyDisabled=!1,this.icon="nodes-link",this.layout=this.viewModel.layout,this.position="top-left",this.preventExtentUpdate=this.viewModel.preventExtentUpdate,this.state=this.viewModel.state,this.arcgisSwitchLayout=g(()=>this.viewModel,"switchLayout"),this.arcgisPropertyChange=m()("state"),this.arcgisReady=l()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,layout:32,messageOverrides:0,position:3,preventExtentUpdate:5,referenceElement:1,state:3}}static{this.shadowRootOptions=n}static{this.styles=v}async destroy(){await this.manager.destroy()}async switchLayout(t){this.viewModel.switchLayout(t)}render(){let{messages:t,icon:y}=this;return o`<div class=${a(c(C.base,e.widget))}><calcite-dropdown scale=s width=m max-items=9><calcite-button class=${a(e.widgetButton)} slot=trigger kind=neutral .disabled=${this.viewModel.state==="disabled"} .iconStart=${y??void 0} .label=${t.layoutOptions??"Layout"}></calcite-button>${Object.entries(k).map(([w,f])=>o`<calcite-dropdown-group selection-mode=single .groupTitle=${this.messages[w]}>${f.map(i=>o`<calcite-dropdown-item .iconStart=${L[i]} .selected=${i===this.layout?!0:void 0} @click=${()=>void this.switchLayout(i)}>${t[$[i]]}</calcite-dropdown-item>`)}</calcite-dropdown-group>`)}</calcite-dropdown></div>`}};d("arcgis-link-chart-layout-switcher",r);return r},"widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel",b,f,g)
|
package/dist/cdn/HAKRJX2P.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.136 */
|
|
4
|
-
import d from"./CHXEQ2UW.js";import c from"./5OJGMLTM.js";import b from"./2BWNKFZW.js";import{e as r}from"./VKJE37GQ.js";import"./WIWG2LGN.js";import"./RP2AVIBP.js";import{A as i,D as e,O as a,T as o,i as s}from"./4OH6ZQSR.js";export default $arcgis.t(([h,,,n])=>{var l=s`@layer{arcgis-directline-measurement-3d{display:block}}`,c=n(h),t=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=r()("analysis","state"),this.arcgisReady=i()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=e}static{this.styles=l}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};o("arcgis-directline-measurement-3d",t);return t},"widgets/DirectLineMeasurement3D",b,c,d)
|
package/dist/cdn/IBQZQ7NO.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.136 */
|
|
4
|
-
import{a as g}from"./MUQ32RUE.js";import{b as d}from"./LEOKJPJQ.js";import e from"./AH2ZG75G.js";import{a as b}from"./OQPILQIR.js";import{a as x}from"./47MNULJ4.js";import c from"./5OJGMLTM.js";import a from"./2BWNKFZW.js";import{e as C}from"./VKJE37GQ.js";import"./WIWG2LGN.js";import"./RP2AVIBP.js";import{A as w,D as S,O as M,P as l,R as f,T as $,a as m,i as _,j as r,o as v}from"./4OH6ZQSR.js";export default $arcgis.t(([E,{isAbortError:A},{substitute:T},{watch:I},,{f:a},R])=>{var h="arcgis-search",u={base:h,autocomplete:`${h}__autocomplete`,dropdown:`${h}__dropdown`,container:`${h}__container`,form:`${h}__form`},N=_`@layer{arcgis-search{display:block}.arcgis-search{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:var(--arcgis-internal-search-width)}.arcgis-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.arcgis-search__autocomplete{flex:1}.arcgis-search__container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.arcgis-search__form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}}`,D=R(E),p=class extends M{constructor(){super(...arguments),this.viewModel=D(this),this._currentLocationValue="search-use-current-location",this._searchResultRendererContainerEl=document.createElement("div"),this._suggestController=null,this._searchController=null,this._lastSearchTerm="",this.messages=b({}),this._setSearchResultRendererRef=e=>{this._searchResultRendererEl=e},this._locateFailed=!1,this._showNoResults=!1,this.position="top-left",this.goToOverride=this.viewModel.goToOverride,this.icon="search",this.activeMenu="none",this.activeSourceIndex=this.viewModel.activeSourceIndex,this.allPlaceholder=this.viewModel.allPlaceholder,this.allSources=this.viewModel.allSources,this.autoNavigate=this.viewModel.autoNavigate,this.autoSelect=this.viewModel.autoSelect,this.defaultSources=this.viewModel.defaultSources,this.disabled=!1,this.includeDefaultSources=this.viewModel.includeDefaultSources,this.locationEnabled=this.viewModel.locationEnabled,this.maxResults=this.viewModel.maxResults,this.maxSuggestions=this.viewModel.maxSuggestions,this.minSuggestCharacters=this.viewModel.minSuggestCharacters,this.popupEnabled=this.viewModel.popupEnabled,this.popupTemplate=this.viewModel.popupTemplate,this.portal=this.viewModel.portal,this.resultGraphic=this.viewModel.resultGraphic,this.resultGraphicEnabled=this.viewModel.resultGraphicEnabled,this.results=this.viewModel.results,this.searchAllEnabled=this.viewModel.searchAllEnabled,this.searchTerm=this.viewModel.searchTerm,this.selectedResult=this.viewModel.selectedResult,this.sources=this.viewModel.sources,this.suggestions=this.viewModel.suggestions,this.suggestionsEnabled=this.viewModel.suggestionsEnabled,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=C()("state"),this.arcgisReady=w(),this.arcgisSearchClear=a(()=>this.viewModel,"search-clear"),this.arcgisSearchComplete=a(()=>this.viewModel,"search-complete"),this.arcgisSearchStart=a(()=>this.viewModel,"search-start"),this.arcgisSelectResult=a(()=>this.viewModel,"select-result"),this.arcgisSuggestComplete=a(()=>this.viewModel,"suggest-complete"),this.arcgisSuggestStart=a(()=>this.viewModel,"suggest-start"),this._renderSearchResultsContent=()=>this._searchResultRendererEl}static{this.properties={_locateFailed:16,_showNoResults:16,_isDisabled:16,_showCurrentLocation:16,_effectiveActiveMenu:16,referenceElement:1,position:3,goToOverride:0,icon:1,activeMenu:1,activeSource:32,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoNavigate:5,autoSelect:5,defaultSources:0,disabled:5,includeDefaultSources:5,locationEnabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupEnabled:5,popupTemplate:0,portal:0,resultGraphic:0,resultGraphicEnabled:5,results:0,searchAllEnabled:5,searchTerm:1,selectedResult:0,sources:0,suggestions:0,suggestionsEnabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:3}}static{this.styles=N}static{this.shadowRootOptions=S}get _isDisabled(){let{state:e}=this.viewModel;return e==="disabled"||e==="loading"||this.disabled}get _showCurrentLocation(){return this.locationEnabled&&!this.searchTerm?.trim()}get _effectiveActiveMenu(){return this._isDisabled?"none":this.activeMenu}get activeSource(){return this.viewModel?.activeSource}async destroy(){await this.manager.destroy(),await this._searchResultRendererEl?.destroy(),this._cancelQueries()}async setFocus(){await this._autocompleteEl?.setFocus()}loaded(){this._addSearchResultRenderer(),this.manager.onLifecycle(()=>I(()=>this.viewModel?.defaultPopupTemplate,e=>{e&&(e.content=this._renderSearchResultsContent)},{initial:!0}))}clear(){this._locateFailed=!1,this.viewModel.clear()}async search(e){this._cancelQueries();let t=new AbortController,{signal:s}=t;this._searchController=t;try{let i=await this.viewModel.search(e,{signal:s});return this._searchController!==t?void 0:(i?.numResults||(this._showNoResults=!0,this.activeMenu="suggestion"),this._searchController=null,i)}catch{if(this._searchController!==t)return;this._searchController=null;return}}async suggest(e){this._cancelSuggest();let t=new AbortController,{signal:s}=t;this._suggestController=t;try{let i=await this.viewModel.suggest(e,null,{signal:s});return this._suggestController!==t?void 0:(this._suggestController=null,i?.numResults&&(this.activeMenu="suggestion",this._scrollToTopSuggestion()),i)}catch{return this._suggestController!==t||(this._suggestController=null),null}}_addSearchResultRenderer(){v(r`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel} ${d(this._setSearchResultRendererRef)}></arcgis-search-result-renderer>`,this._searchResultRendererContainerEl)}_handleInputKeydown(e){e.key==="Tab"&&this._cancelSuggest()}_handleAutocompleteCreate(e){this._autocompleteEl=e}_handleCalciteAutocompleteTextInput(e){let t=e.target.inputValue;t!==this.viewModel.searchTerm&&(this.viewModel.searchTerm=t,t||this.clear(),this.suggest())}_handleAutocompleteOpen(){this.activeMenu="suggestion"}_handleAutocompleteClose(){this.activeMenu==="suggestion"&&(this.activeMenu="none")}_handleCalciteAutocompleteChange(e){let t=e.target.value;if(t===this._currentLocationValue){this._useCurrentLocation();return}let s=JSON.parse(t),i=this.viewModel.suggestions?.find(({sourceIndex:o})=>o===s.sourceIndex)?.results?.find(({key:o})=>`${o}`==`${s.key}`);i&&this.search(i)}async _useCurrentLocation(){this._cancelQueries();let e=new AbortController,{signal:t}=e;this._searchController=e;try{await this.viewModel.searchNearby({signal:t})}catch(s){A(s)||(this._locateFailed=!0,this.activeMenu="suggestion")}finally{this._searchController=null}}_handleSourceOpen(){this.activeMenu="source"}_handleSourceClose(){this.activeMenu==="source"&&(this.activeMenu="none")}_handleSourceSelect(e){let t=e.target.selectedItems[0].getAttribute("data-source-index");t&&(this.viewModel.activeSourceIndex=Number.parseInt(t,10))}_cancelSuggest(){this.activeMenu="none",this._locateFailed=!1,this._showNoResults=!1,this._suggestController=g(this._suggestController)}_cancelQueries(){this._cancelSuggest(),this._searchController=g(this._searchController)}_scrollToTopSuggestion(){this._autocompleteEl?.scrollContentTo({top:0})}_formSubmit(e){e.preventDefault(),this.activeMenu="none",this._lastSearchTerm=this.searchTerm,this.searchTerm&&this.search()}_getSourceName(e){let{messages:t}=this,{allSources:s}=this.viewModel,i=s.at(e);return(e===-1?t.all:i?.name||t.untitledSource)||""}render(){return r`<div class=${l(m(u.base,x.widget))}><div class=${l(u.container)}>${this._renderSourcesMenu()}${this._renderForm()}</div></div>`}_renderSourcesMenu(){let{messages:e,_isDisabled:t,_effectiveActiveMenu:s}=this,{allSources:i,searchAllEnabled:o}=this.viewModel;return i.length>1?r`<calcite-dropdown class=${l(u.dropdown)} .disabled=${t} .open=${s==="source"} overlay-positioning=fixed @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${o?this._renderSource(-1):null}${i.map((n,c)=>this._renderSource(c)).toArray()}</calcite-dropdown-group></calcite-dropdown>`:null}_renderUseCurrentLocation(){let{_currentLocationValue:e}=this;return r`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation??""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`}_renderAutocomplete(){let{_effectiveActiveMenu:e,messages:t,_isDisabled:s}=this,{maxInputLength:i,placeholder:o,searchTerm:n,state:c}=this.viewModel,y=this.label??t.searchButtonTitle??"";return r`<calcite-autocomplete .autocomplete=${"off"} class=${l(u.autocomplete)} .disabled=${s} .icon=${this.icon} .inputValue=${n} .label=${y} .loading=${c==="searching"} .maxLength=${i} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e==="suggestion"} overlay-positioning=fixed .placeholder=${o} title=${(n?"":o)??f} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${d(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`}_renderForm(){return r`<form class=${l(u.form)} @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}</form>`}_renderSuggestGroup(e){return e.results?.map(t=>this._renderSuggestion(t))}_renderSuggestions(){let{suggestions:e}=this.viewModel;return this._showNoResults?null:this._showCurrentLocation?this._renderUseCurrentLocation():e?.map(t=>this._renderSuggestResults(t))}_renderSuggestResults(e){let{allSources:t,activeSourceIndex:s}=this.viewModel,{sourceIndex:i}=e,o=e.results?.length,n=t.length>1&&s===-1,c=this._getSourceName(i);return o&&n?r`<calcite-autocomplete-item-group .heading=${c}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>`:this._renderSuggestGroup(e)}_renderSuggestion({key:e,sourceIndex:t,text:s}){let i={key:e,sourceIndex:t};return r`<calcite-autocomplete-item .heading=${s??this.messages.untitledResult??""} .value=${JSON.stringify(i)}></calcite-autocomplete-item>`}_renderSource(e){let t=this._getSourceName(e);return r`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e===this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`}_renderNoResultsWarning(e){let{messages:t}=this,s=e?T(t.noResultsFoundForValue??"",{value:`"${e}"`}):t.noResultsFound;return r`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${s}</div></calcite-notice>`}_renderLocateError(){return r`<calcite-notice icon=exclamation-mark-circle kind=danger open slot=content-bottom><div slot=message>${this.messages.locateError}</div></calcite-notice>`}_renderNotices(){return this._locateFailed?this._renderLocateError():this._showNoResults?this._renderNoResultsWarning(this._lastSearchTerm??this.viewModel.searchTerm):null}};$("arcgis-search",p);return p},"widgets/Search/SearchViewModel","core/promiseUtils","intl","core/reactiveUtils",a,c,e)
|
package/dist/cdn/KI5QKUMW.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.136 */
|
|
4
|
-
import{a as o,b as l}from"./YZGU7UEH.js";import{a as m}from"./47MNULJ4.js";import{P as i,a as e}from"./4OH6ZQSR.js";function d({level:a,class:r,children:s}){let t=h(a),c=`h${t}`,n=o(c);return l`<${n} .ariaLevel=${String(t)} class=${i(e(m.heading,r))} role=heading>${s}</${n}>`}function f(a,r,s){return Math.min(Math.max(a,r),s)}function h(a){return f(Math.ceil(a),1,6)}export{d as a};
|
package/dist/cdn/MCMV52SD.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.136 */
|
|
4
|
-
import{b as C}from"./LEOKJPJQ.js";import i from"./AH2ZG75G.js";import{a as w}from"./OQPILQIR.js";import{a as d}from"./47MNULJ4.js";import h from"./5OJGMLTM.js";import e from"./2BWNKFZW.js";import{e as $}from"./VKJE37GQ.js";import"./WIWG2LGN.js";import{i as f}from"./RP2AVIBP.js";import{A as m,D as g,O as b,P as a,Q as v,R as c,T as _,d as u,i as p,j as o}from"./4OH6ZQSR.js";export default $arcgis.t(([{watch:y},M,,,R])=>{var x=[-45,0,45,-90,90,-135,180,135],S={0:{label:"north",iconName:"chevron-up"},45:{label:"northEast",iconName:"chevron-up-right"},90:{label:"east",iconName:"chevron-right"},135:{label:"southEast",iconName:"chevron-down-right"},180:{label:"south",iconName:"chevron-down"},"-135":{label:"southWest",iconName:"chevron-down-left"},"-90":{label:"west",iconName:"chevron-left"},"-45":{label:"northWest",iconName:"chevron-up-left"}},n="arcgis-directional-pad",s={base:n,buttonsContainer:`${n}__buttons-container`,button:`${n}__button`,compassButton:`${n}__compass`,rotationContainer:`${n}__rotation-container`,rotationSliderContainer:`${n}__rotation-slider-container`,rotationReset:`${n}__rotation-reset-button`,error:`${n}__error`},B=p`@layer{.arcgis-directional-pad{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);outline:none;box-shadow:none!important;background:transparent;user-select:none;calcite-action-pad{display:contents}calcite-action-group{touch-action:none}calcite-action{aspect-ratio:1}}.arcgis-directional-pad__buttons-container{--calcite-color-background: transparent;--calcite-action-group-gap: 0;--calcite-action-group-padding: 0;calcite-action{--calcite-color-focus: var(--calcite-color-foreground-3)}calcite-action:not([active]){--calcite-action-background-color-press: var(--calcite-color-foreground-1)}calcite-action[active]{--calcite-action-background-color: var(--calcite-color-foreground-3)}calcite-icon{transform:var(--rotation, unset)}@media (hover: none){calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-3)}}}.arcgis-directional-pad__rotation-container{display:block;width:100%;calcite-action{flex:.3}}.arcgis-directional-pad__rotation-slider-container{display:flex;flex:1;align-items:center;calcite-slider{flex:1;padding-inline:var(--calcite-spacing-xxs)}}}`;function E(r){let{x:t,y:e,width:i,height:l}=r.getBoundingClientRect();return{x:t+i/2,y:e+l/2}}function D(r){return r?.spatialReference?.isWebMercator||r?.spatialReference?.isGeographic||!1}var k=R(M),h=class extends b{constructor(){super(...arguments),this.messages=w({}),this._onContextMenu=t=>t.preventDefault(),this._buttons={},this.viewModel=k(this),this.angle=this.viewModel.angle,this.rotation=this.viewModel.rotation,this.autoDestroyDisabled=!1,this.disabled=this.viewModel.disabled,this.hideDirectionalButtons=!1,this.icon="move",this.position="bottom-left",this.showRotationResetButton=!1,this.showRotationSlider=!1,this.state=this.viewModel.state,this.visualScale="s",this.arcgisPropertyChange=$()("state"),this.arcgisReady=m()}static{this.properties={_rotationEnabled:16,angle:16,rotation:16,autoDestroyDisabled:5,disabled:5,hideDirectionalButtons:5,icon:1,label:1,messageOverrides:0,position:3,referenceElement:1,showRotationResetButton:5,showRotationSlider:5,state:3,visualScale:1}}static{this.shadowRootOptions=g}static{this.styles=B}get _rotationEnabled(){return this.view?.ready?this.view.constraints.rotationEnabled??!1:!0}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[y(()=>this.viewModel.angle,()=>{this._buttonsContainer?.contains(document.activeElement)&&(this.viewModel.angle==null?f(this)?.focus():u(this._buttons[this.viewModel.angle]))})])}_rotateIcon(t){return{"--rotation":`rotate(${t}deg)`}}_setButtonContainerRef(t){t!==void 0?(this._buttonsContainer=t,queueMicrotask(()=>{this._buttons=Object.fromEntries(Array.from(t.children,e=>[Number.parseInt(e.getAttribute("data-angle")??""),e]))})):(this._buttonsContainer=void 0,this._buttons={})}_onButtonPointerDown(t){if(this._buttonsContainer===void 0)return;t.composedPath().find(i=>i.hasPointerCapture?.(t.pointerId))?.releasePointerCapture(t.pointerId);let e=E(this._buttonsContainer);this.viewModel.beginFollowingPointer(t,e)}_onSliderInput({currentTarget:t}){typeof t.value=="number"&&(this.viewModel.rotation=t.value)}_onRotationReset(){this.viewModel.rotation=0}_onClick(t){this.viewModel.moveOnce(t)}render(){let{label:t,disabled:e}=this,i=this.view==null||this.view.type==="2d";return o`<div .ariaLabel=${t??void 0} class=${a({[s.base]:!0,[d.widget]:!0,[d.disabled]:e})} tabindex=-1>${i?this._renderContent():this._renderUnsupportedMessage()}</div>`}_renderUnsupportedMessage(){return o`<section class=${a(s.error)}><p>${this.messages.unsupported}</p></section>`}_renderContent(){return[this.hideDirectionalButtons?void 0:this._renderDirectionalButtons(),this.showRotationSlider?this._renderRotation():void 0]}_renderDirectionalButtons(){return o`<calcite-action-pad expand-disabled layout=grid><calcite-action-group class=${a(s.buttonsContainer)} dir=ltr @contextmenu=${{handleEvent:this._onContextMenu,capture:!0}} ${C(this._setButtonContainerRef)}>${x.slice(0,4).map(this._renderButton,this)}${this._renderCompass()}${x.slice(4).map(this._renderButton,this)}</calcite-action-group></calcite-action-pad>`}_renderButton(t){let{label:e,iconName:i}=S[t],l=this.messages[e];return o`<calcite-action .active=${this.angle===t} alignment=center class=${a(s.button)} data-angle=${t??c} .disabled=${this.disabled} @click=${this._onClick.bind(this,t)} @pointerdown=${this._onButtonPointerDown} .scale=${this.visualScale} .text=${l??""} title=${l??c}><calcite-icon .icon=${i} .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderCompass(){let t=this.disabled||D(this.view)?"compass-needle":"arrow-up",e=this.rotation===0,i=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.compassButton)} .disabled=${this.disabled||!this._rotationEnabled||e} @click=${this._onRotationReset} .scale=${this.visualScale} style=${v(this._rotateIcon(this.rotation))} .text=${i??""} title=${i??c}>${!e&&o`<calcite-icon .icon=${t} .scale=${this.visualScale}></calcite-icon>`||""}</calcite-action>`}_renderRotation(){return o`<calcite-action-pad expand-disabled layout=horizontal><calcite-action-group class=${a(s.rotationContainer)}>${this.showRotationResetButton?this._renderRotationResetButton():null}${this._renderRotationSlider()}</calcite-action-group></calcite-action-pad>`}_renderRotationResetButton(){let t=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.rotationReset)} .disabled=${this.disabled||!this._rotationEnabled} @click=${this._onRotationReset} .scale=${this.visualScale} .text=${t??""} title=${t??c}><calcite-icon flip-rtl icon=rotate .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderRotationSlider(){return o`<div class=${a(s.rotationSliderContainer)}><calcite-slider .ariaLabel=${this.messages.heading} .disabled=${this.disabled||!this._rotationEnabled} label-handles max=360 min=0 required .scale=${this.visualScale} .value=${Math.round(this.rotation)} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div>`}};_("arcgis-directional-pad",h);return h},"core/reactiveUtils","widgets/DirectionalPad/DirectionalPadViewModel",e,h,i)
|
package/dist/cdn/Q3IHR5JP.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.136 */
|
|
4
|
-
import d from"./CHXEQ2UW.js";import c from"./5OJGMLTM.js";import b from"./2BWNKFZW.js";import{e as r}from"./VKJE37GQ.js";import"./WIWG2LGN.js";import"./RP2AVIBP.js";import{A as i,D as e,O as a,T as o,i as s}from"./4OH6ZQSR.js";export default $arcgis.t(([h,,,n])=>{var l=s`@layer{arcgis-area-measurement-3d{display:block}}`,c=n(h),t=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=r()("analysis","state"),this.arcgisReady=i()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=e}static{this.styles=l}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};o("arcgis-area-measurement-3d",t);return t},"widgets/AreaMeasurement3D",b,c,d)
|
package/dist/cdn/SEORCENQ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.136 */
|
|
4
|
-
import e from"./AH2ZG75G.js";import{a as S}from"./OQPILQIR.js";import{a as p}from"./47MNULJ4.js";import c from"./5OJGMLTM.js";import b from"./2BWNKFZW.js";import{e as x}from"./VKJE37GQ.js";import"./WIWG2LGN.js";import"./RP2AVIBP.js";import{A as _,D as f,O as w,P as a,Q as d,R as o,T as B,a as m,i as y,j as l}from"./4OH6ZQSR.js";export default $arcgis.t(([{getBasemapThumbnailUrl:C},L,,,M])=>{var R=y`@layer{arcgis-basemap-toggle{display:block}}`,s="esri-basemap-toggle",r="esri-basemap-thumbnail",e={base:s,secondaryBasemapImage:`${s}__image--secondary`,container:`${r} ${s}__container`,image:`${r}__image ${s}__image`,imageLoading:`${s}__image--loading`,overlay:`${r}__overlay ${s}__image-overlay`,title:`${r}__title ${s}__title`,overlayScrim:`${r}__overlay-scrim`},A=M(L),g=class extends w{constructor(){super(...arguments),this.messages=S(),this.viewModel=A(this),this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.icon="layer-basemap",this.nextBasemap=this.viewModel.nextBasemap,this.position="top-left",this.showTitle=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=x()("nextBasemap","state"),this.arcgisReady=_()}static{this.properties={activeBasemap:0,autoDestroyDisabled:5,icon:1,label:1,messageOverrides:0,nextBasemap:1,position:3,referenceElement:1,showTitle:5,state:3}}static{this.shadowRootOptions=f}static{this.styles=R}async destroy(){await this.manager.destroy()}async toggle(){return await this.viewModel.toggle()}_getThumbnailStyles(t){let n=C(t);return n?{backgroundImage:`url(${n})`}:{backgroundImage:""}}render(){let t=this.viewModel,n=t.state==="disabled"?null:t.activeBasemap,i=t.state==="disabled"?null:t.nextBasemap,T=t.state==="loading",h=t.state==="incompatible-next-basemap",c=i?.title??"",$=i&&i.loadStatus!=="loaded",v,b=this.showTitle&&c,u=h,k=b||u,D=this._getThumbnailStyles(n),I=this._getThumbnailStyles(i);return k&&(v=l`<div class=${a(e.overlay)}>${b?l`<span class=${a(e.title)} title=${c??o}>${c}</span>`:null}${u?l`<calcite-scrim class=${a(e.overlayScrim)} title=${this.messages.incompatibleSpatialReference??o}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>`:null}</div>`),l`<div class=${a(m(e.base,p.widget))}><calcite-button appearance=transparent data-basemap-id=${(i?i.id:"")??o} .disabled=${h} kind=neutral .label=${this.label??void 0} @click=${()=>void this.toggle()} title=${this.label??void 0??o}><div class=${a(m(e.container,e.secondaryBasemapImage))}><div class=${a(e.image)} style=${d(D)}></div></div><div class=${a(e.container)}><div class=${a(m(e.image,$?e.imageLoading:null))} style=${d(I)}>${$||T?l`<calcite-scrim><span aria-hidden=true class=${a(p.loaderAnimation)} role=presentation></span></calcite-scrim>`:null}</div>${v}</div></calcite-button></div>`}};B("arcgis-basemap-toggle",g);return g},"applications/Components/basemapUtils","widgets/BasemapToggle/BasemapToggleViewModel",b,c,e)
|
package/dist/cdn/Y4BGHULQ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.136 */
|
|
4
|
-
import a from"./YW35NM5X.js";import{a as l,b as p}from"./MUQ32RUE.js";export default $arcgis.t(([{property:r,subclass:V},g,{watch:w,whenOnce:m},{forceInteractive:O},{ignoreAbortErrors:f},{a:_,b:u,c:d,d:y}])=>{var A=Object.defineProperty,b=Object.getOwnPropertyDescriptor,n=(t,e,s,o)=>{for(var a=o>1?void 0:o?b(e,s):e,h=t.length-1,c;h>=0;h--)(c=t[h])&&(a=(o?c(e,s,a):c(a))||a);return o&&a&&A(e,s,a),a},i=class extends g{constructor(t={}){super(t),this._loggedUnsupportedErrorMessage=!1,this.view=null,this._analysisView=null,this._reconnectViewTask=null,this._forceInteractiveHandle=null,this._operationState="inactive",this._unsupportedErrorMessage=!1,this._parentChangeFromReconnect=!1,this._startUserOperation=null;let e=t?.analysis;e!=null?this.analysis=e:(this._set("analysis",this.constructAnalysis()),this._set("isAnalysisOwner",!0)),t?.visible!=null&&(this.visible=t.visible)}normalizeCtorArgs(t){let{analysis:e,...s}=t;return s}initialize(){this.addHandles([w(()=>({readyAndNotSupported:this.view!=null&&this.view.ready&&!this.supported}),({readyAndNotSupported:t})=>{t&&!this._loggedUnsupportedErrorMessage&&console.error(this._unsupportedErrorMessage)},{sync:!0,initial:!0}),w(()=>this.analysis?.parent,t=>{!this._parentChangeFromReconnect&&t!==this.view&&this._set("isAnalysisOwner",!1);let e=!this._parentChangeFromReconnect;this._parentChangeFromReconnect=!1,e&&this._scheduleViewReconnect()},{sync:!0}),w(()=>({view:this.view,ready:!!this.view?.ready,supported:this.supported}),({view:t},e)=>{let s=e?.view;t!==s&&(this._startUserOperation=l(this._startUserOperation),this._disconnectFromView(s)),this._scheduleViewReconnect()},{sync:!0,initial:!0})])}destroy(){this._reconnectViewTask=l(this._reconnectViewTask),this._startUserOperation=l(this._startUserOperation),this._analysisView!=null&&(this._analysisView.visible=void 0),this._disconnectFromView(this.view),this._set("view",null),this.analysis!=null&&this.isAnalysisOwner&&(this.analysis.destroy(),this._set("analysis",null))}get supported(){return this.view==null||this.view.type===this.supportedViewType}set visible(t){this._set("visible",t),this._analysisView!=null&&(this._analysisView.visible=t)}get active(){return this._startUserOperation?.state===2}get disabled(){return this.view==null||!this.view.ready||!this.supported}set analysis(t){t!==this._get("analysis")&&(this._startUserOperation=l(this._startUserOperation),this._disconnectFromView(this.view),this._setExternalAnalysis(t),this._scheduleViewReconnect())}get analysisView(){return this._analysisView}get ready(){return this._analysisView!=null&&!this.connectingToView}get connectingToView(){return this._reconnectViewTask!=null}get isAnalysisOwner(){return this._get("isAnalysisOwner")}get operationState(){return this._operationState}clear(){this.clearAnalysis(),this._startUserOperation=l(this._startUserOperation),this._resetInteractiveCreationState()}async start(t){if(!this.visible){console.warn("Cannot start analysis when not visible");return}let e={task:null,abort:null,state:0},s=y(async o=>{if(e.state=1,await m(()=>this.ready,o),e.state=2,this._analysisView==null||this.view==null)return;this._operationState="active";let a=t?.({signal:o})??this.place({signal:o});return void await f(a)});return s.promise.finally(()=>{this._operationState="inactive"}),e.task=s,e.abort=()=>s.abort(),this._startUserOperation=e,void await s.promise}startNewAnalysis(){return this.clear(),this.start()}continue(){return this.start()}stop(){this._startUserOperation?.abort()}onConnectToAnalysisView(t){}onDisconnectFromAnalysisView(){}_scheduleViewReconnect(){this._reconnectViewTask=l(this._reconnectViewTask);let t=y(async e=>{try{await this._reconnectView(e)}catch(s){if(_(e),!d(s)){console.warn("Failed to use analysis in view model",s);return}throw s}finally{t===this._reconnectViewTask&&(this._reconnectViewTask=null)}});this._reconnectViewTask=t}async _reconnectView(t){let{view:e}=this,s=e!=null&&e.ready&&this.supported,o=this.analysis;if(this._startUserOperation=v(this._startUserOperation),this._disconnectFromView(e),!s||e==null||o==null)return;if(this.isAnalysisOwner){if(o.parent!=null){console.error("expected owned analysis to have null parent when connecting to view");return}this._parentChangeFromReconnect=!0,e.analyses.add(o)}let a=await e.whenAnalysisView(o);if(this._analysisView=a,u(t)){this._startUserOperation=v(this._startUserOperation);return}a.visible=this.visible,this._forceInteractiveHandle=O(a),this.addHandles(this._forceInteractiveHandle),this.onConnectToAnalysisView(a)}_disconnectFromView(t){t!=null&&this.isAnalysisOwner&&t.analyses.includes(this.analysis)&&(this._parentChangeFromReconnect=!0,this.analysis.clear(),t.analyses.remove(this.analysis)),this.onDisconnectFromAnalysisView(),this._forceInteractiveHandle=p(this._forceInteractiveHandle),this._analysisView=null}_setExternalAnalysis(t){this._analysisView!=null&&!this.isAnalysisOwner&&(this._analysisView.visible=void 0,this._forceInteractiveHandle=p(this._forceInteractiveHandle)),this._analysisView=null,this._set("isAnalysisOwner",!1),this._set("analysis",t),this._parentChangeFromReconnect=!1}_resetInteractiveCreationState(){this._analysisView?.tool?.resetCreated()}};n([r()],i.prototype,"supported",1);n([r()],i.prototype,"view",2);n([r({type:Boolean,value:!0})],i.prototype,"visible",1);n([r()],i.prototype,"active",1);n([r()],i.prototype,"disabled",1);n([r()],i.prototype,"analysis",1);n([r()],i.prototype,"_analysisView",2);n([r()],i.prototype,"analysisView",1);n([r()],i.prototype,"ready",1);n([r()],i.prototype,"connectingToView",1);n([r({readOnly:!0})],i.prototype,"isAnalysisOwner",1);n([r()],i.prototype,"_reconnectViewTask",2);n([r()],i.prototype,"_forceInteractiveHandle",2);n([r()],i.prototype,"_operationState",2);n([r()],i.prototype,"operationState",1);i=n([V("esri.components.support.AnalysisViewModel")],i);function v(t){return t!=null&&t.state>=2?(t.abort(),null):t}return i},"core/accessorSupport/decorators","core/Accessor","core/reactiveUtils","applications/Components/analysisUtils","core/promiseUtils",a)
|
package/dist/cdn/YW35NM5X.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.136 */
|
|
4
|
-
import{a as c,b as h}from"./MUQ32RUE.js";export default $arcgis.t(([b,{property:l,subclass:f},_])=>{var d=Object.defineProperty,m=Object.getOwnPropertyDescriptor,s=(t,r,e,o)=>{for(var i=o>1?void 0:o?m(r,e):r,u=t.length-1,a;u>=0;u--)(a=t[u])&&(i=(o?a(r,e,i):a(i))||i);return o&&i&&d(r,e,i),i};function v(t="Aborted"){return new _("AbortError",t)}function j(t,r="Aborted"){if(y(t))throw v(r)}function p(t){return t instanceof AbortSignal?t:t?.signal??void 0}function y(t){return p(t)?.aborted??!1}function x(t){return t?.name==="AbortError"}function g(t){return{ok:!0,value:t}}function A(t){return{ok:!1,error:t}}function C(t){return t?.ok?t.value:null}function w(t){return t!=null&&!t.ok?t.error:null}function k(t,r){let e=p(t);if(e==null)return;if(e.aborted){r();return}let o=()=>r();return e.addEventListener("abort",o,{once:!0}),{remove:()=>e.removeEventListener("abort",o)}}function L(t,r){return new n(t,r)}var n=class extends b{constructor(t,r){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=c(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;let{signal:e}=this._abortController;this.promise=t(e),this.promise.then(o=>{this._result=g(o),this._cleanup()},o=>{this._result=A(o),this._cleanup()}),this._abortHandle=k(r,this.abort)}get value(){return C(this._result)}get error(){return w(this._result)}get finished(){return this._result!=null}destroy(){this.abort()}_cleanup(){this._abortHandle=h(this._abortHandle),this._abortController=null}[Symbol.dispose](){this._cleanup()}};s([l()],n.prototype,"value",1);s([l()],n.prototype,"error",1);s([l()],n.prototype,"finished",1);s([l()],n.prototype,"promise",2);s([l()],n.prototype,"_result",2);n=s([f("esri.components.asyncUtils.ReactiveTask")],n);return{a:j,b:y,c:x,d:L}},"core/Accessor","core/accessorSupport/decorators","core/Error")
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { Use } from '@arcgis/lumina/controllers';
|
|
4
|
-
import { default as DirectLineMeasurement3D } from '@arcgis/core/widgets/DirectLineMeasurement3D.js';
|
|
5
|
-
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
|
-
|
|
8
|
-
declare const useDirectLineMeasurement3dWidget: (component: LitElement & Pick<DirectLineMeasurement3D, "icon" | "label" | "viewModel" | "analysis" | "unit" | "unitOptions"> & {
|
|
9
|
-
state?: unknown;
|
|
10
|
-
viewModel?: __esri.DirectLineMeasurement3DViewModel | undefined;
|
|
11
|
-
closed?: boolean;
|
|
12
|
-
icon: import('@arcgis/components-utils').Nil | string;
|
|
13
|
-
label: import('@arcgis/components-utils').Nil | string;
|
|
14
|
-
referenceElement?: ArcgisReferenceElement | string;
|
|
15
|
-
position: __esri.UIPosition;
|
|
16
|
-
arcgisReady: import('@arcgis/lumina').EventEmitter;
|
|
17
|
-
arcgisPropertyChange: import('@arcgis/lumina').EventEmitter<{
|
|
18
|
-
name: string;
|
|
19
|
-
}> | undefined;
|
|
20
|
-
el: HTMLElement & {
|
|
21
|
-
childElem?: HTMLElement & {
|
|
22
|
-
ownedBy?: HTMLElement;
|
|
23
|
-
};
|
|
24
|
-
view?: __esri.LinkChartView | __esri.MapView | __esri.SceneView;
|
|
25
|
-
};
|
|
26
|
-
autoDestroyDisabled: boolean;
|
|
27
|
-
destroy: () => Promise<void>;
|
|
28
|
-
}) => DirectLineMeasurement3D;
|
|
29
|
-
/**
|
|
30
|
-
* The Direct Line Measurement 3D component calculates and displays the 3D distance between two points. This component can be used in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html) to measure the vertical, horizontal, and direct distance between two points.
|
|
31
|
-
*
|
|
32
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-directline-measurement-3d/)
|
|
33
|
-
*/
|
|
34
|
-
export declare class ArcgisDirectLineMeasurement3d extends LitElement {
|
|
35
|
-
/**
|
|
36
|
-
* The direct line measurement analysis object being created or modified by the widget.
|
|
37
|
-
*
|
|
38
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectLineMeasurement3D.html#analysis)
|
|
39
|
-
*/
|
|
40
|
-
readonly analysis: __esri.DirectLineMeasurementAnalysis;
|
|
41
|
-
/**
|
|
42
|
-
* If true, the component will not be destroyed automatically when it is
|
|
43
|
-
* disconnected from the document. This is useful when you want to move the
|
|
44
|
-
* component to a different place on the page, or temporarily hide it. If this
|
|
45
|
-
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-directline-measurement-3d/#destroy) method when you are done to
|
|
46
|
-
* prevent memory leaks.
|
|
47
|
-
*
|
|
48
|
-
* @default false
|
|
49
|
-
*/
|
|
50
|
-
autoDestroyDisabled: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Icon which represents the widget.
|
|
53
|
-
*
|
|
54
|
-
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
55
|
-
* @default "measure-line"
|
|
56
|
-
*/
|
|
57
|
-
icon: string;
|
|
58
|
-
/**
|
|
59
|
-
* The widget's default label.
|
|
60
|
-
*
|
|
61
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectLineMeasurement3D.html#label)
|
|
62
|
-
*/
|
|
63
|
-
label: string;
|
|
64
|
-
/** @default "bottom-left" */
|
|
65
|
-
position: __esri.UIPosition;
|
|
66
|
-
referenceElement?: ArcgisReferenceElement | string;
|
|
67
|
-
/**
|
|
68
|
-
* The view model's state.
|
|
69
|
-
*
|
|
70
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectLineMeasurement3D-DirectLineMeasurement3DViewModel.html#state)
|
|
71
|
-
*
|
|
72
|
-
* @default "disabled"
|
|
73
|
-
*/
|
|
74
|
-
readonly state: "ready" | "disabled" | "measuring" | "measured";
|
|
75
|
-
/**
|
|
76
|
-
* Unit system (imperial, metric) or specific unit used for displaying the distance values.
|
|
77
|
-
*
|
|
78
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectLineMeasurement3D.html#unit)
|
|
79
|
-
*/
|
|
80
|
-
unit: __esri.SystemOrLengthUnit;
|
|
81
|
-
/**
|
|
82
|
-
* List of unit systems (imperial, metric) and specific units for displaying the distance values.
|
|
83
|
-
*
|
|
84
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectLineMeasurement3D.html#unitOptions)
|
|
85
|
-
*/
|
|
86
|
-
unitOptions: __esri.SystemOrLengthUnit[];
|
|
87
|
-
clear(): Promise<void>;
|
|
88
|
-
/** Permanently destroy the component. */
|
|
89
|
-
destroy(): Promise<void>;
|
|
90
|
-
start(): Promise<void>;
|
|
91
|
-
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
92
|
-
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
93
|
-
name: "state" | "analysis";
|
|
94
|
-
}>;
|
|
95
|
-
/** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
|
|
96
|
-
readonly arcgisReady: TargetedEvent<this, void>;
|
|
97
|
-
}
|
|
98
|
-
export {};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { c as t } from "../../chunks/runtime.js";
|
|
2
|
-
import { usePropertyChange as e } from "@arcgis/lumina/controllers";
|
|
3
|
-
import i from "@arcgis/core/widgets/DirectLineMeasurement3D.js";
|
|
4
|
-
import { LitElement as s, createEvent as a, noShadowRoot as o } from "@arcgis/lumina";
|
|
5
|
-
import { m as r } from "../../chunks/useWidget.js";
|
|
6
|
-
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
7
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.136 */
|
|
10
|
-
const l = n`@layer{arcgis-directline-measurement-3d{display:block}}`, c = r(i);
|
|
11
|
-
class d extends s {
|
|
12
|
-
constructor() {
|
|
13
|
-
super(...arguments), this.widget = c(this), this.viewModel = this.widget.viewModel, this.analysis = this.widget.analysis, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.unit = this.widget.unit, this.unitOptions = this.widget.unitOptions, this.arcgisPropertyChange = e()("analysis", "state"), this.arcgisReady = a();
|
|
14
|
-
}
|
|
15
|
-
static {
|
|
16
|
-
this.properties = { analysis: 0, autoDestroyDisabled: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3, unit: 1, unitOptions: 0 };
|
|
17
|
-
}
|
|
18
|
-
static {
|
|
19
|
-
this.shadowRootOptions = o;
|
|
20
|
-
}
|
|
21
|
-
static {
|
|
22
|
-
this.styles = l;
|
|
23
|
-
}
|
|
24
|
-
async clear() {
|
|
25
|
-
this.widget?.viewModel.clear();
|
|
26
|
-
}
|
|
27
|
-
async destroy() {
|
|
28
|
-
await this.manager.destroy();
|
|
29
|
-
}
|
|
30
|
-
async start() {
|
|
31
|
-
this.widget?.viewModel.start();
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
t("arcgis-directline-measurement-3d", d);
|
|
35
|
-
export {
|
|
36
|
-
d as ArcgisDirectLineMeasurement3d
|
|
37
|
-
};
|
/package/dist/components/{arcgis-directline-measurement-3d → arcgis-measurement-content}/index.d.ts
RENAMED
|
File without changes
|
/package/dist/components/{arcgis-directline-measurement-3d → arcgis-measurement-content}/index.js
RENAMED
|
File without changes
|