@arcgis/core 4.23.0-next.20220104 → 4.23.0-next.20220119
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/assets/components/assets/calcite-date-picker/nls/bg.json +31 -0
- package/assets/components/assets/calcite-icon/centerAlign16.json +1 -0
- package/assets/components/assets/calcite-icon/centerAlign24.json +1 -0
- package/assets/components/assets/calcite-icon/centerAlign32.json +1 -0
- package/assets/components/assets/calcite-icon/checkSquareF16.json +1 -0
- package/assets/components/assets/calcite-icon/checkSquareF24.json +1 -0
- package/assets/components/assets/calcite-icon/checkSquareF32.json +1 -0
- package/assets/components/assets/calcite-icon/convert16.json +1 -0
- package/assets/components/assets/calcite-icon/convert24.json +1 -0
- package/assets/components/assets/calcite-icon/convert32.json +1 -0
- package/assets/components/assets/calcite-icon/explore16.json +1 -0
- package/assets/components/assets/calcite-icon/explore24.json +1 -0
- package/assets/components/assets/calcite-icon/explore32.json +1 -0
- package/assets/components/assets/calcite-icon/formDropdown16.json +1 -0
- package/assets/components/assets/calcite-icon/formDropdown24.json +1 -0
- package/assets/components/assets/calcite-icon/formDropdown32.json +1 -0
- package/assets/components/assets/calcite-icon/language16.json +1 -0
- package/assets/components/assets/calcite-icon/language24.json +1 -0
- package/assets/components/assets/calcite-icon/language32.json +1 -0
- package/assets/components/assets/calcite-icon/languageTranslate16.json +1 -0
- package/assets/components/assets/calcite-icon/languageTranslate24.json +1 -0
- package/assets/components/assets/calcite-icon/languageTranslate32.json +1 -0
- package/assets/components/assets/calcite-icon/leftAlign16.json +1 -0
- package/assets/components/assets/calcite-icon/leftAlign24.json +1 -0
- package/assets/components/assets/calcite-icon/leftAlign32.json +1 -0
- package/assets/components/assets/calcite-icon/lineSolid4.json +1 -0
- package/assets/components/assets/calcite-icon/partlyCloudy16.json +1 -0
- package/assets/components/assets/calcite-icon/partlyCloudy24.json +1 -0
- package/assets/components/assets/calcite-icon/partlyCloudy32.json +1 -0
- package/assets/components/assets/calcite-icon/rightAlign16.json +1 -0
- package/assets/components/assets/calcite-icon/rightAlign24.json +1 -0
- package/assets/components/assets/calcite-icon/rightAlign32.json +1 -0
- package/assets/components/assets/calcite-icon/screenshotMode16.json +1 -0
- package/assets/components/assets/calcite-icon/screenshotMode24.json +1 -0
- package/assets/components/assets/calcite-icon/screenshotMode32.json +1 -0
- package/assets/components/assets/calcite-icon/squareF16.json +1 -0
- package/assets/components/assets/calcite-icon/squareF24.json +1 -0
- package/assets/components/assets/calcite-icon/squareF32.json +1 -0
- package/assets/components/assets/calcite-icon/terminal16.json +1 -0
- package/assets/components/assets/calcite-icon/terminal24.json +1 -0
- package/assets/components/assets/calcite-icon/terminal32.json +1 -0
- package/assets/components/assets/calcite-icon/touch16.json +1 -0
- package/assets/components/assets/calcite-icon/touch24.json +1 -0
- package/assets/components/assets/calcite-icon/touch32.json +1 -0
- package/assets/components/assets/calcite-icon/xHexagon16.json +1 -0
- package/assets/components/assets/calcite-icon/xHexagon24.json +1 -0
- package/assets/components/assets/calcite-icon/xHexagon32.json +1 -0
- package/assets/components/assets/calcite-icon/xHexagonF16.json +1 -0
- package/assets/components/assets/calcite-icon/xHexagonF24.json +1 -0
- package/assets/components/assets/calcite-icon/xHexagonF32.json +1 -0
- package/assets/components/assets/calcite-icon/xOctagonF16.json +1 -0
- package/assets/components/assets/calcite-icon/xOctagonF24.json +1 -0
- package/assets/components/assets/calcite-icon/xOctagonF32.json +1 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/01ef8de7f76a8c61b464.js +1 -0
- package/assets/esri/core/workers/chunks/05db312a0ca6bd3f014a.js +1 -0
- package/assets/esri/core/workers/chunks/09da224052976e290828.js +1 -0
- package/assets/esri/core/workers/chunks/{2c9af2ebd72d9b55329b.js → 0f254c3e91e8fee55f28.js} +1 -1
- package/assets/esri/core/workers/chunks/{ce5ca5e95b2378ec55b9.js → 1305ef8717da6e902a55.js} +1 -1
- package/assets/esri/core/workers/chunks/{1a2e5b267a0cbf8553b7.js → 1b28042fdf3f4dbc8ea5.js} +1 -1
- package/assets/esri/core/workers/chunks/20411bb8e04703962ce6.js +1 -0
- package/assets/esri/core/workers/chunks/21a77eed1a4ef5b0ff08.js +1 -0
- package/assets/esri/core/workers/chunks/2416f8bf8bbd2ec786ab.js +1 -0
- package/assets/esri/core/workers/chunks/25a3e9bc0b4c7e0d3165.js +1 -0
- package/assets/esri/core/workers/chunks/{9c417740bf3707a0d465.js → 2c607d30ff8ca1b61286.js} +1 -1
- package/assets/esri/core/workers/chunks/2e445a8735ea2adb641a.js +1 -0
- package/assets/esri/core/workers/chunks/3564e14010953def6df9.js +1 -0
- package/assets/esri/core/workers/chunks/37a7bd30352b1309b8f8.js +1 -0
- package/assets/esri/core/workers/chunks/390d9021169e65c10eb8.js +1 -0
- package/assets/esri/core/workers/chunks/{3d5169ea9810d10caf0d.js → 3a9740dccda6a733313c.js} +1 -1
- package/assets/esri/core/workers/chunks/403c7d64f12f00330d88.js +1 -0
- package/assets/esri/core/workers/chunks/43cdff2418325e163420.js +1 -0
- package/assets/esri/core/workers/chunks/4409d77c9734de4e82a7.js +1 -0
- package/assets/esri/core/workers/chunks/{f52b6d5037e4205b035c.js → 47395d225229d237f0ac.js} +1 -1
- package/assets/esri/core/workers/chunks/4b69129c0557852d9b3d.js +1 -0
- package/assets/esri/core/workers/chunks/57c67e260267a1dbc5e3.js +1 -0
- package/assets/esri/core/workers/chunks/5ac4c1d54b94c7d87835.js +1 -0
- package/assets/esri/core/workers/chunks/60371c0f750cde87656d.js +1 -0
- package/assets/esri/core/workers/chunks/618076e6de605873e433.js +1 -0
- package/assets/esri/core/workers/chunks/{ba6fdaed6c315dc13981.js → 625d2663daa8e0cf64b0.js} +1 -1
- package/assets/esri/core/workers/chunks/631c5b514bb73782c570.js +1 -0
- package/assets/esri/core/workers/chunks/{3a2b2dc3e938d53faa30.js → 64276aacaafa4c8a15bd.js} +1 -1
- package/assets/esri/core/workers/chunks/{75466e0c8c8da499b150.js → 662d13f68cf3ec92439b.js} +1 -1
- package/assets/esri/core/workers/chunks/67162b3e2cc1b5dc6818.js +1 -0
- package/assets/esri/core/workers/chunks/6c1e92ff4c732dfda756.js +1 -0
- package/assets/esri/core/workers/chunks/6cdfe175c965918b741b.js +1 -0
- package/assets/esri/core/workers/chunks/75d53b28afe732c459b2.js +1 -0
- package/assets/esri/core/workers/chunks/76eef4799f6c5fff7e2d.js +1 -0
- package/assets/esri/core/workers/chunks/{ea05f870dda27bca4fe8.js → 7a8764ae8a0041e1151d.js} +2 -2
- package/assets/esri/core/workers/chunks/{ea05f870dda27bca4fe8.js.LICENSE.txt → 7a8764ae8a0041e1151d.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/7e596478507466953e65.js +1 -0
- package/assets/esri/core/workers/chunks/85e27fd949475f9a6bbc.js +1 -0
- package/assets/esri/core/workers/chunks/8967288145f8fbd20e7d.js +1 -0
- package/assets/esri/core/workers/chunks/8cbb04a9065aa3756638.js +1 -0
- package/assets/esri/core/workers/chunks/{9846098704ee38bf6350.js → 8fdd5bca3716816d359b.js} +1 -1
- package/assets/esri/core/workers/chunks/96ab518eb6ba11333dee.js +1 -0
- package/assets/esri/core/workers/chunks/99a777693e4539f0b03b.js +1 -0
- package/assets/esri/core/workers/chunks/9d77467aa71d345fc1b6.js +1 -0
- package/assets/esri/core/workers/chunks/{4beba242e7540ee3182b.js → 9d9dffc8884d66a258e4.js} +1 -1
- package/assets/esri/core/workers/chunks/9f8b7b6b4e95f9a794fc.js +1 -0
- package/assets/esri/core/workers/chunks/{a721342a32541717324d.js → a28b53c61bddefb6616e.js} +1 -1
- package/assets/esri/core/workers/chunks/{9b7c51ff3d2b42aa62f5.js → a7b1b75643ed31489495.js} +1 -1
- package/assets/esri/core/workers/chunks/a8b13fb804bb775e4967.js +1 -0
- package/assets/esri/core/workers/chunks/a8c13529367c037cdd94.js +1 -0
- package/assets/esri/core/workers/chunks/a960074644c3722be71e.js +1 -0
- package/assets/esri/core/workers/chunks/ac8dca61ade28c542ae2.js +1 -0
- package/assets/esri/core/workers/chunks/ad081d8e49e7f90c3c26.js +1 -0
- package/assets/esri/core/workers/chunks/b10fcbe1393c812fc219.js +1 -0
- package/assets/esri/core/workers/chunks/{2a39d520b192b8e552b5.js → b2ae5fc4f787ea568b88.js} +1 -1
- package/assets/esri/core/workers/chunks/{b87bc1481a49b38109f4.js → b9c177524b3e7de1ffd1.js} +1 -1
- package/assets/esri/core/workers/chunks/b9de831ac379cf1d2969.js +1 -0
- package/assets/esri/core/workers/chunks/ba615f118a3a8970ef25.js +1 -0
- package/assets/esri/core/workers/chunks/{7c1b9ae141112a63b446.js → ba6654a885be4b7a43f0.js} +1 -1
- package/assets/esri/core/workers/chunks/be2b7cce79fd41627931.js +1 -0
- package/assets/esri/core/workers/chunks/c13dfdd548dcb1bdb294.js +1 -0
- package/assets/esri/core/workers/chunks/c36f84daa7736878418d.js +1 -0
- package/assets/esri/core/workers/chunks/{b58eba403bd517a7bb15.js → c3eca92d02958732e141.js} +1 -1
- package/assets/esri/core/workers/chunks/c6f94b92e866b881d9b9.js +1 -0
- package/assets/esri/core/workers/chunks/{b51261a9a9ab62388839.js → c8f976e53e232e8da9cc.js} +39 -29
- package/assets/esri/core/workers/chunks/cbb291412fd1a5261aa9.js +1 -0
- package/assets/esri/core/workers/chunks/d1454155ee1b8a421cbb.js +1 -0
- package/assets/esri/core/workers/chunks/{0cd583c3233573cb8468.js → d24c4fbc567486b1188f.js} +1 -1
- package/assets/esri/core/workers/chunks/d52108864136c5a8a618.js +1 -0
- package/assets/esri/core/workers/chunks/dd433c160f7a0c120b82.js +1 -0
- package/assets/esri/core/workers/chunks/de03439ca2c9782bf325.js +1 -0
- package/assets/esri/core/workers/chunks/e2d68bcd2f99a65387bf.js +1 -0
- package/assets/esri/core/workers/chunks/e59764ee8cf25d4f74e2.js +1 -0
- package/assets/esri/core/workers/chunks/e6df9839b551569fbc62.js +1 -0
- package/assets/esri/core/workers/chunks/{2f66fcb8670b108af549.js → ed0bcc66fb1e0ee75a4b.js} +1 -1
- package/assets/esri/core/workers/chunks/{6deac533bb455be4004b.js → ef8b75b92cf549e0507e.js} +1 -1
- package/assets/esri/core/workers/chunks/f7fc4c993536e62f7f3e.js +1 -0
- package/assets/esri/themes/base/icons/fonts/CalciteWebCoreIcons.svg +1 -0
- package/assets/esri/themes/base/icons/fonts/CalciteWebCoreIcons.ttf +0 -0
- package/assets/esri/themes/base/icons/fonts/CalciteWebCoreIcons.woff +0 -0
- package/assets/esri/themes/base/icons/selection.json +1 -1
- package/assets/esri/themes/base/icons/style.css +4 -0
- package/assets/esri/themes/base/icons/style.scss +6 -0
- package/assets/esri/themes/base/icons/variables.scss +1 -0
- package/assets/esri/themes/base/widgets/_Weather.scss +1 -1
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/dark-blue/main.css +1 -1
- package/assets/esri/themes/dark-green/main.css +1 -1
- package/assets/esri/themes/dark-purple/main.css +1 -1
- package/assets/esri/themes/dark-red/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/assets/esri/themes/light-blue/main.css +1 -1
- package/assets/esri/themes/light-green/main.css +1 -1
- package/assets/esri/themes/light-purple/main.css +1 -1
- package/assets/esri/themes/light-red/main.css +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_ar.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_bg.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_bs.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_ca.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_cs.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_da.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_de.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_el.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_es.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_et.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_fi.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_fr.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_he.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_hr.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_hu.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_id.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_it.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_ja.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_ko.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_lt.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_lv.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_nb.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_nl.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_pl.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_pt-BR.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_pt-PT.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_ro.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_ru.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_sk.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_sl.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_sr.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_sv.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_th.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_tr.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_uk.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_vi.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_zh-CN.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_zh-HK.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_zh-TW.json +1 -1
- package/assets/esri/widgets/ElevationProfile/t9n/ElevationProfile_ja.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_ar.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_bg.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_bs.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_ca.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_cs.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_da.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_de.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_el.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_es.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_et.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_fi.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_fr.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_he.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_hr.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_hu.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_id.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_it.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_ja.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_ko.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_lt.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_lv.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_nb.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_nl.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_pl.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_pt-BR.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_pt-PT.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_ro.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_ru.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_sk.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_sl.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_sr.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_sv.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_th.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_tr.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_uk.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_vi.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_zh-CN.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_zh-HK.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_zh-TW.json +1 -1
- package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_cs.json +1 -1
- package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_el.json +1 -1
- package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_fr.json +1 -1
- package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_lv.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_ar.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_bg.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_bs.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_ca.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_cs.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_da.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_de.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_el.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_es.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_et.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_fi.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_fr.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_he.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_hr.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_hu.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_id.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_it.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_ja.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_ko.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_lt.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_lv.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_nb.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_nl.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_pl.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_pt-BR.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_pt-PT.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_ro.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_ru.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_sk.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_sl.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_sr.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_sv.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_th.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_tr.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_uk.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_vi.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_zh-CN.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_zh-HK.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_zh-TW.json +1 -1
- package/chunks/Clouds.glsl.js +14 -14
- package/chunks/DefaultMaterial.glsl.js +2 -2
- package/chunks/HUDMaterial.glsl.js +22 -21
- package/chunks/RibbonLine.glsl.js +10 -14
- package/chunks/persistableUrlUtils.js +1 -1
- package/chunks/vec32.js +1 -1
- package/chunks/vec42.js +1 -1
- package/core/urlUtils.js +1 -1
- package/form/elements/FieldElement.js +1 -1
- package/geometry/support/buffer/math/common.js +1 -1
- package/interfaces.d.ts +100 -57
- package/layers/FeatureLayer.js +1 -1
- package/layers/SubtypeGroupLayer.js +1 -1
- package/layers/VectorTileLayer.js +1 -1
- package/layers/WMSLayer.js +1 -1
- package/layers/graphics/controllers/FeatureTileController3D.js +1 -1
- package/layers/graphics/data/QueryEngineCapabilities.js +1 -1
- package/layers/graphics/sources/OGCFeatureSource.js +1 -1
- package/layers/mixins/ArcGISImageService.js +1 -1
- package/layers/mixins/OperationalLayer.js +1 -1
- package/layers/ogc/crsUtils.js +5 -0
- package/layers/support/RasterFunction.js +1 -1
- package/layers/support/capabilities.js +1 -1
- package/layers/support/rasterDatasets/WCSRaster.js +1 -1
- package/layers/support/rasterDatasets/wcsCoverageParser.js +1 -1
- package/layers/support/vectorTileLayerLoader.js +1 -1
- package/layers/support/wmsUtils.js +1 -1
- package/layers/support/wmtsUtils.js +1 -1
- package/package.json +5 -5
- package/rasterRenderers.js +1 -1
- package/renderers/support/RasterSymbolizer.js +1 -1
- package/renderers/support/rasterRendererHelper.js +1 -1
- package/request.js +1 -1
- package/rest/print.js +1 -1
- package/rest/support/ImageIdentifyParameters.js +1 -1
- package/rest/support/StatisticDefinition.js +1 -1
- package/smartMapping/raster/renderers/classBreaks.js +1 -1
- package/smartMapping/renderers/univariateColorSize.js +1 -1
- package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
- package/support/featureFlags.js +1 -1
- package/support/revision.js +1 -1
- package/symbols/ExtrudeSymbol3DLayer.js +1 -1
- package/symbols/Font.js +1 -1
- package/symbols/IconSymbol3DLayer.js +1 -1
- package/symbols/ObjectSymbol3DLayer.js +1 -1
- package/symbols/PathSymbol3DLayer.js +1 -1
- package/symbols/TextSymbol.js +1 -1
- package/symbols/TextSymbol3DLayer.js +1 -1
- package/symbols/support/Symbol3DHalo.js +1 -1
- package/symbols/support/Symbol3DMaterial.js +1 -1
- package/symbols/support/constants.js +5 -0
- package/symbols/support/utils.js +1 -1
- package/views/2d/engine/Stage.js +1 -1
- package/views/2d/engine/vectorTiles/TileHandler.js +1 -1
- package/views/2d/engine/vectorTiles/shaders/VTLMaterialManager.js +1 -1
- package/views/2d/engine/vectorTiles/style/VectorTileSource.js +1 -1
- package/views/2d/engine/vectorTiles/style/VectorTilesRequestManager.js +5 -0
- package/views/2d/engine/webgl/BitBlitRenderer.js +1 -1
- package/views/2d/engine/webgl/MaterialManager.js +1 -1
- package/views/2d/engine/webgl/alignmentUtils.js +1 -1
- package/views/2d/engine/webgl/effects/BlendEffect.js +1 -1
- package/views/2d/engine/webgl/materialKey/MaterialKey.js +1 -1
- package/views/2d/engine/webgl/mesh/templates/WGLLabelTemplate.js +1 -1
- package/views/2d/engine/webgl/shaders/BlendPrograms.js +1 -1
- package/views/2d/engine/webgl/shaders/MaterialPrograms.js +1 -1
- package/views/2d/layers/BaseLayerView2D.js +1 -1
- package/views/2d/layers/BaseLayerViewGL2D.js +1 -1
- package/views/2d/layers/GraphicsLayerView2D.js +1 -1
- package/views/2d/layers/ImageryLayerView2D.js +1 -1
- package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
- package/views/2d/layers/LayerView2D.js +1 -1
- package/views/2d/layers/MapNotesLayerView2D.js +1 -1
- package/views/2d/layers/RouteLayerView2D.js +1 -1
- package/views/2d/layers/TileLayerView2D.js +1 -1
- package/views/2d/layers/VectorTileLayerView2D.js +1 -1
- package/views/2d/layers/WMSLayerView2D.js +1 -1
- package/views/2d/layers/WMTSLayerView2D.js +1 -1
- package/views/2d/layers/features/support/AttributeStore.js +1 -1
- package/views/2d/layers/graphics/GraphicBoundsRenderer.js +1 -1
- package/views/2d/layers/graphics/GraphicsView2D.js +1 -1
- package/views/2d/support/engineHelpers.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightController.js +1 -1
- package/views/3d/environment/CloudyWeather.js +1 -1
- package/views/3d/environment/Fog.js +1 -1
- package/views/3d/environment/FoggyWeather.js +1 -1
- package/views/3d/environment/NoiseTextureAtlas.js +1 -1
- package/views/3d/environment/RainyWeather.js +1 -1
- package/views/3d/environment/Stars.js +1 -1
- package/views/3d/layers/BuildingComponentSublayerView3D.js +1 -1
- package/views/3d/layers/DynamicLayerView3D.js +1 -1
- package/views/3d/layers/FeatureLayerViewBase3D.js +1 -1
- package/views/3d/layers/FeatureLikeLayerView3D.js +1 -1
- package/views/3d/layers/GraphicsLayerView3D.js +1 -1
- package/views/3d/layers/GraphicsView3D.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/ImageryLayerView3D.js +1 -1
- package/views/3d/layers/ImageryTileLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMeshLayerView3D.js +1 -1
- package/views/3d/layers/MapImageLayerView3D.js +1 -1
- package/views/3d/layers/OGCFeatureLayerView3D.js +1 -1
- package/views/3d/layers/PointCloudLayerView3D.js +1 -1
- package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
- package/views/3d/layers/SceneLayerView3D.js +1 -1
- package/views/3d/layers/VectorTileLayerView3D.js +1 -1
- package/views/3d/layers/WMSLayerView3D.js +1 -1
- package/views/3d/layers/WMTSLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Deconflictor.js +1 -1
- package/views/3d/layers/graphics/Graphics3DFeatureLikeLayerView.js +1 -1
- package/views/3d/layers/graphics/Graphics3DGraphicLikeLayerView.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPointSymbol.js +1 -1
- package/views/3d/layers/graphics/Graphics3DTextSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Labeler.js +1 -1
- package/views/3d/layers/graphics/QueryEngine.js +1 -1
- package/views/3d/layers/support/FeatureTileTree3DDebugger.js +1 -1
- package/views/3d/state/controllers/RotateController.js +1 -1
- package/views/3d/state/controllers/global/PinchAndPanController.js +1 -1
- package/views/3d/state/controllers/global/ZoomController.js +1 -1
- package/views/3d/state/controllers/global/ZoomStepController.js +1 -1
- package/views/3d/state/controllers/local/PinchAndPanController.js +1 -1
- package/views/3d/state/controllers/local/ZoomStepController.js +1 -1
- package/views/3d/support/debugFlags.js +1 -1
- package/views/3d/support/sunUtils.js +1 -1
- package/views/3d/terrain/Overlay.js +1 -1
- package/views/3d/terrain/OverlayManager.js +1 -1
- package/views/3d/terrain/TerrainSurface.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/Transform.glsl.js +7 -1
- package/views/3d/webgl-engine/core/shaderLibrary/default/DefaultMaterialAuxiliaryPasses.glsl.js +28 -24
- package/views/3d/webgl-engine/core/shaderLibrary/shading/LineStipple.glsl.js +19 -14
- package/views/3d/webgl-engine/lib/GridLocalOriginFactory.js +1 -1
- package/views/3d/webgl-engine/lib/InstanceParameters.js +5 -0
- package/views/3d/webgl-engine/lib/{localOrigin.js → LocalOriginFactory.js} +0 -0
- package/views/3d/webgl-engine/lib/Program.js +1 -1
- package/views/3d/webgl-engine/lib/RenderGeometry.js +1 -1
- package/views/3d/webgl-engine/lib/RenderTargetHelper.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/RenderingContext.js +1 -1
- package/views/3d/webgl-engine/lib/SSAOHelper.js +1 -1
- package/views/3d/webgl-engine/lib/TextRenderParameters.js +1 -1
- package/views/3d/webgl-engine/lib/TextRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
- package/views/3d/webgl-engine/parts/RenderView.js +1 -1
- package/views/3d/webgl-engine/parts/ScreenshotManager.js +1 -1
- package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/HUDMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/RealisticTreeTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
- package/views/LayerViewManager.js +1 -1
- package/views/MapView.js +1 -1
- package/views/SceneView.js +1 -1
- package/views/interactive/snapping/FeatureSnappingEngine.js +1 -1
- package/views/interactive/snapping/featureSources/FeatureServiceSnappingSource.js +1 -1
- package/views/interactive/snapping/featureSources/GraphicsSnappingSource.js +1 -1
- package/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiledFetcher.js +1 -1
- package/views/layers/ImageryTileLayerView.js +1 -1
- package/views/layers/LayerView.js +1 -1
- package/views/layers/OGCFeatureLayerView.js +1 -1
- package/views/layers/RefreshableLayerView.js +1 -1
- package/views/overlay/ViewOverlay.js +1 -1
- package/views/support/DefaultsFromMap.js +1 -1
- package/views/support/WatchUpdatingTracking.js +1 -1
- package/views/support/imageReprojection.js +1 -1
- package/views/webgl/BufferObject.js +1 -1
- package/views/webgl/ContextState.js +1 -1
- package/views/webgl/FramebufferObject.js +1 -1
- package/views/webgl/Program.js +1 -1
- package/views/webgl/ProgramCache.js +1 -1
- package/views/webgl/ProgramTemplate.js +1 -1
- package/views/webgl/RenderingContext.js +1 -1
- package/views/webgl/ShaderTranspiler.js +1 -1
- package/views/webgl/UniformBufferLayout.js +5 -0
- package/views/webgl/UniformBufferObject.js +5 -0
- package/views/webgl/enums.js +1 -1
- package/views/webgl/rasterUtils.js +1 -1
- package/views/webgl/storageLayouts.js +5 -0
- package/views/webgl/testDoublePrecisionArithmetic.js +1 -1
- package/views/webgl/testFloatBufferBlend.js +1 -1
- package/views/webgl/testSVGPremultipliedAlpha.js +1 -1
- package/views/webgl/testSamplerPrecision.js +1 -1
- package/views/webgl/tests/SimpleDraw.js +1 -1
- package/widgets/BasemapLayerList.js +1 -1
- package/widgets/BuildingExplorer/BuildingDisciplinesViewModel.js +1 -1
- package/widgets/Editor/BatchCreateWorkflow.js +1 -1
- package/widgets/Editor/CreateWorkflow.js +1 -1
- package/widgets/Editor/UpdateWorkflow.js +1 -1
- package/widgets/Editor/workflowUtils.js +1 -1
- package/widgets/ElevationProfile/components/SettingsButton.js +1 -1
- package/widgets/ElevationProfile.js +1 -1
- package/widgets/Feature/FeatureExpression/FeatureExpressionViewModel.js +1 -1
- package/widgets/Feature/FeatureMedia.js +1 -1
- package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
- package/widgets/FeatureForm/InputField.js +1 -1
- package/widgets/FeatureForm/InputFieldGroup.js +1 -1
- package/widgets/FeatureForm.js +1 -1
- package/widgets/FeatureTemplates.js +1 -1
- package/widgets/FloorFilter.js +1 -1
- package/widgets/LayerList/ListItemPanel.js +1 -1
- package/widgets/LayerList/support/layerListUtils.js +1 -1
- package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
- package/widgets/Popup.js +1 -1
- package/widgets/Print.js +1 -1
- package/widgets/Search.js +1 -1
- package/widgets/Sketch/SketchViewModel.js +1 -1
- package/widgets/Weather/CoverageSlider.js +5 -0
- package/widgets/Weather/WeatherViewModel.js +1 -1
- package/widgets/Weather/css.js +1 -1
- package/widgets/Weather.js +1 -1
- package/assets/esri/core/workers/chunks/0881ce46b10362861f87.js +0 -1
- package/assets/esri/core/workers/chunks/0c0a02770eeeb3e28ea1.js +0 -1
- package/assets/esri/core/workers/chunks/0d2effbd84a9482eb639.js +0 -1
- package/assets/esri/core/workers/chunks/0f04246c1b591a3ac74d.js +0 -1
- package/assets/esri/core/workers/chunks/1ac6be0dc25e16c75d06.js +0 -1
- package/assets/esri/core/workers/chunks/1f8110ea12d65ca94b55.js +0 -1
- package/assets/esri/core/workers/chunks/2025d0fd61a64876c81b.js +0 -1
- package/assets/esri/core/workers/chunks/241859d74c0daac62e11.js +0 -1
- package/assets/esri/core/workers/chunks/331be347c1b1ca0be2d2.js +0 -1
- package/assets/esri/core/workers/chunks/39af317388ecebb4387d.js +0 -1
- package/assets/esri/core/workers/chunks/39be2893a7dbdecfd65a.js +0 -1
- package/assets/esri/core/workers/chunks/3a20f66b0b7d08064e34.js +0 -1
- package/assets/esri/core/workers/chunks/445099d037affd139ed0.js +0 -1
- package/assets/esri/core/workers/chunks/45848fecec88ed2da33d.js +0 -1
- package/assets/esri/core/workers/chunks/48d3a3abc53abe6a4017.js +0 -1
- package/assets/esri/core/workers/chunks/5005b8c1fdd5cb9a4c19.js +0 -1
- package/assets/esri/core/workers/chunks/52e4c367c72ea7cc3457.js +0 -1
- package/assets/esri/core/workers/chunks/5d8170f6207dbeb4de1b.js +0 -1
- package/assets/esri/core/workers/chunks/642c38ac00a962f35d44.js +0 -1
- package/assets/esri/core/workers/chunks/64459604505647e9c714.js +0 -1
- package/assets/esri/core/workers/chunks/653d1550dd1a4867a9fc.js +0 -1
- package/assets/esri/core/workers/chunks/65f73fbbc3c7c60c6d3d.js +0 -1
- package/assets/esri/core/workers/chunks/6db7081d344bea26ef64.js +0 -1
- package/assets/esri/core/workers/chunks/6e13dab8ec43f7494297.js +0 -1
- package/assets/esri/core/workers/chunks/7bd4c3ee43fb038b88d8.js +0 -1
- package/assets/esri/core/workers/chunks/803de5097a8a2c4b58a8.js +0 -1
- package/assets/esri/core/workers/chunks/8298231a0fd0129b0d5c.js +0 -1
- package/assets/esri/core/workers/chunks/8500c6c011400af1b7bd.js +0 -1
- package/assets/esri/core/workers/chunks/8b322a2a47dfdbb59b45.js +0 -1
- package/assets/esri/core/workers/chunks/8f83bebef9174c3f15da.js +0 -1
- package/assets/esri/core/workers/chunks/904332faa22bc0e876cb.js +0 -1
- package/assets/esri/core/workers/chunks/950565d1e682fc4072e1.js +0 -1
- package/assets/esri/core/workers/chunks/a247ddd84245c81112c8.js +0 -1
- package/assets/esri/core/workers/chunks/a9ffa806df20130ecfb6.js +0 -1
- package/assets/esri/core/workers/chunks/af13e534e4160636bd3d.js +0 -1
- package/assets/esri/core/workers/chunks/b2f62234ebb8b6158baa.js +0 -1
- package/assets/esri/core/workers/chunks/b5bb7cfa26b1f0cec67a.js +0 -1
- package/assets/esri/core/workers/chunks/b8666d1a4e4fff7a4703.js +0 -1
- package/assets/esri/core/workers/chunks/bea1da9e3f878e0e2c83.js +0 -1
- package/assets/esri/core/workers/chunks/c1b6c31fa3ec1542f996.js +0 -1
- package/assets/esri/core/workers/chunks/c32a4fbdc87225f84019.js +0 -1
- package/assets/esri/core/workers/chunks/c67fea81f69a60c0eaef.js +0 -1
- package/assets/esri/core/workers/chunks/d336afd5890dcdbf5341.js +0 -1
- package/assets/esri/core/workers/chunks/da69e3e5949fe1716e34.js +0 -1
- package/assets/esri/core/workers/chunks/daa9c450b2e2a5371249.js +0 -1
- package/assets/esri/core/workers/chunks/dd63ba77b7e4c3c9c594.js +0 -1
- package/assets/esri/core/workers/chunks/dfa57982d28c9aeb97b9.js +0 -1
- package/assets/esri/core/workers/chunks/e01812116b27874948f0.js +0 -1
- package/assets/esri/core/workers/chunks/e5c9d8482b913cf3580a.js +0 -1
- package/assets/esri/core/workers/chunks/eeadd92f0bede9fc8745.js +0 -1
- package/assets/esri/core/workers/chunks/fbb67cb6224aed2cce16.js +0 -1
- package/assets/esri/core/workers/chunks/feeaf61424336e9eac88.js +0 -1
- package/assets/esri/core/workers/chunks/ff02295329a8986d0568.js +0 -1
- package/views/2d/engine/webgl/mesh/templates/meshUtils.js +0 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7616,3172,4889],{1692:(e,t,r)=>{r.d(t,{Z:()=>w});var n=r(43697),s=r(66577),i=r(51773),o=r(78223),a=r(15923),l=(r(80442),r(22974)),u=r(92604),c=r(70586),h=r(31263),d=r(1153),p=r(52011);u.Z.getLogger("esri.core.Clonable");const f=e=>{let t=class extends e{clone(){const e=(0,c.s3)((0,d.vw)(this),"unable to clone instance of non-accessor class"),t=e.metadatas,r=e.store,n={},s=new Map;for(const e in t){const i=t[e],o=null==r?void 0:r.originOf(e);if(i.readOnly||!1===i.clonable||o!==h.s3.USER&&o!==h.s3.DEFAULTS)continue;const a=this[e];let u=null;const c=i.clonable;u="function"==typeof c?c(a):"reference"===c?a:(0,l.Vo)(a),null!=a&&null==u||(o===h.s3.DEFAULTS?s.set(e,u):n[e]=u)}const i=new(0,Object.getPrototypeOf(this).constructor)(n);if(s.size){var o;const e=null==(o=(0,d.vw)(i))?void 0:o.store;if(e)for(const[t,r]of s)e.set(t,r,h.s3.DEFAULTS)}return i}};return t=(0,n._)([(0,p.j)("esri.core.Clonable")],t),t};let m=class extends(f(a.Z)){};m=(0,n._)([(0,p.j)("esri.core.Clonable")],m);var y=r(96674),g=r(99001),b=r(5600),v=(r(67676),r(75215),r(33955));let _=class extends(f(y.wq)){constructor(...e){super(...e),this.isAggregate=!1,this.layer=null,this.popupTemplate=null,this.sourceLayer=null,Object.defineProperty(this,"uid",{value:(0,g.D)(),configurable:!0})}normalizeCtorArgs(e,t,r,n){return e&&!e.declaredClass?e:{geometry:e,symbol:t,attributes:r,popupTemplate:n}}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),this._notifyLayer("geometry",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;for(const t of[this.sourceLayer,this.layer])if(t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&(0,c.pC)(t.defaultPopupTemplate))return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes&&this.attributes[e]}setAttribute(e,t){if(this.attributes){const r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t},this._notifyLayer("attributes",void 0,t,e)}getObjectId(){return this.sourceLayer&&"objectIdField"in this.sourceLayer&&this.sourceLayer.objectIdField?this.getAttribute(this.sourceLayer.objectIdField):null}toJSON(){return{geometry:(0,c.pC)(this.geometry)?this.geometry.toJSON():null,symbol:(0,c.pC)(this.symbol)?this.symbol.toJSON():null,attributes:{...this.attributes},popupTemplate:this.popupTemplate&&this.popupTemplate.toJSON()}}notifyGeometryChanged(){this._notifyLayer("geometry",this.geometry,this.geometry)}_notifyLayer(e,t,r,n){if(!this.layer||!("graphicChanged"in this.layer))return;const s={graphic:this,property:e,oldValue:t,newValue:r};"attributes"===e&&(s.attributeName=n),this.layer.graphicChanged(s)}};(0,n._)([(0,b.Cb)({value:null})],_.prototype,"attributes",null),(0,n._)([(0,b.Cb)({value:null,types:s.qM,json:{read:v.im}})],_.prototype,"geometry",null),(0,n._)([(0,b.Cb)({type:Boolean})],_.prototype,"isAggregate",void 0),(0,n._)([(0,b.Cb)({clonable:"reference"})],_.prototype,"layer",void 0),(0,n._)([(0,b.Cb)({type:i.Z})],_.prototype,"popupTemplate",void 0),(0,n._)([(0,b.Cb)({clonable:"reference"})],_.prototype,"sourceLayer",void 0),(0,n._)([(0,b.Cb)({value:null,types:o.LB})],_.prototype,"symbol",null),(0,n._)([(0,b.Cb)({type:Boolean,value:!0})],_.prototype,"visible",null),_=(0,n._)([(0,p.j)("esri.Graphic")],_),(_||(_={})).generateUID=g.D;const w=_},80539:(e,t,r)=>{r.d(t,{Z:()=>P});var n,s=r(43697),i=r(3894),o=r(32448),a=r(22974),l=r(70586),u=r(71143);!function(e){e[e.ADD=1]="ADD",e[e.REMOVE=2]="REMOVE",e[e.MOVE=4]="MOVE"}(n||(n={}));var c,h=r(1654),d=r(5600),p=r(75215),f=r(52421),m=r(52011),y=r(58971),g=r(39020);class b{constructor(){this._observers=[]}observe(e){return this._observers.includes(e)||this._observers.push(e),new g.X(this._observers,e)}notify(){const e=this._observers.slice();for(let t=0;t<e.length;++t){const r=e[t];r.onInvalidated(),r.onCommitted()}}}const v=new u.Z(class{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(e){this.defaultPrevented=!1,this.item=e}},void 0,(e=>{e.item=null,e.target=null,e.defaultPrevented=!1,e.cancellable=!1})),_=()=>{};function w(e){return e?e instanceof q?e.toArray():e.length?Array.prototype.slice.apply(e):[]:[]}function x(e){if(e&&e.length)return e[0]}function C(e,t,r,n){const s=Math.min(e.length-r,t.length-n);let i=0;for(;i<s&&e[r+i]===t[n+i];)i++;return i}function E(e,t,r,n){t&&t.forEach(((t,s,i)=>{e.push(t),E(e,r.call(n,t,s,i),r,n)}))}const T=new Set,S=new Set,O=new Set,I=new Map;let F=0,q=c=class extends o.Z.EventedAccessor{constructor(e){super(e),this._chgListeners=[],this._notifications=null,this._timer=null,this._observable=new b,this.length=0,this._items=[],Object.defineProperty(this,"uid",{value:F++})}static isCollection(e){return null!=e&&e instanceof c}normalizeCtorArgs(e){return e?Array.isArray(e)||e instanceof c?{items:e}:e:{}}destroy(){this.removeAll()}*[Symbol.iterator](){yield*this.items}get items(){return(0,y.it)(this._observable),this._items}set items(e){this._emitBeforeChanges(n.ADD)||(this._splice(0,this.length,w(e)),this._emitAfterChanges(n.ADD))}hasEventListener(e){return"change"===e?this._chgListeners.length>0:this._emitter.hasEventListener(e)}on(e,t){if("change"===e){const e=this._chgListeners,r={removed:!1,callback:t};return e.push(r),this._notifications&&this._notifications.push({listeners:e.slice(),items:this._items.slice(),changes:[]}),{remove(){this.remove=_,r.removed=!0,e.splice(e.indexOf(r),1)}}}return this._emitter.on(e,t)}once(e,t){const r=this.on(e,t);return{remove(){r.remove()}}}add(e,t){if((0,y.it)(this._observable),this._emitBeforeChanges(n.ADD))return this;const r=this.getNextIndex(null!=t?t:null);return this._splice(r,0,[e]),this._emitAfterChanges(n.ADD),this}addMany(e,t=this._items.length){if((0,y.it)(this._observable),!e||!e.length)return this;if(this._emitBeforeChanges(n.ADD))return this;const r=this.getNextIndex(t);return this._splice(r,0,w(e)),this._emitAfterChanges(n.ADD),this}removeAll(){if((0,y.it)(this._observable),!this.length||this._emitBeforeChanges(n.REMOVE))return[];const e=this._splice(0,this.length)||[];return this._emitAfterChanges(n.REMOVE),e}clone(){return(0,y.it)(this._observable),this._createNewInstance({items:this._items.map(a.d9)})}concat(...e){(0,y.it)(this._observable);const t=e.map(w);return this._createNewInstance({items:this._items.concat(...t)})}drain(e,t){if((0,y.it)(this._observable),!this.length||this._emitBeforeChanges(n.REMOVE))return;const r=(0,l.j0)(this._splice(0,this.length)),s=r.length;for(let n=0;n<s;n++)e.call(t,r[n],n,r);this._emitAfterChanges(n.REMOVE)}every(e,t){return(0,y.it)(this._observable),this._items.every(e,t)}filter(e,t){let r;return(0,y.it)(this._observable),r=2===arguments.length?this._items.filter(e,t):this._items.filter(e),this._createNewInstance({items:r})}find(e,t){return(0,y.it)(this._observable),this._items.find(e,t)}findIndex(e,t){return(0,y.it)(this._observable),this._items.findIndex(e,t)}flatten(e,t){(0,y.it)(this._observable);const r=[];return E(r,this,e,t),new c(r)}forEach(e,t){return(0,y.it)(this._observable),this._items.forEach(e,t)}getItemAt(e){return(0,y.it)(this._observable),this._items[e]}getNextIndex(e){(0,y.it)(this._observable);const t=this.length;return(e=null==e?t:e)<0?e=0:e>t&&(e=t),e}includes(e,t=0){return(0,y.it)(this._observable),this._items.includes(e,t)}indexOf(e,t=0){return(0,y.it)(this._observable),this._items.indexOf(e,t)}join(e=","){return(0,y.it)(this._observable),this._items.join(e)}lastIndexOf(e,t=this.length-1){return(0,y.it)(this._observable),this._items.lastIndexOf(e,t)}map(e,t){(0,y.it)(this._observable);const r=this._items.map(e,t);return new c({items:r})}reorder(e,t=this.length-1){(0,y.it)(this._observable);const r=this.indexOf(e);if(-1!==r){if(t<0?t=0:t>=this.length&&(t=this.length-1),r!==t){if(this._emitBeforeChanges(n.MOVE))return e;this._splice(r,1),this._splice(t,0,[e]),this._emitAfterChanges(n.MOVE)}return e}}pop(){if((0,y.it)(this._observable),!this.length||this._emitBeforeChanges(n.REMOVE))return;const e=x(this._splice(this.length-1,1));return this._emitAfterChanges(n.REMOVE),e}push(...e){return(0,y.it)(this._observable),this._emitBeforeChanges(n.ADD)||(this._splice(this.length,0,e),this._emitAfterChanges(n.ADD)),this.length}reduce(e,t){(0,y.it)(this._observable);const r=this._items;return 2===arguments.length?r.reduce(e,t):r.reduce(e)}reduceRight(e,t){(0,y.it)(this._observable);const r=this._items;return 2===arguments.length?r.reduceRight(e,t):r.reduceRight(e)}remove(e){return(0,y.it)(this._observable),this.removeAt(this.indexOf(e))}removeAt(e){if((0,y.it)(this._observable),e<0||e>=this.length||this._emitBeforeChanges(n.REMOVE))return;const t=x(this._splice(e,1));return this._emitAfterChanges(n.REMOVE),t}removeMany(e){if((0,y.it)(this._observable),!e||!e.length||this._emitBeforeChanges(n.REMOVE))return[];const t=e instanceof c?e.toArray():e,r=this._items,s=[],i=t.length;for(let e=0;e<i;e++){const n=t[e],i=r.indexOf(n);if(i>-1){const n=1+C(t,r,e+1,i+1),o=this._splice(i,n);o&&o.length>0&&s.push.apply(s,o),e+=n-1}}return this._emitAfterChanges(n.REMOVE),s}reverse(){if((0,y.it)(this._observable),this._emitBeforeChanges(n.MOVE))return this;const e=this._splice(0,this.length);return e&&(e.reverse(),this._splice(0,0,e)),this._emitAfterChanges(n.MOVE),this}shift(){if((0,y.it)(this._observable),!this.length||this._emitBeforeChanges(n.REMOVE))return;const e=x(this._splice(0,1));return this._emitAfterChanges(n.REMOVE),e}slice(e=0,t=this.length){return(0,y.it)(this._observable),this._createNewInstance({items:this._items.slice(e,t)})}some(e,t){return(0,y.it)(this._observable),this._items.some(e,t)}sort(e){if((0,y.it)(this._observable),!this.length||this._emitBeforeChanges(n.MOVE))return this;const t=(0,l.j0)(this._splice(0,this.length));return arguments.length?t.sort(e):t.sort(),this._splice(0,0,t),this._emitAfterChanges(n.MOVE),this}splice(e,t,...r){(0,y.it)(this._observable);const s=(t?n.REMOVE:0)|(r.length?n.ADD:0);if(this._emitBeforeChanges(s))return[];const i=this._splice(e,t,r)||[];return this._emitAfterChanges(s),i}toArray(){return(0,y.it)(this._observable),this._items.slice()}toJSON(){return(0,y.it)(this._observable),this.toArray()}toLocaleString(){return(0,y.it)(this._observable),this._items.toLocaleString()}toString(){return(0,y.it)(this._observable),this._items.toString()}unshift(...e){return(0,y.it)(this._observable),!e.length||this._emitBeforeChanges(n.ADD)||(this._splice(0,0,e),this._emitAfterChanges(n.ADD)),this.length}_createNewInstance(e){return new this.constructor(e)}_splice(e,t,r){const n=this._items,s=this.itemType;let i,o;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._timer=(0,h.Os)((()=>this._dispatchChange()))),t){if(o=n.splice(e,t),this.hasEventListener("before-remove")){const t=v.acquire();t.target=this,t.cancellable=!0;for(let r=0,s=o.length;r<s;r++)i=o[r],t.reset(i),this.emit("before-remove",t),t.defaultPrevented&&(o.splice(r,1),n.splice(e,0,i),e+=1,r-=1,s-=1);v.release(t)}if(this.length=this._items.length,this.hasEventListener("after-remove")){const e=v.acquire();e.target=this,e.cancellable=!1;const t=o.length;for(let r=0;r<t;r++)e.reset(o[r]),this.emit("after-remove",e);v.release(e)}}if(r&&r.length){if(s){const e=[];for(const t of r){const r=s.ensureType(t);null==r&&null!=t||e.push(r)}r=e}const t=this.hasEventListener("before-add"),i=this.hasEventListener("after-add"),o=e===this.length;if(t||i){const s=v.acquire();s.target=this,s.cancellable=!0;const a=v.acquire();a.target=this,a.cancellable=!1;for(const l of r)t?(s.reset(l),this.emit("before-add",s),s.defaultPrevented||(o?n.push(l):n.splice(e++,0,l),this._set("length",n.length),i&&(a.reset(l),this.emit("after-add",a)))):(o?n.push(l):n.splice(e++,0,l),this._set("length",n.length),a.reset(l),this.emit("after-add",a));v.release(a),v.release(s)}else{if(o)for(const e of r)n.push(e);else n.splice(e,0,...r);this._set("length",n.length)}}return(r&&r.length||o&&o.length)&&this._notifyChangeEvent(r,o),o}_emitBeforeChanges(e){let t=!1;if(this.hasEventListener("before-changes")){const r=v.acquire();r.target=this,r.cancellable=!0,r.type=e,this.emit("before-changes",r),t=r.defaultPrevented,v.release(r)}return t}_emitAfterChanges(e){if(this.hasEventListener("after-changes")){const t=v.acquire();t.target=this,t.cancellable=!1,t.type=e,this.emit("after-changes",t),v.release(t)}this._observable.notify()}_notifyChangeEvent(e,t){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:e,removed:t})}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),!this._notifications)return;const e=this._notifications;this._notifications=null;for(const t of e){const e=t.changes;T.clear(),S.clear(),O.clear();for(const{added:t,removed:r}of e){if(t)if(0===O.size&&0===S.size)for(const e of t)T.add(e);else for(const e of t)S.has(e)?(O.add(e),S.delete(e)):O.has(e)||T.add(e);if(r)if(0===O.size&&0===T.size)for(const e of r)S.add(e);else for(const e of r)T.has(e)?T.delete(e):(O.delete(e),S.add(e))}const r=i.Z.acquire();T.forEach((e=>{r.push(e)}));const n=i.Z.acquire();S.forEach((e=>{n.push(e)}));const s=this._items,o=t.items,a=i.Z.acquire();if(O.forEach((e=>{o.indexOf(e)!==s.indexOf(e)&&a.push(e)})),t.listeners&&(r.length||n.length||a.length)){const e={target:this,added:r,removed:n,moved:a},s=t.listeners.length;for(let r=0;r<s;r++){const n=t.listeners[r];n.removed||n.callback.call(this,e)}}i.Z.release(r),i.Z.release(n),i.Z.release(a)}T.clear(),S.clear(),O.clear()}};q.ofType=e=>{if(!e)return c;if(I.has(e))return I.get(e);let t=null;if("function"==typeof e)t=e.prototype.declaredClass;else if(e.base)t=e.base.prototype.declaredClass;else for(const r in e.typeMap){const n=e.typeMap[r].prototype.declaredClass;t?t+=` | ${n}`:t=n}let r=class extends c{};return(0,s._)([(0,f.c)({Type:e,ensureType:"function"==typeof e?(0,p.se)(e):(0,p.N7)(e)})],r.prototype,"itemType",void 0),r=(0,s._)([(0,m.j)(`esri.core.Collection<${t}>`)],r),I.set(e,r),r},(0,s._)([(0,d.Cb)()],q.prototype,"length",void 0),(0,s._)([(0,d.Cb)()],q.prototype,"items",null),q=c=(0,s._)([(0,m.j)("esri.core.Collection")],q);const P=q},32448:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(43697),s=r(15923),i=r(50758),o=r(52011);class a{constructor(){this._emitter=new a.EventEmitter(this)}emit(e,t){return this._emitter.emit(e,t)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}hasEventListener(e){return this._emitter.hasEventListener(e)}}!function(e){class t{constructor(e=null){this.target=e,this._listenersMap=null}clear(){this._listenersMap&&this._listenersMap.clear(),this._listenersMap=null}emit(e,t){const r=this._listenersMap&&this._listenersMap.get(e);if(!r)return!1;const n=this.target||this;return[...r].forEach((e=>{e.call(n,t)})),r.length>0}on(e,t){if(Array.isArray(e)){const r=e.map((e=>this.on(e,t)));return(0,i.AL)(r)}if(e.indexOf(",")>-1)throw new TypeError("Evented.on() with a comma delimited string of event types is not supported");this._listenersMap||(this._listenersMap=new Map);const r=this._listenersMap.get(e)||[];return r.push(t),this._listenersMap.set(e,r),{remove:()=>{const r=this._listenersMap&&this._listenersMap.get(e)||[],n=r.indexOf(t);n>=0&&r.splice(n,1)}}}once(e,t){const r=this.on(e,(e=>{r.remove(),t.call(null,e)}));return r}hasEventListener(e){const t=this._listenersMap&&this._listenersMap.get(e);return null!=t&&t.length>0}}e.EventEmitter=t,e.EventedMixin=e=>{let r=class extends e{constructor(){super(...arguments),this._emitter=new t}destroy(){this._emitter.clear()}emit(e,t){return this._emitter.emit(e,t)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}hasEventListener(e){return this._emitter.hasEventListener(e)}};return r=(0,n._)([(0,o.j)("esri.core.Evented")],r),r};let r=class extends s.Z{constructor(){super(...arguments),this._emitter=new a.EventEmitter(this)}destroy(){this._emitter.clear()}emit(e,t){return this._emitter.emit(e,t)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}hasEventListener(e){return this._emitter.hasEventListener(e)}};r=(0,n._)([(0,o.j)("esri.core.Evented")],r),e.EventedAccessor=r}(a||(a={}));const l=a},36030:(e,t,r)=>{r.d(t,{J:()=>i});var n=r(35454),s=r(5600);function i(e,t={}){var r;const i=e instanceof n.Xn?e:new n.Xn(e,t),o={type:null==(r=null==t?void 0:t.ignoreUnknown)||r?i.apiValues:String,json:{type:i.jsonValues,read:(null==t||!t.readOnly)&&{reader:i.read},write:{writer:i.write}}};return void 0!==(null==t?void 0:t.readOnly)&&(o.readOnly=!!t.readOnly),void 0!==(null==t?void 0:t.default)&&(o.json.default=t.default),void 0!==(null==t?void 0:t.name)&&(o.json.name=t.name),(0,s.Cb)(o)}},52421:(e,t,r)=>{function n(e){return(t,r)=>{t[r]=e}}r.d(t,{c:()=>n})},74085:(e,t,r)=>{function n(e){}r.d(t,{Bg:()=>n}),r(80442)},91460:(e,t,r)=>{function n(e){return e&&("function"==typeof e.on||"function"==typeof e.addEventListener)}function s(e,t,r){if(!n(e))throw new TypeError("target is not a Evented or EventTarget object");if("on"in e)return e.on(t,r);if(Array.isArray(t)){const n=t.slice();for(const t of n)e.addEventListener(t,r);return{remove(){for(const t of n)e.removeEventListener(t,r)}}}return e.addEventListener(t,r),{remove(){e.removeEventListener(t,r)}}}function i(e,t,r){if(!n(e))throw new TypeError("target is not a Evented or EventTarget object");if("once"in e)return e.once(t,r);const i=s(e,t,(t=>{i.remove(),r.call(e,t)}));return{remove(){i.remove()}}}r.d(t,{vT:()=>n,on:()=>s,IH:()=>i})},95330:(e,t,r)=>{r.d(t,{e4:()=>S,$6:()=>l,Ue:()=>u,zE:()=>c,dD:()=>w,hh:()=>q,vr:()=>P,Ds:()=>F,as:()=>x,WW:()=>C,R8:()=>_,D_:()=>v,Hc:()=>p,y8:()=>O,fu:()=>y,$F:()=>g,d1:()=>E,DB:()=>T,r9:()=>f,k_:()=>h,H9:()=>m,Yn:()=>R,gx:()=>I,Hl:()=>b});const n=(s=globalThis,{setTimeout:(e,t)=>{const r=s.setTimeout(e,t);return{remove:()=>s.clearTimeout(r)}}});var s,i=r(20102),o=r(91460),a=(r(92604),r(70586));function l(e){return Promise.all(e)}function u(e){return new Promise(((t,r)=>{try{e(t,r)}catch(e){Promise.resolve().then((()=>r(e)))}}))}function c(e="Aborted"){return new i.Z("AbortError",e)}function h(e,t="Aborted"){if(p(e))throw c(t)}function d(e){return(0,a.pC)(e)?"aborted"in e?e:e.signal:e}function p(e){const t=d(e);return(0,a.pC)(t)&&t.aborted}function f(e){if(v(e))throw e}function m(e){if(!v(e))throw e}function y(e,t){const r=d(e);if(!(0,a.Wi)(r)){if(!r.aborted)return(0,o.IH)(r,"abort",(()=>t()));t()}}function g(e,t){const r=d(e);if(!(0,a.Wi)(r))return h(r),(0,o.IH)(r,"abort",(()=>t(c())))}function b(e,t){const r=d(t);return(0,a.Wi)(r)?e:new Promise(((r,n)=>{let s=y(t,(()=>n(c())));const i=()=>s=(0,a.hw)(s);e.then(i,i),e.then(r,n)}))}function v(e){return e&&"AbortError"===e.name}function _(e){return e.catch((e=>{if(!v(e))throw e}))}function w(){let e=null;const t=new Promise(((t,r)=>{e={promise:void 0,resolve:t,reject:r}}));return e.promise=t,e}function x(e){if(!e)return;if("function"!=typeof e.forEach){const t=Object.keys(e);return x(t.map((t=>e[t]))).then((e=>{const r={};return t.forEach(((t,n)=>r[t]=e[n])),r}))}const t=e;return u((e=>{const r=[];let n=t.length;0===n&&e(r),t.forEach((t=>{const s={promise:t||Promise.resolve(t)};r.push(s),s.promise.then((e=>{s.value=e})).catch((e=>{s.error=e})).then((()=>{--n,0===n&&e(r)}))}))}))}function C(e){return x(e).then((e=>e.filter((e=>!!e.value)).map((e=>e.value))))}function E(e){return Promise.reject(e)}function T(e){return Promise.resolve(e)}function S(e,t,r){const n=new AbortController;return y(r,(()=>n.abort())),new Promise(((r,s)=>{let i=setTimeout((()=>{i=0,r(t)}),e);y(n,(()=>{i&&(clearTimeout(i),s(c()))}))}))}function O(e){return e&&"function"==typeof e.then}function I(e){return O(e)?e:Promise.resolve(e)}function F(e,t=-1){let r,n,s,i,o=null;const l=(...u)=>{if(r){n=u,i&&i.reject(c()),i=w();const e=(0,a.j0)(i.promise);if(o){const e=o;o=null,e.abort()}return e}if(s=i||w(),i=null,t>0){const n=new AbortController;r=I(e(...u,n.signal));const s=r;S(t).then((()=>{r===s&&(i?n.abort():o=n)}))}else r=1,r=I(e(...u));const h=()=>{const e=n;n=s=r=o=null,null!=e&&l(...e)},d=r,p=s;return d.then(h,h),d.then(p.resolve,p.reject),(0,a.j0)(p.promise)};return l}function q(){let e,t;const r=new Promise(((r,n)=>{e=r,t=n})),s=t=>{e(t)};return s.resolve=t=>e(t),s.reject=e=>t(e),s.timeout=(e,t)=>n.setTimeout((()=>s.reject(t)),e),s.promise=r,s}function P(e,t){let r,n=new AbortController;const s=e(n.signal);let i={promise:s,finished:!1,abort:()=>{n&&(n.abort(),n=null)}};const o=()=>{i&&(i.finished=!0,i=null),(0,a.pC)(r)&&(r.remove(),r=null),n=null};return s.then(o,o),r=y(t,(()=>{(0,a.pC)(i)&&i.abort()})),i}function R(e){return Promise.resolve().then((()=>{h(e)}))}},67900:(e,t,r)=>{r.d(t,{gV:()=>Z,En:()=>C,Z7:()=>F,c9:()=>I,_R:()=>S,qE:()=>R,cM:()=>O,hd:()=>c,ty:()=>E,Jo:()=>D,$C:()=>T}),r(80442);var n=r(35454),s=r(70586),i=r(24678),o=r(82971),a=r(68441),l=r(8744),u=r(58116);const c=39.37,h=a.sv.radius*Math.PI/200,d=/UNIT\[([^\]]+)\]\]$/i,p=u.Z,f=/UNIT\[([^\]]+)\]/i,m=new Set([4261,4305,4807,4810,4811,4812,4816,4819,4821,4901,4902,37225,104139,104140]),y=(0,n.wY)()({meter:"meters",foot:"feet",foot_us:"us-feet",foot_clarke:"clarke-feet",yard_clarke:"clarke-yards",link_clarke:"clarke-links",yard_sears:"sears-yards",foot_sears:"sears-feet",chain_sears:"sears-chains",chain_benoit_1895_b:"benoit-1895-b-chains",yard_indian:"indian-yards",yard_indian_1937:"indian-1937-yards",foot_gold_coast:"gold-coast-feet",chain_sears_1922_truncated:"sears-1922-truncated-chains","50_kilometers":"50-kilometers","150_kilometers":"150-kilometers"}),g=e=>e*e,b=e=>e*e*e,v={length:{baseUnit:"meters",units:{millimeters:{inBaseUnits:.001},centimeters:{inBaseUnits:.01},decimeters:{inBaseUnits:.1},meters:{inBaseUnits:1},kilometers:{inBaseUnits:1e3},inches:{inBaseUnits:.0254},feet:{inBaseUnits:.3048},yards:{inBaseUnits:.9144},miles:{inBaseUnits:1609.344},"nautical-miles":{inBaseUnits:1852},"us-feet":{inBaseUnits:1200/3937}}},area:{baseUnit:"square-meters",units:{"square-millimeters":{inBaseUnits:g(.001)},"square-centimeters":{inBaseUnits:g(.01)},"square-decimeters":{inBaseUnits:g(.1)},"square-meters":{inBaseUnits:1},"square-kilometers":{inBaseUnits:g(1e3)},"square-inches":{inBaseUnits:g(.0254)},"square-feet":{inBaseUnits:g(.3048)},"square-yards":{inBaseUnits:g(.9144)},"square-miles":{inBaseUnits:g(1609.344)},"square-us-feet":{inBaseUnits:g(1200/3937)},acres:{inBaseUnits:.0015625*g(1609.344)},ares:{inBaseUnits:100},hectares:{inBaseUnits:1e4}}},volume:{baseUnit:"liters",units:{liters:{inBaseUnits:1},"cubic-millimeters":{inBaseUnits:1e3*b(.001)},"cubic-centimeters":{inBaseUnits:1e3*b(.01)},"cubic-decimeters":{inBaseUnits:1e3*b(.1)},"cubic-meters":{inBaseUnits:1e3},"cubic-kilometers":{inBaseUnits:1e3*b(1e3)},"cubic-inches":{inBaseUnits:1e3*b(.0254)},"cubic-feet":{inBaseUnits:1e3*b(.3048)},"cubic-yards":{inBaseUnits:1e3*b(.9144)},"cubic-miles":{inBaseUnits:1e3*b(1609.344)}}},angle:{baseUnit:"radians",units:{radians:{inBaseUnits:1},degrees:{inBaseUnits:Math.PI/180}}}},_=function(){const e={};for(const t in v)for(const r in v[t].units)e[r]=t;return e}();function w(e){const t=_[e];if(t)return t;throw new Error("unknown measure")}function x(e,t=null){return t=t||w(e),v[t].baseUnit===e}function C(e,t,r){if(t===r)return e;const n=w(t);if(n!==w(r))throw new Error("incompatible units");const s=x(t,n)?e:function(e,t,r){return e*v[r].units[t].inBaseUnits}(e,t,n);return x(r,n)?s:function(e,t,r){return e/v[r].units[t].inBaseUnits}(s,r,n)}function E(e,t,r){return C(e,t,"meters")/(r*Math.PI/180)}function T(e){return y.fromJSON(e.toLowerCase())||null}function S(e){if(e&&"object"==typeof e&&!(0,l.N$)(e))return 1;const t=I(e);return t>1e5?1:t}function O(e){return I(e)>=(e instanceof o.Z?(0,i.Iu)(e).metersPerDegree:1e5)?"meters":R(e)}function I(e,t=a.sv.metersPerDegree){return F(e,!0)||t}function F(e,t=!1){let r,n,s=null;if(null!=e&&("object"==typeof e?(r=e.wkid,n=e.wkt):"number"==typeof e?r=e:"string"==typeof e&&(n=e)),r){if((0,l.o$)(r))return a.yr.metersPerDegree;if((0,l.ME)(r))return a.Z1.metersPerDegree;s=p.values[p[r]],!s&&t&&m.has(r)&&(s=h)}else n&&(M(n)?s=q(d.exec(n),s):U(n)&&(s=q(f.exec(n),s)));return s}function q(e,t){return e&&e[1]?P(e[1]):t}function P(e){return parseFloat(e.split(",")[1])}function R(e){let t,r,n=null;if(null!=e&&("object"==typeof e?(t=e.wkid,r=e.wkt):"number"==typeof e?t=e:"string"==typeof e&&(r=e)),t)n=p.units[p[t]];else if(r){const e=M(r)?d:U(r)?f:null;if(e){const t=e.exec(r);t&&t[1]&&(n=function(e){const t=/[\\"\\']{1}([^\\"\\']+)/.exec(e);let r=t&&t[1];if(!r||-1===p.units.indexOf(r)){const t=P(e);r=null;const n=p.values;for(let e=0;e<n.length;++e)if(Math.abs(t-n[e])<1e-7){r=p.units[e];break}}return r}(t[1]))}}return(0,s.pC)(n)?T(n):null}function U(e){return/^GEOCCS/i.test(e)}function M(e){return/^PROJCS/i.test(e)}const L={esriAcres:"acres",esriAres:"ares",esriHectares:"hectares",esriSquareCentimeters:"square-centimeters",esriSquareDecimeters:"square-decimeters",esriSquareFeet:"square-feet",esriSquareInches:"square-inches",esriSquareKilometers:"square-kilometers",esriSquareMeters:"square-meters",esriSquareMiles:"square-miles",esriSquareMillimeters:"square-millimeters",esriSquareUsFeet:"square-us-feet",esriSquareYards:"square-yards"},A={esriCentimeters:"centimeters",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriYards:"yards"},Z=(0,n.wY)()(L),D=(0,n.wY)()(A);(0,n.wY)()({...L,...A})},17452:(e,t,r)=>{r.d(t,{R9:()=>b,qg:()=>F,tD:()=>U,ZN:()=>de,fl:()=>pe,Ie:()=>ue,sJ:()=>Q,AH:()=>J,io:()=>X,L:()=>C,TI:()=>x,vt:()=>ae,oh:()=>Z,P$:()=>B,Ml:()=>fe,ed:()=>M,b7:()=>I,D6:()=>D,tm:()=>L,YP:()=>z,jc:()=>H,HK:()=>W,$U:()=>re,oC:()=>ee,kl:()=>N,v_:()=>$,hF:()=>k,_l:()=>K,PF:()=>V,Fv:()=>G,B7:()=>O,u0:()=>T,Yd:()=>oe,Hu:()=>he,Qj:()=>le,hO:()=>ne,mN:()=>E});var n=r(68773),s=r(20102),i=r(92604),o=r(70586);const a=i.Z.getLogger("esri.core.urlUtils"),l=n.Z.request,u="esri/config: esriConfig.request.proxyUrl is not set.",c=/^\s*[a-z][a-z0-9-+.]*:(?![0-9])/i,h=/^\s*http:/i,d=/^\s*https:/i,p=/^\s*file:/i,f=/:\d+$/,m=/^https?:\/\/[^/]+\.arcgis.com\/sharing(\/|$)/i,y=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),g=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$");class b{constructor(e=""){this.uri=e,this.scheme=null,this.authority=null,this.path=null,this.query=null,this.fragment=null,this.user=null,this.password=null,this.host=null,this.port=null;let t=(0,o.j0)(this.uri.match(y));this.scheme=t[2]||(t[1]?"":null),this.authority=t[4]||(t[3]?"":null),this.path=t[5],this.query=t[7]||(t[6]?"":null),this.fragment=t[9]||(t[8]?"":null),null!=this.authority&&(t=(0,o.j0)(this.authority.match(g)),this.user=t[3]||null,this.password=t[4]||null,this.host=t[6]||t[7],this.port=t[9]||null)}toString(){return this.uri}}const v={};let _=new b(n.Z.applicationUrl);let w=function(){const e=(0,o.j0)(_.path),t=e.substring(0,e.lastIndexOf(e.split("/")[e.split("/").length-1]));return`${_.scheme}://${_.host}${null!=_.port?`:${_.port}`:""}${t}`}();const x=()=>_,C=()=>w;function E(e){const t={path:null,query:null},r=new b(e),n=e.indexOf("?");return null===r.query?t.path=e:(t.path=e.substring(0,n),t.query=T(r.query)),r.fragment&&(t.hash=r.fragment,null===r.query&&(t.path=t.path.substring(0,t.path.length-(r.fragment.length+1)))),t}function T(e){const t=e.split("&"),r={};for(const e of t){if(!e)continue;const t=e.indexOf("=");let n,s;t<0?(n=decodeURIComponent(e),s=""):(n=decodeURIComponent(e.slice(0,t)),s=decodeURIComponent(e.slice(t+1)));let i=r[n];"string"==typeof i&&(i=r[n]=[i]),Array.isArray(i)?i.push(s):r[n]=s}return r}function S(e){return e&&"object"==typeof e&&"toJSON"in e&&"function"==typeof e.toJSON}function O(e,t){return e?t&&"function"==typeof t?Object.keys(e).map((r=>encodeURIComponent(r)+"="+encodeURIComponent(t(r,e[r])))).join("&"):Object.keys(e).map((r=>{const n=e[r];if(null==n)return"";const s=encodeURIComponent(r)+"=",i=t&&t[r];return i?s+encodeURIComponent(i(n)):Array.isArray(n)?n.map((e=>S(e)?s+encodeURIComponent(JSON.stringify(e)):s+encodeURIComponent(e))).join("&"):S(n)?s+encodeURIComponent(JSON.stringify(n)):s+encodeURIComponent(n)})).filter((e=>e)).join("&"):""}function I(e=!1){let t,r=l.proxyUrl;if("string"==typeof e){t=re(e);const n=M(e);n&&(r=n.proxyUrl)}else t=!!e;if(!r)throw a.warn(u),new s.Z("urlutils:proxy-not-set",u);return t&&se()&&(r=ne(r)),E(r)}function F(e){const t=M(e);let r,n;if(t){const e=P(t.proxyUrl);r=e.path,n=e.query?T(e.query):null}if(r){const t=E(e);e=r+"?"+t.path;const s=O({...n,...t.query});s&&(e=`${e}?${s}`)}return e}const q={path:"",query:""};function P(e){const t=e.indexOf("?");return-1!==t?(q.path=e.slice(0,t),q.query=e.slice(t+1)):(q.path=e,q.query=null),q}function R(e){return(e=ie(e=function(e){return e&&"/"===e[e.length-1]?e:`${e}/`}(e=P(e).path),!0)).toLowerCase()}function U(e){const t={proxyUrl:e.proxyUrl,urlPrefix:R(e.urlPrefix)},r=l.proxyRules,n=t.urlPrefix;let s=r.length;for(let e=0;e<r.length;e++){const t=r[e].urlPrefix;if(0===n.indexOf(t)){if(n.length===t.length)return-1;s=e;break}0===t.indexOf(n)&&(s=e+1)}return r.splice(s,0,t),s}function M(e){const t=l.proxyRules,r=R(e);for(let e=0;e<t.length;e++)if(0===r.indexOf(t[e].urlPrefix))return t[e]}function L(e,t){return e=A(e),t=A(t),ie(e)===ie(t)}function A(e){const t=(e=G(e)).indexOf("/sharing");return t>0?e.substring(0,t):e.replace(/\/+$/,"")}function Z(e){const t=t=>null==t||t instanceof RegExp&&t.test(e)||"string"==typeof t&&e.startsWith(t),r=l.interceptors;if(r)for(const e of r)if(Array.isArray(e.urls)){if(e.urls.some(t))return e}else if(t(e.urls))return e;return null}function D(e,t,r=!1){const n=ce(e),s=ce(t);return!(!r&&n.scheme!==s.scheme)&&null!=n.host&&null!=s.host&&n.host.toLowerCase()===s.host.toLowerCase()&&n.port===s.port}function N(e){if("string"==typeof e){if(!z(e))return!0;e=ce(e)}if(D(e,_))return!0;const t=l.trustedServers||[];for(let r=0;r<t.length;r++){const n=j(t[r]);for(let t=0;t<n.length;t++)if(D(e,n[t]))return!0}return!1}function j(e){return v[e]||(te(e)||ee(e)?v[e]=[new b(k(e))]:v[e]=[new b(`http://${e}`),new b(`https://${e}`)]),v[e]}function k(e,t=w,r){return ee(e)?r&&r.preserveProtocolRelative?e:"http"===_.scheme&&_.authority===B(e).slice(2)?`http:${e}`:`https:${e}`:te(e)?e:(0,o.j0)($("/"===e[0]?function(e){const t=e.indexOf("//"),r=e.indexOf("/",t+2);return-1===r?e:e.slice(0,r)}(t):t,e))}function V(e,t=w,r){if(!z(e))return e;const n=G(e),s=n.toLowerCase(),i=G(t).toLowerCase().replace(/\/+$/,""),o=r?G(r).toLowerCase().replace(/\/+$/,""):null;if(o&&0!==i.indexOf(o))return e;const a=(e,t,r)=>-1===(r=e.indexOf(t,r))?e.length:r;let l=a(s,"/",s.indexOf("//")+2),u=-1;for(;s.slice(0,l+1)===i.slice(0,l)+"/"&&(u=l+1,l!==s.length);)l=a(s,"/",l+1);if(-1===u)return e;if(o&&u<o.length)return e;e=n.slice(u);const c=i.slice(u-1).replace(/[^/]+/g,"").length;if(c>0)for(let t=0;t<c;t++)e=`../${e}`;else e=`./${e}`;return e}function G(e){return function(e){const t=l.httpsDomains;if(!function(e){return h.test(e)||"http"===_.scheme&&ee(e)}(e))return e;const r=e.indexOf("/",7);let n;if(n=-1===r?e:e.slice(0,r),n=n.toLowerCase().slice(7),f.test(n)){if(!n.endsWith(":80"))return e;n=n.slice(0,-3),e=e.replace(":80","")}return"http"===_.scheme&&n===_.authority&&!m.test(e)||(se()&&n===_.authority||t&&t.some((e=>n===e||n.endsWith(`.${e}`)))||se()&&!M(e))&&(e=ne(e)),e}(e=function(e){return e.replace(/^(https?:\/\/)(arcgis\.com)/i,"$1www.$2")}(e=function(e){if(/^https?:\/\//i.test(e)){const t=P(e);e=(e=t.path.replace(/\/{2,}/g,"/")).replace("/","//"),t.query&&(e+=`?${t.query}`)}return e}(e=k(e=e.trim()))))}function $(...e){const t=e.filter(o.pC);if(!t||!t.length)return;const r=[];if(z(t[0])){const e=t[0],n=e.indexOf("//");-1!==n&&(r.push(e.slice(0,n+1)),function(e){return p.test(e)}(t[0])&&(r[0]+="/"),t[0]=e.slice(n+2))}else"/"===t[0][0]&&r.push("");const n=t.reduce(((e,t)=>t?e.concat(t.split("/")):e),[]);for(let e=0;e<n.length;e++){const t=n[e];".."===t&&r.length>0&&".."!==r[r.length-1]?r.pop():(!t&&e===n.length-1||t&&("."!==t||0===r.length))&&r.push(t)}return r.join("/")}function B(e,t=!1){if(H(e)||W(e))return null;let r=e.indexOf("://");if(-1===r&&ee(e))r=2;else{if(-1===r)return null;r+=3}const n=e.indexOf("/",r);return-1!==n&&(e=e.slice(0,n)),t&&(e=ie(e,!0)),e}function z(e){return ee(e)||te(e)}function H(e){return null!=e&&"blob:"===e.slice(0,5)}function W(e){return"data:"===e.slice(0,5)}function J(e){const t=Q(e);if(!t||!t.isBase64)return null;const r=atob(t.data),n=new Uint8Array(r.length);for(let e=0;e<r.length;e++)n[e]=r.charCodeAt(e);return n.buffer}const Y=/^data:(.*?)(;base64)?,(.*)$/;function Q(e){const t=e.match(Y);if(!t)return null;const[,r,n,s]=t;return{mediaType:r,isBase64:!!n,data:s}}function K(e){return e.isBase64?`data:${e.mediaType};base64,${e.data}`:`data:${e.mediaType},${e.data}`}function X(e,t){(function(e,t){if(!e)return!1;const r=document.createElement("a");if(!("download"in r))return!1;const n=URL.createObjectURL(e);return r.download=t,r.href=n,r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(n),!0})(e,t)||function(e,t){!!window.navigator.msSaveOrOpenBlob&&window.navigator.msSaveOrOpenBlob(e,t)}(e,t)}function ee(e){return null!=e&&void 0!==e&&"/"===e[0]&&"/"===e[1]}function te(e){return c.test(e)}function re(e){return d.test(e)||"https"===_.scheme&&ee(e)}function ne(e){return ee(e)?`https:${e}`:e.replace(h,"https:")}function se(){return"https"===_.scheme}function ie(e,t=!1){return ee(e)?e.slice(2):(e=e.replace(c,""),t&&e.length>1&&"/"===e[0]&&"/"===e[1]&&(e=e.slice(2)),e)}function oe(e){let t=0;if(z(e)){const r=e.indexOf("//");-1!==r&&(t=r+2)}const r=e.lastIndexOf("/");return r<t?e:e.slice(0,r+1)}function ae(e,t){if(!e)return"";const r=E(e).path.replace(/\/+$/,""),n=r.substring(r.lastIndexOf("/")+1);if(null==t||!t.length)return n;const s=new RegExp(`.(${t.join("|")})$`,"ig");return n.replace(s,"")}function le(e){return e.replace(/\/+$/,"")}function ue(e,t,r){if(!(t&&r&&e&&z(e)))return e;const n=e.indexOf("//"),s=e.indexOf("/",n+2),i=e.indexOf(":",n+2),o=Math.min(s<0?e.length:s,i<0?e.length:i);return e.slice(n+2,o).toLowerCase()!==t.toLowerCase()?e:`${e.slice(0,n+2)}${r}${e.slice(o)}`}function ce(e){return"string"==typeof e?new b(k(e)):(e.scheme||(e.scheme=_.scheme),e)}function he(e,t){const r=E(e),n=Object.keys(r.query||{});return n.length>0&&t&&t.warn("removeQueryParameters()",`Url query parameters are not supported, the following parameters have been removed: ${n.join(", ")}.`),r.path}function de(e,t,r){const n=E(e),s=n.query||{};return s[t]=String(r),`${n.path}?${O(s)}`}function pe(e,t){const r=E(e),n=r.query||{};for(const e in t)n[e]=t[e];const s=O(n);return s?`${r.path}?${s}`:r.path}function fe(e){if((0,o.Wi)(e))return null;const t=e.match(me);return t?t[1]:null}const me=/.*?\.([^\/]*)$/},66577:(e,t,r)=>{r.d(t,{qM:()=>c});var n=r(75215),s=r(6570),i=r(9361),o=r(65091),a=r(13473),l=r(17332),u=r(58901);r(82971),r(86973),r(33955);const c={base:i.Z,key:"type",typeMap:{extent:s.Z,multipoint:o.Z,point:a.Z,polyline:u.Z,polygon:l.Z}};(0,n.N7)(c)},24678:(e,t,r)=>{r.d(t,{GG:()=>a,HQ:()=>l,VY:()=>u,wY:()=>c,Iu:()=>d,e8:()=>p,rS:()=>h});var n=r(82971),s=r(68441),i=r(8744);function o(e){return new n.Z({wkt:`GEOCCS["Spherical geocentric",\n DATUM["Not specified",\n SPHEROID["Sphere",${e.radius},0]],\n PRIMEM["Greenwich",0.0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",EAST],\n AXIS["Geocentric Z",NORTH]\n ]`})}const a=o(s.sv),l=o(s.yr),u=o(s.Z1),c=new n.Z({wkt:`GEOCCS["WGS 84",\n DATUM["WGS_1984",\n SPHEROID["WGS 84",${s.sv.radius},298.257223563,\n AUTHORITY["EPSG","7030"]],\n AUTHORITY["EPSG","6326"]],\n PRIMEM["Greenwich",0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0,\n AUTHORITY["EPSG","9001"]],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",OTHER],\n AXIS["Geocentric Z",NORTH],\n AUTHORITY["EPSG","4978"]\n]`});function h(e){return e&&((0,i.BZ)(e)||e===l)?l:e&&((0,i.V2)(e)||e===u)?u:a}function d(e){return e&&((0,i.BZ)(e)||e===l)?s.yr:e&&((0,i.V2)(e)||e===u)?s.Z1:s.sv}function p(e){return(0,i.o$)(e)?s.yr:(0,i.ME)(e)?s.Z1:s.sv}},33955:(e,t,r)=>{r.d(t,{im:()=>m,q9:()=>b,Ji:()=>y,YX:()=>c,aW:()=>h,wp:()=>d,oU:()=>f,l9:()=>p});var n=r(70586),s=r(6570),i=r(9361),o=r(65091),a=r(13473),l=r(17332),u=r(58901);function c(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function h(e){return void 0!==e.points}function d(e){return void 0!==e.x&&void 0!==e.y}function p(e){return void 0!==e.paths}function f(e){return void 0!==e.rings}function m(e){return(0,n.Wi)(e)?null:e instanceof i.Z?e:d(e)?a.Z.fromJSON(e):p(e)?u.Z.fromJSON(e):f(e)?l.Z.fromJSON(e):h(e)?o.Z.fromJSON(e):c(e)?s.Z.fromJSON(e):null}function y(e){return e?d(e)?"esriGeometryPoint":p(e)?"esriGeometryPolyline":f(e)?"esriGeometryPolygon":c(e)?"esriGeometryEnvelope":h(e)?"esriGeometryMultipoint":null:null}const g={esriGeometryPoint:a.Z,esriGeometryPolyline:u.Z,esriGeometryPolygon:l.Z,esriGeometryEnvelope:s.Z,esriGeometryMultipoint:o.Z};function b(e){return e&&g[e]||null}},86973:(e,t,r)=>{r.d(t,{Mk:()=>s,P$:()=>i});var n=r(35454);const s=(0,n.wY)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),i=(0,n.wY)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"})},40330:(e,t,r)=>{r.d(t,{Dp:()=>u,id:()=>a,qh:()=>l,i8:()=>i,Nv:()=>o});var n=r(80442),s=r(17452);const i="4.23",o={async request(e,t){var n;const{default:i}=await r.e(3172).then(r.bind(r,3172)),o=e.options,a=o.responseType;o.signal=null==t?void 0:t.signal,o.responseType="native"===a||"native-request-init"===a?"native-request-init":["blob","json","text"].includes(a)&&null!=(n=(0,s.oh)(e.url))&&n.after?a:"array-buffer";const l=await i(e.url,o),u={data:l.data,ssl:l.ssl};switch(l.requestOptions.responseType){case"native-request-init":return delete u.data.signal,u;case"blob":u.data=await u.data.arrayBuffer();break;case"json":u.data=(new TextEncoder).encode(JSON.stringify(u.data)).buffer;break;case"text":u.data=(new TextEncoder).encode(u.data).buffer}return{result:u,transferList:[u.data]}}};let a;function l(e){a=e}function u(e){const t=a&&a.findCredential(e);return t&&t.token?(0,s.ZN)(e,"token",t.token):e}(0,n.Z)("host-webworker")||((0,n.Z)("edge")||(0,n.Z)("trident"))&&console.warn("Deprecated browser - see http://esriurl.com/oldbrowser")},88068:(e,t,r)=>{r.r(t),r.d(t,{default:()=>V});var n=r(43697),s=(r(66577),r(51773)),i=(r(16050),r(12501),r(95088),r(79056),r(5499),r(84382),r(30687),r(91423),r(32400)),o=r(16453),a=r(5600),l=(r(67676),r(80442),r(75215),r(52011)),u=r(86973),c=r(29600),h=r(20102),d=r(83379),p=r(70586),f=r(16467),m=r(74889),y=r(82971);let g=class extends d.Z{constructor(){super(...arguments),this.featureDefinition=null,this.type="ogc-feature"}load(e){return this.addResolvingPromise(this._loadOGCServices(this.layer,e)),this.when()}getFeatureDefinition(){const{featureDefinition:{collection:e,layerDefinition:t,spatialReference:r,supportedCrs:n},layer:{apiKey:s,capabilities:i,customParameters:o}}=this;return{capabilities:i,collection:e,layerDefinition:t,queryParameters:{apiKey:s,customParameters:o},spatialReference:r,supportedCrs:n}}queryExtent(e,t={}){return null}queryFeatureCount(e,t={}){return null}queryFeatures(e,t={}){return this.queryFeaturesJSON(e,t).then((e=>m.default.fromJSON(e)))}queryFeaturesJSON(e,t={}){const r=this.getFeatureDefinition();return this.load(t).then((()=>(0,f.yN)(r,e,t)))}queryObjectIds(e,t={}){return null}supportsSpatialReference(e){return!(!e.isWGS84&&!e.isWebMercator&&!this.featureDefinition.supportedCrs[e.wkid])}_conformsToType(e,t){var r;const n=new RegExp(`^${t}$`,"i");return null!=(r=e.conformsTo.some((e=>n.test(e))))&&r}_getCapabilities(e,t){var r,n,s,i,o,a,l;const u=(0,p.pC)(t)?null==(r=t.components)?void 0:r.parameters:null;return{attachment:null,data:{isVersioned:!1,supportsAttachment:!1,supportsM:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:!1,supportsDelete:!1,supportsEditing:!1,supportsChangeTracking:!1,supportsQuery:!1,supportsQueryAttachments:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:!1,supportsExceedsLimitStatistics:!1},query:{maxRecordCount:null!=(n=null!=(s=null==u||null==(i=u.limit)||null==(o=i.schema)?void 0:o.maximum)?s:null==u||null==(a=u.limitFeatures)||null==(l=a.schema)?void 0:l.maximum)?n:5e3,maxRecordCountFactor:void 0,standardMaxRecordCount:void 0,supportsCacheHint:!1,supportsCentroid:!1,supportsDisjointSpatialRelationship:!1,supportsDistance:!1,supportsDistinct:!1,supportsExtent:!1,supportsFormatPBF:!1,supportsGeometryProperties:!1,supportsHavingClause:!1,supportsHistoricMoment:!1,supportsMaxRecordCountFactor:!1,supportsOrderBy:!1,supportsPagination:!1,supportsPercentileStatistics:!1,supportsQuantization:!1,supportsQuantizationEditMode:!1,supportsQueryByOthers:!1,supportsQueryGeometry:!1,supportsResultType:!1,supportsStandardizedQueriesOnly:!1,supportsTopFeaturesQuery:!1,supportsStatistics:!1,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsSqlExpression:!1,tileMaxRecordCount:void 0},queryRelated:{supportsCount:!1,supportsOrderBy:!1,supportsPagination:!1},editing:{supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsGeometryUpdate:!1,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsUploadWithItemId:!1,supportsUpdateWithoutM:!1}}}_getExtent(e){var t;const r=null==(t=e.extent)?void 0:t.spatial;if(!r)return null;const n=r.bbox[0],s=4===n.length,i=n[0],o=n[1],a=s?void 0:n[2];return{xmin:i,ymin:o,xmax:s?n[2]:n[3],ymax:s?n[3]:n[4],zmin:a,zmax:s?void 0:n[5],spatialReference:y.Z.WGS84.toJSON()}}_getStorageSpatialReference(e){var t;const r=null!=(t=e.storageCrs)?t:f.$9,n=(0,f.d)(r);return(0,p.Wi)(n)?y.Z.WGS84:new y.Z({wkid:n})}_getSupportedSpatialReferences(e,t){var r;const n="#/crs",s=null!=(r=e.crs)?r:[f.$9],i=s.includes(n)?s.filter((e=>e!==n)).concat(t.crs):s,o=/^http:\/\/www\.opengis.net\/def\/crs\/epsg\/.*\/3785$/i;return i.filter((e=>!o.test(e)))}async _loadOGCServices(e,t){const r=(0,p.pC)(t)?t.signal:null,{apiKey:n,collectionId:s,customParameters:i,fields:o,geometryType:a,hasZ:l,objectIdField:c,timeInfo:d,url:m}=e,y={fields:null==o?void 0:o.map((e=>e.toJSON())),geometryType:u.P$.toJSON(a),hasZ:l,objectIdField:c,timeInfo:null==d?void 0:d.toJSON()},g={apiKey:n,customParameters:i,signal:r},b=await(0,f.gp)(m,g),[v,_]=await Promise.all([(0,f.G4)(b,g),(0,f.j)(b,g)]);if(!this._conformsToType(v,"http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/geojson"))throw new h.Z("ogc-feature-layer:no-geojson-support","Server does not support geojson");const w=_.collections.find((e=>e.id===s));if(!w)throw new h.Z("ogc-feature-layer:collection-not-found","Server does not contain the named collection");const x=this._conformsToType(v,"http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/oas30")?await(0,f.eS)(b,g):null,C=await(0,f.w9)(w,y,g),E=this._getCapabilities(C.hasZ,x),T=this._getExtent(w),S=this._getStorageSpatialReference(w).toJSON(),O=this._getSupportedSpatialReferences(w,_),I=new RegExp(`^${f.Lu}`,"i"),F={};for(const e of O){const t=(0,f.d)(e);(0,p.pC)(t)&&(F[t]||(F[t]=e.replace(I,"")))}C.extent=T,this.featureDefinition={capabilities:E,collection:w,layerDefinition:C,queryParameters:{},spatialReference:S,supportedCrs:F}}};(0,n._)([(0,a.Cb)()],g.prototype,"featureDefinition",void 0),(0,n._)([(0,a.Cb)({constructOnly:!0})],g.prototype,"layer",void 0),(0,n._)([(0,a.Cb)()],g.prototype,"type",void 0),g=(0,n._)([(0,l.j)("esri.layers.graphics.sources.OGCFeatureSource")],g);const b=g;var v=r(54295),_=r(71612),w=r(17017),x=r(69637),C=r(38009),E=r(68825),T=r(16859),S=r(34760),O=r(72965),I=r(28294),F=r(21506),q=r(55785),P=r(16451),R=r(1231),U=r(53518),M=r(35671),L=r(2319),A=r(30707),Z=r(57444),D=r(32163),N=r(6570);const j=(0,U.v)();let k=class extends((0,v.V)((0,w.N)((0,x.b)((0,_.h)((0,E.c)((0,I.n)((0,O.M)((0,C.q)((0,T.I)((0,S.Q)((0,o.R)(c.Z)))))))))))){constructor(e){super(e),this.collectionId=null,this.copyright=null,this.definitionExpression=null,this.description=null,this.displayField=null,this.elevationInfo=null,this.featureReduction=null,this.fields=null,this.fieldsIndex=null,this.fullExtent=null,this.geometryType=null,this.hasZ=void 0,this.labelingInfo=null,this.labelsVisible=!0,this.legendEnabled=!0,this.objectIdField=null,this.operationalLayerType="OGCFeatureLayer",this.popupEnabled=!0,this.popupTemplate=null,this.screenSizePerspectiveEnabled=!0,this.source=new b({layer:this}),this.spatialReference=null,this.title=null,this.type="ogc-feature",this.typeIdField=null,this.types=null,this.url=null}destroy(){var e;null==(e=this.source)||e.destroy()}load(e){return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["OGCFeatureServer"]},e).then((()=>this._fetchService(e)))),this.when()}get defaultPopupTemplate(){return this.createPopupTemplate()}get isTable(){return this.loaded&&null==this.geometryType}set renderer(e){(0,M.YN)(e,this.fieldsIndex),this._set("renderer",e)}on(e,t){return super.on(e,t)}createPopupTemplate(e){return(0,D.eZ)(this,e)}createQuery(){return new Z.Z}getField(e){return this.fieldsIndex.get(e)}getFieldDomain(e,t){var r;let n,s=!1;const i=null==t||null==(r=t.feature)?void 0:r.attributes,o=this.typeIdField&&(null==i?void 0:i[this.typeIdField]);return null!=o&&this.types&&(s=this.types.some((t=>{var r,s;return t.id==o&&(n=null==(r=t.domains)?void 0:r[e],"inherited"===(null==(s=n)?void 0:s.type)&&(n=this._getLayerDomain(e)),!0)}))),s||n||(n=this._getLayerDomain(e)),n}queryFeatures(e,t){return this.load().then((()=>this.source.queryFeatures(Z.Z.from(e)||this.createQuery(),t))).then((e=>{var t;return null==e||null==(t=e.features)||t.forEach((e=>{e.layer=e.sourceLayer=this})),e}))}async _fetchService(e){await this.source.load(e),this.read(this.source.featureDefinition,{origin:"service"}),(0,M.YN)(this.renderer,this.fieldsIndex),(0,M.UF)(this.timeInfo,this.fieldsIndex)}_getLayerDomain(e){if(!this.fields)return null;for(const t of this.fields)if(t.name===e&&t.domain)return t.domain;return null}};(0,n._)([(0,a.Cb)({readOnly:!0,json:{origins:{service:{read:!0}}}})],k.prototype,"capabilities",void 0),(0,n._)([(0,a.Cb)({type:String,json:{write:!0}})],k.prototype,"collectionId",void 0),(0,n._)([(0,a.Cb)({type:String})],k.prototype,"copyright",void 0),(0,n._)([(0,a.Cb)({readOnly:!0})],k.prototype,"defaultPopupTemplate",null),(0,n._)([(0,a.Cb)({type:String})],k.prototype,"definitionExpression",void 0),(0,n._)([(0,a.Cb)({readOnly:!0,type:String,json:{origins:{service:{name:"collection.description"}}}})],k.prototype,"description",void 0),(0,n._)([(0,a.Cb)({type:String})],k.prototype,"displayField",void 0),(0,n._)([(0,a.Cb)(F.PV)],k.prototype,"elevationInfo",void 0),(0,n._)([(0,a.Cb)(q.d)],k.prototype,"featureReduction",void 0),(0,n._)([(0,a.Cb)({type:[R.Z],json:{origins:{service:{name:"layerDefinition.fields"}}}})],k.prototype,"fields",void 0),(0,n._)([(0,a.Cb)(j.fieldsIndex)],k.prototype,"fieldsIndex",void 0),(0,n._)([(0,a.Cb)({readOnly:!0,type:N.Z,json:{origins:{service:{name:"layerDefinition.extent"}}}})],k.prototype,"fullExtent",void 0),(0,n._)([(0,a.Cb)({type:u.Mk.apiValues,json:{origins:{service:{name:"layerDefinition.geometryType",read:{reader:u.Mk.read}}}}})],k.prototype,"geometryType",void 0),(0,n._)([(0,a.Cb)({type:Boolean,json:{origins:{service:{name:"layerDefinition.hasZ"}}}})],k.prototype,"hasZ",void 0),(0,n._)([(0,a.Cb)({type:Boolean,readOnly:!0})],k.prototype,"isTable",null),(0,n._)([(0,a.Cb)({type:[L.Z],json:{origins:{"web-document":{name:"layerDefinition.drawingInfo.labelingInfo",read:{reader:A.r},write:!0}}}})],k.prototype,"labelingInfo",void 0),(0,n._)([(0,a.Cb)(F.iR)],k.prototype,"labelsVisible",void 0),(0,n._)([(0,a.Cb)(F.rn)],k.prototype,"legendEnabled",void 0),(0,n._)([(0,a.Cb)({type:String,json:{origins:{service:{name:"layerDefinition.objectIdField"}}}})],k.prototype,"objectIdField",void 0),(0,n._)([(0,a.Cb)({type:["OGCFeatureLayer"]})],k.prototype,"operationalLayerType",void 0),(0,n._)([(0,a.Cb)(F.C_)],k.prototype,"popupEnabled",void 0),(0,n._)([(0,a.Cb)({type:s.Z,json:{name:"popupInfo",write:!0}})],k.prototype,"popupTemplate",void 0),(0,n._)([(0,a.Cb)({types:i.A,json:{origins:{service:{name:"layerDefinition.drawingInfo.renderer",write:!1},"web-scene":{types:i.o,name:"layerDefinition.drawingInfo.renderer",write:!0}},name:"layerDefinition.drawingInfo.renderer",write:!0}})],k.prototype,"renderer",null),(0,n._)([(0,a.Cb)(F.YI)],k.prototype,"screenSizePerspectiveEnabled",void 0),(0,n._)([(0,a.Cb)({readOnly:!0})],k.prototype,"source",void 0),(0,n._)([(0,a.Cb)({readOnly:!0,type:y.Z,json:{origins:{service:{read:!0}}}})],k.prototype,"spatialReference",void 0),(0,n._)([(0,a.Cb)({type:String,json:{write:{enabled:!0,ignoreOrigin:!0,isRequired:!0},origins:{service:{name:"collection.title"}}}})],k.prototype,"title",void 0),(0,n._)([(0,a.Cb)({readOnly:!0,json:{read:!1}})],k.prototype,"type",void 0),(0,n._)([(0,a.Cb)({type:String,readOnly:!0})],k.prototype,"typeIdField",void 0),(0,n._)([(0,a.Cb)({type:[P.Z]})],k.prototype,"types",void 0),(0,n._)([(0,a.Cb)(F.HQ)],k.prototype,"url",void 0),k=(0,n._)([(0,l.j)("esri.layers.OGCFeatureLayer")],k);const V=k},70272:(e,t,r)=>{r.d(t,{nd:()=>o,ZP:()=>s,S6:()=>i});var n=r(70586);class s{constructor(e=null,t={},r,n){this.geometry=e,this.attributes=t,this.centroid=r,this.objectId=n,this.displayId=0,this.geohashX=0,this.geohashY=0}weakClone(){const e=new s(this.geometry,this.attributes,this.centroid,this.objectId);return e.displayId=this.displayId,e.geohashX=this.geohashX,e.geohashY=this.geohashY,e}}function i(e){return!((0,n.Wi)(e.geometry)||!e.geometry.coords||!e.geometry.coords.length)}class o extends s{}},44876:(e,t,r)=>{r.d(t,{Z:()=>n});class n{constructor(){this.objectIdFieldName=null,this.globalIdFieldName=null,this.geohashFieldName=null,this.geometryProperties=null,this.geometryType=null,this.spatialReference=null,this.hasZ=!1,this.hasM=!1,this.features=[],this.fields=[],this.transform=null,this.exceededTransferLimit=!1,this.uniqueIdField=null,this.queryGeometryType=null,this.queryGeometry=null}weakClone(){const e=new n;return e.objectIdFieldName=this.objectIdFieldName,e.globalIdFieldName=this.globalIdFieldName,e.geohashFieldName=this.geohashFieldName,e.geometryProperties=this.geometryProperties,e.geometryType=this.geometryType,e.spatialReference=this.spatialReference,e.hasZ=this.hasZ,e.hasM=this.hasM,e.features=this.features,e.fields=this.fields,e.transform=this.transform,e.exceededTransferLimit=this.exceededTransferLimit,e.uniqueIdField=this.uniqueIdField,e.queryGeometry=this.queryGeometry,e.queryGeometryType=this.queryGeometryType,e}}},5428:(e,t,r)=>{r.d(t,{Z:()=>n});class n{constructor(e=[],t=[],r=!1){this.lengths=null!=e?e:[],this.coords=null!=t?t:[],this.hasIndeterminateRingOrder=r}get isPoint(){return 0===this.lengths.length}get maxLength(){return Math.max(...this.lengths)}get size(){return this.lengths.reduce(((e,t)=>e+t))}forEachVertex(e){let t=0;this.lengths.length||e(this.coords[0],this.coords[1]);for(let r=0;r<this.lengths.length;r++){const n=this.lengths[r];for(let r=0;r<n;r++)e(this.coords[2*(r+t)],this.coords[2*(r+t)+1]);t+=n}}clone(e){return e?(e.set(this.coords),new n(this.lengths.slice(),e,this.hasIndeterminateRingOrder)):new n(this.lengths.slice(),this.coords.slice(),this.hasIndeterminateRingOrder)}}},61159:(e,t,r)=>{r.d(t,{g:()=>n});const n={supportsStatistics:!0,supportsPercentileStatistics:!0,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsCentroid:!0,supportsCacheHint:!1,supportsDistance:!0,supportsDistinct:!0,supportsExtent:!0,supportsGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryGeometry:!0,supportsResultType:!1,supportsSqlExpression:!0,supportsMaxRecordCountFactor:!1,supportsStandardizedQueriesOnly:!0,supportsTopFeaturesQuery:!1,supportsQueryByOthers:!0,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsDisjointSpatialRelationship:!0,maxRecordCountFactor:void 0,maxRecordCount:void 0,standardMaxRecordCount:void 0,tileMaxRecordCount:void 0}},98732:(e,t,r)=>{r.d(t,{XA:()=>j,h_:()=>H,Yn:()=>k,GH:()=>G,Uy:()=>Z,EI:()=>V,cn:()=>z,di:()=>$,Iv:()=>R,fQ:()=>x,eG:()=>A,J6:()=>M,oB:()=>ie,zj:()=>Q,$:()=>ee,lz:()=>se,RZ:()=>J,Nh:()=>Y,Jd:()=>b,IN:()=>v,hY:()=>re,lM:()=>W,$g:()=>te});var n=r(20102),s=r(92604),i=r(70586),o=r(33955),a=r(70272),l=r(44876),u=r(5428);function c(e,t){return e?t?4:3:t?3:2}const h=s.Z.getLogger("esri.tasks.support.optimizedFeatureSet"),d={esriGeometryPoint:0,esriGeometryPolyline:2,esriGeometryPolygon:3,esriGeometryMultipoint:0},p=(e,t,r,n,s,i)=>{e[r]=s,e[r+1]=i},f=(e,t,r,n,s,i)=>{e[r]=s,e[r+1]=i,e[r+2]=t[n+2]},m=(e,t,r,n,s,i)=>{e[r]=s,e[r+1]=i,e[r+2]=t[n+3]},y=(e,t,r,n,s,i)=>{e[r]=s,e[r+1]=i,e[r+2]=t[n+2],e[r+3]=t[n+3]};function g(e,t,r,n){if(e){if(r)return t&&n?y:f;if(t&&n)return m}else if(t&&n)return f;return p}function b({scale:e,translate:t},r){return Math.round((r-t[0])/e[0])}function v({scale:e,translate:t},r){return Math.round((t[1]-r)/e[1])}function _({scale:e,translate:t},r){return r*e[0]+t[0]}function w({scale:e,translate:t},r){return t[1]-r*e[1]}function x(e,t,r){return e?t?r?F(e):T(e):r?O(e):C(e):null}function C(e){const t=e.coords;return{x:t[0],y:t[1]}}function E(e,t){return e.coords[0]=t.x,e.coords[1]=t.y,e}function T(e){const t=e.coords;return{x:t[0],y:t[1],z:t[2]}}function S(e,t){return e.coords[0]=t.x,e.coords[1]=t.y,e.coords[2]=t.z,e}function O(e){const t=e.coords;return{x:t[0],y:t[1],m:t[2]}}function I(e,t){return e.coords[0]=t.x,e.coords[1]=t.y,e.coords[2]=t.m,e}function F(e){const t=e.coords;return{x:t[0],y:t[1],z:t[2],m:t[3]}}function q(e,t){return e.coords[0]=t.x,e.coords[1]=t.y,e.coords[2]=t.z,e.coords[3]=t.m,e}function P(e,t){return e&&t?q:e?S:t?I:E}function R(e,t,r){if((0,i.Wi)(e))return null;const n=c(t,r),s=[];for(let t=0;t<e.coords.length;t+=n){const r=[];for(let s=0;s<n;s++)r.push(e.coords[t+s]);s.push(r)}return t?r?{points:s,hasZ:t,hasM:r}:{points:s,hasZ:t}:r?{points:s,hasM:r}:{points:s}}function U(e,t,r=c(t.hasZ,t.hasM)){e.lengths[0]=t.points.length;const n=e.coords;let s=0;for(const e of t.points)for(let t=0;t<r;t++)n[s++]=e[t];return e}function M(e,t,r){if(!e)return null;const n=c(t,r),{coords:s,lengths:i}=e,o=[];let a=0;for(const e of i){const t=[];for(let r=0;r<e;r++){const e=[];for(let t=0;t<n;t++)e.push(s[a++]);t.push(e)}o.push(t)}return t?r?{paths:o,hasZ:t,hasM:r}:{paths:o,hasZ:t}:r?{paths:o,hasM:r}:{paths:o}}function L(e,t,r=c(t.hasZ,t.hasM)){const{lengths:n,coords:s}=e;let i=0;for(const e of t.paths){for(const t of e)for(let e=0;e<r;e++)s[i++]=t[e];n.push(e.length)}return e}function A(e,t,r){if(!e)return null;const n=c(t,r),{coords:s,lengths:i}=e,o=[];let a=0;for(const e of i){const t=[];for(let r=0;r<e;r++){const e=[];for(let t=0;t<n;t++)e.push(s[a++]);t.push(e)}o.push(t)}return t?r?{rings:o,hasZ:t,hasM:r}:{rings:o,hasZ:t}:r?{rings:o,hasM:r}:{rings:o}}function Z(e,t,r=t.hasZ,n=t.hasM){return function(e,t,r,n){const s=c(r,n),{lengths:i,coords:o}=e;let a=0;i.length=o.length=0;for(const e of t){for(const t of e)for(let e=0;e<s;e++)o[a++]=t[e];i.push(e.length)}}(e,t.rings,r,n),e}const D=[],N=[];function j(e,t,r,n,s){D[0]=e;const[i]=k(N,D,t,r,n,s);return D.length=N.length=0,i}function k(e,t,r,s,o,l){if(e.length=0,!r){for(const r of t){const t=r.attributes[l];e.push(new a.ZP(null,r.attributes,null,t))}return e}switch(r){case"esriGeometryPoint":return function(e,t,r,n,s){const i=P(r,n);for(const r of t){const{geometry:t,attributes:n}=r;let o;t&&(o=i(new u.Z,t)),e.push(new a.ZP(o,n,null,n[s]))}return e}(e,t,s,o,l);case"esriGeometryMultipoint":return function(e,t,r,n,s){const i=c(r,n);for(const r of t){const t=r.geometry,n=r.attributes;let o;t&&(o=U(new u.Z,t,i)),e.push(new a.ZP(o,n,null,n[s]))}return e}(e,t,s,o,l);case"esriGeometryPolyline":return function(e,t,r,n,s){const i=c(r,n);for(const r of t){const t=r.geometry,n=r.attributes;let o;t&&(o=L(new u.Z,t,i)),e.push(new a.ZP(o,n,null,n[s]))}return e}(e,t,s,o,l);case"esriGeometryPolygon":return function(e,t,r,n,s){for(const o of t){const t=o.geometry,l=o.centroid,c=o.attributes;let h;t&&(h=Z(new u.Z,t,r,n)),(0,i.pC)(l)?e.push(new a.ZP(h,c,E(new u.Z,l),c[s])):e.push(new a.ZP(h,c,null,c[s]))}return e}(e,t,s,o,l);default:h.error("convertToFeatureSet:unknown-geometry",new n.Z(`Unable to parse unknown geometry type '${r}'`)),e.length=0}return e}function V(e,t,r,n){N[0]=e,B(D,N,t,r,n);const s=D[0];return D.length=N.length=0,s}function G(e,t,r){if((0,i.Wi)(e))return null;const s=new u.Z;return"hasZ"in e&&null==t&&(t=e.hasZ),"hasM"in e&&null==r&&(r=e.hasM),(0,o.wp)(e)?P(null!=t?t:null!=e.z,null!=r?r:null!=e.m)(s,e):(0,o.oU)(e)?Z(s,e,t,r):(0,o.l9)(e)?L(s,e,c(t,r)):(0,o.aW)(e)?U(s,e,c(t,r)):void h.error("convertFromGeometry:unknown-geometry",new n.Z(`Unable to parse unknown geometry type '${e}'`))}function $(e,t,r,s){const o=e&&("coords"in e?e:e.geometry);if((0,i.Wi)(o))return null;switch(t){case"esriGeometryPoint":{let e=C;return r&&s?e=F:r?e=T:s&&(e=O),e(o)}case"esriGeometryMultipoint":return R(o,r,s);case"esriGeometryPolyline":return M(o,r,s);case"esriGeometryPolygon":return A(o,r,s);default:return void h.error("convertToGeometry:unknown-geometry",new n.Z(`Unable to parse unknown geometry type '${t}'`))}}function B(e,t,r,s,o){if(e.length=0,(0,i.Wi)(r))return function(e,t){for(const r of t)e.push({attributes:r.attributes});return e}(e,t);switch(r){case"esriGeometryPoint":return function(e,t,r,n){let s=C;r&&n?s=F:r?s=T:n&&(s=O);for(const r of t){const{geometry:t,attributes:n}=r,o=(0,i.pC)(t)?s(t):null;e.push({attributes:n,geometry:o})}return e}(e,t,s,o);case"esriGeometryMultipoint":return function(e,t,r,n){for(const s of t){const{geometry:t,attributes:i}=s;let o;t&&(o=R(t,r,n)),e.push({attributes:i,geometry:o})}return e}(e,t,s,o);case"esriGeometryPolyline":return function(e,t,r,n){for(const s of t){const{geometry:t,attributes:o}=s;let a;(0,i.pC)(t)&&(a=M(t,r,n)),e.push({attributes:o,geometry:a})}return e}(e,t,s,o);case"esriGeometryPolygon":return function(e,t,r,n){for(const s of t){const{geometry:t,attributes:o,centroid:a}=s;let l;if((0,i.pC)(t)&&(l=A(t,r,n)),a){const t=C(a);e.push({attributes:o,centroid:t,geometry:l})}else e.push({attributes:o,geometry:l})}return e}(e,t,s,o);default:h.error("convertToFeatureSet:unknown-geometry",new n.Z(`Unable to parse unknown geometry type '${r}'`))}return e}function z(e){const{objectIdFieldName:t,spatialReference:r,transform:n,fields:s,hasM:i,hasZ:o,features:a,geometryType:l,exceededTransferLimit:u,uniqueIdField:c,queryGeometry:h,queryGeometryType:d}=e,p={features:B([],a,l,o,i),fields:s,geometryType:l,objectIdFieldName:t,spatialReference:r,uniqueIdField:c,queryGeometry:$(h,d,!1,!1)};return n&&(p.transform=n),u&&(p.exceededTransferLimit=u),i&&(p.hasM=i),o&&(p.hasZ=o),p}function H(e,t){const r=new l.Z,{hasM:s,hasZ:i,features:o,objectIdFieldName:a,spatialReference:u,geometryType:c,exceededTransferLimit:d,transform:p,fields:f}=e;return f&&(r.fields=f),r.geometryType=c,r.objectIdFieldName=a||t,r.spatialReference=u,r.objectIdFieldName?(o&&k(r.features,o,c,i,s,r.objectIdFieldName),d&&(r.exceededTransferLimit=d),s&&(r.hasM=s),i&&(r.hasZ=i),p&&(r.transform=p),r):(h.error(new n.Z("optimized-features:invalid-objectIdFieldName","objectIdFieldName is missing")),r)}function W(e){const{transform:t,features:r,hasM:n,hasZ:s}=e;if(!t)return e;for(const e of r)(0,i.pC)(e.geometry)&&te(e.geometry,e.geometry,n,s,t),e.centroid&&te(e.centroid,e.centroid,n,s,t);return e.transform=null,e}function J(e,t){const{geometryType:r,features:n,hasM:s,hasZ:i}=t;if(!e)return t;for(let t=0;t<n.length;t++){const o=n[t],a=o.weakClone();a.geometry=new u.Z,Y(a.geometry,o.geometry,s,i,r,e),o.centroid&&(a.centroid=new u.Z,Y(a.centroid,o.centroid,s,i,"esriGeometryPoint",e)),n[t]=a}return t.transform=e,t}function Y(e,t,r,n,s,o,a=r,l=n){if(e.lengths.length&&(e.lengths.length=0),e.coords.length&&(e.coords.length=0),(0,i.Wi)(t)||!t.coords.length)return null;const u=d[s],{coords:h,lengths:p}=t,f=c(r,n),m=c(r&&a,n&&l),y=g(r,n,a,l);if(!p.length)return y(e.coords,h,0,0,b(o,h[0]),v(o,h[1])),e.lengths.length&&(e.lengths.length=0),e.coords.length=f,e;let _,w,x,C,E=0,T=0,S=T;for(const t of p){if(t<u)continue;let r=0;T=S,x=_=b(o,h[E]),C=w=v(o,h[E+1]),y(e.coords,h,T,E,x,C),r++,E+=f,T+=m;for(let n=1;n<t;n++,E+=f)x=b(o,h[E]),C=v(o,h[E+1]),x===_&&C===w||(y(e.coords,h,T,E,x-_,C-w),T+=m,r++,_=x,w=C);r>=u&&(e.lengths.push(r),S=T)}return e.coords.length=S,e.coords.length?e:null}function Q(e,t,r,n,s,i,o=r,a=n){if(e.lengths.length&&(e.lengths.length=0),e.coords.length&&(e.coords.length=0),!t||!t.coords.length)return null;const l=d[s],{coords:u,lengths:h}=t,p=c(r,n),f=c(r&&o,n&&a),m=g(r,n,o,a);if(!h.length)return m(e.coords,u,0,0,u[0],u[1]),e.lengths.length&&(e.lengths.length=0),e.coords.length=p,e;let y=0;const b=i*i;for(const t of h){if(t<l){y+=t*p;continue}const r=e.coords.length/f,n=y,s=y+(t-1)*p;m(e.coords,u,e.coords.length,n,u[n],u[n+1]),X(e.coords,u,p,b,m,n,s),m(e.coords,u,e.coords.length,s,u[s],u[s+1]);const i=e.coords.length/f-r;i>=l?e.lengths.push(i):e.coords.length=r*f,y+=t*p}return e.coords.length?e:null}function K(e,t,r,n){const s=e[t],i=e[t+1],o=e[r],a=e[r+1],l=e[n],u=e[n+1];let c=o,h=a,d=l-c,p=u-h;if(0!==d||0!==p){const e=((s-c)*d+(i-h)*p)/(d*d+p*p);e>1?(c=l,h=u):e>0&&(c+=d*e,h+=p*e)}return d=s-c,p=i-h,d*d+p*p}function X(e,t,r,n,s,i,o){let a,l=n,u=0;for(let e=i+r;e<o;e+=r)a=K(t,e,i,o),a>l&&(u=e,l=a);l>n&&(u-i>r&&X(e,t,r,n,s,i,u),s(e,t,e.length,u,t[u],t[u+1]),o-u>r&&X(e,t,r,n,s,u,o))}function ee(e,t,r,n){if((0,i.Wi)(t)||!t.coords||!t.coords.length)return null;const s=c(r,n);let o=Number.POSITIVE_INFINITY,a=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY,u=Number.NEGATIVE_INFINITY;if(t&&t.coords){const e=t.coords;for(let t=0;t<e.length;t+=s){const r=e[t],n=e[t+1];o=Math.min(o,r),l=Math.max(l,r),a=Math.min(a,n),u=Math.max(u,n)}}return e[0]=o,e[1]=a,e[2]=l,e[3]=u,e}function te(e,t,r,n,s){const{coords:i,lengths:o}=t,a=r?n?y:f:n?f:p,l=c(r,n);if(!i.length)return e!==t&&(e.lengths.length=0,e.coords.length=0),e;if(!o.length)return a(e.coords,i,0,0,_(s,i[0]),w(s,i[1])),e!==t&&(e.lengths.length=0,e.coords.length=l),e;const[u,h]=s.scale;let d=0;for(let t=0;t<o.length;t++){const r=o[t];e.lengths[t]=r;let n=_(s,i[d]),c=w(s,i[d+1]);a(e.coords,i,d,d,n,c),d+=l;for(let t=1;t<r;t++,d+=l)n+=i[d]*u,c-=i[d+1]*h,a(e.coords,i,d,d,n,c)}return e!==t&&(e.lengths.length=o.length,e.coords.length=i.length),e}function re(e,t,r,n,s,i){const o=c(r,n),a=g(r,n,s,i),l=t.coords;e.coords.length=0,e.lengths.length=0,e.lengths.push(...t.lengths);for(let t=0;t<l.length;t+=o)a(e.coords,l,e.coords.length,t,l[t],l[t+1]);return e}function ne(e,t,r,n){let s=0,i=e[n*t],o=e[n*(t+1)];for(let a=1;a<r;a++){const r=i+e[n*(t+a)],l=o+e[n*(t+a)+1],u=(r-i)*(l+o);i=r,o=l,s+=u}return.5*s}function se(e,t){const{coords:r,lengths:n}=e;let s=0,i=0;for(let e=0;e<n.length;e++)i+=ne(r,s,n[e],t),s+=e;return Math.abs(i)}function ie(e,t){if((0,i.Wi)(e))return null;const r=e.clone(),n=e.coords,s=e.lengths;let o=0;for(let e=0;e<s.length;e++){const i=s[e];let a=n[t*o],l=n[t*o+1];for(let e=1;e<i;e++){const s=a+n[t*(o+e)],i=l+n[t*(o+e)+1];r.coords[t*(o+e)]=s,r.coords[t*(o+e)+1]=i,a=s,l=i}o+=i}return r}},54295:(e,t,r)=>{r.d(t,{V:()=>o});var n=r(43697),s=r(5600),i=(r(67676),r(80442),r(75215),r(52011));const o=e=>{let t=class extends e{get apiKey(){var e;return this._isOverridden("apiKey")?this._get("apiKey"):function(e){return"portalItem"in e}(this)?null==(e=this.portalItem)?void 0:e.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,n._)([(0,s.Cb)({type:String})],t.prototype,"apiKey",null),t=(0,n._)([(0,i.j)("esri.layers.mixins.APIKeyMixin")],t),t}},68825:(e,t,r)=>{r.d(t,{c:()=>m});var n,s=r(43697),i=r(78286),o=r(5600),a=(r(67676),r(80442),r(75215),r(52011)),l=r(35454),u=r(96674);const c=new l.Xn({asc:"ascending",desc:"descending"});let h=n=class extends u.wq{constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new n({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,s._)([(0,o.Cb)({type:String,json:{write:!0}})],h.prototype,"field",void 0),(0,s._)([(0,o.Cb)({type:String,json:{write:!0}})],h.prototype,"valueExpression",void 0),(0,s._)([(0,o.Cb)({type:c.apiValues,json:{read:c.read,write:c.write}})],h.prototype,"order",void 0),h=n=(0,s._)([(0,a.j)("esri.layers.support.OrderByInfo")],h);const d=h;function p(e,t,r){if(!e)return null;const n=e.find((e=>!!e.field));if(!n)return null;const s=new d;return s.read(n,r),[s]}function f(e,t,r,n){const s=e.find((e=>!!e.field));s&&(0,i.RB)(r,[s.toJSON()],t)}const m=e=>{let t=class extends e{constructor(){super(...arguments),this.orderBy=null}};return(0,s._)([(0,o.Cb)({type:[d],json:{origins:{"web-scene":{write:!1,read:!1}},read:{source:"layerDefinition.orderBy",reader:p},write:{target:"layerDefinition.orderBy",writer:f}}})],t.prototype,"orderBy",void 0),t=(0,s._)([(0,a.j)("esri.layers.mixins.OrderedLayer")],t),t}},16859:(e,t,r)=>{r.d(t,{I:()=>_});var n=r(43697),s=r(40330),i=r(3172),o=r(66643),a=r(20102),l=r(92604),u=r(70586),c=r(95330),h=r(17452),d=r(5600),p=(r(67676),r(80442),r(75215),r(71715)),f=r(52011),m=r(30556),y=r(65587),g=r(15235),b=r(86082);const v=l.Z.getLogger("esri.layers.mixins.PortalLayer"),_=e=>{let t=class extends e{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0}destroy(){var e;null==(e=this.portalItem)||e.destroy(),this.portalItem=null}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new g.default({id:t.itemId,portal:r&&r.portal})}writePortalItem(e,t){e&&e.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem&&this.portalItem.id)try{const n=await r.e(8062).then(r.bind(r,18062));return(0,c.k_)(t),await n.load({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData},t)}catch(e){throw(0,c.D_)(e)||v.warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch((e=>((0,c.r9)(e),!0))))}async _fetchUserHasEditingPrivileges(e){const t=this.url?null==s.id?void 0:s.id.findCredential(this.url):null;if(!t)return!0;const r=w.credential===t?w.user:await this._fetchEditingUser(e);return w.credential=t,w.user=r,(0,u.Wi)(r)||null==r.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){var t,r;const n=null==(t=this.portalItem)||null==(r=t.portal)?void 0:r.user;if(n)return n;const a=s.id.findServerInfo(this.url);if(null==a||!a.owningSystemUrl)return null;const l=`${a.owningSystemUrl}/sharing/rest`,c=y.Z.getDefault();if(c&&c.loaded&&(0,h.Fv)(c.restUrl)===(0,h.Fv)(l))return c.user;const d=`${l}/community/self`,p=(0,u.pC)(e)?e.signal:null,f=await(0,o.q6)((0,i.default)(d,{authMode:"no-prompt",query:{f:"json"},signal:p}));return f.ok?b.default.fromJSON(f.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t&&t.portal,n=this.portalItem&&this.portalItem.id&&(this.portalItem.portal||y.Z.getDefault());return r&&n&&!(0,h.tm)(n.restUrl,r.restUrl)?(t.messages&&t.messages.push(new a.Z("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save the scene, set the layer.portalItem to null or save the scene to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,n._)([(0,d.Cb)({type:g.default})],t.prototype,"portalItem",null),(0,n._)([(0,p.r)("web-document","portalItem",["itemId"])],t.prototype,"readPortalItem",null),(0,n._)([(0,m.c)("web-document","portalItem",{itemId:{type:String}})],t.prototype,"writePortalItem",null),(0,n._)([(0,d.Cb)()],t.prototype,"resourceReferences",void 0),(0,n._)([(0,d.Cb)({readOnly:!0})],t.prototype,"userHasEditingPrivileges",void 0),t=(0,n._)([(0,f.j)("esri.layers.mixins.PortalLayer")],t),t},w={credential:null,user:null}},70082:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(43697),s=r(35454),i=r(96674),o=r(5600),a=(r(67676),r(80442),r(75215),r(52011));const l=new s.Xn({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends i.wq{constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,n._)([(0,o.Cb)({json:{write:!0}})],u.prototype,"name",void 0),(0,n._)([(0,o.Cb)({json:{write:!0}})],u.prototype,"description",void 0),(0,n._)([(0,o.Cb)({json:{read:l.read,write:l.write}})],u.prototype,"drawingTool",void 0),(0,n._)([(0,o.Cb)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,n._)([(0,o.Cb)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,n._)([(0,a.j)("esri.layers.support.FeatureTemplate")],u);const c=u},16451:(e,t,r)=>{r.d(t,{Z:()=>d});var n=r(43697),s=r(96674),i=r(5600),o=(r(67676),r(80442),r(75215),r(71715)),a=r(52011),l=r(30556),u=r(72729),c=r(70082);let h=class extends s.wq{constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,u.im)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e)){var n;e[t]&&(r[t]=null==(n=e[t])?void 0:n.toJSON())}t.domains=r}};(0,n._)([(0,i.Cb)({json:{write:!0}})],h.prototype,"id",void 0),(0,n._)([(0,i.Cb)({json:{write:!0}})],h.prototype,"name",void 0),(0,n._)([(0,i.Cb)({json:{write:!0}})],h.prototype,"domains",void 0),(0,n._)([(0,o.r)("domains")],h.prototype,"readDomains",null),(0,n._)([(0,l.c)("domains")],h.prototype,"writeDomains",null),(0,n._)([(0,i.Cb)({type:[c.Z],json:{write:!0}})],h.prototype,"templates",void 0),h=(0,n._)([(0,a.j)("esri.layers.support.FeatureType")],h);const d=h},35671:(e,t,r)=>{r.d(t,{io:()=>g,AB:()=>y,gd:()=>m,Mu:()=>_,Q0:()=>f,YN:()=>c,UF:()=>d,O5:()=>b,os:()=>w,H7:()=>P,qN:()=>R,Pz:()=>L,Qc:()=>A,vP:()=>V});var n,s,i=r(20102),o=r(78286);(s=n||(n={})).VALUE_OUT_OF_RANGE="domain-validation-error::value-out-of-range",s.INVALID_CODED_VALUE="domain-validation-error::invalid-coded-value";var a=r(59266);const l=["field","field2","field3","normalizationField","rotationInfo.field","proportionalSymbolInfo.field","proportionalSymbolInfo.normalizationField","colorInfo.field","colorInfo.normalizationField"],u=["field","normalizationField"];function c(e,t){if(null!=e&&null!=t)for(const r of Array.isArray(e)?e:[e])if(h(l,r,t),"visualVariables"in r&&r.visualVariables)for(const e of r.visualVariables)h(u,e,t)}function h(e,t,r){if(e)for(const n of e){const e=(0,o.hS)(n,t),s=e&&"function"!=typeof e&&r.get(e);s&&(0,o.RB)(n,s.name,t)}}function d(e,t){if(null!=e&&null!=t&&t.fields.length)if("startField"in e){const r=t.get(e.startField),n=t.get(e.endField);e.startField=r&&r.name||null,e.endField=n&&n.name||null}else{const r=t.get(e.startTimeField),n=t.get(e.endTimeField);e.startTimeField=r&&r.name||null,e.endTimeField=n&&n.name||null}}const p=new Set;function f(e,t){return e&&t?(p.clear(),m(p,e,t),Array.from(p).sort()):[]}function m(e,t,r){var n;if(r)if(null!=t&&null!=(n=t.fields)&&n.length)if(r.includes("*"))for(const{name:r}of t.fields)e.add(r);else for(const n of r)y(e,t,n);else{if(r.includes("*"))return e.clear(),void e.add("*");for(const t of r)e.add(t)}}function y(e,t,r){if("string"==typeof r)if(t){const n=t.get(r);n&&e.add(n.name)}else e.add(r)}async function g(e,t,r){var n;if(!r)return;const{arcadeUtils:s}=await(0,a.LC)(),i=s.extractFieldNames(r,null==t||null==(n=t.fields)?void 0:n.map((e=>e.name)));for(const r of i)y(e,t,r)}function b({displayField:e,fields:t}){return e||(t&&t.length?v(t,"name-or-title")||v(t,"unique-identifier")||v(t,"type-or-category")||function(e){for(const t of e){if(!t||!t.name)continue;const e=t.name.toLowerCase();if(e.indexOf("name")>-1||e.indexOf("title")>-1)return t.name}return null}(t):null)}function v(e,t){for(const r of e)if(r&&r.valueType&&r.valueType===t)return r.name;return null}async function _(e,t){const{labelingInfo:n,fieldsIndex:s}=t;n&&n.length&&await Promise.all(n.map((t=>async function(e,t,n){if(!n)return;const s=n.getLabelExpression(),o=n.where;if("arcade"===s.type)await g(e,t,s.expression);else{const r=s.expression.match(/{[^}]*}/g);r&&r.forEach((r=>{y(e,t,r.slice(1,-1))}))}await async function(e,t,n){if(n&&"1=1"!==n){const s=(await Promise.all([r.e(1534),r.e(5732)]).then(r.bind(r,41534))).WhereClause.create(n,t);if(!s.isStandardized)throw new i.Z("fieldUtils:collectFilterFields","Where clause is not standardized");m(e,t,s.fieldNames)}}(e,t,o)}(e,s,t))))}function w(e){const t=e.defaultValue;return void 0!==t&&F(e,t)?t:e.nullable?null:void 0}function x(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function C(e){return null===e||x(e)}const E="isInteger"in Number?Number.isInteger:e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e;function T(e){return null===e||E(e)}function S(e){return null!=e&&"string"==typeof e}function O(e){return null===e||S(e)}function I(){return!0}function F(e,t){let r;switch(e.type){case"date":case"integer":case"long":case"small-integer":case"esriFieldTypeDate":case"esriFieldTypeInteger":case"esriFieldTypeLong":case"esriFieldTypeSmallInteger":r=e.nullable?T:E;break;case"double":case"single":case"esriFieldTypeSingle":case"esriFieldTypeDouble":r=e.nullable?C:x;break;case"string":case"esriFieldTypeString":r=e.nullable?O:S;break;default:r=I}return 1===arguments.length?r:r(t)}const q=new Set(["integer","small-integer","single","double","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeSingle","esriFieldTypeDouble"]);function P(e){return null!=e&&q.has(e.type)}function R(e){return null!=e&&("string"===e.type||"esriFieldTypeString"===e.type)}var U,M;function L(e){return null==e||"number"==typeof e&&isNaN(e)?null:e}function A(e,t){return e.nullable&&null===t?null:P(e)&&!function(e,t){const r="string"==typeof e?Z(e):e;return!!r&&(r.isInteger?E(t)&&t>=r.min&&t<=r.max:t>=r.min&&t<=r.max)}(e.type,Number(t))?U.OUT_OF_RANGE:F(e,t)?e.domain?function(e,t){switch(e.type){case"range":{const r="range"in e?e.range[0]:e.minValue,s="range"in e?e.range[1]:e.maxValue;if(+t<r||+t>s)return n.VALUE_OUT_OF_RANGE;break}case"coded-value":case"codedValue":if(null==e.codedValues||e.codedValues.every((e=>null==e||e.code!==t)))return n.INVALID_CODED_VALUE}return null}(e.domain,t):null:M.INVALID_TYPE}function Z(e){switch(e){case"esriFieldTypeSmallInteger":case"small-integer":return D;case"esriFieldTypeInteger":case"integer":return N;case"esriFieldTypeSingle":case"single":return j;case"esriFieldTypeDouble":case"double":return k}}!function(e){e.OUT_OF_RANGE="numeric-range-validation-error::out-of-range"}(U||(U={})),function(e){e.INVALID_TYPE="type-validation-error::invalid-type"}(M||(M={}));const D={min:-32768,max:32767,isInteger:!0},N={min:-2147483648,max:2147483647,isInteger:!0},j={min:-34e37,max:12e37,isInteger:!1},k={min:-Number.MAX_VALUE,max:Number.MAX_VALUE,isInteger:!1};function V(e,t,r){switch(e){case n.INVALID_CODED_VALUE:return`Value ${r} is not in the coded domain - field: ${t.name}, domain: ${JSON.stringify(t.domain)}`;case n.VALUE_OUT_OF_RANGE:return`Value ${r} is out of the range of valid values - field: ${t.name}, domain: ${JSON.stringify(t.domain)}`;case M.INVALID_TYPE:return`Value ${r} is not a valid value for the field type - field: ${t.name}, type: ${t.type}, nullable: ${t.nullable}`;case U.OUT_OF_RANGE:{const{min:e,max:n}=Z(t.type);return`Value ${r} is out of range for the number type - field: ${t.name}, type: ${t.type}, value range is ${e} to ${n}`}}}},99282:(e,t,r)=>{r.d(t,{a:()=>i});var n=r(67900),s=r(68441);const i={inches:(0,n.En)(1,"meters","inches"),feet:(0,n.En)(1,"meters","feet"),"us-feet":(0,n.En)(1,"meters","us-feet"),yards:(0,n.En)(1,"meters","yards"),miles:(0,n.En)(1,"meters","miles"),"nautical-miles":(0,n.En)(1,"meters","nautical-miles"),millimeters:(0,n.En)(1,"meters","millimeters"),centimeters:(0,n.En)(1,"meters","centimeters"),decimeters:(0,n.En)(1,"meters","decimeters"),meters:(0,n.En)(1,"meters","meters"),kilometers:(0,n.En)(1,"meters","kilometers"),"decimal-degrees":1/(0,n.ty)(1,"meters",s.sv.radius)}},51706:(e,t,r)=>{var n,s;function i(e){return e&&"esri.renderers.visualVariables.SizeVariable"===e.declaredClass}function o(e){return null!=e&&!isNaN(e)&&isFinite(e)}function a(e){return e.valueExpression?n.Expression:e.field&&"string"==typeof e.field?n.Field:n.Unknown}function l(e,t){const r=t||a(e),i=e.valueUnit||"unknown";return r===n.Unknown?s.Constant:e.stops?s.Stops:null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?s.ClampedLinear:"unknown"===i?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?s.Proportional:s.Additive:s.Identity:s.RealWorldSize}r.d(t,{RY:()=>n,hL:()=>s,PS:()=>a,QW:()=>l,iY:()=>i,qh:()=>o}),function(e){e.Unknown="unknown",e.Expression="expression",e.Field="field"}(n||(n={})),function(e){e.Unknown="unknown",e.Stops="stops",e.ClampedLinear="clamped-linear",e.Proportional="proportional",e.Additive="additive",e.Constant="constant",e.Identity="identity",e.RealWorldSize="real-world-size"}(s||(s={}))},28101:(e,t,r)=>{r.d(t,{PR:()=>x,Lq:()=>f,Km:()=>m,cM:()=>y,ap:()=>g,V3:()=>_,B3:()=>p});var n=r(22303),s=r(1692),i=r(74085),o=r(92604),a=r(70586),l=r(99282),u=r(51706);const c=o.Z.getLogger("esri.renderers.visualVariables.support.visualVariableUtils"),h=new s.Z,d=Math.PI,p=/^\s*(return\s+)?\$view\.scale\s*(;)?\s*$/i;function f(e,t,r){const s="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"color"===e.type))[0]:e;if(!s)return;if("esri.renderers.visualVariables.ColorVariable"!==s.declaredClass)return void c.warn("The visualVariable should be an instance of esri.renderers.visualVariables.ColorVariable");const i="number"==typeof t,o=i?null:t,l=o&&o.attributes;let u=i?t:null;const h=s.field,{ipData:d,hasExpression:p}=s.cache;let f=s.cache.compiledFunc;if(!h&&!p){const e=s.stops;return e&&e[0]&&e[0].color}if("number"!=typeof u)if(p){if(!(0,a.pC)(r)||!(0,a.pC)(r.arcade))return void c.error("Use of arcade expressions requires an arcade context");const e={viewingMode:r.viewingMode,scale:r.scale,spatialReference:r.spatialReference},t=r.arcade.arcadeUtils,n=t.getViewInfo(e),i=t.createExecContext(o,n);if(!f){const e=t.createSyntaxTree(s.valueExpression);f=t.createFunction(e),s.cache.compiledFunc=f}u=t.executeFunction(f,i)}else l&&(u=l[h]);const m=s.normalizationField,y=l?parseFloat(l[m]):void 0;if(null!=u&&(!m||i||!isNaN(y)&&0!==y)){isNaN(y)||i||(u/=y);const e=w(u,d);if(e){const t=e[0],i=e[1],o=t===i?s.stops[t].color:n.Z.blendColors(s.stops[t].color,s.stops[i].color,e[2],(0,a.pC)(r)?r.color:void 0);return new n.Z(o)}}}function m(e,t,r){const n="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"opacity"===e.type))[0]:e;if(!n)return;if("esri.renderers.visualVariables.OpacityVariable"!==n.declaredClass)return void c.warn("The visualVariable should be an instance of esri.renderers.visualVariables.OpacityVariable");const s="number"==typeof t,i=s?null:t,o=i&&i.attributes;let l=s?t:null;const u=n.field,{ipData:h,hasExpression:d}=n.cache;let p=n.cache.compiledFunc;if(!u&&!d){const e=n.stops;return e&&e[0]&&e[0].opacity}if("number"!=typeof l)if(d){if((0,a.Wi)(r)||(0,a.Wi)(r.arcade))return void c.error("Use of arcade expressions requires an arcade context");const e={viewingMode:r.viewingMode,scale:r.scale,spatialReference:r.spatialReference},t=r.arcade.arcadeUtils,s=t.getViewInfo(e),o=t.createExecContext(i,s);if(!p){const e=t.createSyntaxTree(n.valueExpression);p=t.createFunction(e),n.cache.compiledFunc=p}l=t.executeFunction(p,o)}else o&&(l=o[u]);const f=n.normalizationField,m=o?parseFloat(o[f]):void 0;if(null!=l&&(!f||s||!isNaN(m)&&0!==m)){isNaN(m)||s||(l/=m);const e=w(l,h);if(e){const t=e[0],r=e[1];if(t===r)return n.stops[t].opacity;{const s=n.stops[t].opacity;return s+(n.stops[r].opacity-s)*e[2]}}}}function y(e,t,r){const n="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"rotation"===e.type))[0]:e;if(!n)return;if("esri.renderers.visualVariables.RotationVariable"!==n.declaredClass)return void c.warn("The visualVariable should be an instance of esri.renderers.visualVariables.RotationVariable");const s=n.axis||"heading",i="heading"===s&&"arithmetic"===n.rotationType?90:0,o="heading"===s&&"arithmetic"===n.rotationType?-1:1,l="number"==typeof t?null:t,u=l&&l.attributes,h=n.field,{hasExpression:d}=n.cache;let p=n.cache.compiledFunc,f=0;if(!h&&!d)return f;if(d){if((0,a.Wi)(r)||(0,a.Wi)(r.arcade))return void c.error("Use of arcade expressions requires an arcade context");const e={viewingMode:r.viewingMode,scale:r.scale,spatialReference:r.spatialReference},t=r.arcade.arcadeUtils,s=t.getViewInfo(e),i=t.createExecContext(l,s);if(!p){const e=t.createSyntaxTree(n.valueExpression);p=t.createFunction(e),n.cache.compiledFunc=p}f=t.executeFunction(p,i)}else u&&(f=u[h]||0);return f="number"!=typeof f||isNaN(f)?null:i+o*f,f}function g(e,t,r){const n="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"size"===e.type))[0]:e;if(!n)return;if("esri.renderers.visualVariables.SizeVariable"!==n.declaredClass)return void c.warn("The visualVariable should be an instance of esri.renderers.visualVariables.SizeVariable");const s=function(e,t,r,n,s){switch(t.transformationType){case u.hL.Additive:return function(e,t,r,n){return e+(b(t.minSize,r,n)||t.minDataValue)}(e,t,r,n);case u.hL.Constant:return function(e,t,r){const n=e.stops;let s=n&&n.length&&n[0].size;return null==s&&(s=e.minSize),b(s,t,r)}(t,r,n);case u.hL.ClampedLinear:return function(e,t,r,n){const s=(e-t.minDataValue)/(t.maxDataValue-t.minDataValue),i=b(t.minSize,r,n),o=b(t.maxSize,r,n),l=(0,a.pC)(n)?n.shape:void 0;if(e<=t.minDataValue)return i;if(e>=t.maxDataValue)return o;if("area"===t.scaleBy&&l){const e="circle"===l,t=e?d*(i/2)**2:i*i,r=t+s*((e?d*(o/2)**2:o*o)-t);return e?2*Math.sqrt(r/d):Math.sqrt(r)}return i+s*(o-i)}(e,t,r,n);case u.hL.Proportional:return function(e,t,r,n){const s=(0,a.pC)(n)?n.shape:void 0,i=e/t.minDataValue,o=b(t.minSize,r,n),l=b(t.maxSize,r,n);let u=null;return u="circle"===s?2*Math.sqrt(i*(o/2)**2):"square"===s||"diamond"===s||"image"===s?Math.sqrt(i*o**2):i*o,v(u,o,l)}(e,t,r,n);case u.hL.Stops:return function(e,t,r,n,s){const[i,o,a]=w(e,s);if(i===o)return b(t.stops[i].size,r,n);{const e=b(t.stops[i].size,r,n);return e+(b(t.stops[o].size,r,n)-e)*a}}(e,t,r,n,s);case u.hL.RealWorldSize:return function(e,t,r,n){const s=((0,a.pC)(n)&&n.resolution?n.resolution:1)*l.a[t.valueUnit],i=b(t.minSize,r,n),o=b(t.maxSize,r,n),{valueRepresentation:u}=t;let c=null;return c="area"===u?2*Math.sqrt(e/d)/s:"radius"===u||"distance"===u?2*e/s:e/s,v(c,i,o)}(e,t,r,n);case u.hL.Identity:return e;case u.hL.Unknown:return null}}(function(e,t,r){const n="number"==typeof t,s=n?null:t,i=s&&s.attributes;let o=n?t:null;const{isScaleDriven:l}=e.cache;let h=e.cache.compiledFunc;if(l){const t=(0,a.pC)(r)?r.scale:void 0,n=(0,a.pC)(r)?r.view:void 0;o=null==t||"3d"===n?function(e){let t=null,r=null;const n=e.stops;return n?(t=n[0].value,r=n[n.length-1].value):(t=e.minDataValue||0,r=e.maxDataValue||0),(t+r)/2}(e):t}else if(!n)switch(e.inputValueType){case u.RY.Expression:{if((0,a.Wi)(r)||(0,a.Wi)(r.arcade))return void c.error("Use of arcade expressions requires an arcade context");const t={viewingMode:r.viewingMode,scale:r.scale,spatialReference:r.spatialReference},n=r.arcade.arcadeUtils,i=n.getViewInfo(t),l=n.createExecContext(s,i);if(!h){const t=n.createSyntaxTree(e.valueExpression);h=n.createFunction(t),e.cache.compiledFunc=h}o=n.executeFunction(h,l);break}case u.RY.Field:i&&(o=i[e.field]);break;case u.RY.Unknown:o=null}if(!(0,u.qh)(o))return null;if(n||!e.normalizationField)return o;const d=i?parseFloat(i[e.normalizationField]):null;return(0,u.qh)(d)&&0!==d?o/d:null}(n,t,r),n,t,r,n.cache.ipData);return null==s||isNaN(s)?0:s}function b(e,t,r){return null==e?null:(0,u.iY)(e)?g(e,t,r):(0,u.qh)(e)?e:null}function v(e,t,r){return(0,u.qh)(r)&&e>r?r:(0,u.qh)(t)&&e<t?t:e}function _(e,t,r){const{isScaleDriven:n}=e.cache;if(!(n&&"3d"===r||t))return null;const s={scale:t,view:r};let i=b(e.minSize,h,s),o=b(e.maxSize,h,s);if(null!=i||null!=o){if(i>o){const e=o;o=i,i=e}return{minSize:i,maxSize:o}}}function w(e,t){if(!t)return;let r=0,n=t.length-1;return t.some(((t,s)=>e<t?(n=s,!0):(r=s,!1))),[r,n,(e-t[r])/(t[n]-t[r])]}function x(e,t,r){const n=["proportional","proportional","proportional"];for(const s of e){const e=s.useSymbolValue?"symbol-value":g(s,t,r);switch(s.axis){case"width":n[0]=e;break;case"depth":n[1]=e;break;case"height":n[2]=e;break;case"width-and-depth":n[0]=e,n[1]=e;break;case"all":case void 0:case null:n[0]=e,n[1]=e,n[2]=e;break;default:(0,i.Bg)(s.axis)}}return n}},3172:(e,t,r)=>{r.r(t),r.d(t,{default:()=>p});var n=r(68773),s=r(40330),i=r(20102),o=r(80442),a=r(22974),l=r(70586),u=r(95330),c=r(17452),h=r(71058),d=r(85958);async function p(e,t){var a;const d=(0,c.HK)(e),g=(0,c.jc)(e);g||d||(e=(0,c.Fv)(e));const b={url:e,requestOptions:{...(0,l.Wg)(t)}};let v=(0,c.oh)(e);if(v){const e=await async function(e,t){if(null!=e.responseData)return e.responseData;if(e.headers&&(t.requestOptions.headers={...t.requestOptions.headers,...e.headers}),e.query&&(t.requestOptions.query={...t.requestOptions.query,...e.query}),e.before){let r,n;try{n=await e.before(t)}catch(e){r=C("request:interceptor",e,t)}if((n instanceof Error||n instanceof i.Z)&&(r=C("request:interceptor",n,t)),r)throw e.error&&e.error(r),r;return n}}(v,b);if(null!=e)return{data:e,getHeader:_,requestOptions:b.requestOptions,url:b.url};v.after||v.error||(v=null)}if(e=b.url,"image"===(t=b.requestOptions).responseType){if((0,o.Z)("host-webworker")||(0,o.Z)("host-node"))throw C("request:invalid-parameters",new Error("responseType 'image' is not supported in Web Workers or Node environment"),b)}else if(d)throw C("request:invalid-parameters",new Error("Data URLs are not supported for responseType = "+t.responseType),b);if("head"===t.method){if(t.body)throw C("request:invalid-parameters",new Error("body parameter cannot be set when method is 'head'"),b);if(d||g)throw C("request:invalid-parameters",new Error("data and blob URLs are not supported for method 'head'"),b)}if(await async function(){(0,o.Z)("host-webworker")?f||(f=await Promise.all([r.e(102),r.e(9884)]).then(r.bind(r,29884))):p._abortableFetch||(p._abortableFetch=globalThis.fetch.bind(globalThis))}(),f)return f.execute(e,t);const w=new AbortController;(0,u.fu)(t,(()=>w.abort()));const x={controller:w,credential:null,credentialToken:null,fetchOptions:null,hasToken:!1,interceptor:v,params:b,redoRequest:!1,useIdentity:m.useIdentity,useProxy:!1,useSSL:!1,withCredentials:!1},O=await async function(e){var t,r;let i,o;await async function(e){const t=e.params.url,r=e.params.requestOptions,i=e.controller.signal,o=r.body;let a=null,l=null,c=null;if(y&&"HTMLFormElement"in globalThis&&(o instanceof FormData?a=o:o instanceof HTMLFormElement&&(l=o,a=new FormData(l))),"string"==typeof o&&(c=o),e.fetchOptions={cache:r.cacheBust&&!p._abortableFetch.polyfill?"no-cache":"default",credentials:"same-origin",headers:r.headers||{},method:"head"===r.method?"HEAD":"GET",mode:"cors",redirect:"follow",signal:i},(a||c)&&(e.fetchOptions.body=a||c),"anonymous"===r.authMode&&(e.useIdentity=!1),e.hasToken=!!(/token=/i.test(t)||r.query&&r.query.token||a&&a.get&&a.get("token")||l&&l.elements.token),!e.hasToken&&n.Z.apiKey&&(0,h.r)(t)&&(r.query||(r.query={}),r.query.token=n.Z.apiKey,e.hasToken=!0),e.useIdentity&&!e.hasToken&&!e.credentialToken&&!T(t)&&!(0,u.Hc)(i)){let n;"immediate"===r.authMode?(await E(),n=await s.id.getCredential(t,{signal:i}),e.credential=n):"no-prompt"===r.authMode?(await E(),n=await s.id.getCredential(t,{prompt:!1,signal:i}).catch((()=>{})),e.credential=n):s.id&&(n=s.id.findCredential(t)),n&&(e.credentialToken=n.token,e.useSSL=!!n.ssl)}}(e);try{do{[i,o]=await S(e)}while(!await I(e,i,o))}catch(t){const r=C("request:server",t,e.params,i);throw r.details.ssl=e.useSSL,e.interceptor&&e.interceptor.error&&e.interceptor.error(r),r}const a=e.params.url;if(/\/sharing\/rest\/(accounts|portals)\/self/i.test(a)&&!e.hasToken&&!e.credentialToken&&null!=(t=o)&&null!=(r=t.user)&&r.username&&!(0,c.kl)(a)){const e=(0,c.P$)(a,!0);e&&m.trustedServers.push(e)}const l=e.credential;if(l&&s.id){const e=s.id.findServerInfo(l.server);let t=e&&e.owningSystemUrl;if(t){t=t.replace(/\/?$/,"/sharing");const e=s.id.findCredential(t,l.userId);e&&-1===s.id._getIdenticalSvcIdx(t,e)&&e.resources.unshift(t)}}return{data:o,getHeader:i?e=>i.headers.get(e):_,requestOptions:e.params.requestOptions,ssl:e.useSSL,url:e.params.url}}(x);return null==(a=v)||null==a.after||a.after(O),O}let f;const m=n.Z.request,y="FormData"in globalThis,g=[499,498,403,401],b=["COM_0056","COM_0057","SB_0008"],v=[/\/arcgis\/tokens/i,/\/sharing(\/rest)?\/generatetoken/i,/\/rest\/info/i],_=()=>null,w=Symbol();function x(e){const t=(0,c.P$)(e);return!t||t.endsWith(".arcgis.com")||p._corsServers.includes(t)||(0,c.kl)(t)}function C(e,t,r,n){let s="Error";const o={url:r.url,requestOptions:r.requestOptions,getHeader:_,ssl:!1};if(t instanceof i.Z)return t.details?(t.details=(0,a.d9)(t.details),t.details.url=r.url,t.details.requestOptions=r.requestOptions):t.details=o,t;if(t){const e=n&&(e=>n.headers.get(e)),r=n&&n.status,i=t.message;i&&(s=i),e&&(o.getHeader=e),o.httpStatus=(null!=t.httpCode?t.httpCode:t.code)||r||0,o.subCode=t.subcode,o.messageCode=t.messageCode,"string"==typeof t.details?o.messages=[t.details]:o.messages=t.details,o.raw=w in t?t[w]:t}return(0,u.D_)(t)?(0,u.zE)():new i.Z(e,s,o)}async function E(){s.id||await Promise.all([r.e(280),r.e(2785),r.e(102),r.e(8536)]).then(r.bind(r,85976))}function T(e){return v.some((t=>t.test(e)))}async function S(e){let t=e.params.url;const r=e.params.requestOptions,n=e.fetchOptions,i=(0,c.jc)(t)||(0,c.HK)(t),a=r.responseType||"json",l=i?0:null!=r.timeout?r.timeout:m.timeout;let h=!1;if(!i){e.useSSL&&(t=(0,c.hO)(t)),r.cacheBust&&"default"===n.cache&&(t=(0,c.ZN)(t,"request.preventCache",Date.now()));let i={...r.query};e.credentialToken&&(i.token=e.credentialToken);let a=(0,c.B7)(i);(0,o.Z)("esri-url-encodes-apostrophe")&&(a=a.replace(/'/g,"%27"));const l=t.length+1+a.length;let u;h="delete"===r.method||"post"===r.method||"put"===r.method||!!r.body||l>m.maxUrlLength;const d=r.useProxy||!!(0,c.ed)(t);if(d){const e=(0,c.b7)(t);u=e.path,!h&&u.length+1+l>m.maxUrlLength&&(h=!0),e.query&&(i={...e.query,...i})}if("HEAD"===n.method&&(h||d)){if(h){if(l>m.maxUrlLength)throw C("request:invalid-parameters",new Error("URL exceeds maximum length"),e.params);throw C("request:invalid-parameters",new Error("cannot use POST request when method is 'head'"),e.params)}if(d)throw C("request:invalid-parameters",new Error("cannot use proxy when method is 'head'"),e.params)}if(h?(n.method="delete"===r.method?"DELETE":"put"===r.method?"PUT":"POST",r.body?t=(0,c.fl)(t,i):(n.body=(0,c.B7)(i),n.headers["Content-Type"]="application/x-www-form-urlencoded")):t=(0,c.fl)(t,i),d&&(e.useProxy=!0,t=`${u}?${t}`),i.token&&y&&n.body instanceof FormData){const e=n.body;e.set?e.set("token",i.token):e.append("token",i.token)}if(r.hasOwnProperty("withCredentials"))e.withCredentials=r.withCredentials;else if(!(0,c.D6)(t,(0,c.TI)()))if((0,c.kl)(t))e.withCredentials=!0;else if(s.id){const r=s.id.findServerInfo(t);r&&r.webTierAuth&&(e.withCredentials=!0)}e.withCredentials&&(n.credentials="include")}let d,f,g=0,b=!1;l>0&&(g=setTimeout((()=>{b=!0,e.controller.abort()}),l));try{if("native-request-init"===r.responseType)f=n,f.url=t;else if("image"!==r.responseType||"default"!==n.cache||"GET"!==n.method||h||function(e){if(e)for(const t of Object.getOwnPropertyNames(e))if(e[t])return!0;return!1}(r.headers)||!i&&!e.useProxy&&m.proxyUrl&&!x(t)){if(d=await p._abortableFetch(t,n),e.useProxy||function(e){const t=(0,c.P$)(e);t&&!p._corsServers.includes(t)&&p._corsServers.push(t)}(t),"native"===r.responseType)f=d;else if("HEAD"!==n.method)if(d.ok){switch(a){case"array-buffer":f=await d.arrayBuffer();break;case"blob":case"image":f=await d.blob();break;default:f=await d.text()}if(g&&(clearTimeout(g),g=0),"json"===a||"xml"===a||"document"===a)if(f)switch(a){case"json":f=JSON.parse(f);break;case"xml":f=O(f,"application/xml");break;case"document":f=O(f,"text/html")}else f=null;if(f){if("array-buffer"===a||"blob"===a){const e=d.headers.get("Content-Type");if(/application\/json|text\/plain/i.test(e)&&f["blob"===a?"size":"byteLength"]<=750)try{const e=await new Response(f).json();e.error&&(f=e)}catch{}}"image"===a&&f instanceof Blob&&(f=await F(URL.createObjectURL(f),e,!0))}}else f=await d.text()}else f=await F(t,e)}catch(n){if("AbortError"===n.name){if(b)throw new Error("Timeout exceeded");throw(0,u.zE)("Request canceled")}if(!(!d&&n instanceof TypeError&&m.proxyUrl)||r.body||"delete"===r.method||"head"===r.method||"post"===r.method||"put"===r.method||e.useProxy||x(t))throw n;e.redoRequest=!0,(0,c.tD)({proxyUrl:m.proxyUrl,urlPrefix:(0,c.P$)(t)})}finally{g&&clearTimeout(g)}return[d,f]}function O(e,t){let r;try{r=(new DOMParser).parseFromString(e,t)}catch{}if(!r||r.getElementsByTagName("parsererror").length)throw new SyntaxError("XML Parse error");return r}async function I(e,t,r){if(e.redoRequest)return e.redoRequest=!1,!1;const n=e.params.requestOptions;if(!t||"native"===n.responseType||"native-request-init"===n.responseType)return!0;let i,o,a,l;if(!t.ok)throw i=new Error(`Unable to load ${t.url} status: ${t.status}`),i[w]=r,i;null!=r&&r.error&&(i=r.error),i&&(o=Number(i.code),a=i.hasOwnProperty("subcode")?Number(i.subcode):null,l=i.messageCode,l=l&&l.toUpperCase());const u=n.authMode;if(403===o&&(4===a||i.message&&i.message.toLowerCase().indexOf("ssl")>-1&&-1===i.message.toLowerCase().indexOf("permission"))){if(!e.useSSL)return e.useSSL=!0,!1}else if(!e.hasToken&&e.useIdentity&&("no-prompt"!==u||498===o)&&-1!==g.indexOf(o)&&!T(e.params.url)&&(403!==o||-1===b.indexOf(l)&&(null==a||2===a&&e.credentialToken))){await E();try{const t=await s.id.getCredential(e.params.url,{error:C("request:server",i,e.params),prompt:"no-prompt"!==u,signal:e.controller.signal,token:e.credentialToken});return e.credential=t,e.credentialToken=t.token,e.useSSL=e.useSSL||t.ssl,!1}catch(t){if("no-prompt"===u)return e.credential=null,e.credentialToken=null,!1;i=t}}if(i)throw i;return!0}function F(e,t,r=!1){const n=t.controller.signal,s=new Image;return t.withCredentials?s.crossOrigin="use-credentials":s.crossOrigin="anonymous",s.alt="",s.src=e,(0,d.f)(s,e,r,n)}p._abortableFetch=null,p._corsServers=["https://server.arcgisonline.com","https://services.arcgisonline.com"]},74889:(e,t,r)=>{r.r(t),r.d(t,{default:()=>_});var n,s=r(43697),i=r(66577),o=r(1692),a=r(35454),l=r(96674),u=r(22974),c=r(70586),h=r(5600),d=(r(75215),r(71715)),p=r(52011),f=r(30556),m=r(82971),y=r(33955),g=r(1231);const b=new a.Xn({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=n=class extends l.wq{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){const r=m.Z.fromJSON(t.spatialReference),n=[];for(let t=0;t<e.length;t++){const s=e[t],i=o.Z.fromJSON(s),a=s.geometry&&s.geometry.spatialReference;(0,c.pC)(i.geometry)&&!a&&(i.geometry.spatialReference=r),n.push(i)}return n}writeGeometryType(e,t,r,n){if(e)return void b.write(e,t,r,n);const{features:s}=this;if(s)for(const e of s)if(e&&(0,c.pC)(e.geometry))return void b.write(e.geometry.type,t,r,n)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,n=(0,y.im)(e);return!r&&t.spatialReference&&(n.spatialReference=m.Z.fromJSON(t.spatialReference)),n}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&(0,c.pC)(e.geometry)&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new n(this.cloneProperties())}cloneProperties(){return(0,u.d9)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const n=t.features[r];if(n.geometry){const t=e&&e[r];n.geometry=t&&t.toJSON()||n.geometry}}return t}quantize(e){const{scale:[t,r],translate:[n,s]}=e,i=this.features,o=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-n)/t)),(e=>Math.round((s-e)/r)));for(let e=0,t=i.length;e<t;e++)o((0,c.Wg)(i[e].geometry))||(i.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[n,s],scale:[i,o]}=r,a=this._getHydrationFunction(e,(e=>e*i+n),(e=>s-e*o));for(const{geometry:e}of t)(0,c.pC)(e)&&a(e);return this.transform=null,this}_quantizePoints(e,t,r){let n,s;const i=[];for(let o=0,a=e.length;o<a;o++){const a=e[o];if(o>0){const e=t(a[0]),o=r(a[1]);e===n&&o===s||(i.push([e-n,o-s]),n=e,s=o)}else n=t(a[0]),s=r(a[1]),i.push([n,s])}return i.length>0?i:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const n=(0,y.oU)(e)?e.rings:e.paths,s=[];for(let e=0,i=n.length;e<i;e++){const i=n[e],o=this._quantizePoints(i,t,r);o&&s.push(o)}return s.length>0?((0,y.oU)(e)?e.rings=s:e.paths=s,e):null}:"multipoint"===e?e=>{const n=this._quantizePoints(e.points,t,r);return n.length>0?(e.points=n,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y)}:"polyline"===e||"polygon"===e?e=>{const n=(0,y.oU)(e)?e.rings:e.paths;let s,i;for(let e=0,o=n.length;e<o;e++){const o=n[e];for(let e=0,n=o.length;e<n;e++){const n=o[e];e>0?(s+=n[0],i+=n[1]):(s=n[0],i=n[1]),n[0]=t(s),n[1]=r(i)}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax)}:"multipoint"===e?e=>{const n=e.points;let s,i;for(let e=0,o=n.length;e<o;e++){const o=n[e];e>0?(s+=o[0],i+=o[1]):(s=o[0],i=o[1]),o[0]=t(s),o[1]=r(i)}}:void 0}};(0,s._)([(0,h.Cb)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,s._)([(0,h.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,s._)([(0,h.Cb)({type:[o.Z],json:{write:!0}})],v.prototype,"features",void 0),(0,s._)([(0,d.r)("features")],v.prototype,"readFeatures",null),(0,s._)([(0,h.Cb)({type:[g.Z],json:{write:!0}})],v.prototype,"fields",void 0),(0,s._)([(0,h.Cb)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:b.read}}})],v.prototype,"geometryType",void 0),(0,s._)([(0,f.c)("geometryType")],v.prototype,"writeGeometryType",null),(0,s._)([(0,h.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,s._)([(0,h.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,s._)([(0,h.Cb)({types:i.qM,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,s._)([(0,d.r)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,s._)([(0,h.Cb)({type:m.Z,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,s._)([(0,f.c)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,s._)([(0,h.Cb)({json:{write:!0}})],v.prototype,"transform",void 0),v=n=(0,s._)([(0,p.j)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0;const _=v},71058:(e,t,r)=>{r.d(t,{r:()=>i});var n=r(17452);const s=["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"];function i(e){const t=(0,n.P$)(e,!0);return t&&t.endsWith(".arcgis.com")&&!s.includes(t)&&!e.endsWith("/sharing/rest/generateToken")}},59266:(e,t,r)=>{r.d(t,{mz:()=>c,pp:()=>u,WW:()=>a,Yi:()=>l,LC:()=>o}),r(66577);var n=r(70586),s=r(82971);let i;function o(){return i||(i=(async()=>{const e=await Promise.all([r.e(9490),r.e(6690)]).then(r.bind(r,96690));return{arcade:e.arcade,arcadeUtils:e,Dictionary:e.Dictionary,Feature:e.arcadeFeature}})()),i}const a=(e,t,r)=>c.create(e,t,r,null,["$feature"]),l=(e,t,r)=>c.create(e,t,r,null,["$feature","$view"]),u=(e,t,r,n)=>c.create(e,t,r,n,["$feature","$view"]);class c{constructor(e,t,r,n,s,i,o,a){this.script=e,this.evaluate=s;const l=Array.isArray(o)?o:o.fields;this.fields=l,this._syntaxTree=n,this._arcade=t,this._arcadeDictionary=r,this._arcadeFeature=i,this._spatialReference=a,this._referencesGeometry=t.scriptTouchesGeometry(this._syntaxTree),this._referencesScale=this._arcade.referencesMember(this._syntaxTree,"scale")}static async create(e,t,r,i,a,l){const{arcade:u,Feature:h,Dictionary:d}=await o(),p=s.Z.fromJSON(t),f=u.parseScript(e,l),m=a.reduce(((e,t)=>({...e,[t]:null})),{});let y=null;(0,n.pC)(i)&&(y=new d(i),y.immutable=!0,m.$config=null);const g=u.scriptUsesGeometryEngine(f)&&u.enableGeometrySupport(),b=u.scriptUsesFeatureSet(f)&&u.enableFeatureSetSupport(),v=u.scriptIsAsync(f)&&u.enableAsyncSupport(),_={vars:m,spatialReference:p,useAsync:!!v},w=new d;w.immutable=!1,w.setField("scale",0);const x=u.compileScript(f,_);return await Promise.all([g,b,v]),new c(e,u,d,f,(e=>("$view"in e&&e.$view&&(w.setField("scale",e.$view.scale),e.$view=w),y&&(e.$config=y),x({vars:e,spatialReference:p}))),new h,r,p)}repurposeFeature(e){return e.geometry&&!e.geometry.spatialReference&&(e.geometry.spatialReference=this._spatialReference),this._arcadeFeature.repurposeFromGraphicLikeObject(e.geometry,e.attributes,{fields:this.fields}),this._arcadeFeature}repurposeAdapter(e){return this._arcadeFeature.repurposeFromAdapter(e,{fields:this.fields}),this._arcadeFeature}createDictionary(){return new this._arcadeDictionary}referencesMember(e){return this._arcade.referencesMember(this._syntaxTree,e)}referencesFunction(e){return this._arcade.referencesFunction(this._syntaxTree,e)}referencesGeometry(){return this._referencesGeometry}referencesScale(){return this._referencesScale}extractFieldLiterals(){return this._arcade.extractExpectedFieldLiterals(this._syntaxTree)}}},85958:(e,t,r)=>{r.d(t,{f:()=>o});var n=r(80442),s=r(70586),i=r(95330);function o(e,t,r=!1,o){return new Promise(((l,u)=>{if((0,i.Hc)(o))return void u(a());let c=()=>{p(),u(new Error(`Unable to load ${t}`))},h=()=>{const t=e;p(),l(t)},d=()=>{if(!e)return;const t=e;p(),t.src="",u(a())};const p=()=>{(0,n.Z)("esri-image-decode")||(e.removeEventListener("error",c),e.removeEventListener("load",h)),c=null,h=null,e=null,(0,s.pC)(o)&&o.removeEventListener("abort",d),d=null,r&&URL.revokeObjectURL(t)};(0,s.pC)(o)&&o.addEventListener("abort",d),(0,n.Z)("esri-image-decode")?e.decode().then(h,c):(e.addEventListener("error",c),e.addEventListener("load",h))}))}function a(){try{return new DOMException("Aborted","AbortError")}catch{const e=new Error;return e.name="AbortError",e}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6459],{21787:(t,n,r)=>{r.d(n,{a:()=>c,f:()=>o,i:()=>s,t:()=>a});var e=r(46851);function o(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[4],t[4]=n[5],t[5]=n[6],t[6]=n[8],t[7]=n[9],t[8]=n[10],t}function a(t,n){if(t===n){const r=n[1],e=n[2],o=n[5];t[1]=n[3],t[2]=n[6],t[3]=r,t[5]=n[7],t[6]=e,t[7]=o}else t[0]=n[0],t[1]=n[3],t[2]=n[6],t[3]=n[1],t[4]=n[4],t[5]=n[7],t[6]=n[2],t[7]=n[5],t[8]=n[8];return t}function i(t,n,r){const e=n[0],o=n[1],a=n[2],i=n[3],c=n[4],u=n[5],s=n[6],f=n[7],l=n[8],h=r[0],p=r[1],y=r[2],d=r[3],M=r[4],m=r[5],g=r[6],b=r[7],A=r[8];return t[0]=h*e+p*i+y*s,t[1]=h*o+p*c+y*f,t[2]=h*a+p*u+y*l,t[3]=d*e+M*i+m*s,t[4]=d*o+M*c+m*f,t[5]=d*a+M*u+m*l,t[6]=g*e+b*i+A*s,t[7]=g*o+b*c+A*f,t[8]=g*a+b*u+A*l,t}function c(t,n){const r=n[0],e=n[1],o=n[2],a=n[3],i=n[4],c=n[5],u=n[6],s=n[7],f=n[8],l=n[9],h=n[10],p=n[11],y=n[12],d=n[13],M=n[14],m=n[15],g=r*c-e*i,b=r*u-o*i,A=r*s-a*i,T=e*u-o*c,P=e*s-a*c,_=o*s-a*u,E=f*d-l*y,F=f*M-h*y,v=f*m-p*y,B=l*M-h*d,x=l*m-p*d,w=h*m-p*M;let C=g*w-b*x+A*B+T*v-P*F+_*E;return C?(C=1/C,t[0]=(c*w-u*x+s*B)*C,t[1]=(u*v-i*w-s*F)*C,t[2]=(i*x-c*v+s*E)*C,t[3]=(o*x-e*w-a*B)*C,t[4]=(r*w-o*v+a*F)*C,t[5]=(e*v-r*x-a*E)*C,t[6]=(d*_-M*P+m*T)*C,t[7]=(M*A-y*_-m*b)*C,t[8]=(y*P-d*A+m*g)*C,t):null}function u(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t[3]=n[3]-r[3],t[4]=n[4]-r[4],t[5]=n[5]-r[5],t[6]=n[6]-r[6],t[7]=n[7]-r[7],t[8]=n[8]-r[8],t}function s(t){const n=e.E,r=t[0],o=t[1],a=t[2],i=t[3],c=t[4],u=t[5],s=t[6],f=t[7],l=t[8];return Math.abs(1-(r*r+i*i+s*s))<=n&&Math.abs(1-(o*o+c*c+f*f))<=n&&Math.abs(1-(a*a+u*u+l*l))<=n}const f=i,l=u;Object.freeze({__proto__:null,fromMat4:o,copy:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t},set:function(t,n,r,e,o,a,i,c,u,s){return t[0]=n,t[1]=r,t[2]=e,t[3]=o,t[4]=a,t[5]=i,t[6]=c,t[7]=u,t[8]=s,t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},transpose:a,invert:function(t,n){const r=n[0],e=n[1],o=n[2],a=n[3],i=n[4],c=n[5],u=n[6],s=n[7],f=n[8],l=f*i-c*s,h=-f*a+c*u,p=s*a-i*u;let y=r*l+e*h+o*p;return y?(y=1/y,t[0]=l*y,t[1]=(-f*e+o*s)*y,t[2]=(c*e-o*i)*y,t[3]=h*y,t[4]=(f*r-o*u)*y,t[5]=(-c*r+o*a)*y,t[6]=p*y,t[7]=(-s*r+e*u)*y,t[8]=(i*r-e*a)*y,t):null},adjoint:function(t,n){const r=n[0],e=n[1],o=n[2],a=n[3],i=n[4],c=n[5],u=n[6],s=n[7],f=n[8];return t[0]=i*f-c*s,t[1]=o*s-e*f,t[2]=e*c-o*i,t[3]=c*u-a*f,t[4]=r*f-o*u,t[5]=o*a-r*c,t[6]=a*s-i*u,t[7]=e*u-r*s,t[8]=r*i-e*a,t},determinant:function(t){const n=t[0],r=t[1],e=t[2],o=t[3],a=t[4],i=t[5],c=t[6],u=t[7],s=t[8];return n*(s*a-i*u)+r*(-s*o+i*c)+e*(u*o-a*c)},multiply:i,translate:function(t,n,r){const e=n[0],o=n[1],a=n[2],i=n[3],c=n[4],u=n[5],s=n[6],f=n[7],l=n[8],h=r[0],p=r[1];return t[0]=e,t[1]=o,t[2]=a,t[3]=i,t[4]=c,t[5]=u,t[6]=h*e+p*i+s,t[7]=h*o+p*c+f,t[8]=h*a+p*u+l,t},rotate:function(t,n,r){const e=n[0],o=n[1],a=n[2],i=n[3],c=n[4],u=n[5],s=n[6],f=n[7],l=n[8],h=Math.sin(r),p=Math.cos(r);return t[0]=p*e+h*i,t[1]=p*o+h*c,t[2]=p*a+h*u,t[3]=p*i-h*e,t[4]=p*c-h*o,t[5]=p*u-h*a,t[6]=s,t[7]=f,t[8]=l,t},scale:function(t,n,r){const e=r[0],o=r[1],a=r[2];return t[0]=e*n[0],t[1]=e*n[1],t[2]=e*n[2],t[3]=o*n[3],t[4]=o*n[4],t[5]=o*n[5],t[6]=a*n[6],t[7]=a*n[7],t[8]=a*n[8],t},scaleByVec2:function(t,n,r){const e=r[0],o=r[1];return t[0]=e*n[0],t[1]=e*n[1],t[2]=e*n[2],t[3]=o*n[3],t[4]=o*n[4],t[5]=o*n[5],t},fromTranslation:function(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=n[0],t[7]=n[1],t[8]=1,t},fromRotation:function(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=e,t[1]=r,t[2]=0,t[3]=-r,t[4]=e,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=n[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromMat2d:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=0,t[3]=n[2],t[4]=n[3],t[5]=0,t[6]=n[4],t[7]=n[5],t[8]=1,t},fromQuat:function(t,n){const r=n[0],e=n[1],o=n[2],a=n[3],i=r+r,c=e+e,u=o+o,s=r*i,f=e*i,l=e*c,h=o*i,p=o*c,y=o*u,d=a*i,M=a*c,m=a*u;return t[0]=1-l-y,t[3]=f-m,t[6]=h+M,t[1]=f+m,t[4]=1-s-y,t[7]=p-d,t[2]=h-M,t[5]=p+d,t[8]=1-s-l,t},normalFromMat4Legacy:function(t,n){const r=n[0],e=n[1],o=n[2],a=n[4],i=n[5],c=n[6],u=n[8],s=n[9],f=n[10],l=f*i-c*s,h=-f*a+c*u,p=s*a-i*u,y=r*l+e*h+o*p;if(!y)return null;const d=1/y;return t[0]=l*d,t[1]=(-f*e+o*s)*d,t[2]=(c*e-o*i)*d,t[3]=h*d,t[4]=(f*r-o*u)*d,t[5]=(-c*r+o*a)*d,t[6]=p*d,t[7]=(-s*r+e*u)*d,t[8]=(i*r-e*a)*d,t},normalFromMat4:c,projection:function(t,n,r){return t[0]=2/n,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/r,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},str:function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2)},add:function(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t[3]=n[3]+r[3],t[4]=n[4]+r[4],t[5]=n[5]+r[5],t[6]=n[6]+r[6],t[7]=n[7]+r[7],t[8]=n[8]+r[8],t},subtract:u,multiplyScalar:function(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t[4]=n[4]*r,t[5]=n[5]*r,t[6]=n[6]*r,t[7]=n[7]*r,t[8]=n[8]*r,t},multiplyScalarAndAdd:function(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t[3]=n[3]+r[3]*e,t[4]=n[4]+r[4]*e,t[5]=n[5]+r[5]*e,t[6]=n[6]+r[6]*e,t[7]=n[7]+r[7]*e,t[8]=n[8]+r[8]*e,t},exactEquals:function(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]},equals:function(t,n){const r=t[0],o=t[1],a=t[2],i=t[3],c=t[4],u=t[5],s=t[6],f=t[7],l=t[8],h=n[0],p=n[1],y=n[2],d=n[3],M=n[4],m=n[5],g=n[6],b=n[7],A=n[8];return Math.abs(r-h)<=e.E*Math.max(1,Math.abs(r),Math.abs(h))&&Math.abs(o-p)<=e.E*Math.max(1,Math.abs(o),Math.abs(p))&&Math.abs(a-y)<=e.E*Math.max(1,Math.abs(a),Math.abs(y))&&Math.abs(i-d)<=e.E*Math.max(1,Math.abs(i),Math.abs(d))&&Math.abs(c-M)<=e.E*Math.max(1,Math.abs(c),Math.abs(M))&&Math.abs(u-m)<=e.E*Math.max(1,Math.abs(u),Math.abs(m))&&Math.abs(s-g)<=e.E*Math.max(1,Math.abs(s),Math.abs(g))&&Math.abs(f-b)<=e.E*Math.max(1,Math.abs(f),Math.abs(b))&&Math.abs(l-A)<=e.E*Math.max(1,Math.abs(l),Math.abs(A))},isOrthoNormal:s,mul:f,sub:l})},46521:(t,n,r)=>{function e(){return[1,0,0,0,1,0,0,0,1]}function o(t,n){return new Float64Array(t,n,9)}r.d(n,{a:()=>o,c:()=>e}),Object.freeze({__proto__:null,create:e,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},fromValues:function(t,n,r,e,o,a,i,c,u){return[t,n,r,e,o,a,i,c,u]},createView:o})},13598:(t,n,r)=>{function e(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}function a(t,n){return new Float64Array(t,n,16)}r.d(n,{I:()=>i,a:()=>a,b:()=>o,c:()=>e});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze({__proto__:null,create:e,clone:o,fromValues:function(t,n,r,e,o,a,i,c,u,s,f,l,h,p,y,d){return[t,n,r,e,o,a,i,c,u,s,f,l,h,p,y,d]},createView:a,IDENTITY:i})},51305:(t,n,r)=>{r.d(n,{c:()=>p,g:()=>f,j:()=>x,k:()=>d,m:()=>l,s:()=>s});var e=r(46521),o=r(94961),a=r(65617),i=r(46851),c=r(17896),u=r(98766);function s(t,n,r){r*=.5;const e=Math.sin(r);return t[0]=e*n[0],t[1]=e*n[1],t[2]=e*n[2],t[3]=Math.cos(r),t}function f(t,n){const r=2*Math.acos(n[3]),e=Math.sin(r/2);return e>i.E?(t[0]=n[0]/e,t[1]=n[1]/e,t[2]=n[2]/e):(t[0]=1,t[1]=0,t[2]=0),r}function l(t,n,r){const e=n[0],o=n[1],a=n[2],i=n[3],c=r[0],u=r[1],s=r[2],f=r[3];return t[0]=e*f+i*c+o*s-a*u,t[1]=o*f+i*u+a*c-e*s,t[2]=a*f+i*s+e*u-o*c,t[3]=i*f-e*c-o*u-a*s,t}function h(t,n,r,e){const o=n[0],a=n[1],c=n[2],u=n[3];let s,f,l,h,p,y=r[0],d=r[1],M=r[2],m=r[3];return f=o*y+a*d+c*M+u*m,f<0&&(f=-f,y=-y,d=-d,M=-M,m=-m),1-f>i.E?(s=Math.acos(f),l=Math.sin(s),h=Math.sin((1-e)*s)/l,p=Math.sin(e*s)/l):(h=1-e,p=e),t[0]=h*o+p*y,t[1]=h*a+p*d,t[2]=h*c+p*M,t[3]=h*u+p*m,t}function p(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t[3]=n[3],t}function y(t,n){const r=n[0]+n[4]+n[8];let e;if(r>0)e=Math.sqrt(r+1),t[3]=.5*e,e=.5/e,t[0]=(n[5]-n[7])*e,t[1]=(n[6]-n[2])*e,t[2]=(n[1]-n[3])*e;else{let r=0;n[4]>n[0]&&(r=1),n[8]>n[3*r+r]&&(r=2);const o=(r+1)%3,a=(r+2)%3;e=Math.sqrt(n[3*r+r]-n[3*o+o]-n[3*a+a]+1),t[r]=.5*e,e=.5/e,t[3]=(n[3*o+a]-n[3*a+o])*e,t[o]=(n[3*o+r]+n[3*r+o])*e,t[a]=(n[3*a+r]+n[3*r+a])*e}return t}function d(t,n,r,e){const o=.5*Math.PI/180;n*=o,r*=o,e*=o;const a=Math.sin(n),i=Math.cos(n),c=Math.sin(r),u=Math.cos(r),s=Math.sin(e),f=Math.cos(e);return t[0]=a*u*f-i*c*s,t[1]=i*c*f+a*u*s,t[2]=i*u*s-a*c*f,t[3]=i*u*f+a*c*s,t}const M=u.c,m=u.s,g=u.a,b=l,A=u.b,T=u.d,P=u.l,_=u.e,E=_,F=u.f,v=F,B=u.n,x=u.g,w=u.h,C=(0,a.c)(),R=(0,a.f)(1,0,0),S=(0,a.f)(0,1,0),I=(0,o.a)(),O=(0,o.a)(),z=(0,e.c)();Object.freeze({__proto__:null,identity:function(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=1,t},setAxisAngle:s,getAxisAngle:f,multiply:l,rotateX:function(t,n,r){r*=.5;const e=n[0],o=n[1],a=n[2],i=n[3],c=Math.sin(r),u=Math.cos(r);return t[0]=e*u+i*c,t[1]=o*u+a*c,t[2]=a*u-o*c,t[3]=i*u-e*c,t},rotateY:function(t,n,r){r*=.5;const e=n[0],o=n[1],a=n[2],i=n[3],c=Math.sin(r),u=Math.cos(r);return t[0]=e*u-a*c,t[1]=o*u+i*c,t[2]=a*u+e*c,t[3]=i*u-o*c,t},rotateZ:function(t,n,r){r*=.5;const e=n[0],o=n[1],a=n[2],i=n[3],c=Math.sin(r),u=Math.cos(r);return t[0]=e*u+o*c,t[1]=o*u-e*c,t[2]=a*u+i*c,t[3]=i*u-a*c,t},calculateW:function(t,n){const r=n[0],e=n[1],o=n[2];return t[0]=r,t[1]=e,t[2]=o,t[3]=Math.sqrt(Math.abs(1-r*r-e*e-o*o)),t},slerp:h,random:function(t){const n=(0,i.R)(),r=(0,i.R)(),e=(0,i.R)(),o=Math.sqrt(1-n),a=Math.sqrt(n);return t[0]=o*Math.sin(2*Math.PI*r),t[1]=o*Math.cos(2*Math.PI*r),t[2]=a*Math.sin(2*Math.PI*e),t[3]=a*Math.cos(2*Math.PI*e),t},invert:function(t,n){const r=n[0],e=n[1],o=n[2],a=n[3],i=r*r+e*e+o*o+a*a,c=i?1/i:0;return t[0]=-r*c,t[1]=-e*c,t[2]=-o*c,t[3]=a*c,t},conjugate:p,fromMat3:y,fromEuler:d,str:function(t){return"quat("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},copy:M,set:m,add:g,mul:b,scale:A,dot:T,lerp:P,length:_,len:E,squaredLength:F,sqrLen:v,normalize:B,exactEquals:x,equals:w,rotationTo:function(t,n,r){const e=(0,c.d)(n,r);return e<-.999999?((0,c.c)(C,R,n),(0,c.u)(C)<1e-6&&(0,c.c)(C,S,n),(0,c.n)(C,C),s(t,C,Math.PI),t):e>.999999?(t[0]=0,t[1]=0,t[2]=0,t[3]=1,t):((0,c.c)(C,n,r),t[0]=C[0],t[1]=C[1],t[2]=C[2],t[3]=1+e,B(t,t))},sqlerp:function(t,n,r,e,o,a){return h(I,n,o,a),h(O,r,e,a),h(t,I,O,2*a*(1-a)),t},setAxes:function(t,n,r,e){const o=z;return o[0]=r[0],o[3]=r[1],o[6]=r[2],o[1]=e[0],o[4]=e[1],o[7]=e[2],o[2]=-n[0],o[5]=-n[1],o[8]=-n[2],B(t,y(t,o))}})},94961:(t,n,r)=>{function e(){return[0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3]]}function a(t,n){return new Float64Array(t,n,4)}r.d(n,{I:()=>i,a:()=>e,b:()=>o,c:()=>a});const i=[0,0,0,1];Object.freeze({__proto__:null,create:e,clone:o,fromValues:function(t,n,r,e){return[t,n,r,e]},createView:a,IDENTITY:i})},20773:(t,n,r)=>{r.d(n,{a:()=>a,b:()=>u,n:()=>c,s:()=>i,t:()=>o});var e=r(72220);function o(t,n,r){if(t.count!==n.count)return void e.k.error("source and destination buffers need to have the same number of elements");const o=t.count,a=r[0],i=r[1],c=r[2],u=r[4],s=r[5],f=r[6],l=r[8],h=r[9],p=r[10],y=r[12],d=r[13],M=r[14],m=t.typedBuffer,g=t.typedBufferStride,b=n.typedBuffer,A=n.typedBufferStride;for(let t=0;t<o;t++){const n=t*g,r=t*A,e=b[r],o=b[r+1],T=b[r+2];m[n]=a*e+u*o+l*T+y,m[n+1]=i*e+s*o+h*T+d,m[n+2]=c*e+f*o+p*T+M}}function a(t,n,r){if(t.count!==n.count)return void e.k.error("source and destination buffers need to have the same number of elements");const o=t.count,a=r[0],i=r[1],c=r[2],u=r[3],s=r[4],f=r[5],l=r[6],h=r[7],p=r[8],y=t.typedBuffer,d=t.typedBufferStride,M=n.typedBuffer,m=n.typedBufferStride;for(let t=0;t<o;t++){const n=t*d,r=t*m,e=M[r],o=M[r+1],g=M[r+2];y[n]=a*e+u*o+l*g,y[n+1]=i*e+s*o+h*g,y[n+2]=c*e+f*o+p*g}}function i(t,n,r){const e=Math.min(t.count,n.count),o=t.typedBuffer,a=t.typedBufferStride,i=n.typedBuffer,c=n.typedBufferStride;for(let t=0;t<e;t++){const n=t*a,e=t*c;o[n]=r*i[e],o[n+1]=r*i[e+1],o[n+2]=r*i[e+2]}}function c(t,n){const r=Math.min(t.count,n.count),e=t.typedBuffer,o=t.typedBufferStride,a=n.typedBuffer,i=n.typedBufferStride;for(let t=0;t<r;t++){const n=t*o,r=t*i,c=a[r],u=a[r+1],s=a[r+2],f=Math.sqrt(c*c+u*u+s*s);if(f>0){const t=1/f;e[n]=t*c,e[n+1]=t*u,e[n+2]=t*s}}}function u(t,n,r){const e=Math.min(t.count,n.count),o=t.typedBuffer,a=t.typedBufferStride,i=n.typedBuffer,c=n.typedBufferStride;for(let t=0;t<e;t++){const n=t*a,e=t*c;o[n]=i[e]>>r,o[n+1]=i[e+1]>>r,o[n+2]=i[e+2]>>r}}Object.freeze({__proto__:null,transformMat4:o,transformMat3:a,scale:i,normalize:c,shiftRight:u})},56067:(t,n,r)=>{function e(t,n,r){const e=t.typedBuffer,o=t.typedBufferStride,a=n.typedBuffer,i=n.typedBufferStride,c=r?r.count:n.count;let u=(r&&r.dstIndex?r.dstIndex:0)*o,s=(r&&r.srcIndex?r.srcIndex:0)*i;for(let t=0;t<c;++t)e[u]=a[s],e[u+1]=a[s+1],e[u+2]=a[s+2],u+=o,s+=i}function o(t,n,r,e,o){var a,i;const c=t.typedBuffer,u=t.typedBufferStride,s=null!=(a=null==o?void 0:o.count)?a:t.count;let f=(null!=(i=null==o?void 0:o.dstIndex)?i:0)*u;for(let t=0;t<s;++t)c[f]=n,c[f+1]=r,c[f+2]=e,f+=u}r.d(n,{c:()=>e,f:()=>o}),Object.freeze({__proto__:null,copy:e,fill:o})},2674:(t,n,r)=>{r.d(n,{Z:()=>T});var e,o=r(43697),a=r(96674),i=r(70586),c=r(5600),u=(r(67676),r(80442),r(75215),r(52011)),s=r(52138),f=r(13598),l=r(17896),h=r(65617),p=r(13473),y=r(90411),d=r(24678),M=r(3709),m=r(56481),g=r(20773),b=r(56067);let A=e=class extends a.wq{constructor(t){super(t),this.origin=(0,h.c)(),this.translation=(0,h.c)(),this.rotation=(0,M.Ue)(),this.scale=(0,h.f)(1,1,1),this.geographic=!0}get localMatrix(){const t=(0,f.c)();return(0,s.u)(t,this.scale),(0,s.e)(t,t,(0,M.WH)(this.rotation),(0,M.ZZ)(this.rotation)),(0,s.j)(t,t,this.translation),t}get localMatrixInverse(){return(0,s.a)((0,f.c)(),this.localMatrix)}applyLocal(t,n){return(0,l.m)(n,t,this.localMatrix)}applyLocalInverse(t,n){return(0,l.m)(n,t,this.localMatrixInverse)}project(t,n){const r=new Float64Array(t.length),e=m.fP.fromTypedArray(r),o=m.fP.fromTypedArray(t);if(this.geographic){const t=(0,d.rS)(n),a=(0,f.c)();return(0,y.Bm)(n,this.origin,a,t),(0,s.m)(a,a,this.localMatrix),(0,g.t)(e,o,a),(0,y.CM)(r,t,0,r,n,0,r.length/3),r}const{localMatrix:a,origin:i}=this;(0,s.v)(a,f.I)?(0,b.c)(e,o):(0,g.t)(e,o,a);for(let t=0;t<r.length;t+=3)r[t+0]+=i[0],r[t+1]+=i[1],r[t+2]+=i[2];return r}getOriginPoint(t){const[n,r,e]=this.origin;return new p.Z({x:n,y:r,z:e,spatialReference:t})}equals(t){return(0,i.pC)(t)&&this.geographic===t.geographic&&(0,l.k)(this.origin,t.origin)&&(0,s.w)(this.localMatrix,t.localMatrix)}clone(){const t={origin:(0,h.a)(this.origin),translation:(0,h.a)(this.translation),rotation:(0,M.Ue)(this.rotation),scale:(0,h.a)(this.scale),geographic:this.geographic};return new e(t)}};(0,o._)([(0,c.Cb)({type:[Number],nonNullable:!0,json:{write:!0}})],A.prototype,"origin",void 0),(0,o._)([(0,c.Cb)({type:[Number],nonNullable:!0,json:{write:!0}})],A.prototype,"translation",void 0),(0,o._)([(0,c.Cb)({type:[Number],nonNullable:!0,json:{write:!0}})],A.prototype,"rotation",void 0),(0,o._)([(0,c.Cb)({type:[Number],nonNullable:!0,json:{write:!0}})],A.prototype,"scale",void 0),(0,o._)([(0,c.Cb)({type:Boolean,nonNullable:!0,json:{write:!0}})],A.prototype,"geographic",void 0),(0,o._)([(0,c.Cb)()],A.prototype,"localMatrix",null),(0,o._)([(0,c.Cb)()],A.prototype,"localMatrixInverse",null),A=e=(0,o._)([(0,u.j)("esri.geometry.support.MeshTransform")],A);const T=A},3709:(t,n,r)=>{r.d(n,{WH:()=>l,ZZ:()=>f,qC:()=>s,Ue:()=>c,uT:()=>u});var e=r(22021),o=r(51305),a=r(94961),i=r(17896);function c(t=h){return[t[0],t[1],t[2],t[3]]}function u(t,n,r=c()){return(0,i.g)(r,t),r[3]=n,r}function s(t,n,r=c()){return(0,o.s)(p,t,l(t)),(0,o.s)(y,n,l(n)),(0,o.m)(p,y,p),function(t,n){return t[3]=n,t}(r,(0,e.BV)((0,o.g)(r,p)))}function f(t){return t}function l(t){return(0,e.Vl)(t[3])}const h=[0,0,1,0],p=(0,a.a)(),y=(0,a.a)();c()},72220:(t,n,r)=>{r.d(n,{k:()=>e});const e=r(92604).Z.getLogger("esri.views.3d.support.buffer.math")},13442:(t,n,r)=>{function e(t,n){var r;return t.isGeographic||t.isWebMercator&&(null==(r=null==n?void 0:n.geographic)||r)}r.d(n,{h:()=>e})},66459:(t,n,r)=>{r.d(n,{iv:()=>M,I5:()=>m,w1:()=>g,FF:()=>b,Yq:()=>A});var e=r(70586),o=r(67900),a=r(46521),i=r(52138),c=r(13598),u=r(21787),s=r(90411),f=r(24678),l=r(2674),h=r(56481),p=r(20773),y=r(13442),d=r(56493);function M(t,n,r){return(0,y.h)(n.spatialReference,r)?function(t,n,r){const e=n.spatialReference,o=F(n,r,w),a=new Float64Array(t.position.length),i=function(t,n,r,e){(0,p.t)(h.fP.fromTypedArray(e),h.fP.fromTypedArray(t),n);const o=new Float64Array(t.length);return(0,d.To)(e,o,r)}(t.position,o,e,a),c=(0,u.a)(R,o);return{position:i,normal:T(i,a,t.normal,c,e),tangent:P(i,a,t.tangent,c,e)}}(t,n,r):function(t,n,r){const e=new Float64Array(t.position.length),o=t.position,a=n.x,i=n.y,c=n.z||0,{horizontal:u,vertical:s}=x(r?r.unit:null,n.spatialReference);for(let t=0;t<o.length;t+=3)e[t+0]=o[t+0]*u+a,e[t+1]=o[t+1]*u+i,e[t+2]=o[t+2]*s+c;return{position:e,normal:t.normal,tangent:t.tangent}}(t,n,r)}function m(t,n,r){const{position:o,normal:a,tangent:i}=t;if((0,e.Wi)(n))return{position:o,normal:a,tangent:i};const c=n.localMatrix;return M({position:(0,d.zZ)(o,new Float64Array(o.length),c),normal:(0,e.pC)(a)?(0,d.w9)(a,new Float32Array(a.length),c):null,tangent:(0,e.pC)(i)?(0,d.VS)(i,new Float32Array(i.length),c):null},n.getOriginPoint(r),{geographic:n.geographic})}function g(t,n,r){if(null!=r&&r.useTransform){var e;const{position:o,normal:a,tangent:i}=t;return{vertexAttributes:{position:o,normal:a,tangent:i},transform:new l.Z({origin:[n.x,n.y,null!=(e=n.z)?e:0],geographic:(0,y.h)(n.spatialReference,r)})}}return{vertexAttributes:M(t,n,r),transform:null}}function b(t,n,r){return(0,y.h)(n.spatialReference,r)?E(t,n,r):_(t,n,r)}function A(t,n,r,o){if((0,e.Wi)(n))return b(t,r,o);const a=m(t,n,r.spatialReference);return r.equals(n.getOriginPoint(r.spatialReference))?_(a,r,o):(0,y.h)(r.spatialReference,o)?E(a,r,o):_(a,r,o)}function T(t,n,r,o,a){if((0,e.Wi)(r))return null;const i=new Float32Array(r.length);return(0,p.a)(h.ct.fromTypedArray(i),h.ct.fromTypedArray(r),o),(0,d.Yk)(i,t,n,a,i),i}function P(t,n,r,o,a){if((0,e.Wi)(r))return null;const i=new Float32Array(r.length);(0,p.a)(h.ct.fromTypedArray(i,4*Float32Array.BYTES_PER_ELEMENT),h.ct.fromTypedArray(r,4*Float32Array.BYTES_PER_ELEMENT),o);for(let t=3;t<i.length;t+=4)i[t]=r[t];return(0,d.M2)(i,t,n,a,i),i}function _(t,n,r){const e=new Float64Array(t.position.length),o=t.position,a=n.x,i=n.y,c=n.z||0,{horizontal:u,vertical:s}=x(r?r.unit:null,n.spatialReference);for(let t=0;t<o.length;t+=3)e[t+0]=(o[t+0]-a)/u,e[t+1]=(o[t+1]-i)/u,e[t+2]=(o[t+2]-c)/s;return{position:e,normal:t.normal,tangent:t.tangent}}function E(t,n,r){const e=n.spatialReference;F(n,r,w);const o=(0,i.a)(C,w),a=new Float64Array(t.position.length),c=function(t,n,r,e){const o=(0,d.XO)(t,n,e),a=h.fP.fromTypedArray(o),i=new Float64Array(o.length),c=h.fP.fromTypedArray(i);return(0,p.t)(c,a,r),i}(t.position,e,o,a),s=(0,u.a)(R,o);return{position:c,normal:v(t.normal,t.position,a,e,s),tangent:B(t.tangent,t.position,a,e,s)}}function F(t,n,r){(0,s.Bm)(t.spatialReference,[t.x,t.y,t.z||0],r,(0,f.rS)(t.spatialReference));const{horizontal:e,vertical:o}=x(n?n.unit:null,t.spatialReference);return(0,i.h)(r,r,[e,e,o]),r}function v(t,n,r,o,a){if((0,e.Wi)(t))return null;const i=(0,d.Iz)(t,n,r,o,new Float32Array(t.length)),c=h.ct.fromTypedArray(i);return(0,p.a)(c,c,a),i}function B(t,n,r,o,a){if((0,e.Wi)(t))return null;const i=(0,d.wi)(t,n,r,o,new Float32Array(t.length)),c=h.ct.fromTypedArray(i,4*Float32Array.BYTES_PER_ELEMENT);return(0,p.a)(c,c,a),i}function x(t,n){if((0,e.Wi)(t))return S;const r=n.isGeographic?1:(0,o.Z7)(n),a=n.isGeographic?1:(0,o._R)(n),i=(0,o.En)(1,t,"meters");return{horizontal:i*r,vertical:i*a}}const w=(0,c.c)(),C=(0,c.c)(),R=(0,a.c)(),S={horizontal:1,vertical:1}},56493:(t,n,r)=>{r.d(n,{To:()=>A,Yk:()=>g,Iz:()=>m,M2:()=>F,wi:()=>E,XO:()=>b,w9:()=>P,zZ:()=>T,VS:()=>_});var e=r(92604),o=r(70586),a=r(21787),i=r(46521),c=r(13598),u=r(17896),s=r(65617),f=r(90411),l=r(24678),h=r(8744),p=r(40488),y=r(56481),d=r(20773);const M=e.Z.getLogger("esri.geometry.support.meshUtils.normalProjection");function m(t,n,r,e,o){return B(e)?(v(w.TO_PCPF,y.ct.fromTypedArray(t),y.fP.fromTypedArray(n),y.fP.fromTypedArray(r),e,y.ct.fromTypedArray(o)),o):(M.error("Cannot convert spatial reference to PCPF"),o)}function g(t,n,r,e,o){return B(e)?(v(w.FROM_PCPF,y.ct.fromTypedArray(t),y.fP.fromTypedArray(n),y.fP.fromTypedArray(r),e,y.ct.fromTypedArray(o)),o):(M.error("Cannot convert to spatial reference from PCPF"),o)}function b(t,n,r){return(0,f.CM)(t,n,0,r,(0,l.rS)(n),0,t.length/3),r}function A(t,n,r){return(0,f.CM)(t,(0,l.rS)(r),0,n,r,0,t.length/3),n}function T(t,n,r){if((0,o.Wi)(t))return n;const e=y.fP.fromTypedArray(t),a=y.fP.fromTypedArray(n);return(0,d.t)(a,e,r),n}function P(t,n,r){if((0,o.Wi)(t))return n;(0,a.a)(O,r);const e=y.ct.fromTypedArray(t),i=y.ct.fromTypedArray(n);return(0,d.a)(i,e,O),(0,a.i)(O)||(0,d.n)(i,i),n}function _(t,n,r){if((0,o.Wi)(t))return n;(0,a.a)(O,r);const e=y.ct.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),i=y.ct.fromTypedArray(n,4*Float32Array.BYTES_PER_ELEMENT);if((0,d.a)(i,e,O),(0,a.i)(O)||(0,d.n)(i,i),t!==n)for(let r=3;r<t.length;r+=4)n[r]=t[r];return n}function E(t,n,r,e,o){if(!B(e))return M.error("Cannot convert spatial reference to PCPF"),o;v(w.TO_PCPF,y.ct.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),y.fP.fromTypedArray(n),y.fP.fromTypedArray(r),e,y.ct.fromTypedArray(o,4*Float32Array.BYTES_PER_ELEMENT));for(let n=3;n<t.length;n+=4)o[n]=t[n];return o}function F(t,n,r,e,o){if(!B(e))return M.error("Cannot convert to spatial reference from PCPF"),o;v(w.FROM_PCPF,y.ct.fromTypedArray(t,16),y.fP.fromTypedArray(n),y.fP.fromTypedArray(r),e,y.ct.fromTypedArray(o,16));for(let n=3;n<t.length;n+=4)o[n]=t[n];return o}function v(t,n,r,e,o,i){if(!n)return;const c=r.count,s=(0,l.rS)(o);if(x(o))for(let r=0;r<c;r++)e.getVec(r,R),n.getVec(r,S),(0,f.Bm)(s,R,I,s),(0,a.f)(O,I),t===w.FROM_PCPF&&(0,a.t)(O,O),(0,u.t)(S,S,O),i.setVec(r,S);else for(let o=0;o<c;o++){e.getVec(o,R),n.getVec(o,S),(0,f.Bm)(s,R,I,s),(0,a.f)(O,I);const c=(0,p.mZ)(r.get(o,1));let l=Math.cos(c);t===w.TO_PCPF&&(l=1/l),O[0]*=l,O[1]*=l,O[2]*=l,O[3]*=l,O[4]*=l,O[5]*=l,t===w.FROM_PCPF&&(0,a.t)(O,O),(0,u.t)(S,S,O),(0,u.n)(S,S),i.setVec(o,S)}return i}function B(t){return x(t)||function(t){return t.isWebMercator}(t)}function x(t){return t.isWGS84||(0,h.yW)(t)||(0,h.BZ)(t)||(0,h.V2)(t)}var w,C;(C=w||(w={}))[C.TO_PCPF=0]="TO_PCPF",C[C.FROM_PCPF=1]="FROM_PCPF";const R=(0,s.c)(),S=(0,s.c)(),I=(0,c.c)(),O=(0,i.c)()}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6459],{21787:(t,n,r)=>{r.d(n,{a:()=>c,f:()=>o,i:()=>s,t:()=>a});var e=r(46851);function o(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[4],t[4]=n[5],t[5]=n[6],t[6]=n[8],t[7]=n[9],t[8]=n[10],t}function a(t,n){if(t===n){const r=n[1],e=n[2],o=n[5];t[1]=n[3],t[2]=n[6],t[3]=r,t[5]=n[7],t[6]=e,t[7]=o}else t[0]=n[0],t[1]=n[3],t[2]=n[6],t[3]=n[1],t[4]=n[4],t[5]=n[7],t[6]=n[2],t[7]=n[5],t[8]=n[8];return t}function i(t,n,r){const e=n[0],o=n[1],a=n[2],i=n[3],c=n[4],u=n[5],s=n[6],f=n[7],l=n[8],h=r[0],p=r[1],y=r[2],d=r[3],M=r[4],m=r[5],g=r[6],b=r[7],A=r[8];return t[0]=h*e+p*i+y*s,t[1]=h*o+p*c+y*f,t[2]=h*a+p*u+y*l,t[3]=d*e+M*i+m*s,t[4]=d*o+M*c+m*f,t[5]=d*a+M*u+m*l,t[6]=g*e+b*i+A*s,t[7]=g*o+b*c+A*f,t[8]=g*a+b*u+A*l,t}function c(t,n){const r=n[0],e=n[1],o=n[2],a=n[3],i=n[4],c=n[5],u=n[6],s=n[7],f=n[8],l=n[9],h=n[10],p=n[11],y=n[12],d=n[13],M=n[14],m=n[15],g=r*c-e*i,b=r*u-o*i,A=r*s-a*i,T=e*u-o*c,P=e*s-a*c,_=o*s-a*u,E=f*d-l*y,F=f*M-h*y,v=f*m-p*y,B=l*M-h*d,x=l*m-p*d,w=h*m-p*M;let C=g*w-b*x+A*B+T*v-P*F+_*E;return C?(C=1/C,t[0]=(c*w-u*x+s*B)*C,t[1]=(u*v-i*w-s*F)*C,t[2]=(i*x-c*v+s*E)*C,t[3]=(o*x-e*w-a*B)*C,t[4]=(r*w-o*v+a*F)*C,t[5]=(e*v-r*x-a*E)*C,t[6]=(d*_-M*P+m*T)*C,t[7]=(M*A-y*_-m*b)*C,t[8]=(y*P-d*A+m*g)*C,t):null}function u(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t[3]=n[3]-r[3],t[4]=n[4]-r[4],t[5]=n[5]-r[5],t[6]=n[6]-r[6],t[7]=n[7]-r[7],t[8]=n[8]-r[8],t}function s(t){const n=e.E,r=t[0],o=t[1],a=t[2],i=t[3],c=t[4],u=t[5],s=t[6],f=t[7],l=t[8];return Math.abs(1-(r*r+i*i+s*s))<=n&&Math.abs(1-(o*o+c*c+f*f))<=n&&Math.abs(1-(a*a+u*u+l*l))<=n}const f=i,l=u;Object.freeze({__proto__:null,fromMat4:o,copy:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t},set:function(t,n,r,e,o,a,i,c,u,s){return t[0]=n,t[1]=r,t[2]=e,t[3]=o,t[4]=a,t[5]=i,t[6]=c,t[7]=u,t[8]=s,t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},transpose:a,invert:function(t,n){const r=n[0],e=n[1],o=n[2],a=n[3],i=n[4],c=n[5],u=n[6],s=n[7],f=n[8],l=f*i-c*s,h=-f*a+c*u,p=s*a-i*u;let y=r*l+e*h+o*p;return y?(y=1/y,t[0]=l*y,t[1]=(-f*e+o*s)*y,t[2]=(c*e-o*i)*y,t[3]=h*y,t[4]=(f*r-o*u)*y,t[5]=(-c*r+o*a)*y,t[6]=p*y,t[7]=(-s*r+e*u)*y,t[8]=(i*r-e*a)*y,t):null},adjoint:function(t,n){const r=n[0],e=n[1],o=n[2],a=n[3],i=n[4],c=n[5],u=n[6],s=n[7],f=n[8];return t[0]=i*f-c*s,t[1]=o*s-e*f,t[2]=e*c-o*i,t[3]=c*u-a*f,t[4]=r*f-o*u,t[5]=o*a-r*c,t[6]=a*s-i*u,t[7]=e*u-r*s,t[8]=r*i-e*a,t},determinant:function(t){const n=t[0],r=t[1],e=t[2],o=t[3],a=t[4],i=t[5],c=t[6],u=t[7],s=t[8];return n*(s*a-i*u)+r*(-s*o+i*c)+e*(u*o-a*c)},multiply:i,translate:function(t,n,r){const e=n[0],o=n[1],a=n[2],i=n[3],c=n[4],u=n[5],s=n[6],f=n[7],l=n[8],h=r[0],p=r[1];return t[0]=e,t[1]=o,t[2]=a,t[3]=i,t[4]=c,t[5]=u,t[6]=h*e+p*i+s,t[7]=h*o+p*c+f,t[8]=h*a+p*u+l,t},rotate:function(t,n,r){const e=n[0],o=n[1],a=n[2],i=n[3],c=n[4],u=n[5],s=n[6],f=n[7],l=n[8],h=Math.sin(r),p=Math.cos(r);return t[0]=p*e+h*i,t[1]=p*o+h*c,t[2]=p*a+h*u,t[3]=p*i-h*e,t[4]=p*c-h*o,t[5]=p*u-h*a,t[6]=s,t[7]=f,t[8]=l,t},scale:function(t,n,r){const e=r[0],o=r[1],a=r[2];return t[0]=e*n[0],t[1]=e*n[1],t[2]=e*n[2],t[3]=o*n[3],t[4]=o*n[4],t[5]=o*n[5],t[6]=a*n[6],t[7]=a*n[7],t[8]=a*n[8],t},scaleByVec2:function(t,n,r){const e=r[0],o=r[1];return t[0]=e*n[0],t[1]=e*n[1],t[2]=e*n[2],t[3]=o*n[3],t[4]=o*n[4],t[5]=o*n[5],t},fromTranslation:function(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=n[0],t[7]=n[1],t[8]=1,t},fromRotation:function(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=e,t[1]=r,t[2]=0,t[3]=-r,t[4]=e,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=n[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromMat2d:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=0,t[3]=n[2],t[4]=n[3],t[5]=0,t[6]=n[4],t[7]=n[5],t[8]=1,t},fromQuat:function(t,n){const r=n[0],e=n[1],o=n[2],a=n[3],i=r+r,c=e+e,u=o+o,s=r*i,f=e*i,l=e*c,h=o*i,p=o*c,y=o*u,d=a*i,M=a*c,m=a*u;return t[0]=1-l-y,t[3]=f-m,t[6]=h+M,t[1]=f+m,t[4]=1-s-y,t[7]=p-d,t[2]=h-M,t[5]=p+d,t[8]=1-s-l,t},normalFromMat4Legacy:function(t,n){const r=n[0],e=n[1],o=n[2],a=n[4],i=n[5],c=n[6],u=n[8],s=n[9],f=n[10],l=f*i-c*s,h=-f*a+c*u,p=s*a-i*u,y=r*l+e*h+o*p;if(!y)return null;const d=1/y;return t[0]=l*d,t[1]=(-f*e+o*s)*d,t[2]=(c*e-o*i)*d,t[3]=h*d,t[4]=(f*r-o*u)*d,t[5]=(-c*r+o*a)*d,t[6]=p*d,t[7]=(-s*r+e*u)*d,t[8]=(i*r-e*a)*d,t},normalFromMat4:c,projection:function(t,n,r){return t[0]=2/n,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/r,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},str:function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2)},add:function(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t[3]=n[3]+r[3],t[4]=n[4]+r[4],t[5]=n[5]+r[5],t[6]=n[6]+r[6],t[7]=n[7]+r[7],t[8]=n[8]+r[8],t},subtract:u,multiplyScalar:function(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t[4]=n[4]*r,t[5]=n[5]*r,t[6]=n[6]*r,t[7]=n[7]*r,t[8]=n[8]*r,t},multiplyScalarAndAdd:function(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t[3]=n[3]+r[3]*e,t[4]=n[4]+r[4]*e,t[5]=n[5]+r[5]*e,t[6]=n[6]+r[6]*e,t[7]=n[7]+r[7]*e,t[8]=n[8]+r[8]*e,t},exactEquals:function(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]},equals:function(t,n){const r=t[0],o=t[1],a=t[2],i=t[3],c=t[4],u=t[5],s=t[6],f=t[7],l=t[8],h=n[0],p=n[1],y=n[2],d=n[3],M=n[4],m=n[5],g=n[6],b=n[7],A=n[8];return Math.abs(r-h)<=e.E*Math.max(1,Math.abs(r),Math.abs(h))&&Math.abs(o-p)<=e.E*Math.max(1,Math.abs(o),Math.abs(p))&&Math.abs(a-y)<=e.E*Math.max(1,Math.abs(a),Math.abs(y))&&Math.abs(i-d)<=e.E*Math.max(1,Math.abs(i),Math.abs(d))&&Math.abs(c-M)<=e.E*Math.max(1,Math.abs(c),Math.abs(M))&&Math.abs(u-m)<=e.E*Math.max(1,Math.abs(u),Math.abs(m))&&Math.abs(s-g)<=e.E*Math.max(1,Math.abs(s),Math.abs(g))&&Math.abs(f-b)<=e.E*Math.max(1,Math.abs(f),Math.abs(b))&&Math.abs(l-A)<=e.E*Math.max(1,Math.abs(l),Math.abs(A))},isOrthoNormal:s,mul:f,sub:l})},46521:(t,n,r)=>{function e(){return[1,0,0,0,1,0,0,0,1]}function o(t,n){return new Float64Array(t,n,9)}r.d(n,{a:()=>o,c:()=>e}),Object.freeze({__proto__:null,create:e,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},fromValues:function(t,n,r,e,o,a,i,c,u){return[t,n,r,e,o,a,i,c,u]},createView:o})},13598:(t,n,r)=>{function e(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}function a(t,n){return new Float64Array(t,n,16)}r.d(n,{I:()=>i,a:()=>a,b:()=>o,c:()=>e});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze({__proto__:null,create:e,clone:o,fromValues:function(t,n,r,e,o,a,i,c,u,s,f,l,h,p,y,d){return[t,n,r,e,o,a,i,c,u,s,f,l,h,p,y,d]},createView:a,IDENTITY:i})},51305:(t,n,r)=>{r.d(n,{c:()=>p,g:()=>f,j:()=>x,k:()=>d,m:()=>l,s:()=>s});var e=r(46521),o=r(94961),a=r(65617),i=r(46851),c=r(17896),u=r(98766);function s(t,n,r){r*=.5;const e=Math.sin(r);return t[0]=e*n[0],t[1]=e*n[1],t[2]=e*n[2],t[3]=Math.cos(r),t}function f(t,n){const r=2*Math.acos(n[3]),e=Math.sin(r/2);return e>i.E?(t[0]=n[0]/e,t[1]=n[1]/e,t[2]=n[2]/e):(t[0]=1,t[1]=0,t[2]=0),r}function l(t,n,r){const e=n[0],o=n[1],a=n[2],i=n[3],c=r[0],u=r[1],s=r[2],f=r[3];return t[0]=e*f+i*c+o*s-a*u,t[1]=o*f+i*u+a*c-e*s,t[2]=a*f+i*s+e*u-o*c,t[3]=i*f-e*c-o*u-a*s,t}function h(t,n,r,e){const o=n[0],a=n[1],c=n[2],u=n[3];let s,f,l,h,p,y=r[0],d=r[1],M=r[2],m=r[3];return f=o*y+a*d+c*M+u*m,f<0&&(f=-f,y=-y,d=-d,M=-M,m=-m),1-f>i.E?(s=Math.acos(f),l=Math.sin(s),h=Math.sin((1-e)*s)/l,p=Math.sin(e*s)/l):(h=1-e,p=e),t[0]=h*o+p*y,t[1]=h*a+p*d,t[2]=h*c+p*M,t[3]=h*u+p*m,t}function p(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t[3]=n[3],t}function y(t,n){const r=n[0]+n[4]+n[8];let e;if(r>0)e=Math.sqrt(r+1),t[3]=.5*e,e=.5/e,t[0]=(n[5]-n[7])*e,t[1]=(n[6]-n[2])*e,t[2]=(n[1]-n[3])*e;else{let r=0;n[4]>n[0]&&(r=1),n[8]>n[3*r+r]&&(r=2);const o=(r+1)%3,a=(r+2)%3;e=Math.sqrt(n[3*r+r]-n[3*o+o]-n[3*a+a]+1),t[r]=.5*e,e=.5/e,t[3]=(n[3*o+a]-n[3*a+o])*e,t[o]=(n[3*o+r]+n[3*r+o])*e,t[a]=(n[3*a+r]+n[3*r+a])*e}return t}function d(t,n,r,e){const o=.5*Math.PI/180;n*=o,r*=o,e*=o;const a=Math.sin(n),i=Math.cos(n),c=Math.sin(r),u=Math.cos(r),s=Math.sin(e),f=Math.cos(e);return t[0]=a*u*f-i*c*s,t[1]=i*c*f+a*u*s,t[2]=i*u*s-a*c*f,t[3]=i*u*f+a*c*s,t}const M=u.c,m=u.s,g=u.a,b=l,A=u.b,T=u.d,P=u.l,_=u.e,E=_,F=u.f,v=F,B=u.n,x=u.g,w=u.h,C=(0,a.c)(),R=(0,a.f)(1,0,0),S=(0,a.f)(0,1,0),I=(0,o.a)(),O=(0,o.a)(),z=(0,e.c)();Object.freeze({__proto__:null,identity:function(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=1,t},setAxisAngle:s,getAxisAngle:f,multiply:l,rotateX:function(t,n,r){r*=.5;const e=n[0],o=n[1],a=n[2],i=n[3],c=Math.sin(r),u=Math.cos(r);return t[0]=e*u+i*c,t[1]=o*u+a*c,t[2]=a*u-o*c,t[3]=i*u-e*c,t},rotateY:function(t,n,r){r*=.5;const e=n[0],o=n[1],a=n[2],i=n[3],c=Math.sin(r),u=Math.cos(r);return t[0]=e*u-a*c,t[1]=o*u+i*c,t[2]=a*u+e*c,t[3]=i*u-o*c,t},rotateZ:function(t,n,r){r*=.5;const e=n[0],o=n[1],a=n[2],i=n[3],c=Math.sin(r),u=Math.cos(r);return t[0]=e*u+o*c,t[1]=o*u-e*c,t[2]=a*u+i*c,t[3]=i*u-a*c,t},calculateW:function(t,n){const r=n[0],e=n[1],o=n[2];return t[0]=r,t[1]=e,t[2]=o,t[3]=Math.sqrt(Math.abs(1-r*r-e*e-o*o)),t},slerp:h,random:function(t){const n=(0,i.R)(),r=(0,i.R)(),e=(0,i.R)(),o=Math.sqrt(1-n),a=Math.sqrt(n);return t[0]=o*Math.sin(2*Math.PI*r),t[1]=o*Math.cos(2*Math.PI*r),t[2]=a*Math.sin(2*Math.PI*e),t[3]=a*Math.cos(2*Math.PI*e),t},invert:function(t,n){const r=n[0],e=n[1],o=n[2],a=n[3],i=r*r+e*e+o*o+a*a,c=i?1/i:0;return t[0]=-r*c,t[1]=-e*c,t[2]=-o*c,t[3]=a*c,t},conjugate:p,fromMat3:y,fromEuler:d,str:function(t){return"quat("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},copy:M,set:m,add:g,mul:b,scale:A,dot:T,lerp:P,length:_,len:E,squaredLength:F,sqrLen:v,normalize:B,exactEquals:x,equals:w,rotationTo:function(t,n,r){const e=(0,c.d)(n,r);return e<-.999999?((0,c.c)(C,R,n),(0,c.u)(C)<1e-6&&(0,c.c)(C,S,n),(0,c.n)(C,C),s(t,C,Math.PI),t):e>.999999?(t[0]=0,t[1]=0,t[2]=0,t[3]=1,t):((0,c.c)(C,n,r),t[0]=C[0],t[1]=C[1],t[2]=C[2],t[3]=1+e,B(t,t))},sqlerp:function(t,n,r,e,o,a){return h(I,n,o,a),h(O,r,e,a),h(t,I,O,2*a*(1-a)),t},setAxes:function(t,n,r,e){const o=z;return o[0]=r[0],o[3]=r[1],o[6]=r[2],o[1]=e[0],o[4]=e[1],o[7]=e[2],o[2]=-n[0],o[5]=-n[1],o[8]=-n[2],B(t,y(t,o))}})},94961:(t,n,r)=>{function e(){return[0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3]]}function a(t,n){return new Float64Array(t,n,4)}r.d(n,{I:()=>i,a:()=>e,b:()=>o,c:()=>a});const i=[0,0,0,1];Object.freeze({__proto__:null,create:e,clone:o,fromValues:function(t,n,r,e){return[t,n,r,e]},createView:a,IDENTITY:i})},20773:(t,n,r)=>{r.d(n,{a:()=>a,b:()=>u,n:()=>c,s:()=>i,t:()=>o});var e=r(72220);function o(t,n,r){if(t.count!==n.count)return void e.c.error("source and destination buffers need to have the same number of elements");const o=t.count,a=r[0],i=r[1],c=r[2],u=r[4],s=r[5],f=r[6],l=r[8],h=r[9],p=r[10],y=r[12],d=r[13],M=r[14],m=t.typedBuffer,g=t.typedBufferStride,b=n.typedBuffer,A=n.typedBufferStride;for(let t=0;t<o;t++){const n=t*g,r=t*A,e=b[r],o=b[r+1],T=b[r+2];m[n]=a*e+u*o+l*T+y,m[n+1]=i*e+s*o+h*T+d,m[n+2]=c*e+f*o+p*T+M}}function a(t,n,r){if(t.count!==n.count)return void e.c.error("source and destination buffers need to have the same number of elements");const o=t.count,a=r[0],i=r[1],c=r[2],u=r[3],s=r[4],f=r[5],l=r[6],h=r[7],p=r[8],y=t.typedBuffer,d=t.typedBufferStride,M=n.typedBuffer,m=n.typedBufferStride;for(let t=0;t<o;t++){const n=t*d,r=t*m,e=M[r],o=M[r+1],g=M[r+2];y[n]=a*e+u*o+l*g,y[n+1]=i*e+s*o+h*g,y[n+2]=c*e+f*o+p*g}}function i(t,n,r){const e=Math.min(t.count,n.count),o=t.typedBuffer,a=t.typedBufferStride,i=n.typedBuffer,c=n.typedBufferStride;for(let t=0;t<e;t++){const n=t*a,e=t*c;o[n]=r*i[e],o[n+1]=r*i[e+1],o[n+2]=r*i[e+2]}}function c(t,n){const r=Math.min(t.count,n.count),e=t.typedBuffer,o=t.typedBufferStride,a=n.typedBuffer,i=n.typedBufferStride;for(let t=0;t<r;t++){const n=t*o,r=t*i,c=a[r],u=a[r+1],s=a[r+2],f=Math.sqrt(c*c+u*u+s*s);if(f>0){const t=1/f;e[n]=t*c,e[n+1]=t*u,e[n+2]=t*s}}}function u(t,n,r){const e=Math.min(t.count,n.count),o=t.typedBuffer,a=t.typedBufferStride,i=n.typedBuffer,c=n.typedBufferStride;for(let t=0;t<e;t++){const n=t*a,e=t*c;o[n]=i[e]>>r,o[n+1]=i[e+1]>>r,o[n+2]=i[e+2]>>r}}Object.freeze({__proto__:null,transformMat4:o,transformMat3:a,scale:i,normalize:c,shiftRight:u})},56067:(t,n,r)=>{function e(t,n,r){const e=t.typedBuffer,o=t.typedBufferStride,a=n.typedBuffer,i=n.typedBufferStride,c=r?r.count:n.count;let u=(r&&r.dstIndex?r.dstIndex:0)*o,s=(r&&r.srcIndex?r.srcIndex:0)*i;for(let t=0;t<c;++t)e[u]=a[s],e[u+1]=a[s+1],e[u+2]=a[s+2],u+=o,s+=i}function o(t,n,r,e,o){var a,i;const c=t.typedBuffer,u=t.typedBufferStride,s=null!=(a=null==o?void 0:o.count)?a:t.count;let f=(null!=(i=null==o?void 0:o.dstIndex)?i:0)*u;for(let t=0;t<s;++t)c[f]=n,c[f+1]=r,c[f+2]=e,f+=u}r.d(n,{c:()=>e,f:()=>o}),Object.freeze({__proto__:null,copy:e,fill:o})},2674:(t,n,r)=>{r.d(n,{Z:()=>T});var e,o=r(43697),a=r(96674),i=r(70586),c=r(5600),u=(r(67676),r(80442),r(75215),r(52011)),s=r(52138),f=r(13598),l=r(17896),h=r(65617),p=r(13473),y=r(90411),d=r(24678),M=r(3709),m=r(56481),g=r(20773),b=r(56067);let A=e=class extends a.wq{constructor(t){super(t),this.origin=(0,h.c)(),this.translation=(0,h.c)(),this.rotation=(0,M.Ue)(),this.scale=(0,h.f)(1,1,1),this.geographic=!0}get localMatrix(){const t=(0,f.c)();return(0,s.u)(t,this.scale),(0,s.e)(t,t,(0,M.WH)(this.rotation),(0,M.ZZ)(this.rotation)),(0,s.j)(t,t,this.translation),t}get localMatrixInverse(){return(0,s.a)((0,f.c)(),this.localMatrix)}applyLocal(t,n){return(0,l.m)(n,t,this.localMatrix)}applyLocalInverse(t,n){return(0,l.m)(n,t,this.localMatrixInverse)}project(t,n){const r=new Float64Array(t.length),e=m.fP.fromTypedArray(r),o=m.fP.fromTypedArray(t);if(this.geographic){const t=(0,d.rS)(n),a=(0,f.c)();return(0,y.Bm)(n,this.origin,a,t),(0,s.m)(a,a,this.localMatrix),(0,g.t)(e,o,a),(0,y.CM)(r,t,0,r,n,0,r.length/3),r}const{localMatrix:a,origin:i}=this;(0,s.v)(a,f.I)?(0,b.c)(e,o):(0,g.t)(e,o,a);for(let t=0;t<r.length;t+=3)r[t+0]+=i[0],r[t+1]+=i[1],r[t+2]+=i[2];return r}getOriginPoint(t){const[n,r,e]=this.origin;return new p.Z({x:n,y:r,z:e,spatialReference:t})}equals(t){return(0,i.pC)(t)&&this.geographic===t.geographic&&(0,l.k)(this.origin,t.origin)&&(0,s.w)(this.localMatrix,t.localMatrix)}clone(){const t={origin:(0,h.a)(this.origin),translation:(0,h.a)(this.translation),rotation:(0,M.Ue)(this.rotation),scale:(0,h.a)(this.scale),geographic:this.geographic};return new e(t)}};(0,o._)([(0,c.Cb)({type:[Number],nonNullable:!0,json:{write:!0}})],A.prototype,"origin",void 0),(0,o._)([(0,c.Cb)({type:[Number],nonNullable:!0,json:{write:!0}})],A.prototype,"translation",void 0),(0,o._)([(0,c.Cb)({type:[Number],nonNullable:!0,json:{write:!0}})],A.prototype,"rotation",void 0),(0,o._)([(0,c.Cb)({type:[Number],nonNullable:!0,json:{write:!0}})],A.prototype,"scale",void 0),(0,o._)([(0,c.Cb)({type:Boolean,nonNullable:!0,json:{write:!0}})],A.prototype,"geographic",void 0),(0,o._)([(0,c.Cb)()],A.prototype,"localMatrix",null),(0,o._)([(0,c.Cb)()],A.prototype,"localMatrixInverse",null),A=e=(0,o._)([(0,u.j)("esri.geometry.support.MeshTransform")],A);const T=A},3709:(t,n,r)=>{r.d(n,{WH:()=>l,ZZ:()=>f,qC:()=>s,Ue:()=>c,uT:()=>u});var e=r(22021),o=r(51305),a=r(94961),i=r(17896);function c(t=h){return[t[0],t[1],t[2],t[3]]}function u(t,n,r=c()){return(0,i.g)(r,t),r[3]=n,r}function s(t,n,r=c()){return(0,o.s)(p,t,l(t)),(0,o.s)(y,n,l(n)),(0,o.m)(p,y,p),function(t,n){return t[3]=n,t}(r,(0,e.BV)((0,o.g)(r,p)))}function f(t){return t}function l(t){return(0,e.Vl)(t[3])}const h=[0,0,1,0],p=(0,a.a)(),y=(0,a.a)();c()},72220:(t,n,r)=>{r.d(n,{c:()=>e});const e=r(92604).Z.getLogger("esri.views.3d.support.buffer.math")},13442:(t,n,r)=>{function e(t,n){var r;return t.isGeographic||t.isWebMercator&&(null==(r=null==n?void 0:n.geographic)||r)}r.d(n,{h:()=>e})},66459:(t,n,r)=>{r.d(n,{iv:()=>M,I5:()=>m,w1:()=>g,FF:()=>b,Yq:()=>A});var e=r(70586),o=r(67900),a=r(46521),i=r(52138),c=r(13598),u=r(21787),s=r(90411),f=r(24678),l=r(2674),h=r(56481),p=r(20773),y=r(13442),d=r(56493);function M(t,n,r){return(0,y.h)(n.spatialReference,r)?function(t,n,r){const e=n.spatialReference,o=F(n,r,w),a=new Float64Array(t.position.length),i=function(t,n,r,e){(0,p.t)(h.fP.fromTypedArray(e),h.fP.fromTypedArray(t),n);const o=new Float64Array(t.length);return(0,d.To)(e,o,r)}(t.position,o,e,a),c=(0,u.a)(R,o);return{position:i,normal:T(i,a,t.normal,c,e),tangent:P(i,a,t.tangent,c,e)}}(t,n,r):function(t,n,r){const e=new Float64Array(t.position.length),o=t.position,a=n.x,i=n.y,c=n.z||0,{horizontal:u,vertical:s}=x(r?r.unit:null,n.spatialReference);for(let t=0;t<o.length;t+=3)e[t+0]=o[t+0]*u+a,e[t+1]=o[t+1]*u+i,e[t+2]=o[t+2]*s+c;return{position:e,normal:t.normal,tangent:t.tangent}}(t,n,r)}function m(t,n,r){const{position:o,normal:a,tangent:i}=t;if((0,e.Wi)(n))return{position:o,normal:a,tangent:i};const c=n.localMatrix;return M({position:(0,d.zZ)(o,new Float64Array(o.length),c),normal:(0,e.pC)(a)?(0,d.w9)(a,new Float32Array(a.length),c):null,tangent:(0,e.pC)(i)?(0,d.VS)(i,new Float32Array(i.length),c):null},n.getOriginPoint(r),{geographic:n.geographic})}function g(t,n,r){if(null!=r&&r.useTransform){var e;const{position:o,normal:a,tangent:i}=t;return{vertexAttributes:{position:o,normal:a,tangent:i},transform:new l.Z({origin:[n.x,n.y,null!=(e=n.z)?e:0],geographic:(0,y.h)(n.spatialReference,r)})}}return{vertexAttributes:M(t,n,r),transform:null}}function b(t,n,r){return(0,y.h)(n.spatialReference,r)?E(t,n,r):_(t,n,r)}function A(t,n,r,o){if((0,e.Wi)(n))return b(t,r,o);const a=m(t,n,r.spatialReference);return r.equals(n.getOriginPoint(r.spatialReference))?_(a,r,o):(0,y.h)(r.spatialReference,o)?E(a,r,o):_(a,r,o)}function T(t,n,r,o,a){if((0,e.Wi)(r))return null;const i=new Float32Array(r.length);return(0,p.a)(h.ct.fromTypedArray(i),h.ct.fromTypedArray(r),o),(0,d.Yk)(i,t,n,a,i),i}function P(t,n,r,o,a){if((0,e.Wi)(r))return null;const i=new Float32Array(r.length);(0,p.a)(h.ct.fromTypedArray(i,4*Float32Array.BYTES_PER_ELEMENT),h.ct.fromTypedArray(r,4*Float32Array.BYTES_PER_ELEMENT),o);for(let t=3;t<i.length;t+=4)i[t]=r[t];return(0,d.M2)(i,t,n,a,i),i}function _(t,n,r){const e=new Float64Array(t.position.length),o=t.position,a=n.x,i=n.y,c=n.z||0,{horizontal:u,vertical:s}=x(r?r.unit:null,n.spatialReference);for(let t=0;t<o.length;t+=3)e[t+0]=(o[t+0]-a)/u,e[t+1]=(o[t+1]-i)/u,e[t+2]=(o[t+2]-c)/s;return{position:e,normal:t.normal,tangent:t.tangent}}function E(t,n,r){const e=n.spatialReference;F(n,r,w);const o=(0,i.a)(C,w),a=new Float64Array(t.position.length),c=function(t,n,r,e){const o=(0,d.XO)(t,n,e),a=h.fP.fromTypedArray(o),i=new Float64Array(o.length),c=h.fP.fromTypedArray(i);return(0,p.t)(c,a,r),i}(t.position,e,o,a),s=(0,u.a)(R,o);return{position:c,normal:v(t.normal,t.position,a,e,s),tangent:B(t.tangent,t.position,a,e,s)}}function F(t,n,r){(0,s.Bm)(t.spatialReference,[t.x,t.y,t.z||0],r,(0,f.rS)(t.spatialReference));const{horizontal:e,vertical:o}=x(n?n.unit:null,t.spatialReference);return(0,i.h)(r,r,[e,e,o]),r}function v(t,n,r,o,a){if((0,e.Wi)(t))return null;const i=(0,d.Iz)(t,n,r,o,new Float32Array(t.length)),c=h.ct.fromTypedArray(i);return(0,p.a)(c,c,a),i}function B(t,n,r,o,a){if((0,e.Wi)(t))return null;const i=(0,d.wi)(t,n,r,o,new Float32Array(t.length)),c=h.ct.fromTypedArray(i,4*Float32Array.BYTES_PER_ELEMENT);return(0,p.a)(c,c,a),i}function x(t,n){if((0,e.Wi)(t))return S;const r=n.isGeographic?1:(0,o.Z7)(n),a=n.isGeographic?1:(0,o._R)(n),i=(0,o.En)(1,t,"meters");return{horizontal:i*r,vertical:i*a}}const w=(0,c.c)(),C=(0,c.c)(),R=(0,a.c)(),S={horizontal:1,vertical:1}},56493:(t,n,r)=>{r.d(n,{To:()=>A,Yk:()=>g,Iz:()=>m,M2:()=>F,wi:()=>E,XO:()=>b,w9:()=>P,zZ:()=>T,VS:()=>_});var e=r(92604),o=r(70586),a=r(21787),i=r(46521),c=r(13598),u=r(17896),s=r(65617),f=r(90411),l=r(24678),h=r(8744),p=r(40488),y=r(56481),d=r(20773);const M=e.Z.getLogger("esri.geometry.support.meshUtils.normalProjection");function m(t,n,r,e,o){return B(e)?(v(w.TO_PCPF,y.ct.fromTypedArray(t),y.fP.fromTypedArray(n),y.fP.fromTypedArray(r),e,y.ct.fromTypedArray(o)),o):(M.error("Cannot convert spatial reference to PCPF"),o)}function g(t,n,r,e,o){return B(e)?(v(w.FROM_PCPF,y.ct.fromTypedArray(t),y.fP.fromTypedArray(n),y.fP.fromTypedArray(r),e,y.ct.fromTypedArray(o)),o):(M.error("Cannot convert to spatial reference from PCPF"),o)}function b(t,n,r){return(0,f.CM)(t,n,0,r,(0,l.rS)(n),0,t.length/3),r}function A(t,n,r){return(0,f.CM)(t,(0,l.rS)(r),0,n,r,0,t.length/3),n}function T(t,n,r){if((0,o.Wi)(t))return n;const e=y.fP.fromTypedArray(t),a=y.fP.fromTypedArray(n);return(0,d.t)(a,e,r),n}function P(t,n,r){if((0,o.Wi)(t))return n;(0,a.a)(O,r);const e=y.ct.fromTypedArray(t),i=y.ct.fromTypedArray(n);return(0,d.a)(i,e,O),(0,a.i)(O)||(0,d.n)(i,i),n}function _(t,n,r){if((0,o.Wi)(t))return n;(0,a.a)(O,r);const e=y.ct.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),i=y.ct.fromTypedArray(n,4*Float32Array.BYTES_PER_ELEMENT);if((0,d.a)(i,e,O),(0,a.i)(O)||(0,d.n)(i,i),t!==n)for(let r=3;r<t.length;r+=4)n[r]=t[r];return n}function E(t,n,r,e,o){if(!B(e))return M.error("Cannot convert spatial reference to PCPF"),o;v(w.TO_PCPF,y.ct.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),y.fP.fromTypedArray(n),y.fP.fromTypedArray(r),e,y.ct.fromTypedArray(o,4*Float32Array.BYTES_PER_ELEMENT));for(let n=3;n<t.length;n+=4)o[n]=t[n];return o}function F(t,n,r,e,o){if(!B(e))return M.error("Cannot convert to spatial reference from PCPF"),o;v(w.FROM_PCPF,y.ct.fromTypedArray(t,16),y.fP.fromTypedArray(n),y.fP.fromTypedArray(r),e,y.ct.fromTypedArray(o,16));for(let n=3;n<t.length;n+=4)o[n]=t[n];return o}function v(t,n,r,e,o,i){if(!n)return;const c=r.count,s=(0,l.rS)(o);if(x(o))for(let r=0;r<c;r++)e.getVec(r,R),n.getVec(r,S),(0,f.Bm)(s,R,I,s),(0,a.f)(O,I),t===w.FROM_PCPF&&(0,a.t)(O,O),(0,u.t)(S,S,O),i.setVec(r,S);else for(let o=0;o<c;o++){e.getVec(o,R),n.getVec(o,S),(0,f.Bm)(s,R,I,s),(0,a.f)(O,I);const c=(0,p.mZ)(r.get(o,1));let l=Math.cos(c);t===w.TO_PCPF&&(l=1/l),O[0]*=l,O[1]*=l,O[2]*=l,O[3]*=l,O[4]*=l,O[5]*=l,t===w.FROM_PCPF&&(0,a.t)(O,O),(0,u.t)(S,S,O),(0,u.n)(S,S),i.setVec(o,S)}return i}function B(t){return x(t)||function(t){return t.isWebMercator}(t)}function x(t){return t.isWGS84||(0,h.yW)(t)||(0,h.BZ)(t)||(0,h.V2)(t)}var w,C;(C=w||(w={}))[C.TO_PCPF=0]="TO_PCPF",C[C.FROM_PCPF=1]="FROM_PCPF";const R=(0,s.c)(),S=(0,s.c)(),I=(0,c.c)(),O=(0,i.c)()}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9294,3172],{36030:(e,t,r)=>{r.d(t,{J:()=>s});var o=r(35454),n=r(5600);function s(e,t={}){var r;const s=e instanceof o.Xn?e:new o.Xn(e,t),i={type:null==(r=null==t?void 0:t.ignoreUnknown)||r?s.apiValues:String,json:{type:s.jsonValues,read:(null==t||!t.readOnly)&&{reader:s.read},write:{writer:s.write}}};return void 0!==(null==t?void 0:t.readOnly)&&(i.readOnly=!!t.readOnly),void 0!==(null==t?void 0:t.default)&&(i.json.default=t.default),void 0!==(null==t?void 0:t.name)&&(i.json.name=t.name),(0,n.Cb)(i)}},23030:(e,t,r)=>{r.d(t,{Z:()=>w});var o,n=r(43697),s=r(22974),i=r(5600),l=r(75215),a=r(36030),d=r(52011),u=r(25848),p=r(66338),c=r(22303),h=r(96674);let y=o=class extends h.wq{constructor(){super(...arguments),this.description=null,this.label=null,this.minValue=0,this.maxValue=0,this.color=null}clone(){return new o({description:this.description,label:this.label,minValue:this.minValue,maxValue:this.maxValue,color:(0,s.d9)(this.color)})}};(0,n._)([(0,i.Cb)({type:String,json:{write:!0}})],y.prototype,"description",void 0),(0,n._)([(0,i.Cb)({type:String,json:{write:!0}})],y.prototype,"label",void 0),(0,n._)([(0,i.Cb)({type:Number,json:{read:{source:"classMinValue"},write:{target:"classMinValue"}}})],y.prototype,"minValue",void 0),(0,n._)([(0,i.Cb)({type:Number,json:{read:{source:"classMaxValue"},write:{target:"classMaxValue"}}})],y.prototype,"maxValue",void 0),(0,n._)([(0,i.Cb)({type:c.Z,json:{type:[l.z8],write:!0}})],y.prototype,"color",void 0),y=o=(0,n._)([(0,d.j)("esri.renderers.support.pointCloud.ColorClassBreakInfo")],y);const f=y;var m;let b=m=class extends u.Z{constructor(e){super(e),this.type="point-cloud-class-breaks",this.field=null,this.legendOptions=null,this.fieldTransformType=null,this.colorClassBreakInfos=null}clone(){return new m({...this.cloneProperties(),field:this.field,fieldTransformType:this.fieldTransformType,colorClassBreakInfos:(0,s.d9)(this.colorClassBreakInfos),legendOptions:(0,s.d9)(this.legendOptions)})}};(0,n._)([(0,a.J)({pointCloudClassBreaksRenderer:"point-cloud-class-breaks"})],b.prototype,"type",void 0),(0,n._)([(0,i.Cb)({json:{write:!0},type:String})],b.prototype,"field",void 0),(0,n._)([(0,i.Cb)({type:p.Z,json:{write:!0}})],b.prototype,"legendOptions",void 0),(0,n._)([(0,i.Cb)({type:u.Z.fieldTransformTypeKebabDict.apiValues,json:{type:u.Z.fieldTransformTypeKebabDict.jsonValues,read:u.Z.fieldTransformTypeKebabDict.read,write:u.Z.fieldTransformTypeKebabDict.write}})],b.prototype,"fieldTransformType",void 0),(0,n._)([(0,i.Cb)({type:[f],json:{write:!0}})],b.prototype,"colorClassBreakInfos",void 0),b=m=(0,n._)([(0,d.j)("esri.renderers.PointCloudClassBreaksRenderer")],b);const w=b},25848:(e,t,r)=>{r.d(t,{Z:()=>j});var o,n=r(43697),s=r(35454),i=r(96674),l=r(22974),a=r(5600),d=(r(75215),r(52011));r(67676),r(80442);let u=o=class extends i.wq{constructor(){super(...arguments),this.field=null,this.minValue=0,this.maxValue=255}clone(){return new o({field:this.field,minValue:this.minValue,maxValue:this.maxValue})}};(0,n._)([(0,a.Cb)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,n._)([(0,a.Cb)({type:Number,nonNullable:!0,json:{write:!0}})],u.prototype,"minValue",void 0),(0,n._)([(0,a.Cb)({type:Number,nonNullable:!0,json:{write:!0}})],u.prototype,"maxValue",void 0),u=o=(0,n._)([(0,d.j)("esri.renderers.support.pointCloud.ColorModulation")],u);const p=u,c=new s.Xn({pointCloudFixedSizeAlgorithm:"fixed-size",pointCloudSplatAlgorithm:"splat"});let h=class extends i.wq{};(0,n._)([(0,a.Cb)({type:c.apiValues,readOnly:!0,nonNullable:!0,json:{type:c.jsonValues,read:!1,write:c.write}})],h.prototype,"type",void 0),h=(0,n._)([(0,d.j)("esri.renderers.support.pointCloud.PointSizeAlgorithm")],h);const y=h;var f,m=r(36030);let b=f=class extends y{constructor(){super(...arguments),this.type="fixed-size",this.size=0,this.useRealWorldSymbolSizes=null}clone(){return new f({size:this.size,useRealWorldSymbolSizes:this.useRealWorldSymbolSizes})}};(0,n._)([(0,m.J)({pointCloudFixedSizeAlgorithm:"fixed-size"})],b.prototype,"type",void 0),(0,n._)([(0,a.Cb)({type:Number,nonNullable:!0,json:{write:!0}})],b.prototype,"size",void 0),(0,n._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],b.prototype,"useRealWorldSymbolSizes",void 0),b=f=(0,n._)([(0,d.j)("esri.renderers.support.pointCloud.PointSizeFixedSizeAlgorithm")],b);const w=b;var v;let g=v=class extends y{constructor(){super(...arguments),this.type="splat",this.scaleFactor=1}clone(){return new v({scaleFactor:this.scaleFactor})}};(0,n._)([(0,m.J)({pointCloudSplatAlgorithm:"splat"})],g.prototype,"type",void 0),(0,n._)([(0,a.Cb)({type:Number,value:1,nonNullable:!0,json:{write:!0}})],g.prototype,"scaleFactor",void 0),g=v=(0,n._)([(0,d.j)("esri.renderers.support.pointCloud.PointSizeSplatAlgorithm")],g);const C={key:"type",base:y,typeMap:{"fixed-size":w,splat:g}},T=(0,s.wY)()({pointCloudClassBreaksRenderer:"point-cloud-class-breaks",pointCloudRGBRenderer:"point-cloud-rgb",pointCloudStretchRenderer:"point-cloud-stretch",pointCloudUniqueValueRenderer:"point-cloud-unique-value"});let S=class extends i.wq{constructor(e){super(e),this.type=void 0,this.pointSizeAlgorithm=null,this.colorModulation=null,this.pointsPerInch=10}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}cloneProperties(){return{pointSizeAlgorithm:(0,l.d9)(this.pointSizeAlgorithm),colorModulation:(0,l.d9)(this.colorModulation),pointsPerInch:(0,l.d9)(this.pointsPerInch)}}};(0,n._)([(0,a.Cb)({type:T.apiValues,readOnly:!0,nonNullable:!0,json:{type:T.jsonValues,read:!1,write:T.write}})],S.prototype,"type",void 0),(0,n._)([(0,a.Cb)({types:C,json:{write:!0}})],S.prototype,"pointSizeAlgorithm",void 0),(0,n._)([(0,a.Cb)({type:p,json:{write:!0}})],S.prototype,"colorModulation",void 0),(0,n._)([(0,a.Cb)({json:{write:!0},nonNullable:!0,type:Number})],S.prototype,"pointsPerInch",void 0),S=(0,n._)([(0,d.j)("esri.renderers.PointCloudRenderer")],S),(S||(S={})).fieldTransformTypeKebabDict=new s.Xn({none:"none",lowFourBit:"low-four-bit",highFourBit:"high-four-bit",absoluteValue:"absolute-value",moduloTen:"modulo-ten"});const j=S},14008:(e,t,r)=>{r.d(t,{Z:()=>h});var o,n=r(43697),s=r(22974),i=r(5600),l=(r(75215),r(36030)),a=r(52011),d=r(25848),u=r(66338),p=r(21849);let c=o=class extends d.Z{constructor(e){super(e),this.type="point-cloud-stretch",this.field=null,this.legendOptions=null,this.fieldTransformType=null,this.stops=null}clone(){return new o({...this.cloneProperties(),field:(0,s.d9)(this.field),fieldTransformType:(0,s.d9)(this.fieldTransformType),stops:(0,s.d9)(this.stops),legendOptions:(0,s.d9)(this.legendOptions)})}};(0,n._)([(0,l.J)({pointCloudStretchRenderer:"point-cloud-stretch"})],c.prototype,"type",void 0),(0,n._)([(0,i.Cb)({json:{write:!0},type:String})],c.prototype,"field",void 0),(0,n._)([(0,i.Cb)({type:u.Z,json:{write:!0}})],c.prototype,"legendOptions",void 0),(0,n._)([(0,i.Cb)({type:d.Z.fieldTransformTypeKebabDict.apiValues,json:{type:d.Z.fieldTransformTypeKebabDict.jsonValues,read:d.Z.fieldTransformTypeKebabDict.read,write:d.Z.fieldTransformTypeKebabDict.write}})],c.prototype,"fieldTransformType",void 0),(0,n._)([(0,i.Cb)({type:[p.Z],json:{write:!0}})],c.prototype,"stops",void 0),c=o=(0,n._)([(0,a.j)("esri.renderers.PointCloudStretchRenderer")],c);const h=c},46329:(e,t,r)=>{r.d(t,{Z:()=>w});var o,n=r(43697),s=r(22974),i=r(5600),l=r(75215),a=r(36030),d=r(52011),u=r(25848),p=r(66338),c=r(22303),h=r(96674);let y=o=class extends h.wq{constructor(){super(...arguments),this.description=null,this.label=null,this.values=null,this.color=null}clone(){return new o({description:this.description,label:this.label,values:(0,s.d9)(this.values),color:(0,s.d9)(this.color)})}};(0,n._)([(0,i.Cb)({type:String,json:{write:!0}})],y.prototype,"description",void 0),(0,n._)([(0,i.Cb)({type:String,json:{write:!0}})],y.prototype,"label",void 0),(0,n._)([(0,i.Cb)({type:[String],json:{write:!0}})],y.prototype,"values",void 0),(0,n._)([(0,i.Cb)({type:c.Z,json:{type:[l.z8],write:!0}})],y.prototype,"color",void 0),y=o=(0,n._)([(0,d.j)("esri.renderers.support.pointCloud.ColorUniqueValueInfo")],y);const f=y;var m;let b=m=class extends u.Z{constructor(e){super(e),this.type="point-cloud-unique-value",this.field=null,this.fieldTransformType=null,this.colorUniqueValueInfos=null,this.legendOptions=null}clone(){return new m({...this.cloneProperties(),field:(0,s.d9)(this.field),fieldTransformType:(0,s.d9)(this.fieldTransformType),colorUniqueValueInfos:(0,s.d9)(this.colorUniqueValueInfos),legendOptions:(0,s.d9)(this.legendOptions)})}};(0,n._)([(0,a.J)({pointCloudUniqueValueRenderer:"point-cloud-unique-value"})],b.prototype,"type",void 0),(0,n._)([(0,i.Cb)({json:{write:!0},type:String})],b.prototype,"field",void 0),(0,n._)([(0,i.Cb)({type:u.Z.fieldTransformTypeKebabDict.apiValues,json:{type:u.Z.fieldTransformTypeKebabDict.jsonValues,read:u.Z.fieldTransformTypeKebabDict.read,write:u.Z.fieldTransformTypeKebabDict.write}})],b.prototype,"fieldTransformType",void 0),(0,n._)([(0,i.Cb)({type:[f],json:{write:!0}})],b.prototype,"colorUniqueValueInfos",void 0),(0,n._)([(0,i.Cb)({type:p.Z,json:{write:!0}})],b.prototype,"legendOptions",void 0),b=m=(0,n._)([(0,d.j)("esri.renderers.PointCloudUniqueValueRenderer")],b);const w=b},66338:(e,t,r)=>{r.d(t,{Z:()=>d});var o,n=r(43697),s=r(96674),i=r(5600),l=(r(67676),r(80442),r(75215),r(52011));let a=o=class extends s.wq{constructor(){super(...arguments),this.title=null}clone(){return new o({title:this.title})}};(0,n._)([(0,i.Cb)({type:String,json:{write:!0}})],a.prototype,"title",void 0),a=o=(0,n._)([(0,l.j)("esri.renderers.support.LegendOptions")],a);const d=a},21849:(e,t,r)=>{r.d(t,{Z:()=>c});var o,n=r(43697),s=r(22303),i=r(96674),l=r(5600),a=(r(67676),r(80442),r(75215)),d=r(52011),u=r(30556);let p=o=class extends i.wq{constructor(e){super(e),this.color=null,this.label=null,this.value=null}writeValue(e,t,r){t[r]=null==e?0:e}clone(){return new o({color:this.color&&this.color.clone(),label:this.label,value:this.value})}};(0,n._)([(0,l.Cb)({type:s.Z,json:{type:[a.z8],write:!0}})],p.prototype,"color",void 0),(0,n._)([(0,l.Cb)({type:String,json:{write:!0}})],p.prototype,"label",void 0),(0,n._)([(0,l.Cb)({type:Number,json:{write:{writerEnsuresNonNull:!0}}})],p.prototype,"value",void 0),(0,n._)([(0,u.c)("value")],p.prototype,"writeValue",null),p=o=(0,n._)([(0,d.j)("esri.renderers.visualVariables.support.ColorStop")],p);const c=p},3172:(e,t,r)=>{r.r(t),r.d(t,{default:()=>h});var o=r(68773),n=r(40330),s=r(20102),i=r(80442),l=r(22974),a=r(70586),d=r(95330),u=r(17452),p=r(71058),c=r(85958);async function h(e,t){var l;const c=(0,u.HK)(e),b=(0,u.jc)(e);b||c||(e=(0,u.Fv)(e));const w={url:e,requestOptions:{...(0,a.Wg)(t)}};let v=(0,u.oh)(e);if(v){const e=await async function(e,t){if(null!=e.responseData)return e.responseData;if(e.headers&&(t.requestOptions.headers={...t.requestOptions.headers,...e.headers}),e.query&&(t.requestOptions.query={...t.requestOptions.query,...e.query}),e.before){let r,o;try{o=await e.before(t)}catch(e){r=S("request:interceptor",e,t)}if((o instanceof Error||o instanceof s.Z)&&(r=S("request:interceptor",o,t)),r)throw e.error&&e.error(r),r;return o}}(v,w);if(null!=e)return{data:e,getHeader:g,requestOptions:w.requestOptions,url:w.url};v.after||v.error||(v=null)}if(e=w.url,"image"===(t=w.requestOptions).responseType){if((0,i.Z)("host-webworker")||(0,i.Z)("host-node"))throw S("request:invalid-parameters",new Error("responseType 'image' is not supported in Web Workers or Node environment"),w)}else if(c)throw S("request:invalid-parameters",new Error("Data URLs are not supported for responseType = "+t.responseType),w);if("head"===t.method){if(t.body)throw S("request:invalid-parameters",new Error("body parameter cannot be set when method is 'head'"),w);if(c||b)throw S("request:invalid-parameters",new Error("data and blob URLs are not supported for method 'head'"),w)}if(await async function(){(0,i.Z)("host-webworker")?y||(y=await Promise.all([r.e(102),r.e(9884)]).then(r.bind(r,29884))):h._abortableFetch||(h._abortableFetch=globalThis.fetch.bind(globalThis))}(),y)return y.execute(e,t);const C=new AbortController;(0,d.fu)(t,(()=>C.abort()));const T={controller:C,credential:null,credentialToken:null,fetchOptions:null,hasToken:!1,interceptor:v,params:w,redoRequest:!1,useIdentity:f.useIdentity,useProxy:!1,useSSL:!1,withCredentials:!1},k=await async function(e){var t,r;let s,i;await async function(e){const t=e.params.url,r=e.params.requestOptions,s=e.controller.signal,i=r.body;let l=null,a=null,u=null;if(m&&"HTMLFormElement"in globalThis&&(i instanceof FormData?l=i:i instanceof HTMLFormElement&&(a=i,l=new FormData(a))),"string"==typeof i&&(u=i),e.fetchOptions={cache:r.cacheBust&&!h._abortableFetch.polyfill?"no-cache":"default",credentials:"same-origin",headers:r.headers||{},method:"head"===r.method?"HEAD":"GET",mode:"cors",redirect:"follow",signal:s},(l||u)&&(e.fetchOptions.body=l||u),"anonymous"===r.authMode&&(e.useIdentity=!1),e.hasToken=!!(/token=/i.test(t)||r.query&&r.query.token||l&&l.get&&l.get("token")||a&&a.elements.token),!e.hasToken&&o.Z.apiKey&&(0,p.r)(t)&&(r.query||(r.query={}),r.query.token=o.Z.apiKey,e.hasToken=!0),e.useIdentity&&!e.hasToken&&!e.credentialToken&&!q(t)&&!(0,d.Hc)(s)){let o;"immediate"===r.authMode?(await j(),o=await n.id.getCredential(t,{signal:s}),e.credential=o):"no-prompt"===r.authMode?(await j(),o=await n.id.getCredential(t,{prompt:!1,signal:s}).catch((()=>{})),e.credential=o):n.id&&(o=n.id.findCredential(t)),o&&(e.credentialToken=o.token,e.useSSL=!!o.ssl)}}(e);try{do{[s,i]=await _(e)}while(!await x(e,s,i))}catch(t){const r=S("request:server",t,e.params,s);throw r.details.ssl=e.useSSL,e.interceptor&&e.interceptor.error&&e.interceptor.error(r),r}const l=e.params.url;if(/\/sharing\/rest\/(accounts|portals)\/self/i.test(l)&&!e.hasToken&&!e.credentialToken&&null!=(t=i)&&null!=(r=t.user)&&r.username&&!(0,u.kl)(l)){const e=(0,u.P$)(l,!0);e&&f.trustedServers.push(e)}const a=e.credential;if(a&&n.id){const e=n.id.findServerInfo(a.server);let t=e&&e.owningSystemUrl;if(t){t=t.replace(/\/?$/,"/sharing");const e=n.id.findCredential(t,a.userId);e&&-1===n.id._getIdenticalSvcIdx(t,e)&&e.resources.unshift(t)}}return{data:i,getHeader:s?e=>s.headers.get(e):g,requestOptions:e.params.requestOptions,ssl:e.useSSL,url:e.params.url}}(T);return null==(l=v)||null==l.after||l.after(k),k}let y;const f=o.Z.request,m="FormData"in globalThis,b=[499,498,403,401],w=["COM_0056","COM_0057","SB_0008"],v=[/\/arcgis\/tokens/i,/\/sharing(\/rest)?\/generatetoken/i,/\/rest\/info/i],g=()=>null,C=Symbol();function T(e){const t=(0,u.P$)(e);return!t||t.endsWith(".arcgis.com")||h._corsServers.includes(t)||(0,u.kl)(t)}function S(e,t,r,o){let n="Error";const i={url:r.url,requestOptions:r.requestOptions,getHeader:g,ssl:!1};if(t instanceof s.Z)return t.details?(t.details=(0,l.d9)(t.details),t.details.url=r.url,t.details.requestOptions=r.requestOptions):t.details=i,t;if(t){const e=o&&(e=>o.headers.get(e)),r=o&&o.status,s=t.message;s&&(n=s),e&&(i.getHeader=e),i.httpStatus=(null!=t.httpCode?t.httpCode:t.code)||r||0,i.subCode=t.subcode,i.messageCode=t.messageCode,"string"==typeof t.details?i.messages=[t.details]:i.messages=t.details,i.raw=C in t?t[C]:t}return(0,d.D_)(t)?(0,d.zE)():new s.Z(e,n,i)}async function j(){n.id||await Promise.all([r.e(280),r.e(2785),r.e(102),r.e(8536)]).then(r.bind(r,85976))}function q(e){return v.some((t=>t.test(e)))}async function _(e){let t=e.params.url;const r=e.params.requestOptions,o=e.fetchOptions,s=(0,u.jc)(t)||(0,u.HK)(t),l=r.responseType||"json",a=s?0:null!=r.timeout?r.timeout:f.timeout;let p=!1;if(!s){e.useSSL&&(t=(0,u.hO)(t)),r.cacheBust&&"default"===o.cache&&(t=(0,u.ZN)(t,"request.preventCache",Date.now()));let s={...r.query};e.credentialToken&&(s.token=e.credentialToken);let l=(0,u.B7)(s);(0,i.Z)("esri-url-encodes-apostrophe")&&(l=l.replace(/'/g,"%27"));const a=t.length+1+l.length;let d;p="delete"===r.method||"post"===r.method||"put"===r.method||!!r.body||a>f.maxUrlLength;const c=r.useProxy||!!(0,u.ed)(t);if(c){const e=(0,u.b7)(t);d=e.path,!p&&d.length+1+a>f.maxUrlLength&&(p=!0),e.query&&(s={...e.query,...s})}if("HEAD"===o.method&&(p||c)){if(p){if(a>f.maxUrlLength)throw S("request:invalid-parameters",new Error("URL exceeds maximum length"),e.params);throw S("request:invalid-parameters",new Error("cannot use POST request when method is 'head'"),e.params)}if(c)throw S("request:invalid-parameters",new Error("cannot use proxy when method is 'head'"),e.params)}if(p?(o.method="delete"===r.method?"DELETE":"put"===r.method?"PUT":"POST",r.body?t=(0,u.fl)(t,s):(o.body=(0,u.B7)(s),o.headers["Content-Type"]="application/x-www-form-urlencoded")):t=(0,u.fl)(t,s),c&&(e.useProxy=!0,t=`${d}?${t}`),s.token&&m&&o.body instanceof FormData){const e=o.body;e.set?e.set("token",s.token):e.append("token",s.token)}if(r.hasOwnProperty("withCredentials"))e.withCredentials=r.withCredentials;else if(!(0,u.D6)(t,u.Gd))if((0,u.kl)(t))e.withCredentials=!0;else if(n.id){const r=n.id.findServerInfo(t);r&&r.webTierAuth&&(e.withCredentials=!0)}e.withCredentials&&(o.credentials="include")}let c,y,b=0,w=!1;a>0&&(b=setTimeout((()=>{w=!0,e.controller.abort()}),a));try{if("native-request-init"===r.responseType)y=o,y.url=t;else if("image"!==r.responseType||"default"!==o.cache||"GET"!==o.method||p||function(e){if(e)for(const t of Object.getOwnPropertyNames(e))if(e[t])return!0;return!1}(r.headers)||!s&&!e.useProxy&&f.proxyUrl&&!T(t)){if(c=await h._abortableFetch(t,o),e.useProxy||function(e){const t=(0,u.P$)(e);t&&!h._corsServers.includes(t)&&h._corsServers.push(t)}(t),"native"===r.responseType)y=c;else if("HEAD"!==o.method)if(c.ok){switch(l){case"array-buffer":y=await c.arrayBuffer();break;case"blob":case"image":y=await c.blob();break;default:y=await c.text()}if(b&&(clearTimeout(b),b=0),"json"===l||"xml"===l||"document"===l)if(y)switch(l){case"json":y=JSON.parse(y);break;case"xml":y=k(y,"application/xml");break;case"document":y=k(y,"text/html")}else y=null;if(y){if("array-buffer"===l||"blob"===l){const e=c.headers.get("Content-Type");if(/application\/json|text\/plain/i.test(e)&&y["blob"===l?"size":"byteLength"]<=750)try{const e=await new Response(y).json();e.error&&(y=e)}catch{}}"image"===l&&y instanceof Blob&&(y=await O(URL.createObjectURL(y),e,!0))}}else y=await c.text()}else y=await O(t,e)}catch(o){if("AbortError"===o.name){if(w)throw new Error("Timeout exceeded");throw(0,d.zE)("Request canceled")}if(!(!c&&o instanceof TypeError&&f.proxyUrl)||r.body||"delete"===r.method||"head"===r.method||"post"===r.method||"put"===r.method||e.useProxy||T(t))throw o;e.redoRequest=!0,(0,u.tD)({proxyUrl:f.proxyUrl,urlPrefix:(0,u.P$)(t)})}finally{b&&clearTimeout(b)}return[c,y]}function k(e,t){let r;try{r=(new DOMParser).parseFromString(e,t)}catch{}if(!r||r.getElementsByTagName("parsererror").length)throw new SyntaxError("XML Parse error");return r}async function x(e,t,r){if(e.redoRequest)return e.redoRequest=!1,!1;const o=e.params.requestOptions;if(!t||"native"===o.responseType||"native-request-init"===o.responseType)return!0;let s,i,l,a;if(!t.ok)throw s=new Error(`Unable to load ${t.url} status: ${t.status}`),s[C]=r,s;null!=r&&r.error&&(s=r.error),s&&(i=Number(s.code),l=s.hasOwnProperty("subcode")?Number(s.subcode):null,a=s.messageCode,a=a&&a.toUpperCase());const d=o.authMode;if(403===i&&(4===l||s.message&&s.message.toLowerCase().indexOf("ssl")>-1&&-1===s.message.toLowerCase().indexOf("permission"))){if(!e.useSSL)return e.useSSL=!0,!1}else if(!e.hasToken&&e.useIdentity&&("no-prompt"!==d||498===i)&&-1!==b.indexOf(i)&&!q(e.params.url)&&(403!==i||-1===w.indexOf(a)&&(null==l||2===l&&e.credentialToken))){await j();try{const t=await n.id.getCredential(e.params.url,{error:S("request:server",s,e.params),prompt:"no-prompt"!==d,signal:e.controller.signal,token:e.credentialToken});return e.credential=t,e.credentialToken=t.token,e.useSSL=e.useSSL||t.ssl,!1}catch(t){if("no-prompt"===d)return e.credential=null,e.credentialToken=null,!1;s=t}}if(s)throw s;return!0}function O(e,t,r=!1){const o=t.controller.signal,n=new Image;return t.withCredentials?n.crossOrigin="use-credentials":n.crossOrigin="anonymous",n.alt="",n.src=e,(0,c.f)(n,e,r,o)}h._abortableFetch=null,h._corsServers=["https://server.arcgisonline.com","https://services.arcgisonline.com"]},71058:(e,t,r)=>{r.d(t,{r:()=>s});var o=r(17452);const n=["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"];function s(e){const t=(0,o.P$)(e,!0);return t&&t.endsWith(".arcgis.com")&&!n.includes(t)&&!e.endsWith("/sharing/rest/generateToken")}},85958:(e,t,r)=>{r.d(t,{f:()=>i});var o=r(80442),n=r(70586),s=r(95330);function i(e,t,r=!1,i){return new Promise(((a,d)=>{if((0,s.Hc)(i))return void d(l());let u=()=>{h(),d(new Error(`Unable to load ${t}`))},p=()=>{const t=e;h(),a(t)},c=()=>{if(!e)return;const t=e;h(),t.src="",d(l())};const h=()=>{(0,o.Z)("esri-image-decode")||(e.removeEventListener("error",u),e.removeEventListener("load",p)),u=null,p=null,e=null,(0,n.pC)(i)&&i.removeEventListener("abort",c),c=null,r&&URL.revokeObjectURL(t)};(0,n.pC)(i)&&i.addEventListener("abort",c),(0,o.Z)("esri-image-decode")?e.decode().then(p,u):(e.addEventListener("error",u),e.addEventListener("load",p))}))}function l(){try{return new DOMException("Aborted","AbortError")}catch{const e=new Error;return e.name="AbortError",e}}}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9294,3172],{36030:(e,t,r)=>{r.d(t,{J:()=>s});var o=r(35454),n=r(5600);function s(e,t={}){var r;const s=e instanceof o.Xn?e:new o.Xn(e,t),i={type:null==(r=null==t?void 0:t.ignoreUnknown)||r?s.apiValues:String,json:{type:s.jsonValues,read:(null==t||!t.readOnly)&&{reader:s.read},write:{writer:s.write}}};return void 0!==(null==t?void 0:t.readOnly)&&(i.readOnly=!!t.readOnly),void 0!==(null==t?void 0:t.default)&&(i.json.default=t.default),void 0!==(null==t?void 0:t.name)&&(i.json.name=t.name),(0,n.Cb)(i)}},23030:(e,t,r)=>{r.d(t,{Z:()=>w});var o,n=r(43697),s=r(22974),i=r(5600),l=r(75215),a=r(36030),d=r(52011),u=r(25848),p=r(66338),c=r(22303),h=r(96674);let y=o=class extends h.wq{constructor(){super(...arguments),this.description=null,this.label=null,this.minValue=0,this.maxValue=0,this.color=null}clone(){return new o({description:this.description,label:this.label,minValue:this.minValue,maxValue:this.maxValue,color:(0,s.d9)(this.color)})}};(0,n._)([(0,i.Cb)({type:String,json:{write:!0}})],y.prototype,"description",void 0),(0,n._)([(0,i.Cb)({type:String,json:{write:!0}})],y.prototype,"label",void 0),(0,n._)([(0,i.Cb)({type:Number,json:{read:{source:"classMinValue"},write:{target:"classMinValue"}}})],y.prototype,"minValue",void 0),(0,n._)([(0,i.Cb)({type:Number,json:{read:{source:"classMaxValue"},write:{target:"classMaxValue"}}})],y.prototype,"maxValue",void 0),(0,n._)([(0,i.Cb)({type:c.Z,json:{type:[l.z8],write:!0}})],y.prototype,"color",void 0),y=o=(0,n._)([(0,d.j)("esri.renderers.support.pointCloud.ColorClassBreakInfo")],y);const f=y;var m;let b=m=class extends u.Z{constructor(e){super(e),this.type="point-cloud-class-breaks",this.field=null,this.legendOptions=null,this.fieldTransformType=null,this.colorClassBreakInfos=null}clone(){return new m({...this.cloneProperties(),field:this.field,fieldTransformType:this.fieldTransformType,colorClassBreakInfos:(0,s.d9)(this.colorClassBreakInfos),legendOptions:(0,s.d9)(this.legendOptions)})}};(0,n._)([(0,a.J)({pointCloudClassBreaksRenderer:"point-cloud-class-breaks"})],b.prototype,"type",void 0),(0,n._)([(0,i.Cb)({json:{write:!0},type:String})],b.prototype,"field",void 0),(0,n._)([(0,i.Cb)({type:p.Z,json:{write:!0}})],b.prototype,"legendOptions",void 0),(0,n._)([(0,i.Cb)({type:u.Z.fieldTransformTypeKebabDict.apiValues,json:{type:u.Z.fieldTransformTypeKebabDict.jsonValues,read:u.Z.fieldTransformTypeKebabDict.read,write:u.Z.fieldTransformTypeKebabDict.write}})],b.prototype,"fieldTransformType",void 0),(0,n._)([(0,i.Cb)({type:[f],json:{write:!0}})],b.prototype,"colorClassBreakInfos",void 0),b=m=(0,n._)([(0,d.j)("esri.renderers.PointCloudClassBreaksRenderer")],b);const w=b},25848:(e,t,r)=>{r.d(t,{Z:()=>j});var o,n=r(43697),s=r(35454),i=r(96674),l=r(22974),a=r(5600),d=(r(75215),r(52011));r(67676),r(80442);let u=o=class extends i.wq{constructor(){super(...arguments),this.field=null,this.minValue=0,this.maxValue=255}clone(){return new o({field:this.field,minValue:this.minValue,maxValue:this.maxValue})}};(0,n._)([(0,a.Cb)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,n._)([(0,a.Cb)({type:Number,nonNullable:!0,json:{write:!0}})],u.prototype,"minValue",void 0),(0,n._)([(0,a.Cb)({type:Number,nonNullable:!0,json:{write:!0}})],u.prototype,"maxValue",void 0),u=o=(0,n._)([(0,d.j)("esri.renderers.support.pointCloud.ColorModulation")],u);const p=u,c=new s.Xn({pointCloudFixedSizeAlgorithm:"fixed-size",pointCloudSplatAlgorithm:"splat"});let h=class extends i.wq{};(0,n._)([(0,a.Cb)({type:c.apiValues,readOnly:!0,nonNullable:!0,json:{type:c.jsonValues,read:!1,write:c.write}})],h.prototype,"type",void 0),h=(0,n._)([(0,d.j)("esri.renderers.support.pointCloud.PointSizeAlgorithm")],h);const y=h;var f,m=r(36030);let b=f=class extends y{constructor(){super(...arguments),this.type="fixed-size",this.size=0,this.useRealWorldSymbolSizes=null}clone(){return new f({size:this.size,useRealWorldSymbolSizes:this.useRealWorldSymbolSizes})}};(0,n._)([(0,m.J)({pointCloudFixedSizeAlgorithm:"fixed-size"})],b.prototype,"type",void 0),(0,n._)([(0,a.Cb)({type:Number,nonNullable:!0,json:{write:!0}})],b.prototype,"size",void 0),(0,n._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],b.prototype,"useRealWorldSymbolSizes",void 0),b=f=(0,n._)([(0,d.j)("esri.renderers.support.pointCloud.PointSizeFixedSizeAlgorithm")],b);const w=b;var v;let g=v=class extends y{constructor(){super(...arguments),this.type="splat",this.scaleFactor=1}clone(){return new v({scaleFactor:this.scaleFactor})}};(0,n._)([(0,m.J)({pointCloudSplatAlgorithm:"splat"})],g.prototype,"type",void 0),(0,n._)([(0,a.Cb)({type:Number,value:1,nonNullable:!0,json:{write:!0}})],g.prototype,"scaleFactor",void 0),g=v=(0,n._)([(0,d.j)("esri.renderers.support.pointCloud.PointSizeSplatAlgorithm")],g);const C={key:"type",base:y,typeMap:{"fixed-size":w,splat:g}},T=(0,s.wY)()({pointCloudClassBreaksRenderer:"point-cloud-class-breaks",pointCloudRGBRenderer:"point-cloud-rgb",pointCloudStretchRenderer:"point-cloud-stretch",pointCloudUniqueValueRenderer:"point-cloud-unique-value"});let S=class extends i.wq{constructor(e){super(e),this.type=void 0,this.pointSizeAlgorithm=null,this.colorModulation=null,this.pointsPerInch=10}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}cloneProperties(){return{pointSizeAlgorithm:(0,l.d9)(this.pointSizeAlgorithm),colorModulation:(0,l.d9)(this.colorModulation),pointsPerInch:(0,l.d9)(this.pointsPerInch)}}};(0,n._)([(0,a.Cb)({type:T.apiValues,readOnly:!0,nonNullable:!0,json:{type:T.jsonValues,read:!1,write:T.write}})],S.prototype,"type",void 0),(0,n._)([(0,a.Cb)({types:C,json:{write:!0}})],S.prototype,"pointSizeAlgorithm",void 0),(0,n._)([(0,a.Cb)({type:p,json:{write:!0}})],S.prototype,"colorModulation",void 0),(0,n._)([(0,a.Cb)({json:{write:!0},nonNullable:!0,type:Number})],S.prototype,"pointsPerInch",void 0),S=(0,n._)([(0,d.j)("esri.renderers.PointCloudRenderer")],S),(S||(S={})).fieldTransformTypeKebabDict=new s.Xn({none:"none",lowFourBit:"low-four-bit",highFourBit:"high-four-bit",absoluteValue:"absolute-value",moduloTen:"modulo-ten"});const j=S},14008:(e,t,r)=>{r.d(t,{Z:()=>h});var o,n=r(43697),s=r(22974),i=r(5600),l=(r(75215),r(36030)),a=r(52011),d=r(25848),u=r(66338),p=r(21849);let c=o=class extends d.Z{constructor(e){super(e),this.type="point-cloud-stretch",this.field=null,this.legendOptions=null,this.fieldTransformType=null,this.stops=null}clone(){return new o({...this.cloneProperties(),field:(0,s.d9)(this.field),fieldTransformType:(0,s.d9)(this.fieldTransformType),stops:(0,s.d9)(this.stops),legendOptions:(0,s.d9)(this.legendOptions)})}};(0,n._)([(0,l.J)({pointCloudStretchRenderer:"point-cloud-stretch"})],c.prototype,"type",void 0),(0,n._)([(0,i.Cb)({json:{write:!0},type:String})],c.prototype,"field",void 0),(0,n._)([(0,i.Cb)({type:u.Z,json:{write:!0}})],c.prototype,"legendOptions",void 0),(0,n._)([(0,i.Cb)({type:d.Z.fieldTransformTypeKebabDict.apiValues,json:{type:d.Z.fieldTransformTypeKebabDict.jsonValues,read:d.Z.fieldTransformTypeKebabDict.read,write:d.Z.fieldTransformTypeKebabDict.write}})],c.prototype,"fieldTransformType",void 0),(0,n._)([(0,i.Cb)({type:[p.Z],json:{write:!0}})],c.prototype,"stops",void 0),c=o=(0,n._)([(0,a.j)("esri.renderers.PointCloudStretchRenderer")],c);const h=c},46329:(e,t,r)=>{r.d(t,{Z:()=>w});var o,n=r(43697),s=r(22974),i=r(5600),l=r(75215),a=r(36030),d=r(52011),u=r(25848),p=r(66338),c=r(22303),h=r(96674);let y=o=class extends h.wq{constructor(){super(...arguments),this.description=null,this.label=null,this.values=null,this.color=null}clone(){return new o({description:this.description,label:this.label,values:(0,s.d9)(this.values),color:(0,s.d9)(this.color)})}};(0,n._)([(0,i.Cb)({type:String,json:{write:!0}})],y.prototype,"description",void 0),(0,n._)([(0,i.Cb)({type:String,json:{write:!0}})],y.prototype,"label",void 0),(0,n._)([(0,i.Cb)({type:[String],json:{write:!0}})],y.prototype,"values",void 0),(0,n._)([(0,i.Cb)({type:c.Z,json:{type:[l.z8],write:!0}})],y.prototype,"color",void 0),y=o=(0,n._)([(0,d.j)("esri.renderers.support.pointCloud.ColorUniqueValueInfo")],y);const f=y;var m;let b=m=class extends u.Z{constructor(e){super(e),this.type="point-cloud-unique-value",this.field=null,this.fieldTransformType=null,this.colorUniqueValueInfos=null,this.legendOptions=null}clone(){return new m({...this.cloneProperties(),field:(0,s.d9)(this.field),fieldTransformType:(0,s.d9)(this.fieldTransformType),colorUniqueValueInfos:(0,s.d9)(this.colorUniqueValueInfos),legendOptions:(0,s.d9)(this.legendOptions)})}};(0,n._)([(0,a.J)({pointCloudUniqueValueRenderer:"point-cloud-unique-value"})],b.prototype,"type",void 0),(0,n._)([(0,i.Cb)({json:{write:!0},type:String})],b.prototype,"field",void 0),(0,n._)([(0,i.Cb)({type:u.Z.fieldTransformTypeKebabDict.apiValues,json:{type:u.Z.fieldTransformTypeKebabDict.jsonValues,read:u.Z.fieldTransformTypeKebabDict.read,write:u.Z.fieldTransformTypeKebabDict.write}})],b.prototype,"fieldTransformType",void 0),(0,n._)([(0,i.Cb)({type:[f],json:{write:!0}})],b.prototype,"colorUniqueValueInfos",void 0),(0,n._)([(0,i.Cb)({type:p.Z,json:{write:!0}})],b.prototype,"legendOptions",void 0),b=m=(0,n._)([(0,d.j)("esri.renderers.PointCloudUniqueValueRenderer")],b);const w=b},66338:(e,t,r)=>{r.d(t,{Z:()=>d});var o,n=r(43697),s=r(96674),i=r(5600),l=(r(67676),r(80442),r(75215),r(52011));let a=o=class extends s.wq{constructor(){super(...arguments),this.title=null}clone(){return new o({title:this.title})}};(0,n._)([(0,i.Cb)({type:String,json:{write:!0}})],a.prototype,"title",void 0),a=o=(0,n._)([(0,l.j)("esri.renderers.support.LegendOptions")],a);const d=a},21849:(e,t,r)=>{r.d(t,{Z:()=>c});var o,n=r(43697),s=r(22303),i=r(96674),l=r(5600),a=(r(67676),r(80442),r(75215)),d=r(52011),u=r(30556);let p=o=class extends i.wq{constructor(e){super(e),this.color=null,this.label=null,this.value=null}writeValue(e,t,r){t[r]=null==e?0:e}clone(){return new o({color:this.color&&this.color.clone(),label:this.label,value:this.value})}};(0,n._)([(0,l.Cb)({type:s.Z,json:{type:[a.z8],write:!0}})],p.prototype,"color",void 0),(0,n._)([(0,l.Cb)({type:String,json:{write:!0}})],p.prototype,"label",void 0),(0,n._)([(0,l.Cb)({type:Number,json:{write:{writerEnsuresNonNull:!0}}})],p.prototype,"value",void 0),(0,n._)([(0,u.c)("value")],p.prototype,"writeValue",null),p=o=(0,n._)([(0,d.j)("esri.renderers.visualVariables.support.ColorStop")],p);const c=p},3172:(e,t,r)=>{r.r(t),r.d(t,{default:()=>h});var o=r(68773),n=r(40330),s=r(20102),i=r(80442),l=r(22974),a=r(70586),d=r(95330),u=r(17452),p=r(71058),c=r(85958);async function h(e,t){var l;const c=(0,u.HK)(e),b=(0,u.jc)(e);b||c||(e=(0,u.Fv)(e));const w={url:e,requestOptions:{...(0,a.Wg)(t)}};let v=(0,u.oh)(e);if(v){const e=await async function(e,t){if(null!=e.responseData)return e.responseData;if(e.headers&&(t.requestOptions.headers={...t.requestOptions.headers,...e.headers}),e.query&&(t.requestOptions.query={...t.requestOptions.query,...e.query}),e.before){let r,o;try{o=await e.before(t)}catch(e){r=S("request:interceptor",e,t)}if((o instanceof Error||o instanceof s.Z)&&(r=S("request:interceptor",o,t)),r)throw e.error&&e.error(r),r;return o}}(v,w);if(null!=e)return{data:e,getHeader:g,requestOptions:w.requestOptions,url:w.url};v.after||v.error||(v=null)}if(e=w.url,"image"===(t=w.requestOptions).responseType){if((0,i.Z)("host-webworker")||(0,i.Z)("host-node"))throw S("request:invalid-parameters",new Error("responseType 'image' is not supported in Web Workers or Node environment"),w)}else if(c)throw S("request:invalid-parameters",new Error("Data URLs are not supported for responseType = "+t.responseType),w);if("head"===t.method){if(t.body)throw S("request:invalid-parameters",new Error("body parameter cannot be set when method is 'head'"),w);if(c||b)throw S("request:invalid-parameters",new Error("data and blob URLs are not supported for method 'head'"),w)}if(await async function(){(0,i.Z)("host-webworker")?y||(y=await Promise.all([r.e(102),r.e(9884)]).then(r.bind(r,29884))):h._abortableFetch||(h._abortableFetch=globalThis.fetch.bind(globalThis))}(),y)return y.execute(e,t);const C=new AbortController;(0,d.fu)(t,(()=>C.abort()));const T={controller:C,credential:null,credentialToken:null,fetchOptions:null,hasToken:!1,interceptor:v,params:w,redoRequest:!1,useIdentity:f.useIdentity,useProxy:!1,useSSL:!1,withCredentials:!1},k=await async function(e){var t,r;let s,i;await async function(e){const t=e.params.url,r=e.params.requestOptions,s=e.controller.signal,i=r.body;let l=null,a=null,u=null;if(m&&"HTMLFormElement"in globalThis&&(i instanceof FormData?l=i:i instanceof HTMLFormElement&&(a=i,l=new FormData(a))),"string"==typeof i&&(u=i),e.fetchOptions={cache:r.cacheBust&&!h._abortableFetch.polyfill?"no-cache":"default",credentials:"same-origin",headers:r.headers||{},method:"head"===r.method?"HEAD":"GET",mode:"cors",redirect:"follow",signal:s},(l||u)&&(e.fetchOptions.body=l||u),"anonymous"===r.authMode&&(e.useIdentity=!1),e.hasToken=!!(/token=/i.test(t)||r.query&&r.query.token||l&&l.get&&l.get("token")||a&&a.elements.token),!e.hasToken&&o.Z.apiKey&&(0,p.r)(t)&&(r.query||(r.query={}),r.query.token=o.Z.apiKey,e.hasToken=!0),e.useIdentity&&!e.hasToken&&!e.credentialToken&&!q(t)&&!(0,d.Hc)(s)){let o;"immediate"===r.authMode?(await j(),o=await n.id.getCredential(t,{signal:s}),e.credential=o):"no-prompt"===r.authMode?(await j(),o=await n.id.getCredential(t,{prompt:!1,signal:s}).catch((()=>{})),e.credential=o):n.id&&(o=n.id.findCredential(t)),o&&(e.credentialToken=o.token,e.useSSL=!!o.ssl)}}(e);try{do{[s,i]=await _(e)}while(!await x(e,s,i))}catch(t){const r=S("request:server",t,e.params,s);throw r.details.ssl=e.useSSL,e.interceptor&&e.interceptor.error&&e.interceptor.error(r),r}const l=e.params.url;if(/\/sharing\/rest\/(accounts|portals)\/self/i.test(l)&&!e.hasToken&&!e.credentialToken&&null!=(t=i)&&null!=(r=t.user)&&r.username&&!(0,u.kl)(l)){const e=(0,u.P$)(l,!0);e&&f.trustedServers.push(e)}const a=e.credential;if(a&&n.id){const e=n.id.findServerInfo(a.server);let t=e&&e.owningSystemUrl;if(t){t=t.replace(/\/?$/,"/sharing");const e=n.id.findCredential(t,a.userId);e&&-1===n.id._getIdenticalSvcIdx(t,e)&&e.resources.unshift(t)}}return{data:i,getHeader:s?e=>s.headers.get(e):g,requestOptions:e.params.requestOptions,ssl:e.useSSL,url:e.params.url}}(T);return null==(l=v)||null==l.after||l.after(k),k}let y;const f=o.Z.request,m="FormData"in globalThis,b=[499,498,403,401],w=["COM_0056","COM_0057","SB_0008"],v=[/\/arcgis\/tokens/i,/\/sharing(\/rest)?\/generatetoken/i,/\/rest\/info/i],g=()=>null,C=Symbol();function T(e){const t=(0,u.P$)(e);return!t||t.endsWith(".arcgis.com")||h._corsServers.includes(t)||(0,u.kl)(t)}function S(e,t,r,o){let n="Error";const i={url:r.url,requestOptions:r.requestOptions,getHeader:g,ssl:!1};if(t instanceof s.Z)return t.details?(t.details=(0,l.d9)(t.details),t.details.url=r.url,t.details.requestOptions=r.requestOptions):t.details=i,t;if(t){const e=o&&(e=>o.headers.get(e)),r=o&&o.status,s=t.message;s&&(n=s),e&&(i.getHeader=e),i.httpStatus=(null!=t.httpCode?t.httpCode:t.code)||r||0,i.subCode=t.subcode,i.messageCode=t.messageCode,"string"==typeof t.details?i.messages=[t.details]:i.messages=t.details,i.raw=C in t?t[C]:t}return(0,d.D_)(t)?(0,d.zE)():new s.Z(e,n,i)}async function j(){n.id||await Promise.all([r.e(280),r.e(2785),r.e(102),r.e(8536)]).then(r.bind(r,85976))}function q(e){return v.some((t=>t.test(e)))}async function _(e){let t=e.params.url;const r=e.params.requestOptions,o=e.fetchOptions,s=(0,u.jc)(t)||(0,u.HK)(t),l=r.responseType||"json",a=s?0:null!=r.timeout?r.timeout:f.timeout;let p=!1;if(!s){e.useSSL&&(t=(0,u.hO)(t)),r.cacheBust&&"default"===o.cache&&(t=(0,u.ZN)(t,"request.preventCache",Date.now()));let s={...r.query};e.credentialToken&&(s.token=e.credentialToken);let l=(0,u.B7)(s);(0,i.Z)("esri-url-encodes-apostrophe")&&(l=l.replace(/'/g,"%27"));const a=t.length+1+l.length;let d;p="delete"===r.method||"post"===r.method||"put"===r.method||!!r.body||a>f.maxUrlLength;const c=r.useProxy||!!(0,u.ed)(t);if(c){const e=(0,u.b7)(t);d=e.path,!p&&d.length+1+a>f.maxUrlLength&&(p=!0),e.query&&(s={...e.query,...s})}if("HEAD"===o.method&&(p||c)){if(p){if(a>f.maxUrlLength)throw S("request:invalid-parameters",new Error("URL exceeds maximum length"),e.params);throw S("request:invalid-parameters",new Error("cannot use POST request when method is 'head'"),e.params)}if(c)throw S("request:invalid-parameters",new Error("cannot use proxy when method is 'head'"),e.params)}if(p?(o.method="delete"===r.method?"DELETE":"put"===r.method?"PUT":"POST",r.body?t=(0,u.fl)(t,s):(o.body=(0,u.B7)(s),o.headers["Content-Type"]="application/x-www-form-urlencoded")):t=(0,u.fl)(t,s),c&&(e.useProxy=!0,t=`${d}?${t}`),s.token&&m&&o.body instanceof FormData){const e=o.body;e.set?e.set("token",s.token):e.append("token",s.token)}if(r.hasOwnProperty("withCredentials"))e.withCredentials=r.withCredentials;else if(!(0,u.D6)(t,(0,u.TI)()))if((0,u.kl)(t))e.withCredentials=!0;else if(n.id){const r=n.id.findServerInfo(t);r&&r.webTierAuth&&(e.withCredentials=!0)}e.withCredentials&&(o.credentials="include")}let c,y,b=0,w=!1;a>0&&(b=setTimeout((()=>{w=!0,e.controller.abort()}),a));try{if("native-request-init"===r.responseType)y=o,y.url=t;else if("image"!==r.responseType||"default"!==o.cache||"GET"!==o.method||p||function(e){if(e)for(const t of Object.getOwnPropertyNames(e))if(e[t])return!0;return!1}(r.headers)||!s&&!e.useProxy&&f.proxyUrl&&!T(t)){if(c=await h._abortableFetch(t,o),e.useProxy||function(e){const t=(0,u.P$)(e);t&&!h._corsServers.includes(t)&&h._corsServers.push(t)}(t),"native"===r.responseType)y=c;else if("HEAD"!==o.method)if(c.ok){switch(l){case"array-buffer":y=await c.arrayBuffer();break;case"blob":case"image":y=await c.blob();break;default:y=await c.text()}if(b&&(clearTimeout(b),b=0),"json"===l||"xml"===l||"document"===l)if(y)switch(l){case"json":y=JSON.parse(y);break;case"xml":y=k(y,"application/xml");break;case"document":y=k(y,"text/html")}else y=null;if(y){if("array-buffer"===l||"blob"===l){const e=c.headers.get("Content-Type");if(/application\/json|text\/plain/i.test(e)&&y["blob"===l?"size":"byteLength"]<=750)try{const e=await new Response(y).json();e.error&&(y=e)}catch{}}"image"===l&&y instanceof Blob&&(y=await O(URL.createObjectURL(y),e,!0))}}else y=await c.text()}else y=await O(t,e)}catch(o){if("AbortError"===o.name){if(w)throw new Error("Timeout exceeded");throw(0,d.zE)("Request canceled")}if(!(!c&&o instanceof TypeError&&f.proxyUrl)||r.body||"delete"===r.method||"head"===r.method||"post"===r.method||"put"===r.method||e.useProxy||T(t))throw o;e.redoRequest=!0,(0,u.tD)({proxyUrl:f.proxyUrl,urlPrefix:(0,u.P$)(t)})}finally{b&&clearTimeout(b)}return[c,y]}function k(e,t){let r;try{r=(new DOMParser).parseFromString(e,t)}catch{}if(!r||r.getElementsByTagName("parsererror").length)throw new SyntaxError("XML Parse error");return r}async function x(e,t,r){if(e.redoRequest)return e.redoRequest=!1,!1;const o=e.params.requestOptions;if(!t||"native"===o.responseType||"native-request-init"===o.responseType)return!0;let s,i,l,a;if(!t.ok)throw s=new Error(`Unable to load ${t.url} status: ${t.status}`),s[C]=r,s;null!=r&&r.error&&(s=r.error),s&&(i=Number(s.code),l=s.hasOwnProperty("subcode")?Number(s.subcode):null,a=s.messageCode,a=a&&a.toUpperCase());const d=o.authMode;if(403===i&&(4===l||s.message&&s.message.toLowerCase().indexOf("ssl")>-1&&-1===s.message.toLowerCase().indexOf("permission"))){if(!e.useSSL)return e.useSSL=!0,!1}else if(!e.hasToken&&e.useIdentity&&("no-prompt"!==d||498===i)&&-1!==b.indexOf(i)&&!q(e.params.url)&&(403!==i||-1===w.indexOf(a)&&(null==l||2===l&&e.credentialToken))){await j();try{const t=await n.id.getCredential(e.params.url,{error:S("request:server",s,e.params),prompt:"no-prompt"!==d,signal:e.controller.signal,token:e.credentialToken});return e.credential=t,e.credentialToken=t.token,e.useSSL=e.useSSL||t.ssl,!1}catch(t){if("no-prompt"===d)return e.credential=null,e.credentialToken=null,!1;s=t}}if(s)throw s;return!0}function O(e,t,r=!1){const o=t.controller.signal,n=new Image;return t.withCredentials?n.crossOrigin="use-credentials":n.crossOrigin="anonymous",n.alt="",n.src=e,(0,c.f)(n,e,r,o)}h._abortableFetch=null,h._corsServers=["https://server.arcgisonline.com","https://services.arcgisonline.com"]},71058:(e,t,r)=>{r.d(t,{r:()=>s});var o=r(17452);const n=["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"];function s(e){const t=(0,o.P$)(e,!0);return t&&t.endsWith(".arcgis.com")&&!n.includes(t)&&!e.endsWith("/sharing/rest/generateToken")}},85958:(e,t,r)=>{r.d(t,{f:()=>i});var o=r(80442),n=r(70586),s=r(95330);function i(e,t,r=!1,i){return new Promise(((a,d)=>{if((0,s.Hc)(i))return void d(l());let u=()=>{h(),d(new Error(`Unable to load ${t}`))},p=()=>{const t=e;h(),a(t)},c=()=>{if(!e)return;const t=e;h(),t.src="",d(l())};const h=()=>{(0,o.Z)("esri-image-decode")||(e.removeEventListener("error",u),e.removeEventListener("load",p)),u=null,p=null,e=null,(0,n.pC)(i)&&i.removeEventListener("abort",c),c=null,r&&URL.revokeObjectURL(t)};(0,n.pC)(i)&&i.addEventListener("abort",c),(0,o.Z)("esri-image-decode")?e.decode().then(p,u):(e.addEventListener("error",u),e.addEventListener("load",p))}))}function l(){try{return new DOMException("Aborted","AbortError")}catch{const e=new Error;return e.name="AbortError",e}}}}]);
|