@arcgis/core 5.2.0-next.14 → 5.2.0-next.16

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 (942) hide show
  1. package/applications/Urban/editingSessionUtils.js +1 -1
  2. package/arcade/featureSetUtils.js +1 -1
  3. package/arcade/featureset/sources/FeatureLayerDynamic.js +1 -1
  4. package/arcade/featureset/sources/FeatureLayerParquet.js +2 -0
  5. package/arcade/featureset/support/FeatureSet.js +1 -1
  6. package/arcade/featureset/support/shared.js +1 -1
  7. package/arcade.d.ts +2 -1
  8. package/arcgisGlobal.d.ts +3 -1
  9. package/assets/esri/core/t9n/Units_ar.json +1 -1
  10. package/assets/esri/core/t9n/Units_bg.json +1 -1
  11. package/assets/esri/core/t9n/Units_bs.json +1 -1
  12. package/assets/esri/core/t9n/Units_ca.json +1 -1
  13. package/assets/esri/core/t9n/Units_cs.json +1 -1
  14. package/assets/esri/core/t9n/Units_da.json +1 -1
  15. package/assets/esri/core/t9n/Units_de.json +1 -1
  16. package/assets/esri/core/t9n/Units_el.json +1 -1
  17. package/assets/esri/core/t9n/Units_es.json +1 -1
  18. package/assets/esri/core/t9n/Units_et.json +1 -1
  19. package/assets/esri/core/t9n/Units_fi.json +1 -1
  20. package/assets/esri/core/t9n/Units_fr.json +1 -1
  21. package/assets/esri/core/t9n/Units_he.json +1 -1
  22. package/assets/esri/core/t9n/Units_hr.json +1 -1
  23. package/assets/esri/core/t9n/Units_hu.json +1 -1
  24. package/assets/esri/core/t9n/Units_id.json +1 -1
  25. package/assets/esri/core/t9n/Units_it.json +1 -1
  26. package/assets/esri/core/t9n/Units_ja.json +1 -1
  27. package/assets/esri/core/t9n/Units_ko.json +1 -1
  28. package/assets/esri/core/t9n/Units_lt.json +1 -1
  29. package/assets/esri/core/t9n/Units_lv.json +1 -1
  30. package/assets/esri/core/t9n/Units_nl.json +1 -1
  31. package/assets/esri/core/t9n/Units_no.json +1 -1
  32. package/assets/esri/core/t9n/Units_pl.json +1 -1
  33. package/assets/esri/core/t9n/Units_pt-BR.json +1 -1
  34. package/assets/esri/core/t9n/Units_pt-PT.json +1 -1
  35. package/assets/esri/core/t9n/Units_ro.json +1 -1
  36. package/assets/esri/core/t9n/Units_ru.json +1 -1
  37. package/assets/esri/core/t9n/Units_sk.json +1 -1
  38. package/assets/esri/core/t9n/Units_sl.json +1 -1
  39. package/assets/esri/core/t9n/Units_sr.json +1 -1
  40. package/assets/esri/core/t9n/Units_sv.json +1 -1
  41. package/assets/esri/core/t9n/Units_th.json +1 -1
  42. package/assets/esri/core/t9n/Units_tr.json +1 -1
  43. package/assets/esri/core/t9n/Units_uk.json +1 -1
  44. package/assets/esri/core/t9n/Units_vi.json +1 -1
  45. package/assets/esri/core/t9n/Units_zh-CN.json +1 -1
  46. package/assets/esri/core/t9n/Units_zh-HK.json +1 -1
  47. package/assets/esri/core/t9n/Units_zh-TW.json +1 -1
  48. package/assets/esri/core/workers/RemoteClient.js +1 -1
  49. package/assets/esri/core/workers/chunks/007485862ce95928717a.js +1 -0
  50. package/assets/esri/core/workers/chunks/01ba5319cac3e0f14205.js +1 -0
  51. package/assets/esri/core/workers/chunks/{d9d4754062758789f186.js → 05016e5a1de384994001.js} +2 -2
  52. package/assets/esri/core/workers/chunks/05b6b2c0b76afb100e33.js +1 -0
  53. package/assets/esri/core/workers/chunks/05d597dd117766beadd8.js +30 -0
  54. package/assets/esri/core/workers/chunks/{b045bffb4f2eb9203183.js → 05e1f1628a3726eca03d.js} +1 -1
  55. package/assets/esri/core/workers/chunks/0a52373c4ba652e0ee0f.js +1 -0
  56. package/assets/esri/core/workers/chunks/0b45d34938fa7862f746.js +1 -0
  57. package/assets/esri/core/workers/chunks/0b522e05668bef729b1b.js +1 -0
  58. package/assets/esri/core/workers/chunks/0d42322362e76f674d94.js +2 -0
  59. package/assets/esri/core/workers/chunks/{81e3bd1a0634ddc2b833.js → 0f10d7d592c36ee2d1ea.js} +1 -1
  60. package/assets/esri/core/workers/chunks/{cdf6ad970dc1893dac58.js → 110135b0562a3b5708b9.js} +1 -1
  61. package/assets/esri/core/workers/chunks/122892f365f5327d290c.js +1 -0
  62. package/assets/esri/core/workers/chunks/1305690054214a9cf48d.js +1 -0
  63. package/assets/esri/core/workers/chunks/168c15cf462f9abcbdd2.js +1 -0
  64. package/assets/esri/core/workers/chunks/169bfafec4d59be2beb0.js +1 -0
  65. package/assets/esri/core/workers/chunks/1bd49e8d2657c72bf3f9.js +1 -0
  66. package/assets/esri/core/workers/chunks/1c689bb502657b1f173b.js +1 -0
  67. package/assets/esri/core/workers/chunks/1d2609ce6220b5af5526.js +1 -0
  68. package/assets/esri/core/workers/chunks/1d38b2fcd85ac9ebd7c6.js +1 -0
  69. package/assets/esri/core/workers/chunks/1e109a521ca8772fdf04.js +1 -0
  70. package/assets/esri/core/workers/chunks/1ea840b7ac1ffaa0c389.js +1 -0
  71. package/assets/esri/core/workers/chunks/1f48438b3055afeb710f.js +1 -0
  72. package/assets/esri/core/workers/chunks/{c2cd80b712f29e8cbb8d.js → 1ff57bf19f021f5fd246.js} +1 -1
  73. package/assets/esri/core/workers/chunks/2353fbc1ff4481dcfb1f.js +1 -0
  74. package/assets/esri/core/workers/chunks/2509da565e5a2b43ac7f.js +1 -0
  75. package/assets/esri/core/workers/chunks/255c8e937e7a123ebb04.js +1 -0
  76. package/assets/esri/core/workers/chunks/256cc116e3be4feee593.js +1 -0
  77. package/assets/esri/core/workers/chunks/25c1f5e2561986330b80.js +1 -0
  78. package/assets/esri/core/workers/chunks/26aa8190ac439f634c5b.js +1 -0
  79. package/assets/esri/core/workers/chunks/{a442534ac0956a68b769.js → 282930645ce525d5bc92.js} +1 -1
  80. package/assets/esri/core/workers/chunks/{73c355b895fd6a34fcb8.js → 2a8d791aef3123e6a3c4.js} +1 -1
  81. package/assets/esri/core/workers/chunks/2b781de7b467c61849b2.js +1 -0
  82. package/assets/esri/core/workers/chunks/2baee42e1797a709fe4b.js +1 -0
  83. package/assets/esri/core/workers/chunks/2c017eae434254610c8e.js +1 -0
  84. package/assets/esri/core/workers/chunks/2d7a4b669804d0c5029b.js +1 -0
  85. package/assets/esri/core/workers/chunks/2f40193d1b2e534c5226.js +1 -0
  86. package/assets/esri/core/workers/chunks/303e723e829ea7088d43.js +1 -0
  87. package/assets/esri/core/workers/chunks/35533c8ef541f7643497.js +2 -0
  88. package/assets/esri/core/workers/chunks/36913f0f944a9eb82cd3.js +1 -0
  89. package/assets/esri/core/workers/chunks/39a10b2092a98083f4cf.js +1 -0
  90. package/assets/esri/core/workers/chunks/{cc62e5095e328bed3e01.js → 3aa0a34d2b7dbf2e2c66.js} +1 -1
  91. package/assets/esri/core/workers/chunks/3bd32387af52fa48d747.js +1 -0
  92. package/assets/esri/core/workers/chunks/3d4ad7c728e02aa90551.js +1 -0
  93. package/assets/esri/core/workers/chunks/3dc6e9494af16f7b8009.js +1 -0
  94. package/assets/esri/core/workers/chunks/{3526ab3b1f87c24ae6f8.js → 4162a2bb774e6ba2c0db.js} +1 -1
  95. package/assets/esri/core/workers/chunks/436d51b9f1b1b5abc4bc.js +1 -0
  96. package/assets/esri/core/workers/chunks/43ef6dee2e1d9ed7885e.js +1 -0
  97. package/assets/esri/core/workers/chunks/442424200e7475e9a08f.js +1 -0
  98. package/assets/esri/core/workers/chunks/47d630561f3fce5c63c4.js +1 -0
  99. package/assets/esri/core/workers/chunks/4b96aa2dc5b88846bb53.js +1 -0
  100. package/assets/esri/core/workers/chunks/4e59e5a5d0ff887ff899.js +1 -0
  101. package/assets/esri/core/workers/chunks/4ea325c829d3b82854b1.js +1 -0
  102. package/assets/esri/core/workers/chunks/511b9c12a7479d39dac0.js +1 -0
  103. package/assets/esri/core/workers/chunks/51a53011478e0cf96e0b.js +1 -0
  104. package/assets/esri/core/workers/chunks/51a8a47aac1d8d22ba9d.js +1 -0
  105. package/assets/esri/core/workers/chunks/5481af25fd46914498df.js +1 -0
  106. package/assets/esri/core/workers/chunks/54f54623532f633dc0e2.js +1 -0
  107. package/assets/esri/core/workers/chunks/57e04b7ec238f7b24274.js +1 -0
  108. package/assets/esri/core/workers/chunks/5809e70a8e57e9b05959.js +1 -0
  109. package/assets/esri/core/workers/chunks/589b31cc5c663a288942.js +1 -0
  110. package/assets/esri/core/workers/chunks/58ce4bcfb15f378b1b9f.js +1 -0
  111. package/assets/esri/core/workers/chunks/58e0e50b6c3abaa4798f.js +1 -0
  112. package/assets/esri/core/workers/chunks/595bc41ff36c77324d01.js +261 -0
  113. package/assets/esri/core/workers/chunks/599bd80379423c99799d.js +1 -0
  114. package/assets/esri/core/workers/chunks/5bf01e0eff8a78b65e9e.js +1 -0
  115. package/assets/esri/core/workers/chunks/5dfeefee96659832398a.js +1 -0
  116. package/assets/esri/core/workers/chunks/{31762eb20a9a0ed3f8b0.js → 5ea1113b7bdcf94b2822.js} +1 -1
  117. package/assets/esri/core/workers/chunks/5fab14c5f1febebb75f1.js +1 -0
  118. package/assets/esri/core/workers/chunks/609edb4da427ec37bcf7.js +1 -0
  119. package/assets/esri/core/workers/chunks/60d4a3f770bb1e01cd10.js +1 -0
  120. package/assets/esri/core/workers/chunks/63858dfcff1177e597e7.js +1 -0
  121. package/assets/esri/core/workers/chunks/65cc9a48ac95523f7aa8.js +1 -0
  122. package/assets/esri/core/workers/chunks/66392ff750c28064040a.js +1 -0
  123. package/assets/esri/core/workers/chunks/668d84dc512b3085a960.js +1 -0
  124. package/assets/esri/core/workers/chunks/686c1a1b794ebe1a0341.js +1 -0
  125. package/assets/esri/core/workers/chunks/68b77b36daae2b4b4237.js +1 -0
  126. package/assets/esri/core/workers/chunks/6db5ee9c589265b23b60.js +1 -0
  127. package/assets/esri/core/workers/chunks/6dc60afb0c39bbb001a3.js +1 -0
  128. package/assets/esri/core/workers/chunks/{5bfae465872760e7af6d.js → 6f240fe78b299e6c4fcc.js} +1 -1
  129. package/assets/esri/core/workers/chunks/6f5a82388a5eb5fcf1b7.js +1 -0
  130. package/assets/esri/core/workers/chunks/70cb825bb37f1977d2ab.js +1 -0
  131. package/assets/esri/core/workers/chunks/71a593fa116770e58832.js +1 -0
  132. package/assets/esri/core/workers/chunks/71f09e34d56c9fe5c307.js +1 -0
  133. package/assets/esri/core/workers/chunks/73b0edabddbb72fe1104.js +1 -0
  134. package/assets/esri/core/workers/chunks/{72cfb186e50537bcdd19.js → 75915f81caaf9e5345a9.js} +1 -1
  135. package/assets/esri/core/workers/chunks/7832d94f35b79e27ee51.js +1 -0
  136. package/assets/esri/core/workers/chunks/{e5f8c73349407c25956b.js → 7c61b18e43c789aaecc6.js} +1 -1
  137. package/assets/esri/core/workers/chunks/7ee76504e7fea389a1c9.js +1 -0
  138. package/assets/esri/core/workers/chunks/7f849c8255140be6097f.js +1 -0
  139. package/assets/esri/core/workers/chunks/818a481ce579f519de1c.js +1 -0
  140. package/assets/esri/core/workers/chunks/831455798b177678720c.js +1 -0
  141. package/assets/esri/core/workers/chunks/83ce38342796bd6d73ce.js +1 -0
  142. package/assets/esri/core/workers/chunks/84a0bb53fcbd99b5aa0c.js +1 -0
  143. package/assets/esri/core/workers/chunks/87b86375f8557418dbe6.js +1 -0
  144. package/assets/esri/core/workers/chunks/8817d25c7f4cf0e6c6bd.js +1 -0
  145. package/assets/esri/core/workers/chunks/{a4b970a841b3085500fc.js → 888af532ad48fd86f285.js} +1 -1
  146. package/assets/esri/core/workers/chunks/{9331969046f2b277d620.js → 8a39dd585742960d3ca2.js} +1 -1
  147. package/assets/esri/core/workers/chunks/8ade399db21938822a7c.js +1 -0
  148. package/assets/esri/core/workers/chunks/8c62e2dabd1f1e13d244.js +1 -0
  149. package/assets/esri/core/workers/chunks/{5cb1b950249d651f3837.js → 8dcb3e77f76d8396706b.js} +1 -1
  150. package/assets/esri/core/workers/chunks/8eda85fc01a71aedd9e4.js +1 -0
  151. package/assets/esri/core/workers/chunks/8f25d91ea7b99597124e.js +1 -0
  152. package/assets/esri/core/workers/chunks/909e88c27d80777b047c.js +1 -0
  153. package/assets/esri/core/workers/chunks/91c5205d1274c7f190d5.js +1 -0
  154. package/assets/esri/core/workers/chunks/91c543443cd6768ad6ff.js +1 -0
  155. package/assets/esri/core/workers/chunks/9230ad807020fc2bbf8e.js +1 -0
  156. package/assets/esri/core/workers/chunks/92341f36a8b15f34bcca.js +1 -0
  157. package/assets/esri/core/workers/chunks/92458803531fdfe1557a.js +1 -0
  158. package/assets/esri/core/workers/chunks/{976ab2be6c244768c08a.js → 940ebb13618d38c6b459.js} +1 -1
  159. package/assets/esri/core/workers/chunks/987594539981483a7c5e.js +1 -0
  160. package/assets/esri/core/workers/chunks/99c002015c2127e6cbfc.js +2 -0
  161. package/assets/esri/core/workers/chunks/9da1a514e042eb642d35.js +1 -0
  162. package/assets/esri/core/workers/chunks/9f93c29af2a18f7cb160.js +1 -0
  163. package/assets/esri/core/workers/chunks/a1509e2e7809b6754b4f.js +1 -0
  164. package/assets/esri/core/workers/chunks/a18cb809dd56c5537b3b.js +1 -0
  165. package/assets/esri/core/workers/chunks/a3195521a83565c7c2d3.js +1 -0
  166. package/assets/esri/core/workers/chunks/a3393780655152102c45.js +1 -0
  167. package/assets/esri/core/workers/chunks/{52175ff9e8c2c136f90a.js → a3ecde3794a7db3cf283.js} +1 -1
  168. package/assets/esri/core/workers/chunks/a4d918b47cd4ee0e1666.js +1 -0
  169. package/assets/esri/core/workers/chunks/a844c4e031e77db11478.js +1 -0
  170. package/assets/esri/core/workers/chunks/{bfd1aef8ac795e1ce227.js → a892b3be70f482bef0ba.js} +1 -1
  171. package/assets/esri/core/workers/chunks/a8ef7acb6d3d1f45e14c.js +1 -0
  172. package/assets/esri/core/workers/chunks/{7dcf804e1918b94fa4e1.js → a98905bf6050ad3b8721.js} +1 -1
  173. package/assets/esri/core/workers/chunks/a99ce2f12c8204ee542a.js +1 -0
  174. package/assets/esri/core/workers/chunks/aba7a053015a9738d8a0.js +1 -0
  175. package/assets/esri/core/workers/chunks/ac16016964be3b684e98.js +30 -0
  176. package/assets/esri/core/workers/chunks/ac7ecd90330090c90005.js +1 -0
  177. package/assets/esri/core/workers/chunks/adce59e4111bae4225f7.js +1 -0
  178. package/assets/esri/core/workers/chunks/af3b060fdfa3b6174340.js +1 -0
  179. package/assets/esri/core/workers/chunks/b0212df1fe8d9448f3d6.js +1 -0
  180. package/assets/esri/core/workers/chunks/b289c46ce2dc04d32e81.js +1 -0
  181. package/assets/esri/core/workers/chunks/{c983e5ce0ff952b65d7f.js → b2b342b06d502fc61ea5.js} +1 -1
  182. package/assets/esri/core/workers/chunks/{67ebde34377f98d17cda.js → b5571e93bc136dac8ee1.js} +1 -1
  183. package/assets/esri/core/workers/chunks/b75a4753cea6544da8bb.js +1 -0
  184. package/assets/esri/core/workers/chunks/ba1c4a8794ac55942e35.js +1 -0
  185. package/assets/esri/core/workers/chunks/bbcad2fde838819ffc7b.js +1 -0
  186. package/assets/esri/core/workers/chunks/bd260798b8de09a1eeb2.js +1 -0
  187. package/assets/esri/core/workers/chunks/{44d0ca9d4c5f1722688c.js → bf67e0f6064fb9d94ac8.js} +1 -1
  188. package/assets/esri/core/workers/chunks/{97a654e8054302582a3b.js → bfa6f4c08e7571bb1f37.js} +1 -1
  189. package/assets/esri/core/workers/chunks/c030a974a63155f450e9.js +1 -0
  190. package/assets/esri/core/workers/chunks/c0b7b9d115dccb2924ff.js +1 -0
  191. package/assets/esri/core/workers/chunks/c2db773201adca204f95.js +1 -0
  192. package/assets/esri/core/workers/chunks/c318e6dbb8651433038f.js +2 -0
  193. package/assets/esri/core/workers/chunks/c4a2ec2e5897300163ac.js +1 -0
  194. package/assets/esri/core/workers/chunks/{8b0a01ebc86ab226f01f.js → c538435216d253f7702e.js} +1 -1
  195. package/assets/esri/core/workers/chunks/c5e172d3baf5414868f0.js +1 -0
  196. package/assets/esri/core/workers/chunks/c63b315c6b76b4860fc5.js +1 -0
  197. package/assets/esri/core/workers/chunks/c8091e8fd7ca43a4490a.js +1 -0
  198. package/assets/esri/core/workers/chunks/{2413b383b7f2bdcd4ced.js → c8672a54c98d472aa24d.js} +1 -1
  199. package/assets/esri/core/workers/chunks/c9057b0ad2c2bae4a8ce.js +1 -0
  200. package/assets/esri/core/workers/chunks/cf9a132c4c37e62de3d7.js +1 -0
  201. package/assets/esri/core/workers/chunks/d0321dd4b5b2d863eecd.js +1 -0
  202. package/assets/esri/core/workers/chunks/{886ae23a1d8fa21e531f.js → d750e4abeb777caa8c36.js} +1 -1
  203. package/assets/esri/core/workers/chunks/d7acbc2ddff4cee8a465.js +30 -0
  204. package/assets/esri/core/workers/chunks/{cb8c4d8334fab9bd9a04.js → d90bc34d97bb21c29c40.js} +1 -1
  205. package/assets/esri/core/workers/chunks/d9fcc63df008f687848a.js +1 -0
  206. package/assets/esri/core/workers/chunks/db96a0c66578b2d1b715.js +1 -0
  207. package/assets/esri/core/workers/chunks/{318a2702632aaa4d3a63.js → dd3b0070081eaf805d95.js} +1 -1
  208. package/assets/esri/core/workers/chunks/dd5dddf7e422216d3806.js +1 -0
  209. package/assets/esri/core/workers/chunks/de83c177f8a1234a5b2e.js +1 -0
  210. package/assets/esri/core/workers/chunks/{38cfedce779dd75bd217.js → dfb19701b488089874fd.js} +1 -1
  211. package/assets/esri/core/workers/chunks/e2f33945d838183a2192.js +1 -0
  212. package/assets/esri/core/workers/chunks/{d97c0c18202b8c578f8c.js → e5471373f89fd7cb9844.js} +1 -1
  213. package/assets/esri/core/workers/chunks/e65d291bab13f7f5323b.js +1 -0
  214. package/assets/esri/core/workers/chunks/e73bb7c8de7412d9975c.js +1 -0
  215. package/assets/esri/core/workers/chunks/e8546ab510fc9515bd23.js +1 -0
  216. package/assets/esri/core/workers/chunks/e95ee94027c1934086d8.js +1 -0
  217. package/assets/esri/core/workers/chunks/e9acc05b0cf9e05f31a8.js +1 -0
  218. package/assets/esri/core/workers/chunks/ecbf84a1f42e6188faab.js +1 -0
  219. package/assets/esri/core/workers/chunks/efaa1d05705f6b450e8f.js +1 -0
  220. package/assets/esri/core/workers/chunks/efaf998d18479a0380ae.js +1 -0
  221. package/assets/esri/core/workers/chunks/f0573db9a3d3e1499a7e.js +1 -0
  222. package/assets/esri/core/workers/chunks/f07722efd7fa2b75d4dd.js +1 -0
  223. package/assets/esri/core/workers/chunks/{520e0e5307eef27becc6.js → f0924613f818dd165ad9.js} +1 -1
  224. package/assets/esri/core/workers/chunks/f3fd40df92e59f7c687c.js +1 -0
  225. package/assets/esri/core/workers/chunks/{3d20c86f1fe877bf884b.js → f59b76fde2cbd17f64b3.js} +1 -1
  226. package/assets/esri/core/workers/chunks/f6afc597eaf2afa9a4a0.js +1 -0
  227. package/assets/esri/core/workers/chunks/{0a8ba5cb857f61de40fb.js → f7f820483e45c05ab9e4.js} +29 -29
  228. package/assets/esri/core/workers/chunks/f955b35337a08f9f747d.js +1 -0
  229. package/assets/esri/core/workers/chunks/f98bb3885bfc7f18f26c.js +1 -0
  230. package/assets/esri/core/workers/chunks/f9b44ff9bb4f7a88ab56.js +1 -0
  231. package/assets/esri/core/workers/chunks/{1d5db8746a4f1ed1d18f.js → fb81705cec1be2431876.js} +1 -1
  232. package/assets/esri/core/workers/chunks/fd53ef66176ae164e221.js +1 -0
  233. package/assets/esri/core/workers/chunks/fd956a58787020d610af.js +1 -0
  234. package/assets/esri/core/workers/chunks/fdec3a2e100688c42e41.js +1 -0
  235. package/assets/esri/core/workers/chunks/fe6385115d76e16e8da0.js +1 -0
  236. package/assets/esri/core/workers/chunks/fedbeb488d5d7c07c7dc.js +1 -0
  237. package/assets/esri/core/workers/chunks/{d9695794cfaa014a55b1.js → ff00ac01f0baaecaa890.js} +1 -1
  238. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  239. package/assets/esri/libs/parquet/pkg/bundle_bg.wasm +0 -0
  240. package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +62 -90
  241. package/assets/esri/themes/base/widgets/_OrientedImageryViewer.scss +0 -2
  242. package/assets/esri/themes/dark/main.css +1 -1
  243. package/assets/esri/themes/light/main.css +1 -1
  244. package/assets/esri/themes/light/view.css +1 -1
  245. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ar.json +1 -1
  246. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_bg.json +1 -1
  247. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_bs.json +1 -1
  248. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ca.json +1 -1
  249. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_cs.json +1 -1
  250. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_da.json +1 -1
  251. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_de.json +1 -1
  252. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_el.json +1 -1
  253. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_es.json +1 -1
  254. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_et.json +1 -1
  255. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_fi.json +1 -1
  256. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_fr.json +1 -1
  257. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_he.json +1 -1
  258. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_hr.json +1 -1
  259. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_hu.json +1 -1
  260. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_id.json +1 -1
  261. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_it.json +1 -1
  262. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ja.json +1 -1
  263. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ko.json +1 -1
  264. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_lt.json +1 -1
  265. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_lv.json +1 -1
  266. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_nl.json +1 -1
  267. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_no.json +1 -1
  268. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_pl.json +1 -1
  269. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_pt-BR.json +1 -1
  270. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_pt-PT.json +1 -1
  271. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ro.json +1 -1
  272. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ru.json +1 -1
  273. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sk.json +1 -1
  274. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sl.json +1 -1
  275. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sr.json +1 -1
  276. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sv.json +1 -1
  277. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_th.json +1 -1
  278. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_tr.json +1 -1
  279. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_uk.json +1 -1
  280. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_vi.json +1 -1
  281. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_zh-CN.json +1 -1
  282. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_zh-HK.json +1 -1
  283. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_zh-TW.json +1 -1
  284. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ar.json +1 -1
  285. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_bg.json +1 -1
  286. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_bs.json +1 -1
  287. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ca.json +1 -1
  288. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_cs.json +1 -1
  289. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_da.json +1 -1
  290. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_de.json +1 -1
  291. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_el.json +1 -1
  292. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_es.json +1 -1
  293. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_et.json +1 -1
  294. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_fi.json +1 -1
  295. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_fr.json +1 -1
  296. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_he.json +1 -1
  297. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_hr.json +1 -1
  298. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_hu.json +1 -1
  299. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_id.json +1 -1
  300. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_it.json +1 -1
  301. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ja.json +1 -1
  302. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ko.json +1 -1
  303. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_lt.json +1 -1
  304. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_lv.json +1 -1
  305. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_nl.json +1 -1
  306. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_no.json +1 -1
  307. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_pl.json +1 -1
  308. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_pt-BR.json +1 -1
  309. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_pt-PT.json +1 -1
  310. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ro.json +1 -1
  311. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ru.json +1 -1
  312. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_sk.json +1 -1
  313. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_sl.json +1 -1
  314. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_sr.json +1 -1
  315. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_sv.json +1 -1
  316. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_th.json +1 -1
  317. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_tr.json +1 -1
  318. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_uk.json +1 -1
  319. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_vi.json +1 -1
  320. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_zh-CN.json +1 -1
  321. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_zh-HK.json +1 -1
  322. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_zh-TW.json +1 -1
  323. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ar.json +1 -1
  324. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_bg.json +1 -1
  325. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_bs.json +1 -1
  326. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ca.json +1 -1
  327. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_cs.json +1 -1
  328. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_da.json +1 -1
  329. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_de.json +1 -1
  330. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_el.json +1 -1
  331. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_es.json +1 -1
  332. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_et.json +1 -1
  333. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_fi.json +1 -1
  334. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_fr.json +1 -1
  335. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_he.json +1 -1
  336. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_hr.json +1 -1
  337. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_hu.json +1 -1
  338. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_id.json +1 -1
  339. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_it.json +1 -1
  340. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ja.json +1 -1
  341. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ko.json +1 -1
  342. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_lt.json +1 -1
  343. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_lv.json +1 -1
  344. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_nl.json +1 -1
  345. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_no.json +1 -1
  346. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pl.json +1 -1
  347. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pt-BR.json +1 -1
  348. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pt-PT.json +1 -1
  349. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ro.json +1 -1
  350. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ru.json +1 -1
  351. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sk.json +1 -1
  352. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sl.json +1 -1
  353. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sr.json +1 -1
  354. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sv.json +1 -1
  355. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_th.json +1 -1
  356. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_tr.json +1 -1
  357. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_uk.json +1 -1
  358. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_vi.json +1 -1
  359. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-CN.json +1 -1
  360. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-HK.json +1 -1
  361. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-TW.json +1 -1
  362. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ar.json +1 -1
  363. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bg.json +1 -1
  364. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bs.json +1 -1
  365. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ca.json +1 -1
  366. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_cs.json +1 -1
  367. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_da.json +1 -1
  368. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_de.json +1 -1
  369. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_el.json +1 -1
  370. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_es.json +1 -1
  371. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_et.json +1 -1
  372. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fi.json +1 -1
  373. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fr.json +1 -1
  374. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_he.json +1 -1
  375. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hr.json +1 -1
  376. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hu.json +1 -1
  377. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_id.json +1 -1
  378. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_it.json +1 -1
  379. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ja.json +1 -1
  380. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ko.json +1 -1
  381. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lt.json +1 -1
  382. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lv.json +1 -1
  383. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_nl.json +1 -1
  384. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_no.json +1 -1
  385. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pl.json +1 -1
  386. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-BR.json +1 -1
  387. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-PT.json +1 -1
  388. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ro.json +1 -1
  389. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ru.json +1 -1
  390. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sk.json +1 -1
  391. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sl.json +1 -1
  392. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sr.json +1 -1
  393. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sv.json +1 -1
  394. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_th.json +1 -1
  395. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_tr.json +1 -1
  396. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_uk.json +1 -1
  397. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_vi.json +1 -1
  398. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-CN.json +1 -1
  399. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-HK.json +1 -1
  400. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-TW.json +1 -1
  401. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ar.json +1 -1
  402. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bg.json +1 -1
  403. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bs.json +1 -1
  404. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ca.json +1 -1
  405. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_cs.json +1 -1
  406. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_da.json +1 -1
  407. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_de.json +1 -1
  408. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_el.json +1 -1
  409. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_es.json +1 -1
  410. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_et.json +1 -1
  411. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fi.json +1 -1
  412. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fr.json +1 -1
  413. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_he.json +1 -1
  414. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hr.json +1 -1
  415. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hu.json +1 -1
  416. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_id.json +1 -1
  417. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_it.json +1 -1
  418. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ja.json +1 -1
  419. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ko.json +1 -1
  420. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lt.json +1 -1
  421. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lv.json +1 -1
  422. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_nl.json +1 -1
  423. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_no.json +1 -1
  424. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pl.json +1 -1
  425. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-BR.json +1 -1
  426. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-PT.json +1 -1
  427. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ro.json +1 -1
  428. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ru.json +1 -1
  429. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sk.json +1 -1
  430. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sl.json +1 -1
  431. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sr.json +1 -1
  432. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sv.json +1 -1
  433. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_th.json +1 -1
  434. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_tr.json +1 -1
  435. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_uk.json +1 -1
  436. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_vi.json +1 -1
  437. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-CN.json +1 -1
  438. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-HK.json +1 -1
  439. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-TW.json +1 -1
  440. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ar.json +1 -1
  441. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_bg.json +1 -1
  442. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_bs.json +1 -1
  443. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ca.json +1 -1
  444. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_cs.json +1 -1
  445. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_da.json +1 -1
  446. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_de.json +1 -1
  447. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_el.json +1 -1
  448. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_es.json +1 -1
  449. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_et.json +1 -1
  450. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_fi.json +1 -1
  451. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_fr.json +1 -1
  452. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_he.json +1 -1
  453. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_hr.json +1 -1
  454. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_hu.json +1 -1
  455. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_id.json +1 -1
  456. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_it.json +1 -1
  457. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ja.json +1 -1
  458. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ko.json +1 -1
  459. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_lt.json +1 -1
  460. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_lv.json +1 -1
  461. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_nl.json +1 -1
  462. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_no.json +1 -1
  463. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_pl.json +1 -1
  464. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_pt-BR.json +1 -1
  465. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_pt-PT.json +1 -1
  466. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ro.json +1 -1
  467. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ru.json +1 -1
  468. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_sk.json +1 -1
  469. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_sl.json +1 -1
  470. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_sr.json +1 -1
  471. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_sv.json +1 -1
  472. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_th.json +1 -1
  473. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_tr.json +1 -1
  474. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_uk.json +1 -1
  475. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_vi.json +1 -1
  476. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_zh-CN.json +1 -1
  477. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_zh-HK.json +1 -1
  478. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_zh-TW.json +1 -1
  479. package/chunks/Bufferer-CclWhXVb.js +2 -0
  480. package/chunks/Component.glsl.js +3 -3
  481. package/chunks/Distance2DCalculator-DjIp2uQi.js +2 -0
  482. package/chunks/Envelope.js +1 -1
  483. package/chunks/Envelope2D.js +1 -1
  484. package/chunks/GaussianSplatComposition.glsl.js +2 -2
  485. package/chunks/GeodeticDistanceCalculator-zRp89-dW.js +2 -0
  486. package/chunks/GeodeticUtils.js +1 -1
  487. package/chunks/Geometry.js +1 -1
  488. package/chunks/{GeometryCleaner-BEJM7I4l.js → GeometryCleaner-CIE8Wfmb.js} +1 -1
  489. package/chunks/GlobalIlluminationBlur.glsl.js +11 -11
  490. package/chunks/GlowComposition.glsl.js +1 -1
  491. package/chunks/MultiPathImpl.js +1 -1
  492. package/chunks/OITBlend.glsl.js +1 -24
  493. package/chunks/OITBlendEmission.glsl.js +9 -9
  494. package/chunks/OITDimOpaque.glsl.js +3 -9
  495. package/chunks/OperatorClip.js +1 -1
  496. package/chunks/OperatorCrosses.js +1 -1
  497. package/chunks/OperatorCut.js +1 -1
  498. package/chunks/OperatorDefinitions.js +1 -1
  499. package/chunks/OperatorDensify.js +1 -1
  500. package/chunks/OperatorGeneralize.js +1 -1
  501. package/chunks/OperatorGeodesicBuffer.js +1 -1
  502. package/chunks/OperatorGeodeticArea.js +1 -1
  503. package/chunks/OperatorGeodeticDensifyByLength.js +1 -1
  504. package/chunks/OperatorGeodeticDistance.js +1 -1
  505. package/chunks/OperatorGeodeticLength.js +1 -1
  506. package/chunks/OperatorGraphicBuffer.js +2 -0
  507. package/chunks/OperatorIntegrate.js +1 -1
  508. package/chunks/OperatorIntersects.js +1 -1
  509. package/chunks/OperatorMultiPartToSinglePart.js +1 -1
  510. package/chunks/OperatorOverlaps.js +1 -1
  511. package/chunks/OperatorProximity.js +1 -1
  512. package/chunks/OperatorProximityGeodesic.js +1 -1
  513. package/chunks/OperatorShapePreservingLength.js +1 -1
  514. package/chunks/OperatorShapePreservingProject.js +1 -1
  515. package/chunks/OperatorSimplifyOGC.js +1 -1
  516. package/chunks/OperatorTouches.js +1 -1
  517. package/chunks/OperatorWithin.js +1 -1
  518. package/chunks/Point2D.js +1 -1
  519. package/chunks/ProjectionTransformation.js +1 -1
  520. package/chunks/{SideCalculator2D-BNwb5gvz.js → SideCalculator2D-DX0718xq.js} +1 -1
  521. package/chunks/SimpleGeometryCursor.js +1 -1
  522. package/chunks/SpatialReference.js +1 -1
  523. package/chunks/Transformation2D.js +1 -1
  524. package/chunks/centroidOperator.js +1 -1
  525. package/chunks/containsOperator.js +1 -1
  526. package/chunks/disjointOperator.js +1 -1
  527. package/chunks/distanceOperator.js +1 -1
  528. package/chunks/equalsOperator.js +1 -1
  529. package/chunks/languageUtils.js +1 -1
  530. package/chunks/lyr3DMain.js +1 -1
  531. package/config.js +1 -1
  532. package/core/has.js +1 -1
  533. package/core/reactiveUtils.d.ts +410 -109
  534. package/core/screenUtils.js +1 -1
  535. package/editing/types.d.ts +22 -2
  536. package/form/elements/UtilityNetworkAssociationsElement.d.ts +0 -1
  537. package/geometry/Mesh.d.ts +1 -1
  538. package/geometry/operators/extendOperator.js +1 -1
  539. package/geometry/operators/gx/operatorAffineTransform.js +1 -1
  540. package/geometry/operators/gx/operatorAlphaShape.js +1 -1
  541. package/geometry/operators/gx/operatorAutoComplete.js +1 -1
  542. package/geometry/operators/gx/operatorBoundary.js +1 -1
  543. package/geometry/operators/gx/operatorBuffer.js +1 -1
  544. package/geometry/operators/gx/operatorConvexHull.js +1 -1
  545. package/geometry/operators/gx/operatorDifference.js +1 -1
  546. package/geometry/operators/gx/operatorGraphicBuffer.js +1 -1
  547. package/geometry/operators/gx/operatorIntersection.js +1 -1
  548. package/geometry/operators/gx/operatorLabelPoint.js +1 -1
  549. package/geometry/operators/gx/operatorLinesToPolygons.js +1 -1
  550. package/geometry/operators/gx/operatorLocateBetween.js +1 -1
  551. package/geometry/operators/gx/operatorMinimumBoundingCircle.js +1 -1
  552. package/geometry/operators/gx/operatorOffset.js +1 -1
  553. package/geometry/operators/gx/operatorPolygonOverlay.js +1 -1
  554. package/geometry/operators/gx/operatorPolygonSlicer.js +1 -1
  555. package/geometry/operators/gx/operatorSinglePartToMultiPart.js +1 -1
  556. package/geometry/operators/gx/operatorSymmetricDifference.js +1 -1
  557. package/geometry/operators/gx/operatorUnion.js +1 -1
  558. package/geometry/operators/isNearOperator.js +1 -1
  559. package/geometry/operators/json/containsOperator.js +1 -1
  560. package/geometry/operators/json/disjointOperator.js +1 -1
  561. package/geometry/operators/reshapeOperator.js +1 -1
  562. package/geometry/operators/support/apiConverter.js +1 -1
  563. package/geometry/operators/support/initNoPeFactory.js +1 -1
  564. package/geometry/operators/support/jsonConverter.js +1 -1
  565. package/geometry/support/aaBoundingRect.js +1 -1
  566. package/graphic/AnnotationFeatureGraphicOrigin.d.ts +5 -2
  567. package/graphic/AnnotationFeatureGraphicOrigin.js +1 -1
  568. package/graphic/DimensionFeatureGraphicOrigin.js +1 -1
  569. package/graphic/graphicOrigins.js +1 -1
  570. package/graphic/isAnnotationFeatureGraphicOrigin.d.ts +29 -0
  571. package/graphic/isAnnotationFeatureGraphicOrigin.js +2 -0
  572. package/graphic/isDimensionFeatureGraphicOrigin.d.ts +29 -0
  573. package/graphic/isDimensionFeatureGraphicOrigin.js +2 -0
  574. package/interfaces.d.ts +3 -3
  575. package/kernel.js +1 -1
  576. package/layers/AnnotationFeatureLayer.d.ts +73 -0
  577. package/layers/AnnotationFeatureLayer.js +1 -1
  578. package/layers/FeatureLayer.d.ts +7 -4
  579. package/layers/FeatureLayer.js +1 -1
  580. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  581. package/layers/ParquetLayer.js +1 -1
  582. package/layers/SubtypeGroupLayer.d.ts +7 -4
  583. package/layers/SubtypeGroupLayer.js +1 -1
  584. package/layers/graphics/applyEditsUtils.js +1 -1
  585. package/layers/graphics/data/QueryEngine.js +1 -1
  586. package/layers/graphics/sources/FeatureLayerSource.js +1 -1
  587. package/layers/graphics/sources/MemorySource.js +1 -1
  588. package/layers/graphics/sources/ParquetSource.js +1 -1
  589. package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
  590. package/layers/mixins/OperationalLayer.js +1 -1
  591. package/layers/orientedImagery/core/coverageUtils.js +1 -1
  592. package/layers/orientedImagery/transformations/utils.js +1 -1
  593. package/layers/support/{AnnotationSublayer.d.ts → AnnotationFeatureSublayer.d.ts} +12 -12
  594. package/layers/support/AnnotationFeatureSublayer.js +2 -0
  595. package/layers/support/EditingCapabilities.js +1 -1
  596. package/layers/support/ExportImageServiceParameters.js +1 -1
  597. package/layers/support/ParquetPortalItemData.js +1 -1
  598. package/layers/support/SubtypeSublayer.d.ts +7 -4
  599. package/layers/support/SubtypeSublayer.js +1 -1
  600. package/layers/support/featureLayerUtils.js +1 -1
  601. package/layers/support/layersMapping.js +1 -1
  602. package/networks/UtilityNetwork.js +1 -1
  603. package/package.json +4 -4
  604. package/popup/Feature.d.ts +57 -6
  605. package/popup/Features.d.ts +86 -7
  606. package/popup/content/UtilityNetworkAssociationsContent.d.ts +0 -1
  607. package/popup/support/UtilityNetworkAssociationType.d.ts +0 -1
  608. package/rest/print.js +1 -1
  609. package/rest/query/operations/query.js +1 -1
  610. package/smartMapping/renderers/location.js +1 -1
  611. package/smartMapping/renderers/opacity.js +1 -1
  612. package/smartMapping/renderers/predominance.js +1 -1
  613. package/smartMapping/renderers/support/regenerateUtils.js +1 -1
  614. package/smartMapping/renderers/support/rendererUtils.d.ts +3 -1
  615. package/smartMapping/renderers/support/rendererUtils.js +1 -1
  616. package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
  617. package/support/revision.js +1 -1
  618. package/symbols/WebStyleSymbol.js +1 -1
  619. package/symbols/cim/effects/EffectOffset.js +1 -1
  620. package/symbols/support/symbolUtils.js +1 -1
  621. package/symbols/support/webStyleSymbolCache.js +2 -0
  622. package/third-party-notices.txt +0 -32
  623. package/undoredo/support/ApplySet.js +1 -1
  624. package/undoredo/support/ApplySetItem.js +1 -1
  625. package/views/2d/analysis/AreaMeasurement/AreaMeasurementTool.js +1 -1
  626. package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
  627. package/views/2d/engine/webgl/TextureManager.js +1 -1
  628. package/views/2d/engine/webgl/shaderGraph/techniques/FeatureInstanceStore.js +1 -1
  629. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedShader.js +1 -1
  630. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedMarkerMeshWriter.js +1 -1
  631. package/views/2d/engine/webgl/shaderGraph/techniques/animated/attributes.js +1 -1
  632. package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriterVertexPack.js +1 -1
  633. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueBackground.js +1 -1
  634. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  635. package/views/2d/engine/webgl/util/AnnotationMatcher.js +1 -1
  636. package/views/2d/layers/features/layerAdapters/AnnotationLayerAdapter.js +1 -1
  637. package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
  638. package/views/2d/layers/features/support/FeatureSetReaderParquet.js +1 -1
  639. package/views/2d/layers/support/annodime/annotationGraphic.js +1 -1
  640. package/views/2d/layers/support/annodime/cimAnnotations.js +1 -1
  641. package/views/2d/layers/support/annodime/utils.js +1 -1
  642. package/views/2d/support/hitTestUtils.js +1 -1
  643. package/views/2d/unitBezier.js +1 -1
  644. package/views/3d/analysis/LineOfSight/LineOfSightPlacementController.js +2 -0
  645. package/views/3d/analysis/LineOfSight/LineOfSightReshapeTool3D.js +1 -1
  646. package/views/3d/analysis/LineOfSight/LineOfSightTool2.js +1 -1
  647. package/views/3d/analysis/LineOfSight/lineOfSightPlacementUtils.js +2 -0
  648. package/views/3d/analysis/Viewshed/ViewshedDrawToolRenderer.js +1 -1
  649. package/views/3d/analysis/Viewshed/ViewshedPlacementController.js +1 -1
  650. package/views/3d/analysis/Viewshed/ViewshedPlacementPointPlugin.js +1 -1
  651. package/views/3d/analysis/Viewshed/ViewshedPlacementRootPlugin.js +1 -1
  652. package/views/3d/analysis/Viewshed/placementUtils.js +1 -1
  653. package/views/3d/interactive/visualElements/DrapedVisualElementResources.js +1 -1
  654. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  655. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  656. package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
  657. package/views/3d/layers/graphics/Graphics3DSymbol.js +1 -1
  658. package/views/3d/layers/graphics/SymbolComplexity.js +1 -1
  659. package/views/3d/layers/graphics/defaultSymbolComplexity.js +1 -1
  660. package/views/3d/support/QualityProfile.js +1 -1
  661. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechnique.js +1 -1
  662. package/views/3d/webgl-engine/core/shaderLibrary/ShaderOutput.js +1 -1
  663. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathEvaluate.glsl.js +14 -6
  664. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexPosition.glsl.js +2 -1
  665. package/views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js +2 -2
  666. package/views/3d/webgl-engine/core/shaderLibrary/util/EmissionDimming.glsl.js +1 -1
  667. package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechniqueRepository.js +1 -1
  668. package/views/3d/webgl-engine/effects/blit/Blit.js +1 -1
  669. package/views/3d/webgl-engine/effects/fog/FogTechniqueConfiguration.js +1 -1
  670. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationBlur.glsl.js +1 -1
  671. package/views/3d/webgl-engine/effects/glow/Glow.js +1 -1
  672. package/views/3d/webgl-engine/effects/glow/GlowBlurTechniqueConfiguration.js +1 -1
  673. package/views/3d/webgl-engine/effects/glow/GlowCompositionTechniqueConfiguration.js +1 -1
  674. package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
  675. package/views/3d/webgl-engine/effects/transparency/OITBlend.glsl.js +1 -1
  676. package/views/3d/webgl-engine/effects/transparency/OITBlend.js +1 -1
  677. package/views/3d/webgl-engine/effects/transparency/OITBlendEmission.glsl.js +1 -1
  678. package/views/3d/webgl-engine/effects/transparency/OITBlendEmissionTechnique.js +1 -1
  679. package/views/3d/webgl-engine/effects/transparency/OITBlendFragmentTechniqueConfiguration.js +2 -0
  680. package/views/3d/webgl-engine/effects/transparency/OITBlendTechnique.js +1 -1
  681. package/views/3d/webgl-engine/effects/transparency/OITBlendTechniqueConfiguration.js +1 -1
  682. package/views/3d/webgl-engine/effects/transparency/OITDimOpaque.glsl.js +1 -1
  683. package/views/3d/webgl-engine/effects/transparency/OITDimOpaqueTechnique.js +1 -1
  684. package/views/3d/webgl-engine/effects/transparency/oitBlendFragment.glsl.js +2 -0
  685. package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
  686. package/views/3d/webgl-engine/lib/Material.js +1 -1
  687. package/views/3d/webgl-engine/lib/OrderIndependentTransparency.js +1 -1
  688. package/views/3d/webgl-engine/lib/PathEvaluator.js +1 -1
  689. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  690. package/views/3d/webgl-engine/lib/lodRendering/LodComponentData.js +1 -1
  691. package/views/3d/webgl-engine/lib/lodRendering/LodLevel.js +1 -1
  692. package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
  693. package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
  694. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  695. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  696. package/views/3d/webgl-engine/materials/PathTechnique.js +1 -1
  697. package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
  698. package/views/3d/webgl-engine/materials/PolygonOffset.js +1 -1
  699. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  700. package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
  701. package/views/3d/webgl-engine/shaders/GaussianSplatCompositionTechniqueConfiguration.js +1 -1
  702. package/views/3d/webgl-engine/shaders/HUDMaterialTechnique.js +1 -1
  703. package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +6 -7
  704. package/views/3d/webgl-engine/shaders/ditherNoise.glsl.js +1 -1
  705. package/views/3d/webgl-engine/shaders/oitResolution.glsl.js +1 -1
  706. package/views/LinkChartView.d.ts +3 -1
  707. package/views/View2D.d.ts +5 -4
  708. package/views/draw/support/editingSessionUtils.js +1 -1
  709. package/views/interactive/snapping/SnappingManager.js +1 -1
  710. package/views/interactive/snapping/candidates/dehydrated/{DehydratedVertexSnappingCandidate.js → DehydratedFeatureSnappingCandidate.js} +1 -1
  711. package/webdoc/support/writeUtils.js +1 -1
  712. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +10 -3
  713. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  714. package/widgets/BatchAttributeForm/attachmentUtils.d.ts +9 -0
  715. package/widgets/BatchAttributeForm/attachmentUtils.js +1 -1
  716. package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
  717. package/widgets/BatchAttributeForm/css.js +1 -1
  718. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.d.ts +3 -3
  719. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
  720. package/widgets/BatchAttributeForm/inputs/BatchFormInputs.js +1 -1
  721. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  722. package/widgets/BatchAttributeForm/inputs/GroupInput.js +1 -1
  723. package/widgets/BatchAttributeForm/inputs/InputBase.js +1 -1
  724. package/widgets/BatchAttributeForm/inputs/RelationshipElementInput.js +1 -1
  725. package/widgets/BatchAttributeForm/inputs/support/attachmentValidationCriteriaState.d.ts +1 -1
  726. package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
  727. package/widgets/BatchAttributeForm/interfaceUtils.js +1 -1
  728. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  729. package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
  730. package/widgets/BatchAttributeForm/types.d.ts +92 -7
  731. package/widgets/BatchAttributeForm.js +1 -1
  732. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  733. package/widgets/Editor/CreateFeaturesWorkflowData.js +1 -1
  734. package/widgets/Editor/EditorViewModel.d.ts +1 -1
  735. package/widgets/Editor/EditorViewModel.js +1 -1
  736. package/widgets/Editor/Edits.js +1 -1
  737. package/widgets/Editor/MergeFeaturesWorkflow.js +1 -1
  738. package/widgets/Editor/SplitFeatureWorkflow.js +1 -1
  739. package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
  740. package/widgets/Editor/UpdateFeaturesWorkflow.js +1 -1
  741. package/widgets/Editor/UpdateRecordWorkflow.js +1 -1
  742. package/widgets/Editor/UpdateWorkflow.js +1 -1
  743. package/widgets/Editor/UpdateWorkflowData.js +1 -1
  744. package/widgets/Editor/components/UpdateFeaturePanelContent.js +1 -1
  745. package/widgets/Editor/support/EditorItem.js +1 -1
  746. package/widgets/Editor/support/SketchController.js +1 -1
  747. package/widgets/Editor/support/attachmentUtils.js +2 -0
  748. package/widgets/Editor/workflowUtils.js +1 -1
  749. package/widgets/Editor.js +1 -1
  750. package/widgets/Feature/FeatureViewModel.d.ts +0 -1
  751. package/widgets/FeatureForm/UtilityNetworkAssociationInput.d.ts +0 -1
  752. package/widgets/Features/FeaturesViewModel.d.ts +0 -1
  753. package/widgets/Features/FeaturesViewModel.js +1 -1
  754. package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
  755. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  756. package/widgets/OrientedImageryViewer/adapters/sketch/MeasurementAdapter.js +1 -1
  757. package/widgets/OrientedImageryViewer/components/OrientedImageryVideoViewModel.js +1 -1
  758. package/widgets/OrientedImageryViewer.js +1 -1
  759. package/widgets/Popup.js +1 -1
  760. package/widgets/Print/PrintViewModel.d.ts +11 -1
  761. package/widgets/Print/PrintViewModel.js +1 -1
  762. package/widgets/Sketch/SketchViewModel.d.ts +10 -1
  763. package/widgets/Sketch/SketchViewModel.js +1 -1
  764. package/widgets/Sketch.js +1 -1
  765. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
  766. package/widgets/UtilityNetworkTrace/support/GeometryHandler.js +1 -1
  767. package/assets/components/assets/icon/orientedImageryFullSuperimpose16.json +0 -1
  768. package/assets/components/assets/icon/orientedImageryFullSuperimpose24.json +0 -1
  769. package/assets/components/assets/icon/orientedImageryFullSuperimpose32.json +0 -1
  770. package/assets/components/assets/icon/orientedImageryHalfSuperimpose16.json +0 -1
  771. package/assets/components/assets/icon/orientedImageryHalfSuperimpose24.json +0 -1
  772. package/assets/components/assets/icon/orientedImageryHalfSuperimpose32.json +0 -1
  773. package/assets/components/assets/icon/orientedImagerySceneOnly16.json +0 -1
  774. package/assets/components/assets/icon/orientedImagerySceneOnly24.json +0 -1
  775. package/assets/components/assets/icon/orientedImagerySceneOnly32.json +0 -1
  776. package/assets/components/assets/icon/parquetFeatureLayer16.json +0 -1
  777. package/assets/components/assets/icon/parquetFeatureLayer24.json +0 -1
  778. package/assets/components/assets/icon/parquetFeatureLayer32.json +0 -1
  779. package/assets/esri/core/workers/chunks/013708f40f811158d42c.js +0 -1
  780. package/assets/esri/core/workers/chunks/03354e9256b2f77fd4f2.js +0 -1
  781. package/assets/esri/core/workers/chunks/0826d36dfbfa28442b70.js +0 -1
  782. package/assets/esri/core/workers/chunks/0cbd7f5fe24271942abd.js +0 -1
  783. package/assets/esri/core/workers/chunks/0ded58ccb83f624f1460.js +0 -1
  784. package/assets/esri/core/workers/chunks/0ecc1bc1686844cdd60e.js +0 -1
  785. package/assets/esri/core/workers/chunks/152f1c08197955224ad3.js +0 -1
  786. package/assets/esri/core/workers/chunks/174cc2e69e5b5a13d880.js +0 -1
  787. package/assets/esri/core/workers/chunks/181e948d076a9a7aae8a.js +0 -1
  788. package/assets/esri/core/workers/chunks/18e7784f13a57a75585a.js +0 -1
  789. package/assets/esri/core/workers/chunks/1a95370ddc22729ab3c6.js +0 -1
  790. package/assets/esri/core/workers/chunks/1c8436b27a3d3cde5cfc.js +0 -1
  791. package/assets/esri/core/workers/chunks/1dacc0b64bd27ce2de3a.js +0 -1
  792. package/assets/esri/core/workers/chunks/1eeb1edca0ad5db6917c.js +0 -1
  793. package/assets/esri/core/workers/chunks/1f289aa69dd6b6be534a.js +0 -1
  794. package/assets/esri/core/workers/chunks/20c729fca2e4b4c6b28d.js +0 -1
  795. package/assets/esri/core/workers/chunks/2185e8a52c5e29d46680.js +0 -1
  796. package/assets/esri/core/workers/chunks/23d50c4478f40a7d62bf.js +0 -1
  797. package/assets/esri/core/workers/chunks/2623cd08487fdc9a94f1.js +0 -1
  798. package/assets/esri/core/workers/chunks/26583db2af1a1cc456e5.js +0 -1
  799. package/assets/esri/core/workers/chunks/27c6def22c2b0791ce9e.js +0 -1
  800. package/assets/esri/core/workers/chunks/2b00229c238aae70b948.js +0 -1
  801. package/assets/esri/core/workers/chunks/2b814bb51704a5b4fdc2.js +0 -30
  802. package/assets/esri/core/workers/chunks/2c3fc2805f6de0963789.js +0 -1
  803. package/assets/esri/core/workers/chunks/2d2895f1fdf44d212a4d.js +0 -1
  804. package/assets/esri/core/workers/chunks/2e6382d50bf012064eae.js +0 -1
  805. package/assets/esri/core/workers/chunks/30f1909c5ef1835b8507.js +0 -1
  806. package/assets/esri/core/workers/chunks/3172d7fc23787a287191.js +0 -1
  807. package/assets/esri/core/workers/chunks/3248001d9dfb9153699e.js +0 -1
  808. package/assets/esri/core/workers/chunks/33b4f5dfe1a16b59b010.js +0 -1
  809. package/assets/esri/core/workers/chunks/36dac6ab51d9dbdd091d.js +0 -1
  810. package/assets/esri/core/workers/chunks/39596715e84d0da2f803.js +0 -30
  811. package/assets/esri/core/workers/chunks/398eb3100a282e4736bb.js +0 -1
  812. package/assets/esri/core/workers/chunks/39974d1e5d3820ef1680.js +0 -1
  813. package/assets/esri/core/workers/chunks/426b8e1e2eef2460851d.js +0 -1
  814. package/assets/esri/core/workers/chunks/4301cb9670fa7c907460.js +0 -1
  815. package/assets/esri/core/workers/chunks/4376bc2934a996d8bc27.js +0 -1
  816. package/assets/esri/core/workers/chunks/44e52fe98ffafe6a2807.js +0 -1
  817. package/assets/esri/core/workers/chunks/493a0981e90a5799fb5b.js +0 -1
  818. package/assets/esri/core/workers/chunks/4c54cb80c4dc9bbbd395.js +0 -1
  819. package/assets/esri/core/workers/chunks/4d09ef7c57ab7f9782fe.js +0 -1
  820. package/assets/esri/core/workers/chunks/4e788fc6cb2ea936f676.js +0 -1
  821. package/assets/esri/core/workers/chunks/5022413f5a41b5d435ea.js +0 -1
  822. package/assets/esri/core/workers/chunks/5100b5a6a506c704dfaf.js +0 -1
  823. package/assets/esri/core/workers/chunks/5121768c70f1e03b685c.js +0 -1
  824. package/assets/esri/core/workers/chunks/5201105ca11a2d450460.js +0 -1
  825. package/assets/esri/core/workers/chunks/528ed0bd8dc149ead023.js +0 -1
  826. package/assets/esri/core/workers/chunks/52afd43bbe23e358efb5.js +0 -1
  827. package/assets/esri/core/workers/chunks/52f354bf80ee5ab0379a.js +0 -1
  828. package/assets/esri/core/workers/chunks/5359ff9492383c5bd9b1.js +0 -1
  829. package/assets/esri/core/workers/chunks/54d7f07e3348ddb6d9a2.js +0 -1
  830. package/assets/esri/core/workers/chunks/597aa39cdb5366ef9a74.js +0 -1
  831. package/assets/esri/core/workers/chunks/59dafa1e1340ea4043e6.js +0 -1
  832. package/assets/esri/core/workers/chunks/5aba23584e0b230c75f5.js +0 -1
  833. package/assets/esri/core/workers/chunks/5cb274e5759f7ca0d4ed.js +0 -1
  834. package/assets/esri/core/workers/chunks/62e77e3c5ca9b4887923.js +0 -2
  835. package/assets/esri/core/workers/chunks/64114a7d2da162987958.js +0 -1
  836. package/assets/esri/core/workers/chunks/65520a443e3811255bea.js +0 -1
  837. package/assets/esri/core/workers/chunks/65f02eca694cc1c9f5a7.js +0 -1
  838. package/assets/esri/core/workers/chunks/6821462e5c1e9c76010a.js +0 -1
  839. package/assets/esri/core/workers/chunks/684d3cb4fb233180b2d0.js +0 -1
  840. package/assets/esri/core/workers/chunks/6a3d207308b29651f397.js +0 -1
  841. package/assets/esri/core/workers/chunks/6d616b66fb32904b55a1.js +0 -1
  842. package/assets/esri/core/workers/chunks/6d696beddcc5fbed5875.js +0 -1
  843. package/assets/esri/core/workers/chunks/6f125b4ed06c0022dee6.js +0 -1
  844. package/assets/esri/core/workers/chunks/6f4825c3ef1fe202ab82.js +0 -1
  845. package/assets/esri/core/workers/chunks/6f5d61f734ec40dafabb.js +0 -1
  846. package/assets/esri/core/workers/chunks/6f7193b9ff5942c0d354.js +0 -1
  847. package/assets/esri/core/workers/chunks/70737052bab29fcaa120.js +0 -1
  848. package/assets/esri/core/workers/chunks/72d67cc3a382e83bf1a2.js +0 -1
  849. package/assets/esri/core/workers/chunks/737de87bfb9b5f5a9c6c.js +0 -1
  850. package/assets/esri/core/workers/chunks/7748743d4be047094d67.js +0 -1
  851. package/assets/esri/core/workers/chunks/78c53aeb0a408ab3c80c.js +0 -1
  852. package/assets/esri/core/workers/chunks/79f2d4b3af5776ec2045.js +0 -1
  853. package/assets/esri/core/workers/chunks/7a8ed08cd173963b3112.js +0 -1
  854. package/assets/esri/core/workers/chunks/7b5c1030a7cf0f382cc4.js +0 -1
  855. package/assets/esri/core/workers/chunks/7cadb872b9ca96eedca5.js +0 -1
  856. package/assets/esri/core/workers/chunks/7cee81c5aa1e6b7d2452.js +0 -1
  857. package/assets/esri/core/workers/chunks/7ed3d6c72f23c628df3b.js +0 -1
  858. package/assets/esri/core/workers/chunks/80f4f686ce403cb2693f.js +0 -1
  859. package/assets/esri/core/workers/chunks/8351012ceb466f01b8fd.js +0 -1
  860. package/assets/esri/core/workers/chunks/851705cf276eae8d4d37.js +0 -1
  861. package/assets/esri/core/workers/chunks/854c320af09b6afc4b80.js +0 -2
  862. package/assets/esri/core/workers/chunks/859bc873e7af911a518f.js +0 -1
  863. package/assets/esri/core/workers/chunks/882ee7ed8a3a0215f9b9.js +0 -1
  864. package/assets/esri/core/workers/chunks/8c443c52c846a096a250.js +0 -1
  865. package/assets/esri/core/workers/chunks/8e99f937fd36cf2cd05f.js +0 -1
  866. package/assets/esri/core/workers/chunks/93bd56396b8cd020f965.js +0 -1
  867. package/assets/esri/core/workers/chunks/94fac056e14caed09682.js +0 -1
  868. package/assets/esri/core/workers/chunks/957f7b8de4aecb6f644e.js +0 -1
  869. package/assets/esri/core/workers/chunks/97d2bdbea39cbcf8fd0f.js +0 -1
  870. package/assets/esri/core/workers/chunks/99101789035f1787c630.js +0 -1
  871. package/assets/esri/core/workers/chunks/9c6d34bb666f630d511f.js +0 -1
  872. package/assets/esri/core/workers/chunks/9d5f7573bfe3b051daf1.js +0 -1
  873. package/assets/esri/core/workers/chunks/a0208e35b217808777c4.js +0 -1
  874. package/assets/esri/core/workers/chunks/a0c00c6fe60db49b3ab9.js +0 -1
  875. package/assets/esri/core/workers/chunks/a320998f18922a35899f.js +0 -1
  876. package/assets/esri/core/workers/chunks/a4e9a17dacbb52444d75.js +0 -1
  877. package/assets/esri/core/workers/chunks/a5abba59e738c3240c22.js +0 -1
  878. package/assets/esri/core/workers/chunks/aae0049c2c3e15a813e8.js +0 -1
  879. package/assets/esri/core/workers/chunks/adc32f6b45ea3026fc34.js +0 -1
  880. package/assets/esri/core/workers/chunks/af31e62499d45bdab3c3.js +0 -1
  881. package/assets/esri/core/workers/chunks/af8ef6701631ed5e5b80.js +0 -1
  882. package/assets/esri/core/workers/chunks/b666027b9022fa346a79.js +0 -1
  883. package/assets/esri/core/workers/chunks/b73c146d3e550eaf07eb.js +0 -1
  884. package/assets/esri/core/workers/chunks/b803e7b0d489bb628d72.js +0 -1
  885. package/assets/esri/core/workers/chunks/b9935cc8e2bd4045058a.js +0 -1
  886. package/assets/esri/core/workers/chunks/bb24972603fb35dd8dcf.js +0 -1
  887. package/assets/esri/core/workers/chunks/bcc097271f5cdf0a97a7.js +0 -1
  888. package/assets/esri/core/workers/chunks/bdc66ef2b6ed783047d5.js +0 -1
  889. package/assets/esri/core/workers/chunks/c0cbc50e5afd68bd485c.js +0 -1
  890. package/assets/esri/core/workers/chunks/c2a65de34f6a6c89c652.js +0 -1
  891. package/assets/esri/core/workers/chunks/c3ff2ff0a86a9143d7a5.js +0 -1
  892. package/assets/esri/core/workers/chunks/c424a66f1546275e2bcb.js +0 -30
  893. package/assets/esri/core/workers/chunks/c6d0b4875b6b8d6bc25a.js +0 -1
  894. package/assets/esri/core/workers/chunks/c9a4601073e1a3eee9d0.js +0 -1
  895. package/assets/esri/core/workers/chunks/cf8ce21dc649021e97f6.js +0 -1
  896. package/assets/esri/core/workers/chunks/d2f47f21ce0b0ab4da17.js +0 -262
  897. package/assets/esri/core/workers/chunks/d5c35a75fd4c41def420.js +0 -1
  898. package/assets/esri/core/workers/chunks/d78b7cac322755e87eb8.js +0 -1
  899. package/assets/esri/core/workers/chunks/dbd2bfcbf3e0f86f07b8.js +0 -1
  900. package/assets/esri/core/workers/chunks/dddb57ff637643ccfc87.js +0 -1
  901. package/assets/esri/core/workers/chunks/df18b0a653b328d8d052.js +0 -1
  902. package/assets/esri/core/workers/chunks/df54e741db40b308c2dd.js +0 -2
  903. package/assets/esri/core/workers/chunks/e1bf87077541da6853c6.js +0 -1
  904. package/assets/esri/core/workers/chunks/e33d2ede6c9f1527d51b.js +0 -1
  905. package/assets/esri/core/workers/chunks/e3b713a590cce6245ee2.js +0 -1
  906. package/assets/esri/core/workers/chunks/e4406baf206b9e4c7e4f.js +0 -1
  907. package/assets/esri/core/workers/chunks/e499252cb52f7aed49a0.js +0 -1
  908. package/assets/esri/core/workers/chunks/e4e2f479c0c45ae1b2c3.js +0 -1
  909. package/assets/esri/core/workers/chunks/e656fd5ecf9ac059a87b.js +0 -1
  910. package/assets/esri/core/workers/chunks/e77df11aee136d64ff0f.js +0 -1
  911. package/assets/esri/core/workers/chunks/e912b515704e20313e53.js +0 -1
  912. package/assets/esri/core/workers/chunks/e92698f50089484c4901.js +0 -1
  913. package/assets/esri/core/workers/chunks/e9c5c295b6bf10e942a4.js +0 -1
  914. package/assets/esri/core/workers/chunks/eac683a37339aa558455.js +0 -1
  915. package/assets/esri/core/workers/chunks/ed3d16a5b4084ef61f8a.js +0 -1
  916. package/assets/esri/core/workers/chunks/edcde00495727d506c46.js +0 -1
  917. package/assets/esri/core/workers/chunks/efb4aa5886730ea377bd.js +0 -1
  918. package/assets/esri/core/workers/chunks/f116331c6eca937aac8e.js +0 -1
  919. package/assets/esri/core/workers/chunks/f334bf192dff5af10a70.js +0 -1
  920. package/assets/esri/core/workers/chunks/f518835b2dc89a48cfb1.js +0 -1
  921. package/assets/esri/core/workers/chunks/f5731ad4cfbbf1cc569a.js +0 -2
  922. package/assets/esri/core/workers/chunks/f590db684d88e72bd79b.js +0 -1
  923. package/assets/esri/core/workers/chunks/f76b1fc36f5606cac2c8.js +0 -1
  924. package/assets/esri/core/workers/chunks/f7fca88d120d45bb782a.js +0 -1
  925. package/assets/esri/core/workers/chunks/f819854098d63fe4ccdb.js +0 -1
  926. package/assets/esri/core/workers/chunks/f98118127469449ca145.js +0 -1
  927. package/assets/esri/core/workers/chunks/f9e22cf59e2e2782d70f.js +0 -1
  928. package/assets/esri/core/workers/chunks/fa3faec65882c5b6f1a0.js +0 -1
  929. package/assets/esri/core/workers/chunks/fbe7dae0b4bf2d172487.js +0 -1
  930. package/chunks/Bufferer-Dw9Qi4T1.js +0 -2
  931. package/chunks/Distance2DCalculator-CXhBP-8I.js +0 -2
  932. package/chunks/GeodeticDistanceCalculator-Ce-woMPw.js +0 -2
  933. package/layers/support/AnnotationSublayer.js +0 -2
  934. package/views/3d/analysis/LineOfSight/LineOfSightPlacementTool.js +0 -2
  935. package/views/3d/webgl-engine/effects/transparency/OITBlendEmissionTechniqueConfiguration.js +0 -2
  936. package/views/3d/webgl-engine/effects/transparency/OITDimOpaqueTechniqueConfiguration.js +0 -2
  937. /package/assets/esri/core/workers/chunks/{d9d4754062758789f186.js.LICENSE.txt → 05016e5a1de384994001.js.LICENSE.txt} +0 -0
  938. /package/assets/esri/core/workers/chunks/{62e77e3c5ca9b4887923.js.LICENSE.txt → 0d42322362e76f674d94.js.LICENSE.txt} +0 -0
  939. /package/assets/esri/core/workers/chunks/{df54e741db40b308c2dd.js.LICENSE.txt → 35533c8ef541f7643497.js.LICENSE.txt} +0 -0
  940. /package/assets/esri/core/workers/chunks/{854c320af09b6afc4b80.js.LICENSE.txt → 99c002015c2127e6cbfc.js.LICENSE.txt} +0 -0
  941. /package/assets/esri/core/workers/chunks/{f5731ad4cfbbf1cc569a.js.LICENSE.txt → c318e6dbb8651433038f.js.LICENSE.txt} +0 -0
  942. /package/chunks/{Centroid-DZi-eb9F.js → Centroid-CA-TwbbN.js} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3103,6956,7745],{31464(e,t,i){i.d(t,{Cv:()=>m,Nk:()=>y,lK:()=>g});var n=i(4576),r=i(91218),s=i(21325),o=i(28735);const a=[0,0];function l(e,t){if(!t)return null;if("x"in t){const i={x:0,y:0};return[i.x,i.y]=e(t.x,t.y,a),null!=t.z&&(i.z=t.z),null!=t.m&&(i.m=t.m),i}if("xmin"in t){const i={xmin:0,ymin:0,xmax:0,ymax:0};return[i.xmin,i.ymin]=e(t.xmin,t.ymin,a),[i.xmax,i.ymax]=e(t.xmax,t.ymax,a),t.hasZ&&(i.zmin=t.zmin,i.zmax=t.zmax,i.hasZ=!0),t.hasM&&(i.mmin=t.mmin,i.mmax=t.mmax,i.hasM=!0),i}return"rings"in t?{rings:u(t.rings,e),hasM:t.hasM,hasZ:t.hasZ}:"paths"in t?{paths:u(t.paths,e),hasM:t.hasM,hasZ:t.hasZ}:"points"in t?{points:p(t.points,e),hasM:t.hasM,hasZ:t.hasZ}:null}function u(e,t){const i=[];for(const n of e)i.push(p(n,t));return i}function p(e,t){const i=[];for(const n of e){const e=t(n[0],n[1],[0,0]);i.push(e),n.length>2&&e.push(n[2]),n.length>3&&e.push(n[3])}return i}async function y(e,t){if(!e||!t)return;const i=Array.isArray(e)?e.map(e=>null!=e.geometry?e.geometry.spatialReference:null).filter(n.Ru):[e];await(0,r.initializeProjection)(i.map(e=>({source:e,dest:t})))}const d=l.bind(null,o.je),c=l.bind(null,o.tD);function m(e,t,i,n){if(!e)return null;if(i||(i=t,t=e.spatialReference),!(0,s.fn)(t)||!(0,s.fn)(i)||(0,s.aI)(t,i))return e;if((0,o.y7)(t,i)){const t=(0,s.K8)(i)?d(e):c(e);return t.spatialReference=i,t}return(0,r.projectMany)([e],t,i,n)[0]}const f=new class{constructor(){this._jobs=[],this._timer=null,this._process=this._process.bind(this)}async push(e,t,i,n){if(!e?.length||!t||!i||(0,s.aI)(t,i))return e;const r={geometries:e,inSpatialReference:t,outSpatialReference:i,options:n,resolve:Promise.withResolvers()};return this._jobs.push(r),this._timer??=setTimeout(this._process,10),r.resolve.promise}_process(){this._timer=null;const e=this._jobs.shift();if(!e)return;const{geometries:t,inSpatialReference:i,outSpatialReference:n,resolve:a,options:l}=e,u=t.filter(e=>null!=e);let p;p=(0,o.y7)(i,n)&&null==l?.extendedParams?(0,s.K8)(n)?u.map(d):u.map(c):(0,r.projectMany)(u,i,n,l);let y=0;const m=t.map(e=>null==e?null:p[y++]);a.resolve(m),this._jobs.length>0&&(this._timer=setTimeout(this._process,10))}};function g(e,t,i,n){return f.push(e,t,i,n)}},58727(e,t,i){i.d(t,{GC:()=>g,T2:()=>h,VY:()=>c,dO:()=>w,iJ:()=>f,v8:()=>m});var n=i(49186),r=i(66552),s=i(86211),o=i(91218),a=i(90634),l=i(60408),u=i(65864),p=i(17136),y=i(21325),d=i(31464);const c=new r.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"}),m=Object.freeze({});async function f(e,t,i){const n=e.bin;return n.onField&&(n.onField=n.onField.trim()),n.onExpression?.value&&(n.onExpression.value=n.onExpression.value.trim()),n.splitBy&&(n.splitBy.value&&(n.splitBy.value=n.splitBy.value.trim()),n.splitBy.outAlias&&(n.splitBy.outAlias=n.splitBy.outAlias.trim())),n.stackBy&&(n.stackBy.value&&(n.stackBy.value=n.stackBy.value.trim()),n.stackBy.outAlias&&(n.stackBy.outAlias=n.stackBy.outAlias.trim())),"normalizationField"in n.parameters&&n.parameters.normalizationField&&(n.parameters.normalizationField=n.parameters.normalizationField.trim()),e.outStatistics?.length||(e.outStatistics=[{statisticType:"count",onStatisticField:"1",outStatisticFieldName:"frequency"}]),g(e,t,i)}async function g(e,t,i){const{outFields:n,orderByFields:r,groupByFieldsForStatistics:s,outStatistics:o}=e;if(n)for(let e=0;e<n.length;e++)n[e]=n[e].trim();if(r)for(let e=0;e<r.length;e++)r[e]=r[e].trim();if(s)for(let e=0;e<s.length;e++)s[e]=s[e].trim();if(o)for(let e=0;e<o.length;e++)o[e].onStatisticField&&(o[e].onStatisticField=o[e].onStatisticField.trim());return e.geometry&&!e.outSR&&(e.outSR=e.geometry.spatialReference),h(e,t,i)}async function h(e,t,r){if(!e)return null;let{where:o}=e;if(e.where=o=o?.trim(),(!o||/^1 *= *1$/.test(o)||t&&t===o)&&(e.where=null),!e.geometry)return e;let f=await async function(e){const{distance:t,units:r}=e,o=e.geometry;if(!t||"vertexAttributes"in o)return o;const a=o.spatialReference,u=r?c.fromJSON(r):(0,s.Ij)(a),p=a&&((0,y.EA)(a)||(0,y.K8)(a))?o:await(0,d.Nk)(a,y.KK).then(()=>(0,d.Cv)(o,y.KK)),m=await i.e(9159).then(i.bind(i,49159));await m.load();const f=m.execute(p,t||1,{unit:u})??void 0;if(!f||!(0,l.Bi)(f)||0===f.rings.length)throw new n.A("unsupported-query:invalid-parameters","Invalid parameters for query by distance");return f}(e);if(e.distance=0,e.units=null,"esriSpatialRelEnvelopeIntersects"===e.spatialRel){const{spatialReference:t}=e.geometry;f=(0,a.HA)(f),f.spatialReference=t}if(f){await(0,d.Nk)(f.spatialReference,r),f=function(e,t){const i=e.spatialReference;return v(e,t)&&(0,l.ZC)(e)?{spatialReference:i,rings:[[[e.xmin,e.ymin],[e.xmin,e.ymax],[e.xmax,e.ymax],[e.xmax,e.ymin],[e.xmin,e.ymin]]]}:e}(f,r);const t=(await(0,p.el)((0,u.rS)(f)))[0];if(null==t)throw m;const i="quantizationParameters"in e&&e.quantizationParameters?.tolerance||"maxAllowableOffset"in e&&e.maxAllowableOffset||0,n=i&&v(f,r)?{extendedParams:{densificationStep:8*i}}:void 0,s=t.toJSON(),o=(0,d.Cv)(s,s.spatialReference,r,n);if(!o)throw m;o.spatialReference=r,e.geometry=o}return e}function v(e,t){if(!e)return!1;const i=e.spatialReference;return((0,l.ZC)(e)||(0,l.Bi)(e)||(0,l.Rg)(e))&&!(0,y.aI)(i,t)&&!(0,o.canProjectWithoutEngine)(i,t)}function w(e,t){return null==e?null:"string"==typeof e?t?new Date(`1970-01-01T${e}Z`).getTime():new Date(e).getTime():e instanceof Date?e.getTime():e}},33103(e,t,i){i.r(t),i.d(t,{executeAttributeBinsQuery:()=>c});var n=i(2272),r=i(11254),s=i(84952),o=i(60408),a=i(17136),l=i(21325),u=i(10536);function p(e){const t=e.geometry,i=e.toJSON(),n=i;let r,s,a;if(null!=t&&(s=t.spatialReference,a=(0,l.YX)(s),n.geometryType=(0,o.$B)(t),n.geometry=JSON.stringify(t),n.inSR=a),i.outSR?(n.outSR=(0,l.YX)(i.outSR),r=e.outSpatialReference):t&&(n.outSR=n.inSR,r=s),n.bin&&=JSON.stringify(n.bin),n.quantizationParameters&&=JSON.stringify(n.quantizationParameters),n.outStatistics&&=JSON.stringify(n.outStatistics),n.outTimeReference&&=JSON.stringify(n.outTimeReference),i.timeExtent){const e=i.timeExtent,{start:t,end:r}=e;null==t&&null==r||(n.time=t===r?t:`${t??"null"},${r??"null"}`),delete i.timeExtent}return e.defaultSpatialReference&&(0,l.aI)(s,r)&&(n.defaultSR=n.inSR,delete n.inSR,delete n.outSR),n}var y=i(37745),d=i(14575);async function c(e,t,i){const{data:o}=await async function(e,t,i){return null!=t.timeExtent&&t.timeExtent.isEmpty?{data:{features:[]}}:await async function(e,t,i={}){const n="string"==typeof e?(0,s.An)(e):e,o=t.geometry?[t.geometry]:[],l=await(0,a.el)(o,null,{signal:i.signal}),y=l?.[0];null!=y&&((t=t.clone()).geometry=y);const d=(0,u.z)({...n.query,f:"json",...p(t)});return(0,r.A)((0,s.fj)(n.path,"queryBins"),{...i,query:{...d,...i.query}})}(e,t,i)}((0,n.Dl)(e),d.default.from(t),i);return y.default.fromJSON(o)}},37745(e,t,i){i.r(t),i.d(t,{default:()=>d});var n,r=i(5482),s=i(52106),o=i(4718),a=i(91429);let l=class extends s.A{static{n=this}constructor(e){super(e),this.stackedAttributes=null}cloneShallow(){return new n(Object.assign({stackedAttributes:this.stackedAttributes},super.cloneShallow()))}toJSON(){return{...super.toJSON(),stackedAttributes:(0,o.o8)(this.stackedAttributes)}}};(0,r.Cg)([(0,a.MZ)()],l.prototype,"stackedAttributes",void 0),l=n=(0,r.Cg)([(0,a.$K)("esri.AttributeBinsGraphic")],l);var u=i(69540),p=i(22671),y=i(36005);let d=class extends((0,u.OU)(p.A)){constructor(e){super(e),this.features=[]}readFeatures(e,t){return this.readFeaturesWithClass(e,t,l)}};(0,r.Cg)([(0,a.MZ)({type:[l],json:{write:!0}})],d.prototype,"features",void 0),(0,r.Cg)([(0,y.w)("features")],d.prototype,"readFeatures",null),d=(0,r.Cg)([(0,a.$K)("esri.rest.support.AttributeBinsFeatureSet")],d)},14575(e,t,i){i.d(t,{default:()=>R});var n=i(5482),r=i(69540),s=i(66552),o=i(25482),a=i(53966),l=i(91429),u=i(56507),p=i(16930),y=i(65864),d=i(50498),c=i(58727),m=i(5834),f=i(41266),g=i(59977),h=i(11440),v=i(60909),w=i(58174),S=i(7562),x=i(79677),C=i(56400),B=i(93223);const M=new s.J({asc:"ascending",desc:"descending"}),b={base:f.A,key:"type",typeMap:{"auto-interval":m.A,date:g.A,"fixed-boundaries":h.A,"fixed-interval":v.A}};let R=class extends((0,r.OU)(o.o)){constructor(e){super(e),this.binParameters=null,this.binOrder="ascending",this.cacheHint=void 0,this.datumTransformation=null,this.defaultSpatialReference=null,this.distance=void 0,this.geometry=null,this.lowerBoundaryAlias=null,this.outSpatialReference=null,this.outStatistics=null,this.returnDistinctValues=null,this.spatialRelationship="intersects",this.timeExtent=null,this.upperBoundaryAlias=null,this.units=null,this.where="1=1"}set outTimeZone(e){this._set("outTimeZone",e),e&&!(0,C.wr)(e)&&a.A.getLogger(this).warn("#outTimeZone",`the parsed value '${e}' may not be a valid IANA time zone`)}};(0,n.Cg)([(0,l.MZ)({types:b,json:{name:"bin",write:!0}})],R.prototype,"binParameters",void 0),(0,n.Cg)([(0,B.e)(M)],R.prototype,"binOrder",void 0),(0,n.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],R.prototype,"cacheHint",void 0),(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],R.prototype,"datumTransformation",void 0),(0,n.Cg)([(0,l.MZ)({type:p.A,json:{name:"defaultSR",write:!0}})],R.prototype,"defaultSpatialReference",void 0),(0,n.Cg)([(0,l.MZ)({type:Number,json:{write:{overridePolicy:e=>({enabled:e>0})}}})],R.prototype,"distance",void 0),(0,n.Cg)([(0,l.MZ)({types:d.yR,json:{read:y.rS,write:!0}})],R.prototype,"geometry",void 0),(0,n.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],R.prototype,"lowerBoundaryAlias",void 0),(0,n.Cg)([(0,l.MZ)({type:p.A,json:{name:"outSR",write:!0}})],R.prototype,"outSpatialReference",void 0),(0,n.Cg)([(0,l.MZ)({type:[S.A],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.outStatistics&&this.outStatistics.length>0}}}}})],R.prototype,"outStatistics",void 0),(0,n.Cg)([(0,l.MZ)({value:null,json:{name:"outTimeReference",read:{reader:e=>e.ianaTimeZone},write:{writer:(e,t,i)=>{e&&(t[i]={ianaTimeZone:e})}}}})],R.prototype,"outTimeZone",null),(0,n.Cg)([(0,l.MZ)({type:Boolean,json:{name:"returnAggIds",write:{overridePolicy:e=>({enabled:null!=e})}}})],R.prototype,"returnAggregateIds",void 0),(0,n.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],R.prototype,"returnDistinctValues",void 0),(0,n.Cg)([(0,B.e)(w.x,{name:"spatialRel"})],R.prototype,"spatialRelationship",void 0),(0,n.Cg)([(0,l.MZ)({type:x.A,json:{write:!0}})],R.prototype,"timeExtent",void 0),(0,n.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],R.prototype,"upperBoundaryAlias",void 0),(0,n.Cg)([(0,l.MZ)({type:String,json:{read:c.VY.read,write:{writer:c.VY.write,overridePolicy(e){return{enabled:null!=e&&!!this.distance}}}}})],R.prototype,"units",void 0),(0,n.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],R.prototype,"where",void 0),R=(0,n.Cg)([(0,l.$K)("esri.rest.support.AttributeBinsQuery")],R),R.from=(0,u.dp)(R)},5834(e,t,i){i.d(t,{A:()=>y});var n=i(5482),r=i(93637),s=i(91429),o=i(56507),a=i(41266),l=i(41366),u=i(93223);function p(e,t,i){(0,r.sM)(i,e instanceof Date?e.getTime():e,t)}let y=class extends((0,l.K)(a.A)){constructor(e){super(e),this.numBins=null,this.end=null,this.start=null,this.type="auto-interval"}};(0,n.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.numberOfBins",write:!0}})],y.prototype,"numBins",void 0),(0,n.Cg)([(0,s.MZ)({json:{name:"parameters.end",write:{writer:p}}})],y.prototype,"end",void 0),(0,n.Cg)([(0,s.MZ)({json:{name:"parameters.start",write:{writer:p}}})],y.prototype,"start",void 0),(0,n.Cg)([(0,u.e)({autoIntervalBin:"auto-interval"},{readOnly:!0})],y.prototype,"type",void 0),y=(0,n.Cg)([(0,s.$K)("esri.rest.support.AutoIntervalBinParameters")],y),y.from=(0,o.dp)(y)},41266(e,t,i){i.d(t,{A:()=>f});var n=i(5482),r=i(69540),s=i(66552),o=i(25482),a=i(91429),l=i(56507),u=i(93223);const p=new s.J({esriFieldTypeInteger:"integer",esriFieldTypeString:"string"});let y=class extends((0,r.OU)(o.o)){constructor(e){super(e),this.alias=null,this.responseType=null,this.type=null,this.value=null,this.valueType=null}};(0,n.Cg)([(0,a.MZ)({type:String,json:{name:"outAlias",write:!0}})],y.prototype,"alias",void 0),(0,n.Cg)([(0,a.MZ)({type:String})],y.prototype,"responseType",void 0),(0,n.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"type",void 0),(0,n.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"value",void 0),(0,n.Cg)([(0,u.e)(p)],y.prototype,"valueType",void 0),y=(0,n.Cg)([(0,a.$K)("esri.rest.support.AttributeBinsGrouping")],y);const d=y;y.from=(0,l.dp)(y);const c=new s.J({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeDate:"date",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"}),m=new s.J({naturalLog:"natural-log",squareRoot:"square-root"});let f=class extends((0,r.OU)(o.o)){constructor(e){super(e),this.expression=null,this.expressionValueType=null,this.field=null,this.firstDayOfWeek=null,this.hideUpperBound=null,this.splitBy=null,this.stackBy=null,this.transformation=null}};(0,n.Cg)([(0,a.MZ)({type:String,json:{name:"onExpression.value",write:!0}})],f.prototype,"expression",void 0),(0,n.Cg)([(0,u.e)(c,{name:"onExpression.valueType"})],f.prototype,"expressionValueType",void 0),(0,n.Cg)([(0,a.MZ)({type:String,json:{name:"onField",write:!0}})],f.prototype,"field",void 0),(0,n.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],f.prototype,"firstDayOfWeek",void 0),(0,n.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"hideUpperBound",void 0),(0,n.Cg)([(0,a.MZ)({type:d,json:{write:{overridePolicy(){return{enabled:null!=this.splitBy?.value||null!=this.splitBy?.type}}}}})],f.prototype,"splitBy",void 0),(0,n.Cg)([(0,a.MZ)({type:d,json:{write:{target:{stackBy:{type:d},jsonStyle:{type:String}},writer:(e,t)=>{e&&(t.stackBy=e.toJSON(),null!=e.responseType&&(t.jsonStyle=e.responseType))},overridePolicy(){return{enabled:null!=this.stackBy?.value||null!=this.stackBy?.type}}},read:{source:["stackBy","jsonStyle"],reader:(e,t)=>d.fromJSON({...t.stackBy,responseType:t.jsonStyle})}}})],f.prototype,"stackBy",void 0),(0,n.Cg)([(0,u.e)(m)],f.prototype,"transformation",void 0),f=(0,n.Cg)([(0,a.$K)("esri.rest.support.BinParametersBase")],f)},59977(e,t,i){i.d(t,{A:()=>g});var n=i(5482),r=i(93637),s=i(91429),o=i(56507),a=i(41266),l=i(69540),u=i(25482),p=i(57231),y=i(93223);let d=class extends((0,l.OU)(u.o)){constructor(e){super(e),this.value=null,this.unit=null}};(0,n.Cg)([(0,s.MZ)({type:Number,json:{name:"number",write:!0}})],d.prototype,"value",void 0),(0,n.Cg)([(0,y.e)(p.g)],d.prototype,"unit",void 0),d=(0,n.Cg)([(0,s.$K)("esri.rest.support.DateBinTimeInterval")],d);const c=d;function m(e,t,i){(0,r.sM)(i,"string"==typeof e?e:e?.getTime(),t)}function f(e,t){const i=e.parameters[t];return i?"string"==typeof i?i:new Date(i):null}d.from=(0,o.dp)(d);let g=class extends a.A{constructor(e){super(e),this.end=null,this.interval=null,this.offset=null,this.returnFullIntervalBin=!1,this.start=null,this.snapToData=null,this.type="date"}};(0,n.Cg)([(0,s.MZ)({cast:e=>null!=e?"string"==typeof e?e:new Date(e):null,json:{name:"parameters.end",read:{reader:(e,t)=>f(t,"end")},write:{writer:m}}})],g.prototype,"end",void 0),(0,n.Cg)([(0,s.MZ)({type:c,json:{name:"parameters",write:!0}})],g.prototype,"interval",void 0),(0,n.Cg)([(0,s.MZ)({type:c,json:{name:"parameters.offset",write:!0}})],g.prototype,"offset",void 0),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{name:"parameters.returnFullIntervalBin",write:!0}})],g.prototype,"returnFullIntervalBin",void 0),(0,n.Cg)([(0,s.MZ)({cast:e=>null!=e?"string"==typeof e?e:new Date(e):null,json:{name:"parameters.start",read:{reader:(e,t)=>f(t,"start")},write:{writer:m}}})],g.prototype,"start",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.snapToData",write:!0}})],g.prototype,"snapToData",void 0),(0,n.Cg)([(0,y.e)({dateBin:"date"},{readOnly:!0})],g.prototype,"type",void 0),g=(0,n.Cg)([(0,s.$K)("esri.rest.support.DateBinParameters")],g),g.from=(0,o.dp)(g)},57231(e,t,i){i.d(t,{g:()=>n});const n=(0,i(66552).O)()({year:"years",quarter:"quarters",month:"months",week:"weeks",day:"days",hour:"hours",minute:"minutes",second:"seconds"})},11440(e,t,i){i.d(t,{A:()=>u});var n=i(5482),r=i(93637),s=i(91429),o=i(56507),a=i(41266),l=i(93223);let u=class extends a.A{constructor(e){super(e),this.boundaries=[],this.type="fixed-boundaries"}};(0,n.Cg)([(0,s.MZ)({json:{name:"parameters.boundaries",write:{writer:function(e,t,i){(0,r.sM)(i,e&&function(e){return e[0]instanceof Date}(e)?e.map(e=>e.getTime()):e,t)}}}})],u.prototype,"boundaries",void 0),(0,n.Cg)([(0,l.e)({fixedBoundariesBin:"fixed-boundaries"},{readOnly:!0})],u.prototype,"type",void 0),u=(0,n.Cg)([(0,s.$K)("esri.rest.support.FixedBoundariesBinParameters")],u),u.from=(0,o.dp)(u)},60909(e,t,i){i.d(t,{A:()=>y});var n=i(5482),r=i(93637),s=i(91429),o=i(56507),a=i(41266),l=i(41366),u=i(93223);function p(e,t,i){(0,r.sM)(i,e instanceof Date?e.getTime():e,t)}let y=class extends((0,l.K)(a.A)){constructor(e){super(e),this.end=null,this.interval=null,this.start=null,this.type="fixed-interval"}};(0,n.Cg)([(0,s.MZ)({json:{name:"parameters.end",write:{writer:p}}})],y.prototype,"end",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.interval",write:!0}})],y.prototype,"interval",void 0),(0,n.Cg)([(0,s.MZ)({json:{name:"parameters.start",write:{writer:p}}})],y.prototype,"start",void 0),(0,n.Cg)([(0,u.e)({fixedIntervalBin:"fixed-interval"},{readOnly:!0})],y.prototype,"type",void 0),y=(0,n.Cg)([(0,s.$K)("esri.rest.support.FixedIntervalBinParameters")],y),y.from=(0,o.dp)(y)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1948,2174,3931,6061,6312,8125],{61691(t,e,r){r.d(e,{G:()=>s});class s{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,r){r.d(e,{S:()=>n});var s=r(61691);class n extends s.G{m_aGeoms;m_iGeom=-1;constructor(t){super(),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}}},7817(t,e,r){r.d(e,{e:()=>i,l:()=>o,s:()=>a});var s=r(86211),n=r(78125);function i(t,e={}){const{unit:r}=e;let i=(0,n.fromGeometry)(t).calculateLength2D();if(i&&r){const e=(0,n.getSpatialReference)(t);i=(0,s.PQ)(i,e,r)}return i}const a=!0,o=Object.freeze(Object.defineProperty({__proto__:null,execute:i,supportsCurves:a},Symbol.toStringTag,{value:"Module"}))},69397(t,e,r){r.d(e,{Qf:()=>h,Qh:()=>a,RS:()=>n,Ul:()=>g,i5:()=>f,lM:()=>i,qK:()=>c});var s=r(34275);const n=16;function i(t){if(!t)return 0;let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=o(t[r],!1));return e}function a(t){if(!t)return 0;if("number"==typeof t[0])return h(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return u(t,8);let r=l;for(let s=0;s<e;s++)r+=o(t[s]);return r}(t);let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=o(t[r]));return e}function o(t,e=!0){switch(typeof t){case"object":return e?a(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return n;case"boolean":return 4;default:return 8}}function h(...t){return t.reduce((t,e)=>t+(e?(0,s.iu)(e)?e.byteLength+f:Array.isArray(e)?u(e,n):0:0),0)}function u(t,e){return l+t.length*e}const c=32,l=16,f=145,g=64},87992(t,e,r){r.d(e,{JR:()=>Z,ME:()=>E,MY:()=>O,NO:()=>M,Nh:()=>V,V2:()=>_,_s:()=>b,e6:()=>I,gh:()=>P,tr:()=>X,uX:()=>x});var s=r(5482),n=r(69397),i=r(16930),a=(r(70328),r(19419)),o=r(60408),h=r(21325),u=r(513),c=r(50954),l=r(79567),f=r(52006),g=r(49663),m=r(46068),p=r(92722);class x{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:i,partCount:a,partOffsets:o,partFlags:h,segmentFlags:u,segmentIndices:c,segmentParams:l,segmentCountArc:f,segmentCountBezier:g}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=s,this.vertexZ=n,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=h,this.segmentFlags=u,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=f,this.segmentCountBezier=g}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 this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?n.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:s,hasM:n,segmentCountArc:i,segmentCountBezier:a}=this,o=_(t,e,r,s,n,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:h,vertexZ:u,vertexM:c}=this;if(o.vertexXY.set(h.subarray(0,2*e),0),o.vertexZ?.set(u.subarray(0,e),0),o.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,r+1)),o.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(r.subarray(0,e),0),o.segmentParams.set(s.subarray(0,n),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,h.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 this.isMultipart()?new y(this):[][Symbol.iterator]()}}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=R(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 C(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 C{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=R(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++],s=e[r++],n=e[r++],i=e[r++];return{b:[this.end,[t,s],[n,i]]}}const s=e[r++],n=e[r++],i=e[r++],a=e[r++],o=e[r++],h=e[r++];r++,r++;const u=e[r++],c=e[r++];if(!Boolean(4&s)&&1===i)return{c:[this.end,[u,c]]};const l=2&s?0:1,f=1&s?0:1;return{a:[this.end,[o,h],l,f,a,n,i]}}}function M(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,a.Ie)(),(0,s.mS)(r,new w(t,["vertexZ","vertexM","spatialReference"]),!1),(0,a.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:n,vertexZ:i,vertexM:o}=t,h=A(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new w(t,["vertexZ","vertexM"]),!1);const n=(0,a.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,l.e)(n,t,r),t=(0,f.yP)(r)}const[i,o,u,c]=n;e={xmin:i,ymin:o,xmax:u,ymax:c,spatialReference:h}}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}else{let t,s,i,a;t=s=1/0,i=a=-1/0;for(let e=0;e<r;++e){const r=n[2*e],o=n[2*e+1];t=Math.min(t,r),i=Math.max(i,r),s=Math.min(s,o),a=Math.max(a,o)}e={xmin:t,ymin:s,xmax:i,ymax:a,spatialReference:h}}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(o){let t=1/0,r=-1/0;for(const e of o)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,s.hk)(r)}}function E(t){let e,r,s;if((0,o.fT)(t)){s="point";const{x:n,y:i,z:a,m:o}=t,h=[n,i];null!=a&&h.push(a),null!=o&&h.push(o),r=[[h]],e=1}else(0,o.U9)(t)?(s="multipoint",r=[t.points],e=t.points.length):(0,o.Rg)(t)?(s="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(s="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,S(e[0],(0,f.yP)(e.at(-1)))&&--t),t),0));const n=_(s,e,s.includes("point")?0:r.length,(0,o.Pv)(t),(0,o.W0)(t),(0,f.Ed)(t)),{hasZ:i,hasM:a,vertexXY:h,vertexZ:u,vertexM:c}=n;function l(t){h[2*m]=t[0],h[2*m+1]=t[1],i&&(u[m]=t[2]),a&&(c[m]=t[g]),++m}n.spatialReference=t.spatialReference??void 0;const g=n.hasZ?3:2;let m=0;if(!n.isMultipart()){if(!i&&!a){for(const[t,e]of r[0])h[2*m]=t,h[2*m+1]=e,++m;return n}for(const t of r[0])l(t);return n}const p="polygon"===s,{partOffsets:x}=n;let y=0;if(!(0,f.Ed)(t)){for(const t of r){if(x[y++]=m,0===t.length)continue;let e=t.length;if(p&&S(t[0],t.at(-1))&&--e,i||a)for(let r=0;r<e;++r)l(t[r]);else for(let r=0;r<e;++r){const[e,s]=t[r];h[2*m]=e,h[2*m+1]=s,++m}}return x[y]=m,n}function d(t){const e=v+t;if(e<=(n.segmentParams?.length??0))return;let r=e*G;r=20*Math.ceil(r/20);const s=n.segmentParams;n.segmentParams=new Float64Array(r),null!=s&&n.segmentParams.set(s)}let v=0;for(const t of r){if(n.partOffsets[y++]=m,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const s=t[e];l(r);const i=m-1;(0,f.wY)(s)?(d(10),++n.segmentCountArc,v=b(r,s,n,i,v),r=s.a[0]):(0,f.DA)(s)?(d(10),++n.segmentCountArc,v=Y(r,s,n,i,v),r=s.a[0]):(0,f.aO)(s)?(d(10),++n.segmentCountArc,v=I(r,s,n,i,v),r=s.c[0]):(0,f.n1)(s)?(d(4),++n.segmentCountBezier,v=X(0,s,n,i,v),r=s.b[0]):r=s}p&&S(e,r)||l(r)}return n.partOffsets[y]=m,n}function P(t){const e=R(t),{vertexCount:r,partCount:s,hasZ:n,hasM:i}=t,a=A(t);if("point"===t.type){const[e,r]=t.vertexXY,s=t.vertexZ?.[0],n=t.vertexM?.[0];return{x:e,y:r,z:s,m:n,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<r;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:n,hasM:i}}const h="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let n=0;n<s;++n){const s=t.partOffsets[n+1],i=new Array;for(;o<s;)i.push(e(o++));h&&i.length>0&&i.push(i[0]),r.push(i)}return h?{rings:r,hasZ:n,hasM:i,spatialReference:a}:{paths:r,hasZ:n,hasM:i,spatialReference:a}}const u=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);u.push(t)}return h?{rings:[],curveRings:u,hasZ:n,hasM:i,spatialReference:a}:{paths:[],curvePaths:u,hasZ:n,hasM:i,spatialReference:a}}function V(t,{lengths:e,coords:r,hasZ:s,hasM:n},i){const a=t.includes("point")?0:e.length,o="polygon"===t,h="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);s??=!1,n??=!1;const u=_(t,h,a,s,n,!1,0,0);if(u.spatialReference=i??void 0,!u.isMultipart()){for(let t=0,e=0;t<h;++t)u.vertexXY[2*t]=r[e++],u.vertexXY[2*t+1]=r[e++],s&&(u.vertexZ[t]=r[e++]),n&&(u.vertexM[t]=r[e++]);return u}const c=2+Number(s)+Number(n);let l=0,f=0;u.partOffsets[0]=0;for(const t of e){const e=u.partOffsets[f],i=e+t-Number(o);u.partOffsets[++f]=i;for(let t=e;t<i;++t)u.vertexXY[2*t]=r[l++],u.vertexXY[2*t+1]=r[l++],s&&(u.vertexZ[t]=r[l++]),n&&(u.vertexM[t]=r[l++]);o&&(l+=c)}return u}function Z({type:t,vertexCount:e,vertexXY:r,vertexZ:s,vertexM:n,partCount:i,partOffsets:a,hasZ:o,hasM:h}){const u=new p.A([],[],o,h);i=Math.max(i,1);const c="polygon"===t;let l=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,f=u.coords.length;for(let t=l;t<i;++t)u.coords.push(r[2*t],r[2*t+1]),o&&u.coords.push(s[t]),h&&u.coords.push(n[t]);if(c){const t=l;u.coords.push(r[2*t],r[2*t+1]),o&&u.coords.push(s[t]),h&&u.coords.push(n[t])}u.lengths.push((u.coords.length-f)/u.stride),l=i}return"point"===t&&(u.lengths.length=0),u}function O(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 s=t.getLatestID();(s<=0||s===r)&&(s=void 0);const n=t.getVCS();if(null==n)return{wkid:r,latestWkid:s,wkt:e};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:r,wkt:e,latestWkid:s,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new x({...t.toFlatGeometry(),spatialReference:e})}class w{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 A({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function R({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?s=>[t[2*s],t[2*s+1],e[s],r[s]]: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 S(t,e){return t.every((t,r)=>t===e[r])}function _(t,e,r,s,n,i,a,o){a??=0,o??=0;const h=new x({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:a,segmentCountBezier:o});let u=2*Float64Array.BYTES_PER_ELEMENT*e;s&&(u+=Float64Array.BYTES_PER_ELEMENT*e),n&&(u+=Float64Array.BYTES_PER_ELEMENT*e),h.isMultipart()&&(u+=(r+1)*Int32Array.BYTES_PER_ELEMENT,u+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(u+=e*Int8Array.BYTES_PER_ELEMENT,u+=e*Int32Array.BYTES_PER_ELEMENT,u+=h.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(u);let l=0;return h.vertexXY=new Float64Array(c,l,2*e),l+=h.vertexXY.byteLength,s&&(h.vertexZ=new Float64Array(c,l,e),l+=h.vertexZ.byteLength),n&&(h.vertexM=new Float64Array(c,l,e),l+=h.vertexM.byteLength),i&&(h.segmentParams=new Float64Array(c,l,h.segmentParamCount),l+=h.segmentParams.byteLength,h.segmentIndices=new Int32Array(c,l,e),h.segmentIndices.fill(z),l+=h.segmentIndices.byteLength),h.isMultipart()&&(h.partOffsets=new Int32Array(c,l,r+1),l+=h.partOffsets.byteLength,h.partFlags=new Int8Array(c,l,r+1),l+=h.partFlags.byteLength,"polygon"===h.type&&h.partFlags.subarray(0,r).fill(1)),i&&(h.segmentFlags=new Int8Array(c,l,e),h.segmentFlags.fill(1),l+=h.segmentFlags.byteLength),h}function b(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const[o,[h,u],c,l,f,g,p]=e.a;let x=4;l||(x|=1),c||(x|=2);const y=(0,m.SW)(t,e),[d,v]=(0,m.Uk)(y,.5);return n[a++]=x,n[a++]=g,n[a++]=p,n[a++]=f,n[a++]=h,n[a++]=u,n[a++]=y.u2-y.u1,n[a++]=y.u1,n[a++]=d,n[a++]=v,a}function Y(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const o=(0,g.io)(t,e);return F(o,4,...(0,u.mq)(o,.5),n,a)}function I(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){return r[i]=4,s[i]=a,F((0,c.pM)(t,e),0,...e.c[1],n,a)}function F(t,e,r,s,n,i){const{cx:a,cy:o,thetaStart:h,thetaEnd:u,radius:c}=t;return h>u||(e|=1),Math.abs(u-h)<=Math.PI||(e|=2),n[i++]=e,n[i++]=c,n[i++]=1,n[i++]=0,n[i++]=a,n[i++]=o,n[i++]=u-h,n[i++]=h,n[i++]=r,n[i++]=s,i}function X(t,{b:[e,[r,s],[n,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:h},u,c){return a[u]=2,o[u]=c,h[c++]=r,h[c++]=s,h[c++]=n,h[c++]=i,c}const G=1.61803,z=-1},965(t,e,r){r.r(e),r.d(e,{execute:()=>s.e,supportsCurves:()=>s.s}),r(86211),r(78125);var s=r(7817)},78125(t,e,r){r.r(e),r.d(e,{fromExtent:()=>x,fromGeometry:()=>p,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>v,fromPolyline:()=>C,fromPolylineUsingImportOperator:()=>M,fromSpatialReference:()=>E,getSpatialReference:()=>m,toExtent:()=>V,toGeometry:()=>P,toMultipoint:()=>Z,toPoint:()=>O,toPolygon:()=>w,toPolyline:()=>A});var s=r(83661),n=r(55537),i=r(95213),a=r(88885),o=r(5443),h=r(48526),u=r(86738),c=r(39829),l=r(82799),f=(r(90293),r(83299));const g="_gxVersion";function m(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function p(t){switch(t.type){case"point":return d(t);case"multipoint":return y(t);case"polyline":return C(t);case"polygon":return v(t);case"extent":return x(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function x(t){if(!t.getCacheValue(g)){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(g,e)}return t.getCacheValue(g)}function y(t){if(!t.getCacheValue(g)){const e=new a.M,r=new i.P,s=t.points,n=t.hasM,o=t.hasZ,h=o?3:2;for(let t=0,i=s.length;t<i;t++){const i=s[t];r.setXYCoords(i[0],i[1]),o&&r.setZ(i[2]??0),n&&r.setM(i[h]??NaN),e.add(r)}t.setCacheValue(g,e)}return t.getCacheValue(g)}function d(t){if(!t.getCacheValue(g)){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(g,e)}return t.getCacheValue(g)}function v(t){if(!t.getCacheValue(g)){const{curveRings:e,hasM:r,hasZ:s,rings:n}=t,i=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:r,hasZ:s,rings:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function C(t){if(!t.getCacheValue(g)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function M(t){if(!t.getCacheValue(g)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function E(t){return t.cache?(t.cache[g]??=(0,f.fromSpatialReference)(t),t.cache[g]):(0,f.fromSpatialReference)(t)}function P(t,e){if(t)switch(t.getGeometryType()){case n.G.enumPoint:return O(t,e);case n.G.enumEnvelope:return V(t,e);case n.G.enumMultiPoint:return Z(t,e);case n.G.enumPolyline:return A(t,e);case n.G.enumPolygon:return w(t,e)}return null}function V(t,e){if(t.isEmpty())return null;const r=new o.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),s=t.getDescription();if(s.hasM()){const e=t.queryInterval(2,0);r.mmin=e.vmin,r.mmax=e.vmax}if(s.hasZ()){const e=t.queryInterval(1,0);r.zmin=e.vmin,r.zmax=e.vmax}return r.setCacheValue(g,t),r}function Z(t,e){if(t.isEmpty())return null;const r=t.getDescription(),s=r.hasM(),n=r.hasZ(),a=[],o=new i.P;for(let e=0,r=t.getPointCount();e<r;e++){t.getPointByVal(e,o);const r=[o.getX(),o.getY()];n&&r.push(o.getZ()),s&&r.push(o.getM()),a.push(r)}const u=new h.A({hasM:s,hasZ:n,points:a,spatialReference:e});return u.setCacheValue(g,t),u}function O(t,e){if(t instanceof s.P)return new u.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const r=new u.A({x:t.getX(),y:t.getY(),spatialReference:e}),n=t.getDescription();return n.hasM()&&(r.m=t.getM()),n.hasZ()&&(r.z=t.getZ()),r.setCacheValue(g,t),r}function w(t,e){if(t.isEmpty())return null;const r=c.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(g,t),r}function A(t,e){if(t.isEmpty())return null;const r=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(g,t),r}},92722(t,e,r){r.d(e,{A:()=>n});var s=r(69397);class n{constructor(t=[],e=[],r=!1,s=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=r,this.hasM=s}static fromJSON({lengths:t,coords:e,hasZ:r,hasM:s}){return new n(t,e,r||!1,s||!1)}static fromRect([t,e,r,s]){const i=r-t,a=s-e;return new n([5],[t,e,i,0,0,a,-i,0,0,-a])}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,s.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:s}=this;let n=this.coords[s*e],i=this.coords[s*e+1];for(let a=1;a<r;a+=1){const r=s*(e+a),o=this.coords[r],h=this.coords[r+1];t+=-.5*(o-n)*(h+i),n=o,i=h}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 s of this.lengths){for(let n=0;n<s;n++){const s=r*(e+n);t(this.coords[s],this.coords[s+1])}e+=s}}deltaDecode(){const t=this.clone(),{coords:e,lengths:r}=t;let s=0;const{stride:n}=this;for(const t of r){for(let r=1;r<t;r++){const t=n*(s+r);e[t]+=e[t-n],e[t+1]+=e[t+1-n]}s+=t}return t}clone(t){if(this.isPoint)return new n([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:r,size:s}=this,i=this.coords.slice(0,s*r);return t?(t.set(i),new n(e,t,this.hasZ,this.hasM)):new n(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,s=0;e<r.length;e+=t)r[s++]=this.coords[e],r[s++]=this.coords[e+1];return new n(this.lengths,r,!1,!1)}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8119],{11221(e,t,r){r.d(t,{t1:()=>w,Jn:()=>A,Rn:()=>T,An:()=>v,rj:()=>b});var s=r(52106),n=r(48938),a=r(23732),i=r(87449),l=r(5482),o=r(93833),c=r(60999);class u{constructor(e,t){this._parent=e,this._abortSignal=t,this._done=!1,this._features=null,this._batchMutex=new c.aD,this._currentPage=null,this._pageCursor=-1}get _numAvailable(){return null==this._currentPage||this._pageCursor<0?0:Math.max(this._currentPage.length-this._pageCursor,0)}_takeNFeatures(e){if(null==this._currentPage)return[];const t=this._currentPage.slice(this._pageCursor,this._pageCursor+e);return this._pageCursor+=t.length,t.map(e=>s.A.fromJSON(e))}_takeOneFeature(){const e=this._currentPage[this._pageCursor];return this._pageCursor+=1,s.A.fromJSON(e)}async _nextBatch(){if(this._done)return!1;const e=await(this._features??=this._parent.queryAll(this._abortSignal));let t;do{if(t=await e.next(),t.done)return this._done=!0,this._currentPage=null,this._pageCursor=-1,!1}while(t.value.length<=0);return this._currentPage=t.value,this._pageCursor=0,!0}async nextBatchAsArcadeFeatures(e,t){const r=await this.nextBatch(e);return null==r?r:r.map(e=>o.Xj.createFromGraphicLikeObject(e.geometry,e.attributes,this._parent,t))}async nextBatch(e){const t={stack:[],error:void 0,hasError:!1};try{if(this._done)return null;if(e<=0)return[];if((0,l.mS)(t,await this._batchMutex.acquire(),!1),this._numAvailable>=e)return this._takeNFeatures(e);const r=[];let s=e;do{const e=this._takeNFeatures(s);s-=e.length,r.push(e)}while(s>0&&await this._nextBatch());const n=r.flat();return n.length>0?n:null}catch(e){t.error=e,t.hasError=!0}finally{(0,l.hk)(t)}}async next(){const e={stack:[],error:void 0,hasError:!1};try{return this._done?null:((0,l.mS)(e,await this._batchMutex.acquire(),!1),this._numAvailable>=1||await this._nextBatch()?this._takeOneFeature():null)}catch(t){e.error=t,e.hasError=!0}finally{(0,l.hk)(e)}}}var h=r(33325),d=r(50145),f=r(71163),p=r(5479),g=r(89696),m=r(16930),y=r(65864),_=r(95466);function b(e){switch(e){case"esriSpatialRelIntersects":return{spatialRelationship:"intersects",relationParameter:null};case"esriSpatialRelContains":return{spatialRelationship:"contains",relationParameter:null};case"esriSpatialRelOverlaps":return{spatialRelationship:"overlaps",relationParameter:null};case"esriSpatialRelWithin":return{spatialRelationship:"within",relationParameter:null};case"esriSpatialRelTouches":return{spatialRelationship:"touches",relationParameter:null};case"esriSpatialRelCrosses":return{spatialRelationship:"crosses",relationParameter:null};case"esriSpatialRelEnvelopeIntersects":return{spatialRelationship:"envelope-intersects",relationParameter:null};default:if(e.includes("esriSpatialRelRelation"))return{spatialRelationship:"relation",relationParameter:e.split(":")[1]};throw new i.dr("NeverReach")}}function T(e,t){for(const r of e)null!=r.geometry&&(r.geometry.spatialReference??=t)}const v=Object.freeze({ordered:!0,filterApplied:!0,spatialFilterApplied:!0,features:Object.freeze({next:()=>Promise.resolve({done:!0,value:void 0}),[Symbol.asyncIterator](){return this}})});class w{constructor(){this.declaredRootClass="esri.arcade.featureset.support.FeatureSet",this._parent=null,this._maxProcessing=200,this._maxQuery=500,this._totalCount=-1,this._databaseType=7,this._databaseTypeProbed=null,this._loadPromise=null,this._allFeatures=null,this._fieldsIndex=null,this.typeIdField=null,this.types=null,this.subtypeField=null,this.subtypes=null,this.fields=null,this.geometryType="",this.objectIdField="",this.globalIdField="",this.spatialReference=null,this.hasM=!1,this.hasZ=!1}_ensureLoaded(){return this.load()}load(){return null===this._loadPromise&&(this._loadPromise=this.loadImpl()),this._loadPromise}async loadImpl(){return await(this._parent?.load()),this._initialiseFeatureSet(),this}_initialiseFeatureSet(){null!==this._parent?(this.fields=this._parent.fields.slice(),this.geometryType=this._parent.geometryType,this.objectIdField=this._parent.objectIdField,this.globalIdField=this._parent.globalIdField,this.spatialReference=this._parent.spatialReference,this.hasM=this._parent.hasM,this.hasZ=this._parent.hasZ,this.typeIdField=this._parent.typeIdField,this.types=this._parent.types,this.subtypeField=this._parent.subtypeField,this.subtypes=this._parent.subtypes):(this.fields=[],this.typeIdField="",this.subtypeField="",this.objectIdField="",this.globalIdField="",this.spatialReference=new m.A({wkid:4326}),this.geometryType=h.ik.point)}getField(e,t){return e=e.toLowerCase(),(t||this.fields).find(t=>t.name.toLowerCase()===e)}getFieldsIndex(){return null===this._fieldsIndex&&(this._fieldsIndex=_.A.fromLayer({timeInfo:this.timeInfo,editFieldsInfo:this.editFieldsInfo,dateFieldsTimeZone:this.dateFieldsTimeZone,datesInUnknownTimezone:this.datesInUnknownTimezone,fields:this.fields})),this._fieldsIndex}_maxProcessingRate(){return null!==this._parent?Math.min(this._maxProcessing,this._parent._maxProcessingRate()):Math.min(this._maxProcessing,this._maxQueryRate())}_maxQueryRate(){return null!==this._parent?Math.max(this._maxQuery,this._parent._maxQueryRate()):this._maxQuery}nativeCapabilities(){return this._parent.nativeCapabilities()}get _hasCachedFeatures(){return null!=this._allFeatures}async queryAll(e){null==this._allFeatures&&(this._allFeatures=this._queryAll().then(e=>(0,p.N5)(e)));const t=(await this._allFeatures)();return null==e||e===n._?t:async function*(){for await(const r of t)(0,i.dZ)(e),yield r}()}async databaseType(){if(7===this._databaseType){if(null!==a.A.applicationCache){const e=a.A.applicationCache.getDatabaseType(this._cacheableFeatureSetSourceKey());if(null!==e)return e}if(null!==this._databaseTypeProbed)return this._databaseTypeProbed;try{this._databaseTypeProbed=this._getDatabaseTypeImpl(),null!==a.A.applicationCache&&a.A.applicationCache.setDatabaseType(this._cacheableFeatureSetSourceKey(),this._databaseTypeProbed)}catch(e){throw null!==a.A.applicationCache&&a.A.applicationCache.clearDatabaseType(this._cacheableFeatureSetSourceKey()),e}return this._databaseTypeProbed}return this._databaseType}async _getDatabaseTypeImpl(){const e=[{dbType:2,probeSql:"(CAST( '2015-01-01' as DATETIME) = CAST( '2015-01-01' as DATETIME)) AND OBJECTID<0"},{dbType:3,probeSql:"(TO_DATE('2003-11-18','YYYY-MM-DD') = TO_DATE('2003-11-18','YYYY-MM-DD')) AND OBJECTID<0"},{dbType:1,probeSql:"(date '2015-01-01 10:10:10' = date '2015-01-01 10:10:10') AND OBJECTID<0"}];for(const t of e)if(!0===await this._runDatabaseProbe(t.probeSql))return t.dbType;return 1}_cacheableFeatureSetSourceKey(){return"MUSTBESET"}async _runDatabaseProbe(e){if(null!==this._parent)return this._parent._runDatabaseProbe(e);throw new i.dr("NotImplemented")}isTable(){return this._parent?.isTable()??!1}async first(e){if(this._hasCachedFeatures)return this.iterator(e).next();const t=await this.query({limit:1,abortSignal:e});for await(const e of t.features)if(e.length>0)return s.A.fromJSON(e[0]);return null}async isEmpty(e){return this._totalCount>=0?0===this._totalCount:null==await this.first(e)}async calculateStatistic(e,t,r,s){await this._ensureLoaded();let n=await this.queryStat({stat:e,field:t,limit:r,abortSignal:s});return!1===n.calculated&&(n=await this._manualStat(e,t,r,s)),n.result}async _manualStat(e,t,r,s){let n=null;switch(e.toLowerCase()){case"count":{if(this._totalCount>=0)return{calculated:!0,result:this._totalCount};const e=await this.queryAll(s);let t=0;for await(const r of e)t+=r.length;return this._totalCount=t,{calculated:!0,result:t}}case"distinct":return n=await(0,d.dM)(this,t,r,s),{calculated:!0,result:n};case"avg":case"mean":return n=await(0,d.i2)(this,t,s),{calculated:!0,result:n};case"stdev":return n=await(0,d.b$)(this,t,s),{calculated:!0,result:n};case"variance":return n=await(0,d.GV)(this,t,s),{calculated:!0,result:n};case"sum":return n=await(0,d.cz)(this,t,s),{calculated:!0,result:n};case"min":return n=await(0,d.jk)(this,t,s),{calculated:!0,result:n};case"max":return n=await(0,d.T9)(this,t,s),{calculated:!0,result:n};default:return{calculated:!0,result:0}}}iterator(e){return new u(this,e)}async sumArea(e,t,r){let s=0;for await(const n of await this.queryAll(r))for(const r of n)null!=r.geometry&&(s+=null!=t?await(0,f.C)("geodeticArea",[r.geometry,e,t]):await(0,f.C)("area",[r.geometry,e]));return s}async sumLength(e,t,r){let s=0;for await(const n of await this.queryAll(r))for(const r of n)null!=r.geometry&&(s+=null!=t?await(0,f.C)("geodeticLength",[r.geometry,e,t]):await(0,f.C)("length",[r.geometry,e]));return s}async count(e){return await this.load(),this.calculateStatistic("count",g.A.create("1",{fieldsIndex:this.getFieldsIndex(),timeZone:this.dateFieldsTimeZoneDefaultUTC}),-1,e??n._)}castToText(e=!1){return"object, FeatureSet"}queryAttachments(e,t,r,s,n){return this._parent.queryAttachments(e,t,r,s,n)}serviceUrl(){return this._parent.serviceUrl()}subtypeMetadata(){return this.subtypeField&&this.subtypes?{subtypeField:this.subtypeField,subtypes:this.subtypes?this.subtypes.map(e=>({name:e.name,code:e.code})):[]}:this.typeIdField?{subtypeField:this.typeIdField,subtypes:this.types?this.types.map(e=>({name:e.name,code:e.id})):[]}:null}relationshipMetadata(){return this._parent.relationshipMetadata()}get gdbVersion(){return this._parent?this._parent.gdbVersion:""}schema(){const e=[];for(const t of this.fields)e.push((0,h.nE)(t));return{objectIdField:this.objectIdField,globalIdField:this.globalIdField,geometryType:void 0===h.yT[this.geometryType]?"esriGeometryNull":h.yT[this.geometryType],fields:e}}async convertToText(e,t){if("schema"===e)return await this._ensureLoaded(),JSON.stringify(this.schema());if("featureset"===e){await this._ensureLoaded();const e=[];for await(const r of await this.queryAll(t))for(const t of r){const r={geometry:t.geometry??null,attributes:t.attributes};if(null!==r.geometry&&r.geometry.spatialReference){const{spatialReference:e,...t}=r.geometry;r.geometry=t}e.push(r)}return JSON.stringify({...this.schema(),features:e,spatialReference:this.spatialReference.toJSON()})}return this.castToText()}getFeatureByObjectId(e,t){return this._parent.getFeatureByObjectId(e,t)}getOwningSystemUrl(){return this._parent.getOwningSystemUrl()}getIdentityUser(){return this._parent.getIdentityUser()}getRootFeatureSet(){return this._parent.getRootFeatureSet()}getDataSourceFeatureSet(){return null!==this._parent?this._parent.getDataSourceFeatureSet():this}castAsJson(e=null){return"keeptype"===e?.featureset?this:"none"===e?.featureset?null:{type:"FeatureSet"}}async castAsJsonAsync(e=null,t=null){if("keeptype"===t?.featureset)return this;if("schema"===t?.featureset)return await this._ensureLoaded(),JSON.parse(JSON.stringify(this.schema()));if("none"===t?.featureset)return null;await this._ensureLoaded();const r=[];for await(const s of await this.queryAll(e))for(const e of s){const s={geometry:e.geometry?!0===t?.keepGeometryType?(0,y.rS)(e.geometry):e.geometry:null,attributes:e.attributes};if(null!==s.geometry&&s.geometry.spatialReference&&!0!==t?.keepGeometryType){delete s.geometry.spatialReference;const{spatialReference:e,...t}=s.geometry;s.geometry=t}r.push(s)}return{...this.schema(),features:r,spatialReference:!0===t?.keepGeometryType?this.spatialReference:this.spatialReference?.toJSON()}}fieldTimeZone(e){return this.getFieldsIndex().getTimeZone(e)}get preferredTimeZone(){return this._parent?.preferredTimeZone??null}get dateFieldsTimeZone(){return this._parent?.dateFieldsTimeZone??null}get dateFieldsTimeZoneDefaultUTC(){return this.datesInUnknownTimezone?"unknown":this.dateFieldsTimeZone||"UTC"}get datesInUnknownTimezone(){return this._parent.datesInUnknownTimezone}get editFieldsInfo(){return this._parent?.editFieldsInfo??null}get timeInfo(){return this._parent?.timeInfo??null}getFeatureSetInfo(){return this._parent?this._parent.getFeatureSetInfo():Promise.resolve(null)}}class A extends w{constructor(){super(...arguments),this._parent=null}getRootFeatureSet(){return this}}},23732(e,t,r){r.d(t,{A:()=>s});class s{static{this.applicationCache=null}constructor(){this._databaseTypeMetaData={},this._layerInfo={}}clearDatabaseType(e){void 0===this._databaseTypeMetaData[e]&&delete this._databaseTypeMetaData[e]}getDatabaseType(e){return"MUSTBESET"===e||void 0===this._databaseTypeMetaData[e]?null:this._databaseTypeMetaData[e]}setDatabaseType(e,t){this._databaseTypeMetaData[e]=t}getLayerInfo(e){return void 0===this._layerInfo[e]?null:this._layerInfo[e]}setLayerInfo(e,t){this._layerInfo[e]=t}clearLayerInfo(e){void 0!==this._layerInfo[e]&&delete this._layerInfo[e]}}},87449(e,t,r){r.d(t,{dZ:()=>i,dr:()=>a});var s=r(799);const n={Cancelled:"Cancelled",InvalidStatResponse:"Invalid statistics response from service",InvalidRequest:"Invalid request",RequestFailed:"Request failed - {reason}",MissingFeatures:"Missing features",AggregationFieldNotFound:"Aggregation field not found",DataElementsNotFound:"Data elements not found on service",NeverReach:"Encountered unreachable logic",NotImplemented:"Not implemented"};class a extends Error{constructor(e,t){super((0,s.HC)(n[e],t)),this.declaredRootClass="esri.arcade.featureset.support.featureseterror",Error.captureStackTrace&&Error.captureStackTrace(this,a)}}function i(e){if(null!=e&&e?.aborted)throw new a("Cancelled")}},80609(e,t,r){r.d(t,{C6:()=>T,DA:()=>S,F1:()=>_,F6:()=>g,IY:()=>v,Ju:()=>C,Kb:()=>f,Mi:()=>u,Nf:()=>y,R8:()=>m,YY:()=>c,bD:()=>h,bm:()=>b,kg:()=>d,oj:()=>F});var s=r(66131),n=r(33325),a=r(1262),i=r(15032),l=r(89696),o=r(92647);function c(e,t){return p(e?.parseTree,t,e?.parameters)}function u(e,t,r){return p(e,t,r)}function h(e,t,r,s){const n=p(e.parseTree,0,e.parameters,t,r);return l.A.create(n,{fieldsIndex:s,timeZone:e.timeZone,currentUser:e.currentUser})}function d(e,t,r="AND"){return l.A.create("(("+c(e,0)+")"+r+"("+c(t,0)+"))",{fieldsIndex:e.fieldsIndex,timeZone:e.timeZone,currentUser:e.currentUser})}function f(e){return!0===e.delimited?`"${e.column.split('"').join('""')}"`:e.column}function p(e,t,r,s=null,i=null){let l,o,c,u;switch(e.type){case"interval":return F(p(e.value,t,r,s,i),e.qualifier,e.op);case"case-expression":{let n=" CASE ";"simple"===e.format&&(n+=p(e.operand,t,r,s,i));for(let a=0;a<e.clauses.length;a++)n+=" WHEN "+p(e.clauses[a].operand,t,r,s,i)+" THEN "+p(e.clauses[a].value,t,r,s,i);return null!==e.else&&(n+=" ELSE "+p(e.else,t,r,s,i)),n+=" END ",n}case"parameter":{const s=r[e.value.toLowerCase()];if("string"==typeof s)return"'"+r[e.value.toLowerCase()].toString().replaceAll("'","''")+"'";if((0,n.$P)(s))return b(s,t);if((0,n.Lk)(s))return b(s,t);if((0,n.eg)(s))return _(s,t);if((0,n.rX)(s))return m(s,t);if((0,n.f0)(s))return y(s,t);if(Array.isArray(s)){const e=[];for(let r=0;r<s.length;r++)"string"==typeof s[r]?e.push("'"+s[r].toString().replaceAll("'","''")+"'"):(0,n.$P)(s[r])||(0,n.Lk)(s[r])?e.push(b(s[r],t)):(0,n.eg)(s[r])?e.push(_(s[r],t)):(0,n.rX)(s[r])?e.push(m(s[r],t)):(0,n.f0)(s[r])?e.push(y(s[r],t)):e.push(s[r].toString());return e}return s.toString()}case"expression-list":o=[];for(const n of e.value)o.push(p(n,t,r,s,i));return o;case"unary-expression":return" ( NOT "+p(e.expr,t,r,s,i)+" ) ";case"binary-expression":switch(e.operator){case"AND":return" ("+p(e.left,t,r,s,i)+" AND "+p(e.right,t,r,s,i)+") ";case"OR":return" ("+p(e.left,t,r,s,i)+" OR "+p(e.right,t,r,s,i)+") ";case"IS":if("null"!==e.right.type)throw new a.L("UnsupportedIsRhs");return" ("+p(e.left,t,r,s,i)+" IS NULL )";case"ISNOT":if("null"!==e.right.type)throw new a.L("UnsupportedIsRhs");return" ("+p(e.left,t,r,s,i)+" IS NOT NULL )";case"IN":return l=[],"expression-list"===e.right.type?(l=p(e.right,t,r,s,i)," ("+p(e.left,t,r,s,i)+" IN ("+l.join(",")+")) "):(u=p(e.right,t,r,s,i),Array.isArray(u)?" ("+p(e.left,t,r,s,i)+" IN ("+u.join(",")+")) ":" ("+p(e.left,t,r,s,i)+" IN ("+u+")) ");case"NOT IN":return l=[],"expression-list"===e.right.type?(l=p(e.right,t,r,s,i)," ("+p(e.left,t,r,s,i)+" NOT IN ("+l.join(",")+")) "):(u=p(e.right,t,r,s,i),Array.isArray(u)?" ("+p(e.left,t,r,s,i)+" NOT IN ("+u.join(",")+")) ":" ("+p(e.left,t,r,s,i)+" NOT IN ("+u+")) ");case"BETWEEN":return c=p(e.right,t,r,s,i)," ("+p(e.left,t,r,s,i)+" BETWEEN "+c[0]+" AND "+c[1]+" ) ";case"NOTBETWEEN":return c=p(e.right,t,r,s,i)," ("+p(e.left,t,r,s,i)+" NOT BETWEEN "+c[0]+" AND "+c[1]+" ) ";case"LIKE":return""!==e.escape?" ("+p(e.left,t,r,s,i)+" LIKE "+p(e.right,t,r,s,i)+" ESCAPE '"+e.escape+"') ":" ("+p(e.left,t,r,s,i)+" LIKE "+p(e.right,t,r,s,i)+") ";case"NOT LIKE":return""!==e.escape?" ("+p(e.left,t,r,s,i)+" NOT LIKE "+p(e.right,t,r,s,i)+" ESCAPE '"+e.escape+"') ":" ("+p(e.left,t,r,s,i)+" NOT LIKE "+p(e.right,t,r,s,i)+") ";case"<>":case"<":case">":case">=":case"<=":case"=":case"*":case"-":case"+":case"/":return" ("+p(e.left,t,r,s,i)+" "+e.operator+" "+p(e.right,t,r,s,i)+") ";case"||":return" ("+p(e.left,t,r,s,i)+" "+(2===t?"+":e.operator)+" "+p(e.right,t,r,s,i)+") "}throw new a.L("UnsupportedOperator",{operator:e.operator});case"null":return"null";case"boolean":return!0===e.value?"1":"0";case"string":return"'"+e.value.toString().replaceAll("'","''")+"'";case"timestamp":return`timestamp '${e.value}'`;case"date":return`date '${e.value}'`;case"time":return`time '${e.value}'`;case"number":return e.value.toString();case"current-time":return T(e.mode,t);case"current-user":return"CURRENT_USER";case"column-reference":return s&&s.toLowerCase()===e.column.toLowerCase()?"("+i+")":f(e);case"data-type":return e.value;case"function":{const n=p(e.args,t,r,s,i);return g(e.name,n,t)}}throw new a.L("UnsupportedSyntax",{node:e.type})}function g(e,t,r){switch(e.toLowerCase().trim()){case"cos":case"sin":case"tan":case"cosh":case"tanh":case"sinh":case"acos":case"asin":case"atan":case"floor":case"log10":case"log":case"abs":if(1!==t.length)throw new a.L("InvalidFunctionParameters",{function:e.toLowerCase().trim()});return`${e.toUpperCase().trim()}(${t[0]})`;case"ceiling":case"ceil":if(1!==t.length)throw new a.L("InvalidFunctionParameters",{function:"ceiling"});return"CEILING("+t[0]+")";case"mod":case"power":case"nullif":if(2!==t.length)throw new a.L("InvalidFunctionParameters",{function:e.toLowerCase().trim()});return`${e.toUpperCase().trim()}(${t[0]},${t[1]})`;case"round":if(2===t.length)return"ROUND("+t[0]+","+t[1]+")";if(1===t.length)return"ROUND("+t[0]+")";throw new a.L("InvalidFunctionParameters",{function:"round"});case"truncate":if(t.length<1||t.length>2)throw new a.L("InvalidFunctionParameters",{function:"truncate"});return 2===r?"ROUND("+t[0]+(1===t.length?"0":","+t[1])+",1)":"TRUNCATE("+t[0]+(1===t.length?")":","+t[1]+")");case"char_length":case"len":if(1!==t.length)throw new a.L("InvalidFunctionParameters",{function:"char_length"});switch(r){case 2:return"LEN("+t[0]+")";case 3:return"LENGTH("+t[0]+")";default:return"CHAR_LENGTH("+t[0]+")"}case"coalesce":case"concat":{if(t.length<1)throw new a.L("InvalidFunctionParameters",{function:e.toLowerCase()});let r=e.toUpperCase().trim()+"(";for(let e=0;e<t.length;e++)0!==e&&(r+=","),r+=t[e];return r+=")",r}case"lower":case"lcase":if(1!==t.length)throw new a.L("InvalidFunctionParameters",{function:"lower"});return"LOWER("+t[0]+")";case"upper":case"ucase":if(1!==t.length)throw new a.L("InvalidFunctionParameters",{function:"upper"});return"UPPER("+t[0]+")";case"substring":{let e="";switch(r){case 3:return e="SUBSTR("+t[0]+","+t[1],3===t.length&&(e+=","+t[2]),e+=")",e;case 2:return e=3===t.length?"SUBSTRING("+t[0]+","+t[1]+","+t[2]+")":"SUBSTRING("+t[0]+", "+t[1]+", LEN("+t[0]+") - "+t[1]+")",e;default:return e="SUBSTRING("+t[0]+" FROM "+t[1],3===t.length&&(e+=" FOR "+t[2]),e+=")",e}}case"extract":return"EXTRACT("+t[0].replaceAll("'","")+" FROM "+t[1]+")";case"cast":{let e="";switch(r){case 3:switch(t[1].type){case"date":e="DATE";break;case"float":e="DOUBLE";break;case"integer":e="INTEGER";break;case"real":e="REAL";break;case"smallint":e="SMALLINT";break;case"timestamp":e="TIMESTAMP";break;case"varchar":e="VARCHAR("+t[1].size.toString()+")"}return`CAST(${t[0]} AS ${e})`;case 4:switch(t[1].type){case"date":e="DATE";break;case"float":e="DOUBLE PRECISION";break;case"integer":e="INT";break;case"real":e="REAL";break;case"smallint":e="SMALLINT";break;case"timestamp":e="TIMESTAMP";break;case"varchar":e="VARCHAR("+t[1].size.toString()+")"}return`CAST(${t[0]} AS ${e})`;case 2:switch(t[1].type){case"date":e="DATE";break;case"float":e="FLOAT";break;case"integer":e="INT";break;case"real":e="REAL";break;case"smallint":e="SMALLINT";break;case"timestamp":e="DATETIME";break;case"varchar":e="VARCHAR("+t[1].size.toString()+")"}return`CAST(${t[0]} AS ${e})`;default:switch(t[1].type){case"date":e="DATE";break;case"float":e="FLOAT";break;case"integer":e="INTEGER";break;case"real":e="REAL";break;case"smallint":e="SMALLINT";break;case"timestamp":e="TIMESTAMP";break;case"varchar":e="VARCHAR("+t[1].size.toString()+")"}return`CAST(${t[0]} AS ${e})`}}}throw new a.L("InvalidFunctionParameters",{function:e})}function m(e,t){const r=e.toDateTime(),s=0===r.hour&&0===r.minute&&0===r.second&&0===r.millisecond;switch(t){case 6:case 0:case 1:return s?`date '${r.toFormat("yyyy-LL-dd")}'`:`timestamp '${r.toFormat("yyyy-LL-dd HH:mm:ss")}'`;case 3:return s?`TO_DATE('${r.toFormat("yyyy-LL-dd")}','YYYY-MM-DD')`:`TO_DATE('${r.toFormat("yyyy-LL-dd HH:mm:ss")}','YYYY-MM-DD HH24:MI:SS')`;case 2:return`'${r.toFormat(s?"yyyy-LL-dd":"yyyy-LL-dd HH:mm:ss")}'`;case 5:return`#${r.toFormat(s?"LL-dd-yyyy":"LL-dd-yyyy HH:mm:ss")}#`;case 4:return`TIMESTAMP '${r.toFormat(s?"yyyy-LL-dd":"yyyy-LL-dd HH:mm:ss")}'`;default:return`timestamp '${r.toFormat("yyyy-LL-dd HH:mm:ss")}'`}}function y(e,t){switch(t){case 6:case 0:case 1:default:return e.toSQLWithKeyword();case 3:return`TO_DATE('${e.toFormat("Y-MM-DD")}'`;case 2:return`'${e.toFormat("Y-MM-DD")}'`;case 5:return`#${e.toFormat("Y-MM-DD")}#`;case 4:return`TIMESTAMP '${e.toFormat("Y-MM-DD")}'`}}function _(e,t){switch(e instanceof i.k&&(e=e.toStorageString()),t){case 3:return`TO_DATE('${e}', 'HH24:MI:SS')`;case 2:return`'${e}'`;default:return`time '${e}'`}}function b(e,t){return m(s.lY.dateTimeToArcadeDate((0,n.Lk)(e)?e:o.c9.fromJSDate(e)),t)}function T(e,t){switch(t){case 6:case 0:case 1:case 3:case 5:default:return"date"===e?"CURRENT_DATE":"time"===e?"CURRENT_TIME":"CURRENT_TIMESTAMP";case 2:return"date"===e?"CAST(GETDATE() AS DATE)":"time"===e?"CAST(GETDATE() AS TIME)":"GETDATE()";case 4:return"date"===e?"CURRENT_DATE":"time"===e?"LOCALTIME":"CURRENT_TIMESTAMP"}}function v(e,t,r={}){const s={},n={},a={esriFieldTypeSmallInteger:"integer",esriFieldTypeInteger:"integer",esriFieldTypeBigInteger:"integer",esriFieldTypeSingle:"double",esriFieldTypeDouble:"double",esriFieldTypeString:"string",esriFieldTypeTimeOnly:"time-only",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimestampOffset:"timestamp-offset",esriFieldTypeDate:"date",esriFieldTypeOID:"integer",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"guid",oid:"integer",long:"integer","small-integer":"integer",integer:"integer","big-integer":"integer",single:"double","time-only":"time-only","date-only":"date-only","timestamp-offset":"timestemp-offset",double:"double",date:"date",guid:"guid","global-id":"guid",string:"string"};for(const e of t){const t=e.type?a[e.type]:void 0;s[e.name.toLowerCase()]=void 0===t?"":t}for(const e in r){const t=a[r[e]];n[e.toLowerCase()]=void 0===t?"":t}switch(w(s,e.parseTree,e.parameters,n)){case"double":return"double";case"integer":return"integer";case"date":return"date";case"date-only":return"date-only";case"time-only":return"time-only";case"timestamp-offset":return"timestamp-offset";case"string":return"string";case"global-id":case"guid":return"guid"}return""}function w(e,t,r,s){let i;switch(t.type){case"interval":return"integer";case"case-expression":{const n=[];if("simple"===t.format){for(let a=0;a<t.clauses.length;a++)n.push(w(e,t.clauses[a].value,r,s));null!==t.else&&n.push(w(e,t.else,r,s))}else{for(let a=0;a<t.clauses.length;a++)n.push(w(e,t.clauses[a].value,r,s));null!==t.else&&n.push(w(e,t.else,r,s))}return I(n)}case"parameter":{const e=s[t.value.toLowerCase()];if(void 0===e&&r){const e=r[t.value.toLowerCase()];if(void 0===e)return"";if(null===e)return"";if("string"==typeof e||e instanceof String)return"string";if("boolean"==typeof e)return"boolean";if((0,n.$P)(e))return"date";if((0,n.rX)(e))return"date";if((0,n.f0)(e))return"date-only";if((0,n.eg)(e))return"time-only";if("number"==typeof e)return e%1==0?"integer":"double"}return void 0===e?"":e}case"expression-list":{const n=[];for(const a of t.value)n.push(w(e,a,r,s));return n}case"unary-expression":return"boolean";case"binary-expression":switch(t.operator){case"AND":case"OR":case"IN":case"NOT IN":case"BETWEEN":case"NOTBETWEEN":case"LIKE":case"NOT LIKE":case"<>":case"<":case">":case">=":case"<=":case"=":return"boolean";case"IS":case"ISNOT":if("null"!==t.right.type)throw new a.L("UnsupportedIsRhs");return"boolean";case"*":case"-":case"+":case"/":return I([w(e,t.left,r,s),w(e,t.right,r,s)]);case"||":return"string";default:throw new a.L("UnsupportedOperator",{operator:t.operator})}case"null":return"";case"boolean":return"boolean";case"string":return"string";case"number":return null===t.value?"":t.value%1==0?"integer":"double";case"date":return"date";case"timestamp":return t.withtimezone?"timestamp-offset":"date";case"time":return"time-only";case"current-time":return"time"===t.mode?"time-only":"date";case"current-user":return"string";case"column-reference":{const r=e[t.column.toLowerCase()];return void 0===r?"":r}case"function":switch(t.name.toLowerCase()){case"cast":switch(t.args?.value[1]?.value.type??""){case"integer":case"smallint":return"integer";case"real":case"float":return"double";case"date":case"timestamp":return!0===t.args?.value[1]?.value?.withtimezone?"timestamp-offset":"date";case"time":return"time-only";case"varchar":return"string";default:return""}case"position":case"extract":case"char_length":case"mod":return"integer";case"round":if(i=w(e,t.args,r,s),Array.isArray(i)){if(i.length<=0)return"double";i=i[0]}return i;case"sign":return"integer";case"ceiling":case"floor":case"abs":return i=w(e,t.args,r,s),Array.isArray(i)&&(i=I(i)),"integer"===i||"double"===i?i:"double";case"area":case"length":case"log":case"log10":case"sin":case"cos":case"tan":case"asin":case"acos":case"atan":case"cosh":case"sinh":case"tanh":case"power":return"double";case"substring":case"trim":case"concat":case"lower":case"upper":return"string";case"truncate":return"double";case"nullif":case"coalesce":return i=w(e,t.args,r,s),Array.isArray(i)?i.length>0?i[0]:"":i}return""}throw new a.L("UnsupportedSyntax",{node:t.type})}const A={boolean:1,string:2,integer:3,double:4,date:5};function I(e){if(e){let t="";for(const r of e)""!==r&&(t=""===t||A[t]<A[r]?r:t);return t}return""}function C(e,t){return E(e.parseTree,t)}function S(e){return"column-reference"===e?.parseTree.type}function E(e,t){if(null==e)return!1;switch(e.type){case"when-clause":return E(e.operand,t)||E(e.value,t);case"case-expression":for(const r of e.clauses)if(E(r,t))return!0;return!("simple"!==e.format||!E(e.operand,t))||!(null===e.else||!E(e.else,t));case"parameter":case"null":case"boolean":case"date":case"timestamp":case"time":case"string":case"number":return!1;case"expression-list":for(const r of e.value)if(E(r,t))return!0;return!1;case"unary-expression":return E(e.expr,t);case"binary-expression":return E(e.left,t)||E(e.right,t);case"column-reference":return t.toLowerCase()===e.column.toLowerCase();case"function":return E(e.args,t)}return!1}function L(e){let t="";return t+=e.period.toUpperCase(),t}function F(e,t,r){let s="";return s="interval-period"===t.type?L(t):L(t.start)+" TO "+L(t.end),"INTERVAL "+r+" "+e+" "+s}},50145(e,t,r){r.d(t,{Dp:()=>u,GV:()=>p,T9:()=>d,b$:()=>g,cz:()=>m,dM:()=>_,i2:()=>f,jk:()=>h});var s=r(87449),n=(r(33325),r(80609)),a=r(44729),i=r(55612),l=r(15032);function o(e){let t=0;for(let r=0;r<e.length;r++)t+=e[r];return t/e.length}function c(e){const t=o(e);let r=0;for(let s=0;s<e.length;s++)r+=(t-e[s])**2;return r/(e.length-1)}function u(e){switch(e.toLowerCase()){case"distinct":return"distinct";case"avg":case"mean":return"avg";case"min":return"min";case"sum":return"sum";case"max":return"max";case"stdev":case"stddev":return"stddev";case"var":case"variance":return"var";case"count":return"count"}return null}async function h(e,t,r){const s=await y(e,t,r);return 0===s.length?null:Math.min.apply(Math,s)}async function d(e,t,r){const s=await y(e,t,r);return 0===s.length?null:Math.max.apply(Math,s)}async function f(e,t,r){let s="";t&&!(0,n.DA)(t)&&(s=(0,n.IY)(t,e.fields));const a=await y(e,t,r);if(0===a.length)return null;const i=o(a);return null===i?i:"integer"===s?function(e){return e=+e,isFinite(e)?e-e%1||(e<0?-0:0===e?e:0):e}(i):i}async function p(e,t,r){const s=await y(e,t,r);return 0===s.length?null:c(s)}async function g(e,t,r){const s=await y(e,t,r);return 0===s.length?null:Math.sqrt(c(s))}async function m(e,t,r){const s=await y(e,t,r);return 0===s.length?null:function(e){let t=0;for(let r=0;r<e.length;r++)t+=e[r];return t}(s)}async function y(e,t,r){const n=await e.queryAll(r),o=[],c={ticker:0};for await(const e of n){if(c.ticker+=e.length,c.ticker>=100&&(c.ticker=0,await new Promise(e=>{setTimeout(e,0)})),r?.aborted)throw new s.dr("Cancelled");for(const r of e){const e=t?.calculateValue(r);null===e||(o[o.length]=e instanceof a.n||e instanceof l.k?e.toNumber():e instanceof i.g?e.toMilliseconds():e)}}return o}async function _(e,t,r=1e3,n=null){if(null==t)return[];const o=await e.queryAll(n),c=[],u=new Set,h={ticker:0};for await(const e of o){if(h.ticker+=e.length,h.ticker>=100&&(h.ticker=0,await new Promise(e=>{setTimeout(e,0)})),n?.aborted)throw new s.dr("Cancelled");for(const s of e){const e=t.calculateValue(s);let n=e;if(e instanceof a.n?n="!!DATEONLY!!-"+e.toString():e instanceof i.g?n="!!TSOFFSETONLY!!-"+e.toString():e instanceof l.k?n="!!TIMEONLY!!-"+e.toString():e instanceof Date&&(n="!!DATE!!-"+e.toString()),null!=e&&(u.has(n)||(c.push(e),u.add(n))),c.length>=r&&-1!==r)return c}}return c}},71163(e,t,r){r.d(t,{C:()=>o});var s=r(29953);let n,a,i=!1;function l(){return n??=(0,s.ho)("arcadeGeometryOperatorsWorker").then(e=>{a=e,i=!0,n=void 0})}async function o(e,t){return i?a.apply("invokeGeometryOp",[e,t]):(await l(),o(e,t))}},69540(e,t,r){r.d(t,{OU:()=>u,Pw:()=>h});var s=r(5482),n=r(69622),a=(r(44208),r(4718)),i=(r(53966),r(97768)),l=r(88620),o=r(64108);const c=Symbol("ClonableMixin"),u=e=>{var t;const r=e;let n=class extends r{constructor(){super(...arguments),this[t]=!0}static{t=c}clone(e){const t=(0,l.oY)(this);(0,i.Lw)(t,"unable to clone instance of non-accessor class");const r=t.metadata,s=t.store,n={},o=new Map;for(const t in r){const i=r[t],l=s?.originOf(t),c=i.clonable;if(i.readOnly||!1===c||7!==l&&0!==l&&5!==l&&4!==l)continue;const u=this[t];let h=null;if("function"==typeof c)h=c(u,e);else if("reference"===c)h=u;else if(h=(0,a.TU)(u,e),null!=u&&null==h)continue;0===l?o.set(t,h):n[t]=h}const c=new(0,Object.getPrototypeOf(this).constructor)(n);if(o.size){const e=(0,l.oY)(c)?.store;if(e)for(const[t,r]of o)e.set(t,r,0)}return c}};return n=(0,s.Cg)([(0,o.$)("esri.core.Clonable")],n),n},h=u(n.A)},7762(e,t,r){r.d(t,{A:()=>O});var s,n=r(5482),a=r(98291),i=r(4576),l=r(65529),o=r(36563),c=r(4718),u=r(53966),h=r(93687),d=r(76030),f=r(56507),p=r(62788),g=r(10107),m=r(7695),y=r(64108),_=r(95488),b=r(12195);class T{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(e){this.defaultPrevented=!1,this.item=e}}class v{constructor(e,t,r,s,n){this.target=e,this.added=t,this.removed=r,this.start=s,this.deleteCount=n}}const w=new h.A(()=>new T,void 0,e=>{e.item=null,e.target=null,e.defaultPrevented=!1,e.cancellable=!1});function A(e){e&&"object"==typeof e&&"destroy"in e&&"function"==typeof e.destroy&&e.destroy()}function I(e){return e?e instanceof M?e.toArray():e.length?Array.prototype.slice.apply(e):[]:[]}function C(e){if(e?.length)return e[0]}function S(e,t,r,s){const n=Math.min(e.length-r,t.length-s);let a=0;for(;a<n&&e[r+a]===t[s+a];)a++;return a}function E(e,t,r,s){t&&t.forEach((t,n,a)=>{e.push(t),E(e,r.call(s,t,n,a),r,s)})}const L=new Set,F=new Set,N=new Set,R=new Map;let D=0,M=s=class extends l.nJ{static ofType(e){if(!e)return s;if(R.has(e))return R.get(e);let t=null;if("function"==typeof e)t=e.prototype.declaredClass;else if(e.base)t=e.base.prototype.declaredClass;else for(const r in e.typeMap){const s=e.typeMap[r].prototype.declaredClass;t?t+=` | ${s}`:t=s}let r=class extends s{};return(0,n.Cg)([(0,m.u)({Type:e,ensureType:"function"==typeof e?(0,f.dp)(e):(0,f.aq)(e)})],r.prototype,"itemType",void 0),r=(0,n.Cg)([(0,y.$)(`esri.core.Collection<${t}>`)],r),R.set(e,r),r}static isCollection(e){return null!=e&&e instanceof s}constructor(e){super(e),this._chgListeners=[],this._notifications=null,this._updating=!1,this._timer=null,this._observable=new _.I,this._length=0,this._items=[],Object.defineProperty(this,"uid",{value:D++})}normalizeCtorArgs(e){return e?(0,i.yc)(e)||e instanceof s?{items:e}:e:{}}destroy(){this._removeAllRaw(),this._timer&&this._timer.remove(),super.destroy(),this._notifications=null}*[Symbol.iterator](){yield*this.items}get length(){return this._length}set length(e){e>this._length?u.A.getLogger(this).error("#length=","Cannot increase the length of the collection by assigning to the length property."):this.splice(e,Math.max(0,this._length-e))}get items(){return(0,p.gc)(this._observable),this._items}set items(e){this._emitBeforeChanges(1)||(this._splice(0,this.length,I(e)),this._emitAfterChanges(1))}hasEventListener(e){return!this.destroyed&&("change"===e?this._chgListeners.length>0:super.hasEventListener(e))}on(e,t){if(this.destroyed)return(0,o.hA)();if("change"===e){const e=this._chgListeners,r={removed:!1,callback:t};return e.push(r),this._notifications&&this._notifications.push({listeners:e.slice(),items:this._items.slice(),changes:[]}),(0,o.hA)(()=>{r.removed=!0,e.splice(e.indexOf(r),1)})}return super.on(e,t)}once(e,t){const r="deref"in t?()=>t.deref():()=>t,s=this.on(e,e=>{r()?.call(null,e),s.remove()});return s}add(e,t){if((0,p.gc)(this._observable),this._emitBeforeChanges(1))return this;const r=this.getNextIndex(t??null);return this._splice(r,0,[e]),this._emitAfterChanges(1),this}addMany(e,t=this._items.length){if((0,p.gc)(this._observable),!e?.length)return this;if(this._emitBeforeChanges(1))return this;const r=this.getNextIndex(t);return this._splice(r,0,I(e)),this._emitAfterChanges(1),this}at(e){if((0,p.gc)(this._observable),(e=Math.trunc(e)||0)<0&&(e+=this.length),!(e<0||e>=this.length))return this._items[e]}removeAll(){if((0,p.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return[];const e=this._removeAllRaw();return this._emitAfterChanges(2),e}_removeAllRaw(){return 0===this.length?[]:this._splice(0,this.length)||[]}clone(){return(0,p.gc)(this._observable),this._createNewInstance({items:this._items.map(c.o8)})}concat(...e){(0,p.gc)(this._observable);const t=e.map(I);return this._createNewInstance({items:this._items.concat(...t)})}drain(e,t){if((0,p.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const r=this._splice(0,this.length),s=r.length;for(let n=0;n<s;n++)e.call(t,r[n],n,r);this._emitAfterChanges(2)}destroyAll(){this.drain(A)}destroyMany(e){const t=this.removeMany(e);return t.forEach(A),t}every(e,t){return(0,p.gc)(this._observable),this._items.every(e,t)}filter(e,t){(0,p.gc)(this._observable);const r=2===arguments.length?this._items.filter(e,t):this._items.filter(e);return this._createNewInstance({items:r})}find(e,t){return(0,p.gc)(this._observable),this._items.find(e,t)}findIndex(e,t){return(0,p.gc)(this._observable),this._items.findIndex(e,t)}flatten(e,t){(0,p.gc)(this._observable);const r=[];return E(r,this,e,t),new s(r)}forEach(e,t){return(0,p.gc)(this._observable),this._items.forEach(e,t)}getItemAt(e){return(0,p.gc)(this._observable),this._items[e]}getNextIndex(e){(0,p.gc)(this._observable);const t=this.length;return(e=e??t)<0?e=0:e>t&&(e=t),e}includes(e,t=0){return(0,p.gc)(this._observable),this._items.includes(e,t)}indexOf(e,t=0){return(0,p.gc)(this._observable),this._items.indexOf(e,t)}join(e=","){return(0,p.gc)(this._observable),this._items.join(e)}lastIndexOf(e,t=this.length-1){return(0,p.gc)(this._observable),this._items.lastIndexOf(e,t)}map(e,t){(0,p.gc)(this._observable);const r=this._items.map(e,t);return new s({items:r})}reorder(e,t=this.length-1){(0,p.gc)(this._observable);const r=this.indexOf(e);if(-1!==r){if(t<0?t=0:t>=this.length&&(t=this.length-1),r!==t){if(this._emitBeforeChanges(4))return e;this._splice(r,1),this._splice(t,0,[e]),this._emitAfterChanges(4)}return e}}pop(){if((0,p.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const e=C(this._splice(this.length-1,1));return this._emitAfterChanges(2),e}push(...e){return(0,p.gc)(this._observable),this._emitBeforeChanges(1)||(this._splice(this.length,0,e),this._emitAfterChanges(1)),this.length}reduce(e,t){(0,p.gc)(this._observable);const r=this._items;return 2===arguments.length?r.reduce(e,t):r.reduce(e)}reduceRight(e,t){(0,p.gc)(this._observable);const r=this._items;return 2===arguments.length?r.reduceRight(e,t):r.reduceRight(e)}remove(e){return(0,p.gc)(this._observable),this.removeAt(this.indexOf(e))}removeAt(e){if((0,p.gc)(this._observable),e<0||e>=this.length||this._emitBeforeChanges(2))return;const t=C(this._splice(e,1));return this._emitAfterChanges(2),t}removeMany(e){if((0,p.gc)(this._observable),!e?.length||this._emitBeforeChanges(2))return[];const t=e instanceof s?e.toArray():e,r=this._items,n=[],a=t.length;for(let e=0;e<a;e++){const s=t[e],a=r.indexOf(s);if(a>-1){const s=1+S(t,r,e+1,a+1),i=this._splice(a,s);i&&i.length>0&&n.push.apply(n,i),e+=s-1}}return this._emitAfterChanges(2),n}reverse(){if((0,p.gc)(this._observable),this._emitBeforeChanges(4))return this;const e=this._splice(0,this.length);return e&&(e.reverse(),this._splice(0,0,e)),this._emitAfterChanges(4),this}shift(){if((0,p.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const e=C(this._splice(0,1));return this._emitAfterChanges(2),e}slice(e=0,t=this.length){return(0,p.gc)(this._observable),this._createNewInstance({items:this._items.slice(e,t)})}some(e,t){return(0,p.gc)(this._observable),this._items.some(e,t)}sort(e){if((0,p.gc)(this._observable),!this.length||this._emitBeforeChanges(4)||!this._requiresSort(e))return this;const t=this._splice(0,this.length);return arguments.length?t.sort(e):t.sort(),this._splice(0,0,t),this._emitAfterChanges(4),this}_requiresSort(e=(e,t)=>e===t?0:e<t?-1:1){const t=this.length-1;for(let r=0;r<t;r++)if(e(this.items[r],this.items[r+1])>0)return!0;return!1}splice(e,t,...r){(0,p.gc)(this._observable),1===arguments.length&&(t=this.length),t??=0;const s=(t?2:0)|(r.length?1:0);if(this._emitBeforeChanges(s))return[];const n=this._splice(e,t,r)||[];return this._emitAfterChanges(s),n}toArray(){return(0,p.gc)(this._observable),this._items.slice()}toJSON(e){return(0,p.gc)(this._observable),this.toArray().map(t=>(0,b.W)(t)?t.toJSON(e):t)}toLocaleString(){return(0,p.gc)(this._observable),this._items.toLocaleString()}toString(){return(0,p.gc)(this._observable),this._items.toString()}unshift(...e){return(0,p.gc)(this._observable),!e.length||this._emitBeforeChanges(1)||(this._splice(0,0,e),this._emitAfterChanges(1)),this.length}_createNewInstance(e){return new this.constructor(e)}_splice(e,t,r){const s=this._items,n=this.itemType;let a,i;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._updating=!0,this._timer=(0,d._)(()=>this._dispatchChange())),e<0&&(e+=this.length),t){if(i=s.splice(e,t),this.hasEventListener("before-remove")){const t=w.acquire();t.target=this,t.cancellable=!0;for(let r=0,n=i.length;r<n;r++)a=i[r],t.reset(a),this.emit("before-remove",t),t.defaultPrevented&&(i.splice(r,1),s.splice(e,0,a),e+=1,r-=1,n-=1);w.release(t)}if(this._length=this._items.length,this.hasEventListener("after-remove")){const e=w.acquire();e.target=this,e.cancellable=!1;const t=i.length;for(let r=0;r<t;r++)e.reset(i[r]),this.emit("after-remove",e);w.release(e)}}if(r?.length){if(n){const e=[];for(const t of r){const r=n.ensureType(t);null==r&&null!=t||e.push(r)}r=e}const t=this.hasEventListener("before-add"),a=this.hasEventListener("after-add"),i=e===this.length;if(t||a){const n=w.acquire();n.target=this,n.cancellable=!0;const l=w.acquire();l.target=this,l.cancellable=!1;for(const o of r)t?(n.reset(o),this.emit("before-add",n),n.defaultPrevented||(i?s.push(o):s.splice(e++,0,o),this._length=s.length,a&&(l.reset(o),this.emit("after-add",l)))):(i?s.push(o):s.splice(e++,0,o),this._length=s.length,l.reset(o),this.emit("after-add",l));w.release(l),w.release(n)}else{if(i)for(const e of r)s.push(e);else s.splice(e,0,...r);this._length=s.length}}if((r?.length||i?.length)&&this._notifyChangeEvent(r,i),this.hasEventListener("after-splice")){const s=new v(this,r,i,e,t);this.emit("after-splice",s)}return i}_emitBeforeChanges(e){let t=!1;if(this.hasEventListener("before-changes")){const r=w.acquire();r.target=this,r.cancellable=!0,r.type=e,this.emit("before-changes",r),t=r.defaultPrevented,w.release(r)}return t}_emitAfterChanges(e){if(this.hasEventListener("after-changes")){const t=w.acquire();t.target=this,t.cancellable=!1,t.type=e,this.emit("after-changes",t),w.release(t)}this._observable.notify()}_notifyChangeEvent(e,t){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:e,removed:t})}get updating(){return this._updating}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),this._updating=!1,!this._notifications)return;const e=this._notifications;this._notifications=null;for(const t of e){const e=t.changes;L.clear(),F.clear(),N.clear();for(const{added:t,removed:r}of e){if(t)if(0===N.size&&0===F.size)for(const e of t)L.add(e);else for(const e of t)F.has(e)?(N.add(e),F.delete(e)):N.has(e)||L.add(e);if(r)if(0===N.size&&0===L.size)for(const e of r)F.add(e);else for(const e of r)L.has(e)?L.delete(e):(N.delete(e),F.add(e))}const r=a.A.acquire();L.forEach(e=>{r.push(e)});const s=a.A.acquire();F.forEach(e=>{s.push(e)});const n=this._items,i=t.items,l=a.A.acquire();if(N.forEach(e=>{i.indexOf(e)!==n.indexOf(e)&&l.push(e)}),t.listeners&&(r.length||s.length||l.length)){const e={target:this,added:r,removed:s,moved:l},n=t.listeners.length;for(let r=0;r<n;r++){const s=t.listeners[r];s.removed||s.callback.call(this,e)}}a.A.release(r),a.A.release(s),a.A.release(l)}L.clear(),F.clear(),N.clear()}};(0,n.Cg)([(0,g.MZ)()],M.prototype,"_updating",void 0),(0,n.Cg)([(0,g.MZ)()],M.prototype,"_length",void 0),(0,n.Cg)([(0,g.MZ)()],M.prototype,"length",null),(0,n.Cg)([(0,g.MZ)()],M.prototype,"items",null),(0,n.Cg)([(0,g.MZ)({readOnly:!0})],M.prototype,"updating",null),M=s=(0,n.Cg)([(0,y.$)("esri.core.Collection")],M);const O=M},4902(e,t,r){r.d(t,{s:()=>i});var s=r(5482),n=r(64108);let a=0;const i=e=>{const t=e;let r=class extends t{constructor(...e){super(...e),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+a++})}};return r=(0,s.Cg)([(0,n.$)("esri.core.Identifiable")],r),r};i(class{})},7695(e,t,r){function s(e){return(t,r)=>{t[r]=e}}r.d(t,{u:()=>s})},36708(e,t,r){r.d(t,{C_:()=>d,OH:()=>g,Vh:()=>m,on:()=>h,pc:()=>y,wB:()=>o,z7:()=>c});var s=r(37955),n=r(36563),a=r(97768),i=r(17676),l=r(14012);function o(e,t,r={}){return u(e,t,r,f)}function c(e,t,r={}){return u(e,t,r,p)}function u(e,t,r={},s){let n=null;const i=r.once?(e,r)=>{s(e)&&((0,a.xt)(n),t(e,r))}:(e,r)=>{s(e)&&t(e,r)};if(n=(0,l.Cn)(e,i,r.sync,r.equals),r.initial){const t=e();i(t,t)}return n}function h(e,t,r,i={}){let l=null,c=null,u=null;function h(){l&&c&&(c.remove(),i.onListenerRemove?.(l),l=null,c=null)}function d(e){i.once&&i.once&&(0,a.xt)(u),r(e)}const f=o(e,(e,r)=>{h(),(0,s.wb)(e)&&(l=e,c=(0,s.on)(e,t,d),i.onListenerAdd?.(e))},{sync:i.sync,initial:!0});return u=(0,n.hA)(()=>{f.remove(),h()}),u}function d(e,t){return function(e,t,r){if((0,i.G4)(r))return Promise.reject((0,i.NK)());const s=e();if(t?.(s))return Promise.resolve(s);let l=null;function o(){l=(0,a.xt)(l)}return new Promise((s,a)=>{l=(0,n.vE)([(0,i.u7)(r,()=>{o(),a((0,i.NK)())}),u(e,e=>{o(),s(e)},{sync:!1,once:!0},t??f)])})}(e,p,t)}function f(e){return!0}function p(e){return!!e}r(80559);const g={sync:!0},m={initial:!0},y={sync:!0,initial:!0}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1948,4935,5611,6061,7316,7992],{61691(t,e,n){n.d(e,{G:()=>r});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},29821(t,e,n){n.d(e,{O:()=>s});var r=n(15756);class s extends r.z{getOperatorType(){return 6}execute(t,e,n,s){return(0,r.A)(t,e,n,16,s)}}},76061(t,e,n){n.d(e,{S:()=>s});var r=n(61691);class s extends r.G{m_aGeoms;m_iGeom=-1;constructor(t){super(),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}}},9093(t,e,n){function r(){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]]}n.d(e,{o8:()=>s,vt:()=>r,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:r,fromValues:function(t,e,n,r,s,i,o,a,u,h,c,f,l,m,g,x){return[t,e,n,r,s,i,o,a,u,h,c,f,l,m,g,x]}},Symbol.toStringTag,{value:"Module"}))},51850(t,e,n){function r(){return[0,0,0]}function s(t){return[t[0],t[1],t[2]]}function i(t,e,n){return[t,e,n]}function o(t,e,n){return[t,e,n]}function a(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function u(){return[0,0,0]}function h(){return i(1,1,1)}function c(){return i(1,0,0)}function f(){return i(0,1,0)}function l(){return i(0,0,1)}n.d(e,{CN:()=>o,Cb:()=>p,Cw:()=>x,JP:()=>d,S:()=>h,Ul:()=>u,Un:()=>g,ci:()=>a,fA:()=>i,o8:()=>s,uY:()=>m,vt:()=>r});const m=[0,0,0],g=h(),x=c(),d=f(),p=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:g,UNIT_X:x,UNIT_Y:d,UNIT_Z:p,ZEROS:m,clone:s,create:r,freeze:o,fromArray:a,fromValues:i,ones:h,unitX:c,unitY:f,unitZ:l,zeros:u},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>I,Bw:()=>i,C:()=>o,Cc:()=>O,DI:()=>E,Il:()=>B,Io:()=>M,Ln:()=>p,Om:()=>_,Qr:()=>f,Re:()=>h,S8:()=>b,T9:()=>x,WQ:()=>u,Z0:()=>A,_S:()=>m,aI:()=>R,ei:()=>S,fw:()=>w,g7:()=>Z,gL:()=>P,hG:()=>y,hZ:()=>a,hs:()=>d,jb:()=>T,jk:()=>g,lo:()=>k,lw:()=>c,m3:()=>v,oW:()=>V,t2:()=>N,tn:()=>l,uE:()=>G,xg:()=>L,ze:()=>C});var r=n(51850),s=n(34304);function i(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function h(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function l(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function m(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function g(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function x(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function d(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function p(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return Math.sqrt(n*n+r*r+s*s)}function y(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return n*n+r*r+s*s}function v(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function C(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function E(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function b(t,e){const n=e[0],r=e[1],s=e[2];let i=n*n+r*r+s*s;return i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i),t}function _(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function I(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2];return t[0]=s*u-i*a,t[1]=i*o-r*u,t[2]=r*a-s*o,t}function O(t,e,n,r){const s=e[0],i=e[1],o=e[2];return t[0]=s+r*(n[0]-s),t[1]=i+r*(n[1]-i),t[2]=o+r*(n[2]-o),t}function A(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=n[0]*r+n[4]*s+n[8]*i+n[12],t[1]=n[1]*r+n[5]*s+n[9]*i+n[13],t[2]=n[2]*r+n[6]*s+n[10]*i+n[14],t}function S(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=r*n[0]+s*n[3]+i*n[6],t[1]=r*n[1]+s*n[4]+i*n[7],t[2]=r*n[2]+s*n[5]+i*n[8],t}function P(t,e,n){return w(t,e,n[0],n[1],n[2],n[3])}function w(t,e,n,r,s,i){const o=e[0],a=e[1],u=e[2],h=r*u-s*a,c=s*o-n*u,f=n*a-r*o,l=r*f-s*c,m=s*h-n*f,g=n*c-r*h,x=2*i;return t[0]=o+h*x+2*l,t[1]=a+c*x+2*m,t[2]=u+f*x+2*g,t}function Z(t,e){b(F,t),b(Y,e);const n=_(F,Y);return n>1?0:n<-1?Math.PI:Math.acos(n)}const F=(0,r.vt)(),Y=(0,r.vt)();function N(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function R(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],o=e[0],a=e[1],u=e[2],h=(0,s.FD)();return Math.abs(n-o)<=h*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=h*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-u)<=h*Math.max(1,Math.abs(i),Math.abs(u))}function V(t,e,n){const r=n[0]-e[0],s=n[1]-e[1],i=n[2]-e[2];let o=r*r+s*s+i*i;return o>0?(o=1/Math.sqrt(o),t[0]=r*o,t[1]=s*o,t[2]=i*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const T=h,z=c,X=f,L=M,k=y,B=i,G=v;Object.freeze(Object.defineProperty({__proto__:null,abs:l,add:u,angle:Z,bezier:function(t,e,n,r,s,i){const o=1-i,a=o*o,u=i*i,h=a*o,c=3*i*a,f=3*u*o,l=u*i;return t[0]=e[0]*h+n[0]*c+r[0]*f+s[0]*l,t[1]=e[1]*h+n[1]*c+r[1]*f+s[1]*l,t[2]=e[2]*h+n[2]*c+r[2]*f+s[2]*l,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:o,cross:I,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2],h=s*u-i*a,c=i*o-r*u,f=r*a-s*o,l=Math.sqrt(h*h+c*c+f*f);return t[0]=h/l,t[1]=c/l,t[2]=f/l,t},direction:V,dist:L,distance:M,div:X,divide:f,dot:_,equals:R,exactEquals:N,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,s,i){const o=i*i,a=o*(2*i-3)+1,u=o*(i-2)+i,h=o*(i-1),c=o*(3-2*i);return t[0]=e[0]*a+n[0]*u+r[0]*h+s[0]*c,t[1]=e[1]*a+n[1]*u+r[1]*h+s[1]*c,t[2]=e[2]*a+n[2]*u+r[2]*h+s[2]*c,t},inverse:E,len:B,length:i,lerp:O,max:x,min:g,mul:z,multiply:c,negate:C,normalize:b,random:function(t,e=1){const n=s.Ov,r=2*n()*Math.PI,i=2*n()-1,o=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(r)*o,t[1]=Math.sin(r)*o,t[2]=i*e,t},rotateX:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0],i[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),i[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateY:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),i[1]=s[1],i[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateZ:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),i[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),i[2]=s[2],t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:d,scaleAndAdd:p,set:a,sign:m,sqrDist:k,sqrLen:G,squaredDistance:y,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:T,subtract:h,transformMat3:S,transformMat4:A,transformQuat:P,transformQuatValues:w},Symbol.toStringTag,{value:"Module"}))},69397(t,e,n){n.d(e,{Qf:()=>u,Qh:()=>o,RS:()=>s,Ul:()=>m,i5:()=>l,lM:()=>i,qK:()=>c});var r=n(34275);const s=16;function i(t){if(!t)return 0;let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n],!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 n=f;for(let r=0;r<e;r++)n+=a(t[r]);return n}(t);let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n]));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,r.iu)(e)?e.byteLength+l:Array.isArray(e)?h(e,s):0:0),0)}function h(t,e){return f+t.length*e}const c=32,f=16,l=145,m=64},87992(t,e,n){n.d(e,{JR:()=>I,ME:()=>E,MY:()=>O,NO:()=>C,Nh:()=>_,V2:()=>Z,_s:()=>F,e6:()=>N,gh:()=>b,tr:()=>V,uX:()=>d});var r=n(5482),s=n(69397),i=n(16930),o=(n(70328),n(19419)),a=n(60408),u=n(21325),h=n(513),c=n(50954),f=n(79567),l=n(52006),m=n(49663),g=n(46068),x=n(92722);class d{constructor({type:t,spatialReference:e,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:i,partCount:o,partOffsets:a,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:f,segmentCountArc:l,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=n,this.vertexXY=r,this.vertexZ=s,this.vertexM=i,this.partCount=o,this.partOffsets=a,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=f,this.segmentCountArc=l,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:n}=this;return t&&t-e-n}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 this.segmentCountArc+this.segmentCountBezier>0}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:n,hasZ:r,hasM:s,segmentCountArc:i,segmentCountBezier:o}=this,a=Z(t,e,n,r,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,n+1)),a.partOffsets.set(t.subarray(0,n+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:n,segmentParams:r,segmentParamCount:s}=this;a.segmentFlags.set(t.subarray(0,e),0),a.segmentIndices.set(n.subarray(0,e),0),a.segmentParams.set(r.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 n=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,n)=>Math.abs(t-n)>e||isNaN(t)!==isNaN(n);for(let e=0;e<this.vertexCount;++e)if(n(this.vertexXY[2*e],t.vertexXY[2*e])||n(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(n(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(n(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new p(this):[][Symbol.iterator]()}}class p{constructor(t){this.geometry=t,this.value=new M(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class M{constructor(t){this.geometry=t,this.index=-1,this._readVertex=P(t),this._segments=new y(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 y{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new v(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 v{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=P(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 n=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[n++],r=e[n++],s=e[n++],i=e[n++];return{b:[this.end,[t,r],[s,i]]}}const r=e[n++],s=e[n++],i=e[n++],o=e[n++],a=e[n++],u=e[n++];n++,n++;const h=e[n++],c=e[n++];if(!Boolean(4&r)&&1===i)return{c:[this.end,[h,c]]};const f=2&r?0:1,l=1&r?0:1;return{a:[this.end,[a,u],f,l,o,s,i]}}}function C(t,e){const n={stack:[],error:void 0,hasError:!1};try{return e??=(0,o.Ie)(),(0,r.mS)(n,new A(t,["vertexZ","vertexM","spatialReference"]),!1),(0,o.bx)(e,function(t){let e;const{vertexCount:n,vertexXY:s,vertexZ:i,vertexM:a}=t,u=S(t);if(t.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new A(t,["vertexZ","vertexM"]),!1);const s=(0,o.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:n}of e.segments)(0,f.e)(s,t,n),t=(0,l.yP)(n)}const[i,a,h,c]=s;e={xmin:i,ymin:a,xmax:h,ymax:c,spatialReference:u}}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}else{let t,r,i,o;t=r=1/0,i=o=-1/0;for(let e=0;e<n;++e){const n=s[2*e],a=s[2*e+1];t=Math.min(t,n),i=Math.max(i,n),r=Math.min(r,a),o=Math.max(o,a)}e={xmin:t,ymin:r,xmax:i,ymax:o,spatialReference:u}}if(i){let t=1/0,n=-1/0;for(const e of i)t=Math.min(t,e),n=Math.max(n,e);e.zmin=t,e.zmax=n}if(a){let t=1/0,n=-1/0;for(const e of a)t=Math.min(t,e),n=Math.max(n,e);e.mmin=t,e.mmax=n}return e}(t)),e}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}function E(t){let e,n,r;if((0,a.fT)(t)){r="point";const{x:s,y:i,z:o,m:a}=t,u=[s,i];null!=o&&u.push(o),null!=a&&u.push(a),n=[[u]],e=1}else(0,a.U9)(t)?(r="multipoint",n=[t.points],e=t.points.length):(0,a.Rg)(t)?(r="polyline",n=t.curvePaths??t.paths,e=n.reduce((t,e)=>t+e.length,0)):(r="polygon",n=t.curveRings??t.rings,e=n.reduce((t,e)=>(0===e.length||(t+=e.length,w(e[0],(0,l.yP)(e.at(-1)))&&--t),t),0));const s=Z(r,e,r.includes("point")?0:n.length,(0,a.Pv)(t),(0,a.W0)(t),(0,l.Ed)(t)),{hasZ:i,hasM:o,vertexXY:u,vertexZ:h,vertexM:c}=s;function f(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 n[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of n[0])f(t);return s}const x="polygon"===r,{partOffsets:d}=s;let p=0;if(!(0,l.Ed)(t)){for(const t of n){if(d[p++]=g,0===t.length)continue;let e=t.length;if(x&&w(t[0],t.at(-1))&&--e,i||o)for(let n=0;n<e;++n)f(t[n]);else for(let n=0;n<e;++n){const[e,r]=t[n];u[2*g]=e,u[2*g+1]=r,++g}}return d[p]=g,s}function M(t){const e=y+t;if(e<=(s.segmentParams?.length??0))return;let n=e*T;n=20*Math.ceil(n/20);const r=s.segmentParams;s.segmentParams=new Float64Array(n),null!=r&&s.segmentParams.set(r)}let y=0;for(const t of n){if(s.partOffsets[p++]=g,0===t.length)continue;const e=t[0];let n=e;for(let e=1;e<t.length;++e){const r=t[e];f(n);const i=g-1;(0,l.wY)(r)?(M(10),++s.segmentCountArc,y=F(n,r,s,i,y),n=r.a[0]):(0,l.DA)(r)?(M(10),++s.segmentCountArc,y=Y(n,r,s,i,y),n=r.a[0]):(0,l.aO)(r)?(M(10),++s.segmentCountArc,y=N(n,r,s,i,y),n=r.c[0]):(0,l.n1)(r)?(M(4),++s.segmentCountBezier,y=V(0,r,s,i,y),n=r.b[0]):n=r}x&&w(e,n)||f(n)}return s.partOffsets[p]=g,s}function b(t){const e=P(t),{vertexCount:n,partCount:r,hasZ:s,hasM:i}=t,o=S(t);if("point"===t.type){const[e,n]=t.vertexXY,r=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:n,z:r,m:s,spatialReference:o}}let a=0;if("multipoint"===t.type){const t=[];for(;a<n;)t.push(e(a++));return{points:t,spatialReference:o,hasZ:s,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const n=new Array;for(let s=0;s<r;++s){const r=t.partOffsets[s+1],i=new Array;for(;a<r;)i.push(e(a++));u&&i.length>0&&i.push(i[0]),n.push(i)}return u?{rings:n,hasZ:s,hasM:i,spatialReference:o}:{paths:n,hasZ:s,hasM:i,spatialReference:o}}const h=new Array;for(const{segments:e,startVertex:n}of t.parts){const t=[n];for(const{curve:n}of e)t.push(n);h.push(t)}return u?{rings:[],curveRings:h,hasZ:s,hasM:i,spatialReference:o}:{paths:[],curvePaths:h,hasZ:s,hasM:i,spatialReference:o}}function _(t,{lengths:e,coords:n,hasZ:r,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);r??=!1,s??=!1;const h=Z(t,u,o,r,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]=n[e++],h.vertexXY[2*t+1]=n[e++],r&&(h.vertexZ[t]=n[e++]),s&&(h.vertexM[t]=n[e++]);return h}const c=2+Number(r)+Number(s);let f=0,l=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[l],i=e+t-Number(a);h.partOffsets[++l]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=n[f++],h.vertexXY[2*t+1]=n[f++],r&&(h.vertexZ[t]=n[f++]),s&&(h.vertexM[t]=n[f++]);a&&(f+=c)}return h}function I({type:t,vertexCount:e,vertexXY:n,vertexZ:r,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 f=0;for(let t=0;t<i;++t){const i=o?.[t+1]??e,l=h.coords.length;for(let t=f;t<i;++t)h.coords.push(n[2*t],n[2*t+1]),a&&h.coords.push(r[t]),u&&h.coords.push(s[t]);if(c){const t=f;h.coords.push(n[2*t],n[2*t+1]),a&&h.coords.push(r[t]),u&&h.coords.push(s[t])}h.lengths.push((h.coords.length-l)/h.stride),f=i}return"point"===t&&(h.lengths.length=0),h}function O(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,n=t.isCustomWkid()?0:t.getOldID();if(n<=0)return{wkt:e};let r=t.getLatestID();(r<=0||r===n)&&(r=void 0);const s=t.getVCS();if(null==s)return{wkid:n,latestWkid:r,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:n,wkt:e,latestWkid:r,vcsWkid:i,latestVcsWkid:o}}(t.getSpatialReference()),t=t.getGeometry()),new d({...t.toFlatGeometry(),spatialReference:e})}class A{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const n of e)t[n]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function S({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function P({vertexXY:t,vertexZ:e,vertexM:n}){return e?n?r=>[t[2*r],t[2*r+1],e[r],n[r]]:n=>[t[2*n],t[2*n+1],e[n]]:n?e=>[t[2*e],t[2*e+1],n[e]]:e=>[t[2*e],t[2*e+1]]}function w(t,e){return t.every((t,n)=>t===e[n])}function Z(t,e,n,r,s,i,o,a){o??=0,a??=0;const u=new d({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:n,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;r&&(h+=Float64Array.BYTES_PER_ELEMENT*e),s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(n+1)*Int32Array.BYTES_PER_ELEMENT,h+=(n+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 f=0;return u.vertexXY=new Float64Array(c,f,2*e),f+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(c,f,e),f+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(c,f,e),f+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(c,f,u.segmentParamCount),f+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,f,e),u.segmentIndices.fill(z),f+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,f,n+1),f+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,f,n+1),f+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),i&&(u.segmentFlags=new Int8Array(c,f,e),u.segmentFlags.fill(1),f+=u.segmentFlags.byteLength),u}function F(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const[a,[u,h],c,f,l,m,x]=e.a;let d=4;f||(d|=1),c||(d|=2);const p=(0,g.SW)(t,e),[M,y]=(0,g.Uk)(p,.5);return s[o++]=d,s[o++]=m,s[o++]=x,s[o++]=l,s[o++]=u,s[o++]=h,s[o++]=p.u2-p.u1,s[o++]=p.u1,s[o++]=M,s[o++]=y,o}function Y(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const a=(0,m.io)(t,e);return R(a,4,...(0,h.mq)(a,.5),s,o)}function N(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){return n[i]=4,r[i]=o,R((0,c.pM)(t,e),0,...e.c[1],s,o)}function R(t,e,n,r,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++]=n,s[i++]=r,i}function V(t,{b:[e,[n,r],[s,i]]},{segmentFlags:o,segmentIndices:a,segmentParams:u},h,c){return o[h]=2,a[h]=c,u[c++]=n,u[c++]=r,u[c++]=s,u[c++]=i,c}const T=1.61803,z=-1},85672(t,e,n){n.r(e),n.d(e,{execute:()=>o});var r=n(29821),s=n(83299);const i=new r.O;function o(t,e){const n=(0,s.fromGeometry)(t);return i.execute(n.getGeometry(),(0,s.fromGeometryToGXGeometry)(e),n.getSpatialReference(),null)}},4197(t,e,n){n.d(e,{Vj:()=>c,cj:()=>h,jh:()=>i,l5:()=>a,yH:()=>u});var r=n(34275),s=n(9093);function i(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function o(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=r.y9?Array.from(t):new Float64Array(t)}function a(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function u(t,e){if(0===e.length)return o(t);if(0===t.length)return o(e);const n=i(t.length+e.length);for(let e=0;e<t.length;++e)n[e]=t[e];for(let r=0;r<e.length;++r)n[t.length+r]=e[r];return n}function h(t){return[...t]}function c(t){const e=(0,s.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},70328(t,e,n){n.d(e,{BI:()=>y,DC:()=>f,Ej:()=>m,Ie:()=>p,Jt:()=>M,Ne:()=>g,RF:()=>c,aI:()=>C,fA:()=>o,gE:()=>u,hZ:()=>d,iT:()=>l,is:()=>v,qv:()=>E,vI:()=>x,vY:()=>a,v_:()=>b,vt:()=>i,w1:()=>h}),n(35522);var r=n(5443),s=(n(19419),n(4197));function i(t=b){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e,n,r,s,o,a=i()){return a[0]=t,a[1]=e,a[2]=n,a[3]=r,a[4]=s,a[5]=o,a}function a(t,e=i()){return function(t,e,n,r=i()){return d(r,E),function(t,e,n=0,r=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<r;t++)s=Math.min(s,e[n+3*t]),i=Math.min(i,e[n+3*t+1]),o=Math.min(o,e[n+3*t+2]),a=Math.max(a,e[n+3*t]),u=Math.max(u,e[n+3*t+1]),h=Math.max(h,e[n+3*t+2]);t[0]=s,t[1]=i,t[2]=o,t[3]=a,t[4]=u,t[5]=h}(r,t,e,n),r}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[n,r,i,o,a,u]=t;return e[0]=n,e[1]=r,e[2]=i,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=a,e[8]=i,e[9]=n,e[10]=a,e[11]=u,e[12]=o,e[13]=r,e[14]=i,e[15]=o,e[16]=r,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 n=isFinite(t[2])||isFinite(t[5]);return new r.A(n?{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 f(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 l(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,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function x(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),t}function d(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 p(t){return t?d(t,E):i(E)}function M(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 y(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function C(t,e,n){if(null==t||null==e)return t===e;if(!v(t)||!v(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}const E=[1/0,1/0,1/0,-1/0,-1/0,-1/0],b=[0,0,0,0,0,0];i()},92722(t,e,n){n.d(e,{A:()=>s});var r=n(69397);class s{constructor(t=[],e=[],n=!1,r=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:t,coords:e,hasZ:n,hasM:r}){return new s(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const i=n-t,o=r-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,r.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 n of this.lengths){if(n<3)continue;const{stride:r}=this;let s=this.coords[r*e],i=this.coords[r*e+1];for(let o=1;o<n;o+=1){const n=r*(e+o),a=this.coords[n],u=this.coords[n+1];t+=-.5*(a-s)*(u+i),s=a,i=u}e+=n}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let s=0;s<r;s++){const r=n*(e+s);t(this.coords[r],this.coords[r+1])}e+=r}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let r=0;const{stride:s}=this;for(const t of n){for(let n=1;n<t;n++){const t=s*(r+n);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}r+=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:n,size:r}=this,i=this.coords.slice(0,r*n);return t?(t.set(i),new s(e,t,this.hasZ,this.hasM)):new s(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const n=new Array(e*t);for(let e=0,r=0;e<n.length;e+=t)n[r++]=this.coords[e],n[r++]=this.coords[e+1];return new s(this.lengths,n,!1,!1)}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4493,6874],{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)),o=n(88620),a=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,o.oY)(this);(0,l.Lw)(t,"unable to clone instance of non-accessor class");const n=t.metadata,i=t.store,r={},a=new Map;for(const t in n){const l=n[t],o=i?.originOf(t),u=l.clonable;if(l.readOnly||!1===u||7!==o&&0!==o&&5!==o&&4!==o)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===o?a.set(t,h):r[t]=h}const u=new(0,Object.getPrototypeOf(this).constructor)(r);if(a.size){const e=(0,o.oY)(u)?.store;if(e)for(const[t,n]of a)e.set(t,n,0)}return u}};return r=(0,i.Cg)([(0,a.$)("esri.core.Clonable")],r),r},h=c(r.A)},7762(e,t,n){n.d(t,{A:()=>U});var i,r=n(5482),s=n(98291),l=n(4576),o=n(65529),a=n(36563),u=n(4718),c=n(53966),h=n(93687),d=n(76030),p=n(56507),f=n(62788),g=n(10107),y=n(7695),m=n(64108),v=n(95488),_=n(12195);class b{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(e){this.defaultPrevented=!1,this.item=e}}class w{constructor(e,t,n,i,r){this.target=e,this.added=t,this.removed=n,this.start=i,this.deleteCount=r}}const C=new h.A(()=>new b,void 0,e=>{e.item=null,e.target=null,e.defaultPrevented=!1,e.cancellable=!1});function M(e){e&&"object"==typeof e&&"destroy"in e&&"function"==typeof e.destroy&&e.destroy()}function A(e){return e?e instanceof R?e.toArray():e.length?Array.prototype.slice.apply(e):[]:[]}function I(e){if(e?.length)return e[0]}function S(e,t,n,i){const r=Math.min(e.length-n,t.length-i);let s=0;for(;s<r&&e[n+s]===t[i+s];)s++;return s}function T(e,t,n,i){t&&t.forEach((t,r,s)=>{e.push(t),T(e,n.call(i,t,r,s),n,i)})}const L=new Set,x=new Set,E=new Set,O=new Map;let P=0,R=i=class extends o.nJ{static ofType(e){if(!e)return i;if(O.has(e))return O.get(e);let t=null;if("function"==typeof e)t=e.prototype.declaredClass;else if(e.base)t=e.base.prototype.declaredClass;else for(const n in e.typeMap){const i=e.typeMap[n].prototype.declaredClass;t?t+=` | ${i}`:t=i}let n=class extends i{};return(0,r.Cg)([(0,y.u)({Type:e,ensureType:"function"==typeof e?(0,p.dp)(e):(0,p.aq)(e)})],n.prototype,"itemType",void 0),n=(0,r.Cg)([(0,m.$)(`esri.core.Collection<${t}>`)],n),O.set(e,n),n}static isCollection(e){return null!=e&&e instanceof i}constructor(e){super(e),this._chgListeners=[],this._notifications=null,this._updating=!1,this._timer=null,this._observable=new v.I,this._length=0,this._items=[],Object.defineProperty(this,"uid",{value:P++})}normalizeCtorArgs(e){return e?(0,l.yc)(e)||e instanceof i?{items:e}:e:{}}destroy(){this._removeAllRaw(),this._timer&&this._timer.remove(),super.destroy(),this._notifications=null}*[Symbol.iterator](){yield*this.items}get length(){return this._length}set length(e){e>this._length?c.A.getLogger(this).error("#length=","Cannot increase the length of the collection by assigning to the length property."):this.splice(e,Math.max(0,this._length-e))}get items(){return(0,f.gc)(this._observable),this._items}set items(e){this._emitBeforeChanges(1)||(this._splice(0,this.length,A(e)),this._emitAfterChanges(1))}hasEventListener(e){return!this.destroyed&&("change"===e?this._chgListeners.length>0:super.hasEventListener(e))}on(e,t){if(this.destroyed)return(0,a.hA)();if("change"===e){const e=this._chgListeners,n={removed:!1,callback:t};return e.push(n),this._notifications&&this._notifications.push({listeners:e.slice(),items:this._items.slice(),changes:[]}),(0,a.hA)(()=>{n.removed=!0,e.splice(e.indexOf(n),1)})}return super.on(e,t)}once(e,t){const n="deref"in t?()=>t.deref():()=>t,i=this.on(e,e=>{n()?.call(null,e),i.remove()});return i}add(e,t){if((0,f.gc)(this._observable),this._emitBeforeChanges(1))return this;const n=this.getNextIndex(t??null);return this._splice(n,0,[e]),this._emitAfterChanges(1),this}addMany(e,t=this._items.length){if((0,f.gc)(this._observable),!e?.length)return this;if(this._emitBeforeChanges(1))return this;const n=this.getNextIndex(t);return this._splice(n,0,A(e)),this._emitAfterChanges(1),this}at(e){if((0,f.gc)(this._observable),(e=Math.trunc(e)||0)<0&&(e+=this.length),!(e<0||e>=this.length))return this._items[e]}removeAll(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return[];const e=this._removeAllRaw();return this._emitAfterChanges(2),e}_removeAllRaw(){return 0===this.length?[]:this._splice(0,this.length)||[]}clone(){return(0,f.gc)(this._observable),this._createNewInstance({items:this._items.map(u.o8)})}concat(...e){(0,f.gc)(this._observable);const t=e.map(A);return this._createNewInstance({items:this._items.concat(...t)})}drain(e,t){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const n=this._splice(0,this.length),i=n.length;for(let r=0;r<i;r++)e.call(t,n[r],r,n);this._emitAfterChanges(2)}destroyAll(){this.drain(M)}destroyMany(e){const t=this.removeMany(e);return t.forEach(M),t}every(e,t){return(0,f.gc)(this._observable),this._items.every(e,t)}filter(e,t){(0,f.gc)(this._observable);const n=2===arguments.length?this._items.filter(e,t):this._items.filter(e);return this._createNewInstance({items:n})}find(e,t){return(0,f.gc)(this._observable),this._items.find(e,t)}findIndex(e,t){return(0,f.gc)(this._observable),this._items.findIndex(e,t)}flatten(e,t){(0,f.gc)(this._observable);const n=[];return T(n,this,e,t),new i(n)}forEach(e,t){return(0,f.gc)(this._observable),this._items.forEach(e,t)}getItemAt(e){return(0,f.gc)(this._observable),this._items[e]}getNextIndex(e){(0,f.gc)(this._observable);const t=this.length;return(e=e??t)<0?e=0:e>t&&(e=t),e}includes(e,t=0){return(0,f.gc)(this._observable),this._items.includes(e,t)}indexOf(e,t=0){return(0,f.gc)(this._observable),this._items.indexOf(e,t)}join(e=","){return(0,f.gc)(this._observable),this._items.join(e)}lastIndexOf(e,t=this.length-1){return(0,f.gc)(this._observable),this._items.lastIndexOf(e,t)}map(e,t){(0,f.gc)(this._observable);const n=this._items.map(e,t);return new i({items:n})}reorder(e,t=this.length-1){(0,f.gc)(this._observable);const n=this.indexOf(e);if(-1!==n){if(t<0?t=0:t>=this.length&&(t=this.length-1),n!==t){if(this._emitBeforeChanges(4))return e;this._splice(n,1),this._splice(t,0,[e]),this._emitAfterChanges(4)}return e}}pop(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const e=I(this._splice(this.length-1,1));return this._emitAfterChanges(2),e}push(...e){return(0,f.gc)(this._observable),this._emitBeforeChanges(1)||(this._splice(this.length,0,e),this._emitAfterChanges(1)),this.length}reduce(e,t){(0,f.gc)(this._observable);const n=this._items;return 2===arguments.length?n.reduce(e,t):n.reduce(e)}reduceRight(e,t){(0,f.gc)(this._observable);const n=this._items;return 2===arguments.length?n.reduceRight(e,t):n.reduceRight(e)}remove(e){return(0,f.gc)(this._observable),this.removeAt(this.indexOf(e))}removeAt(e){if((0,f.gc)(this._observable),e<0||e>=this.length||this._emitBeforeChanges(2))return;const t=I(this._splice(e,1));return this._emitAfterChanges(2),t}removeMany(e){if((0,f.gc)(this._observable),!e?.length||this._emitBeforeChanges(2))return[];const t=e instanceof i?e.toArray():e,n=this._items,r=[],s=t.length;for(let e=0;e<s;e++){const i=t[e],s=n.indexOf(i);if(s>-1){const i=1+S(t,n,e+1,s+1),l=this._splice(s,i);l&&l.length>0&&r.push.apply(r,l),e+=i-1}}return this._emitAfterChanges(2),r}reverse(){if((0,f.gc)(this._observable),this._emitBeforeChanges(4))return this;const e=this._splice(0,this.length);return e&&(e.reverse(),this._splice(0,0,e)),this._emitAfterChanges(4),this}shift(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const e=I(this._splice(0,1));return this._emitAfterChanges(2),e}slice(e=0,t=this.length){return(0,f.gc)(this._observable),this._createNewInstance({items:this._items.slice(e,t)})}some(e,t){return(0,f.gc)(this._observable),this._items.some(e,t)}sort(e){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(4)||!this._requiresSort(e))return this;const t=this._splice(0,this.length);return arguments.length?t.sort(e):t.sort(),this._splice(0,0,t),this._emitAfterChanges(4),this}_requiresSort(e=(e,t)=>e===t?0:e<t?-1:1){const t=this.length-1;for(let n=0;n<t;n++)if(e(this.items[n],this.items[n+1])>0)return!0;return!1}splice(e,t,...n){(0,f.gc)(this._observable),1===arguments.length&&(t=this.length),t??=0;const i=(t?2:0)|(n.length?1:0);if(this._emitBeforeChanges(i))return[];const r=this._splice(e,t,n)||[];return this._emitAfterChanges(i),r}toArray(){return(0,f.gc)(this._observable),this._items.slice()}toJSON(e){return(0,f.gc)(this._observable),this.toArray().map(t=>(0,_.W)(t)?t.toJSON(e):t)}toLocaleString(){return(0,f.gc)(this._observable),this._items.toLocaleString()}toString(){return(0,f.gc)(this._observable),this._items.toString()}unshift(...e){return(0,f.gc)(this._observable),!e.length||this._emitBeforeChanges(1)||(this._splice(0,0,e),this._emitAfterChanges(1)),this.length}_createNewInstance(e){return new this.constructor(e)}_splice(e,t,n){const i=this._items,r=this.itemType;let s,l;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._updating=!0,this._timer=(0,d._)(()=>this._dispatchChange())),e<0&&(e+=this.length),t){if(l=i.splice(e,t),this.hasEventListener("before-remove")){const t=C.acquire();t.target=this,t.cancellable=!0;for(let n=0,r=l.length;n<r;n++)s=l[n],t.reset(s),this.emit("before-remove",t),t.defaultPrevented&&(l.splice(n,1),i.splice(e,0,s),e+=1,n-=1,r-=1);C.release(t)}if(this._length=this._items.length,this.hasEventListener("after-remove")){const e=C.acquire();e.target=this,e.cancellable=!1;const t=l.length;for(let n=0;n<t;n++)e.reset(l[n]),this.emit("after-remove",e);C.release(e)}}if(n?.length){if(r){const e=[];for(const t of n){const n=r.ensureType(t);null==n&&null!=t||e.push(n)}n=e}const t=this.hasEventListener("before-add"),s=this.hasEventListener("after-add"),l=e===this.length;if(t||s){const r=C.acquire();r.target=this,r.cancellable=!0;const o=C.acquire();o.target=this,o.cancellable=!1;for(const a of n)t?(r.reset(a),this.emit("before-add",r),r.defaultPrevented||(l?i.push(a):i.splice(e++,0,a),this._length=i.length,s&&(o.reset(a),this.emit("after-add",o)))):(l?i.push(a):i.splice(e++,0,a),this._length=i.length,o.reset(a),this.emit("after-add",o));C.release(o),C.release(r)}else{if(l)for(const e of n)i.push(e);else i.splice(e,0,...n);this._length=i.length}}if((n?.length||l?.length)&&this._notifyChangeEvent(n,l),this.hasEventListener("after-splice")){const i=new w(this,n,l,e,t);this.emit("after-splice",i)}return l}_emitBeforeChanges(e){let t=!1;if(this.hasEventListener("before-changes")){const n=C.acquire();n.target=this,n.cancellable=!0,n.type=e,this.emit("before-changes",n),t=n.defaultPrevented,C.release(n)}return t}_emitAfterChanges(e){if(this.hasEventListener("after-changes")){const t=C.acquire();t.target=this,t.cancellable=!1,t.type=e,this.emit("after-changes",t),C.release(t)}this._observable.notify()}_notifyChangeEvent(e,t){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:e,removed:t})}get updating(){return this._updating}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),this._updating=!1,!this._notifications)return;const e=this._notifications;this._notifications=null;for(const t of e){const e=t.changes;L.clear(),x.clear(),E.clear();for(const{added:t,removed:n}of e){if(t)if(0===E.size&&0===x.size)for(const e of t)L.add(e);else for(const e of t)x.has(e)?(E.add(e),x.delete(e)):E.has(e)||L.add(e);if(n)if(0===E.size&&0===L.size)for(const e of n)x.add(e);else for(const e of n)L.has(e)?L.delete(e):(E.delete(e),x.add(e))}const n=s.A.acquire();L.forEach(e=>{n.push(e)});const i=s.A.acquire();x.forEach(e=>{i.push(e)});const r=this._items,l=t.items,o=s.A.acquire();if(E.forEach(e=>{l.indexOf(e)!==r.indexOf(e)&&o.push(e)}),t.listeners&&(n.length||i.length||o.length)){const e={target:this,added:n,removed:i,moved:o},r=t.listeners.length;for(let n=0;n<r;n++){const i=t.listeners[n];i.removed||i.callback.call(this,e)}}s.A.release(n),s.A.release(i),s.A.release(o)}L.clear(),x.clear(),E.clear()}};(0,r.Cg)([(0,g.MZ)()],R.prototype,"_updating",void 0),(0,r.Cg)([(0,g.MZ)()],R.prototype,"_length",void 0),(0,r.Cg)([(0,g.MZ)()],R.prototype,"length",null),(0,r.Cg)([(0,g.MZ)()],R.prototype,"items",null),(0,r.Cg)([(0,g.MZ)({readOnly:!0})],R.prototype,"updating",null),R=i=(0,r.Cg)([(0,m.$)("esri.core.Collection")],R);const U=R},4902(e,t,n){n.d(t,{s:()=>l});var i=n(5482),r=n(64108);let s=0;const l=e=>{const t=e;let n=class extends t{constructor(...e){super(...e),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+s++})}};return n=(0,i.Cg)([(0,r.$)("esri.core.Identifiable")],n),n};l(class{})},7695(e,t,n){function i(e){return(t,n)=>{t[n]=e}}n.d(t,{u:()=>i})},60999(e,t,n){n.d(t,{DZ:()=>f,Ke:()=>p,Tj:()=>c,UT:()=>g,aD:()=>m,jJ:()=>u});var i=n(5482),r=n(69622),s=n(97768),l=n(17676),o=n(10107),a=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 d(e){return{ok:!1,error:e}}async function p(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return h(await e)}catch(e){return d(e)}}async function f(e){try{return h(await e)}catch(e){return(0,l.QP)(e),d(e)}}function g(e,t){return new y(e,t)}let y=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=d(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,o.MZ)()],y.prototype,"value",null),(0,i.Cg)([(0,o.MZ)()],y.prototype,"error",null),(0,i.Cg)([(0,o.MZ)()],y.prototype,"finished",null),(0,i.Cg)([(0,o.MZ)()],y.prototype,"promise",void 0),(0,i.Cg)([(0,o.MZ)()],y.prototype,"_result",void 0),y=(0,i.Cg)([(0,a.$)("esri.core.asyncUtils.ReactiveTask")],y);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)}}}},36708(e,t,n){n.d(t,{C_:()=>d,OH:()=>g,Vh:()=>y,on:()=>h,pc:()=>m,wB:()=>a,z7:()=>u});var i=n(37955),r=n(36563),s=n(97768),l=n(17676),o=n(14012);function a(e,t,n={}){return c(e,t,n,p)}function u(e,t,n={}){return c(e,t,n,f)}function c(e,t,n={},i){let r=null;const l=n.once?(e,n)=>{i(e)&&((0,s.xt)(r),t(e,n))}:(e,n)=>{i(e)&&t(e,n)};if(r=(0,o.Cn)(e,l,n.sync,n.equals),n.initial){const t=e();l(t,t)}return r}function h(e,t,n,l={}){let o=null,u=null,c=null;function h(){o&&u&&(u.remove(),l.onListenerRemove?.(o),o=null,u=null)}function d(e){l.once&&l.once&&(0,s.xt)(c),n(e)}const p=a(e,(e,n)=>{h(),(0,i.wb)(e)&&(o=e,u=(0,i.on)(e,t,d),l.onListenerAdd?.(e))},{sync:l.sync,initial:!0});return c=(0,r.hA)(()=>{p.remove(),h()}),c}function d(e,t){return function(e,t,n){if((0,l.G4)(n))return Promise.reject((0,l.NK)());const i=e();if(t?.(i))return Promise.resolve(i);let o=null;function a(){o=(0,s.xt)(o)}return new Promise((i,s)=>{o=(0,r.vE)([(0,l.u7)(n,()=>{a(),s((0,l.NK)())}),c(e,e=>{a(),i(e)},{sync:!1,once:!0},t??p)])})}(e,f,t)}function p(e){return!0}function f(e){return!!e}n(80559);const g={sync:!0},y={initial:!0},m={sync:!0,initial:!0}},83027(e,t,n){n.d(t,{h:()=>i});const i=n(29953).ho},35982(e,t,n){n.d(t,{B:()=>c});var i=n(4576),r=n(71511),s=n(36563),l=n(53966),o=n(97768),a=n(17676),u=n(83027);class c{constructor(e,t,n,i,r={}){this._mainMethod=t,this._transferLists=n,this._listeners=[],this._onClientConnectedHandle=null,this._destroyed=!1,this._promise=(0,u.h)(e,{...r,schedule:i}).then(e=>{null!=this._thread||this._destroyed?e.close():(this._thread=e,this._promise=null,this._onClientConnectedHandle=this._thread.onClientConnected(e=>{r.hasInitialize&&e.invoke("initialize",{});for(const t of this._listeners)this._connectListenerToClient(t,e);this._onClientConnected(e)}))}),this._promise.catch(t=>l.A.getLogger("esri.core.workers.WorkerHandle").error(`Failed to initialize ${e} worker: ${t}`))}on(e,t){const n=new h(e,t);return this._listeners.push(n),this._connectListener(n),(0,s.hA)(()=>{(0,i.TF)(this._listeners,n),n.destroy()})}[Symbol.dispose](){this.destroy()}destroy(){this._onClientConnectedHandle=(0,o.xt)(this._onClientConnectedHandle),this._thread&&(this._thread.close(),this._thread=null),this._promise=null;for(const e of this._listeners)e.destroy();this._listeners.length=0,this._transferLists={},this._destroyed=!0}invoke(e,t,n){return this.invokeMethod(this._mainMethod,e,t,n)}invokeMethod(e,t,n,i){if(this._thread){const r=this._transferLists[e],s=r?r(t):[];return this._thread.invoke(e,t,{transferList:s,signal:n,jobPriority:i})}return this._promise?this._promise.then(()=>((0,a.Te)(n),this.invokeMethod(e,t,n))):Promise.reject((0,a.NK)())}broadcast(e,t){return this._thread?Promise.all(this._thread.broadcast(t,e)).then(d):this._promise?this._promise.then(()=>this.broadcast(e,t)):Promise.reject((0,a.NK)())}get promise(){return this._promise}_onClientConnected(e){}_connectListener(e){this._thread&&e.add(this._thread.on(e.eventName,e.callback))}_connectListenerToClient(e,t){e.add(t.on(e.eventName,e.callback))}}class h{constructor(e,t){this.eventName=e,this.callback=t,this._handles=new r.A}add(e){this._handles.add(e)}destroy(){this._handles.destroy()}}function d(){}},54239(e,t,n){n.d(t,{A:()=>m});var i,r=n(5482),s=n(4576),l=n(66552),o=n(25482),a=n(86211),u=n(67076),c=n(91429),h=n(97348),d=n(43937),p=n(36005);const f=(0,l.O)()({orthometric:"gravity-related-height",gravity_related_height:"gravity-related-height",ellipsoidal:"ellipsoidal"}),g=f.jsonValues.slice();(0,s.Xy)(g,"orthometric");const y=(0,l.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 m=i=class extends o.o{constructor(e){super(e),this.heightModel="gravity-related-height",this.heightUnit="meters",this.vertCRS=null}writeHeightModel(e,t,n){return f.write(e,t,n)}readHeightModel(e,t,n){return f.read(e)||(n?.messages&&n.messages.push(function(e,t){return new u.A("height-model:unsupported",`Height model of value '${e}' is not supported`,t)}(e,{context:n})),null)}readHeightUnit(e,t,n){return y.read(e)||(n?.messages&&n.messages.push(v(e,{context:n})),null)}readHeightUnitService(e,t,n){return(0,a.LA)(e)||y.read(e)||(n?.messages&&n.messages.push(v(e,{context:n})),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 n=(0,a.k1)(t);return new i({heightModel:e.heightModel,heightUnit:n??void 0,vertCRS:e.vertCRS})}static fromSpatialReference(e){const{latestVcsWkid:t,vcsWkid:n}=e;if(!n)return null;const r=(null!=t?h.B.get(t):null)??h.B.get(n);return r?new i({heightModel:0===r.type?"gravity-related-height":"ellipsoidal",heightUnit:(0,a.LA)(r.unit.name),vertCRS:r.datum}):null}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 v(e,t){return new u.A("height-unit:unsupported",`Height unit of value '${e}' is not supported`,t)}(0,r.Cg)([(0,c.MZ)({type:f.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:g,default:"ellipsoidal",write:{isRequired:!0}}}}})],m.prototype,"heightModel",void 0),(0,r.Cg)([(0,d.K)("web-scene","heightModel")],m.prototype,"writeHeightModel",null),(0,r.Cg)([(0,p.w)(["web-scene","service"],"heightModel")],m.prototype,"readHeightModel",null),(0,r.Cg)([(0,c.MZ)({type:y.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:y.jsonValues,write:{writer:y.write,isRequired:!0}}}}})],m.prototype,"heightUnit",void 0),(0,r.Cg)([(0,p.w)("web-scene","heightUnit")],m.prototype,"readHeightUnit",null),(0,r.Cg)([(0,p.w)("service","heightUnit")],m.prototype,"readHeightUnitService",null),(0,r.Cg)([(0,c.MZ)({type:String,constructOnly:!0,json:{origins:{"web-scene":{write:!0}}}})],m.prototype,"vertCRS",void 0),(0,r.Cg)([(0,p.w)("service","vertCRS",["vertCRS","ellipsoid","geoid"])],m.prototype,"readVertCRS",null),m=i=(0,r.Cg)([(0,c.$K)("esri.geometry.HeightModelInfo")],m)},159(e,t,n){n.d(t,{A:()=>u});var i,r=n(5482),s=n(69540),l=n(25482),o=n(91429),a=n(99157);let u=i=class extends((0,s.OU)(l.o)){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,o.MZ)({type:[a.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=i=(0,r.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,n){n.d(t,{A:()=>a});var i,r=n(5482),s=n(69540),l=n(25482),o=n(91429);let a=i=class extends((0,s.OU)(l.o)){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,o.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,n)=>{t[n]=!e}}})],a.prototype,"isInverse",void 0),(0,r.Cg)([(0,o.MZ)({json:{write:!0}})],a.prototype,"wkt",void 0),(0,r.Cg)([(0,o.MZ)({json:{write:!0}})],a.prototype,"wkid",void 0),a=i=(0,r.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>r});var i=n(49208);function r(e,t,n,r,s,l,o=Math.floor(e.length/3)){const a=(0,i.jd)(t,s);if(null==a)return!1;if(a===i.pO){if(e===r&&n===l)return!0;const t=n+3*o;for(let i=n,s=l;i<t;i++,s++)r[s]=e[i]??0;return!0}const u=n+3*o;for(let t=n,i=l;t<u;t+=3,i+=3)a(e,t,r,i);return!0}},49208(e,t,n){n.d(t,{Tp:()=>h,jd:()=>c,pO:()=>p,w5:()=>u});var i=n(34727),r=n(86211),s=n(73941),l=n(79258),o=n(34403),a=n(21325);const u={2:{5:p,7:null,9:null,10:p,1:w,6:null,8:null,0:null,3:g,11:y,2:p,4:S},5:{5:p,7:null,9:null,10:p,1:w,6:null,8:null,0:null,3:g,11:y,2:p,4:S},7:{5:null,7:p,9:null,10:p,1:null,6:b,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:p,10:p,1:null,6:null,8:_,0:null,3:null,11:null,2:null,4:null},3:{5:f,7:null,9:null,10:f,1:function(e,t,n,i){const r=e[t]/P,s=O-2*Math.atan(Math.exp(-e[t+1]/P)),l=P+(e[t+2]??0),o=Math.cos(s)*l;n[i]=Math.cos(r)*o,n[i+1]=Math.sin(r)*o,n[i+2]=Math.sin(s)*l},6:null,8:null,0:null,3:p,11:function(e,t,n,i){f(e,t,n,i),y(n,i,n,i)},2:f,4:function(e,t,n,i){f(e,t,n,i),S(n,i,n,i)}},4:{5:T,7:null,9:null,10:T,1:function(e,t,n,i){T(e,t,n,i),w(n,i,n,i)},6:null,8:null,0:null,3:function(e,t,n,i){T(e,t,n,i),g(n,i,n,i)},11:function(e,t,n,i){T(e,t,n,i),y(n,i,n,i)},2:T,4:p},1:{5:I,7:null,9:null,10:I,1:p,6:null,8:null,0:null,3:function(e,t,n,i){I(e,t,n,i),g(n,i,n,i)},11:function(e,t,n,i){I(e,t,n,i),y(n,i,n,i)},2:I,4:function(e,t,n,i){I(e,t,n,i),S(n,i,n,i)}},6:{5:null,7:A,9:null,10:A,1:null,6:p,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:M,10:M,1:null,6:null,8:p,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:p,3:null,11:null,2:null,4:null},10:{5:p,7:p,9:p,10:p,1:w,6:b,8:_,0:null,3:g,11:y,2:p,4:S},11:{5:m,7:null,9:null,10:m,1:function(e,t,n,i){m(e,t,n,i),w(n,i,n,i)},6:null,8:null,0:null,3:function(e,t,n,i){m(e,t,n,i),g(n,i,n,i)},11:p,2:m,4:function(e,t,n,i){m(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(L.source.spatialReference===e&&L.dest.spatialReference===t)return L;const n=d(e,L.source),i=d(t,L.dest);return 0===n&&0===i?(0,a.aI)(e,t)?L.projector=p:L.projector=null:L.projector=u[n][i],L}function d(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,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 p(e,t,n,i){e!==n&&(n[i++]=e[t++],n[i++]=e[t++],n[i]=e[t]??0)}function f(e,t,n,i){n[i]=E*(e[t]/P),n[i+1]=E*(O-2*Math.atan(Math.exp(-e[t+1]/P))),n[i+2]=e[t+2]??0}function g(e,t,n,r){!function(e,t,n,r,s){const l=.4999999*Math.PI,o=(0,i.qE)(x*e[t+1],-l,l),a=Math.sin(o);n[r++]=x*e[t]*s.radius,n[r++]=s.halfSemiMajorAxis*Math.log((1+a)/(1-a)),n[r]=e[t+2]??0}(e,t,n,r,l.$O)}function y(e,t,n,i){n[i]=e[t]*R,n[i+1]=e[t+1]*R,n[i+2]=e[t+2]??0}function m(e,t,n,i){n[i]=e[t]*U,n[i+1]=e[t+1]*U,n[i+2]=e[t+2]??0}function v(e,t,n,i,r){const s=r+(e[t+2]??0),l=x*e[t],o=x*e[t+1],a=Math.cos(o)*s;n[i]=Math.cos(l)*a,n[i+1]=Math.sin(l)*a,n[i+2]=Math.sin(o)*s}function _(e,t,n,i){v(e,t,n,i,l.Sw.radius)}function b(e,t,n,i){v(e,t,n,i,l.sH.radius)}function w(e,t,n,i){v(e,t,n,i,l.$O.radius)}function C(e,t,n,r,s){const l=e[t],o=e[t+1],a=e[t+2]??0,u=Math.sqrt(l*l+o*o+a*a),c=(0,i.YN)(a/(0===u?1:u)),h=Math.atan2(o,l);n[r++]=E*h,n[r++]=E*c,n[r]=u-s}function M(e,t,n,i){C(e,t,n,i,l.Sw.radius)}function A(e,t,n,i){C(e,t,n,i,l.sH.radius)}function I(e,t,n,i){C(e,t,n,i,l.$O.radius)}function S(e,t,n,i){!function(e,t,n,i,r){const s=x*e[t],l=x*e[t+1],o=e[t+2]??0,a=Math.sin(l),u=Math.cos(l),c=r.radius/Math.sqrt(1-r.eccentricitySquared*a*a);n[i++]=(c+o)*u*Math.cos(s),n[i++]=(c+o)*u*Math.sin(s),n[i++]=(c*(1-r.eccentricitySquared)+o)*a}(e,t,n,i,l.$O)}function T(e,t,n,i){const r=o.TP,s=e[t],a=e[t+1],u=e[t+2]??0;let c,h,d,p,f,g,y,m,v,_,b,w,C,M,A,I,S,T,L,x,O;c=Math.abs(u),h=s*s+a*a,d=Math.sqrt(h),p=h+u*u,f=Math.sqrt(p),x=Math.atan2(a,s),g=u*u/p,y=h/p,M=r.a2/f,A=r.a3-r.a4/f,y>.3?(m=c/f*(1+y*(r.a1+M+g*A)/f),L=Math.asin(m),_=m*m,v=Math.sqrt(1-_)):(v=d/f*(1-g*(r.a5-M-y*A)/f),L=Math.acos(v),_=1-v*v,m=Math.sqrt(_)),b=1-l.$O.eccentricitySquared*_,w=l.$O.radius/Math.sqrt(b),C=r.a6*w,M=d-w*v,A=c-C*m,S=v*M+m*A,I=v*A-m*M,T=I/(C/b+S),L+=T,O=S+I*T/2,u<0&&(L=-L),n[i++]=E*x,n[i++]=E*L,n[i]=O}const L={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:p},x=(0,i.kU)(1),E=(0,i.KJ)(1),O=.5*Math.PI,P=l.$O.radius,R=P*Math.PI/180,U=180/(P*Math.PI)},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>z,initializeProjection:()=>F,isEqualBaseGCS:()=>K,isLoaded:()=>P,isLoadedOrLoad:()=>R,isLoadedOrLoadFor:()=>U,load:()=>j,project:()=>D,projectAsync:()=>G,projectExtent:()=>re,projectMany:()=>Z,projectMultipoint:()=>Q,projectOrLoad:()=>q,projectOrLoadMany:()=>B,projectPoint:()=>Y,projectPolygon:()=>ne,projectPolyline:()=>ee,projectWithoutEngine:()=>W,requiresLoad:()=>k,test:()=>H,tryProject:()=>$,unload:()=>V});var i=n(49186),r=n(17676),s=n(62788),l=n(95488),o=n(51850),a=n(21276),u=n(73941),c=n(5443),h=n(91075),d=n(48526),p=n(86738),f=n(39829),g=n(82799),y=n(16930),m=n(98764),v=n(159),_=n(9762),b=n(49208);function w(e,t,n,i,r,s){return C[0]=e,C[1]=t,C[2]=n,(0,_.projectBuffer)(C,i,0,r,s,0)}const C=(0,o.vt)();var M=n(60408),A=n(21325),I=n(52006);let S=null,T=null,L=null,x=null,E={};const O=new l.I;function P(){return!!(T?.isLoaded()&&L?.isLoaded()&&x?.isLoaded())}function R(){return!!P()||((0,s.gc)(O),j(),!1)}function U(e,t){return!e||!t||z(e,t)||R()}function k(e,t){return!z(e,t)&&!P()}async function j(e){null==S&&(S=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(T=e,T.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(L=e,L.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(x=e,x.load()))])),await S,(0,r.Te)(e),O.notify()}function D(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),Z(e,e[0].spatialReference,t,n)):((0,a.f)(e),Z([e],e.spatialReference,t,n)[0])}function Z(e,t,n,i){if(null==t||null==n)return e;if(z(t,n,i))return e.map(e=>W(e,t,n));if(null==i?.geographicTransformation&&(0,u.jA)(t))return Z(e.map(e=>W(e,t,y.A.WGS84)),y.A.WGS84,n,{zConversionDisabled:i?.zConversionDisabled});if(null==i?.geographicTransformation&&(0,u.jA)(n))return Z(e,t,y.A.WGS84).map(e=>W(e,y.A.WGS84,n));if(!P())throw new N;if(!i?.geographicTransformation)if(i?.extendedParams)i={...i,geographicTransformation:x.getTransformation(t,n,i.areaOfInterestExtent)||new v.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=x.getTransformation(t,n)||new v.A,E[e]=r),i={geographicTransformation:r,zConversionDisabled:i?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof h.A?T.executeMany(e,n,i):L.executeMany(e,n,i)}function $(e,t,n){try{return D(e,t,n)}catch(e){return null}}function q(e,t){const n=B([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 B(e,t,n){if(!P())for(const n of e)if(null!=n&&!(0,A.aI)(n.spatialReference,t)&&(0,A.fn)(n.spatialReference)&&(0,A.fn)(t)&&!z(n.spatialReference,t))return(0,s.gc)(O),{pending:j(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,A.aI)(e.spatialReference,t)?e:(0,A.fn)(e.spatialReference)&&(0,A.fn)(t)?D(e,t,n):null)}}class N extends i.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function V(){S=null,T=null,L=null,x=null,E={}}const H={get loadPromise(){return S}};async function G(e,t,n){if((0,r.Te)(n),!e)return e;const i=B(Array.isArray(e)?e:[e],t,n);if(i.pending)return await i.pending,(0,r.Te)(n),G(e,t,n);const s=i.geometries??[];return Array.isArray(e)?s:s[0]}function z(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,A.aI)(e,t)||(0,A.fn)(e)&&(0,A.fn)(t)&&!!(0,b.jd)(e,t))}function K(e,t){if((0,A.aI)(e,t))return!0;if(!(0,A.fn)(e)||!(0,A.fn)(t))return!1;const n=(0,A.oT)(e)||(0,A.K8)(e)||(0,A.x1)(e),i=(0,A.oT)(t)||(0,A.K8)(t)||(0,A.x1)(t);return n&&i}async function F(e,t,n,i){if(P())return(0,r.NO)(i);if(Array.isArray(e)){for(const{source:t,dest:n,options:r}of e)if(t&&n&&!z(t,n,r))return j(i)}else if(e&&t&&!z(e,t,n))return j(i);return(0,r.NO)(i)}function W(e,t,n){return e?(0,M.fT)(e)?J(e,t,new p.A,n,0):(0,M.ZC)(e)?se(e,t,new c.A,n,0):(0,M.Bi)(e)?ie(e,t,new f.A,n,0):(0,M.Rg)(e)?te(e,t,new g.A,n,0):(0,M.U9)(e)?X(e,t,new d.A,n,0):null:null}function Y(e,t,n=t.spatialReference,i=0){return null!=n&&null!=e.spatialReference&&null!=J(e,e.spatialReference,t,n,i)}function J(e,t,n,i,r){ue[0]=e.x,ue[1]=e.y;const s=e.z;return ue[2]=void 0!==s?s:r,(0,_.projectBuffer)(ue,t,0,ue,i,0)?(n.x=ue[0],n.y=ue[1],n.spatialReference=i,void 0!==s||(0,u.xP)(i)?(n.z=ue[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 Q(e,t,n=t.spatialReference,i=0){return null!=e.spatialReference&&null!=n&&null!=X(e,e.spatialReference,t,n,i)}function X(e,t,n,i,r){const{points:s,hasZ:l,hasM:o}=e,a=[],u=s.length,c=[];for(const e of s)c.push(e[0],e[1],l?e[2]:r);if(!(0,_.projectBuffer)(c,t,0,c,i,0,u))return null;const h=ae(l,i);for(let e=0;e<u;++e){const t=3*e,n=c[t],i=c[t+1];h&&o?a.push([n,i,c[t+2],s[e][3]]):h?a.push([n,i,c[t+2]]):o?a.push([n,i,s[e][2]]):a.push([n,i])}return n.points=a,n.spatialReference=i,n.hasZ=l,n.hasM=o,n}function ee(e,t,n=t.spatialReference,i=0){return null!=e.spatialReference&&null!=n&&null!=te(e,e.spatialReference,t,n,i)}function te(e,t,n,i,r){const{curvePaths:s,paths:l,hasZ:o,hasM:a}=e;if(!(s?oe(s,o??!1,a??!1,t,n.curvePaths=[],i,r):le(l,o??!1,a??!1,t,n.paths,i,r)))return null;const u=ae(o,i);return n.spatialReference=i,n.hasZ=u,n.hasM=a,n}function ne(e,t,n=t.spatialReference,i=0){return null!=e.spatialReference&&null!=n&&null!=ie(e,e.spatialReference,t,n,i)}function ie(e,t,n,i,r){const{curveRings:s,rings:l,hasZ:o,hasM:a}=e;return(s?oe(s,o??!1,a??!1,t,n.curveRings=[],i,r):le(l,o??!1,a??!1,t,n.rings,i,r))?(n.spatialReference=i,n.hasZ=ae(o,i),n.hasM=a,n):null}function re(e,t,n=t.spatialReference,i=0){return null!=e.spatialReference&&null!=n&&null!=se(e,e.spatialReference,t,n,i)}function se(e,t,n,i,r){const{xmin:s,ymin:l,xmax:o,ymax:a,hasZ:u,hasM:c}=e;if(!w(s,l,u?e.zmin:r,t,ue,i))return null;const h=ae(u,i);return n.xmin=ue[0],n.ymin=ue[1],h&&(n.zmin=ue[2]),w(o,a,u?e.zmax:r,t,ue,i)?(n.xmax=ue[0],n.ymax=ue[1],h&&(n.zmax=ue[2]),c&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=i,n):null}function le(e,t,n,i,r,s,l=0){const o=new Array;for(const n of e)for(const e of n)o.push(e[0],e[1],t?e[2]:l);if(!(0,_.projectBuffer)(o,i,0,o,s,0))return!1;let a=0;r.length=0;const u=t?3:2,c=ae(t,s);for(const t of e){const e=new Array;for(const i of t){const t=o.slice(a,a+=3);c||t.pop(),n&&t.push(i[u]),e.push(t)}r.push(e)}return!0}function oe(e,t,n,i,r,s,l=0){const o=new Array;for(const n of e)for(const e of n){if((0,I.FG)(e))return!1;if((0,I.aO)(e)){const[n,i]=e.c;o.push(n[0],n[1],t?n[2]:l,i[0],i[1],l);continue}if((0,I.n1)(e)){const[n,i,r]=e.b;o.push(n[0],n[1],t?n[2]:l,i[0],i[1],l,r[0],r[1],l);continue}const n=e;o.push(n[0],n[1],t?n[2]:l)}if(!(0,_.projectBuffer)(o,i,0,o,s,0))return!1;let a=0;r.length=0;const u=t?3:2,c=ae(t,s);for(const t of e){const e=new Array;for(const i of t){const t=o.slice(a,a+=3);if(c||t.pop(),n&&t.push((0,I.yP)(i)[u]),(0,I.FG)(i))return!1;if((0,I.aO)(i)){const n=o[a++],i=o[a++];++a,e.push({c:[t,[n,i]]});continue}if((0,I.n1)(i)){const n=o[a++],i=o[a++];++a;const r=o[a++],s=o[a++];++a,e.push({b:[t,[n,i],[r,s]]});continue}e.push(t)}r.push(e)}return!0}function ae(e,t){return e||(0,u.xP)(t)||(0,A.aI)(t,m.Y0)}const ue=(0,o.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),o=new r.A(i.FY),a=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===o)n=o;else if(e===a)n=a;else{const t=e.wkid,i=e.latestWkid;if(null!=t||null!=i)(0,s.tl)(t)||(0,s.tl)(i)?n=o:((0,s.ZL)(t)||(0,s.ZL)(i))&&(n=a);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===d?n=o:e===p&&(n=a)}}}return h.set(e,n),n}const h=new Map,d=o.wkt.toUpperCase(),p=a.wkt.toUpperCase()},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},38732(e,t,n){n.r(t),n.d(t,{default:()=>I});var i=n(5482),r=n(11254),s=n(49186),l=n(97768),o=n(25728),a=n(17676),u=n(84952),c=n(91429),h=n(54239),d=n(4146),p=n(89186),f=n(18768),g=n(34287),y=n(8303),m=n(10873),v=n(87378),_=n(35982);class b extends _.B{constructor(e=null){super("LercWorker","_decode",{_decode:e=>[e.buffer]},e,{strategy:"dedicated"}),this.schedule=e,this.ref=0}decode(e,t,n){return e&&0!==e.byteLength?this.invoke({buffer:e,options:t},n):Promise.resolve(null)}release(){--this.ref<=0&&(w.forEach((e,t)=>{e===this&&w.delete(t)}),this.destroy())}}const w=new Map;var C=n(36005);let M=class extends((0,p.f)((0,f.b)((0,g.q)((0,y.A)((0,o.M)(d.A)))))){constructor(...e){super(...e),this.capabilities={operations:{supportsTileMap:!1}},this.copyright=null,this.heightModelInfo=null,this.path=null,this.minScale=void 0,this.maxScale=void 0,this.opacity=1,this.operationalLayerType="ArcGISTiledElevationServiceLayer",this.sourceJSON=null,this.type="elevation",this.url=null,this.version=null,this._lercDecoder=function(e=null){let t=w.get(e);return t||(null!=e?(t=new b(t=>e.immediate.schedule(t)),w.set(e,t)):(t=new b,w.set(null,t))),++t.ref,t}()}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}destroy(){this._lercDecoder=(0,l.Gz)(this._lercDecoder)}readCapabilities(e,t){const n=t.capabilities&&t.capabilities.split(",").map(e=>e.toLowerCase().trim());return n?{operations:{supportsTileMap:n.includes("tilemap")}}:{operations:{supportsTileMap:!1}}}readVersion(e,t){let n=t.currentVersion;return n||(n=9.3),n}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Image Service"],supportsData:!1,validateItem:e=>{if(e.typeKeywords)for(let t=0;t<e.typeKeywords.length;t++)if("elevation 3d layer"===e.typeKeywords[t].toLowerCase())return!0;throw new s.A("portal:invalid-layer-item-type","Invalid layer item type '${type}', expected '${expectedType}' ",{type:"Image Service",expectedType:"Image Service Elevation 3D Layer"})}},e).catch(a.QP).then(()=>this._fetchImageService(t))),Promise.resolve(this)}async fetchTile(e,t,n,i){const l=i?.signal,o={responseType:"array-buffer",signal:l,useQueue:i?.useQueue,priority:i?.priority},a={noDataValue:i?.noDataValue,returnFileInfo:!0};await this.load(),await this._fetchTileAvailability(e,t,n,i);const u=await(0,r.A)(this.getTileUrl(e,t,n),o),c=await this._lercDecoder.decode(u.data,a,l);if(!c)throw new s.A("elevation-layer:tile-decode-failed","Failed to decode elevation tile data.");return new v.A({values:c.pixelData,width:c.width,height:c.height,noDataValue:c.noDataValue})}getTileUrl(e,t,n){const i=!this.capabilities.operations.supportsTileMap&&this.supportsBlankTile,r=(0,u.x0)({...this.parsedUrl.query,blankTile:!i&&null});return`${this.parsedUrl.path}/tile/${e}/${t}/${n}${r?"?"+r:""}`}async queryElevation(e,t){const{query:i}=await n.e(91).then(n.bind(n,90091));return(0,a.Te)(t),i(this,e,t)}async createElevationSampler(e,t){const{createSampler:i}=await n.e(91).then(n.bind(n,90091));return(0,a.Te)(t),i(this,e,t)}_fetchTileAvailability(e,t,n,i){return this.tilemapCache?this.tilemapCache.fetchAvailability(e,t,n,i):Promise.resolve("unknown")}async _fetchImageService(e){if(this.sourceJSON)return this.sourceJSON;const t={query:{f:"json",...this.parsedUrl.query},responseType:"json",signal:e},n=await(0,r.A)(this.parsedUrl.path,t);n.ssl&&(this.url=this.url?.replace(/^http:/i,"https:")),this.sourceJSON=n.data,this.read(n.data,{origin:"service",url:this.parsedUrl})}get hasOverriddenFetchTile(){return!this.fetchTile[A]}};(0,i.Cg)([(0,c.MZ)({readOnly:!0})],M.prototype,"capabilities",void 0),(0,i.Cg)([(0,C.w)("service","capabilities",["capabilities"])],M.prototype,"readCapabilities",null),(0,i.Cg)([(0,c.MZ)({json:{read:{source:"copyrightText"}}})],M.prototype,"copyright",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0,type:h.A})],M.prototype,"heightModelInfo",void 0),(0,i.Cg)([(0,c.MZ)({type:String,json:{origins:{"web-scene":{read:!0,write:!0}},read:!1}})],M.prototype,"path",void 0),(0,i.Cg)([(0,c.MZ)({type:["show","hide"]})],M.prototype,"listMode",void 0),(0,i.Cg)([(0,c.MZ)({json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}},readOnly:!0})],M.prototype,"minScale",void 0),(0,i.Cg)([(0,c.MZ)({json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}},readOnly:!0})],M.prototype,"maxScale",void 0),(0,i.Cg)([(0,c.MZ)({json:{read:!1,write:!1,origins:{"web-document":{read:!1,write:!1}}}})],M.prototype,"opacity",void 0),(0,i.Cg)([(0,c.MZ)({type:["ArcGISTiledElevationServiceLayer"]})],M.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,c.MZ)()],M.prototype,"sourceJSON",void 0),(0,i.Cg)([(0,c.MZ)({json:{read:!1},value:"elevation",readOnly:!0})],M.prototype,"type",void 0),(0,i.Cg)([(0,c.MZ)(m.OZ)],M.prototype,"url",void 0),(0,i.Cg)([(0,c.MZ)()],M.prototype,"version",void 0),(0,i.Cg)([(0,C.w)("version",["currentVersion"])],M.prototype,"readVersion",null),M=(0,i.Cg)([(0,c.$K)("esri.layers.ElevationLayer")],M);const A=Symbol("default-fetch-tile");M.prototype.fetchTile[A]=!0;const I=M},4146(e,t,n){n.d(t,{A:()=>v});var i=n(5482),r=n(11254),s=n(49186),l=n(65529),o=n(4902),a=n(92474),u=n(53966),c=n(17676),h=n(84952),d=n(91429),p=n(5443),f=n(16930),g=n(92602),y=n(79677);let m=0,v=class extends((0,l.Zt)((0,o.s)(a.x_))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new p.A(-180,-90,180,90,f.A.WGS84),this.id=Date.now().toString(16)+"-layer-"+m++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.persistenceEnabled=!1,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=f.A.WGS84,this.title=null,this.type=null,this.url=null,this.visibilityTimeExtent=null,this.visible=!0}static async fromArcGISServerUrl(e){const t="string"==typeof e?{url:e}:e;return(await Promise.all([n.e(812),n.e(7982)]).then(n.bind(n,27982))).fromUrl(t)}static fromPortalItem(e){return async function(e){const t="portalItem"in e?e:{portalItem:e},{fromItem:i}=await Promise.all([n.e(812),n.e(5613),n.e(909)]).then(n.bind(n,45613));try{return await i(t)}catch(e){const n=t?.portalItem,i=n?.id||"unset",r=n?.portal?.url||g.A.portalUrl;throw u.A.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+r+"', id: '"+i+"')",e),e}}(e)}initialize(){this.when().catch(e=>{(0,c.zf)(e)||u.A.getLogger(this).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:e})})}destroy(){const{parent:e}=this;e&&(this.parent=null,e.removeChildLayer?.(this))}get effectiveVisible(){return this.visible&&(this.parent?.effectiveVisible??!0)}get hasAttributionData(){return null!=this.attributionDataUrl}get loaded(){return super.loaded}removeFromParent(){const{parent:e}=this;e&&(e.removeChildLayer?.(this),this.parent=null)}get parsedUrl(){return(0,h.An)(this.url)}createLayerView(e,t){return Promise.reject(new s.A("layer:create-layer-view","Layer does not support creating a layer view"))}async fetchAttributionData(){const e=this.attributionDataUrl;if(this.hasAttributionData&&e)return(await(0,r.A)(e,{query:{f:"json"},responseType:"json"})).data;throw new s.A("layer:no-attribution-data","Layer does not have attribution data")}};(0,i.Cg)([(0,d.MZ)({type:String})],v.prototype,"attributionDataUrl",void 0),(0,i.Cg)([(0,d.MZ)({readOnly:!0})],v.prototype,"effectiveVisible",null),(0,i.Cg)([(0,d.MZ)({type:p.A})],v.prototype,"fullExtent",void 0),(0,i.Cg)([(0,d.MZ)({readOnly:!0})],v.prototype,"hasAttributionData",null),(0,i.Cg)([(0,d.MZ)({type:String,clonable:!1})],v.prototype,"id",void 0),(0,i.Cg)([(0,d.MZ)({type:Boolean,nonNullable:!0})],v.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,d.MZ)({type:["show","hide","hide-children"]})],v.prototype,"listMode",void 0),(0,i.Cg)([(0,d.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0})],v.prototype,"opacity",void 0),(0,i.Cg)([(0,d.MZ)({clonable:!1})],v.prototype,"parent",void 0),(0,i.Cg)([(0,d.MZ)({readOnly:!0})],v.prototype,"parsedUrl",null),(0,i.Cg)([(0,d.MZ)({type:Boolean,readOnly:!0})],v.prototype,"persistenceEnabled",void 0),(0,i.Cg)([(0,d.MZ)({type:Boolean})],v.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,d.MZ)({type:Boolean})],v.prototype,"attributionVisible",void 0),(0,i.Cg)([(0,d.MZ)({type:f.A})],v.prototype,"spatialReference",void 0),(0,i.Cg)([(0,d.MZ)({type:String})],v.prototype,"title",void 0),(0,i.Cg)([(0,d.MZ)({readOnly:!0,json:{read:!1}})],v.prototype,"type",void 0),(0,i.Cg)([(0,d.MZ)()],v.prototype,"url",void 0),(0,i.Cg)([(0,d.MZ)({type:y.A})],v.prototype,"visibilityTimeExtent",void 0),(0,i.Cg)([(0,d.MZ)({type:Boolean,nonNullable:!0})],v.prototype,"visible",void 0),v=(0,i.Cg)([(0,d.$K)("esri.layers.Layer")],v)},89186(e,t,n){n.d(t,{f:()=>c});var i=n(5482),r=n(91429),s=n(16930),l=n(87045),o=n(65509),a=n(25943),u=n(36005);const c=e=>{const t=e;let n=class extends t{constructor(){super(...arguments),this.copyright=null,this.minScale=0,this.maxScale=0,this.spatialReference=null,this.tileInfo=null,this.tilemapCache=null}destroy(){this.tilemapCache?.destroy?.()}readMinScale(e,t){return null!=t.minLOD&&null!=t.maxLOD?e:0}readMaxScale(e,t){return null!=t.minLOD&&null!=t.maxLOD?e:0}get supportsBlankTile(){return this.version>=10.2}readTilemapCache(e,t,n){const i=t.capabilities?.toLowerCase().includes("tilemap");let{minLOD:r,maxLOD:s,minScale:u,maxScale:c}=t;if(null==r&&null==s&&(0!==u||0!==c)){const e=e=>Math.round(1e4*e)/1e4;u=e(u||t.tileInfo.lods[0].scale),c=e(c||t.tileInfo.lods[t.tileInfo.lods.length-1].scale);for(const n of t.tileInfo.lods){const t=e(n.scale);r=t>=u?n.level:r,s=t>=c?n.level:s}}if(i)return new a.d({layer:this,minLOD:r,maxLOD:s});if(t.tileInfo){const e=new l.A;return e.read(t.tileInfo,n),new o.A(e,r,s)}return null}};return(0,i.Cg)([(0,r.MZ)({json:{read:{source:"copyrightText"}}})],n.prototype,"copyright",void 0),(0,i.Cg)([(0,r.MZ)()],n.prototype,"minScale",void 0),(0,i.Cg)([(0,u.w)("service","minScale")],n.prototype,"readMinScale",null),(0,i.Cg)([(0,r.MZ)()],n.prototype,"maxScale",void 0),(0,i.Cg)([(0,u.w)("service","maxScale")],n.prototype,"readMaxScale",null),(0,i.Cg)([(0,r.MZ)({type:s.A})],n.prototype,"spatialReference",void 0),(0,i.Cg)([(0,r.MZ)({readOnly:!0})],n.prototype,"supportsBlankTile",null),(0,i.Cg)([(0,r.MZ)({type:l.A})],n.prototype,"tileInfo",void 0),(0,i.Cg)([(0,r.MZ)()],n.prototype,"tilemapCache",void 0),(0,i.Cg)([(0,u.w)("service","tilemapCache",["capabilities","tileInfo"])],n.prototype,"readTilemapCache",null),(0,i.Cg)([(0,r.MZ)()],n.prototype,"version",void 0),n=(0,i.Cg)([(0,r.$K)("esri.layers.mixins.ArcGISCachedService")],n),n}},18768(e,t,n){n.d(t,{b:()=>o});var i=n(5482),r=n(53966),s=n(91429),l=n(60694);const o=e=>{const t=e;let n=class extends t{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,l.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,l.Jf)(e,r.A.getLogger(this)))}};return(0,i.Cg)([(0,s.MZ)()],n.prototype,"title",null),(0,i.Cg)([(0,s.MZ)({type:String})],n.prototype,"url",null),n=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.ArcGISService")],n),n}},8303(e,t,n){n.d(t,{A:()=>C});var i=n(5482),r=n(92602),s=n(70333),l=n(11254),o=n(60999),a=n(49186),u=n(36563),c=n(53966),h=n(97768),d=n(17676),p=n(84952),f=n(91429),g=n(77548),y=n(20655),m=n(80812),v=n(41318),_=n(10407),b=n(36005),w=n(43937);const C=e=>{const t=e;let C=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){super.destroy(),this.portalItem=(0,h.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 m.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,d.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,d.zf)(e)||c.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async reloadFromPortal(e){if(!this.loaded||!this.portalItem?.id)return!1;try{const{reload:t}=await n.e(1204).then(n.bind(n,41204)),i=new AbortController,r=(0,u.rE)(i);return this.addHandles(r,"reloadFromPortal"),await t({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},{signal:i.signal})}catch(e){throw(0,d.zf)(e)||c.A.getLogger(this).warn(`Failed to reload layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}finally{this.removeHandles("reloadFromPortal")}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,d.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,d.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,o;if(r)l=n.portal.url;else try{l=await(0,g.wI)(this.url,t)}catch(e){(0,d.QP)(e)}if(!l||!(0,p.b8)(l,n.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;o=await(s.id?.getCredential(`${l}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,d.QP)(e)}const a=!0,u=!1,c=!1;if(!o)return{features:{edit:a,fullEdit:u},content:{updateItem:c}};try{if(r?await n.reload():(n=new m.default({id:e,portal:{url:l}}),await n.load(t)),n.portal.user)return this._getUserPrivileges(n,i)}catch(e){(0,d.QP)(e)}return{features:{edit:a,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,d.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=M.credential===t?M.user:await this._fetchEditingUser(e);return M.credential=t,M.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=y.A.getDefault();if(r&&r.loaded&&(0,p.S8)(r.restUrl)===(0,p.S8)(i))return r.user;const a=`${i}/community/self`,u=null!=e?e.signal:null,c=await(0,o.Ke)((0,l.A)(a,{authMode:"no-prompt",query:{f:"json"},signal:u}));return c.ok?v.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||y.A.getDefault());return n&&i&&!(0,p.ut)(i.restUrl,n.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,i.Cg)([(0,f.MZ)({type:m.default})],C.prototype,"portalItem",null),(0,i.Cg)([(0,b.w)("web-document","portalItem",["itemId"])],C.prototype,"readPortalItem",null),(0,i.Cg)([(0,w.K)("web-document","portalItem",{itemId:{type:String}})],C.prototype,"writePortalItem",null),(0,i.Cg)([(0,f.MZ)({clonable:!1})],C.prototype,"resourceReferences",void 0),(0,i.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],C.prototype,"userHasEditingPrivileges",void 0),(0,i.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],C.prototype,"userHasFullEditingPrivileges",void 0),(0,i.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],C.prototype,"userHasUpdateItemPrivileges",void 0),C=(0,i.Cg)([(0,f.$K)("esri.layers.mixins.PortalLayer")],C),C},M={credential:null,user:null}},87378(e,t,n){n.d(t,{A:()=>o});var i,r=n(34275),s=n(56507);const l=Symbol("ElevationTileDataClass");class o{static{i=l}constructor({values:e,width:t,height:n,noDataValue:s}){this[i]=!0,this._hasNoDataValues=null,this._minValue=null,this._maxValue=null,this.values=(0,r.vZ)(e)?e:new Float32Array(e),this.width=t,this.height=n,this.noDataValue=s}get hasNoDataValues(){if(null==this._hasNoDataValues){const e=this.noDataValue;this._hasNoDataValues=this.values.includes(e)}return this._hasNoDataValues}get minValue(){return this._ensureBounds(),this._minValue}get maxValue(){return this._ensureBounds(),this._maxValue}get usedMemory(){return this.values.byteLength+256}_ensureBounds(){if(null!=this._minValue)return;const{noDataValue:e,values:t}=this;let n=1/0,i=-1/0,r=!0;for(const s of t)s===e?this._hasNoDataValues=!0:(n=s<n?s:n,i=s>i?s:i,r=!1);r?(this._minValue=0,this._maxValue=0):(this._minValue=n,this._maxValue=i>-3e38?i:0)}static{this.from=(0,s.qf)(o)}}},65509(e,t,n){n.d(t,{A:()=>s});var i=n(49186),r=n(17676);class s{constructor(e,t=0,n=e.lods[e.lods.length-1].level){this.tileInfo=e,this.minLOD=t,this.maxLOD=n,e.lodAt(t)||(this.minLOD=e.lods[0].level),e.lodAt(n)||(this.maxLOD=e.lods[e.lods.length-1].level)}get effectiveMinLOD(){return this.minLOD??this.tileInfo.lods[0].level}get effectiveMaxLOD(){return this.maxLOD??this.tileInfo.lods[this.tileInfo.lods.length-1].level}getAvailability(e,t,n){const i=this.tileInfo?.lodAt(e);return!i||e<this.minLOD||e>this.maxLOD?"unavailable":i.cols&&i.rows?n>=i.cols[0]&&n<=i.cols[1]&&t>=i.rows[0]&&t<=i.rows[1]?"unknown":"unavailable":"unknown"}async fetchAvailability(e,t,n,s){await(0,r.NO)(s);const l=this.getAvailability(e,t,n);if("unavailable"===l)throw new i.A("tile-map:tile-unavailable","Tile is not available",{level:e,row:t,col:n});return l}async fetchAvailabilityUpsample(e,t,n,i,s){await(0,r.NO)(s),i.level=e,i.row=t,i.col=n;const l=this.tileInfo;return l.updateTileInfo(i),this.fetchAvailability(e,t,n,s).catch(e=>{if((0,r.zf)(e))throw e;if(l.upsampleTile(i))return this.fetchAvailabilityUpsample(i.level,i.row,i.col,i,s);throw e})}}},77548(e,t,n){n.d(t,{Gh:()=>P,tk:()=>T,BR:()=>S,p2:()=>A,qd:()=>L,wI:()=>I,G$:()=>E,$x:()=>x,Ov:()=>_,cM:()=>d,UC:()=>p,W_:()=>b,Qz:()=>f,OP:()=>O,TU:()=>v,F2:()=>g,XX:()=>m,Qi:()=>w,jy:()=>C});var i=n(70333),r=n(11254),s=n(7762),l=(n(84952),n(36563)),o=n(36708),a=n(4146);const u=new WeakMap;function c(e){return!e.destroyed&&(u.has(e)||e.addHandles([(0,o.wB)(()=>{const{parent:t}=e;return!!(t&&t instanceof a.A)&&("catalog-dynamic-group"===t.type||c(t))},t=>u.set(e,t),o.pc),(0,l.hA)(()=>u.delete(e))]),u.get(e))}function h(e,t){return null!=e&&"object"==typeof e&&"type"in e&&e.type===t}function d(e){return h(e,"knowledge-graph")&&"layers"in e}function p(e){return h(e,"knowledge-graph-sublayer")}function f(e){return h(e,"link-chart")&&"layers"in e}function g(e){return h(e,"subtype-group")&&"sublayers"in e}function y(e){const t=e.parent;return function(e){return"group"===e?.type}(t)&&t.tables.includes(e)}n(16215);const m={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"};function v(e){const t=e?.type;return"building-scene"===t||"integrated-mesh"===t||"point-cloud"===t||"scene"===t}function _(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function b(e){const t=e?.type;return("feature"===t||"subtype-group"===t||"oriented-imagery"===t||"annotation-feature"===t||"dimension-feature"===t)&&"feature-layer"===e?.source?.type}function w(e){return null!=e&&"object"==typeof e&&"featureReduction"in e}function C(e){return function(e){return h(e,"catalog-footprint")}(e)||function(e){return h(e,"feature")}(e)&&function(e){return"feature"===e?.type&&"feature-layer"===e.source?.type}(e)||function(e){return h(e,"oriented-imagery")}(e)||function(e){return"subtype-sublayer"===e?.type}(e)}function M(e){const t=e?.type;return"binning"===t||"cluster"===t}function A(e,t){if(!C(e))return;const n=t?.graphic,i="featureReduction"in e?e.featureReduction:null;if(n){if(n.isAggregate){const e=n.origin;return e&&"featureReductionProvider"in e&&i?M(i)?i:null:void 0}return e}return t?.checkFeatureReduction&&i?M(i)?i:null:e}async function I(e,t){const n=i.id?.findServerInfo(e);if(null!=n?.currentVersion)return n.owningSystemUrl||null;const s=e.toLowerCase().indexOf("/rest/services");if(-1===s)return null;const l=`${e.slice(0,s)}/rest/info`,o=null!=t?t.signal:null,{data:a}=await(0,r.A)(l,{query:{f:"json"},responseType:"json",signal:o});return a?.owningSystemUrl||null}function S(e){return function(e){if(!("capabilities"in e))return!1;switch(e.type){case"catalog":case"catalog-footprint":case"csv":case"feature":case"parquet":case"geojson":case"imagery":case"knowledge-graph-sublayer":case"ogc-feature":case"oriented-imagery":case"scene":case"sublayer":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}(e)?"effectiveCapabilities"in e?e.effectiveCapabilities:e.capabilities:null}function T(e){return!!function(e){if(!("editingEnabled"in e))return!1;switch(e.type){case"csv":case"feature":case"geojson":case"oriented-imagery":case"scene":case"subtype-group":case"subtype-sublayer":case"knowledge-graph-sublayer":return!0;default:return!1}}(e)&&("effectiveEditingEnabled"in e?e.effectiveEditingEnabled:e.editingEnabled)}function L(e){const t=new s.A;for(const n of e.allLayers.concat(e.allTables))c(n)||y(n)||"annotation-feature"===n.type||"dimension-feature"===n.type||("charts"in n&&t.push(n),"subtype-group"===n.type&&t.push(...n.sublayers));return t}function x(e,t){return null}function E(e){return null}function O(e){return!e||"Feature Service"===e.type&&!e.sourceUrl}function P(e,t){if(!t||!O(e))return;const n=(e.url,null);n&&(e.url=n)}},10407(e,t,n){n.d(t,{It:()=>p,LG:()=>l,OM:()=>u,Sm:()=>c,Y:()=>o,bK:()=>a,mm:()=>d,sQ:()=>h});var i=n(91218),r=n(16930),s=n(28735);function l(e,t){if(!o(e,t)){const n=e.typeKeywords;n?n.push(t):e.typeKeywords=[t]}}function o(e,t){return!!e.typeKeywords?.includes(t)}function a(e){return o(e,d.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 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 p(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 o="update"===i||"admin"===i;return o?l=s=!0:l&&(s=!0),{features:{edit:s,fullEdit:l},content:{updateItem:o}}}},73133(e,t,n){n.d(t,{j:()=>i});const i=(0,n(66552).O)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:"unknown"})},16215(e,t,n){n.d(t,{S:()=>r,Y:()=>i});const i=Symbol("BasemapInstance");function r(e){return null!=e&&"object"==typeof e&&i in e}},79677(e,t,n){n.d(t,{A:()=>d});var i,r=n(5482),s=n(25482),l=n(88930),o=n(91429),a=n(98623),u=n(10184),c=n(36005),h=n(43937);let d=class extends s.o{static{i=this}static get allTime(){return p}static get empty(){return f}static fromArray(e){return new i({start:null!=e[0]?new Date(e[0]):e[0],end:null!=e[1]?new Date(e[1]):e[1]})}constructor(e){super(e),this.end=null,this.start=null}readEnd(e,t){return null!=t.end?new Date(t.end):null}writeEnd(e,t){t.end=e?.getTime()??null}get isAllTime(){return this.equals(i.allTime)}get isEmpty(){return this.equals(i.empty)}readStart(e,t){return null!=t.start?new Date(t.start):null}writeStart(e,t){t.start=e?.getTime()??null}clone(){return new i({end:this.end,start:this.start})}equals(e){if(!e)return!1;const t=this.start?.getTime()??this.start,n=this.end?.getTime()??this.end,i=e.start?.getTime()??e.start,r=e.end?.getTime()??e.end;return t===i&&n===r}expandTo(e,t=a.qU){if(this.isEmpty||this.isAllTime||"unknown"===e)return this.clone();let n=this.start;n&&(n=(0,l.lL)(n,new u.A({value:1,unit:e}),t));let r=this.end;if(r){const n=(0,l.lL)(r,new u.A({value:1,unit:e}),t);r=r.getTime()===n.getTime()?n:(0,l.S1)(n,1,e,t)}return new i({start:n,end:r})}intersection(e){if(!e)return this.clone();if(this.isEmpty||e.isEmpty)return i.empty;if(this.isAllTime)return e.clone();if(e.isAllTime)return this.clone();const t=this.start?.getTime()??-1/0,n=this.end?.getTime()??1/0,r=e.start?.getTime()??-1/0,s=e.end?.getTime()??1/0;let l,o;return r>=t&&r<=n?l=r:t>=r&&t<=s&&(l=t),n>=r&&n<=s?o=n:s>=t&&s<=n&&(o=s),null==l||null==o||isNaN(l)||isNaN(o)?i.empty:new i({start:l===-1/0?null:new Date(l),end:o===1/0?null:new Date(o)})}offset(e,t,n=a.qU){if(this.isEmpty||this.isAllTime||"unknown"===t)return this.clone();const r=new i,{start:s,end:o}=this;return null!=s&&(r.start=(0,l.S1)(s,e,t,n)),null!=o&&(r.end=(0,l.S1)(o,e,t,n)),r}toArray(){return this.isEmpty?[void 0,void 0]:[this.start?.getTime()??null,this.end?.getTime()??null]}union(e){if(!e||e.isEmpty)return this.clone();if(this.isEmpty)return e.clone();if(this.isAllTime||e.isAllTime)return p.clone();const t=null!=this.start&&null!=e.start?new Date(Math.min(this.start.getTime(),e.start.getTime())):null,n=null!=this.end&&null!=e.end?new Date(Math.max(this.end.getTime(),e.end.getTime())):null;return new i({start:t,end:n})}};(0,r.Cg)([(0,o.MZ)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"end",void 0),(0,r.Cg)([(0,c.w)("end")],d.prototype,"readEnd",null),(0,r.Cg)([(0,h.K)("end")],d.prototype,"writeEnd",null),(0,r.Cg)([(0,o.MZ)({readOnly:!0,json:{read:!1}})],d.prototype,"isAllTime",null),(0,r.Cg)([(0,o.MZ)({readOnly:!0,json:{read:!1}})],d.prototype,"isEmpty",null),(0,r.Cg)([(0,o.MZ)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"start",void 0),(0,r.Cg)([(0,c.w)("start")],d.prototype,"readStart",null),(0,r.Cg)([(0,h.K)("start")],d.prototype,"writeStart",null),d=i=(0,r.Cg)([(0,o.$K)("esri.time.TimeExtent")],d);const p=new d,f=new d({start:void 0,end:void 0})},10184(e,t,n){n.d(t,{A:()=>c});var i=n(5482),r=n(69540),s=n(25482),l=n(88930),o=n(91429),a=n(73133),u=n(93223);let c=class extends((0,r.OU)(s.o)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,l.t)(this.value,this.unit,"milliseconds")}};(0,i.Cg)([(0,u.e)(a.j,{nonNullable:!0})],c.prototype,"unit",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{write:!0},nonNullable:!0})],c.prototype,"value",void 0),c=(0,i.Cg)([(0,o.$K)("esri.time.TimeInterval")],c)},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))}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1948,6061],{61691(t,e,s){s.d(e,{G:()=>r});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,s){s.d(e,{S:()=>n});var r=s(61691);class n extends r.G{m_aGeoms;m_iGeom=-1;constructor(t){super(),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}}},87992(t,e,s){s.d(e,{JR:()=>S,ME:()=>E,MY:()=>P,NO:()=>M,Nh:()=>O,V2:()=>Y,_s:()=>b,e6:()=>I,gh:()=>_,tr:()=>X,uX:()=>p});var r=s(5482),n=s(69397),i=s(16930),a=(s(70328),s(19419)),o=s(60408),h=s(21325),u=s(513),l=s(50954),g=s(79567),c=s(52006),m=s(49663),f=s(46068),x=s(92722);class p{constructor({type:t,spatialReference:e,vertexCount:s,vertexXY:r,vertexZ:n,vertexM:i,partCount:a,partOffsets:o,partFlags:h,segmentFlags:u,segmentIndices:l,segmentParams:g,segmentCountArc:c,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=s,this.vertexXY=r,this.vertexZ=n,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=h,this.segmentFlags=u,this.segmentIndices=l,this.segmentParams=g,this.segmentCountArc=c,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:s}=this;return t&&t-e-s}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 this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?n.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:s,hasZ:r,hasM:n,segmentCountArc:i,segmentCountBezier:a}=this,o=Y(t,e,s,r,n,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:h,vertexZ:u,vertexM:l}=this;if(o.vertexXY.set(h.subarray(0,2*e),0),o.vertexZ?.set(u.subarray(0,e),0),o.vertexM?.set(l.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,s+1)),o.partOffsets.set(t.subarray(0,s+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:s,segmentParams:r,segmentParamCount:n}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(s.subarray(0,e),0),o.segmentParams.set(r.subarray(0,n),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,h.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 s=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,s)=>Math.abs(t-s)>e||isNaN(t)!==isNaN(s);for(let e=0;e<this.vertexCount;++e)if(s(this.vertexXY[2*e],t.vertexXY[2*e])||s(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(s(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(s(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(s(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new v(this):[][Symbol.iterator]()}}class v{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=R(t),this._segments=new y(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 y{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new C(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 C{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=R(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 s=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[s++],r=e[s++],n=e[s++],i=e[s++];return{b:[this.end,[t,r],[n,i]]}}const r=e[s++],n=e[s++],i=e[s++],a=e[s++],o=e[s++],h=e[s++];s++,s++;const u=e[s++],l=e[s++];if(!Boolean(4&r)&&1===i)return{c:[this.end,[u,l]]};const g=2&r?0:1,c=1&r?0:1;return{a:[this.end,[o,h],g,c,a,n,i]}}}function M(t,e){const s={stack:[],error:void 0,hasError:!1};try{return e??=(0,a.Ie)(),(0,r.mS)(s,new A(t,["vertexZ","vertexM","spatialReference"]),!1),(0,a.bx)(e,function(t){let e;const{vertexCount:s,vertexXY:n,vertexZ:i,vertexM:o}=t,h=F(t);if(t.hasCurves()){const s={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(s,new A(t,["vertexZ","vertexM"]),!1);const n=(0,a.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:s}of e.segments)(0,g.e)(n,t,s),t=(0,c.yP)(s)}const[i,o,u,l]=n;e={xmin:i,ymin:o,xmax:u,ymax:l,spatialReference:h}}catch(t){s.error=t,s.hasError=!0}finally{(0,r.hk)(s)}}else{let t,r,i,a;t=r=1/0,i=a=-1/0;for(let e=0;e<s;++e){const s=n[2*e],o=n[2*e+1];t=Math.min(t,s),i=Math.max(i,s),r=Math.min(r,o),a=Math.max(a,o)}e={xmin:t,ymin:r,xmax:i,ymax:a,spatialReference:h}}if(i){let t=1/0,s=-1/0;for(const e of i)t=Math.min(t,e),s=Math.max(s,e);e.zmin=t,e.zmax=s}if(o){let t=1/0,s=-1/0;for(const e of o)t=Math.min(t,e),s=Math.max(s,e);e.mmin=t,e.mmax=s}return e}(t)),e}catch(t){s.error=t,s.hasError=!0}finally{(0,r.hk)(s)}}function E(t){let e,s,r;if((0,o.fT)(t)){r="point";const{x:n,y:i,z:a,m:o}=t,h=[n,i];null!=a&&h.push(a),null!=o&&h.push(o),s=[[h]],e=1}else(0,o.U9)(t)?(r="multipoint",s=[t.points],e=t.points.length):(0,o.Rg)(t)?(r="polyline",s=t.curvePaths??t.paths,e=s.reduce((t,e)=>t+e.length,0)):(r="polygon",s=t.curveRings??t.rings,e=s.reduce((t,e)=>(0===e.length||(t+=e.length,Z(e[0],(0,c.yP)(e.at(-1)))&&--t),t),0));const n=Y(r,e,r.includes("point")?0:s.length,(0,o.Pv)(t),(0,o.W0)(t),(0,c.Ed)(t)),{hasZ:i,hasM:a,vertexXY:h,vertexZ:u,vertexM:l}=n;function g(t){h[2*f]=t[0],h[2*f+1]=t[1],i&&(u[f]=t[2]),a&&(l[f]=t[m]),++f}n.spatialReference=t.spatialReference??void 0;const m=n.hasZ?3:2;let f=0;if(!n.isMultipart()){if(!i&&!a){for(const[t,e]of s[0])h[2*f]=t,h[2*f+1]=e,++f;return n}for(const t of s[0])g(t);return n}const x="polygon"===r,{partOffsets:p}=n;let v=0;if(!(0,c.Ed)(t)){for(const t of s){if(p[v++]=f,0===t.length)continue;let e=t.length;if(x&&Z(t[0],t.at(-1))&&--e,i||a)for(let s=0;s<e;++s)g(t[s]);else for(let s=0;s<e;++s){const[e,r]=t[s];h[2*f]=e,h[2*f+1]=r,++f}}return p[v]=f,n}function d(t){const e=y+t;if(e<=(n.segmentParams?.length??0))return;let s=e*k;s=20*Math.ceil(s/20);const r=n.segmentParams;n.segmentParams=new Float64Array(s),null!=r&&n.segmentParams.set(r)}let y=0;for(const t of s){if(n.partOffsets[v++]=f,0===t.length)continue;const e=t[0];let s=e;for(let e=1;e<t.length;++e){const r=t[e];g(s);const i=f-1;(0,c.wY)(r)?(d(10),++n.segmentCountArc,y=b(s,r,n,i,y),s=r.a[0]):(0,c.DA)(r)?(d(10),++n.segmentCountArc,y=V(s,r,n,i,y),s=r.a[0]):(0,c.aO)(r)?(d(10),++n.segmentCountArc,y=I(s,r,n,i,y),s=r.c[0]):(0,c.n1)(r)?(d(4),++n.segmentCountBezier,y=X(0,r,n,i,y),s=r.b[0]):s=r}x&&Z(e,s)||g(s)}return n.partOffsets[v]=f,n}function _(t){const e=R(t),{vertexCount:s,partCount:r,hasZ:n,hasM:i}=t,a=F(t);if("point"===t.type){const[e,s]=t.vertexXY,r=t.vertexZ?.[0],n=t.vertexM?.[0];return{x:e,y:s,z:r,m:n,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<s;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:n,hasM:i}}const h="polygon"===t.type;if(!t.hasCurves()){const s=new Array;for(let n=0;n<r;++n){const r=t.partOffsets[n+1],i=new Array;for(;o<r;)i.push(e(o++));h&&i.length>0&&i.push(i[0]),s.push(i)}return h?{rings:s,hasZ:n,hasM:i,spatialReference:a}:{paths:s,hasZ:n,hasM:i,spatialReference:a}}const u=new Array;for(const{segments:e,startVertex:s}of t.parts){const t=[s];for(const{curve:s}of e)t.push(s);u.push(t)}return h?{rings:[],curveRings:u,hasZ:n,hasM:i,spatialReference:a}:{paths:[],curvePaths:u,hasZ:n,hasM:i,spatialReference:a}}function O(t,{lengths:e,coords:s,hasZ:r,hasM:n},i){const a=t.includes("point")?0:e.length,o="polygon"===t,h="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);r??=!1,n??=!1;const u=Y(t,h,a,r,n,!1,0,0);if(u.spatialReference=i??void 0,!u.isMultipart()){for(let t=0,e=0;t<h;++t)u.vertexXY[2*t]=s[e++],u.vertexXY[2*t+1]=s[e++],r&&(u.vertexZ[t]=s[e++]),n&&(u.vertexM[t]=s[e++]);return u}const l=2+Number(r)+Number(n);let g=0,c=0;u.partOffsets[0]=0;for(const t of e){const e=u.partOffsets[c],i=e+t-Number(o);u.partOffsets[++c]=i;for(let t=e;t<i;++t)u.vertexXY[2*t]=s[g++],u.vertexXY[2*t+1]=s[g++],r&&(u.vertexZ[t]=s[g++]),n&&(u.vertexM[t]=s[g++]);o&&(g+=l)}return u}function S({type:t,vertexCount:e,vertexXY:s,vertexZ:r,vertexM:n,partCount:i,partOffsets:a,hasZ:o,hasM:h}){const u=new x.A([],[],o,h);i=Math.max(i,1);const l="polygon"===t;let g=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,c=u.coords.length;for(let t=g;t<i;++t)u.coords.push(s[2*t],s[2*t+1]),o&&u.coords.push(r[t]),h&&u.coords.push(n[t]);if(l){const t=g;u.coords.push(s[2*t],s[2*t+1]),o&&u.coords.push(r[t]),h&&u.coords.push(n[t])}u.lengths.push((u.coords.length-c)/u.stride),g=i}return"point"===t&&(u.lengths.length=0),u}function P(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,s=t.isCustomWkid()?0:t.getOldID();if(s<=0)return{wkt:e};let r=t.getLatestID();(r<=0||r===s)&&(r=void 0);const n=t.getVCS();if(null==n)return{wkid:s,latestWkid:r,wkt:e};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:s,wkt:e,latestWkid:r,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new p({...t.toFlatGeometry(),spatialReference:e})}class A{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const s of e)t[s]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function F({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function R({vertexXY:t,vertexZ:e,vertexM:s}){return e?s?r=>[t[2*r],t[2*r+1],e[r],s[r]]:s=>[t[2*s],t[2*s+1],e[s]]:s?e=>[t[2*e],t[2*e+1],s[e]]:e=>[t[2*e],t[2*e+1]]}function Z(t,e){return t.every((t,s)=>t===e[s])}function Y(t,e,s,r,n,i,a,o){a??=0,o??=0;const h=new p({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:s,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o});let u=2*Float64Array.BYTES_PER_ELEMENT*e;r&&(u+=Float64Array.BYTES_PER_ELEMENT*e),n&&(u+=Float64Array.BYTES_PER_ELEMENT*e),h.isMultipart()&&(u+=(s+1)*Int32Array.BYTES_PER_ELEMENT,u+=(s+1)*Int8Array.BYTES_PER_ELEMENT),i&&(u+=e*Int8Array.BYTES_PER_ELEMENT,u+=e*Int32Array.BYTES_PER_ELEMENT,u+=h.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const l=new ArrayBuffer(u);let g=0;return h.vertexXY=new Float64Array(l,g,2*e),g+=h.vertexXY.byteLength,r&&(h.vertexZ=new Float64Array(l,g,e),g+=h.vertexZ.byteLength),n&&(h.vertexM=new Float64Array(l,g,e),g+=h.vertexM.byteLength),i&&(h.segmentParams=new Float64Array(l,g,h.segmentParamCount),g+=h.segmentParams.byteLength,h.segmentIndices=new Int32Array(l,g,e),h.segmentIndices.fill(N),g+=h.segmentIndices.byteLength),h.isMultipart()&&(h.partOffsets=new Int32Array(l,g,s+1),g+=h.partOffsets.byteLength,h.partFlags=new Int8Array(l,g,s+1),g+=h.partFlags.byteLength,"polygon"===h.type&&h.partFlags.subarray(0,s).fill(1)),i&&(h.segmentFlags=new Int8Array(l,g,e),h.segmentFlags.fill(1),g+=h.segmentFlags.byteLength),h}function b(t,e,{segmentFlags:s,segmentIndices:r,segmentParams:n},i,a){s[i]=4,r[i]=a;const[o,[h,u],l,g,c,m,x]=e.a;let p=4;g||(p|=1),l||(p|=2);const v=(0,f.SW)(t,e),[d,y]=(0,f.Uk)(v,.5);return n[a++]=p,n[a++]=m,n[a++]=x,n[a++]=c,n[a++]=h,n[a++]=u,n[a++]=v.u2-v.u1,n[a++]=v.u1,n[a++]=d,n[a++]=y,a}function V(t,e,{segmentFlags:s,segmentIndices:r,segmentParams:n},i,a){s[i]=4,r[i]=a;const o=(0,m.io)(t,e);return w(o,4,...(0,u.mq)(o,.5),n,a)}function I(t,e,{segmentFlags:s,segmentIndices:r,segmentParams:n},i,a){return s[i]=4,r[i]=a,w((0,l.pM)(t,e),0,...e.c[1],n,a)}function w(t,e,s,r,n,i){const{cx:a,cy:o,thetaStart:h,thetaEnd:u,radius:l}=t;return h>u||(e|=1),Math.abs(u-h)<=Math.PI||(e|=2),n[i++]=e,n[i++]=l,n[i++]=1,n[i++]=0,n[i++]=a,n[i++]=o,n[i++]=u-h,n[i++]=h,n[i++]=s,n[i++]=r,i}function X(t,{b:[e,[s,r],[n,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:h},u,l){return a[u]=2,o[u]=l,h[l++]=s,h[l++]=r,h[l++]=n,h[l++]=i,l}const k=1.61803,N=-1}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1948,3931,6061,6312,8125,9598],{61691(t,e,r){r.d(e,{G:()=>s});class s{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,r){r.d(e,{S:()=>n});var s=r(61691);class n extends s.G{m_aGeoms;m_iGeom=-1;constructor(t){super(),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}}},70722(t,e,r){r.d(e,{d:()=>o,e:()=>i});var s=r(49074),n=r(78125);function i(t,e){const r=(0,n.getSpatialReference)(t);return(0,n.toGeometry)((0,s.g7)((0,n.fromGeometry)(t),(0,n.fromGeometry)(e),(0,n.fromSpatialReference)(r)),r)}const a=(0,s.fz)(),o=Object.freeze(Object.defineProperty({__proto__:null,execute:i,executeMany:function(t,e){const r=t.map(n.fromGeometry),i=(0,n.getSpatialReference)(t);return(0,s.zo)(r,(0,n.fromGeometry)(e),(0,n.fromSpatialReference)(i)).map(t=>(0,n.toGeometry)(t,i))},supportsCurves:a},Symbol.toStringTag,{value:"Module"}))},69397(t,e,r){r.d(e,{Qf:()=>u,Qh:()=>a,RS:()=>n,Ul:()=>m,i5:()=>f,lM:()=>i,qK:()=>c});var s=r(34275);const n=16;function i(t){if(!t)return 0;let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=o(t[r],!1));return e}function a(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 s=0;s<e;s++)r+=o(t[s]);return r}(t);let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=o(t[r]));return e}function o(t,e=!0){switch(typeof t){case"object":return e?a(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return n;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,s.iu)(e)?e.byteLength+f:Array.isArray(e)?h(e,n):0:0),0)}function h(t,e){return l+t.length*e}const c=32,l=16,f=145,m=64},87992(t,e,r){r.d(e,{JR:()=>Z,ME:()=>E,MY:()=>S,NO:()=>C,Nh:()=>V,V2:()=>_,_s:()=>b,e6:()=>G,gh:()=>P,tr:()=>F,uX:()=>x});var s=r(5482),n=r(69397),i=r(16930),a=(r(70328),r(19419)),o=r(60408),u=r(21325),h=r(513),c=r(50954),l=r(79567),f=r(52006),m=r(49663),g=r(46068),p=r(92722);class x{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:i,partCount:a,partOffsets:o,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=s,this.vertexZ=n,this.vertexM=i,this.partCount=a,this.partOffsets=o,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 this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?n.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:s,hasM:n,segmentCountArc:i,segmentCountBezier:a}=this,o=_(t,e,r,s,n,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(o.vertexXY.set(u.subarray(0,2*e),0),o.vertexZ?.set(h.subarray(0,e),0),o.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,r+1)),o.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(r.subarray(0,e),0),o.segmentParams.set(s.subarray(0,n),0)}return o}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 this.isMultipart()?new y(this):[][Symbol.iterator]()}}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=A(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=A(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++],s=e[r++],n=e[r++],i=e[r++];return{b:[this.end,[t,s],[n,i]]}}const s=e[r++],n=e[r++],i=e[r++],a=e[r++],o=e[r++],u=e[r++];r++,r++;const h=e[r++],c=e[r++];if(!Boolean(4&s)&&1===i)return{c:[this.end,[h,c]]};const l=2&s?0:1,f=1&s?0:1;return{a:[this.end,[o,u],l,f,a,n,i]}}}function C(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,a.Ie)(),(0,s.mS)(r,new w(t,["vertexZ","vertexM","spatialReference"]),!1),(0,a.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:n,vertexZ:i,vertexM:o}=t,u=R(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new w(t,["vertexZ","vertexM"]),!1);const n=(0,a.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,l.e)(n,t,r),t=(0,f.yP)(r)}const[i,o,h,c]=n;e={xmin:i,ymin:o,xmax:h,ymax:c,spatialReference:u}}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}else{let t,s,i,a;t=s=1/0,i=a=-1/0;for(let e=0;e<r;++e){const r=n[2*e],o=n[2*e+1];t=Math.min(t,r),i=Math.max(i,r),s=Math.min(s,o),a=Math.max(a,o)}e={xmin:t,ymin:s,xmax:i,ymax:a,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(o){let t=1/0,r=-1/0;for(const e of o)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,s.hk)(r)}}function E(t){let e,r,s;if((0,o.fT)(t)){s="point";const{x:n,y:i,z:a,m:o}=t,u=[n,i];null!=a&&u.push(a),null!=o&&u.push(o),r=[[u]],e=1}else(0,o.U9)(t)?(s="multipoint",r=[t.points],e=t.points.length):(0,o.Rg)(t)?(s="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(s="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 n=_(s,e,s.includes("point")?0:r.length,(0,o.Pv)(t),(0,o.W0)(t),(0,f.Ed)(t)),{hasZ:i,hasM:a,vertexXY:u,vertexZ:h,vertexM:c}=n;function l(t){u[2*g]=t[0],u[2*g+1]=t[1],i&&(h[g]=t[2]),a&&(c[g]=t[m]),++g}n.spatialReference=t.spatialReference??void 0;const m=n.hasZ?3:2;let g=0;if(!n.isMultipart()){if(!i&&!a){for(const[t,e]of r[0])u[2*g]=t,u[2*g+1]=e,++g;return n}for(const t of r[0])l(t);return n}const p="polygon"===s,{partOffsets:x}=n;let y=0;if(!(0,f.Ed)(t)){for(const t of r){if(x[y++]=g,0===t.length)continue;let e=t.length;if(p&&O(t[0],t.at(-1))&&--e,i||a)for(let r=0;r<e;++r)l(t[r]);else for(let r=0;r<e;++r){const[e,s]=t[r];u[2*g]=e,u[2*g+1]=s,++g}}return x[y]=g,n}function d(t){const e=v+t;if(e<=(n.segmentParams?.length??0))return;let r=e*X;r=20*Math.ceil(r/20);const s=n.segmentParams;n.segmentParams=new Float64Array(r),null!=s&&n.segmentParams.set(s)}let v=0;for(const t of r){if(n.partOffsets[y++]=g,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const s=t[e];l(r);const i=g-1;(0,f.wY)(s)?(d(10),++n.segmentCountArc,v=b(r,s,n,i,v),r=s.a[0]):(0,f.DA)(s)?(d(10),++n.segmentCountArc,v=Y(r,s,n,i,v),r=s.a[0]):(0,f.aO)(s)?(d(10),++n.segmentCountArc,v=G(r,s,n,i,v),r=s.c[0]):(0,f.n1)(s)?(d(4),++n.segmentCountBezier,v=F(0,s,n,i,v),r=s.b[0]):r=s}p&&O(e,r)||l(r)}return n.partOffsets[y]=g,n}function P(t){const e=A(t),{vertexCount:r,partCount:s,hasZ:n,hasM:i}=t,a=R(t);if("point"===t.type){const[e,r]=t.vertexXY,s=t.vertexZ?.[0],n=t.vertexM?.[0];return{x:e,y:r,z:s,m:n,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<r;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:n,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let n=0;n<s;++n){const s=t.partOffsets[n+1],i=new Array;for(;o<s;)i.push(e(o++));u&&i.length>0&&i.push(i[0]),r.push(i)}return u?{rings:r,hasZ:n,hasM:i,spatialReference:a}:{paths:r,hasZ:n,hasM:i,spatialReference:a}}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:n,hasM:i,spatialReference:a}:{paths:[],curvePaths:h,hasZ:n,hasM:i,spatialReference:a}}function V(t,{lengths:e,coords:r,hasZ:s,hasM:n},i){const a=t.includes("point")?0:e.length,o="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);s??=!1,n??=!1;const h=_(t,u,a,s,n,!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++],s&&(h.vertexZ[t]=r[e++]),n&&(h.vertexM[t]=r[e++]);return h}const c=2+Number(s)+Number(n);let l=0,f=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[f],i=e+t-Number(o);h.partOffsets[++f]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=r[l++],h.vertexXY[2*t+1]=r[l++],s&&(h.vertexZ[t]=r[l++]),n&&(h.vertexM[t]=r[l++]);o&&(l+=c)}return h}function Z({type:t,vertexCount:e,vertexXY:r,vertexZ:s,vertexM:n,partCount:i,partOffsets:a,hasZ:o,hasM:u}){const h=new p.A([],[],o,u);i=Math.max(i,1);const c="polygon"===t;let l=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,f=h.coords.length;for(let t=l;t<i;++t)h.coords.push(r[2*t],r[2*t+1]),o&&h.coords.push(s[t]),u&&h.coords.push(n[t]);if(c){const t=l;h.coords.push(r[2*t],r[2*t+1]),o&&h.coords.push(s[t]),u&&h.coords.push(n[t])}h.lengths.push((h.coords.length-f)/h.stride),l=i}return"point"===t&&(h.lengths.length=0),h}function S(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 s=t.getLatestID();(s<=0||s===r)&&(s=void 0);const n=t.getVCS();if(null==n)return{wkid:r,latestWkid:s,wkt:e};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:r,wkt:e,latestWkid:s,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new x({...t.toFlatGeometry(),spatialReference:e})}class w{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 R({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function A({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?s=>[t[2*s],t[2*s+1],e[s],r[s]]: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 _(t,e,r,s,n,i,a,o){a??=0,o??=0;const u=new x({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:a,segmentCountBezier:o});let h=2*Float64Array.BYTES_PER_ELEMENT*e;s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),n&&(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,s&&(u.vertexZ=new Float64Array(c,l,e),l+=u.vertexZ.byteLength),n&&(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(z),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 b(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const[o,[u,h],c,l,f,m,p]=e.a;let x=4;l||(x|=1),c||(x|=2);const y=(0,g.SW)(t,e),[d,v]=(0,g.Uk)(y,.5);return n[a++]=x,n[a++]=m,n[a++]=p,n[a++]=f,n[a++]=u,n[a++]=h,n[a++]=y.u2-y.u1,n[a++]=y.u1,n[a++]=d,n[a++]=v,a}function Y(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const o=(0,m.io)(t,e);return I(o,4,...(0,h.mq)(o,.5),n,a)}function G(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){return r[i]=4,s[i]=a,I((0,c.pM)(t,e),0,...e.c[1],n,a)}function I(t,e,r,s,n,i){const{cx:a,cy:o,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),n[i++]=e,n[i++]=c,n[i++]=1,n[i++]=0,n[i++]=a,n[i++]=o,n[i++]=h-u,n[i++]=u,n[i++]=r,n[i++]=s,i}function F(t,{b:[e,[r,s],[n,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:u},h,c){return a[h]=2,o[h]=c,u[c++]=r,u[c++]=s,u[c++]=n,u[c++]=i,c}const X=1.61803,z=-1},93054(t,e,r){r.d(e,{execute:()=>s.e}),r(49074),r(78125);var s=r(70722)},49074(t,e,r){r.d(e,{fz:()=>u,g7:()=>a,zo:()=>o});var s=r(76061),n=(r(55537),r(15756));r(83661),r(88885),r(95213);const i=new n.B;function a(t,e,r){return i.execute(t,e,r,null)}function o(t,e,r){const n=i.executeMany(new s.S(t),new s.S([e]),r,null);return Array.from(n)}function u(){return i.supportsCurves()}},78125(t,e,r){r.r(e),r.d(e,{fromExtent:()=>x,fromGeometry:()=>p,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>v,fromPolyline:()=>M,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>g,toExtent:()=>V,toGeometry:()=>P,toMultipoint:()=>Z,toPoint:()=>S,toPolygon:()=>w,toPolyline:()=>R});var s=r(83661),n=r(55537),i=r(95213),a=r(88885),o=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 p(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 x(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function x(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 a.M,r=new i.P,s=t.points,n=t.hasM,o=t.hasZ,u=o?3:2;for(let t=0,i=s.length;t<i;t++){const i=s[t];r.setXYCoords(i[0],i[1]),o&&r.setZ(i[2]??0),n&&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:s,rings:n}=t,i=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:r,hasZ:s,rings:n});t.setCacheValue(m,i)}return t.getCacheValue(m)}function M(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(m,i)}return t.getCacheValue(m)}function C(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(m,i)}return t.getCacheValue(m)}function E(t){return t.cache?(t.cache[m]??=(0,f.fromSpatialReference)(t),t.cache[m]):(0,f.fromSpatialReference)(t)}function P(t,e){if(t)switch(t.getGeometryType()){case n.G.enumPoint:return S(t,e);case n.G.enumEnvelope:return V(t,e);case n.G.enumMultiPoint:return Z(t,e);case n.G.enumPolyline:return R(t,e);case n.G.enumPolygon:return w(t,e)}return null}function V(t,e){if(t.isEmpty())return null;const r=new o.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),s=t.getDescription();if(s.hasM()){const e=t.queryInterval(2,0);r.mmin=e.vmin,r.mmax=e.vmax}if(s.hasZ()){const e=t.queryInterval(1,0);r.zmin=e.vmin,r.zmax=e.vmax}return r.setCacheValue(m,t),r}function Z(t,e){if(t.isEmpty())return null;const r=t.getDescription(),s=r.hasM(),n=r.hasZ(),a=[],o=new i.P;for(let e=0,r=t.getPointCount();e<r;e++){t.getPointByVal(e,o);const r=[o.getX(),o.getY()];n&&r.push(o.getZ()),s&&r.push(o.getM()),a.push(r)}const h=new u.A({hasM:s,hasZ:n,points:a,spatialReference:e});return h.setCacheValue(m,t),h}function S(t,e){if(t instanceof s.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}),n=t.getDescription();return n.hasM()&&(r.m=t.getM()),n.hasZ()&&(r.z=t.getZ()),r.setCacheValue(m,t),r}function w(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 R(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}},92722(t,e,r){r.d(e,{A:()=>n});var s=r(69397);class n{constructor(t=[],e=[],r=!1,s=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=r,this.hasM=s}static fromJSON({lengths:t,coords:e,hasZ:r,hasM:s}){return new n(t,e,r||!1,s||!1)}static fromRect([t,e,r,s]){const i=r-t,a=s-e;return new n([5],[t,e,i,0,0,a,-i,0,0,-a])}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,s.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:s}=this;let n=this.coords[s*e],i=this.coords[s*e+1];for(let a=1;a<r;a+=1){const r=s*(e+a),o=this.coords[r],u=this.coords[r+1];t+=-.5*(o-n)*(u+i),n=o,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 s of this.lengths){for(let n=0;n<s;n++){const s=r*(e+n);t(this.coords[s],this.coords[s+1])}e+=s}}deltaDecode(){const t=this.clone(),{coords:e,lengths:r}=t;let s=0;const{stride:n}=this;for(const t of r){for(let r=1;r<t;r++){const t=n*(s+r);e[t]+=e[t-n],e[t+1]+=e[t+1-n]}s+=t}return t}clone(t){if(this.isPoint)return new n([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:r,size:s}=this,i=this.coords.slice(0,s*r);return t?(t.set(i),new n(e,t,this.hasZ,this.hasM)):new n(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,s=0;e<r.length;e+=t)r[s++]=this.coords[e],r[s++]=this.coords[e+1];return new n(this.lengths,r,!1,!1)}}}}]);