@arcgis/core 4.28.0-rc.0 → 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 (1068) 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/components/assets/icon/addConstant16.json +1 -0
  8. package/assets/components/assets/icon/addConstant24.json +1 -0
  9. package/assets/components/assets/icon/addConstant32.json +1 -0
  10. package/assets/components/assets/icon/addRasterVariable16.json +1 -0
  11. package/assets/components/assets/icon/addRasterVariable24.json +1 -0
  12. package/assets/components/assets/icon/addRasterVariable32.json +1 -0
  13. package/assets/components/assets/icon/addRasters16.json +1 -0
  14. package/assets/components/assets/icon/addRasters24.json +1 -0
  15. package/assets/components/assets/icon/addRasters32.json +1 -0
  16. package/assets/components/assets/icon/alertOffCircle16F.json +1 -0
  17. package/assets/components/assets/icon/alertOffCircle24F.json +1 -0
  18. package/assets/components/assets/icon/alertOffCircle32F.json +1 -0
  19. package/assets/components/assets/icon/boxChartSeries16.json +1 -0
  20. package/assets/components/assets/icon/boxChartSeries24.json +1 -0
  21. package/assets/components/assets/icon/boxChartSeries32.json +1 -0
  22. package/assets/components/assets/icon/breakRecurrence16.json +1 -0
  23. package/assets/components/assets/icon/breakRecurrence24.json +1 -0
  24. package/assets/components/assets/icon/breakRecurrence32.json +1 -0
  25. package/assets/components/assets/icon/bulletPoint16.json +1 -1
  26. package/assets/components/assets/icon/bulletPoint24.json +1 -1
  27. package/assets/components/assets/icon/bulletPoint32.json +1 -1
  28. package/assets/components/assets/icon/bulletPointLarge16.json +1 -0
  29. package/assets/components/assets/icon/bulletPointLarge24.json +1 -0
  30. package/assets/components/assets/icon/bulletPointLarge32.json +1 -0
  31. package/assets/components/assets/icon/chevronEnd16.json +1 -0
  32. package/assets/components/assets/icon/chevronEnd24.json +1 -0
  33. package/assets/components/assets/icon/chevronEnd32.json +1 -0
  34. package/assets/components/assets/icon/chevronStart16.json +1 -0
  35. package/assets/components/assets/icon/chevronStart24.json +1 -0
  36. package/assets/components/assets/icon/chevronStart32.json +1 -0
  37. package/assets/components/assets/icon/configureGridUnit16.json +1 -0
  38. package/assets/components/assets/icon/configureGridUnit24.json +1 -0
  39. package/assets/components/assets/icon/configureGridUnit32.json +1 -0
  40. package/assets/components/assets/icon/dimensionsUnit16.json +1 -0
  41. package/assets/components/assets/icon/dimensionsUnit24.json +1 -0
  42. package/assets/components/assets/icon/dimensionsUnit32.json +1 -0
  43. package/assets/components/assets/icon/dimensionsWall16.json +1 -0
  44. package/assets/components/assets/icon/dimensionsWall24.json +1 -0
  45. package/assets/components/assets/icon/dimensionsWall32.json +1 -0
  46. package/assets/components/assets/icon/flipVertical16.json +1 -0
  47. package/assets/components/assets/icon/flipVertical24.json +1 -0
  48. package/assets/components/assets/icon/flipVertical32.json +1 -0
  49. package/assets/components/assets/icon/imageCollectionExplorer16.json +1 -0
  50. package/assets/components/assets/icon/imageCollectionExplorer24.json +1 -0
  51. package/assets/components/assets/icon/imageCollectionExplorer32.json +1 -0
  52. package/assets/components/assets/icon/imageMagnifyingGlass16.json +1 -0
  53. package/assets/components/assets/icon/imageMagnifyingGlass24.json +1 -0
  54. package/assets/components/assets/icon/imageMagnifyingGlass32.json +1 -0
  55. package/assets/components/assets/icon/launch216.json +1 -0
  56. package/assets/components/assets/icon/launch224.json +1 -0
  57. package/assets/components/assets/icon/launch232.json +1 -0
  58. package/assets/components/assets/icon/mergeDetails16.json +1 -0
  59. package/assets/components/assets/icon/mergeDetails24.json +1 -0
  60. package/assets/components/assets/icon/mergeDetails32.json +1 -0
  61. package/assets/components/assets/icon/mergeUnits16.json +1 -0
  62. package/assets/components/assets/icon/mergeUnits24.json +1 -0
  63. package/assets/components/assets/icon/mergeUnits32.json +1 -0
  64. package/assets/components/assets/icon/minusCircle16F.json +1 -0
  65. package/assets/components/assets/icon/minusCircle24F.json +1 -0
  66. package/assets/components/assets/icon/minusCircle32F.json +1 -0
  67. package/assets/components/assets/icon/polygonSelect16.json +1 -0
  68. package/assets/components/assets/icon/polygonSelect24.json +1 -0
  69. package/assets/components/assets/icon/polygonSelect32.json +1 -0
  70. package/assets/components/assets/icon/projectMission16.json +1 -0
  71. package/assets/components/assets/icon/projectMission24.json +1 -0
  72. package/assets/components/assets/icon/projectMission32.json +1 -0
  73. package/assets/components/assets/icon/projectTemplate16.json +1 -0
  74. package/assets/components/assets/icon/projectTemplate24.json +1 -0
  75. package/assets/components/assets/icon/projectTemplate32.json +1 -0
  76. package/assets/components/assets/icon/properties16.json +1 -0
  77. package/assets/components/assets/icon/properties24.json +1 -0
  78. package/assets/components/assets/icon/properties32.json +1 -0
  79. package/assets/components/assets/icon/saveAs16.json +1 -0
  80. package/assets/components/assets/icon/saveAs24.json +1 -0
  81. package/assets/components/assets/icon/saveAs32.json +1 -0
  82. package/assets/components/assets/icon/splitUnits16.json +1 -0
  83. package/assets/components/assets/icon/splitUnits24.json +1 -0
  84. package/assets/components/assets/icon/splitUnits32.json +1 -0
  85. package/assets/components/assets/icon/storage16.json +1 -0
  86. package/assets/components/assets/icon/storage24.json +1 -0
  87. package/assets/components/assets/icon/storage32.json +1 -0
  88. package/assets/components/assets/panel/t9n/messages.json +3 -1
  89. package/assets/components/assets/panel/t9n/messages_ar.json +3 -1
  90. package/assets/components/assets/panel/t9n/messages_bg.json +3 -1
  91. package/assets/components/assets/panel/t9n/messages_bs.json +3 -1
  92. package/assets/components/assets/panel/t9n/messages_ca.json +3 -1
  93. package/assets/components/assets/panel/t9n/messages_cs.json +3 -1
  94. package/assets/components/assets/panel/t9n/messages_da.json +3 -1
  95. package/assets/components/assets/panel/t9n/messages_de.json +3 -1
  96. package/assets/components/assets/panel/t9n/messages_el.json +3 -1
  97. package/assets/components/assets/panel/t9n/messages_en.json +3 -1
  98. package/assets/components/assets/panel/t9n/messages_es.json +3 -1
  99. package/assets/components/assets/panel/t9n/messages_et.json +3 -1
  100. package/assets/components/assets/panel/t9n/messages_fi.json +3 -1
  101. package/assets/components/assets/panel/t9n/messages_fr.json +3 -1
  102. package/assets/components/assets/panel/t9n/messages_he.json +3 -1
  103. package/assets/components/assets/panel/t9n/messages_hr.json +3 -1
  104. package/assets/components/assets/panel/t9n/messages_hu.json +3 -1
  105. package/assets/components/assets/panel/t9n/messages_id.json +3 -1
  106. package/assets/components/assets/panel/t9n/messages_it.json +3 -1
  107. package/assets/components/assets/panel/t9n/messages_ja.json +3 -1
  108. package/assets/components/assets/panel/t9n/messages_ko.json +3 -1
  109. package/assets/components/assets/panel/t9n/messages_lt.json +3 -1
  110. package/assets/components/assets/panel/t9n/messages_lv.json +3 -1
  111. package/assets/components/assets/panel/t9n/messages_nl.json +3 -1
  112. package/assets/components/assets/panel/t9n/messages_no.json +3 -1
  113. package/assets/components/assets/panel/t9n/messages_pl.json +3 -1
  114. package/assets/components/assets/panel/t9n/messages_pt-BR.json +3 -1
  115. package/assets/components/assets/panel/t9n/messages_pt-PT.json +3 -1
  116. package/assets/components/assets/panel/t9n/messages_ro.json +3 -1
  117. package/assets/components/assets/panel/t9n/messages_ru.json +3 -1
  118. package/assets/components/assets/panel/t9n/messages_sk.json +3 -1
  119. package/assets/components/assets/panel/t9n/messages_sl.json +3 -1
  120. package/assets/components/assets/panel/t9n/messages_sr.json +3 -1
  121. package/assets/components/assets/panel/t9n/messages_sv.json +3 -1
  122. package/assets/components/assets/panel/t9n/messages_th.json +3 -1
  123. package/assets/components/assets/panel/t9n/messages_tr.json +3 -1
  124. package/assets/components/assets/panel/t9n/messages_uk.json +3 -1
  125. package/assets/components/assets/panel/t9n/messages_vi.json +3 -1
  126. package/assets/components/assets/panel/t9n/messages_zh-CN.json +3 -1
  127. package/assets/components/assets/panel/t9n/messages_zh-HK.json +3 -1
  128. package/assets/components/assets/panel/t9n/messages_zh-TW.json +3 -1
  129. package/assets/components/assets/table/t9n/messages_ar.json +5 -5
  130. package/assets/components/assets/table/t9n/messages_bg.json +5 -5
  131. package/assets/components/assets/table/t9n/messages_bs.json +5 -5
  132. package/assets/components/assets/table/t9n/messages_ca.json +5 -5
  133. package/assets/components/assets/table/t9n/messages_cs.json +5 -5
  134. package/assets/components/assets/table/t9n/messages_da.json +5 -5
  135. package/assets/components/assets/table/t9n/messages_de.json +5 -5
  136. package/assets/components/assets/table/t9n/messages_el.json +5 -5
  137. package/assets/components/assets/table/t9n/messages_es.json +5 -5
  138. package/assets/components/assets/table/t9n/messages_et.json +5 -5
  139. package/assets/components/assets/table/t9n/messages_fi.json +5 -5
  140. package/assets/components/assets/table/t9n/messages_fr.json +4 -4
  141. package/assets/components/assets/table/t9n/messages_he.json +5 -5
  142. package/assets/components/assets/table/t9n/messages_hr.json +5 -5
  143. package/assets/components/assets/table/t9n/messages_hu.json +5 -5
  144. package/assets/components/assets/table/t9n/messages_id.json +5 -5
  145. package/assets/components/assets/table/t9n/messages_it.json +5 -5
  146. package/assets/components/assets/table/t9n/messages_ja.json +5 -5
  147. package/assets/components/assets/table/t9n/messages_ko.json +5 -5
  148. package/assets/components/assets/table/t9n/messages_lt.json +5 -5
  149. package/assets/components/assets/table/t9n/messages_lv.json +5 -5
  150. package/assets/components/assets/table/t9n/messages_nl.json +5 -5
  151. package/assets/components/assets/table/t9n/messages_no.json +5 -5
  152. package/assets/components/assets/table/t9n/messages_pl.json +5 -5
  153. package/assets/components/assets/table/t9n/messages_pt-BR.json +5 -5
  154. package/assets/components/assets/table/t9n/messages_pt-PT.json +5 -5
  155. package/assets/components/assets/table/t9n/messages_ro.json +5 -5
  156. package/assets/components/assets/table/t9n/messages_ru.json +5 -5
  157. package/assets/components/assets/table/t9n/messages_sk.json +5 -5
  158. package/assets/components/assets/table/t9n/messages_sl.json +5 -5
  159. package/assets/components/assets/table/t9n/messages_sr.json +5 -5
  160. package/assets/components/assets/table/t9n/messages_sv.json +5 -5
  161. package/assets/components/assets/table/t9n/messages_th.json +5 -5
  162. package/assets/components/assets/table/t9n/messages_tr.json +5 -5
  163. package/assets/components/assets/table/t9n/messages_uk.json +5 -5
  164. package/assets/components/assets/table/t9n/messages_vi.json +5 -5
  165. package/assets/components/assets/table/t9n/messages_zh-CN.json +5 -5
  166. package/assets/components/assets/table/t9n/messages_zh-HK.json +5 -5
  167. package/assets/components/assets/table/t9n/messages_zh-TW.json +5 -5
  168. package/assets/components/assets/table-cell/t9n/messages_ar.json +5 -5
  169. package/assets/components/assets/table-cell/t9n/messages_bg.json +5 -5
  170. package/assets/components/assets/table-cell/t9n/messages_bs.json +5 -5
  171. package/assets/components/assets/table-cell/t9n/messages_ca.json +5 -5
  172. package/assets/components/assets/table-cell/t9n/messages_cs.json +5 -5
  173. package/assets/components/assets/table-cell/t9n/messages_da.json +5 -5
  174. package/assets/components/assets/table-cell/t9n/messages_de.json +5 -5
  175. package/assets/components/assets/table-cell/t9n/messages_el.json +5 -5
  176. package/assets/components/assets/table-cell/t9n/messages_es.json +5 -5
  177. package/assets/components/assets/table-cell/t9n/messages_et.json +5 -5
  178. package/assets/components/assets/table-cell/t9n/messages_fi.json +5 -5
  179. package/assets/components/assets/table-cell/t9n/messages_fr.json +5 -5
  180. package/assets/components/assets/table-cell/t9n/messages_he.json +5 -5
  181. package/assets/components/assets/table-cell/t9n/messages_hr.json +5 -5
  182. package/assets/components/assets/table-cell/t9n/messages_hu.json +5 -5
  183. package/assets/components/assets/table-cell/t9n/messages_id.json +5 -5
  184. package/assets/components/assets/table-cell/t9n/messages_it.json +5 -5
  185. package/assets/components/assets/table-cell/t9n/messages_ja.json +5 -5
  186. package/assets/components/assets/table-cell/t9n/messages_ko.json +5 -5
  187. package/assets/components/assets/table-cell/t9n/messages_lt.json +5 -5
  188. package/assets/components/assets/table-cell/t9n/messages_lv.json +5 -5
  189. package/assets/components/assets/table-cell/t9n/messages_nl.json +5 -5
  190. package/assets/components/assets/table-cell/t9n/messages_no.json +5 -5
  191. package/assets/components/assets/table-cell/t9n/messages_pl.json +5 -5
  192. package/assets/components/assets/table-cell/t9n/messages_pt-BR.json +5 -5
  193. package/assets/components/assets/table-cell/t9n/messages_pt-PT.json +5 -5
  194. package/assets/components/assets/table-cell/t9n/messages_ro.json +5 -5
  195. package/assets/components/assets/table-cell/t9n/messages_ru.json +5 -5
  196. package/assets/components/assets/table-cell/t9n/messages_sk.json +5 -5
  197. package/assets/components/assets/table-cell/t9n/messages_sl.json +5 -5
  198. package/assets/components/assets/table-cell/t9n/messages_sr.json +5 -5
  199. package/assets/components/assets/table-cell/t9n/messages_sv.json +5 -5
  200. package/assets/components/assets/table-cell/t9n/messages_th.json +5 -5
  201. package/assets/components/assets/table-cell/t9n/messages_tr.json +5 -5
  202. package/assets/components/assets/table-cell/t9n/messages_uk.json +5 -5
  203. package/assets/components/assets/table-cell/t9n/messages_vi.json +5 -5
  204. package/assets/components/assets/table-cell/t9n/messages_zh-CN.json +5 -5
  205. package/assets/components/assets/table-cell/t9n/messages_zh-HK.json +5 -5
  206. package/assets/components/assets/table-cell/t9n/messages_zh-TW.json +5 -5
  207. package/assets/components/assets/table-header/t9n/messages_ar.json +6 -6
  208. package/assets/components/assets/table-header/t9n/messages_bg.json +6 -6
  209. package/assets/components/assets/table-header/t9n/messages_bs.json +6 -6
  210. package/assets/components/assets/table-header/t9n/messages_ca.json +6 -6
  211. package/assets/components/assets/table-header/t9n/messages_cs.json +6 -6
  212. package/assets/components/assets/table-header/t9n/messages_da.json +6 -6
  213. package/assets/components/assets/table-header/t9n/messages_de.json +6 -6
  214. package/assets/components/assets/table-header/t9n/messages_el.json +6 -6
  215. package/assets/components/assets/table-header/t9n/messages_es.json +6 -6
  216. package/assets/components/assets/table-header/t9n/messages_et.json +6 -6
  217. package/assets/components/assets/table-header/t9n/messages_fi.json +6 -6
  218. package/assets/components/assets/table-header/t9n/messages_fr.json +6 -6
  219. package/assets/components/assets/table-header/t9n/messages_he.json +6 -6
  220. package/assets/components/assets/table-header/t9n/messages_hr.json +6 -6
  221. package/assets/components/assets/table-header/t9n/messages_hu.json +6 -6
  222. package/assets/components/assets/table-header/t9n/messages_id.json +6 -6
  223. package/assets/components/assets/table-header/t9n/messages_it.json +6 -6
  224. package/assets/components/assets/table-header/t9n/messages_ja.json +6 -6
  225. package/assets/components/assets/table-header/t9n/messages_ko.json +6 -6
  226. package/assets/components/assets/table-header/t9n/messages_lt.json +6 -6
  227. package/assets/components/assets/table-header/t9n/messages_lv.json +6 -6
  228. package/assets/components/assets/table-header/t9n/messages_nl.json +6 -6
  229. package/assets/components/assets/table-header/t9n/messages_no.json +6 -6
  230. package/assets/components/assets/table-header/t9n/messages_pl.json +6 -6
  231. package/assets/components/assets/table-header/t9n/messages_pt-BR.json +6 -6
  232. package/assets/components/assets/table-header/t9n/messages_pt-PT.json +6 -6
  233. package/assets/components/assets/table-header/t9n/messages_ro.json +6 -6
  234. package/assets/components/assets/table-header/t9n/messages_ru.json +6 -6
  235. package/assets/components/assets/table-header/t9n/messages_sk.json +6 -6
  236. package/assets/components/assets/table-header/t9n/messages_sl.json +6 -6
  237. package/assets/components/assets/table-header/t9n/messages_sr.json +6 -6
  238. package/assets/components/assets/table-header/t9n/messages_sv.json +6 -6
  239. package/assets/components/assets/table-header/t9n/messages_th.json +6 -6
  240. package/assets/components/assets/table-header/t9n/messages_tr.json +6 -6
  241. package/assets/components/assets/table-header/t9n/messages_uk.json +6 -6
  242. package/assets/components/assets/table-header/t9n/messages_vi.json +6 -6
  243. package/assets/components/assets/table-header/t9n/messages_zh-CN.json +6 -6
  244. package/assets/components/assets/table-header/t9n/messages_zh-HK.json +6 -6
  245. package/assets/components/assets/table-header/t9n/messages_zh-TW.json +6 -6
  246. package/assets/components/assets/time-picker/t9n/messages_ar.json +3 -0
  247. package/assets/components/assets/time-picker/t9n/messages_bg.json +3 -0
  248. package/assets/components/assets/time-picker/t9n/messages_bs.json +3 -0
  249. package/assets/components/assets/time-picker/t9n/messages_ca.json +3 -0
  250. package/assets/components/assets/time-picker/t9n/messages_cs.json +3 -0
  251. package/assets/components/assets/time-picker/t9n/messages_da.json +3 -0
  252. package/assets/components/assets/time-picker/t9n/messages_de.json +3 -0
  253. package/assets/components/assets/time-picker/t9n/messages_el.json +3 -0
  254. package/assets/components/assets/time-picker/t9n/messages_es.json +3 -0
  255. package/assets/components/assets/time-picker/t9n/messages_et.json +3 -0
  256. package/assets/components/assets/time-picker/t9n/messages_fi.json +3 -0
  257. package/assets/components/assets/time-picker/t9n/messages_fr.json +3 -0
  258. package/assets/components/assets/time-picker/t9n/messages_he.json +3 -0
  259. package/assets/components/assets/time-picker/t9n/messages_hr.json +3 -0
  260. package/assets/components/assets/time-picker/t9n/messages_hu.json +3 -0
  261. package/assets/components/assets/time-picker/t9n/messages_id.json +3 -0
  262. package/assets/components/assets/time-picker/t9n/messages_it.json +3 -0
  263. package/assets/components/assets/time-picker/t9n/messages_ja.json +3 -0
  264. package/assets/components/assets/time-picker/t9n/messages_ko.json +3 -0
  265. package/assets/components/assets/time-picker/t9n/messages_lt.json +3 -0
  266. package/assets/components/assets/time-picker/t9n/messages_lv.json +3 -0
  267. package/assets/components/assets/time-picker/t9n/messages_nl.json +3 -0
  268. package/assets/components/assets/time-picker/t9n/messages_no.json +3 -0
  269. package/assets/components/assets/time-picker/t9n/messages_pl.json +3 -0
  270. package/assets/components/assets/time-picker/t9n/messages_pt-BR.json +3 -0
  271. package/assets/components/assets/time-picker/t9n/messages_pt-PT.json +3 -0
  272. package/assets/components/assets/time-picker/t9n/messages_ro.json +3 -0
  273. package/assets/components/assets/time-picker/t9n/messages_ru.json +3 -0
  274. package/assets/components/assets/time-picker/t9n/messages_sk.json +3 -0
  275. package/assets/components/assets/time-picker/t9n/messages_sl.json +3 -0
  276. package/assets/components/assets/time-picker/t9n/messages_sr.json +3 -0
  277. package/assets/components/assets/time-picker/t9n/messages_sv.json +3 -0
  278. package/assets/components/assets/time-picker/t9n/messages_th.json +3 -0
  279. package/assets/components/assets/time-picker/t9n/messages_tr.json +3 -0
  280. package/assets/components/assets/time-picker/t9n/messages_uk.json +3 -0
  281. package/assets/components/assets/time-picker/t9n/messages_vi.json +3 -0
  282. package/assets/components/assets/time-picker/t9n/messages_zh-CN.json +3 -0
  283. package/assets/components/assets/time-picker/t9n/messages_zh-HK.json +3 -0
  284. package/assets/components/assets/time-picker/t9n/messages_zh-TW.json +3 -0
  285. package/assets/esri/core/workers/RemoteClient.js +1 -1
  286. package/assets/esri/core/workers/chunks/00da3c16741a9bc47f3a.js +1 -0
  287. package/assets/esri/core/workers/chunks/020825b9c12f2b6386a7.js +1 -0
  288. package/assets/esri/core/workers/chunks/07adca463da5554e514d.js +1 -0
  289. package/assets/esri/core/workers/chunks/07c1783baf9b19b4876a.js +1 -0
  290. package/assets/esri/core/workers/chunks/08a98e85e86ce560d005.js +1 -0
  291. package/assets/esri/core/workers/chunks/0e354096ad8817971eed.js +1 -0
  292. package/assets/esri/core/workers/chunks/0e4646d14fa0775bf463.js +1 -0
  293. package/assets/esri/core/workers/chunks/0ea41f142793edb99d3a.js +1 -0
  294. package/assets/esri/core/workers/chunks/10dc578a90e1194c8720.js +1 -0
  295. package/assets/esri/core/workers/chunks/18e0c5bfeb1aa7213dfa.js +1 -0
  296. package/assets/esri/core/workers/chunks/19c9966f74d287750aaa.js +1 -0
  297. package/assets/esri/core/workers/chunks/1a65d9b9f823d1e8b315.js +1 -0
  298. package/assets/esri/core/workers/chunks/1eb5468c7cf653338d53.js +1 -0
  299. package/assets/esri/core/workers/chunks/1f30ea1a598ddd2e5df3.js +1 -0
  300. package/assets/esri/core/workers/chunks/{40c00b352618c7839f7e.js → 1f87f22e00e3218661c6.js} +1 -1
  301. package/assets/esri/core/workers/chunks/1fc3b526e881ada30420.js +1 -0
  302. package/assets/esri/core/workers/chunks/2304b7456ced997904f6.js +1 -0
  303. package/assets/esri/core/workers/chunks/2d92df1e3ba4f05e0510.js +1 -0
  304. package/assets/esri/core/workers/chunks/31cb4c73764555b40328.js +1 -0
  305. package/assets/esri/core/workers/chunks/32bd6a343ea49c331e1f.js +1 -0
  306. package/assets/esri/core/workers/chunks/3491f1945d9c06d8b2c7.js +1 -0
  307. package/assets/esri/core/workers/chunks/366cf9bba6989342e447.js +1 -0
  308. package/assets/esri/core/workers/chunks/37edbd9b05bfdb2e645d.js +1 -0
  309. package/assets/esri/core/workers/chunks/3c5a112a9b58770a5242.js +1 -0
  310. package/assets/esri/core/workers/chunks/41778f8c49febe1f9404.js +1 -0
  311. package/assets/esri/core/workers/chunks/430ec9f5949b31959893.js +1 -0
  312. package/assets/esri/core/workers/chunks/43575b9acf9819f195f9.js +1 -0
  313. package/assets/esri/core/workers/chunks/43f7d9366d06d69e7c50.js +1 -0
  314. package/assets/esri/core/workers/chunks/{e8c7cc974420c0b92d0e.js → 4672504d6fe649da19f2.js} +1 -1
  315. package/assets/esri/core/workers/chunks/4e813f112a428b4acf0e.js +1 -0
  316. package/assets/esri/core/workers/chunks/{e93442c6d92229f3a4b0.js → 51b8913dff24e693bd25.js} +1 -1
  317. package/assets/esri/core/workers/chunks/5386b166f2e5dc0d9143.js +1 -0
  318. package/assets/esri/core/workers/chunks/562eafa5090827ebb7ec.js +1 -0
  319. package/assets/esri/core/workers/chunks/56a61a8bff08ae273de4.js +1 -0
  320. package/assets/esri/core/workers/chunks/580e7d3cbf6797a50ded.js +1 -0
  321. package/assets/esri/core/workers/chunks/5e8f02da4eae41f57383.js +1 -0
  322. package/assets/esri/core/workers/chunks/6046be598e8c673eeb1f.js +1 -0
  323. package/assets/esri/core/workers/chunks/61dec8399919b278b636.js +1 -0
  324. package/assets/esri/core/workers/chunks/6334a8a7b671d4042108.js +1 -0
  325. package/assets/esri/core/workers/chunks/6747503826bfc94bc6c0.js +1 -0
  326. package/assets/esri/core/workers/chunks/6867ed1860afb7aac536.js +1 -0
  327. package/assets/esri/core/workers/chunks/69c1c850af7ee33258e0.js +1 -0
  328. package/assets/esri/core/workers/chunks/70aa04b09143b7dd2ecb.js +1 -0
  329. package/assets/esri/core/workers/chunks/7388fd97e7b1a2142744.js +1 -0
  330. package/assets/esri/core/workers/chunks/7648f3341b7dff2825c3.js +1 -0
  331. package/assets/esri/core/workers/chunks/768271a12dc7e1781447.js +1 -0
  332. package/assets/esri/core/workers/chunks/{efb17a298363beca5209.js → 7756ed853b4ba54cd081.js} +1 -1
  333. package/assets/esri/core/workers/chunks/7f3bc7a2de59e485f22f.js +1 -0
  334. package/assets/esri/core/workers/chunks/7f433e25f3892475d5dc.js +1 -0
  335. package/assets/esri/core/workers/chunks/80bf6cf1bef17215bca4.js +1 -0
  336. package/assets/esri/core/workers/chunks/83d063b7ce768e9ab3de.js +1 -0
  337. package/assets/esri/core/workers/chunks/83f7e22a12d90ef93e62.js +1 -0
  338. package/assets/esri/core/workers/chunks/{4cc680fe4c9c39d2f853.js → 8a7fa4e8b0d14da7c9eb.js} +1 -1
  339. package/assets/esri/core/workers/chunks/92d8f75e616afa5c761e.js +1 -0
  340. package/assets/esri/core/workers/chunks/99fd09dd42b75a932e84.js +1 -0
  341. package/assets/esri/core/workers/chunks/{f0664a24f2c3705747a5.js → 9c77d69a13ec22cdd760.js} +1 -1
  342. package/assets/esri/core/workers/chunks/a360534e89a337871921.js +1 -0
  343. package/assets/esri/core/workers/chunks/a4341ec0fe89b865d849.js +1 -0
  344. package/assets/esri/core/workers/chunks/a821fa1870b83fed5d31.js +1 -0
  345. package/assets/esri/core/workers/chunks/a8e4726c1db23324eb54.js +1 -0
  346. package/assets/esri/core/workers/chunks/abcfe3bda6f40318b092.js +1 -0
  347. package/assets/esri/core/workers/chunks/ac3e429d43f80c596ec8.js +1 -0
  348. package/assets/esri/core/workers/chunks/ac53b5479dd229fa4f7d.js +1 -0
  349. package/assets/esri/core/workers/chunks/adf6bcf2447c95aeb440.js +1 -0
  350. package/assets/esri/core/workers/chunks/aeb3efa91165dd3d2493.js.LICENSE.txt +1 -1
  351. package/assets/esri/core/workers/chunks/b03eaba5fa75d6ef834a.js +1 -0
  352. package/assets/esri/core/workers/chunks/b251d8a856dc8b9406e0.js +1 -0
  353. package/assets/esri/core/workers/chunks/b3f5e97b47e896c6008a.js +1 -0
  354. package/assets/esri/core/workers/chunks/b6cc8d7dcc710231fe72.js +1 -0
  355. package/assets/esri/core/workers/chunks/b7c81a5bbcdd94b8a7f6.js +1 -0
  356. package/assets/esri/core/workers/chunks/b9a726f3bbad6fd4d65a.js +1 -0
  357. package/assets/esri/core/workers/chunks/c416df0668f6c596095f.js +1 -0
  358. package/assets/esri/core/workers/chunks/c447f4bf0e5f012f8f9b.js +1 -0
  359. package/assets/esri/core/workers/chunks/c7bd63103f101c09b1ea.js +1 -0
  360. package/assets/esri/core/workers/chunks/ca3d5803cdf035d7389d.js +1 -0
  361. package/assets/esri/core/workers/chunks/cb4b17f5cf96a9e36781.js +1 -0
  362. package/assets/esri/core/workers/chunks/cbddfcf57f72428a6992.js +1 -0
  363. package/assets/esri/core/workers/chunks/cc86c8c88124d916e1b3.js +1 -0
  364. package/assets/esri/core/workers/chunks/d0119dff8771e749436a.js +1 -0
  365. package/assets/esri/core/workers/chunks/d07235ce2765a25b9be4.js +1 -0
  366. package/assets/esri/core/workers/chunks/d0f903f2257eb96f7789.js +1 -0
  367. package/assets/esri/core/workers/chunks/d153a8b71111165fc891.js +1 -0
  368. package/assets/esri/core/workers/chunks/d213024012b1a019bfde.js +1 -0
  369. package/assets/esri/core/workers/chunks/d5fec54e98c8622349a4.js +1 -0
  370. package/assets/esri/core/workers/chunks/d878bb6409df183ea0ce.js +1 -0
  371. package/assets/esri/core/workers/chunks/da124ccd18d2745195fe.js +1 -0
  372. package/assets/esri/core/workers/chunks/dd55151bfac60b0deaac.js +1 -0
  373. package/assets/esri/core/workers/chunks/e06cd10b6f8f363b5131.js +1 -0
  374. package/assets/esri/core/workers/chunks/e5352dc8983d06d4ee0f.js +1 -0
  375. package/assets/esri/core/workers/chunks/e67c4b7ad06d8404895a.js +1 -0
  376. package/assets/esri/core/workers/chunks/e810336a4292ea6076a6.js +1 -0
  377. package/assets/esri/core/workers/chunks/{18ab9cc85a1a7988fdfd.js → ea9ae9d2aef01af90896.js} +1 -1
  378. package/assets/esri/core/workers/chunks/ef757269fb3fe0e74ef8.js +1 -0
  379. package/assets/esri/core/workers/chunks/f0d342303fc20e266d27.js +1 -0
  380. package/assets/esri/core/workers/chunks/f73563b23fd8dc6cf2fe.js +1 -0
  381. package/assets/esri/core/workers/chunks/f85107720159b855a469.js +1 -0
  382. package/assets/esri/core/workers/chunks/fbc57985d55b5fbe1e8a.js +1 -0
  383. package/assets/esri/core/workers/chunks/fc95b1a36ed68b851400.js +1 -0
  384. package/assets/esri/core/workers/chunks/{7cf7f2b991a7cbdad2ce.js → fd28400141a6751327ae.js} +1 -1
  385. package/assets/esri/t9n/common.json +1 -1
  386. package/assets/esri/t9n/common_ar.json +1 -1
  387. package/assets/esri/t9n/common_bg.json +1 -1
  388. package/assets/esri/t9n/common_bs.json +1 -1
  389. package/assets/esri/t9n/common_ca.json +1 -1
  390. package/assets/esri/t9n/common_cs.json +1 -1
  391. package/assets/esri/t9n/common_da.json +1 -1
  392. package/assets/esri/t9n/common_de.json +1 -1
  393. package/assets/esri/t9n/common_el.json +1 -1
  394. package/assets/esri/t9n/common_en.json +1 -1
  395. package/assets/esri/t9n/common_es.json +1 -1
  396. package/assets/esri/t9n/common_et.json +1 -1
  397. package/assets/esri/t9n/common_fi.json +1 -1
  398. package/assets/esri/t9n/common_fr.json +1 -1
  399. package/assets/esri/t9n/common_he.json +1 -1
  400. package/assets/esri/t9n/common_hr.json +1 -1
  401. package/assets/esri/t9n/common_hu.json +1 -1
  402. package/assets/esri/t9n/common_id.json +1 -1
  403. package/assets/esri/t9n/common_it.json +1 -1
  404. package/assets/esri/t9n/common_ja.json +1 -1
  405. package/assets/esri/t9n/common_ko.json +1 -1
  406. package/assets/esri/t9n/common_lt.json +1 -1
  407. package/assets/esri/t9n/common_lv.json +1 -1
  408. package/assets/esri/t9n/common_nb.json +1 -1
  409. package/assets/esri/t9n/common_nl.json +1 -1
  410. package/assets/esri/t9n/common_pl.json +1 -1
  411. package/assets/esri/t9n/common_pt-BR.json +1 -1
  412. package/assets/esri/t9n/common_pt-PT.json +1 -1
  413. package/assets/esri/t9n/common_ro.json +1 -1
  414. package/assets/esri/t9n/common_ru.json +1 -1
  415. package/assets/esri/t9n/common_sk.json +1 -1
  416. package/assets/esri/t9n/common_sl.json +1 -1
  417. package/assets/esri/t9n/common_sr.json +1 -1
  418. package/assets/esri/t9n/common_sv.json +1 -1
  419. package/assets/esri/t9n/common_th.json +1 -1
  420. package/assets/esri/t9n/common_tr.json +1 -1
  421. package/assets/esri/t9n/common_uk.json +1 -1
  422. package/assets/esri/t9n/common_vi.json +1 -1
  423. package/assets/esri/t9n/common_zh-CN.json +1 -1
  424. package/assets/esri/t9n/common_zh-HK.json +1 -1
  425. package/assets/esri/t9n/common_zh-TW.json +1 -1
  426. package/assets/esri/themes/base/_core.scss +2 -0
  427. package/assets/esri/themes/base/widgets/_DatePicker.scss +4 -0
  428. package/assets/esri/themes/base/widgets/_FeatureForm.scss +10 -14
  429. package/assets/esri/themes/base/widgets/_Features.scss +1 -1
  430. package/assets/esri/themes/base/widgets/_ScaleRangeSlider.scss +1 -1
  431. package/assets/esri/themes/base/widgets/_TimeZoneLabel.scss +46 -0
  432. package/assets/esri/themes/base/widgets/_Tooltip.scss +1 -1
  433. package/assets/esri/themes/base/widgets/_UtilityNetworkTrace.scss +4 -0
  434. package/assets/esri/themes/dark/main.css +1 -1
  435. package/assets/esri/themes/light/main.css +1 -1
  436. package/assets/esri/themes/light/view.css +1 -1
  437. package/assets/esri/widgets/Editor/t9n/Editor_ar.json +1 -1
  438. package/assets/esri/widgets/Editor/t9n/Editor_bg.json +1 -1
  439. package/assets/esri/widgets/Editor/t9n/Editor_bs.json +1 -1
  440. package/assets/esri/widgets/Editor/t9n/Editor_ca.json +1 -1
  441. package/assets/esri/widgets/Editor/t9n/Editor_cs.json +1 -1
  442. package/assets/esri/widgets/Editor/t9n/Editor_da.json +1 -1
  443. package/assets/esri/widgets/Editor/t9n/Editor_de.json +1 -1
  444. package/assets/esri/widgets/Editor/t9n/Editor_el.json +1 -1
  445. package/assets/esri/widgets/Editor/t9n/Editor_es.json +1 -1
  446. package/assets/esri/widgets/Editor/t9n/Editor_et.json +1 -1
  447. package/assets/esri/widgets/Editor/t9n/Editor_fi.json +1 -1
  448. package/assets/esri/widgets/Editor/t9n/Editor_fr.json +1 -1
  449. package/assets/esri/widgets/Editor/t9n/Editor_he.json +1 -1
  450. package/assets/esri/widgets/Editor/t9n/Editor_hr.json +1 -1
  451. package/assets/esri/widgets/Editor/t9n/Editor_hu.json +1 -1
  452. package/assets/esri/widgets/Editor/t9n/Editor_id.json +1 -1
  453. package/assets/esri/widgets/Editor/t9n/Editor_it.json +1 -1
  454. package/assets/esri/widgets/Editor/t9n/Editor_ja.json +1 -1
  455. package/assets/esri/widgets/Editor/t9n/Editor_ko.json +1 -1
  456. package/assets/esri/widgets/Editor/t9n/Editor_lt.json +1 -1
  457. package/assets/esri/widgets/Editor/t9n/Editor_lv.json +1 -1
  458. package/assets/esri/widgets/Editor/t9n/Editor_nb.json +1 -1
  459. package/assets/esri/widgets/Editor/t9n/Editor_nl.json +1 -1
  460. package/assets/esri/widgets/Editor/t9n/Editor_pl.json +1 -1
  461. package/assets/esri/widgets/Editor/t9n/Editor_pt-BR.json +1 -1
  462. package/assets/esri/widgets/Editor/t9n/Editor_pt-PT.json +1 -1
  463. package/assets/esri/widgets/Editor/t9n/Editor_ro.json +1 -1
  464. package/assets/esri/widgets/Editor/t9n/Editor_ru.json +1 -1
  465. package/assets/esri/widgets/Editor/t9n/Editor_sk.json +1 -1
  466. package/assets/esri/widgets/Editor/t9n/Editor_sl.json +1 -1
  467. package/assets/esri/widgets/Editor/t9n/Editor_sr.json +1 -1
  468. package/assets/esri/widgets/Editor/t9n/Editor_sv.json +1 -1
  469. package/assets/esri/widgets/Editor/t9n/Editor_th.json +1 -1
  470. package/assets/esri/widgets/Editor/t9n/Editor_tr.json +1 -1
  471. package/assets/esri/widgets/Editor/t9n/Editor_uk.json +1 -1
  472. package/assets/esri/widgets/Editor/t9n/Editor_vi.json +1 -1
  473. package/assets/esri/widgets/Editor/t9n/Editor_zh-CN.json +1 -1
  474. package/assets/esri/widgets/Editor/t9n/Editor_zh-HK.json +1 -1
  475. package/assets/esri/widgets/Editor/t9n/Editor_zh-TW.json +1 -1
  476. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ar.json +1 -1
  477. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_bg.json +1 -1
  478. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_bs.json +1 -1
  479. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ca.json +1 -1
  480. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_cs.json +1 -1
  481. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_da.json +1 -1
  482. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_de.json +1 -1
  483. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_el.json +1 -1
  484. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_es.json +1 -1
  485. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_et.json +1 -1
  486. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_fi.json +1 -1
  487. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_fr.json +1 -1
  488. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_he.json +1 -1
  489. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_hr.json +1 -1
  490. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_hu.json +1 -1
  491. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_id.json +1 -1
  492. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_it.json +1 -1
  493. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ja.json +1 -1
  494. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ko.json +1 -1
  495. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_lt.json +1 -1
  496. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_lv.json +1 -1
  497. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_nb.json +1 -1
  498. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_nl.json +1 -1
  499. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_pl.json +1 -1
  500. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_pt-BR.json +1 -1
  501. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_pt-PT.json +1 -1
  502. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ro.json +1 -1
  503. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ru.json +1 -1
  504. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_sk.json +1 -1
  505. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_sl.json +1 -1
  506. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_sr.json +1 -1
  507. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_sv.json +1 -1
  508. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_th.json +1 -1
  509. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_tr.json +1 -1
  510. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_uk.json +1 -1
  511. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_vi.json +1 -1
  512. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_zh-CN.json +1 -1
  513. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_zh-HK.json +1 -1
  514. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_zh-TW.json +1 -1
  515. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ar.json +1 -1
  516. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bg.json +1 -1
  517. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bs.json +1 -1
  518. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ca.json +1 -1
  519. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_cs.json +1 -1
  520. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_da.json +1 -1
  521. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_de.json +1 -1
  522. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_el.json +1 -1
  523. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_es.json +1 -1
  524. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_et.json +1 -1
  525. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fi.json +1 -1
  526. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fr.json +1 -1
  527. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_he.json +1 -1
  528. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hr.json +1 -1
  529. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hu.json +1 -1
  530. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_id.json +1 -1
  531. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_it.json +1 -1
  532. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ja.json +1 -1
  533. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ko.json +1 -1
  534. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lt.json +1 -1
  535. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lv.json +1 -1
  536. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_nb.json +1 -1
  537. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_nl.json +1 -1
  538. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pl.json +1 -1
  539. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-BR.json +1 -1
  540. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-PT.json +1 -1
  541. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ro.json +1 -1
  542. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ru.json +1 -1
  543. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sk.json +1 -1
  544. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sl.json +1 -1
  545. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sr.json +1 -1
  546. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sv.json +1 -1
  547. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_th.json +1 -1
  548. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_tr.json +1 -1
  549. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_uk.json +1 -1
  550. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_vi.json +1 -1
  551. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-CN.json +1 -1
  552. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-HK.json +1 -1
  553. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-TW.json +1 -1
  554. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_ar.json +1 -1
  555. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_bg.json +1 -1
  556. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_bs.json +1 -1
  557. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_ca.json +1 -1
  558. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_cs.json +1 -1
  559. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_da.json +1 -1
  560. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_de.json +1 -1
  561. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_el.json +1 -1
  562. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_es.json +1 -1
  563. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_et.json +1 -1
  564. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_fi.json +1 -1
  565. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_fr.json +1 -1
  566. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_he.json +1 -1
  567. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_hr.json +1 -1
  568. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_hu.json +1 -1
  569. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_id.json +1 -1
  570. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_it.json +1 -1
  571. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_ja.json +1 -1
  572. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_ko.json +1 -1
  573. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_lt.json +1 -1
  574. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_lv.json +1 -1
  575. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_nb.json +1 -1
  576. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_nl.json +1 -1
  577. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_pl.json +1 -1
  578. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_pt-BR.json +1 -1
  579. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_pt-PT.json +1 -1
  580. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_ro.json +1 -1
  581. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_ru.json +1 -1
  582. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_sk.json +1 -1
  583. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_sl.json +1 -1
  584. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_sr.json +1 -1
  585. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_sv.json +1 -1
  586. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_th.json +1 -1
  587. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_tr.json +1 -1
  588. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_uk.json +1 -1
  589. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_vi.json +1 -1
  590. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_zh-CN.json +1 -1
  591. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_zh-HK.json +1 -1
  592. package/assets/esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider_zh-TW.json +1 -1
  593. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_ar.json +1 -1
  594. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_bg.json +1 -1
  595. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_bs.json +1 -1
  596. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_ca.json +1 -1
  597. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_cs.json +1 -1
  598. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_da.json +1 -1
  599. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_de.json +1 -1
  600. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_el.json +1 -1
  601. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_es.json +1 -1
  602. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_et.json +1 -1
  603. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_fi.json +1 -1
  604. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_fr.json +1 -1
  605. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_he.json +1 -1
  606. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_hr.json +1 -1
  607. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_hu.json +1 -1
  608. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_id.json +1 -1
  609. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_it.json +1 -1
  610. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_ja.json +1 -1
  611. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_ko.json +1 -1
  612. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_lt.json +1 -1
  613. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_lv.json +1 -1
  614. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_nb.json +1 -1
  615. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_nl.json +1 -1
  616. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_pl.json +1 -1
  617. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_pt-BR.json +1 -1
  618. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_pt-PT.json +1 -1
  619. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_ro.json +1 -1
  620. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_ru.json +1 -1
  621. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_sk.json +1 -1
  622. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_sl.json +1 -1
  623. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_sr.json +1 -1
  624. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_sv.json +1 -1
  625. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_th.json +1 -1
  626. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_tr.json +1 -1
  627. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_uk.json +1 -1
  628. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_vi.json +1 -1
  629. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_zh-CN.json +1 -1
  630. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_zh-HK.json +1 -1
  631. package/assets/esri/widgets/TimeZoneLabel/t9n/TimeZoneLabel_zh-TW.json +1 -1
  632. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_ar.json +1 -1
  633. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_bg.json +1 -1
  634. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_bs.json +1 -1
  635. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_ca.json +1 -1
  636. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_cs.json +1 -1
  637. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_da.json +1 -1
  638. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_de.json +1 -1
  639. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_el.json +1 -1
  640. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_es.json +1 -1
  641. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_et.json +1 -1
  642. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_fi.json +1 -1
  643. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_fr.json +1 -1
  644. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_he.json +1 -1
  645. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_hr.json +1 -1
  646. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_hu.json +1 -1
  647. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_id.json +1 -1
  648. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_it.json +1 -1
  649. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_ja.json +1 -1
  650. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_ko.json +1 -1
  651. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_lt.json +1 -1
  652. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_lv.json +1 -1
  653. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_nb.json +1 -1
  654. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_nl.json +1 -1
  655. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_pl.json +1 -1
  656. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_pt-BR.json +1 -1
  657. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_pt-PT.json +1 -1
  658. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_ro.json +1 -1
  659. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_ru.json +1 -1
  660. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_sk.json +1 -1
  661. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_sl.json +1 -1
  662. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_sr.json +1 -1
  663. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_sv.json +1 -1
  664. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_th.json +1 -1
  665. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_tr.json +1 -1
  666. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_uk.json +1 -1
  667. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_vi.json +1 -1
  668. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_zh-CN.json +1 -1
  669. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_zh-HK.json +1 -1
  670. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_zh-TW.json +1 -1
  671. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_ar.json +1 -1
  672. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_bg.json +1 -1
  673. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_bs.json +1 -1
  674. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_ca.json +1 -1
  675. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_cs.json +1 -1
  676. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_da.json +1 -1
  677. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_de.json +1 -1
  678. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_el.json +1 -1
  679. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_es.json +1 -1
  680. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_et.json +1 -1
  681. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_fi.json +1 -1
  682. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_fr.json +1 -1
  683. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_he.json +1 -1
  684. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_hr.json +1 -1
  685. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_hu.json +1 -1
  686. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_id.json +1 -1
  687. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_it.json +1 -1
  688. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_ja.json +1 -1
  689. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_ko.json +1 -1
  690. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_lt.json +1 -1
  691. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_lv.json +1 -1
  692. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_nb.json +1 -1
  693. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_nl.json +1 -1
  694. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_pl.json +1 -1
  695. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_pt-BR.json +1 -1
  696. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_pt-PT.json +1 -1
  697. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_ro.json +1 -1
  698. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_ru.json +1 -1
  699. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_sk.json +1 -1
  700. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_sl.json +1 -1
  701. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_sr.json +1 -1
  702. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_sv.json +1 -1
  703. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_th.json +1 -1
  704. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_tr.json +1 -1
  705. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_uk.json +1 -1
  706. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_vi.json +1 -1
  707. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_zh-CN.json +1 -1
  708. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_zh-HK.json +1 -1
  709. package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_zh-TW.json +1 -1
  710. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_ar.json +1 -1
  711. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_bg.json +1 -1
  712. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_bs.json +1 -1
  713. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_ca.json +1 -1
  714. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_cs.json +1 -1
  715. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_da.json +1 -1
  716. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_de.json +1 -1
  717. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_el.json +1 -1
  718. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_es.json +1 -1
  719. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_et.json +1 -1
  720. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_fi.json +1 -1
  721. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_fr.json +1 -1
  722. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_he.json +1 -1
  723. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_hr.json +1 -1
  724. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_hu.json +1 -1
  725. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_id.json +1 -1
  726. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_it.json +1 -1
  727. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_ja.json +1 -1
  728. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_ko.json +1 -1
  729. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_lt.json +1 -1
  730. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_lv.json +1 -1
  731. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_nb.json +1 -1
  732. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_nl.json +1 -1
  733. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_pl.json +1 -1
  734. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_pt-BR.json +1 -1
  735. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_pt-PT.json +1 -1
  736. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_ro.json +1 -1
  737. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_ru.json +1 -1
  738. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_sk.json +1 -1
  739. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_sl.json +1 -1
  740. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_sr.json +1 -1
  741. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_sv.json +1 -1
  742. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_th.json +1 -1
  743. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_tr.json +1 -1
  744. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_uk.json +1 -1
  745. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_vi.json +1 -1
  746. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_zh-CN.json +1 -1
  747. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_zh-HK.json +1 -1
  748. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_zh-TW.json +1 -1
  749. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_ar.json +1 -1
  750. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_bg.json +1 -1
  751. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_bs.json +1 -1
  752. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_ca.json +1 -1
  753. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_cs.json +1 -1
  754. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_da.json +1 -1
  755. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_de.json +1 -1
  756. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_el.json +1 -1
  757. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_es.json +1 -1
  758. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_et.json +1 -1
  759. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_fi.json +1 -1
  760. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_fr.json +1 -1
  761. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_he.json +1 -1
  762. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_hr.json +1 -1
  763. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_hu.json +1 -1
  764. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_id.json +1 -1
  765. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_it.json +1 -1
  766. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_ja.json +1 -1
  767. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_ko.json +1 -1
  768. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_lt.json +1 -1
  769. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_lv.json +1 -1
  770. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_nb.json +1 -1
  771. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_nl.json +1 -1
  772. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_pl.json +1 -1
  773. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_pt-BR.json +1 -1
  774. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_pt-PT.json +1 -1
  775. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_ro.json +1 -1
  776. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_ru.json +1 -1
  777. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_sk.json +1 -1
  778. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_sl.json +1 -1
  779. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_sr.json +1 -1
  780. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_sv.json +1 -1
  781. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_th.json +1 -1
  782. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_tr.json +1 -1
  783. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_uk.json +1 -1
  784. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_vi.json +1 -1
  785. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_zh-CN.json +1 -1
  786. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_zh-HK.json +1 -1
  787. package/assets/esri/widgets/support/SketchTooltipControls/t9n/SketchTooltipControls_zh-TW.json +1 -1
  788. package/chunks/ComponentShader.glsl.js +27 -27
  789. package/chunks/HighlightApply.glsl.js +6 -7
  790. package/chunks/HighlightBlur.glsl.js +5 -6
  791. package/chunks/HighlightDownsample.glsl.js +8 -8
  792. package/chunks/languageUtils.js +1 -1
  793. package/core/MemCache.js +1 -1
  794. package/core/MemCachePool.js +1 -1
  795. package/core/colorUtils.js +1 -1
  796. package/core/sql/WhereClauseCache.js +1 -1
  797. package/geometry/GeometryCursor.js +1 -1
  798. package/geometry/support/meshUtils/loadExternal.js +1 -1
  799. package/interfaces.d.ts +320 -46
  800. package/intl/date.js +1 -1
  801. package/kernel.js +1 -1
  802. package/layers/GroupLayer.js +1 -1
  803. package/layers/MapNotesLayer.js +1 -1
  804. package/layers/SceneLayer.js +1 -1
  805. package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
  806. package/layers/graphics/data/AttributesBuilder.js +1 -1
  807. package/layers/graphics/data/FeatureStore.js +1 -1
  808. package/layers/graphics/data/QueryEngine.js +1 -1
  809. package/layers/graphics/data/QueryEngineResult.js +1 -1
  810. package/layers/graphics/data/attributeSupport.js +1 -1
  811. package/layers/graphics/data/geometryUtils.js +5 -0
  812. package/layers/graphics/data/queryUtils.js +5 -0
  813. package/layers/graphics/data/queryValidationUtils.js +5 -0
  814. package/layers/graphics/data/spatialQuerySupport.js +1 -1
  815. package/layers/graphics/editingSupport.js +1 -1
  816. package/layers/graphics/sources/FeatureLayerSource.js +1 -1
  817. package/layers/graphics/sources/csv/csv.js +1 -1
  818. package/layers/graphics/sources/geojson/GeoJSONSourceWorker.js +1 -1
  819. package/layers/graphics/sources/support/MemorySourceWorker.js +1 -1
  820. package/layers/graphics/sources/support/sourceUtils.js +1 -1
  821. package/layers/ogc/wfsUtils.js +1 -1
  822. package/layers/support/Field.js +1 -1
  823. package/layers/support/FieldsIndex.js +1 -1
  824. package/layers/support/LayerContingentValuesCache.js +1 -1
  825. package/layers/support/fieldProperties.js +1 -1
  826. package/layers/support/fieldUtils.js +1 -1
  827. package/layers/support/imageryRendererUtils.js +1 -1
  828. package/layers/support/labelFormatUtils.js +1 -1
  829. package/layers/support/rasterFormats/Lerc.js +1 -1
  830. package/layers/support/rasterFormats/RasterCodec.js +1 -1
  831. package/layers/support/rasterFormats/pixelRangeUtils.js +1 -1
  832. package/package.json +2 -2
  833. package/renderers/UniqueValueRenderer.js +1 -1
  834. package/renderers/support/utils.js +1 -1
  835. package/rest/featureService/FeatureService.js +1 -1
  836. package/rest/query/operations/query.js +1 -1
  837. package/smartMapping/labels/clusters.js +1 -1
  838. package/smartMapping/popup/support/clusterUtils.js +1 -1
  839. package/smartMapping/renderers/color.js +1 -1
  840. package/smartMapping/renderers/opacity.js +1 -1
  841. package/smartMapping/renderers/size.js +1 -1
  842. package/smartMapping/renderers/support/utils.js +1 -1
  843. package/smartMapping/renderers/type.js +1 -1
  844. package/smartMapping/renderers/univariateColorSize.js +1 -1
  845. package/smartMapping/statistics/histogram.js +1 -1
  846. package/smartMapping/statistics/summaryStatistics.js +1 -1
  847. package/smartMapping/statistics/support/statsWorker.js +1 -1
  848. package/smartMapping/statistics/support/utils.js +1 -1
  849. package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
  850. package/smartMapping/support/adapters/FeatureLayerBinningAdapter.js +1 -1
  851. package/smartMapping/support/adapters/InMemoryLayerAdapter.js +1 -1
  852. package/smartMapping/support/adapters/OGCFeatureLayerAdapter.js +1 -1
  853. package/smartMapping/support/adapters/SceneLayerAdapter.js +1 -1
  854. package/smartMapping/support/adapters/StreamLayerAdapter.js +1 -1
  855. package/smartMapping/support/adapters/support/utils.js +1 -1
  856. package/smartMapping/support/clusterUtils.js +1 -1
  857. package/smartMapping/support/utils.js +1 -1
  858. package/support/revision.js +1 -1
  859. package/symbols/cim/CIMSymbolHelper.js +1 -1
  860. package/symbols/cim/effects/EffectDashes.js +1 -1
  861. package/symbols/support/previewCIMSymbol.js +1 -1
  862. package/time/timeZoneUtils.js +1 -1
  863. package/versionManagement/VersionManagementService.js +1 -1
  864. package/views/2d/engine/BitmapContainer.js +1 -1
  865. package/views/2d/engine/BitmapTile.js +1 -1
  866. package/views/2d/engine/Container.js +1 -1
  867. package/views/2d/engine/DisplayObject.js +1 -1
  868. package/views/2d/engine/FeatureContainer.js +1 -1
  869. package/views/2d/engine/Stage.js +1 -1
  870. package/views/2d/engine/flow/FlowContainer.js +1 -1
  871. package/views/2d/engine/imagery/RasterVFContainer.js +1 -1
  872. package/views/2d/engine/vectorTiles/RenderBucket.js +1 -1
  873. package/views/2d/engine/webgl/OverlayContainer.js +1 -1
  874. package/views/2d/engine/webgl/Painter.js +1 -1
  875. package/views/2d/engine/webgl/TileContainer.js +1 -1
  876. package/views/2d/engine/webgl/WGLContainer.js +1 -1
  877. package/views/2d/input/handlers/KeyPan.js +1 -1
  878. package/views/2d/layers/GroupLayerView2D.js +1 -1
  879. package/views/2d/layers/ImageryLayerView2D.js +1 -1
  880. package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
  881. package/views/2d/layers/MapNotesLayerView2D.js +1 -1
  882. package/views/2d/layers/features/controllers/FeatureController2D.js +1 -1
  883. package/views/2d/layers/features/support/FeatureFilter.js +1 -1
  884. package/views/2d/viewpointUtils.js +1 -1
  885. package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementVisualization.js +1 -1
  886. package/views/3d/analysis/DirectLineMeasurement/DirectLineMeasurementVisualization.js +1 -1
  887. package/views/3d/glTF/internal/Resource.js +1 -1
  888. package/views/3d/interactive/editingTools/transformGraphic/GraphicScaleRotateTransform.js +1 -1
  889. package/views/3d/layers/I3SMeshView3D.js +1 -1
  890. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  891. package/views/3d/layers/graphics/Graphics3DFeatureProcessor.js +1 -1
  892. package/views/3d/layers/i3s/I3SOverrides.js +1 -1
  893. package/views/3d/layers/i3s/I3SQueryEngine.js +1 -1
  894. package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
  895. package/views/3d/support/buffer/InterleavedLayout.js +1 -1
  896. package/views/3d/terrain/PlanarPatch.js +1 -1
  897. package/views/3d/terrain/SphericalPatch.js +1 -1
  898. package/views/3d/terrain/TerrainSurface.js +1 -1
  899. package/views/3d/terrain/Tile.js +1 -1
  900. package/views/3d/terrain/TileRenderer.js +1 -1
  901. package/views/3d/terrain/TileTexture.js +1 -1
  902. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  903. package/views/3d/webgl-engine/collections/Component/Material/shader/VertexDiscardByOpacity.glsl.js +1 -1
  904. package/views/3d/webgl-engine/core/FBOCache.js +1 -1
  905. package/views/3d/webgl-engine/core/shaderLibrary/hud/HUD.glsl.js +54 -33
  906. package/views/3d/webgl-engine/core/shaderLibrary/hud/HUDOcclusionPass.glsl.js +1 -2
  907. package/views/3d/webgl-engine/core/shaderLibrary/shading/ScreenSpaceReflections.glsl.js +1 -1
  908. package/views/3d/webgl-engine/effects/highlight/Highlight.js +1 -1
  909. package/views/3d/webgl-engine/effects/highlight/HighlightPassParameters.js +1 -1
  910. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  911. package/views/3d/webgl-engine/lib/TextRenderer.js +1 -1
  912. package/views/3d/webgl-engine/lib/edgeRendering/EdgeRenderer.js +1 -1
  913. package/views/3d/webgl-engine/lib/edgeRendering/EdgeView.js +1 -1
  914. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  915. package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
  916. package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
  917. package/views/3d/webgl-engine/shaders/HUDMaterialTechniqueConfiguration.js +1 -1
  918. package/views/3d/webgl-engine/shaders/HighlightApply.glsl.js +1 -1
  919. package/views/3d/webgl-engine/shaders/HighlightBlur.glsl.js +1 -1
  920. package/views/3d/webgl-engine/shaders/HighlightDownsample.glsl.js +1 -1
  921. package/views/3d/webgl-engine/shaders/LineCalloutTechniqueConfiguration.js +1 -1
  922. package/views/DOMContainer.js +1 -1
  923. package/views/interactive/SegmentLabels.js +1 -1
  924. package/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiledFetcher.js +1 -1
  925. package/views/overlay/TextOverlayItem.js +1 -1
  926. package/views/webgl/VertexArrayObject.js +1 -1
  927. package/webdoc/webdocLoadUtils.js +1 -1
  928. package/widgets/AreaMeasurement2D/AreaMeasurement2DTool.js +1 -1
  929. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DTool.js +1 -1
  930. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  931. package/widgets/Editor/CreateFeaturesWorkflowData.js +1 -1
  932. package/widgets/Editor/EditorViewModel.js +1 -1
  933. package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
  934. package/widgets/Editor/UpdateRecordWorkflow.js +1 -1
  935. package/widgets/Editor/UpdateWorkflow.js +1 -1
  936. package/widgets/Editor/workflowUtils.js +1 -1
  937. package/widgets/Editor.js +1 -1
  938. package/widgets/Feature/FeatureRelationship/FeatureRelationshipViewModel.js +1 -1
  939. package/widgets/Feature/FeatureViewModel.js +1 -1
  940. package/widgets/Feature/support/featureUtils.js +1 -1
  941. package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
  942. package/widgets/FeatureForm/FieldInput.js +1 -1
  943. package/widgets/FeatureForm/InputBase.js +1 -1
  944. package/widgets/FeatureForm/RelationshipInput.js +1 -1
  945. package/widgets/FeatureForm/css.js +1 -1
  946. package/widgets/FeatureForm/featureFormUtils.js +1 -1
  947. package/widgets/FeatureForm.js +1 -1
  948. package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
  949. package/widgets/FeatureTable/FieldColumn.js +1 -1
  950. package/widgets/Features/FeaturesViewModel.js +1 -1
  951. package/widgets/Features/css.js +1 -1
  952. package/widgets/Features.js +1 -1
  953. package/widgets/Legend/LegendViewModel.js +1 -1
  954. package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
  955. package/widgets/Legend/support/utils.js +1 -1
  956. package/widgets/LineOfSight.js +1 -1
  957. package/widgets/OrientedImageryViewer.d.ts +4 -0
  958. package/widgets/Popup/actionUtils.js +1 -1
  959. package/widgets/ScaleRangeSlider.js +1 -1
  960. package/widgets/TimeZoneLabel/TimeZoneLabelViewModel.js +5 -0
  961. package/widgets/TimeZoneLabel/css.js +5 -0
  962. package/widgets/TimeZoneLabel.d.ts +4 -0
  963. package/widgets/TimeZoneLabel.js +5 -0
  964. package/widgets/UtilityNetworkAssociations/UtilityNetworkAssociationsViewModel.js +1 -1
  965. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
  966. package/widgets/UtilityNetworkTrace/support/GeometryHandler.js +1 -1
  967. package/widgets/UtilityNetworkTrace/support/ResultAreaHandler.js +1 -1
  968. package/widgets/UtilityNetworkTrace.js +1 -1
  969. package/widgets/UtilityNetworkValidateTopology/UtilityNetworkValidateTopologyViewModel.js +1 -1
  970. package/widgets/support/SnappingControls/SnappingControlsViewModel.js +1 -1
  971. package/assets/esri/core/workers/chunks/02120d192eafd7612475.js +0 -1
  972. package/assets/esri/core/workers/chunks/089e59445bd0b1131ffb.js +0 -1
  973. package/assets/esri/core/workers/chunks/0b539dacc5c72399ab32.js +0 -1
  974. package/assets/esri/core/workers/chunks/0bb57b54897fb4381b46.js +0 -1
  975. package/assets/esri/core/workers/chunks/0beebbb0c6dad0e742d7.js +0 -1
  976. package/assets/esri/core/workers/chunks/0d77c9c97301a4ee4167.js +0 -1
  977. package/assets/esri/core/workers/chunks/0d8ca51043c7784aed96.js +0 -1
  978. package/assets/esri/core/workers/chunks/112e89da628bdea5355c.js +0 -1
  979. package/assets/esri/core/workers/chunks/121a9e148509f2fe2210.js +0 -1
  980. package/assets/esri/core/workers/chunks/1586929658af88f6f961.js +0 -1
  981. package/assets/esri/core/workers/chunks/1856d16d738f44f58084.js +0 -1
  982. package/assets/esri/core/workers/chunks/1a36703ebe934749646e.js +0 -1
  983. package/assets/esri/core/workers/chunks/24a0cf405195421c0d06.js +0 -1
  984. package/assets/esri/core/workers/chunks/24c504585da8e44f956f.js +0 -1
  985. package/assets/esri/core/workers/chunks/24ff267cf253feac22de.js +0 -1
  986. package/assets/esri/core/workers/chunks/2561c2bd5a0826dedcb1.js +0 -1
  987. package/assets/esri/core/workers/chunks/2832161454babb40614b.js +0 -1
  988. package/assets/esri/core/workers/chunks/29cab345819ec02ed60a.js +0 -1
  989. package/assets/esri/core/workers/chunks/2f8e71dac98135bbc3e6.js +0 -1
  990. package/assets/esri/core/workers/chunks/36ab90fb34b9716a9983.js +0 -1
  991. package/assets/esri/core/workers/chunks/3e40c8402ff7a8fe48b9.js +0 -1
  992. package/assets/esri/core/workers/chunks/3ea0b872436fce84b927.js +0 -1
  993. package/assets/esri/core/workers/chunks/40633064c290dc2af9ea.js +0 -1
  994. package/assets/esri/core/workers/chunks/4108445c4a653772c5ee.js +0 -1
  995. package/assets/esri/core/workers/chunks/42ec4c80b0c2944cd65c.js +0 -1
  996. package/assets/esri/core/workers/chunks/432a009e756643f59cb4.js +0 -1
  997. package/assets/esri/core/workers/chunks/44a3d01b7daa46584ed9.js +0 -1
  998. package/assets/esri/core/workers/chunks/44b870cb53ba68b17c32.js +0 -1
  999. package/assets/esri/core/workers/chunks/4736188659a62488c777.js +0 -1
  1000. package/assets/esri/core/workers/chunks/4763831c8815fed636f7.js +0 -1
  1001. package/assets/esri/core/workers/chunks/4d81aa50d90f5701a343.js +0 -1
  1002. package/assets/esri/core/workers/chunks/4e6bf1efe3b0b474cbb4.js +0 -1
  1003. package/assets/esri/core/workers/chunks/526ae87737777154c3f3.js +0 -1
  1004. package/assets/esri/core/workers/chunks/52cef7cd3aaaa4f45c94.js +0 -1
  1005. package/assets/esri/core/workers/chunks/53859d0bd8bb14af2d4d.js +0 -1
  1006. package/assets/esri/core/workers/chunks/593d7f17090b74945345.js +0 -1
  1007. package/assets/esri/core/workers/chunks/5a3ccc0a19ac8fa9e524.js +0 -1
  1008. package/assets/esri/core/workers/chunks/5baae5acd184e87d5dc4.js +0 -1
  1009. package/assets/esri/core/workers/chunks/5bdd2a3422fe52aa2c65.js +0 -1
  1010. package/assets/esri/core/workers/chunks/66ba749ab0a631bbfdec.js +0 -1
  1011. package/assets/esri/core/workers/chunks/69da907a92901f0fb391.js +0 -1
  1012. package/assets/esri/core/workers/chunks/6b14d89d689a21014aec.js +0 -1
  1013. package/assets/esri/core/workers/chunks/6b1856303d1562f05100.js +0 -1
  1014. package/assets/esri/core/workers/chunks/6b7b5544ed1f9a84623f.js +0 -1
  1015. package/assets/esri/core/workers/chunks/6ce986f4213df8a2d934.js +0 -1
  1016. package/assets/esri/core/workers/chunks/784ffd52315a4d55d683.js +0 -1
  1017. package/assets/esri/core/workers/chunks/785d9a9a933314551b10.js +0 -1
  1018. package/assets/esri/core/workers/chunks/84870178173951ad6c2b.js +0 -1
  1019. package/assets/esri/core/workers/chunks/88d43db03cc11cbffa68.js +0 -1
  1020. package/assets/esri/core/workers/chunks/8e4c4ba900a90373217f.js +0 -1
  1021. package/assets/esri/core/workers/chunks/8f3680fee85a05839489.js +0 -1
  1022. package/assets/esri/core/workers/chunks/902b672a3475ec83b58b.js +0 -1
  1023. package/assets/esri/core/workers/chunks/943ea851c1b07af91172.js +0 -1
  1024. package/assets/esri/core/workers/chunks/97aecf210938015cc7a3.js +0 -1
  1025. package/assets/esri/core/workers/chunks/9a5e3b0cc8536f79c377.js +0 -1
  1026. package/assets/esri/core/workers/chunks/9f8207c82a17508a87a8.js +0 -1
  1027. package/assets/esri/core/workers/chunks/a01ffe03b1465c21b9e6.js +0 -1
  1028. package/assets/esri/core/workers/chunks/a298c9031962951e55a9.js +0 -1
  1029. package/assets/esri/core/workers/chunks/a5a7bbdd8298016535bc.js +0 -1
  1030. package/assets/esri/core/workers/chunks/aa453ae526a233cedf0c.js +0 -1
  1031. package/assets/esri/core/workers/chunks/ab5ffcf0db724d40f714.js +0 -1
  1032. package/assets/esri/core/workers/chunks/ad38e456a7cee940a165.js +0 -1
  1033. package/assets/esri/core/workers/chunks/adfbc168be8c49b51e1b.js +0 -1
  1034. package/assets/esri/core/workers/chunks/ae3ea5fa813aec0db5e1.js +0 -1
  1035. package/assets/esri/core/workers/chunks/ae59e10b225f08f38487.js +0 -1
  1036. package/assets/esri/core/workers/chunks/b030cf4b00e42337dc89.js +0 -1
  1037. package/assets/esri/core/workers/chunks/b0526633a93ef69ec47b.js +0 -1
  1038. package/assets/esri/core/workers/chunks/b0d6e6e489aaa331861c.js +0 -1
  1039. package/assets/esri/core/workers/chunks/b0ddb503463328531d8f.js +0 -1
  1040. package/assets/esri/core/workers/chunks/b1a8024bf8cdd0cd3884.js +0 -1
  1041. package/assets/esri/core/workers/chunks/b4f31d291c05b5f8ddac.js +0 -1
  1042. package/assets/esri/core/workers/chunks/b99bc08a01e9250b0a31.js +0 -1
  1043. package/assets/esri/core/workers/chunks/be57692d4b9ff6cd4c02.js +0 -1
  1044. package/assets/esri/core/workers/chunks/c260ad3434bb00ba64a7.js +0 -1
  1045. package/assets/esri/core/workers/chunks/c459c8d8630eb4b955b1.js +0 -1
  1046. package/assets/esri/core/workers/chunks/c5acddea13fd01912e79.js +0 -1
  1047. package/assets/esri/core/workers/chunks/c92e75b79aff7b505b31.js +0 -1
  1048. package/assets/esri/core/workers/chunks/ca85e88dad30b5f2956b.js +0 -1
  1049. package/assets/esri/core/workers/chunks/ce3bb546a729f0ccf696.js +0 -1
  1050. package/assets/esri/core/workers/chunks/cfd63bd57eea2caa4bcb.js +0 -1
  1051. package/assets/esri/core/workers/chunks/d60d5f006375f7fcc88c.js +0 -1
  1052. package/assets/esri/core/workers/chunks/d6ded127949160103f69.js +0 -1
  1053. package/assets/esri/core/workers/chunks/d95eed98316e59f8f35d.js +0 -1
  1054. package/assets/esri/core/workers/chunks/dca925a0d73f967f6897.js +0 -1
  1055. package/assets/esri/core/workers/chunks/e0b49c5eb5427656e835.js +0 -1
  1056. package/assets/esri/core/workers/chunks/e52d5a48e83d8df36f92.js +0 -1
  1057. package/assets/esri/core/workers/chunks/e8688b6cc3b3c1010b43.js +0 -1
  1058. package/assets/esri/core/workers/chunks/eb4bfafe821daeb4bb6e.js +0 -1
  1059. package/assets/esri/core/workers/chunks/eda86faa708cfe4c9f9a.js +0 -1
  1060. package/assets/esri/core/workers/chunks/f2718e260f594537f7fd.js +0 -1
  1061. package/assets/esri/core/workers/chunks/f57100e3dfc7f087c3ad.js +0 -1
  1062. package/assets/esri/core/workers/chunks/f5fd2ee5878c63777c51.js +0 -1
  1063. package/assets/esri/core/workers/chunks/f6b7036114b1d754fdd9.js +0 -1
  1064. package/assets/esri/core/workers/chunks/f6c0680c535c5a3c73ee.js +0 -1
  1065. package/layers/graphics/data/utils.js +0 -5
  1066. package/layers/graphics/sources/support/QueryEngineBuildLayer.js +0 -5
  1067. package/views/2d/engine/webgl/GroupContainer.js +0 -5
  1068. package/views/3d/analysis/DimensionAnalysisView3D.d.ts +0 -4
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9379],{13598:(e,t,r)=>{function s(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function a(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}function n(e,t){return new Float64Array(e,t,16)}r.d(t,{I:()=>i,a:()=>s,b:()=>a,c:()=>n});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:a,create:s,createView:n,fromValues:function(e,t,r,s,a,n,i,o,u,l,d,c,p,h,y,f){return[e,t,r,s,a,n,i,o,u,l,d,c,p,h,y,f]}},Symbol.toStringTag,{value:"Module"}))},20773:(e,t,r)=>{r.d(t,{a:()=>o,b:()=>i,c:()=>a,d:()=>d,e:()=>u,n:()=>c,s:()=>l,t:()=>n});var s=r(72220);function a(e,t,r){n(e.typedBuffer,t.typedBuffer,r,e.typedBufferStride,t.typedBufferStride)}function n(e,t,r,a=3,n=a){if(e.length/a!==Math.ceil(t.length/n))return s.c.error("source and destination buffers need to have the same number of elements"),e;const i=e.length/a,o=r[0],u=r[1],l=r[2],d=r[4],c=r[5],p=r[6],h=r[8],y=r[9],f=r[10],m=r[12],g=r[13],b=r[14];let w=0,F=0;for(let r=0;r<i;r++){const r=t[w],s=t[w+1],i=t[w+2];e[F]=o*r+d*s+h*i+m,e[F+1]=u*r+c*s+y*i+g,e[F+2]=l*r+p*s+f*i+b,w+=n,F+=a}return e}function i(e,t,r){o(e.typedBuffer,t.typedBuffer,r,e.typedBufferStride,t.typedBufferStride)}function o(e,t,r,a=3,n=a){if(e.length/a!==Math.ceil(t.length/n))return void s.c.error("source and destination buffers need to have the same number of elements");const i=e.length/a,o=r[0],u=r[1],l=r[2],d=r[3],c=r[4],p=r[5],h=r[6],y=r[7],f=r[8];let m=0,g=0;for(let r=0;r<i;r++){const r=t[m],s=t[m+1],i=t[m+2];e[g]=o*r+d*s+h*i,e[g+1]=u*r+c*s+y*i,e[g+2]=l*r+p*s+f*i,m+=n,g+=a}}function u(e,t,r){l(e.typedBuffer,t,r,e.typedBufferStride)}function l(e,t,r,s=3){const a=Math.min(e.length/s,t.count),n=t.typedBuffer,i=t.typedBufferStride;let o=0,u=0;for(let t=0;t<a;t++)e[u]=r*n[o],e[u+1]=r*n[o+1],e[u+2]=r*n[o+2],o+=i,u+=s}function d(e,t){c(e.typedBuffer,t.typedBuffer,e.typedBufferStride,t.typedBufferStride)}function c(e,t,r=3,s=r){const a=Math.min(e.length/r,t.length/s);let n=0,i=0;for(let o=0;o<a;o++){const a=t[n],o=t[n+1],u=t[n+2],l=a*a+o*o+u*u;if(l>0){const t=1/Math.sqrt(l);e[i]=t*a,e[i+1]=t*o,e[i+2]=t*u}n+=s,i+=r}}Object.freeze(Object.defineProperty({__proto__:null,normalize:c,normalizeView:d,scale:l,scaleView:u,shiftRight:function(e,t,r){const s=Math.min(e.count,t.count),a=e.typedBuffer,n=e.typedBufferStride,i=t.typedBuffer,o=t.typedBufferStride;let u=0,l=0;for(let e=0;e<s;e++)a[l]=i[u]>>r,a[l+1]=i[u+1]>>r,a[l+2]=i[u+2]>>r,u+=o,l+=n},transformMat3:o,transformMat3View:i,transformMat4:n,transformMat4View:a},Symbol.toStringTag,{value:"Module"}))},85872:(e,t,r)=>{r.d(t,{Z:()=>p});var s=r(43697),a=r(2368),n=r(96674),i=r(5600),o=(r(75215),r(67676),r(80442),r(36030)),u=r(52011),l=r(65617),d=r(94139);let c=class extends((0,a.J)(n.wq)){constructor(e){super(e),this.type="georeferenced-relative",this.isRelative=!0,this.isGeoreferenced=!0,this.origin=(0,l.c)()}getOriginPoint(e){const[t,r,s]=this.origin;return new d.Z({x:t,y:r,z:s,spatialReference:e})}setOriginFromPoint({x:e,y:t,z:r}){this.origin=(0,l.f)(e,t,r??0)}};(0,s._)([(0,o.J)({georeferencedRelative:"georeferenced-relative"},{readOnly:!0})],c.prototype,"type",void 0),(0,s._)([(0,i.Cb)({type:[Number],nonNullable:!0,json:{write:!0}})],c.prototype,"origin",void 0),c=(0,s._)([(0,u.j)("esri.geometry.support.MeshGeoreferencedRelativeVertexSpace")],c);const p=c},72220:(e,t,r)=>{r.d(t,{c:()=>s});const s=r(92604).Z.getLogger("esri.views.3d.support.buffer.math")},84470:(e,t,r)=>{r.d(t,{CP:()=>o,JG:()=>y,LL:()=>u,NZ:()=>l,fV:()=>f,vj:()=>g,yT:()=>w,zE:()=>b});var s=r(3172),a=r(67676),n=r(95330),i=r(2981);class o{constructor(e,t,r){this.assetName=e,this.assetMimeType=t,this.parts=r}equals(e){return this===e||this.assetName===e.assetName&&this.assetMimeType===e.assetMimeType&&(0,a.fS)(this.parts,e.parts,((e,t)=>e.equals(t)))}isOnService(e){return this.parts.every((t=>t.isOnService(e)))}makeHash(){let e="";for(const t of this.parts)e+=t.partHash;return e}async toBlob(e){const{parts:t}=this;if(1===t.length)return t[0].toBlob(e);const r=await Promise.all(t.map((t=>t.toBlob(e))));return(0,n.k_)(e),new Blob(r)}}class u{constructor(e,t){this.partUrl=e,this.partHash=t}equals(e){return this===e||this.partUrl===e.partUrl&&this.partHash===e.partHash}isOnService(e){return this.partUrl.startsWith(`${e.path}/assets/`)}async toBlob(e){const{data:t}=await(0,s.Z)(this.partUrl,{responseType:"blob"});return(0,n.k_)(e),t}}function l(e){return function(e){return!!e&&(Array.isArray(e)?e.some(h):h(e))}(e?.source)}function d(e){return!!Array.isArray(e)&&e.every((e=>e instanceof o))}const c=/^(model\/gltf\+json)|(model\/gltf-binary)$/,p=/\.(gltf|glb)/i;function h(e){if(e instanceof File){const{type:t,name:r}=e;return c.test(t)||p.test(r)}return c.test(e.assetMimeType)||p.test(e.assetName)}function y(e,t){if(!e)return!1;const{source:r}=e;return function(e,t){if(Array.isArray(e)){const r=e;return r.length>0&&r.every((e=>m(e,t)))}return m(e,t)}(r,t)}function f(e,t){if(e===t)return!0;const{source:r}=e,{source:s}=t;if(r===s)return!0;if(d(r)&&d(s)){if(r.length!==s.length)return!1;const e=(e,t)=>e.assetName<t.assetName?-1:e.assetName>t.assetName?1:0,t=[...r].sort(e),a=[...s].sort(e);for(let e=0;e<t.length;++e)if(!t[e].equals(a[e]))return!1;return!0}return!1}function m(e,t){return e instanceof o&&e.isOnService(t)}function g(e,t){return e instanceof File?(0,i.dm)(e,t):(0,i.S0)(e.assetMimeType,t)??(0,i.Ow)(e.assetName,t)}function b(e){return Array.isArray(e)?e:[e]}function w(e){return!!e.original}},61159:(e,t,r)=>{r.d(t,{g:()=>s});const s={supportsStatistics:!0,supportsPercentileStatistics:!0,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsCentroid:!0,supportsCacheHint:!1,supportsDistance:!0,supportsDistinct:!0,supportsExtent:!0,supportsGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryGeometry:!0,supportsResultType:!1,supportsSqlExpression:!0,supportsMaxRecordCountFactor:!1,supportsStandardizedQueriesOnly:!0,supportsTopFeaturesQuery:!1,supportsQueryByAnonymous:!0,supportsQueryByOthers:!0,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsDisjointSpatialRelationship:!0,supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsCompactGeometry:!1,maxRecordCountFactor:void 0,maxRecordCount:void 0,standardMaxRecordCount:void 0,tileMaxRecordCount:void 0}},14720:(e,t,r)=>{r.d(t,{Ey:()=>F,applyEdits:()=>S,aw:()=>b,uploadAssets:()=>x});var s=r(38171),a=r(46791),n=r(20102),i=r(22974),o=r(92604),u=r(95330),l=r(17452),d=r(41123),c=r(16306),p=r(66361),h=r(35671),y=r(2981),f=r(84230);function m(e){return null!=e?.applyEdits}function g(e){return"object"==typeof e&&null!=e&&"objectId"in e&&!!e.objectId}function b(e){return e.every(g)}function w(e){return"object"==typeof e&&null!=e&&"globalId"in e&&!!e.globalId}function F(e){return e.every(w)}async function S(e,t,r,s={}){let l;if((0,p.lQ)(e)&&e.url)l=(0,p.jF)(e.url,e.layerId,s.gdbVersion,"original-and-current-features"===s.returnServiceEditsOption);else{l=(0,u.hh)(),l.promise.then((t=>{(t.addedFeatures.length||t.updatedFeatures.length||t.deletedFeatures.length||t.addedAttachments.length||t.updatedAttachments.length||t.deletedAttachments.length)&&e.emit("edits",t)}));const t={result:l.promise};e.emit("apply-edits",t)}try{const{results:u,edits:c}=await async function(e,t,r,s){if(await e.load(),!m(t))throw new n.Z(`${e.type}-layer:no-editing-support`,"Layer source does not support applyEdits capability",{layer:e});if(!(0,f.ln)(e))throw new n.Z(`${e.type}-layer:editing-disabled`,"Editing is disabled for layer",{layer:e});const{edits:i,options:u}=await async function(e,t,r){const s=(0,f.S1)(e),i=t&&(t.addFeatures||t.updateFeatures||t.deleteFeatures),u=t&&(t.addAttachments||t.updateAttachments||t.deleteAttachments),l=null!=e.infoFor3D;if(function(e,t,r,s,a,i){if(!e||!s&&!a)throw new n.Z(`${i}:missing-parameters`,"'addFeatures', 'updateFeatures', 'deleteFeatures', 'addAttachments', 'updateAttachments' or 'deleteAttachments' parameter is required");if(!t.editing.supportsGlobalId&&r?.globalIdUsed)throw new n.Z(`${i}:invalid-parameter`,"This layer does not support 'globalIdUsed' parameter. See: 'capabilities.editing.supportsGlobalId'");if(!t.editing.supportsGlobalId&&a)throw new n.Z(`${i}:invalid-parameter`,"'addAttachments', 'updateAttachments' and 'deleteAttachments' are applicable only if the layer supports global ids. See: 'capabilities.editing.supportsGlobalId'");if(!r?.globalIdUsed&&a)throw new n.Z(`${i}:invalid-parameter`,"When 'addAttachments', 'updateAttachments' or 'deleteAttachments' is specified, globalIdUsed should be set to true")}(t,s,r,!!i,!!u,`${e.type}-layer`),!s.data.isVersioned&&r?.gdbVersion)throw new n.Z(`${e.type}-layer:invalid-parameter`,"'gdbVersion' is applicable only if the layer supports versioned data. See: 'capabilities.data.isVersioned'");if(!s.editing.supportsRollbackOnFailure&&r?.rollbackOnFailureEnabled)throw new n.Z(`${e.type}-layer:invalid-parameter`,"This layer does not support 'rollbackOnFailureEnabled' parameter. See: 'capabilities.editing.supportsRollbackOnFailure'");const c={...r};if(null!=c.rollbackOnFailureEnabled||s.editing.supportsRollbackOnFailure||(c.rollbackOnFailureEnabled=!0),c.rollbackOnFailureEnabled||"original-and-current-features"!==c.returnServiceEditsOption||(!1===c.rollbackOnFailureEnabled&&o.Z.getLogger("esri.layers.graphics.editingSupport").warn(`${e.type}-layer:invalid-parameter`,"'original-and-current-features' is valid for 'returnServiceEditsOption' only when 'rollBackOnFailure' is true, but 'rollBackOnFailure' was set to false. 'rollBackOnFailure' has been overwrritten and set to true."),c.rollbackOnFailureEnabled=!0),!s.editing.supportsReturnServiceEditsInSourceSpatialReference&&c.returnServiceEditsInSourceSR)throw new n.Z(`${e.type}-layer:invalid-parameter`,"This layer does not support 'returnServiceEditsInSourceSR' parameter. See: 'capabilities.editing.supportsReturnServiceEditsInSourceSpatialReference'");if(c.returnServiceEditsInSourceSR&&"original-and-current-features"!==c.returnServiceEditsOption)throw new n.Z(`${e.type}-layer:invalid-parameter`,"'returnServiceEditsInSourceSR' is valid only when 'returnServiceEditsOption' is set to 'original-and-current-features'");const p=function(e,t,r){const s=function(e){return{addFeatures:Array.from(e?.addFeatures??[]),updateFeatures:Array.from(e?.updateFeatures??[]),deleteFeatures:e&&a.Z.isCollection(e.deleteFeatures)?e.deleteFeatures.toArray():e.deleteFeatures||[],addAttachments:e.addAttachments||[],updateAttachments:e.updateAttachments||[],deleteAttachments:e.deleteAttachments||[]}}(e);if(s.addFeatures?.length&&!t.operations.supportsAdd)throw new n.Z(`${r}:unsupported-operation`,"Layer does not support adding features.");if(s.updateFeatures?.length&&!t.operations.supportsUpdate)throw new n.Z(`${r}:unsupported-operation`,"Layer does not support updating features.");if(s.deleteFeatures?.length&&!t.operations.supportsDelete)throw new n.Z(`${r}:unsupported-operation`,"Layer does not support deleting features.");return s.addFeatures=s.addFeatures.map(I),s.updateFeatures=s.updateFeatures.map(I),s.addAssetFeatures=[],s}(t,s,`${e.type}-layer`),h=r?.globalIdUsed||l,m=e.fields.filter((e=>"big-integer"===e.type||"oid"===e.type&&e.length>=8));if(h){const{globalIdField:t}=e;if(null==t)throw new n.Z(`${e.type}-layer:invalid-parameter`,"Layer does not specify a global id field.");p.addFeatures.forEach((e=>function(e,t){const{attributes:r}=e;null==r[t]&&(r[t]=(0,d.z)())}(e,t)))}return p.addFeatures.forEach((t=>function(e,t,r,s){_(e,t,r,s),v(e,t)}(t,e,h,m))),p.updateFeatures.forEach((t=>function(e,t,r,s){_(e,t,r,s),v(e,t);const a=(0,f.S1)(t);if("geometry"in e&&null!=e.geometry&&!a?.editing.supportsGeometryUpdate)throw new n.Z(`${t.type}-layer:unsupported-operation`,"Layer does not support geometry updates.")}(t,e,h,m))),p.deleteFeatures.forEach((t=>function(e,t,r,s){_(e,t,r,s)}(t,e,h,m))),p.addAttachments.forEach((t=>R(t,e))),p.updateAttachments.forEach((t=>R(t,e))),l&&await async function(e,t){if(null==t.infoFor3D)return;const{infoFor3D:r}=t,s=(0,y.S0)("model/gltf-binary",r.supportedFormats)??(0,y.Ow)("glb",r.supportedFormats);if(!s||!r.editFormats.includes(s))throw new n.Z(`${t.type}-layer:binary-gltf-asset-not-supported`,"3DObjectFeatureLayer requires binary glTF (.glb) support for updating mesh geometry.");e.addAssetFeatures??=[];const{addAssetFeatures:a}=e;for(const t of e.addFeatures??[])O(t)&&a.push(t);for(const t of e.updateFeatures??[])O(t)&&a.push(t)}(p,e),{edits:await A(p),options:c}}(e,r,s);return i.addFeatures?.length||i.updateFeatures?.length||i.deleteFeatures?.length||i.addAttachments?.length||i.updateAttachments?.length||i.deleteAttachments?.length?{edits:i,results:await t.applyEdits(i,u)}:{edits:i,results:{addFeatureResults:[],updateFeatureResults:[],deleteFeatureResults:[],addAttachmentResults:[],updateAttachmentResults:[],deleteAttachmentResults:[]}}}(e,t,r,s),p=e=>e.filter((e=>!e.error)).map(i.d9),h={edits:c,addedFeatures:p(u.addFeatureResults),updatedFeatures:p(u.updateFeatureResults),deletedFeatures:p(u.deleteFeatureResults),addedAttachments:p(u.addAttachmentResults),updatedAttachments:p(u.updateAttachmentResults),deletedAttachments:p(u.deleteAttachmentResults),exceededTransferLimit:!1,historicMoment:u.editMoment?new Date(u.editMoment):null,globalIdToObjectId:s.globalIdToObjectId};return u.editedFeatureResults?.length&&(h.editedFeatures=u.editedFeatureResults),l.resolve(h),u}catch(e){throw l.reject(e),e}}function _(e,t,r,s){if(r){if("attributes"in e&&!e.attributes[t.globalIdField])throw new n.Z(`${t.type}-layer:invalid-parameter`,`Feature should have '${t.globalIdField}' when 'globalIdUsed' is true`);if(!("attributes"in e)&&!e.globalId)throw new n.Z(`${t.type}-layer:invalid-parameter`,"`'globalId' of the feature should be passed when 'globalIdUsed' is true")}if(s.length&&"attributes"in e)for(const r of s){const s=e.attributes[r.name];if(void 0!==s&&!(0,h.d2)(r,s))throw new n.Z(`${t.type}-layer:invalid-parameter`,`Big-integer field '${r.name}' of the feature must be less than ${Number.MAX_SAFE_INTEGER}`,{feature:e})}if("geometry"in e&&null!=e.geometry){if(e.geometry.hasZ&&!1===t.capabilities?.data.supportsZ)throw new n.Z(`${t.type}-layer:z-unsupported`,"Layer does not support z values while feature has z values.");if(e.geometry.hasM&&!1===t.capabilities?.data.supportsM)throw new n.Z(`${t.type}-layer:m-unsupported`,"Layer does not support m values while feature has m values.")}}function v(e,t){if("geometry"in e&&"mesh"===e.geometry?.type&&null!=t.infoFor3D){const{geometry:r}=e;if(r.vertexSpace.isGeoreferenced)throw new n.Z(`${t.type}-layer:georeferenced-mesh-unsupported`,"Uploading georeferenced meshes to a layer is not supported.")}}function R(e,t){const{feature:r,attachment:s}=e;if(!r||"attributes"in r&&!r.attributes[t.globalIdField])throw new n.Z(`${t.type}-layer:invalid-parameter`,"Attachment should have reference to a feature with 'globalId'");if(!("attributes"in r)&&!r.globalId)throw new n.Z(`${t.type}-layer:invalid-parameter`,"Attachment should have reference to 'globalId' of the parent feature");if(!s.globalId)throw new n.Z(`${t.type}-layer:invalid-parameter`,"Attachment should have 'globalId'");if(!s.data&&!s.uploadId)throw new n.Z(`${t.type}-layer:invalid-parameter`,"Attachment should have 'data' or 'uploadId'");if(!(s.data instanceof File&&s.data.name||s.name))throw new n.Z(`${t.type}-layer:invalid-parameter`,"'name' is required when attachment is specified as Base64 encoded string using 'data'");if(!t.capabilities?.editing.supportsUploadWithItemId&&s.uploadId)throw new n.Z(`${t.type}-layer:invalid-parameter`,"This layer does not support 'uploadId' parameter. See: 'capabilities.editing.supportsUploadWithItemId'");if("string"==typeof s.data){const e=(0,l.sJ)(s.data);if(e&&!e.isBase64)throw new n.Z(`${t.type}-layer:invalid-parameter`,"Attachment 'data' should be a Blob, File or Base64 encoded string")}}async function A(e){const t=e.addFeatures??[],r=e.updateFeatures??[],s=t.concat(r).map((e=>e.geometry)),a=await(0,c.aX)(s),n=t.length,i=r.length;return a.slice(0,n).forEach(((e,r)=>t[r].geometry=e)),a.slice(n,n+i).forEach(((e,t)=>r[t].geometry=e)),e}function I(e){const t=new s.Z;return e.attributes||(e.attributes={}),t.geometry=e.geometry,t.attributes=e.attributes,t}function O(e){return"mesh"===e?.geometry?.type}function x(e,t,r,s){if(!m(t))throw new n.Z(`${e.type}-layer:no-editing-support`,"Layer source does not support applyEdits capability",{layer:e});if(!t.uploadAssets)throw new n.Z(`${e.type}-layer:no-asset-upload-support`,"Layer source does not support uploadAssets capability",{layer:e});return t.uploadAssets(r,s)}},49379:(e,t,r)=>{r.r(t),r.d(t,{default:()=>K});var s=r(43697),a=(r(66577),r(40330)),n=r(3172),i=r(92835),o=r(67676),u=r(20102),l=r(80442),d=r(35454),c=r(83379),p=r(92604),h=r(78286),y=r(95330),f=r(17452),m=r(41123),g=r(5600),b=(r(75215),r(52011)),w=r(6570),F=r(52138),S=r(13598),_=r(85872),v=r(20773);function R(e){const{vertexSpace:t}=e;if(t.isRelative)return e.clone();const{anchor:r}=e,s=r.clone(),a=(0,F.d)(A,[-s.x,-s.y,-s.z]),n=new _.Z({origin:[s.x,s.y,s.z]}),i=e.cloneWithVertexSpace(n),{position:o}=i.vertexAttributes;return i.vertexAttributes.position=(0,v.t)(new Float64Array(o.length),o,a),i.vertexAttributesChanged(),i}const A=(0,S.a)();var I=r(84470),O=r(38171),x=r(67900),E=r(73615),q=r(33955),Z=r(14720);async function C(e,t,r){const{geometry:s}=t,a={...t.attributes};if(null!=r&&"mesh"===s?.type){const{transformFieldRoles:t}=r,{origin:n,spatialReference:i,transform:o}=s,u=e.spatialReference;await(0,E.initializeProjection)(i,u);const l=(0,E.project)(n,u);if(a[t.originX]=l.x,a[t.originY]=l.y,a[t.originZ]=l.z??0,null!=o){const{translation:e,scale:r,rotation:n}=o,{vertexSpace:l}=s,d=l.isGeoreferenced?1:(0,x.r6)(i)/(0,x.r6)(u);a[t.translationX]=e[0]*d,a[t.translationY]=e[2]*d,a[t.translationZ]=-e[1]*d,a[t.scaleX]=r[0],a[t.scaleY]=r[2],a[t.scaleZ]=r[1],a[t.rotationX]=n[0],a[t.rotationY]=n[2],a[t.rotationZ]=-n[1],a[t.rotationDeg]=n[3]}return{attributes:a}}return null==s?{attributes:a}:"mesh"===s.type||"extent"===s.type?null:{geometry:s.toJSON(),attributes:a}}async function T(e,t){const r=await Promise.all((t.addAttachments??[]).map((t=>M(e,t)))),s=await Promise.all((t.updateAttachments??[]).map((t=>M(e,t)))),a=t.deleteAttachments??[];return r.length||s.length||a.length?{adds:r,updates:s,deletes:[...a]}:null}async function M(e,t){const{feature:r,attachment:s}=t,{globalId:a,name:n,contentType:i,data:o,uploadId:u}=s,l={globalId:a};if(r&&("attributes"in r?l.parentGlobalId=r.attributes?.[e.globalIdField]:r.globalId&&(l.parentGlobalId=r.globalId)),u)l.uploadId=u;else if(o){const e=await(0,f.IR)(o);e&&(l.contentType=e.mediaType,l.data=e.data),o instanceof File&&(l.name=o.name)}return n&&(l.name=n),i&&(l.contentType=i),l}function D(e){const t=!0===e.success?null:e.error||{code:void 0,description:void 0};return{objectId:e.objectId,globalId:e.globalId,error:t?new u.Z("feature-layer-source:edit-failure",t.description,{code:t.code}):null}}function P(e,t){return new O.Z({attributes:e.attributes,geometry:(0,q.im)({...e.geometry,spatialReference:t})})}function $(e,t){return{adds:e?.adds?.map((e=>P(e,t)))||[],updates:e?.updates?.map((e=>({original:P(e[0],t),current:P(e[1],t)})))||[],deletes:e?.deletes?.map((e=>P(e,t)))||[],spatialReference:t}}var N=r(25278),U=r(49735),k=r(66677),G=r(45574),B=r(2981),j=r(4967),L=r(59431),Q=r(14165),J=r(18596),V=r(82971);const z=new d.X({originalAndCurrentFeatures:"original-and-current-features",none:"none"}),H=new Set(["Feature Layer","Oriented Imagery Layer","Table"]),X=new d.X({Started:"published",Publishing:"publishing",Stopped:"unavailable"});let W=class extends c.Z{constructor(){super(...arguments),this.type="feature-layer",this.refresh=(0,y.Ds)((async()=>{await this.load();const e=this.sourceJSON.editingInfo?.lastEditDate;if(null==e)return{dataChanged:!0,updates:{}};try{await this._fetchService(null)}catch{return{dataChanged:!0,updates:{}}}const t=e!==this.sourceJSON.editingInfo?.lastEditDate;return{dataChanged:t,updates:t?{editingInfo:this.sourceJSON.editingInfo,extent:this.sourceJSON.extent}:null}})),this._ongoingAssetUploads=new Map}load(e){const t=this.layer.sourceJSON,r=this._fetchService(t,{...e}).then((()=>this.layer.setUserPrivileges(this.sourceJSON.serviceItemId,e))).then((()=>this._ensureLatestMetadata(e)));return this.addResolvingPromise(r),Promise.resolve(this)}get queryTask(){const{capabilities:e,parsedUrl:t,dynamicDataSource:r,infoFor3D:s,gdbVersion:a,spatialReference:n,fieldsIndex:i}=this.layer,o=(0,l.Z)("featurelayer-pbf")&&e?.query.supportsFormatPBF&&null==s,u=e?.operations?.supportsQueryAttachments??!1;return new U.Z({url:t.path,pbfSupported:o,fieldsIndex:i,infoFor3D:s,dynamicDataSource:r,gdbVersion:a,sourceSpatialReference:n,queryAttachmentsSupported:u})}async addAttachment(e,t){await this.load();const{layer:r}=this;await(0,G.nU)(r,"editing");const s=e.attributes[r.objectIdField],a=r.parsedUrl.path+"/"+s+"/addAttachment",i=this._getLayerRequestOptions(),o=this._getFormDataForAttachment(t,i.query);try{return D((await(0,n.Z)(a,{body:o})).data.addAttachmentResult)}catch(e){throw this._createAttachmentErrorResult(s,e)}}async updateAttachment(e,t,r){await this.load();const{layer:s}=this;await(0,G.nU)(s,"editing");const a=e.attributes[s.objectIdField],i=s.parsedUrl.path+"/"+a+"/updateAttachment",o=this._getLayerRequestOptions({query:{attachmentId:t}}),u=this._getFormDataForAttachment(r,o.query);try{return D((await(0,n.Z)(i,{body:u})).data.updateAttachmentResult)}catch(e){throw this._createAttachmentErrorResult(a,e)}}async applyEdits(e,t){await this.load();const{layer:r}=this;await(0,G.nU)(r,"editing");const s=r.infoFor3D,i=null!=s,u=i||(t?.globalIdUsed??!1),l=i?await this._uploadMeshesAndGetAssetMapEditsJSON(e):null,d=e.addFeatures?.map((e=>C(this.layer,e,s)))??[],c=(await Promise.all(d)).filter(o.pC),p=e.updateFeatures?.map((e=>C(this.layer,e,s)))??[],h=(await Promise.all(p)).filter(o.pC),y=function(e,t,r){if(!t||0===t.length)return[];if(r&&(0,Z.Ey)(t))return t.map((e=>e.globalId));if((0,Z.aw)(t))return t.map((e=>e.objectId));const s=r?e.globalIdField:e.objectIdField;return s?t.map((e=>e.getAttribute(s))):[]}(this.layer,e.deleteFeatures,u);(0,L.P)(c,h,r.spatialReference);const f=await T(this.layer,e),m=r.capabilities.editing.supportsAsyncApplyEdits&&i,g=t?.gdbVersion||r.gdbVersion,b={gdbVersion:g,rollbackOnFailure:t?.rollbackOnFailureEnabled,useGlobalIds:u,returnEditMoment:t?.returnEditMoment,usePreviousEditMoment:t?.usePreviousEditMoment,async:m};await(0,J.Px)(this.layer.url,g,!0);const w=(0,J.JV)(this.layer.url,g||null);t?.returnServiceEditsOption?(b.edits=JSON.stringify([{id:r.layerId,adds:c,updates:h,deletes:y,attachments:f,assetMaps:l}]),b.returnServiceEditsOption=z.toJSON(t?.returnServiceEditsOption),b.returnServiceEditsInSourceSR=t?.returnServiceEditsInSourceSR):(b.adds=c.length?JSON.stringify(c):null,b.updates=h.length?JSON.stringify(h):null,b.deletes=y.length?u?JSON.stringify(y):y.join(","):null,b.attachments=f&&JSON.stringify(f),b.assetMaps=null!=l?JSON.stringify(l):void 0);const F=this._getLayerRequestOptions({method:"post",query:b});w&&(F.authMode="immediate",F.query.returnEditMoment=!0,F.query.sessionId=J.U8);const S=t?.returnServiceEditsOption?r.url:r.parsedUrl.path;let _;try{_=m?await this._asyncApplyEdits(S+"/applyEdits",F):await(0,n.Z)(S+"/applyEdits",F)}catch(e){throw function(e){const t=e.details.raw,r=+t.code,s=+t.extendedCode;return 500===r&&(-2147217144===s||-2147467261===s)}(e)&&(F.authMode="immediate",_=m?await this._asyncApplyEdits(S+"/applyEdits",F):await(0,n.Z)(S+"/applyEdits",F)),e}if(!r.capabilities.operations?.supportsEditing&&r.effectiveCapabilities?.operations?.supportsEditing){const e=a.id?.findCredential(r.url);await(e?.refreshToken())}return this._createEditsResult(_)}async deleteAttachments(e,t){await this.load();const{layer:r}=this;await(0,G.nU)(r,"editing");const s=e.attributes[r.objectIdField],a=r.parsedUrl.path+"/"+s+"/deleteAttachments";try{return(await(0,n.Z)(a,this._getLayerRequestOptions({query:{attachmentIds:t.join(",")},method:"post"}))).data.deleteAttachmentResults.map(D)}catch(e){throw this._createAttachmentErrorResult(s,e)}}fetchRecomputedExtents(e={}){const t=e.signal;return this.load({signal:t}).then((async()=>{const t=this._getLayerRequestOptions({...e,query:{returnUpdates:!0}}),{layerId:r,url:s}=this.layer,{data:a}=await(0,n.Z)(`${s}/${r}`,t),{id:o,extent:u,fullExtent:l,timeExtent:d}=a,c=u||l;return{id:o,fullExtent:c&&w.Z.fromJSON(c),timeExtent:d&&i.Z.fromJSON({start:d[0],end:d[1]})}}))}async queryAttachments(e,t={}){await this.load();const r=this._getLayerRequestOptions(t);return this.queryTask.executeAttachmentQuery(e,r)}async queryFeatures(e,t){await this.load();const r=await this.queryTask.execute(e,{...t,query:this._createRequestQueryOptions(t)});return e.outStatistics?.length&&r.features.length&&r.features.forEach((t=>{const r=t.attributes;e.outStatistics?.forEach((({outStatisticFieldName:e})=>{if(e){const t=e.toLowerCase();t&&t in r&&e!==t&&(r[e]=r[t],delete r[t])}}))})),r}async queryFeaturesJSON(e,t){return await this.load(),this.queryTask.executeJSON(e,{...t,query:this._createRequestQueryOptions(t)})}async queryObjectIds(e,t){return await this.load(),this.queryTask.executeForIds(e,{...t,query:this._createRequestQueryOptions(t)})}async queryFeatureCount(e,t){return await this.load(),this.queryTask.executeForCount(e,{...t,query:this._createRequestQueryOptions(t)})}async queryExtent(e,t){return await this.load(),this.queryTask.executeForExtent(e,{...t,query:this._createRequestQueryOptions(t)})}async queryRelatedFeatures(e,t){return await this.load(),this.queryTask.executeRelationshipQuery(e,{...t,query:this._createRequestQueryOptions(t)})}async queryRelatedFeaturesCount(e,t){return await this.load(),this.queryTask.executeRelationshipQueryForCount(e,{...t,query:this._createRequestQueryOptions(t)})}async queryTopFeatures(e,t){return await this.load(),this.queryTask.executeTopFeaturesQuery(e,{...t,query:this._createRequestQueryOptions(t)})}async queryTopObjectIds(e,t){return await this.load(),this.queryTask.executeForTopIds(e,{...t,query:this._createRequestQueryOptions(t)})}async queryTopExtents(e,t){return await this.load(),this.queryTask.executeForTopExtents(e,{...t,query:this._createRequestQueryOptions(t)})}async queryTopCount(e,t){return await this.load(),this.queryTask.executeForTopCount(e,{...t,query:this._createRequestQueryOptions(t)})}async fetchPublishingStatus(){if(!(0,k.M8)(this.layer.url))return"unavailable";const e=(0,f.v_)(this.layer.url,"status"),t=await(0,n.Z)(e,{query:{f:"json"}});return X.fromJSON(t.data.status)}async uploadAssets(e,t){const{uploadAssets:s}=await r.e(2046).then(r.bind(r,2046));return s(e,{layer:this.layer,ongoingUploads:this._ongoingAssetUploads},t)}async _asyncApplyEdits(e,t){const r=(await(0,n.Z)(e,t)).data.statusUrl;for(;;){const e=(await(0,n.Z)(r,{query:{f:"json"},responseType:"json"})).data;switch(e.status){case"Completed":return(0,n.Z)(e.resultUrl,{query:{f:"json"},responseType:"json"});case"CompletedWithErrors":throw new u.Z("async-applyEdits-failed","asynchronous applyEdits call failed.");case"Failed ImportChanges":case"InProgress":case"Pending":case"ExportAttachments":case"ExportChanges":case"ExportingData":case"ExportingSnapshot":case"ImportAttachments":case"ProvisioningReplica":case"UnRegisteringReplica":break;default:throw new u.Z("async-applyEdits-failed","asynchronous applyEdits call failed (undefined response status)")}await(0,y.e4)(Y)}}_createRequestQueryOptions(e){const t={...this.layer.customParameters,token:this.layer.apiKey,...e?.query};return this.layer.datesInUnknownTimezone&&(t.timeReferenceUnknownClient=!0),t}async _fetchService(e,t){if(!e){const r={};(0,l.Z)("featurelayer-advanced-symbols")&&(r.returnAdvancedSymbols=!0),t?.cacheBust&&(r._ts=Date.now());const{data:s}=await(0,n.Z)(this.layer.parsedUrl.path,this._getLayerRequestOptions({query:r,signal:t?.signal}));e=s}this.sourceJSON=await this._patchServiceJSON(e,t?.signal);const r=e.type;if(!H.has(r))throw new u.Z("feature-layer-source:unsupported-type",`Source type "${r}" is not supported`)}async _patchServiceJSON(e,t){if("Table"!==e.type&&e.geometryType&&!e?.drawingInfo?.renderer&&!e.defaultSymbol){const t=(0,N.bU)(e.geometryType).renderer;(0,h.RB)("drawingInfo.renderer",t,e)}if("esriGeometryMultiPatch"===e.geometryType&&e.infoFor3D&&(e.geometryType="mesh"),null==e.extent)try{const{data:r}=await(0,n.Z)(this.layer.url,this._getLayerRequestOptions({signal:t}));r.spatialReference&&(e.extent={xmin:0,ymin:0,xmax:0,ymax:0,spatialReference:r.spatialReference})}catch(e){(0,y.r9)(e)}return e}async _ensureLatestMetadata(e){if(this.layer.userHasUpdateItemPrivileges&&this.sourceJSON.cacheMaxAge>0)return this._fetchService(null,{...e,cacheBust:!0})}async _uploadMeshesAndGetAssetMapEditsJSON(e){const{addAssetFeatures:t}=e;if(!t?.length)return null;const r=await this._filterRedundantAssetMaps(t);if(!t?.length)return null;const s=new Array,a=new Map;for(const e of r){const{geometry:t}=e,{vertexSpace:r}=t;if(r.isRelative)s.push(t);else{const r=R(t);a.set(r,t),e.geometry=r,s.push(r)}}await this.uploadAssets(s);for(const[e,t]of a)t.addExternalSources(e.metadata.externalSources.items);return{adds:this._getAssetMapEditsJSON(r),updates:[],deletes:[]}}_getAssetMapEditsJSON(e){const t=new Array,r=this.layer.globalIdField,s=this.layer.parsedUrl;for(const a of e){const e=a.geometry,{metadata:n}=e,i=n.getExternalSourcesOnService(s),o=a.getAttribute(r);if(0===i.length){p.Z.getLogger(this).error(`Skipping feature ${o}. The mesh it is associated with has not been uploaded to the service and cannot be mapped to it.`);continue}const{source:u}=i.find(I.yT)??i[0],{vertexSpace:l}=e,d=l.isGeoreferenced?["PROJECT_VERTICES"]:[];for(const e of u)1===e.parts.length?t.push({globalId:(0,m.z)(),parentGlobalId:o,assetName:e.assetName,assetHash:e.parts[0].partHash,flags:d}):p.Z.getLogger(this).error(`Skipping asset ${e.assetName}. It does not have exactly one part, so we cannot map it to a feature.`)}return t}_createEditsResult(e){const t=e.data,{layerId:r}=this.layer,s=[];let a=null;if(Array.isArray(t))for(const e of t)s.push({id:e.id,editedFeatures:e.editedFeatures}),e.id===r&&(a={addResults:e.addResults??[],updateResults:e.updateResults??[],deleteResults:e.deleteResults??[],attachments:e.attachments,editMoment:e.editMoment});else a=t;const n=function(e){const t=e?.assetMaps;if(t){for(const e of t.addResults)e.success||p.Z.getLogger("esri.layers.graphics.sources.support.sourceUtils").error(`Failed to map asset to feature with globalId ${e.globalId}.`);for(const e of t.updateResults)e.success||p.Z.getLogger("esri.layers.graphics.sources.support.sourceUtils").error(`Failed to map asset to feature with globalId ${e.globalId}.`)}const r=e?.attachments,s={addFeatureResults:e?.addResults?.map(D)??[],updateFeatureResults:e?.updateResults?.map(D)??[],deleteFeatureResults:e?.deleteResults?.map(D)??[],addAttachmentResults:r?.addResults?r.addResults.map(D):[],updateAttachmentResults:r?.updateResults?r.updateResults.map(D):[],deleteAttachmentResults:r?.deleteResults?r.deleteResults.map(D):[]};return e?.editMoment&&(s.editMoment=e.editMoment),s}(a);if(s.length>0){n.editedFeatureResults=[];for(const e of s){const{editedFeatures:t}=e,r=t?.spatialReference?new V.Z(t.spatialReference):null;n.editedFeatureResults.push({layerId:e.id,editedFeatures:$(t,r)})}}return n}_createAttachmentErrorResult(e,t){const r=t.details.messages?.[0]||t.message,s=t.details.httpStatus||t.details.messageCode;return{objectId:e,globalId:null,error:new u.Z("feature-layer-source:attachment-failure",r,{code:s})}}_getFormDataForAttachment(e,t){const r=e instanceof FormData?e:e&&e.elements?new FormData(e):null;if(r)for(const e in t){const s=t[e];null!=s&&(r.set?r.set(e,s):r.append(e,s))}return r}_getLayerRequestOptions(e={}){const{parsedUrl:t,gdbVersion:r,dynamicDataSource:s}=this.layer;return{...e,query:{gdbVersion:r,layer:s?JSON.stringify({source:s}):void 0,...t.query,f:"json",...this._createRequestQueryOptions(e)},responseType:"json"}}async _filterRedundantAssetMaps(e){const{layer:t}=this,{globalIdField:r,infoFor3D:s,parsedUrl:a}=t;if(null==s||null==r)return e;const n=(0,B.$6)(s);if(null==n)return e;const i=(0,f.v_)(a.path,`../${n.id}`),u=new Array,l=new Array;for(const t of e)t.geometry.metadata.getExternalSourcesOnService(a).length>0?l.push(t):u.push(t);const d=l.map((e=>e.getAttribute(r))).filter(o.pC);if(0===d.length)return e;const{assetMapFieldRoles:{parentGlobalId:c,assetHash:p}}=s,h=new Q.Z;h.where=`${c} IN (${d.map((e=>`'${e}'`))})`,h.outFields=[p,c],h.returnGeometry=!1;const y=await(0,j.e)(i,h),{features:m}=y;return 0===m.length?e:[...u,...l.filter((e=>{const t=e.getAttribute(r);if(!t)return!0;const{metadata:s}=e.geometry,n=m.filter((e=>e.getAttribute(c)===t));if(0===n.length)return!0;const i=n.map((e=>e.getAttribute(p)));return s.getExternalSourcesOnService(a).flatMap((({source:e})=>e.flatMap((e=>e.parts.map((e=>e.partHash)))))).some((e=>i.every((t=>e!==t))))}))]}};(0,s._)([(0,g.Cb)()],W.prototype,"type",void 0),(0,s._)([(0,g.Cb)({constructOnly:!0})],W.prototype,"layer",void 0),(0,s._)([(0,g.Cb)({readOnly:!0})],W.prototype,"queryTask",null),W=(0,s._)([(0,b.j)("esri.layers.graphics.sources.FeatureLayerSource")],W);const Y=1e3,K=W},49735:(e,t,r)=>{r.d(t,{Z:()=>v});var s=r(43697),a=r(92036),n=r(20102),i=r(80442),o=r(95330),u=r(17452),l=r(5600),d=(r(75215),r(67676),r(52011)),c=r(2981),p=r(10158),h=r(11282),y=r(41818),f=(r(66577),r(34599)),m=r(14165),g=r(6570),b=r(5396),w=r(4967),F=r(53261),S=r(74889);let _=class extends a.Z{constructor(e){super(e),this.dynamicDataSource=null,this.fieldsIndex=null,this.gdbVersion=null,this.infoFor3D=null,this.pbfSupported=!1,this.queryAttachmentsSupported=!1,this.sourceSpatialReference=null,this.url=null}get parsedUrl(){return(0,u.mN)(this.url)}async execute(e,t){const r=await this.executeJSON(e,t);return this.featureSetFromJSON(e,r,t)}async executeJSON(e,t){const r=this._normalizeQuery(e),s=null!=e.outStatistics?.[0],a=(0,i.Z)("featurelayer-pbf-statistics"),n=!s||a;let o;if(this.pbfSupported&&n)try{o=await(0,F.t)(this.url,r,t)}catch(e){if("query:parsing-pbf"!==e.name)throw e;this.pbfSupported=!1}return this.pbfSupported&&n||(o=await(0,w.F)(this.url,r,t)),this._normalizeFields(o.fields),o}async featureSetFromJSON(e,t,s){if(!this._queryIs3DObjectFormat(e)||null==this.infoFor3D||!t.features)return S.Z.fromJSON(t);const{meshFeatureSetFromJSON:a}=await(0,o.Hl)(Promise.all([r.e(6481),r.e(6170),r.e(6459),r.e(5613)]).then(r.bind(r,25158)),s);return a(e,this.infoFor3D,t)}executeForCount(e,t){return(0,y.P)(this.url,this._normalizeQuery(e),t)}executeForExtent(e,t){return async function(e,t,r){const s=(0,h.en)(e);return(0,f.Vr)(s,m.Z.from(t),{...r}).then((e=>({count:e.data.count,extent:g.Z.fromJSON(e.data.extent)})))}(this.url,this._normalizeQuery(e),t)}executeForIds(e,t){return(0,b.G)(this.url,this._normalizeQuery(e),t)}async executeRelationshipQuery(e,t){const[{default:s},{executeRelationshipQuery:a}]=await(0,o.Hl)(Promise.all([r.e(5935).then(r.bind(r,75935)),r.e(1073).then(r.bind(r,81073))]),t);return e=s.from(e),(this.gdbVersion||this.dynamicDataSource)&&((e=e.clone()).gdbVersion=e.gdbVersion||this.gdbVersion,e.dynamicDataSource=e.dynamicDataSource||this.dynamicDataSource),a(this.url,e,t)}async executeRelationshipQueryForCount(e,t){const[{default:s},{executeRelationshipQueryForCount:a}]=await(0,o.Hl)(Promise.all([r.e(5935).then(r.bind(r,75935)),r.e(1073).then(r.bind(r,81073))]),t);return e=s.from(e),(this.gdbVersion||this.dynamicDataSource)&&((e=e.clone()).gdbVersion=e.gdbVersion||this.gdbVersion,e.dynamicDataSource=e.dynamicDataSource||this.dynamicDataSource),a(this.url,e,t)}async executeAttachmentQuery(e,t){const{executeAttachmentQuery:s,fetchAttachments:a,processAttachmentQueryResult:n}=await(0,o.Hl)(r.e(540).then(r.bind(r,30540)),t),i=(0,h.en)(this.url);return n(i,await(this.queryAttachmentsSupported?s(i,e,t):a(i,e,t)))}async executeTopFeaturesQuery(e,t){const{executeTopFeaturesQuery:s}=await(0,o.Hl)(r.e(1158).then(r.bind(r,71158)),t);return s(this.parsedUrl,e,this.sourceSpatialReference,t)}async executeForTopIds(e,t){const{executeForTopIds:s}=await(0,o.Hl)(r.e(3992).then(r.bind(r,33992)),t);return s(this.parsedUrl,e,t)}async executeForTopExtents(e,t){const{executeForTopExtents:s}=await(0,o.Hl)(r.e(1790).then(r.bind(r,21790)),t);return s(this.parsedUrl,e,t)}async executeForTopCount(e,t){const{executeForTopCount:s}=await(0,o.Hl)(r.e(4371).then(r.bind(r,14371)),t);return s(this.parsedUrl,e,t)}_normalizeQuery(e){let t=m.Z.from(e);t.sourceSpatialReference=t.sourceSpatialReference||this.sourceSpatialReference,(this.gdbVersion||this.dynamicDataSource)&&(t=t===e?t.clone():t,t.gdbVersion=e.gdbVersion||this.gdbVersion,t.dynamicDataSource=e.dynamicDataSource?p.n.from(e.dynamicDataSource):this.dynamicDataSource);const{infoFor3D:r}=this;if(null!=r&&this._queryIs3DObjectFormat(e)){t=t===e?t.clone():t,t.formatOf3DObjects=null;const{supportedFormats:s,queryFormats:a}=r,i=(0,c.S0)("model/gltf-binary",s)??(0,c.Ow)("glb",s),o=(0,c.S0)("model/gltf+json",s)??(0,c.Ow)("gtlf",s);for(const e of a){if(e===i){t.formatOf3DObjects=e;break}e!==o||t.formatOf3DObjects||(t.formatOf3DObjects=e)}if(!t.formatOf3DObjects)throw new n.Z("query:unsupported-3d-query-formats","Could not find any supported 3D object query format. Only supported formats are 3D_glb and 3D_gltf");if(null==t.outFields||!t.outFields.includes("*")){t=t===e?t.clone():t,null==t.outFields&&(t.outFields=[]);const{originX:s,originY:a,originZ:n,translationX:i,translationY:o,translationZ:u,scaleX:l,scaleY:d,scaleZ:c,rotationX:p,rotationY:h,rotationZ:y,rotationDeg:f}=r.transformFieldRoles;t.outFields.push(s,a,n,i,o,u,l,d,c,p,h,y,f)}}return t}_normalizeFields(e){if(null!=this.fieldsIndex&&null!=e)for(const t of e){const e=this.fieldsIndex.get(t.name);e&&Object.assign(t,e.toJSON())}}_queryIs3DObjectFormat(e){return null!=this.infoFor3D&&!0===e.returnGeometry&&"xyFootprint"!==e.multipatchOption&&!e.outStatistics}};(0,s._)([(0,l.Cb)({type:p.n})],_.prototype,"dynamicDataSource",void 0),(0,s._)([(0,l.Cb)()],_.prototype,"fieldsIndex",void 0),(0,s._)([(0,l.Cb)()],_.prototype,"gdbVersion",void 0),(0,s._)([(0,l.Cb)()],_.prototype,"infoFor3D",void 0),(0,s._)([(0,l.Cb)({readOnly:!0})],_.prototype,"parsedUrl",null),(0,s._)([(0,l.Cb)()],_.prototype,"pbfSupported",void 0),(0,s._)([(0,l.Cb)()],_.prototype,"queryAttachmentsSupported",void 0),(0,s._)([(0,l.Cb)()],_.prototype,"sourceSpatialReference",void 0),(0,s._)([(0,l.Cb)({type:String})],_.prototype,"url",void 0),_=(0,s._)([(0,d.j)("esri.tasks.QueryTask")],_);const v=_},25278:(e,t,r)=>{r.d(t,{Dm:()=>d,Hq:()=>c,MS:()=>p,bU:()=>o});var s=r(80442),a=r(22974),n=r(61159),i=r(58333);function o(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?i.I4:"esriGeometryPolyline"===e?i.ET:i.lF}}}const u=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let l=1;function d(e,t){if((0,s.Z)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let r=`this.${t} = null;`;for(const t in e)r+=`this${u.test(t)?`.${t}`:`["${t}"]`} = ${JSON.stringify(e[t])};`;const s=new Function(`\n return class AttributesClass$${l++} {\n constructor() {\n ${r};\n }\n }\n `)();return()=>new s}catch(r){return()=>({[t]:null,...e})}}function c(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,a.d9)(e)}}]}function p(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:n.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}}}},2981:(e,t,r)=>{r.d(t,{$6:()=>y,$z:()=>n,F7:()=>a,Ow:()=>o,S0:()=>i,d1:()=>u,dm:()=>l});const s=[["binary","application/octet-stream","bin",""]];function a(e,t){return null!=c(t.name,e?.supportedFormats??[])}function n(e,t){if(!e)return!1;const r=l(t,e.supportedFormats??[]);return null!=r&&e.editFormats.includes(r)}function i(e,t){return p(function(e,t){const r=e.toLowerCase();return d(t).find((e=>h(e)===r))}(e,t))}function o(e,t){return p(c(e,t))}function u(e,t){return h(function(e,t){return d(t).find((t=>p(t)===e))}(e,t))}function l(e,t){return o(e.name,t)??i(e.type,t)}function d(e){return[...s,...e]}function c(e,t){const r=e.toLowerCase();return d(t).find((e=>function(e){return e?.[2].split(",").map((e=>e.toLowerCase()))??[]}(e).some((e=>r.endsWith(e)))))}function p(e){return e?.[0]}function h(e){return e?.[1].toLowerCase()}function y(e){return e.tables?.find((e=>"assetMaps"===e.role))}},41818:(e,t,r)=>{r.d(t,{P:()=>i});var s=r(11282),a=r(34599),n=r(14165);async function i(e,t,r){const i=(0,s.en)(e);return(0,a.hH)(i,n.Z.from(t),{...r}).then((e=>e.data.count))}},5396:(e,t,r)=>{r.d(t,{G:()=>i});var s=r(11282),a=r(34599),n=r(14165);async function i(e,t,r){const i=(0,s.en)(e);return(0,a.Ev)(i,n.Z.from(t),{...r}).then((e=>e.data.objectIds))}},4967:(e,t,r)=>{r.d(t,{F:()=>u,e:()=>o});var s=r(11282),a=r(34599),n=r(74889),i=r(14165);async function o(e,t,r){const s=await u(e,t,r);return n.Z.fromJSON(s)}async function u(e,t,r){const n=(0,s.en)(e),o={...r},u=i.Z.from(t),{data:l}=await(0,a.JT)(n,u,u.sourceSpatialReference,o);return l}},53261:(e,t,r)=>{r.d(t,{t:()=>m});var s=r(11282),a=r(70586),n=r(69285),i=r(98732);function o(e,t){return t}function u(e,t,r,s){switch(r){case 0:return p(e,t+s,0);case 1:return"lowerLeft"===e.originPosition?p(e,t+s,1):function({translate:e,scale:t},r,s){return e[s]-r*t[s]}(e,t+s,1)}}function l(e,t,r,s){return 2===r?p(e,t,2):u(e,t,r,s)}function d(e,t,r,s){return 2===r?p(e,t,3):u(e,t,r,s)}function c(e,t,r,s){return 3===r?p(e,t,3):l(e,t,r,s)}function p({translate:e,scale:t},r,s){return e[s]+r*t[s]}class h{constructor(e){this._options=e,this.geometryTypes=["esriGeometryPoint","esriGeometryMultipoint","esriGeometryPolyline","esriGeometryPolygon"],this._previousCoordinate=[0,0],this._transform=null,this._applyTransform=o,this._lengths=[],this._currentLengthIndex=0,this._toAddInCurrentPath=0,this._vertexDimension=0,this._coordinateBuffer=null,this._coordinateBufferPtr=0,this._attributesConstructor=class{}}createFeatureResult(){return{fields:[],features:[]}}finishFeatureResult(e){if(this._options.applyTransform&&(e.transform=null),this._attributesConstructor=class{},this._coordinateBuffer=null,this._lengths.length=0,!e.hasZ)return;const t=(0,n.k)(e.geometryType,this._options.sourceSpatialReference,e.spatialReference);if(null!=t)for(const r of e.features)t(r.geometry)}createSpatialReference(){return{}}addField(e,t){const r=e.fields;(0,a.O3)(r),r.push(t);const s=r.map((e=>e.name));this._attributesConstructor=function(){for(const e of s)this[e]=null}}addFeature(e,t){e.features.push(t)}prepareFeatures(e){switch(this._transform=e.transform,this._options.applyTransform&&e.transform&&(this._applyTransform=this._deriveApplyTransform(e)),this._vertexDimension=2,e.hasZ&&this._vertexDimension++,e.hasM&&this._vertexDimension++,e.geometryType){case"esriGeometryPoint":this.addCoordinate=(e,t,r)=>this.addCoordinatePoint(e,t,r),this.createGeometry=e=>this.createPointGeometry(e);break;case"esriGeometryPolygon":this.addCoordinate=(e,t,r)=>this._addCoordinatePolygon(e,t,r),this.createGeometry=e=>this._createPolygonGeometry(e);break;case"esriGeometryPolyline":this.addCoordinate=(e,t,r)=>this._addCoordinatePolyline(e,t,r),this.createGeometry=e=>this._createPolylineGeometry(e);break;case"esriGeometryMultipoint":this.addCoordinate=(e,t,r)=>this._addCoordinateMultipoint(e,t,r),this.createGeometry=e=>this._createMultipointGeometry(e)}}createFeature(){return this._lengths.length=0,this._currentLengthIndex=0,this._previousCoordinate[0]=0,this._previousCoordinate[1]=0,this._coordinateBuffer=null,this._coordinateBufferPtr=0,{attributes:new this._attributesConstructor}}allocateCoordinates(){}addLength(e,t,r){0===this._lengths.length&&(this._toAddInCurrentPath=t),this._lengths.push(t)}addQueryGeometry(e,t){const{queryGeometry:r,queryGeometryType:s}=t,a=(0,i.$g)(r.clone(),r,!1,!1,this._transform),n=(0,i.di)(a,s,!1,!1);e.queryGeometryType=s,e.queryGeometry={...n}}createPointGeometry(e){const t={x:0,y:0,spatialReference:e.spatialReference};return e.hasZ&&(t.z=0),e.hasM&&(t.m=0),t}addCoordinatePoint(e,t,r){const s=this._transform;switch(t=this._applyTransform(s,t,r,0),r){case 0:e.x=t;break;case 1:e.y=t;break;case 2:"z"in e?e.z=t:e.m=t;break;case 3:e.m=t}}_transformPathLikeValue(e,t){let r=0;t<=1&&(r=this._previousCoordinate[t],this._previousCoordinate[t]+=e);const s=this._transform;return this._applyTransform(s,e,t,r)}_addCoordinatePolyline(e,t,r){this._dehydratedAddPointsCoordinate(e.paths,t,r)}_addCoordinatePolygon(e,t,r){this._dehydratedAddPointsCoordinate(e.rings,t,r)}_addCoordinateMultipoint(e,t,r){0===r&&e.points.push([]);const s=this._transformPathLikeValue(t,r);e.points[e.points.length-1].push(s)}_createPolygonGeometry(e){return{rings:[[]],spatialReference:e.spatialReference,hasZ:!!e.hasZ,hasM:!!e.hasM}}_createPolylineGeometry(e){return{paths:[[]],spatialReference:e.spatialReference,hasZ:!!e.hasZ,hasM:!!e.hasM}}_createMultipointGeometry(e){return{points:[],spatialReference:e.spatialReference,hasZ:!!e.hasZ,hasM:!!e.hasM}}_dehydratedAddPointsCoordinate(e,t,r){0===r&&0==this._toAddInCurrentPath--&&(e.push([]),this._toAddInCurrentPath=this._lengths[++this._currentLengthIndex]-1,this._previousCoordinate[0]=0,this._previousCoordinate[1]=0);const s=this._transformPathLikeValue(t,r),a=e[e.length-1];0===r&&(this._coordinateBufferPtr=0,this._coordinateBuffer=new Array(this._vertexDimension),a.push(this._coordinateBuffer)),this._coordinateBuffer[this._coordinateBufferPtr++]=s}_deriveApplyTransform(e){const{hasZ:t,hasM:r}=e;return t&&r?c:t?l:r?d:u}}var y=r(34599),f=(r(74889),r(14165));async function m(e,t,r){const a=(0,s.en)(e),n={...r},i=f.Z.from(t),o=!i.quantizationParameters,{data:u}=await(0,y.qp)(a,i,new h({sourceSpatialReference:i.sourceSpatialReference,applyTransform:o}),n);return u}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8228,5732,2596],{5732:(e,n,t)=>{t.d(n,{c:()=>i,g:()=>r});var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}},20178:(e,n,t)=>{t.d(n,{A:()=>S,B:()=>T,C:()=>D,D:()=>A,E:()=>C,F:()=>L,G:()=>j,H:()=>I,I:()=>O,J:()=>V,K:()=>_,L:()=>k,M:()=>H,N:()=>q,a:()=>c,b:()=>u,c:()=>s,d:()=>a,e:()=>o,f:()=>f,g:()=>B,h:()=>l,i:()=>h,j:()=>G,k:()=>N,l:()=>v,m:()=>y,n:()=>w,o:()=>g,p:()=>M,q:()=>P,r:()=>m,s:()=>x,t:()=>p,u:()=>R,v:()=>b,w:()=>d,x:()=>Z,y:()=>z,z:()=>E});var i=t(45837),r=t(37455);function o(e){return i.G.extendedSpatialReferenceInfo(e)}function s(e,n,t){return i.G.clip(r.N,e,n,t)}function c(e,n,t){return i.G.cut(r.N,e,n,t)}function u(e,n,t){return i.G.contains(r.N,e,n,t)}function a(e,n,t){return i.G.crosses(r.N,e,n,t)}function f(e,n,t,o){return i.G.distance(r.N,e,n,t,o)}function l(e,n,t){return i.G.equals(r.N,e,n,t)}function h(e,n,t){return i.G.intersects(r.N,e,n,t)}function p(e,n,t){return i.G.touches(r.N,e,n,t)}function d(e,n,t){return i.G.within(r.N,e,n,t)}function G(e,n,t){return i.G.disjoint(r.N,e,n,t)}function g(e,n,t){return i.G.overlaps(r.N,e,n,t)}function m(e,n,t,o){return i.G.relate(r.N,e,n,t,o)}function N(e,n){return i.G.isSimple(r.N,e,n)}function x(e,n){return i.G.simplify(r.N,e,n)}function v(e,n,t=!1){return i.G.convexHull(r.N,e,n,t)}function y(e,n,t){return i.G.difference(r.N,e,n,t)}function w(e,n,t){return i.G.symmetricDifference(r.N,e,n,t)}function M(e,n,t){return i.G.intersect(r.N,e,n,t)}function R(e,n,t=null){return i.G.union(r.N,e,n,t)}function P(e,n,t,o,s,c,u){return i.G.offset(r.N,e,n,t,o,s,c,u)}function b(e,n,t,o,s=!1){return i.G.buffer(r.N,e,n,t,o,s)}function Z(e,n,t,o,s,c,u){return i.G.geodesicBuffer(r.N,e,n,t,o,s,c,u)}function z(e,n,t,o=!0){return i.G.nearestCoordinate(r.N,e,n,t,o)}function E(e,n,t){return i.G.nearestVertex(r.N,e,n,t)}function S(e,n,t,o,s){return i.G.nearestVertices(r.N,e,n,t,o,s)}function T(e,n,t,r){if(null==n||null==r)throw new Error("Illegal Argument Exception");const o=i.G.rotate(n,t,r);return o.spatialReference=e,o}function D(e,n,t){if(null==n||null==t)throw new Error("Illegal Argument Exception");const r=i.G.flipHorizontal(n,t);return r.spatialReference=e,r}function A(e,n,t){if(null==n||null==t)throw new Error("Illegal Argument Exception");const r=i.G.flipVertical(n,t);return r.spatialReference=e,r}function C(e,n,t,o,s){return i.G.generalize(r.N,e,n,t,o,s)}function L(e,n,t,o){return i.G.densify(r.N,e,n,t,o)}function j(e,n,t,o,s=0){return i.G.geodesicDensify(r.N,e,n,t,o,s)}function I(e,n,t){return i.G.planarArea(r.N,e,n,t)}function O(e,n,t){return i.G.planarLength(r.N,e,n,t)}function V(e,n,t,o){return i.G.geodesicArea(r.N,e,n,t,o)}function _(e,n,t,o){return i.G.geodesicLength(r.N,e,n,t,o)}function k(e,n,t){return null==n||null==t?[]:i.G.intersectLinesToPoints(r.N,e,n,t)}function H(e,n){i.G.changeDefaultSpatialReferenceTolerance(e,n)}function q(e){i.G.clearDefaultSpatialReferenceTolerance(e)}const B=Object.freeze(Object.defineProperty({__proto__:null,buffer:b,changeDefaultSpatialReferenceTolerance:H,clearDefaultSpatialReferenceTolerance:q,clip:s,contains:u,convexHull:v,crosses:a,cut:c,densify:L,difference:y,disjoint:G,distance:f,equals:l,extendedSpatialReferenceInfo:o,flipHorizontal:D,flipVertical:A,generalize:C,geodesicArea:V,geodesicBuffer:Z,geodesicDensify:j,geodesicLength:_,intersect:M,intersectLinesToPoints:k,intersects:h,isSimple:N,nearestCoordinate:z,nearestVertex:E,nearestVertices:S,offset:P,overlaps:g,planarArea:I,planarLength:O,relate:m,rotate:T,simplify:x,symmetricDifference:w,touches:p,union:R,within:d},Symbol.toStringTag,{value:"Module"}))},37455:(e,n,t)=>{t.d(n,{N:()=>i});const i={convertToGEGeometry:function(e,n){return null==n?null:e.convertJSONToGeometry(n)},exportPoint:function(e,n,t){const i=new r(e.getPointX(n),e.getPointY(n),t),o=e.hasZ(n),s=e.hasM(n);return o&&(i.z=e.getPointZ(n)),s&&(i.m=e.getPointM(n)),i},exportPolygon:function(e,n,t){return new o(e.exportPaths(n),t,e.hasZ(n),e.hasM(n))},exportPolyline:function(e,n,t){return new s(e.exportPaths(n),t,e.hasZ(n),e.hasM(n))},exportMultipoint:function(e,n,t){return new c(e.exportPoints(n),t,e.hasZ(n),e.hasM(n))},exportExtent:function(e,n,t){const i=e.hasZ(n),r=e.hasM(n),o=new u(e.getXMin(n),e.getYMin(n),e.getXMax(n),e.getYMax(n),t);if(i){const t=e.getZExtent(n);o.zmin=t.vmin,o.zmax=t.vmax}if(r){const t=e.getMExtent(n);o.mmin=t.vmin,o.mmax=t.vmax}return o}};class r{constructor(e,n,t){this.x=e,this.y=n,this.spatialReference=t,this.z=void 0,this.m=void 0}}class o{constructor(e,n,t,i){this.rings=e,this.spatialReference=n,this.hasZ=void 0,this.hasM=void 0,t&&(this.hasZ=t),i&&(this.hasM=i)}}class s{constructor(e,n,t,i){this.paths=e,this.spatialReference=n,this.hasZ=void 0,this.hasM=void 0,t&&(this.hasZ=t),i&&(this.hasM=i)}}class c{constructor(e,n,t,i){this.points=e,this.spatialReference=n,this.hasZ=void 0,this.hasM=void 0,t&&(this.hasZ=t),i&&(this.hasM=i)}}class u{constructor(e,n,t,i,r){this.xmin=e,this.ymin=n,this.xmax=t,this.ymax=i,this.spatialReference=r,this.zmin=void 0,this.zmax=void 0,this.mmin=void 0,this.mmax=void 0}}},48227:(e,n,t)=>{t.r(n),t.d(n,{executeGEOperation:()=>r});var i=t(20178);function r(e){return(0,i.g[e.operation])(...e.parameters)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2680,5732,2596],{22303:(t,e,r)=>{r.d(e,{Z:()=>c});var n,s,o=r(35270),i=r(22021),a=r(75215);function l(t){return(0,i.uZ)((0,a.vU)(t),0,255)}function h(t,e,r){return t=Number(t),isNaN(t)?r:t<e?e:t>r?r:t}function u(t,e){const r=t.toString(16).padStart(2,"0");return e?r.substring(0,1):r}class d{static blendColors(t,e,r,n=new d){return n.r=Math.round(t.r+(e.r-t.r)*r),n.g=Math.round(t.g+(e.g-t.g)*r),n.b=Math.round(t.b+(e.b-t.b)*r),n.a=t.a+(e.a-t.a)*r,n._sanitize()}static fromRgb(t,e){const r=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(r){const t=r[2].split(/\s*,\s*/),n=r[1];if("rgb"===n&&3===t.length||"rgba"===n&&4===t.length){const r=t[0];if("%"===r.charAt(r.length-1)){const r=t.map((t=>2.56*parseFloat(t)));return 4===t.length&&(r[3]=parseFloat(t[3])),d.fromArray(r,e)}return d.fromArray(t.map((t=>parseFloat(t))),e)}if("hsl"===n&&3===t.length||"hsla"===n&&4===t.length)return d.fromArray((0,o.B7)(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3])),e)}return null}static fromHex(t,e=new d){if("#"!==t[0]||isNaN(Number(`0x${t.substring(1)}`)))return null;switch(t.length){case 4:case 5:{const r=parseInt(t.substring(1,2),16),n=parseInt(t.substring(2,3),16),s=parseInt(t.substring(3,4),16),o=5===t.length?15:parseInt(t.substring(4),16);return d.fromArray([r+16*r,n+16*n,s+16*s,(o+16*o)/255],e)}case 7:case 9:{const r=parseInt(t.substring(1,3),16),n=parseInt(t.substring(3,5),16),s=parseInt(t.substring(5,7),16),o=7===t.length?255:parseInt(t.substring(7),16);return d.fromArray([r,n,s,o/255],e)}default:return null}}static fromArray(t,e=new d){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){const r=(0,o.St)(t)?(0,o.h$)(t):null;return r&&d.fromArray(r,e)||d.fromRgb(t,e)||d.fromHex(t,e)}static fromJSON(t){return null!=t?new d([t[0],t[1],t[2],(t[3]??255)/255]):void 0}static toUnitRGB(t){return null!=t?[t.r/255,t.g/255,t.b/255]:null}static toUnitRGBA(t){return null!=t?[t.r/255,t.g/255,t.b/255,null!=t.a?t.a:1]:null}constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(t){return"string"==typeof t?d.fromString(t,this):Array.isArray(t)?d.fromArray(t,this):(this._set(t.r??0,t.g??0,t.b??0,t.a??1),t instanceof d||this._sanitize()),this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(t){const e=t?.capitalize??!1,r=t?.digits??6,n=3===r||4===r,s=4===r||8===r,o=`#${u(this.r,n)}${u(this.g,n)}${u(this.b,n)}${s?u(Math.round(255*this.a),n):""}`;return e?o.toUpperCase():o}toCss(t=!1){const e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=d.AlphaMode.ALWAYS){const e=l(this.r),r=l(this.g),n=l(this.b);return t===d.AlphaMode.ALWAYS||1!==this.a?[e,r,n,l(255*this.a)]:[e,r,n]}clone(){return new d(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(t){return null!=t&&t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}_sanitize(){return this.r=Math.round(h(this.r,0,255)),this.g=Math.round(h(this.g,0,255)),this.b=Math.round(h(this.b,0,255)),this.a=h(this.a,0,1),this}_set(t,e,r,n){this.r=t,this.g=e,this.b=r,this.a=n}}d.prototype.declaredClass="esri.Color",(s=(n=d||(d={})).AlphaMode||(n.AlphaMode={}))[s.ALWAYS=0]="ALWAYS",s[s.UNLESS_OPAQUE=1]="UNLESS_OPAQUE";const c=d},92835:(t,e,r)=>{r.d(e,{Z:()=>m});var n,s=r(43697),o=r(96674),i=r(35463),a=r(5600),l=(r(75215),r(67676),r(80442),r(71715)),h=r(52011),u=r(30556),d=r(25031);let c=n=class extends o.wq{static get allTime(){return y}static get empty(){return p}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(n.allTime)}get isEmpty(){return this.equals(n.empty)}readStart(t,e){return null!=e.start?new Date(e.start):null}writeStart(t,e){e.start=t?.getTime()??null}clone(){return new n({end:this.end,start:this.start})}equals(t){if(!t)return!1;const e=this.start?.getTime()??this.start,r=this.end?.getTime()??this.end,n=t.start?.getTime()??t.start,s=t.end?.getTime()??t.end;return e===n&&r===s}expandTo(t,e=d.By){if(this.isEmpty||this.isAllTime)return this.clone();let r=this.start;r&&(r=(0,i.JE)(r,t,e));let s=this.end;if(s){const r=(0,i.JE)(s,t,e);s=s.getTime()===r.getTime()?r:(0,i.Nm)(r,1,t,e)}return new n({start:r,end:s})}intersection(t){if(!t)return this.clone();if(this.isEmpty||t.isEmpty)return n.empty;if(this.isAllTime)return t.clone();if(t.isAllTime)return this.clone();const e=this.start?.getTime()??-1/0,r=this.end?.getTime()??1/0,s=t.start?.getTime()??-1/0,o=t.end?.getTime()??1/0;let i,a;if(s>=e&&s<=r?i=s:e>=s&&e<=o&&(i=e),r>=s&&r<=o?a=r:o>=e&&o<=r&&(a=o),null!=i&&null!=a&&!isNaN(i)&&!isNaN(a)){const t=new n;return t.start=i===-1/0?null:new Date(i),t.end=a===1/0?null:new Date(a),t}return n.empty}offset(t,e,r=d.By){if(this.isEmpty||this.isAllTime)return this.clone();const s=new n,{start:o,end:a}=this;return null!=o&&(s.start=(0,i.Nm)(o,t,e,r)),null!=a&&(s.end=(0,i.Nm)(a,t,e,r)),s}union(t){if(!t||t.isEmpty)return this.clone();if(this.isEmpty)return t.clone();if(this.isAllTime||t.isAllTime)return y.clone();const e=null!=this.start&&null!=t.start?new Date(Math.min(this.start.getTime(),t.start.getTime())):null,r=null!=this.end&&null!=t.end?new Date(Math.max(this.end.getTime(),t.end.getTime())):null;return new n({start:e,end:r})}};(0,s._)([(0,a.Cb)({type:Date,json:{write:{allowNull:!0}}})],c.prototype,"end",void 0),(0,s._)([(0,l.r)("end")],c.prototype,"readEnd",null),(0,s._)([(0,u.c)("end")],c.prototype,"writeEnd",null),(0,s._)([(0,a.Cb)({readOnly:!0,json:{read:!1}})],c.prototype,"isAllTime",null),(0,s._)([(0,a.Cb)({readOnly:!0,json:{read:!1}})],c.prototype,"isEmpty",null),(0,s._)([(0,a.Cb)({type:Date,json:{write:{allowNull:!0}}})],c.prototype,"start",void 0),(0,s._)([(0,l.r)("start")],c.prototype,"readStart",null),(0,s._)([(0,u.c)("start")],c.prototype,"writeStart",null),c=n=(0,s._)([(0,h.j)("esri.TimeExtent")],c);const y=new c,p=new c({start:void 0,end:void 0}),m=c},5732:(t,e,r)=>{r.d(e,{c:()=>n,g:()=>s});var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function s(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}},2368:(t,e,r)=>{r.d(e,{J:()=>u,j:()=>d});var n=r(43697),s=r(92036),o=(r(80442),r(22974)),i=(r(92604),r(70586)),a=r(31263),l=r(1153),h=r(52011);const u=t=>{let e=class extends t{clone(){const t=(0,l.vw)(this);(0,i.O3)(t,"unable to clone instance of non-accessor class");const e=t.metadatas,r=t.store,n={},s=new Map;for(const t in e){const i=e[t],l=r?.originOf(t),h=i.clonable;if(i.readOnly||!1===h||l!==a.s3.USER&&l!==a.s3.DEFAULTS&&l!==a.s3.WEB_MAP&&l!==a.s3.WEB_SCENE)continue;const u=this[t];let d=null;d="function"==typeof h?h(u):"reference"===h?u:(0,o.Vo)(u),null!=u&&null==d||(l===a.s3.DEFAULTS?s.set(t,d):n[t]=d)}const h=new(0,Object.getPrototypeOf(this).constructor)(n);if(s.size){const t=(0,l.vw)(h)?.store;if(t)for(const[e,r]of s)t.set(e,r,a.s3.DEFAULTS)}return h}};return e=(0,n._)([(0,h.j)("esri.core.Clonable")],e),e};let d=class extends(u(s.Z)){};d=(0,n._)([(0,h.j)("esri.core.Clonable")],d)},10699:(t,e,r)=>{r.d(e,{IG:()=>i,iv:()=>a});var n=r(43697),s=r(52011);let o=0;const i=t=>{let e=class extends t{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+o++})}};return e=(0,n._)([(0,s.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:o++})}};return e=(0,n._)([(0,s.j)("esri.core.NumericIdentifiable")],e),e};let l=class extends(i(class{})){};l=(0,n._)([(0,s.j)("esri.core.Identifiable")],l)},17445:(t,e,r)=>{r.d(e,{N1:()=>c,YP:()=>l,Z_:()=>m,gx:()=>h,nn:()=>g,on:()=>d,tX:()=>f}),r(66643),r(46791);var n=r(91460),s=r(50758),o=r(70586),i=r(95330),a=r(26258);function l(t,e,r={}){return u(t,e,r,y)}function h(t,e,r={}){return u(t,e,r,p)}function u(t,e,r={},n){let s=null;const i=r.once?(t,r)=>{n(t)&&((0,o.hw)(s),e(t,r))}:(t,r)=>{n(t)&&e(t,r)};if(s=(0,a.aQ)(t,i,r.sync,r.equals),r.initial){const e=t();i(e,e)}return s}function d(t,e,r,i={}){let a=null,h=null,u=null;function d(){a&&h&&(h.remove(),i.onListenerRemove?.(a),a=null,h=null)}function c(t){i.once&&i.once&&(0,o.hw)(u),r(t)}const y=l(t,((t,r)=>{d(),(0,n.vT)(t)&&(a=t,h=(0,n.on)(t,e,c),i.onListenerAdd?.(t))}),{sync:i.sync,initial:!0});return u=(0,s.kB)((()=>{y.remove(),d()})),u}function c(t,e){return function(t,e,r){if((0,i.Hc)(r))return Promise.reject((0,i.zE)());const n=t();if(e?.(n))return Promise.resolve(n);let a=null;function l(){a=(0,o.hw)(a)}return new Promise(((n,o)=>{a=(0,s.AL)([(0,i.fu)(r,(()=>{l(),o((0,i.zE)())})),u(t,(t=>{l(),n(t)}),{sync:!1,once:!0},e??y)])}))}(t,p,e)}function y(t){return!0}function p(t){return!!t}r(87538);const m={sync:!0},g={initial:!0},f={sync:!0,initial:!0}},35463:(t,e,r)=>{r.d(e,{JE:()=>l,Nm:()=>a,rJ:()=>h});var n=r(90344),s=r(25031),o=r(17126);const i={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8};function a(t,e,r,i=s.By){const a=new o.vF((0,n.f1)(i)),l=o.ou.fromJSDate(t,{zone:a}),h="decades"===r||"centuries"===r?"year":u(r);return"decades"===r&&(e*=10),"centuries"===r&&(e*=100),l.plus({[h]:e}).toJSDate()}function l(t,e,r=s.By){const i=new o.vF((0,n.f1)(r)),a=o.ou.fromJSDate(t,{zone:i});if("decades"===e||"centuries"===e){const t=a.startOf("year"),{year:r}=t,n=r-r%("decades"===e?10:100);return t.set({year:n}).toJSDate()}const l=u(e);return a.startOf(l).toJSDate()}function h(t,e,r){return 0===t?0:t*i[e]/i[r]}function u(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,r)=>{r.d(e,{Xr:()=>p,Ze:()=>b,f1:()=>w,p6:()=>v});var n=r(35454),s=r(70171),o=r(25031);r(17126);const i=Intl.DateTimeFormat().resolvedOptions().timeZone,a=(o.pt,{year:"numeric",month:"numeric",day:"numeric"}),l={year:"numeric",month:"long",day:"numeric"},h={year:"numeric",month:"short",day:"numeric"},u={year:"numeric",month:"long",weekday:"long",day:"numeric"},d={hour:"numeric",minute:"numeric"},c={...d,second:"numeric"},y={"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":h,"day-short-month-year-short-time":{...h,...d},"day-short-month-year-short-time-24":{...h,...d,hour12:!1},"day-short-month-year-long-time":{...h,...c},"day-short-month-year-long-time-24":{...h,...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},p=(0,n.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=y["short-date-short-time"];function b(t){return y[t]}function v(t,e=f){return function(t){let e=g.get(t);if(!e){const r=(0,s.Kd)(),n=m[r]||r,i=w(t.timeZone??o.By),a={...t,timeZone:i};e=new Intl.DateTimeFormat(n,a),g.set(t,e)}return e}(e).format(t)}function w(t){switch(t){case o.By:return i;case o._4:return o.pt;default:return t}}(0,s.Ze)((()=>{g=new WeakMap}))},3723:(t,e,r)=>{r.r(e),r.d(e,{default:()=>M});var n=r(43697),s=r(68773),o=r(3172),i=(r(9790),r(16453)),a=r(95330),l=r(17452),h=r(5600),u=(r(75215),r(67676),r(80442),r(71715)),d=r(52011),c=r(6570),y=r(8744),p=r(87085),m=r(71612),g=r(38009),f=r(16859),b=r(34760),v=r(72965),w=r(21506),_=r(89164),S=r(4095),C=r(37898),I=r(77987),T=r(20256);const E=["atom","xml"],D={base:_.Z,key:"type",typeMap:{"simple-line":S.Z},errorContext:"symbol"},P={base:_.Z,key:"type",typeMap:{"picture-marker":C.Z,"simple-marker":I.Z},errorContext:"symbol"},A={base:_.Z,key:"type",typeMap:{"simple-fill":T.Z},errorContext:"symbol"};let L=class extends((0,m.h)((0,b.Q)((0,g.q)((0,f.I)((0,v.M)((0,i.R)(p.Z))))))){constructor(...t){super(...t),this.description=null,this.fullExtent=null,this.legendEnabled=!0,this.lineSymbol=null,this.pointSymbol=null,this.polygonSymbol=null,this.operationalLayerType="GeoRSS",this.url=null,this.type="geo-rss"}normalizeCtorArgs(t,e){return"string"==typeof t?{url:t,...e}:t}readFeatureCollections(t,e){return e.featureCollection.layers.forEach((t=>{const e=t.layerDefinition.drawingInfo.renderer.symbol;e&&"esriSFS"===e.type&&e.outline?.style.includes("esriSFS")&&(e.outline.style="esriSLSSolid")})),e.featureCollection.layers}get hasPoints(){return this._hasGeometry("esriGeometryPoint")}get hasPolylines(){return this._hasGeometry("esriGeometryPolyline")}get hasPolygons(){return this._hasGeometry("esriGeometryPolygon")}get title(){const t=this._get("title");return t&&"defaults"!==this.originOf("title")?t:this.url?(0,l.vt)(this.url,E)||"GeoRSS":t||""}set title(t){this._set("title",t)}load(t){const e=null!=t?t.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Map Service","Feature Service","Feature Collection","Scene Service"]},t).catch(a.r9).then((()=>this._fetchService(e))).then((t=>{this.read(t,{origin:"service"})}))),Promise.resolve(this)}async hasDataChanged(){const t=await this._fetchService();return this.read(t,{origin:"service",ignoreDefaults:!0}),!0}async _fetchService(t){const e=this.spatialReference,{data:r}=await(0,o.Z)(s.default.geoRSSServiceUrl,{query:{url:this.url,refresh:!!this.loaded||void 0,outSR:(0,y.oR)(e)?void 0:e.wkid??JSON.stringify(e)},signal:t});return r}_hasGeometry(t){return this.featureCollections?.some((e=>e.featureSet?.geometryType===t&&e.featureSet.features?.length>0))??!1}};(0,n._)([(0,h.Cb)()],L.prototype,"description",void 0),(0,n._)([(0,h.Cb)()],L.prototype,"featureCollections",void 0),(0,n._)([(0,u.r)("service","featureCollections",["featureCollection.layers"])],L.prototype,"readFeatureCollections",null),(0,n._)([(0,h.Cb)({type:c.Z,json:{name:"lookAtExtent"}})],L.prototype,"fullExtent",void 0),(0,n._)([(0,h.Cb)(w.id)],L.prototype,"id",void 0),(0,n._)([(0,h.Cb)(w.rn)],L.prototype,"legendEnabled",void 0),(0,n._)([(0,h.Cb)({types:D,json:{write:!0}})],L.prototype,"lineSymbol",void 0),(0,n._)([(0,h.Cb)({type:["show","hide"]})],L.prototype,"listMode",void 0),(0,n._)([(0,h.Cb)({types:P,json:{write:!0}})],L.prototype,"pointSymbol",void 0),(0,n._)([(0,h.Cb)({types:A,json:{write:!0}})],L.prototype,"polygonSymbol",void 0),(0,n._)([(0,h.Cb)({type:["GeoRSS"]})],L.prototype,"operationalLayerType",void 0),(0,n._)([(0,h.Cb)(w.HQ)],L.prototype,"url",void 0),(0,n._)([(0,h.Cb)({json:{origins:{service:{read:{source:"name",reader:t=>t||void 0}}}}})],L.prototype,"title",null),(0,n._)([(0,h.Cb)({readOnly:!0,json:{read:!1},value:"geo-rss"})],L.prototype,"type",void 0),L=(0,n._)([(0,d.j)("esri.layers.GeoRSSLayer")],L);const M=L},87085:(t,e,r)=>{r.d(e,{Z:()=>v});var n=r(43697),s=(r(66577),r(3172)),o=r(20102),i=r(32448),a=r(10699),l=r(83379),h=r(92604),u=r(95330),d=r(17452),c=r(5600),y=(r(75215),r(67676),r(80442),r(52011)),p=r(68773),m=r(6570),g=r(82971);let f=0,b=class extends(i.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(t){const e="string"==typeof t?{url:t}:t;return(await r.e(3529).then(r.bind(r,63529))).fromUrl(e)}static fromPortalItem(t){return async function(t){const e="portalItem"in t?t:{portalItem:t},{fromItem:n}=await r.e(8008).then(r.bind(r,28008));try{return await n(e)}catch(t){const r=e&&e.portalItem,n=r?.id||"unset",s=r&&r.portal&&r.portal.url||p.default.portalUrl;throw h.Z.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+s+"', id: '"+n+"')",t),t}}(t)}initialize(){this.when().catch((t=>{(0,u.D_)(t)||h.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,s.Z)(t,{query:{f:"json"},responseType:"json"})).data;throw new o.Z("layer:no-attribution-data","Layer does not have attribution data")}};(0,n._)([(0,c.Cb)({type:String})],b.prototype,"attributionDataUrl",void 0),(0,n._)([(0,c.Cb)({type:m.Z})],b.prototype,"fullExtent",void 0),(0,n._)([(0,c.Cb)({readOnly:!0})],b.prototype,"hasAttributionData",null),(0,n._)([(0,c.Cb)({type:String,clonable:!1})],b.prototype,"id",void 0),(0,n._)([(0,c.Cb)({type:Boolean,nonNullable:!0})],b.prototype,"legendEnabled",void 0),(0,n._)([(0,c.Cb)({type:["show","hide","hide-children"]})],b.prototype,"listMode",void 0),(0,n._)([(0,c.Cb)({type:Number,range:{min:0,max:1},nonNullable:!0})],b.prototype,"opacity",void 0),(0,n._)([(0,c.Cb)({clonable:!1})],b.prototype,"parent",void 0),(0,n._)([(0,c.Cb)({readOnly:!0})],b.prototype,"parsedUrl",null),(0,n._)([(0,c.Cb)({type:Boolean,readOnly:!0})],b.prototype,"persistenceEnabled",void 0),(0,n._)([(0,c.Cb)({type:Boolean})],b.prototype,"popupEnabled",void 0),(0,n._)([(0,c.Cb)({type:Boolean})],b.prototype,"attributionVisible",void 0),(0,n._)([(0,c.Cb)({type:g.Z})],b.prototype,"spatialReference",void 0),(0,n._)([(0,c.Cb)({type:String})],b.prototype,"title",void 0),(0,n._)([(0,c.Cb)({readOnly:!0,json:{read:!1}})],b.prototype,"type",void 0),(0,n._)([(0,c.Cb)()],b.prototype,"url",void 0),(0,n._)([(0,c.Cb)({type:Boolean,nonNullable:!0})],b.prototype,"visible",void 0),b=(0,n._)([(0,y.j)("esri.layers.Layer")],b);const v=b},16859:(t,e,r)=>{r.d(e,{I:()=>S});var n=r(43697),s=r(68773),o=r(40330),i=r(3172),a=r(66643),l=r(20102),h=r(92604),u=r(70586),d=r(95330),c=r(17452),y=r(5600),p=(r(75215),r(67676),r(80442),r(71715)),m=r(52011),g=r(30556),f=r(84230),b=r(48522),v=r(15235),w=r(86082),_=r(14661);const S=t=>{let e=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,u.SC)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}set portalItem(t){t!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",t))}readPortalItem(t,e,r){if(e.itemId)return new v.default({id:e.itemId,portal:r?.portal})}writePortalItem(t,e){t?.id&&(e.itemId=t.id)}async loadFromPortal(t,e){if(this.portalItem?.id)try{const{load:n}=await r.e(8062).then(r.bind(r,18062));return(0,d.k_)(e),await n({instance:this,supportedTypes:t.supportedTypes,validateItem:t.validateItem,supportsData:t.supportsData,layerModuleTypeMap:t.layerModuleTypeMap},e)}catch(t){throw(0,d.D_)(t)||h.Z.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${t}`),t}}async finishLoadEditablePortalLayer(t){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(t).catch((t=>((0,d.r9)(t),!0))))}async setUserPrivileges(t,e){if(!s.default.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(e);if(this.url)try{const{features:{edit:r,fullEdit:n},content:{updateItem:s}}=await this._fetchUserPrivileges(t,e);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",n),this._set("userHasUpdateItemPrivileges",s)}catch(t){(0,d.r9)(t)}}async _fetchUserPrivileges(t,e){let r=this.portalItem;if(!t||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(e);const n=t===r.id;if(n&&r.portal.user)return(0,_.Ss)(r);let s,i;if(n)s=r.portal.url;else try{s=await(0,f.oP)(this.url,e)}catch(t){(0,d.r9)(t)}if(!s||!(0,c.Zo)(s,r.portal.url))return this._fetchFallbackUserPrivileges(e);try{const t=null!=e?e.signal:null;i=await(o.id?.getCredential(`${s}/sharing`,{prompt:!1,signal:t}))}catch(t){(0,d.r9)(t)}if(!i)return{features:{edit:!0,fullEdit:!1},content:{updateItem:!1}};try{if(n?await r.reload():(r=new v.default({id:t,portal:{url:s}}),await r.load(e)),r.portal.user)return(0,_.Ss)(r)}catch(t){(0,d.r9)(t)}return{features:{edit:!0,fullEdit:!1},content:{updateItem:!1}}}async _fetchFallbackUserPrivileges(t){let e=!0;try{e=await this._fetchUserHasEditingPrivileges(t)}catch(t){(0,d.r9)(t)}return{features:{edit:e,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(t){const e=this.url?o.id?.findCredential(this.url):null;if(!e)return!0;const r=C.credential===e?C.user:await this._fetchEditingUser(t);return C.credential=e,C.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(t){const e=this.portalItem?.portal?.user;if(e)return e;const r=o.id.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const n=`${r.owningSystemUrl}/sharing/rest`,s=b.Z.getDefault();if(s&&s.loaded&&(0,c.Fv)(s.restUrl)===(0,c.Fv)(n))return s.user;const l=`${n}/community/self`,h=null!=t?t.signal:null,u=await(0,a.q6)((0,i.Z)(l,{authMode:"no-prompt",query:{f:"json"},signal:h}));return u.ok?w.Z.fromJSON(u.value.data):null}read(t,e){e&&(e.layer=this),super.read(t,e)}write(t,e){const r=e?.portal,n=this.portalItem?.id&&(this.portalItem.portal||b.Z.getDefault());return r&&n&&!(0,c.tm)(n.restUrl,r.restUrl)?(e.messages&&e.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(t,{...e,layer:this})}};return(0,n._)([(0,y.Cb)({type:v.default})],e.prototype,"portalItem",null),(0,n._)([(0,p.r)("web-document","portalItem",["itemId"])],e.prototype,"readPortalItem",null),(0,n._)([(0,g.c)("web-document","portalItem",{itemId:{type:String}})],e.prototype,"writePortalItem",null),(0,n._)([(0,y.Cb)({clonable:!1})],e.prototype,"resourceReferences",void 0),(0,n._)([(0,y.Cb)({type:Boolean,readOnly:!0})],e.prototype,"userHasEditingPrivileges",void 0),(0,n._)([(0,y.Cb)({type:Boolean,readOnly:!0})],e.prototype,"userHasFullEditingPrivileges",void 0),(0,n._)([(0,y.Cb)({type:Boolean,readOnly:!0})],e.prototype,"userHasUpdateItemPrivileges",void 0),e=(0,n._)([(0,m.j)("esri.layers.mixins.PortalLayer")],e),e},C={credential:null,user:null}},34760:(t,e,r)=>{r.d(e,{Q:()=>v});var n=r(43697),s=r(92604),o=r(95330),i=r(5600),a=r(90578),l=(r(67676),r(80442),r(52011)),h=r(82960),u=r(46791),d=(r(66643),r(20102),r(26258),r(87538));const c=new u.Z,y=new WeakMap;function p(t){(function(t){return null!=t&&"object"==typeof t&&"refreshInterval"in t&&"refresh"in t})(t)&&c.push(new WeakRef(t))}function m(t,e){return Number.isFinite(t)&&Number.isFinite(e)?e<=0?t:m(e,t%e):0}let g=0,f=0;function b(){const t=Date.now();let e=!1;for(const r of c){const n=r.deref();n?n.refreshInterval&&t-(y.get(n)??0)+5>=6e4*n.refreshInterval&&(y.set(n,t),n.refresh(t)):e=!0}if(e)for(let t=c.length-1;t>=0;t--)c.at(t).deref()||c.removeAt(t)}(0,d.EH)((()=>{const t=Date.now();let e=0;for(const r of c){const n=r.deref();n&&(e=m(Math.round(6e4*n.refreshInterval),e),n.refreshInterval?y.get(n)||y.set(n,t):y.delete(n))}if(e!==f){if(f=e,clearInterval(g),0===f)return void(g=0);g=setInterval(b,f)}}));const v=t=>{let e=class extends t{constructor(...t){super(...t),this.refreshInterval=0,this.refreshTimestamp=0,this._debounceHasDataChanged=(0,o.Ds)((()=>this.hasDataChanged())),this.when().then((()=>{this.destroyed||p(this)}),(()=>{}))}destroy(){!function(t){const e=c.find((e=>e.deref()===t));e&&c.remove(e)}(this)}castRefreshInterval(t){return t>=.1?t:t<=0?0:.1}get refreshParameters(){return{_ts:this.refreshTimestamp||null}}refresh(t=Date.now()){(0,o.R8)(this._debounceHasDataChanged()).then((e=>{e&&this._set("refreshTimestamp",t),this.emit("refresh",{dataChanged:e})}),(t=>{s.Z.getLogger(this).error(t),this.emit("refresh",{dataChanged:!1,error:t})}))}async hasDataChanged(){return!0}get test(){const t=this;return{set refreshInterval(e){t._set("refreshInterval",e)}}}};return(0,n._)([(0,i.Cb)({type:Number,json:{write:!0,origins:{"web-scene":{write:{enabled:!0,layerContainerTypes:h.C}}}}})],e.prototype,"refreshInterval",void 0),(0,n._)([(0,a.p)("refreshInterval")],e.prototype,"castRefreshInterval",null),(0,n._)([(0,i.Cb)({readOnly:!0})],e.prototype,"refreshTimestamp",void 0),(0,n._)([(0,i.Cb)({readOnly:!0})],e.prototype,"refreshParameters",null),e=(0,n._)([(0,l.j)("esri.layers.mixins.RefreshableLayer")],e),e}},31134:(t,e,r)=>{r.d(e,{Z:()=>c});var n,s=r(43697),o=r(96674),i=r(62357),a=r(5600),l=r(90578),h=(r(67676),r(80442),r(52011)),u=r(61565);let d=n=class extends o.wq{constructor(t){super(t),this.decoration="none",this.family="sans-serif",this.size=9,this.style="normal",this.weight="normal"}castSize(t){return(0,i.t_)(t)}clone(){return new n({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,s._)([(0,a.Cb)({type:u.JT,json:{default:"none",write:!0}})],d.prototype,"decoration",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],d.prototype,"family",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{write:{overridePolicy:(t,e,r)=>({enabled:!r||!r.textSymbol3D})}}})],d.prototype,"size",void 0),(0,s._)([(0,l.p)("size")],d.prototype,"castSize",null),(0,s._)([(0,a.Cb)({type:u.g6,json:{default:"normal",write:!0}})],d.prototype,"style",void 0),(0,s._)([(0,a.Cb)({type:u.vC,json:{default:"normal",write:!0}})],d.prototype,"weight",void 0),d=n=(0,s._)([(0,h.j)("esri.symbols.Font")],d);const c=d},61565:(t,e,r)=>{r.d(e,{Ck:()=>l,JT:()=>o,Nj:()=>u,c9:()=>d,g6:()=>i,vC:()=>a,x0:()=>h});var n=r(22021),s=r(75215);const o=["none","underline","line-through"],i=["normal","italic","oblique"],a=["normal","lighter","bold","bolder"],l={type:Number,cast:t=>{const e=(0,s.q9)(t);return 0===e?1:(0,n.uZ)(e,.1,4)},nonNullable:!0},h={type:["left","right","center"],nonNullable:!0},u={type:["baseline","top","middle","bottom"],nonNullable:!0},d=8}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5286],{88764:(e,t,s)=>{s.d(t,{q:()=>l});var i,r,n,a=s(5732),o={exports:{}};i=o,r=function(){function e(s,i,r,n,a){for(;n>r;){if(n-r>600){var o=n-r+1,l=i-r+1,u=Math.log(o),c=.5*Math.exp(2*u/3),h=.5*Math.sqrt(u*c*(o-c)/o)*(l-o/2<0?-1:1);e(s,i,Math.max(r,Math.floor(i-l*c/o+h)),Math.min(n,Math.floor(i+(o-l)*c/o+h)),a)}var d=s[i],f=r,p=n;for(t(s,r,i),a(s[n],d)>0&&t(s,r,n);f<p;){for(t(s,f,p),f++,p--;a(s[f],d)<0;)f++;for(;a(s[p],d)>0;)p--}0===a(s[r],d)?t(s,r,p):t(s,++p,n),p<=i&&(r=p+1),i<=p&&(n=p-1)}}function t(e,t,s){var i=e[t];e[t]=e[s],e[s]=i}function s(e,t){return e<t?-1:e>t?1:0}return function(t,i,r,n,a){e(t,i,r||0,n||t.length-1,a||s)}},void 0!==(n=r())&&(i.exports=n);const l=(0,a.g)(o.exports)},95528:(e,t,s)=>{s.d(t,{t:()=>o});var i=s(22974),r=s(58971),n=s(10661);class a{constructor(e,t){this._observable=new n.s,this._value=e,this._equalityFunction=t}get value(){return(0,r.it)(this._observable),this._value}set value(e){this._equalityFunction(e,this._value)||(this._value=e,this._observable.notify())}mutate(e){e(this._value),this._observable.notify()}}function o(e,t=i.y7){return new a(e,t)}},37455:(e,t,s)=>{s.d(t,{N:()=>i});const i={convertToGEGeometry:function(e,t){return null==t?null:e.convertJSONToGeometry(t)},exportPoint:function(e,t,s){const i=new r(e.getPointX(t),e.getPointY(t),s),n=e.hasZ(t),a=e.hasM(t);return n&&(i.z=e.getPointZ(t)),a&&(i.m=e.getPointM(t)),i},exportPolygon:function(e,t,s){return new n(e.exportPaths(t),s,e.hasZ(t),e.hasM(t))},exportPolyline:function(e,t,s){return new a(e.exportPaths(t),s,e.hasZ(t),e.hasM(t))},exportMultipoint:function(e,t,s){return new o(e.exportPoints(t),s,e.hasZ(t),e.hasM(t))},exportExtent:function(e,t,s){const i=e.hasZ(t),r=e.hasM(t),n=new l(e.getXMin(t),e.getYMin(t),e.getXMax(t),e.getYMax(t),s);if(i){const s=e.getZExtent(t);n.zmin=s.vmin,n.zmax=s.vmax}if(r){const s=e.getMExtent(t);n.mmin=s.vmin,n.mmax=s.vmax}return n}};class r{constructor(e,t,s){this.x=e,this.y=t,this.spatialReference=s,this.z=void 0,this.m=void 0}}class n{constructor(e,t,s,i){this.rings=e,this.spatialReference=t,this.hasZ=void 0,this.hasM=void 0,s&&(this.hasZ=s),i&&(this.hasM=i)}}class a{constructor(e,t,s,i){this.paths=e,this.spatialReference=t,this.hasZ=void 0,this.hasM=void 0,s&&(this.hasZ=s),i&&(this.hasM=i)}}class o{constructor(e,t,s,i){this.points=e,this.spatialReference=t,this.hasZ=void 0,this.hasM=void 0,s&&(this.hasZ=s),i&&(this.hasM=i)}}class l{constructor(e,t,s,i,r){this.xmin=e,this.ymin=t,this.xmax=s,this.ymax=i,this.spatialReference=r,this.zmin=void 0,this.zmax=void 0,this.mmin=void 0,this.mmax=void 0}}},11028:(e,t,s)=>{s.d(t,{q:()=>Ge});var i=s(67676),r=s(20102),n=s(96674),a=s(22974),o=s(70586),l=s(69801),u=s(95330),c=s(67900),h=s(73615),d=s(60437),f=s(24470),p=s(20322),m=s(33955),g=s(16306),_=s(8744),y=s(98732),x=s(35454),S=s(13867),E=s(8968);const R=new class{constructor(e,t){this._cache=new S.z(e),this._invalidCache=new S.z(t)}get(e,t){const s=`${t.uid}:${e}`,i=this._cache.get(s);if(i)return i;if(void 0!==this._invalidCache.get(s))return null;try{const i=E.WhereClause.create(e,t);return this._cache.put(s,i),i}catch{return this._invalidCache.put(s,null),null}}}(50,500),T="feature-store:unsupported-query",I=" as ",F=new x.X({esriFieldTypeString:"string"}),w=new x.X({esriFieldTypeOID:"oid",esriFieldTypeSmallInteger:"small-integer",esriFieldTypeBigInteger:"big-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long"}),A=new x.X({esriFieldTypeDate:"date",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"}),b=new x.X({esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id"}),v=new Set([...w.jsonValues,...A.jsonValues,...F.jsonValues,...b.jsonValues]),N=new Intl.ListFormat("en-US",{type:"conjunction"}).format([...w.apiValues,...A.apiValues,...F.apiValues,...b.apiValues]);function C(e,t,s={}){const i=O(e,t);if(!i)throw new r.Z(T,"invalid SQL expression",{expression:e});const n=s.expressionName||"expression";if(s.validateStandardized&&!i.isStandardized)throw new r.Z(T,`${n} is not standard`,{expression:e});if(s.validateAggregate&&!i.isAggregate)throw new r.Z(T,`${n} does not contain a valid aggregate function`,{expression:e});return i.fieldNames}function P(e,t,s,i){if(!t)return!0;const n="having",a=C(t,e,{validateAggregate:!0,expressionName:n});M(e,a,{expressionName:n,query:i}),k(e,a,{expressionName:n,query:i});const o=R.get(t,e),l=o?.getExpressions().every((t=>{const{aggregateType:i,field:r}=t,n=e.get(r)?.name;return s.some((t=>{const{onStatisticField:s,statisticType:r}=t,a=e.get(s)?.name;return a===n&&r.toLowerCase().trim()===i}))}));if(!l)throw new r.Z(T,"expressions in having should also exist in outStatistics",{having:t});return!0}function O(e,t){return e?R.get(e,t):null}function M(e,t,s={}){s.errorMessage||(s.errorMessage=s.expressionName?`${s.expressionName} contains invalid fields`:"Fields are invalid"),D(e,t,((e,t)=>t.has(e)),s)}function k(e,t,s={}){s.errorMessage||(s.errorMessage=s.expressionName?`${s.expressionName} only supports ${N} field types`:`Only ${N} field types are supported`),D(e,t,((e,t)=>!Q(e,t)),s)}function D(e,t,s,i={}){const n=i.verifyExpression??!0,a=[];for(const r of t){const t=s(r,e);if("*"!==r&&!t)if(n){const t=G(r);try{D(e,C(t,e,{validateStandardized:!0}),s,i)}catch(e){const t=e?.details;if(t?.expression)throw e;t?.invalidFields?a.push(...t.invalidFields):a.push(r)}}else a.push(r)}if(a.length)throw new r.Z(T,i.errorMessage,{invalidFields:a,query:i.query})}function G(e){return/\((.*?)\)/.test(e)?e:e.split(I)[0]}function Q(e,t,s=v){const i=t.get(e);return!!i&&!s.has(i.type)}var L=s(37427),V=s(61159),U=s(35308),q=s(49600),z=s(82397),Z=s(11490),j=s(24452),B=s(59266);class Y{constructor(e,t,s){this._fieldDataCache=new Map,this._returnDistinctMap=new Map,this.returnDistinctValues=e.returnDistinctValues??!1,this.fieldsIndex=s,this.featureAdapter=t;const i=e.outFields;if(i&&!i.includes("*")){this.outFields=i;let e=0;for(const t of i){const i=G(t),r=this.fieldsIndex.get(i),n=r?null:O(i,s),a=r?r.name:t.split(I)[1]||"FIELD_EXP_"+e++;this._fieldDataCache.set(t,{alias:a,clause:n})}}}countDistinctValues(e){return this.returnDistinctValues?(e.forEach((e=>this.getAttributes(e))),this._returnDistinctMap.size):e.length}getAttributes(e){const t=this._processAttributesForOutFields(e);return this._processAttributesForDistinctValues(t)}getFieldValue(e,t,s){const i=s?s.name:t;let r=null;return this._fieldDataCache.has(i)?r=this._fieldDataCache.get(i)?.clause:s||(r=O(t,this.fieldsIndex),this._fieldDataCache.set(i,{alias:i,clause:r})),s?this.featureAdapter.getAttribute(e,i):r?.calculateValue(e,this.featureAdapter)}getDataValues(e,t){const s=t.normalizationType,i=t.normalizationTotal,r=this.fieldsIndex.isDateField(t.field);return e.map((e=>{let n=t.field&&this.getFieldValue(e,t.field,this.fieldsIndex.get(t.field));if(t.field2?(n=`${(0,j.wk)(n)}${t.fieldDelimiter}${(0,j.wk)(this.getFieldValue(e,t.field2,this.fieldsIndex.get(t.field2)))}`,t.field3&&(n=`${n}${t.fieldDelimiter}${(0,j.wk)(this.getFieldValue(e,t.field3,this.fieldsIndex.get(t.field3)))}`)):r&&"string"==typeof n&&(n=n?new Date(n).getTime():null),s&&Number.isFinite(n)){const r="field"===s&&t.normalizationField?this.getFieldValue(e,t.normalizationField,this.fieldsIndex.get(t.normalizationField)):null;n=(0,j.fk)(n,s,r,i)}return n}))}async getExpressionValues(e,t,s,i,r){const{arcadeUtils:n}=await(0,B.LC)(),a=n.hasGeometryOperations(t);a&&await n.enableGeometryOperations();const o=n.createFunction(t),l=n.getViewInfo(s),u={fields:this.fieldsIndex.fields};return e.map((e=>{const t={attributes:this.featureAdapter.getAttributes(e),layer:u,geometry:a?{...(0,Z.Op)(i.geometryType,i.hasZ,i.hasM,this.featureAdapter.getGeometry(e)),spatialReference:s?.spatialReference}:null},c=n.createExecContext(t,l,r);return n.executeFunction(o,c)}))}validateItem(e,t){return this._fieldDataCache.has(t)||this._fieldDataCache.set(t,{alias:t,clause:O(t,this.fieldsIndex)}),this._fieldDataCache.get(t)?.clause?.testFeature(e,this.featureAdapter)??!1}validateItems(e,t){return this._fieldDataCache.has(t)||this._fieldDataCache.set(t,{alias:t,clause:O(t,this.fieldsIndex)}),this._fieldDataCache.get(t)?.clause?.testSet(e,this.featureAdapter)??!1}_processAttributesForOutFields(e){const t=this.outFields;if(!t?.length)return this.featureAdapter.getAttributes(e);const s={};for(const i of t){const{alias:t,clause:r}=this._fieldDataCache.get(i);s[t]=r?r.calculateValue(e,this.featureAdapter):this.featureAdapter.getAttribute(e,t)}return s}_processAttributesForDistinctValues(e){if(null==e||!this.returnDistinctValues)return e;const t=this.outFields,s=[];if(t)for(const i of t){const{alias:t}=this._fieldDataCache.get(i);s.push(e[t])}else for(const t in e)s.push(e[t]);const i=`${(t||["*"]).join(",")}=${s.join(",")}`;let r=this._returnDistinctMap.get(i)||0;return this._returnDistinctMap.set(i,++r),r>1?null:e}}function H(e,t,s){return{objectId:e,target:t,distance:s,type:"vertex"}}function W(e,t,s,i,r,n=!1){return{objectId:e,target:t,distance:s,type:"edge",start:i,end:r,draped:n}}var X=s(35671);class ${constructor(e,t,s){this.items=e,this.query=t,this.geometryType=s.geometryType,this.hasM=s.hasM,this.hasZ=s.hasZ,this.fieldsIndex=s.fieldsIndex,this.objectIdField=s.objectIdField,this.spatialReference=s.spatialReference,this.featureAdapter=s.featureAdapter}get size(){return this.items.length}createQueryResponseForCount(){const e=new Y(this.query,this.featureAdapter,this.fieldsIndex);if(!this.query.outStatistics)return e.countDistinctValues(this.items);const{groupByFieldsForStatistics:t,having:s,outStatistics:i}=this.query,r=t?.length;if(!r)return 1;const n=new Map,a=new Map,o=new Set;for(const r of i){const{statisticType:i}=r,l="exceedslimit"!==i?r.onStatisticField:void 0;if(!a.has(l)){const s=[];for(const i of t){const t=this._getAttributeValues(e,i,n);s.push(t)}a.set(l,this._calculateUniqueValues(s,e.returnDistinctValues))}const u=a.get(l);for(const t in u){const{data:i,items:r}=u[t],n=i.join(",");s&&!e.validateItems(r,s)||o.add(n)}}return o.size}async createQueryResponse(){let e;if(e=this.query.outStatistics?this.query.outStatistics.some((e=>"exceedslimit"===e.statisticType))?this._createExceedsLimitQueryResponse(this.query):await this._createStatisticsQueryResponse(this.query):this._createFeatureQueryResponse(this.query),this.query.returnQueryGeometry){const t=this.query.geometry;(0,_.JY)(this.query.outSR)&&!(0,_.fS)(t.spatialReference,this.query.outSR)?e.queryGeometry=(0,Z.S2)({spatialReference:this.query.outSR,...(0,L.iV)(t,t.spatialReference,this.query.outSR)}):e.queryGeometry=(0,Z.S2)({spatialReference:this.query.outSR,...t})}return e}createSnappingResponse(e,t){const s=this.featureAdapter,i=K(this.hasZ,this.hasM),{point:r,mode:n}=e,a="number"==typeof e.distance?e.distance:e.distance.x,o="number"==typeof e.distance?e.distance:e.distance.y,l={candidates:[]},u="esriGeometryPolygon"===this.geometryType,c=this._getPointCreator(n,this.spatialReference,t),h=new ee(null,0),d=new ee(null,0),f={x:0,y:0,z:0};for(const t of this.items){const n=s.getGeometry(t);if(null==n)continue;const{coords:p,lengths:m}=n;if(h.coords=p,d.coords=p,e.returnEdge){let e=0;for(let n=0;n<m.length;n++){const u=m[n];for(let n=0;n<u;n++,e+=i){const p=h;if(p.coordsIndex=e,n!==u-1){const n=d;n.coordsIndex=e+i;const u=f;J(f,r,p,n);const h=(r.x-u.x)/a,m=(r.y-u.y)/o,g=h*h+m*m;g<=1&&l.candidates.push(W(s.getObjectId(t),c(u),Math.sqrt(g),c(p),c(n)))}}}}if("none"!==e.vertexMode){const n=u?p.length-i:p.length;if("all"===e.vertexMode)for(let e=0;e<n;e+=i){const i=h;i.coordsIndex=e;const n=(r.x-i.x)/a,u=(r.y-i.y)/o,d=n*n+u*u;d<=1&&l.candidates.push(H(s.getObjectId(t),c(i),Math.sqrt(d)))}else if("ends"===e.vertexMode){const e=[0];u||e.push(p.length-i);for(const i of e){const e=h;e.coordsIndex=i;const n=(r.x-e.x)/a,u=(r.y-e.y)/o,d=n*n+u*u;d<=1&&l.candidates.push(H(s.getObjectId(t),c(e),Math.sqrt(d)))}}}}return l.candidates.sort(((e,t)=>e.distance-t.distance)),l}_getPointCreator(e,t,s){const i=null==s||(0,_.fS)(t,s)?e=>e:e=>(0,L.iV)(e,t,s),{hasZ:r}=this;return"3d"===e?r?({x:e,y:t,z:s})=>i({x:e,y:t,z:s}):({x:e,y:t})=>i({x:e,y:t,z:0}):({x:e,y:t})=>i({x:e,y:t})}async createSummaryStatisticsResponse(e){const{field:t,valueExpression:s,normalizationField:i,normalizationType:r,normalizationTotal:n,minValue:a,maxValue:o,scale:l,timeZone:u}=e,c=this.fieldsIndex.isDateField(t),h=await this._getDataValues({field:t,valueExpression:s,normalizationField:i,normalizationType:r,normalizationTotal:n,scale:l,timeZone:u}),d=(0,j.S5)({normalizationType:r,normalizationField:i,minValue:a,maxValue:o}),f=this.fieldsIndex.get(t),p={value:.5,fieldType:f?.type},m=(0,X.qN)(f)?(0,j.H0)({values:h,supportsNullCount:d,percentileParams:p}):(0,j.i5)({values:h,minValue:a,maxValue:o,useSampleStdDev:!r,supportsNullCount:d,percentileParams:p});return(0,j.F_)(m,c)}async createUniqueValuesResponse(e){const{field:t,valueExpression:s,domains:i,returnAllCodedValues:r,scale:n,timeZone:a}=e,o=await this._getDataValues({field:t,field2:e.field2,field3:e.field3,fieldDelimiter:e.fieldDelimiter,valueExpression:s,scale:n,timeZone:a}),l=(0,j.eT)(o);return(0,j.Qm)(l,i,r,e.fieldDelimiter)}async createClassBreaksResponse(e){const{field:t,valueExpression:s,normalizationField:i,normalizationType:r,normalizationTotal:n,classificationMethod:a,standardDeviationInterval:o,minValue:l,maxValue:u,numClasses:c,scale:h,timeZone:d}=e,f=await this._getDataValues({field:t,valueExpression:s,normalizationField:i,normalizationType:r,normalizationTotal:n,scale:h,timeZone:d}),p=(0,j.G2)(f,{field:t,normalizationField:i,normalizationType:r,normalizationTotal:n,classificationMethod:a,standardDeviationInterval:o,minValue:l,maxValue:u,numClasses:c});return(0,j.DL)(p,a)}async createHistogramResponse(e){const{field:t,valueExpression:s,normalizationField:i,normalizationType:r,normalizationTotal:n,classificationMethod:a,standardDeviationInterval:o,minValue:l,maxValue:u,numBins:c,scale:h,timeZone:d}=e,f=await this._getDataValues({field:t,valueExpression:s,normalizationField:i,normalizationType:r,normalizationTotal:n,scale:h,timeZone:d});return(0,j.oF)(f,{field:t,normalizationField:i,normalizationType:r,normalizationTotal:n,classificationMethod:a,standardDeviationInterval:o,minValue:l,maxValue:u,numBins:c})}_sortFeatures(e,t,s){if(e.length>1&&t?.length)for(const i of t.reverse()){const t=i.split(" "),r=t[0],n=this.fieldsIndex.get(r),a=!!t[1]&&"desc"===t[1].toLowerCase(),o=(0,j.Lq)(n?.type,a);e.sort(((e,t)=>{const i=s(e,r,n),a=s(t,r,n);return o(i,a)}))}}_createFeatureQueryResponse(e){const t=this.items,{geometryType:s,hasM:i,hasZ:r,objectIdField:n,spatialReference:a}=this,{outFields:o,outSR:l,quantizationParameters:u,resultRecordCount:c,resultOffset:h,returnZ:d,returnM:f}=e,p=null!=c&&t.length>(h||0)+c,m=o&&(o.includes("*")?[...this.fieldsIndex.fields]:o.map((e=>this.fieldsIndex.get(e))));return{exceededTransferLimit:p,features:this._createFeatures(e,t),fields:m,geometryType:s,hasM:i&&f,hasZ:r&&d,objectIdFieldName:n,spatialReference:(0,Z.S2)(l||a),transform:u&&(0,z.vY)(u)||null}}_createFeatures(e,t){const s=new Y(e,this.featureAdapter,this.fieldsIndex),{hasM:i,hasZ:r}=this,{orderByFields:n,quantizationParameters:a,returnGeometry:o,returnCentroid:l,maxAllowableOffset:u,resultOffset:c,resultRecordCount:h,returnZ:d=!1,returnM:f=!1}=e,p=r&&d,m=i&&f;let g=[],_=0;const y=[...t];if(this._sortFeatures(y,n,((e,t,i)=>s.getFieldValue(e,t,i))),o||l){const e=(0,z.vY)(a)??void 0;if(o&&!l)for(const t of y)g[_++]={attributes:s.getAttributes(t),geometry:(0,Z.Op)(this.geometryType,this.hasZ,this.hasM,this.featureAdapter.getGeometry(t),u,e,p,m)};else if(!o&&l)for(const t of y)g[_++]={attributes:s.getAttributes(t),centroid:(0,Z.EG)(this,this.featureAdapter.getCentroid(t,this),e)};else for(const t of y)g[_++]={attributes:s.getAttributes(t),centroid:(0,Z.EG)(this,this.featureAdapter.getCentroid(t,this),e),geometry:(0,Z.Op)(this.geometryType,this.hasZ,this.hasM,this.featureAdapter.getGeometry(t),u,e,p,m)}}else for(const e of y){const t=s.getAttributes(e);t&&(g[_++]={attributes:t})}const x=c||0;if(null!=h){const e=x+h;g=g.slice(x,Math.min(g.length,e))}return g}_createExceedsLimitQueryResponse(e){let t=!1,s=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY,r=Number.POSITIVE_INFINITY;for(const t of e.outStatistics??[])if("exceedslimit"===t.statisticType){s=null!=t.maxPointCount?t.maxPointCount:Number.POSITIVE_INFINITY,i=null!=t.maxRecordCount?t.maxRecordCount:Number.POSITIVE_INFINITY,r=null!=t.maxVertexCount?t.maxVertexCount:Number.POSITIVE_INFINITY;break}if("esriGeometryPoint"===this.geometryType)t=this.items.length>s;else if(this.items.length>i)t=!0;else{const e=K(this.hasZ,this.hasM),s=this.featureAdapter;t=this.items.reduce(((e,t)=>{const i=s.getGeometry(t);return e+(null!=i&&i.coords.length||0)}),0)/e>r}return{fields:[{name:"exceedslimit",type:"esriFieldTypeInteger",alias:"exceedslimit",sqlType:"sqlTypeInteger",domain:null,defaultValue:null}],features:[{attributes:{exceedslimit:Number(t)}}]}}async _createStatisticsQueryResponse(e){const t={attributes:{}},s=[],i=new Map,r=new Map,n=new Map,a=new Map,o=new Y(e,this.featureAdapter,this.fieldsIndex),l=e.outStatistics,{groupByFieldsForStatistics:u,having:c,orderByFields:h}=e,d=u?.length,f=!!d,p=f?u[0]:null,m=f&&!this.fieldsIndex.get(p);for(const e of l??[]){const{outStatisticFieldName:l,statisticType:h}=e,g=e,_="exceedslimit"!==h?e.onStatisticField:void 0,y="percentile_disc"===h||"percentile_cont"===h,x="EnvelopeAggregate"===h||"CentroidAggregate"===h||"ConvexHullAggregate"===h,S=f&&1===d&&(_===p||m)&&"count"===h;if(f){if(!n.has(_)){const e=[];for(const t of u){const s=this._getAttributeValues(o,t,i);e.push(s)}n.set(_,this._calculateUniqueValues(e,!x&&o.returnDistinctValues))}const e=n.get(_);for(const t in e){const{count:s,data:r,items:n,itemPositions:h}=e[t],d=r.join(",");if(!c||o.validateItems(n,c)){const e=a.get(d)||{attributes:{}};if(x){e.aggregateGeometries||(e.aggregateGeometries={});const{aggregateGeometries:t,outStatisticFieldName:s}=await this._getAggregateGeometry(g,n);e.aggregateGeometries[s]=t}else{let t=null;if(S)t=s;else{const e=this._getAttributeValues(o,_,i),s=h.map((t=>e[t]));t=y&&"statisticParameters"in g?this._getPercentileValue(g,s):this._getStatisticValue(g,s,null,o.returnDistinctValues)}e.attributes[l]=t}let t=0;u.forEach(((s,i)=>e.attributes[this.fieldsIndex.get(s)?s:"EXPR_"+ ++t]=r[i])),a.set(d,e)}}}else if(x){t.aggregateGeometries||(t.aggregateGeometries={});const{aggregateGeometries:e,outStatisticFieldName:s}=await this._getAggregateGeometry(g,this.items);t.aggregateGeometries[s]=e}else{const e=this._getAttributeValues(o,_,i);t.attributes[l]=y&&"statisticParameters"in g?this._getPercentileValue(g,e):this._getStatisticValue(g,e,r,o.returnDistinctValues)}s.push({name:l,alias:l,type:"esriFieldTypeDouble"})}const g=f?Array.from(a.values()):[t];return this._sortFeatures(g,h,((e,t)=>e.attributes[t])),{fields:s,features:g}}async _getAggregateGeometry(e,t){const{convexHull:i,union:r}=await Promise.all([s.e(5837),s.e(247)]).then(s.bind(s,30247)),{statisticType:n,outStatisticFieldName:a}=e,{featureAdapter:o,spatialReference:l,geometryType:u,hasZ:c,hasM:h}=this,d=t.map((e=>(0,Z.Op)(u,c,h,o.getGeometry(e)))),f=i(l,d,!0)[0],p={aggregateGeometries:null,outStatisticFieldName:null};if("EnvelopeAggregate"===n){const e=f?(0,q._w)(f):(0,q.aO)(r(l,d));p.aggregateGeometries={...e,spatialReference:l},p.outStatisticFieldName=a||"extent"}else if("CentroidAggregate"===n){const e=f?(0,U.tO)(f):(0,U.$G)((0,q.aO)(r(l,d)));p.aggregateGeometries={x:e[0],y:e[1],spatialReference:l},p.outStatisticFieldName=a||"centroid"}else"ConvexHullAggregate"===n&&(p.aggregateGeometries=f,p.outStatisticFieldName=a||"convexHull");return p}_getStatisticValue(e,t,s,i){const{onStatisticField:r,statisticType:n}=e;let a=null;return a=s?.has(r)?s.get(r):(0,X.qN)(this.fieldsIndex.get(r))?(0,j.H0)({values:t,returnDistinct:i}):(0,j.i5)({values:i?[...new Set(t)]:t,minValue:null,maxValue:null,useSampleStdDev:!0}),s&&s.set(r,a),a["var"===n?"variance":n]}_getPercentileValue(e,t){const{onStatisticField:s,statisticParameters:i,statisticType:r}=e,{value:n,orderBy:a}=i,o=this.fieldsIndex.get(s);return(0,j.XL)(t,{value:n,orderBy:a,fieldType:o?.type,isDiscrete:"percentile_disc"===r})}_getAttributeValues(e,t,s){if(s.has(t))return s.get(t);const i=this.fieldsIndex.get(t),r=this.items.map((s=>e.getFieldValue(s,t,i)));return s.set(t,r),r}_calculateUniqueValues(e,t){const s={},i=this.items,r=i.length;for(let n=0;n<r;n++){const r=i[n],a=[];for(const t of e)a.push(t[n]);const o=a.join(",");null==s[o]?s[o]={count:1,data:a,items:[r],itemPositions:[n]}:(t||s[o].count++,s[o].items.push(r),s[o].itemPositions.push(n))}return s}async _getDataValues(e){const t=new Y(this.query,this.featureAdapter,this.fieldsIndex),{valueExpression:s,scale:i,timeZone:r}=e;return s?t.getExpressionValues(this.items,s,{viewingMode:"map",scale:i,spatialReference:this.query.outSR||this.spatialReference},{geometryType:this.geometryType,hasZ:this.hasZ,hasM:this.hasM},r):t.getDataValues(this.items,{field:e.field,field2:e.field2,field3:e.field3,fieldDelimiter:e.fieldDelimiter,normalizationField:e.normalizationField,normalizationType:e.normalizationType,normalizationTotal:e.normalizationTotal})}}function J(e,t,s,i){const r=i.x-s.x,n=i.y-s.y,a=r*r+n*n,o=(t.x-s.x)*r+(t.y-s.y)*n,l=Math.min(1,Math.max(0,o/a));e.x=s.x+r*l,e.y=s.y+n*l}function K(e,t){return e?t?4:3:t?3:2}class ee{constructor(e,t){this.coords=e,this.coordsIndex=t}get x(){return this.coords[this.coordsIndex]}get y(){return this.coords[this.coordsIndex+1]}get z(){return this.coords[this.coordsIndex+2]}}var te=s(10402),se=s(17590),ie=s(99514),re=s(61247),ne=(s(80442),s(92604)),ae=s(54790),oe=s(44553),le=s(17445),ue=s(95528),ce=s(76882);class he{constructor(){this._tasks=new Array,this._running=(0,ue.t)(!1)}get length(){return this._tasks.length}get running(){return this._running.value}destroy(){this.cancelAll()}runTask(e){for(;!e.done&&this._process(e);)e.madeProgress()}push(e,t,s){return this._running.value=!0,new Promise(((i,r)=>this._tasks.push(new de(i,r,e,t,s))))}unshift(e,t,s){return this._running.value=!0,new Promise(((i,r)=>this._tasks.unshift(new de(i,r,e,t,s))))}_process(e){if(0===this._tasks.length)return!1;const t=this._tasks.shift();try{const s=(0,u.Hc)(t.signal);if(s&&!t.abortCallback)t.reject((0,u.zE)());else{const i=s?t.abortCallback?.((0,u.zE)()):t.callback(e);(0,u.y8)(i)?i.then(t.resolve,t.reject):t.resolve(i)}}catch(e){t.reject(e)}return this._running.value=this._tasks.length>0,!0}cancelAll(){const e=(0,u.zE)();for(const t of this._tasks)if(t.abortCallback){const s=t.abortCallback(e);t.resolve(s)}else t.reject(e);this._tasks.length=0,this._running.value=!1}}class de{constructor(e,t,s,i=void 0,r=void 0){this.resolve=e,this.reject=t,this.callback=s,this.signal=i,this.abortCallback=r}}var fe=s(43697),pe=s(92036),me=s(5600),ge=(s(75215),s(52011));let _e=class extends pe.Z{constructor(){super(...arguments),this.SCHEDULER_LOG_SLOW_TASKS=!1,this.FEATURE_SERVICE_SNAPPING_SOURCE_TILE_TREE_SHOW_TILES=!1}};(0,fe._)([(0,me.Cb)()],_e.prototype,"SCHEDULER_LOG_SLOW_TASKS",void 0),(0,fe._)([(0,me.Cb)()],_e.prototype,"FEATURE_SERVICE_SNAPPING_SOURCE_TILE_TREE_SHOW_TILES",void 0),_e=(0,fe._)([(0,ge.j)("esri.views.support.DebugFlags")],_e);const ye=new _e;var xe,Se,Ee,Re=s(95720);(Ee=xe||(xe={}))[Ee.YIELD=1]="YIELD",function(e){e.RESOURCE_CONTROLLER_IMMEDIATE="immediate",e.RESOURCE_CONTROLLER="schedule",e.SLIDE="slide",e.STREAM_DATA_LOADER="stream loader",e.ELEVATION_QUERY="elevation query",e.TERRAIN_SURFACE="terrain",e.SURFACE_GEOMETRY_UPDATES="surface geometry updates",e.LOD_RENDERER="LoD renderer",e.GRAPHICS_CORE="Graphics3D",e.I3S_CONTROLLER="I3S",e.POINT_CLOUD_LAYER="point cloud",e.FEATURE_TILE_FETCHER="feature fetcher",e.OVERLAY="overlay",e.STAGE="stage",e.GRAPHICS_DECONFLICTOR="graphics deconflictor",e.FILTER_VISIBILITY="Graphics3D filter visibility",e.SCALE_VISIBILITY="Graphics3D scale visibility",e.FRUSTUM_VISIBILITY="Graphics3D frustum visibility",e.POINT_OF_INTEREST_FREQUENT="POI frequent",e.POINT_OF_INTEREST_INFREQUENT="POI infrequent",e.LABELER="labeler",e.FEATURE_QUERY_ENGINE="feature query",e.FEATURE_TILE_TREE="feature tile tree",e.FEATURE_TILE_TREE_ACTIVE="fast feature tile tree",e.ELEVATION_ALIGNMENT="elevation alignment",e.TEXT_TEXTURE_ATLAS="text texture atlas",e.TEXTURE_UNLOAD="texture unload",e.LINE_OF_SIGHT_TOOL="line of sight tool",e.LINE_OF_SIGHT_TOOL_INTERACTIVE="interactive line of sight tool",e.ELEVATION_PROFILE="elevation profile",e.SNAPPING="snapping",e.SHADOW_ACCUMULATOR="shadow accumulator",e.CLOUDS_GENERATOR="clouds generator",e[e.NONE=0]="NONE",e[e.TEST_PRIO=1]="TEST_PRIO"}(Se||(Se={}));const Te=new Map([[Se.RESOURCE_CONTROLLER_IMMEDIATE,0],[Se.RESOURCE_CONTROLLER,4],[Se.SLIDE,0],[Se.STREAM_DATA_LOADER,0],[Se.ELEVATION_QUERY,0],[Se.TERRAIN_SURFACE,1],[Se.SURFACE_GEOMETRY_UPDATES,1],[Se.LOD_RENDERER,2],[Se.GRAPHICS_CORE,2],[Se.I3S_CONTROLLER,2],[Se.POINT_CLOUD_LAYER,2],[Se.FEATURE_TILE_FETCHER,2],[Se.OVERLAY,4],[Se.STAGE,4],[Se.GRAPHICS_DECONFLICTOR,4],[Se.FILTER_VISIBILITY,4],[Se.SCALE_VISIBILITY,4],[Se.FRUSTUM_VISIBILITY,4],[Se.CLOUDS_GENERATOR,4],[Se.POINT_OF_INTEREST_FREQUENT,6],[Se.POINT_OF_INTEREST_INFREQUENT,30],[Se.LABELER,8],[Se.FEATURE_QUERY_ENGINE,8],[Se.FEATURE_TILE_TREE,16],[Se.FEATURE_TILE_TREE_ACTIVE,0],[Se.ELEVATION_ALIGNMENT,12],[Se.TEXT_TEXTURE_ATLAS,12],[Se.TEXTURE_UNLOAD,12],[Se.LINE_OF_SIGHT_TOOL,16],[Se.LINE_OF_SIGHT_TOOL_INTERACTIVE,0],[Se.SNAPPING,0],[Se.SHADOW_ACCUMULATOR,30]]);function Ie(e){return Te.has(e)?Te.get(e):"number"==typeof e?e:1}const Fe=(0,ce.HA)(6.5),we=(0,ce.HA)(1),Ae=(0,ce.HA)(30),be=(0,ce.HA)(1e3/30),ve=(0,ce.HA)(100);var Ne,Ce;!function(e){e.Scheduler=class{get updating(){return this._updating.value}_updatingChanged(){this._updating.value=this._tasks.some((e=>e.needsUpdate))}constructor(){this._updating=(0,ue.t)(!0),this._microTaskQueued=!1,this._frameNumber=0,this.performanceInfo={total:new ae.Z("total"),tasks:new Map},this._frameTaskTimes=new Map,this._budget=new s,this._state=Re.n.INTERACTING,this._tasks=new oe.Z,this._runQueue=new oe.Z,this._load=0,this._idleStateCallbacks=new oe.Z,this._idleUpdatesStartFired=!1,this._forceTask=!1,this._debug=!1,this._debugHandle=(0,le.YP)((()=>ye.SCHEDULER_LOG_SLOW_TASKS),(e=>this._debug=e),le.nn);for(const e of Object.keys(Se))this.performanceInfo.tasks.set(Se[e],new ae.Z(Se[e]));const e=this;this._test={FRAME_SAFETY_BUDGET:Fe,INTERACTING_BUDGET:be,IDLE_BUDGET:ve,get availableBudget(){return e._budget.budget},usedBudget:0,getBudget:()=>e._budget,setBudget:t=>e._budget=t,updateTask:e=>this._updateTask(e),getState:e=>this._getState(e),getRuntime:e=>this._getRuntime(e),frameTaskTimes:this._frameTaskTimes,resetRuntimes:()=>this._resetRuntimes(),getRunning:()=>this._getRunning()}}destroy(){this._tasks.toArray().forEach((e=>e.remove())),this._tasks.clear(),(0,o.hw)(this._debugHandle),this._microTaskQueued=!1,this._updatingChanged()}taskRunningChanged(e){this._updatingChanged(),e&&this._budget.remaining>0&&!this._microTaskQueued&&(this._microTaskQueued=!0,queueMicrotask((()=>{this._microTaskQueued&&(this._microTaskQueued=!1,this._budget.remaining>0&&this._schedule()&&this.frame())})))}registerTask(e,s){const i=Ie(e),r=new t(this,e,s,i);return this._tasks.push(r),this._updatingChanged(),this.performanceInfo.tasks.has(e)||this.performanceInfo.tasks.set(e,new ae.Z(e)),r}registerIdleStateCallbacks(e,t){const s={idleBegin:e,idleEnd:t};this._idleStateCallbacks.push(s),this.state===Re.n.IDLE&&this._idleUpdatesStartFired&&s.idleBegin();const i=this;return{remove:()=>this._removeIdleStateCallbacks(s),set idleBegin(e){i._idleUpdatesStartFired&&(s.idleEnd(),i._state===Re.n.IDLE&&e()),s.idleBegin=e},set idleEnd(e){s.idleEnd=e}}}get load(){return this._load}set state(e){this._state!==e&&(this._state=e,this.state!==Re.n.IDLE&&this._idleUpdatesStartFired&&(this._idleUpdatesStartFired=!1,this._idleStateCallbacks.forAll((e=>e.idleEnd()))))}get state(){return this._state}updateBudget(e){this._test.usedBudget=0,++this._frameNumber;let t=Fe,s=e.frameDuration,i=we;switch(this.state){case Re.n.IDLE:t=(0,ce.HA)(0),s=(0,ce.HA)(Math.max(ve,e.frameDuration)),i=Ae;break;case Re.n.INTERACTING:s=(0,ce.HA)(Math.max(be,e.frameDuration));case Re.n.ANIMATING:}return s=(0,ce.HA)(s-e.elapsedFrameTime-t),this.state!==Re.n.IDLE&&s<we&&!this._forceTask?(this._forceTask=!0,!1):(s=(0,ce.HA)(Math.max(s,i)),this._budget.reset(s,this.state),this._updateLoad(),this._schedule())}frame(){switch(this._forceTask=!1,this._microTaskQueued=!1,this.state){case Re.n.IDLE:this._idleUpdatesStartFired||(this._idleUpdatesStartFired=!0,this._idleStateCallbacks.forAll((e=>e.idleBegin()))),this._runIdle();break;case Re.n.INTERACTING:this._runInteracting();break;default:this._runAnimating()}this._test.usedBudget=this._budget.elapsed}stopFrame(){this._budget.reset((0,ce.HA)(0),this._state),this._budget.madeProgress()}_removeIdleStateCallbacks(e){this._idleUpdatesStartFired&&e.idleEnd(),this._idleStateCallbacks.removeUnordered(e)}removeTask(e){this._tasks.removeUnordered(e),this._runQueue.removeUnordered(e),this._updatingChanged()}_updateTask(e){this._tasks.forAll((t=>{t.name===e&&t.setPriority(e)}))}_getState(e){if(this._runQueue.some((t=>t.name===e)))return Ce.SCHEDULED;let t=Ce.IDLE;return this._tasks.forAll((s=>{s.name===e&&s.needsUpdate&&(s.schedulePriority<=1?t=Ce.READY:t!==Ce.READY&&(t=Ce.WAITING))})),t}_getRuntime(e){let t=0;return this._tasks.forAll((s=>{s.name===e&&(t+=s.runtime)})),t}_resetRuntimes(){this._tasks.forAll((e=>e.runtime=0))}_getRunning(){const e=new Map;if(this._tasks.forAll((t=>{t.needsUpdate&&e.set(t.name,(e.get(t.name)||0)+1)})),0===e.size)return null;let t="";return e.forEach(((e,s)=>{t+=e>1?` ${e}x ${s}`:` ${s}`})),t}_runIdle(){this._run()}_runInteracting(){this._run()}_runAnimating(){this._run()}_updateLoad(){const e=this._tasks.reduce(((e,t)=>t.needsUpdate?++e:e),0);this._load=.9*this._load+e*(1-.9)}_schedule(){for(this._runQueue.filterInPlace((e=>!!e.needsUpdate||(e.schedulePriority=e.basePriority,!1))),this._tasks.forAll((e=>{0===e.basePriority&&e.needsUpdate&&!this._runQueue.includes(e)&&e.blockFrame!==this._frameNumber&&this._runQueue.unshift(e)}));0===this._runQueue.length;){let e=!1,t=0;if(this._tasks.forAll((s=>{s.needsUpdate&&0!==s.schedulePriority&&0!==s.basePriority&&s.blockFrame!==this._frameNumber&&(e=!0,t=Math.max(t,s.basePriority),1===s.schedulePriority?(s.schedulePriority=0,this._runQueue.push(s)):--s.schedulePriority)})),!e)return this._updatingChanged(),!1}return this._updatingChanged(),!0}_run(){const e=this._budget.now();this._startFrameTaskTimes();do{for(;this._runQueue.length>0;){const t=this._budget.now(),s=this._runQueue.pop();this._budget.resetProgress();try{s.task.runTask(this._budget)===xe.YIELD&&(s.blockFrame=this._frameNumber)}catch(e){ne.Z.getLogger("esri.views.support.Scheduler").error(`Exception in task "${s.name}"`,e),s.blockFrame=this._frameNumber}!this._budget.hasProgressed&&s.blockFrame!==this._frameNumber&&s.needsUpdate&&(s.name,Se.I3S_CONTROLLER,s.blockFrame=this._frameNumber),s.schedulePriority=s.basePriority;const i=this._budget.now()-t;if(s.runtime+=i,this._frameTaskTimes.set(s.priority,this._frameTaskTimes.get(s.priority)+i),this._debug&&i>2*this._budget.budget&&console.log("Task",s.name,"used",i,"of max",this._budget.budget,"ms"),this._budget.remaining<=0)return this._updatingChanged(),void this._recordFrameTaskTimes(this._budget.now()-e)}}while(this._schedule());this._updatingChanged(),this._recordFrameTaskTimes(this._budget.now()-e)}_startFrameTaskTimes(){for(const e of Object.keys(Se))this._frameTaskTimes.set(Se[e],0)}_recordFrameTaskTimes(e){this._frameTaskTimes.forEach(((e,t)=>this.performanceInfo.tasks.get(t).record(e))),this.performanceInfo.total.record(e)}get test(){return this._test}};class t{get task(){return this._task.value}get updating(){return this._queue.running}constructor(e,t,s,i){this._scheduler=e,this.name=t,this._basePriority=i,this.blockFrame=0,this.runtime=0,this._queue=new he,this._handles=new re.Z,this.schedulePriority=this._basePriority,this._task=(0,ue.t)(null!=s?s:this._queue),this._handles.add((0,le.gx)((()=>this.task.running),(t=>e.taskRunningChanged(t))))}remove(){this.processQueue(Pe),this._scheduler.removeTask(this),this.schedule=Oe.schedule,this.reschedule=Oe.reschedule,this._handles.destroy()}get basePriority(){return this._basePriority}setPriority(e){this.name=e;const t=Ie(e);0!==this._basePriority&&0===this.schedulePriority||(this.schedulePriority=t),this._basePriority=t}get priority(){return this.name}set priority(e){this.setPriority(e)}get needsUpdate(){return this.updating||this.task.running}schedule(e,t,s){return this._queue.push(e,t,s)}reschedule(e,t,s){return this._queue.unshift(e,t,s)}processQueue(e){this._queue.runTask(e)}}class s{constructor(){this._begin="undefined"!=typeof performance?performance.now():0,this._budget=0,this._state=Re.n.IDLE,this._done=!1,this._progressed=!1,this._enabled=!0}run(e){return!this.done&&(!0===e()&&this.madeProgress(),!0)}get done(){return this._done}get budget(){return this._budget}madeProgress(){return this._progressed=!0,this._done=this.elapsed>=this._budget&&this._enabled,this._done}get state(){return this._state}get enabled(){return this._enabled}set enabled(e){this._enabled=e}reset(e,t){this._begin=this.now(),this._budget=e,this._state=t,this.resetProgress()}get remaining(){return Math.max(this._budget-this.elapsed,0)}now(){return performance.now()}get elapsed(){return performance.now()-this._begin}resetProgress(){this._progressed=!1,this._done=!1}get hasProgressed(){return this._progressed}}e.Budget=s}(Ne||(Ne={})),function(e){e.SCHEDULED="s",e.READY="r",e.WAITING="w",e.IDLE="i"}(Ce||(Ce={}));const Pe=(()=>{const e=new Ne.Budget;return e.enabled=!1,e})(),Oe=new class{remove(){}processQueue(){}schedule(e,t,s){try{if((0,u.Hc)(t)){const e=(0,u.zE)();return s?Promise.resolve(s(e)):Promise.reject(e)}return(0,u.gx)(e(Pe))}catch(e){return Promise.reject(e)}}reschedule(e,t,s){return this.schedule(e,t,s)}},Me="feature-store:unsupported-query",ke=new l.WJ(2e6);let De=0;class Ge{constructor(e){this._geometryQueryCache=null,this._changeHandle=null,this.capabilities={query:V.g},this.geometryType=e.geometryType,this.hasM=!!e.hasM,this.hasZ=!!e.hasZ,this.objectIdField=e.objectIdField,this.spatialReference=e.spatialReference,this.definitionExpression=e.definitionExpression,this.featureStore=e.featureStore,this.aggregateAdapter=e.aggregateAdapter,this._changeHandle=this.featureStore.events.on("changed",(()=>this.clearCache())),this.timeInfo=e.timeInfo,e.cacheSpatialQueries&&(this._geometryQueryCache=new l.Xq(De+++"$$",ke)),this.fieldsIndex=(0,n.AK)(e.fieldsIndex)?e.fieldsIndex:ie.Z.fromJSON(e.fieldsIndex),e.scheduler&&e.priority&&(this._frameTask=e.scheduler.registerTask(e.priority))}destroy(){this._frameTask=(0,o.hw)(this._frameTask),this.clearCache(),(0,o.SC)(this._geometryQueryCache),this._changeHandle=(0,o.hw)(this._changeHandle)}get featureAdapter(){return this.featureStore.featureAdapter}clearCache(){this._geometryQueryCache?.clear(),this._allFeaturesPromise=null,this._timeExtentPromise=null,this._fullExtentPromise=null}async executeQuery(e,t){try{return(await this._executeQuery(e,{},t)).createQueryResponse()}catch(t){if(t!==Z.Ti)throw t;return new $([],e,this).createQueryResponse()}}async executeQueryForCount(e={},t){try{return(await this._executeQuery(e,{returnGeometry:!1,returnCentroid:!1,outSR:null},t)).createQueryResponseForCount()}catch(e){if(e!==Z.Ti)throw e;return 0}}async executeQueryForExtent(e,t){const s=e.outSR;try{const i=await this._executeQuery(e,{returnGeometry:!0,returnCentroid:!1,outSR:null},t),r=i.size;return r?{count:r,extent:await this._getBounds(i.items,i.spatialReference,s||this.spatialReference)}:{count:0,extent:null}}catch(e){if(e===Z.Ti)return{count:0,extent:null};throw e}}async executeQueryForIds(e,t){return this.executeQueryForIdSet(e,t).then((e=>Array.from(e)))}async executeQueryForIdSet(e,t){try{const s=await this._executeQuery(e,{returnGeometry:!0,returnCentroid:!1,outSR:null},t),i=s.items,r=new Set;return await this._reschedule((()=>{for(const e of i)r.add(s.featureAdapter.getObjectId(e))}),t),r}catch(e){if(e===Z.Ti)return new Set;throw e}}async executeQueryForSnapping(e,t){const{point:s,distance:i,returnEdge:r,vertexMode:n}=e;if(!r&&"none"===n)return{candidates:[]};let o=(0,a.d9)(e.query);o=await this._schedule((()=>(0,Z.j6)(o,this.definitionExpression,this.spatialReference)),t),o=await this._reschedule((()=>this._checkQuerySupport(o)),t);const l=!(0,_.fS)(s.spatialReference,this.spatialReference);l&&await(0,L._W)(s.spatialReference,this.spatialReference);const u="number"==typeof i?i:i.x,c="number"==typeof i?i:i.y,h={xmin:s.x-u,xmax:s.x+u,ymin:s.y-c,ymax:s.y+c,spatialReference:s.spatialReference},d=l?(0,L.iV)(h,this.spatialReference):h;if(!d)return{candidates:[]};const f=(await(0,g.aX)((0,m.im)(s),null,{signal:t}))[0],p=(await(0,g.aX)((0,m.im)(d),null,{signal:t}))[0];if(null==f||null==p)return{candidates:[]};const y=new $(await this._reschedule((()=>this._searchFeatures(this._getQueryBBoxes(p.toJSON()))),t),o,this);await this._reschedule((()=>this._executeObjectIdsQuery(y)),t),await this._reschedule((()=>this._executeTimeQuery(y)),t),await this._reschedule((()=>this._executeAttributesQuery(y)),t),await this._reschedule((()=>this._executeGeometryQueryForSnapping(y,t)),t);const x=f.toJSON(),S=l?(0,L.iV)(x,this.spatialReference):x,E=l?Math.max(d.xmax-d.xmin,d.ymax-d.ymin)/2:i;return y.createSnappingResponse({...e,point:S,distance:E},s.spatialReference)}async executeQueryForLatestObservations(e,t){if(!this.timeInfo?.trackIdField)throw new r.Z(Me,"Missing timeInfo or timeInfo.trackIdField",{query:e,timeInfo:this.timeInfo});try{const s=await this._executeQuery(e,{},t);return await this._reschedule((()=>this._filterLatest(s)),t),s.createQueryResponse()}catch(t){if(t!==Z.Ti)throw t;return new $([],e,this).createQueryResponse()}}async executeQueryForSummaryStatistics(e={},t,s){const{field:i,normalizationField:r,valueExpression:n}=t;return(await this._getQueryEngineResultForStats(e,{field:i,normalizationField:r,valueExpression:n},s)).createSummaryStatisticsResponse(t)}async executeQueryForUniqueValues(e={},t,s){const{field:i,field2:r,field3:n,valueExpression:a}=t;return(await this._getQueryEngineResultForStats(e,{field:i,field2:r,field3:n,valueExpression:a},s)).createUniqueValuesResponse(t)}async executeQueryForClassBreaks(e={},t,s){const{field:i,normalizationField:r,valueExpression:n}=t;return(await this._getQueryEngineResultForStats(e,{field:i,normalizationField:r,valueExpression:n},s)).createClassBreaksResponse(t)}async executeQueryForHistogram(e={},t,s){const{field:i,normalizationField:r,valueExpression:n}=t;return(await this._getQueryEngineResultForStats(e,{field:i,normalizationField:r,valueExpression:n},s)).createHistogramResponse(t)}async fetchRecomputedExtents(e){this._timeExtentPromise||=(0,se.R)(this.timeInfo,this.featureStore);const[t,s]=await Promise.all([this._getFullExtent(),this._timeExtentPromise]);return(0,u.k_)(e),{fullExtent:t,timeExtent:s}}async _getBounds(e,t,s){const i=(0,d.t8)((0,d.Ue)(),d.G_);await this.featureStore.forEachBounds(e,(e=>(0,d.TC)(i,e)));const r={xmin:i[0],ymin:i[1],xmax:i[3],ymax:i[4],spatialReference:(0,Z.S2)(this.spatialReference)};this.hasZ&&isFinite(i[2])&&isFinite(i[5])&&(r.zmin=i[2],r.zmax=i[5]);const n=(0,L.iV)(r,t,s);if(n.spatialReference=(0,Z.S2)(s),n.xmax-n.xmin==0){const e=(0,c.c9)(n.spatialReference);n.xmin-=e,n.xmax+=e}if(n.ymax-n.ymin==0){const e=(0,c.c9)(n.spatialReference);n.ymin-=e,n.ymax+=e}if(this.hasZ&&null!=n.zmin&&null!=n.zmax&&n.zmax-n.zmin==0){const e=(0,c.c9)(n.spatialReference);n.zmin-=e,n.zmax+=e}return n}_getFullExtent(){return this._fullExtentPromise||="getFullExtent"in this.featureStore&&this.featureStore.getFullExtent?Promise.resolve(this.featureStore.getFullExtent(this.spatialReference)):this._getAllFeatures().then((e=>this._getBounds(e,this.spatialReference,this.spatialReference))),this._fullExtentPromise}async _schedule(e,t){return null!=this._frameTask?this._frameTask.schedule(e,t):e(Pe)}async _reschedule(e,t){return null!=this._frameTask?this._frameTask.reschedule(e,t):e(Pe)}async _getAllFeaturesQueryEngineResult(e){return new $(await this._getAllFeatures(),e,this)}async _getAllFeatures(){if(null==this._allFeaturesPromise){const e=[];this._allFeaturesPromise=(async()=>{await this.featureStore.forEach((t=>e.push(t)))})().then((()=>e))}const e=this._allFeaturesPromise,t=await e;return e===this._allFeaturesPromise?t.slice():this._getAllFeatures()}async _executeQuery(e,t,s){e=(0,a.d9)(e),e=await this._schedule((()=>(0,Z.Up)(e,this.definitionExpression,this.spatialReference)),s),e=await this._reschedule((()=>this._checkQuerySupport(e)),s),e={...e,...t};const i=await this._reschedule((()=>this._executeSceneFilterQuery(e,s)),s),r=await this._reschedule((()=>this._executeGeometryQuery(e,i,s)),s);return await this._reschedule((()=>this._executeAggregateIdsQuery(r)),s),await this._reschedule((()=>this._executeObjectIdsQuery(r)),s),await this._reschedule((()=>this._executeTimeQuery(r)),s),await this._reschedule((()=>this._executeAttributesQuery(r)),s),r}async _executeSceneFilterQuery(e,t){if(null==e.sceneFilter)return null;const{outSR:s,returnGeometry:i,returnCentroid:r}=e,n=this.featureStore.featureSpatialReference,a=e.sceneFilter.geometry,o=null==n||(0,_.fS)(n,a.spatialReference)?a:(0,L.iV)(a,n);if(!o)return null;const l=i||r,u=(0,_.JY)(s)&&!(0,_.fS)(this.spatialReference,s)&&l?async e=>this._project(e,s):e=>e,c=this.featureAdapter,h=await this._reschedule((()=>this._searchFeatures(this._getQueryBBoxes(o))),t);if("disjoint"===e.sceneFilter.spatialRelationship){if(!h.length)return null;const s=new Set;for(const e of h)s.add(c.getObjectId(e));const i=await this._reschedule((()=>this._getAllFeatures()),t),r=await this._reschedule((async()=>{const r=await(0,te.cW)("esriSpatialRelDisjoint",o,this.geometryType,this.hasZ,this.hasM),n=await this._runSpatialFilter(i,(e=>!s.has(c.getObjectId(e))||r(c.getGeometry(e))),t);return new $(n,e,this)}),t);return u(r)}if(!h.length)return new $([],e,this);if(this._canExecuteSinglePass(o,e))return u(new $(h,e,this));const d=await(0,te.cW)("esriSpatialRelContains",o,this.geometryType,this.hasZ,this.hasM),f=await this._runSpatialFilter(h,(e=>d(c.getGeometry(e))),t);return u(new $(f,e,this))}async _executeGeometryQuery(e,t,s){if(null!=t&&0===t.items.length)return t;e=null!=t?t.query:e;const{geometry:r,outSR:n,spatialRel:a,returnGeometry:o,returnCentroid:l}=e,u=this.featureStore.featureSpatialReference,c=!r||null==u||(0,_.fS)(u,r.spatialReference)?r:(0,L.iV)(r,u),h=o||l,d=(0,_.JY)(n)&&!(0,_.fS)(this.spatialReference,n),f=this._geometryQueryCache&&null==t?d&&h?JSON.stringify({originalFilterGeometry:r,spatialRelationship:a,outSpatialReference:n}):JSON.stringify({originalFilterGeometry:r,spatialRelationship:a}):null,p=f?this._geometryQueryCache.get(f):null;if(null!=p)return new $(p,e,this);const m=async e=>(d&&h&&await this._project(e,n),f&&this._geometryQueryCache.put(f,e.items,e.items.length+1),e);if(!c)return m(null!=t?t:await this._getAllFeaturesQueryEngineResult(e));const g=this.featureAdapter;let y=await this._reschedule((()=>this._searchFeatures(this._getQueryBBoxes(r))),s);if("esriSpatialRelDisjoint"===a){if(!y.length)return m(null!=t?t:await this._getAllFeaturesQueryEngineResult(e));const i=new Set;for(const e of y)i.add(g.getObjectId(e));const r=null!=t?t.items:await this._reschedule((()=>this._getAllFeatures()),s),n=await this._reschedule((async()=>{const t=await(0,te.cW)(a,c,this.geometryType,this.hasZ,this.hasM),n=await this._runSpatialFilter(r,(e=>!i.has(g.getObjectId(e))||t(g.getGeometry(e))),s);return new $(n,e,this)}),s);return m(n)}if(null!=t){const e=new i.SO;y=y.filter((s=>(0,i.cq)(t.items,s,t.items.length,e)>=0))}if(!y.length){const t=new $([],e,this);return f&&this._geometryQueryCache.put(f,t.items,1),t}if(this._canExecuteSinglePass(c,e))return m(new $(y,e,this));const x=await(0,te.cW)(a,c,this.geometryType,this.hasZ,this.hasM),S=await this._runSpatialFilter(y,(e=>x(g.getGeometry(e))),s);return m(new $(S,e,this))}async _executeGeometryQueryForSnapping(e,t){const{query:s}=e,{spatialRel:i}=s;if(!e?.items?.length||!s.geometry||!i)return;const r=await(0,te.cW)(i,s.geometry,this.geometryType,this.hasZ,this.hasM),n=await this._runSpatialFilter(e.items,(e=>r(e.geometry)),t);e.items=n}_executeAggregateIdsQuery(e){if(0===e.items.length||!e.query.aggregateIds?.length||null==this.aggregateAdapter)return;const t=new Set;for(const s of e.query.aggregateIds)this.aggregateAdapter.getFeatureObjectIds(s).forEach((e=>t.add(e)));const s=this.featureAdapter.getObjectId;e.items=e.items.filter((e=>t.has(s(e))))}_executeObjectIdsQuery(e){if(0===e.items.length||!e.query.objectIds?.length)return;const t=new Set(e.query.objectIds),s=this.featureAdapter.getObjectId;e.items=e.items.filter((e=>t.has(s(e))))}_executeTimeQuery(e){if(0===e.items.length)return;const t=(0,se.y)(this.timeInfo,e.query.timeExtent,this.featureAdapter);null!=t&&(e.items=e.items.filter(t))}_executeAttributesQuery(e){if(0===e.items.length)return;const t=O(e.query.where,this.fieldsIndex);if(t){if(!t.isStandardized)throw new TypeError("Where clause is not standardized");e.items=e.items.filter((e=>t.testFeature(e,this.featureAdapter)))}}async _runSpatialFilter(e,t,s){if(!t)return e;if(null==this._frameTask)return e.filter((e=>t(e)));let i=0;const r=new Array,n=async a=>{for(;i<e.length;){const o=e[i++];t(o)&&(r.push(o),a.madeProgress()),a.done&&await this._reschedule((e=>n(e)),s)}};return this._reschedule((e=>n(e)),s).then((()=>r))}_filterLatest(e){const{trackIdField:t,startTimeField:s,endTimeField:i}=this.timeInfo,r=i||s,n=new Map,a=this.featureAdapter.getAttribute;for(const s of e.items){const e=a(s,t),i=a(s,r),o=n.get(e);(!o||i>a(o,r))&&n.set(e,s)}e.items=Array.from(n.values())}_canExecuteSinglePass(e,t){const{spatialRel:s}=t;return(0,te.hN)(e)&&("esriSpatialRelEnvelopeIntersects"===s||"esriGeometryPoint"===this.geometryType&&("esriSpatialRelIntersects"===s||"esriSpatialRelContains"===s))}async _project(e,t){if(!t||(0,_.fS)(this.spatialReference,t))return e;const s=this.featureAdapter;let i;try{const e=await this._getFullExtent();i=(0,h.getTransformation)(this.spatialReference,t,e)}catch{}const r=await(0,L.oj)(e.items.map((e=>(0,Z.Op)(this.geometryType,this.hasZ,this.hasM,s.getGeometry(e)))),this.spatialReference,t,i);return e.items=r.map(((t,i)=>s.cloneWithGeometry(e.items[i],(0,y.GH)(t,this.hasZ,this.hasM)))),e}_getQueryBBoxes(e){if((0,te.hN)(e)){if((0,m.YX)(e))return[(0,f.al)(Math.min(e.xmin,e.xmax),Math.min(e.ymin,e.ymax),Math.max(e.xmin,e.xmax),Math.max(e.ymin,e.ymax))];if((0,m.oU)(e))return e.rings.map((e=>(0,f.al)(Math.min(e[0][0],e[2][0]),Math.min(e[0][1],e[2][1]),Math.max(e[0][0],e[2][0]),Math.max(e[0][1],e[2][1]))))}return[(0,p.$P)((0,f.Ue)(),e)]}async _searchFeatures(e){const t=new Set;await Promise.all(e.map((e=>this.featureStore.forEachInBounds(e,(e=>t.add(e))))));const s=Array.from(t.values());return t.clear(),s}async _checkStatisticsSupport(e,t){if((e.distance??0)<0||null!=e.geometryPrecision||e.multipatchOption||e.pixelSize||e.relationParam||e.text||e.outStatistics||e.groupByFieldsForStatistics||e.having||e.orderByFields)throw new r.Z(Me,"Unsupported query options",{query:e});return this._checkAttributesQuerySupport(e),Promise.all([this._checkStatisticsParamsSupport(t,e),(0,te.P0)(e,this.geometryType,this.spatialReference),(0,L._W)(this.spatialReference,e.outSR)]).then((()=>e))}async _checkStatisticsParamsSupport(e,t){let s=[];if(e.valueExpression){const{arcadeUtils:t}=await(0,B.LC)();s=t.extractFieldNames(e.valueExpression)}if(e.field&&s.push(e.field),e.field2&&s.push(e.field2),e.field3&&s.push(e.field3),e.normalizationField&&s.push(e.normalizationField),!s.length&&!e.valueExpression)throw new r.Z(Me,"field or valueExpression is required",{params:e});M(this.fieldsIndex,s,{errorMessage:"Cannot calculate statistics for missing fields",query:t}),k(this.fieldsIndex,s,{expressionName:"statistics",query:t})}async _checkQuerySupport(e){if((e.distance??0)<0||null!=e.geometryPrecision||e.multipatchOption||e.pixelSize||e.relationParam||e.text)throw new r.Z(Me,"Unsupported query options",{query:e});return this._checkAttributesQuerySupport(e),this._checkStatisticsQuerySupport(e),Promise.all([(0,te.P0)(e,this.geometryType,this.spatialReference),(0,L._W)(this.spatialReference,e.outSR)]).then((()=>e))}_checkAttributesQuerySupport(e){const{outFields:t,orderByFields:s,returnDistinctValues:i,outStatistics:n}=e,a=n?n.map((e=>e.outStatisticFieldName&&e.outStatisticFieldName.toLowerCase())).filter(Boolean):[];if(s&&s.length>0){const t=" asc",i=" desc",r=s.map((e=>{const s=e.toLowerCase();return s.includes(t)?s.split(t)[0]:s.includes(i)?s.split(i)[0]:e})).filter((e=>!a.includes(e)));M(this.fieldsIndex,r,{expressionName:"orderByFields",query:e})}if(t&&t.length>0)M(this.fieldsIndex,t,{expressionName:"outFields",query:e});else if(i)throw new r.Z(Me,"outFields should be specified for returnDistinctValues",{query:e});!function(e,t,s){if(!t)return!0;const i="where clause",r=C(t,e,{validateStandardized:!0,expressionName:i});M(e,r,{expressionName:i,query:s}),k(e,r,{expressionName:i,query:s})}(this.fieldsIndex,e.where,e)}_checkStatisticsQuerySupport(e){const{outStatistics:t,groupByFieldsForStatistics:s,having:i}=e,n=s?.length,a=t?.length;if(i){if(!n||!a)throw new r.Z(Me,"outStatistics and groupByFieldsForStatistics should be specified with having",{query:e});P(this.fieldsIndex,i,t,e)}if(a){if(!function(e){return null!=e&&e.every((e=>"exceedslimit"!==e.statisticType))}(t))return;const i=t.map((e=>e.onStatisticField)).filter(Boolean);M(this.fieldsIndex,i,{expressionName:"onStatisticFields",query:e}),n&&M(this.fieldsIndex,s,{expressionName:"groupByFieldsForStatistics",query:e});const a=new Set([...w.jsonValues,...A.jsonValues]),o=new Intl.ListFormat("en-US",{type:"conjunction"}).format([...w.apiValues,...A.apiValues]);for(const s of t){const{onStatisticField:t,statisticType:i}=s;if("percentile_disc"!==i&&"percentile_cont"!==i||!("statisticParameters"in s)){if("count"!==i&&"min"!==i&&"max"!==i&&t&&Q(t,this.fieldsIndex,a))throw new r.Z(Me,`outStatistics with '${i}' statistic type, only supports ${o} field types`,{definition:s,query:e})}else{const{statisticParameters:t}=s;if(!t)throw new r.Z(Me,"statisticParameters should be set for percentile type",{definition:s,query:e})}}}}async _getQueryEngineResultForStats(e,t,s){e=(0,a.d9)(e);try{e=await this._schedule((()=>(0,Z.Up)(e,this.definitionExpression,this.spatialReference)),s),e=await this._reschedule((()=>this._checkStatisticsSupport(e,t)),s);const i=await this._reschedule((()=>this._executeSceneFilterQuery(e,s)),s),r=await this._reschedule((()=>this._executeGeometryQuery(e,i,s)),s);return await this._reschedule((()=>this._executeAggregateIdsQuery(r)),s),await this._reschedule((()=>this._executeObjectIdsQuery(r)),s),await this._reschedule((()=>this._executeTimeQuery(r)),s),await this._reschedule((()=>this._executeAttributesQuery(r)),s),r}catch(t){if(t!==Z.Ti)throw t;return new $([],e,this)}}}},61159:(e,t,s)=>{s.d(t,{g:()=>i});const i={supportsStatistics:!0,supportsPercentileStatistics:!0,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsCentroid:!0,supportsCacheHint:!1,supportsDistance:!0,supportsDistinct:!0,supportsExtent:!0,supportsGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryGeometry:!0,supportsResultType:!1,supportsSqlExpression:!0,supportsMaxRecordCountFactor:!1,supportsStandardizedQueriesOnly:!0,supportsTopFeaturesQuery:!1,supportsQueryByAnonymous:!0,supportsQueryByOthers:!0,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsDisjointSpatialRelationship:!0,supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsCompactGeometry:!1,maxRecordCountFactor:void 0,maxRecordCount:void 0,standardMaxRecordCount:void 0,tileMaxRecordCount:void 0}},37427:(e,t,s)=>{s.d(t,{_W:()=>f,iV:()=>g,oj:()=>y});var i=s(67676),r=s(95330),n=s(73615),a=s(37455),o=s(8744),l=s(40488);const u=[0,0];function c(e,t){if(!t)return null;if("x"in t){const s={x:0,y:0};return[s.x,s.y]=e(t.x,t.y,u),null!=t.z&&(s.z=t.z),null!=t.m&&(s.m=t.m),s}if("xmin"in t){const s={xmin:0,ymin:0,xmax:0,ymax:0};return[s.xmin,s.ymin]=e(t.xmin,t.ymin,u),[s.xmax,s.ymax]=e(t.xmax,t.ymax,u),t.hasZ&&(s.zmin=t.zmin,s.zmax=t.zmax,s.hasZ=!0),t.hasM&&(s.mmin=t.mmin,s.mmax=t.mmax,s.hasM=!0),s}return"rings"in t?{rings:h(t.rings,e),hasM:t.hasM,hasZ:t.hasZ}:"paths"in t?{paths:h(t.paths,e),hasM:t.hasM,hasZ:t.hasZ}:"points"in t?{points:d(t.points,e),hasM:t.hasM,hasZ:t.hasZ}:null}function h(e,t){const s=[];for(const i of e)s.push(d(i,t));return s}function d(e,t){const s=[];for(const i of e){const e=t(i[0],i[1],[0,0]);s.push(e),i.length>2&&e.push(i[2]),i.length>3&&e.push(i[3])}return s}async function f(e,t){if(!e||!t)return;const s=Array.isArray(e)?e.map((e=>null!=e.geometry?e.geometry.spatialReference:null)).filter(i.pC):[e];await(0,n.initializeProjection)(s.map((e=>({source:e,dest:t}))))}const p=c.bind(null,l.hG),m=c.bind(null,l.R6);function g(e,t,s,i){if(!e)return e;if(s||(s=t,t=e.spatialReference),!(0,o.JY)(t)||!(0,o.JY)(s)||(0,o.fS)(t,s))return e;if((0,l.Q8)(t,s)){const t=(0,o.sS)(s)?p(e):m(e);return t.spatialReference=s,t}return(0,n.projectMany)(a.N,[e],t,s,null,i)[0]}const _=new class{constructor(){this._jobs=[],this._timer=null,this._process=this._process.bind(this)}async push(e,t,s,i){if(!e?.length||!t||!s||(0,o.fS)(t,s))return e;const n={geometries:e,inSpatialReference:t,outSpatialReference:s,geographicTransformation:i,resolve:(0,r.hh)()};return this._jobs.push(n),this._timer??=setTimeout(this._process,10),n.resolve.promise}_process(){this._timer=null;const e=this._jobs.shift();if(!e)return;const{geometries:t,inSpatialReference:s,outSpatialReference:i,resolve:r,geographicTransformation:u}=e;(0,l.Q8)(s,i)?(0,o.sS)(i)?r(t.map(p)):r(t.map(m)):r((0,n.projectMany)(a.N,t,s,i,u,null)),this._jobs.length>0&&(this._timer=setTimeout(this._process,10))}};function y(e,t,s,i){return _.push(e,t,s,i)}},10402:(e,t,s)=>{s.d(t,{hN:()=>E,P0:()=>S,cW:()=>x});var i=s(20102),r=s(54102),n=s(87416),a=s(33955),o=s(8744);function l(e,t){return e?t?4:3:t?3:2}function u(e,t,s,i,r,n){const a=l(r,n),{coords:o,lengths:u}=i;if(!u)return!1;for(let i=0,r=0;i<u.length;i++,r+=a)if(!c(e,t,s,o[r],o[r+1]))return!1;return!0}function c(e,t,s,i,r){if(!e)return!1;const n=l(t,s),{coords:a,lengths:o}=e;let u=!1,c=0;for(const e of o)u=h(u,a,n,c,e,i,r),c+=e*n;return u}function h(e,t,s,i,r,n,a){let o=e,l=i;for(let e=i,u=i+r*s;e<u;e+=s){l=e+s,l===u&&(l=i);const r=t[e],c=t[e+1],h=t[l],d=t[l+1];(c<a&&d>=a||d<a&&c>=a)&&r+(a-c)/(d-c)*(h-r)<n&&(o=!o)}return o}var d=s(98732),f=s(5428),p=s(37427),m=s(11490);const g="feature-store:unsupported-query",_={esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"intersects",esriSpatialRelIndexIntersects:null,esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:null},y={spatialRelationship:{esriSpatialRelIntersects:!0,esriSpatialRelContains:!0,esriSpatialRelWithin:!0,esriSpatialRelCrosses:!0,esriSpatialRelDisjoint:!0,esriSpatialRelTouches:!0,esriSpatialRelOverlaps:!0,esriSpatialRelEnvelopeIntersects:!0,esriSpatialRelIndexIntersects:!1,esriSpatialRelRelation:!1},queryGeometry:{esriGeometryPoint:!0,esriGeometryMultipoint:!0,esriGeometryPolyline:!0,esriGeometryPolygon:!0,esriGeometryEnvelope:!0},layerGeometry:{esriGeometryPoint:!0,esriGeometryMultipoint:!0,esriGeometryPolyline:!0,esriGeometryPolygon:!0,esriGeometryEnvelope:!1}};function x(e,t,i,o,l){if((0,a.oU)(t)&&"esriGeometryPoint"===i&&("esriSpatialRelIntersects"===e||"esriSpatialRelContains"===e)){const e=(0,d.Uy)(new f.Z,t,!1,!1);return Promise.resolve((t=>function(e,t,s,i){return c(e,!1,!1,i.coords[0],i.coords[1])}(e,0,0,t)))}if((0,a.oU)(t)&&"esriGeometryMultipoint"===i){const s=(0,d.Uy)(new f.Z,t,!1,!1);if("esriSpatialRelContains"===e)return Promise.resolve((e=>u(s,!1,!1,e,o,l)))}if((0,a.YX)(t)&&"esriGeometryPoint"===i&&("esriSpatialRelIntersects"===e||"esriSpatialRelContains"===e))return Promise.resolve((e=>(0,r.aV)(t,(0,m.Op)(i,o,l,e))));if((0,a.YX)(t)&&"esriGeometryMultipoint"===i&&"esriSpatialRelContains"===e)return Promise.resolve((e=>(0,r.lQ)(t,(0,m.Op)(i,o,l,e))));if((0,a.YX)(t)&&"esriSpatialRelIntersects"===e){const e="mesh"===(h=i)?n.h_:(0,n.IY)(h);return Promise.resolve((s=>e(t,(0,m.Op)(i,o,l,s))))}var h;return Promise.all([s.e(5837),s.e(247)]).then(s.bind(s,30247)).then((s=>{const r=s[_[e]].bind(null,t.spatialReference,t);return e=>r((0,m.Op)(i,o,l,e))}))}async function S(e,t,s){const{spatialRel:r,geometry:n}=e;if(n){if(!function(e){return null!=e&&!0===y.spatialRelationship[e]}(r))throw new i.Z(g,"Unsupported query spatial relationship",{query:e});if((0,o.JY)(n.spatialReference)&&(0,o.JY)(s)){if(!function(e){return null!=e&&!0===y.queryGeometry[(0,a.Ji)(e)]}(n))throw new i.Z(g,"Unsupported query geometry type",{query:e});if(!function(e){return null!=e&&!0===y.layerGeometry[e]}(t))throw new i.Z(g,"Unsupported layer geometry type",{query:e});if(e.outSR)return(0,p._W)(e.geometry?.spatialReference,e.outSR)}}}function E(e){if((0,a.YX)(e))return!0;if((0,a.oU)(e)){for(const t of e.rings){if(5!==t.length)return!1;if(t[0][0]!==t[1][0]||t[0][0]!==t[4][0]||t[2][0]!==t[3][0]||t[0][1]!==t[3][1]||t[0][1]!==t[4][1]||t[1][1]!==t[2][1])return!1}return!0}return!1}},17590:(e,t,s)=>{async function i(e,t){if(!e)return null;const s=t.featureAdapter,{startTimeField:i,endTimeField:r}=e;let n=Number.POSITIVE_INFINITY,a=Number.NEGATIVE_INFINITY;if(i&&r)await t.forEach((e=>{const t=s.getAttribute(e,i),o=s.getAttribute(e,r);null==t||isNaN(t)||(n=Math.min(n,t)),null==o||isNaN(o)||(a=Math.max(a,o))}));else{const e=i||r;await t.forEach((t=>{const i=s.getAttribute(t,e);null==i||isNaN(i)||(n=Math.min(n,i),a=Math.max(a,i))}))}return{start:n,end:a}}function r(e,t,s){if(!t||!e)return null;const{startTimeField:i,endTimeField:r}=e;if(!i&&!r)return null;const{start:n,end:a}=t;if(null===n&&null===a)return null;if(void 0===n&&void 0===a)return()=>!1;const o=s.getAttributeAsTimestamp?.bind(s)??s.getAttribute.bind(s);return i&&r?function(e,t,s,i,r){return null!=i&&null!=r?n=>{const a=e(n,t),o=e(n,s);return(null==a||a<=r)&&(null==o||o>=i)}:null!=i?t=>{const r=e(t,s);return null==r||r>=i}:null!=r?s=>{const i=e(s,t);return null==i||i<=r}:void 0}(o,i,r,n,a):function(e,t,s,i){return null!=s&&null!=i&&s===i?i=>e(i,t)===s:null!=s&&null!=i?r=>{const n=e(r,t);return null!=n&&n>=s&&n<=i}:null!=s?i=>{const r=e(i,t);return null!=r&&r>=s}:null!=i?s=>{const r=e(s,t);return null!=r&&r<=i}:void 0}(o,i||r,n,a)}s.d(t,{R:()=>i,y:()=>r})},11490:(e,t,s)=>{s.d(t,{EG:()=>x,Op:()=>S,S2:()=>I,Ti:()=>p,Up:()=>E,j6:()=>R});var i=s(35454),r=s(67900),n=s(73615),a=s(49600),o=s(33955),l=s(16306),u=s(8744),c=s(98732),h=s(5428),d=s(37427);const f=new i.X({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"}),p=Object.freeze({}),m=new h.Z,g=new h.Z,_=new h.Z,y={esriGeometryPoint:c.fQ,esriGeometryPolyline:c.J6,esriGeometryPolygon:c.eG,esriGeometryMultipoint:c.Iv};function x(e,t,s,i=e.hasZ,r=e.hasM){if(null==t)return null;const n=e.hasZ&&i,a=e.hasM&&r;if(s){const o=(0,c.Nh)(_,t,e.hasZ,e.hasM,"esriGeometryPoint",s,i,r);return(0,c.fQ)(o,n,a)}return(0,c.fQ)(t,n,a)}function S(e,t,s,i,r,n,a=t,o=s){const l=t&&a,u=s&&o,h=null!=i?"coords"in i?i:i.geometry:null;if(null==h)return null;if(r){let i=(0,c.zj)(g,h,t,s,e,r,a,o);return n&&(i=(0,c.Nh)(_,i,l,u,e,n)),y[e]?.(i,l,u)??null}if(n){const i=(0,c.Nh)(_,h,t,s,e,n,a,o);return y[e]?.(i,l,u)??null}return(0,c.hY)(m,h,t,s,a,o),y[e]?.(m,l,u)??null}async function E(e,t,s){const{outFields:i,orderByFields:r,groupByFieldsForStatistics:n,outStatistics:a}=e;if(i)for(let e=0;e<i.length;e++)i[e]=i[e].trim();if(r)for(let e=0;e<r.length;e++)r[e]=r[e].trim();if(n)for(let e=0;e<n.length;e++)n[e]=n[e].trim();if(a)for(let e=0;e<a.length;e++)a[e].onStatisticField&&(a[e].onStatisticField=a[e].onStatisticField.trim());return e.geometry&&!e.outSR&&(e.outSR=e.geometry.spatialReference),R(e,t,s)}async function R(e,t,i){if(!e)return null;let{where:n}=e;if(e.where=n=n?.trim(),(!n||/^1 *= *1$/.test(n)||t&&t===n)&&(e.where=null),!e.geometry)return e;let c=await async function(e){const{distance:t,units:i}=e,n=e.geometry;if(null==t||"vertexAttributes"in n)return n;const a=n.spatialReference,o=i?f.fromJSON(i):(0,r.qE)(a),l=a&&((0,u.sT)(a)||(0,u.sS)(a))?n:await(0,d._W)(a,u.Zn).then((()=>(0,d.iV)(n,u.Zn)));return(await async function(){return(await Promise.all([s.e(5837),s.e(247)]).then(s.bind(s,30247))).geodesicBuffer}())(l.spatialReference,l,t,o)}(e);if(e.distance=0,e.units=null,"esriSpatialRelEnvelopeIntersects"===e.spatialRel){const{spatialReference:t}=e.geometry;c=(0,a.aO)(c),c.spatialReference=t}if(c){await(0,d._W)(c.spatialReference,i),c=function(e,t){const s=e.spatialReference;return T(e,t)&&(0,o.YX)(e)?{spatialReference:s,rings:[[[e.xmin,e.ymin],[e.xmin,e.ymax],[e.xmax,e.ymax],[e.xmax,e.ymin],[e.xmin,e.ymin]]]}:e}(c,i);const t=(await(0,l.aX)((0,o.im)(c)))[0];if(null==t)throw p;const s="quantizationParameters"in e&&e.quantizationParameters?.tolerance||"maxAllowableOffset"in e&&e.maxAllowableOffset||0,r=s&&T(c,i)?{densificationStep:8*s}:void 0,n=t.toJSON(),a=(0,d.iV)(n,n.spatialReference,i,r);if(!a)throw p;a.spatialReference=i,e.geometry=a}return e}function T(e,t){if(!e)return!1;const s=e.spatialReference;return((0,o.YX)(e)||(0,o.oU)(e)||(0,o.l9)(e))&&!(0,u.fS)(s,t)&&!(0,n.canProjectWithoutEngine)(s,t)}function I(e){return e&&F in e?JSON.parse(JSON.stringify(e,w)):e}const F="_geVersion",w=(e,t)=>e!==F?t:void 0},95720:(e,t,s)=>{var i;s.d(t,{n:()=>i}),function(e){e[e.ANIMATING=0]="ANIMATING",e[e.INTERACTING=1]="INTERACTING",e[e.IDLE=2]="IDLE"}(i||(i={}))}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7151],{94443:(e,t,r)=>{r.d(t,{ME:()=>h,Su:()=>f,tz:()=>y});var s=r(20102),o=r(50758),n=r(95330),i=r(70171);const a=/^([a-z]{2})(?:[-_]([A-Za-z]{2}))?$/,l={ar:!0,bg:!0,bs:!0,ca:!0,cs:!0,da:!0,de:!0,el:!0,en:!0,es:!0,et:!0,fi:!0,fr:!0,he:!0,hr:!0,hu:!0,id:!0,it:!0,ja:!0,ko:!0,lt:!0,lv:!0,nb:!0,nl:!0,pl:!0,"pt-BR":!0,"pt-PT":!0,ro:!0,ru:!0,sk:!0,sl:!0,sr:!0,sv:!0,th:!0,tr:!0,uk:!0,vi:!0,"zh-CN":!0,"zh-HK":!0,"zh-TW":!0};function p(e){return e in l}Object.keys(l);const u=[],c=new Map;function d(e){for(const t of c.keys())m(e.pattern,t)&&c.delete(t)}function y(e){return u.includes(e)||(d(e),u.unshift(e)),(0,o.kB)((()=>{const t=u.indexOf(e);t>-1&&(u.splice(t,1),d(e))}))}async function h(e){const t=(0,i.Kd)();c.has(e)||c.set(e,async function(e,t){const r=[];for(const s of u)if(m(s.pattern,e))try{return await s.fetchMessageBundle(e,t)}catch(e){r.push(e)}if(r.length)throw new s.Z("intl:message-bundle-error",`Errors occurred while loading "${e}"`,{errors:r});throw new s.Z("intl:no-message-bundle-loader",`No loader found for message bundle "${e}"`)}(e,t));const r=c.get(e);return r&&await g.add(r),r}function f(e){if(!a.test(e))return null;const t=a.exec(e);if(null===t)return null;const[,r,s]=t,o=r+(s?"-"+s.toUpperCase():"");return p(o)?o:p(r)?r:null}function m(e,t){return"string"==typeof e?t.startsWith(e):e.test(t)}(0,i.Ze)((()=>{c.clear()}));const g=new class{constructor(){this._numLoading=0,this._dfd=null}async waitForAll(){this._dfd&&await this._dfd.promise}add(e){return this._increase(),e.then((()=>this._decrease()),(()=>this._decrease())),this.waitForAll()}_increase(){this._numLoading++,this._dfd||(this._dfd=(0,n.hh)())}_decrease(){this._numLoading=Math.max(this._numLoading-1,0),this._dfd&&0===this._numLoading&&(this._dfd.resolve(),this._dfd=null)}}},54295:(e,t,r)=>{r.d(t,{V:()=>i});var s=r(43697),o=r(5600),n=(r(75215),r(67676),r(80442),r(52011));const i=e=>{let t=class extends e{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,s._)([(0,o.Cb)({type:String})],t.prototype,"apiKey",null),t=(0,s._)([(0,n.j)("esri.layers.mixins.APIKeyMixin")],t),t}},17287:(e,t,r)=>{r.d(t,{Y:()=>l});var s=r(43697),o=r(92604),n=r(5600),i=(r(75215),r(67676),r(80442),r(52011)),a=r(66677);const l=e=>{let t=class extends e{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,a.Qc)(this.url);if(null!=e&&e.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,a.Nm)(e,o.Z.getLogger(this)))}};return(0,s._)([(0,n.Cb)()],t.prototype,"title",null),(0,s._)([(0,n.Cb)({type:String})],t.prototype,"url",null),t=(0,s._)([(0,i.j)("esri.layers.mixins.ArcGISService")],t),t}},17017:(e,t,r)=>{r.d(t,{N:()=>i});var s=r(43697),o=r(5600),n=(r(75215),r(67676),r(80442),r(52011));const i=e=>{let t=class extends e{constructor(){super(...arguments),this.customParameters=null}};return(0,s._)([(0,o.Cb)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],t.prototype,"customParameters",void 0),t=(0,s._)([(0,n.j)("esri.layers.mixins.CustomParametersMixin")],t),t}},34760:(e,t,r)=>{r.d(t,{Q:()=>w});var s=r(43697),o=r(92604),n=r(95330),i=r(5600),a=r(90578),l=(r(67676),r(80442),r(52011)),p=r(82960),u=r(46791),c=(r(66643),r(20102),r(26258),r(87538));const d=new u.Z,y=new WeakMap;function h(e){(function(e){return null!=e&&"object"==typeof e&&"refreshInterval"in e&&"refresh"in e})(e)&&d.push(new WeakRef(e))}function f(e,t){return Number.isFinite(e)&&Number.isFinite(t)?t<=0?e:f(t,e%t):0}let m=0,g=0;function v(){const e=Date.now();let t=!1;for(const r of d){const s=r.deref();s?s.refreshInterval&&e-(y.get(s)??0)+5>=6e4*s.refreshInterval&&(y.set(s,e),s.refresh(e)):t=!0}if(t)for(let e=d.length-1;e>=0;e--)d.at(e).deref()||d.removeAt(e)}(0,c.EH)((()=>{const e=Date.now();let t=0;for(const r of d){const s=r.deref();s&&(t=f(Math.round(6e4*s.refreshInterval),t),s.refreshInterval?y.get(s)||y.set(s,e):y.delete(s))}if(t!==g){if(g=t,clearInterval(m),0===g)return void(m=0);m=setInterval(v,g)}}));const w=e=>{let t=class extends e{constructor(...e){super(...e),this.refreshInterval=0,this.refreshTimestamp=0,this._debounceHasDataChanged=(0,n.Ds)((()=>this.hasDataChanged())),this.when().then((()=>{this.destroyed||h(this)}),(()=>{}))}destroy(){!function(e){const t=d.find((t=>t.deref()===e));t&&d.remove(t)}(this)}castRefreshInterval(e){return e>=.1?e:e<=0?0:.1}get refreshParameters(){return{_ts:this.refreshTimestamp||null}}refresh(e=Date.now()){(0,n.R8)(this._debounceHasDataChanged()).then((t=>{t&&this._set("refreshTimestamp",e),this.emit("refresh",{dataChanged:t})}),(e=>{o.Z.getLogger(this).error(e),this.emit("refresh",{dataChanged:!1,error:e})}))}async hasDataChanged(){return!0}get test(){const e=this;return{set refreshInterval(t){e._set("refreshInterval",t)}}}};return(0,s._)([(0,i.Cb)({type:Number,json:{write:!0,origins:{"web-scene":{write:{enabled:!0,layerContainerTypes:p.C}}}}})],t.prototype,"refreshInterval",void 0),(0,s._)([(0,a.p)("refreshInterval")],t.prototype,"castRefreshInterval",null),(0,s._)([(0,i.Cb)({readOnly:!0})],t.prototype,"refreshTimestamp",void 0),(0,s._)([(0,i.Cb)({readOnly:!0})],t.prototype,"refreshParameters",null),t=(0,s._)([(0,l.j)("esri.layers.mixins.RefreshableLayer")],t),t}},70082:(e,t,r)=>{r.d(t,{Z:()=>c});var s=r(43697),o=r(2368),n=r(35454),i=r(96674),a=r(5600),l=(r(75215),r(67676),r(80442),r(52011));const p=new n.X({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends((0,o.J)(i.wq)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,s._)([(0,a.Cb)({json:{write:!0}})],u.prototype,"name",void 0),(0,s._)([(0,a.Cb)({json:{write:!0}})],u.prototype,"description",void 0),(0,s._)([(0,a.Cb)({json:{read:p.read,write:p.write}})],u.prototype,"drawingTool",void 0),(0,s._)([(0,a.Cb)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,s._)([(0,a.Cb)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,s._)([(0,l.j)("esri.layers.support.FeatureTemplate")],u);const c=u},16451:(e,t,r)=>{r.d(t,{Z:()=>y});var s=r(43697),o=r(2368),n=r(96674),i=r(5600),a=(r(75215),r(67676),r(80442),r(71715)),l=r(52011),p=r(30556),u=r(72729),c=r(70082);let d=class extends((0,o.J)(n.wq)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,u.im)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,s._)([(0,i.Cb)({json:{write:!0}})],d.prototype,"id",void 0),(0,s._)([(0,i.Cb)({json:{write:!0}})],d.prototype,"name",void 0),(0,s._)([(0,i.Cb)({json:{write:!0}})],d.prototype,"domains",void 0),(0,s._)([(0,a.r)("domains")],d.prototype,"readDomains",null),(0,s._)([(0,p.c)("domains")],d.prototype,"writeDomains",null),(0,s._)([(0,i.Cb)({type:[c.Z],json:{write:!0}})],d.prototype,"templates",void 0),d=(0,s._)([(0,l.j)("esri.layers.support.FeatureType")],d);const y=d},56765:(e,t,r)=>{r.d(t,{Z:()=>u});var s,o=r(43697),n=r(46791),i=r(96674),a=r(5600),l=(r(75215),r(67676),r(80442),r(52011));let p=s=class extends i.wq{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new n.Z}clone(){return new s({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],p.prototype,"floorField",void 0),(0,o._)([(0,a.Cb)({json:{read:!1,write:!1}})],p.prototype,"viewAllMode",void 0),(0,o._)([(0,a.Cb)({json:{read:!1,write:!1}})],p.prototype,"viewAllLevelIds",void 0),p=s=(0,o._)([(0,l.j)("esri.layers.support.LayerFloorInfo")],p);const u=p},54275:(e,t,r)=>{r.d(t,{h:()=>c});var s=r(80442),o=r(66677);function n(e,t,r){return!!a(e,t,r)}function i(e,t,r){return a(e,t,r)}function a(e,t,r){return e&&e.hasOwnProperty(t)?e[t]:r}const l={name:"supportsName",size:"supportsSize",contentType:"supportsContentType",keywords:"supportsKeywords",exifInfo:"supportsExifInfo"};function p(e){const t=e?.supportedSpatialAggregationStatistics?.map((e=>e.toLowerCase()));return{envelope:!!t?.includes("envelopeaggregate"),centroid:!!t?.includes("centroidaggregate"),convexHull:!!t?.includes("convexhullaggregate")}}function u(e,t){const r=e?.supportedOperationsWithCacheHint?.map((e=>e.toLowerCase()));return!!r?.includes(t.toLowerCase())}function c(e,t){return{analytics:d(e),attachment:y(e),data:h(e),metadata:f(e),operations:m(e.capabilities,e,t),query:g(e,t),queryRelated:v(e),queryTopFeatures:w(e),editing:C(e)}}function d(e){return{supportsCacheHint:u(e.advancedQueryCapabilities,"queryAnalytics")}}function y(e){const t=e.attachmentProperties,r={supportsName:!1,supportsSize:!1,supportsContentType:!1,supportsKeywords:!1,supportsExifInfo:!1,supportsCacheHint:u(e.advancedQueryCapabilities,"queryAttachments"),supportsResize:n(e,"supportsAttachmentsResizing",!1)};return t&&Array.isArray(t)&&t.forEach((e=>{const t=l[e.name];t&&(r[t]=!!e.isEnabled)})),r}function h(e){return{isVersioned:n(e,"isDataVersioned",!1),supportsAttachment:n(e,"hasAttachments",!1),supportsM:n(e,"hasM",!1),supportsZ:n(e,"hasZ",!1)}}function f(e){return{supportsAdvancedFieldProperties:n(e,"supportsFieldDescriptionProperty",!1)}}function m(e,t,r){const s=e?e.toLowerCase().split(",").map((e=>e.trim())):[],i=r?(0,o.Qc)(r):null,a=s.includes(null!=i&&"MapServer"===i.serverType?"data":"query"),l=s.includes("editing")&&!t.datesInUnknownTimezone;let p=l&&s.includes("create"),u=l&&s.includes("delete"),c=l&&s.includes("update");const d=s.includes("changetracking"),y=t.advancedQueryCapabilities;return l&&!(p||u||c)&&(p=u=c=!0),{supportsCalculate:n(t,"supportsCalculate",!1),supportsTruncate:n(t,"supportsTruncate",!1),supportsValidateSql:n(t,"supportsValidateSql",!1),supportsAdd:p,supportsDelete:u,supportsEditing:l,supportsChangeTracking:d,supportsQuery:a,supportsQueryAnalytics:n(y,"supportsQueryAnalytic",!1),supportsQueryAttachments:n(y,"supportsQueryAttachments",!1),supportsQueryTopFeatures:n(y,"supportsTopFeaturesQuery",!1),supportsResizeAttachments:n(t,"supportsAttachmentsResizing",!1),supportsSync:s.includes("sync"),supportsUpdate:c,supportsExceedsLimitStatistics:n(t,"supportsExceedsLimitStatistics",!1),supportsAsyncConvert3D:n(t,"supportsAsyncConvert3D",!1)}}function g(e,t){const r=e.advancedQueryCapabilities,a=e.ownershipBasedAccessControlForFeatures,l=e.archivingInfo,c=e.currentVersion,d=t?.includes("MapServer"),y=!d||c>=(0,s.Z)("mapserver-pbf-version-support"),h=(0,o.M8)(t),f=new Set((e.supportedQueryFormats??"").split(",").map((e=>e.toLowerCase().trim())));return{supportsStatistics:n(r,"supportsStatistics",e.supportsStatistics),supportsPercentileStatistics:n(r,"supportsPercentileStatistics",!1),supportsSpatialAggregationStatistics:n(r,"supportsSpatialAggregationStatistics",!1),supportedSpatialAggregationStatistics:p(r),supportsCentroid:n(r,"supportsReturningGeometryCentroid",!1),supportsDistance:n(r,"supportsQueryWithDistance",!1),supportsDistinct:n(r,"supportsDistinct",e.supportsAdvancedQueries),supportsExtent:n(r,"supportsReturningQueryExtent",!1),supportsGeometryProperties:n(r,"supportsReturningGeometryProperties",!1),supportsHavingClause:n(r,"supportsHavingClause",!1),supportsOrderBy:n(r,"supportsOrderBy",e.supportsAdvancedQueries),supportsPagination:n(r,"supportsPagination",!1),supportsQuantization:n(e,"supportsCoordinatesQuantization",!1),supportsQuantizationEditMode:n(e,"supportsQuantizationEditMode",!1),supportsQueryGeometry:n(e,"supportsReturningQueryGeometry",!1),supportsResultType:n(r,"supportsQueryWithResultType",!1),supportsMaxRecordCountFactor:n(r,"supportsMaxRecordCountFactor",!1),supportsSqlExpression:n(r,"supportsSqlExpression",!1),supportsStandardizedQueriesOnly:n(e,"useStandardizedQueries",!1),supportsTopFeaturesQuery:n(r,"supportsTopFeaturesQuery",!1),supportsQueryByAnonymous:n(a,"allowAnonymousToQuery",!0),supportsQueryByOthers:n(a,"allowOthersToQuery",!0),supportsHistoricMoment:n(l,"supportsQueryWithHistoricMoment",!1),supportsFormatPBF:y&&f.has("pbf"),supportsDisjointSpatialRelationship:n(r,"supportsDisjointSpatialRel",!1),supportsCacheHint:n(r,"supportsQueryWithCacheHint",!1)||u(r,"query"),supportsDefaultSpatialReference:n(r,"supportsDefaultSR",!1),supportsCompactGeometry:h,supportsFullTextSearch:n(r,"supportsFullTextSearch",!1),maxRecordCountFactor:i(e,"maxRecordCountFactor",void 0),maxRecordCount:i(e,"maxRecordCount",void 0),standardMaxRecordCount:i(e,"standardMaxRecordCount",void 0),tileMaxRecordCount:i(e,"tileMaxRecordCount",void 0)}}function v(e){const t=e.advancedQueryCapabilities,r=n(t,"supportsAdvancedQueryRelated",!1);return{supportsPagination:n(t,"supportsQueryRelatedPagination",!1),supportsCount:r,supportsOrderBy:r,supportsCacheHint:u(t,"queryRelated")}}function w(e){return{supportsCacheHint:u(e.advancedQueryCapabilities,"queryTopFilter")}}function C(e){const t=e.ownershipBasedAccessControlForFeatures,r=e?e.advancedEditingCapabilities:void 0;return{supportsGeometryUpdate:n(e,"allowGeometryUpdates",!0),supportsGlobalId:n(e,"supportsApplyEditsWithGlobalIds",!1),supportsReturnServiceEditsInSourceSpatialReference:n(e,"supportsReturnServiceEditsInSourceSR",!1),supportsRollbackOnFailure:n(e,"supportsRollbackOnFailureParameter",!1),supportsUpdateWithoutM:n(e,"allowUpdateWithoutMValues",!1),supportsUploadWithItemId:n(e,"supportsAttachmentsByUploadId",!1),supportsDeleteByAnonymous:n(t,"allowAnonymousToDelete",!0),supportsDeleteByOthers:n(t,"allowOthersToDelete",!0),supportsUpdateByAnonymous:n(t,"allowAnonymousToUpdate",!0),supportsUpdateByOthers:n(t,"allowOthersToUpdate",!0),supportsAsyncApplyEdits:n(r,"supportsAsyncApplyEdits",!1),zDefault:i(e,"zDefault",void 0)}}},14661:(e,t,r)=>{r.d(t,{$o:()=>u,Fj:()=>l,Kz:()=>c,Ss:()=>d,_$:()=>a,ck:()=>p,qj:()=>i});var s=r(73615),o=r(82971),n=r(40488);function i(e,t){if(!a(e,t)){const r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function a(e,t){return!!e.typeKeywords?.includes(t)}function l(e){return a(e,c.HOSTED_SERVICE)}function p(e,t){const r=e.typeKeywords;if(r){const e=r.indexOf(t);e>-1&&r.splice(e,1)}}async function u(e){const t=e.clone().normalize();let r;if(t.length>1)for(const e of t)r?e.width>r.width&&(r=e):r=e;else r=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,n.Sx)(e);const r=o.Z.WGS84;return await(0,s.initializeProjection)(t,r),(0,s.project)(e,r)}(r)}const c={DEVELOPER_BASEMAP:"DeveloperBasemap",JSAPI:"ArcGIS API for JavaScript",METADATA:"Metadata",MULTI_LAYER:"Multilayer",SINGLE_LAYER:"Singlelayer",TABLE:"Table",HOSTED_SERVICE:"Hosted Service",LOCAL_SCENE:"ViewingMode-Local",TILED_IMAGERY:"Tiled Imagery",GROUP_LAYER_MAP:"Map"};function d(e){const{portal:t,isOrgItem:r,itemControl:s}=e,o=t.user?.privileges;let n=!o||o.includes("features:user:edit"),i=!!r&&!!o?.includes("features:user:fullEdit");const a="update"===s||"admin"===s;return a?i=n=!0:i&&(n=!0),{features:{edit:n,fullEdit:i},content:{updateItem:a}}}},74889:(e,t,r)=>{r.d(t,{Z:()=>w});var s,o=r(43697),n=r(66577),i=r(38171),a=r(35454),l=r(96674),p=r(22974),u=r(5600),c=(r(75215),r(71715)),d=r(52011),y=r(30556),h=r(82971),f=r(33955),m=r(1231);const g=new a.X({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=s=class extends l.wq{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){const r=h.Z.fromJSON(t.spatialReference),s=[];for(let t=0;t<e.length;t++){const o=e[t],n=i.Z.fromJSON(o),a=o.geometry?.spatialReference;null==n.geometry||a||(n.geometry.spatialReference=r);const l=o.aggregateGeometries,p=n.aggregateGeometries;if(l&&null!=p)for(const e in p){const t=p[e],s=l[e],o=s?.spatialReference;null==t||o||(t.spatialReference=r)}s.push(n)}return s}writeGeometryType(e,t,r,s){if(e)return void g.write(e,t,r,s);const{features:o}=this;if(o)for(const e of o)if(null!=e?.geometry)return void g.write(e.geometry.type,t,r,s)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,s=(0,f.im)(e);return s&&!r&&t.spatialReference&&(s.spatialReference=h.Z.fromJSON(t.spatialReference)),s}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new s(this.cloneProperties())}cloneProperties(){return(0,p.d9)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const s=t.features[r];if(s.geometry){const t=e?.[r];s.geometry=t?.toJSON()||s.geometry}}return t}quantize(e){const{scale:[t,r],translate:[s,o]}=e,n=this.features,i=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-s)/t)),(e=>Math.round((o-e)/r)));for(let e=0,t=n.length;e<t;e++)i?.(n[e].geometry)||(n.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[s,o],scale:[n,i]}=r;let a=null,l=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;a=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;l=r=>null==r?r:r*t+e}const p=this._getHydrationFunction(e,(e=>e*n+s),(e=>o-e*i),a,l);for(const{geometry:e}of t)null!=e&&p&&p(e);return this.transform=null,this}_quantizePoints(e,t,r){let s,o;const n=[];for(let i=0,a=e.length;i<a;i++){const a=e[i];if(i>0){const e=t(a[0]),i=r(a[1]);e===s&&i===o||(n.push([e-s,i-o]),s=e,o=i)}else s=t(a[0]),o=r(a[1]),n.push([s,o])}return n.length>0?n:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const s=(0,f.oU)(e)?e.rings:e.paths,o=[];for(let e=0,n=s.length;e<n;e++){const n=s[e],i=this._quantizePoints(n,t,r);i&&o.push(i)}return o.length>0?((0,f.oU)(e)?e.rings=o:e.paths=o,e):null}:"multipoint"===e?e=>{const s=this._quantizePoints(e.points,t,r);return s&&s.length>0?(e.points=s,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,s,o){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),s&&(e.z=s(e.z))}:"polyline"===e||"polygon"===e?e=>{const n=(0,f.oU)(e)?e.rings:e.paths;let i,a;for(let e=0,s=n.length;e<s;e++){const s=n[e];for(let e=0,o=s.length;e<o;e++){const o=s[e];e>0?(i+=o[0],a+=o[1]):(i=o[0],a=o[1]),o[0]=t(i),o[1]=r(a)}}if(s&&o)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=s(r[2]),r[3]=o(r[3])}}else if(s)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=s(r[2])}}else if(o)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=o(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),s&&null!=e.zmax&&null!=e.zmin&&(e.zmax=s(e.zmax),e.zmin=s(e.zmin)),o&&null!=e.mmax&&null!=e.mmin&&(e.mmax=o(e.mmax),e.mmin=o(e.mmin))}:"multipoint"===e?e=>{const n=e.points;let i,a;for(let e=0,s=n.length;e<s;e++){const s=n[e];e>0?(i+=s[0],a+=s[1]):(i=s[0],a=s[1]),s[0]=t(i),s[1]=r(a)}if(s&&o)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=s(t[2]),t[3]=o(t[3])}else if(s)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=s(t[2])}else if(o)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=o(t[2])}}:null}};(0,o._)([(0,u.Cb)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,o._)([(0,u.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,o._)([(0,u.Cb)({type:[i.Z],json:{write:!0}})],v.prototype,"features",void 0),(0,o._)([(0,c.r)("features")],v.prototype,"readFeatures",null),(0,o._)([(0,u.Cb)({type:[m.Z],json:{write:!0}})],v.prototype,"fields",void 0),(0,o._)([(0,u.Cb)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],v.prototype,"geometryType",void 0),(0,o._)([(0,y.c)("geometryType")],v.prototype,"writeGeometryType",null),(0,o._)([(0,u.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,o._)([(0,u.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,o._)([(0,u.Cb)({types:n.qM,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,o._)([(0,c.r)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,o._)([(0,u.Cb)({type:h.Z,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,o._)([(0,y.c)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,o._)([(0,u.Cb)({json:{write:!0}})],v.prototype,"transform",void 0),v=s=(0,o._)([(0,d.j)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0;const w=v}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1786],{44543:(e,t,n)=>{n.d(t,{F:()=>g,M:()=>r});const r={Base64:0,Hex:1,String:2,Raw:3},o=8,i=(1<<o)-1;function s(e,t){const n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function l(e){const t=[];for(let n=0,r=e.length*o;n<r;n+=o)t[n>>5]|=(e.charCodeAt(n/o)&i)<<n%32;return t}function a(e){const t=[];for(let n=0,r=32*e.length;n<r;n+=o)t.push(String.fromCharCode(e[n>>5]>>>n%32&i));return t.join("")}function u(e,t,n,r,o,i){return s(function(e,t){return e<<t|e>>>32-t}(s(s(t,e),s(r,i)),o),n)}function p(e,t,n,r,o,i,s){return u(t&n|~t&r,e,t,o,i,s)}function c(e,t,n,r,o,i,s){return u(t&r|n&~r,e,t,o,i,s)}function d(e,t,n,r,o,i,s){return u(t^n^r,e,t,o,i,s)}function f(e,t,n,r,o,i,s){return u(n^(t|~r),e,t,o,i,s)}function y(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;let n=1732584193,r=-271733879,o=-1732584194,i=271733878;for(let t=0;t<e.length;t+=16){const l=n,a=r,u=o,y=i;n=p(n,r,o,i,e[t],7,-680876936),i=p(i,n,r,o,e[t+1],12,-389564586),o=p(o,i,n,r,e[t+2],17,606105819),r=p(r,o,i,n,e[t+3],22,-1044525330),n=p(n,r,o,i,e[t+4],7,-176418897),i=p(i,n,r,o,e[t+5],12,1200080426),o=p(o,i,n,r,e[t+6],17,-1473231341),r=p(r,o,i,n,e[t+7],22,-45705983),n=p(n,r,o,i,e[t+8],7,1770035416),i=p(i,n,r,o,e[t+9],12,-1958414417),o=p(o,i,n,r,e[t+10],17,-42063),r=p(r,o,i,n,e[t+11],22,-1990404162),n=p(n,r,o,i,e[t+12],7,1804603682),i=p(i,n,r,o,e[t+13],12,-40341101),o=p(o,i,n,r,e[t+14],17,-1502002290),r=p(r,o,i,n,e[t+15],22,1236535329),n=c(n,r,o,i,e[t+1],5,-165796510),i=c(i,n,r,o,e[t+6],9,-1069501632),o=c(o,i,n,r,e[t+11],14,643717713),r=c(r,o,i,n,e[t],20,-373897302),n=c(n,r,o,i,e[t+5],5,-701558691),i=c(i,n,r,o,e[t+10],9,38016083),o=c(o,i,n,r,e[t+15],14,-660478335),r=c(r,o,i,n,e[t+4],20,-405537848),n=c(n,r,o,i,e[t+9],5,568446438),i=c(i,n,r,o,e[t+14],9,-1019803690),o=c(o,i,n,r,e[t+3],14,-187363961),r=c(r,o,i,n,e[t+8],20,1163531501),n=c(n,r,o,i,e[t+13],5,-1444681467),i=c(i,n,r,o,e[t+2],9,-51403784),o=c(o,i,n,r,e[t+7],14,1735328473),r=c(r,o,i,n,e[t+12],20,-1926607734),n=d(n,r,o,i,e[t+5],4,-378558),i=d(i,n,r,o,e[t+8],11,-2022574463),o=d(o,i,n,r,e[t+11],16,1839030562),r=d(r,o,i,n,e[t+14],23,-35309556),n=d(n,r,o,i,e[t+1],4,-1530992060),i=d(i,n,r,o,e[t+4],11,1272893353),o=d(o,i,n,r,e[t+7],16,-155497632),r=d(r,o,i,n,e[t+10],23,-1094730640),n=d(n,r,o,i,e[t+13],4,681279174),i=d(i,n,r,o,e[t],11,-358537222),o=d(o,i,n,r,e[t+3],16,-722521979),r=d(r,o,i,n,e[t+6],23,76029189),n=d(n,r,o,i,e[t+9],4,-640364487),i=d(i,n,r,o,e[t+12],11,-421815835),o=d(o,i,n,r,e[t+15],16,530742520),r=d(r,o,i,n,e[t+2],23,-995338651),n=f(n,r,o,i,e[t],6,-198630844),i=f(i,n,r,o,e[t+7],10,1126891415),o=f(o,i,n,r,e[t+14],15,-1416354905),r=f(r,o,i,n,e[t+5],21,-57434055),n=f(n,r,o,i,e[t+12],6,1700485571),i=f(i,n,r,o,e[t+3],10,-1894986606),o=f(o,i,n,r,e[t+10],15,-1051523),r=f(r,o,i,n,e[t+1],21,-2054922799),n=f(n,r,o,i,e[t+8],6,1873313359),i=f(i,n,r,o,e[t+15],10,-30611744),o=f(o,i,n,r,e[t+6],15,-1560198380),r=f(r,o,i,n,e[t+13],21,1309151649),n=f(n,r,o,i,e[t+4],6,-145523070),i=f(i,n,r,o,e[t+11],10,-1120210379),o=f(o,i,n,r,e[t+2],15,718787259),r=f(r,o,i,n,e[t+9],21,-343485551),n=s(n,l),r=s(r,a),o=s(o,u),i=s(i,y)}return[n,r,o,i]}function g(e,t=r.Hex){const n=t||r.Base64,i=y(l(e),e.length*o);switch(n){case r.Raw:return i;case r.Hex:return function(e){const t="0123456789abcdef",n=[];for(let r=0,o=4*e.length;r<o;r++)n.push(t.charAt(e[r>>2]>>r%4*8+4&15)+t.charAt(e[r>>2]>>r%4*8&15));return n.join("")}(i);case r.String:return a(i);case r.Base64:return function(e){const t=[];for(let n=0,r=4*e.length;n<r;n+=3){const r=(e[n>>2]>>n%4*8&255)<<16|(e[n+1>>2]>>(n+1)%4*8&255)<<8|e[n+2>>2]>>(n+2)%4*8&255;for(let o=0;o<4;o++)8*n+6*o>32*e.length?t.push("="):t.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>6*(3-o)&63))}return t.join("")}(i)}}},28576:(e,t,n)=>{n.d(t,{B:()=>f});var r=n(20102),o=n(44543),i=n(81153),s=n(17452),l=n(41123),a=n(7628),u=n(31263),p=n(5600),c=n(66094),d=n(25929);function f(e){const t=e?.origins??[void 0];return(n,r)=>{const o=function(e,t,n){if("resource"===e?.type)return function(e,t,n){const r=(0,a.Oe)(t,n);return{type:String,read:(e,t,n)=>{const o=(0,d.r)(e,t,n);return r.type===String?o:"function"==typeof r.type?new r.type({url:o}):void 0},write:{writer(t,o,l,a){if(!a?.resources)return"string"==typeof t?void(o[l]=(0,d.t)(t,a)):void(o[l]=t.write({},a));const p=function(e){return null==e?null:"string"==typeof e?e:e.url}(t),f=(0,d.t)(p,{...a,verifyItemRelativeUrls:a?.verifyItemRelativeUrls?{writtenUrls:a.verifyItemRelativeUrls.writtenUrls,rootPath:void 0}:void 0},d.M.NO),b=r.type!==String&&(!(0,i.l)(this)||a?.origin&&this.originIdOf(n)>(0,u.M9)(a.origin)),v={object:this,propertyName:n,value:t,targetUrl:f,dest:o,targetPropertyName:l,context:a,params:e};a?.portalItem&&f&&!(0,s.YP)(f)?b&&e?.contentAddressed?y(v):b?function(e){const{context:t,targetUrl:n,params:r,value:o,dest:i,targetPropertyName:l}=e;if(!t.portalItem)return;const a=t.portalItem.resourceFromPath(n),u=h(o,n,t),p=(0,c.B)(u),d=(0,s.Ml)(a.path),f=r?.compress??!1;p===d?(t.resources&&g({...e,resource:a,content:u,compress:f,updates:t.resources.toUpdate}),i[l]=n):y(e)}(v):function({context:e,targetUrl:t,dest:n,targetPropertyName:r}){e.portalItem&&e.resources&&(e.resources.toKeep.push({resource:e.portalItem.resourceFromPath(t),compress:!1}),n[r]=t)}(v):a?.portalItem&&(null==f||null!=(0,d.i)(f)||(0,s.jc)(f)||b)?y(v):o[l]=f}}}}(e,t,n);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,n,r);for(const e of t){const t=(0,p.CJ)(n,e,r);for(const e in o)t[e]=o[e]}}}function y(e){const{targetUrl:t,params:n,value:i,context:a,dest:u,targetPropertyName:p}=e;if(!a.portalItem)return;const f=(0,d.p)(t),y=h(i,t,a);if(n?.contentAddressed&&"json"!==y.type)return void a.messages?.push(new r.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 b=n?.contentAddressed&&"json"===y.type?(0,o.F)(y.jsonString):f?.filename??(0,l.D)(),v=(0,s.v_)(n?.prefix??f?.prefix,b),m=`${v}.${(0,c.B)(y)}`;if(n?.contentAddressed&&a.resources&&"json"===y.type){const e=a.resources.toKeep.find((e=>e.resource.path===m))??a.resources.toAdd.find((e=>e.resource.path===m));if(e)return void(u[p]=e.resource.itemRelativeUrl)}const j=a.portalItem.resourceFromPath(m);(0,s.jc)(t)&&a.resources&&a.resources.pendingOperations.push((0,s.gi)(t).then((e=>{j.path=`${v}.${(0,c.B)({type:"blob",blob:e})}`,u[p]=j.itemRelativeUrl})).catch((()=>{})));const I=n?.compress??!1;a.resources&&g({...e,resource:j,content:y,compress:I,updates:a.resources.toAdd}),u[p]=j.itemRelativeUrl}function g({object:e,propertyName:t,updates:n,resource:r,content:o,compress:i}){n.push({resource:r,content:o,compress:i,finish:n=>{!function(e,t,n){"string"==typeof e[t]?e[t]=n.url:e[t].url=n.url}(e,t,n)}})}function h(e,t,n){return"string"==typeof e?{type:"url",url:t}:{type:"json",jsonString:JSON.stringify(e.toJSON(n))}}},81153:(e,t,n)=>{function r(e){return e&&"getAtOrigin"in e&&"originOf"in e}n.d(t,{l:()=>r})},41123:(e,t,n)=>{n.d(t,{D:()=>o,z:()=>i});const r="randomUUID"in crypto;function o(){if(r)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`{${o()}}`}},21786:(e,t,n)=>{n.r(t),n.d(t,{default:()=>L});var r=n(43697),o=n(4757);function i(e,t){return s(e)===s(t)}function s(e){if(null==e)return null;const t=null!=e.layer?e.layer.id:"";let n=null;return n=null!=e.objectId?e.objectId:null!=e.layer&&"objectIdField"in e.layer&&null!=e.layer.objectIdField&&null!=e.attributes?e.attributes[e.layer.objectIdField]:e.uid,null==n?null:`o-${t}-${n}`}const l={json:{write:{writer:function(e,t){null!=e?.layer?.objectIdField&&null!=e.attributes&&(t.feature={layerId:e.layer.id,objectId:e.attributes[e.layer.objectIdField]})},target:{"feature.layerId":{type:[Number,String]},"feature.objectId":{type:[Number,String]}}},origins:{"web-scene":{read:function(e){if(null!=e.layerId&&null!=e.objectId)return{uid:null,layer:{id:e.layerId,objectIdField:"ObjectId"},attributes:{ObjectId:e.objectId}}}}}}};var a=n(92036),u=n(2368),p=n(96674),c=n(70586),d=n(5600),f=(n(75215),n(67676),n(80442),n(52011)),y=n(28576),g=n(94139),h=n(86787);let b=class extends((0,p.eC)((0,u.J)(a.Z))){constructor(e){super(e),this.position=null,this.elevationInfo=null,this.feature=null}equals(e){return(0,c._W)(this.position,e.position)&&(0,c._W)(this.elevationInfo,e.elevationInfo)&&i(this.feature,e.feature)}};(0,r._)([(0,d.Cb)({type:g.Z,json:{write:{isRequired:!0}}})],b.prototype,"position",void 0),(0,r._)([(0,d.Cb)({type:h.Z}),(0,y.B)()],b.prototype,"elevationInfo",void 0),(0,r._)([(0,d.Cb)(l)],b.prototype,"feature",void 0),b=(0,r._)([(0,f.j)("esri.analysis.LineOfSightAnalysisObserver")],b);const v=b;let m=class extends((0,p.eC)(u.j)){constructor(e){super(e),this.position=null,this.elevationInfo=null,this.feature=null}equals(e){return(0,c._W)(this.position,e.position)&&(0,c._W)(this.elevationInfo,e.elevationInfo)&&i(this.feature,e.feature)}};(0,r._)([(0,d.Cb)({type:g.Z}),(0,y.B)()],m.prototype,"position",void 0),(0,r._)([(0,d.Cb)({type:h.Z}),(0,y.B)()],m.prototype,"elevationInfo",void 0),(0,r._)([(0,d.Cb)(l)],m.prototype,"feature",void 0),m=(0,r._)([(0,f.j)("esri.analysis.LineOfSightAnalysisTarget")],m);const j=m;var I=n(46791),x=n(70921),w=n(17445),_=n(73615),C=n(60437),O=n(36405);const R=I.Z.ofType(j);let S=class extends o.Z{constructor(e){super(e),this.type="line-of-sight",this.observer=null,this.extent=null}initialize(){this.addHandles((0,w.YP)((()=>this._computeExtent()),(e=>{null==e?.pending&&this._set("extent",null!=e?e.extent:null)}),w.tX))}get targets(){return this._get("targets")||new R}set targets(e){this._set("targets",(0,x.Z)(e,this.targets,R))}get spatialReference(){return null!=this.observer?.position?this.observer.position.spatialReference:null}get requiredPropertiesForEditing(){return[this.observer?.position]}async waitComputeExtent(){const e=this._computeExtent();return null!=e?e.pending:Promise.resolve()}_computeExtent(){const e=this.spatialReference;if(null==this.observer?.position||null==e)return null;const t=e=>"absolute-height"===(0,O.VW)(e.position,e.elevationInfo),n=this.observer.position,r=(0,C.al)(n.x,n.y,n.z,n.x,n.y,n.z);for(const t of this.targets)if(null!=t.position){const n=(0,_.projectOrLoad)(t.position,e);if(null!=n.pending)return{pending:n.pending,extent:null};if(null!=n.geometry){const{x:e,y:t,z:o}=n.geometry;(0,C.pp)(r,[e,t,o])}}const o=(0,C.HH)(r,e);return t(this.observer)&&this.targets.every(t)||(o.zmin=void 0,o.zmax=void 0),{pending:null,extent:o}}clear(){this.observer=null,this.targets.removeAll()}};(0,r._)([(0,d.Cb)({type:["line-of-sight"]})],S.prototype,"type",void 0),(0,r._)([(0,d.Cb)({type:v,json:{read:!0,write:!0}})],S.prototype,"observer",void 0),(0,r._)([(0,d.Cb)({cast:x.R,type:R,nonNullable:!0,json:{read:!0,write:!0}})],S.prototype,"targets",null),(0,r._)([(0,d.Cb)({value:null,readOnly:!0})],S.prototype,"extent",void 0),(0,r._)([(0,d.Cb)({readOnly:!0})],S.prototype,"spatialReference",null),(0,r._)([(0,d.Cb)({readOnly:!0})],S.prototype,"requiredPropertiesForEditing",null),S=(0,r._)([(0,f.j)("esri.analysis.LineOfSightAnalysis")],S);const U=S;var A=n(16453),P=n(87085),z=n(38009);const Z=I.Z.ofType(j);let F=class extends((0,z.q)((0,A.R)(P.Z))){constructor(e){super(e),this.type="line-of-sight",this.operationalLayerType="LineOfSightLayer",this.analysis=new U,this.opacity=1}initialize(){this.addHandles((0,w.YP)((()=>this.analysis),((e,t)=>{null!=t&&t.parent===this&&(t.parent=null),null!=e&&(e.parent=this)}),w.tX))}async load(){return null!=this.analysis&&this.addResolvingPromise(this.analysis.waitComputeExtent()),this}get observer(){return this.analysis?.observer}set observer(e){const{analysis:t}=this;t&&(t.observer=e)}get targets(){return null!=this.analysis?this.analysis.targets:new I.Z}set targets(e){(0,x.Z)(e,this.analysis?.targets)}get fullExtent(){return null!=this.analysis?this.analysis.extent:null}get spatialReference(){return null!=this.analysis?this.analysis.spatialReference:null}releaseAnalysis(e){this.analysis===e&&(this.analysis=new U)}};(0,r._)([(0,d.Cb)({json:{read:!1},readOnly:!0})],F.prototype,"type",void 0),(0,r._)([(0,d.Cb)({type:["LineOfSightLayer"]})],F.prototype,"operationalLayerType",void 0),(0,r._)([(0,d.Cb)({type:v,json:{read:!0,write:{isRequired:!0,ignoreOrigin:!0}}})],F.prototype,"observer",null),(0,r._)([(0,d.Cb)({type:Z,json:{read:!0,write:{ignoreOrigin:!0}}})],F.prototype,"targets",null),(0,r._)([(0,d.Cb)({nonNullable:!0,json:{read:!1,write:!1}})],F.prototype,"analysis",void 0),(0,r._)([(0,d.Cb)({readOnly:!0})],F.prototype,"fullExtent",null),(0,r._)([(0,d.Cb)({readOnly:!0})],F.prototype,"spatialReference",null),(0,r._)([(0,d.Cb)({readOnly:!0,json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}}})],F.prototype,"opacity",void 0),(0,r._)([(0,d.Cb)({type:["show","hide"]})],F.prototype,"listMode",void 0),F=(0,r._)([(0,f.j)("esri.layers.LineOfSightLayer")],F);const L=F},66094:(e,t,n)=>{n.d(t,{B:()=>o});var r=n(17452);function o(e){return i[function(e){return"json"===e.type?"application/json":"blob"===e.type?e.blob.type:function(e){const t=(0,r.Ml)(e);return a[t]||s}(e.url)}(e)]||l}const i={},s="text/plain",l=i[s],a={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 a)i[a[e]]=e},36405:(e,t,n)=>{function r(e,t){return t?.mode?t.mode:function(e){return e?u:p}(e).mode}function o(e,t){return r(null!=e&&e.hasZ,t)}function i(e,t,n){return n&&n.mode!==t?`${e} only support ${t} elevation mode`:null}function s(e,t,n){return n?.mode===t?`${e} do not support ${t} elevation mode`:null}function l(e,t){return null!=t?.featureExpressionInfo&&"0"!==t.featureExpressionInfo.expression?`${e} do not support featureExpressionInfo`:null}function a(e,t){t&&e.warn(".elevationInfo=",t)}n.d(t,{LR:()=>a,Uy:()=>i,VW:()=>o,Wb:()=>s,kf:()=>l}),n(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([[3230],{25929:(e,t,r)=>{r.d(t,{M:()=>f,a:()=>h,e:()=>d,f:()=>o,i:()=>c,p:()=>p,r:()=>i,t:()=>a,w:()=>s});var n=r(17452);function o(e,t){const r=t?.url?.path;if(e&&r&&(e=(0,n.hF)(e,r,{preserveProtocolRelative:!0}),t.portalItem&&t.readResourcePaths)){const r=(0,n.PF)(e,t.portalItem.itemUrl);null!=r&&u.test(r)&&t.readResourcePaths.push(t.portalItem.resourceFromPath(r).path)}return y(e,t?.portal)}function a(e,t,r=f.YES){if(null==e)return e;!(0,n.YP)(e)&&t?.blockedRelativeUrls&&t.blockedRelativeUrls.push(e);let o=(0,n.hF)(e);if(t){const r=t.verifyItemRelativeUrls?.rootPath||t.url?.path;if(r){const a=y(r,t.portal),i=y(o,t.portal);o=(0,n.PF)(i,a,a),null!=o&&o!==i&&o!==e&&t.verifyItemRelativeUrls&&t.verifyItemRelativeUrls.writtenUrls.push(o)}}return o=d(o,t?.portal),(0,n.YP)(o)&&(o=(0,n.Fv)(o)),t?.resources&&t?.portalItem&&!(0,n.YP)(o)&&!(0,n.HK)(o)&&r===f.YES&&t.resources.toKeep.push({resource:t.portalItem.resourceFromPath(o),compress:!1}),o}function i(e,t,r){return o(e,r)}function s(e,t,r,n){const o=a(e,n);void 0!==o&&(t[r]=o)}const l=/\/items\/([^\/]+)\/resources\/(.*)/,u=/^\.\/resources\//;function c(e){const t=e?.match(l)??null;return t?.[1]??null}function p(e){const t=e?.match(l)??null;if(null==t)return null;const r=t[2],o=r.lastIndexOf("/");if(-1===o){const{path:e,extension:t}=(0,n.fZ)(r);return{prefix:null,filename:e,extension:t}}const{path:a,extension:i}=(0,n.fZ)(r.slice(o+1));return{prefix:r.slice(0,o),filename:a,extension:i}}function d(e,t){return t&&!t.isPortal&&t.urlKey&&t.customBaseUrl?(0,n.Ie)(e,`${t.urlKey}.${t.customBaseUrl}`,t.portalHostname):e}function y(e,t){if(!t||t.isPortal||!t.urlKey||!t.customBaseUrl)return e;const r=`${t.urlKey}.${t.customBaseUrl}`,o=(0,n.TI)();return(0,n.D6)(o,`${o.scheme}://${r}`)?(0,n.Ie)(e,t.portalHostname,r):(0,n.Ie)(e,r,t.portalHostname)}var f,m;(m=f||(f={}))[m.YES=0]="YES",m[m.NO=1]="NO";const h=Object.freeze(Object.defineProperty({__proto__:null,get MarkKeep(){return f},ensureMainOnlineDomain:d,fromJSON:o,itemIdFromResourceUrl:c,prefixAndFilenameFromResourceUrl:p,read:i,toJSON:a,write:s},Symbol.toStringTag,{value:"Module"}))},43230:(e,t,r)=>{r.r(t),r.d(t,{default:()=>g});var n=r(66643),o=r(20102),a=r(92604),i=r(95330),s=r(8744),l=r(98732),u=r(28972),c=r(37427),p=r(11028),d=r(92722),y=r(23095),f=r(78089),m=r(99514),h=r(25031);class g{constructor(){this._queryEngine=null,this._customParameters=null}destroy(){this._queryEngine?.destroy(),this._queryEngine=null}async load(e,t){const{getFeatureUrl:r,getFeatureOutputFormat:n,fields:a,geometryType:s,featureType:l,objectIdField:d,customParameters:y}=e,{spatialReference:g,getFeatureSpatialReference:w}=(0,f.fU)(r,l,e.spatialReference);this._featureType=l,this._customParameters=y,this._getFeatureUrl=r,this._getFeatureOutputFormat=n,this._getFeatureSpatialReference=w;try{await(0,c._W)(w,g)}catch{throw new o.Z("unsupported-projection","Projection not supported",{inSpatialReference:w,outSpatialReference:g})}(0,i.k_)(t);const b=m.Z.fromLayerJSON({fields:a,dateFieldsTimeReference:a.some((e=>"esriFieldTypeDate"===e.type))?{timeZoneIANA:h.pt}:null}),S=await this._snapshotFeatures({fieldsIndex:b,geometryType:s,objectIdField:d,spatialReference:g},t.signal);return this._queryEngine=new p.q({fieldsIndex:b,geometryType:s,hasM:!1,hasZ:!1,objectIdField:d,spatialReference:g,timeInfo:null,featureStore:new u.Z({geometryType:s,hasM:!1,hasZ:!1})}),this._queryEngine.featureStore.addMany(S),{extent:(await this._queryEngine.fetchRecomputedExtents()).fullExtent}}async applyEdits(){throw new o.Z("wfs-source:editing-not-supported","applyEdits() is not supported on WFSLayer")}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){return this._customParameters=e,this._snapshotTask?.abort(),this._snapshotTask=(0,n.vr)((e=>this._snapshotFeatures(this._queryEngine,e))),this._snapshotTask.promise.then((e=>{this._queryEngine.featureStore.clear(),e&&this._queryEngine.featureStore.addMany(e)}),(e=>{this._queryEngine.featureStore.clear(),(0,i.D_)(e)||a.Z.getLogger("esri.layers.WFSLayer").error(new o.Z("wfs-layer:getfeature-error","An error occurred during the GetFeature request",{error:e}))})),await this._waitSnapshotComplete(),{extent:(await this._queryEngine.fetchRecomputedExtents()).fullExtent}}async _waitSnapshotComplete(){if(this._snapshotTask&&!this._snapshotTask.finished){try{await this._snapshotTask.promise}catch{}return this._waitSnapshotComplete()}}async _snapshotFeatures({objectIdField:e,geometryType:t,spatialReference:r,fieldsIndex:n},o){const a=await(0,f.Bm)(this._getFeatureUrl??"",this._featureType.typeName,this._getFeatureSpatialReference,this._getFeatureOutputFormat,{customParameters:this._customParameters,signal:o});(0,d.O3)(a,this._getFeatureSpatialReference.wkid),(0,i.k_)(o);const u=(0,d.lG)(a,{geometryType:t,hasZ:!1,objectIdField:e});if(!(0,s.fS)(r,this._getFeatureSpatialReference))for(const e of u)null!=e.geometry&&(e.geometry=(0,l.GH)((0,c.iV)((0,l.di)(e.geometry,t,!1,!1),this._getFeatureSpatialReference,r)));let p=1;for(const t of u){const r={};(0,y.O0)(n,r,t.attributes,!0),t.attributes=r,null==r[e]&&(t.objectId=r[e]=p++)}return u}}},92722:(e,t,r)=>{r.d(t,{O3:()=>T,lG:()=>x,my:()=>_,q9:()=>c});var n=r(20188),o=r(20102),a=r(8744),i=r(70272),s=r(5428),l=r(35671);const u={LineString:"esriGeometryPolyline",MultiLineString:"esriGeometryPolyline",MultiPoint:"esriGeometryMultipoint",Point:"esriGeometryPoint",Polygon:"esriGeometryPolygon",MultiPolygon:"esriGeometryPolygon"};function c(e){return u[e]}function*p(e){switch(e.type){case"Feature":yield e;break;case"FeatureCollection":for(const t of e.features)t&&(yield t)}}function*d(e){if(e)switch(e.type){case"Point":yield e.coordinates;break;case"LineString":case"MultiPoint":yield*e.coordinates;break;case"MultiLineString":case"Polygon":for(const t of e.coordinates)yield*t;break;case"MultiPolygon":for(const t of e.coordinates)for(const e of t)yield*e}}function y(e){for(const t of e)if(t.length>2)return!0;return!1}function f(e){let t=0;for(let r=0;r<e.length;r++){const n=e[r],o=e[(r+1)%e.length];t+=n[0]*o[1]-o[0]*n[1]}return t<=0}function m(e){const t=e[0],r=e[e.length-1];return t[0]===r[0]&&t[1]===r[1]&&t[2]===r[2]||e.push(t),e}function h(e,t,r){switch(t.type){case"LineString":case"MultiPoint":return function(e,t,r){return b(e,t.coordinates,r),e}(e,t,r);case"MultiLineString":return function(e,t,r){for(const n of t.coordinates)b(e,n,r);return e}(e,t,r);case"MultiPolygon":return function(e,t,r){for(const n of t.coordinates){g(e,n[0],r);for(let t=1;t<n.length;t++)w(e,n[t],r)}return e}(e,t,r);case"Point":return function(e,t,r){return v(e,t.coordinates,r),e}(e,t,r);case"Polygon":return function(e,t,r){const n=t.coordinates;g(e,n[0],r);for(let t=1;t<n.length;t++)w(e,n[t],r);return e}(e,t,r)}}function g(e,t,r){const n=m(t);!function(e){return!f(e)}(n)?b(e,n,r):S(e,n,r)}function w(e,t,r){const n=m(t);!function(e){return f(e)}(n)?b(e,n,r):S(e,n,r)}function b(e,t,r){for(const n of t)v(e,n,r);e.lengths.push(t.length)}function S(e,t,r){for(let n=t.length-1;n>=0;n--)v(e,t[n],r);e.lengths.push(t.length)}function v(e,t,r){const[n,o,a]=t;e.coords.push(n,o),r.hasZ&&e.coords.push(a||0)}function F(e){switch(typeof e){case"string":return(0,n.o)(e)?"esriFieldTypeDate":"esriFieldTypeString";case"number":return"esriFieldTypeDouble";default:return"unknown"}}function T(e,t=4326){if(!e)throw new o.Z("geojson-layer:empty","GeoJSON data is empty");if("Feature"!==e.type&&"FeatureCollection"!==e.type)throw new o.Z("geojson-layer:unsupported-geojson-object","missing or not supported GeoJSON object type",{data:e});const{crs:r}=e;if(!r)return;const n="string"==typeof r?r:"name"===r.type?r.properties.name:"EPSG"===r.type?r.properties.code:null,i=(0,a.oR)({wkid:t})?new RegExp(".*(CRS84H?|4326)$","i"):new RegExp(`.*(${t})$`,"i");if(!n||!i.test(n))throw new o.Z("geojson:unsupported-crs","unsupported GeoJSON 'crs' member",{crs:r})}function _(e,t={}){const r=[],n=new Set,o=new Set;let a,i=!1,s=null,u=!1,{geometryType:f=null}=t,m=!1;for(const t of p(e)){const{geometry:e,properties:p,id:h}=t;if((!e||(f||(f=c(e.type)),c(e.type)===f))&&(i||(i=y(d(e))),u||(u=null!=h,u&&(a=typeof h,p&&(s=Object.keys(p).filter((e=>p[e]===h))))),p&&s&&u&&null!=h&&(s.length>1?s=s.filter((e=>p[e]===h)):1===s.length&&(s=p[s[0]]===h?s:[])),!m&&p)){let e=!0;for(const t in p){if(n.has(t))continue;const a=p[t];if(null==a){e=!1,o.add(t);continue}const i=F(a);if("unknown"===i){o.add(t);continue}o.delete(t),n.add(t);const s=(0,l.q6)(t);s&&r.push({name:s,alias:t,type:i})}m=e}}const h=(0,l.q6)(1===s?.length&&s[0]||null)??void 0;if(h)for(const e of r)if(e.name===h&&(0,l.H7)(e)){e.type="esriFieldTypeOID";break}return{fields:r,geometryType:f,hasZ:i,objectIdFieldName:h,objectIdFieldType:a,unknownFields:Array.from(o)}}function x(e,t){return Array.from(function*(e,t={}){const{geometryType:r,objectIdField:n}=t;for(const o of e){const{geometry:e,properties:a,id:l}=o;if(e&&c(e.type)!==r)continue;const u=a||{};let p;n&&(p=u[n],null==l||p||(u[n]=p=l));const d=new i.u_(e?h(new s.Z,e,t):null,u,null,p??void 0);yield d}}(p(e),t))}},78089:(e,t,r)=>{r.d(t,{Bm:()=>q,FU:()=>k,be:()=>O,eB:()=>Z,fU:()=>$,ft:()=>I,u2:()=>w}),r(66577);var n=r(3172),o=r(20102),a=r(66374),i=r(17452),s=r(73615),l=r(8744),u=r(86973),c=r(92722),p=r(88724),d=r(66677),y=r(1231),f=r(82971),m=r(6570);const h="xlink:href",g="2.0.0",w="__esri_wfs_id__",b="wfs-layer:getWFSLayerTypeInfo-error",S="wfs-layer:empty-service",v="wfs-layer:feature-type-not-found",F="wfs-layer:geojson-not-supported",T="wfs-layer:kvp-encoding-not-supported",_="wfs-layer:malformed-json",x="wfs-layer:unknown-geometry-type",C="wfs-layer:unknown-field-type",R="wfs-layer:unsupported-spatial-reference",P="wfs-layer:unsupported-wfs-version";async function k(e,t){const r=function(e){const t=M(e);(function(e){const t=e.firstElementChild?.getAttribute("version");if(t&&t!==g)throw new o.Z(P,`Unsupported WFS version ${t}. Supported version: ${g}`)})(t),L(t);const r=t.firstElementChild,n=(0,a.Fs)(function(e){return(0,p.H)(e,{FeatureTypeList:{FeatureType:e=>{const t={typeName:"undefined:undefined",name:"",title:"",description:"",extent:null,namespacePrefix:"",namespaceUri:"",defaultSpatialReference:4326,supportedSpatialReferences:[]},r=new Set;return(0,p.h)(e,{Name:e=>{const{name:r,prefix:n}=D(e.textContent);t.typeName=`${n}:${r}`,t.name=r,t.namespacePrefix=n,t.namespaceUri=e.lookupNamespaceURI(n)},Abstract:e=>{t.description=e.textContent},Title:e=>{t.title=e.textContent},WGS84BoundingBox:e=>{t.extent=function(e){let t,r,n,o;for(const a of e.children)switch(a.localName){case"LowerCorner":[t,r]=a.textContent.split(" ").map((e=>Number.parseFloat(e)));break;case"UpperCorner":[n,o]=a.textContent.split(" ").map((e=>Number.parseFloat(e)))}return{xmin:t,ymin:r,xmax:n,ymax:o,spatialReference:l.Zn}}(e)},DefaultCRS:e=>{const n=N(e);n&&(t.defaultSpatialReference=n,r.add(n))},OtherCRS:e=>{const t=N(e);t&&r.add(t)}}),t.title||(t.title=t.name),r.add(4326),t.supportedSpatialReferences.push(...r),t}}})}(r));return{operations:j(r),get featureTypes(){return Array.from(n())},readFeatureTypes:n}}((await(0,n.Z)(e,{responseType:"text",query:{SERVICE:"WFS",REQUEST:"GetCapabilities",VERSION:g,...t?.customParameters},signal:t?.signal})).data);return function(e,t){(0,i.$U)(e)&&((0,i.D6)(e,t.operations.DescribeFeatureType.url,!0)&&(t.operations.DescribeFeatureType.url=(0,i.hO)(t.operations.DescribeFeatureType.url)),(0,i.D6)(e,t.operations.GetFeature.url,!0)&&(t.operations.GetFeature.url=(0,i.hO)(t.operations.GetFeature.url)))}(e,r),r}const E=new Set(["json","application/json","geojson","application/json; subtype=geojson"]);function j(e){let t=!1;const r={GetCapabilities:{url:""},DescribeFeatureType:{url:""},GetFeature:{url:"",outputFormat:null,supportsPagination:!1}};if((0,p.h)(e,{OperationsMetadata:{Operation:e=>{switch(e.getAttribute("name")){case"GetCapabilities":return{DCP:{HTTP:{Get:e=>{r.GetCapabilities.url=e.getAttribute(h)}}}};case"DescribeFeatureType":return{DCP:{HTTP:{Get:e=>{r.DescribeFeatureType.url=e.getAttribute(h)}}}};case"GetFeature":return{DCP:{HTTP:{Get:e=>{r.GetFeature.url=e.getAttribute(h)}}},Parameter:e=>{if("outputFormat"===e.getAttribute("name"))return{AllowedValues:{Value:e=>{const t=e.textContent;t&&E.has(t.toLowerCase())&&(r.GetFeature.outputFormat=t)}}}}}}},Constraint:e=>{switch(e.getAttribute("name")){case"KVPEncoding":return{DefaultValue:e=>{t="true"===e.textContent.toLowerCase()}};case"ImplementsResultPaging":return{DefaultValue:e=>{r.GetFeature.supportsPagination="true"===e.textContent.toLowerCase()}}}}}}),!t)throw new o.Z(T,"WFS service doesn't support key/value pair (KVP) encoding");if(null==r.GetFeature.outputFormat)throw new o.Z(F,"WFS service doesn't support GeoJSON output format");return r}function N(e){const t=parseInt(e.textContent?.match(/(?<wkid>\d+$)/i)?.groups?.wkid??"",10);if(!Number.isNaN(t))return t}function I(e,t,r){return(0,a.sE)(e,(e=>r?e.name===t&&e.namespaceUri===r:e.typeName===t||e.name===t))}async function O(e,t,r,n={}){const{featureType:a,extent:i}=await async function(e,t,r,n={}){const a=e.readFeatureTypes(),i=t?I(a,t,r):a.next().value,{spatialReference:u=new f.Z({wkid:i?.defaultSpatialReference})}=n;if(null==i)throw t?new o.Z(v,`The type '${t}' could not be found in the service`):new o.Z(S,"The service is empty");let c=new m.Z({...i.extent,spatialReference:f.Z.WGS84});if(!(0,l.fS)(c.spatialReference,u))try{await(0,s.initializeProjection)(c.spatialReference,u,void 0,n),c=(0,s.project)(c,u)}catch{throw new o.Z(R,"Projection not supported")}return{extent:c,spatialReference:u,featureType:i}}(e,t,r,n),{spatialReference:u}=$(e.operations.GetFeature.url,a,n.spatialReference),{fields:c,geometryType:p,swapXY:d,objectIdField:y,geometryField:h}=await async function(e,t,r,n={}){const{typeName:a}=t,[i,s]=await Promise.allSettled([G(e.operations.DescribeFeatureType.url,a,n),V(e,a,r,n)]),l=e=>new o.Z(b,`An error occurred while getting info about the feature type '${a}'`,{error:e});if("rejected"===i.status)throw l(i.reason);if("rejected"===s.status)throw l(s.reason);const{fields:u,errors:c}=i.value??{},p=i.value?.geometryType||s.value?.geometryType,d=s.value?.swapXY??!1;if(null==p)throw new o.Z(x,`The geometry type could not be determined for type '${a}`,{typeName:a,geometryType:p,fields:u,errors:c});return{...Z(u??[]),geometryType:p,swapXY:d}}(e,a,u,n);return{url:e.operations.GetCapabilities.url,name:a.name,namespaceUri:a.namespaceUri,fields:c,geometryField:h,geometryType:p,objectIdField:y,spatialReference:n.spatialReference??new f.Z({wkid:a.defaultSpatialReference}),extent:i,swapXY:d,wfsCapabilities:e,customParameters:n.customParameters}}function Z(e){const t=e.find((e=>"geometry"===e.type));let r=e.find((e=>"oid"===e.type));return e=e.filter((e=>"geometry"!==e.type)),r||(r=new y.Z({name:w,type:"oid",alias:w}),e.unshift(r)),{geometryField:t?.name??null,objectIdField:r.name,fields:e}}async function V(e,t,r,o={}){let a,i=!1;const[s,l]=await Promise.all([q(e.operations.GetFeature.url,t,r,e.operations.GetFeature.outputFormat,{...o,count:1}),(0,n.Z)(e.operations.GetFeature.url,{responseType:"text",query:A(t,r,void 0,{...o,count:1}),signal:o?.signal})]),p="FeatureCollection"===s.type&&s.features[0]?.geometry;if(p){let e;switch(a=u.M.fromJSON((0,c.q9)(p.type)),p.type){case"Point":e=p.coordinates;break;case"LineString":case"MultiPoint":e=p.coordinates[0];break;case"MultiLineString":case"Polygon":e=p.coordinates[0][0];break;case"MultiPolygon":e=p.coordinates[0][0][0]}const t=/<[^>]*pos[^>]*> *(-?\d+(?:\.\d+)?) (-?\d+(?:\.\d+)?)/.exec(l.data);if(t){const r=e[0].toFixed(3),n=e[1].toFixed(3),o=parseFloat(t[1]).toFixed(3);r===parseFloat(t[2]).toFixed(3)&&n===o&&(i=!0)}}return{geometryType:a,swapXY:i}}async function G(e,t,r){return function(e,t){const{name:r}=D(e),n=M(t);L(n);const i=(0,a.sE)((0,p.H)(n.firstElementChild,{element:e=>({name:e.getAttribute("name"),typeName:D(e.getAttribute("type")).name})}),(({name:e})=>e===r));if(null!=i){const e=(0,a.sE)((0,p.H)(n.firstElementChild,{complexType:e=>e}),(e=>e.getAttribute("name")===i.typeName));if(null!=e)return function(e){const t=[],r=[];let n;const a=(0,p.H)(e,{complexContent:{extension:{sequence:{element:e=>e}}}});for(const i of a){const a=i.getAttribute("name");if(!a)continue;let s,l;if(i.hasAttribute("type")?s=D(i.getAttribute("type")).name:(0,p.h)(i,{simpleType:{restriction:e=>(s=D(e.getAttribute("base")).name,{maxLength:e=>{l=+e.getAttribute("value")}})}}),!s)continue;const u="true"===i.getAttribute("nillable");let c=!1;switch(s.toLowerCase()){case"integer":case"nonpositiveinteger":case"negativeinteger":case"long":case"int":case"short":case"byte":case"nonnegativeinteger":case"unsignedlong":case"unsignedint":case"unsignedshort":case"unsignedbyte":case"positiveinteger":r.push(new y.Z({name:a,alias:a,type:"integer",nullable:u}));break;case"float":case"double":case"decimal":r.push(new y.Z({name:a,alias:a,type:"double",nullable:u}));break;case"boolean":case"string":case"gyearmonth":case"gyear":case"gmonthday":case"gday":case"gmonth":case"anyuri":case"qname":case"notation":case"normalizedstring":case"token":case"language":case"idrefs":case"entities":case"nmtoken":case"nmtokens":case"name":case"ncname":case"id":case"idref":case"entity":case"duration":case"time":r.push(new y.Z({name:a,alias:a,type:"string",nullable:u,length:l??255}));break;case"datetime":case"date":r.push(new y.Z({name:a,alias:a,type:"date",nullable:u,length:l??36}));break;case"pointpropertytype":n="point",c=!0;break;case"multipointpropertytype":n="multipoint",c=!0;break;case"curvepropertytype":case"multicurvepropertytype":case"multilinestringpropertytype":n="polyline",c=!0;break;case"surfacepropertytype":case"multisurfacepropertytype":case"multipolygonpropertytype":n="polygon",c=!0;break;case"geometrypropertytype":case"multigeometrypropertytype":c=!0,t.push(new o.Z(x,`geometry type '${s}' is not supported`,{type:(new XMLSerializer).serializeToString(e)}));break;default:t.push(new o.Z(C,`Unknown field type '${s}'`,{type:(new XMLSerializer).serializeToString(e)}))}c&&r.push(new y.Z({name:a,alias:a,type:"geometry",nullable:u}))}for(const e of r)if("integer"===e.type&&!e.nullable&&U.has(e.name.toLowerCase())){e.type="oid";break}return{geometryType:n,fields:r,errors:t}}(e)}throw new o.Z(v,`Type '${e}' not found in document`,{document:(new XMLSerializer).serializeToString(n)})}(t,(await(0,n.Z)(e,{responseType:"text",query:{SERVICE:"WFS",REQUEST:"DescribeFeatureType",VERSION:g,TYPENAME:t,...r?.customParameters},signal:r?.signal})).data)}const U=new Set(["objectid","fid"]);async function q(e,t,r,a,i){let{data:s}=await(0,n.Z)(e,{responseType:"text",query:A(t,r,a,i),signal:i?.signal});s=s.replaceAll(/": +(-?\d+),(\d+)(,)?/g,'": $1.$2$3');try{return JSON.parse(s)}catch(e){throw new o.Z(_,"Error while parsing the response",{response:s,error:e})}}function A(e,t,r,n){const o="number"==typeof t?t:t.wkid;return{SERVICE:"WFS",REQUEST:"GetFeature",VERSION:g,TYPENAMES:e,OUTPUTFORMAT:r,SRSNAME:"EPSG:"+o,STARTINDEX:n?.startIndex,COUNT:n?.count,...n?.customParameters}}function M(e){return(new DOMParser).parseFromString(e.trim(),"text/xml")}function D(e){const[t,r]=e.split(":");return{prefix:r?t:"",name:r??t}}function L(e){let t="",r="";if((0,p.h)(e.firstElementChild,{Exception:e=>(t=e.getAttribute("exceptionCode"),{ExceptionText:e=>{r=e.textContent}})}),t)throw new o.Z(`wfs-layer:${t}`,r)}function $(e,t,r){const n={wkid:t.defaultSpatialReference},o=null!=r?.wkid?{wkid:r.wkid}:n;return{spatialReference:o,getFeatureSpatialReference:(0,d.B5)(e)||o.wkid&&t.supportedSpatialReferences.includes(o.wkid)?{wkid:o.wkid}:{wkid:t.defaultSpatialReference}}}},88724:(e,t,r)=>{function n(e,t){if(e&&t)for(const r of e.children)if(r.localName in t){const e=t[r.localName];if("function"==typeof e){const t=e(r);t&&n(r,t)}else n(r,e)}}function*o(e,t){for(const r of e.children)if(r.localName in t){const e=t[r.localName];"function"==typeof e?yield e(r):yield*o(r,e)}}r.d(t,{H:()=>o,h:()=>n})},1231:(e,t,r)=>{r.d(t,{Z:()=>h});var n,o=r(43697),a=r(35454),i=r(96674),s=r(5600),l=r(75215),u=(r(67676),r(80442),r(36030)),c=r(71715),p=r(52011),d=r(72729),y=r(86719);const f=new a.X({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",dateAndTime:"date-and-time",description:"description",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier"});let m=n=class extends i.wq{constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=-1,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?.value??null}readValueType(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?f.fromJSON(r.fieldValueType):null}clone(){return new n({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain&&this.domain.clone()||null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,o._)([(0,s.Cb)({type:String,json:{write:!0}})],m.prototype,"alias",void 0),(0,o._)([(0,s.Cb)({type:[String,Number],json:{write:{allowNull:!0}}})],m.prototype,"defaultValue",void 0),(0,o._)([(0,s.Cb)()],m.prototype,"description",void 0),(0,o._)([(0,c.r)("description")],m.prototype,"readDescription",null),(0,o._)([(0,s.Cb)({types:d.V5,json:{read:{reader:d.im},write:!0}})],m.prototype,"domain",void 0),(0,o._)([(0,s.Cb)({type:Boolean,json:{write:!0}})],m.prototype,"editable",void 0),(0,o._)([(0,s.Cb)({type:l.z8,json:{write:!0}})],m.prototype,"length",void 0),(0,o._)([(0,s.Cb)({type:String,json:{write:!0}})],m.prototype,"name",void 0),(0,o._)([(0,s.Cb)({type:Boolean,json:{write:!0}})],m.prototype,"nullable",void 0),(0,o._)([(0,u.J)(y.v)],m.prototype,"type",void 0),(0,o._)([(0,s.Cb)()],m.prototype,"valueType",void 0),(0,o._)([(0,c.r)("valueType",["description"])],m.prototype,"readValueType",null),(0,o._)([(0,s.Cb)({type:Boolean,json:{read:!1}})],m.prototype,"visible",void 0),m=n=(0,o._)([(0,p.j)("esri.layers.support.Field")],m);const h=m},66677:(e,t,r)=>{r.d(t,{B5:()=>c,DR:()=>d,G:()=>b,M8:()=>m,Nm:()=>h,Qc:()=>p,XG:()=>g,a7:()=>f,ld:()=>y,wH:()=>w});var n=r(17452),o=r(25929);const a={mapserver:"MapServer",imageserver:"ImageServer",featureserver:"FeatureServer",sceneserver:"SceneServer",streamserver:"StreamServer",vectortileserver:"VectorTileServer"},i=Object.values(a),s=new RegExp(`^((?:https?:)?\\/\\/\\S+?\\/rest\\/services\\/(.+?)\\/(${i.join("|")}))(?:\\/(?:layers\\/)?(\\d+))?`,"i"),l=new RegExp(`^((?:https?:)?\\/\\/\\S+?\\/([^\\/\\n]+)\\/(${i.join("|")}))(?:\\/(?:layers\\/)?(\\d+))?`,"i"),u=/(.*?)\/(?:layers\/)?(\d+)\/?$/i;function c(e){return!!s.test(e)}function p(e){if(null==e)return null;const t=(0,n.mN)(e),r=t?.path.match(s)||t?.path.match(l);if(!r)return null;const[,o,i,u,c]=r,p=i.indexOf("/");return{title:y(-1!==p?i.slice(p+1):i),serverType:a[u.toLowerCase()],sublayer:null!=c&&""!==c?parseInt(c,10):null,url:{path:o}}}function d(e){const t=(0,n.mN)(e).path.match(u);return t?{serviceUrl:t[1],sublayerId:Number(t[2])}:null}function y(e){return(e=e.replaceAll(/\s*[/_]+\s*/g," "))[0].toUpperCase()+e.slice(1)}function f(e,t){const r=[];if(e){const t=p(e);null!=t&&t.title&&r.push(t.title)}if(t){const e=y(t);r.push(e)}if(2===r.length){if(r[0].toLowerCase().includes(r[1].toLowerCase()))return r[0];if(r[1].toLowerCase().includes(r[0].toLowerCase()))return r[1]}return r.join(" - ")}function m(e){if(!e)return!1;const t=(e=e.toLowerCase()).includes(".arcgis.com/"),r=e.includes("//services")||e.includes("//tiles")||e.includes("//features");return t&&r}function h(e,t){return e?(0,n.Qj)((0,n.Hu)(e,t)):e}function g(e){let{url:t}=e;if(!t)return{url:t};t=(0,n.Hu)(t,e.logger);const r=(0,n.mN)(t),o=p(r.path);let a;if(null!=o)null!=o.sublayer&&null==e.layer.layerId&&(a=o.sublayer),t=o.url.path;else if(e.nonStandardUrlAllowed){const e=d(r.path);null!=e&&(t=e.serviceUrl,a=e.sublayerId)}return{url:(0,n.Qj)(t),layerId:a}}function w(e,t,r,a,i){(0,o.w)(t,a,"url",i),a.url&&null!=e.layerId&&(a.url=(0,n.v_)(a.url,r,e.layerId.toString()))}function b(e){if(!e)return!1;const t=e.toLowerCase(),r=t.includes("/services/"),n=t.includes("/mapserver/wmsserver"),o=t.includes("/imageserver/wmsserver"),a=t.includes("/wmsserver");return r&&(n||o||a)}},72729:(e,t,r)=>{r.d(t,{im:()=>_,V5:()=>T}),r(80442);var n,o=r(43697),a=r(22974),i=r(5600),s=(r(75215),r(36030)),l=r(52011),u=r(96674);r(67676);let c=n=class extends u.wq{constructor(e){super(e),this.name=null,this.code=null}clone(){return new n({name:this.name,code:this.code})}};(0,o._)([(0,i.Cb)({type:String,json:{write:!0}})],c.prototype,"name",void 0),(0,o._)([(0,i.Cb)({type:[String,Number],json:{write:!0}})],c.prototype,"code",void 0),c=n=(0,o._)([(0,l.j)("esri.layers.support.CodedValue")],c);const p=new(r(35454).X)({inherited:"inherited",codedValue:"coded-value",range:"range"});let d=class extends u.wq{constructor(e){super(e),this.name=null,this.type=null}};(0,o._)([(0,i.Cb)({type:String,json:{write:!0}})],d.prototype,"name",void 0),(0,o._)([(0,s.J)(p)],d.prototype,"type",void 0),d=(0,o._)([(0,l.j)("esri.layers.support.Domain")],d);const y=d;var f;let m=f=class extends y{constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some((e=>(String(e.code)===r&&(t=e.name),!!t)))}return t}clone(){return new f({codedValues:(0,a.d9)(this.codedValues),name:this.name})}};(0,o._)([(0,i.Cb)({type:[c],json:{write:!0}})],m.prototype,"codedValues",void 0),(0,o._)([(0,s.J)({codedValue:"coded-value"})],m.prototype,"type",void 0),m=f=(0,o._)([(0,l.j)("esri.layers.support.CodedValueDomain")],m);const h=m;var g;r(92604),r(20102);let w=g=class extends y{constructor(e){super(e),this.type="inherited"}clone(){return new g}};(0,o._)([(0,s.J)({inherited:"inherited"})],w.prototype,"type",void 0),w=g=(0,o._)([(0,l.j)("esri.layers.support.InheritedDomain")],w);const b=w;var S;let v=S=class extends y{constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new S({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,o._)([(0,i.Cb)({type:Number,json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]}}}})],v.prototype,"maxValue",void 0),(0,o._)([(0,i.Cb)({type:Number,json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]}}}})],v.prototype,"minValue",void 0),(0,o._)([(0,s.J)({range:"range"})],v.prototype,"type",void 0),v=S=(0,o._)([(0,l.j)("esri.layers.support.RangeDomain")],v);const F=v,T={key:"type",base:y,typeMap:{range:v,"coded-value":h,inherited:b}};function _(e){if(!e?.type)return null;switch(e.type){case"range":return F.fromJSON(e);case"codedValue":return h.fromJSON(e);case"inherited":return b.fromJSON(e)}return null}}}]);