@arcgis/core 4.24.0-next.20220521 → 4.24.0-next.20220525

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.
Files changed (509) hide show
  1. package/WebScene.js +1 -1
  2. package/assets/esri/core/workers/RemoteClient.js +1 -1
  3. package/assets/esri/core/workers/chunks/0ad179f4332d5242cc5f.js +1 -0
  4. package/assets/esri/core/workers/chunks/{d63f736b3560c577a8a4.js → 112b851bc61ae59fb558.js} +1 -1
  5. package/assets/esri/core/workers/chunks/{9d738aab0d907cd09a9d.js → 1f4ba2fd71425b875eb4.js} +1 -1
  6. package/assets/esri/core/workers/chunks/{8cd8dad8bcd5c0ef445e.js → 222d51ad2b897188363c.js} +1 -1
  7. package/assets/esri/core/workers/chunks/4e982d988c343d71c35e.js +1 -0
  8. package/assets/esri/core/workers/chunks/{ab2a0480dc2b608deda3.js → 51b0bcd367a563512cbb.js} +1 -1
  9. package/assets/esri/core/workers/chunks/{18b4f015e1d6be7a8965.js → 5242c9badca17ba2ab25.js} +1 -1
  10. package/assets/esri/core/workers/chunks/525b24097af208a100da.js +1 -0
  11. package/assets/esri/core/workers/chunks/533d190f63c31246f3fb.js +1 -0
  12. package/assets/esri/core/workers/chunks/58b39f18cd0c6579e2fd.js +1 -0
  13. package/assets/esri/core/workers/chunks/5bfd11944c4bd19f50fb.js +1 -0
  14. package/assets/esri/core/workers/chunks/660abe7152e55e2bf39c.js +1 -0
  15. package/assets/esri/core/workers/chunks/{7391422fc51acb96a25d.js → 7727b55b4198eb5d5037.js} +1 -1
  16. package/assets/esri/core/workers/chunks/{3c8c020d9e723888352b.js → 7f4c1c67551584bb9f0f.js} +1 -1
  17. package/assets/esri/core/workers/chunks/8bc3129cd2bd85dfd7e3.js +1 -0
  18. package/assets/esri/core/workers/chunks/{b597c04a4abb98e29d1c.js → 9391126baab105086d1d.js} +1 -1
  19. package/assets/esri/core/workers/chunks/9b4159f2e4150414b594.js +1 -0
  20. package/assets/esri/core/workers/chunks/a595e1026c3f7b905b00.js +1 -0
  21. package/assets/esri/core/workers/chunks/{b362d1ae9a87397ce2c5.js → aa40e324e59038c2f123.js} +1 -1
  22. package/assets/esri/core/workers/chunks/b86c18b188955aa7f48f.js +1 -0
  23. package/assets/esri/core/workers/chunks/be78dd8dbb8d8149d27a.js +1 -0
  24. package/assets/esri/core/workers/chunks/{7cf3cff7b28ff007dbad.js → d29751b88b6bd05e9c9b.js} +1 -1
  25. package/assets/esri/core/workers/chunks/d8a355386a75adb29980.js +1 -0
  26. package/assets/esri/core/workers/chunks/ddf3cbca19a02d085b1d.js +1 -0
  27. package/assets/esri/core/workers/chunks/e47d24c5b9ff34393dbf.js +1 -0
  28. package/assets/esri/core/workers/chunks/eb20148c756ff919bbbf.js +1 -0
  29. package/assets/esri/core/workers/chunks/{2f4a8eff11d263fa798a.js → f5d10ea7b8888f822b0c.js} +1 -1
  30. package/assets/esri/themes/base/_core.scss +0 -2
  31. package/assets/esri/themes/base/widgets/_Editor.scss +4 -3
  32. package/assets/esri/themes/dark/main.css +1 -1
  33. package/assets/esri/themes/light/main.css +1 -1
  34. package/assets/esri/themes/light/view.css +1 -1
  35. package/assets/esri/views/interactive/tooltip/t9n/Tooltip.json +1 -1
  36. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_ar.json +1 -1
  37. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_bg.json +1 -1
  38. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_bs.json +1 -1
  39. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_ca.json +1 -1
  40. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_cs.json +1 -1
  41. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_da.json +1 -1
  42. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_de.json +1 -1
  43. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_el.json +1 -1
  44. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_en.json +1 -1
  45. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_es.json +1 -1
  46. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_et.json +1 -1
  47. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_fi.json +1 -1
  48. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_fr.json +1 -1
  49. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_he.json +1 -1
  50. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_hr.json +1 -1
  51. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_hu.json +1 -1
  52. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_id.json +1 -1
  53. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_it.json +1 -1
  54. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_ja.json +1 -1
  55. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_ko.json +1 -1
  56. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_lt.json +1 -1
  57. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_lv.json +1 -1
  58. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_nb.json +1 -1
  59. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_nl.json +1 -1
  60. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_pl.json +1 -1
  61. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_pt-BR.json +1 -1
  62. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_pt-PT.json +1 -1
  63. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_ro.json +1 -1
  64. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_ru.json +1 -1
  65. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_sk.json +1 -1
  66. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_sl.json +1 -1
  67. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_sr.json +1 -1
  68. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_sv.json +1 -1
  69. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_th.json +1 -1
  70. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_tr.json +1 -1
  71. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_uk.json +1 -1
  72. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_vi.json +1 -1
  73. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_zh-CN.json +1 -1
  74. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_zh-HK.json +1 -1
  75. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_zh-TW.json +1 -1
  76. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_ar.json +1 -1
  77. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_bg.json +1 -1
  78. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_bs.json +1 -1
  79. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_ca.json +1 -1
  80. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_cs.json +1 -1
  81. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_da.json +1 -1
  82. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_de.json +1 -1
  83. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_el.json +1 -1
  84. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_es.json +1 -1
  85. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_et.json +1 -1
  86. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_fi.json +1 -1
  87. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_fr.json +1 -1
  88. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_he.json +1 -1
  89. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_hr.json +1 -1
  90. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_hu.json +1 -1
  91. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_id.json +1 -1
  92. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_it.json +1 -1
  93. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_ja.json +1 -1
  94. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_ko.json +1 -1
  95. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_lt.json +1 -1
  96. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_lv.json +1 -1
  97. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_nb.json +1 -1
  98. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_nl.json +1 -1
  99. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_pl.json +1 -1
  100. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_pt-BR.json +1 -1
  101. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_pt-PT.json +1 -1
  102. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_ro.json +1 -1
  103. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_ru.json +1 -1
  104. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_sk.json +1 -1
  105. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_sl.json +1 -1
  106. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_sr.json +1 -1
  107. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_sv.json +1 -1
  108. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_th.json +1 -1
  109. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_tr.json +1 -1
  110. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_uk.json +1 -1
  111. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_vi.json +1 -1
  112. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_zh-CN.json +1 -1
  113. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_zh-HK.json +1 -1
  114. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_zh-TW.json +1 -1
  115. package/assets/esri/widgets/Daylight/t9n/Daylight.json +1 -1
  116. package/assets/esri/widgets/Daylight/t9n/Daylight_ar.json +1 -1
  117. package/assets/esri/widgets/Daylight/t9n/Daylight_bg.json +1 -1
  118. package/assets/esri/widgets/Daylight/t9n/Daylight_bs.json +1 -1
  119. package/assets/esri/widgets/Daylight/t9n/Daylight_ca.json +1 -1
  120. package/assets/esri/widgets/Daylight/t9n/Daylight_cs.json +1 -1
  121. package/assets/esri/widgets/Daylight/t9n/Daylight_da.json +1 -1
  122. package/assets/esri/widgets/Daylight/t9n/Daylight_de.json +1 -1
  123. package/assets/esri/widgets/Daylight/t9n/Daylight_el.json +1 -1
  124. package/assets/esri/widgets/Daylight/t9n/Daylight_en.json +1 -1
  125. package/assets/esri/widgets/Daylight/t9n/Daylight_es.json +1 -1
  126. package/assets/esri/widgets/Daylight/t9n/Daylight_et.json +1 -1
  127. package/assets/esri/widgets/Daylight/t9n/Daylight_fi.json +1 -1
  128. package/assets/esri/widgets/Daylight/t9n/Daylight_fr.json +1 -1
  129. package/assets/esri/widgets/Daylight/t9n/Daylight_he.json +1 -1
  130. package/assets/esri/widgets/Daylight/t9n/Daylight_hr.json +1 -1
  131. package/assets/esri/widgets/Daylight/t9n/Daylight_hu.json +1 -1
  132. package/assets/esri/widgets/Daylight/t9n/Daylight_id.json +1 -1
  133. package/assets/esri/widgets/Daylight/t9n/Daylight_it.json +1 -1
  134. package/assets/esri/widgets/Daylight/t9n/Daylight_ja.json +1 -1
  135. package/assets/esri/widgets/Daylight/t9n/Daylight_ko.json +1 -1
  136. package/assets/esri/widgets/Daylight/t9n/Daylight_lt.json +1 -1
  137. package/assets/esri/widgets/Daylight/t9n/Daylight_lv.json +1 -1
  138. package/assets/esri/widgets/Daylight/t9n/Daylight_nb.json +1 -1
  139. package/assets/esri/widgets/Daylight/t9n/Daylight_nl.json +1 -1
  140. package/assets/esri/widgets/Daylight/t9n/Daylight_pl.json +1 -1
  141. package/assets/esri/widgets/Daylight/t9n/Daylight_pt-BR.json +1 -1
  142. package/assets/esri/widgets/Daylight/t9n/Daylight_pt-PT.json +1 -1
  143. package/assets/esri/widgets/Daylight/t9n/Daylight_ro.json +1 -1
  144. package/assets/esri/widgets/Daylight/t9n/Daylight_ru.json +1 -1
  145. package/assets/esri/widgets/Daylight/t9n/Daylight_sk.json +1 -1
  146. package/assets/esri/widgets/Daylight/t9n/Daylight_sl.json +1 -1
  147. package/assets/esri/widgets/Daylight/t9n/Daylight_sr.json +1 -1
  148. package/assets/esri/widgets/Daylight/t9n/Daylight_sv.json +1 -1
  149. package/assets/esri/widgets/Daylight/t9n/Daylight_th.json +1 -1
  150. package/assets/esri/widgets/Daylight/t9n/Daylight_tr.json +1 -1
  151. package/assets/esri/widgets/Daylight/t9n/Daylight_uk.json +1 -1
  152. package/assets/esri/widgets/Daylight/t9n/Daylight_vi.json +1 -1
  153. package/assets/esri/widgets/Daylight/t9n/Daylight_zh-CN.json +1 -1
  154. package/assets/esri/widgets/Daylight/t9n/Daylight_zh-HK.json +1 -1
  155. package/assets/esri/widgets/Daylight/t9n/Daylight_zh-TW.json +1 -1
  156. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_ar.json +1 -1
  157. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_bg.json +1 -1
  158. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_bs.json +1 -1
  159. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_ca.json +1 -1
  160. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_cs.json +1 -1
  161. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_da.json +1 -1
  162. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_de.json +1 -1
  163. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_el.json +1 -1
  164. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_es.json +1 -1
  165. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_et.json +1 -1
  166. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_fi.json +1 -1
  167. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_fr.json +1 -1
  168. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_he.json +1 -1
  169. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_hr.json +1 -1
  170. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_hu.json +1 -1
  171. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_id.json +1 -1
  172. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_it.json +1 -1
  173. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_ja.json +1 -1
  174. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_ko.json +1 -1
  175. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_lt.json +1 -1
  176. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_lv.json +1 -1
  177. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_nb.json +1 -1
  178. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_nl.json +1 -1
  179. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_pl.json +1 -1
  180. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_pt-BR.json +1 -1
  181. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_pt-PT.json +1 -1
  182. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_ro.json +1 -1
  183. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_ru.json +1 -1
  184. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_sk.json +1 -1
  185. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_sl.json +1 -1
  186. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_sr.json +1 -1
  187. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_sv.json +1 -1
  188. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_th.json +1 -1
  189. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_tr.json +1 -1
  190. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_uk.json +1 -1
  191. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_vi.json +1 -1
  192. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_zh-CN.json +1 -1
  193. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_zh-HK.json +1 -1
  194. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_zh-TW.json +1 -1
  195. package/assets/esri/widgets/Weather/t9n/Weather.json +1 -1
  196. package/assets/esri/widgets/Weather/t9n/Weather_ar.json +1 -1
  197. package/assets/esri/widgets/Weather/t9n/Weather_bg.json +1 -1
  198. package/assets/esri/widgets/Weather/t9n/Weather_bs.json +1 -1
  199. package/assets/esri/widgets/Weather/t9n/Weather_ca.json +1 -1
  200. package/assets/esri/widgets/Weather/t9n/Weather_cs.json +1 -1
  201. package/assets/esri/widgets/Weather/t9n/Weather_da.json +1 -1
  202. package/assets/esri/widgets/Weather/t9n/Weather_de.json +1 -1
  203. package/assets/esri/widgets/Weather/t9n/Weather_el.json +1 -1
  204. package/assets/esri/widgets/Weather/t9n/Weather_en.json +1 -1
  205. package/assets/esri/widgets/Weather/t9n/Weather_es.json +1 -1
  206. package/assets/esri/widgets/Weather/t9n/Weather_et.json +1 -1
  207. package/assets/esri/widgets/Weather/t9n/Weather_fi.json +1 -1
  208. package/assets/esri/widgets/Weather/t9n/Weather_fr.json +1 -1
  209. package/assets/esri/widgets/Weather/t9n/Weather_he.json +1 -1
  210. package/assets/esri/widgets/Weather/t9n/Weather_hr.json +1 -1
  211. package/assets/esri/widgets/Weather/t9n/Weather_hu.json +1 -1
  212. package/assets/esri/widgets/Weather/t9n/Weather_id.json +1 -1
  213. package/assets/esri/widgets/Weather/t9n/Weather_it.json +1 -1
  214. package/assets/esri/widgets/Weather/t9n/Weather_ja.json +1 -1
  215. package/assets/esri/widgets/Weather/t9n/Weather_ko.json +1 -1
  216. package/assets/esri/widgets/Weather/t9n/Weather_lt.json +1 -1
  217. package/assets/esri/widgets/Weather/t9n/Weather_lv.json +1 -1
  218. package/assets/esri/widgets/Weather/t9n/Weather_nb.json +1 -1
  219. package/assets/esri/widgets/Weather/t9n/Weather_nl.json +1 -1
  220. package/assets/esri/widgets/Weather/t9n/Weather_pl.json +1 -1
  221. package/assets/esri/widgets/Weather/t9n/Weather_pt-BR.json +1 -1
  222. package/assets/esri/widgets/Weather/t9n/Weather_pt-PT.json +1 -1
  223. package/assets/esri/widgets/Weather/t9n/Weather_ro.json +1 -1
  224. package/assets/esri/widgets/Weather/t9n/Weather_ru.json +1 -1
  225. package/assets/esri/widgets/Weather/t9n/Weather_sk.json +1 -1
  226. package/assets/esri/widgets/Weather/t9n/Weather_sl.json +1 -1
  227. package/assets/esri/widgets/Weather/t9n/Weather_sr.json +1 -1
  228. package/assets/esri/widgets/Weather/t9n/Weather_sv.json +1 -1
  229. package/assets/esri/widgets/Weather/t9n/Weather_th.json +1 -1
  230. package/assets/esri/widgets/Weather/t9n/Weather_tr.json +1 -1
  231. package/assets/esri/widgets/Weather/t9n/Weather_uk.json +1 -1
  232. package/assets/esri/widgets/Weather/t9n/Weather_vi.json +1 -1
  233. package/assets/esri/widgets/Weather/t9n/Weather_zh-CN.json +1 -1
  234. package/assets/esri/widgets/Weather/t9n/Weather_zh-HK.json +1 -1
  235. package/assets/esri/widgets/Weather/t9n/Weather_zh-TW.json +1 -1
  236. package/chunks/Heatmap.glsl.js +7 -11
  237. package/chunks/HeatmapDensity.glsl.js +7 -20
  238. package/chunks/Terrain.glsl.js +38 -41
  239. package/chunks/geometryEngineBase.js +1 -1
  240. package/core/Identifiable.js +1 -1
  241. package/core/accessorSupport/originUtils.js +1 -1
  242. package/core/accessorSupport/watch.js +1 -1
  243. package/core/has.js +1 -1
  244. package/core/lang.js +1 -1
  245. package/core/maybe.js +1 -1
  246. package/core/scheduling.js +1 -1
  247. package/core/watchUtils.js +1 -1
  248. package/geometry/projection.js +1 -1
  249. package/geometry/support/aaBoundingRect.js +1 -1
  250. package/interfaces.d.ts +762 -234
  251. package/layers/ImageryTileLayer.js +1 -1
  252. package/layers/TileLayer.js +1 -1
  253. package/layers/VectorTileLayer.js +1 -1
  254. package/layers/WMSLayer.js +1 -1
  255. package/layers/WMTSLayer.js +1 -1
  256. package/layers/WebTileLayer.js +1 -1
  257. package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
  258. package/layers/graphics/controllers/StreamController.js +1 -1
  259. package/layers/mixins/ArcGISImageService.js +1 -1
  260. package/layers/mixins/ImageryTileMixin.js +1 -1
  261. package/layers/support/ImageElement.js +1 -1
  262. package/layers/support/LocalMediaElementSource.js +1 -1
  263. package/layers/support/VideoElement.d.ts +4 -0
  264. package/layers/support/VideoElement.js +5 -0
  265. package/layers/support/imageryRendererUtils.js +1 -1
  266. package/networks/UtilityNetwork.js +1 -1
  267. package/package.json +1 -1
  268. package/portal/schemas/definitions.js +1 -1
  269. package/renderers/HeatmapRenderer.js +1 -1
  270. package/renderers/support/HeatmapColorStop.js +1 -1
  271. package/renderers/support/heatmapUtils.js +1 -1
  272. package/renderers/support/types.js +1 -1
  273. package/smartMapping/renderers/heatmap.js +1 -1
  274. package/smartMapping/statistics/heatmapStatistics.js +1 -1
  275. package/smartMapping/statistics/support/statsWorker.js +1 -1
  276. package/smartMapping/statistics/support/utils.js +1 -1
  277. package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
  278. package/support/revision.js +1 -1
  279. package/views/2d/PaddedViewState.js +1 -1
  280. package/views/2d/engine/webgl/Overlay.js +1 -1
  281. package/views/2d/engine/webgl/brushes/WGLBrushHeatmap.js +1 -1
  282. package/views/2d/engine/webgl/collisions/CollisionEngine.js +1 -1
  283. package/views/2d/engine/webgl/enums.js +1 -1
  284. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  285. package/views/2d/engine/webgl/techniques/heatmap/TechniqueHeatmap.js +1 -1
  286. package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
  287. package/views/2d/layers/MediaLayerView2D.js +1 -1
  288. package/views/2d/layers/WMTSLayerView2D.js +1 -1
  289. package/views/2d/layers/features/schemaUtils.js +1 -1
  290. package/views/2d/layers/features/support/pixelBuffering.js +1 -1
  291. package/views/2d/layers/features/support/rendererUtils.js +1 -1
  292. package/views/2d/layers/features/tileRenderers/HeatmapTileRenderer.js +1 -1
  293. package/views/2d/layers/features/tileRenderers/support/HeatmapSource.js +1 -1
  294. package/views/2d/magnifier/MagnifierView2D.js +1 -1
  295. package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementPathHelper.js +1 -1
  296. package/views/3d/analysis/AreaMeasurementAnalysisView3D.js +1 -1
  297. package/views/3d/analysis/Dimensioning/DimensioningTool.js +1 -1
  298. package/views/3d/analysis/Dimensioning/LengthDimensionSubTool.js +1 -1
  299. package/views/3d/analysis/Dimensioning/LengthDimensionVisualization.js +1 -1
  300. package/views/3d/analysis/LineOfSight/LineOfSightController.js +1 -1
  301. package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
  302. package/views/3d/analysis/LineOfSight/LineOfSightVisualization.js +1 -1
  303. package/views/3d/environment/CloudsGenerator.js +1 -1
  304. package/views/3d/environment/CloudyWeather.js +1 -1
  305. package/views/3d/environment/FoggyWeather.js +1 -1
  306. package/views/3d/environment/RainyWeather.js +1 -1
  307. package/views/3d/environment/SceneViewEnvironment.js +1 -1
  308. package/views/3d/environment/SceneViewEnvironmentManager.js +1 -1
  309. package/views/3d/environment/SnowyWeather.js +1 -1
  310. package/views/3d/environment/Stars.js +1 -1
  311. package/views/3d/environment/SunLighting.js +1 -1
  312. package/views/3d/environment/SunnyWeather.js +1 -1
  313. package/views/3d/environment/VirtualLighting.js +1 -1
  314. package/views/3d/environment/weather.js +1 -1
  315. package/views/3d/interactive/SegmentLabels3D.js +1 -1
  316. package/views/3d/interactive/editingTools/draw/DrawGraphicTool3D.js +1 -1
  317. package/views/3d/interactive/editingTools/moveGraphic/GraphicMoveTool.js +1 -1
  318. package/views/3d/interactive/editingTools/originGraphicVisualElementUtils.js +1 -1
  319. package/views/3d/interactive/editingTools/reshapeGraphic/GraphicReshapeTool.js +1 -1
  320. package/views/3d/interactive/editingTools/reshapeGraphic/ReshapeOperation.js +1 -1
  321. package/views/3d/interactive/editingTools/transformGraphic/ExtentTransformTool.js +1 -1
  322. package/views/3d/interactive/editingTools/transformGraphic/GraphicScaleRotateTransform.js +1 -1
  323. package/views/3d/interactive/editingTools/transformGraphic/GraphicTransformTool.js +1 -1
  324. package/views/3d/layers/MediaLayerView3D.js +1 -1
  325. package/views/3d/layers/VectorTileLayerView3D.js +1 -1
  326. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  327. package/views/3d/layers/support/HeatmapFeatureProcessor.js +1 -1
  328. package/views/3d/state/ConstraintsManager.js +1 -1
  329. package/views/3d/state/ViewStateManager.js +1 -1
  330. package/views/3d/terrain/GeometryState.js +1 -1
  331. package/views/3d/terrain/OverlayManager.js +1 -1
  332. package/views/3d/terrain/PatchGeometry.js +1 -1
  333. package/views/3d/terrain/PatchGeometryFactory.js +1 -1
  334. package/views/3d/terrain/PatchGeometryLUT.js +5 -0
  335. package/views/3d/terrain/PatchRenderData.js +1 -1
  336. package/views/3d/terrain/PlanarPatch.js +1 -1
  337. package/views/3d/terrain/SphericalPatch.js +1 -1
  338. package/views/3d/terrain/TerrainConst.js +1 -1
  339. package/views/3d/terrain/TerrainRenderer.js +1 -1
  340. package/views/3d/terrain/TerrainSurface.js +1 -1
  341. package/views/3d/terrain/Tile.js +1 -1
  342. package/views/3d/terrain/TileCompositor.js +1 -1
  343. package/views/3d/terrain/terrainUtils.js +1 -1
  344. package/views/3d/webgl-engine/core/shaderLibrary/terrain/TerrainTexture.glsl.js +9 -9
  345. package/views/3d/webgl-engine/core/shaderLibrary/terrain/TileBlendInput.js +5 -0
  346. package/views/3d/webgl-engine/lib/DrapedHeatmapRenderer.js +1 -1
  347. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  348. package/views/3d/webgl-engine/lib/Texture.js +1 -1
  349. package/views/3d/webgl-engine/materials/HeatmapDensityMaterial.js +1 -1
  350. package/views/3d/webgl-engine/parts/RenderView.js +1 -1
  351. package/views/3d/webgl-engine/shaders/Heatmap.glsl.js +1 -1
  352. package/views/3d/webgl-engine/shaders/HeatmapDensity.glsl.js +1 -1
  353. package/views/3d/webgl-engine/shaders/HeatmapDensityTechnique.js +1 -1
  354. package/views/3d/webgl-engine/shaders/HeatmapTechnique.js +1 -1
  355. package/views/3d/webgl-engine/shaders/TerrainTechniqueConfiguration.js +1 -1
  356. package/views/SceneView.js +1 -1
  357. package/views/analysis/analysisViewUtils.js +1 -1
  358. package/views/draw/DrawAction.js +1 -1
  359. package/views/draw/DrawOperation.js +1 -1
  360. package/views/draw/SegmentDrawAction.js +1 -1
  361. package/views/interactive/GraphicManipulator.js +1 -1
  362. package/views/interactive/InteractiveToolBase.js +1 -1
  363. package/views/interactive/SegmentLabels.js +1 -1
  364. package/views/interactive/ToolViewManagerManipulatorState.js +1 -1
  365. package/views/interactive/editGeometry/EditGeometry.js +1 -1
  366. package/views/interactive/sketch/SketchLabelOptions.d.ts +4 -0
  367. package/views/interactive/sketch/SketchLabelOptions.js +5 -0
  368. package/views/interactive/sketch/SketchTooltipOptions.d.ts +4 -0
  369. package/views/interactive/sketch/SketchTooltipOptions.js +5 -0
  370. package/views/interactive/snapping/FeatureSnappingEngine.js +1 -1
  371. package/views/interactive/snapping/SceneSnappingManagerPool.js +5 -0
  372. package/views/interactive/snapping/SnappingDragPipelineStep.js +1 -1
  373. package/views/interactive/snapping/SnappingManager.js +1 -1
  374. package/views/interactive/snapping/SnappingOperation.js +5 -0
  375. package/views/interactive/snapping/featureSources/sceneLayerSource/SceneLayerSnappingSourceWorker.js +1 -1
  376. package/views/interactive/snapping/featureSources/sceneLayerSource/SceneLayerSnappingSourceWorkerHandle.js +1 -1
  377. package/views/interactive/support/viewUtils.js +1 -1
  378. package/views/interactive/tooltip/DrawTooltipInfos.js +1 -1
  379. package/views/interactive/tooltip/ExtentTooltipInfos.js +1 -1
  380. package/views/interactive/tooltip/ReshapeTooltipInfos.js +1 -1
  381. package/views/interactive/tooltip/SketchTooltipInfo.js +5 -0
  382. package/views/interactive/tooltip/Tooltip.js +1 -1
  383. package/views/interactive/tooltip/TransformTooltipInfos.js +1 -1
  384. package/views/interactive/tooltip/TranslateTooltipInfos.js +5 -0
  385. package/views/interactive/tooltip/content/TooltipContentDrawPoint.js +1 -1
  386. package/views/interactive/tooltip/content/TooltipContentDrawPolygon.js +1 -1
  387. package/views/interactive/tooltip/content/TooltipContentDrawPolyline.js +1 -1
  388. package/views/interactive/tooltip/content/TooltipContentExtentMoveZ.js +1 -1
  389. package/views/interactive/tooltip/content/TooltipContentExtentRotate.js +1 -1
  390. package/views/interactive/tooltip/content/TooltipContentExtentScale.js +1 -1
  391. package/views/interactive/tooltip/content/TooltipContentReshapeEdgeOffset.js +1 -1
  392. package/views/interactive/tooltip/content/TooltipContentReshapeMoveGraphic.js +5 -0
  393. package/views/interactive/tooltip/content/TooltipContentTransformAbsolute.js +1 -1
  394. package/views/interactive/tooltip/content/TooltipContentTransformRotate.js +1 -1
  395. package/views/interactive/tooltip/content/TooltipContentTransformScale.js +1 -1
  396. package/views/interactive/tooltip/content/TooltipContentTranslateVertex.js +1 -1
  397. package/views/interactive/tooltip/content/tooltipContentFactory.js +1 -1
  398. package/views/overlay/TextOverlayItem.js +1 -1
  399. package/views/support/lengthMeasurementUtils.js +1 -1
  400. package/webscene/Environment.js +1 -1
  401. package/webscene/Slide.js +1 -1
  402. package/webscene/SunLighting.d.ts +4 -0
  403. package/webscene/SunLighting.js +5 -0
  404. package/webscene/VirtualLighting.d.ts +4 -0
  405. package/webscene/VirtualLighting.js +5 -0
  406. package/webscene/lightingTypes.js +5 -0
  407. package/webscene/support/SlideEnvironment.js +1 -1
  408. package/widgets/BasemapGallery/support/PortalBasemapsSource.js +1 -1
  409. package/widgets/BasemapLayerList/BasemapLayerListViewModel.js +1 -1
  410. package/widgets/Daylight/DaylightViewModel.js +1 -1
  411. package/widgets/Daylight.js +1 -1
  412. package/widgets/Editor/EditorViewModel.js +1 -1
  413. package/widgets/Editor/workflowUtils.js +1 -1
  414. package/widgets/Editor.js +1 -1
  415. package/widgets/ElevationProfile.js +1 -1
  416. package/widgets/Feature/FeatureMedia.js +1 -1
  417. package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
  418. package/widgets/FeatureForm.js +1 -1
  419. package/widgets/FeatureTemplates/TemplateItem.js +1 -1
  420. package/widgets/FloorFilter/FloorFilterViewModel.js +1 -1
  421. package/widgets/LayerList/LayerListViewModel.js +1 -1
  422. package/widgets/Legend/LegendViewModel.js +1 -1
  423. package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
  424. package/widgets/Measurement.js +1 -1
  425. package/widgets/Popup/PopupViewModel.js +1 -1
  426. package/widgets/Popup.js +1 -1
  427. package/widgets/Print/FileLink.js +1 -1
  428. package/widgets/ScaleBar.js +1 -1
  429. package/widgets/Search/SearchViewModel.js +1 -1
  430. package/widgets/Sketch/SketchViewModel.js +1 -1
  431. package/widgets/Sketch.js +1 -1
  432. package/widgets/Swipe/SwipeViewModel.js +1 -1
  433. package/widgets/TableList/TableListViewModel.js +1 -1
  434. package/widgets/Weather.js +1 -1
  435. package/widgets/Widget.js +1 -1
  436. package/widgets/smartMapping/SmartMappingSliderBase.js +1 -1
  437. package/widgets/support/AnalysisViewModel.js +1 -1
  438. package/widgets/support/AnchorElementViewModel.js +1 -1
  439. package/widgets/support/tests.js +5 -0
  440. package/assets/esri/core/workers/chunks/1d109cd048170e2d529a.js +0 -1
  441. package/assets/esri/core/workers/chunks/38a752f8bd456c8912a8.js +0 -1
  442. package/assets/esri/core/workers/chunks/4487fb2d274e49bdb2b0.js +0 -1
  443. package/assets/esri/core/workers/chunks/55b2b80b9e3684feaa8e.js +0 -1
  444. package/assets/esri/core/workers/chunks/605202e3c29250650492.js +0 -1
  445. package/assets/esri/core/workers/chunks/7ea06c86adfc827fda08.js +0 -1
  446. package/assets/esri/core/workers/chunks/816ae3f0513ecf856f8f.js +0 -1
  447. package/assets/esri/core/workers/chunks/8417b3d5821b306a0fc4.js +0 -1
  448. package/assets/esri/core/workers/chunks/8793070d288878d6f49b.js +0 -1
  449. package/assets/esri/core/workers/chunks/88912dbc2b60623bc6a3.js +0 -1
  450. package/assets/esri/core/workers/chunks/b97a34d2e7cceef1ac41.js +0 -1
  451. package/assets/esri/core/workers/chunks/cd04bae81e5fc27ec97b.js +0 -1
  452. package/assets/esri/core/workers/chunks/f6aaee4db0bd5096164c.js +0 -1
  453. package/assets/esri/core/workers/chunks/f9d83a48b69c5728feba.js +0 -1
  454. package/assets/esri/core/workers/chunks/fc9b5f40c5179a8c90de.js +0 -1
  455. package/assets/esri/core/workers/chunks/fe18d2d251a5ad80eb54.js +0 -1
  456. package/assets/esri/images/search/search-symbol-32.svg +0 -1
  457. package/assets/esri/themes/base/widgets/_NumericalFeedbackControls.scss +0 -23
  458. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls.json +0 -1
  459. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_ar.json +0 -1
  460. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_bg.json +0 -1
  461. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_bs.json +0 -1
  462. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_ca.json +0 -1
  463. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_cs.json +0 -1
  464. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_da.json +0 -1
  465. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_de.json +0 -1
  466. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_el.json +0 -1
  467. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_en.json +0 -1
  468. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_es.json +0 -1
  469. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_et.json +0 -1
  470. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_fi.json +0 -1
  471. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_fr.json +0 -1
  472. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_he.json +0 -1
  473. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_hr.json +0 -1
  474. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_hu.json +0 -1
  475. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_id.json +0 -1
  476. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_it.json +0 -1
  477. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_ja.json +0 -1
  478. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_ko.json +0 -1
  479. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_lt.json +0 -1
  480. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_lv.json +0 -1
  481. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_nb.json +0 -1
  482. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_nl.json +0 -1
  483. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_pl.json +0 -1
  484. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_pt-BR.json +0 -1
  485. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_pt-PT.json +0 -1
  486. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_ro.json +0 -1
  487. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_ru.json +0 -1
  488. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_sk.json +0 -1
  489. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_sl.json +0 -1
  490. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_sr.json +0 -1
  491. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_sv.json +0 -1
  492. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_th.json +0 -1
  493. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_tr.json +0 -1
  494. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_uk.json +0 -1
  495. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_vi.json +0 -1
  496. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_zh-CN.json +0 -1
  497. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_zh-HK.json +0 -1
  498. package/assets/esri/widgets/support/NumericalFeedbackControls/t9n/NumericalFeedbackControls_zh-TW.json +0 -1
  499. package/views/interactive/tooltip/NumericalFeedbackOptions.d.ts +0 -4
  500. package/views/interactive/tooltip/NumericalFeedbackOptions.js +0 -5
  501. package/views/interactive/tooltip/SegmentLabelOptions.js +0 -5
  502. package/views/interactive/tooltip/TooltipOptions.js +0 -5
  503. package/views/interactive/tooltip/content/TooltipContentExtentMoveXY.js +0 -5
  504. package/webscene/Lighting.d.ts +0 -4
  505. package/webscene/Lighting.js +0 -5
  506. package/widgets/support/NumericalFeedbackControls/NumericalFeedbackControlsViewModel.js +0 -5
  507. package/widgets/support/NumericalFeedbackControls/VisibleElements.js +0 -5
  508. package/widgets/support/NumericalFeedbackControls/css.js +0 -5
  509. package/widgets/support/NumericalFeedbackControls.js +0 -5
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5906],{38171:(e,t,r)=>{r.d(t,{Z:()=>f});var i=r(43697),s=r(66577),n=r(51773),a=r(78223),l=r(2368),o=r(96674),u=r(70586),p=r(99001),d=r(5600),c=(r(67676),r(80442),r(75215),r(52011)),m=r(33955);function h(e){if(!(0,u.pC)(e))return null;const t={};for(const r in e){const i=e[r];i&&(t[r]=i.toJSON())}return 0!==Object.keys(t).length?t:null}let y=class extends((0,l.J)(o.wq)){constructor(...e){super(...e),this.isAggregate=!1,this.layer=null,this.popupTemplate=null,this.sourceLayer=null,Object.defineProperty(this,"uid",{value:(0,p.D)(),configurable:!0})}normalizeCtorArgs(e,t,r,i){return e&&!e.declaredClass?e:{geometry:e,symbol:t,attributes:r,popupTemplate:i}}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),this._notifyLayer("geometry",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;for(const t of[this.sourceLayer,this.layer])if(t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&(0,u.pC)(t.defaultPopupTemplate))return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes&&this.attributes[e]}setAttribute(e,t){if(this.attributes){const r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t},this._notifyLayer("attributes",void 0,t,e)}getObjectId(){return this.sourceLayer&&"objectIdField"in this.sourceLayer&&this.sourceLayer.objectIdField?this.getAttribute(this.sourceLayer.objectIdField):null}toJSON(){return{aggregateGeometries:h(this.aggregateGeometries),geometry:(0,u.pC)(this.geometry)?this.geometry.toJSON():null,symbol:(0,u.pC)(this.symbol)?this.symbol.toJSON():null,attributes:{...this.attributes},popupTemplate:this.popupTemplate&&this.popupTemplate.toJSON()}}notifyGeometryChanged(){this._notifyLayer("geometry",this.geometry,this.geometry)}notifyMeshTransformChanged(){(0,u.pC)(this.geometry)&&"mesh"===this.geometry.type&&this._notifyLayer("transform",this.geometry.transform,this.geometry.transform)}_notifyLayer(e,t,r,i){if(!this.layer||!("graphicChanged"in this.layer))return;const s={graphic:this,property:e,oldValue:t,newValue:r};"attributes"===e&&(s.attributeName=i),this.layer.graphicChanged(s)}};(0,i._)([(0,d.Cb)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const r in e){const i=(0,m.im)(e[r]);i&&(t[r]=i)}return 0!==Object.keys(t).length?t:null}}})],y.prototype,"aggregateGeometries",null),(0,i._)([(0,d.Cb)({value:null})],y.prototype,"attributes",null),(0,i._)([(0,d.Cb)({value:null,types:s.qM,json:{read:m.im}})],y.prototype,"geometry",null),(0,i._)([(0,d.Cb)({type:Boolean})],y.prototype,"isAggregate",void 0),(0,i._)([(0,d.Cb)({clonable:"reference"})],y.prototype,"layer",void 0),(0,i._)([(0,d.Cb)({type:n.Z})],y.prototype,"popupTemplate",void 0),(0,i._)([(0,d.Cb)({clonable:"reference"})],y.prototype,"sourceLayer",void 0),(0,i._)([(0,d.Cb)({value:null,types:a.LB})],y.prototype,"symbol",null),(0,i._)([(0,d.Cb)({type:Boolean,value:!0})],y.prototype,"visible",null),y=(0,i._)([(0,c.j)("esri.Graphic")],y),(y||(y={})).generateUID=p.D;const f=y},84552:(e,t,r)=>{r.d(t,{Z:()=>d});var i,s=r(43697),n=r(96674),a=r(35463),l=r(5600),o=(r(67676),r(80442),r(75215),r(52011)),u=r(78981);let p=i=class extends n.wq{constructor(e){super(e),this.value=0,this.unit="milliseconds"}toMilliseconds(){return(0,a.rJ)(this.value,this.unit,"milliseconds")}clone(){return new i({value:this.value,unit:this.unit})}};(0,s._)([(0,l.Cb)({type:Number,json:{write:!0},nonNullable:!0})],p.prototype,"value",void 0),(0,s._)([(0,l.Cb)({type:u.v.apiValues,json:{type:u.v.jsonValues,read:u.v.read,write:u.v.write},nonNullable:!0})],p.prototype,"unit",void 0),p=i=(0,s._)([(0,o.j)("esri.TimeInterval")],p);const d=p},57435:(e,t,r)=>{r.d(t,{Z:()=>d});var i=r(43697),s=r(80539),n=r(3920),a=r(70586),l=(r(80442),r(20102),r(92604),r(26258),r(87538)),o=r(5600),u=(r(67676),r(75215),r(52011));let p=class extends((0,n.p)(s.Z)){constructor(e){super(e),this.getCollections=null}initialize(){this.handles.add((0,l.EH)((()=>this._refresh())))}destroy(){this.getCollections=null}_refresh(){const e=(0,a.pC)(this.getCollections)?this.getCollections():null;if((0,a.Wi)(e))return void this.removeAll();let t=0;for(const r of e)(0,a.pC)(r)&&(t=this._processCollection(t,r));this.splice(t,this.length)}_createNewInstance(e){return new s.Z(e)}_processCollection(e,t){if(!t)return e;const r=this.itemFilterFunction?this.itemFilterFunction:e=>!!e;for(const i of t)if(i){if(r(i)){const t=this.indexOf(i,e);t>=0?t!==e&&this.reorder(i,e):this.add(i,e),++e}if(this.getChildrenFunction){const t=this.getChildrenFunction(i);if(Array.isArray(t))for(const r of t)e=this._processCollection(e,r);else e=this._processCollection(e,t)}}return e}};(0,i._)([(0,o.Cb)()],p.prototype,"getCollections",void 0),(0,i._)([(0,o.Cb)()],p.prototype,"getChildrenFunction",void 0),(0,i._)([(0,o.Cb)()],p.prototype,"itemFilterFunction",void 0),p=(0,i._)([(0,u.j)("esri.core.CollectionFlattener")],p);const d=p},91040:(e,t,r)=>{r.d(t,{yZ:()=>s});var i=r(67900);function s(e,t){const r=t||e.extent,s=e.width,n=(0,i.c9)(r&&r.spatialReference);return r&&s?r.width/s*n*i.hd*96:0}},25906:(e,t,r)=>{r.r(t),r.d(t,{default:()=>we});var i=r(43697),s=r(68773),n=r(38171),a=r(51773),l=r(3172),o=r(80539),u=r(57435),p=r(3920),d=r(35454),c=r(22974),m=r(70586),h=r(16453),y=r(95330),f=r(17445),g=r(17452),b=r(5600),v=r(75215),w=r(71715),_=r(52011),x=r(30556),C=r(76169),I=r(6570),S=r(82971),E=r(91040),N=r(8744),T=r(87085),O=r(71612),F=r(38009),U=r(16859),L=r(34760),R=r(72965),j=r(28294),P=r(52162),A=r(66677),M=r(21506),D=r(15923);r(67676),r(80442);const Z={visible:"visibleSublayers"};let q=class extends((0,p.p)(D.Z)){constructor(e){super(e),this.scale=0}set layer(e){this._get("layer")!==e&&(this._set("layer",e),this.handles.remove("layer"),e&&this.handles.add([e.sublayers.on("change",(()=>this.notifyChange("visibleSublayers"))),e.on("wms-sublayer-update",(e=>this.notifyChange(Z[e.propertyName])))],"layer"))}get layers(){const{visibleSublayers:e}=this;return e.filter((e=>e.name)).map((e=>e.name)).join(",")}get version(){this.commitProperty("layers");const e=this.layer;return e&&e.commitProperty("imageTransparency"),(this._get("version")||0)+1}get visibleSublayers(){const{layer:e,scale:t}=this,r=e?.sublayers,i=[],s=e=>{const{minScale:r,maxScale:n,sublayers:a,visible:l}=e;l&&(0===t||(0===r||t<=r)&&(0===n||t>=n))&&(a?a.forEach(s):i.unshift(e))};return r?.forEach(s),i}toJSON(){const{layer:e,layers:t}=this,{imageFormat:r,imageTransparency:i,version:s}=e;return{format:r,request:"GetMap",service:"WMS",styles:"",transparent:i?"TRUE":"FALSE",version:s,layers:t}}};(0,i._)([(0,b.Cb)()],q.prototype,"layer",null),(0,i._)([(0,b.Cb)({readOnly:!0})],q.prototype,"layers",null),(0,i._)([(0,b.Cb)({type:Number})],q.prototype,"scale",void 0),(0,i._)([(0,b.Cb)({readOnly:!0})],q.prototype,"version",null),(0,i._)([(0,b.Cb)({readOnly:!0})],q.prototype,"visibleSublayers",null),q=(0,i._)([(0,_.j)("esri.layers.support.ExportWMSImageParameters")],q);var k,V=r(61247),B=r(90578);let W=0,$=k=class extends h.w{constructor(e){super(e),this._sublayersHandles=new V.Z,this.dimensions=null,this.fullExtents=null,this.featureInfoFormat=null,this.featureInfoUrl=null,this.legendUrl=null,this.legendEnabled=!0,this.maxScale=0,this.minScale=0,this.popupEnabled=!1,this.queryable=!1,this.spatialReferences=null}get description(){return this._get("description")}set description(e){this._set("description",e)}get fullExtent(){return this._get("fullExtent")}set fullExtent(e){this._set("fullExtent",e)}readExtent(e,t){return(e=t.extent)?I.Z.fromJSON(e):null}get id(){const e=this._get("id");return null==e?W++:e}set id(e){this._set("id",e)}readLegendUrl(e,t){return t?t.legendUrl||t.legendURL:null}set layer(e){this._set("layer",e),this.sublayers&&this.sublayers.forEach((t=>t.layer=e))}get effectiveScaleRange(){const{minScale:e,maxScale:t}=this;return{minScale:e,maxScale:t}}get name(){return this._get("name")}set name(e){this._set("name",e)}set sublayers(e){const t=this._get("sublayers");t&&(t.forEach((e=>{e.layer=null})),this._sublayersHandles.removeAll(),this._sublayersHandles=null),e&&(e.forEach((e=>{e.parent=this,e.layer=this.layer})),this._sublayersHandles.add([e.on("after-add",(({item:e})=>{e.parent=this,e.layer=this.layer})),e.on("after-remove",(({item:e})=>{e.parent=null,e.layer=null}))])),this._set("sublayers",e)}castSublayers(e){return(0,v.se)(o.Z.ofType(k),e)}get title(){return this._get("title")}set title(e){this._set("title",e)}get visible(){return this._get("visible")}set visible(e){this._setAndNotifyLayer("visible",e)}clone(){const e=new k;return this.hasOwnProperty("description")&&(e.description=this.description),this.hasOwnProperty("fullExtent")&&(e.fullExtent=this.fullExtent.clone()),this.hasOwnProperty("fullExtents")&&(e.fullExtents=this.fullExtents.map((e=>e.clone()))),this.hasOwnProperty("featureInfoFormat")&&(e.featureInfoFormat=this.featureInfoFormat),this.hasOwnProperty("featureInfoUrl")&&(e.featureInfoUrl=this.featureInfoUrl),this.hasOwnProperty("legendUrl")&&(e.legendUrl=this.legendUrl),this.hasOwnProperty("legendEnabled")&&(e.legendEnabled=this.legendEnabled),this.hasOwnProperty("layer")&&(e.layer=this.layer),this.hasOwnProperty("name")&&(e.name=this.name),this.hasOwnProperty("parent")&&(e.parent=this.parent),this.hasOwnProperty("queryable")&&(e.queryable=this.queryable),this.hasOwnProperty("sublayers")&&(e.sublayers=this.sublayers&&this.sublayers.map((e=>e.clone()))),this.hasOwnProperty("spatialReferences")&&(e.spatialReferences=this.spatialReferences.map((e=>e))),this.hasOwnProperty("visible")&&(e.visible=this.visible),this.hasOwnProperty("title")&&(e.title=this.title),e}_setAndNotifyLayer(e,t){const r=this.layer;this._get(e)!==t&&(this._set(e,t),r&&r.emit("wms-sublayer-update",{propertyName:e,id:this.id}))}};(0,i._)([(0,b.Cb)()],$.prototype,"description",null),(0,i._)([(0,b.Cb)({readOnly:!0})],$.prototype,"dimensions",void 0),(0,i._)([(0,b.Cb)({value:null})],$.prototype,"fullExtent",null),(0,i._)([(0,w.r)("fullExtent",["extent"])],$.prototype,"readExtent",null),(0,i._)([(0,b.Cb)()],$.prototype,"fullExtents",void 0),(0,i._)([(0,b.Cb)()],$.prototype,"featureInfoFormat",void 0),(0,i._)([(0,b.Cb)()],$.prototype,"featureInfoUrl",void 0),(0,i._)([(0,b.Cb)({type:Number,json:{write:{enabled:!1,overridePolicy:()=>({ignoreOrigin:!0,enabled:!0})}}})],$.prototype,"id",null),(0,i._)([(0,b.Cb)({type:String,json:{origins:{"web-document":{read:{source:["legendUrl","legendURL"]},write:{target:"legendUrl",ignoreOrigin:!0}}},read:{source:"legendURL"},write:{ignoreOrigin:!0}}})],$.prototype,"legendUrl",void 0),(0,i._)([(0,w.r)(["web-document"],"legendUrl")],$.prototype,"readLegendUrl",null),(0,i._)([(0,b.Cb)({value:!0,type:Boolean,json:{read:{source:"showLegend"},write:{target:"showLegend"},origins:{"web-map":{read:!1,write:!1},"web-scene":{read:!1,write:!1}}}})],$.prototype,"legendEnabled",void 0),(0,i._)([(0,b.Cb)({value:null})],$.prototype,"layer",null),(0,i._)([(0,b.Cb)()],$.prototype,"maxScale",void 0),(0,i._)([(0,b.Cb)()],$.prototype,"minScale",void 0),(0,i._)([(0,b.Cb)({readOnly:!0})],$.prototype,"effectiveScaleRange",null),(0,i._)([(0,b.Cb)({type:String,value:null,json:{read:{source:"name"},write:{ignoreOrigin:!0}}})],$.prototype,"name",null),(0,i._)([(0,b.Cb)()],$.prototype,"parent",void 0),(0,i._)([(0,b.Cb)({type:Boolean,json:{read:{source:"showPopup"},write:{ignoreOrigin:!0,target:"showPopup"}}})],$.prototype,"popupEnabled",void 0),(0,i._)([(0,b.Cb)({type:Boolean,json:{write:{ignoreOrigin:!0}}})],$.prototype,"queryable",void 0),(0,i._)([(0,b.Cb)()],$.prototype,"sublayers",null),(0,i._)([(0,B.p)("sublayers")],$.prototype,"castSublayers",null),(0,i._)([(0,b.Cb)({type:[Number],json:{read:{source:"spatialReferences"}}})],$.prototype,"spatialReferences",void 0),(0,i._)([(0,b.Cb)({type:String,value:null,json:{write:{ignoreOrigin:!0}}})],$.prototype,"title",null),(0,i._)([(0,b.Cb)({type:Boolean,value:!0,json:{read:{source:"defaultVisibility"}}})],$.prototype,"visible",null),$=k=(0,i._)([(0,_.j)("esri.layers.support.WMSSublayer")],$);const H=$;var G=r(20102);const J={84:4326,83:4269,27:4267};function X(e){if(!e)return null;const t={idCounter:-1};"string"==typeof e&&(e=(new DOMParser).parseFromString(e,"text/xml"));const r=e.documentElement;if("ServiceExceptionReport"===r.nodeName){const e=Array.prototype.slice.call(r.childNodes).map((e=>e.textContent)).join("\r\n");throw new G.Z("wmslayer:wms-capabilities-xml-is-not-valid","The server returned errors when the WMS capabilities were requested.",e)}const i=K("Capability",r),s=K("Service",r),n=K("Request",i);if(!i||!s||!n)return null;const a=K("Layer",i);if(!a)return null;const l="WMS_Capabilities"===r.nodeName||"WMT_MS_Capabilities"===r.nodeName?r.getAttribute("version"):"1.3.0",o=te("Title",s,"")||te("Name",s,""),u=te("AccessConstraints",s,""),p=/^none$/i.test(u)?"":u,d=te("Abstract",s,""),c=parseInt(te("MaxWidth",s,"5000"),10),m=parseInt(te("MaxHeight",s,"5000"),10),h=se(n,"GetMap"),y=ie(n,"GetMap"),f=ae(a,l,t);let g,b,v,w=0;if(Array.prototype.slice.call(i.childNodes).forEach((e=>{"Layer"===e.nodeName&&(0===w?g=e:1===w?(f.name&&(f.name="",f.sublayers.push(ae(g,l,t))),f.sublayers.push(ae(e,l,t))):f.sublayers.push(ae(e,l,t)),w++)})),!f)return null;const _=f.fullExtents;if(b=f.sublayers,b||(b=[]),0===b.length&&b.push(f),v=f.extent,!v){const e=new I.Z(b[0].extent);f.extent=e.toJSON(),v=f.extent}const x=f.spatialReferences.length>0?f.spatialReferences:z(f),C=ie(n,"GetFeatureInfo");let S;if(C){const e=se(n,"GetFeatureInfo");e.includes("text/html")?S="text/html":e.includes("text/plain")&&(S="text/plain")}if(!S){const e=t=>{t&&(t.queryable=!1,t.sublayers&&t.sublayers.forEach((t=>{e(t)})))};e(f)}const E=Q(b),N=f.minScale||0,T=f.maxScale||0,O=f.dimensions,F=E.reduce(((e,t)=>e.concat(t.dimensions)),[]),U=O.concat(F).filter(oe);let L=null;if(U.length>0){let e=Number.POSITIVE_INFINITY,t=Number.NEGATIVE_INFINITY;U.forEach((r=>{const{extent:i}=r;!function(e){return Array.isArray(e)&&e.length>0&&e[0]instanceof Date}(i)?i.forEach((r=>{e=Math.min(e,r.min.getTime()),t=Math.max(t,r.max.getTime())})):i.forEach((r=>{e=Math.min(e,r.getTime()),t=Math.max(t,r.getTime())}))})),L={startTimeField:null,endTimeField:null,trackIdField:null,timeExtent:[e,t]}}return{copyright:p,description:d,dimensions:O,extent:v,fullExtents:_,featureInfoFormat:S,featureInfoUrl:C,mapUrl:y,maxWidth:c,maxHeight:m,maxScale:T,minScale:N,layers:E,spatialReferences:x,supportedImageFormatTypes:h,timeInfo:L,title:o,version:l}}function z(e){if(e.spatialReferences.length>0)return e.spatialReferences;if(e.sublayers)for(const t of e.sublayers){const e=z(t);if(e.length>0)return e}return[]}function Q(e){let t=[];return e.forEach((e=>{t.push(e),e.sublayers&&e.sublayers.length&&(t=t.concat(Q(e.sublayers)),delete e.sublayers)})),t}function Y(e,t,r){return t.getAttribute(e)??r}function K(e,t){for(let r=0;r<t.childNodes.length;r++){const i=t.childNodes[r];if(le(i)&&i.nodeName===e)return i}return null}function ee(e,t){const r=[];for(let i=0;i<t.childNodes.length;i++){const s=t.childNodes[i];le(s)&&s.nodeName===e&&r.push(s)}return r}function te(e,t,r){const i=K(e,t);return i?i.textContent:r}function re(e,t,r){if(!e)return null;const i=parseFloat(e.getAttribute("minx")),s=parseFloat(e.getAttribute("miny")),n=parseFloat(e.getAttribute("maxx")),a=parseFloat(e.getAttribute("maxy"));let l,o,u,p;r?(l=isNaN(s)?-Number.MAX_VALUE:s,o=isNaN(i)?-Number.MAX_VALUE:i,u=isNaN(a)?Number.MAX_VALUE:a,p=isNaN(n)?Number.MAX_VALUE:n):(l=isNaN(i)?-Number.MAX_VALUE:i,o=isNaN(s)?-Number.MAX_VALUE:s,u=isNaN(n)?Number.MAX_VALUE:n,p=isNaN(a)?Number.MAX_VALUE:a);const d=new S.Z({wkid:t});return new I.Z({xmin:l,ymin:o,xmax:u,ymax:p,spatialReference:d})}function ie(e,t){const r=K(t,e);if(r){const e=K("DCPType",r);if(e){const t=K("HTTP",e);if(t){const e=K("Get",t);if(e){let t=function(e,t,r,i){const s=K("OnlineResource",r);return s?Y("xlink:href",s,null):null}(0,0,e);if(t)return t.indexOf("&")===t.length-1&&(t=t.substring(0,t.length-1)),function(e,t){const r=[],i=(0,g.mN)(e);for(const e in i.query)i.query.hasOwnProperty(e)&&(t.includes(e.toLowerCase())||r.push(e+"="+i.query[e]));return i.path+(r.length?"?"+r.join("&"):"")}(t,["service","request"])}}}}return null}function se(e,t){const r=ee("Operation",e);if(0===r.length)return ee("Format",K(t,e)).map((e=>e.textContent));const i=[];return r.forEach((e=>{e.getAttribute("name")===t&&ee("Format",e).forEach((e=>{i.push(e.textContent)}))})),i}function ne(e,t,r){const i=K(t,e);if(!i)return r;const{textContent:s}=i;if(null==s||""===s)return r;const n=Number(s);return isNaN(n)?r:n}function ae(e,t,r){if(!e)return null;const i={id:r.idCounter++,fullExtents:[],parentLayerId:null,queryable:"1"===e.getAttribute("queryable"),spatialReferences:[],sublayers:null},s=K("LatLonBoundingBox",e),n=K("EX_GeographicBoundingBox",e);let a=null;s&&(a=re(s,4326)),n&&(a=new I.Z(0,0,0,0,new S.Z({wkid:4326})),a.xmin=parseFloat(te("westBoundLongitude",n,"0")),a.ymin=parseFloat(te("southBoundLatitude",n,"0")),a.xmax=parseFloat(te("eastBoundLongitude",n,"0")),a.ymax=parseFloat(te("northBoundLatitude",n,"0"))),s||n||(a=new I.Z(-180,-90,180,90,new S.Z({wkid:4326}))),i.minScale=ne(e,"MaxScaleDenominator",0),i.maxScale=ne(e,"MinScaleDenominator",0);const l=["1.0.0","1.1.0","1.1.1"].includes(t)?"SRS":"CRS";return Array.prototype.slice.call(e.childNodes).forEach((e=>{if("Name"===e.nodeName)i.name=e.textContent||"";else if("Title"===e.nodeName)i.title=e.textContent||"";else if("Abstract"===e.nodeName)i.description=e.textContent||"";else if("BoundingBox"===e.nodeName){const r=e.getAttribute(l);if(r&&0===r.indexOf("EPSG:")){const i=parseInt(r.substring(5),10);0===i||isNaN(i)||a||(a="1.3.0"===t?re(e,i,(0,P.A)(i)):re(e,i))}const s=r&&r.indexOf(":");if(s&&s>-1){let n=parseInt(r.substring(s+1,r.length),10);0===n||isNaN(n)||(n=J[n]?J[n]:n);const a="1.3.0"===t?re(e,n,(0,P.A)(n)):re(e,n);i.fullExtents.push(a)}}else if(e.nodeName===l)e.textContent.split(" ").forEach((e=>{const t=e.includes(":")?parseInt(e.split(":")[1],10):parseInt(e,10);if(0!==t&&!isNaN(t)){const e=J[t]?J[t]:t;i.spatialReferences.includes(e)||i.spatialReferences.push(e)}}));else if("Style"!==e.nodeName||i.legendURL){if("Layer"===e.nodeName){const s=ae(e,t,r);s&&(s.parentLayerId=i.id,i.sublayers||(i.sublayers=[]),i.sublayers.push(s))}}else{const t=K("LegendURL",e);if(t){const e=K("OnlineResource",t);e&&(i.legendURL=e.getAttribute("xlink:href"))}}})),i.extent=a?.toJSON(),i.dimensions=ee("Dimension",e).filter((e=>e.getAttribute("name")&&e.getAttribute("units")&&e.textContent)).map((e=>{const t=e.getAttribute("name"),r=e.getAttribute("units"),i=e.textContent,s=e.getAttribute("unitSymbol"),n=e.getAttribute("default"),a="0"!==Y("default",e,"0"),l="0"!==Y("nearestValue",e,"0"),o="0"!==Y("current",e,"0");return oe({name:t,units:r})?{name:"time",units:"ISO8601",extent:de(i),default:de(n),multipleValues:a,nearestValue:l,current:o}:function(e){return/^elevation$/i.test(e.name)&&/^(epsg|crs):\d+$/i.test(e.units)}({name:t,units:r})?{name:"elevation",units:r,extent:ue(i),unitSymbol:s,default:ue(n),multipleValues:a,nearestValue:l}:{name:t,units:r,extent:pe(i),unitSymbol:s,default:pe(n),multipleValues:a,nearestValue:l}})),i}function le(e){return e.nodeType===Node.ELEMENT_NODE}function oe(e){return/^time$/i.test(e.name)&&/^iso8601$/i.test(e.units)}function ue(e){if(!e)return null;const t=e.includes("/"),r=e.split(",");return t?r.map((e=>{const t=e.split("/");return t.length<2?null:{min:parseFloat(t[0]),max:parseFloat(t[1]),resolution:t.length>=3&&"0"!==t[2]?parseFloat(t[2]):void 0}})).filter((e=>e)):r.map((e=>parseFloat(e)))}function pe(e){if(!e)return null;const t=e.includes("/"),r=e.split(",");return t?r.map((e=>{const t=e.split("/");return t.length<2?null:{min:t[0],max:t[1],resolution:t.length>=3&&"0"!==t[2]?t[2]:void 0}})).filter((e=>e)):r}function de(e){if(!e)return null;const t=e.includes("/"),r=e.split(",");return t?r.map((e=>{const t=e.split("/");return t.length<2?null:{min:new Date(t[0]),max:new Date(t[1]),resolution:t.length>=3&&"0"!==t[2]?ce(t[2]):void 0}})).filter((e=>e)):r.map((e=>new Date(e)))}function ce(e){const t=e.match(/(?:p(\d+y|\d+(?:.|,)\d+y)?(\d+m|\d+(?:.|,)\d+m)?(\d+d|\d+(?:.|,)\d+d)?)?(?:t(\d+h|\d+(?:.|,)\d+h)?(\d+m|\d+(?:.|,)\d+m)?(\d+s|\d+(?:.|,)\d+s)?)?/i);return t?{years:me(t[1]),months:me(t[2]),days:me(t[3]),hours:me(t[4]),minutes:me(t[5]),seconds:me(t[6])}:null}function me(e){if(!e)return 0;const t=e.match(/(?:\d+(?:.|,)\d+|\d+)/);if(!t)return 0;const r=t[0].replace(",",".");return Number(r)}function he(e){return e.toISOString().replace(/\.[0-9]{3}/,"")}const ye=new Set([102100,3857,102113,900913]),fe=new Set([3395,54004]),ge=new d.X({bmp:"image/bmp",gif:"image/gif",jpg:"image/jpeg",png:"image/png",svg:"image/svg+xml"},{ignoreUnknown:!1});let be=class extends((0,p.p)((0,O.h)((0,j.n)((0,L.Q)((0,R.M)((0,F.q)((0,U.I)((0,h.R)(T.Z))))))))){constructor(...e){super(...e),this.allSublayers=new u.Z({getCollections:()=>[this.sublayers],getChildrenFunction:e=>e.sublayers}),this.customParameters=null,this.customLayerParameters=null,this.copyright=null,this.description=null,this.dimensions=null,this.fullExtent=null,this.fullExtents=null,this.featureInfoFormat=null,this.featureInfoUrl=null,this.imageFormat=null,this.imageMaxHeight=2048,this.imageMaxWidth=2048,this.imageTransparency=!0,this.legendEnabled=!0,this.mapUrl=null,this.isReference=null,this.operationalLayerType="WMS",this.spatialReference=null,this.spatialReferences=null,this.sublayers=null,this.type="wms",this.url=null,this.version=null;const t="wms-sublayer";this.own((0,f.YP)((()=>this.sublayers),((e,r)=>{if(r){for(const e of r)e.layer=null;this.handles.remove(t)}if(e){for(const t of e)t.parent=this,t.layer=this;this.handles.add([e.on("after-add",(({item:e})=>{e.parent=this,e.layer=this})),e.on("after-remove",(({item:e})=>{e.parent=null,e.layer=null}))],t)}}),f.Z_))}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=(0,m.pC)(e)?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["WMS"]},e).catch(y.r9).then((()=>this._fetchService(t)))),Promise.resolve(this)}readFullExtentFromItemOrMap(e,t){const r=t.extent;return new I.Z({xmin:r[0][0],ymin:r[0][1],xmax:r[1][0],ymax:r[1][1]})}writeFullExtent(e,t){t.extent=[[e.xmin,e.ymin],[e.xmax,e.ymax]]}readImageFormat(e,t){const r=t.supportedImageFormatTypes;return r&&r.includes("image/png")?"image/png":r&&r[0]}readSpatialReferenceFromItemOrDocument(e,t){return new S.Z(t.spatialReferences[0])}writeSpatialReferences(e,t){const r=this.spatialReference&&this.spatialReference.wkid;e&&r?(t.spatialReferences=e.filter((e=>e!==r)),t.spatialReferences.unshift(r)):t.spatialReferences=e}readSublayersFromItemOrMap(e,t,r){return ve(t.layers,r,t.visibleLayers)}readSublayers(e,t,r){return ve(t.layers,r)}writeSublayers(e,t,r,i){t.layers=[];const s=new Map,n=e.flatten((({sublayers:e})=>e&&e.toArray())).toArray();n.forEach((e=>{"number"==typeof e.parent.id&&(s.has(e.parent.id)?s.get(e.parent.id).push(e.id):s.set(e.parent.id,[e.id]))})),n.forEach((e=>{const r={sublayer:e,...i},n=e.write({parentLayerId:"number"==typeof e.parent.id?e.parent.id:-1},r);if(s.has(e.id)&&(n.sublayerIds=s.get(e.id)),!e.sublayers&&e.name){const i=e.write({},r);delete i.id,t.layers.push(i)}})),t.visibleLayers=n.filter((e=>e.visible&&!e.sublayers)).map((e=>e.name))}createExportImageParameters(e,t,r,i){const s=i&&i.pixelRatio||1,n=(0,E.yZ)({extent:e,width:t})*s,a=new q({layer:this,scale:n}),{xmin:l,ymin:o,xmax:u,ymax:p,spatialReference:d}=e,c=function(e,t){let r=e.wkid;return(0,m.Wi)(t)?r:(!t.includes(r)&&e.latestWkid&&(r=e.latestWkid),ye.has(r)?t.find((e=>ye.has(e)))||t.find((e=>fe.has(e)))||102100:r)}(d,this.spatialReferences),h="1.3.0"===this.version&&(0,P.A)(c)?`${o},${l},${p},${u}`:`${l},${o},${u},${p}`,y=a.toJSON();return{bbox:h,["1.3.0"===this.version?"crs":"srs"]:isNaN(c)?void 0:"EPSG:"+c,...y}}async fetchImage(e,t,r,i){const s=this.mapUrl,n=this.createExportImageParameters(e,t,r,i);if(!n.layers){const e=document.createElement("canvas");return e.width=t,e.height=r,e}const a=i?.timeExtent?.start,o=i?.timeExtent?.end,u=(0,m.pC)(a)&&(0,m.pC)(o)?a.getTime()===o.getTime()?he(a):`${he(a)}/${he(o)}`:void 0,p={responseType:"image",query:this._mixCustomParameters({width:t,height:r,...n,time:u,...this.refreshParameters}),signal:i?.signal};return(0,l.default)(s,p).then((e=>e.data))}fetchFeatureInfo(e,t,r,i,s){const l=(0,E.yZ)({extent:e,width:t}),o=function(e){return e.length?e.filter((e=>e.popupEnabled&&e.name&&e.queryable)).map((e=>e.name)).join(","):""}(new q({layer:this,scale:l}).visibleSublayers);if(!this.featureInfoUrl||!o)return null;const u="1.3.0"===this.version?{I:i,J:s}:{x:i,y:s},p={query_layers:o,request:"GetFeatureInfo",info_format:this.featureInfoFormat,feature_count:25,width:t,height:r,...u},d={...this.createExportImageParameters(e,t,r),...p},c=this._mixCustomParameters(d),m=(0,g.fl)(this.featureInfoUrl,c),h=document.createElement("iframe");h.src=m,h.style.border="none",h.style.margin="0",h.style.width="100%",h.setAttribute("sandbox","");const y=new a.Z({title:this.title,content:h});return new n.Z({sourceLayer:this,popupTemplate:y})}findSublayerById(e){return this.allSublayers.find((t=>t.id===e))}findSublayerByName(e){return this.allSublayers.find((t=>t.name===e))}serviceSupportsSpatialReference(e){return(0,A.G)(this.url)||this.spatialReferences.some((t=>{const r=900913===t?S.Z.WebMercator:new S.Z({wkid:t});return(0,N.fS)(r,e)}))}async _fetchService(e){if(!this.resourceInfo){this.parsedUrl.query&&this.parsedUrl.query.service&&(this.parsedUrl.query.SERVICE=this.parsedUrl.query.service,delete this.parsedUrl.query.service),this.parsedUrl.query&&this.parsedUrl.query.request&&(this.parsedUrl.query.REQUEST=this.parsedUrl.query.request,delete this.parsedUrl.query.request);const t=await(0,l.default)(this.parsedUrl.path,{query:{SERVICE:"WMS",REQUEST:"GetCapabilities",...this.parsedUrl.query,...this.customParameters},responseType:"xml",signal:e});this.resourceInfo=X(t.data)}if(this.parsedUrl){const e=new g.R9(this.parsedUrl.path);"https"!==e.scheme||e.port&&"443"!==e.port||s.Z.request.httpsDomains.includes(e.host)||s.Z.request.httpsDomains.push(e.host)}this.read(this.resourceInfo,{origin:"service"})}_mixCustomParameters(e){if(!this.customLayerParameters&&!this.customParameters)return e;const t={...this.customParameters,...this.customLayerParameters};for(const r in t)e[r.toLowerCase()]=t[r];return e}};function ve(e,t,r){const i=new Map;e.every((e=>null==e.id))&&(e=(0,c.d9)(e)).forEach(((e,t)=>e.id=t));for(const s of e){const e=new H;e.read(s,t),-1===r?.indexOf(e.name)&&(e.visible=!1),i.set(e.id,e)}const s=[];for(const t of e){const e=i.get(t.id);if(null!=t.parentLayerId&&t.parentLayerId>=0){const r=i.get(t.parentLayerId);r.sublayers||(r.sublayers=new o.Z),r.sublayers.unshift(e)}else s.unshift(e)}return s}(0,i._)([(0,b.Cb)({readOnly:!0})],be.prototype,"allSublayers",void 0),(0,i._)([(0,b.Cb)({json:{type:Object,write:!0}})],be.prototype,"customParameters",void 0),(0,i._)([(0,b.Cb)({json:{type:Object,write:!0}})],be.prototype,"customLayerParameters",void 0),(0,i._)([(0,b.Cb)({type:String,json:{write:!0}})],be.prototype,"copyright",void 0),(0,i._)([(0,b.Cb)()],be.prototype,"description",void 0),(0,i._)([(0,b.Cb)({readOnly:!0})],be.prototype,"dimensions",void 0),(0,i._)([(0,b.Cb)({json:{type:[[Number]],read:{source:"extent"},write:{target:"extent"},origins:{"web-document":{write:{ignoreOrigin:!0}},"portal-item":{write:{ignoreOrigin:!0}}}}})],be.prototype,"fullExtent",void 0),(0,i._)([(0,w.r)(["web-document","portal-item"],"fullExtent",["extent"])],be.prototype,"readFullExtentFromItemOrMap",null),(0,i._)([(0,x.c)(["web-document","portal-item"],"fullExtent",{extent:{type:[[Number]]}})],be.prototype,"writeFullExtent",null),(0,i._)([(0,b.Cb)()],be.prototype,"fullExtents",void 0),(0,i._)([(0,b.Cb)({type:String,json:{write:{ignoreOrigin:!0}}})],be.prototype,"featureInfoFormat",void 0),(0,i._)([(0,b.Cb)({type:String,json:{write:{ignoreOrigin:!0}}})],be.prototype,"featureInfoUrl",void 0),(0,i._)([(0,b.Cb)({type:String,json:{origins:{"web-document":{default:"image/png",type:ge.jsonValues,read:{reader:ge.read,source:"format"},write:{writer:ge.write,target:"format"}}}}})],be.prototype,"imageFormat",void 0),(0,i._)([(0,w.r)("imageFormat",["supportedImageFormatTypes"])],be.prototype,"readImageFormat",null),(0,i._)([(0,b.Cb)({type:Number,json:{read:{source:"maxHeight"},write:{target:"maxHeight"}}})],be.prototype,"imageMaxHeight",void 0),(0,i._)([(0,b.Cb)({type:Number,json:{read:{source:"maxWidth"},write:{target:"maxWidth"}}})],be.prototype,"imageMaxWidth",void 0),(0,i._)([(0,b.Cb)()],be.prototype,"imageTransparency",void 0),(0,i._)([(0,b.Cb)(M.rn)],be.prototype,"legendEnabled",void 0),(0,i._)([(0,b.Cb)({type:["show","hide","hide-children"]})],be.prototype,"listMode",void 0),(0,i._)([(0,b.Cb)({type:String,json:{write:{ignoreOrigin:!0}}})],be.prototype,"mapUrl",void 0),(0,i._)([(0,b.Cb)({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],be.prototype,"isReference",void 0),(0,i._)([(0,b.Cb)({type:["WMS"]})],be.prototype,"operationalLayerType",void 0),(0,i._)([(0,b.Cb)()],be.prototype,"resourceInfo",void 0),(0,i._)([(0,b.Cb)({type:S.Z,json:{origins:{service:{read:{source:"extent.spatialReference"}}},write:!1}})],be.prototype,"spatialReference",void 0),(0,i._)([(0,w.r)(["web-document","portal-item"],"spatialReference",["spatialReferences"])],be.prototype,"readSpatialReferenceFromItemOrDocument",null),(0,i._)([(0,b.Cb)({type:[v.z8],json:{read:!1,origins:{service:{read:!0},"web-document":{read:!1,write:{ignoreOrigin:!0}},"portal-item":{read:!1,write:{ignoreOrigin:!0}}}}})],be.prototype,"spatialReferences",void 0),(0,i._)([(0,x.c)(["web-document","portal-item"],"spatialReferences")],be.prototype,"writeSpatialReferences",null),(0,i._)([(0,b.Cb)({type:o.Z.ofType(H),json:{write:{target:"layers",overridePolicy(e,t,r){if(function(e,t){return e.some((e=>{for(const r in e)if((0,C.d)(e,r,null,t))return!0;return!1}))}(this.allSublayers,r))return{ignoreOrigin:!0}}}}})],be.prototype,"sublayers",void 0),(0,i._)([(0,w.r)(["web-document","portal-item"],"sublayers",["layers","visibleLayers"])],be.prototype,"readSublayersFromItemOrMap",null),(0,i._)([(0,w.r)("service","sublayers",["layers"])],be.prototype,"readSublayers",null),(0,i._)([(0,x.c)("sublayers",{layers:{type:[H]},visibleLayers:{type:[String]}})],be.prototype,"writeSublayers",null),(0,i._)([(0,b.Cb)({json:{read:!1},readOnly:!0,value:"wms"})],be.prototype,"type",void 0),(0,i._)([(0,b.Cb)(M.HQ)],be.prototype,"url",void 0),(0,i._)([(0,b.Cb)({type:String,json:{write:{ignoreOrigin:!0}}})],be.prototype,"version",void 0),be=(0,i._)([(0,_.j)("esri.layers.WMSLayer")],be);const we=be},16859:(e,t,r)=>{r.d(t,{I:()=>w});var i=r(43697),s=r(40330),n=r(3172),a=r(66643),l=r(20102),o=r(92604),u=r(70586),p=r(95330),d=r(17452),c=r(5600),m=(r(67676),r(80442),r(75215),r(71715)),h=r(52011),y=r(30556),f=r(65587),g=r(15235),b=r(86082);const v=o.Z.getLogger("esri.layers.mixins.PortalLayer"),w=e=>{let t=class extends e{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0}destroy(){this.portalItem?.destroy(),this.portalItem=null}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new g.default({id:t.itemId,portal:r&&r.portal})}writePortalItem(e,t){e&&e.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem&&this.portalItem.id)try{const i=await r.e(8062).then(r.bind(r,18062));return(0,p.k_)(t),await i.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?s.id?.findCredential(this.url):null;if(!t)return!0;const r=_.credential===t?_.user:await this._fetchEditingUser(e);return _.credential=t,_.user=r,(0,u.Wi)(r)||null==r.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const r=s.id.findServerInfo(this.url);if(!r?.owningSystemUrl)return null;const i=`${r.owningSystemUrl}/sharing/rest`,l=f.Z.getDefault();if(l&&l.loaded&&(0,d.Fv)(l.restUrl)===(0,d.Fv)(i))return l.user;const o=`${i}/community/self`,p=(0,u.pC)(e)?e.signal:null,c=await(0,a.q6)((0,n.default)(o,{authMode:"no-prompt",query:{f:"json"},signal:p}));return c.ok?b.default.fromJSON(c.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t&&t.portal,i=this.portalItem&&this.portalItem.id&&(this.portalItem.portal||f.Z.getDefault());return r&&i&&!(0,d.tm)(i.restUrl,r.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, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,i._)([(0,c.Cb)({type:g.default})],t.prototype,"portalItem",null),(0,i._)([(0,m.r)("web-document","portalItem",["itemId"])],t.prototype,"readPortalItem",null),(0,i._)([(0,y.c)("web-document","portalItem",{itemId:{type:String}})],t.prototype,"writePortalItem",null),(0,i._)([(0,c.Cb)({clonable:!1})],t.prototype,"resourceReferences",void 0),(0,i._)([(0,c.Cb)({readOnly:!0})],t.prototype,"userHasEditingPrivileges",void 0),t=(0,i._)([(0,h.j)("esri.layers.mixins.PortalLayer")],t),t},_={credential:null,user:null}},34760:(e,t,r)=>{r.d(t,{Q:()=>g});var i=r(43697),s=r(92604),n=r(95330),a=r(5600),l=(r(67676),r(80442),r(75215),r(52011)),o=r(80539),u=(r(20102),r(26258),r(87538));const p=new o.Z,d=new WeakMap;function c(e){return e&&"object"==typeof e&&"refreshInterval"in e&&"refresh"in e}function m(e,t){return Number.isFinite(e)&&Number.isFinite(t)?t<=0?e:m(t,e%t):0}let h=0,y=0;function f(){const e=Date.now();for(const t of p)t.refreshInterval&&e-(d.get(t)??0)+5>=6e4*t.refreshInterval&&(d.set(t,e),t.refresh(e))}(0,u.EH)((()=>{const e=Date.now();let t=0;for(const r of p)t=m(Math.round(6e4*r.refreshInterval),t),r.refreshInterval?d.get(r)||d.set(r,e):d.delete(r);if(t!==y){if(y=t,clearInterval(h),0===y)return void(h=0);h=setInterval(f,y)}}));const g=e=>{let t=class extends e{constructor(...e){super(...e),this.refreshInterval=0,this.refreshTimestamp=0,this._debounceHasDataChanged=(0,n.Ds)((()=>this.hasDataChanged())),this.when().then((()=>{!function(e){c(e)&&p.push(e)}(this)}),(()=>{}))}destroy(){c(this)&&p.includes(this)&&p.remove(this)}get refreshParameters(){return{_ts:this.refreshTimestamp||null}}refresh(e=Date.now()){(0,n.R8)(this._debounceHasDataChanged()).then((t=>{t&&this._set("refreshTimestamp",e),this.emit("refresh",{dataChanged:t})}),(e=>{s.Z.getLogger(this.declaredClass).error(e),this.emit("refresh",{dataChanged:!1,error:e})}))}async hasDataChanged(){return!0}};return(0,i._)([(0,a.Cb)({type:Number,cast:e=>e>=.1?e:e<=0?0:.1,json:{write:!0}})],t.prototype,"refreshInterval",void 0),(0,i._)([(0,a.Cb)({readOnly:!0})],t.prototype,"refreshTimestamp",void 0),(0,i._)([(0,a.Cb)()],t.prototype,"refreshParameters",null),t=(0,i._)([(0,l.j)("esri.layers.mixins.RefreshableLayer")],t),t}},28294:(e,t,r)=>{r.d(t,{n:()=>c});var i=r(43697),s=r(92835),n=r(84552),a=r(5600),l=(r(67676),r(80442),r(75215),r(71715)),o=r(52011),u=r(35671),p=r(30547),d=r(78981);const c=e=>{let t=class extends e{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const r=t.timeInfo.exportOptions;if(!r)return null;const i=r.timeOffset,s=d.v.fromJSON(r.timeOffsetUnits);return i&&s?new n.Z({value:i,unit:s}):null}set timeInfo(e){(0,u.UF)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,i._)([(0,a.Cb)({type:s.Z,json:{write:!1}})],t.prototype,"timeExtent",void 0),(0,i._)([(0,a.Cb)({type:n.Z})],t.prototype,"timeOffset",void 0),(0,i._)([(0,l.r)("service","timeOffset",["timeInfo.exportOptions"])],t.prototype,"readOffset",null),(0,i._)([(0,a.Cb)({value:null,type:p.Z,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],t.prototype,"timeInfo",null),(0,i._)([(0,a.Cb)({type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation"},origins:{"web-scene":{read:!1,write:!1}}}})],t.prototype,"useViewTime",void 0),t=(0,i._)([(0,o.j)("esri.layers.mixins.TemporalLayer")],t),t}},52162:(e,t,r)=>{r.d(t,{A:()=>s});const i=[[3819,3819],[3821,3824],[3889,3889],[3906,3906],[4001,4025],[4027,4036],[4039,4047],[4052,4055],[4074,4075],[4080,4081],[4120,4176],[4178,4185],[4188,4216],[4218,4289],[4291,4304],[4306,4319],[4322,4326],[4463,4463],[4470,4470],[4475,4475],[4483,4483],[4490,4490],[4555,4558],[4600,4646],[4657,4765],[4801,4811],[4813,4821],[4823,4824],[4901,4904],[5013,5013],[5132,5132],[5228,5229],[5233,5233],[5246,5246],[5252,5252],[5264,5264],[5324,5340],[5354,5354],[5360,5360],[5365,5365],[5370,5373],[5381,5381],[5393,5393],[5451,5451],[5464,5464],[5467,5467],[5489,5489],[5524,5524],[5527,5527],[5546,5546],[2044,2045],[2081,2083],[2085,2086],[2093,2093],[2096,2098],[2105,2132],[2169,2170],[2176,2180],[2193,2193],[2200,2200],[2206,2212],[2319,2319],[2320,2462],[2523,2549],[2551,2735],[2738,2758],[2935,2941],[2953,2953],[3006,3030],[3034,3035],[3038,3051],[3058,3059],[3068,3068],[3114,3118],[3126,3138],[3150,3151],[3300,3301],[3328,3335],[3346,3346],[3350,3352],[3366,3366],[3389,3390],[3416,3417],[3833,3841],[3844,3850],[3854,3854],[3873,3885],[3907,3910],[4026,4026],[4037,4038],[4417,4417],[4434,4434],[4491,4554],[4839,4839],[5048,5048],[5105,5130],[5253,5259],[5269,5275],[5343,5349],[5479,5482],[5518,5519],[5520,5520],[20004,20032],[20064,20092],[21413,21423],[21473,21483],[21896,21899],[22171,22177],[22181,22187],[22191,22197],[25884,25884],[27205,27232],[27391,27398],[27492,27492],[28402,28432],[28462,28492],[30161,30179],[30800,30800],[31251,31259],[31275,31279],[31281,31290],[31466,31700]];function s(e){return i.some((([t,r])=>e>=t&&e<=r))}},30547:(e,t,r)=>{r.d(t,{Z:()=>v});var i,s=r(43697),n=r(92835),a=r(84552),l=r(96674),o=r(22974),u=r(70586),p=r(5600),d=(r(75215),r(71715)),c=r(52011),m=r(30556);r(67676),r(80442);let h=i=class extends l.wq{constructor(e){super(e),this.respectsDaylightSaving=!1,this.timezone=null}readRespectsDaylightSaving(e,t){return void 0!==t.respectsDaylightSaving?t.respectsDaylightSaving:void 0!==t.respectDaylightSaving&&t.respectDaylightSaving}clone(){const{respectsDaylightSaving:e,timezone:t}=this;return new i({respectsDaylightSaving:e,timezone:t})}};(0,s._)([(0,p.Cb)({type:Boolean,json:{write:!0}})],h.prototype,"respectsDaylightSaving",void 0),(0,s._)([(0,d.r)("respectsDaylightSaving",["respectsDaylightSaving","respectDaylightSaving"])],h.prototype,"readRespectsDaylightSaving",null),(0,s._)([(0,p.Cb)({type:String,json:{read:{source:"timeZone"},write:{target:"timeZone"}}})],h.prototype,"timezone",void 0),h=i=(0,s._)([(0,c.j)("esri.layers.support.TimeReference")],h);const y=h;var f,g=r(78981);let b=f=class extends l.wq{constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeReference=null,this.trackIdField=null,this.useTime=!0}readFullTimeExtent(e,t){if(!t.timeExtent||!Array.isArray(t.timeExtent)||2!==t.timeExtent.length)return null;const r=new Date(t.timeExtent[0]),i=new Date(t.timeExtent[1]);return new n.Z({start:r,end:i})}writeFullTimeExtent(e,t){e&&(0,u.pC)(e.start)&&(0,u.pC)(e.end)?t.timeExtent=[e.start.getTime(),e.end.getTime()]:t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?new a.Z({value:t.timeInterval,unit:g.v.fromJSON(t.timeIntervalUnits)}):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?new a.Z({value:t.defaultTimeInterval,unit:g.v.fromJSON(t.defaultTimeIntervalUnits)}):null}writeInterval(e,t){if(e){const r=e.toJSON();t.timeInterval=r.value,t.timeIntervalUnits=r.unit}else t.timeInterval=null,t.timeIntervalUnits=null}clone(){const{cumulative:e,endField:t,hasLiveData:r,interval:i,startField:s,timeReference:n,fullTimeExtent:a,trackIdField:l,useTime:u}=this;return new f({cumulative:e,endField:t,hasLiveData:r,interval:i,startField:s,timeReference:(0,o.d9)(n),fullTimeExtent:(0,o.d9)(a),trackIdField:l,useTime:u})}};(0,s._)([(0,p.Cb)({type:Boolean,json:{read:{source:"exportOptions.timeDataCumulative"},write:{target:"exportOptions.timeDataCumulative"}}})],b.prototype,"cumulative",void 0),(0,s._)([(0,p.Cb)({type:String,json:{read:{source:"endTimeField"},write:{target:"endTimeField",allowNull:!0}}})],b.prototype,"endField",void 0),(0,s._)([(0,p.Cb)({type:n.Z,json:{write:{enabled:!0,allowNull:!0}}})],b.prototype,"fullTimeExtent",void 0),(0,s._)([(0,d.r)("fullTimeExtent",["timeExtent"])],b.prototype,"readFullTimeExtent",null),(0,s._)([(0,m.c)("fullTimeExtent")],b.prototype,"writeFullTimeExtent",null),(0,s._)([(0,p.Cb)({type:Boolean,json:{write:!0}})],b.prototype,"hasLiveData",void 0),(0,s._)([(0,p.Cb)({type:a.Z,json:{write:{enabled:!0,allowNull:!0}}})],b.prototype,"interval",void 0),(0,s._)([(0,d.r)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],b.prototype,"readInterval",null),(0,s._)([(0,m.c)("interval")],b.prototype,"writeInterval",null),(0,s._)([(0,p.Cb)({type:String,json:{read:{source:"startTimeField"},write:{target:"startTimeField",allowNull:!0}}})],b.prototype,"startField",void 0),(0,s._)([(0,p.Cb)({type:y,json:{write:{enabled:!0,allowNull:!0}}})],b.prototype,"timeReference",void 0),(0,s._)([(0,p.Cb)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],b.prototype,"trackIdField",void 0),(0,s._)([(0,p.Cb)({type:Boolean,json:{read:{source:"exportOptions.useTime"},write:{target:"exportOptions.useTime"}}})],b.prototype,"useTime",void 0),b=f=(0,s._)([(0,c.j)("esri.layers.support.TimeInfo")],b);const v=b},78981:(e,t,r)=>{r.d(t,{v:()=>i});const i=(0,r(35454).w)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:void 0})}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5906],{38171:(e,t,r)=>{r.d(t,{Z:()=>f});var i=r(43697),s=r(66577),n=r(51773),a=r(78223),l=r(2368),o=r(96674),u=r(70586),p=r(99001),d=r(5600),c=(r(67676),r(80442),r(75215),r(52011)),m=r(33955);function h(e){if(!(0,u.pC)(e))return null;const t={};for(const r in e){const i=e[r];i&&(t[r]=i.toJSON())}return 0!==Object.keys(t).length?t:null}let y=class extends((0,l.J)(o.wq)){constructor(...e){super(...e),this.isAggregate=!1,this.layer=null,this.popupTemplate=null,this.sourceLayer=null,Object.defineProperty(this,"uid",{value:(0,p.D)(),configurable:!0})}normalizeCtorArgs(e,t,r,i){return e&&!e.declaredClass?e:{geometry:e,symbol:t,attributes:r,popupTemplate:i}}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),this._notifyLayer("geometry",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;for(const t of[this.sourceLayer,this.layer])if(t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&(0,u.pC)(t.defaultPopupTemplate))return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes&&this.attributes[e]}setAttribute(e,t){if(this.attributes){const r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t},this._notifyLayer("attributes",void 0,t,e)}getObjectId(){return this.sourceLayer&&"objectIdField"in this.sourceLayer&&this.sourceLayer.objectIdField?this.getAttribute(this.sourceLayer.objectIdField):null}toJSON(){return{aggregateGeometries:h(this.aggregateGeometries),geometry:(0,u.pC)(this.geometry)?this.geometry.toJSON():null,symbol:(0,u.pC)(this.symbol)?this.symbol.toJSON():null,attributes:{...this.attributes},popupTemplate:this.popupTemplate&&this.popupTemplate.toJSON()}}notifyGeometryChanged(){this._notifyLayer("geometry",this.geometry,this.geometry)}notifyMeshTransformChanged(){(0,u.pC)(this.geometry)&&"mesh"===this.geometry.type&&this._notifyLayer("transform",this.geometry.transform,this.geometry.transform)}_notifyLayer(e,t,r,i){if(!this.layer||!("graphicChanged"in this.layer))return;const s={graphic:this,property:e,oldValue:t,newValue:r};"attributes"===e&&(s.attributeName=i),this.layer.graphicChanged(s)}};(0,i._)([(0,d.Cb)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const r in e){const i=(0,m.im)(e[r]);i&&(t[r]=i)}return 0!==Object.keys(t).length?t:null}}})],y.prototype,"aggregateGeometries",null),(0,i._)([(0,d.Cb)({value:null})],y.prototype,"attributes",null),(0,i._)([(0,d.Cb)({value:null,types:s.qM,json:{read:m.im}})],y.prototype,"geometry",null),(0,i._)([(0,d.Cb)({type:Boolean})],y.prototype,"isAggregate",void 0),(0,i._)([(0,d.Cb)({clonable:"reference"})],y.prototype,"layer",void 0),(0,i._)([(0,d.Cb)({type:n.Z})],y.prototype,"popupTemplate",void 0),(0,i._)([(0,d.Cb)({clonable:"reference"})],y.prototype,"sourceLayer",void 0),(0,i._)([(0,d.Cb)({value:null,types:a.LB})],y.prototype,"symbol",null),(0,i._)([(0,d.Cb)({type:Boolean,value:!0})],y.prototype,"visible",null),y=(0,i._)([(0,c.j)("esri.Graphic")],y),(y||(y={})).generateUID=p.D;const f=y},84552:(e,t,r)=>{r.d(t,{Z:()=>d});var i,s=r(43697),n=r(96674),a=r(35463),l=r(5600),o=(r(67676),r(80442),r(75215),r(52011)),u=r(78981);let p=i=class extends n.wq{constructor(e){super(e),this.value=0,this.unit="milliseconds"}toMilliseconds(){return(0,a.rJ)(this.value,this.unit,"milliseconds")}clone(){return new i({value:this.value,unit:this.unit})}};(0,s._)([(0,l.Cb)({type:Number,json:{write:!0},nonNullable:!0})],p.prototype,"value",void 0),(0,s._)([(0,l.Cb)({type:u.v.apiValues,json:{type:u.v.jsonValues,read:u.v.read,write:u.v.write},nonNullable:!0})],p.prototype,"unit",void 0),p=i=(0,s._)([(0,o.j)("esri.TimeInterval")],p);const d=p},57435:(e,t,r)=>{r.d(t,{Z:()=>d});var i=r(43697),s=r(80539),n=r(3920),a=r(70586),l=(r(80442),r(20102),r(92604),r(26258),r(87538)),o=r(5600),u=(r(67676),r(75215),r(52011));let p=class extends((0,n.p)(s.Z)){constructor(e){super(e),this.getCollections=null}initialize(){this.handles.add((0,l.EH)((()=>this._refresh())))}destroy(){this.getCollections=null}_refresh(){const e=(0,a.pC)(this.getCollections)?this.getCollections():null;if((0,a.Wi)(e))return void this.removeAll();let t=0;for(const r of e)(0,a.pC)(r)&&(t=this._processCollection(t,r));this.splice(t,this.length)}_createNewInstance(e){return new s.Z(e)}_processCollection(e,t){if(!t)return e;const r=this.itemFilterFunction?this.itemFilterFunction:e=>!!e;for(const i of t)if(i){if(r(i)){const t=this.indexOf(i,e);t>=0?t!==e&&this.reorder(i,e):this.add(i,e),++e}if(this.getChildrenFunction){const t=this.getChildrenFunction(i);if(Array.isArray(t))for(const r of t)e=this._processCollection(e,r);else e=this._processCollection(e,t)}}return e}};(0,i._)([(0,o.Cb)()],p.prototype,"getCollections",void 0),(0,i._)([(0,o.Cb)()],p.prototype,"getChildrenFunction",void 0),(0,i._)([(0,o.Cb)()],p.prototype,"itemFilterFunction",void 0),p=(0,i._)([(0,u.j)("esri.core.CollectionFlattener")],p);const d=p},91040:(e,t,r)=>{r.d(t,{yZ:()=>s});var i=r(67900);function s(e,t){const r=t||e.extent,s=e.width,n=(0,i.c9)(r&&r.spatialReference);return r&&s?r.width/s*n*i.hd*96:0}},25906:(e,t,r)=>{r.r(t),r.d(t,{default:()=>we});var i=r(43697),s=r(68773),n=r(38171),a=r(51773),l=r(3172),o=r(80539),u=r(57435),p=r(3920),d=r(35454),c=r(22974),m=r(70586),h=r(16453),y=r(95330),f=r(17445),g=r(17452),b=r(5600),v=r(75215),w=r(71715),_=r(52011),x=r(30556),C=r(76169),I=r(6570),S=r(82971),E=r(91040),N=r(8744),T=r(87085),O=r(71612),F=r(38009),U=r(16859),L=r(34760),R=r(72965),j=r(28294),P=r(52162),A=r(66677),M=r(21506),D=r(15923);r(67676),r(80442);const Z={visible:"visibleSublayers"};let q=class extends((0,p.p)(D.Z)){constructor(e){super(e),this.scale=0}set layer(e){this._get("layer")!==e&&(this._set("layer",e),this.handles.remove("layer"),e&&this.handles.add([e.sublayers.on("change",(()=>this.notifyChange("visibleSublayers"))),e.on("wms-sublayer-update",(e=>this.notifyChange(Z[e.propertyName])))],"layer"))}get layers(){const{visibleSublayers:e}=this;return e.filter((e=>e.name)).map((e=>e.name)).join(",")}get version(){this.commitProperty("layers");const e=this.layer;return e&&e.commitProperty("imageTransparency"),(this._get("version")||0)+1}get visibleSublayers(){const{layer:e,scale:t}=this,r=e?.sublayers,i=[],s=e=>{const{minScale:r,maxScale:n,sublayers:a,visible:l}=e;l&&(0===t||(0===r||t<=r)&&(0===n||t>=n))&&(a?a.forEach(s):i.unshift(e))};return r?.forEach(s),i}toJSON(){const{layer:e,layers:t}=this,{imageFormat:r,imageTransparency:i,version:s}=e;return{format:r,request:"GetMap",service:"WMS",styles:"",transparent:i?"TRUE":"FALSE",version:s,layers:t}}};(0,i._)([(0,b.Cb)()],q.prototype,"layer",null),(0,i._)([(0,b.Cb)({readOnly:!0})],q.prototype,"layers",null),(0,i._)([(0,b.Cb)({type:Number})],q.prototype,"scale",void 0),(0,i._)([(0,b.Cb)({readOnly:!0})],q.prototype,"version",null),(0,i._)([(0,b.Cb)({readOnly:!0})],q.prototype,"visibleSublayers",null),q=(0,i._)([(0,_.j)("esri.layers.support.ExportWMSImageParameters")],q);var k,V=r(61247),B=r(90578);let W=0,$=k=class extends h.w{constructor(e){super(e),this._sublayersHandles=new V.Z,this.dimensions=null,this.fullExtents=null,this.featureInfoFormat=null,this.featureInfoUrl=null,this.legendUrl=null,this.legendEnabled=!0,this.maxScale=0,this.minScale=0,this.popupEnabled=!1,this.queryable=!1,this.spatialReferences=null}get description(){return this._get("description")}set description(e){this._set("description",e)}get fullExtent(){return this._get("fullExtent")}set fullExtent(e){this._set("fullExtent",e)}readExtent(e,t){return(e=t.extent)?I.Z.fromJSON(e):null}get id(){const e=this._get("id");return null==e?W++:e}set id(e){this._set("id",e)}readLegendUrl(e,t){return t?t.legendUrl||t.legendURL:null}set layer(e){this._set("layer",e),this.sublayers&&this.sublayers.forEach((t=>t.layer=e))}get effectiveScaleRange(){const{minScale:e,maxScale:t}=this;return{minScale:e,maxScale:t}}get name(){return this._get("name")}set name(e){this._set("name",e)}set sublayers(e){const t=this._get("sublayers");t&&(t.forEach((e=>{e.layer=null})),this._sublayersHandles.removeAll(),this._sublayersHandles=null),e&&(e.forEach((e=>{e.parent=this,e.layer=this.layer})),this._sublayersHandles.add([e.on("after-add",(({item:e})=>{e.parent=this,e.layer=this.layer})),e.on("after-remove",(({item:e})=>{e.parent=null,e.layer=null}))])),this._set("sublayers",e)}castSublayers(e){return(0,v.se)(o.Z.ofType(k),e)}get title(){return this._get("title")}set title(e){this._set("title",e)}get visible(){return this._get("visible")}set visible(e){this._setAndNotifyLayer("visible",e)}clone(){const e=new k;return this.hasOwnProperty("description")&&(e.description=this.description),this.hasOwnProperty("fullExtent")&&(e.fullExtent=this.fullExtent.clone()),this.hasOwnProperty("fullExtents")&&(e.fullExtents=this.fullExtents.map((e=>e.clone()))),this.hasOwnProperty("featureInfoFormat")&&(e.featureInfoFormat=this.featureInfoFormat),this.hasOwnProperty("featureInfoUrl")&&(e.featureInfoUrl=this.featureInfoUrl),this.hasOwnProperty("legendUrl")&&(e.legendUrl=this.legendUrl),this.hasOwnProperty("legendEnabled")&&(e.legendEnabled=this.legendEnabled),this.hasOwnProperty("layer")&&(e.layer=this.layer),this.hasOwnProperty("name")&&(e.name=this.name),this.hasOwnProperty("parent")&&(e.parent=this.parent),this.hasOwnProperty("queryable")&&(e.queryable=this.queryable),this.hasOwnProperty("sublayers")&&(e.sublayers=this.sublayers&&this.sublayers.map((e=>e.clone()))),this.hasOwnProperty("spatialReferences")&&(e.spatialReferences=this.spatialReferences.map((e=>e))),this.hasOwnProperty("visible")&&(e.visible=this.visible),this.hasOwnProperty("title")&&(e.title=this.title),e}_setAndNotifyLayer(e,t){const r=this.layer;this._get(e)!==t&&(this._set(e,t),r&&r.emit("wms-sublayer-update",{propertyName:e,id:this.id}))}};(0,i._)([(0,b.Cb)()],$.prototype,"description",null),(0,i._)([(0,b.Cb)({readOnly:!0})],$.prototype,"dimensions",void 0),(0,i._)([(0,b.Cb)({value:null})],$.prototype,"fullExtent",null),(0,i._)([(0,w.r)("fullExtent",["extent"])],$.prototype,"readExtent",null),(0,i._)([(0,b.Cb)()],$.prototype,"fullExtents",void 0),(0,i._)([(0,b.Cb)()],$.prototype,"featureInfoFormat",void 0),(0,i._)([(0,b.Cb)()],$.prototype,"featureInfoUrl",void 0),(0,i._)([(0,b.Cb)({type:Number,json:{write:{enabled:!1,overridePolicy:()=>({ignoreOrigin:!0,enabled:!0})}}})],$.prototype,"id",null),(0,i._)([(0,b.Cb)({type:String,json:{origins:{"web-document":{read:{source:["legendUrl","legendURL"]},write:{target:"legendUrl",ignoreOrigin:!0}}},read:{source:"legendURL"},write:{ignoreOrigin:!0}}})],$.prototype,"legendUrl",void 0),(0,i._)([(0,w.r)(["web-document"],"legendUrl")],$.prototype,"readLegendUrl",null),(0,i._)([(0,b.Cb)({value:!0,type:Boolean,json:{read:{source:"showLegend"},write:{target:"showLegend"},origins:{"web-map":{read:!1,write:!1},"web-scene":{read:!1,write:!1}}}})],$.prototype,"legendEnabled",void 0),(0,i._)([(0,b.Cb)({value:null})],$.prototype,"layer",null),(0,i._)([(0,b.Cb)()],$.prototype,"maxScale",void 0),(0,i._)([(0,b.Cb)()],$.prototype,"minScale",void 0),(0,i._)([(0,b.Cb)({readOnly:!0})],$.prototype,"effectiveScaleRange",null),(0,i._)([(0,b.Cb)({type:String,value:null,json:{read:{source:"name"},write:{ignoreOrigin:!0}}})],$.prototype,"name",null),(0,i._)([(0,b.Cb)()],$.prototype,"parent",void 0),(0,i._)([(0,b.Cb)({type:Boolean,json:{read:{source:"showPopup"},write:{ignoreOrigin:!0,target:"showPopup"}}})],$.prototype,"popupEnabled",void 0),(0,i._)([(0,b.Cb)({type:Boolean,json:{write:{ignoreOrigin:!0}}})],$.prototype,"queryable",void 0),(0,i._)([(0,b.Cb)()],$.prototype,"sublayers",null),(0,i._)([(0,B.p)("sublayers")],$.prototype,"castSublayers",null),(0,i._)([(0,b.Cb)({type:[Number],json:{read:{source:"spatialReferences"}}})],$.prototype,"spatialReferences",void 0),(0,i._)([(0,b.Cb)({type:String,value:null,json:{write:{ignoreOrigin:!0}}})],$.prototype,"title",null),(0,i._)([(0,b.Cb)({type:Boolean,value:!0,json:{read:{source:"defaultVisibility"}}})],$.prototype,"visible",null),$=k=(0,i._)([(0,_.j)("esri.layers.support.WMSSublayer")],$);const H=$;var G=r(20102);const J={84:4326,83:4269,27:4267};function X(e){if(!e)return null;const t={idCounter:-1};"string"==typeof e&&(e=(new DOMParser).parseFromString(e,"text/xml"));const r=e.documentElement;if("ServiceExceptionReport"===r.nodeName){const e=Array.prototype.slice.call(r.childNodes).map((e=>e.textContent)).join("\r\n");throw new G.Z("wmslayer:wms-capabilities-xml-is-not-valid","The server returned errors when the WMS capabilities were requested.",e)}const i=K("Capability",r),s=K("Service",r),n=K("Request",i);if(!i||!s||!n)return null;const a=K("Layer",i);if(!a)return null;const l="WMS_Capabilities"===r.nodeName||"WMT_MS_Capabilities"===r.nodeName?r.getAttribute("version"):"1.3.0",o=te("Title",s,"")||te("Name",s,""),u=te("AccessConstraints",s,""),p=/^none$/i.test(u)?"":u,d=te("Abstract",s,""),c=parseInt(te("MaxWidth",s,"5000"),10),m=parseInt(te("MaxHeight",s,"5000"),10),h=se(n,"GetMap"),y=ie(n,"GetMap"),f=ae(a,l,t);let g,b,v,w=0;if(Array.prototype.slice.call(i.childNodes).forEach((e=>{"Layer"===e.nodeName&&(0===w?g=e:1===w?(f.name&&(f.name="",f.sublayers.push(ae(g,l,t))),f.sublayers.push(ae(e,l,t))):f.sublayers.push(ae(e,l,t)),w++)})),!f)return null;const _=f.fullExtents;if(b=f.sublayers,b||(b=[]),0===b.length&&b.push(f),v=f.extent,!v){const e=new I.Z(b[0].extent);f.extent=e.toJSON(),v=f.extent}const x=f.spatialReferences.length>0?f.spatialReferences:z(f),C=ie(n,"GetFeatureInfo");let S;if(C){const e=se(n,"GetFeatureInfo");e.includes("text/html")?S="text/html":e.includes("text/plain")&&(S="text/plain")}if(!S){const e=t=>{t&&(t.queryable=!1,t.sublayers&&t.sublayers.forEach((t=>{e(t)})))};e(f)}const E=Q(b),N=f.minScale||0,T=f.maxScale||0,O=f.dimensions,F=E.reduce(((e,t)=>e.concat(t.dimensions)),[]),U=O.concat(F).filter(oe);let L=null;if(U.length>0){let e=Number.POSITIVE_INFINITY,t=Number.NEGATIVE_INFINITY;U.forEach((r=>{const{extent:i}=r;!function(e){return Array.isArray(e)&&e.length>0&&e[0]instanceof Date}(i)?i.forEach((r=>{e=Math.min(e,r.min.getTime()),t=Math.max(t,r.max.getTime())})):i.forEach((r=>{e=Math.min(e,r.getTime()),t=Math.max(t,r.getTime())}))})),L={startTimeField:null,endTimeField:null,trackIdField:null,timeExtent:[e,t]}}return{copyright:p,description:d,dimensions:O,extent:v,fullExtents:_,featureInfoFormat:S,featureInfoUrl:C,mapUrl:y,maxWidth:c,maxHeight:m,maxScale:T,minScale:N,layers:E,spatialReferences:x,supportedImageFormatTypes:h,timeInfo:L,title:o,version:l}}function z(e){if(e.spatialReferences.length>0)return e.spatialReferences;if(e.sublayers)for(const t of e.sublayers){const e=z(t);if(e.length>0)return e}return[]}function Q(e){let t=[];return e.forEach((e=>{t.push(e),e.sublayers&&e.sublayers.length&&(t=t.concat(Q(e.sublayers)),delete e.sublayers)})),t}function Y(e,t,r){return t.getAttribute(e)??r}function K(e,t){for(let r=0;r<t.childNodes.length;r++){const i=t.childNodes[r];if(le(i)&&i.nodeName===e)return i}return null}function ee(e,t){const r=[];for(let i=0;i<t.childNodes.length;i++){const s=t.childNodes[i];le(s)&&s.nodeName===e&&r.push(s)}return r}function te(e,t,r){const i=K(e,t);return i?i.textContent:r}function re(e,t,r){if(!e)return null;const i=parseFloat(e.getAttribute("minx")),s=parseFloat(e.getAttribute("miny")),n=parseFloat(e.getAttribute("maxx")),a=parseFloat(e.getAttribute("maxy"));let l,o,u,p;r?(l=isNaN(s)?-Number.MAX_VALUE:s,o=isNaN(i)?-Number.MAX_VALUE:i,u=isNaN(a)?Number.MAX_VALUE:a,p=isNaN(n)?Number.MAX_VALUE:n):(l=isNaN(i)?-Number.MAX_VALUE:i,o=isNaN(s)?-Number.MAX_VALUE:s,u=isNaN(n)?Number.MAX_VALUE:n,p=isNaN(a)?Number.MAX_VALUE:a);const d=new S.Z({wkid:t});return new I.Z({xmin:l,ymin:o,xmax:u,ymax:p,spatialReference:d})}function ie(e,t){const r=K(t,e);if(r){const e=K("DCPType",r);if(e){const t=K("HTTP",e);if(t){const e=K("Get",t);if(e){let t=function(e,t,r,i){const s=K("OnlineResource",r);return s?Y("xlink:href",s,null):null}(0,0,e);if(t)return t.indexOf("&")===t.length-1&&(t=t.substring(0,t.length-1)),function(e,t){const r=[],i=(0,g.mN)(e);for(const e in i.query)i.query.hasOwnProperty(e)&&(t.includes(e.toLowerCase())||r.push(e+"="+i.query[e]));return i.path+(r.length?"?"+r.join("&"):"")}(t,["service","request"])}}}}return null}function se(e,t){const r=ee("Operation",e);if(0===r.length)return ee("Format",K(t,e)).map((e=>e.textContent));const i=[];return r.forEach((e=>{e.getAttribute("name")===t&&ee("Format",e).forEach((e=>{i.push(e.textContent)}))})),i}function ne(e,t,r){const i=K(t,e);if(!i)return r;const{textContent:s}=i;if(null==s||""===s)return r;const n=Number(s);return isNaN(n)?r:n}function ae(e,t,r){if(!e)return null;const i={id:r.idCounter++,fullExtents:[],parentLayerId:null,queryable:"1"===e.getAttribute("queryable"),spatialReferences:[],sublayers:null},s=K("LatLonBoundingBox",e),n=K("EX_GeographicBoundingBox",e);let a=null;s&&(a=re(s,4326)),n&&(a=new I.Z(0,0,0,0,new S.Z({wkid:4326})),a.xmin=parseFloat(te("westBoundLongitude",n,"0")),a.ymin=parseFloat(te("southBoundLatitude",n,"0")),a.xmax=parseFloat(te("eastBoundLongitude",n,"0")),a.ymax=parseFloat(te("northBoundLatitude",n,"0"))),s||n||(a=new I.Z(-180,-90,180,90,new S.Z({wkid:4326}))),i.minScale=ne(e,"MaxScaleDenominator",0),i.maxScale=ne(e,"MinScaleDenominator",0);const l=["1.0.0","1.1.0","1.1.1"].includes(t)?"SRS":"CRS";return Array.prototype.slice.call(e.childNodes).forEach((e=>{if("Name"===e.nodeName)i.name=e.textContent||"";else if("Title"===e.nodeName)i.title=e.textContent||"";else if("Abstract"===e.nodeName)i.description=e.textContent||"";else if("BoundingBox"===e.nodeName){const r=e.getAttribute(l);if(r&&0===r.indexOf("EPSG:")){const i=parseInt(r.substring(5),10);0===i||isNaN(i)||a||(a="1.3.0"===t?re(e,i,(0,P.A)(i)):re(e,i))}const s=r&&r.indexOf(":");if(s&&s>-1){let n=parseInt(r.substring(s+1,r.length),10);0===n||isNaN(n)||(n=J[n]?J[n]:n);const a="1.3.0"===t?re(e,n,(0,P.A)(n)):re(e,n);i.fullExtents.push(a)}}else if(e.nodeName===l)e.textContent.split(" ").forEach((e=>{const t=e.includes(":")?parseInt(e.split(":")[1],10):parseInt(e,10);if(0!==t&&!isNaN(t)){const e=J[t]?J[t]:t;i.spatialReferences.includes(e)||i.spatialReferences.push(e)}}));else if("Style"!==e.nodeName||i.legendURL){if("Layer"===e.nodeName){const s=ae(e,t,r);s&&(s.parentLayerId=i.id,i.sublayers||(i.sublayers=[]),i.sublayers.push(s))}}else{const t=K("LegendURL",e);if(t){const e=K("OnlineResource",t);e&&(i.legendURL=e.getAttribute("xlink:href"))}}})),i.extent=a?.toJSON(),i.dimensions=ee("Dimension",e).filter((e=>e.getAttribute("name")&&e.getAttribute("units")&&e.textContent)).map((e=>{const t=e.getAttribute("name"),r=e.getAttribute("units"),i=e.textContent,s=e.getAttribute("unitSymbol"),n=e.getAttribute("default"),a="0"!==Y("default",e,"0"),l="0"!==Y("nearestValue",e,"0"),o="0"!==Y("current",e,"0");return oe({name:t,units:r})?{name:"time",units:"ISO8601",extent:de(i),default:de(n),multipleValues:a,nearestValue:l,current:o}:function(e){return/^elevation$/i.test(e.name)&&/^(epsg|crs):\d+$/i.test(e.units)}({name:t,units:r})?{name:"elevation",units:r,extent:ue(i),unitSymbol:s,default:ue(n),multipleValues:a,nearestValue:l}:{name:t,units:r,extent:pe(i),unitSymbol:s,default:pe(n),multipleValues:a,nearestValue:l}})),i}function le(e){return e.nodeType===Node.ELEMENT_NODE}function oe(e){return/^time$/i.test(e.name)&&/^iso8601$/i.test(e.units)}function ue(e){if(!e)return null;const t=e.includes("/"),r=e.split(",");return t?r.map((e=>{const t=e.split("/");return t.length<2?null:{min:parseFloat(t[0]),max:parseFloat(t[1]),resolution:t.length>=3&&"0"!==t[2]?parseFloat(t[2]):void 0}})).filter((e=>e)):r.map((e=>parseFloat(e)))}function pe(e){if(!e)return null;const t=e.includes("/"),r=e.split(",");return t?r.map((e=>{const t=e.split("/");return t.length<2?null:{min:t[0],max:t[1],resolution:t.length>=3&&"0"!==t[2]?t[2]:void 0}})).filter((e=>e)):r}function de(e){if(!e)return null;const t=e.includes("/"),r=e.split(",");return t?r.map((e=>{const t=e.split("/");return t.length<2?null:{min:new Date(t[0]),max:new Date(t[1]),resolution:t.length>=3&&"0"!==t[2]?ce(t[2]):void 0}})).filter((e=>e)):r.map((e=>new Date(e)))}function ce(e){const t=e.match(/(?:p(\d+y|\d+(?:.|,)\d+y)?(\d+m|\d+(?:.|,)\d+m)?(\d+d|\d+(?:.|,)\d+d)?)?(?:t(\d+h|\d+(?:.|,)\d+h)?(\d+m|\d+(?:.|,)\d+m)?(\d+s|\d+(?:.|,)\d+s)?)?/i);return t?{years:me(t[1]),months:me(t[2]),days:me(t[3]),hours:me(t[4]),minutes:me(t[5]),seconds:me(t[6])}:null}function me(e){if(!e)return 0;const t=e.match(/(?:\d+(?:.|,)\d+|\d+)/);if(!t)return 0;const r=t[0].replace(",",".");return Number(r)}function he(e){return e.toISOString().replace(/\.[0-9]{3}/,"")}const ye=new Set([102100,3857,102113,900913]),fe=new Set([3395,54004]),ge=new d.X({bmp:"image/bmp",gif:"image/gif",jpg:"image/jpeg",png:"image/png",svg:"image/svg+xml"},{ignoreUnknown:!1});let be=class extends((0,p.p)((0,O.h)((0,j.n)((0,L.Q)((0,R.M)((0,F.q)((0,U.I)((0,h.R)(T.Z))))))))){constructor(...e){super(...e),this.allSublayers=new u.Z({getCollections:()=>[this.sublayers],getChildrenFunction:e=>e.sublayers}),this.customParameters=null,this.customLayerParameters=null,this.copyright=null,this.description=null,this.dimensions=null,this.fullExtent=null,this.fullExtents=null,this.featureInfoFormat=null,this.featureInfoUrl=null,this.imageFormat=null,this.imageMaxHeight=2048,this.imageMaxWidth=2048,this.imageTransparency=!0,this.legendEnabled=!0,this.mapUrl=null,this.isReference=null,this.operationalLayerType="WMS",this.spatialReference=null,this.spatialReferences=null,this.sublayers=null,this.type="wms",this.url=null,this.version=null;const t="wms-sublayer";this.own((0,f.YP)((()=>this.sublayers),((e,r)=>{if(r){for(const e of r)e.layer=null;this.handles.remove(t)}if(e){for(const t of e)t.parent=this,t.layer=this;this.handles.add([e.on("after-add",(({item:e})=>{e.parent=this,e.layer=this})),e.on("after-remove",(({item:e})=>{e.parent=null,e.layer=null}))],t)}}),f.Z_))}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=(0,m.pC)(e)?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["WMS"]},e).catch(y.r9).then((()=>this._fetchService(t)))),Promise.resolve(this)}readFullExtentFromItemOrMap(e,t){const r=t.extent;return new I.Z({xmin:r[0][0],ymin:r[0][1],xmax:r[1][0],ymax:r[1][1]})}writeFullExtent(e,t){t.extent=[[e.xmin,e.ymin],[e.xmax,e.ymax]]}readImageFormat(e,t){const r=t.supportedImageFormatTypes;return r&&r.includes("image/png")?"image/png":r&&r[0]}readSpatialReferenceFromItemOrDocument(e,t){return new S.Z(t.spatialReferences[0])}writeSpatialReferences(e,t){const r=this.spatialReference&&this.spatialReference.wkid;e&&r?(t.spatialReferences=e.filter((e=>e!==r)),t.spatialReferences.unshift(r)):t.spatialReferences=e}readSublayersFromItemOrMap(e,t,r){return ve(t.layers,r,t.visibleLayers)}readSublayers(e,t,r){return ve(t.layers,r)}writeSublayers(e,t,r,i){t.layers=[];const s=new Map,n=e.flatten((({sublayers:e})=>e&&e.toArray())).toArray();n.forEach((e=>{"number"==typeof e.parent.id&&(s.has(e.parent.id)?s.get(e.parent.id).push(e.id):s.set(e.parent.id,[e.id]))})),n.forEach((e=>{const r={sublayer:e,...i},n=e.write({parentLayerId:"number"==typeof e.parent.id?e.parent.id:-1},r);if(s.has(e.id)&&(n.sublayerIds=s.get(e.id)),!e.sublayers&&e.name){const i=e.write({},r);delete i.id,t.layers.push(i)}})),t.visibleLayers=n.filter((e=>e.visible&&!e.sublayers)).map((e=>e.name))}createExportImageParameters(e,t,r,i){const s=i&&i.pixelRatio||1,n=(0,E.yZ)({extent:e,width:t})*s,a=new q({layer:this,scale:n}),{xmin:l,ymin:o,xmax:u,ymax:p,spatialReference:d}=e,c=function(e,t){let r=e.wkid;return(0,m.Wi)(t)?r:(!t.includes(r)&&e.latestWkid&&(r=e.latestWkid),ye.has(r)?t.find((e=>ye.has(e)))||t.find((e=>fe.has(e)))||102100:r)}(d,this.spatialReferences),h="1.3.0"===this.version&&(0,P.A)(c)?`${o},${l},${p},${u}`:`${l},${o},${u},${p}`,y=a.toJSON();return{bbox:h,["1.3.0"===this.version?"crs":"srs"]:isNaN(c)?void 0:"EPSG:"+c,...y}}async fetchImage(e,t,r,i){const s=this.mapUrl,n=this.createExportImageParameters(e,t,r,i);if(!n.layers){const e=document.createElement("canvas");return e.width=t,e.height=r,e}const a=i?.timeExtent?.start,o=i?.timeExtent?.end,u=(0,m.pC)(a)&&(0,m.pC)(o)?a.getTime()===o.getTime()?he(a):`${he(a)}/${he(o)}`:void 0,p={responseType:"image",query:this._mixCustomParameters({width:t,height:r,...n,time:u,...this.refreshParameters}),signal:i?.signal};return(0,l.default)(s,p).then((e=>e.data))}fetchFeatureInfo(e,t,r,i,s){const l=(0,E.yZ)({extent:e,width:t}),o=function(e){return e.length?e.filter((e=>e.popupEnabled&&e.name&&e.queryable)).map((e=>e.name)).join(","):""}(new q({layer:this,scale:l}).visibleSublayers);if(!this.featureInfoUrl||!o)return null;const u="1.3.0"===this.version?{I:i,J:s}:{x:i,y:s},p={query_layers:o,request:"GetFeatureInfo",info_format:this.featureInfoFormat,feature_count:25,width:t,height:r,...u},d={...this.createExportImageParameters(e,t,r),...p},c=this._mixCustomParameters(d),m=(0,g.fl)(this.featureInfoUrl,c),h=document.createElement("iframe");h.src=m,h.style.border="none",h.style.margin="0",h.style.width="100%",h.setAttribute("sandbox","");const y=new a.Z({title:this.title,content:h});return new n.Z({sourceLayer:this,popupTemplate:y})}findSublayerById(e){return this.allSublayers.find((t=>t.id===e))}findSublayerByName(e){return this.allSublayers.find((t=>t.name===e))}serviceSupportsSpatialReference(e){return(0,A.G)(this.url)||this.spatialReferences.some((t=>{const r=900913===t?S.Z.WebMercator:new S.Z({wkid:t});return(0,N.fS)(r,e)}))}async _fetchService(e){if(!this.resourceInfo){this.parsedUrl.query&&this.parsedUrl.query.service&&(this.parsedUrl.query.SERVICE=this.parsedUrl.query.service,delete this.parsedUrl.query.service),this.parsedUrl.query&&this.parsedUrl.query.request&&(this.parsedUrl.query.REQUEST=this.parsedUrl.query.request,delete this.parsedUrl.query.request);const t=await(0,l.default)(this.parsedUrl.path,{query:{SERVICE:"WMS",REQUEST:"GetCapabilities",...this.parsedUrl.query,...this.customParameters},responseType:"xml",signal:e});this.resourceInfo=X(t.data)}if(this.parsedUrl){const e=new g.R9(this.parsedUrl.path);"https"!==e.scheme||e.port&&"443"!==e.port||s.Z.request.httpsDomains.includes(e.host)||s.Z.request.httpsDomains.push(e.host)}this.read(this.resourceInfo,{origin:"service"})}_mixCustomParameters(e){if(!this.customLayerParameters&&!this.customParameters)return e;const t={...this.customParameters,...this.customLayerParameters};for(const r in t)e[r.toLowerCase()]=t[r];return e}};function ve(e,t,r){const i=new Map;e.every((e=>null==e.id))&&(e=(0,c.d9)(e)).forEach(((e,t)=>e.id=t));for(const s of e){const e=new H;e.read(s,t),-1===r?.indexOf(e.name)&&(e.visible=!1),i.set(e.id,e)}const s=[];for(const t of e){const e=i.get(t.id);if(null!=t.parentLayerId&&t.parentLayerId>=0){const r=i.get(t.parentLayerId);r.sublayers||(r.sublayers=new o.Z),r.sublayers.unshift(e)}else s.unshift(e)}return s}(0,i._)([(0,b.Cb)({readOnly:!0})],be.prototype,"allSublayers",void 0),(0,i._)([(0,b.Cb)({json:{type:Object,write:!0}})],be.prototype,"customParameters",void 0),(0,i._)([(0,b.Cb)({json:{type:Object,write:!0}})],be.prototype,"customLayerParameters",void 0),(0,i._)([(0,b.Cb)({type:String,json:{write:!0}})],be.prototype,"copyright",void 0),(0,i._)([(0,b.Cb)()],be.prototype,"description",void 0),(0,i._)([(0,b.Cb)({readOnly:!0})],be.prototype,"dimensions",void 0),(0,i._)([(0,b.Cb)({json:{type:[[Number]],read:{source:"extent"},write:{target:"extent"},origins:{"web-document":{write:{ignoreOrigin:!0}},"portal-item":{write:{ignoreOrigin:!0}}}}})],be.prototype,"fullExtent",void 0),(0,i._)([(0,w.r)(["web-document","portal-item"],"fullExtent",["extent"])],be.prototype,"readFullExtentFromItemOrMap",null),(0,i._)([(0,x.c)(["web-document","portal-item"],"fullExtent",{extent:{type:[[Number]]}})],be.prototype,"writeFullExtent",null),(0,i._)([(0,b.Cb)()],be.prototype,"fullExtents",void 0),(0,i._)([(0,b.Cb)({type:String,json:{write:{ignoreOrigin:!0}}})],be.prototype,"featureInfoFormat",void 0),(0,i._)([(0,b.Cb)({type:String,json:{write:{ignoreOrigin:!0}}})],be.prototype,"featureInfoUrl",void 0),(0,i._)([(0,b.Cb)({type:String,json:{origins:{"web-document":{default:"image/png",type:ge.jsonValues,read:{reader:ge.read,source:"format"},write:{writer:ge.write,target:"format"}}}}})],be.prototype,"imageFormat",void 0),(0,i._)([(0,w.r)("imageFormat",["supportedImageFormatTypes"])],be.prototype,"readImageFormat",null),(0,i._)([(0,b.Cb)({type:Number,json:{read:{source:"maxHeight"},write:{target:"maxHeight"}}})],be.prototype,"imageMaxHeight",void 0),(0,i._)([(0,b.Cb)({type:Number,json:{read:{source:"maxWidth"},write:{target:"maxWidth"}}})],be.prototype,"imageMaxWidth",void 0),(0,i._)([(0,b.Cb)()],be.prototype,"imageTransparency",void 0),(0,i._)([(0,b.Cb)(M.rn)],be.prototype,"legendEnabled",void 0),(0,i._)([(0,b.Cb)({type:["show","hide","hide-children"]})],be.prototype,"listMode",void 0),(0,i._)([(0,b.Cb)({json:{read:!0,write:!0}})],be.prototype,"blendMode",void 0),(0,i._)([(0,b.Cb)({type:String,json:{write:{ignoreOrigin:!0}}})],be.prototype,"mapUrl",void 0),(0,i._)([(0,b.Cb)({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],be.prototype,"isReference",void 0),(0,i._)([(0,b.Cb)({type:["WMS"]})],be.prototype,"operationalLayerType",void 0),(0,i._)([(0,b.Cb)()],be.prototype,"resourceInfo",void 0),(0,i._)([(0,b.Cb)({type:S.Z,json:{origins:{service:{read:{source:"extent.spatialReference"}}},write:!1}})],be.prototype,"spatialReference",void 0),(0,i._)([(0,w.r)(["web-document","portal-item"],"spatialReference",["spatialReferences"])],be.prototype,"readSpatialReferenceFromItemOrDocument",null),(0,i._)([(0,b.Cb)({type:[v.z8],json:{read:!1,origins:{service:{read:!0},"web-document":{read:!1,write:{ignoreOrigin:!0}},"portal-item":{read:!1,write:{ignoreOrigin:!0}}}}})],be.prototype,"spatialReferences",void 0),(0,i._)([(0,x.c)(["web-document","portal-item"],"spatialReferences")],be.prototype,"writeSpatialReferences",null),(0,i._)([(0,b.Cb)({type:o.Z.ofType(H),json:{write:{target:"layers",overridePolicy(e,t,r){if(function(e,t){return e.some((e=>{for(const r in e)if((0,C.d)(e,r,null,t))return!0;return!1}))}(this.allSublayers,r))return{ignoreOrigin:!0}}}}})],be.prototype,"sublayers",void 0),(0,i._)([(0,w.r)(["web-document","portal-item"],"sublayers",["layers","visibleLayers"])],be.prototype,"readSublayersFromItemOrMap",null),(0,i._)([(0,w.r)("service","sublayers",["layers"])],be.prototype,"readSublayers",null),(0,i._)([(0,x.c)("sublayers",{layers:{type:[H]},visibleLayers:{type:[String]}})],be.prototype,"writeSublayers",null),(0,i._)([(0,b.Cb)({json:{read:!1},readOnly:!0,value:"wms"})],be.prototype,"type",void 0),(0,i._)([(0,b.Cb)(M.HQ)],be.prototype,"url",void 0),(0,i._)([(0,b.Cb)({type:String,json:{write:{ignoreOrigin:!0}}})],be.prototype,"version",void 0),be=(0,i._)([(0,_.j)("esri.layers.WMSLayer")],be);const we=be},16859:(e,t,r)=>{r.d(t,{I:()=>w});var i=r(43697),s=r(40330),n=r(3172),a=r(66643),l=r(20102),o=r(92604),u=r(70586),p=r(95330),d=r(17452),c=r(5600),m=(r(67676),r(80442),r(75215),r(71715)),h=r(52011),y=r(30556),f=r(65587),g=r(15235),b=r(86082);const v=o.Z.getLogger("esri.layers.mixins.PortalLayer"),w=e=>{let t=class extends e{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0}destroy(){this.portalItem?.destroy(),this.portalItem=null}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new g.default({id:t.itemId,portal:r&&r.portal})}writePortalItem(e,t){e&&e.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem&&this.portalItem.id)try{const i=await r.e(8062).then(r.bind(r,18062));return(0,p.k_)(t),await i.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?s.id?.findCredential(this.url):null;if(!t)return!0;const r=_.credential===t?_.user:await this._fetchEditingUser(e);return _.credential=t,_.user=r,(0,u.Wi)(r)||null==r.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const r=s.id.findServerInfo(this.url);if(!r?.owningSystemUrl)return null;const i=`${r.owningSystemUrl}/sharing/rest`,l=f.Z.getDefault();if(l&&l.loaded&&(0,d.Fv)(l.restUrl)===(0,d.Fv)(i))return l.user;const o=`${i}/community/self`,p=(0,u.pC)(e)?e.signal:null,c=await(0,a.q6)((0,n.default)(o,{authMode:"no-prompt",query:{f:"json"},signal:p}));return c.ok?b.default.fromJSON(c.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t&&t.portal,i=this.portalItem&&this.portalItem.id&&(this.portalItem.portal||f.Z.getDefault());return r&&i&&!(0,d.tm)(i.restUrl,r.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, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,i._)([(0,c.Cb)({type:g.default})],t.prototype,"portalItem",null),(0,i._)([(0,m.r)("web-document","portalItem",["itemId"])],t.prototype,"readPortalItem",null),(0,i._)([(0,y.c)("web-document","portalItem",{itemId:{type:String}})],t.prototype,"writePortalItem",null),(0,i._)([(0,c.Cb)({clonable:!1})],t.prototype,"resourceReferences",void 0),(0,i._)([(0,c.Cb)({readOnly:!0})],t.prototype,"userHasEditingPrivileges",void 0),t=(0,i._)([(0,h.j)("esri.layers.mixins.PortalLayer")],t),t},_={credential:null,user:null}},34760:(e,t,r)=>{r.d(t,{Q:()=>g});var i=r(43697),s=r(92604),n=r(95330),a=r(5600),l=(r(67676),r(80442),r(75215),r(52011)),o=r(80539),u=(r(20102),r(26258),r(87538));const p=new o.Z,d=new WeakMap;function c(e){return e&&"object"==typeof e&&"refreshInterval"in e&&"refresh"in e}function m(e,t){return Number.isFinite(e)&&Number.isFinite(t)?t<=0?e:m(t,e%t):0}let h=0,y=0;function f(){const e=Date.now();for(const t of p)t.refreshInterval&&e-(d.get(t)??0)+5>=6e4*t.refreshInterval&&(d.set(t,e),t.refresh(e))}(0,u.EH)((()=>{const e=Date.now();let t=0;for(const r of p)t=m(Math.round(6e4*r.refreshInterval),t),r.refreshInterval?d.get(r)||d.set(r,e):d.delete(r);if(t!==y){if(y=t,clearInterval(h),0===y)return void(h=0);h=setInterval(f,y)}}));const g=e=>{let t=class extends e{constructor(...e){super(...e),this.refreshInterval=0,this.refreshTimestamp=0,this._debounceHasDataChanged=(0,n.Ds)((()=>this.hasDataChanged())),this.when().then((()=>{!function(e){c(e)&&p.push(e)}(this)}),(()=>{}))}destroy(){c(this)&&p.includes(this)&&p.remove(this)}get refreshParameters(){return{_ts:this.refreshTimestamp||null}}refresh(e=Date.now()){(0,n.R8)(this._debounceHasDataChanged()).then((t=>{t&&this._set("refreshTimestamp",e),this.emit("refresh",{dataChanged:t})}),(e=>{s.Z.getLogger(this.declaredClass).error(e),this.emit("refresh",{dataChanged:!1,error:e})}))}async hasDataChanged(){return!0}};return(0,i._)([(0,a.Cb)({type:Number,cast:e=>e>=.1?e:e<=0?0:.1,json:{write:!0}})],t.prototype,"refreshInterval",void 0),(0,i._)([(0,a.Cb)({readOnly:!0})],t.prototype,"refreshTimestamp",void 0),(0,i._)([(0,a.Cb)()],t.prototype,"refreshParameters",null),t=(0,i._)([(0,l.j)("esri.layers.mixins.RefreshableLayer")],t),t}},28294:(e,t,r)=>{r.d(t,{n:()=>c});var i=r(43697),s=r(92835),n=r(84552),a=r(5600),l=(r(67676),r(80442),r(75215),r(71715)),o=r(52011),u=r(35671),p=r(30547),d=r(78981);const c=e=>{let t=class extends e{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const r=t.timeInfo.exportOptions;if(!r)return null;const i=r.timeOffset,s=d.v.fromJSON(r.timeOffsetUnits);return i&&s?new n.Z({value:i,unit:s}):null}set timeInfo(e){(0,u.UF)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,i._)([(0,a.Cb)({type:s.Z,json:{write:!1}})],t.prototype,"timeExtent",void 0),(0,i._)([(0,a.Cb)({type:n.Z})],t.prototype,"timeOffset",void 0),(0,i._)([(0,l.r)("service","timeOffset",["timeInfo.exportOptions"])],t.prototype,"readOffset",null),(0,i._)([(0,a.Cb)({value:null,type:p.Z,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],t.prototype,"timeInfo",null),(0,i._)([(0,a.Cb)({type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation"},origins:{"web-scene":{read:!1,write:!1}}}})],t.prototype,"useViewTime",void 0),t=(0,i._)([(0,o.j)("esri.layers.mixins.TemporalLayer")],t),t}},52162:(e,t,r)=>{r.d(t,{A:()=>s});const i=[[3819,3819],[3821,3824],[3889,3889],[3906,3906],[4001,4025],[4027,4036],[4039,4047],[4052,4055],[4074,4075],[4080,4081],[4120,4176],[4178,4185],[4188,4216],[4218,4289],[4291,4304],[4306,4319],[4322,4326],[4463,4463],[4470,4470],[4475,4475],[4483,4483],[4490,4490],[4555,4558],[4600,4646],[4657,4765],[4801,4811],[4813,4821],[4823,4824],[4901,4904],[5013,5013],[5132,5132],[5228,5229],[5233,5233],[5246,5246],[5252,5252],[5264,5264],[5324,5340],[5354,5354],[5360,5360],[5365,5365],[5370,5373],[5381,5381],[5393,5393],[5451,5451],[5464,5464],[5467,5467],[5489,5489],[5524,5524],[5527,5527],[5546,5546],[2044,2045],[2081,2083],[2085,2086],[2093,2093],[2096,2098],[2105,2132],[2169,2170],[2176,2180],[2193,2193],[2200,2200],[2206,2212],[2319,2319],[2320,2462],[2523,2549],[2551,2735],[2738,2758],[2935,2941],[2953,2953],[3006,3030],[3034,3035],[3038,3051],[3058,3059],[3068,3068],[3114,3118],[3126,3138],[3150,3151],[3300,3301],[3328,3335],[3346,3346],[3350,3352],[3366,3366],[3389,3390],[3416,3417],[3833,3841],[3844,3850],[3854,3854],[3873,3885],[3907,3910],[4026,4026],[4037,4038],[4417,4417],[4434,4434],[4491,4554],[4839,4839],[5048,5048],[5105,5130],[5253,5259],[5269,5275],[5343,5349],[5479,5482],[5518,5519],[5520,5520],[20004,20032],[20064,20092],[21413,21423],[21473,21483],[21896,21899],[22171,22177],[22181,22187],[22191,22197],[25884,25884],[27205,27232],[27391,27398],[27492,27492],[28402,28432],[28462,28492],[30161,30179],[30800,30800],[31251,31259],[31275,31279],[31281,31290],[31466,31700]];function s(e){return i.some((([t,r])=>e>=t&&e<=r))}},30547:(e,t,r)=>{r.d(t,{Z:()=>v});var i,s=r(43697),n=r(92835),a=r(84552),l=r(96674),o=r(22974),u=r(70586),p=r(5600),d=(r(75215),r(71715)),c=r(52011),m=r(30556);r(67676),r(80442);let h=i=class extends l.wq{constructor(e){super(e),this.respectsDaylightSaving=!1,this.timezone=null}readRespectsDaylightSaving(e,t){return void 0!==t.respectsDaylightSaving?t.respectsDaylightSaving:void 0!==t.respectDaylightSaving&&t.respectDaylightSaving}clone(){const{respectsDaylightSaving:e,timezone:t}=this;return new i({respectsDaylightSaving:e,timezone:t})}};(0,s._)([(0,p.Cb)({type:Boolean,json:{write:!0}})],h.prototype,"respectsDaylightSaving",void 0),(0,s._)([(0,d.r)("respectsDaylightSaving",["respectsDaylightSaving","respectDaylightSaving"])],h.prototype,"readRespectsDaylightSaving",null),(0,s._)([(0,p.Cb)({type:String,json:{read:{source:"timeZone"},write:{target:"timeZone"}}})],h.prototype,"timezone",void 0),h=i=(0,s._)([(0,c.j)("esri.layers.support.TimeReference")],h);const y=h;var f,g=r(78981);let b=f=class extends l.wq{constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeReference=null,this.trackIdField=null,this.useTime=!0}readFullTimeExtent(e,t){if(!t.timeExtent||!Array.isArray(t.timeExtent)||2!==t.timeExtent.length)return null;const r=new Date(t.timeExtent[0]),i=new Date(t.timeExtent[1]);return new n.Z({start:r,end:i})}writeFullTimeExtent(e,t){e&&(0,u.pC)(e.start)&&(0,u.pC)(e.end)?t.timeExtent=[e.start.getTime(),e.end.getTime()]:t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?new a.Z({value:t.timeInterval,unit:g.v.fromJSON(t.timeIntervalUnits)}):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?new a.Z({value:t.defaultTimeInterval,unit:g.v.fromJSON(t.defaultTimeIntervalUnits)}):null}writeInterval(e,t){if(e){const r=e.toJSON();t.timeInterval=r.value,t.timeIntervalUnits=r.unit}else t.timeInterval=null,t.timeIntervalUnits=null}clone(){const{cumulative:e,endField:t,hasLiveData:r,interval:i,startField:s,timeReference:n,fullTimeExtent:a,trackIdField:l,useTime:u}=this;return new f({cumulative:e,endField:t,hasLiveData:r,interval:i,startField:s,timeReference:(0,o.d9)(n),fullTimeExtent:(0,o.d9)(a),trackIdField:l,useTime:u})}};(0,s._)([(0,p.Cb)({type:Boolean,json:{read:{source:"exportOptions.timeDataCumulative"},write:{target:"exportOptions.timeDataCumulative"}}})],b.prototype,"cumulative",void 0),(0,s._)([(0,p.Cb)({type:String,json:{read:{source:"endTimeField"},write:{target:"endTimeField",allowNull:!0}}})],b.prototype,"endField",void 0),(0,s._)([(0,p.Cb)({type:n.Z,json:{write:{enabled:!0,allowNull:!0}}})],b.prototype,"fullTimeExtent",void 0),(0,s._)([(0,d.r)("fullTimeExtent",["timeExtent"])],b.prototype,"readFullTimeExtent",null),(0,s._)([(0,m.c)("fullTimeExtent")],b.prototype,"writeFullTimeExtent",null),(0,s._)([(0,p.Cb)({type:Boolean,json:{write:!0}})],b.prototype,"hasLiveData",void 0),(0,s._)([(0,p.Cb)({type:a.Z,json:{write:{enabled:!0,allowNull:!0}}})],b.prototype,"interval",void 0),(0,s._)([(0,d.r)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],b.prototype,"readInterval",null),(0,s._)([(0,m.c)("interval")],b.prototype,"writeInterval",null),(0,s._)([(0,p.Cb)({type:String,json:{read:{source:"startTimeField"},write:{target:"startTimeField",allowNull:!0}}})],b.prototype,"startField",void 0),(0,s._)([(0,p.Cb)({type:y,json:{write:{enabled:!0,allowNull:!0}}})],b.prototype,"timeReference",void 0),(0,s._)([(0,p.Cb)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],b.prototype,"trackIdField",void 0),(0,s._)([(0,p.Cb)({type:Boolean,json:{read:{source:"exportOptions.useTime"},write:{target:"exportOptions.useTime"}}})],b.prototype,"useTime",void 0),b=f=(0,s._)([(0,c.j)("esri.layers.support.TimeInfo")],b);const v=b},78981:(e,t,r)=>{r.d(t,{v:()=>i});const i=(0,r(35454).w)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:void 0})}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6841],{88669:(n,t,e)=>{function a(){return[0,0,0,0]}function i(n,t,e,a){return[n,t,e,a]}function o(n,t){return new Float64Array(n,t,4)}function r(){return i(1,1,1,1)}function l(){return i(1,0,0,0)}function u(){return i(0,1,0,0)}function s(){return i(0,0,1,0)}function c(){return i(0,0,0,1)}e.d(t,{a:()=>o,c:()=>a,f:()=>i});const f=r(),m=l(),d=u(),p=s(),x=c();Object.freeze(Object.defineProperty({__proto__:null,create:a,clone:function(n){return[n[0],n[1],n[2],n[3]]},fromValues:i,fromArray:function(n){const t=[0,0,0,0],e=Math.min(4,n.length);for(let a=0;a<e;++a)t[a]=n[a];return t},createView:o,zeros:function(){return[0,0,0,0]},ones:r,unitX:l,unitY:u,unitZ:s,unitW:c,ZEROS:[0,0,0,0],ONES:f,UNIT_X:m,UNIT_Y:d,UNIT_Z:p,UNIT_W:x},Symbol.toStringTag,{value:"Module"}))},62357:(n,t,e)=>{e.d(t,{F2:()=>i,Wz:()=>o,t_:()=>r});const a=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function i(n){return n?n/72*96:0}function o(n){return n?72*n/96:0}function r(n){if("string"==typeof n){const t=n.match(a);if(t){const e=Number(t[1]),a=t[3]&&t[3].toLowerCase(),i="-"===n.charAt(0),r="px"===a?o(e):e;return i?-r:r}return console.warn("screenUtils.toPt: input not recognized!"),null}return n}},73572:(n,t,e)=>{e.d(t,{AJ:()=>r,If:()=>u,QM:()=>l,k0:()=>o,nu:()=>i,wx:()=>s}),e(22021);var a=e(62357);e(98766),e(88669);const i=2.4;function o(n){return(0,a.Wz)(n*i)}function r(n){return(0,a.F2)(n)/i}function l(n,t,e,i){const{radius:o,fieldOffset:r,field:l}=t,s=Math.round((0,a.F2)(o)),c=new Float64Array(e*i);let f,m=Number.NEGATIVE_INFINITY;const d=function(n,t){return null!=n?"string"==typeof t?t=>-1*+t.readAttribute(n):e=>+e.readAttribute(n)+t:n=>1}(l,r),p=new Set;for(const t of n){const n=t.getCursor();for(;n.next();){const t=n.getObjectId();if(p.has(t))continue;p.add(t);const a=n.readLegacyPointGeometry(),o=128;if(a.x<-o||a.x>=e+o||a.y<-o||a.y>i+o)continue;const r=+d(n),l=Math.max(0,Math.round(a.x)-s),x=Math.max(0,Math.round(a.y)-s),y=Math.min(i,Math.round(a.y)+s),v=Math.min(e,Math.round(a.x)+s);for(let n=x;n<y;n++)for(let t=l;t<v;t++){const i=n*e+t,o=u(a.x-t,a.y-n,s);f=c[i]+=o*r,f>m&&(m=f)}}}return{matrix:c.buffer,max:m}}function u(n,t,e){const a=Math.sqrt(n**2+t**2)/e;return a>1?0:3/(Math.PI*e**2)*(1-a**2)**2}function s(n,t){return"function"==typeof n?n:n?"string"==typeof t?t=>-1*+t[n]:e=>+e[n]+t:()=>1}},36841:(n,t,e)=>{e.r(t),e.d(t,{classBreaks:()=>y,heatmapStatistics:()=>h,histogram:()=>v,summaryStatistics:()=>p,uniqueValues:()=>x}),e(66577),e(20102);var a=e(70586),i=e(62357),o=e(82971),r=e(82397),l=e(8744),u=(e(35671),e(73572)),s=e(8418),c=e(59266),f=e(13473);let m=null;async function d(n,t){if(!t)return[];const e=n.field,a=n.valueExpression,i=n.normalizationType,r=n.normalizationField,l=n.normalizationTotal,u=[],f=n.viewInfoParams;let d=null,p=null;if(a){if(!m){const{arcadeUtils:n}=await(0,c.LC)();m=n}d=m.createFunction(a),p=f&&m.getViewInfo({viewingMode:f.viewingMode,scale:f.scale,spatialReference:new o.Z(f.spatialReference)})}return t.forEach((n=>{const t=n.attributes;let o;if(a){const t=m.createExecContext(n,p);o=m.executeFunction(d,t)}else t&&(o=t[e]);if(i&&isFinite(o)){const n=t&&parseFloat(t[r]);o=(0,s.fk)(o,i,n,l)}u.push(o)})),u}async function p(n){const{attribute:t,features:e}=n,{normalizationType:a,normalizationField:i,minValue:o,maxValue:r,fieldType:l}=t,u=await d({field:t.field,valueExpression:t.valueExpression,normalizationType:a,normalizationField:i,normalizationTotal:t.normalizationTotal,viewInfoParams:t.viewInfoParams},e),c=(0,s.S5)({normalizationType:a,normalizationField:i,minValue:o,maxValue:r}),f={value:.5,fieldType:l},m="esriFieldTypeString"===l?(0,s.H0)({values:u,supportsNullCount:c,percentileParams:f}):(0,s.i5)({values:u,minValue:o,maxValue:r,useSampleStdDev:!a,supportsNullCount:c,percentileParams:f});return(0,s.F_)(m,"esriFieldTypeDate"===l)}async function x(n){const{attribute:t,features:e}=n,a=await d({field:t.field,valueExpression:t.valueExpression,viewInfoParams:t.viewInfoParams},e),i=(0,s.eT)(a);return(0,s.Qm)(i,t.domain,t.returnAllCodedValues)}async function y(n){const{attribute:t,features:e}=n,{field:a,normalizationType:i,normalizationField:o,normalizationTotal:r,classificationMethod:l}=t,u=await d({field:a,valueExpression:t.valueExpression,normalizationType:i,normalizationField:o,normalizationTotal:r,viewInfoParams:t.viewInfoParams},e),c=(0,s.G2)(u,{field:a,normalizationType:i,normalizationField:o,normalizationTotal:r,classificationMethod:l,standardDeviationInterval:t.standardDeviationInterval,numClasses:t.numClasses,minValue:t.minValue,maxValue:t.maxValue});return(0,s.DL)(c,l)}async function v(n){const{attribute:t,features:e}=n,{field:a,normalizationType:i,normalizationField:o,normalizationTotal:r,classificationMethod:l}=t,u=await d({field:a,valueExpression:t.valueExpression,normalizationType:i,normalizationField:o,normalizationTotal:r,viewInfoParams:t.viewInfoParams},e);return(0,s.oF)(u,{field:a,normalizationType:i,normalizationField:o,normalizationTotal:r,classificationMethod:l,standardDeviationInterval:t.standardDeviationInterval,numBins:t.numBins,minValue:t.minValue,maxValue:t.maxValue})}async function h(n){const{attribute:t,features:e}=n,{field:o,radius:s,fieldOffset:c,transform:m,spatialReference:d,size:p}=t,x=function(n,t,e,i){const o=(0,l.MP)(e)?(0,l.C5)(e):null,u=o?Math.round((o.valid[1]-o.valid[0])/t.scale[0]):null;return n.map((n=>{const e=new f.Z((0,a.Wg)(n.geometry));return(0,r.RF)(t,e,e,e.hasZ,e.hasM),n.geometry=o?function(n,t,e){return n.x<0?n.x+=t:n.x>e&&(n.x-=t),n}(e,u,i[0]):e,n}))}(e,m,d,p),{count:y,min:v,max:h,mean:z,stdDev:I}=function(n,t=18,e,a,o,r){const l=new Float64Array(o*r);t=Math.round((0,i.F2)(t));let s=Number.POSITIVE_INFINITY,c=Number.NEGATIVE_INFINITY,f=0,m=0,d=0,p=0;const x=(0,u.wx)(a,e);for(const{geometry:e,attributes:a}of n){const n=Math.max(0,e.x-t),i=Math.max(0,e.y-t),y=Math.min(r,e.y+t),v=Math.min(o,e.x+t),h=+x(a);for(let a=i;a<y;a++)for(let i=n;i<v;i++){const n=a*o+i,r=(0,u.If)(e.x-i,e.y-a,t),x=l[n];f=l[n]+=r*h;const y=f-x;m+=y,d+=y*y,f<s&&(s=f),f>c&&(c=f),p++}}if(!p)return{mean:0,stddev:0,min:0,max:0,mid:0,count:0};const y=(c-s)/2;return{mean:m/p,stdDev:Math.sqrt((d-m*m/p)/p),min:s,max:c,mid:y,count:p}}(x,s,c,o,p[0],p[1]);return{count:y,min:v,max:h,avg:z,stddev:I}}}}]);