@arcgis/core 5.0.0-next.122 → 5.0.0-next.124

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 (836) hide show
  1. package/Camera.d.ts +1 -1
  2. package/Ground.d.ts +7 -7
  3. package/PopupTemplate.d.ts +6 -6
  4. package/WebScene.d.ts +1 -1
  5. package/analysis/AreaMeasurementAnalysis.d.ts +1 -1
  6. package/analysis/DirectLineMeasurementAnalysis.d.ts +1 -1
  7. package/analysis/LengthDimension.d.ts +4 -4
  8. package/analysis/ShadowCastAnalysis.d.ts +3 -3
  9. package/analysis/SliceAnalysis.d.ts +1 -1
  10. package/analysis/SlicePlane.d.ts +1 -1
  11. package/applications/Components/SketchTooltipControls.d.ts +3 -2
  12. package/applications/Components/SketchTooltipControls.js +1 -1
  13. package/assets/esri/core/t9n/Units_ar.json +1 -1
  14. package/assets/esri/core/t9n/Units_bg.json +1 -1
  15. package/assets/esri/core/t9n/Units_bs.json +1 -1
  16. package/assets/esri/core/t9n/Units_ca.json +1 -1
  17. package/assets/esri/core/t9n/Units_cs.json +1 -1
  18. package/assets/esri/core/t9n/Units_da.json +1 -1
  19. package/assets/esri/core/t9n/Units_de.json +1 -1
  20. package/assets/esri/core/t9n/Units_el.json +1 -1
  21. package/assets/esri/core/t9n/Units_es.json +1 -1
  22. package/assets/esri/core/t9n/Units_et.json +1 -1
  23. package/assets/esri/core/t9n/Units_fi.json +1 -1
  24. package/assets/esri/core/t9n/Units_fr.json +1 -1
  25. package/assets/esri/core/t9n/Units_he.json +1 -1
  26. package/assets/esri/core/t9n/Units_hr.json +1 -1
  27. package/assets/esri/core/t9n/Units_hu.json +1 -1
  28. package/assets/esri/core/t9n/Units_id.json +1 -1
  29. package/assets/esri/core/t9n/Units_it.json +1 -1
  30. package/assets/esri/core/t9n/Units_ja.json +1 -1
  31. package/assets/esri/core/t9n/Units_ko.json +1 -1
  32. package/assets/esri/core/t9n/Units_lt.json +1 -1
  33. package/assets/esri/core/t9n/Units_lv.json +1 -1
  34. package/assets/esri/core/t9n/Units_nl.json +1 -1
  35. package/assets/esri/core/t9n/Units_no.json +1 -1
  36. package/assets/esri/core/t9n/Units_pl.json +1 -1
  37. package/assets/esri/core/t9n/Units_pt-BR.json +1 -1
  38. package/assets/esri/core/t9n/Units_pt-PT.json +1 -1
  39. package/assets/esri/core/t9n/Units_ro.json +1 -1
  40. package/assets/esri/core/t9n/Units_ru.json +1 -1
  41. package/assets/esri/core/t9n/Units_sk.json +1 -1
  42. package/assets/esri/core/t9n/Units_sl.json +1 -1
  43. package/assets/esri/core/t9n/Units_sr.json +1 -1
  44. package/assets/esri/core/t9n/Units_sv.json +1 -1
  45. package/assets/esri/core/t9n/Units_th.json +1 -1
  46. package/assets/esri/core/t9n/Units_tr.json +1 -1
  47. package/assets/esri/core/t9n/Units_uk.json +1 -1
  48. package/assets/esri/core/t9n/Units_vi.json +1 -1
  49. package/assets/esri/core/t9n/Units_zh-CN.json +1 -1
  50. package/assets/esri/core/t9n/Units_zh-HK.json +1 -1
  51. package/assets/esri/core/t9n/Units_zh-TW.json +1 -1
  52. package/assets/esri/core/workers/RemoteClient.js +1 -1
  53. package/assets/esri/core/workers/chunks/0184b4c0c92c76c60ab2.js +1 -0
  54. package/assets/esri/core/workers/chunks/05d6cd51ca970705e46a.js +1 -0
  55. package/assets/esri/core/workers/chunks/{d5314786df52b6be5307.js → 0e6ffb02a929130ddb50.js} +1 -1
  56. package/assets/esri/core/workers/chunks/128cdb4a02549abc68b5.js +1 -0
  57. package/assets/esri/core/workers/chunks/{41fe4d8fe97388498f73.js → 13512a23655258fa77f4.js} +1 -1
  58. package/assets/esri/core/workers/chunks/{d621cdd0aef6d77986f0.js → 1469e6d1d0d4e310b8f8.js} +1 -1
  59. package/assets/esri/core/workers/chunks/{b9e90875943703486227.js → 15ba0296403dd4152b88.js} +1 -1
  60. package/assets/esri/core/workers/chunks/1701d9c50610f0b2dd38.js +1 -0
  61. package/assets/esri/core/workers/chunks/1794db88a2006711eff3.js +1 -0
  62. package/assets/esri/core/workers/chunks/{dddcae86e434d93b10c0.js → 189e22df73414a1a3989.js} +1 -1
  63. package/assets/esri/core/workers/chunks/{63831996ad82bd3b1ca9.js → 1e29a114c1cfe21121c4.js} +1 -1
  64. package/assets/esri/core/workers/chunks/{6b1e1fb4e9010873c171.js → 1f30558e3ad6ac68bdb8.js} +1 -1
  65. package/assets/esri/core/workers/chunks/2011da6dfc4bb89829c6.js +1 -0
  66. package/assets/esri/core/workers/chunks/22045f85e503ae0ec8f4.js +1 -0
  67. package/assets/esri/core/workers/chunks/231602adad900fc024f0.js +1 -0
  68. package/assets/esri/core/workers/chunks/{9c06b803912fcafa7f52.js → 24dd404612c35f6a3fc3.js} +1 -1
  69. package/assets/esri/core/workers/chunks/25861560a6ec1ffedfad.js +1 -0
  70. package/assets/esri/core/workers/chunks/{401af6d07c9f458ae067.js → 2c69d8bb1c950b95278d.js} +1 -1
  71. package/assets/esri/core/workers/chunks/2cd56b7ab70f908bbbd4.js +1 -0
  72. package/assets/esri/core/workers/chunks/{120a5fa9b46084cd0c45.js → 2d376f82cdf020e1fca9.js} +1 -1
  73. package/assets/esri/core/workers/chunks/{5b3f2bad61a0d993bf16.js → 2e63e18df96e5a2461de.js} +1 -1
  74. package/assets/esri/core/workers/chunks/2e9d280f51ab43e6f102.js +1 -0
  75. package/assets/esri/core/workers/chunks/32a1ccc145c9f6091e13.js +1 -0
  76. package/assets/esri/core/workers/chunks/34691b147318b2cfdd45.js +1 -0
  77. package/assets/esri/core/workers/chunks/38124ee5119e614645c9.js +1 -0
  78. package/assets/esri/core/workers/chunks/394aa478c29599b08bf5.js +1 -0
  79. package/assets/esri/core/workers/chunks/43780090ae85b21ef3fd.js +1 -0
  80. package/assets/esri/core/workers/chunks/43c797bfc2191b51875b.js +1 -0
  81. package/assets/esri/core/workers/chunks/460a82f3e4838b13e3b4.js +1 -0
  82. package/assets/esri/core/workers/chunks/{78ce6fcb72e97d3dc087.js → 499d594dc0d282dfe777.js} +1 -1
  83. package/assets/esri/core/workers/chunks/4ad6f80488aa218b95e3.js +1 -0
  84. package/assets/esri/core/workers/chunks/4ba4aa6c75e3f8950e65.js +1 -0
  85. package/assets/esri/core/workers/chunks/{a115984b794a7f90b2c0.js → 4d45c51ff32dd75299ac.js} +1 -1
  86. package/assets/esri/core/workers/chunks/4e9863a11d09900baf30.js +1 -0
  87. package/assets/esri/core/workers/chunks/{61ce373f00a0cad113ed.js → 4f2c29168c9de0b08741.js} +1 -1
  88. package/assets/esri/core/workers/chunks/4fdc838f4c3efab6cd61.js +1 -0
  89. package/assets/esri/core/workers/chunks/5028de543cc1b8e60e65.js +1 -0
  90. package/assets/esri/core/workers/chunks/51a2da9faccf204d0817.js +1 -0
  91. package/assets/esri/core/workers/chunks/{17b39b88547968048113.js → 531c55f3b8e708ccf767.js} +1 -1
  92. package/assets/esri/core/workers/chunks/{5789898948cc0da78b8b.js → 552e5c413828e181f89a.js} +1 -1
  93. package/assets/esri/core/workers/chunks/{ec4e2f18453e1cb68fed.js → 5f10f39835cb40179000.js} +1 -1
  94. package/assets/esri/core/workers/chunks/{7b1964255722e756eba3.js → 5f9eeab833a6c08c76c4.js} +1 -1
  95. package/assets/esri/core/workers/chunks/6321680c8070dffa3b6c.js +1 -0
  96. package/assets/esri/core/workers/chunks/65f86594c42ff82095fe.js +1 -0
  97. package/assets/esri/core/workers/chunks/677f5e444ff588ab670f.js +1 -0
  98. package/assets/esri/core/workers/chunks/6997b4d5bcc9c4755375.js +1 -0
  99. package/assets/esri/core/workers/chunks/{b79cceeee3ed46f218a0.js → 69ab42b965bccc3bad4f.js} +1 -1
  100. package/assets/esri/core/workers/chunks/{bb4c75479cfea67cf8a2.js → 6af14a0217077d9ab47f.js} +1 -1
  101. package/assets/esri/core/workers/chunks/6b02919373bd4da7ff73.js +1 -0
  102. package/assets/esri/core/workers/chunks/{672542d0435fbfd0647c.js → 6b3d8280a24f7a3aac40.js} +1 -1
  103. package/assets/esri/core/workers/chunks/6cd370c716e4fe87b684.js +1 -0
  104. package/assets/esri/core/workers/chunks/7382c9882525101eddad.js +1 -0
  105. package/assets/esri/core/workers/chunks/7477a4d08414b561d03b.js +1 -0
  106. package/assets/esri/core/workers/chunks/{da188d0e22ba1639928e.js → 75907e5d009b71ce723b.js} +1 -1
  107. package/assets/esri/core/workers/chunks/778ab9e4c3928b0d7d74.js +1 -0
  108. package/assets/esri/core/workers/chunks/{ac62411b9b4cf85a4722.js → 7a037fbfd91dd22e3bf0.js} +1 -1
  109. package/assets/esri/core/workers/chunks/{0420fb4b3592f8a26b1f.js → 7d2b1e5402a88b6bee85.js} +1 -1
  110. package/assets/esri/core/workers/chunks/{50661f65a9c191f528bc.js → 7ee7529fcbd0d169047c.js} +1 -1
  111. package/assets/esri/core/workers/chunks/8161deb139b24ad6c287.js +1 -0
  112. package/assets/esri/core/workers/chunks/81a45d7e9dadf678b584.js +1 -0
  113. package/assets/esri/core/workers/chunks/{82a446e8befe9d29c8f0.js → 822a115c7d718e4e3d2b.js} +1 -1
  114. package/assets/esri/core/workers/chunks/86f2ec2692363abc97d1.js +1 -0
  115. package/assets/esri/core/workers/chunks/{18b0776aef1536867ab8.js → 89274b81a2a8b7cd5c49.js} +1 -1
  116. package/assets/esri/core/workers/chunks/8c3bf66f8543cedc72ef.js +1 -0
  117. package/assets/esri/core/workers/chunks/{6789ddaa61e6d8f20d04.js → 8eea620f770576d18809.js} +1 -1
  118. package/assets/esri/core/workers/chunks/920d6330df72e2f01d19.js +1 -0
  119. package/assets/esri/core/workers/chunks/{10c4f5afe14c0addc418.js → 9332db133a0925d522fe.js} +1 -1
  120. package/assets/esri/core/workers/chunks/{bc87890d00d6dba979b2.js → 99c9f35a29f9f6c9e4ce.js} +1 -1
  121. package/assets/esri/core/workers/chunks/9dc7abca1d1eb9ba5b58.js +1 -0
  122. package/assets/esri/core/workers/chunks/9e054c264b17f04b7efa.js +1 -0
  123. package/assets/esri/core/workers/chunks/a49f1172b17c14527acf.js +1 -0
  124. package/assets/esri/core/workers/chunks/{ab9156be67332338bbe4.js → aceec85ce64a3e6d8761.js} +1 -1
  125. package/assets/esri/core/workers/chunks/b10b3eb8c2ed9be14ab2.js +1 -0
  126. package/assets/esri/core/workers/chunks/b40e4ed067da65c3d7ce.js +1 -0
  127. package/assets/esri/core/workers/chunks/{b5fc0a2480a229e8891a.js → b5f291e8ed7f7cac158d.js} +1 -1
  128. package/assets/esri/core/workers/chunks/b5f68e1fdbaca3cd9c8d.js +1 -0
  129. package/assets/esri/core/workers/chunks/{a32b274404dfd2fb70ee.js → bcfa9f2e54f6777d0855.js} +1 -1
  130. package/assets/esri/core/workers/chunks/{9a43065e51df9c21c9fa.js → bdb4f216ae8881b98604.js} +1 -1
  131. package/assets/esri/core/workers/chunks/c409b8d39c0a40dafa06.js +1 -0
  132. package/assets/esri/core/workers/chunks/c6e0ada6f2ad74fddfec.js +1 -0
  133. package/assets/esri/core/workers/chunks/c80c82acec04ee0ade04.js +1 -0
  134. package/assets/esri/core/workers/chunks/c873ac660e7d5dc88781.js +1 -0
  135. package/assets/esri/core/workers/chunks/cfdb17522112c52f81ad.js +1 -0
  136. package/assets/esri/core/workers/chunks/d03d50f3247327257d8b.js +1 -0
  137. package/assets/esri/core/workers/chunks/d27a542a406ac3fe2ad9.js +1 -0
  138. package/assets/esri/core/workers/chunks/d2d9c1f32a75befe168b.js +1 -0
  139. package/assets/esri/core/workers/chunks/d76dfac06299cbd4f00e.js +1 -0
  140. package/assets/esri/core/workers/chunks/d9dc8d9fc8ab2706f96b.js +1 -0
  141. package/assets/esri/core/workers/chunks/{09cf8aed89a1ea1f8b28.js → da42da04a9df651b06cc.js} +1 -1
  142. package/assets/esri/core/workers/chunks/dd24cddc406f610d2483.js +1 -0
  143. package/assets/esri/core/workers/chunks/ded71a656e2626a411f9.js +1 -0
  144. package/assets/esri/core/workers/chunks/df1fa0f7e8f7e2bcc2e6.js +1 -0
  145. package/assets/esri/core/workers/chunks/{a5af20f3d484d2d3bafe.js → e2dc7e6b84e9b38ef9fe.js} +1 -1
  146. package/assets/esri/core/workers/chunks/{2889e782ed81bb05b9e5.js → e508f8e707eb3207cfcc.js} +1 -1
  147. package/assets/esri/core/workers/chunks/{bb8530ade7c40a1ed7c4.js → eb9e913fe0dfcc71cf92.js} +1 -1
  148. package/assets/esri/core/workers/chunks/{6a043be736f096d70070.js → ec2dfd89e4ce6fda4971.js} +1 -1
  149. package/assets/esri/core/workers/chunks/{f7e25a85a79c4e3c1c9f.js → ec63c0fa21cd3c872633.js} +1 -1
  150. package/assets/esri/core/workers/chunks/{a5bd7e5d71cffde68f89.js → ee89564d11c077169b31.js} +1 -1
  151. package/assets/esri/core/workers/chunks/ef9106ee818ec732b670.js +1 -0
  152. package/assets/esri/core/workers/chunks/f0582d8111ec825e1f9a.js +1 -0
  153. package/assets/esri/core/workers/chunks/{2e7d4a437717606bc39c.js → f104823f3b31a204bacb.js} +1 -1
  154. package/assets/esri/core/workers/chunks/{12fd2e26e949d90abfbd.js → f114da7ef2b891184e77.js} +1 -1
  155. package/assets/esri/core/workers/chunks/f121a0bf33c03abfa0b6.js +1 -0
  156. package/assets/esri/core/workers/chunks/{b3cc7f6d953bfbc3a70d.js → f62e37863a549f72093c.js} +1 -1
  157. package/assets/esri/core/workers/chunks/fab7e3e07d700d7bb651.js +1 -0
  158. package/assets/esri/core/workers/chunks/{bc9997d15ec0a86793c6.js → fd47dc60646260c5633c.js} +1 -1
  159. package/assets/esri/core/workers/chunks/fe5aec7e2da4465422b4.js +1 -0
  160. package/assets/esri/core/workers/chunks/{0fe47bf45428100cc808.js → ffb73b4e8f2f7ffd2db4.js} +1 -1
  161. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  162. package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
  163. package/assets/esri/themes/base/widgets/_Attribution.scss +4 -2
  164. package/assets/esri/themes/dark/main.css +1 -1
  165. package/assets/esri/themes/light/main.css +1 -1
  166. package/assets/esri/themes/light/view.css +1 -1
  167. package/assets/esri/widgets/Directions/t9n/Directions_ar.json +1 -1
  168. package/assets/esri/widgets/Directions/t9n/Directions_bg.json +1 -1
  169. package/assets/esri/widgets/Directions/t9n/Directions_bs.json +1 -1
  170. package/assets/esri/widgets/Directions/t9n/Directions_ca.json +1 -1
  171. package/assets/esri/widgets/Directions/t9n/Directions_cs.json +1 -1
  172. package/assets/esri/widgets/Directions/t9n/Directions_da.json +1 -1
  173. package/assets/esri/widgets/Directions/t9n/Directions_de.json +1 -1
  174. package/assets/esri/widgets/Directions/t9n/Directions_el.json +1 -1
  175. package/assets/esri/widgets/Directions/t9n/Directions_es.json +1 -1
  176. package/assets/esri/widgets/Directions/t9n/Directions_et.json +1 -1
  177. package/assets/esri/widgets/Directions/t9n/Directions_fi.json +1 -1
  178. package/assets/esri/widgets/Directions/t9n/Directions_fr.json +1 -1
  179. package/assets/esri/widgets/Directions/t9n/Directions_he.json +1 -1
  180. package/assets/esri/widgets/Directions/t9n/Directions_hr.json +1 -1
  181. package/assets/esri/widgets/Directions/t9n/Directions_hu.json +1 -1
  182. package/assets/esri/widgets/Directions/t9n/Directions_id.json +1 -1
  183. package/assets/esri/widgets/Directions/t9n/Directions_it.json +1 -1
  184. package/assets/esri/widgets/Directions/t9n/Directions_ja.json +1 -1
  185. package/assets/esri/widgets/Directions/t9n/Directions_ko.json +1 -1
  186. package/assets/esri/widgets/Directions/t9n/Directions_lt.json +1 -1
  187. package/assets/esri/widgets/Directions/t9n/Directions_lv.json +1 -1
  188. package/assets/esri/widgets/Directions/t9n/Directions_nl.json +1 -1
  189. package/assets/esri/widgets/Directions/t9n/Directions_no.json +1 -1
  190. package/assets/esri/widgets/Directions/t9n/Directions_pl.json +1 -1
  191. package/assets/esri/widgets/Directions/t9n/Directions_pt-BR.json +1 -1
  192. package/assets/esri/widgets/Directions/t9n/Directions_pt-PT.json +1 -1
  193. package/assets/esri/widgets/Directions/t9n/Directions_ro.json +1 -1
  194. package/assets/esri/widgets/Directions/t9n/Directions_ru.json +1 -1
  195. package/assets/esri/widgets/Directions/t9n/Directions_sk.json +1 -1
  196. package/assets/esri/widgets/Directions/t9n/Directions_sl.json +1 -1
  197. package/assets/esri/widgets/Directions/t9n/Directions_sr.json +1 -1
  198. package/assets/esri/widgets/Directions/t9n/Directions_sv.json +1 -1
  199. package/assets/esri/widgets/Directions/t9n/Directions_th.json +1 -1
  200. package/assets/esri/widgets/Directions/t9n/Directions_tr.json +1 -1
  201. package/assets/esri/widgets/Directions/t9n/Directions_uk.json +1 -1
  202. package/assets/esri/widgets/Directions/t9n/Directions_vi.json +1 -1
  203. package/assets/esri/widgets/Directions/t9n/Directions_zh-CN.json +1 -1
  204. package/assets/esri/widgets/Directions/t9n/Directions_zh-HK.json +1 -1
  205. package/assets/esri/widgets/Directions/t9n/Directions_zh-TW.json +1 -1
  206. package/assets/esri/widgets/Editor/t9n/Editor_ar.json +1 -1
  207. package/assets/esri/widgets/Editor/t9n/Editor_bg.json +1 -1
  208. package/assets/esri/widgets/Editor/t9n/Editor_bs.json +1 -1
  209. package/assets/esri/widgets/Editor/t9n/Editor_ca.json +1 -1
  210. package/assets/esri/widgets/Editor/t9n/Editor_cs.json +1 -1
  211. package/assets/esri/widgets/Editor/t9n/Editor_da.json +1 -1
  212. package/assets/esri/widgets/Editor/t9n/Editor_de.json +1 -1
  213. package/assets/esri/widgets/Editor/t9n/Editor_el.json +1 -1
  214. package/assets/esri/widgets/Editor/t9n/Editor_es.json +1 -1
  215. package/assets/esri/widgets/Editor/t9n/Editor_et.json +1 -1
  216. package/assets/esri/widgets/Editor/t9n/Editor_fi.json +1 -1
  217. package/assets/esri/widgets/Editor/t9n/Editor_fr.json +1 -1
  218. package/assets/esri/widgets/Editor/t9n/Editor_he.json +1 -1
  219. package/assets/esri/widgets/Editor/t9n/Editor_hr.json +1 -1
  220. package/assets/esri/widgets/Editor/t9n/Editor_hu.json +1 -1
  221. package/assets/esri/widgets/Editor/t9n/Editor_id.json +1 -1
  222. package/assets/esri/widgets/Editor/t9n/Editor_it.json +1 -1
  223. package/assets/esri/widgets/Editor/t9n/Editor_ja.json +1 -1
  224. package/assets/esri/widgets/Editor/t9n/Editor_ko.json +1 -1
  225. package/assets/esri/widgets/Editor/t9n/Editor_lt.json +1 -1
  226. package/assets/esri/widgets/Editor/t9n/Editor_lv.json +1 -1
  227. package/assets/esri/widgets/Editor/t9n/Editor_nl.json +1 -1
  228. package/assets/esri/widgets/Editor/t9n/Editor_no.json +1 -1
  229. package/assets/esri/widgets/Editor/t9n/Editor_pl.json +1 -1
  230. package/assets/esri/widgets/Editor/t9n/Editor_pt-BR.json +1 -1
  231. package/assets/esri/widgets/Editor/t9n/Editor_pt-PT.json +1 -1
  232. package/assets/esri/widgets/Editor/t9n/Editor_ro.json +1 -1
  233. package/assets/esri/widgets/Editor/t9n/Editor_ru.json +1 -1
  234. package/assets/esri/widgets/Editor/t9n/Editor_sk.json +1 -1
  235. package/assets/esri/widgets/Editor/t9n/Editor_sl.json +1 -1
  236. package/assets/esri/widgets/Editor/t9n/Editor_sr.json +1 -1
  237. package/assets/esri/widgets/Editor/t9n/Editor_sv.json +1 -1
  238. package/assets/esri/widgets/Editor/t9n/Editor_th.json +1 -1
  239. package/assets/esri/widgets/Editor/t9n/Editor_tr.json +1 -1
  240. package/assets/esri/widgets/Editor/t9n/Editor_uk.json +1 -1
  241. package/assets/esri/widgets/Editor/t9n/Editor_vi.json +1 -1
  242. package/assets/esri/widgets/Editor/t9n/Editor_zh-CN.json +1 -1
  243. package/assets/esri/widgets/Editor/t9n/Editor_zh-HK.json +1 -1
  244. package/assets/esri/widgets/Editor/t9n/Editor_zh-TW.json +1 -1
  245. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ar.json +1 -1
  246. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bg.json +1 -1
  247. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bs.json +1 -1
  248. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ca.json +1 -1
  249. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_cs.json +1 -1
  250. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_da.json +1 -1
  251. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_de.json +1 -1
  252. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_el.json +1 -1
  253. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_es.json +1 -1
  254. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_et.json +1 -1
  255. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fi.json +1 -1
  256. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fr.json +1 -1
  257. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_he.json +1 -1
  258. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hr.json +1 -1
  259. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hu.json +1 -1
  260. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_id.json +1 -1
  261. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_it.json +1 -1
  262. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ja.json +1 -1
  263. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ko.json +1 -1
  264. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lt.json +1 -1
  265. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lv.json +1 -1
  266. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_nl.json +1 -1
  267. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_no.json +1 -1
  268. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pl.json +1 -1
  269. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-BR.json +1 -1
  270. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-PT.json +1 -1
  271. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ro.json +1 -1
  272. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ru.json +1 -1
  273. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sk.json +1 -1
  274. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sl.json +1 -1
  275. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sr.json +1 -1
  276. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sv.json +1 -1
  277. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_th.json +1 -1
  278. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_tr.json +1 -1
  279. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_uk.json +1 -1
  280. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_vi.json +1 -1
  281. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-CN.json +1 -1
  282. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-HK.json +1 -1
  283. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-TW.json +1 -1
  284. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ar.json +1 -1
  285. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bg.json +1 -1
  286. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bs.json +1 -1
  287. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ca.json +1 -1
  288. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_cs.json +1 -1
  289. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_da.json +1 -1
  290. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_de.json +1 -1
  291. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_el.json +1 -1
  292. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_es.json +1 -1
  293. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_et.json +1 -1
  294. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fi.json +1 -1
  295. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fr.json +1 -1
  296. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_he.json +1 -1
  297. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hr.json +1 -1
  298. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hu.json +1 -1
  299. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_id.json +1 -1
  300. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_it.json +1 -1
  301. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ja.json +1 -1
  302. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ko.json +1 -1
  303. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lt.json +1 -1
  304. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lv.json +1 -1
  305. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_nl.json +1 -1
  306. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_no.json +1 -1
  307. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pl.json +1 -1
  308. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-BR.json +1 -1
  309. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-PT.json +1 -1
  310. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ro.json +1 -1
  311. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ru.json +1 -1
  312. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sk.json +1 -1
  313. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sl.json +1 -1
  314. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sr.json +1 -1
  315. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sv.json +1 -1
  316. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_th.json +1 -1
  317. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_tr.json +1 -1
  318. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_uk.json +1 -1
  319. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_vi.json +1 -1
  320. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-CN.json +1 -1
  321. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-HK.json +1 -1
  322. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-TW.json +1 -1
  323. package/assets/esri/widgets/Sketch/t9n/Sketch_ar.json +1 -1
  324. package/assets/esri/widgets/Sketch/t9n/Sketch_bg.json +1 -1
  325. package/assets/esri/widgets/Sketch/t9n/Sketch_bs.json +1 -1
  326. package/assets/esri/widgets/Sketch/t9n/Sketch_ca.json +1 -1
  327. package/assets/esri/widgets/Sketch/t9n/Sketch_cs.json +1 -1
  328. package/assets/esri/widgets/Sketch/t9n/Sketch_da.json +1 -1
  329. package/assets/esri/widgets/Sketch/t9n/Sketch_de.json +1 -1
  330. package/assets/esri/widgets/Sketch/t9n/Sketch_el.json +1 -1
  331. package/assets/esri/widgets/Sketch/t9n/Sketch_es.json +1 -1
  332. package/assets/esri/widgets/Sketch/t9n/Sketch_et.json +1 -1
  333. package/assets/esri/widgets/Sketch/t9n/Sketch_fi.json +1 -1
  334. package/assets/esri/widgets/Sketch/t9n/Sketch_fr.json +1 -1
  335. package/assets/esri/widgets/Sketch/t9n/Sketch_he.json +1 -1
  336. package/assets/esri/widgets/Sketch/t9n/Sketch_hr.json +1 -1
  337. package/assets/esri/widgets/Sketch/t9n/Sketch_hu.json +1 -1
  338. package/assets/esri/widgets/Sketch/t9n/Sketch_id.json +1 -1
  339. package/assets/esri/widgets/Sketch/t9n/Sketch_it.json +1 -1
  340. package/assets/esri/widgets/Sketch/t9n/Sketch_ja.json +1 -1
  341. package/assets/esri/widgets/Sketch/t9n/Sketch_ko.json +1 -1
  342. package/assets/esri/widgets/Sketch/t9n/Sketch_lt.json +1 -1
  343. package/assets/esri/widgets/Sketch/t9n/Sketch_lv.json +1 -1
  344. package/assets/esri/widgets/Sketch/t9n/Sketch_nl.json +1 -1
  345. package/assets/esri/widgets/Sketch/t9n/Sketch_no.json +1 -1
  346. package/assets/esri/widgets/Sketch/t9n/Sketch_pl.json +1 -1
  347. package/assets/esri/widgets/Sketch/t9n/Sketch_pt-BR.json +1 -1
  348. package/assets/esri/widgets/Sketch/t9n/Sketch_pt-PT.json +1 -1
  349. package/assets/esri/widgets/Sketch/t9n/Sketch_ro.json +1 -1
  350. package/assets/esri/widgets/Sketch/t9n/Sketch_ru.json +1 -1
  351. package/assets/esri/widgets/Sketch/t9n/Sketch_sk.json +1 -1
  352. package/assets/esri/widgets/Sketch/t9n/Sketch_sl.json +1 -1
  353. package/assets/esri/widgets/Sketch/t9n/Sketch_sr.json +1 -1
  354. package/assets/esri/widgets/Sketch/t9n/Sketch_sv.json +1 -1
  355. package/assets/esri/widgets/Sketch/t9n/Sketch_th.json +1 -1
  356. package/assets/esri/widgets/Sketch/t9n/Sketch_tr.json +1 -1
  357. package/assets/esri/widgets/Sketch/t9n/Sketch_uk.json +1 -1
  358. package/assets/esri/widgets/Sketch/t9n/Sketch_vi.json +1 -1
  359. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-CN.json +1 -1
  360. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-HK.json +1 -1
  361. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-TW.json +1 -1
  362. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ar.json +1 -1
  363. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_bg.json +1 -1
  364. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_bs.json +1 -1
  365. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ca.json +1 -1
  366. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_cs.json +1 -1
  367. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_da.json +1 -1
  368. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_de.json +1 -1
  369. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_el.json +1 -1
  370. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_es.json +1 -1
  371. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_et.json +1 -1
  372. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_fi.json +1 -1
  373. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_fr.json +1 -1
  374. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_he.json +1 -1
  375. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_hr.json +1 -1
  376. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_hu.json +1 -1
  377. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_id.json +1 -1
  378. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_it.json +1 -1
  379. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ja.json +1 -1
  380. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ko.json +1 -1
  381. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_lt.json +1 -1
  382. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_lv.json +1 -1
  383. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_nl.json +1 -1
  384. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_no.json +1 -1
  385. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_pl.json +1 -1
  386. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_pt-BR.json +1 -1
  387. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_pt-PT.json +1 -1
  388. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ro.json +1 -1
  389. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ru.json +1 -1
  390. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sk.json +1 -1
  391. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sl.json +1 -1
  392. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sr.json +1 -1
  393. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sv.json +1 -1
  394. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_th.json +1 -1
  395. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_tr.json +1 -1
  396. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_uk.json +1 -1
  397. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_vi.json +1 -1
  398. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_zh-CN.json +1 -1
  399. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_zh-HK.json +1 -1
  400. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_zh-TW.json +1 -1
  401. package/chunks/Fog.glsl.js +1 -1
  402. package/config.js +1 -1
  403. package/core/has.js +1 -1
  404. package/core/sql/types.d.ts +398 -86
  405. package/core/types.d.ts +5 -0
  406. package/core/workers/workerFactory.js +1 -1
  407. package/editing/sharedTemplates/executor/builders/radialLines.js +1 -1
  408. package/editing/sharedTemplates/executor/builders/support/shapeUtils.js +1 -1
  409. package/effects/FocusAreas.d.ts +1 -1
  410. package/form/elements/FieldElement.d.ts +1 -1
  411. package/form/elements/GroupElement.d.ts +1 -1
  412. package/form/elements/TextElement.d.ts +1 -1
  413. package/form/elements/inputs/ComboBoxInput.d.ts +1 -1
  414. package/form/elements/inputs/RadioButtonsInput.d.ts +1 -1
  415. package/form/elements/inputs/SwitchInput.d.ts +1 -1
  416. package/geometry/Mesh.d.ts +7 -7
  417. package/geometry/operators/alphaShapeOperator.d.ts +1 -1
  418. package/geometry/operators/areaOperator.d.ts +1 -1
  419. package/geometry/operators/bufferOperator.d.ts +1 -1
  420. package/geometry/operators/centroidOperator.d.ts +1 -1
  421. package/geometry/operators/clipOperator.d.ts +1 -1
  422. package/geometry/operators/containsOperator.d.ts +1 -1
  423. package/geometry/operators/convexHullOperator.d.ts +1 -1
  424. package/geometry/operators/crossesOperator.d.ts +1 -1
  425. package/geometry/operators/cutOperator.d.ts +1 -1
  426. package/geometry/operators/densifyOperator.d.ts +1 -1
  427. package/geometry/operators/differenceOperator.d.ts +1 -1
  428. package/geometry/operators/disjointOperator.d.ts +1 -1
  429. package/geometry/operators/distanceOperator.d.ts +1 -1
  430. package/geometry/operators/generalizeOperator.d.ts +1 -1
  431. package/geometry/operators/geodesicProximityOperator.d.ts +1 -1
  432. package/geometry/operators/geodeticDistanceOperator.d.ts +1 -1
  433. package/geometry/operators/geodeticUtilsOperator.d.ts +2 -2
  434. package/geometry/operators/graphicBufferOperator.d.ts +1 -1
  435. package/geometry/operators/intersectionOperator.d.ts +1 -1
  436. package/geometry/operators/intersectsOperator.d.ts +1 -1
  437. package/geometry/operators/isNearOperator.d.ts +1 -1
  438. package/geometry/operators/lengthOperator.d.ts +1 -1
  439. package/geometry/operators/locateBetweenOperator.d.ts +1 -1
  440. package/geometry/operators/multiPartToSinglePartOperator.d.ts +1 -1
  441. package/geometry/operators/offsetOperator.d.ts +5 -5
  442. package/geometry/operators/overlapsOperator.d.ts +1 -1
  443. package/geometry/operators/proximityOperator.d.ts +1 -1
  444. package/geometry/operators/simplifyOGCOperator.d.ts +1 -1
  445. package/geometry/operators/simplifyOperator.d.ts +1 -1
  446. package/geometry/operators/support/GeographicTransformation.d.ts +6 -4
  447. package/geometry/operators/support/GeographicTransformation.js +1 -1
  448. package/geometry/operators/support/GeographicTransformationStep.d.ts +5 -3
  449. package/geometry/operators/support/GeographicTransformationStep.js +1 -1
  450. package/geometry/operators/support/Transformation.d.ts +6 -6
  451. package/geometry/operators/symmetricDifferenceOperator.d.ts +1 -1
  452. package/geometry/operators/touchesOperator.d.ts +1 -1
  453. package/geometry/operators/unionOperator.d.ts +1 -1
  454. package/geometry/operators/withinOperator.d.ts +1 -1
  455. package/geometry/projectionUtils.js +1 -1
  456. package/geometry/support/MeshMaterialMetallicRoughness.d.ts +1 -1
  457. package/geometry/support/curves/curveUtils.js +1 -1
  458. package/kernel.js +1 -1
  459. package/layers/BuildingSceneLayer.d.ts +4 -4
  460. package/layers/CSVLayer.d.ts +4 -4
  461. package/layers/CatalogLayer.d.ts +2 -2
  462. package/layers/ElevationLayer.d.ts +1 -1
  463. package/layers/FeatureLayer.d.ts +2 -2
  464. package/layers/GaussianSplatLayer.d.ts +77 -10
  465. package/layers/GeoJSONLayer.d.ts +3 -3
  466. package/layers/GeoRSSLayer.d.ts +1 -1
  467. package/layers/GraphicsLayer.d.ts +2 -2
  468. package/layers/ImageryLayer.d.ts +3 -3
  469. package/layers/ImageryTileLayer.d.ts +2 -2
  470. package/layers/IntegratedMesh3DTilesLayer.d.ts +6 -6
  471. package/layers/IntegratedMesh3DTilesLayer.js +1 -1
  472. package/layers/IntegratedMeshLayer.d.ts +7 -7
  473. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  474. package/layers/MapImageLayer.d.ts +1 -1
  475. package/layers/MediaLayer.d.ts +1 -1
  476. package/layers/OGCFeatureLayer.d.ts +2 -2
  477. package/layers/PointCloudLayer.d.ts +1 -1
  478. package/layers/SceneLayer.d.ts +9 -9
  479. package/layers/StreamLayer.d.ts +2 -2
  480. package/layers/VectorTileLayer.d.ts +2 -2
  481. package/layers/VideoLayer.d.ts +1 -1
  482. package/layers/VoxelLayer.d.ts +8 -8
  483. package/layers/WFSLayer.d.ts +6 -6
  484. package/layers/catalog/CatalogFootprintLayer.d.ts +1 -1
  485. package/layers/graphics/data/QueryEngineResult.js +1 -1
  486. package/layers/graphics/data/SnappingCandidate.js +1 -1
  487. package/layers/mixins/BlendLayer.d.ts +6 -6
  488. package/layers/pointCloudFilters/PointCloudReturnFilter.d.ts +1 -1
  489. package/layers/pointCloudFilters/PointCloudValueFilter.d.ts +1 -1
  490. package/layers/support/ControlPointsGeoreference.d.ts +2 -2
  491. package/layers/support/ControlPointsGeoreference.js +1 -1
  492. package/layers/support/CornersGeoreference.d.ts +2 -2
  493. package/layers/support/CornersGeoreference.js +1 -1
  494. package/layers/support/DimensionalDefinition.d.ts +2 -2
  495. package/layers/support/ExtentAndRotationGeoreference.d.ts +2 -2
  496. package/layers/support/ExtentAndRotationGeoreference.js +1 -1
  497. package/layers/support/FeatureEffect.d.ts +4 -4
  498. package/layers/support/FeatureFilter.d.ts +17 -17
  499. package/layers/support/FeatureReductionBinning.d.ts +1 -1
  500. package/layers/support/FeatureReductionCluster.d.ts +9 -9
  501. package/layers/support/FeatureReductionSelection.d.ts +1 -1
  502. package/layers/support/GeoreferenceBaseMixin.js +2 -0
  503. package/layers/support/LabelClass.d.ts +2 -2
  504. package/layers/support/RasterFunction.d.ts +1 -1
  505. package/layers/support/SceneFilter.d.ts +2 -2
  506. package/layers/support/SceneModification.d.ts +3 -3
  507. package/layers/support/arcgisLayerUrl.js +1 -1
  508. package/layers/support/featurePopupQueryUtils.js +1 -1
  509. package/layers/support/mediaUtils.js +1 -1
  510. package/layers/support/relativeTimeQueryUtils.js +1 -1
  511. package/layers/support/serviceCapabilitiesUtils.js +1 -1
  512. package/layers/types.d.ts +24 -10
  513. package/package.json +1 -1
  514. package/popup/content/AttachmentsContent.d.ts +1 -1
  515. package/popup/content/BarChartMediaInfo.d.ts +1 -1
  516. package/popup/content/ColumnChartMediaInfo.d.ts +1 -1
  517. package/popup/content/FieldsContent.d.ts +1 -1
  518. package/popup/content/ImageMediaInfo.d.ts +1 -1
  519. package/popup/content/LineChartMediaInfo.d.ts +1 -1
  520. package/popup/content/MediaContent.d.ts +1 -1
  521. package/popup/content/PieChartMediaInfo.d.ts +1 -1
  522. package/popup/content/RelationshipContent.d.ts +1 -1
  523. package/popup/content/TextContent.d.ts +1 -1
  524. package/portal/support/urlUtils.js +1 -1
  525. package/renderers/ClassBreaksRenderer.d.ts +1 -1
  526. package/renderers/DictionaryRenderer.d.ts +1 -1
  527. package/renderers/DotDensityRenderer.d.ts +46 -3
  528. package/renderers/DotDensityRenderer.js +1 -1
  529. package/renderers/FlowRenderer.d.ts +6 -6
  530. package/renderers/HeatmapRenderer.d.ts +3 -3
  531. package/renderers/PieChartRenderer.d.ts +1 -1
  532. package/renderers/RasterShadedReliefRenderer.d.ts +1 -1
  533. package/renderers/Renderer.d.ts +4 -4
  534. package/renderers/SimpleRenderer.d.ts +2 -2
  535. package/renderers/UniqueValueRenderer.d.ts +2 -2
  536. package/renderers/VectorFieldRenderer.d.ts +1 -1
  537. package/renderers/mixins/VisualVariablesMixin.d.ts +12 -12
  538. package/renderers/visualVariables/ColorVariable.d.ts +1 -1
  539. package/renderers/visualVariables/OpacityVariable.d.ts +1 -1
  540. package/renderers/visualVariables/RotationVariable.d.ts +1 -1
  541. package/renderers/visualVariables/SizeVariable.d.ts +1 -1
  542. package/renderers/visualVariables/VisualVariable.d.ts +1 -1
  543. package/rest/featureService/FeatureService.js +1 -1
  544. package/rest/print.js +1 -1
  545. package/rest/query/operations/pbfFlatFeatureSet.js +1 -1
  546. package/rest/query/support/AttachmentInfo.d.ts +1 -1
  547. package/rest/support/AutoIntervalBinParameters.d.ts +1 -1
  548. package/rest/support/DateBinParameters.d.ts +1 -1
  549. package/rest/support/FixedBoundariesBinParameters.d.ts +1 -1
  550. package/rest/support/FixedIntervalBinParameters.d.ts +1 -1
  551. package/rest/support/Query.d.ts +3 -2
  552. package/rest/types.d.ts +1 -3
  553. package/smartMapping/labels/clusters.d.ts +1 -1
  554. package/smartMapping/popup/clusters.d.ts +2 -2
  555. package/smartMapping/popup/templates.d.ts +1 -1
  556. package/smartMapping/raster/renderers/flow.d.ts +2 -2
  557. package/smartMapping/renderers/color.d.ts +12 -12
  558. package/smartMapping/renderers/predominance.d.ts +3 -3
  559. package/smartMapping/renderers/relationship.d.ts +15 -15
  560. package/smartMapping/renderers/univariateColorSize.d.ts +4 -4
  561. package/smartMapping/symbology/color.d.ts +4 -4
  562. package/smartMapping/symbology/flow.d.ts +2 -2
  563. package/smartMapping/symbology/types.d.ts +18 -18
  564. package/support/actions/ActionButton.d.ts +1 -1
  565. package/support/revision.js +1 -1
  566. package/symbols/CIMSymbol.d.ts +1 -1
  567. package/symbols/ExtrudeSymbol3DLayer.d.ts +21 -11
  568. package/symbols/FillSymbol3DLayer.d.ts +39 -19
  569. package/symbols/IconSymbol3DLayer.d.ts +1 -1
  570. package/symbols/LabelSymbol3D.d.ts +2 -2
  571. package/symbols/LineStyleMarker3D.d.ts +7 -7
  572. package/symbols/LineSymbol3D.d.ts +2 -2
  573. package/symbols/LineSymbol3DLayer.d.ts +7 -7
  574. package/symbols/LineSymbolMarker.d.ts +6 -6
  575. package/symbols/MarkerSymbol.d.ts +1 -1
  576. package/symbols/MeshSymbol3D.d.ts +2 -2
  577. package/symbols/ObjectSymbol3DLayer.d.ts +29 -7
  578. package/symbols/PathSymbol3DLayer.d.ts +32 -20
  579. package/symbols/PictureFillSymbol.d.ts +1 -1
  580. package/symbols/PictureMarkerSymbol.d.ts +1 -1
  581. package/symbols/PointSymbol3D.d.ts +3 -3
  582. package/symbols/PolygonSymbol3D.d.ts +7 -7
  583. package/symbols/SimpleFillSymbol.d.ts +8 -8
  584. package/symbols/SimpleLineSymbol.d.ts +20 -20
  585. package/symbols/SimpleMarkerSymbol.d.ts +7 -7
  586. package/symbols/Symbol3DLayer.d.ts +16 -16
  587. package/symbols/TextSymbol.d.ts +1 -1
  588. package/symbols/TextSymbol3DLayer.d.ts +1 -1
  589. package/symbols/WaterSymbol3DLayer.d.ts +3 -3
  590. package/symbols/WebStyleSymbol.d.ts +1 -1
  591. package/symbols/callouts/Callout3D.d.ts +1 -1
  592. package/symbols/callouts/LineCallout3D.d.ts +3 -3
  593. package/symbols/cim/CIMSymbolHelper.js +1 -1
  594. package/symbols/cim/rasterizingUtils.js +1 -1
  595. package/symbols/cim/types.d.ts +23 -23
  596. package/symbols/edges/Edges3D.d.ts +1 -1
  597. package/symbols/edges/SolidEdges3D.d.ts +1 -1
  598. package/symbols/patterns/LineStylePattern3D.d.ts +11 -11
  599. package/symbols/patterns/StylePattern3D.d.ts +8 -8
  600. package/symbols/support/ElevationInfo.d.ts +2 -2
  601. package/symbols/support/IconSymbol3DLayerResource.d.ts +6 -6
  602. package/symbols/support/ObjectSymbol3DLayerResource.d.ts +7 -7
  603. package/symbols/support/Symbol3DEmissive.d.ts +19 -6
  604. package/symbols/support/Symbol3DVerticalOffset.d.ts +2 -2
  605. package/versionManagement/VersionManagementService.d.ts +4 -0
  606. package/views/2d/interactive/SnappingVisualizer2D.js +1 -1
  607. package/views/2d/layers/BaseLayerViewGL2D.d.ts +1 -1
  608. package/views/2d/layers/features/layerAdapters/CatalogFootprintLayerAdapter.js +1 -1
  609. package/views/2d/layers/features/layerAdapters/FeatureLayerAdapter.js +1 -1
  610. package/views/2d/layers/features/layerAdapters/InMemoryLayerAdapter.js +1 -1
  611. package/views/2d/layers/features/layerAdapters/KnowledgeGraphSublayerAdapter.js +1 -1
  612. package/views/2d/layers/features/layerAdapters/OGCFeatureLayerAdapter.js +1 -1
  613. package/views/2d/layers/features/layerAdapters/OrientedImageryLayerAdapter.js +1 -1
  614. package/views/2d/layers/features/layerAdapters/SubtypeGroupLayerAdapter.js +1 -1
  615. package/views/2d/layers/features/sources/FeatureSourceQueryInfo.js +1 -1
  616. package/views/2d/layers/features/sources/strategies/FeaturePagedTileLoadStrategy.js +1 -1
  617. package/views/2d/layers/features/sources/strategies/FeatureSnapshotLoadStrategy.js +1 -1
  618. package/views/2d/layers/features/sources/strategies/chunks/SourceChunkStore.js +1 -1
  619. package/views/2d/layers/support/RouteLayerWaypointVisualization.js +1 -1
  620. package/views/2d/types.d.ts +3 -3
  621. package/views/3d/environment/CloudyWeather.d.ts +1 -1
  622. package/views/3d/environment/Environment.d.ts +4 -4
  623. package/views/3d/environment/FoggyWeather.d.ts +1 -1
  624. package/views/3d/environment/RainyWeather.d.ts +1 -1
  625. package/views/3d/environment/SnowyWeather.d.ts +1 -1
  626. package/views/3d/environment/SunLighting.d.ts +1 -1
  627. package/views/3d/environment/SunnyWeather.d.ts +1 -1
  628. package/views/3d/environment/VirtualLighting.d.ts +1 -1
  629. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  630. package/views/3d/layers/graphics/polygonUtils.js +1 -1
  631. package/views/3d/layers/support/featureTileQuery3D.js +1 -1
  632. package/views/3d/webgl/RenderNode.d.ts +2 -2
  633. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  634. package/views/3d/webgl-engine/effects/glow/GlowRenderNode.js +1 -1
  635. package/views/3d/webgl-engine/materials/renderers/VaoWriter.js +1 -1
  636. package/views/3d/webgl.d.ts +1 -1
  637. package/views/Magnifier.d.ts +3 -3
  638. package/views/MapView.d.ts +7 -7
  639. package/views/SceneView.d.ts +16 -16
  640. package/views/View.d.ts +2 -2
  641. package/views/interactive/keybindings.js +1 -1
  642. package/views/interactive/sketch/SketchLabelOptions.d.ts +1 -1
  643. package/views/interactive/sketch/SketchTooltipOptions.d.ts +1 -1
  644. package/views/interactive/snapping/SnappingOptions.d.ts +7 -7
  645. package/views/interactive/snapping/candidates/EdgeSnappingCandidate.js +1 -1
  646. package/views/interactive/snapping/featureSources/GraphicsSnappingSource.js +1 -1
  647. package/views/interactive/snapping/featureSources/queryEngineUtils.js +1 -1
  648. package/views/interactive/snapping/featureSources/snappingCandidateElevationAlignment.js +1 -1
  649. package/views/interactive/snapping/featureSources/snappingCandidateElevationFilter.js +1 -1
  650. package/views/interactive/snapping/hints/LineSnappingHint.js +1 -1
  651. package/views/layers/FeatureLikeLayerView.js +1 -1
  652. package/views/layers/support/WhereClauseVisitor.js +1 -1
  653. package/views/support/HighlightOptions.d.ts +1 -1
  654. package/views/ui/DefaultUI.d.ts +2 -2
  655. package/views/webgl/RenderingContext.js +1 -1
  656. package/webscene/Environment.d.ts +16 -11
  657. package/webscene/Glow.d.ts +9 -2
  658. package/webscene/background/ColorBackground.d.ts +1 -1
  659. package/widgets/AreaMeasurement2D.d.ts +1 -1
  660. package/widgets/AreaMeasurement3D.d.ts +2 -2
  661. package/widgets/Attachments.d.ts +1 -1
  662. package/widgets/Attribution.d.ts +1 -1
  663. package/widgets/BasemapGallery.d.ts +1 -1
  664. package/widgets/BasemapLayerList.d.ts +3 -3
  665. package/widgets/BasemapToggle.d.ts +1 -1
  666. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +1 -2
  667. package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
  668. package/widgets/BatchAttributeForm/expressions/ExpressionsModel.js +1 -1
  669. package/widgets/BatchAttributeForm/inputs/BatchFormInputs.d.ts +0 -1
  670. package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +1 -1
  671. package/widgets/BatchAttributeForm/inputs/InputBase.js +1 -1
  672. package/widgets/BatchAttributeForm/inputs/TextElementInput.d.ts +2 -11
  673. package/widgets/BatchAttributeForm/inputs/TextElementInput.js +1 -1
  674. package/widgets/BatchAttributeForm/inputs/support/inputUtils.js +1 -1
  675. package/widgets/BatchAttributeForm/inputs/support/textElementInputUtils.js +2 -0
  676. package/widgets/BatchAttributeForm/templates/TextElementTemplate.js +1 -1
  677. package/widgets/BatchAttributeForm/templates/support/constants.js +2 -0
  678. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  679. package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
  680. package/widgets/BatchAttributeForm/templates/support/textElementTemplateUtils.js +2 -0
  681. package/widgets/BatchAttributeForm.d.ts +0 -2
  682. package/widgets/Bookmarks/BookmarksVisibleElements.d.ts +1 -1
  683. package/widgets/Bookmarks.d.ts +2 -2
  684. package/widgets/BuildingExplorer.d.ts +1 -1
  685. package/widgets/CatalogLayerList.d.ts +3 -3
  686. package/widgets/Compass.d.ts +2 -2
  687. package/widgets/CoordinateConversion.d.ts +1 -1
  688. package/widgets/Daylight.d.ts +5 -5
  689. package/widgets/DirectLineMeasurement3D.d.ts +2 -2
  690. package/widgets/Directions/DirectionsViewModel.d.ts +12 -0
  691. package/widgets/Directions/DirectionsViewModel.js +1 -1
  692. package/widgets/Directions.d.ts +4 -4
  693. package/widgets/DistanceMeasurement2D.d.ts +1 -1
  694. package/widgets/Editor/CreateFeaturesWorkflow.d.ts +1 -1
  695. package/widgets/Editor/EditorViewModel.js +1 -1
  696. package/widgets/Editor/components/Settings.js +1 -1
  697. package/widgets/Editor.d.ts +8 -8
  698. package/widgets/ElevationProfile/ElevationProfileLineGround.d.ts +1 -1
  699. package/widgets/ElevationProfile/ElevationProfileLineInput.d.ts +1 -1
  700. package/widgets/ElevationProfile/ElevationProfileLineView.d.ts +1 -1
  701. package/widgets/ElevationProfile.d.ts +3 -3
  702. package/widgets/Expand.d.ts +1 -1
  703. package/widgets/FeatureForm.d.ts +1 -1
  704. package/widgets/FeatureTable/ActionColumn.d.ts +2 -2
  705. package/widgets/FeatureTable/AttachmentsColumn.d.ts +1 -1
  706. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +3 -3
  707. package/widgets/FeatureTable/Grid/GroupColumn.d.ts +1 -1
  708. package/widgets/FeatureTable/RelationshipColumn.d.ts +1 -1
  709. package/widgets/FeatureTable/VisibleElements.d.ts +1 -1
  710. package/widgets/FeatureTable.d.ts +10 -10
  711. package/widgets/FeatureTemplates/FeatureTemplatesViewModel.d.ts +5 -5
  712. package/widgets/FeatureTemplates.d.ts +8 -8
  713. package/widgets/Features/FeaturesViewModel.d.ts +2 -2
  714. package/widgets/Features/FeaturesViewModel.js +1 -1
  715. package/widgets/Features/FeaturesVisibleElements.d.ts +2 -2
  716. package/widgets/Features.d.ts +1 -1
  717. package/widgets/Histogram.d.ts +2 -2
  718. package/widgets/HistogramRangeSlider.d.ts +1 -1
  719. package/widgets/Home.d.ts +1 -1
  720. package/widgets/LayerList/ListItemPanel.d.ts +1 -1
  721. package/widgets/LayerList.d.ts +4 -4
  722. package/widgets/Legend.d.ts +8 -8
  723. package/widgets/LineOfSight.d.ts +1 -1
  724. package/widgets/Locate.d.ts +2 -2
  725. package/widgets/Measurement.d.ts +1 -1
  726. package/widgets/NavigationToggle/NavigationToggleViewModel.d.ts +1 -1
  727. package/widgets/NavigationToggle.d.ts +3 -3
  728. package/widgets/Popup/PopupVisibleElements.d.ts +2 -2
  729. package/widgets/Popup.d.ts +5 -5
  730. package/widgets/Print/CustomTemplate.d.ts +1 -1
  731. package/widgets/Print/PrintViewModel.js +1 -1
  732. package/widgets/Print/TemplateOptions.d.ts +4 -4
  733. package/widgets/ScaleRangeSlider.d.ts +1 -1
  734. package/widgets/Search/SearchViewModel.d.ts +4 -4
  735. package/widgets/Search.d.ts +5 -5
  736. package/widgets/ShadowCast.d.ts +3 -3
  737. package/widgets/Sketch/SketchViewModel.d.ts +39 -39
  738. package/widgets/Sketch.d.ts +43 -43
  739. package/widgets/Sketch.js +1 -1
  740. package/widgets/Slice.d.ts +2 -2
  741. package/widgets/Slider/SliderViewModel.d.ts +2 -2
  742. package/widgets/Slider.d.ts +9 -9
  743. package/widgets/Swipe/SwipeViewModel.d.ts +1 -1
  744. package/widgets/Swipe.d.ts +2 -2
  745. package/widgets/TableList/ListItemPanel.d.ts +1 -1
  746. package/widgets/TableList.d.ts +1 -1
  747. package/widgets/TimeSlider/TimeSliderViewModel.d.ts +8 -9
  748. package/widgets/TimeSlider/types.d.ts +1 -1
  749. package/widgets/TimeSlider.d.ts +11 -12
  750. package/widgets/Track.d.ts +2 -2
  751. package/widgets/UtilityNetworkAssociations.d.ts +3 -3
  752. package/widgets/UtilityNetworkTrace.d.ts +4 -4
  753. package/widgets/UtilityNetworkValidateTopology.d.ts +1 -1
  754. package/widgets/ValuePicker.d.ts +5 -5
  755. package/widgets/VideoPlayer.d.ts +1 -1
  756. package/widgets/smartMapping/ClassedColorSlider.d.ts +1 -1
  757. package/widgets/smartMapping/ClassedSizeSlider.d.ts +1 -1
  758. package/widgets/smartMapping/ColorSizeSlider.d.ts +2 -2
  759. package/widgets/smartMapping/ColorSlider.d.ts +1 -1
  760. package/widgets/smartMapping/HeatmapSlider.d.ts +1 -1
  761. package/widgets/smartMapping/OpacitySlider.d.ts +1 -1
  762. package/widgets/smartMapping/SizeSlider.d.ts +1 -1
  763. package/widgets/smartMapping/SmartMappingSliderBase.d.ts +4 -4
  764. package/widgets/smartMapping/SmartMappingSliderViewModel.d.ts +6 -6
  765. package/widgets/support/GridControls.d.ts +1 -1
  766. package/widgets/support/SketchTooltipControls.js +1 -1
  767. package/widgets/support/SnappingControls/VisibleElements.d.ts +1 -1
  768. package/widgets/support/SnappingControls.d.ts +6 -6
  769. package/assets/esri/core/workers/chunks/0baf2cf9d8998045a605.js +0 -1
  770. package/assets/esri/core/workers/chunks/0c8a676599821b9871c2.js +0 -1
  771. package/assets/esri/core/workers/chunks/0cc68540194bd9f7aa3c.js +0 -1
  772. package/assets/esri/core/workers/chunks/153a9d087e0fe7072af4.js +0 -1
  773. package/assets/esri/core/workers/chunks/15e5471277a48f482383.js +0 -1
  774. package/assets/esri/core/workers/chunks/178c91fabf4a87bbb50b.js +0 -1
  775. package/assets/esri/core/workers/chunks/1ab4289195f5e46c6fe8.js +0 -1
  776. package/assets/esri/core/workers/chunks/2216264b22a605a0f1ce.js +0 -1
  777. package/assets/esri/core/workers/chunks/22d12c309af9c19a1a48.js +0 -1
  778. package/assets/esri/core/workers/chunks/25b815ef26cf2fa26fc8.js +0 -1
  779. package/assets/esri/core/workers/chunks/2b7615cccbaeda1649f3.js +0 -1
  780. package/assets/esri/core/workers/chunks/2bb7bb7901bd343201fc.js +0 -1
  781. package/assets/esri/core/workers/chunks/2f0ea91afc9aa8ee9cad.js +0 -1
  782. package/assets/esri/core/workers/chunks/395ee51a863757ea8124.js +0 -1
  783. package/assets/esri/core/workers/chunks/3a850b5e847b6b0ea53f.js +0 -1
  784. package/assets/esri/core/workers/chunks/3d78e9b3c97c0ce21d16.js +0 -1
  785. package/assets/esri/core/workers/chunks/449cf6ae6b6e6c2795e5.js +0 -1
  786. package/assets/esri/core/workers/chunks/4550b7620932cd6de20e.js +0 -1
  787. package/assets/esri/core/workers/chunks/455fbddd814e4681f0c0.js +0 -1
  788. package/assets/esri/core/workers/chunks/4d438627dd3509f65d5a.js +0 -1
  789. package/assets/esri/core/workers/chunks/4dcd5d5ea5875a08a7c7.js +0 -1
  790. package/assets/esri/core/workers/chunks/4ef60a76eeca20bcafb1.js +0 -1
  791. package/assets/esri/core/workers/chunks/5058715f32ff026053a9.js +0 -1
  792. package/assets/esri/core/workers/chunks/5062ed46edb88c0d343c.js +0 -1
  793. package/assets/esri/core/workers/chunks/5210bde0a05ab172ab28.js +0 -1
  794. package/assets/esri/core/workers/chunks/529dbf16ffbbd39f3fa2.js +0 -1
  795. package/assets/esri/core/workers/chunks/554f389f99db430b309c.js +0 -1
  796. package/assets/esri/core/workers/chunks/56a296cb5c1ae1ea5ab2.js +0 -1
  797. package/assets/esri/core/workers/chunks/58cf3d35771b87bd74e5.js +0 -1
  798. package/assets/esri/core/workers/chunks/5fe0bed2a0a9f8eadb28.js +0 -1
  799. package/assets/esri/core/workers/chunks/652bb1b53782cdd3103c.js +0 -1
  800. package/assets/esri/core/workers/chunks/6acab23acf3b044f5215.js +0 -1
  801. package/assets/esri/core/workers/chunks/6c2a7bac3f8e32c83292.js +0 -1
  802. package/assets/esri/core/workers/chunks/6d26e5368e8952003669.js +0 -1
  803. package/assets/esri/core/workers/chunks/7595c52b1647f092c61a.js +0 -1
  804. package/assets/esri/core/workers/chunks/7b7288c431933a75daca.js +0 -1
  805. package/assets/esri/core/workers/chunks/7c01e5eaab97a9ae80ad.js +0 -1
  806. package/assets/esri/core/workers/chunks/7cb6ccee9bcef449caea.js +0 -1
  807. package/assets/esri/core/workers/chunks/8177e95596b71bf020aa.js +0 -1
  808. package/assets/esri/core/workers/chunks/879e8439a513cb333b61.js +0 -1
  809. package/assets/esri/core/workers/chunks/8c321c6bc344544ebb51.js +0 -1
  810. package/assets/esri/core/workers/chunks/90aeef17af12cfbecb36.js +0 -1
  811. package/assets/esri/core/workers/chunks/a027da22acdaa6d6baa3.js +0 -1
  812. package/assets/esri/core/workers/chunks/a6006718fe22d9f2fa87.js +0 -1
  813. package/assets/esri/core/workers/chunks/ae0a555b047b11aa68eb.js +0 -1
  814. package/assets/esri/core/workers/chunks/b0b24fb60a21b995b348.js +0 -1
  815. package/assets/esri/core/workers/chunks/b60337c471e2b855d02a.js +0 -1
  816. package/assets/esri/core/workers/chunks/b6e155b42a4a423139e7.js +0 -1
  817. package/assets/esri/core/workers/chunks/bb830d93e97dceac350f.js +0 -1
  818. package/assets/esri/core/workers/chunks/bd12ca39198e6efbefbb.js +0 -1
  819. package/assets/esri/core/workers/chunks/bd1bbf1820e12d7a27f6.js +0 -1
  820. package/assets/esri/core/workers/chunks/bf9b2aa2e67ca746ec7c.js +0 -1
  821. package/assets/esri/core/workers/chunks/c516b185b099bf69c0ed.js +0 -1
  822. package/assets/esri/core/workers/chunks/c693e8eb96ab8a4b9cbe.js +0 -1
  823. package/assets/esri/core/workers/chunks/c9067667290e93407dd7.js +0 -1
  824. package/assets/esri/core/workers/chunks/d4da3abbd3d88cd63cb9.js +0 -1
  825. package/assets/esri/core/workers/chunks/e59c5bcf91984aa5be6d.js +0 -1
  826. package/assets/esri/core/workers/chunks/e71d08c6f545c2c70174.js +0 -1
  827. package/assets/esri/core/workers/chunks/e8a7ff6210cd11d3a828.js +0 -1
  828. package/assets/esri/core/workers/chunks/eb4a2dc5efdb873a7f25.js +0 -1
  829. package/assets/esri/core/workers/chunks/ed78e19b1e400c0db309.js +0 -1
  830. package/assets/esri/core/workers/chunks/ee34f14bbfe619b85a80.js +0 -1
  831. package/assets/esri/core/workers/chunks/f0b8de5b3cfbe9223df6.js +0 -1
  832. package/assets/esri/core/workers/chunks/f347dee99faa9ee5eef1.js +0 -1
  833. package/assets/esri/core/workers/chunks/fe52117fe6982046c9e3.js +0 -1
  834. package/layers/support/GeoreferenceBase.d.ts +0 -4
  835. package/layers/support/GeoreferenceBase.js +0 -2
  836. package/widgets/BatchAttributeForm/inputs/support/textInputElementUtils.js +0 -2
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1550,1666,3931,6061,6312,7992,8125,9169,9397],{4197(t,e,r){r.d(e,{Vj:()=>h,cj:()=>u,jh:()=>i,l5:()=>a,xm:()=>o});var n=r(34275),s=r(9093);function i(t){return t<=n.y9?new Array(t).fill(0):new Float64Array(t)}function o(t){return((0,n.iu)(t)?t.byteLength/8:t.length)<=n.y9?Array.from(t):new Float64Array(t)}function a(t,e,r){return Array.isArray(t)?t.slice(e,e+r):t.subarray(e,e+r)}function u(t){return[...t]}function h(t){const e=(0,s.vt)();for(let r=0;r<16;++r)e[r]=t[r];return e}},9093(t,e,r){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}r.d(e,{o8:()=>s,vt:()=>n,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:n,fromValues:function(t,e,r,n,s,i,o,a,u,h,c,l,f,m,g,x){return[t,e,r,n,s,i,o,a,u,h,c,l,f,m,g,x]}},Symbol.toStringTag,{value:"Module"}))},60408(t,e,r){function n(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function s(t){return void 0!==t.points}function i(t){return void 0!==t.x&&void 0!==t.y}function o(t){return void 0!==t.paths||void 0!==t.curvePaths}function a(t){return void 0!==t.rings||void 0!==t.curveRings}function u(t){return"object"==typeof t&&"vertexAttributes"in t}function h(t){return t?i(t)?"esriGeometryPoint":o(t)?"esriGeometryPolyline":a(t)?"esriGeometryPolygon":n(t)?"esriGeometryEnvelope":s(t)?"esriGeometryMultipoint":null:null}function c(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function l(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}r.d(e,{$B:()=>h,Bi:()=>a,Pv:()=>c,Rg:()=>o,U9:()=>s,W0:()=>l,ZC:()=>n,fT:()=>i,uW:()=>u})},61691(t,e,r){r.d(e,{G:()=>n});class n{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},69397(t,e,r){r.d(e,{Qf:()=>u,Qh:()=>o,RS:()=>s,Ul:()=>m,lM:()=>i,qK:()=>c});var n=r(34275);const s=16;function i(t){if(!t)return 0;let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=a(t[r],!1));return e}function o(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let r=l;for(let n=0;n<e;n++)r+=a(t[n]);return r}(t);let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=a(t[r]));return e}function a(t,e=!0){switch(typeof t){case"object":return e?o(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,n.iu)(e)?e.byteLength+f:Array.isArray(e)?h(e,s):0:0),0)}function h(t,e){return l+t.length*e}const c=32,l=16,f=145,m=64},70328(t,e,r){r.d(e,{BI:()=>v,DC:()=>l,Ej:()=>m,Ie:()=>y,Jt:()=>d,Ne:()=>g,RF:()=>c,aI:()=>C,fA:()=>o,gE:()=>u,hZ:()=>p,iT:()=>f,is:()=>M,qv:()=>E,vI:()=>x,vY:()=>a,v_:()=>P,vt:()=>i,w1:()=>h});var n=r(5443),s=(r(19419),r(4197));function i(t=P){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e,r,n,s,o,a=i()){return a[0]=t,a[1]=e,a[2]=r,a[3]=n,a[4]=s,a[5]=o,a}function a(t,e=i()){return function(t,e,r,n=i()){return p(n,E),function(t,e,r=0,n=e.length/3){let s=t[0],i=t[1],o=t[2],a=t[3],u=t[4],h=t[5];for(let t=0;t<n;t++)s=Math.min(s,e[r+3*t]),i=Math.min(i,e[r+3*t+1]),o=Math.min(o,e[r+3*t+2]),a=Math.max(a,e[r+3*t]),u=Math.max(u,e[r+3*t+1]),h=Math.max(h,e[r+3*t+2]);t[0]=s,t[1]=i,t[2]=o,t[3]=a,t[4]=u,t[5]=h}(n,t,e,r),n}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[r,n,i,o,a,u]=t;return e[0]=r,e[1]=n,e[2]=i,e[3]=r,e[4]=n,e[5]=u,e[6]=r,e[7]=a,e[8]=i,e[9]=r,e[10]=a,e[11]=u,e[12]=o,e[13]=n,e[14]=i,e[15]=o,e[16]=n,e[17]=u,e[18]=o,e[19]=a,e[20]=i,e[21]=o,e[22]=a,e[23]=u,e}function h(t,e){const r=isFinite(t[2])||isFinite(t[5]);return new n.A(r?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function c(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function f(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function m(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function g(t,e,r=t){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r!==t&&(r[3]=t[3],r[4]=t[4],r[5]=t[5]),r}function x(t,e,r=t){return r[3]=e[0],r[4]=e[1],r[5]=e[2],r!==t&&(r[0]=t[0],r[1]=t[1],r[2]=t[2]),t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function y(t){return t?p(t,E):i(E)}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function v(t,e,r,n,s){return t[0]=e,t[1]=r,t[2]=Number.NEGATIVE_INFINITY,t[3]=n,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function M(t){return 6===t.length}function C(t,e,r){if(null==t||null==e)return t===e;if(!M(t)||!M(e))return!1;if(r){for(let n=0;n<t.length;n++)if(!r(t[n],e[n]))return!1}else for(let r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}const E=[1/0,1/0,1/0,-1/0,-1/0,-1/0],P=[0,0,0,0,0,0];i()},76061(t,e,r){r.d(e,{S:()=>s});var n=r(61691);class s extends n.G{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125(t,e,r){r.r(e),r.d(e,{fromExtent:()=>p,fromGeometry:()=>x,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>v,fromPolyline:()=>M,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>g,toExtent:()=>V,toGeometry:()=>P,toMultipoint:()=>A,toPoint:()=>I,toPolygon:()=>Z,toPolyline:()=>w});var n=r(83661),s=(r(79187),r(55537)),i=r(95213),o=r(88885),a=r(5443),u=r(48526),h=r(86738),c=r(39829),l=r(82799),f=(r(90293),r(83299));const m="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function x(t){switch(t.type){case"point":return d(t);case"multipoint":return y(t);case"polyline":return M(t);case"polygon":return v(t);case"extent":return p(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function p(t){if(!t.getCacheValue(m)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(m,e)}return t.getCacheValue(m)}function y(t){if(!t.getCacheValue(m)){const e=new o.M,r=new i.P,n=t.points,s=t.hasM,a=t.hasZ,u=a?3:2;for(let t=0,i=n.length;t<i;t++){const i=n[t];r.setXYCoords(i[0],i[1]),a&&r.setZ(i[2]??0),s&&r.setM(i[u]??NaN),e.add(r)}t.setCacheValue(m,e)}return t.getCacheValue(m)}function d(t){if(!t.getCacheValue(m)){const e=new i.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(m,e)}return t.getCacheValue(m)}function v(t){if(!t.getCacheValue(m)){const{curveRings:e,hasM:r,hasZ:n,rings:s}=t,i=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:r,hasZ:n,rings:s});t.setCacheValue(m,i)}return t.getCacheValue(m)}function M(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:r,hasZ:n,paths:s}=t,i=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:r,hasZ:n,paths:s});t.setCacheValue(m,i)}return t.getCacheValue(m)}function C(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:r,hasZ:n,paths:s}=t,i=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:r,hasZ:n,paths:s});t.setCacheValue(m,i)}return t.getCacheValue(m)}function E(t){return(0,f.fromSpatialReference)(t)}function P(t,e){if(t)switch(t.getGeometryType()){case s.G.enumPoint:return I(t,e);case s.G.enumEnvelope:return V(t,e);case s.G.enumMultiPoint:return A(t,e);case s.G.enumPolyline:return w(t,e);case s.G.enumPolygon:return Z(t,e)}return null}function V(t,e){if(t.isEmpty())return null;const r=new a.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),n=t.getDescription();if(n.hasM()){const e=t.queryInterval(2,0);r.mmin=e.vmin,r.mmax=e.vmax}if(n.hasZ()){const e=t.queryInterval(1,0);r.zmin=e.vmin,r.zmax=e.vmax}return r.setCacheValue(m,t),r}function A(t,e){if(t.isEmpty())return null;const r=t.getDescription(),n=r.hasM(),s=r.hasZ(),o=[],a=new i.P;for(let e=0,r=t.getPointCount();e<r;e++){t.getPointByVal(e,a);const r=[a.getX(),a.getY()];s&&r.push(a.getZ()),n&&r.push(a.getM()),o.push(r)}const h=new u.A({hasM:n,hasZ:s,points:o,spatialReference:e});return h.setCacheValue(m,t),h}function I(t,e){if(t instanceof n.P)return new h.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const r=new h.A({x:t.getX(),y:t.getY(),spatialReference:e}),s=t.getDescription();return s.hasM()&&(r.m=t.getM()),s.hasZ()&&(r.z=t.getZ()),r.setCacheValue(m,t),r}function Z(t,e){if(t.isEmpty())return null;const r=c.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(m,t),r}function w(t,e){if(t.isEmpty())return null;const r=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(m,t),r}},87992(t,e,r){r.d(e,{JR:()=>A,ME:()=>E,MY:()=>I,NO:()=>C,Nh:()=>V,V2:()=>R,_s:()=>S,e6:()=>Y,gh:()=>P,tr:()=>N,uX:()=>p});var n=r(5482),s=r(69397),i=r(16930),o=(r(70328),r(19419)),a=r(60408),u=r(21325),h=r(513),c=r(50954),l=r(79567),f=r(52006),m=r(49663),g=r(46068),x=r(92722);class p{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:n,vertexZ:s,vertexM:i,partCount:o,partOffsets:a,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:l,segmentCountArc:f,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=n,this.vertexZ=s,this.vertexM=i,this.partCount=o,this.partOffsets=a,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=f,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:r}=this;return t&&t-e-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return null!=this.segmentFlags}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?s.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:r,hasZ:n,hasM:s,segmentCountArc:i,segmentCountBezier:o}=this,a=R(t,e,r,n,s,this.hasCurves(),i,o);a.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(a.vertexXY.set(u.subarray(0,2*e),0),a.vertexZ?.set(h.subarray(0,e),0),a.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;a.partFlags.set(e.subarray(0,r+1)),a.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:n,segmentParamCount:s}=this;a.segmentFlags.set(t.subarray(0,e),0),a.segmentIndices.set(r.subarray(0,e),0),a.segmentParams.set(n.subarray(0,s),0)}return a}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const r=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,r)=>Math.abs(t-r)>e||isNaN(t)!==isNaN(r);for(let e=0;e<this.vertexCount;++e)if(r(this.vertexXY[2*e],t.vertexXY[2*e])||r(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(r(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return new y(this)}}class y{constructor(t){this.geometry=t,this.value=new d(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(t){this.geometry=t,this.index=-1,this._readVertex=_(t),this._segments=new v(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class v{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new M(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class M{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=_(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[r++],n=e[r++],s=e[r++],i=e[r++];return{b:[this.end,[t,n],[s,i]]}}const n=e[r++],s=e[r++],i=e[r++],o=e[r++],a=e[r++],u=e[r++];r++,r++;const h=e[r++],c=e[r++];if(!Boolean(4&n)&&1===i)return{c:[this.end,[h,c]]};const l=2&n?0:1,f=1&n?0:1;return{a:[this.end,[a,u],l,f,o,s,i]}}}function C(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,o.Ie)(),(0,n.mS)(r,new Z(t,["vertexZ","vertexM","spatialReference"]),!1),(0,o.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:s,vertexZ:i,vertexM:a}=t,u=w(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,n.mS)(r,new Z(t,["vertexZ","vertexM"]),!1);const s=(0,o.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,l.e)(s,t,r),t=(0,f.yP)(r)}const[i,a,h,c]=s;e={xmin:i,ymin:a,xmax:h,ymax:c,spatialReference:u}}catch(t){r.error=t,r.hasError=!0}finally{(0,n.hk)(r)}}else{let t,n,i,o;t=n=1/0,i=o=-1/0;for(let e=0;e<r;++e){const r=s[2*e],a=s[2*e+1];t=Math.min(t,r),i=Math.max(i,r),n=Math.min(n,a),o=Math.max(o,a)}e={xmin:t,ymin:n,xmax:i,ymax:o,spatialReference:u}}if(i){let t=1/0,r=-1/0;for(const e of i)t=Math.min(t,e),r=Math.max(r,e);e.zmin=t,e.zmax=r}if(a){let t=1/0,r=-1/0;for(const e of a)t=Math.min(t,e),r=Math.max(r,e);e.mmin=t,e.mmax=r}return e}(t)),e}catch(t){r.error=t,r.hasError=!0}finally{(0,n.hk)(r)}}function E(t){let e,r,n;if((0,a.fT)(t)){n="point";const{x:s,y:i,z:o,m:a}=t,u=[s,i];null!=o&&u.push(o),null!=a&&u.push(a),r=[[u]],e=1}else(0,a.U9)(t)?(n="multipoint",r=[t.points],e=t.points.length):(0,a.Rg)(t)?(n="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(n="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,O(e[0],(0,f.yP)(e.at(-1)))&&--t),t),0));const s=R(n,e,n.includes("point")?0:r.length,(0,a.Pv)(t),(0,a.W0)(t),(0,f.Ed)(t)),{hasZ:i,hasM:o,vertexXY:u,vertexZ:h,vertexM:c}=s;function l(t){u[2*g]=t[0],u[2*g+1]=t[1],i&&(h[g]=t[2]),o&&(c[g]=t[m]),++g}s.spatialReference=t.spatialReference??void 0;const m=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!i&&!o){for(const[t,e]of r[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of r[0])l(t);return s}const x="polygon"===n,{partOffsets:p}=s;let y=0;if(!s.hasCurves()){for(const t of r){if(p[y++]=g,0===t.length)continue;let e=t.length;if(x&&O(t[0],t.at(-1))&&--e,i||o)for(let r=0;r<e;++r)l(t[r]);else for(let r=0;r<e;++r){const[e,n]=t[r];u[2*g]=e,u[2*g+1]=n,++g}}return p[y]=g,s}function d(t){const e=v+t;if(e<=(s.segmentParams?.length??0))return;let r=e*G;r=20*Math.ceil(r/20);const n=s.segmentParams;s.segmentParams=new Float64Array(r),null!=n&&s.segmentParams.set(n)}let v=0;for(const t of r){if(s.partOffsets[y++]=g,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const n=t[e];l(r);const i=g-1;(0,f.wY)(n)?(d(10),++s.segmentCountArc,v=S(r,n,s,i,v),r=n.a[0]):(0,f.DA)(n)?(d(10),++s.segmentCountArc,v=b(r,n,s,i,v),r=n.a[0]):(0,f.aO)(n)?(d(10),++s.segmentCountArc,v=Y(r,n,s,i,v),r=n.c[0]):(0,f.n1)(n)?(d(4),++s.segmentCountBezier,v=N(0,n,s,i,v),r=n.b[0]):r=n}x&&O(e,r)||l(r)}return s.partOffsets[y]=g,s}function P(t){const e=_(t),{vertexCount:r,partCount:n,hasZ:s,hasM:i}=t,o=w(t);if("point"===t.type){const[e,r]=t.vertexXY,n=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:r,z:n,m:s,spatialReference:o}}let a=0;if("multipoint"===t.type){const t=[];for(;a<r;)t.push(e(a++));return{points:t,spatialReference:o,hasZ:s,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let s=0;s<n;++s){const n=t.partOffsets[s+1],i=new Array;for(;a<n;)i.push(e(a++));u&&i.length>0&&i.push(i[0]),r.push(i)}return u?{rings:r,hasZ:s,hasM:i,spatialReference:o}:{paths:r,hasZ:s,hasM:i,spatialReference:o}}const h=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);h.push(t)}return u?{rings:[],curveRings:h,hasZ:s,hasM:i,spatialReference:o}:{paths:[],curvePaths:h,hasZ:s,hasM:i,spatialReference:o}}function V(t,{lengths:e,coords:r,hasZ:n,hasM:s},i){const o=t.includes("point")?0:e.length,a="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(a?o:0);n??=!1,s??=!1;const h=R(t,u,o,n,s,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=r[e++],h.vertexXY[2*t+1]=r[e++],n&&(h.vertexZ[t]=r[e++]),s&&(h.vertexM[t]=r[e++]);return h}const c=2+Number(n)+Number(s);let l=0,f=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[f],i=e+t-Number(a);h.partOffsets[++f]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=r[l++],h.vertexXY[2*t+1]=r[l++],n&&(h.vertexZ[t]=r[l++]),s&&(h.vertexM[t]=r[l++]);a&&(l+=c)}return h}function A({type:t,vertexCount:e,vertexXY:r,vertexZ:n,vertexM:s,partCount:i,partOffsets:o,hasZ:a,hasM:u}){const h=new x.A([],[],a,u);i=Math.max(i,1);const c="polygon"===t;let l=0;for(let t=0;t<i;++t){const i=o?.[t+1]??e,f=h.coords.length;for(let t=l;t<i;++t)h.coords.push(r[2*t],r[2*t+1]),a&&h.coords.push(n[t]),u&&h.coords.push(s[t]);if(c){const t=l;h.coords.push(r[2*t],r[2*t+1]),a&&h.coords.push(n[t]),u&&h.coords.push(s[t])}h.lengths.push((h.coords.length-f)/h.stride),l=i}return"point"===t&&(h.lengths.length=0),h}function I(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,r=t.isCustomWkid()?0:t.getOldID();if(r<=0)return{wkt:e};let n=t.getLatestID();(n<=0||n===r)&&(n=void 0);const s=t.getVCS();if(null==s)return{wkid:r,latestWkid:n,wkt:e};const i=s.isCustomWkid()?0:s.getOldID();if(i<=0)return{wkt:e};let o=t.getLatestVerticalID();return(o<=0||o===i)&&(o=void 0),{wkid:r,wkt:e,latestWkid:n,vcsWkid:i,latestVcsWkid:o}}(t.getSpatialReference()),t=t.getGeometry()),new p({...t.toFlatGeometry(),spatialReference:e})}class Z{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const r of e)t[r]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function w({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function _({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?n=>[t[2*n],t[2*n+1],e[n],r[n]]:r=>[t[2*r],t[2*r+1],e[r]]:r?e=>[t[2*e],t[2*e+1],r[e]]:e=>[t[2*e],t[2*e+1]]}function O(t,e){return t.every((t,r)=>t===e[r])}function R(t,e,r,n,s,i,o,a){o??=0,a??=0;const u=new p({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:o,segmentCountBezier:a});let h=2*Float64Array.BYTES_PER_ELEMENT*e;n&&(h+=Float64Array.BYTES_PER_ELEMENT*e),s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(r+1)*Int32Array.BYTES_PER_ELEMENT,h+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let l=0;return u.vertexXY=new Float64Array(c,l,2*e),l+=u.vertexXY.byteLength,n&&(u.vertexZ=new Float64Array(c,l,e),l+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(c,l,e),l+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(c,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,l,e),u.segmentIndices.fill(T),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,l,r+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,l,r+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,r).fill(1)),i&&(u.segmentFlags=new Int8Array(c,l,e),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function S(t,e,{segmentFlags:r,segmentIndices:n,segmentParams:s},i,o){r[i]=4,n[i]=o;const[a,[u,h],c,l,f,m,x]=e.a;let p=4;l||(p|=1),c||(p|=2);const y=(0,g.SW)(t,e),[d,v]=(0,g.Uk)(y,.5);return s[o++]=p,s[o++]=m,s[o++]=x,s[o++]=f,s[o++]=u,s[o++]=h,s[o++]=y.u2-y.u1,s[o++]=y.u1,s[o++]=d,s[o++]=v,o}function b(t,e,{segmentFlags:r,segmentIndices:n,segmentParams:s},i,o){r[i]=4,n[i]=o;const a=(0,m.i)(t,e);return F(a,4,...(0,h.mq)(a,.5),s,o)}function Y(t,e,{segmentFlags:r,segmentIndices:n,segmentParams:s},i,o){return r[i]=4,n[i]=o,F((0,c.pM)(t,e),0,...e.c[1],s,o)}function F(t,e,r,n,s,i){const{cx:o,cy:a,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),s[i++]=e,s[i++]=c,s[i++]=1,s[i++]=0,s[i++]=o,s[i++]=a,s[i++]=h-u,s[i++]=u,s[i++]=r,s[i++]=n,i}function N(t,{b:[e,[r,n],[s,i]]},{segmentFlags:o,segmentIndices:a,segmentParams:u},h,c){return o[h]=2,a[h]=c,u[c++]=r,u[c++]=n,u[c++]=s,u[c++]=i,c}const G=1.61803,T=-1},92722(t,e,r){r.d(e,{A:()=>s});var n=r(69397);class s{constructor(t=[],e=[],r=!1,n=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=r,this.hasM=n}static fromJSON({lengths:t,coords:e,hasZ:r,hasM:n}){return new s(t,e,r||!1,n||!1)}static fromRect([t,e,r,n]){const i=r-t,o=n-e;return new s([5],[t,e,i,0,0,o,-i,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,n.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const r of this.lengths){if(r<3)continue;const{stride:n}=this;let s=this.coords[n*e],i=this.coords[n*e+1];for(let o=1;o<r;o+=1){const r=n*(e+o),a=this.coords[r],u=this.coords[r+1];t+=-.5*(a-s)*(u+i),s=a,i=u}e+=r}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:r}=this;for(const n of this.lengths){for(let s=0;s<n;s++){const n=r*(e+s);t(this.coords[n],this.coords[n+1])}e+=n}}deltaDecode(){const t=this.clone(),{coords:e,lengths:r}=t;let n=0;const{stride:s}=this;for(const t of r){for(let r=1;r<t;r++){const t=s*(n+r);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}n+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:r,size:n}=this,i=this.coords.slice(0,n*r);return t?(t.set(i),new s(e,t)):new s(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const r=new Array(e*t);for(let e=0,n=0;e<r.length;e+=t)r[n++]=this.coords[e],r[n++]=this.coords[e+1];return new s(this.lengths,r,!1,!1)}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5804,7885],{8303(e,t,r){r.d(t,{A:()=>b});var i=r(5482),s=r(92602),o=r(70333),n=r(11254),a=r(60999),l=r(49186),u=r(53966),d=r(97768),p=r(74887),c=r(84952),h=r(91429),y=r(77548),g=r(20655),f=r(80812),m=r(41318),v=r(10407),w=r(36005),C=r(43937);const b=e=>{const t=e;let b=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,d.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new f.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:i}=await r.e(1204).then(r.bind(r,41204));return(0,p.Te)(t),await i({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,p.zf)(e)||u.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,p.QP)(e),!0)))}async setUserPrivileges(e,t){if(!s.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:i},content:{updateItem:s}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",i),this._set("userHasUpdateItemPrivileges",s)}catch(e){(0,p.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const i=!o.id?.findCredential(this.url),s=e===r.id;if(s&&r.portal.user)return this._getUserPrivileges(r,i);let n,a;if(s)n=r.portal.url;else try{n=await(0,y.wI)(this.url,t)}catch(e){(0,p.QP)(e)}if(!n||!(0,c.b8)(n,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;a=await(o.id?.getCredential(`${n}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,p.QP)(e)}const l=!0,u=!1,d=!1;if(!a)return{features:{edit:l,fullEdit:u},content:{updateItem:d}};try{if(s?await r.reload():(r=new f.default({id:e,portal:{url:n}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,i)}catch(e){(0,p.QP)(e)}return{features:{edit:l,fullEdit:u},content:{updateItem:d}}}_getUserPrivileges(e,t){const r=(0,v.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,p.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?o.id?.findCredential(this.url):null;if(!t)return!0;const r=S.credential===t?S.user:await this._fetchEditingUser(e);return S.credential=t,S.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const r=o.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const i=`${r.owningSystemUrl}/sharing/rest`,s=g.A.getDefault();if(s&&s.loaded&&(0,c.S8)(s.restUrl)===(0,c.S8)(i))return s.user;const l=`${i}/community/self`,u=null!=e?e.signal:null,d=await(0,a.Ke)((0,n.A)(l,{authMode:"no-prompt",query:{f:"json"},signal:u}));return d.ok?m.A.fromJSON(d.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,i=this.portalItem?.id&&(this.portalItem.portal||g.A.getDefault());return r&&i&&!(0,c.ut)(i.restUrl,r.restUrl)?(t.messages&&t.messages.push(new l.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,i.Cg)([(0,h.MZ)({type:f.default})],b.prototype,"portalItem",null),(0,i.Cg)([(0,w.w)("web-document","portalItem",["itemId"])],b.prototype,"readPortalItem",null),(0,i.Cg)([(0,C.K)("web-document","portalItem",{itemId:{type:String}})],b.prototype,"writePortalItem",null),(0,i.Cg)([(0,h.MZ)({clonable:!1})],b.prototype,"resourceReferences",void 0),(0,i.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],b.prototype,"userHasEditingPrivileges",void 0),(0,i.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],b.prototype,"userHasFullEditingPrivileges",void 0),(0,i.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],b.prototype,"userHasUpdateItemPrivileges",void 0),b=(0,i.Cg)([(0,h.$K)("esri.layers.mixins.PortalLayer")],b),b},S={credential:null,user:null}},10407(e,t,r){r.d(t,{It:()=>h,LG:()=>n,OM:()=>u,Sm:()=>d,Y:()=>a,bK:()=>l,mm:()=>c,sQ:()=>p});var i=r(91218),s=r(16930),o=r(28735);function n(e,t){if(!a(e,t)){const r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function a(e,t){return!!e.typeKeywords?.includes(t)}function l(e){return a(e,c.HOSTED_SERVICE)}function u(e,t){const r=e.typeKeywords;if(r){const e=r.indexOf(t);e>-1&&r.splice(e,1)}}function d(e,t,r){r?n(e,t):u(e,t)}async function p(e){const t=e.clone().normalize();let r;if(t.length>1)for(const e of t)r?e.width>r.width&&(r=e):r=e;else r=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,o.ci)(e);const r=s.A.WGS84;return await(0,i.initializeProjection)(t,r),(0,i.project)(e,r)}(r)}const c={CHARTS:"Charts",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery"};function h(e){const{portal:t,isOrgItem:r,itemControl:i}=e,s=t.user?.privileges;let o=!s||s.includes("features:user:edit"),n=!!r&&!!s?.includes("features:user:fullEdit");const a="update"===i||"admin"===i;return a?n=o=!0:n&&(o=!0),{features:{edit:o,fullEdit:n},content:{updateItem:a}}}},13069(e,t,r){r.d(t,{AG:()=>a,lk:()=>s,vD:()=>n,yS:()=>o});const i="randomUUID"in crypto;function s(){if(i)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function o(){return`{${s().toUpperCase()}}`}function n(){return`{${s()}}`}function a(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},15804(e,t,r){r.d(t,{addOrUpdateResources:()=>a,bg:()=>c,cL:()=>p,fetchResources:()=>n,removeAllResources:()=>u,removeResource:()=>l});var i=r(11254),s=r(49186),o=r(84952);async function n(e,t={},r){await e.load(r);const i=(0,o.fj)(e.itemUrl,"resources"),{start:s=1,num:n=10,sortOrder:a="asc",sortField:l="resource"}=t,u={query:{start:s,num:n,sortOrder:a,sortField:l,token:e.apiKey},signal:r?.signal},d=await e.portal.request(i,u);return{total:d.total,nextStart:d.nextStart,resources:d.resources.map(({created:t,size:r,resource:i})=>({created:new Date(t),size:r,resource:e.resourceFromPath(i)}))}}async function a(e,t,r,i){const n=new Map;for(const{resource:e,content:i,compress:o,access:a}of t){if(!e.hasPath())throw new s.A(`portal-item-resource-${r}:invalid-path`,"Resource does not have a valid path");const[t,l]=d(e.path),u=`${t}/${o??""}/${a??""}`;n.has(u)||n.set(u,{prefix:t,compress:o,access:a,files:[]}),n.get(u).files.push({fileName:l,content:i})}await e.load(i);const a=(0,o.fj)(e.userItemUrl,"add"===r?"addResources":"updateResources");for(const{prefix:t,compress:r,access:s,files:o}of n.values()){const n=25;for(let l=0;l<o.length;l+=n){const u=o.slice(l,l+n),d=new FormData;t&&"."!==t&&d.append("resourcesPrefix",t),r&&d.append("compress","true"),s&&d.append("access",s);let p=0;for(const{fileName:e,content:t}of u)d.append("file"+ ++p,t,e);d.append("f","json"),await e.portal.request(a,{method:"post",body:d,signal:i?.signal})}}}async function l(e,t,r){if(!t.hasPath())throw new s.A("portal-item-resources-remove:invalid-path","Resource does not have a valid path");await e.load(r);const i=(0,o.fj)(e.userItemUrl,"removeResources");await e.portal.request(i,{method:"post",query:{resource:t.path},signal:r?.signal}),t.portalItem=null}async function u(e,t){await e.load(t);const r=(0,o.fj)(e.userItemUrl,"removeResources");return e.portal.request(r,{method:"post",query:{deleteAll:!0},signal:t?.signal})}function d(e){const t=e.lastIndexOf("/");return-1===t?[".",e]:[e.slice(0,t),e.slice(t+1)]}async function p(e){return"blob"===e.type?e.blob:"json"===e.type?new Blob([e.jsonString],{type:"application/json"}):(await(0,i.A)(e.url,{responseType:"blob"})).data}function c(e,t){if(!e.hasPath())return null;const[r,,i]=function(e){const[t,r]=function(e){const t=(0,o.Zo)(e);return null==t?[e,""]:[e.slice(0,e.length-t.length-1),`.${t}`]}(e),[i,s]=d(t);return[i,s,r]}(e.path);return e.portalItem.resourceFromPath((0,o.fj)(r,t+i))}},17036(e,t,r){r.d(t,{p:()=>l});var i=r(44208),s=r(53966),o=r(20437),n=r(95466),a=r(30524);function l(){return{fields:{type:[o.A],value:null,set:function(e){if(e&&(0,i.A)("big-integer-warning-enabled")){const t=e.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(t.length){const e=t.map(e=>`'${e.name}'`).join(", ");s.A.getLogger(this).warn("#fields",`Layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}') references big-integer field(s): ${e}, support for which is experimental. Only integers less than ${Number.MAX_SAFE_INTEGER} (Number.MAX_SAFE_INTEGER) are supported.`)}}this._set("fields",e)}},fieldsIndex:{readOnly:!0,get(){return n.A.fromLayer(this)}},outFields:{type:[String],json:{read:!1},set:function(e){this._userOutFields=e,this.notifyChange("outFields")},get:function(){const e=this._userOutFields;if(!e?.length)return null;if(e.includes("*"))return["*"];if(!this.fields)return e;for(const t of e){const r=this.fieldsIndex?.has(t);r||s.A.getLogger("esri.layers.support.fieldProperties").error("field-attributes-layer:invalid-field",`Invalid field ${t} found in outFields`,{layer:this,outFields:e})}return(0,a.DB)(this.fieldsIndex,e)}}}}},18768(e,t,r){r.d(t,{b:()=>a});var i=r(5482),s=r(53966),o=r(91429),n=r(60694);const a=e=>{const t=e;let r=class extends t{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,n.qg)(this.url);if(e?.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,n.Jf)(e,s.A.getLogger(this)))}};return(0,i.Cg)([(0,o.MZ)()],r.prototype,"title",null),(0,i.Cg)([(0,o.MZ)({type:String})],r.prototype,"url",null),r=(0,i.Cg)([(0,o.$K)("esri.layers.mixins.ArcGISService")],r),r}},19356(e,t,r){r.d(t,{i:()=>i});const i=new(r(66552).J)({none:"none",lowFourBit:"low-four-bit",highFourBit:"high-four-bit",absoluteValue:"absolute-value",moduloTen:"modulo-ten"})},20061(e,t,r){r.d(t,{A:()=>h});var i,s=r(5482),o=r(69540),n=r(66552),a=r(25482),l=r(91429),u=r(56507),d=r(93223);const p=(0,n.O)()({ascendingValues:"ascending-values",descendingValues:"descending-values"});let c=i=class extends((0,o.OU)(a.o)){static from(e){return(0,u.PZ)(i,e)}constructor(e){super(e),this.title=null,this.order=null}};(0,s.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],c.prototype,"title",void 0),(0,s.Cg)([(0,d.e)(p)],c.prototype,"order",void 0),c=i=(0,s.Cg)([(0,l.$K)("esri.renderers.support.RendererLegendOptions")],c);const h=c},25036(e,t,r){r.d(t,{j:()=>o});var i=r(5482),s=r(91429);const o=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.minScale=0,this.maxScale=0}get effectiveScaleRange(){const e={minScale:this.minScale,maxScale:this.maxScale},t=this.parent;void 0!==t?.effectiveScaleRange&&function(e,t){e.minScale=e.minScale>0?t.minScale>0?Math.min(e.minScale,t.minScale):e.minScale:t.minScale,e.maxScale=e.maxScale>0?t.maxScale>0?Math.max(e.maxScale,t.maxScale):e.maxScale:t.maxScale}(e,t.effectiveScaleRange);const r=this._get("effectiveScaleRange");return r&&r.minScale===e.minScale&&r.maxScale===e.maxScale?r:e}};return(0,i.Cg)([(0,s.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],r.prototype,"minScale",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],r.prototype,"maxScale",void 0),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],r.prototype,"effectiveScaleRange",null),r=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.ScaleRangeLayer")],r),r}},26121(e,t,r){r.d(t,{ci:()=>n,dL:()=>o});var i=r(49186),s=(r(77548),r(59923));async function o(e){const t=[];for(const r of e.allLayers)if("beforeSave"in r&&"function"==typeof r.beforeSave){const e=r.beforeSave();e&&t.push(e)}await Promise.allSettled(t)}function n(e,t,r){let o=(e.messages??[]).filter(({type:e})=>"error"===e).map(({name:e,message:t,details:r})=>new i.A(e,t,r));if(e.blockedRelativeUrls&&(o=o.concat(e.blockedRelativeUrls.map(e=>(0,s.GL)("url",`Relative url '${e}' is not supported`)))),r){const{ignoreUnsupported:e,supplementalUnsupportedErrors:t=[],requiredPropertyChecksDisabled:i}=r;e&&(o=o.filter(({name:e})=>!(s.MG.has(e)||t.includes(e)))),i&&(o=o.filter(e=>"web-document-write:property-required"!==e.name))}if(o.length>0)throw new i.A(t.errorName,"Failed to save due to unsupported or invalid content. See 'details.errors' for more detailed information",{errors:o})}},30291(e,t,r){r.d(t,{tn:()=>u});var i=r(37838),s=r(30524),o=r(41227),n=r(89893),a=r(66159),l=r(68780);function u({displayField:e,editFieldsInfo:t,fields:r,objectIdField:l,title:u},h){if(!r)return null;const g=function(e,t){const r=t?.visibleFieldNames;return function({fields:e,ignoreFieldTypes:t,sortDisabled:r}){const i=e;return t&&(e=e.filter(e=>!t.includes(e.type))),e===i&&(e=e.slice()),!0!==r&&e.sort(p),e}({fields:e.fields??[],ignoreFieldTypes:t?.ignoreFieldTypes||y,sortDisabled:t?.sortDisabled}).map(t=>new o.A({fieldName:t.name,isEditable:(0,s.R$)(t,e),label:t.alias,format:c(t),visible:d(t,{...e,visibleFieldNames:r})}))}({editFieldsInfo:t,fields:r,objectIdField:l},h);if(!g.length)return null;const f=function(e){const t=(0,s.mB)(e),{titleBase:r}=e;return t?`${r}: {${t.trim()}}`:r??""}({titleBase:u,fields:r,displayField:e}),m=[new a.A,new n.A];return new i.A({title:f,content:m,fieldInfos:g})}const d=(e,t)=>t.visibleFieldNames?t.visibleFieldNames.has(e.name):(0,s.Bz)(e,t);function p(e,t){return"oid"===e.type?-1:"oid"===t.type?1:h(e)?-1:h(t)?1:(e.alias||e.name).toLocaleLowerCase().localeCompare((t.alias||t.name).toLocaleLowerCase())}function c(e){switch(e.type){case"small-integer":case"integer":return new l.A({digitSeparator:!0,places:0});case"single":case"double":return new l.A({digitSeparator:!0,places:2});case"string":return(0,s.JL)(e.name)?new l.A({digitSeparator:!0,places:0}):void 0;default:return}}function h(e){if("name"===(e.name&&e.name.toLowerCase()))return!0;const t=e.alias?.toLowerCase();return"name"===t}const y=["geometry","blob","raster","guid","xml"]},46130(e,t,r){r.d(t,{v:()=>s});var i=r(76553);function s(e){e?.writtenProperties&&e.writtenProperties.forEach(({target:e,propName:t,newOrigin:r})=>{(0,i.H)(e)&&r&&e.originOf(t)!==r&&e.updateOrigin(t,r)})}},48425(e,t,r){r.d(t,{A:()=>m});var i,s=r(5482),o=r(4718),n=r(91429),a=r(51857),l=r(20061),u=r(68197),d=r(25482),p=r(56507);let c=i=class extends d.o{constructor(e){super(e),this.description=null,this.label=null,this.values=null,this.color=null}clone(){return new i({description:this.description,label:this.label,values:(0,o.o8)(this.values),color:(0,o.o8)(this.color)})}};(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],c.prototype,"description",void 0),(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],c.prototype,"label",void 0),(0,s.Cg)([(0,n.MZ)({type:[String],json:{write:{isRequired:!0}}})],c.prototype,"values",void 0),(0,s.Cg)([(0,n.MZ)({type:u.A,json:{type:[p.jz],write:{isRequired:!0}}})],c.prototype,"color",void 0),c=i=(0,s.Cg)([(0,n.$K)("esri.renderers.support.pointCloud.ColorUniqueValueInfo")],c);const h=c;var y,g=r(19356),f=r(93223);let m=y=class extends a.A{constructor(e){super(e),this.type="point-cloud-unique-value",this.field=null,this.fieldTransformType=null,this.colorUniqueValueInfos=null,this.legendOptions=null}clone(){return new y({...this.cloneProperties(),field:(0,o.o8)(this.field),fieldTransformType:(0,o.o8)(this.fieldTransformType),colorUniqueValueInfos:(0,o.o8)(this.colorUniqueValueInfos),legendOptions:(0,o.o8)(this.legendOptions)})}};(0,s.Cg)([(0,f.e)({pointCloudUniqueValueRenderer:"point-cloud-unique-value"})],m.prototype,"type",void 0),(0,s.Cg)([(0,n.MZ)({json:{write:{isRequired:!0}},type:String})],m.prototype,"field",void 0),(0,s.Cg)([(0,n.MZ)({type:g.i.apiValues,json:{type:g.i.jsonValues,read:g.i.read,write:g.i.write}})],m.prototype,"fieldTransformType",void 0),(0,s.Cg)([(0,n.MZ)({type:[h],json:{write:{isRequired:!0}}})],m.prototype,"colorUniqueValueInfos",void 0),(0,s.Cg)([(0,n.MZ)({type:l.A,json:{write:!0}})],m.prototype,"legendOptions",void 0),m=y=(0,s.Cg)([(0,n.$K)("esri.renderers.PointCloudUniqueValueRenderer")],m)},51857(e,t,r){r.d(t,{A:()=>S});var i,s=r(5482),o=r(66552),n=r(25482),a=r(4718),l=r(91429);let u=i=class extends n.o{constructor(e){super(e),this.field=null,this.minValue=0,this.maxValue=255}clone(){return new i({field:this.field,minValue:this.minValue,maxValue:this.maxValue})}};(0,s.Cg)([(0,l.MZ)({type:String,json:{write:{isRequired:!0}}})],u.prototype,"field",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,nonNullable:!0,json:{write:{isRequired:!0}}})],u.prototype,"minValue",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,nonNullable:!0,json:{write:{isRequired:!0}}})],u.prototype,"maxValue",void 0),u=i=(0,s.Cg)([(0,l.$K)("esri.renderers.support.pointCloud.ColorModulation")],u);const d=u,p=new o.J({pointCloudFixedSizeAlgorithm:"fixed-size",pointCloudSplatAlgorithm:"splat"});let c=class extends n.o{};(0,s.Cg)([(0,l.MZ)({type:p.apiValues,readOnly:!0,nonNullable:!0,json:{type:p.jsonValues,read:!1,write:{writer:p.write,isRequired:!0}}})],c.prototype,"type",void 0),c=(0,s.Cg)([(0,l.$K)("esri.renderers.support.pointCloud.PointSizeAlgorithm")],c);const h=c;var y,g=r(93223);let f=y=class extends h{constructor(e){super(e),this.type="fixed-size",this.size=0,this.useRealWorldSymbolSizes=null}clone(){return new y({size:this.size,useRealWorldSymbolSizes:this.useRealWorldSymbolSizes})}};(0,s.Cg)([(0,g.e)({pointCloudFixedSizeAlgorithm:"fixed-size"})],f.prototype,"type",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,nonNullable:!0,json:{write:{isRequired:!0}}})],f.prototype,"size",void 0),(0,s.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"useRealWorldSymbolSizes",void 0),f=y=(0,s.Cg)([(0,l.$K)("esri.renderers.support.pointCloud.PointSizeFixedSizeAlgorithm")],f);const m=f;var v;let w=v=class extends h{constructor(e){super(e),this.type="splat",this.scaleFactor=1}clone(){return new v({scaleFactor:this.scaleFactor})}};(0,s.Cg)([(0,g.e)({pointCloudSplatAlgorithm:"splat"})],w.prototype,"type",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,value:1,nonNullable:!0,json:{write:{isRequired:!0}}})],w.prototype,"scaleFactor",void 0),w=v=(0,s.Cg)([(0,l.$K)("esri.renderers.support.pointCloud.PointSizeSplatAlgorithm")],w);const C={key:"type",base:h,typeMap:{"fixed-size":m,splat:w}},b=(0,o.O)()({pointCloudClassBreaksRenderer:"point-cloud-class-breaks",pointCloudRGBRenderer:"point-cloud-rgb",pointCloudStretchRenderer:"point-cloud-stretch",pointCloudUniqueValueRenderer:"point-cloud-unique-value"});let S=class extends n.o{constructor(e){super(e),this.type=void 0,this.pointSizeAlgorithm=null,this.colorModulation=null,this.pointsPerInch=10}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}cloneProperties(){return{pointSizeAlgorithm:(0,a.o8)(this.pointSizeAlgorithm),colorModulation:(0,a.o8)(this.colorModulation),pointsPerInch:(0,a.o8)(this.pointsPerInch)}}};(0,s.Cg)([(0,l.MZ)({type:b.apiValues,readOnly:!0,nonNullable:!0,json:{type:b.jsonValues,read:!1,write:{writer:b.write,isRequired:!0}}})],S.prototype,"type",void 0),(0,s.Cg)([(0,l.MZ)({types:C,json:{write:!0}})],S.prototype,"pointSizeAlgorithm",void 0),(0,s.Cg)([(0,l.MZ)({type:d,json:{write:!0}})],S.prototype,"colorModulation",void 0),(0,s.Cg)([(0,l.MZ)({json:{write:!0},nonNullable:!0,type:Number})],S.prototype,"pointsPerInch",void 0),S=(0,s.Cg)([(0,l.$K)("esri.renderers.PointCloudRenderer")],S)},52136(e,t,r){r.d(t,{p:()=>o});var i=r(5482),s=r(91429);const o=e=>{const t=e;let r=class extends t{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,i.Cg)([(0,s.MZ)({type:String})],r.prototype,"apiKey",null),r=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.APIKeyMixin")],r),r}},54239(e,t,r){r.d(t,{A:()=>f});var i,s=r(5482),o=r(4576),n=r(66552),a=r(25482),l=r(86211),u=r(67076),d=r(91429),p=r(43937),c=r(36005);const h=(0,n.O)()({orthometric:"gravity-related-height",gravity_related_height:"gravity-related-height",ellipsoidal:"ellipsoidal"}),y=h.jsonValues.slice();(0,o.Xy)(y,"orthometric");const g=(0,n.O)()({meter:"meters",foot:"feet","us-foot":"us-feet","clarke-foot":"clarke-feet","clarke-yard":"clarke-yards","clarke-link":"clarke-links","sears-yard":"sears-yards","sears-foot":"sears-feet","sears-chain":"sears-chains","benoit-1895-b-chain":"benoit-1895-b-chains","indian-yard":"indian-yards","indian-1937-yard":"indian-1937-yards","gold-coast-foot":"gold-coast-feet","sears-1922-truncated-chain":"sears-1922-truncated-chains","50-kilometers":"50-kilometers","150-kilometers":"150-kilometers"});let f=i=class extends a.o{constructor(e){super(e),this.heightModel="gravity-related-height",this.heightUnit="meters",this.vertCRS=null}writeHeightModel(e,t,r){return h.write(e,t,r)}readHeightModel(e,t,r){return h.read(e)||(r?.messages&&r.messages.push(function(e,t){return new u.A("height-model:unsupported",`Height model of value '${e}' is not supported`,t)}(e,{context:r})),null)}readHeightUnit(e,t,r){return g.read(e)||(r?.messages&&r.messages.push(m(e,{context:r})),null)}readHeightUnitService(e,t,r){return(0,l.LA)(e)||g.read(e)||(r?.messages&&r.messages.push(m(e,{context:r})),null)}readVertCRS(e,t){return t.vertCRS||t.ellipsoid||t.geoid}clone(){return new i({heightModel:this.heightModel,heightUnit:this.heightUnit,vertCRS:this.vertCRS})}equals(e){return!!e&&(this===e||this.heightModel===e.heightModel&&this.heightUnit===e.heightUnit&&this.vertCRS===e.vertCRS)}static deriveUnitFromSR(e,t){const r=(0,l.k1)(t);return new i({heightModel:e.heightModel,heightUnit:r??void 0,vertCRS:e.vertCRS})}write(e,t){return t={origin:"web-scene",...t},super.write(e,t)}static fromJSON(e){if(!e)return null;const t=new i;return t.read(e,{origin:"web-scene"}),t}};function m(e,t){return new u.A("height-unit:unsupported",`Height unit of value '${e}' is not supported`,t)}(0,s.Cg)([(0,d.MZ)({type:h.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:y,default:"ellipsoidal",write:{isRequired:!0}}}}})],f.prototype,"heightModel",void 0),(0,s.Cg)([(0,p.K)("web-scene","heightModel")],f.prototype,"writeHeightModel",null),(0,s.Cg)([(0,c.w)(["web-scene","service"],"heightModel")],f.prototype,"readHeightModel",null),(0,s.Cg)([(0,d.MZ)({type:g.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:g.jsonValues,write:{writer:g.write,isRequired:!0}}}}})],f.prototype,"heightUnit",void 0),(0,s.Cg)([(0,c.w)("web-scene","heightUnit")],f.prototype,"readHeightUnit",null),(0,s.Cg)([(0,c.w)("service","heightUnit")],f.prototype,"readHeightUnitService",null),(0,s.Cg)([(0,d.MZ)({type:String,constructOnly:!0,json:{origins:{"web-scene":{write:!0}}}})],f.prototype,"vertCRS",void 0),(0,s.Cg)([(0,c.w)("service","vertCRS",["vertCRS","ellipsoid","geoid"])],f.prototype,"readVertCRS",null),f=i=(0,s.Cg)([(0,d.$K)("esri.geometry.HeightModelInfo")],f)},58947(e,t,r){r.d(t,{w6:()=>I,qM:()=>x});var i=r(5482),s=r(11254),o=r(49186),n=r(53966),a=r(74887),l=r(91429),u=r(46130),d=r(5443),p=r(54239),c=r(16930),h=r(60694),y=r(10873),g=r(83898),f=r(73179);var m=r(20655),v=r(80812),w=r(88788),C=r(91682),b=r(26121),S=r(36005);const I=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.spatialReference=null,this.fullExtent=null,this.heightModelInfo=null,this.minScale=0,this.maxScale=0,this.version={major:Number.NaN,minor:Number.NaN,versionString:""},this.copyright=null,this.sublayerTitleMode="item-title",this.title=null,this.layerId=null,this.url=null,this.indexInfo=null,this._debouncedSaveOperations=(0,a.sg)(async(e,t,r)=>{switch(e){case 0:return this._save(t);case 1:return this._saveAs(r,t)}})}readSpatialReference(e,t){return M(t)}readFullExtent(e,t,r){if(null!=e&&"object"==typeof e){const i=null==e.spatialReference?{...e,spatialReference:M(t)}:e;return d.A.fromJSON(i,r)}const i=t.store,s=M(t);return null==s||null==i?.extent||!Array.isArray(i.extent)||i.extent.some(e=>e<A)?null:new d.A({xmin:i.extent[0],ymin:i.extent[1],xmax:i.extent[2],ymax:i.extent[3],spatialReference:s})}parseVersionString(e){const t={major:Number.NaN,minor:Number.NaN,versionString:e},r=e.split(".");return r.length>=2&&(t.major=parseInt(r[0],10),t.minor=parseInt(r[1],10)),t}readVersion(e,t){const r=t.store,i=null!=r.version?r.version.toString():"";return this.parseVersionString(i)}readTitlePortalItem(e){return"item-title"!==this.sublayerTitleMode?void 0:e}readTitleService(e,t){if("item-title"===this.sublayerTitleMode)return this.url?(0,h.yG)(this.url,t.name):t.name;let r=t.name;if(!r&&this.url){const e=(0,h.qg)(this.url);null!=e&&(r=e.title)}const i=this.portalItem?.title;return"item-title-and-service-name"===this.sublayerTitleMode&&i&&(r=i+" - "+r),(0,h.cr)(r)}get parsedUrl(){return(0,f.h)(this,{separator:"layers"})}async _fetchIndexAndUpdateExtent(e,t){this.indexInfo=(0,g.F)(this.parsedUrl?.path??"",this.rootNode,e,this.customParameters,this.apiKey,n.A.getLogger(this),t);const{fullExtent:r}=this;null==r||r.hasZ||this._updateExtent(r,await this.indexInfo)}_updateExtent(e,t){if("page"===t?.type){const r=t.rootIndex%t.pageSize,i=t.rootPage?.nodes?.[r];x(e,i?.obb)}else if("node"===t?.type){const r=t.rootNode?.mbs;if(!Array.isArray(r)||4!==r.length||r[0]<A)return;const i=r[2],s=r[3];e.zmin=i-s,e.zmax=i+s}}async _fetchService(e){if(null==this.url)throw new o.A("sceneservice:url-not-set","Scene service can not be loaded without valid portal item or url");if(null==this.layerId&&/SceneServer\/*$/i.test(this.url)){const t=await this._fetchFirstLayerId(e);null!=t&&(this.layerId=t)}return this._fetchServiceLayer(e)}async _fetchFirstLayerId(e){const t=await(0,s.A)(this.url??"",{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e});if(t.data&&Array.isArray(t.data.layers)&&t.data.layers.length>0)return t.data.layers[0].id}async _fetchServiceLayer(e){const t=await(0,s.A)(this.parsedUrl?.path??"",{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e});t.ssl&&this.url&&(this.url=this.url.replace(/^http:/i,"https:"));let r=!1;if(t.data.layerType&&"Voxel"===t.data.layerType&&(r=!0),r)return this._fetchVoxelServiceLayer();const i=t.data;this.read(i,this._getServiceContext()),this.validateLayer(i)}async _fetchVoxelServiceLayer(e){const t=(await(0,s.A)(this.parsedUrl?.path+"/layer",{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e})).data;this.read(t,this._getServiceContext()),this.validateLayer(t)}_getServiceContext(){return{origin:"service",portalItem:this.portalItem,portal:this.portalItem?.portal,url:this.parsedUrl}}async _ensureLoadBeforeSave(){await this.load(),"beforeSave"in this&&"function"==typeof this.beforeSave&&await this.beforeSave()}validateLayer(e){}async _saveAs(e,t){const r={..._,...t};let i=v.default.from(e);if(!i)throw new o.A("sceneservice:portal-item-required","_saveAs() requires a portal item to save to");i.id&&(i=i.clone(),i.id=null);const s=i.portal||m.A.getDefault();await this._ensureLoadBeforeSave(),i.type=P,i.portal=s;const n=(0,w.m)(i,"portal-item",!0),a={layers:[this.write({},n)]};return await Promise.all(n.resources.pendingOperations??[]),await this._validateAgainstJSONSchema(a,n,r),this.url&&(i.url=this.url),i.title||(i.title=this.title),R(i,r,1),await s.signIn(),await s.user.addItem({item:i,folder:r?.folder,data:a}),await(0,C.r)(this.resourceReferences,n),this.portalItem=i,(0,u.v)(n),n.portalItem=i,i}async _save(e){const t={..._,...e};if(!this.portalItem)throw new o.A("sceneservice:portal-item-not-set","Portal item to save to has not been set on this SceneService");if(this.portalItem.type!==P)throw new o.A("sceneservice:portal-item-wrong-type",`Portal item needs to have type "${P}"`);await this._ensureLoadBeforeSave();const r=(0,w.m)(this.portalItem,"portal-item",!0),i={layers:[this.write({},r)]};return await Promise.all(r.resources.pendingOperations??[]),await this._validateAgainstJSONSchema(i,r,t),this.url&&(this.portalItem.url=this.url),this.portalItem.title||(this.portalItem.title=this.title),R(this.portalItem,t,0),await(0,C.S)(this.portalItem,i,this.resourceReferences,r),(0,u.v)(r),this.portalItem}async _validateAgainstJSONSchema(e,t,r){const i=r?.validationOptions;(0,b.ci)(t,{errorName:"sceneservice:save"},{ignoreUnsupported:i?.ignoreUnsupported,supplementalUnsupportedErrors:["scenemodification:unsupported"]});const s=i?.enabled,a=null;if(s&&a){const t=(await a()).validate(e,r.portalItemLayerType);if(!t.length)return;const s=`Layer item did not validate:\n${t.join("\n")}`;if(n.A.getLogger(this).error(`_validateAgainstJSONSchema(): ${s}`),"throw"===i.failPolicy){const e=t.map(e=>new o.A("sceneservice:schema-validation",e));throw new o.A("sceneservice-validate:error","Failed to save layer item due to schema validation, see `details.errors`.",{validationErrors:e})}}}};return(0,i.Cg)([(0,l.MZ)(y.id)],r.prototype,"id",void 0),(0,i.Cg)([(0,l.MZ)({type:c.A})],r.prototype,"spatialReference",void 0),(0,i.Cg)([(0,S.w)("spatialReference",["spatialReference","store.indexCRS","store.geographicCRS"])],r.prototype,"readSpatialReference",null),(0,i.Cg)([(0,l.MZ)({type:d.A})],r.prototype,"fullExtent",void 0),(0,i.Cg)([(0,S.w)("fullExtent",["fullExtent","store.extent","spatialReference","store.indexCRS","store.geographicCRS"])],r.prototype,"readFullExtent",null),(0,i.Cg)([(0,l.MZ)({readOnly:!0,type:p.A})],r.prototype,"heightModelInfo",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{name:"layerDefinition.minScale",write:!0,origins:{service:{read:{source:"minScale"},write:!1}}}})],r.prototype,"minScale",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{name:"layerDefinition.maxScale",write:!0,origins:{service:{read:{source:"maxScale"},write:!1}}}})],r.prototype,"maxScale",void 0),(0,i.Cg)([(0,l.MZ)({readOnly:!0})],r.prototype,"version",void 0),(0,i.Cg)([(0,S.w)("version",["store.version"])],r.prototype,"readVersion",null),(0,i.Cg)([(0,l.MZ)({type:String,json:{read:{source:"copyrightText"}}})],r.prototype,"copyright",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{read:!1}})],r.prototype,"sublayerTitleMode",void 0),(0,i.Cg)([(0,l.MZ)({type:String})],r.prototype,"title",void 0),(0,i.Cg)([(0,S.w)("portal-item","title")],r.prototype,"readTitlePortalItem",null),(0,i.Cg)([(0,S.w)("service","title",["name"])],r.prototype,"readTitleService",null),(0,i.Cg)([(0,l.MZ)({type:Number,json:{origins:{service:{read:{source:"id"}},"portal-item":{write:{target:"id",isRequired:!0,ignoreOrigin:!0},read:!1}}}})],r.prototype,"layerId",void 0),(0,i.Cg)([(0,l.MZ)((0,f.b)({separator:"layers"}))],r.prototype,"url",void 0),(0,i.Cg)([(0,l.MZ)({readOnly:!0})],r.prototype,"parsedUrl",null),(0,i.Cg)([(0,l.MZ)({readOnly:!0})],r.prototype,"store",void 0),(0,i.Cg)([(0,l.MZ)({type:String,readOnly:!0,json:{read:{source:"store.rootNode"}}})],r.prototype,"rootNode",void 0),r=(0,i.Cg)([(0,l.$K)("esri.layers.mixins.SceneService")],r),r},A=-1e38;function M(e){if(null!=e.spatialReference)return c.A.fromJSON(e.spatialReference);const t=e.store,r=t.indexCRS||t.geographicCRS,i=r&&parseInt(r.slice(r.lastIndexOf("/")+1),10);return null!=i?new c.A(i):null}function x(e,t){if(null==t?.center||null==t.halfSize)throw new o.A("sceneservice:invalid-node-page","Invalid node page.");if(t.center[0]<A)return;const r=t.halfSize,i=t.center[2],s=Math.sqrt(r[0]*r[0]+r[1]*r[1]+r[2]*r[2]);e.zmin=i-s,e.zmax=i+s}function R(e,t,r){e.typeKeywords||(e.typeKeywords=[]);const i=t.getTypeKeywords();for(const t of i)e.typeKeywords.push(t);e.typeKeywords&&(e.typeKeywords=e.typeKeywords.filter((e,t,r)=>r.indexOf(e)===t),1===r&&(e.typeKeywords=e.typeKeywords.filter(e=>"Hosted Service"!==e)))}const P="Scene Service",_={getTypeKeywords:()=>[],portalItemLayerType:"unknown",validationOptions:{enabled:!0,ignoreUnsupported:!1,failPolicy:"throw"}}},60999(e,t,r){r.d(t,{DZ:()=>y,Ke:()=>h,Tj:()=>d,UT:()=>g,aD:()=>m,jJ:()=>u});var i=r(5482),s=r(69622),o=r(97768),n=r(74887),a=r(10107),l=r(64108);function u(e,t,r){return(0,n.Lx)(e.map((e,i)=>t.apply(r,[e,i])))}async function d(e,t,r){return(await(0,n.Lx)(e.map((e,i)=>t.apply(r,[e,i])))).map(e=>e.value)}function p(e){return{ok:!0,value:e}}function c(e){return{ok:!1,error:e}}async function h(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return p(await e)}catch(e){return c(e)}}async function y(e){try{return p(await e)}catch(e){return(0,n.QP)(e),c(e)}}function g(e,t){return new f(e,t)}let f=class extends s.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,o.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:r}=this._abortController;this.promise=e(r),this.promise.then(e=>{this._result=p(e),this._cleanup()},e=>{this._result=c(e),this._cleanup()}),this._abortHandle=(0,n.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,o.xt)(this._abortHandle),this._abortController=null}};(0,i.Cg)([(0,a.MZ)()],f.prototype,"value",null),(0,i.Cg)([(0,a.MZ)()],f.prototype,"error",null),(0,i.Cg)([(0,a.MZ)()],f.prototype,"finished",null),(0,i.Cg)([(0,a.MZ)()],f.prototype,"promise",void 0),(0,i.Cg)([(0,a.MZ)()],f.prototype,"_result",void 0),f=(0,i.Cg)([(0,l.$)("esri.core.asyncUtils.ReactiveTask")],f);class m{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});const t=await e;return{[Symbol.dispose]:t}}async run(e){const t={stack:[],error:void 0,hasError:!1};try{return(0,i.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,i.hk)(t)}}}},63531(e,t,r){r.d(t,{A:()=>m});var i,s=r(5482),o=r(4718),n=r(91429),a=r(51857),l=r(20061),u=r(68197),d=r(25482),p=r(56507);let c=i=class extends d.o{constructor(e){super(e),this.description=null,this.label=null,this.minValue=0,this.maxValue=0,this.color=null}clone(){return new i({description:this.description,label:this.label,minValue:this.minValue,maxValue:this.maxValue,color:(0,o.o8)(this.color)})}};(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],c.prototype,"description",void 0),(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],c.prototype,"label",void 0),(0,s.Cg)([(0,n.MZ)({type:Number,json:{read:{source:"classMinValue"},write:{target:"classMinValue",isRequired:!0}}})],c.prototype,"minValue",void 0),(0,s.Cg)([(0,n.MZ)({type:Number,json:{read:{source:"classMaxValue"},write:{target:"classMaxValue",isRequired:!0}}})],c.prototype,"maxValue",void 0),(0,s.Cg)([(0,n.MZ)({type:u.A,json:{type:[p.jz],write:{isRequired:!0}}})],c.prototype,"color",void 0),c=i=(0,s.Cg)([(0,n.$K)("esri.renderers.support.pointCloud.ColorClassBreakInfo")],c);const h=c;var y,g=r(19356),f=r(93223);let m=y=class extends a.A{constructor(e){super(e),this.type="point-cloud-class-breaks",this.field=null,this.legendOptions=null,this.fieldTransformType=null,this.colorClassBreakInfos=null}clone(){return new y({...this.cloneProperties(),field:this.field,fieldTransformType:this.fieldTransformType,colorClassBreakInfos:(0,o.o8)(this.colorClassBreakInfos),legendOptions:(0,o.o8)(this.legendOptions)})}};(0,s.Cg)([(0,f.e)({pointCloudClassBreaksRenderer:"point-cloud-class-breaks"})],m.prototype,"type",void 0),(0,s.Cg)([(0,n.MZ)({json:{write:{isRequired:!0}},type:String})],m.prototype,"field",void 0),(0,s.Cg)([(0,n.MZ)({type:l.A,json:{write:!0}})],m.prototype,"legendOptions",void 0),(0,s.Cg)([(0,n.MZ)({type:g.i.apiValues,json:{type:g.i.jsonValues,read:g.i.read,write:g.i.write}})],m.prototype,"fieldTransformType",void 0),(0,s.Cg)([(0,n.MZ)({type:[h],json:{write:{isRequired:!0}}})],m.prototype,"colorClassBreakInfos",void 0),m=y=(0,s.Cg)([(0,n.$K)("esri.renderers.PointCloudClassBreaksRenderer")],m)},68197(e,t,r){r.d(t,{A:()=>u});var i=r(40876),s=r(4576),o=r(34727),n=r(56507);function a(e){return(0,o.qE)((0,n.Vr)(e),0,255)}function l(e,t){const r=e.toString(16).padStart(2,"0");return t?r.slice(0,1):r}class u{static blendColors(e,t,r,i=new u){return i.r=Math.round(e.r+(t.r-e.r)*r),i.g=Math.round(e.g+(t.g-e.g)*r),i.b=Math.round(e.b+(t.b-e.b)*r),i.a=e.a+(t.a-e.a)*r,i._sanitize()}static fromRgb(e,t){const r=(0,i.lT)(e);return r?u.fromArray(r,t):null}static fromHex(e,t=new u){const r=(0,i.oW)(e);return r?u.fromArray(r,t):null}static fromArray(e,t=new u){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const r=(0,i.Eq)(e);return r?u.fromArray(r,t):null}static fromJSON(e){return null!=e?new u([e[0],e[1],e[2],(e[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(e){return e??=[0,0,0,0],e[0]=this.r/255,e[1]=this.g/255,e[2]=this.b/255,e[3]=null!=this.a?this.a:1,e}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){if("string"==typeof e)u.fromString(e,this);else if((0,s.yc)(e))u.fromArray(e,this);else{const t=e;this._set(t.r??0,t.g??0,t.b??0,t.a??1),e instanceof u||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(e){const t=e?.capitalize??!1,r=e?.digits??6,i=3===r||4===r,s=4===r||8===r,o=`#${l(this.r,i)}${l(this.g,i)}${l(this.b,i)}${s?l(Math.round(255*this.a),i):""}`;return t?o.toUpperCase():o}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=0){const t=a(this.r),r=a(this.g),i=a(this.b);return 0===e||1!==this.a?[t,r,i,a(255*this.a)]:[t,r,i]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,i.c1)(this.r),this.g=(0,i.c1)(this.g),this.b=(0,i.c1)(this.b),this.a=(0,i.G1)(this.a),this}_set(e,t,r,i){this.r=e,this.g=t,this.b=r,this.a=i}}u.prototype.declaredClass="esri.Color"},69208(e,t,r){r.d(t,{d:()=>o});var i=r(5482),s=r(91429);const o=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.customParameters=null}};return(0,i.Cg)([(0,s.MZ)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],r.prototype,"customParameters",void 0),r=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.CustomParametersMixin")],r),r}},69540(e,t,r){r.d(t,{OU:()=>d,Pw:()=>p});var i=r(5482),s=r(69622),o=(r(44208),r(4718)),n=(r(53966),r(97768)),a=r(88620),l=r(64108);const u=Symbol("ClonableMixin"),d=e=>{var t;const r=e;let s=class extends r{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){const t=(0,a.oY)(this);(0,n.Lw)(t,"unable to clone instance of non-accessor class");const r=t.metadata,i=t.store,s={},l=new Map;for(const t in r){const n=r[t],a=i?.originOf(t),u=n.clonable;if(n.readOnly||!1===u||7!==a&&0!==a&&5!==a&&4!==a)continue;const d=this[t];let p=null;if("function"==typeof u)p=u(d,e);else if("reference"===u)p=d;else if(p=(0,o.TU)(d,e),null!=d&&null==p)continue;0===a?l.set(t,p):s[t]=p}const u=new(0,Object.getPrototypeOf(this).constructor)(s);if(l.size){const e=(0,a.oY)(u)?.store;if(e)for(const[t,r]of l)e.set(t,r,0)}return u}};return s=(0,i.Cg)([(0,l.$)("esri.core.Clonable")],s),s},p=d(s.A)},69846(e,t,r){r.d(t,{A:()=>c});var i,s=r(5482),o=r(4718),n=r(91429),a=r(51857),l=r(20061),u=r(19356),d=r(72500),p=r(93223);let c=i=class extends a.A{constructor(e){super(e),this.type="point-cloud-stretch",this.field=null,this.legendOptions=null,this.fieldTransformType=null,this.stops=null}clone(){return new i({...this.cloneProperties(),field:(0,o.o8)(this.field),fieldTransformType:(0,o.o8)(this.fieldTransformType),stops:(0,o.o8)(this.stops),legendOptions:(0,o.o8)(this.legendOptions)})}};(0,s.Cg)([(0,p.e)({pointCloudStretchRenderer:"point-cloud-stretch"})],c.prototype,"type",void 0),(0,s.Cg)([(0,n.MZ)({json:{write:{isRequired:!0}},type:String})],c.prototype,"field",void 0),(0,s.Cg)([(0,n.MZ)({type:l.A,json:{write:!0}})],c.prototype,"legendOptions",void 0),(0,s.Cg)([(0,n.MZ)({type:u.i.apiValues,json:{type:u.i.jsonValues,read:u.i.read,write:u.i.write}})],c.prototype,"fieldTransformType",void 0),(0,s.Cg)([(0,n.MZ)({type:[d.A],json:{write:{isRequired:!0}}})],c.prototype,"stops",void 0),c=i=(0,s.Cg)([(0,n.$K)("esri.renderers.PointCloudStretchRenderer")],c)},72500(e,t,r){r.d(t,{A:()=>p});var i,s=r(5482),o=r(68197),n=r(25482),a=r(91429),l=r(56507),u=r(43937);let d=i=class extends n.o{constructor(e){super(e),this.color=null,this.label=null,this.value=null}writeValue(e,t,r){t[r]=e??0}clone(){return new i({color:this.color&&this.color.clone(),label:this.label,value:this.value})}};(0,s.Cg)([(0,a.MZ)({type:o.A,json:{type:[l.jz],write:{isRequired:!0}}})],d.prototype,"color",void 0),(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"label",void 0),(0,s.Cg)([(0,a.MZ)({type:Number,json:{write:{writerEnsuresNonNull:!0}}})],d.prototype,"value",void 0),(0,s.Cg)([(0,u.K)("value")],d.prototype,"writeValue",null),d=i=(0,s.Cg)([(0,a.$K)("esri.renderers.visualVariables.support.ColorStop")],d);const p=d},73179(e,t,r){r.d(t,{b:()=>l,h:()=>u});var i=r(4718),s=r(53966),o=r(84952),n=r(60694),a=r(10873);function l(e){const{nonStandardUrlAllowed:t=!1,separator:r}=e??{},o=(0,i.o8)(a.OZ),l=o.json?.write;return"object"==typeof l&&l&&(l.writer=function(e,t,i,s){(0,n.LS)(this,e,r,t,s)}),{...o,set:function(e){if(null==e)return void this._set("url",e);const r=(0,n.HZ)({layer:this,url:e,nonStandardUrlAllowed:t,logger:s.A.getLogger(this)});this._set("url",r.url),null!=r.layerId&&this._set("layerId",r.layerId)}}}function u(e,t){const{separator:r}=t??{},i=(0,o.An)(e.url);return null!=i&&(null!=e.dynamicDataSource?i.path=(0,o.fj)(i.path,"dynamicLayer"):null!=e.layerId&&(i.path=(0,o.fj)(i.path,r??"",e.layerId.toString()))),i}},76553(e,t,r){function i(e){return e&&"getAtOrigin"in e&&"originOf"in e}r.d(t,{H:()=>i})},77885(e,t,r){r.r(t),r.d(t,{default:()=>ae});var i=r(5482),s=r(37838),o=r(11254),n=r(69540),a=r(49186),l=r(4718),u=r(53966),d=r(25728),p=r(93637),c=r(74887),h=r(84952),y=r(91429),g=r(60950),f=r(89808),m=r(99959);const v=Symbol("isPointCloudGraphicOrigin");var w;class C extends m.A{get[(w=v,g.ym)](){return this.layer}get[f.Q](){return this.layer}constructor(e){super(),this[w]=!0,this.type="point-cloud",this.layer=e}get id(){return this.layer.id}}var b=r(4146),S=r(52136),I=r(18768),A=r(69208),M=r(16131),x=r(8303),R=r(25036),P=r(58947),_=r(56507),j=r(25482);let T=class extends j.o{constructor(e){super(e),this.field=null,this.type=null}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}};(0,i.Cg)([(0,y.MZ)({type:String,json:{write:{enabled:!0,isRequired:!0}}})],T.prototype,"field",void 0),(0,i.Cg)([(0,y.MZ)({readOnly:!0,nonNullable:!0,json:{read:!1,write:{isRequired:!0}}})],T.prototype,"type",void 0),T=(0,i.Cg)([(0,y.$K)("esri.layers.pointCloudFilters.PointCloudFilter")],T);const O=T;var Z,U=r(93223);let E=Z=class extends O{constructor(e){super(e),this.requiredClearBits=null,this.requiredSetBits=null,this.type="bitfield"}clone(){return new Z({field:this.field,requiredClearBits:(0,l.o8)(this.requiredClearBits),requiredSetBits:(0,l.o8)(this.requiredSetBits)})}};(0,i.Cg)([(0,y.MZ)({type:[_.jz],json:{write:{enabled:!0,overridePolicy(){return{enabled:!0,isRequired:!this.requiredSetBits}}}}})],E.prototype,"requiredClearBits",void 0),(0,i.Cg)([(0,y.MZ)({type:[_.jz],json:{write:{enabled:!0,overridePolicy(){return{enabled:!0,isRequired:!this.requiredClearBits}}}}})],E.prototype,"requiredSetBits",void 0),(0,i.Cg)([(0,U.e)({pointCloudBitfieldFilter:"bitfield"})],E.prototype,"type",void 0),E=Z=(0,i.Cg)([(0,y.$K)("esri.layers.pointCloudFilters.PointCloudBitfieldFilter")],E);const N=E;var q;let F=q=class extends O{constructor(e){super(e),this.includedReturns=[],this.type="return"}clone(){return new q({field:this.field,includedReturns:(0,l.o8)(this.includedReturns)})}};(0,i.Cg)([(0,y.MZ)({type:[["firstOfMany","last","lastOfMany","single"]],json:{write:{enabled:!0,isRequired:!0}}})],F.prototype,"includedReturns",void 0),(0,i.Cg)([(0,U.e)({pointCloudReturnFilter:"return"})],F.prototype,"type",void 0),F=q=(0,i.Cg)([(0,y.$K)("esri.layers.pointCloudFilters.PointCloudReturnFilter")],F);const L=F;var $;let V=$=class extends O{constructor(e){super(e),this.mode="exclude",this.type="value",this.values=[]}clone(){return new $({field:this.field,mode:this.mode,values:(0,l.o8)(this.values)})}};(0,i.Cg)([(0,y.MZ)({type:["exclude","include"],json:{write:{enabled:!0,isRequired:!0}}})],V.prototype,"mode",void 0),(0,i.Cg)([(0,U.e)({pointCloudValueFilter:"value"})],V.prototype,"type",void 0),(0,i.Cg)([(0,y.MZ)({type:[Number],json:{write:{enabled:!0,isRequired:!0}}})],V.prototype,"values",void 0),V=$=(0,i.Cg)([(0,y.$K)("esri.layers.pointCloudFilters.PointCloudValueFilter")],V);const K={key:"type",base:O,typeMap:{value:V,bitfield:N,return:L}};var k,B=r(10873),z=r(20437),H=r(17036),D=r(93705),G=r(63531),J=r(51857);let Y=k=class extends J.A{constructor(e){super(e),this.type="point-cloud-rgb",this.field=null}clone(){return new k({...this.cloneProperties(),field:(0,l.o8)(this.field)})}};(0,i.Cg)([(0,U.e)({pointCloudRGBRenderer:"point-cloud-rgb"})],Y.prototype,"type",void 0),(0,i.Cg)([(0,y.MZ)({type:String,json:{write:{isRequired:!0}}})],Y.prototype,"field",void 0),Y=k=(0,i.Cg)([(0,y.$K)("esri.renderers.PointCloudRGBRenderer")],Y);const Q=Y;var W=r(69846),X=r(48425);const ee={key:"type",base:J.A,typeMap:{"point-cloud-class-breaks":G.A,"point-cloud-rgb":Q,"point-cloud-stretch":W.A,"point-cloud-unique-value":X.A},errorContext:"renderer"};var te=r(24212),re=r(30291),ie=r(36005),se=r(43937);const oe=(0,H.p)();let ne=class extends((0,P.w6)((0,I.b)((0,M.q)((0,x.A)((0,R.j)((0,d.M)((0,A.d)((0,S.p)((0,n.OU)(b.A)))))))))){constructor(...e){super(...e),this.operationalLayerType="PointCloudLayer",this.popupEnabled=!0,this.popupTemplate=null,this.opacity=1,this.filters=[],this.fields=null,this.fieldsIndex=null,this.outFields=null,this.path=null,this.legendEnabled=!0,this.renderer=null,this.type="point-cloud",this.graphicOrigin=new C(this),this.rootPagePromise=null}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}get defaultPopupTemplate(){return this.attributeStorageInfo?this.createPopupTemplate():null}getFieldDomain(e){const t=this.fieldsIndex.get(e);return t?.domain?t.domain:null}readServiceFields(e,t,r){return Array.isArray(e)?e.map(e=>{const t=new z.A;return"FieldTypeInteger"===e.type&&((e=(0,l.o8)(e)).type="esriFieldTypeInteger"),t.read(e,r),t}):Array.isArray(t.attributeStorageInfo)?t.attributeStorageInfo.map(e=>new z.A({name:e.name,type:"ELEVATION"===e.name?"double":"integer"})):null}set elevationInfo(e){null!=e&&"absolute-height"!==e.mode||this._set("elevationInfo",e),this._validateElevationInfo(e)}writeRenderer(e,t,r,i){(0,p.sM)("layerDefinition.drawingInfo.renderer",e.write({},i),t)}load(e){return this.addResolvingPromise(this._load(e)),Promise.resolve(this)}async _load(e){await this.loadFromPortal({supportedTypes:["Scene Service"]},e).catch(c.QP),await this._fetchService(e?.signal),await this._fetchRootPageAndUpdateExtent(e?.signal)}async _fetchRootPageAndUpdateExtent(e){this.rootPagePromise=this._fetchRootPage(e);const{fullExtent:t}=this;if(null!=t&&!t.hasZ){const e=await this.rootPagePromise;(0,P.qM)(t,e?.nodes?.[0]?.obb)}}async _fetchRootPage(e){const t=`${this.parsedUrl?.path??""}/nodepages/0`;try{return(await(0,o.A)(t,{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e})).data}catch(e){throw new a.A("pointcloudlayer:root-page-missing","Root page missing.",{error:e,url:t})}}createPopupTemplate(e){const t=(0,re.tn)(this,e);return t&&(this._formatPopupTemplateReturnsField(t),this._formatPopupTemplateRGBField(t)),t}_formatPopupTemplateReturnsField(e){const t=this.fieldsIndex.get("RETURNS");if(!t)return;const r=e.fieldInfos?.find(e=>e.fieldName===t.name);if(!r)return;const i=new D.A({name:"pcl-returns-decoded",title:t.alias||t.name,expression:`\n var returnValue = $feature.${t.name};\n return (returnValue % 16) + " / " + Floor(returnValue / 16);\n `});e.expressionInfos=[...e.expressionInfos||[],i],r.fieldName="expression/pcl-returns-decoded"}_formatPopupTemplateRGBField(e){const t=this.fieldsIndex.get("RGB");if(!t)return;const r=e.fieldInfos?.find(e=>e.fieldName===t.name);if(!r)return;const i=new D.A({name:"pcl-rgb-decoded",title:t.alias||t.name,expression:`\n var rgb = $feature.${t.name};\n var red = Floor(rgb / 65536, 0);\n var green = Floor((rgb - (red * 65536)) / 256,0);\n var blue = rgb - (red * 65536) - (green * 256);\n\n return "rgb(" + red + "," + green + "," + blue + ")";\n `});e.expressionInfos=[...e.expressionInfos||[],i],r.fieldName="expression/pcl-rgb-decoded"}async queryCachedStatistics(e,t){if(await this.load(t),!this.attributeStorageInfo)throw new a.A("scenelayer:no-cached-statistics","Cached statistics are not available for this layer");const r=this.fieldsIndex.get(e);if(!r)throw new a.A("pointcloudlayer:field-unexisting",`Field '${e}' does not exist on the layer`);for(const e of this.attributeStorageInfo)if(e.name===r.name){const r=(0,h.fj)(this.parsedUrl?.path??"",`./statistics/${e.key}`);return(0,o.A)(r,{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:t?t.signal:null}).then(e=>e.data)}throw new a.A("pointcloudlayer:no-cached-statistics","Cached statistics for this attribute are not available")}async saveAs(e,t){return this._debouncedSaveOperations(1,{...t,getTypeKeywords:()=>this._getTypeKeywords(),portalItemLayerType:"point-cloud"},e)}async save(){const e={getTypeKeywords:()=>this._getTypeKeywords(),portalItemLayerType:"point-cloud"};return this._debouncedSaveOperations(0,e)}validateLayer(e){if(e.layerType&&"PointCloud"!==e.layerType)throw new a.A("pointcloudlayer:layer-type-not-supported","PointCloudLayer does not support this layer type",{layerType:e.layerType});if(isNaN(this.version.major)||isNaN(this.version.minor))throw new a.A("layer:service-version-not-supported","Service version is not supported.",{serviceVersion:this.version.versionString,supportedVersions:"1.x-2.x"});if(this.version.major>2)throw new a.A("layer:service-version-too-new","Service version is too new.",{serviceVersion:this.version.versionString,supportedVersions:"1.x-2.x"})}hasCachedStatistics(e){return null!=this.attributeStorageInfo&&this.attributeStorageInfo.some(t=>t.name===e)}_getTypeKeywords(){return["PointCloud"]}_validateElevationInfo(e){(0,te.XF)(u.A.getLogger(this),(0,te.B)("Point cloud layers","absolute-height",e)),(0,te.XF)(u.A.getLogger(this),(0,te.tW)("Point cloud layers",e))}};(0,i.Cg)([(0,y.MZ)({type:["PointCloudLayer"]})],ne.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,y.MZ)(B.M6)],ne.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,y.MZ)({type:s.A,json:{name:"popupInfo",write:!0}})],ne.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],ne.prototype,"defaultPopupTemplate",null),(0,i.Cg)([(0,y.MZ)({readOnly:!0,json:{write:!1,read:!1,origins:{"web-document":{write:!1,read:!1}}}})],ne.prototype,"opacity",void 0),(0,i.Cg)([(0,y.MZ)({type:["show","hide"]})],ne.prototype,"listMode",void 0),(0,i.Cg)([(0,y.MZ)({types:[K],json:{origins:{service:{read:{source:"filters"}}},name:"layerDefinition.filters",write:!0}})],ne.prototype,"filters",void 0),(0,i.Cg)([(0,y.MZ)({type:[z.A]})],ne.prototype,"fields",void 0),(0,i.Cg)([(0,y.MZ)(oe.fieldsIndex)],ne.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,ie.w)("service","fields",["fields","attributeStorageInfo"])],ne.prototype,"readServiceFields",null),(0,i.Cg)([(0,y.MZ)(oe.outFields)],ne.prototype,"outFields",void 0),(0,i.Cg)([(0,y.MZ)({readOnly:!0})],ne.prototype,"attributeStorageInfo",void 0),(0,i.Cg)([(0,y.MZ)(B.Yj)],ne.prototype,"elevationInfo",null),(0,i.Cg)([(0,y.MZ)({type:String,json:{origins:{"web-scene":{read:!0,write:!0},"portal-item":{read:!0,write:!0}},read:!1}})],ne.prototype,"path",void 0),(0,i.Cg)([(0,y.MZ)(B.fV)],ne.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,y.MZ)({types:ee,json:{origins:{service:{read:{source:"drawingInfo.renderer"}}},name:"layerDefinition.drawingInfo.renderer",write:{target:{"layerDefinition.drawingInfo.renderer":{types:ee},"layerDefinition.drawingInfo.transparency":{type:Number}}}}})],ne.prototype,"renderer",void 0),(0,i.Cg)([(0,se.K)("renderer")],ne.prototype,"writeRenderer",null),(0,i.Cg)([(0,y.MZ)({json:{read:!1},readOnly:!0})],ne.prototype,"type",void 0),(0,i.Cg)([(0,y.MZ)({readOnly:!0})],ne.prototype,"graphicOrigin",void 0),ne=(0,i.Cg)([(0,y.$K)("esri.layers.PointCloudLayer")],ne);const ae=ne},83898(e,t,r){r.d(t,{F:()=>o});var i=r(11254),s=r(49186);async function o(e,t,r,o,n,a,l){let u=null;if(null!=r){const t=`${e}/nodepages/`,s=t+Math.floor(r.rootIndex/r.nodesPerPage);try{return{type:"page",rootPage:(await(0,i.A)(s,{query:{f:"json",...o,token:n},responseType:"json",signal:l})).data,rootIndex:r.rootIndex,pageSize:r.nodesPerPage,lodMetric:r.lodSelectionMetricType,urlPrefix:t}}catch(e){null!=a&&a.warn("#fetchIndexInfo()","Failed to load root node page. Falling back to node documents.",s,e),u=e}}if(!t)return null;const d=t?.split("/").pop(),p=`${e}/nodes/`,c=p+d;try{return{type:"node",rootNode:(await(0,i.A)(c,{query:{f:"json",...o,token:n},responseType:"json",signal:l})).data,urlPrefix:p}}catch(e){throw new s.A("sceneservice:root-node-missing","Root node missing.",{pageError:u,nodeError:e,url:c})}}},88788(e,t,r){r.d(t,{m:()=>n,v:()=>o});var i=r(84952),s=r(20655);function o(e,t){return{...a(e,t),readResourcePaths:[]}}function n(e,t,r){const s=(0,i.An)(e.itemUrl);return{...a(e,t),messages:[],writtenProperties:[],blockedRelativeUrls:[],verifyItemRelativeUrls:s?{rootPath:s.path,writtenUrls:[]}:null,resources:r?{toAdd:[],toUpdate:[],toKeep:[],pendingOperations:[]}:null}}function a(e,t){return{origin:t,url:(0,i.An)(e.itemUrl),portal:e.portal||s.A.getDefault(),portalItem:e}}},89808(e,t,r){r.d(t,{Q:()=>i});const i=Symbol("getSliceableSymbol")},91682(e,t,r){r.d(t,{S:()=>l,r:()=>a});var i=r(49186),s=r(74887),o=r(13069),n=r(15804);async function a(e,t,r){const i=await u(e,t,r);await d(i,t,r)}async function l(e,t,r,i,s){const o=await u(r,i,s);await e.update({data:t}),await d(o,i,s)}async function u(e,t,a){if(!t?.resources)return;const l=t.portalItem===e.portalItem?new Set(e.paths):new Set;e.paths.length=0,e.portalItem=t.portalItem;const u=new Set(t.resources.toKeep.map(e=>e.resource.path)),d=new Set,p=[];u.forEach(t=>{l.delete(t),e.paths.push(t)});const c=[],h=[],y=[];for(const r of t.resources.toUpdate)if(l.delete(r.resource.path),u.has(r.resource.path)||d.has(r.resource.path)){const{resource:t,content:i,finish:s}=r,a=(0,n.bg)(t,(0,o.lk)());e.paths.push(a.path),c.push({resource:a,content:await(0,n.cL)(i),compress:r.compress}),s&&y.push(()=>s(a))}else{e.paths.push(r.resource.path),h.push({resource:r.resource,content:await(0,n.cL)(r.content),compress:r.compress});const t=r.finish;t&&y.push(()=>t(r.resource)),d.add(r.resource.path)}for(const r of t.resources.toAdd)if(e.paths.push(r.resource.path),l.has(r.resource.path))l.delete(r.resource.path);else{c.push({resource:r.resource,content:await(0,n.cL)(r.content),compress:r.compress});const e=r.finish;e&&y.push(()=>e(r.resource))}if(c.length||h.length){const{addOrUpdateResources:e}=await Promise.resolve().then(r.bind(r,15804));await e(t.portalItem,c,"add",a),await e(t.portalItem,h,"update",a)}if(y.forEach(e=>e()),0===p.length)return l;const g=await(0,s.Ol)(p);if((0,s.Te)(a),g.length>0)throw new i.A("save:resources","Failed to save one or more resources",{errors:g});return l}async function d(e,t,r){if(!e||!t.portalItem)return;const i=[];for(const s of e){const e=t.portalItem.resourceFromPath(s);i.push(e.portalItem.removeResource(e,r))}await(0,s.Lx)(i)}},99959(e,t,r){r.d(t,{A:()=>o});var i=r(5482),s=r(91429);let o=class{};o=(0,i.Cg)([(0,s.$K)("esri.graphic.GraphicOrigin")],o)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[922],{159(e,t,n){n.d(t,{A:()=>o});var i,r=n(5482),s=n(69622),l=n(91429),a=n(99157);let o=i=class extends s.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new i;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,r.Cg)([(0,l.MZ)({type:[a.A],nonNullable:!0})],o.prototype,"steps",void 0),o=i=(0,r.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformation")],o)},8303(e,t,n){n.d(t,{A:()=>M});var i=n(5482),r=n(92602),s=n(70333),l=n(11254),a=n(60999),o=n(49186),u=n(53966),c=n(97768),h=n(74887),f=n(84952),d=n(91429),p=n(77548),m=n(20655),g=n(80812),y=n(41318),_=n(10407),v=n(36005),w=n(43937);const M=e=>{const t=e;let M=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,c.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,n){if(t.itemId)return new g.default({id:t.itemId,portal:n?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:i}=await n.e(1204).then(n.bind(n,41204));return(0,h.Te)(t),await i({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,h.zf)(e)||u.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,h.QP)(e),!0)))}async setUserPrivileges(e,t){if(!r.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:n,fullEdit:i},content:{updateItem:r}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",n),this._set("userHasFullEditingPrivileges",i),this._set("userHasUpdateItemPrivileges",r)}catch(e){(0,h.QP)(e)}}async _fetchUserPrivileges(e,t){let n=this.portalItem;if(!e||!n||!n.loaded||n.sourceUrl)return this._fetchFallbackUserPrivileges(t);const i=!s.id?.findCredential(this.url),r=e===n.id;if(r&&n.portal.user)return this._getUserPrivileges(n,i);let l,a;if(r)l=n.portal.url;else try{l=await(0,p.wI)(this.url,t)}catch(e){(0,h.QP)(e)}if(!l||!(0,f.b8)(l,n.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;a=await(s.id?.getCredential(`${l}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,h.QP)(e)}const o=!0,u=!1,c=!1;if(!a)return{features:{edit:o,fullEdit:u},content:{updateItem:c}};try{if(r?await n.reload():(n=new g.default({id:e,portal:{url:l}}),await n.load(t)),n.portal.user)return this._getUserPrivileges(n,i)}catch(e){(0,h.QP)(e)}return{features:{edit:o,fullEdit:u},content:{updateItem:c}}}_getUserPrivileges(e,t){const n=(0,_.It)(e);return t&&(n.features.edit=!0),n}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,h.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?s.id?.findCredential(this.url):null;if(!t)return!0;const n=I.credential===t?I.user:await this._fetchEditingUser(e);return I.credential=t,I.user=n,null==n?.privileges||n.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const n=s.id?.findServerInfo(this.url??"");if(!n?.owningSystemUrl)return null;const i=`${n.owningSystemUrl}/sharing/rest`,r=m.A.getDefault();if(r&&r.loaded&&(0,f.S8)(r.restUrl)===(0,f.S8)(i))return r.user;const o=`${i}/community/self`,u=null!=e?e.signal:null,c=await(0,a.Ke)((0,l.A)(o,{authMode:"no-prompt",query:{f:"json"},signal:u}));return c.ok?y.A.fromJSON(c.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const n=t?.portal,i=this.portalItem?.id&&(this.portalItem.portal||m.A.getDefault());return n&&i&&!(0,f.ut)(i.restUrl,n.restUrl)?(t.messages&&t.messages.push(new o.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,i.Cg)([(0,d.MZ)({type:g.default})],M.prototype,"portalItem",null),(0,i.Cg)([(0,v.w)("web-document","portalItem",["itemId"])],M.prototype,"readPortalItem",null),(0,i.Cg)([(0,w.K)("web-document","portalItem",{itemId:{type:String}})],M.prototype,"writePortalItem",null),(0,i.Cg)([(0,d.MZ)({clonable:!1})],M.prototype,"resourceReferences",void 0),(0,i.Cg)([(0,d.MZ)({type:Boolean,readOnly:!0})],M.prototype,"userHasEditingPrivileges",void 0),(0,i.Cg)([(0,d.MZ)({type:Boolean,readOnly:!0})],M.prototype,"userHasFullEditingPrivileges",void 0),(0,i.Cg)([(0,d.MZ)({type:Boolean,readOnly:!0})],M.prototype,"userHasUpdateItemPrivileges",void 0),M=(0,i.Cg)([(0,d.$K)("esri.layers.mixins.PortalLayer")],M),M},I={credential:null,user:null}},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>r});var i=n(49208);function r(e,t,n,r,s,l,a=Math.floor(e.length/3)){const o=(0,i.jd)(t,s);if(null==o)return!1;if(o===i.pO){if(e===r&&n===l)return!0;const t=n+3*a;for(let i=n,s=l;i<t;i++,s++)r[s]=e[i]??0;return!0}const u=n+3*a;for(let t=n,i=l;t<u;t+=3,i+=3)o(e,t,r,i);return!0}},10407(e,t,n){n.d(t,{It:()=>d,LG:()=>l,OM:()=>u,Sm:()=>c,Y:()=>a,bK:()=>o,mm:()=>f,sQ:()=>h});var i=n(91218),r=n(16930),s=n(28735);function l(e,t){if(!a(e,t)){const n=e.typeKeywords;n?n.push(t):e.typeKeywords=[t]}}function a(e,t){return!!e.typeKeywords?.includes(t)}function o(e){return a(e,f.HOSTED_SERVICE)}function u(e,t){const n=e.typeKeywords;if(n){const e=n.indexOf(t);e>-1&&n.splice(e,1)}}function c(e,t,n){n?l(e,t):u(e,t)}async function h(e){const t=e.clone().normalize();let n;if(t.length>1)for(const e of t)n?e.width>n.width&&(n=e):n=e;else n=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,s.ci)(e);const n=r.A.WGS84;return await(0,i.initializeProjection)(t,n),(0,i.project)(e,n)}(n)}const f={CHARTS:"Charts",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery"};function d(e){const{portal:t,isOrgItem:n,itemControl:i}=e,r=t.user?.privileges;let s=!r||r.includes("features:user:edit"),l=!!n&&!!r?.includes("features:user:fullEdit");const a="update"===i||"admin"===i;return a?l=s=!0:l&&(s=!0),{features:{edit:s,fullEdit:l},content:{updateItem:a}}}},34403(e,t,n){n.d(t,{TP:()=>l});var i=n(79258);Math.PI;const r=i.$O.radius,s=i.$O.eccentricitySquared,l={a1:r*s,a2:r*s*r*s,a3:r*s*s/2,a4:r*s*r*s*2.5,a5:r*s+r*s*s/2,a6:1-s};i.$O.radius,i.$O.flattening,i.Sw.radius,i.Sw.flattening,i.sH.radius,i.sH.flattening,i.sH.radius},49208(e,t,n){n.d(t,{Tp:()=>h,jd:()=>c,pO:()=>d,w5:()=>u});var i=n(34727),r=n(86211),s=n(73941),l=n(79258),a=n(34403),o=n(21325);const u={2:{5:d,7:null,9:null,10:d,1:M,6:null,8:null,0:null,3:m,11:g,2:d,4:S},5:{5:d,7:null,9:null,10:d,1:M,6:null,8:null,0:null,3:m,11:g,2:d,4:S},7:{5:null,7:d,9:null,10:d,1:null,6:w,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:d,10:d,1:null,6:null,8:v,0:null,3:null,11:null,2:null,4:null},3:{5:p,7:null,9:null,10:p,1:function(e,t,n,i){const r=e[t]/C,s=k-2*Math.atan(Math.exp(-e[t+1]/C)),l=C+(e[t+2]??0),a=Math.cos(s)*l;n[i]=Math.cos(r)*a,n[i+1]=Math.sin(r)*a,n[i+2]=Math.sin(s)*l},6:null,8:null,0:null,3:d,11:function(e,t,n,i){p(e,t,n,i),g(n,i,n,i)},2:p,4:function(e,t,n,i){p(e,t,n,i),S(n,i,n,i)}},4:{5:A,7:null,9:null,10:A,1:function(e,t,n,i){A(e,t,n,i),M(n,i,n,i)},6:null,8:null,0:null,3:function(e,t,n,i){A(e,t,n,i),m(n,i,n,i)},11:function(e,t,n,i){A(e,t,n,i),g(n,i,n,i)},2:A,4:d},1:{5:b,7:null,9:null,10:b,1:d,6:null,8:null,0:null,3:function(e,t,n,i){b(e,t,n,i),m(n,i,n,i)},11:function(e,t,n,i){b(e,t,n,i),g(n,i,n,i)},2:b,4:function(e,t,n,i){b(e,t,n,i),S(n,i,n,i)}},6:{5:null,7:R,9:null,10:R,1:null,6:d,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:z,10:z,1:null,6:null,8:d,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:d,3:null,11:null,2:null,4:null},10:{5:d,7:d,9:d,10:d,1:M,6:w,8:v,0:null,3:m,11:g,2:d,4:S},11:{5:y,7:null,9:null,10:y,1:function(e,t,n,i){y(e,t,n,i),M(n,i,n,i)},6:null,8:null,0:null,3:function(e,t,n,i){y(e,t,n,i),m(n,i,n,i)},11:d,2:y,4:function(e,t,n,i){y(e,t,n,i),S(n,i,n,i)}}};function c(e,t){return h(e,t)?.projector}function h(e,t){if(null==e||null==t)return null;if(P.source.spatialReference===e&&P.dest.spatialReference===t)return P;const n=f(e,P.source),i=f(t,P.dest);return 0===n&&0===i?(0,o.aI)(e,t)?P.projector=d:P.projector=null:P.projector=u[n][i],P}function f(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,r.GA)(e,1)),(0,s.jA)(e)?t.spatialReferenceId=1:(0,o.oT)(e)?t.spatialReferenceId=2:(0,o.K8)(e)?t.spatialReferenceId=3:(0,o.r1)(e)?t.spatialReferenceId=11:e.wkt===s.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===s.FY.wkt?t.spatialReferenceId=6:e.wkt===s.LJ.wkt?t.spatialReferenceId=8:(0,s.q8)(e)?t.spatialReferenceId=7:(0,s.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function d(e,t,n,i){e!==n&&(n[i++]=e[t++],n[i++]=e[t++],n[i]=e[t]??0)}function p(e,t,n,i){n[i]=x*(e[t]/C),n[i+1]=x*(k-2*Math.atan(Math.exp(-e[t+1]/C))),n[i+2]=e[t+2]??0}function m(e,t,n,r){!function(e,t,n,r,s){const l=.4999999*Math.PI,a=(0,i.qE)(E*e[t+1],-l,l),o=Math.sin(a);n[r++]=E*e[t]*s.radius,n[r++]=s.halfSemiMajorAxis*Math.log((1+o)/(1-o)),n[r]=e[t+2]??0}(e,t,n,r,l.$O)}function g(e,t,n,i){n[i]=e[t]*L,n[i+1]=e[t+1]*L,n[i+2]=e[t+2]??0}function y(e,t,n,i){n[i]=e[t]*O,n[i+1]=e[t+1]*O,n[i+2]=e[t+2]??0}function _(e,t,n,i,r){const s=r+(e[t+2]??0),l=E*e[t],a=E*e[t+1],o=Math.cos(a)*s;n[i]=Math.cos(l)*o,n[i+1]=Math.sin(l)*o,n[i+2]=Math.sin(a)*s}function v(e,t,n,i){_(e,t,n,i,l.Sw.radius)}function w(e,t,n,i){_(e,t,n,i,l.sH.radius)}function M(e,t,n,i){_(e,t,n,i,l.$O.radius)}function I(e,t,n,r,s){const l=e[t],a=e[t+1],o=e[t+2]??0,u=Math.sqrt(l*l+a*a+o*o),c=(0,i.YN)(o/(0===u?1:u)),h=Math.atan2(a,l);n[r++]=x*h,n[r++]=x*c,n[r]=u-s}function z(e,t,n,i){I(e,t,n,i,l.Sw.radius)}function R(e,t,n,i){I(e,t,n,i,l.sH.radius)}function b(e,t,n,i){I(e,t,n,i,l.$O.radius)}function S(e,t,n,i){!function(e,t,n,i,r){const s=E*e[t],l=E*e[t+1],a=e[t+2]??0,o=Math.sin(l),u=Math.cos(l),c=r.radius/Math.sqrt(1-r.eccentricitySquared*o*o);n[i++]=(c+a)*u*Math.cos(s),n[i++]=(c+a)*u*Math.sin(s),n[i++]=(c*(1-r.eccentricitySquared)+a)*o}(e,t,n,i,l.$O)}function A(e,t,n,i){const r=a.TP,s=e[t],o=e[t+1],u=e[t+2]??0;let c,h,f,d,p,m,g,y,_,v,w,M,I,z,R,b,S,A,P,E,k;c=Math.abs(u),h=s*s+o*o,f=Math.sqrt(h),d=h+u*u,p=Math.sqrt(d),E=Math.atan2(o,s),m=u*u/d,g=h/d,z=r.a2/p,R=r.a3-r.a4/p,g>.3?(y=c/p*(1+g*(r.a1+z+m*R)/p),P=Math.asin(y),v=y*y,_=Math.sqrt(1-v)):(_=f/p*(1-m*(r.a5-z-g*R)/p),P=Math.acos(_),v=1-_*_,y=Math.sqrt(v)),w=1-l.$O.eccentricitySquared*v,M=l.$O.radius/Math.sqrt(w),I=r.a6*M,z=f-M*_,R=c-I*y,S=_*z+y*R,b=_*R-y*z,A=b/(I/w+S),P+=A,k=S+b*A/2,u<0&&(P=-P),n[i++]=x*E,n[i++]=x*P,n[i]=k}const P={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:d},E=(0,i.kU)(1),x=(0,i.KJ)(1),k=.5*Math.PI,C=l.$O.radius,L=C*Math.PI/180,O=180/(C*Math.PI)},60999(e,t,n){n.d(t,{DZ:()=>p,Ke:()=>d,Tj:()=>c,UT:()=>m,aD:()=>y,jJ:()=>u});var i=n(5482),r=n(69622),s=n(97768),l=n(74887),a=n(10107),o=n(64108);function u(e,t,n){return(0,l.Lx)(e.map((e,i)=>t.apply(n,[e,i])))}async function c(e,t,n){return(await(0,l.Lx)(e.map((e,i)=>t.apply(n,[e,i])))).map(e=>e.value)}function h(e){return{ok:!0,value:e}}function f(e){return{ok:!1,error:e}}async function d(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return h(await e)}catch(e){return f(e)}}async function p(e){try{return h(await e)}catch(e){return(0,l.QP)(e),f(e)}}function m(e,t){return new g(e,t)}let g=class extends r.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,s.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:n}=this._abortController;this.promise=e(n),this.promise.then(e=>{this._result=h(e),this._cleanup()},e=>{this._result=f(e),this._cleanup()}),this._abortHandle=(0,l.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,s.xt)(this._abortHandle),this._abortController=null}};(0,i.Cg)([(0,a.MZ)()],g.prototype,"value",null),(0,i.Cg)([(0,a.MZ)()],g.prototype,"error",null),(0,i.Cg)([(0,a.MZ)()],g.prototype,"finished",null),(0,i.Cg)([(0,a.MZ)()],g.prototype,"promise",void 0),(0,i.Cg)([(0,a.MZ)()],g.prototype,"_result",void 0),g=(0,i.Cg)([(0,o.$)("esri.core.asyncUtils.ReactiveTask")],g);class y{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});const t=await e;return{[Symbol.dispose]:t}}async run(e){const t={stack:[],error:void 0,hasError:!1};try{return(0,i.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,i.hk)(t)}}}},66344(e,t,n){n.d(t,{q:()=>a});const i=!!(0,n(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class r{get size(){return this._size}constructor(e=10485760){this._maxSize=e,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._users=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._users.clear(),this._db.clear()}register(e){this._users.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._users.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}getSize(e,t){const n=this._db.get(e.id+t);return n?.size??0}put(e,t,n,r,l){t=e.id+t;const a=this._db.get(t);if(a&&(this._size-=a.size,e.size-=a.size,this._db.delete(t),a.entry!==n&&this._notifyRemove(t,a.entry,a.size,0)),r>this._maxSize)return void this._notifyRemove(t,n,r,0);if(void 0===n)return void console.warn("Refusing to cache undefined entry ");if(!r||r<0)return i||console.warn(`Refusing to cache entry with size ${r} for key ${t}`),void this._notifyRemove(t,n,0,0);const o=1+Math.max(l,-4)- -3;this._db.set(t,new s(n,r,o)),this._size+=r,e.size+=r,this._checkSize()}updateSize(e,t){t=e.id+t;const n=this._db.get(t);if(!n)return;this._size-=n.size,e.size-=n.size;let i=n.entry.usedMemory;for(;i>this._maxSize;){const e=this._notifyRemove(t,n.entry,i,1);if(!(null!=e&&e>0))return void this._db.delete(t);i=e}n.size=i,this._size+=i,e.size+=i,this._checkSize()}pop(e,t){t=e.id+t;const n=this._db.get(t);if(n)return this._size-=n.size,e.size-=n.size,this._db.delete(t),++this._hit,n.entry;++this._miss}get(e,t){t=e.id+t;const n=this._db.get(t);if(void 0!==n)return this._db.delete(t),n.lives=n.lifetime,this._db.set(t,n),++this._hit,n.entry;++this._miss}peek(e,t){const n=this._db.get(e.id+t);return n?++this._hit:++this._miss,n?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},n=new Array;this._db.forEach((e,i)=>{const r=e.lifetime;n[r]=(n[r]||0)+e.size,this._users.forEach(n=>{const{id:r,name:s}=n;if(i.startsWith(r)){const n=t[s]||0;t[s]=n+e.size}})});const i={};this._users.forEach(e=>{const n=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const r=t[n]||0;t[n]=r,i[n]=Math.round(100*e.hitRate)+"%"}else i[n]="0%"});const r=Object.keys(t);r.sort((e,n)=>t[n]-t[e]),r.forEach(n=>e[n]=Math.round(t[n]/2**20)+"MB / "+i[n]);for(let t=n.length-1;t>=0;--t){const i=n[t];i&&(e["Priority "+(t+-3-1)]=Math.round(i/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._users.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,n)=>{n.startsWith(t)&&(this._size-=e.size,this._db.delete(n),this._notifyRemove(n,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._users.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,n]of this._db)t.startsWith(e.id)&&(yield n.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,n,i){const r=this._users.get(e.split(l)[0])?.removeFunc,s=r?.(t,i,n);return"number"==typeof s?s:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._checkSizeLimits(this.maxSize)}setMaxSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const n=t??this;if(n.size<=e)return;const i=t?.id;let r=!0;for(;r;){r=!1;for(const[s,a]of this._db)if(0===a.lifetime&&(!i||s.startsWith(i))){const i=t??this._users.get(s.split(l)[0]);if(this._purgeItem(s,a,i),n.size<=.9*e)return;r||=this._db.has(s)}}for(const[r,s]of this._db)if(!i||r.startsWith(i)){const i=t??this._users.get(r.split(l)[0]);if(this._purgeItem(r,s,i),n.size<=.9*e)return}}_purgeItem(e,t,n){if(this._db.delete(e),t.lives<=1){this._size-=t.size,n&&(n.size-=t.size);const i=this._notifyRemove(e,t.entry,t.size,1);null!=i&&i>0&&(this._size+=i,n&&(n.size+=i),t.lives=t.lifetime,t.size=i,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new r(0);class s{constructor(e,t,n){this.entry=e,this.size=t,this.lifetime=n,this.lives=n}}const l=":";class a{constructor(e,t){this.removeFunc=t,this._storage=new r,this.id="",this.name="",this.size=0,this._storage.maxSize=e,this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy(),this._storage=null}put(e,t,n=1){this._storage.put(this,e,t,n,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},69540(e,t,n){n.d(t,{OU:()=>c,Pw:()=>h});var i=n(5482),r=n(69622),s=(n(44208),n(4718)),l=(n(53966),n(97768)),a=n(88620),o=n(64108);const u=Symbol("ClonableMixin"),c=e=>{var t;const n=e;let r=class extends n{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){const t=(0,a.oY)(this);(0,l.Lw)(t,"unable to clone instance of non-accessor class");const n=t.metadata,i=t.store,r={},o=new Map;for(const t in n){const l=n[t],a=i?.originOf(t),u=l.clonable;if(l.readOnly||!1===u||7!==a&&0!==a&&5!==a&&4!==a)continue;const c=this[t];let h=null;if("function"==typeof u)h=u(c,e);else if("reference"===u)h=c;else if(h=(0,s.TU)(c,e),null!=c&&null==h)continue;0===a?o.set(t,h):r[t]=h}const u=new(0,Object.getPrototypeOf(this).constructor)(r);if(o.size){const e=(0,a.oY)(u)?.store;if(e)for(const[t,n]of o)e.set(t,n,0)}return u}};return r=(0,i.Cg)([(0,o.$)("esri.core.Clonable")],r),r},h=c(r.A)},78553(e,t,n){n.d(t,{D:()=>s,p:()=>r});var i=n(56507);function r(e){const t=(0,i.Vr)(100*(1-e));return Math.max(0,Math.min(t,100))}function s(e){const t=1-e/100;return Math.max(0,Math.min(t,1))}},83027(e,t,n){n.d(t,{h:()=>i});const i=n(29953).ho},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>B,initializeProjection:()=>W,isEqualBaseGCS:()=>K,isLoaded:()=>k,isLoadedOrLoad:()=>C,isLoadedOrLoadFor:()=>L,load:()=>T,project:()=>j,projectAsync:()=>Y,projectExtent:()=>ie,projectMany:()=>U,projectMultipoint:()=>J,projectOrLoad:()=>$,projectOrLoadMany:()=>Z,projectPoint:()=>N,projectPolygon:()=>te,projectPolyline:()=>X,projectWithoutEngine:()=>F,requiresLoad:()=>O,test:()=>D,tryProject:()=>H,unload:()=>q});var i=n(49186),r=n(74887),s=n(62788),l=n(95488),a=n(51850),o=n(21276),u=n(73941),c=n(5443),h=n(91075),f=n(48526),d=n(86738),p=n(39829),m=n(82799),g=n(16930),y=n(98764),_=n(159),v=n(9762),w=n(49208);function M(e,t,n,i,r,s){return I[0]=e,I[1]=t,I[2]=n,(0,v.projectBuffer)(I,i,0,r,s,0)}const I=(0,a.vt)();var z=n(21325),R=n(52006);let b=null,S=null,A=null,P=null,E={};const x=new l.I;function k(){return!!(S?.isLoaded()&&A?.isLoaded()&&P?.isLoaded())}function C(){return!!k()||((0,s.gc)(x),T(),!1)}function L(e,t){return!e||!t||B(e,t)||C()}function O(e,t){return!B(e,t)&&!k()}async function T(e){null==b&&(b=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(S=e,S.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(A=e,A.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(P=e,P.load()))])),await b,(0,r.Te)(e),x.notify()}function j(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,o.H)(e),U(e,e[0].spatialReference,t,n)):((0,o.f)(e),U([e],e.spatialReference,t,n)[0])}function U(e,t,n,i){if(null==t||null==n)return e;if(!e.some(e=>(0,R.Ed)(e))&&B(t,n,i))return e.map(e=>F(e,t,n));if(null==i?.geographicTransformation&&(0,u.jA)(t))return U(e.map(e=>F(e,t,g.A.WGS84)),g.A.WGS84,n,{zConversionDisabled:i?.zConversionDisabled});if(null==i?.geographicTransformation&&(0,u.jA)(n))return U(e,t,g.A.WGS84).map(e=>F(e,g.A.WGS84,n));if(!k())throw new G;if(!i?.geographicTransformation)if(i?.extendedParams)i={...i,geographicTransformation:P.getTransformation(t,n,i.areaOfInterestExtent)||new _.A};else if(!i?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let r=E[e];r||(r=P.getTransformation(t,n)||new _.A,E[e]=r),i={geographicTransformation:r,zConversionDisabled:i?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof h.A?S.executeMany(e,n,i):A.executeMany(e,n,i)}function H(e,t,n){try{return j(e,t,n)}catch(e){return null}}function $(e,t){const n=Z([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function Z(e,t,n){if(!k())for(const n of e)if(null!=n&&!(0,z.aI)(n.spatialReference,t)&&(0,z.fn)(n.spatialReference)&&(0,z.fn)(t)&&!B(n.spatialReference,t))return(0,s.gc)(x),{pending:T(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,z.aI)(e.spatialReference,t)?e:(0,z.fn)(e.spatialReference)&&(0,z.fn)(t)?j(e,t,n):null)}}class G extends i.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function q(){b=null,S=null,A=null,P=null,E={}}const D={get loadPromise(){return b}};async function Y(e,t,n){if((0,r.Te)(n),!e)return e;const i=Z(Array.isArray(e)?e:[e],t,n);if(i.pending)return await i.pending,(0,r.Te)(n),Y(e,t,n);const s=i.geometries??[];return Array.isArray(e)?s:s[0]}function B(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,z.aI)(e,t)||(0,z.fn)(e)&&(0,z.fn)(t)&&!!(0,w.jd)(e,t))}function K(e,t){if((0,z.aI)(e,t))return!0;if(!(0,z.fn)(e)||!(0,z.fn)(t))return!1;const n=(0,z.oT)(e)||(0,z.K8)(e)||(0,z.x1)(e),i=(0,z.oT)(t)||(0,z.K8)(t)||(0,z.x1)(t);return n&&i}async function W(e,t,n,i){if(k())return(0,r.NO)(i);if(Array.isArray(e)){for(const{source:t,dest:n,options:r}of e)if(t&&n&&!B(t,n,r))return T(i)}else if(e&&t&&!B(e,t,n))return T(i);return(0,r.NO)(i)}function F(e,t,n){return e?"x"in e?Q(e,t,new d.A,n,0):"xmin"in e?re(e,t,new c.A,n,0):"rings"in e?ne(e,t,new p.A,n,0):"paths"in e?ee(e,t,new m.A,n,0):"points"in e?V(e,t,new f.A,n,0):null:null}function N(e,t,n=t.spatialReference,i=0){return null!=n&&null!=e.spatialReference&&null!=Q(e,e.spatialReference,t,n,i)}function Q(e,t,n,i,r){ae[0]=e.x,ae[1]=e.y;const s=e.z;return ae[2]=void 0!==s?s:r,(0,v.projectBuffer)(ae,t,0,ae,i,0)?(n.x=ae[0],n.y=ae[1],n.spatialReference=i,void 0!==s||(0,u.xP)(i)?(n.z=ae[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function J(e,t,n=t.spatialReference,i=0){return null!=e.spatialReference&&null!=n&&null!=V(e,e.spatialReference,t,n,i)}function V(e,t,n,i,r){const{points:s,hasZ:l,hasM:a}=e,o=[],u=s.length,c=[];for(const e of s)c.push(e[0],e[1],l?e[2]:r);if(!(0,v.projectBuffer)(c,t,0,c,i,0,u))return null;const h=le(l,i);for(let e=0;e<u;++e){const t=3*e,n=c[t],i=c[t+1];h&&a?o.push([n,i,c[t+2],s[e][3]]):h?o.push([n,i,c[t+2]]):a?o.push([n,i,s[e][2]]):o.push([n,i])}return n.points=o,n.spatialReference=i,n.hasZ=l,n.hasM=a,n}function X(e,t,n=t.spatialReference,i=0){return null!=e.spatialReference&&null!=n&&null!=ee(e,e.spatialReference,t,n,i)}function ee(e,t,n,i,r){const{paths:s,hasZ:l,hasM:a}=e,o=[];if(!se(s,l??!1,a??!1,t,o,i,r))return null;const u=le(l,i);return n.paths=o,n.spatialReference=i,n.hasZ=u,n.hasM=a,n}function te(e,t,n=t.spatialReference,i=0){return null!=e.spatialReference&&null!=n&&null!=ne(e,e.spatialReference,t,n,i)}function ne(e,t,n,i,r){const{rings:s,hasZ:l,hasM:a}=e,o=[];if(!se(s,l??!1,a??!1,t,o,i,r))return null;const u=le(l,i);return n.rings=o,n.spatialReference=i,n.hasZ=u,n.hasM=a,n}function ie(e,t,n=t.spatialReference,i=0){return null!=e.spatialReference&&null!=n&&null!=re(e,e.spatialReference,t,n,i)}function re(e,t,n,i,r){const{xmin:s,ymin:l,xmax:a,ymax:o,hasZ:u,hasM:c}=e;if(!M(s,l,u?e.zmin:r,t,ae,i))return null;const h=le(u,i);return n.xmin=ae[0],n.ymin=ae[1],h&&(n.zmin=ae[2]),M(a,o,u?e.zmax:r,t,ae,i)?(n.xmax=ae[0],n.ymax=ae[1],h&&(n.zmax=ae[2]),c&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=i,n):null}function se(e,t,n,i,r,s,l=0){const a=new Array;for(const n of e)for(const e of n)a.push(e[0],e[1],t?e[2]:l);if(!(0,v.projectBuffer)(a,i,0,a,s,0))return!1;let o=0;r.length=0;const u=le(t,s);for(const t of e){const e=new Array;for(const i of t)u&&n?e.push([a[o++],a[o++],a[o++],i[3]]):u?e.push([a[o++],a[o++],a[o++]]):n?(e.push([a[o++],a[o++],i[2]]),o++):(e.push([a[o++],a[o++]]),o++);r.push(e)}return!0}function le(e,t){return e||(0,u.xP)(t)||(0,z.aI)(t,y.Y0)}const ae=(0,a.vt)()},98764(e,t,n){n.d(t,{GD:()=>l,Y0:()=>u,lO:()=>c});var i=n(73941),r=n(16930),s=n(21325);const l=new r.A(i.fv),a=new r.A(i.FY),o=new r.A(i.LJ),u=new r.A(i.Ro);function c(e){const t=h.get(e);if(t)return t;let n=l;if(e)if(e===a)n=a;else if(e===o)n=o;else{const t=e.wkid,i=e.latestWkid;if(null!=t||null!=i)(0,s.tl)(t)||(0,s.tl)(i)?n=a:((0,s.ZL)(t)||(0,s.ZL)(i))&&(n=o);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===f?n=a:e===d&&(n=o)}}}return h.set(e,n),n}const h=new Map,f=a.wkt.toUpperCase(),d=o.wkt.toUpperCase()},99157(e,t,n){n.d(t,{A:()=>a});var i,r=n(5482),s=n(69622),l=n(91429);let a=i=class extends s.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new i({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,r.Cg)([(0,l.MZ)()],a.prototype,"isInverse",void 0),(0,r.Cg)([(0,l.MZ)()],a.prototype,"wkt",void 0),(0,r.Cg)([(0,l.MZ)()],a.prototype,"wkid",void 0),a=i=(0,r.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5567],{159(e,t,r){r.d(t,{A:()=>a});var n,i=r(5482),s=r(69622),o=r(91429),l=r(99157);let a=n=class extends s.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new n;for(let t=this.steps.length-1;t>=0;t--){const r=this.steps[t];e.steps.push(r.getInverse())}return e}};(0,i.Cg)([(0,o.MZ)({type:[l.A],nonNullable:!0})],a.prototype,"steps",void 0),a=n=(0,i.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformation")],a)},4197(e,t,r){r.d(t,{Vj:()=>u,cj:()=>a,jh:()=>s,l5:()=>l,xm:()=>o});var n=r(34275),i=r(9093);function s(e){return e<=n.y9?new Array(e).fill(0):new Float64Array(e)}function o(e){return((0,n.iu)(e)?e.byteLength/8:e.length)<=n.y9?Array.from(e):new Float64Array(e)}function l(e,t,r){return Array.isArray(e)?e.slice(t,t+r):e.subarray(t,t+r)}function a(e){return[...e]}function u(e){const t=(0,i.vt)();for(let r=0;r<16;++r)t[r]=e[r];return t}},6455(e,t,r){r.d(t,{FJ:()=>g,Dp:()=>v,KV:()=>w});var n=r(5482),i=r(93637),s=r(91429),o=r(89317),l=r(69540),a=r(7762),u=r(25482),p=r(83960),c=r(13069);const d={write:{overridePolicy:(e,t,r)=>({enabled:!r||"scale"===r.filterMode})}};let f=class extends((0,l.OU)(u.o)){constructor(e){super(e),this.id=(0,c.lk)(),this.maxScale=0,this.minScale=0,this.title="",this.where=null}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],f.prototype,"id",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:d})],f.prototype,"maxScale",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:d})],f.prototype,"minScale",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],f.prototype,"title",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],f.prototype,"where",void 0),f=(0,n.Cg)([(0,s.$K)("esri.layers.support.DisplayFilter")],f);var h=r(41560),y=r(43937);let m=class extends((0,l.OU)(u.o)){constructor(e){super(e),this.activeFilterId=null,this.filters=new(a.A.ofType(f)),this.mode="manual"}writeFilters(e,t,r,n){const i=e.toArray();"scale"===this.mode&&i.sort((e,t)=>{const r=(0,p.oW)(t.minScale,e.minScale),n=e.maxScale-t.maxScale;return 0===r?n:r}),t[r]=i.map(e=>e.toJSON(n))}write(e,t){return super.write(e,(0,h.mW)(this,t))}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:{overridePolicy:(e,t,r)=>({enabled:"manual"===r.filterMode,isRequired:!0})}}})],m.prototype,"activeFilterId",void 0),(0,n.Cg)([(0,s.MZ)({type:a.A.ofType(f),nonNullable:!0,json:{write:!0}})],m.prototype,"filters",void 0),(0,n.Cg)([(0,y.K)("filters")],m.prototype,"writeFilters",null),(0,n.Cg)([(0,s.MZ)({type:["manual","scale"],nonNullable:!0,json:{name:"filterMode",write:!0}})],m.prototype,"mode",void 0),m=(0,n.Cg)([(0,s.$K)("esri.layers.support.DisplayFilterInfo")],m);const g=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.displayFilterEnabled=!0,this.displayFilterInfo=null}};return(0,n.Cg)([(0,s.MZ)(v)],r.prototype,"displayFilterEnabled",void 0),(0,n.Cg)([(0,s.MZ)(w)],r.prototype,"displayFilterInfo",void 0),r=(0,n.Cg)([(0,s.$K)("esri.layers.mixins.DisplayFilteredLayer")],r),r},v={type:Boolean,json:{name:"layerDefinition.disableDisplayFilter",read:{reader:e=>!e},write:{layerContainerTypes:o.K,writer(e,t,r){(0,i.sM)(r,!e,t)}},origins:{"web-scene":{write:!1,read:!1}}}},w={type:m,json:{name:"layerDefinition.displayFilterInfo",write:{enabled:!0,allowNull:!0,layerContainerTypes:o.K},origins:{"web-scene":{write:!1,read:!1}}}}},6797(e,t,r){r.d(t,{Ui:()=>d});var n=r(69622),i=r(7762),s=r(88620);const o=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function l(e){return e instanceof n.A}function a(e){return e instanceof i.A?Object.keys(e.items):l(e)?(0,s.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof i.A?e.items[t]:e[t]}function p(e){return e?e.declaredClass:null}function c(e,t){const r=e.diff;if(r&&"function"==typeof r)return r(e,t);const n=a(e),i=a(t);if(0===n.length&&0===i.length)return;if(!n.length||!i.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const s=i.filter(e=>!n.includes(e)),d=n.filter(e=>!i.includes(e)),f=n.filter(r=>i.includes(r)&&u(e,r)!==u(t,r)).concat(s,d).sort(),h=p(e);if(h&&o.has(h)&&f.length)return{type:"complete",oldValue:e,newValue:t};let y;const m=l(e)&&l(t);for(const n of f){const i=u(e,n),s=u(t,n);let o;if((m||"function"!=typeof i&&"function"!=typeof s)&&i!==s&&(null!=i||null!=s)){if(r&&r[n]&&"function"==typeof r[n])o=r[n]?.(i,s);else if(i instanceof Date&&s instanceof Date){if(i.getTime()===s.getTime())continue;o={type:"complete",oldValue:i,newValue:s}}else o="object"==typeof i&&"object"==typeof s&&p(i)===p(s)?c(i,s):{type:"complete",oldValue:i,newValue:s};null!=o&&(null!=y?y.diff[n]=o:y={type:"partial",diff:{[n]:o}})}}return y}function d(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&p(e)!==p(t)?{type:"complete",oldValue:e,newValue:t}:c(e,t)}},8303(e,t,r){r.d(t,{A:()=>I});var n=r(5482),i=r(92602),s=r(70333),o=r(11254),l=r(60999),a=r(49186),u=r(53966),p=r(97768),c=r(74887),d=r(84952),f=r(91429),h=r(77548),y=r(20655),m=r(80812),g=r(41318),v=r(10407),w=r(36005),b=r(43937);const I=e=>{const t=e;let I=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,p.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new m.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:n}=await r.e(1204).then(r.bind(r,41204));return(0,c.Te)(t),await n({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,c.zf)(e)||u.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,c.QP)(e),!0)))}async setUserPrivileges(e,t){if(!i.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:n},content:{updateItem:i}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",n),this._set("userHasUpdateItemPrivileges",i)}catch(e){(0,c.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const n=!s.id?.findCredential(this.url),i=e===r.id;if(i&&r.portal.user)return this._getUserPrivileges(r,n);let o,l;if(i)o=r.portal.url;else try{o=await(0,h.wI)(this.url,t)}catch(e){(0,c.QP)(e)}if(!o||!(0,d.b8)(o,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;l=await(s.id?.getCredential(`${o}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,c.QP)(e)}const a=!0,u=!1,p=!1;if(!l)return{features:{edit:a,fullEdit:u},content:{updateItem:p}};try{if(i?await r.reload():(r=new m.default({id:e,portal:{url:o}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,n)}catch(e){(0,c.QP)(e)}return{features:{edit:a,fullEdit:u},content:{updateItem:p}}}_getUserPrivileges(e,t){const r=(0,v.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,c.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?s.id?.findCredential(this.url):null;if(!t)return!0;const r=M.credential===t?M.user:await this._fetchEditingUser(e);return M.credential=t,M.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const r=s.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const n=`${r.owningSystemUrl}/sharing/rest`,i=y.A.getDefault();if(i&&i.loaded&&(0,d.S8)(i.restUrl)===(0,d.S8)(n))return i.user;const a=`${n}/community/self`,u=null!=e?e.signal:null,p=await(0,l.Ke)((0,o.A)(a,{authMode:"no-prompt",query:{f:"json"},signal:u}));return p.ok?g.A.fromJSON(p.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,n=this.portalItem?.id&&(this.portalItem.portal||y.A.getDefault());return r&&n&&!(0,d.ut)(n.restUrl,r.restUrl)?(t.messages&&t.messages.push(new a.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,n.Cg)([(0,f.MZ)({type:m.default})],I.prototype,"portalItem",null),(0,n.Cg)([(0,w.w)("web-document","portalItem",["itemId"])],I.prototype,"readPortalItem",null),(0,n.Cg)([(0,b.K)("web-document","portalItem",{itemId:{type:String}})],I.prototype,"writePortalItem",null),(0,n.Cg)([(0,f.MZ)({clonable:!1})],I.prototype,"resourceReferences",void 0),(0,n.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasEditingPrivileges",void 0),(0,n.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasFullEditingPrivileges",void 0),(0,n.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasUpdateItemPrivileges",void 0),I=(0,n.Cg)([(0,f.$K)("esri.layers.mixins.PortalLayer")],I),I},M={credential:null,user:null}},9093(e,t,r){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}r.d(t,{o8:()=>i,vt:()=>n,zK:()=>s});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:i,create:n,fromValues:function(e,t,r,n,i,s,o,l,a,u,p,c,d,f,h,y){return[e,t,r,n,i,s,o,l,a,u,p,c,d,f,h,y]}},Symbol.toStringTag,{value:"Module"}))},9762(e,t,r){r.r(t),r.d(t,{projectBuffer:()=>i});var n=r(49208);function i(e,t,r,i,s,o,l=Math.floor(e.length/3)){const a=(0,n.jd)(t,s);if(null==a)return!1;if(a===n.pO){if(e===i&&r===o)return!0;const t=r+3*l;for(let n=r,s=o;n<t;n++,s++)i[s]=e[n]??0;return!0}const u=r+3*l;for(let t=r,n=o;t<u;t+=3,n+=3)a(e,t,i,n);return!0}},10184(e,t,r){r.d(t,{A:()=>p});var n=r(5482),i=r(69540),s=r(25482),o=r(88930),l=r(91429),a=r(73133),u=r(93223);let p=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,o.t)(this.value,this.unit,"milliseconds")}};(0,n.Cg)([(0,u.e)(a.j,{nonNullable:!0})],p.prototype,"unit",void 0),(0,n.Cg)([(0,l.MZ)({type:Number,json:{write:!0},nonNullable:!0})],p.prototype,"value",void 0),p=(0,n.Cg)([(0,l.$K)("esri.time.TimeInterval")],p)},10407(e,t,r){r.d(t,{It:()=>f,LG:()=>o,OM:()=>u,Sm:()=>p,Y:()=>l,bK:()=>a,mm:()=>d,sQ:()=>c});var n=r(91218),i=r(16930),s=r(28735);function o(e,t){if(!l(e,t)){const r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function l(e,t){return!!e.typeKeywords?.includes(t)}function a(e){return l(e,d.HOSTED_SERVICE)}function u(e,t){const r=e.typeKeywords;if(r){const e=r.indexOf(t);e>-1&&r.splice(e,1)}}function p(e,t,r){r?o(e,t):u(e,t)}async function c(e){const t=e.clone().normalize();let r;if(t.length>1)for(const e of t)r?e.width>r.width&&(r=e):r=e;else r=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,s.ci)(e);const r=i.A.WGS84;return await(0,n.initializeProjection)(t,r),(0,n.project)(e,r)}(r)}const d={CHARTS:"Charts",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery"};function f(e){const{portal:t,isOrgItem:r,itemControl:n}=e,i=t.user?.privileges;let s=!i||i.includes("features:user:edit"),o=!!r&&!!i?.includes("features:user:fullEdit");const l="update"===n||"admin"===n;return l?o=s=!0:o&&(s=!0),{features:{edit:s,fullEdit:o},content:{updateItem:l}}}},13069(e,t,r){r.d(t,{AG:()=>l,lk:()=>i,vD:()=>o,yS:()=>s});const n="randomUUID"in crypto;function i(){if(n)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function s(){return`{${i().toUpperCase()}}`}function o(){return`{${i()}}`}function l(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},15481(e,t,r){r.r(t),r.d(t,{default:()=>ne});var n=r(5482),i=r(37838),s=r(25728),o=r(74887),l=r(84952),a=r(91429),u=r(5443),p=r(16930),c=r(50498),d=r(55156),f=r(60950),h=r(89808),y=r(99959);const m=Symbol("isGeoJSONGraphicOrigin");var g;class v extends y.A{get[(g=m,f.ym)](){return this.layer}get[d.e](){return this.layer}get[h.Q](){return this.layer}constructor(e){super(),this[g]=!0,this.type="geojson",this.layer=e}get id(){return this.layer.id}}var w=r(4146),b=r(49186),I=r(44208),M=r(92474),x=r(53966),T=r(83027),A=r(39829),C=r(64714),S=r(22671);let _=class extends M.x_{constructor(){super(...arguments),this.type="geojson",this.refresh=(0,o.sg)(async e=>{await this.load();const{extent:t,timeExtent:r}=await this._connection.invoke("refresh",e);return this.sourceJSON.extent=t,r&&(this.sourceJSON.timeInfo.timeExtent=[r.start,r.end]),{dataChanged:!0,updates:{extent:this.sourceJSON.extent,timeInfo:this.sourceJSON.timeInfo}}})}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this._startWorker(t)),Promise.resolve(this)}destroy(){this._connection?.close(),this._connection=null}applyEdits(e){return this.load().then(()=>this._applyEdits(e))}openPorts(){return this.load().then(()=>this._connection.openPorts())}queryFeatures(e,t={}){return this.load(t).then(()=>this._connection.invoke("queryFeatures",e?e.toJSON():null,t)).then(e=>S.A.fromJSON(e))}queryFeaturesJSON(e,t={}){return this.load(t).then(()=>this._connection.invoke("queryFeatures",e?e.toJSON():null,t))}queryFeatureCount(e,t={}){return this.load(t).then(()=>this._connection.invoke("queryFeatureCount",e?e.toJSON():null,t))}queryObjectIds(e,t={}){return this.load(t).then(()=>this._connection.invoke("queryObjectIds",e?e.toJSON():null,t))}queryExtent(e,t={}){return this.load(t).then(()=>this._connection.invoke("queryExtent",e?e.toJSON():null,t)).then(e=>({count:e.count,extent:u.A.fromJSON(e.extent)}))}querySnapping(e,t={}){return this.load(t).then(()=>this._connection.invoke("querySnapping",e,t))}async queryAttributeBins(e,t={}){return await this.load(),this._connection.invoke("queryAttributeBins",e?.toJSON(),t)}_applyEdits(e){if(!this._connection)throw new b.A("geojson-layer-source:edit-failure","Memory source not loaded");const t=this.layer.objectIdField,r=[],n=[],i=[];if(e.addFeatures)for(const t of e.addFeatures)r.push(this._serializeFeature(t));if(e.deleteFeatures)for(const r of e.deleteFeatures)"objectId"in r&&null!=r.objectId?n.push(r.objectId):"attributes"in r&&null!=r.attributes[t]&&n.push(r.attributes[t]);if(e.updateFeatures)for(const t of e.updateFeatures)i.push(this._serializeFeature(t));return this._connection.invoke("applyEdits",{adds:r,updates:i,deletes:n}).then(({extent:e,timeExtent:t,featureEditResults:r})=>(this.sourceJSON.extent=e,t&&(this.sourceJSON.timeInfo.timeExtent=[t.start,t.end]),this._createEditsResult(r)))}_createEditsResult(e){return{addFeatureResults:e.addResults?e.addResults.map(this._createFeatureEditResult,this):[],updateFeatureResults:e.updateResults?e.updateResults.map(this._createFeatureEditResult,this):[],deleteFeatureResults:e.deleteResults?e.deleteResults.map(this._createFeatureEditResult,this):[],addAttachmentResults:[],updateAttachmentResults:[],deleteAttachmentResults:[]}}_createFeatureEditResult(e){const t=!0===e.success?null:e.error||{code:void 0,description:""};return{objectId:e.objectId,globalId:e.globalId,error:t?new b.A("geojson-layer-source:edit-failure",t.description,{code:t.code}):null}}_serializeFeature(e){const{attributes:t}=e,r=this._geometryForSerialization(e);return r?{geometry:r.toJSON(),attributes:t}:{attributes:t}}_geometryForSerialization(e){const{geometry:t}=e;return null==t?null:"mesh"===t.type||"extent"===t.type?A.A.fromExtent(t.extent):t}async _startWorker(e){this._connection=await(0,T.h)("GeoJSONSourceWorker",{strategy:(0,I.A)("feature-layers-workers")?"dedicated":"local",signal:e,registryTarget:this});const{fields:t,spatialReference:r,hasZ:n,geometryType:i,objectIdField:s,url:o,timeInfo:l,customParameters:a}=this.layer,u="defaults"===this.layer.originOf("spatialReference"),p={url:o,customParameters:a,fields:t&&t.map(e=>e.toJSON()),geometryType:c.gy.toJSON(i),hasZ:n,objectIdField:s,timeInfo:l?l.toJSON():null,spatialReference:u?null:r&&r.toJSON()},d=await this._connection.invoke("load",p,{signal:e});for(const e of d.warnings)x.A.getLogger(this.layer).warn("#load()",`${e.message} (title: '${this.layer.title||"no title"}', id: '${this.layer.id??"no id"}')`,{warning:e});d.featureErrors.length&&x.A.getLogger(this.layer).warn("#load()",`Encountered ${d.featureErrors.length} validation errors while loading features. (title: '${this.layer.title||"no title"}', id: '${this.layer.id??"no id"}')`,{errors:d.featureErrors}),this.sourceJSON=d.layerDefinition,this.capabilities=(0,C.f)(this.sourceJSON.hasZ,!0)}};(0,n.Cg)([(0,a.MZ)()],_.prototype,"capabilities",void 0),(0,n.Cg)([(0,a.MZ)()],_.prototype,"type",void 0),(0,n.Cg)([(0,a.MZ)({constructOnly:!0})],_.prototype,"layer",void 0),(0,n.Cg)([(0,a.MZ)()],_.prototype,"sourceJSON",void 0),_=(0,n.Cg)([(0,a.$K)("esri.layers.graphics.sources.GeoJSONSource")],_);var F=r(63074),E=r(69208),O=r(6455),R=r(87718),j=r(56658),Z=r(16131),P=r(32756),N=r(8303),D=r(54310),$=r(25036),U=r(82935),k=r(63396),L=r(10873),G=r(15426),J=r(29005),q=r(20437),z=r(17036),B=r(30524),V=r(46499),K=r(39383),H=r(41214),Y=r(61956),Q=r(30291),W=r(79677),X=r(10184),ee=r(56400);const te=(0,z.p)();let re=class extends((0,P.fY)((0,O.FJ)((0,E.d)((0,j.J)((0,R.F)((0,F.dM)((0,U.e)((0,k.d)((0,$.j)((0,D.J)((0,Z.q)((0,N.A)((0,s.M)(w.A)))))))))))))){constructor(e){super(e),this.attributeTableTemplate=null,this.copyright=null,this.dateFieldsTimeZone=null,this.definitionExpression=null,this.displayField=null,this.editingEnabled=!1,this.elevationInfo=null,this.fields=null,this.fieldsIndex=null,this.fullExtent=null,this.geometryType=null,this.graphicOrigin=new v(this),this.hasZ=void 0,this.labelsVisible=!0,this.labelingInfo=null,this.legendEnabled=!0,this.objectIdField=null,this.operationalLayerType="GeoJSON",this.outFields=null,this.popupEnabled=!0,this.popupTemplate=null,this.screenSizePerspectiveEnabled=!0,this.source=new _({layer:this}),this.spatialReference=p.A.WGS84,this.templates=null,this.title="GeoJSON",this.type="geojson"}destroy(){this.source?.destroy()}load(e){const t=this.loadFromPortal({supportedTypes:["GeoJson"],supportsData:!1},e).catch(o.QP).then(()=>this.source.load(e)).then(()=>{this.read(this.source.sourceJSON,{origin:"service",url:this.parsedUrl}),["objectIdField","fields","timeInfo"].forEach(e=>this.revertToOrigin(e,"service")),(0,B.yp)(this.renderer,this.fieldsIndex),(0,B.sv)(this.timeInfo,this.fieldsIndex)});return this.addResolvingPromise(t),Promise.resolve(this)}get portalItem(){return super.portalItem}set portalItem(e){super.portalItem=e}get timeInfo(){return super.timeInfo}set timeInfo(e){super.timeInfo=e}get capabilities(){return this.source?this.source.capabilities:null}get createQueryVersion(){return this.commitProperty("definitionExpression"),this.commitProperty("timeExtent"),this.commitProperty("timeOffset"),this.commitProperty("geometryType"),this.commitProperty("capabilities"),(this._get("createQueryVersion")||0)+1}get defaultPopupTemplate(){return this.createPopupTemplate()}get isTable(){return this.loaded&&null==this.geometryType}get parsedUrl(){return(0,l.An)(this.url)}set renderer(e){(0,B.yp)(e,this.fieldsIndex),this._set("renderer",e)}set url(e){if(!e)return void this._set("url",e);const t=(0,l.An)(e);this._set("url",t.path),t.query&&(this.customParameters={...this.customParameters,...t.query})}async applyEdits(e,t){const{applyEdits:n}=await Promise.all([r.e(9938),r.e(2356)]).then(r.bind(r,69938));await this.load();const i=await n(this,this.source,e,t);return this.read({extent:this.source.sourceJSON.extent,timeInfo:this.source.sourceJSON.timeInfo},{origin:"service",ignoreDefaults:!0}),i}createPopupTemplate(e){return(0,Q.tn)(this,e)}createQuery(){const e=new Y.A,t=this.capabilities?.data;e.returnGeometry=!0,t&&t.supportsZ&&(e.returnZ=!0),e.outFields=["*"],e.where=this.definitionExpression||"1=1";const{timeOffset:r,timeExtent:n}=this;return e.timeExtent=null!=r&&null!=n?n.offset(-r.value,r.unit):n||null,e}getFieldDomain(e,t){return this.getField(e)?.domain}getField(e){return this.fieldsIndex.get(e)}queryFeatures(e,t){return this.load().then(()=>this.source.queryFeatures(Y.A.from(e)||this.createQuery(),t)).then(e=>{if(e?.features)for(const t of e.features)t.layer=t.sourceLayer=this,t.origin=this.graphicOrigin;return e})}queryObjectIds(e,t){return this.load().then(()=>this.source.queryObjectIds(Y.A.from(e)||this.createQuery(),t))}queryFeatureCount(e,t){return this.load().then(()=>this.source.queryFeatureCount(Y.A.from(e)||this.createQuery(),t))}queryExtent(e,t){return this.load().then(()=>this.source.queryExtent(Y.A.from(e)||this.createQuery(),t))}async queryAttributeBins(e,t){const{source:n,capabilities:i}=await this.load();(0,G.ZJ)(e,i,"GeoJSONLayer");const s=await r.e(4575).then(r.bind(r,14575)),o=await n.queryAttributeBins(s.default.from(e),t);if(o.features)for(const e of o.features)e.layer=e.sourceLayer=this;return o}async hasDataChanged(){try{const{dataChanged:e,updates:t}=await this.source.refresh(this.customParameters);return null!=t&&this.read(t,{origin:"service",url:this.parsedUrl,ignoreDefaults:!0}),e}catch{}return!1}};(0,n.Cg)([(0,a.MZ)({type:W.A})],re.prototype,"timeExtent",void 0),(0,n.Cg)([(0,a.MZ)({type:X.A})],re.prototype,"timeOffset",void 0),(0,n.Cg)([(0,a.MZ)(L.zQ)],re.prototype,"attributeTableTemplate",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0,json:{read:!1,write:!1}})],re.prototype,"capabilities",null),(0,n.Cg)([(0,a.MZ)({type:String})],re.prototype,"copyright",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0})],re.prototype,"createQueryVersion",null),(0,n.Cg)([(0,a.MZ)((0,ee.P6)("dateFieldsTimeReference"))],re.prototype,"dateFieldsTimeZone",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0})],re.prototype,"defaultPopupTemplate",null),(0,n.Cg)([(0,a.MZ)({type:String,json:{name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],re.prototype,"definitionExpression",void 0),(0,n.Cg)([(0,a.MZ)({type:String})],re.prototype,"displayField",void 0),(0,n.Cg)([(0,a.MZ)({type:Boolean})],re.prototype,"editingEnabled",void 0),(0,n.Cg)([(0,a.MZ)(L.Yj)],re.prototype,"elevationInfo",void 0),(0,n.Cg)([(0,a.MZ)({type:[q.A],json:{name:"layerDefinition.fields",write:{ignoreOrigin:!0,isRequired:!0},origins:{service:{name:"fields"}}}})],re.prototype,"fields",void 0),(0,n.Cg)([(0,a.MZ)(te.fieldsIndex)],re.prototype,"fieldsIndex",void 0),(0,n.Cg)([(0,a.MZ)({type:u.A,json:{name:"extent"}})],re.prototype,"fullExtent",void 0),(0,n.Cg)([(0,a.MZ)({type:["point","polygon","polyline","multipoint"],json:{read:{reader:c.gy.read}}})],re.prototype,"geometryType",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0,clonable:!1})],re.prototype,"graphicOrigin",void 0),(0,n.Cg)([(0,a.MZ)({type:Boolean})],re.prototype,"hasZ",void 0),(0,n.Cg)([(0,a.MZ)(L.id)],re.prototype,"id",void 0),(0,n.Cg)([(0,a.MZ)({type:Boolean,readOnly:!0})],re.prototype,"isTable",null),(0,n.Cg)([(0,a.MZ)(L.kF)],re.prototype,"labelsVisible",void 0),(0,n.Cg)([(0,a.MZ)({type:[V.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",read:{reader:K.w},write:!0}})],re.prototype,"labelingInfo",void 0),(0,n.Cg)([(0,a.MZ)(L.fV)],re.prototype,"legendEnabled",void 0),(0,n.Cg)([(0,a.MZ)({type:["show","hide"]})],re.prototype,"listMode",void 0),(0,n.Cg)([(0,a.MZ)({type:String,json:{name:"layerDefinition.objectIdField",write:{ignoreOrigin:!0,isRequired:!0},origins:{service:{name:"objectIdField"}}}})],re.prototype,"objectIdField",void 0),(0,n.Cg)([(0,a.MZ)(L.ke)],re.prototype,"opacity",void 0),(0,n.Cg)([(0,a.MZ)({type:["GeoJSON"]})],re.prototype,"operationalLayerType",void 0),(0,n.Cg)([(0,a.MZ)(te.outFields)],re.prototype,"outFields",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0})],re.prototype,"parsedUrl",null),(0,n.Cg)([(0,a.MZ)(L.M6)],re.prototype,"popupEnabled",void 0),(0,n.Cg)([(0,a.MZ)({type:i.A,json:{name:"popupInfo",write:!0}})],re.prototype,"popupTemplate",void 0),(0,n.Cg)([(0,a.MZ)({types:H.Hg,json:{name:"layerDefinition.drawingInfo.renderer",write:!0,origins:{service:{name:"drawingInfo.renderer"},"web-scene":{types:H.XJ}}}})],re.prototype,"renderer",null),(0,n.Cg)([(0,a.MZ)(L.PY)],re.prototype,"screenSizePerspectiveEnabled",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0})],re.prototype,"source",void 0),(0,n.Cg)([(0,a.MZ)({type:p.A})],re.prototype,"spatialReference",void 0),(0,n.Cg)([(0,a.MZ)({type:[J.A]})],re.prototype,"templates",void 0),(0,n.Cg)([(0,a.MZ)()],re.prototype,"title",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!1},readOnly:!0})],re.prototype,"type",void 0),(0,n.Cg)([(0,a.MZ)(L.OZ)],re.prototype,"url",null),re=(0,n.Cg)([(0,a.$K)("esri.layers.GeoJSONLayer")],re);const ne=re},17036(e,t,r){r.d(t,{p:()=>a});var n=r(44208),i=r(53966),s=r(20437),o=r(95466),l=r(30524);function a(){return{fields:{type:[s.A],value:null,set:function(e){if(e&&(0,n.A)("big-integer-warning-enabled")){const t=e.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(t.length){const e=t.map(e=>`'${e.name}'`).join(", ");i.A.getLogger(this).warn("#fields",`Layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}') references big-integer field(s): ${e}, support for which is experimental. Only integers less than ${Number.MAX_SAFE_INTEGER} (Number.MAX_SAFE_INTEGER) are supported.`)}}this._set("fields",e)}},fieldsIndex:{readOnly:!0,get(){return o.A.fromLayer(this)}},outFields:{type:[String],json:{read:!1},set:function(e){this._userOutFields=e,this.notifyChange("outFields")},get:function(){const e=this._userOutFields;if(!e?.length)return null;if(e.includes("*"))return["*"];if(!this.fields)return e;for(const t of e){const r=this.fieldsIndex?.has(t);r||i.A.getLogger("esri.layers.support.fieldProperties").error("field-attributes-layer:invalid-field",`Invalid field ${t} found in outFields`,{layer:this,outFields:e})}return(0,l.DB)(this.fieldsIndex,e)}}}}},22671(e,t,r){r.d(t,{A:()=>v});var n,i=r(5482),s=r(52106),o=r(66552),l=r(25482),a=r(4718),u=r(91429),p=r(16930),c=r(60408),d=r(65864),f=r(50498),h=r(20437),y=r(36005),m=r(43937);const g=new o.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=n=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,s.A)}writeGeometryType(e,t,r,n){if(e)return void g.write(e,t,r,n);const{features:i}=this;if(i)for(const e of i)if(null!=e?.geometry)return void g.write(e.geometry.type,t,r,n)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,n=(0,d.rS)(e);return n&&!r&&t.spatialReference&&(n.spatialReference=p.A.fromJSON(t.spatialReference)),n}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new n(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const n=t.features[r];if(n.geometry){const t=e?.[r];n.geometry=t?.toJSON()||n.geometry}}return t}quantize(e){const{scale:[t,r],translate:[n,i]}=e,s=this.features,o=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-n)/t),e=>Math.round((i-e)/r));for(let e=0,t=s.length;e<t;e++)o?.(s[e].geometry)||(s.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[n,i],scale:[s,o]}=r;let l=null,a=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;l=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;a=r=>null==r?r:r*t+e}const u=this._getHydrationFunction(e,e=>e*s+n,e=>i-e*o,l,a);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const n=p.A.fromJSON(t.spatialReference),i=[];for(let t=0;t<e.length;t++){const s=e[t],o=r.fromJSON(s),l=s.geometry?.spatialReference;null==o.geometry||l||(o.geometry.spatialReference=n);const a=s.aggregateGeometries,u=o.aggregateGeometries;if(a&&null!=u)for(const e in u){const t=u[e],r=a[e],i=r?.spatialReference;null==t||i||(t.spatialReference=n)}i.push(o)}return i}_quantizePoints(e,t,r){let n,i;const s=[];for(let o=0,l=e.length;o<l;o++){const l=e[o];if(o>0){const e=t(l[0]),o=r(l[1]);e===n&&o===i||(s.push([e-n,o-i]),n=e,i=o)}else n=t(l[0]),i=r(l[1]),s.push([n,i])}return s.length>0?s:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const n=(0,c.Bi)(e)?e.rings:e.paths,i=[];for(let e=0,s=n.length;e<s;e++){const s=n[e],o=this._quantizePoints(s,t,r);o&&i.push(o)}return i.length>0?((0,c.Bi)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{const n=this._quantizePoints(e.points,t,r);return n&&n.length>0?(e.points=n,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,n,i){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),n&&(e.z=n(e.z))}:"polyline"===e||"polygon"===e?e=>{const s=(0,c.Bi)(e)?e.rings:e.paths;let o,l;for(let e=0,n=s.length;e<n;e++){const n=s[e];for(let e=0,i=n.length;e<i;e++){const i=n[e];e>0?(o+=i[0],l+=i[1]):(o=i[0],l=i[1]),i[0]=t(o),i[1]=r(l)}}if(n&&i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2]),r[3]=i(r[3])}}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2])}}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),n&&null!=e.zmax&&null!=e.zmin&&(e.zmax=n(e.zmax),e.zmin=n(e.zmin)),i&&null!=e.mmax&&null!=e.mmin&&(e.mmax=i(e.mmax),e.mmin=i(e.mmin))}:"multipoint"===e?e=>{const s=e.points;let o,l;for(let e=0,n=s.length;e<n;e++){const n=s[e];e>0?(o+=n[0],l+=n[1]):(o=n[0],l=n[1]),n[0]=t(o),n[1]=r(l)}if(n&&i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=n(t[2]),t[3]=i(t[3])}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=n(t[2])}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=i(t[2])}}:null}};(0,i.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,i.Cg)([(0,u.MZ)({type:[s.A],json:{write:!0}})],v.prototype,"features",void 0),(0,i.Cg)([(0,y.w)("features")],v.prototype,"readFeatures",null),(0,i.Cg)([(0,u.MZ)({type:[h.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,i.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],v.prototype,"geometryType",void 0),(0,i.Cg)([(0,m.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,i.Cg)([(0,u.MZ)({types:f.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,i.Cg)([(0,y.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,i.Cg)([(0,u.MZ)({type:p.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,i.Cg)([(0,m.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,i.Cg)([(0,u.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=n=(0,i.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0},29005(e,t,r){r.d(t,{A:()=>u});var n=r(5482),i=r(69540),s=r(66552),o=r(25482),l=r(91429);const a=new s.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"name",void 0),(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"description",void 0),(0,n.Cg)([(0,l.MZ)({json:{read:a.read,write:a.write}})],u.prototype,"drawingTool",void 0),(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,n.Cg)([(0,l.$K)("esri.layers.support.FeatureTemplate")],u)},32730(e,t,r){r.d(t,{BI:()=>f,D3:()=>c,XJ:()=>d,lc:()=>p,mX:()=>y,rU:()=>h,tH:()=>b});var n=r(799);const i="__begin__",s="__end__",o=new RegExp(i,"ig"),l=new RegExp(s,"ig"),a=new RegExp("^"+i,"i"),u=new RegExp(s+"$","i");function p(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function c(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function d(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=p(e.labelExpression),t.type="conventional"),t}function f(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return y(t.expression);case"arcade":return t.expression}return null}function h(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(m);return t?.[1].trim()||null}(t.expression);case"arcade":return b(t.expression)}return null}function y(e){let t;return e?(t=(0,n.HC)(e,e=>i+'$feature["'+e+'"]'+s),t=a.test(t)?t.replace(a,""):'"'+t,t=u.test(t)?t.replace(u,""):t+'"',t=t.replaceAll(o,'" + ').replaceAll(l,' + "')):t='""',t}const m=/^\s*\{([^}]+)\}\s*$/i,g=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,v=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,w=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function b(e){if(!e)return null;let t=g.exec(e)||v.exec(e);return t?t[1]||t[3]:(t=w.exec(e),t?t[2]:null)}},32756(e,t,r){r.d(t,{Rr:()=>l,fY:()=>u,ne:()=>a});var n=r(5482),i=r(93637),s=r(91429),o=r(91880);function l(e,t,r){if(!e)return null;const n=e.find(e=>!!e.field);if(!n)return null;const i=new o.A;return i.read(n,r),[i]}const a={type:[o.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,r,n){const s=e.find(e=>!!e.field);s&&(0,i.sM)(r,[s.toJSON()],t)}}}},u=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,n.Cg)([(0,s.MZ)(a)],r.prototype,"orderBy",void 0),r=(0,n.Cg)([(0,s.$K)("esri.layers.mixins.OrderedLayer")],r),r}},34403(e,t,r){r.d(t,{TP:()=>o});var n=r(79258);Math.PI;const i=n.$O.radius,s=n.$O.eccentricitySquared,o={a1:i*s,a2:i*s*i*s,a3:i*s*s/2,a4:i*s*i*s*2.5,a5:i*s+i*s*s/2,a6:1-s};n.$O.radius,n.$O.flattening,n.Sw.radius,n.Sw.flattening,n.sH.radius,n.sH.flattening,n.sH.radius},41366(e,t,r){r.d(t,{K:()=>c,Q:()=>a});var n=r(5482),i=r(66552),s=r(53966),o=r(91429),l=r(93223);const a=(0,i.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",p="field",c=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&p||r&&u||null,t&&r&&s.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==p&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,n.Cg)([(0,o.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],r.prototype,"normalizationField",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],r.prototype,"normalizationMaxValue",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],r.prototype,"normalizationMinValue",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],r.prototype,"normalizationTotal",void 0),(0,n.Cg)([(0,l.e)(a,{name:"parameters.normalizationType"})],r.prototype,"normalizationType",null),r=(0,n.Cg)([(0,o.$K)("esri.rest.support.NormalizationBinParametersMixin")],r),r}},41560(e,t,r){r.d(t,{Ch:()=>o,mW:()=>s});var n=r(34727),i=r(39516);function s(e,t){return{...t,filterMode:e.mode}}function o(e,t,r){const s=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:r,maxScale:n}of e.filters)t[0]=Math.max(t[0],p(r)),t[1]=Math.min(t[1],c(n));return t}(e);if(s&&((0,n.gg)(t,s[0])||(0,n.ZH)(r,s[1])))return"";const o=Array.from(l(e,t,r)),a=function(e,t,r){if(0===e.length)return!0;const i=p(e.at(0)?.minScale),s=c(e.at(-1)?.maxScale);if((0,n.ZH)(i,t)||(0,n.gg)(s,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],i=e[t+1];if((0,n.ZH)(p(i.minScale),c(r.maxScale)))return!0}return!1}(o,t,r)?"1=1":o.map(e=>e.where||"1=1").reduce((e,t)=>(0,i.IW)(e,t),"");return a&&"1=1"!==a?a:""}function*l(e,t,r){if("manual"===u(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const n of e.filters)a(n.minScale,n.maxScale,t,r)&&(yield n)}}function a(e,t,r,i){return e=p(e),r=p(r),t=c(t),!(!(0,n.Sp)(r,e)&&(i??r)>e||(0,n.Hx)(t,r)||void 0!==i&&(0,n.Sp)(i,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function p(e){return e||Number.POSITIVE_INFINITY}function c(e){return e||0}},46140(e,t,r){r.d(t,{A:()=>i});var n=r(49186);class i{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}toString(){return`${this.major}.${this.minor}`}validate(e){if(this.major!==e.major){const t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new n.A(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new i(this.major,this.minor,this._context)}static parse(e,t=""){const[r,s]=e.split("."),o=/^\s*\d+\s*$/;if(!r?.match||!o.test(r))throw new n.A((t&&t+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:e});if(!s?.match||!o.test(s))throw new n.A((t&&t+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:e});const l=parseInt(r,10),a=parseInt(s,10);return new i(l,a,t)}}},49208(e,t,r){r.d(t,{Tp:()=>c,jd:()=>p,pO:()=>f,w5:()=>u});var n=r(34727),i=r(86211),s=r(73941),o=r(79258),l=r(34403),a=r(21325);const u={2:{5:f,7:null,9:null,10:f,1:I,6:null,8:null,0:null,3:y,11:m,2:f,4:C},5:{5:f,7:null,9:null,10:f,1:I,6:null,8:null,0:null,3:y,11:m,2:f,4:C},7:{5:null,7:f,9:null,10:f,1:null,6:b,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:f,10:f,1:null,6:null,8:w,0:null,3:null,11:null,2:null,4:null},3:{5:h,7:null,9:null,10:h,1:function(e,t,r,n){const i=e[t]/R,s=O-2*Math.atan(Math.exp(-e[t+1]/R)),o=R+(e[t+2]??0),l=Math.cos(s)*o;r[n]=Math.cos(i)*l,r[n+1]=Math.sin(i)*l,r[n+2]=Math.sin(s)*o},6:null,8:null,0:null,3:f,11:function(e,t,r,n){h(e,t,r,n),m(r,n,r,n)},2:h,4:function(e,t,r,n){h(e,t,r,n),C(r,n,r,n)}},4:{5:S,7:null,9:null,10:S,1:function(e,t,r,n){S(e,t,r,n),I(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){S(e,t,r,n),y(r,n,r,n)},11:function(e,t,r,n){S(e,t,r,n),m(r,n,r,n)},2:S,4:f},1:{5:A,7:null,9:null,10:A,1:f,6:null,8:null,0:null,3:function(e,t,r,n){A(e,t,r,n),y(r,n,r,n)},11:function(e,t,r,n){A(e,t,r,n),m(r,n,r,n)},2:A,4:function(e,t,r,n){A(e,t,r,n),C(r,n,r,n)}},6:{5:null,7:T,9:null,10:T,1:null,6:f,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:x,10:x,1:null,6:null,8:f,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:f,3:null,11:null,2:null,4:null},10:{5:f,7:f,9:f,10:f,1:I,6:b,8:w,0:null,3:y,11:m,2:f,4:C},11:{5:g,7:null,9:null,10:g,1:function(e,t,r,n){g(e,t,r,n),I(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){g(e,t,r,n),y(r,n,r,n)},11:f,2:g,4:function(e,t,r,n){g(e,t,r,n),C(r,n,r,n)}}};function p(e,t){return c(e,t)?.projector}function c(e,t){if(null==e||null==t)return null;if(_.source.spatialReference===e&&_.dest.spatialReference===t)return _;const r=d(e,_.source),n=d(t,_.dest);return 0===r&&0===n?(0,a.aI)(e,t)?_.projector=f:_.projector=null:_.projector=u[r][n],_}function d(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,s.jA)(e)?t.spatialReferenceId=1:(0,a.oT)(e)?t.spatialReferenceId=2:(0,a.K8)(e)?t.spatialReferenceId=3:(0,a.r1)(e)?t.spatialReferenceId=11:e.wkt===s.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===s.FY.wkt?t.spatialReferenceId=6:e.wkt===s.LJ.wkt?t.spatialReferenceId=8:(0,s.q8)(e)?t.spatialReferenceId=7:(0,s.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function f(e,t,r,n){e!==r&&(r[n++]=e[t++],r[n++]=e[t++],r[n]=e[t]??0)}function h(e,t,r,n){r[n]=E*(e[t]/R),r[n+1]=E*(O-2*Math.atan(Math.exp(-e[t+1]/R))),r[n+2]=e[t+2]??0}function y(e,t,r,i){!function(e,t,r,i,s){const o=.4999999*Math.PI,l=(0,n.qE)(F*e[t+1],-o,o),a=Math.sin(l);r[i++]=F*e[t]*s.radius,r[i++]=s.halfSemiMajorAxis*Math.log((1+a)/(1-a)),r[i]=e[t+2]??0}(e,t,r,i,o.$O)}function m(e,t,r,n){r[n]=e[t]*j,r[n+1]=e[t+1]*j,r[n+2]=e[t+2]??0}function g(e,t,r,n){r[n]=e[t]*Z,r[n+1]=e[t+1]*Z,r[n+2]=e[t+2]??0}function v(e,t,r,n,i){const s=i+(e[t+2]??0),o=F*e[t],l=F*e[t+1],a=Math.cos(l)*s;r[n]=Math.cos(o)*a,r[n+1]=Math.sin(o)*a,r[n+2]=Math.sin(l)*s}function w(e,t,r,n){v(e,t,r,n,o.Sw.radius)}function b(e,t,r,n){v(e,t,r,n,o.sH.radius)}function I(e,t,r,n){v(e,t,r,n,o.$O.radius)}function M(e,t,r,i,s){const o=e[t],l=e[t+1],a=e[t+2]??0,u=Math.sqrt(o*o+l*l+a*a),p=(0,n.YN)(a/(0===u?1:u)),c=Math.atan2(l,o);r[i++]=E*c,r[i++]=E*p,r[i]=u-s}function x(e,t,r,n){M(e,t,r,n,o.Sw.radius)}function T(e,t,r,n){M(e,t,r,n,o.sH.radius)}function A(e,t,r,n){M(e,t,r,n,o.$O.radius)}function C(e,t,r,n){!function(e,t,r,n,i){const s=F*e[t],o=F*e[t+1],l=e[t+2]??0,a=Math.sin(o),u=Math.cos(o),p=i.radius/Math.sqrt(1-i.eccentricitySquared*a*a);r[n++]=(p+l)*u*Math.cos(s),r[n++]=(p+l)*u*Math.sin(s),r[n++]=(p*(1-i.eccentricitySquared)+l)*a}(e,t,r,n,o.$O)}function S(e,t,r,n){const i=l.TP,s=e[t],a=e[t+1],u=e[t+2]??0;let p,c,d,f,h,y,m,g,v,w,b,I,M,x,T,A,C,S,_,F,O;p=Math.abs(u),c=s*s+a*a,d=Math.sqrt(c),f=c+u*u,h=Math.sqrt(f),F=Math.atan2(a,s),y=u*u/f,m=c/f,x=i.a2/h,T=i.a3-i.a4/h,m>.3?(g=p/h*(1+m*(i.a1+x+y*T)/h),_=Math.asin(g),w=g*g,v=Math.sqrt(1-w)):(v=d/h*(1-y*(i.a5-x-m*T)/h),_=Math.acos(v),w=1-v*v,g=Math.sqrt(w)),b=1-o.$O.eccentricitySquared*w,I=o.$O.radius/Math.sqrt(b),M=i.a6*I,x=d-I*v,T=p-M*g,C=v*x+g*T,A=v*T-g*x,S=A/(M/b+C),_+=S,O=C+A*S/2,u<0&&(_=-_),r[n++]=E*F,r[n++]=E*_,r[n]=O}const _={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:f},F=(0,n.kU)(1),E=(0,n.KJ)(1),O=.5*Math.PI,R=o.$O.radius,j=R*Math.PI/180,Z=180/(R*Math.PI)},52106(e,t,r){r.d(t,{A:()=>x});var n,i,s=r(5482),o=r(37838),l=r(69540),a=r(51447),u=r(25482),p=r(53966),c=r(36708),d=r(24326),f=r(91429),h=r(12195),y=r(65864),m=r(50498),g=r(55156),v=r(60950),w=r(54339),b=r(94128),I=r(33910);function M(e){if(null==e)return null;const t={};for(const r in e){const n=e[r];n&&(t[r]=n.toJSON())}return 0!==Object.keys(t).length?t:null}let x=class extends((0,l.OU)(u.o)){static{n=b.Z}static{i=this}constructor(e){super(e),this[n]=!0,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,d.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,a.eF)(p.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new i({aggregateGeometries:this.aggregateGeometries,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,v.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const r=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[r,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,g.I)(this.origin);if(e)return(0,w.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,w.r)(this,t):null}getGlobalId(){const e=(0,g.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){return{aggregateGeometries:M(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,h.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const r={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",r,r,e.action)}}_notifyLayer(e,t,r,n){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:r};"origin-transform"===e&&(i.action=n),"attributes"===e&&(i.attributeName=n),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,c.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,c.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,s.Cg)([(0,f.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const r in e){const n=(0,y.rS)(e[r]);n&&(t[r]=n)}return 0!==Object.keys(t).length?t:null}}})],x.prototype,"aggregateGeometries",null),(0,s.Cg)([(0,f.MZ)({value:null})],x.prototype,"attributes",null),(0,s.Cg)([(0,f.MZ)({value:null,types:m.yR,json:{read:y.rS}})],x.prototype,"geometry",null),(0,s.Cg)([(0,f.MZ)({type:Boolean})],x.prototype,"isAggregate",void 0),(0,s.Cg)([(0,f.MZ)({clonable:!1})],x.prototype,"layer",void 0),(0,s.Cg)([(0,f.MZ)({clonable:"reference"})],x.prototype,"origin",void 0),(0,s.Cg)([(0,f.MZ)({type:o.A,value:null})],x.prototype,"popupTemplate",null),(0,s.Cg)([(0,f.MZ)({clonable:"reference"})],x.prototype,"sourceLayer",void 0),(0,s.Cg)([(0,f.MZ)({value:null,types:I.Es})],x.prototype,"symbol",null),(0,s.Cg)([(0,f.MZ)({clonable:!1,json:{read:!1,write:!1}})],x.prototype,"_version",void 0),(0,s.Cg)([(0,f.MZ)({type:Boolean,value:!0})],x.prototype,"visible",null),x=i=(0,s.Cg)([(0,f.$K)("esri.Graphic")],x)},54339(e,t,r){function n(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const r=[];for(const n of t.fieldNames)r.push(e.attributes[n]??null);return JSON.stringify(r)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const r=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(r)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}r.d(t,{W:()=>n,r:()=>i})},55156(e,t,r){r.d(t,{I:()=>i,e:()=>n});const n=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&n in t?e[n]:void 0;var t}},55674(e,t,r){r.d(t,{Ad:()=>f,Gj:()=>m,QY:()=>d,lL:()=>g,xR:()=>h});var n=r(66131),i=r(49186),s=(r(44208),r(44729)),o=r(15032),l=r(65864),a=r(95466),u=r(43668),p=r(98623);const c=["geometry","scale","timeProperties"];function d(e,t){if(null!=t)for(const r of c)t.hasArcadeDependency(r)&&e.add(r);return e}function f(e,t){return y.create(e,t,null,["$feature","$view"])}function h(e,t,r){return y.create(e,t,r,["$feature","$view","$config"])}class y{static async create(e,t,r,n){const{arcade:s,Dictionary:o}=await(0,u.l)();let l;try{l=s.parseScript(e)}catch(t){throw new i.A("arcade-bad-expression","Failed to parse arcade script",{script:e,error:t})}const a=s.scriptUsesGeometryEngine(l);a&&await s.enableGeometrySupport(),await s.loadDependentModules(new Set,l,null,!1,a);const p={vars:n.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},c=s.compileScript(l,p);let d=null;null!=r&&(d=new o(r),d.immutable=!0);const f=new o;return f.immutable=!1,f.setField("scale",0),new y(e,s,l,c,t,f,d,o)}constructor(e,t,r,n,i,s,o,l){this.script=e,this._arcade=t,this._syntaxTree=r,this._compiled=n,this._spatialReference=i,this._viewDict=s,this._configDict=o,this._dictionaryCtor=l,this._dependencies=new Map,this._featureReader=new m,this._dependencies.set("geometry",t.scriptTouchesGeometry(this._syntaxTree)),this._dependencies.set("scale",this._arcade.referencesMember(this._syntaxTree,"scale")),this._dependencies.set("timeProperties",this._arcade.scriptUsesViewProperties(this._syntaxTree,["timeProperties"]))}evaluate(e,t){const r=t.$view?.timeZone;if(t.$view){let e;if(this._viewDict.setField("scale",t.$view.scale),null!=t.$view.timeProperties){const{currentStart:i,currentEnd:s}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=i?null!=r?n.lY.epochToArcadeDate(i,r):n.lY.unknownEpochToArcadeDate(i):void 0,currentEnd:null!=s?null!=r?n.lY.epochToArcadeDate(s,r):n.lY.unknownEpochToArcadeDate(s):void 0,startIncluded:!0,endIncluded:!0})}this._viewDict.setField("timeProperties",e)}return this._compiled({vars:{$view:this._viewDict,$config:this._configDict,$feature:e},spatialReference:this._spatialReference,timeZone:r})}repurposeFeature(e,t){return this._featureReader.bind(e,t,this._spatialReference),this._featureReader}references(e){return this._dependencies.get(e)??!1}}class m{constructor(){this._boundTarget=null,this._boundSchema={fields:null,fieldsIndex:null,spatialReference:null,get geometryType(){return null},get objectIdField(){return null}},this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}bind(e,t,r){const n=t??new a.A(g(e.attributes));this._boundTarget=e,this._boundSchema.fields=n.fields,this._boundSchema.fieldsIndex=n,this._boundSchema.spatialReference=r}_getField(e){return this._boundSchema.fieldsIndex.get(e)}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this._boundSchema.fieldsIndex.has(e)}geometry(){if("fromJSON"in this._boundTarget)return this._boundTarget.geometry;const e=(0,l.rS)(this._boundTarget.geometry);if(e){if(!this._boundSchema.spatialReference)throw new Error("InternalError: Expected spatial reference to be defined");e.spatialReference=this._boundSchema.spatialReference}return e}_hasGeometry(){return null!=this._boundTarget.geometry}isUnknownDateTimeField(e){return this._boundSchema.fieldsIndex.getTimeZone(e)===p.L5}field(e,t=!0){const r=this._getField(e);if(r){const t=this._boundTarget.attributes[r.name];if(null==t)return null;switch(r.type){case"date-only":case"esriFieldTypeDateOnly":return s.n.fromReader(t);case"time-only":case"esriFieldTypeTimeOnly":return o.k.fromReader(t);case"esriFieldTypeTimestampOffset":case"timestamp-offset":return n.lY.fromReaderAsTimeStampOffset(t);case"date":case"esriFieldTypeDate":return this.isUnknownDateTimeField(e)?n.lY.unknownEpochToArcadeDate(t):n.lY.epochToArcadeDate(t,this.contextTimeZone??p.qU);default:return t}}if(t)throw new Error(`Field ${e} does not exist`);return null}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this._boundSchema.fieldsIndex.fields.map(e=>e.name)}isEmpty(){return this._boundSchema.fields.length<=0&&!this._hasGeometry()}castToText(e=!1){return JSON.stringify(this._boundTarget)}gdbVersion(){return null}fullSchema(){return this._boundSchema}castAsJson(e=null){return{attributes:this._boundTarget.attributes,geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}}function g(e){const t=[];for(const r in e)t.push({name:r,alias:r,type:"string"==typeof e[r]?"esriFieldTypeString":"esriFieldTypeDouble"});return t}},61760(e,t,r){r.d(t,{PU:()=>o,YW:()=>a,ex:()=>i,hv:()=>l,zp:()=>s}),r(34727);var n=r(90629);r(78955),r(91829);const i=2.4;function s(e){return(0,n.PN)(e*i)}function o(e){return(0,n.Lz)(e)/i}function l(e,t,r){const n=Math.sqrt(e**2+t**2)/r;return n>1?0:3/(Math.PI*r**2)*(1-n**2)**2}function a(e){return"function"==typeof e?e:e?t=>+t[e]:()=>1}},63396(e,t,r){r.d(t,{d:()=>M});var n=r(5482),i=r(91429),s=r(60950),o=r(99959);class l extends o.A{constructor(e){super(),this.type="track",this.trackInfoProvider=e}get id(){return this.trackInfoProvider.id}get[s.ym](){return this.trackInfoProvider.trackInfo}}var a=r(37838),u=r(69540),p=r(25482),c=r(93637),d=r(50820),f=r(10873),h=r(46499),y=r(41214);let m=class extends((0,u.OU)(p.o)){constructor(e){super(e),this.labelingInfo=null,this.labelsVisible=!0,this.renderer=null,this.visible=!0}};(0,n.Cg)([(0,i.MZ)({type:[h.A],json:{write:!0}})],m.prototype,"labelingInfo",void 0),(0,n.Cg)([(0,i.MZ)(f.kF)],m.prototype,"labelsVisible",void 0),(0,n.Cg)([(0,i.MZ)({types:y.Hg,json:{write:!0}})],m.prototype,"renderer",void 0),(0,n.Cg)([(0,i.MZ)({type:Boolean,json:{write:!0}})],m.prototype,"visible",void 0),m=(0,n.Cg)([(0,i.$K)("esri.layers.support.TrackPartInfo")],m);var g=r(96576),v=r(59868),w=r(10184),b=r(43937);let I=class extends((0,u.OU)(p.o)){constructor(e){super(e),this.enabled=!0,this.fields=[],this.latestObservations=new m({renderer:new g.A({symbol:v.UK.clone()})}),this.maxDisplayDuration=null,this.maxDisplayObservationsPerTrack=0,this.popupEnabled=!0,this.popupTemplate=null,this.previousObservations=new m({renderer:new g.A({symbol:v.UK.clone()})}),this.trackLines=new m({renderer:new g.A({symbol:v.A7.clone()})}),this.timeField="startTimeField"}writeFields(e,t,r){const n=e.filter(e=>"avg_angle"!==e.statisticType).map(e=>e.toJSON());(0,c.sM)(r,n,t)}};(0,n.Cg)([(0,i.MZ)({type:Boolean,json:{write:!0}})],I.prototype,"enabled",void 0),(0,n.Cg)([(0,i.MZ)({type:[d.A],json:{write:!0}})],I.prototype,"fields",void 0),(0,n.Cg)([(0,b.K)("fields")],I.prototype,"writeFields",null),(0,n.Cg)([(0,i.MZ)({type:m,json:{write:!0}})],I.prototype,"latestObservations",void 0),(0,n.Cg)([(0,i.MZ)({type:w.A,json:{write:!0}})],I.prototype,"maxDisplayDuration",void 0),(0,n.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],I.prototype,"maxDisplayObservationsPerTrack",void 0),(0,n.Cg)([(0,i.MZ)(f.M6)],I.prototype,"popupEnabled",void 0),(0,n.Cg)([(0,i.MZ)({type:a.A,json:{name:"popupInfo",write:!0}})],I.prototype,"popupTemplate",void 0),(0,n.Cg)([(0,i.MZ)({type:m,json:{write:!0}})],I.prototype,"previousObservations",void 0),(0,n.Cg)([(0,i.MZ)({type:m,json:{write:!0}})],I.prototype,"trackLines",void 0),(0,n.Cg)([(0,i.MZ)({type:["timeReceived","startTimeField","endTimeField"],json:{read:!0,write:!0}})],I.prototype,"timeField",void 0),I=(0,n.Cg)([(0,i.$K)("esri.layers.support.TrackInfo")],I);const M=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.trackGraphicOrigin=new l(this),this.trackInfo=null}};return(0,n.Cg)([(0,i.MZ)({readOnly:!0,clonable:!1})],r.prototype,"trackGraphicOrigin",void 0),(0,n.Cg)([(0,i.MZ)({type:I})],r.prototype,"trackInfo",void 0),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.TrackableLayer")],r),r}},64714(e,t,r){r.d(t,{F0:()=>l,Vx:()=>p,e2:()=>d,f:()=>f});var n=r(44208),i=r(4718),s=r(99352),o=r(93470);function l(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?o.Cb:"esriGeometryPolyline"===e?o.yM:o.WR}}}const a=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function p(e,t){if((0,n.A)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let r=`this${c(t)} = null;`;for(const t in e)r+=`this${c(t)} = ${JSON.stringify(e[t])};`;const n=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${r};\n }\n }\n `)();return()=>new n}catch(r){return()=>({[t]:null,...e})}}function c(e){return a.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function d(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,i.o8)(e)}}]}function f(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:s.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:s.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},69208(e,t,r){r.d(t,{d:()=>s});var n=r(5482),i=r(91429);const s=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.customParameters=null}};return(0,n.Cg)([(0,i.MZ)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],r.prototype,"customParameters",void 0),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.CustomParametersMixin")],r),r}},70328(e,t,r){r.d(t,{BI:()=>w,DC:()=>c,Ej:()=>f,Ie:()=>g,Jt:()=>v,Ne:()=>h,RF:()=>p,aI:()=>I,fA:()=>o,gE:()=>a,hZ:()=>m,iT:()=>d,is:()=>b,qv:()=>M,vI:()=>y,vY:()=>l,v_:()=>x,vt:()=>s,w1:()=>u});var n=r(5443),i=(r(19419),r(4197));function s(e=x){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t,r,n,i,o,l=s()){return l[0]=e,l[1]=t,l[2]=r,l[3]=n,l[4]=i,l[5]=o,l}function l(e,t=s()){return function(e,t,r,n=s()){return m(n,M),function(e,t,r=0,n=t.length/3){let i=e[0],s=e[1],o=e[2],l=e[3],a=e[4],u=e[5];for(let e=0;e<n;e++)i=Math.min(i,t[r+3*e]),s=Math.min(s,t[r+3*e+1]),o=Math.min(o,t[r+3*e+2]),l=Math.max(l,t[r+3*e]),a=Math.max(a,t[r+3*e+1]),u=Math.max(u,t[r+3*e+2]);e[0]=i,e[1]=s,e[2]=o,e[3]=l,e[4]=a,e[5]=u}(n,e,t,r),n}(e,0,e.length/3,t)}function a(e,t=(0,i.jh)(24)){const[r,n,s,o,l,a]=e;return t[0]=r,t[1]=n,t[2]=s,t[3]=r,t[4]=n,t[5]=a,t[6]=r,t[7]=l,t[8]=s,t[9]=r,t[10]=l,t[11]=a,t[12]=o,t[13]=n,t[14]=s,t[15]=o,t[16]=n,t[17]=a,t[18]=o,t[19]=l,t[20]=s,t[21]=o,t[22]=l,t[23]=a,t}function u(e,t){const r=isFinite(e[2])||isFinite(e[5]);return new n.A(r?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function d(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function f(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function h(e,t,r=e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r!==e&&(r[3]=e[3],r[4]=e[4],r[5]=e[5]),r}function y(e,t,r=e){return r[3]=t[0],r[4]=t[1],r[5]=t[2],r!==e&&(r[0]=e[0],r[1]=e[1],r[2]=e[2]),e}function m(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function g(e){return e?m(e,M):s(M)}function v(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function w(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=Number.NEGATIVE_INFINITY,e[3]=n,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function b(e){return 6===e.length}function I(e,t,r){if(null==e||null==t)return e===t;if(!b(e)||!b(t))return!1;if(r){for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}const M=[1/0,1/0,1/0,-1/0,-1/0,-1/0],x=[0,0,0,0,0,0];s()},73133(e,t,r){r.d(t,{j:()=>n});const n=(0,r(66552).O)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:"unknown"})},73681(e,t,r){r.d(t,{n:()=>a});var n=r(49186),i=r(53966),s=r(46140),o=r(95466),l=r(55674);class a{static async from(e,t,r){const o=e.dictionary_version?s.A.parse(e.dictionary_version):null,p=new Set(e.itemsNames),c={};if(t)for(const e in t)c[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)c.hasOwnProperty(t.name)||(c[t.name]=t.value);const d=new Set(e.authoringInfo.symbol);for(const e of Object.keys(r))d.delete(e);d.size&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:d});const f=await(0,l.xR)(e.expression,null,c);if(!f)throw new n.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const h=!o||!o.greaterEqual(4,0);h&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:o});const y=new u(r,h);return new a(h,p,f,y)}constructor(e,t,r,n){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=r,this._reader=n}get itemNames(){return this._itemNames}evaluate(e,t,r,n){try{return this._reader.bind(e,r,n),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new o.A(e);const t=e.map(e=>({...e,type:"esriFieldTypeString"}));return new o.A(t)}}class u extends l.Gj{constructor(e,t){super(),this._fieldMap=e,this._requiresFieldCoercionToString=t}_getField(e){const t=this._fieldMap[e]??e;return this._boundSchema.fieldsIndex.get(t)}field(e){if(!this._requiresFieldCoercionToString)return super.field(e,!1);const t=this._getField(e);return null==t||null==this._boundTarget.attributes[t.name]?"":""+this._boundTarget.attributes[t.name]}}},82935(e,t,r){r.d(t,{B:()=>d,e:()=>f});var n=r(5482),i=r(91429),s=r(89317),o=r(30524),l=r(96184),a=r(73133),u=r(79677),p=r(10184),c=r(36005);const d={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:s.K}}},f=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const r=t.timeInfo.exportOptions;if(!r)return null;const n=r.timeOffset,i=a.j.fromJSON(r.timeOffsetUnits);return n&&i?new p.A({value:n,unit:i}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,o.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,n.Cg)([(0,i.MZ)({type:u.A,json:{write:!1}})],r.prototype,"timeExtent",void 0),(0,n.Cg)([(0,i.MZ)({type:p.A})],r.prototype,"timeOffset",void 0),(0,n.Cg)([(0,c.w)("service","timeOffset",["timeInfo.exportOptions"])],r.prototype,"readOffset",null),(0,n.Cg)([(0,i.MZ)({value:null,type:l.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],r.prototype,"timeInfo",null),(0,n.Cg)([(0,i.MZ)(d)],r.prototype,"useViewTime",void 0),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.TemporalLayer")],r),r}},83027(e,t,r){r.d(t,{h:()=>n});const n=r(29953).ho},83960(e,t,r){r.d(t,{X_:()=>s,oW:()=>l,zx:()=>o});var n=r(34727),i=r(86211);function s(e,t){const r=t||e.extent,n=e.width,s=(0,i.GA)(r?.spatialReference);return r&&n?r.width/n*s*i.dy*96:0}function o(e,t,r){return function(e,t){return 0===t||(0,n.Sp)(e,t)||e<t}(e,t)&&function(e,t){return 0===t||(0,n.Sp)(e,t)||e>t}(e,r)}function l(e,t){return(0,n.Sp)(e,t)?0:(e||Number.POSITIVE_INFINITY)>(t||Number.POSITIVE_INFINITY)?1:-1}},91218(e,t,r){r.r(t),r.d(t,{canProjectWithoutEngine:()=>z,initializeProjection:()=>V,isEqualBaseGCS:()=>B,isLoaded:()=>O,isLoadedOrLoad:()=>R,isLoadedOrLoadFor:()=>j,load:()=>P,project:()=>N,projectAsync:()=>q,projectExtent:()=>ne,projectMany:()=>D,projectMultipoint:()=>Q,projectOrLoad:()=>U,projectOrLoadMany:()=>k,projectPoint:()=>H,projectPolygon:()=>te,projectPolyline:()=>X,projectWithoutEngine:()=>K,requiresLoad:()=>Z,test:()=>J,tryProject:()=>$,unload:()=>G});var n=r(49186),i=r(74887),s=r(62788),o=r(95488),l=r(51850),a=r(21276),u=r(73941),p=r(5443),c=r(91075),d=r(48526),f=r(86738),h=r(39829),y=r(82799),m=r(16930),g=r(98764),v=r(159),w=r(9762),b=r(49208);function I(e,t,r,n,i,s){return M[0]=e,M[1]=t,M[2]=r,(0,w.projectBuffer)(M,n,0,i,s,0)}const M=(0,l.vt)();var x=r(21325),T=r(52006);let A=null,C=null,S=null,_=null,F={};const E=new o.I;function O(){return!!(C?.isLoaded()&&S?.isLoaded()&&_?.isLoaded())}function R(){return!!O()||((0,s.gc)(E),P(),!1)}function j(e,t){return!e||!t||z(e,t)||R()}function Z(e,t){return!z(e,t)&&!O()}async function P(e){null==A&&(A=Promise.all([r.e(3276).then(r.bind(r,83276)).then(e=>(C=e,C.load())),r.e(8377).then(r.bind(r,8377)).then(e=>(S=e,S.load())),r.e(2158).then(r.bind(r,12158)).then(e=>(_=e,_.load()))])),await A,(0,i.Te)(e),E.notify()}function N(e,t,r){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),D(e,e[0].spatialReference,t,r)):((0,a.f)(e),D([e],e.spatialReference,t,r)[0])}function D(e,t,r,n){if(null==t||null==r)return e;if(!e.some(e=>(0,T.Ed)(e))&&z(t,r,n))return e.map(e=>K(e,t,r));if(null==n?.geographicTransformation&&(0,u.jA)(t))return D(e.map(e=>K(e,t,m.A.WGS84)),m.A.WGS84,r,{zConversionDisabled:n?.zConversionDisabled});if(null==n?.geographicTransformation&&(0,u.jA)(r))return D(e,t,m.A.WGS84).map(e=>K(e,m.A.WGS84,r));if(!O())throw new L;if(!n?.geographicTransformation)if(n?.extendedParams)n={...n,geographicTransformation:_.getTransformation(t,r,n.areaOfInterestExtent)||new v.A};else if(!n?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,r);let i=F[e];i||(i=_.getTransformation(t,r)||new v.A,F[e]=i),n={geographicTransformation:i,zConversionDisabled:n?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof c.A?C.executeMany(e,r,n):S.executeMany(e,r,n)}function $(e,t,r){try{return N(e,t,r)}catch(e){return null}}function U(e,t){const r=k([e],t);return null!=r.pending?{pending:r.pending,geometry:null}:null!=r.geometries?{pending:null,geometry:r.geometries[0]}:{pending:null,geometry:null}}function k(e,t,r){if(!O())for(const r of e)if(null!=r&&!(0,x.aI)(r.spatialReference,t)&&(0,x.fn)(r.spatialReference)&&(0,x.fn)(t)&&!z(r.spatialReference,t))return(0,s.gc)(E),{pending:P(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,x.aI)(e.spatialReference,t)?e:(0,x.fn)(e.spatialReference)&&(0,x.fn)(t)?N(e,t,r):null)}}class L extends n.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function G(){A=null,C=null,S=null,_=null,F={}}const J={get loadPromise(){return A}};async function q(e,t,r){if((0,i.Te)(r),!e)return e;const n=k(Array.isArray(e)?e:[e],t,r);if(n.pending)return await n.pending,(0,i.Te)(r),q(e,t,r);const s=n.geometries??[];return Array.isArray(e)?s:s[0]}function z(e,t,r){return!(r?.areaOfInterestExtent||r?.extendedParams||r?.geographicTransformation)&&(!!(0,x.aI)(e,t)||(0,x.fn)(e)&&(0,x.fn)(t)&&!!(0,b.jd)(e,t))}function B(e,t){if((0,x.aI)(e,t))return!0;if(!(0,x.fn)(e)||!(0,x.fn)(t))return!1;const r=(0,x.oT)(e)||(0,x.K8)(e)||(0,x.x1)(e),n=(0,x.oT)(t)||(0,x.K8)(t)||(0,x.x1)(t);return r&&n}async function V(e,t,r,n){if(O())return(0,i.NO)(n);if(Array.isArray(e)){for(const{source:t,dest:r,options:i}of e)if(t&&r&&!z(t,r,i))return P(n)}else if(e&&t&&!z(e,t,r))return P(n);return(0,i.NO)(n)}function K(e,t,r){return e?"x"in e?Y(e,t,new f.A,r,0):"xmin"in e?ie(e,t,new p.A,r,0):"rings"in e?re(e,t,new h.A,r,0):"paths"in e?ee(e,t,new y.A,r,0):"points"in e?W(e,t,new d.A,r,0):null:null}function H(e,t,r=t.spatialReference,n=0){return null!=r&&null!=e.spatialReference&&null!=Y(e,e.spatialReference,t,r,n)}function Y(e,t,r,n,i){le[0]=e.x,le[1]=e.y;const s=e.z;return le[2]=void 0!==s?s:i,(0,w.projectBuffer)(le,t,0,le,n,0)?(r.x=le[0],r.y=le[1],r.spatialReference=n,void 0!==s||(0,u.xP)(n)?(r.z=le[2],r.hasZ=!0):(r.z=void 0,r.hasZ=!1),void 0===e.m?(r.m=void 0,r.hasM=!1):(r.m=e.m,r.hasM=!0),r):null}function Q(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=W(e,e.spatialReference,t,r,n)}function W(e,t,r,n,i){const{points:s,hasZ:o,hasM:l}=e,a=[],u=s.length,p=[];for(const e of s)p.push(e[0],e[1],o?e[2]:i);if(!(0,w.projectBuffer)(p,t,0,p,n,0,u))return null;const c=oe(o,n);for(let e=0;e<u;++e){const t=3*e,r=p[t],n=p[t+1];c&&l?a.push([r,n,p[t+2],s[e][3]]):c?a.push([r,n,p[t+2]]):l?a.push([r,n,s[e][2]]):a.push([r,n])}return r.points=a,r.spatialReference=n,r.hasZ=o,r.hasM=l,r}function X(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=ee(e,e.spatialReference,t,r,n)}function ee(e,t,r,n,i){const{paths:s,hasZ:o,hasM:l}=e,a=[];if(!se(s,o??!1,l??!1,t,a,n,i))return null;const u=oe(o,n);return r.paths=a,r.spatialReference=n,r.hasZ=u,r.hasM=l,r}function te(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=re(e,e.spatialReference,t,r,n)}function re(e,t,r,n,i){const{rings:s,hasZ:o,hasM:l}=e,a=[];if(!se(s,o??!1,l??!1,t,a,n,i))return null;const u=oe(o,n);return r.rings=a,r.spatialReference=n,r.hasZ=u,r.hasM=l,r}function ne(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=ie(e,e.spatialReference,t,r,n)}function ie(e,t,r,n,i){const{xmin:s,ymin:o,xmax:l,ymax:a,hasZ:u,hasM:p}=e;if(!I(s,o,u?e.zmin:i,t,le,n))return null;const c=oe(u,n);return r.xmin=le[0],r.ymin=le[1],c&&(r.zmin=le[2]),I(l,a,u?e.zmax:i,t,le,n)?(r.xmax=le[0],r.ymax=le[1],c&&(r.zmax=le[2]),p&&(r.mmin=e.mmin,r.mmax=e.mmax),r.spatialReference=n,r):null}function se(e,t,r,n,i,s,o=0){const l=new Array;for(const r of e)for(const e of r)l.push(e[0],e[1],t?e[2]:o);if(!(0,w.projectBuffer)(l,n,0,l,s,0))return!1;let a=0;i.length=0;const u=oe(t,s);for(const t of e){const e=new Array;for(const n of t)u&&r?e.push([l[a++],l[a++],l[a++],n[3]]):u?e.push([l[a++],l[a++],l[a++]]):r?(e.push([l[a++],l[a++],n[2]]),a++):(e.push([l[a++],l[a++]]),a++);i.push(e)}return!0}function oe(e,t){return e||(0,u.xP)(t)||(0,x.aI)(t,g.Y0)}const le=(0,l.vt)()},91880(e,t,r){r.d(t,{A:()=>u});var n,i=r(5482),s=r(66552),o=r(25482),l=r(91429);const a=new s.J({asc:"ascending",desc:"descending"});let u=class extends o.o{static{n=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new n({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,i.Cg)([(0,l.MZ)({type:a.apiValues,json:{type:a.jsonValues,read:a.read,write:a.write}})],u.prototype,"order",void 0),u=n=(0,i.Cg)([(0,l.$K)("esri.layers.support.OrderByInfo")],u)},96184(e,t,r){r.d(t,{A:()=>f});var n=r(5482),i=r(69540),s=r(25482),o=r(91429),l=r(79677),a=r(10184),u=r(56400),p=r(36005),c=r(43937);function d(e,t){return a.A.fromJSON({value:e,unit:t})}let f=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?l.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?d(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?d(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],f.prototype,"cumulative",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],f.prototype,"endField",void 0),(0,n.Cg)([(0,o.MZ)({type:l.A,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"fullTimeExtent",void 0),(0,n.Cg)([(0,p.w)("fullTimeExtent",["timeExtent"])],f.prototype,"readFullTimeExtent",null),(0,n.Cg)([(0,c.K)("fullTimeExtent")],f.prototype,"writeFullTimeExtent",null),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"hasLiveData",void 0),(0,n.Cg)([(0,o.MZ)({type:a.A,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"interval",void 0),(0,n.Cg)([(0,p.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],f.prototype,"readInterval",null),(0,n.Cg)([(0,c.K)("interval")],f.prototype,"writeInterval",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],f.prototype,"startField",void 0),(0,n.Cg)([(0,o.MZ)((0,u.P6)("timeReference",!0))],f.prototype,"timeZone",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"trackIdField",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],f.prototype,"useTime",void 0),(0,n.Cg)([(0,o.MZ)({type:[Date],json:{read:!1}})],f.prototype,"stops",void 0),f=(0,n.Cg)([(0,o.$K)("esri.layers.support.TimeInfo")],f)},98764(e,t,r){r.d(t,{GD:()=>o,Y0:()=>u,lO:()=>p});var n=r(73941),i=r(16930),s=r(21325);const o=new i.A(n.fv),l=new i.A(n.FY),a=new i.A(n.LJ),u=new i.A(n.Ro);function p(e){const t=c.get(e);if(t)return t;let r=o;if(e)if(e===l)r=l;else if(e===a)r=a;else{const t=e.wkid,n=e.latestWkid;if(null!=t||null!=n)(0,s.tl)(t)||(0,s.tl)(n)?r=l:((0,s.ZL)(t)||(0,s.ZL)(n))&&(r=a);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===d?r=l:e===f&&(r=a)}}}return c.set(e,r),r}const c=new Map,d=l.wkt.toUpperCase(),f=a.wkt.toUpperCase()},99157(e,t,r){r.d(t,{A:()=>l});var n,i=r(5482),s=r(69622),o=r(91429);let l=n=class extends s.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new n({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,o.MZ)()],l.prototype,"isInverse",void 0),(0,i.Cg)([(0,o.MZ)()],l.prototype,"wkt",void 0),(0,i.Cg)([(0,o.MZ)()],l.prototype,"wkid",void 0),l=n=(0,i.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)},99352(e,t,r){r.d(t,{F:()=>n,P:()=>i});const n={supportsStatistics:!0,supportsPercentileStatistics:!0,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsCentroid:!0,supportsCentroidOnDegeneratedQuantizedGeometry:!0,supportsCacheHint:!0,supportsCurrentUser:!1,supportsDegeneratedQuantizedGeometry:!1,supportsDistance:!0,supportsDistinct:!0,supportsExtent:!0,supportsGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsPaginationOnAggregatedQueries:!1,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryGeometry:!0,supportsResultType:!0,supportsReturnMesh:!1,supportsSqlExpression:!0,supportsMaxRecordCountFactor:!1,supportsStandardizedQueriesOnly:!0,supportsTopFeaturesQuery:!1,supportsQueryByAnonymous:!0,supportsQueryByOthers:!0,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsDisjointSpatialRelationship:!0,supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsCompactGeometry:!1,maxRecordCountFactor:void 0,maxRecordCount:void 0,maxUniqueIDCount:void 0,relativeTimeBinWindow:0,standardMaxRecordCount:void 0,tileMaxRecordCount:void 0,supportsTrueCurve:!1},i={supportsDate:!0,supportsFixedInterval:!0,supportsAutoInterval:!0,supportsFixedBoundaries:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsSnapToData:!1,supportsReturnFullIntervalBin:!1,supportsFirstDayOfWeek:!1,supportsNormalization:!0,supportedStatistics:{count:!0,sum:!0,avg:!0,var:!0,stddev:!0,min:!0,max:!0,percentileContinuous:!0,percentileDiscrete:!0,envelope:!0,centroid:!0,convexHull:!0},supportedNormalizationTypes:{field:!0,log:!0,naturalLog:!0,percentOfTotal:!0,squareRoot:!0}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3813],{159(t,e,n){n.d(e,{A:()=>a});var i,r=n(5482),s=n(69622),o=n(91429),l=n(99157);let a=i=class extends s.A{constructor(t){super(t),this.steps=[]}getInverse(){const t=new i;for(let e=this.steps.length-1;e>=0;e--){const n=this.steps[e];t.steps.push(n.getInverse())}return t}};(0,r.Cg)([(0,o.MZ)({type:[l.A],nonNullable:!0})],a.prototype,"steps",void 0),a=i=(0,r.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformation")],a)},9762(t,e,n){n.r(e),n.d(e,{projectBuffer:()=>r});var i=n(49208);function r(t,e,n,r,s,o,l=Math.floor(t.length/3)){const a=(0,i.jd)(e,s);if(null==a)return!1;if(a===i.pO){if(t===r&&n===o)return!0;const e=n+3*l;for(let i=n,s=o;i<e;i++,s++)r[s]=t[i]??0;return!0}const u=n+3*l;for(let e=n,i=o;e<u;e+=3,i+=3)a(t,e,r,i);return!0}},34403(t,e,n){n.d(e,{TP:()=>o});var i=n(79258);Math.PI;const r=i.$O.radius,s=i.$O.eccentricitySquared,o={a1:r*s,a2:r*s*r*s,a3:r*s*s/2,a4:r*s*r*s*2.5,a5:r*s+r*s*s/2,a6:1-s};i.$O.radius,i.$O.flattening,i.Sw.radius,i.Sw.flattening,i.sH.radius,i.sH.flattening,i.sH.radius},49208(t,e,n){n.d(e,{Tp:()=>p,jd:()=>c,pO:()=>f,w5:()=>u});var i=n(34727),r=n(86211),s=n(73941),o=n(79258),l=n(34403),a=n(21325);const u={2:{5:f,7:null,9:null,10:f,1:C,6:null,8:null,0:null,3:y,11:g,2:f,4:P},5:{5:f,7:null,9:null,10:f,1:C,6:null,8:null,0:null,3:y,11:g,2:f,4:P},7:{5:null,7:f,9:null,10:f,1:null,6:v,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:f,10:f,1:null,6:null,8:w,0:null,3:null,11:null,2:null,4:null},3:{5:d,7:null,9:null,10:d,1:function(t,e,n,i){const r=t[e]/z,s=q-2*Math.atan(Math.exp(-t[e+1]/z)),o=z+(t[e+2]??0),l=Math.cos(s)*o;n[i]=Math.cos(r)*l,n[i+1]=Math.sin(r)*l,n[i+2]=Math.sin(s)*o},6:null,8:null,0:null,3:f,11:function(t,e,n,i){d(t,e,n,i),g(n,i,n,i)},2:d,4:function(t,e,n,i){d(t,e,n,i),P(n,i,n,i)}},4:{5:j,7:null,9:null,10:j,1:function(t,e,n,i){j(t,e,n,i),C(n,i,n,i)},6:null,8:null,0:null,3:function(t,e,n,i){j(t,e,n,i),y(n,i,n,i)},11:function(t,e,n,i){j(t,e,n,i),g(n,i,n,i)},2:j,4:f},1:{5:x,7:null,9:null,10:x,1:f,6:null,8:null,0:null,3:function(t,e,n,i){x(t,e,n,i),y(n,i,n,i)},11:function(t,e,n,i){x(t,e,n,i),g(n,i,n,i)},2:x,4:function(t,e,n,i){x(t,e,n,i),P(n,i,n,i)}},6:{5:null,7:b,9:null,10:b,1:null,6:f,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:R,10:R,1:null,6:null,8:f,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:f,3:null,11:null,2:null,4:null},10:{5:f,7:f,9:f,10:f,1:C,6:v,8:w,0:null,3:y,11:g,2:f,4:P},11:{5:m,7:null,9:null,10:m,1:function(t,e,n,i){m(t,e,n,i),C(n,i,n,i)},6:null,8:null,0:null,3:function(t,e,n,i){m(t,e,n,i),y(n,i,n,i)},11:f,2:m,4:function(t,e,n,i){m(t,e,n,i),P(n,i,n,i)}}};function c(t,e){return p(t,e)?.projector}function p(t,e){if(null==t||null==e)return null;if(S.source.spatialReference===t&&S.dest.spatialReference===e)return S;const n=h(t,S.source),i=h(e,S.dest);return 0===n&&0===i?(0,a.aI)(t,e)?S.projector=f:S.projector=null:S.projector=u[n][i],S}function h(t,e){return t?e.spatialReference===t?e.spatialReferenceId:(e.spatialReference=t,"metersPerUnit"in e&&(e.metersPerUnit=(0,r.GA)(t,1)),(0,s.jA)(t)?e.spatialReferenceId=1:(0,a.oT)(t)?e.spatialReferenceId=2:(0,a.K8)(t)?e.spatialReferenceId=3:(0,a.r1)(t)?e.spatialReferenceId=11:t.wkt===s.Ro.wkt?e.spatialReferenceId=4:4490===t.wkid?e.spatialReferenceId=5:t.wkt===s.FY.wkt?e.spatialReferenceId=6:t.wkt===s.LJ.wkt?e.spatialReferenceId=8:(0,s.q8)(t)?e.spatialReferenceId=7:(0,s.KQ)(t)?e.spatialReferenceId=9:e.spatialReferenceId=0):0}function f(t,e,n,i){t!==n&&(n[i++]=t[e++],n[i++]=t[e++],n[i]=t[e]??0)}function d(t,e,n,i){n[i]=Z*(t[e]/z),n[i+1]=Z*(q-2*Math.atan(Math.exp(-t[e+1]/z))),n[i+2]=t[e+2]??0}function y(t,e,n,r){!function(t,e,n,r,s){const o=.4999999*Math.PI,l=(0,i.qE)(O*t[e+1],-o,o),a=Math.sin(l);n[r++]=O*t[e]*s.radius,n[r++]=s.halfSemiMajorAxis*Math.log((1+a)/(1-a)),n[r]=t[e+2]??0}(t,e,n,r,o.$O)}function g(t,e,n,i){n[i]=t[e]*k,n[i+1]=t[e+1]*k,n[i+2]=t[e+2]??0}function m(t,e,n,i){n[i]=t[e]*I,n[i+1]=t[e+1]*I,n[i+2]=t[e+2]??0}function M(t,e,n,i,r){const s=r+(t[e+2]??0),o=O*t[e],l=O*t[e+1],a=Math.cos(l)*s;n[i]=Math.cos(o)*a,n[i+1]=Math.sin(o)*a,n[i+2]=Math.sin(l)*s}function w(t,e,n,i){M(t,e,n,i,o.Sw.radius)}function v(t,e,n,i){M(t,e,n,i,o.sH.radius)}function C(t,e,n,i){M(t,e,n,i,o.$O.radius)}function A(t,e,n,r,s){const o=t[e],l=t[e+1],a=t[e+2]??0,u=Math.sqrt(o*o+l*l+a*a),c=(0,i.YN)(a/(0===u?1:u)),p=Math.atan2(l,o);n[r++]=Z*p,n[r++]=Z*c,n[r]=u-s}function R(t,e,n,i){A(t,e,n,i,o.Sw.radius)}function b(t,e,n,i){A(t,e,n,i,o.sH.radius)}function x(t,e,n,i){A(t,e,n,i,o.$O.radius)}function P(t,e,n,i){!function(t,e,n,i,r){const s=O*t[e],o=O*t[e+1],l=t[e+2]??0,a=Math.sin(o),u=Math.cos(o),c=r.radius/Math.sqrt(1-r.eccentricitySquared*a*a);n[i++]=(c+l)*u*Math.cos(s),n[i++]=(c+l)*u*Math.sin(s),n[i++]=(c*(1-r.eccentricitySquared)+l)*a}(t,e,n,i,o.$O)}function j(t,e,n,i){const r=l.TP,s=t[e],a=t[e+1],u=t[e+2]??0;let c,p,h,f,d,y,g,m,M,w,v,C,A,R,b,x,P,j,S,O,q;c=Math.abs(u),p=s*s+a*a,h=Math.sqrt(p),f=p+u*u,d=Math.sqrt(f),O=Math.atan2(a,s),y=u*u/f,g=p/f,R=r.a2/d,b=r.a3-r.a4/d,g>.3?(m=c/d*(1+g*(r.a1+R+y*b)/d),S=Math.asin(m),w=m*m,M=Math.sqrt(1-w)):(M=h/d*(1-y*(r.a5-R-g*b)/d),S=Math.acos(M),w=1-M*M,m=Math.sqrt(w)),v=1-o.$O.eccentricitySquared*w,C=o.$O.radius/Math.sqrt(v),A=r.a6*C,R=h-C*M,b=c-A*m,P=M*R+m*b,x=M*b-m*R,j=x/(A/v+P),S+=j,q=P+x*j/2,u<0&&(S=-S),n[i++]=Z*O,n[i++]=Z*S,n[i]=q}const S={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:f},O=(0,i.kU)(1),Z=(0,i.KJ)(1),q=.5*Math.PI,z=o.$O.radius,k=z*Math.PI/180,I=180/(z*Math.PI)},62885(t,e,n){n.d(e,{H:()=>s,V:()=>r});var i=n(7762);function r(t,e,n=i.A){return e||(e=new n),e===t||e.destroyed||(e.removeAll(),(r=t)&&(Array.isArray(r)||"items"in r&&Array.isArray(r.items))?e.addMany(t):t&&e.add(t)),e;var r}function s(t){return t}},68197(t,e,n){n.d(e,{A:()=>u});var i=n(40876),r=n(4576),s=n(34727),o=n(56507);function l(t){return(0,s.qE)((0,o.Vr)(t),0,255)}function a(t,e){const n=t.toString(16).padStart(2,"0");return e?n.slice(0,1):n}class u{static blendColors(t,e,n,i=new u){return i.r=Math.round(t.r+(e.r-t.r)*n),i.g=Math.round(t.g+(e.g-t.g)*n),i.b=Math.round(t.b+(e.b-t.b)*n),i.a=t.a+(e.a-t.a)*n,i._sanitize()}static fromRgb(t,e){const n=(0,i.lT)(t);return n?u.fromArray(n,e):null}static fromHex(t,e=new u){const n=(0,i.oW)(t);return n?u.fromArray(n,e):null}static fromArray(t,e=new u){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){const n=(0,i.Eq)(t);return n?u.fromArray(n,e):null}static fromJSON(t){return null!=t?new u([t[0],t[1],t[2],(t[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(t){return t??=[0,0,0,0],t[0]=this.r/255,t[1]=this.g/255,t[2]=this.b/255,t[3]=null!=this.a?this.a:1,t}constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(t){if("string"==typeof t)u.fromString(t,this);else if((0,r.yc)(t))u.fromArray(t,this);else{const e=t;this._set(e.r??0,e.g??0,e.b??0,e.a??1),t instanceof u||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(t){const e=t?.capitalize??!1,n=t?.digits??6,i=3===n||4===n,r=4===n||8===n,s=`#${a(this.r,i)}${a(this.g,i)}${a(this.b,i)}${r?a(Math.round(255*this.a),i):""}`;return e?s.toUpperCase():s}toCss(t=!1){const e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=0){const e=l(this.r),n=l(this.g),i=l(this.b);return 0===t||1!==this.a?[e,n,i,l(255*this.a)]:[e,n,i]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(t){return null!=t&&t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}_sanitize(){return this.r=(0,i.c1)(this.r),this.g=(0,i.c1)(this.g),this.b=(0,i.c1)(this.b),this.a=(0,i.G1)(this.a),this}_set(t,e,n,i){this.r=t,this.g=e,this.b=n,this.a=i}}u.prototype.declaredClass="esri.Color"},69052(t,e,n){n.d(e,{hr:()=>r,ie:()=>a,uC:()=>l});var i=n(34727);class r{constructor(t,e){this.min=t,this.max=e,this.range=e-t}normalize(t,e=0,n=!1){return s(this.range,this.min,this.max,t,e,n)}clamp(t,e=0){return(0,i.qE)(t-e,this.min,this.max)+e}monotonic(t,e,n){return t<e?e:e+o(this.range,t-e,n)}minimalMonotonic(t,e,n){return s(this.range,t,t+this.range,e,n)}center(t,e,n){return e=this.monotonic(t,e,n),this.normalize((t+e)/2,n)}diff(t,e,n){return this.monotonic(t,e,n)-t}shortestSignedDiff(t,e){t=this.normalize(t);const n=(e=this.normalize(e))-t,i=e<t?this.minimalMonotonic(t,e)-t:e-this.minimalMonotonic(e,t);return Math.abs(n)<Math.abs(i)?n:i}contains(t,e,n){return e=this.minimalMonotonic(t,e),(n=this.minimalMonotonic(t,n))>t&&n<e}}function s(t,e,n,i,r=0,s=!1){return(i-=r)<e?i+=o(t,e-i):i>n&&(i-=o(t,i-n)),s&&i===n&&(i=e),i+r}function o(t,e,n=0){return Math.ceil((e-n)/t)*t+n}const l=new r(0,2*Math.PI),a=(new r(-Math.PI,Math.PI),new r(0,360))},69540(t,e,n){n.d(e,{OU:()=>c,Pw:()=>p});var i=n(5482),r=n(69622),s=(n(44208),n(4718)),o=(n(53966),n(97768)),l=n(88620),a=n(64108);const u=Symbol("ClonableMixin"),c=t=>{var e;const n=t;let r=class extends n{constructor(){super(...arguments),this[e]=!0}static{e=u}clone(t){const e=(0,l.oY)(this);(0,o.Lw)(e,"unable to clone instance of non-accessor class");const n=e.metadata,i=e.store,r={},a=new Map;for(const e in n){const o=n[e],l=i?.originOf(e),u=o.clonable;if(o.readOnly||!1===u||7!==l&&0!==l&&5!==l&&4!==l)continue;const c=this[e];let p=null;if("function"==typeof u)p=u(c,t);else if("reference"===u)p=c;else if(p=(0,s.TU)(c,t),null!=c&&null==p)continue;0===l?a.set(e,p):r[e]=p}const u=new(0,Object.getPrototypeOf(this).constructor)(r);if(a.size){const t=(0,l.oY)(u)?.store;if(t)for(const[e,n]of a)t.set(e,n,0)}return u}};return r=(0,i.Cg)([(0,a.$)("esri.core.Clonable")],r),r},p=c(r.A)},71493(t,e,n){n.r(e),n.d(e,{default:()=>O});var i=n(5482),r=n(79608),s=n(68197),o=n(69540),l=n(25482),a=n(90629),u=n(91429),c=n(56507);let p=class extends((0,l.T)(o.Pw)){constructor(t){super(t),this.type="simple",this.color=new s.A("black"),this.textColor=new s.A("black"),this.textBackgroundColor=new s.A([255,255,255,.6])}get lineSize(){return this._get("lineSize")??2}set lineSize(t){this._set("lineSize",t)}get fontSize(){return this._get("fontSize")??10}set fontSize(t){this._set("fontSize",t)}equals(t){return this===t||this.color.equals(t.color)&&this.lineSize===t.lineSize&&this.fontSize===t.fontSize&&this.textColor.equals(t.textColor)&&this.textBackgroundColor.equals(t.textBackgroundColor)}};(0,i.Cg)([(0,u.MZ)({type:["simple"],readOnly:!0,json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),(0,i.Cg)([(0,u.MZ)({type:s.A,nonNullable:!0,json:{type:[c.jz],write:{isRequired:!0}}})],p.prototype,"color",void 0),(0,i.Cg)([(0,u.MZ)({type:Number,cast:a.cr,nonNullable:!0,range:{min:(0,a.PN)(1)},json:{write:{isRequired:!0}}})],p.prototype,"lineSize",null),(0,i.Cg)([(0,u.MZ)({type:Number,cast:a.cr,nonNullable:!0,json:{write:{isRequired:!0}}})],p.prototype,"fontSize",null),(0,i.Cg)([(0,u.MZ)({type:s.A,nonNullable:!0,json:{type:[c.jz],write:{isRequired:!0}}})],p.prototype,"textColor",void 0),(0,i.Cg)([(0,u.MZ)({type:s.A,nonNullable:!0,json:{type:[c.jz],write:{isRequired:!0}}})],p.prototype,"textBackgroundColor",void 0),p=(0,i.Cg)([(0,u.$K)("esri.analysis.DimensionSimpleStyle")],p);var h=n(69052),f=n(97768),d=n(86738);let y=class extends((0,l.T)(o.Pw)){constructor(t){super(t),this.type="length",this.startPoint=null,this.endPoint=null,this.measureType="direct",this.offset=0,this.orientation=0}get valid(){return null!=this.startPoint&&null!=this.endPoint}equals(t){return this===t||(0,f.CM)(this.startPoint,t.startPoint)&&(0,f.CM)(this.endPoint,t.endPoint)&&this.measureType===t.measureType&&this.offset===t.offset&&this.orientation===t.orientation}};(0,i.Cg)([(0,u.MZ)({type:["length"],json:{write:{isRequired:!0}}})],y.prototype,"type",void 0),(0,i.Cg)([(0,u.MZ)({type:d.A,json:{write:{isRequired:!0}}})],y.prototype,"startPoint",void 0),(0,i.Cg)([(0,u.MZ)({type:d.A,json:{write:{isRequired:!0}}})],y.prototype,"endPoint",void 0),(0,i.Cg)([(0,u.MZ)({type:["horizontal","vertical","direct"],nonNullable:!0,json:{write:{isRequired:!0}}})],y.prototype,"measureType",void 0),(0,i.Cg)([(0,u.MZ)({type:Number,nonNullable:!0,json:{write:{isRequired:!0}}})],y.prototype,"offset",void 0),(0,i.Cg)([(0,u.MZ)({type:Number,nonNullable:!0,json:{write:{isRequired:!0}}}),(0,u.wg)(t=>h.ie.normalize((0,c.GB)(t),0,!0))],y.prototype,"orientation",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],y.prototype,"valid",null),y=(0,i.Cg)([(0,u.$K)("esri.analysis.LengthDimension")],y);var g=n(4576),m=n(7762),M=n(62885),w=n(36708),v=n(5443),C=n(91218);const A=m.A.ofType(y);let R=class extends r.A{constructor(t){super(t),this.type="dimension",this.style=new p,this.extent=null}initialize(){this.addHandles((0,w.wB)(()=>this._computeExtent(),t=>{null==t?.pending&&this._set("extent",null!=t?t.extent:null)},w.pc))}get dimensions(){return this._get("dimensions")||new A}set dimensions(t){this._set("dimensions",(0,M.V)(t,this.dimensions,A))}get spatialReference(){for(const t of this.dimensions){if(null!=t.startPoint)return t.startPoint.spatialReference;if(null!=t.endPoint)return t.endPoint.spatialReference}return null}get valid(){return this.dimensions.every(t=>t.valid)}async waitComputeExtent(){const t=this._computeExtent();return null!=t?t.pending:Promise.resolve()}_computeExtent(){const t=this.spatialReference;if(null==t)return{pending:null,extent:null};const e=[];for(const t of this.dimensions)null!=t.startPoint&&e.push(t.startPoint),null!=t.endPoint&&e.push(t.endPoint);const n=(0,C.projectOrLoadMany)(e,t);if(null!=n.pending)return{pending:n.pending,extent:null};let i=null;return null!=n.geometries&&(i=n.geometries.reduce((t,e)=>null==t?null!=e?v.A.fromPoint(e):null:null!=e?t.union(v.A.fromPoint(e)):t,null)),{pending:null,extent:i}}clear(){this.dimensions.removeAll()}equals(t){return this===t||super.equals(t)&&this.style.equals(t.style)&&(0,g.aI)(this.dimensions.toArray(),t.dimensions.toArray(),(t,e)=>t.equals(e))}};(0,i.Cg)([(0,u.MZ)({type:["dimension"]})],R.prototype,"type",void 0),(0,i.Cg)([(0,u.MZ)({cast:M.H,type:A,nonNullable:!0})],R.prototype,"dimensions",null),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],R.prototype,"spatialReference",null),(0,i.Cg)([(0,u.MZ)({types:{key:"type",base:null,typeMap:{simple:p}},nonNullable:!0})],R.prototype,"style",void 0),(0,i.Cg)([(0,u.MZ)({value:null,readOnly:!0})],R.prototype,"extent",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],R.prototype,"valid",null),R=(0,i.Cg)([(0,u.$K)("esri.analysis.DimensionAnalysis")],R);var b=n(25728),x=n(4146),P=n(16131),j=n(43937);let S=class extends((0,P.q)((0,b.M)(x.A))){constructor(t){if(super(t),this.type="dimension",this.operationalLayerType="ArcGISDimensionLayer",this.source=new R,this.opacity=1,t){const{source:e,style:n}=t;e&&n&&(e.style=n)}}initialize(){this.addHandles([(0,w.wB)(()=>this.source,(t,e)=>{null!=e&&e.parent===this&&(e.parent=null),null!=t&&(t.parent=this)},w.pc)])}async load(){return this.addResolvingPromise(this.source.waitComputeExtent()),this}get spatialReference(){return this.source.spatialReference}get style(){return this.source.style}set style(t){this.source.style=t}get fullExtent(){return this.source.extent}releaseAnalysis(t){this.source===t&&(this.source=new R)}get analysis(){return this.source}set analysis(t){this.source=t}get dimensions(){return this.source.dimensions}set dimensions(t){this.source.dimensions=t}writeDimensions(t,e,n,i){e.dimensions=t.filter(({startPoint:t,endPoint:e})=>null!=t&&null!=e).toJSON(i)}};(0,i.Cg)([(0,u.MZ)({json:{read:!1},readOnly:!0})],S.prototype,"type",void 0),(0,i.Cg)([(0,u.MZ)({type:["ArcGISDimensionLayer"]})],S.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,u.MZ)({nonNullable:!0})],S.prototype,"source",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],S.prototype,"spatialReference",null),(0,i.Cg)([(0,u.MZ)({types:{key:"type",base:null,typeMap:{simple:p}},json:{write:{ignoreOrigin:!0}}})],S.prototype,"style",null),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],S.prototype,"fullExtent",null),(0,i.Cg)([(0,u.MZ)({readOnly:!0,json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}}})],S.prototype,"opacity",void 0),(0,i.Cg)([(0,u.MZ)({type:["show","hide"]})],S.prototype,"listMode",void 0),(0,i.Cg)([(0,u.MZ)({type:m.A.ofType(y),json:{write:{ignoreOrigin:!0},origins:{"web-scene":{write:{ignoreOrigin:!0}}}}})],S.prototype,"dimensions",null),(0,i.Cg)([(0,j.K)("web-scene","dimensions")],S.prototype,"writeDimensions",null),S=(0,i.Cg)([(0,u.$K)("esri.layers.DimensionLayer")],S);const O=S},78553(t,e,n){n.d(e,{D:()=>s,p:()=>r});var i=n(56507);function r(t){const e=(0,i.Vr)(100*(1-t));return Math.max(0,Math.min(e,100))}function s(t){const e=1-t/100;return Math.max(0,Math.min(e,1))}},79608(t,e,n){n.d(e,{A:()=>h});var i=n(5482),r=n(69540),s=n(91429);let o=class extends r.Pw{constructor(t){super(t),this.type="web-scene"}equals(t){return this.type===t.type}};(0,i.Cg)([(0,s.MZ)()],o.prototype,"type",void 0),o=(0,i.Cg)([(0,s.$K)("esri.analysis.support.AnalysisOriginWebScene")],o);const l=o;var a=n(69622),u=n(4902),c=n(25482);let p=0,h=class extends((0,c.T)((0,r.OU)((0,u.s)(a.A)))){constructor(t){super(t),this.id=`${Date.now().toString(16)}-analysis-${p++}`,this.origin=null}get parent(){return this._get("parent")}set parent(t){const e=this.parent;if(null!=e)switch(e.type){case"line-of-sight":case"dimension":case"viewshed":e.releaseAnalysis(this);break;case"2d":case"3d":e.analyses.includes(this)&&e.analyses.remove(this)}this._set("parent",t)}equals(t){return this.type===t.type}};(0,i.Cg)([(0,s.MZ)({type:String,constructOnly:!0,clonable:!1})],h.prototype,"id",void 0),(0,i.Cg)([(0,s.MZ)({clonable:!1,value:null})],h.prototype,"parent",null),(0,i.Cg)([(0,s.MZ)({types:{key:"type",base:null,typeMap:{"web-scene":l}}})],h.prototype,"origin",void 0),h=(0,i.Cg)([(0,s.$K)("esri.analysis.Analysis")],h)},91218(t,e,n){n.r(e),n.d(e,{canProjectWithoutEngine:()=>U,initializeProjection:()=>W,isEqualBaseGCS:()=>H,isLoaded:()=>q,isLoadedOrLoad:()=>z,isLoadedOrLoadFor:()=>k,load:()=>T,project:()=>N,projectAsync:()=>K,projectExtent:()=>it,projectMany:()=>$,projectMultipoint:()=>F,projectOrLoad:()=>E,projectOrLoadMany:()=>_,projectPoint:()=>J,projectPolygon:()=>et,projectPolyline:()=>X,projectWithoutEngine:()=>Y,requiresLoad:()=>I,test:()=>G,tryProject:()=>L,unload:()=>D});var i=n(49186),r=n(74887),s=n(62788),o=n(95488),l=n(51850),a=n(21276),u=n(73941),c=n(5443),p=n(91075),h=n(48526),f=n(86738),d=n(39829),y=n(82799),g=n(16930),m=n(98764),M=n(159),w=n(9762),v=n(49208);function C(t,e,n,i,r,s){return A[0]=t,A[1]=e,A[2]=n,(0,w.projectBuffer)(A,i,0,r,s,0)}const A=(0,l.vt)();var R=n(21325),b=n(52006);let x=null,P=null,j=null,S=null,O={};const Z=new o.I;function q(){return!!(P?.isLoaded()&&j?.isLoaded()&&S?.isLoaded())}function z(){return!!q()||((0,s.gc)(Z),T(),!1)}function k(t,e){return!t||!e||U(t,e)||z()}function I(t,e){return!U(t,e)&&!q()}async function T(t){null==x&&(x=Promise.all([n.e(3276).then(n.bind(n,83276)).then(t=>(P=t,P.load())),n.e(8377).then(n.bind(n,8377)).then(t=>(j=t,j.load())),n.e(2158).then(n.bind(n,12158)).then(t=>(S=t,S.load()))])),await x,(0,r.Te)(t),Z.notify()}function N(t,e,n){return Array.isArray(t)?0===t.length?[]:((0,a.H)(t),$(t,t[0].spatialReference,e,n)):((0,a.f)(t),$([t],t.spatialReference,e,n)[0])}function $(t,e,n,i){if(null==e||null==n)return t;if(!t.some(t=>(0,b.Ed)(t))&&U(e,n,i))return t.map(t=>Y(t,e,n));if(null==i?.geographicTransformation&&(0,u.jA)(e))return $(t.map(t=>Y(t,e,g.A.WGS84)),g.A.WGS84,n,{zConversionDisabled:i?.zConversionDisabled});if(null==i?.geographicTransformation&&(0,u.jA)(n))return $(t,e,g.A.WGS84).map(t=>Y(t,g.A.WGS84,n));if(!q())throw new B;if(!i?.geographicTransformation)if(i?.extendedParams)i={...i,geographicTransformation:S.getTransformation(e,n,i.areaOfInterestExtent)||new M.A};else if(!i?.areaOfInterestExtent){const t=function(t,e){return[t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??"",e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??""].join()}(e,n);let r=O[t];r||(r=S.getTransformation(e,n)||new M.A,O[t]=r),i={geographicTransformation:r,zConversionDisabled:i?.zConversionDisabled}}return t[0].spatialReference||(t[0].spatialReference=e),t[0]instanceof p.A?P.executeMany(t,n,i):j.executeMany(t,n,i)}function L(t,e,n){try{return N(t,e,n)}catch(t){return null}}function E(t,e){const n=_([t],e);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function _(t,e,n){if(!q())for(const n of t)if(null!=n&&!(0,R.aI)(n.spatialReference,e)&&(0,R.fn)(n.spatialReference)&&(0,R.fn)(e)&&!U(n.spatialReference,e))return(0,s.gc)(Z),{pending:T(),geometries:null};return{pending:null,geometries:t.map(t=>null==t?null:(0,R.aI)(t.spatialReference,e)?t:(0,R.fn)(t.spatialReference)&&(0,R.fn)(e)?N(t,e,n):null)}}class B extends i.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function D(){x=null,P=null,j=null,S=null,O={}}const G={get loadPromise(){return x}};async function K(t,e,n){if((0,r.Te)(n),!t)return t;const i=_(Array.isArray(t)?t:[t],e,n);if(i.pending)return await i.pending,(0,r.Te)(n),K(t,e,n);const s=i.geometries??[];return Array.isArray(t)?s:s[0]}function U(t,e,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,R.aI)(t,e)||(0,R.fn)(t)&&(0,R.fn)(e)&&!!(0,v.jd)(t,e))}function H(t,e){if((0,R.aI)(t,e))return!0;if(!(0,R.fn)(t)||!(0,R.fn)(e))return!1;const n=(0,R.oT)(t)||(0,R.K8)(t)||(0,R.x1)(t),i=(0,R.oT)(e)||(0,R.K8)(e)||(0,R.x1)(e);return n&&i}async function W(t,e,n,i){if(q())return(0,r.NO)(i);if(Array.isArray(t)){for(const{source:e,dest:n,options:r}of t)if(e&&n&&!U(e,n,r))return T(i)}else if(t&&e&&!U(t,e,n))return T(i);return(0,r.NO)(i)}function Y(t,e,n){return t?"x"in t?V(t,e,new f.A,n,0):"xmin"in t?rt(t,e,new c.A,n,0):"rings"in t?nt(t,e,new d.A,n,0):"paths"in t?tt(t,e,new y.A,n,0):"points"in t?Q(t,e,new h.A,n,0):null:null}function J(t,e,n=e.spatialReference,i=0){return null!=n&&null!=t.spatialReference&&null!=V(t,t.spatialReference,e,n,i)}function V(t,e,n,i,r){lt[0]=t.x,lt[1]=t.y;const s=t.z;return lt[2]=void 0!==s?s:r,(0,w.projectBuffer)(lt,e,0,lt,i,0)?(n.x=lt[0],n.y=lt[1],n.spatialReference=i,void 0!==s||(0,u.xP)(i)?(n.z=lt[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===t.m?(n.m=void 0,n.hasM=!1):(n.m=t.m,n.hasM=!0),n):null}function F(t,e,n=e.spatialReference,i=0){return null!=t.spatialReference&&null!=n&&null!=Q(t,t.spatialReference,e,n,i)}function Q(t,e,n,i,r){const{points:s,hasZ:o,hasM:l}=t,a=[],u=s.length,c=[];for(const t of s)c.push(t[0],t[1],o?t[2]:r);if(!(0,w.projectBuffer)(c,e,0,c,i,0,u))return null;const p=ot(o,i);for(let t=0;t<u;++t){const e=3*t,n=c[e],i=c[e+1];p&&l?a.push([n,i,c[e+2],s[t][3]]):p?a.push([n,i,c[e+2]]):l?a.push([n,i,s[t][2]]):a.push([n,i])}return n.points=a,n.spatialReference=i,n.hasZ=o,n.hasM=l,n}function X(t,e,n=e.spatialReference,i=0){return null!=t.spatialReference&&null!=n&&null!=tt(t,t.spatialReference,e,n,i)}function tt(t,e,n,i,r){const{paths:s,hasZ:o,hasM:l}=t,a=[];if(!st(s,o??!1,l??!1,e,a,i,r))return null;const u=ot(o,i);return n.paths=a,n.spatialReference=i,n.hasZ=u,n.hasM=l,n}function et(t,e,n=e.spatialReference,i=0){return null!=t.spatialReference&&null!=n&&null!=nt(t,t.spatialReference,e,n,i)}function nt(t,e,n,i,r){const{rings:s,hasZ:o,hasM:l}=t,a=[];if(!st(s,o??!1,l??!1,e,a,i,r))return null;const u=ot(o,i);return n.rings=a,n.spatialReference=i,n.hasZ=u,n.hasM=l,n}function it(t,e,n=e.spatialReference,i=0){return null!=t.spatialReference&&null!=n&&null!=rt(t,t.spatialReference,e,n,i)}function rt(t,e,n,i,r){const{xmin:s,ymin:o,xmax:l,ymax:a,hasZ:u,hasM:c}=t;if(!C(s,o,u?t.zmin:r,e,lt,i))return null;const p=ot(u,i);return n.xmin=lt[0],n.ymin=lt[1],p&&(n.zmin=lt[2]),C(l,a,u?t.zmax:r,e,lt,i)?(n.xmax=lt[0],n.ymax=lt[1],p&&(n.zmax=lt[2]),c&&(n.mmin=t.mmin,n.mmax=t.mmax),n.spatialReference=i,n):null}function st(t,e,n,i,r,s,o=0){const l=new Array;for(const n of t)for(const t of n)l.push(t[0],t[1],e?t[2]:o);if(!(0,w.projectBuffer)(l,i,0,l,s,0))return!1;let a=0;r.length=0;const u=ot(e,s);for(const e of t){const t=new Array;for(const i of e)u&&n?t.push([l[a++],l[a++],l[a++],i[3]]):u?t.push([l[a++],l[a++],l[a++]]):n?(t.push([l[a++],l[a++],i[2]]),a++):(t.push([l[a++],l[a++]]),a++);r.push(t)}return!0}function ot(t,e){return t||(0,u.xP)(e)||(0,R.aI)(e,m.Y0)}const lt=(0,l.vt)()},98764(t,e,n){n.d(e,{GD:()=>o,Y0:()=>u,lO:()=>c});var i=n(73941),r=n(16930),s=n(21325);const o=new r.A(i.fv),l=new r.A(i.FY),a=new r.A(i.LJ),u=new r.A(i.Ro);function c(t){const e=p.get(t);if(e)return e;let n=o;if(t)if(t===l)n=l;else if(t===a)n=a;else{const e=t.wkid,i=t.latestWkid;if(null!=e||null!=i)(0,s.tl)(e)||(0,s.tl)(i)?n=l:((0,s.ZL)(e)||(0,s.ZL)(i))&&(n=a);else{const e=t.wkt2??t.wkt;if(e){const t=e.toUpperCase();t===h?n=l:t===f&&(n=a)}}}return p.set(t,n),n}const p=new Map,h=l.wkt.toUpperCase(),f=a.wkt.toUpperCase()},99157(t,e,n){n.d(e,{A:()=>l});var i,r=n(5482),s=n(69622),o=n(91429);let l=i=class extends s.A{constructor(t){super(t),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new i({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,r.Cg)([(0,o.MZ)()],l.prototype,"isInverse",void 0),(0,r.Cg)([(0,o.MZ)()],l.prototype,"wkt",void 0),(0,r.Cg)([(0,o.MZ)()],l.prototype,"wkid",void 0),l=i=(0,r.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)}}]);