@arcgis/core 4.33.0-next.20250605 → 4.33.0-next.20250607

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 (533) hide show
  1. package/arcade/Dictionary.js +1 -1
  2. package/arcade/Feature.js +1 -1
  3. package/arcade/arcadeAsyncRuntime.js +1 -1
  4. package/arcade/arcadeCompiler.js +1 -1
  5. package/arcade/arcadeRuntime.js +1 -1
  6. package/arcade/containerUtils.js +1 -1
  7. package/arcade/deepClone.js +1 -1
  8. package/arcade/featureSetUtils.js +1 -1
  9. package/arcade/featureset/sources/FeatureLayerDynamic.js +1 -1
  10. package/arcade/functions/convertdirection.js +1 -1
  11. package/arcade/functions/date.js +1 -1
  12. package/arcade/functions/feature.js +1 -1
  13. package/arcade/functions/featuresetbase.js +1 -1
  14. package/arcade/functions/featuresetgeom.js +1 -1
  15. package/arcade/functions/featuresetstats.js +1 -1
  16. package/arcade/functions/featuresetstring.js +1 -1
  17. package/arcade/functions/fieldStats.js +1 -1
  18. package/arcade/functions/geomasync.js +1 -1
  19. package/arcade/functions/geometry.js +1 -1
  20. package/arcade/functions/geomsync.js +1 -1
  21. package/arcade/functions/knowledgegraph.js +1 -1
  22. package/arcade/functions/maths.js +1 -1
  23. package/arcade/functions/stats.js +1 -1
  24. package/arcade/functions/string.js +1 -1
  25. package/arcade/geometry/constructors.js +1 -1
  26. package/arcade/geometry/functions.js +1 -1
  27. package/arcade/languageUtils.js +1 -1
  28. package/arcade.js +1 -1
  29. package/assets/esri/core/workers/RemoteClient.js +1 -1
  30. package/assets/esri/core/workers/chunks/0229c573fa8a2fff2d8b.js.LICENSE.txt +1 -1
  31. package/assets/esri/core/workers/chunks/{346781f07389074f6c12.js → 130c848bf6337649052c.js} +1 -1
  32. package/assets/esri/core/workers/chunks/{e385a27fd1ac2123a05f.js → 178260e8a263f2f1584f.js} +1 -1
  33. package/assets/esri/core/workers/chunks/{28b1819bf744ce957dfd.js → 17fcdaeb42e932712096.js} +2 -2
  34. package/assets/esri/core/workers/chunks/{28b1819bf744ce957dfd.js.LICENSE.txt → 17fcdaeb42e932712096.js.LICENSE.txt} +1 -1
  35. package/assets/esri/core/workers/chunks/183a7dec68c8ba6eb3d6.js +1 -0
  36. package/assets/esri/core/workers/chunks/29fb64826bb1351aca8d.js.LICENSE.txt +1 -1
  37. package/assets/esri/core/workers/chunks/2ddb776434a93b8d9e63.js +1 -0
  38. package/assets/esri/core/workers/chunks/3cbc498388fb1931a9f8.js +1 -0
  39. package/assets/esri/core/workers/chunks/{d0372bac0c5f4fbed468.js → 3f59a73f9a758095976f.js} +1 -1
  40. package/assets/esri/core/workers/chunks/{3a74654fa539f78ceb86.js → 467cacb501b0417bb4df.js} +1 -1
  41. package/assets/esri/core/workers/chunks/{a2e9141ff4efd13413a1.js → 4a805e7a57d25c4b595f.js} +2 -2
  42. package/assets/esri/core/workers/chunks/53ff5b7691ba1444358e.js +1 -0
  43. package/assets/esri/core/workers/chunks/54f981fe0f8851767be9.js.LICENSE.txt +1 -1
  44. package/assets/esri/core/workers/chunks/{a6fb75929e456f87f804.js → 58b2dc0ec977af7413b0.js} +1 -1
  45. package/assets/esri/core/workers/chunks/5cc5f32b474ee723e192.js +1 -0
  46. package/assets/esri/core/workers/chunks/658e82c9b722852e02d0.js +1 -0
  47. package/assets/esri/core/workers/chunks/73ddb356121add556994.js.LICENSE.txt +1 -1
  48. package/assets/esri/core/workers/chunks/8a87c181b85d0b86b9bb.js.LICENSE.txt +1 -1
  49. package/assets/esri/core/workers/chunks/9a87c367ee5ba44f3081.js +1 -0
  50. package/assets/esri/core/workers/chunks/a1a42b0d7cd47b647f8a.js +1 -0
  51. package/assets/esri/core/workers/chunks/{3025e420e13e2bc8c0a1.js → a622ed3f182648ab3ff6.js} +1 -1
  52. package/assets/esri/core/workers/chunks/aad9a693813b47a51530.js.LICENSE.txt +1 -1
  53. package/assets/esri/core/workers/chunks/b8c8acf75e09014d8346.js +1 -0
  54. package/assets/esri/core/workers/chunks/c6c86cbe65a58c3093ae.js +1 -0
  55. package/assets/esri/core/workers/chunks/e717832326d1b1f817d3.js +1 -0
  56. package/assets/esri/core/workers/chunks/ec922f876e1465d36045.js +1 -0
  57. package/assets/esri/core/workers/chunks/{5853b2af6ac8be2c69d8.js → ee3940679d794d78b4ea.js} +1 -1
  58. package/assets/esri/core/workers/chunks/{bd2dcc55ac3418421ee5.js → f20ba89ac21f05b7020c.js} +1 -1
  59. package/assets/esri/core/workers/chunks/f3b51aa0a1a8fc3b231c.js.LICENSE.txt +1 -1
  60. package/assets/esri/themes/base/widgets/_TimeSlider.scss +1 -0
  61. package/assets/esri/themes/dark/main.css +1 -1
  62. package/assets/esri/themes/light/main.css +1 -1
  63. package/assets/esri/themes/light/view.css +1 -1
  64. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ar.json +1 -1
  65. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_bg.json +1 -1
  66. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_bs.json +1 -1
  67. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ca.json +1 -1
  68. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_cs.json +1 -1
  69. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_da.json +1 -1
  70. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_de.json +1 -1
  71. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_el.json +1 -1
  72. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_es.json +1 -1
  73. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_et.json +1 -1
  74. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_fi.json +1 -1
  75. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_fr.json +1 -1
  76. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_he.json +1 -1
  77. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_hr.json +1 -1
  78. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_hu.json +1 -1
  79. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_id.json +1 -1
  80. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_it.json +1 -1
  81. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ja.json +1 -1
  82. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ko.json +1 -1
  83. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_lt.json +1 -1
  84. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_lv.json +1 -1
  85. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_nl.json +1 -1
  86. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_no.json +1 -1
  87. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pl.json +1 -1
  88. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pt-BR.json +1 -1
  89. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pt-PT.json +1 -1
  90. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ro.json +1 -1
  91. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ru.json +1 -1
  92. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sk.json +1 -1
  93. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sl.json +1 -1
  94. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sr.json +1 -1
  95. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sv.json +1 -1
  96. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_th.json +1 -1
  97. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_tr.json +1 -1
  98. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_uk.json +1 -1
  99. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_vi.json +1 -1
  100. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-CN.json +1 -1
  101. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-HK.json +1 -1
  102. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-TW.json +1 -1
  103. package/assets/esri/widgets/Directions/t9n/Directions_ar.json +1 -1
  104. package/assets/esri/widgets/Directions/t9n/Directions_bg.json +1 -1
  105. package/assets/esri/widgets/Directions/t9n/Directions_bs.json +1 -1
  106. package/assets/esri/widgets/Directions/t9n/Directions_ca.json +1 -1
  107. package/assets/esri/widgets/Directions/t9n/Directions_cs.json +1 -1
  108. package/assets/esri/widgets/Directions/t9n/Directions_da.json +1 -1
  109. package/assets/esri/widgets/Directions/t9n/Directions_de.json +1 -1
  110. package/assets/esri/widgets/Directions/t9n/Directions_el.json +1 -1
  111. package/assets/esri/widgets/Directions/t9n/Directions_es.json +1 -1
  112. package/assets/esri/widgets/Directions/t9n/Directions_et.json +1 -1
  113. package/assets/esri/widgets/Directions/t9n/Directions_fi.json +1 -1
  114. package/assets/esri/widgets/Directions/t9n/Directions_fr.json +1 -1
  115. package/assets/esri/widgets/Directions/t9n/Directions_he.json +1 -1
  116. package/assets/esri/widgets/Directions/t9n/Directions_hr.json +1 -1
  117. package/assets/esri/widgets/Directions/t9n/Directions_hu.json +1 -1
  118. package/assets/esri/widgets/Directions/t9n/Directions_id.json +1 -1
  119. package/assets/esri/widgets/Directions/t9n/Directions_it.json +1 -1
  120. package/assets/esri/widgets/Directions/t9n/Directions_ja.json +1 -1
  121. package/assets/esri/widgets/Directions/t9n/Directions_ko.json +1 -1
  122. package/assets/esri/widgets/Directions/t9n/Directions_lt.json +1 -1
  123. package/assets/esri/widgets/Directions/t9n/Directions_lv.json +1 -1
  124. package/assets/esri/widgets/Directions/t9n/Directions_nl.json +1 -1
  125. package/assets/esri/widgets/Directions/t9n/Directions_no.json +1 -1
  126. package/assets/esri/widgets/Directions/t9n/Directions_pl.json +1 -1
  127. package/assets/esri/widgets/Directions/t9n/Directions_pt-BR.json +1 -1
  128. package/assets/esri/widgets/Directions/t9n/Directions_pt-PT.json +1 -1
  129. package/assets/esri/widgets/Directions/t9n/Directions_ro.json +1 -1
  130. package/assets/esri/widgets/Directions/t9n/Directions_ru.json +1 -1
  131. package/assets/esri/widgets/Directions/t9n/Directions_sk.json +1 -1
  132. package/assets/esri/widgets/Directions/t9n/Directions_sl.json +1 -1
  133. package/assets/esri/widgets/Directions/t9n/Directions_sr.json +1 -1
  134. package/assets/esri/widgets/Directions/t9n/Directions_sv.json +1 -1
  135. package/assets/esri/widgets/Directions/t9n/Directions_th.json +1 -1
  136. package/assets/esri/widgets/Directions/t9n/Directions_tr.json +1 -1
  137. package/assets/esri/widgets/Directions/t9n/Directions_uk.json +1 -1
  138. package/assets/esri/widgets/Directions/t9n/Directions_vi.json +1 -1
  139. package/assets/esri/widgets/Directions/t9n/Directions_zh-CN.json +1 -1
  140. package/assets/esri/widgets/Directions/t9n/Directions_zh-HK.json +1 -1
  141. package/assets/esri/widgets/Directions/t9n/Directions_zh-TW.json +1 -1
  142. package/assets/esri/widgets/Editor/t9n/Editor_ar.json +1 -1
  143. package/assets/esri/widgets/Editor/t9n/Editor_bg.json +1 -1
  144. package/assets/esri/widgets/Editor/t9n/Editor_bs.json +1 -1
  145. package/assets/esri/widgets/Editor/t9n/Editor_ca.json +1 -1
  146. package/assets/esri/widgets/Editor/t9n/Editor_cs.json +1 -1
  147. package/assets/esri/widgets/Editor/t9n/Editor_da.json +1 -1
  148. package/assets/esri/widgets/Editor/t9n/Editor_de.json +1 -1
  149. package/assets/esri/widgets/Editor/t9n/Editor_el.json +1 -1
  150. package/assets/esri/widgets/Editor/t9n/Editor_es.json +1 -1
  151. package/assets/esri/widgets/Editor/t9n/Editor_et.json +1 -1
  152. package/assets/esri/widgets/Editor/t9n/Editor_fi.json +1 -1
  153. package/assets/esri/widgets/Editor/t9n/Editor_fr.json +1 -1
  154. package/assets/esri/widgets/Editor/t9n/Editor_he.json +1 -1
  155. package/assets/esri/widgets/Editor/t9n/Editor_hr.json +1 -1
  156. package/assets/esri/widgets/Editor/t9n/Editor_hu.json +1 -1
  157. package/assets/esri/widgets/Editor/t9n/Editor_id.json +1 -1
  158. package/assets/esri/widgets/Editor/t9n/Editor_it.json +1 -1
  159. package/assets/esri/widgets/Editor/t9n/Editor_ja.json +1 -1
  160. package/assets/esri/widgets/Editor/t9n/Editor_ko.json +1 -1
  161. package/assets/esri/widgets/Editor/t9n/Editor_lt.json +1 -1
  162. package/assets/esri/widgets/Editor/t9n/Editor_lv.json +1 -1
  163. package/assets/esri/widgets/Editor/t9n/Editor_nl.json +1 -1
  164. package/assets/esri/widgets/Editor/t9n/Editor_no.json +1 -1
  165. package/assets/esri/widgets/Editor/t9n/Editor_pl.json +1 -1
  166. package/assets/esri/widgets/Editor/t9n/Editor_pt-BR.json +1 -1
  167. package/assets/esri/widgets/Editor/t9n/Editor_pt-PT.json +1 -1
  168. package/assets/esri/widgets/Editor/t9n/Editor_ro.json +1 -1
  169. package/assets/esri/widgets/Editor/t9n/Editor_ru.json +1 -1
  170. package/assets/esri/widgets/Editor/t9n/Editor_sk.json +1 -1
  171. package/assets/esri/widgets/Editor/t9n/Editor_sl.json +1 -1
  172. package/assets/esri/widgets/Editor/t9n/Editor_sr.json +1 -1
  173. package/assets/esri/widgets/Editor/t9n/Editor_sv.json +1 -1
  174. package/assets/esri/widgets/Editor/t9n/Editor_th.json +1 -1
  175. package/assets/esri/widgets/Editor/t9n/Editor_tr.json +1 -1
  176. package/assets/esri/widgets/Editor/t9n/Editor_uk.json +1 -1
  177. package/assets/esri/widgets/Editor/t9n/Editor_vi.json +1 -1
  178. package/assets/esri/widgets/Editor/t9n/Editor_zh-CN.json +1 -1
  179. package/assets/esri/widgets/Editor/t9n/Editor_zh-HK.json +1 -1
  180. package/assets/esri/widgets/Editor/t9n/Editor_zh-TW.json +1 -1
  181. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ar.json +1 -1
  182. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_bg.json +1 -1
  183. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_bs.json +1 -1
  184. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ca.json +1 -1
  185. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_cs.json +1 -1
  186. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_da.json +1 -1
  187. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_de.json +1 -1
  188. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_el.json +1 -1
  189. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_es.json +1 -1
  190. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_et.json +1 -1
  191. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_fi.json +1 -1
  192. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_fr.json +1 -1
  193. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_he.json +1 -1
  194. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_hr.json +1 -1
  195. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_hu.json +1 -1
  196. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_id.json +1 -1
  197. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_it.json +1 -1
  198. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ja.json +1 -1
  199. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ko.json +1 -1
  200. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_lt.json +1 -1
  201. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_lv.json +1 -1
  202. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_nl.json +1 -1
  203. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_no.json +1 -1
  204. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_pl.json +1 -1
  205. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_pt-BR.json +1 -1
  206. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_pt-PT.json +1 -1
  207. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ro.json +1 -1
  208. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_ru.json +1 -1
  209. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_sk.json +1 -1
  210. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_sl.json +1 -1
  211. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_sr.json +1 -1
  212. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_sv.json +1 -1
  213. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_th.json +1 -1
  214. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_tr.json +1 -1
  215. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_uk.json +1 -1
  216. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_vi.json +1 -1
  217. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_zh-CN.json +1 -1
  218. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_zh-HK.json +1 -1
  219. package/assets/esri/widgets/FeatureForm/t9n/FeatureForm_zh-TW.json +1 -1
  220. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ar.json +1 -1
  221. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bg.json +1 -1
  222. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bs.json +1 -1
  223. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ca.json +1 -1
  224. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_cs.json +1 -1
  225. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_da.json +1 -1
  226. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_de.json +1 -1
  227. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_el.json +1 -1
  228. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_es.json +1 -1
  229. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_et.json +1 -1
  230. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fi.json +1 -1
  231. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fr.json +1 -1
  232. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_he.json +1 -1
  233. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hr.json +1 -1
  234. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hu.json +1 -1
  235. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_id.json +1 -1
  236. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_it.json +1 -1
  237. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ja.json +1 -1
  238. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ko.json +1 -1
  239. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lt.json +1 -1
  240. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lv.json +1 -1
  241. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_nl.json +1 -1
  242. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_no.json +1 -1
  243. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pl.json +1 -1
  244. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-BR.json +1 -1
  245. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-PT.json +1 -1
  246. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ro.json +1 -1
  247. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ru.json +1 -1
  248. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sk.json +1 -1
  249. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sl.json +1 -1
  250. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sr.json +1 -1
  251. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sv.json +1 -1
  252. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_th.json +1 -1
  253. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_tr.json +1 -1
  254. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_uk.json +1 -1
  255. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_vi.json +1 -1
  256. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-CN.json +1 -1
  257. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-HK.json +1 -1
  258. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-TW.json +1 -1
  259. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ar.json +1 -1
  260. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bg.json +1 -1
  261. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bs.json +1 -1
  262. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ca.json +1 -1
  263. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_cs.json +1 -1
  264. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_da.json +1 -1
  265. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_de.json +1 -1
  266. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_el.json +1 -1
  267. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_es.json +1 -1
  268. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_et.json +1 -1
  269. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fi.json +1 -1
  270. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fr.json +1 -1
  271. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_he.json +1 -1
  272. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hr.json +1 -1
  273. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hu.json +1 -1
  274. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_id.json +1 -1
  275. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_it.json +1 -1
  276. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ja.json +1 -1
  277. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ko.json +1 -1
  278. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lt.json +1 -1
  279. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lv.json +1 -1
  280. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_nl.json +1 -1
  281. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_no.json +1 -1
  282. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pl.json +1 -1
  283. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-BR.json +1 -1
  284. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-PT.json +1 -1
  285. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ro.json +1 -1
  286. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ru.json +1 -1
  287. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sk.json +1 -1
  288. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sl.json +1 -1
  289. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sr.json +1 -1
  290. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sv.json +1 -1
  291. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_th.json +1 -1
  292. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_tr.json +1 -1
  293. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_uk.json +1 -1
  294. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_vi.json +1 -1
  295. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-CN.json +1 -1
  296. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-HK.json +1 -1
  297. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-TW.json +1 -1
  298. package/assets/esri/widgets/Search/t9n/Search_ar.json +1 -1
  299. package/assets/esri/widgets/Search/t9n/Search_bg.json +1 -1
  300. package/assets/esri/widgets/Search/t9n/Search_bs.json +1 -1
  301. package/assets/esri/widgets/Search/t9n/Search_ca.json +1 -1
  302. package/assets/esri/widgets/Search/t9n/Search_cs.json +1 -1
  303. package/assets/esri/widgets/Search/t9n/Search_da.json +1 -1
  304. package/assets/esri/widgets/Search/t9n/Search_de.json +1 -1
  305. package/assets/esri/widgets/Search/t9n/Search_el.json +1 -1
  306. package/assets/esri/widgets/Search/t9n/Search_es.json +1 -1
  307. package/assets/esri/widgets/Search/t9n/Search_et.json +1 -1
  308. package/assets/esri/widgets/Search/t9n/Search_fi.json +1 -1
  309. package/assets/esri/widgets/Search/t9n/Search_fr.json +1 -1
  310. package/assets/esri/widgets/Search/t9n/Search_he.json +1 -1
  311. package/assets/esri/widgets/Search/t9n/Search_hr.json +1 -1
  312. package/assets/esri/widgets/Search/t9n/Search_hu.json +1 -1
  313. package/assets/esri/widgets/Search/t9n/Search_id.json +1 -1
  314. package/assets/esri/widgets/Search/t9n/Search_it.json +1 -1
  315. package/assets/esri/widgets/Search/t9n/Search_ja.json +1 -1
  316. package/assets/esri/widgets/Search/t9n/Search_ko.json +1 -1
  317. package/assets/esri/widgets/Search/t9n/Search_lt.json +1 -1
  318. package/assets/esri/widgets/Search/t9n/Search_lv.json +1 -1
  319. package/assets/esri/widgets/Search/t9n/Search_nl.json +1 -1
  320. package/assets/esri/widgets/Search/t9n/Search_no.json +1 -1
  321. package/assets/esri/widgets/Search/t9n/Search_pl.json +1 -1
  322. package/assets/esri/widgets/Search/t9n/Search_pt-BR.json +1 -1
  323. package/assets/esri/widgets/Search/t9n/Search_pt-PT.json +1 -1
  324. package/assets/esri/widgets/Search/t9n/Search_ro.json +1 -1
  325. package/assets/esri/widgets/Search/t9n/Search_ru.json +1 -1
  326. package/assets/esri/widgets/Search/t9n/Search_sk.json +1 -1
  327. package/assets/esri/widgets/Search/t9n/Search_sl.json +1 -1
  328. package/assets/esri/widgets/Search/t9n/Search_sr.json +1 -1
  329. package/assets/esri/widgets/Search/t9n/Search_sv.json +1 -1
  330. package/assets/esri/widgets/Search/t9n/Search_th.json +1 -1
  331. package/assets/esri/widgets/Search/t9n/Search_tr.json +1 -1
  332. package/assets/esri/widgets/Search/t9n/Search_uk.json +1 -1
  333. package/assets/esri/widgets/Search/t9n/Search_vi.json +1 -1
  334. package/assets/esri/widgets/Search/t9n/Search_zh-CN.json +1 -1
  335. package/assets/esri/widgets/Search/t9n/Search_zh-HK.json +1 -1
  336. package/assets/esri/widgets/Search/t9n/Search_zh-TW.json +1 -1
  337. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_ar.json +1 -1
  338. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_bg.json +1 -1
  339. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_bs.json +1 -1
  340. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_ca.json +1 -1
  341. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_cs.json +1 -1
  342. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_da.json +1 -1
  343. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_de.json +1 -1
  344. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_el.json +1 -1
  345. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_es.json +1 -1
  346. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_et.json +1 -1
  347. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_fi.json +1 -1
  348. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_fr.json +1 -1
  349. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_he.json +1 -1
  350. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_hr.json +1 -1
  351. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_hu.json +1 -1
  352. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_id.json +1 -1
  353. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_it.json +1 -1
  354. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_ja.json +1 -1
  355. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_ko.json +1 -1
  356. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_lt.json +1 -1
  357. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_lv.json +1 -1
  358. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_nl.json +1 -1
  359. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_no.json +1 -1
  360. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_pl.json +1 -1
  361. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_pt-BR.json +1 -1
  362. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_pt-PT.json +1 -1
  363. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_ro.json +1 -1
  364. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_ru.json +1 -1
  365. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_sk.json +1 -1
  366. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_sl.json +1 -1
  367. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_sr.json +1 -1
  368. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_sv.json +1 -1
  369. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_th.json +1 -1
  370. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_tr.json +1 -1
  371. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_uk.json +1 -1
  372. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_vi.json +1 -1
  373. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_zh-CN.json +1 -1
  374. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_zh-HK.json +1 -1
  375. package/assets/esri/widgets/ShadowCast/t9n/ShadowCast_zh-TW.json +1 -1
  376. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_ar.json +1 -1
  377. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_bg.json +1 -1
  378. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_bs.json +1 -1
  379. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_ca.json +1 -1
  380. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_cs.json +1 -1
  381. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_da.json +1 -1
  382. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_de.json +1 -1
  383. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_el.json +1 -1
  384. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_es.json +1 -1
  385. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_et.json +1 -1
  386. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_fi.json +1 -1
  387. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_fr.json +1 -1
  388. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_he.json +1 -1
  389. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_hr.json +1 -1
  390. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_hu.json +1 -1
  391. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_id.json +1 -1
  392. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_it.json +1 -1
  393. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_ja.json +1 -1
  394. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_ko.json +1 -1
  395. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_lt.json +1 -1
  396. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_lv.json +1 -1
  397. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_nl.json +1 -1
  398. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_no.json +1 -1
  399. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_pl.json +1 -1
  400. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_pt-BR.json +1 -1
  401. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_pt-PT.json +1 -1
  402. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_ro.json +1 -1
  403. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_ru.json +1 -1
  404. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_sk.json +1 -1
  405. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_sl.json +1 -1
  406. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_sr.json +1 -1
  407. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_sv.json +1 -1
  408. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_th.json +1 -1
  409. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_tr.json +1 -1
  410. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_uk.json +1 -1
  411. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_vi.json +1 -1
  412. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_zh-CN.json +1 -1
  413. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_zh-HK.json +1 -1
  414. package/assets/esri/widgets/support/FilterBuilder/t9n/FilterBuilder_zh-TW.json +1 -1
  415. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_ar.json +1 -1
  416. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_bg.json +1 -1
  417. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_bs.json +1 -1
  418. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_ca.json +1 -1
  419. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_cs.json +1 -1
  420. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_da.json +1 -1
  421. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_de.json +1 -1
  422. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_el.json +1 -1
  423. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_es.json +1 -1
  424. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_et.json +1 -1
  425. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_fi.json +1 -1
  426. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_fr.json +1 -1
  427. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_he.json +1 -1
  428. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_hr.json +1 -1
  429. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_hu.json +1 -1
  430. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_id.json +1 -1
  431. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_it.json +1 -1
  432. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_ja.json +1 -1
  433. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_ko.json +1 -1
  434. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_lt.json +1 -1
  435. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_lv.json +1 -1
  436. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_nl.json +1 -1
  437. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_no.json +1 -1
  438. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_pl.json +1 -1
  439. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_pt-BR.json +1 -1
  440. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_pt-PT.json +1 -1
  441. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_ro.json +1 -1
  442. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_ru.json +1 -1
  443. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_sk.json +1 -1
  444. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_sl.json +1 -1
  445. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_sr.json +1 -1
  446. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_sv.json +1 -1
  447. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_th.json +1 -1
  448. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_tr.json +1 -1
  449. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_uk.json +1 -1
  450. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_vi.json +1 -1
  451. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_zh-CN.json +1 -1
  452. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_zh-HK.json +1 -1
  453. package/assets/esri/widgets/support/FilterCondition/t9n/FilterCondition_zh-TW.json +1 -1
  454. package/chunks/aiServices.js +1 -1
  455. package/chunks/array.js +1 -1
  456. package/chunks/languageUtils.js +1 -1
  457. package/geometry/support/MeshTexture.js +1 -1
  458. package/interfaces.d.ts +163 -18
  459. package/intl/date.js +1 -1
  460. package/intl/number.js +1 -1
  461. package/layers/knowledgeGraph/KnowledgeGraphSublayer.js +1 -1
  462. package/layers/support/PlaybackInfo.d.ts +4 -0
  463. package/networks/CircuitManager.js +1 -1
  464. package/networks/UnitIdentifierManager.js +1 -1
  465. package/package.json +2 -2
  466. package/rest/networks/circuits/alterCircuit.js +1 -1
  467. package/rest/networks/circuits/createCircuit.js +1 -1
  468. package/rest/networks/circuits/deleteCircuits.js +1 -1
  469. package/rest/networks/circuits/support/CircuitVerifyResult.js +1 -1
  470. package/rest/networks/circuits/support/EditCircuitsResult.js +5 -0
  471. package/rest/networks/circuits/support/ExportCircuitsResult.js +1 -1
  472. package/rest/networks/circuits/support/VerifyCircuitsResult.js +1 -1
  473. package/rest/networks/support/utils.js +5 -0
  474. package/rest/networks/unitIdentifiers/insertGap.js +1 -1
  475. package/rest/networks/unitIdentifiers/reset.js +1 -1
  476. package/rest/networks/unitIdentifiers/resize.js +1 -1
  477. package/rest/networks/unitIdentifiers/support/EditUnitIdentifiersResult.js +5 -0
  478. package/support/arcadeUtils.js +1 -1
  479. package/support/revision.js +1 -1
  480. package/views/2d/engine/webgl/shaderGraph/techniques/FeatureInstanceStore.js +1 -1
  481. package/views/2d/layers/FeatureLayerView2D.js +1 -1
  482. package/views/3d/FocusAreasView.js +1 -1
  483. package/views/3d/interactive/measurementTools/directLineMeasurement3D/DirectLineMeasurement3DTool.js +1 -1
  484. package/views/3d/layers/FeatureLikeLayerView3D.js +1 -1
  485. package/views/3d/layers/GraphicsLayerView3D.js +1 -1
  486. package/views/3d/layers/I3SMeshViewLabeler.js +1 -1
  487. package/views/3d/layers/RouteLayerView3D.js +1 -1
  488. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  489. package/views/3d/layers/graphics/Graphics3DGraphicsPipeline.js +1 -1
  490. package/views/3d/layers/graphics/GraphicsProcessor.js +1 -1
  491. package/views/3d/layers/graphics/Labeler.js +1 -1
  492. package/views/3d/state/controllers/PinchAndPanControllerGlobal.js +1 -1
  493. package/views/3d/state/controllers/PinchAndPanControllerLocal.js +1 -1
  494. package/views/3d/state/controllers/RotateController.js +1 -1
  495. package/views/3d/state/controllers/ZoomControllerGlobal.js +1 -1
  496. package/views/3d/state/controllers/ZoomControllerLocal.js +1 -1
  497. package/views/3d/state/controllers/ZoomStepControllerGlobal.js +1 -1
  498. package/views/3d/state/controllers/ZoomStepControllerLocal.js +1 -1
  499. package/views/3d/state/utils/navigationUtils.js +1 -1
  500. package/views/3d/support/DisplayQualityProfile.js +1 -1
  501. package/views/3d/support/QualitySettings.js +1 -1
  502. package/views/3d/support/sunUtils.js +1 -1
  503. package/views/3d/terrain/OverlayManager.js +1 -1
  504. package/views/3d/terrain/TerrainSurface.js +1 -1
  505. package/views/3d/webgl-engine/lib/textureUtils.js +1 -1
  506. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  507. package/views/3d/webgl-engine/parts/RenderView.js +1 -1
  508. package/views/ToolViewManager.js +1 -1
  509. package/views/support/layerViewUtils.js +1 -1
  510. package/views/webgl/FramebufferObject.js +1 -1
  511. package/views/webgl/Parameters.js +1 -1
  512. package/widgets/BasemapLayerList.js +1 -1
  513. package/widgets/Editor/EditorViewModel.js +1 -1
  514. package/widgets/Expand.js +1 -1
  515. package/widgets/Feature/support/arcadeFeatureUtils.js +1 -1
  516. package/widgets/FeatureForm/FieldInput.js +1 -1
  517. package/widgets/LayerList/LayerListItem.js +1 -1
  518. package/widgets/Print.js +1 -1
  519. package/widgets/Search.js +1 -1
  520. package/widgets/ShadowCast/ShadowCastViewModel.js +1 -1
  521. package/widgets/TimeSlider.js +1 -1
  522. package/assets/esri/core/workers/chunks/074498a4d685223ec058.js +0 -1
  523. package/assets/esri/core/workers/chunks/15b3eb60f86954783fab.js +0 -1
  524. package/assets/esri/core/workers/chunks/28677588ec75bc08ade9.js +0 -1
  525. package/assets/esri/core/workers/chunks/5d50a8d0427eab0a2514.js +0 -1
  526. package/assets/esri/core/workers/chunks/91d484960df25ec9554b.js +0 -1
  527. package/assets/esri/core/workers/chunks/9cd55043f3d789f41815.js +0 -1
  528. package/assets/esri/core/workers/chunks/9fe62638dc7dce466612.js +0 -1
  529. package/assets/esri/core/workers/chunks/adf6982e2d8102669cdf.js +0 -1
  530. package/assets/esri/core/workers/chunks/c6fa79ce324122e08dbb.js +0 -1
  531. package/assets/esri/core/workers/chunks/cbbbaccc0d3683e1c0fe.js +0 -1
  532. package/assets/esri/core/workers/chunks/e7a440476cd1eb4c6547.js +0 -1
  533. package/assets/esri/core/workers/chunks/e9993d4f2bfdc434fbcc.js +0 -1
package/chunks/array.js CHANGED
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
4
4
  */
5
- import{deepClone as n}from"../arcade/deepClone.js";import{ArcadeExecutionError as t,ExecutionErrorCodes as r}from"../arcade/executionError.js";import e from"../arcade/ImmutableArray.js";import{D as o,K as i,m as u,t as a,v as c,A as s,i as l,N as f,f as d}from"./languageUtils.js";import{isPromiseLike as h}from"../core/promiseUtils.js";import{isArray as w,isBoolean as g,isInteger as m}from"../support/guards.js";function F(F){function p(n,o,i){if(n instanceof e)return n.toArray();if(w(n))return n;throw new t(o,r.InvalidParameter,i)}function y(n,t){const r=n.length,e=Math.floor(r/2);return 0===r?[]:1===r?[n[0]]:v(y(n.slice(0,e),t),y(n.slice(e,r),t),t)}function v(n,t,r){const e=[];for(;n.length>0||t.length>0;)if(n.length>0&&t.length>0){let o=r(n[0],t[0]);isNaN(o)&&(o=0),o<=0?(e.push(n[0]),n=n.slice(1)):(e.push(t[0]),t=t.slice(1))}else n.length>0?(e.push(n[0]),n=n.slice(1)):t.length>0&&(e.push(t[0]),t=t.slice(1));return e}async function P(n,t){const r=n.length,e=Math.floor(r/2);if(0===r)return[];if(1===r)return[n[0]];const o=[await P(n.slice(0,e),t),await P(n.slice(e,r),t)];return I(o[0],o[1],t,[])}async function I(n,t,r,e){const o=e;if(n.length>0||t.length>0){if(n.length>0&&t.length>0){let i=await r(n[0],t[0]);return isNaN(i)&&(i=1),i<=0?(o.push(n[0]),n=n.slice(1)):(o.push(t[0]),t=t.slice(1)),I(n,t,r,e)}return n.length>0?(o.push(n[0]),I(n=n.slice(1),t,r,e)):(o.push(t[0]),I(n,t=t.slice(1),r,e))}return e}function N(n,e,i,a){o(i,1,2,n,e);let s=i[0];if(u(s)&&(s=s.toArray()),!1===w(s))throw new t(n,r.InvalidParameter,e);if(i.length>1){if(!1===l(i[1]))throw new t(n,r.InvalidParameter,e);let o=s;const u=i[1].createFunction(n);return a?P(o,u):(o=y(o,((n,t)=>u(n,t))),o)}let h=s;if(0===h.length)return[];const g={};for(let t=0;t<h.length;t++){const n=f(h[t]);""!==n&&(g[n]=!0)}if(!0===g.Array||!0===g.Dictionary||!0===g.Feature||!0===g.Voxel||!0===g.Point||!0===g.Polygon||!0===g.Polyline||!0===g.Multipoint||!0===g.Extent||!0===g.Function)return h.slice();let m=0,F="";for(const t in g)m++,F=t;return h=m>1||"String"===F?y(h,((n,t)=>{if(null==n||n===c)return null==t||t===c?0:1;if(null==t||t===c)return-1;const r=d(n),e=d(t);return r<e?-1:r===e?0:1})):"Number"===F?y(h,((n,t)=>n-t)):"Boolean"===F?y(h,((n,t)=>n===t?0:t?-1:1)):"Date"===F?y(h,((n,t)=>n.toNumber()-t.toNumber())):h.slice(),h}F.functions.array=function(e,c){return F.standardFunction(e,c,((s,l,f)=>{if(o(f,0,2,e,c),0===f.length)return[];if(1===f.length&&null===f[0])return[];if(w(f[0])){if(2===f.length&&!1===g(f[1]))throw new t(e,r.InvalidParameter,c);return!0===i(f[1],!1)?n(f[0]):f[0].slice()}if(u(f[0])){if(2===f.length&&!1===g(f[1]))throw new t(e,r.InvalidParameter,c);return!0===i(f[1],!1)?n(f[0]):f[0].toArray().slice()}const d=a(f[0]);if(isNaN(d)||!1===m(d))throw new t(e,r.InvalidParameter,c);const h=i(f[1],null),F=new Array(d);return F.fill(h),F}))},F.functions.front=function(n,e){return F.standardFunction(n,e,((i,a,c)=>{if(o(c,1,1,n,e),u(c[0])){if(c[0].length()<=0)throw new t(n,r.OutOfBounds,e);return c[0].get(0)}if(w(c[0])){if(c[0].length<=0)throw new t(n,r.OutOfBounds,e);return c[0][0]}throw new t(n,r.InvalidParameter,e)}))},F.functions.back=function(n,e){return F.standardFunction(n,e,((i,a,c)=>{if(o(c,1,1,n,e),u(c[0])){if(c[0].length()<=0)throw new t(n,r.OutOfBounds,e);return c[0].get(c[0].length()-1)}if(w(c[0])){if(c[0].length<=0)throw new t(n,r.OutOfBounds,e);return c[0][c[0].length-1]}throw new t(n,r.InvalidParameter,e)}))},F.functions.push=function(n,e){return F.standardFunction(n,e,((i,u,a)=>{if(o(a,1,2,n,e),w(a[0]))return a[0][a[0].length]=a[1],a[0].length;throw new t(n,r.InvalidParameter,e)}))},F.functions.pop=function(n,e){return F.standardFunction(n,e,((i,u,a)=>{if(o(a,1,1,n,e),w(a[0])){if(a[0].length<=0)throw new t(n,r.OutOfBounds,e);const o=a[0][a[0].length-1];return a[0].length=a[0].length-1,o}throw new t(n,r.InvalidParameter,e)}))},F.functions.erase=function(n,e){return F.standardFunction(n,e,((i,u,s)=>{if(o(s,2,2,n,e),w(s[0])){let o=a(s[1]);if(isNaN(o)||!1===m(o))throw new t(n,r.InvalidParameter,e);const i=s[0];if(i.length<=0)throw new t(n,r.OutOfBounds,e);if(o<0&&(o=i.length+o),o<0)throw new t(n,r.OutOfBounds,e);if(o>=i.length)throw new t(n,r.OutOfBounds,e);return i.splice(o,1),c}throw new t(n,r.InvalidParameter,e)}))},F.functions.insert=function(n,e){return F.standardFunction(n,e,((i,u,s)=>{if(o(s,3,3,n,e),w(s[0])){const o=a(s[1]);if(isNaN(o)||!1===m(o))throw new t(n,r.InvalidParameter,e);const i=s[2],u=s[0];if(o>u.length)throw new t(n,r.OutOfBounds,e);if(o<0&&o<-1*u.length)throw new t(n,r.OutOfBounds,e);return o===u.length?(u[o]=i,c):(u.splice(o,0,i),c)}throw new t(n,r.InvalidParameter,e)}))},F.functions.resize=function(n,e){return F.standardFunction(n,e,((u,s,l)=>{if(o(l,2,3,n,e),w(l[0])){const o=a(l[1]);if(isNaN(o)||!1===m(o))throw new t(n,r.InvalidParameter,e);if(o<0)throw new t(n,r.InvalidParameter,e);const u=i(l[2],null),s=l[0];if(s.length>=o)return s.length=o,c;const f=s.length;s.length=o;for(let n=f;n<s.length;n++)s[n]=u;return c}throw new t(n,r.InvalidParameter,e)}))},F.functions.includes=function(n,e){return F.standardFunction(n,e,((i,a,c)=>{if(o(c,2,2,n,e),w(c[0])){const n=c[1];return!!c[0].some((t=>s(t,n)))}if(u(c[0])){const n=c[1];return!!c[0].toArray().some((t=>s(t,n)))}throw new t(n,r.InvalidParameter,e)}))},F.functions.slice=function(n,e){return F.standardFunction(n,e,((c,s,l)=>{if(o(l,1,3,n,e),w(l[0])){const o=a(i(l[1],0)),u=a(i(l[2],l[0].length));if(isNaN(o)||!1===m(o))throw new t(n,r.InvalidParameter,e);if(isNaN(u)||!1===m(u))throw new t(n,r.InvalidParameter,e);return l[0].slice(o,u)}if(u(l[0])){const o=l[0],u=a(i(l[1],0)),c=a(i(l[2],o.length()));if(isNaN(u)||!1===m(u))throw new t(n,r.InvalidParameter,e);if(isNaN(c)||!1===m(c))throw new t(n,r.InvalidParameter,e);return o.toArray().slice(u,c)}throw new t(n,r.InvalidParameter,e)}))},F.functions.splice=function(n,t){return F.standardFunction(n,t,((n,t,r)=>{const e=[];for(let o=0;o<r.length;o++)w(r[o])?e.push(...r[o]):u(r[o])?e.push(...r[o].toArray()):e.push(r[o]);return e}))},F.functions.top=function(n,e){return F.standardFunction(n,e,((i,c,s)=>{if(o(s,2,2,n,e),w(s[0]))return a(s[1])>=s[0].length?s[0].slice():s[0].slice(0,a(s[1]));if(u(s[0]))return a(s[1])>=s[0].length()?s[0].slice():s[0].slice(0,a(s[1]));throw new t(n,r.InvalidParameter,e)}))},F.functions.first=function(n,t){return F.standardFunction(n,t,((r,e,i)=>(o(i,1,1,n,t),w(i[0])?0===i[0].length?null:i[0][0]:u(i[0])?0===i[0].length()?null:i[0].get(0):null)))},"sync"===F.mode&&(F.functions.sort=function(n,t){return F.standardFunction(n,t,((t,r,e)=>N(n,r,e,!1)))},F.functions.any=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){const t=i(n);if(g(t)&&!0===t)return!0}return!1}))},F.functions.all=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){if(!0!==i(n))return!1}return!0}))},F.functions.none=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){if(!0===i(n))return!1}return!0}))},F.functions.reduce=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,3,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);return 2===e.length?0===u.length?null:u.reduce(((n,t)=>{const r=i(n,t);return n=void 0!==r&&r!==c?r:null})):u.reduce(((n,t)=>{const r=i(n,t);return n=void 0!==r&&r!==c?r:null}),e[2])}))},F.functions.map=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r),a=[];for(const n of u){const t=i(n);void 0!==t&&t!==c?a.push(t):a.push(null)}return a}))},F.functions.filter=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r),a=[];for(const n of u){!0===i(n)&&a.push(n)}return a}))}),"async"===F.mode&&(F.functions.sort=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>N(n,r,e,!0)))},F.functions.any=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){const t=await i(n);let r=null;if(r=h(r)?await t:t,g(r)&&!0===r)return!0}return!1}))},F.functions.all=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){const t=await i(n);let r=null;if(r=h(r)?await t:t,!0!==r)return!1}return!0}))},F.functions.none=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){const t=await i(n);let r=null;if(r=h(r)?await t:t,!0===r)return!1}return!0}))},F.functions.filter=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r),a=[];for(const n of u){const t=await i(n);let r=null;r=h(r)?await t:t,!0===r&&a.push(n)}return a}))},F.functions.reduce=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,3,n,r);const u=e[1].createFunction(n),a=p(e[0],n,r);let s;if(e.length>2){const n=i(e[2],null);s=a.reduce((async(n,t)=>{let r=await n;return void 0!==r&&r!==c||(r=null),u(r,t)}),Promise.resolve(n))}else{if(0===a.length)return null;s=a.reduce((async(n,t,r)=>{if(r<=1)return u(n,t);let e=await n;return void 0!==e&&e!==c||(e=null),u(e,t)}))}return s.then((n=>void 0!==n&&n!==c?n:null))}))},F.functions.map=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r),a=[];for(const n of u){const t=await i(n);let r=null;r=h(r)?await t:t,void 0!==r&&r!==c?a.push(r):a.push(null)}return a}))})}const p=Object.freeze(Object.defineProperty({__proto__:null,registerFunctions:F},Symbol.toStringTag,{value:"Module"}));export{p as A,F as r};
5
+ import{deepClone as n}from"../arcade/deepClone.js";import{ArcadeExecutionError as t,ExecutionErrorCodes as r}from"../arcade/executionError.js";import e from"../arcade/ImmutableArray.js";import{B as o,J as i,j as u,u as a,v as c,y as s,i as l,M as f,w as d}from"./languageUtils.js";import{isPromiseLike as h}from"../core/promiseUtils.js";import{isArray as w,isBoolean as g,isInteger as m}from"../support/guards.js";function F(F){function p(n,o,i){if(n instanceof e)return n.toArray();if(w(n))return n;throw new t(o,r.InvalidParameter,i)}function y(n,t){const r=n.length,e=Math.floor(r/2);return 0===r?[]:1===r?[n[0]]:v(y(n.slice(0,e),t),y(n.slice(e,r),t),t)}function v(n,t,r){const e=[];for(;n.length>0||t.length>0;)if(n.length>0&&t.length>0){let o=r(n[0],t[0]);isNaN(o)&&(o=0),o<=0?(e.push(n[0]),n=n.slice(1)):(e.push(t[0]),t=t.slice(1))}else n.length>0?(e.push(n[0]),n=n.slice(1)):t.length>0&&(e.push(t[0]),t=t.slice(1));return e}async function P(n,t){const r=n.length,e=Math.floor(r/2);if(0===r)return[];if(1===r)return[n[0]];const o=[await P(n.slice(0,e),t),await P(n.slice(e,r),t)];return I(o[0],o[1],t,[])}async function I(n,t,r,e){const o=e;if(n.length>0||t.length>0){if(n.length>0&&t.length>0){let i=await r(n[0],t[0]);return isNaN(i)&&(i=1),i<=0?(o.push(n[0]),n=n.slice(1)):(o.push(t[0]),t=t.slice(1)),I(n,t,r,e)}return n.length>0?(o.push(n[0]),I(n=n.slice(1),t,r,e)):(o.push(t[0]),I(n,t=t.slice(1),r,e))}return e}function N(n,e,i,a){o(i,1,2,n,e);let s=i[0];if(u(s)&&(s=s.toArray()),!1===w(s))throw new t(n,r.InvalidParameter,e);if(i.length>1){if(!1===l(i[1]))throw new t(n,r.InvalidParameter,e);let o=s;const u=i[1].createFunction(n);return a?P(o,u):(o=y(o,((n,t)=>u(n,t))),o)}let h=s;if(0===h.length)return[];const g={};for(let t=0;t<h.length;t++){const n=f(h[t]);""!==n&&(g[n]=!0)}if(!0===g.Array||!0===g.Dictionary||!0===g.Feature||!0===g.Voxel||!0===g.Point||!0===g.Polygon||!0===g.Polyline||!0===g.Multipoint||!0===g.Extent||!0===g.Function)return h.slice();let m=0,F="";for(const t in g)m++,F=t;return h=m>1||"String"===F?y(h,((n,t)=>{if(null==n||n===c)return null==t||t===c?0:1;if(null==t||t===c)return-1;const r=d(n),e=d(t);return r<e?-1:r===e?0:1})):"Number"===F?y(h,((n,t)=>n-t)):"Boolean"===F?y(h,((n,t)=>n===t?0:t?-1:1)):"Date"===F?y(h,((n,t)=>n.toNumber()-t.toNumber())):h.slice(),h}F.functions.array=function(e,c){return F.standardFunction(e,c,((s,l,f)=>{if(o(f,0,2,e,c),0===f.length)return[];if(1===f.length&&null===f[0])return[];if(w(f[0])){if(2===f.length&&!1===g(f[1]))throw new t(e,r.InvalidParameter,c);return!0===i(f[1],!1)?n(f[0]):f[0].slice()}if(u(f[0])){if(2===f.length&&!1===g(f[1]))throw new t(e,r.InvalidParameter,c);return!0===i(f[1],!1)?n(f[0]):f[0].toArray().slice()}const d=a(f[0]);if(isNaN(d)||!1===m(d))throw new t(e,r.InvalidParameter,c);const h=i(f[1],null),F=new Array(d);return F.fill(h),F}))},F.functions.front=function(n,e){return F.standardFunction(n,e,((i,a,c)=>{if(o(c,1,1,n,e),u(c[0])){if(c[0].length()<=0)throw new t(n,r.OutOfBounds,e);return c[0].get(0)}if(w(c[0])){if(c[0].length<=0)throw new t(n,r.OutOfBounds,e);return c[0][0]}throw new t(n,r.InvalidParameter,e)}))},F.functions.back=function(n,e){return F.standardFunction(n,e,((i,a,c)=>{if(o(c,1,1,n,e),u(c[0])){if(c[0].length()<=0)throw new t(n,r.OutOfBounds,e);return c[0].get(c[0].length()-1)}if(w(c[0])){if(c[0].length<=0)throw new t(n,r.OutOfBounds,e);return c[0][c[0].length-1]}throw new t(n,r.InvalidParameter,e)}))},F.functions.push=function(n,e){return F.standardFunction(n,e,((i,u,a)=>{if(o(a,1,2,n,e),w(a[0]))return a[0][a[0].length]=a[1],a[0].length;throw new t(n,r.InvalidParameter,e)}))},F.functions.pop=function(n,e){return F.standardFunction(n,e,((i,u,a)=>{if(o(a,1,1,n,e),w(a[0])){if(a[0].length<=0)throw new t(n,r.OutOfBounds,e);const o=a[0][a[0].length-1];return a[0].length=a[0].length-1,o}throw new t(n,r.InvalidParameter,e)}))},F.functions.erase=function(n,e){return F.standardFunction(n,e,((i,u,s)=>{if(o(s,2,2,n,e),w(s[0])){let o=a(s[1]);if(isNaN(o)||!1===m(o))throw new t(n,r.InvalidParameter,e);const i=s[0];if(i.length<=0)throw new t(n,r.OutOfBounds,e);if(o<0&&(o=i.length+o),o<0)throw new t(n,r.OutOfBounds,e);if(o>=i.length)throw new t(n,r.OutOfBounds,e);return i.splice(o,1),c}throw new t(n,r.InvalidParameter,e)}))},F.functions.insert=function(n,e){return F.standardFunction(n,e,((i,u,s)=>{if(o(s,3,3,n,e),w(s[0])){const o=a(s[1]);if(isNaN(o)||!1===m(o))throw new t(n,r.InvalidParameter,e);const i=s[2],u=s[0];if(o>u.length)throw new t(n,r.OutOfBounds,e);if(o<0&&o<-1*u.length)throw new t(n,r.OutOfBounds,e);return o===u.length?(u[o]=i,c):(u.splice(o,0,i),c)}throw new t(n,r.InvalidParameter,e)}))},F.functions.resize=function(n,e){return F.standardFunction(n,e,((u,s,l)=>{if(o(l,2,3,n,e),w(l[0])){const o=a(l[1]);if(isNaN(o)||!1===m(o))throw new t(n,r.InvalidParameter,e);if(o<0)throw new t(n,r.InvalidParameter,e);const u=i(l[2],null),s=l[0];if(s.length>=o)return s.length=o,c;const f=s.length;s.length=o;for(let n=f;n<s.length;n++)s[n]=u;return c}throw new t(n,r.InvalidParameter,e)}))},F.functions.includes=function(n,e){return F.standardFunction(n,e,((i,a,c)=>{if(o(c,2,2,n,e),w(c[0])){const n=c[1];return!!c[0].some((t=>s(t,n)))}if(u(c[0])){const n=c[1];return!!c[0].toArray().some((t=>s(t,n)))}throw new t(n,r.InvalidParameter,e)}))},F.functions.slice=function(n,e){return F.standardFunction(n,e,((c,s,l)=>{if(o(l,1,3,n,e),w(l[0])){const o=a(i(l[1],0)),u=a(i(l[2],l[0].length));if(isNaN(o)||!1===m(o))throw new t(n,r.InvalidParameter,e);if(isNaN(u)||!1===m(u))throw new t(n,r.InvalidParameter,e);return l[0].slice(o,u)}if(u(l[0])){const o=l[0],u=a(i(l[1],0)),c=a(i(l[2],o.length()));if(isNaN(u)||!1===m(u))throw new t(n,r.InvalidParameter,e);if(isNaN(c)||!1===m(c))throw new t(n,r.InvalidParameter,e);return o.toArray().slice(u,c)}throw new t(n,r.InvalidParameter,e)}))},F.functions.splice=function(n,t){return F.standardFunction(n,t,((n,t,r)=>{const e=[];for(let o=0;o<r.length;o++)w(r[o])?e.push(...r[o]):u(r[o])?e.push(...r[o].toArray()):e.push(r[o]);return e}))},F.functions.top=function(n,e){return F.standardFunction(n,e,((i,c,s)=>{if(o(s,2,2,n,e),w(s[0]))return a(s[1])>=s[0].length?s[0].slice():s[0].slice(0,a(s[1]));if(u(s[0]))return a(s[1])>=s[0].length()?s[0].slice():s[0].slice(0,a(s[1]));throw new t(n,r.InvalidParameter,e)}))},F.functions.first=function(n,t){return F.standardFunction(n,t,((r,e,i)=>(o(i,1,1,n,t),w(i[0])?0===i[0].length?null:i[0][0]:u(i[0])?0===i[0].length()?null:i[0].get(0):null)))},"sync"===F.mode&&(F.functions.sort=function(n,t){return F.standardFunction(n,t,((t,r,e)=>N(n,r,e,!1)))},F.functions.any=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){const t=i(n);if(g(t)&&!0===t)return!0}return!1}))},F.functions.all=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){if(!0!==i(n))return!1}return!0}))},F.functions.none=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){if(!0===i(n))return!1}return!0}))},F.functions.reduce=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,3,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);return 2===e.length?0===u.length?null:u.reduce(((n,t)=>{const r=i(n,t);return n=void 0!==r&&r!==c?r:null})):u.reduce(((n,t)=>{const r=i(n,t);return n=void 0!==r&&r!==c?r:null}),e[2])}))},F.functions.map=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r),a=[];for(const n of u){const t=i(n);void 0!==t&&t!==c?a.push(t):a.push(null)}return a}))},F.functions.filter=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r),a=[];for(const n of u){!0===i(n)&&a.push(n)}return a}))}),"async"===F.mode&&(F.functions.sort=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>N(n,r,e,!0)))},F.functions.any=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){const t=await i(n);let r=null;if(r=h(r)?await t:t,g(r)&&!0===r)return!0}return!1}))},F.functions.all=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){const t=await i(n);let r=null;if(r=h(r)?await t:t,!0!==r)return!1}return!0}))},F.functions.none=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){const t=await i(n);let r=null;if(r=h(r)?await t:t,!0===r)return!1}return!0}))},F.functions.filter=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r),a=[];for(const n of u){const t=await i(n);let r=null;r=h(r)?await t:t,!0===r&&a.push(n)}return a}))},F.functions.reduce=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,3,n,r);const u=e[1].createFunction(n),a=p(e[0],n,r);let s;if(e.length>2){const n=i(e[2],null);s=a.reduce((async(n,t)=>{let r=await n;return void 0!==r&&r!==c||(r=null),u(r,t)}),Promise.resolve(n))}else{if(0===a.length)return null;s=a.reduce((async(n,t,r)=>{if(r<=1)return u(n,t);let e=await n;return void 0!==e&&e!==c||(e=null),u(e,t)}))}return s.then((n=>void 0!==n&&n!==c?n:null))}))},F.functions.map=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r),a=[];for(const n of u){const t=await i(n);let r=null;r=h(r)?await t:t,void 0!==r&&r!==c?a.push(r):a.push(null)}return a}))})}const p=Object.freeze(Object.defineProperty({__proto__:null,registerFunctions:F},Symbol.toStringTag,{value:"Module"}));export{p as A,F as r};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
4
4
  */
5
- import e from"../config.js";import{version as t}from"../kernel.js";import{ArcadeDate as n,createDateTimeZone as r}from"../arcade/ArcadeDate.js";import{ArcadeModule as i}from"../arcade/ArcadeModule.js";import{ArcadeExecutionError as o,ExecutionErrorCodes as a}from"../arcade/executionError.js";import{ArcadeFunction as u}from"../arcade/FunctionWrapper.js";import s from"../arcade/ImmutableArray.js";import l from"../arcade/ImmutablePathArray.js";import f from"../arcade/ImmutablePointArray.js";import{esriFieldToJson as c,layerGeometryEsriRestConstants as m}from"../arcade/featureset/support/shared.js";import{format as d,parse as y}from"../core/number.js";import{DateOnly as p}from"../core/sql/DateOnly.js";import{TimeOnly as g}from"../core/sql/TimeOnly.js";import h from"../geometry/Extent.js";import b from"../geometry/Geometry.js";import N from"../geometry/Multipoint.js";import S from"../geometry/Point.js";import Z from"../geometry/Polygon.js";import T from"../geometry/Polyline.js";import A from"../geometry/SpatialReference.js";import{isClockwise as k}from"../geometry/support/coordsUtils.js";import{fromJSON as j}from"../geometry/support/jsonUtils.js";import{getLocale as D}from"../intl/locale.js";import{isBoolean as O,isNumber as C,isString as x,isArray as F,isDate as w,isGraphic as J,isInteger as M}from"../support/guards.js";import{DateTime as R}from"luxon";class v{constructor(e){this.value=e}}class _{constructor(e){this.value=e}}const I={type:"VOID"},P=Symbol("BREAK"),Y=Symbol("CONTINUE");function L(e,t,n){return""===t||null==t||t===n||t===n?e:e=e.split(t).join(n)}function G(e){return e instanceof u}function V(e){return e instanceof i}function z(e){return!!x(e)||(!!C(e)||(!!ne(e)||(!!re(e)||(!!ie(e)||(!!O(e)||(null===e||(e===I||"number"==typeof e)))))))}function q(e,t){return void 0===e?t:e}function E(e){return null==e?"":F(e)||te(e)?"Array":ne(e)?"Date":ie(e)?"Time":re(e)?"DateOnly":x(e)?"String":O(e)?"Boolean":C(e)?"Number":"esri.arcade.Attachment"===e?.declaredClass?"Attachment":"esri.arcade.Portal"===e?.declaredClass?"Portal":"esri.arcade.Dictionary"===e?.declaredClass?"Dictionary":ee(e)?"KnowledgeGraph":e instanceof i?"Module":$(e)?"Feature":e instanceof S?"Point":e instanceof Z?"Polygon":e instanceof T?"Polyline":e instanceof N?"Multipoint":e instanceof h?"Extent":G(e)?"Function":K(e)?"FeatureSet":X(e)?"FeatureSetCollection":B(e)?"Voxel":e===I?"":"number"==typeof e&&isNaN(e)?"Number":"Unrecognized Type"}function U(e){return e===I}function H(e){return e instanceof b}function $(e){return"esri.arcade.Feature"===e?.arcadeDeclaredClass}function B(e){return"esri.arcade.Voxel"===e?.arcadeDeclaredClass}function K(e){return"esri.arcade.featureset.support.FeatureSet"===e?.declaredRootClass}function W(e){return"esri.arcade.Dictionary"===e?.declaredClass}function Q(e){return W(e)||$(e)||B(e)}function X(e){return"esri.arcade.featureSetCollection"===e?.declaredRootClass}function ee(e){return"esri.rest.knowledgeGraph.KnowledgeGraph"===e?.declaredClass}function te(e){return e instanceof s}function ne(e){return e instanceof n}function re(e){return e instanceof p}function ie(e){return e instanceof g}function oe(e){return null!=e&&"object"==typeof e}function ae(e,t,n,r,i){if(e.length<t||e.length>n)throw new o(r,a.WrongNumberOfParameters,i)}function ue(e){return e<0?-Math.round(-e):Math.round(e)}function se(e,t){return isNaN(e)||null==t||""===t?e.toString():(t=L(t,"‰",""),t=L(t,"¤",""),d(e,{pattern:t}))}function le(e,t){return null==t||""===t?e.toISOString(!0):e.toFormat(fe(t),{locale:D(),numberingSystem:"latn"})}function fe(e,t=!1){e=e.replaceAll(/LTS|LT|L{1,4}|l{1,4}/g,"[$&]");let n="";const r=/(\[[^[]*\])|(\\)?([Hh]mm(ss)?|Mo|M{1,4}|Do|DDDo|D{1,4}|d{2,4}|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|Z{1,5}|.)/g;for(const i of e.match(r)||[])switch(i){case"D":n+="d";break;case"DD":n+="dd";break;case"DDD":n+="o";break;case"d":n+="c";break;case"ddd":n+="ccc";break;case"dddd":n+="cccc";break;case"M":n+="L";break;case"MM":n+="LL";break;case"MMM":n+="LLL";break;case"MMMM":n+="LLLL";break;case"YY":n+="yy";break;case"Y":case"YYYY":n+="yyyy";break;case"Q":n+="q";break;case"Z":n+="Z";break;case"ZZ":n+="ZZ";break;case"ZZZ":n+="ZZZ";break;case"ZZZZ":n+=t?"[ZZZZ]":"ZZZZ";break;case"ZZZZZ":n+=t?"[ZZZZZ]":"ZZZZZ";break;case"S":n+="'S'";break;case"SS":n+="'SS'";break;case"SSS":n+="u";break;case"A":case"a":n+="a";break;case"m":case"mm":case"h":case"hh":case"H":case"HH":case"s":case"ss":case"X":case"x":n+=i;break;default:i.length>=2&&"["===i.slice(0,1)&&"]"===i.slice(-1)?n+=`'${i.slice(1,-1)}'`:n+=`'${i}'`}return n}function ce(e,t,n){switch(n){case">":return e>t;case"<":return e<t;case">=":return e>=t;case"<=":return e<=t}return!1}function me(e,t,r){if(null===e){if(null===t||t===I)return ce(null,null,r);if(C(t))return ce(0,t,r);if(x(t))return ce(0,Ne(t),r);if(O(t))return ce(0,Ne(t),r);if(ne(t))return ce(0,t.toNumber(),r);if(ie(t))return ce(e,t.toNumber(),r);if(re(t))return ce(e,t.toNumber(),r)}if(e===I){if(null===t||t===I)return ce(null,null,r);if(C(t))return ce(0,t,r);if(x(t))return ce(0,Ne(t),r);if(O(t))return ce(0,Ne(t),r);if(ne(t))return ce(0,t.toNumber(),r);if(ie(t))return ce(e,t.toNumber(),r);if(re(t))return ce(e,t.toNumber(),r)}else if(C(e)){if(C(t))return ce(e,t,r);if(O(t))return ce(e,Ne(t),r);if(null===t||t===I)return ce(e,0,r);if(x(t))return ce(e,Ne(t),r);if(ne(t))return ce(e,t.toNumber(),r);if(ie(t))return ce(e,t.toNumber(),r);if(re(t))return ce(e,t.toNumber(),r)}else if(x(e)){if(x(t))return ce(pe(e),pe(t),r);if(ne(t))return ce(Ne(e),t.toNumber(),r);if(ie(t))return ce(Ne(e),t.toNumber(),r);if(re(t))return ce(Ne(e),t.toNumber(),r);if(C(t))return ce(Ne(e),t,r);if(null===t||t===I)return ce(Ne(e),0,r);if(O(t))return ce(Ne(e),Ne(t),r)}else if(ne(e)){if(ne(t))return e.timeZone!==t.timeZone&&(e.isUnknownTimeZone?e=n.arcadeDateAndZoneToArcadeDate(e,t.timeZone):t.isUnknownTimeZone&&(t=n.arcadeDateAndZoneToArcadeDate(t,e.timeZone))),ce(e.toNumber(),t.toNumber(),r);if(null===t||t===I)return ce(e.toNumber(),0,r);if(C(t))return ce(e.toNumber(),t,r);if(O(t))return ce(e.toNumber(),Ne(t),r);if(x(t))return ce(e.toNumber(),Ne(t),r);if(ie(t))throw new o(null,a.CannotCompareDateAndTime,null);if(re(t))return ce(e.toNumber(),t.toNumber(),r)}else if(O(e)){if(O(t))return ce(e,t,r);if(C(t))return ce(Ne(e),Ne(t),r);if(ne(t))return ce(Ne(e),t.toNumber(),r);if(ie(t))return ce(Ne(e),t.toNumber(),r);if(re(t))return ce(Ne(e),t.toNumber(),r);if(null===t||t===I)return ce(Ne(e),0,r);if(x(t))return ce(Ne(e),Ne(t),r)}else if(re(e)){if(ne(t))return ce(e.toNumber(),t.toNumber(),r);if(null===t||t===I)return ce(e.toNumber(),0,r);if(C(t))return ce(e.toNumber(),t,r);if(O(t))return ce(e.toNumber(),Ne(t),r);if(x(t))return ce(e.toNumber(),Ne(t),r);if(ie(t))throw new o(null,a.CannotCompareDateAndTime,null);if(re(t))return ce(e.toNumber(),t.toNumber(),r)}else if(ie(e)){if(ne(t))throw new o(null,a.CannotCompareDateAndTime,null);if(null===t||t===I)return ce(e.toNumber(),0,r);if(C(t))return ce(e.toNumber(),t,r);if(O(t))return ce(e.toNumber(),Ne(t),r);if(x(t))return ce(e.toNumber(),Ne(t),r);if(ie(t))return ce(e.toNumber(),t.toNumber(),r);if(re(t))throw new o(null,a.CannotCompareDateAndTime,null)}return!!de(e,t)&&("<="===r||">="===r)}function de(e,t){if(e===t)return!0;if(null===e&&t===I||null===t&&e===I)return!0;if(ne(e)&&ne(t))return e.equals(t);if(ie(e)&&ie(t))return e.equals(t);if(re(e)&&re(t))return e.equals(t);if(e instanceof l)return e.equalityTest(t);if(e instanceof f)return e.equalityTest(t);if(e instanceof S&&t instanceof S){const n=e.cache._arcadeCacheId,r=t.cache._arcadeCacheId;if(null!=n)return n===r}if(oe(e)&&oe(t)){if(e._arcadeCacheId===t._arcadeCacheId&&void 0!==e._arcadeCacheId&&null!==e._arcadeCacheId)return!0;if(e._underlyingGraphic===t._underlyingGraphic&&void 0!==e._underlyingGraphic&&null!==e._underlyingGraphic)return!0}return!1}function ye(e,{useNumbersForDates:t}){let n="";for(const r in e){""!==n&&(n+=",");const i=e[r];null==i?n+=JSON.stringify(r)+":null":O(i)||C(i)||x(i)?n+=JSON.stringify(r)+":"+JSON.stringify(i):H(i)?n+=JSON.stringify(r)+":"+he(i):ie(i)||re(i)?n+=`${JSON.stringify(r)}:${JSON.stringify(i.toString())}`:te(i)||Array.isArray(i)?n+=JSON.stringify(r)+":"+he(i,null,t):ne(i)?n+=t?JSON.stringify(r)+":"+JSON.stringify(i.getTime()):JSON.stringify(r)+":"+i.stringify():null!==i&&"object"==typeof i&&"castToText"in i&&(n+=JSON.stringify(r)+":"+i.castToText(t))}return"{"+n+"}"}function pe(e,t){if(x(e))return e;if(null===e)return"";if(C(e))return se(e,t);if(O(e))return e.toString();if(ne(e))return le(e,t);if(ie(e))return e.toFormat(t);if(re(e))return e.toFormat(t);if(e instanceof b)return JSON.stringify(e.toJSON());if(F(e)){const t=[];for(let n=0;n<e.length;n++)t[n]=be(e[n]);return"["+t.join(",")+"]"}if(e instanceof s){const t=[];for(let n=0;n<e.length();n++)t[n]=be(e.get(n));return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText():G(e)?"object, Function":e===I?"":V(e)?"object, Module":""}function ge(e){const t=[];if(e instanceof s){for(let n=0;n<e.length();n++)t[n]=Ne(e.get(n));return t}if(!F(e))return null;for(let n=0;n<e.length;n++)t[n]=Ne(e[n]);return t}function he(e,t,n=!1){if(x(e))return e;if(null===e)return"";if(C(e))return se(e,t);if(O(e))return e.toString();if(ne(e))return le(e,t);if(ie(e))return e.toFormat(t);if(re(e))return e.toFormat(t);if(e instanceof b)return e instanceof h?'{"xmin":'+e.xmin.toString()+',"ymin":'+e.ymin.toString()+","+(e.hasZ?'"zmin":'+e.zmin.toString()+",":"")+(e.hasM?'"mmin":'+e.mmin.toString()+",":"")+'"xmax":'+e.xmax.toString()+',"ymax":'+e.ymax.toString()+","+(e.hasZ?'"zmax":'+e.zmax.toString()+",":"")+(e.hasM?'"mmax":'+e.mmax.toString()+",":"")+'"spatialReference":'+Fe(e.spatialReference)+"}":Fe(e.toJSON(),((e,t)=>e.key===t.key?0:"spatialReference"===e.key?1:"spatialReference"===t.key||e.key<t.key?-1:e.key>t.key?1:0));if(F(e)){const t=[];for(let r=0;r<e.length;r++)t[r]=be(e[r],n);return"["+t.join(",")+"]"}if(e instanceof s){const t=[];for(let r=0;r<e.length();r++)t[r]=be(e.get(r),n);return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText(n):G(e)?"object, Function":e===I?"":V(e)?"object, Module":""}function be(e,t=!1){if(null===e)return"null";if(O(e)||C(e)||x(e))return JSON.stringify(e);if(e instanceof b)return he(e,null,t);if(e instanceof s)return he(e,null,t);if(Array.isArray(e))return he(e,null,t);if(ne(e))return t?JSON.stringify(e.getTime()):JSON.stringify(le(e,""));if(ie(e))return JSON.stringify(e.toString());if(re(e))return JSON.stringify(e.toString());if(null!==e&&"object"==typeof e){if("castToText"in e)return e.castToText(t)}else if(e===I)return"null";return"null"}function Ne(e,t){return C(e)?e:null===e||""===e?0:ne(e)||re(e)||ie(e)?NaN:O(e)?e?1:0:F(e)||""===e||void 0===e?NaN:void 0!==t&&x(e)?(t=L(t,"‰",""),t=L(t,"¤",""),y(e,{pattern:t})):e===I?0:Number(e)}function Se(e,t){if(ne(e))return e;if(x(e)){const r=Ze(e,t);if(r)return n.dateTimeToArcadeDate(r)}return null}function Ze(e,t){const n=/ (\d\d)/,i=r(t);let o=R.fromISO(e,{zone:i});return o.isValid||n.test(e)&&(e=e.replace(n,"T$1"),o=R.fromISO(e,{zone:t}),o.isValid)?o:null}function Te(e){return O(e)?e:x(e)?"true"===(e=e.toLowerCase()):!!C(e)&&(0!==e&&!isNaN(e))}function Ae(e,t){const n=JSON.parse(e);return n&&!n.spatialReference&&(n.spatialReference=t),j(n)}function ke(e,t){return null==e?null:(null!==e.spatialReference&&void 0!==e.spatialReference||(e.spatialReference=t),e)}function je(e){if(null===e)return null;if(e instanceof S)return"NaN"===e.x||null===e.x||isNaN(e.x)?null:e;if(e instanceof Z){if(0===(e.curveRings??e.rings).length)return null;for(const t of e.curveRings??e.rings)if(t.length>0)return e;return null}if(e instanceof T){if(0===(e.curvePaths??e.paths).length)return null;for(const t of e.curvePaths??e.paths)if(t.length>0)return e;return null}return e instanceof N?0===e.points.length?null:e:e instanceof h?"NaN"===e.xmin||null===e.xmin||isNaN(e.xmin)?null:e:null}function De(e,t){if(!e)return t;if(!e.domain)return t;let n=null,r=null;if(ne(t))n=t.toNumber();else if(re(t))n=t.toString();else if(ie(t))n=t.toStorageString();else if("string"===e.field.type||"esriFieldTypeString"===e.field.type)n=pe(t);else{if(null==t)return null;if(""===t)return t;n=Ne(t)}for(let i=0;i<e.domain.codedValues.length;i++){const t=e.domain.codedValues[i];t.code===n&&(r=t)}return null===r?pe(t):r.name}function Oe(e,t){if(!e)return t;if(!e.domain)return t;let n=null;const r=pe(t);for(let i=0;i<e.domain.codedValues.length;i++){const t=e.domain.codedValues[i];t.name===r&&(n=t)}return null===n?t:n.code}function Ce(e,t,n=null,r=null){if(!t)return null;if(!t.fields)return null;let i,u,s=null;for(let o=0;o<t.fields.length;o++){const n=t.fields[o];n.name.toLowerCase()===e.toString().toLowerCase()&&(s=n)}if(null===s)throw new o(null,a.FieldNotFound,null,{key:e});let l=t.typeIdField,f="id",c=t.types;if(t.subtypeField&&(l=t.subtypeField,f="code",c=t.subtypes??[]),null===r&&n&&l)r=n.hasField(l)?n.field(l):null;else if(l&&null!==r){let e=!1;for(const t of c||[])if(r===t[f]){e=!0;break}if(!e)for(const t of c||[])if(r===t.name){r=t[f],e=!0;break}e||(r=null,n&&l&&(r=n.hasField(l)?n.field(l):null))}return null!=r&&c.some((e=>e[f]===r&&(i=e.domains?.[s.name],i&&"inherited"===i.type&&(i=xe(s.name,t),u=!0),!0))),u||i||(i=xe(e,t)),{field:s,domain:i}}function xe(e,t){let n;return t.fields.some((t=>(t.name.toLowerCase()===e.toLowerCase()&&(n=t.domain),!!n))),n}function Fe(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const n="boolean"==typeof t.cycles&&t.cycles,r=t.cmp&&(i=t.cmp,function(e){return function(t,n){const r={key:t,value:e[t]},o={key:n,value:e[n]};return i(r,o)}});var i;const o=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,a;if(Array.isArray(t)){for(a="[",i=0;i<t.length;i++)i&&(a+=","),a+=e(t[i])||"null";return a+"]"}if(null===t)return"null";if(o.includes(t)){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const u=o.push(t)-1,s=Object.keys(t).sort(r?.(t));for(a="",i=0;i<s.length;i++){const n=s[i],r=e(t[n]);r&&(a&&(a+=","),a+=JSON.stringify(n)+":"+r)}return o.splice(u,1),"{"+a+"}"}(e)}function we(e){if(null===e)return null;const t=[];for(const n of e)$(n)?t.push(n.geometry()):t.push(n);return t}function Je(e,t){if(!(t instanceof S))throw new o(null,a.InvalidParameter,null);e.push(t.hasZ?t.hasM?[t.x,t.y,t.z,t.m]:[t.x,t.y,t.z]:[t.x,t.y])}function Me(e,t){if(F(e)||te(e)){let n=!1,r=!1,i=[],u=t;if(F(e)){for(const t of e)Je(i,t);i.length>0&&(u=e[0].spatialReference,n=e[0].hasZ,r=e[0].hasM)}else if(e instanceof f)i=e._elements,i.length>0&&(n=e._hasZ,r=e._hasM,u=e.get(0).spatialReference);else{if(!te(e))throw new o(null,a.InvalidParameter,null);for(const t of e.toArray())Je(i,t);i.length>0&&(u=e.get(0).spatialReference,n=!0===e.get(0).hasZ,r=!0===e.get(0).hasM)}if(0===i.length)return null;return k(i)||(i=i.slice().reverse()),new Z({rings:[i],spatialReference:u,hasZ:n,hasM:r})}return e}function Re(e,t){if(F(e)||te(e)){let n=!1,r=!1,i=[],o=t;if(F(e)){for(const t of e)Je(i,t);i.length>0&&(o=e[0].spatialReference,n=!0===e[0].hasZ,r=!0===e[0].hasM)}else if(e instanceof f)i=e._elements,i.length>0&&(n=e._hasZ,r=e._hasM,o=e.get(0).spatialReference);else if(te(e)){for(const t of e.toArray())Je(i,t);i.length>0&&(o=e.get(0).spatialReference,n=!0===e.get(0).hasZ,r=!0===e.get(0).hasM)}return 0===i.length?null:new T({paths:[i],spatialReference:o,hasZ:n,hasM:r})}return e}function ve(e,t){if(F(e)||te(e)){let n=!1,r=!1,i=[],o=t;if(F(e)){for(const t of e)Je(i,t);i.length>0&&(o=e[0].spatialReference,n=!0===e[0].hasZ,r=!0===e[0].hasM)}else if(e instanceof f)i=e._elements,i.length>0&&(n=e._hasZ,r=e._hasM,o=e.get(0).spatialReference);else if(te(e)){for(const t of e.toArray())Je(i,t);i.length>0&&(o=e.get(0).spatialReference,n=!0===e.get(0).hasZ,r=!0===e.get(0).hasM)}return 0===i.length?null:new N({points:i,spatialReference:o,hasZ:n,hasM:r})}return e}function _e(e,t=!0){if(null==e)return[];if(F(e)){const n=[];for(const r of e){const e=pe(r);(t||""!==e)&&n.push(e)}return n}if(te(e)){const n=[];for(let r=0;r<e.length();r++){const i=pe(e.get(r));(t||""!==i)&&n.push(i)}return n}if(z(e)){const n=pe(e);if(t||""!==n)return[n]}return[]}let Ie=0;function Pe(e){return Ie++,Ie%100==0?(Ie=0,new Promise((t=>{setTimeout((()=>{t(e)}),0)}))):e}function Ye(e,t,n){switch(n){case"&":return e&t;case"|":return e|t;case"^":return e^t;case"<<":return e<<t;case">>":return e>>t;case">>>":return e>>>t}}function Le(e,t=null){return null==e?null:O(e)||C(e)||x(e)?e:e instanceof b?!0===t?.keepGeometryType?e:e.toJSON():e instanceof s?e.toArray().map((e=>Le(e,t))):Array.isArray(e)?e.map((e=>Le(e,t))):w(e)?e:ne(e)?e.toJSDate():ie(e)?e.toString():re(e)?e.toJSDate():null!==e&&"object"==typeof e&&void 0!==e.castAsJson?e.castAsJson(t):null}async function Ge(e,t,n,r,i){const o=await Ve(e,t,n);i[r]=o}async function Ve(e,t=null,n=null){if(e instanceof s&&(e=e.toArray()),null==e)return null;if(z(e)||e instanceof b||w(e)||ne(e))return Le(e,n);if(Array.isArray(e)){const r=[],i=[];for(const o of e)null===o||z(o)||o instanceof b||w(o)||ne(o)?i.push(Le(o,n)):(i.push(null),r.push(Ge(o,t,n,i.length-1,i)));return r.length>0&&await Promise.all(r),i}return null!==e&&"object"==typeof e&&void 0!==e.castAsJsonAsync?e.castAsJsonAsync(t,n):null}function ze(e){return qe(e)?e.parent:e}function qe(e){return e&&"declaredClass"in e&&"esri.layers.support.SubtypeSublayer"===e.declaredClass}function Ee(e){return e&&"declaredClass"in e&&"esri.layers.SubtypeGroupLayer"===e.declaredClass}function Ue(e,t,n){const r=ze(e.fullSchema());if(null===r)return null;if(!r.fields)return null;return Ce(t,r,e,n)}function He(e){const t=ze(e.fullSchema());return null===t?null:t.fields?t.subtypeField?{subtypeField:t.subtypeField,subtypes:t.subtypes?t.subtypes.map((e=>({name:e.name,code:e.code}))):[]}:t.typeIdField?{subtypeField:t.typeIdField,subtypes:t.types?t.types.map((e=>({name:e.name,code:e.id}))):[]}:null:null}function $e(e,t,n,r){const i=ze(e.fullSchema());if(null===i)return null;if(!i.fields)return null;const o=Ce(t,i,e,r);if(void 0===n)try{n=e.field(t)}catch(a){return null}return De(o,n)}function Be(e,t,n,r){const i=ze(e.fullSchema());if(null===i)return null;if(!i.fields)return null;if(void 0===n){try{n=e.field(t)}catch(o){return null}return n}return Oe(Ce(t,i,e,r),n)}function Ke(e){return e?.timeZone??"system"}function We(e){const t=ze(e.fullSchema());if(null===t)return null;if(!t.fields)return null;const n=[];for(const r of t.fields)n.push(c(r));return{objectIdField:t.objectIdField,globalIdField:t.globalIdField??"",geometryType:void 0===m[t.geometryType]?"":m[t.geometryType],fields:n}}function Qe(r,i){const o=n.systemTimeZoneCanonicalName;return"system"===r&&(r=o),{version:Xe,engineVersion:t,timeZone:r,userTimeZone:o,spatialReference:i instanceof A?i.toJSON():i,application:e.applicationName??"",engine:"web",locale:D()}}const Xe="1.32",et=Object.freeze(Object.defineProperty({__proto__:null,ImplicitResult:_,ReturnResult:v,absRound:ue,arcadeVersion:Xe,autoCastArrayOfPointsToMultiPoint:ve,autoCastArrayOfPointsToPolygon:Me,autoCastArrayOfPointsToPolyline:Re,autoCastFeatureToGeometry:we,binaryOperator:Ye,breakResult:P,castAsJson:Le,castAsJsonAsync:Ve,castRecordToText:ye,continueResult:Y,defaultExecutingContext:Qe,defaultTimeZone:Ke,defaultUndefined:q,equalityTest:de,featureDomainCodeLookup:Be,featureDomainValueLookup:$e,featureFullDomain:Ue,featureSchema:We,featureSubtypes:He,fixNullGeometry:je,fixSpatialReference:ke,formatDate:le,formatNumber:se,getDomain:Ce,getDomainCode:Oe,getDomainValue:De,getType:E,greaterThanLessThan:me,isArray:F,isBoolean:O,isDate:ne,isDateOnly:re,isDictionary:W,isDictionaryLike:Q,isFeature:$,isFeatureSet:K,isFeatureSetCollection:X,isFunctionParameter:G,isGeometry:H,isGraphic:J,isImmutableArray:te,isInteger:M,isJsDate:w,isKnowledgeGraph:ee,isModule:V,isNumber:C,isObject:oe,isSimpleType:z,isString:x,isSubtypeGrouplayer:Ee,isSubtypeSublayer:qe,isTime:ie,isVoid:U,isVoxel:B,multiReplace:L,parseGeometryFromJson:Ae,pcCheck:ae,stableStringify:Fe,standardiseDateFormat:fe,tick:Pe,toBoolean:Te,toDate:Se,toNumber:Ne,toNumberArray:ge,toString:pe,toStringArray:_e,toStringExplicit:he,voidOperation:I},Symbol.toStringTag,{value:"Module"}));export{qe as $,de as A,Ye as B,U as C,ae as D,we as E,ke as F,Me as G,Re as H,_ as I,ve as J,q as K,Ke as L,_e as M,E as N,fe as O,ue as P,Ue as Q,v as R,Be as S,$e as T,We as U,He as V,je as W,B as X,L as Y,Qe as Z,ge as _,Le as a,Pe as a0,Ce as a1,De as a2,Oe as a3,V as a4,oe as a5,se as a6,le as a7,Ae as a8,Fe as a9,Ee as aa,Xe as ab,Ve as b,ye as c,z as d,Te as e,pe as f,ne as g,Se as h,G as i,re as j,ie as k,H as l,te as m,$ as n,X as o,K as p,W as q,ee as r,he as s,Ne as t,et as u,I as v,P as w,Y as x,Q as y,me as z};
5
+ import e from"../config.js";import{version as t}from"../kernel.js";import{ArcadeDate as n,createDateTimeZone as r}from"../arcade/ArcadeDate.js";import{ArcadeModule as i}from"../arcade/ArcadeModule.js";import{ArcadeExecutionError as o,ExecutionErrorCodes as a}from"../arcade/executionError.js";import{ArcadeFunction as u}from"../arcade/FunctionWrapper.js";import s from"../arcade/ImmutableArray.js";import l from"../arcade/ImmutablePathArray.js";import f from"../arcade/ImmutablePointArray.js";import{esriFieldToJson as c,layerGeometryEsriRestConstants as m}from"../arcade/featureset/support/shared.js";import{format as d,parse as y}from"../core/number.js";import{DateOnly as p}from"../core/sql/DateOnly.js";import{TimeOnly as g}from"../core/sql/TimeOnly.js";import h from"../geometry/Extent.js";import b from"../geometry/Geometry.js";import N from"../geometry/Multipoint.js";import S from"../geometry/Point.js";import Z from"../geometry/Polygon.js";import T from"../geometry/Polyline.js";import A from"../geometry/SpatialReference.js";import{isClockwise as k}from"../geometry/support/coordsUtils.js";import{fromJSON as j}from"../geometry/support/jsonUtils.js";import{getLocale as D}from"../intl/locale.js";import{isBoolean as O,isNumber as C,isString as x,isArray as F,isDate as w,isGraphic as J,isInteger as M}from"../support/guards.js";import{DateTime as R}from"luxon";class v{constructor(e){this.value=e}}class _{constructor(e){this.value=e}}const I={type:"VOID"},P=Symbol("BREAK"),Y=Symbol("CONTINUE");function L(e,t,n){return""===t||null==t||t===n||t===n?e:e=e.split(t).join(n)}function G(e){return e instanceof u}function V(e){return e instanceof i}function z(e){return!!x(e)||(!!C(e)||(!!ne(e)||(!!re(e)||(!!ie(e)||(!!O(e)||(null===e||(e===I||"number"==typeof e)))))))}function q(e,t){return void 0===e?t:e}function E(e){return null==e?"":F(e)||te(e)?"Array":ne(e)?"Date":ie(e)?"Time":re(e)?"DateOnly":x(e)?"String":O(e)?"Boolean":C(e)?"Number":"esri.arcade.Attachment"===e?.declaredClass?"Attachment":"esri.arcade.Portal"===e?.declaredClass?"Portal":"esri.arcade.Dictionary"===e?.declaredClass?"Dictionary":ee(e)?"KnowledgeGraph":e instanceof i?"Module":$(e)?"Feature":e instanceof S?"Point":e instanceof Z?"Polygon":e instanceof T?"Polyline":e instanceof N?"Multipoint":e instanceof h?"Extent":G(e)?"Function":K(e)?"FeatureSet":X(e)?"FeatureSetCollection":B(e)?"Voxel":e===I?"":"number"==typeof e&&isNaN(e)?"Number":"Unrecognized Type"}function U(e){return e===I}function H(e){return e instanceof b}function $(e){return"esri.arcade.Feature"===e?.arcadeDeclaredClass}function B(e){return"esri.arcade.Voxel"===e?.arcadeDeclaredClass}function K(e){return"esri.arcade.featureset.support.FeatureSet"===e?.declaredRootClass}function W(e){return"esri.arcade.Dictionary"===e?.declaredClass}function Q(e){return W(e)||$(e)||B(e)}function X(e){return"esri.arcade.featureSetCollection"===e?.declaredRootClass}function ee(e){return"esri.rest.knowledgeGraph.KnowledgeGraph"===e?.declaredClass}function te(e){return e instanceof s}function ne(e){return e instanceof n}function re(e){return e instanceof p}function ie(e){return e instanceof g}function oe(e){return null!=e&&"object"==typeof e}function ae(e,t,n,r,i){if(e.length<t||e.length>n)throw new o(r,a.WrongNumberOfParameters,i)}function ue(e){return e<0?-Math.round(-e):Math.round(e)}function se(e,t){return isNaN(e)||null==t||""===t?e.toString():(t=L(t,"‰",""),t=L(t,"¤",""),d(e,{pattern:t}))}function le(e,t){return null==t||""===t?e.toISOString(!0):e.toFormat(fe(t),{locale:D(),numberingSystem:"latn"})}function fe(e,t=!1){e=e.replaceAll(/LTS|LT|L{1,4}|l{1,4}/g,"[$&]");let n="";const r=/(\[[^[]*\])|(\\)?([Hh]mm(ss)?|Mo|M{1,4}|Do|DDDo|D{1,4}|d{2,4}|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|Z{1,5}|.)/g;for(const i of e.match(r)||[])switch(i){case"D":n+="d";break;case"DD":n+="dd";break;case"DDD":n+="o";break;case"d":n+="c";break;case"ddd":n+="ccc";break;case"dddd":n+="cccc";break;case"M":n+="L";break;case"MM":n+="LL";break;case"MMM":n+="LLL";break;case"MMMM":n+="LLLL";break;case"YY":n+="yy";break;case"Y":case"YYYY":n+="yyyy";break;case"Q":n+="q";break;case"Z":n+="Z";break;case"ZZ":n+="ZZ";break;case"ZZZ":n+="ZZZ";break;case"ZZZZ":n+=t?"[ZZZZ]":"ZZZZ";break;case"ZZZZZ":n+=t?"[ZZZZZ]":"ZZZZZ";break;case"S":n+="'S'";break;case"SS":n+="'SS'";break;case"SSS":n+="u";break;case"A":case"a":n+="a";break;case"m":case"mm":case"h":case"hh":case"H":case"HH":case"s":case"ss":case"X":case"x":n+=i;break;default:i.length>=2&&"["===i.slice(0,1)&&"]"===i.slice(-1)?n+=`'${i.slice(1,-1)}'`:n+=`'${i}'`}return n}function ce(e,t,n){switch(n){case">":return e>t;case"<":return e<t;case">=":return e>=t;case"<=":return e<=t}return!1}function me(e,t,r){if(null===e){if(null===t||t===I)return ce(null,null,r);if(C(t))return ce(0,t,r);if(x(t))return ce(0,Ne(t),r);if(O(t))return ce(0,Ne(t),r);if(ne(t))return ce(0,t.toNumber(),r);if(ie(t))return ce(e,t.toNumber(),r);if(re(t))return ce(e,t.toNumber(),r)}if(e===I){if(null===t||t===I)return ce(null,null,r);if(C(t))return ce(0,t,r);if(x(t))return ce(0,Ne(t),r);if(O(t))return ce(0,Ne(t),r);if(ne(t))return ce(0,t.toNumber(),r);if(ie(t))return ce(e,t.toNumber(),r);if(re(t))return ce(e,t.toNumber(),r)}else if(C(e)){if(C(t))return ce(e,t,r);if(O(t))return ce(e,Ne(t),r);if(null===t||t===I)return ce(e,0,r);if(x(t))return ce(e,Ne(t),r);if(ne(t))return ce(e,t.toNumber(),r);if(ie(t))return ce(e,t.toNumber(),r);if(re(t))return ce(e,t.toNumber(),r)}else if(x(e)){if(x(t))return ce(pe(e),pe(t),r);if(ne(t))return ce(Ne(e),t.toNumber(),r);if(ie(t))return ce(Ne(e),t.toNumber(),r);if(re(t))return ce(Ne(e),t.toNumber(),r);if(C(t))return ce(Ne(e),t,r);if(null===t||t===I)return ce(Ne(e),0,r);if(O(t))return ce(Ne(e),Ne(t),r)}else if(ne(e)){if(ne(t))return e.timeZone!==t.timeZone&&(e.isUnknownTimeZone?e=n.arcadeDateAndZoneToArcadeDate(e,t.timeZone):t.isUnknownTimeZone&&(t=n.arcadeDateAndZoneToArcadeDate(t,e.timeZone))),ce(e.toNumber(),t.toNumber(),r);if(null===t||t===I)return ce(e.toNumber(),0,r);if(C(t))return ce(e.toNumber(),t,r);if(O(t))return ce(e.toNumber(),Ne(t),r);if(x(t))return ce(e.toNumber(),Ne(t),r);if(ie(t))throw new o(null,a.CannotCompareDateAndTime,null);if(re(t))return ce(e.toNumber(),t.toNumber(),r)}else if(O(e)){if(O(t))return ce(e,t,r);if(C(t))return ce(Ne(e),Ne(t),r);if(ne(t))return ce(Ne(e),t.toNumber(),r);if(ie(t))return ce(Ne(e),t.toNumber(),r);if(re(t))return ce(Ne(e),t.toNumber(),r);if(null===t||t===I)return ce(Ne(e),0,r);if(x(t))return ce(Ne(e),Ne(t),r)}else if(re(e)){if(ne(t))return ce(e.toNumber(),t.toNumber(),r);if(null===t||t===I)return ce(e.toNumber(),0,r);if(C(t))return ce(e.toNumber(),t,r);if(O(t))return ce(e.toNumber(),Ne(t),r);if(x(t))return ce(e.toNumber(),Ne(t),r);if(ie(t))throw new o(null,a.CannotCompareDateAndTime,null);if(re(t))return ce(e.toNumber(),t.toNumber(),r)}else if(ie(e)){if(ne(t))throw new o(null,a.CannotCompareDateAndTime,null);if(null===t||t===I)return ce(e.toNumber(),0,r);if(C(t))return ce(e.toNumber(),t,r);if(O(t))return ce(e.toNumber(),Ne(t),r);if(x(t))return ce(e.toNumber(),Ne(t),r);if(ie(t))return ce(e.toNumber(),t.toNumber(),r);if(re(t))throw new o(null,a.CannotCompareDateAndTime,null)}return!!de(e,t)&&("<="===r||">="===r)}function de(e,t){if(e===t)return!0;if(null===e&&t===I||null===t&&e===I)return!0;if(ne(e)&&ne(t))return e.equals(t);if(ie(e)&&ie(t))return e.equals(t);if(re(e)&&re(t))return e.equals(t);if(e instanceof l)return e.equalityTest(t);if(e instanceof f)return e.equalityTest(t);if(e instanceof S&&t instanceof S){const n=e.cache._arcadeCacheId,r=t.cache._arcadeCacheId;if(null!=n)return n===r}if(oe(e)&&oe(t)){if(e._arcadeCacheId===t._arcadeCacheId&&void 0!==e._arcadeCacheId&&null!==e._arcadeCacheId)return!0;if(e._underlyingGraphic===t._underlyingGraphic&&void 0!==e._underlyingGraphic&&null!==e._underlyingGraphic)return!0}return!1}function ye(e,{useNumbersForDates:t}){let n="";for(const r in e){""!==n&&(n+=",");const i=e[r];null==i?n+=JSON.stringify(r)+":null":O(i)||C(i)||x(i)?n+=JSON.stringify(r)+":"+JSON.stringify(i):H(i)?n+=JSON.stringify(r)+":"+he(i):ie(i)||re(i)?n+=`${JSON.stringify(r)}:${JSON.stringify(i.toString())}`:te(i)||Array.isArray(i)?n+=JSON.stringify(r)+":"+he(i,null,t):ne(i)?n+=t?JSON.stringify(r)+":"+JSON.stringify(i.getTime()):JSON.stringify(r)+":"+i.stringify():null!==i&&"object"==typeof i&&"castToText"in i&&(n+=JSON.stringify(r)+":"+i.castToText(t))}return"{"+n+"}"}function pe(e,t){if(x(e))return e;if(null===e)return"";if(C(e))return se(e,t);if(O(e))return e.toString();if(ne(e))return le(e,t);if(ie(e))return e.toFormat(t);if(re(e))return e.toFormat(t);if(e instanceof b)return JSON.stringify(e.toJSON());if(F(e)){const t=[];for(let n=0;n<e.length;n++)t[n]=be(e[n]);return"["+t.join(",")+"]"}if(e instanceof s){const t=[];for(let n=0;n<e.length();n++)t[n]=be(e.get(n));return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText():G(e)?"object, Function":e===I?"":V(e)?"object, Module":""}function ge(e){const t=[];if(e instanceof s){for(let n=0;n<e.length();n++)t[n]=Ne(e.get(n));return t}if(!F(e))return null;for(let n=0;n<e.length;n++)t[n]=Ne(e[n]);return t}function he(e,t,n=!1){if(x(e))return e;if(null===e)return"";if(C(e))return se(e,t);if(O(e))return e.toString();if(ne(e))return le(e,t);if(ie(e))return e.toFormat(t);if(re(e))return e.toFormat(t);if(e instanceof b)return e instanceof h?'{"xmin":'+e.xmin.toString()+',"ymin":'+e.ymin.toString()+","+(e.hasZ?'"zmin":'+e.zmin.toString()+",":"")+(e.hasM?'"mmin":'+e.mmin.toString()+",":"")+'"xmax":'+e.xmax.toString()+',"ymax":'+e.ymax.toString()+","+(e.hasZ?'"zmax":'+e.zmax.toString()+",":"")+(e.hasM?'"mmax":'+e.mmax.toString()+",":"")+'"spatialReference":'+Fe(e.spatialReference)+"}":Fe(e.toJSON(),((e,t)=>e.key===t.key?0:"spatialReference"===e.key?1:"spatialReference"===t.key||e.key<t.key?-1:e.key>t.key?1:0));if(F(e)){const t=[];for(let r=0;r<e.length;r++)t[r]=be(e[r],n);return"["+t.join(",")+"]"}if(e instanceof s){const t=[];for(let r=0;r<e.length();r++)t[r]=be(e.get(r),n);return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText(n):G(e)?"object, Function":e===I?"":V(e)?"object, Module":""}function be(e,t=!1){if(null===e)return"null";if(O(e)||C(e)||x(e))return JSON.stringify(e);if(e instanceof b)return he(e,null,t);if(e instanceof s)return he(e,null,t);if(Array.isArray(e))return he(e,null,t);if(ne(e))return t?JSON.stringify(e.getTime()):JSON.stringify(le(e,""));if(ie(e))return JSON.stringify(e.toString());if(re(e))return JSON.stringify(e.toString());if(null!==e&&"object"==typeof e){if("castToText"in e)return e.castToText(t)}else if(e===I)return"null";return"null"}function Ne(e,t){return C(e)?e:null===e||""===e?0:ne(e)||re(e)||ie(e)?NaN:O(e)?e?1:0:F(e)||""===e||void 0===e?NaN:void 0!==t&&x(e)?(t=L(t,"‰",""),t=L(t,"¤",""),y(e,{pattern:t})):e===I?0:Number(e)}function Se(e,t){if(ne(e))return e;if(x(e)){const r=Ze(e,t);if(r)return n.dateTimeToArcadeDate(r)}return null}function Ze(e,t){const n=/ (\d\d)/,i=r(t);let o=R.fromISO(e,{zone:i});return o.isValid||n.test(e)&&(e=e.replace(n,"T$1"),o=R.fromISO(e,{zone:t}),o.isValid)?o:null}function Te(e){return O(e)?e:x(e)?"true"===(e=e.toLowerCase()):!!C(e)&&(0!==e&&!isNaN(e))}function Ae(e,t){const n=JSON.parse(e);return n&&!n.spatialReference&&(n.spatialReference=t),j(n)}function ke(e,t){return null==e?null:(null!==e.spatialReference&&void 0!==e.spatialReference||(e.spatialReference=t),e)}function je(e){if(null===e)return null;if(e instanceof S)return"NaN"===e.x||null===e.x||isNaN(e.x)?null:e;if(e instanceof Z){if(0===(e.curveRings??e.rings).length)return null;for(const t of e.curveRings??e.rings)if(t.length>0)return e;return null}if(e instanceof T){if(0===(e.curvePaths??e.paths).length)return null;for(const t of e.curvePaths??e.paths)if(t.length>0)return e;return null}return e instanceof N?0===e.points.length?null:e:e instanceof h?"NaN"===e.xmin||null===e.xmin||isNaN(e.xmin)?null:e:null}function De(e,t){if(!e)return t;if(!e.domain)return t;let n=null,r=null;if(ne(t))n=t.toNumber();else if(re(t))n=t.toString();else if(ie(t))n=t.toStorageString();else if("string"===e.field.type||"esriFieldTypeString"===e.field.type)n=pe(t);else{if(null==t)return null;if(""===t)return t;n=Ne(t)}for(let i=0;i<e.domain.codedValues.length;i++){const t=e.domain.codedValues[i];t.code===n&&(r=t)}return null===r?pe(t):r.name}function Oe(e,t){if(!e)return t;if(!e.domain)return t;let n=null;const r=pe(t);for(let i=0;i<e.domain.codedValues.length;i++){const t=e.domain.codedValues[i];t.name===r&&(n=t)}return null===n?t:n.code}function Ce(e,t,n=null,r=null){if(!t)return null;if(!t.fields)return null;let i,u,s=null;for(let o=0;o<t.fields.length;o++){const n=t.fields[o];n.name.toLowerCase()===e.toString().toLowerCase()&&(s=n)}if(null===s)throw new o(null,a.FieldNotFound,null,{key:e});let l=t.typeIdField,f="id",c=t.types;if(t.subtypeField&&(l=t.subtypeField,f="code",c=t.subtypes??[]),null===r&&n&&l)r=n.hasField(l)?n.field(l):null;else if(l&&null!==r){let e=!1;for(const t of c||[])if(r===t[f]){e=!0;break}if(!e)for(const t of c||[])if(r===t.name){r=t[f],e=!0;break}e||(r=null,n&&l&&(r=n.hasField(l)?n.field(l):null))}return null!=r&&c.some((e=>e[f]===r&&(i=e.domains?.[s.name],i&&"inherited"===i.type&&(i=xe(s.name,t),u=!0),!0))),u||i||(i=xe(e,t)),{field:s,domain:i}}function xe(e,t){let n;return t.fields.some((t=>(t.name.toLowerCase()===e.toLowerCase()&&(n=t.domain),!!n))),n}function Fe(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const n="boolean"==typeof t.cycles&&t.cycles,r=t.cmp&&(i=t.cmp,function(e){return function(t,n){const r={key:t,value:e[t]},o={key:n,value:e[n]};return i(r,o)}});var i;const o=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,a;if(Array.isArray(t)){for(a="[",i=0;i<t.length;i++)i&&(a+=","),a+=e(t[i])||"null";return a+"]"}if(null===t)return"null";if(o.includes(t)){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const u=o.push(t)-1,s=Object.keys(t).sort(r?.(t));for(a="",i=0;i<s.length;i++){const n=s[i],r=e(t[n]);r&&(a&&(a+=","),a+=JSON.stringify(n)+":"+r)}return o.splice(u,1),"{"+a+"}"}(e)}function we(e){if(null===e)return null;const t=[];for(const n of e)$(n)?t.push(n.geometry()):t.push(n);return t}function Je(e,t){if(!(t instanceof S))throw new o(null,a.InvalidParameter,null);e.push(t.hasZ?t.hasM?[t.x,t.y,t.z,t.m]:[t.x,t.y,t.z]:[t.x,t.y])}function Me(e,t){if(F(e)||te(e)){let n=!1,r=!1,i=[],u=t;if(F(e)){for(const t of e)Je(i,t);i.length>0&&(u=e[0].spatialReference,n=e[0].hasZ,r=e[0].hasM)}else if(e instanceof f)i=e._elements,i.length>0&&(n=e._hasZ,r=e._hasM,u=e.get(0).spatialReference);else{if(!te(e))throw new o(null,a.InvalidParameter,null);for(const t of e.toArray())Je(i,t);i.length>0&&(u=e.get(0).spatialReference,n=!0===e.get(0).hasZ,r=!0===e.get(0).hasM)}if(0===i.length)return null;return k(i)||(i=i.slice().reverse()),new Z({rings:[i],spatialReference:u,hasZ:n,hasM:r})}return e}function Re(e,t){if(F(e)||te(e)){let n=!1,r=!1,i=[],o=t;if(F(e)){for(const t of e)Je(i,t);i.length>0&&(o=e[0].spatialReference,n=!0===e[0].hasZ,r=!0===e[0].hasM)}else if(e instanceof f)i=e._elements,i.length>0&&(n=e._hasZ,r=e._hasM,o=e.get(0).spatialReference);else if(te(e)){for(const t of e.toArray())Je(i,t);i.length>0&&(o=e.get(0).spatialReference,n=!0===e.get(0).hasZ,r=!0===e.get(0).hasM)}return 0===i.length?null:new T({paths:[i],spatialReference:o,hasZ:n,hasM:r})}return e}function ve(e,t){if(F(e)||te(e)){let n=!1,r=!1,i=[],o=t;if(F(e)){for(const t of e)Je(i,t);i.length>0&&(o=e[0].spatialReference,n=!0===e[0].hasZ,r=!0===e[0].hasM)}else if(e instanceof f)i=e._elements,i.length>0&&(n=e._hasZ,r=e._hasM,o=e.get(0).spatialReference);else if(te(e)){for(const t of e.toArray())Je(i,t);i.length>0&&(o=e.get(0).spatialReference,n=!0===e.get(0).hasZ,r=!0===e.get(0).hasM)}return 0===i.length?null:new N({points:i,spatialReference:o,hasZ:n,hasM:r})}return e}function _e(e,t=!0){if(null==e)return[];if(F(e)){const n=[];for(const r of e){const e=pe(r);(t||""!==e)&&n.push(e)}return n}if(te(e)){const n=[];for(let r=0;r<e.length();r++){const i=pe(e.get(r));(t||""!==i)&&n.push(i)}return n}if(z(e)){const n=pe(e);if(t||""!==n)return[n]}return[]}let Ie=0;function Pe(e){return Ie++,Ie%100==0?(Ie=0,new Promise((t=>{setTimeout((()=>{t(e)}),0)}))):e}function Ye(e,t,n){switch(n){case"&":return e&t;case"|":return e|t;case"^":return e^t;case"<<":return e<<t;case">>":return e>>t;case">>>":return e>>>t}}function Le(e,t=null){return null==e?null:O(e)||C(e)||x(e)?e:e instanceof b?!0===t?.keepGeometryType?e:e.toJSON():e instanceof s?e.toArray().map((e=>Le(e,t))):Array.isArray(e)?e.map((e=>Le(e,t))):w(e)?e:ne(e)?e.toJSDate():ie(e)?e.toString():re(e)?e.toJSDate():null!==e&&"object"==typeof e&&void 0!==e.castAsJson?e.castAsJson(t):null}async function Ge(e,t,n,r,i){const o=await Ve(e,t,n);i[r]=o}async function Ve(e,t=null,n=null){if(e instanceof s&&(e=e.toArray()),null==e)return null;if(z(e)||e instanceof b||w(e)||ne(e))return Le(e,n);if(Array.isArray(e)){const r=[],i=[];for(const o of e)null===o||z(o)||o instanceof b||w(o)||ne(o)?i.push(Le(o,n)):(i.push(null),r.push(Ge(o,t,n,i.length-1,i)));return r.length>0&&await Promise.all(r),i}return null!==e&&"object"==typeof e&&void 0!==e.castAsJsonAsync?e.castAsJsonAsync(t,n):null}function ze(e){return qe(e)?e.parent:e}function qe(e){return e&&"declaredClass"in e&&"esri.layers.support.SubtypeSublayer"===e.declaredClass}function Ee(e){return e&&"declaredClass"in e&&"esri.layers.SubtypeGroupLayer"===e.declaredClass}function Ue(e,t,n){const r=ze(e.fullSchema());if(null===r)return null;if(!r.fields)return null;return Ce(t,r,e,n)}function He(e){const t=ze(e.fullSchema());return null===t?null:t.fields?t.subtypeField?{subtypeField:t.subtypeField,subtypes:t.subtypes?t.subtypes.map((e=>({name:e.name,code:e.code}))):[]}:t.typeIdField?{subtypeField:t.typeIdField,subtypes:t.types?t.types.map((e=>({name:e.name,code:e.id}))):[]}:null:null}function $e(e,t,n,r){const i=ze(e.fullSchema());if(null===i)return null;if(!i.fields)return null;const o=Ce(t,i,e,r);if(void 0===n)try{n=e.field(t)}catch(a){return null}return De(o,n)}function Be(e,t,n,r){const i=ze(e.fullSchema());if(null===i)return null;if(!i.fields)return null;if(void 0===n){try{n=e.field(t)}catch(o){return null}return n}return Oe(Ce(t,i,e,r),n)}function Ke(e){return e?.timeZone??"system"}function We(e){const t=ze(e.fullSchema());if(null===t)return null;if(!t.fields)return null;const n=[];for(const r of t.fields)n.push(c(r));return{objectIdField:t.objectIdField,globalIdField:t.globalIdField??"",geometryType:void 0===m[t.geometryType]?"":m[t.geometryType],fields:n}}function Qe(r,i){const o=n.systemTimeZoneCanonicalName;return"system"===r&&(r=o),{version:Xe,engineVersion:t,timeZone:r,userTimeZone:o,spatialReference:i instanceof A?i.toJSON():i,application:e.applicationName??"",engine:"web",locale:D()}}const Xe="1.32",et=Object.freeze(Object.defineProperty({__proto__:null,ImplicitResult:_,ReturnResult:v,absRound:ue,arcadeVersion:Xe,autoCastArrayOfPointsToMultiPoint:ve,autoCastArrayOfPointsToPolygon:Me,autoCastArrayOfPointsToPolyline:Re,autoCastFeatureToGeometry:we,binaryOperator:Ye,breakResult:P,castAsJson:Le,castAsJsonAsync:Ve,castRecordToText:ye,continueResult:Y,defaultExecutingContext:Qe,defaultTimeZone:Ke,defaultUndefined:q,equalityTest:de,featureDomainCodeLookup:Be,featureDomainValueLookup:$e,featureFullDomain:Ue,featureSchema:We,featureSubtypes:He,fixNullGeometry:je,fixSpatialReference:ke,formatDate:le,formatNumber:se,getDomain:Ce,getDomainCode:Oe,getDomainValue:De,getType:E,greaterThanLessThan:me,isArray:F,isBoolean:O,isDate:ne,isDateOnly:re,isDictionary:W,isDictionaryLike:Q,isFeature:$,isFeatureSet:K,isFeatureSetCollection:X,isFunctionParameter:G,isGeometry:H,isGraphic:J,isImmutableArray:te,isInteger:M,isJsDate:w,isKnowledgeGraph:ee,isModule:V,isNumber:C,isObject:oe,isSimpleType:z,isString:x,isSubtypeGrouplayer:Ee,isSubtypeSublayer:qe,isTime:ie,isVoid:U,isVoxel:B,multiReplace:L,parseGeometryFromJson:Ae,pcCheck:ae,stableStringify:Fe,standardiseDateFormat:fe,tick:Pe,toBoolean:Te,toDate:Se,toNumber:Ne,toNumberArray:ge,toString:pe,toStringArray:_e,toStringExplicit:he,voidOperation:I},Symbol.toStringTag,{value:"Module"}));export{qe as $,U as A,ae as B,we as C,ke as D,Me as E,Re as F,ve as G,Te as H,_ as I,q as J,Ke as K,_e as L,E as M,Se as N,fe as O,ue as P,Ue as Q,v as R,Be as S,$e as T,We as U,He as V,je as W,B as X,L as Y,Qe as Z,ge as _,Le as a,Pe as a0,Ce as a1,De as a2,Oe as a3,V as a4,oe as a5,se as a6,le as a7,Ae as a8,Fe as a9,Ee as aa,Xe as ab,Ve as b,ye as c,z as d,ne as e,re as f,ie as g,H as h,G as i,te as j,$ as k,X as l,K as m,W as n,ee as o,et as p,P as q,Y as r,Q as s,he as t,Ne as u,I as v,pe as w,me as x,de as y,Ye as z};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
4
4
  */
5
- import{_ as t}from"../../chunks/tslib.es6.js";import"../../core/has.js";import{wrapImageData as e}from"../../core/imageUtils.js";import a from"../../core/JSONSupport.js";import{property as r}from"../../core/accessorSupport/decorators/property.js";import{ensureClass as s}from"../../core/accessorSupport/ensureType.js";import"../../core/RandomLCG.js";import{reader as n}from"../../core/accessorSupport/decorators/reader.js";import{subclass as o}from"../../core/accessorSupport/decorators/subclass.js";import{writer as i}from"../../core/accessorSupport/decorators/writer.js";import{t as l,w as c}from"../../chunks/persistableUrlUtils.js";var p;const h=new WeakMap;let d=0,u=class extends a{static{p=this}constructor(t){super(t),this.wrap="repeat"}get url(){return this._get("url")||null}set url(t){this._set("url",t),t&&this._set("data",null)}get data(){return this._get("data")||null}set data(t){this._set("data",t),t&&this._set("url",null)}writeData(t,e,a,r){if(t instanceof HTMLImageElement){const s={type:"image-element",src:l(t.src,r),crossOrigin:t.crossOrigin};e[a]=s}else if(t instanceof HTMLCanvasElement){const r={type:"canvas-element",imageData:m(t.getContext("2d").getImageData(0,0,t.width,t.height))};e[a]=r}else if(t instanceof HTMLVideoElement){const s={type:"video-element",src:l(t.src,r),autoplay:t.autoplay,loop:t.loop,muted:t.muted,crossOrigin:t.crossOrigin,preload:t.preload};e[a]=s}else if(t instanceof ImageData){const r={type:"image-data",imageData:m(t)};e[a]=r}}readData(t){switch(t.type){case"image-element":{const e=new Image;return e.src=t.src,e.crossOrigin=t.crossOrigin,e}case"canvas-element":{const e=g(t.imageData),a=document.createElement("canvas");return a.width=e.width,a.height=e.height,a.getContext("2d").putImageData(e,0,0),a}case"image-data":return g(t.imageData);case"video-element":{const e=document.createElement("video");return e.src=t.src,e.crossOrigin=t.crossOrigin,e.autoplay=t.autoplay,e.loop=t.loop,e.muted=t.muted,e.preload=t.preload,e}default:return}}get transparent(){const{data:t,url:e}=this,a=t=>t?.toLowerCase().endsWith(".png")||t?.toLocaleLowerCase().startsWith("data:image/png;");return t instanceof HTMLCanvasElement?f(t.getContext("2d").getImageData(0,0,t.width,t.height)):t instanceof ImageData?f(t):!(!e||!a(e))||!!(t instanceof HTMLImageElement&&a(t.src))}set transparent(t){this._overrideIfSome("transparent",t)}get contentHash(){const t="string"==typeof this.wrap?this.wrap:"object"==typeof this.wrap?`${this.wrap.horizontal}/${this.wrap.vertical}`:"",e=(e="")=>`d:${e},t:${this.transparent},w:${t}`;return null!=this.url?e(this.url):null!=this.data?this.data instanceof HTMLImageElement||this.data instanceof HTMLVideoElement?e(this.data.src):(h.has(this.data)||h.set(this.data,++d),e(h.get(this.data))):e()}get memoryUsage(){let t=0;if(t+=null!=this.url?this.url.length:0,null!=this.data){const e=this.data;"data"in e?t+=e.data.byteLength:e instanceof HTMLImageElement?t+=e.naturalWidth*e.naturalHeight*3:e instanceof HTMLCanvasElement&&(t+=e.width*e.height*3)}return t}clone(){const t={url:this.url,data:this.data,wrap:this._cloneWrap()};return new p(t)}cloneWithDeduplication(t){const e=t.get(this);if(e)return e;const a=this.clone();return t.set(this,a),a}_cloneWrap(){return"string"==typeof this.wrap?this.wrap:{horizontal:this.wrap.horizontal,vertical:this.wrap.vertical}}static from(t){return"string"==typeof t?new p({url:t}):t instanceof HTMLImageElement||t instanceof HTMLCanvasElement||t instanceof ImageData||t instanceof HTMLVideoElement?new p({data:t}):s(p,t)}};function m(t){let e="";for(let a=0;a<t.data.length;a++)e+=String.fromCharCode(t.data[a]);return{data:btoa(e),width:t.width,height:t.height}}function g(t){const a=atob(t.data),r=new Uint8ClampedArray(a.length);for(let e=0;e<a.length;e++)r[e]=a.charCodeAt(e);return e(r,t.width,t.height)}function f(t){for(let e=3;e<t.data.length;e+=4)if(255!==t.data[e])return!0;return!1}t([r({type:String,json:{write:c}})],u.prototype,"url",null),t([r({json:{write:{overridePolicy(){return{enabled:!this.url}}}}}),r()],u.prototype,"data",null),t([i("data")],u.prototype,"writeData",null),t([n("data")],u.prototype,"readData",null),t([r({type:Boolean,json:{write:{overridePolicy(){return{enabled:this._isOverridden("transparent")}}}}})],u.prototype,"transparent",null),t([r({json:{write:!0}})],u.prototype,"wrap",void 0),t([r({readOnly:!0})],u.prototype,"contentHash",null),u=p=t([o("esri.geometry.support.MeshTexture")],u);export{u as default};
5
+ import{_ as t}from"../../chunks/tslib.es6.js";import"../../core/has.js";import{wrapImageData as e}from"../../core/imageUtils.js";import a from"../../core/JSONSupport.js";import{property as r}from"../../core/accessorSupport/decorators/property.js";import{ensureClass as s}from"../../core/accessorSupport/ensureType.js";import"../../core/RandomLCG.js";import{reader as n}from"../../core/accessorSupport/decorators/reader.js";import{subclass as o}from"../../core/accessorSupport/decorators/subclass.js";import{writer as i}from"../../core/accessorSupport/decorators/writer.js";import{t as l,w as c}from"../../chunks/persistableUrlUtils.js";var p;const h=new WeakMap;let d=0,u=class extends a{static{p=this}constructor(t){super(t),this.wrap="repeat"}get url(){return this._get("url")||null}set url(t){this._set("url",t),t&&this._set("data",null)}get data(){return this._get("data")||null}set data(t){this._set("data",t),t&&this._set("url",null)}writeData(t,e,a,r){if(t instanceof HTMLImageElement){const s={type:"image-element",src:l(t.src,r),crossOrigin:t.crossOrigin};e[a]=s}else if(t instanceof HTMLCanvasElement){const r={type:"canvas-element",imageData:m(t.getContext("2d").getImageData(0,0,t.width,t.height))};e[a]=r}else if(t instanceof HTMLVideoElement){const s={type:"video-element",src:l(t.src,r),autoplay:t.autoplay,loop:t.loop,muted:t.muted,crossOrigin:t.crossOrigin,preload:t.preload};e[a]=s}else if(t instanceof ImageData){const r={type:"image-data",imageData:m(t)};e[a]=r}}readData(t){switch(t.type){case"image-element":{const e=new Image;return e.src=t.src,e.crossOrigin=t.crossOrigin,e}case"canvas-element":{const e=g(t.imageData),a=document.createElement("canvas");return a.width=e.width,a.height=e.height,a.getContext("2d").putImageData(e,0,0),a}case"image-data":return g(t.imageData);case"video-element":{const e=document.createElement("video");return e.src=t.src,e.crossOrigin=t.crossOrigin,e.autoplay=t.autoplay,e.loop=t.loop,e.muted=t.muted,e.preload=t.preload,e}default:return}}get transparent(){const{data:t,url:e}=this,a=t=>t?.toLowerCase().endsWith(".png")||t?.toLocaleLowerCase().startsWith("data:image/png;");return t instanceof HTMLCanvasElement?f(t.getContext("2d").getImageData(0,0,t.width,t.height)):t instanceof ImageData?f(t):!(!e||!a(e))||!!(t instanceof HTMLImageElement&&a(t.src))}set transparent(t){this._overrideIfSome("transparent",t)}get contentHash(){const t="string"==typeof this.wrap?this.wrap:"object"==typeof this.wrap?`${this.wrap.horizontal}/${this.wrap.vertical}`:"",e=(e="")=>`d:${e},t:${this.transparent},w:${t}`;return null!=this.url?e(this.url):null!=this.data?this.data instanceof HTMLImageElement||this.data instanceof HTMLVideoElement?e(this.data.src):(h.has(this.data)||h.set(this.data,++d),e(h.get(this.data))):e()}get memoryUsage(){let t=0;if(t+=null!=this.url?this.url.length:0,null!=this.data){const e=this.data;"data"in e?t+=e.data.byteLength:e instanceof HTMLImageElement?t+=e.naturalWidth*e.naturalHeight*3:e instanceof HTMLCanvasElement&&(t+=e.width*e.height*3)}return t}clone(){const t={url:this.url,data:this.data,transparent:this.transparent,wrap:this._cloneWrap()};return new p(t)}cloneWithDeduplication(t){const e=t.get(this);if(e)return e;const a=this.clone();return t.set(this,a),a}_cloneWrap(){return"string"==typeof this.wrap?this.wrap:{horizontal:this.wrap.horizontal,vertical:this.wrap.vertical}}static from(t){return"string"==typeof t?new p({url:t}):t instanceof HTMLImageElement||t instanceof HTMLCanvasElement||t instanceof ImageData||t instanceof HTMLVideoElement?new p({data:t}):s(p,t)}};function m(t){let e="";for(let a=0;a<t.data.length;a++)e+=String.fromCharCode(t.data[a]);return{data:btoa(e),width:t.width,height:t.height}}function g(t){const a=atob(t.data),r=new Uint8ClampedArray(a.length);for(let e=0;e<a.length;e++)r[e]=a.charCodeAt(e);return e(r,t.width,t.height)}function f(t){for(let e=3;e<t.data.length;e+=4)if(255!==t.data[e])return!0;return!1}t([r({type:String,json:{write:c}})],u.prototype,"url",null),t([r({json:{write:{overridePolicy(){return{enabled:!this.url}}}}}),r()],u.prototype,"data",null),t([i("data")],u.prototype,"writeData",null),t([n("data")],u.prototype,"readData",null),t([r({type:Boolean,json:{write:{overridePolicy(){return{enabled:this._isOverridden("transparent")}}}}})],u.prototype,"transparent",null),t([r({json:{write:!0}})],u.prototype,"wrap",void 0),t([r({readOnly:!0})],u.prototype,"contentHash",null),u=p=t([o("esri.geometry.support.MeshTexture")],u);export{u as default};
package/interfaces.d.ts CHANGED
@@ -3385,8 +3385,8 @@ declare namespace __esri {
3385
3385
  }
3386
3386
 
3387
3387
  export interface configApiKeysScopes {
3388
- token?: string;
3389
- urls?: RegExp | string | (RegExp | string)[];
3388
+ token: string;
3389
+ urls: RegExp | string | (RegExp | string)[];
3390
3390
  }
3391
3391
 
3392
3392
  export interface configLog {
@@ -36440,6 +36440,113 @@ declare namespace __esri {
36440
36440
  noDataValue?: number | nullish;
36441
36441
  }
36442
36442
 
36443
+ export interface PlaybackInfo extends Accessor, JSONSupport, Clonable {
36444
+ }
36445
+
36446
+ export class PlaybackInfo {
36447
+ /**
36448
+ * The aspect ratio of the video.
36449
+ *
36450
+ * @default null
36451
+ *
36452
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PlaybackInfo.html#aspectRatio Read more...}
36453
+ */
36454
+ aspectRatio: string | nullish;
36455
+ /**
36456
+ * The container format of the video.
36457
+ *
36458
+ * @default null
36459
+ *
36460
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PlaybackInfo.html#containerFormat Read more...}
36461
+ */
36462
+ containerFormat: string | nullish;
36463
+ /**
36464
+ * The framerate of the video.
36465
+ *
36466
+ * @default null
36467
+ *
36468
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PlaybackInfo.html#framerate Read more...}
36469
+ */
36470
+ framerate: string | nullish;
36471
+ /**
36472
+ * The group of pictures (GOP) of the video.
36473
+ *
36474
+ * @default null
36475
+ *
36476
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PlaybackInfo.html#gop Read more...}
36477
+ */
36478
+ gop: number | nullish;
36479
+ /**
36480
+ * The key length value (KLV) of the video.
36481
+ *
36482
+ * @default null
36483
+ *
36484
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PlaybackInfo.html#klv Read more...}
36485
+ */
36486
+ klv: any | nullish;
36487
+ /**
36488
+ * The PlaybackInfo class provides information about the playback of a video.
36489
+ *
36490
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PlaybackInfo.html Read more...}
36491
+ */
36492
+ constructor(properties?: PlaybackInfoProperties);
36493
+ /**
36494
+ * Creates a deep clone of this object.
36495
+ *
36496
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PlaybackInfo.html#clone Read more...}
36497
+ */
36498
+ clone(): this;
36499
+ /**
36500
+ * Converts an instance of this class to its [ArcGIS portal JSON](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm) representation.
36501
+ *
36502
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PlaybackInfo.html#toJSON Read more...}
36503
+ */
36504
+ toJSON(): any;
36505
+ /**
36506
+ * Creates a new instance of this class and initializes it with values from a JSON object
36507
+ * generated from an ArcGIS product.
36508
+ *
36509
+ * @param json A JSON representation of the instance in the ArcGIS format. See the [ArcGIS REST API documentation](https://developers.arcgis.com/documentation/common-data-types/overview-of-common-data-types.htm) for examples of the structure of various input JSON objects.
36510
+ *
36511
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PlaybackInfo.html#fromJSON Read more...}
36512
+ */
36513
+ static fromJSON(json: any): any | nullish;
36514
+ static fromJSON(json: any): PlaybackInfo;
36515
+ }
36516
+
36517
+ interface PlaybackInfoProperties {
36518
+ /**
36519
+ * The aspect ratio of the video.
36520
+ *
36521
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PlaybackInfo.html#aspectRatio Read more...}
36522
+ */
36523
+ aspectRatio?: string | nullish;
36524
+ /**
36525
+ * The container format of the video.
36526
+ *
36527
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PlaybackInfo.html#containerFormat Read more...}
36528
+ */
36529
+ containerFormat?: string | nullish;
36530
+ /**
36531
+ * The framerate of the video.
36532
+ *
36533
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PlaybackInfo.html#framerate Read more...}
36534
+ */
36535
+ framerate?: string | nullish;
36536
+ /**
36537
+ * The group of pictures (GOP) of the video.
36538
+ *
36539
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PlaybackInfo.html#gop Read more...}
36540
+ */
36541
+ gop?: number | nullish;
36542
+ /**
36543
+ * The key length value (KLV) of the video.
36544
+ *
36545
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PlaybackInfo.html#klv Read more...}
36546
+ */
36547
+ klv?: any | nullish;
36548
+ }
36549
+
36443
36550
  export class PublishingInfo extends Accessor {
36444
36551
  /**
36445
36552
  * Layer's publishing status while the layer is being published to the portal.
@@ -38109,24 +38216,24 @@ declare namespace __esri {
38109
38216
  }
38110
38217
 
38111
38218
  /**
38112
- * Extract bands parameters specified using band wavelengths.
38219
+ * Extract bands parameters specified using band names.
38113
38220
  *
38114
38221
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-rasterFunctionUtils.html#ExtractBandByNameParameters Read more...}
38115
38222
  */
38116
38223
  export interface ExtractBandByNameParameters {
38117
- bandWavelengths: number[];
38224
+ bandNames: string[];
38118
38225
  missingBandAction?: "fail" | "best-match";
38119
38226
  raster?: RasterPrimaryArgument;
38120
38227
  outputPixelType?: OutputPixelType;
38121
38228
  }
38122
38229
 
38123
38230
  /**
38124
- * Extract bands parameters specified using band names.
38231
+ * Extract bands parameters specified using band wavelengths.
38125
38232
  *
38126
38233
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-rasterFunctionUtils.html#ExtractBandByWavelengthParameters Read more...}
38127
38234
  */
38128
38235
  export interface ExtractBandByWavelengthParameters {
38129
- bandNames: string[];
38236
+ bandWavelengths: number[];
38130
38237
  missingBandAction?: "fail" | "best-match";
38131
38238
  raster?: RasterPrimaryArgument;
38132
38239
  outputPixelType?: OutputPixelType;
@@ -38607,9 +38714,8 @@ declare namespace __esri {
38607
38714
  }
38608
38715
 
38609
38716
  export interface rasterFunctionUtilsSlopeParameters {
38610
- slopeType: "degree" | "percent-rise";
38717
+ slopeType: "degree" | "percent-rise" | "adjusted";
38611
38718
  zFactor: number;
38612
- scalingType?: "none" | "adjusted";
38613
38719
  pixelSizePower?: number;
38614
38720
  pixelSizeZFactor?: number;
38615
38721
  removeEdgeEffect?: boolean;
@@ -44356,6 +44462,15 @@ declare namespace __esri {
44356
44462
  */
44357
44463
  get initialExtent(): Extent | nullish;
44358
44464
  set initialExtent(value: ExtentProperties | nullish);
44465
+ /**
44466
+ * The playback information for the video layer.
44467
+ *
44468
+ * @default null
44469
+ *
44470
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html#playbackInfo Read more...}
44471
+ */
44472
+ get playbackInfo(): PlaybackInfo | nullish;
44473
+ set playbackInfo(value: PlaybackInfoProperties | nullish);
44359
44474
  /**
44360
44475
  * A {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html SimpleLineSymbol} used for representing the line of sight from the sensor to the center of the frame coverage area.
44361
44476
  *
@@ -44526,6 +44641,12 @@ declare namespace __esri {
44526
44641
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html#muted Read more...}
44527
44642
  */
44528
44643
  muted?: boolean;
44644
+ /**
44645
+ * The playback information for the video layer.
44646
+ *
44647
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html#playbackInfo Read more...}
44648
+ */
44649
+ playbackInfo?: PlaybackInfoProperties | nullish;
44529
44650
  /**
44530
44651
  * The playback rate of the video layer.
44531
44652
  *
@@ -61150,7 +61271,7 @@ declare namespace __esri {
61150
61271
  addAttachmentResults: any[];
61151
61272
  updateAttachmentResults: any[];
61152
61273
  deleteAttachmentResults: any[];
61153
- editedFeatures?: any[];
61274
+ editedFeatureResults?: any;
61154
61275
  editMoment?: number;
61155
61276
  }
61156
61277
 
@@ -114101,7 +114222,13 @@ declare namespace __esri {
114101
114222
  *
114102
114223
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#layer Read more...}
114103
114224
  */
114104
- layer: FeatureLayer | GeoJSONLayer | OrientedImageryLayer | SceneLayer | SubtypeSublayer | nullish;
114225
+ layer: | FeatureLayer
114226
+ | GeoJSONLayer
114227
+ | OrientedImageryLayer
114228
+ | SceneLayer
114229
+ | SubtypeSublayer
114230
+ | KnowledgeGraphSublayer
114231
+ | nullish;
114105
114232
  /**
114106
114233
  * A reference to the associated {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html Map}.
114107
114234
  *
@@ -114198,7 +114325,13 @@ declare namespace __esri {
114198
114325
  *
114199
114326
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#layer Read more...}
114200
114327
  */
114201
- layer?: FeatureLayer | GeoJSONLayer | OrientedImageryLayer | SceneLayer | SubtypeSublayer | nullish;
114328
+ layer?: | FeatureLayer
114329
+ | GeoJSONLayer
114330
+ | OrientedImageryLayer
114331
+ | SceneLayer
114332
+ | SubtypeSublayer
114333
+ | KnowledgeGraphSublayer
114334
+ | nullish;
114202
114335
  /**
114203
114336
  * A reference to the associated {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html Map}.
114204
114337
  *
@@ -114265,7 +114398,13 @@ declare namespace __esri {
114265
114398
  *
114266
114399
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm-FeatureFormViewModel.html#layer Read more...}
114267
114400
  */
114268
- layer: FeatureLayer | GeoJSONLayer | OrientedImageryLayer | SceneLayer | SubtypeSublayer | nullish;
114401
+ layer: | FeatureLayer
114402
+ | GeoJSONLayer
114403
+ | OrientedImageryLayer
114404
+ | SceneLayer
114405
+ | SubtypeSublayer
114406
+ | KnowledgeGraphSublayer
114407
+ | nullish;
114269
114408
  /**
114270
114409
  * A reference to the associated {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html Map}.
114271
114410
  *
@@ -114414,7 +114553,13 @@ declare namespace __esri {
114414
114553
  *
114415
114554
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm-FeatureFormViewModel.html#layer Read more...}
114416
114555
  */
114417
- layer?: FeatureLayer | GeoJSONLayer | OrientedImageryLayer | SceneLayer | SubtypeSublayer | nullish;
114556
+ layer?: | FeatureLayer
114557
+ | GeoJSONLayer
114558
+ | OrientedImageryLayer
114559
+ | SceneLayer
114560
+ | SubtypeSublayer
114561
+ | KnowledgeGraphSublayer
114562
+ | nullish;
114418
114563
  /**
114419
114564
  * A reference to the associated {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html Map}.
114420
114565
  *
@@ -127440,7 +127585,7 @@ declare namespace __esri {
127440
127585
  /**
127441
127586
  * The following properties define a
127442
127587
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html Layer}-based {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#sources source} whose
127443
- * features may be searched by a {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html Search} widget instance.
127588
+ * features may be searched by a {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html Search widget} or {@link https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-search/ Search component}.
127444
127589
  *
127445
127590
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-LayerSearchSource.html Read more...}
127446
127591
  */
@@ -127602,7 +127747,7 @@ declare namespace __esri {
127602
127747
  /**
127603
127748
  * The following properties define a {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#sources source} pointing to a
127604
127749
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-LocatorSearchSource.html#url url} that represents a locator service, which may be used to geocode locations
127605
- * with a {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html Search} widget instance.
127750
+ * with a {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html Search widget} or {@link https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-search/ Search component}.
127606
127751
  *
127607
127752
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-LocatorSearchSource.html Read more...}
127608
127753
  */
@@ -127711,7 +127856,7 @@ declare namespace __esri {
127711
127856
  showMoreResultsOpen: boolean;
127712
127857
  /**
127713
127858
  * The `SearchResultRenderer` renders the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html Search} widget
127714
- * results and allows expanding a DOM element to show alternative matches.
127859
+ * or {@link https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-search/ Search component} results and allows expanding a DOM element to show alternative matches.
127715
127860
  *
127716
127861
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchResultRenderer.html Read more...}
127717
127862
  */
@@ -127879,7 +128024,7 @@ declare namespace __esri {
127879
128024
  zoomScale: number | nullish;
127880
128025
  /**
127881
128026
  * The following properties define generic {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#sources sources} properties
127882
- * for use in the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html Search} widget.
128027
+ * for use in the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html Search widget} or {@link https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-search/ Search component}.
127883
128028
  *
127884
128029
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchSource.html Read more...}
127885
128030
  */
@@ -128302,7 +128447,7 @@ declare namespace __esri {
128302
128447
  */
128303
128448
  view: MapView | SceneView | nullish;
128304
128449
  /**
128305
- * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html Search} widget and {@link https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-search/ component}, which performs search
128450
+ * Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html Search widget} and {@link https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-search/ Search component}, which performs search
128306
128451
  * operations on {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-locator.html locator service(s)},
128307
128452
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapImageLayer.html map}/{@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html feature} service feature
128308
128453
  * layer(s), and/or {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-webdoc-applicationProperties-SearchTable.html table(s)}.
package/intl/date.js CHANGED
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
4
4
  */
5
- import{strict as t}from"../core/jsonMap.js";import{beforeLocaleChange as e,getLocale as o,getLocaleParts as n}from"./locale.js";import{unknown as r,utc as a,system as m,systemTimeZone as h}from"../time/constants.js";import{shortTimeZoneName as i}from"../time/timeZoneUtils.js";import{DateTime as s}from"luxon";const l={year:void 0,month:void 0,day:void 0,weekday:void 0},g={hour:void 0,minute:void 0,second:void 0},y={timeZone:a},d={year:"numeric",month:"numeric",day:"numeric"},u={year:"numeric",month:"long",day:"numeric"},c={year:"numeric",month:"short",day:"numeric"},D={year:"numeric",month:"long",weekday:"long",day:"numeric"},f={hour:"numeric",minute:"numeric"},T={...f,second:"numeric"},S={hourCycle:"h23"},L={...f,...S},M={...T,...S},w={"short-date":d,"short-date-short-time":{...d,...f},"short-date-short-time-24":{...d,...L},"short-date-long-time":{...d,...T},"short-date-long-time-24":{...d,...M},"short-date-le":d,"short-date-le-short-time":{...d,...f},"short-date-le-short-time-24":{...d,...L},"short-date-le-long-time":{...d,...T},"short-date-le-long-time-24":{...d,...M},"long-month-day-year":u,"long-month-day-year-short-time":{...u,...f},"long-month-day-year-short-time-24":{...u,...L},"long-month-day-year-long-time":{...u,...T},"long-month-day-year-long-time-24":{...u,...M},"day-short-month-year":c,"day-short-month-year-short-time":{...c,...f},"day-short-month-year-short-time-24":{...c,...L},"day-short-month-year-long-time":{...c,...T},"day-short-month-year-long-time-24":{...c,...M},"long-date":D,"long-date-short-time":{...D,...f},"long-date-short-time-24":{...D,...L},"long-date-long-time":{...D,...T},"long-date-long-time-24":{...D,...M},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":f,"long-time":T},Y=t()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),Z={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"};function p(){const t=o(),e=n(t)?.language;return(e&&Z[e])??t}"M03"===new Intl.DateTimeFormat("bs",{month:"long"}).format(new Date(2025,2))&&(Z.bs="hr");let v=new WeakMap;const j=w["short-date-short-time"];function E(t){let e=v.get(t);if(!e){const o=p(),n=x(t.timeZone??m),r={...t,timeZone:n};e=new Intl.DateTimeFormat(o,r),v.set(t,e)}return e}function k(t){return w[t]}function I(t,e=j){return E(e).format(t)}function N(t,e=j){return I(new Date(t),{...e,...y,...g})}function F(t,e=j){return I(new Date(`1970-01-01T${t}Z`),{...e,...y,...l})}function b(t,e=j){if(e.timeZone)return I(new Date(t),e);const o=s.fromISO(t,{setZone:!0}),n=0===o.offset?a:e.timeZone,r={...e,timeZone:n};return o.toLocaleString(r,{locale:p()})}function x(t){switch(t){case m:return h;case r:return a;default:return t}}function W(t,e){return new Intl.DateTimeFormat(p(),e).formatToParts(t)}function C(t,e=new Date){return W(e,{timeZone:t,timeZoneName:i}).find((({type:t})=>"timeZoneName"===t))?.value}e((()=>{v=new WeakMap}));export{k as convertDateFormatToIntlOptions,Y as dateFormatJSONMap,I as formatDate,N as formatDateOnly,F as formatTimeOnly,b as formatTimestamp,E as getDateTimeFormatter,C as getShortOffsetTimeZoneSuffix,x as resolveTimeZone};
5
+ import{strict as t}from"../core/jsonMap.js";import{beforeLocaleChange as e,getLocale as o,getLocaleParts as n}from"./locale.js";import{unknown as r,utc as a,system as m,systemTimeZone as h}from"../time/constants.js";import{shortTimeZoneName as i}from"../time/timeZoneUtils.js";import{DateTime as s}from"luxon";const l={year:void 0,month:void 0,day:void 0,weekday:void 0},y={hour:void 0,minute:void 0,second:void 0},d={timeZone:a},g={year:"numeric",month:"numeric",day:"numeric"},u={year:"numeric",month:"long",day:"numeric"},c={year:"numeric",month:"short",day:"numeric"},D={year:"numeric",month:"long",weekday:"long",day:"numeric"},f={hour:"numeric",minute:"numeric"},T={...f,second:"numeric"},L={hourCycle:"h23"},S={...f,...L},M={...T,...L},w={"short-date":g,"short-date-short-time":{...g,...f},"short-date-short-time-24":{...g,...S},"short-date-long-time":{...g,...T},"short-date-long-time-24":{...g,...M},"short-date-le":g,"short-date-le-short-time":{...g,...f},"short-date-le-short-time-24":{...g,...S},"short-date-le-long-time":{...g,...T},"short-date-le-long-time-24":{...g,...M},"long-month-day-year":u,"long-month-day-year-short-time":{...u,...f},"long-month-day-year-short-time-24":{...u,...S},"long-month-day-year-long-time":{...u,...T},"long-month-day-year-long-time-24":{...u,...M},"day-short-month-year":c,"day-short-month-year-short-time":{...c,...f},"day-short-month-year-short-time-24":{...c,...S},"day-short-month-year-long-time":{...c,...T},"day-short-month-year-long-time-24":{...c,...M},"long-date":D,"long-date-short-time":{...D,...f},"long-date-short-time-24":{...D,...S},"long-date-long-time":{...D,...T},"long-date-long-time-24":{...D,...M},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":f,"long-time":T},Y=t()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),Z={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},p=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),v=p.find((({type:t})=>"month"===t))?.value.toLowerCase();function j(){const t=o(),e=n(t)?.language;return(e&&Z[e])??t}"mart"!==v&&(Z.bs="sr-Latn-CS");let E=new WeakMap;const k=w["short-date-short-time"];function I(t){let e=E.get(t);if(!e){const o=j(),n=P(t.timeZone??m),r={...t,timeZone:n};e=new Intl.DateTimeFormat(o,r),E.set(t,e)}return e}function N(t){return w[t]}function C(t,e=k){return I(e).format(t)}function F(t,e=k){return C(new Date(t),{...e,...d,...y})}function b(t,e=k){return C(new Date(`1970-01-01T${t}Z`),{...e,...d,...l})}function x(t,e=k){if(e.timeZone)return C(new Date(t),e);const o=s.fromISO(t,{setZone:!0}),n=0===o.offset?a:e.timeZone,r={...e,timeZone:n};return o.toLocaleString(r,{locale:j()})}function P(t){switch(t){case m:return h;case r:return a;default:return t}}function W(t,e){return new Intl.DateTimeFormat(j(),e).formatToParts(t)}function O(t,e=new Date){return W(e,{timeZone:t,timeZoneName:i}).find((({type:t})=>"timeZoneName"===t))?.value}e((()=>{E=new WeakMap}));export{N as convertDateFormatToIntlOptions,Y as dateFormatJSONMap,C as formatDate,F as formatDateOnly,b as formatTimeOnly,x as formatTimestamp,I as getDateTimeFormatter,O as getShortOffsetTimeZoneSuffix,P as resolveTimeZone};
package/intl/number.js CHANGED
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
4
4
  */
5
- import{getLocale as e,getLocaleParts as n,beforeLocaleChange as t}from"./locale.js";const u={ar:"ar-u-nu-latn",bs:"hr",nn:"no-NN"};let r=new WeakMap,a={};function l(t){const l=t||a;if(!r.has(l)){const a=e(),i=n(a)?.language,o=i&&u[i]||a;r.set(l,new Intl.NumberFormat(o,t))}return r.get(l)}function i(e={}){const n={};return null!=e.digitSeparator&&(n.useGrouping=e.digitSeparator),null!=e.places&&(n.minimumFractionDigits=n.maximumFractionDigits=e.places),n}function o(e,n){return Object.is(e,-0)&&(e=0),l(n).format(e)}function p(n,t=e()){if(!n)return null;let u=c.get(t);if(!u){const e=l().formatToParts(12345.6),n=[...l({useGrouping:!1}).format(9876543210)].reverse(),r=new Map(n.map(((e,n)=>[e,n]))),a=new RegExp(`[${e.find((e=>"group"===e.type))?.value}]`,"g"),i=new RegExp(`[${e.find((e=>"decimal"===e.type))?.value}]`),o=new RegExp(`[${n.join("")}]`,"g"),p=/[\u200E\u200F\u202A\u202B\u202C\u202D\u202E\u2066\u2067\u2068\u2069\u061C]/g,s=/[-\u2212\u2013\u2014\u2015]/g;u=e=>{if(""===(e=e.trim().replaceAll(a,"").replace(i,".").replace(o,(e=>String(r.get(e)))).replaceAll(p,"").replaceAll(s,"-")))return null;const n=Number(e);return isNaN(n)?null:n},c.set(t,u)}return u(n)}t((()=>{r=new WeakMap,a={}}));const c=new Map;export{i as convertNumberFormatToIntlOptions,o as formatNumber,l as getFormatter,p as parseNumber};
5
+ import{getLocale as e,getLocaleParts as n,beforeLocaleChange as t}from"./locale.js";const u={ar:"ar-u-nu-latn",bs:"sr-Latn-CS",nn:"no-NN"};let r=new WeakMap,a={};function l(t){const l=t||a;if(!r.has(l)){const a=e(),i=n(a)?.language,o=i&&u[i]||a;r.set(l,new Intl.NumberFormat(o,t))}return r.get(l)}function i(e={}){const n={};return null!=e.digitSeparator&&(n.useGrouping=e.digitSeparator),null!=e.places&&(n.minimumFractionDigits=n.maximumFractionDigits=e.places),n}function o(e,n){return Object.is(e,-0)&&(e=0),l(n).format(e)}function p(n,t=e()){if(!n)return null;let u=c.get(t);if(!u){const e=l().formatToParts(12345.6),n=[...l({useGrouping:!1}).format(9876543210)].reverse(),r=new Map(n.map(((e,n)=>[e,n]))),a=new RegExp(`[${e.find((e=>"group"===e.type))?.value}]`,"g"),i=new RegExp(`[${e.find((e=>"decimal"===e.type))?.value}]`),o=new RegExp(`[${n.join("")}]`,"g"),p=/[\u200E\u200F\u202A\u202B\u202C\u202D\u202E\u2066\u2067\u2068\u2069\u061C]/g,s=/[-\u2212\u2013\u2014\u2015]/g;u=e=>{if(""===(e=e.trim().replaceAll(a,"").replace(i,".").replace(o,(e=>String(r.get(e)))).replaceAll(p,"").replaceAll(s,"-")))return null;const n=Number(e);return isNaN(n)?null:n},c.set(t,u)}return u(n)}t((()=>{r=new WeakMap,a={}}));const c=new Map;export{i as convertNumberFormatToIntlOptions,o as formatNumber,l as getFormatter,p as parseNumber};