@arcgis/core 4.23.0-next.20220106 → 4.23.0-next.20220124
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/09da224052976e290828.js +1 -0
- package/assets/esri/core/workers/chunks/0bf079e752ab79468478.js +1 -0
- package/assets/esri/core/workers/chunks/{ce5ca5e95b2378ec55b9.js → 1305ef8717da6e902a55.js} +1 -1
- package/assets/esri/core/workers/chunks/199670a3a564ebe3bd79.js +1 -0
- package/assets/esri/core/workers/chunks/1e4d37c2b9dc83d20a11.js +1 -0
- package/assets/esri/core/workers/chunks/20411bb8e04703962ce6.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/{99f0d896c17dd09cd285.js → 2629adf79e7fd9f25f07.js} +1 -1
- 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/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/{8a250ec51097f16feb66.js → 40a1e713f63ec77110c0.js} +1 -1
- package/assets/esri/core/workers/chunks/43cdff2418325e163420.js +1 -0
- package/assets/esri/core/workers/chunks/4c9084a04948b6924749.js +1 -0
- package/assets/esri/core/workers/chunks/{4beba242e7540ee3182b.js → 5538639a49c7cc2eca63.js} +1 -1
- package/assets/esri/core/workers/chunks/57c67e260267a1dbc5e3.js +1 -0
- package/assets/esri/core/workers/chunks/5a4a5585ec8027079f32.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/{ba6fdaed6c315dc13981.js → 625d2663daa8e0cf64b0.js} +1 -1
- 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/663ad15b86936eb06b69.js +1 -0
- package/assets/esri/core/workers/chunks/67162b3e2cc1b5dc6818.js +1 -0
- package/assets/esri/core/workers/chunks/68a59ce98177d8513337.js +1 -0
- package/assets/esri/core/workers/chunks/6cdfe175c965918b741b.js +1 -0
- package/assets/esri/core/workers/chunks/739e579150bf466d43ae.js +1 -0
- package/assets/esri/core/workers/chunks/74df1f3e1e2e524a89d2.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/7baf6b1f3f050aa67ae4.js +1 -0
- package/assets/esri/core/workers/chunks/{f52b6d5037e4205b035c.js → 7bc5cc5dbf1b7b70ddac.js} +1 -1
- 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/8fa0a14165d43ffe87a5.js +1 -0
- package/assets/esri/core/workers/chunks/94b8dbf859df71858d1c.js +1 -0
- 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/9cb2ae42a8e328b1d98d.js +1 -0
- package/assets/esri/core/workers/chunks/9d3c58a0ef634d95b7bd.js +1 -0
- package/assets/esri/core/workers/chunks/9d77467aa71d345fc1b6.js +1 -0
- package/assets/esri/core/workers/chunks/9f8b7b6b4e95f9a794fc.js +1 -0
- package/assets/esri/core/workers/chunks/a78757b9c7e8cbea08fa.js +1 -0
- 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/a96afc176041f698c7a1.js +1 -0
- package/assets/esri/core/workers/chunks/aa861b8eae6c85f3dad4.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/afa6912454f2a5ffadce.js +1 -0
- package/assets/esri/core/workers/chunks/b0b036ad3ad3cd956747.js +1 -0
- package/assets/esri/core/workers/chunks/{2a39d520b192b8e552b5.js → b2ae5fc4f787ea568b88.js} +1 -1
- package/assets/esri/core/workers/chunks/b2beb6e1fd2ee6503830.js +1 -0
- package/assets/esri/core/workers/chunks/{b87bc1481a49b38109f4.js → b9c177524b3e7de1ffd1.js} +1 -1
- 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/bab1cfd0a901181622af.js +1 -0
- package/assets/esri/core/workers/chunks/be2b7cce79fd41627931.js +1 -0
- package/assets/esri/core/workers/chunks/bf6dda4a2af14c4b7716.js +1 -0
- package/assets/esri/core/workers/chunks/{ed0297fc61014e848c18.js → c080114a69fa95b88d22.js} +1 -1
- 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/c6f94b92e866b881d9b9.js +1 -0
- package/assets/esri/core/workers/chunks/{573dc3064e84ca86844d.js → c959e0d1cf7dce0421b9.js} +1 -1
- package/assets/esri/core/workers/chunks/{1fd48459afb58a6cf14f.js → ca2f5faa01d99c21ec14.js} +1 -1
- package/assets/esri/core/workers/chunks/cbb291412fd1a5261aa9.js +1 -0
- package/assets/esri/core/workers/chunks/{7aa543a97f055cddea99.js → cc146c57bbdac8029fd8.js} +1 -1
- package/assets/esri/core/workers/chunks/cd7d83d127e085d52584.js +1 -0
- package/assets/esri/core/workers/chunks/cef4af64860ebbfc1c47.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/d72488db62fcf39447b6.js +1 -0
- package/assets/esri/core/workers/chunks/de03439ca2c9782bf325.js +1 -0
- package/assets/esri/core/workers/chunks/de6cff7b6cbbf99b20d1.js +981 -0
- package/assets/esri/core/workers/chunks/e079cb1d53aca15b7df2.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/e97e986120aaadad7d4c.js +1 -0
- package/assets/esri/core/workers/chunks/{2f66fcb8670b108af549.js → ed0bcc66fb1e0ee75a4b.js} +1 -1
- package/assets/esri/core/workers/chunks/f8e7755240a94b499e1f.js +1 -0
- package/assets/esri/core/workers/chunks/{b4ed7856cd9c98434477.js → fe864d01e72aa24574b6.js} +1 -1
- package/assets/esri/libs/vxl/vxlLayer.wasm +0 -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/_FeatureTable.scss +6 -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/CloudsComposition.glsl.js +4 -4
- 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/chunks/vxlLayer.js +1 -1
- package/core/accessorSupport/ensureType.js +1 -1
- package/core/accessorSupport/get.js +1 -1
- package/core/accessorSupport/set.js +1 -1
- package/core/has.js +1 -1
- package/core/urlUtils.js +1 -1
- package/core/workers/workerFactory.js +1 -1
- package/form/elements/FieldElement.js +1 -1
- package/geometry/support/buffer/math/common.js +1 -1
- package/geometry/support/heightModelInfoUtils.js +1 -1
- package/interfaces.d.ts +372 -126
- package/layers/FeatureLayer.js +1 -1
- package/layers/RouteLayer.js +1 -1
- package/layers/SubtypeGroupLayer.js +1 -1
- package/layers/VectorTileLayer.js +1 -1
- package/layers/VoxelLayer.js +1 -1
- package/layers/VoxelWasmPerScene.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/RasterWorker.js +1 -1
- package/layers/support/capabilities.js +1 -1
- package/layers/support/rasterDatasets/BaseRaster.js +1 -1
- package/layers/support/rasterDatasets/WCSRaster.js +1 -1
- package/layers/support/rasterDatasets/wcsCoverageParser.js +1 -1
- package/layers/support/rasterFunctions/rasterProjectionHelper.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/libs/vxl/enums.js +1 -1
- package/package.json +5 -5
- package/portal/schemas/buildingSceneLayerItem.js +1 -1
- package/portal/schemas/definitions.js +1 -1
- package/portal/schemas/integratedMeshLayerItem.js +1 -1
- package/portal/schemas/pointCloudLayerItem.js +1 -1
- package/portal/schemas/sceneLayerItem.js +1 -1
- package/portal/schemas/webScene.js +1 -1
- package/rasterRenderers.js +1 -1
- package/renderers/support/RasterSymbolizer.js +1 -1
- package/request.js +1 -1
- package/rest/find.js +1 -1
- package/rest/geometryService/generalize.js +1 -1
- package/rest/geometryService/lengths.js +1 -1
- package/rest/geometryService/offset.js +1 -1
- package/rest/geometryService/relation.js +1 -1
- package/rest/geometryService/trimExtend.js +1 -1
- package/rest/identify.js +1 -1
- package/{tasks → rest}/operations/find.js +0 -0
- package/{tasks → rest}/operations/generalize.js +0 -0
- package/rest/operations/identify.js +5 -0
- package/{tasks → rest}/operations/lengths.js +0 -0
- package/{tasks → rest}/operations/offset.js +0 -0
- package/{tasks → rest}/operations/relation.js +0 -0
- package/{tasks → rest}/operations/trimExtend.js +0 -0
- package/{tasks → rest}/operations/urlUtils.js +0 -0
- package/rest/print.js +1 -1
- package/rest/query/operations/query.js +1 -1
- package/rest/query/operations/queryAttachments.js +1 -1
- package/rest/query/operations/queryRelatedRecords.js +1 -1
- package/rest/query/operations/queryTopFeatures.js +1 -1
- package/rest/route/utils.js +1 -1
- package/rest/support/ImageIdentifyParameters.js +1 -1
- package/rest/support/NetworkServiceDescription.js +1 -1
- package/rest/support/RouteInfo.js +1 -1
- package/rest/support/RouteParameters.js +1 -1
- package/rest/support/RouteSettings.js +5 -0
- package/rest/support/StatisticDefinition.js +1 -1
- package/rest/support/Stop.js +1 -1
- package/rest/support/networkEnums.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/cim/placements/PlacementAlongLineSameSize.js +1 -1
- package/symbols/support/Symbol3DHalo.js +1 -1
- package/symbols/support/Symbol3DMaterial.js +1 -1
- package/symbols/support/cimSymbolUtils.js +1 -1
- package/symbols/support/textUtils.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/sources/BaseFeatureSource.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/layers/imagery/BaseImageryTileSubView2D.js +1 -1
- package/views/2d/support/engineHelpers.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightController.js +1 -1
- package/views/3d/environment/CloudsComposition.glsl.js +1 -1
- package/views/3d/environment/CloudsComposition.js +1 -1
- package/views/3d/environment/CloudsGenerator.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/VoxelLayerView3D.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/Graphics3DCore.js +1 -1
- package/views/3d/layers/graphics/Graphics3DDrapedGraphicLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DElevationAlignment.js +1 -1
- package/views/3d/layers/graphics/Graphics3DFeatureProcessor.js +5 -0
- package/views/3d/layers/graphics/Graphics3DFrustumVisibility.js +1 -1
- package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPointSymbol.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DScaleVisibility.js +1 -1
- package/views/3d/layers/graphics/Graphics3DSymbolCreationContext.js +1 -1
- package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DTextSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/GraphicsProcessor.js +5 -0
- package/views/3d/layers/graphics/IGraphics3DFeatureProcessor.js +4 -0
- 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/OverlayRenderer.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/core/shaderLibrary/util/CloudsParallaxShading.glsl.js +12 -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/OffscreenRendering.js +1 -1
- 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/intersectorUtilsConversions.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/Model.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/Renderbuffer.js +1 -1
- package/views/webgl/RenderingContext.js +1 -1
- package/views/webgl/ShaderTranspiler.js +1 -1
- package/views/webgl/Texture.js +1 -1
- package/views/webgl/UniformBufferLayout.js +5 -0
- package/views/webgl/UniformBufferObject.js +5 -0
- package/views/webgl/Util.js +1 -1
- 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/FeatureExpression.js +1 -1
- package/widgets/Feature/FeatureMedia/FeatureMediaViewModel.js +1 -1
- package/widgets/Feature/FeatureMedia.js +1 -1
- package/widgets/Feature/FeatureViewModel.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/FeatureTable/Grid/Grid.js +1 -1
- package/widgets/FeatureTable.js +1 -1
- package/widgets/FeatureTemplates.js +1 -1
- package/widgets/FloorFilter.js +1 -1
- package/widgets/LayerList/LayerListViewModel.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/widgets/support/geolocationUtils.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/2c9af2ebd72d9b55329b.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/615aa2d3ecafe30c80c0.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/6deac533bb455be4004b.js +0 -1
- package/assets/esri/core/workers/chunks/6e13dab8ec43f7494297.js +0 -1
- package/assets/esri/core/workers/chunks/722a10c65456844d72b9.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/9846098704ee38bf6350.js +0 -1
- package/assets/esri/core/workers/chunks/a247ddd84245c81112c8.js +0 -1
- package/assets/esri/core/workers/chunks/a721342a32541717324d.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/b51261a9a9ab62388839.js +0 -971
- package/assets/esri/core/workers/chunks/b58eba403bd517a7bb15.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/cb68db7169b9dfd1c3ff.js +0 -1
- package/assets/esri/core/workers/chunks/cc96608b2802fbfe7a08.js +0 -1
- package/assets/esri/core/workers/chunks/cd02fe27eb07681cb366.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/tasks/operations/identify.js +0 -5
- package/views/2d/engine/webgl/mesh/templates/meshUtils.js +0 -5
- package/views/3d/layers/graphics/Graphics3DFeatureLikeLayerView.js +0 -5
- package/views/3d/layers/graphics/Graphics3DGraphicLikeLayerView.js +0 -5
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7013,3172],{80539:(e,t,i)=>{i.d(t,{Z:()=>F});var r,s=i(43697),o=i(3894),n=i(32448),a=i(22974),l=i(70586),u=i(71143);!function(e){e[e.ADD=1]="ADD",e[e.REMOVE=2]="REMOVE",e[e.MOVE=4]="MOVE"}(r||(r={}));var p,d=i(1654),c=i(5600),m=i(75215),h=i(52421),b=i(52011),y=i(58971),f=i(39020);class g{constructor(){this._observers=[]}observe(e){return this._observers.includes(e)||this._observers.push(e),new f.X(this._observers,e)}notify(){const e=this._observers.slice();for(let t=0;t<e.length;++t){const i=e[t];i.onInvalidated(),i.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})),C=()=>{};function T(e){return e?e instanceof D?e.toArray():e.length?Array.prototype.slice.apply(e):[]:[]}function S(e){if(e&&e.length)return e[0]}function _(e,t,i,r){const s=Math.min(e.length-i,t.length-r);let o=0;for(;o<s&&e[i+o]===t[r+o];)o++;return o}function w(e,t,i,r){t&&t.forEach(((t,s,o)=>{e.push(t),w(e,i.call(r,t,s,o),i,r)}))}const O=new Set,N=new Set,x=new Set,I=new Map;let E=0,D=p=class extends n.Z.EventedAccessor{constructor(e){super(e),this._chgListeners=[],this._notifications=null,this._timer=null,this._observable=new g,this.length=0,this._items=[],Object.defineProperty(this,"uid",{value:E++})}static isCollection(e){return null!=e&&e instanceof p}normalizeCtorArgs(e){return e?Array.isArray(e)||e instanceof p?{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(r.ADD)||(this._splice(0,this.length,T(e)),this._emitAfterChanges(r.ADD))}hasEventListener(e){return"change"===e?this._chgListeners.length>0:this._emitter.hasEventListener(e)}on(e,t){if("change"===e){const e=this._chgListeners,i={removed:!1,callback:t};return e.push(i),this._notifications&&this._notifications.push({listeners:e.slice(),items:this._items.slice(),changes:[]}),{remove(){this.remove=C,i.removed=!0,e.splice(e.indexOf(i),1)}}}return this._emitter.on(e,t)}once(e,t){const i=this.on(e,t);return{remove(){i.remove()}}}add(e,t){if((0,y.it)(this._observable),this._emitBeforeChanges(r.ADD))return this;const i=this.getNextIndex(null!=t?t:null);return this._splice(i,0,[e]),this._emitAfterChanges(r.ADD),this}addMany(e,t=this._items.length){if((0,y.it)(this._observable),!e||!e.length)return this;if(this._emitBeforeChanges(r.ADD))return this;const i=this.getNextIndex(t);return this._splice(i,0,T(e)),this._emitAfterChanges(r.ADD),this}removeAll(){if((0,y.it)(this._observable),!this.length||this._emitBeforeChanges(r.REMOVE))return[];const e=this._splice(0,this.length)||[];return this._emitAfterChanges(r.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(T);return this._createNewInstance({items:this._items.concat(...t)})}drain(e,t){if((0,y.it)(this._observable),!this.length||this._emitBeforeChanges(r.REMOVE))return;const i=(0,l.j0)(this._splice(0,this.length)),s=i.length;for(let r=0;r<s;r++)e.call(t,i[r],r,i);this._emitAfterChanges(r.REMOVE)}every(e,t){return(0,y.it)(this._observable),this._items.every(e,t)}filter(e,t){let i;return(0,y.it)(this._observable),i=2===arguments.length?this._items.filter(e,t):this._items.filter(e),this._createNewInstance({items:i})}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 i=[];return w(i,this,e,t),new p(i)}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 i=this._items.map(e,t);return new p({items:i})}reorder(e,t=this.length-1){(0,y.it)(this._observable);const i=this.indexOf(e);if(-1!==i){if(t<0?t=0:t>=this.length&&(t=this.length-1),i!==t){if(this._emitBeforeChanges(r.MOVE))return e;this._splice(i,1),this._splice(t,0,[e]),this._emitAfterChanges(r.MOVE)}return e}}pop(){if((0,y.it)(this._observable),!this.length||this._emitBeforeChanges(r.REMOVE))return;const e=S(this._splice(this.length-1,1));return this._emitAfterChanges(r.REMOVE),e}push(...e){return(0,y.it)(this._observable),this._emitBeforeChanges(r.ADD)||(this._splice(this.length,0,e),this._emitAfterChanges(r.ADD)),this.length}reduce(e,t){(0,y.it)(this._observable);const i=this._items;return 2===arguments.length?i.reduce(e,t):i.reduce(e)}reduceRight(e,t){(0,y.it)(this._observable);const i=this._items;return 2===arguments.length?i.reduceRight(e,t):i.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(r.REMOVE))return;const t=S(this._splice(e,1));return this._emitAfterChanges(r.REMOVE),t}removeMany(e){if((0,y.it)(this._observable),!e||!e.length||this._emitBeforeChanges(r.REMOVE))return[];const t=e instanceof p?e.toArray():e,i=this._items,s=[],o=t.length;for(let e=0;e<o;e++){const r=t[e],o=i.indexOf(r);if(o>-1){const r=1+_(t,i,e+1,o+1),n=this._splice(o,r);n&&n.length>0&&s.push.apply(s,n),e+=r-1}}return this._emitAfterChanges(r.REMOVE),s}reverse(){if((0,y.it)(this._observable),this._emitBeforeChanges(r.MOVE))return this;const e=this._splice(0,this.length);return e&&(e.reverse(),this._splice(0,0,e)),this._emitAfterChanges(r.MOVE),this}shift(){if((0,y.it)(this._observable),!this.length||this._emitBeforeChanges(r.REMOVE))return;const e=S(this._splice(0,1));return this._emitAfterChanges(r.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(r.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(r.MOVE),this}splice(e,t,...i){(0,y.it)(this._observable);const s=(t?r.REMOVE:0)|(i.length?r.ADD:0);if(this._emitBeforeChanges(s))return[];const o=this._splice(e,t,i)||[];return this._emitAfterChanges(s),o}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(r.ADD)||(this._splice(0,0,e),this._emitAfterChanges(r.ADD)),this.length}_createNewInstance(e){return new this.constructor(e)}_splice(e,t,i){const r=this._items,s=this.itemType;let o,n;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,d.Os)((()=>this._dispatchChange()))),t){if(n=r.splice(e,t),this.hasEventListener("before-remove")){const t=v.acquire();t.target=this,t.cancellable=!0;for(let i=0,s=n.length;i<s;i++)o=n[i],t.reset(o),this.emit("before-remove",t),t.defaultPrevented&&(n.splice(i,1),r.splice(e,0,o),e+=1,i-=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=n.length;for(let i=0;i<t;i++)e.reset(n[i]),this.emit("after-remove",e);v.release(e)}}if(i&&i.length){if(s){const e=[];for(const t of i){const i=s.ensureType(t);null==i&&null!=t||e.push(i)}i=e}const t=this.hasEventListener("before-add"),o=this.hasEventListener("after-add"),n=e===this.length;if(t||o){const s=v.acquire();s.target=this,s.cancellable=!0;const a=v.acquire();a.target=this,a.cancellable=!1;for(const l of i)t?(s.reset(l),this.emit("before-add",s),s.defaultPrevented||(n?r.push(l):r.splice(e++,0,l),this._set("length",r.length),o&&(a.reset(l),this.emit("after-add",a)))):(n?r.push(l):r.splice(e++,0,l),this._set("length",r.length),a.reset(l),this.emit("after-add",a));v.release(a),v.release(s)}else{if(n)for(const e of i)r.push(e);else r.splice(e,0,...i);this._set("length",r.length)}}return(i&&i.length||n&&n.length)&&this._notifyChangeEvent(i,n),n}_emitBeforeChanges(e){let t=!1;if(this.hasEventListener("before-changes")){const i=v.acquire();i.target=this,i.cancellable=!0,i.type=e,this.emit("before-changes",i),t=i.defaultPrevented,v.release(i)}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;O.clear(),N.clear(),x.clear();for(const{added:t,removed:i}of e){if(t)if(0===x.size&&0===N.size)for(const e of t)O.add(e);else for(const e of t)N.has(e)?(x.add(e),N.delete(e)):x.has(e)||O.add(e);if(i)if(0===x.size&&0===O.size)for(const e of i)N.add(e);else for(const e of i)O.has(e)?O.delete(e):(x.delete(e),N.add(e))}const i=o.Z.acquire();O.forEach((e=>{i.push(e)}));const r=o.Z.acquire();N.forEach((e=>{r.push(e)}));const s=this._items,n=t.items,a=o.Z.acquire();if(x.forEach((e=>{n.indexOf(e)!==s.indexOf(e)&&a.push(e)})),t.listeners&&(i.length||r.length||a.length)){const e={target:this,added:i,removed:r,moved:a},s=t.listeners.length;for(let i=0;i<s;i++){const r=t.listeners[i];r.removed||r.callback.call(this,e)}}o.Z.release(i),o.Z.release(r),o.Z.release(a)}O.clear(),N.clear(),x.clear()}};D.ofType=e=>{if(!e)return p;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 i in e.typeMap){const r=e.typeMap[i].prototype.declaredClass;t?t+=` | ${r}`:t=r}let i=class extends p{};return(0,s._)([(0,h.c)({Type:e,ensureType:"function"==typeof e?(0,m.se)(e):(0,m.N7)(e)})],i.prototype,"itemType",void 0),i=(0,s._)([(0,b.j)(`esri.core.Collection<${t}>`)],i),I.set(e,i),i},(0,s._)([(0,c.Cb)()],D.prototype,"length",void 0),(0,s._)([(0,c.Cb)()],D.prototype,"items",null),D=p=(0,s._)([(0,b.j)("esri.core.Collection")],D);const F=D},32448:(e,t,i)=>{i.d(t,{Z:()=>l});var r=i(43697),s=i(15923),o=i(50758),n=i(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 i=this._listenersMap&&this._listenersMap.get(e);if(!i)return!1;const r=this.target||this;return[...i].forEach((e=>{e.call(r,t)})),i.length>0}on(e,t){if(Array.isArray(e)){const i=e.map((e=>this.on(e,t)));return(0,o.AL)(i)}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 i=this._listenersMap.get(e)||[];return i.push(t),this._listenersMap.set(e,i),{remove:()=>{const i=this._listenersMap&&this._listenersMap.get(e)||[],r=i.indexOf(t);r>=0&&i.splice(r,1)}}}once(e,t){const i=this.on(e,(e=>{i.remove(),t.call(null,e)}));return i}hasEventListener(e){const t=this._listenersMap&&this._listenersMap.get(e);return null!=t&&t.length>0}}e.EventEmitter=t,e.EventedMixin=e=>{let i=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 i=(0,r._)([(0,n.j)("esri.core.Evented")],i),i};let i=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)}};i=(0,r._)([(0,n.j)("esri.core.Evented")],i),e.EventedAccessor=i}(a||(a={}));const l=a},16453:(e,t,i)=>{i.d(t,{R:()=>v,w:()=>C});var r=i(43697),s=i(15923),o=i(70586),n=i(41103),a=i(22974),l=i(31263);class u{constructor(){this._propertyOriginMap=new Map,this._originStores=new Array(l.kk),this._values=new Map,this.multipleOriginsSupported=!0}clone(e){const t=new u,i=this._originStores[l.s3.DEFAULTS];i&&i.forEach(((e,i)=>{t.set(i,(0,a.d9)(e),l.s3.DEFAULTS)}));for(let i=l.s3.SERVICE;i<l.kk;i++){const r=this._originStores[i];r&&r.forEach(((r,s)=>{e&&e.has(s)||t.set(s,(0,a.d9)(r),i)}))}return t}get(e,t){const i=void 0===t?this._values:this._originStores[t];return i?i.get(e):void 0}keys(e){const t=null==e?this._values:this._originStores[e];return t?[...t.keys()]:[]}set(e,t,i=l.s3.USER){let r=this._originStores[i];if(r||(r=new Map,this._originStores[i]=r),r.set(e,t),!this._values.has(e)||(0,o.j0)(this._propertyOriginMap.get(e))<=i){const r=this._values.get(e);return this._values.set(e,t),this._propertyOriginMap.set(e,i),r!==t}return!1}delete(e,t=l.s3.USER){const i=this._originStores[t];if(!i)return;const r=i.get(e);if(i.delete(e),this._values.has(e)&&this._propertyOriginMap.get(e)===t){this._values.delete(e);for(let i=t-1;i>=0;i--){const t=this._originStores[i];if(t&&t.has(e)){this._values.set(e,t.get(e)),this._propertyOriginMap.set(e,i);break}}}return r}has(e,t){const i=void 0===t?this._values:this._originStores[t];return!!i&&i.has(e)}revert(e,t){for(;t>0&&!this.has(e,t);)--t;const i=this._originStores[t],r=i&&i.get(e),s=this._values.get(e);return this._values.set(e,r),this._propertyOriginMap.set(e,t),s!==r}originOf(e){return this._propertyOriginMap.get(e)||l.s3.DEFAULTS}forEach(e){this._values.forEach(e)}}var p=i(50549),d=i(1153),c=i(52011);const m=e=>{let t=class extends e{constructor(...e){super(...e);const t=(0,o.j0)((0,d.vw)(this)),i=t.store,r=new u;t.store=r,(0,n.M)(t,i,r)}read(e,t){(0,p.ij)(this,e,t)}getAtOrigin(e,t){const i=h(this),r=(0,l.M9)(t);if("string"==typeof e)return i.get(e,r);const s={};return e.forEach((e=>{s[e]=i.get(e,r)})),s}originOf(e){return(0,l.x3)(this.originIdOf(e))}originIdOf(e){return h(this).originOf(e)}revert(e,t){const i=h(this),r=(0,l.M9)(t),s=(0,d.vw)(this);let o;o="string"==typeof e?"*"===e?i.keys(r):[e]:e,o.forEach((e=>{s.invalidate(e),i.revert(e,r),s.commit(e)}))}};return t=(0,r._)([(0,c.j)("esri.core.ReadOnlyMultiOriginJSONSupport")],t),t};function h(e){return(0,d.vw)(e).store}let b=class extends(m(s.Z)){};b=(0,r._)([(0,c.j)("esri.core.ReadOnlyMultiOriginJSONSupport")],b);var y=i(76169);const f=e=>{let t=class extends e{constructor(...e){super(...e)}clear(e,t="user"){return g(this).delete(e,(0,l.M9)(t))}write(e={},t){return(0,y.cW)(this,e=e||{},t),e}setAtOrigin(e,t,i){(0,d.vw)(this).setAtOrigin(e,t,(0,l.M9)(i))}removeOrigin(e){const t=g(this),i=(0,l.M9)(e),r=t.keys(i);for(const e of r)t.originOf(e)===i&&t.set(e,t.get(e,i),l.s3.USER)}updateOrigin(e,t){const i=g(this),r=(0,l.M9)(t),s=this.get(e);for(let t=r+1;t<l.kk;++t)i.delete(e,t);i.set(e,s,r)}toJSON(e){return this.write({},e)}};return t=(0,r._)([(0,c.j)("esri.core.WriteableMultiOriginJSONSupport")],t),t.prototype.toJSON.isDefaultToJSON=!0,t};function g(e){return(0,d.vw)(e).store}const v=e=>{let t=class extends(f(m(e))){constructor(...e){super(...e)}};return t=(0,r._)([(0,c.j)("esri.core.MultiOriginJSONSupport")],t),t};let C=class extends(v(s.Z)){};C=(0,r._)([(0,c.j)("esri.core.MultiOriginJSONSupport")],C)},52421:(e,t,i)=>{function r(e){return(t,i)=>{t[i]=e}}i.d(t,{c:()=>r})},74085:(e,t,i)=>{function r(e){}i.d(t,{Bg:()=>r}),i(80442)},67900:(e,t,i)=>{i.d(t,{gV:()=>P,En:()=>_,Z7:()=>E,c9:()=>I,_R:()=>N,qE:()=>B,cM:()=>x,hd:()=>p,ty:()=>w,Jo:()=>R,$C:()=>O}),i(80442);var r=i(35454),s=i(70586),o=i(24678),n=i(82971),a=i(68441),l=i(8744),u=i(58116);const p=39.37,d=a.sv.radius*Math.PI/200,c=/UNIT\[([^\]]+)\]\]$/i,m=u.Z,h=/UNIT\[([^\]]+)\]/i,b=new Set([4261,4305,4807,4810,4811,4812,4816,4819,4821,4901,4902,37225,104139,104140]),y=(0,r.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"}),f=e=>e*e,g=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:f(.001)},"square-centimeters":{inBaseUnits:f(.01)},"square-decimeters":{inBaseUnits:f(.1)},"square-meters":{inBaseUnits:1},"square-kilometers":{inBaseUnits:f(1e3)},"square-inches":{inBaseUnits:f(.0254)},"square-feet":{inBaseUnits:f(.3048)},"square-yards":{inBaseUnits:f(.9144)},"square-miles":{inBaseUnits:f(1609.344)},"square-us-feet":{inBaseUnits:f(1200/3937)},acres:{inBaseUnits:.0015625*f(1609.344)},ares:{inBaseUnits:100},hectares:{inBaseUnits:1e4}}},volume:{baseUnit:"liters",units:{liters:{inBaseUnits:1},"cubic-millimeters":{inBaseUnits:1e3*g(.001)},"cubic-centimeters":{inBaseUnits:1e3*g(.01)},"cubic-decimeters":{inBaseUnits:1e3*g(.1)},"cubic-meters":{inBaseUnits:1e3},"cubic-kilometers":{inBaseUnits:1e3*g(1e3)},"cubic-inches":{inBaseUnits:1e3*g(.0254)},"cubic-feet":{inBaseUnits:1e3*g(.3048)},"cubic-yards":{inBaseUnits:1e3*g(.9144)},"cubic-miles":{inBaseUnits:1e3*g(1609.344)}}},angle:{baseUnit:"radians",units:{radians:{inBaseUnits:1},degrees:{inBaseUnits:Math.PI/180}}}},C=function(){const e={};for(const t in v)for(const i in v[t].units)e[i]=t;return e}();function T(e){const t=C[e];if(t)return t;throw new Error("unknown measure")}function S(e,t=null){return t=t||T(e),v[t].baseUnit===e}function _(e,t,i){if(t===i)return e;const r=T(t);if(r!==T(i))throw new Error("incompatible units");const s=S(t,r)?e:function(e,t,i){return e*v[i].units[t].inBaseUnits}(e,t,r);return S(i,r)?s:function(e,t,i){return e/v[i].units[t].inBaseUnits}(s,i,r)}function w(e,t,i){return _(e,t,"meters")/(i*Math.PI/180)}function O(e){return y.fromJSON(e.toLowerCase())||null}function N(e){if(e&&"object"==typeof e&&!(0,l.N$)(e))return 1;const t=I(e);return t>1e5?1:t}function x(e){return I(e)>=(e instanceof n.Z?(0,o.Iu)(e).metersPerDegree:1e5)?"meters":B(e)}function I(e,t=a.sv.metersPerDegree){return E(e,!0)||t}function E(e,t=!1){let i,r,s=null;if(null!=e&&("object"==typeof e?(i=e.wkid,r=e.wkt):"number"==typeof e?i=e:"string"==typeof e&&(r=e)),i){if((0,l.o$)(i))return a.yr.metersPerDegree;if((0,l.ME)(i))return a.Z1.metersPerDegree;s=m.values[m[i]],!s&&t&&b.has(i)&&(s=d)}else r&&(j(r)?s=D(c.exec(r),s):A(r)&&(s=D(h.exec(r),s)));return s}function D(e,t){return e&&e[1]?F(e[1]):t}function F(e){return parseFloat(e.split(",")[1])}function B(e){let t,i,r=null;if(null!=e&&("object"==typeof e?(t=e.wkid,i=e.wkt):"number"==typeof e?t=e:"string"==typeof e&&(i=e)),t)r=m.units[m[t]];else if(i){const e=j(i)?c:A(i)?h:null;if(e){const t=e.exec(i);t&&t[1]&&(r=function(e){const t=/[\\"\\']{1}([^\\"\\']+)/.exec(e);let i=t&&t[1];if(!i||-1===m.units.indexOf(i)){const t=F(e);i=null;const r=m.values;for(let e=0;e<r.length;++e)if(Math.abs(t-r[e])<1e-7){i=m.units[e];break}}return i}(t[1]))}}return(0,s.pC)(r)?O(r):null}function A(e){return/^GEOCCS/i.test(e)}function j(e){return/^PROJCS/i.test(e)}const M={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"},L={esriCentimeters:"centimeters",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriYards:"yards"},P=(0,r.wY)()(M),R=(0,r.wY)()(L);(0,r.wY)()({...M,...L})},24678:(e,t,i)=>{i.d(t,{GG:()=>a,HQ:()=>l,VY:()=>u,wY:()=>p,Iu:()=>c,e8:()=>m,rS:()=>d});var r=i(82971),s=i(68441),o=i(8744);function n(e){return new r.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=n(s.sv),l=n(s.yr),u=n(s.Z1),p=new r.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 d(e){return e&&((0,o.BZ)(e)||e===l)?l:e&&((0,o.V2)(e)||e===u)?u:a}function c(e){return e&&((0,o.BZ)(e)||e===l)?s.yr:e&&((0,o.V2)(e)||e===u)?s.Z1:s.sv}function m(e){return(0,o.o$)(e)?s.yr:(0,o.ME)(e)?s.Z1:s.sv}},38581:(e,t,i)=>{i.d(t,{aX:()=>T});var r=i(68773),s=i(20102),o=i(92604),n=i(70586),a=i(17332),l=i(58901),u=i(73913),p=i(8744),d=i(40488),c=(i(66577),i(3172)),m=i(17452),h=i(33955);const b=o.Z.getLogger("esri.geometry.support.normalizeUtils");function y(e){return"polygon"===e[0].type}function f(e){return"polyline"===e[0].type}function g(e,t,i){if(t){const t=function(e,t){if(!(e instanceof l.Z||e instanceof a.Z)){const e="straightLineDensify: the input geometry is neither polyline nor polygon";throw b.error(e),new s.Z(e)}const i=(0,u.x3)(e),r=[];for(const e of i){const i=[];r.push(i),i.push([e[0][0],e[0][1]]);for(let r=0;r<e.length-1;r++){const s=e[r][0],o=e[r][1],n=e[r+1][0],a=e[r+1][1],l=Math.sqrt((n-s)*(n-s)+(a-o)*(a-o)),u=(a-o)/l,p=(n-s)/l,d=l/t;if(d>1){for(let e=1;e<=d-1;e++){const r=e*t,n=p*r+s,a=u*r+o;i.push([n,a])}const e=(l+Math.floor(d-1)*t)/2,r=p*e+s,n=u*e+o;i.push([r,n])}i.push([n,a])}}return function(e){return"polygon"===e.type}(e)?new a.Z({rings:r,spatialReference:e.spatialReference}):new l.Z({paths:r,spatialReference:e.spatialReference})}(e,1e6);e=(0,d.Sx)(t,!0)}return i&&(e=(0,u.Sy)(e,i)),e}function v(e,t,i){if(Array.isArray(e)){const r=e[0];if(r>t){const i=(0,u.XZ)(r,t);e[0]=r+i*(-2*t)}else if(r<i){const t=(0,u.XZ)(r,i);e[0]=r+t*(-2*i)}}else{const r=e.x;if(r>t){const i=(0,u.XZ)(r,t);e=e.clone().offset(i*(-2*t),0)}else if(r<i){const t=(0,u.XZ)(r,i);e=e.clone().offset(t*(-2*i),0)}}return e}function C(e,t){let i=-1;for(let r=0;r<t.cutIndexes.length;r++){const s=t.cutIndexes[r],o=t.geometries[r],n=(0,u.x3)(o);for(let e=0;e<n.length;e++){const t=n[e];t.some((i=>{if(i[0]<180)return!0;{let i=0;for(let e=0;e<t.length;e++){const r=t[e][0];i=r>i?r:i}i=Number(i.toFixed(9));const r=-360*(0,u.XZ)(i,180);for(let i=0;i<t.length;i++){const t=o.getPoint(e,i);o.setPoint(e,i,t.clone().offset(r,0))}return!0}}))}if(s===i){if(y(e))for(const t of(0,u.x3)(o))e[s]=e[s].addRing(t);else if(f(e))for(const t of(0,u.x3)(o))e[s]=e[s].addPath(t)}else i=s,e[s]=o}return e}async function T(e,t,i){var s;if(!Array.isArray(e))return T([e],t);const o=null!=(s=null==t?void 0:t.url)?s:r.Z.geometryServiceUrl;let b,y,f,S,_,w,O,N,x=0;const I=[],E=[];for(const t of e)if((0,n.Wi)(t))E.push(t);else if(b||(b=t.spatialReference,y=(0,p.C5)(b),f=b.isWebMercator,w=f?102100:4326,S=u.UZ[w].maxX,_=u.UZ[w].minX,O=u.UZ[w].plus180Line,N=u.UZ[w].minus180Line),y)if("mesh"===t.type)E.push(t);else if("point"===t.type)E.push(v(t.clone(),S,_));else if("multipoint"===t.type){const e=t.clone();e.points=e.points.map((e=>v(e,S,_))),E.push(e)}else if("extent"===t.type){const e=t.clone()._normalize(!1,!1,y);E.push(e.rings?new a.Z(e):e)}else if(t.extent){const e=t.extent,i=(0,u.XZ)(e.xmin,_)*(2*S);let r=0===i?t.clone():(0,u.Sy)(t.clone(),i);e.offset(i,0),e.intersects(O)&&e.xmax!==S?(x=e.xmax>x?e.xmax:x,r=g(r,f),I.push(r),E.push("cut")):e.intersects(N)&&e.xmin!==_?(x=e.xmax*(2*S)>x?e.xmax*(2*S):x,r=g(r,f,360),I.push(r),E.push("cut")):E.push(r)}else E.push(t.clone());else E.push(t);let D=(0,u.XZ)(x,S),F=-90;const B=D,A=new l.Z;for(;D>0;){const e=360*D-180;A.addPath([[e,F],[e,-1*F]]),F*=-1,D--}if(I.length>0&&B>0){const t=C(I,await async function(e,t,i,r){const s="string"==typeof e?(0,m.mN)(e):e,o=t[0].spatialReference,n={...r,query:{...s.query,f:"json",sr:JSON.stringify(o),target:JSON.stringify({geometryType:(0,h.Ji)(t[0]),geometries:t}),cutter:JSON.stringify(i)}},a=await(0,c.default)(s.path+"/cut",n),{cutIndexes:l,geometries:u=[]}=a.data;return{cutIndexes:l,geometries:u.map((e=>{const t=(0,h.im)(e);return t.spatialReference=o,t}))}}(o,I,A,i)),r=[],s=[];for(let i=0;i<E.length;i++){const o=E[i];if("cut"!==o)s.push(o);else{const o=t.shift(),a=e[i];(0,n.pC)(a)&&"polygon"===a.type&&a.rings&&a.rings.length>1&&o.rings.length>=a.rings.length?(r.push(o),s.push("simplify")):s.push(f?(0,d.$)(o):o)}}if(!r.length)return s;const a=await async function(e,t,i){const r="string"==typeof e?(0,m.mN)(e):e,s=t[0].spatialReference,o=(0,h.Ji)(t[0]),n={...i,query:{...r.query,f:"json",sr:s.wkid?s.wkid:JSON.stringify(s),geometries:JSON.stringify((a=t,{geometryType:(0,h.Ji)(a[0]),geometries:a.map((e=>e.toJSON()))}))}};var a;return function(e,t,i){const r=(0,h.q9)(t);return e.map((e=>{const t=r.fromJSON(e);return t.spatialReference=i,t}))}((await(0,c.default)(r.path+"/simplify",n)).data,o,s)}(o,r,i),l=[];for(let e=0;e<s.length;e++){const t=s[e];"simplify"!==t?l.push(t):l.push(f?(0,d.$)(a.shift()):a.shift())}return l}const j=[];for(let e=0;e<E.length;e++){const t=E[e];if("cut"!==t)j.push(t);else{const e=I.shift();j.push(!0===f?(0,d.$)(e):e)}}return Promise.resolve(j)}},73913:(e,t,i)=>{i.d(t,{UZ:()=>n,x3:()=>u,XZ:()=>a,Sy:()=>l});var r=i(58901),s=i(82971),o=i(33955);const n={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new r.Z({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:s.Z.WebMercator}),minus180Line:new r.Z({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:s.Z.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new r.Z({paths:[[[180,-180],[180,180]]],spatialReference:s.Z.WGS84}),minus180Line:new r.Z({paths:[[[-180,-180],[-180,180]]],spatialReference:s.Z.WGS84})}};function a(e,t){return Math.ceil((e-t)/(2*t))}function l(e,t){const i=u(e);for(const e of i)for(const i of e)i[0]+=t;return e}function u(e){return(0,o.oU)(e)?e.rings:e.paths}},40330:(e,t,i)=>{i.d(t,{Dp:()=>u,id:()=>a,qh:()=>l,i8:()=>o,Nv:()=>n});var r=i(80442),s=i(17452);const o="4.23",n={async request(e,t){var r;const{default:o}=await i.e(3172).then(i.bind(i,3172)),n=e.options,a=n.responseType;n.signal=null==t?void 0:t.signal,n.responseType="native"===a||"native-request-init"===a?"native-request-init":["blob","json","text"].includes(a)&&null!=(r=(0,s.oh)(e.url))&&r.after?a:"array-buffer";const l=await o(e.url,n),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,r.Z)("host-webworker")||((0,r.Z)("edge")||(0,r.Z)("trident"))&&console.warn("Deprecated browser - see http://esriurl.com/oldbrowser")},29600:(e,t,i)=>{i.d(t,{Z:()=>C});var r=i(43697),s=i(68773),o=(i(66577),i(3172)),n=i(20102),a=i(32448),l=i(10699),u=i(83379),p=i(92604),d=i(95330),c=i(17452),m=i(5600),h=(i(67676),i(80442),i(75215),i(52011)),b=i(6570),y=i(82971);let f=0;const g=p.Z.getLogger("esri.layers.Layer");let v=class extends(a.Z.EventedMixin((0,l.I)(u.Z))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new b.Z(-180,-90,180,90,y.Z.WGS84),this.id=Date.now().toString(16)+"-layer-"+f++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=y.Z.WGS84,this.title=null,this.type=null,this.url=null,this.visible=!0}static async fromArcGISServerUrl(e){const t="string"==typeof e?{url:e}:e,r=await i.e(3529).then(i.bind(i,63529));try{return await r.fromUrl(t)}catch(e){throw g.error("#fromArcGISServerUrl({ url: '"+t.url+"'})","Failed to create layer from arcgis server url",e),e}}static async fromPortalItem(e){const t="portalItem"in e?e:{portalItem:e},r=await i.e(4579).then(i.bind(i,44579));try{return await r.fromItem(t)}catch(e){const i=t&&t.portalItem,r=i&&i.id||"unset",o=i&&i.portal&&i.portal.url||s.Z.portalUrl;throw g.error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+o+"', id: '"+r+"')",e),e}}initialize(){this.when().catch((e=>{var t,i;(0,d.D_)(e)||p.Z.getLogger(this.declaredClass).error("#load()",`Failed to load layer (title: '${null!=(t=this.title)?t:"no title"}', id: '${null!=(i=this.id)?i:"no id"}')`,{error:e})}))}destroy(){if(this.parent){const e=this,t=this.parent;"layers"in t&&t.layers.includes(e)?t.layers.remove(e):"tables"in t&&t.tables.includes(e)?t.tables.remove(e):"baseLayers"in t&&t.baseLayers.includes(e)?t.baseLayers.remove(e):"baseLayers"in t&&t.referenceLayers.includes(e)&&t.referenceLayers.remove(e)}}get hasAttributionData(){return null!=this.attributionDataUrl}get parsedUrl(){const e=this.url;return e?(0,c.mN)(e):null}async fetchAttributionData(){const e=this.attributionDataUrl;if(this.hasAttributionData&&e)return(await(0,o.default)(e,{query:{f:"json"},responseType:"json"})).data;throw new n.Z("layer:no-attribution-data","Layer does not have attribution data")}};(0,r._)([(0,m.Cb)({type:String})],v.prototype,"attributionDataUrl",void 0),(0,r._)([(0,m.Cb)({type:b.Z})],v.prototype,"fullExtent",void 0),(0,r._)([(0,m.Cb)({readOnly:!0})],v.prototype,"hasAttributionData",null),(0,r._)([(0,m.Cb)({type:String})],v.prototype,"id",void 0),(0,r._)([(0,m.Cb)({type:Boolean,nonNullable:!0})],v.prototype,"legendEnabled",void 0),(0,r._)([(0,m.Cb)({type:["show","hide","hide-children"]})],v.prototype,"listMode",void 0),(0,r._)([(0,m.Cb)({type:Number,range:{min:0,max:1},nonNullable:!0})],v.prototype,"opacity",void 0),(0,r._)([(0,m.Cb)()],v.prototype,"parent",void 0),(0,r._)([(0,m.Cb)({readOnly:!0})],v.prototype,"parsedUrl",null),(0,r._)([(0,m.Cb)({type:Boolean})],v.prototype,"popupEnabled",void 0),(0,r._)([(0,m.Cb)({type:Boolean})],v.prototype,"attributionVisible",void 0),(0,r._)([(0,m.Cb)({type:y.Z})],v.prototype,"spatialReference",void 0),(0,r._)([(0,m.Cb)({type:String})],v.prototype,"title",void 0),(0,r._)([(0,m.Cb)({type:String,readOnly:!0,json:{read:!1}})],v.prototype,"type",void 0),(0,r._)([(0,m.Cb)()],v.prototype,"url",void 0),(0,r._)([(0,m.Cb)({type:Boolean,nonNullable:!0})],v.prototype,"visible",void 0),v=(0,r._)([(0,h.j)("esri.layers.Layer")],v);const C=v},84593:(e,t,i)=>{i.r(t),i.d(t,{default:()=>Ne});var r=i(43697),s=i(68773),o=(i(66577),i(1692)),n=i(51773),a=(i(16050),i(12501),i(95088),i(79056),i(5499),i(84382),i(30687),i(91423)),l=i(80539),u=i(20102),p=i(70586),d=i(16453),c=i(78286),m=i(5600),h=(i(67676),i(80442),i(75215)),b=i(71715),y=i(52011),f=i(30556),g=i(6570),v=i(8744),C=i(29600),T=i(71612),S=i(38009),_=i(16859),w=i(72965),O=i(78223),N=i(96674),x=i(4095),I=i(77987),E=i(20256),D=i(37898);let F=class extends N.wq{constructor(){super(...arguments),this.directionLines=new x.Z({color:[0,122,194],width:6}),this.directionPoints=new I.Z({color:[255,255,255],size:6,outline:{color:[0,122,194],width:2}}),this.pointBarriers=new I.Z({style:"x",size:10,outline:{color:[255,0,0],width:3}}),this.polygonBarriers=new E.Z({color:[255,170,0,.6],outline:{width:7.5,color:[255,0,0,.6]}}),this.polylineBarriers=new x.Z({width:7.5,color:[255,85,0,.7]}),this.routeInfo=new x.Z({width:8,color:[20,89,127]}),this.firstStop=new D.Z({width:23,height:23,url:`data:image/svg+xml;base64,${btoa('<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><g fill-rule="nonzero" fill="none"><path d="M15.15.3C6.9.3.3 6.9.3 15.15S6.9 29.7 15.15 29.7 29.7 23.1 29.7 15.15C29.7 6.9 23.25.3 15.15.3z" fill="#FFFFFF"/><path d="M15 4.8C9.3 4.8 4.8 9.45 4.8 15c0 5.55 4.65 10.2 10.2 10.2 5.55 0 10.2-4.5 10.2-10.2 0-5.55-4.5-10.2-10.2-10.2z" fill="#00FF00"/></g></svg>')}`}),this.middleStop=new I.Z({color:[51,51,51,1],size:12,outline:{color:[0,122,194],width:3}}),this.lastStop=new D.Z({width:23,height:23,url:`data:image/svg+xml;base64,${btoa('<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><g fill-rule="nonzero" fill="none"><path d="M15.15.3C6.9.3.3 6.9.3 15.15S6.9 29.7 15.15 29.7 29.7 23.1 29.7 15.15C29.7 6.9 23.25.3 15.15.3z" fill="#FFFFFF"/><path d="M15 4.8C9.3 4.8 4.8 9.45 4.8 15c0 5.55 4.65 10.2 10.2 10.2 5.55 0 10.2-4.5 10.2-10.2 0-5.55-4.5-10.2-10.2-10.2z" fill="#FF0000"/><path fill="#FFFFFF" d="M10.5 10.5h9v9h-9z"/></g></svg>')}`}),this.invalidStop=new D.Z({height:18,width:18,url:`data:image/svg+xml;base64,${btoa('<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M10.1.2C4.6.2.2 4.6.2 10.1s4.4 9.7 9.9 9.7 9.7-4.4 9.7-9.7c0-5.5-4.3-9.9-9.7-9.9z" fill="#FFFFFF" fill-rule="nonzero"/><path d="M10 2.7c-4.08 0-7.3 3.328-7.3 7.3s3.328 7.3 7.3 7.3 7.3-3.22 7.3-7.3c0-3.972-3.22-7.3-7.3-7.3z" fill="#FF0000" fill-rule="nonzero"/><path d="M11.414 10l5.304-5.303-1.415-1.415L10 8.586 4.697 3.282 3.282 4.697 8.586 10l-5.304 5.303 1.415 1.415L10 11.414l5.303 5.304 1.415-1.415L11.414 10z" fill="#FFFFFF"/></g></svg>')}`}),this.waypointStop=new I.Z({color:[255,255,255],size:12,outline:{color:[0,122,194],width:3}}),this.breakStop=new I.Z({color:[255,255,255],size:12,outline:{color:[0,122,194],width:3}})}};(0,r._)([(0,m.Cb)({nonNullable:!0,types:O.LB})],F.prototype,"directionLines",void 0),(0,r._)([(0,m.Cb)({nonNullable:!0,types:O.LB})],F.prototype,"directionPoints",void 0),(0,r._)([(0,m.Cb)({nonNullable:!0,types:O.LB})],F.prototype,"pointBarriers",void 0),(0,r._)([(0,m.Cb)({nonNullable:!0,types:O.LB})],F.prototype,"polygonBarriers",void 0),(0,r._)([(0,m.Cb)({nonNullable:!0,types:O.LB})],F.prototype,"polylineBarriers",void 0),(0,r._)([(0,m.Cb)({nonNullable:!0,types:O.LB})],F.prototype,"routeInfo",void 0),(0,r._)([(0,m.Cb)({nonNullable:!0,types:O.LB})],F.prototype,"firstStop",void 0),(0,r._)([(0,m.Cb)({nonNullable:!0,types:O.LB})],F.prototype,"middleStop",void 0),(0,r._)([(0,m.Cb)({nonNullable:!0,types:O.LB})],F.prototype,"lastStop",void 0),(0,r._)([(0,m.Cb)({nonNullable:!0,types:O.LB})],F.prototype,"invalidStop",void 0),(0,r._)([(0,m.Cb)({nonNullable:!0,types:O.LB})],F.prototype,"waypointStop",void 0),(0,r._)([(0,m.Cb)({nonNullable:!0,types:O.LB})],F.prototype,"breakStop",void 0),F=(0,r._)([(0,y.j)("esri.layers.support.DefaultSymbols")],F);const B=F;var A,j=i(23334),M=i(58901),L=i(49352),P=i(21878);let R=A=class extends N.wq{constructor(e){super(e),this.directionLineType=null,this.directionPointId=null,this.distance=null,this.duration=null,this.fromLevel=null,this.geometry=null,this.objectId=null,this.popupTemplate=null,this.routeId=null,this.symbol=null,this.toLevel=null}static fromPortalJSON(e){var t,i,r;return new A({directionLineType:L.td.fromJSON(e.attributes.DirectionLineType),directionPointId:e.attributes.DirectionPointID,distance:e.attributes.Meters,duration:e.attributes.Minutes,fromLevel:null!=(t=e.attributes.FromLevel)?t:null,geometry:M.Z.fromJSON(e.geometry),objectId:e.attributes.__OBJECTID,popupTemplate:(0,p.pC)(e.popupInfo)?n.Z.fromJSON(e.popupInfo):null,routeId:null!=(i=e.attributes.RouteID)?i:null,symbol:(0,p.pC)(e.symbol)?(0,P.i)(e.symbol):null,toLevel:null!=(r=e.attributes.ToLevel)?r:null})}toPortalJSON(){const e={geometry:(0,p.pC)(this.geometry)?this.geometry.toJSON():null,attributes:{__OBJECTID:(0,p.Wg)(this.objectId),DirectionLineType:(0,p.pC)(this.directionLineType)?L.td.toJSON(this.directionLineType):null,DirectionPointID:(0,p.Wg)(this.directionPointId),Meters:(0,p.Wg)(this.distance),Minutes:(0,p.Wg)(this.duration)},symbol:(0,p.pC)(this.symbol)?this.symbol.toJSON():null,popupInfo:(0,p.pC)(this.popupTemplate)?this.popupTemplate.toJSON():null};return(0,p.pC)(this.routeId)&&(e.attributes.RouteID=this.routeId),(0,p.pC)(this.fromLevel)&&(e.attributes.FromLevel=this.fromLevel),(0,p.pC)(this.toLevel)&&(e.attributes.ToLevel=this.toLevel),e}};R.fields=[{name:"__OBJECTID",alias:"OBJECTID",type:"esriFieldTypeOID",editable:!1,nullable:!1,domain:null},{name:"DirectionPointID",alias:"Direction Point ID",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!1},{name:"DirectionLineType",alias:"Line Type",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0,domain:{type:"codedValue",name:"esriDirectionsLineType",codedValues:[{name:"Unknown",code:0},{name:"Segment",code:1},{name:"Maneuver Segment",code:2},{name:"Restriction violation",code:3},{name:"Scale cost barrier crossing",code:4},{name:"Heavy Traffic",code:5},{name:"Slow Traffic",code:6},{name:"Moderate Traffic",code:7}]}},{name:"Meters",alias:"Length in Meters",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!0},{name:"Minutes",alias:"Duration in Minutes",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!0},{name:"FromLevel",alias:"Start from 3D Level",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!1},{name:"ToLevel",alias:"End at 3D Level",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!1}],R.popupInfo={title:"Direction Lines",fieldInfos:[{fieldName:"DirectionLineType",label:"Line Type",isEditable:!1,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"Meters",label:"Length in Meters",isEditable:!1,tooltip:"",visible:!0,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"Minutes",label:"Duration in Minutes",isEditable:!1,tooltip:"",visible:!0,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"DirectionPointID",label:"Direction Point ID",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"FromLevel",label:"Start from 3D Level",isEditable:!1,tooltip:"",visible:!1,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"ToLevel",label:"End at 3D Level",isEditable:!1,tooltip:"",visible:!1,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"}],description:null,showAttachments:!1,mediaInfos:[]},(0,r._)([(0,m.Cb)({type:L.td.apiValues,json:{read:{source:"attributes.DirectionLineType",reader:L.td.read}}})],R.prototype,"directionLineType",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.DirectionPointID"}}})],R.prototype,"directionPointId",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.Meters"}}})],R.prototype,"distance",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.Minutes"}}})],R.prototype,"duration",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.FromLevel"}}})],R.prototype,"fromLevel",void 0),(0,r._)([(0,m.Cb)({type:M.Z})],R.prototype,"geometry",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.ObjectID"}}})],R.prototype,"objectId",void 0),(0,r._)([(0,m.Cb)({type:n.Z,json:{read:!1}})],R.prototype,"popupTemplate",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.RouteID"}}})],R.prototype,"routeId",void 0),(0,r._)([(0,m.Cb)({types:O.LB,json:{read:!1}})],R.prototype,"symbol",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.ToLevel"}}})],R.prototype,"toLevel",void 0),R=A=(0,r._)([(0,y.j)("esri.layers.support.DirectionLine")],R);const V=R;var U,Z=i(13473);let J=U=class extends N.wq{constructor(e){super(e),this.alternateName=null,this.arrivalTime=null,this.arrivalTimeOffset=null,this.azimuth=null,this.branchName=null,this.directionPointType=null,this.displayText=null,this.exitName=null,this.geometry=null,this.intersectingName=null,this.level=null,this.name=null,this.objectId=null,this.popupTemplate=null,this.routeId=null,this.sequence=null,this.shortVoiceInstruction=null,this.stopId=null,this.symbol=null,this.towardName=null,this.voiceInstruction=null}readArrivalTime(e,t){return(0,p.pC)(t.attributes.ArrivalTime)?new Date(t.attributes.ArrivalTime):null}static fromPortalJSON(e){var t,i,r,s,o,a,l,u,d,c,m,h,b,y;return new U({alternateName:null!=(t=e.attributes.AlternateName)?t:null,arrivalTime:(0,p.pC)(e.attributes.ArrivalTime)?new Date(e.attributes.ArrivalTime):null,arrivalTimeOffset:null!=(i=e.attributes.ArrivalUTCOffset)?i:null,azimuth:null!=(r=e.attributes.Azimuth)?r:null,branchName:null!=(s=e.attributes.BranchName)?s:null,directionPointType:L.cW.fromJSON(e.attributes.DirectionPointType),displayText:null!=(o=e.attributes.DisplayText)?o:null,exitName:null!=(a=e.attributes.ExitName)?a:null,geometry:Z.Z.fromJSON(e.geometry),intersectingName:null!=(l=e.attributes.IntersectingName)?l:null,level:null!=(u=e.attributes.Level)?u:null,name:null!=(d=e.attributes.Name)?d:null,objectId:e.attributes.__OBJECTID,popupTemplate:(0,p.pC)(e.popupInfo)?n.Z.fromJSON(e.popupInfo):null,routeId:null!=(c=e.attributes.RouteID)?c:null,sequence:e.attributes.Sequence,shortVoiceInstruction:null!=(m=e.attributes.ShortVoiceInstruction)?m:null,stopId:null!=(h=e.attributes.StopID)?h:null,symbol:(0,p.pC)(e.symbol)?(0,P.i)(e.symbol):null,towardName:null!=(b=e.attributes.TowardName)?b:null,voiceInstruction:null!=(y=e.attributes.VoiceInstruction)?y:null})}toPortalJSON(){const e={geometry:(0,p.pC)(this.geometry)?this.geometry.toJSON():null,attributes:{__OBJECTID:(0,p.Wg)(this.objectId),DirectionPointType:(0,p.pC)(this.directionPointType)?L.cW.toJSON(this.directionPointType):null,Sequence:(0,p.Wg)(this.sequence),StopID:this.stopId},symbol:(0,p.pC)(this.symbol)?this.symbol.toJSON():null,popupInfo:(0,p.pC)(this.popupTemplate)?this.popupTemplate.toJSON():null};return(0,p.pC)(this.alternateName)&&(e.attributes.AlternateName=this.alternateName),(0,p.pC)(this.arrivalTime)&&(e.attributes.ArrivalTime=this.arrivalTime.getTime()),(0,p.pC)(this.arrivalTimeOffset)&&(e.attributes.ArrivalUTCOffset=this.arrivalTimeOffset),(0,p.pC)(this.azimuth)&&(e.attributes.Azimuth=this.azimuth),(0,p.pC)(this.branchName)&&(e.attributes.BranchName=this.branchName),(0,p.pC)(this.displayText)&&(e.attributes.DisplayText=this.displayText),(0,p.pC)(this.exitName)&&(e.attributes.ExitName=this.exitName),(0,p.pC)(this.intersectingName)&&(e.attributes.IntersectingName=this.intersectingName),(0,p.pC)(this.level)&&(e.attributes.Level=this.level),(0,p.pC)(this.name)&&(e.attributes.Name=this.name),(0,p.pC)(this.shortVoiceInstruction)&&(e.attributes.ShortVoiceInstruction=this.shortVoiceInstruction),(0,p.pC)(this.towardName)&&(e.attributes.TowardName=this.towardName),(0,p.pC)(this.voiceInstruction)&&(e.attributes.VoiceInstruction=this.voiceInstruction),e}};J.fields=[{name:"__OBJECTID",alias:"OBJECTID",type:"esriFieldTypeOID",editable:!1,nullable:!1,domain:null},{name:"Sequence",alias:"Sequence",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0},{name:"StopID",alias:"Stop ID",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0},{name:"DirectionPointType",alias:"Directions Item Type",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0,domain:{type:"codedValue",name:"esriDirectionPointType",codedValues:[{name:"Unknown",code:0},{name:"",code:1},{name:"Arrive at stop",code:50},{name:"Depart at stop",code:51},{name:"Go straight",code:52},{name:"Take ferry",code:100},{name:"Take off ferry",code:101},{name:"Keep center at fork",code:102},{name:"Take roundabout",code:103},{name:"Make U-Turn",code:104},{name:"Pass the door",code:150},{name:"Take stairs",code:151},{name:"",code:152},{name:"Take escalator",code:153},{name:"Take pedestrian ramp",code:154},{name:"Keep left at fork",code:200},{name:"Ramp left",code:201},{name:"Take left-handed roundabout",code:202},{name:"Make left-handed U-Turn",code:203},{name:"Bear left",code:204},{name:"Turn left",code:205},{name:"Make sharp left",code:206},{name:"Turn left, followed by turn left",code:207},{name:"Turn left, followed by turn right",code:208},{name:"Keep right at fork",code:300},{name:"Ramp right",code:301},{name:"Take right-handed roundabout",code:302},{name:"Make right-handed U-Turn",code:303},{name:"Bear right",code:304},{name:"Turn right",code:305},{name:"Make sharp right",code:306},{name:"Turn right, followed by turn left",code:307},{name:"Turn right, followed by turn right",code:308},{name:"Indicates up direction of elevator",code:400},{name:"Indicates up direction of escalator",code:401},{name:"Take up-stairs",code:402},{name:"Indicates down direction of elevator",code:500},{name:"Indicates down direction of escalator",code:501},{name:"Take down-stairs",code:502},{name:"General event",code:1e3},{name:"Landmark",code:1001},{name:"Time zone change",code:1002},{name:"Heavy traffic segment",code:1003},{name:"Scale cost barrier crossing",code:1004},{name:"Administrative Border crossing",code:1005},{name:"Restriction violation",code:1006}]}},{name:"DisplayText",alias:"Text to Display",type:"esriFieldTypeString",length:2048,editable:!0,nullable:!0,visible:!0,domain:null},{name:"ArrivalTime",alias:"Maneuver Starts at",type:"esriFieldTypeDate",length:36,editable:!0,nullable:!0,visible:!0},{name:"ArrivalUTCOffset",alias:"Offset from UTC in Minutes",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0},{name:"Azimuth",alias:"Azimuth",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!0},{name:"Name",alias:"Primary Feature Name",type:"esriFieldTypeString",length:2048,editable:!0,nullable:!0,visible:!0,domain:null},{name:"AlternateName",alias:"Alternative Feature Name",type:"esriFieldTypeString",length:2048,editable:!0,nullable:!0,visible:!0,domain:null},{name:"ExitName",alias:"Highway Exit Name",type:"esriFieldTypeString",length:2048,editable:!0,nullable:!0,visible:!0,domain:null},{name:"IntersectingName",alias:"Intersecting Feature Name",type:"esriFieldTypeString",length:2048,editable:!0,nullable:!0,visible:!0,domain:null},{name:"BranchName",alias:"Signpost Branch Name",type:"esriFieldTypeString",length:2048,editable:!0,nullable:!0,visible:!0,domain:null},{name:"TowardName",alias:"Signpost Toward Name",type:"esriFieldTypeString",length:2048,editable:!0,nullable:!0,visible:!0,domain:null},{name:"ShortVoiceInstruction",alias:"Voice Instruction",type:"esriFieldTypeString",length:2048,editable:!0,nullable:!0,visible:!0,domain:null},{name:"VoiceInstruction",alias:"Voice Full Instruction",type:"esriFieldTypeString",length:2048,editable:!0,nullable:!0,visible:!0,domain:null},{name:"Level",alias:"3D Logical Level",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0}],J.popupInfo={title:"{Name}",fieldInfos:[{fieldName:"Name",label:"Name",isEditable:!0,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"RouteName",label:"Route Name",isEditable:!0,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"Sequence",label:"Sequence",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"ArrivalTime",label:"Arrival Time",isEditable:!0,tooltip:"",visible:!0,format:{dateFormat:"shortDateShortTime24"},stringFieldOption:"textbox"},{fieldName:"ArrivalUTCOffset",label:"Arrival Time: Offset from UTC in Minutes",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"DepartureTime",label:"Departure Time",isEditable:!0,tooltip:"",visible:!0,format:{dateFormat:"shortDateShortTime24"},stringFieldOption:"textbox"},{fieldName:"DepartureUTCOffset",label:"Departure Time: Offset from UTC in Minutes",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"CurbApproach",label:"Curb Approach",isEditable:!0,tooltip:"",visible:!1,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"ArrivalCurbApproach",label:"Arrival Curb Approach",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"DepartureCurbApproach",label:"Departure Curb Approach",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"Status",label:"Status",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"LocationType",label:"Location Type",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"TimeWindowStart",label:"Time Window Start",isEditable:!0,tooltip:"",visible:!1,format:{dateFormat:"shortDateShortTime24"},stringFieldOption:"textbox"},{fieldName:"TimeWindowStartUTCOffset",label:"Time Window Start: Offset from UTC in Minutes",isEditable:!1,tooltip:"",visible:!1,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"TimeWindowEnd",label:"Time Window End",isEditable:!0,tooltip:"",visible:!1,format:{dateFormat:"shortDateShortTime24"},stringFieldOption:"textbox"},{fieldName:"TimeWindowEndUTCOffset",label:"Time Window End: Offset from UTC in Minutes",isEditable:!1,tooltip:"",visible:!1,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"ServiceMinutes",label:"Service Minutes",isEditable:!0,tooltip:"",visible:!1,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"ServiceMeters",label:"Service Meters",isEditable:!0,tooltip:"",visible:!1,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"ServiceCosts",label:"Service Costs",isEditable:!0,tooltip:"",visible:!1,stringFieldOption:"textbox"},{fieldName:"CumulativeMinutes",label:"Cumulative Minutes",isEditable:!1,tooltip:"",visible:!0,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"CumulativeMeters",label:"Cumulative Meters",isEditable:!1,tooltip:"",visible:!0,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"CumulativeCosts",label:"Cumulative Costs",isEditable:!0,tooltip:"",visible:!1,stringFieldOption:"textbox"},{fieldName:"LateMinutes",label:"Minutes Late",isEditable:!1,tooltip:"",visible:!1,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"WaitMinutes",label:"Minutes Early",isEditable:!1,tooltip:"",visible:!1,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"}],description:null,showAttachments:!1,mediaInfos:[]},(0,r._)([(0,m.Cb)({json:{read:!1}})],J.prototype,"alternateName",void 0),(0,r._)([(0,m.Cb)()],J.prototype,"arrivalTime",void 0),(0,r._)([(0,b.r)("arrivalTime",["attributes.ArrivalTime"])],J.prototype,"readArrivalTime",null),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.ArrivalUTCOffset"}}})],J.prototype,"arrivalTimeOffset",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.Azimuth"}}})],J.prototype,"azimuth",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.BranchName"}}})],J.prototype,"branchName",void 0),(0,r._)([(0,m.Cb)({type:L.cW.apiValues,json:{read:{source:"attributes.DirectionPointType",reader:L.cW.read}}})],J.prototype,"directionPointType",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.DisplayText"}}})],J.prototype,"displayText",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.ExitName"}}})],J.prototype,"exitName",void 0),(0,r._)([(0,m.Cb)({type:Z.Z})],J.prototype,"geometry",void 0),(0,r._)([(0,m.Cb)({json:{read:!1}})],J.prototype,"intersectingName",void 0),(0,r._)([(0,m.Cb)({json:{read:!1}})],J.prototype,"level",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.Name"}}})],J.prototype,"name",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.ObjectID"}}})],J.prototype,"objectId",void 0),(0,r._)([(0,m.Cb)({type:n.Z,json:{read:!1}})],J.prototype,"popupTemplate",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.RouteID"}}})],J.prototype,"routeId",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.Sequence"}}})],J.prototype,"sequence",void 0),(0,r._)([(0,m.Cb)({json:{read:!1}})],J.prototype,"shortVoiceInstruction",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.StopID"}}})],J.prototype,"stopId",void 0),(0,r._)([(0,m.Cb)({types:O.LB,json:{read:!1}})],J.prototype,"symbol",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.TowardName"}}})],J.prototype,"towardName",void 0),(0,r._)([(0,m.Cb)({json:{read:!1}})],J.prototype,"voiceInstruction",void 0),J=U=(0,r._)([(0,y.j)("esri.layers.support.DirectionPoint")],J);const q=J;var W,k=i(22974);function z(e,t){if((0,p.Wi)(e))return null;const i={};for(const r in e)e.hasOwnProperty(r)&&r.includes(t)&&(i[r.substr(t.length)]=e[r]);return i}function G(e,t){return(0,p.Wi)(e)||(0,p.Wi)(t)?null:Math.round((e-t)/6e4)}let $=W=class extends N.wq{constructor(e){super(e),this.addedCost=null,this.barrierType=null,this.costs=null,this.curbApproach=null,this.fullEdge=null,this.geometry=null,this.name=null,this.objectId=null,this.popupTemplate=null,this.sideOfEdge=null,this.sourceId=null,this.sourceOid=null,this.status=null,this.symbol=null}readCosts(e,t){return z(t.attributes,"Attr_")}writeCosts(e,t){if(!(0,p.Wi)(e)){t.attributes||(t.attributes={});for(const i in e)t.attributes[`Attr_${i}`]=e[i]}}static fromPortalJSON(e){var t,i;return new W({addedCost:null!=(t=e.attributes.AddedCost)?t:null,barrierType:(0,p.pC)(e.attributes.BarrierType)?L.oi.fromJSON(e.attributes.BarrierType):null,costs:(0,p.pC)(e.attributes.Costs)?JSON.parse(e.attributes.Costs):null,curbApproach:(0,p.pC)(e.attributes.CurbApproach)?L.W7.fromJSON(e.attributes.CurbApproach):null,fullEdge:(0,p.pC)(e.attributes.FullEdge)?L.Dd.fromJSON(e.attributes.FullEdge):null,geometry:Z.Z.fromJSON(e.geometry),name:null!=(i=e.attributes.Name)?i:null,objectId:e.attributes.__OBJECTID,popupTemplate:(0,p.pC)(e.popupInfo)?n.Z.fromJSON(e.popupInfo):null,status:(0,p.pC)(e.attributes.Status)?L.SS.fromJSON(e.attributes.Status):null,symbol:(0,p.pC)(e.symbol)?(0,P.i)(e.symbol):null})}clone(){return new W((0,k.d9)({addedCost:this.addedCost,barrierType:this.barrierType,costs:this.costs,curbApproach:this.curbApproach,fullEdge:this.fullEdge,geometry:this.geometry,name:this.name,objectId:this.objectId,popupTemplate:this.popupTemplate,sideOfEdge:this.sideOfEdge,sourceId:this.sourceId,sourceOid:this.sourceOid,status:this.status,symbol:this.symbol}))}toPortalJSON(){return{geometry:(0,p.pC)(this.geometry)?this.geometry.toJSON():null,attributes:{__OBJECTID:(0,p.Wg)(this.objectId),AddedCost:this.addedCost,BarrierType:(0,p.pC)(this.barrierType)?L.oi.toJSON(this.barrierType):null,Costs:(0,p.pC)(this.costs)?JSON.stringify(this.costs):null,CurbApproach:(0,p.pC)(this.curbApproach)?L.W7.toJSON(this.curbApproach):null,FullEdge:(0,p.pC)(this.fullEdge)?L.Dd.toJSON(this.fullEdge):null,Name:this.name,Status:(0,p.pC)(this.status)?L.SS.toJSON(this.status):null},symbol:(0,p.pC)(this.symbol)?this.symbol.toJSON():null,popupInfo:(0,p.pC)(this.popupTemplate)?this.popupTemplate.toJSON():null}}};$.fields=[{name:"__OBJECTID",alias:"OBJECTID",type:"esriFieldTypeOID",editable:!1,nullable:!1,domain:null},{name:"BarrierType",alias:"Barrier Type",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0,domain:{type:"codedValue",name:"esriNABarrierType",codedValues:[{name:"Restriction",code:0},{name:"Scaled Cost",code:1},{name:"Added Cost",code:2}]}},{name:"Costs",alias:"Costs",type:"esriFieldTypeString",length:1048576,editable:!0,nullable:!0,visible:!1,domain:null},{name:"CurbApproach",alias:"Curb Approach",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!1,domain:{type:"codedValue",name:"esriNACurbApproachType",codedValues:[{name:"Either side",code:0},{name:"From the right",code:1},{name:"From the left",code:2},{name:"Depart in the same direction",code:3}]}},{name:"FullEdge",alias:"Full Edge",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0,domain:{type:"codedValue",name:"esriNAIntYesNo",codedValues:[{name:"No",code:0},{name:"Yes",code:1}]}},{name:"Name",alias:"Name",type:"esriFieldTypeString",length:255,editable:!0,nullable:!0,visible:!0},{name:"Status",alias:"Status",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0,domain:{type:"codedValue",name:"esriNAObjectStatus",codedValues:[{name:"OK",code:0},{name:"Not Located on Network",code:1},{name:"Network Unbuilt",code:2},{name:"Prohibited Street",code:3},{name:"Invalid Field Values",code:4},{name:"Cannot Reach",code:5},{name:"Time Window Violation",code:6}]}}],$.popupInfo={title:"Point Barriers",fieldInfos:[{fieldName:"Name",label:"Name",isEditable:!0,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"BarrierType",label:"Barrier Type",isEditable:!0,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"Costs",label:"Costs",isEditable:!0,tooltip:"",visible:!1,stringFieldOption:"textbox"}],description:null,showAttachments:!1,mediaInfos:[]},(0,r._)([(0,m.Cb)({json:{read:!1}})],$.prototype,"addedCost",void 0),(0,r._)([(0,m.Cb)({type:L.oi.apiValues,json:{name:"attributes.BarrierType",read:{reader:L.oi.read},write:{writer:L.oi.write}}})],$.prototype,"barrierType",void 0),(0,r._)([(0,m.Cb)()],$.prototype,"costs",void 0),(0,r._)([(0,b.r)("costs",["attributes"])],$.prototype,"readCosts",null),(0,r._)([(0,f.c)("costs")],$.prototype,"writeCosts",null),(0,r._)([(0,m.Cb)({type:L.W7.apiValues,json:{read:{source:"attributes.CurbApproach",reader:L.W7.read}}})],$.prototype,"curbApproach",void 0),(0,r._)([(0,m.Cb)({type:L.Dd.apiValues,json:{name:"attributes.FullEdge",read:{reader:L.Dd.read},write:{writer:L.Dd.write}}})],$.prototype,"fullEdge",void 0),(0,r._)([(0,m.Cb)({type:Z.Z,json:{write:!0}})],$.prototype,"geometry",void 0),(0,r._)([(0,m.Cb)({json:{name:"attributes.Name",write:!0}})],$.prototype,"name",void 0),(0,r._)([(0,m.Cb)({json:{name:"attributes.ObjectID",write:!0}})],$.prototype,"objectId",void 0),(0,r._)([(0,m.Cb)({type:n.Z,json:{read:!1}})],$.prototype,"popupTemplate",void 0),(0,r._)([(0,m.Cb)({type:L.BW.apiValues,json:{read:{source:"attributes.SideOfEdge",reader:L.BW.read}}})],$.prototype,"sideOfEdge",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.SourceID"}}})],$.prototype,"sourceId",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.SourceOID"}}})],$.prototype,"sourceOid",void 0),(0,r._)([(0,m.Cb)({type:L.SS.apiValues,json:{read:{source:"attributes.Status",reader:L.SS.read}}})],$.prototype,"status",void 0),(0,r._)([(0,m.Cb)({types:O.LB,json:{read:!1}})],$.prototype,"symbol",void 0),$=W=(0,r._)([(0,y.j)("esri.layers.support.PointBarrier")],$);const H=$;var X,Y=i(17332);let K=X=class extends N.wq{constructor(e){super(e),this.barrierType=null,this.costs=null,this.geometry=null,this.name=null,this.objectId=null,this.popupTemplate=null,this.scaleFactor=null,this.symbol=null}readCosts(e,t){return z(t.attributes,"Attr_")}writeCosts(e,t){if(!(0,p.Wi)(e)){t.attributes||(t.attributes={});for(const i in e)t.attributes[`Attr_${i}`]=e[i]}}static fromPortalJSON(e){var t,i;return new X({barrierType:(0,p.pC)(e.attributes.BarrierType)?L.oi.fromJSON(e.attributes.BarrierType):null,costs:(0,p.pC)(e.attributes.Costs)?JSON.parse(e.attributes.Costs):null,geometry:Y.Z.fromJSON(e.geometry),name:null!=(t=e.attributes.Name)?t:null,objectId:e.attributes.__OBJECTID,popupTemplate:(0,p.pC)(e.popupInfo)?n.Z.fromJSON(e.popupInfo):null,scaleFactor:null!=(i=e.attributes.ScaleFactor)?i:null,symbol:(0,p.pC)(e.symbol)?(0,P.i)(e.symbol):null})}clone(){return new X((0,k.d9)({barrierType:this.barrierType,costs:this.costs,geometry:this.geometry,name:this.name,objectId:this.objectId,popupTemplate:this.popupTemplate,scaleFactor:this.scaleFactor,symbol:this.symbol}))}toPortalJSON(){var e,t;return{geometry:(0,p.pC)(this.geometry)?this.geometry.toJSON():null,attributes:{__OBJECTID:(0,p.Wg)(this.objectId),BarrierType:(0,p.pC)(this.barrierType)?L.oi.toJSON(this.barrierType):null,Costs:(0,p.pC)(this.costs)?JSON.stringify(this.costs):null,Name:null!=(e=this.name)?e:null,ScaleFactor:null!=(t=this.scaleFactor)?t:null},symbol:(0,p.pC)(this.symbol)?this.symbol.toJSON():null,popupInfo:(0,p.pC)(this.popupTemplate)?this.popupTemplate.toJSON():null}}};K.fields=[{name:"__OBJECTID",alias:"OBJECTID",type:"esriFieldTypeOID",editable:!1,nullable:!1,domain:null},{name:"BarrierType",alias:"Barrier Type",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0,domain:{type:"codedValue",name:"esriNABarrierType",codedValues:[{name:"Restriction",code:0},{name:"Scaled Cost",code:1},{name:"Added Cost",code:2}]}},{name:"Costs",alias:"Costs",type:"esriFieldTypeString",length:1048576,editable:!0,nullable:!0,visible:!1,domain:null},{name:"Name",alias:"Name",type:"esriFieldTypeString",length:255,editable:!0,nullable:!0,visible:!0},{name:"ScaleFactor",alias:"Scale Factor",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!0}],K.popupInfo={title:"Line Barriers",fieldInfos:[{fieldName:"Name",label:"Name",isEditable:!0,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"BarrierType",label:"Barrier Type",isEditable:!0,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"ScaleFactor",isEditable:!0,tooltip:"",visible:!0,format:{places:3,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"Costs",label:"Costs",isEditable:!0,tooltip:"",visible:!1,stringFieldOption:"textbox"}],description:null,showAttachments:!1,mediaInfos:[]},(0,r._)([(0,m.Cb)({type:L.oi.apiValues,json:{name:"attributes.BarrierType",read:{reader:L.oi.read},write:{writer:L.oi.write}}})],K.prototype,"barrierType",void 0),(0,r._)([(0,m.Cb)()],K.prototype,"costs",void 0),(0,r._)([(0,b.r)("costs",["attributes"])],K.prototype,"readCosts",null),(0,r._)([(0,f.c)("costs")],K.prototype,"writeCosts",null),(0,r._)([(0,m.Cb)({type:Y.Z,json:{write:!0}})],K.prototype,"geometry",void 0),(0,r._)([(0,m.Cb)({json:{name:"attributes.Name",write:!0}})],K.prototype,"name",void 0),(0,r._)([(0,m.Cb)({json:{name:"attributes.ObjectID",write:!0}})],K.prototype,"objectId",void 0),(0,r._)([(0,m.Cb)({type:n.Z,json:{read:!1}})],K.prototype,"popupTemplate",void 0),(0,r._)([(0,m.Cb)({json:{read:!1}})],K.prototype,"scaleFactor",void 0),(0,r._)([(0,m.Cb)({types:O.LB,json:{read:!1}})],K.prototype,"symbol",void 0),K=X=(0,r._)([(0,y.j)("esri.layers.support.PolygonBarrier")],K);const Q=K;var ee;let te=ee=class extends N.wq{constructor(e){super(e),this.barrierType=null,this.costs=null,this.geometry=null,this.name=null,this.objectId=null,this.popupTemplate=null,this.scaleFactor=null,this.symbol=null}readCosts(e,t){return z(t.attributes,"Attr_")}static fromPortalJSON(e){var t,i;return new ee({barrierType:(0,p.pC)(e.attributes.BarrierType)?L.oi.fromJSON(e.attributes.BarrierType):null,costs:(0,p.pC)(e.attributes.Costs)?JSON.parse(e.attributes.Costs):null,geometry:M.Z.fromJSON(e.geometry),name:null!=(t=e.attributes.Name)?t:null,objectId:e.attributes.__OBJECTID,popupTemplate:(0,p.pC)(e.popupInfo)?n.Z.fromJSON(e.popupInfo):null,scaleFactor:null!=(i=e.attributes.ScaleFactor)?i:null,symbol:(0,p.pC)(e.symbol)?(0,P.i)(e.symbol):null})}clone(){return new ee((0,k.d9)({barrierType:this.barrierType,costs:this.costs,geometry:this.geometry,name:this.name,objectId:this.objectId,popupTemplate:this.popupTemplate,scaleFactor:this.scaleFactor,symbol:this.symbol}))}toPortalJSON(){return{geometry:(0,p.pC)(this.geometry)?this.geometry.toJSON():null,attributes:{__OBJECTID:(0,p.Wg)(this.objectId),BarrierType:(0,p.pC)(this.barrierType)?L.oi.toJSON(this.barrierType):null,Costs:(0,p.pC)(this.costs)?JSON.stringify(this.costs):null,Name:this.name,ScaleFactor:this.scaleFactor},symbol:(0,p.pC)(this.symbol)?this.symbol.toJSON():null,popupInfo:(0,p.pC)(this.popupTemplate)?this.popupTemplate.toJSON():null}}};te.fields=[{name:"__OBJECTID",alias:"OBJECTID",type:"esriFieldTypeOID",editable:!1,nullable:!1,domain:null},{name:"Name",alias:"Name",type:"esriFieldTypeString",length:255,editable:!0,nullable:!0,visible:!0},{name:"BarrierType",alias:"Barrier Type",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0,domain:{type:"codedValue",name:"esriNABarrierType",codedValues:[{name:"Restriction",code:0},{name:"Scaled Cost",code:1},{name:"Added Cost",code:2}]}},{name:"ScaleFactor",alias:"Scale Factor",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!0},{name:"Costs",alias:"Costs",type:"esriFieldTypeString",length:1048576,editable:!0,nullable:!0,visible:!1,domain:null}],te.popupInfo={title:"Line Barriers",fieldInfos:[{fieldName:"Name",label:"Name",isEditable:!0,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"BarrierType",label:"Barrier Type",isEditable:!0,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"ScaleFactor",isEditable:!0,tooltip:"",visible:!0,format:{places:3,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"Costs",label:"Costs",isEditable:!0,tooltip:"",visible:!1,stringFieldOption:"textbox"}],description:null,showAttachments:!1,mediaInfos:[]},(0,r._)([(0,m.Cb)({type:L.oi.apiValues,json:{read:{source:"attributes.BarrierType",reader:L.oi.read}}})],te.prototype,"barrierType",void 0),(0,r._)([(0,m.Cb)()],te.prototype,"costs",void 0),(0,r._)([(0,b.r)("costs",["attributes"])],te.prototype,"readCosts",null),(0,r._)([(0,m.Cb)({type:M.Z,json:{write:!0}})],te.prototype,"geometry",void 0),(0,r._)([(0,m.Cb)({json:{name:"attributes.Name",write:!0}})],te.prototype,"name",void 0),(0,r._)([(0,m.Cb)({json:{name:"attributes.ObjectID",write:!0}})],te.prototype,"objectId",void 0),(0,r._)([(0,m.Cb)({type:n.Z,json:{read:!1}})],te.prototype,"popupTemplate",void 0),(0,r._)([(0,m.Cb)({json:{read:!1}})],te.prototype,"scaleFactor",void 0),(0,r._)([(0,m.Cb)({types:O.LB,json:{read:!1}})],te.prototype,"symbol",void 0),te=ee=(0,r._)([(0,y.j)("esri.layers.support.PolylineBarrier")],te);const ie=te;var re;let se=re=class extends N.wq{constructor(e){super(e),this.analysisSettings=null,this.endTime=null,this.endTimeOffset=null,this.firstStopId=null,this.geometry=null,this.lastStopId=null,this.messages=null,this.name=null,this.objectId=null,this.popupTemplate=null,this.startTime=null,this.startTimeOffset=null,this.stopCount=null,this.symbol=null,this.totalCosts=null,this.totalDistance=null,this.totalDuration=null,this.totalLateMinutes=null,this.totalWaitMinutes=null,this.version=null}readEndTime(e,t){return(0,p.pC)(t.attributes.EndTimeUTC)?new Date(t.attributes.EndTimeUTC):null}readEndTimeOffset(e,t){return G(t.attributes.EndTime,t.attributes.EndTimeUTC)}readStartTime(e,t){return(0,p.pC)(t.attributes.StartTimeUTC)?new Date(t.attributes.StartTimeUTC):null}readStartTimeOffset(e,t){return G(t.attributes.StartTime,t.attributes.StartTimeUTC)}readCosts(e,t){return z(t.attributes,"Total_")}static fromPortalJSON(e){var t,i,r,s,o,a;return new re({analysisSettings:(0,p.pC)(e.attributes.AnalysisSettings)?JSON.parse(e.attributes.AnalysisSettings):null,endTime:(0,p.pC)(e.attributes.EndTime)?new Date(e.attributes.EndTime):null,endTimeOffset:null!=(t=e.attributes.EndUTCOffset)?t:null,geometry:M.Z.fromJSON(e.geometry),messages:(0,p.pC)(e.attributes.Messages)?JSON.parse(e.attributes.Messages):null,name:e.attributes.RouteName,objectId:e.attributes.__OBJECTID,popupTemplate:(0,p.pC)(e.popupInfo)?n.Z.fromJSON(e.popupInfo):null,startTime:(0,p.pC)(e.attributes.StartTime)?new Date(e.attributes.StartTime):null,startTimeOffset:null!=(i=e.attributes.StartUTCOffset)?i:null,symbol:(0,p.pC)(e.symbol)?(0,P.i)(e.symbol):null,totalCosts:(0,p.pC)(e.attributes.TotalCosts)?JSON.parse(e.attributes.TotalCosts):null,totalDistance:null!=(r=e.attributes.TotalMeters)?r:null,totalDuration:null!=(s=e.attributes.TotalMinutes)?s:null,totalLateMinutes:null!=(o=e.attributes.TotalLateMinutes)?o:null,totalWaitMinutes:null!=(a=e.attributes.TotalWaitMinutes)?a:null,version:e.attributes.Version})}toPortalJSON(){return{geometry:(0,p.pC)(this.geometry)?this.geometry.toJSON():null,attributes:{__OBJECTID:(0,p.Wg)(this.objectId),AnalysisSettings:(0,p.pC)(this.analysisSettings)?JSON.stringify(this.analysisSettings):null,EndTime:(0,p.pC)(this.endTime)?this.endTime.getTime():null,EndUTCOffset:this.endTimeOffset,Messages:(0,p.pC)(this.messages)?JSON.stringify(this.messages):null,RouteName:(0,p.Wg)(this.name),StartTime:(0,p.pC)(this.startTime)?this.startTime.getTime():null,StartUTCOffset:this.startTimeOffset,TotalCosts:(0,p.pC)(this.totalCosts)?JSON.stringify(this.totalCosts):null,TotalLateMinutes:this.totalLateMinutes,TotalMeters:this.totalDistance,TotalMinutes:this.totalDuration,TotalWaitMinutes:this.totalWaitMinutes,Version:(0,p.Wg)(this.version)},symbol:(0,p.pC)(this.symbol)?this.symbol.toJSON():null,popupInfo:(0,p.pC)(this.popupTemplate)?this.popupTemplate.toJSON():null}}};se.fields=[{name:"__OBJECTID",alias:"OBJECTID",type:"esriFieldTypeOID",editable:!1,nullable:!1,domain:null},{name:"RouteName",alias:"Route Name",type:"esriFieldTypeString",length:1024,editable:!0,nullable:!0,visible:!0,domain:null},{name:"TotalMinutes",alias:"Total Minutes",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!0},{name:"TotalMeters",alias:"Total Meters",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!0},{name:"TotalLateMinutes",alias:"Total Late Minutes",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!1},{name:"TotalWaitMinutes",alias:"Total Wait Minutes",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!1},{name:"TotalCosts",alias:"Total Costs",type:"esriFieldTypeString",length:1048576,editable:!0,nullable:!0,visible:!1,domain:null},{name:"StartTime",alias:"Start Time",type:"esriFieldTypeDate",length:36,editable:!0,nullable:!0,visible:!0},{name:"StartUTCOffset",alias:"Start Time: Offset from UTC in Minutes",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0},{name:"EndTime",alias:"End Time",type:"esriFieldTypeDate",length:36,editable:!0,nullable:!0,visible:!0},{name:"EndUTCOffset",alias:"End Time: Offset from UTC in Minutes",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0},{name:"Messages",alias:"Analysis Messages",type:"esriFieldTypeString",length:1048576,editable:!0,nullable:!0,visible:!1,domain:null},{name:"AnalysisSettings",alias:"Analysis Settings",type:"esriFieldTypeString",length:1048576,editable:!0,nullable:!0,visible:!1,domain:null},{name:"Version",alias:"Version",type:"esriFieldTypeString",length:16,editable:!0,nullable:!0,visible:!0,domain:null}],se.popupInfo={title:"Route Details",fieldInfos:[{fieldName:"RouteName",label:"Route Name",isEditable:!1,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"TotalMinutes",label:"Total Minutes",isEditable:!1,tooltip:"",visible:!0,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"TotalMeters",label:"Total Meters",isEditable:!1,tooltip:"",visible:!0,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"TotalLateMinutes",label:"Total Late Minutes",isEditable:!1,tooltip:"",visible:!1,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"TotalWaitMinutes",label:"Total Wait Minutes",isEditable:!1,tooltip:"",visible:!1,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"TotalCosts",label:"Total Costs",isEditable:!1,tooltip:"",visible:!1,stringFieldOption:"textbox"},{fieldName:"StartTime",label:"Start Time",isEditable:!1,tooltip:"",visible:!0,format:{dateFormat:"shortDateShortTime24"},stringFieldOption:"textbox"},{fieldName:"StartUTCOffset",label:"Start Time: Offset from UTC in Minutes",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"EndTime",label:"End Time",isEditable:!1,tooltip:"",visible:!0,format:{dateFormat:"shortDateShortTime24"},stringFieldOption:"textbox"},{fieldName:"EndUTCOffset",label:"End Time: Offset from UTC in Minutes",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"Messages",label:"Analysis Messages",isEditable:!1,tooltip:"",visible:!1,stringFieldOption:"textbox"},{fieldName:"SolverSettings",isEditable:!1,tooltip:"",visible:!1,stringFieldOption:"textbox"},{fieldName:"Version",label:"Version",isEditable:!1,tooltip:"",visible:!0,stringFieldOption:"textbox"}],description:null,showAttachments:!1,mediaInfos:[]},(0,r._)([(0,m.Cb)({json:{read:!1}})],se.prototype,"analysisSettings",void 0),(0,r._)([(0,m.Cb)()],se.prototype,"endTime",void 0),(0,r._)([(0,b.r)("endTime",["attributes.EndTimeUTC"])],se.prototype,"readEndTime",null),(0,r._)([(0,m.Cb)()],se.prototype,"endTimeOffset",void 0),(0,r._)([(0,b.r)("endTimeOffset",["attributes.EndTime","attributes.EndTimeUTC"])],se.prototype,"readEndTimeOffset",null),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.FirstStopID"}}})],se.prototype,"firstStopId",void 0),(0,r._)([(0,m.Cb)({type:M.Z})],se.prototype,"geometry",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.LastStopID"}}})],se.prototype,"lastStopId",void 0),(0,r._)([(0,m.Cb)({json:{read:!1}})],se.prototype,"messages",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.Name"}}})],se.prototype,"name",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.ObjectID"}}})],se.prototype,"objectId",void 0),(0,r._)([(0,m.Cb)({type:n.Z,json:{read:!1}})],se.prototype,"popupTemplate",void 0),(0,r._)([(0,m.Cb)()],se.prototype,"startTime",void 0),(0,r._)([(0,b.r)("startTime",["attributes.StartTimeUTC"])],se.prototype,"readStartTime",null),(0,r._)([(0,m.Cb)()],se.prototype,"startTimeOffset",void 0),(0,r._)([(0,b.r)("startTimeOffset",["attributes.StartTime","attributes.StartTimeUTC"])],se.prototype,"readStartTimeOffset",null),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.StopCount"}}})],se.prototype,"stopCount",void 0),(0,r._)([(0,m.Cb)({types:O.LB,json:{read:!1}})],se.prototype,"symbol",void 0),(0,r._)([(0,m.Cb)()],se.prototype,"totalCosts",void 0),(0,r._)([(0,b.r)("totalCosts",["attributes"])],se.prototype,"readCosts",null),(0,r._)([(0,m.Cb)({json:{read:!1}})],se.prototype,"totalDistance",void 0),(0,r._)([(0,m.Cb)({json:{read:!1}})],se.prototype,"totalDuration",void 0),(0,r._)([(0,m.Cb)({json:{read:!1}})],se.prototype,"totalLateMinutes",void 0),(0,r._)([(0,m.Cb)({json:{read:!1}})],se.prototype,"totalWaitMinutes",void 0),(0,r._)([(0,m.Cb)({json:{read:!1}})],se.prototype,"version",void 0),se=re=(0,r._)([(0,y.j)("esri.layers.support.RouteInfo")],se);const oe=se;var ne=i(36030),ae=i(49827);const le={type:String,json:{read:{source:"token"},write:{target:"token"}}};var ue,pe=i(82971);let de=ue=class extends N.wq{constructor(e){super(e),this.accumulateAttributes=null,this.apiKey=null,this.attributeParameterValues=null,this.directionsLanguage=null,this.directionsLengthUnits=null,this.directionsOutputType=null,this.directionsStyleName=null,this.directionsTimeAttribute=null,this.findBestSequence=null,this.ignoreInvalidLocations=null,this.impedanceAttribute=null,this.outputGeometryPrecision=null,this.outputGeometryPrecisionUnits=null,this.outputLines="true-shape",this.outSpatialReference=null,this.pointBarriers=null,this.polygonBarriers=null,this.polylineBarriers=null,this.preserveFirstStop=null,this.preserveLastStop=null,this.restrictionAttributes=null,this.restrictUTurns=null,this.returnBarriers=!1,this.returnDirections=!1,this.returnPolygonBarriers=!1,this.returnPolylineBarriers=!1,this.returnRoutes=!0,this.returnStops=!1,this.returnZ=!0,this.startTime=null,this.startTimeIsUTC=!0,this.stops=null,this.travelMode=null,this.useHierarchy=null,this.useTimeWindows=null}static from(e){return(0,h.TJ)(ue,e)}writePointBarriers(e,t,i){this._writeNetworkFeatures(e,t,i)}writePolygonBarrier(e,t,i){this._writeNetworkFeatures(e,t,i)}writePolylineBarrier(e,t,i){this._writeNetworkFeatures(e,t,i)}readStartTime(e,t){return null!=t.startTime?new Date(t.startTime):null}writeStartTime(e,t){t.startTime=e?e.getTime():null}writeStops(e,t,i){this._writeNetworkFeatures(e,t,i)}clone(){return new ue((0,k.d9)({accumulateAttributes:this.accumulateAttributes,apiKey:this.apiKey,attributeParameterValues:this.attributeParameterValues,directionsLanguage:this.directionsLanguage,directionsLengthUnits:this.directionsLengthUnits,directionsOutputType:this.directionsOutputType,directionsStyleName:this.directionsStyleName,directionsTimeAttribute:this.directionsTimeAttribute,findBestSequence:this.findBestSequence,ignoreInvalidLocations:this.ignoreInvalidLocations,impedanceAttribute:this.impedanceAttribute,outputGeometryPrecision:this.outputGeometryPrecision,outputGeometryPrecisionUnits:this.outputGeometryPrecisionUnits,outputLines:this.outputLines,outSpatialReference:this.outSpatialReference,pointBarriers:this.pointBarriers,polygonBarriers:this.polygonBarriers,polylineBarriers:this.polylineBarriers,preserveFirstStop:this.preserveFirstStop,preserveLastStop:this.preserveLastStop,restrictionAttributes:this.restrictionAttributes,restrictUTurns:this.restrictUTurns,returnBarriers:this.returnBarriers,returnDirections:this.returnDirections,returnPolygonBarriers:this.returnPolygonBarriers,returnPolylineBarriers:this.returnPolylineBarriers,returnRoutes:this.returnRoutes,returnStops:this.returnStops,returnZ:this.returnZ,startTime:this.startTime,startTimeIsUTC:this.startTimeIsUTC,stops:this.stops,travelMode:this.travelMode,useHierarchy:this.useHierarchy,useTimeWindows:this.useTimeWindows}))}_writeNetworkFeatures(e,t,i){t[i]=l.Z.isCollection(e)?{features:e.toArray().map((e=>e.toJSON()))}:e.toJSON()}};(0,r._)([(0,m.Cb)({type:[String],json:{write:!0}})],de.prototype,"accumulateAttributes",void 0),(0,r._)([(0,m.Cb)(le)],de.prototype,"apiKey",void 0),(0,r._)([(0,m.Cb)({json:{write:!0}})],de.prototype,"attributeParameterValues",void 0),(0,r._)([(0,m.Cb)({type:String,json:{write:!0}})],de.prototype,"directionsLanguage",void 0),(0,r._)([(0,ne.J)(L.GX)],de.prototype,"directionsLengthUnits",void 0),(0,r._)([(0,ne.J)(L.$7)],de.prototype,"directionsOutputType",void 0),(0,r._)([(0,m.Cb)({type:String,json:{write:!0}})],de.prototype,"directionsStyleName",void 0),(0,r._)([(0,m.Cb)({type:String,json:{write:!0}})],de.prototype,"directionsTimeAttribute",void 0),(0,r._)([(0,m.Cb)({json:{write:!0}})],de.prototype,"findBestSequence",void 0),(0,r._)([(0,m.Cb)({json:{write:!0}})],de.prototype,"ignoreInvalidLocations",void 0),(0,r._)([(0,m.Cb)({type:String,json:{read:{source:"impedanceAttributeName"},write:{target:"impedanceAttributeName"}}})],de.prototype,"impedanceAttribute",void 0),(0,r._)([(0,m.Cb)({type:Number,json:{write:!0}})],de.prototype,"outputGeometryPrecision",void 0),(0,r._)([(0,ne.J)(L.q$)],de.prototype,"outputGeometryPrecisionUnits",void 0),(0,r._)([(0,ne.J)(L.no)],de.prototype,"outputLines",void 0),(0,r._)([(0,m.Cb)({type:pe.Z,json:{write:!0}})],de.prototype,"outSpatialReference",void 0),(0,r._)([(0,m.Cb)({json:{write:!0}})],de.prototype,"pointBarriers",void 0),(0,r._)([(0,f.c)("pointBarriers")],de.prototype,"writePointBarriers",null),(0,r._)([(0,m.Cb)({json:{write:!0}})],de.prototype,"polygonBarriers",void 0),(0,r._)([(0,f.c)("polygonBarriers")],de.prototype,"writePolygonBarrier",null),(0,r._)([(0,m.Cb)({json:{write:!0}})],de.prototype,"polylineBarriers",void 0),(0,r._)([(0,f.c)("polylineBarriers")],de.prototype,"writePolylineBarrier",null),(0,r._)([(0,m.Cb)({json:{write:!0}})],de.prototype,"preserveFirstStop",void 0),(0,r._)([(0,m.Cb)({json:{write:!0}})],de.prototype,"preserveLastStop",void 0),(0,r._)([(0,m.Cb)({type:[String],json:{write:!0}})],de.prototype,"restrictionAttributes",void 0),(0,r._)([(0,ne.J)(L.ip)],de.prototype,"restrictUTurns",void 0),(0,r._)([(0,m.Cb)({type:Boolean,json:{write:!0}})],de.prototype,"returnBarriers",void 0),(0,r._)([(0,m.Cb)({type:Boolean,json:{write:!0}})],de.prototype,"returnDirections",void 0),(0,r._)([(0,m.Cb)({type:Boolean,json:{write:!0}})],de.prototype,"returnPolygonBarriers",void 0),(0,r._)([(0,m.Cb)({type:Boolean,json:{write:!0}})],de.prototype,"returnPolylineBarriers",void 0),(0,r._)([(0,m.Cb)({type:Boolean,json:{write:!0}})],de.prototype,"returnRoutes",void 0),(0,r._)([(0,m.Cb)({type:Boolean,json:{write:!0}})],de.prototype,"returnStops",void 0),(0,r._)([(0,m.Cb)({type:Boolean,json:{write:!0}})],de.prototype,"returnZ",void 0),(0,r._)([(0,m.Cb)({type:Date,json:{type:Number,write:!0}})],de.prototype,"startTime",void 0),(0,r._)([(0,b.r)("startTime")],de.prototype,"readStartTime",null),(0,r._)([(0,f.c)("startTime")],de.prototype,"writeStartTime",null),(0,r._)([(0,m.Cb)({type:Boolean,json:{write:!0}})],de.prototype,"startTimeIsUTC",void 0),(0,r._)([(0,m.Cb)({json:{write:!0}})],de.prototype,"stops",void 0),(0,r._)([(0,f.c)("stops")],de.prototype,"writeStops",null),(0,r._)([(0,m.Cb)({type:ae.Z,json:{write:!0}})],de.prototype,"travelMode",void 0),(0,r._)([(0,m.Cb)({type:Boolean,json:{write:!0}})],de.prototype,"useHierarchy",void 0),(0,r._)([(0,m.Cb)({type:Boolean,json:{write:!0}})],de.prototype,"useTimeWindows",void 0),de=ue=(0,r._)([(0,y.j)("esri.rest.support.RouteParameters")],de);const ce=de;var me;let he=me=class extends N.wq{constructor(e){super(e),this.arriveCurbApproach=null,this.arriveTime=null,this.arriveTimeOffset=null,this.bearing=null,this.bearingTol=null,this.cumulativeCosts=null,this.cumulativeDistance=null,this.cumulativeDuration=null,this.curbApproach=null,this.departCurbApproach=null,this.departTime=null,this.departTimeOffset=null,this.distanceToNetworkInMeters=null,this.geometry=null,this.lateMinutes=null,this.locationType=null,this.name=null,this.navLatency=null,this.objectId=null,this.popupTemplate=null,this.posAlong=null,this.routeName=null,this.serviceCosts=null,this.serviceDistance=null,this.serviceTime=null,this.sequence=null,this.sideOfEdge=null,this.snapX=null,this.snapY=null,this.snapZ=null,this.sourceId=null,this.sourceOid=null,this.status=null,this.symbol=null,this.timeWindowEnd=null,this.timeWindowEndOffset=null,this.timeWindowStart=null,this.timeWindowStartOffset=null,this.waitTime=null}readArriveTimeOffset(e,t){return G(t.attributes.ArriveTime,t.attributes.ArriveTimeUTC)}readCumulativeCosts(e,t){return z(t.attributes,"Cumul_")}readDepartTimeOffset(e,t){return G(t.attributes.DepartTime,t.attributes.DepartTimeUTC)}readServiceCosts(e,t){return z(t.attributes,"Attr_")}writeServiceCosts(e,t){if(!(0,p.Wi)(e)){t.attributes||(t.attributes={});for(const i in e)t.attributes[`Attr_${i}`]=e[i]}}writeTimeWindowEnd(e,t){(0,p.Wi)(e)||(t.attributes||(t.attributes={}),t.attributes.TimeWindowEnd=e.getTime())}writeTimeWindowStart(e,t){(0,p.Wi)(e)||(t.attributes||(t.attributes={}),t.attributes.TimeWindowStart=e.getTime())}static fromPortalJSON(e){var t,i,r,s,o,a,l,u,d,c;return new me({arriveCurbApproach:(0,p.pC)(e.attributes.ArrivalCurbApproach)?L.W7.fromJSON(e.attributes.ArrivalCurbApproach):null,arriveTime:(0,p.pC)(e.attributes.ArrivalTime)?new Date(e.attributes.ArrivalTime):null,arriveTimeOffset:e.attributes.ArrivalUTCOffset,cumulativeCosts:(0,p.pC)(e.attributes.CumulativeCosts)?JSON.parse(e.attributes.CumulativeCosts):null,cumulativeDistance:null!=(t=e.attributes.CumulativeMeters)?t:null,cumulativeDuration:null!=(i=e.attributes.CumulativeMinutes)?i:null,curbApproach:(0,p.pC)(e.attributes.CurbApproach)?L.W7.fromJSON(e.attributes.CurbApproach):null,departCurbApproach:(0,p.pC)(e.attributes.DepartureCurbApproach)?L.W7.fromJSON(e.attributes.DepartureCurbApproach):null,departTime:(0,p.pC)(e.attributes.DepartureTime)?new Date(e.attributes.DepartureTime):null,departTimeOffset:null!=(r=e.attributes.DepartureUTCOffset)?r:null,geometry:Z.Z.fromJSON(e.geometry),lateMinutes:null!=(s=e.attributes.LateMinutes)?s:null,locationType:(0,p.pC)(e.attributes.LocationType)?L.yP.fromJSON(e.attributes.LocationType):null,name:e.attributes.Name,objectId:e.attributes.__OBJECTID,popupTemplate:(0,p.pC)(e.popupInfo)?n.Z.fromJSON(e.popupInfo):null,routeName:e.attributes.RouteName,sequence:null!=(o=e.attributes.Sequence)?o:null,serviceCosts:(0,p.pC)(e.attributes.ServiceCosts)?JSON.parse(e.attributes.ServiceCosts):null,serviceDistance:null!=(a=e.attributes.ServiceMeters)?a:null,serviceTime:null!=(l=e.attributes.ServiceMinutes)?l:null,status:(0,p.pC)(e.attributes.Status)?L.SS.fromJSON(e.attributes.Status):null,symbol:(0,p.pC)(e.symbol)?(0,P.i)(e.symbol):null,timeWindowEnd:(0,p.pC)(e.attributes.TimeWindowEnd)?new Date(e.attributes.TimeWindowEnd):null,timeWindowEndOffset:null!=(u=e.attributes.TimeWindowEndUTCOffset)?u:null,timeWindowStart:(0,p.pC)(e.attributes.TimeWindowStart)?new Date(e.attributes.TimeWindowStart):null,timeWindowStartOffset:null!=(d=e.attributes.TimeWindowStartUTCOffset)?d:null,waitTime:null!=(c=e.attributes.WaitMinutes)?c:null})}clone(){return new me((0,k.d9)({arriveCurbApproach:this.arriveCurbApproach,arriveTime:this.arriveTime,arriveTimeOffset:this.arriveTimeOffset,bearing:this.bearing,bearingTol:this.bearingTol,cumulativeCosts:this.cumulativeCosts,cumulativeDistance:this.cumulativeDistance,cumulativeTime:this.cumulativeDuration,curbApproach:this.curbApproach,departCurbApproach:this.departCurbApproach,departTime:this.departTime,departTimeOffset:this.departTimeOffset,distanceToNetworkInMeters:this.distanceToNetworkInMeters,geometry:this.geometry,lateMinutes:this.lateMinutes,locationType:this.locationType,name:this.name,navLatency:this.navLatency,objectId:this.objectId,popupTemplate:this.popupTemplate,posAlong:this.posAlong,routeName:this.routeName,serviceCosts:this.serviceCosts,serviceDistance:this.serviceDistance,serviceTime:this.serviceTime,sequence:this.sequence,sideOfEdge:this.sideOfEdge,snapX:this.snapX,snapY:this.snapY,snapZ:this.snapZ,sourceId:this.sourceId,sourceOid:this.sourceOid,status:this.status,symbol:this.symbol,timeWindowEnd:this.timeWindowEnd,timeWindowEndOffset:this.timeWindowEndOffset,timeWindowStart:this.timeWindowStart,timeWindowStartOffset:this.timeWindowStartOffset,waitTime:this.waitTime}))}toPortalJSON(){var e,t;return{geometry:(0,p.pC)(this.geometry)?this.geometry.toJSON():null,attributes:{__OBJECTID:(0,p.Wg)(this.objectId),ArrivalCurbApproach:(0,p.pC)(this.arriveCurbApproach)?L.W7.toJSON(this.arriveCurbApproach):null,ArrivalTime:(0,p.pC)(this.arriveTime)?this.arriveTime.getTime():null,ArrivalUTCOffset:this.arriveTimeOffset,CumulativeCosts:(0,p.pC)(this.cumulativeCosts)?JSON.stringify(this.cumulativeCosts):null,CumulativeMeters:this.cumulativeDistance,CumulativeMinutes:this.cumulativeDuration,CurbApproach:(0,p.pC)(this.curbApproach)?L.W7.toJSON(this.curbApproach):null,DepartureCurbApproach:(0,p.pC)(this.departCurbApproach)?L.W7.toJSON(this.departCurbApproach):null,DepartureTime:(0,p.pC)(this.departTime)?this.departTime.getTime():null,DepartureUTCOffset:this.departTimeOffset,LateMinutes:this.lateMinutes,LocationType:(0,p.pC)(this.locationType)?L.yP.toJSON(this.locationType):null,Name:(0,p.Wg)(this.name),RouteName:(0,p.Wg)(this.routeName),Sequence:this.sequence,ServiceCosts:(0,p.pC)(this.serviceCosts)?JSON.stringify(this.serviceCosts):null,ServiceMeters:this.serviceDistance,ServiceMinutes:this.serviceTime,Status:(0,p.pC)(this.status)?L.SS.toJSON(this.status):null,TimeWindowEnd:(0,p.pC)(this.timeWindowEnd)?this.timeWindowEnd.getTime():null,TimeWindowEndUTCOffset:null!=(e=this.timeWindowEndOffset)?e:this.arriveTimeOffset,TimeWindowStart:(0,p.pC)(this.timeWindowStart)?this.timeWindowStart.getTime():null,TimeWindowStartUTCOffset:null!=(t=this.timeWindowEndOffset)?t:this.arriveTimeOffset,WaitMinutes:this.waitTime},symbol:(0,p.pC)(this.symbol)?this.symbol.toJSON():null,popupInfo:(0,p.pC)(this.popupTemplate)?this.popupTemplate.toJSON():null}}};he.fields=[{name:"__OBJECTID",alias:"OBJECTID",type:"esriFieldTypeOID",editable:!1,nullable:!1,domain:null},{name:"ArrivalCurbApproach",alias:"Arrival Curb Approach",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0,domain:{type:"codedValue",name:"esriNACurbApproachType",codedValues:[{name:"Either side",code:0},{name:"From the right",code:1},{name:"From the left",code:2},{name:"Depart in the same direction",code:3}]}},{name:"ArrivalTime",alias:"Arrival Time",type:"esriFieldTypeDate",length:36,editable:!0,nullable:!0,visible:!0},{name:"ArrivalUTCOffset",alias:"Arrival Time: Offset from UTC in Minutes",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0},{name:"CumulativeCosts",alias:"Cumulative Costs",type:"esriFieldTypeString",length:1048576,editable:!0,nullable:!0,visible:!1,domain:null},{name:"CumulativeMeters",alias:"Cumulative Meters",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!0},{name:"CumulativeMinutes",alias:"Cumulative Minutes",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!0},{name:"CurbApproach",alias:"Curb Approach",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!1,domain:{type:"codedValue",name:"esriNACurbApproachType",codedValues:[{name:"Either side",code:0},{name:"From the right",code:1},{name:"From the left",code:2},{name:"Depart in the same direction",code:3}]}},{name:"DepartureCurbApproach",alias:"Departure Curb Approach",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0,domain:{type:"codedValue",name:"esriNACurbApproachType",codedValues:[{name:"Either side",code:0},{name:"From the right",code:1},{name:"From the left",code:2},{name:"Depart in the same direction",code:3}]}},{name:"DepartureTime",alias:"Departure Time",type:"esriFieldTypeDate",length:36,editable:!0,nullable:!0,visible:!0},{name:"DepartureUTCOffset",alias:"Departure Time: Offset from UTC in Minutes",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0},{name:"LateMinutes",alias:"Minutes Late",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!1},{name:"LocationType",alias:"Location Type",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0,domain:{type:"codedValue",name:"esriNALocationType",codedValues:[{name:"Stop",code:0},{name:"Waypoint",code:1}]}},{name:"Name",alias:"Name",type:"esriFieldTypeString",length:255,editable:!0,nullable:!0,visible:!0},{name:"RouteName",alias:"Route Name",type:"esriFieldTypeString",length:255,editable:!0,nullable:!0,visible:!0},{name:"Sequence",alias:"Sequence",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0},{name:"ServiceCosts",alias:"Service Costs",type:"esriFieldTypeString",length:1048576,editable:!0,nullable:!0,visible:!1,domain:null},{name:"ServiceMeters",alias:"Service Meters",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!1},{name:"ServiceMinutes",alias:"Service Minutes",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!1},{name:"Status",alias:"Status",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0,domain:{type:"codedValue",name:"esriNAObjectStatus",codedValues:[{name:"OK",code:0},{name:"Not Located on Network",code:1},{name:"Network Unbuilt",code:2},{name:"Prohibited Street",code:3},{name:"Invalid Field Values",code:4},{name:"Cannot Reach",code:5},{name:"Time Window Violation",code:6}]}},{name:"TimeWindowEnd",alias:"Time Window End",type:"esriFieldTypeDate",length:36,editable:!0,nullable:!0,visible:!1},{name:"TimeWindowEndUTCOffset",alias:"Time Window End: Offset from UTC in Minutes",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0},{name:"TimeWindowStart",alias:"Time Window Start",type:"esriFieldTypeDate",length:36,editable:!0,nullable:!0,visible:!1},{name:"TimeWindowStartUTCOffset",alias:"Time Window Start: Offset from UTC in Minutes",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0},{name:"WaitMinutes",alias:"Minutes Early",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!1}],he.popupInfo={title:"{Name}",fieldInfos:[{fieldName:"Name",label:"Name",isEditable:!0,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"RouteName",label:"Route Name",isEditable:!0,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"Sequence",label:"Sequence",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"ArrivalTime",label:"Arrival Time",isEditable:!0,tooltip:"",visible:!0,format:{dateFormat:"shortDateShortTime24"},stringFieldOption:"textbox"},{fieldName:"ArrivalUTCOffset",label:"Arrival Time: Offset from UTC in Minutes",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"DepartureTime",label:"Departure Time",isEditable:!0,tooltip:"",visible:!0,format:{dateFormat:"shortDateShortTime24"},stringFieldOption:"textbox"},{fieldName:"DepartureUTCOffset",label:"Departure Time: Offset from UTC in Minutes",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"CurbApproach",label:"Curb Approach",isEditable:!0,tooltip:"",visible:!1,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"ArrivalCurbApproach",label:"Arrival Curb Approach",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"DepartureCurbApproach",label:"Departure Curb Approach",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"Status",label:"Status",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"LocationType",label:"Location Type",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"TimeWindowStart",label:"Time Window Start",isEditable:!0,tooltip:"",visible:!1,format:{dateFormat:"shortDateShortTime24"},stringFieldOption:"textbox"},{fieldName:"TimeWindowStartUTCOffset",label:"Time Window Start: Offset from UTC in Minutes",isEditable:!1,tooltip:"",visible:!1,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"TimeWindowEnd",label:"Time Window End",isEditable:!0,tooltip:"",visible:!1,format:{dateFormat:"shortDateShortTime24"},stringFieldOption:"textbox"},{fieldName:"TimeWindowEndUTCOffset",label:"Time Window End: Offset from UTC in Minutes",isEditable:!1,tooltip:"",visible:!1,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"ServiceMinutes",label:"Service Minutes",isEditable:!0,tooltip:"",visible:!1,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"ServiceMeters",label:"Service Meters",isEditable:!0,tooltip:"",visible:!1,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"ServiceCosts",label:"Service Costs",isEditable:!0,tooltip:"",visible:!1,stringFieldOption:"textbox"},{fieldName:"CumulativeMinutes",label:"Cumulative Minutes",isEditable:!1,tooltip:"",visible:!0,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"CumulativeMeters",label:"Cumulative Meters",isEditable:!1,tooltip:"",visible:!0,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"CumulativeCosts",label:"Cumulative Costs",isEditable:!0,tooltip:"",visible:!1,stringFieldOption:"textbox"},{fieldName:"LateMinutes",label:"Minutes Late",isEditable:!1,tooltip:"",visible:!1,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"WaitMinutes",label:"Minutes Early",isEditable:!1,tooltip:"",visible:!1,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"}],description:null,showAttachments:!1,mediaInfos:[]},(0,r._)([(0,m.Cb)({type:L.W7.apiValues,json:{read:{source:"attributes.ArrivalCurbApproach",reader:L.W7.read}}})],he.prototype,"arriveCurbApproach",void 0),(0,r._)([(0,m.Cb)({type:Date,json:{read:{source:"attributes.ArriveTimeUTC"}}})],he.prototype,"arriveTime",void 0),(0,r._)([(0,m.Cb)()],he.prototype,"arriveTimeOffset",void 0),(0,r._)([(0,b.r)("arriveTimeOffset",["attributes.ArriveTime","attributes.ArriveTimeUTC"])],he.prototype,"readArriveTimeOffset",null),(0,r._)([(0,m.Cb)({json:{name:"attributes.Bearing",read:!1,write:!0}})],he.prototype,"bearing",void 0),(0,r._)([(0,m.Cb)({json:{name:"attributes.BearingTol",read:!1,write:!0}})],he.prototype,"bearingTol",void 0),(0,r._)([(0,m.Cb)()],he.prototype,"cumulativeCosts",void 0),(0,r._)([(0,b.r)("cumulativeCosts",["attributes"])],he.prototype,"readCumulativeCosts",null),(0,r._)([(0,m.Cb)({json:{read:!1}})],he.prototype,"cumulativeDistance",void 0),(0,r._)([(0,m.Cb)({json:{read:!1}})],he.prototype,"cumulativeDuration",void 0),(0,r._)([(0,m.Cb)({type:L.W7.apiValues,json:{name:"attributes.CurbApproach",read:{reader:L.W7.read},write:{writer:L.W7.write}}})],he.prototype,"curbApproach",void 0),(0,r._)([(0,m.Cb)({type:L.W7.apiValues,json:{read:{source:"attributes.DepartCurbApproach",reader:L.W7.read}}})],he.prototype,"departCurbApproach",void 0),(0,r._)([(0,m.Cb)({type:Date,json:{read:{source:"attributes.DepartTimeUTC"}}})],he.prototype,"departTime",void 0),(0,r._)([(0,m.Cb)()],he.prototype,"departTimeOffset",void 0),(0,r._)([(0,b.r)("departTimeOffset",["attributes.DepartTime","attributes.DepartTimeUTC"])],he.prototype,"readDepartTimeOffset",null),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.DistanceToNetworkInMeters"}}})],he.prototype,"distanceToNetworkInMeters",void 0),(0,r._)([(0,m.Cb)({type:Z.Z,json:{write:!0}})],he.prototype,"geometry",void 0),(0,r._)([(0,m.Cb)({json:{name:"attributes.LateMinutes",read:!1}})],he.prototype,"lateMinutes",void 0),(0,r._)([(0,m.Cb)({type:L.yP.apiValues,json:{name:"attributes.LocationType",read:{reader:L.yP.read},write:{writer:L.yP.write}}})],he.prototype,"locationType",void 0),(0,r._)([(0,m.Cb)({json:{name:"attributes.Name",write:!0}})],he.prototype,"name",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.NavLatency"}}})],he.prototype,"navLatency",void 0),(0,r._)([(0,m.Cb)({json:{name:"attributes.ObjectID",write:!0}})],he.prototype,"objectId",void 0),(0,r._)([(0,m.Cb)({type:n.Z,json:{read:!1}})],he.prototype,"popupTemplate",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.PosAlong"}}})],he.prototype,"posAlong",void 0),(0,r._)([(0,m.Cb)({json:{name:"attributes.RouteName",write:!0}})],he.prototype,"routeName",void 0),(0,r._)([(0,m.Cb)()],he.prototype,"serviceCosts",void 0),(0,r._)([(0,b.r)("serviceCosts",["attributes"])],he.prototype,"readServiceCosts",null),(0,r._)([(0,f.c)("serviceCosts")],he.prototype,"writeServiceCosts",null),(0,r._)([(0,m.Cb)({json:{read:!1}})],he.prototype,"serviceDistance",void 0),(0,r._)([(0,m.Cb)({json:{read:!1}})],he.prototype,"serviceTime",void 0),(0,r._)([(0,m.Cb)({json:{name:"attributes.Sequence",write:!0}})],he.prototype,"sequence",void 0),(0,r._)([(0,m.Cb)({type:L.BW.apiValues,json:{read:{source:"attributes.SideOfEdge",reader:L.BW.read}}})],he.prototype,"sideOfEdge",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.SnapX"}}})],he.prototype,"snapX",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.SnapY"}}})],he.prototype,"snapY",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.SnapZ"}}})],he.prototype,"snapZ",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.SourceID"}}})],he.prototype,"sourceId",void 0),(0,r._)([(0,m.Cb)({json:{read:{source:"attributes.SourceOID"}}})],he.prototype,"sourceOid",void 0),(0,r._)([(0,m.Cb)({type:L.SS.apiValues,json:{read:{source:"attributes.Status",reader:L.SS.read}}})],he.prototype,"status",void 0),(0,r._)([(0,m.Cb)({types:O.LB,json:{read:!1}})],he.prototype,"symbol",void 0),(0,r._)([(0,m.Cb)({type:Date,json:{name:"attributes.TimeWindowEnd"}})],he.prototype,"timeWindowEnd",void 0),(0,r._)([(0,f.c)("timeWindowEnd")],he.prototype,"writeTimeWindowEnd",null),(0,r._)([(0,m.Cb)({json:{read:!1}})],he.prototype,"timeWindowEndOffset",void 0),(0,r._)([(0,m.Cb)({type:Date,json:{name:"attributes.TimeWindowStart"}})],he.prototype,"timeWindowStart",void 0),(0,r._)([(0,f.c)("timeWindowStart")],he.prototype,"writeTimeWindowStart",null),(0,r._)([(0,m.Cb)({json:{read:!1}})],he.prototype,"timeWindowStartOffset",void 0),(0,r._)([(0,m.Cb)({json:{read:!1}})],he.prototype,"waitTime",void 0),he=me=(0,r._)([(0,y.j)("esri.layers.support.Stop")],he);const be=he;var ye=i(65091);function fe(e){return e.length?e:null}function ge(e){return"layers"in e}const ve=l.Z.ofType(V),Ce=l.Z.ofType(q),Te=l.Z.ofType(H),Se=l.Z.ofType(Q),_e=l.Z.ofType(ie),we=l.Z.ofType(be);let Oe=class extends((0,T.h)((0,w.M)((0,S.q)((0,_.I)((0,d.R)(C.Z)))))){constructor(...e){super(...e),this._featureCollection=null,this._type="Feature Collection",this.defaultSymbols=new B,this.directionLines=null,this.directionPoints=null,this.featureCollectionType="route",this.legendEnabled=!1,this.maxScale=0,this.minScale=0,this.pointBarriers=new Te,this.polygonBarriers=new Se,this.polylineBarriers=new _e,this.routeInfo=null,this.spatialReference=pe.Z.WGS84,this.stops=new we,this.title="Route",this.type="route"}writeFeatureCollectionWebmap(e,t){const i=[this._writePolygonBarriers(),this._writePolylineBarriers(),this._writePointBarriers(),this._writeRouteInfo(),this._writeDirectionLines(),this._writeDirectionPoints(),this._writeStops()].filter((e=>!!e)),r=i.map(((e,t)=>t));(0,c.RB)("featureCollection.layers",i,t),t.opacity=this.opacity,t.visibility=this.visible,t.visibleLayers=r}readDirectionLines(e,t){return this._getNetworkFeatures(t,"DirectionLines",(e=>V.fromPortalJSON(e)))}readDirectionPoints(e,t){return this._getNetworkFeatures(t,"DirectionPoints",(e=>q.fromPortalJSON(e)))}get fullExtent(){if((0,p.pC)(this.routeInfo)&&(0,p.pC)(this.routeInfo.geometry))return this.routeInfo.geometry.extent;if(this.stops.length>1){const{spatialReference:e}=this.stops[0],t=new ye.Z({spatialReference:e}),i=this.stops.toArray().map((e=>e.geometry));for(const e of i)(0,p.pC)(e)&&t.addPoint(e);return t.extent}return new g.Z({xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:pe.Z.WGS84})}readMaxScale(e,t){var i;const r=(ge(t)?t.layers:t.featureCollection.layers).find((e=>(0,p.pC)(e.layerDefinition.maxScale)));return null!=(i=null==r?void 0:r.layerDefinition.maxScale)?i:0}readMinScale(e,t){var i;const r=(ge(t)?t.layers:t.featureCollection.layers).find((e=>(0,p.pC)(e.layerDefinition.minScale)));return null!=(i=null==r?void 0:r.layerDefinition.minScale)?i:0}readPointBarriers(e,t){return this._getNetworkFeatures(t,"Barriers",(e=>H.fromPortalJSON(e)))}readPolygonBarriers(e,t){return this._getNetworkFeatures(t,"PolygonBarriers",(e=>Q.fromPortalJSON(e)))}readPolylineBarriers(e,t){return this._getNetworkFeatures(t,"PolylineBarriers",(e=>ie.fromPortalJSON(e)))}readRouteInfo(e,t){const i=this._getNetworkFeatures(t,"RouteInfo",(e=>oe.fromPortalJSON(e)));return i.length>0?i.getItemAt(0):null}get routeServiceUrl(){var e,t,i,r;return null!=(e=this.portalItem)&&e.id&&null!=(t=null==(i=this.portalItem.portal.helperServices)||null==(r=i.route)?void 0:r.url)?t:s.Z.routeServiceUrl}readSpatialReference(e,t){var i,r;const s=ge(t)?t.layers:t.featureCollection.layers;if(!s.length)return pe.Z.WGS84;const{layerDefinition:o}=s[0],n=null!=(i=null!=(r=o.spatialReference)?r:o.extent.spatialReference)?i:v.Zn;return pe.Z.fromJSON(n)}readStops(e,t){return this._getNetworkFeatures(t,"Stops",(e=>be.fromPortalJSON(e)),(e=>this._setStopSymbol(e)))}load(e){return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Feature Collection"]},e)),Promise.resolve(this)}async solve(e,t){var i,r,s,o;const n=null!=(i=null==e?void 0:e.stops)?i:this.stops,a=null!=(r=null==e?void 0:e.pointBarriers)?r:fe(this.pointBarriers),d=null!=(s=null==e?void 0:e.polylineBarriers)?s:fe(this.polylineBarriers),c=null!=(o=null==e?void 0:e.polygonBarriers)?o:fe(this.polygonBarriers);if((0,p.Wi)(n))throw new u.Z("routelayer:undefined-stops","the route layer must have stops defined in the route parameters.");if((function(e){return"esri.rest.support.FeatureSet"===e.declaredClass}(n)||function(e){return"esri.rest.support.NetworkFeatureSet"===e.declaredClass}(n))&&n.features.length<2||l.Z.isCollection(n)&&n.length<2)throw new u.Z("routelayer:insufficent-stops","the route layer must have two or more stops to solve a route.");const m={startTime:new Date},h={directionsOutputType:"featuresets",ignoreInvalidLocations:!0,pointBarriers:a,polylineBarriers:d,polygonBarriers:c,preserveFirstStop:!0,preserveLastStop:!0,returnBarriers:!!a,returnDirections:!0,returnPolygonBarriers:!!c,returnPolylineBarriers:!!d,returnRoutes:!0,returnStops:!0,stops:n},b=e?ce.from(e):new ce;for(const e in m)null==b[e]&&(b[e]=m[e]);return b.set(h),(0,j.F)(this.routeServiceUrl,b,t)}update(e){var t,i,r;const s=e.routeResults[0].stops.map((e=>be.fromJSON(e.toJSON())));this._setStopSymbol(s),this.stops=new we(s),this.polygonBarriers=new Se(null==(t=e.polygonBarriers)?void 0:t.map((e=>{const t=Q.fromJSON(e.toJSON());return t.symbol=this.defaultSymbols.polygonBarriers,t}))),this.polylineBarriers=new _e(null==(i=e.polylineBarriers)?void 0:i.map((e=>{const t=ie.fromJSON(e.toJSON());return t.symbol=this.defaultSymbols.polylineBarriers,t}))),this.pointBarriers=new Te(null==(r=e.pointBarriers)?void 0:r.map((e=>{const t=H.fromJSON(e.toJSON());return t.symbol=this.defaultSymbols.pointBarriers,t})));const o=oe.fromJSON(e.routeResults[0].route.toJSON());o.symbol=this.defaultSymbols.routeInfo,this._set("routeInfo",o),this._set("directionPoints",new Ce(e.routeResults[0].directionPoints.features.map((e=>{const t=q.fromJSON(e.toJSON());return t.symbol=this.defaultSymbols.directionPoints,t})))),this._set("directionLines",new ve(e.routeResults[0].directionLines.features.map((e=>{const t=V.fromJSON(e.toJSON());return t.symbol=this.defaultSymbols.directionLines,t}))))}_getLayerDefinition(){return{capabilities:"Query,Update,Editing",extent:this.fullExtent.toJSON(),hasM:!1,hasZ:!1,maxScale:this.maxScale,minScale:this.minScale,objectIdField:"__OBJECTID",spatialReference:this.spatialReference.toJSON(),type:"Feature Layer",typeIdField:""}}_getNetworkFeatures(e,t,i,r){const s=(ge(e)?e.layers:e.featureCollection.layers).find((e=>e.layerDefinition.name===t));if((0,p.Wi)(s))return new l.Z;const{layerDefinition:u,popupInfo:d,featureSet:c}=s,m=u.drawingInfo.renderer,{features:h}=c,b=m&&(0,a.a)(m),y=h.map((e=>{var r;const s=i(e),{attributes:a}=e,l=new o.Z({attributes:a});return null!=s.symbol||(s.symbol=null!=(r=null==b?void 0:b.getSymbol(l))?r:this._getNetworkSymbol(t)),null!=s.popupTemplate||(s.popupTemplate=d&&n.Z.fromJSON(d)),s}));return r&&y.some((e=>!e.symbol))&&r(y),new l.Z(y)}_getNetworkSymbol(e){switch(e){case"Barriers":return this.defaultSymbols.pointBarriers;case"DirectionPoints":return this.defaultSymbols.directionPoints;case"DirectionLines":return this.defaultSymbols.directionLines;case"PolylineBarriers":return this.defaultSymbols.polylineBarriers;case"PolygonBarriers":return this.defaultSymbols.polygonBarriers;case"RouteInfo":return this.defaultSymbols.routeInfo;case"Stops":return null}}_setStopSymbol(e){if(!e)return;if(e.length<2){for(const t of e)t.symbol=this.defaultSymbols.invalidStop;return}const t=e.map((e=>e.sequence)).filter((e=>(0,p.pC)(e))),i=Math.min(...t),r=Math.max(...t);for(const t of e)t.sequence!==i?t.sequence!==r?"ok"===t.status||"not-located-on-closest"===t.status?"waypoint"!==t.locationType?"break"!==t.locationType?t.symbol=this.defaultSymbols.middleStop:t.symbol=this.defaultSymbols.breakStop:t.symbol=this.defaultSymbols.waypointStop:t.symbol=this.defaultSymbols.invalidStop:t.symbol=this.defaultSymbols.lastStop:t.symbol=this.defaultSymbols.firstStop}_writeDirectionLines(){return(0,p.Wi)(this.directionLines)||!this.directionLines.length?null:{featureSet:{features:this.directionLines.toArray().map((e=>e.toPortalJSON())),geometryType:"esriGeometryPolyline"},layerDefinition:{...this._getLayerDefinition(),drawingInfo:{renderer:{type:"simple",symbol:this.defaultSymbols.directionLines.toJSON()}},fields:V.fields,geometryType:"esriGeometryPolyline",name:"DirectionLines",title:"Direction Lines"},popupInfo:V.popupInfo}}_writeDirectionPoints(){return(0,p.Wi)(this.directionPoints)||!this.directionPoints.length?null:{featureSet:{features:this.directionPoints.toArray().map((e=>e.toPortalJSON())),geometryType:"esriGeometryPoint"},layerDefinition:{...this._getLayerDefinition(),drawingInfo:{renderer:{type:"simple",symbol:this.defaultSymbols.directionPoints.toJSON()}},fields:q.fields,geometryType:"esriGeometryPoint",name:"DirectionPoints",title:"Direction Points"},popupInfo:q.popupInfo}}_writePointBarriers(){return(0,p.Wi)(this.pointBarriers)||!this.pointBarriers.length?null:{featureSet:{features:this.pointBarriers.toArray().map((e=>e.toPortalJSON())),geometryType:"esriGeometryPoint"},layerDefinition:{...this._getLayerDefinition(),drawingInfo:{renderer:{type:"simple",symbol:this.defaultSymbols.pointBarriers.toJSON()}},fields:H.fields,geometryType:"esriGeometryPoint",name:"Barrier",title:"Point Barrier"},popupInfo:H.popupInfo}}_writePolygonBarriers(){return(0,p.Wi)(this.polygonBarriers)||!this.polygonBarriers.length?null:{featureSet:{features:this.polygonBarriers.toArray().map((e=>e.toPortalJSON())),geometryType:"esriGeometryPolygon"},layerDefinition:{...this._getLayerDefinition(),drawingInfo:{renderer:{type:"simple",symbol:this.defaultSymbols.polygonBarriers.toJSON()}},fields:Q.fields,geometryType:"esriGeometryPolygon",name:"PolygonBarriers",title:"Polygon Barriers"},popupInfo:Q.popupInfo}}_writePolylineBarriers(){return(0,p.Wi)(this.polylineBarriers)||!this.polylineBarriers.length?null:{featureSet:{features:this.polylineBarriers.toArray().map((e=>e.toPortalJSON())),geometryType:"esriGeometryPolyline"},layerDefinition:{...this._getLayerDefinition(),drawingInfo:{renderer:{type:"simple",symbol:this.defaultSymbols.polylineBarriers.toJSON()}},fields:ie.fields,geometryType:"esriGeometryPolyline",name:"PolylineBarriers",title:"Line Barriers"},popupInfo:ie.popupInfo}}_writeRouteInfo(){return(0,p.Wi)(this.routeInfo)?null:{featureSet:{features:[this.routeInfo.toPortalJSON()],geometryType:"esriGeometryPolyline"},layerDefinition:{...this._getLayerDefinition(),drawingInfo:{renderer:{type:"simple",symbol:this.defaultSymbols.routeInfo.toJSON()}},fields:oe.fields,geometryType:"esriGeometryPolyline",name:"RouteInfo",title:"Route Details"},popupInfo:oe.popupInfo}}_writeStops(){return(0,p.Wi)(this.stops)||!this.stops.length?null:{featureSet:{features:this.stops.toArray().map((e=>e.toPortalJSON())),geometryType:"esriGeometryPoint"},layerDefinition:{...this._getLayerDefinition(),drawingInfo:{renderer:{type:"uniqueValue",field1:"Sequence",defaultSymbol:this.defaultSymbols.middleStop.toJSON(),uniqueValueInfos:[{value:"1",symbol:this.defaultSymbols.firstStop.toJSON(),label:"First Stop"},{value:`${this.stops.length}`,symbol:this.defaultSymbols.lastStop.toJSON(),label:"Last Stop"}]}},fields:be.fields,geometryType:"esriGeometryPoint",name:"Stops",title:"Stops"},popupInfo:be.popupInfo}}};(0,r._)([(0,m.Cb)({readOnly:!0,json:{read:!1,origins:{"web-map":{write:{overridePolicy(){return{allowNull:!0,ignoreOrigin:null==this.portalItem}}}}}}})],Oe.prototype,"_featureCollection",void 0),(0,r._)([(0,f.c)("web-map","_featureCollection")],Oe.prototype,"writeFeatureCollectionWebmap",null),(0,r._)([(0,m.Cb)({readOnly:!0,json:{read:!1,origins:{"web-map":{write:{target:"type",overridePolicy(){return{ignoreOrigin:null!=this.portalItem}}}}}}})],Oe.prototype,"_type",void 0),(0,r._)([(0,m.Cb)({nonNullable:!0,type:B})],Oe.prototype,"defaultSymbols",void 0),(0,r._)([(0,m.Cb)({readOnly:!0})],Oe.prototype,"directionLines",void 0),(0,r._)([(0,b.r)(["web-map","portal-item"],"directionLines",["layers","featureCollection.layers"])],Oe.prototype,"readDirectionLines",null),(0,r._)([(0,m.Cb)({readOnly:!0})],Oe.prototype,"directionPoints",void 0),(0,r._)([(0,b.r)(["web-map","portal-item"],"directionPoints",["layers","featureCollection.layers"])],Oe.prototype,"readDirectionPoints",null),(0,r._)([(0,m.Cb)({readOnly:!0,json:{read:!1,origins:{"web-map":{write:{ignoreOrigin:!0}}}}})],Oe.prototype,"featureCollectionType",void 0),(0,r._)([(0,m.Cb)({readOnly:!0})],Oe.prototype,"fullExtent",null),(0,r._)([(0,m.Cb)({json:{origins:{"web-map":{name:"featureCollection.showLegend"}},write:!0}})],Oe.prototype,"legendEnabled",void 0),(0,r._)([(0,m.Cb)({type:["show","hide"]})],Oe.prototype,"listMode",void 0),(0,r._)([(0,m.Cb)({type:Number,nonNullable:!0,json:{write:!1}})],Oe.prototype,"maxScale",void 0),(0,r._)([(0,b.r)(["web-map","portal-item"],"maxScale",["layers","featureCollection.layers"])],Oe.prototype,"readMaxScale",null),(0,r._)([(0,m.Cb)({type:Number,nonNullable:!0,json:{write:!1}})],Oe.prototype,"minScale",void 0),(0,r._)([(0,b.r)(["web-map","portal-item"],"minScale",["layers","featureCollection.layers"])],Oe.prototype,"readMinScale",null),(0,r._)([(0,m.Cb)({type:["ArcGISFeatureLayer"],value:"ArcGISFeatureLayer"})],Oe.prototype,"operationalLayerType",void 0),(0,r._)([(0,m.Cb)({nonNullable:!0,type:l.Z.ofType(H)})],Oe.prototype,"pointBarriers",void 0),(0,r._)([(0,b.r)(["web-map","portal-item"],"pointBarriers",["layers","featureCollection.layers"])],Oe.prototype,"readPointBarriers",null),(0,r._)([(0,m.Cb)({nonNullable:!0,type:l.Z.ofType(Q)})],Oe.prototype,"polygonBarriers",void 0),(0,r._)([(0,b.r)(["web-map","portal-item"],"polygonBarriers",["layers","featureCollection.layers"])],Oe.prototype,"readPolygonBarriers",null),(0,r._)([(0,m.Cb)({nonNullable:!0,type:l.Z.ofType(ie)})],Oe.prototype,"polylineBarriers",void 0),(0,r._)([(0,b.r)(["web-map","portal-item"],"polylineBarriers",["layers","featureCollection.layers"])],Oe.prototype,"readPolylineBarriers",null),(0,r._)([(0,m.Cb)({readOnly:!0})],Oe.prototype,"routeInfo",void 0),(0,r._)([(0,b.r)(["web-map","portal-item"],"routeInfo",["layers","featureCollection.layers"])],Oe.prototype,"readRouteInfo",null),(0,r._)([(0,m.Cb)({nonNullable:!0})],Oe.prototype,"routeServiceUrl",null),(0,r._)([(0,m.Cb)({type:pe.Z})],Oe.prototype,"spatialReference",void 0),(0,r._)([(0,b.r)(["web-map","portal-item"],"spatialReference",["layers","featureCollection.layers"])],Oe.prototype,"readSpatialReference",null),(0,r._)([(0,m.Cb)({nonNullable:!0,type:l.Z.ofType(be)})],Oe.prototype,"stops",void 0),(0,r._)([(0,b.r)(["web-map","portal-item"],"stops",["layers","featureCollection.layers"])],Oe.prototype,"readStops",null),(0,r._)([(0,m.Cb)()],Oe.prototype,"title",void 0),(0,r._)([(0,m.Cb)({readOnly:!0,json:{read:!1}})],Oe.prototype,"type",void 0),Oe=(0,r._)([(0,y.j)("esri.layers.RouteLayer")],Oe);const Ne=Oe},16859:(e,t,i)=>{i.d(t,{I:()=>C});var r=i(43697),s=i(40330),o=i(3172),n=i(66643),a=i(20102),l=i(92604),u=i(70586),p=i(95330),d=i(17452),c=i(5600),m=(i(67676),i(80442),i(75215),i(71715)),h=i(52011),b=i(30556),y=i(65587),f=i(15235),g=i(86082);const v=l.Z.getLogger("esri.layers.mixins.PortalLayer"),C=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,i){if(t.itemId)return new f.default({id:t.itemId,portal:i&&i.portal})}writePortalItem(e,t){e&&e.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem&&this.portalItem.id)try{const r=await i.e(8062).then(i.bind(i,18062));return(0,p.k_)(t),await r.load({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData},t)}catch(e){throw(0,p.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,p.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 i=T.credential===t?T.user:await this._fetchEditingUser(e);return T.credential=t,T.user=i,(0,u.Wi)(i)||null==i.privileges||i.privileges.includes("features:user:edit")}async _fetchEditingUser(e){var t,i;const r=null==(t=this.portalItem)||null==(i=t.portal)?void 0:i.user;if(r)return r;const a=s.id.findServerInfo(this.url);if(null==a||!a.owningSystemUrl)return null;const l=`${a.owningSystemUrl}/sharing/rest`,p=y.Z.getDefault();if(p&&p.loaded&&(0,d.Fv)(p.restUrl)===(0,d.Fv)(l))return p.user;const c=`${l}/community/self`,m=(0,u.pC)(e)?e.signal:null,h=await(0,n.q6)((0,o.default)(c,{authMode:"no-prompt",query:{f:"json"},signal:m}));return h.ok?g.default.fromJSON(h.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const i=t&&t.portal,r=this.portalItem&&this.portalItem.id&&(this.portalItem.portal||y.Z.getDefault());return i&&r&&!(0,d.tm)(r.restUrl,i.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,r._)([(0,c.Cb)({type:f.default})],t.prototype,"portalItem",null),(0,r._)([(0,m.r)("web-document","portalItem",["itemId"])],t.prototype,"readPortalItem",null),(0,r._)([(0,b.c)("web-document","portalItem",{itemId:{type:String}})],t.prototype,"writePortalItem",null),(0,r._)([(0,c.Cb)()],t.prototype,"resourceReferences",void 0),(0,r._)([(0,c.Cb)({readOnly:!0})],t.prototype,"userHasEditingPrivileges",void 0),t=(0,r._)([(0,h.j)("esri.layers.mixins.PortalLayer")],t),t},T={credential:null,user:null}},1231:(e,t,i)=>{i.d(t,{Z:()=>y});var r,s=i(43697),o=i(35454),n=i(96674),a=i(5600),l=(i(67676),i(80442),i(75215)),u=i(36030),p=i(71715),d=i(52011),c=i(72729),m=i(86719);const h=new o.Xn({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",dateAndTime:"date-and-time",description:"description",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier"});let b=r=class extends n.wq{constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=-1,this.name=null,this.nullable=!0,this.type=null,this.valueType=null}readDescription(e,{description:t}){let i;try{i=JSON.parse(t)}catch(e){}return i?i.value:null}readValueType(e,{description:t}){let i;try{i=JSON.parse(t)}catch(e){}return i?h.fromJSON(i.fieldValueType):null}clone(){return new r({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain&&this.domain.clone()||null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType})}};(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],b.prototype,"alias",void 0),(0,s._)([(0,a.Cb)({type:[String,Number],json:{write:{allowNull:!0}}})],b.prototype,"defaultValue",void 0),(0,s._)([(0,a.Cb)()],b.prototype,"description",void 0),(0,s._)([(0,p.r)("description")],b.prototype,"readDescription",null),(0,s._)([(0,a.Cb)({types:c.V5,json:{read:{reader:c.im},write:!0}})],b.prototype,"domain",void 0),(0,s._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],b.prototype,"editable",void 0),(0,s._)([(0,a.Cb)({type:l.z8,json:{write:!0}})],b.prototype,"length",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],b.prototype,"name",void 0),(0,s._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],b.prototype,"nullable",void 0),(0,s._)([(0,u.J)(m.v)],b.prototype,"type",void 0),(0,s._)([(0,a.Cb)()],b.prototype,"valueType",void 0),(0,s._)([(0,p.r)("valueType",["description"])],b.prototype,"readValueType",null),b=r=(0,s._)([(0,d.j)("esri.layers.support.Field")],b);const y=b},72729:(e,t,i)=>{i.d(t,{im:()=>O,V5:()=>w}),i(80442);var r,s=i(43697),o=i(22974),n=i(5600),a=(i(75215),i(36030)),l=i(52011),u=i(96674);i(67676);let p=r=class extends u.wq{constructor(e){super(e),this.name=null,this.code=null}clone(){return new r({name:this.name,code:this.code})}};(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],p.prototype,"name",void 0),(0,s._)([(0,n.Cb)({type:[String,Number],json:{write:!0}})],p.prototype,"code",void 0),p=r=(0,s._)([(0,l.j)("esri.layers.support.CodedValue")],p);const d=p,c=new(i(35454).Xn)({inherited:"inherited",codedValue:"coded-value",range:"range"});let m=class extends u.wq{constructor(e){super(e),this.name=null,this.type=null}};(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],m.prototype,"name",void 0),(0,s._)([(0,a.J)(c)],m.prototype,"type",void 0),m=(0,s._)([(0,l.j)("esri.layers.support.Domain")],m);const h=m;var b;let y=b=class extends h{constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const i=String(e);this.codedValues.some((e=>(String(e.code)===i&&(t=e.name),!!t)))}return t}clone(){return new b({codedValues:(0,o.d9)(this.codedValues),name:this.name})}};(0,s._)([(0,n.Cb)({type:[d],json:{write:!0}})],y.prototype,"codedValues",void 0),(0,s._)([(0,a.J)({codedValue:"coded-value"})],y.prototype,"type",void 0),y=b=(0,s._)([(0,l.j)("esri.layers.support.CodedValueDomain")],y);const f=y;var g;i(92604),i(37697);let v=g=class extends h{constructor(e){super(e),this.type="inherited"}clone(){return new g}};(0,s._)([(0,a.J)({inherited:"inherited"})],v.prototype,"type",void 0),v=g=(0,s._)([(0,l.j)("esri.layers.support.InheritedDomain")],v);const C=v;var T;let S=T=class extends h{constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new T({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,s._)([(0,n.Cb)({type:Number,json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range&&t.range[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,i){t[i]=[this.minValue||0,e]}}}})],S.prototype,"maxValue",void 0),(0,s._)([(0,n.Cb)({type:Number,json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range&&t.range[0]},write:{target:"range",writer(e,t,i){t[i]=[e,this.maxValue||0]}}}})],S.prototype,"minValue",void 0),(0,s._)([(0,a.J)({range:"range"})],S.prototype,"type",void 0),S=T=(0,s._)([(0,l.j)("esri.layers.support.RangeDomain")],S);const _=S,w={key:"type",base:h,typeMap:{range:S,"coded-value":f,inherited:C}};function O(e){if(!e||!e.type)return null;switch(e.type){case"range":return _.fromJSON(e);case"codedValue":return f.fromJSON(e);case"inherited":return C.fromJSON(e)}return null}},86719:(e,t,i)=>{i.d(t,{v:()=>r});const r=new(i(35454).Xn)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml"})},12501:(e,t,i)=>{i.r(t),i.d(t,{default:()=>O});var r,s=i(43697),o=i(22303),n=i(3172),a=i(20102),l=i(22974),u=i(92604),p=i(13867),d=i(70586),c=i(95330),m=i(19153),h=i(5600),b=(i(75215),i(52011)),y=i(30556),f=i(35671),g=i(5499),v=i(12571),C=i(59266),T=i(17386);const S=u.Z.getLogger("esri.renderers.DictionaryRenderer"),_={type:"CIMSimpleLineCallout",lineSymbol:{type:"CIMLineSymbol",symbolLayers:[{type:"CIMSolidStroke",width:.5,color:[0,0,0,255]}]}};let w=r=class extends((0,v.W)(g.Z)){constructor(e){super(e),this._ongoingRequests=new Map,this._symbolCache=new p.Z(100),this.config=null,this.fieldMap=null,this.scaleExpression=null,this.scaleExpressionTitle=null,this.url=null,this.type="dictionary"}writeData(e,t){e&&(t.scalingExpressionInfo={expression:e,returnType:"number"})}writeVisualVariables(e,t,i,r){null!=r&&r.origin||super.writeVisualVariables(e,t,i,r)}clone(){return new r({config:(0,l.d9)(this.config),scaleExpression:this.scaleExpression,scaleExpressionTitle:this.scaleExpressionTitle,fieldMap:(0,l.d9)(this.fieldMap),url:(0,l.d9)(this.url),visualVariables:(0,l.d9)(this.visualVariables)})}async getSymbolAsync(e,t){let i;this._dictionaryPromise||(this._dictionaryPromise=this.fetchResources(t));try{i=await this._dictionaryPromise}catch(e){if((0,c.D_)(e))return this._dictionaryPromise=null,null}const r={};if(this.fieldMap)for(const t of this._symbolFields){const i=this.fieldMap[t];if(i&&null!==e.attributes[i]&&void 0!==e.attributes[i]){const s=""+e.attributes[i];r[t]=s}else r[t]=""}const s=i(r,t);if(!s||"string"!=typeof s)return null;const n=(0,m.hP)(s).toString(),a=this._symbolCache.get(n);if(a)return a.catch((()=>{this._symbolCache.pop(n)})),a;const l=s.split(";"),u=[],p=[];for(const e of l)if(e&&0!==e.length)if(-1===e.indexOf("po:"))if(-1!==e.indexOf("|")){for(const t of e.split("|"))if(this._itemNames.has(t)){u.push(t);break}}else this._itemNames.has(e)&&u.push(e);else{const t=e.substr(3).split("|");if(3===t.length){const e=t[0],i=t[1];let r=t[2];if("DashTemplate"===i)r=r.split(" ").map((e=>Number(e)));else if("Color"===i){const e=new o.Z(r).toRgba();r=[e[0],e[1],e[2],255*e[3]]}else r=Number(r);p.push({primitiveName:e,propertyName:i,value:r})}}const h=!(0,d.pC)(e.geometry)||!e.geometry.hasZ&&"point"===e.geometry.type,b=this._cimPartsToCIMSymbol(u,p,h,t);return this._symbolCache.put(n,b,1),b}async collectRequiredFields(e,t){await this.collectVVRequiredFields(e,t),this.scaleExpression&&await(0,f.io)(e,t,this.scaleExpression);for(const i in this.fieldMap){const r=this.fieldMap[i];t.has(r)&&e.add(r)}}get arcadeRequired(){return!0}async fetchResources(e){if(this._dictionaryPromise)return this._dictionaryPromise;if(!this.url)return void S.error("no valid URL!");const t=(0,d.pC)(e)?e.abortOptions:null,i=(0,n.default)(this.url+"/resources/styles/dictionary-info.json",{responseType:"json",query:{f:"json"},...t}),[{data:r}]=await Promise.all([i,(0,C.LC)()]);if(!r)throw this._dictionaryPromise=null,new a.Z("esri.renderers.DictionaryRenderer","Bad dictionary data!");const s=r.expression,o=r.authoringInfo;this._refSymbolUrlTemplate=this.url+"/"+r.cimRefTemplateUrl,this._itemNames=new Set(r.itemsNames),this._symbolFields=o.symbol;const l={};if(this.config){const e=this.config;for(const t in e)l[t]=e[t]}if(o.configuration)for(const e of o.configuration)l.hasOwnProperty(e.name)||(l[e.name]=e.value);const u=[];if((0,d.pC)(e)&&e.fields&&this.fieldMap)for(const t of this._symbolFields){const i=this.fieldMap[t],r=e.fields.filter((e=>e.name===i));r.length>0&&u.push({...r[0],name:t})}return this._dictionaryPromise=(0,C.pp)(s,(0,d.pC)(e)?e.spatialReference:null,u,l).then((e=>{const t={scale:0};return(i,r)=>{const s=e.repurposeFeature({geometry:null,attributes:i});return t.scale=(0,d.pC)(r)?r.scale:void 0,e.evaluate({$feature:s,$view:t})}})).catch((e=>(S.error("Creating dictinoary expression failed:",e),null))),this._dictionaryPromise}getSymbol(){return null}getSymbols(){return[]}getAttributeHash(){return this.visualVariables&&this.visualVariables.reduce(((e,t)=>e+t.getAttributeHash()),"")}getMeshHash(){return`${this.url}-${JSON.stringify(this.fieldMap)}`}getSymbolFields(){return this._symbolFields}async _getSymbolPart(e,t){if(this._ongoingRequests.has(e))return this._ongoingRequests.get(e).then((e=>e.data));const i=this._refSymbolUrlTemplate.replace(/\{itemName\}/gi,e),r=(0,n.default)(i,{responseType:"json",query:{f:"json"},...t});this._ongoingRequests.set(e,r);try{return(await r).data}catch(t){return this._ongoingRequests.delete(e),Promise.reject(t)}}_combineSymbolParts(e,t,i){if(!e||0===e.length)return null;const r={...e[0]};if(e.length>1){r.symbolLayers=[];for(const t of e){const e=t;r.symbolLayers.unshift(...e.symbolLayers)}}return i&&(r.callout=_),{type:"CIMSymbolReference",symbol:r,primitiveOverrides:t}}async _cimPartsToCIMSymbol(e,t,i,r){const s=new Array(e.length);for(let t=0;t<e.length;t++)s[t]=this._getSymbolPart(e[t],r);const o=await Promise.all(s);return new T.Z({data:this._combineSymbolParts(o,t,i)})}};(0,s._)([(0,h.Cb)({type:Object,json:{read:{source:"configuration"},write:{target:"configuration"}}})],w.prototype,"config",void 0),(0,s._)([(0,h.Cb)({type:Object,json:{write:!0}})],w.prototype,"fieldMap",void 0),(0,s._)([(0,h.Cb)({type:String,json:{read:{source:"scalingExpressionInfo.expression"},write:!0}})],w.prototype,"scaleExpression",void 0),(0,s._)([(0,y.c)("scaleExpression")],w.prototype,"writeData",null),(0,s._)([(0,h.Cb)({type:String,json:{read:{source:"scalingExpressionInfo.title"},write:{target:"scalingExpressionInfo.title",overridePolicy(e){return{enabled:!!e&&!!this.scaleExpression}}}}})],w.prototype,"scaleExpressionTitle",void 0),(0,s._)([(0,h.Cb)({type:String,json:{write:!0}})],w.prototype,"url",void 0),(0,s._)([(0,y.c)("visualVariables")],w.prototype,"writeVisualVariables",null),w=r=(0,s._)([(0,b.j)("esri.renderers.DictionaryRenderer")],w);const O=w},95088:(e,t,i)=>{i.d(t,{Z:()=>I});var r,s=i(43697),o=i(22303),n=i(22974),a=i(44422),l=i(75215),u=i(36030),p=i(5600),d=i(52011),c=i(35671),m=i(5499),h=i(12571),b=i(96674),y=i(92604),f=(i(67676),i(80442),i(90578));const g=y.Z.getLogger("esri.renderers.support.AttributeColorInfo");let v=r=class extends b.wq{constructor(e){super(e),this.color=null,this.field=null,this.label=null,this.valueExpression=null,this.valueExpressionTitle=null}castField(e){return null==e?e:"function"==typeof e?(g.error(".field: field must be a string value"),null):(0,l.Zs)(e)}getAttributeHash(){return`${this.field}-${this.valueExpression}`}clone(){return new r({color:this.color&&this.color.clone(),field:this.field,label:this.label,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle})}};(0,s._)([(0,p.Cb)({type:o.Z,json:{type:[Number],write:!0}})],v.prototype,"color",void 0),(0,s._)([(0,p.Cb)({type:String,json:{write:!0}})],v.prototype,"field",void 0),(0,s._)([(0,f.p)("field")],v.prototype,"castField",null),(0,s._)([(0,p.Cb)({type:String,json:{write:!0}})],v.prototype,"label",void 0),(0,s._)([(0,p.Cb)({type:String,json:{write:!0}})],v.prototype,"valueExpression",void 0),(0,s._)([(0,p.Cb)({type:String,json:{write:!0}})],v.prototype,"valueExpressionTitle",void 0),v=r=(0,s._)([(0,d.j)("esri.renderers.support.AttributeColorInfo")],v);const C=v;var T;let S=T=class extends b.wq{constructor(){super(...arguments),this.unit=null}clone(){return new T({unit:this.unit})}};(0,s._)([(0,p.Cb)({type:String,json:{write:!0}})],S.prototype,"unit",void 0),S=T=(0,s._)([(0,d.j)("esri.renderers.support.DotDensityLegendOptions")],S);const _=S;var w,O=i(20256),N=i(4095);let x=w=class extends((0,h.W)(m.Z)){constructor(e){super(e),this.attributes=null,this.backgroundColor=new o.Z([0,0,0,0]),this.blendDots=!0,this.dotBlendingEnabled=!0,this.dotShape="square",this.dotSize=1,this.legendOptions=null,this.outline=new N.Z,this.dotValue=null,this.referenceDotValue=null,this.referenceScale=null,this.seed=1,this.type="dot-density"}calculateDotValue(e){if(null==this.referenceScale)return this.dotValue;const t=e/this.referenceScale*this.dotValue;return t<1?1:t}getSymbol(){return new O.Z({outline:this.outline})}async getSymbolAsync(){return this.getSymbol()}getSymbols(){return[this.getSymbol()]}getAttributeHash(){return this.attributes&&this.attributes.reduce(((e,t)=>e+t.getAttributeHash()),"")}getMeshHash(){return JSON.stringify(this.outline)}clone(){return new w({attributes:(0,n.d9)(this.attributes),backgroundColor:(0,n.d9)(this.backgroundColor),dotBlendingEnabled:(0,n.d9)(this.dotBlendingEnabled),dotShape:(0,n.d9)(this.dotShape),dotSize:(0,n.d9)(this.dotSize),dotValue:(0,n.d9)(this.dotValue),legendOptions:(0,n.d9)(this.legendOptions),outline:(0,n.d9)(this.outline),referenceScale:(0,n.d9)(this.referenceScale),visualVariables:(0,n.d9)(this.visualVariables),authoringInfo:this.authoringInfo&&this.authoringInfo.clone()})}getControllerHash(){return`${this.attributes.map((e=>e.field||e.valueExpression||""))}-${this.outline&&JSON.stringify(this.outline.toJSON())||""}`}async collectRequiredFields(e,t){await this.collectVVRequiredFields(e,t);for(const i of this.attributes)i.valueExpression&&await(0,c.io)(e,t,i.valueExpression),i.field&&e.add(i.field)}};(0,s._)([(0,p.Cb)({type:[C],json:{write:!0}})],x.prototype,"attributes",void 0),(0,s._)([(0,p.Cb)({type:o.Z,json:{write:!0}})],x.prototype,"backgroundColor",void 0),(0,s._)([(0,p.Cb)({type:Boolean}),(0,a.B)("dotBlendingEnabled")],x.prototype,"blendDots",void 0),(0,s._)([(0,p.Cb)({type:Boolean,json:{write:!0}})],x.prototype,"dotBlendingEnabled",void 0),(0,s._)([(0,p.Cb)({type:String,json:{write:!1}})],x.prototype,"dotShape",void 0),(0,s._)([(0,p.Cb)({type:Number,json:{write:!1}})],x.prototype,"dotSize",void 0),(0,s._)([(0,p.Cb)({type:_,json:{write:!0}})],x.prototype,"legendOptions",void 0),(0,s._)([(0,p.Cb)({type:N.Z,json:{default:null,write:!0}})],x.prototype,"outline",void 0),(0,s._)([(0,p.Cb)({type:Number,json:{write:!0}})],x.prototype,"dotValue",void 0),(0,s._)([(0,p.Cb)({type:Number}),(0,a.B)("dotValue")],x.prototype,"referenceDotValue",void 0),(0,s._)([(0,p.Cb)({type:Number,json:{write:!0}})],x.prototype,"referenceScale",void 0),(0,s._)([(0,p.Cb)({type:Number,json:{write:!0}})],x.prototype,"seed",void 0),(0,s._)([(0,u.J)({dotDensity:"dot-density"})],x.prototype,"type",void 0),x=w=(0,s._)([(0,d.j)("esri.renderers.DotDensityRenderer")],x);const I=x},79056:(e,t,i)=>{i.d(t,{Z:()=>f});var r,s=i(43697),o=i(22303),n=i(22974),a=i(5600),l=(i(75215),i(36030)),u=i(52011),p=i(35671),d=i(5499),c=i(96674);i(67676),i(80442);let m=r=class extends c.wq{constructor(e){super(e),this.color=null,this.ratio=null}clone(){return new r({color:this.color,ratio:this.ratio})}};(0,s._)([(0,a.Cb)({type:o.Z,json:{write:!0}})],m.prototype,"color",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{write:!0}})],m.prototype,"ratio",void 0),m=r=(0,s._)([(0,u.j)("esri.renderers.support.HeatmapColorStop")],m);const h=m;var b;let y=b=class extends d.Z{constructor(e){super(e),this.blurRadius=10,this.colorStops=[new h({ratio:0,color:new o.Z("rgba(255, 140, 0, 0)")}),new h({ratio:.75,color:new o.Z("rgba(255, 140, 0, 1)")}),new h({ratio:.9,color:new o.Z("rgba(255, 0, 0, 1)")})],this.field=null,this.fieldOffset=0,this.maxPixelIntensity=100,this.minPixelIntensity=0,this.type="heatmap"}async collectRequiredFields(e,t){const i=this.field;i&&"string"==typeof i&&(0,p.AB)(e,t,i)}getAttributeHash(){return null}getMeshHash(){return`${JSON.stringify(this.colorStops)}.${this.blurRadius}.${this.field}`}clone(){return new b({blurRadius:this.blurRadius,colorStops:(0,n.d9)(this.colorStops),field:this.field,maxPixelIntensity:this.maxPixelIntensity,minPixelIntensity:this.minPixelIntensity})}};(0,s._)([(0,a.Cb)({type:Number,json:{write:!0}})],y.prototype,"blurRadius",void 0),(0,s._)([(0,a.Cb)({type:[h],json:{write:!0}})],y.prototype,"colorStops",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],y.prototype,"field",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{write:{overridePolicy:(e,t,i)=>({enabled:null==i})}}})],y.prototype,"fieldOffset",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{write:!0}})],y.prototype,"maxPixelIntensity",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{write:!0}})],y.prototype,"minPixelIntensity",void 0),(0,s._)([(0,l.J)({heatmap:"heatmap"})],y.prototype,"type",void 0),y=b=(0,s._)([(0,u.j)("esri.renderers.HeatmapRenderer")],y);const f=y},84382:(e,t,i)=>{i.d(t,{Z:()=>m});var r,s=i(43697),o=i(22974),n=i(5600),a=(i(75215),i(36030)),l=i(52011),u=i(5499),p=i(12571),d=i(9833);let c=r=class extends((0,p.W)(u.Z)){constructor(e){super(e),this.description=null,this.label=null,this.symbol=null,this.type="simple"}async collectRequiredFields(e,t){await Promise.all([this.collectSymbolFields(e,t),this.collectVVRequiredFields(e,t)])}async collectSymbolFields(e,t){await Promise.all(this.getSymbols().map((i=>i.collectRequiredFields(e,t))))}getSymbol(e,t){return this.symbol}async getSymbolAsync(e,t){return this.symbol}getSymbols(){return this.symbol?[this.symbol]:[]}getAttributeHash(){return this.visualVariables&&this.visualVariables.reduce(((e,t)=>e+t.getAttributeHash()),"")}getMeshHash(){return this.getSymbols().reduce(((e,t)=>e+JSON.stringify(t)),"")}get arcadeRequired(){return this.arcadeRequiredForVisualVariables}clone(){return new r({description:this.description,label:this.label,symbol:this.symbol&&this.symbol.clone(),visualVariables:(0,o.d9)(this.visualVariables),authoringInfo:this.authoringInfo&&this.authoringInfo.clone()})}};(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],c.prototype,"description",void 0),(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],c.prototype,"label",void 0),(0,s._)([(0,n.Cb)(d.G)],c.prototype,"symbol",void 0),(0,s._)([(0,a.J)({simple:"simple"})],c.prototype,"type",void 0),c=r=(0,s._)([(0,l.j)("esri.renderers.SimpleRenderer")],c);const m=c},91423:(e,t,i)=>{i.d(t,{a:()=>a});var r=i(20941),s=i(63213),o=i(32400);const n=(0,s.d)({types:o.A});function a(e,t,i){return e?e&&(e.styleName||e.styleUrl)&&"uniqueValue"!==e.type?(i&&i.messages&&i.messages.push(new r.Z("renderer:unsupported","Only UniqueValueRenderer can be referenced from a web style, but found '"+e.type+"'",{definition:e,context:i})),null):n(e,t,i):null}},99282:(e,t,i)=>{i.d(t,{a:()=>o});var r=i(67900),s=i(68441);const o={inches:(0,r.En)(1,"meters","inches"),feet:(0,r.En)(1,"meters","feet"),"us-feet":(0,r.En)(1,"meters","us-feet"),yards:(0,r.En)(1,"meters","yards"),miles:(0,r.En)(1,"meters","miles"),"nautical-miles":(0,r.En)(1,"meters","nautical-miles"),millimeters:(0,r.En)(1,"meters","millimeters"),centimeters:(0,r.En)(1,"meters","centimeters"),decimeters:(0,r.En)(1,"meters","decimeters"),meters:(0,r.En)(1,"meters","meters"),kilometers:(0,r.En)(1,"meters","kilometers"),"decimal-degrees":1/(0,r.ty)(1,"meters",s.sv.radius)}},32400:(e,t,i)=>{i.d(t,{A:()=>p,o:()=>d});var r=i(16050),s=i(12501),o=i(95088),n=i(79056),a=i(5499),l=i(84382),u=i(30687);const p={key:"type",base:a.Z,typeMap:{heatmap:n.Z,simple:l.Z,"unique-value":u.Z,"class-breaks":r.Z,"dot-density":o.Z,dictionary:s.default},errorContext:"renderer"},d={key:"type",base:a.Z,typeMap:{simple:l.Z,"unique-value":u.Z,"class-breaks":r.Z},errorContext:"renderer"}},51706:(e,t,i)=>{var r,s;function o(e){return e&&"esri.renderers.visualVariables.SizeVariable"===e.declaredClass}function n(e){return null!=e&&!isNaN(e)&&isFinite(e)}function a(e){return e.valueExpression?r.Expression:e.field&&"string"==typeof e.field?r.Field:r.Unknown}function l(e,t){const i=t||a(e),o=e.valueUnit||"unknown";return i===r.Unknown?s.Constant:e.stops?s.Stops:null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?s.ClampedLinear:"unknown"===o?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?s.Proportional:s.Additive:s.Identity:s.RealWorldSize}i.d(t,{RY:()=>r,hL:()=>s,PS:()=>a,QW:()=>l,iY:()=>o,qh:()=>n}),function(e){e.Unknown="unknown",e.Expression="expression",e.Field="field"}(r||(r={})),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,i)=>{i.d(t,{PR:()=>S,Lq:()=>h,Km:()=>b,cM:()=>y,ap:()=>f,V3:()=>C,B3:()=>m});var r=i(22303),s=i(1692),o=i(74085),n=i(92604),a=i(70586),l=i(99282),u=i(51706);const p=n.Z.getLogger("esri.renderers.visualVariables.support.visualVariableUtils"),d=new s.Z,c=Math.PI,m=/^\s*(return\s+)?\$view\.scale\s*(;)?\s*$/i;function h(e,t,i){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 p.warn("The visualVariable should be an instance of esri.renderers.visualVariables.ColorVariable");const o="number"==typeof t,n=o?null:t,l=n&&n.attributes;let u=o?t:null;const d=s.field,{ipData:c,hasExpression:m}=s.cache;let h=s.cache.compiledFunc;if(!d&&!m){const e=s.stops;return e&&e[0]&&e[0].color}if("number"!=typeof u)if(m){if(!(0,a.pC)(i)||!(0,a.pC)(i.arcade))return void p.error("Use of arcade expressions requires an arcade context");const e={viewingMode:i.viewingMode,scale:i.scale,spatialReference:i.spatialReference},t=i.arcade.arcadeUtils,r=t.getViewInfo(e),o=t.createExecContext(n,r);if(!h){const e=t.createSyntaxTree(s.valueExpression);h=t.createFunction(e),s.cache.compiledFunc=h}u=t.executeFunction(h,o)}else l&&(u=l[d]);const b=s.normalizationField,y=l?parseFloat(l[b]):void 0;if(null!=u&&(!b||o||!isNaN(y)&&0!==y)){isNaN(y)||o||(u/=y);const e=T(u,c);if(e){const t=e[0],o=e[1],n=t===o?s.stops[t].color:r.Z.blendColors(s.stops[t].color,s.stops[o].color,e[2],(0,a.pC)(i)?i.color:void 0);return new r.Z(n)}}}function b(e,t,i){const r="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"opacity"===e.type))[0]:e;if(!r)return;if("esri.renderers.visualVariables.OpacityVariable"!==r.declaredClass)return void p.warn("The visualVariable should be an instance of esri.renderers.visualVariables.OpacityVariable");const s="number"==typeof t,o=s?null:t,n=o&&o.attributes;let l=s?t:null;const u=r.field,{ipData:d,hasExpression:c}=r.cache;let m=r.cache.compiledFunc;if(!u&&!c){const e=r.stops;return e&&e[0]&&e[0].opacity}if("number"!=typeof l)if(c){if((0,a.Wi)(i)||(0,a.Wi)(i.arcade))return void p.error("Use of arcade expressions requires an arcade context");const e={viewingMode:i.viewingMode,scale:i.scale,spatialReference:i.spatialReference},t=i.arcade.arcadeUtils,s=t.getViewInfo(e),n=t.createExecContext(o,s);if(!m){const e=t.createSyntaxTree(r.valueExpression);m=t.createFunction(e),r.cache.compiledFunc=m}l=t.executeFunction(m,n)}else n&&(l=n[u]);const h=r.normalizationField,b=n?parseFloat(n[h]):void 0;if(null!=l&&(!h||s||!isNaN(b)&&0!==b)){isNaN(b)||s||(l/=b);const e=T(l,d);if(e){const t=e[0],i=e[1];if(t===i)return r.stops[t].opacity;{const s=r.stops[t].opacity;return s+(r.stops[i].opacity-s)*e[2]}}}}function y(e,t,i){const r="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"rotation"===e.type))[0]:e;if(!r)return;if("esri.renderers.visualVariables.RotationVariable"!==r.declaredClass)return void p.warn("The visualVariable should be an instance of esri.renderers.visualVariables.RotationVariable");const s=r.axis||"heading",o="heading"===s&&"arithmetic"===r.rotationType?90:0,n="heading"===s&&"arithmetic"===r.rotationType?-1:1,l="number"==typeof t?null:t,u=l&&l.attributes,d=r.field,{hasExpression:c}=r.cache;let m=r.cache.compiledFunc,h=0;if(!d&&!c)return h;if(c){if((0,a.Wi)(i)||(0,a.Wi)(i.arcade))return void p.error("Use of arcade expressions requires an arcade context");const e={viewingMode:i.viewingMode,scale:i.scale,spatialReference:i.spatialReference},t=i.arcade.arcadeUtils,s=t.getViewInfo(e),o=t.createExecContext(l,s);if(!m){const e=t.createSyntaxTree(r.valueExpression);m=t.createFunction(e),r.cache.compiledFunc=m}h=t.executeFunction(m,o)}else u&&(h=u[d]||0);return h="number"!=typeof h||isNaN(h)?null:o+n*h,h}function f(e,t,i){const r="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"size"===e.type))[0]:e;if(!r)return;if("esri.renderers.visualVariables.SizeVariable"!==r.declaredClass)return void p.warn("The visualVariable should be an instance of esri.renderers.visualVariables.SizeVariable");const s=function(e,t,i,r,s){switch(t.transformationType){case u.hL.Additive:return function(e,t,i,r){return e+(g(t.minSize,i,r)||t.minDataValue)}(e,t,i,r);case u.hL.Constant:return function(e,t,i){const r=e.stops;let s=r&&r.length&&r[0].size;return null==s&&(s=e.minSize),g(s,t,i)}(t,i,r);case u.hL.ClampedLinear:return function(e,t,i,r){const s=(e-t.minDataValue)/(t.maxDataValue-t.minDataValue),o=g(t.minSize,i,r),n=g(t.maxSize,i,r),l=(0,a.pC)(r)?r.shape:void 0;if(e<=t.minDataValue)return o;if(e>=t.maxDataValue)return n;if("area"===t.scaleBy&&l){const e="circle"===l,t=e?c*(o/2)**2:o*o,i=t+s*((e?c*(n/2)**2:n*n)-t);return e?2*Math.sqrt(i/c):Math.sqrt(i)}return o+s*(n-o)}(e,t,i,r);case u.hL.Proportional:return function(e,t,i,r){const s=(0,a.pC)(r)?r.shape:void 0,o=e/t.minDataValue,n=g(t.minSize,i,r),l=g(t.maxSize,i,r);let u=null;return u="circle"===s?2*Math.sqrt(o*(n/2)**2):"square"===s||"diamond"===s||"image"===s?Math.sqrt(o*n**2):o*n,v(u,n,l)}(e,t,i,r);case u.hL.Stops:return function(e,t,i,r,s){const[o,n,a]=T(e,s);if(o===n)return g(t.stops[o].size,i,r);{const e=g(t.stops[o].size,i,r);return e+(g(t.stops[n].size,i,r)-e)*a}}(e,t,i,r,s);case u.hL.RealWorldSize:return function(e,t,i,r){const s=((0,a.pC)(r)&&r.resolution?r.resolution:1)*l.a[t.valueUnit],o=g(t.minSize,i,r),n=g(t.maxSize,i,r),{valueRepresentation:u}=t;let p=null;return p="area"===u?2*Math.sqrt(e/c)/s:"radius"===u||"distance"===u?2*e/s:e/s,v(p,o,n)}(e,t,i,r);case u.hL.Identity:return e;case u.hL.Unknown:return null}}(function(e,t,i){const r="number"==typeof t,s=r?null:t,o=s&&s.attributes;let n=r?t:null;const{isScaleDriven:l}=e.cache;let d=e.cache.compiledFunc;if(l){const t=(0,a.pC)(i)?i.scale:void 0,r=(0,a.pC)(i)?i.view:void 0;n=null==t||"3d"===r?function(e){let t=null,i=null;const r=e.stops;return r?(t=r[0].value,i=r[r.length-1].value):(t=e.minDataValue||0,i=e.maxDataValue||0),(t+i)/2}(e):t}else if(!r)switch(e.inputValueType){case u.RY.Expression:{if((0,a.Wi)(i)||(0,a.Wi)(i.arcade))return void p.error("Use of arcade expressions requires an arcade context");const t={viewingMode:i.viewingMode,scale:i.scale,spatialReference:i.spatialReference},r=i.arcade.arcadeUtils,o=r.getViewInfo(t),l=r.createExecContext(s,o);if(!d){const t=r.createSyntaxTree(e.valueExpression);d=r.createFunction(t),e.cache.compiledFunc=d}n=r.executeFunction(d,l);break}case u.RY.Field:o&&(n=o[e.field]);break;case u.RY.Unknown:n=null}if(!(0,u.qh)(n))return null;if(r||!e.normalizationField)return n;const c=o?parseFloat(o[e.normalizationField]):null;return(0,u.qh)(c)&&0!==c?n/c:null}(r,t,i),r,t,i,r.cache.ipData);return null==s||isNaN(s)?0:s}function g(e,t,i){return null==e?null:(0,u.iY)(e)?f(e,t,i):(0,u.qh)(e)?e:null}function v(e,t,i){return(0,u.qh)(i)&&e>i?i:(0,u.qh)(t)&&e<t?t:e}function C(e,t,i){const{isScaleDriven:r}=e.cache;if(!(r&&"3d"===i||t))return null;const s={scale:t,view:i};let o=g(e.minSize,d,s),n=g(e.maxSize,d,s);if(null!=o||null!=n){if(o>n){const e=n;n=o,o=e}return{minSize:o,maxSize:n}}}function T(e,t){if(!t)return;let i=0,r=t.length-1;return t.some(((t,s)=>e<t?(r=s,!0):(i=s,!1))),[i,r,(e-t[i])/(t[r]-t[i])]}function S(e,t,i){const r=["proportional","proportional","proportional"];for(const s of e){const e=s.useSymbolValue?"symbol-value":f(s,t,i);switch(s.axis){case"width":r[0]=e;break;case"depth":r[1]=e;break;case"height":r[2]=e;break;case"width-and-depth":r[0]=e,r[1]=e;break;case"all":case void 0:case null:r[0]=e,r[1]=e,r[2]=e;break;default:(0,o.Bg)(s.axis)}}return r}},3172:(e,t,i)=>{i.r(t),i.d(t,{default:()=>m});var r=i(68773),s=i(40330),o=i(20102),n=i(80442),a=i(22974),l=i(70586),u=i(95330),p=i(17452),d=i(71058),c=i(85958);async function m(e,t){var a;const c=(0,p.HK)(e),f=(0,p.jc)(e);f||c||(e=(0,p.Fv)(e));const g={url:e,requestOptions:{...(0,l.Wg)(t)}};let v=(0,p.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 i,r;try{r=await e.before(t)}catch(e){i=_("request:interceptor",e,t)}if((r instanceof Error||r instanceof o.Z)&&(i=_("request:interceptor",r,t)),i)throw e.error&&e.error(i),i;return r}}(v,g);if(null!=e)return{data:e,getHeader:C,requestOptions:g.requestOptions,url:g.url};v.after||v.error||(v=null)}if(e=g.url,"image"===(t=g.requestOptions).responseType){if((0,n.Z)("host-webworker")||(0,n.Z)("host-node"))throw _("request:invalid-parameters",new Error("responseType 'image' is not supported in Web Workers or Node environment"),g)}else if(c)throw _("request:invalid-parameters",new Error("Data URLs are not supported for responseType = "+t.responseType),g);if("head"===t.method){if(t.body)throw _("request:invalid-parameters",new Error("body parameter cannot be set when method is 'head'"),g);if(c||f)throw _("request:invalid-parameters",new Error("data and blob URLs are not supported for method 'head'"),g)}if(await async function(){(0,n.Z)("host-webworker")?h||(h=await Promise.all([i.e(102),i.e(9884)]).then(i.bind(i,29884))):m._abortableFetch||(m._abortableFetch=globalThis.fetch.bind(globalThis))}(),h)return h.execute(e,t);const T=new AbortController;(0,u.fu)(t,(()=>T.abort()));const S={controller:T,credential:null,credentialToken:null,fetchOptions:null,hasToken:!1,interceptor:v,params:g,redoRequest:!1,useIdentity:b.useIdentity,useProxy:!1,useSSL:!1,withCredentials:!1},x=await async function(e){var t,i;let o,n;await async function(e){const t=e.params.url,i=e.params.requestOptions,o=e.controller.signal,n=i.body;let a=null,l=null,p=null;if(y&&"HTMLFormElement"in globalThis&&(n instanceof FormData?a=n:n instanceof HTMLFormElement&&(l=n,a=new FormData(l))),"string"==typeof n&&(p=n),e.fetchOptions={cache:i.cacheBust&&!m._abortableFetch.polyfill?"no-cache":"default",credentials:"same-origin",headers:i.headers||{},method:"head"===i.method?"HEAD":"GET",mode:"cors",redirect:"follow",signal:o},(a||p)&&(e.fetchOptions.body=a||p),"anonymous"===i.authMode&&(e.useIdentity=!1),e.hasToken=!!(/token=/i.test(t)||i.query&&i.query.token||a&&a.get&&a.get("token")||l&&l.elements.token),!e.hasToken&&r.Z.apiKey&&(0,d.r)(t)&&(i.query||(i.query={}),i.query.token=r.Z.apiKey,e.hasToken=!0),e.useIdentity&&!e.hasToken&&!e.credentialToken&&!O(t)&&!(0,u.Hc)(o)){let r;"immediate"===i.authMode?(await w(),r=await s.id.getCredential(t,{signal:o}),e.credential=r):"no-prompt"===i.authMode?(await w(),r=await s.id.getCredential(t,{prompt:!1,signal:o}).catch((()=>{})),e.credential=r):s.id&&(r=s.id.findCredential(t)),r&&(e.credentialToken=r.token,e.useSSL=!!r.ssl)}}(e);try{do{[o,n]=await N(e)}while(!await I(e,o,n))}catch(t){const i=_("request:server",t,e.params,o);throw i.details.ssl=e.useSSL,e.interceptor&&e.interceptor.error&&e.interceptor.error(i),i}const a=e.params.url;if(/\/sharing\/rest\/(accounts|portals)\/self/i.test(a)&&!e.hasToken&&!e.credentialToken&&null!=(t=n)&&null!=(i=t.user)&&i.username&&!(0,p.kl)(a)){const e=(0,p.P$)(a,!0);e&&b.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:n,getHeader:o?e=>o.headers.get(e):C,requestOptions:e.params.requestOptions,ssl:e.useSSL,url:e.params.url}}(S);return null==(a=v)||null==a.after||a.after(x),x}let h;const b=r.Z.request,y="FormData"in globalThis,f=[499,498,403,401],g=["COM_0056","COM_0057","SB_0008"],v=[/\/arcgis\/tokens/i,/\/sharing(\/rest)?\/generatetoken/i,/\/rest\/info/i],C=()=>null,T=Symbol();function S(e){const t=(0,p.P$)(e);return!t||t.endsWith(".arcgis.com")||m._corsServers.includes(t)||(0,p.kl)(t)}function _(e,t,i,r){let s="Error";const n={url:i.url,requestOptions:i.requestOptions,getHeader:C,ssl:!1};if(t instanceof o.Z)return t.details?(t.details=(0,a.d9)(t.details),t.details.url=i.url,t.details.requestOptions=i.requestOptions):t.details=n,t;if(t){const e=r&&(e=>r.headers.get(e)),i=r&&r.status,o=t.message;o&&(s=o),e&&(n.getHeader=e),n.httpStatus=(null!=t.httpCode?t.httpCode:t.code)||i||0,n.subCode=t.subcode,n.messageCode=t.messageCode,"string"==typeof t.details?n.messages=[t.details]:n.messages=t.details,n.raw=T in t?t[T]:t}return(0,u.D_)(t)?(0,u.zE)():new o.Z(e,s,n)}async function w(){s.id||await Promise.all([i.e(280),i.e(2785),i.e(102),i.e(8536)]).then(i.bind(i,85976))}function O(e){return v.some((t=>t.test(e)))}async function N(e){let t=e.params.url;const i=e.params.requestOptions,r=e.fetchOptions,o=(0,p.jc)(t)||(0,p.HK)(t),a=i.responseType||"json",l=o?0:null!=i.timeout?i.timeout:b.timeout;let d=!1;if(!o){e.useSSL&&(t=(0,p.hO)(t)),i.cacheBust&&"default"===r.cache&&(t=(0,p.ZN)(t,"request.preventCache",Date.now()));let o={...i.query};e.credentialToken&&(o.token=e.credentialToken);let a=(0,p.B7)(o);(0,n.Z)("esri-url-encodes-apostrophe")&&(a=a.replace(/'/g,"%27"));const l=t.length+1+a.length;let u;d="delete"===i.method||"post"===i.method||"put"===i.method||!!i.body||l>b.maxUrlLength;const c=i.useProxy||!!(0,p.ed)(t);if(c){const e=(0,p.b7)(t);u=e.path,!d&&u.length+1+l>b.maxUrlLength&&(d=!0),e.query&&(o={...e.query,...o})}if("HEAD"===r.method&&(d||c)){if(d){if(l>b.maxUrlLength)throw _("request:invalid-parameters",new Error("URL exceeds maximum length"),e.params);throw _("request:invalid-parameters",new Error("cannot use POST request when method is 'head'"),e.params)}if(c)throw _("request:invalid-parameters",new Error("cannot use proxy when method is 'head'"),e.params)}if(d?(r.method="delete"===i.method?"DELETE":"put"===i.method?"PUT":"POST",i.body?t=(0,p.fl)(t,o):(r.body=(0,p.B7)(o),r.headers["Content-Type"]="application/x-www-form-urlencoded")):t=(0,p.fl)(t,o),c&&(e.useProxy=!0,t=`${u}?${t}`),o.token&&y&&r.body instanceof FormData){const e=r.body;e.set?e.set("token",o.token):e.append("token",o.token)}if(i.hasOwnProperty("withCredentials"))e.withCredentials=i.withCredentials;else if(!(0,p.D6)(t,p.Gd))if((0,p.kl)(t))e.withCredentials=!0;else if(s.id){const i=s.id.findServerInfo(t);i&&i.webTierAuth&&(e.withCredentials=!0)}e.withCredentials&&(r.credentials="include")}let c,h,f=0,g=!1;l>0&&(f=setTimeout((()=>{g=!0,e.controller.abort()}),l));try{if("native-request-init"===i.responseType)h=r,h.url=t;else if("image"!==i.responseType||"default"!==r.cache||"GET"!==r.method||d||function(e){if(e)for(const t of Object.getOwnPropertyNames(e))if(e[t])return!0;return!1}(i.headers)||!o&&!e.useProxy&&b.proxyUrl&&!S(t)){if(c=await m._abortableFetch(t,r),e.useProxy||function(e){const t=(0,p.P$)(e);t&&!m._corsServers.includes(t)&&m._corsServers.push(t)}(t),"native"===i.responseType)h=c;else if("HEAD"!==r.method)if(c.ok){switch(a){case"array-buffer":h=await c.arrayBuffer();break;case"blob":case"image":h=await c.blob();break;default:h=await c.text()}if(f&&(clearTimeout(f),f=0),"json"===a||"xml"===a||"document"===a)if(h)switch(a){case"json":h=JSON.parse(h);break;case"xml":h=x(h,"application/xml");break;case"document":h=x(h,"text/html")}else h=null;if(h){if("array-buffer"===a||"blob"===a){const e=c.headers.get("Content-Type");if(/application\/json|text\/plain/i.test(e)&&h["blob"===a?"size":"byteLength"]<=750)try{const e=await new Response(h).json();e.error&&(h=e)}catch{}}"image"===a&&h instanceof Blob&&(h=await E(URL.createObjectURL(h),e,!0))}}else h=await c.text()}else h=await E(t,e)}catch(r){if("AbortError"===r.name){if(g)throw new Error("Timeout exceeded");throw(0,u.zE)("Request canceled")}if(!(!c&&r instanceof TypeError&&b.proxyUrl)||i.body||"delete"===i.method||"head"===i.method||"post"===i.method||"put"===i.method||e.useProxy||S(t))throw r;e.redoRequest=!0,(0,p.tD)({proxyUrl:b.proxyUrl,urlPrefix:(0,p.P$)(t)})}finally{f&&clearTimeout(f)}return[c,h]}function x(e,t){let i;try{i=(new DOMParser).parseFromString(e,t)}catch{}if(!i||i.getElementsByTagName("parsererror").length)throw new SyntaxError("XML Parse error");return i}async function I(e,t,i){if(e.redoRequest)return e.redoRequest=!1,!1;const r=e.params.requestOptions;if(!t||"native"===r.responseType||"native-request-init"===r.responseType)return!0;let o,n,a,l;if(!t.ok)throw o=new Error(`Unable to load ${t.url} status: ${t.status}`),o[T]=i,o;null!=i&&i.error&&(o=i.error),o&&(n=Number(o.code),a=o.hasOwnProperty("subcode")?Number(o.subcode):null,l=o.messageCode,l=l&&l.toUpperCase());const u=r.authMode;if(403===n&&(4===a||o.message&&o.message.toLowerCase().indexOf("ssl")>-1&&-1===o.message.toLowerCase().indexOf("permission"))){if(!e.useSSL)return e.useSSL=!0,!1}else if(!e.hasToken&&e.useIdentity&&("no-prompt"!==u||498===n)&&-1!==f.indexOf(n)&&!O(e.params.url)&&(403!==n||-1===g.indexOf(l)&&(null==a||2===a&&e.credentialToken))){await w();try{const t=await s.id.getCredential(e.params.url,{error:_("request:server",o,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;o=t}}if(o)throw o;return!0}function E(e,t,i=!1){const r=t.controller.signal,s=new Image;return t.withCredentials?s.crossOrigin="use-credentials":s.crossOrigin="anonymous",s.alt="",s.src=e,(0,c.f)(s,e,i,r)}m._abortableFetch=null,m._corsServers=["https://server.arcgisonline.com","https://services.arcgisonline.com"]},23334:(e,t,i)=>{i.d(t,{F:()=>O});var r=i(3172),s=i(70586),o=i(28263),n=i(38581),a=i(93924),l=i(11282),u=i(43697),p=i(1692),d=i(96674),c=i(5600),m=(i(67676),i(80442),i(75215),i(71715)),h=i(52011),b=i(74889),y=i(79166),f=i(95642);let g=class extends d.wq{constructor(e){super(e),this.directionLines=null,this.directionPoints=null,this.directions=null,this.route=null,this.routeName=null,this.stops=null}};(0,u._)([(0,c.Cb)({type:b.default,json:{write:!0}})],g.prototype,"directionLines",void 0),(0,u._)([(0,c.Cb)({type:b.default,json:{write:!0}})],g.prototype,"directionPoints",void 0),(0,u._)([(0,c.Cb)({type:f.Z,json:{write:!0}})],g.prototype,"directions",void 0),(0,u._)([(0,c.Cb)({type:p.Z,json:{write:!0}})],g.prototype,"route",void 0),(0,u._)([(0,c.Cb)({type:String,json:{write:!0}})],g.prototype,"routeName",void 0),(0,u._)([(0,c.Cb)({type:[p.Z],json:{write:!0}})],g.prototype,"stops",void 0),g=(0,u._)([(0,h.j)("esri.rest.support.RouteResult")],g);const v=g;function C(e){return e&&b.default.fromJSON(e).features.map((e=>e))}let T=class extends d.wq{constructor(e){super(e),this.messages=null,this.pointBarriers=null,this.polylineBarriers=null,this.polygonBarriers=null,this.routeResults=null}readPointBarriers(e,t){return C(t.barriers)}readPolylineBarriers(e){return C(e)}readPolygonBarriers(e){return C(e)}};(0,u._)([(0,c.Cb)({type:[y.Z]})],T.prototype,"messages",void 0),(0,u._)([(0,c.Cb)({type:[p.Z]})],T.prototype,"pointBarriers",void 0),(0,u._)([(0,m.r)("pointBarriers",["barriers"])],T.prototype,"readPointBarriers",null),(0,u._)([(0,c.Cb)({type:[p.Z]})],T.prototype,"polylineBarriers",void 0),(0,u._)([(0,m.r)("polylineBarriers")],T.prototype,"readPolylineBarriers",null),(0,u._)([(0,c.Cb)({type:[p.Z]})],T.prototype,"polygonBarriers",void 0),(0,u._)([(0,m.r)("polygonBarriers")],T.prototype,"readPolygonBarriers",null),(0,u._)([(0,c.Cb)({type:[v]})],T.prototype,"routeResults",void 0),T=(0,u._)([(0,h.j)("esri.rest.support.RouteSolveResult")],T);const S=T,_=(0,o.E)({accumulateAttributes:{name:"accumulateAttributeNames"},attributeParameterValues:!0,directionsTimeAttribute:{name:"directionsTimeAttributeName"},impedanceAttribute:{name:"impedanceAttributeName"},outSpatialReference:{name:"outSR",getter:e=>e.outSpatialReference.wkid},pointBarriers:{name:"barriers"},polylineBarriers:!0,polygonBarriers:!0,restrictionAttributes:{name:"restrictionAttributeNames"},stops:!0,travelMode:!0});function w(e){return"esri.rest.support.FeatureSet"===(null==e?void 0:e.declaredClass)}async function O(e,t,i){const o=[],u=[],p={},d={},c=(0,l.en)(e),{path:m}=c;w(t.stops)&&(0,a.et)(t.stops.features,u,"stops.features",p),w(t.pointBarriers)&&(0,a.et)(t.pointBarriers.features,u,"pointBarriers.features",p),w(t.polylineBarriers)&&(0,a.et)(t.polylineBarriers.features,u,"polylineBarriers.features",p),w(t.polygonBarriers)&&(0,a.et)(t.polygonBarriers.features,u,"polygonBarriers.features",p);const h=await(0,n.aX)(u);for(const e in p){const t=p[e];o.push(e),d[e]=h.slice(t[0],t[1])}if((0,a.Wf)(d,o)){let e=null;try{e=await(0,a.bI)(m,t.apiKey,i)}catch{}e&&!e.hasZ&&(0,a.ef)(d,o)}for(const e in d)d[e].forEach(((i,r)=>{t.get(e)[r].geometry=i}));const b={...i,query:{...c.query,..._.toQueryParams(t),f:"json"}},y=m.endsWith("/solve")?m:`${m}/solve`,{data:f}=await(0,r.default)(y,b);return function(e){var t,i,r,o,n;const a=new Map,{directionLines:l,directionPoints:u,directions:p,routes:d,stops:c,barriers:m,polygonBarriers:h,polylineBarriers:b,messages:y}=e,f=null!=(t=null!=(i=null!=(r=null!=(o=null==d?void 0:d.spatialReference)?o:null==c?void 0:c.spatialReference)?r:null==m?void 0:m.spatialReference)?i:null==h?void 0:h.spatialReference)?t:null==b?void 0:b.spatialReference;null==d||d.features.forEach((e=>{const t=e.attributes.Name,i=e.attributes.ObjectID;a.has(t)?(a.get(t).route=e,a.get(t).routeId=i):a.set(t,{route:e,routeId:i,routeName:t}),(0,s.pC)(e.geometry)&&(e.geometry.spatialReference=f)})),null==p||p.forEach((e=>{const t=e.routeName;a.has(t)?a.get(t).directions=e:a.set(t,{routeName:t,directions:e})})),null==c||c.features.forEach((e=>{var t;const i=null!=(t=e.attributes.RouteName)?t:null;a.has(i)?a.get(i).stops?a.get(i).stops.push(e):a.get(i).stops=[e]:a.set(i,{stops:[e],routeName:i}),(0,s.pC)(e.geometry)&&(e.geometry.spatialReference=f)}));const g=null==(n=null==c?void 0:c.features.every((e=>null==e.attributes.RouteName)))||n;if((null==c?void 0:c.features.length)>0&&g){const e=Array.from(a.keys())[0];a.get(e).stops=a.get(null).stops,a.delete(null)}null==l||l.features.forEach((e=>{var t;const i=e.attributes.RouteID,r=null==(t=Array.from(a.values()).find((e=>e.routeId===i)))?void 0:t.routeName;if(r)if(a.has(r))if(a.get(r).directionLines)a.get(r).directionLines.features.push(e);else{const{fieldAliases:t,geometryType:i,spatialReference:s}=l;a.get(r).directionLines={features:[e],fieldAliases:t,geometryType:i,spatialReference:s}}else{const{fieldAliases:t,geometryType:i,spatialReference:s}=l;a.set(r,{routeName:r,directionLines:{features:[e],fieldAliases:t,geometryType:i,spatialReference:s}})}})),null==u||u.features.forEach((e=>{var t;const i=e.attributes.RouteID,r=null==(t=Array.from(a.values()).find((e=>e.routeId===i)))?void 0:t.routeName;if(r)if(a.has(r))if(a.get(r).directionPoints)a.get(r).directionPoints.features.push(e);else{const{fieldAliases:t,geometryType:i,spatialReference:s}=u;a.get(r).directionPoints={features:[e],fieldAliases:t,geometryType:i,spatialReference:s}}else{const{fieldAliases:t,geometryType:i,spatialReference:s}=u;a.set(r,{routeName:r,directionPoints:{features:[e],fieldAliases:t,geometryType:i,spatialReference:s}})}}));const v=Array.from(a.values());return S.fromJSON({routeResults:v,barriers:m,polygonBarriers:h,polylineBarriers:b,messages:y})}(f)}},71058:(e,t,i)=>{i.d(t,{r:()=>o});var r=i(17452);const s=["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"];function o(e){const t=(0,r.P$)(e,!0);return t&&t.endsWith(".arcgis.com")&&!s.includes(t)&&!e.endsWith("/sharing/rest/generateToken")}},85958:(e,t,i)=>{i.d(t,{f:()=>n});var r=i(80442),s=i(70586),o=i(95330);function n(e,t,i=!1,n){return new Promise(((l,u)=>{if((0,o.Hc)(n))return void u(a());let p=()=>{m(),u(new Error(`Unable to load ${t}`))},d=()=>{const t=e;m(),l(t)},c=()=>{if(!e)return;const t=e;m(),t.src="",u(a())};const m=()=>{(0,r.Z)("esri-image-decode")||(e.removeEventListener("error",p),e.removeEventListener("load",d)),p=null,d=null,e=null,(0,s.pC)(n)&&n.removeEventListener("abort",c),c=null,i&&URL.revokeObjectURL(t)};(0,s.pC)(n)&&n.addEventListener("abort",c),(0,r.Z)("esri-image-decode")?e.decode().then(d,p):(e.addEventListener("error",p),e.addEventListener("load",d))}))}function a(){try{return new DOMException("Aborted","AbortError")}catch{const e=new Error;return e.name="AbortError",e}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9151],{43090:(e,t,n)=>{function r(e){return 32+e.length}function i(e){if(!e)return 0;let t=32;for(const n in e)if(e.hasOwnProperty(n)){const i=e[n];switch(typeof i){case"string":t+=r(i);break;case"number":t+=16;break;case"boolean":t+=4}}return t}function o(e,t){return 32+e.length*t}var s;n.d(t,{Y8:()=>s,f2:()=>i,do:()=>o}),function(e){e[e.KILOBYTES=1024]="KILOBYTES",e[e.MEGABYTES=1048576]="MEGABYTES",e[e.GIGABYTES=1073741824]="GIGABYTES"}(s||(s={}))},91460:(e,t,n)=>{function r(e){return e&&("function"==typeof e.on||"function"==typeof e.addEventListener)}function i(e,t,n){if(!r(e))throw new TypeError("target is not a Evented or EventTarget object");if("on"in e)return e.on(t,n);if(Array.isArray(t)){const r=t.slice();for(const t of r)e.addEventListener(t,n);return{remove(){for(const t of r)e.removeEventListener(t,n)}}}return e.addEventListener(t,n),{remove(){e.removeEventListener(t,n)}}}function o(e,t,n){if(!r(e))throw new TypeError("target is not a Evented or EventTarget object");if("once"in e)return e.once(t,n);const o=i(e,t,(t=>{o.remove(),n.call(e,t)}));return{remove(){o.remove()}}}n.d(t,{vT:()=>r,on:()=>i,IH:()=>o})},95330:(e,t,n)=>{n.d(t,{e4:()=>x,$6:()=>a,Ue:()=>c,zE:()=>u,dD:()=>_,hh:()=>S,vr:()=>P,Ds:()=>A,as:()=>$,WW:()=>O,R8:()=>b,D_:()=>w,Hc:()=>p,y8:()=>I,fu:()=>y,$F:()=>v,d1:()=>E,DB:()=>C,r9:()=>m,k_:()=>h,H9:()=>d,Yn:()=>L,gx:()=>T,Hl:()=>g});const r=(i=globalThis,{setTimeout:(e,t)=>{const n=i.setTimeout(e,t);return{remove:()=>i.clearTimeout(n)}}});var i,o=n(20102),s=n(91460),l=(n(92604),n(70586));function a(e){return Promise.all(e)}function c(e){return new Promise(((t,n)=>{try{e(t,n)}catch(e){Promise.resolve().then((()=>n(e)))}}))}function u(e="Aborted"){return new o.Z("AbortError",e)}function h(e,t="Aborted"){if(p(e))throw u(t)}function f(e){return(0,l.pC)(e)?"aborted"in e?e:e.signal:e}function p(e){const t=f(e);return(0,l.pC)(t)&&t.aborted}function m(e){if(w(e))throw e}function d(e){if(!w(e))throw e}function y(e,t){const n=f(e);if(!(0,l.Wi)(n)){if(!n.aborted)return(0,s.IH)(n,"abort",(()=>t()));t()}}function v(e,t){const n=f(e);if(!(0,l.Wi)(n))return h(n),(0,s.IH)(n,"abort",(()=>t(u())))}function g(e,t){const n=f(t);return(0,l.Wi)(n)?e:new Promise(((n,r)=>{let i=y(t,(()=>r(u())));const o=()=>i=(0,l.hw)(i);e.then(o,o),e.then(n,r)}))}function w(e){return e&&"AbortError"===e.name}function b(e){return e.catch((e=>{if(!w(e))throw e}))}function _(){let e=null;const t=new Promise(((t,n)=>{e={promise:void 0,resolve:t,reject:n}}));return e.promise=t,e}function $(e){if(!e)return;if("function"!=typeof e.forEach){const t=Object.keys(e);return $(t.map((t=>e[t]))).then((e=>{const n={};return t.forEach(((t,r)=>n[t]=e[r])),n}))}const t=e;return c((e=>{const n=[];let r=t.length;0===r&&e(n),t.forEach((t=>{const i={promise:t||Promise.resolve(t)};n.push(i),i.promise.then((e=>{i.value=e})).catch((e=>{i.error=e})).then((()=>{--r,0===r&&e(n)}))}))}))}function O(e){return $(e).then((e=>e.filter((e=>!!e.value)).map((e=>e.value))))}function E(e){return Promise.reject(e)}function C(e){return Promise.resolve(e)}function x(e,t,n){const r=new AbortController;return y(n,(()=>r.abort())),new Promise(((n,i)=>{let o=setTimeout((()=>{o=0,n(t)}),e);y(r,(()=>{o&&(clearTimeout(o),i(u()))}))}))}function I(e){return e&&"function"==typeof e.then}function T(e){return I(e)?e:Promise.resolve(e)}function A(e,t=-1){let n,r,i,o,s=null;const a=(...c)=>{if(n){r=c,o&&o.reject(u()),o=_();const e=(0,l.j0)(o.promise);if(s){const e=s;s=null,e.abort()}return e}if(i=o||_(),o=null,t>0){const r=new AbortController;n=T(e(...c,r.signal));const i=n;x(t).then((()=>{n===i&&(o?r.abort():s=r)}))}else n=1,n=T(e(...c));const h=()=>{const e=r;r=i=n=s=null,null!=e&&a(...e)},f=n,p=i;return f.then(h,h),f.then(p.resolve,p.reject),(0,l.j0)(p.promise)};return a}function S(){let e,t;const n=new Promise(((n,r)=>{e=n,t=r})),i=t=>{e(t)};return i.resolve=t=>e(t),i.reject=e=>t(e),i.timeout=(e,t)=>r.setTimeout((()=>i.reject(t)),e),i.promise=n,i}function P(e,t){let n,r=new AbortController;const i=e(r.signal);let o={promise:i,finished:!1,abort:()=>{r&&(r.abort(),r=null)}};const s=()=>{o&&(o.finished=!0,o=null),(0,l.pC)(n)&&(n.remove(),n=null),r=null};return i.then(s,s),n=y(t,(()=>{(0,l.pC)(o)&&o.abort()})),o}function L(e){return Promise.resolve().then((()=>{h(e)}))}},17452:(e,t,n)=>{n.d(t,{R9:()=>g,qg:()=>I,tD:()=>P,ZN:()=>ue,fl:()=>he,AX:()=>_,Gd:()=>w,Ie:()=>le,sJ:()=>G,AH:()=>Y,io:()=>Q,vt:()=>oe,oh:()=>j,P$:()=>H,Ml:()=>fe,ed:()=>L,b7:()=>x,D6:()=>k,tm:()=>U,YP:()=>J,jc:()=>F,HK:()=>M,$U:()=>ee,oC:()=>X,kl:()=>D,v_:()=>B,hF:()=>Z,_l:()=>K,PF:()=>z,Fv:()=>N,B7:()=>C,u0:()=>O,Yd:()=>ie,Hu:()=>ce,Qj:()=>se,hO:()=>te,mN:()=>$});var r=n(68773),i=n(20102),o=n(92604),s=n(70586);const l=o.Z.getLogger("esri.core.urlUtils"),a=r.Z.request,c="esri/config: esriConfig.request.proxyUrl is not set.",u=/^\s*[a-z][a-z0-9-+.]*:(?![0-9])/i,h=/^\s*http:/i,f=/^\s*https:/i,p=/^\s*file:/i,m=/:\d+$/,d=/^https?:\/\/[^/]+\.arcgis.com\/sharing(\/|$)/i,y=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),v=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$");class g{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,s.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,s.j0)(this.authority.match(v)),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 w=new g(r.Z.applicationUrl),b={},_=(()=>{const e=(0,s.j0)(w.path),t=e.substring(0,e.lastIndexOf(e.split("/")[e.split("/").length-1]));return`${w.scheme}://${w.host}${null!=w.port?`:${w.port}`:""}${t}`})();function $(e){const t={path:null,query:null},n=new g(e),r=e.indexOf("?");return null===n.query?t.path=e:(t.path=e.substring(0,r),t.query=O(n.query)),n.fragment&&(t.hash=n.fragment,null===n.query&&(t.path=t.path.substring(0,t.path.length-(n.fragment.length+1)))),t}function O(e){const t=e.split("&"),n={};for(const e of t){if(!e)continue;const t=e.indexOf("=");let r,i;t<0?(r=decodeURIComponent(e),i=""):(r=decodeURIComponent(e.slice(0,t)),i=decodeURIComponent(e.slice(t+1)));let o=n[r];"string"==typeof o&&(o=n[r]=[o]),Array.isArray(o)?o.push(i):n[r]=i}return n}function E(e){return e&&"object"==typeof e&&"toJSON"in e&&"function"==typeof e.toJSON}function C(e,t){return e?t&&"function"==typeof t?Object.keys(e).map((n=>encodeURIComponent(n)+"="+encodeURIComponent(t(n,e[n])))).join("&"):Object.keys(e).map((n=>{const r=e[n];if(null==r)return"";const i=encodeURIComponent(n)+"=",o=t&&t[n];return o?i+encodeURIComponent(o(r)):Array.isArray(r)?r.map((e=>E(e)?i+encodeURIComponent(JSON.stringify(e)):i+encodeURIComponent(e))).join("&"):E(r)?i+encodeURIComponent(JSON.stringify(r)):i+encodeURIComponent(r)})).filter((e=>e)).join("&"):""}function x(e=!1){let t,n=a.proxyUrl;if("string"==typeof e){t=ee(e);const r=L(e);r&&(n=r.proxyUrl)}else t=!!e;if(!n)throw l.warn(c),new i.Z("urlutils:proxy-not-set",c);return t&&ne()&&(n=te(n)),$(n)}function I(e){const t=L(e);let n,r;if(t){const e=A(t.proxyUrl);n=e.path,r=e.query?O(e.query):null}if(n){const t=$(e);e=n+"?"+t.path;const i=C({...r,...t.query});i&&(e=`${e}?${i}`)}return e}const T={path:"",query:""};function A(e){const t=e.indexOf("?");return-1!==t?(T.path=e.slice(0,t),T.query=e.slice(t+1)):(T.path=e,T.query=null),T}function S(e){return(e=re(e=function(e){return e&&"/"===e[e.length-1]?e:`${e}/`}(e=A(e).path),!0)).toLowerCase()}function P(e){const t={proxyUrl:e.proxyUrl,urlPrefix:S(e.urlPrefix)},n=a.proxyRules,r=t.urlPrefix;let i=n.length;for(let e=0;e<n.length;e++){const t=n[e].urlPrefix;if(0===r.indexOf(t)){if(r.length===t.length)return-1;i=e;break}0===t.indexOf(r)&&(i=e+1)}return n.splice(i,0,t),i}function L(e){const t=a.proxyRules,n=S(e);for(let e=0;e<t.length;e++)if(0===n.indexOf(t[e].urlPrefix))return t[e]}function U(e,t){return e=q(e),t=q(t),re(e)===re(t)}function q(e){const t=(e=N(e)).indexOf("/sharing");return t>0?e.substring(0,t):e.replace(/\/+$/,"")}function j(e){const t=t=>null==t||t instanceof RegExp&&t.test(e)||"string"==typeof t&&e.startsWith(t),n=a.interceptors;if(n)for(const e of n)if(Array.isArray(e.urls)){if(e.urls.some(t))return e}else if(t(e.urls))return e;return null}function k(e,t,n=!1){const r=ae(e),i=ae(t);return!(!n&&r.scheme!==i.scheme)&&null!=r.host&&null!=i.host&&r.host.toLowerCase()===i.host.toLowerCase()&&r.port===i.port}function D(e){if("string"==typeof e){if(!J(e))return!0;e=ae(e)}if(k(e,w))return!0;const t=a.trustedServers||[];for(let n=0;n<t.length;n++){const r=R(t[n]);for(let t=0;t<r.length;t++)if(k(e,r[t]))return!0}return!1}function R(e){return b[e]||(V(e)||X(e)?b[e]=[new g(Z(e))]:b[e]=[new g(`http://${e}`),new g(`https://${e}`)]),b[e]}function Z(e,t=_,n){return X(e)?n&&n.preserveProtocolRelative?e:"http"===w.scheme&&w.authority===H(e).slice(2)?`http:${e}`:`https:${e}`:V(e)?e:(0,s.j0)(B("/"===e[0]?function(e){const t=e.indexOf("//"),n=e.indexOf("/",t+2);return-1===n?e:e.slice(0,n)}(t):t,e))}function z(e,t=_,n){if(!J(e))return e;const r=N(e),i=r.toLowerCase(),o=N(t).toLowerCase().replace(/\/+$/,""),s=n?N(n).toLowerCase().replace(/\/+$/,""):null;if(s&&0!==o.indexOf(s))return e;const l=(e,t,n)=>-1===(n=e.indexOf(t,n))?e.length:n;let a=l(i,"/",i.indexOf("//")+2),c=-1;for(;i.slice(0,a+1)===o.slice(0,a)+"/"&&(c=a+1,a!==i.length);)a=l(i,"/",a+1);if(-1===c)return e;if(s&&c<s.length)return e;e=r.slice(c);const u=o.slice(c-1).replace(/[^/]+/g,"").length;if(u>0)for(let t=0;t<u;t++)e=`../${e}`;else e=`./${e}`;return e}function N(e){return function(e){const t=a.httpsDomains;if(!function(e){return h.test(e)||"http"===w.scheme&&X(e)}(e))return e;const n=e.indexOf("/",7);let r;if(r=-1===n?e:e.slice(0,n),r=r.toLowerCase().slice(7),m.test(r)){if(!r.endsWith(":80"))return e;r=r.slice(0,-3),e=e.replace(":80","")}return"http"===w.scheme&&r===w.authority&&!d.test(e)||(ne()&&r===w.authority||t&&t.some((e=>r===e||r.endsWith(`.${e}`)))||ne()&&!L(e))&&(e=te(e)),e}(e=function(e){return e.replace(/^(https?:\/\/)(arcgis\.com)/i,"$1www.$2")}(e=function(e){if(/^https?:\/\//i.test(e)){const t=A(e);e=(e=t.path.replace(/\/{2,}/g,"/")).replace("/","//"),t.query&&(e+=`?${t.query}`)}return e}(e=Z(e=e.trim()))))}function B(...e){const t=e.filter(s.pC);if(!t||!t.length)return;const n=[];if(J(t[0])){const e=t[0],r=e.indexOf("//");-1!==r&&(n.push(e.slice(0,r+1)),function(e){return p.test(e)}(t[0])&&(n[0]+="/"),t[0]=e.slice(r+2))}else"/"===t[0][0]&&n.push("");const r=t.reduce(((e,t)=>t?e.concat(t.split("/")):e),[]);for(let e=0;e<r.length;e++){const t=r[e];".."===t&&n.length>0&&".."!==n[n.length-1]?n.pop():(!t&&e===r.length-1||t&&("."!==t||0===n.length))&&n.push(t)}return n.join("/")}function H(e,t=!1){if(F(e)||M(e))return null;let n=e.indexOf("://");if(-1===n&&X(e))n=2;else{if(-1===n)return null;n+=3}const r=e.indexOf("/",n);return-1!==r&&(e=e.slice(0,r)),t&&(e=re(e,!0)),e}function J(e){return X(e)||V(e)}function F(e){return null!=e&&"blob:"===e.slice(0,5)}function M(e){return"data:"===e.slice(0,5)}function Y(e){const t=G(e);if(!t||!t.isBase64)return null;const n=atob(t.data),r=new Uint8Array(n.length);for(let e=0;e<n.length;e++)r[e]=n.charCodeAt(e);return r.buffer}const W=/^data:(.*?)(;base64)?,(.*)$/;function G(e){const t=e.match(W);if(!t)return null;const[,n,r,i]=t;return{mediaType:n,isBase64:!!r,data:i}}function K(e){return e.isBase64?`data:${e.mediaType};base64,${e.data}`:`data:${e.mediaType},${e.data}`}function Q(e,t){(function(e,t){if(!e)return!1;const n=document.createElement("a");if(!("download"in n))return!1;const r=URL.createObjectURL(e);return n.download=t,n.href=r,n.style.display="none",document.body.appendChild(n),n.click(),document.body.removeChild(n),URL.revokeObjectURL(r),!0})(e,t)||function(e,t){!!window.navigator.msSaveOrOpenBlob&&window.navigator.msSaveOrOpenBlob(e,t)}(e,t)}function X(e){return null!=e&&void 0!==e&&"/"===e[0]&&"/"===e[1]}function V(e){return u.test(e)}function ee(e){return f.test(e)||"https"===w.scheme&&X(e)}function te(e){return X(e)?`https:${e}`:e.replace(h,"https:")}function ne(){return"https"===w.scheme}function re(e,t=!1){return X(e)?e.slice(2):(e=e.replace(u,""),t&&e.length>1&&"/"===e[0]&&"/"===e[1]&&(e=e.slice(2)),e)}function ie(e){let t=0;if(J(e)){const n=e.indexOf("//");-1!==n&&(t=n+2)}const n=e.lastIndexOf("/");return n<t?e:e.slice(0,n+1)}function oe(e,t){if(!e)return"";const n=$(e).path.replace(/\/+$/,""),r=n.substring(n.lastIndexOf("/")+1);if(null==t||!t.length)return r;const i=new RegExp(`.(${t.join("|")})$`,"ig");return r.replace(i,"")}function se(e){return e.replace(/\/+$/,"")}function le(e,t,n){if(!(t&&n&&e&&J(e)))return e;const r=e.indexOf("//"),i=e.indexOf("/",r+2),o=e.indexOf(":",r+2),s=Math.min(i<0?e.length:i,o<0?e.length:o);return e.slice(r+2,s).toLowerCase()!==t.toLowerCase()?e:`${e.slice(0,r+2)}${n}${e.slice(s)}`}function ae(e){return"string"==typeof e?new g(Z(e)):(e.scheme||(e.scheme=w.scheme),e)}function ce(e,t){const n=$(e),r=Object.keys(n.query||{});return r.length>0&&t&&t.warn("removeQueryParameters()",`Url query parameters are not supported, the following parameters have been removed: ${r.join(", ")}.`),n.path}function ue(e,t,n){const r=$(e),i=r.query||{};return i[t]=String(n),`${r.path}?${C(i)}`}function he(e,t){const n=$(e),r=n.query||{};for(const e in t)r[e]=t[e];const i=C(r);return i?`${n.path}?${i}`:n.path}function fe(e){if((0,s.Wi)(e))return null;const t=e.match(pe);return t?t[1]:null}const pe=/.*?\.([^\/]*)$/},40330:(e,t,n)=>{n.d(t,{Dp:()=>c,id:()=>l,qh:()=>a,i8:()=>o,Nv:()=>s});var r=n(80442),i=n(17452);const o="4.23",s={async request(e,t){var r;const{default:o}=await n.e(3172).then(n.bind(n,3172)),s=e.options,l=s.responseType;s.signal=null==t?void 0:t.signal,s.responseType="native"===l||"native-request-init"===l?"native-request-init":["blob","json","text"].includes(l)&&null!=(r=(0,i.oh)(e.url))&&r.after?l:"array-buffer";const a=await o(e.url,s),c={data:a.data,ssl:a.ssl};switch(a.requestOptions.responseType){case"native-request-init":return delete c.data.signal,c;case"blob":c.data=await c.data.arrayBuffer();break;case"json":c.data=(new TextEncoder).encode(JSON.stringify(c.data)).buffer;break;case"text":c.data=(new TextEncoder).encode(c.data).buffer}return{result:c,transferList:[c.data]}}};let l;function a(e){l=e}function c(e){const t=l&&l.findCredential(e);return t&&t.token?(0,i.ZN)(e,"token",t.token):e}(0,r.Z)("host-webworker")||((0,r.Z)("edge")||(0,r.Z)("trident"))&&console.warn("Deprecated browser - see http://esriurl.com/oldbrowser")},16859:(e,t,n)=>{n.d(t,{I:()=>b});var r=n(43697),i=n(40330),o=n(3172),s=n(66643),l=n(20102),a=n(92604),c=n(70586),u=n(95330),h=n(17452),f=n(5600),p=(n(67676),n(80442),n(75215),n(71715)),m=n(52011),d=n(30556),y=n(65587),v=n(15235),g=n(86082);const w=a.Z.getLogger("esri.layers.mixins.PortalLayer"),b=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,n){if(t.itemId)return new v.default({id:t.itemId,portal:n&&n.portal})}writePortalItem(e,t){e&&e.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem&&this.portalItem.id)try{const r=await n.e(8062).then(n.bind(n,18062));return(0,u.k_)(t),await r.load({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData},t)}catch(e){throw(0,u.D_)(e)||w.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,u.r9)(e),!0))))}async _fetchUserHasEditingPrivileges(e){const t=this.url?null==i.id?void 0:i.id.findCredential(this.url):null;if(!t)return!0;const n=_.credential===t?_.user:await this._fetchEditingUser(e);return _.credential=t,_.user=n,(0,c.Wi)(n)||null==n.privileges||n.privileges.includes("features:user:edit")}async _fetchEditingUser(e){var t,n;const r=null==(t=this.portalItem)||null==(n=t.portal)?void 0:n.user;if(r)return r;const l=i.id.findServerInfo(this.url);if(null==l||!l.owningSystemUrl)return null;const a=`${l.owningSystemUrl}/sharing/rest`,u=y.Z.getDefault();if(u&&u.loaded&&(0,h.Fv)(u.restUrl)===(0,h.Fv)(a))return u.user;const f=`${a}/community/self`,p=(0,c.pC)(e)?e.signal:null,m=await(0,s.q6)((0,o.default)(f,{authMode:"no-prompt",query:{f:"json"},signal:p}));return m.ok?g.default.fromJSON(m.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const n=t&&t.portal,r=this.portalItem&&this.portalItem.id&&(this.portalItem.portal||y.Z.getDefault());return n&&r&&!(0,h.tm)(r.restUrl,n.restUrl)?(t.messages&&t.messages.push(new l.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,r._)([(0,f.Cb)({type:v.default})],t.prototype,"portalItem",null),(0,r._)([(0,p.r)("web-document","portalItem",["itemId"])],t.prototype,"readPortalItem",null),(0,r._)([(0,d.c)("web-document","portalItem",{itemId:{type:String}})],t.prototype,"writePortalItem",null),(0,r._)([(0,f.Cb)()],t.prototype,"resourceReferences",void 0),(0,r._)([(0,f.Cb)({readOnly:!0})],t.prototype,"userHasEditingPrivileges",void 0),t=(0,r._)([(0,m.j)("esri.layers.mixins.PortalLayer")],t),t},_={credential:null,user:null}},56608:(e,t,n)=>{n.d(t,{y:()=>C});var r,i=n(43697),o=n(3172),s=n(15923),l=n(43090),a=n(20102),c=n(3920),u=n(92604),h=n(13867),f=n(44553),p=n(95330),m=n(1654),d=n(17452),y=n(43050),v=n(5600),g=n(67676),w=(n(80442),n(90578)),b=n(52011),_=n(22974);class ${constructor(){this.location={left:0,top:0,width:0,height:0},this._allAvailability="unknown",this.byteSize=40}getAvailability(e,t){if("unknown"!==this._allAvailability)return this._allAvailability;const n=(e-this.location.top)*this.location.width+(t-this.location.left),r=n%8,i=n>>3,o=this._tileAvailabilityBitSet;return i<0||i>o.length?"unknown":o[i]&1<<r?"available":"unavailable"}_updateFromData(e){const t=this.location.width,n=this.location.height;let r=!0,i=!0;const o=Math.ceil(t*n/8),s=new Uint8Array(o);let l=0;for(let t=0;t<e.length;t++){const n=t%8;e[t]?(i=!1,s[l]|=1<<n):r=!1,7===n&&++l}i?this._allAvailability="unavailable":r?this._allAvailability="available":(this._allAvailability="unknown",this._tileAvailabilityBitSet=s,this.byteSize+=s.length)}static fromDefinition(e,t){const n=e.service.request||o.default,{row:r,col:i,width:s,height:l}=e,c={query:{f:"json"}};return t=t?{...c,...t}:c,n(function(e){let t;if("vector-tile"===e.service.type)t=`${e.service.url}/tilemap/${e.level}/${e.row}/${e.col}/${e.width}/${e.height}`;else{const n=e.service.tileServers;t=`${n&&n.length?n[e.row%n.length]:e.service.url}/tilemap/${e.level}/${e.row}/${e.col}/${e.width}/${e.height}`}const n=e.service.query;return n&&(t=`${t}?${n}`),t}(e),t).then((e=>e.data)).catch((e=>{if(e&&e.details&&422===e.details.httpStatus)return{location:{top:r,left:i,width:s,height:l},valid:!0,data:(0,g.a9)(s*l,0)};throw e})).then((e=>{if(e.location&&(e.location.top!==r||e.location.left!==i||e.location.width!==s||e.location.height!==l))throw new a.Z("tilemap:location-mismatch","Tilemap response for different location than requested",{response:e,definition:{top:r,left:i,width:s,height:l}});return $.fromJSON(e)}))}static fromJSON(e){$._validateJSON(e);const t=new $;return t.location=Object.freeze((0,_.d9)(e.location)),t._updateFromData(e.data),Object.freeze(t)}static _validateJSON(e){if(!e||!e.location)throw new a.Z("tilemap:missing-location","Location missing from tilemap response");if(!1===e.valid)throw new a.Z("tilemap:invalid","Tilemap response was marked as invalid");if(!e.data)throw new a.Z("tilemap:missing-data","Data missing from tilemap response");if(!Array.isArray(e.data))throw new a.Z("tilemap:data-mismatch","Data must be an array of numbers");if(e.data.length!==e.location.width*e.location.height)throw new a.Z("tilemap:data-mismatch","Number of data items does not match width/height of tilemap")}}function O(e){return`${e.level}/${e.row}/${e.col}/${e.width}/${e.height}`}const E=u.Z.getLogger("esri.layers.support.TilemapCache");let C=r=class extends((0,c.p)(s.Z)){constructor(e){super(e),this._pendingTilemapRequests={},this._availableLevels={},this.levels=5,this.cacheByteSize=2*l.Y8.MEGABYTES,this.request=o.default,this._prefetchingEnabled=!0}initialize(){this._tilemapCache=new h.Z(this.cacheByteSize),this.handles.add([this.watch(["layer.parsedUrl","layer.tileServers?","layer.apiKey?","layer.customParameters?"],(()=>this._initializeTilemapDefinition())),(0,y.S1)(this,"layer.tileInfo.lods",(e=>this._initializeAvailableLevels(e)),!0)]),this._initializeTilemapDefinition()}castLevels(e){return e<=2?(E.error("Minimum levels for Tilemap is 3, but got ",e),3):e}get size(){return 1<<this.levels}fetchTilemap(e,t,n,r){if(!this._availableLevels[e])return Promise.reject(new a.Z("tilemap-cache:level-unavailable",`Level ${e} is unavailable in the service`));const i=this._tmpTilemapDefinition,o=this._tilemapFromCache(e,t,n,i);if(o)return Promise.resolve(o);const s=r&&r.signal;return r={...r,signal:null},new Promise(((e,t)=>{(0,p.fu)(s,(()=>t((0,p.zE)())));const n=O(i);let o=this._pendingTilemapRequests[n];if(!o){o=$.fromDefinition(i,r).then((e=>(this._tilemapCache.put(n,e,e.byteSize),e)));const e=()=>delete this._pendingTilemapRequests[n];this._pendingTilemapRequests[n]=o,o.then(e,e)}o.then(e,t)}))}getAvailability(e,t,n){if(!this._availableLevels[e])return"unavailable";const r=this._tilemapFromCache(e,t,n,this._tmpTilemapDefinition);return r?r.getAvailability(t,n):"unknown"}fetchAvailability(e,t,n,r){return this._availableLevels[e]?this.fetchTilemap(e,t,n,r).catch((e=>e)).then((r=>{if(r instanceof $){const i=r.getAvailability(t,n);return"unavailable"===i?Promise.reject(new a.Z("tile-map:tile-unavailable","Tile is not available",{level:e,row:t,col:n})):i}if((0,p.D_)(r))throw r;return"unknown"})):Promise.reject(new a.Z("tilemap-cache:level-unavailable",`Level ${e} is unavailable in the service`))}fetchAvailabilityUpsample(e,t,n,r,i){r.level=e,r.row=t,r.col=n;const o=this.layer.tileInfo;o.updateTileInfo(r);const s=this.fetchAvailability(e,t,n,i).catch((e=>{if((0,p.D_)(e))throw e;if(o.upsampleTile(r))return this.fetchAvailabilityUpsample(r.level,r.row,r.col,r);throw e}));return this._fetchAvailabilityUpsamplePrefetch(r.id,e,t,n,i,s),s}async _fetchAvailabilityUpsamplePrefetch(e,t,n,i,o,s){if(!this._prefetchingEnabled)return;const l=`prefetch-${e}`;if(this.handles.has(l))return;const a=new AbortController;s.then((()=>a.abort()),(()=>a.abort()));let c=!1;const u={remove(){c||(c=!0,a.abort())}};if(this.handles.add(u,l),await(0,m.MU)(10,a.signal).catch((()=>{})),c||(c=!0,this.handles.remove(l)),(0,p.Hc)(a))return;const h={id:e,level:t,row:n,col:i},f={...o,signal:a.signal},d=this.layer.tileInfo;for(let e=0;r._prefetches.length<r._maxPrefetch&&d.upsampleTile(h);++e){const e=this.fetchAvailability(h.level,h.row,h.col,f);r._prefetches.push(e);const t=()=>{r._prefetches.removeUnordered(e)};e.then(t,t)}}_initializeTilemapDefinition(){var e;if(!this.layer.parsedUrl)return;const{parsedUrl:t,apiKey:n,customParameters:r}=this.layer;this._tilemapCache.clear(),this._tmpTilemapDefinition={service:{url:t.path,query:(0,d.B7)({...t.query,...r,token:null!=n?n:null==(e=t.query)?void 0:e.token}),tileServers:this.layer.tileServers,request:this.request,type:this.layer.type},width:this.size,height:this.size,level:0,row:0,col:0}}_tilemapFromCache(e,t,n,r){r.level=e,r.row=t-t%this.size,r.col=n-n%this.size;const i=O(r);return this._tilemapCache.get(i)}_initializeAvailableLevels(e){this._availableLevels={},e&&e.forEach((e=>this._availableLevels[e.level]=!0))}get test(){const e=this;return{get prefetchingEnabled(){return e._prefetchingEnabled},set prefetchingEnabled(t){e._prefetchingEnabled=t},hasTilemap:(t,n,r)=>!!e._tilemapFromCache(t,n,r,e._tmpTilemapDefinition)}}};C._maxPrefetch=4,C._prefetches=new f.Z({initialSize:r._maxPrefetch}),(0,i._)([(0,v.Cb)({constructOnly:!0,type:Number})],C.prototype,"levels",void 0),(0,i._)([(0,w.p)("levels")],C.prototype,"castLevels",null),(0,i._)([(0,v.Cb)({readOnly:!0,type:Number})],C.prototype,"size",null),(0,i._)([(0,v.Cb)({constructOnly:!0,type:Number})],C.prototype,"cacheByteSize",void 0),(0,i._)([(0,v.Cb)({constructOnly:!0})],C.prototype,"layer",void 0),(0,i._)([(0,v.Cb)({constructOnly:!0})],C.prototype,"request",void 0),C=r=(0,i._)([(0,b.j)("esri.layers.support.TilemapCache")],C)},45322:(e,t,n)=>{n.d(t,{d:()=>o,h:()=>i});var r=n(11145);const i={type:r.Z,json:{origins:{service:{read:{source:["tileInfo","minScale","maxScale","minLOD","maxLOD"],reader:o}}}}};function o(e,t,n,i){if(!e)return null;const{minScale:o,maxScale:s,minLOD:l,maxLOD:a}=t;if(null!=l&&null!=a)return i&&i.ignoreMinMaxLOD?r.Z.fromJSON(e):r.Z.fromJSON({...e,lods:e.lods.filter((({level:e})=>null!=e&&e>=l&&e<=a))});if(0!==o&&0!==s){const t=e=>Math.round(1e4*e)/1e4,n=o?t(o):1/0,i=s?t(s):-1/0;return r.Z.fromJSON({...e,lods:e.lods.filter((e=>{const r=t(e.scale);return r<=n&&r>=i}))})}return r.Z.fromJSON(e)}},99282:(e,t,n)=>{n.d(t,{a:()=>o});var r=n(67900),i=n(68441);const o={inches:(0,r.En)(1,"meters","inches"),feet:(0,r.En)(1,"meters","feet"),"us-feet":(0,r.En)(1,"meters","us-feet"),yards:(0,r.En)(1,"meters","yards"),miles:(0,r.En)(1,"meters","miles"),"nautical-miles":(0,r.En)(1,"meters","nautical-miles"),millimeters:(0,r.En)(1,"meters","millimeters"),centimeters:(0,r.En)(1,"meters","centimeters"),decimeters:(0,r.En)(1,"meters","decimeters"),meters:(0,r.En)(1,"meters","meters"),kilometers:(0,r.En)(1,"meters","kilometers"),"decimal-degrees":1/(0,r.ty)(1,"meters",i.sv.radius)}}}]);
|