@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
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3637],{28924:(e,t,i)=>{i.d(t,{Z:()=>r});class r{constructor(){this.declaredRootClass="esri.arcade.featureSetCollection",this._layerById={},this._layerByName={}}add(e,t,i){this._layerById[t]=i,this._layerByName[e]=i}async featureSetByName(e,t=!0,i=["*"]){return void 0===this._layerByName[e]?null:this._layerByName[e]}async featureSetById(e,t=!0,i=["*"]){return void 0===this._layerById[e]?null:this._layerById[e]}castToText(e=!1){return"object, FeatureSetCollection"}}},67651:(e,t,i)=>{i.r(t),i.d(t,{constructAssociationMetaDataFeatureSetFromUrl:()=>le,constructFeatureSet:()=>ne,constructFeatureSetFromPortalItem:()=>pe,constructFeatureSetFromRelationship:()=>oe,constructFeatureSetFromUrl:()=>se,convertToFeatureSet:()=>fe,createFeatureSetCollectionFromMap:()=>ce,createFeatureSetCollectionFromService:()=>he,initialiseMetaDataCache:()=>ie});var r=i(3172),s=i(28924),n=i(61363),a=i(84328),l=i(38171),o=i(70409),u=i(85065),d=i(59987),c=i(91136),h=i(90961),f=i(3823),p=i(90658),y=i(36515),_=i(95002),g=i(8968);class m{constructor(){this.field="",this.tofieldname="",this.typeofstat="MIN",this.workingexpr=null}clone(){const e=new m;return e.field=this.field,e.tofieldname=this.tofieldname,e.typeofstat=this.typeofstat,e.workingexpr=this.workingexpr,e}static parseStatField(e,t,i,r){const s=new m;s.field=e;const n=g.WhereClause.create(t,i,r),a=function(e){if("function"===e.parseTree.type){if(0===e.parseTree.args.value.length)return{name:e.parseTree.name,expr:null};if(e.parseTree.args.value.length>1)throw new d.eS(d.f.MissingStatisticParameters);const t=g.WhereClause.create((0,y.XF)(e.parseTree.args.value[0],p.Bj.Standardised,e.parameters),e.fieldsIndex,e.timeZone);return{name:e.parseTree.name,expr:t}}return null}(n);if(null===a)throw new d.eS(d.f.UnsupportedSqlFunction,{function:""});const l=a.name.toUpperCase().trim();if("MIN"===l){if(s.typeofstat="MIN",s.workingexpr=a.expr,null===n)throw new d.eS(d.f.InvalidFunctionParameters,{function:"min"})}else if("MAX"===l){if(s.typeofstat="MAX",s.workingexpr=a.expr,null===n)throw new d.eS(d.f.InvalidFunctionParameters,{function:"max"})}else if("COUNT"===l)s.typeofstat="COUNT",s.workingexpr=a.expr;else if("STDEV"===l){if(s.typeofstat="STDDEV",s.workingexpr=a.expr,null===n)throw new d.eS(d.f.InvalidFunctionParameters,{function:"stdev"})}else if("SUM"===l){if(s.typeofstat="SUM",s.workingexpr=a.expr,null===n)throw new d.eS(d.f.InvalidFunctionParameters,{function:"sum"})}else if("MEAN"===l){if(s.typeofstat="AVG",s.workingexpr=a.expr,null===n)throw new d.eS(d.f.InvalidFunctionParameters,{function:l})}else if("AVG"===l){if(s.typeofstat="AVG",s.workingexpr=a.expr,null===n)throw new d.eS(d.f.InvalidFunctionParameters,{function:"avg"})}else{if("VAR"!==l)throw new d.eS(d.f.UnsupportedSqlFunction,{function:l});if(s.typeofstat="VAR",s.workingexpr=a.expr,null===n)throw new d.eS(d.f.InvalidFunctionParameters,{function:"var"})}return s}toStatisticsName(){switch(this.typeofstat.toUpperCase()){case"MIN":return"min";case"MAX":return"max";case"SUM":return"sum";case"COUNT":default:return"count";case"VAR":return"var";case"STDDEV":return"stddev";case"AVG":return"avg"}}}var w=i(44543),F=i(22641),S=i(41555),b=i(53970),I=i(82971),C=i(1231),v=i(99514);function R(e){if(!e)return"COUNT";switch(e.toLowerCase()){case"max":return"MAX";case"var":case"variance":return"VAR";case"avg":case"average":case"mean":return"AVG";case"min":return"MIN";case"sum":return"SUM";case"stdev":case"stddev":return"STDDEV";case"count":return"COUNT"}return"COUNT"}class T extends c.Z{constructor(e){super(e),this._decodedStatsfield=[],this._decodedGroupbyfield=[],this._candosimplegroupby=!0,this.phsyicalgroupbyfields=[],this.objectIdField="ROW__ID",this._internalObjectIdField="ROW__ID",this._adaptedFields=[],this.declaredClass="esri.arcade.featureset.actions.Aggregate",this._uniqueIds=1,this._maxQuery=10,this._maxProcessing=10,this._parent=e.parentfeatureset,this._config=e}isTable(){return!0}async _getSet(e){if(null===this._wset){const t=await this._getFilteredSet("",null,null,null,e);return this._wset=t,this._wset}return this._wset}_isInFeatureSet(){return p.dj.InFeatureSet}_nextUniqueName(e){for(;1===e["T"+this._uniqueIds.toString()];)this._uniqueIds++;const t="T"+this._uniqueIds.toString();return e[t]=1,t}_convertToEsriFieldType(e){return e}_initialiseFeatureSet(){const e={};let t=!1,i=1;const r=this._parent?this._parent.getFieldsIndex():new v.Z([]);for(this.objectIdField="ROW__ID",this.globalIdField="";!1===t;){let e=!1;for(let t=0;t<this._config.groupbyfields.length;t++)if(this._config.groupbyfields[t].name.toLowerCase()===this.objectIdField.toLowerCase()){e=!0;break}if(!1===e)for(let t=0;t<this._config.statsfields.length;t++)if(this._config.statsfields[t].name.toLowerCase()===this.objectIdField.toLowerCase()){e=!0;break}!1===e?t=!0:(this.objectIdField="ROW__ID"+i.toString(),i++)}for(const e of this._config.statsfields){const t=new m;t.field=e.name,t.tofieldname=e.name,t.workingexpr=e.expression instanceof g.WhereClause?e.expression:g.WhereClause.create(e.expression,r,this.dateFieldsTimeZoneDefaultUTC),t.typeofstat=R(e.statistic),this._decodedStatsfield.push(t)}this._decodedGroupbyfield=[];for(const e of this._config.groupbyfields){const t={name:e.name,singlefield:null,tofieldname:e.name,expression:e.expression instanceof g.WhereClause?e.expression:g.WhereClause.create(e.expression,r,this.dateFieldsTimeZoneDefaultUTC),sqlType:null};this._decodedGroupbyfield.push(t)}if(null!==this._parent){this.geometryType=this._parent.geometryType,this.spatialReference=this._parent.spatialReference,this.hasM=this._parent.hasM,this.hasZ=this._parent.hasZ,this.typeIdField="";for(const t of this._parent.fields)e[t.name.toUpperCase()]=1;this.types=null}else this.geometryType=p.Qk.point,this.typeIdField="",this.types=null,this.spatialReference=new I.Z({wkid:4326});this.fields=[];const s=new m;s.field=this._nextUniqueName(e),s.tofieldname=this.objectIdField,s.workingexpr=g.WhereClause.create(this._parent.objectIdField,this._parent.getFieldsIndex(),this.dateFieldsTimeZoneDefaultUTC),s.typeofstat="MIN",this._decodedStatsfield.push(s);for(const t of this._decodedGroupbyfield){const i=new C.Z;if(t.name=this._nextUniqueName(e),i.name=t.tofieldname,i.alias=i.name,(0,y.y5)(t.expression)){const e=this._parent.getField((0,y.zR)(t.expression,p.Bj.Standardised));if(!e)throw new d.EN(d.H9.AggregationFieldNotFound);t.name=e.name,t.singlefield=e.name,this.phsyicalgroupbyfields.push(e.name),i.type=e.type,t.sqlType=e.type}else{i.type=this._convertToEsriFieldType((0,y.DT)(t.expression,this._parent.fields));const e=new C.Z;e.name=t.name,e.alias=e.name,this.phsyicalgroupbyfields.push(t.name),this._adaptedFields.push(new o.yN(e,t.expression)),this._candosimplegroupby=!1,t.sqlType=i.type}this.fields.push(i)}if(this._adaptedFields.length>0)for(const e of this._parent.fields)this._adaptedFields.push(new o.$X(e));for(let t=0;t<this._decodedStatsfield.length;t++){const i=new C.Z;let r=null;const s=this._decodedStatsfield[t];s.field=this._nextUniqueName(e),s.tofieldname===this.objectIdField&&(this._internalObjectIdField=s.field),i.name=s.tofieldname,i.alias=i.name;const n=null!==s.workingexpr&&(0,y.y5)(s.workingexpr)?(0,y.zR)(s.workingexpr,p.Bj.Standardised):"";switch(this._decodedStatsfield[t].typeofstat){case"SUM":if(""!==n){if(r=this._parent.getField(n),!r)throw new d.EN(d.H9.AggregationFieldNotFound);i.type=r.type}else i.type="double";break;case"MIN":case"MAX":if(""!==n){if(r=this._parent.getField(n),!r)throw new d.EN(d.H9.AggregationFieldNotFound);i.type=r.type}else i.type="double";break;case"COUNT":i.type="integer";break;case"STDDEV":case"VAR":case"AVG":if(""!==n&&(r=this._parent.getField(n),!r))throw new d.EN(d.H9.AggregationFieldNotFound);i.type="double"}this.fields.push(i)}}async _canDoAggregates(){return!1}async _getFeatures(e,t,i,r){-1!==t&&this._featureCache[t];const s=this._maxQuery;return!0===this._checkIfNeedToExpandKnownPage(e,s)?(await this._expandPagedSet(e,s,0,0,r),this._getFeatures(e,t,i,r)):"success"}async _getFilteredSet(e,t,i,r,s){if(""!==e)return new h.Z([],[],!0,null);let n=null;const l={ordered:!1,nowhereclause:!1};if(await this._ensureLoaded(),null!==i)for(let e=0;e<this._decodedStatsfield.length;e++)if(!0===(0,y.hq)(i,this._decodedStatsfield[e].tofieldname)){l.nowhereclause=!0,i=null;break}if(null!==r){l.ordered=!0;for(let e=0;e<this._decodedStatsfield.length;e++)if(!0===r.scanForField(this._decodedStatsfield[e].tofieldname)){r=null,l.ordered=!1;break}if(null!==r)for(const e of this._decodedGroupbyfield)if(null===e.singlefield&&!0===r.scanForField(e.tofieldname)){r=null,l.ordered=!1;break}}if(!1!==this._candosimplegroupby&&await this._parent._canDoAggregates(this.phsyicalgroupbyfields,this._decodedStatsfield,"",null,null)){let e=null;i&&(e=this._reformulateWhereClauseWithoutGroupByFields(i));let t=null;r&&(t=this._reformulateOrderClauseWithoutGroupByFields(r));const a=await this._parent._getAggregatePagesDataSourceDefinition(this.phsyicalgroupbyfields,this._decodedStatsfield,"",null,e,t,this._internalObjectIdField);return this._checkCancelled(s),n=!0===l.nowhereclause?new h.Z(a._candidates.slice(0).concat(a._known.slice(0)),[],!0===l.ordered&&a._ordered,this._clonePageDefinition(a.pagesDefinition)):new h.Z(a._candidates.slice(0),a._known.slice(0),!0===l.ordered&&a._ordered,this._clonePageDefinition(a.pagesDefinition)),n}let d=this._parent;if(this._adaptedFields.length>0&&(d=new o.Xx({parentfeatureset:this._parent,adaptedFields:this._adaptedFields,extraFilter:null})),!0===l.nowhereclause)n=new h.Z(["GETPAGES"],[],!1,{aggregatefeaturesetpagedefinition:!0,resultOffset:0,resultRecordCount:this._maxQuery,internal:{fullyResolved:!1,workingItem:null,type:"manual",iterator:null,set:[],subfeatureset:new u.Z({parentfeatureset:d,orderbyclause:new f.Z(this.phsyicalgroupbyfields.join(",")+","+this._parent.objectIdField+" ASC")})}});else{let e=d;if(null!==i){let t=null;i&&(t=this._reformulateWhereClauseWithoutGroupByFields(i)),e=new a.Z({parentfeatureset:e,whereclause:t})}n=new h.Z(["GETPAGES"],[],!1,{aggregatefeaturesetpagedefinition:!0,resultOffset:0,resultRecordCount:this._maxQuery,internal:{fullyResolved:!1,workingItem:null,type:"manual",iterator:null,set:[],subfeatureset:new u.Z({parentfeatureset:e,orderbyclause:new f.Z(this.phsyicalgroupbyfields.join(",")+","+this._parent.objectIdField+" ASC")})}})}return n}_reformulateWhereClauseWithoutStatsFields(e){for(const t of this._decodedStatsfield)e=(0,y.bB)(e,t.tofieldname,(0,y.zR)(t.workingexpr,p.Bj.Standardised),this._parent.getFieldsIndex());return e}_reformulateWhereClauseWithoutGroupByFields(e){for(const t of this._decodedGroupbyfield)t.tofieldname!==t.name&&(e=(0,y.bB)(e,t.tofieldname,(0,y.zR)(t.expression,p.Bj.Standardised),this._parent.getFieldsIndex()));return e}_reformulateOrderClauseWithoutGroupByFields(e){const t=[];for(const e of this._decodedGroupbyfield)e.tofieldname!==e.name&&t.push({field:e.tofieldname,newfield:e.name});return t.length>0?e.replaceFields(t):e}_clonePageDefinition(e){return null===e?null:!0===e.aggregatefeaturesetpagedefinition?{aggregatefeaturesetpagedefinition:!0,resultRecordCount:e.resultRecordCount,resultOffset:e.resultOffset,internal:e.internal}:this._parent._clonePageDefinition(e)}async _refineSetBlock(e,t,i){return!0===this._checkIfNeedToExpandCandidatePage(e,this._maxQuery)?(await this._expandPagedSet(e,this._maxQuery,0,0,i),this._refineSetBlock(e,t,i)):(this._checkCancelled(i),e._candidates.length,this._refineKnowns(e,t),e._candidates.length,e._candidates.length,e)}_expandPagedSet(e,t,i,r,s){return this._expandPagedSetFeatureSet(e,t,i,r,s)}async _getPhysicalPage(e,t,i){if(!0===e.pagesDefinition.aggregatefeaturesetpagedefinition)return this._sequentialGetPhysicalItem(e,e.pagesDefinition.resultRecordCount,i,[]);const r=await this._getAgregagtePhysicalPage(e,t,i);for(const e of r){const t={geometry:e.geometry,attributes:{}},i={};for(const t in e.attributes)i[t.toLowerCase()]=e.attributes[t];for(const e of this._decodedGroupbyfield)t.attributes[e.tofieldname]=i[e.name.toLowerCase()];for(const e of this._decodedStatsfield)t.attributes[e.tofieldname]=i[e.field.toLowerCase()];this._featureCache[t.attributes[this.objectIdField]]=new l.Z(t)}return r.length}_sequentialGetPhysicalItem(e,t,i,r){return new Promise(((s,n)=>{null===e.pagesDefinition.internal.iterator&&(e.pagesDefinition.internal.iterator=e.pagesDefinition.internal.subfeatureset.iterator(i)),!0===e.pagesDefinition.internal.fullyResolved||0===t?s(r.length):this._nextAggregateItem(e,t,i,r,(n=>{null===n?s(r.length):(t-=1,s(this._sequentialGetPhysicalItem(e,t,i,r)))}),n)}))}_nextAggregateItem(e,t,i,r,s,a){try{(0,n.a1)(e.pagesDefinition.internal.iterator.next()).then((n=>{if(null===n)if(null!==e.pagesDefinition.internal.workingItem){const t=this._calculateAndAppendAggregateItem(e.pagesDefinition.internal.workingItem);r.push(t),e.pagesDefinition.internal.workingItem=null,e.pagesDefinition.internal.set.push(t.attributes[this.objectIdField]),e.pagesDefinition.internal.fullyResolved=!0,s(null)}else e.pagesDefinition.internal.fullyResolved=!0,s(null);else{const l=this._generateAggregateHash(n);if(null===e.pagesDefinition.internal.workingItem)e.pagesDefinition.internal.workingItem={features:[n],id:l};else{if(l!==e.pagesDefinition.internal.workingItem.id){const i=this._calculateAndAppendAggregateItem(e.pagesDefinition.internal.workingItem);return r.push(i),e.pagesDefinition.internal.workingItem=null,e.pagesDefinition.internal.set.push(i.attributes[this.objectIdField]),t-=1,e.pagesDefinition.internal.workingItem={features:[n],id:l},void s(i)}e.pagesDefinition.internal.workingItem.features.push(n)}this._nextAggregateItem(e,t,i,r,s,a)}}),a)}catch(e){a(e)}}_calculateFieldStat(e,t,i){const r=[];for(let i=0;i<e.features.length;i++)if(null!==t.workingexpr){const s=t.workingexpr.calculateValue(e.features[i]);null!==s&&(s instanceof F.u||s instanceof b.n?r.push(s.toNumber()):s instanceof S.H?r.push(s.toMilliseconds()):r.push(s))}else r.push(null);switch(t.typeofstat){case"MIN":i.attributes[t.tofieldname]=(0,_.tj)("min",r,-1);break;case"MAX":i.attributes[t.tofieldname]=(0,_.tj)("max",r,-1);break;case"SUM":i.attributes[t.tofieldname]=(0,_.tj)("sum",r,-1);break;case"COUNT":i.attributes[t.tofieldname]=r.length;break;case"VAR":i.attributes[t.tofieldname]=(0,_.tj)("var",r,-1);break;case"STDDEV":i.attributes[t.tofieldname]=(0,_.tj)("stddev",r,-1);break;case"AVG":i.attributes[t.tofieldname]=(0,_.tj)("avg",r,-1)}return!0}_calculateAndAppendAggregateItem(e){const t={attributes:{},geometry:null};for(const i of this._decodedGroupbyfield){const r=i.singlefield?e.features[0].attributes[i.singlefield]:g.WhereClause.convertValueToStorageFormat(i.expression.calculateValue(e.features[0]),i.sqlType);t.attributes[i.tofieldname]=r}for(const i of this._decodedStatsfield)this._calculateFieldStat(e,i,t);const i=[];for(let r=0;r<this._decodedStatsfield.length;r++)i.push(this._calculateFieldStat(e,this._decodedStatsfield[r],t));return this._featureCache[t.attributes[this.objectIdField]]=new l.Z({attributes:t.attributes,geometry:t.geometry}),t}_generateAggregateHash(e){let t="";for(const i of this._decodedGroupbyfield){const r=i.singlefield?e.attributes[i.singlefield]:i.expression.calculateValue(e);t+=null==r?":":":"+r.toString()}return(0,w.F)(t,w.M.String)}async _stat(){return{calculated:!1}}async getFeatureByObjectId(){return null}static registerAction(){c.Z._featuresetFunctions.groupby=function(e,t){return new T({parentfeatureset:this,groupbyfields:e,statsfields:t})}}}var D=i(53073),x=i(63991),k=i(40330),N=i(80692),P=i(33586),A=i(33955),L=i(8744),O=i(19238),E=i(20697),Z=i(20102),j=i(80442),G=i(95330),q=i(2981),B=i(10158),U=i(4967),M=i(53261),W=i(74889),z=i(14165);function Q(e,t){return null!=t&&!0===e.returnGeometry&&"xyFootprint"!==e.multipatchOption&&!e.outStatistics}i(68773),i(67676),i(17452),i(98326),i(56545);var V=i(41818),J=(i(66577),i(16306),i(45091),i(67900),i(2109),i(5396)),H=(i(98732),i(75935)),K=(i(28141),i(58539));class $ extends c.Z{constructor(e){super(e),this.declaredClass="esri.arcade.featureset.sources.FeatureLayerDynamic",this._removeGeometry=!1,this._overrideFields=null,this.formulaCredential=null,this._pageJustIds=!1,this._requestStandardised=!1,this._useDefinitionExpression=!0,e.spatialReference&&(this.spatialReference=e.spatialReference),this._transparent=!0,this._maxProcessing=1e3,this._layer=e.layer,this._wset=null,void 0!==e.outFields&&(this._overrideFields=e.outFields),void 0!==e.includeGeometry&&(this._removeGeometry=!1===e.includeGeometry)}_maxQueryRate(){return p.tI}end(){return this._layer}optimisePagingFeatureQueries(e){this._pageJustIds=e}get urlQueryPath(){return this._layer.parsedUrl.path||""}convertQueryToLruCacheKey(e){const t=this.urlQueryPath+","+(0,p.hd)(e.toJSON());return(0,w.F)(t,w.M.String)}async loadImpl(){return!0===this._layer.loaded?(this._initialiseFeatureSet(),this):(await this._layer.load(),this._initialiseFeatureSet(),this)}_initialiseFeatureSet(){if(null==this.spatialReference&&(this.spatialReference=this._layer.spatialReference),this.geometryType=this._layer.geometryType,this.fields=this._layer.fields.slice(0),this.hasZ=!0===this._layer?.capabilities?.data?.supportsZ,this.hasM=!0===this._layer?.capabilities?.data?.supportsM,null!==this._overrideFields)if(1===this._overrideFields.length&&"*"===this._overrideFields[0])this._overrideFields=null;else{const e=[],t=[];for(const i of this.fields)if("oid"===i.type)e.push(i),t.push(i.name);else for(const r of this._overrideFields)if(r.toLowerCase()===i.name.toLowerCase()){e.push(i),t.push(i.name);break}this.fields=e,this._overrideFields=t}if(this._layer.source&&this._layer.source.sourceJSON){const e=this._layer.source.sourceJSON.currentVersion;!0===this._layer.source.sourceJSON.useStandardizedQueries?(this._databaseType=p.Bj.StandardisedNoInterval,null!=e&&e>=10.61&&(this._databaseType=p.Bj.Standardised)):null!=e&&(e>=10.5&&(this._databaseType=p.Bj.StandardisedNoInterval,this._requestStandardised=!0),e>=10.61&&(this._databaseType=p.Bj.Standardised))}this.objectIdField=this._layer.objectIdField;for(const e of this.fields)"global-id"===e.type&&(this.globalIdField=e.name);this._layer instanceof E.default?(this.typeIdField=this._layer.subtypeField??"",this.types=this._layer.subtypes):(this.typeIdField=this._layer.typeIdField??"",this.types=this._layer.types)}_isInFeatureSet(){return p.dj.InFeatureSet}async _refineSetBlock(e){return e}_candidateIdTransform(e){return e}async _getSet(e){if(null===this._wset){await this._ensureLoaded();const t=await this._getFilteredSet("",null,null,null,e);return this._wset=t,t}return this._wset}async _runDatabaseProbe(e){await this._ensureLoaded();const t=new z.Z;this.datesInUnknownTimezone&&(t.timeReferenceUnknownClient=!0),t.where=e.replace("OBJECTID",this._layer.objectIdField);try{return await this._layer.queryObjectIds(t),!0}catch(e){return!1}}_canUsePagination(){return!(!this._layer.capabilities||!this._layer.capabilities.query||!0!==this._layer.capabilities.query.supportsPagination)}_cacheableFeatureSetSourceKey(){return this._layer.url}pbfSupportedForQuery(e){const t=this._layer?.capabilities?.query;return!e.outStatistics&&!0===t?.supportsFormatPBF&&!0===t?.supportsQuantizationEditMode}async queryPBF(e){return e.quantizationParameters={mode:"edit"},(await async function(e,t,r,s){return async function(e,t,r,s){const n=r?.infoFor3D;if(!Q(e,n)||null==n||!t.assetMaps||!t.features?.length)return W.Z.fromJSON(t);const{meshFeatureSetFromJSON:a}=await(0,G.Hl)(Promise.all([i.e(6481),i.e(6170),i.e(6459),i.e(5613)]).then(i.bind(i,25158)),s);return a(e,n,t)}(t,await async function(e,t,i,r){const s={...r},n=function(e,t){let i=z.Z.from(e);i.sourceSpatialReference=i.sourceSpatialReference??t?.sourceSpatialReference??null,(t?.gdbVersion||t?.dynamicDataSource)&&(i=i===e?i.clone():i,i.gdbVersion=e.gdbVersion||t.gdbVersion,i.dynamicDataSource=e.dynamicDataSource?B.n.from(e.dynamicDataSource):t.dynamicDataSource);const r=t?.infoFor3D;if(null!=r&&Q(e,r)){i=i===e?i.clone():i,i.formatOf3DObjects=null;const{supportedFormats:t,queryFormats:s}=r,n=(0,q.S0)("model/gltf-binary",t)??(0,q.Ow)("glb",t),a=(0,q.S0)("model/gltf+json",t)??(0,q.Ow)("gtlf",t);for(const e of s){if(e===n){i.formatOf3DObjects=e;break}e!==a||i.formatOf3DObjects||(i.formatOf3DObjects=e)}if(!i.formatOf3DObjects)throw new Z.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==i.outFields||!i.outFields.includes("*")){i=i===e?i.clone():i,null==i.outFields&&(i.outFields=[]);const{originX:t,originY:s,originZ:n,translationX:a,translationY:l,translationZ:o,scaleX:u,scaleY:d,scaleZ:c,rotationX:h,rotationY:f,rotationZ:p,rotationDeg:y}=r.transformFieldRoles;i.outFields.push(t,s,n,a,l,o,u,d,c,h,f,p,y)}}return i}(t,i),a=null!=t.outStatistics?.[0],l=(0,j.Z)("featurelayer-pbf-statistics"),o=!a||l;let u;if("pbf"===i?.format&&o)try{u=await(0,M.t)(e,n,s)}catch(e){if("query:parsing-pbf"!==e.name)throw e;i.format="json"}return"json"!==i?.format&&o||(u=await(0,U.F)(e,n,s)),function(e,t){if(null!=e&&null!=t)for(const i of t){const t=e.get(i.name);t&&Object.assign(i,t.toJSON())}}(i?.fieldsIndex,u.fields),u}(e,t,r,s),r,s)}(this._layer.parsedUrl,e,{format:"pbf"},{})).unquantize()}get gdbVersion(){return this._layer&&this._layer.capabilities&&this._layer.capabilities.data&&this._layer.capabilities.data.isVersioned?this._layer.gdbVersion||"SDE.DEFAULT":""}nativeCapabilities(){return{title:this._layer.title??"",source:this,canQueryRelated:!0,capabilities:this._layer.capabilities,databaseType:this._databaseType,requestStandardised:this._requestStandardised}}executeQuery(e,t){e.returnZ=this.hasZ,e.returnM=this.hasM;const i="execute"===t?U.e:"executeForCount"===t?V.P:J.G,r="execute"===t&&this.pbfSupportedForQuery(e);let s=null;if(this.recentlyUsedQueries){const t=this.convertQueryToLruCacheKey(e);s=this.recentlyUsedQueries.getFromCache(t),null===s&&(s=!0!==r?i(this._layer.parsedUrl.path,e):this.queryPBF(e),this.recentlyUsedQueries.addToCache(t,s),s=s.catch((e=>{throw this.recentlyUsedQueries?.removeFromCache(t),e})))}return this.featureSetQueryInterceptor&&this.featureSetQueryInterceptor.preLayerQueryCallback({layer:this._layer,query:e,method:t}),null===s&&(s=!0!==r?i(this._layer.parsedUrl.path,e):this.queryPBF(e)),s}async _getFilteredSet(e,t,i,r,s){const n=await this.databaseType();if(this.isTable()&&t&&null!==e&&""!==e)return new h.Z([],[],!0,null);if(this._canUsePagination())return this._getFilteredSetUsingPaging(e,t,i,r,s);let a="",l=!1;null!==r&&this._layer.capabilities&&this._layer.capabilities.query&&!0===this._layer.capabilities.query.supportsOrderBy&&(a=r.constructClause(),l=!0);const o=new z.Z;this.datesInUnknownTimezone&&(o.timeReferenceUnknownClient=!0),o.where=null===i?null===t?"1=1":"":(0,y.zR)(i,n),this._requestStandardised&&(o.sqlFormat="standard"),o.spatialRelationship=this._makeRelationshipEnum(e),o.outSpatialReference=this.spatialReference,o.orderByFields=""!==a?a.split(","):null,o.geometry=null===t?null:t,o.relationParameter=this._makeRelationshipParam(e);let u=await this.executeQuery(o,"executeForIds");return null===u&&(u=[]),this._checkCancelled(s),new h.Z([],u,l,null)}_expandPagedSet(e,t,i,r,s){return this._expandPagedSetFeatureSet(e,t,i,r,s)}async _getFilteredSetUsingPaging(e,t,i,r,s){let n="",a=!1;null!==r&&this._layer.capabilities&&this._layer.capabilities.query&&!0===this._layer.capabilities.query.supportsOrderBy&&(n=r.constructClause(),a=!0);const l=await this.databaseType();let o=null===i?null===t?"1=1":"":(0,y.zR)(i,l);this._layer.definitionExpression&&this._useDefinitionExpression&&(o=""!==o?"(("+this._layer.definitionExpression+") AND ("+o+"))":this._layer.definitionExpression);let u=this._maxQueryRate();const d=this._layer.capabilities?.query.maxRecordCount;null!=d&&d<u&&(u=d);let c=null;if(!0===this._pageJustIds)c=new h.Z([],["GETPAGES"],a,{spatialRel:this._makeRelationshipEnum(e),relationParam:this._makeRelationshipParam(e),outFields:this._layer.objectIdField,resultRecordCount:u,resultOffset:0,geometry:null===t?null:t,where:o,orderByFields:n,returnGeometry:!1,returnIdsOnly:"false",internal:{set:[],lastRetrieved:0,lastPage:0,fullyResolved:!1}});else{let i=!0;!0===this._removeGeometry&&(i=!1);const r=this._overrideFields??this._fieldsIncludingObjectId(["*"]);c=new h.Z([],["GETPAGES"],a,{spatialRel:this._makeRelationshipEnum(e),relationParam:this._makeRelationshipParam(e),outFields:r.join(","),resultRecordCount:u,resultOffset:0,geometry:null===t?null:t,where:o,orderByFields:n,returnGeometry:i,returnIdsOnly:"false",internal:{set:[],lastRetrieved:0,lastPage:0,fullyResolved:!1}})}return await this._expandPagedSet(c,u,0,1,s),c}_clonePageDefinition(e){return null===e?null:!0!==e.groupbypage?{groupbypage:!1,spatialRel:e.spatialRel,relationParam:e.relationParam,outFields:e.outFields,resultRecordCount:e.resultRecordCount,resultOffset:e.resultOffset,geometry:e.geometry,where:e.where,orderByFields:e.orderByFields,returnGeometry:e.returnGeometry,returnIdsOnly:e.returnIdsOnly,internal:e.internal}:{groupbypage:!0,spatialRel:e.spatialRel,relationParam:e.relationParam,outFields:e.outFields,resultRecordCount:e.resultRecordCount,useOIDpagination:e.useOIDpagination,generatedOid:e.generatedOid,groupByFieldsForStatistics:e.groupByFieldsForStatistics,resultOffset:e.resultOffset,outStatistics:e.outStatistics,geometry:e.geometry,where:e.where,orderByFields:e.orderByFields,returnGeometry:e.returnGeometry,returnIdsOnly:e.returnIdsOnly,internal:e.internal}}async _getPhysicalPage(e,t,i){const r=e.pagesDefinition.internal.lastRetrieved,s=r,n=e.pagesDefinition.internal.lastPage,a=new z.Z;this._requestStandardised&&(a.sqlFormat="standard"),this.datesInUnknownTimezone&&(a.timeReferenceUnknownClient=!0),a.spatialRelationship=e.pagesDefinition.spatialRel,a.relationParameter=e.pagesDefinition.relationParam,a.outFields=e.pagesDefinition.outFields.split(","),a.num=e.pagesDefinition.resultRecordCount,a.start=e.pagesDefinition.internal.lastPage,a.geometry=e.pagesDefinition.geometry,a.where=e.pagesDefinition.where,a.orderByFields=""!==e.pagesDefinition.orderByFields?e.pagesDefinition.orderByFields.split(","):null,a.returnGeometry=e.pagesDefinition.returnGeometry,a.outSpatialReference=this.spatialReference;const l=await this.executeQuery(a,"execute");if(this._checkCancelled(i),e.pagesDefinition.internal.lastPage!==n)return"done";const o=this._layer.objectIdField;for(let t=0;t<l.features.length;t++)e.pagesDefinition.internal.set[s+t]=l.features[t].attributes[o];if(!1===this._pageJustIds)for(let e=0;e<l.features.length;e++)this._featureCache[l.features[e].attributes[o]]=l.features[e];return(void 0===l.exceededTransferLimit&&l.features.length!==e.pagesDefinition.resultRecordCount||!1===l.exceededTransferLimit)&&(e.pagesDefinition.internal.fullyResolved=!0),e.pagesDefinition.internal.lastRetrieved=r+l.features.length,e.pagesDefinition.internal.lastPage+=e.pagesDefinition.resultRecordCount,"done"}_fieldsIncludingObjectId(e){if(null===e)return[this.objectIdField];const t=e.slice(0);if(t.includes("*"))return t;let i=!1;for(const e of t)if(e.toUpperCase()===this.objectIdField.toUpperCase()){i=!0;break}return!1===i&&t.push(this.objectIdField),t}async _getFeatures(e,t,i,r){const s=[];if(-1!==t&&void 0===this._featureCache[t]&&s.push(t),!0===this._checkIfNeedToExpandKnownPage(e,this._maxProcessingRate()))return await this._expandPagedSet(e,this._maxProcessingRate(),0,0,r),this._getFeatures(e,t,i,r);let n=0;for(let r=e._lastFetchedIndex;r<e._known.length;r++){if(e._lastFetchedIndex+=1,n++,void 0===this._featureCache[e._known[r]]){let i=!1;if(null!==this._layer._mode&&void 0!==this._layer._mode){const t=this._layer._mode;if(void 0!==t._featureMap[e._known[r]]){const s=t._featureMap[e._known[r]];null!==s&&(i=!0,this._featureCache[e._known[r]]=s)}}if(!1===i&&(e._known[r]!==t&&s.push(e._known[r]),s.length>=this._maxProcessingRate()-1))break}if(n>=i&&0===s.length)break}if(0===s.length)return"success";const a=new z.Z;this._requestStandardised&&(a.sqlFormat="standard"),this.datesInUnknownTimezone&&(a.timeReferenceUnknownClient=!0),a.objectIds=s,a.outFields=this._overrideFields??this._fieldsIncludingObjectId(["*"]),a.returnGeometry=!0,!0===this._removeGeometry&&(a.returnGeometry=!1),a.outSpatialReference=this.spatialReference;const l=await this.executeQuery(a,"execute");if(this._checkCancelled(r),void 0!==l.error)throw new d.EN(d.H9.RequestFailed,{reason:l.error});const o=this._layer.objectIdField;for(let e=0;e<l.features.length;e++)this._featureCache[l.features[e].attributes[o]]=l.features[e];return"success"}async _getDistinctPages(e,t,i,r,s,n,a,l,o){await this._ensureLoaded();const u=await this.databaseType();let c=i.parseTree.column;const h=this._layer.fields??[];for(let e=0;e<h.length;e++)if(h[e].name.toLowerCase()===c.toLowerCase()){c=h[e].name;break}const f=new z.Z;this._requestStandardised&&(f.sqlFormat="standard"),this.datesInUnknownTimezone&&(f.timeReferenceUnknownClient=!0);let p=null===n?null===s?"1=1":"":(0,y.zR)(n,u);this._layer.definitionExpression&&this._useDefinitionExpression&&(p=""!==p?"(("+this._layer.definitionExpression+") AND ("+p+"))":this._layer.definitionExpression),f.where=p,f.spatialRelationship=this._makeRelationshipEnum(r),f.relationParameter=this._makeRelationshipParam(r),f.geometry=null===s?null:s,f.returnDistinctValues=!0,f.returnGeometry=!1,f.outFields=[c];const _=await this.executeQuery(f,"execute");if(this._checkCancelled(o),!_.hasOwnProperty("features"))throw new d.EN(d.H9.InvalidStatResponse);let g=!1;for(let e=0;e<h.length;e++)if(h[e].name===c){"date"===h[e].type&&(g=!0);break}for(let e=0;e<_.features.length;e++){if(g){const t=_.features[e].attributes[c];null!==t?l.push(new Date(t)):l.push(t)}else l.push(_.features[e].attributes[c]);if(l.length>=a)break}return 0===_.features.length?l:_.features.length===this._layer.capabilities?.query.maxRecordCount&&l.length<a?{calculated:!0,result:await this._getDistinctPages(e+_.features.length,t,i,r,s,n,a,l,o)}:l}async _distinctStat(e,t,i,r,s,n,a){return{calculated:!0,result:await this._getDistinctPages(0,e,t,i,r,s,n,[],a)}}isTable(){return this._layer.isTable||null===this._layer.geometryType||"table"===this._layer.type||""===this._layer.geometryType||"esriGeometryNull"===this._layer.geometryType}async _countstat(e,t,i,r){const s=await this.databaseType(),n=new z.Z;if(this._requestStandardised&&(n.sqlFormat="standard"),this.isTable()&&i&&null!==t&&""!==t)return{calculated:!0,result:0};let a=null===r?null===i?"1=1":"":(0,y.zR)(r,s);return this._layer.definitionExpression&&this._useDefinitionExpression&&(a=""!==a?"(("+this._layer.definitionExpression+") AND ("+a+"))":this._layer.definitionExpression),n.where=a,this.datesInUnknownTimezone&&(n.timeReferenceUnknownClient=!0),n.where=a,n.spatialRelationship=this._makeRelationshipEnum(t),n.relationParameter=this._makeRelationshipParam(t),n.geometry=null===i?null:i,n.returnGeometry=!1,{calculated:!0,result:await this.executeQuery(n,"executeForCount")}}async _stats(e,t,i,r,s,n,a){await this._ensureLoaded();const l=this._layer.capabilities&&this._layer.capabilities.query&&!0===this._layer.capabilities.query.supportsSqlExpression,o=this._layer.capabilities&&this._layer.capabilities.query&&!0===this._layer.capabilities.query.supportsStatistics,u=this._layer.capabilities&&this._layer.capabilities.query&&!0===this._layer.capabilities.query.supportsDistinct;if("count"===e)return u?this._countstat(e,i,r,s):{calculated:!1};if(!1===o||!1===(0,y.y5)(t)&&!1===l||!1===t.isStandardized)return""!==i||null!==s?{calculated:!1}:this._manualStat(e,t,n,a);if("distinct"===e)return!1===u?""!==i||null!==s?{calculated:!1}:this._manualStat(e,t,n,a):this._distinctStat(e,t,i,r,s,n,a);const c=await this.databaseType();if(this.isTable()&&r&&null!==i&&""!==i)return{calculated:!0,result:null};const h=new z.Z;this._requestStandardised&&(h.sqlFormat="standard");let f=null===s?null===r?"1=1":"":(0,y.zR)(s,c);this._layer.definitionExpression&&this._useDefinitionExpression&&(f=""!==f?"(("+this._layer.definitionExpression+") AND ("+f+"))":this._layer.definitionExpression),h.where=f,h.spatialRelationship=this._makeRelationshipEnum(i),h.relationParameter=this._makeRelationshipParam(i),h.geometry=null===r?null:r,this.datesInUnknownTimezone&&(h.timeReferenceUnknownClient=!0);const p=new K.Z;p.statisticType=(0,_.g3)(e),p.onStatisticField=(0,y.zR)(t,c),p.outStatisticFieldName="ARCADE_STAT_RESULT",h.returnGeometry=!1;let g="ARCADE_STAT_RESULT";h.outStatistics=[p];const m=await this.executeQuery(h,"execute");if(!m.hasOwnProperty("features")||0===m.features.length)throw new d.EN(d.H9.InvalidStatResponse);let w=!1;const F=m.fields??[];for(let e=0;e<F.length;e++)if("ARCADE_STAT_RESULT"===F[e].name.toUpperCase()){g=F[e].name,"date"===F[e].type&&(w=!0);break}if(w){let e=m.features[0].attributes[g];return null!==e&&(e=new Date(m.features[0].attributes[g])),{calculated:!0,result:e}}return{calculated:!0,result:m.features[0].attributes[g]}}_stat(e,t,i,r,s,n,a){return this._stats(e,t,i,r,s,n,a)}async _canDoAggregates(e,t){await this._ensureLoaded();let i=!1;const r=this._layer.capabilities?.query,s=!0===r?.supportsSqlExpression;if(null!=r&&!0===r.supportsStatistics&&!0===r.supportsOrderBy&&(i=!0),i)for(let e=0;e<t.length-1;e++)(!1===t[e].workingexpr?.isStandardized||!1===(0,y.y5)(t[e].workingexpr)&&!1===s)&&(i=!1);return!1!==i}_makeRelationshipEnum(e){if(e.includes("esriSpatialRelRelation"))return"relation";switch(e){case"esriSpatialRelRelation":return"relation";case"esriSpatialRelIntersects":return"intersects";case"esriSpatialRelContains":return"contains";case"esriSpatialRelOverlaps":return"overlaps";case"esriSpatialRelWithin":return"within";case"esriSpatialRelTouches":return"touches";case"esriSpatialRelCrosses":return"crosses";case"esriSpatialRelEnvelopeIntersects":return"envelope-intersects"}return e}_makeRelationshipParam(e){return e.includes("esriSpatialRelRelation")?e.split(":")[1]:""}async _getAggregatePagesDataSourceDefinition(e,t,i,r,s,n,a){await this._ensureLoaded();const l=await this.databaseType();let o="",u=!1,d=!1;null!==n&&this._layer.capabilities&&this._layer.capabilities.query&&!0===this._layer.capabilities.query.supportsOrderBy&&(o=n.constructClause(),d=!0),this._layer.capabilities&&this._layer.capabilities.query&&!1===this._layer.capabilities.query.supportsPagination&&(d=!1,u=!0,o=this._layer.objectIdField);const c=[];for(let e=0;e<t.length;e++){const i=new K.Z;i.onStatisticField=null!==t[e].workingexpr?(0,y.zR)(t[e].workingexpr,l):"",i.outStatisticFieldName=t[e].field,i.statisticType=t[e].toStatisticsName(),c.push(i)}""===o&&(o=e.join(","));let f=this._maxQueryRate();const p=this._layer.capabilities?.query.maxRecordCount;null!=p&&p<f&&(f=p);let _=null===s?null===r?"1=1":"":(0,y.zR)(s,l);return this._layer.definitionExpression&&this._useDefinitionExpression&&(_=""!==_?"(("+this._layer.definitionExpression+") AND ("+_+"))":this._layer.definitionExpression),new h.Z([],["GETPAGES"],d,{groupbypage:!0,spatialRel:this._makeRelationshipEnum(i),relationParam:this._makeRelationshipParam(i),outFields:["*"],useOIDpagination:u,generatedOid:a,resultRecordCount:f,resultOffset:0,groupByFieldsForStatistics:e,outStatistics:c,geometry:null===r?null:r,where:_,orderByFields:o,returnGeometry:!1,returnIdsOnly:!1,internal:{lastMaxId:-1,set:[],lastRetrieved:0,lastPage:0,fullyResolved:!1}})}async _getAgregagtePhysicalPage(e,t,i){let r=e.pagesDefinition.where;!0===e.pagesDefinition.useOIDpagination&&(r=""!==r?"("+r+") AND ("+e.pagesDefinition.generatedOid+">"+e.pagesDefinition.internal.lastMaxId.toString()+")":e.pagesDefinition.generatedOid+">"+e.pagesDefinition.internal.lastMaxId.toString());const s=e.pagesDefinition.internal.lastRetrieved,n=s,a=e.pagesDefinition.internal.lastPage,o=new z.Z;if(this._requestStandardised&&(o.sqlFormat="standard"),o.where=r,o.spatialRelationship=e.pagesDefinition.spatialRel,o.relationParameter=e.pagesDefinition.relationParam,o.outFields=e.pagesDefinition.outFields,o.outStatistics=e.pagesDefinition.outStatistics,o.geometry=e.pagesDefinition.geometry,o.groupByFieldsForStatistics=e.pagesDefinition.groupByFieldsForStatistics,o.num=e.pagesDefinition.resultRecordCount,o.start=e.pagesDefinition.internal.lastPage,o.returnGeometry=e.pagesDefinition.returnGeometry,this.datesInUnknownTimezone&&(o.timeReferenceUnknownClient=!0),o.orderByFields=""!==e.pagesDefinition.orderByFields?e.pagesDefinition.orderByFields.split(","):null,this.isTable()&&o.geometry&&o.spatialRelationship)return[];const u=await this.executeQuery(o,"execute");if(this._checkCancelled(i),!u.hasOwnProperty("features"))throw new d.EN(d.H9.InvalidStatResponse);const c=[];if(e.pagesDefinition.internal.lastPage!==a)return[];u.features.length>0&&void 0===u.features[0].attributes[e.pagesDefinition.generatedOid]&&(e.pagesDefinition.generatedOid=e.pagesDefinition.generatedOid.toLowerCase());for(let t=0;t<u.features.length;t++)e.pagesDefinition.internal.set[n+t]=u.features[t].attributes[e.pagesDefinition.generatedOid];for(let e=0;e<u.features.length;e++)c.push(new l.Z({attributes:u.features[e].attributes,geometry:null}));return!0===e.pagesDefinition.useOIDpagination?0===u.features.length?e.pagesDefinition.internal.fullyResolved=!0:e.pagesDefinition.internal.lastMaxId=u.features[u.features.length-1].attributes[e.pagesDefinition.generatedOid]:(void 0===u.exceededTransferLimit&&u.features.length!==e.pagesDefinition.resultRecordCount||!1===u.exceededTransferLimit)&&(e.pagesDefinition.internal.fullyResolved=!0),e.pagesDefinition.internal.lastRetrieved=s+u.features.length,e.pagesDefinition.internal.lastPage+=e.pagesDefinition.resultRecordCount,c}static create(e,t,i,r,s){const n=new O.default({url:e,outFields:null===t?["*"]:t});return new $({layer:n,spatialReference:i,lrucache:r,interceptor:s})}relationshipMetaData(){return this._layer&&this._layer.source&&this._layer.source.sourceJSON?.relationships?this._layer.source.sourceJSON.relationships:[]}serviceUrl(){return(0,p.US)(this._layer.parsedUrl.path)}async queryAttachments(e,t,i,r,s){const n=this._layer.capabilities;if(n?.data.supportsAttachment&&n?.operations.supportsQueryAttachments){const n={objectIds:[e],returnMetadata:s};(t&&t>0||i&&i>0)&&(n.size=[t&&t>0?t:0,i&&i>0?i:t+1]),r&&r.length>0&&(n.attachmentTypes=r),this.featureSetQueryInterceptor&&this.featureSetQueryInterceptor.preLayerQueryCallback({layer:this._layer,query:n,method:"attachments"});const a=await this._layer.queryAttachments(n),l=[];return a&&a[e]&&a[e].forEach((t=>{const i=this._layer.parsedUrl.path+"/"+e.toString()+"/attachments/"+t.id.toString();let r=null;s&&t.exifInfo&&(r=P.Z.convertJsonToArcade(t.exifInfo,"system",!0)),l.push(new N.Z(t.id,t.name,t.contentType,t.size,i,r,t.keywords??null))})),l}return[]}async queryRelatedFeatures(e){const t={f:"json",relationshipId:e.relationshipId.toString(),definitionExpression:e.where,outFields:e.outFields?.join(","),returnGeometry:e.returnGeometry.toString()};void 0!==e.resultOffset&&null!==e.resultOffset&&(t.resultOffset=e.resultOffset.toString()),void 0!==e.resultRecordCount&&null!==e.resultRecordCount&&(t.resultRecordCount=e.resultRecordCount.toString()),e.orderByFields&&(t.orderByFields=e.orderByFields.join(",")),e.objectIds&&e.objectIds.length>0&&(t.objectIds=e.objectIds.join(",")),e.outSpatialReference&&(t.outSR=(0,L.B9)(e.outSpatialReference)),this.featureSetQueryInterceptor&&this.featureSetQueryInterceptor.preRequestCallback({layer:this._layer,queryPayload:t,method:"relatedrecords",url:this._layer.parsedUrl.path+"/queryRelatedRecords"});const i=await(0,r.Z)(this._layer.parsedUrl.path+"/queryRelatedRecords",{responseType:"json",query:t});if(i.data){const e={},t=i.data;if(t?.relatedRecordGroups){const i=t.spatialReference;for(const r of t.relatedRecordGroups){const s=r.objectId,n=[];for(const e of r.relatedRecords){e.geometry&&(e.geometry.spatialReference=i);const t=new l.Z({geometry:e.geometry?(0,A.im)(e.geometry):null,attributes:e.attributes});n.push(t)}e[s]={features:n,exceededTransferLimit:!0===t.exceededTransferLimit}}}return e}throw new d.EN(d.H9.InvalidRequest)}async getFeatureByObjectId(e,t){const i=new z.Z;i.outFields=t,i.returnGeometry=!1,i.outSpatialReference=this.spatialReference,i.where=this.objectIdField+"="+e.toString(),this.datesInUnknownTimezone&&(i.timeReferenceUnknownClient=!0),this.featureSetQueryInterceptor&&this.featureSetQueryInterceptor.preLayerQueryCallback({layer:this._layer,query:i,method:"execute"});const r=await(0,U.e)(this._layer.parsedUrl.path,i);return 1===r.features.length?r.features[0]:null}async getIdentityUser(){await this.load();const e=k.id?.findCredential(this._layer.url);return e?e.userId:null}async getOwningSystemUrl(){await this.load();const e=k.id?.findServerInfo(this._layer.url);if(e)return e.owningSystemUrl;let t=this._layer.url;const i=t.toLowerCase().indexOf("/rest/services");if(t=i>-1?t.substring(0,i):t,t){t+="/rest/info";try{const e=await(0,r.Z)(t,{query:{f:"json"}});let i="";return e.data?.owningSystemUrl&&(i=e.data.owningSystemUrl),i}catch(e){return""}}return""}getDataSourceFeatureSet(){const e=new $({layer:this._layer,spatialReference:this.spatialReference??void 0,outFields:this._overrideFields??void 0,includeGeometry:!this._removeGeometry,lrucache:this.recentlyUsedQueries??void 0,interceptor:this.featureSetQueryInterceptor??void 0});return e._useDefinitionExpression=!1,e}get preferredTimeZone(){return this._layer.preferredTimeZone??null}get dateFieldsTimeZone(){return this._layer.dateFieldsTimeZone??null}get datesInUnknownTimezone(){return this._layer.datesInUnknownTimezone}get editFieldsInfo(){return this._layer.editFieldsInfo??null}get timeInfo(){return this._layer.timeInfo??null}async getFeatureSetInfo(){if(this.fsetInfo)return this.fsetInfo;let e=null,{parsedUrl:{path:t},serviceItemId:i=null}=this._layer;if(t){const s=await(0,r.Z)(t,{responseType:"json",query:{f:"json"}});e=s?.data?.name??null,i=s?.data?.serviceItemId??null}const s=this._layer.title&&null!==(this._layer.parent??null);return this.featureSetInfo={layerId:this._layer.layerId,layerName:""===e?null:e,itemId:""===i?null:i,serviceLayerUrl:""===t?null:t,webMapLayerId:s?this._layer.id??null:null,webMapLayerTitle:s?this._layer.title??null:null,className:null,objectClassId:null},this.fsetInfo}}var X=i(17805);class Y extends c.Z{constructor(e){super(e),this.declaredClass="esri.arcade.featureset.sources.FeatureLayerRelated",this._findObjectId=-1,this._requestStandardised=!1,this._removeGeometry=!1,this._overrideFields=null,this.featureObjectId=null,e.spatialReference&&(this.spatialReference=e.spatialReference),this._transparent=!0,this._maxProcessing=1e3,this._layer=e.layer,this._wset=null,this._findObjectId=e.objectId,this.featureObjectId=e.objectId,this.relationship=e.relationship,this._relatedLayer=e.relatedLayer,void 0!==e.outFields&&(this._overrideFields=e.outFields),void 0!==e.includeGeometry&&(this._removeGeometry=!1===e.includeGeometry)}_maxQueryRate(){return p.tI}end(){return this._layer}optimisePagingFeatureQueries(){}async loadImpl(){return await Promise.all([this._layer.load(),this._relatedLayer?.load()]),this._initialiseFeatureSet(),this}nativeCapabilities(){return this._relatedLayer.nativeCapabilities()}_initialiseFeatureSet(){if(null==this.spatialReference&&(this.spatialReference=this._layer.spatialReference),this.geometryType=this._relatedLayer.geometryType,this.fields=this._relatedLayer.fields.slice(0),this.hasZ=this._relatedLayer.hasZ,this.hasM=this._relatedLayer.hasM,null!==this._overrideFields)if(1===this._overrideFields.length&&"*"===this._overrideFields[0])this._overrideFields=null;else{const e=[],t=[];for(const i of this.fields)if("oid"===i.type)e.push(i),t.push(i.name);else for(const r of this._overrideFields)if(r.toLowerCase()===i.name.toLowerCase()){e.push(i),t.push(i.name);break}this.fields=e,this._overrideFields=t}const e=this._layer.nativeCapabilities();e&&(this._databaseType=e.databaseType,this._requestStandardised=e.requestStandardised),this.objectIdField=this._relatedLayer.objectIdField,this.globalIdField=this._relatedLayer.globalIdField,this.hasM=this._relatedLayer.supportsM,this.hasZ=this._relatedLayer.supportsZ,this.typeIdField=this._relatedLayer.typeIdField,this.types=this._relatedLayer.types}async databaseType(){return await this._relatedLayer.databaseType(),this._databaseType=this._relatedLayer._databaseType,this._databaseType}isTable(){return this._relatedLayer.isTable()}_isInFeatureSet(){return p.dj.InFeatureSet}_candidateIdTransform(e){return e}async _getSet(e){if(null===this._wset){await this._ensureLoaded();const t=await this._getFilteredSet("",null,null,null,e);return this._wset=t,t}return this._wset}_changeFeature(e){const t={};for(const i of this.fields)t[i.name]=e.attributes[i.name];return new l.Z({geometry:!0===this._removeGeometry?null:e.geometry,attributes:t})}async _getFilteredSet(e,t,i,r,s){if(await this.databaseType(),this.isTable()&&t&&null!==e&&""!==e)return new h.Z([],[],!0,null);const n=this._layer.nativeCapabilities();if(!1===n.canQueryRelated)return new h.Z([],[],!0,null);if(n.capabilities?.queryRelated&&n.capabilities.queryRelated.supportsPagination)return this._getFilteredSetUsingPaging(e,t,i,r,s);let a="",l=!1;null!==r&&n.capabilities?.queryRelated&&!0===n.capabilities.queryRelated.supportsOrderBy&&(a=r.constructClause(),l=!0);const o=new H.default;o.objectIds=[this._findObjectId];const u=null!==this._overrideFields?this._overrideFields:this._fieldsIncludingObjectId(this._relatedLayer.fields?this._relatedLayer.fields.map((e=>e.name)):["*"]);o.outFields=u,o.relationshipId=this.relationship.id,o.where="1=1";let d=!0;!0===this._removeGeometry&&(d=!1),o.returnGeometry=d,this._requestStandardised&&(o.sqlFormat="standard"),o.outSpatialReference=this.spatialReference,o.orderByFields=""!==a?a.split(","):null;const c=await n.source.queryRelatedFeatures(o);this._checkCancelled(s);const f=c[this._findObjectId]?c[this._findObjectId].features:[],p=[];for(let e=0;e<f.length;e++)this._featureCache[f[e].attributes[this._relatedLayer.objectIdField]]=f[e],p.push(f[e].attributes[this._relatedLayer.objectIdField]);const y=t&&null!==e&&""!==e,_=null!=i;return new h.Z(y||_?p:[],y||_?[]:p,l,null)}_fieldsIncludingObjectId(e){if(null===e)return[this.objectIdField];const t=e.slice(0);if(t.includes("*"))return t;let i=!1;for(const e of t)if(e.toUpperCase()===this.objectIdField.toUpperCase()){i=!0;break}return!1===i&&t.push(this.objectIdField),t}async _getFilteredSetUsingPaging(e,t,i,r,s){let n="",a=!1;const l=this._layer.nativeCapabilities();null!==r&&l?.capabilities?.queryRelated&&!0===l.capabilities.queryRelated.supportsOrderBy&&(n=r.constructClause(),a=!0),await this.databaseType();let o=this._maxQueryRate();const u=l.capabilities?.query.maxRecordCount;null!=u&&u<o&&(o=u);const d=t&&null!==e&&""!==e,c=null!=i;let f=null,p=!0;!0===this._removeGeometry&&(p=!1);const y=null!==this._overrideFields?this._overrideFields:this._fieldsIncludingObjectId(this._relatedLayer.fields?this._relatedLayer.fields.map((e=>e.name)):["*"]);return f=new h.Z(d||c?["GETPAGES"]:[],d||c?[]:["GETPAGES"],a,{outFields:y.join(","),resultRecordCount:o,resultOffset:0,objectIds:[this._findObjectId],where:"1=1",orderByFields:n,returnGeometry:p,returnIdsOnly:"false",internal:{set:[],lastRetrieved:0,lastPage:0,fullyResolved:!1}}),await this._expandPagedSet(f,o,0,0,s),f}_expandPagedSet(e,t,i,r,s){return this._expandPagedSetFeatureSet(e,t,i,r,s)}_clonePageDefinition(e){return null===e?null:!0!==e.groupbypage?{groupbypage:!1,outFields:e.outFields,resultRecordCount:e.resultRecordCount,resultOffset:e.resultOffset,where:e.where,objectIds:e.objectIds,orderByFields:e.orderByFields,returnGeometry:e.returnGeometry,returnIdsOnly:e.returnIdsOnly,internal:e.internal}:{groupbypage:!0,outFields:e.outFields,resultRecordCount:e.resultRecordCount,useOIDpagination:e.useOIDpagination,generatedOid:e.generatedOid,groupByFieldsForStatistics:e.groupByFieldsForStatistics,resultOffset:e.resultOffset,outStatistics:e.outStatistics,geometry:e.geometry,where:e.where,objectIds:e.objectIds,orderByFields:e.orderByFields,returnGeometry:e.returnGeometry,returnIdsOnly:e.returnIdsOnly,internal:e.internal}}async _getPhysicalPage(e,t,i){const r=e.pagesDefinition.internal.lastRetrieved,s=r,n=e.pagesDefinition.internal.lastPage,a=this._layer.nativeCapabilities(),l=new H.default;!0===this._requestStandardised&&(l.sqlFormat="standard"),l.relationshipId=this.relationship.id,l.objectIds=e.pagesDefinition.objectIds,l.resultOffset=e.pagesDefinition.internal.lastPage,l.resultRecordCount=e.pagesDefinition.resultRecordCount,l.outFields=e.pagesDefinition.outFields.split(","),l.where=e.pagesDefinition.where,l.orderByFields=""!==e.pagesDefinition.orderByFields?e.pagesDefinition.orderByFields.split(","):null,l.returnGeometry=e.pagesDefinition.returnGeometry,l.outSpatialReference=this.spatialReference;const o=await a.source.queryRelatedFeatures(l);if(this._checkCancelled(i),e.pagesDefinition.internal.lastPage!==n)return 0;const u=o[this._findObjectId]?o[this._findObjectId].features:[];for(let t=0;t<u.length;t++)e.pagesDefinition.internal.set[s+t]=u[t].attributes[this._relatedLayer.objectIdField];for(let e=0;e<u.length;e++)this._featureCache[u[e].attributes[this._relatedLayer.objectIdField]]=u[e];const d=!o[this._findObjectId]||!1===o[this._findObjectId].exceededTransferLimit;return u.length!==e.pagesDefinition.resultRecordCount&&d&&(e.pagesDefinition.internal.fullyResolved=!0),e.pagesDefinition.internal.lastRetrieved=r+u.length,e.pagesDefinition.internal.lastPage+=e.pagesDefinition.resultRecordCount,u.length}async _getFeatures(e,t,i,r){const s=[];-1!==t&&void 0===this._featureCache[t]&&s.push(t);const n=this._maxQueryRate();if(!0===this._checkIfNeedToExpandKnownPage(e,n))return await this._expandPagedSet(e,n,0,0,r),this._getFeatures(e,t,i,r);let a=0;for(let r=e._lastFetchedIndex;r<e._known.length&&(a++,a<=i&&(e._lastFetchedIndex+=1),!("GETPAGES"!==e._known[r]&&void 0===this._featureCache[e._known[r]]&&(e._known[r]!==t&&s.push(e._known[r]),s.length>i)))&&!(a>=i&&0===s.length);r++);if(0===s.length)return"success";throw new d.EN(d.H9.MissingFeatures)}async _refineSetBlock(e,t,i){return e}async _stat(e,t,i,r,s,n,a){return{calculated:!1}}get gdbVersion(){return this._relatedLayer.gdbVersion}async _canDoAggregates(e,t,i,r,s){return!1}relationshipMetaData(){return this._relatedLayer.relationshipMetaData()}serviceUrl(){return this._relatedLayer.serviceUrl()}queryAttachments(e,t,i,r,s){return this._relatedLayer.queryAttachments(e,t,i,r,s)}getFeatureByObjectId(e,t){return this._relatedLayer.getFeatureByObjectId(e,t)}getOwningSystemUrl(){return this._relatedLayer.getOwningSystemUrl()}getIdentityUser(){return this._relatedLayer.getIdentityUser()}getDataSourceFeatureSet(){return this._relatedLayer}get preferredTimeZone(){return this._relatedLayer?.preferredTimeZone??null}get dateFieldsTimeZone(){return this._relatedLayer?.dateFieldsTimeZone??null}get datesInUnknownTimezone(){return this._relatedLayer?.datesInUnknownTimezone}get editFieldsInfo(){return this._relatedLayer?.editFieldsInfo??null}get timeInfo(){return this._relatedLayer?.timeInfo??null}async getFeatureSetInfo(){return this.fsetInfo??this._layer.featureSetInfo}}var ee=i(48039),te=i(15235);function ie(){null===ee.Z.applicationCache&&(ee.Z.applicationCache=new ee.Z)}async function re(e,t){if(ee.Z.applicationCache){const i=ee.Z.applicationCache.getLayerInfo(e);if(i){const r=await i;return new O.default({url:e,outFields:t,sourceJSON:r})}const r=new O.default({url:e,outFields:t}),s=(async()=>(await r.load(),r.sourceJSON))();if(ee.Z.applicationCache){ee.Z.applicationCache.setLayerInfo(e,s);try{return await s,r}catch(t){throw ee.Z.applicationCache.clearLayerInfo(e),t}}return await s,r}return new O.default({url:e,outFields:t})}async function se(e,t,i,r,s,n=null){return ne(await re(e,["*"]),t,i,r,s,n)}function ne(e,t=null,i=null,r=!0,s=null,a=null){if(e instanceof O.default||(0,n.$)(e)){const n={layer:e,spatialReference:t,outFields:i,includeGeometry:r,lrucache:s,interceptor:a};return 1==!(e.url||!e.source)?new X.Z(n):new $(n)}const l=ne(e.parent,t,i,r,s,a);return l.filter(g.WhereClause.create(e.parent.subtypeField+"="+e.subtypeCode.toString(),e.parent.fieldsIndex,l.dateFieldsTimeZoneDefaultUTC))}async function ae(e){if(null!==ee.Z.applicationCache){const t=ee.Z.applicationCache.getLayerInfo(e);if(null!==t)return t}const t=(async()=>{const t=await(0,r.Z)(e,{responseType:"json",query:{f:"json"}});if(t.data){const e=t.data;return e.layers||(e.layers=[]),e.tables||(e.tables=[]),e}return{layers:[],tables:[]}})();if(null!==ee.Z.applicationCache){ee.Z.applicationCache.setLayerInfo(e,t);try{return await t}catch(t){throw ee.Z.applicationCache.clearLayerInfo(e),t}}return t}async function le(e,t){const i={metadata:null,networkId:-1,unVersion:3,terminals:[],queryelem:null,layerNameLkp:{},lkp:null},s=await ae(e);if(i.metadata=s,void 0!==s.controllerDatasetLayers?.utilityNetworkLayerId&&null!==s.controllerDatasetLayers.utilityNetworkLayerId){if(s.layers)for(const e of s.layers)i.layerNameLkp[e.id]=e.name;if(s.tables)for(const e of s.tables)i.layerNameLkp[e.id]=e.name;const n=s.controllerDatasetLayers.utilityNetworkLayerId;i.networkId=n;const a=await async function(e,t){const i="QUERYDATAELEMTS:"+t.toString()+":"+e;if(null!==ee.Z.applicationCache){const e=ee.Z.applicationCache.getLayerInfo(i);if(null!==e)return e}const s=(async()=>{const i=await(0,r.Z)(e+"/queryDataElements",{method:"post",responseType:"json",query:{layers:JSON.stringify([t.toString()]),f:"json"}});if(i.data){const e=i.data;if(e.layerDataElements?.[0])return e.layerDataElements[0]}throw new d.EN(d.H9.DataElementsNotFound)})();if(null!==ee.Z.applicationCache){ee.Z.applicationCache.setLayerInfo(i,s);try{return await s}catch(e){throw ee.Z.applicationCache.clearLayerInfo(i),e}}return s}(e,n);if(a){i.queryelem=a,i.queryelem?.dataElement&&void 0!==i.queryelem.dataElement.schemaGeneration&&(i.unVersion=i.queryelem.dataElement.schemaGeneration),i.lkp={},i.queryelem.dataElement.domainNetworks||(i.queryelem.dataElement.domainNetworks=[]);for(const e of i.queryelem.dataElement.domainNetworks){for(const t of e.edgeSources??[]){const e={layerId:t.layerId,sourceId:t.sourceId,className:i.layerNameLkp[t.layerId]??null};e.className&&(i.lkp[e.className]=e)}for(const t of e.junctionSources??[]){const e={layerId:t.layerId,sourceId:t.sourceId,className:i.layerNameLkp[t.layerId]??null};e.className&&(i.lkp[e.className]=e)}}if(i.queryelem.dataElement.terminalConfigurations)for(const e of i.queryelem.dataElement.terminalConfigurations)for(const t of e.terminals)i.terminals.push({terminalId:t.terminalId,terminalName:t.terminalName});const s=await async function(e){if(null!==ee.Z.applicationCache){const t=ee.Z.applicationCache.getLayerInfo(e);if(null!==t)return t}const t=(async()=>{const t=await(0,r.Z)(e,{responseType:"json",query:{f:"json"}});return t.data?t.data:null})();if(null!==ee.Z.applicationCache){ee.Z.applicationCache.setLayerInfo(e,t);try{return await t}catch(t){throw ee.Z.applicationCache.clearLayerInfo(e),t}}return t}(e+"/"+n);if(void 0!==s.systemLayers?.associationsTableId&&null!==s.systemLayers.associationsTableId){const r=[];i.unVersion>=4&&(r.push("STATUS"),r.push("PERCENTALONG"));let n=await se(e+"/"+s.systemLayers.associationsTableId.toString(),t,["OBJECTID","FROMNETWORKSOURCEID","TONETWORKSOURCEID","FROMGLOBALID","TOGLOBALID","TOTERMINALID","FROMTERMINALID","ASSOCIATIONTYPE","ISCONTENTVISIBLE","GLOBALID",...r],!1,null,null);return await n.load(),i.unVersion>=4&&(n=n.filter(g.WhereClause.create("STATUS NOT IN (1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23, 25, 26, 27, 28, 29, 30, 31, 33, 34, 35, 36, 37, 38, 39, 41, 42, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 54, 55, 57, 58, 59, 60, 61, 62, 63)",n.getFieldsIndex(),n.dateFieldsTimeZoneDefaultUTC)),await n.load()),{lkp:i.lkp,associations:n,unVersion:i.unVersion,terminals:i.terminals}}return{associations:null,unVersion:i.unVersion,lkp:null,terminals:[]}}return{associations:null,unVersion:i.unVersion,lkp:null,terminals:[]}}return{associations:null,unVersion:i.unVersion,lkp:null,terminals:[]}}async function oe(e,t,i,r=null,s=null,n=!0,a=null,l=null){let o=e.serviceUrl();if(!o)return null;o="/"===o.charAt(o.length-1)?o+t.relatedTableId.toString():o+"/"+t.relatedTableId.toString();const u=await se(o,r,s,n,a,l);return new Y({layer:e,relatedLayer:u,relationship:t,objectId:i,spatialReference:r,outFields:s,includeGeometry:n,lrucache:a,interceptor:l})}a.Z.registerAction(),T.registerAction(),u.Z.registerAction(),D.Z.registerAction(),x.Z.registerAction();class ue extends s.Z{constructor(e,t=null,i=null,r=null){super(),this._map=e,this._overridespref=t,this._lrucache=i,this._interceptor=r,this._instantLayers=[]}_makeAndAddFeatureSet(e,t=!0,i=null){const r=ne(e,this._overridespref,null===i?["*"]:i,t,this._lrucache,this._interceptor);return this._instantLayers.push({featureset:r,opitem:e,includeGeometry:t,outFields:JSON.stringify(i)}),r}async featureSetByName(e,t=!0,i=null){if(void 0!==this._map.loaded&&void 0!==this._map.load&&!1===this._map.loaded)return await this._map.load(),this.featureSetByName(e,t,i);null===i&&(i=["*"]),i=(i=i.slice(0)).sort();const r=JSON.stringify(i);for(let i=0;i<this._instantLayers.length;i++){const s=this._instantLayers[i];if(s.opitem.title===e&&s.includeGeometry===t&&s.outFields===r)return this._instantLayers[i].featureset}const s=[],a=this._map.allLayers.find((t=>{if(t instanceof O.default){if(t.title===e)return!0}else if((0,n.$)(t)){if(t.title===e)return!0;s.push(t)}return!1}));if(a)return this._makeAndAddFeatureSet(a,t,i);if(this._map.tables){const r=this._map.tables.find((t=>!!(t.title&&t.title===e||t.title&&t.title===e)));if(r){if(r instanceof O.default)return this._makeAndAddFeatureSet(r,t,i);if(r._materializedTable);else{const e=r.outFields?r:{...r,outFields:["*"]};r._materializedTable=new O.default(e)}return await r._materializedTable.load(),this._makeAndAddFeatureSet(r._materializedTable,t,i)}}for(const r of s){if("not-loaded"===r.loadStatus||"loading"===r.loadStatus)try{await r.load()}catch(e){}const s=r.sublayers.find((t=>t.title===e));if(s)return this._makeAndAddFeatureSet(s,t,i)}return null}async featureSetById(e,t=!0,i=["*"]){if(void 0!==this._map.loaded&&void 0!==this._map.load&&!1===this._map.loaded)return await this._map.load(),this.featureSetById(e,t,i);null===i&&(i=["*"]),i=(i=i.slice(0)).sort();const r=JSON.stringify(i);for(let i=0;i<this._instantLayers.length;i++){const s=this._instantLayers[i];if(s.opitem.id===e&&s.includeGeometry===t&&s.outFields===r)return this._instantLayers[i].featureset}const s=[],a=this._map.allLayers.find((t=>{if(t instanceof O.default){if(t.id===e)return!0}else if((0,n.$)(t)){if(t.id===e)return!0;s.push(t)}return!1}));if(a)return this._makeAndAddFeatureSet(a,t,i);if(this._map.tables){const r=this._map.tables.find((t=>t.id===e));if(r){if(r instanceof O.default)return this._makeAndAddFeatureSet(r,t,i);if(r._materializedTable);else{const e={...r,outFields:["*"]};r._materializedTable=new O.default(e)}return await r._materializedTable.load(),this._makeAndAddFeatureSet(r._materializedTable,t,i)}}for(const r of s){if("not-loaded"===r.loadStatus||"loading"===r.loadStatus)try{await r.load()}catch(e){}const s=r.sublayers.find((t=>t.id===e));if(s)return this._makeAndAddFeatureSet(s,t,i)}return null}}class de extends s.Z{constructor(e,t=null,i=null,r=null){super(),this._url=e,this._overridespref=t,this._lrucache=i,this._interceptor=r,this.metadata=null,this._instantLayers=[]}get url(){return this._url}_makeAndAddFeatureSet(e,t=!0,i=null){const r=ne(e,this._overridespref,null===i?["*"]:i,t,this._lrucache);return this._instantLayers.push({featureset:r,opitem:e,includeGeometry:t,outFields:JSON.stringify(i)}),r}async _loadMetaData(){const e=await ae(this._url);return this.metadata=e,e}load(){return this._loadMetaData()}clone(){return new de(this._url,this._overridespref,this._lrucache,this._interceptor)}async featureSetByName(e,t=!0,i=null){null===i&&(i=["*"]),i=(i=i.slice(0)).sort();const r=JSON.stringify(i);for(let i=0;i<this._instantLayers.length;i++){const s=this._instantLayers[i];if(s.opitem.title===e&&s.includeGeometry===t&&s.outFields===r)return this._instantLayers[i].featureset}const s=await this._loadMetaData();let n=null;for(const t of s.layers??[])t.name===e&&(n=t);if(!n)for(const t of s.tables??[])t.name===e&&(n=t);if(n){const e=await re(this._url+"/"+n.id,["*"]);return this._makeAndAddFeatureSet(e,t,i)}return null}async featureSetById(e,t=!0,i=["*"]){null===i&&(i=["*"]),i=(i=i.slice(0)).sort();const r=JSON.stringify(i);e=null!=e?e.toString():"";for(let i=0;i<this._instantLayers.length;i++){const s=this._instantLayers[i];if(s.opitem.id===e&&s.includeGeometry===t&&s.outFields===r)return this._instantLayers[i].featureset}const s=await this._loadMetaData();let n=null;for(const t of s.layers??[])null!==t.id&&void 0!==t.id&&t.id.toString()===e&&(n=t);if(!n)for(const t of s.tables??[])null!==t.id&&void 0!==t.id&&t.id.toString()===e&&(n=t);if(n){const e=await re(this._url+"/"+n.id,["*"]);return this._makeAndAddFeatureSet(e,t,i)}return null}}function ce(e,t,i=null,r=null){return new ue(e,t,i,r)}function he(e,t,i=null,r=null){return new de(e,t,i,r)}function fe(e,t,i,r,s){if(null===e)return null;if(e instanceof O.default){switch(t){case"datasource":return ne(e,s,e.outFields,!0,i,r).getDataSourceFeatureSet();case"parent":case"root":return ne(e,s,e.outFields,!0,i,r)}return null}if((0,n.$)(e)){switch(t){case"datasource":return ne(e,s,e.outFields,!0,i,r).getDataSourceFeatureSet();case"parent":case"root":return ne(e,s,e.outFields,!0,i,r)}return null}if((0,n.a0)(e)){switch(t){case"datasource":return ne(e.parent,s,e.parent.outFields,!0,i,r).getDataSourceFeatureSet();case"parent":case"root":return ne(e,s,e.parent.outFields,!0,i,r)}return null}if(e instanceof c.Z)switch(t){case"datasource":return e.getDataSourceFeatureSet();case"parent":return e;case"root":return e.getRootFeatureSet()}return null}async function pe(e,t,i,r,s,n,a,l=null){if(ee.Z.applicationCache){const o=ee.Z.applicationCache.getLayerInfo(e+":"+n.url);if(o){const e=await o;return ne(new O.default({url:(0,p.US)(e.url)+"/"+t,outFields:["*"]}),i,r,s,a,l)}}const o=new te.default({id:e,portal:n}).load();ee.Z.applicationCache&&ee.Z.applicationCache.setLayerInfo(e+":"+n.url,o);try{const e=await o;return ne(new O.default({url:(0,p.US)(e.url??"")+"/"+t,outFields:["*"]}),i,r,s,a,l)}catch(t){throw ee.Z.applicationCache&&ee.Z.applicationCache.clearLayerInfo(e+":"+n.url),t}}},70409:(e,t,i)=>{i.d(t,{$X:()=>p,QP:()=>y,TO:()=>_,Xx:()=>m,yN:()=>g});var r=i(38171),s=i(77286),n=i(59987),a=i(91136),l=i(90961),o=i(90658),u=i(36515),d=i(70586),c=i(8968),h=i(82971);class f{constructor(e){this.field=e,this.sqlRewritable=!1}postInitialization(e,t){}}class p extends f{constructor(e){super(e),this.sqlRewritable=!0}extractValue(e){return e.attributes[this.field.name]}rewriteSql(e){return{rewritten:this.sqlRewritable,where:e}}}class y extends f{constructor(e,t,i){super((0,o.JW)(e)),this.originalField=e,this.sqlRewritable=!0,this.field.name=t,this.field.alias=i}rewriteSql(e,t){return{rewritten:this.sqlRewritable,where:(0,u.bB)(e,this.field.name,this.originalField.name,t.getFieldsIndex())}}extractValue(e){return e.attributes[this.originalField.name]}}class _ extends f{constructor(e,t,i){super(e),this.codefield=t,this.lkp=i,this.reverseLkp={};for(const e in i)this.reverseLkp[i[e]]=e;this.sqlRewritable=!0}rewriteSql(e,t){const i=this.evaluateNodeToWhereClause(e.parseTree,o.Bj.Standardised,this.field.name,this.codefield instanceof c.WhereClause?(0,u.zR)(this.codefield,o.Bj.Standardised):this.codefield,e.parameters);return i.includes(_.BADNESS)?{rewritten:!1,where:e}:{rewritten:this.sqlRewritable,where:c.WhereClause.create(i,t._parent.getFieldsIndex(),t.dateFieldsTimeZoneDefaultUTC)}}evaluateNodeToWhereClause(e,t,i=null,r=null,s){let a,l,d,c;switch(e.type){case"interval":return(0,u.TE)(this.evaluateNodeToWhereClause(e.value,t,i,r,s),e.qualifier,e.op);case"case-expression":{let r=" CASE ";"simple"===e.format&&(r+=this.evaluateNodeToWhereClause(e.operand,t,i,_.BADNESS,s));for(let n=0;n<e.clauses.length;n++)r+=" WHEN "+this.evaluateNodeToWhereClause(e.clauses[n].operand,t,i,_.BADNESS,s)+" THEN "+this.evaluateNodeToWhereClause(e.clauses[n].value,t,i,_.BADNESS,s);return null!==e.else&&(r+=" ELSE "+this.evaluateNodeToWhereClause(e.else,t,i,_.BADNESS,s)),r+=" END ",r}case"parameter":{const i=s[e.value.toLowerCase()];if("string"==typeof i)return"'"+i.toString().replaceAll("'","''")+"'";if((0,o.J_)(i))return(0,u.vn)(i,t);if((0,o.T4)(i))return(0,u.vn)(i,t);if((0,o._U)(i))return(0,u.wF)(i,t);if((0,o.NP)(i))return(0,u.mA)(i,t);if((0,o.$A)(i))return(0,u.av)(i,t);if(i instanceof Array){const e=[];for(let r=0;r<i.length;r++)"string"==typeof i[r]?e.push("'"+i[r].toString().replaceAll("'","''")+"'"):(0,o.J_)(i[r])||(0,o.T4)(i[r])?e.push((0,u.vn)(i[r],t)):(0,o._U)(i[r])?e.push((0,u.wF)(i[r],t)):(0,o.NP)(i[r])?e.push((0,u.mA)(i[r],t)):(0,o.$A)(i[r])?e.push((0,u.av)(i[r],t)):e.push(i[r].toString());return e}return i.toString()}case"expression-list":l=[];for(const n of e.value)l.push(this.evaluateNodeToWhereClause(n,t,i,r,s));return l;case"unary-expression":return" ( NOT "+this.evaluateNodeToWhereClause(e.expr,t,i,_.BADNESS,s)+" ) ";case"binary-expression":switch(e.operator){case"AND":return" ("+this.evaluateNodeToWhereClause(e.left,t,i,r,s)+" AND "+this.evaluateNodeToWhereClause(e.right,t,i,r,s)+") ";case"OR":return" ("+this.evaluateNodeToWhereClause(e.left,t,i,r,s)+" OR "+this.evaluateNodeToWhereClause(e.right,t,i,r,s)+") ";case"IS":if("null"!==e.right.type)throw new n.eS(n.f.UnsupportedIsRhs);return" ("+this.evaluateNodeToWhereClause(e.left,t,i,r,s)+" IS NULL )";case"ISNOT":if("null"!==e.right.type)throw new n.eS(n.f.UnsupportedIsRhs);return" ("+this.evaluateNodeToWhereClause(e.left,t,i,r,s)+" IS NOT NULL )";case"IN":if(a=[],"expression-list"===e.right.type){if("column-reference"===e.left.type&&e.left.column.toUpperCase()===this.field.name.toUpperCase()){const n=[];let a=!0;for(const t of e.right.value){if("string"!==t.type){a=!1;break}if(void 0===this.lkp[t.value]){a=!1;break}n.push(this.lkp[t.value].toString())}if(a)return" ("+this.evaluateNodeToWhereClause(e.left,t,i,r,s)+" IN ("+n.join(",")+")) "}return a=this.evaluateNodeToWhereClause(e.right,t,i,r,s)," ("+this.evaluateNodeToWhereClause(e.left,t,i,r,s)+" IN ("+a.join(",")+")) "}return c=this.evaluateNodeToWhereClause(e.right,t,i,r,s),c instanceof Array?" ("+this.evaluateNodeToWhereClause(e.left,t,i,r,s)+" IN ("+c.join(",")+")) ":" ("+this.evaluateNodeToWhereClause(e.left,t,i,r,s)+" IN ("+c+")) ";case"NOT IN":if(a=[],"expression-list"===e.right.type){if("column-reference"===e.left.type&&e.left.column.toUpperCase()===this.field.name.toUpperCase()){const n=[];let a=!0;for(const t of e.right.value){if("string"!==t.type){a=!1;break}if(void 0===this.lkp[t.value]){a=!1;break}n.push(this.lkp[t.value].toString())}if(a)return" ("+this.evaluateNodeToWhereClause(e.left,t,i,r,s)+" NOT IN ("+n.join(",")+")) "}return a=this.evaluateNodeToWhereClause(e.right,t,i,r,s)," ("+this.evaluateNodeToWhereClause(e.left,t,i,r,s)+" NOT IN ("+a.join(",")+")) "}return c=this.evaluateNodeToWhereClause(e.right,t,i,r,s),c instanceof Array?" ("+this.evaluateNodeToWhereClause(e.left,t,i,r,s)+" NOT IN ("+c.join(",")+")) ":" ("+this.evaluateNodeToWhereClause(e.left,t,i,r,s)+" NOT IN ("+c+")) ";case"BETWEEN":return d=this.evaluateNodeToWhereClause(e.right,t,i,_.BADNESS,s)," ("+this.evaluateNodeToWhereClause(e.left,t,i,_.BADNESS,s)+" BETWEEN "+d[0]+" AND "+d[1]+" ) ";case"NOTBETWEEN":return d=this.evaluateNodeToWhereClause(e.right,t,i,_.BADNESS,s)," ("+this.evaluateNodeToWhereClause(e.left,t,i,_.BADNESS,s)+" NOT BETWEEN "+d[0]+" AND "+d[1]+" ) ";case"LIKE":return""!==e.escape?" ("+this.evaluateNodeToWhereClause(e.left,t,i,_.BADNESS,s)+" LIKE "+this.evaluateNodeToWhereClause(e.right,t,i,_.BADNESS,s)+" ESCAPE '"+e.escape+"') ":" ("+this.evaluateNodeToWhereClause(e.left,t,i,_.BADNESS,s)+" LIKE "+this.evaluateNodeToWhereClause(e.right,t,i,_.BADNESS,s)+") ";case"NOT LIKE":return""!==e.escape?" ("+this.evaluateNodeToWhereClause(e.left,t,i,_.BADNESS,s)+" NOT LIKE "+this.evaluateNodeToWhereClause(e.right,t,i,_.BADNESS,s)+" ESCAPE '"+e.escape+"') ":" ("+this.evaluateNodeToWhereClause(e.left,t,i,_.BADNESS,s)+" NOT LIKE "+this.evaluateNodeToWhereClause(e.right,t,i,_.BADNESS,s)+") ";case"<>":case"=":if("column-reference"===e.left.type&&"string"===e.right.type){if(e.left.column.toUpperCase()===this.field.name.toUpperCase()&&void 0!==this.lkp[e.right.value.toString()])return" ("+r+" "+e.operator+" "+this.lkp[e.right.value.toString()].toString()+") "}else if("column-reference"===e.right.type&&"string"===e.left.type&&e.right.column.toUpperCase()===this.field.name.toUpperCase())return" ("+this.lkp[e.right.value.toString()].toString()+" "+e.operator+" "+r+") ";return" ("+this.evaluateNodeToWhereClause(e.left,t,i,_.BADNESS,s)+" "+e.operator+" "+this.evaluateNodeToWhereClause(e.right,t,i,_.BADNESS,s)+") ";case"<":case">":case">=":case"<=":case"*":case"-":case"+":case"/":case"||":return" ("+this.evaluateNodeToWhereClause(e.left,t,i,_.BADNESS,s)+" "+e.operator+" "+this.evaluateNodeToWhereClause(e.right,t,i,_.BADNESS,s)+") "}case"null":return"null";case"boolean":return!0===e.value?"1":"0";case"string":return"'"+e.value.toString().replaceAll("'","''")+"'";case"timestamp":return`timestamp '${e.value}'`;case"date":return`date '${e.value}'`;case"time":return`time '${e.value}'`;case"number":return e.value.toString();case"current-time":return(0,u.vR)("date"===e.mode,t);case"column-reference":return i&&i.toLowerCase()===e.column.toLowerCase()?"("+r+")":e.column;case"data-type":return e.value;case"function":{const r=this.evaluateNodeToWhereClause(e.args,t,i,_.BADNESS,s);return(0,u.fz)(e.name,r,t)}}throw new n.eS(n.f.UnsupportedSyntax,{node:e.type})}extractValue(e){return this.codefield instanceof c.WhereClause?this.reverseLkp[c.WhereClause.convertValueToStorageFormat(this.codefield.calculateValueCompiled(e))]:this.reverseLkp[e.attributes[this.codefield]]}}_.BADNESS="_!!!_BAD_LKP_!!!!";class g extends f{constructor(e,t){super(e),this._sql=t}rewriteSql(e,t){return{rewritten:!0,where:(0,u.bB)(e,this.field.name,(0,u.zR)(this._sql,o.Bj.Standardised),t.getFieldsIndex())}}extractValue(e){return c.WhereClause.convertValueToStorageFormat(this._sql.calculateValueCompiled(e),this.field.type)}}class m extends a.Z{static findField(e,t){for(const i of e)if(i.name.toLowerCase()===t.toString().toLowerCase())return i;return null}constructor(e){super(e),this._calcFunc=null,this.declaredClass="esri.arcade.featureset.actions.Adapted",this.adaptedFields=[],this._extraFilter=null,this._extraFilter=e.extraFilter,this._parent=e.parentfeatureset,this._maxProcessing=30,this.adaptedFields=e.adaptedFields}_initialiseFeatureSet(){null!==this._parent?(this.geometryType=this._parent.geometryType,this.objectIdField=this._parent.objectIdField,this.globalIdField=this._parent.globalIdField,this.spatialReference=this._parent.spatialReference,this.hasM=this._parent.hasM,this.hasZ=this._parent.hasZ,this.typeIdField=this._parent.typeIdField,this.types=this._parent.types):(this.spatialReference=new h.Z({wkid:4326}),this.objectIdField="",this.globalIdField="",this.geometryType=o.Qk.point,this.typeIdField="",this.types=null),this.fields=[];for(const e of this.adaptedFields)e.postInitialization(this,this._parent),this.fields.push(e.field)}async _getSet(e){if(null===this._wset){await this._ensureLoaded();let t=null;return t=this._extraFilter?await this._getFilteredSet("",null,null,null,e):await(this._parent?._getSet(e)),this._checkCancelled(e),(0,d.O3)(t),this._wset=new l.Z(t._candidates.slice(0),t._known.slice(0),t._ordered,this._clonePageDefinition(t.pagesDefinition)),this._wset}return this._wset}_isInFeatureSet(e){return this._parent._isInFeatureSet(e)}async _getFeatures(e,t,i,n){const a=[];-1!==t&&void 0===this._featureCache[t]&&a.push(t);const o=this._maxQueryRate();if(!0===this._checkIfNeedToExpandKnownPage(e,o))return await this._expandPagedSet(e,o,0,0,n),this._getFeatures(e,t,i,n);let u=0;for(let r=e._lastFetchedIndex;r<e._known.length&&(u++,u<=i&&(e._lastFetchedIndex+=1),!(void 0===this._featureCache[e._known[r]]&&(e._known[r]!==t&&a.push(e._known[r]),a.length>=o)));r++);if(0===a.length)return"success";e=new l.Z([],a,e._ordered,null);const d=Math.min(a.length,i);await(this._parent?._getFeatures(e,-1,d,n)),this._checkCancelled(n);const c=[];for(let e=0;e<d;e++){const t=this._parent?._featureFromCache(a[e]);void 0!==t&&c.push({geometry:t.geometry,attributes:t.attributes,id:a[e]})}for(const e of c){const t=[];for(const i of this.adaptedFields)t[i.field.name]=i.extractValue(e);this._featureCache[e.id]=new r.Z({attributes:t,geometry:(0,s.r1)(e.geometry)})}return"success"}async _fetchAndRefineFeatures(){throw new n.EN(n.H9.NeverReach)}async _getFilteredSet(e,t,i,r,s){let n=!1;const a=this._reformulateWithoutAdaptions(i);n=a.cannot,i=a.where;let o=!1;if(null!==r){o=!0;const e=[];for(const t of this.adaptedFields)if(!(t instanceof p)&&!0===r.scanForField(t.field.name)){if(!(t instanceof y)){r=null,o=!1;break}e.push({field:t.field.name,newfield:t.originalField.name})}r&&e.length>0&&(r=r.replaceFields(e))}null!==i?null!==this._extraFilter&&(i=(0,u.$e)(this._extraFilter,i)):i=this._extraFilter,await this._ensureLoaded();const d=await this._parent._getFilteredSet(e,t,i,r,s);let c;return this._checkCancelled(s),c=!0===n?new l.Z(d._candidates.slice(0).concat(d._known.slice(0)),[],!0===o&&d._ordered,this._clonePageDefinition(d.pagesDefinition)):new l.Z(d._candidates.slice(0),d._known.slice(0),!0===o&&d._ordered,this._clonePageDefinition(d.pagesDefinition)),c}_reformulateWithoutAdaptions(e){const t={cannot:!1,where:e};if(null!==e)for(const i of this.adaptedFields)if(!0===(0,u.hq)(e,i.field.name)){const r=i.rewriteSql(e,this);if(!0!==r.rewritten){t.cannot=!0,t.where=null;break}t.where=r.where}return t}async _stat(e,t,i,r,s,n,a){let l=!1,o=this._reformulateWithoutAdaptions(t);if(l=o.cannot,t=o.where,o=this._reformulateWithoutAdaptions(s),l=l||o.cannot,null!==(s=o.where)?null!==this._extraFilter&&(s=(0,u.$e)(this._extraFilter,s)):s=this._extraFilter,!0===l)return null===s&&""===i&&null===r?this._manualStat(e,t,n,a):{calculated:!1};const d=await this._parent._stat(e,t,i,r,s,n,a);return!1===d.calculated?null===s&&""===i&&null===r?this._manualStat(e,t,n,a):{calculated:!1}:d}async _canDoAggregates(e,t,i,r,s){if(null===this._parent)return!1;for(let t=0;t<e.length;t++)for(const i of this.adaptedFields)if(e[t].toLowerCase()===i.field.name.toLowerCase()&&!(i instanceof p))return!1;const n=[];for(let e=0;e<t.length;e++){const i=t[e];if(null!==i.workingexpr){const e=this._reformulateWithoutAdaptions(i.workingexpr);if(e.cannot)return!1;const t=i.clone();t.workingexpr=e.where,n.push(t)}else n.push(i)}const a=this._reformulateWithoutAdaptions(s);return!a.cannot&&(null!==(s=a.where)?null!==this._extraFilter&&(s=(0,u.$e)(this._extraFilter,s)):s=this._extraFilter,this._parent._canDoAggregates(e,n,i,r,s))}async _getAggregatePagesDataSourceDefinition(e,t,i,r,s,a,l){if(null===this._parent)throw new n.EN(n.H9.NeverReach);const o=[];for(let e=0;e<t.length;e++){const i=t[e];if(null!==i.workingexpr){const e=this._reformulateWithoutAdaptions(i.workingexpr);if(e.cannot)throw new n.EN(n.H9.NeverReach);const t=i.clone();t.workingexpr=e.where,o.push(t)}else o.push(i)}const d=this._reformulateWithoutAdaptions(s);if(d.cannot)throw new n.EN(n.H9.NeverReach);return null!==(s=d.where)?null!==this._extraFilter&&(s=(0,u.$e)(this._extraFilter,s)):s=this._extraFilter,this._parent._getAggregatePagesDataSourceDefinition(e,o,i,r,s,a,l)}}},84328:(e,t,i)=>{i.d(t,{Z:()=>c});var r=i(59987),s=i(91136),n=i(90961),a=i(90658),l=i(36515),o=i(95330),u=i(8968),d=i(82971);class c extends s.Z{constructor(e){super(e),this.declaredClass="esri.arcade.featureset.actions.AttributeFilter",this._maxProcessing=1e3,this._parent=e.parentfeatureset,e.whereclause instanceof u.WhereClause?(this._whereclause=e.whereclause,this._whereClauseFunction=null):(this._whereClauseFunction=e.whereclause,this._whereclause=null)}_initialiseFeatureSet(){null!==this._parent?(this.fields=this._parent.fields.slice(0),this.geometryType=this._parent.geometryType,this.objectIdField=this._parent.objectIdField,this.globalIdField=this._parent.globalIdField,this.spatialReference=this._parent.spatialReference,this.hasM=this._parent.hasM,this.hasZ=this._parent.hasZ,this.typeIdField=this._parent.typeIdField,this.types=this._parent.types):(this.fields=[],this.typeIdField="",this.objectIdField="",this.globalIdField="",this.spatialReference=new d.Z({wkid:4326}),this.geometryType=a.Qk.point)}async _getSet(e){if(null===this._wset){await this._ensureLoaded();const t=await this._parent._getFilteredSet("",null,this._whereclause,null,e);return this._checkCancelled(e),null!==this._whereClauseFunction?this._wset=new n.Z(t._candidates.slice(0).concat(t._known.slice(0)),[],t._ordered,this._clonePageDefinition(t.pagesDefinition)):this._wset=new n.Z(t._candidates.slice(0),t._known.slice(0),t._ordered,this._clonePageDefinition(t.pagesDefinition)),this._wset}return this._wset}_isInFeatureSet(e){let t=this._parent?._isInFeatureSet(e);return t===a.dj.NotInFeatureSet?t:(t=this._idstates[e],void 0===t?a.dj.Unknown:t)}_getFeature(e,t,i){return this._parent._getFeature(e,t,i)}_getFeatures(e,t,i,r){return this._parent._getFeatures(e,t,i,r)}_featureFromCache(e){return this._parent._featureFromCache(e)}executeWhereClause(e){return this._whereclause?.testFeature(e)??!1}async executeWhereClauseDeferred(e){if(null!==this._whereClauseFunction){const t=this._whereClauseFunction(e);return(0,o.y8)(t),t}return this.executeWhereClause(e)}async _fetchAndRefineFeatures(e,t,i){const r=new n.Z([],e,!1,null),s=Math.min(t,e.length);if(await(this._parent?._getFeatures(r,-1,s,i)),this._checkCancelled(i),null==this._whereClauseFunction){for(let t=0;t<s;t++){const i=this._parent?._featureFromCache(e[t]);!0===this.executeWhereClause(i)?this._idstates[e[t]]=a.dj.InFeatureSet:this._idstates[e[t]]=a.dj.NotInFeatureSet}return"success"}const l=[];for(let t=0;t<s;t++){const i=this._parent?._featureFromCache(e[t]);l.push(await this.executeWhereClauseDeferred(i))}for(let i=0;i<t;i++)!0===l[i]?this._idstates[e[i]]=a.dj.InFeatureSet:this._idstates[e[i]]=a.dj.NotInFeatureSet;return"success"}async _getFilteredSet(e,t,i,r,s){null!==this._whereClauseFunction||(null!==i?null!==this._whereclause&&(i=(0,l.$e)(this._whereclause,i)):i=this._whereclause),await this._ensureLoaded();const a=await this._parent._getFilteredSet(e,t,i,r,s);let o;return this._checkCancelled(s),o=null!==this._whereClauseFunction?new n.Z(a._candidates.slice(0).concat(a._known.slice(0)),[],a._ordered,this._clonePageDefinition(a.pagesDefinition)):new n.Z(a._candidates.slice(0),a._known.slice(0),a._ordered,this._clonePageDefinition(a.pagesDefinition)),o}async _stat(e,t,i,r,s,n,a){if(null!==this._whereClauseFunction)return null===s&&""===i&&null===r?this._manualStat(e,t,n,a):{calculated:!1};let o=this._whereclause;null!==s&&null!==this._whereclause&&(o=(0,l.$e)(this._whereclause,s));const u=await this._parent._stat(e,t,i,r,o,n,a);return!1===u.calculated?null===s&&""===i&&null===r?this._manualStat(e,t,n,a):{calculated:!1}:u}async _canDoAggregates(e,t,i,r,s){return null===this._whereClauseFunction&&(null!==s?null!==this._whereclause&&(s=(0,l.$e)(this._whereclause,s)):s=this._whereclause,null!==this._parent&&this._parent._canDoAggregates(e,t,i,r,s))}async _getAggregatePagesDataSourceDefinition(e,t,i,s,n,a,o){if(null===this._parent)throw new r.EN(r.H9.NeverReach);return null!==n?null!==this._whereclause&&(n=(0,l.$e)(this._whereclause,n)):n=this._whereclause,this._parent._getAggregatePagesDataSourceDefinition(e,t,i,s,n,a,o)}static registerAction(){s.Z._featuresetFunctions.filter=function(e){if("function"==typeof e)return new c({parentfeatureset:this,whereclause:e});let t=null;return e instanceof u.WhereClause&&(t=e),new c({parentfeatureset:this,whereclause:t})}}getFieldsIndex(){return this._parent.getFieldsIndex()}}},85065:(e,t,i)=>{i.d(t,{Z:()=>o});var r=i(61363),s=i(59987),n=i(91136),a=i(90961),l=i(3823);class o extends n.Z{constructor(e){super(e),this._orderbyclause=null,this.declaredClass="esri.arcade.featureset.actions.OrderBy",this._maxProcessing=100,this._orderbyclause=e.orderbyclause,this._parent=e.parentfeatureset}async _getSet(e){if(null===this._wset){await this._ensureLoaded();const t=await this._getFilteredSet("",null,null,this._orderbyclause,e);return this._checkCancelled(e),this._wset=t,this._wset}return this._wset}async manualOrderSet(e,t){const i=await this.getIdColumnDictionary(e,[],-1,t);this._orderbyclause?.order(i);const r=new a.Z([],[],!0,null);for(let e=0;e<i.length;e++)r._known.push(i[e].id);return r}async getIdColumnDictionary(e,t,i,s){if(i<e._known.length-1){const n=this._maxQueryRate();if("GETPAGES"===e._known[i+1])return await(0,r.a1)(this._parent._expandPagedSet(e,n,0,0,s)),this.getIdColumnDictionary(e,t,i,s);let a=i+1;const l=[];for(;a<e._known.length&&"GETPAGES"!==e._known[a];)l.push(e._known[a]),a++;i+=l.length;const o=await(0,r.a1)(this._parent._getFeatureBatch(l,s));this._checkCancelled(s);for(const e of o)t.push({id:e.attributes[this.objectIdField],feature:e});return this.getIdColumnDictionary(e,t,i,s)}return e._candidates.length>0?(await(0,r.a1)(this._refineSetBlock(e,this._maxProcessingRate(),s)),this._checkCancelled(s),this.getIdColumnDictionary(e,t,i,s)):t}_isInFeatureSet(e){return this._parent._isInFeatureSet(e)}_getFeatures(e,t,i,r){return this._parent._getFeatures(e,t,i,r)}_featureFromCache(e){if(void 0===this._featureCache[e]){const t=this._parent._featureFromCache(e);if(void 0===t)return;return null===t?null:(this._featureCache[e]=t,t)}return this._featureCache[e]}async _fetchAndRefineFeatures(){throw new s.EN(s.H9.NeverReach)}async _getFilteredSet(e,t,i,r,s){await this._ensureLoaded();const n=await this._parent._getFilteredSet(e,t,i,null===r?this._orderbyclause:r,s);this._checkCancelled(s);const l=new a.Z(n._candidates.slice(0),n._known.slice(0),n._ordered,this._clonePageDefinition(n.pagesDefinition));let o=!0;if(n._candidates.length>0&&(o=!1),!1===l._ordered){let e=await this.manualOrderSet(l,s);return!1===o&&(null===t&&null===i||(e=new a.Z(e._candidates.slice(0).concat(e._known.slice(0)),[],e._ordered,this._clonePageDefinition(e.pagesDefinition)))),e}return l}static registerAction(){n.Z._featuresetFunctions.orderBy=function(e){return""===e?this:new o({parentfeatureset:this,orderbyclause:new l.Z(e)})}}getFieldsIndex(){return this._parent.getFieldsIndex()}}},63991:(e,t,i)=>{i.d(t,{Z:()=>l});var r=i(59987),s=i(91136),n=i(90961),a=i(90658);class l extends s.Z{constructor(e){super(e),this._topnum=0,this.declaredClass="esri.arcade.featureset.actions.Top",this._countedin=0,this._maxProcessing=100,this._topnum=e.topnum,this._parent=e.parentfeatureset}async _getSet(e){if(null===this._wset){await this._ensureLoaded();const t=await this._parent._getSet(e);return this._wset=new n.Z(t._candidates.slice(0),t._known.slice(0),!1,this._clonePageDefinition(t.pagesDefinition)),this._setKnownLength(this._wset)>this._topnum&&(this._wset._known=this._wset._known.slice(0,this._topnum)),this._setKnownLength(this._wset)>=this._topnum&&(this._wset._candidates=[]),this._wset}return this._wset}_setKnownLength(e){return e._known.length>0&&"GETPAGES"===e._known[e._known.length-1]?e._known.length-1:e._known.length}_isInFeatureSet(e){const t=this._parent._isInFeatureSet(e);if(t===a.dj.NotInFeatureSet)return t;const i=this._idstates[e];return i===a.dj.InFeatureSet||i===a.dj.NotInFeatureSet?i:t===a.dj.InFeatureSet&&void 0===i?this._countedin<this._topnum?(this._idstates[e]=a.dj.InFeatureSet,this._countedin++,a.dj.InFeatureSet):(this._idstates[e]=a.dj.NotInFeatureSet,a.dj.NotInFeatureSet):a.dj.Unknown}async _expandPagedSet(e,t,i,s,n){if(null===this._parent)throw new r.EN(r.H9.NotImplemented);if(t>this._topnum&&(t=this._topnum),this._countedin>=this._topnum&&e.pagesDefinition.internal.set.length<=e.pagesDefinition.resultOffset){let t=e._known.length;return t>0&&"GETPAGES"===e._known[t-1]&&(e._known.length=t-1),t=e._candidates.length,t>0&&"GETPAGES"===e._candidates[t-1]&&(e._candidates.length=t-1),"success"}const a=await this._parent._expandPagedSet(e,t,i,s,n);return this._setKnownLength(e)>this._topnum&&(e._known.length=this._topnum),this._setKnownLength(e)>=this._topnum&&(e._candidates.length=0),a}async _getFeatures(e,t,i,r){const s=[],a=this._maxQueryRate();if(!0===this._checkIfNeedToExpandKnownPage(e,a))return await this._expandPagedSet(e,a,0,0,r),this._getFeatures(e,t,i,r);-1!==t&&void 0===this._featureCache[t]&&s.push(t);let l=0;for(let r=e._lastFetchedIndex;r<e._known.length&&(l++,l<=i&&(e._lastFetchedIndex+=1),!(void 0===this._featureCache[e._known[r]]&&(e._known[r]!==t&&s.push(e._known[r]),s.length>a)));r++);if(0===s.length)return"success";const o=new n.Z([],s,!1,null),u=Math.min(s.length,i);await this._parent._getFeatures(o,-1,u,r);for(let e=0;e<u;e++){const t=this._parent._featureFromCache(s[e]);void 0!==t&&(this._featureCache[s[e]]=t)}return"success"}async _getFilteredSet(e,t,i,r,s){await this._ensureLoaded();const a=await this._getSet(s);return new n.Z(a._candidates.slice(0).concat(a._known.slice(0)),[],!1,this._clonePageDefinition(a.pagesDefinition))}_refineKnowns(e,t){let i=0,r=null;const s=[];for(let n=0;n<e._candidates.length;n++){const l=this._isInFeatureSet(e._candidates[n]);if(l===a.dj.InFeatureSet){if(e._known.push(e._candidates[n]),i+=1,null===r?r={start:n,end:n}:r.end===n-1?r.end=n:(s.push(r),r={start:n,end:n}),e._known.length>=this._topnum)break}else if(l===a.dj.NotInFeatureSet)null===r?r={start:n,end:n}:r.end===n-1?r.end=n:(s.push(r),r={start:n,end:n}),i+=1;else if(l===a.dj.Unknown)break;if(i>=t)break}null!==r&&s.push(r);for(let t=s.length-1;t>=0;t--)e._candidates.splice(s[t].start,s[t].end-s[t].start+1);this._setKnownLength(e)>this._topnum&&(e._known=e._known.slice(0,this._topnum)),this._setKnownLength(e)>=this._topnum&&(e._candidates=[])}async _stat(){return{calculated:!1}}async _canDoAggregates(){return!1}static registerAction(){s.Z._featuresetFunctions.top=function(e){return new l({parentfeatureset:this,topnum:e})}}getFieldsIndex(){return this._parent.getFieldsIndex()}}},17805:(e,t,i)=>{i.d(t,{Z:()=>y});var r=i(38171),s=i(59987),n=i(91136),a=i(90961),l=i(90658),o=i(36515),u=i(9361),d=i(19238),c=i(20697),h=i(16451),f=i(1231),p=i(14165);class y extends n.Z{constructor(e){super(e),this.declaredClass="esri.arcade.featureset.sources.FeatureLayerMemory",this._removeGeometry=!1,this._overrideFields=null,this._forceIsTable=!1,e.spatialReference&&(this.spatialReference=e.spatialReference),this._transparent=!0,this._maxProcessing=1e3,this._layer=e.layer,this._wset=null,!0===e.isTable&&(this._forceIsTable=!0),void 0!==e.outFields&&(this._overrideFields=e.outFields),void 0!==e.includeGeometry&&(this._removeGeometry=!1===e.includeGeometry)}_maxQueryRate(){return l.tI}end(){return this._layer}optimisePagingFeatureQueries(){}async loadImpl(){return!0===this._layer.loaded?(this._initialiseFeatureSet(),this):(await this._layer.load(),this._initialiseFeatureSet(),this)}get gdbVersion(){return""}_initialiseFeatureSet(){if(null==this.spatialReference&&(this.spatialReference=this._layer.spatialReference),this.geometryType=this._layer.geometryType,this.fields=this._layer.fields.slice(0),null!==this._overrideFields)if(1===this._overrideFields.length&&"*"===this._overrideFields[0])this._overrideFields=null;else{const e=[],t=[];for(const i of this.fields)if("oid"===i.type)e.push(i),t.push(i.name);else for(const r of this._overrideFields)if(r.toLowerCase()===i.name.toLowerCase()){e.push(i),t.push(i.name);break}this.fields=e,this._overrideFields=t}this.objectIdField=this._layer.objectIdField;for(const e of this.fields)"global-id"===e.type&&(this.globalIdField=e.name);this._databaseType=l.Bj.Standardised,this.hasZ=!0===this._layer?.capabilities?.data?.supportsZ,this.hasM=!0===this._layer?.capabilities?.data?.supportsM,this._layer instanceof c.default?(this.typeIdField=this._layer.subtypeField??"",this.types=this._layer.subtypes):(this.typeIdField=this._layer.typeIdField??"",this.types=this._layer.types)}isTable(){return this._forceIsTable||this._layer.isTable||"table"===this._layer.type||!this._layer.geometryType}_isInFeatureSet(){return l.dj.InFeatureSet}_candidateIdTransform(e){return e}async _getSet(e){if(null===this._wset){await this._ensureLoaded();const t=await this._getFilteredSet("",null,null,null,e);return this._wset=t,t}return this._wset}_changeFeature(e){const t={};for(const i of this.fields)t[i.name]=e.attributes[i.name];return new r.Z({geometry:!0===this._removeGeometry?null:e.geometry,attributes:t})}async _getFilteredSet(e,t,i,r,s){let n="",u=!1;if(null!==r&&(n=r.constructClause(),u=!0),this.isTable()&&t&&null!==e&&""!==e)return new a.Z([],[],!0,null);const d=new p.Z;d.returnZ=this.hasZ,d.returnM=this.hasM,d.where=null===i?null===t?"1=1":"":(0,o.zR)(i,l.Bj.Standardised),d.spatialRelationship=this._makeRelationshipEnum(e),d.outSpatialReference=this.spatialReference,d.orderByFields=""!==n?n.split(","):null,d.geometry=null===t?null:t,d.returnGeometry=!0,d.relationParameter=this._makeRelationshipParam(e);const c=await this._layer.queryFeatures(d);if(null===c)return new a.Z([],[],u,null);this._checkCancelled(s);const h=[];return c.features.forEach((e=>{const t=e.attributes[this._layer.objectIdField];h.push(t),this._featureCache[t]=this._changeFeature(e)})),new a.Z([],h,u,null)}_makeRelationshipEnum(e){if(e.includes("esriSpatialRelRelation"))return"relation";switch(e){case"esriSpatialRelRelation":return"relation";case"esriSpatialRelIntersects":return"intersects";case"esriSpatialRelContains":return"contains";case"esriSpatialRelOverlaps":return"overlaps";case"esriSpatialRelWithin":return"within";case"esriSpatialRelTouches":return"touches";case"esriSpatialRelCrosses":return"crosses";case"esriSpatialRelEnvelopeIntersects":return"envelope-intersects"}return e}_makeRelationshipParam(e){return e.includes("esriSpatialRelRelation")?e.split(":")[1]:""}async _queryAllFeatures(){if(this._wset)return this._wset;const e=new p.Z;if(e.where="1=1",await this._ensureLoaded(),this._layer.source&&this._layer.source.items){const e=[];return this._layer.source.items.forEach((t=>{const i=t.attributes[this._layer.objectIdField];e.push(i),this._featureCache[i]=this._changeFeature(t)})),this._wset=new a.Z([],e,!1,null),this._wset}e.returnZ=this.hasZ,e.returnM=this.hasM;const t=await this._layer.queryFeatures(e),i=[];return t.features.forEach((e=>{const t=e.attributes[this._layer.objectIdField];i.push(t),this._featureCache[t]=this._changeFeature(e)})),this._wset=new a.Z([],i,!1,null),this._wset}async _getFeatures(e,t,i){const r=[];-1!==t&&void 0===this._featureCache[t]&&r.push(t);for(let s=e._lastFetchedIndex;s<e._known.length&&(e._lastFetchedIndex+=1,!(void 0===this._featureCache[e._known[s]]&&(e._known[s]!==t&&r.push(e._known[s]),r.length>i)));s++);if(0===r.length)return"success";throw new s.EN(s.H9.MissingFeatures)}async _refineSetBlock(e){return e}async _stat(){return{calculated:!1}}async _canDoAggregates(){return!1}relationshipMetaData(){return[]}static _cloneAttr(e){const t={};for(const i in e)t[i]=e[i];return t}nativeCapabilities(){return{title:this._layer.title??"",canQueryRelated:!1,source:this,capabilities:this._layer.capabilities,databaseType:this._databaseType,requestStandardised:!0}}static create(e,t){let i=e.layerDefinition.objectIdField;const r=e.layerDefinition.typeIdField??"",s=[];if(e.layerDefinition.types)for(const t of e.layerDefinition.types)s.push(h.Z.fromJSON(t));let n=e.layerDefinition.geometryType;void 0===n&&(n=e.featureSet.geometryType||"");let a=e.featureSet.features;const l=t.toJSON();if(!i){let t=!1;for(const r of e.layerDefinition.fields)if("oid"===r.type||"esriFieldTypeOID"===r.type){i=r.name,t=!0;break}if(!1===t){let t="FID",r=!0,s=0;for(;r;){let i=!0;for(const r of e.layerDefinition.fields)if(r.name===t){i=!1;break}!0===i?r=!1:(s++,t="FID"+s.toString())}e.layerDefinition.fields.push({type:"esriFieldTypeOID",name:t,alias:t});const n=[];for(let i=0;i<a.length;i++)n.push({geometry:e.featureSet.features[i].geometry,attributes:e.featureSet.features[i].attributes?this._cloneAttr(e.featureSet.features[i].attributes):{}}),n[i].attributes[t]=i;a=n,i=t}}const o=[];for(const t of e.layerDefinition.fields)t instanceof f.Z?o.push(t):o.push(f.Z.fromJSON(t));let c=n;switch(c||(c=""),c){case"esriGeometryPoint":c="point";break;case"esriGeometryPolyline":c="polyline";break;case"esriGeometryPolygon":c="polygon";break;case"esriGeometryEnvelope":c="extent";break;case"esriGeometryMultipoint":c="multipoint";break;case"":case"esriGeometryNull":c="esriGeometryNull"}if("esriGeometryNull"!==c)for(const e of a)e.geometry&&e.geometry instanceof u.Z==0&&(e.geometry.type=c,void 0===e.geometry.spatialReference&&(e.geometry.spatialReference=l));else for(const e of a)e.geometry&&(e.geometry=null);const p={outFields:["*"],source:a,fields:o,hasZ:!0===e?.layerDefinition?.hasZ||!0===e?.featureSet?.hasZ,hasM:!0===e?.layerDefinition?.hasM||!0===e?.featureSet?.hasM,types:s,typeIdField:r,objectIdField:i,spatialReference:t},_="esriGeometryNull"===c||null===c;_||(p.geometryType=c);const g=new d.default(p);return new y({layer:g,spatialReference:t,isTable:_})}async queryAttachments(){return[]}async getFeatureByObjectId(e){const t=new p.Z;t.where=this.objectIdField+"="+e.toString(),t.returnZ=this.hasZ,t.returnM=this.hasM;const i=await this._layer.queryFeatures(t);return 1===i.features.length?i.features[0]:null}async getOwningSystemUrl(){return""}async getIdentityUser(){return""}get preferredTimeZone(){return this._layer.preferredTimeZone??null}get dateFieldsTimeZone(){return this._layer.dateFieldsTimeZone??null}get datesInUnknownTimezone(){return this._layer?.datesInUnknownTimezone}get editFieldsInfo(){return this._layer?.editFieldsInfo}get timeInfo(){return this._layer?.timeInfo}async getFeatureSetInfo(){const e=this._layer.title&&this._layer.parent;return this.fsetInfo??{layerId:null,layerName:null,itemId:null,serviceLayerUrl:null,webMapLayerId:e?this._layer.id??null:null,webMapLayerTitle:e?this._layer.title??null:null,className:null,objectClassId:null}}}},3823:(e,t,i)=>{function r(e,t){return e===t?0:null===e?-1:null===t?1:e<t?-1:1}i.d(t,{Z:()=>s});class s{constructor(e){const t=e.split(",");this._fields=[],this._directions=[];for(let e=0;e<t.length;e++){const i=t[e].match(/\S+/g);this._fields.push(i[0]),2===i.length?"asc"===i[1].toLowerCase()?this._directions.push(1):this._directions.push(0):this._directions.push(1)}}constructClause(){let e="";for(let t=0;t<this._fields.length;t++)0!==t&&(e+=","),e+=this._fields[t],1===this._directions[t]?e+=" ASC":e+=" DESC";return e}order(e){e.sort(((e,t)=>{for(let i=0;i<this._fields.length;i++){const s=this.featureValue(e.feature,this._fields[i],i),n=this.featureValue(t.feature,this._fields[i],i);let a=0;if(a=1===this._directions[i]?r(s,n):-1*r(s,n),0!==a)return a}return 0}))}scanForField(e){for(let t=0;t<this._fields.length;t++)if(this._fields[t].toLowerCase().trim()===e.toLowerCase().trim())return!0;return!1}replaceFields(e){let t="";for(let i=0;i<this._fields.length;i++){0!==i&&(t+=",");let r=this._fields[i];for(const t of e)if(r.toLowerCase()===t.field.toLowerCase()){r=t.newfield;break}t+=r,1===this._directions[i]?t+=" ASC":t+=" DESC"}return new s(t)}featureValue(e,t,i){const r=e.attributes[t];if(void 0!==r)return r;for(const r in e.attributes)if(t.toLowerCase()===r.toLowerCase())return this._fields[i]=r,e.attributes[r];return null}}},25929:(e,t,i)=>{i.d(t,{M:()=>p,a:()=>_,e:()=>h,f:()=>s,i:()=>d,p:()=>c,r:()=>a,t:()=>n,w:()=>l});var r=i(17452);function s(e,t){const i=t?.url?.path;if(e&&i&&(e=(0,r.hF)(e,i,{preserveProtocolRelative:!0}),t.portalItem&&t.readResourcePaths)){const i=(0,r.PF)(e,t.portalItem.itemUrl);null!=i&&u.test(i)&&t.readResourcePaths.push(t.portalItem.resourceFromPath(i).path)}return f(e,t?.portal)}function n(e,t,i=p.YES){if(null==e)return e;!(0,r.YP)(e)&&t?.blockedRelativeUrls&&t.blockedRelativeUrls.push(e);let s=(0,r.hF)(e);if(t){const i=t.verifyItemRelativeUrls?.rootPath||t.url?.path;if(i){const n=f(i,t.portal),a=f(s,t.portal);s=(0,r.PF)(a,n,n),null!=s&&s!==a&&s!==e&&t.verifyItemRelativeUrls&&t.verifyItemRelativeUrls.writtenUrls.push(s)}}return s=h(s,t?.portal),(0,r.YP)(s)&&(s=(0,r.Fv)(s)),t?.resources&&t?.portalItem&&!(0,r.YP)(s)&&!(0,r.HK)(s)&&i===p.YES&&t.resources.toKeep.push({resource:t.portalItem.resourceFromPath(s),compress:!1}),s}function a(e,t,i){return s(e,i)}function l(e,t,i,r){const s=n(e,r);void 0!==s&&(t[i]=s)}const o=/\/items\/([^\/]+)\/resources\/(.*)/,u=/^\.\/resources\//;function d(e){const t=e?.match(o)??null;return t?.[1]??null}function c(e){const t=e?.match(o)??null;if(null==t)return null;const i=t[2],s=i.lastIndexOf("/");if(-1===s){const{path:e,extension:t}=(0,r.fZ)(i);return{prefix:null,filename:e,extension:t}}const{path:n,extension:a}=(0,r.fZ)(i.slice(s+1));return{prefix:i.slice(0,s),filename:n,extension:a}}function h(e,t){return t&&!t.isPortal&&t.urlKey&&t.customBaseUrl?(0,r.Ie)(e,`${t.urlKey}.${t.customBaseUrl}`,t.portalHostname):e}function f(e,t){if(!t||t.isPortal||!t.urlKey||!t.customBaseUrl)return e;const i=`${t.urlKey}.${t.customBaseUrl}`,s=(0,r.TI)();return(0,r.D6)(s,`${s.scheme}://${i}`)?(0,r.Ie)(e,t.portalHostname,i):(0,r.Ie)(e,i,t.portalHostname)}var p,y;(y=p||(p={}))[y.YES=0]="YES",y[y.NO=1]="NO";const _=Object.freeze(Object.defineProperty({__proto__:null,get MarkKeep(){return p},ensureMainOnlineDomain:h,fromJSON:s,itemIdFromResourceUrl:d,prefixAndFilenameFromResourceUrl:c,read:a,toJSON:n,write:l},Symbol.toStringTag,{value:"Module"}))},16451:(e,t,i)=>{i.d(t,{Z:()=>f});var r=i(43697),s=i(2368),n=i(96674),a=i(5600),l=(i(75215),i(67676),i(80442),i(71715)),o=i(52011),u=i(30556),d=i(72729),c=i(70082);let h=class extends((0,s.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 i of Object.keys(e))t[i]=(0,d.im)(e[i]);return t}writeDomains(e,t){const i={};for(const t of Object.keys(e))e[t]&&(i[t]=e[t]?.toJSON());t.domains=i}};(0,r._)([(0,a.Cb)({json:{write:!0}})],h.prototype,"id",void 0),(0,r._)([(0,a.Cb)({json:{write:!0}})],h.prototype,"name",void 0),(0,r._)([(0,a.Cb)({json:{write:!0}})],h.prototype,"domains",void 0),(0,r._)([(0,l.r)("domains")],h.prototype,"readDomains",null),(0,r._)([(0,u.c)("domains")],h.prototype,"writeDomains",null),(0,r._)([(0,a.Cb)({type:[c.Z],json:{write:!0}})],h.prototype,"templates",void 0),h=(0,r._)([(0,o.j)("esri.layers.support.FeatureType")],h);const f=h},66677:(e,t,i)=>{i.d(t,{B5:()=>d,DR:()=>h,G:()=>w,M8:()=>y,Nm:()=>_,Qc:()=>c,XG:()=>g,a7:()=>p,ld:()=>f,wH:()=>m});var r=i(17452),s=i(25929);const n={mapserver:"MapServer",imageserver:"ImageServer",featureserver:"FeatureServer",sceneserver:"SceneServer",streamserver:"StreamServer",vectortileserver:"VectorTileServer"},a=Object.values(n),l=new RegExp(`^((?:https?:)?\\/\\/\\S+?\\/rest\\/services\\/(.+?)\\/(${a.join("|")}))(?:\\/(?:layers\\/)?(\\d+))?`,"i"),o=new RegExp(`^((?:https?:)?\\/\\/\\S+?\\/([^\\/\\n]+)\\/(${a.join("|")}))(?:\\/(?:layers\\/)?(\\d+))?`,"i"),u=/(.*?)\/(?:layers\/)?(\d+)\/?$/i;function d(e){return!!l.test(e)}function c(e){if(null==e)return null;const t=(0,r.mN)(e),i=t?.path.match(l)||t?.path.match(o);if(!i)return null;const[,s,a,u,d]=i,c=a.indexOf("/");return{title:f(-1!==c?a.slice(c+1):a),serverType:n[u.toLowerCase()],sublayer:null!=d&&""!==d?parseInt(d,10):null,url:{path:s}}}function h(e){const t=(0,r.mN)(e).path.match(u);return t?{serviceUrl:t[1],sublayerId:Number(t[2])}:null}function f(e){return(e=e.replaceAll(/\s*[/_]+\s*/g," "))[0].toUpperCase()+e.slice(1)}function p(e,t){const i=[];if(e){const t=c(e);null!=t&&t.title&&i.push(t.title)}if(t){const e=f(t);i.push(e)}if(2===i.length){if(i[0].toLowerCase().includes(i[1].toLowerCase()))return i[0];if(i[1].toLowerCase().includes(i[0].toLowerCase()))return i[1]}return i.join(" - ")}function y(e){if(!e)return!1;const t=(e=e.toLowerCase()).includes(".arcgis.com/"),i=e.includes("//services")||e.includes("//tiles")||e.includes("//features");return t&&i}function _(e,t){return e?(0,r.Qj)((0,r.Hu)(e,t)):e}function g(e){let{url:t}=e;if(!t)return{url:t};t=(0,r.Hu)(t,e.logger);const i=(0,r.mN)(t),s=c(i.path);let n;if(null!=s)null!=s.sublayer&&null==e.layer.layerId&&(n=s.sublayer),t=s.url.path;else if(e.nonStandardUrlAllowed){const e=h(i.path);null!=e&&(t=e.serviceUrl,n=e.sublayerId)}return{url:(0,r.Qj)(t),layerId:n}}function m(e,t,i,n,a){(0,s.w)(t,n,"url",a),n.url&&null!=e.layerId&&(n.url=(0,r.v_)(n.url,i,e.layerId.toString()))}function w(e){if(!e)return!1;const t=e.toLowerCase(),i=t.includes("/services/"),r=t.includes("/mapserver/wmsserver"),s=t.includes("/imageserver/wmsserver"),n=t.includes("/wmsserver");return i&&(r||s||n)}},2981:(e,t,i)=>{i.d(t,{$6:()=>p,$z:()=>n,F7:()=>s,Ow:()=>l,S0:()=>a,d1:()=>o,dm:()=>u});const r=[["binary","application/octet-stream","bin",""]];function s(e,t){return null!=c(t.name,e?.supportedFormats??[])}function n(e,t){if(!e)return!1;const i=u(t,e.supportedFormats??[]);return null!=i&&e.editFormats.includes(i)}function a(e,t){return h(function(e,t){const i=e.toLowerCase();return d(t).find((e=>f(e)===i))}(e,t))}function l(e,t){return h(c(e,t))}function o(e,t){return f(function(e,t){return d(t).find((t=>h(t)===e))}(e,t))}function u(e,t){return l(e.name,t)??a(e.type,t)}function d(e){return[...r,...e]}function c(e,t){const i=e.toLowerCase();return d(t).find((e=>function(e){return e?.[2].split(",").map((e=>e.toLowerCase()))??[]}(e).some((e=>i.endsWith(e)))))}function h(e){return e?.[0]}function f(e){return e?.[1].toLowerCase()}function p(e){return e.tables?.find((e=>"assetMaps"===e.role))}},14661:(e,t,i)=>{i.d(t,{$o:()=>d,Fj:()=>o,Kz:()=>c,Ss:()=>h,_$:()=>l,ck:()=>u,qj:()=>a});var r=i(73615),s=i(82971),n=i(40488);function a(e,t){if(!l(e,t)){const i=e.typeKeywords;i?i.push(t):e.typeKeywords=[t]}}function l(e,t){return!!e.typeKeywords?.includes(t)}function o(e){return l(e,c.HOSTED_SERVICE)}function u(e,t){const i=e.typeKeywords;if(i){const e=i.indexOf(t);e>-1&&i.splice(e,1)}}async function d(e){const t=e.clone().normalize();let i;if(t.length>1)for(const e of t)i?e.width>i.width&&(i=e):i=e;else i=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 i=s.Z.WGS84;return await(0,r.initializeProjection)(t,i),(0,r.project)(e,i)}(i)}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 h(e){const{portal:t,isOrgItem:i,itemControl:r}=e,s=t.user?.privileges;let n=!s||s.includes("features:user:edit"),a=!!i&&!!s?.includes("features:user:fullEdit");const l="update"===r||"admin"===r;return l?a=n=!0:a&&(n=!0),{features:{edit:n,fullEdit:a},content:{updateItem:l}}}},41818:(e,t,i)=>{i.d(t,{P:()=>a});var r=i(11282),s=i(34599),n=i(14165);async function a(e,t,i){const a=(0,r.en)(e);return(0,s.hH)(a,n.Z.from(t),{...i}).then((e=>e.data.count))}},5396:(e,t,i)=>{i.d(t,{G:()=>a});var r=i(11282),s=i(34599),n=i(14165);async function a(e,t,i){const a=(0,r.en)(e);return(0,s.Ev)(a,n.Z.from(t),{...i}).then((e=>e.data.objectIds))}},4967:(e,t,i)=>{i.d(t,{F:()=>o,e:()=>l});var r=i(11282),s=i(34599),n=i(74889),a=i(14165);async function l(e,t,i){const r=await o(e,t,i);return n.Z.fromJSON(r)}async function o(e,t,i){const n=(0,r.en)(e),l={...i},o=a.Z.from(t),{data:u}=await(0,s.JT)(n,o,o.sourceSpatialReference,l);return u}},53261:(e,t,i)=>{i.d(t,{t:()=>_});var r=i(11282),s=i(70586),n=i(69285),a=i(98732);function l(e,t){return t}function o(e,t,i,r){switch(i){case 0:return h(e,t+r,0);case 1:return"lowerLeft"===e.originPosition?h(e,t+r,1):function({translate:e,scale:t},i,r){return e[r]-i*t[r]}(e,t+r,1)}}function u(e,t,i,r){return 2===i?h(e,t,2):o(e,t,i,r)}function d(e,t,i,r){return 2===i?h(e,t,3):o(e,t,i,r)}function c(e,t,i,r){return 3===i?h(e,t,3):u(e,t,i,r)}function h({translate:e,scale:t},i,r){return e[r]+i*t[r]}class f{constructor(e){this._options=e,this.geometryTypes=["esriGeometryPoint","esriGeometryMultipoint","esriGeometryPolyline","esriGeometryPolygon"],this._previousCoordinate=[0,0],this._transform=null,this._applyTransform=l,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 i of e.features)t(i.geometry)}createSpatialReference(){return{}}addField(e,t){const i=e.fields;(0,s.O3)(i),i.push(t);const r=i.map((e=>e.name));this._attributesConstructor=function(){for(const e of r)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,i)=>this.addCoordinatePoint(e,t,i),this.createGeometry=e=>this.createPointGeometry(e);break;case"esriGeometryPolygon":this.addCoordinate=(e,t,i)=>this._addCoordinatePolygon(e,t,i),this.createGeometry=e=>this._createPolygonGeometry(e);break;case"esriGeometryPolyline":this.addCoordinate=(e,t,i)=>this._addCoordinatePolyline(e,t,i),this.createGeometry=e=>this._createPolylineGeometry(e);break;case"esriGeometryMultipoint":this.addCoordinate=(e,t,i)=>this._addCoordinateMultipoint(e,t,i),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,i){0===this._lengths.length&&(this._toAddInCurrentPath=t),this._lengths.push(t)}addQueryGeometry(e,t){const{queryGeometry:i,queryGeometryType:r}=t,s=(0,a.$g)(i.clone(),i,!1,!1,this._transform),n=(0,a.di)(s,r,!1,!1);e.queryGeometryType=r,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,i){const r=this._transform;switch(t=this._applyTransform(r,t,i,0),i){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 i=0;t<=1&&(i=this._previousCoordinate[t],this._previousCoordinate[t]+=e);const r=this._transform;return this._applyTransform(r,e,t,i)}_addCoordinatePolyline(e,t,i){this._dehydratedAddPointsCoordinate(e.paths,t,i)}_addCoordinatePolygon(e,t,i){this._dehydratedAddPointsCoordinate(e.rings,t,i)}_addCoordinateMultipoint(e,t,i){0===i&&e.points.push([]);const r=this._transformPathLikeValue(t,i);e.points[e.points.length-1].push(r)}_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,i){0===i&&0==this._toAddInCurrentPath--&&(e.push([]),this._toAddInCurrentPath=this._lengths[++this._currentLengthIndex]-1,this._previousCoordinate[0]=0,this._previousCoordinate[1]=0);const r=this._transformPathLikeValue(t,i),s=e[e.length-1];0===i&&(this._coordinateBufferPtr=0,this._coordinateBuffer=new Array(this._vertexDimension),s.push(this._coordinateBuffer)),this._coordinateBuffer[this._coordinateBufferPtr++]=r}_deriveApplyTransform(e){const{hasZ:t,hasM:i}=e;return t&&i?c:t?u:i?d:o}}var p=i(34599),y=(i(74889),i(14165));async function _(e,t,i){const s=(0,r.en)(e),n={...i},a=y.Z.from(t),l=!a.quantizationParameters,{data:o}=await(0,p.qp)(s,a,new f({sourceSpatialReference:a.sourceSpatialReference,applyTransform:l}),n);return o}},28694:(e,t,i)=>{i.d(t,{p:()=>s});var r=i(69285);function s(e,t,i){if(!i?.features||!i.hasZ)return;const s=(0,r.k)(i.geometryType,t,e.outSpatialReference);if(null!=s)for(const e of i.features)s(e.geometry)}},98326:(e,t,i)=>{i.d(t,{Z:()=>c});var r,s=i(43697),n=i(96674),a=i(5600),l=i(75215),o=(i(67676),i(80442),i(52011));const u={1:{id:1,rotation:0,mirrored:!1},2:{id:2,rotation:0,mirrored:!0},3:{id:3,rotation:180,mirrored:!1},4:{id:4,rotation:180,mirrored:!0},5:{id:5,rotation:-90,mirrored:!0},6:{id:6,rotation:90,mirrored:!1},7:{id:7,rotation:90,mirrored:!0},8:{id:8,rotation:-90,mirrored:!1}};let d=r=class extends n.wq{constructor(e){super(e),this.contentType=null,this.exifInfo=null,this.id=null,this.globalId=null,this.keywords=null,this.name=null,this.parentGlobalId=null,this.parentObjectId=null,this.size=null,this.url=null}get orientationInfo(){const{exifInfo:e}=this,t=function(e){const{exifInfo:t,exifName:i,tagName:r}=e;if(!t||!i||!r)return null;const s=t.find((e=>e.name===i));return s?function(e){const{tagName:t,tags:i}=e;if(!i||!t)return null;const r=i.find((e=>e.name===t));return r?.value||null}({tagName:r,tags:s.tags}):null}({exifName:"Exif IFD0",tagName:"Orientation",exifInfo:e});return u[t]||null}clone(){return new r({contentType:this.contentType,exifInfo:this.exifInfo,id:this.id,globalId:this.globalId,keywords:this.keywords,name:this.name,parentGlobalId:this.parentGlobalId,parentObjectId:this.parentObjectId,size:this.size,url:this.url})}};(0,s._)([(0,a.Cb)({type:String})],d.prototype,"contentType",void 0),(0,s._)([(0,a.Cb)()],d.prototype,"exifInfo",void 0),(0,s._)([(0,a.Cb)({readOnly:!0})],d.prototype,"orientationInfo",null),(0,s._)([(0,a.Cb)({type:l.z8})],d.prototype,"id",void 0),(0,s._)([(0,a.Cb)({type:String})],d.prototype,"globalId",void 0),(0,s._)([(0,a.Cb)({type:String})],d.prototype,"keywords",void 0),(0,s._)([(0,a.Cb)({type:String})],d.prototype,"name",void 0),(0,s._)([(0,a.Cb)({json:{read:!1}})],d.prototype,"parentGlobalId",void 0),(0,s._)([(0,a.Cb)({json:{read:!1}})],d.prototype,"parentObjectId",void 0),(0,s._)([(0,a.Cb)({type:l.z8})],d.prototype,"size",void 0),(0,s._)([(0,a.Cb)({json:{read:!1}})],d.prototype,"url",void 0),d=r=(0,s._)([(0,o.j)("esri.layers.support.AttachmentInfo")],d);const c=d},74889:(e,t,i)=>{i.d(t,{Z:()=>w});var r,s=i(43697),n=i(66577),a=i(38171),l=i(35454),o=i(96674),u=i(22974),d=i(5600),c=(i(75215),i(71715)),h=i(52011),f=i(30556),p=i(82971),y=i(33955),_=i(1231);const g=new l.X({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let m=r=class extends o.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 i=p.Z.fromJSON(t.spatialReference),r=[];for(let t=0;t<e.length;t++){const s=e[t],n=a.Z.fromJSON(s),l=s.geometry?.spatialReference;null==n.geometry||l||(n.geometry.spatialReference=i);const o=s.aggregateGeometries,u=n.aggregateGeometries;if(o&&null!=u)for(const e in u){const t=u[e],r=o[e],s=r?.spatialReference;null==t||s||(t.spatialReference=i)}r.push(n)}return r}writeGeometryType(e,t,i,r){if(e)return void g.write(e,t,i,r);const{features:s}=this;if(s)for(const e of s)if(null!=e?.geometry)return void g.write(e.geometry.type,t,i,r)}readQueryGeometry(e,t){if(!e)return null;const i=!!e.spatialReference,r=(0,y.im)(e);return r&&!i&&t.spatialReference&&(r.spatialReference=p.Z.fromJSON(t.spatialReference)),r}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:i}=this;if(i)for(const e of i)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new r(this.cloneProperties())}cloneProperties(){return(0,u.d9)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let i=0;i<t.features.length;i++){const r=t.features[i];if(r.geometry){const t=e?.[i];r.geometry=t?.toJSON()||r.geometry}}return t}quantize(e){const{scale:[t,i],translate:[r,s]}=e,n=this.features,a=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-r)/t)),(e=>Math.round((s-e)/i)));for(let e=0,t=n.length;e<t;e++)a?.(n[e].geometry)||(n.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:i}=this;if(!i)return this;const{translate:[r,s],scale:[n,a]}=i;let l=null,o=null;if(this.hasZ&&null!=i?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=i;l=i=>i*t+e}if(this.hasM&&null!=i?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=i;o=i=>null==i?i:i*t+e}const u=this._getHydrationFunction(e,(e=>e*n+r),(e=>s-e*a),l,o);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}_quantizePoints(e,t,i){let r,s;const n=[];for(let a=0,l=e.length;a<l;a++){const l=e[a];if(a>0){const e=t(l[0]),a=i(l[1]);e===r&&a===s||(n.push([e-r,a-s]),r=e,s=a)}else r=t(l[0]),s=i(l[1]),n.push([r,s])}return n.length>0?n:null}_getQuantizationFunction(e,t,i){return"point"===e?e=>(e.x=t(e.x),e.y=i(e.y),e):"polyline"===e||"polygon"===e?e=>{const r=(0,y.oU)(e)?e.rings:e.paths,s=[];for(let e=0,n=r.length;e<n;e++){const n=r[e],a=this._quantizePoints(n,t,i);a&&s.push(a)}return s.length>0?((0,y.oU)(e)?e.rings=s:e.paths=s,e):null}:"multipoint"===e?e=>{const r=this._quantizePoints(e.points,t,i);return r&&r.length>0?(e.points=r,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,i,r,s){return"point"===e?e=>{e.x=t(e.x),e.y=i(e.y),r&&(e.z=r(e.z))}:"polyline"===e||"polygon"===e?e=>{const n=(0,y.oU)(e)?e.rings:e.paths;let a,l;for(let e=0,r=n.length;e<r;e++){const r=n[e];for(let e=0,s=r.length;e<s;e++){const s=r[e];e>0?(a+=s[0],l+=s[1]):(a=s[0],l=s[1]),s[0]=t(a),s[1]=i(l)}}if(r&&s)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=r(i[2]),i[3]=s(i[3])}}else if(r)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=r(i[2])}}else if(s)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=s(i[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=i(e.ymin),e.xmax=t(e.xmax),e.ymax=i(e.ymax),r&&null!=e.zmax&&null!=e.zmin&&(e.zmax=r(e.zmax),e.zmin=r(e.zmin)),s&&null!=e.mmax&&null!=e.mmin&&(e.mmax=s(e.mmax),e.mmin=s(e.mmin))}:"multipoint"===e?e=>{const n=e.points;let a,l;for(let e=0,r=n.length;e<r;e++){const r=n[e];e>0?(a+=r[0],l+=r[1]):(a=r[0],l=r[1]),r[0]=t(a),r[1]=i(l)}if(r&&s)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=r(t[2]),t[3]=s(t[3])}else if(r)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=r(t[2])}else if(s)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=s(t[2])}}:null}};(0,s._)([(0,d.Cb)({type:String,json:{write:!0}})],m.prototype,"displayFieldName",void 0),(0,s._)([(0,d.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],m.prototype,"exceededTransferLimit",void 0),(0,s._)([(0,d.Cb)({type:[a.Z],json:{write:!0}})],m.prototype,"features",void 0),(0,s._)([(0,c.r)("features")],m.prototype,"readFeatures",null),(0,s._)([(0,d.Cb)({type:[_.Z],json:{write:!0}})],m.prototype,"fields",void 0),(0,s._)([(0,d.Cb)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],m.prototype,"geometryType",void 0),(0,s._)([(0,f.c)("geometryType")],m.prototype,"writeGeometryType",null),(0,s._)([(0,d.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],m.prototype,"hasM",void 0),(0,s._)([(0,d.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],m.prototype,"hasZ",void 0),(0,s._)([(0,d.Cb)({types:n.qM,json:{write:!0}})],m.prototype,"queryGeometry",void 0),(0,s._)([(0,c.r)("queryGeometry")],m.prototype,"readQueryGeometry",null),(0,s._)([(0,d.Cb)({type:p.Z,json:{write:!0}})],m.prototype,"spatialReference",void 0),(0,s._)([(0,f.c)("spatialReference")],m.prototype,"writeSpatialReference",null),(0,s._)([(0,d.Cb)({json:{write:!0}})],m.prototype,"transform",void 0),m=r=(0,s._)([(0,h.j)("esri.rest.support.FeatureSet")],m),m.prototype.toJSON.isDefaultToJSON=!0;const w=m}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3778],{42033:(e,t,r)=>{async function i(e,t){const{WhereClause:i}=await Promise.all([r.e(8968),r.e(8592)]).then(r.bind(r,8968));return i.create(e,t)}function n(e,t){return null!=e?null!=t?`(${e}) AND (${t})`:e:t}r.d(t,{E:()=>i,_:()=>n})},16859:(e,t,r)=>{r.d(t,{I:()=>P});var i=r(43697),n=r(68773),s=r(40330),l=r(3172),o=r(66643),a=r(20102),u=r(92604),p=r(70586),c=r(95330),d=r(17452),h=r(5600),b=(r(75215),r(67676),r(80442),r(71715)),f=r(52011),m=r(30556),y=r(84230),w=r(48522),v=r(15235),g=r(86082),x=r(14661);const P=e=>{let t=class extends e{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,p.SC)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new v.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:i}=await r.e(8062).then(r.bind(r,18062));return(0,c.k_)(t),await i({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap},t)}catch(e){throw(0,c.D_)(e)||u.Z.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch((e=>((0,c.r9)(e),!0))))}async setUserPrivileges(e,t){if(!n.default.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:i},content:{updateItem:n}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",i),this._set("userHasUpdateItemPrivileges",n)}catch(e){(0,c.r9)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const i=e===r.id;if(i&&r.portal.user)return(0,x.Ss)(r);let n,l;if(i)n=r.portal.url;else try{n=await(0,y.oP)(this.url,t)}catch(e){(0,c.r9)(e)}if(!n||!(0,d.Zo)(n,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;l=await(s.id?.getCredential(`${n}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,c.r9)(e)}if(!l)return{features:{edit:!0,fullEdit:!1},content:{updateItem:!1}};try{if(i?await r.reload():(r=new v.default({id:e,portal:{url:n}}),await r.load(t)),r.portal.user)return(0,x.Ss)(r)}catch(e){(0,c.r9)(e)}return{features:{edit:!0,fullEdit:!1},content:{updateItem:!1}}}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,c.r9)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?s.id?.findCredential(this.url):null;if(!t)return!0;const r=E.credential===t?E.user:await this._fetchEditingUser(e);return E.credential=t,E.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const r=s.id.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const i=`${r.owningSystemUrl}/sharing/rest`,n=w.Z.getDefault();if(n&&n.loaded&&(0,d.Fv)(n.restUrl)===(0,d.Fv)(i))return n.user;const a=`${i}/community/self`,u=null!=e?e.signal:null,p=await(0,o.q6)((0,l.Z)(a,{authMode:"no-prompt",query:{f:"json"},signal:u}));return p.ok?g.Z.fromJSON(p.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,i=this.portalItem?.id&&(this.portalItem.portal||w.Z.getDefault());return r&&i&&!(0,d.tm)(i.restUrl,r.restUrl)?(t.messages&&t.messages.push(new a.Z("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,i._)([(0,h.Cb)({type:v.default})],t.prototype,"portalItem",null),(0,i._)([(0,b.r)("web-document","portalItem",["itemId"])],t.prototype,"readPortalItem",null),(0,i._)([(0,m.c)("web-document","portalItem",{itemId:{type:String}})],t.prototype,"writePortalItem",null),(0,i._)([(0,h.Cb)({clonable:!1})],t.prototype,"resourceReferences",void 0),(0,i._)([(0,h.Cb)({type:Boolean,readOnly:!0})],t.prototype,"userHasEditingPrivileges",void 0),(0,i._)([(0,h.Cb)({type:Boolean,readOnly:!0})],t.prototype,"userHasFullEditingPrivileges",void 0),(0,i._)([(0,h.Cb)({type:Boolean,readOnly:!0})],t.prototype,"userHasUpdateItemPrivileges",void 0),t=(0,i._)([(0,f.j)("esri.layers.mixins.PortalLayer")],t),t},E={credential:null,user:null}},54306:(e,t,r)=>{r.d(t,{Z:()=>_});var i,n=r(43697),s=r(9790),l=r(35454),o=r(96674),a=r(22974),u=r(62357),p=r(5600),c=(r(75215),r(71715)),d=r(52011),h=r(30556),b=(r(67676),r(80442),r(8813));let f=i=class extends o.wq{constructor(){super(...arguments),this.expression=null,this.title=null,this.value=null}readExpression(e,t){return t.value?(0,b.dI)(t.value):e}writeExpression(e,t,r){null!=this.value&&(e=(0,b.dI)(this.value)),null!=e&&(t[r]=e)}clone(){return new i({expression:this.expression,title:this.title,value:this.value})}};(0,n._)([(0,p.Cb)({type:String,json:{write:{writerEnsuresNonNull:!0}}})],f.prototype,"expression",void 0),(0,n._)([(0,c.r)("expression",["expression","value"])],f.prototype,"readExpression",null),(0,n._)([(0,h.c)("expression")],f.prototype,"writeExpression",null),(0,n._)([(0,p.Cb)({type:String,json:{write:!0,origins:{"web-scene":{write:!1}}}})],f.prototype,"title",void 0),(0,n._)([(0,p.Cb)({json:{read:!1,write:!1}})],f.prototype,"value",void 0),f=i=(0,n._)([(0,d.j)("esri.layers.support.LabelExpressionInfo")],f);const m=f;var y,w=r(84230),v=r(28412),g=r(21878);const x=new l.X({esriServerPointLabelPlacementAboveCenter:"above-center",esriServerPointLabelPlacementAboveLeft:"above-left",esriServerPointLabelPlacementAboveRight:"above-right",esriServerPointLabelPlacementBelowCenter:"below-center",esriServerPointLabelPlacementBelowLeft:"below-left",esriServerPointLabelPlacementBelowRight:"below-right",esriServerPointLabelPlacementCenterCenter:"center-center",esriServerPointLabelPlacementCenterLeft:"center-left",esriServerPointLabelPlacementCenterRight:"center-right",esriServerLinePlacementAboveAfter:"above-after",esriServerLinePlacementAboveAlong:"above-along",esriServerLinePlacementAboveBefore:"above-before",esriServerLinePlacementAboveStart:"above-start",esriServerLinePlacementAboveEnd:"above-end",esriServerLinePlacementBelowAfter:"below-after",esriServerLinePlacementBelowAlong:"below-along",esriServerLinePlacementBelowBefore:"below-before",esriServerLinePlacementBelowStart:"below-start",esriServerLinePlacementBelowEnd:"below-end",esriServerLinePlacementCenterAfter:"center-after",esriServerLinePlacementCenterAlong:"center-along",esriServerLinePlacementCenterBefore:"center-before",esriServerLinePlacementCenterStart:"center-start",esriServerLinePlacementCenterEnd:"center-end",esriServerPolygonPlacementAlwaysHorizontal:"always-horizontal"},{ignoreUnknown:!0});function P(e,t,r){return{enabled:!(0,w.A2)(r?.layer)}}function E(e){return!e||"service"!==e.origin&&!("map-image"===e.layer?.type)}function S(e){return!!function(e){return"map-image"===e?.type}(e)&&!!e.capabilities?.exportMap?.supportsArcadeExpressionForLabeling}let I=y=class extends o.wq{static evaluateWhere(e,t){const r=(e,t,r)=>{switch(t){case"=":return e==r;case"<>":return e!=r;case">":return e>r;case">=":return e>=r;case"<":return e<r;case"<=":return e<=r}return!1};try{if(null==e)return!0;const i=e.split(" ");if(3===i.length)return r(t[i[0]],i[1],i[2]);if(7===i.length){const e=r(t[i[0]],i[1],i[2]),n=i[3],s=r(t[i[4]],i[5],i[6]);switch(n){case"AND":return e&&s;case"OR":return e||s}}return!1}catch(t){console.log("Error.: can't parse = "+e)}}constructor(e){super(e),this.type="label",this.name=null,this.allowOverrun=!1,this.deconflictionStrategy="static",this.labelExpression=null,this.labelExpressionInfo=null,this.labelPlacement=null,this.labelPosition="curved",this.maxScale=0,this.minScale=0,this.repeatLabel=!0,this.repeatLabelDistance=null,this.symbol=v.Rz,this.useCodedValues=void 0,this.where=null}readLabelExpression(e,t){const r=t.labelExpressionInfo;if(!r||!r.value&&!r.expression)return e}writeLabelExpression(e,t,r){if(this.labelExpressionInfo)if(null!=this.labelExpressionInfo.value)e=(0,b.z7)(this.labelExpressionInfo.value);else if(null!=this.labelExpressionInfo.expression){const t=(0,b.el)(this.labelExpressionInfo.expression);t&&(e="["+t+"]")}null!=e&&(t[r]=e)}writeLabelExpressionInfo(e,t,r,i){if(null==e&&null!=this.labelExpression&&E(i))e=new m({expression:this.getLabelExpressionArcade()});else if(!e)return;const n=e.toJSON(i);n.expression&&(t[r]=n)}writeMaxScale(e,t){(e||this.minScale)&&(t.maxScale=e)}writeMinScale(e,t){(e||this.maxScale)&&(t.minScale=e)}getLabelExpression(){return(0,b.hV)(this)}getLabelExpressionArcade(){return(0,b.YI)(this)}getLabelExpressionSingleField(){return(0,b.UO)(this)}hash(){return JSON.stringify(this)}clone(){return new y({allowOverrun:this.allowOverrun,deconflictionStrategy:this.deconflictionStrategy,labelExpression:this.labelExpression,labelExpressionInfo:(0,a.d9)(this.labelExpressionInfo),labelPosition:this.labelPosition,labelPlacement:this.labelPlacement,maxScale:this.maxScale,minScale:this.minScale,name:this.name,repeatLabel:this.repeatLabel,repeatLabelDistance:this.repeatLabelDistance,symbol:(0,a.d9)(this.symbol),where:this.where,useCodedValues:this.useCodedValues})}};(0,n._)([(0,p.Cb)({type:String,json:{write:!0}})],I.prototype,"name",void 0),(0,n._)([(0,p.Cb)({type:Boolean,json:{write:!0,default:!1,origins:{"web-scene":{write:!1},"portal-item":{default:!1,write:{overridePolicy:P}}}}})],I.prototype,"allowOverrun",void 0),(0,n._)([(0,p.Cb)({type:String,json:{write:!0,default:"static",origins:{"web-scene":{write:!1},"portal-item":{default:"static",write:{overridePolicy:P}}}}})],I.prototype,"deconflictionStrategy",void 0),(0,n._)([(0,p.Cb)({type:String,json:{write:{overridePolicy(e,t,r){return this.labelExpressionInfo&&"service"===r?.origin&&S(r.layer)?{enabled:!1}:{allowNull:!0}}}}})],I.prototype,"labelExpression",void 0),(0,n._)([(0,c.r)("labelExpression")],I.prototype,"readLabelExpression",null),(0,n._)([(0,h.c)("labelExpression")],I.prototype,"writeLabelExpression",null),(0,n._)([(0,p.Cb)({type:m,json:{write:{overridePolicy:(e,t,r)=>function(e){return E(e)||S(e?.layer)}(r)?{allowNull:!0}:{enabled:!1}}}})],I.prototype,"labelExpressionInfo",void 0),(0,n._)([(0,h.c)("labelExpressionInfo")],I.prototype,"writeLabelExpressionInfo",null),(0,n._)([(0,p.Cb)({type:x.apiValues,json:{type:x.jsonValues,read:x.read,write:x.write}})],I.prototype,"labelPlacement",void 0),(0,n._)([(0,p.Cb)({type:["curved","parallel"],json:{write:!0,origins:{"web-map":{write:!1},"web-scene":{write:!1},"portal-item":{write:!1}}}})],I.prototype,"labelPosition",void 0),(0,n._)([(0,p.Cb)({type:Number})],I.prototype,"maxScale",void 0),(0,n._)([(0,h.c)("maxScale")],I.prototype,"writeMaxScale",null),(0,n._)([(0,p.Cb)({type:Number})],I.prototype,"minScale",void 0),(0,n._)([(0,h.c)("minScale")],I.prototype,"writeMinScale",null),(0,n._)([(0,p.Cb)({type:Boolean,json:{write:!0,origins:{"web-scene":{write:!1},"portal-item":{write:{overridePolicy:P}}}}})],I.prototype,"repeatLabel",void 0),(0,n._)([(0,p.Cb)({type:Number,cast:u.t_,json:{write:!0,origins:{"web-scene":{write:!1},"portal-item":{write:{overridePolicy:P}}}}})],I.prototype,"repeatLabelDistance",void 0),(0,n._)([(0,p.Cb)({types:s.yK,json:{origins:{"web-scene":{types:s.S6,write:g.vX,default:null}},write:g.vX,default:null}})],I.prototype,"symbol",void 0),(0,n._)([(0,p.Cb)({type:Boolean,json:{write:!0}})],I.prototype,"useCodedValues",void 0),(0,n._)([(0,p.Cb)({type:String,json:{write:!0}})],I.prototype,"where",void 0),I=y=(0,n._)([(0,d.j)("esri.layers.support.LabelClass")],I);const _=I},8813:(e,t,r)=>{r.d(t,{UO:()=>m,YI:()=>f,dI:()=>y,el:()=>P,hV:()=>b,z7:()=>h});var i=r(19153);const n="__begin__",s="__end__",l=new RegExp(n,"ig"),o=new RegExp(s,"ig"),a=new RegExp("^"+n,"i"),u=new RegExp(s+"$","i"),p='"',c=p+" + ",d=" + "+p;function h(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function b(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=function(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}(e.labelExpression),t.type="conventional"),t}function f(e){const t=b(e);if(!t)return null;switch(t.type){case"conventional":return y(t.expression);case"arcade":return t.expression}return null}function m(e){const t=b(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(w);return t?.[1].trim()||null}(t.expression);case"arcade":return P(t.expression)}return null}function y(e){let t;return e?(t=(0,i.gx)(e,(e=>n+'$feature["'+e+'"]'+s)),t=a.test(t)?t.replace(a,""):p+t,t=u.test(t)?t.replace(u,""):t+p,t=t.replaceAll(l,c).replaceAll(o,d)):t='""',t}const w=/^\s*\{([^}]+)\}\s*$/i,v=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])([\w\s]+)(\2)\]));?\s*$/i,g=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])([\w\s]+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,x=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])([\w\s]+)(\1)\s*\));?\s*$/i;function P(e){if(!e)return null;let t=v.exec(e)||g.exec(e);return t?t[1]||t[3]:(t=x.exec(e),t?t[2]:null)}},30707:(e,t,r)=>{r.d(t,{a:()=>c,r:()=>u});var i=r(20102),n=r(22974),s=r(92604),l=r(54306);const o=s.Z.getLogger("esri.layers.support.labelingInfo"),a=/\[([^\[\]]+)\]/gi;function u(e,t,r){return e?e.map((e=>{const i=new l.Z;if(i.read(e,r),i.labelExpression){const e=t.fields||t.layerDefinition?.fields||this.fields;i.labelExpression=i.labelExpression.replaceAll(a,((t,r)=>`[${function(e,t){if(!t)return e;const r=e.toLowerCase();for(let e=0;e<t.length;e++){const i=t[e].name;if(i.toLowerCase()===r)return i}return e}(r,e)}]`))}return i})):null}const p={esriGeometryPoint:["above-right","above-center","above-left","center-center","center-left","center-right","below-center","below-left","below-right"],esriGeometryPolygon:["always-horizontal"],esriGeometryPolyline:["center-along"],esriGeometryMultipoint:null};function c(e,t){const r=(0,n.d9)(e);return r.some((e=>function(e,t){const r=e.labelPlacement,n=p[t];if(!e.symbol)return o.warn("No ILabelClass symbol specified."),!0;if(!n)return o.error(new i.Z("labeling:unsupported-geometry-type",`Unable to create labels for layer, geometry type '${t}' is not supported`)),!0;if(!n.includes(r)){const i=n[0];r&&o.warn(`Found invalid label placement type ${r} for ${t}. Defaulting to ${i}`),e.labelPlacement=i}return!1}(e,t)))?[]:r}},56545:(e,t,r)=>{r.d(t,{Z:()=>d});var i,n=r(43697),s=r(96674),l=r(22974),o=r(5600),a=r(75215),u=r(52011),p=r(30556);let c=i=class extends s.wq{constructor(e){super(e),this.attachmentTypes=null,this.attachmentsWhere=null,this.cacheHint=void 0,this.keywords=null,this.globalIds=null,this.name=null,this.num=null,this.objectIds=null,this.returnMetadata=!1,this.size=null,this.start=null,this.where=null}writeStart(e,t){t.resultOffset=this.start,t.resultRecordCount=this.num||10}clone(){return new i((0,l.d9)({attachmentTypes:this.attachmentTypes,attachmentsWhere:this.attachmentsWhere,cacheHint:this.cacheHint,keywords:this.keywords,where:this.where,globalIds:this.globalIds,name:this.name,num:this.num,objectIds:this.objectIds,returnMetadata:this.returnMetadata,size:this.size,start:this.start}))}};(0,n._)([(0,o.Cb)({type:[String],json:{write:!0}})],c.prototype,"attachmentTypes",void 0),(0,n._)([(0,o.Cb)({type:String,json:{read:{source:"attachmentsDefinitionExpression"},write:{target:"attachmentsDefinitionExpression"}}})],c.prototype,"attachmentsWhere",void 0),(0,n._)([(0,o.Cb)({type:Boolean,json:{write:!0}})],c.prototype,"cacheHint",void 0),(0,n._)([(0,o.Cb)({type:[String],json:{write:!0}})],c.prototype,"keywords",void 0),(0,n._)([(0,o.Cb)({type:[Number],json:{write:!0}})],c.prototype,"globalIds",void 0),(0,n._)([(0,o.Cb)({json:{write:!0}})],c.prototype,"name",void 0),(0,n._)([(0,o.Cb)({type:Number,json:{read:{source:"resultRecordCount"}}})],c.prototype,"num",void 0),(0,n._)([(0,o.Cb)({type:[Number],json:{write:!0}})],c.prototype,"objectIds",void 0),(0,n._)([(0,o.Cb)({type:Boolean,json:{default:!1,write:!0}})],c.prototype,"returnMetadata",void 0),(0,n._)([(0,o.Cb)({type:[Number],json:{write:!0}})],c.prototype,"size",void 0),(0,n._)([(0,o.Cb)({type:Number,json:{read:{source:"resultOffset"}}})],c.prototype,"start",void 0),(0,n._)([(0,p.c)("start"),(0,p.c)("num")],c.prototype,"writeStart",null),(0,n._)([(0,o.Cb)({type:String,json:{read:{source:"definitionExpression"},write:{target:"definitionExpression"}}})],c.prototype,"where",void 0),c=i=(0,n._)([(0,u.j)("esri.rest.support.AttachmentQuery")],c),c.from=(0,a.se)(c);const d=c},32163:(e,t,r)=>{r.d(t,{eZ:()=>u});var i=r(51773),n=r(35671),s=r(84649),l=(r(63801),r(48074),r(38745),r(9190)),o=(r(10214),r(71423),r(44951),r(422)),a=r(29986);function u({displayField:e,editFieldsInfo:t,fields:r,objectIdField:a,title:u},h){if(!r)return null;const f=function(e,t){const r=t?.visibleFieldNames;return function(e,t){const r=e;return t&&(e=e.filter((e=>!t.includes(e.type)))),e===r&&(e=e.slice()),e.sort(c),e}(e.fields??[],t?.ignoreFieldTypes||b).map((t=>new o.Z({fieldName:t.name,isEditable:(0,n.Hp)(t,e),label:t.alias,format:d(t),visible:p(t,{...e,visibleFieldNames:r})})))}({editFieldsInfo:t,fields:r,objectIdField:a},h);if(!f.length)return null;const m=function(e){const t=(0,n.O5)(e),{titleBase:r}=e;return t?`${r}: {${t.trim()}}`:r??""}({titleBase:u,fields:r,displayField:e}),y=[new l.Z,new s.Z];return new i.Z({title:m,content:y,fieldInfos:f})}const p=(e,t)=>t.visibleFieldNames?t.visibleFieldNames.has(e.name):(0,n.Fv)(e,t);function c(e,t){return"oid"===e.type?-1:"oid"===t.type?1:h(e)?-1:h(t)?1:(e.alias||e.name).toLocaleLowerCase().localeCompare((t.alias||t.name).toLocaleLowerCase())}function d(e){switch(e.type){case"small-integer":case"integer":case"single":return new a.Z({digitSeparator:!0,places:0});case"double":return new a.Z({digitSeparator:!0,places:2});case"string":return(0,n.Ec)(e.name)?new a.Z({digitSeparator:!0,places:0}):null;default:return null}}function h(e){return"name"===(e.name&&e.name.toLowerCase())||"name"===(e.alias&&e.alias.toLowerCase())}const b=["geometry","blob","raster","guid","xml"]},28412:(e,t,r)=>{r.d(t,{CJ:()=>u,Rz:()=>c,xA:()=>a,z3:()=>p}),r(80442);var i=r(20256),n=r(4095),s=r(77987),l=r(78724),o=r(58333);const a=s.Z.fromJSON(o.I4),u=n.Z.fromJSON(o.ET),p=i.Z.fromJSON(o.lF),c=l.Z.fromJSON(o.qP);s.Z.fromJSON(o.eG),n.Z.fromJSON(o.wW),i.Z.fromJSON(o.lj)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4828,5732],{92835:(t,e,n)=>{n.d(e,{Z:()=>m});var i,o=n(43697),r=n(96674),s=n(35463),a=n(5600),l=(n(75215),n(67676),n(80442),n(71715)),c=n(52011),u=n(30556),h=n(25031);let d=i=class extends r.wq{static get allTime(){return p}static get empty(){return f}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(i.allTime)}get isEmpty(){return this.equals(i.empty)}readStart(t,e){return null!=e.start?new Date(e.start):null}writeStart(t,e){e.start=t?.getTime()??null}clone(){return new i({end:this.end,start:this.start})}equals(t){if(!t)return!1;const e=this.start?.getTime()??this.start,n=this.end?.getTime()??this.end,i=t.start?.getTime()??t.start,o=t.end?.getTime()??t.end;return e===i&&n===o}expandTo(t,e=h.By){if(this.isEmpty||this.isAllTime)return this.clone();let n=this.start;n&&(n=(0,s.JE)(n,t,e));let o=this.end;if(o){const n=(0,s.JE)(o,t,e);o=o.getTime()===n.getTime()?n:(0,s.Nm)(n,1,t,e)}return new i({start:n,end:o})}intersection(t){if(!t)return this.clone();if(this.isEmpty||t.isEmpty)return i.empty;if(this.isAllTime)return t.clone();if(t.isAllTime)return this.clone();const e=this.start?.getTime()??-1/0,n=this.end?.getTime()??1/0,o=t.start?.getTime()??-1/0,r=t.end?.getTime()??1/0;let s,a;if(o>=e&&o<=n?s=o:e>=o&&e<=r&&(s=e),n>=o&&n<=r?a=n:r>=e&&r<=n&&(a=r),null!=s&&null!=a&&!isNaN(s)&&!isNaN(a)){const t=new i;return t.start=s===-1/0?null:new Date(s),t.end=a===1/0?null:new Date(a),t}return i.empty}offset(t,e,n=h.By){if(this.isEmpty||this.isAllTime)return this.clone();const o=new i,{start:r,end:a}=this;return null!=r&&(o.start=(0,s.Nm)(r,t,e,n)),null!=a&&(o.end=(0,s.Nm)(a,t,e,n)),o}union(t){if(!t||t.isEmpty)return this.clone();if(this.isEmpty)return t.clone();if(this.isAllTime||t.isAllTime)return p.clone();const e=null!=this.start&&null!=t.start?new Date(Math.min(this.start.getTime(),t.start.getTime())):null,n=null!=this.end&&null!=t.end?new Date(Math.max(this.end.getTime(),t.end.getTime())):null;return new i({start:e,end:n})}};(0,o._)([(0,a.Cb)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"end",void 0),(0,o._)([(0,l.r)("end")],d.prototype,"readEnd",null),(0,o._)([(0,u.c)("end")],d.prototype,"writeEnd",null),(0,o._)([(0,a.Cb)({readOnly:!0,json:{read:!1}})],d.prototype,"isAllTime",null),(0,o._)([(0,a.Cb)({readOnly:!0,json:{read:!1}})],d.prototype,"isEmpty",null),(0,o._)([(0,a.Cb)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"start",void 0),(0,o._)([(0,l.r)("start")],d.prototype,"readStart",null),(0,o._)([(0,u.c)("start")],d.prototype,"writeStart",null),d=i=(0,o._)([(0,c.j)("esri.TimeExtent")],d);const p=new d,f=new d({start:void 0,end:void 0}),m=d},5732:(t,e,n)=>{n.d(e,{c:()=>i,g:()=>o});var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}},21787:(t,e,n)=>{n.d(e,{a:()=>l,d:()=>a,f:()=>o,i:()=>d,m:()=>c,n:()=>u,s:()=>r,t:()=>s});var i=n(46851);function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[4],t[4]=e[5],t[5]=e[6],t[6]=e[8],t[7]=e[9],t[8]=e[10],t}function r(t,e,n,i,o,r,s,a,l,c){return t[0]=e,t[1]=n,t[2]=i,t[3]=o,t[4]=r,t[5]=s,t[6]=a,t[7]=l,t[8]=c,t}function s(t,e){if(t===e){const n=e[1],i=e[2],o=e[5];t[1]=e[3],t[2]=e[6],t[3]=n,t[5]=e[7],t[6]=i,t[7]=o}else t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8];return t}function a(t,e){const n=e[0],i=e[1],o=e[2],r=e[3],s=e[4],a=e[5],l=e[6],c=e[7],u=e[8],h=u*s-a*c,d=-u*r+a*l,p=c*r-s*l;let f=n*h+i*d+o*p;return f?(f=1/f,t[0]=h*f,t[1]=(-u*i+o*c)*f,t[2]=(a*i-o*s)*f,t[3]=d*f,t[4]=(u*n-o*l)*f,t[5]=(-a*n+o*r)*f,t[6]=p*f,t[7]=(-c*n+i*l)*f,t[8]=(s*n-i*r)*f,t):null}function l(t,e){const n=e[0],i=e[1],o=e[2],r=e[3],s=e[4],a=e[5],l=e[6],c=e[7],u=e[8];return t[0]=s*u-a*c,t[1]=o*c-i*u,t[2]=i*a-o*s,t[3]=a*l-r*u,t[4]=n*u-o*l,t[5]=o*r-n*a,t[6]=r*c-s*l,t[7]=i*l-n*c,t[8]=n*s-i*r,t}function c(t,e,n){const i=e[0],o=e[1],r=e[2],s=e[3],a=e[4],l=e[5],c=e[6],u=e[7],h=e[8],d=n[0],p=n[1],f=n[2],m=n[3],y=n[4],_=n[5],x=n[6],g=n[7],b=n[8];return t[0]=d*i+p*s+f*c,t[1]=d*o+p*a+f*u,t[2]=d*r+p*l+f*h,t[3]=m*i+y*s+_*c,t[4]=m*o+y*a+_*u,t[5]=m*r+y*l+_*h,t[6]=x*i+g*s+b*c,t[7]=x*o+g*a+b*u,t[8]=x*r+g*l+b*h,t}function u(t,e){const n=e[0],i=e[1],o=e[2],r=e[3],s=e[4],a=e[5],l=e[6],c=e[7],u=e[8],h=e[9],d=e[10],p=e[11],f=e[12],m=e[13],y=e[14],_=e[15],x=n*a-i*s,g=n*l-o*s,b=n*c-r*s,v=i*l-o*a,w=i*c-r*a,M=o*c-r*l,P=u*m-h*f,C=u*y-d*f,R=u*_-p*f,I=h*y-d*m,S=h*_-p*m,B=d*_-p*y;let j=x*B-g*S+b*I+v*R-w*C+M*P;return j?(j=1/j,t[0]=(a*B-l*S+c*I)*j,t[1]=(l*R-s*B-c*C)*j,t[2]=(s*S-a*R+c*P)*j,t[3]=(o*S-i*B-r*I)*j,t[4]=(n*B-o*R+r*C)*j,t[5]=(i*R-n*S-r*P)*j,t[6]=(m*M-y*w+_*v)*j,t[7]=(y*b-f*M-_*g)*j,t[8]=(f*w-m*b+_*x)*j,t):null}function h(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t}function d(t){const e=(0,i.g)(),n=t[0],o=t[1],r=t[2],s=t[3],a=t[4],l=t[5],c=t[6],u=t[7],h=t[8];return Math.abs(1-(n*n+s*s+c*c))<=e&&Math.abs(1-(o*o+a*a+u*u))<=e&&Math.abs(1-(r*r+l*l+h*h))<=e}const p=c,f=h;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t},adjoint:l,copy:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t},determinant:function(t){const e=t[0],n=t[1],i=t[2],o=t[3],r=t[4],s=t[5],a=t[6],l=t[7],c=t[8];return e*(c*r-s*l)+n*(-c*o+s*a)+i*(l*o-r*a)},equals:function(t,e){const n=t[0],o=t[1],r=t[2],s=t[3],a=t[4],l=t[5],c=t[6],u=t[7],h=t[8],d=e[0],p=e[1],f=e[2],m=e[3],y=e[4],_=e[5],x=e[6],g=e[7],b=e[8],v=(0,i.g)();return Math.abs(n-d)<=v*Math.max(1,Math.abs(n),Math.abs(d))&&Math.abs(o-p)<=v*Math.max(1,Math.abs(o),Math.abs(p))&&Math.abs(r-f)<=v*Math.max(1,Math.abs(r),Math.abs(f))&&Math.abs(s-m)<=v*Math.max(1,Math.abs(s),Math.abs(m))&&Math.abs(a-y)<=v*Math.max(1,Math.abs(a),Math.abs(y))&&Math.abs(l-_)<=v*Math.max(1,Math.abs(l),Math.abs(_))&&Math.abs(c-x)<=v*Math.max(1,Math.abs(c),Math.abs(x))&&Math.abs(u-g)<=v*Math.max(1,Math.abs(u),Math.abs(g))&&Math.abs(h-b)<=v*Math.max(1,Math.abs(h),Math.abs(b))},exactEquals:function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2)},fromMat2d:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=0,t[3]=e[2],t[4]=e[3],t[5]=0,t[6]=e[4],t[7]=e[5],t[8]=1,t},fromMat4:o,fromQuat:function(t,e){const n=e[0],i=e[1],o=e[2],r=e[3],s=n+n,a=i+i,l=o+o,c=n*s,u=i*s,h=i*a,d=o*s,p=o*a,f=o*l,m=r*s,y=r*a,_=r*l;return t[0]=1-h-f,t[3]=u-_,t[6]=d+y,t[1]=u+_,t[4]=1-c-f,t[7]=p-m,t[2]=d-y,t[5]=p+m,t[8]=1-c-h,t},fromRotation:function(t,e){const n=Math.sin(e),i=Math.cos(e);return t[0]=i,t[1]=n,t[2]=0,t[3]=-n,t[4]=i,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=e[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromTranslation:function(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=e[0],t[7]=e[1],t[8]=1,t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},invert:a,isOrthoNormal:d,mul:p,multiply:c,multiplyScalar:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t},multiplyScalarAndAdd:function(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t[2]=e[2]+n[2]*i,t[3]=e[3]+n[3]*i,t[4]=e[4]+n[4]*i,t[5]=e[5]+n[5]*i,t[6]=e[6]+n[6]*i,t[7]=e[7]+n[7]*i,t[8]=e[8]+n[8]*i,t},normalFromMat4:u,normalFromMat4Legacy:function(t,e){const n=e[0],i=e[1],o=e[2],r=e[4],s=e[5],a=e[6],l=e[8],c=e[9],u=e[10],h=u*s-a*c,d=-u*r+a*l,p=c*r-s*l,f=n*h+i*d+o*p;if(!f)return null;const m=1/f;return t[0]=h*m,t[1]=(-u*i+o*c)*m,t[2]=(a*i-o*s)*m,t[3]=d*m,t[4]=(u*n-o*l)*m,t[5]=(-a*n+o*r)*m,t[6]=p*m,t[7]=(-c*n+i*l)*m,t[8]=(s*n-i*r)*m,t},projection:function(t,e,n){return t[0]=2/e,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/n,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},rotate:function(t,e,n){const i=e[0],o=e[1],r=e[2],s=e[3],a=e[4],l=e[5],c=e[6],u=e[7],h=e[8],d=Math.sin(n),p=Math.cos(n);return t[0]=p*i+d*s,t[1]=p*o+d*a,t[2]=p*r+d*l,t[3]=p*s-d*i,t[4]=p*a-d*o,t[5]=p*l-d*r,t[6]=c,t[7]=u,t[8]=h,t},scale:function(t,e,n){const i=n[0],o=n[1],r=n[2];return t[0]=i*e[0],t[1]=i*e[1],t[2]=i*e[2],t[3]=o*e[3],t[4]=o*e[4],t[5]=o*e[5],t[6]=r*e[6],t[7]=r*e[7],t[8]=r*e[8],t},scaleByVec2:function(t,e,n){const i=n[0],o=n[1];return t[0]=i*e[0],t[1]=i*e[1],t[2]=i*e[2],t[3]=o*e[3],t[4]=o*e[4],t[5]=o*e[5],t},set:r,str:function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},sub:f,subtract:h,translate:function(t,e,n){const i=e[0],o=e[1],r=e[2],s=e[3],a=e[4],l=e[5],c=e[6],u=e[7],h=e[8],d=n[0],p=n[1];return t[0]=i,t[1]=o,t[2]=r,t[3]=s,t[4]=a,t[5]=l,t[6]=d*i+p*s+c,t[7]=d*o+p*a+u,t[8]=d*r+p*l+h,t},transpose:s},Symbol.toStringTag,{value:"Module"}))},46521:(t,e,n)=>{function i(){return[1,0,0,0,1,0,0,0,1]}function o(t,e,n,i,o,r,s,a,l){return[t,e,n,i,o,r,s,a,l]}function r(t,e){return new Float64Array(t,e,9)}n.d(e,{a:()=>i,c:()=>r,f:()=>o}),Object.freeze(Object.defineProperty({__proto__:null,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},create:i,createView:r,fromValues:o},Symbol.toStringTag,{value:"Module"}))},88764:(t,e,n)=>{n.d(e,{q:()=>l});var i,o,r,s=n(5732),a={exports:{}};i=a,o=function(){function t(n,i,o,r,s){for(;r>o;){if(r-o>600){var a=r-o+1,l=i-o+1,c=Math.log(a),u=.5*Math.exp(2*c/3),h=.5*Math.sqrt(c*u*(a-u)/a)*(l-a/2<0?-1:1);t(n,i,Math.max(o,Math.floor(i-l*u/a+h)),Math.min(r,Math.floor(i+(a-l)*u/a+h)),s)}var d=n[i],p=o,f=r;for(e(n,o,i),s(n[r],d)>0&&e(n,o,r);p<f;){for(e(n,p,f),p++,f--;s(n[p],d)<0;)p++;for(;s(n[f],d)>0;)f--}0===s(n[o],d)?e(n,o,f):e(n,++f,r),f<=i&&(o=f+1),i<=f&&(r=f-1)}}function e(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function n(t,e){return t<e?-1:t>e?1:0}return function(e,i,o,r,s){t(e,i,o||0,r||e.length-1,s||n)}},void 0!==(r=o())&&(i.exports=r);const l=(0,s.g)(a.exports)},4307:(t,e,n)=>{n.d(e,{d:()=>l,l:()=>d,r:()=>f,s:()=>o,t:()=>p});var i=n(46851);function o(t,e,n){return t[0]=e,t[1]=n,t}function r(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function s(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t}function a(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t}function l(t,e){const n=e[0]-t[0],i=e[1]-t[1];return Math.sqrt(n*n+i*i)}function c(t,e){const n=e[0]-t[0],i=e[1]-t[1];return n*n+i*i}function u(t){const e=t[0],n=t[1];return Math.sqrt(e*e+n*n)}function h(t){const e=t[0],n=t[1];return e*e+n*n}function d(t,e,n,i){const o=e[0],r=e[1];return t[0]=o+i*(n[0]-o),t[1]=r+i*(n[1]-r),t}function p(t,e,n){const i=e[0],o=e[1];return t[0]=n[0]*i+n[2]*o+n[4],t[1]=n[1]*i+n[3]*o+n[5],t}function f(t,e,n,i){const o=e[0]-n[0],r=e[1]-n[1],s=Math.sin(i),a=Math.cos(i);return t[0]=o*a-r*s+n[0],t[1]=o*s+r*a+n[1],t}const m=u,y=r,_=s,x=a,g=l,b=c,v=h;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t},angle:function(t,e){const n=t[0],i=t[1],o=e[0],r=e[1];let s=n*n+i*i;s>0&&(s=1/Math.sqrt(s));let a=o*o+r*r;a>0&&(a=1/Math.sqrt(a));const l=(n*o+i*r)*s*a;return l>1?0:l<-1?Math.PI:Math.acos(l)},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t},cross:function(t,e,n){const i=e[0]*n[1]-e[1]*n[0];return t[0]=t[1]=0,t[2]=i,t},dist:g,distance:l,div:x,divide:a,dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},equals:function(t,e){const n=t[0],o=t[1],r=e[0],s=e[1],a=(0,i.g)();return Math.abs(n-r)<=a*Math.max(1,Math.abs(n),Math.abs(r))&&Math.abs(o-s)<=a*Math.max(1,Math.abs(o),Math.abs(s))},exactEquals:function(t,e){return t[0]===e[0]&&t[1]===e[1]},floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t},len:m,length:u,lerp:d,max:function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t},min:function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},mul:_,multiply:s,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},normalize:function(t,e){const n=e[0],i=e[1];let o=n*n+i*i;return o>0&&(o=1/Math.sqrt(o),t[0]=e[0]*o,t[1]=e[1]*o),t},projectAndScale:function(t,e,n,i,o){let r=e[0]-n[0],s=e[1]-n[1];const a=(i[0]*r+i[1]*s)*(o-1);return r=i[0]*a,s=i[1]*a,t[0]=e[0]+r,t[1]=e[1]+s,t},random:function(t,e){e=e||1;const n=2*(0,i.R)()*Math.PI;return t[0]=Math.cos(n)*e,t[1]=Math.sin(n)*e,t},rotate:f,round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t},scale:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},scaleAndAdd:function(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t},set:o,sqrDist:b,sqrLen:v,squaredDistance:c,squaredLength:h,str:function(t){return"vec2("+t[0]+", "+t[1]+")"},sub:y,subtract:r,transformMat2:function(t,e,n){const i=e[0],o=e[1];return t[0]=n[0]*i+n[2]*o,t[1]=n[1]*i+n[3]*o,t},transformMat2d:p,transformMat3:function(t,e,n){const i=e[0],o=e[1];return t[0]=n[0]*i+n[3]*o+n[6],t[1]=n[1]*i+n[4]*o+n[7],t},transformMat4:function(t,e,n){const i=e[0],o=e[1];return t[0]=n[0]*i+n[4]*o+n[12],t[1]=n[1]*i+n[5]*o+n[13],t}},Symbol.toStringTag,{value:"Module"}))},97323:(t,e,n)=>{function i(){return[0,0]}function o(t,e){return[t,e]}function r(t,e){return new Float64Array(t,e,2)}function s(){return o(1,1)}function a(){return o(1,0)}function l(){return o(0,1)}n.d(e,{a:()=>i,c:()=>r,f:()=>o});const c=s(),u=a(),h=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:c,UNIT_X:u,UNIT_Y:h,ZEROS:[0,0],clone:function(t){return[t[0],t[1]]},create:i,createView:r,fromArray:function(t,e=[0,0]){const n=Math.min(2,t.length);for(let i=0;i<n;++i)e[i]=t[i];return e},fromValues:o,ones:s,unitX:a,unitY:l,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},2368:(t,e,n)=>{n.d(e,{J:()=>u,j:()=>h});var i=n(43697),o=n(92036),r=(n(80442),n(22974)),s=(n(92604),n(70586)),a=n(31263),l=n(1153),c=n(52011);const u=t=>{let e=class extends t{clone(){const t=(0,l.vw)(this);(0,s.O3)(t,"unable to clone instance of non-accessor class");const e=t.metadatas,n=t.store,i={},o=new Map;for(const t in e){const s=e[t],l=n?.originOf(t),c=s.clonable;if(s.readOnly||!1===c||l!==a.s3.USER&&l!==a.s3.DEFAULTS&&l!==a.s3.WEB_MAP&&l!==a.s3.WEB_SCENE)continue;const u=this[t];let h=null;h="function"==typeof c?c(u):"reference"===c?u:(0,r.Vo)(u),null!=u&&null==h||(l===a.s3.DEFAULTS?o.set(t,h):i[t]=h)}const c=new(0,Object.getPrototypeOf(this).constructor)(i);if(o.size){const t=(0,l.vw)(c)?.store;if(t)for(const[e,n]of o)t.set(e,n,a.s3.DEFAULTS)}return c}};return e=(0,i._)([(0,c.j)("esri.core.Clonable")],e),e};let h=class extends(u(o.Z)){};h=(0,i._)([(0,c.j)("esri.core.Clonable")],h)},10699:(t,e,n)=>{n.d(e,{IG:()=>s,iv:()=>a});var i=n(43697),o=n(52011);let r=0;const s=t=>{let e=class extends t{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+r++})}};return e=(0,i._)([(0,o.j)("esri.core.Identifiable")],e),e},a=t=>{let e=class extends t{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:r++})}};return e=(0,i._)([(0,o.j)("esri.core.NumericIdentifiable")],e),e};let l=class extends(s(class{})){};l=(0,i._)([(0,o.j)("esri.core.Identifiable")],l)},70163:(t,e,n)=>{n.d(e,{Jl:()=>u,n$:()=>h});var i=n(3172),o=n(20102),r=n(95330),s=n(17452),a=n(49917);let l=null,c=!0;function u(t,e,n,i){if(!e||!n)throw new Error("Cannot construct image data without dimensions");if(c)try{return new ImageData(t,e,n)}catch(t){c=!1}const o=function(t,e,n){return n||(l||(l=document.createElement("canvas"),l.width=1,l.height=1),n=l),n.getContext("2d").createImageData(t,e)}(e,n,i);return o.data.set(t,0),o}async function h(t,e){const{arrayBuffer:l,mediaType:c}=await async function(t,e){const n=(0,s.sJ)(t);if(n?.isBase64)return{arrayBuffer:(0,a.R)(n.data),mediaType:n.mediaType};const o=await(0,i.Z)(t,{responseType:"array-buffer",...e});return{arrayBuffer:o.data,mediaType:o.getHeader("Content-Type")}}(t,e),u="image/png"===c;if("image/gif"===c){const{isAnimatedGIF:t,parseGif:i}=await n.e(3310).then(n.bind(n,83310));if(t(l))return i(l,e)}if(u){const{isAnimatedPNG:t,parseApng:i}=await n.e(4492).then(n.bind(n,54492));if(t(l))return i(l,e)}return async function(t,e){const n=window.URL.createObjectURL(t);try{const{data:t}=await(0,i.Z)(n,{...e,responseType:"image"});return t}catch(t){if(!(0,r.D_)(t))throw new o.Z("invalid-image",`Could not fetch requested image at ${n}`);throw t}finally{window.URL.revokeObjectURL(n)}}(new Blob([l],{type:c}),e)}},24133:(t,e,n)=>{n.d(e,{Q:()=>s});var i=n(67676),o=n(44553),r=n(88764);class s{constructor(t=9,e){this._compareMinX=u,this._compareMinY=h,this._toBBox=t=>t,this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&("function"==typeof e?this._toBBox=e:this._initFormat(e)),this.clear()}destroy(){this.clear(),g.prune(),b.prune(),v.prune(),w.prune()}all(t){this._all(this._data,t)}search(t,e){let n=this._data;const i=this._toBBox;if(_(t,n))for(g.clear();n;){for(let o=0,r=n.children.length;o<r;o++){const r=n.children[o],s=n.leaf?i(r):r;_(t,s)&&(n.leaf?e(r):y(t,s)?this._all(r,e):g.push(r))}n=g.pop()}}collides(t){let e=this._data;const n=this._toBBox;if(!_(t,e))return!1;for(g.clear();e;){for(let i=0,o=e.children.length;i<o;i++){const o=e.children[i],r=e.leaf?n(o):o;if(_(t,r)){if(e.leaf||y(t,r))return!0;g.push(o)}}e=g.pop()}return!1}load(t){if(!t.length)return this;if(t.length<this._minEntries){for(let e=0,n=t.length;e<n;e++)this.insert(t[e]);return this}let e=this._build(t.slice(0,t.length),0,t.length-1,0);if(this._data.children.length)if(this._data.height===e.height)this._splitRoot(this._data,e);else{if(this._data.height<e.height){const t=this._data;this._data=e,e=t}this._insert(e,this._data.height-e.height-1,!0)}else this._data=e;return this}insert(t){return t&&this._insert(t,this._data.height-1),this}clear(){return this._data=new C([]),this}remove(t){if(!t)return this;let e,n=this._data,o=null,r=0,s=!1;const a=this._toBBox(t);for(v.clear(),w.clear();n||v.length>0;){if(n||(n=v.pop(),o=v.data[v.length-1],r=w.pop()??0,s=!0),n.leaf&&(e=(0,i.cq)(n.children,t,n.children.length,n.indexHint),-1!==e))return n.children.splice(e,1),v.push(n),this._condense(v),this;s||n.leaf||!y(n,a)?o?(r++,n=o.children[r],s=!1):n=null:(v.push(n),w.push(r),r=0,o=n,n=n.children[0])}return this}toJSON(){return this._data}fromJSON(t){return this._data=t,this}_all(t,e){let n=t;for(b.clear();n;){if(!0===n.leaf)for(const t of n.children)e(t);else b.pushArray(n.children);n=b.pop()??null}}_build(t,e,n,i){const o=n-e+1;let r=this._maxEntries;if(o<=r){const i=new C(t.slice(e,n+1));return a(i,this._toBBox),i}i||(i=Math.ceil(Math.log(o)/Math.log(r)),r=Math.ceil(o/r**(i-1)));const s=new R([]);s.height=i;const l=Math.ceil(o/r),c=l*Math.ceil(Math.sqrt(r));x(t,e,n,c,this._compareMinX);for(let o=e;o<=n;o+=c){const e=Math.min(o+c-1,n);x(t,o,e,l,this._compareMinY);for(let n=o;n<=e;n+=l){const o=Math.min(n+l-1,e);s.children.push(this._build(t,n,o,i-1))}}return a(s,this._toBBox),s}_chooseSubtree(t,e,n,i){for(;i.push(e),!0!==e.leaf&&i.length-1!==n;){let n,i=1/0,o=1/0;for(let r=0,s=e.children.length;r<s;r++){const s=e.children[r],a=d(s),l=f(t,s)-a;l<o?(o=l,i=a<i?a:i,n=s):l===o&&a<i&&(i=a,n=s)}e=n||e.children[0]}return e}_insert(t,e,n){const i=this._toBBox,o=n?t:i(t);v.clear();const r=this._chooseSubtree(o,this._data,e,v);for(r.children.push(t),c(r,o);e>=0&&v.data[e].children.length>this._maxEntries;)this._split(v,e),e--;this._adjustParentBBoxes(o,v,e)}_split(t,e){const n=t.data[e],i=n.children.length,o=this._minEntries;this._chooseSplitAxis(n,o,i);const r=this._chooseSplitIndex(n,o,i);if(!r)return void console.log(" Error: assertion failed at PooledRBush._split: no valid split index");const s=n.children.splice(r,n.children.length-r),l=n.leaf?new C(s):new R(s);l.height=n.height,a(n,this._toBBox),a(l,this._toBBox),e?t.data[e-1].children.push(l):this._splitRoot(n,l)}_splitRoot(t,e){this._data=new R([t,e]),this._data.height=t.height+1,a(this._data,this._toBBox)}_chooseSplitIndex(t,e,n){let i,o,r;i=o=1/0;for(let s=e;s<=n-e;s++){const e=l(t,0,s,this._toBBox),a=l(t,s,n,this._toBBox),c=m(e,a),u=d(e)+d(a);c<i?(i=c,r=s,o=u<o?u:o):c===i&&u<o&&(o=u,r=s)}return r}_chooseSplitAxis(t,e,n){const i=t.leaf?this._compareMinX:u,o=t.leaf?this._compareMinY:h;this._allDistMargin(t,e,n,i)<this._allDistMargin(t,e,n,o)&&t.children.sort(i)}_allDistMargin(t,e,n,i){t.children.sort(i);const o=this._toBBox,r=l(t,0,e,o),s=l(t,n-e,n,o);let a=p(r)+p(s);for(let i=e;i<n-e;i++){const e=t.children[i];c(r,t.leaf?o(e):e),a+=p(r)}for(let i=n-e-1;i>=e;i--){const e=t.children[i];c(s,t.leaf?o(e):e),a+=p(s)}return a}_adjustParentBBoxes(t,e,n){for(let i=n;i>=0;i--)c(e.data[i],t)}_condense(t){for(let e=t.length-1;e>=0;e--){const n=t.data[e];if(0===n.children.length)if(e>0){const o=t.data[e-1],r=o.children;r.splice((0,i.cq)(r,n,r.length,o.indexHint),1)}else this.clear();else a(n,this._toBBox)}}_initFormat(t){const e=["return a"," - b",";"];this._compareMinX=new Function("a","b",e.join(t[0])),this._compareMinY=new Function("a","b",e.join(t[1])),this._toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}function a(t,e){l(t,0,t.children.length,e,t)}function l(t,e,n,i,o){o||(o=new C([])),o.minX=1/0,o.minY=1/0,o.maxX=-1/0,o.maxY=-1/0;for(let r,s=e;s<n;s++)r=t.children[s],c(o,t.leaf?i(r):r);return o}function c(t,e){t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY)}function u(t,e){return t.minX-e.minX}function h(t,e){return t.minY-e.minY}function d(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function p(t){return t.maxX-t.minX+(t.maxY-t.minY)}function f(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}function m(t,e){const n=Math.max(t.minX,e.minX),i=Math.max(t.minY,e.minY),o=Math.min(t.maxX,e.maxX),r=Math.min(t.maxY,e.maxY);return Math.max(0,o-n)*Math.max(0,r-i)}function y(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function _(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function x(t,e,n,i,o){const s=[e,n];for(;s.length;){const e=s.pop(),n=s.pop();if(e-n<=i)continue;const a=n+Math.ceil((e-n)/i/2)*i;(0,r.q)(t,a,n,e,o),s.push(n,a,a,e)}}const g=new o.Z,b=new o.Z,v=new o.Z,w=new o.Z({deallocator:void 0});class M{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class P extends M{constructor(){super(...arguments),this.height=1,this.indexHint=new i.SO}}class C extends P{constructor(t){super(),this.children=t,this.leaf=!0}}class R extends P{constructor(t){super(),this.children=t,this.leaf=!1}}},17445:(t,e,n)=>{n.d(e,{N1:()=>d,YP:()=>l,Z_:()=>m,gx:()=>c,nn:()=>y,on:()=>h,tX:()=>_}),n(66643),n(46791);var i=n(91460),o=n(50758),r=n(70586),s=n(95330),a=n(26258);function l(t,e,n={}){return u(t,e,n,p)}function c(t,e,n={}){return u(t,e,n,f)}function u(t,e,n={},i){let o=null;const s=n.once?(t,n)=>{i(t)&&((0,r.hw)(o),e(t,n))}:(t,n)=>{i(t)&&e(t,n)};if(o=(0,a.aQ)(t,s,n.sync,n.equals),n.initial){const e=t();s(e,e)}return o}function h(t,e,n,s={}){let a=null,c=null,u=null;function h(){a&&c&&(c.remove(),s.onListenerRemove?.(a),a=null,c=null)}function d(t){s.once&&s.once&&(0,r.hw)(u),n(t)}const p=l(t,((t,n)=>{h(),(0,i.vT)(t)&&(a=t,c=(0,i.on)(t,e,d),s.onListenerAdd?.(t))}),{sync:s.sync,initial:!0});return u=(0,o.kB)((()=>{p.remove(),h()})),u}function d(t,e){return function(t,e,n){if((0,s.Hc)(n))return Promise.reject((0,s.zE)());const i=t();if(e?.(i))return Promise.resolve(i);let a=null;function l(){a=(0,r.hw)(a)}return new Promise(((i,r)=>{a=(0,o.AL)([(0,s.fu)(n,(()=>{l(),r((0,s.zE)())})),u(t,(t=>{l(),i(t)}),{sync:!1,once:!0},e??p)])}))}(t,f,e)}function p(t){return!0}function f(t){return!!t}n(87538);const m={sync:!0},y={initial:!0},_={sync:!0,initial:!0}},41123:(t,e,n)=>{n.d(e,{D:()=>o,z:()=>r});const i="randomUUID"in crypto;function o(){if(i)return crypto.randomUUID();const t=crypto.getRandomValues(new Uint16Array(8));t[3]=4095&t[3]|16384,t[4]=16383&t[4]|32768;const e=e=>t[e].toString(16).padStart(4,"0");return e(0)+e(1)+"-"+e(2)+"-"+e(3)+"-"+e(4)+"-"+e(5)+e(6)+e(7)}function r(){return`{${o()}}`}},73913:(t,e,n)=>{n.d(e,{Sy:()=>l,UZ:()=>s,XZ:()=>a,x3:()=>c});var i=n(58901),o=n(82971),r=n(33955);const s={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new i.Z({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:o.Z.WebMercator}),minus180Line:new i.Z({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:o.Z.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new i.Z({paths:[[[180,-180],[180,180]]],spatialReference:o.Z.WGS84}),minus180Line:new i.Z({paths:[[[-180,-180],[-180,180]]],spatialReference:o.Z.WGS84})}};function a(t,e){return Math.ceil((t-e)/(2*e))}function l(t,e){const n=c(t);for(const t of n)for(const n of t)n[0]+=e;return t}function c(t){return(0,r.oU)(t)?t.rings:t.paths}},87085:(t,e,n)=>{n.d(e,{Z:()=>g});var i=n(43697),o=(n(66577),n(3172)),r=n(20102),s=n(32448),a=n(10699),l=n(83379),c=n(92604),u=n(95330),h=n(17452),d=n(5600),p=(n(75215),n(67676),n(80442),n(52011)),f=n(68773),m=n(6570),y=n(82971);let _=0,x=class extends(s.Z.EventedMixin((0,a.IG)(l.Z))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new m.Z(-180,-90,180,90,y.Z.WGS84),this.id=Date.now().toString(16)+"-layer-"+_++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.persistenceEnabled=!1,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=y.Z.WGS84,this.title=null,this.type=null,this.url=null,this.visible=!0}static async fromArcGISServerUrl(t){const e="string"==typeof t?{url:t}:t;return(await n.e(3529).then(n.bind(n,63529))).fromUrl(e)}static fromPortalItem(t){return async function(t){const e="portalItem"in t?t:{portalItem:t},{fromItem:i}=await n.e(8008).then(n.bind(n,28008));try{return await i(e)}catch(t){const n=e&&e.portalItem,i=n?.id||"unset",o=n&&n.portal&&n.portal.url||f.default.portalUrl;throw c.Z.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+o+"', id: '"+i+"')",t),t}}(t)}initialize(){this.when().catch((t=>{(0,u.D_)(t)||c.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,h.mN)(this.url)}async fetchAttributionData(){const t=this.attributionDataUrl;if(this.hasAttributionData&&t)return(await(0,o.Z)(t,{query:{f:"json"},responseType:"json"})).data;throw new r.Z("layer:no-attribution-data","Layer does not have attribution data")}};(0,i._)([(0,d.Cb)({type:String})],x.prototype,"attributionDataUrl",void 0),(0,i._)([(0,d.Cb)({type:m.Z})],x.prototype,"fullExtent",void 0),(0,i._)([(0,d.Cb)({readOnly:!0})],x.prototype,"hasAttributionData",null),(0,i._)([(0,d.Cb)({type:String,clonable:!1})],x.prototype,"id",void 0),(0,i._)([(0,d.Cb)({type:Boolean,nonNullable:!0})],x.prototype,"legendEnabled",void 0),(0,i._)([(0,d.Cb)({type:["show","hide","hide-children"]})],x.prototype,"listMode",void 0),(0,i._)([(0,d.Cb)({type:Number,range:{min:0,max:1},nonNullable:!0})],x.prototype,"opacity",void 0),(0,i._)([(0,d.Cb)({clonable:!1})],x.prototype,"parent",void 0),(0,i._)([(0,d.Cb)({readOnly:!0})],x.prototype,"parsedUrl",null),(0,i._)([(0,d.Cb)({type:Boolean,readOnly:!0})],x.prototype,"persistenceEnabled",void 0),(0,i._)([(0,d.Cb)({type:Boolean})],x.prototype,"popupEnabled",void 0),(0,i._)([(0,d.Cb)({type:Boolean})],x.prototype,"attributionVisible",void 0),(0,i._)([(0,d.Cb)({type:y.Z})],x.prototype,"spatialReference",void 0),(0,i._)([(0,d.Cb)({type:String})],x.prototype,"title",void 0),(0,i._)([(0,d.Cb)({readOnly:!0,json:{read:!1}})],x.prototype,"type",void 0),(0,i._)([(0,d.Cb)()],x.prototype,"url",void 0),(0,i._)([(0,d.Cb)({type:Boolean,nonNullable:!0})],x.prototype,"visible",void 0),x=(0,i._)([(0,p.j)("esri.layers.Layer")],x);const g=x},57765:(t,e,n)=>{n.r(e),n.d(e,{default:()=>se});var i=n(43697),o=n(46791),r=n(20102),s=n(92604),a=n(16453),l=n(5600),c=n(90578),u=(n(67676),n(80442),n(71715)),h=n(52011),d=n(30556),p=n(87085),f=n(71612),m=n(38009),y=n(72965),_=n(3172),x=n(70163),g=n(17452),b=n(41123),v=(n(75215),n(10699)),w=n(96674),M=n(83379),P=n(92036),C=n(21787),R=n(46521),I=n(4307),S=n(17896);const B=(0,n(65617).c)(),j=(0,R.a)(),T=(0,R.a)(),Z=(0,R.a)();function O(t,e,n){return(0,S.s)(B,e[0],e[1],1),(0,S.t)(B,B,(0,C.t)(j,n)),0===B[2]?(0,I.s)(t,B[0],B[1]):(0,I.s)(t,B[0]/B[2],B[1]/B[2])}function L(t,e,n){return E(T,e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),E(Z,n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7]),(0,C.m)(t,(0,C.a)(T,T),Z),0!==t[8]&&(t[0]/=t[8],t[1]/=t[8],t[2]/=t[8],t[3]/=t[8],t[4]/=t[8],t[5]/=t[8],t[6]/=t[8],t[7]/=t[8],t[8]/=t[8]),t}function E(t,e,n,i,o,r,s,a,l){(0,C.s)(t,e,i,r,n,o,s,1,1,1),(0,S.s)(B,a,l,1),(0,C.a)(j,t);const[c,u,h]=(0,S.t)(B,B,(0,C.t)(j,j));return(0,C.s)(j,c,0,0,0,u,0,0,0,h),(0,C.m)(t,j,t)}var X=n(62357),Y=n(97323),A=n(94139),N=n(38913),D=n(73615),U=n(82971),z=n(2368);let H=class extends z.j{projectOrWarn(t,e){if(null==t)return t;const{geometry:n,pending:i}=(0,D.projectOrLoad)(t,e);return i?null:i||n?n:(s.Z.getLogger(this).warn("geometry could not be projected to the spatial reference",{georeference:this,geometry:t,sourceSpatialReference:t.spatialReference,targetSpatialReference:e}),null)}};H=(0,i._)([(0,h.j)("esri.layers.support.GeoreferenceBase")],H);const W=H,q=(0,R.a)(),V=(0,Y.a)();let F=class extends P.Z{constructor(){super(...arguments),this.sourcePoint=null,this.mapPoint=null}};(0,i._)([(0,l.Cb)()],F.prototype,"sourcePoint",void 0),(0,i._)([(0,l.Cb)({type:A.Z})],F.prototype,"mapPoint",void 0),F=(0,i._)([(0,h.j)("esri.layers.support.ControlPoint")],F);let G=class extends((0,w.eC)(W)){constructor(t){super(t),this.controlPoints=null,this.height=0,this.type="control-points",this.width=0}readControlPoints(t,e){const n=U.Z.fromJSON(e.spatialReference),i=(0,R.f)(...e.coefficients,1);return t.map((t=>((0,I.s)(V,t.x,t.y),O(V,V,i),{sourcePoint:t,mapPoint:new A.Z({x:V[0],y:V[1],spatialReference:n})})))}writeControlPoints(t,e,n,i){if(null!=this.transform)null!=t&&J(t[0])&&(e.controlPoints=t.map((t=>{const e=t.sourcePoint;return{x:e.x,y:e.y}})),e.spatialReference=t[0].mapPoint.spatialReference.toJSON(),e.coefficients=this.transform.slice(0,8));else{const t=new r.Z("web-document-write:invalid-georeference","Invalid 'controlPoints', 'width', 'height' configuration.",{layer:i?.layer,georeference:this});i?.messages?i.messages.push(t):s.Z.getLogger(this).error(t.name,t.message)}}get coords(){if(null==this.controlPoints)return null;const t=this._updateTransform(q);if(null==t||!J(this.controlPoints[0]))return null;const e=this.controlPoints[0].mapPoint.spatialReference;return function(t,e,n,i){const o=(0,Y.f)(0,n),r=(0,Y.f)(0,0),s=(0,Y.f)(e,0),a=(0,Y.f)(e,n);return O(o,o,t),O(r,r,t),O(s,s,t),O(a,a,t),new N.Z({rings:[[o,r,s,a,o]],spatialReference:i})}(t,this.width,this.height,e)}set coords(t){if(null==this.controlPoints||!J(this.controlPoints[0]))return;const e=this.controlPoints[0].mapPoint.spatialReference;if(null==(t=this.projectOrWarn(t,e)))return;const{width:n,height:i}=this,{rings:[[o,r,s,a]]}=t,l={sourcePoint:(0,X.vW)(0,i),mapPoint:new A.Z({x:o[0],y:o[1],spatialReference:e})},c={sourcePoint:(0,X.vW)(0,0),mapPoint:new A.Z({x:r[0],y:r[1],spatialReference:e})},u={sourcePoint:(0,X.vW)(n,0),mapPoint:new A.Z({x:s[0],y:s[1],spatialReference:e})},h={sourcePoint:(0,X.vW)(n,i),mapPoint:new A.Z({x:a[0],y:a[1],spatialReference:e})};J(l)&&J(c)&&J(u)&&J(h)&&(st(q,l,c,u,h),this.controlPoints=this.controlPoints.map((({sourcePoint:t})=>((0,I.s)(V,t.x,t.y),O(V,V,q),{sourcePoint:t,mapPoint:new A.Z({x:V[0],y:V[1],spatialReference:e})}))))}get inverseTransform(){return null==this.transform?null:(0,C.d)((0,R.a)(),this.transform)}get transform(){return this._updateTransform()}toMap(t){if(null==t||null==this.transform||null==this.controlPoints||!J(this.controlPoints[0]))return null;(0,I.s)(V,t.x,t.y);const e=this.controlPoints[0].mapPoint.spatialReference;return O(V,V,this.transform),new A.Z({x:V[0],y:V[1],spatialReference:e})}toSource(t){if(null==t||null==this.inverseTransform||null==this.controlPoints||!J(this.controlPoints[0]))return null;const e=this.controlPoints[0].mapPoint.spatialReference;return t=t.normalize(),null==(t=(0,D.projectOrLoad)(t,e).geometry)?null:((0,I.s)(V,t.x,t.y),O(V,V,this.inverseTransform),(0,X.vW)(V[0],V[1]))}toSourceNormalized(t){const e=this.toSource(t);return null!=e&&(e.x/=this.width,e.y/=this.height),e}_updateTransform(t){const{controlPoints:e,width:n,height:i}=this;if(!(null!=e&&n>0&&i>0))return null;const[o,r,s,a]=e;if(!J(o))return null;const l=o.mapPoint.spatialReference,c=this._projectControlPoint(r,l),u=this._projectControlPoint(s,l),h=this._projectControlPoint(a,l);if(!c.valid||!u.valid||!h.valid)return null;if(!J(c.controlPoint))return null;null==t&&(t=(0,R.a)());let d=null;return d=J(u.controlPoint)&&J(h.controlPoint)?st(t,o,c.controlPoint,u.controlPoint,h.controlPoint):J(u.controlPoint)?function(t,e,n,i){return rt(k,tt,e),rt($,et,n),rt(K,nt,i),(0,I.l)(Q,k,$,.5),(0,I.r)(Q,K,Q,Math.PI),(0,I.l)(it,tt,et,.5),(0,I.r)(it,nt,it,Math.PI),ut(t,k,$,K,Q,tt,et,nt,it)}(t,o,c.controlPoint,u.controlPoint):function(t,e,n){return rt(k,tt,e),rt($,et,n),(0,I.r)(K,$,k,ot),(0,I.r)(Q,k,$,ot),(0,I.r)(nt,et,tt,-ot),(0,I.r)(it,tt,et,-ot),ut(t,k,$,K,Q,tt,et,nt,it)}(t,o,c.controlPoint),d.every((t=>0===t))?null:d}_projectControlPoint(t,e){if(!J(t))return{valid:!0,controlPoint:t};const{sourcePoint:n,mapPoint:i}=t,{geometry:o,pending:r}=(0,D.projectOrLoad)(i,e);return r?{valid:!1,controlPoint:null}:r||o?{valid:!0,controlPoint:{sourcePoint:n,mapPoint:o}}:(s.Z.getLogger(this).warn("map point could not be projected to the spatial reference",{georeference:this,controlPoint:t,sourceSpatialReference:i.spatialReference,targetSpatialReference:e}),{valid:!1,controlPoint:null})}};function J(t){return null!=t?.sourcePoint&&null!=t.mapPoint}(0,i._)([(0,l.Cb)({type:[F],json:{write:{allowNull:!1,isRequired:!0}}})],G.prototype,"controlPoints",void 0),(0,i._)([(0,u.r)("controlPoints")],G.prototype,"readControlPoints",null),(0,i._)([(0,d.c)("controlPoints")],G.prototype,"writeControlPoints",null),(0,i._)([(0,l.Cb)()],G.prototype,"coords",null),(0,i._)([(0,l.Cb)({json:{write:!0}})],G.prototype,"height",void 0),(0,i._)([(0,l.Cb)({readOnly:!0})],G.prototype,"inverseTransform",null),(0,i._)([(0,l.Cb)({readOnly:!0})],G.prototype,"transform",null),(0,i._)([(0,l.Cb)({json:{write:!0}})],G.prototype,"width",void 0),G=(0,i._)([(0,h.j)("esri.layers.support.ControlPointsGeoreference")],G);const k=(0,Y.a)(),$=(0,Y.a)(),K=(0,Y.a)(),Q=(0,Y.a)(),tt=(0,Y.a)(),et=(0,Y.a)(),nt=(0,Y.a)(),it=(0,Y.a)(),ot=Math.PI/2;function rt(t,e,n){(0,I.s)(t,n.sourcePoint.x,n.sourcePoint.y),(0,I.s)(e,n.mapPoint.x,n.mapPoint.y)}function st(t,e,n,i,o){return rt(k,tt,e),rt($,et,n),rt(K,nt,i),rt(Q,it,o),ut(t,k,$,K,Q,tt,et,nt,it)}const at=new Array(8).fill(0),lt=new Array(8).fill(0);function ct(t,e,n,i,o){return t[0]=e[0],t[1]=e[1],t[2]=n[0],t[3]=n[1],t[4]=i[0],t[5]=i[1],t[6]=o[0],t[7]=o[1],t}function ut(t,e,n,i,o,r,s,a,l){return L(t,ct(at,e,n,i,o),ct(lt,r,s,a,l))}const ht=G,dt=(0,Y.a)();let pt=class extends W{constructor(t){super(t),this.bottomLeft=null,this.bottomRight=null,this.topLeft=null,this.topRight=null,this.type="corners"}get coords(){let{topLeft:t,topRight:e,bottomLeft:n,bottomRight:i}=this;if(null==t||null==e||null==n||null==i)return null;const o=t.spatialReference;return e=this.projectOrWarn(e,o),n=this.projectOrWarn(n,o),i=this.projectOrWarn(i,o),null==e||null==n||null==i?null:new N.Z({rings:[[[n.x,n.y],[t.x,t.y],[e.x,e.y],[i.x,i.y],[n.x,n.y]]],spatialReference:o})}set coords(t){const{topLeft:e}=this;if(null==e)return;const n=e.spatialReference;if(null==(t=this.projectOrWarn(t,n)))return;const{rings:[[i,o,r,s]]}=t;this.bottomLeft=new A.Z({x:i[0],y:i[1],spatialReference:n}),this.topLeft=new A.Z({x:o[0],y:o[1],spatialReference:n}),this.topRight=new A.Z({x:r[0],y:r[1],spatialReference:n}),this.bottomRight=new A.Z({x:s[0],y:s[1],spatialReference:n})}toSourceNormalized(t){const{topLeft:e,topRight:n,bottomRight:i,bottomLeft:o}=this;if(null==t||null==e||null==n||null==i||null==o)return null;const r=e.spatialReference;t=t.normalize();const s=(0,D.projectOrLoad)(t,r).geometry;if(null==s)return null;(0,I.s)(dt,s.x,s.y);const a=L((0,R.a)(),[e.x,e.y,o.x,o.y,n.x,n.y,i.x,i.y],[0,0,0,1,1,0,1,1]);return O(dt,dt,a),(0,X.vW)(dt[0],dt[1])}};(0,i._)([(0,l.Cb)()],pt.prototype,"coords",null),(0,i._)([(0,l.Cb)({type:A.Z})],pt.prototype,"bottomLeft",void 0),(0,i._)([(0,l.Cb)({type:A.Z})],pt.prototype,"bottomRight",void 0),(0,i._)([(0,l.Cb)({type:A.Z})],pt.prototype,"topLeft",void 0),(0,i._)([(0,l.Cb)({type:A.Z})],pt.prototype,"topRight",void 0),pt=(0,i._)([(0,h.j)("esri.layers.support.CornersGeoreference")],pt);const ft=pt;var mt=n(22021),yt=n(46851),_t=n(6570);let xt=class extends W{constructor(t){super(t),this.extent=null,this.rotation=0,this.type="extent-and-rotation"}get coords(){if(null==this.extent)return null;const{xmin:t,ymin:e,xmax:n,ymax:i,spatialReference:o}=this.extent;let r;if(this.rotation){const{x:o,y:s}=this.extent.center,a=gt(o,s,this.rotation);r=[a(t,e),a(t,i),a(n,i),a(n,e)],r.push(r[0])}else r=[[t,e],[t,i],[n,i],[n,e],[t,e]];return new N.Z({rings:[r],spatialReference:o})}set coords(t){if(null==t||null==this.extent)return;const e=this.extent.spatialReference;if(t=this.projectOrWarn(t,e),null==t?.extent)return;const{rings:[[n,i,o]],extent:{center:{x:r,y:s}}}=t,a=(0,mt.BV)(Math.PI/2-Math.atan2(i[1]-n[1],i[0]-n[0])),l=gt(r,s,-a),[c,u]=l(n[0],n[1]),[h,d]=l(o[0],o[1]);this.extent=new _t.Z({xmin:c,ymin:u,xmax:h,ymax:d,spatialReference:e}),this.rotation=a}toSourceNormalized(t){const{extent:e,rotation:n}=this;if(null==t||null==e)return null;const{xmin:i,ymin:o,xmax:r,ymax:s,center:a,spatialReference:l}=e;t=t.normalize();const c=(0,D.projectOrLoad)(t,l).geometry;if(null==c)return null;let u=c.x,h=c.y;return n&&([u,h]=gt(a.x,a.y,-n)(u,h)),(0,X.vW)((0,mt.bA)(u,i,r,0,1),(0,mt.bA)(h,s,o,0,1))}};function gt(t,e,n){const i=(0,yt.t)(n),o=Math.cos(i),r=Math.sin(i);return(n,i)=>[o*(n-t)+r*(i-e)+t,o*(i-e)-r*(n-t)+e]}(0,i._)([(0,l.Cb)()],xt.prototype,"coords",null),(0,i._)([(0,l.Cb)({type:_t.Z})],xt.prototype,"extent",void 0),(0,i._)([(0,l.Cb)({type:Number})],xt.prototype,"rotation",void 0),xt=(0,i._)([(0,h.j)("esri.layers.support.ExtentAndRotationGeoreference")],xt);const bt={key:"type",base:W,typeMap:{"control-points":ht,corners:ft,"extent-and-rotation":xt}};let vt=class extends((0,v.iv)((0,w.eC)(M.Z))){constructor(t){super(t),this.georeference=null,this.opacity=1}readGeoreference(t){return ht.fromJSON(t)}get contentWidth(){return 0}get contentHeight(){return 0}toSource(t){const{georeference:e,contentWidth:n,contentHeight:i}=this;if(null==t||null==e||0===n||0===i)return null;const o=e.toSourceNormalized(t);return null==o?null:(o.x*=n,o.y*=i,o)}};(0,i._)([(0,l.Cb)({types:bt,json:{write:!0}})],vt.prototype,"georeference",void 0),(0,i._)([(0,u.r)("georeference")],vt.prototype,"readGeoreference",null),(0,i._)([(0,l.Cb)()],vt.prototype,"opacity",void 0),vt=(0,i._)([(0,h.j)("esri.layers.support.MediaElementBase")],vt);const wt=vt;var Mt=n(66094),Pt=n(25929);let Ct=class extends wt{constructor(t){super(t),this.animationOptions=null,this.content=null,this.image=null,this.type="image",this.image=null}load(){const t=this.image;if("string"==typeof t){const e=(0,x.n$)(t).then((t=>{this._set("content",t)}));this.addResolvingPromise(e)}else if(t instanceof HTMLImageElement){const e=t.decode().then((()=>{this._set("content",t)}));this.addResolvingPromise(e)}else t?this._set("content",t):this.addResolvingPromise(Promise.reject(new r.Z("image-element:invalid-image-type","Invalid image type",{image:t})));return Promise.resolve(this)}get contentWidth(){return null==this.content?0:this.content instanceof HTMLImageElement?this.content.naturalWidth:this.content.width}get contentHeight(){return null==this.content?0:this.content instanceof HTMLImageElement?this.content.naturalHeight:this.content.height}readImage(t,e,n){return(0,Pt.f)(e.url,n)}writeImage(t,e,n,i){if(null==t)return;const o=i?.portalItem,r=i?.resources;if(!o||!r)return void("string"==typeof t&&(e[n]=(0,Pt.t)(t,i)));const s="string"!=typeof t||(0,g.HK)(t)||(0,g.jc)(t)?null:t;if(s){if(null==(0,Pt.i)(s))return void(e[n]=s);const t=(0,Pt.t)(s,{...i,verifyItemRelativeUrls:i?.verifyItemRelativeUrls?{writtenUrls:i.verifyItemRelativeUrls.writtenUrls,rootPath:void 0}:void 0},Pt.M.NO);if(o&&t&&!(0,g.YP)(t))return r.toKeep.push({resource:o.resourceFromPath(t),compress:!1}),void(e[n]=t)}e[n]="<pending>",r.pendingOperations.push(It(t).then((t=>{const i=function(t,e){const n=(0,b.D)(),i=`${(0,g.v_)("media",n)}.${(0,Mt.B)({type:"blob",blob:t})}`;return e.resourceFromPath(i)}(t,o);e[n]=i.itemRelativeUrl,r.toAdd.push({resource:i,content:{type:"blob",blob:t},compress:!1,finish:t=>{this.image=t.url}})})))}};(0,i._)([(0,l.Cb)()],Ct.prototype,"animationOptions",void 0),(0,i._)([(0,l.Cb)({readOnly:!0})],Ct.prototype,"content",void 0),(0,i._)([(0,l.Cb)({readOnly:!0})],Ct.prototype,"contentWidth",null),(0,i._)([(0,l.Cb)({readOnly:!0})],Ct.prototype,"contentHeight",null),(0,i._)([(0,l.Cb)({json:{name:"url",type:String}})],Ct.prototype,"image",void 0),(0,i._)([(0,u.r)("image",["url"])],Ct.prototype,"readImage",null),(0,i._)([(0,d.c)("image")],Ct.prototype,"writeImage",null),(0,i._)([(0,l.Cb)({readOnly:!0,json:{name:"mediaType"}})],Ct.prototype,"type",void 0),Ct=(0,i._)([(0,h.j)("esri.layers.support.ImageElement")],Ct);const Rt=Ct;async function It(t){if("string"==typeof t){if((0,g.jc)(t)){const{data:e}=await(0,_.Z)(t,{responseType:"blob"});return e}return(0,g.HK)(t)?(0,g.fw)(t):It((await(0,_.Z)(t,{responseType:"image"})).data)}return new Promise((e=>function(t){if(t instanceof HTMLCanvasElement)return t;const e=t instanceof HTMLImageElement?t.naturalWidth:t.width,n=t instanceof HTMLImageElement?t.naturalHeight:t.height,i=document.createElement("canvas"),o=i.getContext("2d");return i.width=e,i.height=n,t instanceof HTMLImageElement?o.drawImage(t,0,0,t.width,t.height):t instanceof ImageData&&o.putImageData(t,0,0),i}(t).toBlob(e)))}n(66577);var St=n(70921),Bt=n(32448),jt=n(609),Tt=n(95330),Zt=n(17445),Ot=n(24470),Lt=n(87416),Et=n(8744),Xt=n(37549),Yt=n(20322),At=n(86662),Nt=n(33955),Dt=n(73913);function Ut(t,e,n){if(Array.isArray(t)){const i=t[0];if(i>e){const n=(0,Dt.XZ)(i,e);t[0]=i+n*(-2*e)}else if(i<n){const e=(0,Dt.XZ)(i,n);t[0]=i+e*(-2*n)}}else{const i=t.x;if(i>e){const n=(0,Dt.XZ)(i,e);t.x+=n*(-2*e)}else if(i<n){const e=(0,Dt.XZ)(i,n);t.x+=e*(-2*n)}}return t}function zt(t,e){const n=[],{ymin:i,ymax:o,xmin:r,xmax:s}=t,a=t.xmax-t.xmin,[l,c]=e.valid,{x:u,frameId:h}=Ht(t.xmin,e),{x:d,frameId:p}=Ht(t.xmax,e),f=u===d&&a>0;if(a>2*c){const t={xmin:r<s?u:d,ymin:i,xmax:c,ymax:o},e={xmin:l,ymin:i,xmax:r<s?d:u,ymax:o},a={xmin:0,ymin:i,xmax:c,ymax:o},f={xmin:l,ymin:i,xmax:0,ymax:o},m=[],y=[];Wt(t,a)&&m.push(h),Wt(t,f)&&y.push(h),Wt(e,a)&&m.push(p),Wt(e,f)&&y.push(p);for(let t=h+1;t<p;t++)m.push(t),y.push(t);n.push(new Ft(t,[h]),new Ft(e,[p]),new Ft(a,m),new Ft(f,y))}else u>d||f?n.push(new Ft({xmin:u,ymin:i,xmax:c,ymax:o},[h]),new Ft({xmin:l,ymin:i,xmax:d,ymax:o},[p])):n.push(new Ft({xmin:u,ymin:i,xmax:d,ymax:o},[h]));return n}function Ht(t,e){const[n,i]=e.valid,o=2*i;let r,s=0;return t>i?(r=Math.ceil(Math.abs(t-i)/o),t-=r*o,s=r):t<n&&(r=Math.ceil(Math.abs(t-n)/o),t+=r*o,s=-r),{x:t,frameId:s}}function Wt(t,e){const{xmin:n,ymin:i,xmax:o,ymax:r}=e;return qt(t,n,i)&&qt(t,n,r)&&qt(t,o,r)&&qt(t,o,i)}function qt(t,e,n){return e>=t.xmin&&e<=t.xmax&&n>=t.ymin&&n<=t.ymax}function Vt(t,e,n=!0){const i=!(0,Nt.l9)(t);if(i&&(0,At.Zy)(t),n)return(new Jt).cut(t,e);const o=i?t.rings:t.paths,r=i?4:2,s=o.length,a=-2*e;for(let t=0;t<s;t++){const e=o[t];if(e&&e.length>=r){const t=[];for(const n of e)t.push([n[0]+a,n[1]]);o.push(t)}}return i?t.rings=o:t.paths=o,t}class Ft{constructor(t,e){this.extent=t,this.frameIds=e}}const Gt=(0,Ot.Ue)();class Jt{constructor(){this._linesIn=[],this._linesOut=[]}cut(t,e){let n;if(this._xCut=e,t.rings)this._closed=!0,n=t.rings,this._minPts=4;else{if(!t.paths)return null;this._closed=!1,n=t.paths,this._minPts=2}for(const t of n){if(!t||t.length<this._minPts)continue;let e=!0;for(const n of t)e?(this.moveTo(n),e=!1):this.lineTo(n);this._closed&&this.close()}this._pushLineIn(),this._pushLineOut(),n=[];for(const t of this._linesIn)t&&t.length>=this._minPts&&n.push(t);const i=-2*this._xCut;for(const t of this._linesOut)if(t&&t.length>=this._minPts){for(const e of t)e[0]+=i;n.push(t)}return this._closed?t.rings=n:t.paths=n,t}moveTo(t){this._pushLineIn(),this._pushLineOut(),this._prevSide=this._side(t[0]),this._moveTo(t[0],t[1],this._prevSide),this._prevPt=t,this._firstPt=t}lineTo(t){const e=this._side(t[0]);if(e*this._prevSide==-1){const n=this._intersect(this._prevPt,t);this._lineTo(this._xCut,n,0),this._prevSide=0,this._lineTo(t[0],t[1],e)}else this._lineTo(t[0],t[1],e);this._prevSide=e,this._prevPt=t}close(){const t=this._firstPt,e=this._prevPt;t[0]===e[0]&&t[1]===e[1]||this.lineTo(t),this._checkClosingPt(this._lineIn),this._checkClosingPt(this._lineOut)}_moveTo(t,e,n){this._closed?(this._lineIn.push([n<=0?t:this._xCut,e]),this._lineOut.push([n>=0?t:this._xCut,e])):(n<=0&&this._lineIn.push([t,e]),n>=0&&this._lineOut.push([t,e]))}_lineTo(t,e,n){this._closed?(this._addPolyVertex(this._lineIn,n<=0?t:this._xCut,e),this._addPolyVertex(this._lineOut,n>=0?t:this._xCut,e)):n<0?(0===this._prevSide&&this._pushLineOut(),this._lineIn.push([t,e])):n>0?(0===this._prevSide&&this._pushLineIn(),this._lineOut.push([t,e])):this._prevSide<0?(this._lineIn.push([t,e]),this._lineOut.push([t,e])):this._prevSide>0&&(this._lineOut.push([t,e]),this._lineIn.push([t,e]))}_addPolyVertex(t,e,n){const i=t.length;i>1&&t[i-1][0]===e&&t[i-2][0]===e?t[i-1][1]=n:t.push([e,n])}_checkClosingPt(t){const e=t.length;e>3&&t[0][0]===this._xCut&&t[e-2][0]===this._xCut&&t[1][0]===this._xCut&&(t[0][1]=t[e-2][1],t.pop())}_side(t){return t<this._xCut?-1:t>this._xCut?1:0}_intersect(t,e){const n=(this._xCut-t[0])/(e[0]-t[0]);return t[1]+n*(e[1]-t[1])}_pushLineIn(){this._lineIn&&this._lineIn.length>=this._minPts&&this._linesIn.push(this._lineIn),this._lineIn=[]}_pushLineOut(){this._lineOut&&this._lineOut.length>=this._minPts&&this._linesOut.push(this._lineOut),this._lineOut=[]}}let kt=class extends P.Z{constructor(t){super(t)}get bounds(){const t=this.coords;return null==t?.extent?null:(0,Ot.oJ)(t.extent)}get coords(){const t=this.element.georeference?.coords;return(0,D.projectOrLoad)(t,this.spatialReference).geometry}get normalizedCoords(){return N.Z.fromJSON(function(t,e){if(null==t)return null;const n=t.spatialReference,i=(0,Et.C5)(n),o=(0,w.AK)(t)?t.toJSON():t;if(!i)return o;const r=(0,Et.sS)(n)?102100:4326,s=Dt.UZ[r].maxX,a=Dt.UZ[r].minX;if((0,Nt.wp)(o))return Ut(o,s,a);if((0,Nt.aW)(o))return o.points=o.points.map((t=>Ut(t,s,a))),o;if((0,Nt.YX)(o))return function(t,e){if(!e)return t;const n=zt(t,e).map((t=>t.extent));return n.length<2?n[0]||t:n.length>2?(t.xmin=e.valid[0],t.xmax=e.valid[1],t):{rings:n.map((t=>[[t.xmin,t.ymin],[t.xmin,t.ymax],[t.xmax,t.ymax],[t.xmax,t.ymin],[t.xmin,t.ymin]]))}}(o,i);if((0,Nt.oU)(o)||(0,Nt.l9)(o)){const t=(0,Yt.$P)(Gt,o),n={xmin:t[0],ymin:t[1],xmax:t[2],ymax:t[3]},i=(0,Dt.XZ)(n.xmin,a)*(2*s),r=0===i?o:(0,Dt.Sy)(o,i);return n.xmin+=i,n.xmax+=i,n.xmax>s?Vt(r,s,e):n.xmin<a?Vt(r,a,e):r}return o}(this.coords,!0))}get normalizedBounds(){const t=null!=this.normalizedCoords?this.normalizedCoords.extent:null;return null!=t?(0,Ot.oJ)(t):null}};(0,i._)([(0,l.Cb)()],kt.prototype,"spatialReference",void 0),(0,i._)([(0,l.Cb)()],kt.prototype,"element",void 0),(0,i._)([(0,l.Cb)()],kt.prototype,"bounds",null),(0,i._)([(0,l.Cb)()],kt.prototype,"coords",null),(0,i._)([(0,l.Cb)()],kt.prototype,"normalizedCoords",null),(0,i._)([(0,l.Cb)()],kt.prototype,"normalizedBounds",null),kt=(0,i._)([(0,h.j)("esri.layers.support.MediaElementView")],kt);var $t=n(91460);let Kt=class extends wt{constructor(t){super(t),this.autoplay=!0,this.content=null,this.type="video"}load(){const t=this.video;if("string"==typeof t){const e=document.createElement("video");e.src=t,e.crossOrigin="anonymous",e.autoplay=!0,e.muted=!0,e.loop=!0,this.addResolvingPromise(this._loadVideo(e).then((()=>{this._set("content",e)})))}else t instanceof HTMLVideoElement?this.addResolvingPromise(this._loadVideo(t).then((()=>{this._set("content",t)}))):this.addResolvingPromise(Promise.reject(new r.Z("video-element:invalid-video-type","Invalid video type",{video:t})));return Promise.resolve(this)}get contentWidth(){return this.content?.videoWidth??0}get contentHeight(){return this.content?.videoHeight??0}set video(t){"not-loaded"===this.loadStatus?this._set("video",t):s.Z.getLogger(this).error("#video","video cannot be changed after the element is loaded.")}_loadVideo(t){return new Promise(((e,n)=>{const i=(0,$t.IH)(t,"canplay",(()=>{this.removeHandles("canplay"),this.autoplay?t.play().then(e,n):e()}));this.addHandles(i,"canplay"),"anonymous"!==t.crossOrigin&&(t.crossOrigin="anonymous",t.src?.includes("blob:")||(t.src=t.src))}))}};(0,i._)([(0,l.Cb)()],Kt.prototype,"autoplay",void 0),(0,i._)([(0,l.Cb)({readOnly:!0})],Kt.prototype,"content",void 0),(0,i._)([(0,l.Cb)({readOnly:!0})],Kt.prototype,"contentWidth",null),(0,i._)([(0,l.Cb)({readOnly:!0})],Kt.prototype,"contentHeight",null),(0,i._)([(0,l.Cb)()],Kt.prototype,"video",null),Kt=(0,i._)([(0,h.j)("esri.layers.support.VideoElement")],Kt);const Qt=Kt,te={key:"type",defaultKeyValue:"image",base:wt,typeMap:{image:Rt,video:Qt}},ee=o.Z.ofType(te);let ne=class extends(M.Z.LoadableMixin((0,jt.v)(Bt.Z.EventedAccessor))){constructor(t){super(t),this._index=new Xt.H,this._elementViewsMap=new Map,this._elementsIndexes=new Map,this._elementsChangedHandler=t=>{for(const e of t.removed){const t=this._elementViewsMap.get(e);this._elementViewsMap.delete(e),this._index.delete(t),this.removeHandles(t),t.destroy(),this.notifyChange("fullExtent")}const{spatialReference:e}=this;for(const n of t.added){if(this._elementViewsMap.get(n))continue;const t=new kt({spatialReference:e,element:n});this._elementViewsMap.set(n,t);const i=(0,Zt.YP)((()=>t.coords),(()=>this._updateIndexForElement(t,!1)));this._updateIndexForElement(t,!0),this.addHandles(i,t)}this._elementsIndexes.clear(),this.elements.forEach(((t,e)=>this._elementsIndexes.set(t,e))),this.emit("refresh")},this.elements=new ee}async load(t){if((0,Tt.k_)(t),!this.spatialReference){const t=this.elements.find((t=>null!=t.georeference?.coords));this._set("spatialReference",t?t.georeference.coords.spatialReference:U.Z.WGS84)}return this._elementsChangedHandler({added:this.elements.items,removed:[]}),this.addHandles(this.elements.on("change",this._elementsChangedHandler)),this}destroy(){this._index.clear(),this._elementViewsMap.clear(),this._elementsIndexes.clear()}set elements(t){this._set("elements",(0,St.Z)(t,this._get("elements"),ee))}get fullExtent(){if("not-loaded"===this.loadStatus)return null;const t=this._index.fullBounds;return null==t?null:new _t.Z({xmin:t[0],ymin:t[1],xmax:t[2],ymax:t[3],spatialReference:this.spatialReference})}set spatialReference(t){"not-loaded"===this.loadStatus?this._set("spatialReference",t):s.Z.getLogger(this).error("#spatialReference","spatialReference cannot be changed after the source is loaded.")}async queryElements(t,e){await this.load(),await(0,D.initializeProjection)(t.spatialReference,this.spatialReference,null,e);const n=(0,Et.fS)(t.spatialReference,this.spatialReference)?t:(0,D.project)(t,this.spatialReference);if(!n)return[];const i=n.normalize(),o=[];for(const t of i)this._index.forEachInBounds((0,Ot.oJ)(t),(({normalizedCoords:e,element:n})=>{null!=e&&(0,Lt.Nl)(t,e)&&o.push(n)}));return o.sort(((t,e)=>this._elementsIndexes.get(t)-this._elementsIndexes.get(e))),o}_updateIndexForElement(t,e){const n=t.normalizedBounds,i=this._index.has(t),o=null!=n;this._index.delete(t),o&&this._index.set(t,n),this.notifyChange("fullExtent"),e||(i!==o?this.emit("refresh"):this.emit("change",{element:t.element}))}};(0,i._)([(0,l.Cb)()],ne.prototype,"elements",null),(0,i._)([(0,l.Cb)({readOnly:!0})],ne.prototype,"fullExtent",null),(0,i._)([(0,l.Cb)()],ne.prototype,"spatialReference",null),ne=(0,i._)([(0,h.j)("esri.layers.support.LocalMediaElementSource")],ne);const ie=ne;function oe(t){return"object"==typeof t&&null!=t&&"type"in t}let re=class extends((0,f.h)((0,y.M)((0,m.q)((0,a.R)(p.Z))))){constructor(t){super(t),this.effectiveSource=null,this.copyright=null,this.operationalLayerType="MediaLayer",this.spatialReference=null,this.type="media",this.source=new ie}load(t){const e=this.source;if(!e)return this.addResolvingPromise(Promise.reject(new r.Z("media-layer:source-missing","Set 'MediaLayer.source' before loading the layer."))),Promise.resolve(this);const n=oe(e)?new ie({elements:new o.Z([e])}):e;this._set("effectiveSource",n),this.spatialReference&&(n.spatialReference=this.spatialReference);const i=n.load(t).then((()=>{this.spatialReference=n.spatialReference}));return this.addResolvingPromise(i),Promise.resolve(this)}destroy(){this.effectiveSource?.destroy(),this.source?.destroy()}get fullExtent(){return this.loaded?this.effectiveSource.fullExtent:null}set source(t){"not-loaded"===this.loadStatus?this._set("source",t):s.Z.getLogger(this).error("#source","source cannot be changed after the layer is loaded.")}castSource(t){return t?Array.isArray(t)?new ie({elements:new o.Z(t)}):t instanceof o.Z?new ie({elements:t}):t:null}readSource(t,e,n){const i="image"===e.mediaType?new Rt:"video"===e.mediaType?new Qt:null;return i?.read(e,n),i}writeSource(t,e,n,i){t&&oe(t)&&"image"===t.type?t.write(e,i):i?.messages&&i?.messages?.push(new r.Z("media-layer:unsupported-source","source must be an 'ImageElement'"))}};(0,i._)([(0,l.Cb)({readOnly:!0})],re.prototype,"effectiveSource",void 0),(0,i._)([(0,l.Cb)({type:String})],re.prototype,"copyright",void 0),(0,i._)([(0,l.Cb)({readOnly:!0})],re.prototype,"fullExtent",null),(0,i._)([(0,l.Cb)({type:["MediaLayer"]})],re.prototype,"operationalLayerType",void 0),(0,i._)([(0,l.Cb)({type:["show","hide"]})],re.prototype,"listMode",void 0),(0,i._)([(0,l.Cb)({nonNullable:!0,json:{write:{enabled:!0,allowNull:!1}}})],re.prototype,"source",null),(0,i._)([(0,c.p)("source")],re.prototype,"castSource",null),(0,i._)([(0,u.r)("source",["url"])],re.prototype,"readSource",null),(0,i._)([(0,d.c)("source")],re.prototype,"writeSource",null),(0,i._)([(0,l.Cb)()],re.prototype,"spatialReference",void 0),(0,i._)([(0,l.Cb)({readOnly:!0})],re.prototype,"type",void 0),re=(0,i._)([(0,h.j)("esri.layers.MediaLayer")],re);const se=re},37549:(t,e,n)=>{n.d(e,{H:()=>a});var i=n(80442),o=n(24133),r=n(24470);const s={minX:0,minY:0,maxX:0,maxY:0};class a{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new o.Q(9,(0,i.Z)("esri-csp-restrictions")?t=>({minX:t[0],minY:t[1],maxX:t[2],maxY:t[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){const t=new Array(this._idByBounds.size);let e=0;this._idByBounds.forEach(((n,i)=>{t[e++]=i})),this._indexInvalid=!1,this._index.clear(),this._index.load(t)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter((t=>this._idByBounds.has(t)))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;const t=(0,r.cS)();for(const e of this._boundsById.values())e&&(t[0]=Math.min(e[0],t[0]),t[1]=Math.min(e[1],t[1]),t[2]=Math.max(e[2],t[2]),t[3]=Math.max(e[3],t[3]));return t}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(t){const e=this._boundsById.get(t);this._boundsById.delete(t),e&&(this._idByBounds.delete(e),this._indexInvalid||this._index.remove(e))}forEachInBounds(t,e){this._loadIndex(),function(t,e,n){(function(t){s.minX=t[0],s.minY=t[1],s.maxX=t[2],s.maxY=t[3]})(e),t.search(s,n)}(this._index,t,(t=>e(this._idByBounds.get(t))))}get(t){return this._boundsById.get(t)}has(t){return this._boundsById.has(t)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(t,e){if(!this._indexInvalid){const e=this._boundsById.get(t);e&&(this._index.remove(e),this._idByBounds.delete(e))}this._boundsById.set(t,e),e&&(this._idByBounds.set(e,t),this._indexInvalid||(this._boundsToLoad.push(e),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},66094:(t,e,n)=>{n.d(e,{B:()=>o});var i=n(17452);function o(t){return r[function(t){return"json"===t.type?"application/json":"blob"===t.type?t.blob.type:function(t){const e=(0,i.Ml)(t);return l[e]||s}(t.url)}(t)]||a}const r={},s="text/plain",a=r[s],l={png:"image/png",jpeg:"image/jpeg",jpg:"image/jpg",bmp:"image/bmp",gif:"image/gif",json:"application/json",txt:"text/plain",xml:"application/xml",svg:"image/svg+xml",zip:"application/zip",pbf:"application/vnd.mapbox-vector-tile",gz:"application/gzip","bin.gz":"application/octet-stream"};for(const t in l)r[l[t]]=t}}]);