@arcgis/core 4.28.0-rc.1 → 4.28.0-rc.2

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 (688) hide show
  1. package/arcade/featureset/sources/FeatureLayerDynamic.js +1 -1
  2. package/arcade/featureset/sources/FeatureLayerMemory.js +1 -1
  3. package/arcade/featureset/sources/FeatureLayerRelated.js +1 -1
  4. package/arcade/featureset/support/FeatureSet.js +1 -1
  5. package/arcade/functions/featuresetbase.js +1 -1
  6. package/arcade/treeAnalysis.js +1 -1
  7. package/assets/esri/core/workers/RemoteClient.js +1 -1
  8. package/assets/esri/core/workers/chunks/00da3c16741a9bc47f3a.js +1 -0
  9. package/assets/esri/core/workers/chunks/020825b9c12f2b6386a7.js +1 -0
  10. package/assets/esri/core/workers/chunks/07adca463da5554e514d.js +1 -0
  11. package/assets/esri/core/workers/chunks/07c1783baf9b19b4876a.js +1 -0
  12. package/assets/esri/core/workers/chunks/08a98e85e86ce560d005.js +1 -0
  13. package/assets/esri/core/workers/chunks/0e354096ad8817971eed.js +1 -0
  14. package/assets/esri/core/workers/chunks/0e4646d14fa0775bf463.js +1 -0
  15. package/assets/esri/core/workers/chunks/0ea41f142793edb99d3a.js +1 -0
  16. package/assets/esri/core/workers/chunks/10dc578a90e1194c8720.js +1 -0
  17. package/assets/esri/core/workers/chunks/18e0c5bfeb1aa7213dfa.js +1 -0
  18. package/assets/esri/core/workers/chunks/19c9966f74d287750aaa.js +1 -0
  19. package/assets/esri/core/workers/chunks/1a65d9b9f823d1e8b315.js +1 -0
  20. package/assets/esri/core/workers/chunks/1eb5468c7cf653338d53.js +1 -0
  21. package/assets/esri/core/workers/chunks/1f30ea1a598ddd2e5df3.js +1 -0
  22. package/assets/esri/core/workers/chunks/{40c00b352618c7839f7e.js → 1f87f22e00e3218661c6.js} +1 -1
  23. package/assets/esri/core/workers/chunks/1fc3b526e881ada30420.js +1 -0
  24. package/assets/esri/core/workers/chunks/2304b7456ced997904f6.js +1 -0
  25. package/assets/esri/core/workers/chunks/2d92df1e3ba4f05e0510.js +1 -0
  26. package/assets/esri/core/workers/chunks/32bd6a343ea49c331e1f.js +1 -0
  27. package/assets/esri/core/workers/chunks/3491f1945d9c06d8b2c7.js +1 -0
  28. package/assets/esri/core/workers/chunks/366cf9bba6989342e447.js +1 -0
  29. package/assets/esri/core/workers/chunks/37edbd9b05bfdb2e645d.js +1 -0
  30. package/assets/esri/core/workers/chunks/3c5a112a9b58770a5242.js +1 -0
  31. package/assets/esri/core/workers/chunks/41778f8c49febe1f9404.js +1 -0
  32. package/assets/esri/core/workers/chunks/430ec9f5949b31959893.js +1 -0
  33. package/assets/esri/core/workers/chunks/43575b9acf9819f195f9.js +1 -0
  34. package/assets/esri/core/workers/chunks/43f7d9366d06d69e7c50.js +1 -0
  35. package/assets/esri/core/workers/chunks/{b98a2191cb997d632438.js → 4672504d6fe649da19f2.js} +1 -1
  36. package/assets/esri/core/workers/chunks/4e813f112a428b4acf0e.js +1 -0
  37. package/assets/esri/core/workers/chunks/{ca023e409bb7de9a69ab.js → 51b8913dff24e693bd25.js} +1 -1
  38. package/assets/esri/core/workers/chunks/5386b166f2e5dc0d9143.js +1 -0
  39. package/assets/esri/core/workers/chunks/562eafa5090827ebb7ec.js +1 -0
  40. package/assets/esri/core/workers/chunks/56a61a8bff08ae273de4.js +1 -0
  41. package/assets/esri/core/workers/chunks/580e7d3cbf6797a50ded.js +1 -0
  42. package/assets/esri/core/workers/chunks/5e8f02da4eae41f57383.js +1 -0
  43. package/assets/esri/core/workers/chunks/6046be598e8c673eeb1f.js +1 -0
  44. package/assets/esri/core/workers/chunks/61dec8399919b278b636.js +1 -0
  45. package/assets/esri/core/workers/chunks/6334a8a7b671d4042108.js +1 -0
  46. package/assets/esri/core/workers/chunks/6747503826bfc94bc6c0.js +1 -0
  47. package/assets/esri/core/workers/chunks/6867ed1860afb7aac536.js +1 -0
  48. package/assets/esri/core/workers/chunks/69c1c850af7ee33258e0.js +1 -0
  49. package/assets/esri/core/workers/chunks/70aa04b09143b7dd2ecb.js +1 -0
  50. package/assets/esri/core/workers/chunks/7388fd97e7b1a2142744.js +1 -0
  51. package/assets/esri/core/workers/chunks/7648f3341b7dff2825c3.js +1 -0
  52. package/assets/esri/core/workers/chunks/768271a12dc7e1781447.js +1 -0
  53. package/assets/esri/core/workers/chunks/{efb17a298363beca5209.js → 7756ed853b4ba54cd081.js} +1 -1
  54. package/assets/esri/core/workers/chunks/7f3bc7a2de59e485f22f.js +1 -0
  55. package/assets/esri/core/workers/chunks/7f433e25f3892475d5dc.js +1 -0
  56. package/assets/esri/core/workers/chunks/80bf6cf1bef17215bca4.js +1 -0
  57. package/assets/esri/core/workers/chunks/83d063b7ce768e9ab3de.js +1 -0
  58. package/assets/esri/core/workers/chunks/83f7e22a12d90ef93e62.js +1 -0
  59. package/assets/esri/core/workers/chunks/{4cc680fe4c9c39d2f853.js → 8a7fa4e8b0d14da7c9eb.js} +1 -1
  60. package/assets/esri/core/workers/chunks/92d8f75e616afa5c761e.js +1 -0
  61. package/assets/esri/core/workers/chunks/99fd09dd42b75a932e84.js +1 -0
  62. package/assets/esri/core/workers/chunks/{f0664a24f2c3705747a5.js → 9c77d69a13ec22cdd760.js} +1 -1
  63. package/assets/esri/core/workers/chunks/a360534e89a337871921.js +1 -0
  64. package/assets/esri/core/workers/chunks/a4341ec0fe89b865d849.js +1 -0
  65. package/assets/esri/core/workers/chunks/a821fa1870b83fed5d31.js +1 -0
  66. package/assets/esri/core/workers/chunks/a8e4726c1db23324eb54.js +1 -0
  67. package/assets/esri/core/workers/chunks/abcfe3bda6f40318b092.js +1 -0
  68. package/assets/esri/core/workers/chunks/ac3e429d43f80c596ec8.js +1 -0
  69. package/assets/esri/core/workers/chunks/ac53b5479dd229fa4f7d.js +1 -0
  70. package/assets/esri/core/workers/chunks/aeb3efa91165dd3d2493.js.LICENSE.txt +1 -1
  71. package/assets/esri/core/workers/chunks/b03eaba5fa75d6ef834a.js +1 -0
  72. package/assets/esri/core/workers/chunks/b251d8a856dc8b9406e0.js +1 -0
  73. package/assets/esri/core/workers/chunks/b3f5e97b47e896c6008a.js +1 -0
  74. package/assets/esri/core/workers/chunks/b6cc8d7dcc710231fe72.js +1 -0
  75. package/assets/esri/core/workers/chunks/b7c81a5bbcdd94b8a7f6.js +1 -0
  76. package/assets/esri/core/workers/chunks/b9a726f3bbad6fd4d65a.js +1 -0
  77. package/assets/esri/core/workers/chunks/c416df0668f6c596095f.js +1 -0
  78. package/assets/esri/core/workers/chunks/c447f4bf0e5f012f8f9b.js +1 -0
  79. package/assets/esri/core/workers/chunks/c7bd63103f101c09b1ea.js +1 -0
  80. package/assets/esri/core/workers/chunks/ca3d5803cdf035d7389d.js +1 -0
  81. package/assets/esri/core/workers/chunks/cb4b17f5cf96a9e36781.js +1 -0
  82. package/assets/esri/core/workers/chunks/cbddfcf57f72428a6992.js +1 -0
  83. package/assets/esri/core/workers/chunks/cc86c8c88124d916e1b3.js +1 -0
  84. package/assets/esri/core/workers/chunks/d0119dff8771e749436a.js +1 -0
  85. package/assets/esri/core/workers/chunks/d07235ce2765a25b9be4.js +1 -0
  86. package/assets/esri/core/workers/chunks/d0f903f2257eb96f7789.js +1 -0
  87. package/assets/esri/core/workers/chunks/d153a8b71111165fc891.js +1 -0
  88. package/assets/esri/core/workers/chunks/d213024012b1a019bfde.js +1 -0
  89. package/assets/esri/core/workers/chunks/d5fec54e98c8622349a4.js +1 -0
  90. package/assets/esri/core/workers/chunks/d878bb6409df183ea0ce.js +1 -0
  91. package/assets/esri/core/workers/chunks/da124ccd18d2745195fe.js +1 -0
  92. package/assets/esri/core/workers/chunks/dd55151bfac60b0deaac.js +1 -0
  93. package/assets/esri/core/workers/chunks/e06cd10b6f8f363b5131.js +1 -0
  94. package/assets/esri/core/workers/chunks/e5352dc8983d06d4ee0f.js +1 -0
  95. package/assets/esri/core/workers/chunks/e67c4b7ad06d8404895a.js +1 -0
  96. package/assets/esri/core/workers/chunks/e810336a4292ea6076a6.js +1 -0
  97. package/assets/esri/core/workers/chunks/{4c3345ffbe79ee0167fb.js → ea9ae9d2aef01af90896.js} +1 -1
  98. package/assets/esri/core/workers/chunks/ef757269fb3fe0e74ef8.js +1 -0
  99. package/assets/esri/core/workers/chunks/f0d342303fc20e266d27.js +1 -0
  100. package/assets/esri/core/workers/chunks/f73563b23fd8dc6cf2fe.js +1 -0
  101. package/assets/esri/core/workers/chunks/f85107720159b855a469.js +1 -0
  102. package/assets/esri/core/workers/chunks/fbc57985d55b5fbe1e8a.js +1 -0
  103. package/assets/esri/core/workers/chunks/fc95b1a36ed68b851400.js +1 -0
  104. package/assets/esri/core/workers/chunks/{7cf7f2b991a7cbdad2ce.js → fd28400141a6751327ae.js} +1 -1
  105. package/assets/esri/themes/base/_core.scss +2 -0
  106. package/assets/esri/themes/base/widgets/_DatePicker.scss +4 -0
  107. package/assets/esri/themes/base/widgets/_Features.scss +1 -1
  108. package/assets/esri/themes/base/widgets/_ScaleRangeSlider.scss +1 -1
  109. package/assets/esri/themes/base/widgets/_TimeZoneLabel.scss +46 -0
  110. package/assets/esri/themes/base/widgets/_Tooltip.scss +1 -1
  111. package/assets/esri/themes/base/widgets/_UtilityNetworkTrace.scss +4 -0
  112. package/assets/esri/themes/dark/main.css +1 -1
  113. package/assets/esri/themes/light/main.css +1 -1
  114. package/assets/esri/themes/light/view.css +1 -1
  115. package/assets/esri/widgets/Editor/t9n/Editor_ar.json +1 -1
  116. package/assets/esri/widgets/Editor/t9n/Editor_bg.json +1 -1
  117. package/assets/esri/widgets/Editor/t9n/Editor_bs.json +1 -1
  118. package/assets/esri/widgets/Editor/t9n/Editor_ca.json +1 -1
  119. package/assets/esri/widgets/Editor/t9n/Editor_cs.json +1 -1
  120. package/assets/esri/widgets/Editor/t9n/Editor_da.json +1 -1
  121. package/assets/esri/widgets/Editor/t9n/Editor_de.json +1 -1
  122. package/assets/esri/widgets/Editor/t9n/Editor_el.json +1 -1
  123. package/assets/esri/widgets/Editor/t9n/Editor_es.json +1 -1
  124. package/assets/esri/widgets/Editor/t9n/Editor_et.json +1 -1
  125. package/assets/esri/widgets/Editor/t9n/Editor_fi.json +1 -1
  126. package/assets/esri/widgets/Editor/t9n/Editor_fr.json +1 -1
  127. package/assets/esri/widgets/Editor/t9n/Editor_he.json +1 -1
  128. package/assets/esri/widgets/Editor/t9n/Editor_hr.json +1 -1
  129. package/assets/esri/widgets/Editor/t9n/Editor_hu.json +1 -1
  130. package/assets/esri/widgets/Editor/t9n/Editor_id.json +1 -1
  131. package/assets/esri/widgets/Editor/t9n/Editor_it.json +1 -1
  132. package/assets/esri/widgets/Editor/t9n/Editor_ja.json +1 -1
  133. package/assets/esri/widgets/Editor/t9n/Editor_ko.json +1 -1
  134. package/assets/esri/widgets/Editor/t9n/Editor_lt.json +1 -1
  135. package/assets/esri/widgets/Editor/t9n/Editor_lv.json +1 -1
  136. package/assets/esri/widgets/Editor/t9n/Editor_nb.json +1 -1
  137. package/assets/esri/widgets/Editor/t9n/Editor_nl.json +1 -1
  138. package/assets/esri/widgets/Editor/t9n/Editor_pl.json +1 -1
  139. package/assets/esri/widgets/Editor/t9n/Editor_pt-BR.json +1 -1
  140. package/assets/esri/widgets/Editor/t9n/Editor_pt-PT.json +1 -1
  141. package/assets/esri/widgets/Editor/t9n/Editor_ro.json +1 -1
  142. package/assets/esri/widgets/Editor/t9n/Editor_ru.json +1 -1
  143. package/assets/esri/widgets/Editor/t9n/Editor_sk.json +1 -1
  144. package/assets/esri/widgets/Editor/t9n/Editor_sl.json +1 -1
  145. package/assets/esri/widgets/Editor/t9n/Editor_sr.json +1 -1
  146. package/assets/esri/widgets/Editor/t9n/Editor_sv.json +1 -1
  147. package/assets/esri/widgets/Editor/t9n/Editor_th.json +1 -1
  148. package/assets/esri/widgets/Editor/t9n/Editor_tr.json +1 -1
  149. package/assets/esri/widgets/Editor/t9n/Editor_uk.json +1 -1
  150. package/assets/esri/widgets/Editor/t9n/Editor_vi.json +1 -1
  151. package/assets/esri/widgets/Editor/t9n/Editor_zh-CN.json +1 -1
  152. package/assets/esri/widgets/Editor/t9n/Editor_zh-HK.json +1 -1
  153. package/assets/esri/widgets/Editor/t9n/Editor_zh-TW.json +1 -1
  154. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ar.json +1 -1
  155. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_bg.json +1 -1
  156. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_bs.json +1 -1
  157. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ca.json +1 -1
  158. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_cs.json +1 -1
  159. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_da.json +1 -1
  160. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_de.json +1 -1
  161. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_el.json +1 -1
  162. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_es.json +1 -1
  163. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_et.json +1 -1
  164. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_fi.json +1 -1
  165. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_fr.json +1 -1
  166. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_he.json +1 -1
  167. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_hr.json +1 -1
  168. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_hu.json +1 -1
  169. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_id.json +1 -1
  170. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_it.json +1 -1
  171. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ja.json +1 -1
  172. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ko.json +1 -1
  173. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_lt.json +1 -1
  174. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_lv.json +1 -1
  175. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_nb.json +1 -1
  176. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_nl.json +1 -1
  177. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_pl.json +1 -1
  178. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_pt-BR.json +1 -1
  179. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_pt-PT.json +1 -1
  180. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ro.json +1 -1
  181. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ru.json +1 -1
  182. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_sk.json +1 -1
  183. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_sl.json +1 -1
  184. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_sr.json +1 -1
  185. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_sv.json +1 -1
  186. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_th.json +1 -1
  187. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_tr.json +1 -1
  188. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_uk.json +1 -1
  189. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_vi.json +1 -1
  190. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_zh-CN.json +1 -1
  191. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_zh-HK.json +1 -1
  192. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_zh-TW.json +1 -1
  193. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ar.json +1 -1
  194. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bg.json +1 -1
  195. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bs.json +1 -1
  196. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ca.json +1 -1
  197. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_cs.json +1 -1
  198. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_da.json +1 -1
  199. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_de.json +1 -1
  200. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_el.json +1 -1
  201. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_es.json +1 -1
  202. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_et.json +1 -1
  203. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fi.json +1 -1
  204. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fr.json +1 -1
  205. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_he.json +1 -1
  206. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hr.json +1 -1
  207. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hu.json +1 -1
  208. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_id.json +1 -1
  209. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_it.json +1 -1
  210. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ja.json +1 -1
  211. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ko.json +1 -1
  212. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lt.json +1 -1
  213. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lv.json +1 -1
  214. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_nb.json +1 -1
  215. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_nl.json +1 -1
  216. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pl.json +1 -1
  217. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-BR.json +1 -1
  218. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-PT.json +1 -1
  219. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ro.json +1 -1
  220. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ru.json +1 -1
  221. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sk.json +1 -1
  222. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sl.json +1 -1
  223. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sr.json +1 -1
  224. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sv.json +1 -1
  225. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_th.json +1 -1
  226. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_tr.json +1 -1
  227. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_uk.json +1 -1
  228. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_vi.json +1 -1
  229. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-CN.json +1 -1
  230. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-HK.json +1 -1
  231. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-TW.json +1 -1
  232. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_ar.json +1 -1
  233. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_bg.json +1 -1
  234. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_bs.json +1 -1
  235. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_ca.json +1 -1
  236. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_cs.json +1 -1
  237. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_da.json +1 -1
  238. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_de.json +1 -1
  239. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_el.json +1 -1
  240. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_es.json +1 -1
  241. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_et.json +1 -1
  242. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_fi.json +1 -1
  243. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_fr.json +1 -1
  244. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_he.json +1 -1
  245. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_hr.json +1 -1
  246. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_hu.json +1 -1
  247. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_id.json +1 -1
  248. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_it.json +1 -1
  249. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_ja.json +1 -1
  250. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_ko.json +1 -1
  251. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_lt.json +1 -1
  252. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_lv.json +1 -1
  253. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_nb.json +1 -1
  254. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_nl.json +1 -1
  255. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_pl.json +1 -1
  256. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_pt-BR.json +1 -1
  257. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_pt-PT.json +1 -1
  258. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_ro.json +1 -1
  259. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_ru.json +1 -1
  260. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_sk.json +1 -1
  261. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_sl.json +1 -1
  262. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_sr.json +1 -1
  263. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_sv.json +1 -1
  264. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_th.json +1 -1
  265. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_tr.json +1 -1
  266. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_uk.json +1 -1
  267. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_vi.json +1 -1
  268. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_zh-CN.json +1 -1
  269. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_zh-HK.json +1 -1
  270. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_zh-TW.json +1 -1
  271. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_ar.json +1 -1
  272. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_bg.json +1 -1
  273. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_bs.json +1 -1
  274. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_ca.json +1 -1
  275. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_cs.json +1 -1
  276. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_da.json +1 -1
  277. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_de.json +1 -1
  278. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_el.json +1 -1
  279. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_es.json +1 -1
  280. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_et.json +1 -1
  281. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_fi.json +1 -1
  282. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_fr.json +1 -1
  283. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_he.json +1 -1
  284. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_hr.json +1 -1
  285. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_hu.json +1 -1
  286. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_id.json +1 -1
  287. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_it.json +1 -1
  288. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_ja.json +1 -1
  289. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_ko.json +1 -1
  290. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_lt.json +1 -1
  291. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_lv.json +1 -1
  292. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_nb.json +1 -1
  293. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_nl.json +1 -1
  294. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_pl.json +1 -1
  295. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_pt-BR.json +1 -1
  296. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_pt-PT.json +1 -1
  297. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_ro.json +1 -1
  298. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_ru.json +1 -1
  299. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_sk.json +1 -1
  300. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_sl.json +1 -1
  301. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_sr.json +1 -1
  302. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_sv.json +1 -1
  303. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_th.json +1 -1
  304. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_tr.json +1 -1
  305. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_uk.json +1 -1
  306. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_vi.json +1 -1
  307. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_zh-CN.json +1 -1
  308. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_zh-HK.json +1 -1
  309. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_zh-TW.json +1 -1
  310. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_ar.json +1 -1
  311. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_bg.json +1 -1
  312. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_bs.json +1 -1
  313. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_ca.json +1 -1
  314. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_cs.json +1 -1
  315. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_da.json +1 -1
  316. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_de.json +1 -1
  317. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_el.json +1 -1
  318. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_es.json +1 -1
  319. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_et.json +1 -1
  320. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_fi.json +1 -1
  321. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_fr.json +1 -1
  322. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_he.json +1 -1
  323. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_hr.json +1 -1
  324. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_hu.json +1 -1
  325. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_id.json +1 -1
  326. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_it.json +1 -1
  327. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_ja.json +1 -1
  328. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_ko.json +1 -1
  329. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_lt.json +1 -1
  330. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_lv.json +1 -1
  331. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_nb.json +1 -1
  332. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_nl.json +1 -1
  333. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_pl.json +1 -1
  334. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_pt-BR.json +1 -1
  335. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_pt-PT.json +1 -1
  336. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_ro.json +1 -1
  337. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_ru.json +1 -1
  338. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_sk.json +1 -1
  339. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_sl.json +1 -1
  340. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_sr.json +1 -1
  341. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_sv.json +1 -1
  342. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_th.json +1 -1
  343. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_tr.json +1 -1
  344. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_uk.json +1 -1
  345. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_vi.json +1 -1
  346. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_zh-CN.json +1 -1
  347. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_zh-HK.json +1 -1
  348. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_zh-TW.json +1 -1
  349. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_ar.json +1 -1
  350. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_bg.json +1 -1
  351. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_bs.json +1 -1
  352. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_ca.json +1 -1
  353. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_cs.json +1 -1
  354. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_da.json +1 -1
  355. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_de.json +1 -1
  356. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_el.json +1 -1
  357. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_es.json +1 -1
  358. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_et.json +1 -1
  359. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_fi.json +1 -1
  360. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_fr.json +1 -1
  361. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_he.json +1 -1
  362. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_hr.json +1 -1
  363. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_hu.json +1 -1
  364. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_id.json +1 -1
  365. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_it.json +1 -1
  366. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_ja.json +1 -1
  367. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_ko.json +1 -1
  368. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_lt.json +1 -1
  369. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_lv.json +1 -1
  370. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_nb.json +1 -1
  371. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_nl.json +1 -1
  372. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_pl.json +1 -1
  373. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_pt-BR.json +1 -1
  374. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_pt-PT.json +1 -1
  375. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_ro.json +1 -1
  376. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_ru.json +1 -1
  377. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_sk.json +1 -1
  378. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_sl.json +1 -1
  379. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_sr.json +1 -1
  380. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_sv.json +1 -1
  381. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_th.json +1 -1
  382. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_tr.json +1 -1
  383. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_uk.json +1 -1
  384. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_vi.json +1 -1
  385. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_zh-CN.json +1 -1
  386. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_zh-HK.json +1 -1
  387. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_zh-TW.json +1 -1
  388. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_ar.json +1 -1
  389. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_bg.json +1 -1
  390. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_bs.json +1 -1
  391. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_ca.json +1 -1
  392. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_cs.json +1 -1
  393. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_da.json +1 -1
  394. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_de.json +1 -1
  395. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_el.json +1 -1
  396. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_es.json +1 -1
  397. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_et.json +1 -1
  398. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_fi.json +1 -1
  399. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_fr.json +1 -1
  400. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_he.json +1 -1
  401. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_hr.json +1 -1
  402. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_hu.json +1 -1
  403. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_id.json +1 -1
  404. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_it.json +1 -1
  405. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_ja.json +1 -1
  406. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_ko.json +1 -1
  407. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_lt.json +1 -1
  408. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_lv.json +1 -1
  409. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_nb.json +1 -1
  410. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_nl.json +1 -1
  411. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_pl.json +1 -1
  412. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_pt-BR.json +1 -1
  413. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_pt-PT.json +1 -1
  414. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_ro.json +1 -1
  415. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_ru.json +1 -1
  416. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_sk.json +1 -1
  417. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_sl.json +1 -1
  418. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_sr.json +1 -1
  419. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_sv.json +1 -1
  420. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_th.json +1 -1
  421. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_tr.json +1 -1
  422. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_uk.json +1 -1
  423. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_vi.json +1 -1
  424. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_zh-CN.json +1 -1
  425. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_zh-HK.json +1 -1
  426. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_zh-TW.json +1 -1
  427. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_ar.json +1 -1
  428. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_bg.json +1 -1
  429. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_bs.json +1 -1
  430. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_ca.json +1 -1
  431. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_cs.json +1 -1
  432. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_da.json +1 -1
  433. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_de.json +1 -1
  434. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_el.json +1 -1
  435. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_es.json +1 -1
  436. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_et.json +1 -1
  437. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_fi.json +1 -1
  438. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_fr.json +1 -1
  439. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_he.json +1 -1
  440. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_hr.json +1 -1
  441. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_hu.json +1 -1
  442. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_id.json +1 -1
  443. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_it.json +1 -1
  444. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_ja.json +1 -1
  445. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_ko.json +1 -1
  446. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_lt.json +1 -1
  447. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_lv.json +1 -1
  448. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_nb.json +1 -1
  449. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_nl.json +1 -1
  450. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_pl.json +1 -1
  451. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_pt-BR.json +1 -1
  452. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_pt-PT.json +1 -1
  453. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_ro.json +1 -1
  454. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_ru.json +1 -1
  455. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_sk.json +1 -1
  456. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_sl.json +1 -1
  457. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_sr.json +1 -1
  458. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_sv.json +1 -1
  459. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_th.json +1 -1
  460. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_tr.json +1 -1
  461. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_uk.json +1 -1
  462. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_vi.json +1 -1
  463. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_zh-CN.json +1 -1
  464. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_zh-HK.json +1 -1
  465. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_zh-TW.json +1 -1
  466. package/chunks/HighlightApply.glsl.js +6 -7
  467. package/chunks/HighlightBlur.glsl.js +5 -6
  468. package/chunks/HighlightDownsample.glsl.js +8 -8
  469. package/chunks/languageUtils.js +1 -1
  470. package/core/MemCache.js +1 -1
  471. package/core/MemCachePool.js +1 -1
  472. package/core/colorUtils.js +1 -1
  473. package/geometry/GeometryCursor.js +1 -1
  474. package/interfaces.d.ts +317 -27
  475. package/intl/date.js +1 -1
  476. package/kernel.js +1 -1
  477. package/layers/GroupLayer.js +1 -1
  478. package/layers/MapNotesLayer.js +1 -1
  479. package/layers/SceneLayer.js +1 -1
  480. package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
  481. package/layers/graphics/data/AttributesBuilder.js +1 -1
  482. package/layers/graphics/data/QueryEngineResult.js +1 -1
  483. package/layers/graphics/editingSupport.js +1 -1
  484. package/layers/graphics/sources/FeatureLayerSource.js +1 -1
  485. package/layers/graphics/sources/csv/csv.js +1 -1
  486. package/layers/graphics/sources/geojson/GeoJSONSourceWorker.js +1 -1
  487. package/layers/graphics/sources/support/MemorySourceWorker.js +1 -1
  488. package/layers/graphics/sources/support/sourceUtils.js +1 -1
  489. package/layers/ogc/wfsUtils.js +1 -1
  490. package/layers/support/Field.js +1 -1
  491. package/layers/support/FieldsIndex.js +1 -1
  492. package/layers/support/LayerContingentValuesCache.js +1 -1
  493. package/layers/support/fieldProperties.js +1 -1
  494. package/layers/support/fieldUtils.js +1 -1
  495. package/layers/support/imageryRendererUtils.js +1 -1
  496. package/layers/support/labelFormatUtils.js +1 -1
  497. package/package.json +2 -2
  498. package/renderers/UniqueValueRenderer.js +1 -1
  499. package/renderers/support/utils.js +1 -1
  500. package/rest/featureService/FeatureService.js +1 -1
  501. package/rest/query/operations/query.js +1 -1
  502. package/smartMapping/labels/clusters.js +1 -1
  503. package/smartMapping/popup/support/clusterUtils.js +1 -1
  504. package/smartMapping/renderers/color.js +1 -1
  505. package/smartMapping/renderers/opacity.js +1 -1
  506. package/smartMapping/renderers/size.js +1 -1
  507. package/smartMapping/renderers/support/utils.js +1 -1
  508. package/smartMapping/renderers/type.js +1 -1
  509. package/smartMapping/renderers/univariateColorSize.js +1 -1
  510. package/smartMapping/statistics/histogram.js +1 -1
  511. package/smartMapping/statistics/summaryStatistics.js +1 -1
  512. package/smartMapping/statistics/support/statsWorker.js +1 -1
  513. package/smartMapping/statistics/support/utils.js +1 -1
  514. package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
  515. package/smartMapping/support/adapters/FeatureLayerBinningAdapter.js +1 -1
  516. package/smartMapping/support/adapters/InMemoryLayerAdapter.js +1 -1
  517. package/smartMapping/support/adapters/OGCFeatureLayerAdapter.js +1 -1
  518. package/smartMapping/support/adapters/SceneLayerAdapter.js +1 -1
  519. package/smartMapping/support/adapters/StreamLayerAdapter.js +1 -1
  520. package/smartMapping/support/adapters/support/utils.js +1 -1
  521. package/smartMapping/support/clusterUtils.js +1 -1
  522. package/smartMapping/support/utils.js +1 -1
  523. package/support/revision.js +1 -1
  524. package/symbols/cim/CIMSymbolHelper.js +1 -1
  525. package/symbols/cim/effects/EffectDashes.js +1 -1
  526. package/symbols/support/previewCIMSymbol.js +1 -1
  527. package/time/timeZoneUtils.js +1 -1
  528. package/versionManagement/VersionManagementService.js +1 -1
  529. package/views/2d/engine/vectorTiles/RenderBucket.js +1 -1
  530. package/views/2d/input/handlers/KeyPan.js +1 -1
  531. package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
  532. package/views/2d/viewpointUtils.js +1 -1
  533. package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementVisualization.js +1 -1
  534. package/views/3d/analysis/DirectLineMeasurement/DirectLineMeasurementVisualization.js +1 -1
  535. package/views/3d/interactive/editingTools/transformGraphic/GraphicScaleRotateTransform.js +1 -1
  536. package/views/3d/layers/I3SMeshView3D.js +1 -1
  537. package/views/3d/layers/i3s/I3SOverrides.js +1 -1
  538. package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
  539. package/views/3d/support/buffer/InterleavedLayout.js +1 -1
  540. package/views/3d/terrain/PlanarPatch.js +1 -1
  541. package/views/3d/terrain/SphericalPatch.js +1 -1
  542. package/views/3d/terrain/TerrainSurface.js +1 -1
  543. package/views/3d/terrain/Tile.js +1 -1
  544. package/views/3d/terrain/TileRenderer.js +1 -1
  545. package/views/3d/terrain/TileTexture.js +1 -1
  546. package/views/3d/webgl-engine/core/FBOCache.js +1 -1
  547. package/views/3d/webgl-engine/core/shaderLibrary/shading/ScreenSpaceReflections.glsl.js +1 -1
  548. package/views/3d/webgl-engine/effects/highlight/Highlight.js +1 -1
  549. package/views/3d/webgl-engine/effects/highlight/HighlightPassParameters.js +1 -1
  550. package/views/3d/webgl-engine/lib/TextRenderer.js +1 -1
  551. package/views/3d/webgl-engine/lib/edgeRendering/EdgeView.js +1 -1
  552. package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
  553. package/views/3d/webgl-engine/shaders/HighlightApply.glsl.js +1 -1
  554. package/views/3d/webgl-engine/shaders/HighlightBlur.glsl.js +1 -1
  555. package/views/3d/webgl-engine/shaders/HighlightDownsample.glsl.js +1 -1
  556. package/views/interactive/SegmentLabels.js +1 -1
  557. package/views/overlay/TextOverlayItem.js +1 -1
  558. package/views/webgl/VertexArrayObject.js +1 -1
  559. package/widgets/AreaMeasurement2D/AreaMeasurement2DTool.js +1 -1
  560. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DTool.js +1 -1
  561. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  562. package/widgets/Editor/CreateFeaturesWorkflowData.js +1 -1
  563. package/widgets/Editor/EditorViewModel.js +1 -1
  564. package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
  565. package/widgets/Editor/UpdateRecordWorkflow.js +1 -1
  566. package/widgets/Editor/UpdateWorkflow.js +1 -1
  567. package/widgets/Editor/workflowUtils.js +1 -1
  568. package/widgets/Editor.js +1 -1
  569. package/widgets/Feature/FeatureRelationship/FeatureRelationshipViewModel.js +1 -1
  570. package/widgets/Feature/FeatureViewModel.js +1 -1
  571. package/widgets/Feature/support/featureUtils.js +1 -1
  572. package/widgets/FeatureForm/FieldInput.js +1 -1
  573. package/widgets/FeatureForm/RelationshipInput.js +1 -1
  574. package/widgets/FeatureForm/featureFormUtils.js +1 -1
  575. package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
  576. package/widgets/FeatureTable/FieldColumn.js +1 -1
  577. package/widgets/Features/FeaturesViewModel.js +1 -1
  578. package/widgets/Features/css.js +1 -1
  579. package/widgets/Features.js +1 -1
  580. package/widgets/Legend/LegendViewModel.js +1 -1
  581. package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
  582. package/widgets/Legend/support/utils.js +1 -1
  583. package/widgets/LineOfSight.js +1 -1
  584. package/widgets/OrientedImageryViewer.d.ts +4 -0
  585. package/widgets/Popup/actionUtils.js +1 -1
  586. package/widgets/ScaleRangeSlider.js +1 -1
  587. package/widgets/TimeZoneLabel/TimeZoneLabelViewModel.js +5 -0
  588. package/widgets/TimeZoneLabel/css.js +5 -0
  589. package/widgets/TimeZoneLabel.d.ts +4 -0
  590. package/widgets/TimeZoneLabel.js +5 -0
  591. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
  592. package/widgets/UtilityNetworkTrace/support/ResultAreaHandler.js +1 -1
  593. package/widgets/UtilityNetworkTrace.js +1 -1
  594. package/widgets/UtilityNetworkValidateTopology/UtilityNetworkValidateTopologyViewModel.js +1 -1
  595. package/widgets/support/SnappingControls/SnappingControlsViewModel.js +1 -1
  596. package/assets/esri/core/workers/chunks/0036b6df93a17e57e3b9.js +0 -1
  597. package/assets/esri/core/workers/chunks/089e59445bd0b1131ffb.js +0 -1
  598. package/assets/esri/core/workers/chunks/09886c56427c4b3f18b5.js +0 -1
  599. package/assets/esri/core/workers/chunks/0b539dacc5c72399ab32.js +0 -1
  600. package/assets/esri/core/workers/chunks/0bb57b54897fb4381b46.js +0 -1
  601. package/assets/esri/core/workers/chunks/0d77c9c97301a4ee4167.js +0 -1
  602. package/assets/esri/core/workers/chunks/0d8ca51043c7784aed96.js +0 -1
  603. package/assets/esri/core/workers/chunks/121a9e148509f2fe2210.js +0 -1
  604. package/assets/esri/core/workers/chunks/1461910bd37aea28948b.js +0 -1
  605. package/assets/esri/core/workers/chunks/1586929658af88f6f961.js +0 -1
  606. package/assets/esri/core/workers/chunks/16d45f439b89da3ec835.js +0 -1
  607. package/assets/esri/core/workers/chunks/1ef3533abdd937ae2794.js +0 -1
  608. package/assets/esri/core/workers/chunks/24c504585da8e44f956f.js +0 -1
  609. package/assets/esri/core/workers/chunks/24ff267cf253feac22de.js +0 -1
  610. package/assets/esri/core/workers/chunks/2561c2bd5a0826dedcb1.js +0 -1
  611. package/assets/esri/core/workers/chunks/2832161454babb40614b.js +0 -1
  612. package/assets/esri/core/workers/chunks/29cab345819ec02ed60a.js +0 -1
  613. package/assets/esri/core/workers/chunks/2f8e71dac98135bbc3e6.js +0 -1
  614. package/assets/esri/core/workers/chunks/369f2ef414498c17a05a.js +0 -1
  615. package/assets/esri/core/workers/chunks/4108445c4a653772c5ee.js +0 -1
  616. package/assets/esri/core/workers/chunks/432a009e756643f59cb4.js +0 -1
  617. package/assets/esri/core/workers/chunks/435f04e3964b1c6d4880.js +0 -1
  618. package/assets/esri/core/workers/chunks/44a3d01b7daa46584ed9.js +0 -1
  619. package/assets/esri/core/workers/chunks/44b870cb53ba68b17c32.js +0 -1
  620. package/assets/esri/core/workers/chunks/4736188659a62488c777.js +0 -1
  621. package/assets/esri/core/workers/chunks/4763831c8815fed636f7.js +0 -1
  622. package/assets/esri/core/workers/chunks/4781e2011a32d7724889.js +0 -1
  623. package/assets/esri/core/workers/chunks/4d81aa50d90f5701a343.js +0 -1
  624. package/assets/esri/core/workers/chunks/4e60ac00b15b34a3b5f5.js +0 -1
  625. package/assets/esri/core/workers/chunks/4e6bf1efe3b0b474cbb4.js +0 -1
  626. package/assets/esri/core/workers/chunks/505132c47dbdf5fdeacc.js +0 -1
  627. package/assets/esri/core/workers/chunks/526ae87737777154c3f3.js +0 -1
  628. package/assets/esri/core/workers/chunks/53859d0bd8bb14af2d4d.js +0 -1
  629. package/assets/esri/core/workers/chunks/593d7f17090b74945345.js +0 -1
  630. package/assets/esri/core/workers/chunks/5a3ccc0a19ac8fa9e524.js +0 -1
  631. package/assets/esri/core/workers/chunks/5baae5acd184e87d5dc4.js +0 -1
  632. package/assets/esri/core/workers/chunks/5bdd2a3422fe52aa2c65.js +0 -1
  633. package/assets/esri/core/workers/chunks/66ba749ab0a631bbfdec.js +0 -1
  634. package/assets/esri/core/workers/chunks/69da907a92901f0fb391.js +0 -1
  635. package/assets/esri/core/workers/chunks/6b14d89d689a21014aec.js +0 -1
  636. package/assets/esri/core/workers/chunks/6b7b5544ed1f9a84623f.js +0 -1
  637. package/assets/esri/core/workers/chunks/6ce986f4213df8a2d934.js +0 -1
  638. package/assets/esri/core/workers/chunks/785d9a9a933314551b10.js +0 -1
  639. package/assets/esri/core/workers/chunks/7f6840c53a456524b74c.js +0 -1
  640. package/assets/esri/core/workers/chunks/84870178173951ad6c2b.js +0 -1
  641. package/assets/esri/core/workers/chunks/8634d6a62f4de973e39b.js +0 -1
  642. package/assets/esri/core/workers/chunks/88d43db03cc11cbffa68.js +0 -1
  643. package/assets/esri/core/workers/chunks/902b672a3475ec83b58b.js +0 -1
  644. package/assets/esri/core/workers/chunks/943ea851c1b07af91172.js +0 -1
  645. package/assets/esri/core/workers/chunks/9a5e3b0cc8536f79c377.js +0 -1
  646. package/assets/esri/core/workers/chunks/9f8207c82a17508a87a8.js +0 -1
  647. package/assets/esri/core/workers/chunks/a01ffe03b1465c21b9e6.js +0 -1
  648. package/assets/esri/core/workers/chunks/a298c9031962951e55a9.js +0 -1
  649. package/assets/esri/core/workers/chunks/a9a0194120ec65a00f6d.js +0 -1
  650. package/assets/esri/core/workers/chunks/aa453ae526a233cedf0c.js +0 -1
  651. package/assets/esri/core/workers/chunks/ab5ffcf0db724d40f714.js +0 -1
  652. package/assets/esri/core/workers/chunks/ad38e456a7cee940a165.js +0 -1
  653. package/assets/esri/core/workers/chunks/ae3ea5fa813aec0db5e1.js +0 -1
  654. package/assets/esri/core/workers/chunks/ae59e10b225f08f38487.js +0 -1
  655. package/assets/esri/core/workers/chunks/b030cf4b00e42337dc89.js +0 -1
  656. package/assets/esri/core/workers/chunks/b0526633a93ef69ec47b.js +0 -1
  657. package/assets/esri/core/workers/chunks/b0d6e6e489aaa331861c.js +0 -1
  658. package/assets/esri/core/workers/chunks/b0ddb503463328531d8f.js +0 -1
  659. package/assets/esri/core/workers/chunks/b1a8024bf8cdd0cd3884.js +0 -1
  660. package/assets/esri/core/workers/chunks/b3243695e0edfcbca276.js +0 -1
  661. package/assets/esri/core/workers/chunks/be57692d4b9ff6cd4c02.js +0 -1
  662. package/assets/esri/core/workers/chunks/c0061d993e1ede22b1dc.js +0 -1
  663. package/assets/esri/core/workers/chunks/c260ad3434bb00ba64a7.js +0 -1
  664. package/assets/esri/core/workers/chunks/c2be3b9aa28e454cf931.js +0 -1
  665. package/assets/esri/core/workers/chunks/c459c8d8630eb4b955b1.js +0 -1
  666. package/assets/esri/core/workers/chunks/c4df42fe859a9115a6e4.js +0 -1
  667. package/assets/esri/core/workers/chunks/c5acddea13fd01912e79.js +0 -1
  668. package/assets/esri/core/workers/chunks/c607fe4df3ca054f9aa8.js +0 -1
  669. package/assets/esri/core/workers/chunks/ca85e88dad30b5f2956b.js +0 -1
  670. package/assets/esri/core/workers/chunks/ce3bb546a729f0ccf696.js +0 -1
  671. package/assets/esri/core/workers/chunks/cfd63bd57eea2caa4bcb.js +0 -1
  672. package/assets/esri/core/workers/chunks/d6ded127949160103f69.js +0 -1
  673. package/assets/esri/core/workers/chunks/d95eed98316e59f8f35d.js +0 -1
  674. package/assets/esri/core/workers/chunks/e0b49c5eb5427656e835.js +0 -1
  675. package/assets/esri/core/workers/chunks/e52b9e423c0ba4134309.js +0 -1
  676. package/assets/esri/core/workers/chunks/e52d5a48e83d8df36f92.js +0 -1
  677. package/assets/esri/core/workers/chunks/e53df0f018a82e3a35bd.js +0 -1
  678. package/assets/esri/core/workers/chunks/ea953f5a0a975f7bd7b9.js +0 -1
  679. package/assets/esri/core/workers/chunks/eb4bfafe821daeb4bb6e.js +0 -1
  680. package/assets/esri/core/workers/chunks/f183a4b52095e4c498b4.js +0 -1
  681. package/assets/esri/core/workers/chunks/f221b9c6ae6c7eb4ca01.js +0 -1
  682. package/assets/esri/core/workers/chunks/f57100e3dfc7f087c3ad.js +0 -1
  683. package/assets/esri/core/workers/chunks/f5fd2ee5878c63777c51.js +0 -1
  684. package/assets/esri/core/workers/chunks/f6b7036114b1d754fdd9.js +0 -1
  685. package/assets/esri/core/workers/chunks/f6c0680c535c5a3c73ee.js +0 -1
  686. package/assets/esri/core/workers/chunks/f72a5af2a7ca1536f10a.js +0 -1
  687. package/assets/esri/core/workers/chunks/f99deed4120f605b6cd6.js +0 -1
  688. package/layers/graphics/sources/support/QueryEngineBuildLayer.js +0 -5
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[329],{92835:(e,t,s)=>{s.d(t,{Z:()=>m});var i,n=s(43697),r=s(96674),o=s(35463),a=s(5600),h=(s(75215),s(67676),s(80442),s(71715)),l=s(52011),u=s(30556),d=s(25031);let c=i=class extends r.wq{static get allTime(){return _}static get empty(){return f}constructor(e){super(e),this.end=null,this.start=null}readEnd(e,t){return null!=t.end?new Date(t.end):null}writeEnd(e,t){t.end=e?.getTime()??null}get isAllTime(){return this.equals(i.allTime)}get isEmpty(){return this.equals(i.empty)}readStart(e,t){return null!=t.start?new Date(t.start):null}writeStart(e,t){t.start=e?.getTime()??null}clone(){return new i({end:this.end,start:this.start})}equals(e){if(!e)return!1;const t=this.start?.getTime()??this.start,s=this.end?.getTime()??this.end,i=e.start?.getTime()??e.start,n=e.end?.getTime()??e.end;return t===i&&s===n}expandTo(e,t=d.By){if(this.isEmpty||this.isAllTime)return this.clone();let s=this.start;s&&(s=(0,o.JE)(s,e,t));let n=this.end;if(n){const s=(0,o.JE)(n,e,t);n=n.getTime()===s.getTime()?s:(0,o.Nm)(s,1,e,t)}return new i({start:s,end:n})}intersection(e){if(!e)return this.clone();if(this.isEmpty||e.isEmpty)return i.empty;if(this.isAllTime)return e.clone();if(e.isAllTime)return this.clone();const t=this.start?.getTime()??-1/0,s=this.end?.getTime()??1/0,n=e.start?.getTime()??-1/0,r=e.end?.getTime()??1/0;let o,a;if(n>=t&&n<=s?o=n:t>=n&&t<=r&&(o=t),s>=n&&s<=r?a=s:r>=t&&r<=s&&(a=r),null!=o&&null!=a&&!isNaN(o)&&!isNaN(a)){const e=new i;return e.start=o===-1/0?null:new Date(o),e.end=a===1/0?null:new Date(a),e}return i.empty}offset(e,t,s=d.By){if(this.isEmpty||this.isAllTime)return this.clone();const n=new i,{start:r,end:a}=this;return null!=r&&(n.start=(0,o.Nm)(r,e,t,s)),null!=a&&(n.end=(0,o.Nm)(a,e,t,s)),n}union(e){if(!e||e.isEmpty)return this.clone();if(this.isEmpty)return e.clone();if(this.isAllTime||e.isAllTime)return _.clone();const t=null!=this.start&&null!=e.start?new Date(Math.min(this.start.getTime(),e.start.getTime())):null,s=null!=this.end&&null!=e.end?new Date(Math.max(this.end.getTime(),e.end.getTime())):null;return new i({start:t,end:s})}};(0,n._)([(0,a.Cb)({type:Date,json:{write:{allowNull:!0}}})],c.prototype,"end",void 0),(0,n._)([(0,h.r)("end")],c.prototype,"readEnd",null),(0,n._)([(0,u.c)("end")],c.prototype,"writeEnd",null),(0,n._)([(0,a.Cb)({readOnly:!0,json:{read:!1}})],c.prototype,"isAllTime",null),(0,n._)([(0,a.Cb)({readOnly:!0,json:{read:!1}})],c.prototype,"isEmpty",null),(0,n._)([(0,a.Cb)({type:Date,json:{write:{allowNull:!0}}})],c.prototype,"start",void 0),(0,n._)([(0,h.r)("start")],c.prototype,"readStart",null),(0,n._)([(0,u.c)("start")],c.prototype,"writeStart",null),c=i=(0,n._)([(0,l.j)("esri.TimeExtent")],c);const _=new c,f=new c({start:void 0,end:void 0}),m=c},91303:(e,t,s)=>{var i;s.d(t,{Y:()=>i}),function(e){e[e.KILOBYTES=1024]="KILOBYTES",e[e.MEGABYTES=1048576]="MEGABYTES",e[e.GIGABYTES=1073741824]="GIGABYTES"}(i||(i={}))},2368:(e,t,s)=>{s.d(t,{J:()=>u,j:()=>d});var i=s(43697),n=s(92036),r=(s(80442),s(22974)),o=(s(92604),s(70586)),a=s(31263),h=s(1153),l=s(52011);const u=e=>{let t=class extends e{clone(){const e=(0,h.vw)(this);(0,o.O3)(e,"unable to clone instance of non-accessor class");const t=e.metadatas,s=e.store,i={},n=new Map;for(const e in t){const o=t[e],h=s?.originOf(e),l=o.clonable;if(o.readOnly||!1===l||h!==a.s3.USER&&h!==a.s3.DEFAULTS&&h!==a.s3.WEB_MAP&&h!==a.s3.WEB_SCENE)continue;const u=this[e];let d=null;d="function"==typeof l?l(u):"reference"===l?u:(0,r.Vo)(u),null!=u&&null==d||(h===a.s3.DEFAULTS?n.set(e,d):i[e]=d)}const l=new(0,Object.getPrototypeOf(this).constructor)(i);if(n.size){const e=(0,h.vw)(l)?.store;if(e)for(const[t,s]of n)e.set(t,s,a.s3.DEFAULTS)}return l}};return t=(0,i._)([(0,l.j)("esri.core.Clonable")],t),t};let d=class extends(u(n.Z)){};d=(0,i._)([(0,l.j)("esri.core.Clonable")],d)},13867:(e,t,s)=>{s.d(t,{z:()=>n});var i=s(69801);class n{constructor(e,t){this._storage=new i.WJ,this.id="",this.name="",this.size=0,this._storage.maxSize=e,this._storage.register(this),t&&this._storage.registerRemoveFunc("",t)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,s=1){this._storage.put(this,e,t,s,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},69801:(e,t,s)=>{s.d(t,{WJ:()=>a,Xq:()=>o});var i,n,r=s(44553);(n=i||(i={}))[n.ALL=0]="ALL",n[n.SOME=1]="SOME";class o{constructor(e,t,s){this.name=e,this._storage=t,this.id=h+++":",this.size=0,this.maxSize=0,this._removeFunc=!1,this._hit=0,this._miss=0,this._storage.register(this),s&&(this._storage.registerRemoveFunc(this.id,s),this._removeFunc=!0)}destroy(){this._storage.clear(this),this._removeFunc&&this._storage.deregisterRemoveFunc(this.id),this._storage.deregister(this),this._storage=null}get hitRate(){return this._hit/(this._hit+this._miss)}get sizeAll(){return this._storage.size}resetHitRate(){this._hit=this._miss=0}put(e,t,s,i=0){this._storage.put(this,e,t,s,i)}get(e){const t=this._storage.get(this,e);return void 0===t?++this._miss:++this._hit,t}peek(e){return this._storage.peek(this,e)}pop(e){const t=this._storage.pop(this,e);return void 0===t?++this._miss:++this._hit,t}updateSize(e,t,s){this._storage.updateSize(this,e,t,s)}clear(){this._storage.clear(this)}clearAll(){this._storage.clearAll()}get performanceInfo(){return this._storage.performanceInfo}resetStats(){this._storage.resetStats()}}class a{get size(){return this._size}constructor(e=10485760){this._maxSize=e,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._removeFuncs=new r.Z,this._users=new r.Z}destroy(){this.clearAll(),this._removeFuncs.clear(),this._users.clear(),this._db=null}register(e){this._users.push(e)}deregister(e){this._users.removeUnordered(e)}registerRemoveFunc(e,t){this._removeFuncs.push([e,t])}deregisterRemoveFunc(e){this._removeFuncs.filterInPlace((t=>t[0]!==e))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,0),this._checkSizeLimits()}put(e,t,s,n,r){t=e.id+t;const o=this._db.get(t);if(o&&(this._size-=o.size,e.size-=o.size,this._db.delete(t),o.entry!==s&&this._notifyRemove(t,o.entry,i.ALL)),n>this._maxSize)return void this._notifyRemove(t,s,i.ALL);if(void 0===s)return void console.warn("Refusing to cache undefined entry ");if(!n||n<0)return void console.warn(`Refusing to cache entry with size ${n} for key ${t}`);const a=1+Math.max(r,-3)- -3;this._db.set(t,{entry:s,size:n,lifetime:a,lives:a}),this._size+=n,e.size+=n,this._checkSizeLimits()}updateSize(e,t,s,n){t=e.id+t;const r=this._db.get(t);if(r&&r.entry===s){for(this._size-=r.size,e.size-=r.size;n>this._maxSize;){const e=this._notifyRemove(t,s,i.SOME);if(!(null!=e&&e>0))return void this._db.delete(t);n=e}r.size=n,this._size+=n,e.size+=n,this._checkSizeLimits()}}pop(e,t){t=e.id+t;const s=this._db.get(t);if(s)return this._size-=s.size,e.size-=s.size,this._db.delete(t),++this._hit,s.entry;++this._miss}get(e,t){t=e.id+t;const s=this._db.get(t);if(void 0!==s)return this._db.delete(t),s.lives=s.lifetime,this._db.set(t,s),++this._hit,s.entry;++this._miss}peek(e,t){const s=this._db.get(e.id+t);return s?++this._hit:++this._miss,s?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},s=new Array;this._db.forEach(((e,i)=>{const n=e.lifetime;s[n]=(s[n]||0)+e.size,this._users.forAll((s=>{const{id:n,name:r}=s;if(i.startsWith(n)){const s=t[r]||0;t[r]=s+e.size}}))}));const i={};this._users.forAll((e=>{const s=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const n=t[s]||0;t[s]=n,i[s]=Math.round(100*e.hitRate)+"%"}else i[s]="0%"}));const n=Object.keys(t);n.sort(((e,s)=>t[s]-t[e])),n.forEach((s=>e[s]=Math.round(t[s]/2**20)+"MB / "+i[s]));for(let t=s.length-1;t>=0;--t){const i=s[t];i&&(e["Priority "+(t+-3-1)]=Math.round(i/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._users.forAll((e=>e.resetHitRate()))}clear(e){const t=e.id;this._db.forEach(((e,s)=>{s.startsWith(t)&&(this._size-=e.size,this._db.delete(s),this._notifyRemove(s,e.entry,i.ALL))})),e.size=0}clearAll(){this._db.forEach(((e,t)=>this._notifyRemove(t,e.entry,i.ALL))),this._users.forEach((e=>e.size=0)),this._size=0,this._db.clear()}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,s){let i;return this._removeFuncs.some((n=>{if(e.startsWith(n[0])){const e=n[1](t,s);return"number"==typeof e&&(i=e),!0}return!1})),i}_checkSizeLimits(){if(this._size>this._maxSize)for(const[e,t]of this._db)if(this._purgeItem(e,t),this._size<=.9*this.maxSize)return;this._users.forEach((e=>{if(e.maxSize>0&&e.size>e.maxSize)for(const[t,s]of this._db)if(t.startsWith(e.id)&&(this._purgeItem(t,s,e),e.size<=.9*e.maxSize))return}))}_purgeItem(e,t,s=this._users.find((t=>e.startsWith(t.id)))){if(this._db.delete(e),t.lives<=1){this._size-=t.size,s&&(s.size-=t.size);const n=this._notifyRemove(e,t.entry,i.SOME);null!=n&&n>0&&(this._size+=n,s&&(s.size+=n),t.lives=t.lifetime,t.size=n,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}let h=0},24133:(e,t,s)=>{s.d(t,{Q:()=>o});var i=s(67676),n=s(44553),r=s(88764);class o{constructor(e=9,t){this._compareMinX=u,this._compareMinY=d,this._toBBox=e=>e,this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this._toBBox=t:this._initFormat(t)),this.clear()}destroy(){this.clear(),E.prune(),b.prune(),I.prune(),v.prune()}all(e){this._all(this._data,e)}search(e,t){let s=this._data;const i=this._toBBox;if(p(e,s))for(E.clear();s;){for(let n=0,r=s.children.length;n<r;n++){const r=s.children[n],o=s.leaf?i(r):r;p(e,o)&&(s.leaf?t(r):g(e,o)?this._all(r,t):E.push(r))}s=E.pop()}}collides(e){let t=this._data;const s=this._toBBox;if(!p(e,t))return!1;for(E.clear();t;){for(let i=0,n=t.children.length;i<n;i++){const n=t.children[i],r=t.leaf?s(n):n;if(p(e,r)){if(t.leaf||g(e,r))return!0;E.push(n)}}t=E.pop()}return!1}load(e){if(!e.length)return this;if(e.length<this._minEntries){for(let t=0,s=e.length;t<s;t++)this.insert(e[t]);return this}let t=this._build(e.slice(0,e.length),0,e.length-1,0);if(this._data.children.length)if(this._data.height===t.height)this._splitRoot(this._data,t);else{if(this._data.height<t.height){const e=this._data;this._data=t,t=e}this._insert(t,this._data.height-t.height-1,!0)}else this._data=t;return this}insert(e){return e&&this._insert(e,this._data.height-1),this}clear(){return this._data=new S([]),this}remove(e){if(!e)return this;let t,s=this._data,n=null,r=0,o=!1;const a=this._toBBox(e);for(I.clear(),v.clear();s||I.length>0;){if(s||(s=I.pop(),n=I.data[I.length-1],r=v.pop()??0,o=!0),s.leaf&&(t=(0,i.cq)(s.children,e,s.children.length,s.indexHint),-1!==t))return s.children.splice(t,1),I.push(s),this._condense(I),this;o||s.leaf||!g(s,a)?n?(r++,s=n.children[r],o=!1):s=null:(I.push(s),v.push(r),r=0,n=s,s=s.children[0])}return this}toJSON(){return this._data}fromJSON(e){return this._data=e,this}_all(e,t){let s=e;for(b.clear();s;){if(!0===s.leaf)for(const e of s.children)t(e);else b.pushArray(s.children);s=b.pop()??null}}_build(e,t,s,i){const n=s-t+1;let r=this._maxEntries;if(n<=r){const i=new S(e.slice(t,s+1));return a(i,this._toBBox),i}i||(i=Math.ceil(Math.log(n)/Math.log(r)),r=Math.ceil(n/r**(i-1)));const o=new F([]);o.height=i;const h=Math.ceil(n/r),l=h*Math.ceil(Math.sqrt(r));y(e,t,s,l,this._compareMinX);for(let n=t;n<=s;n+=l){const t=Math.min(n+l-1,s);y(e,n,t,h,this._compareMinY);for(let s=n;s<=t;s+=h){const n=Math.min(s+h-1,t);o.children.push(this._build(e,s,n,i-1))}}return a(o,this._toBBox),o}_chooseSubtree(e,t,s,i){for(;i.push(t),!0!==t.leaf&&i.length-1!==s;){let s,i=1/0,n=1/0;for(let r=0,o=t.children.length;r<o;r++){const o=t.children[r],a=c(o),h=f(e,o)-a;h<n?(n=h,i=a<i?a:i,s=o):h===n&&a<i&&(i=a,s=o)}t=s||t.children[0]}return t}_insert(e,t,s){const i=this._toBBox,n=s?e:i(e);I.clear();const r=this._chooseSubtree(n,this._data,t,I);for(r.children.push(e),l(r,n);t>=0&&I.data[t].children.length>this._maxEntries;)this._split(I,t),t--;this._adjustParentBBoxes(n,I,t)}_split(e,t){const s=e.data[t],i=s.children.length,n=this._minEntries;this._chooseSplitAxis(s,n,i);const r=this._chooseSplitIndex(s,n,i);if(!r)return void console.log(" Error: assertion failed at PooledRBush._split: no valid split index");const o=s.children.splice(r,s.children.length-r),h=s.leaf?new S(o):new F(o);h.height=s.height,a(s,this._toBBox),a(h,this._toBBox),t?e.data[t-1].children.push(h):this._splitRoot(s,h)}_splitRoot(e,t){this._data=new F([e,t]),this._data.height=e.height+1,a(this._data,this._toBBox)}_chooseSplitIndex(e,t,s){let i,n,r;i=n=1/0;for(let o=t;o<=s-t;o++){const t=h(e,0,o,this._toBBox),a=h(e,o,s,this._toBBox),l=m(t,a),u=c(t)+c(a);l<i?(i=l,r=o,n=u<n?u:n):l===i&&u<n&&(n=u,r=o)}return r}_chooseSplitAxis(e,t,s){const i=e.leaf?this._compareMinX:u,n=e.leaf?this._compareMinY:d;this._allDistMargin(e,t,s,i)<this._allDistMargin(e,t,s,n)&&e.children.sort(i)}_allDistMargin(e,t,s,i){e.children.sort(i);const n=this._toBBox,r=h(e,0,t,n),o=h(e,s-t,s,n);let a=_(r)+_(o);for(let i=t;i<s-t;i++){const t=e.children[i];l(r,e.leaf?n(t):t),a+=_(r)}for(let i=s-t-1;i>=t;i--){const t=e.children[i];l(o,e.leaf?n(t):t),a+=_(o)}return a}_adjustParentBBoxes(e,t,s){for(let i=s;i>=0;i--)l(t.data[i],e)}_condense(e){for(let t=e.length-1;t>=0;t--){const s=e.data[t];if(0===s.children.length)if(t>0){const n=e.data[t-1],r=n.children;r.splice((0,i.cq)(r,s,r.length,n.indexHint),1)}else this.clear();else a(s,this._toBBox)}}_initFormat(e){const t=["return a"," - b",";"];this._compareMinX=new Function("a","b",t.join(e[0])),this._compareMinY=new Function("a","b",t.join(e[1])),this._toBBox=new Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}}function a(e,t){h(e,0,e.children.length,t,e)}function h(e,t,s,i,n){n||(n=new S([])),n.minX=1/0,n.minY=1/0,n.maxX=-1/0,n.maxY=-1/0;for(let r,o=t;o<s;o++)r=e.children[o],l(n,e.leaf?i(r):r);return n}function l(e,t){e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY)}function u(e,t){return e.minX-t.minX}function d(e,t){return e.minY-t.minY}function c(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function _(e){return e.maxX-e.minX+(e.maxY-e.minY)}function f(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function m(e,t){const s=Math.max(e.minX,t.minX),i=Math.max(e.minY,t.minY),n=Math.min(e.maxX,t.maxX),r=Math.min(e.maxY,t.maxY);return Math.max(0,n-s)*Math.max(0,r-i)}function g(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function p(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function y(e,t,s,i,n){const o=[t,s];for(;o.length;){const t=o.pop(),s=o.pop();if(t-s<=i)continue;const a=s+Math.ceil((t-s)/i/2)*i;(0,r.q)(e,a,s,t,n),o.push(s,a,a,t)}}const E=new n.Z,b=new n.Z,I=new n.Z,v=new n.Z({deallocator:void 0});class x{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class T extends x{constructor(){super(...arguments),this.height=1,this.indexHint=new i.SO}}class S extends T{constructor(e){super(),this.children=e,this.leaf=!0}}class F extends T{constructor(e){super(),this.children=e,this.leaf=!1}}},17445:(e,t,s)=>{s.d(t,{N1:()=>c,YP:()=>h,Z_:()=>m,gx:()=>l,nn:()=>g,on:()=>d,tX:()=>p}),s(66643),s(46791);var i=s(91460),n=s(50758),r=s(70586),o=s(95330),a=s(26258);function h(e,t,s={}){return u(e,t,s,_)}function l(e,t,s={}){return u(e,t,s,f)}function u(e,t,s={},i){let n=null;const o=s.once?(e,s)=>{i(e)&&((0,r.hw)(n),t(e,s))}:(e,s)=>{i(e)&&t(e,s)};if(n=(0,a.aQ)(e,o,s.sync,s.equals),s.initial){const t=e();o(t,t)}return n}function d(e,t,s,o={}){let a=null,l=null,u=null;function d(){a&&l&&(l.remove(),o.onListenerRemove?.(a),a=null,l=null)}function c(e){o.once&&o.once&&(0,r.hw)(u),s(e)}const _=h(e,((e,s)=>{d(),(0,i.vT)(e)&&(a=e,l=(0,i.on)(e,t,c),o.onListenerAdd?.(e))}),{sync:o.sync,initial:!0});return u=(0,n.kB)((()=>{_.remove(),d()})),u}function c(e,t){return function(e,t,s){if((0,o.Hc)(s))return Promise.reject((0,o.zE)());const i=e();if(t?.(i))return Promise.resolve(i);let a=null;function h(){a=(0,r.hw)(a)}return new Promise(((i,r)=>{a=(0,n.AL)([(0,o.fu)(s,(()=>{h(),r((0,o.zE)())})),u(e,(e=>{h(),i(e)}),{sync:!1,once:!0},t??_)])}))}(e,f,t)}function _(e){return!0}function f(e){return!!e}s(87538);const m={sync:!0},g={initial:!0},p={sync:!0,initial:!0}},35463:(e,t,s)=>{s.d(t,{JE:()=>h,Nm:()=>a,rJ:()=>l});var i=s(90344),n=s(25031),r=s(17126);const o={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8};function a(e,t,s,o=n.By){const a=new r.vF((0,i.f1)(o)),h=r.ou.fromJSDate(e,{zone:a}),l="decades"===s||"centuries"===s?"year":u(s);return"decades"===s&&(t*=10),"centuries"===s&&(t*=100),h.plus({[l]:t}).toJSDate()}function h(e,t,s=n.By){const o=new r.vF((0,i.f1)(s)),a=r.ou.fromJSDate(e,{zone:o});if("decades"===t||"centuries"===t){const e=a.startOf("year"),{year:s}=e,i=s-s%("decades"===t?10:100);return e.set({year:i}).toJSDate()}const h=u(t);return a.startOf(h).toJSDate()}function l(e,t,s){return 0===e?0:e*o[t]/o[s]}function u(e){switch(e){case"milliseconds":return"millisecond";case"seconds":return"second";case"minutes":return"minute";case"hours":return"hour";case"days":return"day";case"weeks":return"week";case"months":return"month";case"years":return"year"}}},90344:(e,t,s)=>{s.d(t,{Xr:()=>f,Ze:()=>y,f1:()=>b,p6:()=>E});var i=s(35454),n=s(70171),r=s(25031);s(17126);const o=Intl.DateTimeFormat().resolvedOptions().timeZone,a=(r.pt,{year:"numeric",month:"numeric",day:"numeric"}),h={year:"numeric",month:"long",day:"numeric"},l={year:"numeric",month:"short",day:"numeric"},u={year:"numeric",month:"long",weekday:"long",day:"numeric"},d={hour:"numeric",minute:"numeric"},c={...d,second:"numeric"},_={"short-date":a,"short-date-short-time":{...a,...d},"short-date-short-time-24":{...a,...d,hour12:!1},"short-date-long-time":{...a,...c},"short-date-long-time-24":{...a,...c,hour12:!1},"short-date-le":a,"short-date-le-short-time":{...a,...d},"short-date-le-short-time-24":{...a,...d,hour12:!1},"short-date-le-long-time":{...a,...c},"short-date-le-long-time-24":{...a,...c,hour12:!1},"long-month-day-year":h,"long-month-day-year-short-time":{...h,...d},"long-month-day-year-short-time-24":{...h,...d,hour12:!1},"long-month-day-year-long-time":{...h,...c},"long-month-day-year-long-time-24":{...h,...c,hour12:!1},"day-short-month-year":l,"day-short-month-year-short-time":{...l,...d},"day-short-month-year-short-time-24":{...l,...d,hour12:!1},"day-short-month-year-long-time":{...l,...c},"day-short-month-year-long-time-24":{...l,...c,hour12:!1},"long-date":u,"long-date-short-time":{...u,...d},"long-date-short-time-24":{...u,...d,hour12:!1},"long-date-long-time":{...u,...c},"long-date-long-time-24":{...u,...c,hour12:!1},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":d,"long-time":c},f=(0,i.w)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),m={ar:"ar-u-nu-latn-ca-gregory"};let g=new WeakMap;const p=_["short-date-short-time"];function y(e){return _[e]}function E(e,t=p){return function(e){let t=g.get(e);if(!t){const s=(0,n.Kd)(),i=m[s]||s,o=b(e.timeZone??r.By),a={...e,timeZone:o};t=new Intl.DateTimeFormat(i,a),g.set(e,t)}return t}(t).format(e)}function b(e){switch(e){case r.By:return o;case r._4:return r.pt;default:return e}}(0,n.Ze)((()=>{g=new WeakMap}))},37549:(e,t,s)=>{s.d(t,{H:()=>a});var i=s(80442),n=s(24133),r=s(24470);const o={minX:0,minY:0,maxX:0,maxY:0};class a{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new n.Q(9,(0,i.Z)("esri-csp-restrictions")?e=>({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){const e=new Array(this._idByBounds.size);let t=0;this._idByBounds.forEach(((s,i)=>{e[t++]=i})),this._indexInvalid=!1,this._index.clear(),this._index.load(e)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter((e=>this._idByBounds.has(e)))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;const e=(0,r.cS)();for(const t of this._boundsById.values())t&&(e[0]=Math.min(t[0],e[0]),e[1]=Math.min(t[1],e[1]),e[2]=Math.max(t[2],e[2]),e[3]=Math.max(t[3],e[3]));return e}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(e){const t=this._boundsById.get(e);this._boundsById.delete(e),t&&(this._idByBounds.delete(t),this._indexInvalid||this._index.remove(t))}forEachInBounds(e,t){this._loadIndex(),function(e,t,s){(function(e){o.minX=e[0],o.minY=e[1],o.maxX=e[2],o.maxY=e[3]})(t),e.search(o,s)}(this._index,e,(e=>t(this._idByBounds.get(e))))}get(e){return this._boundsById.get(e)}has(e){return this._boundsById.has(e)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(e,t){if(!this._indexInvalid){const t=this._boundsById.get(e);t&&(this._index.remove(t),this._idByBounds.delete(t))}this._boundsById.set(e,t),t&&(this._idByBounds.set(t,e),this._indexInvalid||(this._boundsToLoad.push(t),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},28972:(e,t,s)=>{s.d(t,{Z:()=>T});var i=s(67676),n=s(20102),r=s(32448),o=s(92604),a=s(60437),h=s(24470),l=s(98732),u=s(37549),d=s(42712);function c(e,t){return e?t?4:3:t?3:2}function _(e,t,s,i,n){if(!t?.lengths.length)return null;const r="upperLeft"===n?.originPosition?-1:1;e.lengths.length&&(e.lengths.length=0),e.coords.length&&(e.coords.length=0);const o=e.coords,a=[],h=s?[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY]:[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY],{lengths:l,coords:u}=t,d=c(s,i);let _=0;for(const e of l){const t=f(h,u,_,e,s,i,r);t&&a.push(t),_+=e*d}if(a.sort(((e,t)=>{let i=r*e[2]-r*t[2];return 0===i&&s&&(i=e[4]-t[4]),i})),a.length){let e=6*a[0][2];o[0]=a[0][0]/e,o[1]=a[0][1]/e,s&&(e=6*a[0][4],o[2]=0!==e?a[0][3]/e:0),(o[0]<h[0]||o[0]>h[1]||o[1]<h[2]||o[1]>h[3]||s&&(o[2]<h[4]||o[2]>h[5]))&&(o.length=0)}if(!o.length){const e=t.lengths[0]?m(u,0,l[0],s,i):null;if(!e)return null;o[0]=e[0],o[1]=e[1],s&&e.length>2&&(o[2]=e[2])}return e}function f(e,t,s,i,n,r,o=1){const a=c(n,r);let h=s,l=s+a,u=0,d=0,_=0,f=0,m=0;for(let s=0,r=i-1;s<r;s++,h+=a,l+=a){const s=t[h],i=t[h+1],r=t[h+2],o=t[l],a=t[l+1],c=t[l+2];let g=s*a-o*i;f+=g,u+=(s+o)*g,d+=(i+a)*g,n&&(g=s*c-o*r,_+=(r+c)*g,m+=g),s<e[0]&&(e[0]=s),s>e[1]&&(e[1]=s),i<e[2]&&(e[2]=i),i>e[3]&&(e[3]=i),n&&(r<e[4]&&(e[4]=r),r>e[5]&&(e[5]=r))}if(f*o>0&&(f*=-1),m*o>0&&(m*=-1),!f)return null;const g=[u,d,.5*f];return n&&(g[3]=_,g[4]=.5*m),g}function m(e,t,s,i,n){const r=c(i,n);let o=t,a=t+r,h=0,l=0,u=0,d=0;for(let t=0,n=s-1;t<n;t++,o+=r,a+=r){const t=e[o],s=e[o+1],n=e[o+2],r=e[a],c=e[a+1],_=e[a+2],f=i?p(t,s,n,r,c,_):g(t,s,r,c);if(f)if(h+=f,i){const e=E(t,s,n,r,c,_);l+=f*e[0],u+=f*e[1],d+=f*e[2]}else{const e=y(t,s,r,c);l+=f*e[0],u+=f*e[1]}}return h>0?i?[l/h,u/h,d/h]:[l/h,u/h]:s>0?i?[e[t],e[t+1],e[t+2]]:[e[t],e[t+1]]:null}function g(e,t,s,i){const n=s-e,r=i-t;return Math.sqrt(n*n+r*r)}function p(e,t,s,i,n,r){const o=i-e,a=n-t,h=r-s;return Math.sqrt(o*o+a*a+h*h)}function y(e,t,s,i){return[e+.5*(s-e),t+.5*(i-t)]}function E(e,t,s,i,n,r){return[e+.5*(i-e),t+.5*(n-t),s+.5*(r-s)]}var b=s(70272),I=s(5428);const v={getObjectId:e=>e.objectId,getAttributes:e=>e.attributes,getAttribute:(e,t)=>e.attributes[t],cloneWithGeometry:(e,t)=>new b.u_(t,e.attributes,null,e.objectId),getGeometry:e=>e.geometry,getCentroid:(e,t)=>(null==e.centroid&&(e.centroid=_(new I.Z,e.geometry,t.hasZ,t.hasM)),e.centroid)},x=(0,a.Ue)();class T{constructor(e){this.geometryInfo=e,this._boundsStore=new u.H,this._featuresById=new Map,this._markedIds=new Set,this.events=new r.Z,this.featureAdapter=v}get geometryType(){return this.geometryInfo.geometryType}get hasM(){return this.geometryInfo.hasM}get hasZ(){return this.geometryInfo.hasZ}get numFeatures(){return this._featuresById.size}get fullBounds(){return this._boundsStore.fullBounds}get storeStatistics(){let e=0;return this._featuresById.forEach((t=>{null!=t.geometry&&t.geometry.coords&&(e+=t.geometry.coords.length)})),{featureCount:this._featuresById.size,vertexCount:e/(this.hasZ?this.hasM?4:3:this.hasM?3:2)}}getFullExtent(e){if(null==this.fullBounds)return null;const[t,s,i,n]=this.fullBounds;return{xmin:t,ymin:s,xmax:i,ymax:n,spatialReference:(0,d.S2)(e)}}add(e){this._add(e),this._emitChanged()}addMany(e){for(const t of e)this._add(t);this._emitChanged()}upsertMany(e){const t=e.map((e=>this._upsert(e)));return this._emitChanged(),t.filter(i.pC)}clear(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged()}removeById(e){const t=this._featuresById.get(e);return t?(this._remove(t),this._emitChanged(),t):null}removeManyById(e){this._boundsStore.invalidateIndex();for(const t of e){const e=this._featuresById.get(t);e&&this._remove(e)}this._emitChanged()}forEachBounds(e,t){for(const s of e){const e=this._boundsStore.get(s.objectId);e&&t((0,a.JR)(x,e))}}getFeature(e){return this._featuresById.get(e)}has(e){return this._featuresById.has(e)}forEach(e){this._featuresById.forEach((t=>e(t)))}forEachInBounds(e,t){this._boundsStore.forEachInBounds(e,(e=>{t(this._featuresById.get(e))}))}startMarkingUsedFeatures(){this._boundsStore.invalidateIndex(),this._markedIds.clear()}sweep(){let e=!1;this._featuresById.forEach(((t,s)=>{this._markedIds.has(s)||(e=!0,this._remove(t))})),this._markedIds.clear(),e&&this._emitChanged()}_emitChanged(){this.events.emit("changed",void 0)}_add(e){if(!e)return;const t=e.objectId;if(null==t)return void o.Z.getLogger("esri.layers.graphics.data.FeatureStore").error(new n.Z("featurestore:invalid-feature","feature id is missing",{feature:e}));const s=this._featuresById.get(t);let i;if(this._markedIds.add(t),s?(e.displayId=s.displayId,i=this._boundsStore.get(t),this._boundsStore.delete(t)):null!=this.onFeatureAdd&&this.onFeatureAdd(e),!e.geometry?.coords?.length)return this._boundsStore.set(t,null),void this._featuresById.set(t,e);i=(0,l.$)(null!=i?i:(0,h.Ue)(),e.geometry,this.geometryInfo.hasZ,this.geometryInfo.hasM),null!=i&&this._boundsStore.set(t,i),this._featuresById.set(t,e)}_upsert(e){const t=e?.objectId;if(null==t)return o.Z.getLogger("esri.layers.graphics.data.FeatureStore").error(new n.Z("featurestore:invalid-feature","feature id is missing",{feature:e})),null;const s=this._featuresById.get(t);if(!s)return this._add(e),e;this._markedIds.add(t);const{geometry:i,attributes:r}=e;for(const e in r)s.attributes[e]=r[e];return i&&(s.geometry=i,this._boundsStore.set(t,(0,l.$)((0,h.Ue)(),i,this.geometryInfo.hasZ,this.geometryInfo.hasM)??null)),s}_remove(e){null!=this.onFeatureRemove&&this.onFeatureRemove(e);const t=e.objectId;return this._markedIds.delete(t),this._boundsStore.delete(t),this._featuresById.delete(t),e}}},99282:(e,t,s)=>{s.d(t,{a:()=>r});var i=s(67900),n=s(68441);const r={unknown:1,inches:(0,i.En)(1,"meters","inches"),feet:(0,i.En)(1,"meters","feet"),"us-feet":(0,i.En)(1,"meters","us-feet"),yards:(0,i.En)(1,"meters","yards"),miles:(0,i.En)(1,"meters","miles"),"nautical-miles":(0,i.En)(1,"meters","nautical-miles"),millimeters:(0,i.En)(1,"meters","millimeters"),centimeters:(0,i.En)(1,"meters","centimeters"),decimeters:(0,i.En)(1,"meters","decimeters"),meters:(0,i.En)(1,"meters","meters"),kilometers:(0,i.En)(1,"meters","kilometers"),"decimal-degrees":1/(0,i.ty)(1,"meters",n.sv.radius)}},86787:(e,t,s)=>{s.d(t,{Z:()=>b});var i,n=s(43697),r=s(35454),o=s(96674),a=s(70586),h=s(5600),l=(s(75215),s(67676),s(80442),s(71715)),u=s(52011),d=s(30556),c=s(35671);let _=i=class extends o.wq{constructor(e){super(e)}async collectRequiredFields(e,t){return(0,c.io)(e,t,this.expression)}clone(){return new i({expression:this.expression,title:this.title})}equals(e){return this.expression===e.expression&&this.title===e.title}};(0,n._)([(0,h.Cb)({type:String,json:{write:!0}})],_.prototype,"expression",void 0),(0,n._)([(0,h.Cb)({type:String,json:{write:!0}})],_.prototype,"title",void 0),_=i=(0,n._)([(0,u.j)("esri.layers.support.FeatureExpressionInfo")],_);const f=_;var m,g=s(12541);const p=(0,r.w)()({onTheGround:"on-the-ground",relativeToGround:"relative-to-ground",relativeToScene:"relative-to-scene",absoluteHeight:"absolute-height"}),y=new r.X({foot:"feet",kilometer:"kilometers",meter:"meters",mile:"miles","us-foot":"us-feet",yard:"yards"});let E=m=class extends o.wq{constructor(e){super(e),this.offset=null}readFeatureExpressionInfo(e,t){return null!=e?e:t.featureExpression&&0===t.featureExpression.value?{expression:"0"}:void 0}writeFeatureExpressionInfo(e,t,s,i){t[s]=e.write({},i),"0"===e.expression&&(t.featureExpression={value:0})}get mode(){const{offset:e,featureExpressionInfo:t}=this;return this._isOverridden("mode")?this._get("mode"):null!=e||t?"relative-to-ground":"on-the-ground"}set mode(e){this._override("mode",e)}set unit(e){this._set("unit",e)}write(e,t){return this.offset||this.mode||this.featureExpressionInfo||this.unit?super.write(e,t):null}clone(){return new m({mode:this.mode,offset:this.offset,featureExpressionInfo:this.featureExpressionInfo?this.featureExpressionInfo.clone():void 0,unit:this.unit})}equals(e){return this.mode===e.mode&&this.offset===e.offset&&this.unit===e.unit&&(0,a._W)(this.featureExpressionInfo,e.featureExpressionInfo)}};(0,n._)([(0,h.Cb)({type:f,json:{write:!0}})],E.prototype,"featureExpressionInfo",void 0),(0,n._)([(0,l.r)("featureExpressionInfo",["featureExpressionInfo","featureExpression"])],E.prototype,"readFeatureExpressionInfo",null),(0,n._)([(0,d.c)("featureExpressionInfo",{featureExpressionInfo:{type:f},"featureExpression.value":{type:[0]}})],E.prototype,"writeFeatureExpressionInfo",null),(0,n._)([(0,h.Cb)({type:p.apiValues,nonNullable:!0,json:{type:p.jsonValues,read:p.read,write:{writer:p.write,isRequired:!0}}})],E.prototype,"mode",null),(0,n._)([(0,h.Cb)({type:Number,json:{write:!0}})],E.prototype,"offset",void 0),(0,n._)([(0,h.Cb)({type:g.f9,json:{type:String,read:y.read,write:y.write}})],E.prototype,"unit",null),E=m=(0,n._)([(0,u.j)("esri.layers.support.ElevationInfo")],E);const b=E},12541:(e,t,s)=>{s.d(t,{Z7:()=>n,f9:()=>r});var i=s(99282);function n(e){return 1/(i.a[e]||1)}const r=function(){const e=Object.keys(i.a);return e.sort(),e}()},65967:(e,t,s)=>{s.r(t),s.d(t,{default:()=>Ie});var i=s(43697),n=(s(66577),s(32448)),r=s(95330),o=s(17445),a=s(5600),h=(s(75215),s(67676)),l=(s(80442),s(52011)),u=s(19402),d=s(82971),c=s(28972),_=s(3489),f=s(11145),m=s(14165),g=s(86787),p=s(13867),y=s(30175),E=s(67900),b=s(12541);function I(e=!1,t){if(e){const{elevationInfo:e,alignPointsInFeatures:s,spatialReference:i}=t;return new x(e,s,i)}return new v}class v{async alignCandidates(e,t){return e}notifyElevationSourceChange(){}}class x{constructor(e,t,s){this._elevationInfo=e,this._alignPointsInFeatures=t,this.spatialReference=s,this._alignmentsCache=new p.z(1024),this._cacheVersion=0,this._metersPerVerticalUnit=(0,E._R)(s)}async alignCandidates(e,t){const s=this._elevationInfo;return null==s||"absolute-height"!==s.mode||s.featureExpressionInfo?this._alignComputedElevationCandidates(e,t):(this._alignAbsoluteElevationCandidates(e,s),e)}notifyElevationSourceChange(){this._alignmentsCache.clear(),this._cacheVersion++}_alignAbsoluteElevationCandidates(e,t){const{offset:s,unit:i}=t;if(null==s)return;const n=s*((0,b.Z7)(i??"meters")/this._metersPerVerticalUnit);for(const t of e)switch(t.type){case"edge":t.start.z+=n,t.end.z+=n;continue;case"vertex":t.target.z+=n;continue}}async _alignComputedElevationCandidates(e,t){const s=new Map;for(const t of e)(0,y.s1)(s,t.objectId,F).push(t);const[i,n,o]=this._prepareQuery(s),a=await this._alignPointsInFeatures(i,t);if((0,r.k_)(t),o!==this._cacheVersion)return this._alignComputedElevationCandidates(e,t);this._applyCacheAndResponse(i,a,n);const{drapedObjectIds:h,failedObjectIds:l}=a,u=[];for(const t of e){const{objectId:e}=t;h.has(e)&&"edge"===t.type&&(t.draped=!0),l.has(e)||u.push(t)}return u}_prepareQuery(e){const t=[],s=[];for(const[i,n]of e){const e=[];for(const t of n)this._addToQueriesOrCachedResult(i,t.target,e,s),"edge"===t.type&&(this._addToQueriesOrCachedResult(i,t.start,e,s),this._addToQueriesOrCachedResult(i,t.end,e,s));0!==e.length&&t.push({objectId:i,points:e})}return[t,s,this._cacheVersion]}_addToQueriesOrCachedResult(e,t,s,i){const n=S(e,t),r=this._alignmentsCache.get(n);null==r?s.push(t):i.push(new T(t,r))}_applyCacheAndResponse(e,{elevations:t,drapedObjectIds:s,failedObjectIds:i},n){for(const e of n)e.apply();let r=0;const o=this._alignmentsCache;for(const{objectId:n,points:a}of e){if(i.has(n)){r+=a.length;continue}const e=!s.has(n);for(const s of a){const i=S(n,s),a=t[r++];s.z=a,e&&o.put(i,a,1)}}}}class T{constructor(e,t){this.point=e,this.z=t}apply(){this.point.z=this.z}}function S(e,{x:t,y:s,z:i}){return`${e}-${t}-${s}-${i??0}}`}function F(){return[]}class C{filter(e,t){return t}notifyElevationSourceChange(){}}class w{filter(e,t){const{point:s,distance:i}=e,{z:n}=s;if(null==n)return t;if(0===t.length)return t;const r=function(e){return"number"==typeof e?{x:e,y:e,z:e}:e}(i),o=this._updateCandidatesTo3D(t,s,r).filter(z);return o.sort(O),o}_updateCandidatesTo3D(e,t,s){for(const i of e)switch(i.type){case"edge":M(i,t,s);continue;case"vertex":A(i,t,s);continue}return e}}function z(e){return e.distance<=1}function B(e=!1){return e?new w:new C}function M(e,t,{x:s,y:i,z:n}){const{start:r,end:o,target:a}=e;e.draped||function(e,t,s,i){const n=i.x-s.x,r=i.y-s.y,o=i.z-s.z,a=n*n+r*r+o*o,h=(t.x-s.x)*n+(t.y-s.y)*r+o*(t.z-s.z),l=Math.min(1,Math.max(0,h/a)),u=s.x+n*l,d=s.y+r*l,c=s.z+o*l;e.x=u,e.y=d,e.z=c}(a,t,r,o);const h=(t.x-a.x)/s,l=(t.y-a.y)/i,u=(t.z-a.z)/n;e.distance=Math.sqrt(h*h+l*l+u*u)}function A(e,t,{x:s,y:i,z:n}){const{target:r}=e,o=(t.x-r.x)/s,a=(t.y-r.y)/i,h=(t.z-r.z)/n,l=Math.sqrt(o*o+a*a+h*h);e.distance=l}function O(e,t){return e.distance-t.distance}var R=s(22974),N=s(19153);function D(e=!1,t){return e?new H(t):new P}class P{async fetch(){return[]}notifySymbologyChange(){}}class H{constructor(e){this._getSymbologyCandidates=e,this._candidatesCache=new p.z(1024),this._cacheVersion=0}async fetch(e,t){if(0===e.length)return[];const s=[],i=[],n=this._candidatesCache;for(const t of e){const e=k(t),r=n.get(e);if(r)for(const e of r)i.push((0,R.d9)(e));else s.push(t),n.put(e,[],1)}if(0===s.length)return i;const o=this._cacheVersion,{candidates:a,sourceCandidateIndices:h}=await this._getSymbologyCandidates(s,t);if((0,r.k_)(t),o!==this._cacheVersion)return this.fetch(e,t);const l=[],{length:u}=a;for(let e=0;e<u;++e){const t=a[e],i=k(s[h[e]]),r=n.get(i);r.push(t),n.put(i,r,r.length),l.push((0,R.d9)(t))}return i.concat(l)}notifySymbologyChange(){this._candidatesCache.clear(),this._cacheVersion++}}function k(e){switch(e.type){case"vertex":{const{objectId:t,target:s}=e,i=`${t}-vertex-${s.x}-${s.y}-${s.z??0}`;return(0,N.hP)(i).toString()}case"edge":{const{objectId:t,start:s,end:i}=e,n=`${t}-edge-${s.x}-${s.y}-${s.z??0}-to-${i.x}-${i.y}-${i.z??0}`;return(0,N.hP)(n).toString()}default:return""}}var j=s(92036);let Y=class extends j.Z{constructor(){super(...arguments),this.updating=!1,this._pending=[]}push(e,t){this._pending.push({promise:e,callback:t}),1===this._pending.length&&this._process()}_process(){if(!this._pending.length)return void(this.updating=!1);this.updating=!0;const e=this._pending[0];e.promise.then((t=>e.callback(t))).catch((()=>{})).then((()=>{this._pending.shift(),this._process()}))}};(0,i._)([(0,a.Cb)()],Y.prototype,"updating",void 0),Y=(0,i._)([(0,l.j)("esri.core.AsyncSequence")],Y);var L,Z=s(66643),U=s(50758),X=s(92604),q=s(75517),V=s(6570),J=s(24470),G=s(98732),$=s(66677),W=s(78760),Q=s(34599);class K{constructor(e,t){this.data=e,this.resolution=t,this.state={type:L.CREATED},this.alive=!0}process(e){switch(this.state.type){case L.CREATED:return this.state=this._gotoFetchCount(this.state,e),this.state.task.promise.then(e.resume,e.resume);case L.FETCH_COUNT:break;case L.FETCHED_COUNT:return this.state=this._gotoFetchFeatures(this.state,e),this.state.task.promise.then(e.resume,e.resume);case L.FETCH_FEATURES:break;case L.FETCHED_FEATURES:this.state=this._goToDone(this.state,e);case L.DONE:}return null}get debugInfo(){return{data:this.data,featureCount:this._featureCount,state:this._stateToString}}get _featureCount(){switch(this.state.type){case L.CREATED:case L.FETCH_COUNT:return 0;case L.FETCHED_COUNT:return this.state.featureCount;case L.FETCH_FEATURES:return this.state.previous.featureCount;case L.FETCHED_FEATURES:return this.state.features.length;case L.DONE:return this.state.previous.features.length}}get _stateToString(){switch(this.state.type){case L.CREATED:return"created";case L.FETCH_COUNT:return"fetch-count";case L.FETCHED_COUNT:return"fetched-count";case L.FETCH_FEATURES:return"fetch-features";case L.FETCHED_FEATURES:return"fetched-features";case L.DONE:return"done"}}_gotoFetchCount(e,t){return{type:L.FETCH_COUNT,previous:e,task:(0,Z.vr)((async e=>{const s=await(0,Z.mt)(t.fetchCount(this,e));this.state.type===L.FETCH_COUNT&&(this.state=this._gotoFetchedCount(this.state,s.ok?s.value:1/0))}))}}_gotoFetchedCount(e,t){return{type:L.FETCHED_COUNT,featureCount:t,previous:e}}_gotoFetchFeatures(e,t){return{type:L.FETCH_FEATURES,previous:e,task:(0,Z.vr)((async s=>{const i=await(0,Z.mt)(t.fetchFeatures(this,e.featureCount,s));this.state.type===L.FETCH_FEATURES&&(this.state=this._gotoFetchedFeatures(this.state,i.ok?i.value:[]))}))}}_gotoFetchedFeatures(e,t){return{type:L.FETCHED_FEATURES,previous:e,features:t}}_goToDone(e,t){return t.finish(this,e.features),{type:L.DONE,previous:e}}reset(){const e=this.state;switch(this.state={type:L.CREATED},e.type){case L.CREATED:case L.FETCHED_COUNT:case L.FETCHED_FEATURES:case L.DONE:break;case L.FETCH_COUNT:case L.FETCH_FEATURES:e.task.abort()}}intersects(e){return null==e||!this.data.extent||((0,J.oJ)(e,ee),(0,J.kK)(this.data.extent,ee))}}!function(e){e[e.CREATED=0]="CREATED",e[e.FETCH_COUNT=1]="FETCH_COUNT",e[e.FETCHED_COUNT=2]="FETCHED_COUNT",e[e.FETCH_FEATURES=3]="FETCH_FEATURES",e[e.FETCHED_FEATURES=4]="FETCHED_FEATURES",e[e.DONE=5]="DONE"}(L||(L={}));const ee=(0,J.Ue)();let te=class extends j.Z{get _minimumVerticesPerFeature(){switch(this.store?.featureStore.geometryType){case"esriGeometryPoint":case"esriGeometryMultipoint":return 1;case"esriGeometryPolygon":return 4;case"esriGeometryPolyline":return 2}}get _mandatoryOutFields(){const e=new Set;return this.objectIdField&&e.add(this.objectIdField),this.globalIdField&&e.add(this.globalIdField),e}set outFields(e){const t=this._get("outFields"),s=(0,q.G0)(e,this._mandatoryOutFields);(0,q.fS)(s,t)||(this._set("outFields",s),(0,q.ik)(s,t)||this.refresh())}get outFields(){return this._get("outFields")??this._mandatoryOutFields}set filter(e){const t=this._get("filter"),s=this._filterProperties(e);JSON.stringify(t)!==JSON.stringify(s)&&this._set("filter",s)}set customParameters(e){const t=this._get("customParameters");JSON.stringify(t)!==JSON.stringify(e)&&this._set("customParameters",e)}get _configuration(){return{filter:this.filter,customParameters:this.customParameters,tileInfo:this.tileInfo,tileSize:this.tileSize}}set tileInfo(e){const t=this._get("tileInfo");t!==e&&(null!=e&&null!=t&&JSON.stringify(e)===JSON.stringify(t)||(this._set("tileInfo",e),this.store.tileInfo=e))}set tileSize(e){this._get("tileSize")!==e&&this._set("tileSize",e)}get updating(){return this.updatingExcludingEdits||this._pendingEdits.updating}get updatingExcludingEdits(){return this._updatingHandles.updating}get hasZ(){return this.store.featureStore.hasZ}constructor(e){super(e),this.suspended=!0,this.tilesOfInterest=[],this.availability=0,this._pendingTiles=new Map,this._updatingHandles=new u.R,this._pendingEdits=new Y,this._pendingEditsAbortController=new AbortController}initialize(){this._initializeFetchExtent(),this._updatingHandles.add((()=>this._configuration),(()=>this.refresh())),this._updatingHandles.add((()=>this.tilesOfInterest),((e,t)=>{(0,h.fS)(e,t,(({id:e},{id:t})=>e===t))||this._process()}),o.Z_),this.addHandles((0,o.gx)((()=>!this.suspended),(()=>this._process())))}destroy(){this._pendingTiles.forEach((e=>this._deletePendingTile(e))),this._pendingTiles.clear(),this.store.destroy(),this.tilesOfInterest.length=0,this._pendingEditsAbortController.abort(),this._pendingEditsAbortController=null,this._updatingHandles.destroy()}refresh(){this.store.refresh(),this._pendingTiles.forEach((e=>this._deletePendingTile(e))),this._process()}applyEdits(e){this._pendingEdits.push(e,(async e=>{if(0===e.addedFeatures.length&&0===e.updatedFeatures.length&&0===e.deletedFeatures.length)return;for(const[,e]of this._pendingTiles)e.reset();const t={...e,deletedFeatures:e.deletedFeatures.map((({objectId:e,globalId:t})=>e&&-1!==e?e:this._lookupObjectIdByGlobalId(t)))};await this._updatingHandles.addPromise(this.store.processEdits(t,((e,t)=>this._queryFeaturesById(e,t)),this._pendingEditsAbortController.signal)),this._processPendingTiles()}))}_initializeFetchExtent(){if(!this.capabilities.query.supportsExtent||!(0,$.M8)(this.url))return;const e=(0,Z.vr)((async e=>{try{const t=await(0,Q.Vr)(this.url,new m.Z({where:"1=1",outSpatialReference:this.spatialReference,cacheHint:this.capabilities.query.supportsCacheHint??void 0}),{query:this._configuration.customParameters,signal:e});this.store.extent=V.Z.fromJSON(t.data?.extent)}catch(e){(0,r.r9)(e),X.Z.getLogger(this).warn("Failed to fetch data extent",e)}}));this._updatingHandles.addPromise(e.promise.then((()=>this._process()))),this.addHandles((0,U.kB)((()=>e.abort())))}get debugInfo(){return{numberOfFeatures:this.store.featureStore.numFeatures,tilesOfInterest:this.tilesOfInterest,pendingTiles:Array.from(this._pendingTiles.values()).map((e=>e.debugInfo)),storedTiles:this.store.debugInfo}}_process(){this._markTilesNotAlive(),this._createPendingTiles(),this._deletePendingTiles(),this._processPendingTiles()}_markTilesNotAlive(){for(const[,e]of this._pendingTiles)e.alive=!1}_createPendingTiles(){if(this.suspended)return;const e=this._collectMissingTilesInfo();if(this._setAvailability(null==e?1:e.coveredArea/e.fullArea),null!=e)for(const{data:t,resolution:s}of e.missingTiles){const e=this._pendingTiles.get(t.id);e?(e.resolution=s,e.alive=!0):this._createPendingTile(t,s)}}_collectMissingTilesInfo(){let e=null;for(let t=this.tilesOfInterest.length-1;t>=0;t--){const s=this.tilesOfInterest[t],i=this.store.process(s,((e,t)=>this._verifyTileComplexity(e,t)),this.outFields);null==e?e=i:e.prepend(i)}return e}_deletePendingTiles(){for(const[,e]of this._pendingTiles)e.alive||this._deletePendingTile(e)}_processPendingTiles(){const e={fetchCount:(e,t)=>this._fetchCount(e,t),fetchFeatures:(e,t,s)=>this._fetchFeatures(e,t,s),finish:(e,t)=>this._finishPendingTile(e,t),resume:()=>this._processPendingTiles()};if(this._ensureFetchAllCounts(e))for(const[,t]of this._pendingTiles)this._verifyTileComplexity(this.store.getFeatureCount(t.data),t.resolution)&&this._updatingHandles.addPromise(t.process(e))}_verifyTileComplexity(e,t){return this._verifyVertexComplexity(e)&&this._verifyFeatureDensity(e,t)}_verifyVertexComplexity(e){return e*this._minimumVerticesPerFeature<ne}_verifyFeatureDensity(e,t){if(null==this.tileInfo)return!1;const s=this.tileSize*t;return e*(re/(s*s))<oe}_ensureFetchAllCounts(e){let t=!0;for(const[,s]of this._pendingTiles)s.state.type<L.FETCHED_COUNT&&this._updatingHandles.addPromise(s.process(e)),s.state.type<=L.FETCH_COUNT&&(t=!1);return t}_finishPendingTile(e,t){this.store.add(e.data,t),this._deletePendingTile(e),this._updateAvailability()}_updateAvailability(){const e=this._collectMissingTilesInfo();this._setAvailability(null==e?1:e.coveredArea/e.fullArea)}_setAvailability(e){this._set("availability",e)}_createPendingTile(e,t){const s=new K(e,t);return this._pendingTiles.set(e.id,s),s}_deletePendingTile(e){e.reset(),this._pendingTiles.delete(e.data.id)}async _fetchCount(e,t){return this.store.fetchCount(e.data,this.url,this._createCountQuery(e),{query:this.customParameters,timeout:ie,signal:t})}async _fetchFeatures(e,t,s){let i=0;const n=[];let r=0,o=t;for(;;){const a=this._createFeaturesQuery(e),h=this._setPagingParameters(a,i,o),{features:l,exceededTransferLimit:u}=await this._queryFeatures(a,s);h&&(i+=a.num),r+=l.length;for(const e of l)n.push(e);if(o=t-r,!h||!u||o<=0)return n}}_filterProperties(e){return null==e?{where:"1=1",gdbVersion:void 0,timeExtent:void 0}:{where:e.where||"1=1",timeExtent:e.timeExtent,gdbVersion:e.gdbVersion}}_lookupObjectIdByGlobalId(e){const t=this.globalIdField,s=this.objectIdField;if(null==t)throw new Error("Expected globalIdField to be defined");let i=null;if(this.store.featureStore.forEach((n=>{e===n.attributes[t]&&(i=n.objectId??n.attributes[s])})),null==i)throw new Error(`Expected to find a feature with globalId ${e}`);return i}_queryFeaturesById(e,t){const s=this._createFeaturesQuery();return s.objectIds=e,this._queryFeatures(s,t)}_queryFeatures(e,t){return this.capabilities.query.supportsFormatPBF?this._queryFeaturesPBF(e,t):this._queryFeaturesJSON(e,t)}async _queryFeaturesPBF(e,t){const{sourceSpatialReference:s}=this,{data:i}=await(0,Q.qp)(this.url,e,new W.J({sourceSpatialReference:s}),{query:this._configuration.customParameters,timeout:ie,signal:t});return(0,G.lM)(i)}async _queryFeaturesJSON(e,t){const{sourceSpatialReference:s}=this,{data:i}=await(0,Q.JT)(this.url,e,s,{query:this._configuration.customParameters,timeout:ie,signal:t});return(0,G.h_)(i,this.objectIdField)}_createCountQuery(e){const t=this._createBaseQuery(e);return this.capabilities.query.supportsCacheHint&&(t.cacheHint=!0),t}_createFeaturesQuery(e=null){const t=this._createBaseQuery(e),s=null!=e?.data?this.store.getAttributesForTile(e?.data?.id):null,i=(0,q.G0)((0,q.e5)(this.outFields,s??new Set),this._mandatoryOutFields);return t.outFields=Array.from(i),t.returnGeometry=!0,null!=e&&(this.capabilities.query.supportsResultType?t.resultType="tile":this.capabilities.query.supportsCacheHint&&(t.cacheHint=!0)),t}_createBaseQuery(e){const t=new m.Z({returnZ:this.hasZ,returnM:!1,geometry:null!=this.tileInfo&&null!=e?(0,J.HH)(e.data.extent,this.tileInfo.spatialReference):void 0}),s=this._configuration.filter;return null!=s&&(t.where=s.where,t.gdbVersion=s.gdbVersion,t.timeExtent=s.timeExtent),t.outSpatialReference=this.spatialReference,t}_setPagingParameters(e,t,s){if(!this.capabilities.query.supportsPagination)return!1;const{supportsMaxRecordCountFactor:i,supportsCacheHint:n,tileMaxRecordCount:r,maxRecordCount:o,supportsResultType:a}=this.capabilities.query,h=i?m.Z.MAX_MAX_RECORD_COUNT_FACTOR:1,l=h*((a||n)&&r?r:o||se);return e.start=t,i?(e.maxRecordCountFactor=Math.min(h,Math.ceil(s/l)),e.num=Math.min(s,e.maxRecordCountFactor*l)):e.num=Math.min(s,l),!0}};(0,i._)([(0,a.Cb)({constructOnly:!0})],te.prototype,"url",void 0),(0,i._)([(0,a.Cb)({constructOnly:!0})],te.prototype,"objectIdField",void 0),(0,i._)([(0,a.Cb)({constructOnly:!0})],te.prototype,"globalIdField",void 0),(0,i._)([(0,a.Cb)({constructOnly:!0})],te.prototype,"capabilities",void 0),(0,i._)([(0,a.Cb)({constructOnly:!0})],te.prototype,"sourceSpatialReference",void 0),(0,i._)([(0,a.Cb)({constructOnly:!0})],te.prototype,"spatialReference",void 0),(0,i._)([(0,a.Cb)({constructOnly:!0})],te.prototype,"store",void 0),(0,i._)([(0,a.Cb)({readOnly:!0})],te.prototype,"_minimumVerticesPerFeature",null),(0,i._)([(0,a.Cb)()],te.prototype,"_mandatoryOutFields",null),(0,i._)([(0,a.Cb)()],te.prototype,"outFields",null),(0,i._)([(0,a.Cb)()],te.prototype,"suspended",void 0),(0,i._)([(0,a.Cb)()],te.prototype,"filter",null),(0,i._)([(0,a.Cb)()],te.prototype,"customParameters",null),(0,i._)([(0,a.Cb)({readOnly:!0})],te.prototype,"_configuration",null),(0,i._)([(0,a.Cb)()],te.prototype,"tileInfo",null),(0,i._)([(0,a.Cb)()],te.prototype,"tileSize",null),(0,i._)([(0,a.Cb)()],te.prototype,"tilesOfInterest",void 0),(0,i._)([(0,a.Cb)({readOnly:!0})],te.prototype,"updating",null),(0,i._)([(0,a.Cb)({readOnly:!0})],te.prototype,"updatingExcludingEdits",null),(0,i._)([(0,a.Cb)({readOnly:!0})],te.prototype,"availability",void 0),(0,i._)([(0,a.Cb)()],te.prototype,"hasZ",null),te=(0,i._)([(0,l.j)("esri.views.interactive.snapping.featureSources.featureServiceSource.FeatureServiceTiledFetcher")],te);const se=2e3,ie=6e5,ne=1e6,re=25,oe=1;var ae=s(43090),he=s(91303),le=s(37549),ue=s(43077);class de{constructor(){this._store=new Map,this._byteSize=0}set(e,t){this.delete(e),this._store.set(e,t),this._byteSize+=t.byteSize}delete(e){const t=this._store.get(e);return!!this._store.delete(e)&&(null!=t&&(this._byteSize-=t.byteSize),!0)}get(e){return this._used(e),this._store.get(e)}has(e){return this._used(e),this._store.has(e)}clear(){this._store.clear()}applyByteSizeLimit(e,t){for(const[s,i]of this._store){if(this._byteSize<=e)break;this.delete(s),t(i)}}values(){return this._store.values()}[Symbol.iterator](){return this._store[Symbol.iterator]()}_used(e){const t=this._store.get(e);t&&(this._store.delete(e),this._store.set(e,t))}}let ce=class extends j.Z{constructor(e){super(e),this.tileInfo=null,this.extent=null,this.maximumByteSize=10*he.Y.MEGABYTES,this._tileBounds=new le.H,this._tiles=new de,this._refCounts=new Map,this._tileFeatureCounts=new Map,this._tmpBoundingRect=(0,J.Ue)()}add(e,t){for(const e of t)this._referenceFeature(e.objectId);const s=this.featureStore.upsertMany(t),i=s.map((e=>new Set(Object.keys(e.attributes)))).reduce(((e,t)=>(0,q.jV)(e,t)),new Set(Object.keys(s[0]?.attributes??[])));this._addTileStorage(e,new Set(s.map((e=>e.objectId))),function(e){return e.reduce(((e,t)=>e+function(e){return 32+function(e){if(null==e)return 0;const t=(0,ae.do)(e.lengths,4);return 32+(0,ae.do)(e.coords,8)+t}(e.geometry)+(0,ae.f2)(e.attributes)}(t)),0)}(s),i),this._tiles.applyByteSizeLimit(this.maximumByteSize,(e=>this._removeTileStorage(e)))}getAttributesForTile(e){return e?this._tiles.get(e)?.attributeKeys:null}destroy(){this.clear(),this._tileFeatureCounts.clear()}clear(){this.featureStore.clear(),this._tileBounds.clear(),this._tiles.clear(),this._refCounts.clear()}refresh(){this.clear(),this._tileFeatureCounts.clear()}processEdits(e,t,s){return this._processEditsDelete(e.deletedFeatures.concat(e.updatedFeatures)),this._processEditsRefetch(e.addedFeatures.concat(e.updatedFeatures),t,s)}_addTileStorage(e,t,s,i){const n=e.id;this._tiles.set(n,new _e(e,t,s,i)),this._tileBounds.set(n,e.extent),this._tileFeatureCounts.set(n,t.size)}_remove({id:e}){const t=this._tiles.get(e);t&&this._removeTileStorage(t)}_removeTileStorage(e){const t=[];for(const s of e.objectIds)this._unreferenceFeature(s)===ye.REMOVED&&t.push(s);this.featureStore.removeManyById(t);const s=e.data.id;this._tiles.delete(s),this._tileBounds.delete(s)}_processEditsDelete(e){this.featureStore.removeManyById(e);for(const[,t]of this._tiles){for(const s of e)t.objectIds.delete(s);this._tileFeatureCounts.set(t.data.id,t.objectIds.size)}for(const t of e)this._refCounts.delete(t)}async _processEditsRefetch(e,t,s){const i=(await t(e,s)).features,{hasZ:n,hasM:r}=this.featureStore;for(const e of i){const t=(0,G.$)(this._tmpBoundingRect,e.geometry,n,r);null!=t&&this._tileBounds.forEachInBounds(t,(t=>{const s=this._tiles.get(t);this.featureStore.add(e);const i=e.objectId;s.objectIds.has(i)||(s.objectIds.add(i),this._referenceFeature(i),this._tileFeatureCounts.set(s.data.id,s.objectIds.size))}))}}process(e,t=(()=>!0),s){if(null==this.tileInfo||!e.extent||null!=this.extent&&!(0,J.kK)((0,J.oJ)(this.extent,this._tmpBoundingRect),e.extent))return new me(e);const i=this.getAttributesForTile(e.id);if((0,q.ik)(s,i))return new me(e);const n=this._createTileTree(e,this.tileInfo);return this._simplify(n,t,null,0,1),this._collectMissingTiles(e,n,this.tileInfo,s)}get debugInfo(){return Array.from(this._tiles.values()).map((({data:e})=>({data:e,featureCount:this._tileFeatureCounts.get(e.id)||0})))}getFeatureCount(e){return this._tileFeatureCounts.get(e.id)??0}async fetchCount(e,t,s,i){const n=this._tileFeatureCounts.get(e.id);if(null!=n)return n;const r=await(0,Q.hH)(t,s,i);return this._tileFeatureCounts.set(e.id,r.data.count),r.data.count}_createTileTree(e,t){const s=new fe(e.level,e.row,e.col);return t.updateTileInfo(s,f.Z.ExtrapolateOptions.POWER_OF_TWO),this._tileBounds.forEachInBounds(e.extent,(i=>{const n=this._tiles.get(i)?.data;n&&this._tilesAreRelated(e,n)&&this._populateChildren(s,n,t,this._tileFeatureCounts.get(n.id)||0)})),s}_tilesAreRelated(e,t){if(!e||!t)return!1;if(e.level===t.level)return e.row===t.row&&e.col===t.col;const s=e.level<t.level,i=s?e:t,n=s?t:e,r=1<<n.level-i.level;return Math.floor(n.row/r)===i.row&&Math.floor(n.col/r)===i.col}_populateChildren(e,t,s,i){const n=t.level-e.level-1;if(n<0)return void(e.isLeaf=!0);const r=t.row>>n,o=t.col>>n,a=e.row<<1,h=o-(e.col<<1)+(r-a<<1),l=e.children[h];if(null!=l)this._populateChildren(l,t,s,i);else{const n=new fe(e.level+1,r,o);s.updateTileInfo(n,f.Z.ExtrapolateOptions.POWER_OF_TWO),e.children[h]=n,this._populateChildren(n,t,s,i)}}_simplify(e,t,s,i,n){const r=n*n;if(e.isLeaf)return t(this.getFeatureCount(e),n)?0:(this._remove(e),null!=s&&(s.children[i]=null),r);const o=n/2,a=o*o;let h=0;for(let s=0;s<e.children.length;s++){const i=e.children[s];h+=null!=i?this._simplify(i,t,e,s,o):a}return 0===h?this._mergeChildren(e):1-h/r<pe&&(this._purge(e),null!=s&&(s.children[i]=null),h=r),h}_mergeChildren(e){const t=new Set;let s,i=0;this._forEachLeaf(e,(e=>{const n=this._tiles.get(e.id);if(n){s=s?(0,q.jV)(s,n.attributeKeys):new Set(n.attributeKeys),i+=n.byteSize;for(const e of n.objectIds)t.has(e)||(t.add(e),this._referenceFeature(e));this._remove(e)}})),this._addTileStorage(e,t,i,s??new Set),e.isLeaf=!0,e.children[0]=e.children[1]=e.children[2]=e.children[3]=null,this._tileFeatureCounts.set(e.id,t.size)}_forEachLeaf(e,t){for(const s of e.children)null!=s&&(s.isLeaf?t(s):this._forEachLeaf(s,t))}_purge(e){if(null!=e)if(e.isLeaf)this._remove(e);else for(let t=0;t<e.children.length;t++){const s=e.children[t];this._purge(s),e.children[t]=null}}_collectMissingTiles(e,t,s,i){const n=new ge(s,e,this.extent);return this._collectMissingTilesRecurse(t,n,1,i),n.info}_collectMissingTilesRecurse(e,t,s,i){const n=this.getAttributesForTile(e.id),r=n&&!(0,q.ik)(i,n);if(r&&t.addMissing(e.level,e.row,e.col,s),e.isLeaf)return;if(!e.hasChildren)return void(r||t.addMissing(e.level,e.row,e.col,s));const o=s/2;for(let s=0;s<e.children.length;s++){const n=e.children[s];null==n?t.addMissing(e.level+1,(e.row<<1)+((2&s)>>1),(e.col<<1)+(1&s),o):this._collectMissingTilesRecurse(n,t,o,i)}}_referenceFeature(e){const t=(this._refCounts.get(e)||0)+1;return this._refCounts.set(e,t),1===t?ye.ADDED:ye.UNCHANGED}_unreferenceFeature(e){const t=(this._refCounts.get(e)||0)-1;return 0===t?(this._refCounts.delete(e),ye.REMOVED):(t>0&&this._refCounts.set(e,t),ye.UNCHANGED)}get test(){return{tiles:Array.from(this._tiles.values()).map((e=>`${e.data.id}:[${Array.from(e.objectIds)}]`)),featureReferences:Array.from(this._refCounts.keys()).map((e=>`${e}:${this._refCounts.get(e)}`))}}};(0,i._)([(0,a.Cb)({constructOnly:!0})],ce.prototype,"featureStore",void 0),(0,i._)([(0,a.Cb)()],ce.prototype,"tileInfo",void 0),(0,i._)([(0,a.Cb)()],ce.prototype,"extent",void 0),(0,i._)([(0,a.Cb)()],ce.prototype,"maximumByteSize",void 0),ce=(0,i._)([(0,l.j)("esri.views.interactive.snapping.featureSources.featureServiceSource.FeatureServiceTileStore")],ce);class _e{constructor(e,t,s,i){this.data=e,this.objectIds=t,this.byteSize=s,this.attributeKeys=i}}class fe{constructor(e,t,s){this.level=e,this.row=t,this.col=s,this.isLeaf=!1,this.extent=null,this.children=[null,null,null,null]}get hasChildren(){return!this.isLeaf&&(null!=this.children[0]||null!=this.children[1]||null!=this.children[2]||null!=this.children[3])}}class me{constructor(e,t=[]){this.missingTiles=t,this.fullArea=0,this.coveredArea=0,this.fullArea=(0,J.SO)(e.extent),this.coveredArea=this.fullArea}prepend(e){this.missingTiles=e.missingTiles.concat(this.missingTiles),this.coveredArea+=e.coveredArea,this.fullArea+=e.fullArea}}class ge{constructor(e,t,s){this._tileInfo=e,this._extent=null,this.info=new me(t),null!=s&&(this._extent=(0,J.oJ)(s))}addMissing(e,t,s,i){const n=new ue.f(null,e,t,s);this._tileInfo.updateTileInfo(n,f.Z.ExtrapolateOptions.POWER_OF_TWO),null==n.extent||null!=this._extent&&!(0,J.kK)(this._extent,n.extent)||(this.info.missingTiles.push({data:n,resolution:i}),this.info.coveredArea-=(0,J.SO)(n.extent))}}const pe=.18751;var ye;!function(e){e[e.ADDED=0]="ADDED",e[e.REMOVED=1]="REMOVED",e[e.UNCHANGED=2]="UNCHANGED"}(ye||(ye={}));var Ee=s(33955);let be=class extends n.Z.EventedAccessor{constructor(){super(...arguments),this._isInitializing=!0,this.remoteClient=null,this._whenSetup=(0,r.hh)(),this._elevationAligner=I(),this._elevationFilter=B(),this._symbologyCandidatesFetcher=D(),this._updatingHandles=new u.R,this._editsUpdatingHandles=new u.R,this._pendingApplyEdits=new Map,this._alignPointsInFeatures=async(e,t)=>{const s={points:e},i=await this.remoteClient.invoke("alignElevation",s,{signal:t});return(0,r.k_)(t),i},this._getSymbologyCandidates=async(e,t)=>{const s={candidates:e,spatialReference:this._spatialReference.toJSON()},i=await this.remoteClient.invoke("getSymbologyCandidates",s,{signal:t});return(0,r.k_)(t),i}}get updating(){return this.updatingExcludingEdits||this._editsUpdatingHandles.updating||this._featureFetcher.updating}get updatingExcludingEdits(){return this._featureFetcher.updatingExcludingEdits||this._isInitializing||this._updatingHandles.updating}destroy(){this._featureFetcher?.destroy(),this._queryEngine?.destroy(),this._featureStore?.clear()}async setup(e){if(this.destroyed)return{result:{}};const{geometryType:t,objectIdField:s,timeInfo:i,fieldsIndex:n}=e.serviceInfo,{hasZ:r}=e,a=d.Z.fromJSON(e.spatialReference);this._spatialReference=a,this._featureStore=new c.Z({...e.serviceInfo,hasZ:r,hasM:!1}),this._queryEngine=new _.q({spatialReference:e.spatialReference,featureStore:this._featureStore,geometryType:t,fieldsIndex:n,hasZ:r,hasM:!1,objectIdField:s,timeInfo:i}),this._featureFetcher=new te({store:new ce({featureStore:this._featureStore}),url:e.serviceInfo.url,objectIdField:e.serviceInfo.objectIdField,globalIdField:e.serviceInfo.globalIdField,capabilities:e.serviceInfo.capabilities,spatialReference:a,sourceSpatialReference:d.Z.fromJSON(e.serviceInfo.spatialReference)});const h="3d"===e.configuration.viewType;return this._elevationAligner=I(h,{elevationInfo:null!=e.elevationInfo?g.Z.fromJSON(e.elevationInfo):null,alignPointsInFeatures:this._alignPointsInFeatures,spatialReference:a}),this._elevationFilter=B(h),this.addHandles([(0,o.YP)((()=>this._featureFetcher.availability),(e=>this.emit("notify-availability",{availability:e})),o.Z_),(0,o.YP)((()=>this.updating),(()=>this._notifyUpdating()))]),this._whenSetup.resolve(),this._isInitializing=!1,this.configure(e.configuration)}async configure(e){return await this._updatingHandles.addPromise(this._whenSetup.promise),this._updateFeatureFetcherConfiguration(e),ve}async setSuspended(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,r.k_)(t),this._featureFetcher.suspended=e,ve}async updateOutFields(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,r.k_)(t),this._featureFetcher.outFields=new Set(e??[]),ve}async fetchCandidates(e,t){await this._whenSetup.promise,(0,r.k_)(t);const s=function(e){if(!e.filter)return{...e,query:{where:"1=1"}};const{distance:t,units:s,spatialRel:i,where:n,timeExtent:r,objectIds:o}=e.filter,a={geometry:e.filter.geometry?(0,Ee.im)(e.filter.geometry):void 0,distance:t,units:s,spatialRel:i,timeExtent:r,objectIds:o,where:n??"1=1"};return{...e,query:a}}(e),i=t?.signal,n=await this._queryEngine.executeQueryForSnapping(s,i);(0,r.k_)(i);const o=await this._elevationAligner.alignCandidates(n.candidates,i);(0,r.k_)(i);const a=await this._symbologyCandidatesFetcher.fetch(o,i);(0,r.k_)(i);const h=0===a.length?o:o.concat(a);return{result:{candidates:this._elevationFilter.filter(s,h)}}}async updateTiles(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,r.k_)(t),this._featureFetcher.tileSize=e.tileSize,this._featureFetcher.tilesOfInterest=e.tiles,this._featureFetcher.tileInfo=null!=e.tileInfo?f.Z.fromJSON(e.tileInfo):null,ve}async refresh(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,r.k_)(t),this._featureFetcher.refresh(),ve}async whenNotUpdating(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,r.k_)(t),await(0,o.N1)((()=>!this.updatingExcludingEdits),t),(0,r.k_)(t),ve}async getDebugInfo(e,t){return(0,r.k_)(t),{result:this._featureFetcher.debugInfo}}async beginApplyEdits(e,t){this._updatingHandles.addPromise(this._whenSetup.promise),(0,r.k_)(t);const s=(0,r.hh)();return this._pendingApplyEdits.set(e.id,s),this._featureFetcher.applyEdits(s.promise),this._editsUpdatingHandles.addPromise(s.promise),ve}async endApplyEdits(e,t){const s=this._pendingApplyEdits.get(e.id);return s&&s.resolve(e.edits),(0,r.k_)(t),ve}async notifyElevationSourceChange(e,t){return this._elevationAligner.notifyElevationSourceChange(),ve}async notifySymbologyChange(e,t){return this._symbologyCandidatesFetcher.notifySymbologyChange(),ve}async setSymbologySnappingSupported(e){return this._symbologyCandidatesFetcher=D(e,this._getSymbologyCandidates),ve}_updateFeatureFetcherConfiguration(e){this._featureFetcher.filter=null!=e.filter?m.Z.fromJSON(e.filter):null,this._featureFetcher.customParameters=e.customParameters}_notifyUpdating(){this.emit("notify-updating",{updating:this.updating})}};(0,i._)([(0,a.Cb)({readOnly:!0})],be.prototype,"updating",null),(0,i._)([(0,a.Cb)({readOnly:!0})],be.prototype,"updatingExcludingEdits",null),(0,i._)([(0,a.Cb)()],be.prototype,"_isInitializing",void 0),be=(0,i._)([(0,l.j)("esri.views.interactive.snapping.featureSources.featureServiceSource.FeatureServiceSnappingSourceWorker")],be);const Ie=be,ve={result:{}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6874],{92835:(t,e,n)=>{n.d(e,{Z:()=>p});var r,o=n(43697),i=n(96674),s=n(35463),a=n(5600),l=(n(75215),n(67676),n(80442),n(71715)),u=n(52011),h=n(30556),d=n(25031);let c=r=class extends i.wq{static get allTime(){return m}static get empty(){return y}constructor(t){super(t),this.end=null,this.start=null}readEnd(t,e){return null!=e.end?new Date(e.end):null}writeEnd(t,e){e.end=t?.getTime()??null}get isAllTime(){return this.equals(r.allTime)}get isEmpty(){return this.equals(r.empty)}readStart(t,e){return null!=e.start?new Date(e.start):null}writeStart(t,e){e.start=t?.getTime()??null}clone(){return new r({end:this.end,start:this.start})}equals(t){if(!t)return!1;const e=this.start?.getTime()??this.start,n=this.end?.getTime()??this.end,r=t.start?.getTime()??t.start,o=t.end?.getTime()??t.end;return e===r&&n===o}expandTo(t,e=d.By){if(this.isEmpty||this.isAllTime)return this.clone();let n=this.start;n&&(n=(0,s.JE)(n,t,e));let o=this.end;if(o){const n=(0,s.JE)(o,t,e);o=o.getTime()===n.getTime()?n:(0,s.Nm)(n,1,t,e)}return new r({start:n,end:o})}intersection(t){if(!t)return this.clone();if(this.isEmpty||t.isEmpty)return r.empty;if(this.isAllTime)return t.clone();if(t.isAllTime)return this.clone();const e=this.start?.getTime()??-1/0,n=this.end?.getTime()??1/0,o=t.start?.getTime()??-1/0,i=t.end?.getTime()??1/0;let s,a;if(o>=e&&o<=n?s=o:e>=o&&e<=i&&(s=e),n>=o&&n<=i?a=n:i>=e&&i<=n&&(a=i),null!=s&&null!=a&&!isNaN(s)&&!isNaN(a)){const t=new r;return t.start=s===-1/0?null:new Date(s),t.end=a===1/0?null:new Date(a),t}return r.empty}offset(t,e,n=d.By){if(this.isEmpty||this.isAllTime)return this.clone();const o=new r,{start:i,end:a}=this;return null!=i&&(o.start=(0,s.Nm)(i,t,e,n)),null!=a&&(o.end=(0,s.Nm)(a,t,e,n)),o}union(t){if(!t||t.isEmpty)return this.clone();if(this.isEmpty)return t.clone();if(this.isAllTime||t.isAllTime)return m.clone();const e=null!=this.start&&null!=t.start?new Date(Math.min(this.start.getTime(),t.start.getTime())):null,n=null!=this.end&&null!=t.end?new Date(Math.max(this.end.getTime(),t.end.getTime())):null;return new r({start:e,end:n})}};(0,o._)([(0,a.Cb)({type:Date,json:{write:{allowNull:!0}}})],c.prototype,"end",void 0),(0,o._)([(0,l.r)("end")],c.prototype,"readEnd",null),(0,o._)([(0,h.c)("end")],c.prototype,"writeEnd",null),(0,o._)([(0,a.Cb)({readOnly:!0,json:{read:!1}})],c.prototype,"isAllTime",null),(0,o._)([(0,a.Cb)({readOnly:!0,json:{read:!1}})],c.prototype,"isEmpty",null),(0,o._)([(0,a.Cb)({type:Date,json:{write:{allowNull:!0}}})],c.prototype,"start",void 0),(0,o._)([(0,l.r)("start")],c.prototype,"readStart",null),(0,o._)([(0,h.c)("start")],c.prototype,"writeStart",null),c=r=(0,o._)([(0,u.j)("esri.TimeExtent")],c);const m=new c,y=new c({start:void 0,end:void 0}),p=c},4757:(t,e,n)=>{n.d(e,{Z:()=>m});var r=n(43697),o=n(92036),i=n(67676),s=n(2368),a=n(10699),l=n(96674),u=n(5600),h=(n(75215),n(80442),n(52011));let d=0,c=class extends((0,l.eC)((0,s.J)((0,a.IG)(o.Z)))){constructor(t){super(t),this.id=`${Date.now().toString(16)}-analysis-${d++}`,this.title=null}get parent(){return this._get("parent")}set parent(t){const e=this.parent;if(null!=e)switch(e.type){case"line-of-sight":case"dimension":e.releaseAnalysis(this);break;case"2d":case"3d":e.analyses.includes(this)&&e.analyses.remove(this)}this._set("parent",t)}get isEditable(){return this.requiredPropertiesForEditing.every(i.pC)}};(0,r._)([(0,u.Cb)({type:String,constructOnly:!0,clonable:!1})],c.prototype,"id",void 0),(0,r._)([(0,u.Cb)({type:String})],c.prototype,"title",void 0),(0,r._)([(0,u.Cb)({constructOnly:!0})],c.prototype,"type",void 0),(0,r._)([(0,u.Cb)({clonable:!1,value:null})],c.prototype,"parent",null),(0,r._)([(0,u.Cb)({readOnly:!0})],c.prototype,"isEditable",null),(0,r._)([(0,u.Cb)({readOnly:!0})],c.prototype,"requiredPropertiesForEditing",void 0),c=(0,r._)([(0,h.j)("esri.analysis.Analysis")],c);const m=c},2368:(t,e,n)=>{n.d(e,{J:()=>h,j:()=>d});var r=n(43697),o=n(92036),i=(n(80442),n(22974)),s=(n(92604),n(70586)),a=n(31263),l=n(1153),u=n(52011);const h=t=>{let e=class extends t{clone(){const t=(0,l.vw)(this);(0,s.O3)(t,"unable to clone instance of non-accessor class");const e=t.metadatas,n=t.store,r={},o=new Map;for(const t in e){const s=e[t],l=n?.originOf(t),u=s.clonable;if(s.readOnly||!1===u||l!==a.s3.USER&&l!==a.s3.DEFAULTS&&l!==a.s3.WEB_MAP&&l!==a.s3.WEB_SCENE)continue;const h=this[t];let d=null;d="function"==typeof u?u(h):"reference"===u?h:(0,i.Vo)(h),null!=h&&null==d||(l===a.s3.DEFAULTS?o.set(t,d):r[t]=d)}const u=new(0,Object.getPrototypeOf(this).constructor)(r);if(o.size){const t=(0,l.vw)(u)?.store;if(t)for(const[e,n]of o)t.set(e,n,a.s3.DEFAULTS)}return u}};return e=(0,r._)([(0,u.j)("esri.core.Clonable")],e),e};let d=class extends(h(o.Z)){};d=(0,r._)([(0,u.j)("esri.core.Clonable")],d)},10699:(t,e,n)=>{n.d(e,{IG:()=>s,iv:()=>a});var r=n(43697),o=n(52011);let i=0;const s=t=>{let e=class extends t{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+i++})}};return e=(0,r._)([(0,o.j)("esri.core.Identifiable")],e),e},a=t=>{let e=class extends t{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:i++})}};return e=(0,r._)([(0,o.j)("esri.core.NumericIdentifiable")],e),e};let l=class extends(s(class{})){};l=(0,r._)([(0,o.j)("esri.core.Identifiable")],l)},70921:(t,e,n)=>{n.d(e,{R:()=>i,Z:()=>o});var r=n(46791);function o(t,e,n=r.Z){return e||(e=new n),e===t||(e.removeAll(),(o=t)&&(Array.isArray(o)||"items"in o&&Array.isArray(o.items))?e.addMany(t):t&&e.add(t)),e;var o}function i(t){return t}},17445:(t,e,n)=>{n.d(e,{N1:()=>c,YP:()=>l,Z_:()=>p,gx:()=>u,nn:()=>g,on:()=>d,tX:()=>f}),n(66643),n(46791);var r=n(91460),o=n(50758),i=n(70586),s=n(95330),a=n(26258);function l(t,e,n={}){return h(t,e,n,m)}function u(t,e,n={}){return h(t,e,n,y)}function h(t,e,n={},r){let o=null;const s=n.once?(t,n)=>{r(t)&&((0,i.hw)(o),e(t,n))}:(t,n)=>{r(t)&&e(t,n)};if(o=(0,a.aQ)(t,s,n.sync,n.equals),n.initial){const e=t();s(e,e)}return o}function d(t,e,n,s={}){let a=null,u=null,h=null;function d(){a&&u&&(u.remove(),s.onListenerRemove?.(a),a=null,u=null)}function c(t){s.once&&s.once&&(0,i.hw)(h),n(t)}const m=l(t,((t,n)=>{d(),(0,r.vT)(t)&&(a=t,u=(0,r.on)(t,e,c),s.onListenerAdd?.(t))}),{sync:s.sync,initial:!0});return h=(0,o.kB)((()=>{m.remove(),d()})),h}function c(t,e){return function(t,e,n){if((0,s.Hc)(n))return Promise.reject((0,s.zE)());const r=t();if(e?.(r))return Promise.resolve(r);let a=null;function l(){a=(0,i.hw)(a)}return new Promise(((r,i)=>{a=(0,o.AL)([(0,s.fu)(n,(()=>{l(),i((0,s.zE)())})),h(t,(t=>{l(),r(t)}),{sync:!1,once:!0},e??m)])}))}(t,y,e)}function m(t){return!0}function y(t){return!!t}n(87538);const p={sync:!0},g={initial:!0},f={sync:!0,initial:!0}},35463:(t,e,n)=>{n.d(e,{JE:()=>l,Nm:()=>a,rJ:()=>u});var r=n(90344),o=n(25031),i=n(17126);const s={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8};function a(t,e,n,s=o.By){const a=new i.vF((0,r.f1)(s)),l=i.ou.fromJSDate(t,{zone:a}),u="decades"===n||"centuries"===n?"year":h(n);return"decades"===n&&(e*=10),"centuries"===n&&(e*=100),l.plus({[u]:e}).toJSDate()}function l(t,e,n=o.By){const s=new i.vF((0,r.f1)(n)),a=i.ou.fromJSDate(t,{zone:s});if("decades"===e||"centuries"===e){const t=a.startOf("year"),{year:n}=t,r=n-n%("decades"===e?10:100);return t.set({year:r}).toJSDate()}const l=h(e);return a.startOf(l).toJSDate()}function u(t,e,n){return 0===t?0:t*s[e]/s[n]}function h(t){switch(t){case"milliseconds":return"millisecond";case"seconds":return"second";case"minutes":return"minute";case"hours":return"hour";case"days":return"day";case"weeks":return"week";case"months":return"month";case"years":return"year"}}},90344:(t,e,n)=>{n.d(e,{Xr:()=>y,Ze:()=>b,f1:()=>v,p6:()=>w});var r=n(35454),o=n(70171),i=n(25031);n(17126);const s=Intl.DateTimeFormat().resolvedOptions().timeZone,a=(i.pt,{year:"numeric",month:"numeric",day:"numeric"}),l={year:"numeric",month:"long",day:"numeric"},u={year:"numeric",month:"short",day:"numeric"},h={year:"numeric",month:"long",weekday:"long",day:"numeric"},d={hour:"numeric",minute:"numeric"},c={...d,second:"numeric"},m={"short-date":a,"short-date-short-time":{...a,...d},"short-date-short-time-24":{...a,...d,hour12:!1},"short-date-long-time":{...a,...c},"short-date-long-time-24":{...a,...c,hour12:!1},"short-date-le":a,"short-date-le-short-time":{...a,...d},"short-date-le-short-time-24":{...a,...d,hour12:!1},"short-date-le-long-time":{...a,...c},"short-date-le-long-time-24":{...a,...c,hour12:!1},"long-month-day-year":l,"long-month-day-year-short-time":{...l,...d},"long-month-day-year-short-time-24":{...l,...d,hour12:!1},"long-month-day-year-long-time":{...l,...c},"long-month-day-year-long-time-24":{...l,...c,hour12:!1},"day-short-month-year":u,"day-short-month-year-short-time":{...u,...d},"day-short-month-year-short-time-24":{...u,...d,hour12:!1},"day-short-month-year-long-time":{...u,...c},"day-short-month-year-long-time-24":{...u,...c,hour12:!1},"long-date":h,"long-date-short-time":{...h,...d},"long-date-short-time-24":{...h,...d,hour12:!1},"long-date-long-time":{...h,...c},"long-date-long-time-24":{...h,...c,hour12:!1},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":d,"long-time":c},y=(0,r.w)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),p={ar:"ar-u-nu-latn-ca-gregory"};let g=new WeakMap;const f=m["short-date-short-time"];function b(t){return m[t]}function w(t,e=f){return function(t){let e=g.get(t);if(!e){const n=(0,o.Kd)(),r=p[n]||n,s=v(t.timeZone??i.By),a={...t,timeZone:s};e=new Intl.DateTimeFormat(r,a),g.set(t,e)}return e}(e).format(t)}function v(t){switch(t){case i.By:return s;case i._4:return i.pt;default:return t}}(0,o.Ze)((()=>{g=new WeakMap}))},87085:(t,e,n)=>{n.d(e,{Z:()=>w});var r=n(43697),o=(n(66577),n(3172)),i=n(20102),s=n(32448),a=n(10699),l=n(83379),u=n(92604),h=n(95330),d=n(17452),c=n(5600),m=(n(75215),n(67676),n(80442),n(52011)),y=n(68773),p=n(6570),g=n(82971);let f=0,b=class extends(s.Z.EventedMixin((0,a.IG)(l.Z))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new p.Z(-180,-90,180,90,g.Z.WGS84),this.id=Date.now().toString(16)+"-layer-"+f++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.persistenceEnabled=!1,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=g.Z.WGS84,this.title=null,this.type=null,this.url=null,this.visible=!0}static async fromArcGISServerUrl(t){const e="string"==typeof t?{url:t}:t;return(await n.e(3529).then(n.bind(n,63529))).fromUrl(e)}static fromPortalItem(t){return async function(t){const e="portalItem"in t?t:{portalItem:t},{fromItem:r}=await n.e(8008).then(n.bind(n,28008));try{return await r(e)}catch(t){const n=e&&e.portalItem,r=n?.id||"unset",o=n&&n.portal&&n.portal.url||y.default.portalUrl;throw u.Z.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+o+"', id: '"+r+"')",t),t}}(t)}initialize(){this.when().catch((t=>{(0,h.D_)(t)||u.Z.getLogger(this).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:t})}))}destroy(){const t=this.parent;if(t){const e=this;"layers"in t&&t.layers.includes(e)?t.layers.remove(e):"tables"in t&&t.tables.includes(e)?t.tables.remove(e):"baseLayers"in t&&t.baseLayers.includes(e)?t.baseLayers.remove(e):"referenceLayers"in t&&t.referenceLayers.includes(e)&&t.referenceLayers.remove(e),this._set("parent",null)}}get hasAttributionData(){return null!=this.attributionDataUrl}get parsedUrl(){return(0,d.mN)(this.url)}async fetchAttributionData(){const t=this.attributionDataUrl;if(this.hasAttributionData&&t)return(await(0,o.Z)(t,{query:{f:"json"},responseType:"json"})).data;throw new i.Z("layer:no-attribution-data","Layer does not have attribution data")}};(0,r._)([(0,c.Cb)({type:String})],b.prototype,"attributionDataUrl",void 0),(0,r._)([(0,c.Cb)({type:p.Z})],b.prototype,"fullExtent",void 0),(0,r._)([(0,c.Cb)({readOnly:!0})],b.prototype,"hasAttributionData",null),(0,r._)([(0,c.Cb)({type:String,clonable:!1})],b.prototype,"id",void 0),(0,r._)([(0,c.Cb)({type:Boolean,nonNullable:!0})],b.prototype,"legendEnabled",void 0),(0,r._)([(0,c.Cb)({type:["show","hide","hide-children"]})],b.prototype,"listMode",void 0),(0,r._)([(0,c.Cb)({type:Number,range:{min:0,max:1},nonNullable:!0})],b.prototype,"opacity",void 0),(0,r._)([(0,c.Cb)({clonable:!1})],b.prototype,"parent",void 0),(0,r._)([(0,c.Cb)({readOnly:!0})],b.prototype,"parsedUrl",null),(0,r._)([(0,c.Cb)({type:Boolean,readOnly:!0})],b.prototype,"persistenceEnabled",void 0),(0,r._)([(0,c.Cb)({type:Boolean})],b.prototype,"popupEnabled",void 0),(0,r._)([(0,c.Cb)({type:Boolean})],b.prototype,"attributionVisible",void 0),(0,r._)([(0,c.Cb)({type:g.Z})],b.prototype,"spatialReference",void 0),(0,r._)([(0,c.Cb)({type:String})],b.prototype,"title",void 0),(0,r._)([(0,c.Cb)({readOnly:!0,json:{read:!1}})],b.prototype,"type",void 0),(0,r._)([(0,c.Cb)()],b.prototype,"url",void 0),(0,r._)([(0,c.Cb)({type:Boolean,nonNullable:!0})],b.prototype,"visible",void 0),b=(0,r._)([(0,m.j)("esri.layers.Layer")],b);const w=b}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[15],{60437:(e,t,n)=>{n.d(t,{G_:()=>I,HH:()=>i,JR:()=>m,TC:()=>l,Tn:()=>h,Ue:()=>o,al:()=>s,bZ:()=>g,cS:()=>d,dp:()=>c,fS:()=>p,is:()=>y,op:()=>a,pp:()=>u,t8:()=>f});var r=n(6570);function o(e=b){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function s(e,t,n,r,s,i,l=o()){return l[0]=e,l[1]=t,l[2]=n,l[3]=r,l[4]=s,l[5]=i,l}function i(e,t){const n=isFinite(e[2])||isFinite(e[5]);return new r.Z(n?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function l(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function u(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function c(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function a(e,t,n=e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n!==e&&(n[3]=e[3],n[4]=e[4],n[5]=e[5]),n}function h(e,t,n=e){return n[3]=t[0],n[4]=t[1],n[5]=t[2],n!==e&&(n[0]=e[0],n[1]=e[1],n[2]=e[2]),e}function f(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function d(e){return e?f(e,I):o(I)}function m(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function g(e,t,n,r,o){return e[0]=t,e[1]=n,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=o,e[5]=Number.POSITIVE_INFINITY,e}function y(e){return 6===e.length}function p(e,t,n){if(null==e||null==t)return e===t;if(!y(e)||!y(t))return!1;if(n){for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1}else for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}n(24470);const I=[1/0,1/0,1/0,-1/0,-1/0,-1/0],b=[0,0,0,0,0,0];o()},70272:(e,t,n)=>{n.d(t,{S6:()=>o,nd:()=>s,u_:()=>r});class r{constructor(e=null,t={},n,r){this.geometry=e,this.attributes=t,this.centroid=n,this.objectId=r,this.displayId=0,this.geohashX=0,this.geohashY=0}weakClone(){const e=new r(this.geometry,this.attributes,this.centroid,this.objectId);return e.displayId=this.displayId,e.geohashX=this.geohashX,e.geohashY=this.geohashY,e}}function o(e){return!!e.geometry?.coords?.length}class s extends r{}},44876:(e,t,n)=>{n.d(t,{Z:()=>r});class r{constructor(){this.objectIdFieldName=null,this.globalIdFieldName=null,this.geohashFieldName=null,this.geometryProperties=null,this.geometryType=null,this.spatialReference=null,this.hasZ=!1,this.hasM=!1,this.features=[],this.fields=[],this.transform=null,this.exceededTransferLimit=!1,this.uniqueIdField=null,this.queryGeometryType=null,this.queryGeometry=null}weakClone(){const e=new r;return e.objectIdFieldName=this.objectIdFieldName,e.globalIdFieldName=this.globalIdFieldName,e.geohashFieldName=this.geohashFieldName,e.geometryProperties=this.geometryProperties,e.geometryType=this.geometryType,e.spatialReference=this.spatialReference,e.hasZ=this.hasZ,e.hasM=this.hasM,e.features=this.features,e.fields=this.fields,e.transform=this.transform,e.exceededTransferLimit=this.exceededTransferLimit,e.uniqueIdField=this.uniqueIdField,e.queryGeometry=this.queryGeometry,e.queryGeometryType=this.queryGeometryType,e}}},5428:(e,t,n)=>{n.d(t,{Z:()=>r});class r{constructor(e=[],t=[],n=!1){this.lengths=e??[],this.coords=t??[],this.hasIndeterminateRingOrder=n}static fromRect(e){const[t,n,o,s]=e,i=o-t,l=s-n;return new r([5],[t,n,i,0,0,l,-i,0,0,-l])}get isPoint(){return 0===this.lengths.length}get maxLength(){return Math.max(...this.lengths)}get size(){return this.lengths.reduce(((e,t)=>e+t))}forEachVertex(e){let t=0;this.lengths.length||e(this.coords[0],this.coords[1]);for(let n=0;n<this.lengths.length;n++){const r=this.lengths[n];for(let n=0;n<r;n++)e(this.coords[2*(n+t)],this.coords[2*(n+t)+1]);t+=r}}clone(e){return e?(e.set(this.coords),new r(this.lengths.slice(),e,this.hasIndeterminateRingOrder)):new r(this.lengths.slice(),this.coords.slice(),this.hasIndeterminateRingOrder)}}},98732:(e,t,n)=>{n.d(t,{$:()=>ne,$g:()=>re,EI:()=>D,GH:()=>X,IN:()=>F,Iv:()=>j,J6:()=>Y,Jd:()=>T,Nh:()=>W,RZ:()=>Q,Uy:()=>O,XA:()=>U,Yn:()=>V,cn:()=>H,dd:()=>E,di:()=>$,eG:()=>L,fQ:()=>M,hY:()=>oe,h_:()=>J,lM:()=>B,lz:()=>ie,zj:()=>K});var r=n(20102),o=n(92604),s=n(70586),i=n(60437),l=n(24470),u=n(33955),c=n(70272),a=n(44876),h=n(5428);function f(e,t){return e?t?4:3:t?3:2}const d=o.Z.getLogger("esri.layers.graphics.featureConversionUtils"),m={esriGeometryPoint:0,esriGeometryPolyline:2,esriGeometryPolygon:3,esriGeometryMultipoint:0,esriGeometryEnvelope:0},g=(e,t,n,r,o,s)=>{e[n]=o,e[n+1]=s},y=(e,t,n,r,o,s)=>{e[n]=o,e[n+1]=s,e[n+2]=t[r+2]},p=(e,t,n,r,o,s)=>{e[n]=o,e[n+1]=s,e[n+2]=t[r+3]},I=(e,t,n,r,o,s)=>{e[n]=o,e[n+1]=s,e[n+2]=t[r+2],e[n+3]=t[r+3]};function b(e,t,n,r){if(e){if(n)return t&&r?I:y;if(t&&r)return p}else if(t&&r)return y;return g}function T({scale:e,translate:t},n){return Math.round((n-t[0])/e[0])}function F({scale:e,translate:t},n){return Math.round((t[1]-n)/e[1])}function N({scale:e,translate:t},n,r){return n*e[r]+t[r]}function M(e,t,n){return e?t?n?v(e):G(e):n?P(e):w(e):null}function w(e){const t=e.coords;return{x:t[0],y:t[1]}}function Z(e,t){return e.coords[0]=t.x,e.coords[1]=t.y,e}function G(e){const t=e.coords;return{x:t[0],y:t[1],z:t[2]}}function x(e,t){return e.coords[0]=t.x,e.coords[1]=t.y,e.coords[2]=t.z,e}function P(e){const t=e.coords;return{x:t[0],y:t[1],m:t[2]}}function R(e,t){return e.coords[0]=t.x,e.coords[1]=t.y,e.coords[2]=t.m,e}function v(e){const t=e.coords;return{x:t[0],y:t[1],z:t[2],m:t[3]}}function _(e,t){return e.coords[0]=t.x,e.coords[1]=t.y,e.coords[2]=t.z,e.coords[3]=t.m,e}function k(e,t){return e&&t?_:e?x:t?R:Z}function E(e,t,n=k(null!=t.z,null!=t.m)){return n(e,t)}function j(e,t,n){if(null==e)return null;const r=f(t,n),o=[];for(let t=0;t<e.coords.length;t+=r){const n=[];for(let o=0;o<r;o++)n.push(e.coords[t+o]);o.push(n)}return t?n?{points:o,hasZ:t,hasM:n}:{points:o,hasZ:t}:n?{points:o,hasM:n}:{points:o}}function q(e,t,n=f(t.hasZ,t.hasM)){e.lengths[0]=t.points.length;const r=e.coords;let o=0;for(const e of t.points)for(let t=0;t<n;t++)r[o++]=e[t];return e}function Y(e,t,n){if(!e)return null;const r=f(t,n),{coords:o,lengths:s}=e,i=[];let l=0;for(const e of s){const t=[];for(let n=0;n<e;n++){const e=[];for(let t=0;t<r;t++)e.push(o[l++]);t.push(e)}i.push(t)}return t?n?{paths:i,hasZ:t,hasM:n}:{paths:i,hasZ:t}:n?{paths:i,hasM:n}:{paths:i}}function z(e,t,n=f(t.hasZ,t.hasM)){const{lengths:r,coords:o}=e;let s=0;for(const e of t.paths){for(const t of e)for(let e=0;e<n;e++)o[s++]=t[e];r.push(e.length)}return e}function L(e,t,n){if(!e)return null;const r=f(t,n),{coords:o,lengths:s}=e,i=[];let l=0;for(const e of s){const t=[];for(let n=0;n<e;n++){const e=[];for(let t=0;t<r;t++)e.push(o[l++]);t.push(e)}i.push(t)}return t?n?{rings:i,hasZ:t,hasM:n}:{rings:i,hasZ:t}:n?{rings:i,hasM:n}:{rings:i}}function O(e,t,n=t.hasZ,r=t.hasM){return function(e,t,n,r){const o=f(n,r),{lengths:s,coords:i}=e;let l=0;le(e);for(const e of t){for(const t of e)for(let e=0;e<o;e++)i[l++]=t[e];s.push(e.length)}return e}(e,t.rings,n,r)}const S=[],C=[];function U(e,t,n,r,o){S[0]=e;const[s]=V(C,S,t,n,r,o);return ue(S),ue(C),s}function V(e,t,n,o,s,i){if(ue(e),!n){for(const n of t){const t=i?n.attributes[i]:void 0;e.push(new c.u_(null,n.attributes,null,t))}return e}switch(n){case"esriGeometryPoint":return function(e,t,n,r,o){const s=k(n,r);for(const{geometry:n,attributes:r}of t){const t=null!=n?s(new h.Z,n):null;e.push(new c.u_(t,r,null,o?r[o]:void 0))}return e}(e,t,o,s,i);case"esriGeometryMultipoint":return function(e,t,n,r,o){const s=f(n,r);for(const{geometry:n,attributes:r}of t){const t=null!=n?q(new h.Z,n,s):null;e.push(new c.u_(t,r,null,o?r[o]:void 0))}return e}(e,t,o,s,i);case"esriGeometryPolyline":return function(e,t,n,r,o){const s=f(n,r);for(const{geometry:n,attributes:r}of t){const t=null!=n?z(new h.Z,n,s):null;e.push(new c.u_(t,r,null,o?r[o]:void 0))}return e}(e,t,o,s,i);case"esriGeometryPolygon":return function(e,t,n,r,o){for(const{geometry:s,centroid:i,attributes:l}of t){const t=null!=s?O(new h.Z,s,n,r):null,u=o?l[o]:void 0;null!=i?e.push(new c.u_(t,l,Z(new h.Z,i),u)):e.push(new c.u_(t,l,null,u))}return e}(e,t,o,s,i);default:d.error("convertToFeatureSet:unknown-geometry",new r.Z(`Unable to parse unknown geometry type '${n}'`)),ue(e)}return e}function D(e,t,n,r){C[0]=e,A(S,C,t,n,r);const o=S[0];return ue(S),ue(C),o}function X(e,t,n){if(null==e)return null;const o=new h.Z;return"hasZ"in e&&null==t&&(t=e.hasZ),"hasM"in e&&null==n&&(n=e.hasM),(0,u.wp)(e)?k(null!=t?t:null!=e.z,null!=n?n:null!=e.m)(o,e):(0,u.oU)(e)?O(o,e,t,n):(0,u.l9)(e)?z(o,e,f(t,n)):(0,u.aW)(e)?q(o,e,f(t,n)):void d.error("convertFromGeometry:unknown-geometry",new r.Z(`Unable to parse unknown geometry type '${e}'`))}function $(e,t,n,o){const s=e&&("coords"in e?e:e.geometry);if(null==s)return null;switch(t){case"esriGeometryPoint":{let e=w;return n&&o?e=v:n?e=G:o&&(e=P),e(s)}case"esriGeometryMultipoint":return j(s,n,o);case"esriGeometryPolyline":return Y(s,n,o);case"esriGeometryPolygon":return L(s,n,o);default:return d.error("convertToGeometry:unknown-geometry",new r.Z(`Unable to parse unknown geometry type '${t}'`)),null}}function A(e,t,n,o,s){if(ue(e),null==n)return function(e,t){for(const n of t)e.push({attributes:n.attributes});return e}(e,t);switch(n){case"esriGeometryPoint":return function(e,t,n,r){let o=w;n&&r?o=v:n?o=G:r&&(o=P);for(const n of t){const{geometry:t,attributes:r}=n,s=null!=t?o(t):null;e.push({attributes:r,geometry:s})}return e}(e,t,o,s);case"esriGeometryMultipoint":return function(e,t,n,r){for(const{geometry:o,attributes:s}of t)e.push({attributes:s,geometry:null!=o?j(o,n,r):null});return e}(e,t,o,s);case"esriGeometryPolyline":return function(e,t,n,r){for(const{geometry:o,attributes:s}of t)e.push({attributes:s,geometry:null!=o?Y(o,n,r):null});return e}(e,t,o,s);case"esriGeometryPolygon":return function(e,t,n,r){for(const{geometry:o,attributes:s,centroid:i}of t){const t=null!=o?L(o,n,r):null;if(null!=i){const n=w(i);e.push({attributes:s,centroid:n,geometry:t})}else e.push({attributes:s,geometry:t})}return e}(e,t,o,s);default:d.error("convertToFeatureSet:unknown-geometry",new r.Z(`Unable to parse unknown geometry type '${n}'`))}return e}function H(e){const{objectIdFieldName:t,spatialReference:n,transform:r,fields:o,hasM:s,hasZ:i,features:l,geometryType:u,exceededTransferLimit:c,uniqueIdField:a,queryGeometry:h,queryGeometryType:f}=e,d={features:A([],l,u,i,s),fields:o,geometryType:u,objectIdFieldName:t,spatialReference:n,uniqueIdField:a,queryGeometry:$(h,f,!1,!1)};return r&&(d.transform=r),c&&(d.exceededTransferLimit=c),s&&(d.hasM=s),i&&(d.hasZ=i),d}function J(e,t){const n=new a.Z,{hasM:o,hasZ:s,features:i,objectIdFieldName:l,spatialReference:u,geometryType:c,exceededTransferLimit:h,transform:f,fields:m}=e;return m&&(n.fields=m),n.geometryType=c??null,n.objectIdFieldName=l??t??null,n.spatialReference=u??null,n.objectIdFieldName?(i&&V(n.features,i,c,s,o,n.objectIdFieldName),h&&(n.exceededTransferLimit=h),o&&(n.hasM=o),s&&(n.hasZ=s),f&&(n.transform=f),n):(d.error(new r.Z("optimized-features:invalid-objectIdFieldName","objectIdFieldName is missing")),n)}function B(e){const{transform:t,features:n,hasM:r,hasZ:o}=e;if(!t)return e;for(const e of n)null!=e.geometry&&re(e.geometry,e.geometry,r,o,t),null!=e.centroid&&re(e.centroid,e.centroid,r,o,t);return e.transform=null,e}function Q(e,t){const{geometryType:n,features:r,hasM:o,hasZ:s}=t;if(!e)return t;for(let t=0;t<r.length;t++){const i=r[t],l=i.weakClone();l.geometry=new h.Z,W(l.geometry,i.geometry,o,s,n,e),i.centroid&&(l.centroid=new h.Z,W(l.centroid,i.centroid,o,s,"esriGeometryPoint",e)),r[t]=l}return t.transform=e,t}function W(e,t,n,r,o,s,i=n,l=r){if(le(e),!t?.coords.length)return null;const u=m[o],{coords:c,lengths:a}=t,h=f(n,r),d=f(n&&i,r&&l),g=b(n,r,i,l);if(!a.length)return g(e.coords,c,0,0,T(s,c[0]),F(s,c[1])),le(e,h,0),e;let y,p,I,N,M=0,w=0,Z=w;for(const t of a){if(t<u)continue;let n=0;w=Z,I=y=T(s,c[M]),N=p=F(s,c[M+1]),g(e.coords,c,w,M,I,N),n++,M+=h,w+=d;for(let r=1;r<t;r++,M+=h)I=T(s,c[M]),N=F(s,c[M+1]),I===y&&N===p||(g(e.coords,c,w,M,I-y,N-p),w+=d,n++,y=I,p=N);n>=u&&(e.lengths.push(n),Z=w)}return ue(e.coords,Z),e.coords.length?e:null}function K(e,t,n,r,o,s,i=n,l=r){if(le(e),!t?.coords.length)return null;const u=m[o],{coords:c,lengths:a}=t,h=f(n,r),d=f(n&&i,r&&l),g=b(n,r,i,l);if(!a.length)return g(e.coords,c,0,0,c[0],c[1]),le(e,h,0),e;let y=0;const p=s*s;for(const t of a){if(t<u){y+=t*h;continue}const n=e.coords.length/d,r=y,o=y+(t-1)*h;g(e.coords,c,e.coords.length,r,c[r],c[r+1]),te(e.coords,c,h,p,g,r,o),g(e.coords,c,e.coords.length,o,c[o],c[o+1]);const s=e.coords.length/d-n;s>=u?e.lengths.push(s):ue(e.coords,n*d),y+=t*h}return e.coords.length?e:null}function ee(e,t,n,r){const o=e[t],s=e[t+1],i=e[n],l=e[n+1],u=e[r],c=e[r+1];let a=i,h=l,f=u-a,d=c-h;if(0!==f||0!==d){const e=((o-a)*f+(s-h)*d)/(f*f+d*d);e>1?(a=u,h=c):e>0&&(a+=f*e,h+=d*e)}return f=o-a,d=s-h,f*f+d*d}function te(e,t,n,r,o,s,i){let l,u=r,c=0;for(let e=s+n;e<i;e+=n)l=ee(t,e,s,i),l>u&&(c=e,u=l);u>r&&(c-s>n&&te(e,t,n,r,o,s,c),o(e,t,e.length,c,t[c],t[c+1]),i-c>n&&te(e,t,n,r,o,c,i))}function ne(e,t,n,r){if(!t?.coords?.length)return null;const o=f(n,r);let s=Number.POSITIVE_INFINITY,u=Number.POSITIVE_INFINITY,c=Number.NEGATIVE_INFINITY,a=Number.NEGATIVE_INFINITY;if(t&&t.coords){const e=t.coords;for(let t=0;t<e.length;t+=o){const n=e[t],r=e[t+1];s=Math.min(s,n),c=Math.max(c,n),u=Math.min(u,r),a=Math.max(a,r)}}return(0,i.is)(e)?(0,i.bZ)(e,s,u,c,a):(0,l.al)(s,u,c,a,e),e}function re(e,t,n,r,o){const{coords:i,lengths:l}=t,u=f(n,r);if(!i.length)return e!==t&&le(e),e;(0,s.O3)(o);const{originPosition:c,scale:a,translate:h}=o,d=ce;d.originPosition=c;const m=d.scale;m[0]=a[0]??1,m[1]=-(a[1]??1),m[2]=a[2]??1,m[3]=a[3]??1;const g=d.translate;if(g[0]=h[0]??0,g[1]=h[1]??0,g[2]=h[2]??0,g[3]=h[3]??0,!l.length){for(let t=0;t<u;++t)e.coords[t]=N(d,i[t],t);return e!==t&&le(e,u,0),e}let y=0;for(let t=0;t<l.length;t++){const n=l[t];e.lengths[t]=n;for(let t=0;t<u;++t)e.coords[y+t]=N(d,i[y+t],t);let r=e.coords[y],o=e.coords[y+1];y+=u;for(let t=1;t<n;t++,y+=u){r+=i[y]*m[0],o+=i[y+1]*m[1],e.coords[y]=r,e.coords[y+1]=o;for(let t=2;t<u;++t)e.coords[y+t]=N(d,i[y+t],t)}}return e!==t&&le(e,i.length,l.length),e}function oe(e,t,n,r,o,s){if(le(e),e.lengths.push(...t.lengths),n===o&&r===s)for(let n=0;n<t.coords.length;n++)e.coords.push(t.coords[n]);else{const i=f(n,r),l=b(n,r,o,s),u=t.coords;for(let t=0;t<u.length;t+=i)l(e.coords,u,e.coords.length,t,u[t],u[t+1])}return e}function se(e,t,n,r){let o=0,s=e[r*t],i=e[r*(t+1)];for(let l=1;l<n;l++){const n=s+e[r*(t+l)],u=i+e[r*(t+l)+1],c=(n-s)*(u+i);s=n,i=u,o+=c}return.5*o}function ie(e,t){const{coords:n,lengths:r}=e;let o=0,s=0;for(let e=0;e<r.length;e++){const i=r[e];s+=se(n,o,i,t),o+=i}return Math.abs(s)}function le(e,t=0,n=0){ue(e.lengths,n),ue(e.coords,t)}function ue(e,t=0){e.length!==t&&(e.length=t)}const ce={originPosition:"lowerLeft",scale:[1,1,1,1],translate:[0,0,0,0]}},86719:(e,t,n)=>{n.d(t,{v:()=>r});const r=new(n(35454).X)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1537],{92835:(e,t,r)=>{r.d(t,{Z:()=>m});var o,n=r(43697),i=r(96674),s=r(35463),a=r(5600),l=(r(75215),r(67676),r(80442),r(71715)),u=r(52011),p=r(30556),c=r(25031);let d=o=class extends i.wq{static get allTime(){return h}static get empty(){return y}constructor(e){super(e),this.end=null,this.start=null}readEnd(e,t){return null!=t.end?new Date(t.end):null}writeEnd(e,t){t.end=e?.getTime()??null}get isAllTime(){return this.equals(o.allTime)}get isEmpty(){return this.equals(o.empty)}readStart(e,t){return null!=t.start?new Date(t.start):null}writeStart(e,t){t.start=e?.getTime()??null}clone(){return new o({end:this.end,start:this.start})}equals(e){if(!e)return!1;const t=this.start?.getTime()??this.start,r=this.end?.getTime()??this.end,o=e.start?.getTime()??e.start,n=e.end?.getTime()??e.end;return t===o&&r===n}expandTo(e,t=c.By){if(this.isEmpty||this.isAllTime)return this.clone();let r=this.start;r&&(r=(0,s.JE)(r,e,t));let n=this.end;if(n){const r=(0,s.JE)(n,e,t);n=n.getTime()===r.getTime()?r:(0,s.Nm)(r,1,e,t)}return new o({start:r,end:n})}intersection(e){if(!e)return this.clone();if(this.isEmpty||e.isEmpty)return o.empty;if(this.isAllTime)return e.clone();if(e.isAllTime)return this.clone();const t=this.start?.getTime()??-1/0,r=this.end?.getTime()??1/0,n=e.start?.getTime()??-1/0,i=e.end?.getTime()??1/0;let s,a;if(n>=t&&n<=r?s=n:t>=n&&t<=i&&(s=t),r>=n&&r<=i?a=r:i>=t&&i<=r&&(a=i),null!=s&&null!=a&&!isNaN(s)&&!isNaN(a)){const e=new o;return e.start=s===-1/0?null:new Date(s),e.end=a===1/0?null:new Date(a),e}return o.empty}offset(e,t,r=c.By){if(this.isEmpty||this.isAllTime)return this.clone();const n=new o,{start:i,end:a}=this;return null!=i&&(n.start=(0,s.Nm)(i,e,t,r)),null!=a&&(n.end=(0,s.Nm)(a,e,t,r)),n}union(e){if(!e||e.isEmpty)return this.clone();if(this.isEmpty)return e.clone();if(this.isAllTime||e.isAllTime)return h.clone();const t=null!=this.start&&null!=e.start?new Date(Math.min(this.start.getTime(),e.start.getTime())):null,r=null!=this.end&&null!=e.end?new Date(Math.max(this.end.getTime(),e.end.getTime())):null;return new o({start:t,end:r})}};(0,n._)([(0,a.Cb)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"end",void 0),(0,n._)([(0,l.r)("end")],d.prototype,"readEnd",null),(0,n._)([(0,p.c)("end")],d.prototype,"writeEnd",null),(0,n._)([(0,a.Cb)({readOnly:!0,json:{read:!1}})],d.prototype,"isAllTime",null),(0,n._)([(0,a.Cb)({readOnly:!0,json:{read:!1}})],d.prototype,"isEmpty",null),(0,n._)([(0,a.Cb)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"start",void 0),(0,n._)([(0,l.r)("start")],d.prototype,"readStart",null),(0,n._)([(0,p.c)("start")],d.prototype,"writeStart",null),d=o=(0,n._)([(0,u.j)("esri.TimeExtent")],d);const h=new d,y=new d({start:void 0,end:void 0}),m=d},10699:(e,t,r)=>{r.d(t,{IG:()=>s,iv:()=>a});var o=r(43697),n=r(52011);let i=0;const s=e=>{let t=class extends e{constructor(...e){super(...e),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+i++})}};return t=(0,o._)([(0,n.j)("esri.core.Identifiable")],t),t},a=e=>{let t=class extends e{constructor(...e){super(...e),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:i++})}};return t=(0,o._)([(0,n.j)("esri.core.NumericIdentifiable")],t),t};let l=class extends(s(class{})){};l=(0,o._)([(0,n.j)("esri.core.Identifiable")],l)},44543:(e,t,r)=>{r.d(t,{F:()=>m,M:()=>o});const o={Base64:0,Hex:1,String:2,Raw:3},n=8,i=(1<<n)-1;function s(e,t){const r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function a(e){const t=[];for(let r=0,o=e.length*n;r<o;r+=n)t[r>>5]|=(e.charCodeAt(r/n)&i)<<r%32;return t}function l(e){const t=[];for(let r=0,o=32*e.length;r<o;r+=n)t.push(String.fromCharCode(e[r>>5]>>>r%32&i));return t.join("")}function u(e,t,r,o,n,i){return s(function(e,t){return e<<t|e>>>32-t}(s(s(t,e),s(o,i)),n),r)}function p(e,t,r,o,n,i,s){return u(t&r|~t&o,e,t,n,i,s)}function c(e,t,r,o,n,i,s){return u(t&o|r&~o,e,t,n,i,s)}function d(e,t,r,o,n,i,s){return u(t^r^o,e,t,n,i,s)}function h(e,t,r,o,n,i,s){return u(r^(t|~o),e,t,n,i,s)}function y(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;let r=1732584193,o=-271733879,n=-1732584194,i=271733878;for(let t=0;t<e.length;t+=16){const a=r,l=o,u=n,y=i;r=p(r,o,n,i,e[t],7,-680876936),i=p(i,r,o,n,e[t+1],12,-389564586),n=p(n,i,r,o,e[t+2],17,606105819),o=p(o,n,i,r,e[t+3],22,-1044525330),r=p(r,o,n,i,e[t+4],7,-176418897),i=p(i,r,o,n,e[t+5],12,1200080426),n=p(n,i,r,o,e[t+6],17,-1473231341),o=p(o,n,i,r,e[t+7],22,-45705983),r=p(r,o,n,i,e[t+8],7,1770035416),i=p(i,r,o,n,e[t+9],12,-1958414417),n=p(n,i,r,o,e[t+10],17,-42063),o=p(o,n,i,r,e[t+11],22,-1990404162),r=p(r,o,n,i,e[t+12],7,1804603682),i=p(i,r,o,n,e[t+13],12,-40341101),n=p(n,i,r,o,e[t+14],17,-1502002290),o=p(o,n,i,r,e[t+15],22,1236535329),r=c(r,o,n,i,e[t+1],5,-165796510),i=c(i,r,o,n,e[t+6],9,-1069501632),n=c(n,i,r,o,e[t+11],14,643717713),o=c(o,n,i,r,e[t],20,-373897302),r=c(r,o,n,i,e[t+5],5,-701558691),i=c(i,r,o,n,e[t+10],9,38016083),n=c(n,i,r,o,e[t+15],14,-660478335),o=c(o,n,i,r,e[t+4],20,-405537848),r=c(r,o,n,i,e[t+9],5,568446438),i=c(i,r,o,n,e[t+14],9,-1019803690),n=c(n,i,r,o,e[t+3],14,-187363961),o=c(o,n,i,r,e[t+8],20,1163531501),r=c(r,o,n,i,e[t+13],5,-1444681467),i=c(i,r,o,n,e[t+2],9,-51403784),n=c(n,i,r,o,e[t+7],14,1735328473),o=c(o,n,i,r,e[t+12],20,-1926607734),r=d(r,o,n,i,e[t+5],4,-378558),i=d(i,r,o,n,e[t+8],11,-2022574463),n=d(n,i,r,o,e[t+11],16,1839030562),o=d(o,n,i,r,e[t+14],23,-35309556),r=d(r,o,n,i,e[t+1],4,-1530992060),i=d(i,r,o,n,e[t+4],11,1272893353),n=d(n,i,r,o,e[t+7],16,-155497632),o=d(o,n,i,r,e[t+10],23,-1094730640),r=d(r,o,n,i,e[t+13],4,681279174),i=d(i,r,o,n,e[t],11,-358537222),n=d(n,i,r,o,e[t+3],16,-722521979),o=d(o,n,i,r,e[t+6],23,76029189),r=d(r,o,n,i,e[t+9],4,-640364487),i=d(i,r,o,n,e[t+12],11,-421815835),n=d(n,i,r,o,e[t+15],16,530742520),o=d(o,n,i,r,e[t+2],23,-995338651),r=h(r,o,n,i,e[t],6,-198630844),i=h(i,r,o,n,e[t+7],10,1126891415),n=h(n,i,r,o,e[t+14],15,-1416354905),o=h(o,n,i,r,e[t+5],21,-57434055),r=h(r,o,n,i,e[t+12],6,1700485571),i=h(i,r,o,n,e[t+3],10,-1894986606),n=h(n,i,r,o,e[t+10],15,-1051523),o=h(o,n,i,r,e[t+1],21,-2054922799),r=h(r,o,n,i,e[t+8],6,1873313359),i=h(i,r,o,n,e[t+15],10,-30611744),n=h(n,i,r,o,e[t+6],15,-1560198380),o=h(o,n,i,r,e[t+13],21,1309151649),r=h(r,o,n,i,e[t+4],6,-145523070),i=h(i,r,o,n,e[t+11],10,-1120210379),n=h(n,i,r,o,e[t+2],15,718787259),o=h(o,n,i,r,e[t+9],21,-343485551),r=s(r,a),o=s(o,l),n=s(n,u),i=s(i,y)}return[r,o,n,i]}function m(e,t=o.Hex){const r=t||o.Base64,i=y(a(e),e.length*n);switch(r){case o.Raw:return i;case o.Hex:return function(e){const t="0123456789abcdef",r=[];for(let o=0,n=4*e.length;o<n;o++)r.push(t.charAt(e[o>>2]>>o%4*8+4&15)+t.charAt(e[o>>2]>>o%4*8&15));return r.join("")}(i);case o.String:return l(i);case o.Base64:return function(e){const t=[];for(let r=0,o=4*e.length;r<o;r+=3){const o=(e[r>>2]>>r%4*8&255)<<16|(e[r+1>>2]>>(r+1)%4*8&255)<<8|e[r+2>>2]>>(r+2)%4*8&255;for(let n=0;n<4;n++)8*r+6*n>32*e.length?t.push("="):t.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(o>>6*(3-n)&63))}return t.join("")}(i)}}},28576:(e,t,r)=>{r.d(t,{B:()=>h});var o=r(20102),n=r(44543),i=r(81153),s=r(17452),a=r(41123),l=r(7628),u=r(31263),p=r(5600),c=r(66094),d=r(25929);function h(e){const t=e?.origins??[void 0];return(r,o)=>{const n=function(e,t,r){if("resource"===e?.type)return function(e,t,r){const o=(0,l.Oe)(t,r);return{type:String,read:(e,t,r)=>{const n=(0,d.r)(e,t,r);return o.type===String?n:"function"==typeof o.type?new o.type({url:n}):void 0},write:{writer(t,n,a,l){if(!l?.resources)return"string"==typeof t?void(n[a]=(0,d.t)(t,l)):void(n[a]=t.write({},l));const p=function(e){return null==e?null:"string"==typeof e?e:e.url}(t),h=(0,d.t)(p,{...l,verifyItemRelativeUrls:l?.verifyItemRelativeUrls?{writtenUrls:l.verifyItemRelativeUrls.writtenUrls,rootPath:void 0}:void 0},d.M.NO),f=o.type!==String&&(!(0,i.l)(this)||l?.origin&&this.originIdOf(r)>(0,u.M9)(l.origin)),v={object:this,propertyName:r,value:t,targetUrl:h,dest:n,targetPropertyName:a,context:l,params:e};l?.portalItem&&h&&!(0,s.YP)(h)?f&&e?.contentAddressed?y(v):f?function(e){const{context:t,targetUrl:r,params:o,value:n,dest:i,targetPropertyName:a}=e;if(!t.portalItem)return;const l=t.portalItem.resourceFromPath(r),u=g(n,r,t),p=(0,c.B)(u),d=(0,s.Ml)(l.path),h=o?.compress??!1;p===d?(t.resources&&m({...e,resource:l,content:u,compress:h,updates:t.resources.toUpdate}),i[a]=r):y(e)}(v):function({context:e,targetUrl:t,dest:r,targetPropertyName:o}){e.portalItem&&e.resources&&(e.resources.toKeep.push({resource:e.portalItem.resourceFromPath(t),compress:!1}),r[o]=t)}(v):l?.portalItem&&(null==h||null!=(0,d.i)(h)||(0,s.jc)(h)||f)?y(v):n[a]=h}}}}(e,t,r);switch(e?.type??"other"){case"other":return{read:!0,write:!0};case"url":{const{read:e,write:t}=d.a;return{read:e,write:t}}}}(e,r,o);for(const e of t){const t=(0,p.CJ)(r,e,o);for(const e in n)t[e]=n[e]}}}function y(e){const{targetUrl:t,params:r,value:i,context:l,dest:u,targetPropertyName:p}=e;if(!l.portalItem)return;const h=(0,d.p)(t),y=g(i,t,l);if(r?.contentAddressed&&"json"!==y.type)return void l.messages?.push(new o.Z("persistable:contentAddressingUnsupported",`Property "${p}" is trying to serializing a resource with content of type ${y.type} with content addressing. Content addressing is only supported for json resources.`,{content:y}));const f=r?.contentAddressed&&"json"===y.type?(0,n.F)(y.jsonString):h?.filename??(0,a.D)(),v=(0,s.v_)(r?.prefix??h?.prefix,f),b=`${v}.${(0,c.B)(y)}`;if(r?.contentAddressed&&l.resources&&"json"===y.type){const e=l.resources.toKeep.find((e=>e.resource.path===b))??l.resources.toAdd.find((e=>e.resource.path===b));if(e)return void(u[p]=e.resource.itemRelativeUrl)}const w=l.portalItem.resourceFromPath(b);(0,s.jc)(t)&&l.resources&&l.resources.pendingOperations.push((0,s.gi)(t).then((e=>{w.path=`${v}.${(0,c.B)({type:"blob",blob:e})}`,u[p]=w.itemRelativeUrl})).catch((()=>{})));const _=r?.compress??!1;l.resources&&m({...e,resource:w,content:y,compress:_,updates:l.resources.toAdd}),u[p]=w.itemRelativeUrl}function m({object:e,propertyName:t,updates:r,resource:o,content:n,compress:i}){r.push({resource:o,content:n,compress:i,finish:r=>{!function(e,t,r){"string"==typeof e[t]?e[t]=r.url:e[t].url=r.url}(e,t,r)}})}function g(e,t,r){return"string"==typeof e?{type:"url",url:t}:{type:"json",jsonString:JSON.stringify(e.toJSON(r))}}},17445:(e,t,r)=>{r.d(t,{N1:()=>d,YP:()=>l,Z_:()=>m,gx:()=>u,nn:()=>g,on:()=>c,tX:()=>f}),r(66643),r(46791);var o=r(91460),n=r(50758),i=r(70586),s=r(95330),a=r(26258);function l(e,t,r={}){return p(e,t,r,h)}function u(e,t,r={}){return p(e,t,r,y)}function p(e,t,r={},o){let n=null;const s=r.once?(e,r)=>{o(e)&&((0,i.hw)(n),t(e,r))}:(e,r)=>{o(e)&&t(e,r)};if(n=(0,a.aQ)(e,s,r.sync,r.equals),r.initial){const t=e();s(t,t)}return n}function c(e,t,r,s={}){let a=null,u=null,p=null;function c(){a&&u&&(u.remove(),s.onListenerRemove?.(a),a=null,u=null)}function d(e){s.once&&s.once&&(0,i.hw)(p),r(e)}const h=l(e,((e,r)=>{c(),(0,o.vT)(e)&&(a=e,u=(0,o.on)(e,t,d),s.onListenerAdd?.(e))}),{sync:s.sync,initial:!0});return p=(0,n.kB)((()=>{h.remove(),c()})),p}function d(e,t){return function(e,t,r){if((0,s.Hc)(r))return Promise.reject((0,s.zE)());const o=e();if(t?.(o))return Promise.resolve(o);let a=null;function l(){a=(0,i.hw)(a)}return new Promise(((o,i)=>{a=(0,n.AL)([(0,s.fu)(r,(()=>{l(),i((0,s.zE)())})),p(e,(e=>{l(),o(e)}),{sync:!1,once:!0},t??h)])}))}(e,y,t)}function h(e){return!0}function y(e){return!!e}r(87538);const m={sync:!0},g={initial:!0},f={sync:!0,initial:!0}},35463:(e,t,r)=>{r.d(t,{JE:()=>l,Nm:()=>a,rJ:()=>u});var o=r(90344),n=r(25031),i=r(17126);const s={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8};function a(e,t,r,s=n.By){const a=new i.vF((0,o.f1)(s)),l=i.ou.fromJSDate(e,{zone:a}),u="decades"===r||"centuries"===r?"year":p(r);return"decades"===r&&(t*=10),"centuries"===r&&(t*=100),l.plus({[u]:t}).toJSDate()}function l(e,t,r=n.By){const s=new i.vF((0,o.f1)(r)),a=i.ou.fromJSDate(e,{zone:s});if("decades"===t||"centuries"===t){const e=a.startOf("year"),{year:r}=e,o=r-r%("decades"===t?10:100);return e.set({year:o}).toJSDate()}const l=p(t);return a.startOf(l).toJSDate()}function u(e,t,r){return 0===e?0:e*s[t]/s[r]}function p(e){switch(e){case"milliseconds":return"millisecond";case"seconds":return"second";case"minutes":return"minute";case"hours":return"hour";case"days":return"day";case"weeks":return"week";case"months":return"month";case"years":return"year"}}},41123:(e,t,r)=>{r.d(t,{D:()=>n,z:()=>i});const o="randomUUID"in crypto;function n(){if(o)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function i(){return`{${n()}}`}},79235:(e,t,r)=>{r.d(t,{Z:()=>b});var o,n=r(43697),i=r(67676),s=r(35454),a=r(96674),l=r(67900),u=r(20941),p=r(5600),c=(r(75215),r(80442),r(71715)),d=r(52011),h=r(30556);const y=(0,s.w)()({orthometric:"gravity-related-height",gravity_related_height:"gravity-related-height",ellipsoidal:"ellipsoidal"}),m=y.jsonValues.slice();(0,i.e$)(m,"orthometric");const g=(0,s.w)()({meter:"meters",foot:"feet","us-foot":"us-feet","clarke-foot":"clarke-feet","clarke-yard":"clarke-yards","clarke-link":"clarke-links","sears-yard":"sears-yards","sears-foot":"sears-feet","sears-chain":"sears-chains","benoit-1895-b-chain":"benoit-1895-b-chains","indian-yard":"indian-yards","indian-1937-yard":"indian-1937-yards","gold-coast-foot":"gold-coast-feet","sears-1922-truncated-chain":"sears-1922-truncated-chains","50-kilometers":"50-kilometers","150-kilometers":"150-kilometers"});let f=o=class extends a.wq{constructor(e){super(e),this.heightModel="gravity-related-height",this.heightUnit="meters",this.vertCRS=null}writeHeightModel(e,t,r){return y.write(e,t,r)}readHeightModel(e,t,r){return y.read(e)||(r?.messages&&r.messages.push(function(e,t){return new u.Z("height-model:unsupported",`Height model of value '${e}' is not supported`,t)}(e,{context:r})),null)}readHeightUnit(e,t,r){return g.read(e)||(r?.messages&&r.messages.push(v(e,{context:r})),null)}readHeightUnitService(e,t,r){return(0,l.$C)(e)||g.read(e)||(r?.messages&&r.messages.push(v(e,{context:r})),null)}readVertCRS(e,t){return t.vertCRS||t.ellipsoid||t.geoid}clone(){return new o({heightModel:this.heightModel,heightUnit:this.heightUnit,vertCRS:this.vertCRS})}equals(e){return!!e&&(this===e||this.heightModel===e.heightModel&&this.heightUnit===e.heightUnit&&this.vertCRS===e.vertCRS)}static deriveUnitFromSR(e,t){const r=(0,l.cM)(t);return new o({heightModel:e.heightModel,heightUnit:r,vertCRS:e.vertCRS})}write(e,t){return t={origin:"web-scene",...t},super.write(e,t)}static fromJSON(e){if(!e)return null;const t=new o;return t.read(e,{origin:"web-scene"}),t}};function v(e,t){return new u.Z("height-unit:unsupported",`Height unit of value '${e}' is not supported`,t)}(0,n._)([(0,p.Cb)({type:y.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:m,default:"ellipsoidal"}}}})],f.prototype,"heightModel",void 0),(0,n._)([(0,h.c)("web-scene","heightModel")],f.prototype,"writeHeightModel",null),(0,n._)([(0,c.r)(["web-scene","service"],"heightModel")],f.prototype,"readHeightModel",null),(0,n._)([(0,p.Cb)({type:g.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:g.jsonValues,write:g.write}}}})],f.prototype,"heightUnit",void 0),(0,n._)([(0,c.r)("web-scene","heightUnit")],f.prototype,"readHeightUnit",null),(0,n._)([(0,c.r)("service","heightUnit")],f.prototype,"readHeightUnitService",null),(0,n._)([(0,p.Cb)({type:String,constructOnly:!0,json:{origins:{"web-scene":{write:!0}}}})],f.prototype,"vertCRS",void 0),(0,n._)([(0,c.r)("service","vertCRS",["vertCRS","ellipsoid","geoid"])],f.prototype,"readVertCRS",null),f=o=(0,n._)([(0,d.j)("esri.geometry.HeightModelInfo")],f);const b=f},90344:(e,t,r)=>{r.d(t,{Xr:()=>y,Ze:()=>v,f1:()=>w,p6:()=>b});var o=r(35454),n=r(70171),i=r(25031);r(17126);const s=Intl.DateTimeFormat().resolvedOptions().timeZone,a=(i.pt,{year:"numeric",month:"numeric",day:"numeric"}),l={year:"numeric",month:"long",day:"numeric"},u={year:"numeric",month:"short",day:"numeric"},p={year:"numeric",month:"long",weekday:"long",day:"numeric"},c={hour:"numeric",minute:"numeric"},d={...c,second:"numeric"},h={"short-date":a,"short-date-short-time":{...a,...c},"short-date-short-time-24":{...a,...c,hour12:!1},"short-date-long-time":{...a,...d},"short-date-long-time-24":{...a,...d,hour12:!1},"short-date-le":a,"short-date-le-short-time":{...a,...c},"short-date-le-short-time-24":{...a,...c,hour12:!1},"short-date-le-long-time":{...a,...d},"short-date-le-long-time-24":{...a,...d,hour12:!1},"long-month-day-year":l,"long-month-day-year-short-time":{...l,...c},"long-month-day-year-short-time-24":{...l,...c,hour12:!1},"long-month-day-year-long-time":{...l,...d},"long-month-day-year-long-time-24":{...l,...d,hour12:!1},"day-short-month-year":u,"day-short-month-year-short-time":{...u,...c},"day-short-month-year-short-time-24":{...u,...c,hour12:!1},"day-short-month-year-long-time":{...u,...d},"day-short-month-year-long-time-24":{...u,...d,hour12:!1},"long-date":p,"long-date-short-time":{...p,...c},"long-date-short-time-24":{...p,...c,hour12:!1},"long-date-long-time":{...p,...d},"long-date-long-time-24":{...p,...d,hour12:!1},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":c,"long-time":d},y=(0,o.w)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),m={ar:"ar-u-nu-latn-ca-gregory"};let g=new WeakMap;const f=h["short-date-short-time"];function v(e){return h[e]}function b(e,t=f){return function(e){let t=g.get(e);if(!t){const r=(0,n.Kd)(),o=m[r]||r,s=w(e.timeZone??i.By),a={...e,timeZone:s};t=new Intl.DateTimeFormat(o,a),g.set(e,t)}return t}(t).format(e)}function w(e){switch(e){case i.By:return s;case i._4:return i.pt;default:return e}}(0,n.Ze)((()=>{g=new WeakMap}))},9310:(e,t,r)=>{r.r(t),r.d(t,{default:()=>F});var o,n=r(43697),i=r(20102),s=r(92604),a=r(16453),l=r(95330),u=r(17445),p=r(5600),c=(r(75215),r(67676),r(80442),r(71715)),d=r(52011),h=r(28576),y=r(87085),m=r(54295),g=r(17287),f=r(38009),v=r(16859),b=r(72965),w=r(37253),_=r(21506),S=r(51161),C=r(3172),I=r(46791),x=r(96674),T=r(17452),U=(r(66577),r(22974)),j=r(20941),M=r(30556),D=r(73615),P=r(38913);let R=o=class extends x.wq{constructor(e){super(e),this.geometry=null,this.type="clip"}writeGeometry(e,t,r,o){if(o.layer?.spatialReference&&!o.layer.spatialReference.equals(this.geometry.spatialReference)){if(!(0,D.canProjectWithoutEngine)(e.spatialReference,o.layer.spatialReference))return void(o?.messages&&o.messages.push(new j.Z("scenemodification:unsupported","Scene modifications with incompatible spatial references are not supported",{modification:this,spatialReference:o.layer.spatialReference,context:o})));const n=new P.Z;(0,D.projectPolygon)(e,n,o.layer.spatialReference),t[r]=n.toJSON(o)}else t[r]=e.toJSON(o);delete t[r].spatialReference}clone(){return new o({geometry:(0,U.d9)(this.geometry),type:this.type})}};(0,n._)([(0,p.Cb)({type:P.Z}),(0,h.B)()],R.prototype,"geometry",void 0),(0,n._)([(0,M.c)(["web-scene","portal-item"],"geometry")],R.prototype,"writeGeometry",null),(0,n._)([(0,p.Cb)({type:["clip","mask","replace"],nonNullable:!0}),(0,h.B)()],R.prototype,"type",void 0),R=o=(0,n._)([(0,d.j)("esri.layers.support.SceneModification")],R);const E=R;var N;let L=N=class extends((0,x.eC)(I.Z.ofType(E))){constructor(e){super(e),this.url=null}clone(){return new N({url:this.url,items:this.items.map((e=>e.clone()))})}toJSON(e){return this.toArray().map((t=>t.toJSON(e))).filter((e=>!!e.geometry))}static fromJSON(e,t){const r=new N;for(const o of e)r.add(E.fromJSON(o,t));return r}static async fromUrl(e,t,r){const o={url:(0,T.mN)(e),origin:"service"},n=await(0,C.Z)(e,{responseType:"json",signal:r?.signal}),i=t.toJSON(),s=[];for(const e of n.data)s.push(E.fromJSON({...e,geometry:{...e.geometry,spatialReference:i}},o));return new N({url:e,items:s})}};(0,n._)([(0,p.Cb)({type:String})],L.prototype,"url",void 0),L=N=(0,n._)([(0,d.j)("esri.layers.support.SceneModifications")],L);const O=L;var Z=r(36405),k=r(25929);let A=class extends((0,w.Vt)((0,g.Y)((0,f.q)((0,v.I)((0,b.M)((0,a.R)((0,m.V)(y.Z)))))))){constructor(...e){super(...e),this.geometryType="mesh",this.operationalLayerType="IntegratedMeshLayer",this.type="integrated-mesh",this.nodePages=null,this.materialDefinitions=null,this.textureSetDefinitions=null,this.geometryDefinitions=null,this.serviceUpdateTimeStamp=null,this.profile="mesh-pyramids",this.modifications=null,this._modificationsSource=null,this.path=null}initialize(){this.addHandles((0,u.on)((()=>this.modifications),"after-changes",(()=>this.modifications=this.modifications),u.Z_))}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}readModifications(e,t,r){this._modificationsSource={url:(0,k.f)(e,r),context:r}}set elevationInfo(e){this._set("elevationInfo",e),this._validateElevationInfo()}async load(e){return this.addResolvingPromise(this._doLoad(e)),this}async _doLoad(e){const t=e?.signal;try{await this.loadFromPortal({supportedTypes:["Scene Service"]},e)}catch(e){(0,l.r9)(e)}if(await this._fetchService(t),null!=this._modificationsSource){const t=await O.fromUrl(this._modificationsSource.url,this.spatialReference,e);this.setAtOrigin("modifications",t,this._modificationsSource.context.origin),this._modificationsSource=null}await this._fetchIndexAndUpdateExtent(this.nodePages,t)}beforeSave(){if(null!=this._modificationsSource)return this.load().then((()=>{}),(()=>{}))}async saveAs(e,t){return this._debouncedSaveOperations(w.xp.SAVE_AS,{...t,getTypeKeywords:()=>this._getTypeKeywords(),portalItemLayerType:"integrated-mesh"},e)}async save(){const e={getTypeKeywords:()=>this._getTypeKeywords(),portalItemLayerType:"integrated-mesh"};return this._debouncedSaveOperations(w.xp.SAVE,e)}validateLayer(e){if(e.layerType&&"IntegratedMesh"!==e.layerType)throw new i.Z("integrated-mesh-layer:layer-type-not-supported","IntegratedMeshLayer does not support this layer type",{layerType:e.layerType});if(isNaN(this.version.major)||isNaN(this.version.minor))throw new i.Z("layer:service-version-not-supported","Service version is not supported.",{serviceVersion:this.version.versionString,supportedVersions:"1.x"});if(this.version.major>1)throw new i.Z("layer:service-version-too-new","Service version is too new.",{serviceVersion:this.version.versionString,supportedVersions:"1.x"})}_getTypeKeywords(){return["IntegratedMeshLayer"]}_validateElevationInfo(){const e=this.elevationInfo,t="Integrated mesh layers";(0,Z.LR)(s.Z.getLogger(this),(0,Z.Uy)(t,"absolute-height",e)),(0,Z.LR)(s.Z.getLogger(this),(0,Z.kf)(t,e))}};(0,n._)([(0,p.Cb)({type:String,readOnly:!0})],A.prototype,"geometryType",void 0),(0,n._)([(0,p.Cb)({type:["show","hide"]})],A.prototype,"listMode",void 0),(0,n._)([(0,p.Cb)({type:["IntegratedMeshLayer"]})],A.prototype,"operationalLayerType",void 0),(0,n._)([(0,p.Cb)({json:{read:!1},readOnly:!0})],A.prototype,"type",void 0),(0,n._)([(0,p.Cb)({type:S.U4,readOnly:!0})],A.prototype,"nodePages",void 0),(0,n._)([(0,p.Cb)({type:[S.QI],readOnly:!0})],A.prototype,"materialDefinitions",void 0),(0,n._)([(0,p.Cb)({type:[S.Yh],readOnly:!0})],A.prototype,"textureSetDefinitions",void 0),(0,n._)([(0,p.Cb)({type:[S.H3],readOnly:!0})],A.prototype,"geometryDefinitions",void 0),(0,n._)([(0,p.Cb)({readOnly:!0})],A.prototype,"serviceUpdateTimeStamp",void 0),(0,n._)([(0,p.Cb)({type:O}),(0,h.B)({origins:["web-scene","portal-item"],type:"resource",prefix:"modifications"})],A.prototype,"modifications",void 0),(0,n._)([(0,c.r)(["web-scene","portal-item"],"modifications")],A.prototype,"readModifications",null),(0,n._)([(0,p.Cb)(_.PV)],A.prototype,"elevationInfo",null),(0,n._)([(0,p.Cb)({type:String,json:{origins:{"web-scene":{read:!0,write:!0},"portal-item":{read:!0,write:!0}},read:!1}})],A.prototype,"path",void 0),A=(0,n._)([(0,d.j)("esri.layers.IntegratedMeshLayer")],A);const F=A},87085:(e,t,r)=>{r.d(t,{Z:()=>b});var o=r(43697),n=(r(66577),r(3172)),i=r(20102),s=r(32448),a=r(10699),l=r(83379),u=r(92604),p=r(95330),c=r(17452),d=r(5600),h=(r(75215),r(67676),r(80442),r(52011)),y=r(68773),m=r(6570),g=r(82971);let f=0,v=class extends(s.Z.EventedMixin((0,a.IG)(l.Z))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new m.Z(-180,-90,180,90,g.Z.WGS84),this.id=Date.now().toString(16)+"-layer-"+f++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.persistenceEnabled=!1,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=g.Z.WGS84,this.title=null,this.type=null,this.url=null,this.visible=!0}static async fromArcGISServerUrl(e){const t="string"==typeof e?{url:e}:e;return(await r.e(3529).then(r.bind(r,63529))).fromUrl(t)}static fromPortalItem(e){return async function(e){const t="portalItem"in e?e:{portalItem:e},{fromItem:o}=await r.e(8008).then(r.bind(r,28008));try{return await o(t)}catch(e){const r=t&&t.portalItem,o=r?.id||"unset",n=r&&r.portal&&r.portal.url||y.default.portalUrl;throw u.Z.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+n+"', id: '"+o+"')",e),e}}(e)}initialize(){this.when().catch((e=>{(0,p.D_)(e)||u.Z.getLogger(this).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:e})}))}destroy(){const e=this.parent;if(e){const t=this;"layers"in e&&e.layers.includes(t)?e.layers.remove(t):"tables"in e&&e.tables.includes(t)?e.tables.remove(t):"baseLayers"in e&&e.baseLayers.includes(t)?e.baseLayers.remove(t):"referenceLayers"in e&&e.referenceLayers.includes(t)&&e.referenceLayers.remove(t),this._set("parent",null)}}get hasAttributionData(){return null!=this.attributionDataUrl}get parsedUrl(){return(0,c.mN)(this.url)}async fetchAttributionData(){const e=this.attributionDataUrl;if(this.hasAttributionData&&e)return(await(0,n.Z)(e,{query:{f:"json"},responseType:"json"})).data;throw new i.Z("layer:no-attribution-data","Layer does not have attribution data")}};(0,o._)([(0,d.Cb)({type:String})],v.prototype,"attributionDataUrl",void 0),(0,o._)([(0,d.Cb)({type:m.Z})],v.prototype,"fullExtent",void 0),(0,o._)([(0,d.Cb)({readOnly:!0})],v.prototype,"hasAttributionData",null),(0,o._)([(0,d.Cb)({type:String,clonable:!1})],v.prototype,"id",void 0),(0,o._)([(0,d.Cb)({type:Boolean,nonNullable:!0})],v.prototype,"legendEnabled",void 0),(0,o._)([(0,d.Cb)({type:["show","hide","hide-children"]})],v.prototype,"listMode",void 0),(0,o._)([(0,d.Cb)({type:Number,range:{min:0,max:1},nonNullable:!0})],v.prototype,"opacity",void 0),(0,o._)([(0,d.Cb)({clonable:!1})],v.prototype,"parent",void 0),(0,o._)([(0,d.Cb)({readOnly:!0})],v.prototype,"parsedUrl",null),(0,o._)([(0,d.Cb)({type:Boolean,readOnly:!0})],v.prototype,"persistenceEnabled",void 0),(0,o._)([(0,d.Cb)({type:Boolean})],v.prototype,"popupEnabled",void 0),(0,o._)([(0,d.Cb)({type:Boolean})],v.prototype,"attributionVisible",void 0),(0,o._)([(0,d.Cb)({type:g.Z})],v.prototype,"spatialReference",void 0),(0,o._)([(0,d.Cb)({type:String})],v.prototype,"title",void 0),(0,o._)([(0,d.Cb)({readOnly:!0,json:{read:!1}})],v.prototype,"type",void 0),(0,o._)([(0,d.Cb)()],v.prototype,"url",void 0),(0,o._)([(0,d.Cb)({type:Boolean,nonNullable:!0})],v.prototype,"visible",void 0),v=(0,o._)([(0,h.j)("esri.layers.Layer")],v);const b=v},16859:(e,t,r)=>{r.d(t,{I:()=>S});var o=r(43697),n=r(68773),i=r(40330),s=r(3172),a=r(66643),l=r(20102),u=r(92604),p=r(70586),c=r(95330),d=r(17452),h=r(5600),y=(r(75215),r(67676),r(80442),r(71715)),m=r(52011),g=r(30556),f=r(84230),v=r(48522),b=r(15235),w=r(86082),_=r(14661);const S=e=>{let t=class extends e{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,p.SC)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new b.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:o}=await r.e(8062).then(r.bind(r,18062));return(0,c.k_)(t),await o({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap},t)}catch(e){throw(0,c.D_)(e)||u.Z.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch((e=>((0,c.r9)(e),!0))))}async setUserPrivileges(e,t){if(!n.default.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:o},content:{updateItem:n}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",o),this._set("userHasUpdateItemPrivileges",n)}catch(e){(0,c.r9)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const o=e===r.id;if(o&&r.portal.user)return(0,_.Ss)(r);let n,s;if(o)n=r.portal.url;else try{n=await(0,f.oP)(this.url,t)}catch(e){(0,c.r9)(e)}if(!n||!(0,d.Zo)(n,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;s=await(i.id?.getCredential(`${n}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,c.r9)(e)}if(!s)return{features:{edit:!0,fullEdit:!1},content:{updateItem:!1}};try{if(o?await r.reload():(r=new b.default({id:e,portal:{url:n}}),await r.load(t)),r.portal.user)return(0,_.Ss)(r)}catch(e){(0,c.r9)(e)}return{features:{edit:!0,fullEdit:!1},content:{updateItem:!1}}}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,c.r9)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?i.id?.findCredential(this.url):null;if(!t)return!0;const r=C.credential===t?C.user:await this._fetchEditingUser(e);return C.credential=t,C.user=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=i.id.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const o=`${r.owningSystemUrl}/sharing/rest`,n=v.Z.getDefault();if(n&&n.loaded&&(0,d.Fv)(n.restUrl)===(0,d.Fv)(o))return n.user;const l=`${o}/community/self`,u=null!=e?e.signal:null,p=await(0,a.q6)((0,s.Z)(l,{authMode:"no-prompt",query:{f:"json"},signal:u}));return p.ok?w.Z.fromJSON(p.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,o=this.portalItem?.id&&(this.portalItem.portal||v.Z.getDefault());return r&&o&&!(0,d.tm)(o.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,o._)([(0,h.Cb)({type:b.default})],t.prototype,"portalItem",null),(0,o._)([(0,y.r)("web-document","portalItem",["itemId"])],t.prototype,"readPortalItem",null),(0,o._)([(0,g.c)("web-document","portalItem",{itemId:{type:String}})],t.prototype,"writePortalItem",null),(0,o._)([(0,h.Cb)({clonable:!1})],t.prototype,"resourceReferences",void 0),(0,o._)([(0,h.Cb)({type:Boolean,readOnly:!0})],t.prototype,"userHasEditingPrivileges",void 0),(0,o._)([(0,h.Cb)({type:Boolean,readOnly:!0})],t.prototype,"userHasFullEditingPrivileges",void 0),(0,o._)([(0,h.Cb)({type:Boolean,readOnly:!0})],t.prototype,"userHasUpdateItemPrivileges",void 0),t=(0,o._)([(0,m.j)("esri.layers.mixins.PortalLayer")],t),t},C={credential:null,user:null}},72965:(e,t,r)=>{r.d(t,{M:()=>s});var o=r(43697),n=r(5600),i=(r(75215),r(67676),r(80442),r(52011));const s=e=>{let t=class extends e{constructor(){super(...arguments),this.minScale=0,this.maxScale=0}get effectiveScaleRange(){const e={minScale:this.minScale,maxScale:this.maxScale},t=this.parent;t&&"effectiveScaleRange"in t&&function(e,t){e.minScale=e.minScale>0?t.minScale>0?Math.min(e.minScale,t.minScale):e.minScale:t.minScale,e.maxScale=e.maxScale>0?t.maxScale>0?Math.max(e.maxScale,t.maxScale):e.maxScale:t.maxScale}(e,t.effectiveScaleRange);const r=this._get("effectiveScaleRange");return r&&r.minScale===e.minScale&&r.maxScale===e.maxScale?r:e}};return(0,o._)([(0,n.Cb)({type:Number,nonNullable:!0,json:{write:!0}})],t.prototype,"minScale",void 0),(0,o._)([(0,n.Cb)({type:Number,nonNullable:!0,json:{write:!0}})],t.prototype,"maxScale",void 0),(0,o._)([(0,n.Cb)({readOnly:!0})],t.prototype,"effectiveScaleRange",null),t=(0,o._)([(0,i.j)("esri.layers.mixins.ScaleRangeLayer")],t),t}},51161:(e,t,r)=>{r.d(t,{H3:()=>f,QI:()=>c,U4:()=>l,Yh:()=>h});var o=r(43697),n=r(96674),i=r(5600),s=(r(75215),r(67676),r(80442),r(36030)),a=r(52011);let l=class extends n.wq{constructor(){super(...arguments),this.nodesPerPage=null,this.rootIndex=0,this.lodSelectionMetricType=null}};(0,o._)([(0,i.Cb)({type:Number})],l.prototype,"nodesPerPage",void 0),(0,o._)([(0,i.Cb)({type:Number})],l.prototype,"rootIndex",void 0),(0,o._)([(0,i.Cb)({type:String})],l.prototype,"lodSelectionMetricType",void 0),l=(0,o._)([(0,a.j)("esri.layer.support.I3SNodePageDefinition")],l);let u=class extends n.wq{constructor(){super(...arguments),this.factor=1}};(0,o._)([(0,i.Cb)({type:Number,json:{read:{source:"textureSetDefinitionId"}}})],u.prototype,"id",void 0),(0,o._)([(0,i.Cb)({type:Number})],u.prototype,"factor",void 0),u=(0,o._)([(0,a.j)("esri.layer.support.I3SMaterialTexture")],u);let p=class extends n.wq{constructor(){super(...arguments),this.baseColorFactor=[1,1,1,1],this.baseColorTexture=null,this.metallicRoughnessTexture=null,this.metallicFactor=1,this.roughnessFactor=1}};(0,o._)([(0,i.Cb)({type:[Number]})],p.prototype,"baseColorFactor",void 0),(0,o._)([(0,i.Cb)({type:u})],p.prototype,"baseColorTexture",void 0),(0,o._)([(0,i.Cb)({type:u})],p.prototype,"metallicRoughnessTexture",void 0),(0,o._)([(0,i.Cb)({type:Number})],p.prototype,"metallicFactor",void 0),(0,o._)([(0,i.Cb)({type:Number})],p.prototype,"roughnessFactor",void 0),p=(0,o._)([(0,a.j)("esri.layer.support.I3SMaterialPBRMetallicRoughness")],p);let c=class extends n.wq{constructor(){super(...arguments),this.alphaMode="opaque",this.alphaCutoff=.25,this.doubleSided=!1,this.cullFace="none",this.normalTexture=null,this.occlusionTexture=null,this.emissiveTexture=null,this.emissiveFactor=null,this.pbrMetallicRoughness=null}};(0,o._)([(0,s.J)({opaque:"opaque",mask:"mask",blend:"blend"})],c.prototype,"alphaMode",void 0),(0,o._)([(0,i.Cb)({type:Number})],c.prototype,"alphaCutoff",void 0),(0,o._)([(0,i.Cb)({type:Boolean})],c.prototype,"doubleSided",void 0),(0,o._)([(0,s.J)({none:"none",back:"back",front:"front"})],c.prototype,"cullFace",void 0),(0,o._)([(0,i.Cb)({type:u})],c.prototype,"normalTexture",void 0),(0,o._)([(0,i.Cb)({type:u})],c.prototype,"occlusionTexture",void 0),(0,o._)([(0,i.Cb)({type:u})],c.prototype,"emissiveTexture",void 0),(0,o._)([(0,i.Cb)({type:[Number]})],c.prototype,"emissiveFactor",void 0),(0,o._)([(0,i.Cb)({type:p})],c.prototype,"pbrMetallicRoughness",void 0),c=(0,o._)([(0,a.j)("esri.layer.support.I3SMaterialDefinition")],c);let d=class extends n.wq{};(0,o._)([(0,i.Cb)({type:String,json:{read:{source:["name","index"],reader:(e,t)=>null!=e?e:`${t.index}`}}})],d.prototype,"name",void 0),(0,o._)([(0,s.J)({jpg:"jpg",png:"png",dds:"dds","ktx-etc2":"ktx-etc2",ktx2:"ktx2",basis:"basis"})],d.prototype,"format",void 0),d=(0,o._)([(0,a.j)("esri.layer.support.I3STextureFormat")],d);let h=class extends n.wq{constructor(){super(...arguments),this.atlas=!1}};(0,o._)([(0,i.Cb)({type:[d]})],h.prototype,"formats",void 0),(0,o._)([(0,i.Cb)({type:Boolean})],h.prototype,"atlas",void 0),h=(0,o._)([(0,a.j)("esri.layer.support.I3STextureSetDefinition")],h);let y=class extends n.wq{};(0,o._)([(0,s.J)({Float32:"Float32",UInt64:"UInt64",UInt32:"UInt32",UInt16:"UInt16",UInt8:"UInt8"})],y.prototype,"type",void 0),(0,o._)([(0,i.Cb)({type:Number})],y.prototype,"component",void 0),y=(0,o._)([(0,a.j)("esri.layer.support.I3SGeometryAttribute")],y);let m=class extends n.wq{};(0,o._)([(0,s.J)({draco:"draco"})],m.prototype,"encoding",void 0),(0,o._)([(0,i.Cb)({type:[String]})],m.prototype,"attributes",void 0),m=(0,o._)([(0,a.j)("esri.layer.support.I3SGeometryCompressedAttributes")],m);let g=class extends n.wq{constructor(){super(...arguments),this.offset=0}};(0,o._)([(0,i.Cb)({type:Number})],g.prototype,"offset",void 0),(0,o._)([(0,i.Cb)({type:y})],g.prototype,"position",void 0),(0,o._)([(0,i.Cb)({type:y})],g.prototype,"normal",void 0),(0,o._)([(0,i.Cb)({type:y})],g.prototype,"uv0",void 0),(0,o._)([(0,i.Cb)({type:y})],g.prototype,"color",void 0),(0,o._)([(0,i.Cb)({type:y})],g.prototype,"uvRegion",void 0),(0,o._)([(0,i.Cb)({type:y})],g.prototype,"featureId",void 0),(0,o._)([(0,i.Cb)({type:y})],g.prototype,"faceRange",void 0),(0,o._)([(0,i.Cb)({type:m})],g.prototype,"compressedAttributes",void 0),g=(0,o._)([(0,a.j)("esri.layer.support.I3SGeometryBuffer")],g);let f=class extends n.wq{};(0,o._)([(0,s.J)({triangle:"triangle"})],f.prototype,"topology",void 0),(0,o._)([(0,i.Cb)()],f.prototype,"geometryBuffers",void 0),f=(0,o._)([(0,a.j)("esri.layer.support.I3SGeometryDefinition")],f)},66094:(e,t,r)=>{r.d(t,{B:()=>n});var o=r(17452);function n(e){return i[function(e){return"json"===e.type?"application/json":"blob"===e.type?e.blob.type:function(e){const t=(0,o.Ml)(e);return l[t]||s}(e.url)}(e)]||a}const i={},s="text/plain",a=i[s],l={png:"image/png",jpeg:"image/jpeg",jpg:"image/jpg",bmp:"image/bmp",gif:"image/gif",json:"application/json",txt:"text/plain",xml:"application/xml",svg:"image/svg+xml",zip:"application/zip",pbf:"application/vnd.mapbox-vector-tile",gz:"application/gzip","bin.gz":"application/octet-stream"};for(const e in l)i[l[e]]=e},36405:(e,t,r)=>{function o(e,t){return t?.mode?t.mode:function(e){return e?u:p}(e).mode}function n(e,t){return o(null!=e&&e.hasZ,t)}function i(e,t,r){return r&&r.mode!==t?`${e} only support ${t} elevation mode`:null}function s(e,t,r){return r?.mode===t?`${e} do not support ${t} elevation mode`:null}function a(e,t){return null!=t?.featureExpressionInfo&&"0"!==t.featureExpressionInfo.expression?`${e} do not support featureExpressionInfo`:null}function l(e,t){t&&e.warn(".elevationInfo=",t)}r.d(t,{LR:()=>l,Uy:()=>i,VW:()=>n,Wb:()=>s,kf:()=>a}),r(12541);const u={mode:"absolute-height",offset:0},p={mode:"on-the-ground",offset:null}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5883,661,5234],{46791:(e,t,s)=>{s.d(t,{Z:()=>F});var i,n=s(43697),r=s(3894),o=s(32448),a=s(50758),l=s(22974),h=s(71143);!function(e){e[e.ADD=1]="ADD",e[e.REMOVE=2]="REMOVE",e[e.MOVE=4]="MOVE"}(i||(i={}));var c,u=s(1654),d=s(75215),f=s(58971),m=s(5600),p=s(52421),_=s(52011),g=s(10661);class y{constructor(e,t,s,i,n){this.target=e,this.added=t,this.removed=s,this.start=i,this.deleteCount=n}}const b=new h.Z(class{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(e){this.defaultPrevented=!1,this.item=e}},void 0,(e=>{e.item=null,e.target=null,e.defaultPrevented=!1,e.cancellable=!1}));function x(e){return e?e instanceof A?e.toArray():e.length?Array.prototype.slice.apply(e):[]:[]}function v(e){if(e?.length)return e[0]}function I(e,t,s,i){const n=Math.min(e.length-s,t.length-i);let r=0;for(;r<n&&e[s+r]===t[i+r];)r++;return r}function S(e,t,s,i){t&&t.forEach(((t,n,r)=>{e.push(t),S(e,s.call(i,t,n,r),s,i)}))}const E=new Set,w=new Set,N=new Set,M=new Map;let B=0,A=c=class extends o.Z.EventedAccessor{static isCollection(e){return null!=e&&e instanceof c}constructor(e){super(e),this._chgListeners=[],this._notifications=null,this._timer=null,this._observable=new g.s,this.length=0,this._items=[],Object.defineProperty(this,"uid",{value:B++})}normalizeCtorArgs(e){return e?Array.isArray(e)||e instanceof c?{items:e}:e:{}}destroy(){this._removeAllRaw()}*[Symbol.iterator](){yield*this.items}get items(){return(0,f.it)(this._observable),this._items}set items(e){this._emitBeforeChanges(i.ADD)||(this._splice(0,this.length,x(e)),this._emitAfterChanges(i.ADD))}hasEventListener(e){return"change"===e?this._chgListeners.length>0:this._emitter.hasEventListener(e)}on(e,t){if("change"===e){const e=this._chgListeners,s={removed:!1,callback:t};return e.push(s),this._notifications&&this._notifications.push({listeners:e.slice(),items:this._items.slice(),changes:[]}),(0,a.kB)((()=>{s.removed=!0,e.splice(e.indexOf(s),1)}))}return this._emitter.on(e,t)}once(e,t){const s="deref"in t?()=>t.deref():()=>t,i=this.on(e,(e=>{s()?.call(null,e),i.remove()}));return i}add(e,t){if((0,f.it)(this._observable),this._emitBeforeChanges(i.ADD))return this;const s=this.getNextIndex(t??null);return this._splice(s,0,[e]),this._emitAfterChanges(i.ADD),this}addMany(e,t=this._items.length){if((0,f.it)(this._observable),!e?.length)return this;if(this._emitBeforeChanges(i.ADD))return this;const s=this.getNextIndex(t);return this._splice(s,0,x(e)),this._emitAfterChanges(i.ADD),this}at(e){if((0,f.it)(this._observable),(e=Math.trunc(e)||0)<0&&(e+=this.length),!(e<0||e>=this.length))return this._items[e]}removeAll(){if((0,f.it)(this._observable),!this.length||this._emitBeforeChanges(i.REMOVE))return[];const e=this._removeAllRaw();return this._emitAfterChanges(i.REMOVE),e}_removeAllRaw(){return 0===this.length?[]:this._splice(0,this.length)||[]}clone(){return(0,f.it)(this._observable),this._createNewInstance({items:this._items.map(l.d9)})}concat(...e){(0,f.it)(this._observable);const t=e.map(x);return this._createNewInstance({items:this._items.concat(...t)})}drain(e,t){if((0,f.it)(this._observable),!this.length||this._emitBeforeChanges(i.REMOVE))return;const s=this._splice(0,this.length),n=s.length;for(let i=0;i<n;i++)e.call(t,s[i],i,s);this._emitAfterChanges(i.REMOVE)}every(e,t){return(0,f.it)(this._observable),this._items.every(e,t)}filter(e,t){let s;return(0,f.it)(this._observable),s=2===arguments.length?this._items.filter(e,t):this._items.filter(e),this._createNewInstance({items:s})}find(e,t){return(0,f.it)(this._observable),this._items.find(e,t)}findIndex(e,t){return(0,f.it)(this._observable),this._items.findIndex(e,t)}flatten(e,t){(0,f.it)(this._observable);const s=[];return S(s,this,e,t),new c(s)}forEach(e,t){return(0,f.it)(this._observable),this._items.forEach(e,t)}getItemAt(e){return(0,f.it)(this._observable),this._items[e]}getNextIndex(e){(0,f.it)(this._observable);const t=this.length;return(e=e??t)<0?e=0:e>t&&(e=t),e}includes(e,t=0){return(0,f.it)(this._observable),this._items.includes(e,t)}indexOf(e,t=0){return(0,f.it)(this._observable),this._items.indexOf(e,t)}join(e=","){return(0,f.it)(this._observable),this._items.join(e)}lastIndexOf(e,t=this.length-1){return(0,f.it)(this._observable),this._items.lastIndexOf(e,t)}map(e,t){(0,f.it)(this._observable);const s=this._items.map(e,t);return new c({items:s})}reorder(e,t=this.length-1){(0,f.it)(this._observable);const s=this.indexOf(e);if(-1!==s){if(t<0?t=0:t>=this.length&&(t=this.length-1),s!==t){if(this._emitBeforeChanges(i.MOVE))return e;this._splice(s,1),this._splice(t,0,[e]),this._emitAfterChanges(i.MOVE)}return e}}pop(){if((0,f.it)(this._observable),!this.length||this._emitBeforeChanges(i.REMOVE))return;const e=v(this._splice(this.length-1,1));return this._emitAfterChanges(i.REMOVE),e}push(...e){return(0,f.it)(this._observable),this._emitBeforeChanges(i.ADD)||(this._splice(this.length,0,e),this._emitAfterChanges(i.ADD)),this.length}reduce(e,t){(0,f.it)(this._observable);const s=this._items;return 2===arguments.length?s.reduce(e,t):s.reduce(e)}reduceRight(e,t){(0,f.it)(this._observable);const s=this._items;return 2===arguments.length?s.reduceRight(e,t):s.reduceRight(e)}remove(e){return(0,f.it)(this._observable),this.removeAt(this.indexOf(e))}removeAt(e){if((0,f.it)(this._observable),e<0||e>=this.length||this._emitBeforeChanges(i.REMOVE))return;const t=v(this._splice(e,1));return this._emitAfterChanges(i.REMOVE),t}removeMany(e){if((0,f.it)(this._observable),!e?.length||this._emitBeforeChanges(i.REMOVE))return[];const t=e instanceof c?e.toArray():e,s=this._items,n=[],r=t.length;for(let e=0;e<r;e++){const i=t[e],r=s.indexOf(i);if(r>-1){const i=1+I(t,s,e+1,r+1),o=this._splice(r,i);o&&o.length>0&&n.push.apply(n,o),e+=i-1}}return this._emitAfterChanges(i.REMOVE),n}reverse(){if((0,f.it)(this._observable),this._emitBeforeChanges(i.MOVE))return this;const e=this._splice(0,this.length);return e&&(e.reverse(),this._splice(0,0,e)),this._emitAfterChanges(i.MOVE),this}shift(){if((0,f.it)(this._observable),!this.length||this._emitBeforeChanges(i.REMOVE))return;const e=v(this._splice(0,1));return this._emitAfterChanges(i.REMOVE),e}slice(e=0,t=this.length){return(0,f.it)(this._observable),this._createNewInstance({items:this._items.slice(e,t)})}some(e,t){return(0,f.it)(this._observable),this._items.some(e,t)}sort(e){if((0,f.it)(this._observable),!this.length||this._emitBeforeChanges(i.MOVE))return this;const t=this._splice(0,this.length);return arguments.length?t.sort(e):t.sort(),this._splice(0,0,t),this._emitAfterChanges(i.MOVE),this}splice(e,t,...s){(0,f.it)(this._observable);const n=(t?i.REMOVE:0)|(s.length?i.ADD:0);if(this._emitBeforeChanges(n))return[];const r=this._splice(e,t,s)||[];return this._emitAfterChanges(n),r}toArray(){return(0,f.it)(this._observable),this._items.slice()}toJSON(){return(0,f.it)(this._observable),this.toArray()}toLocaleString(){return(0,f.it)(this._observable),this._items.toLocaleString()}toString(){return(0,f.it)(this._observable),this._items.toString()}unshift(...e){return(0,f.it)(this._observable),!e.length||this._emitBeforeChanges(i.ADD)||(this._splice(0,0,e),this._emitAfterChanges(i.ADD)),this.length}_createNewInstance(e){return new this.constructor(e)}_splice(e,t,s){const i=this._items,n=this.itemType;let r,o;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._timer=(0,u.Os)((()=>this._dispatchChange()))),e<0&&(e+=this.length),t){if(o=i.splice(e,t),this.hasEventListener("before-remove")){const t=b.acquire();t.target=this,t.cancellable=!0;for(let s=0,n=o.length;s<n;s++)r=o[s],t.reset(r),this.emit("before-remove",t),t.defaultPrevented&&(o.splice(s,1),i.splice(e,0,r),e+=1,s-=1,n-=1);b.release(t)}if(this.length=this._items.length,this.hasEventListener("after-remove")){const e=b.acquire();e.target=this,e.cancellable=!1;const t=o.length;for(let s=0;s<t;s++)e.reset(o[s]),this.emit("after-remove",e);b.release(e)}}if(s?.length){if(n){const e=[];for(const t of s){const s=n.ensureType(t);null==s&&null!=t||e.push(s)}s=e}const t=this.hasEventListener("before-add"),r=this.hasEventListener("after-add"),o=e===this.length;if(t||r){const n=b.acquire();n.target=this,n.cancellable=!0;const a=b.acquire();a.target=this,a.cancellable=!1;for(const l of s)t?(n.reset(l),this.emit("before-add",n),n.defaultPrevented||(o?i.push(l):i.splice(e++,0,l),this._set("length",i.length),r&&(a.reset(l),this.emit("after-add",a)))):(o?i.push(l):i.splice(e++,0,l),this._set("length",i.length),a.reset(l),this.emit("after-add",a));b.release(a),b.release(n)}else{if(o)for(const e of s)i.push(e);else i.splice(e,0,...s);this._set("length",i.length)}}if((s?.length||o?.length)&&this._notifyChangeEvent(s,o),this.hasEventListener("after-splice")){const i=new y(this,s,o,e,t);this.emit("after-splice",i)}return o}_emitBeforeChanges(e){let t=!1;if(this.hasEventListener("before-changes")){const s=b.acquire();s.target=this,s.cancellable=!0,s.type=e,this.emit("before-changes",s),t=s.defaultPrevented,b.release(s)}return t}_emitAfterChanges(e){if(this.hasEventListener("after-changes")){const t=b.acquire();t.target=this,t.cancellable=!1,t.type=e,this.emit("after-changes",t),b.release(t)}this._observable.notify()}_notifyChangeEvent(e,t){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:e,removed:t})}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),!this._notifications)return;const e=this._notifications;this._notifications=null;for(const t of e){const e=t.changes;E.clear(),w.clear(),N.clear();for(const{added:t,removed:s}of e){if(t)if(0===N.size&&0===w.size)for(const e of t)E.add(e);else for(const e of t)w.has(e)?(N.add(e),w.delete(e)):N.has(e)||E.add(e);if(s)if(0===N.size&&0===E.size)for(const e of s)w.add(e);else for(const e of s)E.has(e)?E.delete(e):(N.delete(e),w.add(e))}const s=r.Z.acquire();E.forEach((e=>{s.push(e)}));const i=r.Z.acquire();w.forEach((e=>{i.push(e)}));const n=this._items,o=t.items,a=r.Z.acquire();if(N.forEach((e=>{o.indexOf(e)!==n.indexOf(e)&&a.push(e)})),t.listeners&&(s.length||i.length||a.length)){const e={target:this,added:s,removed:i,moved:a},n=t.listeners.length;for(let s=0;s<n;s++){const i=t.listeners[s];i.removed||i.callback.call(this,e)}}r.Z.release(s),r.Z.release(i),r.Z.release(a)}E.clear(),w.clear(),N.clear()}};A.ofType=e=>{if(!e)return c;if(M.has(e))return M.get(e);let t=null;if("function"==typeof e)t=e.prototype.declaredClass;else if(e.base)t=e.base.prototype.declaredClass;else for(const s in e.typeMap){const i=e.typeMap[s].prototype.declaredClass;t?t+=` | ${i}`:t=i}let s=class extends c{};return(0,n._)([(0,p.c)({Type:e,ensureType:"function"==typeof e?(0,d.se)(e):(0,d.N7)(e)})],s.prototype,"itemType",void 0),s=(0,n._)([(0,_.j)(`esri.core.Collection<${t}>`)],s),M.set(e,s),s},(0,n._)([(0,m.Cb)()],A.prototype,"length",void 0),(0,n._)([(0,m.Cb)()],A.prototype,"items",null),A=c=(0,n._)([(0,_.j)("esri.core.Collection")],A);const F=A},32448:(e,t,s)=>{s.d(t,{Z:()=>l});var i=s(43697),n=s(92036),r=s(50758),o=s(52011);class a{constructor(){this._emitter=new a.EventEmitter(this)}emit(e,t){return this._emitter.emit(e,t)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}hasEventListener(e){return this._emitter.hasEventListener(e)}}!function(e){class t{constructor(e=null){this._target=e,this._listenersMap=null}clear(){this._listenersMap?.clear(),this._listenersMap=null}destroy(){this.clear()}emit(e,t){let s=this._listenersMap?.get(e);if(!s)return!1;const i=this._target||this;let n=!1;for(const e of s.slice()){const s="deref"in e?e.deref():e;s?s?.call(i,t):n=!0}return n&&(s=s.filter((e=>!("deref"in e)||null!=e.deref())),this._listenersMap.set(e,s)),s.length>0}on(e,t){if(Array.isArray(e)){const s=e.map((e=>this.on(e,t)));return(0,r.AL)(s)}if(e.includes(","))throw new TypeError("Evented.on() with a comma delimited string of event types is not supported");this._listenersMap??=new Map;const s=this._listenersMap.get(e)||[];return s.push(t),this._listenersMap.set(e,s),(0,r.kB)((()=>{const s=this._listenersMap?.get(e),i=s?.indexOf(t)??-1;i>=0&&s.splice(i,1)}))}once(e,t){const s=this.on(e,(e=>{s.remove();const i="deref"in t?t.deref():t;i?.call(null,e)}));return s}hasEventListener(e){const t=this._listenersMap?.get(e);return null!=t&&t.length>0}}e.EventEmitter=t,e.EventedMixin=e=>{let s=class extends e{constructor(){super(...arguments),this._emitter=new t}destroy(){this._emitter.clear()}emit(e,t){return this._emitter.emit(e,t)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}hasEventListener(e){return this._emitter.hasEventListener(e)}};return s=(0,i._)([(0,o.j)("esri.core.Evented")],s),s};let s=class extends n.Z{constructor(){super(...arguments),this._emitter=new a.EventEmitter(this)}destroy(){this._emitter.clear()}emit(e,t){return this._emitter.emit(e,t)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}hasEventListener(e){return this._emitter.hasEventListener(e)}};s=(0,i._)([(0,o.j)("esri.core.Evented")],s),e.EventedAccessor=s}(a||(a={}));const l=a},13867:(e,t,s)=>{s.d(t,{z:()=>n});var i=s(69801);class n{constructor(e,t){this._storage=new i.WJ,this.id="",this.name="",this.size=0,this._storage.maxSize=e,this._storage.register(this),t&&this._storage.registerRemoveFunc("",t)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,s=1){this._storage.put(this,e,t,s,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},69801:(e,t,s)=>{s.d(t,{WJ:()=>a,Xq:()=>o});var i,n,r=s(44553);(n=i||(i={}))[n.ALL=0]="ALL",n[n.SOME=1]="SOME";class o{constructor(e,t,s){this.name=e,this._storage=t,this.id=l+++":",this.size=0,this.maxSize=0,this._removeFunc=!1,this._hit=0,this._miss=0,this._storage.register(this),s&&(this._storage.registerRemoveFunc(this.id,s),this._removeFunc=!0)}destroy(){this._storage.clear(this),this._removeFunc&&this._storage.deregisterRemoveFunc(this.id),this._storage.deregister(this),this._storage=null}get hitRate(){return this._hit/(this._hit+this._miss)}get sizeAll(){return this._storage.size}resetHitRate(){this._hit=this._miss=0}put(e,t,s,i=0){this._storage.put(this,e,t,s,i)}get(e){const t=this._storage.get(this,e);return void 0===t?++this._miss:++this._hit,t}peek(e){return this._storage.peek(this,e)}pop(e){const t=this._storage.pop(this,e);return void 0===t?++this._miss:++this._hit,t}updateSize(e,t,s){this._storage.updateSize(this,e,t,s)}clear(){this._storage.clear(this)}clearAll(){this._storage.clearAll()}get performanceInfo(){return this._storage.performanceInfo}resetStats(){this._storage.resetStats()}}class a{get size(){return this._size}constructor(e=10485760){this._maxSize=e,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._removeFuncs=new r.Z,this._users=new r.Z}destroy(){this.clearAll(),this._removeFuncs.clear(),this._users.clear(),this._db=null}register(e){this._users.push(e)}deregister(e){this._users.removeUnordered(e)}registerRemoveFunc(e,t){this._removeFuncs.push([e,t])}deregisterRemoveFunc(e){this._removeFuncs.filterInPlace((t=>t[0]!==e))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,0),this._checkSizeLimits()}put(e,t,s,n,r){t=e.id+t;const o=this._db.get(t);if(o&&(this._size-=o.size,e.size-=o.size,this._db.delete(t),o.entry!==s&&this._notifyRemove(t,o.entry,i.ALL)),n>this._maxSize)return void this._notifyRemove(t,s,i.ALL);if(void 0===s)return void console.warn("Refusing to cache undefined entry ");if(!n||n<0)return void console.warn(`Refusing to cache entry with size ${n} for key ${t}`);const a=1+Math.max(r,-3)- -3;this._db.set(t,{entry:s,size:n,lifetime:a,lives:a}),this._size+=n,e.size+=n,this._checkSizeLimits()}updateSize(e,t,s,n){t=e.id+t;const r=this._db.get(t);if(r&&r.entry===s){for(this._size-=r.size,e.size-=r.size;n>this._maxSize;){const e=this._notifyRemove(t,s,i.SOME);if(!(null!=e&&e>0))return void this._db.delete(t);n=e}r.size=n,this._size+=n,e.size+=n,this._checkSizeLimits()}}pop(e,t){t=e.id+t;const s=this._db.get(t);if(s)return this._size-=s.size,e.size-=s.size,this._db.delete(t),++this._hit,s.entry;++this._miss}get(e,t){t=e.id+t;const s=this._db.get(t);if(void 0!==s)return this._db.delete(t),s.lives=s.lifetime,this._db.set(t,s),++this._hit,s.entry;++this._miss}peek(e,t){const s=this._db.get(e.id+t);return s?++this._hit:++this._miss,s?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},s=new Array;this._db.forEach(((e,i)=>{const n=e.lifetime;s[n]=(s[n]||0)+e.size,this._users.forAll((s=>{const{id:n,name:r}=s;if(i.startsWith(n)){const s=t[r]||0;t[r]=s+e.size}}))}));const i={};this._users.forAll((e=>{const s=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const n=t[s]||0;t[s]=n,i[s]=Math.round(100*e.hitRate)+"%"}else i[s]="0%"}));const n=Object.keys(t);n.sort(((e,s)=>t[s]-t[e])),n.forEach((s=>e[s]=Math.round(t[s]/2**20)+"MB / "+i[s]));for(let t=s.length-1;t>=0;--t){const i=s[t];i&&(e["Priority "+(t+-3-1)]=Math.round(i/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._users.forAll((e=>e.resetHitRate()))}clear(e){const t=e.id;this._db.forEach(((e,s)=>{s.startsWith(t)&&(this._size-=e.size,this._db.delete(s),this._notifyRemove(s,e.entry,i.ALL))})),e.size=0}clearAll(){this._db.forEach(((e,t)=>this._notifyRemove(t,e.entry,i.ALL))),this._users.forEach((e=>e.size=0)),this._size=0,this._db.clear()}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,s){let i;return this._removeFuncs.some((n=>{if(e.startsWith(n[0])){const e=n[1](t,s);return"number"==typeof e&&(i=e),!0}return!1})),i}_checkSizeLimits(){if(this._size>this._maxSize)for(const[e,t]of this._db)if(this._purgeItem(e,t),this._size<=.9*this.maxSize)return;this._users.forEach((e=>{if(e.maxSize>0&&e.size>e.maxSize)for(const[t,s]of this._db)if(t.startsWith(e.id)&&(this._purgeItem(t,s,e),e.size<=.9*e.maxSize))return}))}_purgeItem(e,t,s=this._users.find((t=>e.startsWith(t.id)))){if(this._db.delete(e),t.lives<=1){this._size-=t.size,s&&(s.size-=t.size);const n=this._notifyRemove(e,t.entry,i.SOME);null!=n&&n>0&&(this._size+=n,s&&(s.size+=n),t.lives=t.lifetime,t.size=n,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}let l=0},52421:(e,t,s)=>{function i(e){return(t,s)=>{t[s]=e}}s.d(t,{c:()=>i})},10661:(e,t,s)=>{s.d(t,{s:()=>n});var i=s(42100);class n extends i.s{notify(){const e=this._observers;if(e&&e.length>0){const t=e.slice();for(const e of t)e.onInvalidated(),e.onCommitted()}}}},66643:(e,t,s)=>{s.d(t,{Ed:()=>h,UI:()=>c,mt:()=>m,q6:()=>f,vr:()=>p});var i=s(43697),n=s(92036),r=s(70586),o=s(95330),a=s(5600),l=s(52011);function h(e,t,s){return(0,o.as)(e.map(((e,i)=>t.apply(s,[e,i]))))}async function c(e,t,s){return(await(0,o.as)(e.map(((e,i)=>t.apply(s,[e,i]))))).map((e=>e.value))}function u(e){return{ok:!0,value:e}}function d(e){return{ok:!1,error:e}}async function f(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return u(await e)}catch(e){return d(e)}}async function m(e){try{return u(await e)}catch(e){return(0,o.r9)(e),d(e)}}function p(e,t){return new _(e,t)}let _=class extends n.Z{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,r.IM)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:s}=this._abortController;this.promise=e(s),this.promise.then((e=>{this._result=u(e),this._cleanup()}),(e=>{this._result=d(e),this._cleanup()})),this._abortHandle=(0,o.fu)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,r.hw)(this._abortHandle),this._abortController=null}};(0,i._)([(0,a.Cb)()],_.prototype,"value",null),(0,i._)([(0,a.Cb)()],_.prototype,"error",null),(0,i._)([(0,a.Cb)()],_.prototype,"finished",null),(0,i._)([(0,a.Cb)()],_.prototype,"promise",void 0),(0,i._)([(0,a.Cb)()],_.prototype,"_result",void 0),_=(0,i._)([(0,l.j)("esri.core.asyncUtils.ReactiveTask")],_)},20188:(e,t,s)=>{function i(e){return null!=o(e)||null!=r(e)}function n(e){return o(e)??r(e)}function r(e){const t=new Date(e);return function(e,t){if(Number.isNaN(e.getTime()))return!1;let s=!0;if(h&&/\d+\W*$/.test(t)){const e=t.match(/[a-zA-Z]{2,}/);if(e){let t=!1,i=0;for(;!t&&i<=e.length;)t=!l.test(e[i]),i++;s=!t}}return s}(t,e)?Number.isNaN(t.getTime())?null:t.getTime()-6e4*t.getTimezoneOffset():null}function o(e){const t=a.exec(e);if(!t?.groups)return null;const s=t.groups,i=+s.year,n=+s.month-1,r=+s.day,o=+(s.hours??"0"),l=+(s.minutes??"0"),h=+(s.seconds??"0");if(o>23)return null;if(l>59)return null;if(h>59)return null;const c=s.ms??"0",u=c?+c.padEnd(3,"0").substring(0,3):0;let d;if(s.isUTC||!s.offsetSign)d=Date.UTC(i,n,r,o,l,h,u);else{const e=+s.offsetHours,t=+s.offsetMinutes;d=6e4*("+"===s.offsetSign?-1:1)*(60*e+t)+Date.UTC(i,n,r,o,l,h,u)}return Number.isNaN(d)?null:d}s.d(t,{o:()=>i,s:()=>n});const a=/^(?:(?<year>-?\d{4,})-(?<month>\d{2})-(?<day>\d{2}))(?:T(?<hours>\d{2}):(?<minutes>\d{2}):(?<seconds>\d{2})(?:\.(?<ms>\d+))?)?(?:(?<isUTC>Z)|(?:(?<offsetSign>\+|-)(?<offsetHours>\d{2}):(?<offsetMinutes>\d{2})))?$/,l=/^((jan(uary)?)|(feb(ruary)?)|(mar(ch)?)|(apr(il)?)|(may)|(jun(e)?)|(jul(y)?)|(aug(ust)?)|(sep(tember)?)|(oct(ober)?)|(nov(ember)?)|(dec(ember)?)|(am)|(pm)|(gmt)|(utc))$/i,h=!Number.isNaN(new Date("technology 10").getTime())},24133:(e,t,s)=>{s.d(t,{Q:()=>o});var i=s(67676),n=s(44553),r=s(88764);class o{constructor(e=9,t){this._compareMinX=c,this._compareMinY=u,this._toBBox=e=>e,this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this._toBBox=t:this._initFormat(t)),this.clear()}destroy(){this.clear(),b.prune(),x.prune(),v.prune(),I.prune()}all(e){this._all(this._data,e)}search(e,t){let s=this._data;const i=this._toBBox;if(g(e,s))for(b.clear();s;){for(let n=0,r=s.children.length;n<r;n++){const r=s.children[n],o=s.leaf?i(r):r;g(e,o)&&(s.leaf?t(r):_(e,o)?this._all(r,t):b.push(r))}s=b.pop()}}collides(e){let t=this._data;const s=this._toBBox;if(!g(e,t))return!1;for(b.clear();t;){for(let i=0,n=t.children.length;i<n;i++){const n=t.children[i],r=t.leaf?s(n):n;if(g(e,r)){if(t.leaf||_(e,r))return!0;b.push(n)}}t=b.pop()}return!1}load(e){if(!e.length)return this;if(e.length<this._minEntries){for(let t=0,s=e.length;t<s;t++)this.insert(e[t]);return this}let t=this._build(e.slice(0,e.length),0,e.length-1,0);if(this._data.children.length)if(this._data.height===t.height)this._splitRoot(this._data,t);else{if(this._data.height<t.height){const e=this._data;this._data=t,t=e}this._insert(t,this._data.height-t.height-1,!0)}else this._data=t;return this}insert(e){return e&&this._insert(e,this._data.height-1),this}clear(){return this._data=new w([]),this}remove(e){if(!e)return this;let t,s=this._data,n=null,r=0,o=!1;const a=this._toBBox(e);for(v.clear(),I.clear();s||v.length>0;){if(s||(s=v.pop(),n=v.data[v.length-1],r=I.pop()??0,o=!0),s.leaf&&(t=(0,i.cq)(s.children,e,s.children.length,s.indexHint),-1!==t))return s.children.splice(t,1),v.push(s),this._condense(v),this;o||s.leaf||!_(s,a)?n?(r++,s=n.children[r],o=!1):s=null:(v.push(s),I.push(r),r=0,n=s,s=s.children[0])}return this}toJSON(){return this._data}fromJSON(e){return this._data=e,this}_all(e,t){let s=e;for(x.clear();s;){if(!0===s.leaf)for(const e of s.children)t(e);else x.pushArray(s.children);s=x.pop()??null}}_build(e,t,s,i){const n=s-t+1;let r=this._maxEntries;if(n<=r){const i=new w(e.slice(t,s+1));return a(i,this._toBBox),i}i||(i=Math.ceil(Math.log(n)/Math.log(r)),r=Math.ceil(n/r**(i-1)));const o=new N([]);o.height=i;const l=Math.ceil(n/r),h=l*Math.ceil(Math.sqrt(r));y(e,t,s,h,this._compareMinX);for(let n=t;n<=s;n+=h){const t=Math.min(n+h-1,s);y(e,n,t,l,this._compareMinY);for(let s=n;s<=t;s+=l){const n=Math.min(s+l-1,t);o.children.push(this._build(e,s,n,i-1))}}return a(o,this._toBBox),o}_chooseSubtree(e,t,s,i){for(;i.push(t),!0!==t.leaf&&i.length-1!==s;){let s,i=1/0,n=1/0;for(let r=0,o=t.children.length;r<o;r++){const o=t.children[r],a=d(o),l=m(e,o)-a;l<n?(n=l,i=a<i?a:i,s=o):l===n&&a<i&&(i=a,s=o)}t=s||t.children[0]}return t}_insert(e,t,s){const i=this._toBBox,n=s?e:i(e);v.clear();const r=this._chooseSubtree(n,this._data,t,v);for(r.children.push(e),h(r,n);t>=0&&v.data[t].children.length>this._maxEntries;)this._split(v,t),t--;this._adjustParentBBoxes(n,v,t)}_split(e,t){const s=e.data[t],i=s.children.length,n=this._minEntries;this._chooseSplitAxis(s,n,i);const r=this._chooseSplitIndex(s,n,i);if(!r)return void console.log(" Error: assertion failed at PooledRBush._split: no valid split index");const o=s.children.splice(r,s.children.length-r),l=s.leaf?new w(o):new N(o);l.height=s.height,a(s,this._toBBox),a(l,this._toBBox),t?e.data[t-1].children.push(l):this._splitRoot(s,l)}_splitRoot(e,t){this._data=new N([e,t]),this._data.height=e.height+1,a(this._data,this._toBBox)}_chooseSplitIndex(e,t,s){let i,n,r;i=n=1/0;for(let o=t;o<=s-t;o++){const t=l(e,0,o,this._toBBox),a=l(e,o,s,this._toBBox),h=p(t,a),c=d(t)+d(a);h<i?(i=h,r=o,n=c<n?c:n):h===i&&c<n&&(n=c,r=o)}return r}_chooseSplitAxis(e,t,s){const i=e.leaf?this._compareMinX:c,n=e.leaf?this._compareMinY:u;this._allDistMargin(e,t,s,i)<this._allDistMargin(e,t,s,n)&&e.children.sort(i)}_allDistMargin(e,t,s,i){e.children.sort(i);const n=this._toBBox,r=l(e,0,t,n),o=l(e,s-t,s,n);let a=f(r)+f(o);for(let i=t;i<s-t;i++){const t=e.children[i];h(r,e.leaf?n(t):t),a+=f(r)}for(let i=s-t-1;i>=t;i--){const t=e.children[i];h(o,e.leaf?n(t):t),a+=f(o)}return a}_adjustParentBBoxes(e,t,s){for(let i=s;i>=0;i--)h(t.data[i],e)}_condense(e){for(let t=e.length-1;t>=0;t--){const s=e.data[t];if(0===s.children.length)if(t>0){const n=e.data[t-1],r=n.children;r.splice((0,i.cq)(r,s,r.length,n.indexHint),1)}else this.clear();else a(s,this._toBBox)}}_initFormat(e){const t=["return a"," - b",";"];this._compareMinX=new Function("a","b",t.join(e[0])),this._compareMinY=new Function("a","b",t.join(e[1])),this._toBBox=new Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}}function a(e,t){l(e,0,e.children.length,t,e)}function l(e,t,s,i,n){n||(n=new w([])),n.minX=1/0,n.minY=1/0,n.maxX=-1/0,n.maxY=-1/0;for(let r,o=t;o<s;o++)r=e.children[o],h(n,e.leaf?i(r):r);return n}function h(e,t){e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY)}function c(e,t){return e.minX-t.minX}function u(e,t){return e.minY-t.minY}function d(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function f(e){return e.maxX-e.minX+(e.maxY-e.minY)}function m(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function p(e,t){const s=Math.max(e.minX,t.minX),i=Math.max(e.minY,t.minY),n=Math.min(e.maxX,t.maxX),r=Math.min(e.maxY,t.maxY);return Math.max(0,n-s)*Math.max(0,r-i)}function _(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function g(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function y(e,t,s,i,n){const o=[t,s];for(;o.length;){const t=o.pop(),s=o.pop();if(t-s<=i)continue;const a=s+Math.ceil((t-s)/i/2)*i;(0,r.q)(e,a,s,t,n),o.push(s,a,a,t)}}const b=new n.Z,x=new n.Z,v=new n.Z,I=new n.Z({deallocator:void 0});class S{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class E extends S{constructor(){super(...arguments),this.height=1,this.indexHint=new i.SO}}class w extends E{constructor(e){super(),this.children=e,this.leaf=!0}}class N extends E{constructor(e){super(),this.children=e,this.leaf=!1}}},14808:(e,t,s)=>{s.d(t,{Qc:()=>c,WU:()=>a,lt:()=>h});var i=s(19153),n=s(70171);const r={ar:[".",","],bg:[","," "],bs:[",","."],ca:[",","."],cs:[","," "],da:[",","."],de:[",","."],"de-ch":[".","’"],el:[",","."],en:[".",","],"en-au":[".",","],es:[",","."],"es-mx":[".",","],et:[","," "],fi:[","," "],fr:[","," "],"fr-ch":[","," "],he:[".",","],hi:[".",",","#,##,##0.###"],hr:[",","."],hu:[","," "],id:[",","."],it:[",","."],"it-ch":[".","’"],ja:[".",","],ko:[".",","],lt:[","," "],lv:[","," "],mk:[",","."],nb:[","," "],nl:[",","."],pl:[","," "],pt:[",","."],"pt-pt":[","," "],ro:[",","."],ru:[","," "],sk:[","," "],sl:[",","."],sr:[",","."],sv:[","," "],th:[".",","],tr:[",","."],uk:[","," "],vi:[",","."],zh:[".",","]};function o(e=(0,n.Kd)()){let t=(e=e.toLowerCase())in r;if(!t){const s=e.split("-");s.length>1&&s[0]in r&&(e=s[0],t=!0),t||(e="en")}const[s,i,o="#,##0.###"]=r[e];return{decimal:s,group:i,pattern:o}}function a(e,t){const s=o((t={...t}).locale);t.customs=s;const i=t.pattern||s.pattern;return isNaN(e)||Math.abs(e)===1/0?null:function(e,t,s){const i=(s=s||{}).customs.group,n=s.customs.decimal,r=t.split(";"),o=r[0];if((t=r[e<0?1:0]||"-"+o).includes("%"))e*=100;else if(t.includes("‰"))e*=1e3;else{if(t.includes("¤"))throw new Error("currency notation not supported");if(t.includes("E"))throw new Error("exponential notation not supported")}const a=l,h=o.match(a);if(!h)throw new Error("unable to find a number expression in pattern: "+t);return!1===s.fractional&&(s.places=0),t.replace(a,function(e,t,s){!0===(s=s||{}).places&&(s.places=0),s.places===1/0&&(s.places=6);const i=t.split("."),n="string"==typeof s.places&&s.places.indexOf(",");let r=s.places;n?r=s.places.substring(n+1):+r>=0||(r=(i[1]||[]).length),s.round<0||(e=Number(e.toFixed(Number(r))));const o=String(Math.abs(e)).split("."),a=o[1]||"";if(i[1]||s.places){n&&(s.places=s.places.substring(0,n));const e=void 0!==s.places?s.places:i[1]&&i[1].lastIndexOf("0")+1;+e>a.length&&(o[1]=a.padEnd(Number(e),"0")),+r<a.length&&(o[1]=a.substr(0,Number(r)))}else o[1]&&o.pop();const l=i[0].replace(",","");let h=l.indexOf("0");-1!==h&&(h=l.length-h,h>o[0].length&&(o[0]=o[0].padStart(h,"0")),l.includes("#")||(o[0]=o[0].substr(o[0].length-h)));let c,u,d=i[0].lastIndexOf(",");if(-1!==d){c=i[0].length-d-1;const e=i[0].substr(0,d);d=e.lastIndexOf(","),-1!==d&&(u=e.length-d-1)}const f=[];for(let e=o[0];e;){const t=e.length-c;f.push(t>0?e.substr(t):e),e=t>0?e.slice(0,t):"",u&&(c=u,u=void 0)}return o[0]=f.reverse().join(s.group||","),o.join(s.decimal||".")}(e,h[0],{decimal:n,group:i,places:s.places,round:s.round}))}(e,i,t)}const l=/[#0,]*[#0](?:\.0*#*)?/;function h(e){const t=o((e=e||{}).locale),s=e.pattern||t.pattern,n=t.group,r=t.decimal;let a=1;if(s.includes("%"))a/=100;else if(s.includes("‰"))a/=1e3;else if(s.includes("¤"))throw new Error("currency notation not supported");const h=s.split(";");1===h.length&&h.push("-"+h[0]);const c=d(h,(t=>(t="(?:"+(0,i.Qs)(t,".")+")").replace(l,(t=>{const s={signed:!1,separator:e.strict?n:[n,""],fractional:e.fractional,decimal:r,exponent:!1},i=t.split(".");let o=e.places;1===i.length&&1!==a&&(i[1]="###"),1===i.length||0===o?s.fractional=!1:(void 0===o&&(o=e.pattern?i[1].lastIndexOf("0")+1:1/0),o&&null==e.fractional&&(s.fractional=!0),!e.places&&+o<i[1].length&&(o+=","+i[1].length),s.places=o);const l=i[0].split(",");return l.length>1&&(s.groupSize=l.pop().length,l.length>1&&(s.groupSize2=l.pop().length)),"("+function(e){"places"in(e=e||{})||(e.places=1/0),"string"!=typeof e.decimal&&(e.decimal="."),"fractional"in e&&!String(e.places).startsWith("0")||(e.fractional=[!0,!1]),"exponent"in e||(e.exponent=[!0,!1]),"eSigned"in e||(e.eSigned=[!0,!1]);const t=u(e),s=d(e.fractional,(t=>{let s="";return t&&0!==e.places&&(s="\\"+e.decimal,e.places===1/0?s="(?:"+s+"\\d+)?":s+="\\d{"+e.places+"}"),s}),!0);let i=t+s;return s&&(i="(?:(?:"+i+")|(?:"+s+"))"),i+d(e.exponent,(t=>t?"([eE]"+u({signed:e.eSigned})+")":""))}(s)+")"}))),!0);return{regexp:c.replaceAll(/[\xa0 ]/g,"[\\s\\xa0]"),group:n,decimal:r,factor:a}}function c(e,t){const s=h(t),i=new RegExp("^"+s.regexp+"$").exec(e);if(!i)return NaN;let n=i[1];if(!i[1]){if(!i[2])return NaN;n=i[2],s.factor*=-1}return n=n.replaceAll(new RegExp("["+s.group+"\\s\\xa0]","g"),"").replace(s.decimal,"."),Number(n)*s.factor}function u(e){return"signed"in(e=e||{})||(e.signed=[!0,!1]),"separator"in e?"groupSize"in e||(e.groupSize=3):e.separator="",d(e.signed,(e=>e?"[-+]":""),!0)+d(e.separator,(t=>{if(!t)return"(?:\\d+)";" "===(t=(0,i.Qs)(t))?t="\\s":" "===t&&(t="\\s\\xa0");const s=e.groupSize,n=e.groupSize2;if(n){const e="(?:0|[1-9]\\d{0,"+(n-1)+"}(?:["+t+"]\\d{"+n+"})*["+t+"]\\d{"+s+"})";return s-n>0?"(?:"+e+"|(?:0|[1-9]\\d{0,"+(s-1)+"}))":e}return"(?:0|[1-9]\\d{0,"+(s-1)+"}(?:["+t+"]\\d{"+s+"})*)"}),!0)}const d=(e,t,s)=>{if(!(e instanceof Array))return t(e);const i=[];for(let s=0;s<e.length;s++)i.push(t(e[s]));return f(i.join("|"),Boolean(s))},f=(e,t)=>"("+(t?"?:":"")+e+")"},17445:(e,t,s)=>{s.d(t,{N1:()=>d,YP:()=>l,Z_:()=>p,gx:()=>h,nn:()=>_,on:()=>u,tX:()=>g}),s(66643),s(46791);var i=s(91460),n=s(50758),r=s(70586),o=s(95330),a=s(26258);function l(e,t,s={}){return c(e,t,s,f)}function h(e,t,s={}){return c(e,t,s,m)}function c(e,t,s={},i){let n=null;const o=s.once?(e,s)=>{i(e)&&((0,r.hw)(n),t(e,s))}:(e,s)=>{i(e)&&t(e,s)};if(n=(0,a.aQ)(e,o,s.sync,s.equals),s.initial){const t=e();o(t,t)}return n}function u(e,t,s,o={}){let a=null,h=null,c=null;function u(){a&&h&&(h.remove(),o.onListenerRemove?.(a),a=null,h=null)}function d(e){o.once&&o.once&&(0,r.hw)(c),s(e)}const f=l(e,((e,s)=>{u(),(0,i.vT)(e)&&(a=e,h=(0,i.on)(e,t,d),o.onListenerAdd?.(e))}),{sync:o.sync,initial:!0});return c=(0,n.kB)((()=>{f.remove(),u()})),c}function d(e,t){return function(e,t,s){if((0,o.Hc)(s))return Promise.reject((0,o.zE)());const i=e();if(t?.(i))return Promise.resolve(i);let a=null;function l(){a=(0,r.hw)(a)}return new Promise(((i,r)=>{a=(0,n.AL)([(0,o.fu)(s,(()=>{l(),r((0,o.zE)())})),c(e,(e=>{l(),i(e)}),{sync:!1,once:!0},t??f)])}))}(e,m,t)}function f(e){return!0}function m(e){return!!e}s(87538);const p={sync:!0},_={initial:!0},g={sync:!0,initial:!0}},16306:(e,t,s)=>{s.d(t,{aX:()=>I});var i=s(68773),n=s(20102),r=s(92604),o=s(38913),a=s(58901),l=s(73913),h=s(8744),c=s(40488),u=(s(66577),s(3172)),d=s(33955),f=s(11282),m=s(17452);async function p(e,t,s){const i="string"==typeof e?(0,m.mN)(e):e,n=t[0].spatialReference,r=(0,d.Ji)(t[0]),o={...s,query:{...i.query,f:"json",sr:(0,h.B9)(n),geometries:JSON.stringify((l=t,{geometryType:(0,d.Ji)(l[0]),geometries:l.map((e=>e.toJSON()))}))}},{data:a}=await(0,u.Z)(i.path+"/simplify",o);var l;return function(e,t,s){const i=(0,d.q9)(t);return e.map((e=>{const t=i.fromJSON(e);return t.spatialReference=s,t}))}(a.geometries,r,n)}const _=r.Z.getLogger("esri.geometry.support.normalizeUtils");function g(e){return"polygon"===e[0].type}function y(e){return"polyline"===e[0].type}function b(e,t,s){if(t){const t=function(e,t){if(!(e instanceof a.Z||e instanceof o.Z)){const e="straightLineDensify: the input geometry is neither polyline nor polygon";throw _.error(e),new n.Z(e)}const s=(0,l.x3)(e),i=[];for(const e of s){const s=[];i.push(s),s.push([e[0][0],e[0][1]]);for(let i=0;i<e.length-1;i++){const n=e[i][0],r=e[i][1],o=e[i+1][0],a=e[i+1][1],l=Math.sqrt((o-n)*(o-n)+(a-r)*(a-r)),h=(a-r)/l,c=(o-n)/l,u=l/t;if(u>1){for(let e=1;e<=u-1;e++){const i=e*t,o=c*i+n,a=h*i+r;s.push([o,a])}const e=(l+Math.floor(u-1)*t)/2,i=c*e+n,o=h*e+r;s.push([i,o])}s.push([o,a])}}return function(e){return"polygon"===e.type}(e)?new o.Z({rings:i,spatialReference:e.spatialReference}):new a.Z({paths:i,spatialReference:e.spatialReference})}(e,1e6);e=(0,c.Sx)(t,!0)}return s&&(e=(0,l.Sy)(e,s)),e}function x(e,t,s){if(Array.isArray(e)){const i=e[0];if(i>t){const s=(0,l.XZ)(i,t);e[0]=i+s*(-2*t)}else if(i<s){const t=(0,l.XZ)(i,s);e[0]=i+t*(-2*s)}}else{const i=e.x;if(i>t){const s=(0,l.XZ)(i,t);e=e.clone().offset(s*(-2*t),0)}else if(i<s){const t=(0,l.XZ)(i,s);e=e.clone().offset(t*(-2*s),0)}}return e}function v(e,t){let s=-1;for(let i=0;i<t.cutIndexes.length;i++){const n=t.cutIndexes[i],r=t.geometries[i],o=(0,l.x3)(r);for(let e=0;e<o.length;e++){const t=o[e];t.some((s=>{if(s[0]<180)return!0;{let s=0;for(let e=0;e<t.length;e++){const i=t[e][0];s=i>s?i:s}s=Number(s.toFixed(9));const i=-360*(0,l.XZ)(s,180);for(let s=0;s<t.length;s++){const t=r.getPoint(e,s);r.setPoint(e,s,t.clone().offset(i,0))}return!0}}))}if(n===s){if(g(e))for(const t of(0,l.x3)(r))e[n]=e[n].addRing(t);else if(y(e))for(const t of(0,l.x3)(r))e[n]=e[n].addPath(t)}else s=n,e[n]=r}return e}async function I(e,t,s){if(!Array.isArray(e))return I([e],t);t&&"string"!=typeof t&&_.warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const n="string"==typeof t?t:t?.url??i.default.geometryServiceUrl;let r,m,g,y,S,E,w,N,M=0;const B=[],A=[];for(const t of e)if(null!=t)if(r||(r=t.spatialReference,m=(0,h.C5)(r),g=r.isWebMercator,E=g?102100:4326,y=l.UZ[E].maxX,S=l.UZ[E].minX,w=l.UZ[E].plus180Line,N=l.UZ[E].minus180Line),m)if("mesh"===t.type)A.push(t);else if("point"===t.type)A.push(x(t.clone(),y,S));else if("multipoint"===t.type){const e=t.clone();e.points=e.points.map((e=>x(e,y,S))),A.push(e)}else if("extent"===t.type){const e=t.clone()._normalize(!1,!1,m);A.push(e.rings?new o.Z(e):e)}else if(t.extent){const e=t.extent,s=(0,l.XZ)(e.xmin,S)*(2*y);let i=0===s?t.clone():(0,l.Sy)(t.clone(),s);e.offset(s,0),e.intersects(w)&&e.xmax!==y?(M=e.xmax>M?e.xmax:M,i=b(i,g),B.push(i),A.push("cut")):e.intersects(N)&&e.xmin!==S?(M=e.xmax*(2*y)>M?e.xmax*(2*y):M,i=b(i,g,360),B.push(i),A.push("cut")):A.push(i)}else A.push(t.clone());else A.push(t);else A.push(t);let F=(0,l.XZ)(M,y),C=-90;const z=F,T=new a.Z;for(;F>0;){const e=360*F-180;T.addPath([[e,C],[e,-1*C]]),C*=-1,F--}if(B.length>0&&z>0){const t=v(B,await async function(e,t,s,i){const n=(0,f.en)(e),r=t[0].spatialReference,o={...i,responseType:"json",query:{...n.query,f:"json",sr:(0,h.B9)(r),target:JSON.stringify({geometryType:(0,d.Ji)(t[0]),geometries:t}),cutter:JSON.stringify(s)}},a=await(0,u.Z)(n.path+"/cut",o),{cutIndexes:l,geometries:c=[]}=a.data;return{cutIndexes:l,geometries:c.map((e=>{const t=(0,d.im)(e);return t.spatialReference=r,t}))}}(n,B,T,s)),i=[],r=[];for(let s=0;s<A.length;s++){const n=A[s];if("cut"!==n)r.push(n);else{const n=t.shift(),o=e[s];null!=o&&"polygon"===o.type&&o.rings&&o.rings.length>1&&n.rings.length>=o.rings.length?(i.push(n),r.push("simplify")):r.push(g?(0,c.$)(n):n)}}if(!i.length)return r;const o=await p(n,i,s),a=[];for(let e=0;e<r.length;e++){const t=r[e];"simplify"!==t?a.push(t):a.push(g?(0,c.$)(o.shift()):o.shift())}return a}const O=[];for(let e=0;e<A.length;e++){const t=A[e];if("cut"!==t)O.push(t);else{const e=B.shift();O.push(!0===g?(0,c.$)(e):e)}}return O}},73913:(e,t,s)=>{s.d(t,{Sy:()=>l,UZ:()=>o,XZ:()=>a,x3:()=>h});var i=s(58901),n=s(82971),r=s(33955);const o={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new i.Z({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:n.Z.WebMercator}),minus180Line:new i.Z({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:n.Z.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new i.Z({paths:[[[180,-180],[180,180]]],spatialReference:n.Z.WGS84}),minus180Line:new i.Z({paths:[[[-180,-180],[-180,180]]],spatialReference:n.Z.WGS84})}};function a(e,t){return Math.ceil((e-t)/(2*t))}function l(e,t){const s=h(e);for(const e of s)for(const s of e)s[0]+=t;return e}function h(e){return(0,r.oU)(e)?e.rings:e.paths}},37549:(e,t,s)=>{s.d(t,{H:()=>a});var i=s(80442),n=s(24133),r=s(24470);const o={minX:0,minY:0,maxX:0,maxY:0};class a{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new n.Q(9,(0,i.Z)("esri-csp-restrictions")?e=>({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){const e=new Array(this._idByBounds.size);let t=0;this._idByBounds.forEach(((s,i)=>{e[t++]=i})),this._indexInvalid=!1,this._index.clear(),this._index.load(e)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter((e=>this._idByBounds.has(e)))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;const e=(0,r.cS)();for(const t of this._boundsById.values())t&&(e[0]=Math.min(t[0],e[0]),e[1]=Math.min(t[1],e[1]),e[2]=Math.max(t[2],e[2]),e[3]=Math.max(t[3],e[3]));return e}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(e){const t=this._boundsById.get(e);this._boundsById.delete(e),t&&(this._idByBounds.delete(t),this._indexInvalid||this._index.remove(t))}forEachInBounds(e,t){this._loadIndex(),function(e,t,s){(function(e){o.minX=e[0],o.minY=e[1],o.maxX=e[2],o.maxY=e[3]})(t),e.search(o,s)}(this._index,e,(e=>t(this._idByBounds.get(e))))}get(e){return this._boundsById.get(e)}has(e){return this._boundsById.has(e)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(e,t){if(!this._indexInvalid){const t=this._boundsById.get(e);t&&(this._index.remove(t),this._idByBounds.delete(t))}this._boundsById.set(e,t),t&&(this._idByBounds.set(t,e),this._indexInvalid||(this._boundsToLoad.push(t),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},28972:(e,t,s)=>{s.d(t,{Z:()=>E});var i=s(67676),n=s(20102),r=s(32448),o=s(92604),a=s(60437),l=s(24470),h=s(98732),c=s(37549),u=s(42712);function d(e,t){return e?t?4:3:t?3:2}function f(e,t,s,i,n){if(!t?.lengths.length)return null;const r="upperLeft"===n?.originPosition?-1:1;e.lengths.length&&(e.lengths.length=0),e.coords.length&&(e.coords.length=0);const o=e.coords,a=[],l=s?[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY]:[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY],{lengths:h,coords:c}=t,u=d(s,i);let f=0;for(const e of h){const t=m(l,c,f,e,s,i,r);t&&a.push(t),f+=e*u}if(a.sort(((e,t)=>{let i=r*e[2]-r*t[2];return 0===i&&s&&(i=e[4]-t[4]),i})),a.length){let e=6*a[0][2];o[0]=a[0][0]/e,o[1]=a[0][1]/e,s&&(e=6*a[0][4],o[2]=0!==e?a[0][3]/e:0),(o[0]<l[0]||o[0]>l[1]||o[1]<l[2]||o[1]>l[3]||s&&(o[2]<l[4]||o[2]>l[5]))&&(o.length=0)}if(!o.length){const e=t.lengths[0]?p(c,0,h[0],s,i):null;if(!e)return null;o[0]=e[0],o[1]=e[1],s&&e.length>2&&(o[2]=e[2])}return e}function m(e,t,s,i,n,r,o=1){const a=d(n,r);let l=s,h=s+a,c=0,u=0,f=0,m=0,p=0;for(let s=0,r=i-1;s<r;s++,l+=a,h+=a){const s=t[l],i=t[l+1],r=t[l+2],o=t[h],a=t[h+1],d=t[h+2];let _=s*a-o*i;m+=_,c+=(s+o)*_,u+=(i+a)*_,n&&(_=s*d-o*r,f+=(r+d)*_,p+=_),s<e[0]&&(e[0]=s),s>e[1]&&(e[1]=s),i<e[2]&&(e[2]=i),i>e[3]&&(e[3]=i),n&&(r<e[4]&&(e[4]=r),r>e[5]&&(e[5]=r))}if(m*o>0&&(m*=-1),p*o>0&&(p*=-1),!m)return null;const _=[c,u,.5*m];return n&&(_[3]=f,_[4]=.5*p),_}function p(e,t,s,i,n){const r=d(i,n);let o=t,a=t+r,l=0,h=0,c=0,u=0;for(let t=0,n=s-1;t<n;t++,o+=r,a+=r){const t=e[o],s=e[o+1],n=e[o+2],r=e[a],d=e[a+1],f=e[a+2],m=i?g(t,s,n,r,d,f):_(t,s,r,d);if(m)if(l+=m,i){const e=b(t,s,n,r,d,f);h+=m*e[0],c+=m*e[1],u+=m*e[2]}else{const e=y(t,s,r,d);h+=m*e[0],c+=m*e[1]}}return l>0?i?[h/l,c/l,u/l]:[h/l,c/l]:s>0?i?[e[t],e[t+1],e[t+2]]:[e[t],e[t+1]]:null}function _(e,t,s,i){const n=s-e,r=i-t;return Math.sqrt(n*n+r*r)}function g(e,t,s,i,n,r){const o=i-e,a=n-t,l=r-s;return Math.sqrt(o*o+a*a+l*l)}function y(e,t,s,i){return[e+.5*(s-e),t+.5*(i-t)]}function b(e,t,s,i,n,r){return[e+.5*(i-e),t+.5*(n-t),s+.5*(r-s)]}var x=s(70272),v=s(5428);const I={getObjectId:e=>e.objectId,getAttributes:e=>e.attributes,getAttribute:(e,t)=>e.attributes[t],cloneWithGeometry:(e,t)=>new x.u_(t,e.attributes,null,e.objectId),getGeometry:e=>e.geometry,getCentroid:(e,t)=>(null==e.centroid&&(e.centroid=f(new v.Z,e.geometry,t.hasZ,t.hasM)),e.centroid)},S=(0,a.Ue)();class E{constructor(e){this.geometryInfo=e,this._boundsStore=new c.H,this._featuresById=new Map,this._markedIds=new Set,this.events=new r.Z,this.featureAdapter=I}get geometryType(){return this.geometryInfo.geometryType}get hasM(){return this.geometryInfo.hasM}get hasZ(){return this.geometryInfo.hasZ}get numFeatures(){return this._featuresById.size}get fullBounds(){return this._boundsStore.fullBounds}get storeStatistics(){let e=0;return this._featuresById.forEach((t=>{null!=t.geometry&&t.geometry.coords&&(e+=t.geometry.coords.length)})),{featureCount:this._featuresById.size,vertexCount:e/(this.hasZ?this.hasM?4:3:this.hasM?3:2)}}getFullExtent(e){if(null==this.fullBounds)return null;const[t,s,i,n]=this.fullBounds;return{xmin:t,ymin:s,xmax:i,ymax:n,spatialReference:(0,u.S2)(e)}}add(e){this._add(e),this._emitChanged()}addMany(e){for(const t of e)this._add(t);this._emitChanged()}upsertMany(e){const t=e.map((e=>this._upsert(e)));return this._emitChanged(),t.filter(i.pC)}clear(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged()}removeById(e){const t=this._featuresById.get(e);return t?(this._remove(t),this._emitChanged(),t):null}removeManyById(e){this._boundsStore.invalidateIndex();for(const t of e){const e=this._featuresById.get(t);e&&this._remove(e)}this._emitChanged()}forEachBounds(e,t){for(const s of e){const e=this._boundsStore.get(s.objectId);e&&t((0,a.JR)(S,e))}}getFeature(e){return this._featuresById.get(e)}has(e){return this._featuresById.has(e)}forEach(e){this._featuresById.forEach((t=>e(t)))}forEachInBounds(e,t){this._boundsStore.forEachInBounds(e,(e=>{t(this._featuresById.get(e))}))}startMarkingUsedFeatures(){this._boundsStore.invalidateIndex(),this._markedIds.clear()}sweep(){let e=!1;this._featuresById.forEach(((t,s)=>{this._markedIds.has(s)||(e=!0,this._remove(t))})),this._markedIds.clear(),e&&this._emitChanged()}_emitChanged(){this.events.emit("changed",void 0)}_add(e){if(!e)return;const t=e.objectId;if(null==t)return void o.Z.getLogger("esri.layers.graphics.data.FeatureStore").error(new n.Z("featurestore:invalid-feature","feature id is missing",{feature:e}));const s=this._featuresById.get(t);let i;if(this._markedIds.add(t),s?(e.displayId=s.displayId,i=this._boundsStore.get(t),this._boundsStore.delete(t)):null!=this.onFeatureAdd&&this.onFeatureAdd(e),!e.geometry?.coords?.length)return this._boundsStore.set(t,null),void this._featuresById.set(t,e);i=(0,h.$)(null!=i?i:(0,l.Ue)(),e.geometry,this.geometryInfo.hasZ,this.geometryInfo.hasM),null!=i&&this._boundsStore.set(t,i),this._featuresById.set(t,e)}_upsert(e){const t=e?.objectId;if(null==t)return o.Z.getLogger("esri.layers.graphics.data.FeatureStore").error(new n.Z("featurestore:invalid-feature","feature id is missing",{feature:e})),null;const s=this._featuresById.get(t);if(!s)return this._add(e),e;this._markedIds.add(t);const{geometry:i,attributes:r}=e;for(const e in r)s.attributes[e]=r[e];return i&&(s.geometry=i,this._boundsStore.set(t,(0,h.$)((0,l.Ue)(),i,this.geometryInfo.hasZ,this.geometryInfo.hasM)??null)),s}_remove(e){null!=this.onFeatureRemove&&this.onFeatureRemove(e);const t=e.objectId;return this._markedIds.delete(t),this._boundsStore.delete(t),this._featuresById.delete(t),e}}},27793:(e,t,s)=>{s.r(t),s.d(t,{default:()=>$}),s(66577);var i=s(3172),n=s(66643),r=s(20188),o=s(20102),a=s(92604),l=s(95330),h=s(17452),c=s(73615),u=s(37455),d=s(8744),f=s(40488),m=s(70272),p=s(5428),_=s(28972),g=s(37427),y=s(3489),b=s(14808),x=s(35671);const v=/^\s*"([\S\s]*)"\s*$/,I=/""/g,S="\n",E=[","," ",";","|","\t"];function*w(e,t,s){let i=0;for(;i<=e.length;){const n=e.indexOf(t,i),r=e.substring(i,n>-1?n:void 0);i+=r.length+t.length,s&&!r.trim()||(yield r)}}function N(e){const t=e.includes("\r\n")?"\r\n":S;return w(e,t,!0)}function M(e,t){return w(e,t,!1)}function B(e,t,s){e=e.trim(),t=t?.trim();const i=[],n=Array.from(new Set([s?.delimiter,...E])).filter((e=>null!=e));for(const s of n){const n=C(e,s).length,r=C(t,s).length??n;n>1&&i.push({weight:Math.min(n,r),delimiter:s})}const r=i.sort((({weight:e},{weight:t})=>t-e)).map((({delimiter:e})=>e));for(const t of r){const i=T(F(e,t).names,s?.longitudeField,s?.latitudeField);if(i.longitudeFieldName&&i.latitudeFieldName)return{delimiter:t,locationInfo:i}}return{delimiter:r[0],locationInfo:null}}function*A(e,t,s,i=(()=>Object.create(null))){const n=N(e);n.next();let r="",o="",a=0,l=i(),h=0;e:for(const e of n){const n=M(e,s);for(const e of n)if(r+=o+e,o="",a+=z(e),a%2==0){if(a>0){const e=v.exec(r);if(!e){l=i(),h=0,r="",a=0;continue e}l[t[h]]=e[1].replaceAll(I,'"'),h++}else l[t[h]]=r,h++;r="",a=0}else o=s;0===a?(yield l,l=i(),h=0):o=S}}function F(e,t){const s=C(e,t).filter((e=>null!=e)),i=s.map((e=>(0,x.q6)(e)));for(let e=i.length-1;e>=0;e--)i[e]||(i.splice(e,1),s.splice(e,1));return{names:i,aliases:s}}function C(e,t){if(!e?.length)return[];const s=[];let i="",n="",r=0;const o=M(e,t);for(const e of o)if(i+=n+e,n="",r+=z(e),r%2==0){if(r>0){const e=v.exec(i);e&&s.push(e[1].replaceAll(I,'"'))}else s.push(i);i="",r=0}else n=t;return s}function z(e){let t=0,s=0;for(s=e.indexOf('"',s);s>=0;)t++,s=e.indexOf('"',s+1);return t}function T(e,t,s){t=(0,x.q6)(t)?.toLowerCase(),s=(0,x.q6)(s)?.toLowerCase();const i=e.map((e=>e.toLowerCase())),n=t?e[i.indexOf(t)]:null,r=s?e[i.indexOf(s)]:null;return{longitudeFieldName:n||e[i.indexOf(X.find((e=>i.includes(e))))],latitudeFieldName:r||e[i.indexOf(L.find((e=>i.includes(e))))]}}function O(e,t,s,i,n){const r=[],o=A(e,s,t),a=[];for(const e of o){if(10===a.length)break;a.push(e)}for(let e=0;e<s.length;e++){const t=s[e],o=i[e];if(t===n.longitudeFieldName||t===n.latitudeFieldName)r.push({name:t,type:"esriFieldTypeDouble",alias:o});else{let e,s;switch(R(a.map((e=>e[t])))){case"integer":e="esriFieldTypeInteger";break;case"double":e="esriFieldTypeDouble";break;case"date":e="esriFieldTypeDate",s=36;break;default:e="esriFieldTypeString",s=255}r.push({name:t,type:e,alias:o,length:s})}}return r}function R(e){if(!e.length)return"string";const t=/[^+\-.,0-9]/;return e.map((e=>{if(""!==e){if(!t.test(e)){let t=Z(e);if(!isNaN(t))return/[.,]/.test(e)||!Number.isInteger(t)||t>214783647||t<-214783648?"double":"integer";if(e.includes("E")){if(t=Number(e),!Number.isNaN(t))return"double";if(e.includes(",")&&(e=e.replace(",","."),t=Number(e),!Number.isNaN(t)))return"double"}}return(0,r.o)(e)?"date":"string"}})).reduce(((e,t)=>void 0===e?t:void 0===t?e:e===t?t:"string"===e||"string"===t?"string":"double"===e||"double"===t?"double":void 0))}const Z=function(){const e=(0,b.lt)(),t=new RegExp("^"+e.regexp+"$"),s=new RegExp("["+e.group+"\\s\\xa0]","g"),i=e.factor;return n=>{const r=t.exec(n);if(e.factor=i,!r)return NaN;let o=r[1];if(!r[1]){if(!r[2])return NaN;o=r[2],e.factor*=-1}return o=o.replace(s,"").replace(e.decimal,"."),+o*e.factor}}(),L=["lat","latitude","latitude83","latdecdeg","lat_dd","y","ycenter","point_y"],X=["lon","lng","long","longitude","longitude83","longdecdeg","long_dd","x","xcenter","point_x"];var q=s(25278),D=s(99514),Y=s(25031),k=s(82971);const j=(0,q.bU)("esriGeometryPoint"),V=["csv"],P=[0,0];class U{constructor(e,t){this.x=e,this.y=t}}class ${constructor(){this._queryEngine=null,this._snapshotFeatures=async e=>{const t=await this._fetch(e);return this._createFeatures(t)}}destroy(){this._queryEngine?.destroy(),this._queryEngine=null}async load(e,t={}){this._loadOptions=e;const[s]=await Promise.all([this._fetch(t.signal),this._checkProjection(e?.parsingOptions?.spatialReference)]),i=function(e,t){const s=t.parsingOptions||{},i={delimiter:s.delimiter,layerDefinition:null,locationInfo:{latitudeFieldName:s.latitudeField,longitudeFieldName:s.longitudeField}},n=i.layerDefinition={name:(0,h.vt)(t.url,V)||"csv",dateFieldsTimeReference:{timeZoneIANA:Y.pt},drawingInfo:j,geometryType:"esriGeometryPoint",objectIdField:null,fields:[],timeInfo:s.timeInfo,extent:{xmin:Number.POSITIVE_INFINITY,ymin:Number.POSITIVE_INFINITY,xmax:Number.NEGATIVE_INFINITY,ymax:Number.NEGATIVE_INFINITY,spatialReference:s.spatialReference||{wkid:4326}}},r=N(e),a=r.next().value?.trim(),l=r.next().value?.trim();if(!a)throw new o.Z("csv-layer:empty-csv","CSV is empty",{csv:e});const{delimiter:c,locationInfo:u}=B(a,l,s);if(!c)throw new o.Z("csv-layer:invalid-delimiter","Unable to detect the delimiter from CSV",{firstLine:a,secondLine:l,parsingOptions:s});if(!u)throw new o.Z("csv-layer:location-fields-not-found","Unable to identify latitude and longitude fields from the CSV file",{firstLine:a,secondLine:l,parsingOptions:s});i.locationInfo=u,i.delimiter=c;const{names:d,aliases:f}=F(a,c),m=O(e,i.delimiter,d,f,i.locationInfo);if(s.fields?.length){const e=new D.Z(s.fields);for(const t of m){const s=e.get(t.name);s&&Object.assign(t,s)}}if(!m.some((e=>"esriFieldTypeOID"===e.type&&(n.objectIdField=e.name,!0)))){const e={name:"__OBJECTID",alias:"__OBJECTID",type:"esriFieldTypeOID",editable:!1,nullable:!1};n.objectIdField=e.name,m.unshift(e)}n.fields=m;const p=new D.Z(n.fields);if(i.locationInfo&&(i.locationInfo.latitudeFieldName=p.get(i.locationInfo.latitudeFieldName).name,i.locationInfo.longitudeFieldName=p.get(i.locationInfo.longitudeFieldName).name),n.timeInfo){const e=n.timeInfo;if(e.startTimeField){const t=p.get(e.startTimeField);t?(e.startTimeField=t.name,t.type="esriFieldTypeDate"):e.startTimeField=null}if(e.endTimeField){const t=p.get(e.endTimeField);t?(e.endTimeField=t.name,t.type="esriFieldTypeDate"):e.endTimeField=null}if(e.trackIdField){const t=p.get(e.trackIdField);e.trackIdField=t?t.name:null}e.startTimeField||e.endTimeField||(n.timeInfo=null)}return i}(s,e);this._locationInfo=i.locationInfo,this._delimiter=i.delimiter,this._queryEngine=this._createQueryEngine(i);const n=await this._createFeatures(s);this._queryEngine.featureStore.addMany(n);const{fullExtent:r,timeExtent:a}=await this._queryEngine.fetchRecomputedExtents();if(i.layerDefinition.extent=r,a){const{start:e,end:t}=a;i.layerDefinition.timeInfo.timeExtent=[e,t]}return i}async applyEdits(){throw new o.Z("csv-layer:editing-not-supported","applyEdits() is not supported on CSVLayer")}async queryFeatures(e={},t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeQuery(e,t.signal)}async queryFeatureCount(e={},t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeQueryForCount(e,t.signal)}async queryObjectIds(e={},t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeQueryForIds(e,t.signal)}async queryExtent(e={},t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeQueryForExtent(e,t.signal)}async querySnapping(e,t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeQueryForSnapping(e,t.signal)}async refresh(e){this._loadOptions.customParameters=e,this._snapshotTask?.abort(),this._snapshotTask=(0,n.vr)(this._snapshotFeatures),this._snapshotTask.promise.then((e=>{this._queryEngine.featureStore.clear(),e&&this._queryEngine.featureStore.addMany(e)}),(e=>{this._queryEngine.featureStore.clear(),(0,l.D_)(e)||a.Z.getLogger("esri.layers.CSVLayer").error(new o.Z("csv-layer:refresh","An error occurred during refresh",{error:e}))})),await this._waitSnapshotComplete();const{fullExtent:t,timeExtent:s}=await this._queryEngine.fetchRecomputedExtents();return{extent:t,timeExtent:s}}async _waitSnapshotComplete(){if(this._snapshotTask&&!this._snapshotTask.finished){try{await this._snapshotTask.promise}catch{}return this._waitSnapshotComplete()}}async _fetch(e){const{url:t,customParameters:s}=this._loadOptions;if(!t)throw new o.Z("csv-layer:invalid-source","url not defined");const n=(0,h.mN)(t);return(await(0,i.Z)(n.path,{query:{...n.query,...s},responseType:"text",signal:e})).data}_createQueryEngine(e){const{objectIdField:t,fields:s,extent:i,timeInfo:n}=e.layerDefinition,r=new _.Z({geometryType:"esriGeometryPoint",hasM:!1,hasZ:!1});return new y.q({fieldsIndex:D.Z.fromLayerJSON({fields:s,dateFieldsTimeReference:{timeZoneIANA:Y.pt}}),geometryType:"esriGeometryPoint",hasM:!1,hasZ:!1,timeInfo:n,objectIdField:t,spatialReference:i.spatialReference||{wkid:4326},cacheSpatialQueries:!0,featureStore:r})}async _createFeatures(e){const{latitudeFieldName:t,longitudeFieldName:s}=this._locationInfo,{objectIdField:i,fieldsIndex:n,spatialReference:o}=this._queryEngine;let a=[];const l=[],h=n.fields.filter((e=>e.name!==i)).map((e=>e.name));let _=0;const g={};for(const e of n.fields)if("esriFieldTypeOID"!==e.type&&"esriFieldTypeGlobalID"!==e.type){const t=(0,x.os)(e);void 0!==t&&(g[e.name]=t)}const y=A(e,h,this._delimiter,(0,q.Dm)(g,i));for(const e of y){const o=this._parseCoordinateValue(e[t]),h=this._parseCoordinateValue(e[s]);if(null!=h&&null!=o&&!isNaN(o)&&!isNaN(h)){e[t]=o,e[s]=h;for(const i in e)if(i!==t&&i!==s)if(n.isDateField(i))e[i]=(0,r.s)(e[i]);else if(n.isNumericField(i)){const t=Z(e[i]);isNaN(t)?e[i]=null:e[i]=t}e[i]=_,_++,a.push(new U(h,o)),l.push(e)}}if(!(0,d.fS)({wkid:4326},o))if((0,d.sS)(o))for(const e of a)[e.x,e.y]=(0,f.hG)(e.x,e.y,P);else a=(0,c.projectMany)(u.N,a,k.Z.WGS84,o,null,null);const b=[];for(let e=0;e<a.length;e++){const{x:t,y:s}=a[e],n=l[e];n[i]=e+1,b.push(new m.u_(new p.Z([],[t,s]),n,null,n[i]))}return b}_parseCoordinateValue(e){if(null==e||""===e)return null;let t=Z(e);return(isNaN(t)||Math.abs(t)>181)&&(t=parseFloat(e)),t}async _checkProjection(e){try{await(0,g._W)(d.Zn,e)}catch{throw new o.Z("csv-layer:projection-not-supported","Projection not supported")}}}},25278:(e,t,s)=>{s.d(t,{Dm:()=>c,Hq:()=>u,MS:()=>d,bU:()=>a});var i=s(80442),n=s(22974),r=s(61159),o=s(58333);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?o.I4:"esriGeometryPolyline"===e?o.ET:o.lF}}}const l=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let h=1;function c(e,t){if((0,i.Z)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let s=`this.${t} = null;`;for(const t in e)s+=`this${l.test(t)?`.${t}`:`["${t}"]`} = ${JSON.stringify(e[t])};`;const i=new Function(`\n return class AttributesClass$${h++} {\n constructor() {\n ${s};\n }\n }\n `)();return()=>new i}catch(s){return()=>({[t]:null,...e})}}function u(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,n.d9)(e)}}]}function d(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,supportsAttachment:!1,supportsM:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:r.g,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},11282:(e,t,s)=>{s.d(t,{cv:()=>a,en:()=>o,lA:()=>r}),s(68773),s(40330);var i=s(22974),n=s(17452);function r(e,t){return t?{...t,query:{...e??{},...t.query}}:{query:e}}function o(e){return"string"==typeof e?(0,n.mN)(e):(0,i.d9)(e)}function a(e,t,s){const i={};for(const n in e){if("declaredClass"===n)continue;const r=e[n];if(null!=r&&"function"!=typeof r)if(Array.isArray(r)){i[n]=[];for(let e=0;e<r.length;e++)i[n][e]=a(r[e])}else if("object"==typeof r)if(r.toJSON){const e=r.toJSON(s?.[n]);i[n]=t?e:JSON.stringify(e)}else i[n]=t?r:JSON.stringify(r);else i[n]=r}return i}s(71058)},58333:(e,t,s)=>{s.d(t,{ET:()=>r,I4:()=>n,eG:()=>l,lF:()=>o,lj:()=>c,qP:()=>a,wW:()=>h});const i=[252,146,31,255],n={type:"esriSMS",style:"esriSMSCircle",size:6,color:i,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},r={type:"esriSLS",style:"esriSLSSolid",width:.75,color:i},o={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},a={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},l={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},h={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},c={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}}}]);